diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index a06d373..dbe0978 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -1,4 +1,4 @@ -on: [ push ] +on: [ push, pull_request ] jobs: test-yaml-reader: @@ -9,7 +9,7 @@ jobs: - name: Run read-yaml action id: var - uses: KJ002/read-yaml@main + uses: ./ with: file: './action.yml' key-path: '["runs", "using"]' diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..7bc7285 --- /dev/null +++ b/.gitignore @@ -0,0 +1,120 @@ +# Logs +logs +*.log +npm-debug.log* +yarn-debug.log* +yarn-error.log* +lerna-debug.log* +.pnpm-debug.log* + +# Diagnostic reports (https://nodejs.org/api/report.html) +report.[0-9]*.[0-9]*.[0-9]*.[0-9]*.json + +# Runtime data +pids +*.pid +*.seed +*.pid.lock + +# Directory for instrumented libs generated by jscoverage/JSCover +lib-cov + +# Coverage directory used by tools like istanbul +coverage +*.lcov + +# nyc test coverage +.nyc_output + +# Grunt intermediate storage (https://gruntjs.com/creating-plugins#storing-task-files) +.grunt + +# Bower dependency directory (https://bower.io/) +bower_components + +# node-waf configuration +.lock-wscript + +# Compiled binary addons (https://nodejs.org/api/addons.html) +build/Release + +# Dependency directories +node_modules/ +jspm_packages/ + +# Snowpack dependency directory (https://snowpack.dev/) +web_modules/ + +# TypeScript cache +*.tsbuildinfo + +# Optional npm cache directory +.npm + +# Optional eslint cache +.eslintcache + +# Microbundle cache +.rpt2_cache/ +.rts2_cache_cjs/ +.rts2_cache_es/ +.rts2_cache_umd/ + +# Optional REPL history +.node_repl_history + +# Output of 'npm pack' +*.tgz + +# Yarn Integrity file +.yarn-integrity + +# dotenv environment variables file +.env +.env.test +.env.production + +# parcel-bundler cache (https://parceljs.org/) +.cache +.parcel-cache + +# Next.js build output +.next +out + +# Nuxt.js build / generate output +.nuxt + +# Gatsby files +.cache/ +# Comment in the public line in if your project uses Gatsby and not Next.js +# https://nextjs.org/blog/next-9-1#public-directory-support +# public + +# vuepress build output +.vuepress/dist + +# Serverless directories +.serverless/ + +# FuseBox cache +.fusebox/ + +# DynamoDB Local files +.dynamodb/ + +# TernJS port file +.tern-port + +# Stores VSCode versions used for testing VSCode extensions +.vscode-test + +# yarn v2 +.yarn/cache +.yarn/unplugged +.yarn/build-state.yml +.yarn/install-state.gz +.pnp.* + +# Javascript files compiled from Typescript +build \ No newline at end of file diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md new file mode 100644 index 0000000..e7e6e0b --- /dev/null +++ b/CONTRIBUTING.md @@ -0,0 +1,23 @@ +## Contributing to read-yaml + +> "Yamlicious" - [KJ002](https://github.com/KJ002?tab=repositories) + +## Setup Instructions + +1. Install the dependencies for the project with [`yarn`](https://yarnpkg.com/) +```shell +$ yarn install +``` + +2. You're good to go! You can now start editing source code in the [`src`](./src) directory + +3. After you are done editing source code, build the +javascript files for the action with: +```shell +$ yarn run build +``` + +4. You can then commit and push your changes +------------- + +For larger changes please open an issue [here](https://github.com/KJ002/read-yaml/issues/) diff --git a/README.md b/README.md index 12b9125..fd9ae27 100644 --- a/README.md +++ b/README.md @@ -25,3 +25,7 @@ with: key-path: '["runs", "using"]' # Access the runs key then the using key and retuns the value. ``` +## Contributing and Local Development +Check the [CONTRIBUTING](./CONTRIBUTING.md) guidelines for information on how to contribute +to read-yaml + diff --git a/action.yml b/action.yml index 8351db1..ef6fa74 100644 --- a/action.yml +++ b/action.yml @@ -9,10 +9,6 @@ inputs: description: 'YAML file to read from.' required: true - key-path: - description: 'Path of keys to the value as a JSON list.' - required: true - output: data: description: 'Data read from YAML file.' diff --git a/dist/LICENSE b/dist/LICENSE new file mode 100644 index 0000000..37f582e --- /dev/null +++ b/dist/LICENSE @@ -0,0 +1,45 @@ +@actions/core +MIT +The MIT License (MIT) + +Copyright 2019 GitHub + +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. + +@vercel/ncc +MIT +Copyright 2018 ZEIT, 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. + +js-yaml +MIT +(The MIT License) + +Copyright (C) 2011-2015 by Vitaly Puzrin + +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/dist/index.js b/dist/index.js index 54e62c3..4e29e92 100644 --- a/dist/index.js +++ b/dist/index.js @@ -1,10 +1,107 @@ /******/ (() => { // webpackBootstrap +/******/ "use strict"; /******/ var __webpack_modules__ = ({ -/***/ 7351: +/***/ 667: +/***/ (function(__unused_webpack_module, exports, __nccwpck_require__) { + + +var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } }); +}) : (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 (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 __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 __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; + 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; + } + 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 }; + } +}; +Object.defineProperty(exports, "__esModule", ({ value: true })); +var core = __importStar(__nccwpck_require__(186)); +var fs_1 = __nccwpck_require__(747); +var yaml = __importStar(__nccwpck_require__(917)); +var run = function () { return __awaiter(void 0, void 0, void 0, function () { + var file, keys, content, yamlData, i, error_1; + return __generator(this, function (_a) { + switch (_a.label) { + case 0: + _a.trys.push([0, 2, , 3]); + file = core.getInput('file'); + keys = JSON.parse(core.getInput('key-path')); + return [4 /*yield*/, fs_1.promises.readFile(file, 'utf8')]; + case 1: + content = _a.sent(); + yamlData = yaml.load(content); + if (yamlData == null || yamlData == undefined) { + core.setFailed('Error in reading the yaml file'); + return [2 /*return*/]; + } + for (i = 0; i < keys.length; i++) { + yamlData = yamlData[keys[i]]; + } + core.setOutput('data', yamlData); + return [3 /*break*/, 3]; + case 2: + error_1 = _a.sent(); + core.setFailed(error_1.message); + return [3 /*break*/, 3]; + case 3: return [2 /*return*/]; + } + }); +}); }; +run(); +//# sourceMappingURL=index.js.map + +/***/ }), + +/***/ 351: /***/ (function(__unused_webpack_module, exports, __nccwpck_require__) { -"use strict"; var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { if (k2 === undefined) k2 = k; @@ -27,8 +124,8 @@ var __importStar = (this && this.__importStar) || function (mod) { }; Object.defineProperty(exports, "__esModule", ({ value: true })); exports.issue = exports.issueCommand = void 0; -const os = __importStar(__nccwpck_require__(2087)); -const utils_1 = __nccwpck_require__(5278); +const os = __importStar(__nccwpck_require__(87)); +const utils_1 = __nccwpck_require__(278); /** * Commands * @@ -100,10 +197,9 @@ function escapeProperty(s) { /***/ }), -/***/ 2186: +/***/ 186: /***/ (function(__unused_webpack_module, exports, __nccwpck_require__) { -"use strict"; var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { if (k2 === undefined) k2 = k; @@ -135,11 +231,11 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge }; Object.defineProperty(exports, "__esModule", ({ value: true })); exports.getState = exports.saveState = exports.group = exports.endGroup = exports.startGroup = exports.info = exports.warning = exports.error = exports.debug = exports.isDebug = exports.setFailed = exports.setCommandEcho = exports.setOutput = exports.getBooleanInput = exports.getMultilineInput = exports.getInput = exports.addPath = exports.setSecret = exports.exportVariable = exports.ExitCode = void 0; -const command_1 = __nccwpck_require__(7351); +const command_1 = __nccwpck_require__(351); const file_command_1 = __nccwpck_require__(717); -const utils_1 = __nccwpck_require__(5278); -const os = __importStar(__nccwpck_require__(2087)); -const path = __importStar(__nccwpck_require__(5622)); +const utils_1 = __nccwpck_require__(278); +const os = __importStar(__nccwpck_require__(87)); +const path = __importStar(__nccwpck_require__(622)); /** * The code to exit an action */ @@ -404,7 +500,6 @@ exports.getState = getState; /***/ 717: /***/ (function(__unused_webpack_module, exports, __nccwpck_require__) { -"use strict"; // For internal use, subject to change. var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { @@ -430,9 +525,9 @@ Object.defineProperty(exports, "__esModule", ({ value: true })); exports.issueCommand = void 0; // We use any as a valid input type /* eslint-disable @typescript-eslint/no-explicit-any */ -const fs = __importStar(__nccwpck_require__(5747)); -const os = __importStar(__nccwpck_require__(2087)); -const utils_1 = __nccwpck_require__(5278); +const fs = __importStar(__nccwpck_require__(747)); +const os = __importStar(__nccwpck_require__(87)); +const utils_1 = __nccwpck_require__(278); function issueCommand(command, message) { const filePath = process.env[`GITHUB_${command}`]; if (!filePath) { @@ -450,10 +545,9 @@ exports.issueCommand = issueCommand; /***/ }), -/***/ 5278: +/***/ 278: /***/ ((__unused_webpack_module, exports) => { -"use strict"; // We use any as a valid input type /* eslint-disable @typescript-eslint/no-explicit-any */ @@ -477,9872 +571,4107 @@ exports.toCommandValue = toCommandValue; /***/ }), -/***/ 4087: -/***/ ((__unused_webpack_module, exports, __nccwpck_require__) => { +/***/ 917: +/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => { -"use strict"; -Object.defineProperty(exports, "__esModule", ({ value: true })); -exports.Context = void 0; -const fs_1 = __nccwpck_require__(5747); -const os_1 = __nccwpck_require__(2087); -class Context { - /** - * Hydrate the context from the environment - */ - constructor() { - var _a, _b, _c; - this.payload = {}; - if (process.env.GITHUB_EVENT_PATH) { - if (fs_1.existsSync(process.env.GITHUB_EVENT_PATH)) { - this.payload = JSON.parse(fs_1.readFileSync(process.env.GITHUB_EVENT_PATH, { encoding: 'utf8' })); - } - else { - const path = process.env.GITHUB_EVENT_PATH; - process.stdout.write(`GITHUB_EVENT_PATH ${path} does not exist${os_1.EOL}`); - } - } - this.eventName = process.env.GITHUB_EVENT_NAME; - this.sha = process.env.GITHUB_SHA; - this.ref = process.env.GITHUB_REF; - this.workflow = process.env.GITHUB_WORKFLOW; - this.action = process.env.GITHUB_ACTION; - this.actor = process.env.GITHUB_ACTOR; - this.job = process.env.GITHUB_JOB; - this.runNumber = parseInt(process.env.GITHUB_RUN_NUMBER, 10); - this.runId = parseInt(process.env.GITHUB_RUN_ID, 10); - this.apiUrl = (_a = process.env.GITHUB_API_URL) !== null && _a !== void 0 ? _a : `https://api.github.com`; - this.serverUrl = (_b = process.env.GITHUB_SERVER_URL) !== null && _b !== void 0 ? _b : `https://github.com`; - this.graphqlUrl = (_c = process.env.GITHUB_GRAPHQL_URL) !== null && _c !== void 0 ? _c : `https://api.github.com/graphql`; - } - get issue() { - const payload = this.payload; - return Object.assign(Object.assign({}, this.repo), { number: (payload.issue || payload.pull_request || payload).number }); - } - get repo() { - if (process.env.GITHUB_REPOSITORY) { - const [owner, repo] = process.env.GITHUB_REPOSITORY.split('/'); - return { owner, repo }; - } - if (this.payload.repository) { - return { - owner: this.payload.repository.owner.login, - repo: this.payload.repository.name - }; - } - throw new Error("context.repo requires a GITHUB_REPOSITORY environment variable like 'owner/repo'"); - } -} -exports.Context = Context; -//# sourceMappingURL=context.js.map -/***/ }), -/***/ 5438: -/***/ (function(__unused_webpack_module, exports, __nccwpck_require__) { +var loader = __nccwpck_require__(161); +var dumper = __nccwpck_require__(866); -"use strict"; -var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { - if (k2 === undefined) k2 = k; - Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } }); -}) : (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 (mod) { - if (mod && mod.__esModule) return mod; - var result = {}; - if (mod != null) for (var k in mod) if (k !== "default" && Object.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k); - __setModuleDefault(result, mod); - return result; -}; -Object.defineProperty(exports, "__esModule", ({ value: true })); -exports.getOctokit = exports.context = void 0; -const Context = __importStar(__nccwpck_require__(4087)); -const utils_1 = __nccwpck_require__(3030); -exports.context = new Context.Context(); -/** - * Returns a hydrated octokit ready to use for GitHub Actions - * - * @param token the repo PAT or GITHUB_TOKEN - * @param options other options to set - */ -function getOctokit(token, options) { - return new utils_1.GitHub(utils_1.getOctokitOptions(token, options)); +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.'); + }; } -exports.getOctokit = getOctokit; -//# sourceMappingURL=github.js.map + + +module.exports.Type = __nccwpck_require__(73); +module.exports.Schema = __nccwpck_require__(82); +module.exports.FAILSAFE_SCHEMA = __nccwpck_require__(562); +module.exports.JSON_SCHEMA = __nccwpck_require__(35); +module.exports.CORE_SCHEMA = __nccwpck_require__(11); +module.exports.DEFAULT_SCHEMA = __nccwpck_require__(759); +module.exports.load = loader.load; +module.exports.loadAll = loader.loadAll; +module.exports.dump = dumper.dump; +module.exports.YAMLException = __nccwpck_require__(179); + +// Re-export all types in case user wants to create custom schema +module.exports.types = { + binary: __nccwpck_require__(900), + float: __nccwpck_require__(705), + map: __nccwpck_require__(150), + null: __nccwpck_require__(721), + pairs: __nccwpck_require__(860), + set: __nccwpck_require__(548), + timestamp: __nccwpck_require__(212), + bool: __nccwpck_require__(993), + int: __nccwpck_require__(615), + merge: __nccwpck_require__(104), + omap: __nccwpck_require__(46), + seq: __nccwpck_require__(283), + str: __nccwpck_require__(619) +}; + +// Removed functions from JS-YAML 3.0.x +module.exports.safeLoad = renamed('safeLoad', 'load'); +module.exports.safeLoadAll = renamed('safeLoadAll', 'loadAll'); +module.exports.safeDump = renamed('safeDump', 'dump'); + /***/ }), -/***/ 7914: -/***/ (function(__unused_webpack_module, exports, __nccwpck_require__) { +/***/ 829: +/***/ ((module) => { -"use strict"; -var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { - if (k2 === undefined) k2 = k; - Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } }); -}) : (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 (mod) { - if (mod && mod.__esModule) return mod; - var result = {}; - if (mod != null) for (var k in mod) if (k !== "default" && Object.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k); - __setModuleDefault(result, mod); - return result; -}; -Object.defineProperty(exports, "__esModule", ({ value: true })); -exports.getApiBaseUrl = exports.getProxyAgent = exports.getAuthString = void 0; -const httpClient = __importStar(__nccwpck_require__(9925)); -function getAuthString(token, options) { - if (!token && !options.auth) { - throw new Error('Parameter token or opts.auth is required'); - } - else if (token && options.auth) { - throw new Error('Parameters token and opts.auth may not both be specified'); - } - return typeof options.auth === 'string' ? options.auth : `token ${token}`; + + +function isNothing(subject) { + return (typeof subject === 'undefined') || (subject === null); } -exports.getAuthString = getAuthString; -function getProxyAgent(destinationUrl) { - const hc = new httpClient.HttpClient(); - return hc.getAgent(destinationUrl); + + +function isObject(subject) { + return (typeof subject === 'object') && (subject !== null); } -exports.getProxyAgent = getProxyAgent; -function getApiBaseUrl() { - return process.env['GITHUB_API_URL'] || 'https://api.github.com'; + + +function toArray(sequence) { + if (Array.isArray(sequence)) return sequence; + else if (isNothing(sequence)) return []; + + return [ sequence ]; } -exports.getApiBaseUrl = getApiBaseUrl; -//# sourceMappingURL=utils.js.map -/***/ }), -/***/ 3030: -/***/ (function(__unused_webpack_module, exports, __nccwpck_require__) { +function extend(target, source) { + var index, length, key, sourceKeys; -"use strict"; + if (source) { + sourceKeys = Object.keys(source); -var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { - if (k2 === undefined) k2 = k; - Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } }); -}) : (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 (mod) { - if (mod && mod.__esModule) return mod; - var result = {}; - if (mod != null) for (var k in mod) if (k !== "default" && Object.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k); - __setModuleDefault(result, mod); - return result; -}; -Object.defineProperty(exports, "__esModule", ({ value: true })); -exports.getOctokitOptions = exports.GitHub = exports.context = void 0; -const Context = __importStar(__nccwpck_require__(4087)); -const Utils = __importStar(__nccwpck_require__(7914)); -// octokit + plugins -const core_1 = __nccwpck_require__(6762); -const plugin_rest_endpoint_methods_1 = __nccwpck_require__(3044); -const plugin_paginate_rest_1 = __nccwpck_require__(4193); -exports.context = new Context.Context(); -const baseUrl = Utils.getApiBaseUrl(); -const defaults = { - baseUrl, - request: { - agent: Utils.getProxyAgent(baseUrl) - } -}; -exports.GitHub = core_1.Octokit.plugin(plugin_rest_endpoint_methods_1.restEndpointMethods, plugin_paginate_rest_1.paginateRest).defaults(defaults); -/** - * Convience function to correctly format Octokit Options to pass into the constructor. - * - * @param token the repo PAT or GITHUB_TOKEN - * @param options other options to set - */ -function getOctokitOptions(token, options) { - const opts = Object.assign({}, options || {}); // Shallow clone - don't mutate the object provided by the caller - // Auth - const auth = Utils.getAuthString(token, opts); - if (auth) { - opts.auth = auth; + for (index = 0, length = sourceKeys.length; index < length; index += 1) { + key = sourceKeys[index]; + target[key] = source[key]; } - return opts; + } + + return target; } -exports.getOctokitOptions = getOctokitOptions; -//# sourceMappingURL=utils.js.map + + +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; + /***/ }), -/***/ 9925: -/***/ ((__unused_webpack_module, exports, __nccwpck_require__) => { +/***/ 866: +/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => { -"use strict"; -Object.defineProperty(exports, "__esModule", ({ value: true })); -const http = __nccwpck_require__(8605); -const https = __nccwpck_require__(7211); -const pm = __nccwpck_require__(6443); -let tunnel; -var HttpCodes; -(function (HttpCodes) { - HttpCodes[HttpCodes["OK"] = 200] = "OK"; - HttpCodes[HttpCodes["MultipleChoices"] = 300] = "MultipleChoices"; - HttpCodes[HttpCodes["MovedPermanently"] = 301] = "MovedPermanently"; - HttpCodes[HttpCodes["ResourceMoved"] = 302] = "ResourceMoved"; - HttpCodes[HttpCodes["SeeOther"] = 303] = "SeeOther"; - HttpCodes[HttpCodes["NotModified"] = 304] = "NotModified"; - HttpCodes[HttpCodes["UseProxy"] = 305] = "UseProxy"; - HttpCodes[HttpCodes["SwitchProxy"] = 306] = "SwitchProxy"; - HttpCodes[HttpCodes["TemporaryRedirect"] = 307] = "TemporaryRedirect"; - HttpCodes[HttpCodes["PermanentRedirect"] = 308] = "PermanentRedirect"; - HttpCodes[HttpCodes["BadRequest"] = 400] = "BadRequest"; - HttpCodes[HttpCodes["Unauthorized"] = 401] = "Unauthorized"; - HttpCodes[HttpCodes["PaymentRequired"] = 402] = "PaymentRequired"; - HttpCodes[HttpCodes["Forbidden"] = 403] = "Forbidden"; - HttpCodes[HttpCodes["NotFound"] = 404] = "NotFound"; - HttpCodes[HttpCodes["MethodNotAllowed"] = 405] = "MethodNotAllowed"; - HttpCodes[HttpCodes["NotAcceptable"] = 406] = "NotAcceptable"; - HttpCodes[HttpCodes["ProxyAuthenticationRequired"] = 407] = "ProxyAuthenticationRequired"; - HttpCodes[HttpCodes["RequestTimeout"] = 408] = "RequestTimeout"; - HttpCodes[HttpCodes["Conflict"] = 409] = "Conflict"; - HttpCodes[HttpCodes["Gone"] = 410] = "Gone"; - HttpCodes[HttpCodes["TooManyRequests"] = 429] = "TooManyRequests"; - HttpCodes[HttpCodes["InternalServerError"] = 500] = "InternalServerError"; - HttpCodes[HttpCodes["NotImplemented"] = 501] = "NotImplemented"; - HttpCodes[HttpCodes["BadGateway"] = 502] = "BadGateway"; - HttpCodes[HttpCodes["ServiceUnavailable"] = 503] = "ServiceUnavailable"; - HttpCodes[HttpCodes["GatewayTimeout"] = 504] = "GatewayTimeout"; -})(HttpCodes = exports.HttpCodes || (exports.HttpCodes = {})); -var Headers; -(function (Headers) { - Headers["Accept"] = "accept"; - Headers["ContentType"] = "content-type"; -})(Headers = exports.Headers || (exports.Headers = {})); -var MediaTypes; -(function (MediaTypes) { - MediaTypes["ApplicationJson"] = "application/json"; -})(MediaTypes = exports.MediaTypes || (exports.MediaTypes = {})); -/** - * Returns the proxy URL, depending upon the supplied url and proxy environment variables. - * @param serverUrl The server URL where the request will be sent. For example, https://api.github.com - */ -function getProxyUrl(serverUrl) { - let proxyUrl = pm.getProxyUrl(new URL(serverUrl)); - return proxyUrl ? proxyUrl.href : ''; -} -exports.getProxyUrl = getProxyUrl; -const HttpRedirectCodes = [ - HttpCodes.MovedPermanently, - HttpCodes.ResourceMoved, - HttpCodes.SeeOther, - HttpCodes.TemporaryRedirect, - HttpCodes.PermanentRedirect -]; -const HttpResponseRetryCodes = [ - HttpCodes.BadGateway, - HttpCodes.ServiceUnavailable, - HttpCodes.GatewayTimeout -]; -const RetryableHttpVerbs = ['OPTIONS', 'GET', 'DELETE', 'HEAD']; -const ExponentialBackoffCeiling = 10; -const ExponentialBackoffTimeSlice = 5; -class HttpClientError extends Error { - constructor(message, statusCode) { - super(message); - this.name = 'HttpClientError'; - this.statusCode = statusCode; - Object.setPrototypeOf(this, HttpClientError.prototype); - } -} -exports.HttpClientError = HttpClientError; -class HttpClientResponse { - constructor(message) { - this.message = message; - } - readBody() { - return new Promise(async (resolve, reject) => { - let output = Buffer.alloc(0); - this.message.on('data', (chunk) => { - output = Buffer.concat([output, chunk]); - }); - this.message.on('end', () => { - resolve(output.toString()); - }); - }); - } -} -exports.HttpClientResponse = HttpClientResponse; -function isHttps(requestUrl) { - let parsedUrl = new URL(requestUrl); - return parsedUrl.protocol === 'https:'; -} -exports.isHttps = isHttps; -class HttpClient { - constructor(userAgent, handlers, requestOptions) { - this._ignoreSslError = false; - this._allowRedirects = true; - this._allowRedirectDowngrade = false; - this._maxRedirects = 50; - this._allowRetries = false; - this._maxRetries = 1; - this._keepAlive = false; - this._disposed = false; - this.userAgent = userAgent; - this.handlers = handlers || []; - this.requestOptions = requestOptions; - if (requestOptions) { - if (requestOptions.ignoreSslError != null) { - this._ignoreSslError = requestOptions.ignoreSslError; - } - this._socketTimeout = requestOptions.socketTimeout; - if (requestOptions.allowRedirects != null) { - this._allowRedirects = requestOptions.allowRedirects; - } - if (requestOptions.allowRedirectDowngrade != null) { - this._allowRedirectDowngrade = requestOptions.allowRedirectDowngrade; - } - if (requestOptions.maxRedirects != null) { - this._maxRedirects = Math.max(requestOptions.maxRedirects, 0); - } - if (requestOptions.keepAlive != null) { - this._keepAlive = requestOptions.keepAlive; - } - if (requestOptions.allowRetries != null) { - this._allowRetries = requestOptions.allowRetries; - } - if (requestOptions.maxRetries != null) { - this._maxRetries = requestOptions.maxRetries; - } - } - } - options(requestUrl, additionalHeaders) { - return this.request('OPTIONS', requestUrl, null, additionalHeaders || {}); - } - get(requestUrl, additionalHeaders) { - return this.request('GET', requestUrl, null, additionalHeaders || {}); - } - del(requestUrl, additionalHeaders) { - return this.request('DELETE', requestUrl, null, additionalHeaders || {}); - } - post(requestUrl, data, additionalHeaders) { - return this.request('POST', requestUrl, data, additionalHeaders || {}); - } - patch(requestUrl, data, additionalHeaders) { - return this.request('PATCH', requestUrl, data, additionalHeaders || {}); - } - put(requestUrl, data, additionalHeaders) { - return this.request('PUT', requestUrl, data, additionalHeaders || {}); - } - head(requestUrl, additionalHeaders) { - return this.request('HEAD', requestUrl, null, additionalHeaders || {}); - } - sendStream(verb, requestUrl, stream, additionalHeaders) { - return this.request(verb, requestUrl, stream, additionalHeaders); - } - /** - * Gets a typed object from an endpoint - * Be aware that not found returns a null. Other errors (4xx, 5xx) reject the promise - */ - async getJson(requestUrl, additionalHeaders = {}) { - additionalHeaders[Headers.Accept] = this._getExistingOrDefaultHeader(additionalHeaders, Headers.Accept, MediaTypes.ApplicationJson); - let res = await this.get(requestUrl, additionalHeaders); - return this._processResponse(res, this.requestOptions); - } - async postJson(requestUrl, obj, additionalHeaders = {}) { - let data = JSON.stringify(obj, null, 2); - additionalHeaders[Headers.Accept] = this._getExistingOrDefaultHeader(additionalHeaders, Headers.Accept, MediaTypes.ApplicationJson); - additionalHeaders[Headers.ContentType] = this._getExistingOrDefaultHeader(additionalHeaders, Headers.ContentType, MediaTypes.ApplicationJson); - let res = await this.post(requestUrl, data, additionalHeaders); - return this._processResponse(res, this.requestOptions); - } - async putJson(requestUrl, obj, additionalHeaders = {}) { - let data = JSON.stringify(obj, null, 2); - additionalHeaders[Headers.Accept] = this._getExistingOrDefaultHeader(additionalHeaders, Headers.Accept, MediaTypes.ApplicationJson); - additionalHeaders[Headers.ContentType] = this._getExistingOrDefaultHeader(additionalHeaders, Headers.ContentType, MediaTypes.ApplicationJson); - let res = await this.put(requestUrl, data, additionalHeaders); - return this._processResponse(res, this.requestOptions); - } - async patchJson(requestUrl, obj, additionalHeaders = {}) { - let data = JSON.stringify(obj, null, 2); - additionalHeaders[Headers.Accept] = this._getExistingOrDefaultHeader(additionalHeaders, Headers.Accept, MediaTypes.ApplicationJson); - additionalHeaders[Headers.ContentType] = this._getExistingOrDefaultHeader(additionalHeaders, Headers.ContentType, MediaTypes.ApplicationJson); - let res = await this.patch(requestUrl, data, additionalHeaders); - return this._processResponse(res, this.requestOptions); - } - /** - * Makes a raw http request. - * All other methods such as get, post, patch, and request ultimately call this. - * Prefer get, del, post and patch - */ - async request(verb, requestUrl, data, headers) { - if (this._disposed) { - throw new Error('Client has already been disposed.'); - } - let parsedUrl = new URL(requestUrl); - let info = this._prepareRequest(verb, parsedUrl, headers); - // Only perform retries on reads since writes may not be idempotent. - let maxTries = this._allowRetries && RetryableHttpVerbs.indexOf(verb) != -1 - ? this._maxRetries + 1 - : 1; - let numTries = 0; - let response; - while (numTries < maxTries) { - response = await this.requestRaw(info, data); - // Check if it's an authentication challenge - if (response && - response.message && - response.message.statusCode === HttpCodes.Unauthorized) { - let authenticationHandler; - for (let i = 0; i < this.handlers.length; i++) { - if (this.handlers[i].canHandleAuthentication(response)) { - authenticationHandler = this.handlers[i]; - break; - } - } - if (authenticationHandler) { - return authenticationHandler.handleAuthentication(this, info, data); - } - else { - // We have received an unauthorized response but have no handlers to handle it. - // Let the response return to the caller. - return response; - } - } - let redirectsRemaining = this._maxRedirects; - while (HttpRedirectCodes.indexOf(response.message.statusCode) != -1 && - this._allowRedirects && - redirectsRemaining > 0) { - const redirectUrl = response.message.headers['location']; - if (!redirectUrl) { - // if there's no location to redirect to, we won't - break; - } - let parsedRedirectUrl = new URL(redirectUrl); - if (parsedUrl.protocol == 'https:' && - parsedUrl.protocol != parsedRedirectUrl.protocol && - !this._allowRedirectDowngrade) { - throw new Error('Redirect from HTTPS to HTTP protocol. This downgrade is not allowed for security reasons. If you want to allow this behavior, set the allowRedirectDowngrade option to true.'); - } - // we need to finish reading the response before reassigning response - // which will leak the open socket. - await response.readBody(); - // strip authorization header if redirected to a different hostname - if (parsedRedirectUrl.hostname !== parsedUrl.hostname) { - for (let header in headers) { - // header names are case insensitive - if (header.toLowerCase() === 'authorization') { - delete headers[header]; - } - } - } - // let's make the request with the new redirectUrl - info = this._prepareRequest(verb, parsedRedirectUrl, headers); - response = await this.requestRaw(info, data); - redirectsRemaining--; - } - if (HttpResponseRetryCodes.indexOf(response.message.statusCode) == -1) { - // If not a retry code, return immediately instead of retrying - return response; - } - numTries += 1; - if (numTries < maxTries) { - await response.readBody(); - await this._performExponentialBackoff(numTries); - } - } - return response; - } - /** - * Needs to be called if keepAlive is set to true in request options. - */ - dispose() { - if (this._agent) { - this._agent.destroy(); - } - this._disposed = true; - } - /** - * Raw request. - * @param info - * @param data - */ - requestRaw(info, data) { - return new Promise((resolve, reject) => { - let callbackForResult = function (err, res) { - if (err) { - reject(err); - } - resolve(res); - }; - this.requestRawWithCallback(info, data, callbackForResult); - }); - } - /** - * Raw request with callback. - * @param info - * @param data - * @param onResult - */ - requestRawWithCallback(info, data, onResult) { - let socket; - if (typeof data === 'string') { - info.options.headers['Content-Length'] = Buffer.byteLength(data, 'utf8'); - } - let callbackCalled = false; - let handleResult = (err, res) => { - if (!callbackCalled) { - callbackCalled = true; - onResult(err, res); - } - }; - let req = info.httpModule.request(info.options, (msg) => { - let res = new HttpClientResponse(msg); - handleResult(null, res); - }); - req.on('socket', sock => { - socket = sock; - }); - // If we ever get disconnected, we want the socket to timeout eventually - req.setTimeout(this._socketTimeout || 3 * 60000, () => { - if (socket) { - socket.end(); - } - handleResult(new Error('Request timeout: ' + info.options.path), null); - }); - req.on('error', function (err) { - // err has statusCode property - // res should have headers - handleResult(err, null); - }); - if (data && typeof data === 'string') { - req.write(data, 'utf8'); - } - if (data && typeof data !== 'string') { - data.on('close', function () { - req.end(); - }); - data.pipe(req); - } - else { - req.end(); - } - } - /** - * Gets an http agent. This function is useful when you need an http agent that handles - * routing through a proxy server - depending upon the url and proxy environment variables. - * @param serverUrl The server URL where the request will be sent. For example, https://api.github.com - */ - getAgent(serverUrl) { - let parsedUrl = new URL(serverUrl); - return this._getAgent(parsedUrl); - } - _prepareRequest(method, requestUrl, headers) { - const info = {}; - info.parsedUrl = requestUrl; - const usingSsl = info.parsedUrl.protocol === 'https:'; - info.httpModule = usingSsl ? https : http; - const defaultPort = usingSsl ? 443 : 80; - info.options = {}; - info.options.host = info.parsedUrl.hostname; - info.options.port = info.parsedUrl.port - ? parseInt(info.parsedUrl.port) - : defaultPort; - info.options.path = - (info.parsedUrl.pathname || '') + (info.parsedUrl.search || ''); - info.options.method = method; - info.options.headers = this._mergeHeaders(headers); - if (this.userAgent != null) { - info.options.headers['user-agent'] = this.userAgent; - } - info.options.agent = this._getAgent(info.parsedUrl); - // gives handlers an opportunity to participate - if (this.handlers) { - this.handlers.forEach(handler => { - handler.prepareRequest(info.options); - }); - } - return info; - } - _mergeHeaders(headers) { - const lowercaseKeys = obj => Object.keys(obj).reduce((c, k) => ((c[k.toLowerCase()] = obj[k]), c), {}); - if (this.requestOptions && this.requestOptions.headers) { - return Object.assign({}, lowercaseKeys(this.requestOptions.headers), lowercaseKeys(headers)); - } - return lowercaseKeys(headers || {}); - } - _getExistingOrDefaultHeader(additionalHeaders, header, _default) { - const lowercaseKeys = obj => Object.keys(obj).reduce((c, k) => ((c[k.toLowerCase()] = obj[k]), c), {}); - let clientHeader; - if (this.requestOptions && this.requestOptions.headers) { - clientHeader = lowercaseKeys(this.requestOptions.headers)[header]; - } - return additionalHeaders[header] || clientHeader || _default; - } - _getAgent(parsedUrl) { - let agent; - let proxyUrl = pm.getProxyUrl(parsedUrl); - let useProxy = proxyUrl && proxyUrl.hostname; - if (this._keepAlive && useProxy) { - agent = this._proxyAgent; - } - if (this._keepAlive && !useProxy) { - agent = this._agent; - } - // if agent is already assigned use that agent. - if (!!agent) { - return agent; - } - const usingSsl = parsedUrl.protocol === 'https:'; - let maxSockets = 100; - if (!!this.requestOptions) { - maxSockets = this.requestOptions.maxSockets || http.globalAgent.maxSockets; - } - if (useProxy) { - // If using proxy, need tunnel - if (!tunnel) { - tunnel = __nccwpck_require__(4294); - } - const agentOptions = { - maxSockets: maxSockets, - keepAlive: this._keepAlive, - proxy: { - ...((proxyUrl.username || proxyUrl.password) && { - proxyAuth: `${proxyUrl.username}:${proxyUrl.password}` - }), - host: proxyUrl.hostname, - port: proxyUrl.port - } - }; - let tunnelAgent; - const overHttps = proxyUrl.protocol === 'https:'; - if (usingSsl) { - tunnelAgent = overHttps ? tunnel.httpsOverHttps : tunnel.httpsOverHttp; - } - else { - tunnelAgent = overHttps ? tunnel.httpOverHttps : tunnel.httpOverHttp; - } - agent = tunnelAgent(agentOptions); - this._proxyAgent = agent; - } - // if reusing agent across request and tunneling agent isn't assigned create a new agent - if (this._keepAlive && !agent) { - const options = { keepAlive: this._keepAlive, maxSockets: maxSockets }; - agent = usingSsl ? new https.Agent(options) : new http.Agent(options); - this._agent = agent; - } - // if not using private agent and tunnel agent isn't setup then use global agent - if (!agent) { - agent = usingSsl ? https.globalAgent : http.globalAgent; - } - if (usingSsl && this._ignoreSslError) { - // we don't want to set NODE_TLS_REJECT_UNAUTHORIZED=0 since that will affect request for entire process - // http.RequestOptions doesn't expose a way to modify RequestOptions.agent.options - // we have to cast it to any and change it directly - agent.options = Object.assign(agent.options || {}, { - rejectUnauthorized: false - }); - } - return agent; - } - _performExponentialBackoff(retryNumber) { - retryNumber = Math.min(ExponentialBackoffCeiling, retryNumber); - const ms = ExponentialBackoffTimeSlice * Math.pow(2, retryNumber); - return new Promise(resolve => setTimeout(() => resolve(), ms)); - } - static dateTimeDeserializer(key, value) { - if (typeof value === 'string') { - let a = new Date(value); - if (!isNaN(a.valueOf())) { - return a; - } - } - return value; - } - async _processResponse(res, options) { - return new Promise(async (resolve, reject) => { - const statusCode = res.message.statusCode; - const response = { - statusCode: statusCode, - result: null, - headers: {} - }; - // not found leads to null obj returned - if (statusCode == HttpCodes.NotFound) { - resolve(response); - } - let obj; - let contents; - // get the result from the body - try { - contents = await res.readBody(); - if (contents && contents.length > 0) { - if (options && options.deserializeDates) { - obj = JSON.parse(contents, HttpClient.dateTimeDeserializer); - } - else { - obj = JSON.parse(contents); - } - response.result = obj; - } - response.headers = res.message.headers; - } - catch (err) { - // Invalid resource (contents not json); leaving result obj null - } - // note that 3xx redirects are handled by the http layer. - if (statusCode > 299) { - let msg; - // if exception/error in body, attempt to get better error - if (obj && obj.message) { - msg = obj.message; - } - else if (contents && contents.length > 0) { - // it may be the case that the exception is in the body message as string - msg = contents; - } - else { - msg = 'Failed request: (' + statusCode + ')'; - } - let err = new HttpClientError(msg, statusCode); - err.result = response.result; - reject(err); - } - else { - resolve(response); - } - }); - } -} -exports.HttpClient = HttpClient; +/*eslint-disable no-use-before-define*/ -/***/ }), - -/***/ 6443: -/***/ ((__unused_webpack_module, exports) => { - -"use strict"; +var common = __nccwpck_require__(829); +var YAMLException = __nccwpck_require__(179); +var DEFAULT_SCHEMA = __nccwpck_require__(759); -Object.defineProperty(exports, "__esModule", ({ value: true })); -function getProxyUrl(reqUrl) { - let usingSsl = reqUrl.protocol === 'https:'; - let proxyUrl; - if (checkBypass(reqUrl)) { - return proxyUrl; - } - let proxyVar; - if (usingSsl) { - proxyVar = process.env['https_proxy'] || process.env['HTTPS_PROXY']; - } - else { - proxyVar = process.env['http_proxy'] || process.env['HTTP_PROXY']; - } - if (proxyVar) { - proxyUrl = new URL(proxyVar); - } - return proxyUrl; -} -exports.getProxyUrl = getProxyUrl; -function checkBypass(reqUrl) { - if (!reqUrl.hostname) { - return false; - } - let noProxy = process.env['no_proxy'] || process.env['NO_PROXY'] || ''; - if (!noProxy) { - return false; - } - // Determine the request port - let reqPort; - if (reqUrl.port) { - reqPort = Number(reqUrl.port); - } - else if (reqUrl.protocol === 'http:') { - reqPort = 80; - } - else if (reqUrl.protocol === 'https:') { - reqPort = 443; - } - // Format the request hostname and hostname with port - let upperReqHosts = [reqUrl.hostname.toUpperCase()]; - if (typeof reqPort === 'number') { - upperReqHosts.push(`${upperReqHosts[0]}:${reqPort}`); - } - // Compare request host against noproxy - for (let upperNoProxyItem of noProxy - .split(',') - .map(x => x.trim().toUpperCase()) - .filter(x => x)) { - if (upperReqHosts.some(x => x === upperNoProxyItem)) { - return true; - } - } - return false; -} -exports.checkBypass = checkBypass; +var _toString = Object.prototype.toString; +var _hasOwnProperty = Object.prototype.hasOwnProperty; +var CHAR_BOM = 0xFEFF; +var CHAR_TAB = 0x09; /* Tab */ +var CHAR_LINE_FEED = 0x0A; /* LF */ +var CHAR_CARRIAGE_RETURN = 0x0D; /* CR */ +var CHAR_SPACE = 0x20; /* Space */ +var CHAR_EXCLAMATION = 0x21; /* ! */ +var CHAR_DOUBLE_QUOTE = 0x22; /* " */ +var CHAR_SHARP = 0x23; /* # */ +var CHAR_PERCENT = 0x25; /* % */ +var CHAR_AMPERSAND = 0x26; /* & */ +var CHAR_SINGLE_QUOTE = 0x27; /* ' */ +var CHAR_ASTERISK = 0x2A; /* * */ +var CHAR_COMMA = 0x2C; /* , */ +var CHAR_MINUS = 0x2D; /* - */ +var CHAR_COLON = 0x3A; /* : */ +var CHAR_EQUALS = 0x3D; /* = */ +var CHAR_GREATER_THAN = 0x3E; /* > */ +var CHAR_QUESTION = 0x3F; /* ? */ +var CHAR_COMMERCIAL_AT = 0x40; /* @ */ +var CHAR_LEFT_SQUARE_BRACKET = 0x5B; /* [ */ +var CHAR_RIGHT_SQUARE_BRACKET = 0x5D; /* ] */ +var CHAR_GRAVE_ACCENT = 0x60; /* ` */ +var CHAR_LEFT_CURLY_BRACKET = 0x7B; /* { */ +var CHAR_VERTICAL_LINE = 0x7C; /* | */ +var CHAR_RIGHT_CURLY_BRACKET = 0x7D; /* } */ -/***/ }), +var ESCAPE_SEQUENCES = {}; -/***/ 334: -/***/ ((__unused_webpack_module, exports) => { +ESCAPE_SEQUENCES[0x00] = '\\0'; +ESCAPE_SEQUENCES[0x07] = '\\a'; +ESCAPE_SEQUENCES[0x08] = '\\b'; +ESCAPE_SEQUENCES[0x09] = '\\t'; +ESCAPE_SEQUENCES[0x0A] = '\\n'; +ESCAPE_SEQUENCES[0x0B] = '\\v'; +ESCAPE_SEQUENCES[0x0C] = '\\f'; +ESCAPE_SEQUENCES[0x0D] = '\\r'; +ESCAPE_SEQUENCES[0x1B] = '\\e'; +ESCAPE_SEQUENCES[0x22] = '\\"'; +ESCAPE_SEQUENCES[0x5C] = '\\\\'; +ESCAPE_SEQUENCES[0x85] = '\\N'; +ESCAPE_SEQUENCES[0xA0] = '\\_'; +ESCAPE_SEQUENCES[0x2028] = '\\L'; +ESCAPE_SEQUENCES[0x2029] = '\\P'; -"use strict"; +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_]*)?$/; -Object.defineProperty(exports, "__esModule", ({ value: true })); +function compileStyleMap(schema, map) { + var result, keys, index, length, tag, style, type; -async function auth(token) { - const tokenType = token.split(/\./).length === 3 ? "app" : /^v\d+\./.test(token) ? "installation" : "oauth"; - return { - type: "token", - token: token, - tokenType - }; -} + if (map === null) return {}; -/** - * Prefix token for usage in the Authorization header - * - * @param token OAuth token or JSON Web Token - */ -function withAuthorizationPrefix(token) { - if (token.split(/\./).length === 3) { - return `bearer ${token}`; - } + result = {}; + keys = Object.keys(map); - return `token ${token}`; -} + for (index = 0, length = keys.length; index < length; index += 1) { + tag = keys[index]; + style = String(map[tag]); -async function hook(token, request, route, parameters) { - const endpoint = request.endpoint.merge(route, parameters); - endpoint.headers.authorization = withAuthorizationPrefix(token); - return request(endpoint); -} + if (tag.slice(0, 2) === '!!') { + tag = 'tag:yaml.org,2002:' + tag.slice(2); + } + type = schema.compiledTypeMap['fallback'][tag]; -const createTokenAuth = function createTokenAuth(token) { - if (!token) { - throw new Error("[@octokit/auth-token] No token passed to createTokenAuth"); - } + if (type && _hasOwnProperty.call(type.styleAliases, style)) { + style = type.styleAliases[style]; + } - if (typeof token !== "string") { - throw new Error("[@octokit/auth-token] Token passed to createTokenAuth is not a string"); + result[tag] = style; } - token = token.replace(/^(token|bearer) +/i, ""); - return Object.assign(auth.bind(null, token), { - hook: hook.bind(null, token) - }); -}; - -exports.createTokenAuth = createTokenAuth; -//# sourceMappingURL=index.js.map - - -/***/ }), - -/***/ 6762: -/***/ ((__unused_webpack_module, exports, __nccwpck_require__) => { - -"use strict"; - - -Object.defineProperty(exports, "__esModule", ({ value: true })); + return result; +} -var universalUserAgent = __nccwpck_require__(5030); -var beforeAfterHook = __nccwpck_require__(3682); -var request = __nccwpck_require__(6234); -var graphql = __nccwpck_require__(8467); -var authToken = __nccwpck_require__(334); +function encodeHex(character) { + var string, handle, length; -function _objectWithoutPropertiesLoose(source, excluded) { - if (source == null) return {}; - var target = {}; - var sourceKeys = Object.keys(source); - var key, i; + string = character.toString(16).toUpperCase(); - for (i = 0; i < sourceKeys.length; i++) { - key = sourceKeys[i]; - if (excluded.indexOf(key) >= 0) continue; - target[key] = source[key]; + if (character <= 0xFF) { + handle = 'x'; + length = 2; + } else if (character <= 0xFFFF) { + handle = 'u'; + length = 4; + } else if (character <= 0xFFFFFFFF) { + handle = 'U'; + length = 8; + } else { + throw new YAMLException('code point within a string may not be greater than 0xFFFFFFFF'); } - return target; + return '\\' + handle + common.repeat('0', length - string.length) + string; } -function _objectWithoutProperties(source, excluded) { - if (source == null) return {}; - var target = _objectWithoutPropertiesLoose(source, excluded); +var QUOTING_TYPE_SINGLE = 1, + QUOTING_TYPE_DOUBLE = 2; - var key, i; +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; - if (Object.getOwnPropertySymbols) { - var sourceSymbolKeys = Object.getOwnPropertySymbols(source); + this.implicitTypes = this.schema.compiledImplicit; + this.explicitTypes = this.schema.compiledExplicit; - for (i = 0; i < sourceSymbolKeys.length; i++) { - key = sourceSymbolKeys[i]; - if (excluded.indexOf(key) >= 0) continue; - if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue; - target[key] = source[key]; - } - } + this.tag = null; + this.result = ''; - return target; + this.duplicates = []; + this.usedDuplicates = null; } -const VERSION = "3.5.1"; - -const _excluded = ["authStrategy"]; -class Octokit { - constructor(options = {}) { - const hook = new beforeAfterHook.Collection(); - const requestDefaults = { - baseUrl: request.request.endpoint.DEFAULTS.baseUrl, - headers: {}, - request: Object.assign({}, options.request, { - // @ts-ignore internal usage only, no need to type - hook: hook.bind(null, "request") - }), - mediaType: { - previews: [], - format: "" - } - }; // prepend default user agent with `options.userAgent` if set - - requestDefaults.headers["user-agent"] = [options.userAgent, `octokit-core.js/${VERSION} ${universalUserAgent.getUserAgent()}`].filter(Boolean).join(" "); - - if (options.baseUrl) { - requestDefaults.baseUrl = options.baseUrl; - } - - if (options.previews) { - requestDefaults.mediaType.previews = options.previews; - } +// Indents every line in a string. Empty lines (\n only) are not indented. +function indentString(string, spaces) { + var ind = common.repeat(' ', spaces), + position = 0, + next = -1, + result = '', + line, + length = string.length; - if (options.timeZone) { - requestDefaults.headers["time-zone"] = options.timeZone; + 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; } - this.request = request.request.defaults(requestDefaults); - this.graphql = graphql.withCustomRequest(this.request).defaults(requestDefaults); - this.log = Object.assign({ - debug: () => {}, - info: () => {}, - warn: console.warn.bind(console), - error: console.error.bind(console) - }, options.log); - this.hook = hook; // (1) If neither `options.authStrategy` nor `options.auth` are set, the `octokit` instance - // is unauthenticated. The `this.auth()` method is a no-op and no request hook is registered. - // (2) If only `options.auth` is set, use the default token authentication strategy. - // (3) If `options.authStrategy` is set then use it and pass in `options.auth`. Always pass own request as many strategies accept a custom request instance. - // TODO: type `options.auth` based on `options.authStrategy`. - - if (!options.authStrategy) { - if (!options.auth) { - // (1) - this.auth = async () => ({ - type: "unauthenticated" - }); - } else { - // (2) - const auth = authToken.createTokenAuth(options.auth); // @ts-ignore ¯\_(ツ)_/¯ + if (line.length && line !== '\n') result += ind; - hook.wrap("request", auth.hook); - this.auth = auth; - } - } else { - const { - authStrategy - } = options, - otherOptions = _objectWithoutProperties(options, _excluded); - - const auth = authStrategy(Object.assign({ - request: this.request, - log: this.log, - // we pass the current octokit instance as well as its constructor options - // to allow for authentication strategies that return a new octokit instance - // that shares the same internal state as the current one. The original - // requirement for this was the "event-octokit" authentication strategy - // of https://github.com/probot/octokit-auth-probot. - octokit: this, - octokitOptions: otherOptions - }, options.auth)); // @ts-ignore ¯\_(ツ)_/¯ - - hook.wrap("request", auth.hook); - this.auth = auth; - } // apply plugins - // https://stackoverflow.com/a/16345172 - - - const classConstructor = this.constructor; - classConstructor.plugins.forEach(plugin => { - Object.assign(this, plugin(this, options)); - }); + result += line; } - static defaults(defaults) { - const OctokitWithDefaults = class extends this { - constructor(...args) { - const options = args[0] || {}; - - if (typeof defaults === "function") { - super(defaults(options)); - return; - } - - super(Object.assign({}, defaults, options, options.userAgent && defaults.userAgent ? { - userAgent: `${options.userAgent} ${defaults.userAgent}` - } : null)); - } + return result; +} - }; - return OctokitWithDefaults; - } - /** - * Attach a plugin (or many) to your Octokit instance. - * - * @example - * const API = Octokit.plugin(plugin1, plugin2, plugin3, ...) - */ +function generateNextLine(state, level) { + return '\n' + common.repeat(' ', state.indent * level); +} +function testImplicitResolving(state, str) { + var index, length, type; - static plugin(...newPlugins) { - var _a; + for (index = 0, length = state.implicitTypes.length; index < length; index += 1) { + type = state.implicitTypes[index]; - const currentPlugins = this.plugins; - const NewOctokit = (_a = class extends this {}, _a.plugins = currentPlugins.concat(newPlugins.filter(plugin => !currentPlugins.includes(plugin))), _a); - return NewOctokit; + if (type.resolve(str)) { + return true; + } } + return false; } -Octokit.VERSION = VERSION; -Octokit.plugins = []; - -exports.Octokit = Octokit; -//# sourceMappingURL=index.js.map - - -/***/ }), - -/***/ 9440: -/***/ ((__unused_webpack_module, exports, __nccwpck_require__) => { - -"use strict"; +// [33] s-white ::= s-space | s-tab +function isWhitespace(c) { + return c === CHAR_SPACE || c === CHAR_TAB; +} -Object.defineProperty(exports, "__esModule", ({ value: true })); +// Returns true if the character can be printed without escaping. +// From YAML 1.2: "any allowed characters known to be non-printable +// should also be escaped. [However,] This isn’t mandatory" +// Derived from nb-char - \t - #x85 - #xA0 - #x2028 - #x2029. +function isPrintable(c) { + return (0x00020 <= c && c <= 0x00007E) + || ((0x000A1 <= c && c <= 0x00D7FF) && c !== 0x2028 && c !== 0x2029) + || ((0x0E000 <= c && c <= 0x00FFFD) && c !== CHAR_BOM) + || (0x10000 <= c && c <= 0x10FFFF); +} -var isPlainObject = __nccwpck_require__(3287); -var universalUserAgent = __nccwpck_require__(5030); +// [34] ns-char ::= nb-char - s-white +// [27] nb-char ::= c-printable - b-char - c-byte-order-mark +// [26] b-char ::= b-line-feed | b-carriage-return +// Including s-white (for some reason, examples doesn't match specs in this aspect) +// ns-char ::= c-printable - b-line-feed - b-carriage-return - c-byte-order-mark +function isNsCharOrWhitespace(c) { + return isPrintable(c) + && c !== CHAR_BOM + // - b-char + && c !== CHAR_CARRIAGE_RETURN + && c !== CHAR_LINE_FEED; +} -function lowercaseKeys(object) { - if (!object) { - return {}; - } +// [127] ns-plain-safe(c) ::= c = flow-out ⇒ ns-plain-safe-out +// c = flow-in ⇒ ns-plain-safe-in +// c = block-key ⇒ ns-plain-safe-out +// c = flow-key ⇒ ns-plain-safe-in +// [128] ns-plain-safe-out ::= ns-char +// [129] ns-plain-safe-in ::= ns-char - c-flow-indicator +// [130] ns-plain-char(c) ::= ( ns-plain-safe(c) - “:” - “#” ) +// | ( /* An ns-char preceding */ “#” ) +// | ( “:” /* Followed by an ns-plain-safe(c) */ ) +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-flow-indicator + && c !== CHAR_COMMA + && c !== CHAR_LEFT_SQUARE_BRACKET + && c !== CHAR_RIGHT_SQUARE_BRACKET + && c !== CHAR_LEFT_CURLY_BRACKET + && c !== CHAR_RIGHT_CURLY_BRACKET + ) + // ns-plain-char + && c !== CHAR_SHARP // false on '#' + && !(prev === CHAR_COLON && !cIsNsChar) // false on ': ' + || (isNsCharOrWhitespace(prev) && !isWhitespace(prev) && c === CHAR_SHARP) // change to true on '[^ ]#' + || (prev === CHAR_COLON && cIsNsChar); // change to true on ':[^ ]' +} - return Object.keys(object).reduce((newObj, key) => { - newObj[key.toLowerCase()] = object[key]; - return newObj; - }, {}); +// Simplified test for values allowed as the first character in plain style. +function isPlainSafeFirst(c) { + // Uses a subset of ns-char - c-indicator + // where ns-char = nb-char - s-white. + // No support of ( ( “?” | “:” | “-” ) /* Followed by an ns-plain-safe(c)) */ ) part + return isPrintable(c) && c !== CHAR_BOM + && !isWhitespace(c) // - s-white + // - (c-indicator ::= + // “-” | “?” | “:” | “,” | “[” | “]” | “{” | “}” + && 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 mergeDeep(defaults, options) { - const result = Object.assign({}, defaults); - Object.keys(options).forEach(key => { - if (isPlainObject.isPlainObject(options[key])) { - if (!(key in defaults)) Object.assign(result, { - [key]: options[key] - });else result[key] = mergeDeep(defaults[key], options[key]); - } else { - Object.assign(result, { - [key]: options[key] - }); - } - }); - return result; +// Simplified test for values allowed as the last character in plain style. +function isPlainSafeLast(c) { + // just not whitespace or colon, it will be checked to be plain character later + return !isWhitespace(c) && c !== CHAR_COLON; } -function removeUndefinedProperties(obj) { - for (const key in obj) { - if (obj[key] === undefined) { - delete obj[key]; +// Same as 'string'.codePointAt(pos), but works in older browsers. +function codePointAt(string, pos) { + var first = string.charCodeAt(pos), second; + if (first >= 0xD800 && first <= 0xDBFF && pos + 1 < string.length) { + second = string.charCodeAt(pos + 1); + if (second >= 0xDC00 && second <= 0xDFFF) { + // https://mathiasbynens.be/notes/javascript-encoding#surrogate-formulae + return (first - 0xD800) * 0x400 + second - 0xDC00 + 0x10000; } } - - return obj; + return first; } -function merge(defaults, route, options) { - if (typeof route === "string") { - let [method, url] = route.split(" "); - options = Object.assign(url ? { - method, - url - } : { - url: method - }, options); - } else { - options = Object.assign({}, route); - } // lowercase header names before merging with defaults to avoid duplicates +// Determines whether block indentation indicator is required. +function needIndentIndicator(string) { + var leadingSpaceRe = /^\n* /; + return leadingSpaceRe.test(string); +} +var STYLE_PLAIN = 1, + STYLE_SINGLE = 2, + STYLE_LITERAL = 3, + STYLE_FOLDED = 4, + STYLE_DOUBLE = 5; - options.headers = lowercaseKeys(options.headers); // remove properties with undefined values before merging +// Determines which scalar styles are possible and returns the preferred style. +// lineWidth = -1 => no limit. +// Pre-conditions: str.length > 0. +// Post-conditions: +// STYLE_PLAIN or STYLE_SINGLE => no \n are in the string. +// STYLE_LITERAL => no lines are suitable for folding (or lineWidth is -1). +// STYLE_FOLDED => a line > lineWidth and can be folded (and lineWidth != -1). +function chooseScalarStyle(string, singleLineOnly, indentPerLevel, lineWidth, + testAmbiguousType, quotingType, forceQuotes, inblock) { - removeUndefinedProperties(options); - removeUndefinedProperties(options.headers); - const mergedOptions = mergeDeep(defaults || {}, options); // mediaType.previews arrays are merged, instead of overwritten + var i; + var char = 0; + var prevChar = null; + var hasLineBreak = false; + var hasFoldableLine = false; // only checked if shouldTrackWidth + var shouldTrackWidth = lineWidth !== -1; + var previousLineBreak = -1; // count the first line correctly + var plain = isPlainSafeFirst(codePointAt(string, 0)) + && isPlainSafeLast(codePointAt(string, string.length - 1)); - if (defaults && defaults.mediaType.previews.length) { - mergedOptions.mediaType.previews = defaults.mediaType.previews.filter(preview => !mergedOptions.mediaType.previews.includes(preview)).concat(mergedOptions.mediaType.previews); + if (singleLineOnly || forceQuotes) { + // Case: no block styles. + // Check for disallowed characters to rule out plain and single. + for (i = 0; i < string.length; char >= 0x10000 ? i += 2 : i++) { + char = codePointAt(string, i); + if (!isPrintable(char)) { + return STYLE_DOUBLE; + } + plain = plain && isPlainSafe(char, prevChar, inblock); + prevChar = char; + } + } else { + // Case: block styles permitted. + for (i = 0; i < string.length; char >= 0x10000 ? i += 2 : i++) { + char = codePointAt(string, i); + if (char === CHAR_LINE_FEED) { + hasLineBreak = true; + // Check if any line can be folded. + 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; + } + // in case the end is missing a \n + hasFoldableLine = hasFoldableLine || (shouldTrackWidth && + (i - previousLineBreak - 1 > lineWidth && + string[previousLineBreak + 1] !== ' ')); } - - mergedOptions.mediaType.previews = mergedOptions.mediaType.previews.map(preview => preview.replace(/-preview/, "")); - return mergedOptions; + // Although every style can represent \n without escaping, prefer block styles + // for multiline, since they're more readable and they don't add empty lines. + // Also prefer folding a super-long line. + if (!hasLineBreak && !hasFoldableLine) { + // Strings interpretable as another type have to be quoted; + // e.g. the string 'true' vs. the boolean true. + if (plain && !forceQuotes && !testAmbiguousType(string)) { + return STYLE_PLAIN; + } + return quotingType === QUOTING_TYPE_DOUBLE ? STYLE_DOUBLE : STYLE_SINGLE; + } + // Edge case: block indentation indicator can only have one digit. + if (indentPerLevel > 9 && needIndentIndicator(string)) { + return STYLE_DOUBLE; + } + // At this point we know block styles are valid. + // Prefer literal style unless we want to fold. + if (!forceQuotes) { + return hasFoldableLine ? STYLE_FOLDED : STYLE_LITERAL; + } + return quotingType === QUOTING_TYPE_DOUBLE ? STYLE_DOUBLE : STYLE_SINGLE; } -function addQueryParameters(url, parameters) { - const separator = /\?/.test(url) ? "&" : "?"; - const names = Object.keys(parameters); +// Note: line breaking/folding is implemented for only the folded style. +// NB. We drop the last trailing newline (if any) of a returned block scalar +// since the dumper adds its own newline. This always works: +// • No ending newline => unaffected; already using strip "-" chomping. +// • Ending newline => removed then restored. +// Importantly, this keeps the "+" chomp indicator from gaining an extra line. +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 + "'"); + } + } - if (names.length === 0) { - return url; - } + var indent = state.indent * Math.max(1, level); // no 0-indent scalars + // As indentation gets deeper, let the width decrease monotonically + // to the lower bound min(state.lineWidth, 40). + // Note that this implies + // state.lineWidth ≤ 40 + state.indent: width is fixed at the lower bound. + // state.lineWidth > 40 + state.indent: width decreases until the lower bound. + // This behaves better than a constant minimum width which disallows narrower options, + // or an indent threshold which causes the width to suddenly increase. + var lineWidth = state.lineWidth === -1 + ? -1 : Math.max(Math.min(state.lineWidth, 40), state.lineWidth - indent); - return url + separator + names.map(name => { - if (name === "q") { - return "q=" + parameters.q.split("+").map(encodeURIComponent).join("+"); + // Without knowing if keys are implicit/explicit, assume implicit for safety. + var singleLineOnly = iskey + // No block styles in flow mode. + || (state.flowLevel > -1 && level >= state.flowLevel); + function testAmbiguity(string) { + return testImplicitResolving(state, string); } - return `${name}=${encodeURIComponent(parameters[name])}`; - }).join("&"); -} - -const urlVariableRegex = /\{[^}]+\}/g; + switch (chooseScalarStyle(string, singleLineOnly, state.indent, lineWidth, + testAmbiguity, state.quotingType, state.forceQuotes && !iskey, inblock)) { -function removeNonChars(variableName) { - return variableName.replace(/^\W+|\W+$/g, "").split(/,/); + 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 extractUrlVariableNames(url) { - const matches = url.match(urlVariableRegex); +// Pre-conditions: string is valid for a block scalar, 1 <= indentPerLevel <= 9. +function blockHeader(string, indentPerLevel) { + var indentIndicator = needIndentIndicator(string) ? String(indentPerLevel) : ''; - if (!matches) { - return []; - } + // note the special case: the string '\n' counts as a "trailing" empty line. + var clip = string[string.length - 1] === '\n'; + var keep = clip && (string[string.length - 2] === '\n' || string === '\n'); + var chomp = keep ? '+' : (clip ? '' : '-'); - return matches.map(removeNonChars).reduce((a, b) => a.concat(b), []); + return indentIndicator + chomp + '\n'; } -function omit(object, keysToOmit) { - return Object.keys(object).filter(option => !keysToOmit.includes(option)).reduce((obj, key) => { - obj[key] = object[key]; - return obj; - }, {}); +// (See the note for writeScalar.) +function dropEndingNewline(string) { + return string[string.length - 1] === '\n' ? string.slice(0, -1) : string; } -// Based on https://github.com/bramstein/url-template, licensed under BSD -// TODO: create separate package. -// -// Copyright (c) 2012-2014, Bram Stein -// All rights reserved. -// Redistribution and use in source and binary forms, with or without -// modification, are permitted provided that the following conditions -// are met: -// 1. Redistributions of source code must retain the above copyright -// notice, this list of conditions and the following disclaimer. -// 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. -// 3. The name of the author may not be used to endorse or promote products -// derived from this software without specific prior written permission. -// THIS SOFTWARE IS PROVIDED BY THE AUTHOR "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. - -/* istanbul ignore file */ -function encodeReserved(str) { - return str.split(/(%[0-9A-Fa-f]{2})/g).map(function (part) { - if (!/%[0-9A-Fa-f]/.test(part)) { - part = encodeURI(part).replace(/%5B/g, "[").replace(/%5D/g, "]"); - } - - return part; - }).join(""); -} - -function encodeUnreserved(str) { - return encodeURIComponent(str).replace(/[!'()*]/g, function (c) { - return "%" + c.charCodeAt(0).toString(16).toUpperCase(); - }); -} - -function encodeValue(operator, value, key) { - value = operator === "+" || operator === "#" ? encodeReserved(value) : encodeUnreserved(value); - - if (key) { - return encodeUnreserved(key) + "=" + value; - } else { - return value; - } -} - -function isDefined(value) { - return value !== undefined && value !== null; -} - -function isKeyOperator(operator) { - return operator === ";" || operator === "&" || operator === "?"; -} - -function getValues(context, operator, key, modifier) { - var value = context[key], - result = []; - - if (isDefined(value) && value !== "") { - if (typeof value === "string" || typeof value === "number" || typeof value === "boolean") { - value = value.toString(); - - if (modifier && modifier !== "*") { - value = value.substring(0, parseInt(modifier, 10)); - } - - result.push(encodeValue(operator, value, isKeyOperator(operator) ? key : "")); - } else { - if (modifier === "*") { - if (Array.isArray(value)) { - value.filter(isDefined).forEach(function (value) { - result.push(encodeValue(operator, value, isKeyOperator(operator) ? key : "")); - }); - } else { - Object.keys(value).forEach(function (k) { - if (isDefined(value[k])) { - result.push(encodeValue(operator, value[k], k)); - } - }); - } - } else { - const tmp = []; +// Note: a long line without a suitable break point will exceed the width limit. +// Pre-conditions: every char in str isPrintable, str.length > 0, width > 0. +function foldString(string, width) { + // In folded style, $k$ consecutive newlines output as $k+1$ newlines— + // unless they're before or after a more-indented line, or at the very + // beginning or end, in which case $k$ maps to $k$. + // Therefore, parse each chunk as newline(s) followed by a content line. + var lineRe = /(\n+)([^\n]*)/g; - if (Array.isArray(value)) { - value.filter(isDefined).forEach(function (value) { - tmp.push(encodeValue(operator, value)); - }); - } else { - Object.keys(value).forEach(function (k) { - if (isDefined(value[k])) { - tmp.push(encodeUnreserved(k)); - tmp.push(encodeValue(operator, value[k].toString())); - } - }); - } + // first line (possibly an empty line) + var result = (function () { + var nextLF = string.indexOf('\n'); + nextLF = nextLF !== -1 ? nextLF : string.length; + lineRe.lastIndex = nextLF; + return foldLine(string.slice(0, nextLF), width); + }()); + // If we haven't reached the first content line yet, don't add an extra \n. + var prevMoreIndented = string[0] === '\n' || string[0] === ' '; + var moreIndented; - if (isKeyOperator(operator)) { - result.push(encodeUnreserved(key) + "=" + tmp.join(",")); - } else if (tmp.length !== 0) { - result.push(tmp.join(",")); - } - } - } - } else { - if (operator === ";") { - if (isDefined(value)) { - result.push(encodeUnreserved(key)); - } - } else if (value === "" && (operator === "&" || operator === "?")) { - result.push(encodeUnreserved(key) + "="); - } else if (value === "") { - result.push(""); - } + // rest of the lines + 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 parseUrl(template) { - return { - expand: expand.bind(null, template) - }; -} - -function expand(template, context) { - var operators = ["+", "#", ".", "/", ";", "?", "&"]; - return template.replace(/\{([^\{\}]+)\}|([^\{\}]+)/g, function (_, expression, literal) { - if (expression) { - let operator = ""; - const values = []; - - if (operators.indexOf(expression.charAt(0)) !== -1) { - operator = expression.charAt(0); - expression = expression.substr(1); - } - - expression.split(/,/g).forEach(function (variable) { - var tmp = /([^:\*]*)(?::(\d+)|(\*))?/.exec(variable); - values.push(getValues(context, operator, tmp[1], tmp[2] || tmp[3])); - }); - - if (operator && operator !== "+") { - var separator = ","; - - if (operator === "?") { - separator = "&"; - } else if (operator !== "#") { - separator = operator; - } - - return (values.length !== 0 ? operator : "") + values.join(separator); - } else { - return values.join(","); - } - } else { - return encodeReserved(literal); - } - }); -} - -function parse(options) { - // https://fetch.spec.whatwg.org/#methods - let method = options.method.toUpperCase(); // replace :varname with {varname} to make it RFC 6570 compatible - - let url = (options.url || "/").replace(/:([a-z]\w+)/g, "{$1}"); - let headers = Object.assign({}, options.headers); - let body; - let parameters = omit(options, ["method", "baseUrl", "url", "headers", "request", "mediaType"]); // extract variable names from URL to calculate remaining variables later - - const urlVariableNames = extractUrlVariableNames(url); - url = parseUrl(url).expand(parameters); - - if (!/^http/.test(url)) { - url = options.baseUrl + url; - } - - const omittedParameters = Object.keys(options).filter(option => urlVariableNames.includes(option)).concat("baseUrl"); - const remainingParameters = omit(parameters, omittedParameters); - const isBinaryRequest = /application\/octet-stream/i.test(headers.accept); - - if (!isBinaryRequest) { - if (options.mediaType.format) { - // e.g. application/vnd.github.v3+json => application/vnd.github.v3.raw - headers.accept = headers.accept.split(/,/).map(preview => preview.replace(/application\/vnd(\.\w+)(\.v3)?(\.\w+)?(\+json)?$/, `application/vnd$1$2.${options.mediaType.format}`)).join(","); - } - - if (options.mediaType.previews.length) { - const previewsFromAcceptHeader = headers.accept.match(/[\w-]+(?=-preview)/g) || []; - headers.accept = previewsFromAcceptHeader.concat(options.mediaType.previews).map(preview => { - const format = options.mediaType.format ? `.${options.mediaType.format}` : "+json"; - return `application/vnd.github.${preview}-preview${format}`; - }).join(","); - } - } // for GET/HEAD requests, set URL query parameters from remaining parameters - // for PATCH/POST/PUT/DELETE requests, set request body from remaining parameters - - - if (["GET", "HEAD"].includes(method)) { - url = addQueryParameters(url, remainingParameters); - } else { - if ("data" in remainingParameters) { - body = remainingParameters.data; - } else { - if (Object.keys(remainingParameters).length) { - body = remainingParameters; - } else { - headers["content-length"] = 0; - } - } - } // default content-type for JSON if body is set - - - if (!headers["content-type"] && typeof body !== "undefined") { - headers["content-type"] = "application/json; charset=utf-8"; - } // GitHub expects 'content-length: 0' header for PUT/PATCH requests without body. - // fetch does not allow to set `content-length` header, but we can set body to an empty string - - - if (["PATCH", "PUT"].includes(method) && typeof body === "undefined") { - body = ""; - } // Only return body/request keys if present - - - return Object.assign({ - method, - url, - headers - }, typeof body !== "undefined" ? { - body - } : null, options.request ? { - request: options.request - } : null); -} - -function endpointWithDefaults(defaults, route, options) { - return parse(merge(defaults, route, options)); -} - -function withDefaults(oldDefaults, newDefaults) { - const DEFAULTS = merge(oldDefaults, newDefaults); - const endpoint = endpointWithDefaults.bind(null, DEFAULTS); - return Object.assign(endpoint, { - DEFAULTS, - defaults: withDefaults.bind(null, DEFAULTS), - merge: merge.bind(null, DEFAULTS), - parse - }); -} - -const VERSION = "6.0.12"; - -const userAgent = `octokit-endpoint.js/${VERSION} ${universalUserAgent.getUserAgent()}`; // DEFAULTS has all properties set that EndpointOptions has, except url. -// So we use RequestParameters and add method as additional required property. - -const DEFAULTS = { - method: "GET", - baseUrl: "https://api.github.com", - headers: { - accept: "application/vnd.github.v3+json", - "user-agent": userAgent - }, - mediaType: { - format: "", - previews: [] - } -}; - -const endpoint = withDefaults(null, DEFAULTS); - -exports.endpoint = endpoint; -//# sourceMappingURL=index.js.map - - -/***/ }), - -/***/ 8467: -/***/ ((__unused_webpack_module, exports, __nccwpck_require__) => { - -"use strict"; - - -Object.defineProperty(exports, "__esModule", ({ value: true })); - -var request = __nccwpck_require__(6234); -var universalUserAgent = __nccwpck_require__(5030); - -const VERSION = "4.6.4"; - -class GraphqlError extends Error { - constructor(request, response) { - const message = response.data.errors[0].message; - super(message); - Object.assign(this, response.data); - Object.assign(this, { - headers: response.headers - }); - this.name = "GraphqlError"; - this.request = request; // Maintains proper stack trace (only available on V8) - - /* istanbul ignore next */ - - if (Error.captureStackTrace) { - Error.captureStackTrace(this, this.constructor); - } - } - -} - -const NON_VARIABLE_OPTIONS = ["method", "baseUrl", "url", "headers", "request", "query", "mediaType"]; -const FORBIDDEN_VARIABLE_OPTIONS = ["query", "method", "url"]; -const GHES_V3_SUFFIX_REGEX = /\/api\/v3\/?$/; -function graphql(request, query, options) { - if (options) { - if (typeof query === "string" && "query" in options) { - return Promise.reject(new Error(`[@octokit/graphql] "query" cannot be used as variable name`)); - } - - for (const key in options) { - if (!FORBIDDEN_VARIABLE_OPTIONS.includes(key)) continue; - return Promise.reject(new Error(`[@octokit/graphql] "${key}" cannot be used as variable name`)); - } - } - - const parsedOptions = typeof query === "string" ? Object.assign({ - query - }, options) : query; - const requestOptions = Object.keys(parsedOptions).reduce((result, key) => { - if (NON_VARIABLE_OPTIONS.includes(key)) { - result[key] = parsedOptions[key]; - return result; - } - - if (!result.variables) { - result.variables = {}; - } - - result.variables[key] = parsedOptions[key]; - return result; - }, {}); // workaround for GitHub Enterprise baseUrl set with /api/v3 suffix - // https://github.com/octokit/auth-app.js/issues/111#issuecomment-657610451 - - const baseUrl = parsedOptions.baseUrl || request.endpoint.DEFAULTS.baseUrl; - - if (GHES_V3_SUFFIX_REGEX.test(baseUrl)) { - requestOptions.url = baseUrl.replace(GHES_V3_SUFFIX_REGEX, "/api/graphql"); - } - - return request(requestOptions).then(response => { - if (response.data.errors) { - const headers = {}; - - for (const key of Object.keys(response.headers)) { - headers[key] = response.headers[key]; - } - - throw new GraphqlError(requestOptions, { - headers, - data: response.data - }); - } - - return response.data.data; - }); -} - -function withDefaults(request$1, newDefaults) { - const newRequest = request$1.defaults(newDefaults); - - const newApi = (query, options) => { - return graphql(newRequest, query, options); - }; - - return Object.assign(newApi, { - defaults: withDefaults.bind(null, newRequest), - endpoint: request.request.endpoint - }); -} - -const graphql$1 = withDefaults(request.request, { - headers: { - "user-agent": `octokit-graphql.js/${VERSION} ${universalUserAgent.getUserAgent()}` - }, - method: "POST", - url: "/graphql" -}); -function withCustomRequest(customRequest) { - return withDefaults(customRequest, { - method: "POST", - url: "/graphql" - }); -} - -exports.graphql = graphql$1; -exports.withCustomRequest = withCustomRequest; -//# sourceMappingURL=index.js.map - - -/***/ }), - -/***/ 4193: -/***/ ((__unused_webpack_module, exports) => { - -"use strict"; - - -Object.defineProperty(exports, "__esModule", ({ value: true })); - -const VERSION = "2.14.0"; - -function ownKeys(object, enumerableOnly) { - var keys = Object.keys(object); - - if (Object.getOwnPropertySymbols) { - var symbols = Object.getOwnPropertySymbols(object); - - if (enumerableOnly) { - symbols = symbols.filter(function (sym) { - return Object.getOwnPropertyDescriptor(object, sym).enumerable; - }); - } - - keys.push.apply(keys, symbols); - } - - return keys; -} +// Greedy line breaking. +// Picks the longest line under the limit each time, +// otherwise settles for the shortest line over the limit. +// NB. More-indented lines *cannot* be folded, as that would add an extra \n. +function foldLine(line, width) { + if (line === '' || line[0] === ' ') return line; -function _objectSpread2(target) { - for (var i = 1; i < arguments.length; i++) { - var source = arguments[i] != null ? arguments[i] : {}; + // Since a more-indented line adds a \n, breaks can't be followed by a space. + var breakRe = / [^ ]/g; // note: the match index will always be <= length-2. + var match; + // start is an inclusive index. end, curr, and next are exclusive. + var start = 0, end, curr = 0, next = 0; + var result = ''; - if (i % 2) { - ownKeys(Object(source), true).forEach(function (key) { - _defineProperty(target, key, source[key]); - }); - } else if (Object.getOwnPropertyDescriptors) { - Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)); - } else { - ownKeys(Object(source)).forEach(function (key) { - Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); - }); + // Invariants: 0 <= start <= length-1. + // 0 <= curr <= next <= max(0, length-2). curr - start <= width. + // Inside the loop: + // A match implies length >= 2, so curr and next are <= length-2. + while ((match = breakRe.exec(line))) { + next = match.index; + // maintain invariant: curr - start <= width + if (next - start > width) { + end = (curr > start) ? curr : next; // derive end <= length-2 + result += '\n' + line.slice(start, end); + // skip the space that was output as \n + start = end + 1; // derive start <= length-1 } + curr = next; } - return target; -} - -function _defineProperty(obj, key, value) { - if (key in obj) { - Object.defineProperty(obj, key, { - value: value, - enumerable: true, - configurable: true, - writable: true - }); + // By the invariants, start <= length-1, so there is something left over. + // It is either the whole string or a part starting from non-whitespace. + result += '\n'; + // Insert a break if the remainder is too long and there is a break available. + if (line.length - start > width && curr > start) { + result += line.slice(start, curr) + '\n' + line.slice(curr + 1); } else { - obj[key] = value; - } - - return obj; -} - -/** - * Some “list” response that can be paginated have a different response structure - * - * They have a `total_count` key in the response (search also has `incomplete_results`, - * /installation/repositories also has `repository_selection`), as well as a key with - * the list of the items which name varies from endpoint to endpoint. - * - * Octokit normalizes these responses so that paginated results are always returned following - * the same structure. One challenge is that if the list response has only one page, no Link - * header is provided, so this header alone is not sufficient to check wether a response is - * paginated or not. - * - * We check if a "total_count" key is present in the response data, but also make sure that - * a "url" property is not, as the "Get the combined status for a specific ref" endpoint would - * otherwise match: https://developer.github.com/v3/repos/statuses/#get-the-combined-status-for-a-specific-ref - */ -function normalizePaginatedListResponse(response) { - // endpoints can respond with 204 if repository is empty - if (!response.data) { - return _objectSpread2(_objectSpread2({}, response), {}, { - data: [] - }); - } - - const responseNeedsNormalization = "total_count" in response.data && !("url" in response.data); - if (!responseNeedsNormalization) return response; // keep the additional properties intact as there is currently no other way - // to retrieve the same information. - - const incompleteResults = response.data.incomplete_results; - const repositorySelection = response.data.repository_selection; - const totalCount = response.data.total_count; - delete response.data.incomplete_results; - delete response.data.repository_selection; - delete response.data.total_count; - const namespaceKey = Object.keys(response.data)[0]; - const data = response.data[namespaceKey]; - response.data = data; - - if (typeof incompleteResults !== "undefined") { - response.data.incomplete_results = incompleteResults; - } - - if (typeof repositorySelection !== "undefined") { - response.data.repository_selection = repositorySelection; + result += line.slice(start); } - response.data.total_count = totalCount; - return response; + return result.slice(1); // drop extra \n joiner } -function iterator(octokit, route, parameters) { - const options = typeof route === "function" ? route.endpoint(parameters) : octokit.request.endpoint(route, parameters); - const requestMethod = typeof route === "function" ? route : octokit.request; - const method = options.method; - const headers = options.headers; - let url = options.url; - return { - [Symbol.asyncIterator]: () => ({ - async next() { - if (!url) return { - done: true - }; - - try { - const response = await requestMethod({ - method, - url, - headers - }); - const normalizedResponse = normalizePaginatedListResponse(response); // `response.headers.link` format: - // '; rel="next", ; rel="last"' - // sets `url` to undefined if "next" URL is not present or `link` header is not set - - url = ((normalizedResponse.headers.link || "").match(/<([^>]+)>;\s*rel="next"/) || [])[1]; - return { - value: normalizedResponse - }; - } catch (error) { - if (error.status !== 409) throw error; - url = ""; - return { - value: { - status: 200, - headers: {}, - data: [] - } - }; - } - } +// Escapes a double-quoted string. +function escapeString(string) { + var result = ''; + var char = 0; + var escapeSeq; - }) - }; -} - -function paginate(octokit, route, parameters, mapFn) { - if (typeof parameters === "function") { - mapFn = parameters; - parameters = undefined; - } - - return gather(octokit, [], iterator(octokit, route, parameters)[Symbol.asyncIterator](), mapFn); -} - -function gather(octokit, results, iterator, mapFn) { - return iterator.next().then(result => { - if (result.done) { - return results; - } - - let earlyExit = false; - - function done() { - earlyExit = true; - } - - results = results.concat(mapFn ? mapFn(result.value, done) : result.value.data); - - if (earlyExit) { - return results; - } - - return gather(octokit, results, iterator, mapFn); - }); -} - -const composePaginateRest = Object.assign(paginate, { - iterator -}); - -const paginatingEndpoints = ["GET /app/hook/deliveries", "GET /app/installations", "GET /applications/grants", "GET /authorizations", "GET /enterprises/{enterprise}/actions/permissions/organizations", "GET /enterprises/{enterprise}/actions/runner-groups", "GET /enterprises/{enterprise}/actions/runner-groups/{runner_group_id}/organizations", "GET /enterprises/{enterprise}/actions/runner-groups/{runner_group_id}/runners", "GET /enterprises/{enterprise}/actions/runners", "GET /enterprises/{enterprise}/actions/runners/downloads", "GET /events", "GET /gists", "GET /gists/public", "GET /gists/starred", "GET /gists/{gist_id}/comments", "GET /gists/{gist_id}/commits", "GET /gists/{gist_id}/forks", "GET /installation/repositories", "GET /issues", "GET /marketplace_listing/plans", "GET /marketplace_listing/plans/{plan_id}/accounts", "GET /marketplace_listing/stubbed/plans", "GET /marketplace_listing/stubbed/plans/{plan_id}/accounts", "GET /networks/{owner}/{repo}/events", "GET /notifications", "GET /organizations", "GET /orgs/{org}/actions/permissions/repositories", "GET /orgs/{org}/actions/runner-groups", "GET /orgs/{org}/actions/runner-groups/{runner_group_id}/repositories", "GET /orgs/{org}/actions/runner-groups/{runner_group_id}/runners", "GET /orgs/{org}/actions/runners", "GET /orgs/{org}/actions/runners/downloads", "GET /orgs/{org}/actions/secrets", "GET /orgs/{org}/actions/secrets/{secret_name}/repositories", "GET /orgs/{org}/blocks", "GET /orgs/{org}/credential-authorizations", "GET /orgs/{org}/events", "GET /orgs/{org}/failed_invitations", "GET /orgs/{org}/hooks", "GET /orgs/{org}/hooks/{hook_id}/deliveries", "GET /orgs/{org}/installations", "GET /orgs/{org}/invitations", "GET /orgs/{org}/invitations/{invitation_id}/teams", "GET /orgs/{org}/issues", "GET /orgs/{org}/members", "GET /orgs/{org}/migrations", "GET /orgs/{org}/migrations/{migration_id}/repositories", "GET /orgs/{org}/outside_collaborators", "GET /orgs/{org}/projects", "GET /orgs/{org}/public_members", "GET /orgs/{org}/repos", "GET /orgs/{org}/team-sync/groups", "GET /orgs/{org}/teams", "GET /orgs/{org}/teams/{team_slug}/discussions", "GET /orgs/{org}/teams/{team_slug}/discussions/{discussion_number}/comments", "GET /orgs/{org}/teams/{team_slug}/discussions/{discussion_number}/comments/{comment_number}/reactions", "GET /orgs/{org}/teams/{team_slug}/discussions/{discussion_number}/reactions", "GET /orgs/{org}/teams/{team_slug}/invitations", "GET /orgs/{org}/teams/{team_slug}/members", "GET /orgs/{org}/teams/{team_slug}/projects", "GET /orgs/{org}/teams/{team_slug}/repos", "GET /orgs/{org}/teams/{team_slug}/team-sync/group-mappings", "GET /orgs/{org}/teams/{team_slug}/teams", "GET /projects/columns/{column_id}/cards", "GET /projects/{project_id}/collaborators", "GET /projects/{project_id}/columns", "GET /repos/{owner}/{repo}/actions/artifacts", "GET /repos/{owner}/{repo}/actions/runners", "GET /repos/{owner}/{repo}/actions/runners/downloads", "GET /repos/{owner}/{repo}/actions/runs", "GET /repos/{owner}/{repo}/actions/runs/{run_id}/artifacts", "GET /repos/{owner}/{repo}/actions/runs/{run_id}/jobs", "GET /repos/{owner}/{repo}/actions/secrets", "GET /repos/{owner}/{repo}/actions/workflows", "GET /repos/{owner}/{repo}/actions/workflows/{workflow_id}/runs", "GET /repos/{owner}/{repo}/assignees", "GET /repos/{owner}/{repo}/branches", "GET /repos/{owner}/{repo}/check-runs/{check_run_id}/annotations", "GET /repos/{owner}/{repo}/check-suites/{check_suite_id}/check-runs", "GET /repos/{owner}/{repo}/code-scanning/alerts", "GET /repos/{owner}/{repo}/code-scanning/alerts/{alert_number}/instances", "GET /repos/{owner}/{repo}/code-scanning/analyses", "GET /repos/{owner}/{repo}/collaborators", "GET /repos/{owner}/{repo}/comments", "GET /repos/{owner}/{repo}/comments/{comment_id}/reactions", "GET /repos/{owner}/{repo}/commits", "GET /repos/{owner}/{repo}/commits/{commit_sha}/branches-where-head", "GET /repos/{owner}/{repo}/commits/{commit_sha}/comments", "GET /repos/{owner}/{repo}/commits/{commit_sha}/pulls", "GET /repos/{owner}/{repo}/commits/{ref}/check-runs", "GET /repos/{owner}/{repo}/commits/{ref}/check-suites", "GET /repos/{owner}/{repo}/commits/{ref}/statuses", "GET /repos/{owner}/{repo}/contributors", "GET /repos/{owner}/{repo}/deployments", "GET /repos/{owner}/{repo}/deployments/{deployment_id}/statuses", "GET /repos/{owner}/{repo}/events", "GET /repos/{owner}/{repo}/forks", "GET /repos/{owner}/{repo}/git/matching-refs/{ref}", "GET /repos/{owner}/{repo}/hooks", "GET /repos/{owner}/{repo}/hooks/{hook_id}/deliveries", "GET /repos/{owner}/{repo}/invitations", "GET /repos/{owner}/{repo}/issues", "GET /repos/{owner}/{repo}/issues/comments", "GET /repos/{owner}/{repo}/issues/comments/{comment_id}/reactions", "GET /repos/{owner}/{repo}/issues/events", "GET /repos/{owner}/{repo}/issues/{issue_number}/comments", "GET /repos/{owner}/{repo}/issues/{issue_number}/events", "GET /repos/{owner}/{repo}/issues/{issue_number}/labels", "GET /repos/{owner}/{repo}/issues/{issue_number}/reactions", "GET /repos/{owner}/{repo}/issues/{issue_number}/timeline", "GET /repos/{owner}/{repo}/keys", "GET /repos/{owner}/{repo}/labels", "GET /repos/{owner}/{repo}/milestones", "GET /repos/{owner}/{repo}/milestones/{milestone_number}/labels", "GET /repos/{owner}/{repo}/notifications", "GET /repos/{owner}/{repo}/pages/builds", "GET /repos/{owner}/{repo}/projects", "GET /repos/{owner}/{repo}/pulls", "GET /repos/{owner}/{repo}/pulls/comments", "GET /repos/{owner}/{repo}/pulls/comments/{comment_id}/reactions", "GET /repos/{owner}/{repo}/pulls/{pull_number}/comments", "GET /repos/{owner}/{repo}/pulls/{pull_number}/commits", "GET /repos/{owner}/{repo}/pulls/{pull_number}/files", "GET /repos/{owner}/{repo}/pulls/{pull_number}/requested_reviewers", "GET /repos/{owner}/{repo}/pulls/{pull_number}/reviews", "GET /repos/{owner}/{repo}/pulls/{pull_number}/reviews/{review_id}/comments", "GET /repos/{owner}/{repo}/releases", "GET /repos/{owner}/{repo}/releases/{release_id}/assets", "GET /repos/{owner}/{repo}/secret-scanning/alerts", "GET /repos/{owner}/{repo}/stargazers", "GET /repos/{owner}/{repo}/subscribers", "GET /repos/{owner}/{repo}/tags", "GET /repos/{owner}/{repo}/teams", "GET /repositories", "GET /repositories/{repository_id}/environments/{environment_name}/secrets", "GET /scim/v2/enterprises/{enterprise}/Groups", "GET /scim/v2/enterprises/{enterprise}/Users", "GET /scim/v2/organizations/{org}/Users", "GET /search/code", "GET /search/commits", "GET /search/issues", "GET /search/labels", "GET /search/repositories", "GET /search/topics", "GET /search/users", "GET /teams/{team_id}/discussions", "GET /teams/{team_id}/discussions/{discussion_number}/comments", "GET /teams/{team_id}/discussions/{discussion_number}/comments/{comment_number}/reactions", "GET /teams/{team_id}/discussions/{discussion_number}/reactions", "GET /teams/{team_id}/invitations", "GET /teams/{team_id}/members", "GET /teams/{team_id}/projects", "GET /teams/{team_id}/repos", "GET /teams/{team_id}/team-sync/group-mappings", "GET /teams/{team_id}/teams", "GET /user/blocks", "GET /user/emails", "GET /user/followers", "GET /user/following", "GET /user/gpg_keys", "GET /user/installations", "GET /user/installations/{installation_id}/repositories", "GET /user/issues", "GET /user/keys", "GET /user/marketplace_purchases", "GET /user/marketplace_purchases/stubbed", "GET /user/memberships/orgs", "GET /user/migrations", "GET /user/migrations/{migration_id}/repositories", "GET /user/orgs", "GET /user/public_emails", "GET /user/repos", "GET /user/repository_invitations", "GET /user/starred", "GET /user/subscriptions", "GET /user/teams", "GET /users", "GET /users/{username}/events", "GET /users/{username}/events/orgs/{org}", "GET /users/{username}/events/public", "GET /users/{username}/followers", "GET /users/{username}/following", "GET /users/{username}/gists", "GET /users/{username}/gpg_keys", "GET /users/{username}/keys", "GET /users/{username}/orgs", "GET /users/{username}/projects", "GET /users/{username}/received_events", "GET /users/{username}/received_events/public", "GET /users/{username}/repos", "GET /users/{username}/starred", "GET /users/{username}/subscriptions"]; - -function isPaginatingEndpoint(arg) { - if (typeof arg === "string") { - return paginatingEndpoints.includes(arg); - } else { - return false; - } -} - -/** - * @param octokit Octokit instance - * @param options Options passed to Octokit constructor - */ - -function paginateRest(octokit) { - return { - paginate: Object.assign(paginate.bind(null, octokit), { - iterator: iterator.bind(null, octokit) - }) - }; -} -paginateRest.VERSION = VERSION; - -exports.composePaginateRest = composePaginateRest; -exports.isPaginatingEndpoint = isPaginatingEndpoint; -exports.paginateRest = paginateRest; -exports.paginatingEndpoints = paginatingEndpoints; -//# sourceMappingURL=index.js.map - - -/***/ }), - -/***/ 3044: -/***/ ((__unused_webpack_module, exports) => { - -"use strict"; - - -Object.defineProperty(exports, "__esModule", ({ value: true })); - -function ownKeys(object, enumerableOnly) { - var keys = Object.keys(object); - - if (Object.getOwnPropertySymbols) { - var symbols = Object.getOwnPropertySymbols(object); - - if (enumerableOnly) { - symbols = symbols.filter(function (sym) { - return Object.getOwnPropertyDescriptor(object, sym).enumerable; - }); - } - - keys.push.apply(keys, symbols); - } - - return keys; -} - -function _objectSpread2(target) { - for (var i = 1; i < arguments.length; i++) { - var source = arguments[i] != null ? arguments[i] : {}; - - if (i % 2) { - ownKeys(Object(source), true).forEach(function (key) { - _defineProperty(target, key, source[key]); - }); - } else if (Object.getOwnPropertyDescriptors) { - Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)); - } else { - ownKeys(Object(source)).forEach(function (key) { - Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); - }); - } - } - - return target; -} - -function _defineProperty(obj, key, value) { - if (key in obj) { - Object.defineProperty(obj, key, { - value: value, - enumerable: true, - configurable: true, - writable: true - }); - } else { - obj[key] = value; - } - - return obj; -} - -const Endpoints = { - actions: { - addSelectedRepoToOrgSecret: ["PUT /orgs/{org}/actions/secrets/{secret_name}/repositories/{repository_id}"], - approveWorkflowRun: ["POST /repos/{owner}/{repo}/actions/runs/{run_id}/approve"], - cancelWorkflowRun: ["POST /repos/{owner}/{repo}/actions/runs/{run_id}/cancel"], - createOrUpdateEnvironmentSecret: ["PUT /repositories/{repository_id}/environments/{environment_name}/secrets/{secret_name}"], - createOrUpdateOrgSecret: ["PUT /orgs/{org}/actions/secrets/{secret_name}"], - createOrUpdateRepoSecret: ["PUT /repos/{owner}/{repo}/actions/secrets/{secret_name}"], - createRegistrationTokenForOrg: ["POST /orgs/{org}/actions/runners/registration-token"], - createRegistrationTokenForRepo: ["POST /repos/{owner}/{repo}/actions/runners/registration-token"], - createRemoveTokenForOrg: ["POST /orgs/{org}/actions/runners/remove-token"], - createRemoveTokenForRepo: ["POST /repos/{owner}/{repo}/actions/runners/remove-token"], - createWorkflowDispatch: ["POST /repos/{owner}/{repo}/actions/workflows/{workflow_id}/dispatches"], - deleteArtifact: ["DELETE /repos/{owner}/{repo}/actions/artifacts/{artifact_id}"], - deleteEnvironmentSecret: ["DELETE /repositories/{repository_id}/environments/{environment_name}/secrets/{secret_name}"], - deleteOrgSecret: ["DELETE /orgs/{org}/actions/secrets/{secret_name}"], - deleteRepoSecret: ["DELETE /repos/{owner}/{repo}/actions/secrets/{secret_name}"], - deleteSelfHostedRunnerFromOrg: ["DELETE /orgs/{org}/actions/runners/{runner_id}"], - deleteSelfHostedRunnerFromRepo: ["DELETE /repos/{owner}/{repo}/actions/runners/{runner_id}"], - deleteWorkflowRun: ["DELETE /repos/{owner}/{repo}/actions/runs/{run_id}"], - deleteWorkflowRunLogs: ["DELETE /repos/{owner}/{repo}/actions/runs/{run_id}/logs"], - disableSelectedRepositoryGithubActionsOrganization: ["DELETE /orgs/{org}/actions/permissions/repositories/{repository_id}"], - disableWorkflow: ["PUT /repos/{owner}/{repo}/actions/workflows/{workflow_id}/disable"], - downloadArtifact: ["GET /repos/{owner}/{repo}/actions/artifacts/{artifact_id}/{archive_format}"], - downloadJobLogsForWorkflowRun: ["GET /repos/{owner}/{repo}/actions/jobs/{job_id}/logs"], - downloadWorkflowRunLogs: ["GET /repos/{owner}/{repo}/actions/runs/{run_id}/logs"], - enableSelectedRepositoryGithubActionsOrganization: ["PUT /orgs/{org}/actions/permissions/repositories/{repository_id}"], - enableWorkflow: ["PUT /repos/{owner}/{repo}/actions/workflows/{workflow_id}/enable"], - getAllowedActionsOrganization: ["GET /orgs/{org}/actions/permissions/selected-actions"], - getAllowedActionsRepository: ["GET /repos/{owner}/{repo}/actions/permissions/selected-actions"], - getArtifact: ["GET /repos/{owner}/{repo}/actions/artifacts/{artifact_id}"], - getEnvironmentPublicKey: ["GET /repositories/{repository_id}/environments/{environment_name}/secrets/public-key"], - getEnvironmentSecret: ["GET /repositories/{repository_id}/environments/{environment_name}/secrets/{secret_name}"], - getGithubActionsPermissionsOrganization: ["GET /orgs/{org}/actions/permissions"], - getGithubActionsPermissionsRepository: ["GET /repos/{owner}/{repo}/actions/permissions"], - getJobForWorkflowRun: ["GET /repos/{owner}/{repo}/actions/jobs/{job_id}"], - getOrgPublicKey: ["GET /orgs/{org}/actions/secrets/public-key"], - getOrgSecret: ["GET /orgs/{org}/actions/secrets/{secret_name}"], - getPendingDeploymentsForRun: ["GET /repos/{owner}/{repo}/actions/runs/{run_id}/pending_deployments"], - getRepoPermissions: ["GET /repos/{owner}/{repo}/actions/permissions", {}, { - renamed: ["actions", "getGithubActionsPermissionsRepository"] - }], - getRepoPublicKey: ["GET /repos/{owner}/{repo}/actions/secrets/public-key"], - getRepoSecret: ["GET /repos/{owner}/{repo}/actions/secrets/{secret_name}"], - getReviewsForRun: ["GET /repos/{owner}/{repo}/actions/runs/{run_id}/approvals"], - getSelfHostedRunnerForOrg: ["GET /orgs/{org}/actions/runners/{runner_id}"], - getSelfHostedRunnerForRepo: ["GET /repos/{owner}/{repo}/actions/runners/{runner_id}"], - getWorkflow: ["GET /repos/{owner}/{repo}/actions/workflows/{workflow_id}"], - getWorkflowRun: ["GET /repos/{owner}/{repo}/actions/runs/{run_id}"], - getWorkflowRunUsage: ["GET /repos/{owner}/{repo}/actions/runs/{run_id}/timing"], - getWorkflowUsage: ["GET /repos/{owner}/{repo}/actions/workflows/{workflow_id}/timing"], - listArtifactsForRepo: ["GET /repos/{owner}/{repo}/actions/artifacts"], - listEnvironmentSecrets: ["GET /repositories/{repository_id}/environments/{environment_name}/secrets"], - listJobsForWorkflowRun: ["GET /repos/{owner}/{repo}/actions/runs/{run_id}/jobs"], - listOrgSecrets: ["GET /orgs/{org}/actions/secrets"], - listRepoSecrets: ["GET /repos/{owner}/{repo}/actions/secrets"], - listRepoWorkflows: ["GET /repos/{owner}/{repo}/actions/workflows"], - listRunnerApplicationsForOrg: ["GET /orgs/{org}/actions/runners/downloads"], - listRunnerApplicationsForRepo: ["GET /repos/{owner}/{repo}/actions/runners/downloads"], - listSelectedReposForOrgSecret: ["GET /orgs/{org}/actions/secrets/{secret_name}/repositories"], - listSelectedRepositoriesEnabledGithubActionsOrganization: ["GET /orgs/{org}/actions/permissions/repositories"], - listSelfHostedRunnersForOrg: ["GET /orgs/{org}/actions/runners"], - listSelfHostedRunnersForRepo: ["GET /repos/{owner}/{repo}/actions/runners"], - listWorkflowRunArtifacts: ["GET /repos/{owner}/{repo}/actions/runs/{run_id}/artifacts"], - listWorkflowRuns: ["GET /repos/{owner}/{repo}/actions/workflows/{workflow_id}/runs"], - listWorkflowRunsForRepo: ["GET /repos/{owner}/{repo}/actions/runs"], - reRunWorkflow: ["POST /repos/{owner}/{repo}/actions/runs/{run_id}/rerun"], - removeSelectedRepoFromOrgSecret: ["DELETE /orgs/{org}/actions/secrets/{secret_name}/repositories/{repository_id}"], - reviewPendingDeploymentsForRun: ["POST /repos/{owner}/{repo}/actions/runs/{run_id}/pending_deployments"], - setAllowedActionsOrganization: ["PUT /orgs/{org}/actions/permissions/selected-actions"], - setAllowedActionsRepository: ["PUT /repos/{owner}/{repo}/actions/permissions/selected-actions"], - setGithubActionsPermissionsOrganization: ["PUT /orgs/{org}/actions/permissions"], - setGithubActionsPermissionsRepository: ["PUT /repos/{owner}/{repo}/actions/permissions"], - setSelectedReposForOrgSecret: ["PUT /orgs/{org}/actions/secrets/{secret_name}/repositories"], - setSelectedRepositoriesEnabledGithubActionsOrganization: ["PUT /orgs/{org}/actions/permissions/repositories"] - }, - activity: { - checkRepoIsStarredByAuthenticatedUser: ["GET /user/starred/{owner}/{repo}"], - deleteRepoSubscription: ["DELETE /repos/{owner}/{repo}/subscription"], - deleteThreadSubscription: ["DELETE /notifications/threads/{thread_id}/subscription"], - getFeeds: ["GET /feeds"], - getRepoSubscription: ["GET /repos/{owner}/{repo}/subscription"], - getThread: ["GET /notifications/threads/{thread_id}"], - getThreadSubscriptionForAuthenticatedUser: ["GET /notifications/threads/{thread_id}/subscription"], - listEventsForAuthenticatedUser: ["GET /users/{username}/events"], - listNotificationsForAuthenticatedUser: ["GET /notifications"], - listOrgEventsForAuthenticatedUser: ["GET /users/{username}/events/orgs/{org}"], - listPublicEvents: ["GET /events"], - listPublicEventsForRepoNetwork: ["GET /networks/{owner}/{repo}/events"], - listPublicEventsForUser: ["GET /users/{username}/events/public"], - listPublicOrgEvents: ["GET /orgs/{org}/events"], - listReceivedEventsForUser: ["GET /users/{username}/received_events"], - listReceivedPublicEventsForUser: ["GET /users/{username}/received_events/public"], - listRepoEvents: ["GET /repos/{owner}/{repo}/events"], - listRepoNotificationsForAuthenticatedUser: ["GET /repos/{owner}/{repo}/notifications"], - listReposStarredByAuthenticatedUser: ["GET /user/starred"], - listReposStarredByUser: ["GET /users/{username}/starred"], - listReposWatchedByUser: ["GET /users/{username}/subscriptions"], - listStargazersForRepo: ["GET /repos/{owner}/{repo}/stargazers"], - listWatchedReposForAuthenticatedUser: ["GET /user/subscriptions"], - listWatchersForRepo: ["GET /repos/{owner}/{repo}/subscribers"], - markNotificationsAsRead: ["PUT /notifications"], - markRepoNotificationsAsRead: ["PUT /repos/{owner}/{repo}/notifications"], - markThreadAsRead: ["PATCH /notifications/threads/{thread_id}"], - setRepoSubscription: ["PUT /repos/{owner}/{repo}/subscription"], - setThreadSubscription: ["PUT /notifications/threads/{thread_id}/subscription"], - starRepoForAuthenticatedUser: ["PUT /user/starred/{owner}/{repo}"], - unstarRepoForAuthenticatedUser: ["DELETE /user/starred/{owner}/{repo}"] - }, - apps: { - addRepoToInstallation: ["PUT /user/installations/{installation_id}/repositories/{repository_id}"], - checkToken: ["POST /applications/{client_id}/token"], - createContentAttachment: ["POST /content_references/{content_reference_id}/attachments", { - mediaType: { - previews: ["corsair"] - } - }], - createContentAttachmentForRepo: ["POST /repos/{owner}/{repo}/content_references/{content_reference_id}/attachments", { - mediaType: { - previews: ["corsair"] - } - }], - createFromManifest: ["POST /app-manifests/{code}/conversions"], - createInstallationAccessToken: ["POST /app/installations/{installation_id}/access_tokens"], - deleteAuthorization: ["DELETE /applications/{client_id}/grant"], - deleteInstallation: ["DELETE /app/installations/{installation_id}"], - deleteToken: ["DELETE /applications/{client_id}/token"], - getAuthenticated: ["GET /app"], - getBySlug: ["GET /apps/{app_slug}"], - getInstallation: ["GET /app/installations/{installation_id}"], - getOrgInstallation: ["GET /orgs/{org}/installation"], - getRepoInstallation: ["GET /repos/{owner}/{repo}/installation"], - getSubscriptionPlanForAccount: ["GET /marketplace_listing/accounts/{account_id}"], - getSubscriptionPlanForAccountStubbed: ["GET /marketplace_listing/stubbed/accounts/{account_id}"], - getUserInstallation: ["GET /users/{username}/installation"], - getWebhookConfigForApp: ["GET /app/hook/config"], - getWebhookDelivery: ["GET /app/hook/deliveries/{delivery_id}"], - listAccountsForPlan: ["GET /marketplace_listing/plans/{plan_id}/accounts"], - listAccountsForPlanStubbed: ["GET /marketplace_listing/stubbed/plans/{plan_id}/accounts"], - listInstallationReposForAuthenticatedUser: ["GET /user/installations/{installation_id}/repositories"], - listInstallations: ["GET /app/installations"], - listInstallationsForAuthenticatedUser: ["GET /user/installations"], - listPlans: ["GET /marketplace_listing/plans"], - listPlansStubbed: ["GET /marketplace_listing/stubbed/plans"], - listReposAccessibleToInstallation: ["GET /installation/repositories"], - listSubscriptionsForAuthenticatedUser: ["GET /user/marketplace_purchases"], - listSubscriptionsForAuthenticatedUserStubbed: ["GET /user/marketplace_purchases/stubbed"], - listWebhookDeliveries: ["GET /app/hook/deliveries"], - redeliverWebhookDelivery: ["POST /app/hook/deliveries/{delivery_id}/attempts"], - removeRepoFromInstallation: ["DELETE /user/installations/{installation_id}/repositories/{repository_id}"], - resetToken: ["PATCH /applications/{client_id}/token"], - revokeInstallationAccessToken: ["DELETE /installation/token"], - scopeToken: ["POST /applications/{client_id}/token/scoped"], - suspendInstallation: ["PUT /app/installations/{installation_id}/suspended"], - unsuspendInstallation: ["DELETE /app/installations/{installation_id}/suspended"], - updateWebhookConfigForApp: ["PATCH /app/hook/config"] - }, - billing: { - getGithubActionsBillingOrg: ["GET /orgs/{org}/settings/billing/actions"], - getGithubActionsBillingUser: ["GET /users/{username}/settings/billing/actions"], - getGithubPackagesBillingOrg: ["GET /orgs/{org}/settings/billing/packages"], - getGithubPackagesBillingUser: ["GET /users/{username}/settings/billing/packages"], - getSharedStorageBillingOrg: ["GET /orgs/{org}/settings/billing/shared-storage"], - getSharedStorageBillingUser: ["GET /users/{username}/settings/billing/shared-storage"] - }, - checks: { - create: ["POST /repos/{owner}/{repo}/check-runs"], - createSuite: ["POST /repos/{owner}/{repo}/check-suites"], - get: ["GET /repos/{owner}/{repo}/check-runs/{check_run_id}"], - getSuite: ["GET /repos/{owner}/{repo}/check-suites/{check_suite_id}"], - listAnnotations: ["GET /repos/{owner}/{repo}/check-runs/{check_run_id}/annotations"], - listForRef: ["GET /repos/{owner}/{repo}/commits/{ref}/check-runs"], - listForSuite: ["GET /repos/{owner}/{repo}/check-suites/{check_suite_id}/check-runs"], - listSuitesForRef: ["GET /repos/{owner}/{repo}/commits/{ref}/check-suites"], - rerequestSuite: ["POST /repos/{owner}/{repo}/check-suites/{check_suite_id}/rerequest"], - setSuitesPreferences: ["PATCH /repos/{owner}/{repo}/check-suites/preferences"], - update: ["PATCH /repos/{owner}/{repo}/check-runs/{check_run_id}"] - }, - codeScanning: { - deleteAnalysis: ["DELETE /repos/{owner}/{repo}/code-scanning/analyses/{analysis_id}{?confirm_delete}"], - getAlert: ["GET /repos/{owner}/{repo}/code-scanning/alerts/{alert_number}", {}, { - renamedParameters: { - alert_id: "alert_number" - } - }], - getAnalysis: ["GET /repos/{owner}/{repo}/code-scanning/analyses/{analysis_id}"], - getSarif: ["GET /repos/{owner}/{repo}/code-scanning/sarifs/{sarif_id}"], - listAlertInstances: ["GET /repos/{owner}/{repo}/code-scanning/alerts/{alert_number}/instances"], - listAlertsForRepo: ["GET /repos/{owner}/{repo}/code-scanning/alerts"], - listAlertsInstances: ["GET /repos/{owner}/{repo}/code-scanning/alerts/{alert_number}/instances", {}, { - renamed: ["codeScanning", "listAlertInstances"] - }], - listRecentAnalyses: ["GET /repos/{owner}/{repo}/code-scanning/analyses"], - updateAlert: ["PATCH /repos/{owner}/{repo}/code-scanning/alerts/{alert_number}"], - uploadSarif: ["POST /repos/{owner}/{repo}/code-scanning/sarifs"] - }, - codesOfConduct: { - getAllCodesOfConduct: ["GET /codes_of_conduct"], - getConductCode: ["GET /codes_of_conduct/{key}"], - getForRepo: ["GET /repos/{owner}/{repo}/community/code_of_conduct", { - mediaType: { - previews: ["scarlet-witch"] - } - }] - }, - emojis: { - get: ["GET /emojis"] - }, - enterpriseAdmin: { - disableSelectedOrganizationGithubActionsEnterprise: ["DELETE /enterprises/{enterprise}/actions/permissions/organizations/{org_id}"], - enableSelectedOrganizationGithubActionsEnterprise: ["PUT /enterprises/{enterprise}/actions/permissions/organizations/{org_id}"], - getAllowedActionsEnterprise: ["GET /enterprises/{enterprise}/actions/permissions/selected-actions"], - getGithubActionsPermissionsEnterprise: ["GET /enterprises/{enterprise}/actions/permissions"], - listSelectedOrganizationsEnabledGithubActionsEnterprise: ["GET /enterprises/{enterprise}/actions/permissions/organizations"], - setAllowedActionsEnterprise: ["PUT /enterprises/{enterprise}/actions/permissions/selected-actions"], - setGithubActionsPermissionsEnterprise: ["PUT /enterprises/{enterprise}/actions/permissions"], - setSelectedOrganizationsEnabledGithubActionsEnterprise: ["PUT /enterprises/{enterprise}/actions/permissions/organizations"] - }, - gists: { - checkIsStarred: ["GET /gists/{gist_id}/star"], - create: ["POST /gists"], - createComment: ["POST /gists/{gist_id}/comments"], - delete: ["DELETE /gists/{gist_id}"], - deleteComment: ["DELETE /gists/{gist_id}/comments/{comment_id}"], - fork: ["POST /gists/{gist_id}/forks"], - get: ["GET /gists/{gist_id}"], - getComment: ["GET /gists/{gist_id}/comments/{comment_id}"], - getRevision: ["GET /gists/{gist_id}/{sha}"], - list: ["GET /gists"], - listComments: ["GET /gists/{gist_id}/comments"], - listCommits: ["GET /gists/{gist_id}/commits"], - listForUser: ["GET /users/{username}/gists"], - listForks: ["GET /gists/{gist_id}/forks"], - listPublic: ["GET /gists/public"], - listStarred: ["GET /gists/starred"], - star: ["PUT /gists/{gist_id}/star"], - unstar: ["DELETE /gists/{gist_id}/star"], - update: ["PATCH /gists/{gist_id}"], - updateComment: ["PATCH /gists/{gist_id}/comments/{comment_id}"] - }, - git: { - createBlob: ["POST /repos/{owner}/{repo}/git/blobs"], - createCommit: ["POST /repos/{owner}/{repo}/git/commits"], - createRef: ["POST /repos/{owner}/{repo}/git/refs"], - createTag: ["POST /repos/{owner}/{repo}/git/tags"], - createTree: ["POST /repos/{owner}/{repo}/git/trees"], - deleteRef: ["DELETE /repos/{owner}/{repo}/git/refs/{ref}"], - getBlob: ["GET /repos/{owner}/{repo}/git/blobs/{file_sha}"], - getCommit: ["GET /repos/{owner}/{repo}/git/commits/{commit_sha}"], - getRef: ["GET /repos/{owner}/{repo}/git/ref/{ref}"], - getTag: ["GET /repos/{owner}/{repo}/git/tags/{tag_sha}"], - getTree: ["GET /repos/{owner}/{repo}/git/trees/{tree_sha}"], - listMatchingRefs: ["GET /repos/{owner}/{repo}/git/matching-refs/{ref}"], - updateRef: ["PATCH /repos/{owner}/{repo}/git/refs/{ref}"] - }, - gitignore: { - getAllTemplates: ["GET /gitignore/templates"], - getTemplate: ["GET /gitignore/templates/{name}"] - }, - interactions: { - getRestrictionsForAuthenticatedUser: ["GET /user/interaction-limits"], - getRestrictionsForOrg: ["GET /orgs/{org}/interaction-limits"], - getRestrictionsForRepo: ["GET /repos/{owner}/{repo}/interaction-limits"], - getRestrictionsForYourPublicRepos: ["GET /user/interaction-limits", {}, { - renamed: ["interactions", "getRestrictionsForAuthenticatedUser"] - }], - removeRestrictionsForAuthenticatedUser: ["DELETE /user/interaction-limits"], - removeRestrictionsForOrg: ["DELETE /orgs/{org}/interaction-limits"], - removeRestrictionsForRepo: ["DELETE /repos/{owner}/{repo}/interaction-limits"], - removeRestrictionsForYourPublicRepos: ["DELETE /user/interaction-limits", {}, { - renamed: ["interactions", "removeRestrictionsForAuthenticatedUser"] - }], - setRestrictionsForAuthenticatedUser: ["PUT /user/interaction-limits"], - setRestrictionsForOrg: ["PUT /orgs/{org}/interaction-limits"], - setRestrictionsForRepo: ["PUT /repos/{owner}/{repo}/interaction-limits"], - setRestrictionsForYourPublicRepos: ["PUT /user/interaction-limits", {}, { - renamed: ["interactions", "setRestrictionsForAuthenticatedUser"] - }] - }, - issues: { - addAssignees: ["POST /repos/{owner}/{repo}/issues/{issue_number}/assignees"], - addLabels: ["POST /repos/{owner}/{repo}/issues/{issue_number}/labels"], - checkUserCanBeAssigned: ["GET /repos/{owner}/{repo}/assignees/{assignee}"], - create: ["POST /repos/{owner}/{repo}/issues"], - createComment: ["POST /repos/{owner}/{repo}/issues/{issue_number}/comments"], - createLabel: ["POST /repos/{owner}/{repo}/labels"], - createMilestone: ["POST /repos/{owner}/{repo}/milestones"], - deleteComment: ["DELETE /repos/{owner}/{repo}/issues/comments/{comment_id}"], - deleteLabel: ["DELETE /repos/{owner}/{repo}/labels/{name}"], - deleteMilestone: ["DELETE /repos/{owner}/{repo}/milestones/{milestone_number}"], - get: ["GET /repos/{owner}/{repo}/issues/{issue_number}"], - getComment: ["GET /repos/{owner}/{repo}/issues/comments/{comment_id}"], - getEvent: ["GET /repos/{owner}/{repo}/issues/events/{event_id}"], - getLabel: ["GET /repos/{owner}/{repo}/labels/{name}"], - getMilestone: ["GET /repos/{owner}/{repo}/milestones/{milestone_number}"], - list: ["GET /issues"], - listAssignees: ["GET /repos/{owner}/{repo}/assignees"], - listComments: ["GET /repos/{owner}/{repo}/issues/{issue_number}/comments"], - listCommentsForRepo: ["GET /repos/{owner}/{repo}/issues/comments"], - listEvents: ["GET /repos/{owner}/{repo}/issues/{issue_number}/events"], - listEventsForRepo: ["GET /repos/{owner}/{repo}/issues/events"], - listEventsForTimeline: ["GET /repos/{owner}/{repo}/issues/{issue_number}/timeline", { - mediaType: { - previews: ["mockingbird"] - } - }], - listForAuthenticatedUser: ["GET /user/issues"], - listForOrg: ["GET /orgs/{org}/issues"], - listForRepo: ["GET /repos/{owner}/{repo}/issues"], - listLabelsForMilestone: ["GET /repos/{owner}/{repo}/milestones/{milestone_number}/labels"], - listLabelsForRepo: ["GET /repos/{owner}/{repo}/labels"], - listLabelsOnIssue: ["GET /repos/{owner}/{repo}/issues/{issue_number}/labels"], - listMilestones: ["GET /repos/{owner}/{repo}/milestones"], - lock: ["PUT /repos/{owner}/{repo}/issues/{issue_number}/lock"], - removeAllLabels: ["DELETE /repos/{owner}/{repo}/issues/{issue_number}/labels"], - removeAssignees: ["DELETE /repos/{owner}/{repo}/issues/{issue_number}/assignees"], - removeLabel: ["DELETE /repos/{owner}/{repo}/issues/{issue_number}/labels/{name}"], - setLabels: ["PUT /repos/{owner}/{repo}/issues/{issue_number}/labels"], - unlock: ["DELETE /repos/{owner}/{repo}/issues/{issue_number}/lock"], - update: ["PATCH /repos/{owner}/{repo}/issues/{issue_number}"], - updateComment: ["PATCH /repos/{owner}/{repo}/issues/comments/{comment_id}"], - updateLabel: ["PATCH /repos/{owner}/{repo}/labels/{name}"], - updateMilestone: ["PATCH /repos/{owner}/{repo}/milestones/{milestone_number}"] - }, - licenses: { - get: ["GET /licenses/{license}"], - getAllCommonlyUsed: ["GET /licenses"], - getForRepo: ["GET /repos/{owner}/{repo}/license"] - }, - markdown: { - render: ["POST /markdown"], - renderRaw: ["POST /markdown/raw", { - headers: { - "content-type": "text/plain; charset=utf-8" - } - }] - }, - meta: { - get: ["GET /meta"], - getOctocat: ["GET /octocat"], - getZen: ["GET /zen"], - root: ["GET /"] - }, - migrations: { - cancelImport: ["DELETE /repos/{owner}/{repo}/import"], - deleteArchiveForAuthenticatedUser: ["DELETE /user/migrations/{migration_id}/archive", { - mediaType: { - previews: ["wyandotte"] - } - }], - deleteArchiveForOrg: ["DELETE /orgs/{org}/migrations/{migration_id}/archive", { - mediaType: { - previews: ["wyandotte"] - } - }], - downloadArchiveForOrg: ["GET /orgs/{org}/migrations/{migration_id}/archive", { - mediaType: { - previews: ["wyandotte"] - } - }], - getArchiveForAuthenticatedUser: ["GET /user/migrations/{migration_id}/archive", { - mediaType: { - previews: ["wyandotte"] - } - }], - getCommitAuthors: ["GET /repos/{owner}/{repo}/import/authors"], - getImportStatus: ["GET /repos/{owner}/{repo}/import"], - getLargeFiles: ["GET /repos/{owner}/{repo}/import/large_files"], - getStatusForAuthenticatedUser: ["GET /user/migrations/{migration_id}", { - mediaType: { - previews: ["wyandotte"] - } - }], - getStatusForOrg: ["GET /orgs/{org}/migrations/{migration_id}", { - mediaType: { - previews: ["wyandotte"] - } - }], - listForAuthenticatedUser: ["GET /user/migrations", { - mediaType: { - previews: ["wyandotte"] - } - }], - listForOrg: ["GET /orgs/{org}/migrations", { - mediaType: { - previews: ["wyandotte"] - } - }], - listReposForOrg: ["GET /orgs/{org}/migrations/{migration_id}/repositories", { - mediaType: { - previews: ["wyandotte"] - } - }], - listReposForUser: ["GET /user/migrations/{migration_id}/repositories", { - mediaType: { - previews: ["wyandotte"] - } - }], - mapCommitAuthor: ["PATCH /repos/{owner}/{repo}/import/authors/{author_id}"], - setLfsPreference: ["PATCH /repos/{owner}/{repo}/import/lfs"], - startForAuthenticatedUser: ["POST /user/migrations"], - startForOrg: ["POST /orgs/{org}/migrations"], - startImport: ["PUT /repos/{owner}/{repo}/import"], - unlockRepoForAuthenticatedUser: ["DELETE /user/migrations/{migration_id}/repos/{repo_name}/lock", { - mediaType: { - previews: ["wyandotte"] - } - }], - unlockRepoForOrg: ["DELETE /orgs/{org}/migrations/{migration_id}/repos/{repo_name}/lock", { - mediaType: { - previews: ["wyandotte"] - } - }], - updateImport: ["PATCH /repos/{owner}/{repo}/import"] - }, - orgs: { - blockUser: ["PUT /orgs/{org}/blocks/{username}"], - cancelInvitation: ["DELETE /orgs/{org}/invitations/{invitation_id}"], - checkBlockedUser: ["GET /orgs/{org}/blocks/{username}"], - checkMembershipForUser: ["GET /orgs/{org}/members/{username}"], - checkPublicMembershipForUser: ["GET /orgs/{org}/public_members/{username}"], - convertMemberToOutsideCollaborator: ["PUT /orgs/{org}/outside_collaborators/{username}"], - createInvitation: ["POST /orgs/{org}/invitations"], - createWebhook: ["POST /orgs/{org}/hooks"], - deleteWebhook: ["DELETE /orgs/{org}/hooks/{hook_id}"], - get: ["GET /orgs/{org}"], - getMembershipForAuthenticatedUser: ["GET /user/memberships/orgs/{org}"], - getMembershipForUser: ["GET /orgs/{org}/memberships/{username}"], - getWebhook: ["GET /orgs/{org}/hooks/{hook_id}"], - getWebhookConfigForOrg: ["GET /orgs/{org}/hooks/{hook_id}/config"], - getWebhookDelivery: ["GET /orgs/{org}/hooks/{hook_id}/deliveries/{delivery_id}"], - list: ["GET /organizations"], - listAppInstallations: ["GET /orgs/{org}/installations"], - listBlockedUsers: ["GET /orgs/{org}/blocks"], - listFailedInvitations: ["GET /orgs/{org}/failed_invitations"], - listForAuthenticatedUser: ["GET /user/orgs"], - listForUser: ["GET /users/{username}/orgs"], - listInvitationTeams: ["GET /orgs/{org}/invitations/{invitation_id}/teams"], - listMembers: ["GET /orgs/{org}/members"], - listMembershipsForAuthenticatedUser: ["GET /user/memberships/orgs"], - listOutsideCollaborators: ["GET /orgs/{org}/outside_collaborators"], - listPendingInvitations: ["GET /orgs/{org}/invitations"], - listPublicMembers: ["GET /orgs/{org}/public_members"], - listWebhookDeliveries: ["GET /orgs/{org}/hooks/{hook_id}/deliveries"], - listWebhooks: ["GET /orgs/{org}/hooks"], - pingWebhook: ["POST /orgs/{org}/hooks/{hook_id}/pings"], - redeliverWebhookDelivery: ["POST /orgs/{org}/hooks/{hook_id}/deliveries/{delivery_id}/attempts"], - removeMember: ["DELETE /orgs/{org}/members/{username}"], - removeMembershipForUser: ["DELETE /orgs/{org}/memberships/{username}"], - removeOutsideCollaborator: ["DELETE /orgs/{org}/outside_collaborators/{username}"], - removePublicMembershipForAuthenticatedUser: ["DELETE /orgs/{org}/public_members/{username}"], - setMembershipForUser: ["PUT /orgs/{org}/memberships/{username}"], - setPublicMembershipForAuthenticatedUser: ["PUT /orgs/{org}/public_members/{username}"], - unblockUser: ["DELETE /orgs/{org}/blocks/{username}"], - update: ["PATCH /orgs/{org}"], - updateMembershipForAuthenticatedUser: ["PATCH /user/memberships/orgs/{org}"], - updateWebhook: ["PATCH /orgs/{org}/hooks/{hook_id}"], - updateWebhookConfigForOrg: ["PATCH /orgs/{org}/hooks/{hook_id}/config"] - }, - packages: { - deletePackageForAuthenticatedUser: ["DELETE /user/packages/{package_type}/{package_name}"], - deletePackageForOrg: ["DELETE /orgs/{org}/packages/{package_type}/{package_name}"], - deletePackageVersionForAuthenticatedUser: ["DELETE /user/packages/{package_type}/{package_name}/versions/{package_version_id}"], - deletePackageVersionForOrg: ["DELETE /orgs/{org}/packages/{package_type}/{package_name}/versions/{package_version_id}"], - getAllPackageVersionsForAPackageOwnedByAnOrg: ["GET /orgs/{org}/packages/{package_type}/{package_name}/versions", {}, { - renamed: ["packages", "getAllPackageVersionsForPackageOwnedByOrg"] - }], - getAllPackageVersionsForAPackageOwnedByTheAuthenticatedUser: ["GET /user/packages/{package_type}/{package_name}/versions", {}, { - renamed: ["packages", "getAllPackageVersionsForPackageOwnedByAuthenticatedUser"] - }], - getAllPackageVersionsForPackageOwnedByAuthenticatedUser: ["GET /user/packages/{package_type}/{package_name}/versions"], - getAllPackageVersionsForPackageOwnedByOrg: ["GET /orgs/{org}/packages/{package_type}/{package_name}/versions"], - getAllPackageVersionsForPackageOwnedByUser: ["GET /users/{username}/packages/{package_type}/{package_name}/versions"], - getPackageForAuthenticatedUser: ["GET /user/packages/{package_type}/{package_name}"], - getPackageForOrganization: ["GET /orgs/{org}/packages/{package_type}/{package_name}"], - getPackageForUser: ["GET /users/{username}/packages/{package_type}/{package_name}"], - getPackageVersionForAuthenticatedUser: ["GET /user/packages/{package_type}/{package_name}/versions/{package_version_id}"], - getPackageVersionForOrganization: ["GET /orgs/{org}/packages/{package_type}/{package_name}/versions/{package_version_id}"], - getPackageVersionForUser: ["GET /users/{username}/packages/{package_type}/{package_name}/versions/{package_version_id}"], - restorePackageForAuthenticatedUser: ["POST /user/packages/{package_type}/{package_name}/restore{?token}"], - restorePackageForOrg: ["POST /orgs/{org}/packages/{package_type}/{package_name}/restore{?token}"], - restorePackageVersionForAuthenticatedUser: ["POST /user/packages/{package_type}/{package_name}/versions/{package_version_id}/restore"], - restorePackageVersionForOrg: ["POST /orgs/{org}/packages/{package_type}/{package_name}/versions/{package_version_id}/restore"] - }, - projects: { - addCollaborator: ["PUT /projects/{project_id}/collaborators/{username}", { - mediaType: { - previews: ["inertia"] - } - }], - createCard: ["POST /projects/columns/{column_id}/cards", { - mediaType: { - previews: ["inertia"] - } - }], - createColumn: ["POST /projects/{project_id}/columns", { - mediaType: { - previews: ["inertia"] - } - }], - createForAuthenticatedUser: ["POST /user/projects", { - mediaType: { - previews: ["inertia"] - } - }], - createForOrg: ["POST /orgs/{org}/projects", { - mediaType: { - previews: ["inertia"] - } - }], - createForRepo: ["POST /repos/{owner}/{repo}/projects", { - mediaType: { - previews: ["inertia"] - } - }], - delete: ["DELETE /projects/{project_id}", { - mediaType: { - previews: ["inertia"] - } - }], - deleteCard: ["DELETE /projects/columns/cards/{card_id}", { - mediaType: { - previews: ["inertia"] - } - }], - deleteColumn: ["DELETE /projects/columns/{column_id}", { - mediaType: { - previews: ["inertia"] - } - }], - get: ["GET /projects/{project_id}", { - mediaType: { - previews: ["inertia"] - } - }], - getCard: ["GET /projects/columns/cards/{card_id}", { - mediaType: { - previews: ["inertia"] - } - }], - getColumn: ["GET /projects/columns/{column_id}", { - mediaType: { - previews: ["inertia"] - } - }], - getPermissionForUser: ["GET /projects/{project_id}/collaborators/{username}/permission", { - mediaType: { - previews: ["inertia"] - } - }], - listCards: ["GET /projects/columns/{column_id}/cards", { - mediaType: { - previews: ["inertia"] - } - }], - listCollaborators: ["GET /projects/{project_id}/collaborators", { - mediaType: { - previews: ["inertia"] - } - }], - listColumns: ["GET /projects/{project_id}/columns", { - mediaType: { - previews: ["inertia"] - } - }], - listForOrg: ["GET /orgs/{org}/projects", { - mediaType: { - previews: ["inertia"] - } - }], - listForRepo: ["GET /repos/{owner}/{repo}/projects", { - mediaType: { - previews: ["inertia"] - } - }], - listForUser: ["GET /users/{username}/projects", { - mediaType: { - previews: ["inertia"] - } - }], - moveCard: ["POST /projects/columns/cards/{card_id}/moves", { - mediaType: { - previews: ["inertia"] - } - }], - moveColumn: ["POST /projects/columns/{column_id}/moves", { - mediaType: { - previews: ["inertia"] - } - }], - removeCollaborator: ["DELETE /projects/{project_id}/collaborators/{username}", { - mediaType: { - previews: ["inertia"] - } - }], - update: ["PATCH /projects/{project_id}", { - mediaType: { - previews: ["inertia"] - } - }], - updateCard: ["PATCH /projects/columns/cards/{card_id}", { - mediaType: { - previews: ["inertia"] - } - }], - updateColumn: ["PATCH /projects/columns/{column_id}", { - mediaType: { - previews: ["inertia"] - } - }] - }, - pulls: { - checkIfMerged: ["GET /repos/{owner}/{repo}/pulls/{pull_number}/merge"], - create: ["POST /repos/{owner}/{repo}/pulls"], - createReplyForReviewComment: ["POST /repos/{owner}/{repo}/pulls/{pull_number}/comments/{comment_id}/replies"], - createReview: ["POST /repos/{owner}/{repo}/pulls/{pull_number}/reviews"], - createReviewComment: ["POST /repos/{owner}/{repo}/pulls/{pull_number}/comments"], - deletePendingReview: ["DELETE /repos/{owner}/{repo}/pulls/{pull_number}/reviews/{review_id}"], - deleteReviewComment: ["DELETE /repos/{owner}/{repo}/pulls/comments/{comment_id}"], - dismissReview: ["PUT /repos/{owner}/{repo}/pulls/{pull_number}/reviews/{review_id}/dismissals"], - get: ["GET /repos/{owner}/{repo}/pulls/{pull_number}"], - getReview: ["GET /repos/{owner}/{repo}/pulls/{pull_number}/reviews/{review_id}"], - getReviewComment: ["GET /repos/{owner}/{repo}/pulls/comments/{comment_id}"], - list: ["GET /repos/{owner}/{repo}/pulls"], - listCommentsForReview: ["GET /repos/{owner}/{repo}/pulls/{pull_number}/reviews/{review_id}/comments"], - listCommits: ["GET /repos/{owner}/{repo}/pulls/{pull_number}/commits"], - listFiles: ["GET /repos/{owner}/{repo}/pulls/{pull_number}/files"], - listRequestedReviewers: ["GET /repos/{owner}/{repo}/pulls/{pull_number}/requested_reviewers"], - listReviewComments: ["GET /repos/{owner}/{repo}/pulls/{pull_number}/comments"], - listReviewCommentsForRepo: ["GET /repos/{owner}/{repo}/pulls/comments"], - listReviews: ["GET /repos/{owner}/{repo}/pulls/{pull_number}/reviews"], - merge: ["PUT /repos/{owner}/{repo}/pulls/{pull_number}/merge"], - removeRequestedReviewers: ["DELETE /repos/{owner}/{repo}/pulls/{pull_number}/requested_reviewers"], - requestReviewers: ["POST /repos/{owner}/{repo}/pulls/{pull_number}/requested_reviewers"], - submitReview: ["POST /repos/{owner}/{repo}/pulls/{pull_number}/reviews/{review_id}/events"], - update: ["PATCH /repos/{owner}/{repo}/pulls/{pull_number}"], - updateBranch: ["PUT /repos/{owner}/{repo}/pulls/{pull_number}/update-branch", { - mediaType: { - previews: ["lydian"] - } - }], - updateReview: ["PUT /repos/{owner}/{repo}/pulls/{pull_number}/reviews/{review_id}"], - updateReviewComment: ["PATCH /repos/{owner}/{repo}/pulls/comments/{comment_id}"] - }, - rateLimit: { - get: ["GET /rate_limit"] - }, - reactions: { - createForCommitComment: ["POST /repos/{owner}/{repo}/comments/{comment_id}/reactions", { - mediaType: { - previews: ["squirrel-girl"] - } - }], - createForIssue: ["POST /repos/{owner}/{repo}/issues/{issue_number}/reactions", { - mediaType: { - previews: ["squirrel-girl"] - } - }], - createForIssueComment: ["POST /repos/{owner}/{repo}/issues/comments/{comment_id}/reactions", { - mediaType: { - previews: ["squirrel-girl"] - } - }], - createForPullRequestReviewComment: ["POST /repos/{owner}/{repo}/pulls/comments/{comment_id}/reactions", { - mediaType: { - previews: ["squirrel-girl"] - } - }], - createForRelease: ["POST /repos/{owner}/{repo}/releases/{release_id}/reactions", { - mediaType: { - previews: ["squirrel-girl"] - } - }], - createForTeamDiscussionCommentInOrg: ["POST /orgs/{org}/teams/{team_slug}/discussions/{discussion_number}/comments/{comment_number}/reactions", { - mediaType: { - previews: ["squirrel-girl"] - } - }], - createForTeamDiscussionInOrg: ["POST /orgs/{org}/teams/{team_slug}/discussions/{discussion_number}/reactions", { - mediaType: { - previews: ["squirrel-girl"] - } - }], - deleteForCommitComment: ["DELETE /repos/{owner}/{repo}/comments/{comment_id}/reactions/{reaction_id}", { - mediaType: { - previews: ["squirrel-girl"] - } - }], - deleteForIssue: ["DELETE /repos/{owner}/{repo}/issues/{issue_number}/reactions/{reaction_id}", { - mediaType: { - previews: ["squirrel-girl"] - } - }], - deleteForIssueComment: ["DELETE /repos/{owner}/{repo}/issues/comments/{comment_id}/reactions/{reaction_id}", { - mediaType: { - previews: ["squirrel-girl"] - } - }], - deleteForPullRequestComment: ["DELETE /repos/{owner}/{repo}/pulls/comments/{comment_id}/reactions/{reaction_id}", { - mediaType: { - previews: ["squirrel-girl"] - } - }], - deleteForTeamDiscussion: ["DELETE /orgs/{org}/teams/{team_slug}/discussions/{discussion_number}/reactions/{reaction_id}", { - mediaType: { - previews: ["squirrel-girl"] - } - }], - deleteForTeamDiscussionComment: ["DELETE /orgs/{org}/teams/{team_slug}/discussions/{discussion_number}/comments/{comment_number}/reactions/{reaction_id}", { - mediaType: { - previews: ["squirrel-girl"] - } - }], - deleteLegacy: ["DELETE /reactions/{reaction_id}", { - mediaType: { - previews: ["squirrel-girl"] - } - }, { - deprecated: "octokit.rest.reactions.deleteLegacy() is deprecated, see https://docs.github.com/rest/reference/reactions/#delete-a-reaction-legacy" - }], - listForCommitComment: ["GET /repos/{owner}/{repo}/comments/{comment_id}/reactions", { - mediaType: { - previews: ["squirrel-girl"] - } - }], - listForIssue: ["GET /repos/{owner}/{repo}/issues/{issue_number}/reactions", { - mediaType: { - previews: ["squirrel-girl"] - } - }], - listForIssueComment: ["GET /repos/{owner}/{repo}/issues/comments/{comment_id}/reactions", { - mediaType: { - previews: ["squirrel-girl"] - } - }], - listForPullRequestReviewComment: ["GET /repos/{owner}/{repo}/pulls/comments/{comment_id}/reactions", { - mediaType: { - previews: ["squirrel-girl"] - } - }], - listForTeamDiscussionCommentInOrg: ["GET /orgs/{org}/teams/{team_slug}/discussions/{discussion_number}/comments/{comment_number}/reactions", { - mediaType: { - previews: ["squirrel-girl"] - } - }], - listForTeamDiscussionInOrg: ["GET /orgs/{org}/teams/{team_slug}/discussions/{discussion_number}/reactions", { - mediaType: { - previews: ["squirrel-girl"] - } - }] - }, - repos: { - acceptInvitation: ["PATCH /user/repository_invitations/{invitation_id}"], - addAppAccessRestrictions: ["POST /repos/{owner}/{repo}/branches/{branch}/protection/restrictions/apps", {}, { - mapToData: "apps" - }], - addCollaborator: ["PUT /repos/{owner}/{repo}/collaborators/{username}"], - addStatusCheckContexts: ["POST /repos/{owner}/{repo}/branches/{branch}/protection/required_status_checks/contexts", {}, { - mapToData: "contexts" - }], - addTeamAccessRestrictions: ["POST /repos/{owner}/{repo}/branches/{branch}/protection/restrictions/teams", {}, { - mapToData: "teams" - }], - addUserAccessRestrictions: ["POST /repos/{owner}/{repo}/branches/{branch}/protection/restrictions/users", {}, { - mapToData: "users" - }], - checkCollaborator: ["GET /repos/{owner}/{repo}/collaborators/{username}"], - checkVulnerabilityAlerts: ["GET /repos/{owner}/{repo}/vulnerability-alerts", { - mediaType: { - previews: ["dorian"] - } - }], - compareCommits: ["GET /repos/{owner}/{repo}/compare/{base}...{head}"], - compareCommitsWithBasehead: ["GET /repos/{owner}/{repo}/compare/{basehead}"], - createCommitComment: ["POST /repos/{owner}/{repo}/commits/{commit_sha}/comments"], - createCommitSignatureProtection: ["POST /repos/{owner}/{repo}/branches/{branch}/protection/required_signatures", { - mediaType: { - previews: ["zzzax"] - } - }], - createCommitStatus: ["POST /repos/{owner}/{repo}/statuses/{sha}"], - createDeployKey: ["POST /repos/{owner}/{repo}/keys"], - createDeployment: ["POST /repos/{owner}/{repo}/deployments"], - createDeploymentStatus: ["POST /repos/{owner}/{repo}/deployments/{deployment_id}/statuses"], - createDispatchEvent: ["POST /repos/{owner}/{repo}/dispatches"], - createForAuthenticatedUser: ["POST /user/repos"], - createFork: ["POST /repos/{owner}/{repo}/forks"], - createInOrg: ["POST /orgs/{org}/repos"], - createOrUpdateEnvironment: ["PUT /repos/{owner}/{repo}/environments/{environment_name}"], - createOrUpdateFileContents: ["PUT /repos/{owner}/{repo}/contents/{path}"], - createPagesSite: ["POST /repos/{owner}/{repo}/pages", { - mediaType: { - previews: ["switcheroo"] - } - }], - createRelease: ["POST /repos/{owner}/{repo}/releases"], - createUsingTemplate: ["POST /repos/{template_owner}/{template_repo}/generate", { - mediaType: { - previews: ["baptiste"] - } - }], - createWebhook: ["POST /repos/{owner}/{repo}/hooks"], - declineInvitation: ["DELETE /user/repository_invitations/{invitation_id}"], - delete: ["DELETE /repos/{owner}/{repo}"], - deleteAccessRestrictions: ["DELETE /repos/{owner}/{repo}/branches/{branch}/protection/restrictions"], - deleteAdminBranchProtection: ["DELETE /repos/{owner}/{repo}/branches/{branch}/protection/enforce_admins"], - deleteAnEnvironment: ["DELETE /repos/{owner}/{repo}/environments/{environment_name}"], - deleteBranchProtection: ["DELETE /repos/{owner}/{repo}/branches/{branch}/protection"], - deleteCommitComment: ["DELETE /repos/{owner}/{repo}/comments/{comment_id}"], - deleteCommitSignatureProtection: ["DELETE /repos/{owner}/{repo}/branches/{branch}/protection/required_signatures", { - mediaType: { - previews: ["zzzax"] - } - }], - deleteDeployKey: ["DELETE /repos/{owner}/{repo}/keys/{key_id}"], - deleteDeployment: ["DELETE /repos/{owner}/{repo}/deployments/{deployment_id}"], - deleteFile: ["DELETE /repos/{owner}/{repo}/contents/{path}"], - deleteInvitation: ["DELETE /repos/{owner}/{repo}/invitations/{invitation_id}"], - deletePagesSite: ["DELETE /repos/{owner}/{repo}/pages", { - mediaType: { - previews: ["switcheroo"] - } - }], - deletePullRequestReviewProtection: ["DELETE /repos/{owner}/{repo}/branches/{branch}/protection/required_pull_request_reviews"], - deleteRelease: ["DELETE /repos/{owner}/{repo}/releases/{release_id}"], - deleteReleaseAsset: ["DELETE /repos/{owner}/{repo}/releases/assets/{asset_id}"], - deleteWebhook: ["DELETE /repos/{owner}/{repo}/hooks/{hook_id}"], - disableAutomatedSecurityFixes: ["DELETE /repos/{owner}/{repo}/automated-security-fixes", { - mediaType: { - previews: ["london"] - } - }], - disableVulnerabilityAlerts: ["DELETE /repos/{owner}/{repo}/vulnerability-alerts", { - mediaType: { - previews: ["dorian"] - } - }], - downloadArchive: ["GET /repos/{owner}/{repo}/zipball/{ref}", {}, { - renamed: ["repos", "downloadZipballArchive"] - }], - downloadTarballArchive: ["GET /repos/{owner}/{repo}/tarball/{ref}"], - downloadZipballArchive: ["GET /repos/{owner}/{repo}/zipball/{ref}"], - enableAutomatedSecurityFixes: ["PUT /repos/{owner}/{repo}/automated-security-fixes", { - mediaType: { - previews: ["london"] - } - }], - enableVulnerabilityAlerts: ["PUT /repos/{owner}/{repo}/vulnerability-alerts", { - mediaType: { - previews: ["dorian"] - } - }], - get: ["GET /repos/{owner}/{repo}"], - getAccessRestrictions: ["GET /repos/{owner}/{repo}/branches/{branch}/protection/restrictions"], - getAdminBranchProtection: ["GET /repos/{owner}/{repo}/branches/{branch}/protection/enforce_admins"], - getAllEnvironments: ["GET /repos/{owner}/{repo}/environments"], - getAllStatusCheckContexts: ["GET /repos/{owner}/{repo}/branches/{branch}/protection/required_status_checks/contexts"], - getAllTopics: ["GET /repos/{owner}/{repo}/topics", { - mediaType: { - previews: ["mercy"] - } - }], - getAppsWithAccessToProtectedBranch: ["GET /repos/{owner}/{repo}/branches/{branch}/protection/restrictions/apps"], - getBranch: ["GET /repos/{owner}/{repo}/branches/{branch}"], - getBranchProtection: ["GET /repos/{owner}/{repo}/branches/{branch}/protection"], - getClones: ["GET /repos/{owner}/{repo}/traffic/clones"], - getCodeFrequencyStats: ["GET /repos/{owner}/{repo}/stats/code_frequency"], - getCollaboratorPermissionLevel: ["GET /repos/{owner}/{repo}/collaborators/{username}/permission"], - getCombinedStatusForRef: ["GET /repos/{owner}/{repo}/commits/{ref}/status"], - getCommit: ["GET /repos/{owner}/{repo}/commits/{ref}"], - getCommitActivityStats: ["GET /repos/{owner}/{repo}/stats/commit_activity"], - getCommitComment: ["GET /repos/{owner}/{repo}/comments/{comment_id}"], - getCommitSignatureProtection: ["GET /repos/{owner}/{repo}/branches/{branch}/protection/required_signatures", { - mediaType: { - previews: ["zzzax"] - } - }], - getCommunityProfileMetrics: ["GET /repos/{owner}/{repo}/community/profile"], - getContent: ["GET /repos/{owner}/{repo}/contents/{path}"], - getContributorsStats: ["GET /repos/{owner}/{repo}/stats/contributors"], - getDeployKey: ["GET /repos/{owner}/{repo}/keys/{key_id}"], - getDeployment: ["GET /repos/{owner}/{repo}/deployments/{deployment_id}"], - getDeploymentStatus: ["GET /repos/{owner}/{repo}/deployments/{deployment_id}/statuses/{status_id}"], - getEnvironment: ["GET /repos/{owner}/{repo}/environments/{environment_name}"], - getLatestPagesBuild: ["GET /repos/{owner}/{repo}/pages/builds/latest"], - getLatestRelease: ["GET /repos/{owner}/{repo}/releases/latest"], - getPages: ["GET /repos/{owner}/{repo}/pages"], - getPagesBuild: ["GET /repos/{owner}/{repo}/pages/builds/{build_id}"], - getPagesHealthCheck: ["GET /repos/{owner}/{repo}/pages/health"], - getParticipationStats: ["GET /repos/{owner}/{repo}/stats/participation"], - getPullRequestReviewProtection: ["GET /repos/{owner}/{repo}/branches/{branch}/protection/required_pull_request_reviews"], - getPunchCardStats: ["GET /repos/{owner}/{repo}/stats/punch_card"], - getReadme: ["GET /repos/{owner}/{repo}/readme"], - getReadmeInDirectory: ["GET /repos/{owner}/{repo}/readme/{dir}"], - getRelease: ["GET /repos/{owner}/{repo}/releases/{release_id}"], - getReleaseAsset: ["GET /repos/{owner}/{repo}/releases/assets/{asset_id}"], - getReleaseByTag: ["GET /repos/{owner}/{repo}/releases/tags/{tag}"], - getStatusChecksProtection: ["GET /repos/{owner}/{repo}/branches/{branch}/protection/required_status_checks"], - getTeamsWithAccessToProtectedBranch: ["GET /repos/{owner}/{repo}/branches/{branch}/protection/restrictions/teams"], - getTopPaths: ["GET /repos/{owner}/{repo}/traffic/popular/paths"], - getTopReferrers: ["GET /repos/{owner}/{repo}/traffic/popular/referrers"], - getUsersWithAccessToProtectedBranch: ["GET /repos/{owner}/{repo}/branches/{branch}/protection/restrictions/users"], - getViews: ["GET /repos/{owner}/{repo}/traffic/views"], - getWebhook: ["GET /repos/{owner}/{repo}/hooks/{hook_id}"], - getWebhookConfigForRepo: ["GET /repos/{owner}/{repo}/hooks/{hook_id}/config"], - getWebhookDelivery: ["GET /repos/{owner}/{repo}/hooks/{hook_id}/deliveries/{delivery_id}"], - listBranches: ["GET /repos/{owner}/{repo}/branches"], - listBranchesForHeadCommit: ["GET /repos/{owner}/{repo}/commits/{commit_sha}/branches-where-head", { - mediaType: { - previews: ["groot"] - } - }], - listCollaborators: ["GET /repos/{owner}/{repo}/collaborators"], - listCommentsForCommit: ["GET /repos/{owner}/{repo}/commits/{commit_sha}/comments"], - listCommitCommentsForRepo: ["GET /repos/{owner}/{repo}/comments"], - listCommitStatusesForRef: ["GET /repos/{owner}/{repo}/commits/{ref}/statuses"], - listCommits: ["GET /repos/{owner}/{repo}/commits"], - listContributors: ["GET /repos/{owner}/{repo}/contributors"], - listDeployKeys: ["GET /repos/{owner}/{repo}/keys"], - listDeploymentStatuses: ["GET /repos/{owner}/{repo}/deployments/{deployment_id}/statuses"], - listDeployments: ["GET /repos/{owner}/{repo}/deployments"], - listForAuthenticatedUser: ["GET /user/repos"], - listForOrg: ["GET /orgs/{org}/repos"], - listForUser: ["GET /users/{username}/repos"], - listForks: ["GET /repos/{owner}/{repo}/forks"], - listInvitations: ["GET /repos/{owner}/{repo}/invitations"], - listInvitationsForAuthenticatedUser: ["GET /user/repository_invitations"], - listLanguages: ["GET /repos/{owner}/{repo}/languages"], - listPagesBuilds: ["GET /repos/{owner}/{repo}/pages/builds"], - listPublic: ["GET /repositories"], - listPullRequestsAssociatedWithCommit: ["GET /repos/{owner}/{repo}/commits/{commit_sha}/pulls", { - mediaType: { - previews: ["groot"] - } - }], - listReleaseAssets: ["GET /repos/{owner}/{repo}/releases/{release_id}/assets"], - listReleases: ["GET /repos/{owner}/{repo}/releases"], - listTags: ["GET /repos/{owner}/{repo}/tags"], - listTeams: ["GET /repos/{owner}/{repo}/teams"], - listWebhookDeliveries: ["GET /repos/{owner}/{repo}/hooks/{hook_id}/deliveries"], - listWebhooks: ["GET /repos/{owner}/{repo}/hooks"], - merge: ["POST /repos/{owner}/{repo}/merges"], - pingWebhook: ["POST /repos/{owner}/{repo}/hooks/{hook_id}/pings"], - redeliverWebhookDelivery: ["POST /repos/{owner}/{repo}/hooks/{hook_id}/deliveries/{delivery_id}/attempts"], - removeAppAccessRestrictions: ["DELETE /repos/{owner}/{repo}/branches/{branch}/protection/restrictions/apps", {}, { - mapToData: "apps" - }], - removeCollaborator: ["DELETE /repos/{owner}/{repo}/collaborators/{username}"], - removeStatusCheckContexts: ["DELETE /repos/{owner}/{repo}/branches/{branch}/protection/required_status_checks/contexts", {}, { - mapToData: "contexts" - }], - removeStatusCheckProtection: ["DELETE /repos/{owner}/{repo}/branches/{branch}/protection/required_status_checks"], - removeTeamAccessRestrictions: ["DELETE /repos/{owner}/{repo}/branches/{branch}/protection/restrictions/teams", {}, { - mapToData: "teams" - }], - removeUserAccessRestrictions: ["DELETE /repos/{owner}/{repo}/branches/{branch}/protection/restrictions/users", {}, { - mapToData: "users" - }], - renameBranch: ["POST /repos/{owner}/{repo}/branches/{branch}/rename"], - replaceAllTopics: ["PUT /repos/{owner}/{repo}/topics", { - mediaType: { - previews: ["mercy"] - } - }], - requestPagesBuild: ["POST /repos/{owner}/{repo}/pages/builds"], - setAdminBranchProtection: ["POST /repos/{owner}/{repo}/branches/{branch}/protection/enforce_admins"], - setAppAccessRestrictions: ["PUT /repos/{owner}/{repo}/branches/{branch}/protection/restrictions/apps", {}, { - mapToData: "apps" - }], - setStatusCheckContexts: ["PUT /repos/{owner}/{repo}/branches/{branch}/protection/required_status_checks/contexts", {}, { - mapToData: "contexts" - }], - setTeamAccessRestrictions: ["PUT /repos/{owner}/{repo}/branches/{branch}/protection/restrictions/teams", {}, { - mapToData: "teams" - }], - setUserAccessRestrictions: ["PUT /repos/{owner}/{repo}/branches/{branch}/protection/restrictions/users", {}, { - mapToData: "users" - }], - testPushWebhook: ["POST /repos/{owner}/{repo}/hooks/{hook_id}/tests"], - transfer: ["POST /repos/{owner}/{repo}/transfer"], - update: ["PATCH /repos/{owner}/{repo}"], - updateBranchProtection: ["PUT /repos/{owner}/{repo}/branches/{branch}/protection"], - updateCommitComment: ["PATCH /repos/{owner}/{repo}/comments/{comment_id}"], - updateInformationAboutPagesSite: ["PUT /repos/{owner}/{repo}/pages"], - updateInvitation: ["PATCH /repos/{owner}/{repo}/invitations/{invitation_id}"], - updatePullRequestReviewProtection: ["PATCH /repos/{owner}/{repo}/branches/{branch}/protection/required_pull_request_reviews"], - updateRelease: ["PATCH /repos/{owner}/{repo}/releases/{release_id}"], - updateReleaseAsset: ["PATCH /repos/{owner}/{repo}/releases/assets/{asset_id}"], - updateStatusCheckPotection: ["PATCH /repos/{owner}/{repo}/branches/{branch}/protection/required_status_checks", {}, { - renamed: ["repos", "updateStatusCheckProtection"] - }], - updateStatusCheckProtection: ["PATCH /repos/{owner}/{repo}/branches/{branch}/protection/required_status_checks"], - updateWebhook: ["PATCH /repos/{owner}/{repo}/hooks/{hook_id}"], - updateWebhookConfigForRepo: ["PATCH /repos/{owner}/{repo}/hooks/{hook_id}/config"], - uploadReleaseAsset: ["POST /repos/{owner}/{repo}/releases/{release_id}/assets{?name,label}", { - baseUrl: "https://uploads.github.com" - }] - }, - search: { - code: ["GET /search/code"], - commits: ["GET /search/commits", { - mediaType: { - previews: ["cloak"] - } - }], - issuesAndPullRequests: ["GET /search/issues"], - labels: ["GET /search/labels"], - repos: ["GET /search/repositories"], - topics: ["GET /search/topics", { - mediaType: { - previews: ["mercy"] - } - }], - users: ["GET /search/users"] - }, - secretScanning: { - getAlert: ["GET /repos/{owner}/{repo}/secret-scanning/alerts/{alert_number}"], - listAlertsForRepo: ["GET /repos/{owner}/{repo}/secret-scanning/alerts"], - updateAlert: ["PATCH /repos/{owner}/{repo}/secret-scanning/alerts/{alert_number}"] - }, - teams: { - addOrUpdateMembershipForUserInOrg: ["PUT /orgs/{org}/teams/{team_slug}/memberships/{username}"], - addOrUpdateProjectPermissionsInOrg: ["PUT /orgs/{org}/teams/{team_slug}/projects/{project_id}", { - mediaType: { - previews: ["inertia"] - } - }], - addOrUpdateRepoPermissionsInOrg: ["PUT /orgs/{org}/teams/{team_slug}/repos/{owner}/{repo}"], - checkPermissionsForProjectInOrg: ["GET /orgs/{org}/teams/{team_slug}/projects/{project_id}", { - mediaType: { - previews: ["inertia"] - } - }], - checkPermissionsForRepoInOrg: ["GET /orgs/{org}/teams/{team_slug}/repos/{owner}/{repo}"], - create: ["POST /orgs/{org}/teams"], - createDiscussionCommentInOrg: ["POST /orgs/{org}/teams/{team_slug}/discussions/{discussion_number}/comments"], - createDiscussionInOrg: ["POST /orgs/{org}/teams/{team_slug}/discussions"], - deleteDiscussionCommentInOrg: ["DELETE /orgs/{org}/teams/{team_slug}/discussions/{discussion_number}/comments/{comment_number}"], - deleteDiscussionInOrg: ["DELETE /orgs/{org}/teams/{team_slug}/discussions/{discussion_number}"], - deleteInOrg: ["DELETE /orgs/{org}/teams/{team_slug}"], - getByName: ["GET /orgs/{org}/teams/{team_slug}"], - getDiscussionCommentInOrg: ["GET /orgs/{org}/teams/{team_slug}/discussions/{discussion_number}/comments/{comment_number}"], - getDiscussionInOrg: ["GET /orgs/{org}/teams/{team_slug}/discussions/{discussion_number}"], - getMembershipForUserInOrg: ["GET /orgs/{org}/teams/{team_slug}/memberships/{username}"], - list: ["GET /orgs/{org}/teams"], - listChildInOrg: ["GET /orgs/{org}/teams/{team_slug}/teams"], - listDiscussionCommentsInOrg: ["GET /orgs/{org}/teams/{team_slug}/discussions/{discussion_number}/comments"], - listDiscussionsInOrg: ["GET /orgs/{org}/teams/{team_slug}/discussions"], - listForAuthenticatedUser: ["GET /user/teams"], - listMembersInOrg: ["GET /orgs/{org}/teams/{team_slug}/members"], - listPendingInvitationsInOrg: ["GET /orgs/{org}/teams/{team_slug}/invitations"], - listProjectsInOrg: ["GET /orgs/{org}/teams/{team_slug}/projects", { - mediaType: { - previews: ["inertia"] - } - }], - listReposInOrg: ["GET /orgs/{org}/teams/{team_slug}/repos"], - removeMembershipForUserInOrg: ["DELETE /orgs/{org}/teams/{team_slug}/memberships/{username}"], - removeProjectInOrg: ["DELETE /orgs/{org}/teams/{team_slug}/projects/{project_id}"], - removeRepoInOrg: ["DELETE /orgs/{org}/teams/{team_slug}/repos/{owner}/{repo}"], - updateDiscussionCommentInOrg: ["PATCH /orgs/{org}/teams/{team_slug}/discussions/{discussion_number}/comments/{comment_number}"], - updateDiscussionInOrg: ["PATCH /orgs/{org}/teams/{team_slug}/discussions/{discussion_number}"], - updateInOrg: ["PATCH /orgs/{org}/teams/{team_slug}"] - }, - users: { - addEmailForAuthenticated: ["POST /user/emails"], - block: ["PUT /user/blocks/{username}"], - checkBlocked: ["GET /user/blocks/{username}"], - checkFollowingForUser: ["GET /users/{username}/following/{target_user}"], - checkPersonIsFollowedByAuthenticated: ["GET /user/following/{username}"], - createGpgKeyForAuthenticated: ["POST /user/gpg_keys"], - createPublicSshKeyForAuthenticated: ["POST /user/keys"], - deleteEmailForAuthenticated: ["DELETE /user/emails"], - deleteGpgKeyForAuthenticated: ["DELETE /user/gpg_keys/{gpg_key_id}"], - deletePublicSshKeyForAuthenticated: ["DELETE /user/keys/{key_id}"], - follow: ["PUT /user/following/{username}"], - getAuthenticated: ["GET /user"], - getByUsername: ["GET /users/{username}"], - getContextForUser: ["GET /users/{username}/hovercard"], - getGpgKeyForAuthenticated: ["GET /user/gpg_keys/{gpg_key_id}"], - getPublicSshKeyForAuthenticated: ["GET /user/keys/{key_id}"], - list: ["GET /users"], - listBlockedByAuthenticated: ["GET /user/blocks"], - listEmailsForAuthenticated: ["GET /user/emails"], - listFollowedByAuthenticated: ["GET /user/following"], - listFollowersForAuthenticatedUser: ["GET /user/followers"], - listFollowersForUser: ["GET /users/{username}/followers"], - listFollowingForUser: ["GET /users/{username}/following"], - listGpgKeysForAuthenticated: ["GET /user/gpg_keys"], - listGpgKeysForUser: ["GET /users/{username}/gpg_keys"], - listPublicEmailsForAuthenticated: ["GET /user/public_emails"], - listPublicKeysForUser: ["GET /users/{username}/keys"], - listPublicSshKeysForAuthenticated: ["GET /user/keys"], - setPrimaryEmailVisibilityForAuthenticated: ["PATCH /user/email/visibility"], - unblock: ["DELETE /user/blocks/{username}"], - unfollow: ["DELETE /user/following/{username}"], - updateAuthenticated: ["PATCH /user"] - } -}; - -const VERSION = "5.5.2"; - -function endpointsToMethods(octokit, endpointsMap) { - const newMethods = {}; - - for (const [scope, endpoints] of Object.entries(endpointsMap)) { - for (const [methodName, endpoint] of Object.entries(endpoints)) { - const [route, defaults, decorations] = endpoint; - const [method, url] = route.split(/ /); - const endpointDefaults = Object.assign({ - method, - url - }, defaults); - - if (!newMethods[scope]) { - newMethods[scope] = {}; - } - - const scopeMethods = newMethods[scope]; - - if (decorations) { - scopeMethods[methodName] = decorate(octokit, scope, methodName, endpointDefaults, decorations); - continue; - } - - scopeMethods[methodName] = octokit.request.defaults(endpointDefaults); - } - } - - return newMethods; -} - -function decorate(octokit, scope, methodName, defaults, decorations) { - const requestWithDefaults = octokit.request.defaults(defaults); - /* istanbul ignore next */ - - function withDecorations(...args) { - // @ts-ignore https://github.com/microsoft/TypeScript/issues/25488 - let options = requestWithDefaults.endpoint.merge(...args); // There are currently no other decorations than `.mapToData` - - if (decorations.mapToData) { - options = Object.assign({}, options, { - data: options[decorations.mapToData], - [decorations.mapToData]: undefined - }); - return requestWithDefaults(options); - } - - if (decorations.renamed) { - const [newScope, newMethodName] = decorations.renamed; - octokit.log.warn(`octokit.${scope}.${methodName}() has been renamed to octokit.${newScope}.${newMethodName}()`); - } - - if (decorations.deprecated) { - octokit.log.warn(decorations.deprecated); - } - - if (decorations.renamedParameters) { - // @ts-ignore https://github.com/microsoft/TypeScript/issues/25488 - const options = requestWithDefaults.endpoint.merge(...args); - - for (const [name, alias] of Object.entries(decorations.renamedParameters)) { - if (name in options) { - octokit.log.warn(`"${name}" parameter is deprecated for "octokit.${scope}.${methodName}()". Use "${alias}" instead`); - - if (!(alias in options)) { - options[alias] = options[name]; - } - - delete options[name]; - } - } - - return requestWithDefaults(options); - } // @ts-ignore https://github.com/microsoft/TypeScript/issues/25488 - - - return requestWithDefaults(...args); - } - - return Object.assign(withDecorations, requestWithDefaults); -} - -function restEndpointMethods(octokit) { - const api = endpointsToMethods(octokit, Endpoints); - return { - rest: api - }; -} -restEndpointMethods.VERSION = VERSION; -function legacyRestEndpointMethods(octokit) { - const api = endpointsToMethods(octokit, Endpoints); - return _objectSpread2(_objectSpread2({}, api), {}, { - rest: api - }); -} -legacyRestEndpointMethods.VERSION = VERSION; - -exports.legacyRestEndpointMethods = legacyRestEndpointMethods; -exports.restEndpointMethods = restEndpointMethods; -//# sourceMappingURL=index.js.map - - -/***/ }), - -/***/ 537: -/***/ ((__unused_webpack_module, exports, __nccwpck_require__) => { - -"use strict"; - - -Object.defineProperty(exports, "__esModule", ({ value: true })); - -function _interopDefault (ex) { return (ex && (typeof ex === 'object') && 'default' in ex) ? ex['default'] : ex; } - -var deprecation = __nccwpck_require__(8932); -var once = _interopDefault(__nccwpck_require__(1223)); - -const logOnceCode = once(deprecation => console.warn(deprecation)); -const logOnceHeaders = once(deprecation => console.warn(deprecation)); -/** - * Error with extra properties to help with debugging - */ - -class RequestError extends Error { - constructor(message, statusCode, options) { - super(message); // Maintains proper stack trace (only available on V8) - - /* istanbul ignore next */ - - if (Error.captureStackTrace) { - Error.captureStackTrace(this, this.constructor); - } - - this.name = "HttpError"; - this.status = statusCode; - let headers; - - if ("headers" in options && typeof options.headers !== "undefined") { - headers = options.headers; - } - - if ("response" in options) { - this.response = options.response; - headers = options.response.headers; - } // redact request credentials without mutating original request options - - - const requestCopy = Object.assign({}, options.request); - - if (options.request.headers.authorization) { - requestCopy.headers = Object.assign({}, options.request.headers, { - authorization: options.request.headers.authorization.replace(/ .*$/, " [REDACTED]") - }); - } - - requestCopy.url = requestCopy.url // client_id & client_secret can be passed as URL query parameters to increase rate limit - // see https://developer.github.com/v3/#increasing-the-unauthenticated-rate-limit-for-oauth-applications - .replace(/\bclient_secret=\w+/g, "client_secret=[REDACTED]") // OAuth tokens can be passed as URL query parameters, although it is not recommended - // see https://developer.github.com/v3/#oauth2-token-sent-in-a-header - .replace(/\baccess_token=\w+/g, "access_token=[REDACTED]"); - this.request = requestCopy; // deprecations - - Object.defineProperty(this, "code", { - get() { - logOnceCode(new deprecation.Deprecation("[@octokit/request-error] `error.code` is deprecated, use `error.status`.")); - return statusCode; - } - - }); - Object.defineProperty(this, "headers", { - get() { - logOnceHeaders(new deprecation.Deprecation("[@octokit/request-error] `error.headers` is deprecated, use `error.response.headers`.")); - return headers || {}; - } - - }); - } - -} - -exports.RequestError = RequestError; -//# sourceMappingURL=index.js.map - - -/***/ }), - -/***/ 6234: -/***/ ((__unused_webpack_module, exports, __nccwpck_require__) => { - -"use strict"; - - -Object.defineProperty(exports, "__esModule", ({ value: true })); - -function _interopDefault (ex) { return (ex && (typeof ex === 'object') && 'default' in ex) ? ex['default'] : ex; } - -var endpoint = __nccwpck_require__(9440); -var universalUserAgent = __nccwpck_require__(5030); -var isPlainObject = __nccwpck_require__(3287); -var nodeFetch = _interopDefault(__nccwpck_require__(467)); -var requestError = __nccwpck_require__(537); - -const VERSION = "5.6.0"; - -function getBufferResponse(response) { - return response.arrayBuffer(); -} - -function fetchWrapper(requestOptions) { - const log = requestOptions.request && requestOptions.request.log ? requestOptions.request.log : console; - - if (isPlainObject.isPlainObject(requestOptions.body) || Array.isArray(requestOptions.body)) { - requestOptions.body = JSON.stringify(requestOptions.body); - } - - let headers = {}; - let status; - let url; - const fetch = requestOptions.request && requestOptions.request.fetch || nodeFetch; - return fetch(requestOptions.url, Object.assign({ - method: requestOptions.method, - body: requestOptions.body, - headers: requestOptions.headers, - redirect: requestOptions.redirect - }, // `requestOptions.request.agent` type is incompatible - // see https://github.com/octokit/types.ts/pull/264 - requestOptions.request)).then(async response => { - url = response.url; - status = response.status; - - for (const keyAndValue of response.headers) { - headers[keyAndValue[0]] = keyAndValue[1]; - } - - if ("deprecation" in headers) { - const matches = headers.link && headers.link.match(/<([^>]+)>; rel="deprecation"/); - const deprecationLink = matches && matches.pop(); - log.warn(`[@octokit/request] "${requestOptions.method} ${requestOptions.url}" is deprecated. It is scheduled to be removed on ${headers.sunset}${deprecationLink ? `. See ${deprecationLink}` : ""}`); - } - - if (status === 204 || status === 205) { - return; - } // GitHub API returns 200 for HEAD requests - - - if (requestOptions.method === "HEAD") { - if (status < 400) { - return; - } - - throw new requestError.RequestError(response.statusText, status, { - response: { - url, - status, - headers, - data: undefined - }, - request: requestOptions - }); - } - - if (status === 304) { - throw new requestError.RequestError("Not modified", status, { - response: { - url, - status, - headers, - data: await getResponseData(response) - }, - request: requestOptions - }); - } - - if (status >= 400) { - const data = await getResponseData(response); - const error = new requestError.RequestError(toErrorMessage(data), status, { - response: { - url, - status, - headers, - data - }, - request: requestOptions - }); - throw error; - } - - return getResponseData(response); - }).then(data => { - return { - status, - url, - headers, - data - }; - }).catch(error => { - if (error instanceof requestError.RequestError) throw error; - throw new requestError.RequestError(error.message, 500, { - request: requestOptions - }); - }); -} - -async function getResponseData(response) { - const contentType = response.headers.get("content-type"); - - if (/application\/json/.test(contentType)) { - return response.json(); - } - - if (!contentType || /^text\/|charset=utf-8$/.test(contentType)) { - return response.text(); - } - - return getBufferResponse(response); -} - -function toErrorMessage(data) { - if (typeof data === "string") return data; // istanbul ignore else - just in case - - if ("message" in data) { - if (Array.isArray(data.errors)) { - return `${data.message}: ${data.errors.map(JSON.stringify).join(", ")}`; - } - - return data.message; - } // istanbul ignore next - just in case - - - return `Unknown error: ${JSON.stringify(data)}`; -} - -function withDefaults(oldEndpoint, newDefaults) { - const endpoint = oldEndpoint.defaults(newDefaults); - - const newApi = function (route, parameters) { - const endpointOptions = endpoint.merge(route, parameters); - - if (!endpointOptions.request || !endpointOptions.request.hook) { - return fetchWrapper(endpoint.parse(endpointOptions)); - } - - const request = (route, parameters) => { - return fetchWrapper(endpoint.parse(endpoint.merge(route, parameters))); - }; - - Object.assign(request, { - endpoint, - defaults: withDefaults.bind(null, endpoint) - }); - return endpointOptions.request.hook(request, endpointOptions); - }; - - return Object.assign(newApi, { - endpoint, - defaults: withDefaults.bind(null, endpoint) - }); -} - -const request = withDefaults(endpoint.endpoint, { - headers: { - "user-agent": `octokit-request.js/${VERSION} ${universalUserAgent.getUserAgent()}` - } -}); - -exports.request = request; -//# sourceMappingURL=index.js.map - - -/***/ }), - -/***/ 3682: -/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => { - -var register = __nccwpck_require__(4670) -var addHook = __nccwpck_require__(5549) -var removeHook = __nccwpck_require__(6819) - -// bind with array of arguments: https://stackoverflow.com/a/21792913 -var bind = Function.bind -var bindable = bind.bind(bind) - -function bindApi (hook, state, name) { - var removeHookRef = bindable(removeHook, null).apply(null, name ? [state, name] : [state]) - hook.api = { remove: removeHookRef } - hook.remove = removeHookRef - - ;['before', 'error', 'after', 'wrap'].forEach(function (kind) { - var args = name ? [state, kind, name] : [state, kind] - hook[kind] = hook.api[kind] = bindable(addHook, null).apply(null, args) - }) -} - -function HookSingular () { - var singularHookName = 'h' - var singularHookState = { - registry: {} - } - var singularHook = register.bind(null, singularHookState, singularHookName) - bindApi(singularHook, singularHookState, singularHookName) - return singularHook -} - -function HookCollection () { - var state = { - registry: {} - } - - var hook = register.bind(null, state) - bindApi(hook, state) - - return hook -} - -var collectionHookDeprecationMessageDisplayed = false -function Hook () { - if (!collectionHookDeprecationMessageDisplayed) { - console.warn('[before-after-hook]: "Hook()" repurposing warning, use "Hook.Collection()". Read more: https://git.io/upgrade-before-after-hook-to-1.4') - collectionHookDeprecationMessageDisplayed = true - } - return HookCollection() -} - -Hook.Singular = HookSingular.bind() -Hook.Collection = HookCollection.bind() - -module.exports = Hook -// expose constructors as a named property for TypeScript -module.exports.Hook = Hook -module.exports.Singular = Hook.Singular -module.exports.Collection = Hook.Collection - - -/***/ }), - -/***/ 5549: -/***/ ((module) => { - -module.exports = addHook; - -function addHook(state, kind, name, hook) { - var orig = hook; - if (!state.registry[name]) { - state.registry[name] = []; - } - - if (kind === "before") { - hook = function (method, options) { - return Promise.resolve() - .then(orig.bind(null, options)) - .then(method.bind(null, options)); - }; - } - - if (kind === "after") { - hook = function (method, options) { - var result; - return Promise.resolve() - .then(method.bind(null, options)) - .then(function (result_) { - result = result_; - return orig(result, options); - }) - .then(function () { - return result; - }); - }; - } - - if (kind === "error") { - hook = function (method, options) { - return Promise.resolve() - .then(method.bind(null, options)) - .catch(function (error) { - return orig(error, options); - }); - }; - } - - state.registry[name].push({ - hook: hook, - orig: orig, - }); -} - - -/***/ }), - -/***/ 4670: -/***/ ((module) => { - -module.exports = register; - -function register(state, name, method, options) { - if (typeof method !== "function") { - throw new Error("method for before hook must be a function"); - } - - if (!options) { - options = {}; - } - - if (Array.isArray(name)) { - return name.reverse().reduce(function (callback, name) { - return register.bind(null, state, name, callback, options); - }, method)(); - } - - return Promise.resolve().then(function () { - if (!state.registry[name]) { - return method(options); - } - - return state.registry[name].reduce(function (method, registered) { - return registered.hook.bind(null, method, options); - }, method)(); - }); -} - - -/***/ }), - -/***/ 6819: -/***/ ((module) => { - -module.exports = removeHook; - -function removeHook(state, name, method) { - if (!state.registry[name]) { - return; - } - - var index = state.registry[name] - .map(function (registered) { - return registered.orig; - }) - .indexOf(method); - - if (index === -1) { - return; - } - - state.registry[name].splice(index, 1); -} - - -/***/ }), - -/***/ 8932: -/***/ ((__unused_webpack_module, exports) => { - -"use strict"; - - -Object.defineProperty(exports, "__esModule", ({ value: true })); - -class Deprecation extends Error { - constructor(message) { - super(message); // Maintains proper stack trace (only available on V8) - - /* istanbul ignore next */ - - if (Error.captureStackTrace) { - Error.captureStackTrace(this, this.constructor); - } - - this.name = 'Deprecation'; - } - -} - -exports.Deprecation = Deprecation; - - -/***/ }), - -/***/ 3287: -/***/ ((__unused_webpack_module, exports) => { - -"use strict"; - - -Object.defineProperty(exports, "__esModule", ({ value: true })); - -/*! - * is-plain-object - * - * Copyright (c) 2014-2017, Jon Schlinkert. - * Released under the MIT License. - */ - -function isObject(o) { - return Object.prototype.toString.call(o) === '[object Object]'; -} - -function isPlainObject(o) { - var ctor,prot; - - if (isObject(o) === false) return false; - - // If has modified constructor - ctor = o.constructor; - if (ctor === undefined) return true; - - // If has modified prototype - prot = ctor.prototype; - if (isObject(prot) === false) return false; - - // If constructor does not have an Object-specific method - if (prot.hasOwnProperty('isPrototypeOf') === false) { - return false; - } - - // Most likely a plain Object - return true; -} - -exports.isPlainObject = isPlainObject; - - -/***/ }), - -/***/ 1917: -/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => { - -"use strict"; - - - -var loader = __nccwpck_require__(1161); -var dumper = __nccwpck_require__(8866); - - -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 = __nccwpck_require__(6073); -module.exports.Schema = __nccwpck_require__(1082); -module.exports.FAILSAFE_SCHEMA = __nccwpck_require__(8562); -module.exports.JSON_SCHEMA = __nccwpck_require__(1035); -module.exports.CORE_SCHEMA = __nccwpck_require__(2011); -module.exports.DEFAULT_SCHEMA = __nccwpck_require__(8759); -module.exports.load = loader.load; -module.exports.loadAll = loader.loadAll; -module.exports.dump = dumper.dump; -module.exports.YAMLException = __nccwpck_require__(8179); - -// Re-export all types in case user wants to create custom schema -module.exports.types = { - binary: __nccwpck_require__(7900), - float: __nccwpck_require__(2705), - map: __nccwpck_require__(6150), - null: __nccwpck_require__(721), - pairs: __nccwpck_require__(6860), - set: __nccwpck_require__(9548), - timestamp: __nccwpck_require__(9212), - bool: __nccwpck_require__(4993), - int: __nccwpck_require__(1615), - merge: __nccwpck_require__(6104), - omap: __nccwpck_require__(9046), - seq: __nccwpck_require__(7283), - str: __nccwpck_require__(3619) -}; - -// Removed functions from JS-YAML 3.0.x -module.exports.safeLoad = renamed('safeLoad', 'load'); -module.exports.safeLoadAll = renamed('safeLoadAll', 'loadAll'); -module.exports.safeDump = renamed('safeDump', 'dump'); - - -/***/ }), - -/***/ 6829: -/***/ ((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; - - -/***/ }), - -/***/ 8866: -/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => { - -"use strict"; - - -/*eslint-disable no-use-before-define*/ - -var common = __nccwpck_require__(6829); -var YAMLException = __nccwpck_require__(8179); -var DEFAULT_SCHEMA = __nccwpck_require__(8759); - -var _toString = Object.prototype.toString; -var _hasOwnProperty = Object.prototype.hasOwnProperty; - -var CHAR_BOM = 0xFEFF; -var CHAR_TAB = 0x09; /* Tab */ -var CHAR_LINE_FEED = 0x0A; /* LF */ -var CHAR_CARRIAGE_RETURN = 0x0D; /* CR */ -var CHAR_SPACE = 0x20; /* Space */ -var CHAR_EXCLAMATION = 0x21; /* ! */ -var CHAR_DOUBLE_QUOTE = 0x22; /* " */ -var CHAR_SHARP = 0x23; /* # */ -var CHAR_PERCENT = 0x25; /* % */ -var CHAR_AMPERSAND = 0x26; /* & */ -var CHAR_SINGLE_QUOTE = 0x27; /* ' */ -var CHAR_ASTERISK = 0x2A; /* * */ -var CHAR_COMMA = 0x2C; /* , */ -var CHAR_MINUS = 0x2D; /* - */ -var CHAR_COLON = 0x3A; /* : */ -var CHAR_EQUALS = 0x3D; /* = */ -var CHAR_GREATER_THAN = 0x3E; /* > */ -var CHAR_QUESTION = 0x3F; /* ? */ -var CHAR_COMMERCIAL_AT = 0x40; /* @ */ -var CHAR_LEFT_SQUARE_BRACKET = 0x5B; /* [ */ -var CHAR_RIGHT_SQUARE_BRACKET = 0x5D; /* ] */ -var CHAR_GRAVE_ACCENT = 0x60; /* ` */ -var CHAR_LEFT_CURLY_BRACKET = 0x7B; /* { */ -var CHAR_VERTICAL_LINE = 0x7C; /* | */ -var CHAR_RIGHT_CURLY_BRACKET = 0x7D; /* } */ - -var ESCAPE_SEQUENCES = {}; - -ESCAPE_SEQUENCES[0x00] = '\\0'; -ESCAPE_SEQUENCES[0x07] = '\\a'; -ESCAPE_SEQUENCES[0x08] = '\\b'; -ESCAPE_SEQUENCES[0x09] = '\\t'; -ESCAPE_SEQUENCES[0x0A] = '\\n'; -ESCAPE_SEQUENCES[0x0B] = '\\v'; -ESCAPE_SEQUENCES[0x0C] = '\\f'; -ESCAPE_SEQUENCES[0x0D] = '\\r'; -ESCAPE_SEQUENCES[0x1B] = '\\e'; -ESCAPE_SEQUENCES[0x22] = '\\"'; -ESCAPE_SEQUENCES[0x5C] = '\\\\'; -ESCAPE_SEQUENCES[0x85] = '\\N'; -ESCAPE_SEQUENCES[0xA0] = '\\_'; -ESCAPE_SEQUENCES[0x2028] = '\\L'; -ESCAPE_SEQUENCES[0x2029] = '\\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 <= 0xFF) { - handle = 'x'; - length = 2; - } else if (character <= 0xFFFF) { - handle = 'u'; - length = 4; - } else if (character <= 0xFFFFFFFF) { - 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, - 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; -} - -// Indents every line in a string. Empty lines (\n only) are not indented. -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; -} - -// [33] s-white ::= s-space | s-tab -function isWhitespace(c) { - return c === CHAR_SPACE || c === CHAR_TAB; -} - -// Returns true if the character can be printed without escaping. -// From YAML 1.2: "any allowed characters known to be non-printable -// should also be escaped. [However,] This isn’t mandatory" -// Derived from nb-char - \t - #x85 - #xA0 - #x2028 - #x2029. -function isPrintable(c) { - return (0x00020 <= c && c <= 0x00007E) - || ((0x000A1 <= c && c <= 0x00D7FF) && c !== 0x2028 && c !== 0x2029) - || ((0x0E000 <= c && c <= 0x00FFFD) && c !== CHAR_BOM) - || (0x10000 <= c && c <= 0x10FFFF); -} - -// [34] ns-char ::= nb-char - s-white -// [27] nb-char ::= c-printable - b-char - c-byte-order-mark -// [26] b-char ::= b-line-feed | b-carriage-return -// Including s-white (for some reason, examples doesn't match specs in this aspect) -// ns-char ::= c-printable - b-line-feed - b-carriage-return - c-byte-order-mark -function isNsCharOrWhitespace(c) { - return isPrintable(c) - && c !== CHAR_BOM - // - b-char - && c !== CHAR_CARRIAGE_RETURN - && c !== CHAR_LINE_FEED; -} - -// [127] ns-plain-safe(c) ::= c = flow-out ⇒ ns-plain-safe-out -// c = flow-in ⇒ ns-plain-safe-in -// c = block-key ⇒ ns-plain-safe-out -// c = flow-key ⇒ ns-plain-safe-in -// [128] ns-plain-safe-out ::= ns-char -// [129] ns-plain-safe-in ::= ns-char - c-flow-indicator -// [130] ns-plain-char(c) ::= ( ns-plain-safe(c) - “:” - “#” ) -// | ( /* An ns-char preceding */ “#” ) -// | ( “:” /* Followed by an ns-plain-safe(c) */ ) -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-flow-indicator - && c !== CHAR_COMMA - && c !== CHAR_LEFT_SQUARE_BRACKET - && c !== CHAR_RIGHT_SQUARE_BRACKET - && c !== CHAR_LEFT_CURLY_BRACKET - && c !== CHAR_RIGHT_CURLY_BRACKET - ) - // ns-plain-char - && c !== CHAR_SHARP // false on '#' - && !(prev === CHAR_COLON && !cIsNsChar) // false on ': ' - || (isNsCharOrWhitespace(prev) && !isWhitespace(prev) && c === CHAR_SHARP) // change to true on '[^ ]#' - || (prev === CHAR_COLON && cIsNsChar); // change to true on ':[^ ]' -} - -// Simplified test for values allowed as the first character in plain style. -function isPlainSafeFirst(c) { - // Uses a subset of ns-char - c-indicator - // where ns-char = nb-char - s-white. - // No support of ( ( “?” | “:” | “-” ) /* Followed by an ns-plain-safe(c)) */ ) part - return isPrintable(c) && c !== CHAR_BOM - && !isWhitespace(c) // - s-white - // - (c-indicator ::= - // “-” | “?” | “:” | “,” | “[” | “]” | “{” | “}” - && 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; -} - -// Simplified test for values allowed as the last character in plain style. -function isPlainSafeLast(c) { - // just not whitespace or colon, it will be checked to be plain character later - return !isWhitespace(c) && c !== CHAR_COLON; -} - -// Same as 'string'.codePointAt(pos), but works in older browsers. -function codePointAt(string, pos) { - var first = string.charCodeAt(pos), second; - if (first >= 0xD800 && first <= 0xDBFF && pos + 1 < string.length) { - second = string.charCodeAt(pos + 1); - if (second >= 0xDC00 && second <= 0xDFFF) { - // https://mathiasbynens.be/notes/javascript-encoding#surrogate-formulae - return (first - 0xD800) * 0x400 + second - 0xDC00 + 0x10000; - } - } - return first; -} - -// Determines whether block indentation indicator is required. -function needIndentIndicator(string) { - var leadingSpaceRe = /^\n* /; - return leadingSpaceRe.test(string); -} - -var STYLE_PLAIN = 1, - STYLE_SINGLE = 2, - STYLE_LITERAL = 3, - STYLE_FOLDED = 4, - STYLE_DOUBLE = 5; - -// Determines which scalar styles are possible and returns the preferred style. -// lineWidth = -1 => no limit. -// Pre-conditions: str.length > 0. -// Post-conditions: -// STYLE_PLAIN or STYLE_SINGLE => no \n are in the string. -// STYLE_LITERAL => no lines are suitable for folding (or lineWidth is -1). -// STYLE_FOLDED => a line > lineWidth and can be folded (and lineWidth != -1). -function chooseScalarStyle(string, singleLineOnly, indentPerLevel, lineWidth, - testAmbiguousType, quotingType, forceQuotes, inblock) { - - var i; - var char = 0; - var prevChar = null; - var hasLineBreak = false; - var hasFoldableLine = false; // only checked if shouldTrackWidth - var shouldTrackWidth = lineWidth !== -1; - var previousLineBreak = -1; // count the first line correctly - var plain = isPlainSafeFirst(codePointAt(string, 0)) - && isPlainSafeLast(codePointAt(string, string.length - 1)); - - if (singleLineOnly || forceQuotes) { - // Case: no block styles. - // Check for disallowed characters to rule out plain and single. - for (i = 0; i < string.length; char >= 0x10000 ? i += 2 : i++) { - char = codePointAt(string, i); - if (!isPrintable(char)) { - return STYLE_DOUBLE; - } - plain = plain && isPlainSafe(char, prevChar, inblock); - prevChar = char; - } - } else { - // Case: block styles permitted. - for (i = 0; i < string.length; char >= 0x10000 ? i += 2 : i++) { - char = codePointAt(string, i); - if (char === CHAR_LINE_FEED) { - hasLineBreak = true; - // Check if any line can be folded. - 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; - } - // in case the end is missing a \n - hasFoldableLine = hasFoldableLine || (shouldTrackWidth && - (i - previousLineBreak - 1 > lineWidth && - string[previousLineBreak + 1] !== ' ')); - } - // Although every style can represent \n without escaping, prefer block styles - // for multiline, since they're more readable and they don't add empty lines. - // Also prefer folding a super-long line. - if (!hasLineBreak && !hasFoldableLine) { - // Strings interpretable as another type have to be quoted; - // e.g. the string 'true' vs. the boolean true. - if (plain && !forceQuotes && !testAmbiguousType(string)) { - return STYLE_PLAIN; - } - return quotingType === QUOTING_TYPE_DOUBLE ? STYLE_DOUBLE : STYLE_SINGLE; - } - // Edge case: block indentation indicator can only have one digit. - if (indentPerLevel > 9 && needIndentIndicator(string)) { - return STYLE_DOUBLE; - } - // At this point we know block styles are valid. - // Prefer literal style unless we want to fold. - if (!forceQuotes) { - return hasFoldableLine ? STYLE_FOLDED : STYLE_LITERAL; - } - return quotingType === QUOTING_TYPE_DOUBLE ? STYLE_DOUBLE : STYLE_SINGLE; -} - -// Note: line breaking/folding is implemented for only the folded style. -// NB. We drop the last trailing newline (if any) of a returned block scalar -// since the dumper adds its own newline. This always works: -// • No ending newline => unaffected; already using strip "-" chomping. -// • Ending newline => removed then restored. -// Importantly, this keeps the "+" chomp indicator from gaining an extra line. -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); // no 0-indent scalars - // As indentation gets deeper, let the width decrease monotonically - // to the lower bound min(state.lineWidth, 40). - // Note that this implies - // state.lineWidth ≤ 40 + state.indent: width is fixed at the lower bound. - // state.lineWidth > 40 + state.indent: width decreases until the lower bound. - // This behaves better than a constant minimum width which disallows narrower options, - // or an indent threshold which causes the width to suddenly increase. - var lineWidth = state.lineWidth === -1 - ? -1 : Math.max(Math.min(state.lineWidth, 40), state.lineWidth - indent); - - // Without knowing if keys are implicit/explicit, assume implicit for safety. - var singleLineOnly = iskey - // No block styles in flow mode. - || (state.flowLevel > -1 && level >= state.flowLevel); - function testAmbiguity(string) { - return testImplicitResolving(state, string); - } - - 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'); - } - }()); -} - -// Pre-conditions: string is valid for a block scalar, 1 <= indentPerLevel <= 9. -function blockHeader(string, indentPerLevel) { - var indentIndicator = needIndentIndicator(string) ? String(indentPerLevel) : ''; - - // note the special case: the string '\n' counts as a "trailing" empty line. - 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'; -} - -// (See the note for writeScalar.) -function dropEndingNewline(string) { - return string[string.length - 1] === '\n' ? string.slice(0, -1) : string; -} - -// Note: a long line without a suitable break point will exceed the width limit. -// Pre-conditions: every char in str isPrintable, str.length > 0, width > 0. -function foldString(string, width) { - // In folded style, $k$ consecutive newlines output as $k+1$ newlines— - // unless they're before or after a more-indented line, or at the very - // beginning or end, in which case $k$ maps to $k$. - // Therefore, parse each chunk as newline(s) followed by a content line. - var lineRe = /(\n+)([^\n]*)/g; - - // first line (possibly an empty line) - var result = (function () { - var nextLF = string.indexOf('\n'); - nextLF = nextLF !== -1 ? nextLF : string.length; - lineRe.lastIndex = nextLF; - return foldLine(string.slice(0, nextLF), width); - }()); - // If we haven't reached the first content line yet, don't add an extra \n. - var prevMoreIndented = string[0] === '\n' || string[0] === ' '; - var moreIndented; - - // rest of the lines - 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; -} - -// Greedy line breaking. -// Picks the longest line under the limit each time, -// otherwise settles for the shortest line over the limit. -// NB. More-indented lines *cannot* be folded, as that would add an extra \n. -function foldLine(line, width) { - if (line === '' || line[0] === ' ') return line; - - // Since a more-indented line adds a \n, breaks can't be followed by a space. - var breakRe = / [^ ]/g; // note: the match index will always be <= length-2. - var match; - // start is an inclusive index. end, curr, and next are exclusive. - var start = 0, end, curr = 0, next = 0; - var result = ''; - - // Invariants: 0 <= start <= length-1. - // 0 <= curr <= next <= max(0, length-2). curr - start <= width. - // Inside the loop: - // A match implies length >= 2, so curr and next are <= length-2. - while ((match = breakRe.exec(line))) { - next = match.index; - // maintain invariant: curr - start <= width - if (next - start > width) { - end = (curr > start) ? curr : next; // derive end <= length-2 - result += '\n' + line.slice(start, end); - // skip the space that was output as \n - start = end + 1; // derive start <= length-1 - } - curr = next; - } - - // By the invariants, start <= length-1, so there is something left over. - // It is either the whole string or a part starting from non-whitespace. - result += '\n'; - // Insert a break if the remainder is too long and there is a break available. - 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); // drop extra \n joiner -} - -// Escapes a double-quoted string. -function escapeString(string) { - var result = ''; - var char = 0; - var escapeSeq; - - for (var i = 0; i < string.length; char >= 0x10000 ? i += 2 : i++) { - char = codePointAt(string, i); - escapeSeq = ESCAPE_SEQUENCES[char]; - - if (!escapeSeq && isPrintable(char)) { - result += string[i]; - if (char >= 0x10000) 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); - } - - // Write only valid elements, put null instead of invalid elements. - 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); - } - - // Write only valid elements, put null instead of invalid elements. - 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 || '[]'; // Empty sequence if no valid values. -} - -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; // Skip this pair because of invalid key; - } - - if (state.dump.length > 1024) pairBuffer += '? '; - - pairBuffer += state.dump + (state.condenseFlow ? '"' : '') + ':' + (state.condenseFlow ? '' : ' '); - - if (!writeNode(state, level, objectValue, false, false)) { - continue; // Skip this pair because of invalid value. - } - - pairBuffer += state.dump; - - // Both key and value are valid. - _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; - - // Allow sorting keys so that the output file is deterministic - if (state.sortKeys === true) { - // Default sorting - objectKeyList.sort(); - } else if (typeof state.sortKeys === 'function') { - // Custom sort function - objectKeyList.sort(state.sortKeys); - } else if (state.sortKeys) { - // Something is wrong - 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; // Skip this pair because of invalid key. - } - - 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; // Skip this pair because of invalid value. - } - - if (state.dump && CHAR_LINE_FEED === state.dump.charCodeAt(0)) { - pairBuffer += ':'; - } else { - pairBuffer += ': '; - } - - pairBuffer += state.dump; - - // Both key and value are valid. - _result += pairBuffer; - } - - state.tag = _tag; - state.dump = _result || '{}'; // Empty mapping if no valid pairs. -} - -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; -} - -// Serializes `object` and writes it to global `result`. -// Returns true on success, or false on invalid object. -// -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 !== '?') { - // Need to encode all characters except those allowed by the spec: - // - // [35] ns-dec-digit ::= [#x30-#x39] /* 0-9 */ - // [36] ns-hex-digit ::= ns-dec-digit - // | [#x41-#x46] /* A-F */ | [#x61-#x66] /* a-f */ - // [37] ns-ascii-letter ::= [#x41-#x5A] /* A-Z */ | [#x61-#x7A] /* a-z */ - // [38] ns-word-char ::= ns-dec-digit | ns-ascii-letter | “-” - // [39] ns-uri-char ::= “%” ns-hex-digit ns-hex-digit | ns-word-char | “#” - // | “;” | “/” | “?” | “:” | “@” | “&” | “=” | “+” | “$” | “,” - // | “_” | “.” | “!” | “~” | “*” | “'” | “(” | “)” | “[” | “]” - // - // Also need to encode '!' because it has special meaning (end of tag prefix). - // - 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; - - -/***/ }), - -/***/ 8179: -/***/ ((module) => { - -"use strict"; -// YAML error class. http://stackoverflow.com/questions/8458984 -// - - - -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) { - // Super constructor - Error.call(this); - - this.name = 'YAMLException'; - this.reason = reason; - this.mark = mark; - this.message = formatError(this, false); - - // Include stack trace in error object - if (Error.captureStackTrace) { - // Chrome and NodeJS - Error.captureStackTrace(this, this.constructor); - } else { - // FF, IE 10+ and Safari 6+. Fallback for others - this.stack = (new Error()).stack || ''; - } -} - - -// Inherit from Error -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; - - -/***/ }), - -/***/ 1161: -/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => { - -"use strict"; - - -/*eslint-disable max-len,no-use-before-define*/ - -var common = __nccwpck_require__(6829); -var YAMLException = __nccwpck_require__(8179); -var makeSnippet = __nccwpck_require__(6975); -var DEFAULT_SCHEMA = __nccwpck_require__(8759); - - -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 === 0x0A/* LF */) || (c === 0x0D/* CR */); -} - -function is_WHITE_SPACE(c) { - return (c === 0x09/* Tab */) || (c === 0x20/* Space */); -} - -function is_WS_OR_EOL(c) { - return (c === 0x09/* Tab */) || - (c === 0x20/* Space */) || - (c === 0x0A/* LF */) || - (c === 0x0D/* CR */); -} - -function is_FLOW_INDICATOR(c) { - return c === 0x2C/* , */ || - c === 0x5B/* [ */ || - c === 0x5D/* ] */ || - c === 0x7B/* { */ || - c === 0x7D/* } */; -} - -function fromHexCode(c) { - var lc; - - if ((0x30/* 0 */ <= c) && (c <= 0x39/* 9 */)) { - return c - 0x30; - } - - /*eslint-disable no-bitwise*/ - lc = c | 0x20; - - if ((0x61/* a */ <= lc) && (lc <= 0x66/* f */)) { - return lc - 0x61 + 10; - } - - return -1; -} - -function escapedHexLen(c) { - if (c === 0x78/* x */) { return 2; } - if (c === 0x75/* u */) { return 4; } - if (c === 0x55/* U */) { return 8; } - return 0; -} - -function fromDecimalCode(c) { - if ((0x30/* 0 */ <= c) && (c <= 0x39/* 9 */)) { - return c - 0x30; - } - - return -1; -} - -function simpleEscapeSequence(c) { - /* eslint-disable indent */ - return (c === 0x30/* 0 */) ? '\x00' : - (c === 0x61/* a */) ? '\x07' : - (c === 0x62/* b */) ? '\x08' : - (c === 0x74/* t */) ? '\x09' : - (c === 0x09/* Tab */) ? '\x09' : - (c === 0x6E/* n */) ? '\x0A' : - (c === 0x76/* v */) ? '\x0B' : - (c === 0x66/* f */) ? '\x0C' : - (c === 0x72/* r */) ? '\x0D' : - (c === 0x65/* e */) ? '\x1B' : - (c === 0x20/* Space */) ? ' ' : - (c === 0x22/* " */) ? '\x22' : - (c === 0x2F/* / */) ? '/' : - (c === 0x5C/* \ */) ? '\x5C' : - (c === 0x4E/* N */) ? '\x85' : - (c === 0x5F/* _ */) ? '\xA0' : - (c === 0x4C/* L */) ? '\u2028' : - (c === 0x50/* P */) ? '\u2029' : ''; -} - -function charFromCodepoint(c) { - if (c <= 0xFFFF) { - return String.fromCharCode(c); - } - // Encode UTF-16 surrogate pair - // https://en.wikipedia.org/wiki/UTF-16#Code_points_U.2B010000_to_U.2B10FFFF - return String.fromCharCode( - ((c - 0x010000) >> 10) + 0xD800, - ((c - 0x010000) & 0x03FF) + 0xDC00 - ); -} - -var simpleEscapeCheck = new Array(256); // integer, for fast access -var simpleEscapeMap = new Array(256); -for (var i = 0; i < 256; i++) { - simpleEscapeCheck[i] = simpleEscapeSequence(i) ? 1 : 0; - simpleEscapeMap[i] = simpleEscapeSequence(i); -} - - -function State(input, options) { - this.input = input; - - this.filename = options['filename'] || null; - this.schema = options['schema'] || DEFAULT_SCHEMA; - this.onWarning = options['onWarning'] || null; - // (Hidden) Remove? makes the loader to expect YAML 1.1 documents - // if such documents have no explicit %YAML directive - 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; - - // position of first leading tab in the current line, - // used to make sure there are no tabs in the indentation - this.firstTabInLine = -1; - - this.documents = []; - - /* - this.version; - this.checkLineBreaks; - this.tagMap; - this.anchorMap; - this.tag; - this.anchor; - this.kind; - this.result;*/ - -} - - -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 === 0x09 || - (0x20 <= _character && _character <= 0x10FFFF))) { - 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; - - // The output is a plain object here, so keys can only be strings. - // We need to convert keyNode to a string, but doing so can hang the process - // (deeply nested arrays that explode exponentially using aliases). - 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]'; - } - } - } - - // Avoid code execution in load() via toString property - // (still use its own toString for arrays, timestamps, - // and whatever user schema extensions happen to have @@toStringTag) - 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'); - } - - // used for this specific key only because Object.defineProperty is slow - 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 === 0x0A/* LF */) { - state.position++; - } else if (ch === 0x0D/* CR */) { - state.position++; - if (state.input.charCodeAt(state.position) === 0x0A/* LF */) { - 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 === 0x09/* Tab */ && state.firstTabInLine === -1) { - state.firstTabInLine = state.position; - } - ch = state.input.charCodeAt(++state.position); - } - - if (allowComments && ch === 0x23/* # */) { - do { - ch = state.input.charCodeAt(++state.position); - } while (ch !== 0x0A/* LF */ && ch !== 0x0D/* CR */ && ch !== 0); - } - - if (is_EOL(ch)) { - readLineBreak(state); - - ch = state.input.charCodeAt(state.position); - lineBreaks++; - state.lineIndent = 0; - - while (ch === 0x20/* Space */) { - 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); - - // Condition state.position === state.lineStart is tested - // in parent on each call, for efficiency. No needs to test here again. - if ((ch === 0x2D/* - */ || ch === 0x2E/* . */) && - ch === state.input.charCodeAt(_position + 1) && - ch === state.input.charCodeAt(_position + 2)) { - - _position += 3; - - ch = state.input.charCodeAt(_position); + for (var i = 0; i < string.length; char >= 0x10000 ? i += 2 : i++) { + char = codePointAt(string, i); + escapeSeq = ESCAPE_SEQUENCES[char]; - if (ch === 0 || is_WS_OR_EOL(ch)) { - return true; + if (!escapeSeq && isPrintable(char)) { + result += string[i]; + if (char >= 0x10000) result += string[i + 1]; + } else { + result += escapeSeq || encodeHex(char); } } - return false; -} - -function writeFoldedLines(state, count) { - if (count === 1) { - state.result += ' '; - } else if (count > 1) { - state.result += common.repeat('\n', count - 1); - } + return result; } +function writeFlowSequence(state, level, object) { + var _result = '', + _tag = state.tag, + index, + length, + value; -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); + for (index = 0, length = object.length; index < length; index += 1) { + value = object[index]; - if (is_WS_OR_EOL(ch) || - is_FLOW_INDICATOR(ch) || - ch === 0x23/* # */ || - ch === 0x26/* & */ || - ch === 0x2A/* * */ || - ch === 0x21/* ! */ || - ch === 0x7C/* | */ || - ch === 0x3E/* > */ || - ch === 0x27/* ' */ || - ch === 0x22/* " */ || - ch === 0x25/* % */ || - ch === 0x40/* @ */ || - ch === 0x60/* ` */) { - return false; - } + if (state.replacer) { + value = state.replacer.call(object, String(index), value); + } - if (ch === 0x3F/* ? */ || ch === 0x2D/* - */) { - following = state.input.charCodeAt(state.position + 1); + // Write only valid elements, put null instead of invalid elements. + if (writeNode(state, level, value, false, false) || + (typeof value === 'undefined' && + writeNode(state, level, null, false, false))) { - if (is_WS_OR_EOL(following) || - withinFlowCollection && is_FLOW_INDICATOR(following)) { - return false; + if (_result !== '') _result += ',' + (!state.condenseFlow ? ' ' : ''); + _result += state.dump; } } - state.kind = 'scalar'; - state.result = ''; - captureStart = captureEnd = state.position; - hasPendingContent = false; - - while (ch !== 0) { - if (ch === 0x3A/* : */) { - following = state.input.charCodeAt(state.position + 1); + state.tag = _tag; + state.dump = '[' + _result + ']'; +} - if (is_WS_OR_EOL(following) || - withinFlowCollection && is_FLOW_INDICATOR(following)) { - break; - } +function writeBlockSequence(state, level, object, compact) { + var _result = '', + _tag = state.tag, + index, + length, + value; - } else if (ch === 0x23/* # */) { - preceding = state.input.charCodeAt(state.position - 1); + for (index = 0, length = object.length; index < length; index += 1) { + value = object[index]; - if (is_WS_OR_EOL(preceding)) { - break; - } + if (state.replacer) { + value = state.replacer.call(object, String(index), value); + } - } else if ((state.position === state.lineStart && testDocumentSeparator(state)) || - withinFlowCollection && is_FLOW_INDICATOR(ch)) { - break; + // Write only valid elements, put null instead of invalid elements. + if (writeNode(state, level + 1, value, true, true, false, true) || + (typeof value === 'undefined' && + writeNode(state, level + 1, null, true, true, false, true))) { - } else if (is_EOL(ch)) { - _line = state.line; - _lineStart = state.lineStart; - _lineIndent = state.lineIndent; - skipSeparationSpace(state, false, -1); + if (!compact || _result !== '') { + _result += generateNextLine(state, level); + } - if (state.lineIndent >= nodeIndent) { - hasPendingContent = true; - ch = state.input.charCodeAt(state.position); - continue; + if (state.dump && CHAR_LINE_FEED === state.dump.charCodeAt(0)) { + _result += '-'; } else { - state.position = captureEnd; - state.line = _line; - state.lineStart = _lineStart; - state.lineIndent = _lineIndent; - break; + _result += '- '; } - } - - 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; + _result += state.dump; } - - ch = state.input.charCodeAt(++state.position); - } - - captureSegment(state, captureStart, captureEnd, false); - - if (state.result) { - return true; } - state.kind = _kind; - state.result = _result; - return false; + state.tag = _tag; + state.dump = _result || '[]'; // Empty sequence if no valid values. } -function readSingleQuotedScalar(state, nodeIndent) { - var ch, - captureStart, captureEnd; - - ch = state.input.charCodeAt(state.position); - - if (ch !== 0x27/* ' */) { - return false; - } - - state.kind = 'scalar'; - state.result = ''; - state.position++; - captureStart = captureEnd = state.position; +function writeFlowMapping(state, level, object) { + var _result = '', + _tag = state.tag, + objectKeyList = Object.keys(object), + index, + length, + objectKey, + objectValue, + pairBuffer; - while ((ch = state.input.charCodeAt(state.position)) !== 0) { - if (ch === 0x27/* ' */) { - captureSegment(state, captureStart, state.position, true); - ch = state.input.charCodeAt(++state.position); + for (index = 0, length = objectKeyList.length; index < length; index += 1) { - if (ch === 0x27/* ' */) { - captureStart = state.position; - state.position++; - captureEnd = state.position; - } else { - return true; - } + pairBuffer = ''; + if (_result !== '') pairBuffer += ', '; - } else if (is_EOL(ch)) { - captureSegment(state, captureStart, captureEnd, true); - writeFoldedLines(state, skipSeparationSpace(state, false, nodeIndent)); - captureStart = captureEnd = state.position; + if (state.condenseFlow) pairBuffer += '"'; - } else if (state.position === state.lineStart && testDocumentSeparator(state)) { - throwError(state, 'unexpected end of the document within a single quoted scalar'); + objectKey = objectKeyList[index]; + objectValue = object[objectKey]; - } else { - state.position++; - captureEnd = state.position; + if (state.replacer) { + objectValue = state.replacer.call(object, objectKey, objectValue); } - } - throwError(state, 'unexpected end of the stream within a single quoted scalar'); -} + if (!writeNode(state, level, objectKey, false, false)) { + continue; // Skip this pair because of invalid key; + } -function readDoubleQuotedScalar(state, nodeIndent) { - var captureStart, - captureEnd, - hexLength, - hexResult, - tmp, - ch; + if (state.dump.length > 1024) pairBuffer += '? '; - ch = state.input.charCodeAt(state.position); + pairBuffer += state.dump + (state.condenseFlow ? '"' : '') + ':' + (state.condenseFlow ? '' : ' '); - if (ch !== 0x22/* " */) { - return false; - } + if (!writeNode(state, level, objectValue, false, false)) { + continue; // Skip this pair because of invalid value. + } - state.kind = 'scalar'; - state.result = ''; - state.position++; - captureStart = captureEnd = state.position; + pairBuffer += state.dump; - while ((ch = state.input.charCodeAt(state.position)) !== 0) { - if (ch === 0x22/* " */) { - captureSegment(state, captureStart, state.position, true); - state.position++; - return true; + // Both key and value are valid. + _result += pairBuffer; + } - } else if (ch === 0x5C/* \ */) { - captureSegment(state, captureStart, state.position, true); - ch = state.input.charCodeAt(++state.position); + state.tag = _tag; + state.dump = '{' + _result + '}'; +} - if (is_EOL(ch)) { - skipSeparationSpace(state, false, nodeIndent); +function writeBlockMapping(state, level, object, compact) { + var _result = '', + _tag = state.tag, + objectKeyList = Object.keys(object), + index, + length, + objectKey, + objectValue, + explicitPair, + pairBuffer; - // TODO: rework to inline fn with no type cast? - } else if (ch < 256 && simpleEscapeCheck[ch]) { - state.result += simpleEscapeMap[ch]; - state.position++; + // Allow sorting keys so that the output file is deterministic + if (state.sortKeys === true) { + // Default sorting + objectKeyList.sort(); + } else if (typeof state.sortKeys === 'function') { + // Custom sort function + objectKeyList.sort(state.sortKeys); + } else if (state.sortKeys) { + // Something is wrong + throw new YAMLException('sortKeys must be a boolean or a function'); + } - } else if ((tmp = escapedHexLen(ch)) > 0) { - hexLength = tmp; - hexResult = 0; + for (index = 0, length = objectKeyList.length; index < length; index += 1) { + pairBuffer = ''; - for (; hexLength > 0; hexLength--) { - ch = state.input.charCodeAt(++state.position); + if (!compact || _result !== '') { + pairBuffer += generateNextLine(state, level); + } - if ((tmp = fromHexCode(ch)) >= 0) { - hexResult = (hexResult << 4) + tmp; + objectKey = objectKeyList[index]; + objectValue = object[objectKey]; - } else { - throwError(state, 'expected hexadecimal character'); - } - } + if (state.replacer) { + objectValue = state.replacer.call(object, objectKey, objectValue); + } - state.result += charFromCodepoint(hexResult); + if (!writeNode(state, level + 1, objectKey, true, true, true)) { + continue; // Skip this pair because of invalid key. + } - state.position++; + 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 { - throwError(state, 'unknown escape sequence'); + pairBuffer += '? '; } + } - captureStart = captureEnd = state.position; + pairBuffer += state.dump; - } else if (is_EOL(ch)) { - captureSegment(state, captureStart, captureEnd, true); - writeFoldedLines(state, skipSeparationSpace(state, false, nodeIndent)); - captureStart = captureEnd = state.position; + if (explicitPair) { + pairBuffer += generateNextLine(state, level); + } - } else if (state.position === state.lineStart && testDocumentSeparator(state)) { - throwError(state, 'unexpected end of the document within a double quoted scalar'); + if (!writeNode(state, level + 1, objectValue, true, explicitPair)) { + continue; // Skip this pair because of invalid value. + } + if (state.dump && CHAR_LINE_FEED === state.dump.charCodeAt(0)) { + pairBuffer += ':'; } else { - state.position++; - captureEnd = state.position; + pairBuffer += ': '; } - } - - 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 = Object.create(null), - keyNode, - keyTag, - valueNode, - ch; - - ch = state.input.charCodeAt(state.position); - if (ch === 0x5B/* [ */) { - terminator = 0x5D;/* ] */ - isMapping = false; - _result = []; - } else if (ch === 0x7B/* { */) { - terminator = 0x7D;/* } */ - isMapping = true; - _result = {}; - } else { - return false; - } + pairBuffer += state.dump; - if (state.anchor !== null) { - state.anchorMap[state.anchor] = _result; + // Both key and value are valid. + _result += pairBuffer; } - ch = state.input.charCodeAt(++state.position); - - while (ch !== 0) { - skipSeparationSpace(state, true, nodeIndent); + state.tag = _tag; + state.dump = _result || '{}'; // Empty mapping if no valid pairs. +} - ch = state.input.charCodeAt(state.position); +function detectType(state, object, explicit) { + var _result, typeList, index, length, type, style; - 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 === 0x2C/* , */) { - // "flow collection entries can never be completely empty", as per YAML 1.2, section 7.4 - throwError(state, "expected the node content, but found ','"); - } + typeList = explicit ? state.explicitTypes : state.implicitTypes; - keyTag = keyNode = valueNode = null; - isPair = isExplicitPair = false; + for (index = 0, length = typeList.length; index < length; index += 1) { + type = typeList[index]; - if (ch === 0x3F/* ? */) { - following = state.input.charCodeAt(state.position + 1); + if ((type.instanceOf || type.predicate) && + (!type.instanceOf || ((typeof object === 'object') && (object instanceof type.instanceOf))) && + (!type.predicate || type.predicate(object))) { - if (is_WS_OR_EOL(following)) { - isPair = isExplicitPair = true; - state.position++; - skipSeparationSpace(state, true, nodeIndent); + if (explicit) { + if (type.multi && type.representName) { + state.tag = type.representName(object); + } else { + state.tag = type.tag; + } + } else { + state.tag = '?'; } - } - _line = state.line; // Save the current 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); + if (type.represent) { + style = state.styleMap[type.tag] || type.defaultStyle; - ch = state.input.charCodeAt(state.position); + 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'); + } - if ((isExplicitPair || state.line === _line) && ch === 0x3A/* : */) { - isPair = true; - ch = state.input.charCodeAt(++state.position); - skipSeparationSpace(state, true, nodeIndent); - composeNode(state, nodeIndent, CONTEXT_FLOW_IN, false, true); - valueNode = state.result; - } + state.dump = _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); + return true; } + } - skipSeparationSpace(state, true, nodeIndent); + return false; +} - ch = state.input.charCodeAt(state.position); +// Serializes `object` and writes it to global `result`. +// Returns true on success, or false on invalid object. +// +function writeNode(state, level, object, block, compact, iskey, isblockseq) { + state.tag = null; + state.dump = object; - if (ch === 0x2C/* , */) { - readNext = true; - ch = state.input.charCodeAt(++state.position); - } else { - readNext = false; - } + if (!detectType(state, object, false)) { + detectType(state, object, true); } - throwError(state, 'unexpected end of the stream within a flow collection'); -} + var type = _toString.call(state.dump); + var inblock = block; + var tagStr; -function readBlockScalar(state, nodeIndent) { - var captureStart, - folding, - chomping = CHOMPING_CLIP, - didReadContent = false, - detectedIndent = false, - textIndent = nodeIndent, - emptyLines = 0, - atMoreIndented = false, - tmp, - ch; + if (block) { + block = (state.flowLevel < 0 || state.flowLevel > level); + } - ch = state.input.charCodeAt(state.position); + var objectOrArray = type === '[object Object]' || type === '[object Array]', + duplicateIndex, + duplicate; - if (ch === 0x7C/* | */) { - folding = false; - } else if (ch === 0x3E/* > */) { - folding = true; - } else { - return false; + if (objectOrArray) { + duplicateIndex = state.duplicates.indexOf(object); + duplicate = duplicateIndex !== -1; } - state.kind = 'scalar'; - state.result = ''; - - while (ch !== 0) { - ch = state.input.charCodeAt(++state.position); + if ((state.tag !== null && state.tag !== '?') || duplicate || (state.indent !== 2 && level > 0)) { + compact = false; + } - if (ch === 0x2B/* + */ || ch === 0x2D/* - */) { - if (CHOMPING_CLIP === chomping) { - chomping = (ch === 0x2B/* + */) ? CHOMPING_KEEP : CHOMPING_STRIP; + 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 { - throwError(state, 'repeat of a chomping mode identifier'); + writeFlowMapping(state, level, state.dump); + if (duplicate) { + state.dump = '&ref_' + duplicateIndex + ' ' + state.dump; + } } - - } 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 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 { - throwError(state, 'repeat of an indentation width identifier'); + 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 { - break; + if (state.skipInvalid) return false; + throw new YAMLException('unacceptable kind of an object to dump ' + type); } - } - if (is_WHITE_SPACE(ch)) { - do { ch = state.input.charCodeAt(++state.position); } - while (is_WHITE_SPACE(ch)); + if (state.tag !== null && state.tag !== '?') { + // Need to encode all characters except those allowed by the spec: + // + // [35] ns-dec-digit ::= [#x30-#x39] /* 0-9 */ + // [36] ns-hex-digit ::= ns-dec-digit + // | [#x41-#x46] /* A-F */ | [#x61-#x66] /* a-f */ + // [37] ns-ascii-letter ::= [#x41-#x5A] /* A-Z */ | [#x61-#x7A] /* a-z */ + // [38] ns-word-char ::= ns-dec-digit | ns-ascii-letter | “-” + // [39] ns-uri-char ::= “%” ns-hex-digit ns-hex-digit | ns-word-char | “#” + // | “;” | “/” | “?” | “:” | “@” | “&” | “=” | “+” | “$” | “,” + // | “_” | “.” | “!” | “~” | “*” | “'” | “(” | “)” | “[” | “]” + // + // Also need to encode '!' because it has special meaning (end of tag prefix). + // + tagStr = encodeURI( + state.tag[0] === '!' ? state.tag.slice(1) : state.tag + ).replace(/!/g, '%21'); - if (ch === 0x23/* # */) { - do { ch = state.input.charCodeAt(++state.position); } - while (!is_EOL(ch) && (ch !== 0)); + 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; } } - while (ch !== 0) { - readLineBreak(state); - state.lineIndent = 0; + return true; +} - ch = state.input.charCodeAt(state.position); +function getDuplicateReferences(object, state) { + var objects = [], + duplicatesIndexes = [], + index, + length; - while ((!detectedIndent || state.lineIndent < textIndent) && - (ch === 0x20/* Space */)) { - state.lineIndent++; - ch = state.input.charCodeAt(++state.position); - } + inspectNode(object, objects, duplicatesIndexes); - if (!detectedIndent && state.lineIndent > textIndent) { - textIndent = state.lineIndent; - } + for (index = 0, length = duplicatesIndexes.length; index < length; index += 1) { + state.duplicates.push(objects[duplicatesIndexes[index]]); + } + state.usedDuplicates = new Array(length); +} - if (is_EOL(ch)) { - emptyLines++; - continue; - } +function inspectNode(object, objects, duplicatesIndexes) { + var objectKeyList, + index, + length; - // End of the scalar. - if (state.lineIndent < textIndent) { + 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); - // Perform the chomping. - if (chomping === CHOMPING_KEEP) { - state.result += common.repeat('\n', didReadContent ? 1 + emptyLines : emptyLines); - } else if (chomping === CHOMPING_CLIP) { - if (didReadContent) { // i.e. only if the scalar is not empty. - state.result += '\n'; + if (Array.isArray(object)) { + for (index = 0, length = object.length; index < length; index += 1) { + inspectNode(object[index], objects, duplicatesIndexes); } - } + } else { + objectKeyList = Object.keys(object); - // Break this `while` cycle and go to the funciton's epilogue. - break; + for (index = 0, length = objectKeyList.length; index < length; index += 1) { + inspectNode(object[objectKeyList[index]], objects, duplicatesIndexes); + } + } } + } +} - // Folded style: use fancy rules to handle line breaks. - if (folding) { +function dump(input, options) { + options = options || {}; - // Lines starting with white space characters (more-indented lines) are not folded. - if (is_WHITE_SPACE(ch)) { - atMoreIndented = true; - // except for the first content line (cf. Example 8.1) - state.result += common.repeat('\n', didReadContent ? 1 + emptyLines : emptyLines); + var state = new State(options); - // End of more-indented block. - } else if (atMoreIndented) { - atMoreIndented = false; - state.result += common.repeat('\n', emptyLines + 1); + if (!state.noRefs) getDuplicateReferences(input, state); - // Just one line break - perceive as the same line. - } else if (emptyLines === 0) { - if (didReadContent) { // i.e. only if we have already read some scalar content. - state.result += ' '; - } + var value = input; - // Several line breaks - perceive as different lines. - } else { - state.result += common.repeat('\n', emptyLines); - } + if (state.replacer) { + value = state.replacer.call({ '': value }, '', value); + } - // Literal style: just add exact number of line breaks between content lines. - } else { - // Keep all line breaks except the header line break. - state.result += common.repeat('\n', didReadContent ? 1 + emptyLines : emptyLines); - } + if (writeNode(state, 0, value, true, true)) return state.dump + '\n'; - didReadContent = true; - detectedIndent = true; - emptyLines = 0; - captureStart = state.position; + return ''; +} - while (!is_EOL(ch) && (ch !== 0)) { - ch = state.input.charCodeAt(++state.position); - } +module.exports.dump = dump; - 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; +/***/ 179: +/***/ ((module) => { - // there is a leading tab before this token, so it can't be a block sequence/mapping; - // it can still be flow sequence/mapping or a scalar - if (state.firstTabInLine !== -1) return false; +// YAML error class. http://stackoverflow.com/questions/8458984 +// - 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'); - } +function formatError(exception, compact) { + var where = '', message = exception.reason || '(unknown reason)'; - if (ch !== 0x2D/* - */) { - break; - } + if (!exception.mark) return message; - following = state.input.charCodeAt(state.position + 1); + if (exception.mark.name) { + where += 'in "' + exception.mark.name + '" '; + } - if (!is_WS_OR_EOL(following)) { - break; - } + where += '(' + (exception.mark.line + 1) + ':' + (exception.mark.column + 1) + ')'; - detected = true; - state.position++; + if (!compact && exception.mark.snippet) { + where += '\n\n' + exception.mark.snippet; + } - if (skipSeparationSpace(state, true, -1)) { - if (state.lineIndent <= nodeIndent) { - _result.push(null); - ch = state.input.charCodeAt(state.position); - continue; - } - } + return message + ' ' + where; +} - _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); +function YAMLException(reason, mark) { + // Super constructor + Error.call(this); - if ((state.line === _line || state.lineIndent > nodeIndent) && (ch !== 0)) { - throwError(state, 'bad indentation of a sequence entry'); - } else if (state.lineIndent < nodeIndent) { - break; - } - } + this.name = 'YAMLException'; + this.reason = reason; + this.mark = mark; + this.message = formatError(this, false); - if (detected) { - state.tag = _tag; - state.anchor = _anchor; - state.kind = 'sequence'; - state.result = _result; - return true; + // Include stack trace in error object + if (Error.captureStackTrace) { + // Chrome and NodeJS + Error.captureStackTrace(this, this.constructor); + } else { + // FF, IE 10+ and Safari 6+. Fallback for others + this.stack = (new Error()).stack || ''; } - return false; } -function readBlockMapping(state, nodeIndent, flowIndent) { - var following, - allowCompact, - _line, - _keyLine, - _keyLineStart, - _keyPos, - _tag = state.tag, - _anchor = state.anchor, - _result = {}, - overridableKeys = Object.create(null), - keyTag = null, - keyNode = null, - valueNode = null, - atExplicitKey = false, - detected = false, - ch; - // there is a leading tab before this token, so it can't be a block sequence/mapping; - // it can still be flow sequence/mapping or a scalar - if (state.firstTabInLine !== -1) return false; +// Inherit from Error +YAMLException.prototype = Object.create(Error.prototype); +YAMLException.prototype.constructor = YAMLException; - if (state.anchor !== null) { - state.anchorMap[state.anchor] = _result; - } - ch = state.input.charCodeAt(state.position); +YAMLException.prototype.toString = function toString(compact) { + return this.name + ': ' + formatError(this, compact); +}; - 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; // Save the current line. +module.exports = YAMLException; - // - // Explicit notation case. There are two separate blocks: - // first for the key (denoted by "?") and second for the value (denoted by ":") - // - if ((ch === 0x3F/* ? */ || ch === 0x3A/* : */) && is_WS_OR_EOL(following)) { - if (ch === 0x3F/* ? */) { - if (atExplicitKey) { - storeMappingPair(state, _result, overridableKeys, keyTag, keyNode, null, _keyLine, _keyLineStart, _keyPos); - keyTag = keyNode = valueNode = null; - } +/***/ }), - detected = true; - atExplicitKey = true; - allowCompact = true; +/***/ 161: +/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => { - } else if (atExplicitKey) { - // i.e. 0x3A/* : */ === character after the explicit key. - 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; +/*eslint-disable max-len,no-use-before-define*/ - // - // Implicit notation case. Flow-style node as the key first, then ":", and the value. - // - } else { - _keyLine = state.line; - _keyLineStart = state.lineStart; - _keyPos = state.position; +var common = __nccwpck_require__(829); +var YAMLException = __nccwpck_require__(179); +var makeSnippet = __nccwpck_require__(975); +var DEFAULT_SCHEMA = __nccwpck_require__(759); - if (!composeNode(state, flowIndent, CONTEXT_FLOW_OUT, false, true)) { - // Neither implicit nor explicit notation. - // Reading is done. Go to the epilogue. - break; - } - if (state.line === _line) { - ch = state.input.charCodeAt(state.position); +var _hasOwnProperty = Object.prototype.hasOwnProperty; - while (is_WHITE_SPACE(ch)) { - ch = state.input.charCodeAt(++state.position); - } - if (ch === 0x3A/* : */) { - ch = state.input.charCodeAt(++state.position); +var CONTEXT_FLOW_IN = 1; +var CONTEXT_FLOW_OUT = 2; +var CONTEXT_BLOCK_IN = 3; +var CONTEXT_BLOCK_OUT = 4; - 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; - } +var CHOMPING_CLIP = 1; +var CHOMPING_STRIP = 2; +var CHOMPING_KEEP = 3; - 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'); +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; - } else { - state.tag = _tag; - state.anchor = _anchor; - return true; // Keep the result of `composeNode`. - } - } else if (detected) { - throwError(state, 'can not read a block mapping entry; a multiline key may not be an implicit key'); +function _class(obj) { return Object.prototype.toString.call(obj); } - } else { - state.tag = _tag; - state.anchor = _anchor; - return true; // Keep the result of `composeNode`. - } - } +function is_EOL(c) { + return (c === 0x0A/* LF */) || (c === 0x0D/* CR */); +} - // - // Common reading code for both explicit and implicit notations. - // - if (state.line === _line || state.lineIndent > nodeIndent) { - if (atExplicitKey) { - _keyLine = state.line; - _keyLineStart = state.lineStart; - _keyPos = state.position; - } +function is_WHITE_SPACE(c) { + return (c === 0x09/* Tab */) || (c === 0x20/* Space */); +} - if (composeNode(state, nodeIndent, CONTEXT_BLOCK_OUT, true, allowCompact)) { - if (atExplicitKey) { - keyNode = state.result; - } else { - valueNode = state.result; - } - } +function is_WS_OR_EOL(c) { + return (c === 0x09/* Tab */) || + (c === 0x20/* Space */) || + (c === 0x0A/* LF */) || + (c === 0x0D/* CR */); +} - if (!atExplicitKey) { - storeMappingPair(state, _result, overridableKeys, keyTag, keyNode, valueNode, _keyLine, _keyLineStart, _keyPos); - keyTag = keyNode = valueNode = null; - } +function is_FLOW_INDICATOR(c) { + return c === 0x2C/* , */ || + c === 0x5B/* [ */ || + c === 0x5D/* ] */ || + c === 0x7B/* { */ || + c === 0x7D/* } */; +} - skipSeparationSpace(state, true, -1); - ch = state.input.charCodeAt(state.position); - } +function fromHexCode(c) { + var lc; - if ((state.line === _line || state.lineIndent > nodeIndent) && (ch !== 0)) { - throwError(state, 'bad indentation of a mapping entry'); - } else if (state.lineIndent < nodeIndent) { - break; - } + if ((0x30/* 0 */ <= c) && (c <= 0x39/* 9 */)) { + return c - 0x30; } - // - // Epilogue. - // - - // Special case: last mapping's node contains only the key in explicit notation. - if (atExplicitKey) { - storeMappingPair(state, _result, overridableKeys, keyTag, keyNode, null, _keyLine, _keyLineStart, _keyPos); - } + /*eslint-disable no-bitwise*/ + lc = c | 0x20; - // Expose the resulting mapping. - if (detected) { - state.tag = _tag; - state.anchor = _anchor; - state.kind = 'mapping'; - state.result = _result; + if ((0x61/* a */ <= lc) && (lc <= 0x66/* f */)) { + return lc - 0x61 + 10; } - return detected; + return -1; } -function readTagProperty(state) { - var _position, - isVerbatim = false, - isNamed = false, - tagHandle, - tagName, - ch; - - ch = state.input.charCodeAt(state.position); - - if (ch !== 0x21/* ! */) return false; +function escapedHexLen(c) { + if (c === 0x78/* x */) { return 2; } + if (c === 0x75/* u */) { return 4; } + if (c === 0x55/* U */) { return 8; } + return 0; +} - if (state.tag !== null) { - throwError(state, 'duplication of a tag property'); +function fromDecimalCode(c) { + if ((0x30/* 0 */ <= c) && (c <= 0x39/* 9 */)) { + return c - 0x30; } - ch = state.input.charCodeAt(++state.position); - - if (ch === 0x3C/* < */) { - isVerbatim = true; - ch = state.input.charCodeAt(++state.position); + return -1; +} - } else if (ch === 0x21/* ! */) { - isNamed = true; - tagHandle = '!!'; - ch = state.input.charCodeAt(++state.position); +function simpleEscapeSequence(c) { + /* eslint-disable indent */ + return (c === 0x30/* 0 */) ? '\x00' : + (c === 0x61/* a */) ? '\x07' : + (c === 0x62/* b */) ? '\x08' : + (c === 0x74/* t */) ? '\x09' : + (c === 0x09/* Tab */) ? '\x09' : + (c === 0x6E/* n */) ? '\x0A' : + (c === 0x76/* v */) ? '\x0B' : + (c === 0x66/* f */) ? '\x0C' : + (c === 0x72/* r */) ? '\x0D' : + (c === 0x65/* e */) ? '\x1B' : + (c === 0x20/* Space */) ? ' ' : + (c === 0x22/* " */) ? '\x22' : + (c === 0x2F/* / */) ? '/' : + (c === 0x5C/* \ */) ? '\x5C' : + (c === 0x4E/* N */) ? '\x85' : + (c === 0x5F/* _ */) ? '\xA0' : + (c === 0x4C/* L */) ? '\u2028' : + (c === 0x50/* P */) ? '\u2029' : ''; +} - } else { - tagHandle = '!'; +function charFromCodepoint(c) { + if (c <= 0xFFFF) { + return String.fromCharCode(c); } + // Encode UTF-16 surrogate pair + // https://en.wikipedia.org/wiki/UTF-16#Code_points_U.2B010000_to_U.2B10FFFF + return String.fromCharCode( + ((c - 0x010000) >> 10) + 0xD800, + ((c - 0x010000) & 0x03FF) + 0xDC00 + ); +} - _position = state.position; +var simpleEscapeCheck = new Array(256); // integer, for fast access +var simpleEscapeMap = new Array(256); +for (var i = 0; i < 256; i++) { + simpleEscapeCheck[i] = simpleEscapeSequence(i) ? 1 : 0; + simpleEscapeMap[i] = simpleEscapeSequence(i); +} - if (isVerbatim) { - do { ch = state.input.charCodeAt(++state.position); } - while (ch !== 0 && ch !== 0x3E/* > */); - 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)) { +function State(input, options) { + this.input = input; - if (ch === 0x21/* ! */) { - if (!isNamed) { - tagHandle = state.input.slice(_position - 1, state.position + 1); + this.filename = options['filename'] || null; + this.schema = options['schema'] || DEFAULT_SCHEMA; + this.onWarning = options['onWarning'] || null; + // (Hidden) Remove? makes the loader to expect YAML 1.1 documents + // if such documents have no explicit %YAML directive + this.legacy = options['legacy'] || false; - if (!PATTERN_TAG_HANDLE.test(tagHandle)) { - throwError(state, 'named tag handle cannot contain such characters'); - } + this.json = options['json'] || false; + this.listener = options['listener'] || null; - isNamed = true; - _position = state.position + 1; - } else { - throwError(state, 'tag suffix cannot contain exclamation marks'); - } - } + this.implicitTypes = this.schema.compiledImplicit; + this.typeMap = this.schema.compiledTypeMap; - ch = state.input.charCodeAt(++state.position); - } + this.length = input.length; + this.position = 0; + this.line = 0; + this.lineStart = 0; + this.lineIndent = 0; - tagName = state.input.slice(_position, state.position); + // position of first leading tab in the current line, + // used to make sure there are no tabs in the indentation + this.firstTabInLine = -1; - if (PATTERN_FLOW_INDICATORS.test(tagName)) { - throwError(state, 'tag suffix cannot contain flow indicator characters'); - } - } + this.documents = []; - if (tagName && !PATTERN_TAG_URI.test(tagName)) { - throwError(state, 'tag name cannot contain such characters: ' + tagName); - } + /* + this.version; + this.checkLineBreaks; + this.tagMap; + this.anchorMap; + this.tag; + this.anchor; + this.kind; + this.result;*/ - 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; +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 + }; - } else if (tagHandle === '!') { - state.tag = '!' + tagName; + mark.snippet = makeSnippet(mark); - } else if (tagHandle === '!!') { - state.tag = 'tag:yaml.org,2002:' + tagName; + return new YAMLException(message, mark); +} - } else { - throwError(state, 'undeclared tag handle "' + tagHandle + '"'); - } +function throwError(state, message) { + throw generateError(state, message); +} - return true; +function throwWarning(state, message) { + if (state.onWarning) { + state.onWarning.call(null, generateError(state, message)); + } } -function readAnchorProperty(state) { - var _position, - ch; - ch = state.input.charCodeAt(state.position); +var directiveHandlers = { - if (ch !== 0x26/* & */) return false; + YAML: function handleYamlDirective(state, name, args) { - if (state.anchor !== null) { - throwError(state, 'duplication of an anchor property'); - } + var match, major, minor; - ch = state.input.charCodeAt(++state.position); - _position = state.position; + if (state.version !== null) { + throwError(state, 'duplication of %YAML directive'); + } - while (ch !== 0 && !is_WS_OR_EOL(ch) && !is_FLOW_INDICATOR(ch)) { - ch = state.input.charCodeAt(++state.position); - } + if (args.length !== 1) { + throwError(state, 'YAML directive accepts exactly one argument'); + } - if (state.position === _position) { - throwError(state, 'name of an anchor node must contain at least one character'); - } + match = /^([0-9]+)\.([0-9]+)$/.exec(args[0]); - state.anchor = state.input.slice(_position, state.position); - return true; -} + if (match === null) { + throwError(state, 'ill-formed argument of the YAML directive'); + } -function readAlias(state) { - var _position, alias, - ch; + major = parseInt(match[1], 10); + minor = parseInt(match[2], 10); - ch = state.input.charCodeAt(state.position); + if (major !== 1) { + throwError(state, 'unacceptable YAML version of the document'); + } - if (ch !== 0x2A/* * */) return false; + state.version = args[0]; + state.checkLineBreaks = (minor < 2); - ch = state.input.charCodeAt(++state.position); - _position = state.position; + if (minor !== 1 && minor !== 2) { + throwWarning(state, 'unsupported YAML version of the document'); + } + }, - while (ch !== 0 && !is_WS_OR_EOL(ch) && !is_FLOW_INDICATOR(ch)) { - ch = state.input.charCodeAt(++state.position); - } + TAG: function handleTagDirective(state, name, args) { - if (state.position === _position) { - throwError(state, 'name of an alias node must contain at least one character'); - } + var handle, prefix; - alias = state.input.slice(_position, state.position); + if (args.length !== 2) { + throwError(state, 'TAG directive accepts exactly two arguments'); + } - if (!_hasOwnProperty.call(state.anchorMap, alias)) { - throwError(state, 'unidentified alias "' + alias + '"'); - } + handle = args[0]; + prefix = args[1]; - state.result = state.anchorMap[alias]; - skipSeparationSpace(state, true, -1); - return true; -} + if (!PATTERN_TAG_HANDLE.test(handle)) { + throwError(state, 'ill-formed tag handle (first argument) of the TAG directive'); + } -function composeNode(state, parentIndent, nodeContext, allowToSeek, allowCompact) { - var allowBlockStyles, - allowBlockScalars, - allowBlockCollections, - indentStatus = 1, // 1: this>parent, 0: this=parent, -1: this parentIndent) { - indentStatus = 1; - } else if (state.lineIndent === parentIndent) { - indentStatus = 0; - } else if (state.lineIndent < parentIndent) { - indentStatus = -1; - } - } - } +function captureSegment(state, start, end, checkJson) { + var _position, _length, _character, _result; - if (indentStatus === 1) { - while (readTagProperty(state) || readAnchorProperty(state)) { - if (skipSeparationSpace(state, true, -1)) { - atNewLine = true; - allowBlockCollections = allowBlockStyles; + if (start < end) { + _result = state.input.slice(start, end); - if (state.lineIndent > parentIndent) { - indentStatus = 1; - } else if (state.lineIndent === parentIndent) { - indentStatus = 0; - } else if (state.lineIndent < parentIndent) { - indentStatus = -1; + if (checkJson) { + for (_position = 0, _length = _result.length; _position < _length; _position += 1) { + _character = _result.charCodeAt(_position); + if (!(_character === 0x09 || + (0x20 <= _character && _character <= 0x10FFFF))) { + throwError(state, 'expected valid JSON character'); } - } else { - allowBlockCollections = false; } + } else if (PATTERN_NON_PRINTABLE.test(_result)) { + throwError(state, 'the stream contains non-printable characters'); } + + state.result += _result; } +} - if (allowBlockCollections) { - allowBlockCollections = atNewLine || allowCompact; +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'); } - if (indentStatus === 1 || CONTEXT_BLOCK_OUT === nodeContext) { - if (CONTEXT_FLOW_IN === nodeContext || CONTEXT_FLOW_OUT === nodeContext) { - flowIndent = parentIndent; - } else { - flowIndent = parentIndent + 1; - } + sourceKeys = Object.keys(source); - blockIndent = state.position - state.lineStart; + for (index = 0, quantity = sourceKeys.length; index < quantity; index += 1) { + key = sourceKeys[index]; - 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; + if (!_hasOwnProperty.call(destination, key)) { + destination[key] = source[key]; + overridableKeys[key] = true; + } + } +} - } else if (readAlias(state)) { - hasContent = true; +function storeMappingPair(state, _result, overridableKeys, keyTag, keyNode, valueNode, + startLine, startLineStart, startPos) { - if (state.tag !== null || state.anchor !== null) { - throwError(state, 'alias node should not have any properties'); - } + var index, quantity; - } else if (readPlainScalar(state, flowIndent, CONTEXT_FLOW_IN === nodeContext)) { - hasContent = true; + // The output is a plain object here, so keys can only be strings. + // We need to convert keyNode to a string, but doing so can hang the process + // (deeply nested arrays that explode exponentially using aliases). + if (Array.isArray(keyNode)) { + keyNode = Array.prototype.slice.call(keyNode); - if (state.tag === null) { - state.tag = '?'; - } - } + 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 (state.anchor !== null) { - state.anchorMap[state.anchor] = state.result; - } + if (typeof keyNode === 'object' && _class(keyNode[index]) === '[object Object]') { + keyNode[index] = '[object Object]'; } - } else if (indentStatus === 0) { - // Special case: block sequences are allowed to have same indentation level as the parent. - // http://www.yaml.org/spec/1.2/spec.html#id2799784 - hasContent = allowBlockCollections && readBlockSequence(state, blockIndent); } } - if (state.tag === null) { - if (state.anchor !== null) { - state.anchorMap[state.anchor] = state.result; - } + // Avoid code execution in load() via toString property + // (still use its own toString for arrays, timestamps, + // and whatever user schema extensions happen to have @@toStringTag) + if (typeof keyNode === 'object' && _class(keyNode) === '[object Object]') { + keyNode = '[object Object]'; + } - } else if (state.tag === '?') { - // Implicit resolving is not allowed for non-scalar types, and '?' - // non-specific tag is only automatically assigned to plain scalars. - // - // We only need to check kind conformity in case user explicitly assigns '?' - // tag, for example like this: "! [0]" - // - 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]; + keyNode = String(keyNode); - if (type.resolve(state.result)) { // `state.result` updated in resolver if matched - state.result = type.construct(state.result); - state.tag = type.tag; - if (state.anchor !== null) { - state.anchorMap[state.anchor] = state.result; - } - break; + 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.tag !== '!') { - if (_hasOwnProperty.call(state.typeMap[state.kind || 'fallback'], state.tag)) { - type = state.typeMap[state.kind || 'fallback'][state.tag]; + } 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'); + } + + // used for this specific key only because Object.defineProperty is slow + if (keyNode === '__proto__') { + Object.defineProperty(_result, keyNode, { + configurable: true, + enumerable: true, + writable: true, + value: valueNode + }); } else { - // looking for multi type - type = null; - typeList = state.typeMap.multi[state.kind || 'fallback']; + _result[keyNode] = valueNode; + } + delete overridableKeys[keyNode]; + } - 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; - } - } + return _result; +} + +function readLineBreak(state) { + var ch; + + ch = state.input.charCodeAt(state.position); + + if (ch === 0x0A/* LF */) { + state.position++; + } else if (ch === 0x0D/* CR */) { + state.position++; + if (state.input.charCodeAt(state.position) === 0x0A/* LF */) { + state.position++; } + } else { + throwError(state, 'a line break is expected'); + } - if (!type) { - throwError(state, 'unknown tag !<' + state.tag + '>'); + 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 === 0x09/* Tab */ && state.firstTabInLine === -1) { + state.firstTabInLine = state.position; + } + ch = state.input.charCodeAt(++state.position); } - 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 (allowComments && ch === 0x23/* # */) { + do { + ch = state.input.charCodeAt(++state.position); + } while (ch !== 0x0A/* LF */ && ch !== 0x0D/* CR */ && ch !== 0); } - if (!type.resolve(state.result, state.tag)) { // `state.result` updated in resolver if matched - 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 (is_EOL(ch)) { + readLineBreak(state); + + ch = state.input.charCodeAt(state.position); + lineBreaks++; + state.lineIndent = 0; + + while (ch === 0x20/* Space */) { + state.lineIndent++; + ch = state.input.charCodeAt(++state.position); } + } else { + break; } } - if (state.listener !== null) { - state.listener('close', state); + if (checkIndent !== -1 && lineBreaks !== 0 && state.lineIndent < checkIndent) { + throwWarning(state, 'deficient indentation'); } - return state.tag !== null || state.anchor !== null || hasContent; + + return lineBreaks; } -function readDocument(state) { - var documentStart = state.position, - _position, - directiveName, - directiveArgs, - hasDirectives = false, +function testDocumentSeparator(state) { + var _position = state.position, ch; - state.version = null; - state.checkLineBreaks = state.legacy; - state.tagMap = Object.create(null); - state.anchorMap = Object.create(null); + ch = state.input.charCodeAt(_position); + + // Condition state.position === state.lineStart is tested + // in parent on each call, for efficiency. No needs to test here again. + if ((ch === 0x2D/* - */ || ch === 0x2E/* . */) && + 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); + } +} + - while ((ch = state.input.charCodeAt(state.position)) !== 0) { - skipSeparationSpace(state, true, -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); + ch = state.input.charCodeAt(state.position); - if (state.lineIndent > 0 || ch !== 0x25/* % */) { - break; - } + if (is_WS_OR_EOL(ch) || + is_FLOW_INDICATOR(ch) || + ch === 0x23/* # */ || + ch === 0x26/* & */ || + ch === 0x2A/* * */ || + ch === 0x21/* ! */ || + ch === 0x7C/* | */ || + ch === 0x3E/* > */ || + ch === 0x27/* ' */ || + ch === 0x22/* " */ || + ch === 0x25/* % */ || + ch === 0x40/* @ */ || + ch === 0x60/* ` */) { + return false; + } - hasDirectives = true; - ch = state.input.charCodeAt(++state.position); - _position = state.position; + if (ch === 0x3F/* ? */ || ch === 0x2D/* - */) { + following = state.input.charCodeAt(state.position + 1); - while (ch !== 0 && !is_WS_OR_EOL(ch)) { - ch = state.input.charCodeAt(++state.position); + if (is_WS_OR_EOL(following) || + withinFlowCollection && is_FLOW_INDICATOR(following)) { + return false; } + } - directiveName = state.input.slice(_position, state.position); - directiveArgs = []; + state.kind = 'scalar'; + state.result = ''; + captureStart = captureEnd = state.position; + hasPendingContent = false; - if (directiveName.length < 1) { - throwError(state, 'directive name must not be less than one character in length'); - } + while (ch !== 0) { + if (ch === 0x3A/* : */) { + following = state.input.charCodeAt(state.position + 1); - while (ch !== 0) { - while (is_WHITE_SPACE(ch)) { - ch = state.input.charCodeAt(++state.position); + if (is_WS_OR_EOL(following) || + withinFlowCollection && is_FLOW_INDICATOR(following)) { + break; } - if (ch === 0x23/* # */) { - do { ch = state.input.charCodeAt(++state.position); } - while (ch !== 0 && !is_EOL(ch)); + } else if (ch === 0x23/* # */) { + preceding = state.input.charCodeAt(state.position - 1); + + if (is_WS_OR_EOL(preceding)) { break; } - if (is_EOL(ch)) break; + } else if ((state.position === state.lineStart && testDocumentSeparator(state)) || + withinFlowCollection && is_FLOW_INDICATOR(ch)) { + break; - _position = state.position; + } else if (is_EOL(ch)) { + _line = state.line; + _lineStart = state.lineStart; + _lineIndent = state.lineIndent; + skipSeparationSpace(state, false, -1); - while (ch !== 0 && !is_WS_OR_EOL(ch)) { - ch = state.input.charCodeAt(++state.position); + 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; } - - directiveArgs.push(state.input.slice(_position, state.position)); } - if (ch !== 0) readLineBreak(state); + if (hasPendingContent) { + captureSegment(state, captureStart, captureEnd, false); + writeFoldedLines(state, state.line - _line); + captureStart = captureEnd = state.position; + hasPendingContent = false; + } - if (_hasOwnProperty.call(directiveHandlers, directiveName)) { - directiveHandlers[directiveName](state, directiveName, directiveArgs); - } else { - throwWarning(state, 'unknown document directive "' + directiveName + '"'); + if (!is_WHITE_SPACE(ch)) { + captureEnd = state.position + 1; } - } - skipSeparationSpace(state, true, -1); + ch = state.input.charCodeAt(++state.position); + } - if (state.lineIndent === 0 && - state.input.charCodeAt(state.position) === 0x2D/* - */ && - state.input.charCodeAt(state.position + 1) === 0x2D/* - */ && - state.input.charCodeAt(state.position + 2) === 0x2D/* - */) { - state.position += 3; - skipSeparationSpace(state, true, -1); + captureSegment(state, captureStart, captureEnd, false); - } else if (hasDirectives) { - throwError(state, 'directives end mark is expected'); + if (state.result) { + return true; } - composeNode(state, state.lineIndent - 1, CONTEXT_BLOCK_OUT, false, true); - skipSeparationSpace(state, true, -1); + state.kind = _kind; + state.result = _result; + return false; +} - 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'); +function readSingleQuotedScalar(state, nodeIndent) { + var ch, + captureStart, captureEnd; + + ch = state.input.charCodeAt(state.position); + + if (ch !== 0x27/* ' */) { + return false; } - state.documents.push(state.result); + state.kind = 'scalar'; + state.result = ''; + state.position++; + captureStart = captureEnd = state.position; - if (state.position === state.lineStart && testDocumentSeparator(state)) { + while ((ch = state.input.charCodeAt(state.position)) !== 0) { + if (ch === 0x27/* ' */) { + captureSegment(state, captureStart, state.position, true); + ch = state.input.charCodeAt(++state.position); - if (state.input.charCodeAt(state.position) === 0x2E/* . */) { - state.position += 3; - skipSeparationSpace(state, true, -1); + if (ch === 0x27/* ' */) { + 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; } - return; } - if (state.position < (state.length - 1)) { - throwError(state, 'end of the stream or a document separator is expected'); - } else { - return; - } + 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); -function loadDocuments(input, options) { - input = String(input); - options = options || {}; + if (ch !== 0x22/* " */) { + return false; + } - if (input.length !== 0) { + state.kind = 'scalar'; + state.result = ''; + state.position++; + captureStart = captureEnd = state.position; - // Add tailing `\n` if not exists - if (input.charCodeAt(input.length - 1) !== 0x0A/* LF */ && - input.charCodeAt(input.length - 1) !== 0x0D/* CR */) { - input += '\n'; - } + while ((ch = state.input.charCodeAt(state.position)) !== 0) { + if (ch === 0x22/* " */) { + captureSegment(state, captureStart, state.position, true); + state.position++; + return true; - // Strip BOM - if (input.charCodeAt(0) === 0xFEFF) { - input = input.slice(1); - } - } + } else if (ch === 0x5C/* \ */) { + captureSegment(state, captureStart, state.position, true); + ch = state.input.charCodeAt(++state.position); - var state = new State(input, options); + if (is_EOL(ch)) { + skipSeparationSpace(state, false, nodeIndent); - var nullpos = input.indexOf('\0'); + // TODO: rework to inline fn with no type cast? + } else if (ch < 256 && simpleEscapeCheck[ch]) { + state.result += simpleEscapeMap[ch]; + state.position++; - if (nullpos !== -1) { - state.position = nullpos; - throwError(state, 'null byte is not allowed in input'); - } + } else if ((tmp = escapedHexLen(ch)) > 0) { + hexLength = tmp; + hexResult = 0; - // Use 0 as string terminator. That significantly simplifies bounds check. - state.input += '\0'; + for (; hexLength > 0; hexLength--) { + ch = state.input.charCodeAt(++state.position); - while (state.input.charCodeAt(state.position) === 0x20/* Space */) { - state.lineIndent += 1; - state.position += 1; - } + if ((tmp = fromHexCode(ch)) >= 0) { + hexResult = (hexResult << 4) + tmp; + + } else { + throwError(state, 'expected hexadecimal character'); + } + } + + state.result += charFromCodepoint(hexResult); - while (state.position < (state.length - 1)) { - readDocument(state); - } + state.position++; - return state.documents; -} + } else { + throwError(state, 'unknown escape sequence'); + } + captureStart = captureEnd = state.position; -function loadAll(input, iterator, options) { - if (iterator !== null && typeof iterator === 'object' && typeof options === 'undefined') { - options = iterator; - iterator = null; - } + } else if (is_EOL(ch)) { + captureSegment(state, captureStart, captureEnd, true); + writeFoldedLines(state, skipSeparationSpace(state, false, nodeIndent)); + captureStart = captureEnd = state.position; - var documents = loadDocuments(input, options); + } else if (state.position === state.lineStart && testDocumentSeparator(state)) { + throwError(state, 'unexpected end of the document within a double quoted scalar'); - if (typeof iterator !== 'function') { - return documents; + } else { + state.position++; + captureEnd = state.position; + } } - for (var index = 0, length = documents.length; index < length; index += 1) { - iterator(documents[index]); - } + 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 = Object.create(null), + keyNode, + keyTag, + valueNode, + ch; -function load(input, options) { - var documents = loadDocuments(input, options); + ch = state.input.charCodeAt(state.position); - if (documents.length === 0) { - /*eslint-disable no-undefined*/ - return undefined; - } else if (documents.length === 1) { - return documents[0]; + if (ch === 0x5B/* [ */) { + terminator = 0x5D;/* ] */ + isMapping = false; + _result = []; + } else if (ch === 0x7B/* { */) { + terminator = 0x7D;/* } */ + isMapping = true; + _result = {}; + } else { + return false; } - throw new YAMLException('expected a single document in the stream, but found more'); -} + if (state.anchor !== null) { + state.anchorMap[state.anchor] = _result; + } -module.exports.loadAll = loadAll; -module.exports.load = load; + ch = state.input.charCodeAt(++state.position); + while (ch !== 0) { + skipSeparationSpace(state, true, nodeIndent); -/***/ }), + ch = state.input.charCodeAt(state.position); -/***/ 1082: -/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => { + 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 === 0x2C/* , */) { + // "flow collection entries can never be completely empty", as per YAML 1.2, section 7.4 + throwError(state, "expected the node content, but found ','"); + } -"use strict"; + keyTag = keyNode = valueNode = null; + isPair = isExplicitPair = false; + if (ch === 0x3F/* ? */) { + following = state.input.charCodeAt(state.position + 1); -/*eslint-disable max-len*/ + if (is_WS_OR_EOL(following)) { + isPair = isExplicitPair = true; + state.position++; + skipSeparationSpace(state, true, nodeIndent); + } + } -var YAMLException = __nccwpck_require__(8179); -var Type = __nccwpck_require__(6073); + _line = state.line; // Save the current 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); -function compileList(schema, name) { - var result = []; + if ((isExplicitPair || state.line === _line) && ch === 0x3A/* : */) { + isPair = true; + ch = state.input.charCodeAt(++state.position); + skipSeparationSpace(state, true, nodeIndent); + composeNode(state, nodeIndent, CONTEXT_FLOW_IN, false, true); + valueNode = state.result; + } - schema[name].forEach(function (currentType) { - var newIndex = result.length; + 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); + } - result.forEach(function (previousType, previousIndex) { - if (previousType.tag === currentType.tag && - previousType.kind === currentType.kind && - previousType.multi === currentType.multi) { + skipSeparationSpace(state, true, nodeIndent); - newIndex = previousIndex; - } - }); + ch = state.input.charCodeAt(state.position); - result[newIndex] = currentType; - }); + if (ch === 0x2C/* , */) { + readNext = true; + ch = state.input.charCodeAt(++state.position); + } else { + readNext = false; + } + } - return result; + 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; -function compileMap(/* lists... */) { - var result = { - scalar: {}, - sequence: {}, - mapping: {}, - fallback: {}, - multi: { - scalar: [], - sequence: [], - mapping: [], - fallback: [] - } - }, index, length; + ch = state.input.charCodeAt(state.position); - 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; - } + if (ch === 0x7C/* | */) { + folding = false; + } else if (ch === 0x3E/* > */) { + folding = true; + } else { + return false; } - for (index = 0, length = arguments.length; index < length; index += 1) { - arguments[index].forEach(collectType); - } - return result; -} + state.kind = 'scalar'; + state.result = ''; + while (ch !== 0) { + ch = state.input.charCodeAt(++state.position); -function Schema(definition) { - return this.extend(definition); -} + if (ch === 0x2B/* + */ || ch === 0x2D/* - */) { + if (CHOMPING_CLIP === chomping) { + chomping = (ch === 0x2B/* + */) ? 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'); + } -Schema.prototype.extend = function extend(definition) { - var implicit = []; - var explicit = []; + } else { + break; + } + } - if (definition instanceof Type) { - // Schema.extend(type) - explicit.push(definition); + if (is_WHITE_SPACE(ch)) { + do { ch = state.input.charCodeAt(++state.position); } + while (is_WHITE_SPACE(ch)); - } else if (Array.isArray(definition)) { - // Schema.extend([ type1, type2, ... ]) - explicit = explicit.concat(definition); + if (ch === 0x23/* # */) { + do { ch = state.input.charCodeAt(++state.position); } + while (!is_EOL(ch) && (ch !== 0)); + } + } - } else if (definition && (Array.isArray(definition.implicit) || Array.isArray(definition.explicit))) { - // Schema.extend({ explicit: [ type1, type2, ... ], implicit: [ type1, type2, ... ] }) - if (definition.implicit) implicit = implicit.concat(definition.implicit); - if (definition.explicit) explicit = explicit.concat(definition.explicit); + while (ch !== 0) { + readLineBreak(state); + state.lineIndent = 0; - } else { - throw new YAMLException('Schema.extend argument should be a Type, [ Type ], ' + - 'or a schema definition ({ implicit: [...], explicit: [...] })'); - } + ch = state.input.charCodeAt(state.position); - 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.'); + while ((!detectedIndent || state.lineIndent < textIndent) && + (ch === 0x20/* Space */)) { + state.lineIndent++; + ch = state.input.charCodeAt(++state.position); } - 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 (!detectedIndent && state.lineIndent > textIndent) { + textIndent = state.lineIndent; } - 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.'); + if (is_EOL(ch)) { + emptyLines++; + continue; } - }); - 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.'); + // End of the scalar. + if (state.lineIndent < textIndent) { + + // Perform the chomping. + if (chomping === CHOMPING_KEEP) { + state.result += common.repeat('\n', didReadContent ? 1 + emptyLines : emptyLines); + } else if (chomping === CHOMPING_CLIP) { + if (didReadContent) { // i.e. only if the scalar is not empty. + state.result += '\n'; + } + } + + // Break this `while` cycle and go to the funciton's epilogue. + break; } - }); - var result = Object.create(Schema.prototype); + // Folded style: use fancy rules to handle line breaks. + if (folding) { - result.implicit = (this.implicit || []).concat(implicit); - result.explicit = (this.explicit || []).concat(explicit); + // Lines starting with white space characters (more-indented lines) are not folded. + if (is_WHITE_SPACE(ch)) { + atMoreIndented = true; + // except for the first content line (cf. Example 8.1) + state.result += common.repeat('\n', didReadContent ? 1 + emptyLines : emptyLines); - result.compiledImplicit = compileList(result, 'implicit'); - result.compiledExplicit = compileList(result, 'explicit'); - result.compiledTypeMap = compileMap(result.compiledImplicit, result.compiledExplicit); + // End of more-indented block. + } else if (atMoreIndented) { + atMoreIndented = false; + state.result += common.repeat('\n', emptyLines + 1); - return result; -}; + // Just one line break - perceive as the same line. + } else if (emptyLines === 0) { + if (didReadContent) { // i.e. only if we have already read some scalar content. + state.result += ' '; + } + + // Several line breaks - perceive as different lines. + } else { + state.result += common.repeat('\n', emptyLines); + } + // Literal style: just add exact number of line breaks between content lines. + } else { + // Keep all line breaks except the header line break. + state.result += common.repeat('\n', didReadContent ? 1 + emptyLines : emptyLines); + } -module.exports = Schema; + 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); + } -/***/ 2011: -/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => { + return true; +} -"use strict"; -// Standard YAML's Core schema. -// http://www.yaml.org/spec/1.2/spec.html#id2804923 -// -// NOTE: JS-YAML does not support schema-specific tag resolution restrictions. -// So, Core schema has no distinctions from JSON schema is JS-YAML. +function readBlockSequence(state, nodeIndent) { + var _line, + _tag = state.tag, + _anchor = state.anchor, + _result = [], + following, + detected = false, + ch; + // there is a leading tab before this token, so it can't be a block sequence/mapping; + // it can still be flow sequence/mapping or a scalar + 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'); + } -module.exports = __nccwpck_require__(1035); + if (ch !== 0x2D/* - */) { + break; + } + following = state.input.charCodeAt(state.position + 1); -/***/ }), + if (!is_WS_OR_EOL(following)) { + break; + } -/***/ 8759: -/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => { + detected = true; + state.position++; -"use strict"; -// JS-YAML's default schema for `safeLoad` function. -// It is not described in the YAML specification. -// -// This schema is based on standard YAML's Core schema and includes most of -// extra types described at YAML tag repository. (http://yaml.org/type/) + 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; +} -module.exports = __nccwpck_require__(2011).extend({ - implicit: [ - __nccwpck_require__(9212), - __nccwpck_require__(6104) - ], - explicit: [ - __nccwpck_require__(7900), - __nccwpck_require__(9046), - __nccwpck_require__(6860), - __nccwpck_require__(9548) - ] -}); +function readBlockMapping(state, nodeIndent, flowIndent) { + var following, + allowCompact, + _line, + _keyLine, + _keyLineStart, + _keyPos, + _tag = state.tag, + _anchor = state.anchor, + _result = {}, + overridableKeys = Object.create(null), + keyTag = null, + keyNode = null, + valueNode = null, + atExplicitKey = false, + detected = false, + ch; + // there is a leading tab before this token, so it can't be a block sequence/mapping; + // it can still be flow sequence/mapping or a scalar + if (state.firstTabInLine !== -1) return false; -/***/ }), + if (state.anchor !== null) { + state.anchorMap[state.anchor] = _result; + } -/***/ 8562: -/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => { + ch = state.input.charCodeAt(state.position); -"use strict"; -// Standard YAML's Failsafe schema. -// http://www.yaml.org/spec/1.2/spec.html#id2802346 + 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; // Save the current line. + // + // Explicit notation case. There are two separate blocks: + // first for the key (denoted by "?") and second for the value (denoted by ":") + // + if ((ch === 0x3F/* ? */ || ch === 0x3A/* : */) && is_WS_OR_EOL(following)) { + if (ch === 0x3F/* ? */) { + if (atExplicitKey) { + storeMappingPair(state, _result, overridableKeys, keyTag, keyNode, null, _keyLine, _keyLineStart, _keyPos); + keyTag = keyNode = valueNode = null; + } + detected = true; + atExplicitKey = true; + allowCompact = true; -var Schema = __nccwpck_require__(1082); + } else if (atExplicitKey) { + // i.e. 0x3A/* : */ === character after the explicit key. + atExplicitKey = false; + allowCompact = true; + } else { + throwError(state, 'incomplete explicit mapping pair; a key node is missed; or followed by a non-tabulated empty line'); + } -module.exports = new Schema({ - explicit: [ - __nccwpck_require__(3619), - __nccwpck_require__(7283), - __nccwpck_require__(6150) - ] -}); + state.position += 1; + ch = following; + // + // Implicit notation case. Flow-style node as the key first, then ":", and the value. + // + } else { + _keyLine = state.line; + _keyLineStart = state.lineStart; + _keyPos = state.position; -/***/ }), + if (!composeNode(state, flowIndent, CONTEXT_FLOW_OUT, false, true)) { + // Neither implicit nor explicit notation. + // Reading is done. Go to the epilogue. + break; + } -/***/ 1035: -/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => { + if (state.line === _line) { + ch = state.input.charCodeAt(state.position); -"use strict"; -// Standard YAML's JSON schema. -// http://www.yaml.org/spec/1.2/spec.html#id2803231 -// -// NOTE: JS-YAML does not support schema-specific tag resolution restrictions. -// So, this schema is not such strict as defined in the YAML specification. -// It allows numbers in binary notaion, use `Null` and `NULL` as `null`, etc. + while (is_WHITE_SPACE(ch)) { + ch = state.input.charCodeAt(++state.position); + } + if (ch === 0x3A/* : */) { + 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; -module.exports = __nccwpck_require__(8562).extend({ - implicit: [ - __nccwpck_require__(721), - __nccwpck_require__(4993), - __nccwpck_require__(1615), - __nccwpck_require__(2705) - ] -}); + } 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; // Keep the result of `composeNode`. + } -/***/ }), + } else if (detected) { + throwError(state, 'can not read a block mapping entry; a multiline key may not be an implicit key'); -/***/ 6975: -/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => { + } else { + state.tag = _tag; + state.anchor = _anchor; + return true; // Keep the result of `composeNode`. + } + } -"use strict"; + // + // Common reading code for both explicit and implicit notations. + // + 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; + } -var common = __nccwpck_require__(6829); + 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; + } + } -// get snippet for a single line, respecting maxLength -function getLine(buffer, lineStart, lineEnd, position, maxLineLength) { - var head = ''; - var tail = ''; - var maxHalfLength = Math.floor(maxLineLength / 2) - 1; + // + // Epilogue. + // - if (position - lineStart > maxHalfLength) { - head = ' ... '; - lineStart = position - maxHalfLength + head.length; + // Special case: last mapping's node contains only the key in explicit notation. + if (atExplicitKey) { + storeMappingPair(state, _result, overridableKeys, keyTag, keyNode, null, _keyLine, _keyLineStart, _keyPos); } - if (lineEnd - position > maxHalfLength) { - tail = ' ...'; - lineEnd = position + maxHalfLength - tail.length; + // Expose the resulting mapping. + if (detected) { + state.tag = _tag; + state.anchor = _anchor; + state.kind = 'mapping'; + state.result = _result; } - return { - str: head + buffer.slice(lineStart, lineEnd).replace(/\t/g, '→') + tail, - pos: position - lineStart + head.length // relative position - }; + return detected; } +function readTagProperty(state) { + var _position, + isVerbatim = false, + isNamed = false, + tagHandle, + tagName, + ch; -function padStart(string, max) { - return common.repeat(' ', max - string.length) + string; -} - + ch = state.input.charCodeAt(state.position); -function makeSnippet(mark, options) { - options = Object.create(options || null); + if (ch !== 0x21/* ! */) return false; - if (!mark.buffer) return null; + if (state.tag !== null) { + throwError(state, 'duplication of a tag property'); + } - 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; + ch = state.input.charCodeAt(++state.position); - var re = /\r?\n|\r|\0/g; - var lineStarts = [ 0 ]; - var lineEnds = []; - var match; - var foundLineNo = -1; + if (ch === 0x3C/* < */) { + isVerbatim = true; + ch = state.input.charCodeAt(++state.position); - while ((match = re.exec(mark.buffer))) { - lineEnds.push(match.index); - lineStarts.push(match.index + match[0].length); + } else if (ch === 0x21/* ! */) { + isNamed = true; + tagHandle = '!!'; + ch = state.input.charCodeAt(++state.position); - if (mark.position <= match.index && foundLineNo < 0) { - foundLineNo = lineStarts.length - 2; - } + } else { + tagHandle = '!'; } - 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; - } + _position = state.position; - 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'; + if (isVerbatim) { + do { ch = state.input.charCodeAt(++state.position); } + while (ch !== 0 && ch !== 0x3E/* > */); - 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'; - } + 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)) { - return result.replace(/\n$/, ''); -} + if (ch === 0x21/* ! */) { + 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'); + } -module.exports = makeSnippet; + 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); -/***/ 6073: -/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => { + if (PATTERN_FLOW_INDICATORS.test(tagName)) { + throwError(state, 'tag suffix cannot contain flow indicator characters'); + } + } -"use strict"; + 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); + } -var YAMLException = __nccwpck_require__(8179); + if (isVerbatim) { + state.tag = tagName; -var TYPE_CONSTRUCTOR_OPTIONS = [ - 'kind', - 'multi', - 'resolve', - 'construct', - 'instanceOf', - 'predicate', - 'represent', - 'representName', - 'defaultStyle', - 'styleAliases' -]; + } else if (_hasOwnProperty.call(state.tagMap, tagHandle)) { + state.tag = state.tagMap[tagHandle] + tagName; -var YAML_NODE_KINDS = [ - 'scalar', - 'sequence', - 'mapping' -]; + } else if (tagHandle === '!') { + state.tag = '!' + tagName; -function compileStyleAliases(map) { - var result = {}; + } else if (tagHandle === '!!') { + state.tag = 'tag:yaml.org,2002:' + tagName; - if (map !== null) { - Object.keys(map).forEach(function (style) { - map[style].forEach(function (alias) { - result[String(alias)] = style; - }); - }); + } else { + throwError(state, 'undeclared tag handle "' + tagHandle + '"'); } - return result; + return true; } -function Type(tag, options) { - options = options || {}; +function readAnchorProperty(state) { + var _position, + ch; - 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.'); - } - }); + ch = state.input.charCodeAt(state.position); - // TODO: Add tag format check. - this.options = options; // keep original options in case user wants to extend this type later - 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 (ch !== 0x26/* & */) return false; - if (YAML_NODE_KINDS.indexOf(this.kind) === -1) { - throw new YAMLException('Unknown kind "' + this.kind + '" is specified for "' + tag + '" YAML type.'); + if (state.anchor !== null) { + throwError(state, 'duplication of an anchor property'); } -} -module.exports = Type; + 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'); + } -/***/ 7900: -/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => { + state.anchor = state.input.slice(_position, state.position); + return true; +} -"use strict"; +function readAlias(state) { + var _position, alias, + ch; + ch = state.input.charCodeAt(state.position); -/*eslint-disable no-bitwise*/ + if (ch !== 0x2A/* * */) return false; + ch = state.input.charCodeAt(++state.position); + _position = state.position; -var Type = __nccwpck_require__(6073); + 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'); + } -// [ 64, 65, 66 ] -> [ padding, CR, LF ] -var BASE64_MAP = 'ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=\n\r'; + alias = state.input.slice(_position, state.position); + if (!_hasOwnProperty.call(state.anchorMap, alias)) { + throwError(state, 'unidentified alias "' + alias + '"'); + } -function resolveYamlBinary(data) { - if (data === null) return false; + state.result = state.anchorMap[alias]; + skipSeparationSpace(state, true, -1); + return true; +} - var code, idx, bitlen = 0, max = data.length, map = BASE64_MAP; +function composeNode(state, parentIndent, nodeContext, allowToSeek, allowCompact) { + var allowBlockStyles, + allowBlockScalars, + allowBlockCollections, + indentStatus = 1, // 1: this>parent, 0: this=parent, -1: this 64) continue; + state.tag = null; + state.anchor = null; + state.kind = null; + state.result = null; - // Fail on illegal characters - if (code < 0) return false; + allowBlockStyles = allowBlockScalars = allowBlockCollections = + CONTEXT_BLOCK_OUT === nodeContext || + CONTEXT_BLOCK_IN === nodeContext; - bitlen += 6; + 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 there are any bits left, source was corrupted - return (bitlen % 8) === 0; -} + if (indentStatus === 1) { + while (readTagProperty(state) || readAnchorProperty(state)) { + if (skipSeparationSpace(state, true, -1)) { + atNewLine = true; + allowBlockCollections = allowBlockStyles; -function constructYamlBinary(data) { - var idx, tailbits, - input = data.replace(/[\r\n=]/g, ''), // remove CR/LF & padding to simplify scan - max = input.length, - map = BASE64_MAP, - bits = 0, - result = []; + if (state.lineIndent > parentIndent) { + indentStatus = 1; + } else if (state.lineIndent === parentIndent) { + indentStatus = 0; + } else if (state.lineIndent < parentIndent) { + indentStatus = -1; + } + } else { + allowBlockCollections = false; + } + } + } - // Collect by 6*4 bits (3 bytes) + if (allowBlockCollections) { + allowBlockCollections = atNewLine || allowCompact; + } - for (idx = 0; idx < max; idx++) { - if ((idx % 4 === 0) && idx) { - result.push((bits >> 16) & 0xFF); - result.push((bits >> 8) & 0xFF); - result.push(bits & 0xFF); + if (indentStatus === 1 || CONTEXT_BLOCK_OUT === nodeContext) { + if (CONTEXT_FLOW_IN === nodeContext || CONTEXT_FLOW_OUT === nodeContext) { + flowIndent = parentIndent; + } else { + flowIndent = parentIndent + 1; } - bits = (bits << 6) | map.indexOf(input.charAt(idx)); - } + blockIndent = state.position - state.lineStart; - // Dump tail + 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; - tailbits = (max % 4) * 6; + } else if (readAlias(state)) { + hasContent = true; - if (tailbits === 0) { - result.push((bits >> 16) & 0xFF); - result.push((bits >> 8) & 0xFF); - result.push(bits & 0xFF); - } else if (tailbits === 18) { - result.push((bits >> 10) & 0xFF); - result.push((bits >> 2) & 0xFF); - } else if (tailbits === 12) { - result.push((bits >> 4) & 0xFF); + 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) { + // Special case: block sequences are allowed to have same indentation level as the parent. + // http://www.yaml.org/spec/1.2/spec.html#id2799784 + hasContent = allowBlockCollections && readBlockSequence(state, blockIndent); + } } - return new Uint8Array(result); -} + if (state.tag === null) { + if (state.anchor !== null) { + state.anchorMap[state.anchor] = state.result; + } -function representYamlBinary(object /*, style*/) { - var result = '', bits = 0, idx, tail, - max = object.length, - map = BASE64_MAP; + } else if (state.tag === '?') { + // Implicit resolving is not allowed for non-scalar types, and '?' + // non-specific tag is only automatically assigned to plain scalars. + // + // We only need to check kind conformity in case user explicitly assigns '?' + // tag, for example like this: "! [0]" + // + if (state.result !== null && state.kind !== 'scalar') { + throwError(state, 'unacceptable node kind for ! tag; it should be "scalar", not "' + state.kind + '"'); + } - // Convert every three bytes to 4 ASCII characters. + for (typeIndex = 0, typeQuantity = state.implicitTypes.length; typeIndex < typeQuantity; typeIndex += 1) { + type = state.implicitTypes[typeIndex]; - for (idx = 0; idx < max; idx++) { - if ((idx % 3 === 0) && idx) { - result += map[(bits >> 18) & 0x3F]; - result += map[(bits >> 12) & 0x3F]; - result += map[(bits >> 6) & 0x3F]; - result += map[bits & 0x3F]; + if (type.resolve(state.result)) { // `state.result` updated in resolver if matched + 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 { + // looking for multi type + type = null; + typeList = state.typeMap.multi[state.kind || 'fallback']; - bits = (bits << 8) + object[idx]; - } + 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; + } + } + } - // Dump tail + if (!type) { + throwError(state, 'unknown tag !<' + state.tag + '>'); + } - tail = max % 3; + 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 (tail === 0) { - result += map[(bits >> 18) & 0x3F]; - result += map[(bits >> 12) & 0x3F]; - result += map[(bits >> 6) & 0x3F]; - result += map[bits & 0x3F]; - } else if (tail === 2) { - result += map[(bits >> 10) & 0x3F]; - result += map[(bits >> 4) & 0x3F]; - result += map[(bits << 2) & 0x3F]; - result += map[64]; - } else if (tail === 1) { - result += map[(bits >> 2) & 0x3F]; - result += map[(bits << 4) & 0x3F]; - result += map[64]; - result += map[64]; + if (!type.resolve(state.result, state.tag)) { // `state.result` updated in resolver if matched + 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; + } + } } - return result; -} - -function isBinary(obj) { - return Object.prototype.toString.call(obj) === '[object Uint8Array]'; + if (state.listener !== null) { + state.listener('close', state); + } + return state.tag !== null || state.anchor !== null || hasContent; } -module.exports = new Type('tag:yaml.org,2002:binary', { - kind: 'scalar', - resolve: resolveYamlBinary, - construct: constructYamlBinary, - predicate: isBinary, - represent: representYamlBinary -}); +function readDocument(state) { + var documentStart = state.position, + _position, + directiveName, + directiveArgs, + hasDirectives = false, + ch; + state.version = null; + state.checkLineBreaks = state.legacy; + state.tagMap = Object.create(null); + state.anchorMap = Object.create(null); -/***/ }), + while ((ch = state.input.charCodeAt(state.position)) !== 0) { + skipSeparationSpace(state, true, -1); -/***/ 4993: -/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => { + ch = state.input.charCodeAt(state.position); -"use strict"; + if (state.lineIndent > 0 || ch !== 0x25/* % */) { + break; + } + hasDirectives = true; + ch = state.input.charCodeAt(++state.position); + _position = state.position; -var Type = __nccwpck_require__(6073); + while (ch !== 0 && !is_WS_OR_EOL(ch)) { + ch = state.input.charCodeAt(++state.position); + } -function resolveYamlBoolean(data) { - if (data === null) return false; + directiveName = state.input.slice(_position, state.position); + directiveArgs = []; - var max = data.length; + if (directiveName.length < 1) { + throwError(state, 'directive name must not be less than one character in length'); + } - return (max === 4 && (data === 'true' || data === 'True' || data === 'TRUE')) || - (max === 5 && (data === 'false' || data === 'False' || data === 'FALSE')); -} + while (ch !== 0) { + while (is_WHITE_SPACE(ch)) { + ch = state.input.charCodeAt(++state.position); + } -function constructYamlBoolean(data) { - return data === 'true' || - data === 'True' || - data === 'TRUE'; -} + if (ch === 0x23/* # */) { + do { ch = state.input.charCodeAt(++state.position); } + while (ch !== 0 && !is_EOL(ch)); + break; + } -function isBoolean(object) { - return Object.prototype.toString.call(object) === '[object Boolean]'; -} + if (is_EOL(ch)) break; -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' -}); + _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)); + } -/***/ 2705: -/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => { + if (ch !== 0) readLineBreak(state); -"use strict"; + if (_hasOwnProperty.call(directiveHandlers, directiveName)) { + directiveHandlers[directiveName](state, directiveName, directiveArgs); + } else { + throwWarning(state, 'unknown document directive "' + directiveName + '"'); + } + } + skipSeparationSpace(state, true, -1); -var common = __nccwpck_require__(6829); -var Type = __nccwpck_require__(6073); + if (state.lineIndent === 0 && + state.input.charCodeAt(state.position) === 0x2D/* - */ && + state.input.charCodeAt(state.position + 1) === 0x2D/* - */ && + state.input.charCodeAt(state.position + 2) === 0x2D/* - */) { + state.position += 3; + skipSeparationSpace(state, true, -1); -var YAML_FLOAT_PATTERN = new RegExp( - // 2.5e4, 2.5 and integers - '^(?:[-+]?(?:[0-9][0-9_]*)(?:\\.[0-9_]*)?(?:[eE][-+]?[0-9]+)?' + - // .2e4, .2 - // special case, seems not from spec - '|\\.[0-9_]+(?:[eE][-+]?[0-9]+)?' + - // .inf - '|[-+]?\\.(?:inf|Inf|INF)' + - // .nan - '|\\.(?:nan|NaN|NAN))$'); + } else if (hasDirectives) { + throwError(state, 'directives end mark is expected'); + } -function resolveYamlFloat(data) { - if (data === null) return false; + composeNode(state, state.lineIndent - 1, CONTEXT_BLOCK_OUT, false, true); + skipSeparationSpace(state, true, -1); - 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; + 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'); } - return true; -} - -function constructYamlFloat(data) { - var value, sign; + state.documents.push(state.result); - value = data.replace(/_/g, '').toLowerCase(); - sign = value[0] === '-' ? -1 : 1; + if (state.position === state.lineStart && testDocumentSeparator(state)) { - if ('+-'.indexOf(value[0]) >= 0) { - value = value.slice(1); + if (state.input.charCodeAt(state.position) === 0x2E/* . */) { + state.position += 3; + skipSeparationSpace(state, true, -1); + } + return; } - if (value === '.inf') { - return (sign === 1) ? Number.POSITIVE_INFINITY : Number.NEGATIVE_INFINITY; - - } else if (value === '.nan') { - return NaN; + if (state.position < (state.length - 1)) { + throwError(state, 'end of the stream or a document separator is expected'); + } else { + return; } - return sign * parseFloat(value, 10); } -var SCIENTIFIC_WITHOUT_DOT = /^[-+]?[0-9]+e/; +function loadDocuments(input, options) { + input = String(input); + options = options || {}; -function representYamlFloat(object, style) { - var res; + if (input.length !== 0) { - 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'; + // Add tailing `\n` if not exists + if (input.charCodeAt(input.length - 1) !== 0x0A/* LF */ && + input.charCodeAt(input.length - 1) !== 0x0D/* CR */) { + input += '\n'; } - } else if (Number.NEGATIVE_INFINITY === object) { - switch (style) { - case 'lowercase': return '-.inf'; - case 'uppercase': return '-.INF'; - case 'camelcase': return '-.Inf'; + + // Strip BOM + if (input.charCodeAt(0) === 0xFEFF) { + input = input.slice(1); } - } else if (common.isNegativeZero(object)) { - return '-0.0'; } - res = object.toString(10); + var state = new State(input, options); - // JS stringifier can build scientific format without dots: 5e-100, - // while YAML requres dot: 5.e-100. Fix it with simple hack + var nullpos = input.indexOf('\0'); - return SCIENTIFIC_WITHOUT_DOT.test(res) ? res.replace('e', '.e') : res; + if (nullpos !== -1) { + state.position = nullpos; + throwError(state, 'null byte is not allowed in input'); + } + + // Use 0 as string terminator. That significantly simplifies bounds check. + state.input += '\0'; + + while (state.input.charCodeAt(state.position) === 0x20/* Space */) { + state.lineIndent += 1; + state.position += 1; + } + + while (state.position < (state.length - 1)) { + readDocument(state); + } + + return state.documents; } -function isFloat(object) { - return (Object.prototype.toString.call(object) === '[object Number]') && - (object % 1 !== 0 || common.isNegativeZero(object)); + +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]); + } } -module.exports = new Type('tag:yaml.org,2002:float', { - kind: 'scalar', - resolve: resolveYamlFloat, - construct: constructYamlFloat, - predicate: isFloat, - represent: representYamlFloat, - defaultStyle: 'lowercase' -}); + +function load(input, options) { + var documents = loadDocuments(input, options); + + if (documents.length === 0) { + /*eslint-disable no-undefined*/ + return undefined; + } 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; /***/ }), -/***/ 1615: +/***/ 82: /***/ ((module, __unused_webpack_exports, __nccwpck_require__) => { -"use strict"; -var common = __nccwpck_require__(6829); -var Type = __nccwpck_require__(6073); +/*eslint-disable max-len*/ -function isHexCode(c) { - return ((0x30/* 0 */ <= c) && (c <= 0x39/* 9 */)) || - ((0x41/* A */ <= c) && (c <= 0x46/* F */)) || - ((0x61/* a */ <= c) && (c <= 0x66/* f */)); +var YAMLException = __nccwpck_require__(179); +var Type = __nccwpck_require__(73); + + +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 isOctCode(c) { - return ((0x30/* 0 */ <= c) && (c <= 0x37/* 7 */)); + +function compileMap(/* lists... */) { + 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 isDecCode(c) { - return ((0x30/* 0 */ <= c) && (c <= 0x39/* 9 */)); + +function Schema(definition) { + return this.extend(definition); } -function resolveYamlInteger(data) { - if (data === null) return false; - var max = data.length, - index = 0, - hasDigits = false, - ch; +Schema.prototype.extend = function extend(definition) { + var implicit = []; + var explicit = []; - if (!max) return false; + if (definition instanceof Type) { + // Schema.extend(type) + explicit.push(definition); - ch = data[index]; + } else if (Array.isArray(definition)) { + // Schema.extend([ type1, type2, ... ]) + explicit = explicit.concat(definition); - // sign - if (ch === '-' || ch === '+') { - ch = data[++index]; + } else if (definition && (Array.isArray(definition.implicit) || Array.isArray(definition.explicit))) { + // Schema.extend({ explicit: [ type1, type2, ... ], implicit: [ type1, type2, ... ] }) + 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: [...] })'); } - if (ch === '0') { - // 0 - if (index + 1 === max) return true; - ch = data[++index]; + 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.'); + } - // base 2, base 8, base 16 + 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 (ch === 'b') { - // base 2 - index++; + 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.'); + } + }); - for (; index < max; index++) { - ch = data[index]; - if (ch === '_') continue; - if (ch !== '0' && ch !== '1') return false; - hasDigits = true; - } - return hasDigits && ch !== '_'; + 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); - if (ch === 'x') { - // base 16 - index++; + result.implicit = (this.implicit || []).concat(implicit); + result.explicit = (this.explicit || []).concat(explicit); - for (; index < max; index++) { - ch = data[index]; - if (ch === '_') continue; - if (!isHexCode(data.charCodeAt(index))) return false; - hasDigits = true; - } - return hasDigits && ch !== '_'; - } + result.compiledImplicit = compileList(result, 'implicit'); + result.compiledExplicit = compileList(result, 'explicit'); + result.compiledTypeMap = compileMap(result.compiledImplicit, result.compiledExplicit); + return result; +}; - if (ch === 'o') { - // base 8 - index++; - for (; index < max; index++) { - ch = data[index]; - if (ch === '_') continue; - if (!isOctCode(data.charCodeAt(index))) return false; - hasDigits = true; - } - return hasDigits && ch !== '_'; - } - } +module.exports = Schema; - // base 10 (except 0) - // value should not start with `_`; - if (ch === '_') return false; +/***/ }), - for (; index < max; index++) { - ch = data[index]; - if (ch === '_') continue; - if (!isDecCode(data.charCodeAt(index))) { - return false; - } - hasDigits = true; - } +/***/ 11: +/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => { - // Should have digits and should not end with `_` - if (!hasDigits || ch === '_') return false; +// Standard YAML's Core schema. +// http://www.yaml.org/spec/1.2/spec.html#id2804923 +// +// NOTE: JS-YAML does not support schema-specific tag resolution restrictions. +// So, Core schema has no distinctions from JSON schema is JS-YAML. - 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]; - } +module.exports = __nccwpck_require__(35); - 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); -} +/***/ 759: +/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => { -function isInteger(object) { - return (Object.prototype.toString.call(object)) === '[object Number]' && - (object % 1 === 0 && !common.isNegativeZero(object)); -} +// JS-YAML's default schema for `safeLoad` function. +// It is not described in the YAML specification. +// +// This schema is based on standard YAML's Core schema and includes most of +// extra types described at YAML tag repository. (http://yaml.org/type/) -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' ] - } + + + + +module.exports = __nccwpck_require__(11).extend({ + implicit: [ + __nccwpck_require__(212), + __nccwpck_require__(104) + ], + explicit: [ + __nccwpck_require__(900), + __nccwpck_require__(46), + __nccwpck_require__(860), + __nccwpck_require__(548) + ] }); /***/ }), -/***/ 6150: +/***/ 562: /***/ ((module, __unused_webpack_exports, __nccwpck_require__) => { -"use strict"; +// Standard YAML's Failsafe schema. +// http://www.yaml.org/spec/1.2/spec.html#id2802346 -var Type = __nccwpck_require__(6073); -module.exports = new Type('tag:yaml.org,2002:map', { - kind: 'mapping', - construct: function (data) { return data !== null ? data : {}; } + + +var Schema = __nccwpck_require__(82); + + +module.exports = new Schema({ + explicit: [ + __nccwpck_require__(619), + __nccwpck_require__(283), + __nccwpck_require__(150) + ] }); /***/ }), -/***/ 6104: +/***/ 35: /***/ ((module, __unused_webpack_exports, __nccwpck_require__) => { -"use strict"; +// Standard YAML's JSON schema. +// http://www.yaml.org/spec/1.2/spec.html#id2803231 +// +// NOTE: JS-YAML does not support schema-specific tag resolution restrictions. +// So, this schema is not such strict as defined in the YAML specification. +// It allows numbers in binary notaion, use `Null` and `NULL` as `null`, etc. -var Type = __nccwpck_require__(6073); -function resolveYamlMerge(data) { - return data === '<<' || data === null; -} -module.exports = new Type('tag:yaml.org,2002:merge', { - kind: 'scalar', - resolve: resolveYamlMerge + +module.exports = __nccwpck_require__(562).extend({ + implicit: [ + __nccwpck_require__(721), + __nccwpck_require__(993), + __nccwpck_require__(615), + __nccwpck_require__(705) + ] }); /***/ }), -/***/ 721: +/***/ 975: /***/ ((module, __unused_webpack_exports, __nccwpck_require__) => { -"use strict"; -var Type = __nccwpck_require__(6073); -function resolveYamlNull(data) { - if (data === null) return true; +var common = __nccwpck_require__(829); - var max = data.length; - return (max === 1 && data === '~') || - (max === 4 && (data === 'null' || data === 'Null' || data === 'NULL')); -} +// get snippet for a single line, respecting maxLength +function getLine(buffer, lineStart, lineEnd, position, maxLineLength) { + var head = ''; + var tail = ''; + var maxHalfLength = Math.floor(maxLineLength / 2) - 1; -function constructYamlNull() { - return null; -} + if (position - lineStart > maxHalfLength) { + head = ' ... '; + lineStart = position - maxHalfLength + head.length; + } -function isNull(object) { - return object === null; -} + if (lineEnd - position > maxHalfLength) { + tail = ' ...'; + lineEnd = position + maxHalfLength - tail.length; + } -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' -}); + return { + str: head + buffer.slice(lineStart, lineEnd).replace(/\t/g, '→') + tail, + pos: position - lineStart + head.length // relative position + }; +} -/***/ }), +function padStart(string, max) { + return common.repeat(' ', max - string.length) + string; +} -/***/ 9046: -/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => { -"use strict"; +function makeSnippet(mark, options) { + options = Object.create(options || null); + if (!mark.buffer) return null; -var Type = __nccwpck_require__(6073); + 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 _hasOwnProperty = Object.prototype.hasOwnProperty; -var _toString = Object.prototype.toString; + var re = /\r?\n|\r|\0/g; + var lineStarts = [ 0 ]; + var lineEnds = []; + var match; + var foundLineNo = -1; -function resolveYamlOmap(data) { - if (data === null) return true; + while ((match = re.exec(mark.buffer))) { + lineEnds.push(match.index); + lineStarts.push(match.index + match[0].length); - var objectKeys = [], index, length, pair, pairKey, pairHasKey, - object = data; + if (mark.position <= match.index && foundLineNo < 0) { + foundLineNo = lineStarts.length - 2; + } + } - for (index = 0, length = object.length; index < length; index += 1) { - pair = object[index]; - pairHasKey = false; + if (foundLineNo < 0) foundLineNo = lineStarts.length - 1; - if (_toString.call(pair) !== '[object Object]') return false; + 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 (pairKey in pair) { - if (_hasOwnProperty.call(pair, pairKey)) { - if (!pairHasKey) pairHasKey = true; - else return false; - } - } + 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; + } - if (!pairHasKey) return false; + 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'; - if (objectKeys.indexOf(pairKey) === -1) objectKeys.push(pairKey); - else return false; + 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 true; + return result.replace(/\n$/, ''); } -function constructYamlOmap(data) { - return data !== null ? data : []; -} -module.exports = new Type('tag:yaml.org,2002:omap', { - kind: 'sequence', - resolve: resolveYamlOmap, - construct: constructYamlOmap -}); +module.exports = makeSnippet; /***/ }), -/***/ 6860: +/***/ 73: /***/ ((module, __unused_webpack_exports, __nccwpck_require__) => { -"use strict"; -var Type = __nccwpck_require__(6073); +var YAMLException = __nccwpck_require__(179); -var _toString = Object.prototype.toString; +var TYPE_CONSTRUCTOR_OPTIONS = [ + 'kind', + 'multi', + 'resolve', + 'construct', + 'instanceOf', + 'predicate', + 'represent', + 'representName', + 'defaultStyle', + 'styleAliases' +]; -function resolveYamlPairs(data) { - if (data === null) return true; +var YAML_NODE_KINDS = [ + 'scalar', + 'sequence', + 'mapping' +]; - var index, length, pair, keys, result, - object = data; +function compileStyleAliases(map) { + var result = {}; - result = new Array(object.length); + if (map !== null) { + Object.keys(map).forEach(function (style) { + map[style].forEach(function (alias) { + result[String(alias)] = style; + }); + }); + } - for (index = 0, length = object.length; index < length; index += 1) { - pair = object[index]; + return result; +} - if (_toString.call(pair) !== '[object Object]') return false; +function Type(tag, options) { + options = options || {}; - keys = Object.keys(pair); + 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.'); + } + }); - if (keys.length !== 1) return false; + // TODO: Add tag format check. + this.options = options; // keep original options in case user wants to extend this type later + 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); - result[index] = [ keys[0], pair[keys[0]] ]; + if (YAML_NODE_KINDS.indexOf(this.kind) === -1) { + throw new YAMLException('Unknown kind "' + this.kind + '" is specified for "' + tag + '" YAML type.'); } - - return true; } -function constructYamlPairs(data) { - if (data === null) return []; +module.exports = Type; - 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]; +/***/ 900: +/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => { - keys = Object.keys(pair); - result[index] = [ keys[0], pair[keys[0]] ]; - } - return result; -} +/*eslint-disable no-bitwise*/ -module.exports = new Type('tag:yaml.org,2002:pairs', { - kind: 'sequence', - resolve: resolveYamlPairs, - construct: constructYamlPairs -}); +var Type = __nccwpck_require__(73); -/***/ }), -/***/ 7283: -/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => { +// [ 64, 65, 66 ] -> [ padding, CR, LF ] +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; + + // Convert one by one. + for (idx = 0; idx < max; idx++) { + code = map.indexOf(data.charAt(idx)); + + // Skip CR/LF + if (code > 64) continue; + + // Fail on illegal characters + if (code < 0) return false; + + bitlen += 6; + } + + // If there are any bits left, source was corrupted + return (bitlen % 8) === 0; +} + +function constructYamlBinary(data) { + var idx, tailbits, + input = data.replace(/[\r\n=]/g, ''), // remove CR/LF & padding to simplify scan + max = input.length, + map = BASE64_MAP, + bits = 0, + result = []; -"use strict"; + // Collect by 6*4 bits (3 bytes) + for (idx = 0; idx < max; idx++) { + if ((idx % 4 === 0) && idx) { + result.push((bits >> 16) & 0xFF); + result.push((bits >> 8) & 0xFF); + result.push(bits & 0xFF); + } -var Type = __nccwpck_require__(6073); + bits = (bits << 6) | map.indexOf(input.charAt(idx)); + } -module.exports = new Type('tag:yaml.org,2002:seq', { - kind: 'sequence', - construct: function (data) { return data !== null ? data : []; } -}); + // Dump tail + tailbits = (max % 4) * 6; -/***/ }), + if (tailbits === 0) { + result.push((bits >> 16) & 0xFF); + result.push((bits >> 8) & 0xFF); + result.push(bits & 0xFF); + } else if (tailbits === 18) { + result.push((bits >> 10) & 0xFF); + result.push((bits >> 2) & 0xFF); + } else if (tailbits === 12) { + result.push((bits >> 4) & 0xFF); + } -/***/ 9548: -/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => { + return new Uint8Array(result); +} -"use strict"; +function representYamlBinary(object /*, style*/) { + var result = '', bits = 0, idx, tail, + max = object.length, + map = BASE64_MAP; + // Convert every three bytes to 4 ASCII characters. -var Type = __nccwpck_require__(6073); + for (idx = 0; idx < max; idx++) { + if ((idx % 3 === 0) && idx) { + result += map[(bits >> 18) & 0x3F]; + result += map[(bits >> 12) & 0x3F]; + result += map[(bits >> 6) & 0x3F]; + result += map[bits & 0x3F]; + } -var _hasOwnProperty = Object.prototype.hasOwnProperty; + bits = (bits << 8) + object[idx]; + } -function resolveYamlSet(data) { - if (data === null) return true; + // Dump tail - var key, object = data; + tail = max % 3; - for (key in object) { - if (_hasOwnProperty.call(object, key)) { - if (object[key] !== null) return false; - } + if (tail === 0) { + result += map[(bits >> 18) & 0x3F]; + result += map[(bits >> 12) & 0x3F]; + result += map[(bits >> 6) & 0x3F]; + result += map[bits & 0x3F]; + } else if (tail === 2) { + result += map[(bits >> 10) & 0x3F]; + result += map[(bits >> 4) & 0x3F]; + result += map[(bits << 2) & 0x3F]; + result += map[64]; + } else if (tail === 1) { + result += map[(bits >> 2) & 0x3F]; + result += map[(bits << 4) & 0x3F]; + result += map[64]; + result += map[64]; } - return true; + return result; } -function constructYamlSet(data) { - return data !== null ? data : {}; +function isBinary(obj) { + return Object.prototype.toString.call(obj) === '[object Uint8Array]'; } -module.exports = new Type('tag:yaml.org,2002:set', { - kind: 'mapping', - resolve: resolveYamlSet, - construct: constructYamlSet +module.exports = new Type('tag:yaml.org,2002:binary', { + kind: 'scalar', + resolve: resolveYamlBinary, + construct: constructYamlBinary, + predicate: isBinary, + represent: representYamlBinary }); /***/ }), -/***/ 3619: +/***/ 993: /***/ ((module, __unused_webpack_exports, __nccwpck_require__) => { -"use strict"; -var Type = __nccwpck_require__(6073); +var Type = __nccwpck_require__(73); -module.exports = new Type('tag:yaml.org,2002:str', { +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', - construct: function (data) { return data !== null ? data : ''; } + 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' }); /***/ }), -/***/ 9212: +/***/ 705: /***/ ((module, __unused_webpack_exports, __nccwpck_require__) => { -"use strict"; -var Type = __nccwpck_require__(6073); - -var YAML_DATE_REGEXP = new RegExp( - '^([0-9][0-9][0-9][0-9])' + // [1] year - '-([0-9][0-9])' + // [2] month - '-([0-9][0-9])$'); // [3] day +var common = __nccwpck_require__(829); +var Type = __nccwpck_require__(73); -var YAML_TIMESTAMP_REGEXP = new RegExp( - '^([0-9][0-9][0-9][0-9])' + // [1] year - '-([0-9][0-9]?)' + // [2] month - '-([0-9][0-9]?)' + // [3] day - '(?:[Tt]|[ \\t]+)' + // ... - '([0-9][0-9]?)' + // [4] hour - ':([0-9][0-9])' + // [5] minute - ':([0-9][0-9])' + // [6] second - '(?:\\.([0-9]*))?' + // [7] fraction - '(?:[ \\t]*(Z|([-+])([0-9][0-9]?)' + // [8] tz [9] tz_sign [10] tz_hour - '(?::([0-9][0-9]))?))?$'); // [11] tz_minute +var YAML_FLOAT_PATTERN = new RegExp( + // 2.5e4, 2.5 and integers + '^(?:[-+]?(?:[0-9][0-9_]*)(?:\\.[0-9_]*)?(?:[eE][-+]?[0-9]+)?' + + // .2e4, .2 + // special case, seems not from spec + '|\\.[0-9_]+(?:[eE][-+]?[0-9]+)?' + + // .inf + '|[-+]?\\.(?:inf|Inf|INF)' + + // .nan + '|\\.(?:nan|NaN|NAN))$'); -function resolveYamlTimestamp(data) { +function resolveYamlFloat(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 (!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; + } - if (match === null) throw new Error('Date resolve error'); + return true; +} - // match: [1] year [2] month [3] day +function constructYamlFloat(data) { + var value, sign; - year = +(match[1]); - month = +(match[2]) - 1; // JS month starts with 0 - day = +(match[3]); + value = data.replace(/_/g, '').toLowerCase(); + sign = value[0] === '-' ? -1 : 1; - if (!match[4]) { // no hour - return new Date(Date.UTC(year, month, day)); + if ('+-'.indexOf(value[0]) >= 0) { + value = value.slice(1); } - // match: [4] hour [5] minute [6] second [7] fraction - - hour = +(match[4]); - minute = +(match[5]); - second = +(match[6]); + if (value === '.inf') { + return (sign === 1) ? Number.POSITIVE_INFINITY : Number.NEGATIVE_INFINITY; - if (match[7]) { - fraction = match[7].slice(0, 3); - while (fraction.length < 3) { // milli-seconds - fraction += '0'; - } - fraction = +fraction; + } else if (value === '.nan') { + return NaN; } + return sign * parseFloat(value, 10); +} - // match: [8] tz [9] tz_sign [10] tz_hour [11] tz_minute - if (match[9]) { - tz_hour = +(match[10]); - tz_minute = +(match[11] || 0); - delta = (tz_hour * 60 + tz_minute) * 60000; // delta in mili-seconds - if (match[9] === '-') delta = -delta; +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'; } - date = new Date(Date.UTC(year, month, day, hour, minute, second, fraction)); + res = object.toString(10); - if (delta) date.setTime(date.getTime() - delta); + // JS stringifier can build scientific format without dots: 5e-100, + // while YAML requres dot: 5.e-100. Fix it with simple hack - return date; + return SCIENTIFIC_WITHOUT_DOT.test(res) ? res.replace('e', '.e') : res; } -function representYamlTimestamp(object /*, style*/) { - return object.toISOString(); +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:timestamp', { +module.exports = new Type('tag:yaml.org,2002:float', { kind: 'scalar', - resolve: resolveYamlTimestamp, - construct: constructYamlTimestamp, - instanceOf: Date, - represent: representYamlTimestamp + resolve: resolveYamlFloat, + construct: constructYamlFloat, + predicate: isFloat, + represent: representYamlFloat, + defaultStyle: 'lowercase' }); -/***/ }), - -/***/ 467: -/***/ ((module, exports, __nccwpck_require__) => { - -"use strict"; - - -Object.defineProperty(exports, "__esModule", ({ value: true })); - -function _interopDefault (ex) { return (ex && (typeof ex === 'object') && 'default' in ex) ? ex['default'] : ex; } - -var Stream = _interopDefault(__nccwpck_require__(2413)); -var http = _interopDefault(__nccwpck_require__(8605)); -var Url = _interopDefault(__nccwpck_require__(8835)); -var https = _interopDefault(__nccwpck_require__(7211)); -var zlib = _interopDefault(__nccwpck_require__(8761)); - -// Based on https://github.com/tmpvar/jsdom/blob/aa85b2abf07766ff7bf5c1f6daafb3726f2f2db5/lib/jsdom/living/blob.js - -// fix for "Readable" isn't a named export issue -const Readable = Stream.Readable; - -const BUFFER = Symbol('buffer'); -const TYPE = Symbol('type'); - -class Blob { - constructor() { - this[TYPE] = ''; - - const blobParts = arguments[0]; - const options = arguments[1]; - - const buffers = []; - let size = 0; - - if (blobParts) { - const a = blobParts; - const length = Number(a.length); - for (let i = 0; i < length; i++) { - const element = a[i]; - let buffer; - if (element instanceof Buffer) { - buffer = element; - } else if (ArrayBuffer.isView(element)) { - buffer = Buffer.from(element.buffer, element.byteOffset, element.byteLength); - } else if (element instanceof ArrayBuffer) { - buffer = Buffer.from(element); - } else if (element instanceof Blob) { - buffer = element[BUFFER]; - } else { - buffer = Buffer.from(typeof element === 'string' ? element : String(element)); - } - size += buffer.length; - buffers.push(buffer); - } - } - - this[BUFFER] = Buffer.concat(buffers); - - let type = options && options.type !== undefined && String(options.type).toLowerCase(); - if (type && !/[^\u0020-\u007E]/.test(type)) { - this[TYPE] = type; - } - } - get size() { - return this[BUFFER].length; - } - get type() { - return this[TYPE]; - } - text() { - return Promise.resolve(this[BUFFER].toString()); - } - arrayBuffer() { - const buf = this[BUFFER]; - const ab = buf.buffer.slice(buf.byteOffset, buf.byteOffset + buf.byteLength); - return Promise.resolve(ab); - } - stream() { - const readable = new Readable(); - readable._read = function () {}; - readable.push(this[BUFFER]); - readable.push(null); - return readable; - } - toString() { - return '[object Blob]'; - } - slice() { - const size = this.size; - - const start = arguments[0]; - const end = arguments[1]; - let relativeStart, relativeEnd; - if (start === undefined) { - relativeStart = 0; - } else if (start < 0) { - relativeStart = Math.max(size + start, 0); - } else { - relativeStart = Math.min(start, size); - } - if (end === undefined) { - relativeEnd = size; - } else if (end < 0) { - relativeEnd = Math.max(size + end, 0); - } else { - relativeEnd = Math.min(end, size); - } - const span = Math.max(relativeEnd - relativeStart, 0); - - const buffer = this[BUFFER]; - const slicedBuffer = buffer.slice(relativeStart, relativeStart + span); - const blob = new Blob([], { type: arguments[2] }); - blob[BUFFER] = slicedBuffer; - return blob; - } -} - -Object.defineProperties(Blob.prototype, { - size: { enumerable: true }, - type: { enumerable: true }, - slice: { enumerable: true } -}); - -Object.defineProperty(Blob.prototype, Symbol.toStringTag, { - value: 'Blob', - writable: false, - enumerable: false, - configurable: true -}); +/***/ }), -/** - * fetch-error.js - * - * FetchError interface for operational errors - */ +/***/ 615: +/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => { -/** - * Create FetchError instance - * - * @param String message Error message for human - * @param String type Error type for machine - * @param String systemError For Node.js system error - * @return FetchError - */ -function FetchError(message, type, systemError) { - Error.call(this, message); - this.message = message; - this.type = type; - // when err.type is `system`, err.code contains system error code - if (systemError) { - this.code = this.errno = systemError.code; - } +var common = __nccwpck_require__(829); +var Type = __nccwpck_require__(73); - // hide custom error implementation details from end-users - Error.captureStackTrace(this, this.constructor); +function isHexCode(c) { + return ((0x30/* 0 */ <= c) && (c <= 0x39/* 9 */)) || + ((0x41/* A */ <= c) && (c <= 0x46/* F */)) || + ((0x61/* a */ <= c) && (c <= 0x66/* f */)); } -FetchError.prototype = Object.create(Error.prototype); -FetchError.prototype.constructor = FetchError; -FetchError.prototype.name = 'FetchError'; +function isOctCode(c) { + return ((0x30/* 0 */ <= c) && (c <= 0x37/* 7 */)); +} -let convert; -try { - convert = __nccwpck_require__(2877).convert; -} catch (e) {} +function isDecCode(c) { + return ((0x30/* 0 */ <= c) && (c <= 0x39/* 9 */)); +} -const INTERNALS = Symbol('Body internals'); +function resolveYamlInteger(data) { + if (data === null) return false; -// fix an issue where "PassThrough" isn't a named export for node <10 -const PassThrough = Stream.PassThrough; + var max = data.length, + index = 0, + hasDigits = false, + ch; -/** - * Body mixin - * - * Ref: https://fetch.spec.whatwg.org/#body - * - * @param Stream body Readable stream - * @param Object opts Response options - * @return Void - */ -function Body(body) { - var _this = this; - - var _ref = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {}, - _ref$size = _ref.size; - - let size = _ref$size === undefined ? 0 : _ref$size; - var _ref$timeout = _ref.timeout; - let timeout = _ref$timeout === undefined ? 0 : _ref$timeout; - - if (body == null) { - // body is undefined or null - body = null; - } else if (isURLSearchParams(body)) { - // body is a URLSearchParams - body = Buffer.from(body.toString()); - } else if (isBlob(body)) ; else if (Buffer.isBuffer(body)) ; else if (Object.prototype.toString.call(body) === '[object ArrayBuffer]') { - // body is ArrayBuffer - body = Buffer.from(body); - } else if (ArrayBuffer.isView(body)) { - // body is ArrayBufferView - body = Buffer.from(body.buffer, body.byteOffset, body.byteLength); - } else if (body instanceof Stream) ; else { - // none of the above - // coerce to string then buffer - body = Buffer.from(String(body)); - } - this[INTERNALS] = { - body, - disturbed: false, - error: null - }; - this.size = size; - this.timeout = timeout; - - if (body instanceof Stream) { - body.on('error', function (err) { - const error = err.name === 'AbortError' ? err : new FetchError(`Invalid response body while trying to fetch ${_this.url}: ${err.message}`, 'system', err); - _this[INTERNALS].error = error; - }); - } -} - -Body.prototype = { - get body() { - return this[INTERNALS].body; - }, - - get bodyUsed() { - return this[INTERNALS].disturbed; - }, - - /** - * Decode response as ArrayBuffer - * - * @return Promise - */ - arrayBuffer() { - return consumeBody.call(this).then(function (buf) { - return buf.buffer.slice(buf.byteOffset, buf.byteOffset + buf.byteLength); - }); - }, - - /** - * Return raw response as Blob - * - * @return Promise - */ - blob() { - let ct = this.headers && this.headers.get('content-type') || ''; - return consumeBody.call(this).then(function (buf) { - return Object.assign( - // Prevent copying - new Blob([], { - type: ct.toLowerCase() - }), { - [BUFFER]: buf - }); - }); - }, - - /** - * Decode response as json - * - * @return Promise - */ - json() { - var _this2 = this; - - return consumeBody.call(this).then(function (buffer) { - try { - return JSON.parse(buffer.toString()); - } catch (err) { - return Body.Promise.reject(new FetchError(`invalid json response body at ${_this2.url} reason: ${err.message}`, 'invalid-json')); - } - }); - }, - - /** - * Decode response as text - * - * @return Promise - */ - text() { - return consumeBody.call(this).then(function (buffer) { - return buffer.toString(); - }); - }, - - /** - * Decode response as buffer (non-spec api) - * - * @return Promise - */ - buffer() { - return consumeBody.call(this); - }, - - /** - * Decode response as text, while automatically detecting the encoding and - * trying to decode to UTF-8 (non-spec api) - * - * @return Promise - */ - textConverted() { - var _this3 = this; - - return consumeBody.call(this).then(function (buffer) { - return convertBody(buffer, _this3.headers); - }); - } -}; + if (!max) return false; -// In browsers, all properties are enumerable. -Object.defineProperties(Body.prototype, { - body: { enumerable: true }, - bodyUsed: { enumerable: true }, - arrayBuffer: { enumerable: true }, - blob: { enumerable: true }, - json: { enumerable: true }, - text: { enumerable: true } -}); + ch = data[index]; -Body.mixIn = function (proto) { - for (const name of Object.getOwnPropertyNames(Body.prototype)) { - // istanbul ignore else: future proof - if (!(name in proto)) { - const desc = Object.getOwnPropertyDescriptor(Body.prototype, name); - Object.defineProperty(proto, name, desc); - } - } -}; + // sign + if (ch === '-' || ch === '+') { + ch = data[++index]; + } -/** - * Consume and convert an entire Body to a Buffer. - * - * Ref: https://fetch.spec.whatwg.org/#concept-body-consume-body - * - * @return Promise - */ -function consumeBody() { - var _this4 = this; - - if (this[INTERNALS].disturbed) { - return Body.Promise.reject(new TypeError(`body used already for: ${this.url}`)); - } - - this[INTERNALS].disturbed = true; - - if (this[INTERNALS].error) { - return Body.Promise.reject(this[INTERNALS].error); - } - - let body = this.body; - - // body is null - if (body === null) { - return Body.Promise.resolve(Buffer.alloc(0)); - } - - // body is blob - if (isBlob(body)) { - body = body.stream(); - } - - // body is buffer - if (Buffer.isBuffer(body)) { - return Body.Promise.resolve(body); - } - - // istanbul ignore if: should never happen - if (!(body instanceof Stream)) { - return Body.Promise.resolve(Buffer.alloc(0)); - } - - // body is stream - // get ready to actually consume the body - let accum = []; - let accumBytes = 0; - let abort = false; - - return new Body.Promise(function (resolve, reject) { - let resTimeout; - - // allow timeout on slow response body - if (_this4.timeout) { - resTimeout = setTimeout(function () { - abort = true; - reject(new FetchError(`Response timeout while trying to fetch ${_this4.url} (over ${_this4.timeout}ms)`, 'body-timeout')); - }, _this4.timeout); - } - - // handle stream errors - body.on('error', function (err) { - if (err.name === 'AbortError') { - // if the request was aborted, reject with this Error - abort = true; - reject(err); - } else { - // other errors, such as incorrect content-encoding - reject(new FetchError(`Invalid response body while trying to fetch ${_this4.url}: ${err.message}`, 'system', err)); - } - }); - - body.on('data', function (chunk) { - if (abort || chunk === null) { - return; - } - - if (_this4.size && accumBytes + chunk.length > _this4.size) { - abort = true; - reject(new FetchError(`content size at ${_this4.url} over limit: ${_this4.size}`, 'max-size')); - return; - } - - accumBytes += chunk.length; - accum.push(chunk); - }); - - body.on('end', function () { - if (abort) { - return; - } - - clearTimeout(resTimeout); - - try { - resolve(Buffer.concat(accum, accumBytes)); - } catch (err) { - // handle streams that have accumulated too much data (issue #414) - reject(new FetchError(`Could not create Buffer from response body for ${_this4.url}: ${err.message}`, 'system', err)); - } - }); - }); -} + if (ch === '0') { + // 0 + if (index + 1 === max) return true; + ch = data[++index]; -/** - * Detect buffer encoding and convert to target encoding - * ref: http://www.w3.org/TR/2011/WD-html5-20110113/parsing.html#determining-the-character-encoding - * - * @param Buffer buffer Incoming buffer - * @param String encoding Target encoding - * @return String - */ -function convertBody(buffer, headers) { - if (typeof convert !== 'function') { - throw new Error('The package `encoding` must be installed to use the textConverted() function'); - } - - const ct = headers.get('content-type'); - let charset = 'utf-8'; - let res, str; - - // header - if (ct) { - res = /charset=([^;]*)/i.exec(ct); - } - - // no charset in content type, peek at response body for at most 1024 bytes - str = buffer.slice(0, 1024).toString(); - - // html5 - if (!res && str) { - res = / 0 && arguments[0] !== undefined ? arguments[0] : undefined; - - this[MAP] = Object.create(null); - - if (init instanceof Headers) { - const rawHeaders = init.raw(); - const headerNames = Object.keys(rawHeaders); - - for (const headerName of headerNames) { - for (const value of rawHeaders[headerName]) { - this.append(headerName, value); - } - } - - return; - } - - // We don't worry about converting prop to ByteString here as append() - // will handle it. - if (init == null) ; else if (typeof init === 'object') { - const method = init[Symbol.iterator]; - if (method != null) { - if (typeof method !== 'function') { - throw new TypeError('Header pairs must be iterable'); - } - - // sequence> - // Note: per spec we have to first exhaust the lists then process them - const pairs = []; - for (const pair of init) { - if (typeof pair !== 'object' || typeof pair[Symbol.iterator] !== 'function') { - throw new TypeError('Each header pair must be iterable'); - } - pairs.push(Array.from(pair)); - } - - for (const pair of pairs) { - if (pair.length !== 2) { - throw new TypeError('Each header pair must be a name/value tuple'); - } - this.append(pair[0], pair[1]); - } - } else { - // record - for (const key of Object.keys(init)) { - const value = init[key]; - this.append(key, value); - } - } - } else { - throw new TypeError('Provided initializer must be an object'); - } - } - - /** - * Return combined header value given name - * - * @param String name Header name - * @return Mixed - */ - get(name) { - name = `${name}`; - validateName(name); - const key = find(this[MAP], name); - if (key === undefined) { - return null; - } - - return this[MAP][key].join(', '); - } - - /** - * Iterate over all headers - * - * @param Function callback Executed for each item with parameters (value, name, thisArg) - * @param Boolean thisArg `this` context for callback function - * @return Void - */ - forEach(callback) { - let thisArg = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : undefined; - - let pairs = getHeaders(this); - let i = 0; - while (i < pairs.length) { - var _pairs$i = pairs[i]; - const name = _pairs$i[0], - value = _pairs$i[1]; - - callback.call(thisArg, value, name, this); - pairs = getHeaders(this); - i++; - } - } - - /** - * Overwrite header values given name - * - * @param String name Header name - * @param String value Header value - * @return Void - */ - set(name, value) { - name = `${name}`; - value = `${value}`; - validateName(name); - validateValue(value); - const key = find(this[MAP], name); - this[MAP][key !== undefined ? key : name] = [value]; - } - - /** - * Append a value onto existing header - * - * @param String name Header name - * @param String value Header value - * @return Void - */ - append(name, value) { - name = `${name}`; - value = `${value}`; - validateName(name); - validateValue(value); - const key = find(this[MAP], name); - if (key !== undefined) { - this[MAP][key].push(value); - } else { - this[MAP][name] = [value]; - } - } - - /** - * Check for header name existence - * - * @param String name Header name - * @return Boolean - */ - has(name) { - name = `${name}`; - validateName(name); - return find(this[MAP], name) !== undefined; - } - - /** - * Delete all header values given name - * - * @param String name Header name - * @return Void - */ - delete(name) { - name = `${name}`; - validateName(name); - const key = find(this[MAP], name); - if (key !== undefined) { - delete this[MAP][key]; - } - } - - /** - * Return raw headers (non-spec api) - * - * @return Object - */ - raw() { - return this[MAP]; - } - - /** - * Get an iterator on keys. - * - * @return Iterator - */ - keys() { - return createHeadersIterator(this, 'key'); - } - - /** - * Get an iterator on values. - * - * @return Iterator - */ - values() { - return createHeadersIterator(this, 'value'); - } - - /** - * Get an iterator on entries. - * - * This is the default iterator of the Headers object. - * - * @return Iterator - */ - [Symbol.iterator]() { - return createHeadersIterator(this, 'key+value'); - } -} -Headers.prototype.entries = Headers.prototype[Symbol.iterator]; - -Object.defineProperty(Headers.prototype, Symbol.toStringTag, { - value: 'Headers', - writable: false, - enumerable: false, - configurable: true -}); + if (value.indexOf('_') !== -1) { + value = value.replace(/_/g, ''); + } -Object.defineProperties(Headers.prototype, { - get: { enumerable: true }, - forEach: { enumerable: true }, - set: { enumerable: true }, - append: { enumerable: true }, - has: { enumerable: true }, - delete: { enumerable: true }, - keys: { enumerable: true }, - values: { enumerable: true }, - entries: { enumerable: true } -}); + ch = value[0]; -function getHeaders(headers) { - let kind = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : 'key+value'; - - const keys = Object.keys(headers[MAP]).sort(); - return keys.map(kind === 'key' ? function (k) { - return k.toLowerCase(); - } : kind === 'value' ? function (k) { - return headers[MAP][k].join(', '); - } : function (k) { - return [k.toLowerCase(), headers[MAP][k].join(', ')]; - }); -} - -const INTERNAL = Symbol('internal'); - -function createHeadersIterator(target, kind) { - const iterator = Object.create(HeadersIteratorPrototype); - iterator[INTERNAL] = { - target, - kind, - index: 0 - }; - return iterator; -} - -const HeadersIteratorPrototype = Object.setPrototypeOf({ - next() { - // istanbul ignore if - if (!this || Object.getPrototypeOf(this) !== HeadersIteratorPrototype) { - throw new TypeError('Value of `this` is not a HeadersIterator'); - } - - var _INTERNAL = this[INTERNAL]; - const target = _INTERNAL.target, - kind = _INTERNAL.kind, - index = _INTERNAL.index; - - const values = getHeaders(target, kind); - const len = values.length; - if (index >= len) { - return { - value: undefined, - done: true - }; - } - - this[INTERNAL].index = index + 1; - - return { - value: values[index], - done: false - }; - } -}, Object.getPrototypeOf(Object.getPrototypeOf([][Symbol.iterator]()))); - -Object.defineProperty(HeadersIteratorPrototype, Symbol.toStringTag, { - value: 'HeadersIterator', - writable: false, - enumerable: false, - configurable: true -}); + if (ch === '-' || ch === '+') { + if (ch === '-') sign = -1; + value = value.slice(1); + ch = value[0]; + } -/** - * Export the Headers object in a form that Node.js can consume. - * - * @param Headers headers - * @return Object - */ -function exportNodeCompatibleHeaders(headers) { - const obj = Object.assign({ __proto__: null }, headers[MAP]); + if (value === '0') return 0; - // http.request() only supports string as Host header. This hack makes - // specifying custom Host header possible. - const hostHeaderKey = find(headers[MAP], 'Host'); - if (hostHeaderKey !== undefined) { - obj[hostHeaderKey] = obj[hostHeaderKey][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 obj; + return sign * parseInt(value, 10); } -/** - * Create a Headers object from an object of headers, ignoring those that do - * not conform to HTTP grammar productions. - * - * @param Object obj Object of headers - * @return Headers - */ -function createHeadersLenient(obj) { - const headers = new Headers(); - for (const name of Object.keys(obj)) { - if (invalidTokenRegex.test(name)) { - continue; - } - if (Array.isArray(obj[name])) { - for (const val of obj[name]) { - if (invalidHeaderCharRegex.test(val)) { - continue; - } - if (headers[MAP][name] === undefined) { - headers[MAP][name] = [val]; - } else { - headers[MAP][name].push(val); - } - } - } else if (!invalidHeaderCharRegex.test(obj[name])) { - headers[MAP][name] = [obj[name]]; - } - } - return headers; -} - -const INTERNALS$1 = Symbol('Response internals'); - -// fix an issue where "STATUS_CODES" aren't a named export for node <10 -const STATUS_CODES = http.STATUS_CODES; - -/** - * Response class - * - * @param Stream body Readable stream - * @param Object opts Response options - * @return Void - */ -class Response { - constructor() { - let body = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : null; - let opts = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {}; - - Body.call(this, body, opts); - - const status = opts.status || 200; - const headers = new Headers(opts.headers); - - if (body != null && !headers.has('Content-Type')) { - const contentType = extractContentType(body); - if (contentType) { - headers.append('Content-Type', contentType); - } - } - - this[INTERNALS$1] = { - url: opts.url, - status, - statusText: opts.statusText || STATUS_CODES[status], - headers, - counter: opts.counter - }; - } - - get url() { - return this[INTERNALS$1].url || ''; - } - - get status() { - return this[INTERNALS$1].status; - } - - /** - * Convenience property representing if the request ended normally - */ - get ok() { - return this[INTERNALS$1].status >= 200 && this[INTERNALS$1].status < 300; - } - - get redirected() { - return this[INTERNALS$1].counter > 0; - } - - get statusText() { - return this[INTERNALS$1].statusText; - } - - get headers() { - return this[INTERNALS$1].headers; - } - - /** - * Clone this response - * - * @return Response - */ - clone() { - return new Response(clone(this), { - url: this.url, - status: this.status, - statusText: this.statusText, - headers: this.headers, - ok: this.ok, - redirected: this.redirected - }); - } -} - -Body.mixIn(Response.prototype); - -Object.defineProperties(Response.prototype, { - url: { enumerable: true }, - status: { enumerable: true }, - ok: { enumerable: true }, - redirected: { enumerable: true }, - statusText: { enumerable: true }, - headers: { enumerable: true }, - clone: { enumerable: true } -}); +function isInteger(object) { + return (Object.prototype.toString.call(object)) === '[object Number]' && + (object % 1 === 0 && !common.isNegativeZero(object)); +} -Object.defineProperty(Response.prototype, Symbol.toStringTag, { - value: 'Response', - writable: false, - enumerable: false, - configurable: true +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' ] + } }); -const INTERNALS$2 = Symbol('Request internals'); -// fix an issue where "format", "parse" aren't a named export for node <10 -const parse_url = Url.parse; -const format_url = Url.format; +/***/ }), -const streamDestructionSupported = 'destroy' in Stream.Readable.prototype; +/***/ 150: +/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => { -/** - * Check if a value is an instance of Request. - * - * @param Mixed input - * @return Boolean - */ -function isRequest(input) { - return typeof input === 'object' && typeof input[INTERNALS$2] === 'object'; -} -function isAbortSignal(signal) { - const proto = signal && typeof signal === 'object' && Object.getPrototypeOf(signal); - return !!(proto && proto.constructor.name === 'AbortSignal'); -} -/** - * Request class - * - * @param Mixed input Url or Request instance - * @param Object init Custom options - * @return Void - */ -class Request { - constructor(input) { - let init = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {}; - - let parsedURL; - - // normalize input - if (!isRequest(input)) { - if (input && input.href) { - // in order to support Node.js' Url objects; though WHATWG's URL objects - // will fall into this branch also (since their `toString()` will return - // `href` property anyway) - parsedURL = parse_url(input.href); - } else { - // coerce input to a string before attempting to parse - parsedURL = parse_url(`${input}`); - } - input = {}; - } else { - parsedURL = parse_url(input.url); - } - - let method = init.method || input.method || 'GET'; - method = method.toUpperCase(); - - if ((init.body != null || isRequest(input) && input.body !== null) && (method === 'GET' || method === 'HEAD')) { - throw new TypeError('Request with GET/HEAD method cannot have body'); - } - - let inputBody = init.body != null ? init.body : isRequest(input) && input.body !== null ? clone(input) : null; - - Body.call(this, inputBody, { - timeout: init.timeout || input.timeout || 0, - size: init.size || input.size || 0 - }); - - const headers = new Headers(init.headers || input.headers || {}); - - if (inputBody != null && !headers.has('Content-Type')) { - const contentType = extractContentType(inputBody); - if (contentType) { - headers.append('Content-Type', contentType); - } - } - - let signal = isRequest(input) ? input.signal : null; - if ('signal' in init) signal = init.signal; - - if (signal != null && !isAbortSignal(signal)) { - throw new TypeError('Expected signal to be an instanceof AbortSignal'); - } - - this[INTERNALS$2] = { - method, - redirect: init.redirect || input.redirect || 'follow', - headers, - parsedURL, - signal - }; - - // node-fetch-only options - this.follow = init.follow !== undefined ? init.follow : input.follow !== undefined ? input.follow : 20; - this.compress = init.compress !== undefined ? init.compress : input.compress !== undefined ? input.compress : true; - this.counter = init.counter || input.counter || 0; - this.agent = init.agent || input.agent; - } - - get method() { - return this[INTERNALS$2].method; - } - - get url() { - return format_url(this[INTERNALS$2].parsedURL); - } - - get headers() { - return this[INTERNALS$2].headers; - } - - get redirect() { - return this[INTERNALS$2].redirect; - } - - get signal() { - return this[INTERNALS$2].signal; - } - - /** - * Clone this request - * - * @return Request - */ - clone() { - return new Request(this); - } -} - -Body.mixIn(Request.prototype); - -Object.defineProperty(Request.prototype, Symbol.toStringTag, { - value: 'Request', - writable: false, - enumerable: false, - configurable: true -}); +var Type = __nccwpck_require__(73); -Object.defineProperties(Request.prototype, { - method: { enumerable: true }, - url: { enumerable: true }, - headers: { enumerable: true }, - redirect: { enumerable: true }, - clone: { enumerable: true }, - signal: { enumerable: true } +module.exports = new Type('tag:yaml.org,2002:map', { + kind: 'mapping', + construct: function (data) { return data !== null ? data : {}; } }); -/** - * Convert a Request to Node.js http request options. - * - * @param Request A Request instance - * @return Object The options object to be passed to http.request - */ -function getNodeRequestOptions(request) { - const parsedURL = request[INTERNALS$2].parsedURL; - const headers = new Headers(request[INTERNALS$2].headers); - - // fetch step 1.3 - if (!headers.has('Accept')) { - headers.set('Accept', '*/*'); - } - - // Basic fetch - if (!parsedURL.protocol || !parsedURL.hostname) { - throw new TypeError('Only absolute URLs are supported'); - } - - if (!/^https?:$/.test(parsedURL.protocol)) { - throw new TypeError('Only HTTP(S) protocols are supported'); - } - - if (request.signal && request.body instanceof Stream.Readable && !streamDestructionSupported) { - throw new Error('Cancellation of streamed requests with AbortSignal is not supported in node < 8'); - } - - // HTTP-network-or-cache fetch steps 2.4-2.7 - let contentLengthValue = null; - if (request.body == null && /^(POST|PUT)$/i.test(request.method)) { - contentLengthValue = '0'; - } - if (request.body != null) { - const totalBytes = getTotalBytes(request); - if (typeof totalBytes === 'number') { - contentLengthValue = String(totalBytes); - } - } - if (contentLengthValue) { - headers.set('Content-Length', contentLengthValue); - } - - // HTTP-network-or-cache fetch step 2.11 - if (!headers.has('User-Agent')) { - headers.set('User-Agent', 'node-fetch/1.0 (+https://github.com/bitinn/node-fetch)'); - } - - // HTTP-network-or-cache fetch step 2.15 - if (request.compress && !headers.has('Accept-Encoding')) { - headers.set('Accept-Encoding', 'gzip,deflate'); - } - - let agent = request.agent; - if (typeof agent === 'function') { - agent = agent(parsedURL); - } - - if (!headers.has('Connection') && !agent) { - headers.set('Connection', 'close'); - } - - // HTTP-network fetch step 4.2 - // chunked encoding is handled by Node.js - - return Object.assign({}, parsedURL, { - method: request.method, - headers: exportNodeCompatibleHeaders(headers), - agent - }); -} - -/** - * abort-error.js - * - * AbortError interface for cancelled requests - */ -/** - * Create AbortError instance - * - * @param String message Error message for human - * @return AbortError - */ -function AbortError(message) { - Error.call(this, message); +/***/ }), - this.type = 'aborted'; - this.message = message; +/***/ 104: +/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => { - // hide custom error implementation details from end-users - Error.captureStackTrace(this, this.constructor); -} -AbortError.prototype = Object.create(Error.prototype); -AbortError.prototype.constructor = AbortError; -AbortError.prototype.name = 'AbortError'; -// fix an issue where "PassThrough", "resolve" aren't a named export for node <10 -const PassThrough$1 = Stream.PassThrough; -const resolve_url = Url.resolve; +var Type = __nccwpck_require__(73); -/** - * Fetch function - * - * @param Mixed url Absolute url or Request instance - * @param Object opts Fetch options - * @return Promise - */ -function fetch(url, opts) { - - // allow custom promise - if (!fetch.Promise) { - throw new Error('native promise missing, set fetch.Promise to your favorite alternative'); - } - - Body.Promise = fetch.Promise; - - // wrap http.request into fetch - return new fetch.Promise(function (resolve, reject) { - // build request object - const request = new Request(url, opts); - const options = getNodeRequestOptions(request); - - const send = (options.protocol === 'https:' ? https : http).request; - const signal = request.signal; - - let response = null; - - const abort = function abort() { - let error = new AbortError('The user aborted a request.'); - reject(error); - if (request.body && request.body instanceof Stream.Readable) { - request.body.destroy(error); - } - if (!response || !response.body) return; - response.body.emit('error', error); - }; - - if (signal && signal.aborted) { - abort(); - return; - } - - const abortAndFinalize = function abortAndFinalize() { - abort(); - finalize(); - }; - - // send request - const req = send(options); - let reqTimeout; - - if (signal) { - signal.addEventListener('abort', abortAndFinalize); - } - - function finalize() { - req.abort(); - if (signal) signal.removeEventListener('abort', abortAndFinalize); - clearTimeout(reqTimeout); - } - - if (request.timeout) { - req.once('socket', function (socket) { - reqTimeout = setTimeout(function () { - reject(new FetchError(`network timeout at: ${request.url}`, 'request-timeout')); - finalize(); - }, request.timeout); - }); - } - - req.on('error', function (err) { - reject(new FetchError(`request to ${request.url} failed, reason: ${err.message}`, 'system', err)); - finalize(); - }); - - req.on('response', function (res) { - clearTimeout(reqTimeout); - - const headers = createHeadersLenient(res.headers); - - // HTTP fetch step 5 - if (fetch.isRedirect(res.statusCode)) { - // HTTP fetch step 5.2 - const location = headers.get('Location'); - - // HTTP fetch step 5.3 - const locationURL = location === null ? null : resolve_url(request.url, location); - - // HTTP fetch step 5.5 - switch (request.redirect) { - case 'error': - reject(new FetchError(`uri requested responds with a redirect, redirect mode is set to error: ${request.url}`, 'no-redirect')); - finalize(); - return; - case 'manual': - // node-fetch-specific step: make manual redirect a bit easier to use by setting the Location header value to the resolved URL. - if (locationURL !== null) { - // handle corrupted header - try { - headers.set('Location', locationURL); - } catch (err) { - // istanbul ignore next: nodejs server prevent invalid response headers, we can't test this through normal request - reject(err); - } - } - break; - case 'follow': - // HTTP-redirect fetch step 2 - if (locationURL === null) { - break; - } - - // HTTP-redirect fetch step 5 - if (request.counter >= request.follow) { - reject(new FetchError(`maximum redirect reached at: ${request.url}`, 'max-redirect')); - finalize(); - return; - } - - // HTTP-redirect fetch step 6 (counter increment) - // Create a new Request object. - const requestOpts = { - headers: new Headers(request.headers), - follow: request.follow, - counter: request.counter + 1, - agent: request.agent, - compress: request.compress, - method: request.method, - body: request.body, - signal: request.signal, - timeout: request.timeout, - size: request.size - }; - - // HTTP-redirect fetch step 9 - if (res.statusCode !== 303 && request.body && getTotalBytes(request) === null) { - reject(new FetchError('Cannot follow redirect with body being a readable stream', 'unsupported-redirect')); - finalize(); - return; - } - - // HTTP-redirect fetch step 11 - if (res.statusCode === 303 || (res.statusCode === 301 || res.statusCode === 302) && request.method === 'POST') { - requestOpts.method = 'GET'; - requestOpts.body = undefined; - requestOpts.headers.delete('content-length'); - } - - // HTTP-redirect fetch step 15 - resolve(fetch(new Request(locationURL, requestOpts))); - finalize(); - return; - } - } - - // prepare response - res.once('end', function () { - if (signal) signal.removeEventListener('abort', abortAndFinalize); - }); - let body = res.pipe(new PassThrough$1()); - - const response_options = { - url: request.url, - status: res.statusCode, - statusText: res.statusMessage, - headers: headers, - size: request.size, - timeout: request.timeout, - counter: request.counter - }; - - // HTTP-network fetch step 12.1.1.3 - const codings = headers.get('Content-Encoding'); - - // HTTP-network fetch step 12.1.1.4: handle content codings - - // in following scenarios we ignore compression support - // 1. compression support is disabled - // 2. HEAD request - // 3. no Content-Encoding header - // 4. no content response (204) - // 5. content not modified response (304) - if (!request.compress || request.method === 'HEAD' || codings === null || res.statusCode === 204 || res.statusCode === 304) { - response = new Response(body, response_options); - resolve(response); - return; - } - - // For Node v6+ - // Be less strict when decoding compressed responses, since sometimes - // servers send slightly invalid responses that are still accepted - // by common browsers. - // Always using Z_SYNC_FLUSH is what cURL does. - const zlibOptions = { - flush: zlib.Z_SYNC_FLUSH, - finishFlush: zlib.Z_SYNC_FLUSH - }; - - // for gzip - if (codings == 'gzip' || codings == 'x-gzip') { - body = body.pipe(zlib.createGunzip(zlibOptions)); - response = new Response(body, response_options); - resolve(response); - return; - } - - // for deflate - if (codings == 'deflate' || codings == 'x-deflate') { - // handle the infamous raw deflate response from old servers - // a hack for old IIS and Apache servers - const raw = res.pipe(new PassThrough$1()); - raw.once('data', function (chunk) { - // see http://stackoverflow.com/questions/37519828 - if ((chunk[0] & 0x0F) === 0x08) { - body = body.pipe(zlib.createInflate()); - } else { - body = body.pipe(zlib.createInflateRaw()); - } - response = new Response(body, response_options); - resolve(response); - }); - return; - } - - // for br - if (codings == 'br' && typeof zlib.createBrotliDecompress === 'function') { - body = body.pipe(zlib.createBrotliDecompress()); - response = new Response(body, response_options); - resolve(response); - return; - } - - // otherwise, use response as-is - response = new Response(body, response_options); - resolve(response); - }); - - writeToStream(req, request); - }); +function resolveYamlMerge(data) { + return data === '<<' || data === null; } -/** - * Redirect code matching - * - * @param Number code Status code - * @return Boolean - */ -fetch.isRedirect = function (code) { - return code === 301 || code === 302 || code === 303 || code === 307 || code === 308; -}; - -// expose Promise -fetch.Promise = global.Promise; -module.exports = exports = fetch; -Object.defineProperty(exports, "__esModule", ({ value: true })); -exports.default = exports; -exports.Headers = Headers; -exports.Request = Request; -exports.Response = Response; -exports.FetchError = FetchError; +module.exports = new Type('tag:yaml.org,2002:merge', { + kind: 'scalar', + resolve: resolveYamlMerge +}); /***/ }), -/***/ 1223: +/***/ 721: /***/ ((module, __unused_webpack_exports, __nccwpck_require__) => { -var wrappy = __nccwpck_require__(2940) -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 - }) -}) +var Type = __nccwpck_require__(73); -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 resolveYamlNull(data) { + if (data === null) return true; + + var max = data.length; + + return (max === 1 && data === '~') || + (max === 4 && (data === 'null' || data === 'Null' || data === 'NULL')); } -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 +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' +}); + /***/ }), -/***/ 4294: +/***/ 46: /***/ ((module, __unused_webpack_exports, __nccwpck_require__) => { -module.exports = __nccwpck_require__(4219); -/***/ }), - -/***/ 4219: -/***/ ((__unused_webpack_module, exports, __nccwpck_require__) => { +var Type = __nccwpck_require__(73); -"use strict"; +var _hasOwnProperty = Object.prototype.hasOwnProperty; +var _toString = Object.prototype.toString; +function resolveYamlOmap(data) { + if (data === null) return true; -var net = __nccwpck_require__(1631); -var tls = __nccwpck_require__(4016); -var http = __nccwpck_require__(8605); -var https = __nccwpck_require__(7211); -var events = __nccwpck_require__(8614); -var assert = __nccwpck_require__(2357); -var util = __nccwpck_require__(1669); + var objectKeys = [], index, length, pair, pairKey, pairHasKey, + object = data; + for (index = 0, length = object.length; index < length; index += 1) { + pair = object[index]; + pairHasKey = false; -exports.httpOverHttp = httpOverHttp; -exports.httpsOverHttp = httpsOverHttp; -exports.httpOverHttps = httpOverHttps; -exports.httpsOverHttps = httpsOverHttps; + if (_toString.call(pair) !== '[object Object]') return false; + for (pairKey in pair) { + if (_hasOwnProperty.call(pair, pairKey)) { + if (!pairHasKey) pairHasKey = true; + else return false; + } + } -function httpOverHttp(options) { - var agent = new TunnelingAgent(options); - agent.request = http.request; - return agent; -} + if (!pairHasKey) return false; -function httpsOverHttp(options) { - var agent = new TunnelingAgent(options); - agent.request = http.request; - agent.createSocket = createSecureSocket; - agent.defaultPort = 443; - return agent; -} + if (objectKeys.indexOf(pairKey) === -1) objectKeys.push(pairKey); + else return false; + } -function httpOverHttps(options) { - var agent = new TunnelingAgent(options); - agent.request = https.request; - return agent; + return true; } -function httpsOverHttps(options) { - var agent = new TunnelingAgent(options); - agent.request = https.request; - agent.createSocket = createSecureSocket; - agent.defaultPort = 443; - return agent; +function constructYamlOmap(data) { + return data !== null ? data : []; } +module.exports = new Type('tag:yaml.org,2002:omap', { + kind: 'sequence', + resolve: resolveYamlOmap, + construct: constructYamlOmap +}); -function TunnelingAgent(options) { - var self = this; - self.options = options || {}; - self.proxyOptions = self.options.proxy || {}; - self.maxSockets = self.options.maxSockets || http.Agent.defaultMaxSockets; - self.requests = []; - self.sockets = []; - self.on('free', function onFree(socket, host, port, localAddress) { - var options = toOptions(host, port, localAddress); - for (var i = 0, len = self.requests.length; i < len; ++i) { - var pending = self.requests[i]; - if (pending.host === options.host && pending.port === options.port) { - // Detect the request to connect same origin server, - // reuse the connection. - self.requests.splice(i, 1); - pending.request.onSocket(socket); - return; - } - } - socket.destroy(); - self.removeSocket(socket); - }); -} -util.inherits(TunnelingAgent, events.EventEmitter); +/***/ }), -TunnelingAgent.prototype.addRequest = function addRequest(req, host, port, localAddress) { - var self = this; - var options = mergeOptions({request: req}, self.options, toOptions(host, port, localAddress)); +/***/ 860: +/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => { - if (self.sockets.length >= this.maxSockets) { - // We are over limit so we'll add it to the queue. - self.requests.push(options); - return; - } - // If we are under maxSockets create a new one. - self.createSocket(options, function(socket) { - socket.on('free', onFree); - socket.on('close', onCloseOrRemove); - socket.on('agentRemove', onCloseOrRemove); - req.onSocket(socket); - function onFree() { - self.emit('free', socket, options); - } +var Type = __nccwpck_require__(73); - function onCloseOrRemove(err) { - self.removeSocket(socket); - socket.removeListener('free', onFree); - socket.removeListener('close', onCloseOrRemove); - socket.removeListener('agentRemove', onCloseOrRemove); - } - }); -}; +var _toString = Object.prototype.toString; -TunnelingAgent.prototype.createSocket = function createSocket(options, cb) { - var self = this; - var placeholder = {}; - self.sockets.push(placeholder); +function resolveYamlPairs(data) { + if (data === null) return true; - var connectOptions = mergeOptions({}, self.proxyOptions, { - method: 'CONNECT', - path: options.host + ':' + options.port, - agent: false, - headers: { - host: options.host + ':' + options.port - } - }); - if (options.localAddress) { - connectOptions.localAddress = options.localAddress; - } - if (connectOptions.proxyAuth) { - connectOptions.headers = connectOptions.headers || {}; - connectOptions.headers['Proxy-Authorization'] = 'Basic ' + - new Buffer(connectOptions.proxyAuth).toString('base64'); - } + var index, length, pair, keys, result, + object = data; - debug('making CONNECT request'); - var connectReq = self.request(connectOptions); - connectReq.useChunkedEncodingByDefault = false; // for v0.6 - connectReq.once('response', onResponse); // for v0.6 - connectReq.once('upgrade', onUpgrade); // for v0.6 - connectReq.once('connect', onConnect); // for v0.7 or later - connectReq.once('error', onError); - connectReq.end(); + result = new Array(object.length); - function onResponse(res) { - // Very hacky. This is necessary to avoid http-parser leaks. - res.upgrade = true; - } + for (index = 0, length = object.length; index < length; index += 1) { + pair = object[index]; - function onUpgrade(res, socket, head) { - // Hacky. - process.nextTick(function() { - onConnect(res, socket, head); - }); - } + if (_toString.call(pair) !== '[object Object]') return false; - function onConnect(res, socket, head) { - connectReq.removeAllListeners(); - socket.removeAllListeners(); - - if (res.statusCode !== 200) { - debug('tunneling socket could not be established, statusCode=%d', - res.statusCode); - socket.destroy(); - var error = new Error('tunneling socket could not be established, ' + - 'statusCode=' + res.statusCode); - error.code = 'ECONNRESET'; - options.request.emit('error', error); - self.removeSocket(placeholder); - return; - } - if (head.length > 0) { - debug('got illegal response body from proxy'); - socket.destroy(); - var error = new Error('got illegal response body from proxy'); - error.code = 'ECONNRESET'; - options.request.emit('error', error); - self.removeSocket(placeholder); - return; - } - debug('tunneling connection has established'); - self.sockets[self.sockets.indexOf(placeholder)] = socket; - return cb(socket); - } - - function onError(cause) { - connectReq.removeAllListeners(); - - debug('tunneling socket could not be established, cause=%s\n', - cause.message, cause.stack); - var error = new Error('tunneling socket could not be established, ' + - 'cause=' + cause.message); - error.code = 'ECONNRESET'; - options.request.emit('error', error); - self.removeSocket(placeholder); - } -}; + keys = Object.keys(pair); -TunnelingAgent.prototype.removeSocket = function removeSocket(socket) { - var pos = this.sockets.indexOf(socket) - if (pos === -1) { - return; - } - this.sockets.splice(pos, 1); + if (keys.length !== 1) return false; - var pending = this.requests.shift(); - if (pending) { - // If we have pending requests and a socket gets closed a new one - // needs to be created to take over in the pool for the one that closed. - this.createSocket(pending, function(socket) { - pending.request.onSocket(socket); - }); + result[index] = [ keys[0], pair[keys[0]] ]; } -}; - -function createSecureSocket(options, cb) { - var self = this; - TunnelingAgent.prototype.createSocket.call(self, options, function(socket) { - var hostHeader = options.request.getHeader('host'); - var tlsOptions = mergeOptions({}, self.options, { - socket: socket, - servername: hostHeader ? hostHeader.replace(/:.*$/, '') : options.host - }); - // 0 is dummy port for v0.6 - var secureSocket = tls.connect(0, tlsOptions); - self.sockets[self.sockets.indexOf(socket)] = secureSocket; - cb(secureSocket); - }); + return true; } +function constructYamlPairs(data) { + if (data === null) return []; -function toOptions(host, port, localAddress) { - if (typeof host === 'string') { // since v0.10 - return { - host: host, - port: port, - localAddress: localAddress - }; - } - return host; // for v0.11 or later -} + var index, length, pair, keys, result, + object = data; -function mergeOptions(target) { - for (var i = 1, len = arguments.length; i < len; ++i) { - var overrides = arguments[i]; - if (typeof overrides === 'object') { - var keys = Object.keys(overrides); - for (var j = 0, keyLen = keys.length; j < keyLen; ++j) { - var k = keys[j]; - if (overrides[k] !== undefined) { - target[k] = overrides[k]; - } - } - } - } - return target; -} + result = new Array(object.length); + for (index = 0, length = object.length; index < length; index += 1) { + pair = object[index]; -var debug; -if (process.env.NODE_DEBUG && /\btunnel\b/.test(process.env.NODE_DEBUG)) { - debug = function() { - var args = Array.prototype.slice.call(arguments); - if (typeof args[0] === 'string') { - args[0] = 'TUNNEL: ' + args[0]; - } else { - args.unshift('TUNNEL:'); - } - console.error.apply(console, args); + keys = Object.keys(pair); + + result[index] = [ keys[0], pair[keys[0]] ]; } -} else { - debug = function() {}; + + return result; } -exports.debug = debug; // for test + +module.exports = new Type('tag:yaml.org,2002:pairs', { + kind: 'sequence', + resolve: resolveYamlPairs, + construct: constructYamlPairs +}); /***/ }), -/***/ 5030: -/***/ ((__unused_webpack_module, exports) => { - -"use strict"; +/***/ 283: +/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => { -Object.defineProperty(exports, "__esModule", ({ value: true })); -function getUserAgent() { - if (typeof navigator === "object" && "userAgent" in navigator) { - return navigator.userAgent; - } +var Type = __nccwpck_require__(73); - if (typeof process === "object" && "version" in process) { - return `Node.js/${process.version.substr(1)} (${process.platform}; ${process.arch})`; - } +module.exports = new Type('tag:yaml.org,2002:seq', { + kind: 'sequence', + construct: function (data) { return data !== null ? data : []; } +}); - return ""; -} -exports.getUserAgent = getUserAgent; -//# sourceMappingURL=index.js.map +/***/ }), +/***/ 548: +/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => { -/***/ }), -/***/ 2940: -/***/ ((module) => { -// Returns a wrapper function that returns a wrapped callback -// The wrapper function should do some stuff, and return a -// presumably different callback function. -// This makes sure that own properties are retained, so that -// decorations and such are not lost along the way. -module.exports = wrappy -function wrappy (fn, cb) { - if (fn && cb) return wrappy(fn)(cb) +var Type = __nccwpck_require__(73); - if (typeof fn !== 'function') - throw new TypeError('need wrapper function') +var _hasOwnProperty = Object.prototype.hasOwnProperty; - Object.keys(fn).forEach(function (k) { - wrapper[k] = fn[k] - }) +function resolveYamlSet(data) { + if (data === null) return true; - return wrapper + var key, object = data; - 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 cb = args[args.length-1] - if (typeof ret === 'function' && ret !== cb) { - Object.keys(cb).forEach(function (k) { - ret[k] = cb[k] - }) + for (key in object) { + if (_hasOwnProperty.call(object, key)) { + if (object[key] !== null) return false; } - return ret } -} + return true; +} -/***/ }), - -/***/ 2877: -/***/ ((module) => { +function constructYamlSet(data) { + return data !== null ? data : {}; +} -module.exports = eval("require")("encoding"); +module.exports = new Type('tag:yaml.org,2002:set', { + kind: 'mapping', + resolve: resolveYamlSet, + construct: constructYamlSet +}); /***/ }), -/***/ 2357: -/***/ ((module) => { +/***/ 619: +/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => { -"use strict"; -module.exports = require("assert"); -/***/ }), -/***/ 8614: -/***/ ((module) => { +var Type = __nccwpck_require__(73); + +module.exports = new Type('tag:yaml.org,2002:str', { + kind: 'scalar', + construct: function (data) { return data !== null ? data : ''; } +}); -"use strict"; -module.exports = require("events"); /***/ }), -/***/ 5747: -/***/ ((module) => { +/***/ 212: +/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => { -"use strict"; -module.exports = require("fs"); -/***/ }), -/***/ 8605: -/***/ ((module) => { +var Type = __nccwpck_require__(73); -"use strict"; -module.exports = require("http"); +var YAML_DATE_REGEXP = new RegExp( + '^([0-9][0-9][0-9][0-9])' + // [1] year + '-([0-9][0-9])' + // [2] month + '-([0-9][0-9])$'); // [3] day -/***/ }), +var YAML_TIMESTAMP_REGEXP = new RegExp( + '^([0-9][0-9][0-9][0-9])' + // [1] year + '-([0-9][0-9]?)' + // [2] month + '-([0-9][0-9]?)' + // [3] day + '(?:[Tt]|[ \\t]+)' + // ... + '([0-9][0-9]?)' + // [4] hour + ':([0-9][0-9])' + // [5] minute + ':([0-9][0-9])' + // [6] second + '(?:\\.([0-9]*))?' + // [7] fraction + '(?:[ \\t]*(Z|([-+])([0-9][0-9]?)' + // [8] tz [9] tz_sign [10] tz_hour + '(?::([0-9][0-9]))?))?$'); // [11] tz_minute -/***/ 7211: -/***/ ((module) => { +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; +} -"use strict"; -module.exports = require("https"); +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); -/***/ 1631: -/***/ ((module) => { + if (match === null) throw new Error('Date resolve error'); -"use strict"; -module.exports = require("net"); + // match: [1] year [2] month [3] day -/***/ }), + year = +(match[1]); + month = +(match[2]) - 1; // JS month starts with 0 + day = +(match[3]); -/***/ 2087: -/***/ ((module) => { + if (!match[4]) { // no hour + return new Date(Date.UTC(year, month, day)); + } -"use strict"; -module.exports = require("os"); + // match: [4] hour [5] minute [6] second [7] fraction -/***/ }), + hour = +(match[4]); + minute = +(match[5]); + second = +(match[6]); -/***/ 5622: -/***/ ((module) => { + if (match[7]) { + fraction = match[7].slice(0, 3); + while (fraction.length < 3) { // milli-seconds + fraction += '0'; + } + fraction = +fraction; + } -"use strict"; -module.exports = require("path"); + // match: [8] tz [9] tz_sign [10] tz_hour [11] tz_minute -/***/ }), + if (match[9]) { + tz_hour = +(match[10]); + tz_minute = +(match[11] || 0); + delta = (tz_hour * 60 + tz_minute) * 60000; // delta in mili-seconds + if (match[9] === '-') delta = -delta; + } -/***/ 2413: -/***/ ((module) => { + date = new Date(Date.UTC(year, month, day, hour, minute, second, fraction)); -"use strict"; -module.exports = require("stream"); + if (delta) date.setTime(date.getTime() - delta); -/***/ }), + return date; +} -/***/ 4016: -/***/ ((module) => { +function representYamlTimestamp(object /*, style*/) { + return object.toISOString(); +} + +module.exports = new Type('tag:yaml.org,2002:timestamp', { + kind: 'scalar', + resolve: resolveYamlTimestamp, + construct: constructYamlTimestamp, + instanceOf: Date, + represent: representYamlTimestamp +}); -"use strict"; -module.exports = require("tls"); /***/ }), -/***/ 8835: +/***/ 747: /***/ ((module) => { -"use strict"; -module.exports = require("url"); +module.exports = require("fs"); /***/ }), -/***/ 1669: +/***/ 87: /***/ ((module) => { -"use strict"; -module.exports = require("util"); +module.exports = require("os"); /***/ }), -/***/ 8761: +/***/ 622: /***/ ((module) => { -"use strict"; -module.exports = require("zlib"); +module.exports = require("path"); /***/ }) @@ -10384,34 +4713,12 @@ module.exports = require("zlib"); /******/ if (typeof __nccwpck_require__ !== 'undefined') __nccwpck_require__.ab = __dirname + "/"; /******/ /************************************************************************/ -var __webpack_exports__ = {}; -// This entry need to be wrapped in an IIFE because it need to be in strict mode. -(() => { -"use strict"; - - -const core = __nccwpck_require__(2186); -const github = __nccwpck_require__(5438); -const { promises: fs } = __nccwpck_require__(5747); -const yaml = __nccwpck_require__(1917); - -const main = async () => { - const file = core.getInput('file'); - const key = JSON.parse(core.getInput('key-path')); - - let content = await fs.readFile(file, 'utf8'); - - let yamlData = yaml.load(content); - - for (let i = 0; i < key.length; i++) yamlData = yamlData[key[i]]; - - core.setOutput('data', yamlData); -} - -main().catch(err => core.setFailed(err.message)); - -})(); - -module.exports = __webpack_exports__; +/******/ +/******/ // startup +/******/ // Load entry module and return exports +/******/ // This entry module is referenced by other modules so it can't be inlined +/******/ var __webpack_exports__ = __nccwpck_require__(667); +/******/ module.exports = __webpack_exports__; +/******/ /******/ })() ; \ No newline at end of file diff --git a/index.js b/index.js deleted file mode 100644 index 398cbbf..0000000 --- a/index.js +++ /dev/null @@ -1,21 +0,0 @@ -'use strict' - -const core = require('@actions/core'); -const github = require('@actions/github'); -const { promises: fs } = require('fs'); -const yaml = require('js-yaml'); - -const main = async () => { - const file = core.getInput('file'); - const key = JSON.parse(core.getInput('key-path')); - - let content = await fs.readFile(file, 'utf8'); - - let yamlData = yaml.load(content); - - for (let i = 0; i < key.length; i++) yamlData = yamlData[key[i]]; - - core.setOutput('data', yamlData); -} - -main().catch(err => core.setFailed(err.message)); diff --git a/node_modules/.bin/js-yaml b/node_modules/.bin/js-yaml deleted file mode 120000 index 9dbd010..0000000 --- a/node_modules/.bin/js-yaml +++ /dev/null @@ -1 +0,0 @@ -../js-yaml/bin/js-yaml.js \ No newline at end of file diff --git a/node_modules/.bin/ncc b/node_modules/.bin/ncc deleted file mode 120000 index e05914a..0000000 --- a/node_modules/.bin/ncc +++ /dev/null @@ -1 +0,0 @@ -../@vercel/ncc/dist/ncc/cli.js \ No newline at end of file diff --git a/node_modules/.yarn-integrity b/node_modules/.yarn-integrity deleted file mode 100644 index 1e343ae..0000000 --- a/node_modules/.yarn-integrity +++ /dev/null @@ -1,47 +0,0 @@ -{ - "systemParams": "linux-x64-83", - "modulesFolders": [ - "node_modules" - ], - "flags": [], - "linkedModules": [], - "topLevelPatterns": [ - "@actions/core@^1.4.0", - "@actions/github@^5.0.0", - "@vercel/ncc@^0.29.0", - "js-yaml@^4.1.0" - ], - "lockfileEntries": { - "@actions/core@^1.4.0": "https://registry.yarnpkg.com/@actions/core/-/core-1.4.0.tgz#cf2e6ee317e314b03886adfeb20e448d50d6e524", - "@actions/github@^5.0.0": "https://registry.yarnpkg.com/@actions/github/-/github-5.0.0.tgz#1754127976c50bd88b2e905f10d204d76d1472f8", - "@actions/http-client@^1.0.11": "https://registry.yarnpkg.com/@actions/http-client/-/http-client-1.0.11.tgz#c58b12e9aa8b159ee39e7dd6cbd0e91d905633c0", - "@octokit/auth-token@^2.4.4": "https://registry.yarnpkg.com/@octokit/auth-token/-/auth-token-2.4.5.tgz#568ccfb8cb46f36441fac094ce34f7a875b197f3", - "@octokit/core@^3.4.0": "https://registry.yarnpkg.com/@octokit/core/-/core-3.5.1.tgz#8601ceeb1ec0e1b1b8217b960a413ed8e947809b", - "@octokit/endpoint@^6.0.1": "https://registry.yarnpkg.com/@octokit/endpoint/-/endpoint-6.0.12.tgz#3b4d47a4b0e79b1027fb8d75d4221928b2d05658", - "@octokit/graphql@^4.5.8": "https://registry.yarnpkg.com/@octokit/graphql/-/graphql-4.6.4.tgz#0c3f5bed440822182e972317122acb65d311a5ed", - "@octokit/openapi-types@^9.2.0": "https://registry.yarnpkg.com/@octokit/openapi-types/-/openapi-types-9.2.0.tgz#46bbfe6a85bfd2987e69216955fcd04df7d025bb", - "@octokit/plugin-paginate-rest@^2.13.3": "https://registry.yarnpkg.com/@octokit/plugin-paginate-rest/-/plugin-paginate-rest-2.14.0.tgz#f469cb4a908792fb44679c5973d8bba820c88b0f", - "@octokit/plugin-rest-endpoint-methods@^5.1.1": "https://registry.yarnpkg.com/@octokit/plugin-rest-endpoint-methods/-/plugin-rest-endpoint-methods-5.5.2.tgz#c8bdb3065a9725e30802295f10a31b3ff434830c", - "@octokit/request-error@^2.0.5": "https://registry.yarnpkg.com/@octokit/request-error/-/request-error-2.1.0.tgz#9e150357831bfc788d13a4fd4b1913d60c74d677", - "@octokit/request-error@^2.1.0": "https://registry.yarnpkg.com/@octokit/request-error/-/request-error-2.1.0.tgz#9e150357831bfc788d13a4fd4b1913d60c74d677", - "@octokit/request@^5.6.0": "https://registry.yarnpkg.com/@octokit/request/-/request-5.6.0.tgz#6084861b6e4fa21dc40c8e2a739ec5eff597e672", - "@octokit/types@^6.0.3": "https://registry.yarnpkg.com/@octokit/types/-/types-6.22.0.tgz#389bade20955c919241b6ffb9dd33f6e0cf1cc6c", - "@octokit/types@^6.16.1": "https://registry.yarnpkg.com/@octokit/types/-/types-6.22.0.tgz#389bade20955c919241b6ffb9dd33f6e0cf1cc6c", - "@octokit/types@^6.18.0": "https://registry.yarnpkg.com/@octokit/types/-/types-6.22.0.tgz#389bade20955c919241b6ffb9dd33f6e0cf1cc6c", - "@octokit/types@^6.22.0": "https://registry.yarnpkg.com/@octokit/types/-/types-6.22.0.tgz#389bade20955c919241b6ffb9dd33f6e0cf1cc6c", - "@vercel/ncc@^0.29.0": "https://registry.yarnpkg.com/@vercel/ncc/-/ncc-0.29.0.tgz#ac23fc23f1593b05c72360108bcf6d849d2f317a", - "argparse@^2.0.1": "https://registry.yarnpkg.com/argparse/-/argparse-2.0.1.tgz#246f50f3ca78a3240f6c997e8a9bd1eac49e4b38", - "before-after-hook@^2.2.0": "https://registry.yarnpkg.com/before-after-hook/-/before-after-hook-2.2.2.tgz#a6e8ca41028d90ee2c24222f201c90956091613e", - "deprecation@^2.0.0": "https://registry.yarnpkg.com/deprecation/-/deprecation-2.3.1.tgz#6368cbdb40abf3373b525ac87e4a260c3a700919", - "deprecation@^2.3.1": "https://registry.yarnpkg.com/deprecation/-/deprecation-2.3.1.tgz#6368cbdb40abf3373b525ac87e4a260c3a700919", - "is-plain-object@^5.0.0": "https://registry.yarnpkg.com/is-plain-object/-/is-plain-object-5.0.0.tgz#4427f50ab3429e9025ea7d52e9043a9ef4159344", - "js-yaml@^4.1.0": "https://registry.yarnpkg.com/js-yaml/-/js-yaml-4.1.0.tgz#c1fb65f8f5017901cdd2c951864ba18458a10602", - "node-fetch@^2.6.1": "https://registry.yarnpkg.com/node-fetch/-/node-fetch-2.6.1.tgz#045bd323631f76ed2e2b55573394416b639a0052", - "once@^1.4.0": "https://registry.yarnpkg.com/once/-/once-1.4.0.tgz#583b1aa775961d4b113ac17d9c50baef9dd76bd1", - "tunnel@0.0.6": "https://registry.yarnpkg.com/tunnel/-/tunnel-0.0.6.tgz#72f1314b34a5b192db012324df2cc587ca47f92c", - "universal-user-agent@^6.0.0": "https://registry.yarnpkg.com/universal-user-agent/-/universal-user-agent-6.0.0.tgz#3381f8503b251c0d9cd21bc1de939ec9df5480ee", - "wrappy@1": "https://registry.yarnpkg.com/wrappy/-/wrappy-1.0.2.tgz#b5243d8f3ec1aa35f1364605bc0d1036e30ab69f" - }, - "files": [], - "artifacts": {} -} \ No newline at end of file diff --git a/node_modules/@actions/core/LICENSE.md b/node_modules/@actions/core/LICENSE.md deleted file mode 100644 index dbae2ed..0000000 --- a/node_modules/@actions/core/LICENSE.md +++ /dev/null @@ -1,9 +0,0 @@ -The MIT License (MIT) - -Copyright 2019 GitHub - -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. \ No newline at end of file diff --git a/node_modules/@actions/core/README.md b/node_modules/@actions/core/README.md deleted file mode 100644 index deffaa5..0000000 --- a/node_modules/@actions/core/README.md +++ /dev/null @@ -1,209 +0,0 @@ -# `@actions/core` - -> Core functions for setting results, logging, registering secrets and exporting variables across actions - -## Usage - -### Import the package - -```js -// javascript -const core = require('@actions/core'); - -// typescript -import * as core from '@actions/core'; -``` - -#### Inputs/Outputs - -Action inputs can be read with `getInput` which returns a `string` or `getBooleanInput` which parses a boolean based on the [yaml 1.2 specification](https://yaml.org/spec/1.2/spec.html#id2804923). If `required` set to be false, the input should have a default value in `action.yml`. - -Outputs can be set with `setOutput` which makes them available to be mapped into inputs of other actions to ensure they are decoupled. - -```js -const myInput = core.getInput('inputName', { required: true }); -const myBooleanInput = core.getBooleanInput('booleanInputName', { required: true }); -const myMultilineInput = core.getMultilineInput('multilineInputName', { required: true }); -core.setOutput('outputKey', 'outputVal'); -``` - -#### Exporting variables - -Since each step runs in a separate process, you can use `exportVariable` to add it to this step and future steps environment blocks. - -```js -core.exportVariable('envVar', 'Val'); -``` - -#### Setting a secret - -Setting a secret registers the secret with the runner to ensure it is masked in logs. - -```js -core.setSecret('myPassword'); -``` - -#### PATH Manipulation - -To make a tool's path available in the path for the remainder of the job (without altering the machine or containers state), use `addPath`. The runner will prepend the path given to the jobs PATH. - -```js -core.addPath('/path/to/mytool'); -``` - -#### Exit codes - -You should use this library to set the failing exit code for your action. If status is not set and the script runs to completion, that will lead to a success. - -```js -const core = require('@actions/core'); - -try { - // Do stuff -} -catch (err) { - // setFailed logs the message and sets a failing exit code - core.setFailed(`Action failed with error ${err}`); -} -``` - -Note that `setNeutral` is not yet implemented in actions V2 but equivalent functionality is being planned. - -#### Logging - -Finally, this library provides some utilities for logging. Note that debug logging is hidden from the logs by default. This behavior can be toggled by enabling the [Step Debug Logs](../../docs/action-debugging.md#step-debug-logs). - -```js -const core = require('@actions/core'); - -const myInput = core.getInput('input'); -try { - core.debug('Inside try block'); - - if (!myInput) { - core.warning('myInput was not set'); - } - - if (core.isDebug()) { - // curl -v https://github.com - } else { - // curl https://github.com - } - - // Do stuff - core.info('Output to the actions build log') -} -catch (err) { - core.error(`Error ${err}, action may still succeed though`); -} -``` - -This library can also wrap chunks of output in foldable groups. - -```js -const core = require('@actions/core') - -// Manually wrap output -core.startGroup('Do some function') -doSomeFunction() -core.endGroup() - -// Wrap an asynchronous function call -const result = await core.group('Do something async', async () => { - const response = await doSomeHTTPRequest() - return response -}) -``` - -#### Styling output - -Colored output is supported in the Action logs via standard [ANSI escape codes](https://en.wikipedia.org/wiki/ANSI_escape_code). 3/4 bit, 8 bit and 24 bit colors are all supported. - -Foreground colors: - -```js -// 3/4 bit -core.info('\u001b[35mThis foreground will be magenta') - -// 8 bit -core.info('\u001b[38;5;6mThis foreground will be cyan') - -// 24 bit -core.info('\u001b[38;2;255;0;0mThis foreground will be bright red') -``` - -Background colors: - -```js -// 3/4 bit -core.info('\u001b[43mThis background will be yellow'); - -// 8 bit -core.info('\u001b[48;5;6mThis background will be cyan') - -// 24 bit -core.info('\u001b[48;2;255;0;0mThis background will be bright red') -``` - -Special styles: - -```js -core.info('\u001b[1mBold text') -core.info('\u001b[3mItalic text') -core.info('\u001b[4mUnderlined text') -``` - -ANSI escape codes can be combined with one another: - -```js -core.info('\u001b[31;46mRed foreground with a cyan background and \u001b[1mbold text at the end'); -``` - -> Note: Escape codes reset at the start of each line - -```js -core.info('\u001b[35mThis foreground will be magenta') -core.info('This foreground will reset to the default') -``` - -Manually typing escape codes can be a little difficult, but you can use third party modules such as [ansi-styles](https://github.com/chalk/ansi-styles). - -```js -const style = require('ansi-styles'); -core.info(style.color.ansi16m.hex('#abcdef') + 'Hello world!') -``` - -#### Action state - -You can use this library to save state and get state for sharing information between a given wrapper action: - -**action.yml**: - -```yaml -name: 'Wrapper action sample' -inputs: - name: - default: 'GitHub' -runs: - using: 'node12' - main: 'main.js' - post: 'cleanup.js' -``` - -In action's `main.js`: - -```js -const core = require('@actions/core'); - -core.saveState("pidToKill", 12345); -``` - -In action's `cleanup.js`: - -```js -const core = require('@actions/core'); - -var pid = core.getState("pidToKill"); - -process.kill(pid); -``` diff --git a/node_modules/@actions/core/lib/command.d.ts b/node_modules/@actions/core/lib/command.d.ts deleted file mode 100644 index 89eff66..0000000 --- a/node_modules/@actions/core/lib/command.d.ts +++ /dev/null @@ -1,16 +0,0 @@ -interface CommandProperties { - [key: string]: any; -} -/** - * Commands - * - * Command Format: - * ::name key=value,key=value::message - * - * Examples: - * ::warning::This is the message - * ::set-env name=MY_VAR::some value - */ -export declare function issueCommand(command: string, properties: CommandProperties, message: any): void; -export declare function issue(name: string, message?: string): void; -export {}; diff --git a/node_modules/@actions/core/lib/command.js b/node_modules/@actions/core/lib/command.js deleted file mode 100644 index 0b28c66..0000000 --- a/node_modules/@actions/core/lib/command.js +++ /dev/null @@ -1,92 +0,0 @@ -"use strict"; -var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { - if (k2 === undefined) k2 = k; - Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } }); -}) : (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 (mod) { - if (mod && mod.__esModule) return mod; - var result = {}; - if (mod != null) for (var k in mod) if (k !== "default" && Object.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k); - __setModuleDefault(result, mod); - return result; -}; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.issue = exports.issueCommand = void 0; -const os = __importStar(require("os")); -const utils_1 = require("./utils"); -/** - * Commands - * - * Command Format: - * ::name key=value,key=value::message - * - * Examples: - * ::warning::This is the message - * ::set-env name=MY_VAR::some value - */ -function issueCommand(command, properties, message) { - const cmd = new Command(command, properties, message); - process.stdout.write(cmd.toString() + os.EOL); -} -exports.issueCommand = issueCommand; -function issue(name, message = '') { - issueCommand(name, {}, message); -} -exports.issue = issue; -const CMD_STRING = '::'; -class Command { - constructor(command, properties, message) { - if (!command) { - command = 'missing.command'; - } - this.command = command; - this.properties = properties; - this.message = message; - } - toString() { - let cmdStr = CMD_STRING + this.command; - if (this.properties && Object.keys(this.properties).length > 0) { - cmdStr += ' '; - let first = true; - for (const key in this.properties) { - if (this.properties.hasOwnProperty(key)) { - const val = this.properties[key]; - if (val) { - if (first) { - first = false; - } - else { - cmdStr += ','; - } - cmdStr += `${key}=${escapeProperty(val)}`; - } - } - } - } - cmdStr += `${CMD_STRING}${escapeData(this.message)}`; - return cmdStr; - } -} -function escapeData(s) { - return utils_1.toCommandValue(s) - .replace(/%/g, '%25') - .replace(/\r/g, '%0D') - .replace(/\n/g, '%0A'); -} -function escapeProperty(s) { - return utils_1.toCommandValue(s) - .replace(/%/g, '%25') - .replace(/\r/g, '%0D') - .replace(/\n/g, '%0A') - .replace(/:/g, '%3A') - .replace(/,/g, '%2C'); -} -//# sourceMappingURL=command.js.map \ No newline at end of file diff --git a/node_modules/@actions/core/lib/command.js.map b/node_modules/@actions/core/lib/command.js.map deleted file mode 100644 index 51c7c63..0000000 --- a/node_modules/@actions/core/lib/command.js.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"command.js","sourceRoot":"","sources":["../src/command.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;AAAA,uCAAwB;AACxB,mCAAsC;AAWtC;;;;;;;;;GASG;AACH,SAAgB,YAAY,CAC1B,OAAe,EACf,UAA6B,EAC7B,OAAY;IAEZ,MAAM,GAAG,GAAG,IAAI,OAAO,CAAC,OAAO,EAAE,UAAU,EAAE,OAAO,CAAC,CAAA;IACrD,OAAO,CAAC,MAAM,CAAC,KAAK,CAAC,GAAG,CAAC,QAAQ,EAAE,GAAG,EAAE,CAAC,GAAG,CAAC,CAAA;AAC/C,CAAC;AAPD,oCAOC;AAED,SAAgB,KAAK,CAAC,IAAY,EAAE,OAAO,GAAG,EAAE;IAC9C,YAAY,CAAC,IAAI,EAAE,EAAE,EAAE,OAAO,CAAC,CAAA;AACjC,CAAC;AAFD,sBAEC;AAED,MAAM,UAAU,GAAG,IAAI,CAAA;AAEvB,MAAM,OAAO;IAKX,YAAY,OAAe,EAAE,UAA6B,EAAE,OAAe;QACzE,IAAI,CAAC,OAAO,EAAE;YACZ,OAAO,GAAG,iBAAiB,CAAA;SAC5B;QAED,IAAI,CAAC,OAAO,GAAG,OAAO,CAAA;QACtB,IAAI,CAAC,UAAU,GAAG,UAAU,CAAA;QAC5B,IAAI,CAAC,OAAO,GAAG,OAAO,CAAA;IACxB,CAAC;IAED,QAAQ;QACN,IAAI,MAAM,GAAG,UAAU,GAAG,IAAI,CAAC,OAAO,CAAA;QAEtC,IAAI,IAAI,CAAC,UAAU,IAAI,MAAM,CAAC,IAAI,CAAC,IAAI,CAAC,UAAU,CAAC,CAAC,MAAM,GAAG,CAAC,EAAE;YAC9D,MAAM,IAAI,GAAG,CAAA;YACb,IAAI,KAAK,GAAG,IAAI,CAAA;YAChB,KAAK,MAAM,GAAG,IAAI,IAAI,CAAC,UAAU,EAAE;gBACjC,IAAI,IAAI,CAAC,UAAU,CAAC,cAAc,CAAC,GAAG,CAAC,EAAE;oBACvC,MAAM,GAAG,GAAG,IAAI,CAAC,UAAU,CAAC,GAAG,CAAC,CAAA;oBAChC,IAAI,GAAG,EAAE;wBACP,IAAI,KAAK,EAAE;4BACT,KAAK,GAAG,KAAK,CAAA;yBACd;6BAAM;4BACL,MAAM,IAAI,GAAG,CAAA;yBACd;wBAED,MAAM,IAAI,GAAG,GAAG,IAAI,cAAc,CAAC,GAAG,CAAC,EAAE,CAAA;qBAC1C;iBACF;aACF;SACF;QAED,MAAM,IAAI,GAAG,UAAU,GAAG,UAAU,CAAC,IAAI,CAAC,OAAO,CAAC,EAAE,CAAA;QACpD,OAAO,MAAM,CAAA;IACf,CAAC;CACF;AAED,SAAS,UAAU,CAAC,CAAM;IACxB,OAAO,sBAAc,CAAC,CAAC,CAAC;SACrB,OAAO,CAAC,IAAI,EAAE,KAAK,CAAC;SACpB,OAAO,CAAC,KAAK,EAAE,KAAK,CAAC;SACrB,OAAO,CAAC,KAAK,EAAE,KAAK,CAAC,CAAA;AAC1B,CAAC;AAED,SAAS,cAAc,CAAC,CAAM;IAC5B,OAAO,sBAAc,CAAC,CAAC,CAAC;SACrB,OAAO,CAAC,IAAI,EAAE,KAAK,CAAC;SACpB,OAAO,CAAC,KAAK,EAAE,KAAK,CAAC;SACrB,OAAO,CAAC,KAAK,EAAE,KAAK,CAAC;SACrB,OAAO,CAAC,IAAI,EAAE,KAAK,CAAC;SACpB,OAAO,CAAC,IAAI,EAAE,KAAK,CAAC,CAAA;AACzB,CAAC"} \ No newline at end of file diff --git a/node_modules/@actions/core/lib/core.d.ts b/node_modules/@actions/core/lib/core.d.ts deleted file mode 100644 index 6735251..0000000 --- a/node_modules/@actions/core/lib/core.d.ts +++ /dev/null @@ -1,146 +0,0 @@ -/** - * Interface for getInput options - */ -export interface InputOptions { - /** Optional. Whether the input is required. If required and not present, will throw. Defaults to false */ - required?: boolean; - /** Optional. Whether leading/trailing whitespace will be trimmed for the input. Defaults to true */ - trimWhitespace?: boolean; -} -/** - * The code to exit an action - */ -export declare enum ExitCode { - /** - * A code indicating that the action was successful - */ - Success = 0, - /** - * A code indicating that the action was a failure - */ - Failure = 1 -} -/** - * Sets env variable for this action and future actions in the job - * @param name the name of the variable to set - * @param val the value of the variable. Non-string values will be converted to a string via JSON.stringify - */ -export declare function exportVariable(name: string, val: any): void; -/** - * Registers a secret which will get masked from logs - * @param secret value of the secret - */ -export declare function setSecret(secret: string): void; -/** - * Prepends inputPath to the PATH (for this action and future actions) - * @param inputPath - */ -export declare function addPath(inputPath: string): void; -/** - * Gets the value of an input. - * Unless trimWhitespace is set to false in InputOptions, the value is also trimmed. - * Returns an empty string if the value is not defined. - * - * @param name name of the input to get - * @param options optional. See InputOptions. - * @returns string - */ -export declare function getInput(name: string, options?: InputOptions): string; -/** - * Gets the values of an multiline input. Each value is also trimmed. - * - * @param name name of the input to get - * @param options optional. See InputOptions. - * @returns string[] - * - */ -export declare function getMultilineInput(name: string, options?: InputOptions): string[]; -/** - * Gets the input value of the boolean type in the YAML 1.2 "core schema" specification. - * Support boolean input list: `true | True | TRUE | false | False | FALSE` . - * The return value is also in boolean type. - * ref: https://yaml.org/spec/1.2/spec.html#id2804923 - * - * @param name name of the input to get - * @param options optional. See InputOptions. - * @returns boolean - */ -export declare function getBooleanInput(name: string, options?: InputOptions): boolean; -/** - * Sets the value of an output. - * - * @param name name of the output to set - * @param value value to store. Non-string values will be converted to a string via JSON.stringify - */ -export declare function setOutput(name: string, value: any): void; -/** - * Enables or disables the echoing of commands into stdout for the rest of the step. - * Echoing is disabled by default if ACTIONS_STEP_DEBUG is not set. - * - */ -export declare function setCommandEcho(enabled: boolean): void; -/** - * Sets the action status to failed. - * When the action exits it will be with an exit code of 1 - * @param message add error issue message - */ -export declare function setFailed(message: string | Error): void; -/** - * Gets whether Actions Step Debug is on or not - */ -export declare function isDebug(): boolean; -/** - * Writes debug message to user log - * @param message debug message - */ -export declare function debug(message: string): void; -/** - * Adds an error issue - * @param message error issue message. Errors will be converted to string via toString() - */ -export declare function error(message: string | Error): void; -/** - * Adds an warning issue - * @param message warning issue message. Errors will be converted to string via toString() - */ -export declare function warning(message: string | Error): void; -/** - * Writes info to log with console.log. - * @param message info message - */ -export declare function info(message: string): void; -/** - * Begin an output group. - * - * Output until the next `groupEnd` will be foldable in this group - * - * @param name The name of the output group - */ -export declare function startGroup(name: string): void; -/** - * End an output group. - */ -export declare function endGroup(): void; -/** - * Wrap an asynchronous function call in a group. - * - * Returns the same type as the function itself. - * - * @param name The name of the group - * @param fn The function to wrap in the group - */ -export declare function group(name: string, fn: () => Promise): Promise; -/** - * Saves state for current action, the state can only be retrieved by this action's post job execution. - * - * @param name name of the state to store - * @param value value to store. Non-string values will be converted to a string via JSON.stringify - */ -export declare function saveState(name: string, value: any): void; -/** - * Gets the value of an state set by this action's main execution. - * - * @param name name of the state to get - * @returns string - */ -export declare function getState(name: string): string; diff --git a/node_modules/@actions/core/lib/core.js b/node_modules/@actions/core/lib/core.js deleted file mode 100644 index f9dbee3..0000000 --- a/node_modules/@actions/core/lib/core.js +++ /dev/null @@ -1,294 +0,0 @@ -"use strict"; -var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { - if (k2 === undefined) k2 = k; - Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } }); -}) : (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 (mod) { - if (mod && mod.__esModule) return mod; - var result = {}; - if (mod != null) for (var k in mod) if (k !== "default" && Object.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k); - __setModuleDefault(result, mod); - return result; -}; -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()); - }); -}; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.getState = exports.saveState = exports.group = exports.endGroup = exports.startGroup = exports.info = exports.warning = exports.error = exports.debug = exports.isDebug = exports.setFailed = exports.setCommandEcho = exports.setOutput = exports.getBooleanInput = exports.getMultilineInput = exports.getInput = exports.addPath = exports.setSecret = exports.exportVariable = exports.ExitCode = void 0; -const command_1 = require("./command"); -const file_command_1 = require("./file-command"); -const utils_1 = require("./utils"); -const os = __importStar(require("os")); -const path = __importStar(require("path")); -/** - * The code to exit an action - */ -var ExitCode; -(function (ExitCode) { - /** - * A code indicating that the action was successful - */ - ExitCode[ExitCode["Success"] = 0] = "Success"; - /** - * A code indicating that the action was a failure - */ - ExitCode[ExitCode["Failure"] = 1] = "Failure"; -})(ExitCode = exports.ExitCode || (exports.ExitCode = {})); -//----------------------------------------------------------------------- -// Variables -//----------------------------------------------------------------------- -/** - * Sets env variable for this action and future actions in the job - * @param name the name of the variable to set - * @param val the value of the variable. Non-string values will be converted to a string via JSON.stringify - */ -// eslint-disable-next-line @typescript-eslint/no-explicit-any -function exportVariable(name, val) { - const convertedVal = utils_1.toCommandValue(val); - process.env[name] = convertedVal; - const filePath = process.env['GITHUB_ENV'] || ''; - if (filePath) { - const delimiter = '_GitHubActionsFileCommandDelimeter_'; - const commandValue = `${name}<<${delimiter}${os.EOL}${convertedVal}${os.EOL}${delimiter}`; - file_command_1.issueCommand('ENV', commandValue); - } - else { - command_1.issueCommand('set-env', { name }, convertedVal); - } -} -exports.exportVariable = exportVariable; -/** - * Registers a secret which will get masked from logs - * @param secret value of the secret - */ -function setSecret(secret) { - command_1.issueCommand('add-mask', {}, secret); -} -exports.setSecret = setSecret; -/** - * Prepends inputPath to the PATH (for this action and future actions) - * @param inputPath - */ -function addPath(inputPath) { - const filePath = process.env['GITHUB_PATH'] || ''; - if (filePath) { - file_command_1.issueCommand('PATH', inputPath); - } - else { - command_1.issueCommand('add-path', {}, inputPath); - } - process.env['PATH'] = `${inputPath}${path.delimiter}${process.env['PATH']}`; -} -exports.addPath = addPath; -/** - * Gets the value of an input. - * Unless trimWhitespace is set to false in InputOptions, the value is also trimmed. - * Returns an empty string if the value is not defined. - * - * @param name name of the input to get - * @param options optional. See InputOptions. - * @returns string - */ -function getInput(name, options) { - const val = process.env[`INPUT_${name.replace(/ /g, '_').toUpperCase()}`] || ''; - if (options && options.required && !val) { - throw new Error(`Input required and not supplied: ${name}`); - } - if (options && options.trimWhitespace === false) { - return val; - } - return val.trim(); -} -exports.getInput = getInput; -/** - * Gets the values of an multiline input. Each value is also trimmed. - * - * @param name name of the input to get - * @param options optional. See InputOptions. - * @returns string[] - * - */ -function getMultilineInput(name, options) { - const inputs = getInput(name, options) - .split('\n') - .filter(x => x !== ''); - return inputs; -} -exports.getMultilineInput = getMultilineInput; -/** - * Gets the input value of the boolean type in the YAML 1.2 "core schema" specification. - * Support boolean input list: `true | True | TRUE | false | False | FALSE` . - * The return value is also in boolean type. - * ref: https://yaml.org/spec/1.2/spec.html#id2804923 - * - * @param name name of the input to get - * @param options optional. See InputOptions. - * @returns boolean - */ -function getBooleanInput(name, options) { - const trueValue = ['true', 'True', 'TRUE']; - const falseValue = ['false', 'False', 'FALSE']; - const val = getInput(name, options); - if (trueValue.includes(val)) - return true; - if (falseValue.includes(val)) - return false; - throw new TypeError(`Input does not meet YAML 1.2 "Core Schema" specification: ${name}\n` + - `Support boolean input list: \`true | True | TRUE | false | False | FALSE\``); -} -exports.getBooleanInput = getBooleanInput; -/** - * Sets the value of an output. - * - * @param name name of the output to set - * @param value value to store. Non-string values will be converted to a string via JSON.stringify - */ -// eslint-disable-next-line @typescript-eslint/no-explicit-any -function setOutput(name, value) { - process.stdout.write(os.EOL); - command_1.issueCommand('set-output', { name }, value); -} -exports.setOutput = setOutput; -/** - * Enables or disables the echoing of commands into stdout for the rest of the step. - * Echoing is disabled by default if ACTIONS_STEP_DEBUG is not set. - * - */ -function setCommandEcho(enabled) { - command_1.issue('echo', enabled ? 'on' : 'off'); -} -exports.setCommandEcho = setCommandEcho; -//----------------------------------------------------------------------- -// Results -//----------------------------------------------------------------------- -/** - * Sets the action status to failed. - * When the action exits it will be with an exit code of 1 - * @param message add error issue message - */ -function setFailed(message) { - process.exitCode = ExitCode.Failure; - error(message); -} -exports.setFailed = setFailed; -//----------------------------------------------------------------------- -// Logging Commands -//----------------------------------------------------------------------- -/** - * Gets whether Actions Step Debug is on or not - */ -function isDebug() { - return process.env['RUNNER_DEBUG'] === '1'; -} -exports.isDebug = isDebug; -/** - * Writes debug message to user log - * @param message debug message - */ -function debug(message) { - command_1.issueCommand('debug', {}, message); -} -exports.debug = debug; -/** - * Adds an error issue - * @param message error issue message. Errors will be converted to string via toString() - */ -function error(message) { - command_1.issue('error', message instanceof Error ? message.toString() : message); -} -exports.error = error; -/** - * Adds an warning issue - * @param message warning issue message. Errors will be converted to string via toString() - */ -function warning(message) { - command_1.issue('warning', message instanceof Error ? message.toString() : message); -} -exports.warning = warning; -/** - * Writes info to log with console.log. - * @param message info message - */ -function info(message) { - process.stdout.write(message + os.EOL); -} -exports.info = info; -/** - * Begin an output group. - * - * Output until the next `groupEnd` will be foldable in this group - * - * @param name The name of the output group - */ -function startGroup(name) { - command_1.issue('group', name); -} -exports.startGroup = startGroup; -/** - * End an output group. - */ -function endGroup() { - command_1.issue('endgroup'); -} -exports.endGroup = endGroup; -/** - * Wrap an asynchronous function call in a group. - * - * Returns the same type as the function itself. - * - * @param name The name of the group - * @param fn The function to wrap in the group - */ -function group(name, fn) { - return __awaiter(this, void 0, void 0, function* () { - startGroup(name); - let result; - try { - result = yield fn(); - } - finally { - endGroup(); - } - return result; - }); -} -exports.group = group; -//----------------------------------------------------------------------- -// Wrapper action state -//----------------------------------------------------------------------- -/** - * Saves state for current action, the state can only be retrieved by this action's post job execution. - * - * @param name name of the state to store - * @param value value to store. Non-string values will be converted to a string via JSON.stringify - */ -// eslint-disable-next-line @typescript-eslint/no-explicit-any -function saveState(name, value) { - command_1.issueCommand('save-state', { name }, value); -} -exports.saveState = saveState; -/** - * Gets the value of an state set by this action's main execution. - * - * @param name name of the state to get - * @returns string - */ -function getState(name) { - return process.env[`STATE_${name}`] || ''; -} -exports.getState = getState; -//# sourceMappingURL=core.js.map \ No newline at end of file diff --git a/node_modules/@actions/core/lib/core.js.map b/node_modules/@actions/core/lib/core.js.map deleted file mode 100644 index 8bd42c0..0000000 --- a/node_modules/@actions/core/lib/core.js.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"core.js","sourceRoot":"","sources":["../src/core.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,uCAA6C;AAC7C,iDAA+D;AAC/D,mCAAsC;AAEtC,uCAAwB;AACxB,2CAA4B;AAa5B;;GAEG;AACH,IAAY,QAUX;AAVD,WAAY,QAAQ;IAClB;;OAEG;IACH,6CAAW,CAAA;IAEX;;OAEG;IACH,6CAAW,CAAA;AACb,CAAC,EAVW,QAAQ,GAAR,gBAAQ,KAAR,gBAAQ,QAUnB;AAED,yEAAyE;AACzE,YAAY;AACZ,yEAAyE;AAEzE;;;;GAIG;AACH,8DAA8D;AAC9D,SAAgB,cAAc,CAAC,IAAY,EAAE,GAAQ;IACnD,MAAM,YAAY,GAAG,sBAAc,CAAC,GAAG,CAAC,CAAA;IACxC,OAAO,CAAC,GAAG,CAAC,IAAI,CAAC,GAAG,YAAY,CAAA;IAEhC,MAAM,QAAQ,GAAG,OAAO,CAAC,GAAG,CAAC,YAAY,CAAC,IAAI,EAAE,CAAA;IAChD,IAAI,QAAQ,EAAE;QACZ,MAAM,SAAS,GAAG,qCAAqC,CAAA;QACvD,MAAM,YAAY,GAAG,GAAG,IAAI,KAAK,SAAS,GAAG,EAAE,CAAC,GAAG,GAAG,YAAY,GAAG,EAAE,CAAC,GAAG,GAAG,SAAS,EAAE,CAAA;QACzF,2BAAgB,CAAC,KAAK,EAAE,YAAY,CAAC,CAAA;KACtC;SAAM;QACL,sBAAY,CAAC,SAAS,EAAE,EAAC,IAAI,EAAC,EAAE,YAAY,CAAC,CAAA;KAC9C;AACH,CAAC;AAZD,wCAYC;AAED;;;GAGG;AACH,SAAgB,SAAS,CAAC,MAAc;IACtC,sBAAY,CAAC,UAAU,EAAE,EAAE,EAAE,MAAM,CAAC,CAAA;AACtC,CAAC;AAFD,8BAEC;AAED;;;GAGG;AACH,SAAgB,OAAO,CAAC,SAAiB;IACvC,MAAM,QAAQ,GAAG,OAAO,CAAC,GAAG,CAAC,aAAa,CAAC,IAAI,EAAE,CAAA;IACjD,IAAI,QAAQ,EAAE;QACZ,2BAAgB,CAAC,MAAM,EAAE,SAAS,CAAC,CAAA;KACpC;SAAM;QACL,sBAAY,CAAC,UAAU,EAAE,EAAE,EAAE,SAAS,CAAC,CAAA;KACxC;IACD,OAAO,CAAC,GAAG,CAAC,MAAM,CAAC,GAAG,GAAG,SAAS,GAAG,IAAI,CAAC,SAAS,GAAG,OAAO,CAAC,GAAG,CAAC,MAAM,CAAC,EAAE,CAAA;AAC7E,CAAC;AARD,0BAQC;AAED;;;;;;;;GAQG;AACH,SAAgB,QAAQ,CAAC,IAAY,EAAE,OAAsB;IAC3D,MAAM,GAAG,GACP,OAAO,CAAC,GAAG,CAAC,SAAS,IAAI,CAAC,OAAO,CAAC,IAAI,EAAE,GAAG,CAAC,CAAC,WAAW,EAAE,EAAE,CAAC,IAAI,EAAE,CAAA;IACrE,IAAI,OAAO,IAAI,OAAO,CAAC,QAAQ,IAAI,CAAC,GAAG,EAAE;QACvC,MAAM,IAAI,KAAK,CAAC,oCAAoC,IAAI,EAAE,CAAC,CAAA;KAC5D;IAED,IAAI,OAAO,IAAI,OAAO,CAAC,cAAc,KAAK,KAAK,EAAE;QAC/C,OAAO,GAAG,CAAA;KACX;IAED,OAAO,GAAG,CAAC,IAAI,EAAE,CAAA;AACnB,CAAC;AAZD,4BAYC;AAED;;;;;;;GAOG;AACH,SAAgB,iBAAiB,CAC/B,IAAY,EACZ,OAAsB;IAEtB,MAAM,MAAM,GAAa,QAAQ,CAAC,IAAI,EAAE,OAAO,CAAC;SAC7C,KAAK,CAAC,IAAI,CAAC;SACX,MAAM,CAAC,CAAC,CAAC,EAAE,CAAC,CAAC,KAAK,EAAE,CAAC,CAAA;IAExB,OAAO,MAAM,CAAA;AACf,CAAC;AATD,8CASC;AAED;;;;;;;;;GASG;AACH,SAAgB,eAAe,CAAC,IAAY,EAAE,OAAsB;IAClE,MAAM,SAAS,GAAG,CAAC,MAAM,EAAE,MAAM,EAAE,MAAM,CAAC,CAAA;IAC1C,MAAM,UAAU,GAAG,CAAC,OAAO,EAAE,OAAO,EAAE,OAAO,CAAC,CAAA;IAC9C,MAAM,GAAG,GAAG,QAAQ,CAAC,IAAI,EAAE,OAAO,CAAC,CAAA;IACnC,IAAI,SAAS,CAAC,QAAQ,CAAC,GAAG,CAAC;QAAE,OAAO,IAAI,CAAA;IACxC,IAAI,UAAU,CAAC,QAAQ,CAAC,GAAG,CAAC;QAAE,OAAO,KAAK,CAAA;IAC1C,MAAM,IAAI,SAAS,CACjB,6DAA6D,IAAI,IAAI;QACnE,4EAA4E,CAC/E,CAAA;AACH,CAAC;AAVD,0CAUC;AAED;;;;;GAKG;AACH,8DAA8D;AAC9D,SAAgB,SAAS,CAAC,IAAY,EAAE,KAAU;IAChD,OAAO,CAAC,MAAM,CAAC,KAAK,CAAC,EAAE,CAAC,GAAG,CAAC,CAAA;IAC5B,sBAAY,CAAC,YAAY,EAAE,EAAC,IAAI,EAAC,EAAE,KAAK,CAAC,CAAA;AAC3C,CAAC;AAHD,8BAGC;AAED;;;;GAIG;AACH,SAAgB,cAAc,CAAC,OAAgB;IAC7C,eAAK,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC,KAAK,CAAC,CAAA;AACvC,CAAC;AAFD,wCAEC;AAED,yEAAyE;AACzE,UAAU;AACV,yEAAyE;AAEzE;;;;GAIG;AACH,SAAgB,SAAS,CAAC,OAAuB;IAC/C,OAAO,CAAC,QAAQ,GAAG,QAAQ,CAAC,OAAO,CAAA;IAEnC,KAAK,CAAC,OAAO,CAAC,CAAA;AAChB,CAAC;AAJD,8BAIC;AAED,yEAAyE;AACzE,mBAAmB;AACnB,yEAAyE;AAEzE;;GAEG;AACH,SAAgB,OAAO;IACrB,OAAO,OAAO,CAAC,GAAG,CAAC,cAAc,CAAC,KAAK,GAAG,CAAA;AAC5C,CAAC;AAFD,0BAEC;AAED;;;GAGG;AACH,SAAgB,KAAK,CAAC,OAAe;IACnC,sBAAY,CAAC,OAAO,EAAE,EAAE,EAAE,OAAO,CAAC,CAAA;AACpC,CAAC;AAFD,sBAEC;AAED;;;GAGG;AACH,SAAgB,KAAK,CAAC,OAAuB;IAC3C,eAAK,CAAC,OAAO,EAAE,OAAO,YAAY,KAAK,CAAC,CAAC,CAAC,OAAO,CAAC,QAAQ,EAAE,CAAC,CAAC,CAAC,OAAO,CAAC,CAAA;AACzE,CAAC;AAFD,sBAEC;AAED;;;GAGG;AACH,SAAgB,OAAO,CAAC,OAAuB;IAC7C,eAAK,CAAC,SAAS,EAAE,OAAO,YAAY,KAAK,CAAC,CAAC,CAAC,OAAO,CAAC,QAAQ,EAAE,CAAC,CAAC,CAAC,OAAO,CAAC,CAAA;AAC3E,CAAC;AAFD,0BAEC;AAED;;;GAGG;AACH,SAAgB,IAAI,CAAC,OAAe;IAClC,OAAO,CAAC,MAAM,CAAC,KAAK,CAAC,OAAO,GAAG,EAAE,CAAC,GAAG,CAAC,CAAA;AACxC,CAAC;AAFD,oBAEC;AAED;;;;;;GAMG;AACH,SAAgB,UAAU,CAAC,IAAY;IACrC,eAAK,CAAC,OAAO,EAAE,IAAI,CAAC,CAAA;AACtB,CAAC;AAFD,gCAEC;AAED;;GAEG;AACH,SAAgB,QAAQ;IACtB,eAAK,CAAC,UAAU,CAAC,CAAA;AACnB,CAAC;AAFD,4BAEC;AAED;;;;;;;GAOG;AACH,SAAsB,KAAK,CAAI,IAAY,EAAE,EAAoB;;QAC/D,UAAU,CAAC,IAAI,CAAC,CAAA;QAEhB,IAAI,MAAS,CAAA;QAEb,IAAI;YACF,MAAM,GAAG,MAAM,EAAE,EAAE,CAAA;SACpB;gBAAS;YACR,QAAQ,EAAE,CAAA;SACX;QAED,OAAO,MAAM,CAAA;IACf,CAAC;CAAA;AAZD,sBAYC;AAED,yEAAyE;AACzE,uBAAuB;AACvB,yEAAyE;AAEzE;;;;;GAKG;AACH,8DAA8D;AAC9D,SAAgB,SAAS,CAAC,IAAY,EAAE,KAAU;IAChD,sBAAY,CAAC,YAAY,EAAE,EAAC,IAAI,EAAC,EAAE,KAAK,CAAC,CAAA;AAC3C,CAAC;AAFD,8BAEC;AAED;;;;;GAKG;AACH,SAAgB,QAAQ,CAAC,IAAY;IACnC,OAAO,OAAO,CAAC,GAAG,CAAC,SAAS,IAAI,EAAE,CAAC,IAAI,EAAE,CAAA;AAC3C,CAAC;AAFD,4BAEC"} \ No newline at end of file diff --git a/node_modules/@actions/core/lib/file-command.d.ts b/node_modules/@actions/core/lib/file-command.d.ts deleted file mode 100644 index ed408eb..0000000 --- a/node_modules/@actions/core/lib/file-command.d.ts +++ /dev/null @@ -1 +0,0 @@ -export declare function issueCommand(command: string, message: any): void; diff --git a/node_modules/@actions/core/lib/file-command.js b/node_modules/@actions/core/lib/file-command.js deleted file mode 100644 index 55e3e9f..0000000 --- a/node_modules/@actions/core/lib/file-command.js +++ /dev/null @@ -1,42 +0,0 @@ -"use strict"; -// For internal use, subject to change. -var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { - if (k2 === undefined) k2 = k; - Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } }); -}) : (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 (mod) { - if (mod && mod.__esModule) return mod; - var result = {}; - if (mod != null) for (var k in mod) if (k !== "default" && Object.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k); - __setModuleDefault(result, mod); - return result; -}; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.issueCommand = void 0; -// We use any as a valid input type -/* eslint-disable @typescript-eslint/no-explicit-any */ -const fs = __importStar(require("fs")); -const os = __importStar(require("os")); -const utils_1 = require("./utils"); -function issueCommand(command, message) { - const filePath = process.env[`GITHUB_${command}`]; - if (!filePath) { - throw new Error(`Unable to find environment variable for file command ${command}`); - } - if (!fs.existsSync(filePath)) { - throw new Error(`Missing file at path: ${filePath}`); - } - fs.appendFileSync(filePath, `${utils_1.toCommandValue(message)}${os.EOL}`, { - encoding: 'utf8' - }); -} -exports.issueCommand = issueCommand; -//# sourceMappingURL=file-command.js.map \ No newline at end of file diff --git a/node_modules/@actions/core/lib/file-command.js.map b/node_modules/@actions/core/lib/file-command.js.map deleted file mode 100644 index ee35699..0000000 --- a/node_modules/@actions/core/lib/file-command.js.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"file-command.js","sourceRoot":"","sources":["../src/file-command.ts"],"names":[],"mappings":";AAAA,uCAAuC;;;;;;;;;;;;;;;;;;;;;;AAEvC,mCAAmC;AACnC,uDAAuD;AAEvD,uCAAwB;AACxB,uCAAwB;AACxB,mCAAsC;AAEtC,SAAgB,YAAY,CAAC,OAAe,EAAE,OAAY;IACxD,MAAM,QAAQ,GAAG,OAAO,CAAC,GAAG,CAAC,UAAU,OAAO,EAAE,CAAC,CAAA;IACjD,IAAI,CAAC,QAAQ,EAAE;QACb,MAAM,IAAI,KAAK,CACb,wDAAwD,OAAO,EAAE,CAClE,CAAA;KACF;IACD,IAAI,CAAC,EAAE,CAAC,UAAU,CAAC,QAAQ,CAAC,EAAE;QAC5B,MAAM,IAAI,KAAK,CAAC,yBAAyB,QAAQ,EAAE,CAAC,CAAA;KACrD;IAED,EAAE,CAAC,cAAc,CAAC,QAAQ,EAAE,GAAG,sBAAc,CAAC,OAAO,CAAC,GAAG,EAAE,CAAC,GAAG,EAAE,EAAE;QACjE,QAAQ,EAAE,MAAM;KACjB,CAAC,CAAA;AACJ,CAAC;AAdD,oCAcC"} \ No newline at end of file diff --git a/node_modules/@actions/core/lib/utils.d.ts b/node_modules/@actions/core/lib/utils.d.ts deleted file mode 100644 index b39c9be..0000000 --- a/node_modules/@actions/core/lib/utils.d.ts +++ /dev/null @@ -1,5 +0,0 @@ -/** - * Sanitizes an input into a string so it can be passed into issueCommand safely - * @param input input to sanitize into a string - */ -export declare function toCommandValue(input: any): string; diff --git a/node_modules/@actions/core/lib/utils.js b/node_modules/@actions/core/lib/utils.js deleted file mode 100644 index e83052e..0000000 --- a/node_modules/@actions/core/lib/utils.js +++ /dev/null @@ -1,20 +0,0 @@ -"use strict"; -// We use any as a valid input type -/* eslint-disable @typescript-eslint/no-explicit-any */ -Object.defineProperty(exports, "__esModule", { value: true }); -exports.toCommandValue = void 0; -/** - * Sanitizes an input into a string so it can be passed into issueCommand safely - * @param input input to sanitize into a string - */ -function toCommandValue(input) { - if (input === null || input === undefined) { - return ''; - } - else if (typeof input === 'string' || input instanceof String) { - return input; - } - return JSON.stringify(input); -} -exports.toCommandValue = toCommandValue; -//# sourceMappingURL=utils.js.map \ No newline at end of file diff --git a/node_modules/@actions/core/lib/utils.js.map b/node_modules/@actions/core/lib/utils.js.map deleted file mode 100644 index 6b68d95..0000000 --- a/node_modules/@actions/core/lib/utils.js.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"utils.js","sourceRoot":"","sources":["../src/utils.ts"],"names":[],"mappings":";AAAA,mCAAmC;AACnC,uDAAuD;;;AAEvD;;;GAGG;AACH,SAAgB,cAAc,CAAC,KAAU;IACvC,IAAI,KAAK,KAAK,IAAI,IAAI,KAAK,KAAK,SAAS,EAAE;QACzC,OAAO,EAAE,CAAA;KACV;SAAM,IAAI,OAAO,KAAK,KAAK,QAAQ,IAAI,KAAK,YAAY,MAAM,EAAE;QAC/D,OAAO,KAAe,CAAA;KACvB;IACD,OAAO,IAAI,CAAC,SAAS,CAAC,KAAK,CAAC,CAAA;AAC9B,CAAC;AAPD,wCAOC"} \ No newline at end of file diff --git a/node_modules/@actions/core/package.json b/node_modules/@actions/core/package.json deleted file mode 100644 index 9403749..0000000 --- a/node_modules/@actions/core/package.json +++ /dev/null @@ -1,41 +0,0 @@ -{ - "name": "@actions/core", - "version": "1.4.0", - "description": "Actions core lib", - "keywords": [ - "github", - "actions", - "core" - ], - "homepage": "https://github.com/actions/toolkit/tree/main/packages/core", - "license": "MIT", - "main": "lib/core.js", - "types": "lib/core.d.ts", - "directories": { - "lib": "lib", - "test": "__tests__" - }, - "files": [ - "lib", - "!.DS_Store" - ], - "publishConfig": { - "access": "public" - }, - "repository": { - "type": "git", - "url": "git+https://github.com/actions/toolkit.git", - "directory": "packages/core" - }, - "scripts": { - "audit-moderate": "npm install && npm audit --json --audit-level=moderate > audit.json", - "test": "echo \"Error: run tests from root\" && exit 1", - "tsc": "tsc" - }, - "bugs": { - "url": "https://github.com/actions/toolkit/issues" - }, - "devDependencies": { - "@types/node": "^12.0.2" - } -} diff --git a/node_modules/@actions/github/LICENSE.md b/node_modules/@actions/github/LICENSE.md deleted file mode 100644 index dbae2ed..0000000 --- a/node_modules/@actions/github/LICENSE.md +++ /dev/null @@ -1,9 +0,0 @@ -The MIT License (MIT) - -Copyright 2019 GitHub - -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. \ No newline at end of file diff --git a/node_modules/@actions/github/README.md b/node_modules/@actions/github/README.md deleted file mode 100644 index 21daad3..0000000 --- a/node_modules/@actions/github/README.md +++ /dev/null @@ -1,97 +0,0 @@ -# `@actions/github` - -> A hydrated Octokit client. - -## Usage - -Returns an authenticated Octokit client that follows the machine [proxy settings](https://help.github.com/en/actions/hosting-your-own-runners/using-a-proxy-server-with-self-hosted-runners) and correctly sets GHES base urls. See https://octokit.github.io/rest.js for the API. - -```js -const github = require('@actions/github'); -const core = require('@actions/core'); - -async function run() { - // This should be a token with access to your repository scoped in as a secret. - // The YML workflow will need to set myToken with the GitHub Secret Token - // myToken: ${{ secrets.GITHUB_TOKEN }} - // https://help.github.com/en/actions/automating-your-workflow-with-github-actions/authenticating-with-the-github_token#about-the-github_token-secret - const myToken = core.getInput('myToken'); - - const octokit = github.getOctokit(myToken) - - // You can also pass in additional options as a second parameter to getOctokit - // const octokit = github.getOctokit(myToken, {userAgent: "MyActionVersion1"}); - - const { data: pullRequest } = await octokit.rest.pulls.get({ - owner: 'octokit', - repo: 'rest.js', - pull_number: 123, - mediaType: { - format: 'diff' - } - }); - - console.log(pullRequest); -} - -run(); -``` - -You can also make GraphQL requests. See https://github.com/octokit/graphql.js for the API. - -```js -const result = await octokit.graphql(query, variables); -``` - -Finally, you can get the context of the current action: - -```js -const github = require('@actions/github'); - -const context = github.context; - -const newIssue = await octokit.rest.issues.create({ - ...context.repo, - title: 'New issue!', - body: 'Hello Universe!' -}); -``` - -## Webhook payload typescript definitions - -The npm module `@octokit/webhooks` provides type definitions for the response payloads. You can cast the payload to these types for better type information. - -First, install the npm module `npm install @octokit/webhooks` - -Then, assert the type based on the eventName -```ts -import * as core from '@actions/core' -import * as github from '@actions/github' -import * as Webhooks from '@octokit/webhooks' -if (github.context.eventName === 'push') { - const pushPayload = github.context.payload as Webhooks.WebhookPayloadPush - core.info(`The head commit is: ${pushPayload.head}`) -} -``` - -## Extending the Octokit instance -`@octokit/core` now supports the [plugin architecture](https://github.com/octokit/core.js#plugins). You can extend the GitHub instance using plugins. - -For example, using the `@octokit/plugin-enterprise-server` you can now access enterprise admin apis on GHES instances. - -```ts -import { GitHub, getOctokitOptions } from '@actions/github/lib/utils' -import { enterpriseServer220Admin } from '@octokit/plugin-enterprise-server' - -const octokit = GitHub.plugin(enterpriseServer220Admin) -// or override some of the default values as well -// const octokit = GitHub.plugin(enterpriseServer220Admin).defaults({userAgent: "MyNewUserAgent"}) - -const myToken = core.getInput('myToken'); -const myOctokit = new octokit(getOctokitOptions(token)) -// Create a new user -myOctokit.rest.enterpriseAdmin.createUser({ - login: "testuser", - email: "testuser@test.com", -}); -``` diff --git a/node_modules/@actions/github/lib/context.d.ts b/node_modules/@actions/github/lib/context.d.ts deleted file mode 100644 index 7d3a7de..0000000 --- a/node_modules/@actions/github/lib/context.d.ts +++ /dev/null @@ -1,32 +0,0 @@ -import { WebhookPayload } from './interfaces'; -export declare class Context { - /** - * Webhook payload object that triggered the workflow - */ - payload: WebhookPayload; - eventName: string; - sha: string; - ref: string; - workflow: string; - action: string; - actor: string; - job: string; - runNumber: number; - runId: number; - apiUrl: string; - serverUrl: string; - graphqlUrl: string; - /** - * Hydrate the context from the environment - */ - constructor(); - get issue(): { - owner: string; - repo: string; - number: number; - }; - get repo(): { - owner: string; - repo: string; - }; -} diff --git a/node_modules/@actions/github/lib/context.js b/node_modules/@actions/github/lib/context.js deleted file mode 100644 index 767933c..0000000 --- a/node_modules/@actions/github/lib/context.js +++ /dev/null @@ -1,54 +0,0 @@ -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.Context = void 0; -const fs_1 = require("fs"); -const os_1 = require("os"); -class Context { - /** - * Hydrate the context from the environment - */ - constructor() { - var _a, _b, _c; - this.payload = {}; - if (process.env.GITHUB_EVENT_PATH) { - if (fs_1.existsSync(process.env.GITHUB_EVENT_PATH)) { - this.payload = JSON.parse(fs_1.readFileSync(process.env.GITHUB_EVENT_PATH, { encoding: 'utf8' })); - } - else { - const path = process.env.GITHUB_EVENT_PATH; - process.stdout.write(`GITHUB_EVENT_PATH ${path} does not exist${os_1.EOL}`); - } - } - this.eventName = process.env.GITHUB_EVENT_NAME; - this.sha = process.env.GITHUB_SHA; - this.ref = process.env.GITHUB_REF; - this.workflow = process.env.GITHUB_WORKFLOW; - this.action = process.env.GITHUB_ACTION; - this.actor = process.env.GITHUB_ACTOR; - this.job = process.env.GITHUB_JOB; - this.runNumber = parseInt(process.env.GITHUB_RUN_NUMBER, 10); - this.runId = parseInt(process.env.GITHUB_RUN_ID, 10); - this.apiUrl = (_a = process.env.GITHUB_API_URL) !== null && _a !== void 0 ? _a : `https://api.github.com`; - this.serverUrl = (_b = process.env.GITHUB_SERVER_URL) !== null && _b !== void 0 ? _b : `https://github.com`; - this.graphqlUrl = (_c = process.env.GITHUB_GRAPHQL_URL) !== null && _c !== void 0 ? _c : `https://api.github.com/graphql`; - } - get issue() { - const payload = this.payload; - return Object.assign(Object.assign({}, this.repo), { number: (payload.issue || payload.pull_request || payload).number }); - } - get repo() { - if (process.env.GITHUB_REPOSITORY) { - const [owner, repo] = process.env.GITHUB_REPOSITORY.split('/'); - return { owner, repo }; - } - if (this.payload.repository) { - return { - owner: this.payload.repository.owner.login, - repo: this.payload.repository.name - }; - } - throw new Error("context.repo requires a GITHUB_REPOSITORY environment variable like 'owner/repo'"); - } -} -exports.Context = Context; -//# sourceMappingURL=context.js.map \ No newline at end of file diff --git a/node_modules/@actions/github/lib/context.js.map b/node_modules/@actions/github/lib/context.js.map deleted file mode 100644 index 91fb9a9..0000000 --- a/node_modules/@actions/github/lib/context.js.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"context.js","sourceRoot":"","sources":["../src/context.ts"],"names":[],"mappings":";;;AAEA,2BAA2C;AAC3C,2BAAsB;AAEtB,MAAa,OAAO;IAmBlB;;OAEG;IACH;;QACE,IAAI,CAAC,OAAO,GAAG,EAAE,CAAA;QACjB,IAAI,OAAO,CAAC,GAAG,CAAC,iBAAiB,EAAE;YACjC,IAAI,eAAU,CAAC,OAAO,CAAC,GAAG,CAAC,iBAAiB,CAAC,EAAE;gBAC7C,IAAI,CAAC,OAAO,GAAG,IAAI,CAAC,KAAK,CACvB,iBAAY,CAAC,OAAO,CAAC,GAAG,CAAC,iBAAiB,EAAE,EAAC,QAAQ,EAAE,MAAM,EAAC,CAAC,CAChE,CAAA;aACF;iBAAM;gBACL,MAAM,IAAI,GAAG,OAAO,CAAC,GAAG,CAAC,iBAAiB,CAAA;gBAC1C,OAAO,CAAC,MAAM,CAAC,KAAK,CAAC,qBAAqB,IAAI,kBAAkB,QAAG,EAAE,CAAC,CAAA;aACvE;SACF;QACD,IAAI,CAAC,SAAS,GAAG,OAAO,CAAC,GAAG,CAAC,iBAA2B,CAAA;QACxD,IAAI,CAAC,GAAG,GAAG,OAAO,CAAC,GAAG,CAAC,UAAoB,CAAA;QAC3C,IAAI,CAAC,GAAG,GAAG,OAAO,CAAC,GAAG,CAAC,UAAoB,CAAA;QAC3C,IAAI,CAAC,QAAQ,GAAG,OAAO,CAAC,GAAG,CAAC,eAAyB,CAAA;QACrD,IAAI,CAAC,MAAM,GAAG,OAAO,CAAC,GAAG,CAAC,aAAuB,CAAA;QACjD,IAAI,CAAC,KAAK,GAAG,OAAO,CAAC,GAAG,CAAC,YAAsB,CAAA;QAC/C,IAAI,CAAC,GAAG,GAAG,OAAO,CAAC,GAAG,CAAC,UAAoB,CAAA;QAC3C,IAAI,CAAC,SAAS,GAAG,QAAQ,CAAC,OAAO,CAAC,GAAG,CAAC,iBAA2B,EAAE,EAAE,CAAC,CAAA;QACtE,IAAI,CAAC,KAAK,GAAG,QAAQ,CAAC,OAAO,CAAC,GAAG,CAAC,aAAuB,EAAE,EAAE,CAAC,CAAA;QAC9D,IAAI,CAAC,MAAM,SAAG,OAAO,CAAC,GAAG,CAAC,cAAc,mCAAI,wBAAwB,CAAA;QACpE,IAAI,CAAC,SAAS,SAAG,OAAO,CAAC,GAAG,CAAC,iBAAiB,mCAAI,oBAAoB,CAAA;QACtE,IAAI,CAAC,UAAU,SACb,OAAO,CAAC,GAAG,CAAC,kBAAkB,mCAAI,gCAAgC,CAAA;IACtE,CAAC;IAED,IAAI,KAAK;QACP,MAAM,OAAO,GAAG,IAAI,CAAC,OAAO,CAAA;QAE5B,uCACK,IAAI,CAAC,IAAI,KACZ,MAAM,EAAE,CAAC,OAAO,CAAC,KAAK,IAAI,OAAO,CAAC,YAAY,IAAI,OAAO,CAAC,CAAC,MAAM,IAClE;IACH,CAAC;IAED,IAAI,IAAI;QACN,IAAI,OAAO,CAAC,GAAG,CAAC,iBAAiB,EAAE;YACjC,MAAM,CAAC,KAAK,EAAE,IAAI,CAAC,GAAG,OAAO,CAAC,GAAG,CAAC,iBAAiB,CAAC,KAAK,CAAC,GAAG,CAAC,CAAA;YAC9D,OAAO,EAAC,KAAK,EAAE,IAAI,EAAC,CAAA;SACrB;QAED,IAAI,IAAI,CAAC,OAAO,CAAC,UAAU,EAAE;YAC3B,OAAO;gBACL,KAAK,EAAE,IAAI,CAAC,OAAO,CAAC,UAAU,CAAC,KAAK,CAAC,KAAK;gBAC1C,IAAI,EAAE,IAAI,CAAC,OAAO,CAAC,UAAU,CAAC,IAAI;aACnC,CAAA;SACF;QAED,MAAM,IAAI,KAAK,CACb,kFAAkF,CACnF,CAAA;IACH,CAAC;CACF;AA3ED,0BA2EC"} \ No newline at end of file diff --git a/node_modules/@actions/github/lib/github.d.ts b/node_modules/@actions/github/lib/github.d.ts deleted file mode 100644 index 90c3b98..0000000 --- a/node_modules/@actions/github/lib/github.d.ts +++ /dev/null @@ -1,11 +0,0 @@ -import * as Context from './context'; -import { GitHub } from './utils'; -import { OctokitOptions } from '@octokit/core/dist-types/types'; -export declare const context: Context.Context; -/** - * Returns a hydrated octokit ready to use for GitHub Actions - * - * @param token the repo PAT or GITHUB_TOKEN - * @param options other options to set - */ -export declare function getOctokit(token: string, options?: OctokitOptions): InstanceType; diff --git a/node_modules/@actions/github/lib/github.js b/node_modules/@actions/github/lib/github.js deleted file mode 100644 index f02c9fb..0000000 --- a/node_modules/@actions/github/lib/github.js +++ /dev/null @@ -1,36 +0,0 @@ -"use strict"; -var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { - if (k2 === undefined) k2 = k; - Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } }); -}) : (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 (mod) { - if (mod && mod.__esModule) return mod; - var result = {}; - if (mod != null) for (var k in mod) if (k !== "default" && Object.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k); - __setModuleDefault(result, mod); - return result; -}; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.getOctokit = exports.context = void 0; -const Context = __importStar(require("./context")); -const utils_1 = require("./utils"); -exports.context = new Context.Context(); -/** - * Returns a hydrated octokit ready to use for GitHub Actions - * - * @param token the repo PAT or GITHUB_TOKEN - * @param options other options to set - */ -function getOctokit(token, options) { - return new utils_1.GitHub(utils_1.getOctokitOptions(token, options)); -} -exports.getOctokit = getOctokit; -//# sourceMappingURL=github.js.map \ No newline at end of file diff --git a/node_modules/@actions/github/lib/github.js.map b/node_modules/@actions/github/lib/github.js.map deleted file mode 100644 index 717d03e..0000000 --- a/node_modules/@actions/github/lib/github.js.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"github.js","sourceRoot":"","sources":["../src/github.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;AAAA,mDAAoC;AACpC,mCAAiD;AAKpC,QAAA,OAAO,GAAG,IAAI,OAAO,CAAC,OAAO,EAAE,CAAA;AAE5C;;;;;GAKG;AACH,SAAgB,UAAU,CACxB,KAAa,EACb,OAAwB;IAExB,OAAO,IAAI,cAAM,CAAC,yBAAiB,CAAC,KAAK,EAAE,OAAO,CAAC,CAAC,CAAA;AACtD,CAAC;AALD,gCAKC"} \ No newline at end of file diff --git a/node_modules/@actions/github/lib/interfaces.d.ts b/node_modules/@actions/github/lib/interfaces.d.ts deleted file mode 100644 index f810333..0000000 --- a/node_modules/@actions/github/lib/interfaces.d.ts +++ /dev/null @@ -1,40 +0,0 @@ -export interface PayloadRepository { - [key: string]: any; - full_name?: string; - name: string; - owner: { - [key: string]: any; - login: string; - name?: string; - }; - html_url?: string; -} -export interface WebhookPayload { - [key: string]: any; - repository?: PayloadRepository; - issue?: { - [key: string]: any; - number: number; - html_url?: string; - body?: string; - }; - pull_request?: { - [key: string]: any; - number: number; - html_url?: string; - body?: string; - }; - sender?: { - [key: string]: any; - type: string; - }; - action?: string; - installation?: { - id: number; - [key: string]: any; - }; - comment?: { - id: number; - [key: string]: any; - }; -} diff --git a/node_modules/@actions/github/lib/interfaces.js b/node_modules/@actions/github/lib/interfaces.js deleted file mode 100644 index a660b5e..0000000 --- a/node_modules/@actions/github/lib/interfaces.js +++ /dev/null @@ -1,4 +0,0 @@ -"use strict"; -/* eslint-disable @typescript-eslint/no-explicit-any */ -Object.defineProperty(exports, "__esModule", { value: true }); -//# sourceMappingURL=interfaces.js.map \ No newline at end of file diff --git a/node_modules/@actions/github/lib/interfaces.js.map b/node_modules/@actions/github/lib/interfaces.js.map deleted file mode 100644 index dc2c960..0000000 --- a/node_modules/@actions/github/lib/interfaces.js.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"interfaces.js","sourceRoot":"","sources":["../src/interfaces.ts"],"names":[],"mappings":";AAAA,uDAAuD"} \ No newline at end of file diff --git a/node_modules/@actions/github/lib/internal/utils.d.ts b/node_modules/@actions/github/lib/internal/utils.d.ts deleted file mode 100644 index 5790d91..0000000 --- a/node_modules/@actions/github/lib/internal/utils.d.ts +++ /dev/null @@ -1,6 +0,0 @@ -/// -import * as http from 'http'; -import { OctokitOptions } from '@octokit/core/dist-types/types'; -export declare function getAuthString(token: string, options: OctokitOptions): string | undefined; -export declare function getProxyAgent(destinationUrl: string): http.Agent; -export declare function getApiBaseUrl(): string; diff --git a/node_modules/@actions/github/lib/internal/utils.js b/node_modules/@actions/github/lib/internal/utils.js deleted file mode 100644 index 175a4da..0000000 --- a/node_modules/@actions/github/lib/internal/utils.js +++ /dev/null @@ -1,43 +0,0 @@ -"use strict"; -var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { - if (k2 === undefined) k2 = k; - Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } }); -}) : (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 (mod) { - if (mod && mod.__esModule) return mod; - var result = {}; - if (mod != null) for (var k in mod) if (k !== "default" && Object.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k); - __setModuleDefault(result, mod); - return result; -}; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.getApiBaseUrl = exports.getProxyAgent = exports.getAuthString = void 0; -const httpClient = __importStar(require("@actions/http-client")); -function getAuthString(token, options) { - if (!token && !options.auth) { - throw new Error('Parameter token or opts.auth is required'); - } - else if (token && options.auth) { - throw new Error('Parameters token and opts.auth may not both be specified'); - } - return typeof options.auth === 'string' ? options.auth : `token ${token}`; -} -exports.getAuthString = getAuthString; -function getProxyAgent(destinationUrl) { - const hc = new httpClient.HttpClient(); - return hc.getAgent(destinationUrl); -} -exports.getProxyAgent = getProxyAgent; -function getApiBaseUrl() { - return process.env['GITHUB_API_URL'] || 'https://api.github.com'; -} -exports.getApiBaseUrl = getApiBaseUrl; -//# sourceMappingURL=utils.js.map \ No newline at end of file diff --git a/node_modules/@actions/github/lib/internal/utils.js.map b/node_modules/@actions/github/lib/internal/utils.js.map deleted file mode 100644 index f1f519d..0000000 --- a/node_modules/@actions/github/lib/internal/utils.js.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"utils.js","sourceRoot":"","sources":["../../src/internal/utils.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;AACA,iEAAkD;AAGlD,SAAgB,aAAa,CAC3B,KAAa,EACb,OAAuB;IAEvB,IAAI,CAAC,KAAK,IAAI,CAAC,OAAO,CAAC,IAAI,EAAE;QAC3B,MAAM,IAAI,KAAK,CAAC,0CAA0C,CAAC,CAAA;KAC5D;SAAM,IAAI,KAAK,IAAI,OAAO,CAAC,IAAI,EAAE;QAChC,MAAM,IAAI,KAAK,CAAC,0DAA0D,CAAC,CAAA;KAC5E;IAED,OAAO,OAAO,OAAO,CAAC,IAAI,KAAK,QAAQ,CAAC,CAAC,CAAC,OAAO,CAAC,IAAI,CAAC,CAAC,CAAC,SAAS,KAAK,EAAE,CAAA;AAC3E,CAAC;AAXD,sCAWC;AAED,SAAgB,aAAa,CAAC,cAAsB;IAClD,MAAM,EAAE,GAAG,IAAI,UAAU,CAAC,UAAU,EAAE,CAAA;IACtC,OAAO,EAAE,CAAC,QAAQ,CAAC,cAAc,CAAC,CAAA;AACpC,CAAC;AAHD,sCAGC;AAED,SAAgB,aAAa;IAC3B,OAAO,OAAO,CAAC,GAAG,CAAC,gBAAgB,CAAC,IAAI,wBAAwB,CAAA;AAClE,CAAC;AAFD,sCAEC"} \ No newline at end of file diff --git a/node_modules/@actions/github/lib/utils.d.ts b/node_modules/@actions/github/lib/utils.d.ts deleted file mode 100644 index fe28cbd..0000000 --- a/node_modules/@actions/github/lib/utils.d.ts +++ /dev/null @@ -1,14 +0,0 @@ -import * as Context from './context'; -import { Octokit } from '@octokit/core'; -import { OctokitOptions } from '@octokit/core/dist-types/types'; -export declare const context: Context.Context; -export declare const GitHub: typeof Octokit & import("@octokit/core/dist-types/types").Constructor; -/** - * Convience function to correctly format Octokit Options to pass into the constructor. - * - * @param token the repo PAT or GITHUB_TOKEN - * @param options other options to set - */ -export declare function getOctokitOptions(token: string, options?: OctokitOptions): OctokitOptions; diff --git a/node_modules/@actions/github/lib/utils.js b/node_modules/@actions/github/lib/utils.js deleted file mode 100644 index afb40e9..0000000 --- a/node_modules/@actions/github/lib/utils.js +++ /dev/null @@ -1,54 +0,0 @@ -"use strict"; -var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { - if (k2 === undefined) k2 = k; - Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } }); -}) : (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 (mod) { - if (mod && mod.__esModule) return mod; - var result = {}; - if (mod != null) for (var k in mod) if (k !== "default" && Object.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k); - __setModuleDefault(result, mod); - return result; -}; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.getOctokitOptions = exports.GitHub = exports.context = void 0; -const Context = __importStar(require("./context")); -const Utils = __importStar(require("./internal/utils")); -// octokit + plugins -const core_1 = require("@octokit/core"); -const plugin_rest_endpoint_methods_1 = require("@octokit/plugin-rest-endpoint-methods"); -const plugin_paginate_rest_1 = require("@octokit/plugin-paginate-rest"); -exports.context = new Context.Context(); -const baseUrl = Utils.getApiBaseUrl(); -const defaults = { - baseUrl, - request: { - agent: Utils.getProxyAgent(baseUrl) - } -}; -exports.GitHub = core_1.Octokit.plugin(plugin_rest_endpoint_methods_1.restEndpointMethods, plugin_paginate_rest_1.paginateRest).defaults(defaults); -/** - * Convience function to correctly format Octokit Options to pass into the constructor. - * - * @param token the repo PAT or GITHUB_TOKEN - * @param options other options to set - */ -function getOctokitOptions(token, options) { - const opts = Object.assign({}, options || {}); // Shallow clone - don't mutate the object provided by the caller - // Auth - const auth = Utils.getAuthString(token, opts); - if (auth) { - opts.auth = auth; - } - return opts; -} -exports.getOctokitOptions = getOctokitOptions; -//# sourceMappingURL=utils.js.map \ No newline at end of file diff --git a/node_modules/@actions/github/lib/utils.js.map b/node_modules/@actions/github/lib/utils.js.map deleted file mode 100644 index 3a6f6b4..0000000 --- a/node_modules/@actions/github/lib/utils.js.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"utils.js","sourceRoot":"","sources":["../src/utils.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;AAAA,mDAAoC;AACpC,wDAAyC;AAEzC,oBAAoB;AACpB,wCAAqC;AAErC,wFAAyE;AACzE,wEAA0D;AAE7C,QAAA,OAAO,GAAG,IAAI,OAAO,CAAC,OAAO,EAAE,CAAA;AAE5C,MAAM,OAAO,GAAG,KAAK,CAAC,aAAa,EAAE,CAAA;AACrC,MAAM,QAAQ,GAAG;IACf,OAAO;IACP,OAAO,EAAE;QACP,KAAK,EAAE,KAAK,CAAC,aAAa,CAAC,OAAO,CAAC;KACpC;CACF,CAAA;AAEY,QAAA,MAAM,GAAG,cAAO,CAAC,MAAM,CAClC,kDAAmB,EACnB,mCAAY,CACb,CAAC,QAAQ,CAAC,QAAQ,CAAC,CAAA;AAEpB;;;;;GAKG;AACH,SAAgB,iBAAiB,CAC/B,KAAa,EACb,OAAwB;IAExB,MAAM,IAAI,GAAG,MAAM,CAAC,MAAM,CAAC,EAAE,EAAE,OAAO,IAAI,EAAE,CAAC,CAAA,CAAC,iEAAiE;IAE/G,OAAO;IACP,MAAM,IAAI,GAAG,KAAK,CAAC,aAAa,CAAC,KAAK,EAAE,IAAI,CAAC,CAAA;IAC7C,IAAI,IAAI,EAAE;QACR,IAAI,CAAC,IAAI,GAAG,IAAI,CAAA;KACjB;IAED,OAAO,IAAI,CAAA;AACb,CAAC;AAbD,8CAaC"} \ No newline at end of file diff --git a/node_modules/@actions/github/package.json b/node_modules/@actions/github/package.json deleted file mode 100644 index 091cebc..0000000 --- a/node_modules/@actions/github/package.json +++ /dev/null @@ -1,50 +0,0 @@ -{ - "name": "@actions/github", - "version": "5.0.0", - "description": "Actions github lib", - "keywords": [ - "github", - "actions" - ], - "homepage": "https://github.com/actions/toolkit/tree/main/packages/github", - "license": "MIT", - "main": "lib/github.js", - "types": "lib/github.d.ts", - "directories": { - "lib": "lib", - "test": "__tests__" - }, - "files": [ - "lib", - "!.DS_Store" - ], - "publishConfig": { - "access": "public" - }, - "repository": { - "type": "git", - "url": "git+https://github.com/actions/toolkit.git", - "directory": "packages/github" - }, - "scripts": { - "audit-moderate": "npm install && npm audit --json --audit-level=moderate > audit.json", - "test": "jest", - "build": "tsc", - "format": "prettier --write **/*.ts", - "format-check": "prettier --check **/*.ts", - "tsc": "tsc" - }, - "bugs": { - "url": "https://github.com/actions/toolkit/issues" - }, - "dependencies": { - "@actions/http-client": "^1.0.11", - "@octokit/core": "^3.4.0", - "@octokit/plugin-paginate-rest": "^2.13.3", - "@octokit/plugin-rest-endpoint-methods": "^5.1.1" - }, - "devDependencies": { - "jest": "^26.6.3", - "proxy": "^1.0.2" - } -} diff --git a/node_modules/@actions/http-client/LICENSE b/node_modules/@actions/http-client/LICENSE deleted file mode 100644 index 5823a51..0000000 --- a/node_modules/@actions/http-client/LICENSE +++ /dev/null @@ -1,21 +0,0 @@ -Actions Http Client for Node.js - -Copyright (c) GitHub, Inc. - -All rights reserved. - -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. diff --git a/node_modules/@actions/http-client/README.md b/node_modules/@actions/http-client/README.md deleted file mode 100644 index be61eb3..0000000 --- a/node_modules/@actions/http-client/README.md +++ /dev/null @@ -1,79 +0,0 @@ - -

- -

- -# Actions Http-Client - -[![Http Status](https://github.com/actions/http-client/workflows/http-tests/badge.svg)](https://github.com/actions/http-client/actions) - -A lightweight HTTP client optimized for use with actions, TypeScript with generics and async await. - -## Features - - - HTTP client with TypeScript generics and async/await/Promises - - Typings included so no need to acquire separately (great for intellisense and no versioning drift) - - [Proxy support](https://help.github.com/en/actions/automating-your-workflow-with-github-actions/about-self-hosted-runners#using-a-proxy-server-with-self-hosted-runners) just works with actions and the runner - - Targets ES2019 (runner runs actions with node 12+). Only supported on node 12+. - - Basic, Bearer and PAT Support out of the box. Extensible handlers for others. - - Redirects supported - -Features and releases [here](./RELEASES.md) - -## Install - -``` -npm install @actions/http-client --save -``` - -## Samples - -See the [HTTP](./__tests__) tests for detailed examples. - -## Errors - -### HTTP - -The HTTP client does not throw unless truly exceptional. - -* A request that successfully executes resulting in a 404, 500 etc... will return a response object with a status code and a body. -* Redirects (3xx) will be followed by default. - -See [HTTP tests](./__tests__) for detailed examples. - -## Debugging - -To enable detailed console logging of all HTTP requests and responses, set the NODE_DEBUG environment varible: - -``` -export NODE_DEBUG=http -``` - -## Node support - -The http-client is built using the latest LTS version of Node 12. It may work on previous node LTS versions but it's tested and officially supported on Node12+. - -## Support and Versioning - -We follow semver and will hold compatibility between major versions and increment the minor version with new features and capabilities (while holding compat). - -## Contributing - -We welcome PRs. Please create an issue and if applicable, a design before proceeding with code. - -once: - -```bash -$ npm install -``` - -To build: - -```bash -$ npm run build -``` - -To run all tests: -```bash -$ npm test -``` diff --git a/node_modules/@actions/http-client/RELEASES.md b/node_modules/@actions/http-client/RELEASES.md deleted file mode 100644 index 935178a..0000000 --- a/node_modules/@actions/http-client/RELEASES.md +++ /dev/null @@ -1,26 +0,0 @@ -## Releases - -## 1.0.10 - -Contains a bug fix where proxy is defined without a user and password. see [PR here](https://github.com/actions/http-client/pull/42) - -## 1.0.9 -Throw HttpClientError instead of a generic Error from the \Json() helper methods when the server responds with a non-successful status code. - -## 1.0.8 -Fixed security issue where a redirect (e.g. 302) to another domain would pass headers. The fix was to strip the authorization header if the hostname was different. More [details in PR #27](https://github.com/actions/http-client/pull/27) - -## 1.0.7 -Update NPM dependencies and add 429 to the list of HttpCodes - -## 1.0.6 -Automatically sends Content-Type and Accept application/json headers for \Json() helper methods if not set in the client or parameters. - -## 1.0.5 -Adds \Json() helper methods for json over http scenarios. - -## 1.0.4 -Started to add \Json() helper methods. Do not use this release for that. Use >= 1.0.5 since there was an issue with types. - -## 1.0.1 to 1.0.3 -Adds proxy support. diff --git a/node_modules/@actions/http-client/actions.png b/node_modules/@actions/http-client/actions.png deleted file mode 100644 index 1857ef3..0000000 Binary files a/node_modules/@actions/http-client/actions.png and /dev/null differ diff --git a/node_modules/@actions/http-client/auth.d.ts b/node_modules/@actions/http-client/auth.d.ts deleted file mode 100644 index 1094189..0000000 --- a/node_modules/@actions/http-client/auth.d.ts +++ /dev/null @@ -1,23 +0,0 @@ -import ifm = require('./interfaces'); -export declare class BasicCredentialHandler implements ifm.IRequestHandler { - username: string; - password: string; - constructor(username: string, password: string); - prepareRequest(options: any): void; - canHandleAuthentication(response: ifm.IHttpClientResponse): boolean; - handleAuthentication(httpClient: ifm.IHttpClient, requestInfo: ifm.IRequestInfo, objs: any): Promise; -} -export declare class BearerCredentialHandler implements ifm.IRequestHandler { - token: string; - constructor(token: string); - prepareRequest(options: any): void; - canHandleAuthentication(response: ifm.IHttpClientResponse): boolean; - handleAuthentication(httpClient: ifm.IHttpClient, requestInfo: ifm.IRequestInfo, objs: any): Promise; -} -export declare class PersonalAccessTokenCredentialHandler implements ifm.IRequestHandler { - token: string; - constructor(token: string); - prepareRequest(options: any): void; - canHandleAuthentication(response: ifm.IHttpClientResponse): boolean; - handleAuthentication(httpClient: ifm.IHttpClient, requestInfo: ifm.IRequestInfo, objs: any): Promise; -} diff --git a/node_modules/@actions/http-client/auth.js b/node_modules/@actions/http-client/auth.js deleted file mode 100644 index 67a58aa..0000000 --- a/node_modules/@actions/http-client/auth.js +++ /dev/null @@ -1,58 +0,0 @@ -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -class BasicCredentialHandler { - constructor(username, password) { - this.username = username; - this.password = password; - } - prepareRequest(options) { - options.headers['Authorization'] = - 'Basic ' + - Buffer.from(this.username + ':' + this.password).toString('base64'); - } - // This handler cannot handle 401 - canHandleAuthentication(response) { - return false; - } - handleAuthentication(httpClient, requestInfo, objs) { - return null; - } -} -exports.BasicCredentialHandler = BasicCredentialHandler; -class BearerCredentialHandler { - constructor(token) { - this.token = token; - } - // currently implements pre-authorization - // TODO: support preAuth = false where it hooks on 401 - prepareRequest(options) { - options.headers['Authorization'] = 'Bearer ' + this.token; - } - // This handler cannot handle 401 - canHandleAuthentication(response) { - return false; - } - handleAuthentication(httpClient, requestInfo, objs) { - return null; - } -} -exports.BearerCredentialHandler = BearerCredentialHandler; -class PersonalAccessTokenCredentialHandler { - constructor(token) { - this.token = token; - } - // currently implements pre-authorization - // TODO: support preAuth = false where it hooks on 401 - prepareRequest(options) { - options.headers['Authorization'] = - 'Basic ' + Buffer.from('PAT:' + this.token).toString('base64'); - } - // This handler cannot handle 401 - canHandleAuthentication(response) { - return false; - } - handleAuthentication(httpClient, requestInfo, objs) { - return null; - } -} -exports.PersonalAccessTokenCredentialHandler = PersonalAccessTokenCredentialHandler; diff --git a/node_modules/@actions/http-client/index.d.ts b/node_modules/@actions/http-client/index.d.ts deleted file mode 100644 index 9583dc7..0000000 --- a/node_modules/@actions/http-client/index.d.ts +++ /dev/null @@ -1,124 +0,0 @@ -/// -import http = require('http'); -import ifm = require('./interfaces'); -export declare enum HttpCodes { - OK = 200, - MultipleChoices = 300, - MovedPermanently = 301, - ResourceMoved = 302, - SeeOther = 303, - NotModified = 304, - UseProxy = 305, - SwitchProxy = 306, - TemporaryRedirect = 307, - PermanentRedirect = 308, - BadRequest = 400, - Unauthorized = 401, - PaymentRequired = 402, - Forbidden = 403, - NotFound = 404, - MethodNotAllowed = 405, - NotAcceptable = 406, - ProxyAuthenticationRequired = 407, - RequestTimeout = 408, - Conflict = 409, - Gone = 410, - TooManyRequests = 429, - InternalServerError = 500, - NotImplemented = 501, - BadGateway = 502, - ServiceUnavailable = 503, - GatewayTimeout = 504 -} -export declare enum Headers { - Accept = "accept", - ContentType = "content-type" -} -export declare enum MediaTypes { - ApplicationJson = "application/json" -} -/** - * Returns the proxy URL, depending upon the supplied url and proxy environment variables. - * @param serverUrl The server URL where the request will be sent. For example, https://api.github.com - */ -export declare function getProxyUrl(serverUrl: string): string; -export declare class HttpClientError extends Error { - constructor(message: string, statusCode: number); - statusCode: number; - result?: any; -} -export declare class HttpClientResponse implements ifm.IHttpClientResponse { - constructor(message: http.IncomingMessage); - message: http.IncomingMessage; - readBody(): Promise; -} -export declare function isHttps(requestUrl: string): boolean; -export declare class HttpClient { - userAgent: string | undefined; - handlers: ifm.IRequestHandler[]; - requestOptions: ifm.IRequestOptions; - private _ignoreSslError; - private _socketTimeout; - private _allowRedirects; - private _allowRedirectDowngrade; - private _maxRedirects; - private _allowRetries; - private _maxRetries; - private _agent; - private _proxyAgent; - private _keepAlive; - private _disposed; - constructor(userAgent?: string, handlers?: ifm.IRequestHandler[], requestOptions?: ifm.IRequestOptions); - options(requestUrl: string, additionalHeaders?: ifm.IHeaders): Promise; - get(requestUrl: string, additionalHeaders?: ifm.IHeaders): Promise; - del(requestUrl: string, additionalHeaders?: ifm.IHeaders): Promise; - post(requestUrl: string, data: string, additionalHeaders?: ifm.IHeaders): Promise; - patch(requestUrl: string, data: string, additionalHeaders?: ifm.IHeaders): Promise; - put(requestUrl: string, data: string, additionalHeaders?: ifm.IHeaders): Promise; - head(requestUrl: string, additionalHeaders?: ifm.IHeaders): Promise; - sendStream(verb: string, requestUrl: string, stream: NodeJS.ReadableStream, additionalHeaders?: ifm.IHeaders): Promise; - /** - * Gets a typed object from an endpoint - * Be aware that not found returns a null. Other errors (4xx, 5xx) reject the promise - */ - getJson(requestUrl: string, additionalHeaders?: ifm.IHeaders): Promise>; - postJson(requestUrl: string, obj: any, additionalHeaders?: ifm.IHeaders): Promise>; - putJson(requestUrl: string, obj: any, additionalHeaders?: ifm.IHeaders): Promise>; - patchJson(requestUrl: string, obj: any, additionalHeaders?: ifm.IHeaders): Promise>; - /** - * Makes a raw http request. - * All other methods such as get, post, patch, and request ultimately call this. - * Prefer get, del, post and patch - */ - request(verb: string, requestUrl: string, data: string | NodeJS.ReadableStream, headers: ifm.IHeaders): Promise; - /** - * Needs to be called if keepAlive is set to true in request options. - */ - dispose(): void; - /** - * Raw request. - * @param info - * @param data - */ - requestRaw(info: ifm.IRequestInfo, data: string | NodeJS.ReadableStream): Promise; - /** - * Raw request with callback. - * @param info - * @param data - * @param onResult - */ - requestRawWithCallback(info: ifm.IRequestInfo, data: string | NodeJS.ReadableStream, onResult: (err: any, res: ifm.IHttpClientResponse) => void): void; - /** - * Gets an http agent. This function is useful when you need an http agent that handles - * routing through a proxy server - depending upon the url and proxy environment variables. - * @param serverUrl The server URL where the request will be sent. For example, https://api.github.com - */ - getAgent(serverUrl: string): http.Agent; - private _prepareRequest; - private _mergeHeaders; - private _getExistingOrDefaultHeader; - private _getAgent; - private _performExponentialBackoff; - private static dateTimeDeserializer; - private _processResponse; -} diff --git a/node_modules/@actions/http-client/index.js b/node_modules/@actions/http-client/index.js deleted file mode 100644 index 43b2b10..0000000 --- a/node_modules/@actions/http-client/index.js +++ /dev/null @@ -1,537 +0,0 @@ -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -const http = require("http"); -const https = require("https"); -const pm = require("./proxy"); -let tunnel; -var HttpCodes; -(function (HttpCodes) { - HttpCodes[HttpCodes["OK"] = 200] = "OK"; - HttpCodes[HttpCodes["MultipleChoices"] = 300] = "MultipleChoices"; - HttpCodes[HttpCodes["MovedPermanently"] = 301] = "MovedPermanently"; - HttpCodes[HttpCodes["ResourceMoved"] = 302] = "ResourceMoved"; - HttpCodes[HttpCodes["SeeOther"] = 303] = "SeeOther"; - HttpCodes[HttpCodes["NotModified"] = 304] = "NotModified"; - HttpCodes[HttpCodes["UseProxy"] = 305] = "UseProxy"; - HttpCodes[HttpCodes["SwitchProxy"] = 306] = "SwitchProxy"; - HttpCodes[HttpCodes["TemporaryRedirect"] = 307] = "TemporaryRedirect"; - HttpCodes[HttpCodes["PermanentRedirect"] = 308] = "PermanentRedirect"; - HttpCodes[HttpCodes["BadRequest"] = 400] = "BadRequest"; - HttpCodes[HttpCodes["Unauthorized"] = 401] = "Unauthorized"; - HttpCodes[HttpCodes["PaymentRequired"] = 402] = "PaymentRequired"; - HttpCodes[HttpCodes["Forbidden"] = 403] = "Forbidden"; - HttpCodes[HttpCodes["NotFound"] = 404] = "NotFound"; - HttpCodes[HttpCodes["MethodNotAllowed"] = 405] = "MethodNotAllowed"; - HttpCodes[HttpCodes["NotAcceptable"] = 406] = "NotAcceptable"; - HttpCodes[HttpCodes["ProxyAuthenticationRequired"] = 407] = "ProxyAuthenticationRequired"; - HttpCodes[HttpCodes["RequestTimeout"] = 408] = "RequestTimeout"; - HttpCodes[HttpCodes["Conflict"] = 409] = "Conflict"; - HttpCodes[HttpCodes["Gone"] = 410] = "Gone"; - HttpCodes[HttpCodes["TooManyRequests"] = 429] = "TooManyRequests"; - HttpCodes[HttpCodes["InternalServerError"] = 500] = "InternalServerError"; - HttpCodes[HttpCodes["NotImplemented"] = 501] = "NotImplemented"; - HttpCodes[HttpCodes["BadGateway"] = 502] = "BadGateway"; - HttpCodes[HttpCodes["ServiceUnavailable"] = 503] = "ServiceUnavailable"; - HttpCodes[HttpCodes["GatewayTimeout"] = 504] = "GatewayTimeout"; -})(HttpCodes = exports.HttpCodes || (exports.HttpCodes = {})); -var Headers; -(function (Headers) { - Headers["Accept"] = "accept"; - Headers["ContentType"] = "content-type"; -})(Headers = exports.Headers || (exports.Headers = {})); -var MediaTypes; -(function (MediaTypes) { - MediaTypes["ApplicationJson"] = "application/json"; -})(MediaTypes = exports.MediaTypes || (exports.MediaTypes = {})); -/** - * Returns the proxy URL, depending upon the supplied url and proxy environment variables. - * @param serverUrl The server URL where the request will be sent. For example, https://api.github.com - */ -function getProxyUrl(serverUrl) { - let proxyUrl = pm.getProxyUrl(new URL(serverUrl)); - return proxyUrl ? proxyUrl.href : ''; -} -exports.getProxyUrl = getProxyUrl; -const HttpRedirectCodes = [ - HttpCodes.MovedPermanently, - HttpCodes.ResourceMoved, - HttpCodes.SeeOther, - HttpCodes.TemporaryRedirect, - HttpCodes.PermanentRedirect -]; -const HttpResponseRetryCodes = [ - HttpCodes.BadGateway, - HttpCodes.ServiceUnavailable, - HttpCodes.GatewayTimeout -]; -const RetryableHttpVerbs = ['OPTIONS', 'GET', 'DELETE', 'HEAD']; -const ExponentialBackoffCeiling = 10; -const ExponentialBackoffTimeSlice = 5; -class HttpClientError extends Error { - constructor(message, statusCode) { - super(message); - this.name = 'HttpClientError'; - this.statusCode = statusCode; - Object.setPrototypeOf(this, HttpClientError.prototype); - } -} -exports.HttpClientError = HttpClientError; -class HttpClientResponse { - constructor(message) { - this.message = message; - } - readBody() { - return new Promise(async (resolve, reject) => { - let output = Buffer.alloc(0); - this.message.on('data', (chunk) => { - output = Buffer.concat([output, chunk]); - }); - this.message.on('end', () => { - resolve(output.toString()); - }); - }); - } -} -exports.HttpClientResponse = HttpClientResponse; -function isHttps(requestUrl) { - let parsedUrl = new URL(requestUrl); - return parsedUrl.protocol === 'https:'; -} -exports.isHttps = isHttps; -class HttpClient { - constructor(userAgent, handlers, requestOptions) { - this._ignoreSslError = false; - this._allowRedirects = true; - this._allowRedirectDowngrade = false; - this._maxRedirects = 50; - this._allowRetries = false; - this._maxRetries = 1; - this._keepAlive = false; - this._disposed = false; - this.userAgent = userAgent; - this.handlers = handlers || []; - this.requestOptions = requestOptions; - if (requestOptions) { - if (requestOptions.ignoreSslError != null) { - this._ignoreSslError = requestOptions.ignoreSslError; - } - this._socketTimeout = requestOptions.socketTimeout; - if (requestOptions.allowRedirects != null) { - this._allowRedirects = requestOptions.allowRedirects; - } - if (requestOptions.allowRedirectDowngrade != null) { - this._allowRedirectDowngrade = requestOptions.allowRedirectDowngrade; - } - if (requestOptions.maxRedirects != null) { - this._maxRedirects = Math.max(requestOptions.maxRedirects, 0); - } - if (requestOptions.keepAlive != null) { - this._keepAlive = requestOptions.keepAlive; - } - if (requestOptions.allowRetries != null) { - this._allowRetries = requestOptions.allowRetries; - } - if (requestOptions.maxRetries != null) { - this._maxRetries = requestOptions.maxRetries; - } - } - } - options(requestUrl, additionalHeaders) { - return this.request('OPTIONS', requestUrl, null, additionalHeaders || {}); - } - get(requestUrl, additionalHeaders) { - return this.request('GET', requestUrl, null, additionalHeaders || {}); - } - del(requestUrl, additionalHeaders) { - return this.request('DELETE', requestUrl, null, additionalHeaders || {}); - } - post(requestUrl, data, additionalHeaders) { - return this.request('POST', requestUrl, data, additionalHeaders || {}); - } - patch(requestUrl, data, additionalHeaders) { - return this.request('PATCH', requestUrl, data, additionalHeaders || {}); - } - put(requestUrl, data, additionalHeaders) { - return this.request('PUT', requestUrl, data, additionalHeaders || {}); - } - head(requestUrl, additionalHeaders) { - return this.request('HEAD', requestUrl, null, additionalHeaders || {}); - } - sendStream(verb, requestUrl, stream, additionalHeaders) { - return this.request(verb, requestUrl, stream, additionalHeaders); - } - /** - * Gets a typed object from an endpoint - * Be aware that not found returns a null. Other errors (4xx, 5xx) reject the promise - */ - async getJson(requestUrl, additionalHeaders = {}) { - additionalHeaders[Headers.Accept] = this._getExistingOrDefaultHeader(additionalHeaders, Headers.Accept, MediaTypes.ApplicationJson); - let res = await this.get(requestUrl, additionalHeaders); - return this._processResponse(res, this.requestOptions); - } - async postJson(requestUrl, obj, additionalHeaders = {}) { - let data = JSON.stringify(obj, null, 2); - additionalHeaders[Headers.Accept] = this._getExistingOrDefaultHeader(additionalHeaders, Headers.Accept, MediaTypes.ApplicationJson); - additionalHeaders[Headers.ContentType] = this._getExistingOrDefaultHeader(additionalHeaders, Headers.ContentType, MediaTypes.ApplicationJson); - let res = await this.post(requestUrl, data, additionalHeaders); - return this._processResponse(res, this.requestOptions); - } - async putJson(requestUrl, obj, additionalHeaders = {}) { - let data = JSON.stringify(obj, null, 2); - additionalHeaders[Headers.Accept] = this._getExistingOrDefaultHeader(additionalHeaders, Headers.Accept, MediaTypes.ApplicationJson); - additionalHeaders[Headers.ContentType] = this._getExistingOrDefaultHeader(additionalHeaders, Headers.ContentType, MediaTypes.ApplicationJson); - let res = await this.put(requestUrl, data, additionalHeaders); - return this._processResponse(res, this.requestOptions); - } - async patchJson(requestUrl, obj, additionalHeaders = {}) { - let data = JSON.stringify(obj, null, 2); - additionalHeaders[Headers.Accept] = this._getExistingOrDefaultHeader(additionalHeaders, Headers.Accept, MediaTypes.ApplicationJson); - additionalHeaders[Headers.ContentType] = this._getExistingOrDefaultHeader(additionalHeaders, Headers.ContentType, MediaTypes.ApplicationJson); - let res = await this.patch(requestUrl, data, additionalHeaders); - return this._processResponse(res, this.requestOptions); - } - /** - * Makes a raw http request. - * All other methods such as get, post, patch, and request ultimately call this. - * Prefer get, del, post and patch - */ - async request(verb, requestUrl, data, headers) { - if (this._disposed) { - throw new Error('Client has already been disposed.'); - } - let parsedUrl = new URL(requestUrl); - let info = this._prepareRequest(verb, parsedUrl, headers); - // Only perform retries on reads since writes may not be idempotent. - let maxTries = this._allowRetries && RetryableHttpVerbs.indexOf(verb) != -1 - ? this._maxRetries + 1 - : 1; - let numTries = 0; - let response; - while (numTries < maxTries) { - response = await this.requestRaw(info, data); - // Check if it's an authentication challenge - if (response && - response.message && - response.message.statusCode === HttpCodes.Unauthorized) { - let authenticationHandler; - for (let i = 0; i < this.handlers.length; i++) { - if (this.handlers[i].canHandleAuthentication(response)) { - authenticationHandler = this.handlers[i]; - break; - } - } - if (authenticationHandler) { - return authenticationHandler.handleAuthentication(this, info, data); - } - else { - // We have received an unauthorized response but have no handlers to handle it. - // Let the response return to the caller. - return response; - } - } - let redirectsRemaining = this._maxRedirects; - while (HttpRedirectCodes.indexOf(response.message.statusCode) != -1 && - this._allowRedirects && - redirectsRemaining > 0) { - const redirectUrl = response.message.headers['location']; - if (!redirectUrl) { - // if there's no location to redirect to, we won't - break; - } - let parsedRedirectUrl = new URL(redirectUrl); - if (parsedUrl.protocol == 'https:' && - parsedUrl.protocol != parsedRedirectUrl.protocol && - !this._allowRedirectDowngrade) { - throw new Error('Redirect from HTTPS to HTTP protocol. This downgrade is not allowed for security reasons. If you want to allow this behavior, set the allowRedirectDowngrade option to true.'); - } - // we need to finish reading the response before reassigning response - // which will leak the open socket. - await response.readBody(); - // strip authorization header if redirected to a different hostname - if (parsedRedirectUrl.hostname !== parsedUrl.hostname) { - for (let header in headers) { - // header names are case insensitive - if (header.toLowerCase() === 'authorization') { - delete headers[header]; - } - } - } - // let's make the request with the new redirectUrl - info = this._prepareRequest(verb, parsedRedirectUrl, headers); - response = await this.requestRaw(info, data); - redirectsRemaining--; - } - if (HttpResponseRetryCodes.indexOf(response.message.statusCode) == -1) { - // If not a retry code, return immediately instead of retrying - return response; - } - numTries += 1; - if (numTries < maxTries) { - await response.readBody(); - await this._performExponentialBackoff(numTries); - } - } - return response; - } - /** - * Needs to be called if keepAlive is set to true in request options. - */ - dispose() { - if (this._agent) { - this._agent.destroy(); - } - this._disposed = true; - } - /** - * Raw request. - * @param info - * @param data - */ - requestRaw(info, data) { - return new Promise((resolve, reject) => { - let callbackForResult = function (err, res) { - if (err) { - reject(err); - } - resolve(res); - }; - this.requestRawWithCallback(info, data, callbackForResult); - }); - } - /** - * Raw request with callback. - * @param info - * @param data - * @param onResult - */ - requestRawWithCallback(info, data, onResult) { - let socket; - if (typeof data === 'string') { - info.options.headers['Content-Length'] = Buffer.byteLength(data, 'utf8'); - } - let callbackCalled = false; - let handleResult = (err, res) => { - if (!callbackCalled) { - callbackCalled = true; - onResult(err, res); - } - }; - let req = info.httpModule.request(info.options, (msg) => { - let res = new HttpClientResponse(msg); - handleResult(null, res); - }); - req.on('socket', sock => { - socket = sock; - }); - // If we ever get disconnected, we want the socket to timeout eventually - req.setTimeout(this._socketTimeout || 3 * 60000, () => { - if (socket) { - socket.end(); - } - handleResult(new Error('Request timeout: ' + info.options.path), null); - }); - req.on('error', function (err) { - // err has statusCode property - // res should have headers - handleResult(err, null); - }); - if (data && typeof data === 'string') { - req.write(data, 'utf8'); - } - if (data && typeof data !== 'string') { - data.on('close', function () { - req.end(); - }); - data.pipe(req); - } - else { - req.end(); - } - } - /** - * Gets an http agent. This function is useful when you need an http agent that handles - * routing through a proxy server - depending upon the url and proxy environment variables. - * @param serverUrl The server URL where the request will be sent. For example, https://api.github.com - */ - getAgent(serverUrl) { - let parsedUrl = new URL(serverUrl); - return this._getAgent(parsedUrl); - } - _prepareRequest(method, requestUrl, headers) { - const info = {}; - info.parsedUrl = requestUrl; - const usingSsl = info.parsedUrl.protocol === 'https:'; - info.httpModule = usingSsl ? https : http; - const defaultPort = usingSsl ? 443 : 80; - info.options = {}; - info.options.host = info.parsedUrl.hostname; - info.options.port = info.parsedUrl.port - ? parseInt(info.parsedUrl.port) - : defaultPort; - info.options.path = - (info.parsedUrl.pathname || '') + (info.parsedUrl.search || ''); - info.options.method = method; - info.options.headers = this._mergeHeaders(headers); - if (this.userAgent != null) { - info.options.headers['user-agent'] = this.userAgent; - } - info.options.agent = this._getAgent(info.parsedUrl); - // gives handlers an opportunity to participate - if (this.handlers) { - this.handlers.forEach(handler => { - handler.prepareRequest(info.options); - }); - } - return info; - } - _mergeHeaders(headers) { - const lowercaseKeys = obj => Object.keys(obj).reduce((c, k) => ((c[k.toLowerCase()] = obj[k]), c), {}); - if (this.requestOptions && this.requestOptions.headers) { - return Object.assign({}, lowercaseKeys(this.requestOptions.headers), lowercaseKeys(headers)); - } - return lowercaseKeys(headers || {}); - } - _getExistingOrDefaultHeader(additionalHeaders, header, _default) { - const lowercaseKeys = obj => Object.keys(obj).reduce((c, k) => ((c[k.toLowerCase()] = obj[k]), c), {}); - let clientHeader; - if (this.requestOptions && this.requestOptions.headers) { - clientHeader = lowercaseKeys(this.requestOptions.headers)[header]; - } - return additionalHeaders[header] || clientHeader || _default; - } - _getAgent(parsedUrl) { - let agent; - let proxyUrl = pm.getProxyUrl(parsedUrl); - let useProxy = proxyUrl && proxyUrl.hostname; - if (this._keepAlive && useProxy) { - agent = this._proxyAgent; - } - if (this._keepAlive && !useProxy) { - agent = this._agent; - } - // if agent is already assigned use that agent. - if (!!agent) { - return agent; - } - const usingSsl = parsedUrl.protocol === 'https:'; - let maxSockets = 100; - if (!!this.requestOptions) { - maxSockets = this.requestOptions.maxSockets || http.globalAgent.maxSockets; - } - if (useProxy) { - // If using proxy, need tunnel - if (!tunnel) { - tunnel = require('tunnel'); - } - const agentOptions = { - maxSockets: maxSockets, - keepAlive: this._keepAlive, - proxy: { - ...((proxyUrl.username || proxyUrl.password) && { - proxyAuth: `${proxyUrl.username}:${proxyUrl.password}` - }), - host: proxyUrl.hostname, - port: proxyUrl.port - } - }; - let tunnelAgent; - const overHttps = proxyUrl.protocol === 'https:'; - if (usingSsl) { - tunnelAgent = overHttps ? tunnel.httpsOverHttps : tunnel.httpsOverHttp; - } - else { - tunnelAgent = overHttps ? tunnel.httpOverHttps : tunnel.httpOverHttp; - } - agent = tunnelAgent(agentOptions); - this._proxyAgent = agent; - } - // if reusing agent across request and tunneling agent isn't assigned create a new agent - if (this._keepAlive && !agent) { - const options = { keepAlive: this._keepAlive, maxSockets: maxSockets }; - agent = usingSsl ? new https.Agent(options) : new http.Agent(options); - this._agent = agent; - } - // if not using private agent and tunnel agent isn't setup then use global agent - if (!agent) { - agent = usingSsl ? https.globalAgent : http.globalAgent; - } - if (usingSsl && this._ignoreSslError) { - // we don't want to set NODE_TLS_REJECT_UNAUTHORIZED=0 since that will affect request for entire process - // http.RequestOptions doesn't expose a way to modify RequestOptions.agent.options - // we have to cast it to any and change it directly - agent.options = Object.assign(agent.options || {}, { - rejectUnauthorized: false - }); - } - return agent; - } - _performExponentialBackoff(retryNumber) { - retryNumber = Math.min(ExponentialBackoffCeiling, retryNumber); - const ms = ExponentialBackoffTimeSlice * Math.pow(2, retryNumber); - return new Promise(resolve => setTimeout(() => resolve(), ms)); - } - static dateTimeDeserializer(key, value) { - if (typeof value === 'string') { - let a = new Date(value); - if (!isNaN(a.valueOf())) { - return a; - } - } - return value; - } - async _processResponse(res, options) { - return new Promise(async (resolve, reject) => { - const statusCode = res.message.statusCode; - const response = { - statusCode: statusCode, - result: null, - headers: {} - }; - // not found leads to null obj returned - if (statusCode == HttpCodes.NotFound) { - resolve(response); - } - let obj; - let contents; - // get the result from the body - try { - contents = await res.readBody(); - if (contents && contents.length > 0) { - if (options && options.deserializeDates) { - obj = JSON.parse(contents, HttpClient.dateTimeDeserializer); - } - else { - obj = JSON.parse(contents); - } - response.result = obj; - } - response.headers = res.message.headers; - } - catch (err) { - // Invalid resource (contents not json); leaving result obj null - } - // note that 3xx redirects are handled by the http layer. - if (statusCode > 299) { - let msg; - // if exception/error in body, attempt to get better error - if (obj && obj.message) { - msg = obj.message; - } - else if (contents && contents.length > 0) { - // it may be the case that the exception is in the body message as string - msg = contents; - } - else { - msg = 'Failed request: (' + statusCode + ')'; - } - let err = new HttpClientError(msg, statusCode); - err.result = response.result; - reject(err); - } - else { - resolve(response); - } - }); - } -} -exports.HttpClient = HttpClient; diff --git a/node_modules/@actions/http-client/interfaces.d.ts b/node_modules/@actions/http-client/interfaces.d.ts deleted file mode 100644 index 78bd85b..0000000 --- a/node_modules/@actions/http-client/interfaces.d.ts +++ /dev/null @@ -1,49 +0,0 @@ -/// -import http = require('http'); -export interface IHeaders { - [key: string]: any; -} -export interface IHttpClient { - options(requestUrl: string, additionalHeaders?: IHeaders): Promise; - get(requestUrl: string, additionalHeaders?: IHeaders): Promise; - del(requestUrl: string, additionalHeaders?: IHeaders): Promise; - post(requestUrl: string, data: string, additionalHeaders?: IHeaders): Promise; - patch(requestUrl: string, data: string, additionalHeaders?: IHeaders): Promise; - put(requestUrl: string, data: string, additionalHeaders?: IHeaders): Promise; - sendStream(verb: string, requestUrl: string, stream: NodeJS.ReadableStream, additionalHeaders?: IHeaders): Promise; - request(verb: string, requestUrl: string, data: string | NodeJS.ReadableStream, headers: IHeaders): Promise; - requestRaw(info: IRequestInfo, data: string | NodeJS.ReadableStream): Promise; - requestRawWithCallback(info: IRequestInfo, data: string | NodeJS.ReadableStream, onResult: (err: any, res: IHttpClientResponse) => void): void; -} -export interface IRequestHandler { - prepareRequest(options: http.RequestOptions): void; - canHandleAuthentication(response: IHttpClientResponse): boolean; - handleAuthentication(httpClient: IHttpClient, requestInfo: IRequestInfo, objs: any): Promise; -} -export interface IHttpClientResponse { - message: http.IncomingMessage; - readBody(): Promise; -} -export interface IRequestInfo { - options: http.RequestOptions; - parsedUrl: URL; - httpModule: any; -} -export interface IRequestOptions { - headers?: IHeaders; - socketTimeout?: number; - ignoreSslError?: boolean; - allowRedirects?: boolean; - allowRedirectDowngrade?: boolean; - maxRedirects?: number; - maxSockets?: number; - keepAlive?: boolean; - deserializeDates?: boolean; - allowRetries?: boolean; - maxRetries?: number; -} -export interface ITypedResponse { - statusCode: number; - result: T | null; - headers: Object; -} diff --git a/node_modules/@actions/http-client/interfaces.js b/node_modules/@actions/http-client/interfaces.js deleted file mode 100644 index c8ad2e5..0000000 --- a/node_modules/@actions/http-client/interfaces.js +++ /dev/null @@ -1,2 +0,0 @@ -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); diff --git a/node_modules/@actions/http-client/package.json b/node_modules/@actions/http-client/package.json deleted file mode 100644 index 0c99fd4..0000000 --- a/node_modules/@actions/http-client/package.json +++ /dev/null @@ -1,39 +0,0 @@ -{ - "name": "@actions/http-client", - "version": "1.0.11", - "description": "Actions Http Client", - "main": "index.js", - "scripts": { - "build": "rm -Rf ./_out && tsc && cp package*.json ./_out && cp *.md ./_out && cp LICENSE ./_out && cp actions.png ./_out", - "test": "jest", - "format": "prettier --write *.ts && prettier --write **/*.ts", - "format-check": "prettier --check *.ts && prettier --check **/*.ts", - "audit-check": "npm audit --audit-level=moderate" - }, - "repository": { - "type": "git", - "url": "git+https://github.com/actions/http-client.git" - }, - "keywords": [ - "Actions", - "Http" - ], - "author": "GitHub, Inc.", - "license": "MIT", - "bugs": { - "url": "https://github.com/actions/http-client/issues" - }, - "homepage": "https://github.com/actions/http-client#readme", - "devDependencies": { - "@types/jest": "^25.1.4", - "@types/node": "^12.12.31", - "jest": "^25.1.0", - "prettier": "^2.0.4", - "proxy": "^1.0.1", - "ts-jest": "^25.2.1", - "typescript": "^3.8.3" - }, - "dependencies": { - "tunnel": "0.0.6" - } -} diff --git a/node_modules/@actions/http-client/proxy.d.ts b/node_modules/@actions/http-client/proxy.d.ts deleted file mode 100644 index 4599865..0000000 --- a/node_modules/@actions/http-client/proxy.d.ts +++ /dev/null @@ -1,2 +0,0 @@ -export declare function getProxyUrl(reqUrl: URL): URL | undefined; -export declare function checkBypass(reqUrl: URL): boolean; diff --git a/node_modules/@actions/http-client/proxy.js b/node_modules/@actions/http-client/proxy.js deleted file mode 100644 index 88f00ec..0000000 --- a/node_modules/@actions/http-client/proxy.js +++ /dev/null @@ -1,57 +0,0 @@ -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -function getProxyUrl(reqUrl) { - let usingSsl = reqUrl.protocol === 'https:'; - let proxyUrl; - if (checkBypass(reqUrl)) { - return proxyUrl; - } - let proxyVar; - if (usingSsl) { - proxyVar = process.env['https_proxy'] || process.env['HTTPS_PROXY']; - } - else { - proxyVar = process.env['http_proxy'] || process.env['HTTP_PROXY']; - } - if (proxyVar) { - proxyUrl = new URL(proxyVar); - } - return proxyUrl; -} -exports.getProxyUrl = getProxyUrl; -function checkBypass(reqUrl) { - if (!reqUrl.hostname) { - return false; - } - let noProxy = process.env['no_proxy'] || process.env['NO_PROXY'] || ''; - if (!noProxy) { - return false; - } - // Determine the request port - let reqPort; - if (reqUrl.port) { - reqPort = Number(reqUrl.port); - } - else if (reqUrl.protocol === 'http:') { - reqPort = 80; - } - else if (reqUrl.protocol === 'https:') { - reqPort = 443; - } - // Format the request hostname and hostname with port - let upperReqHosts = [reqUrl.hostname.toUpperCase()]; - if (typeof reqPort === 'number') { - upperReqHosts.push(`${upperReqHosts[0]}:${reqPort}`); - } - // Compare request host against noproxy - for (let upperNoProxyItem of noProxy - .split(',') - .map(x => x.trim().toUpperCase()) - .filter(x => x)) { - if (upperReqHosts.some(x => x === upperNoProxyItem)) { - return true; - } - } - return false; -} -exports.checkBypass = checkBypass; diff --git a/node_modules/@octokit/auth-token/LICENSE b/node_modules/@octokit/auth-token/LICENSE deleted file mode 100644 index ef2c18e..0000000 --- a/node_modules/@octokit/auth-token/LICENSE +++ /dev/null @@ -1,21 +0,0 @@ -The MIT License - -Copyright (c) 2019 Octokit 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/@octokit/auth-token/README.md b/node_modules/@octokit/auth-token/README.md deleted file mode 100644 index b4791f0..0000000 --- a/node_modules/@octokit/auth-token/README.md +++ /dev/null @@ -1,271 +0,0 @@ -# auth-token.js - -> GitHub API token authentication for browsers and Node.js - -[![@latest](https://img.shields.io/npm/v/@octokit/auth-token.svg)](https://www.npmjs.com/package/@octokit/auth-token) -[![Build Status](https://github.com/octokit/auth-token.js/workflows/Test/badge.svg)](https://github.com/octokit/auth-token.js/actions?query=workflow%3ATest) - -`@octokit/auth-token` is the simplest of [GitHub’s authentication strategies](https://github.com/octokit/auth.js). - -It is useful if you want to support multiple authentication strategies, as it’s API is compatible with its sibling packages for [basic](https://github.com/octokit/auth-basic.js), [GitHub App](https://github.com/octokit/auth-app.js) and [OAuth app](https://github.com/octokit/auth.js) authentication. - - - -- [Usage](#usage) -- [`createTokenAuth(token) options`](#createtokenauthtoken-options) -- [`auth()`](#auth) -- [Authentication object](#authentication-object) -- [`auth.hook(request, route, options)` or `auth.hook(request, options)`](#authhookrequest-route-options-or-authhookrequest-options) -- [Find more information](#find-more-information) - - [Find out what scopes are enabled for oauth tokens](#find-out-what-scopes-are-enabled-for-oauth-tokens) - - [Find out if token is a personal access token or if it belongs to an OAuth app](#find-out-if-token-is-a-personal-access-token-or-if-it-belongs-to-an-oauth-app) - - [Find out what permissions are enabled for a repository](#find-out-what-permissions-are-enabled-for-a-repository) - - [Use token for git operations](#use-token-for-git-operations) -- [License](#license) - - - -## Usage - - - - - - -
-Browsers - - -Load `@octokit/auth-token` directly from [cdn.skypack.dev](https://cdn.skypack.dev) - -```html - -``` - -
-Node - - -Install with npm install @octokit/auth-token - -```js -const { createTokenAuth } = require("@octokit/auth-token"); -// or: import { createTokenAuth } from "@octokit/auth-token"; -``` - -
- -```js -const auth = createTokenAuth("1234567890abcdef1234567890abcdef12345678"); -const authentication = await auth(); -// { -// type: 'token', -// token: '1234567890abcdef1234567890abcdef12345678', -// tokenType: 'oauth' -// } -``` - -## `createTokenAuth(token) options` - -The `createTokenAuth` method accepts a single argument of type string, which is the token. The passed token can be one of the following: - -- [Personal access token](https://help.github.com/en/articles/creating-a-personal-access-token-for-the-command-line) -- [OAuth access token](https://developer.github.com/apps/building-oauth-apps/authorizing-oauth-apps/) -- Installation access token ([GitHub App Installation](https://developer.github.com/apps/building-github-apps/authenticating-with-github-apps/#authenticating-as-an-installation)) -- [GITHUB_TOKEN provided to GitHub Actions](https://developer.github.com/actions/creating-github-actions/accessing-the-runtime-environment/#environment-variables) - -Examples - -```js -// Personal access token or OAuth access token -createTokenAuth("1234567890abcdef1234567890abcdef12345678"); - -// Installation access token or GitHub Action token -createTokenAuth("v1.d3d433526f780fbcc3129004e2731b3904ad0b86"); -``` - -## `auth()` - -The `auth()` method has no options. It returns a promise which resolves with the the authentication object. - -## Authentication object - - - - - - - - - - - - - - - - - - - - - - - - - - -
- name - - type - - description -
- type - - string - - "token" -
- token - - string - - The provided token. -
- tokenType - - string - - Can be either "oauth" for personal access tokens and OAuth tokens, or "installation" for installation access tokens (includes GITHUB_TOKEN provided to GitHub Actions) -
- -## `auth.hook(request, route, options)` or `auth.hook(request, options)` - -`auth.hook()` hooks directly into the request life cycle. It authenticates the request using the provided token. - -The `request` option is an instance of [`@octokit/request`](https://github.com/octokit/request.js#readme). The `route`/`options` parameters are the same as for the [`request()` method](https://github.com/octokit/request.js#request). - -`auth.hook()` can be called directly to send an authenticated request - -```js -const { data: authorizations } = await auth.hook( - request, - "GET /authorizations" -); -``` - -Or it can be passed as option to [`request()`](https://github.com/octokit/request.js#request). - -```js -const requestWithAuth = request.defaults({ - request: { - hook: auth.hook, - }, -}); - -const { data: authorizations } = await requestWithAuth("GET /authorizations"); -``` - -## Find more information - -`auth()` does not send any requests, it only transforms the provided token string into an authentication object. - -Here is a list of things you can do to retrieve further information - -### Find out what scopes are enabled for oauth tokens - -Note that this does not work for installations. There is no way to retrieve permissions based on an installation access tokens. - -```js -const TOKEN = "1234567890abcdef1234567890abcdef12345678"; - -const auth = createTokenAuth(TOKEN); -const authentication = await auth(); - -const response = await request("HEAD /", { - headers: authentication.headers, -}); -const scopes = response.headers["x-oauth-scopes"].split(/,\s+/); - -if (scopes.length) { - console.log( - `"${TOKEN}" has ${scopes.length} scopes enabled: ${scopes.join(", ")}` - ); -} else { - console.log(`"${TOKEN}" has no scopes enabled`); -} -``` - -### Find out if token is a personal access token or if it belongs to an OAuth app - -```js -const TOKEN = "1234567890abcdef1234567890abcdef12345678"; - -const auth = createTokenAuth(TOKEN); -const authentication = await auth(); - -const response = await request("HEAD /", { - headers: authentication.headers, -}); -const clientId = response.headers["x-oauth-client-id"]; - -if (clientId) { - console.log( - `"${token}" is an OAuth token, its app’s client_id is ${clientId}.` - ); -} else { - console.log(`"${token}" is a personal access token`); -} -``` - -### Find out what permissions are enabled for a repository - -Note that the `permissions` key is not set when authenticated using an installation access token. - -```js -const TOKEN = "1234567890abcdef1234567890abcdef12345678"; - -const auth = createTokenAuth(TOKEN); -const authentication = await auth(); - -const response = await request("GET /repos/{owner}/{repo}", { - owner: 'octocat', - repo: 'hello-world' - headers: authentication.headers -}); - -console.log(response.data.permissions) -// { -// admin: true, -// push: true, -// pull: true -// } -``` - -### Use token for git operations - -Both OAuth and installation access tokens can be used for git operations. However, when using with an installation, [the token must be prefixed with `x-access-token`](https://developer.github.com/apps/building-github-apps/authenticating-with-github-apps/#http-based-git-access-by-an-installation). - -This example is using the [`execa`](https://github.com/sindresorhus/execa) package to run a `git push` command. - -```js -const TOKEN = "1234567890abcdef1234567890abcdef12345678"; - -const auth = createTokenAuth(TOKEN); -const { token, tokenType } = await auth(); -const tokenWithPrefix = - tokenType === "installation" ? `x-access-token:${token}` : token; - -const repositoryUrl = `https://${tokenWithPrefix}@github.com/octocat/hello-world.git`; - -const { stdout } = await execa("git", ["push", repositoryUrl]); -console.log(stdout); -``` - -## License - -[MIT](LICENSE) diff --git a/node_modules/@octokit/auth-token/dist-node/index.js b/node_modules/@octokit/auth-token/dist-node/index.js deleted file mode 100644 index 1394a5d..0000000 --- a/node_modules/@octokit/auth-token/dist-node/index.js +++ /dev/null @@ -1,49 +0,0 @@ -'use strict'; - -Object.defineProperty(exports, '__esModule', { value: true }); - -async function auth(token) { - const tokenType = token.split(/\./).length === 3 ? "app" : /^v\d+\./.test(token) ? "installation" : "oauth"; - return { - type: "token", - token: token, - tokenType - }; -} - -/** - * Prefix token for usage in the Authorization header - * - * @param token OAuth token or JSON Web Token - */ -function withAuthorizationPrefix(token) { - if (token.split(/\./).length === 3) { - return `bearer ${token}`; - } - - return `token ${token}`; -} - -async function hook(token, request, route, parameters) { - const endpoint = request.endpoint.merge(route, parameters); - endpoint.headers.authorization = withAuthorizationPrefix(token); - return request(endpoint); -} - -const createTokenAuth = function createTokenAuth(token) { - if (!token) { - throw new Error("[@octokit/auth-token] No token passed to createTokenAuth"); - } - - if (typeof token !== "string") { - throw new Error("[@octokit/auth-token] Token passed to createTokenAuth is not a string"); - } - - token = token.replace(/^(token|bearer) +/i, ""); - return Object.assign(auth.bind(null, token), { - hook: hook.bind(null, token) - }); -}; - -exports.createTokenAuth = createTokenAuth; -//# sourceMappingURL=index.js.map diff --git a/node_modules/@octokit/auth-token/dist-node/index.js.map b/node_modules/@octokit/auth-token/dist-node/index.js.map deleted file mode 100644 index 46cf5e1..0000000 --- a/node_modules/@octokit/auth-token/dist-node/index.js.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"index.js","sources":["../dist-src/auth.js","../dist-src/with-authorization-prefix.js","../dist-src/hook.js","../dist-src/index.js"],"sourcesContent":["export async function auth(token) {\n const tokenType = token.split(/\\./).length === 3\n ? \"app\"\n : /^v\\d+\\./.test(token)\n ? \"installation\"\n : \"oauth\";\n return {\n type: \"token\",\n token: token,\n tokenType\n };\n}\n","/**\n * Prefix token for usage in the Authorization header\n *\n * @param token OAuth token or JSON Web Token\n */\nexport function withAuthorizationPrefix(token) {\n if (token.split(/\\./).length === 3) {\n return `bearer ${token}`;\n }\n return `token ${token}`;\n}\n","import { withAuthorizationPrefix } from \"./with-authorization-prefix\";\nexport async function hook(token, request, route, parameters) {\n const endpoint = request.endpoint.merge(route, parameters);\n endpoint.headers.authorization = withAuthorizationPrefix(token);\n return request(endpoint);\n}\n","import { auth } from \"./auth\";\nimport { hook } from \"./hook\";\nexport const createTokenAuth = function createTokenAuth(token) {\n if (!token) {\n throw new Error(\"[@octokit/auth-token] No token passed to createTokenAuth\");\n }\n if (typeof token !== \"string\") {\n throw new Error(\"[@octokit/auth-token] Token passed to createTokenAuth is not a string\");\n }\n token = token.replace(/^(token|bearer) +/i, \"\");\n return Object.assign(auth.bind(null, token), {\n hook: hook.bind(null, token)\n });\n};\n"],"names":["auth","token","tokenType","split","length","test","type","withAuthorizationPrefix","hook","request","route","parameters","endpoint","merge","headers","authorization","createTokenAuth","Error","replace","Object","assign","bind"],"mappings":";;;;AAAO,eAAeA,IAAf,CAAoBC,KAApB,EAA2B;AAC9B,QAAMC,SAAS,GAAGD,KAAK,CAACE,KAAN,CAAY,IAAZ,EAAkBC,MAAlB,KAA6B,CAA7B,GACZ,KADY,GAEZ,UAAUC,IAAV,CAAeJ,KAAf,IACI,cADJ,GAEI,OAJV;AAKA,SAAO;AACHK,IAAAA,IAAI,EAAE,OADH;AAEHL,IAAAA,KAAK,EAAEA,KAFJ;AAGHC,IAAAA;AAHG,GAAP;AAKH;;ACXD;AACA;AACA;AACA;AACA;AACA,AAAO,SAASK,uBAAT,CAAiCN,KAAjC,EAAwC;AAC3C,MAAIA,KAAK,CAACE,KAAN,CAAY,IAAZ,EAAkBC,MAAlB,KAA6B,CAAjC,EAAoC;AAChC,WAAQ,UAASH,KAAM,EAAvB;AACH;;AACD,SAAQ,SAAQA,KAAM,EAAtB;AACH;;ACTM,eAAeO,IAAf,CAAoBP,KAApB,EAA2BQ,OAA3B,EAAoCC,KAApC,EAA2CC,UAA3C,EAAuD;AAC1D,QAAMC,QAAQ,GAAGH,OAAO,CAACG,QAAR,CAAiBC,KAAjB,CAAuBH,KAAvB,EAA8BC,UAA9B,CAAjB;AACAC,EAAAA,QAAQ,CAACE,OAAT,CAAiBC,aAAjB,GAAiCR,uBAAuB,CAACN,KAAD,CAAxD;AACA,SAAOQ,OAAO,CAACG,QAAD,CAAd;AACH;;MCHYI,eAAe,GAAG,SAASA,eAAT,CAAyBf,KAAzB,EAAgC;AAC3D,MAAI,CAACA,KAAL,EAAY;AACR,UAAM,IAAIgB,KAAJ,CAAU,0DAAV,CAAN;AACH;;AACD,MAAI,OAAOhB,KAAP,KAAiB,QAArB,EAA+B;AAC3B,UAAM,IAAIgB,KAAJ,CAAU,uEAAV,CAAN;AACH;;AACDhB,EAAAA,KAAK,GAAGA,KAAK,CAACiB,OAAN,CAAc,oBAAd,EAAoC,EAApC,CAAR;AACA,SAAOC,MAAM,CAACC,MAAP,CAAcpB,IAAI,CAACqB,IAAL,CAAU,IAAV,EAAgBpB,KAAhB,CAAd,EAAsC;AACzCO,IAAAA,IAAI,EAAEA,IAAI,CAACa,IAAL,CAAU,IAAV,EAAgBpB,KAAhB;AADmC,GAAtC,CAAP;AAGH,CAXM;;;;"} \ No newline at end of file diff --git a/node_modules/@octokit/auth-token/dist-src/auth.js b/node_modules/@octokit/auth-token/dist-src/auth.js deleted file mode 100644 index 2d5005c..0000000 --- a/node_modules/@octokit/auth-token/dist-src/auth.js +++ /dev/null @@ -1,12 +0,0 @@ -export async function auth(token) { - const tokenType = token.split(/\./).length === 3 - ? "app" - : /^v\d+\./.test(token) - ? "installation" - : "oauth"; - return { - type: "token", - token: token, - tokenType - }; -} diff --git a/node_modules/@octokit/auth-token/dist-src/hook.js b/node_modules/@octokit/auth-token/dist-src/hook.js deleted file mode 100644 index f8e47f0..0000000 --- a/node_modules/@octokit/auth-token/dist-src/hook.js +++ /dev/null @@ -1,6 +0,0 @@ -import { withAuthorizationPrefix } from "./with-authorization-prefix"; -export async function hook(token, request, route, parameters) { - const endpoint = request.endpoint.merge(route, parameters); - endpoint.headers.authorization = withAuthorizationPrefix(token); - return request(endpoint); -} diff --git a/node_modules/@octokit/auth-token/dist-src/index.js b/node_modules/@octokit/auth-token/dist-src/index.js deleted file mode 100644 index 114fd45..0000000 --- a/node_modules/@octokit/auth-token/dist-src/index.js +++ /dev/null @@ -1,14 +0,0 @@ -import { auth } from "./auth"; -import { hook } from "./hook"; -export const createTokenAuth = function createTokenAuth(token) { - if (!token) { - throw new Error("[@octokit/auth-token] No token passed to createTokenAuth"); - } - if (typeof token !== "string") { - throw new Error("[@octokit/auth-token] Token passed to createTokenAuth is not a string"); - } - token = token.replace(/^(token|bearer) +/i, ""); - return Object.assign(auth.bind(null, token), { - hook: hook.bind(null, token) - }); -}; diff --git a/node_modules/@octokit/auth-token/dist-src/types.js b/node_modules/@octokit/auth-token/dist-src/types.js deleted file mode 100644 index cb0ff5c..0000000 --- a/node_modules/@octokit/auth-token/dist-src/types.js +++ /dev/null @@ -1 +0,0 @@ -export {}; diff --git a/node_modules/@octokit/auth-token/dist-src/with-authorization-prefix.js b/node_modules/@octokit/auth-token/dist-src/with-authorization-prefix.js deleted file mode 100644 index 9035813..0000000 --- a/node_modules/@octokit/auth-token/dist-src/with-authorization-prefix.js +++ /dev/null @@ -1,11 +0,0 @@ -/** - * Prefix token for usage in the Authorization header - * - * @param token OAuth token or JSON Web Token - */ -export function withAuthorizationPrefix(token) { - if (token.split(/\./).length === 3) { - return `bearer ${token}`; - } - return `token ${token}`; -} diff --git a/node_modules/@octokit/auth-token/dist-types/auth.d.ts b/node_modules/@octokit/auth-token/dist-types/auth.d.ts deleted file mode 100644 index dc41835..0000000 --- a/node_modules/@octokit/auth-token/dist-types/auth.d.ts +++ /dev/null @@ -1,2 +0,0 @@ -import { Token, Authentication } from "./types"; -export declare function auth(token: Token): Promise; diff --git a/node_modules/@octokit/auth-token/dist-types/hook.d.ts b/node_modules/@octokit/auth-token/dist-types/hook.d.ts deleted file mode 100644 index 21e4b6f..0000000 --- a/node_modules/@octokit/auth-token/dist-types/hook.d.ts +++ /dev/null @@ -1,2 +0,0 @@ -import { AnyResponse, EndpointOptions, RequestInterface, RequestParameters, Route, Token } from "./types"; -export declare function hook(token: Token, request: RequestInterface, route: Route | EndpointOptions, parameters?: RequestParameters): Promise; diff --git a/node_modules/@octokit/auth-token/dist-types/index.d.ts b/node_modules/@octokit/auth-token/dist-types/index.d.ts deleted file mode 100644 index 5999429..0000000 --- a/node_modules/@octokit/auth-token/dist-types/index.d.ts +++ /dev/null @@ -1,7 +0,0 @@ -import { StrategyInterface, Token, Authentication } from "./types"; -export declare type Types = { - StrategyOptions: Token; - AuthOptions: never; - Authentication: Authentication; -}; -export declare const createTokenAuth: StrategyInterface; diff --git a/node_modules/@octokit/auth-token/dist-types/types.d.ts b/node_modules/@octokit/auth-token/dist-types/types.d.ts deleted file mode 100644 index c302dc9..0000000 --- a/node_modules/@octokit/auth-token/dist-types/types.d.ts +++ /dev/null @@ -1,28 +0,0 @@ -import * as OctokitTypes from "@octokit/types"; -export declare type AnyResponse = OctokitTypes.OctokitResponse; -export declare type StrategyInterface = OctokitTypes.StrategyInterface<[ - Token -], [ -], Authentication>; -export declare type EndpointDefaults = OctokitTypes.EndpointDefaults; -export declare type EndpointOptions = OctokitTypes.EndpointOptions; -export declare type RequestParameters = OctokitTypes.RequestParameters; -export declare type RequestInterface = OctokitTypes.RequestInterface; -export declare type Route = OctokitTypes.Route; -export declare type Token = string; -export declare type OAuthTokenAuthentication = { - type: "token"; - tokenType: "oauth"; - token: Token; -}; -export declare type InstallationTokenAuthentication = { - type: "token"; - tokenType: "installation"; - token: Token; -}; -export declare type AppAuthentication = { - type: "token"; - tokenType: "app"; - token: Token; -}; -export declare type Authentication = OAuthTokenAuthentication | InstallationTokenAuthentication | AppAuthentication; diff --git a/node_modules/@octokit/auth-token/dist-types/with-authorization-prefix.d.ts b/node_modules/@octokit/auth-token/dist-types/with-authorization-prefix.d.ts deleted file mode 100644 index 2e52c31..0000000 --- a/node_modules/@octokit/auth-token/dist-types/with-authorization-prefix.d.ts +++ /dev/null @@ -1,6 +0,0 @@ -/** - * Prefix token for usage in the Authorization header - * - * @param token OAuth token or JSON Web Token - */ -export declare function withAuthorizationPrefix(token: string): string; diff --git a/node_modules/@octokit/auth-token/dist-web/index.js b/node_modules/@octokit/auth-token/dist-web/index.js deleted file mode 100644 index c15ca12..0000000 --- a/node_modules/@octokit/auth-token/dist-web/index.js +++ /dev/null @@ -1,46 +0,0 @@ -async function auth(token) { - const tokenType = token.split(/\./).length === 3 - ? "app" - : /^v\d+\./.test(token) - ? "installation" - : "oauth"; - return { - type: "token", - token: token, - tokenType - }; -} - -/** - * Prefix token for usage in the Authorization header - * - * @param token OAuth token or JSON Web Token - */ -function withAuthorizationPrefix(token) { - if (token.split(/\./).length === 3) { - return `bearer ${token}`; - } - return `token ${token}`; -} - -async function hook(token, request, route, parameters) { - const endpoint = request.endpoint.merge(route, parameters); - endpoint.headers.authorization = withAuthorizationPrefix(token); - return request(endpoint); -} - -const createTokenAuth = function createTokenAuth(token) { - if (!token) { - throw new Error("[@octokit/auth-token] No token passed to createTokenAuth"); - } - if (typeof token !== "string") { - throw new Error("[@octokit/auth-token] Token passed to createTokenAuth is not a string"); - } - token = token.replace(/^(token|bearer) +/i, ""); - return Object.assign(auth.bind(null, token), { - hook: hook.bind(null, token) - }); -}; - -export { createTokenAuth }; -//# sourceMappingURL=index.js.map diff --git a/node_modules/@octokit/auth-token/dist-web/index.js.map b/node_modules/@octokit/auth-token/dist-web/index.js.map deleted file mode 100644 index 60de4a6..0000000 --- a/node_modules/@octokit/auth-token/dist-web/index.js.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"index.js","sources":["../dist-src/auth.js","../dist-src/with-authorization-prefix.js","../dist-src/hook.js","../dist-src/index.js"],"sourcesContent":["export async function auth(token) {\n const tokenType = token.split(/\\./).length === 3\n ? \"app\"\n : /^v\\d+\\./.test(token)\n ? \"installation\"\n : \"oauth\";\n return {\n type: \"token\",\n token: token,\n tokenType\n };\n}\n","/**\n * Prefix token for usage in the Authorization header\n *\n * @param token OAuth token or JSON Web Token\n */\nexport function withAuthorizationPrefix(token) {\n if (token.split(/\\./).length === 3) {\n return `bearer ${token}`;\n }\n return `token ${token}`;\n}\n","import { withAuthorizationPrefix } from \"./with-authorization-prefix\";\nexport async function hook(token, request, route, parameters) {\n const endpoint = request.endpoint.merge(route, parameters);\n endpoint.headers.authorization = withAuthorizationPrefix(token);\n return request(endpoint);\n}\n","import { auth } from \"./auth\";\nimport { hook } from \"./hook\";\nexport const createTokenAuth = function createTokenAuth(token) {\n if (!token) {\n throw new Error(\"[@octokit/auth-token] No token passed to createTokenAuth\");\n }\n if (typeof token !== \"string\") {\n throw new Error(\"[@octokit/auth-token] Token passed to createTokenAuth is not a string\");\n }\n token = token.replace(/^(token|bearer) +/i, \"\");\n return Object.assign(auth.bind(null, token), {\n hook: hook.bind(null, token)\n });\n};\n"],"names":[],"mappings":"AAAO,eAAe,IAAI,CAAC,KAAK,EAAE;AAClC,IAAI,MAAM,SAAS,GAAG,KAAK,CAAC,KAAK,CAAC,IAAI,CAAC,CAAC,MAAM,KAAK,CAAC;AACpD,UAAU,KAAK;AACf,UAAU,SAAS,CAAC,IAAI,CAAC,KAAK,CAAC;AAC/B,cAAc,cAAc;AAC5B,cAAc,OAAO,CAAC;AACtB,IAAI,OAAO;AACX,QAAQ,IAAI,EAAE,OAAO;AACrB,QAAQ,KAAK,EAAE,KAAK;AACpB,QAAQ,SAAS;AACjB,KAAK,CAAC;AACN;;ACXA;AACA;AACA;AACA;AACA;AACA,AAAO,SAAS,uBAAuB,CAAC,KAAK,EAAE;AAC/C,IAAI,IAAI,KAAK,CAAC,KAAK,CAAC,IAAI,CAAC,CAAC,MAAM,KAAK,CAAC,EAAE;AACxC,QAAQ,OAAO,CAAC,OAAO,EAAE,KAAK,CAAC,CAAC,CAAC;AACjC,KAAK;AACL,IAAI,OAAO,CAAC,MAAM,EAAE,KAAK,CAAC,CAAC,CAAC;AAC5B,CAAC;;ACTM,eAAe,IAAI,CAAC,KAAK,EAAE,OAAO,EAAE,KAAK,EAAE,UAAU,EAAE;AAC9D,IAAI,MAAM,QAAQ,GAAG,OAAO,CAAC,QAAQ,CAAC,KAAK,CAAC,KAAK,EAAE,UAAU,CAAC,CAAC;AAC/D,IAAI,QAAQ,CAAC,OAAO,CAAC,aAAa,GAAG,uBAAuB,CAAC,KAAK,CAAC,CAAC;AACpE,IAAI,OAAO,OAAO,CAAC,QAAQ,CAAC,CAAC;AAC7B,CAAC;;ACHW,MAAC,eAAe,GAAG,SAAS,eAAe,CAAC,KAAK,EAAE;AAC/D,IAAI,IAAI,CAAC,KAAK,EAAE;AAChB,QAAQ,MAAM,IAAI,KAAK,CAAC,0DAA0D,CAAC,CAAC;AACpF,KAAK;AACL,IAAI,IAAI,OAAO,KAAK,KAAK,QAAQ,EAAE;AACnC,QAAQ,MAAM,IAAI,KAAK,CAAC,uEAAuE,CAAC,CAAC;AACjG,KAAK;AACL,IAAI,KAAK,GAAG,KAAK,CAAC,OAAO,CAAC,oBAAoB,EAAE,EAAE,CAAC,CAAC;AACpD,IAAI,OAAO,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,IAAI,CAAC,IAAI,EAAE,KAAK,CAAC,EAAE;AACjD,QAAQ,IAAI,EAAE,IAAI,CAAC,IAAI,CAAC,IAAI,EAAE,KAAK,CAAC;AACpC,KAAK,CAAC,CAAC;AACP,CAAC;;;;"} \ No newline at end of file diff --git a/node_modules/@octokit/auth-token/package.json b/node_modules/@octokit/auth-token/package.json deleted file mode 100644 index 5be9ea7..0000000 --- a/node_modules/@octokit/auth-token/package.json +++ /dev/null @@ -1,48 +0,0 @@ -{ - "name": "@octokit/auth-token", - "description": "GitHub API token authentication for browsers and Node.js", - "version": "2.4.5", - "license": "MIT", - "files": [ - "dist-*/", - "bin/" - ], - "pika": true, - "sideEffects": false, - "keywords": [ - "github", - "octokit", - "authentication", - "api" - ], - "homepage": "https://github.com/octokit/auth-token.js#readme", - "bugs": { - "url": "https://github.com/octokit/auth-token.js/issues" - }, - "repository": "https://github.com/octokit/auth-token.js", - "dependencies": { - "@octokit/types": "^6.0.3" - }, - "devDependencies": { - "@octokit/core": "^3.0.0", - "@octokit/request": "^5.3.0", - "@pika/pack": "^0.5.0", - "@pika/plugin-build-node": "^0.9.0", - "@pika/plugin-build-web": "^0.9.0", - "@pika/plugin-ts-standard-pkg": "^0.9.0", - "@types/fetch-mock": "^7.3.1", - "@types/jest": "^26.0.0", - "fetch-mock": "^9.0.0", - "jest": "^26.0.0", - "semantic-release": "^17.0.0", - "ts-jest": "^26.0.0", - "typescript": "^4.0.0" - }, - "publishConfig": { - "access": "public" - }, - "source": "dist-src/index.js", - "types": "dist-types/index.d.ts", - "main": "dist-node/index.js", - "module": "dist-web/index.js" -} diff --git a/node_modules/@octokit/core/LICENSE b/node_modules/@octokit/core/LICENSE deleted file mode 100644 index ef2c18e..0000000 --- a/node_modules/@octokit/core/LICENSE +++ /dev/null @@ -1,21 +0,0 @@ -The MIT License - -Copyright (c) 2019 Octokit 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/@octokit/core/README.md b/node_modules/@octokit/core/README.md deleted file mode 100644 index 129d6ce..0000000 --- a/node_modules/@octokit/core/README.md +++ /dev/null @@ -1,440 +0,0 @@ -# core.js - -> Extendable client for GitHub's REST & GraphQL APIs - -[![@latest](https://img.shields.io/npm/v/@octokit/core.svg)](https://www.npmjs.com/package/@octokit/core) -[![Build Status](https://github.com/octokit/core.js/workflows/Test/badge.svg)](https://github.com/octokit/core.js/actions?query=workflow%3ATest+branch%3Amaster) - - - -- [Usage](#usage) - - [REST API example](#rest-api-example) - - [GraphQL example](#graphql-example) -- [Options](#options) -- [Defaults](#defaults) -- [Authentication](#authentication) -- [Logging](#logging) -- [Hooks](#hooks) -- [Plugins](#plugins) -- [Build your own Octokit with Plugins and Defaults](#build-your-own-octokit-with-plugins-and-defaults) -- [LICENSE](#license) - - - -If you need a minimalistic library to utilize GitHub's [REST API](https://developer.github.com/v3/) and [GraphQL API](https://developer.github.com/v4/) which you can extend with plugins as needed, then `@octokit/core` is a great starting point. - -If you don't need the Plugin API then using [`@octokit/request`](https://github.com/octokit/request.js/) or [`@octokit/graphql`](https://github.com/octokit/graphql.js/) directly is a good alternative. - -## Usage - - - - - - -
-Browsers - -Load @octokit/core directly from cdn.skypack.dev - -```html - -``` - -
-Node - - -Install with npm install @octokit/core - -```js -const { Octokit } = require("@octokit/core"); -// or: import { Octokit } from "@octokit/core"; -``` - -
- -### REST API example - -```js -// Create a personal access token at https://github.com/settings/tokens/new?scopes=repo -const octokit = new Octokit({ auth: `personal-access-token123` }); - -const response = await octokit.request("GET /orgs/{org}/repos", { - org: "octokit", - type: "private", -}); -``` - -See [`@octokit/request`](https://github.com/octokit/request.js) for full documentation of the `.request` method. - -### GraphQL example - -```js -const octokit = new Octokit({ auth: `secret123` }); - -const response = await octokit.graphql( - `query ($login: String!) { - organization(login: $login) { - repositories(privacy: PRIVATE) { - totalCount - } - } - }`, - { login: "octokit" } -); -``` - -See [`@octokit/graphql`](https://github.com/octokit/graphql.js) for full documentation of the `.graphql` method. - -## Options - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- name - - type - - description -
- options.authStrategy - - Function - - Defaults to @octokit/auth-token. See Authentication below for examples. -
- options.auth - - String or Object - - See Authentication below for examples. -
- options.baseUrl - - String - - -When using with GitHub Enterprise Server, set `options.baseUrl` to the root URL of the API. For example, if your GitHub Enterprise Server's hostname is `github.acme-inc.com`, then set `options.baseUrl` to `https://github.acme-inc.com/api/v3`. Example - -```js -const octokit = new Octokit({ - baseUrl: "https://github.acme-inc.com/api/v3", -}); -``` - -
- options.previews - - Array of Strings - - -Some REST API endpoints require preview headers to be set, or enable -additional features. Preview headers can be set on a per-request basis, e.g. - -```js -octokit.request("POST /repos/{owner}/{repo}/pulls", { - mediaType: { - previews: ["shadow-cat"], - }, - owner, - repo, - title: "My pull request", - base: "master", - head: "my-feature", - draft: true, -}); -``` - -You can also set previews globally, by setting the `options.previews` option on the constructor. Example: - -```js -const octokit = new Octokit({ - previews: ["shadow-cat"], -}); -``` - -
- options.request - - Object - - -Set a default request timeout (`options.request.timeout`) or an [`http(s).Agent`](https://nodejs.org/api/http.html#http_class_http_agent) e.g. for proxy usage (Node only, `options.request.agent`). - -There are more `options.request.*` options, see [`@octokit/request` options](https://github.com/octokit/request.js#request). `options.request` can also be set on a per-request basis. - -
- options.timeZone - - String - - -Sets the `Time-Zone` header which defines a timezone according to the [list of names from the Olson database](https://en.wikipedia.org/wiki/List_of_tz_database_time_zones). - -```js -const octokit = new Octokit({ - timeZone: "America/Los_Angeles", -}); -``` - -The time zone header will determine the timezone used for generating the timestamp when creating commits. See [GitHub's Timezones documentation](https://developer.github.com/v3/#timezones). - -
- options.userAgent - - String - - -A custom user agent string for your app or library. Example - -```js -const octokit = new Octokit({ - userAgent: "my-app/v1.2.3", -}); -``` - -
- -## Defaults - -You can create a new Octokit class with customized default options. - -```js -const MyOctokit = Octokit.defaults({ - auth: "personal-access-token123", - baseUrl: "https://github.acme-inc.com/api/v3", - userAgent: "my-app/v1.2.3", -}); -const octokit1 = new MyOctokit(); -const octokit2 = new MyOctokit(); -``` - -If you pass additional options to your new constructor, the options will be merged shallowly. - -```js -const MyOctokit = Octokit.defaults({ - foo: { - opt1: 1, - }, -}); -const octokit = new MyOctokit({ - foo: { - opt2: 1, - }, -}); -// options will be { foo: { opt2: 1 }} -``` - -If you need a deep or conditional merge, you can pass a function instead. - -```js -const MyOctokit = Octokit.defaults((options) => { - return { - foo: Object.assign({}, options.foo, { opt2: 1 }), - }; -}); -const octokit = new MyOctokit({ - foo: { opt2: 1 }, -}); -// options will be { foo: { opt1: 1, opt2: 1 }} -``` - -Be careful about mutating the `options` object in the `Octokit.defaults` callback, as it can have unforeseen consequences. - -## Authentication - -Authentication is optional for some REST API endpoints accessing public data, but is required for GraphQL queries. Using authentication also increases your [API rate limit](https://developer.github.com/v3/#rate-limiting). - -By default, Octokit authenticates using the [token authentication strategy](https://github.com/octokit/auth-token.js). Pass in a token using `options.auth`. It can be a personal access token, an OAuth token, an installation access token or a JSON Web Token for GitHub App authentication. The `Authorization` header will be set according to the type of token. - -```js -import { Octokit } from "@octokit/core"; - -const octokit = new Octokit({ - auth: "mypersonalaccesstoken123", -}); - -const { data } = await octokit.request("/user"); -``` - -To use a different authentication strategy, set `options.authStrategy`. A list of authentication strategies is available at [octokit/authentication-strategies.js](https://github.com/octokit/authentication-strategies.js/#readme). - -Example - -```js -import { Octokit } from "@octokit/core"; -import { createAppAuth } from "@octokit/auth-app"; - -const appOctokit = new Octokit({ - authStrategy: createAppAuth, - auth: { - appId: 123, - privateKey: process.env.PRIVATE_KEY, - }, -}); - -const { data } = await appOctokit.request("/app"); -``` - -The `.auth()` method returned by the current authentication strategy can be accessed at `octokit.auth()`. Example - -```js -const { token } = await appOctokit.auth({ - type: "installation", - installationId: 123, -}); -``` - -## Logging - -There are four built-in log methods - -1. `octokit.log.debug(message[, additionalInfo])` -1. `octokit.log.info(message[, additionalInfo])` -1. `octokit.log.warn(message[, additionalInfo])` -1. `octokit.log.error(message[, additionalInfo])` - -They can be configured using the [`log` client option](client-options). By default, `octokit.log.debug()` and `octokit.log.info()` are no-ops, while the other two call `console.warn()` and `console.error()` respectively. - -This is useful if you build reusable [plugins](#plugins). - -If you would like to make the log level configurable using an environment variable or external option, we recommend the [console-log-level](https://github.com/watson/console-log-level) package. Example - -```js -const octokit = new Octokit({ - log: require("console-log-level")({ level: "info" }), -}); -``` - -## Hooks - -You can customize Octokit's request lifecycle with hooks. - -```js -octokit.hook.before("request", async (options) => { - validate(options); -}); -octokit.hook.after("request", async (response, options) => { - console.log(`${options.method} ${options.url}: ${response.status}`); -}); -octokit.hook.error("request", async (error, options) => { - if (error.status === 304) { - return findInCache(error.response.headers.etag); - } - - throw error; -}); -octokit.hook.wrap("request", async (request, options) => { - // add logic before, after, catch errors or replace the request altogether - return request(options); -}); -``` - -See [before-after-hook](https://github.com/gr2m/before-after-hook#readme) for more documentation on hooks. - -## Plugins - -Octokit’s functionality can be extended using plugins. The `Octokit.plugin()` method accepts a plugin (or many) and returns a new constructor. - -A plugin is a function which gets two arguments: - -1. the current instance -2. the options passed to the constructor. - -In order to extend `octokit`'s API, the plugin must return an object with the new methods. - -```js -// index.js -const { Octokit } = require("@octokit/core") -const MyOctokit = Octokit.plugin( - require("./lib/my-plugin"), - require("octokit-plugin-example") -); - -const octokit = new MyOctokit({ greeting: "Moin moin" }); -octokit.helloWorld(); // logs "Moin moin, world!" -octokit.request("GET /"); // logs "GET / - 200 in 123ms" - -// lib/my-plugin.js -module.exports = (octokit, options = { greeting: "Hello" }) => { - // hook into the request lifecycle - octokit.hook.wrap("request", async (request, options) => { - const time = Date.now(); - const response = await request(options); - console.log( - `${options.method} ${options.url} – ${response.status} in ${Date.now() - - time}ms` - ); - return response; - }); - - // add a custom method - return { - helloWorld: () => console.log(`${options.greeting}, world!`); - } -}; -``` - -## Build your own Octokit with Plugins and Defaults - -You can build your own Octokit class with preset default options and plugins. In fact, this is mostly how the `@octokit/` modules work, such as [`@octokit/action`](https://github.com/octokit/action.js): - -```js -const { Octokit } = require("@octokit/core"); -const MyActionOctokit = Octokit.plugin( - require("@octokit/plugin-paginate-rest"), - require("@octokit/plugin-throttling"), - require("@octokit/plugin-retry") -).defaults({ - authStrategy: require("@octokit/auth-action"), - userAgent: `my-octokit-action/v1.2.3`, -}); - -const octokit = new MyActionOctokit(); -const installations = await octokit.paginate("GET /app/installations"); -``` - -## LICENSE - -[MIT](LICENSE) diff --git a/node_modules/@octokit/core/dist-node/index.js b/node_modules/@octokit/core/dist-node/index.js deleted file mode 100644 index 5ad37e1..0000000 --- a/node_modules/@octokit/core/dist-node/index.js +++ /dev/null @@ -1,176 +0,0 @@ -'use strict'; - -Object.defineProperty(exports, '__esModule', { value: true }); - -var universalUserAgent = require('universal-user-agent'); -var beforeAfterHook = require('before-after-hook'); -var request = require('@octokit/request'); -var graphql = require('@octokit/graphql'); -var authToken = require('@octokit/auth-token'); - -function _objectWithoutPropertiesLoose(source, excluded) { - if (source == null) return {}; - var target = {}; - var sourceKeys = Object.keys(source); - var key, i; - - for (i = 0; i < sourceKeys.length; i++) { - key = sourceKeys[i]; - if (excluded.indexOf(key) >= 0) continue; - target[key] = source[key]; - } - - return target; -} - -function _objectWithoutProperties(source, excluded) { - if (source == null) return {}; - - var target = _objectWithoutPropertiesLoose(source, excluded); - - var key, i; - - if (Object.getOwnPropertySymbols) { - var sourceSymbolKeys = Object.getOwnPropertySymbols(source); - - for (i = 0; i < sourceSymbolKeys.length; i++) { - key = sourceSymbolKeys[i]; - if (excluded.indexOf(key) >= 0) continue; - if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue; - target[key] = source[key]; - } - } - - return target; -} - -const VERSION = "3.5.1"; - -const _excluded = ["authStrategy"]; -class Octokit { - constructor(options = {}) { - const hook = new beforeAfterHook.Collection(); - const requestDefaults = { - baseUrl: request.request.endpoint.DEFAULTS.baseUrl, - headers: {}, - request: Object.assign({}, options.request, { - // @ts-ignore internal usage only, no need to type - hook: hook.bind(null, "request") - }), - mediaType: { - previews: [], - format: "" - } - }; // prepend default user agent with `options.userAgent` if set - - requestDefaults.headers["user-agent"] = [options.userAgent, `octokit-core.js/${VERSION} ${universalUserAgent.getUserAgent()}`].filter(Boolean).join(" "); - - if (options.baseUrl) { - requestDefaults.baseUrl = options.baseUrl; - } - - if (options.previews) { - requestDefaults.mediaType.previews = options.previews; - } - - if (options.timeZone) { - requestDefaults.headers["time-zone"] = options.timeZone; - } - - this.request = request.request.defaults(requestDefaults); - this.graphql = graphql.withCustomRequest(this.request).defaults(requestDefaults); - this.log = Object.assign({ - debug: () => {}, - info: () => {}, - warn: console.warn.bind(console), - error: console.error.bind(console) - }, options.log); - this.hook = hook; // (1) If neither `options.authStrategy` nor `options.auth` are set, the `octokit` instance - // is unauthenticated. The `this.auth()` method is a no-op and no request hook is registered. - // (2) If only `options.auth` is set, use the default token authentication strategy. - // (3) If `options.authStrategy` is set then use it and pass in `options.auth`. Always pass own request as many strategies accept a custom request instance. - // TODO: type `options.auth` based on `options.authStrategy`. - - if (!options.authStrategy) { - if (!options.auth) { - // (1) - this.auth = async () => ({ - type: "unauthenticated" - }); - } else { - // (2) - const auth = authToken.createTokenAuth(options.auth); // @ts-ignore ¯\_(ツ)_/¯ - - hook.wrap("request", auth.hook); - this.auth = auth; - } - } else { - const { - authStrategy - } = options, - otherOptions = _objectWithoutProperties(options, _excluded); - - const auth = authStrategy(Object.assign({ - request: this.request, - log: this.log, - // we pass the current octokit instance as well as its constructor options - // to allow for authentication strategies that return a new octokit instance - // that shares the same internal state as the current one. The original - // requirement for this was the "event-octokit" authentication strategy - // of https://github.com/probot/octokit-auth-probot. - octokit: this, - octokitOptions: otherOptions - }, options.auth)); // @ts-ignore ¯\_(ツ)_/¯ - - hook.wrap("request", auth.hook); - this.auth = auth; - } // apply plugins - // https://stackoverflow.com/a/16345172 - - - const classConstructor = this.constructor; - classConstructor.plugins.forEach(plugin => { - Object.assign(this, plugin(this, options)); - }); - } - - static defaults(defaults) { - const OctokitWithDefaults = class extends this { - constructor(...args) { - const options = args[0] || {}; - - if (typeof defaults === "function") { - super(defaults(options)); - return; - } - - super(Object.assign({}, defaults, options, options.userAgent && defaults.userAgent ? { - userAgent: `${options.userAgent} ${defaults.userAgent}` - } : null)); - } - - }; - return OctokitWithDefaults; - } - /** - * Attach a plugin (or many) to your Octokit instance. - * - * @example - * const API = Octokit.plugin(plugin1, plugin2, plugin3, ...) - */ - - - static plugin(...newPlugins) { - var _a; - - const currentPlugins = this.plugins; - const NewOctokit = (_a = class extends this {}, _a.plugins = currentPlugins.concat(newPlugins.filter(plugin => !currentPlugins.includes(plugin))), _a); - return NewOctokit; - } - -} -Octokit.VERSION = VERSION; -Octokit.plugins = []; - -exports.Octokit = Octokit; -//# sourceMappingURL=index.js.map diff --git a/node_modules/@octokit/core/dist-node/index.js.map b/node_modules/@octokit/core/dist-node/index.js.map deleted file mode 100644 index 19485f9..0000000 --- a/node_modules/@octokit/core/dist-node/index.js.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"index.js","sources":["../dist-src/version.js","../dist-src/index.js"],"sourcesContent":["export const VERSION = \"3.5.1\";\n","import { getUserAgent } from \"universal-user-agent\";\nimport { Collection } from \"before-after-hook\";\nimport { request } from \"@octokit/request\";\nimport { withCustomRequest } from \"@octokit/graphql\";\nimport { createTokenAuth } from \"@octokit/auth-token\";\nimport { VERSION } from \"./version\";\nexport class Octokit {\n constructor(options = {}) {\n const hook = new Collection();\n const requestDefaults = {\n baseUrl: request.endpoint.DEFAULTS.baseUrl,\n headers: {},\n request: Object.assign({}, options.request, {\n // @ts-ignore internal usage only, no need to type\n hook: hook.bind(null, \"request\"),\n }),\n mediaType: {\n previews: [],\n format: \"\",\n },\n };\n // prepend default user agent with `options.userAgent` if set\n requestDefaults.headers[\"user-agent\"] = [\n options.userAgent,\n `octokit-core.js/${VERSION} ${getUserAgent()}`,\n ]\n .filter(Boolean)\n .join(\" \");\n if (options.baseUrl) {\n requestDefaults.baseUrl = options.baseUrl;\n }\n if (options.previews) {\n requestDefaults.mediaType.previews = options.previews;\n }\n if (options.timeZone) {\n requestDefaults.headers[\"time-zone\"] = options.timeZone;\n }\n this.request = request.defaults(requestDefaults);\n this.graphql = withCustomRequest(this.request).defaults(requestDefaults);\n this.log = Object.assign({\n debug: () => { },\n info: () => { },\n warn: console.warn.bind(console),\n error: console.error.bind(console),\n }, options.log);\n this.hook = hook;\n // (1) If neither `options.authStrategy` nor `options.auth` are set, the `octokit` instance\n // is unauthenticated. The `this.auth()` method is a no-op and no request hook is registered.\n // (2) If only `options.auth` is set, use the default token authentication strategy.\n // (3) If `options.authStrategy` is set then use it and pass in `options.auth`. Always pass own request as many strategies accept a custom request instance.\n // TODO: type `options.auth` based on `options.authStrategy`.\n if (!options.authStrategy) {\n if (!options.auth) {\n // (1)\n this.auth = async () => ({\n type: \"unauthenticated\",\n });\n }\n else {\n // (2)\n const auth = createTokenAuth(options.auth);\n // @ts-ignore ¯\\_(ツ)_/¯\n hook.wrap(\"request\", auth.hook);\n this.auth = auth;\n }\n }\n else {\n const { authStrategy, ...otherOptions } = options;\n const auth = authStrategy(Object.assign({\n request: this.request,\n log: this.log,\n // we pass the current octokit instance as well as its constructor options\n // to allow for authentication strategies that return a new octokit instance\n // that shares the same internal state as the current one. The original\n // requirement for this was the \"event-octokit\" authentication strategy\n // of https://github.com/probot/octokit-auth-probot.\n octokit: this,\n octokitOptions: otherOptions,\n }, options.auth));\n // @ts-ignore ¯\\_(ツ)_/¯\n hook.wrap(\"request\", auth.hook);\n this.auth = auth;\n }\n // apply plugins\n // https://stackoverflow.com/a/16345172\n const classConstructor = this.constructor;\n classConstructor.plugins.forEach((plugin) => {\n Object.assign(this, plugin(this, options));\n });\n }\n static defaults(defaults) {\n const OctokitWithDefaults = class extends this {\n constructor(...args) {\n const options = args[0] || {};\n if (typeof defaults === \"function\") {\n super(defaults(options));\n return;\n }\n super(Object.assign({}, defaults, options, options.userAgent && defaults.userAgent\n ? {\n userAgent: `${options.userAgent} ${defaults.userAgent}`,\n }\n : null));\n }\n };\n return OctokitWithDefaults;\n }\n /**\n * Attach a plugin (or many) to your Octokit instance.\n *\n * @example\n * const API = Octokit.plugin(plugin1, plugin2, plugin3, ...)\n */\n static plugin(...newPlugins) {\n var _a;\n const currentPlugins = this.plugins;\n const NewOctokit = (_a = class extends this {\n },\n _a.plugins = currentPlugins.concat(newPlugins.filter((plugin) => !currentPlugins.includes(plugin))),\n _a);\n return NewOctokit;\n }\n}\nOctokit.VERSION = VERSION;\nOctokit.plugins = [];\n"],"names":["VERSION","Octokit","constructor","options","hook","Collection","requestDefaults","baseUrl","request","endpoint","DEFAULTS","headers","Object","assign","bind","mediaType","previews","format","userAgent","getUserAgent","filter","Boolean","join","timeZone","defaults","graphql","withCustomRequest","log","debug","info","warn","console","error","authStrategy","auth","type","createTokenAuth","wrap","otherOptions","octokit","octokitOptions","classConstructor","plugins","forEach","plugin","OctokitWithDefaults","args","newPlugins","_a","currentPlugins","NewOctokit","concat","includes"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAO,MAAMA,OAAO,GAAG,mBAAhB;;;ACAP,AAMO,MAAMC,OAAN,CAAc;AACjBC,EAAAA,WAAW,CAACC,OAAO,GAAG,EAAX,EAAe;AACtB,UAAMC,IAAI,GAAG,IAAIC,0BAAJ,EAAb;AACA,UAAMC,eAAe,GAAG;AACpBC,MAAAA,OAAO,EAAEC,eAAO,CAACC,QAAR,CAAiBC,QAAjB,CAA0BH,OADf;AAEpBI,MAAAA,OAAO,EAAE,EAFW;AAGpBH,MAAAA,OAAO,EAAEI,MAAM,CAACC,MAAP,CAAc,EAAd,EAAkBV,OAAO,CAACK,OAA1B,EAAmC;AACxC;AACAJ,QAAAA,IAAI,EAAEA,IAAI,CAACU,IAAL,CAAU,IAAV,EAAgB,SAAhB;AAFkC,OAAnC,CAHW;AAOpBC,MAAAA,SAAS,EAAE;AACPC,QAAAA,QAAQ,EAAE,EADH;AAEPC,QAAAA,MAAM,EAAE;AAFD;AAPS,KAAxB,CAFsB;;AAetBX,IAAAA,eAAe,CAACK,OAAhB,CAAwB,YAAxB,IAAwC,CACpCR,OAAO,CAACe,SAD4B,EAEnC,mBAAkBlB,OAAQ,IAAGmB,+BAAY,EAAG,EAFT,EAInCC,MAJmC,CAI5BC,OAJ4B,EAKnCC,IALmC,CAK9B,GAL8B,CAAxC;;AAMA,QAAInB,OAAO,CAACI,OAAZ,EAAqB;AACjBD,MAAAA,eAAe,CAACC,OAAhB,GAA0BJ,OAAO,CAACI,OAAlC;AACH;;AACD,QAAIJ,OAAO,CAACa,QAAZ,EAAsB;AAClBV,MAAAA,eAAe,CAACS,SAAhB,CAA0BC,QAA1B,GAAqCb,OAAO,CAACa,QAA7C;AACH;;AACD,QAAIb,OAAO,CAACoB,QAAZ,EAAsB;AAClBjB,MAAAA,eAAe,CAACK,OAAhB,CAAwB,WAAxB,IAAuCR,OAAO,CAACoB,QAA/C;AACH;;AACD,SAAKf,OAAL,GAAeA,eAAO,CAACgB,QAAR,CAAiBlB,eAAjB,CAAf;AACA,SAAKmB,OAAL,GAAeC,yBAAiB,CAAC,KAAKlB,OAAN,CAAjB,CAAgCgB,QAAhC,CAAyClB,eAAzC,CAAf;AACA,SAAKqB,GAAL,GAAWf,MAAM,CAACC,MAAP,CAAc;AACrBe,MAAAA,KAAK,EAAE,MAAM,EADQ;AAErBC,MAAAA,IAAI,EAAE,MAAM,EAFS;AAGrBC,MAAAA,IAAI,EAAEC,OAAO,CAACD,IAAR,CAAahB,IAAb,CAAkBiB,OAAlB,CAHe;AAIrBC,MAAAA,KAAK,EAAED,OAAO,CAACC,KAAR,CAAclB,IAAd,CAAmBiB,OAAnB;AAJc,KAAd,EAKR5B,OAAO,CAACwB,GALA,CAAX;AAMA,SAAKvB,IAAL,GAAYA,IAAZ,CAtCsB;AAwCtB;AACA;AACA;AACA;;AACA,QAAI,CAACD,OAAO,CAAC8B,YAAb,EAA2B;AACvB,UAAI,CAAC9B,OAAO,CAAC+B,IAAb,EAAmB;AACf;AACA,aAAKA,IAAL,GAAY,aAAa;AACrBC,UAAAA,IAAI,EAAE;AADe,SAAb,CAAZ;AAGH,OALD,MAMK;AACD;AACA,cAAMD,IAAI,GAAGE,yBAAe,CAACjC,OAAO,CAAC+B,IAAT,CAA5B,CAFC;;AAID9B,QAAAA,IAAI,CAACiC,IAAL,CAAU,SAAV,EAAqBH,IAAI,CAAC9B,IAA1B;AACA,aAAK8B,IAAL,GAAYA,IAAZ;AACH;AACJ,KAdD,MAeK;AACD,YAAM;AAAED,QAAAA;AAAF,UAAoC9B,OAA1C;AAAA,YAAyBmC,YAAzB,4BAA0CnC,OAA1C;;AACA,YAAM+B,IAAI,GAAGD,YAAY,CAACrB,MAAM,CAACC,MAAP,CAAc;AACpCL,QAAAA,OAAO,EAAE,KAAKA,OADsB;AAEpCmB,QAAAA,GAAG,EAAE,KAAKA,GAF0B;AAGpC;AACA;AACA;AACA;AACA;AACAY,QAAAA,OAAO,EAAE,IAR2B;AASpCC,QAAAA,cAAc,EAAEF;AAToB,OAAd,EAUvBnC,OAAO,CAAC+B,IAVe,CAAD,CAAzB,CAFC;;AAcD9B,MAAAA,IAAI,CAACiC,IAAL,CAAU,SAAV,EAAqBH,IAAI,CAAC9B,IAA1B;AACA,WAAK8B,IAAL,GAAYA,IAAZ;AACH,KA3EqB;AA6EtB;;;AACA,UAAMO,gBAAgB,GAAG,KAAKvC,WAA9B;AACAuC,IAAAA,gBAAgB,CAACC,OAAjB,CAAyBC,OAAzB,CAAkCC,MAAD,IAAY;AACzChC,MAAAA,MAAM,CAACC,MAAP,CAAc,IAAd,EAAoB+B,MAAM,CAAC,IAAD,EAAOzC,OAAP,CAA1B;AACH,KAFD;AAGH;;AACc,SAARqB,QAAQ,CAACA,QAAD,EAAW;AACtB,UAAMqB,mBAAmB,GAAG,cAAc,IAAd,CAAmB;AAC3C3C,MAAAA,WAAW,CAAC,GAAG4C,IAAJ,EAAU;AACjB,cAAM3C,OAAO,GAAG2C,IAAI,CAAC,CAAD,CAAJ,IAAW,EAA3B;;AACA,YAAI,OAAOtB,QAAP,KAAoB,UAAxB,EAAoC;AAChC,gBAAMA,QAAQ,CAACrB,OAAD,CAAd;AACA;AACH;;AACD,cAAMS,MAAM,CAACC,MAAP,CAAc,EAAd,EAAkBW,QAAlB,EAA4BrB,OAA5B,EAAqCA,OAAO,CAACe,SAAR,IAAqBM,QAAQ,CAACN,SAA9B,GACrC;AACEA,UAAAA,SAAS,EAAG,GAAEf,OAAO,CAACe,SAAU,IAAGM,QAAQ,CAACN,SAAU;AADxD,SADqC,GAIrC,IAJA,CAAN;AAKH;;AAZ0C,KAA/C;AAcA,WAAO2B,mBAAP;AACH;AACD;AACJ;AACA;AACA;AACA;AACA;;;AACiB,SAAND,MAAM,CAAC,GAAGG,UAAJ,EAAgB;AACzB,QAAIC,EAAJ;;AACA,UAAMC,cAAc,GAAG,KAAKP,OAA5B;AACA,UAAMQ,UAAU,IAAIF,EAAE,GAAG,cAAc,IAAd,CAAmB,EAAxB,EAEhBA,EAAE,CAACN,OAAH,GAAaO,cAAc,CAACE,MAAf,CAAsBJ,UAAU,CAAC3B,MAAX,CAAmBwB,MAAD,IAAY,CAACK,cAAc,CAACG,QAAf,CAAwBR,MAAxB,CAA/B,CAAtB,CAFG,EAGhBI,EAHY,CAAhB;AAIA,WAAOE,UAAP;AACH;;AAnHgB;AAqHrBjD,OAAO,CAACD,OAAR,GAAkBA,OAAlB;AACAC,OAAO,CAACyC,OAAR,GAAkB,EAAlB;;;;"} \ No newline at end of file diff --git a/node_modules/@octokit/core/dist-src/index.js b/node_modules/@octokit/core/dist-src/index.js deleted file mode 100644 index bdbc335..0000000 --- a/node_modules/@octokit/core/dist-src/index.js +++ /dev/null @@ -1,125 +0,0 @@ -import { getUserAgent } from "universal-user-agent"; -import { Collection } from "before-after-hook"; -import { request } from "@octokit/request"; -import { withCustomRequest } from "@octokit/graphql"; -import { createTokenAuth } from "@octokit/auth-token"; -import { VERSION } from "./version"; -export class Octokit { - constructor(options = {}) { - const hook = new Collection(); - const requestDefaults = { - baseUrl: request.endpoint.DEFAULTS.baseUrl, - headers: {}, - request: Object.assign({}, options.request, { - // @ts-ignore internal usage only, no need to type - hook: hook.bind(null, "request"), - }), - mediaType: { - previews: [], - format: "", - }, - }; - // prepend default user agent with `options.userAgent` if set - requestDefaults.headers["user-agent"] = [ - options.userAgent, - `octokit-core.js/${VERSION} ${getUserAgent()}`, - ] - .filter(Boolean) - .join(" "); - if (options.baseUrl) { - requestDefaults.baseUrl = options.baseUrl; - } - if (options.previews) { - requestDefaults.mediaType.previews = options.previews; - } - if (options.timeZone) { - requestDefaults.headers["time-zone"] = options.timeZone; - } - this.request = request.defaults(requestDefaults); - this.graphql = withCustomRequest(this.request).defaults(requestDefaults); - this.log = Object.assign({ - debug: () => { }, - info: () => { }, - warn: console.warn.bind(console), - error: console.error.bind(console), - }, options.log); - this.hook = hook; - // (1) If neither `options.authStrategy` nor `options.auth` are set, the `octokit` instance - // is unauthenticated. The `this.auth()` method is a no-op and no request hook is registered. - // (2) If only `options.auth` is set, use the default token authentication strategy. - // (3) If `options.authStrategy` is set then use it and pass in `options.auth`. Always pass own request as many strategies accept a custom request instance. - // TODO: type `options.auth` based on `options.authStrategy`. - if (!options.authStrategy) { - if (!options.auth) { - // (1) - this.auth = async () => ({ - type: "unauthenticated", - }); - } - else { - // (2) - const auth = createTokenAuth(options.auth); - // @ts-ignore ¯\_(ツ)_/¯ - hook.wrap("request", auth.hook); - this.auth = auth; - } - } - else { - const { authStrategy, ...otherOptions } = options; - const auth = authStrategy(Object.assign({ - request: this.request, - log: this.log, - // we pass the current octokit instance as well as its constructor options - // to allow for authentication strategies that return a new octokit instance - // that shares the same internal state as the current one. The original - // requirement for this was the "event-octokit" authentication strategy - // of https://github.com/probot/octokit-auth-probot. - octokit: this, - octokitOptions: otherOptions, - }, options.auth)); - // @ts-ignore ¯\_(ツ)_/¯ - hook.wrap("request", auth.hook); - this.auth = auth; - } - // apply plugins - // https://stackoverflow.com/a/16345172 - const classConstructor = this.constructor; - classConstructor.plugins.forEach((plugin) => { - Object.assign(this, plugin(this, options)); - }); - } - static defaults(defaults) { - const OctokitWithDefaults = class extends this { - constructor(...args) { - const options = args[0] || {}; - if (typeof defaults === "function") { - super(defaults(options)); - return; - } - super(Object.assign({}, defaults, options, options.userAgent && defaults.userAgent - ? { - userAgent: `${options.userAgent} ${defaults.userAgent}`, - } - : null)); - } - }; - return OctokitWithDefaults; - } - /** - * Attach a plugin (or many) to your Octokit instance. - * - * @example - * const API = Octokit.plugin(plugin1, plugin2, plugin3, ...) - */ - static plugin(...newPlugins) { - var _a; - const currentPlugins = this.plugins; - const NewOctokit = (_a = class extends this { - }, - _a.plugins = currentPlugins.concat(newPlugins.filter((plugin) => !currentPlugins.includes(plugin))), - _a); - return NewOctokit; - } -} -Octokit.VERSION = VERSION; -Octokit.plugins = []; diff --git a/node_modules/@octokit/core/dist-src/types.js b/node_modules/@octokit/core/dist-src/types.js deleted file mode 100644 index cb0ff5c..0000000 --- a/node_modules/@octokit/core/dist-src/types.js +++ /dev/null @@ -1 +0,0 @@ -export {}; diff --git a/node_modules/@octokit/core/dist-src/version.js b/node_modules/@octokit/core/dist-src/version.js deleted file mode 100644 index f53b635..0000000 --- a/node_modules/@octokit/core/dist-src/version.js +++ /dev/null @@ -1 +0,0 @@ -export const VERSION = "3.5.1"; diff --git a/node_modules/@octokit/core/dist-types/index.d.ts b/node_modules/@octokit/core/dist-types/index.d.ts deleted file mode 100644 index b757c5b..0000000 --- a/node_modules/@octokit/core/dist-types/index.d.ts +++ /dev/null @@ -1,30 +0,0 @@ -import { HookCollection } from "before-after-hook"; -import { request } from "@octokit/request"; -import { graphql } from "@octokit/graphql"; -import { Constructor, Hooks, OctokitOptions, OctokitPlugin, ReturnTypeOf, UnionToIntersection } from "./types"; -export declare class Octokit { - static VERSION: string; - static defaults>(this: S, defaults: OctokitOptions | Function): S; - static plugins: OctokitPlugin[]; - /** - * Attach a plugin (or many) to your Octokit instance. - * - * @example - * const API = Octokit.plugin(plugin1, plugin2, plugin3, ...) - */ - static plugin & { - plugins: any[]; - }, T extends OctokitPlugin[]>(this: S, ...newPlugins: T): S & Constructor>>; - constructor(options?: OctokitOptions); - request: typeof request; - graphql: typeof graphql; - log: { - debug: (message: string, additionalInfo?: object) => any; - info: (message: string, additionalInfo?: object) => any; - warn: (message: string, additionalInfo?: object) => any; - error: (message: string, additionalInfo?: object) => any; - [key: string]: any; - }; - hook: HookCollection; - auth: (...args: unknown[]) => Promise; -} diff --git a/node_modules/@octokit/core/dist-types/types.d.ts b/node_modules/@octokit/core/dist-types/types.d.ts deleted file mode 100644 index 06c0f7a..0000000 --- a/node_modules/@octokit/core/dist-types/types.d.ts +++ /dev/null @@ -1,44 +0,0 @@ -import * as OctokitTypes from "@octokit/types"; -import { RequestError } from "@octokit/request-error"; -import { Octokit } from "."; -export declare type RequestParameters = OctokitTypes.RequestParameters; -export declare type OctokitOptions = { - authStrategy?: any; - auth?: any; - userAgent?: string; - previews?: string[]; - baseUrl?: string; - log?: { - debug: (message: string) => unknown; - info: (message: string) => unknown; - warn: (message: string) => unknown; - error: (message: string) => unknown; - }; - request?: OctokitTypes.RequestRequestOptions; - timeZone?: string; - [option: string]: any; -}; -export declare type Constructor = new (...args: any[]) => T; -export declare type ReturnTypeOf = T extends AnyFunction ? ReturnType : T extends AnyFunction[] ? UnionToIntersection, void>> : never; -/** - * @author https://stackoverflow.com/users/2887218/jcalz - * @see https://stackoverflow.com/a/50375286/10325032 - */ -export declare type UnionToIntersection = (Union extends any ? (argument: Union) => void : never) extends (argument: infer Intersection) => void ? Intersection : never; -declare type AnyFunction = (...args: any) => any; -export declare type OctokitPlugin = (octokit: Octokit, options: OctokitOptions) => { - [key: string]: any; -} | void; -export declare type Hooks = { - request: { - Options: Required; - Result: OctokitTypes.OctokitResponse; - Error: RequestError | Error; - }; - [key: string]: { - Options: unknown; - Result: unknown; - Error: unknown; - }; -}; -export {}; diff --git a/node_modules/@octokit/core/dist-types/version.d.ts b/node_modules/@octokit/core/dist-types/version.d.ts deleted file mode 100644 index 8bb7c7f..0000000 --- a/node_modules/@octokit/core/dist-types/version.d.ts +++ /dev/null @@ -1 +0,0 @@ -export declare const VERSION = "3.5.1"; diff --git a/node_modules/@octokit/core/dist-web/index.js b/node_modules/@octokit/core/dist-web/index.js deleted file mode 100644 index 2828d97..0000000 --- a/node_modules/@octokit/core/dist-web/index.js +++ /dev/null @@ -1,130 +0,0 @@ -import { getUserAgent } from 'universal-user-agent'; -import { Collection } from 'before-after-hook'; -import { request } from '@octokit/request'; -import { withCustomRequest } from '@octokit/graphql'; -import { createTokenAuth } from '@octokit/auth-token'; - -const VERSION = "3.5.1"; - -class Octokit { - constructor(options = {}) { - const hook = new Collection(); - const requestDefaults = { - baseUrl: request.endpoint.DEFAULTS.baseUrl, - headers: {}, - request: Object.assign({}, options.request, { - // @ts-ignore internal usage only, no need to type - hook: hook.bind(null, "request"), - }), - mediaType: { - previews: [], - format: "", - }, - }; - // prepend default user agent with `options.userAgent` if set - requestDefaults.headers["user-agent"] = [ - options.userAgent, - `octokit-core.js/${VERSION} ${getUserAgent()}`, - ] - .filter(Boolean) - .join(" "); - if (options.baseUrl) { - requestDefaults.baseUrl = options.baseUrl; - } - if (options.previews) { - requestDefaults.mediaType.previews = options.previews; - } - if (options.timeZone) { - requestDefaults.headers["time-zone"] = options.timeZone; - } - this.request = request.defaults(requestDefaults); - this.graphql = withCustomRequest(this.request).defaults(requestDefaults); - this.log = Object.assign({ - debug: () => { }, - info: () => { }, - warn: console.warn.bind(console), - error: console.error.bind(console), - }, options.log); - this.hook = hook; - // (1) If neither `options.authStrategy` nor `options.auth` are set, the `octokit` instance - // is unauthenticated. The `this.auth()` method is a no-op and no request hook is registered. - // (2) If only `options.auth` is set, use the default token authentication strategy. - // (3) If `options.authStrategy` is set then use it and pass in `options.auth`. Always pass own request as many strategies accept a custom request instance. - // TODO: type `options.auth` based on `options.authStrategy`. - if (!options.authStrategy) { - if (!options.auth) { - // (1) - this.auth = async () => ({ - type: "unauthenticated", - }); - } - else { - // (2) - const auth = createTokenAuth(options.auth); - // @ts-ignore ¯\_(ツ)_/¯ - hook.wrap("request", auth.hook); - this.auth = auth; - } - } - else { - const { authStrategy, ...otherOptions } = options; - const auth = authStrategy(Object.assign({ - request: this.request, - log: this.log, - // we pass the current octokit instance as well as its constructor options - // to allow for authentication strategies that return a new octokit instance - // that shares the same internal state as the current one. The original - // requirement for this was the "event-octokit" authentication strategy - // of https://github.com/probot/octokit-auth-probot. - octokit: this, - octokitOptions: otherOptions, - }, options.auth)); - // @ts-ignore ¯\_(ツ)_/¯ - hook.wrap("request", auth.hook); - this.auth = auth; - } - // apply plugins - // https://stackoverflow.com/a/16345172 - const classConstructor = this.constructor; - classConstructor.plugins.forEach((plugin) => { - Object.assign(this, plugin(this, options)); - }); - } - static defaults(defaults) { - const OctokitWithDefaults = class extends this { - constructor(...args) { - const options = args[0] || {}; - if (typeof defaults === "function") { - super(defaults(options)); - return; - } - super(Object.assign({}, defaults, options, options.userAgent && defaults.userAgent - ? { - userAgent: `${options.userAgent} ${defaults.userAgent}`, - } - : null)); - } - }; - return OctokitWithDefaults; - } - /** - * Attach a plugin (or many) to your Octokit instance. - * - * @example - * const API = Octokit.plugin(plugin1, plugin2, plugin3, ...) - */ - static plugin(...newPlugins) { - var _a; - const currentPlugins = this.plugins; - const NewOctokit = (_a = class extends this { - }, - _a.plugins = currentPlugins.concat(newPlugins.filter((plugin) => !currentPlugins.includes(plugin))), - _a); - return NewOctokit; - } -} -Octokit.VERSION = VERSION; -Octokit.plugins = []; - -export { Octokit }; -//# sourceMappingURL=index.js.map diff --git a/node_modules/@octokit/core/dist-web/index.js.map b/node_modules/@octokit/core/dist-web/index.js.map deleted file mode 100644 index 084574c..0000000 --- a/node_modules/@octokit/core/dist-web/index.js.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"index.js","sources":["../dist-src/version.js","../dist-src/index.js"],"sourcesContent":["export const VERSION = \"3.5.1\";\n","import { getUserAgent } from \"universal-user-agent\";\nimport { Collection } from \"before-after-hook\";\nimport { request } from \"@octokit/request\";\nimport { withCustomRequest } from \"@octokit/graphql\";\nimport { createTokenAuth } from \"@octokit/auth-token\";\nimport { VERSION } from \"./version\";\nexport class Octokit {\n constructor(options = {}) {\n const hook = new Collection();\n const requestDefaults = {\n baseUrl: request.endpoint.DEFAULTS.baseUrl,\n headers: {},\n request: Object.assign({}, options.request, {\n // @ts-ignore internal usage only, no need to type\n hook: hook.bind(null, \"request\"),\n }),\n mediaType: {\n previews: [],\n format: \"\",\n },\n };\n // prepend default user agent with `options.userAgent` if set\n requestDefaults.headers[\"user-agent\"] = [\n options.userAgent,\n `octokit-core.js/${VERSION} ${getUserAgent()}`,\n ]\n .filter(Boolean)\n .join(\" \");\n if (options.baseUrl) {\n requestDefaults.baseUrl = options.baseUrl;\n }\n if (options.previews) {\n requestDefaults.mediaType.previews = options.previews;\n }\n if (options.timeZone) {\n requestDefaults.headers[\"time-zone\"] = options.timeZone;\n }\n this.request = request.defaults(requestDefaults);\n this.graphql = withCustomRequest(this.request).defaults(requestDefaults);\n this.log = Object.assign({\n debug: () => { },\n info: () => { },\n warn: console.warn.bind(console),\n error: console.error.bind(console),\n }, options.log);\n this.hook = hook;\n // (1) If neither `options.authStrategy` nor `options.auth` are set, the `octokit` instance\n // is unauthenticated. The `this.auth()` method is a no-op and no request hook is registered.\n // (2) If only `options.auth` is set, use the default token authentication strategy.\n // (3) If `options.authStrategy` is set then use it and pass in `options.auth`. Always pass own request as many strategies accept a custom request instance.\n // TODO: type `options.auth` based on `options.authStrategy`.\n if (!options.authStrategy) {\n if (!options.auth) {\n // (1)\n this.auth = async () => ({\n type: \"unauthenticated\",\n });\n }\n else {\n // (2)\n const auth = createTokenAuth(options.auth);\n // @ts-ignore ¯\\_(ツ)_/¯\n hook.wrap(\"request\", auth.hook);\n this.auth = auth;\n }\n }\n else {\n const { authStrategy, ...otherOptions } = options;\n const auth = authStrategy(Object.assign({\n request: this.request,\n log: this.log,\n // we pass the current octokit instance as well as its constructor options\n // to allow for authentication strategies that return a new octokit instance\n // that shares the same internal state as the current one. The original\n // requirement for this was the \"event-octokit\" authentication strategy\n // of https://github.com/probot/octokit-auth-probot.\n octokit: this,\n octokitOptions: otherOptions,\n }, options.auth));\n // @ts-ignore ¯\\_(ツ)_/¯\n hook.wrap(\"request\", auth.hook);\n this.auth = auth;\n }\n // apply plugins\n // https://stackoverflow.com/a/16345172\n const classConstructor = this.constructor;\n classConstructor.plugins.forEach((plugin) => {\n Object.assign(this, plugin(this, options));\n });\n }\n static defaults(defaults) {\n const OctokitWithDefaults = class extends this {\n constructor(...args) {\n const options = args[0] || {};\n if (typeof defaults === \"function\") {\n super(defaults(options));\n return;\n }\n super(Object.assign({}, defaults, options, options.userAgent && defaults.userAgent\n ? {\n userAgent: `${options.userAgent} ${defaults.userAgent}`,\n }\n : null));\n }\n };\n return OctokitWithDefaults;\n }\n /**\n * Attach a plugin (or many) to your Octokit instance.\n *\n * @example\n * const API = Octokit.plugin(plugin1, plugin2, plugin3, ...)\n */\n static plugin(...newPlugins) {\n var _a;\n const currentPlugins = this.plugins;\n const NewOctokit = (_a = class extends this {\n },\n _a.plugins = currentPlugins.concat(newPlugins.filter((plugin) => !currentPlugins.includes(plugin))),\n _a);\n return NewOctokit;\n }\n}\nOctokit.VERSION = VERSION;\nOctokit.plugins = [];\n"],"names":[],"mappings":";;;;;;AAAO,MAAM,OAAO,GAAG,mBAAmB;;ACMnC,MAAM,OAAO,CAAC;AACrB,IAAI,WAAW,CAAC,OAAO,GAAG,EAAE,EAAE;AAC9B,QAAQ,MAAM,IAAI,GAAG,IAAI,UAAU,EAAE,CAAC;AACtC,QAAQ,MAAM,eAAe,GAAG;AAChC,YAAY,OAAO,EAAE,OAAO,CAAC,QAAQ,CAAC,QAAQ,CAAC,OAAO;AACtD,YAAY,OAAO,EAAE,EAAE;AACvB,YAAY,OAAO,EAAE,MAAM,CAAC,MAAM,CAAC,EAAE,EAAE,OAAO,CAAC,OAAO,EAAE;AACxD;AACA,gBAAgB,IAAI,EAAE,IAAI,CAAC,IAAI,CAAC,IAAI,EAAE,SAAS,CAAC;AAChD,aAAa,CAAC;AACd,YAAY,SAAS,EAAE;AACvB,gBAAgB,QAAQ,EAAE,EAAE;AAC5B,gBAAgB,MAAM,EAAE,EAAE;AAC1B,aAAa;AACb,SAAS,CAAC;AACV;AACA,QAAQ,eAAe,CAAC,OAAO,CAAC,YAAY,CAAC,GAAG;AAChD,YAAY,OAAO,CAAC,SAAS;AAC7B,YAAY,CAAC,gBAAgB,EAAE,OAAO,CAAC,CAAC,EAAE,YAAY,EAAE,CAAC,CAAC;AAC1D,SAAS;AACT,aAAa,MAAM,CAAC,OAAO,CAAC;AAC5B,aAAa,IAAI,CAAC,GAAG,CAAC,CAAC;AACvB,QAAQ,IAAI,OAAO,CAAC,OAAO,EAAE;AAC7B,YAAY,eAAe,CAAC,OAAO,GAAG,OAAO,CAAC,OAAO,CAAC;AACtD,SAAS;AACT,QAAQ,IAAI,OAAO,CAAC,QAAQ,EAAE;AAC9B,YAAY,eAAe,CAAC,SAAS,CAAC,QAAQ,GAAG,OAAO,CAAC,QAAQ,CAAC;AAClE,SAAS;AACT,QAAQ,IAAI,OAAO,CAAC,QAAQ,EAAE;AAC9B,YAAY,eAAe,CAAC,OAAO,CAAC,WAAW,CAAC,GAAG,OAAO,CAAC,QAAQ,CAAC;AACpE,SAAS;AACT,QAAQ,IAAI,CAAC,OAAO,GAAG,OAAO,CAAC,QAAQ,CAAC,eAAe,CAAC,CAAC;AACzD,QAAQ,IAAI,CAAC,OAAO,GAAG,iBAAiB,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC,QAAQ,CAAC,eAAe,CAAC,CAAC;AACjF,QAAQ,IAAI,CAAC,GAAG,GAAG,MAAM,CAAC,MAAM,CAAC;AACjC,YAAY,KAAK,EAAE,MAAM,GAAG;AAC5B,YAAY,IAAI,EAAE,MAAM,GAAG;AAC3B,YAAY,IAAI,EAAE,OAAO,CAAC,IAAI,CAAC,IAAI,CAAC,OAAO,CAAC;AAC5C,YAAY,KAAK,EAAE,OAAO,CAAC,KAAK,CAAC,IAAI,CAAC,OAAO,CAAC;AAC9C,SAAS,EAAE,OAAO,CAAC,GAAG,CAAC,CAAC;AACxB,QAAQ,IAAI,CAAC,IAAI,GAAG,IAAI,CAAC;AACzB;AACA;AACA;AACA;AACA;AACA,QAAQ,IAAI,CAAC,OAAO,CAAC,YAAY,EAAE;AACnC,YAAY,IAAI,CAAC,OAAO,CAAC,IAAI,EAAE;AAC/B;AACA,gBAAgB,IAAI,CAAC,IAAI,GAAG,aAAa;AACzC,oBAAoB,IAAI,EAAE,iBAAiB;AAC3C,iBAAiB,CAAC,CAAC;AACnB,aAAa;AACb,iBAAiB;AACjB;AACA,gBAAgB,MAAM,IAAI,GAAG,eAAe,CAAC,OAAO,CAAC,IAAI,CAAC,CAAC;AAC3D;AACA,gBAAgB,IAAI,CAAC,IAAI,CAAC,SAAS,EAAE,IAAI,CAAC,IAAI,CAAC,CAAC;AAChD,gBAAgB,IAAI,CAAC,IAAI,GAAG,IAAI,CAAC;AACjC,aAAa;AACb,SAAS;AACT,aAAa;AACb,YAAY,MAAM,EAAE,YAAY,EAAE,GAAG,YAAY,EAAE,GAAG,OAAO,CAAC;AAC9D,YAAY,MAAM,IAAI,GAAG,YAAY,CAAC,MAAM,CAAC,MAAM,CAAC;AACpD,gBAAgB,OAAO,EAAE,IAAI,CAAC,OAAO;AACrC,gBAAgB,GAAG,EAAE,IAAI,CAAC,GAAG;AAC7B;AACA;AACA;AACA;AACA;AACA,gBAAgB,OAAO,EAAE,IAAI;AAC7B,gBAAgB,cAAc,EAAE,YAAY;AAC5C,aAAa,EAAE,OAAO,CAAC,IAAI,CAAC,CAAC,CAAC;AAC9B;AACA,YAAY,IAAI,CAAC,IAAI,CAAC,SAAS,EAAE,IAAI,CAAC,IAAI,CAAC,CAAC;AAC5C,YAAY,IAAI,CAAC,IAAI,GAAG,IAAI,CAAC;AAC7B,SAAS;AACT;AACA;AACA,QAAQ,MAAM,gBAAgB,GAAG,IAAI,CAAC,WAAW,CAAC;AAClD,QAAQ,gBAAgB,CAAC,OAAO,CAAC,OAAO,CAAC,CAAC,MAAM,KAAK;AACrD,YAAY,MAAM,CAAC,MAAM,CAAC,IAAI,EAAE,MAAM,CAAC,IAAI,EAAE,OAAO,CAAC,CAAC,CAAC;AACvD,SAAS,CAAC,CAAC;AACX,KAAK;AACL,IAAI,OAAO,QAAQ,CAAC,QAAQ,EAAE;AAC9B,QAAQ,MAAM,mBAAmB,GAAG,cAAc,IAAI,CAAC;AACvD,YAAY,WAAW,CAAC,GAAG,IAAI,EAAE;AACjC,gBAAgB,MAAM,OAAO,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,EAAE,CAAC;AAC9C,gBAAgB,IAAI,OAAO,QAAQ,KAAK,UAAU,EAAE;AACpD,oBAAoB,KAAK,CAAC,QAAQ,CAAC,OAAO,CAAC,CAAC,CAAC;AAC7C,oBAAoB,OAAO;AAC3B,iBAAiB;AACjB,gBAAgB,KAAK,CAAC,MAAM,CAAC,MAAM,CAAC,EAAE,EAAE,QAAQ,EAAE,OAAO,EAAE,OAAO,CAAC,SAAS,IAAI,QAAQ,CAAC,SAAS;AAClG,sBAAsB;AACtB,wBAAwB,SAAS,EAAE,CAAC,EAAE,OAAO,CAAC,SAAS,CAAC,CAAC,EAAE,QAAQ,CAAC,SAAS,CAAC,CAAC;AAC/E,qBAAqB;AACrB,sBAAsB,IAAI,CAAC,CAAC,CAAC;AAC7B,aAAa;AACb,SAAS,CAAC;AACV,QAAQ,OAAO,mBAAmB,CAAC;AACnC,KAAK;AACL;AACA;AACA;AACA;AACA;AACA;AACA,IAAI,OAAO,MAAM,CAAC,GAAG,UAAU,EAAE;AACjC,QAAQ,IAAI,EAAE,CAAC;AACf,QAAQ,MAAM,cAAc,GAAG,IAAI,CAAC,OAAO,CAAC;AAC5C,QAAQ,MAAM,UAAU,IAAI,EAAE,GAAG,cAAc,IAAI,CAAC;AACpD,aAAa;AACb,YAAY,EAAE,CAAC,OAAO,GAAG,cAAc,CAAC,MAAM,CAAC,UAAU,CAAC,MAAM,CAAC,CAAC,MAAM,KAAK,CAAC,cAAc,CAAC,QAAQ,CAAC,MAAM,CAAC,CAAC,CAAC;AAC/G,YAAY,EAAE,CAAC,CAAC;AAChB,QAAQ,OAAO,UAAU,CAAC;AAC1B,KAAK;AACL,CAAC;AACD,OAAO,CAAC,OAAO,GAAG,OAAO,CAAC;AAC1B,OAAO,CAAC,OAAO,GAAG,EAAE,CAAC;;;;"} \ No newline at end of file diff --git a/node_modules/@octokit/core/package.json b/node_modules/@octokit/core/package.json deleted file mode 100644 index cb35459..0000000 --- a/node_modules/@octokit/core/package.json +++ /dev/null @@ -1,58 +0,0 @@ -{ - "name": "@octokit/core", - "description": "Extendable client for GitHub's REST & GraphQL APIs", - "version": "3.5.1", - "license": "MIT", - "files": [ - "dist-*/", - "bin/" - ], - "pika": true, - "sideEffects": false, - "keywords": [ - "octokit", - "github", - "api", - "sdk", - "toolkit" - ], - "repository": "github:octokit/core.js", - "dependencies": { - "@octokit/auth-token": "^2.4.4", - "@octokit/graphql": "^4.5.8", - "@octokit/request": "^5.6.0", - "@octokit/request-error": "^2.0.5", - "@octokit/types": "^6.0.3", - "before-after-hook": "^2.2.0", - "universal-user-agent": "^6.0.0" - }, - "devDependencies": { - "@octokit/auth": "^3.0.1", - "@pika/pack": "^0.5.0", - "@pika/plugin-build-node": "^0.9.0", - "@pika/plugin-build-web": "^0.9.0", - "@pika/plugin-ts-standard-pkg": "^0.9.0", - "@types/fetch-mock": "^7.3.1", - "@types/jest": "^26.0.0", - "@types/lolex": "^5.1.0", - "@types/node": "^14.0.4", - "@types/node-fetch": "^2.5.0", - "fetch-mock": "^9.0.0", - "http-proxy-agent": "^4.0.1", - "jest": "^27.0.0", - "lolex": "^6.0.0", - "prettier": "2.3.1", - "proxy": "^1.0.1", - "semantic-release": "^17.0.0", - "semantic-release-plugin-update-version-in-files": "^1.0.0", - "ts-jest": "^27.0.0", - "typescript": "^4.0.2" - }, - "publishConfig": { - "access": "public" - }, - "source": "dist-src/index.js", - "types": "dist-types/index.d.ts", - "main": "dist-node/index.js", - "module": "dist-web/index.js" -} diff --git a/node_modules/@octokit/endpoint/LICENSE b/node_modules/@octokit/endpoint/LICENSE deleted file mode 100644 index af5366d..0000000 --- a/node_modules/@octokit/endpoint/LICENSE +++ /dev/null @@ -1,21 +0,0 @@ -The MIT License - -Copyright (c) 2018 Octokit 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/@octokit/endpoint/README.md b/node_modules/@octokit/endpoint/README.md deleted file mode 100644 index 1e5153f..0000000 --- a/node_modules/@octokit/endpoint/README.md +++ /dev/null @@ -1,421 +0,0 @@ -# endpoint.js - -> Turns GitHub REST API endpoints into generic request options - -[![@latest](https://img.shields.io/npm/v/@octokit/endpoint.svg)](https://www.npmjs.com/package/@octokit/endpoint) -![Build Status](https://github.com/octokit/endpoint.js/workflows/Test/badge.svg) - -`@octokit/endpoint` combines [GitHub REST API routes](https://developer.github.com/v3/) with your parameters and turns them into generic request options that can be used in any request library. - - - - - -- [Usage](#usage) -- [API](#api) - - [`endpoint(route, options)` or `endpoint(options)`](#endpointroute-options-or-endpointoptions) - - [`endpoint.defaults()`](#endpointdefaults) - - [`endpoint.DEFAULTS`](#endpointdefaults) - - [`endpoint.merge(route, options)` or `endpoint.merge(options)`](#endpointmergeroute-options-or-endpointmergeoptions) - - [`endpoint.parse()`](#endpointparse) -- [Special cases](#special-cases) - - [The `data` parameter – set request body directly](#the-data-parameter-%E2%80%93-set-request-body-directly) - - [Set parameters for both the URL/query and the request body](#set-parameters-for-both-the-urlquery-and-the-request-body) -- [LICENSE](#license) - - - -## Usage - - - - - - -
-Browsers - -Load @octokit/endpoint directly from cdn.skypack.dev - -```html - -``` - -
-Node - - -Install with npm install @octokit/endpoint - -```js -const { endpoint } = require("@octokit/endpoint"); -// or: import { endpoint } from "@octokit/endpoint"; -``` - -
- -Example for [List organization repositories](https://developer.github.com/v3/repos/#list-organization-repositories) - -```js -const requestOptions = endpoint("GET /orgs/{org}/repos", { - headers: { - authorization: "token 0000000000000000000000000000000000000001", - }, - org: "octokit", - type: "private", -}); -``` - -The resulting `requestOptions` looks as follows - -```json -{ - "method": "GET", - "url": "https://api.github.com/orgs/octokit/repos?type=private", - "headers": { - "accept": "application/vnd.github.v3+json", - "authorization": "token 0000000000000000000000000000000000000001", - "user-agent": "octokit/endpoint.js v1.2.3" - } -} -``` - -You can pass `requestOptions` to common request libraries - -```js -const { url, ...options } = requestOptions; -// using with fetch (https://developer.mozilla.org/en-US/docs/Web/API/Fetch_API) -fetch(url, options); -// using with request (https://github.com/request/request) -request(requestOptions); -// using with got (https://github.com/sindresorhus/got) -got[options.method](url, options); -// using with axios -axios(requestOptions); -``` - -## API - -### `endpoint(route, options)` or `endpoint(options)` - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- name - - type - - description -
- route - - String - - If set, it has to be a string consisting of URL and the request method, e.g., GET /orgs/{org}. If it’s set to a URL, only the method defaults to GET. -
- options.method - - String - - Required unless route is set. Any supported http verb. Defaults to GET. -
- options.url - - String - - Required unless route is set. A path or full URL which may contain :variable or {variable} placeholders, - e.g., /orgs/{org}/repos. The url is parsed using url-template. -
- options.baseUrl - - String - - Defaults to https://api.github.com. -
- options.headers - - Object - - Custom headers. Passed headers are merged with defaults:
- headers['user-agent'] defaults to octokit-endpoint.js/1.2.3 (where 1.2.3 is the released version).
- headers['accept'] defaults to application/vnd.github.v3+json.
-
- options.mediaType.format - - String - - Media type param, such as raw, diff, or text+json. See Media Types. Setting options.mediaType.format will amend the headers.accept value. -
- options.mediaType.previews - - Array of Strings - - Name of previews, such as mercy, symmetra, or scarlet-witch. See API Previews. If options.mediaType.previews was set as default, the new previews will be merged into the default ones. Setting options.mediaType.previews will amend the headers.accept value. options.mediaType.previews will be merged with an existing array set using .defaults(). -
- options.data - - Any - - Set request body directly instead of setting it to JSON based on additional parameters. See "The data parameter" below. -
- options.request - - Object - - Pass custom meta information for the request. The request object will be returned as is. -
- -All other options will be passed depending on the `method` and `url` options. - -1. If the option key has a placeholder in the `url`, it will be used as the replacement. For example, if the passed options are `{url: '/orgs/{org}/repos', org: 'foo'}` the returned `options.url` is `https://api.github.com/orgs/foo/repos`. -2. If the `method` is `GET` or `HEAD`, the option is passed as a query parameter. -3. Otherwise, the parameter is passed in the request body as a JSON key. - -**Result** - -`endpoint()` is a synchronous method and returns an object with the following keys: - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- key - - type - - description -
methodStringThe http method. Always lowercase.
urlStringThe url with placeholders replaced with passed parameters.
headersObjectAll header names are lowercased.
bodyAnyThe request body if one is present. Only for PATCH, POST, PUT, DELETE requests.
requestObjectRequest meta option, it will be returned as it was passed into endpoint()
- -### `endpoint.defaults()` - -Override or set default options. Example: - -```js -const request = require("request"); -const myEndpoint = require("@octokit/endpoint").defaults({ - baseUrl: "https://github-enterprise.acme-inc.com/api/v3", - headers: { - "user-agent": "myApp/1.2.3", - authorization: `token 0000000000000000000000000000000000000001`, - }, - org: "my-project", - per_page: 100, -}); - -request(myEndpoint(`GET /orgs/{org}/repos`)); -``` - -You can call `.defaults()` again on the returned method, the defaults will cascade. - -```js -const myProjectEndpoint = endpoint.defaults({ - baseUrl: "https://github-enterprise.acme-inc.com/api/v3", - headers: { - "user-agent": "myApp/1.2.3", - }, - org: "my-project", -}); -const myProjectEndpointWithAuth = myProjectEndpoint.defaults({ - headers: { - authorization: `token 0000000000000000000000000000000000000001`, - }, -}); -``` - -`myProjectEndpointWithAuth` now defaults the `baseUrl`, `headers['user-agent']`, -`org` and `headers['authorization']` on top of `headers['accept']` that is set -by the global default. - -### `endpoint.DEFAULTS` - -The current default options. - -```js -endpoint.DEFAULTS.baseUrl; // https://api.github.com -const myEndpoint = endpoint.defaults({ - baseUrl: "https://github-enterprise.acme-inc.com/api/v3", -}); -myEndpoint.DEFAULTS.baseUrl; // https://github-enterprise.acme-inc.com/api/v3 -``` - -### `endpoint.merge(route, options)` or `endpoint.merge(options)` - -Get the defaulted endpoint options, but without parsing them into request options: - -```js -const myProjectEndpoint = endpoint.defaults({ - baseUrl: "https://github-enterprise.acme-inc.com/api/v3", - headers: { - "user-agent": "myApp/1.2.3", - }, - org: "my-project", -}); -myProjectEndpoint.merge("GET /orgs/{org}/repos", { - headers: { - authorization: `token 0000000000000000000000000000000000000001`, - }, - org: "my-secret-project", - type: "private", -}); - -// { -// baseUrl: 'https://github-enterprise.acme-inc.com/api/v3', -// method: 'GET', -// url: '/orgs/{org}/repos', -// headers: { -// accept: 'application/vnd.github.v3+json', -// authorization: `token 0000000000000000000000000000000000000001`, -// 'user-agent': 'myApp/1.2.3' -// }, -// org: 'my-secret-project', -// type: 'private' -// } -``` - -### `endpoint.parse()` - -Stateless method to turn endpoint options into request options. Calling -`endpoint(options)` is the same as calling `endpoint.parse(endpoint.merge(options))`. - -## Special cases - - - -### The `data` parameter – set request body directly - -Some endpoints such as [Render a Markdown document in raw mode](https://developer.github.com/v3/markdown/#render-a-markdown-document-in-raw-mode) don’t have parameters that are sent as request body keys, instead, the request body needs to be set directly. In these cases, set the `data` parameter. - -```js -const options = endpoint("POST /markdown/raw", { - data: "Hello world github/linguist#1 **cool**, and #1!", - headers: { - accept: "text/html;charset=utf-8", - "content-type": "text/plain", - }, -}); - -// options is -// { -// method: 'post', -// url: 'https://api.github.com/markdown/raw', -// headers: { -// accept: 'text/html;charset=utf-8', -// 'content-type': 'text/plain', -// 'user-agent': userAgent -// }, -// body: 'Hello world github/linguist#1 **cool**, and #1!' -// } -``` - -### Set parameters for both the URL/query and the request body - -There are API endpoints that accept both query parameters as well as a body. In that case, you need to add the query parameters as templates to `options.url`, as defined in the [RFC 6570 URI Template specification](https://tools.ietf.org/html/rfc6570). - -Example - -```js -endpoint( - "POST https://uploads.github.com/repos/octocat/Hello-World/releases/1/assets{?name,label}", - { - name: "example.zip", - label: "short description", - headers: { - "content-type": "text/plain", - "content-length": 14, - authorization: `token 0000000000000000000000000000000000000001`, - }, - data: "Hello, world!", - } -); -``` - -## LICENSE - -[MIT](LICENSE) diff --git a/node_modules/@octokit/endpoint/dist-node/index.js b/node_modules/@octokit/endpoint/dist-node/index.js deleted file mode 100644 index 70f24ff..0000000 --- a/node_modules/@octokit/endpoint/dist-node/index.js +++ /dev/null @@ -1,390 +0,0 @@ -'use strict'; - -Object.defineProperty(exports, '__esModule', { value: true }); - -var isPlainObject = require('is-plain-object'); -var universalUserAgent = require('universal-user-agent'); - -function lowercaseKeys(object) { - if (!object) { - return {}; - } - - return Object.keys(object).reduce((newObj, key) => { - newObj[key.toLowerCase()] = object[key]; - return newObj; - }, {}); -} - -function mergeDeep(defaults, options) { - const result = Object.assign({}, defaults); - Object.keys(options).forEach(key => { - if (isPlainObject.isPlainObject(options[key])) { - if (!(key in defaults)) Object.assign(result, { - [key]: options[key] - });else result[key] = mergeDeep(defaults[key], options[key]); - } else { - Object.assign(result, { - [key]: options[key] - }); - } - }); - return result; -} - -function removeUndefinedProperties(obj) { - for (const key in obj) { - if (obj[key] === undefined) { - delete obj[key]; - } - } - - return obj; -} - -function merge(defaults, route, options) { - if (typeof route === "string") { - let [method, url] = route.split(" "); - options = Object.assign(url ? { - method, - url - } : { - url: method - }, options); - } else { - options = Object.assign({}, route); - } // lowercase header names before merging with defaults to avoid duplicates - - - options.headers = lowercaseKeys(options.headers); // remove properties with undefined values before merging - - removeUndefinedProperties(options); - removeUndefinedProperties(options.headers); - const mergedOptions = mergeDeep(defaults || {}, options); // mediaType.previews arrays are merged, instead of overwritten - - if (defaults && defaults.mediaType.previews.length) { - mergedOptions.mediaType.previews = defaults.mediaType.previews.filter(preview => !mergedOptions.mediaType.previews.includes(preview)).concat(mergedOptions.mediaType.previews); - } - - mergedOptions.mediaType.previews = mergedOptions.mediaType.previews.map(preview => preview.replace(/-preview/, "")); - return mergedOptions; -} - -function addQueryParameters(url, parameters) { - const separator = /\?/.test(url) ? "&" : "?"; - const names = Object.keys(parameters); - - if (names.length === 0) { - return url; - } - - return url + separator + names.map(name => { - if (name === "q") { - return "q=" + parameters.q.split("+").map(encodeURIComponent).join("+"); - } - - return `${name}=${encodeURIComponent(parameters[name])}`; - }).join("&"); -} - -const urlVariableRegex = /\{[^}]+\}/g; - -function removeNonChars(variableName) { - return variableName.replace(/^\W+|\W+$/g, "").split(/,/); -} - -function extractUrlVariableNames(url) { - const matches = url.match(urlVariableRegex); - - if (!matches) { - return []; - } - - return matches.map(removeNonChars).reduce((a, b) => a.concat(b), []); -} - -function omit(object, keysToOmit) { - return Object.keys(object).filter(option => !keysToOmit.includes(option)).reduce((obj, key) => { - obj[key] = object[key]; - return obj; - }, {}); -} - -// Based on https://github.com/bramstein/url-template, licensed under BSD -// TODO: create separate package. -// -// Copyright (c) 2012-2014, Bram Stein -// All rights reserved. -// Redistribution and use in source and binary forms, with or without -// modification, are permitted provided that the following conditions -// are met: -// 1. Redistributions of source code must retain the above copyright -// notice, this list of conditions and the following disclaimer. -// 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. -// 3. The name of the author may not be used to endorse or promote products -// derived from this software without specific prior written permission. -// THIS SOFTWARE IS PROVIDED BY THE AUTHOR "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. - -/* istanbul ignore file */ -function encodeReserved(str) { - return str.split(/(%[0-9A-Fa-f]{2})/g).map(function (part) { - if (!/%[0-9A-Fa-f]/.test(part)) { - part = encodeURI(part).replace(/%5B/g, "[").replace(/%5D/g, "]"); - } - - return part; - }).join(""); -} - -function encodeUnreserved(str) { - return encodeURIComponent(str).replace(/[!'()*]/g, function (c) { - return "%" + c.charCodeAt(0).toString(16).toUpperCase(); - }); -} - -function encodeValue(operator, value, key) { - value = operator === "+" || operator === "#" ? encodeReserved(value) : encodeUnreserved(value); - - if (key) { - return encodeUnreserved(key) + "=" + value; - } else { - return value; - } -} - -function isDefined(value) { - return value !== undefined && value !== null; -} - -function isKeyOperator(operator) { - return operator === ";" || operator === "&" || operator === "?"; -} - -function getValues(context, operator, key, modifier) { - var value = context[key], - result = []; - - if (isDefined(value) && value !== "") { - if (typeof value === "string" || typeof value === "number" || typeof value === "boolean") { - value = value.toString(); - - if (modifier && modifier !== "*") { - value = value.substring(0, parseInt(modifier, 10)); - } - - result.push(encodeValue(operator, value, isKeyOperator(operator) ? key : "")); - } else { - if (modifier === "*") { - if (Array.isArray(value)) { - value.filter(isDefined).forEach(function (value) { - result.push(encodeValue(operator, value, isKeyOperator(operator) ? key : "")); - }); - } else { - Object.keys(value).forEach(function (k) { - if (isDefined(value[k])) { - result.push(encodeValue(operator, value[k], k)); - } - }); - } - } else { - const tmp = []; - - if (Array.isArray(value)) { - value.filter(isDefined).forEach(function (value) { - tmp.push(encodeValue(operator, value)); - }); - } else { - Object.keys(value).forEach(function (k) { - if (isDefined(value[k])) { - tmp.push(encodeUnreserved(k)); - tmp.push(encodeValue(operator, value[k].toString())); - } - }); - } - - if (isKeyOperator(operator)) { - result.push(encodeUnreserved(key) + "=" + tmp.join(",")); - } else if (tmp.length !== 0) { - result.push(tmp.join(",")); - } - } - } - } else { - if (operator === ";") { - if (isDefined(value)) { - result.push(encodeUnreserved(key)); - } - } else if (value === "" && (operator === "&" || operator === "?")) { - result.push(encodeUnreserved(key) + "="); - } else if (value === "") { - result.push(""); - } - } - - return result; -} - -function parseUrl(template) { - return { - expand: expand.bind(null, template) - }; -} - -function expand(template, context) { - var operators = ["+", "#", ".", "/", ";", "?", "&"]; - return template.replace(/\{([^\{\}]+)\}|([^\{\}]+)/g, function (_, expression, literal) { - if (expression) { - let operator = ""; - const values = []; - - if (operators.indexOf(expression.charAt(0)) !== -1) { - operator = expression.charAt(0); - expression = expression.substr(1); - } - - expression.split(/,/g).forEach(function (variable) { - var tmp = /([^:\*]*)(?::(\d+)|(\*))?/.exec(variable); - values.push(getValues(context, operator, tmp[1], tmp[2] || tmp[3])); - }); - - if (operator && operator !== "+") { - var separator = ","; - - if (operator === "?") { - separator = "&"; - } else if (operator !== "#") { - separator = operator; - } - - return (values.length !== 0 ? operator : "") + values.join(separator); - } else { - return values.join(","); - } - } else { - return encodeReserved(literal); - } - }); -} - -function parse(options) { - // https://fetch.spec.whatwg.org/#methods - let method = options.method.toUpperCase(); // replace :varname with {varname} to make it RFC 6570 compatible - - let url = (options.url || "/").replace(/:([a-z]\w+)/g, "{$1}"); - let headers = Object.assign({}, options.headers); - let body; - let parameters = omit(options, ["method", "baseUrl", "url", "headers", "request", "mediaType"]); // extract variable names from URL to calculate remaining variables later - - const urlVariableNames = extractUrlVariableNames(url); - url = parseUrl(url).expand(parameters); - - if (!/^http/.test(url)) { - url = options.baseUrl + url; - } - - const omittedParameters = Object.keys(options).filter(option => urlVariableNames.includes(option)).concat("baseUrl"); - const remainingParameters = omit(parameters, omittedParameters); - const isBinaryRequest = /application\/octet-stream/i.test(headers.accept); - - if (!isBinaryRequest) { - if (options.mediaType.format) { - // e.g. application/vnd.github.v3+json => application/vnd.github.v3.raw - headers.accept = headers.accept.split(/,/).map(preview => preview.replace(/application\/vnd(\.\w+)(\.v3)?(\.\w+)?(\+json)?$/, `application/vnd$1$2.${options.mediaType.format}`)).join(","); - } - - if (options.mediaType.previews.length) { - const previewsFromAcceptHeader = headers.accept.match(/[\w-]+(?=-preview)/g) || []; - headers.accept = previewsFromAcceptHeader.concat(options.mediaType.previews).map(preview => { - const format = options.mediaType.format ? `.${options.mediaType.format}` : "+json"; - return `application/vnd.github.${preview}-preview${format}`; - }).join(","); - } - } // for GET/HEAD requests, set URL query parameters from remaining parameters - // for PATCH/POST/PUT/DELETE requests, set request body from remaining parameters - - - if (["GET", "HEAD"].includes(method)) { - url = addQueryParameters(url, remainingParameters); - } else { - if ("data" in remainingParameters) { - body = remainingParameters.data; - } else { - if (Object.keys(remainingParameters).length) { - body = remainingParameters; - } else { - headers["content-length"] = 0; - } - } - } // default content-type for JSON if body is set - - - if (!headers["content-type"] && typeof body !== "undefined") { - headers["content-type"] = "application/json; charset=utf-8"; - } // GitHub expects 'content-length: 0' header for PUT/PATCH requests without body. - // fetch does not allow to set `content-length` header, but we can set body to an empty string - - - if (["PATCH", "PUT"].includes(method) && typeof body === "undefined") { - body = ""; - } // Only return body/request keys if present - - - return Object.assign({ - method, - url, - headers - }, typeof body !== "undefined" ? { - body - } : null, options.request ? { - request: options.request - } : null); -} - -function endpointWithDefaults(defaults, route, options) { - return parse(merge(defaults, route, options)); -} - -function withDefaults(oldDefaults, newDefaults) { - const DEFAULTS = merge(oldDefaults, newDefaults); - const endpoint = endpointWithDefaults.bind(null, DEFAULTS); - return Object.assign(endpoint, { - DEFAULTS, - defaults: withDefaults.bind(null, DEFAULTS), - merge: merge.bind(null, DEFAULTS), - parse - }); -} - -const VERSION = "6.0.12"; - -const userAgent = `octokit-endpoint.js/${VERSION} ${universalUserAgent.getUserAgent()}`; // DEFAULTS has all properties set that EndpointOptions has, except url. -// So we use RequestParameters and add method as additional required property. - -const DEFAULTS = { - method: "GET", - baseUrl: "https://api.github.com", - headers: { - accept: "application/vnd.github.v3+json", - "user-agent": userAgent - }, - mediaType: { - format: "", - previews: [] - } -}; - -const endpoint = withDefaults(null, DEFAULTS); - -exports.endpoint = endpoint; -//# sourceMappingURL=index.js.map diff --git a/node_modules/@octokit/endpoint/dist-node/index.js.map b/node_modules/@octokit/endpoint/dist-node/index.js.map deleted file mode 100644 index 003e4f2..0000000 --- a/node_modules/@octokit/endpoint/dist-node/index.js.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"index.js","sources":["../dist-src/util/lowercase-keys.js","../dist-src/util/merge-deep.js","../dist-src/util/remove-undefined-properties.js","../dist-src/merge.js","../dist-src/util/add-query-parameters.js","../dist-src/util/extract-url-variable-names.js","../dist-src/util/omit.js","../dist-src/util/url-template.js","../dist-src/parse.js","../dist-src/endpoint-with-defaults.js","../dist-src/with-defaults.js","../dist-src/version.js","../dist-src/defaults.js","../dist-src/index.js"],"sourcesContent":["export function lowercaseKeys(object) {\n if (!object) {\n return {};\n }\n return Object.keys(object).reduce((newObj, key) => {\n newObj[key.toLowerCase()] = object[key];\n return newObj;\n }, {});\n}\n","import { isPlainObject } from \"is-plain-object\";\nexport function mergeDeep(defaults, options) {\n const result = Object.assign({}, defaults);\n Object.keys(options).forEach((key) => {\n if (isPlainObject(options[key])) {\n if (!(key in defaults))\n Object.assign(result, { [key]: options[key] });\n else\n result[key] = mergeDeep(defaults[key], options[key]);\n }\n else {\n Object.assign(result, { [key]: options[key] });\n }\n });\n return result;\n}\n","export function removeUndefinedProperties(obj) {\n for (const key in obj) {\n if (obj[key] === undefined) {\n delete obj[key];\n }\n }\n return obj;\n}\n","import { lowercaseKeys } from \"./util/lowercase-keys\";\nimport { mergeDeep } from \"./util/merge-deep\";\nimport { removeUndefinedProperties } from \"./util/remove-undefined-properties\";\nexport function merge(defaults, route, options) {\n if (typeof route === \"string\") {\n let [method, url] = route.split(\" \");\n options = Object.assign(url ? { method, url } : { url: method }, options);\n }\n else {\n options = Object.assign({}, route);\n }\n // lowercase header names before merging with defaults to avoid duplicates\n options.headers = lowercaseKeys(options.headers);\n // remove properties with undefined values before merging\n removeUndefinedProperties(options);\n removeUndefinedProperties(options.headers);\n const mergedOptions = mergeDeep(defaults || {}, options);\n // mediaType.previews arrays are merged, instead of overwritten\n if (defaults && defaults.mediaType.previews.length) {\n mergedOptions.mediaType.previews = defaults.mediaType.previews\n .filter((preview) => !mergedOptions.mediaType.previews.includes(preview))\n .concat(mergedOptions.mediaType.previews);\n }\n mergedOptions.mediaType.previews = mergedOptions.mediaType.previews.map((preview) => preview.replace(/-preview/, \"\"));\n return mergedOptions;\n}\n","export function addQueryParameters(url, parameters) {\n const separator = /\\?/.test(url) ? \"&\" : \"?\";\n const names = Object.keys(parameters);\n if (names.length === 0) {\n return url;\n }\n return (url +\n separator +\n names\n .map((name) => {\n if (name === \"q\") {\n return (\"q=\" + parameters.q.split(\"+\").map(encodeURIComponent).join(\"+\"));\n }\n return `${name}=${encodeURIComponent(parameters[name])}`;\n })\n .join(\"&\"));\n}\n","const urlVariableRegex = /\\{[^}]+\\}/g;\nfunction removeNonChars(variableName) {\n return variableName.replace(/^\\W+|\\W+$/g, \"\").split(/,/);\n}\nexport function extractUrlVariableNames(url) {\n const matches = url.match(urlVariableRegex);\n if (!matches) {\n return [];\n }\n return matches.map(removeNonChars).reduce((a, b) => a.concat(b), []);\n}\n","export function omit(object, keysToOmit) {\n return Object.keys(object)\n .filter((option) => !keysToOmit.includes(option))\n .reduce((obj, key) => {\n obj[key] = object[key];\n return obj;\n }, {});\n}\n","// Based on https://github.com/bramstein/url-template, licensed under BSD\n// TODO: create separate package.\n//\n// Copyright (c) 2012-2014, Bram Stein\n// All rights reserved.\n// Redistribution and use in source and binary forms, with or without\n// modification, are permitted provided that the following conditions\n// are met:\n// 1. Redistributions of source code must retain the above copyright\n// notice, this list of conditions and the following disclaimer.\n// 2. Redistributions in binary form must reproduce the above copyright\n// notice, this list of conditions and the following disclaimer in the\n// documentation and/or other materials provided with the distribution.\n// 3. The name of the author may not be used to endorse or promote products\n// derived from this software without specific prior written permission.\n// THIS SOFTWARE IS PROVIDED BY THE AUTHOR \"AS IS\" AND ANY EXPRESS OR IMPLIED\n// WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF\n// MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO\n// EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT,\n// INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,\n// BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,\n// DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY\n// OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING\n// NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,\n// EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.\n/* istanbul ignore file */\nfunction encodeReserved(str) {\n return str\n .split(/(%[0-9A-Fa-f]{2})/g)\n .map(function (part) {\n if (!/%[0-9A-Fa-f]/.test(part)) {\n part = encodeURI(part).replace(/%5B/g, \"[\").replace(/%5D/g, \"]\");\n }\n return part;\n })\n .join(\"\");\n}\nfunction encodeUnreserved(str) {\n return encodeURIComponent(str).replace(/[!'()*]/g, function (c) {\n return \"%\" + c.charCodeAt(0).toString(16).toUpperCase();\n });\n}\nfunction encodeValue(operator, value, key) {\n value =\n operator === \"+\" || operator === \"#\"\n ? encodeReserved(value)\n : encodeUnreserved(value);\n if (key) {\n return encodeUnreserved(key) + \"=\" + value;\n }\n else {\n return value;\n }\n}\nfunction isDefined(value) {\n return value !== undefined && value !== null;\n}\nfunction isKeyOperator(operator) {\n return operator === \";\" || operator === \"&\" || operator === \"?\";\n}\nfunction getValues(context, operator, key, modifier) {\n var value = context[key], result = [];\n if (isDefined(value) && value !== \"\") {\n if (typeof value === \"string\" ||\n typeof value === \"number\" ||\n typeof value === \"boolean\") {\n value = value.toString();\n if (modifier && modifier !== \"*\") {\n value = value.substring(0, parseInt(modifier, 10));\n }\n result.push(encodeValue(operator, value, isKeyOperator(operator) ? key : \"\"));\n }\n else {\n if (modifier === \"*\") {\n if (Array.isArray(value)) {\n value.filter(isDefined).forEach(function (value) {\n result.push(encodeValue(operator, value, isKeyOperator(operator) ? key : \"\"));\n });\n }\n else {\n Object.keys(value).forEach(function (k) {\n if (isDefined(value[k])) {\n result.push(encodeValue(operator, value[k], k));\n }\n });\n }\n }\n else {\n const tmp = [];\n if (Array.isArray(value)) {\n value.filter(isDefined).forEach(function (value) {\n tmp.push(encodeValue(operator, value));\n });\n }\n else {\n Object.keys(value).forEach(function (k) {\n if (isDefined(value[k])) {\n tmp.push(encodeUnreserved(k));\n tmp.push(encodeValue(operator, value[k].toString()));\n }\n });\n }\n if (isKeyOperator(operator)) {\n result.push(encodeUnreserved(key) + \"=\" + tmp.join(\",\"));\n }\n else if (tmp.length !== 0) {\n result.push(tmp.join(\",\"));\n }\n }\n }\n }\n else {\n if (operator === \";\") {\n if (isDefined(value)) {\n result.push(encodeUnreserved(key));\n }\n }\n else if (value === \"\" && (operator === \"&\" || operator === \"?\")) {\n result.push(encodeUnreserved(key) + \"=\");\n }\n else if (value === \"\") {\n result.push(\"\");\n }\n }\n return result;\n}\nexport function parseUrl(template) {\n return {\n expand: expand.bind(null, template),\n };\n}\nfunction expand(template, context) {\n var operators = [\"+\", \"#\", \".\", \"/\", \";\", \"?\", \"&\"];\n return template.replace(/\\{([^\\{\\}]+)\\}|([^\\{\\}]+)/g, function (_, expression, literal) {\n if (expression) {\n let operator = \"\";\n const values = [];\n if (operators.indexOf(expression.charAt(0)) !== -1) {\n operator = expression.charAt(0);\n expression = expression.substr(1);\n }\n expression.split(/,/g).forEach(function (variable) {\n var tmp = /([^:\\*]*)(?::(\\d+)|(\\*))?/.exec(variable);\n values.push(getValues(context, operator, tmp[1], tmp[2] || tmp[3]));\n });\n if (operator && operator !== \"+\") {\n var separator = \",\";\n if (operator === \"?\") {\n separator = \"&\";\n }\n else if (operator !== \"#\") {\n separator = operator;\n }\n return (values.length !== 0 ? operator : \"\") + values.join(separator);\n }\n else {\n return values.join(\",\");\n }\n }\n else {\n return encodeReserved(literal);\n }\n });\n}\n","import { addQueryParameters } from \"./util/add-query-parameters\";\nimport { extractUrlVariableNames } from \"./util/extract-url-variable-names\";\nimport { omit } from \"./util/omit\";\nimport { parseUrl } from \"./util/url-template\";\nexport function parse(options) {\n // https://fetch.spec.whatwg.org/#methods\n let method = options.method.toUpperCase();\n // replace :varname with {varname} to make it RFC 6570 compatible\n let url = (options.url || \"/\").replace(/:([a-z]\\w+)/g, \"{$1}\");\n let headers = Object.assign({}, options.headers);\n let body;\n let parameters = omit(options, [\n \"method\",\n \"baseUrl\",\n \"url\",\n \"headers\",\n \"request\",\n \"mediaType\",\n ]);\n // extract variable names from URL to calculate remaining variables later\n const urlVariableNames = extractUrlVariableNames(url);\n url = parseUrl(url).expand(parameters);\n if (!/^http/.test(url)) {\n url = options.baseUrl + url;\n }\n const omittedParameters = Object.keys(options)\n .filter((option) => urlVariableNames.includes(option))\n .concat(\"baseUrl\");\n const remainingParameters = omit(parameters, omittedParameters);\n const isBinaryRequest = /application\\/octet-stream/i.test(headers.accept);\n if (!isBinaryRequest) {\n if (options.mediaType.format) {\n // e.g. application/vnd.github.v3+json => application/vnd.github.v3.raw\n headers.accept = headers.accept\n .split(/,/)\n .map((preview) => preview.replace(/application\\/vnd(\\.\\w+)(\\.v3)?(\\.\\w+)?(\\+json)?$/, `application/vnd$1$2.${options.mediaType.format}`))\n .join(\",\");\n }\n if (options.mediaType.previews.length) {\n const previewsFromAcceptHeader = headers.accept.match(/[\\w-]+(?=-preview)/g) || [];\n headers.accept = previewsFromAcceptHeader\n .concat(options.mediaType.previews)\n .map((preview) => {\n const format = options.mediaType.format\n ? `.${options.mediaType.format}`\n : \"+json\";\n return `application/vnd.github.${preview}-preview${format}`;\n })\n .join(\",\");\n }\n }\n // for GET/HEAD requests, set URL query parameters from remaining parameters\n // for PATCH/POST/PUT/DELETE requests, set request body from remaining parameters\n if ([\"GET\", \"HEAD\"].includes(method)) {\n url = addQueryParameters(url, remainingParameters);\n }\n else {\n if (\"data\" in remainingParameters) {\n body = remainingParameters.data;\n }\n else {\n if (Object.keys(remainingParameters).length) {\n body = remainingParameters;\n }\n else {\n headers[\"content-length\"] = 0;\n }\n }\n }\n // default content-type for JSON if body is set\n if (!headers[\"content-type\"] && typeof body !== \"undefined\") {\n headers[\"content-type\"] = \"application/json; charset=utf-8\";\n }\n // GitHub expects 'content-length: 0' header for PUT/PATCH requests without body.\n // fetch does not allow to set `content-length` header, but we can set body to an empty string\n if ([\"PATCH\", \"PUT\"].includes(method) && typeof body === \"undefined\") {\n body = \"\";\n }\n // Only return body/request keys if present\n return Object.assign({ method, url, headers }, typeof body !== \"undefined\" ? { body } : null, options.request ? { request: options.request } : null);\n}\n","import { merge } from \"./merge\";\nimport { parse } from \"./parse\";\nexport function endpointWithDefaults(defaults, route, options) {\n return parse(merge(defaults, route, options));\n}\n","import { endpointWithDefaults } from \"./endpoint-with-defaults\";\nimport { merge } from \"./merge\";\nimport { parse } from \"./parse\";\nexport function withDefaults(oldDefaults, newDefaults) {\n const DEFAULTS = merge(oldDefaults, newDefaults);\n const endpoint = endpointWithDefaults.bind(null, DEFAULTS);\n return Object.assign(endpoint, {\n DEFAULTS,\n defaults: withDefaults.bind(null, DEFAULTS),\n merge: merge.bind(null, DEFAULTS),\n parse,\n });\n}\n","export const VERSION = \"6.0.12\";\n","import { getUserAgent } from \"universal-user-agent\";\nimport { VERSION } from \"./version\";\nconst userAgent = `octokit-endpoint.js/${VERSION} ${getUserAgent()}`;\n// DEFAULTS has all properties set that EndpointOptions has, except url.\n// So we use RequestParameters and add method as additional required property.\nexport const DEFAULTS = {\n method: \"GET\",\n baseUrl: \"https://api.github.com\",\n headers: {\n accept: \"application/vnd.github.v3+json\",\n \"user-agent\": userAgent,\n },\n mediaType: {\n format: \"\",\n previews: [],\n },\n};\n","import { withDefaults } from \"./with-defaults\";\nimport { DEFAULTS } from \"./defaults\";\nexport const endpoint = withDefaults(null, DEFAULTS);\n"],"names":["lowercaseKeys","object","Object","keys","reduce","newObj","key","toLowerCase","mergeDeep","defaults","options","result","assign","forEach","isPlainObject","removeUndefinedProperties","obj","undefined","merge","route","method","url","split","headers","mergedOptions","mediaType","previews","length","filter","preview","includes","concat","map","replace","addQueryParameters","parameters","separator","test","names","name","q","encodeURIComponent","join","urlVariableRegex","removeNonChars","variableName","extractUrlVariableNames","matches","match","a","b","omit","keysToOmit","option","encodeReserved","str","part","encodeURI","encodeUnreserved","c","charCodeAt","toString","toUpperCase","encodeValue","operator","value","isDefined","isKeyOperator","getValues","context","modifier","substring","parseInt","push","Array","isArray","k","tmp","parseUrl","template","expand","bind","operators","_","expression","literal","values","indexOf","charAt","substr","variable","exec","parse","body","urlVariableNames","baseUrl","omittedParameters","remainingParameters","isBinaryRequest","accept","format","previewsFromAcceptHeader","data","request","endpointWithDefaults","withDefaults","oldDefaults","newDefaults","DEFAULTS","endpoint","VERSION","userAgent","getUserAgent"],"mappings":";;;;;;;AAAO,SAASA,aAAT,CAAuBC,MAAvB,EAA+B;AAClC,MAAI,CAACA,MAAL,EAAa;AACT,WAAO,EAAP;AACH;;AACD,SAAOC,MAAM,CAACC,IAAP,CAAYF,MAAZ,EAAoBG,MAApB,CAA2B,CAACC,MAAD,EAASC,GAAT,KAAiB;AAC/CD,IAAAA,MAAM,CAACC,GAAG,CAACC,WAAJ,EAAD,CAAN,GAA4BN,MAAM,CAACK,GAAD,CAAlC;AACA,WAAOD,MAAP;AACH,GAHM,EAGJ,EAHI,CAAP;AAIH;;ACPM,SAASG,SAAT,CAAmBC,QAAnB,EAA6BC,OAA7B,EAAsC;AACzC,QAAMC,MAAM,GAAGT,MAAM,CAACU,MAAP,CAAc,EAAd,EAAkBH,QAAlB,CAAf;AACAP,EAAAA,MAAM,CAACC,IAAP,CAAYO,OAAZ,EAAqBG,OAArB,CAA8BP,GAAD,IAAS;AAClC,QAAIQ,2BAAa,CAACJ,OAAO,CAACJ,GAAD,CAAR,CAAjB,EAAiC;AAC7B,UAAI,EAAEA,GAAG,IAAIG,QAAT,CAAJ,EACIP,MAAM,CAACU,MAAP,CAAcD,MAAd,EAAsB;AAAE,SAACL,GAAD,GAAOI,OAAO,CAACJ,GAAD;AAAhB,OAAtB,EADJ,KAGIK,MAAM,CAACL,GAAD,CAAN,GAAcE,SAAS,CAACC,QAAQ,CAACH,GAAD,CAAT,EAAgBI,OAAO,CAACJ,GAAD,CAAvB,CAAvB;AACP,KALD,MAMK;AACDJ,MAAAA,MAAM,CAACU,MAAP,CAAcD,MAAd,EAAsB;AAAE,SAACL,GAAD,GAAOI,OAAO,CAACJ,GAAD;AAAhB,OAAtB;AACH;AACJ,GAVD;AAWA,SAAOK,MAAP;AACH;;ACfM,SAASI,yBAAT,CAAmCC,GAAnC,EAAwC;AAC3C,OAAK,MAAMV,GAAX,IAAkBU,GAAlB,EAAuB;AACnB,QAAIA,GAAG,CAACV,GAAD,CAAH,KAAaW,SAAjB,EAA4B;AACxB,aAAOD,GAAG,CAACV,GAAD,CAAV;AACH;AACJ;;AACD,SAAOU,GAAP;AACH;;ACJM,SAASE,KAAT,CAAeT,QAAf,EAAyBU,KAAzB,EAAgCT,OAAhC,EAAyC;AAC5C,MAAI,OAAOS,KAAP,KAAiB,QAArB,EAA+B;AAC3B,QAAI,CAACC,MAAD,EAASC,GAAT,IAAgBF,KAAK,CAACG,KAAN,CAAY,GAAZ,CAApB;AACAZ,IAAAA,OAAO,GAAGR,MAAM,CAACU,MAAP,CAAcS,GAAG,GAAG;AAAED,MAAAA,MAAF;AAAUC,MAAAA;AAAV,KAAH,GAAqB;AAAEA,MAAAA,GAAG,EAAED;AAAP,KAAtC,EAAuDV,OAAvD,CAAV;AACH,GAHD,MAIK;AACDA,IAAAA,OAAO,GAAGR,MAAM,CAACU,MAAP,CAAc,EAAd,EAAkBO,KAAlB,CAAV;AACH,GAP2C;;;AAS5CT,EAAAA,OAAO,CAACa,OAAR,GAAkBvB,aAAa,CAACU,OAAO,CAACa,OAAT,CAA/B,CAT4C;;AAW5CR,EAAAA,yBAAyB,CAACL,OAAD,CAAzB;AACAK,EAAAA,yBAAyB,CAACL,OAAO,CAACa,OAAT,CAAzB;AACA,QAAMC,aAAa,GAAGhB,SAAS,CAACC,QAAQ,IAAI,EAAb,EAAiBC,OAAjB,CAA/B,CAb4C;;AAe5C,MAAID,QAAQ,IAAIA,QAAQ,CAACgB,SAAT,CAAmBC,QAAnB,CAA4BC,MAA5C,EAAoD;AAChDH,IAAAA,aAAa,CAACC,SAAd,CAAwBC,QAAxB,GAAmCjB,QAAQ,CAACgB,SAAT,CAAmBC,QAAnB,CAC9BE,MAD8B,CACtBC,OAAD,IAAa,CAACL,aAAa,CAACC,SAAd,CAAwBC,QAAxB,CAAiCI,QAAjC,CAA0CD,OAA1C,CADS,EAE9BE,MAF8B,CAEvBP,aAAa,CAACC,SAAd,CAAwBC,QAFD,CAAnC;AAGH;;AACDF,EAAAA,aAAa,CAACC,SAAd,CAAwBC,QAAxB,GAAmCF,aAAa,CAACC,SAAd,CAAwBC,QAAxB,CAAiCM,GAAjC,CAAsCH,OAAD,IAAaA,OAAO,CAACI,OAAR,CAAgB,UAAhB,EAA4B,EAA5B,CAAlD,CAAnC;AACA,SAAOT,aAAP;AACH;;ACzBM,SAASU,kBAAT,CAA4Bb,GAA5B,EAAiCc,UAAjC,EAA6C;AAChD,QAAMC,SAAS,GAAG,KAAKC,IAAL,CAAUhB,GAAV,IAAiB,GAAjB,GAAuB,GAAzC;AACA,QAAMiB,KAAK,GAAGpC,MAAM,CAACC,IAAP,CAAYgC,UAAZ,CAAd;;AACA,MAAIG,KAAK,CAACX,MAAN,KAAiB,CAArB,EAAwB;AACpB,WAAON,GAAP;AACH;;AACD,SAAQA,GAAG,GACPe,SADI,GAEJE,KAAK,CACAN,GADL,CACUO,IAAD,IAAU;AACf,QAAIA,IAAI,KAAK,GAAb,EAAkB;AACd,aAAQ,OAAOJ,UAAU,CAACK,CAAX,CAAalB,KAAb,CAAmB,GAAnB,EAAwBU,GAAxB,CAA4BS,kBAA5B,EAAgDC,IAAhD,CAAqD,GAArD,CAAf;AACH;;AACD,WAAQ,GAAEH,IAAK,IAAGE,kBAAkB,CAACN,UAAU,CAACI,IAAD,CAAX,CAAmB,EAAvD;AACH,GAND,EAOKG,IAPL,CAOU,GAPV,CAFJ;AAUH;;AChBD,MAAMC,gBAAgB,GAAG,YAAzB;;AACA,SAASC,cAAT,CAAwBC,YAAxB,EAAsC;AAClC,SAAOA,YAAY,CAACZ,OAAb,CAAqB,YAArB,EAAmC,EAAnC,EAAuCX,KAAvC,CAA6C,GAA7C,CAAP;AACH;;AACD,AAAO,SAASwB,uBAAT,CAAiCzB,GAAjC,EAAsC;AACzC,QAAM0B,OAAO,GAAG1B,GAAG,CAAC2B,KAAJ,CAAUL,gBAAV,CAAhB;;AACA,MAAI,CAACI,OAAL,EAAc;AACV,WAAO,EAAP;AACH;;AACD,SAAOA,OAAO,CAACf,GAAR,CAAYY,cAAZ,EAA4BxC,MAA5B,CAAmC,CAAC6C,CAAD,EAAIC,CAAJ,KAAUD,CAAC,CAAClB,MAAF,CAASmB,CAAT,CAA7C,EAA0D,EAA1D,CAAP;AACH;;ACVM,SAASC,IAAT,CAAclD,MAAd,EAAsBmD,UAAtB,EAAkC;AACrC,SAAOlD,MAAM,CAACC,IAAP,CAAYF,MAAZ,EACF2B,MADE,CACMyB,MAAD,IAAY,CAACD,UAAU,CAACtB,QAAX,CAAoBuB,MAApB,CADlB,EAEFjD,MAFE,CAEK,CAACY,GAAD,EAAMV,GAAN,KAAc;AACtBU,IAAAA,GAAG,CAACV,GAAD,CAAH,GAAWL,MAAM,CAACK,GAAD,CAAjB;AACA,WAAOU,GAAP;AACH,GALM,EAKJ,EALI,CAAP;AAMH;;ACPD;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AACA;AACA,SAASsC,cAAT,CAAwBC,GAAxB,EAA6B;AACzB,SAAOA,GAAG,CACLjC,KADE,CACI,oBADJ,EAEFU,GAFE,CAEE,UAAUwB,IAAV,EAAgB;AACrB,QAAI,CAAC,eAAenB,IAAf,CAAoBmB,IAApB,CAAL,EAAgC;AAC5BA,MAAAA,IAAI,GAAGC,SAAS,CAACD,IAAD,CAAT,CAAgBvB,OAAhB,CAAwB,MAAxB,EAAgC,GAAhC,EAAqCA,OAArC,CAA6C,MAA7C,EAAqD,GAArD,CAAP;AACH;;AACD,WAAOuB,IAAP;AACH,GAPM,EAQFd,IARE,CAQG,EARH,CAAP;AASH;;AACD,SAASgB,gBAAT,CAA0BH,GAA1B,EAA+B;AAC3B,SAAOd,kBAAkB,CAACc,GAAD,CAAlB,CAAwBtB,OAAxB,CAAgC,UAAhC,EAA4C,UAAU0B,CAAV,EAAa;AAC5D,WAAO,MAAMA,CAAC,CAACC,UAAF,CAAa,CAAb,EAAgBC,QAAhB,CAAyB,EAAzB,EAA6BC,WAA7B,EAAb;AACH,GAFM,CAAP;AAGH;;AACD,SAASC,WAAT,CAAqBC,QAArB,EAA+BC,KAA/B,EAAsC3D,GAAtC,EAA2C;AACvC2D,EAAAA,KAAK,GACDD,QAAQ,KAAK,GAAb,IAAoBA,QAAQ,KAAK,GAAjC,GACMV,cAAc,CAACW,KAAD,CADpB,GAEMP,gBAAgB,CAACO,KAAD,CAH1B;;AAIA,MAAI3D,GAAJ,EAAS;AACL,WAAOoD,gBAAgB,CAACpD,GAAD,CAAhB,GAAwB,GAAxB,GAA8B2D,KAArC;AACH,GAFD,MAGK;AACD,WAAOA,KAAP;AACH;AACJ;;AACD,SAASC,SAAT,CAAmBD,KAAnB,EAA0B;AACtB,SAAOA,KAAK,KAAKhD,SAAV,IAAuBgD,KAAK,KAAK,IAAxC;AACH;;AACD,SAASE,aAAT,CAAuBH,QAAvB,EAAiC;AAC7B,SAAOA,QAAQ,KAAK,GAAb,IAAoBA,QAAQ,KAAK,GAAjC,IAAwCA,QAAQ,KAAK,GAA5D;AACH;;AACD,SAASI,SAAT,CAAmBC,OAAnB,EAA4BL,QAA5B,EAAsC1D,GAAtC,EAA2CgE,QAA3C,EAAqD;AACjD,MAAIL,KAAK,GAAGI,OAAO,CAAC/D,GAAD,CAAnB;AAAA,MAA0BK,MAAM,GAAG,EAAnC;;AACA,MAAIuD,SAAS,CAACD,KAAD,CAAT,IAAoBA,KAAK,KAAK,EAAlC,EAAsC;AAClC,QAAI,OAAOA,KAAP,KAAiB,QAAjB,IACA,OAAOA,KAAP,KAAiB,QADjB,IAEA,OAAOA,KAAP,KAAiB,SAFrB,EAEgC;AAC5BA,MAAAA,KAAK,GAAGA,KAAK,CAACJ,QAAN,EAAR;;AACA,UAAIS,QAAQ,IAAIA,QAAQ,KAAK,GAA7B,EAAkC;AAC9BL,QAAAA,KAAK,GAAGA,KAAK,CAACM,SAAN,CAAgB,CAAhB,EAAmBC,QAAQ,CAACF,QAAD,EAAW,EAAX,CAA3B,CAAR;AACH;;AACD3D,MAAAA,MAAM,CAAC8D,IAAP,CAAYV,WAAW,CAACC,QAAD,EAAWC,KAAX,EAAkBE,aAAa,CAACH,QAAD,CAAb,GAA0B1D,GAA1B,GAAgC,EAAlD,CAAvB;AACH,KARD,MASK;AACD,UAAIgE,QAAQ,KAAK,GAAjB,EAAsB;AAClB,YAAII,KAAK,CAACC,OAAN,CAAcV,KAAd,CAAJ,EAA0B;AACtBA,UAAAA,KAAK,CAACrC,MAAN,CAAasC,SAAb,EAAwBrD,OAAxB,CAAgC,UAAUoD,KAAV,EAAiB;AAC7CtD,YAAAA,MAAM,CAAC8D,IAAP,CAAYV,WAAW,CAACC,QAAD,EAAWC,KAAX,EAAkBE,aAAa,CAACH,QAAD,CAAb,GAA0B1D,GAA1B,GAAgC,EAAlD,CAAvB;AACH,WAFD;AAGH,SAJD,MAKK;AACDJ,UAAAA,MAAM,CAACC,IAAP,CAAY8D,KAAZ,EAAmBpD,OAAnB,CAA2B,UAAU+D,CAAV,EAAa;AACpC,gBAAIV,SAAS,CAACD,KAAK,CAACW,CAAD,CAAN,CAAb,EAAyB;AACrBjE,cAAAA,MAAM,CAAC8D,IAAP,CAAYV,WAAW,CAACC,QAAD,EAAWC,KAAK,CAACW,CAAD,CAAhB,EAAqBA,CAArB,CAAvB;AACH;AACJ,WAJD;AAKH;AACJ,OAbD,MAcK;AACD,cAAMC,GAAG,GAAG,EAAZ;;AACA,YAAIH,KAAK,CAACC,OAAN,CAAcV,KAAd,CAAJ,EAA0B;AACtBA,UAAAA,KAAK,CAACrC,MAAN,CAAasC,SAAb,EAAwBrD,OAAxB,CAAgC,UAAUoD,KAAV,EAAiB;AAC7CY,YAAAA,GAAG,CAACJ,IAAJ,CAASV,WAAW,CAACC,QAAD,EAAWC,KAAX,CAApB;AACH,WAFD;AAGH,SAJD,MAKK;AACD/D,UAAAA,MAAM,CAACC,IAAP,CAAY8D,KAAZ,EAAmBpD,OAAnB,CAA2B,UAAU+D,CAAV,EAAa;AACpC,gBAAIV,SAAS,CAACD,KAAK,CAACW,CAAD,CAAN,CAAb,EAAyB;AACrBC,cAAAA,GAAG,CAACJ,IAAJ,CAASf,gBAAgB,CAACkB,CAAD,CAAzB;AACAC,cAAAA,GAAG,CAACJ,IAAJ,CAASV,WAAW,CAACC,QAAD,EAAWC,KAAK,CAACW,CAAD,CAAL,CAASf,QAAT,EAAX,CAApB;AACH;AACJ,WALD;AAMH;;AACD,YAAIM,aAAa,CAACH,QAAD,CAAjB,EAA6B;AACzBrD,UAAAA,MAAM,CAAC8D,IAAP,CAAYf,gBAAgB,CAACpD,GAAD,CAAhB,GAAwB,GAAxB,GAA8BuE,GAAG,CAACnC,IAAJ,CAAS,GAAT,CAA1C;AACH,SAFD,MAGK,IAAImC,GAAG,CAAClD,MAAJ,KAAe,CAAnB,EAAsB;AACvBhB,UAAAA,MAAM,CAAC8D,IAAP,CAAYI,GAAG,CAACnC,IAAJ,CAAS,GAAT,CAAZ;AACH;AACJ;AACJ;AACJ,GAhDD,MAiDK;AACD,QAAIsB,QAAQ,KAAK,GAAjB,EAAsB;AAClB,UAAIE,SAAS,CAACD,KAAD,CAAb,EAAsB;AAClBtD,QAAAA,MAAM,CAAC8D,IAAP,CAAYf,gBAAgB,CAACpD,GAAD,CAA5B;AACH;AACJ,KAJD,MAKK,IAAI2D,KAAK,KAAK,EAAV,KAAiBD,QAAQ,KAAK,GAAb,IAAoBA,QAAQ,KAAK,GAAlD,CAAJ,EAA4D;AAC7DrD,MAAAA,MAAM,CAAC8D,IAAP,CAAYf,gBAAgB,CAACpD,GAAD,CAAhB,GAAwB,GAApC;AACH,KAFI,MAGA,IAAI2D,KAAK,KAAK,EAAd,EAAkB;AACnBtD,MAAAA,MAAM,CAAC8D,IAAP,CAAY,EAAZ;AACH;AACJ;;AACD,SAAO9D,MAAP;AACH;;AACD,AAAO,SAASmE,QAAT,CAAkBC,QAAlB,EAA4B;AAC/B,SAAO;AACHC,IAAAA,MAAM,EAAEA,MAAM,CAACC,IAAP,CAAY,IAAZ,EAAkBF,QAAlB;AADL,GAAP;AAGH;;AACD,SAASC,MAAT,CAAgBD,QAAhB,EAA0BV,OAA1B,EAAmC;AAC/B,MAAIa,SAAS,GAAG,CAAC,GAAD,EAAM,GAAN,EAAW,GAAX,EAAgB,GAAhB,EAAqB,GAArB,EAA0B,GAA1B,EAA+B,GAA/B,CAAhB;AACA,SAAOH,QAAQ,CAAC9C,OAAT,CAAiB,4BAAjB,EAA+C,UAAUkD,CAAV,EAAaC,UAAb,EAAyBC,OAAzB,EAAkC;AACpF,QAAID,UAAJ,EAAgB;AACZ,UAAIpB,QAAQ,GAAG,EAAf;AACA,YAAMsB,MAAM,GAAG,EAAf;;AACA,UAAIJ,SAAS,CAACK,OAAV,CAAkBH,UAAU,CAACI,MAAX,CAAkB,CAAlB,CAAlB,MAA4C,CAAC,CAAjD,EAAoD;AAChDxB,QAAAA,QAAQ,GAAGoB,UAAU,CAACI,MAAX,CAAkB,CAAlB,CAAX;AACAJ,QAAAA,UAAU,GAAGA,UAAU,CAACK,MAAX,CAAkB,CAAlB,CAAb;AACH;;AACDL,MAAAA,UAAU,CAAC9D,KAAX,CAAiB,IAAjB,EAAuBT,OAAvB,CAA+B,UAAU6E,QAAV,EAAoB;AAC/C,YAAIb,GAAG,GAAG,4BAA4Bc,IAA5B,CAAiCD,QAAjC,CAAV;AACAJ,QAAAA,MAAM,CAACb,IAAP,CAAYL,SAAS,CAACC,OAAD,EAAUL,QAAV,EAAoBa,GAAG,CAAC,CAAD,CAAvB,EAA4BA,GAAG,CAAC,CAAD,CAAH,IAAUA,GAAG,CAAC,CAAD,CAAzC,CAArB;AACH,OAHD;;AAIA,UAAIb,QAAQ,IAAIA,QAAQ,KAAK,GAA7B,EAAkC;AAC9B,YAAI5B,SAAS,GAAG,GAAhB;;AACA,YAAI4B,QAAQ,KAAK,GAAjB,EAAsB;AAClB5B,UAAAA,SAAS,GAAG,GAAZ;AACH,SAFD,MAGK,IAAI4B,QAAQ,KAAK,GAAjB,EAAsB;AACvB5B,UAAAA,SAAS,GAAG4B,QAAZ;AACH;;AACD,eAAO,CAACsB,MAAM,CAAC3D,MAAP,KAAkB,CAAlB,GAAsBqC,QAAtB,GAAiC,EAAlC,IAAwCsB,MAAM,CAAC5C,IAAP,CAAYN,SAAZ,CAA/C;AACH,OATD,MAUK;AACD,eAAOkD,MAAM,CAAC5C,IAAP,CAAY,GAAZ,CAAP;AACH;AACJ,KAxBD,MAyBK;AACD,aAAOY,cAAc,CAAC+B,OAAD,CAArB;AACH;AACJ,GA7BM,CAAP;AA8BH;;AC/JM,SAASO,KAAT,CAAelF,OAAf,EAAwB;AAC3B;AACA,MAAIU,MAAM,GAAGV,OAAO,CAACU,MAAR,CAAe0C,WAAf,EAAb,CAF2B;;AAI3B,MAAIzC,GAAG,GAAG,CAACX,OAAO,CAACW,GAAR,IAAe,GAAhB,EAAqBY,OAArB,CAA6B,cAA7B,EAA6C,MAA7C,CAAV;AACA,MAAIV,OAAO,GAAGrB,MAAM,CAACU,MAAP,CAAc,EAAd,EAAkBF,OAAO,CAACa,OAA1B,CAAd;AACA,MAAIsE,IAAJ;AACA,MAAI1D,UAAU,GAAGgB,IAAI,CAACzC,OAAD,EAAU,CAC3B,QAD2B,EAE3B,SAF2B,EAG3B,KAH2B,EAI3B,SAJ2B,EAK3B,SAL2B,EAM3B,WAN2B,CAAV,CAArB,CAP2B;;AAgB3B,QAAMoF,gBAAgB,GAAGhD,uBAAuB,CAACzB,GAAD,CAAhD;AACAA,EAAAA,GAAG,GAAGyD,QAAQ,CAACzD,GAAD,CAAR,CAAc2D,MAAd,CAAqB7C,UAArB,CAAN;;AACA,MAAI,CAAC,QAAQE,IAAR,CAAahB,GAAb,CAAL,EAAwB;AACpBA,IAAAA,GAAG,GAAGX,OAAO,CAACqF,OAAR,GAAkB1E,GAAxB;AACH;;AACD,QAAM2E,iBAAiB,GAAG9F,MAAM,CAACC,IAAP,CAAYO,OAAZ,EACrBkB,MADqB,CACbyB,MAAD,IAAYyC,gBAAgB,CAAChE,QAAjB,CAA0BuB,MAA1B,CADE,EAErBtB,MAFqB,CAEd,SAFc,CAA1B;AAGA,QAAMkE,mBAAmB,GAAG9C,IAAI,CAAChB,UAAD,EAAa6D,iBAAb,CAAhC;AACA,QAAME,eAAe,GAAG,6BAA6B7D,IAA7B,CAAkCd,OAAO,CAAC4E,MAA1C,CAAxB;;AACA,MAAI,CAACD,eAAL,EAAsB;AAClB,QAAIxF,OAAO,CAACe,SAAR,CAAkB2E,MAAtB,EAA8B;AAC1B;AACA7E,MAAAA,OAAO,CAAC4E,MAAR,GAAiB5E,OAAO,CAAC4E,MAAR,CACZ7E,KADY,CACN,GADM,EAEZU,GAFY,CAEPH,OAAD,IAAaA,OAAO,CAACI,OAAR,CAAgB,kDAAhB,EAAqE,uBAAsBvB,OAAO,CAACe,SAAR,CAAkB2E,MAAO,EAApH,CAFL,EAGZ1D,IAHY,CAGP,GAHO,CAAjB;AAIH;;AACD,QAAIhC,OAAO,CAACe,SAAR,CAAkBC,QAAlB,CAA2BC,MAA/B,EAAuC;AACnC,YAAM0E,wBAAwB,GAAG9E,OAAO,CAAC4E,MAAR,CAAenD,KAAf,CAAqB,qBAArB,KAA+C,EAAhF;AACAzB,MAAAA,OAAO,CAAC4E,MAAR,GAAiBE,wBAAwB,CACpCtE,MADY,CACLrB,OAAO,CAACe,SAAR,CAAkBC,QADb,EAEZM,GAFY,CAEPH,OAAD,IAAa;AAClB,cAAMuE,MAAM,GAAG1F,OAAO,CAACe,SAAR,CAAkB2E,MAAlB,GACR,IAAG1F,OAAO,CAACe,SAAR,CAAkB2E,MAAO,EADpB,GAET,OAFN;AAGA,eAAQ,0BAAyBvE,OAAQ,WAAUuE,MAAO,EAA1D;AACH,OAPgB,EAQZ1D,IARY,CAQP,GARO,CAAjB;AASH;AACJ,GA9C0B;AAgD3B;;;AACA,MAAI,CAAC,KAAD,EAAQ,MAAR,EAAgBZ,QAAhB,CAAyBV,MAAzB,CAAJ,EAAsC;AAClCC,IAAAA,GAAG,GAAGa,kBAAkB,CAACb,GAAD,EAAM4E,mBAAN,CAAxB;AACH,GAFD,MAGK;AACD,QAAI,UAAUA,mBAAd,EAAmC;AAC/BJ,MAAAA,IAAI,GAAGI,mBAAmB,CAACK,IAA3B;AACH,KAFD,MAGK;AACD,UAAIpG,MAAM,CAACC,IAAP,CAAY8F,mBAAZ,EAAiCtE,MAArC,EAA6C;AACzCkE,QAAAA,IAAI,GAAGI,mBAAP;AACH,OAFD,MAGK;AACD1E,QAAAA,OAAO,CAAC,gBAAD,CAAP,GAA4B,CAA5B;AACH;AACJ;AACJ,GAhE0B;;;AAkE3B,MAAI,CAACA,OAAO,CAAC,cAAD,CAAR,IAA4B,OAAOsE,IAAP,KAAgB,WAAhD,EAA6D;AACzDtE,IAAAA,OAAO,CAAC,cAAD,CAAP,GAA0B,iCAA1B;AACH,GApE0B;AAsE3B;;;AACA,MAAI,CAAC,OAAD,EAAU,KAAV,EAAiBO,QAAjB,CAA0BV,MAA1B,KAAqC,OAAOyE,IAAP,KAAgB,WAAzD,EAAsE;AAClEA,IAAAA,IAAI,GAAG,EAAP;AACH,GAzE0B;;;AA2E3B,SAAO3F,MAAM,CAACU,MAAP,CAAc;AAAEQ,IAAAA,MAAF;AAAUC,IAAAA,GAAV;AAAeE,IAAAA;AAAf,GAAd,EAAwC,OAAOsE,IAAP,KAAgB,WAAhB,GAA8B;AAAEA,IAAAA;AAAF,GAA9B,GAAyC,IAAjF,EAAuFnF,OAAO,CAAC6F,OAAR,GAAkB;AAAEA,IAAAA,OAAO,EAAE7F,OAAO,CAAC6F;AAAnB,GAAlB,GAAiD,IAAxI,CAAP;AACH;;AC9EM,SAASC,oBAAT,CAA8B/F,QAA9B,EAAwCU,KAAxC,EAA+CT,OAA/C,EAAwD;AAC3D,SAAOkF,KAAK,CAAC1E,KAAK,CAACT,QAAD,EAAWU,KAAX,EAAkBT,OAAlB,CAAN,CAAZ;AACH;;ACDM,SAAS+F,YAAT,CAAsBC,WAAtB,EAAmCC,WAAnC,EAAgD;AACnD,QAAMC,QAAQ,GAAG1F,KAAK,CAACwF,WAAD,EAAcC,WAAd,CAAtB;AACA,QAAME,QAAQ,GAAGL,oBAAoB,CAACvB,IAArB,CAA0B,IAA1B,EAAgC2B,QAAhC,CAAjB;AACA,SAAO1G,MAAM,CAACU,MAAP,CAAciG,QAAd,EAAwB;AAC3BD,IAAAA,QAD2B;AAE3BnG,IAAAA,QAAQ,EAAEgG,YAAY,CAACxB,IAAb,CAAkB,IAAlB,EAAwB2B,QAAxB,CAFiB;AAG3B1F,IAAAA,KAAK,EAAEA,KAAK,CAAC+D,IAAN,CAAW,IAAX,EAAiB2B,QAAjB,CAHoB;AAI3BhB,IAAAA;AAJ2B,GAAxB,CAAP;AAMH;;ACZM,MAAMkB,OAAO,GAAG,mBAAhB;;ACEP,MAAMC,SAAS,GAAI,uBAAsBD,OAAQ,IAAGE,+BAAY,EAAG,EAAnE;AAEA;;AACA,AAAO,MAAMJ,QAAQ,GAAG;AACpBxF,EAAAA,MAAM,EAAE,KADY;AAEpB2E,EAAAA,OAAO,EAAE,wBAFW;AAGpBxE,EAAAA,OAAO,EAAE;AACL4E,IAAAA,MAAM,EAAE,gCADH;AAEL,kBAAcY;AAFT,GAHW;AAOpBtF,EAAAA,SAAS,EAAE;AACP2E,IAAAA,MAAM,EAAE,EADD;AAEP1E,IAAAA,QAAQ,EAAE;AAFH;AAPS,CAAjB;;MCHMmF,QAAQ,GAAGJ,YAAY,CAAC,IAAD,EAAOG,QAAP,CAA7B;;;;"} \ No newline at end of file diff --git a/node_modules/@octokit/endpoint/dist-src/defaults.js b/node_modules/@octokit/endpoint/dist-src/defaults.js deleted file mode 100644 index 456e586..0000000 --- a/node_modules/@octokit/endpoint/dist-src/defaults.js +++ /dev/null @@ -1,17 +0,0 @@ -import { getUserAgent } from "universal-user-agent"; -import { VERSION } from "./version"; -const userAgent = `octokit-endpoint.js/${VERSION} ${getUserAgent()}`; -// DEFAULTS has all properties set that EndpointOptions has, except url. -// So we use RequestParameters and add method as additional required property. -export const DEFAULTS = { - method: "GET", - baseUrl: "https://api.github.com", - headers: { - accept: "application/vnd.github.v3+json", - "user-agent": userAgent, - }, - mediaType: { - format: "", - previews: [], - }, -}; diff --git a/node_modules/@octokit/endpoint/dist-src/endpoint-with-defaults.js b/node_modules/@octokit/endpoint/dist-src/endpoint-with-defaults.js deleted file mode 100644 index 5763758..0000000 --- a/node_modules/@octokit/endpoint/dist-src/endpoint-with-defaults.js +++ /dev/null @@ -1,5 +0,0 @@ -import { merge } from "./merge"; -import { parse } from "./parse"; -export function endpointWithDefaults(defaults, route, options) { - return parse(merge(defaults, route, options)); -} diff --git a/node_modules/@octokit/endpoint/dist-src/index.js b/node_modules/@octokit/endpoint/dist-src/index.js deleted file mode 100644 index 599917f..0000000 --- a/node_modules/@octokit/endpoint/dist-src/index.js +++ /dev/null @@ -1,3 +0,0 @@ -import { withDefaults } from "./with-defaults"; -import { DEFAULTS } from "./defaults"; -export const endpoint = withDefaults(null, DEFAULTS); diff --git a/node_modules/@octokit/endpoint/dist-src/merge.js b/node_modules/@octokit/endpoint/dist-src/merge.js deleted file mode 100644 index 1abcecf..0000000 --- a/node_modules/@octokit/endpoint/dist-src/merge.js +++ /dev/null @@ -1,26 +0,0 @@ -import { lowercaseKeys } from "./util/lowercase-keys"; -import { mergeDeep } from "./util/merge-deep"; -import { removeUndefinedProperties } from "./util/remove-undefined-properties"; -export function merge(defaults, route, options) { - if (typeof route === "string") { - let [method, url] = route.split(" "); - options = Object.assign(url ? { method, url } : { url: method }, options); - } - else { - options = Object.assign({}, route); - } - // lowercase header names before merging with defaults to avoid duplicates - options.headers = lowercaseKeys(options.headers); - // remove properties with undefined values before merging - removeUndefinedProperties(options); - removeUndefinedProperties(options.headers); - const mergedOptions = mergeDeep(defaults || {}, options); - // mediaType.previews arrays are merged, instead of overwritten - if (defaults && defaults.mediaType.previews.length) { - mergedOptions.mediaType.previews = defaults.mediaType.previews - .filter((preview) => !mergedOptions.mediaType.previews.includes(preview)) - .concat(mergedOptions.mediaType.previews); - } - mergedOptions.mediaType.previews = mergedOptions.mediaType.previews.map((preview) => preview.replace(/-preview/, "")); - return mergedOptions; -} diff --git a/node_modules/@octokit/endpoint/dist-src/parse.js b/node_modules/@octokit/endpoint/dist-src/parse.js deleted file mode 100644 index 6bdd1bf..0000000 --- a/node_modules/@octokit/endpoint/dist-src/parse.js +++ /dev/null @@ -1,81 +0,0 @@ -import { addQueryParameters } from "./util/add-query-parameters"; -import { extractUrlVariableNames } from "./util/extract-url-variable-names"; -import { omit } from "./util/omit"; -import { parseUrl } from "./util/url-template"; -export function parse(options) { - // https://fetch.spec.whatwg.org/#methods - let method = options.method.toUpperCase(); - // replace :varname with {varname} to make it RFC 6570 compatible - let url = (options.url || "/").replace(/:([a-z]\w+)/g, "{$1}"); - let headers = Object.assign({}, options.headers); - let body; - let parameters = omit(options, [ - "method", - "baseUrl", - "url", - "headers", - "request", - "mediaType", - ]); - // extract variable names from URL to calculate remaining variables later - const urlVariableNames = extractUrlVariableNames(url); - url = parseUrl(url).expand(parameters); - if (!/^http/.test(url)) { - url = options.baseUrl + url; - } - const omittedParameters = Object.keys(options) - .filter((option) => urlVariableNames.includes(option)) - .concat("baseUrl"); - const remainingParameters = omit(parameters, omittedParameters); - const isBinaryRequest = /application\/octet-stream/i.test(headers.accept); - if (!isBinaryRequest) { - if (options.mediaType.format) { - // e.g. application/vnd.github.v3+json => application/vnd.github.v3.raw - headers.accept = headers.accept - .split(/,/) - .map((preview) => preview.replace(/application\/vnd(\.\w+)(\.v3)?(\.\w+)?(\+json)?$/, `application/vnd$1$2.${options.mediaType.format}`)) - .join(","); - } - if (options.mediaType.previews.length) { - const previewsFromAcceptHeader = headers.accept.match(/[\w-]+(?=-preview)/g) || []; - headers.accept = previewsFromAcceptHeader - .concat(options.mediaType.previews) - .map((preview) => { - const format = options.mediaType.format - ? `.${options.mediaType.format}` - : "+json"; - return `application/vnd.github.${preview}-preview${format}`; - }) - .join(","); - } - } - // for GET/HEAD requests, set URL query parameters from remaining parameters - // for PATCH/POST/PUT/DELETE requests, set request body from remaining parameters - if (["GET", "HEAD"].includes(method)) { - url = addQueryParameters(url, remainingParameters); - } - else { - if ("data" in remainingParameters) { - body = remainingParameters.data; - } - else { - if (Object.keys(remainingParameters).length) { - body = remainingParameters; - } - else { - headers["content-length"] = 0; - } - } - } - // default content-type for JSON if body is set - if (!headers["content-type"] && typeof body !== "undefined") { - headers["content-type"] = "application/json; charset=utf-8"; - } - // GitHub expects 'content-length: 0' header for PUT/PATCH requests without body. - // fetch does not allow to set `content-length` header, but we can set body to an empty string - if (["PATCH", "PUT"].includes(method) && typeof body === "undefined") { - body = ""; - } - // Only return body/request keys if present - return Object.assign({ method, url, headers }, typeof body !== "undefined" ? { body } : null, options.request ? { request: options.request } : null); -} diff --git a/node_modules/@octokit/endpoint/dist-src/util/add-query-parameters.js b/node_modules/@octokit/endpoint/dist-src/util/add-query-parameters.js deleted file mode 100644 index d26be31..0000000 --- a/node_modules/@octokit/endpoint/dist-src/util/add-query-parameters.js +++ /dev/null @@ -1,17 +0,0 @@ -export function addQueryParameters(url, parameters) { - const separator = /\?/.test(url) ? "&" : "?"; - const names = Object.keys(parameters); - if (names.length === 0) { - return url; - } - return (url + - separator + - names - .map((name) => { - if (name === "q") { - return ("q=" + parameters.q.split("+").map(encodeURIComponent).join("+")); - } - return `${name}=${encodeURIComponent(parameters[name])}`; - }) - .join("&")); -} diff --git a/node_modules/@octokit/endpoint/dist-src/util/extract-url-variable-names.js b/node_modules/@octokit/endpoint/dist-src/util/extract-url-variable-names.js deleted file mode 100644 index 3e75db2..0000000 --- a/node_modules/@octokit/endpoint/dist-src/util/extract-url-variable-names.js +++ /dev/null @@ -1,11 +0,0 @@ -const urlVariableRegex = /\{[^}]+\}/g; -function removeNonChars(variableName) { - return variableName.replace(/^\W+|\W+$/g, "").split(/,/); -} -export function extractUrlVariableNames(url) { - const matches = url.match(urlVariableRegex); - if (!matches) { - return []; - } - return matches.map(removeNonChars).reduce((a, b) => a.concat(b), []); -} diff --git a/node_modules/@octokit/endpoint/dist-src/util/lowercase-keys.js b/node_modules/@octokit/endpoint/dist-src/util/lowercase-keys.js deleted file mode 100644 index 0780642..0000000 --- a/node_modules/@octokit/endpoint/dist-src/util/lowercase-keys.js +++ /dev/null @@ -1,9 +0,0 @@ -export function lowercaseKeys(object) { - if (!object) { - return {}; - } - return Object.keys(object).reduce((newObj, key) => { - newObj[key.toLowerCase()] = object[key]; - return newObj; - }, {}); -} diff --git a/node_modules/@octokit/endpoint/dist-src/util/merge-deep.js b/node_modules/@octokit/endpoint/dist-src/util/merge-deep.js deleted file mode 100644 index d92aca3..0000000 --- a/node_modules/@octokit/endpoint/dist-src/util/merge-deep.js +++ /dev/null @@ -1,16 +0,0 @@ -import { isPlainObject } from "is-plain-object"; -export function mergeDeep(defaults, options) { - const result = Object.assign({}, defaults); - Object.keys(options).forEach((key) => { - if (isPlainObject(options[key])) { - if (!(key in defaults)) - Object.assign(result, { [key]: options[key] }); - else - result[key] = mergeDeep(defaults[key], options[key]); - } - else { - Object.assign(result, { [key]: options[key] }); - } - }); - return result; -} diff --git a/node_modules/@octokit/endpoint/dist-src/util/omit.js b/node_modules/@octokit/endpoint/dist-src/util/omit.js deleted file mode 100644 index 6245031..0000000 --- a/node_modules/@octokit/endpoint/dist-src/util/omit.js +++ /dev/null @@ -1,8 +0,0 @@ -export function omit(object, keysToOmit) { - return Object.keys(object) - .filter((option) => !keysToOmit.includes(option)) - .reduce((obj, key) => { - obj[key] = object[key]; - return obj; - }, {}); -} diff --git a/node_modules/@octokit/endpoint/dist-src/util/remove-undefined-properties.js b/node_modules/@octokit/endpoint/dist-src/util/remove-undefined-properties.js deleted file mode 100644 index 6b5ee5f..0000000 --- a/node_modules/@octokit/endpoint/dist-src/util/remove-undefined-properties.js +++ /dev/null @@ -1,8 +0,0 @@ -export function removeUndefinedProperties(obj) { - for (const key in obj) { - if (obj[key] === undefined) { - delete obj[key]; - } - } - return obj; -} diff --git a/node_modules/@octokit/endpoint/dist-src/util/url-template.js b/node_modules/@octokit/endpoint/dist-src/util/url-template.js deleted file mode 100644 index 439b3fe..0000000 --- a/node_modules/@octokit/endpoint/dist-src/util/url-template.js +++ /dev/null @@ -1,164 +0,0 @@ -// Based on https://github.com/bramstein/url-template, licensed under BSD -// TODO: create separate package. -// -// Copyright (c) 2012-2014, Bram Stein -// All rights reserved. -// Redistribution and use in source and binary forms, with or without -// modification, are permitted provided that the following conditions -// are met: -// 1. Redistributions of source code must retain the above copyright -// notice, this list of conditions and the following disclaimer. -// 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. -// 3. The name of the author may not be used to endorse or promote products -// derived from this software without specific prior written permission. -// THIS SOFTWARE IS PROVIDED BY THE AUTHOR "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. -/* istanbul ignore file */ -function encodeReserved(str) { - return str - .split(/(%[0-9A-Fa-f]{2})/g) - .map(function (part) { - if (!/%[0-9A-Fa-f]/.test(part)) { - part = encodeURI(part).replace(/%5B/g, "[").replace(/%5D/g, "]"); - } - return part; - }) - .join(""); -} -function encodeUnreserved(str) { - return encodeURIComponent(str).replace(/[!'()*]/g, function (c) { - return "%" + c.charCodeAt(0).toString(16).toUpperCase(); - }); -} -function encodeValue(operator, value, key) { - value = - operator === "+" || operator === "#" - ? encodeReserved(value) - : encodeUnreserved(value); - if (key) { - return encodeUnreserved(key) + "=" + value; - } - else { - return value; - } -} -function isDefined(value) { - return value !== undefined && value !== null; -} -function isKeyOperator(operator) { - return operator === ";" || operator === "&" || operator === "?"; -} -function getValues(context, operator, key, modifier) { - var value = context[key], result = []; - if (isDefined(value) && value !== "") { - if (typeof value === "string" || - typeof value === "number" || - typeof value === "boolean") { - value = value.toString(); - if (modifier && modifier !== "*") { - value = value.substring(0, parseInt(modifier, 10)); - } - result.push(encodeValue(operator, value, isKeyOperator(operator) ? key : "")); - } - else { - if (modifier === "*") { - if (Array.isArray(value)) { - value.filter(isDefined).forEach(function (value) { - result.push(encodeValue(operator, value, isKeyOperator(operator) ? key : "")); - }); - } - else { - Object.keys(value).forEach(function (k) { - if (isDefined(value[k])) { - result.push(encodeValue(operator, value[k], k)); - } - }); - } - } - else { - const tmp = []; - if (Array.isArray(value)) { - value.filter(isDefined).forEach(function (value) { - tmp.push(encodeValue(operator, value)); - }); - } - else { - Object.keys(value).forEach(function (k) { - if (isDefined(value[k])) { - tmp.push(encodeUnreserved(k)); - tmp.push(encodeValue(operator, value[k].toString())); - } - }); - } - if (isKeyOperator(operator)) { - result.push(encodeUnreserved(key) + "=" + tmp.join(",")); - } - else if (tmp.length !== 0) { - result.push(tmp.join(",")); - } - } - } - } - else { - if (operator === ";") { - if (isDefined(value)) { - result.push(encodeUnreserved(key)); - } - } - else if (value === "" && (operator === "&" || operator === "?")) { - result.push(encodeUnreserved(key) + "="); - } - else if (value === "") { - result.push(""); - } - } - return result; -} -export function parseUrl(template) { - return { - expand: expand.bind(null, template), - }; -} -function expand(template, context) { - var operators = ["+", "#", ".", "/", ";", "?", "&"]; - return template.replace(/\{([^\{\}]+)\}|([^\{\}]+)/g, function (_, expression, literal) { - if (expression) { - let operator = ""; - const values = []; - if (operators.indexOf(expression.charAt(0)) !== -1) { - operator = expression.charAt(0); - expression = expression.substr(1); - } - expression.split(/,/g).forEach(function (variable) { - var tmp = /([^:\*]*)(?::(\d+)|(\*))?/.exec(variable); - values.push(getValues(context, operator, tmp[1], tmp[2] || tmp[3])); - }); - if (operator && operator !== "+") { - var separator = ","; - if (operator === "?") { - separator = "&"; - } - else if (operator !== "#") { - separator = operator; - } - return (values.length !== 0 ? operator : "") + values.join(separator); - } - else { - return values.join(","); - } - } - else { - return encodeReserved(literal); - } - }); -} diff --git a/node_modules/@octokit/endpoint/dist-src/version.js b/node_modules/@octokit/endpoint/dist-src/version.js deleted file mode 100644 index 930e255..0000000 --- a/node_modules/@octokit/endpoint/dist-src/version.js +++ /dev/null @@ -1 +0,0 @@ -export const VERSION = "6.0.12"; diff --git a/node_modules/@octokit/endpoint/dist-src/with-defaults.js b/node_modules/@octokit/endpoint/dist-src/with-defaults.js deleted file mode 100644 index 81baf6c..0000000 --- a/node_modules/@octokit/endpoint/dist-src/with-defaults.js +++ /dev/null @@ -1,13 +0,0 @@ -import { endpointWithDefaults } from "./endpoint-with-defaults"; -import { merge } from "./merge"; -import { parse } from "./parse"; -export function withDefaults(oldDefaults, newDefaults) { - const DEFAULTS = merge(oldDefaults, newDefaults); - const endpoint = endpointWithDefaults.bind(null, DEFAULTS); - return Object.assign(endpoint, { - DEFAULTS, - defaults: withDefaults.bind(null, DEFAULTS), - merge: merge.bind(null, DEFAULTS), - parse, - }); -} diff --git a/node_modules/@octokit/endpoint/dist-types/defaults.d.ts b/node_modules/@octokit/endpoint/dist-types/defaults.d.ts deleted file mode 100644 index 30fcd20..0000000 --- a/node_modules/@octokit/endpoint/dist-types/defaults.d.ts +++ /dev/null @@ -1,2 +0,0 @@ -import { EndpointDefaults } from "@octokit/types"; -export declare const DEFAULTS: EndpointDefaults; diff --git a/node_modules/@octokit/endpoint/dist-types/endpoint-with-defaults.d.ts b/node_modules/@octokit/endpoint/dist-types/endpoint-with-defaults.d.ts deleted file mode 100644 index ff39e5e..0000000 --- a/node_modules/@octokit/endpoint/dist-types/endpoint-with-defaults.d.ts +++ /dev/null @@ -1,3 +0,0 @@ -import { EndpointOptions, RequestParameters, Route } from "@octokit/types"; -import { DEFAULTS } from "./defaults"; -export declare function endpointWithDefaults(defaults: typeof DEFAULTS, route: Route | EndpointOptions, options?: RequestParameters): import("@octokit/types").RequestOptions; diff --git a/node_modules/@octokit/endpoint/dist-types/index.d.ts b/node_modules/@octokit/endpoint/dist-types/index.d.ts deleted file mode 100644 index 1ede136..0000000 --- a/node_modules/@octokit/endpoint/dist-types/index.d.ts +++ /dev/null @@ -1 +0,0 @@ -export declare const endpoint: import("@octokit/types").EndpointInterface; diff --git a/node_modules/@octokit/endpoint/dist-types/merge.d.ts b/node_modules/@octokit/endpoint/dist-types/merge.d.ts deleted file mode 100644 index b75a15e..0000000 --- a/node_modules/@octokit/endpoint/dist-types/merge.d.ts +++ /dev/null @@ -1,2 +0,0 @@ -import { EndpointDefaults, RequestParameters, Route } from "@octokit/types"; -export declare function merge(defaults: EndpointDefaults | null, route?: Route | RequestParameters, options?: RequestParameters): EndpointDefaults; diff --git a/node_modules/@octokit/endpoint/dist-types/parse.d.ts b/node_modules/@octokit/endpoint/dist-types/parse.d.ts deleted file mode 100644 index fbe2144..0000000 --- a/node_modules/@octokit/endpoint/dist-types/parse.d.ts +++ /dev/null @@ -1,2 +0,0 @@ -import { EndpointDefaults, RequestOptions } from "@octokit/types"; -export declare function parse(options: EndpointDefaults): RequestOptions; diff --git a/node_modules/@octokit/endpoint/dist-types/util/add-query-parameters.d.ts b/node_modules/@octokit/endpoint/dist-types/util/add-query-parameters.d.ts deleted file mode 100644 index 4b192ac..0000000 --- a/node_modules/@octokit/endpoint/dist-types/util/add-query-parameters.d.ts +++ /dev/null @@ -1,4 +0,0 @@ -export declare function addQueryParameters(url: string, parameters: { - [x: string]: string | undefined; - q?: string; -}): string; diff --git a/node_modules/@octokit/endpoint/dist-types/util/extract-url-variable-names.d.ts b/node_modules/@octokit/endpoint/dist-types/util/extract-url-variable-names.d.ts deleted file mode 100644 index 93586d4..0000000 --- a/node_modules/@octokit/endpoint/dist-types/util/extract-url-variable-names.d.ts +++ /dev/null @@ -1 +0,0 @@ -export declare function extractUrlVariableNames(url: string): string[]; diff --git a/node_modules/@octokit/endpoint/dist-types/util/lowercase-keys.d.ts b/node_modules/@octokit/endpoint/dist-types/util/lowercase-keys.d.ts deleted file mode 100644 index 1daf307..0000000 --- a/node_modules/@octokit/endpoint/dist-types/util/lowercase-keys.d.ts +++ /dev/null @@ -1,5 +0,0 @@ -export declare function lowercaseKeys(object?: { - [key: string]: any; -}): { - [key: string]: any; -}; diff --git a/node_modules/@octokit/endpoint/dist-types/util/merge-deep.d.ts b/node_modules/@octokit/endpoint/dist-types/util/merge-deep.d.ts deleted file mode 100644 index 914411c..0000000 --- a/node_modules/@octokit/endpoint/dist-types/util/merge-deep.d.ts +++ /dev/null @@ -1 +0,0 @@ -export declare function mergeDeep(defaults: any, options: any): object; diff --git a/node_modules/@octokit/endpoint/dist-types/util/omit.d.ts b/node_modules/@octokit/endpoint/dist-types/util/omit.d.ts deleted file mode 100644 index 06927d6..0000000 --- a/node_modules/@octokit/endpoint/dist-types/util/omit.d.ts +++ /dev/null @@ -1,5 +0,0 @@ -export declare function omit(object: { - [key: string]: any; -}, keysToOmit: string[]): { - [key: string]: any; -}; diff --git a/node_modules/@octokit/endpoint/dist-types/util/remove-undefined-properties.d.ts b/node_modules/@octokit/endpoint/dist-types/util/remove-undefined-properties.d.ts deleted file mode 100644 index 92d8d85..0000000 --- a/node_modules/@octokit/endpoint/dist-types/util/remove-undefined-properties.d.ts +++ /dev/null @@ -1 +0,0 @@ -export declare function removeUndefinedProperties(obj: any): any; diff --git a/node_modules/@octokit/endpoint/dist-types/util/url-template.d.ts b/node_modules/@octokit/endpoint/dist-types/util/url-template.d.ts deleted file mode 100644 index 5d967ca..0000000 --- a/node_modules/@octokit/endpoint/dist-types/util/url-template.d.ts +++ /dev/null @@ -1,3 +0,0 @@ -export declare function parseUrl(template: string): { - expand: (context: object) => string; -}; diff --git a/node_modules/@octokit/endpoint/dist-types/version.d.ts b/node_modules/@octokit/endpoint/dist-types/version.d.ts deleted file mode 100644 index 330d47a..0000000 --- a/node_modules/@octokit/endpoint/dist-types/version.d.ts +++ /dev/null @@ -1 +0,0 @@ -export declare const VERSION = "6.0.12"; diff --git a/node_modules/@octokit/endpoint/dist-types/with-defaults.d.ts b/node_modules/@octokit/endpoint/dist-types/with-defaults.d.ts deleted file mode 100644 index 6f5afd1..0000000 --- a/node_modules/@octokit/endpoint/dist-types/with-defaults.d.ts +++ /dev/null @@ -1,2 +0,0 @@ -import { EndpointInterface, RequestParameters, EndpointDefaults } from "@octokit/types"; -export declare function withDefaults(oldDefaults: EndpointDefaults | null, newDefaults: RequestParameters): EndpointInterface; diff --git a/node_modules/@octokit/endpoint/dist-web/index.js b/node_modules/@octokit/endpoint/dist-web/index.js deleted file mode 100644 index e152163..0000000 --- a/node_modules/@octokit/endpoint/dist-web/index.js +++ /dev/null @@ -1,381 +0,0 @@ -import { isPlainObject } from 'is-plain-object'; -import { getUserAgent } from 'universal-user-agent'; - -function lowercaseKeys(object) { - if (!object) { - return {}; - } - return Object.keys(object).reduce((newObj, key) => { - newObj[key.toLowerCase()] = object[key]; - return newObj; - }, {}); -} - -function mergeDeep(defaults, options) { - const result = Object.assign({}, defaults); - Object.keys(options).forEach((key) => { - if (isPlainObject(options[key])) { - if (!(key in defaults)) - Object.assign(result, { [key]: options[key] }); - else - result[key] = mergeDeep(defaults[key], options[key]); - } - else { - Object.assign(result, { [key]: options[key] }); - } - }); - return result; -} - -function removeUndefinedProperties(obj) { - for (const key in obj) { - if (obj[key] === undefined) { - delete obj[key]; - } - } - return obj; -} - -function merge(defaults, route, options) { - if (typeof route === "string") { - let [method, url] = route.split(" "); - options = Object.assign(url ? { method, url } : { url: method }, options); - } - else { - options = Object.assign({}, route); - } - // lowercase header names before merging with defaults to avoid duplicates - options.headers = lowercaseKeys(options.headers); - // remove properties with undefined values before merging - removeUndefinedProperties(options); - removeUndefinedProperties(options.headers); - const mergedOptions = mergeDeep(defaults || {}, options); - // mediaType.previews arrays are merged, instead of overwritten - if (defaults && defaults.mediaType.previews.length) { - mergedOptions.mediaType.previews = defaults.mediaType.previews - .filter((preview) => !mergedOptions.mediaType.previews.includes(preview)) - .concat(mergedOptions.mediaType.previews); - } - mergedOptions.mediaType.previews = mergedOptions.mediaType.previews.map((preview) => preview.replace(/-preview/, "")); - return mergedOptions; -} - -function addQueryParameters(url, parameters) { - const separator = /\?/.test(url) ? "&" : "?"; - const names = Object.keys(parameters); - if (names.length === 0) { - return url; - } - return (url + - separator + - names - .map((name) => { - if (name === "q") { - return ("q=" + parameters.q.split("+").map(encodeURIComponent).join("+")); - } - return `${name}=${encodeURIComponent(parameters[name])}`; - }) - .join("&")); -} - -const urlVariableRegex = /\{[^}]+\}/g; -function removeNonChars(variableName) { - return variableName.replace(/^\W+|\W+$/g, "").split(/,/); -} -function extractUrlVariableNames(url) { - const matches = url.match(urlVariableRegex); - if (!matches) { - return []; - } - return matches.map(removeNonChars).reduce((a, b) => a.concat(b), []); -} - -function omit(object, keysToOmit) { - return Object.keys(object) - .filter((option) => !keysToOmit.includes(option)) - .reduce((obj, key) => { - obj[key] = object[key]; - return obj; - }, {}); -} - -// Based on https://github.com/bramstein/url-template, licensed under BSD -// TODO: create separate package. -// -// Copyright (c) 2012-2014, Bram Stein -// All rights reserved. -// Redistribution and use in source and binary forms, with or without -// modification, are permitted provided that the following conditions -// are met: -// 1. Redistributions of source code must retain the above copyright -// notice, this list of conditions and the following disclaimer. -// 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. -// 3. The name of the author may not be used to endorse or promote products -// derived from this software without specific prior written permission. -// THIS SOFTWARE IS PROVIDED BY THE AUTHOR "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. -/* istanbul ignore file */ -function encodeReserved(str) { - return str - .split(/(%[0-9A-Fa-f]{2})/g) - .map(function (part) { - if (!/%[0-9A-Fa-f]/.test(part)) { - part = encodeURI(part).replace(/%5B/g, "[").replace(/%5D/g, "]"); - } - return part; - }) - .join(""); -} -function encodeUnreserved(str) { - return encodeURIComponent(str).replace(/[!'()*]/g, function (c) { - return "%" + c.charCodeAt(0).toString(16).toUpperCase(); - }); -} -function encodeValue(operator, value, key) { - value = - operator === "+" || operator === "#" - ? encodeReserved(value) - : encodeUnreserved(value); - if (key) { - return encodeUnreserved(key) + "=" + value; - } - else { - return value; - } -} -function isDefined(value) { - return value !== undefined && value !== null; -} -function isKeyOperator(operator) { - return operator === ";" || operator === "&" || operator === "?"; -} -function getValues(context, operator, key, modifier) { - var value = context[key], result = []; - if (isDefined(value) && value !== "") { - if (typeof value === "string" || - typeof value === "number" || - typeof value === "boolean") { - value = value.toString(); - if (modifier && modifier !== "*") { - value = value.substring(0, parseInt(modifier, 10)); - } - result.push(encodeValue(operator, value, isKeyOperator(operator) ? key : "")); - } - else { - if (modifier === "*") { - if (Array.isArray(value)) { - value.filter(isDefined).forEach(function (value) { - result.push(encodeValue(operator, value, isKeyOperator(operator) ? key : "")); - }); - } - else { - Object.keys(value).forEach(function (k) { - if (isDefined(value[k])) { - result.push(encodeValue(operator, value[k], k)); - } - }); - } - } - else { - const tmp = []; - if (Array.isArray(value)) { - value.filter(isDefined).forEach(function (value) { - tmp.push(encodeValue(operator, value)); - }); - } - else { - Object.keys(value).forEach(function (k) { - if (isDefined(value[k])) { - tmp.push(encodeUnreserved(k)); - tmp.push(encodeValue(operator, value[k].toString())); - } - }); - } - if (isKeyOperator(operator)) { - result.push(encodeUnreserved(key) + "=" + tmp.join(",")); - } - else if (tmp.length !== 0) { - result.push(tmp.join(",")); - } - } - } - } - else { - if (operator === ";") { - if (isDefined(value)) { - result.push(encodeUnreserved(key)); - } - } - else if (value === "" && (operator === "&" || operator === "?")) { - result.push(encodeUnreserved(key) + "="); - } - else if (value === "") { - result.push(""); - } - } - return result; -} -function parseUrl(template) { - return { - expand: expand.bind(null, template), - }; -} -function expand(template, context) { - var operators = ["+", "#", ".", "/", ";", "?", "&"]; - return template.replace(/\{([^\{\}]+)\}|([^\{\}]+)/g, function (_, expression, literal) { - if (expression) { - let operator = ""; - const values = []; - if (operators.indexOf(expression.charAt(0)) !== -1) { - operator = expression.charAt(0); - expression = expression.substr(1); - } - expression.split(/,/g).forEach(function (variable) { - var tmp = /([^:\*]*)(?::(\d+)|(\*))?/.exec(variable); - values.push(getValues(context, operator, tmp[1], tmp[2] || tmp[3])); - }); - if (operator && operator !== "+") { - var separator = ","; - if (operator === "?") { - separator = "&"; - } - else if (operator !== "#") { - separator = operator; - } - return (values.length !== 0 ? operator : "") + values.join(separator); - } - else { - return values.join(","); - } - } - else { - return encodeReserved(literal); - } - }); -} - -function parse(options) { - // https://fetch.spec.whatwg.org/#methods - let method = options.method.toUpperCase(); - // replace :varname with {varname} to make it RFC 6570 compatible - let url = (options.url || "/").replace(/:([a-z]\w+)/g, "{$1}"); - let headers = Object.assign({}, options.headers); - let body; - let parameters = omit(options, [ - "method", - "baseUrl", - "url", - "headers", - "request", - "mediaType", - ]); - // extract variable names from URL to calculate remaining variables later - const urlVariableNames = extractUrlVariableNames(url); - url = parseUrl(url).expand(parameters); - if (!/^http/.test(url)) { - url = options.baseUrl + url; - } - const omittedParameters = Object.keys(options) - .filter((option) => urlVariableNames.includes(option)) - .concat("baseUrl"); - const remainingParameters = omit(parameters, omittedParameters); - const isBinaryRequest = /application\/octet-stream/i.test(headers.accept); - if (!isBinaryRequest) { - if (options.mediaType.format) { - // e.g. application/vnd.github.v3+json => application/vnd.github.v3.raw - headers.accept = headers.accept - .split(/,/) - .map((preview) => preview.replace(/application\/vnd(\.\w+)(\.v3)?(\.\w+)?(\+json)?$/, `application/vnd$1$2.${options.mediaType.format}`)) - .join(","); - } - if (options.mediaType.previews.length) { - const previewsFromAcceptHeader = headers.accept.match(/[\w-]+(?=-preview)/g) || []; - headers.accept = previewsFromAcceptHeader - .concat(options.mediaType.previews) - .map((preview) => { - const format = options.mediaType.format - ? `.${options.mediaType.format}` - : "+json"; - return `application/vnd.github.${preview}-preview${format}`; - }) - .join(","); - } - } - // for GET/HEAD requests, set URL query parameters from remaining parameters - // for PATCH/POST/PUT/DELETE requests, set request body from remaining parameters - if (["GET", "HEAD"].includes(method)) { - url = addQueryParameters(url, remainingParameters); - } - else { - if ("data" in remainingParameters) { - body = remainingParameters.data; - } - else { - if (Object.keys(remainingParameters).length) { - body = remainingParameters; - } - else { - headers["content-length"] = 0; - } - } - } - // default content-type for JSON if body is set - if (!headers["content-type"] && typeof body !== "undefined") { - headers["content-type"] = "application/json; charset=utf-8"; - } - // GitHub expects 'content-length: 0' header for PUT/PATCH requests without body. - // fetch does not allow to set `content-length` header, but we can set body to an empty string - if (["PATCH", "PUT"].includes(method) && typeof body === "undefined") { - body = ""; - } - // Only return body/request keys if present - return Object.assign({ method, url, headers }, typeof body !== "undefined" ? { body } : null, options.request ? { request: options.request } : null); -} - -function endpointWithDefaults(defaults, route, options) { - return parse(merge(defaults, route, options)); -} - -function withDefaults(oldDefaults, newDefaults) { - const DEFAULTS = merge(oldDefaults, newDefaults); - const endpoint = endpointWithDefaults.bind(null, DEFAULTS); - return Object.assign(endpoint, { - DEFAULTS, - defaults: withDefaults.bind(null, DEFAULTS), - merge: merge.bind(null, DEFAULTS), - parse, - }); -} - -const VERSION = "6.0.12"; - -const userAgent = `octokit-endpoint.js/${VERSION} ${getUserAgent()}`; -// DEFAULTS has all properties set that EndpointOptions has, except url. -// So we use RequestParameters and add method as additional required property. -const DEFAULTS = { - method: "GET", - baseUrl: "https://api.github.com", - headers: { - accept: "application/vnd.github.v3+json", - "user-agent": userAgent, - }, - mediaType: { - format: "", - previews: [], - }, -}; - -const endpoint = withDefaults(null, DEFAULTS); - -export { endpoint }; -//# sourceMappingURL=index.js.map diff --git a/node_modules/@octokit/endpoint/dist-web/index.js.map b/node_modules/@octokit/endpoint/dist-web/index.js.map deleted file mode 100644 index 1d60d02..0000000 --- a/node_modules/@octokit/endpoint/dist-web/index.js.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"index.js","sources":["../dist-src/util/lowercase-keys.js","../dist-src/util/merge-deep.js","../dist-src/util/remove-undefined-properties.js","../dist-src/merge.js","../dist-src/util/add-query-parameters.js","../dist-src/util/extract-url-variable-names.js","../dist-src/util/omit.js","../dist-src/util/url-template.js","../dist-src/parse.js","../dist-src/endpoint-with-defaults.js","../dist-src/with-defaults.js","../dist-src/version.js","../dist-src/defaults.js","../dist-src/index.js"],"sourcesContent":["export function lowercaseKeys(object) {\n if (!object) {\n return {};\n }\n return Object.keys(object).reduce((newObj, key) => {\n newObj[key.toLowerCase()] = object[key];\n return newObj;\n }, {});\n}\n","import { isPlainObject } from \"is-plain-object\";\nexport function mergeDeep(defaults, options) {\n const result = Object.assign({}, defaults);\n Object.keys(options).forEach((key) => {\n if (isPlainObject(options[key])) {\n if (!(key in defaults))\n Object.assign(result, { [key]: options[key] });\n else\n result[key] = mergeDeep(defaults[key], options[key]);\n }\n else {\n Object.assign(result, { [key]: options[key] });\n }\n });\n return result;\n}\n","export function removeUndefinedProperties(obj) {\n for (const key in obj) {\n if (obj[key] === undefined) {\n delete obj[key];\n }\n }\n return obj;\n}\n","import { lowercaseKeys } from \"./util/lowercase-keys\";\nimport { mergeDeep } from \"./util/merge-deep\";\nimport { removeUndefinedProperties } from \"./util/remove-undefined-properties\";\nexport function merge(defaults, route, options) {\n if (typeof route === \"string\") {\n let [method, url] = route.split(\" \");\n options = Object.assign(url ? { method, url } : { url: method }, options);\n }\n else {\n options = Object.assign({}, route);\n }\n // lowercase header names before merging with defaults to avoid duplicates\n options.headers = lowercaseKeys(options.headers);\n // remove properties with undefined values before merging\n removeUndefinedProperties(options);\n removeUndefinedProperties(options.headers);\n const mergedOptions = mergeDeep(defaults || {}, options);\n // mediaType.previews arrays are merged, instead of overwritten\n if (defaults && defaults.mediaType.previews.length) {\n mergedOptions.mediaType.previews = defaults.mediaType.previews\n .filter((preview) => !mergedOptions.mediaType.previews.includes(preview))\n .concat(mergedOptions.mediaType.previews);\n }\n mergedOptions.mediaType.previews = mergedOptions.mediaType.previews.map((preview) => preview.replace(/-preview/, \"\"));\n return mergedOptions;\n}\n","export function addQueryParameters(url, parameters) {\n const separator = /\\?/.test(url) ? \"&\" : \"?\";\n const names = Object.keys(parameters);\n if (names.length === 0) {\n return url;\n }\n return (url +\n separator +\n names\n .map((name) => {\n if (name === \"q\") {\n return (\"q=\" + parameters.q.split(\"+\").map(encodeURIComponent).join(\"+\"));\n }\n return `${name}=${encodeURIComponent(parameters[name])}`;\n })\n .join(\"&\"));\n}\n","const urlVariableRegex = /\\{[^}]+\\}/g;\nfunction removeNonChars(variableName) {\n return variableName.replace(/^\\W+|\\W+$/g, \"\").split(/,/);\n}\nexport function extractUrlVariableNames(url) {\n const matches = url.match(urlVariableRegex);\n if (!matches) {\n return [];\n }\n return matches.map(removeNonChars).reduce((a, b) => a.concat(b), []);\n}\n","export function omit(object, keysToOmit) {\n return Object.keys(object)\n .filter((option) => !keysToOmit.includes(option))\n .reduce((obj, key) => {\n obj[key] = object[key];\n return obj;\n }, {});\n}\n","// Based on https://github.com/bramstein/url-template, licensed under BSD\n// TODO: create separate package.\n//\n// Copyright (c) 2012-2014, Bram Stein\n// All rights reserved.\n// Redistribution and use in source and binary forms, with or without\n// modification, are permitted provided that the following conditions\n// are met:\n// 1. Redistributions of source code must retain the above copyright\n// notice, this list of conditions and the following disclaimer.\n// 2. Redistributions in binary form must reproduce the above copyright\n// notice, this list of conditions and the following disclaimer in the\n// documentation and/or other materials provided with the distribution.\n// 3. The name of the author may not be used to endorse or promote products\n// derived from this software without specific prior written permission.\n// THIS SOFTWARE IS PROVIDED BY THE AUTHOR \"AS IS\" AND ANY EXPRESS OR IMPLIED\n// WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF\n// MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO\n// EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT,\n// INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,\n// BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,\n// DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY\n// OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING\n// NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,\n// EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.\n/* istanbul ignore file */\nfunction encodeReserved(str) {\n return str\n .split(/(%[0-9A-Fa-f]{2})/g)\n .map(function (part) {\n if (!/%[0-9A-Fa-f]/.test(part)) {\n part = encodeURI(part).replace(/%5B/g, \"[\").replace(/%5D/g, \"]\");\n }\n return part;\n })\n .join(\"\");\n}\nfunction encodeUnreserved(str) {\n return encodeURIComponent(str).replace(/[!'()*]/g, function (c) {\n return \"%\" + c.charCodeAt(0).toString(16).toUpperCase();\n });\n}\nfunction encodeValue(operator, value, key) {\n value =\n operator === \"+\" || operator === \"#\"\n ? encodeReserved(value)\n : encodeUnreserved(value);\n if (key) {\n return encodeUnreserved(key) + \"=\" + value;\n }\n else {\n return value;\n }\n}\nfunction isDefined(value) {\n return value !== undefined && value !== null;\n}\nfunction isKeyOperator(operator) {\n return operator === \";\" || operator === \"&\" || operator === \"?\";\n}\nfunction getValues(context, operator, key, modifier) {\n var value = context[key], result = [];\n if (isDefined(value) && value !== \"\") {\n if (typeof value === \"string\" ||\n typeof value === \"number\" ||\n typeof value === \"boolean\") {\n value = value.toString();\n if (modifier && modifier !== \"*\") {\n value = value.substring(0, parseInt(modifier, 10));\n }\n result.push(encodeValue(operator, value, isKeyOperator(operator) ? key : \"\"));\n }\n else {\n if (modifier === \"*\") {\n if (Array.isArray(value)) {\n value.filter(isDefined).forEach(function (value) {\n result.push(encodeValue(operator, value, isKeyOperator(operator) ? key : \"\"));\n });\n }\n else {\n Object.keys(value).forEach(function (k) {\n if (isDefined(value[k])) {\n result.push(encodeValue(operator, value[k], k));\n }\n });\n }\n }\n else {\n const tmp = [];\n if (Array.isArray(value)) {\n value.filter(isDefined).forEach(function (value) {\n tmp.push(encodeValue(operator, value));\n });\n }\n else {\n Object.keys(value).forEach(function (k) {\n if (isDefined(value[k])) {\n tmp.push(encodeUnreserved(k));\n tmp.push(encodeValue(operator, value[k].toString()));\n }\n });\n }\n if (isKeyOperator(operator)) {\n result.push(encodeUnreserved(key) + \"=\" + tmp.join(\",\"));\n }\n else if (tmp.length !== 0) {\n result.push(tmp.join(\",\"));\n }\n }\n }\n }\n else {\n if (operator === \";\") {\n if (isDefined(value)) {\n result.push(encodeUnreserved(key));\n }\n }\n else if (value === \"\" && (operator === \"&\" || operator === \"?\")) {\n result.push(encodeUnreserved(key) + \"=\");\n }\n else if (value === \"\") {\n result.push(\"\");\n }\n }\n return result;\n}\nexport function parseUrl(template) {\n return {\n expand: expand.bind(null, template),\n };\n}\nfunction expand(template, context) {\n var operators = [\"+\", \"#\", \".\", \"/\", \";\", \"?\", \"&\"];\n return template.replace(/\\{([^\\{\\}]+)\\}|([^\\{\\}]+)/g, function (_, expression, literal) {\n if (expression) {\n let operator = \"\";\n const values = [];\n if (operators.indexOf(expression.charAt(0)) !== -1) {\n operator = expression.charAt(0);\n expression = expression.substr(1);\n }\n expression.split(/,/g).forEach(function (variable) {\n var tmp = /([^:\\*]*)(?::(\\d+)|(\\*))?/.exec(variable);\n values.push(getValues(context, operator, tmp[1], tmp[2] || tmp[3]));\n });\n if (operator && operator !== \"+\") {\n var separator = \",\";\n if (operator === \"?\") {\n separator = \"&\";\n }\n else if (operator !== \"#\") {\n separator = operator;\n }\n return (values.length !== 0 ? operator : \"\") + values.join(separator);\n }\n else {\n return values.join(\",\");\n }\n }\n else {\n return encodeReserved(literal);\n }\n });\n}\n","import { addQueryParameters } from \"./util/add-query-parameters\";\nimport { extractUrlVariableNames } from \"./util/extract-url-variable-names\";\nimport { omit } from \"./util/omit\";\nimport { parseUrl } from \"./util/url-template\";\nexport function parse(options) {\n // https://fetch.spec.whatwg.org/#methods\n let method = options.method.toUpperCase();\n // replace :varname with {varname} to make it RFC 6570 compatible\n let url = (options.url || \"/\").replace(/:([a-z]\\w+)/g, \"{$1}\");\n let headers = Object.assign({}, options.headers);\n let body;\n let parameters = omit(options, [\n \"method\",\n \"baseUrl\",\n \"url\",\n \"headers\",\n \"request\",\n \"mediaType\",\n ]);\n // extract variable names from URL to calculate remaining variables later\n const urlVariableNames = extractUrlVariableNames(url);\n url = parseUrl(url).expand(parameters);\n if (!/^http/.test(url)) {\n url = options.baseUrl + url;\n }\n const omittedParameters = Object.keys(options)\n .filter((option) => urlVariableNames.includes(option))\n .concat(\"baseUrl\");\n const remainingParameters = omit(parameters, omittedParameters);\n const isBinaryRequest = /application\\/octet-stream/i.test(headers.accept);\n if (!isBinaryRequest) {\n if (options.mediaType.format) {\n // e.g. application/vnd.github.v3+json => application/vnd.github.v3.raw\n headers.accept = headers.accept\n .split(/,/)\n .map((preview) => preview.replace(/application\\/vnd(\\.\\w+)(\\.v3)?(\\.\\w+)?(\\+json)?$/, `application/vnd$1$2.${options.mediaType.format}`))\n .join(\",\");\n }\n if (options.mediaType.previews.length) {\n const previewsFromAcceptHeader = headers.accept.match(/[\\w-]+(?=-preview)/g) || [];\n headers.accept = previewsFromAcceptHeader\n .concat(options.mediaType.previews)\n .map((preview) => {\n const format = options.mediaType.format\n ? `.${options.mediaType.format}`\n : \"+json\";\n return `application/vnd.github.${preview}-preview${format}`;\n })\n .join(\",\");\n }\n }\n // for GET/HEAD requests, set URL query parameters from remaining parameters\n // for PATCH/POST/PUT/DELETE requests, set request body from remaining parameters\n if ([\"GET\", \"HEAD\"].includes(method)) {\n url = addQueryParameters(url, remainingParameters);\n }\n else {\n if (\"data\" in remainingParameters) {\n body = remainingParameters.data;\n }\n else {\n if (Object.keys(remainingParameters).length) {\n body = remainingParameters;\n }\n else {\n headers[\"content-length\"] = 0;\n }\n }\n }\n // default content-type for JSON if body is set\n if (!headers[\"content-type\"] && typeof body !== \"undefined\") {\n headers[\"content-type\"] = \"application/json; charset=utf-8\";\n }\n // GitHub expects 'content-length: 0' header for PUT/PATCH requests without body.\n // fetch does not allow to set `content-length` header, but we can set body to an empty string\n if ([\"PATCH\", \"PUT\"].includes(method) && typeof body === \"undefined\") {\n body = \"\";\n }\n // Only return body/request keys if present\n return Object.assign({ method, url, headers }, typeof body !== \"undefined\" ? { body } : null, options.request ? { request: options.request } : null);\n}\n","import { merge } from \"./merge\";\nimport { parse } from \"./parse\";\nexport function endpointWithDefaults(defaults, route, options) {\n return parse(merge(defaults, route, options));\n}\n","import { endpointWithDefaults } from \"./endpoint-with-defaults\";\nimport { merge } from \"./merge\";\nimport { parse } from \"./parse\";\nexport function withDefaults(oldDefaults, newDefaults) {\n const DEFAULTS = merge(oldDefaults, newDefaults);\n const endpoint = endpointWithDefaults.bind(null, DEFAULTS);\n return Object.assign(endpoint, {\n DEFAULTS,\n defaults: withDefaults.bind(null, DEFAULTS),\n merge: merge.bind(null, DEFAULTS),\n parse,\n });\n}\n","export const VERSION = \"6.0.12\";\n","import { getUserAgent } from \"universal-user-agent\";\nimport { VERSION } from \"./version\";\nconst userAgent = `octokit-endpoint.js/${VERSION} ${getUserAgent()}`;\n// DEFAULTS has all properties set that EndpointOptions has, except url.\n// So we use RequestParameters and add method as additional required property.\nexport const DEFAULTS = {\n method: \"GET\",\n baseUrl: \"https://api.github.com\",\n headers: {\n accept: \"application/vnd.github.v3+json\",\n \"user-agent\": userAgent,\n },\n mediaType: {\n format: \"\",\n previews: [],\n },\n};\n","import { withDefaults } from \"./with-defaults\";\nimport { DEFAULTS } from \"./defaults\";\nexport const endpoint = withDefaults(null, DEFAULTS);\n"],"names":[],"mappings":";;;AAAO,SAAS,aAAa,CAAC,MAAM,EAAE;AACtC,IAAI,IAAI,CAAC,MAAM,EAAE;AACjB,QAAQ,OAAO,EAAE,CAAC;AAClB,KAAK;AACL,IAAI,OAAO,MAAM,CAAC,IAAI,CAAC,MAAM,CAAC,CAAC,MAAM,CAAC,CAAC,MAAM,EAAE,GAAG,KAAK;AACvD,QAAQ,MAAM,CAAC,GAAG,CAAC,WAAW,EAAE,CAAC,GAAG,MAAM,CAAC,GAAG,CAAC,CAAC;AAChD,QAAQ,OAAO,MAAM,CAAC;AACtB,KAAK,EAAE,EAAE,CAAC,CAAC;AACX;;ACPO,SAAS,SAAS,CAAC,QAAQ,EAAE,OAAO,EAAE;AAC7C,IAAI,MAAM,MAAM,GAAG,MAAM,CAAC,MAAM,CAAC,EAAE,EAAE,QAAQ,CAAC,CAAC;AAC/C,IAAI,MAAM,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC,OAAO,CAAC,CAAC,GAAG,KAAK;AAC1C,QAAQ,IAAI,aAAa,CAAC,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE;AACzC,YAAY,IAAI,EAAE,GAAG,IAAI,QAAQ,CAAC;AAClC,gBAAgB,MAAM,CAAC,MAAM,CAAC,MAAM,EAAE,EAAE,CAAC,GAAG,GAAG,OAAO,CAAC,GAAG,CAAC,EAAE,CAAC,CAAC;AAC/D;AACA,gBAAgB,MAAM,CAAC,GAAG,CAAC,GAAG,SAAS,CAAC,QAAQ,CAAC,GAAG,CAAC,EAAE,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC;AACrE,SAAS;AACT,aAAa;AACb,YAAY,MAAM,CAAC,MAAM,CAAC,MAAM,EAAE,EAAE,CAAC,GAAG,GAAG,OAAO,CAAC,GAAG,CAAC,EAAE,CAAC,CAAC;AAC3D,SAAS;AACT,KAAK,CAAC,CAAC;AACP,IAAI,OAAO,MAAM,CAAC;AAClB,CAAC;;ACfM,SAAS,yBAAyB,CAAC,GAAG,EAAE;AAC/C,IAAI,KAAK,MAAM,GAAG,IAAI,GAAG,EAAE;AAC3B,QAAQ,IAAI,GAAG,CAAC,GAAG,CAAC,KAAK,SAAS,EAAE;AACpC,YAAY,OAAO,GAAG,CAAC,GAAG,CAAC,CAAC;AAC5B,SAAS;AACT,KAAK;AACL,IAAI,OAAO,GAAG,CAAC;AACf,CAAC;;ACJM,SAAS,KAAK,CAAC,QAAQ,EAAE,KAAK,EAAE,OAAO,EAAE;AAChD,IAAI,IAAI,OAAO,KAAK,KAAK,QAAQ,EAAE;AACnC,QAAQ,IAAI,CAAC,MAAM,EAAE,GAAG,CAAC,GAAG,KAAK,CAAC,KAAK,CAAC,GAAG,CAAC,CAAC;AAC7C,QAAQ,OAAO,GAAG,MAAM,CAAC,MAAM,CAAC,GAAG,GAAG,EAAE,MAAM,EAAE,GAAG,EAAE,GAAG,EAAE,GAAG,EAAE,MAAM,EAAE,EAAE,OAAO,CAAC,CAAC;AAClF,KAAK;AACL,SAAS;AACT,QAAQ,OAAO,GAAG,MAAM,CAAC,MAAM,CAAC,EAAE,EAAE,KAAK,CAAC,CAAC;AAC3C,KAAK;AACL;AACA,IAAI,OAAO,CAAC,OAAO,GAAG,aAAa,CAAC,OAAO,CAAC,OAAO,CAAC,CAAC;AACrD;AACA,IAAI,yBAAyB,CAAC,OAAO,CAAC,CAAC;AACvC,IAAI,yBAAyB,CAAC,OAAO,CAAC,OAAO,CAAC,CAAC;AAC/C,IAAI,MAAM,aAAa,GAAG,SAAS,CAAC,QAAQ,IAAI,EAAE,EAAE,OAAO,CAAC,CAAC;AAC7D;AACA,IAAI,IAAI,QAAQ,IAAI,QAAQ,CAAC,SAAS,CAAC,QAAQ,CAAC,MAAM,EAAE;AACxD,QAAQ,aAAa,CAAC,SAAS,CAAC,QAAQ,GAAG,QAAQ,CAAC,SAAS,CAAC,QAAQ;AACtE,aAAa,MAAM,CAAC,CAAC,OAAO,KAAK,CAAC,aAAa,CAAC,SAAS,CAAC,QAAQ,CAAC,QAAQ,CAAC,OAAO,CAAC,CAAC;AACrF,aAAa,MAAM,CAAC,aAAa,CAAC,SAAS,CAAC,QAAQ,CAAC,CAAC;AACtD,KAAK;AACL,IAAI,aAAa,CAAC,SAAS,CAAC,QAAQ,GAAG,aAAa,CAAC,SAAS,CAAC,QAAQ,CAAC,GAAG,CAAC,CAAC,OAAO,KAAK,OAAO,CAAC,OAAO,CAAC,UAAU,EAAE,EAAE,CAAC,CAAC,CAAC;AAC1H,IAAI,OAAO,aAAa,CAAC;AACzB,CAAC;;ACzBM,SAAS,kBAAkB,CAAC,GAAG,EAAE,UAAU,EAAE;AACpD,IAAI,MAAM,SAAS,GAAG,IAAI,CAAC,IAAI,CAAC,GAAG,CAAC,GAAG,GAAG,GAAG,GAAG,CAAC;AACjD,IAAI,MAAM,KAAK,GAAG,MAAM,CAAC,IAAI,CAAC,UAAU,CAAC,CAAC;AAC1C,IAAI,IAAI,KAAK,CAAC,MAAM,KAAK,CAAC,EAAE;AAC5B,QAAQ,OAAO,GAAG,CAAC;AACnB,KAAK;AACL,IAAI,QAAQ,GAAG;AACf,QAAQ,SAAS;AACjB,QAAQ,KAAK;AACb,aAAa,GAAG,CAAC,CAAC,IAAI,KAAK;AAC3B,YAAY,IAAI,IAAI,KAAK,GAAG,EAAE;AAC9B,gBAAgB,QAAQ,IAAI,GAAG,UAAU,CAAC,CAAC,CAAC,KAAK,CAAC,GAAG,CAAC,CAAC,GAAG,CAAC,kBAAkB,CAAC,CAAC,IAAI,CAAC,GAAG,CAAC,EAAE;AAC1F,aAAa;AACb,YAAY,OAAO,CAAC,EAAE,IAAI,CAAC,CAAC,EAAE,kBAAkB,CAAC,UAAU,CAAC,IAAI,CAAC,CAAC,CAAC,CAAC,CAAC;AACrE,SAAS,CAAC;AACV,aAAa,IAAI,CAAC,GAAG,CAAC,EAAE;AACxB,CAAC;;AChBD,MAAM,gBAAgB,GAAG,YAAY,CAAC;AACtC,SAAS,cAAc,CAAC,YAAY,EAAE;AACtC,IAAI,OAAO,YAAY,CAAC,OAAO,CAAC,YAAY,EAAE,EAAE,CAAC,CAAC,KAAK,CAAC,GAAG,CAAC,CAAC;AAC7D,CAAC;AACD,AAAO,SAAS,uBAAuB,CAAC,GAAG,EAAE;AAC7C,IAAI,MAAM,OAAO,GAAG,GAAG,CAAC,KAAK,CAAC,gBAAgB,CAAC,CAAC;AAChD,IAAI,IAAI,CAAC,OAAO,EAAE;AAClB,QAAQ,OAAO,EAAE,CAAC;AAClB,KAAK;AACL,IAAI,OAAO,OAAO,CAAC,GAAG,CAAC,cAAc,CAAC,CAAC,MAAM,CAAC,CAAC,CAAC,EAAE,CAAC,KAAK,CAAC,CAAC,MAAM,CAAC,CAAC,CAAC,EAAE,EAAE,CAAC,CAAC;AACzE,CAAC;;ACVM,SAAS,IAAI,CAAC,MAAM,EAAE,UAAU,EAAE;AACzC,IAAI,OAAO,MAAM,CAAC,IAAI,CAAC,MAAM,CAAC;AAC9B,SAAS,MAAM,CAAC,CAAC,MAAM,KAAK,CAAC,UAAU,CAAC,QAAQ,CAAC,MAAM,CAAC,CAAC;AACzD,SAAS,MAAM,CAAC,CAAC,GAAG,EAAE,GAAG,KAAK;AAC9B,QAAQ,GAAG,CAAC,GAAG,CAAC,GAAG,MAAM,CAAC,GAAG,CAAC,CAAC;AAC/B,QAAQ,OAAO,GAAG,CAAC;AACnB,KAAK,EAAE,EAAE,CAAC,CAAC;AACX,CAAC;;ACPD;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,SAAS,cAAc,CAAC,GAAG,EAAE;AAC7B,IAAI,OAAO,GAAG;AACd,SAAS,KAAK,CAAC,oBAAoB,CAAC;AACpC,SAAS,GAAG,CAAC,UAAU,IAAI,EAAE;AAC7B,QAAQ,IAAI,CAAC,cAAc,CAAC,IAAI,CAAC,IAAI,CAAC,EAAE;AACxC,YAAY,IAAI,GAAG,SAAS,CAAC,IAAI,CAAC,CAAC,OAAO,CAAC,MAAM,EAAE,GAAG,CAAC,CAAC,OAAO,CAAC,MAAM,EAAE,GAAG,CAAC,CAAC;AAC7E,SAAS;AACT,QAAQ,OAAO,IAAI,CAAC;AACpB,KAAK,CAAC;AACN,SAAS,IAAI,CAAC,EAAE,CAAC,CAAC;AAClB,CAAC;AACD,SAAS,gBAAgB,CAAC,GAAG,EAAE;AAC/B,IAAI,OAAO,kBAAkB,CAAC,GAAG,CAAC,CAAC,OAAO,CAAC,UAAU,EAAE,UAAU,CAAC,EAAE;AACpE,QAAQ,OAAO,GAAG,GAAG,CAAC,CAAC,UAAU,CAAC,CAAC,CAAC,CAAC,QAAQ,CAAC,EAAE,CAAC,CAAC,WAAW,EAAE,CAAC;AAChE,KAAK,CAAC,CAAC;AACP,CAAC;AACD,SAAS,WAAW,CAAC,QAAQ,EAAE,KAAK,EAAE,GAAG,EAAE;AAC3C,IAAI,KAAK;AACT,QAAQ,QAAQ,KAAK,GAAG,IAAI,QAAQ,KAAK,GAAG;AAC5C,cAAc,cAAc,CAAC,KAAK,CAAC;AACnC,cAAc,gBAAgB,CAAC,KAAK,CAAC,CAAC;AACtC,IAAI,IAAI,GAAG,EAAE;AACb,QAAQ,OAAO,gBAAgB,CAAC,GAAG,CAAC,GAAG,GAAG,GAAG,KAAK,CAAC;AACnD,KAAK;AACL,SAAS;AACT,QAAQ,OAAO,KAAK,CAAC;AACrB,KAAK;AACL,CAAC;AACD,SAAS,SAAS,CAAC,KAAK,EAAE;AAC1B,IAAI,OAAO,KAAK,KAAK,SAAS,IAAI,KAAK,KAAK,IAAI,CAAC;AACjD,CAAC;AACD,SAAS,aAAa,CAAC,QAAQ,EAAE;AACjC,IAAI,OAAO,QAAQ,KAAK,GAAG,IAAI,QAAQ,KAAK,GAAG,IAAI,QAAQ,KAAK,GAAG,CAAC;AACpE,CAAC;AACD,SAAS,SAAS,CAAC,OAAO,EAAE,QAAQ,EAAE,GAAG,EAAE,QAAQ,EAAE;AACrD,IAAI,IAAI,KAAK,GAAG,OAAO,CAAC,GAAG,CAAC,EAAE,MAAM,GAAG,EAAE,CAAC;AAC1C,IAAI,IAAI,SAAS,CAAC,KAAK,CAAC,IAAI,KAAK,KAAK,EAAE,EAAE;AAC1C,QAAQ,IAAI,OAAO,KAAK,KAAK,QAAQ;AACrC,YAAY,OAAO,KAAK,KAAK,QAAQ;AACrC,YAAY,OAAO,KAAK,KAAK,SAAS,EAAE;AACxC,YAAY,KAAK,GAAG,KAAK,CAAC,QAAQ,EAAE,CAAC;AACrC,YAAY,IAAI,QAAQ,IAAI,QAAQ,KAAK,GAAG,EAAE;AAC9C,gBAAgB,KAAK,GAAG,KAAK,CAAC,SAAS,CAAC,CAAC,EAAE,QAAQ,CAAC,QAAQ,EAAE,EAAE,CAAC,CAAC,CAAC;AACnE,aAAa;AACb,YAAY,MAAM,CAAC,IAAI,CAAC,WAAW,CAAC,QAAQ,EAAE,KAAK,EAAE,aAAa,CAAC,QAAQ,CAAC,GAAG,GAAG,GAAG,EAAE,CAAC,CAAC,CAAC;AAC1F,SAAS;AACT,aAAa;AACb,YAAY,IAAI,QAAQ,KAAK,GAAG,EAAE;AAClC,gBAAgB,IAAI,KAAK,CAAC,OAAO,CAAC,KAAK,CAAC,EAAE;AAC1C,oBAAoB,KAAK,CAAC,MAAM,CAAC,SAAS,CAAC,CAAC,OAAO,CAAC,UAAU,KAAK,EAAE;AACrE,wBAAwB,MAAM,CAAC,IAAI,CAAC,WAAW,CAAC,QAAQ,EAAE,KAAK,EAAE,aAAa,CAAC,QAAQ,CAAC,GAAG,GAAG,GAAG,EAAE,CAAC,CAAC,CAAC;AACtG,qBAAqB,CAAC,CAAC;AACvB,iBAAiB;AACjB,qBAAqB;AACrB,oBAAoB,MAAM,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC,OAAO,CAAC,UAAU,CAAC,EAAE;AAC5D,wBAAwB,IAAI,SAAS,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,EAAE;AACjD,4BAA4B,MAAM,CAAC,IAAI,CAAC,WAAW,CAAC,QAAQ,EAAE,KAAK,CAAC,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC,CAAC;AAC5E,yBAAyB;AACzB,qBAAqB,CAAC,CAAC;AACvB,iBAAiB;AACjB,aAAa;AACb,iBAAiB;AACjB,gBAAgB,MAAM,GAAG,GAAG,EAAE,CAAC;AAC/B,gBAAgB,IAAI,KAAK,CAAC,OAAO,CAAC,KAAK,CAAC,EAAE;AAC1C,oBAAoB,KAAK,CAAC,MAAM,CAAC,SAAS,CAAC,CAAC,OAAO,CAAC,UAAU,KAAK,EAAE;AACrE,wBAAwB,GAAG,CAAC,IAAI,CAAC,WAAW,CAAC,QAAQ,EAAE,KAAK,CAAC,CAAC,CAAC;AAC/D,qBAAqB,CAAC,CAAC;AACvB,iBAAiB;AACjB,qBAAqB;AACrB,oBAAoB,MAAM,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC,OAAO,CAAC,UAAU,CAAC,EAAE;AAC5D,wBAAwB,IAAI,SAAS,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,EAAE;AACjD,4BAA4B,GAAG,CAAC,IAAI,CAAC,gBAAgB,CAAC,CAAC,CAAC,CAAC,CAAC;AAC1D,4BAA4B,GAAG,CAAC,IAAI,CAAC,WAAW,CAAC,QAAQ,EAAE,KAAK,CAAC,CAAC,CAAC,CAAC,QAAQ,EAAE,CAAC,CAAC,CAAC;AACjF,yBAAyB;AACzB,qBAAqB,CAAC,CAAC;AACvB,iBAAiB;AACjB,gBAAgB,IAAI,aAAa,CAAC,QAAQ,CAAC,EAAE;AAC7C,oBAAoB,MAAM,CAAC,IAAI,CAAC,gBAAgB,CAAC,GAAG,CAAC,GAAG,GAAG,GAAG,GAAG,CAAC,IAAI,CAAC,GAAG,CAAC,CAAC,CAAC;AAC7E,iBAAiB;AACjB,qBAAqB,IAAI,GAAG,CAAC,MAAM,KAAK,CAAC,EAAE;AAC3C,oBAAoB,MAAM,CAAC,IAAI,CAAC,GAAG,CAAC,IAAI,CAAC,GAAG,CAAC,CAAC,CAAC;AAC/C,iBAAiB;AACjB,aAAa;AACb,SAAS;AACT,KAAK;AACL,SAAS;AACT,QAAQ,IAAI,QAAQ,KAAK,GAAG,EAAE;AAC9B,YAAY,IAAI,SAAS,CAAC,KAAK,CAAC,EAAE;AAClC,gBAAgB,MAAM,CAAC,IAAI,CAAC,gBAAgB,CAAC,GAAG,CAAC,CAAC,CAAC;AACnD,aAAa;AACb,SAAS;AACT,aAAa,IAAI,KAAK,KAAK,EAAE,KAAK,QAAQ,KAAK,GAAG,IAAI,QAAQ,KAAK,GAAG,CAAC,EAAE;AACzE,YAAY,MAAM,CAAC,IAAI,CAAC,gBAAgB,CAAC,GAAG,CAAC,GAAG,GAAG,CAAC,CAAC;AACrD,SAAS;AACT,aAAa,IAAI,KAAK,KAAK,EAAE,EAAE;AAC/B,YAAY,MAAM,CAAC,IAAI,CAAC,EAAE,CAAC,CAAC;AAC5B,SAAS;AACT,KAAK;AACL,IAAI,OAAO,MAAM,CAAC;AAClB,CAAC;AACD,AAAO,SAAS,QAAQ,CAAC,QAAQ,EAAE;AACnC,IAAI,OAAO;AACX,QAAQ,MAAM,EAAE,MAAM,CAAC,IAAI,CAAC,IAAI,EAAE,QAAQ,CAAC;AAC3C,KAAK,CAAC;AACN,CAAC;AACD,SAAS,MAAM,CAAC,QAAQ,EAAE,OAAO,EAAE;AACnC,IAAI,IAAI,SAAS,GAAG,CAAC,GAAG,EAAE,GAAG,EAAE,GAAG,EAAE,GAAG,EAAE,GAAG,EAAE,GAAG,EAAE,GAAG,CAAC,CAAC;AACxD,IAAI,OAAO,QAAQ,CAAC,OAAO,CAAC,4BAA4B,EAAE,UAAU,CAAC,EAAE,UAAU,EAAE,OAAO,EAAE;AAC5F,QAAQ,IAAI,UAAU,EAAE;AACxB,YAAY,IAAI,QAAQ,GAAG,EAAE,CAAC;AAC9B,YAAY,MAAM,MAAM,GAAG,EAAE,CAAC;AAC9B,YAAY,IAAI,SAAS,CAAC,OAAO,CAAC,UAAU,CAAC,MAAM,CAAC,CAAC,CAAC,CAAC,KAAK,CAAC,CAAC,EAAE;AAChE,gBAAgB,QAAQ,GAAG,UAAU,CAAC,MAAM,CAAC,CAAC,CAAC,CAAC;AAChD,gBAAgB,UAAU,GAAG,UAAU,CAAC,MAAM,CAAC,CAAC,CAAC,CAAC;AAClD,aAAa;AACb,YAAY,UAAU,CAAC,KAAK,CAAC,IAAI,CAAC,CAAC,OAAO,CAAC,UAAU,QAAQ,EAAE;AAC/D,gBAAgB,IAAI,GAAG,GAAG,2BAA2B,CAAC,IAAI,CAAC,QAAQ,CAAC,CAAC;AACrE,gBAAgB,MAAM,CAAC,IAAI,CAAC,SAAS,CAAC,OAAO,EAAE,QAAQ,EAAE,GAAG,CAAC,CAAC,CAAC,EAAE,GAAG,CAAC,CAAC,CAAC,IAAI,GAAG,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC;AACpF,aAAa,CAAC,CAAC;AACf,YAAY,IAAI,QAAQ,IAAI,QAAQ,KAAK,GAAG,EAAE;AAC9C,gBAAgB,IAAI,SAAS,GAAG,GAAG,CAAC;AACpC,gBAAgB,IAAI,QAAQ,KAAK,GAAG,EAAE;AACtC,oBAAoB,SAAS,GAAG,GAAG,CAAC;AACpC,iBAAiB;AACjB,qBAAqB,IAAI,QAAQ,KAAK,GAAG,EAAE;AAC3C,oBAAoB,SAAS,GAAG,QAAQ,CAAC;AACzC,iBAAiB;AACjB,gBAAgB,OAAO,CAAC,MAAM,CAAC,MAAM,KAAK,CAAC,GAAG,QAAQ,GAAG,EAAE,IAAI,MAAM,CAAC,IAAI,CAAC,SAAS,CAAC,CAAC;AACtF,aAAa;AACb,iBAAiB;AACjB,gBAAgB,OAAO,MAAM,CAAC,IAAI,CAAC,GAAG,CAAC,CAAC;AACxC,aAAa;AACb,SAAS;AACT,aAAa;AACb,YAAY,OAAO,cAAc,CAAC,OAAO,CAAC,CAAC;AAC3C,SAAS;AACT,KAAK,CAAC,CAAC;AACP,CAAC;;AC/JM,SAAS,KAAK,CAAC,OAAO,EAAE;AAC/B;AACA,IAAI,IAAI,MAAM,GAAG,OAAO,CAAC,MAAM,CAAC,WAAW,EAAE,CAAC;AAC9C;AACA,IAAI,IAAI,GAAG,GAAG,CAAC,OAAO,CAAC,GAAG,IAAI,GAAG,EAAE,OAAO,CAAC,cAAc,EAAE,MAAM,CAAC,CAAC;AACnE,IAAI,IAAI,OAAO,GAAG,MAAM,CAAC,MAAM,CAAC,EAAE,EAAE,OAAO,CAAC,OAAO,CAAC,CAAC;AACrD,IAAI,IAAI,IAAI,CAAC;AACb,IAAI,IAAI,UAAU,GAAG,IAAI,CAAC,OAAO,EAAE;AACnC,QAAQ,QAAQ;AAChB,QAAQ,SAAS;AACjB,QAAQ,KAAK;AACb,QAAQ,SAAS;AACjB,QAAQ,SAAS;AACjB,QAAQ,WAAW;AACnB,KAAK,CAAC,CAAC;AACP;AACA,IAAI,MAAM,gBAAgB,GAAG,uBAAuB,CAAC,GAAG,CAAC,CAAC;AAC1D,IAAI,GAAG,GAAG,QAAQ,CAAC,GAAG,CAAC,CAAC,MAAM,CAAC,UAAU,CAAC,CAAC;AAC3C,IAAI,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,GAAG,CAAC,EAAE;AAC5B,QAAQ,GAAG,GAAG,OAAO,CAAC,OAAO,GAAG,GAAG,CAAC;AACpC,KAAK;AACL,IAAI,MAAM,iBAAiB,GAAG,MAAM,CAAC,IAAI,CAAC,OAAO,CAAC;AAClD,SAAS,MAAM,CAAC,CAAC,MAAM,KAAK,gBAAgB,CAAC,QAAQ,CAAC,MAAM,CAAC,CAAC;AAC9D,SAAS,MAAM,CAAC,SAAS,CAAC,CAAC;AAC3B,IAAI,MAAM,mBAAmB,GAAG,IAAI,CAAC,UAAU,EAAE,iBAAiB,CAAC,CAAC;AACpE,IAAI,MAAM,eAAe,GAAG,4BAA4B,CAAC,IAAI,CAAC,OAAO,CAAC,MAAM,CAAC,CAAC;AAC9E,IAAI,IAAI,CAAC,eAAe,EAAE;AAC1B,QAAQ,IAAI,OAAO,CAAC,SAAS,CAAC,MAAM,EAAE;AACtC;AACA,YAAY,OAAO,CAAC,MAAM,GAAG,OAAO,CAAC,MAAM;AAC3C,iBAAiB,KAAK,CAAC,GAAG,CAAC;AAC3B,iBAAiB,GAAG,CAAC,CAAC,OAAO,KAAK,OAAO,CAAC,OAAO,CAAC,kDAAkD,EAAE,CAAC,oBAAoB,EAAE,OAAO,CAAC,SAAS,CAAC,MAAM,CAAC,CAAC,CAAC,CAAC;AACzJ,iBAAiB,IAAI,CAAC,GAAG,CAAC,CAAC;AAC3B,SAAS;AACT,QAAQ,IAAI,OAAO,CAAC,SAAS,CAAC,QAAQ,CAAC,MAAM,EAAE;AAC/C,YAAY,MAAM,wBAAwB,GAAG,OAAO,CAAC,MAAM,CAAC,KAAK,CAAC,qBAAqB,CAAC,IAAI,EAAE,CAAC;AAC/F,YAAY,OAAO,CAAC,MAAM,GAAG,wBAAwB;AACrD,iBAAiB,MAAM,CAAC,OAAO,CAAC,SAAS,CAAC,QAAQ,CAAC;AACnD,iBAAiB,GAAG,CAAC,CAAC,OAAO,KAAK;AAClC,gBAAgB,MAAM,MAAM,GAAG,OAAO,CAAC,SAAS,CAAC,MAAM;AACvD,sBAAsB,CAAC,CAAC,EAAE,OAAO,CAAC,SAAS,CAAC,MAAM,CAAC,CAAC;AACpD,sBAAsB,OAAO,CAAC;AAC9B,gBAAgB,OAAO,CAAC,uBAAuB,EAAE,OAAO,CAAC,QAAQ,EAAE,MAAM,CAAC,CAAC,CAAC;AAC5E,aAAa,CAAC;AACd,iBAAiB,IAAI,CAAC,GAAG,CAAC,CAAC;AAC3B,SAAS;AACT,KAAK;AACL;AACA;AACA,IAAI,IAAI,CAAC,KAAK,EAAE,MAAM,CAAC,CAAC,QAAQ,CAAC,MAAM,CAAC,EAAE;AAC1C,QAAQ,GAAG,GAAG,kBAAkB,CAAC,GAAG,EAAE,mBAAmB,CAAC,CAAC;AAC3D,KAAK;AACL,SAAS;AACT,QAAQ,IAAI,MAAM,IAAI,mBAAmB,EAAE;AAC3C,YAAY,IAAI,GAAG,mBAAmB,CAAC,IAAI,CAAC;AAC5C,SAAS;AACT,aAAa;AACb,YAAY,IAAI,MAAM,CAAC,IAAI,CAAC,mBAAmB,CAAC,CAAC,MAAM,EAAE;AACzD,gBAAgB,IAAI,GAAG,mBAAmB,CAAC;AAC3C,aAAa;AACb,iBAAiB;AACjB,gBAAgB,OAAO,CAAC,gBAAgB,CAAC,GAAG,CAAC,CAAC;AAC9C,aAAa;AACb,SAAS;AACT,KAAK;AACL;AACA,IAAI,IAAI,CAAC,OAAO,CAAC,cAAc,CAAC,IAAI,OAAO,IAAI,KAAK,WAAW,EAAE;AACjE,QAAQ,OAAO,CAAC,cAAc,CAAC,GAAG,iCAAiC,CAAC;AACpE,KAAK;AACL;AACA;AACA,IAAI,IAAI,CAAC,OAAO,EAAE,KAAK,CAAC,CAAC,QAAQ,CAAC,MAAM,CAAC,IAAI,OAAO,IAAI,KAAK,WAAW,EAAE;AAC1E,QAAQ,IAAI,GAAG,EAAE,CAAC;AAClB,KAAK;AACL;AACA,IAAI,OAAO,MAAM,CAAC,MAAM,CAAC,EAAE,MAAM,EAAE,GAAG,EAAE,OAAO,EAAE,EAAE,OAAO,IAAI,KAAK,WAAW,GAAG,EAAE,IAAI,EAAE,GAAG,IAAI,EAAE,OAAO,CAAC,OAAO,GAAG,EAAE,OAAO,EAAE,OAAO,CAAC,OAAO,EAAE,GAAG,IAAI,CAAC,CAAC;AACzJ,CAAC;;AC9EM,SAAS,oBAAoB,CAAC,QAAQ,EAAE,KAAK,EAAE,OAAO,EAAE;AAC/D,IAAI,OAAO,KAAK,CAAC,KAAK,CAAC,QAAQ,EAAE,KAAK,EAAE,OAAO,CAAC,CAAC,CAAC;AAClD,CAAC;;ACDM,SAAS,YAAY,CAAC,WAAW,EAAE,WAAW,EAAE;AACvD,IAAI,MAAM,QAAQ,GAAG,KAAK,CAAC,WAAW,EAAE,WAAW,CAAC,CAAC;AACrD,IAAI,MAAM,QAAQ,GAAG,oBAAoB,CAAC,IAAI,CAAC,IAAI,EAAE,QAAQ,CAAC,CAAC;AAC/D,IAAI,OAAO,MAAM,CAAC,MAAM,CAAC,QAAQ,EAAE;AACnC,QAAQ,QAAQ;AAChB,QAAQ,QAAQ,EAAE,YAAY,CAAC,IAAI,CAAC,IAAI,EAAE,QAAQ,CAAC;AACnD,QAAQ,KAAK,EAAE,KAAK,CAAC,IAAI,CAAC,IAAI,EAAE,QAAQ,CAAC;AACzC,QAAQ,KAAK;AACb,KAAK,CAAC,CAAC;AACP,CAAC;;ACZM,MAAM,OAAO,GAAG,mBAAmB,CAAC;;ACE3C,MAAM,SAAS,GAAG,CAAC,oBAAoB,EAAE,OAAO,CAAC,CAAC,EAAE,YAAY,EAAE,CAAC,CAAC,CAAC;AACrE;AACA;AACA,AAAO,MAAM,QAAQ,GAAG;AACxB,IAAI,MAAM,EAAE,KAAK;AACjB,IAAI,OAAO,EAAE,wBAAwB;AACrC,IAAI,OAAO,EAAE;AACb,QAAQ,MAAM,EAAE,gCAAgC;AAChD,QAAQ,YAAY,EAAE,SAAS;AAC/B,KAAK;AACL,IAAI,SAAS,EAAE;AACf,QAAQ,MAAM,EAAE,EAAE;AAClB,QAAQ,QAAQ,EAAE,EAAE;AACpB,KAAK;AACL,CAAC,CAAC;;ACdU,MAAC,QAAQ,GAAG,YAAY,CAAC,IAAI,EAAE,QAAQ,CAAC;;;;"} \ No newline at end of file diff --git a/node_modules/@octokit/endpoint/package.json b/node_modules/@octokit/endpoint/package.json deleted file mode 100644 index 4e4d425..0000000 --- a/node_modules/@octokit/endpoint/package.json +++ /dev/null @@ -1,44 +0,0 @@ -{ - "name": "@octokit/endpoint", - "description": "Turns REST API endpoints into generic request options", - "version": "6.0.12", - "license": "MIT", - "files": [ - "dist-*/", - "bin/" - ], - "pika": true, - "sideEffects": false, - "keywords": [ - "octokit", - "github", - "api", - "rest" - ], - "repository": "github:octokit/endpoint.js", - "dependencies": { - "@octokit/types": "^6.0.3", - "is-plain-object": "^5.0.0", - "universal-user-agent": "^6.0.0" - }, - "devDependencies": { - "@pika/pack": "^0.5.0", - "@pika/plugin-build-node": "^0.9.0", - "@pika/plugin-build-web": "^0.9.0", - "@pika/plugin-ts-standard-pkg": "^0.9.0", - "@types/jest": "^26.0.0", - "jest": "^27.0.0", - "prettier": "2.3.1", - "semantic-release": "^17.0.0", - "semantic-release-plugin-update-version-in-files": "^1.0.0", - "ts-jest": "^27.0.0-next.12", - "typescript": "^4.0.2" - }, - "publishConfig": { - "access": "public" - }, - "source": "dist-src/index.js", - "types": "dist-types/index.d.ts", - "main": "dist-node/index.js", - "module": "dist-web/index.js" -} diff --git a/node_modules/@octokit/graphql/LICENSE b/node_modules/@octokit/graphql/LICENSE deleted file mode 100644 index af5366d..0000000 --- a/node_modules/@octokit/graphql/LICENSE +++ /dev/null @@ -1,21 +0,0 @@ -The MIT License - -Copyright (c) 2018 Octokit 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/@octokit/graphql/README.md b/node_modules/@octokit/graphql/README.md deleted file mode 100644 index 7ba46fb..0000000 --- a/node_modules/@octokit/graphql/README.md +++ /dev/null @@ -1,398 +0,0 @@ -# graphql.js - -> GitHub GraphQL API client for browsers and Node - -[![@latest](https://img.shields.io/npm/v/@octokit/graphql.svg)](https://www.npmjs.com/package/@octokit/graphql) -[![Build Status](https://github.com/octokit/graphql.js/workflows/Test/badge.svg)](https://github.com/octokit/graphql.js/actions?query=workflow%3ATest+branch%3Amaster) - - - -- [Usage](#usage) - - [Send a simple query](#send-a-simple-query) - - [Authentication](#authentication) - - [Variables](#variables) - - [Pass query together with headers and variables](#pass-query-together-with-headers-and-variables) - - [Use with GitHub Enterprise](#use-with-github-enterprise) - - [Use custom `@octokit/request` instance](#use-custom-octokitrequest-instance) -- [TypeScript](#typescript) - - [Additional Types](#additional-types) -- [Errors](#errors) -- [Partial responses](#partial-responses) -- [Writing tests](#writing-tests) -- [License](#license) - - - -## Usage - - - - - - -
-Browsers - - -Load `@octokit/graphql` directly from [cdn.skypack.dev](https://cdn.skypack.dev) - -```html - -``` - -
-Node - - -Install with npm install @octokit/graphql - -```js -const { graphql } = require("@octokit/graphql"); -// or: import { graphql } from "@octokit/graphql"; -``` - -
- -### Send a simple query - -```js -const { repository } = await graphql( - ` - { - repository(owner: "octokit", name: "graphql.js") { - issues(last: 3) { - edges { - node { - title - } - } - } - } - } - `, - { - headers: { - authorization: `token secret123`, - }, - } -); -``` - -### Authentication - -The simplest way to authenticate a request is to set the `Authorization` header, e.g. to a [personal access token](https://github.com/settings/tokens/). - -```js -const graphqlWithAuth = graphql.defaults({ - headers: { - authorization: `token secret123`, - }, -}); -const { repository } = await graphqlWithAuth(` - { - repository(owner: "octokit", name: "graphql.js") { - issues(last: 3) { - edges { - node { - title - } - } - } - } - } -`); -``` - -For more complex authentication strategies such as GitHub Apps or Basic, we recommend the according authentication library exported by [`@octokit/auth`](https://github.com/octokit/auth.js). - -```js -const { createAppAuth } = require("@octokit/auth-app"); -const auth = createAppAuth({ - id: process.env.APP_ID, - privateKey: process.env.PRIVATE_KEY, - installationId: 123, -}); -const graphqlWithAuth = graphql.defaults({ - request: { - hook: auth.hook, - }, -}); - -const { repository } = await graphqlWithAuth( - `{ - repository(owner: "octokit", name: "graphql.js") { - issues(last: 3) { - edges { - node { - title - } - } - } - } - }` -); -``` - -### Variables - -⚠️ Do not use [template literals](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Template_literals) in the query strings as they make your code vulnerable to query injection attacks (see [#2](https://github.com/octokit/graphql.js/issues/2)). Use variables instead: - -```js -const { lastIssues } = await graphql( - ` - query lastIssues($owner: String!, $repo: String!, $num: Int = 3) { - repository(owner: $owner, name: $repo) { - issues(last: $num) { - edges { - node { - title - } - } - } - } - } - `, - { - owner: "octokit", - repo: "graphql.js", - headers: { - authorization: `token secret123`, - }, - } -); -``` - -### Pass query together with headers and variables - -```js -const { graphql } = require("@octokit/graphql"); -const { lastIssues } = await graphql({ - query: `query lastIssues($owner: String!, $repo: String!, $num: Int = 3) { - repository(owner:$owner, name:$repo) { - issues(last:$num) { - edges { - node { - title - } - } - } - } - }`, - owner: "octokit", - repo: "graphql.js", - headers: { - authorization: `token secret123`, - }, -}); -``` - -### Use with GitHub Enterprise - -```js -let { graphql } = require("@octokit/graphql"); -graphql = graphql.defaults({ - baseUrl: "https://github-enterprise.acme-inc.com/api", - headers: { - authorization: `token secret123`, - }, -}); -const { repository } = await graphql(` - { - repository(owner: "acme-project", name: "acme-repo") { - issues(last: 3) { - edges { - node { - title - } - } - } - } - } -`); -``` - -### Use custom `@octokit/request` instance - -```js -const { request } = require("@octokit/request"); -const { withCustomRequest } = require("@octokit/graphql"); - -let requestCounter = 0; -const myRequest = request.defaults({ - headers: { - authentication: "token secret123", - }, - request: { - hook(request, options) { - requestCounter++; - return request(options); - }, - }, -}); -const myGraphql = withCustomRequest(myRequest); -await request("/"); -await myGraphql(` - { - repository(owner: "acme-project", name: "acme-repo") { - issues(last: 3) { - edges { - node { - title - } - } - } - } - } -`); -// requestCounter is now 2 -``` - -## TypeScript - -`@octokit/graphql` is exposing proper types for its usage with TypeScript projects. - -### Additional Types - -Additionally, `GraphQlQueryResponseData` has been exposed to users: - -```ts -import type { GraphQlQueryResponseData } from "@octokit/graphql"; -``` - -## Errors - -In case of a GraphQL error, `error.message` is set to the first error from the response’s `errors` array. All errors can be accessed at `error.errors`. `error.request` has the request options such as query, variables and headers set for easier debugging. - -```js -let { graphql } = require("@octokit/graphql"); -graphqlt = graphql.defaults({ - headers: { - authorization: `token secret123`, - }, -}); -const query = `{ - viewer { - bioHtml - } -}`; - -try { - const result = await graphql(query); -} catch (error) { - // server responds with - // { - // "data": null, - // "errors": [{ - // "message": "Field 'bioHtml' doesn't exist on type 'User'", - // "locations": [{ - // "line": 3, - // "column": 5 - // }] - // }] - // } - - console.log("Request failed:", error.request); // { query, variables: {}, headers: { authorization: 'token secret123' } } - console.log(error.message); // Field 'bioHtml' doesn't exist on type 'User' -} -``` - -## Partial responses - -A GraphQL query may respond with partial data accompanied by errors. In this case we will throw an error but the partial data will still be accessible through `error.data` - -```js -let { graphql } = require("@octokit/graphql"); -graphql = graphql.defaults({ - headers: { - authorization: `token secret123`, - }, -}); -const query = `{ - repository(name: "probot", owner: "probot") { - name - ref(qualifiedName: "master") { - target { - ... on Commit { - history(first: 25, after: "invalid cursor") { - nodes { - message - } - } - } - } - } - } -}`; - -try { - const result = await graphql(query); -} catch (error) { - // server responds with - // { - // "data": { - // "repository": { - // "name": "probot", - // "ref": null - // } - // }, - // "errors": [ - // { - // "type": "INVALID_CURSOR_ARGUMENTS", - // "path": [ - // "repository", - // "ref", - // "target", - // "history" - // ], - // "locations": [ - // { - // "line": 7, - // "column": 11 - // } - // ], - // "message": "`invalid cursor` does not appear to be a valid cursor." - // } - // ] - // } - - console.log("Request failed:", error.request); // { query, variables: {}, headers: { authorization: 'token secret123' } } - console.log(error.message); // `invalid cursor` does not appear to be a valid cursor. - console.log(error.data); // { repository: { name: 'probot', ref: null } } -} -``` - -## Writing tests - -You can pass a replacement for [the built-in fetch implementation](https://github.com/bitinn/node-fetch) as `request.fetch` option. For example, using [fetch-mock](http://www.wheresrhys.co.uk/fetch-mock/) works great to write tests - -```js -const assert = require("assert"); -const fetchMock = require("fetch-mock/es5/server"); - -const { graphql } = require("@octokit/graphql"); - -graphql("{ viewer { login } }", { - headers: { - authorization: "token secret123", - }, - request: { - fetch: fetchMock - .sandbox() - .post("https://api.github.com/graphql", (url, options) => { - assert.strictEqual(options.headers.authorization, "token secret123"); - assert.strictEqual( - options.body, - '{"query":"{ viewer { login } }"}', - "Sends correct query" - ); - return { data: {} }; - }), - }, -}); -``` - -## License - -[MIT](LICENSE) diff --git a/node_modules/@octokit/graphql/dist-node/index.js b/node_modules/@octokit/graphql/dist-node/index.js deleted file mode 100644 index 3706e2b..0000000 --- a/node_modules/@octokit/graphql/dist-node/index.js +++ /dev/null @@ -1,116 +0,0 @@ -'use strict'; - -Object.defineProperty(exports, '__esModule', { value: true }); - -var request = require('@octokit/request'); -var universalUserAgent = require('universal-user-agent'); - -const VERSION = "4.6.4"; - -class GraphqlError extends Error { - constructor(request, response) { - const message = response.data.errors[0].message; - super(message); - Object.assign(this, response.data); - Object.assign(this, { - headers: response.headers - }); - this.name = "GraphqlError"; - this.request = request; // Maintains proper stack trace (only available on V8) - - /* istanbul ignore next */ - - if (Error.captureStackTrace) { - Error.captureStackTrace(this, this.constructor); - } - } - -} - -const NON_VARIABLE_OPTIONS = ["method", "baseUrl", "url", "headers", "request", "query", "mediaType"]; -const FORBIDDEN_VARIABLE_OPTIONS = ["query", "method", "url"]; -const GHES_V3_SUFFIX_REGEX = /\/api\/v3\/?$/; -function graphql(request, query, options) { - if (options) { - if (typeof query === "string" && "query" in options) { - return Promise.reject(new Error(`[@octokit/graphql] "query" cannot be used as variable name`)); - } - - for (const key in options) { - if (!FORBIDDEN_VARIABLE_OPTIONS.includes(key)) continue; - return Promise.reject(new Error(`[@octokit/graphql] "${key}" cannot be used as variable name`)); - } - } - - const parsedOptions = typeof query === "string" ? Object.assign({ - query - }, options) : query; - const requestOptions = Object.keys(parsedOptions).reduce((result, key) => { - if (NON_VARIABLE_OPTIONS.includes(key)) { - result[key] = parsedOptions[key]; - return result; - } - - if (!result.variables) { - result.variables = {}; - } - - result.variables[key] = parsedOptions[key]; - return result; - }, {}); // workaround for GitHub Enterprise baseUrl set with /api/v3 suffix - // https://github.com/octokit/auth-app.js/issues/111#issuecomment-657610451 - - const baseUrl = parsedOptions.baseUrl || request.endpoint.DEFAULTS.baseUrl; - - if (GHES_V3_SUFFIX_REGEX.test(baseUrl)) { - requestOptions.url = baseUrl.replace(GHES_V3_SUFFIX_REGEX, "/api/graphql"); - } - - return request(requestOptions).then(response => { - if (response.data.errors) { - const headers = {}; - - for (const key of Object.keys(response.headers)) { - headers[key] = response.headers[key]; - } - - throw new GraphqlError(requestOptions, { - headers, - data: response.data - }); - } - - return response.data.data; - }); -} - -function withDefaults(request$1, newDefaults) { - const newRequest = request$1.defaults(newDefaults); - - const newApi = (query, options) => { - return graphql(newRequest, query, options); - }; - - return Object.assign(newApi, { - defaults: withDefaults.bind(null, newRequest), - endpoint: request.request.endpoint - }); -} - -const graphql$1 = withDefaults(request.request, { - headers: { - "user-agent": `octokit-graphql.js/${VERSION} ${universalUserAgent.getUserAgent()}` - }, - method: "POST", - url: "/graphql" -}); -function withCustomRequest(customRequest) { - return withDefaults(customRequest, { - method: "POST", - url: "/graphql" - }); -} - -exports.graphql = graphql$1; -exports.withCustomRequest = withCustomRequest; -//# sourceMappingURL=index.js.map diff --git a/node_modules/@octokit/graphql/dist-node/index.js.map b/node_modules/@octokit/graphql/dist-node/index.js.map deleted file mode 100644 index 0513384..0000000 --- a/node_modules/@octokit/graphql/dist-node/index.js.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"index.js","sources":["../dist-src/version.js","../dist-src/error.js","../dist-src/graphql.js","../dist-src/with-defaults.js","../dist-src/index.js"],"sourcesContent":["export const VERSION = \"4.6.4\";\n","export class GraphqlError extends Error {\n constructor(request, response) {\n const message = response.data.errors[0].message;\n super(message);\n Object.assign(this, response.data);\n Object.assign(this, { headers: response.headers });\n this.name = \"GraphqlError\";\n this.request = request;\n // Maintains proper stack trace (only available on V8)\n /* istanbul ignore next */\n if (Error.captureStackTrace) {\n Error.captureStackTrace(this, this.constructor);\n }\n }\n}\n","import { GraphqlError } from \"./error\";\nconst NON_VARIABLE_OPTIONS = [\n \"method\",\n \"baseUrl\",\n \"url\",\n \"headers\",\n \"request\",\n \"query\",\n \"mediaType\",\n];\nconst FORBIDDEN_VARIABLE_OPTIONS = [\"query\", \"method\", \"url\"];\nconst GHES_V3_SUFFIX_REGEX = /\\/api\\/v3\\/?$/;\nexport function graphql(request, query, options) {\n if (options) {\n if (typeof query === \"string\" && \"query\" in options) {\n return Promise.reject(new Error(`[@octokit/graphql] \"query\" cannot be used as variable name`));\n }\n for (const key in options) {\n if (!FORBIDDEN_VARIABLE_OPTIONS.includes(key))\n continue;\n return Promise.reject(new Error(`[@octokit/graphql] \"${key}\" cannot be used as variable name`));\n }\n }\n const parsedOptions = typeof query === \"string\" ? Object.assign({ query }, options) : query;\n const requestOptions = Object.keys(parsedOptions).reduce((result, key) => {\n if (NON_VARIABLE_OPTIONS.includes(key)) {\n result[key] = parsedOptions[key];\n return result;\n }\n if (!result.variables) {\n result.variables = {};\n }\n result.variables[key] = parsedOptions[key];\n return result;\n }, {});\n // workaround for GitHub Enterprise baseUrl set with /api/v3 suffix\n // https://github.com/octokit/auth-app.js/issues/111#issuecomment-657610451\n const baseUrl = parsedOptions.baseUrl || request.endpoint.DEFAULTS.baseUrl;\n if (GHES_V3_SUFFIX_REGEX.test(baseUrl)) {\n requestOptions.url = baseUrl.replace(GHES_V3_SUFFIX_REGEX, \"/api/graphql\");\n }\n return request(requestOptions).then((response) => {\n if (response.data.errors) {\n const headers = {};\n for (const key of Object.keys(response.headers)) {\n headers[key] = response.headers[key];\n }\n throw new GraphqlError(requestOptions, {\n headers,\n data: response.data,\n });\n }\n return response.data.data;\n });\n}\n","import { request as Request } from \"@octokit/request\";\nimport { graphql } from \"./graphql\";\nexport function withDefaults(request, newDefaults) {\n const newRequest = request.defaults(newDefaults);\n const newApi = (query, options) => {\n return graphql(newRequest, query, options);\n };\n return Object.assign(newApi, {\n defaults: withDefaults.bind(null, newRequest),\n endpoint: Request.endpoint,\n });\n}\n","import { request } from \"@octokit/request\";\nimport { getUserAgent } from \"universal-user-agent\";\nimport { VERSION } from \"./version\";\nimport { withDefaults } from \"./with-defaults\";\nexport const graphql = withDefaults(request, {\n headers: {\n \"user-agent\": `octokit-graphql.js/${VERSION} ${getUserAgent()}`,\n },\n method: \"POST\",\n url: \"/graphql\",\n});\nexport function withCustomRequest(customRequest) {\n return withDefaults(customRequest, {\n method: \"POST\",\n url: \"/graphql\",\n });\n}\n"],"names":["VERSION","GraphqlError","Error","constructor","request","response","message","data","errors","Object","assign","headers","name","captureStackTrace","NON_VARIABLE_OPTIONS","FORBIDDEN_VARIABLE_OPTIONS","GHES_V3_SUFFIX_REGEX","graphql","query","options","Promise","reject","key","includes","parsedOptions","requestOptions","keys","reduce","result","variables","baseUrl","endpoint","DEFAULTS","test","url","replace","then","withDefaults","newDefaults","newRequest","defaults","newApi","bind","Request","getUserAgent","method","withCustomRequest","customRequest"],"mappings":";;;;;;;AAAO,MAAMA,OAAO,GAAG,mBAAhB;;ACAA,MAAMC,YAAN,SAA2BC,KAA3B,CAAiC;AACpCC,EAAAA,WAAW,CAACC,OAAD,EAAUC,QAAV,EAAoB;AAC3B,UAAMC,OAAO,GAAGD,QAAQ,CAACE,IAAT,CAAcC,MAAd,CAAqB,CAArB,EAAwBF,OAAxC;AACA,UAAMA,OAAN;AACAG,IAAAA,MAAM,CAACC,MAAP,CAAc,IAAd,EAAoBL,QAAQ,CAACE,IAA7B;AACAE,IAAAA,MAAM,CAACC,MAAP,CAAc,IAAd,EAAoB;AAAEC,MAAAA,OAAO,EAAEN,QAAQ,CAACM;AAApB,KAApB;AACA,SAAKC,IAAL,GAAY,cAAZ;AACA,SAAKR,OAAL,GAAeA,OAAf,CAN2B;;AAQ3B;;AACA,QAAIF,KAAK,CAACW,iBAAV,EAA6B;AACzBX,MAAAA,KAAK,CAACW,iBAAN,CAAwB,IAAxB,EAA8B,KAAKV,WAAnC;AACH;AACJ;;AAbmC;;ACCxC,MAAMW,oBAAoB,GAAG,CACzB,QADyB,EAEzB,SAFyB,EAGzB,KAHyB,EAIzB,SAJyB,EAKzB,SALyB,EAMzB,OANyB,EAOzB,WAPyB,CAA7B;AASA,MAAMC,0BAA0B,GAAG,CAAC,OAAD,EAAU,QAAV,EAAoB,KAApB,CAAnC;AACA,MAAMC,oBAAoB,GAAG,eAA7B;AACA,AAAO,SAASC,OAAT,CAAiBb,OAAjB,EAA0Bc,KAA1B,EAAiCC,OAAjC,EAA0C;AAC7C,MAAIA,OAAJ,EAAa;AACT,QAAI,OAAOD,KAAP,KAAiB,QAAjB,IAA6B,WAAWC,OAA5C,EAAqD;AACjD,aAAOC,OAAO,CAACC,MAAR,CAAe,IAAInB,KAAJ,CAAW,4DAAX,CAAf,CAAP;AACH;;AACD,SAAK,MAAMoB,GAAX,IAAkBH,OAAlB,EAA2B;AACvB,UAAI,CAACJ,0BAA0B,CAACQ,QAA3B,CAAoCD,GAApC,CAAL,EACI;AACJ,aAAOF,OAAO,CAACC,MAAR,CAAe,IAAInB,KAAJ,CAAW,uBAAsBoB,GAAI,mCAArC,CAAf,CAAP;AACH;AACJ;;AACD,QAAME,aAAa,GAAG,OAAON,KAAP,KAAiB,QAAjB,GAA4BT,MAAM,CAACC,MAAP,CAAc;AAAEQ,IAAAA;AAAF,GAAd,EAAyBC,OAAzB,CAA5B,GAAgED,KAAtF;AACA,QAAMO,cAAc,GAAGhB,MAAM,CAACiB,IAAP,CAAYF,aAAZ,EAA2BG,MAA3B,CAAkC,CAACC,MAAD,EAASN,GAAT,KAAiB;AACtE,QAAIR,oBAAoB,CAACS,QAArB,CAA8BD,GAA9B,CAAJ,EAAwC;AACpCM,MAAAA,MAAM,CAACN,GAAD,CAAN,GAAcE,aAAa,CAACF,GAAD,CAA3B;AACA,aAAOM,MAAP;AACH;;AACD,QAAI,CAACA,MAAM,CAACC,SAAZ,EAAuB;AACnBD,MAAAA,MAAM,CAACC,SAAP,GAAmB,EAAnB;AACH;;AACDD,IAAAA,MAAM,CAACC,SAAP,CAAiBP,GAAjB,IAAwBE,aAAa,CAACF,GAAD,CAArC;AACA,WAAOM,MAAP;AACH,GAVsB,EAUpB,EAVoB,CAAvB,CAZ6C;AAwB7C;;AACA,QAAME,OAAO,GAAGN,aAAa,CAACM,OAAd,IAAyB1B,OAAO,CAAC2B,QAAR,CAAiBC,QAAjB,CAA0BF,OAAnE;;AACA,MAAId,oBAAoB,CAACiB,IAArB,CAA0BH,OAA1B,CAAJ,EAAwC;AACpCL,IAAAA,cAAc,CAACS,GAAf,GAAqBJ,OAAO,CAACK,OAAR,CAAgBnB,oBAAhB,EAAsC,cAAtC,CAArB;AACH;;AACD,SAAOZ,OAAO,CAACqB,cAAD,CAAP,CAAwBW,IAAxB,CAA8B/B,QAAD,IAAc;AAC9C,QAAIA,QAAQ,CAACE,IAAT,CAAcC,MAAlB,EAA0B;AACtB,YAAMG,OAAO,GAAG,EAAhB;;AACA,WAAK,MAAMW,GAAX,IAAkBb,MAAM,CAACiB,IAAP,CAAYrB,QAAQ,CAACM,OAArB,CAAlB,EAAiD;AAC7CA,QAAAA,OAAO,CAACW,GAAD,CAAP,GAAejB,QAAQ,CAACM,OAAT,CAAiBW,GAAjB,CAAf;AACH;;AACD,YAAM,IAAIrB,YAAJ,CAAiBwB,cAAjB,EAAiC;AACnCd,QAAAA,OADmC;AAEnCJ,QAAAA,IAAI,EAAEF,QAAQ,CAACE;AAFoB,OAAjC,CAAN;AAIH;;AACD,WAAOF,QAAQ,CAACE,IAAT,CAAcA,IAArB;AACH,GAZM,CAAP;AAaH;;ACpDM,SAAS8B,YAAT,CAAsBjC,SAAtB,EAA+BkC,WAA/B,EAA4C;AAC/C,QAAMC,UAAU,GAAGnC,SAAO,CAACoC,QAAR,CAAiBF,WAAjB,CAAnB;;AACA,QAAMG,MAAM,GAAG,CAACvB,KAAD,EAAQC,OAAR,KAAoB;AAC/B,WAAOF,OAAO,CAACsB,UAAD,EAAarB,KAAb,EAAoBC,OAApB,CAAd;AACH,GAFD;;AAGA,SAAOV,MAAM,CAACC,MAAP,CAAc+B,MAAd,EAAsB;AACzBD,IAAAA,QAAQ,EAAEH,YAAY,CAACK,IAAb,CAAkB,IAAlB,EAAwBH,UAAxB,CADe;AAEzBR,IAAAA,QAAQ,EAAEY,eAAO,CAACZ;AAFO,GAAtB,CAAP;AAIH;;MCPYd,SAAO,GAAGoB,YAAY,CAACjC,eAAD,EAAU;AACzCO,EAAAA,OAAO,EAAE;AACL,kBAAe,sBAAqBX,OAAQ,IAAG4C,+BAAY,EAAG;AADzD,GADgC;AAIzCC,EAAAA,MAAM,EAAE,MAJiC;AAKzCX,EAAAA,GAAG,EAAE;AALoC,CAAV,CAA5B;AAOP,AAAO,SAASY,iBAAT,CAA2BC,aAA3B,EAA0C;AAC7C,SAAOV,YAAY,CAACU,aAAD,EAAgB;AAC/BF,IAAAA,MAAM,EAAE,MADuB;AAE/BX,IAAAA,GAAG,EAAE;AAF0B,GAAhB,CAAnB;AAIH;;;;;"} \ No newline at end of file diff --git a/node_modules/@octokit/graphql/dist-src/error.js b/node_modules/@octokit/graphql/dist-src/error.js deleted file mode 100644 index 37942ba..0000000 --- a/node_modules/@octokit/graphql/dist-src/error.js +++ /dev/null @@ -1,15 +0,0 @@ -export class GraphqlError extends Error { - constructor(request, response) { - const message = response.data.errors[0].message; - super(message); - Object.assign(this, response.data); - Object.assign(this, { headers: response.headers }); - this.name = "GraphqlError"; - this.request = request; - // Maintains proper stack trace (only available on V8) - /* istanbul ignore next */ - if (Error.captureStackTrace) { - Error.captureStackTrace(this, this.constructor); - } - } -} diff --git a/node_modules/@octokit/graphql/dist-src/graphql.js b/node_modules/@octokit/graphql/dist-src/graphql.js deleted file mode 100644 index 4fef9b1..0000000 --- a/node_modules/@octokit/graphql/dist-src/graphql.js +++ /dev/null @@ -1,55 +0,0 @@ -import { GraphqlError } from "./error"; -const NON_VARIABLE_OPTIONS = [ - "method", - "baseUrl", - "url", - "headers", - "request", - "query", - "mediaType", -]; -const FORBIDDEN_VARIABLE_OPTIONS = ["query", "method", "url"]; -const GHES_V3_SUFFIX_REGEX = /\/api\/v3\/?$/; -export function graphql(request, query, options) { - if (options) { - if (typeof query === "string" && "query" in options) { - return Promise.reject(new Error(`[@octokit/graphql] "query" cannot be used as variable name`)); - } - for (const key in options) { - if (!FORBIDDEN_VARIABLE_OPTIONS.includes(key)) - continue; - return Promise.reject(new Error(`[@octokit/graphql] "${key}" cannot be used as variable name`)); - } - } - const parsedOptions = typeof query === "string" ? Object.assign({ query }, options) : query; - const requestOptions = Object.keys(parsedOptions).reduce((result, key) => { - if (NON_VARIABLE_OPTIONS.includes(key)) { - result[key] = parsedOptions[key]; - return result; - } - if (!result.variables) { - result.variables = {}; - } - result.variables[key] = parsedOptions[key]; - return result; - }, {}); - // workaround for GitHub Enterprise baseUrl set with /api/v3 suffix - // https://github.com/octokit/auth-app.js/issues/111#issuecomment-657610451 - const baseUrl = parsedOptions.baseUrl || request.endpoint.DEFAULTS.baseUrl; - if (GHES_V3_SUFFIX_REGEX.test(baseUrl)) { - requestOptions.url = baseUrl.replace(GHES_V3_SUFFIX_REGEX, "/api/graphql"); - } - return request(requestOptions).then((response) => { - if (response.data.errors) { - const headers = {}; - for (const key of Object.keys(response.headers)) { - headers[key] = response.headers[key]; - } - throw new GraphqlError(requestOptions, { - headers, - data: response.data, - }); - } - return response.data.data; - }); -} diff --git a/node_modules/@octokit/graphql/dist-src/index.js b/node_modules/@octokit/graphql/dist-src/index.js deleted file mode 100644 index b202378..0000000 --- a/node_modules/@octokit/graphql/dist-src/index.js +++ /dev/null @@ -1,17 +0,0 @@ -import { request } from "@octokit/request"; -import { getUserAgent } from "universal-user-agent"; -import { VERSION } from "./version"; -import { withDefaults } from "./with-defaults"; -export const graphql = withDefaults(request, { - headers: { - "user-agent": `octokit-graphql.js/${VERSION} ${getUserAgent()}`, - }, - method: "POST", - url: "/graphql", -}); -export function withCustomRequest(customRequest) { - return withDefaults(customRequest, { - method: "POST", - url: "/graphql", - }); -} diff --git a/node_modules/@octokit/graphql/dist-src/types.js b/node_modules/@octokit/graphql/dist-src/types.js deleted file mode 100644 index cb0ff5c..0000000 --- a/node_modules/@octokit/graphql/dist-src/types.js +++ /dev/null @@ -1 +0,0 @@ -export {}; diff --git a/node_modules/@octokit/graphql/dist-src/version.js b/node_modules/@octokit/graphql/dist-src/version.js deleted file mode 100644 index 202b8c6..0000000 --- a/node_modules/@octokit/graphql/dist-src/version.js +++ /dev/null @@ -1 +0,0 @@ -export const VERSION = "4.6.4"; diff --git a/node_modules/@octokit/graphql/dist-src/with-defaults.js b/node_modules/@octokit/graphql/dist-src/with-defaults.js deleted file mode 100644 index 6ea309e..0000000 --- a/node_modules/@octokit/graphql/dist-src/with-defaults.js +++ /dev/null @@ -1,12 +0,0 @@ -import { request as Request } from "@octokit/request"; -import { graphql } from "./graphql"; -export function withDefaults(request, newDefaults) { - const newRequest = request.defaults(newDefaults); - const newApi = (query, options) => { - return graphql(newRequest, query, options); - }; - return Object.assign(newApi, { - defaults: withDefaults.bind(null, newRequest), - endpoint: Request.endpoint, - }); -} diff --git a/node_modules/@octokit/graphql/dist-types/error.d.ts b/node_modules/@octokit/graphql/dist-types/error.d.ts deleted file mode 100644 index 81b31a4..0000000 --- a/node_modules/@octokit/graphql/dist-types/error.d.ts +++ /dev/null @@ -1,9 +0,0 @@ -import { ResponseHeaders } from "@octokit/types"; -import { GraphQlEndpointOptions, GraphQlQueryResponse } from "./types"; -export declare class GraphqlError extends Error { - request: GraphQlEndpointOptions; - constructor(request: GraphQlEndpointOptions, response: { - headers: ResponseHeaders; - data: Required>; - }); -} diff --git a/node_modules/@octokit/graphql/dist-types/graphql.d.ts b/node_modules/@octokit/graphql/dist-types/graphql.d.ts deleted file mode 100644 index 2942b8b..0000000 --- a/node_modules/@octokit/graphql/dist-types/graphql.d.ts +++ /dev/null @@ -1,3 +0,0 @@ -import { request as Request } from "@octokit/request"; -import { RequestParameters, GraphQlQueryResponseData } from "./types"; -export declare function graphql(request: typeof Request, query: string | RequestParameters, options?: RequestParameters): Promise; diff --git a/node_modules/@octokit/graphql/dist-types/index.d.ts b/node_modules/@octokit/graphql/dist-types/index.d.ts deleted file mode 100644 index a0d263b..0000000 --- a/node_modules/@octokit/graphql/dist-types/index.d.ts +++ /dev/null @@ -1,4 +0,0 @@ -import { request } from "@octokit/request"; -export declare const graphql: import("./types").graphql; -export { GraphQlQueryResponseData } from "./types"; -export declare function withCustomRequest(customRequest: typeof request): import("./types").graphql; diff --git a/node_modules/@octokit/graphql/dist-types/types.d.ts b/node_modules/@octokit/graphql/dist-types/types.d.ts deleted file mode 100644 index a3cf6eb..0000000 --- a/node_modules/@octokit/graphql/dist-types/types.d.ts +++ /dev/null @@ -1,54 +0,0 @@ -import { EndpointOptions, RequestParameters as RequestParametersType, EndpointInterface } from "@octokit/types"; -export declare type GraphQlEndpointOptions = EndpointOptions & { - variables?: { - [key: string]: unknown; - }; -}; -export declare type RequestParameters = RequestParametersType; -export declare type Query = string; -export interface graphql { - /** - * Sends a GraphQL query request based on endpoint options - * The GraphQL query must be specified in `options`. - * - * @param {object} endpoint Must set `method` and `url`. Plus URL, query or body parameters, as well as `headers`, `mediaType.{format|previews}`, `request`, or `baseUrl`. - */ - (options: RequestParameters): GraphQlResponse; - /** - * Sends a GraphQL query request based on endpoint options - * - * @param {string} query GraphQL query. Example: `'query { viewer { login } }'`. - * @param {object} [parameters] URL, query or body parameters, as well as `headers`, `mediaType.{format|previews}`, `request`, or `baseUrl`. - */ - (query: Query, parameters?: RequestParameters): GraphQlResponse; - /** - * Returns a new `endpoint` with updated route and parameters - */ - defaults: (newDefaults: RequestParameters) => graphql; - /** - * Octokit endpoint API, see {@link https://github.com/octokit/endpoint.js|@octokit/endpoint} - */ - endpoint: EndpointInterface; -} -export declare type GraphQlResponse = Promise; -export declare type GraphQlQueryResponseData = { - [key: string]: any; -}; -export declare type GraphQlQueryResponse = { - data: ResponseData; - errors?: [ - { - message: string; - path: [string]; - extensions: { - [key: string]: any; - }; - locations: [ - { - line: number; - column: number; - } - ]; - } - ]; -}; diff --git a/node_modules/@octokit/graphql/dist-types/version.d.ts b/node_modules/@octokit/graphql/dist-types/version.d.ts deleted file mode 100644 index c1c71f7..0000000 --- a/node_modules/@octokit/graphql/dist-types/version.d.ts +++ /dev/null @@ -1 +0,0 @@ -export declare const VERSION = "4.6.4"; diff --git a/node_modules/@octokit/graphql/dist-types/with-defaults.d.ts b/node_modules/@octokit/graphql/dist-types/with-defaults.d.ts deleted file mode 100644 index 03edc32..0000000 --- a/node_modules/@octokit/graphql/dist-types/with-defaults.d.ts +++ /dev/null @@ -1,3 +0,0 @@ -import { request as Request } from "@octokit/request"; -import { graphql as ApiInterface, RequestParameters } from "./types"; -export declare function withDefaults(request: typeof Request, newDefaults: RequestParameters): ApiInterface; diff --git a/node_modules/@octokit/graphql/dist-web/index.js b/node_modules/@octokit/graphql/dist-web/index.js deleted file mode 100644 index 79868ba..0000000 --- a/node_modules/@octokit/graphql/dist-web/index.js +++ /dev/null @@ -1,103 +0,0 @@ -import { request } from '@octokit/request'; -import { getUserAgent } from 'universal-user-agent'; - -const VERSION = "4.6.4"; - -class GraphqlError extends Error { - constructor(request, response) { - const message = response.data.errors[0].message; - super(message); - Object.assign(this, response.data); - Object.assign(this, { headers: response.headers }); - this.name = "GraphqlError"; - this.request = request; - // Maintains proper stack trace (only available on V8) - /* istanbul ignore next */ - if (Error.captureStackTrace) { - Error.captureStackTrace(this, this.constructor); - } - } -} - -const NON_VARIABLE_OPTIONS = [ - "method", - "baseUrl", - "url", - "headers", - "request", - "query", - "mediaType", -]; -const FORBIDDEN_VARIABLE_OPTIONS = ["query", "method", "url"]; -const GHES_V3_SUFFIX_REGEX = /\/api\/v3\/?$/; -function graphql(request, query, options) { - if (options) { - if (typeof query === "string" && "query" in options) { - return Promise.reject(new Error(`[@octokit/graphql] "query" cannot be used as variable name`)); - } - for (const key in options) { - if (!FORBIDDEN_VARIABLE_OPTIONS.includes(key)) - continue; - return Promise.reject(new Error(`[@octokit/graphql] "${key}" cannot be used as variable name`)); - } - } - const parsedOptions = typeof query === "string" ? Object.assign({ query }, options) : query; - const requestOptions = Object.keys(parsedOptions).reduce((result, key) => { - if (NON_VARIABLE_OPTIONS.includes(key)) { - result[key] = parsedOptions[key]; - return result; - } - if (!result.variables) { - result.variables = {}; - } - result.variables[key] = parsedOptions[key]; - return result; - }, {}); - // workaround for GitHub Enterprise baseUrl set with /api/v3 suffix - // https://github.com/octokit/auth-app.js/issues/111#issuecomment-657610451 - const baseUrl = parsedOptions.baseUrl || request.endpoint.DEFAULTS.baseUrl; - if (GHES_V3_SUFFIX_REGEX.test(baseUrl)) { - requestOptions.url = baseUrl.replace(GHES_V3_SUFFIX_REGEX, "/api/graphql"); - } - return request(requestOptions).then((response) => { - if (response.data.errors) { - const headers = {}; - for (const key of Object.keys(response.headers)) { - headers[key] = response.headers[key]; - } - throw new GraphqlError(requestOptions, { - headers, - data: response.data, - }); - } - return response.data.data; - }); -} - -function withDefaults(request$1, newDefaults) { - const newRequest = request$1.defaults(newDefaults); - const newApi = (query, options) => { - return graphql(newRequest, query, options); - }; - return Object.assign(newApi, { - defaults: withDefaults.bind(null, newRequest), - endpoint: request.endpoint, - }); -} - -const graphql$1 = withDefaults(request, { - headers: { - "user-agent": `octokit-graphql.js/${VERSION} ${getUserAgent()}`, - }, - method: "POST", - url: "/graphql", -}); -function withCustomRequest(customRequest) { - return withDefaults(customRequest, { - method: "POST", - url: "/graphql", - }); -} - -export { graphql$1 as graphql, withCustomRequest }; -//# sourceMappingURL=index.js.map diff --git a/node_modules/@octokit/graphql/dist-web/index.js.map b/node_modules/@octokit/graphql/dist-web/index.js.map deleted file mode 100644 index 8fcf95a..0000000 --- a/node_modules/@octokit/graphql/dist-web/index.js.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"index.js","sources":["../dist-src/version.js","../dist-src/error.js","../dist-src/graphql.js","../dist-src/with-defaults.js","../dist-src/index.js"],"sourcesContent":["export const VERSION = \"4.6.4\";\n","export class GraphqlError extends Error {\n constructor(request, response) {\n const message = response.data.errors[0].message;\n super(message);\n Object.assign(this, response.data);\n Object.assign(this, { headers: response.headers });\n this.name = \"GraphqlError\";\n this.request = request;\n // Maintains proper stack trace (only available on V8)\n /* istanbul ignore next */\n if (Error.captureStackTrace) {\n Error.captureStackTrace(this, this.constructor);\n }\n }\n}\n","import { GraphqlError } from \"./error\";\nconst NON_VARIABLE_OPTIONS = [\n \"method\",\n \"baseUrl\",\n \"url\",\n \"headers\",\n \"request\",\n \"query\",\n \"mediaType\",\n];\nconst FORBIDDEN_VARIABLE_OPTIONS = [\"query\", \"method\", \"url\"];\nconst GHES_V3_SUFFIX_REGEX = /\\/api\\/v3\\/?$/;\nexport function graphql(request, query, options) {\n if (options) {\n if (typeof query === \"string\" && \"query\" in options) {\n return Promise.reject(new Error(`[@octokit/graphql] \"query\" cannot be used as variable name`));\n }\n for (const key in options) {\n if (!FORBIDDEN_VARIABLE_OPTIONS.includes(key))\n continue;\n return Promise.reject(new Error(`[@octokit/graphql] \"${key}\" cannot be used as variable name`));\n }\n }\n const parsedOptions = typeof query === \"string\" ? Object.assign({ query }, options) : query;\n const requestOptions = Object.keys(parsedOptions).reduce((result, key) => {\n if (NON_VARIABLE_OPTIONS.includes(key)) {\n result[key] = parsedOptions[key];\n return result;\n }\n if (!result.variables) {\n result.variables = {};\n }\n result.variables[key] = parsedOptions[key];\n return result;\n }, {});\n // workaround for GitHub Enterprise baseUrl set with /api/v3 suffix\n // https://github.com/octokit/auth-app.js/issues/111#issuecomment-657610451\n const baseUrl = parsedOptions.baseUrl || request.endpoint.DEFAULTS.baseUrl;\n if (GHES_V3_SUFFIX_REGEX.test(baseUrl)) {\n requestOptions.url = baseUrl.replace(GHES_V3_SUFFIX_REGEX, \"/api/graphql\");\n }\n return request(requestOptions).then((response) => {\n if (response.data.errors) {\n const headers = {};\n for (const key of Object.keys(response.headers)) {\n headers[key] = response.headers[key];\n }\n throw new GraphqlError(requestOptions, {\n headers,\n data: response.data,\n });\n }\n return response.data.data;\n });\n}\n","import { request as Request } from \"@octokit/request\";\nimport { graphql } from \"./graphql\";\nexport function withDefaults(request, newDefaults) {\n const newRequest = request.defaults(newDefaults);\n const newApi = (query, options) => {\n return graphql(newRequest, query, options);\n };\n return Object.assign(newApi, {\n defaults: withDefaults.bind(null, newRequest),\n endpoint: Request.endpoint,\n });\n}\n","import { request } from \"@octokit/request\";\nimport { getUserAgent } from \"universal-user-agent\";\nimport { VERSION } from \"./version\";\nimport { withDefaults } from \"./with-defaults\";\nexport const graphql = withDefaults(request, {\n headers: {\n \"user-agent\": `octokit-graphql.js/${VERSION} ${getUserAgent()}`,\n },\n method: \"POST\",\n url: \"/graphql\",\n});\nexport function withCustomRequest(customRequest) {\n return withDefaults(customRequest, {\n method: \"POST\",\n url: \"/graphql\",\n });\n}\n"],"names":["request","Request","graphql"],"mappings":";;;AAAO,MAAM,OAAO,GAAG,mBAAmB;;ACAnC,MAAM,YAAY,SAAS,KAAK,CAAC;AACxC,IAAI,WAAW,CAAC,OAAO,EAAE,QAAQ,EAAE;AACnC,QAAQ,MAAM,OAAO,GAAG,QAAQ,CAAC,IAAI,CAAC,MAAM,CAAC,CAAC,CAAC,CAAC,OAAO,CAAC;AACxD,QAAQ,KAAK,CAAC,OAAO,CAAC,CAAC;AACvB,QAAQ,MAAM,CAAC,MAAM,CAAC,IAAI,EAAE,QAAQ,CAAC,IAAI,CAAC,CAAC;AAC3C,QAAQ,MAAM,CAAC,MAAM,CAAC,IAAI,EAAE,EAAE,OAAO,EAAE,QAAQ,CAAC,OAAO,EAAE,CAAC,CAAC;AAC3D,QAAQ,IAAI,CAAC,IAAI,GAAG,cAAc,CAAC;AACnC,QAAQ,IAAI,CAAC,OAAO,GAAG,OAAO,CAAC;AAC/B;AACA;AACA,QAAQ,IAAI,KAAK,CAAC,iBAAiB,EAAE;AACrC,YAAY,KAAK,CAAC,iBAAiB,CAAC,IAAI,EAAE,IAAI,CAAC,WAAW,CAAC,CAAC;AAC5D,SAAS;AACT,KAAK;AACL,CAAC;;ACbD,MAAM,oBAAoB,GAAG;AAC7B,IAAI,QAAQ;AACZ,IAAI,SAAS;AACb,IAAI,KAAK;AACT,IAAI,SAAS;AACb,IAAI,SAAS;AACb,IAAI,OAAO;AACX,IAAI,WAAW;AACf,CAAC,CAAC;AACF,MAAM,0BAA0B,GAAG,CAAC,OAAO,EAAE,QAAQ,EAAE,KAAK,CAAC,CAAC;AAC9D,MAAM,oBAAoB,GAAG,eAAe,CAAC;AAC7C,AAAO,SAAS,OAAO,CAAC,OAAO,EAAE,KAAK,EAAE,OAAO,EAAE;AACjD,IAAI,IAAI,OAAO,EAAE;AACjB,QAAQ,IAAI,OAAO,KAAK,KAAK,QAAQ,IAAI,OAAO,IAAI,OAAO,EAAE;AAC7D,YAAY,OAAO,OAAO,CAAC,MAAM,CAAC,IAAI,KAAK,CAAC,CAAC,0DAA0D,CAAC,CAAC,CAAC,CAAC;AAC3G,SAAS;AACT,QAAQ,KAAK,MAAM,GAAG,IAAI,OAAO,EAAE;AACnC,YAAY,IAAI,CAAC,0BAA0B,CAAC,QAAQ,CAAC,GAAG,CAAC;AACzD,gBAAgB,SAAS;AACzB,YAAY,OAAO,OAAO,CAAC,MAAM,CAAC,IAAI,KAAK,CAAC,CAAC,oBAAoB,EAAE,GAAG,CAAC,iCAAiC,CAAC,CAAC,CAAC,CAAC;AAC5G,SAAS;AACT,KAAK;AACL,IAAI,MAAM,aAAa,GAAG,OAAO,KAAK,KAAK,QAAQ,GAAG,MAAM,CAAC,MAAM,CAAC,EAAE,KAAK,EAAE,EAAE,OAAO,CAAC,GAAG,KAAK,CAAC;AAChG,IAAI,MAAM,cAAc,GAAG,MAAM,CAAC,IAAI,CAAC,aAAa,CAAC,CAAC,MAAM,CAAC,CAAC,MAAM,EAAE,GAAG,KAAK;AAC9E,QAAQ,IAAI,oBAAoB,CAAC,QAAQ,CAAC,GAAG,CAAC,EAAE;AAChD,YAAY,MAAM,CAAC,GAAG,CAAC,GAAG,aAAa,CAAC,GAAG,CAAC,CAAC;AAC7C,YAAY,OAAO,MAAM,CAAC;AAC1B,SAAS;AACT,QAAQ,IAAI,CAAC,MAAM,CAAC,SAAS,EAAE;AAC/B,YAAY,MAAM,CAAC,SAAS,GAAG,EAAE,CAAC;AAClC,SAAS;AACT,QAAQ,MAAM,CAAC,SAAS,CAAC,GAAG,CAAC,GAAG,aAAa,CAAC,GAAG,CAAC,CAAC;AACnD,QAAQ,OAAO,MAAM,CAAC;AACtB,KAAK,EAAE,EAAE,CAAC,CAAC;AACX;AACA;AACA,IAAI,MAAM,OAAO,GAAG,aAAa,CAAC,OAAO,IAAI,OAAO,CAAC,QAAQ,CAAC,QAAQ,CAAC,OAAO,CAAC;AAC/E,IAAI,IAAI,oBAAoB,CAAC,IAAI,CAAC,OAAO,CAAC,EAAE;AAC5C,QAAQ,cAAc,CAAC,GAAG,GAAG,OAAO,CAAC,OAAO,CAAC,oBAAoB,EAAE,cAAc,CAAC,CAAC;AACnF,KAAK;AACL,IAAI,OAAO,OAAO,CAAC,cAAc,CAAC,CAAC,IAAI,CAAC,CAAC,QAAQ,KAAK;AACtD,QAAQ,IAAI,QAAQ,CAAC,IAAI,CAAC,MAAM,EAAE;AAClC,YAAY,MAAM,OAAO,GAAG,EAAE,CAAC;AAC/B,YAAY,KAAK,MAAM,GAAG,IAAI,MAAM,CAAC,IAAI,CAAC,QAAQ,CAAC,OAAO,CAAC,EAAE;AAC7D,gBAAgB,OAAO,CAAC,GAAG,CAAC,GAAG,QAAQ,CAAC,OAAO,CAAC,GAAG,CAAC,CAAC;AACrD,aAAa;AACb,YAAY,MAAM,IAAI,YAAY,CAAC,cAAc,EAAE;AACnD,gBAAgB,OAAO;AACvB,gBAAgB,IAAI,EAAE,QAAQ,CAAC,IAAI;AACnC,aAAa,CAAC,CAAC;AACf,SAAS;AACT,QAAQ,OAAO,QAAQ,CAAC,IAAI,CAAC,IAAI,CAAC;AAClC,KAAK,CAAC,CAAC;AACP,CAAC;;ACpDM,SAAS,YAAY,CAACA,SAAO,EAAE,WAAW,EAAE;AACnD,IAAI,MAAM,UAAU,GAAGA,SAAO,CAAC,QAAQ,CAAC,WAAW,CAAC,CAAC;AACrD,IAAI,MAAM,MAAM,GAAG,CAAC,KAAK,EAAE,OAAO,KAAK;AACvC,QAAQ,OAAO,OAAO,CAAC,UAAU,EAAE,KAAK,EAAE,OAAO,CAAC,CAAC;AACnD,KAAK,CAAC;AACN,IAAI,OAAO,MAAM,CAAC,MAAM,CAAC,MAAM,EAAE;AACjC,QAAQ,QAAQ,EAAE,YAAY,CAAC,IAAI,CAAC,IAAI,EAAE,UAAU,CAAC;AACrD,QAAQ,QAAQ,EAAEC,OAAO,CAAC,QAAQ;AAClC,KAAK,CAAC,CAAC;AACP,CAAC;;ACPW,MAACC,SAAO,GAAG,YAAY,CAAC,OAAO,EAAE;AAC7C,IAAI,OAAO,EAAE;AACb,QAAQ,YAAY,EAAE,CAAC,mBAAmB,EAAE,OAAO,CAAC,CAAC,EAAE,YAAY,EAAE,CAAC,CAAC;AACvE,KAAK;AACL,IAAI,MAAM,EAAE,MAAM;AAClB,IAAI,GAAG,EAAE,UAAU;AACnB,CAAC,CAAC,CAAC;AACH,AAAO,SAAS,iBAAiB,CAAC,aAAa,EAAE;AACjD,IAAI,OAAO,YAAY,CAAC,aAAa,EAAE;AACvC,QAAQ,MAAM,EAAE,MAAM;AACtB,QAAQ,GAAG,EAAE,UAAU;AACvB,KAAK,CAAC,CAAC;AACP,CAAC;;;;"} \ No newline at end of file diff --git a/node_modules/@octokit/graphql/package.json b/node_modules/@octokit/graphql/package.json deleted file mode 100644 index a26fad7..0000000 --- a/node_modules/@octokit/graphql/package.json +++ /dev/null @@ -1,47 +0,0 @@ -{ - "name": "@octokit/graphql", - "description": "GitHub GraphQL API client for browsers and Node", - "version": "4.6.4", - "license": "MIT", - "files": [ - "dist-*/", - "bin/" - ], - "pika": true, - "sideEffects": false, - "keywords": [ - "octokit", - "github", - "api", - "graphql" - ], - "repository": "github:octokit/graphql.js", - "dependencies": { - "@octokit/request": "^5.6.0", - "@octokit/types": "^6.0.3", - "universal-user-agent": "^6.0.0" - }, - "devDependencies": { - "@pika/pack": "^0.5.0", - "@pika/plugin-build-node": "^0.9.0", - "@pika/plugin-build-web": "^0.9.0", - "@pika/plugin-ts-standard-pkg": "^0.9.0", - "@types/fetch-mock": "^7.2.5", - "@types/jest": "^26.0.0", - "@types/node": "^14.0.4", - "fetch-mock": "^9.0.0", - "jest": "^27.0.0", - "prettier": "2.3.1", - "semantic-release": "^17.0.0", - "semantic-release-plugin-update-version-in-files": "^1.0.0", - "ts-jest": "^27.0.0-next.12", - "typescript": "^4.0.0" - }, - "publishConfig": { - "access": "public" - }, - "source": "dist-src/index.js", - "types": "dist-types/index.d.ts", - "main": "dist-node/index.js", - "module": "dist-web/index.js" -} diff --git a/node_modules/@octokit/openapi-types/README.md b/node_modules/@octokit/openapi-types/README.md deleted file mode 100644 index 9da833c..0000000 --- a/node_modules/@octokit/openapi-types/README.md +++ /dev/null @@ -1,17 +0,0 @@ -# @octokit/openapi-types - -> Generated TypeScript definitions based on GitHub's OpenAPI spec - -This package is continously updated based on [GitHub's OpenAPI specification](https://github.com/github/rest-api-description/) - -## Usage - -```ts -import { components } from "@octokit/openapi-types"; - -type Repository = components["schemas"]["full-repository"]; -``` - -## License - -[MIT](LICENSE) diff --git a/node_modules/@octokit/openapi-types/package.json b/node_modules/@octokit/openapi-types/package.json deleted file mode 100644 index 563fb1c..0000000 --- a/node_modules/@octokit/openapi-types/package.json +++ /dev/null @@ -1,20 +0,0 @@ -{ - "name": "@octokit/openapi-types", - "description": "Generated TypeScript definitions based on GitHub's OpenAPI spec for api.github.com", - "repository": { - "type": "git", - "url": "https://github.com/octokit/openapi-types.ts.git", - "directory": "packages/openapi-types" - }, - "publishConfig": { - "access": "public" - }, - "version": "9.2.0", - "main": "", - "types": "types.d.ts", - "author": "Gregor Martynus (https://twitter.com/gr2m)", - "license": "MIT", - "octokit": { - "openapi-version": "3.2.0" - } -} diff --git a/node_modules/@octokit/openapi-types/types.d.ts b/node_modules/@octokit/openapi-types/types.d.ts deleted file mode 100644 index e9c715f..0000000 --- a/node_modules/@octokit/openapi-types/types.d.ts +++ /dev/null @@ -1,32899 +0,0 @@ -/** - * This file was auto-generated by openapi-typescript. - * Do not make direct changes to the file. - */ - -export interface paths { - "/": { - /** Get Hypermedia links to resources accessible in GitHub's REST API */ - get: operations["meta/root"]; - }; - "/app": { - /** - * Returns the GitHub App associated with the authentication credentials used. To see how many app installations are associated with this GitHub App, see the `installations_count` in the response. For more details about your app's installations, see the "[List installations for the authenticated app](https://docs.github.com/rest/reference/apps#list-installations-for-the-authenticated-app)" endpoint. - * - * You must use a [JWT](https://docs.github.com/apps/building-github-apps/authenticating-with-github-apps/#authenticating-as-a-github-app) to access this endpoint. - */ - get: operations["apps/get-authenticated"]; - }; - "/app-manifests/{code}/conversions": { - /** Use this endpoint to complete the handshake necessary when implementing the [GitHub App Manifest flow](https://docs.github.com/apps/building-github-apps/creating-github-apps-from-a-manifest/). When you create a GitHub App with the manifest flow, you receive a temporary `code` used to retrieve the GitHub App's `id`, `pem` (private key), and `webhook_secret`. */ - post: operations["apps/create-from-manifest"]; - }; - "/app/hook/config": { - /** - * Returns the webhook configuration for a GitHub App. For more information about configuring a webhook for your app, see "[Creating a GitHub App](/developers/apps/creating-a-github-app)." - * - * You must use a [JWT](https://docs.github.com/apps/building-github-apps/authenticating-with-github-apps/#authenticating-as-a-github-app) to access this endpoint. - */ - get: operations["apps/get-webhook-config-for-app"]; - /** - * Updates the webhook configuration for a GitHub App. For more information about configuring a webhook for your app, see "[Creating a GitHub App](/developers/apps/creating-a-github-app)." - * - * You must use a [JWT](https://docs.github.com/apps/building-github-apps/authenticating-with-github-apps/#authenticating-as-a-github-app) to access this endpoint. - */ - patch: operations["apps/update-webhook-config-for-app"]; - }; - "/app/hook/deliveries": { - /** - * Returns a list of webhook deliveries for the webhook configured for a GitHub App. - * - * You must use a [JWT](https://docs.github.com/apps/building-github-apps/authenticating-with-github-apps/#authenticating-as-a-github-app) to access this endpoint. - */ - get: operations["apps/list-webhook-deliveries"]; - }; - "/app/hook/deliveries/{delivery_id}": { - /** - * Returns a delivery for the webhook configured for a GitHub App. - * - * You must use a [JWT](https://docs.github.com/apps/building-github-apps/authenticating-with-github-apps/#authenticating-as-a-github-app) to access this endpoint. - */ - get: operations["apps/get-webhook-delivery"]; - }; - "/app/hook/deliveries/{delivery_id}/attempts": { - /** - * Redeliver a delivery for the webhook configured for a GitHub App. - * - * You must use a [JWT](https://docs.github.com/apps/building-github-apps/authenticating-with-github-apps/#authenticating-as-a-github-app) to access this endpoint. - */ - post: operations["apps/redeliver-webhook-delivery"]; - }; - "/app/installations": { - /** - * You must use a [JWT](https://docs.github.com/apps/building-github-apps/authenticating-with-github-apps/#authenticating-as-a-github-app) to access this endpoint. - * - * The permissions the installation has are included under the `permissions` key. - */ - get: operations["apps/list-installations"]; - }; - "/app/installations/{installation_id}": { - /** - * Enables an authenticated GitHub App to find an installation's information using the installation id. The installation's account type (`target_type`) will be either an organization or a user account, depending which account the repository belongs to. - * - * You must use a [JWT](https://docs.github.com/apps/building-github-apps/authenticating-with-github-apps/#authenticating-as-a-github-app) to access this endpoint. - */ - get: operations["apps/get-installation"]; - /** - * Uninstalls a GitHub App on a user, organization, or business account. If you prefer to temporarily suspend an app's access to your account's resources, then we recommend the "[Suspend an app installation](https://docs.github.com/rest/reference/apps/#suspend-an-app-installation)" endpoint. - * - * You must use a [JWT](https://docs.github.com/apps/building-github-apps/authenticating-with-github-apps/#authenticating-as-a-github-app) to access this endpoint. - */ - delete: operations["apps/delete-installation"]; - }; - "/app/installations/{installation_id}/access_tokens": { - /** - * Creates an installation access token that enables a GitHub App to make authenticated API requests for the app's installation on an organization or individual account. Installation tokens expire one hour from the time you create them. Using an expired token produces a status code of `401 - Unauthorized`, and requires creating a new installation token. By default the installation token has access to all repositories that the installation can access. To restrict the access to specific repositories, you can provide the `repository_ids` when creating the token. When you omit `repository_ids`, the response does not contain the `repositories` key. - * - * You must use a [JWT](https://docs.github.com/apps/building-github-apps/authenticating-with-github-apps/#authenticating-as-a-github-app) to access this endpoint. - */ - post: operations["apps/create-installation-access-token"]; - }; - "/app/installations/{installation_id}/suspended": { - /** - * Suspends a GitHub App on a user, organization, or business account, which blocks the app from accessing the account's resources. When a GitHub App is suspended, the app's access to the GitHub API or webhook events is blocked for that account. - * - * You must use a [JWT](https://docs.github.com/apps/building-github-apps/authenticating-with-github-apps/#authenticating-as-a-github-app) to access this endpoint. - */ - put: operations["apps/suspend-installation"]; - /** - * Removes a GitHub App installation suspension. - * - * You must use a [JWT](https://docs.github.com/apps/building-github-apps/authenticating-with-github-apps/#authenticating-as-a-github-app) to access this endpoint. - */ - delete: operations["apps/unsuspend-installation"]; - }; - "/applications/grants": { - /** - * **Deprecation Notice:** GitHub will discontinue the [OAuth Authorizations API](https://docs.github.com/rest/reference/oauth-authorizations/), which is used by integrations to create personal access tokens and OAuth tokens, and you must now create these tokens using our [web application flow](https://docs.github.com/developers/apps/authorizing-oauth-apps#web-application-flow). The [OAuth Authorizations API](https://docs.github.com/rest/reference/oauth-authorizations) will be removed on November, 13, 2020. For more information, including scheduled brownouts, see the [blog post](https://developer.github.com/changes/2020-02-14-deprecating-oauth-auth-endpoint/). - * - * You can use this API to list the set of OAuth applications that have been granted access to your account. Unlike the [list your authorizations](https://docs.github.com/rest/reference/oauth-authorizations#list-your-authorizations) API, this API does not manage individual tokens. This API will return one entry for each OAuth application that has been granted access to your account, regardless of the number of tokens an application has generated for your user. The list of OAuth applications returned matches what is shown on [the application authorizations settings screen within GitHub](https://github.com/settings/applications#authorized). The `scopes` returned are the union of scopes authorized for the application. For example, if an application has one token with `repo` scope and another token with `user` scope, the grant will return `["repo", "user"]`. - */ - get: operations["oauth-authorizations/list-grants"]; - }; - "/applications/grants/{grant_id}": { - /** **Deprecation Notice:** GitHub will discontinue the [OAuth Authorizations API](https://docs.github.com/rest/reference/oauth-authorizations), which is used by integrations to create personal access tokens and OAuth tokens, and you must now create these tokens using our [web application flow](https://docs.github.com/apps/building-oauth-apps/authorizing-oauth-apps/#web-application-flow). The [OAuth Authorizations API](https://docs.github.com/rest/reference/oauth-authorizations) will be removed on November, 13, 2020. For more information, including scheduled brownouts, see the [blog post](https://developer.github.com/changes/2020-02-14-deprecating-oauth-auth-endpoint/). */ - get: operations["oauth-authorizations/get-grant"]; - /** - * **Deprecation Notice:** GitHub will discontinue the [OAuth Authorizations API](https://docs.github.com/rest/reference/oauth-authorizations/), which is used by integrations to create personal access tokens and OAuth tokens, and you must now create these tokens using our [web application flow](https://docs.github.com/developers/apps/authorizing-oauth-apps#web-application-flow). The [OAuth Authorizations API](https://docs.github.com/rest/reference/oauth-authorizations/) will be removed on November, 13, 2020. For more information, including scheduled brownouts, see the [blog post](https://developer.github.com/changes/2020-02-14-deprecating-oauth-auth-endpoint/). - * - * Deleting an OAuth application's grant will also delete all OAuth tokens associated with the application for your user. Once deleted, the application has no access to your account and is no longer listed on [the application authorizations settings screen within GitHub](https://github.com/settings/applications#authorized). - */ - delete: operations["oauth-authorizations/delete-grant"]; - }; - "/applications/{client_id}/grant": { - /** - * OAuth application owners can revoke a grant for their OAuth application and a specific user. You must use [Basic Authentication](https://docs.github.com/rest/overview/other-authentication-methods#basic-authentication) when accessing this endpoint, using the OAuth application's `client_id` and `client_secret` as the username and password. You must also provide a valid OAuth `access_token` as an input parameter and the grant for the token's owner will be deleted. - * Deleting an OAuth application's grant will also delete all OAuth tokens associated with the application for the user. Once deleted, the application will have no access to the user's account and will no longer be listed on [the application authorizations settings screen within GitHub](https://github.com/settings/applications#authorized). - */ - delete: operations["apps/delete-authorization"]; - }; - "/applications/{client_id}/grants/{access_token}": { - /** - * **Deprecation Notice:** GitHub will discontinue OAuth endpoints that contain `access_token` in the path parameter. We have introduced new endpoints that allow you to securely manage tokens for OAuth Apps by moving `access_token` to the request body. For more information, see the [blog post](https://developer.github.com/changes/2020-02-14-deprecating-oauth-app-endpoint/). - * - * OAuth application owners can revoke a grant for their OAuth application and a specific user. You must use [Basic Authentication](https://docs.github.com/rest/overview/other-authentication-methods#basic-authentication) when accessing this endpoint, using the OAuth application's `client_id` and `client_secret` as the username and password. You must also provide a valid token as `:access_token` and the grant for the token's owner will be deleted. - * - * Deleting an OAuth application's grant will also delete all OAuth tokens associated with the application for the user. Once deleted, the application will have no access to the user's account and will no longer be listed on [the Applications settings page under "Authorized OAuth Apps" on GitHub](https://github.com/settings/applications#authorized). - */ - delete: operations["apps/revoke-grant-for-application"]; - }; - "/applications/{client_id}/token": { - /** OAuth applications can use a special API method for checking OAuth token validity without exceeding the normal rate limits for failed login attempts. Authentication works differently with this particular endpoint. You must use [Basic Authentication](https://docs.github.com/rest/overview/other-authentication-methods#basic-authentication) to use this endpoint, where the username is the OAuth application `client_id` and the password is its `client_secret`. Invalid tokens will return `404 NOT FOUND`. */ - post: operations["apps/check-token"]; - /** OAuth application owners can revoke a single token for an OAuth application. You must use [Basic Authentication](https://docs.github.com/rest/overview/other-authentication-methods#basic-authentication) when accessing this endpoint, using the OAuth application's `client_id` and `client_secret` as the username and password. */ - delete: operations["apps/delete-token"]; - /** OAuth applications can use this API method to reset a valid OAuth token without end-user involvement. Applications must save the "token" property in the response because changes take effect immediately. You must use [Basic Authentication](https://docs.github.com/rest/overview/other-authentication-methods#basic-authentication) when accessing this endpoint, using the OAuth application's `client_id` and `client_secret` as the username and password. Invalid tokens will return `404 NOT FOUND`. */ - patch: operations["apps/reset-token"]; - }; - "/applications/{client_id}/token/scoped": { - /** Use a non-scoped user-to-server OAuth access token to create a repository scoped and/or permission scoped user-to-server OAuth access token. You can specify which repositories the token can access and which permissions are granted to the token. You must use [Basic Authentication](https://docs.github.com/rest/overview/other-authentication-methods#basic-authentication) when accessing this endpoint, using the OAuth application's `client_id` and `client_secret` as the username and password. Invalid tokens will return `404 NOT FOUND`. */ - post: operations["apps/scope-token"]; - }; - "/applications/{client_id}/tokens/{access_token}": { - /** - * **Deprecation Notice:** GitHub will discontinue OAuth endpoints that contain `access_token` in the path parameter. We have introduced new endpoints that allow you to securely manage tokens for OAuth Apps by moving `access_token` to the request body. For more information, see the [blog post](https://developer.github.com/changes/2020-02-14-deprecating-oauth-app-endpoint/). - * - * OAuth applications can use a special API method for checking OAuth token validity without exceeding the normal rate limits for failed login attempts. Authentication works differently with this particular endpoint. You must use [Basic Authentication](https://docs.github.com/rest/overview/other-authentication-methods#basic-authentication) when accessing this endpoint, using the OAuth application's `client_id` and `client_secret` as the username and password. Invalid tokens will return `404 NOT FOUND`. - */ - get: operations["apps/check-authorization"]; - /** - * **Deprecation Notice:** GitHub will discontinue OAuth endpoints that contain `access_token` in the path parameter. We have introduced new endpoints that allow you to securely manage tokens for OAuth Apps by moving `access_token` to the request body. For more information, see the [blog post](https://developer.github.com/changes/2020-02-14-deprecating-oauth-app-endpoint/). - * - * OAuth applications can use this API method to reset a valid OAuth token without end-user involvement. Applications must save the "token" property in the response because changes take effect immediately. You must use [Basic Authentication](https://docs.github.com/rest/overview/other-authentication-methods#basic-authentication) when accessing this endpoint, using the OAuth application's `client_id` and `client_secret` as the username and password. Invalid tokens will return `404 NOT FOUND`. - */ - post: operations["apps/reset-authorization"]; - /** - * **Deprecation Notice:** GitHub will discontinue OAuth endpoints that contain `access_token` in the path parameter. We have introduced new endpoints that allow you to securely manage tokens for OAuth Apps by moving `access_token` to the request body. For more information, see the [blog post](https://developer.github.com/changes/2020-02-14-deprecating-oauth-app-endpoint/). - * - * OAuth application owners can revoke a single token for an OAuth application. You must use [Basic Authentication](https://docs.github.com/rest/overview/other-authentication-methods#basic-authentication) when accessing this endpoint, using the OAuth application's `client_id` and `client_secret` as the username and password. - */ - delete: operations["apps/revoke-authorization-for-application"]; - }; - "/apps/{app_slug}": { - /** - * **Note**: The `:app_slug` is just the URL-friendly name of your GitHub App. You can find this on the settings page for your GitHub App (e.g., `https://github.com/settings/apps/:app_slug`). - * - * If the GitHub App you specify is public, you can access this endpoint without authenticating. If the GitHub App you specify is private, you must authenticate with a [personal access token](https://help.github.com/articles/creating-a-personal-access-token-for-the-command-line/) or an [installation access token](https://docs.github.com/apps/building-github-apps/authenticating-with-github-apps/#authenticating-as-an-installation) to access this endpoint. - */ - get: operations["apps/get-by-slug"]; - }; - "/authorizations": { - /** **Deprecation Notice:** GitHub will discontinue the [OAuth Authorizations API](https://docs.github.com/rest/reference/oauth-authorizations), which is used by integrations to create personal access tokens and OAuth tokens, and you must now create these tokens using our [web application flow](https://docs.github.com/apps/building-oauth-apps/authorizing-oauth-apps/#web-application-flow). The [OAuth Authorizations API](https://docs.github.com/rest/reference/oauth-authorizations) will be removed on November, 13, 2020. For more information, including scheduled brownouts, see the [blog post](https://developer.github.com/changes/2020-02-14-deprecating-oauth-auth-endpoint/). */ - get: operations["oauth-authorizations/list-authorizations"]; - /** - * **Deprecation Notice:** GitHub will discontinue the [OAuth Authorizations API](https://docs.github.com/rest/reference/oauth-authorizations), which is used by integrations to create personal access tokens and OAuth tokens, and you must now create these tokens using our [web application flow](https://docs.github.com/developers/apps/authorizing-oauth-apps#web-application-flow). The [OAuth Authorizations API](https://docs.github.com/rest/reference/oauth-authorizations) will be removed on November, 13, 2020. For more information, including scheduled brownouts, see the [blog post](https://developer.github.com/changes/2020-02-14-deprecating-oauth-auth-endpoint/). - * - * **Warning:** Apps must use the [web application flow](https://docs.github.com/apps/building-oauth-apps/authorizing-oauth-apps/#web-application-flow) to obtain OAuth tokens that work with GitHub SAML organizations. OAuth tokens created using the Authorizations API will be unable to access GitHub SAML organizations. For more information, see the [blog post](https://developer.github.com/changes/2019-11-05-deprecated-passwords-and-authorizations-api). - * - * Creates OAuth tokens using [Basic Authentication](https://docs.github.com/rest/overview/other-authentication-methods#basic-authentication). If you have two-factor authentication setup, Basic Authentication for this endpoint requires that you use a one-time password (OTP) and your username and password instead of tokens. For more information, see "[Working with two-factor authentication](https://docs.github.com/rest/overview/other-authentication-methods#working-with-two-factor-authentication)." - * - * To create tokens for a particular OAuth application using this endpoint, you must authenticate as the user you want to create an authorization for and provide the app's client ID and secret, found on your OAuth application's settings page. If your OAuth application intends to create multiple tokens for one user, use `fingerprint` to differentiate between them. - * - * You can also create tokens on GitHub from the [personal access tokens settings](https://github.com/settings/tokens) page. Read more about these tokens in [the GitHub Help documentation](https://help.github.com/articles/creating-an-access-token-for-command-line-use). - * - * Organizations that enforce SAML SSO require personal access tokens to be allowed. Read more about allowing tokens in [the GitHub Help documentation](https://help.github.com/articles/about-identity-and-access-management-with-saml-single-sign-on). - */ - post: operations["oauth-authorizations/create-authorization"]; - }; - "/authorizations/clients/{client_id}": { - /** - * **Deprecation Notice:** GitHub will discontinue the [OAuth Authorizations API](https://docs.github.com/rest/reference/oauth-authorizations/), which is used by integrations to create personal access tokens and OAuth tokens, and you must now create these tokens using our [web application flow](https://docs.github.com/developers/apps/authorizing-oauth-apps#web-application-flow). The [OAuth Authorizations API](https://docs.github.com/rest/reference/oauth-authorizations) will be removed on November, 13, 2020. For more information, including scheduled brownouts, see the [blog post](https://developer.github.com/changes/2020-02-14-deprecating-oauth-auth-endpoint/). - * - * **Warning:** Apps must use the [web application flow](https://docs.github.com/apps/building-oauth-apps/authorizing-oauth-apps/#web-application-flow) to obtain OAuth tokens that work with GitHub SAML organizations. OAuth tokens created using the Authorizations API will be unable to access GitHub SAML organizations. For more information, see the [blog post](https://developer.github.com/changes/2019-11-05-deprecated-passwords-and-authorizations-api). - * - * Creates a new authorization for the specified OAuth application, only if an authorization for that application doesn't already exist for the user. The URL includes the 20 character client ID for the OAuth app that is requesting the token. It returns the user's existing authorization for the application if one is present. Otherwise, it creates and returns a new one. - * - * If you have two-factor authentication setup, Basic Authentication for this endpoint requires that you use a one-time password (OTP) and your username and password instead of tokens. For more information, see "[Working with two-factor authentication](https://docs.github.com/rest/overview/other-authentication-methods#working-with-two-factor-authentication)." - * - * **Deprecation Notice:** GitHub will discontinue the [OAuth Authorizations API](https://docs.github.com/rest/reference/oauth-authorizations/), which is used by integrations to create personal access tokens and OAuth tokens, and you must now create these tokens using our [web application flow](https://docs.github.com/developers/apps/authorizing-oauth-apps#web-application-flow). The [OAuth Authorizations API](https://docs.github.com/rest/reference/oauth-authorizations) will be removed on November, 13, 2020. For more information, including scheduled brownouts, see the [blog post](https://developer.github.com/changes/2020-02-14-deprecating-oauth-auth-endpoint/). - */ - put: operations["oauth-authorizations/get-or-create-authorization-for-app"]; - }; - "/authorizations/clients/{client_id}/{fingerprint}": { - /** - * **Deprecation Notice:** GitHub will discontinue the [OAuth Authorizations API](https://docs.github.com/rest/reference/oauth-authorizations/), which is used by integrations to create personal access tokens and OAuth tokens, and you must now create these tokens using our [web application flow](https://docs.github.com/developers/apps/authorizing-oauth-apps#web-application-flow). The [OAuth Authorizations API](https://docs.github.com/rest/reference/oauth-authorizations) will be removed on November, 13, 2020. For more information, including scheduled brownouts, see the [blog post](https://developer.github.com/changes/2020-02-14-deprecating-oauth-auth-endpoint/). - * - * **Warning:** Apps must use the [web application flow](https://docs.github.com/apps/building-oauth-apps/authorizing-oauth-apps/#web-application-flow) to obtain OAuth tokens that work with GitHub SAML organizations. OAuth tokens created using the Authorizations API will be unable to access GitHub SAML organizations. For more information, see the [blog post](https://developer.github.com/changes/2019-11-05-deprecated-passwords-and-authorizations-api). - * - * This method will create a new authorization for the specified OAuth application, only if an authorization for that application and fingerprint do not already exist for the user. The URL includes the 20 character client ID for the OAuth app that is requesting the token. `fingerprint` is a unique string to distinguish an authorization from others created for the same client ID and user. It returns the user's existing authorization for the application if one is present. Otherwise, it creates and returns a new one. - * - * If you have two-factor authentication setup, Basic Authentication for this endpoint requires that you use a one-time password (OTP) and your username and password instead of tokens. For more information, see "[Working with two-factor authentication](https://docs.github.com/rest/overview/other-authentication-methods#working-with-two-factor-authentication)." - */ - put: operations["oauth-authorizations/get-or-create-authorization-for-app-and-fingerprint"]; - }; - "/authorizations/{authorization_id}": { - /** **Deprecation Notice:** GitHub will discontinue the [OAuth Authorizations API](https://docs.github.com/rest/reference/oauth-authorizations), which is used by integrations to create personal access tokens and OAuth tokens, and you must now create these tokens using our [web application flow](https://docs.github.com/apps/building-oauth-apps/authorizing-oauth-apps/#web-application-flow). The [OAuth Authorizations API](https://docs.github.com/rest/reference/oauth-authorizations) will be removed on November, 13, 2020. For more information, including scheduled brownouts, see the [blog post](https://developer.github.com/changes/2020-02-14-deprecating-oauth-auth-endpoint/). */ - get: operations["oauth-authorizations/get-authorization"]; - /** **Deprecation Notice:** GitHub will discontinue the [OAuth Authorizations API](https://docs.github.com/rest/reference/oauth-authorizations), which is used by integrations to create personal access tokens and OAuth tokens, and you must now create these tokens using our [web application flow](https://docs.github.com/apps/building-oauth-apps/authorizing-oauth-apps/#web-application-flow). The [OAuth Authorizations API](https://docs.github.com/rest/reference/oauth-authorizations) will be removed on November, 13, 2020. For more information, including scheduled brownouts, see the [blog post](https://developer.github.com/changes/2020-02-14-deprecating-oauth-auth-endpoint/). */ - delete: operations["oauth-authorizations/delete-authorization"]; - /** - * **Deprecation Notice:** GitHub will discontinue the [OAuth Authorizations API](https://docs.github.com/rest/reference/oauth-authorizations/), which is used by integrations to create personal access tokens and OAuth tokens, and you must now create these tokens using our [web application flow](https://docs.github.com/developers/apps/authorizing-oauth-apps#web-application-flow). The [OAuth Authorizations API](https://docs.github.com/rest/reference/oauth-authorizations) will be removed on November, 13, 2020. For more information, including scheduled brownouts, see the [blog post](https://developer.github.com/changes/2020-02-14-deprecating-oauth-auth-endpoint/). - * - * If you have two-factor authentication setup, Basic Authentication for this endpoint requires that you use a one-time password (OTP) and your username and password instead of tokens. For more information, see "[Working with two-factor authentication](https://docs.github.com/rest/overview/other-authentication-methods#working-with-two-factor-authentication)." - * - * You can only send one of these scope keys at a time. - */ - patch: operations["oauth-authorizations/update-authorization"]; - }; - "/codes_of_conduct": { - get: operations["codes-of-conduct/get-all-codes-of-conduct"]; - }; - "/codes_of_conduct/{key}": { - get: operations["codes-of-conduct/get-conduct-code"]; - }; - "/emojis": { - /** Lists all the emojis available to use on GitHub. */ - get: operations["emojis/get"]; - }; - "/enterprises/{enterprise}/actions/permissions": { - /** - * Gets the GitHub Actions permissions policy for organizations and allowed actions in an enterprise. - * - * You must authenticate using an access token with the `admin:enterprise` scope to use this endpoint. - */ - get: operations["enterprise-admin/get-github-actions-permissions-enterprise"]; - /** - * Sets the GitHub Actions permissions policy for organizations and allowed actions in an enterprise. - * - * You must authenticate using an access token with the `admin:enterprise` scope to use this endpoint. - */ - put: operations["enterprise-admin/set-github-actions-permissions-enterprise"]; - }; - "/enterprises/{enterprise}/actions/permissions/organizations": { - /** - * Lists the organizations that are selected to have GitHub Actions enabled in an enterprise. To use this endpoint, the enterprise permission policy for `enabled_organizations` must be configured to `selected`. For more information, see "[Set GitHub Actions permissions for an enterprise](#set-github-actions-permissions-for-an-enterprise)." - * - * You must authenticate using an access token with the `admin:enterprise` scope to use this endpoint. - */ - get: operations["enterprise-admin/list-selected-organizations-enabled-github-actions-enterprise"]; - /** - * Replaces the list of selected organizations that are enabled for GitHub Actions in an enterprise. To use this endpoint, the enterprise permission policy for `enabled_organizations` must be configured to `selected`. For more information, see "[Set GitHub Actions permissions for an enterprise](#set-github-actions-permissions-for-an-enterprise)." - * - * You must authenticate using an access token with the `admin:enterprise` scope to use this endpoint. - */ - put: operations["enterprise-admin/set-selected-organizations-enabled-github-actions-enterprise"]; - }; - "/enterprises/{enterprise}/actions/permissions/organizations/{org_id}": { - /** - * Adds an organization to the list of selected organizations that are enabled for GitHub Actions in an enterprise. To use this endpoint, the enterprise permission policy for `enabled_organizations` must be configured to `selected`. For more information, see "[Set GitHub Actions permissions for an enterprise](#set-github-actions-permissions-for-an-enterprise)." - * - * You must authenticate using an access token with the `admin:enterprise` scope to use this endpoint. - */ - put: operations["enterprise-admin/enable-selected-organization-github-actions-enterprise"]; - /** - * Removes an organization from the list of selected organizations that are enabled for GitHub Actions in an enterprise. To use this endpoint, the enterprise permission policy for `enabled_organizations` must be configured to `selected`. For more information, see "[Set GitHub Actions permissions for an enterprise](#set-github-actions-permissions-for-an-enterprise)." - * - * You must authenticate using an access token with the `admin:enterprise` scope to use this endpoint. - */ - delete: operations["enterprise-admin/disable-selected-organization-github-actions-enterprise"]; - }; - "/enterprises/{enterprise}/actions/permissions/selected-actions": { - /** - * Gets the selected actions that are allowed in an enterprise. To use this endpoint, the enterprise permission policy for `allowed_actions` must be configured to `selected`. For more information, see "[Set GitHub Actions permissions for an enterprise](#set-github-actions-permissions-for-an-enterprise)." - * - * You must authenticate using an access token with the `admin:enterprise` scope to use this endpoint. - */ - get: operations["enterprise-admin/get-allowed-actions-enterprise"]; - /** - * Sets the actions that are allowed in an enterprise. To use this endpoint, the enterprise permission policy for `allowed_actions` must be configured to `selected`. For more information, see "[Set GitHub Actions permissions for an enterprise](#set-github-actions-permissions-for-an-enterprise)." - * - * You must authenticate using an access token with the `admin:enterprise` scope to use this endpoint. - */ - put: operations["enterprise-admin/set-allowed-actions-enterprise"]; - }; - "/enterprises/{enterprise}/actions/runner-groups": { - /** - * Lists all self-hosted runner groups for an enterprise. - * - * You must authenticate using an access token with the `admin:enterprise` scope to use this endpoint. - */ - get: operations["enterprise-admin/list-self-hosted-runner-groups-for-enterprise"]; - /** - * Creates a new self-hosted runner group for an enterprise. - * - * You must authenticate using an access token with the `admin:enterprise` scope to use this endpoint. - */ - post: operations["enterprise-admin/create-self-hosted-runner-group-for-enterprise"]; - }; - "/enterprises/{enterprise}/actions/runner-groups/{runner_group_id}": { - /** - * Gets a specific self-hosted runner group for an enterprise. - * - * You must authenticate using an access token with the `admin:enterprise` scope to use this endpoint. - */ - get: operations["enterprise-admin/get-self-hosted-runner-group-for-enterprise"]; - /** - * Deletes a self-hosted runner group for an enterprise. - * - * You must authenticate using an access token with the `admin:enterprise` scope to use this endpoint. - */ - delete: operations["enterprise-admin/delete-self-hosted-runner-group-from-enterprise"]; - /** - * Updates the `name` and `visibility` of a self-hosted runner group in an enterprise. - * - * You must authenticate using an access token with the `admin:enterprise` scope to use this endpoint. - */ - patch: operations["enterprise-admin/update-self-hosted-runner-group-for-enterprise"]; - }; - "/enterprises/{enterprise}/actions/runner-groups/{runner_group_id}/organizations": { - /** - * Lists the organizations with access to a self-hosted runner group. - * - * You must authenticate using an access token with the `admin:enterprise` scope to use this endpoint. - */ - get: operations["enterprise-admin/list-org-access-to-self-hosted-runner-group-in-enterprise"]; - /** - * Replaces the list of organizations that have access to a self-hosted runner configured in an enterprise. - * - * You must authenticate using an access token with the `admin:enterprise` scope to use this endpoint. - */ - put: operations["enterprise-admin/set-org-access-to-self-hosted-runner-group-in-enterprise"]; - }; - "/enterprises/{enterprise}/actions/runner-groups/{runner_group_id}/organizations/{org_id}": { - /** - * Adds an organization to the list of selected organizations that can access a self-hosted runner group. The runner group must have `visibility` set to `selected`. For more information, see "[Create a self-hosted runner group for an enterprise](#create-a-self-hosted-runner-group-for-an-enterprise)." - * - * You must authenticate using an access token with the `admin:enterprise` scope to use this endpoint. - */ - put: operations["enterprise-admin/add-org-access-to-self-hosted-runner-group-in-enterprise"]; - /** - * Removes an organization from the list of selected organizations that can access a self-hosted runner group. The runner group must have `visibility` set to `selected`. For more information, see "[Create a self-hosted runner group for an enterprise](#create-a-self-hosted-runner-group-for-an-enterprise)." - * - * You must authenticate using an access token with the `admin:enterprise` scope to use this endpoint. - */ - delete: operations["enterprise-admin/remove-org-access-to-self-hosted-runner-group-in-enterprise"]; - }; - "/enterprises/{enterprise}/actions/runner-groups/{runner_group_id}/runners": { - /** - * Lists the self-hosted runners that are in a specific enterprise group. - * - * You must authenticate using an access token with the `admin:enterprise` scope to use this endpoint. - */ - get: operations["enterprise-admin/list-self-hosted-runners-in-group-for-enterprise"]; - /** - * Replaces the list of self-hosted runners that are part of an enterprise runner group. - * - * You must authenticate using an access token with the `admin:enterprise` scope to use this endpoint. - */ - put: operations["enterprise-admin/set-self-hosted-runners-in-group-for-enterprise"]; - }; - "/enterprises/{enterprise}/actions/runner-groups/{runner_group_id}/runners/{runner_id}": { - /** - * Adds a self-hosted runner to a runner group configured in an enterprise. - * - * You must authenticate using an access token with the `admin:enterprise` - * scope to use this endpoint. - */ - put: operations["enterprise-admin/add-self-hosted-runner-to-group-for-enterprise"]; - /** - * Removes a self-hosted runner from a group configured in an enterprise. The runner is then returned to the default group. - * - * You must authenticate using an access token with the `admin:enterprise` scope to use this endpoint. - */ - delete: operations["enterprise-admin/remove-self-hosted-runner-from-group-for-enterprise"]; - }; - "/enterprises/{enterprise}/actions/runners": { - /** - * Lists all self-hosted runners configured for an enterprise. - * - * You must authenticate using an access token with the `admin:enterprise` scope to use this endpoint. - */ - get: operations["enterprise-admin/list-self-hosted-runners-for-enterprise"]; - }; - "/enterprises/{enterprise}/actions/runners/downloads": { - /** - * Lists binaries for the runner application that you can download and run. - * - * You must authenticate using an access token with the `admin:enterprise` scope to use this endpoint. - */ - get: operations["enterprise-admin/list-runner-applications-for-enterprise"]; - }; - "/enterprises/{enterprise}/actions/runners/registration-token": { - /** - * Returns a token that you can pass to the `config` script. The token expires after one hour. - * - * You must authenticate using an access token with the `admin:enterprise` scope to use this endpoint. - * - * #### Example using registration token - * - * Configure your self-hosted runner, replacing `TOKEN` with the registration token provided by this endpoint. - * - * ``` - * ./config.sh --url https://github.com/enterprises/octo-enterprise --token TOKEN - * ``` - */ - post: operations["enterprise-admin/create-registration-token-for-enterprise"]; - }; - "/enterprises/{enterprise}/actions/runners/remove-token": { - /** - * Returns a token that you can pass to the `config` script to remove a self-hosted runner from an enterprise. The token expires after one hour. - * - * You must authenticate using an access token with the `admin:enterprise` scope to use this endpoint. - * - * #### Example using remove token - * - * To remove your self-hosted runner from an enterprise, replace `TOKEN` with the remove token provided by this - * endpoint. - * - * ``` - * ./config.sh remove --token TOKEN - * ``` - */ - post: operations["enterprise-admin/create-remove-token-for-enterprise"]; - }; - "/enterprises/{enterprise}/actions/runners/{runner_id}": { - /** - * Gets a specific self-hosted runner configured in an enterprise. - * - * You must authenticate using an access token with the `admin:enterprise` scope to use this endpoint. - */ - get: operations["enterprise-admin/get-self-hosted-runner-for-enterprise"]; - /** - * Forces the removal of a self-hosted runner from an enterprise. You can use this endpoint to completely remove the runner when the machine you were using no longer exists. - * - * You must authenticate using an access token with the `admin:enterprise` scope to use this endpoint. - */ - delete: operations["enterprise-admin/delete-self-hosted-runner-from-enterprise"]; - }; - "/enterprises/{enterprise}/audit-log": { - /** Gets the audit log for an enterprise. To use this endpoint, you must be an enterprise admin, and you must use an access token with the `admin:enterprise` scope. */ - get: operations["enterprise-admin/get-audit-log"]; - }; - "/enterprises/{enterprise}/settings/billing/actions": { - /** - * Gets the summary of the free and paid GitHub Actions minutes used. - * - * Paid minutes only apply to workflows in private repositories that use GitHub-hosted runners. Minutes used is listed for each GitHub-hosted runner operating system. Any job re-runs are also included in the usage. The usage does not include the multiplier for macOS and Windows runners and is not rounded up to the nearest whole minute. For more information, see "[Managing billing for GitHub Actions](https://help.github.com/github/setting-up-and-managing-billing-and-payments-on-github/managing-billing-for-github-actions)". - * - * The authenticated user must be an enterprise admin. - */ - get: operations["billing/get-github-actions-billing-ghe"]; - }; - "/enterprises/{enterprise}/settings/billing/packages": { - /** - * Gets the free and paid storage used for GitHub Packages in gigabytes. - * - * Paid minutes only apply to packages stored for private repositories. For more information, see "[Managing billing for GitHub Packages](https://help.github.com/github/setting-up-and-managing-billing-and-payments-on-github/managing-billing-for-github-packages)." - * - * The authenticated user must be an enterprise admin. - */ - get: operations["billing/get-github-packages-billing-ghe"]; - }; - "/enterprises/{enterprise}/settings/billing/shared-storage": { - /** - * Gets the estimated paid and estimated total storage used for GitHub Actions and Github Packages. - * - * Paid minutes only apply to packages stored for private repositories. For more information, see "[Managing billing for GitHub Packages](https://help.github.com/github/setting-up-and-managing-billing-and-payments-on-github/managing-billing-for-github-packages)." - * - * The authenticated user must be an enterprise admin. - */ - get: operations["billing/get-shared-storage-billing-ghe"]; - }; - "/events": { - /** We delay the public events feed by five minutes, which means the most recent event returned by the public events API actually occurred at least five minutes ago. */ - get: operations["activity/list-public-events"]; - }; - "/feeds": { - /** - * GitHub provides several timeline resources in [Atom](http://en.wikipedia.org/wiki/Atom_(standard)) format. The Feeds API lists all the feeds available to the authenticated user: - * - * * **Timeline**: The GitHub global public timeline - * * **User**: The public timeline for any user, using [URI template](https://docs.github.com/rest/overview/resources-in-the-rest-api#hypermedia) - * * **Current user public**: The public timeline for the authenticated user - * * **Current user**: The private timeline for the authenticated user - * * **Current user actor**: The private timeline for activity created by the authenticated user - * * **Current user organizations**: The private timeline for the organizations the authenticated user is a member of. - * * **Security advisories**: A collection of public announcements that provide information about security-related vulnerabilities in software on GitHub. - * - * **Note**: Private feeds are only returned when [authenticating via Basic Auth](https://docs.github.com/rest/overview/other-authentication-methods#basic-authentication) since current feed URIs use the older, non revocable auth tokens. - */ - get: operations["activity/get-feeds"]; - }; - "/gists": { - /** Lists the authenticated user's gists or if called anonymously, this endpoint returns all public gists: */ - get: operations["gists/list"]; - /** - * Allows you to add a new gist with one or more files. - * - * **Note:** Don't name your files "gistfile" with a numerical suffix. This is the format of the automatic naming scheme that Gist uses internally. - */ - post: operations["gists/create"]; - }; - "/gists/public": { - /** - * List public gists sorted by most recently updated to least recently updated. - * - * Note: With [pagination](https://docs.github.com/rest/overview/resources-in-the-rest-api#pagination), you can fetch up to 3000 gists. For example, you can fetch 100 pages with 30 gists per page or 30 pages with 100 gists per page. - */ - get: operations["gists/list-public"]; - }; - "/gists/starred": { - /** List the authenticated user's starred gists: */ - get: operations["gists/list-starred"]; - }; - "/gists/{gist_id}": { - get: operations["gists/get"]; - delete: operations["gists/delete"]; - /** Allows you to update or delete a gist file and rename gist files. Files from the previous version of the gist that aren't explicitly changed during an edit are unchanged. */ - patch: operations["gists/update"]; - }; - "/gists/{gist_id}/comments": { - get: operations["gists/list-comments"]; - post: operations["gists/create-comment"]; - }; - "/gists/{gist_id}/comments/{comment_id}": { - get: operations["gists/get-comment"]; - delete: operations["gists/delete-comment"]; - patch: operations["gists/update-comment"]; - }; - "/gists/{gist_id}/commits": { - get: operations["gists/list-commits"]; - }; - "/gists/{gist_id}/forks": { - get: operations["gists/list-forks"]; - /** **Note**: This was previously `/gists/:gist_id/fork`. */ - post: operations["gists/fork"]; - }; - "/gists/{gist_id}/star": { - get: operations["gists/check-is-starred"]; - /** Note that you'll need to set `Content-Length` to zero when calling out to this endpoint. For more information, see "[HTTP verbs](https://docs.github.com/rest/overview/resources-in-the-rest-api#http-verbs)." */ - put: operations["gists/star"]; - delete: operations["gists/unstar"]; - }; - "/gists/{gist_id}/{sha}": { - get: operations["gists/get-revision"]; - }; - "/gitignore/templates": { - /** List all templates available to pass as an option when [creating a repository](https://docs.github.com/rest/reference/repos#create-a-repository-for-the-authenticated-user). */ - get: operations["gitignore/get-all-templates"]; - }; - "/gitignore/templates/{name}": { - /** - * The API also allows fetching the source of a single template. - * Use the raw [media type](https://docs.github.com/rest/overview/media-types/) to get the raw contents. - */ - get: operations["gitignore/get-template"]; - }; - "/installation/repositories": { - /** - * List repositories that an app installation can access. - * - * You must use an [installation access token](https://docs.github.com/apps/building-github-apps/authenticating-with-github-apps/#authenticating-as-an-installation) to access this endpoint. - */ - get: operations["apps/list-repos-accessible-to-installation"]; - }; - "/installation/token": { - /** - * Revokes the installation token you're using to authenticate as an installation and access this endpoint. - * - * Once an installation token is revoked, the token is invalidated and cannot be used. Other endpoints that require the revoked installation token must have a new installation token to work. You can create a new token using the "[Create an installation access token for an app](https://docs.github.com/rest/reference/apps#create-an-installation-access-token-for-an-app)" endpoint. - * - * You must use an [installation access token](https://docs.github.com/apps/building-github-apps/authenticating-with-github-apps/#authenticating-as-an-installation) to access this endpoint. - */ - delete: operations["apps/revoke-installation-access-token"]; - }; - "/issues": { - /** - * List issues assigned to the authenticated user across all visible repositories including owned repositories, member - * repositories, and organization repositories. You can use the `filter` query parameter to fetch issues that are not - * necessarily assigned to you. - * - * - * **Note**: GitHub's REST API v3 considers every pull request an issue, but not every issue is a pull request. For this - * reason, "Issues" endpoints may return both issues and pull requests in the response. You can identify pull requests by - * the `pull_request` key. Be aware that the `id` of a pull request returned from "Issues" endpoints will be an _issue id_. To find out the pull - * request id, use the "[List pull requests](https://docs.github.com/rest/reference/pulls#list-pull-requests)" endpoint. - */ - get: operations["issues/list"]; - }; - "/licenses": { - get: operations["licenses/get-all-commonly-used"]; - }; - "/licenses/{license}": { - get: operations["licenses/get"]; - }; - "/markdown": { - post: operations["markdown/render"]; - }; - "/markdown/raw": { - /** You must send Markdown as plain text (using a `Content-Type` header of `text/plain` or `text/x-markdown`) to this endpoint, rather than using JSON format. In raw mode, [GitHub Flavored Markdown](https://github.github.com/gfm/) is not supported and Markdown will be rendered in plain format like a README.md file. Markdown content must be 400 KB or less. */ - post: operations["markdown/render-raw"]; - }; - "/marketplace_listing/accounts/{account_id}": { - /** - * Shows whether the user or organization account actively subscribes to a plan listed by the authenticated GitHub App. When someone submits a plan change that won't be processed until the end of their billing cycle, you will also see the upcoming pending change. - * - * GitHub Apps must use a [JWT](https://docs.github.com/apps/building-github-apps/authenticating-with-github-apps/#authenticating-as-a-github-app) to access this endpoint. OAuth Apps must use [basic authentication](https://docs.github.com/rest/overview/other-authentication-methods#basic-authentication) with their client ID and client secret to access this endpoint. - */ - get: operations["apps/get-subscription-plan-for-account"]; - }; - "/marketplace_listing/plans": { - /** - * Lists all plans that are part of your GitHub Marketplace listing. - * - * GitHub Apps must use a [JWT](https://docs.github.com/apps/building-github-apps/authenticating-with-github-apps/#authenticating-as-a-github-app) to access this endpoint. OAuth Apps must use [basic authentication](https://docs.github.com/rest/overview/other-authentication-methods#basic-authentication) with their client ID and client secret to access this endpoint. - */ - get: operations["apps/list-plans"]; - }; - "/marketplace_listing/plans/{plan_id}/accounts": { - /** - * Returns user and organization accounts associated with the specified plan, including free plans. For per-seat pricing, you see the list of accounts that have purchased the plan, including the number of seats purchased. When someone submits a plan change that won't be processed until the end of their billing cycle, you will also see the upcoming pending change. - * - * GitHub Apps must use a [JWT](https://docs.github.com/apps/building-github-apps/authenticating-with-github-apps/#authenticating-as-a-github-app) to access this endpoint. OAuth Apps must use [basic authentication](https://docs.github.com/rest/overview/other-authentication-methods#basic-authentication) with their client ID and client secret to access this endpoint. - */ - get: operations["apps/list-accounts-for-plan"]; - }; - "/marketplace_listing/stubbed/accounts/{account_id}": { - /** - * Shows whether the user or organization account actively subscribes to a plan listed by the authenticated GitHub App. When someone submits a plan change that won't be processed until the end of their billing cycle, you will also see the upcoming pending change. - * - * GitHub Apps must use a [JWT](https://docs.github.com/apps/building-github-apps/authenticating-with-github-apps/#authenticating-as-a-github-app) to access this endpoint. OAuth Apps must use [basic authentication](https://docs.github.com/rest/overview/other-authentication-methods#basic-authentication) with their client ID and client secret to access this endpoint. - */ - get: operations["apps/get-subscription-plan-for-account-stubbed"]; - }; - "/marketplace_listing/stubbed/plans": { - /** - * Lists all plans that are part of your GitHub Marketplace listing. - * - * GitHub Apps must use a [JWT](https://docs.github.com/apps/building-github-apps/authenticating-with-github-apps/#authenticating-as-a-github-app) to access this endpoint. OAuth Apps must use [basic authentication](https://docs.github.com/rest/overview/other-authentication-methods#basic-authentication) with their client ID and client secret to access this endpoint. - */ - get: operations["apps/list-plans-stubbed"]; - }; - "/marketplace_listing/stubbed/plans/{plan_id}/accounts": { - /** - * Returns repository and organization accounts associated with the specified plan, including free plans. For per-seat pricing, you see the list of accounts that have purchased the plan, including the number of seats purchased. When someone submits a plan change that won't be processed until the end of their billing cycle, you will also see the upcoming pending change. - * - * GitHub Apps must use a [JWT](https://docs.github.com/apps/building-github-apps/authenticating-with-github-apps/#authenticating-as-a-github-app) to access this endpoint. OAuth Apps must use [basic authentication](https://docs.github.com/rest/overview/other-authentication-methods#basic-authentication) with their client ID and client secret to access this endpoint. - */ - get: operations["apps/list-accounts-for-plan-stubbed"]; - }; - "/meta": { - /** - * Returns meta information about GitHub, including a list of GitHub's IP addresses. For more information, see "[About GitHub's IP addresses](https://help.github.com/articles/about-github-s-ip-addresses/)." - * - * **Note:** The IP addresses shown in the documentation's response are only example values. You must always query the API directly to get the latest list of IP addresses. - */ - get: operations["meta/get"]; - }; - "/networks/{owner}/{repo}/events": { - get: operations["activity/list-public-events-for-repo-network"]; - }; - "/notifications": { - /** List all notifications for the current user, sorted by most recently updated. */ - get: operations["activity/list-notifications-for-authenticated-user"]; - /** Marks all notifications as "read" removes it from the [default view on GitHub](https://github.com/notifications). If the number of notifications is too large to complete in one request, you will receive a `202 Accepted` status and GitHub will run an asynchronous process to mark notifications as "read." To check whether any "unread" notifications remain, you can use the [List notifications for the authenticated user](https://docs.github.com/rest/reference/activity#list-notifications-for-the-authenticated-user) endpoint and pass the query parameter `all=false`. */ - put: operations["activity/mark-notifications-as-read"]; - }; - "/notifications/threads/{thread_id}": { - get: operations["activity/get-thread"]; - patch: operations["activity/mark-thread-as-read"]; - }; - "/notifications/threads/{thread_id}/subscription": { - /** - * This checks to see if the current user is subscribed to a thread. You can also [get a repository subscription](https://docs.github.com/rest/reference/activity#get-a-repository-subscription). - * - * Note that subscriptions are only generated if a user is participating in a conversation--for example, they've replied to the thread, were **@mentioned**, or manually subscribe to a thread. - */ - get: operations["activity/get-thread-subscription-for-authenticated-user"]; - /** - * If you are watching a repository, you receive notifications for all threads by default. Use this endpoint to ignore future notifications for threads until you comment on the thread or get an **@mention**. - * - * You can also use this endpoint to subscribe to threads that you are currently not receiving notifications for or to subscribed to threads that you have previously ignored. - * - * Unsubscribing from a conversation in a repository that you are not watching is functionally equivalent to the [Delete a thread subscription](https://docs.github.com/rest/reference/activity#delete-a-thread-subscription) endpoint. - */ - put: operations["activity/set-thread-subscription"]; - /** Mutes all future notifications for a conversation until you comment on the thread or get an **@mention**. If you are watching the repository of the thread, you will still receive notifications. To ignore future notifications for a repository you are watching, use the [Set a thread subscription](https://docs.github.com/rest/reference/activity#set-a-thread-subscription) endpoint and set `ignore` to `true`. */ - delete: operations["activity/delete-thread-subscription"]; - }; - "/octocat": { - /** Get the octocat as ASCII art */ - get: operations["meta/get-octocat"]; - }; - "/organizations": { - /** - * Lists all organizations, in the order that they were created on GitHub. - * - * **Note:** Pagination is powered exclusively by the `since` parameter. Use the [Link header](https://docs.github.com/rest/overview/resources-in-the-rest-api#link-header) to get the URL for the next page of organizations. - */ - get: operations["orgs/list"]; - }; - "/orgs/{org}": { - /** - * To see many of the organization response values, you need to be an authenticated organization owner with the `admin:org` scope. When the value of `two_factor_requirement_enabled` is `true`, the organization requires all members, billing managers, and outside collaborators to enable [two-factor authentication](https://help.github.com/articles/securing-your-account-with-two-factor-authentication-2fa/). - * - * GitHub Apps with the `Organization plan` permission can use this endpoint to retrieve information about an organization's GitHub plan. See "[Authenticating with GitHub Apps](https://docs.github.com/apps/building-github-apps/authenticating-with-github-apps/)" for details. For an example response, see 'Response with GitHub plan information' below." - */ - get: operations["orgs/get"]; - /** - * **Parameter Deprecation Notice:** GitHub will replace and discontinue `members_allowed_repository_creation_type` in favor of more granular permissions. The new input parameters are `members_can_create_public_repositories`, `members_can_create_private_repositories` for all organizations and `members_can_create_internal_repositories` for organizations associated with an enterprise account using GitHub Enterprise Cloud or GitHub Enterprise Server 2.20+. For more information, see the [blog post](https://developer.github.com/changes/2019-12-03-internal-visibility-changes). - * - * Enables an authenticated organization owner with the `admin:org` scope to update the organization's profile and member privileges. - */ - patch: operations["orgs/update"]; - }; - "/orgs/{org}/actions/permissions": { - /** - * Gets the GitHub Actions permissions policy for repositories and allowed actions in an organization. - * - * You must authenticate using an access token with the `admin:org` scope to use this endpoint. GitHub Apps must have the `administration` organization permission to use this API. - */ - get: operations["actions/get-github-actions-permissions-organization"]; - /** - * Sets the GitHub Actions permissions policy for repositories and allowed actions in an organization. - * - * If the organization belongs to an enterprise that has set restrictive permissions at the enterprise level, such as `allowed_actions` to `selected` actions, then you cannot override them for the organization. - * - * You must authenticate using an access token with the `admin:org` scope to use this endpoint. GitHub Apps must have the `administration` organization permission to use this API. - */ - put: operations["actions/set-github-actions-permissions-organization"]; - }; - "/orgs/{org}/actions/permissions/repositories": { - /** - * Lists the selected repositories that are enabled for GitHub Actions in an organization. To use this endpoint, the organization permission policy for `enabled_repositories` must be configured to `selected`. For more information, see "[Set GitHub Actions permissions for an organization](#set-github-actions-permissions-for-an-organization)." - * - * You must authenticate using an access token with the `admin:org` scope to use this endpoint. GitHub Apps must have the `administration` organization permission to use this API. - */ - get: operations["actions/list-selected-repositories-enabled-github-actions-organization"]; - /** - * Replaces the list of selected repositories that are enabled for GitHub Actions in an organization. To use this endpoint, the organization permission policy for `enabled_repositories` must be configured to `selected`. For more information, see "[Set GitHub Actions permissions for an organization](#set-github-actions-permissions-for-an-organization)." - * - * You must authenticate using an access token with the `admin:org` scope to use this endpoint. GitHub Apps must have the `administration` organization permission to use this API. - */ - put: operations["actions/set-selected-repositories-enabled-github-actions-organization"]; - }; - "/orgs/{org}/actions/permissions/repositories/{repository_id}": { - /** - * Adds a repository to the list of selected repositories that are enabled for GitHub Actions in an organization. To use this endpoint, the organization permission policy for `enabled_repositories` must be must be configured to `selected`. For more information, see "[Set GitHub Actions permissions for an organization](#set-github-actions-permissions-for-an-organization)." - * - * You must authenticate using an access token with the `admin:org` scope to use this endpoint. GitHub Apps must have the `administration` organization permission to use this API. - */ - put: operations["actions/enable-selected-repository-github-actions-organization"]; - /** - * Removes a repository from the list of selected repositories that are enabled for GitHub Actions in an organization. To use this endpoint, the organization permission policy for `enabled_repositories` must be configured to `selected`. For more information, see "[Set GitHub Actions permissions for an organization](#set-github-actions-permissions-for-an-organization)." - * - * You must authenticate using an access token with the `admin:org` scope to use this endpoint. GitHub Apps must have the `administration` organization permission to use this API. - */ - delete: operations["actions/disable-selected-repository-github-actions-organization"]; - }; - "/orgs/{org}/actions/permissions/selected-actions": { - /** - * Gets the selected actions that are allowed in an organization. To use this endpoint, the organization permission policy for `allowed_actions` must be configured to `selected`. For more information, see "[Set GitHub Actions permissions for an organization](#set-github-actions-permissions-for-an-organization)."" - * - * You must authenticate using an access token with the `admin:org` scope to use this endpoint. GitHub Apps must have the `administration` organization permission to use this API. - */ - get: operations["actions/get-allowed-actions-organization"]; - /** - * Sets the actions that are allowed in an organization. To use this endpoint, the organization permission policy for `allowed_actions` must be configured to `selected`. For more information, see "[Set GitHub Actions permissions for an organization](#set-github-actions-permissions-for-an-organization)." - * - * If the organization belongs to an enterprise that has `selected` actions set at the enterprise level, then you cannot override any of the enterprise's allowed actions settings. - * - * To use the `patterns_allowed` setting for private repositories, the organization must belong to an enterprise. If the organization does not belong to an enterprise, then the `patterns_allowed` setting only applies to public repositories in the organization. - * - * You must authenticate using an access token with the `admin:org` scope to use this endpoint. GitHub Apps must have the `administration` organization permission to use this API. - */ - put: operations["actions/set-allowed-actions-organization"]; - }; - "/orgs/{org}/actions/runner-groups": { - /** - * The self-hosted runner groups REST API is available with GitHub Enterprise Cloud. For more information, see "[GitHub's products](https://docs.github.com/github/getting-started-with-github/githubs-products)." - * - * Lists all self-hosted runner groups configured in an organization and inherited from an enterprise. - * - * You must authenticate using an access token with the `admin:org` scope to use this endpoint. - */ - get: operations["actions/list-self-hosted-runner-groups-for-org"]; - /** - * The self-hosted runner groups REST API is available with GitHub Enterprise Cloud and GitHub Enterprise Server. For more information, see "[GitHub's products](https://docs.github.com/github/getting-started-with-github/githubs-products)." - * - * Creates a new self-hosted runner group for an organization. - * - * You must authenticate using an access token with the `admin:org` scope to use this endpoint. - */ - post: operations["actions/create-self-hosted-runner-group-for-org"]; - }; - "/orgs/{org}/actions/runner-groups/{runner_group_id}": { - /** - * The self-hosted runner groups REST API is available with GitHub Enterprise Cloud. For more information, see "[GitHub's products](https://docs.github.com/github/getting-started-with-github/githubs-products)." - * - * Gets a specific self-hosted runner group for an organization. - * - * You must authenticate using an access token with the `admin:org` scope to use this endpoint. - */ - get: operations["actions/get-self-hosted-runner-group-for-org"]; - /** - * The self-hosted runner groups REST API is available with GitHub Enterprise Cloud. For more information, see "[GitHub's products](https://docs.github.com/github/getting-started-with-github/githubs-products)." - * - * Deletes a self-hosted runner group for an organization. - * - * You must authenticate using an access token with the `admin:org` scope to use this endpoint. - */ - delete: operations["actions/delete-self-hosted-runner-group-from-org"]; - /** - * The self-hosted runner groups REST API is available with GitHub Enterprise Cloud. For more information, see "[GitHub's products](https://docs.github.com/github/getting-started-with-github/githubs-products)." - * - * Updates the `name` and `visibility` of a self-hosted runner group in an organization. - * - * You must authenticate using an access token with the `admin:org` scope to use this endpoint. - */ - patch: operations["actions/update-self-hosted-runner-group-for-org"]; - }; - "/orgs/{org}/actions/runner-groups/{runner_group_id}/repositories": { - /** - * The self-hosted runner groups REST API is available with GitHub Enterprise Cloud and GitHub Enterprise Server. For more information, see "[GitHub's products](https://docs.github.com/github/getting-started-with-github/githubs-products)." - * - * Lists the repositories with access to a self-hosted runner group configured in an organization. - * - * You must authenticate using an access token with the `admin:org` scope to use this endpoint. - */ - get: operations["actions/list-repo-access-to-self-hosted-runner-group-in-org"]; - /** - * The self-hosted runner groups REST API is available with GitHub Enterprise Cloud. For more information, see "[GitHub's products](https://docs.github.com/github/getting-started-with-github/githubs-products)." - * - * Replaces the list of repositories that have access to a self-hosted runner group configured in an organization. - * - * You must authenticate using an access token with the `admin:org` scope to use this endpoint. - */ - put: operations["actions/set-repo-access-to-self-hosted-runner-group-in-org"]; - }; - "/orgs/{org}/actions/runner-groups/{runner_group_id}/repositories/{repository_id}": { - /** - * The self-hosted runner groups REST API is available with GitHub Enterprise Cloud. For more information, see "[GitHub's products](https://docs.github.com/github/getting-started-with-github/githubs-products)." - * - * - * Adds a repository to the list of selected repositories that can access a self-hosted runner group. The runner group must have `visibility` set to `selected`. For more information, see "[Create a self-hosted runner group for an organization](#create-a-self-hosted-runner-group-for-an-organization)." - * - * You must authenticate using an access token with the `admin:org` - * scope to use this endpoint. - */ - put: operations["actions/add-repo-access-to-self-hosted-runner-group-in-org"]; - /** - * The self-hosted runner groups REST API is available with GitHub Enterprise Cloud. For more information, see "[GitHub's products](https://docs.github.com/github/getting-started-with-github/githubs-products)." - * - * - * Removes a repository from the list of selected repositories that can access a self-hosted runner group. The runner group must have `visibility` set to `selected`. For more information, see "[Create a self-hosted runner group for an organization](#create-a-self-hosted-runner-group-for-an-organization)." - * - * You must authenticate using an access token with the `admin:org` scope to use this endpoint. - */ - delete: operations["actions/remove-repo-access-to-self-hosted-runner-group-in-org"]; - }; - "/orgs/{org}/actions/runner-groups/{runner_group_id}/runners": { - /** - * The self-hosted runner groups REST API is available with GitHub Enterprise Cloud. For more information, see "[GitHub's products](https://docs.github.com/github/getting-started-with-github/githubs-products)." - * - * Lists self-hosted runners that are in a specific organization group. - * - * You must authenticate using an access token with the `admin:org` scope to use this endpoint. - */ - get: operations["actions/list-self-hosted-runners-in-group-for-org"]; - /** - * The self-hosted runner groups REST API is available with GitHub Enterprise Cloud. For more information, see "[GitHub's products](https://docs.github.com/github/getting-started-with-github/githubs-products)." - * - * Replaces the list of self-hosted runners that are part of an organization runner group. - * - * You must authenticate using an access token with the `admin:org` scope to use this endpoint. - */ - put: operations["actions/set-self-hosted-runners-in-group-for-org"]; - }; - "/orgs/{org}/actions/runner-groups/{runner_group_id}/runners/{runner_id}": { - /** - * The self-hosted runner groups REST API is available with GitHub Enterprise Cloud. For more information, see "[GitHub's products](https://docs.github.com/github/getting-started-with-github/githubs-products)." - * - * - * Adds a self-hosted runner to a runner group configured in an organization. - * - * You must authenticate using an access token with the `admin:org` - * scope to use this endpoint. - */ - put: operations["actions/add-self-hosted-runner-to-group-for-org"]; - /** - * The self-hosted runner groups REST API is available with GitHub Enterprise Cloud. For more information, see "[GitHub's products](https://docs.github.com/github/getting-started-with-github/githubs-products)." - * - * - * Removes a self-hosted runner from a group configured in an organization. The runner is then returned to the default group. - * - * You must authenticate using an access token with the `admin:org` scope to use this endpoint. - */ - delete: operations["actions/remove-self-hosted-runner-from-group-for-org"]; - }; - "/orgs/{org}/actions/runners": { - /** - * Lists all self-hosted runners configured in an organization. - * - * You must authenticate using an access token with the `admin:org` scope to use this endpoint. - */ - get: operations["actions/list-self-hosted-runners-for-org"]; - }; - "/orgs/{org}/actions/runners/downloads": { - /** - * Lists binaries for the runner application that you can download and run. - * - * You must authenticate using an access token with the `admin:org` scope to use this endpoint. - */ - get: operations["actions/list-runner-applications-for-org"]; - }; - "/orgs/{org}/actions/runners/registration-token": { - /** - * Returns a token that you can pass to the `config` script. The token expires after one hour. - * - * You must authenticate using an access token with the `admin:org` scope to use this endpoint. - * - * #### Example using registration token - * - * Configure your self-hosted runner, replacing `TOKEN` with the registration token provided by this endpoint. - * - * ``` - * ./config.sh --url https://github.com/octo-org --token TOKEN - * ``` - */ - post: operations["actions/create-registration-token-for-org"]; - }; - "/orgs/{org}/actions/runners/remove-token": { - /** - * Returns a token that you can pass to the `config` script to remove a self-hosted runner from an organization. The token expires after one hour. - * - * You must authenticate using an access token with the `admin:org` scope to use this endpoint. - * - * #### Example using remove token - * - * To remove your self-hosted runner from an organization, replace `TOKEN` with the remove token provided by this - * endpoint. - * - * ``` - * ./config.sh remove --token TOKEN - * ``` - */ - post: operations["actions/create-remove-token-for-org"]; - }; - "/orgs/{org}/actions/runners/{runner_id}": { - /** - * Gets a specific self-hosted runner configured in an organization. - * - * You must authenticate using an access token with the `admin:org` scope to use this endpoint. - */ - get: operations["actions/get-self-hosted-runner-for-org"]; - /** - * Forces the removal of a self-hosted runner from an organization. You can use this endpoint to completely remove the runner when the machine you were using no longer exists. - * - * You must authenticate using an access token with the `admin:org` scope to use this endpoint. - */ - delete: operations["actions/delete-self-hosted-runner-from-org"]; - }; - "/orgs/{org}/actions/secrets": { - /** Lists all secrets available in an organization without revealing their encrypted values. You must authenticate using an access token with the `admin:org` scope to use this endpoint. GitHub Apps must have the `secrets` organization permission to use this endpoint. */ - get: operations["actions/list-org-secrets"]; - }; - "/orgs/{org}/actions/secrets/public-key": { - /** Gets your public key, which you need to encrypt secrets. You need to encrypt a secret before you can create or update secrets. You must authenticate using an access token with the `admin:org` scope to use this endpoint. GitHub Apps must have the `secrets` organization permission to use this endpoint. */ - get: operations["actions/get-org-public-key"]; - }; - "/orgs/{org}/actions/secrets/{secret_name}": { - /** Gets a single organization secret without revealing its encrypted value. You must authenticate using an access token with the `admin:org` scope to use this endpoint. GitHub Apps must have the `secrets` organization permission to use this endpoint. */ - get: operations["actions/get-org-secret"]; - /** - * Creates or updates an organization secret with an encrypted value. Encrypt your secret using - * [LibSodium](https://libsodium.gitbook.io/doc/bindings_for_other_languages). You must authenticate using an access - * token with the `admin:org` scope to use this endpoint. GitHub Apps must have the `secrets` organization permission to - * use this endpoint. - * - * #### Example encrypting a secret using Node.js - * - * Encrypt your secret using the [tweetsodium](https://github.com/github/tweetsodium) library. - * - * ``` - * const sodium = require('tweetsodium'); - * - * const key = "base64-encoded-public-key"; - * const value = "plain-text-secret"; - * - * // Convert the message and key to Uint8Array's (Buffer implements that interface) - * const messageBytes = Buffer.from(value); - * const keyBytes = Buffer.from(key, 'base64'); - * - * // Encrypt using LibSodium. - * const encryptedBytes = sodium.seal(messageBytes, keyBytes); - * - * // Base64 the encrypted secret - * const encrypted = Buffer.from(encryptedBytes).toString('base64'); - * - * console.log(encrypted); - * ``` - * - * - * #### Example encrypting a secret using Python - * - * Encrypt your secret using [pynacl](https://pynacl.readthedocs.io/en/stable/public/#nacl-public-sealedbox) with Python 3. - * - * ``` - * from base64 import b64encode - * from nacl import encoding, public - * - * def encrypt(public_key: str, secret_value: str) -> str: - * """Encrypt a Unicode string using the public key.""" - * public_key = public.PublicKey(public_key.encode("utf-8"), encoding.Base64Encoder()) - * sealed_box = public.SealedBox(public_key) - * encrypted = sealed_box.encrypt(secret_value.encode("utf-8")) - * return b64encode(encrypted).decode("utf-8") - * ``` - * - * #### Example encrypting a secret using C# - * - * Encrypt your secret using the [Sodium.Core](https://www.nuget.org/packages/Sodium.Core/) package. - * - * ``` - * var secretValue = System.Text.Encoding.UTF8.GetBytes("mySecret"); - * var publicKey = Convert.FromBase64String("2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvvcCU="); - * - * var sealedPublicKeyBox = Sodium.SealedPublicKeyBox.Create(secretValue, publicKey); - * - * Console.WriteLine(Convert.ToBase64String(sealedPublicKeyBox)); - * ``` - * - * #### Example encrypting a secret using Ruby - * - * Encrypt your secret using the [rbnacl](https://github.com/RubyCrypto/rbnacl) gem. - * - * ```ruby - * require "rbnacl" - * require "base64" - * - * key = Base64.decode64("+ZYvJDZMHUfBkJdyq5Zm9SKqeuBQ4sj+6sfjlH4CgG0=") - * public_key = RbNaCl::PublicKey.new(key) - * - * box = RbNaCl::Boxes::Sealed.from_public_key(public_key) - * encrypted_secret = box.encrypt("my_secret") - * - * # Print the base64 encoded secret - * puts Base64.strict_encode64(encrypted_secret) - * ``` - */ - put: operations["actions/create-or-update-org-secret"]; - /** Deletes a secret in an organization using the secret name. You must authenticate using an access token with the `admin:org` scope to use this endpoint. GitHub Apps must have the `secrets` organization permission to use this endpoint. */ - delete: operations["actions/delete-org-secret"]; - }; - "/orgs/{org}/actions/secrets/{secret_name}/repositories": { - /** Lists all repositories that have been selected when the `visibility` for repository access to a secret is set to `selected`. You must authenticate using an access token with the `admin:org` scope to use this endpoint. GitHub Apps must have the `secrets` organization permission to use this endpoint. */ - get: operations["actions/list-selected-repos-for-org-secret"]; - /** Replaces all repositories for an organization secret when the `visibility` for repository access is set to `selected`. The visibility is set when you [Create or update an organization secret](https://docs.github.com/rest/reference/actions#create-or-update-an-organization-secret). You must authenticate using an access token with the `admin:org` scope to use this endpoint. GitHub Apps must have the `secrets` organization permission to use this endpoint. */ - put: operations["actions/set-selected-repos-for-org-secret"]; - }; - "/orgs/{org}/actions/secrets/{secret_name}/repositories/{repository_id}": { - /** Adds a repository to an organization secret when the `visibility` for repository access is set to `selected`. The visibility is set when you [Create or update an organization secret](https://docs.github.com/rest/reference/actions#create-or-update-an-organization-secret). You must authenticate using an access token with the `admin:org` scope to use this endpoint. GitHub Apps must have the `secrets` organization permission to use this endpoint. */ - put: operations["actions/add-selected-repo-to-org-secret"]; - /** Removes a repository from an organization secret when the `visibility` for repository access is set to `selected`. The visibility is set when you [Create or update an organization secret](https://docs.github.com/rest/reference/actions#create-or-update-an-organization-secret). You must authenticate using an access token with the `admin:org` scope to use this endpoint. GitHub Apps must have the `secrets` organization permission to use this endpoint. */ - delete: operations["actions/remove-selected-repo-from-org-secret"]; - }; - "/orgs/{org}/audit-log": { - /** - * Gets the audit log for an organization. For more information, see "[Reviewing the audit log for your organization](https://docs.github.com/github/setting-up-and-managing-organizations-and-teams/reviewing-the-audit-log-for-your-organization)." - * - * To use this endpoint, you must be an organization owner, and you must use an access token with the `admin:org` scope. GitHub Apps must have the `organization_administration` read permission to use this endpoint. - */ - get: operations["orgs/get-audit-log"]; - }; - "/orgs/{org}/blocks": { - /** List the users blocked by an organization. */ - get: operations["orgs/list-blocked-users"]; - }; - "/orgs/{org}/blocks/{username}": { - get: operations["orgs/check-blocked-user"]; - put: operations["orgs/block-user"]; - delete: operations["orgs/unblock-user"]; - }; - "/orgs/{org}/credential-authorizations": { - /** - * Listing and deleting credential authorizations is available to organizations with GitHub Enterprise Cloud. For more information, see [GitHub's products](https://help.github.com/github/getting-started-with-github/githubs-products). - * - * An authenticated organization owner with the `read:org` scope can list all credential authorizations for an organization that uses SAML single sign-on (SSO). The credentials are either personal access tokens or SSH keys that organization members have authorized for the organization. For more information, see [About authentication with SAML single sign-on](https://help.github.com/en/articles/about-authentication-with-saml-single-sign-on). - */ - get: operations["orgs/list-saml-sso-authorizations"]; - }; - "/orgs/{org}/credential-authorizations/{credential_id}": { - /** - * Listing and deleting credential authorizations is available to organizations with GitHub Enterprise Cloud. For more information, see [GitHub's products](https://help.github.com/github/getting-started-with-github/githubs-products). - * - * An authenticated organization owner with the `admin:org` scope can remove a credential authorization for an organization that uses SAML SSO. Once you remove someone's credential authorization, they will need to create a new personal access token or SSH key and authorize it for the organization they want to access. - */ - delete: operations["orgs/remove-saml-sso-authorization"]; - }; - "/orgs/{org}/events": { - get: operations["activity/list-public-org-events"]; - }; - "/orgs/{org}/failed_invitations": { - /** The return hash contains `failed_at` and `failed_reason` fields which represent the time at which the invitation failed and the reason for the failure. */ - get: operations["orgs/list-failed-invitations"]; - }; - "/orgs/{org}/hooks": { - get: operations["orgs/list-webhooks"]; - /** Here's how you can create a hook that posts payloads in JSON format: */ - post: operations["orgs/create-webhook"]; - }; - "/orgs/{org}/hooks/{hook_id}": { - /** Returns a webhook configured in an organization. To get only the webhook `config` properties, see "[Get a webhook configuration for an organization](/rest/reference/orgs#get-a-webhook-configuration-for-an-organization)." */ - get: operations["orgs/get-webhook"]; - delete: operations["orgs/delete-webhook"]; - /** Updates a webhook configured in an organization. When you update a webhook, the `secret` will be overwritten. If you previously had a `secret` set, you must provide the same `secret` or set a new `secret` or the secret will be removed. If you are only updating individual webhook `config` properties, use "[Update a webhook configuration for an organization](/rest/reference/orgs#update-a-webhook-configuration-for-an-organization)." */ - patch: operations["orgs/update-webhook"]; - }; - "/orgs/{org}/hooks/{hook_id}/config": { - /** - * Returns the webhook configuration for an organization. To get more information about the webhook, including the `active` state and `events`, use "[Get an organization webhook ](/rest/reference/orgs#get-an-organization-webhook)." - * - * Access tokens must have the `admin:org_hook` scope, and GitHub Apps must have the `organization_hooks:read` permission. - */ - get: operations["orgs/get-webhook-config-for-org"]; - /** - * Updates the webhook configuration for an organization. To update more information about the webhook, including the `active` state and `events`, use "[Update an organization webhook ](/rest/reference/orgs#update-an-organization-webhook)." - * - * Access tokens must have the `admin:org_hook` scope, and GitHub Apps must have the `organization_hooks:write` permission. - */ - patch: operations["orgs/update-webhook-config-for-org"]; - }; - "/orgs/{org}/hooks/{hook_id}/deliveries": { - /** Returns a list of webhook deliveries for a webhook configured in an organization. */ - get: operations["orgs/list-webhook-deliveries"]; - }; - "/orgs/{org}/hooks/{hook_id}/deliveries/{delivery_id}": { - /** Returns a delivery for a webhook configured in an organization. */ - get: operations["orgs/get-webhook-delivery"]; - }; - "/orgs/{org}/hooks/{hook_id}/deliveries/{delivery_id}/attempts": { - /** Redeliver a delivery for a webhook configured in an organization. */ - post: operations["orgs/redeliver-webhook-delivery"]; - }; - "/orgs/{org}/hooks/{hook_id}/pings": { - /** This will trigger a [ping event](https://docs.github.com/webhooks/#ping-event) to be sent to the hook. */ - post: operations["orgs/ping-webhook"]; - }; - "/orgs/{org}/installation": { - /** - * Enables an authenticated GitHub App to find the organization's installation information. - * - * You must use a [JWT](https://docs.github.com/apps/building-github-apps/authenticating-with-github-apps/#authenticating-as-a-github-app) to access this endpoint. - */ - get: operations["apps/get-org-installation"]; - }; - "/orgs/{org}/installations": { - /** Lists all GitHub Apps in an organization. The installation count includes all GitHub Apps installed on repositories in the organization. You must be an organization owner with `admin:read` scope to use this endpoint. */ - get: operations["orgs/list-app-installations"]; - }; - "/orgs/{org}/interaction-limits": { - /** Shows which type of GitHub user can interact with this organization and when the restriction expires. If there is no restrictions, you will see an empty response. */ - get: operations["interactions/get-restrictions-for-org"]; - /** Temporarily restricts interactions to a certain type of GitHub user in any public repository in the given organization. You must be an organization owner to set these restrictions. Setting the interaction limit at the organization level will overwrite any interaction limits that are set for individual repositories owned by the organization. */ - put: operations["interactions/set-restrictions-for-org"]; - /** Removes all interaction restrictions from public repositories in the given organization. You must be an organization owner to remove restrictions. */ - delete: operations["interactions/remove-restrictions-for-org"]; - }; - "/orgs/{org}/invitations": { - /** The return hash contains a `role` field which refers to the Organization Invitation role and will be one of the following values: `direct_member`, `admin`, `billing_manager`, `hiring_manager`, or `reinstate`. If the invitee is not a GitHub member, the `login` field in the return hash will be `null`. */ - get: operations["orgs/list-pending-invitations"]; - /** - * Invite people to an organization by using their GitHub user ID or their email address. In order to create invitations in an organization, the authenticated user must be an organization owner. - * - * This endpoint triggers [notifications](https://docs.github.com/en/github/managing-subscriptions-and-notifications-on-github/about-notifications). Creating content too quickly using this endpoint may result in abuse rate limiting. See "[Abuse rate limits](https://docs.github.com/rest/overview/resources-in-the-rest-api#abuse-rate-limits)" and "[Dealing with abuse rate limits](https://docs.github.com/rest/guides/best-practices-for-integrators#dealing-with-rate-limits)" for details. - */ - post: operations["orgs/create-invitation"]; - }; - "/orgs/{org}/invitations/{invitation_id}": { - /** - * Cancel an organization invitation. In order to cancel an organization invitation, the authenticated user must be an organization owner. - * - * This endpoint triggers [notifications](https://docs.github.com/en/github/managing-subscriptions-and-notifications-on-github/about-notifications). - */ - delete: operations["orgs/cancel-invitation"]; - }; - "/orgs/{org}/invitations/{invitation_id}/teams": { - /** List all teams associated with an invitation. In order to see invitations in an organization, the authenticated user must be an organization owner. */ - get: operations["orgs/list-invitation-teams"]; - }; - "/orgs/{org}/issues": { - /** - * List issues in an organization assigned to the authenticated user. - * - * **Note**: GitHub's REST API v3 considers every pull request an issue, but not every issue is a pull request. For this - * reason, "Issues" endpoints may return both issues and pull requests in the response. You can identify pull requests by - * the `pull_request` key. Be aware that the `id` of a pull request returned from "Issues" endpoints will be an _issue id_. To find out the pull - * request id, use the "[List pull requests](https://docs.github.com/rest/reference/pulls#list-pull-requests)" endpoint. - */ - get: operations["issues/list-for-org"]; - }; - "/orgs/{org}/members": { - /** List all users who are members of an organization. If the authenticated user is also a member of this organization then both concealed and public members will be returned. */ - get: operations["orgs/list-members"]; - }; - "/orgs/{org}/members/{username}": { - /** Check if a user is, publicly or privately, a member of the organization. */ - get: operations["orgs/check-membership-for-user"]; - /** Removing a user from this list will remove them from all teams and they will no longer have any access to the organization's repositories. */ - delete: operations["orgs/remove-member"]; - }; - "/orgs/{org}/memberships/{username}": { - /** In order to get a user's membership with an organization, the authenticated user must be an organization member. The `state` parameter in the response can be used to identify the user's membership status. */ - get: operations["orgs/get-membership-for-user"]; - /** - * Only authenticated organization owners can add a member to the organization or update the member's role. - * - * * If the authenticated user is _adding_ a member to the organization, the invited user will receive an email inviting them to the organization. The user's [membership status](https://docs.github.com/rest/reference/orgs#get-organization-membership-for-a-user) will be `pending` until they accept the invitation. - * - * * Authenticated users can _update_ a user's membership by passing the `role` parameter. If the authenticated user changes a member's role to `admin`, the affected user will receive an email notifying them that they've been made an organization owner. If the authenticated user changes an owner's role to `member`, no email will be sent. - * - * **Rate limits** - * - * To prevent abuse, the authenticated user is limited to 50 organization invitations per 24 hour period. If the organization is more than one month old or on a paid plan, the limit is 500 invitations per 24 hour period. - */ - put: operations["orgs/set-membership-for-user"]; - /** - * In order to remove a user's membership with an organization, the authenticated user must be an organization owner. - * - * If the specified user is an active member of the organization, this will remove them from the organization. If the specified user has been invited to the organization, this will cancel their invitation. The specified user will receive an email notification in both cases. - */ - delete: operations["orgs/remove-membership-for-user"]; - }; - "/orgs/{org}/migrations": { - /** Lists the most recent migrations. */ - get: operations["migrations/list-for-org"]; - /** Initiates the generation of a migration archive. */ - post: operations["migrations/start-for-org"]; - }; - "/orgs/{org}/migrations/{migration_id}": { - /** - * Fetches the status of a migration. - * - * The `state` of a migration can be one of the following values: - * - * * `pending`, which means the migration hasn't started yet. - * * `exporting`, which means the migration is in progress. - * * `exported`, which means the migration finished successfully. - * * `failed`, which means the migration failed. - */ - get: operations["migrations/get-status-for-org"]; - }; - "/orgs/{org}/migrations/{migration_id}/archive": { - /** Fetches the URL to a migration archive. */ - get: operations["migrations/download-archive-for-org"]; - /** Deletes a previous migration archive. Migration archives are automatically deleted after seven days. */ - delete: operations["migrations/delete-archive-for-org"]; - }; - "/orgs/{org}/migrations/{migration_id}/repos/{repo_name}/lock": { - /** Unlocks a repository that was locked for migration. You should unlock each migrated repository and [delete them](https://docs.github.com/rest/reference/repos#delete-a-repository) when the migration is complete and you no longer need the source data. */ - delete: operations["migrations/unlock-repo-for-org"]; - }; - "/orgs/{org}/migrations/{migration_id}/repositories": { - /** List all the repositories for this organization migration. */ - get: operations["migrations/list-repos-for-org"]; - }; - "/orgs/{org}/outside_collaborators": { - /** List all users who are outside collaborators of an organization. */ - get: operations["orgs/list-outside-collaborators"]; - }; - "/orgs/{org}/outside_collaborators/{username}": { - /** When an organization member is converted to an outside collaborator, they'll only have access to the repositories that their current team membership allows. The user will no longer be a member of the organization. For more information, see "[Converting an organization member to an outside collaborator](https://help.github.com/articles/converting-an-organization-member-to-an-outside-collaborator/)". */ - put: operations["orgs/convert-member-to-outside-collaborator"]; - /** Removing a user from this list will remove them from all the organization's repositories. */ - delete: operations["orgs/remove-outside-collaborator"]; - }; - "/orgs/{org}/packages/{package_type}/{package_name}": { - /** - * Gets a specific package in an organization. - * - * To use this endpoint, you must authenticate using an access token with the `packages:read` scope. - * If `package_type` is not `container`, your token must also include the `repo` scope. - */ - get: operations["packages/get-package-for-organization"]; - /** - * Deletes an entire package in an organization. You cannot delete a public package if any version of the package has more than 5,000 downloads. In this scenario, contact GitHub support for further assistance. - * - * To use this endpoint, you must have admin permissions in the organization and authenticate using an access token with the `packages:read` scope. In addition: - * - If `package_type` is not `container`, your token must also include the `repo` scope. - * - If `package_type` is `container`, you must also have admin permissions to the container you want to delete. - */ - delete: operations["packages/delete-package-for-org"]; - }; - "/orgs/{org}/packages/{package_type}/{package_name}/restore": { - /** - * Restores an entire package in an organization. - * - * You can restore a deleted package under the following conditions: - * - The package was deleted within the last 30 days. - * - The same package namespace and version is still available and not reused for a new package. If the same package namespace is not available, you will not be able to restore your package. In this scenario, to restore the deleted package, you must delete the new package that uses the deleted package's namespace first. - * - * To use this endpoint, you must have admin permissions in the organization and authenticate using an access token with the `packages:read` and `packages:write` scope. In addition: - * - If `package_type` is not `container`, your token must also include the `repo` scope. - * - If `package_type` is `container`, you must also have admin permissions to the container that you want to restore. - */ - post: operations["packages/restore-package-for-org"]; - }; - "/orgs/{org}/packages/{package_type}/{package_name}/versions": { - /** - * Returns all package versions for a package owned by an organization. - * - * To use this endpoint, you must authenticate using an access token with the `packages:read` scope. - * If `package_type` is not `container`, your token must also include the `repo` scope. - */ - get: operations["packages/get-all-package-versions-for-package-owned-by-org"]; - }; - "/orgs/{org}/packages/{package_type}/{package_name}/versions/{package_version_id}": { - /** - * Gets a specific package version in an organization. - * - * You must authenticate using an access token with the `packages:read` scope. - * If `package_type` is not `container`, your token must also include the `repo` scope. - */ - get: operations["packages/get-package-version-for-organization"]; - /** - * Deletes a specific package version in an organization. If the package is public and the package version has more than 5,000 downloads, you cannot delete the package version. In this scenario, contact GitHub support for further assistance. - * - * To use this endpoint, you must have admin permissions in the organization and authenticate using an access token with the `packages:read` scope. In addition: - * - If `package_type` is not `container`, your token must also include the `repo` scope. - * - If `package_type` is `container`, you must also have admin permissions to the container you want to delete. - */ - delete: operations["packages/delete-package-version-for-org"]; - }; - "/orgs/{org}/packages/{package_type}/{package_name}/versions/{package_version_id}/restore": { - /** - * Restores a specific package version in an organization. - * - * You can restore a deleted package under the following conditions: - * - The package was deleted within the last 30 days. - * - The same package namespace and version is still available and not reused for a new package. If the same package namespace is not available, you will not be able to restore your package. In this scenario, to restore the deleted package, you must delete the new package that uses the deleted package's namespace first. - * - * To use this endpoint, you must have admin permissions in the organization and authenticate using an access token with the `packages:read` and `packages:write` scope. In addition: - * - If `package_type` is not `container`, your token must also include the `repo` scope. - * - If `package_type` is `container`, you must also have admin permissions to the container that you want to restore. - */ - post: operations["packages/restore-package-version-for-org"]; - }; - "/orgs/{org}/projects": { - /** Lists the projects in an organization. Returns a `404 Not Found` status if projects are disabled in the organization. If you do not have sufficient privileges to perform this action, a `401 Unauthorized` or `410 Gone` status is returned. */ - get: operations["projects/list-for-org"]; - /** Creates an organization project board. Returns a `404 Not Found` status if projects are disabled in the organization. If you do not have sufficient privileges to perform this action, a `401 Unauthorized` or `410 Gone` status is returned. */ - post: operations["projects/create-for-org"]; - }; - "/orgs/{org}/public_members": { - /** Members of an organization can choose to have their membership publicized or not. */ - get: operations["orgs/list-public-members"]; - }; - "/orgs/{org}/public_members/{username}": { - get: operations["orgs/check-public-membership-for-user"]; - /** - * The user can publicize their own membership. (A user cannot publicize the membership for another user.) - * - * Note that you'll need to set `Content-Length` to zero when calling out to this endpoint. For more information, see "[HTTP verbs](https://docs.github.com/rest/overview/resources-in-the-rest-api#http-verbs)." - */ - put: operations["orgs/set-public-membership-for-authenticated-user"]; - delete: operations["orgs/remove-public-membership-for-authenticated-user"]; - }; - "/orgs/{org}/repos": { - /** Lists repositories for the specified organization. */ - get: operations["repos/list-for-org"]; - /** - * Creates a new repository in the specified organization. The authenticated user must be a member of the organization. - * - * **OAuth scope requirements** - * - * When using [OAuth](https://docs.github.com/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/), authorizations must include: - * - * * `public_repo` scope or `repo` scope to create a public repository. Note: For GitHub AE, use `repo` scope to create an internal repository. - * * `repo` scope to create a private repository - */ - post: operations["repos/create-in-org"]; - }; - "/orgs/{org}/settings/billing/actions": { - /** - * Gets the summary of the free and paid GitHub Actions minutes used. - * - * Paid minutes only apply to workflows in private repositories that use GitHub-hosted runners. Minutes used is listed for each GitHub-hosted runner operating system. Any job re-runs are also included in the usage. The usage returned includes any minute multipliers for macOS and Windows runners, and is rounded up to the nearest whole minute. For more information, see "[Managing billing for GitHub Actions](https://help.github.com/github/setting-up-and-managing-billing-and-payments-on-github/managing-billing-for-github-actions)". - * - * Access tokens must have the `repo` or `admin:org` scope. - */ - get: operations["billing/get-github-actions-billing-org"]; - }; - "/orgs/{org}/settings/billing/packages": { - /** - * Gets the free and paid storage used for GitHub Packages in gigabytes. - * - * Paid minutes only apply to packages stored for private repositories. For more information, see "[Managing billing for GitHub Packages](https://help.github.com/github/setting-up-and-managing-billing-and-payments-on-github/managing-billing-for-github-packages)." - * - * Access tokens must have the `repo` or `admin:org` scope. - */ - get: operations["billing/get-github-packages-billing-org"]; - }; - "/orgs/{org}/settings/billing/shared-storage": { - /** - * Gets the estimated paid and estimated total storage used for GitHub Actions and Github Packages. - * - * Paid minutes only apply to packages stored for private repositories. For more information, see "[Managing billing for GitHub Packages](https://help.github.com/github/setting-up-and-managing-billing-and-payments-on-github/managing-billing-for-github-packages)." - * - * Access tokens must have the `repo` or `admin:org` scope. - */ - get: operations["billing/get-shared-storage-billing-org"]; - }; - "/orgs/{org}/team-sync/groups": { - /** - * Team synchronization is available for organizations using GitHub Enterprise Cloud. For more information, see [GitHub's products](https://help.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation. - * - * List IdP groups available in an organization. You can limit your page results using the `per_page` parameter. GitHub generates a url-encoded `page` token using a cursor value for where the next page begins. For more information on cursor pagination, see "[Offset and Cursor Pagination explained](https://dev.to/jackmarchant/offset-and-cursor-pagination-explained-b89)." - * - * The `per_page` parameter provides pagination for a list of IdP groups the authenticated user can access in an organization. For example, if the user `octocat` wants to see two groups per page in `octo-org` via cURL, it would look like this: - */ - get: operations["teams/list-idp-groups-for-org"]; - }; - "/orgs/{org}/teams": { - /** Lists all teams in an organization that are visible to the authenticated user. */ - get: operations["teams/list"]; - /** - * To create a team, the authenticated user must be a member or owner of `{org}`. By default, organization members can create teams. Organization owners can limit team creation to organization owners. For more information, see "[Setting team creation permissions](https://help.github.com/en/articles/setting-team-creation-permissions-in-your-organization)." - * - * When you create a new team, you automatically become a team maintainer without explicitly adding yourself to the optional array of `maintainers`. For more information, see "[About teams](https://help.github.com/en/github/setting-up-and-managing-organizations-and-teams/about-teams)". - */ - post: operations["teams/create"]; - }; - "/orgs/{org}/teams/{team_slug}": { - /** - * Gets a team using the team's `slug`. GitHub generates the `slug` from the team `name`. - * - * **Note:** You can also specify a team by `org_id` and `team_id` using the route `GET /organizations/{org_id}/team/{team_id}`. - */ - get: operations["teams/get-by-name"]; - /** - * To delete a team, the authenticated user must be an organization owner or team maintainer. - * - * If you are an organization owner, deleting a parent team will delete all of its child teams as well. - * - * **Note:** You can also specify a team by `org_id` and `team_id` using the route `DELETE /organizations/{org_id}/team/{team_id}`. - */ - delete: operations["teams/delete-in-org"]; - /** - * To edit a team, the authenticated user must either be an organization owner or a team maintainer. - * - * **Note:** You can also specify a team by `org_id` and `team_id` using the route `PATCH /organizations/{org_id}/team/{team_id}`. - */ - patch: operations["teams/update-in-org"]; - }; - "/orgs/{org}/teams/{team_slug}/discussions": { - /** - * List all discussions on a team's page. OAuth access tokens require the `read:discussion` [scope](https://docs.github.com/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/). - * - * **Note:** You can also specify a team by `org_id` and `team_id` using the route `GET /organizations/{org_id}/team/{team_id}/discussions`. - */ - get: operations["teams/list-discussions-in-org"]; - /** - * Creates a new discussion post on a team's page. OAuth access tokens require the `write:discussion` [scope](https://docs.github.com/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/). - * - * This endpoint triggers [notifications](https://docs.github.com/en/github/managing-subscriptions-and-notifications-on-github/about-notifications). Creating content too quickly using this endpoint may result in abuse rate limiting. See "[Abuse rate limits](https://docs.github.com/rest/overview/resources-in-the-rest-api#abuse-rate-limits)" and "[Dealing with abuse rate limits](https://docs.github.com/rest/guides/best-practices-for-integrators#dealing-with-rate-limits)" for details. - * - * **Note:** You can also specify a team by `org_id` and `team_id` using the route `POST /organizations/{org_id}/team/{team_id}/discussions`. - */ - post: operations["teams/create-discussion-in-org"]; - }; - "/orgs/{org}/teams/{team_slug}/discussions/{discussion_number}": { - /** - * Get a specific discussion on a team's page. OAuth access tokens require the `read:discussion` [scope](https://docs.github.com/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/). - * - * **Note:** You can also specify a team by `org_id` and `team_id` using the route `GET /organizations/{org_id}/team/{team_id}/discussions/{discussion_number}`. - */ - get: operations["teams/get-discussion-in-org"]; - /** - * Delete a discussion from a team's page. OAuth access tokens require the `write:discussion` [scope](https://docs.github.com/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/). - * - * **Note:** You can also specify a team by `org_id` and `team_id` using the route `DELETE /organizations/{org_id}/team/{team_id}/discussions/{discussion_number}`. - */ - delete: operations["teams/delete-discussion-in-org"]; - /** - * Edits the title and body text of a discussion post. Only the parameters you provide are updated. OAuth access tokens require the `write:discussion` [scope](https://docs.github.com/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/). - * - * **Note:** You can also specify a team by `org_id` and `team_id` using the route `PATCH /organizations/{org_id}/team/{team_id}/discussions/{discussion_number}`. - */ - patch: operations["teams/update-discussion-in-org"]; - }; - "/orgs/{org}/teams/{team_slug}/discussions/{discussion_number}/comments": { - /** - * List all comments on a team discussion. OAuth access tokens require the `read:discussion` [scope](https://docs.github.com/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/). - * - * **Note:** You can also specify a team by `org_id` and `team_id` using the route `GET /organizations/{org_id}/team/{team_id}/discussions/{discussion_number}/comments`. - */ - get: operations["teams/list-discussion-comments-in-org"]; - /** - * Creates a new comment on a team discussion. OAuth access tokens require the `write:discussion` [scope](https://docs.github.com/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/). - * - * This endpoint triggers [notifications](https://docs.github.com/en/github/managing-subscriptions-and-notifications-on-github/about-notifications). Creating content too quickly using this endpoint may result in abuse rate limiting. See "[Abuse rate limits](https://docs.github.com/rest/overview/resources-in-the-rest-api#abuse-rate-limits)" and "[Dealing with abuse rate limits](https://docs.github.com/rest/guides/best-practices-for-integrators#dealing-with-rate-limits)" for details. - * - * **Note:** You can also specify a team by `org_id` and `team_id` using the route `POST /organizations/{org_id}/team/{team_id}/discussions/{discussion_number}/comments`. - */ - post: operations["teams/create-discussion-comment-in-org"]; - }; - "/orgs/{org}/teams/{team_slug}/discussions/{discussion_number}/comments/{comment_number}": { - /** - * Get a specific comment on a team discussion. OAuth access tokens require the `read:discussion` [scope](https://docs.github.com/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/). - * - * **Note:** You can also specify a team by `org_id` and `team_id` using the route `GET /organizations/{org_id}/team/{team_id}/discussions/{discussion_number}/comments/{comment_number}`. - */ - get: operations["teams/get-discussion-comment-in-org"]; - /** - * Deletes a comment on a team discussion. OAuth access tokens require the `write:discussion` [scope](https://docs.github.com/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/). - * - * **Note:** You can also specify a team by `org_id` and `team_id` using the route `DELETE /organizations/{org_id}/team/{team_id}/discussions/{discussion_number}/comments/{comment_number}`. - */ - delete: operations["teams/delete-discussion-comment-in-org"]; - /** - * Edits the body text of a discussion comment. OAuth access tokens require the `write:discussion` [scope](https://docs.github.com/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/). - * - * **Note:** You can also specify a team by `org_id` and `team_id` using the route `PATCH /organizations/{org_id}/team/{team_id}/discussions/{discussion_number}/comments/{comment_number}`. - */ - patch: operations["teams/update-discussion-comment-in-org"]; - }; - "/orgs/{org}/teams/{team_slug}/discussions/{discussion_number}/comments/{comment_number}/reactions": { - /** - * List the reactions to a [team discussion comment](https://docs.github.com/rest/reference/teams#discussion-comments/). OAuth access tokens require the `read:discussion` [scope](https://docs.github.com/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/). - * - * **Note:** You can also specify a team by `org_id` and `team_id` using the route `GET /organizations/:org_id/team/:team_id/discussions/:discussion_number/comments/:comment_number/reactions`. - */ - get: operations["reactions/list-for-team-discussion-comment-in-org"]; - /** - * Create a reaction to a [team discussion comment](https://docs.github.com/rest/reference/teams#discussion-comments). OAuth access tokens require the `write:discussion` [scope](https://docs.github.com/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/). A response with an HTTP `200` status means that you already added the reaction type to this team discussion comment. - * - * **Note:** You can also specify a team by `org_id` and `team_id` using the route `POST /organizations/:org_id/team/:team_id/discussions/:discussion_number/comments/:comment_number/reactions`. - */ - post: operations["reactions/create-for-team-discussion-comment-in-org"]; - }; - "/orgs/{org}/teams/{team_slug}/discussions/{discussion_number}/comments/{comment_number}/reactions/{reaction_id}": { - /** - * **Note:** You can also specify a team or organization with `team_id` and `org_id` using the route `DELETE /organizations/:org_id/team/:team_id/discussions/:discussion_number/comments/:comment_number/reactions/:reaction_id`. - * - * Delete a reaction to a [team discussion comment](https://docs.github.com/rest/reference/teams#discussion-comments). OAuth access tokens require the `write:discussion` [scope](https://docs.github.com/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/). - */ - delete: operations["reactions/delete-for-team-discussion-comment"]; - }; - "/orgs/{org}/teams/{team_slug}/discussions/{discussion_number}/reactions": { - /** - * List the reactions to a [team discussion](https://docs.github.com/rest/reference/teams#discussions). OAuth access tokens require the `read:discussion` [scope](https://docs.github.com/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/). - * - * **Note:** You can also specify a team by `org_id` and `team_id` using the route `GET /organizations/:org_id/team/:team_id/discussions/:discussion_number/reactions`. - */ - get: operations["reactions/list-for-team-discussion-in-org"]; - /** - * Create a reaction to a [team discussion](https://docs.github.com/rest/reference/teams#discussions). OAuth access tokens require the `write:discussion` [scope](https://docs.github.com/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/). A response with an HTTP `200` status means that you already added the reaction type to this team discussion. - * - * **Note:** You can also specify a team by `org_id` and `team_id` using the route `POST /organizations/:org_id/team/:team_id/discussions/:discussion_number/reactions`. - */ - post: operations["reactions/create-for-team-discussion-in-org"]; - }; - "/orgs/{org}/teams/{team_slug}/discussions/{discussion_number}/reactions/{reaction_id}": { - /** - * **Note:** You can also specify a team or organization with `team_id` and `org_id` using the route `DELETE /organizations/:org_id/team/:team_id/discussions/:discussion_number/reactions/:reaction_id`. - * - * Delete a reaction to a [team discussion](https://docs.github.com/rest/reference/teams#discussions). OAuth access tokens require the `write:discussion` [scope](https://docs.github.com/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/). - */ - delete: operations["reactions/delete-for-team-discussion"]; - }; - "/orgs/{org}/teams/{team_slug}/invitations": { - /** - * The return hash contains a `role` field which refers to the Organization Invitation role and will be one of the following values: `direct_member`, `admin`, `billing_manager`, `hiring_manager`, or `reinstate`. If the invitee is not a GitHub member, the `login` field in the return hash will be `null`. - * - * **Note:** You can also specify a team by `org_id` and `team_id` using the route `GET /organizations/{org_id}/team/{team_id}/invitations`. - */ - get: operations["teams/list-pending-invitations-in-org"]; - }; - "/orgs/{org}/teams/{team_slug}/members": { - /** - * Team members will include the members of child teams. - * - * To list members in a team, the team must be visible to the authenticated user. - */ - get: operations["teams/list-members-in-org"]; - }; - "/orgs/{org}/teams/{team_slug}/memberships/{username}": { - /** - * Team members will include the members of child teams. - * - * To get a user's membership with a team, the team must be visible to the authenticated user. - * - * **Note:** You can also specify a team by `org_id` and `team_id` using the route `GET /organizations/{org_id}/team/{team_id}/memberships/{username}`. - * - * **Note:** - * The response contains the `state` of the membership and the member's `role`. - * - * The `role` for organization owners is set to `maintainer`. For more information about `maintainer` roles, see see [Create a team](https://docs.github.com/rest/reference/teams#create-a-team). - */ - get: operations["teams/get-membership-for-user-in-org"]; - /** - * Team synchronization is available for organizations using GitHub Enterprise Cloud. For more information, see [GitHub's products](https://help.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation. - * - * Adds an organization member to a team. An authenticated organization owner or team maintainer can add organization members to a team. - * - * **Note:** When you have team synchronization set up for a team with your organization's identity provider (IdP), you will see an error if you attempt to use the API for making changes to the team's membership. If you have access to manage group membership in your IdP, you can manage GitHub team membership through your identity provider, which automatically adds and removes team members in an organization. For more information, see "[Synchronizing teams between your identity provider and GitHub](https://help.github.com/articles/synchronizing-teams-between-your-identity-provider-and-github/)." - * - * An organization owner can add someone who is not part of the team's organization to a team. When an organization owner adds someone to a team who is not an organization member, this endpoint will send an invitation to the person via email. This newly-created membership will be in the "pending" state until the person accepts the invitation, at which point the membership will transition to the "active" state and the user will be added as a member of the team. - * - * If the user is already a member of the team, this endpoint will update the role of the team member's role. To update the membership of a team member, the authenticated user must be an organization owner or a team maintainer. - * - * **Note:** You can also specify a team by `org_id` and `team_id` using the route `PUT /organizations/{org_id}/team/{team_id}/memberships/{username}`. - */ - put: operations["teams/add-or-update-membership-for-user-in-org"]; - /** - * Team synchronization is available for organizations using GitHub Enterprise Cloud. For more information, see [GitHub's products](https://help.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation. - * - * To remove a membership between a user and a team, the authenticated user must have 'admin' permissions to the team or be an owner of the organization that the team is associated with. Removing team membership does not delete the user, it just removes their membership from the team. - * - * **Note:** When you have team synchronization set up for a team with your organization's identity provider (IdP), you will see an error if you attempt to use the API for making changes to the team's membership. If you have access to manage group membership in your IdP, you can manage GitHub team membership through your identity provider, which automatically adds and removes team members in an organization. For more information, see "[Synchronizing teams between your identity provider and GitHub](https://help.github.com/articles/synchronizing-teams-between-your-identity-provider-and-github/)." - * - * **Note:** You can also specify a team by `org_id` and `team_id` using the route `DELETE /organizations/{org_id}/team/{team_id}/memberships/{username}`. - */ - delete: operations["teams/remove-membership-for-user-in-org"]; - }; - "/orgs/{org}/teams/{team_slug}/projects": { - /** - * Lists the organization projects for a team. - * - * **Note:** You can also specify a team by `org_id` and `team_id` using the route `GET /organizations/{org_id}/team/{team_id}/projects`. - */ - get: operations["teams/list-projects-in-org"]; - }; - "/orgs/{org}/teams/{team_slug}/projects/{project_id}": { - /** - * Checks whether a team has `read`, `write`, or `admin` permissions for an organization project. The response includes projects inherited from a parent team. - * - * **Note:** You can also specify a team by `org_id` and `team_id` using the route `GET /organizations/{org_id}/team/{team_id}/projects/{project_id}`. - */ - get: operations["teams/check-permissions-for-project-in-org"]; - /** - * Adds an organization project to a team. To add a project to a team or update the team's permission on a project, the authenticated user must have `admin` permissions for the project. The project and team must be part of the same organization. - * - * **Note:** You can also specify a team by `org_id` and `team_id` using the route `PUT /organizations/{org_id}/team/{team_id}/projects/{project_id}`. - */ - put: operations["teams/add-or-update-project-permissions-in-org"]; - /** - * Removes an organization project from a team. An organization owner or a team maintainer can remove any project from the team. To remove a project from a team as an organization member, the authenticated user must have `read` access to both the team and project, or `admin` access to the team or project. This endpoint removes the project from the team, but does not delete the project. - * - * **Note:** You can also specify a team by `org_id` and `team_id` using the route `DELETE /organizations/{org_id}/team/{team_id}/projects/{project_id}`. - */ - delete: operations["teams/remove-project-in-org"]; - }; - "/orgs/{org}/teams/{team_slug}/repos": { - /** - * Lists a team's repositories visible to the authenticated user. - * - * **Note:** You can also specify a team by `org_id` and `team_id` using the route `GET /organizations/{org_id}/team/{team_id}/repos`. - */ - get: operations["teams/list-repos-in-org"]; - }; - "/orgs/{org}/teams/{team_slug}/repos/{owner}/{repo}": { - /** - * Checks whether a team has `admin`, `push`, `maintain`, `triage`, or `pull` permission for a repository. Repositories inherited through a parent team will also be checked. - * - * You can also get information about the specified repository, including what permissions the team grants on it, by passing the following custom [media type](https://docs.github.com/rest/overview/media-types/) via the `application/vnd.github.v3.repository+json` accept header. - * - * If a team doesn't have permission for the repository, you will receive a `404 Not Found` response status. - * - * **Note:** You can also specify a team by `org_id` and `team_id` using the route `GET /organizations/{org_id}/team/{team_id}/repos/{owner}/{repo}`. - */ - get: operations["teams/check-permissions-for-repo-in-org"]; - /** - * To add a repository to a team or update the team's permission on a repository, the authenticated user must have admin access to the repository, and must be able to see the team. The repository must be owned by the organization, or a direct fork of a repository owned by the organization. You will get a `422 Unprocessable Entity` status if you attempt to add a repository to a team that is not owned by the organization. Note that, if you choose not to pass any parameters, you'll need to set `Content-Length` to zero when calling out to this endpoint. For more information, see "[HTTP verbs](https://docs.github.com/rest/overview/resources-in-the-rest-api#http-verbs)." - * - * **Note:** You can also specify a team by `org_id` and `team_id` using the route `PUT /organizations/{org_id}/team/{team_id}/repos/{owner}/{repo}`. - * - * For more information about the permission levels, see "[Repository permission levels for an organization](https://help.github.com/en/github/setting-up-and-managing-organizations-and-teams/repository-permission-levels-for-an-organization#permission-levels-for-repositories-owned-by-an-organization)". - */ - put: operations["teams/add-or-update-repo-permissions-in-org"]; - /** - * If the authenticated user is an organization owner or a team maintainer, they can remove any repositories from the team. To remove a repository from a team as an organization member, the authenticated user must have admin access to the repository and must be able to see the team. This does not delete the repository, it just removes it from the team. - * - * **Note:** You can also specify a team by `org_id` and `team_id` using the route `DELETE /organizations/{org_id}/team/{team_id}/repos/{owner}/{repo}`. - */ - delete: operations["teams/remove-repo-in-org"]; - }; - "/orgs/{org}/teams/{team_slug}/team-sync/group-mappings": { - /** - * Team synchronization is available for organizations using GitHub Enterprise Cloud. For more information, see [GitHub's products](https://help.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation. - * - * List IdP groups connected to a team on GitHub. - * - * **Note:** You can also specify a team by `org_id` and `team_id` using the route `GET /organizations/{org_id}/team/{team_id}/team-sync/group-mappings`. - */ - get: operations["teams/list-idp-groups-in-org"]; - /** - * Team synchronization is available for organizations using GitHub Enterprise Cloud. For more information, see [GitHub's products](https://help.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation. - * - * Creates, updates, or removes a connection between a team and an IdP group. When adding groups to a team, you must include all new and existing groups to avoid replacing existing groups with the new ones. Specifying an empty `groups` array will remove all connections for a team. - * - * **Note:** You can also specify a team by `org_id` and `team_id` using the route `PATCH /organizations/{org_id}/team/{team_id}/team-sync/group-mappings`. - */ - patch: operations["teams/create-or-update-idp-group-connections-in-org"]; - }; - "/orgs/{org}/teams/{team_slug}/teams": { - /** - * Lists the child teams of the team specified by `{team_slug}`. - * - * **Note:** You can also specify a team by `org_id` and `team_id` using the route `GET /organizations/{org_id}/team/{team_id}/teams`. - */ - get: operations["teams/list-child-in-org"]; - }; - "/projects/columns/cards/{card_id}": { - get: operations["projects/get-card"]; - delete: operations["projects/delete-card"]; - patch: operations["projects/update-card"]; - }; - "/projects/columns/cards/{card_id}/moves": { - post: operations["projects/move-card"]; - }; - "/projects/columns/{column_id}": { - get: operations["projects/get-column"]; - delete: operations["projects/delete-column"]; - patch: operations["projects/update-column"]; - }; - "/projects/columns/{column_id}/cards": { - get: operations["projects/list-cards"]; - post: operations["projects/create-card"]; - }; - "/projects/columns/{column_id}/moves": { - post: operations["projects/move-column"]; - }; - "/projects/{project_id}": { - /** Gets a project by its `id`. Returns a `404 Not Found` status if projects are disabled. If you do not have sufficient privileges to perform this action, a `401 Unauthorized` or `410 Gone` status is returned. */ - get: operations["projects/get"]; - /** Deletes a project board. Returns a `404 Not Found` status if projects are disabled. */ - delete: operations["projects/delete"]; - /** Updates a project board's information. Returns a `404 Not Found` status if projects are disabled. If you do not have sufficient privileges to perform this action, a `401 Unauthorized` or `410 Gone` status is returned. */ - patch: operations["projects/update"]; - }; - "/projects/{project_id}/collaborators": { - /** Lists the collaborators for an organization project. For a project, the list of collaborators includes outside collaborators, organization members that are direct collaborators, organization members with access through team memberships, organization members with access through default organization permissions, and organization owners. You must be an organization owner or a project `admin` to list collaborators. */ - get: operations["projects/list-collaborators"]; - }; - "/projects/{project_id}/collaborators/{username}": { - /** Adds a collaborator to an organization project and sets their permission level. You must be an organization owner or a project `admin` to add a collaborator. */ - put: operations["projects/add-collaborator"]; - /** Removes a collaborator from an organization project. You must be an organization owner or a project `admin` to remove a collaborator. */ - delete: operations["projects/remove-collaborator"]; - }; - "/projects/{project_id}/collaborators/{username}/permission": { - /** Returns the collaborator's permission level for an organization project. Possible values for the `permission` key: `admin`, `write`, `read`, `none`. You must be an organization owner or a project `admin` to review a user's permission level. */ - get: operations["projects/get-permission-for-user"]; - }; - "/projects/{project_id}/columns": { - get: operations["projects/list-columns"]; - post: operations["projects/create-column"]; - }; - "/rate_limit": { - /** - * **Note:** Accessing this endpoint does not count against your REST API rate limit. - * - * **Note:** The `rate` object is deprecated. If you're writing new API client code or updating existing code, you should use the `core` object instead of the `rate` object. The `core` object contains the same information that is present in the `rate` object. - */ - get: operations["rate-limit/get"]; - }; - "/reactions/{reaction_id}": { - /** - * **Deprecation Notice:** This endpoint route is deprecated and will be removed from the Reactions API. We recommend migrating your existing code to use the new delete reactions endpoints. For more information, see this [blog post](https://developer.github.com/changes/2020-02-26-new-delete-reactions-endpoints/). - * - * OAuth access tokens require the `write:discussion` [scope](https://docs.github.com/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/), when deleting a [team discussion](https://docs.github.com/rest/reference/teams#discussions) or [team discussion comment](https://docs.github.com/rest/reference/teams#discussion-comments). - */ - delete: operations["reactions/delete-legacy"]; - }; - "/repos/{owner}/{repo}": { - /** - * When you pass the `scarlet-witch-preview` media type, requests to get a repository will also return the repository's code of conduct if it can be detected from the repository's code of conduct file. - * - * The `parent` and `source` objects are present when the repository is a fork. `parent` is the repository this repository was forked from, `source` is the ultimate source for the network. - */ - get: operations["repos/get"]; - /** - * Deleting a repository requires admin access. If OAuth is used, the `delete_repo` scope is required. - * - * If an organization owner has configured the organization to prevent members from deleting organization-owned - * repositories, you will get a `403 Forbidden` response. - */ - delete: operations["repos/delete"]; - /** **Note**: To edit a repository's topics, use the [Replace all repository topics](https://docs.github.com/rest/reference/repos#replace-all-repository-topics) endpoint. */ - patch: operations["repos/update"]; - }; - "/repos/{owner}/{repo}/actions/artifacts": { - /** Lists all artifacts for a repository. Anyone with read access to the repository can use this endpoint. If the repository is private you must use an access token with the `repo` scope. GitHub Apps must have the `actions:read` permission to use this endpoint. */ - get: operations["actions/list-artifacts-for-repo"]; - }; - "/repos/{owner}/{repo}/actions/artifacts/{artifact_id}": { - /** Gets a specific artifact for a workflow run. Anyone with read access to the repository can use this endpoint. If the repository is private you must use an access token with the `repo` scope. GitHub Apps must have the `actions:read` permission to use this endpoint. */ - get: operations["actions/get-artifact"]; - /** Deletes an artifact for a workflow run. You must authenticate using an access token with the `repo` scope to use this endpoint. GitHub Apps must have the `actions:write` permission to use this endpoint. */ - delete: operations["actions/delete-artifact"]; - }; - "/repos/{owner}/{repo}/actions/artifacts/{artifact_id}/{archive_format}": { - /** - * Gets a redirect URL to download an archive for a repository. This URL expires after 1 minute. Look for `Location:` in - * the response header to find the URL for the download. The `:archive_format` must be `zip`. Anyone with read access to - * the repository can use this endpoint. If the repository is private you must use an access token with the `repo` scope. - * GitHub Apps must have the `actions:read` permission to use this endpoint. - */ - get: operations["actions/download-artifact"]; - }; - "/repos/{owner}/{repo}/actions/jobs/{job_id}": { - /** Gets a specific job in a workflow run. Anyone with read access to the repository can use this endpoint. If the repository is private you must use an access token with the `repo` scope. GitHub Apps must have the `actions:read` permission to use this endpoint. */ - get: operations["actions/get-job-for-workflow-run"]; - }; - "/repos/{owner}/{repo}/actions/jobs/{job_id}/logs": { - /** - * Gets a redirect URL to download a plain text file of logs for a workflow job. This link expires after 1 minute. Look - * for `Location:` in the response header to find the URL for the download. Anyone with read access to the repository can - * use this endpoint. If the repository is private you must use an access token with the `repo` scope. GitHub Apps must - * have the `actions:read` permission to use this endpoint. - */ - get: operations["actions/download-job-logs-for-workflow-run"]; - }; - "/repos/{owner}/{repo}/actions/permissions": { - /** - * Gets the GitHub Actions permissions policy for a repository, including whether GitHub Actions is enabled and the actions allowed to run in the repository. - * - * You must authenticate using an access token with the `repo` scope to use this - * endpoint. GitHub Apps must have the `administration` repository permission to use this API. - */ - get: operations["actions/get-github-actions-permissions-repository"]; - /** - * Sets the GitHub Actions permissions policy for enabling GitHub Actions and allowed actions in the repository. - * - * If the repository belongs to an organization or enterprise that has set restrictive permissions at the organization or enterprise levels, such as `allowed_actions` to `selected` actions, then you cannot override them for the repository. - * - * You must authenticate using an access token with the `repo` scope to use this endpoint. GitHub Apps must have the `administration` repository permission to use this API. - */ - put: operations["actions/set-github-actions-permissions-repository"]; - }; - "/repos/{owner}/{repo}/actions/permissions/selected-actions": { - /** - * Gets the settings for selected actions that are allowed in a repository. To use this endpoint, the repository policy for `allowed_actions` must be configured to `selected`. For more information, see "[Set GitHub Actions permissions for a repository](#set-github-actions-permissions-for-a-repository)." - * - * You must authenticate using an access token with the `repo` scope to use this endpoint. GitHub Apps must have the `administration` repository permission to use this API. - */ - get: operations["actions/get-allowed-actions-repository"]; - /** - * Sets the actions that are allowed in a repository. To use this endpoint, the repository permission policy for `allowed_actions` must be configured to `selected`. For more information, see "[Set GitHub Actions permissions for a repository](#set-github-actions-permissions-for-a-repository)." - * - * If the repository belongs to an organization or enterprise that has `selected` actions set at the organization or enterprise levels, then you cannot override any of the allowed actions settings. - * - * To use the `patterns_allowed` setting for private repositories, the repository must belong to an enterprise. If the repository does not belong to an enterprise, then the `patterns_allowed` setting only applies to public repositories. - * - * You must authenticate using an access token with the `repo` scope to use this endpoint. GitHub Apps must have the `administration` repository permission to use this API. - */ - put: operations["actions/set-allowed-actions-repository"]; - }; - "/repos/{owner}/{repo}/actions/runners": { - /** Lists all self-hosted runners configured in a repository. You must authenticate using an access token with the `repo` scope to use this endpoint. */ - get: operations["actions/list-self-hosted-runners-for-repo"]; - }; - "/repos/{owner}/{repo}/actions/runners/downloads": { - /** - * Lists binaries for the runner application that you can download and run. - * - * You must authenticate using an access token with the `repo` scope to use this endpoint. - */ - get: operations["actions/list-runner-applications-for-repo"]; - }; - "/repos/{owner}/{repo}/actions/runners/registration-token": { - /** - * Returns a token that you can pass to the `config` script. The token expires after one hour. You must authenticate - * using an access token with the `repo` scope to use this endpoint. - * - * #### Example using registration token - * - * Configure your self-hosted runner, replacing `TOKEN` with the registration token provided by this endpoint. - * - * ``` - * ./config.sh --url https://github.com/octo-org/octo-repo-artifacts --token TOKEN - * ``` - */ - post: operations["actions/create-registration-token-for-repo"]; - }; - "/repos/{owner}/{repo}/actions/runners/remove-token": { - /** - * Returns a token that you can pass to remove a self-hosted runner from a repository. The token expires after one hour. - * You must authenticate using an access token with the `repo` scope to use this endpoint. - * - * #### Example using remove token - * - * To remove your self-hosted runner from a repository, replace TOKEN with the remove token provided by this endpoint. - * - * ``` - * ./config.sh remove --token TOKEN - * ``` - */ - post: operations["actions/create-remove-token-for-repo"]; - }; - "/repos/{owner}/{repo}/actions/runners/{runner_id}": { - /** - * Gets a specific self-hosted runner configured in a repository. - * - * You must authenticate using an access token with the `repo` scope to use this - * endpoint. - */ - get: operations["actions/get-self-hosted-runner-for-repo"]; - /** - * Forces the removal of a self-hosted runner from a repository. You can use this endpoint to completely remove the runner when the machine you were using no longer exists. - * - * You must authenticate using an access token with the `repo` - * scope to use this endpoint. - */ - delete: operations["actions/delete-self-hosted-runner-from-repo"]; - }; - "/repos/{owner}/{repo}/actions/runs": { - /** - * Lists all workflow runs for a repository. You can use parameters to narrow the list of results. For more information about using parameters, see [Parameters](https://docs.github.com/rest/overview/resources-in-the-rest-api#parameters). - * - * Anyone with read access to the repository can use this endpoint. If the repository is private you must use an access token with the `repo` scope. GitHub Apps must have the `actions:read` permission to use this endpoint. - */ - get: operations["actions/list-workflow-runs-for-repo"]; - }; - "/repos/{owner}/{repo}/actions/runs/{run_id}": { - /** Gets a specific workflow run. Anyone with read access to the repository can use this endpoint. If the repository is private you must use an access token with the `repo` scope. GitHub Apps must have the `actions:read` permission to use this endpoint. */ - get: operations["actions/get-workflow-run"]; - /** - * Delete a specific workflow run. Anyone with write access to the repository can use this endpoint. If the repository is - * private you must use an access token with the `repo` scope. GitHub Apps must have the `actions:write` permission to use - * this endpoint. - */ - delete: operations["actions/delete-workflow-run"]; - }; - "/repos/{owner}/{repo}/actions/runs/{run_id}/approvals": { - /** Anyone with read access to the repository can use this endpoint. If the repository is private, you must use an access token with the `repo` scope. GitHub Apps must have the `actions:read` permission to use this endpoint. */ - get: operations["actions/get-reviews-for-run"]; - }; - "/repos/{owner}/{repo}/actions/runs/{run_id}/approve": { - /** - * Approves a workflow run for a pull request from a public fork of a first time contributor. For more information, see ["Approving workflow runs from public forks](https://docs.github.com/actions/managing-workflow-runs/approving-workflow-runs-from-public-forks)." - * - * You must authenticate using an access token with the `repo` scope to use this endpoint. GitHub Apps must have the `actions:write` permission to use this endpoint. - */ - post: operations["actions/approve-workflow-run"]; - }; - "/repos/{owner}/{repo}/actions/runs/{run_id}/artifacts": { - /** Lists artifacts for a workflow run. Anyone with read access to the repository can use this endpoint. If the repository is private you must use an access token with the `repo` scope. GitHub Apps must have the `actions:read` permission to use this endpoint. */ - get: operations["actions/list-workflow-run-artifacts"]; - }; - "/repos/{owner}/{repo}/actions/runs/{run_id}/cancel": { - /** Cancels a workflow run using its `id`. You must authenticate using an access token with the `repo` scope to use this endpoint. GitHub Apps must have the `actions:write` permission to use this endpoint. */ - post: operations["actions/cancel-workflow-run"]; - }; - "/repos/{owner}/{repo}/actions/runs/{run_id}/jobs": { - /** Lists jobs for a workflow run. Anyone with read access to the repository can use this endpoint. If the repository is private you must use an access token with the `repo` scope. GitHub Apps must have the `actions:read` permission to use this endpoint. You can use parameters to narrow the list of results. For more information about using parameters, see [Parameters](https://docs.github.com/rest/overview/resources-in-the-rest-api#parameters). */ - get: operations["actions/list-jobs-for-workflow-run"]; - }; - "/repos/{owner}/{repo}/actions/runs/{run_id}/logs": { - /** - * Gets a redirect URL to download an archive of log files for a workflow run. This link expires after 1 minute. Look for - * `Location:` in the response header to find the URL for the download. Anyone with read access to the repository can use - * this endpoint. If the repository is private you must use an access token with the `repo` scope. GitHub Apps must have - * the `actions:read` permission to use this endpoint. - */ - get: operations["actions/download-workflow-run-logs"]; - /** Deletes all logs for a workflow run. You must authenticate using an access token with the `repo` scope to use this endpoint. GitHub Apps must have the `actions:write` permission to use this endpoint. */ - delete: operations["actions/delete-workflow-run-logs"]; - }; - "/repos/{owner}/{repo}/actions/runs/{run_id}/pending_deployments": { - /** - * Get all deployment environments for a workflow run that are waiting for protection rules to pass. - * - * Anyone with read access to the repository can use this endpoint. If the repository is private, you must use an access token with the `repo` scope. GitHub Apps must have the `actions:read` permission to use this endpoint. - */ - get: operations["actions/get-pending-deployments-for-run"]; - /** - * Approve or reject pending deployments that are waiting on approval by a required reviewer. - * - * Anyone with read access to the repository contents and deployments can use this endpoint. - */ - post: operations["actions/review-pending-deployments-for-run"]; - }; - "/repos/{owner}/{repo}/actions/runs/{run_id}/rerun": { - /** Re-runs your workflow run using its `id`. You must authenticate using an access token with the `repo` scope to use this endpoint. GitHub Apps must have the `actions:write` permission to use this endpoint. */ - post: operations["actions/re-run-workflow"]; - }; - "/repos/{owner}/{repo}/actions/runs/{run_id}/timing": { - /** - * Gets the number of billable minutes and total run time for a specific workflow run. Billable minutes only apply to workflows in private repositories that use GitHub-hosted runners. Usage is listed for each GitHub-hosted runner operating system in milliseconds. Any job re-runs are also included in the usage. The usage does not include the multiplier for macOS and Windows runners and is not rounded up to the nearest whole minute. For more information, see "[Managing billing for GitHub Actions](https://help.github.com/github/setting-up-and-managing-billing-and-payments-on-github/managing-billing-for-github-actions)". - * - * Anyone with read access to the repository can use this endpoint. If the repository is private you must use an access token with the `repo` scope. GitHub Apps must have the `actions:read` permission to use this endpoint. - */ - get: operations["actions/get-workflow-run-usage"]; - }; - "/repos/{owner}/{repo}/actions/secrets": { - /** Lists all secrets available in a repository without revealing their encrypted values. You must authenticate using an access token with the `repo` scope to use this endpoint. GitHub Apps must have the `secrets` repository permission to use this endpoint. */ - get: operations["actions/list-repo-secrets"]; - }; - "/repos/{owner}/{repo}/actions/secrets/public-key": { - /** Gets your public key, which you need to encrypt secrets. You need to encrypt a secret before you can create or update secrets. Anyone with read access to the repository can use this endpoint. If the repository is private you must use an access token with the `repo` scope. GitHub Apps must have the `secrets` repository permission to use this endpoint. */ - get: operations["actions/get-repo-public-key"]; - }; - "/repos/{owner}/{repo}/actions/secrets/{secret_name}": { - /** Gets a single repository secret without revealing its encrypted value. You must authenticate using an access token with the `repo` scope to use this endpoint. GitHub Apps must have the `secrets` repository permission to use this endpoint. */ - get: operations["actions/get-repo-secret"]; - /** - * Creates or updates a repository secret with an encrypted value. Encrypt your secret using - * [LibSodium](https://libsodium.gitbook.io/doc/bindings_for_other_languages). You must authenticate using an access - * token with the `repo` scope to use this endpoint. GitHub Apps must have the `secrets` repository permission to use - * this endpoint. - * - * #### Example encrypting a secret using Node.js - * - * Encrypt your secret using the [tweetsodium](https://github.com/github/tweetsodium) library. - * - * ``` - * const sodium = require('tweetsodium'); - * - * const key = "base64-encoded-public-key"; - * const value = "plain-text-secret"; - * - * // Convert the message and key to Uint8Array's (Buffer implements that interface) - * const messageBytes = Buffer.from(value); - * const keyBytes = Buffer.from(key, 'base64'); - * - * // Encrypt using LibSodium. - * const encryptedBytes = sodium.seal(messageBytes, keyBytes); - * - * // Base64 the encrypted secret - * const encrypted = Buffer.from(encryptedBytes).toString('base64'); - * - * console.log(encrypted); - * ``` - * - * - * #### Example encrypting a secret using Python - * - * Encrypt your secret using [pynacl](https://pynacl.readthedocs.io/en/stable/public/#nacl-public-sealedbox) with Python 3. - * - * ``` - * from base64 import b64encode - * from nacl import encoding, public - * - * def encrypt(public_key: str, secret_value: str) -> str: - * """Encrypt a Unicode string using the public key.""" - * public_key = public.PublicKey(public_key.encode("utf-8"), encoding.Base64Encoder()) - * sealed_box = public.SealedBox(public_key) - * encrypted = sealed_box.encrypt(secret_value.encode("utf-8")) - * return b64encode(encrypted).decode("utf-8") - * ``` - * - * #### Example encrypting a secret using C# - * - * Encrypt your secret using the [Sodium.Core](https://www.nuget.org/packages/Sodium.Core/) package. - * - * ``` - * var secretValue = System.Text.Encoding.UTF8.GetBytes("mySecret"); - * var publicKey = Convert.FromBase64String("2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvvcCU="); - * - * var sealedPublicKeyBox = Sodium.SealedPublicKeyBox.Create(secretValue, publicKey); - * - * Console.WriteLine(Convert.ToBase64String(sealedPublicKeyBox)); - * ``` - * - * #### Example encrypting a secret using Ruby - * - * Encrypt your secret using the [rbnacl](https://github.com/RubyCrypto/rbnacl) gem. - * - * ```ruby - * require "rbnacl" - * require "base64" - * - * key = Base64.decode64("+ZYvJDZMHUfBkJdyq5Zm9SKqeuBQ4sj+6sfjlH4CgG0=") - * public_key = RbNaCl::PublicKey.new(key) - * - * box = RbNaCl::Boxes::Sealed.from_public_key(public_key) - * encrypted_secret = box.encrypt("my_secret") - * - * # Print the base64 encoded secret - * puts Base64.strict_encode64(encrypted_secret) - * ``` - */ - put: operations["actions/create-or-update-repo-secret"]; - /** Deletes a secret in a repository using the secret name. You must authenticate using an access token with the `repo` scope to use this endpoint. GitHub Apps must have the `secrets` repository permission to use this endpoint. */ - delete: operations["actions/delete-repo-secret"]; - }; - "/repos/{owner}/{repo}/actions/workflows": { - /** Lists the workflows in a repository. Anyone with read access to the repository can use this endpoint. If the repository is private you must use an access token with the `repo` scope. GitHub Apps must have the `actions:read` permission to use this endpoint. */ - get: operations["actions/list-repo-workflows"]; - }; - "/repos/{owner}/{repo}/actions/workflows/{workflow_id}": { - /** Gets a specific workflow. You can replace `workflow_id` with the workflow file name. For example, you could use `main.yaml`. Anyone with read access to the repository can use this endpoint. If the repository is private you must use an access token with the `repo` scope. GitHub Apps must have the `actions:read` permission to use this endpoint. */ - get: operations["actions/get-workflow"]; - }; - "/repos/{owner}/{repo}/actions/workflows/{workflow_id}/disable": { - /** - * Disables a workflow and sets the `state` of the workflow to `disabled_manually`. You can replace `workflow_id` with the workflow file name. For example, you could use `main.yaml`. - * - * You must authenticate using an access token with the `repo` scope to use this endpoint. GitHub Apps must have the `actions:write` permission to use this endpoint. - */ - put: operations["actions/disable-workflow"]; - }; - "/repos/{owner}/{repo}/actions/workflows/{workflow_id}/dispatches": { - /** - * You can use this endpoint to manually trigger a GitHub Actions workflow run. You can replace `workflow_id` with the workflow file name. For example, you could use `main.yaml`. - * - * You must configure your GitHub Actions workflow to run when the [`workflow_dispatch` webhook](/developers/webhooks-and-events/webhook-events-and-payloads#workflow_dispatch) event occurs. The `inputs` are configured in the workflow file. For more information about how to configure the `workflow_dispatch` event in the workflow file, see "[Events that trigger workflows](/actions/reference/events-that-trigger-workflows#workflow_dispatch)." - * - * You must authenticate using an access token with the `repo` scope to use this endpoint. GitHub Apps must have the `actions:write` permission to use this endpoint. For more information, see "[Creating a personal access token for the command line](https://help.github.com/articles/creating-a-personal-access-token-for-the-command-line)." - */ - post: operations["actions/create-workflow-dispatch"]; - }; - "/repos/{owner}/{repo}/actions/workflows/{workflow_id}/enable": { - /** - * Enables a workflow and sets the `state` of the workflow to `active`. You can replace `workflow_id` with the workflow file name. For example, you could use `main.yaml`. - * - * You must authenticate using an access token with the `repo` scope to use this endpoint. GitHub Apps must have the `actions:write` permission to use this endpoint. - */ - put: operations["actions/enable-workflow"]; - }; - "/repos/{owner}/{repo}/actions/workflows/{workflow_id}/runs": { - /** - * List all workflow runs for a workflow. You can replace `workflow_id` with the workflow file name. For example, you could use `main.yaml`. You can use parameters to narrow the list of results. For more information about using parameters, see [Parameters](https://docs.github.com/rest/overview/resources-in-the-rest-api#parameters). - * - * Anyone with read access to the repository can use this endpoint. If the repository is private you must use an access token with the `repo` scope. - */ - get: operations["actions/list-workflow-runs"]; - }; - "/repos/{owner}/{repo}/actions/workflows/{workflow_id}/timing": { - /** - * Gets the number of billable minutes used by a specific workflow during the current billing cycle. Billable minutes only apply to workflows in private repositories that use GitHub-hosted runners. Usage is listed for each GitHub-hosted runner operating system in milliseconds. Any job re-runs are also included in the usage. The usage does not include the multiplier for macOS and Windows runners and is not rounded up to the nearest whole minute. For more information, see "[Managing billing for GitHub Actions](https://help.github.com/github/setting-up-and-managing-billing-and-payments-on-github/managing-billing-for-github-actions)". - * - * You can replace `workflow_id` with the workflow file name. For example, you could use `main.yaml`. Anyone with read access to the repository can use this endpoint. If the repository is private you must use an access token with the `repo` scope. GitHub Apps must have the `actions:read` permission to use this endpoint. - */ - get: operations["actions/get-workflow-usage"]; - }; - "/repos/{owner}/{repo}/assignees": { - /** Lists the [available assignees](https://help.github.com/articles/assigning-issues-and-pull-requests-to-other-github-users/) for issues in a repository. */ - get: operations["issues/list-assignees"]; - }; - "/repos/{owner}/{repo}/assignees/{assignee}": { - /** - * Checks if a user has permission to be assigned to an issue in this repository. - * - * If the `assignee` can be assigned to issues in the repository, a `204` header with no content is returned. - * - * Otherwise a `404` status code is returned. - */ - get: operations["issues/check-user-can-be-assigned"]; - }; - "/repos/{owner}/{repo}/automated-security-fixes": { - /** Enables automated security fixes for a repository. The authenticated user must have admin access to the repository. For more information, see "[Configuring automated security fixes](https://help.github.com/en/articles/configuring-automated-security-fixes)". */ - put: operations["repos/enable-automated-security-fixes"]; - /** Disables automated security fixes for a repository. The authenticated user must have admin access to the repository. For more information, see "[Configuring automated security fixes](https://help.github.com/en/articles/configuring-automated-security-fixes)". */ - delete: operations["repos/disable-automated-security-fixes"]; - }; - "/repos/{owner}/{repo}/branches": { - get: operations["repos/list-branches"]; - }; - "/repos/{owner}/{repo}/branches/{branch}": { - get: operations["repos/get-branch"]; - }; - "/repos/{owner}/{repo}/branches/{branch}/protection": { - /** Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://help.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation. */ - get: operations["repos/get-branch-protection"]; - /** - * Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://help.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation. - * - * Protecting a branch requires admin or owner permissions to the repository. - * - * **Note**: Passing new arrays of `users` and `teams` replaces their previous values. - * - * **Note**: The list of users, apps, and teams in total is limited to 100 items. - */ - put: operations["repos/update-branch-protection"]; - /** Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://help.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation. */ - delete: operations["repos/delete-branch-protection"]; - }; - "/repos/{owner}/{repo}/branches/{branch}/protection/enforce_admins": { - /** Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://help.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation. */ - get: operations["repos/get-admin-branch-protection"]; - /** - * Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://help.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation. - * - * Adding admin enforcement requires admin or owner permissions to the repository and branch protection to be enabled. - */ - post: operations["repos/set-admin-branch-protection"]; - /** - * Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://help.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation. - * - * Removing admin enforcement requires admin or owner permissions to the repository and branch protection to be enabled. - */ - delete: operations["repos/delete-admin-branch-protection"]; - }; - "/repos/{owner}/{repo}/branches/{branch}/protection/required_pull_request_reviews": { - /** Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://help.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation. */ - get: operations["repos/get-pull-request-review-protection"]; - /** Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://help.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation. */ - delete: operations["repos/delete-pull-request-review-protection"]; - /** - * Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://help.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation. - * - * Updating pull request review enforcement requires admin or owner permissions to the repository and branch protection to be enabled. - * - * **Note**: Passing new arrays of `users` and `teams` replaces their previous values. - */ - patch: operations["repos/update-pull-request-review-protection"]; - }; - "/repos/{owner}/{repo}/branches/{branch}/protection/required_signatures": { - /** - * Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://help.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation. - * - * When authenticated with admin or owner permissions to the repository, you can use this endpoint to check whether a branch requires signed commits. An enabled status of `true` indicates you must sign commits on this branch. For more information, see [Signing commits with GPG](https://help.github.com/articles/signing-commits-with-gpg) in GitHub Help. - * - * **Note**: You must enable branch protection to require signed commits. - */ - get: operations["repos/get-commit-signature-protection"]; - /** - * Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://help.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation. - * - * When authenticated with admin or owner permissions to the repository, you can use this endpoint to require signed commits on a branch. You must enable branch protection to require signed commits. - */ - post: operations["repos/create-commit-signature-protection"]; - /** - * Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://help.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation. - * - * When authenticated with admin or owner permissions to the repository, you can use this endpoint to disable required signed commits on a branch. You must enable branch protection to require signed commits. - */ - delete: operations["repos/delete-commit-signature-protection"]; - }; - "/repos/{owner}/{repo}/branches/{branch}/protection/required_status_checks": { - /** Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://help.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation. */ - get: operations["repos/get-status-checks-protection"]; - /** Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://help.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation. */ - delete: operations["repos/remove-status-check-protection"]; - /** - * Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://help.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation. - * - * Updating required status checks requires admin or owner permissions to the repository and branch protection to be enabled. - */ - patch: operations["repos/update-status-check-protection"]; - }; - "/repos/{owner}/{repo}/branches/{branch}/protection/required_status_checks/contexts": { - /** Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://help.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation. */ - get: operations["repos/get-all-status-check-contexts"]; - /** Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://help.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation. */ - put: operations["repos/set-status-check-contexts"]; - /** Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://help.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation. */ - post: operations["repos/add-status-check-contexts"]; - /** Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://help.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation. */ - delete: operations["repos/remove-status-check-contexts"]; - }; - "/repos/{owner}/{repo}/branches/{branch}/protection/restrictions": { - /** - * Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://help.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation. - * - * Lists who has access to this protected branch. - * - * **Note**: Users, apps, and teams `restrictions` are only available for organization-owned repositories. - */ - get: operations["repos/get-access-restrictions"]; - /** - * Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://help.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation. - * - * Disables the ability to restrict who can push to this branch. - */ - delete: operations["repos/delete-access-restrictions"]; - }; - "/repos/{owner}/{repo}/branches/{branch}/protection/restrictions/apps": { - /** - * Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://help.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation. - * - * Lists the GitHub Apps that have push access to this branch. Only installed GitHub Apps with `write` access to the `contents` permission can be added as authorized actors on a protected branch. - */ - get: operations["repos/get-apps-with-access-to-protected-branch"]; - /** - * Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://help.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation. - * - * Replaces the list of apps that have push access to this branch. This removes all apps that previously had push access and grants push access to the new list of apps. Only installed GitHub Apps with `write` access to the `contents` permission can be added as authorized actors on a protected branch. - * - * | Type | Description | - * | ------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------- | - * | `array` | The GitHub Apps that have push access to this branch. Use the app's `slug`. **Note**: The list of users, apps, and teams in total is limited to 100 items. | - */ - put: operations["repos/set-app-access-restrictions"]; - /** - * Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://help.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation. - * - * Grants the specified apps push access for this branch. Only installed GitHub Apps with `write` access to the `contents` permission can be added as authorized actors on a protected branch. - * - * | Type | Description | - * | ------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------- | - * | `array` | The GitHub Apps that have push access to this branch. Use the app's `slug`. **Note**: The list of users, apps, and teams in total is limited to 100 items. | - */ - post: operations["repos/add-app-access-restrictions"]; - /** - * Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://help.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation. - * - * Removes the ability of an app to push to this branch. Only installed GitHub Apps with `write` access to the `contents` permission can be added as authorized actors on a protected branch. - * - * | Type | Description | - * | ------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------- | - * | `array` | The GitHub Apps that have push access to this branch. Use the app's `slug`. **Note**: The list of users, apps, and teams in total is limited to 100 items. | - */ - delete: operations["repos/remove-app-access-restrictions"]; - }; - "/repos/{owner}/{repo}/branches/{branch}/protection/restrictions/teams": { - /** - * Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://help.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation. - * - * Lists the teams who have push access to this branch. The list includes child teams. - */ - get: operations["repos/get-teams-with-access-to-protected-branch"]; - /** - * Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://help.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation. - * - * Replaces the list of teams that have push access to this branch. This removes all teams that previously had push access and grants push access to the new list of teams. Team restrictions include child teams. - * - * | Type | Description | - * | ------- | ------------------------------------------------------------------------------------------------------------------------------------------ | - * | `array` | The teams that can have push access. Use the team's `slug`. **Note**: The list of users, apps, and teams in total is limited to 100 items. | - */ - put: operations["repos/set-team-access-restrictions"]; - /** - * Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://help.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation. - * - * Grants the specified teams push access for this branch. You can also give push access to child teams. - * - * | Type | Description | - * | ------- | ------------------------------------------------------------------------------------------------------------------------------------------ | - * | `array` | The teams that can have push access. Use the team's `slug`. **Note**: The list of users, apps, and teams in total is limited to 100 items. | - */ - post: operations["repos/add-team-access-restrictions"]; - /** - * Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://help.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation. - * - * Removes the ability of a team to push to this branch. You can also remove push access for child teams. - * - * | Type | Description | - * | ------- | --------------------------------------------------------------------------------------------------------------------------------------------------- | - * | `array` | Teams that should no longer have push access. Use the team's `slug`. **Note**: The list of users, apps, and teams in total is limited to 100 items. | - */ - delete: operations["repos/remove-team-access-restrictions"]; - }; - "/repos/{owner}/{repo}/branches/{branch}/protection/restrictions/users": { - /** - * Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://help.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation. - * - * Lists the people who have push access to this branch. - */ - get: operations["repos/get-users-with-access-to-protected-branch"]; - /** - * Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://help.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation. - * - * Replaces the list of people that have push access to this branch. This removes all people that previously had push access and grants push access to the new list of people. - * - * | Type | Description | - * | ------- | ----------------------------------------------------------------------------------------------------------------------------- | - * | `array` | Usernames for people who can have push access. **Note**: The list of users, apps, and teams in total is limited to 100 items. | - */ - put: operations["repos/set-user-access-restrictions"]; - /** - * Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://help.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation. - * - * Grants the specified people push access for this branch. - * - * | Type | Description | - * | ------- | ----------------------------------------------------------------------------------------------------------------------------- | - * | `array` | Usernames for people who can have push access. **Note**: The list of users, apps, and teams in total is limited to 100 items. | - */ - post: operations["repos/add-user-access-restrictions"]; - /** - * Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://help.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation. - * - * Removes the ability of a user to push to this branch. - * - * | Type | Description | - * | ------- | --------------------------------------------------------------------------------------------------------------------------------------------- | - * | `array` | Usernames of the people who should no longer have push access. **Note**: The list of users, apps, and teams in total is limited to 100 items. | - */ - delete: operations["repos/remove-user-access-restrictions"]; - }; - "/repos/{owner}/{repo}/branches/{branch}/rename": { - /** - * Renames a branch in a repository. - * - * **Note:** Although the API responds immediately, the branch rename process might take some extra time to complete in the background. You won't be able to push to the old branch name while the rename process is in progress. For more information, see "[Renaming a branch](https://docs.github.com/github/administering-a-repository/renaming-a-branch)". - * - * The permissions required to use this endpoint depends on whether you are renaming the default branch. - * - * To rename a non-default branch: - * - * * Users must have push access. - * * GitHub Apps must have the `contents:write` repository permission. - * - * To rename the default branch: - * - * * Users must have admin or owner permissions. - * * GitHub Apps must have the `administration:write` repository permission. - */ - post: operations["repos/rename-branch"]; - }; - "/repos/{owner}/{repo}/check-runs": { - /** - * **Note:** The Checks API only looks for pushes in the repository where the check suite or check run were created. Pushes to a branch in a forked repository are not detected and return an empty `pull_requests` array. - * - * Creates a new check run for a specific commit in a repository. Your GitHub App must have the `checks:write` permission to create check runs. - * - * In a check suite, GitHub limits the number of check runs with the same name to 1000. Once these check runs exceed 1000, GitHub will start to automatically delete older check runs. - */ - post: operations["checks/create"]; - }; - "/repos/{owner}/{repo}/check-runs/{check_run_id}": { - /** - * **Note:** The Checks API only looks for pushes in the repository where the check suite or check run were created. Pushes to a branch in a forked repository are not detected and return an empty `pull_requests` array. - * - * Gets a single check run using its `id`. GitHub Apps must have the `checks:read` permission on a private repository or pull access to a public repository to get check runs. OAuth Apps and authenticated users must have the `repo` scope to get check runs in a private repository. - */ - get: operations["checks/get"]; - /** - * **Note:** The Checks API only looks for pushes in the repository where the check suite or check run were created. Pushes to a branch in a forked repository are not detected and return an empty `pull_requests` array. - * - * Updates a check run for a specific commit in a repository. Your GitHub App must have the `checks:write` permission to edit check runs. - */ - patch: operations["checks/update"]; - }; - "/repos/{owner}/{repo}/check-runs/{check_run_id}/annotations": { - /** Lists annotations for a check run using the annotation `id`. GitHub Apps must have the `checks:read` permission on a private repository or pull access to a public repository to get annotations for a check run. OAuth Apps and authenticated users must have the `repo` scope to get annotations for a check run in a private repository. */ - get: operations["checks/list-annotations"]; - }; - "/repos/{owner}/{repo}/check-suites": { - /** - * **Note:** The Checks API only looks for pushes in the repository where the check suite or check run were created. Pushes to a branch in a forked repository are not detected and return an empty `pull_requests` array and a `null` value for `head_branch`. - * - * By default, check suites are automatically created when you create a [check run](https://docs.github.com/rest/reference/checks#check-runs). You only need to use this endpoint for manually creating check suites when you've disabled automatic creation using "[Update repository preferences for check suites](https://docs.github.com/rest/reference/checks#update-repository-preferences-for-check-suites)". Your GitHub App must have the `checks:write` permission to create check suites. - */ - post: operations["checks/create-suite"]; - }; - "/repos/{owner}/{repo}/check-suites/preferences": { - /** Changes the default automatic flow when creating check suites. By default, a check suite is automatically created each time code is pushed to a repository. When you disable the automatic creation of check suites, you can manually [Create a check suite](https://docs.github.com/rest/reference/checks#create-a-check-suite). You must have admin permissions in the repository to set preferences for check suites. */ - patch: operations["checks/set-suites-preferences"]; - }; - "/repos/{owner}/{repo}/check-suites/{check_suite_id}": { - /** - * **Note:** The Checks API only looks for pushes in the repository where the check suite or check run were created. Pushes to a branch in a forked repository are not detected and return an empty `pull_requests` array and a `null` value for `head_branch`. - * - * Gets a single check suite using its `id`. GitHub Apps must have the `checks:read` permission on a private repository or pull access to a public repository to get check suites. OAuth Apps and authenticated users must have the `repo` scope to get check suites in a private repository. - */ - get: operations["checks/get-suite"]; - }; - "/repos/{owner}/{repo}/check-suites/{check_suite_id}/check-runs": { - /** - * **Note:** The Checks API only looks for pushes in the repository where the check suite or check run were created. Pushes to a branch in a forked repository are not detected and return an empty `pull_requests` array. - * - * Lists check runs for a check suite using its `id`. GitHub Apps must have the `checks:read` permission on a private repository or pull access to a public repository to get check runs. OAuth Apps and authenticated users must have the `repo` scope to get check runs in a private repository. - */ - get: operations["checks/list-for-suite"]; - }; - "/repos/{owner}/{repo}/check-suites/{check_suite_id}/rerequest": { - /** - * Triggers GitHub to rerequest an existing check suite, without pushing new code to a repository. This endpoint will trigger the [`check_suite` webhook](https://docs.github.com/webhooks/event-payloads/#check_suite) event with the action `rerequested`. When a check suite is `rerequested`, its `status` is reset to `queued` and the `conclusion` is cleared. - * - * To rerequest a check suite, your GitHub App must have the `checks:read` permission on a private repository or pull access to a public repository. - */ - post: operations["checks/rerequest-suite"]; - }; - "/repos/{owner}/{repo}/code-scanning/alerts": { - /** - * Lists all open code scanning alerts for the default branch (usually `main` - * or `master`). You must use an access token with the `security_events` scope to use - * this endpoint. GitHub Apps must have the `security_events` read permission to use - * this endpoint. - * - * The response includes a `most_recent_instance` object. - * This provides details of the most recent instance of this alert - * for the default branch or for the specified Git reference - * (if you used `ref` in the request). - */ - get: operations["code-scanning/list-alerts-for-repo"]; - }; - "/repos/{owner}/{repo}/code-scanning/alerts/{alert_number}": { - /** - * Gets a single code scanning alert. You must use an access token with the `security_events` scope to use this endpoint. GitHub Apps must have the `security_events` read permission to use this endpoint. - * - * **Deprecation notice**: - * The instances field is deprecated and will, in future, not be included in the response for this endpoint. The example response reflects this change. The same information can now be retrieved via a GET request to the URL specified by `instances_url`. - */ - get: operations["code-scanning/get-alert"]; - /** Updates the status of a single code scanning alert. You must use an access token with the `security_events` scope to use this endpoint. GitHub Apps must have the `security_events` write permission to use this endpoint. */ - patch: operations["code-scanning/update-alert"]; - }; - "/repos/{owner}/{repo}/code-scanning/alerts/{alert_number}/instances": { - /** Lists all instances of the specified code scanning alert. You must use an access token with the `security_events` scope to use this endpoint. GitHub Apps must have the `security_events` read permission to use this endpoint. */ - get: operations["code-scanning/list-alert-instances"]; - }; - "/repos/{owner}/{repo}/code-scanning/analyses": { - /** - * Lists the details of all code scanning analyses for a repository, - * starting with the most recent. - * The response is paginated and you can use the `page` and `per_page` parameters - * to list the analyses you're interested in. - * By default 30 analyses are listed per page. - * - * The `rules_count` field in the response give the number of rules - * that were run in the analysis. - * For very old analyses this data is not available, - * and `0` is returned in this field. - * - * You must use an access token with the `security_events` scope to use this endpoint. - * GitHub Apps must have the `security_events` read permission to use this endpoint. - * - * **Deprecation notice**: - * The `tool_name` field is deprecated and will, in future, not be included in the response for this endpoint. The example response reflects this change. The tool name can now be found inside the `tool` field. - */ - get: operations["code-scanning/list-recent-analyses"]; - }; - "/repos/{owner}/{repo}/code-scanning/analyses/{analysis_id}": { - /** - * Gets a specified code scanning analysis for a repository. - * You must use an access token with the `security_events` scope to use this endpoint. - * GitHub Apps must have the `security_events` read permission to use this endpoint. - * - * The default JSON response contains fields that describe the analysis. - * This includes the Git reference and commit SHA to which the analysis relates, - * the datetime of the analysis, the name of the code scanning tool, - * and the number of alerts. - * - * The `rules_count` field in the default response give the number of rules - * that were run in the analysis. - * For very old analyses this data is not available, - * and `0` is returned in this field. - * - * If you use the Accept header `application/sarif+json`, - * the response contains the analysis data that was uploaded. - * This is formatted as - * [SARIF version 2.1.0](https://docs.oasis-open.org/sarif/sarif/v2.1.0/cs01/sarif-v2.1.0-cs01.html). - * - * **Deprecation notice**: - * The `tool_name` field is deprecated and will, in future, not be included in the response for this endpoint. The example response reflects this change. The tool name can now be found inside the `tool` field. - */ - get: operations["code-scanning/get-analysis"]; - /** - * Deletes a specified code scanning analysis from a repository. For - * private repositories, you must use an access token with the `repo` scope. For public repositories, - * you must use an access token with `public_repo` and `repo:security_events` scopes. - * GitHub Apps must have the `security_events` write permission to use this endpoint. - * - * You can delete one analysis at a time. - * To delete a series of analyses, start with the most recent analysis and work backwards. - * Conceptually, the process is similar to the undo function in a text editor. - * - * When you list the analyses for a repository, - * one or more will be identified as deletable in the response: - * - * ``` - * "deletable": true - * ``` - * - * An analysis is deletable when it's the most recent in a set of analyses. - * Typically, a repository will have multiple sets of analyses - * for each enabled code scanning tool, - * where a set is determined by a unique combination of analysis values: - * - * * `ref` - * * `tool` - * * `analysis_key` - * * `environment` - * - * If you attempt to delete an analysis that is not the most recent in a set, - * you'll get a 400 response with the message: - * - * ``` - * Analysis specified is not deletable. - * ``` - * - * The response from a successful `DELETE` operation provides you with - * two alternative URLs for deleting the next analysis in the set - * (see the example default response below). - * Use the `next_analysis_url` URL if you want to avoid accidentally deleting the final analysis - * in the set. This is a useful option if you want to preserve at least one analysis - * for the specified tool in your repository. - * Use the `confirm_delete_url` URL if you are content to remove all analyses for a tool. - * When you delete the last analysis in a set the value of `next_analysis_url` and `confirm_delete_url` - * in the 200 response is `null`. - * - * As an example of the deletion process, - * let's imagine that you added a workflow that configured a particular code scanning tool - * to analyze the code in a repository. This tool has added 15 analyses: - * 10 on the default branch, and another 5 on a topic branch. - * You therefore have two separate sets of analyses for this tool. - * You've now decided that you want to remove all of the analyses for the tool. - * To do this you must make 15 separate deletion requests. - * To start, you must find the deletable analysis for one of the sets, - * step through deleting the analyses in that set, - * and then repeat the process for the second set. - * The procedure therefore consists of a nested loop: - * - * **Outer loop**: - * * List the analyses for the repository, filtered by tool. - * * Parse this list to find a deletable analysis. If found: - * - * **Inner loop**: - * * Delete the identified analysis. - * * Parse the response for the value of `confirm_delete_url` and, if found, use this in the next iteration. - * - * The above process assumes that you want to remove all trace of the tool's analyses from the GitHub user interface, for the specified repository, and it therefore uses the `confirm_delete_url` value. Alternatively, you could use the `next_analysis_url` value, which would leave the last analysis in each set undeleted to avoid removing a tool's analysis entirely. - */ - delete: operations["code-scanning/delete-analysis"]; - }; - "/repos/{owner}/{repo}/code-scanning/sarifs": { - /** - * Uploads SARIF data containing the results of a code scanning analysis to make the results available in a repository. You must use an access token with the `security_events` scope to use this endpoint. GitHub Apps must have the `security_events` write permission to use this endpoint. - * - * There are two places where you can upload code scanning results. - * - If you upload to a pull request, for example `--ref refs/pull/42/merge` or `--ref refs/pull/42/head`, then the results appear as alerts in a pull request check. For more information, see "[Triaging code scanning alerts in pull requests](/code-security/secure-coding/triaging-code-scanning-alerts-in-pull-requests)." - * - If you upload to a branch, for example `--ref refs/heads/my-branch`, then the results appear in the **Security** tab for your repository. For more information, see "[Managing code scanning alerts for your repository](/code-security/secure-coding/managing-code-scanning-alerts-for-your-repository#viewing-the-alerts-for-a-repository)." - * - * You must compress the SARIF-formatted analysis data that you want to upload, using `gzip`, and then encode it as a Base64 format string. For example: - * - * ``` - * gzip -c analysis-data.sarif | base64 -w0 - * ``` - * - * SARIF upload supports a maximum of 5000 results per analysis run. Any results over this limit are ignored and any SARIF uploads with more than 25,000 results are rejected. Typically, but not necessarily, a SARIF file contains a single run of a single tool. If a code scanning tool generates too many results, you should update the analysis configuration to run only the most important rules or queries. - * - * The `202 Accepted`, response includes an `id` value. - * You can use this ID to check the status of the upload by using this for the `/sarifs/{sarif_id}` endpoint. - * For more information, see "[Get information about a SARIF upload](/rest/reference/code-scanning#get-information-about-a-sarif-upload)." - */ - post: operations["code-scanning/upload-sarif"]; - }; - "/repos/{owner}/{repo}/code-scanning/sarifs/{sarif_id}": { - /** Gets information about a SARIF upload, including the status and the URL of the analysis that was uploaded so that you can retrieve details of the analysis. For more information, see "[Get a code scanning analysis for a repository](/rest/reference/code-scanning#get-a-code-scanning-analysis-for-a-repository)." You must use an access token with the `security_events` scope to use this endpoint. GitHub Apps must have the `security_events` read permission to use this endpoint. */ - get: operations["code-scanning/get-sarif"]; - }; - "/repos/{owner}/{repo}/collaborators": { - /** - * For organization-owned repositories, the list of collaborators includes outside collaborators, organization members that are direct collaborators, organization members with access through team memberships, organization members with access through default organization permissions, and organization owners. - * - * Team members will include the members of child teams. - */ - get: operations["repos/list-collaborators"]; - }; - "/repos/{owner}/{repo}/collaborators/{username}": { - /** - * For organization-owned repositories, the list of collaborators includes outside collaborators, organization members that are direct collaborators, organization members with access through team memberships, organization members with access through default organization permissions, and organization owners. - * - * Team members will include the members of child teams. - */ - get: operations["repos/check-collaborator"]; - /** - * This endpoint triggers [notifications](https://docs.github.com/en/github/managing-subscriptions-and-notifications-on-github/about-notifications). Creating content too quickly using this endpoint may result in abuse rate limiting. See "[Abuse rate limits](https://docs.github.com/rest/overview/resources-in-the-rest-api#abuse-rate-limits)" and "[Dealing with abuse rate limits](https://docs.github.com/rest/guides/best-practices-for-integrators#dealing-with-rate-limits)" for details. - * - * For more information the permission levels, see "[Repository permission levels for an organization](https://help.github.com/en/github/setting-up-and-managing-organizations-and-teams/repository-permission-levels-for-an-organization#permission-levels-for-repositories-owned-by-an-organization)". - * - * Note that, if you choose not to pass any parameters, you'll need to set `Content-Length` to zero when calling out to this endpoint. For more information, see "[HTTP verbs](https://docs.github.com/rest/overview/resources-in-the-rest-api#http-verbs)." - * - * The invitee will receive a notification that they have been invited to the repository, which they must accept or decline. They may do this via the notifications page, the email they receive, or by using the [repository invitations API endpoints](https://docs.github.com/rest/reference/repos#invitations). - * - * **Rate limits** - * - * To prevent abuse, you are limited to sending 50 invitations to a repository per 24 hour period. Note there is no limit if you are inviting organization members to an organization repository. - */ - put: operations["repos/add-collaborator"]; - delete: operations["repos/remove-collaborator"]; - }; - "/repos/{owner}/{repo}/collaborators/{username}/permission": { - /** Checks the repository permission of a collaborator. The possible repository permissions are `admin`, `write`, `read`, and `none`. */ - get: operations["repos/get-collaborator-permission-level"]; - }; - "/repos/{owner}/{repo}/comments": { - /** - * Commit Comments use [these custom media types](https://docs.github.com/rest/reference/repos#custom-media-types). You can read more about the use of media types in the API [here](https://docs.github.com/rest/overview/media-types/). - * - * Comments are ordered by ascending ID. - */ - get: operations["repos/list-commit-comments-for-repo"]; - }; - "/repos/{owner}/{repo}/comments/{comment_id}": { - get: operations["repos/get-commit-comment"]; - delete: operations["repos/delete-commit-comment"]; - patch: operations["repos/update-commit-comment"]; - }; - "/repos/{owner}/{repo}/comments/{comment_id}/reactions": { - /** List the reactions to a [commit comment](https://docs.github.com/rest/reference/repos#comments). */ - get: operations["reactions/list-for-commit-comment"]; - /** Create a reaction to a [commit comment](https://docs.github.com/rest/reference/repos#comments). A response with an HTTP `200` status means that you already added the reaction type to this commit comment. */ - post: operations["reactions/create-for-commit-comment"]; - }; - "/repos/{owner}/{repo}/comments/{comment_id}/reactions/{reaction_id}": { - /** - * **Note:** You can also specify a repository by `repository_id` using the route `DELETE /repositories/:repository_id/comments/:comment_id/reactions/:reaction_id`. - * - * Delete a reaction to a [commit comment](https://docs.github.com/rest/reference/repos#comments). - */ - delete: operations["reactions/delete-for-commit-comment"]; - }; - "/repos/{owner}/{repo}/commits": { - /** - * **Signature verification object** - * - * The response will include a `verification` object that describes the result of verifying the commit's signature. The following fields are included in the `verification` object: - * - * | Name | Type | Description | - * | ---- | ---- | ----------- | - * | `verified` | `boolean` | Indicates whether GitHub considers the signature in this commit to be verified. | - * | `reason` | `string` | The reason for verified value. Possible values and their meanings are enumerated in table below. | - * | `signature` | `string` | The signature that was extracted from the commit. | - * | `payload` | `string` | The value that was signed. | - * - * These are the possible values for `reason` in the `verification` object: - * - * | Value | Description | - * | ----- | ----------- | - * | `expired_key` | The key that made the signature is expired. | - * | `not_signing_key` | The "signing" flag is not among the usage flags in the GPG key that made the signature. | - * | `gpgverify_error` | There was an error communicating with the signature verification service. | - * | `gpgverify_unavailable` | The signature verification service is currently unavailable. | - * | `unsigned` | The object does not include a signature. | - * | `unknown_signature_type` | A non-PGP signature was found in the commit. | - * | `no_user` | No user was associated with the `committer` email address in the commit. | - * | `unverified_email` | The `committer` email address in the commit was associated with a user, but the email address is not verified on her/his account. | - * | `bad_email` | The `committer` email address in the commit is not included in the identities of the PGP key that made the signature. | - * | `unknown_key` | The key that made the signature has not been registered with any user's account. | - * | `malformed_signature` | There was an error parsing the signature. | - * | `invalid` | The signature could not be cryptographically verified using the key whose key-id was found in the signature. | - * | `valid` | None of the above errors applied, so the signature is considered to be verified. | - */ - get: operations["repos/list-commits"]; - }; - "/repos/{owner}/{repo}/commits/{commit_sha}/branches-where-head": { - /** - * Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://help.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation. - * - * Returns all branches where the given commit SHA is the HEAD, or latest commit for the branch. - */ - get: operations["repos/list-branches-for-head-commit"]; - }; - "/repos/{owner}/{repo}/commits/{commit_sha}/comments": { - /** Use the `:commit_sha` to specify the commit that will have its comments listed. */ - get: operations["repos/list-comments-for-commit"]; - /** - * Create a comment for a commit using its `:commit_sha`. - * - * This endpoint triggers [notifications](https://docs.github.com/en/github/managing-subscriptions-and-notifications-on-github/about-notifications). Creating content too quickly using this endpoint may result in abuse rate limiting. See "[Abuse rate limits](https://docs.github.com/rest/overview/resources-in-the-rest-api#abuse-rate-limits)" and "[Dealing with abuse rate limits](https://docs.github.com/rest/guides/best-practices-for-integrators#dealing-with-rate-limits)" for details. - */ - post: operations["repos/create-commit-comment"]; - }; - "/repos/{owner}/{repo}/commits/{commit_sha}/pulls": { - /** Lists the merged pull request that introduced the commit to the repository. If the commit is not present in the default branch, additionally returns open pull requests associated with the commit. The results may include open and closed pull requests. Additional preview headers may be required to see certain details for associated pull requests, such as whether a pull request is in a draft state. For more information about previews that might affect this endpoint, see the [List pull requests](https://docs.github.com/rest/reference/pulls#list-pull-requests) endpoint. */ - get: operations["repos/list-pull-requests-associated-with-commit"]; - }; - "/repos/{owner}/{repo}/commits/{ref}": { - /** - * Returns the contents of a single commit reference. You must have `read` access for the repository to use this endpoint. - * - * **Note:** If there are more than 300 files in the commit diff, the response will include pagination link headers for the remaining files, up to a limit of 3000 files. Each page contains the static commit information, and the only changes are to the file listing. - * - * You can pass the appropriate [media type](https://docs.github.com/rest/overview/media-types/#commits-commit-comparison-and-pull-requests) to fetch `diff` and `patch` formats. Diffs with binary data will have no `patch` property. - * - * To return only the SHA-1 hash of the commit reference, you can provide the `sha` custom [media type](https://docs.github.com/rest/overview/media-types/#commits-commit-comparison-and-pull-requests) in the `Accept` header. You can use this endpoint to check if a remote reference's SHA-1 hash is the same as your local reference's SHA-1 hash by providing the local SHA-1 reference as the ETag. - * - * **Signature verification object** - * - * The response will include a `verification` object that describes the result of verifying the commit's signature. The following fields are included in the `verification` object: - * - * | Name | Type | Description | - * | ---- | ---- | ----------- | - * | `verified` | `boolean` | Indicates whether GitHub considers the signature in this commit to be verified. | - * | `reason` | `string` | The reason for verified value. Possible values and their meanings are enumerated in table below. | - * | `signature` | `string` | The signature that was extracted from the commit. | - * | `payload` | `string` | The value that was signed. | - * - * These are the possible values for `reason` in the `verification` object: - * - * | Value | Description | - * | ----- | ----------- | - * | `expired_key` | The key that made the signature is expired. | - * | `not_signing_key` | The "signing" flag is not among the usage flags in the GPG key that made the signature. | - * | `gpgverify_error` | There was an error communicating with the signature verification service. | - * | `gpgverify_unavailable` | The signature verification service is currently unavailable. | - * | `unsigned` | The object does not include a signature. | - * | `unknown_signature_type` | A non-PGP signature was found in the commit. | - * | `no_user` | No user was associated with the `committer` email address in the commit. | - * | `unverified_email` | The `committer` email address in the commit was associated with a user, but the email address is not verified on her/his account. | - * | `bad_email` | The `committer` email address in the commit is not included in the identities of the PGP key that made the signature. | - * | `unknown_key` | The key that made the signature has not been registered with any user's account. | - * | `malformed_signature` | There was an error parsing the signature. | - * | `invalid` | The signature could not be cryptographically verified using the key whose key-id was found in the signature. | - * | `valid` | None of the above errors applied, so the signature is considered to be verified. | - */ - get: operations["repos/get-commit"]; - }; - "/repos/{owner}/{repo}/commits/{ref}/check-runs": { - /** - * **Note:** The Checks API only looks for pushes in the repository where the check suite or check run were created. Pushes to a branch in a forked repository are not detected and return an empty `pull_requests` array. - * - * Lists check runs for a commit ref. The `ref` can be a SHA, branch name, or a tag name. GitHub Apps must have the `checks:read` permission on a private repository or pull access to a public repository to get check runs. OAuth Apps and authenticated users must have the `repo` scope to get check runs in a private repository. - */ - get: operations["checks/list-for-ref"]; - }; - "/repos/{owner}/{repo}/commits/{ref}/check-suites": { - /** - * **Note:** The Checks API only looks for pushes in the repository where the check suite or check run were created. Pushes to a branch in a forked repository are not detected and return an empty `pull_requests` array and a `null` value for `head_branch`. - * - * Lists check suites for a commit `ref`. The `ref` can be a SHA, branch name, or a tag name. GitHub Apps must have the `checks:read` permission on a private repository or pull access to a public repository to list check suites. OAuth Apps and authenticated users must have the `repo` scope to get check suites in a private repository. - */ - get: operations["checks/list-suites-for-ref"]; - }; - "/repos/{owner}/{repo}/commits/{ref}/status": { - /** - * Users with pull access in a repository can access a combined view of commit statuses for a given ref. The ref can be a SHA, a branch name, or a tag name. - * - * The most recent status for each context is returned, up to 100. This field [paginates](https://docs.github.com/rest/overview/resources-in-the-rest-api#pagination) if there are over 100 contexts. - * - * Additionally, a combined `state` is returned. The `state` is one of: - * - * * **failure** if any of the contexts report as `error` or `failure` - * * **pending** if there are no statuses or a context is `pending` - * * **success** if the latest status for all contexts is `success` - */ - get: operations["repos/get-combined-status-for-ref"]; - }; - "/repos/{owner}/{repo}/commits/{ref}/statuses": { - /** - * Users with pull access in a repository can view commit statuses for a given ref. The ref can be a SHA, a branch name, or a tag name. Statuses are returned in reverse chronological order. The first status in the list will be the latest one. - * - * This resource is also available via a legacy route: `GET /repos/:owner/:repo/statuses/:ref`. - */ - get: operations["repos/list-commit-statuses-for-ref"]; - }; - "/repos/{owner}/{repo}/community/code_of_conduct": { - /** - * Returns the contents of the repository's code of conduct file, if one is detected. - * - * A code of conduct is detected if there is a file named `CODE_OF_CONDUCT` in the root directory of the repository. GitHub detects which code of conduct it is using fuzzy matching. - */ - get: operations["codes-of-conduct/get-for-repo"]; - }; - "/repos/{owner}/{repo}/community/profile": { - /** - * This endpoint will return all community profile metrics, including an - * overall health score, repository description, the presence of documentation, detected - * code of conduct, detected license, and the presence of ISSUE\_TEMPLATE, PULL\_REQUEST\_TEMPLATE, - * README, and CONTRIBUTING files. - * - * The `health_percentage` score is defined as a percentage of how many of - * these four documents are present: README, CONTRIBUTING, LICENSE, and - * CODE_OF_CONDUCT. For example, if all four documents are present, then - * the `health_percentage` is `100`. If only one is present, then the - * `health_percentage` is `25`. - * - * `content_reports_enabled` is only returned for organization-owned repositories. - */ - get: operations["repos/get-community-profile-metrics"]; - }; - "/repos/{owner}/{repo}/compare/{basehead}": { - /** - * The `basehead` param is comprised of two parts: `base` and `head`. Both must be branch names in `repo`. To compare branches across other repositories in the same network as `repo`, use the format `:branch`. - * - * The response from the API is equivalent to running the `git log base..head` command; however, commits are returned in chronological order. Pass the appropriate [media type](https://docs.github.com/rest/overview/media-types/#commits-commit-comparison-and-pull-requests) to fetch diff and patch formats. - * - * The response also includes details on the files that were changed between the two commits. This includes the status of the change (for example, if a file was added, removed, modified, or renamed), and details of the change itself. For example, files with a `renamed` status have a `previous_filename` field showing the previous filename of the file, and files with a `modified` status have a `patch` field showing the changes made to the file. - * - * **Working with large comparisons** - * - * To process a response with a large number of commits, you can use (`per_page` or `page`) to paginate the results. When using paging, the list of changed files is only returned with page 1, but includes all changed files for the entire comparison. For more information on working with pagination, see "[Traversing with pagination](/rest/guides/traversing-with-pagination)." - * - * When calling this API without any paging parameters (`per_page` or `page`), the returned list is limited to 250 commits and the last commit in the list is the most recent of the entire comparison. When a paging parameter is specified, the first commit in the returned list of each page is the earliest. - * - * **Signature verification object** - * - * The response will include a `verification` object that describes the result of verifying the commit's signature. The following fields are included in the `verification` object: - * - * | Name | Type | Description | - * | ---- | ---- | ----------- | - * | `verified` | `boolean` | Indicates whether GitHub considers the signature in this commit to be verified. | - * | `reason` | `string` | The reason for verified value. Possible values and their meanings are enumerated in table below. | - * | `signature` | `string` | The signature that was extracted from the commit. | - * | `payload` | `string` | The value that was signed. | - * - * These are the possible values for `reason` in the `verification` object: - * - * | Value | Description | - * | ----- | ----------- | - * | `expired_key` | The key that made the signature is expired. | - * | `not_signing_key` | The "signing" flag is not among the usage flags in the GPG key that made the signature. | - * | `gpgverify_error` | There was an error communicating with the signature verification service. | - * | `gpgverify_unavailable` | The signature verification service is currently unavailable. | - * | `unsigned` | The object does not include a signature. | - * | `unknown_signature_type` | A non-PGP signature was found in the commit. | - * | `no_user` | No user was associated with the `committer` email address in the commit. | - * | `unverified_email` | The `committer` email address in the commit was associated with a user, but the email address is not verified on her/his account. | - * | `bad_email` | The `committer` email address in the commit is not included in the identities of the PGP key that made the signature. | - * | `unknown_key` | The key that made the signature has not been registered with any user's account. | - * | `malformed_signature` | There was an error parsing the signature. | - * | `invalid` | The signature could not be cryptographically verified using the key whose key-id was found in the signature. | - * | `valid` | None of the above errors applied, so the signature is considered to be verified. | - */ - get: operations["repos/compare-commits-with-basehead"]; - }; - "/repos/{owner}/{repo}/content_references/{content_reference_id}/attachments": { - /** - * Creates an attachment under a content reference URL in the body or comment of an issue or pull request. Use the `id` and `repository` `full_name` of the content reference from the [`content_reference` event](https://docs.github.com/webhooks/event-payloads/#content_reference) to create an attachment. - * - * The app must create a content attachment within six hours of the content reference URL being posted. See "[Using content attachments](https://docs.github.com/apps/using-content-attachments/)" for details about content attachments. - * - * You must use an [installation access token](https://docs.github.com/apps/building-github-apps/authenticating-with-github-apps/#authenticating-as-an-installation) to access this endpoint. - */ - post: operations["apps/create-content-attachment-for-repo"]; - }; - "/repos/{owner}/{repo}/contents/{path}": { - /** - * Gets the contents of a file or directory in a repository. Specify the file path or directory in `:path`. If you omit - * `:path`, you will receive the contents of the repository's root directory. See the description below regarding what the API response includes for directories. - * - * Files and symlinks support [a custom media type](https://docs.github.com/rest/reference/repos#custom-media-types) for - * retrieving the raw content or rendered HTML (when supported). All content types support [a custom media - * type](https://docs.github.com/rest/reference/repos#custom-media-types) to ensure the content is returned in a consistent - * object format. - * - * **Note**: - * * To get a repository's contents recursively, you can [recursively get the tree](https://docs.github.com/rest/reference/git#trees). - * * This API has an upper limit of 1,000 files for a directory. If you need to retrieve more files, use the [Git Trees - * API](https://docs.github.com/rest/reference/git#get-a-tree). - * * This API supports files up to 1 megabyte in size. - * - * #### If the content is a directory - * The response will be an array of objects, one object for each item in the directory. - * When listing the contents of a directory, submodules have their "type" specified as "file". Logically, the value - * _should_ be "submodule". This behavior exists in API v3 [for backwards compatibility purposes](https://git.io/v1YCW). - * In the next major version of the API, the type will be returned as "submodule". - * - * #### If the content is a symlink - * If the requested `:path` points to a symlink, and the symlink's target is a normal file in the repository, then the - * API responds with the content of the file (in the format shown in the example. Otherwise, the API responds with an object - * describing the symlink itself. - * - * #### If the content is a submodule - * The `submodule_git_url` identifies the location of the submodule repository, and the `sha` identifies a specific - * commit within the submodule repository. Git uses the given URL when cloning the submodule repository, and checks out - * the submodule at that specific commit. - * - * If the submodule repository is not hosted on github.com, the Git URLs (`git_url` and `_links["git"]`) and the - * github.com URLs (`html_url` and `_links["html"]`) will have null values. - */ - get: operations["repos/get-content"]; - /** Creates a new file or replaces an existing file in a repository. */ - put: operations["repos/create-or-update-file-contents"]; - /** - * Deletes a file in a repository. - * - * You can provide an additional `committer` parameter, which is an object containing information about the committer. Or, you can provide an `author` parameter, which is an object containing information about the author. - * - * The `author` section is optional and is filled in with the `committer` information if omitted. If the `committer` information is omitted, the authenticated user's information is used. - * - * You must provide values for both `name` and `email`, whether you choose to use `author` or `committer`. Otherwise, you'll receive a `422` status code. - */ - delete: operations["repos/delete-file"]; - }; - "/repos/{owner}/{repo}/contributors": { - /** - * Lists contributors to the specified repository and sorts them by the number of commits per contributor in descending order. This endpoint may return information that is a few hours old because the GitHub REST API v3 caches contributor data to improve performance. - * - * GitHub identifies contributors by author email address. This endpoint groups contribution counts by GitHub user, which includes all associated email addresses. To improve performance, only the first 500 author email addresses in the repository link to GitHub users. The rest will appear as anonymous contributors without associated GitHub user information. - */ - get: operations["repos/list-contributors"]; - }; - "/repos/{owner}/{repo}/deployments": { - /** Simple filtering of deployments is available via query parameters: */ - get: operations["repos/list-deployments"]; - /** - * Deployments offer a few configurable parameters with certain defaults. - * - * The `ref` parameter can be any named branch, tag, or SHA. At GitHub we often deploy branches and verify them - * before we merge a pull request. - * - * The `environment` parameter allows deployments to be issued to different runtime environments. Teams often have - * multiple environments for verifying their applications, such as `production`, `staging`, and `qa`. This parameter - * makes it easier to track which environments have requested deployments. The default environment is `production`. - * - * The `auto_merge` parameter is used to ensure that the requested ref is not behind the repository's default branch. If - * the ref _is_ behind the default branch for the repository, we will attempt to merge it for you. If the merge succeeds, - * the API will return a successful merge commit. If merge conflicts prevent the merge from succeeding, the API will - * return a failure response. - * - * By default, [commit statuses](https://docs.github.com/rest/reference/repos#statuses) for every submitted context must be in a `success` - * state. The `required_contexts` parameter allows you to specify a subset of contexts that must be `success`, or to - * specify contexts that have not yet been submitted. You are not required to use commit statuses to deploy. If you do - * not require any contexts or create any commit statuses, the deployment will always succeed. - * - * The `payload` parameter is available for any extra information that a deployment system might need. It is a JSON text - * field that will be passed on when a deployment event is dispatched. - * - * The `task` parameter is used by the deployment system to allow different execution paths. In the web world this might - * be `deploy:migrations` to run schema changes on the system. In the compiled world this could be a flag to compile an - * application with debugging enabled. - * - * Users with `repo` or `repo_deployment` scopes can create a deployment for a given ref. - * - * #### Merged branch response - * You will see this response when GitHub automatically merges the base branch into the topic branch instead of creating - * a deployment. This auto-merge happens when: - * * Auto-merge option is enabled in the repository - * * Topic branch does not include the latest changes on the base branch, which is `master` in the response example - * * There are no merge conflicts - * - * If there are no new commits in the base branch, a new request to create a deployment should give a successful - * response. - * - * #### Merge conflict response - * This error happens when the `auto_merge` option is enabled and when the default branch (in this case `master`), can't - * be merged into the branch that's being deployed (in this case `topic-branch`), due to merge conflicts. - * - * #### Failed commit status checks - * This error happens when the `required_contexts` parameter indicates that one or more contexts need to have a `success` - * status for the commit to be deployed, but one or more of the required contexts do not have a state of `success`. - */ - post: operations["repos/create-deployment"]; - }; - "/repos/{owner}/{repo}/deployments/{deployment_id}": { - get: operations["repos/get-deployment"]; - /** - * To ensure there can always be an active deployment, you can only delete an _inactive_ deployment. Anyone with `repo` or `repo_deployment` scopes can delete an inactive deployment. - * - * To set a deployment as inactive, you must: - * - * * Create a new deployment that is active so that the system has a record of the current state, then delete the previously active deployment. - * * Mark the active deployment as inactive by adding any non-successful deployment status. - * - * For more information, see "[Create a deployment](https://docs.github.com/rest/reference/repos/#create-a-deployment)" and "[Create a deployment status](https://docs.github.com/rest/reference/repos#create-a-deployment-status)." - */ - delete: operations["repos/delete-deployment"]; - }; - "/repos/{owner}/{repo}/deployments/{deployment_id}/statuses": { - /** Users with pull access can view deployment statuses for a deployment: */ - get: operations["repos/list-deployment-statuses"]; - /** - * Users with `push` access can create deployment statuses for a given deployment. - * - * GitHub Apps require `read & write` access to "Deployments" and `read-only` access to "Repo contents" (for private repos). OAuth Apps require the `repo_deployment` scope. - */ - post: operations["repos/create-deployment-status"]; - }; - "/repos/{owner}/{repo}/deployments/{deployment_id}/statuses/{status_id}": { - /** Users with pull access can view a deployment status for a deployment: */ - get: operations["repos/get-deployment-status"]; - }; - "/repos/{owner}/{repo}/dispatches": { - /** - * You can use this endpoint to trigger a webhook event called `repository_dispatch` when you want activity that happens outside of GitHub to trigger a GitHub Actions workflow or GitHub App webhook. You must configure your GitHub Actions workflow or GitHub App to run when the `repository_dispatch` event occurs. For an example `repository_dispatch` webhook payload, see "[RepositoryDispatchEvent](https://docs.github.com/webhooks/event-payloads/#repository_dispatch)." - * - * The `client_payload` parameter is available for any extra information that your workflow might need. This parameter is a JSON payload that will be passed on when the webhook event is dispatched. For example, the `client_payload` can include a message that a user would like to send using a GitHub Actions workflow. Or the `client_payload` can be used as a test to debug your workflow. - * - * This endpoint requires write access to the repository by providing either: - * - * - Personal access tokens with `repo` scope. For more information, see "[Creating a personal access token for the command line](https://help.github.com/articles/creating-a-personal-access-token-for-the-command-line)" in the GitHub Help documentation. - * - GitHub Apps with both `metadata:read` and `contents:read&write` permissions. - * - * This input example shows how you can use the `client_payload` as a test to debug your workflow. - */ - post: operations["repos/create-dispatch-event"]; - }; - "/repos/{owner}/{repo}/environments": { - /** - * Get all environments for a repository. - * - * Anyone with read access to the repository can use this endpoint. If the repository is private, you must use an access token with the `repo` scope. GitHub Apps must have the `actions:read` permission to use this endpoint. - */ - get: operations["repos/get-all-environments"]; - }; - "/repos/{owner}/{repo}/environments/{environment_name}": { - /** Anyone with read access to the repository can use this endpoint. If the repository is private, you must use an access token with the `repo` scope. GitHub Apps must have the `actions:read` permission to use this endpoint. */ - get: operations["repos/get-environment"]; - /** - * Create or update an environment with protection rules, such as required reviewers. For more information about environment protection rules, see "[Environments](/actions/reference/environments#environment-protection-rules)." - * - * **Note:** Although you can use this operation to specify that only branches that match specified name patterns can deploy to this environment, you must use the UI to set the name patterns. For more information, see "[Environments](/actions/reference/environments#deployment-branches)." - * - * **Note:** To create or update secrets for an environment, see "[Secrets](/rest/reference/actions#secrets)." - * - * You must authenticate using an access token with the repo scope to use this endpoint. - */ - put: operations["repos/create-or-update-environment"]; - /** You must authenticate using an access token with the repo scope to use this endpoint. */ - delete: operations["repos/delete-an-environment"]; - }; - "/repos/{owner}/{repo}/events": { - get: operations["activity/list-repo-events"]; - }; - "/repos/{owner}/{repo}/forks": { - get: operations["repos/list-forks"]; - /** - * Create a fork for the authenticated user. - * - * **Note**: Forking a Repository happens asynchronously. You may have to wait a short period of time before you can access the git objects. If this takes longer than 5 minutes, be sure to contact [GitHub Support](https://support.github.com/contact) or [GitHub Premium Support](https://premium.githubsupport.com). - */ - post: operations["repos/create-fork"]; - }; - "/repos/{owner}/{repo}/git/blobs": { - post: operations["git/create-blob"]; - }; - "/repos/{owner}/{repo}/git/blobs/{file_sha}": { - /** - * The `content` in the response will always be Base64 encoded. - * - * _Note_: This API supports blobs up to 100 megabytes in size. - */ - get: operations["git/get-blob"]; - }; - "/repos/{owner}/{repo}/git/commits": { - /** - * Creates a new Git [commit object](https://git-scm.com/book/en/v1/Git-Internals-Git-Objects#Commit-Objects). - * - * **Signature verification object** - * - * The response will include a `verification` object that describes the result of verifying the commit's signature. The following fields are included in the `verification` object: - * - * | Name | Type | Description | - * | ---- | ---- | ----------- | - * | `verified` | `boolean` | Indicates whether GitHub considers the signature in this commit to be verified. | - * | `reason` | `string` | The reason for verified value. Possible values and their meanings are enumerated in table below. | - * | `signature` | `string` | The signature that was extracted from the commit. | - * | `payload` | `string` | The value that was signed. | - * - * These are the possible values for `reason` in the `verification` object: - * - * | Value | Description | - * | ----- | ----------- | - * | `expired_key` | The key that made the signature is expired. | - * | `not_signing_key` | The "signing" flag is not among the usage flags in the GPG key that made the signature. | - * | `gpgverify_error` | There was an error communicating with the signature verification service. | - * | `gpgverify_unavailable` | The signature verification service is currently unavailable. | - * | `unsigned` | The object does not include a signature. | - * | `unknown_signature_type` | A non-PGP signature was found in the commit. | - * | `no_user` | No user was associated with the `committer` email address in the commit. | - * | `unverified_email` | The `committer` email address in the commit was associated with a user, but the email address is not verified on her/his account. | - * | `bad_email` | The `committer` email address in the commit is not included in the identities of the PGP key that made the signature. | - * | `unknown_key` | The key that made the signature has not been registered with any user's account. | - * | `malformed_signature` | There was an error parsing the signature. | - * | `invalid` | The signature could not be cryptographically verified using the key whose key-id was found in the signature. | - * | `valid` | None of the above errors applied, so the signature is considered to be verified. | - */ - post: operations["git/create-commit"]; - }; - "/repos/{owner}/{repo}/git/commits/{commit_sha}": { - /** - * Gets a Git [commit object](https://git-scm.com/book/en/v1/Git-Internals-Git-Objects#Commit-Objects). - * - * **Signature verification object** - * - * The response will include a `verification` object that describes the result of verifying the commit's signature. The following fields are included in the `verification` object: - * - * | Name | Type | Description | - * | ---- | ---- | ----------- | - * | `verified` | `boolean` | Indicates whether GitHub considers the signature in this commit to be verified. | - * | `reason` | `string` | The reason for verified value. Possible values and their meanings are enumerated in table below. | - * | `signature` | `string` | The signature that was extracted from the commit. | - * | `payload` | `string` | The value that was signed. | - * - * These are the possible values for `reason` in the `verification` object: - * - * | Value | Description | - * | ----- | ----------- | - * | `expired_key` | The key that made the signature is expired. | - * | `not_signing_key` | The "signing" flag is not among the usage flags in the GPG key that made the signature. | - * | `gpgverify_error` | There was an error communicating with the signature verification service. | - * | `gpgverify_unavailable` | The signature verification service is currently unavailable. | - * | `unsigned` | The object does not include a signature. | - * | `unknown_signature_type` | A non-PGP signature was found in the commit. | - * | `no_user` | No user was associated with the `committer` email address in the commit. | - * | `unverified_email` | The `committer` email address in the commit was associated with a user, but the email address is not verified on her/his account. | - * | `bad_email` | The `committer` email address in the commit is not included in the identities of the PGP key that made the signature. | - * | `unknown_key` | The key that made the signature has not been registered with any user's account. | - * | `malformed_signature` | There was an error parsing the signature. | - * | `invalid` | The signature could not be cryptographically verified using the key whose key-id was found in the signature. | - * | `valid` | None of the above errors applied, so the signature is considered to be verified. | - */ - get: operations["git/get-commit"]; - }; - "/repos/{owner}/{repo}/git/matching-refs/{ref}": { - /** - * Returns an array of references from your Git database that match the supplied name. The `:ref` in the URL must be formatted as `heads/` for branches and `tags/` for tags. If the `:ref` doesn't exist in the repository, but existing refs start with `:ref`, they will be returned as an array. - * - * When you use this endpoint without providing a `:ref`, it will return an array of all the references from your Git database, including notes and stashes if they exist on the server. Anything in the namespace is returned, not just `heads` and `tags`. - * - * **Note:** You need to explicitly [request a pull request](https://docs.github.com/rest/reference/pulls#get-a-pull-request) to trigger a test merge commit, which checks the mergeability of pull requests. For more information, see "[Checking mergeability of pull requests](https://docs.github.com/rest/guides/getting-started-with-the-git-database-api#checking-mergeability-of-pull-requests)". - * - * If you request matching references for a branch named `feature` but the branch `feature` doesn't exist, the response can still include other matching head refs that start with the word `feature`, such as `featureA` and `featureB`. - */ - get: operations["git/list-matching-refs"]; - }; - "/repos/{owner}/{repo}/git/ref/{ref}": { - /** - * Returns a single reference from your Git database. The `:ref` in the URL must be formatted as `heads/` for branches and `tags/` for tags. If the `:ref` doesn't match an existing ref, a `404` is returned. - * - * **Note:** You need to explicitly [request a pull request](https://docs.github.com/rest/reference/pulls#get-a-pull-request) to trigger a test merge commit, which checks the mergeability of pull requests. For more information, see "[Checking mergeability of pull requests](https://docs.github.com/rest/guides/getting-started-with-the-git-database-api#checking-mergeability-of-pull-requests)". - */ - get: operations["git/get-ref"]; - }; - "/repos/{owner}/{repo}/git/refs": { - /** Creates a reference for your repository. You are unable to create new references for empty repositories, even if the commit SHA-1 hash used exists. Empty repositories are repositories without branches. */ - post: operations["git/create-ref"]; - }; - "/repos/{owner}/{repo}/git/refs/{ref}": { - delete: operations["git/delete-ref"]; - patch: operations["git/update-ref"]; - }; - "/repos/{owner}/{repo}/git/tags": { - /** - * Note that creating a tag object does not create the reference that makes a tag in Git. If you want to create an annotated tag in Git, you have to do this call to create the tag object, and then [create](https://docs.github.com/rest/reference/git#create-a-reference) the `refs/tags/[tag]` reference. If you want to create a lightweight tag, you only have to [create](https://docs.github.com/rest/reference/git#create-a-reference) the tag reference - this call would be unnecessary. - * - * **Signature verification object** - * - * The response will include a `verification` object that describes the result of verifying the commit's signature. The following fields are included in the `verification` object: - * - * | Name | Type | Description | - * | ---- | ---- | ----------- | - * | `verified` | `boolean` | Indicates whether GitHub considers the signature in this commit to be verified. | - * | `reason` | `string` | The reason for verified value. Possible values and their meanings are enumerated in table below. | - * | `signature` | `string` | The signature that was extracted from the commit. | - * | `payload` | `string` | The value that was signed. | - * - * These are the possible values for `reason` in the `verification` object: - * - * | Value | Description | - * | ----- | ----------- | - * | `expired_key` | The key that made the signature is expired. | - * | `not_signing_key` | The "signing" flag is not among the usage flags in the GPG key that made the signature. | - * | `gpgverify_error` | There was an error communicating with the signature verification service. | - * | `gpgverify_unavailable` | The signature verification service is currently unavailable. | - * | `unsigned` | The object does not include a signature. | - * | `unknown_signature_type` | A non-PGP signature was found in the commit. | - * | `no_user` | No user was associated with the `committer` email address in the commit. | - * | `unverified_email` | The `committer` email address in the commit was associated with a user, but the email address is not verified on her/his account. | - * | `bad_email` | The `committer` email address in the commit is not included in the identities of the PGP key that made the signature. | - * | `unknown_key` | The key that made the signature has not been registered with any user's account. | - * | `malformed_signature` | There was an error parsing the signature. | - * | `invalid` | The signature could not be cryptographically verified using the key whose key-id was found in the signature. | - * | `valid` | None of the above errors applied, so the signature is considered to be verified. | - */ - post: operations["git/create-tag"]; - }; - "/repos/{owner}/{repo}/git/tags/{tag_sha}": { - /** - * **Signature verification object** - * - * The response will include a `verification` object that describes the result of verifying the commit's signature. The following fields are included in the `verification` object: - * - * | Name | Type | Description | - * | ---- | ---- | ----------- | - * | `verified` | `boolean` | Indicates whether GitHub considers the signature in this commit to be verified. | - * | `reason` | `string` | The reason for verified value. Possible values and their meanings are enumerated in table below. | - * | `signature` | `string` | The signature that was extracted from the commit. | - * | `payload` | `string` | The value that was signed. | - * - * These are the possible values for `reason` in the `verification` object: - * - * | Value | Description | - * | ----- | ----------- | - * | `expired_key` | The key that made the signature is expired. | - * | `not_signing_key` | The "signing" flag is not among the usage flags in the GPG key that made the signature. | - * | `gpgverify_error` | There was an error communicating with the signature verification service. | - * | `gpgverify_unavailable` | The signature verification service is currently unavailable. | - * | `unsigned` | The object does not include a signature. | - * | `unknown_signature_type` | A non-PGP signature was found in the commit. | - * | `no_user` | No user was associated with the `committer` email address in the commit. | - * | `unverified_email` | The `committer` email address in the commit was associated with a user, but the email address is not verified on her/his account. | - * | `bad_email` | The `committer` email address in the commit is not included in the identities of the PGP key that made the signature. | - * | `unknown_key` | The key that made the signature has not been registered with any user's account. | - * | `malformed_signature` | There was an error parsing the signature. | - * | `invalid` | The signature could not be cryptographically verified using the key whose key-id was found in the signature. | - * | `valid` | None of the above errors applied, so the signature is considered to be verified. | - */ - get: operations["git/get-tag"]; - }; - "/repos/{owner}/{repo}/git/trees": { - /** - * The tree creation API accepts nested entries. If you specify both a tree and a nested path modifying that tree, this endpoint will overwrite the contents of the tree with the new path contents, and create a new tree structure. - * - * If you use this endpoint to add, delete, or modify the file contents in a tree, you will need to commit the tree and then update a branch to point to the commit. For more information see "[Create a commit](https://docs.github.com/rest/reference/git#create-a-commit)" and "[Update a reference](https://docs.github.com/rest/reference/git#update-a-reference)." - */ - post: operations["git/create-tree"]; - }; - "/repos/{owner}/{repo}/git/trees/{tree_sha}": { - /** - * Returns a single tree using the SHA1 value for that tree. - * - * If `truncated` is `true` in the response then the number of items in the `tree` array exceeded our maximum limit. If you need to fetch more items, use the non-recursive method of fetching trees, and fetch one sub-tree at a time. - */ - get: operations["git/get-tree"]; - }; - "/repos/{owner}/{repo}/hooks": { - get: operations["repos/list-webhooks"]; - /** - * Repositories can have multiple webhooks installed. Each webhook should have a unique `config`. Multiple webhooks can - * share the same `config` as long as those webhooks do not have any `events` that overlap. - */ - post: operations["repos/create-webhook"]; - }; - "/repos/{owner}/{repo}/hooks/{hook_id}": { - /** Returns a webhook configured in a repository. To get only the webhook `config` properties, see "[Get a webhook configuration for a repository](/rest/reference/repos#get-a-webhook-configuration-for-a-repository)." */ - get: operations["repos/get-webhook"]; - delete: operations["repos/delete-webhook"]; - /** Updates a webhook configured in a repository. If you previously had a `secret` set, you must provide the same `secret` or set a new `secret` or the secret will be removed. If you are only updating individual webhook `config` properties, use "[Update a webhook configuration for a repository](/rest/reference/repos#update-a-webhook-configuration-for-a-repository)." */ - patch: operations["repos/update-webhook"]; - }; - "/repos/{owner}/{repo}/hooks/{hook_id}/config": { - /** - * Returns the webhook configuration for a repository. To get more information about the webhook, including the `active` state and `events`, use "[Get a repository webhook](/rest/reference/orgs#get-a-repository-webhook)." - * - * Access tokens must have the `read:repo_hook` or `repo` scope, and GitHub Apps must have the `repository_hooks:read` permission. - */ - get: operations["repos/get-webhook-config-for-repo"]; - /** - * Updates the webhook configuration for a repository. To update more information about the webhook, including the `active` state and `events`, use "[Update a repository webhook](/rest/reference/orgs#update-a-repository-webhook)." - * - * Access tokens must have the `write:repo_hook` or `repo` scope, and GitHub Apps must have the `repository_hooks:write` permission. - */ - patch: operations["repos/update-webhook-config-for-repo"]; - }; - "/repos/{owner}/{repo}/hooks/{hook_id}/deliveries": { - /** Returns a list of webhook deliveries for a webhook configured in a repository. */ - get: operations["repos/list-webhook-deliveries"]; - }; - "/repos/{owner}/{repo}/hooks/{hook_id}/deliveries/{delivery_id}": { - /** Returns a delivery for a webhook configured in a repository. */ - get: operations["repos/get-webhook-delivery"]; - }; - "/repos/{owner}/{repo}/hooks/{hook_id}/deliveries/{delivery_id}/attempts": { - /** Redeliver a webhook delivery for a webhook configured in a repository. */ - post: operations["repos/redeliver-webhook-delivery"]; - }; - "/repos/{owner}/{repo}/hooks/{hook_id}/pings": { - /** This will trigger a [ping event](https://docs.github.com/webhooks/#ping-event) to be sent to the hook. */ - post: operations["repos/ping-webhook"]; - }; - "/repos/{owner}/{repo}/hooks/{hook_id}/tests": { - /** - * This will trigger the hook with the latest push to the current repository if the hook is subscribed to `push` events. If the hook is not subscribed to `push` events, the server will respond with 204 but no test POST will be generated. - * - * **Note**: Previously `/repos/:owner/:repo/hooks/:hook_id/test` - */ - post: operations["repos/test-push-webhook"]; - }; - "/repos/{owner}/{repo}/import": { - /** - * View the progress of an import. - * - * **Import status** - * - * This section includes details about the possible values of the `status` field of the Import Progress response. - * - * An import that does not have errors will progress through these steps: - * - * * `detecting` - the "detection" step of the import is in progress because the request did not include a `vcs` parameter. The import is identifying the type of source control present at the URL. - * * `importing` - the "raw" step of the import is in progress. This is where commit data is fetched from the original repository. The import progress response will include `commit_count` (the total number of raw commits that will be imported) and `percent` (0 - 100, the current progress through the import). - * * `mapping` - the "rewrite" step of the import is in progress. This is where SVN branches are converted to Git branches, and where author updates are applied. The import progress response does not include progress information. - * * `pushing` - the "push" step of the import is in progress. This is where the importer updates the repository on GitHub. The import progress response will include `push_percent`, which is the percent value reported by `git push` when it is "Writing objects". - * * `complete` - the import is complete, and the repository is ready on GitHub. - * - * If there are problems, you will see one of these in the `status` field: - * - * * `auth_failed` - the import requires authentication in order to connect to the original repository. To update authentication for the import, please see the [Update an import](https://docs.github.com/rest/reference/migrations#update-an-import) section. - * * `error` - the import encountered an error. The import progress response will include the `failed_step` and an error message. Contact [GitHub Support](https://support.github.com/contact) or [GitHub Premium Support](https://premium.githubsupport.com) for more information. - * * `detection_needs_auth` - the importer requires authentication for the originating repository to continue detection. To update authentication for the import, please see the [Update an import](https://docs.github.com/rest/reference/migrations#update-an-import) section. - * * `detection_found_nothing` - the importer didn't recognize any source control at the URL. To resolve, [Cancel the import](https://docs.github.com/rest/reference/migrations#cancel-an-import) and [retry](https://docs.github.com/rest/reference/migrations#start-an-import) with the correct URL. - * * `detection_found_multiple` - the importer found several projects or repositories at the provided URL. When this is the case, the Import Progress response will also include a `project_choices` field with the possible project choices as values. To update project choice, please see the [Update an import](https://docs.github.com/rest/reference/migrations#update-an-import) section. - * - * **The project_choices field** - * - * When multiple projects are found at the provided URL, the response hash will include a `project_choices` field, the value of which is an array of hashes each representing a project choice. The exact key/value pairs of the project hashes will differ depending on the version control type. - * - * **Git LFS related fields** - * - * This section includes details about Git LFS related fields that may be present in the Import Progress response. - * - * * `use_lfs` - describes whether the import has been opted in or out of using Git LFS. The value can be `opt_in`, `opt_out`, or `undecided` if no action has been taken. - * * `has_large_files` - the boolean value describing whether files larger than 100MB were found during the `importing` step. - * * `large_files_size` - the total size in gigabytes of files larger than 100MB found in the originating repository. - * * `large_files_count` - the total number of files larger than 100MB found in the originating repository. To see a list of these files, make a "Get Large Files" request. - */ - get: operations["migrations/get-import-status"]; - /** Start a source import to a GitHub repository using GitHub Importer. */ - put: operations["migrations/start-import"]; - /** Stop an import for a repository. */ - delete: operations["migrations/cancel-import"]; - /** - * An import can be updated with credentials or a project choice by passing in the appropriate parameters in this API - * request. If no parameters are provided, the import will be restarted. - */ - patch: operations["migrations/update-import"]; - }; - "/repos/{owner}/{repo}/import/authors": { - /** - * Each type of source control system represents authors in a different way. For example, a Git commit author has a display name and an email address, but a Subversion commit author just has a username. The GitHub Importer will make the author information valid, but the author might not be correct. For example, it will change the bare Subversion username `hubot` into something like `hubot `. - * - * This endpoint and the [Map a commit author](https://docs.github.com/rest/reference/migrations#map-a-commit-author) endpoint allow you to provide correct Git author information. - */ - get: operations["migrations/get-commit-authors"]; - }; - "/repos/{owner}/{repo}/import/authors/{author_id}": { - /** Update an author's identity for the import. Your application can continue updating authors any time before you push new commits to the repository. */ - patch: operations["migrations/map-commit-author"]; - }; - "/repos/{owner}/{repo}/import/large_files": { - /** List files larger than 100MB found during the import */ - get: operations["migrations/get-large-files"]; - }; - "/repos/{owner}/{repo}/import/lfs": { - /** You can import repositories from Subversion, Mercurial, and TFS that include files larger than 100MB. This ability is powered by [Git LFS](https://git-lfs.github.com). You can learn more about our LFS feature and working with large files [on our help site](https://help.github.com/articles/versioning-large-files/). */ - patch: operations["migrations/set-lfs-preference"]; - }; - "/repos/{owner}/{repo}/installation": { - /** - * Enables an authenticated GitHub App to find the repository's installation information. The installation's account type will be either an organization or a user account, depending which account the repository belongs to. - * - * You must use a [JWT](https://docs.github.com/apps/building-github-apps/authenticating-with-github-apps/#authenticating-as-a-github-app) to access this endpoint. - */ - get: operations["apps/get-repo-installation"]; - }; - "/repos/{owner}/{repo}/interaction-limits": { - /** Shows which type of GitHub user can interact with this repository and when the restriction expires. If there are no restrictions, you will see an empty response. */ - get: operations["interactions/get-restrictions-for-repo"]; - /** Temporarily restricts interactions to a certain type of GitHub user within the given repository. You must have owner or admin access to set these restrictions. If an interaction limit is set for the user or organization that owns this repository, you will receive a `409 Conflict` response and will not be able to use this endpoint to change the interaction limit for a single repository. */ - put: operations["interactions/set-restrictions-for-repo"]; - /** Removes all interaction restrictions from the given repository. You must have owner or admin access to remove restrictions. If the interaction limit is set for the user or organization that owns this repository, you will receive a `409 Conflict` response and will not be able to use this endpoint to change the interaction limit for a single repository. */ - delete: operations["interactions/remove-restrictions-for-repo"]; - }; - "/repos/{owner}/{repo}/invitations": { - /** When authenticating as a user with admin rights to a repository, this endpoint will list all currently open repository invitations. */ - get: operations["repos/list-invitations"]; - }; - "/repos/{owner}/{repo}/invitations/{invitation_id}": { - delete: operations["repos/delete-invitation"]; - patch: operations["repos/update-invitation"]; - }; - "/repos/{owner}/{repo}/issues": { - /** - * List issues in a repository. - * - * **Note**: GitHub's REST API v3 considers every pull request an issue, but not every issue is a pull request. For this - * reason, "Issues" endpoints may return both issues and pull requests in the response. You can identify pull requests by - * the `pull_request` key. Be aware that the `id` of a pull request returned from "Issues" endpoints will be an _issue id_. To find out the pull - * request id, use the "[List pull requests](https://docs.github.com/rest/reference/pulls#list-pull-requests)" endpoint. - */ - get: operations["issues/list-for-repo"]; - /** - * Any user with pull access to a repository can create an issue. If [issues are disabled in the repository](https://help.github.com/articles/disabling-issues/), the API returns a `410 Gone` status. - * - * This endpoint triggers [notifications](https://docs.github.com/en/github/managing-subscriptions-and-notifications-on-github/about-notifications). Creating content too quickly using this endpoint may result in abuse rate limiting. See "[Abuse rate limits](https://docs.github.com/rest/overview/resources-in-the-rest-api#abuse-rate-limits)" and "[Dealing with abuse rate limits](https://docs.github.com/rest/guides/best-practices-for-integrators#dealing-with-abuse-rate-limits)" for details. - */ - post: operations["issues/create"]; - }; - "/repos/{owner}/{repo}/issues/comments": { - /** By default, Issue Comments are ordered by ascending ID. */ - get: operations["issues/list-comments-for-repo"]; - }; - "/repos/{owner}/{repo}/issues/comments/{comment_id}": { - get: operations["issues/get-comment"]; - delete: operations["issues/delete-comment"]; - patch: operations["issues/update-comment"]; - }; - "/repos/{owner}/{repo}/issues/comments/{comment_id}/reactions": { - /** List the reactions to an [issue comment](https://docs.github.com/rest/reference/issues#comments). */ - get: operations["reactions/list-for-issue-comment"]; - /** Create a reaction to an [issue comment](https://docs.github.com/rest/reference/issues#comments). A response with an HTTP `200` status means that you already added the reaction type to this issue comment. */ - post: operations["reactions/create-for-issue-comment"]; - }; - "/repos/{owner}/{repo}/issues/comments/{comment_id}/reactions/{reaction_id}": { - /** - * **Note:** You can also specify a repository by `repository_id` using the route `DELETE delete /repositories/:repository_id/issues/comments/:comment_id/reactions/:reaction_id`. - * - * Delete a reaction to an [issue comment](https://docs.github.com/rest/reference/issues#comments). - */ - delete: operations["reactions/delete-for-issue-comment"]; - }; - "/repos/{owner}/{repo}/issues/events": { - get: operations["issues/list-events-for-repo"]; - }; - "/repos/{owner}/{repo}/issues/events/{event_id}": { - get: operations["issues/get-event"]; - }; - "/repos/{owner}/{repo}/issues/{issue_number}": { - /** - * The API returns a [`301 Moved Permanently` status](https://docs.github.com/rest/overview/resources-in-the-rest-api#http-redirects-redirects) if the issue was - * [transferred](https://help.github.com/articles/transferring-an-issue-to-another-repository/) to another repository. If - * the issue was transferred to or deleted from a repository where the authenticated user lacks read access, the API - * returns a `404 Not Found` status. If the issue was deleted from a repository where the authenticated user has read - * access, the API returns a `410 Gone` status. To receive webhook events for transferred and deleted issues, subscribe - * to the [`issues`](https://docs.github.com/webhooks/event-payloads/#issues) webhook. - * - * **Note**: GitHub's REST API v3 considers every pull request an issue, but not every issue is a pull request. For this - * reason, "Issues" endpoints may return both issues and pull requests in the response. You can identify pull requests by - * the `pull_request` key. Be aware that the `id` of a pull request returned from "Issues" endpoints will be an _issue id_. To find out the pull - * request id, use the "[List pull requests](https://docs.github.com/rest/reference/pulls#list-pull-requests)" endpoint. - */ - get: operations["issues/get"]; - /** Issue owners and users with push access can edit an issue. */ - patch: operations["issues/update"]; - }; - "/repos/{owner}/{repo}/issues/{issue_number}/assignees": { - /** Adds up to 10 assignees to an issue. Users already assigned to an issue are not replaced. */ - post: operations["issues/add-assignees"]; - /** Removes one or more assignees from an issue. */ - delete: operations["issues/remove-assignees"]; - }; - "/repos/{owner}/{repo}/issues/{issue_number}/comments": { - /** Issue Comments are ordered by ascending ID. */ - get: operations["issues/list-comments"]; - /** This endpoint triggers [notifications](https://docs.github.com/en/github/managing-subscriptions-and-notifications-on-github/about-notifications). Creating content too quickly using this endpoint may result in abuse rate limiting. See "[Abuse rate limits](https://docs.github.com/rest/overview/resources-in-the-rest-api#abuse-rate-limits)" and "[Dealing with abuse rate limits](https://docs.github.com/rest/guides/best-practices-for-integrators#dealing-with-abuse-rate-limits)" for details. */ - post: operations["issues/create-comment"]; - }; - "/repos/{owner}/{repo}/issues/{issue_number}/events": { - get: operations["issues/list-events"]; - }; - "/repos/{owner}/{repo}/issues/{issue_number}/labels": { - get: operations["issues/list-labels-on-issue"]; - /** Removes any previous labels and sets the new labels for an issue. */ - put: operations["issues/set-labels"]; - post: operations["issues/add-labels"]; - delete: operations["issues/remove-all-labels"]; - }; - "/repos/{owner}/{repo}/issues/{issue_number}/labels/{name}": { - /** Removes the specified label from the issue, and returns the remaining labels on the issue. This endpoint returns a `404 Not Found` status if the label does not exist. */ - delete: operations["issues/remove-label"]; - }; - "/repos/{owner}/{repo}/issues/{issue_number}/lock": { - /** - * Users with push access can lock an issue or pull request's conversation. - * - * Note that, if you choose not to pass any parameters, you'll need to set `Content-Length` to zero when calling out to this endpoint. For more information, see "[HTTP verbs](https://docs.github.com/rest/overview/resources-in-the-rest-api#http-verbs)." - */ - put: operations["issues/lock"]; - /** Users with push access can unlock an issue's conversation. */ - delete: operations["issues/unlock"]; - }; - "/repos/{owner}/{repo}/issues/{issue_number}/reactions": { - /** List the reactions to an [issue](https://docs.github.com/rest/reference/issues). */ - get: operations["reactions/list-for-issue"]; - /** Create a reaction to an [issue](https://docs.github.com/rest/reference/issues/). A response with an HTTP `200` status means that you already added the reaction type to this issue. */ - post: operations["reactions/create-for-issue"]; - }; - "/repos/{owner}/{repo}/issues/{issue_number}/reactions/{reaction_id}": { - /** - * **Note:** You can also specify a repository by `repository_id` using the route `DELETE /repositories/:repository_id/issues/:issue_number/reactions/:reaction_id`. - * - * Delete a reaction to an [issue](https://docs.github.com/rest/reference/issues/). - */ - delete: operations["reactions/delete-for-issue"]; - }; - "/repos/{owner}/{repo}/issues/{issue_number}/timeline": { - get: operations["issues/list-events-for-timeline"]; - }; - "/repos/{owner}/{repo}/keys": { - get: operations["repos/list-deploy-keys"]; - /** You can create a read-only deploy key. */ - post: operations["repos/create-deploy-key"]; - }; - "/repos/{owner}/{repo}/keys/{key_id}": { - get: operations["repos/get-deploy-key"]; - /** Deploy keys are immutable. If you need to update a key, remove the key and create a new one instead. */ - delete: operations["repos/delete-deploy-key"]; - }; - "/repos/{owner}/{repo}/labels": { - get: operations["issues/list-labels-for-repo"]; - post: operations["issues/create-label"]; - }; - "/repos/{owner}/{repo}/labels/{name}": { - get: operations["issues/get-label"]; - delete: operations["issues/delete-label"]; - patch: operations["issues/update-label"]; - }; - "/repos/{owner}/{repo}/languages": { - /** Lists languages for the specified repository. The value shown for each language is the number of bytes of code written in that language. */ - get: operations["repos/list-languages"]; - }; - "/repos/{owner}/{repo}/license": { - /** - * This method returns the contents of the repository's license file, if one is detected. - * - * Similar to [Get repository content](https://docs.github.com/rest/reference/repos#get-repository-content), this method also supports [custom media types](https://docs.github.com/rest/overview/media-types) for retrieving the raw license content or rendered license HTML. - */ - get: operations["licenses/get-for-repo"]; - }; - "/repos/{owner}/{repo}/merges": { - post: operations["repos/merge"]; - }; - "/repos/{owner}/{repo}/milestones": { - get: operations["issues/list-milestones"]; - post: operations["issues/create-milestone"]; - }; - "/repos/{owner}/{repo}/milestones/{milestone_number}": { - get: operations["issues/get-milestone"]; - delete: operations["issues/delete-milestone"]; - patch: operations["issues/update-milestone"]; - }; - "/repos/{owner}/{repo}/milestones/{milestone_number}/labels": { - get: operations["issues/list-labels-for-milestone"]; - }; - "/repos/{owner}/{repo}/notifications": { - /** List all notifications for the current user. */ - get: operations["activity/list-repo-notifications-for-authenticated-user"]; - /** Marks all notifications in a repository as "read" removes them from the [default view on GitHub](https://github.com/notifications). If the number of notifications is too large to complete in one request, you will receive a `202 Accepted` status and GitHub will run an asynchronous process to mark notifications as "read." To check whether any "unread" notifications remain, you can use the [List repository notifications for the authenticated user](https://docs.github.com/rest/reference/activity#list-repository-notifications-for-the-authenticated-user) endpoint and pass the query parameter `all=false`. */ - put: operations["activity/mark-repo-notifications-as-read"]; - }; - "/repos/{owner}/{repo}/pages": { - get: operations["repos/get-pages"]; - /** Updates information for a GitHub Pages site. For more information, see "[About GitHub Pages](/github/working-with-github-pages/about-github-pages). */ - put: operations["repos/update-information-about-pages-site"]; - /** Configures a GitHub Pages site. For more information, see "[About GitHub Pages](/github/working-with-github-pages/about-github-pages)." */ - post: operations["repos/create-pages-site"]; - delete: operations["repos/delete-pages-site"]; - }; - "/repos/{owner}/{repo}/pages/builds": { - get: operations["repos/list-pages-builds"]; - /** - * You can request that your site be built from the latest revision on the default branch. This has the same effect as pushing a commit to your default branch, but does not require an additional commit. Manually triggering page builds can be helpful when diagnosing build warnings and failures. - * - * Build requests are limited to one concurrent build per repository and one concurrent build per requester. If you request a build while another is still in progress, the second request will be queued until the first completes. - */ - post: operations["repos/request-pages-build"]; - }; - "/repos/{owner}/{repo}/pages/builds/latest": { - get: operations["repos/get-latest-pages-build"]; - }; - "/repos/{owner}/{repo}/pages/builds/{build_id}": { - get: operations["repos/get-pages-build"]; - }; - "/repos/{owner}/{repo}/pages/health": { - /** - * Gets a health check of the DNS settings for the `CNAME` record configured for a repository's GitHub Pages. - * - * The first request to this endpoint returns a `202 Accepted` status and starts an asynchronous background task to get the results for the domain. After the background task completes, subsequent requests to this endpoint return a `200 OK` status with the health check results in the response. - * - * Users must have admin or owner permissions. GitHub Apps must have the `pages:write` and `administration:write` permission to use this endpoint. - */ - get: operations["repos/get-pages-health-check"]; - }; - "/repos/{owner}/{repo}/projects": { - /** Lists the projects in a repository. Returns a `404 Not Found` status if projects are disabled in the repository. If you do not have sufficient privileges to perform this action, a `401 Unauthorized` or `410 Gone` status is returned. */ - get: operations["projects/list-for-repo"]; - /** Creates a repository project board. Returns a `404 Not Found` status if projects are disabled in the repository. If you do not have sufficient privileges to perform this action, a `401 Unauthorized` or `410 Gone` status is returned. */ - post: operations["projects/create-for-repo"]; - }; - "/repos/{owner}/{repo}/pulls": { - /** Draft pull requests are available in public repositories with GitHub Free and GitHub Free for organizations, GitHub Pro, and legacy per-repository billing plans, and in public and private repositories with GitHub Team and GitHub Enterprise Cloud. For more information, see [GitHub's products](https://help.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation. */ - get: operations["pulls/list"]; - /** - * Draft pull requests are available in public repositories with GitHub Free and GitHub Free for organizations, GitHub Pro, and legacy per-repository billing plans, and in public and private repositories with GitHub Team and GitHub Enterprise Cloud. For more information, see [GitHub's products](https://help.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation. - * - * To open or update a pull request in a public repository, you must have write access to the head or the source branch. For organization-owned repositories, you must be a member of the organization that owns the repository to open or update a pull request. - * - * You can create a new pull request. - * - * This endpoint triggers [notifications](https://docs.github.com/en/github/managing-subscriptions-and-notifications-on-github/about-notifications). Creating content too quickly using this endpoint may result in abuse rate limiting. See "[Abuse rate limits](https://docs.github.com/rest/overview/resources-in-the-rest-api#abuse-rate-limits)" and "[Dealing with abuse rate limits](https://docs.github.com/rest/guides/best-practices-for-integrators#dealing-with-rate-limits)" for details. - */ - post: operations["pulls/create"]; - }; - "/repos/{owner}/{repo}/pulls/comments": { - /** Lists review comments for all pull requests in a repository. By default, review comments are in ascending order by ID. */ - get: operations["pulls/list-review-comments-for-repo"]; - }; - "/repos/{owner}/{repo}/pulls/comments/{comment_id}": { - /** Provides details for a review comment. */ - get: operations["pulls/get-review-comment"]; - /** Deletes a review comment. */ - delete: operations["pulls/delete-review-comment"]; - /** Enables you to edit a review comment. */ - patch: operations["pulls/update-review-comment"]; - }; - "/repos/{owner}/{repo}/pulls/comments/{comment_id}/reactions": { - /** List the reactions to a [pull request review comment](https://docs.github.com/rest/reference/pulls#review-comments). */ - get: operations["reactions/list-for-pull-request-review-comment"]; - /** Create a reaction to a [pull request review comment](https://docs.github.com/rest/reference/pulls#comments). A response with an HTTP `200` status means that you already added the reaction type to this pull request review comment. */ - post: operations["reactions/create-for-pull-request-review-comment"]; - }; - "/repos/{owner}/{repo}/pulls/comments/{comment_id}/reactions/{reaction_id}": { - /** - * **Note:** You can also specify a repository by `repository_id` using the route `DELETE /repositories/:repository_id/pulls/comments/:comment_id/reactions/:reaction_id.` - * - * Delete a reaction to a [pull request review comment](https://docs.github.com/rest/reference/pulls#review-comments). - */ - delete: operations["reactions/delete-for-pull-request-comment"]; - }; - "/repos/{owner}/{repo}/pulls/{pull_number}": { - /** - * Draft pull requests are available in public repositories with GitHub Free and GitHub Free for organizations, GitHub Pro, and legacy per-repository billing plans, and in public and private repositories with GitHub Team and GitHub Enterprise Cloud. For more information, see [GitHub's products](https://help.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation. - * - * Lists details of a pull request by providing its number. - * - * When you get, [create](https://docs.github.com/rest/reference/pulls/#create-a-pull-request), or [edit](https://docs.github.com/rest/reference/pulls#update-a-pull-request) a pull request, GitHub creates a merge commit to test whether the pull request can be automatically merged into the base branch. This test commit is not added to the base branch or the head branch. You can review the status of the test commit using the `mergeable` key. For more information, see "[Checking mergeability of pull requests](https://docs.github.com/rest/guides/getting-started-with-the-git-database-api#checking-mergeability-of-pull-requests)". - * - * The value of the `mergeable` attribute can be `true`, `false`, or `null`. If the value is `null`, then GitHub has started a background job to compute the mergeability. After giving the job time to complete, resubmit the request. When the job finishes, you will see a non-`null` value for the `mergeable` attribute in the response. If `mergeable` is `true`, then `merge_commit_sha` will be the SHA of the _test_ merge commit. - * - * The value of the `merge_commit_sha` attribute changes depending on the state of the pull request. Before merging a pull request, the `merge_commit_sha` attribute holds the SHA of the _test_ merge commit. After merging a pull request, the `merge_commit_sha` attribute changes depending on how you merged the pull request: - * - * * If merged as a [merge commit](https://help.github.com/articles/about-merge-methods-on-github/), `merge_commit_sha` represents the SHA of the merge commit. - * * If merged via a [squash](https://help.github.com/articles/about-merge-methods-on-github/#squashing-your-merge-commits), `merge_commit_sha` represents the SHA of the squashed commit on the base branch. - * * If [rebased](https://help.github.com/articles/about-merge-methods-on-github/#rebasing-and-merging-your-commits), `merge_commit_sha` represents the commit that the base branch was updated to. - * - * Pass the appropriate [media type](https://docs.github.com/rest/overview/media-types/#commits-commit-comparison-and-pull-requests) to fetch diff and patch formats. - */ - get: operations["pulls/get"]; - /** - * Draft pull requests are available in public repositories with GitHub Free and GitHub Free for organizations, GitHub Pro, and legacy per-repository billing plans, and in public and private repositories with GitHub Team and GitHub Enterprise Cloud. For more information, see [GitHub's products](https://help.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation. - * - * To open or update a pull request in a public repository, you must have write access to the head or the source branch. For organization-owned repositories, you must be a member of the organization that owns the repository to open or update a pull request. - */ - patch: operations["pulls/update"]; - }; - "/repos/{owner}/{repo}/pulls/{pull_number}/comments": { - /** Lists all review comments for a pull request. By default, review comments are in ascending order by ID. */ - get: operations["pulls/list-review-comments"]; - /** - * Creates a review comment in the pull request diff. To add a regular comment to a pull request timeline, see "[Create an issue comment](https://docs.github.com/rest/reference/issues#create-an-issue-comment)." We recommend creating a review comment using `line`, `side`, and optionally `start_line` and `start_side` if your comment applies to more than one line in the pull request diff. - * - * You can still create a review comment using the `position` parameter. When you use `position`, the `line`, `side`, `start_line`, and `start_side` parameters are not required. For more information, see the [`comfort-fade` preview notice](https://docs.github.com/rest/reference/pulls#create-a-review-comment-for-a-pull-request-preview-notices). - * - * **Note:** The position value equals the number of lines down from the first "@@" hunk header in the file you want to add a comment. The line just below the "@@" line is position 1, the next line is position 2, and so on. The position in the diff continues to increase through lines of whitespace and additional hunks until the beginning of a new file. - * - * This endpoint triggers [notifications](https://docs.github.com/en/github/managing-subscriptions-and-notifications-on-github/about-notifications). Creating content too quickly using this endpoint may result in abuse rate limiting. See "[Abuse rate limits](https://docs.github.com/rest/overview/resources-in-the-rest-api#abuse-rate-limits)" and "[Dealing with abuse rate limits](https://docs.github.com/rest/guides/best-practices-for-integrators#dealing-with-rate-limits)" for details. - */ - post: operations["pulls/create-review-comment"]; - }; - "/repos/{owner}/{repo}/pulls/{pull_number}/comments/{comment_id}/replies": { - /** - * Creates a reply to a review comment for a pull request. For the `comment_id`, provide the ID of the review comment you are replying to. This must be the ID of a _top-level review comment_, not a reply to that comment. Replies to replies are not supported. - * - * This endpoint triggers [notifications](https://docs.github.com/en/github/managing-subscriptions-and-notifications-on-github/about-notifications). Creating content too quickly using this endpoint may result in abuse rate limiting. See "[Abuse rate limits](https://docs.github.com/rest/overview/resources-in-the-rest-api#abuse-rate-limits)" and "[Dealing with abuse rate limits](https://docs.github.com/rest/guides/best-practices-for-integrators#dealing-with-rate-limits)" for details. - */ - post: operations["pulls/create-reply-for-review-comment"]; - }; - "/repos/{owner}/{repo}/pulls/{pull_number}/commits": { - /** Lists a maximum of 250 commits for a pull request. To receive a complete commit list for pull requests with more than 250 commits, use the [List commits](https://docs.github.com/rest/reference/repos#list-commits) endpoint. */ - get: operations["pulls/list-commits"]; - }; - "/repos/{owner}/{repo}/pulls/{pull_number}/files": { - /** **Note:** Responses include a maximum of 3000 files. The paginated response returns 30 files per page by default. */ - get: operations["pulls/list-files"]; - }; - "/repos/{owner}/{repo}/pulls/{pull_number}/merge": { - get: operations["pulls/check-if-merged"]; - /** This endpoint triggers [notifications](https://docs.github.com/github/managing-subscriptions-and-notifications-on-github/about-notifications). Creating content too quickly using this endpoint may result in abuse rate limiting. See "[Abuse rate limits](https://docs.github.com/rest/overview/resources-in-the-rest-api#abuse-rate-limits)" and "[Dealing with abuse rate limits](https://docs.github.com/rest/guides/best-practices-for-integrators#dealing-with-abuse-rate-limits)" for details. */ - put: operations["pulls/merge"]; - }; - "/repos/{owner}/{repo}/pulls/{pull_number}/requested_reviewers": { - get: operations["pulls/list-requested-reviewers"]; - /** This endpoint triggers [notifications](https://docs.github.com/github/managing-subscriptions-and-notifications-on-github/about-notifications). Creating content too quickly using this endpoint may result in abuse rate limiting. See "[Abuse rate limits](https://docs.github.com/rest/overview/resources-in-the-rest-api#abuse-rate-limits)" and "[Dealing with abuse rate limits](https://docs.github.com/rest/guides/best-practices-for-integrators#dealing-with-abuse-rate-limits)" for details. */ - post: operations["pulls/request-reviewers"]; - delete: operations["pulls/remove-requested-reviewers"]; - }; - "/repos/{owner}/{repo}/pulls/{pull_number}/reviews": { - /** The list of reviews returns in chronological order. */ - get: operations["pulls/list-reviews"]; - /** - * This endpoint triggers [notifications](https://docs.github.com/en/github/managing-subscriptions-and-notifications-on-github/about-notifications). Creating content too quickly using this endpoint may result in abuse rate limiting. See "[Abuse rate limits](https://docs.github.com/rest/overview/resources-in-the-rest-api#abuse-rate-limits)" and "[Dealing with abuse rate limits](https://docs.github.com/rest/guides/best-practices-for-integrators#dealing-with-rate-limits)" for details. - * - * Pull request reviews created in the `PENDING` state do not include the `submitted_at` property in the response. - * - * **Note:** To comment on a specific line in a file, you need to first determine the _position_ of that line in the diff. The GitHub REST API v3 offers the `application/vnd.github.v3.diff` [media type](https://docs.github.com/rest/overview/media-types#commits-commit-comparison-and-pull-requests). To see a pull request diff, add this media type to the `Accept` header of a call to the [single pull request](https://docs.github.com/rest/reference/pulls#get-a-pull-request) endpoint. - * - * The `position` value equals the number of lines down from the first "@@" hunk header in the file you want to add a comment. The line just below the "@@" line is position 1, the next line is position 2, and so on. The position in the diff continues to increase through lines of whitespace and additional hunks until the beginning of a new file. - */ - post: operations["pulls/create-review"]; - }; - "/repos/{owner}/{repo}/pulls/{pull_number}/reviews/{review_id}": { - get: operations["pulls/get-review"]; - /** Update the review summary comment with new text. */ - put: operations["pulls/update-review"]; - delete: operations["pulls/delete-pending-review"]; - }; - "/repos/{owner}/{repo}/pulls/{pull_number}/reviews/{review_id}/comments": { - /** List comments for a specific pull request review. */ - get: operations["pulls/list-comments-for-review"]; - }; - "/repos/{owner}/{repo}/pulls/{pull_number}/reviews/{review_id}/dismissals": { - /** **Note:** To dismiss a pull request review on a [protected branch](https://docs.github.com/rest/reference/repos#branches), you must be a repository administrator or be included in the list of people or teams who can dismiss pull request reviews. */ - put: operations["pulls/dismiss-review"]; - }; - "/repos/{owner}/{repo}/pulls/{pull_number}/reviews/{review_id}/events": { - post: operations["pulls/submit-review"]; - }; - "/repos/{owner}/{repo}/pulls/{pull_number}/update-branch": { - /** Updates the pull request branch with the latest upstream changes by merging HEAD from the base branch into the pull request branch. */ - put: operations["pulls/update-branch"]; - }; - "/repos/{owner}/{repo}/readme": { - /** - * Gets the preferred README for a repository. - * - * READMEs support [custom media types](https://docs.github.com/rest/reference/repos#custom-media-types) for retrieving the raw content or rendered HTML. - */ - get: operations["repos/get-readme"]; - }; - "/repos/{owner}/{repo}/readme/{dir}": { - /** - * Gets the README from a repository directory. - * - * READMEs support [custom media types](https://docs.github.com/rest/reference/repos#custom-media-types) for retrieving the raw content or rendered HTML. - */ - get: operations["repos/get-readme-in-directory"]; - }; - "/repos/{owner}/{repo}/releases": { - /** - * This returns a list of releases, which does not include regular Git tags that have not been associated with a release. To get a list of Git tags, use the [Repository Tags API](https://docs.github.com/rest/reference/repos#list-repository-tags). - * - * Information about published releases are available to everyone. Only users with push access will receive listings for draft releases. - */ - get: operations["repos/list-releases"]; - /** - * Users with push access to the repository can create a release. - * - * This endpoint triggers [notifications](https://docs.github.com/en/github/managing-subscriptions-and-notifications-on-github/about-notifications). Creating content too quickly using this endpoint may result in abuse rate limiting. See "[Abuse rate limits](https://docs.github.com/rest/overview/resources-in-the-rest-api#abuse-rate-limits)" and "[Dealing with abuse rate limits](https://docs.github.com/rest/guides/best-practices-for-integrators#dealing-with-rate-limits)" for details. - */ - post: operations["repos/create-release"]; - }; - "/repos/{owner}/{repo}/releases/assets/{asset_id}": { - /** To download the asset's binary content, set the `Accept` header of the request to [`application/octet-stream`](https://docs.github.com/rest/overview/media-types). The API will either redirect the client to the location, or stream it directly if possible. API clients should handle both a `200` or `302` response. */ - get: operations["repos/get-release-asset"]; - delete: operations["repos/delete-release-asset"]; - /** Users with push access to the repository can edit a release asset. */ - patch: operations["repos/update-release-asset"]; - }; - "/repos/{owner}/{repo}/releases/latest": { - /** - * View the latest published full release for the repository. - * - * The latest release is the most recent non-prerelease, non-draft release, sorted by the `created_at` attribute. The `created_at` attribute is the date of the commit used for the release, and not the date when the release was drafted or published. - */ - get: operations["repos/get-latest-release"]; - }; - "/repos/{owner}/{repo}/releases/tags/{tag}": { - /** Get a published release with the specified tag. */ - get: operations["repos/get-release-by-tag"]; - }; - "/repos/{owner}/{repo}/releases/{release_id}": { - /** **Note:** This returns an `upload_url` key corresponding to the endpoint for uploading release assets. This key is a [hypermedia resource](https://docs.github.com/rest/overview/resources-in-the-rest-api#hypermedia). */ - get: operations["repos/get-release"]; - /** Users with push access to the repository can delete a release. */ - delete: operations["repos/delete-release"]; - /** Users with push access to the repository can edit a release. */ - patch: operations["repos/update-release"]; - }; - "/repos/{owner}/{repo}/releases/{release_id}/assets": { - get: operations["repos/list-release-assets"]; - /** - * This endpoint makes use of [a Hypermedia relation](https://docs.github.com/rest/overview/resources-in-the-rest-api#hypermedia) to determine which URL to access. The endpoint you call to upload release assets is specific to your release. Use the `upload_url` returned in - * the response of the [Create a release endpoint](https://docs.github.com/rest/reference/repos#create-a-release) to upload a release asset. - * - * You need to use an HTTP client which supports [SNI](http://en.wikipedia.org/wiki/Server_Name_Indication) to make calls to this endpoint. - * - * Most libraries will set the required `Content-Length` header automatically. Use the required `Content-Type` header to provide the media type of the asset. For a list of media types, see [Media Types](https://www.iana.org/assignments/media-types/media-types.xhtml). For example: - * - * `application/zip` - * - * GitHub expects the asset data in its raw binary form, rather than JSON. You will send the raw binary content of the asset as the request body. Everything else about the endpoint is the same as the rest of the API. For example, - * you'll still need to pass your authentication to be able to upload an asset. - * - * When an upstream failure occurs, you will receive a `502 Bad Gateway` status. This may leave an empty asset with a state of `starter`. It can be safely deleted. - * - * **Notes:** - * * GitHub renames asset filenames that have special characters, non-alphanumeric characters, and leading or trailing periods. The "[List assets for a release](https://docs.github.com/rest/reference/repos#list-assets-for-a-release)" - * endpoint lists the renamed filenames. For more information and help, contact [GitHub Support](https://support.github.com/contact). - * * If you upload an asset with the same filename as another uploaded asset, you'll receive an error and must delete the old file before you can re-upload the new asset. - */ - post: operations["repos/upload-release-asset"]; - }; - "/repos/{owner}/{repo}/releases/{release_id}/reactions": { - /** Create a reaction to a [release](https://docs.github.com/rest/reference/repos#releases). A response with a `Status: 200 OK` means that you already added the reaction type to this release. */ - post: operations["reactions/create-for-release"]; - }; - "/repos/{owner}/{repo}/secret-scanning/alerts": { - /** - * Lists all secret scanning alerts for a private repository, from newest to oldest. To use this endpoint, you must be an administrator for the repository or organization, and you must use an access token with the `repo` scope or `security_events` scope. - * - * GitHub Apps must have the `secret_scanning_alerts` read permission to use this endpoint. - */ - get: operations["secret-scanning/list-alerts-for-repo"]; - }; - "/repos/{owner}/{repo}/secret-scanning/alerts/{alert_number}": { - /** - * Gets a single secret scanning alert detected in a private repository. To use this endpoint, you must be an administrator for the repository or organization, and you must use an access token with the `repo` scope or `security_events` scope. - * - * GitHub Apps must have the `secret_scanning_alerts` read permission to use this endpoint. - */ - get: operations["secret-scanning/get-alert"]; - /** - * Updates the status of a secret scanning alert in a private repository. To use this endpoint, you must be an administrator for the repository or organization, and you must use an access token with the `repo` scope or `security_events` scope. - * - * GitHub Apps must have the `secret_scanning_alerts` write permission to use this endpoint. - */ - patch: operations["secret-scanning/update-alert"]; - }; - "/repos/{owner}/{repo}/stargazers": { - /** - * Lists the people that have starred the repository. - * - * You can also find out _when_ stars were created by passing the following custom [media type](https://docs.github.com/rest/overview/media-types/) via the `Accept` header: - */ - get: operations["activity/list-stargazers-for-repo"]; - }; - "/repos/{owner}/{repo}/stats/code_frequency": { - /** Returns a weekly aggregate of the number of additions and deletions pushed to a repository. */ - get: operations["repos/get-code-frequency-stats"]; - }; - "/repos/{owner}/{repo}/stats/commit_activity": { - /** Returns the last year of commit activity grouped by week. The `days` array is a group of commits per day, starting on `Sunday`. */ - get: operations["repos/get-commit-activity-stats"]; - }; - "/repos/{owner}/{repo}/stats/contributors": { - /** - * Returns the `total` number of commits authored by the contributor. In addition, the response includes a Weekly Hash (`weeks` array) with the following information: - * - * * `w` - Start of the week, given as a [Unix timestamp](http://en.wikipedia.org/wiki/Unix_time). - * * `a` - Number of additions - * * `d` - Number of deletions - * * `c` - Number of commits - */ - get: operations["repos/get-contributors-stats"]; - }; - "/repos/{owner}/{repo}/stats/participation": { - /** - * Returns the total commit counts for the `owner` and total commit counts in `all`. `all` is everyone combined, including the `owner` in the last 52 weeks. If you'd like to get the commit counts for non-owners, you can subtract `owner` from `all`. - * - * The array order is oldest week (index 0) to most recent week. - */ - get: operations["repos/get-participation-stats"]; - }; - "/repos/{owner}/{repo}/stats/punch_card": { - /** - * Each array contains the day number, hour number, and number of commits: - * - * * `0-6`: Sunday - Saturday - * * `0-23`: Hour of day - * * Number of commits - * - * For example, `[2, 14, 25]` indicates that there were 25 total commits, during the 2:00pm hour on Tuesdays. All times are based on the time zone of individual commits. - */ - get: operations["repos/get-punch-card-stats"]; - }; - "/repos/{owner}/{repo}/statuses/{sha}": { - /** - * Users with push access in a repository can create commit statuses for a given SHA. - * - * Note: there is a limit of 1000 statuses per `sha` and `context` within a repository. Attempts to create more than 1000 statuses will result in a validation error. - */ - post: operations["repos/create-commit-status"]; - }; - "/repos/{owner}/{repo}/subscribers": { - /** Lists the people watching the specified repository. */ - get: operations["activity/list-watchers-for-repo"]; - }; - "/repos/{owner}/{repo}/subscription": { - get: operations["activity/get-repo-subscription"]; - /** If you would like to watch a repository, set `subscribed` to `true`. If you would like to ignore notifications made within a repository, set `ignored` to `true`. If you would like to stop watching a repository, [delete the repository's subscription](https://docs.github.com/rest/reference/activity#delete-a-repository-subscription) completely. */ - put: operations["activity/set-repo-subscription"]; - /** This endpoint should only be used to stop watching a repository. To control whether or not you wish to receive notifications from a repository, [set the repository's subscription manually](https://docs.github.com/rest/reference/activity#set-a-repository-subscription). */ - delete: operations["activity/delete-repo-subscription"]; - }; - "/repos/{owner}/{repo}/tags": { - get: operations["repos/list-tags"]; - }; - "/repos/{owner}/{repo}/tarball/{ref}": { - /** - * Gets a redirect URL to download a tar archive for a repository. If you omit `:ref`, the repository’s default branch (usually - * `master`) will be used. Please make sure your HTTP framework is configured to follow redirects or you will need to use - * the `Location` header to make a second `GET` request. - * **Note**: For private repositories, these links are temporary and expire after five minutes. - */ - get: operations["repos/download-tarball-archive"]; - }; - "/repos/{owner}/{repo}/teams": { - get: operations["repos/list-teams"]; - }; - "/repos/{owner}/{repo}/topics": { - get: operations["repos/get-all-topics"]; - put: operations["repos/replace-all-topics"]; - }; - "/repos/{owner}/{repo}/traffic/clones": { - /** Get the total number of clones and breakdown per day or week for the last 14 days. Timestamps are aligned to UTC midnight of the beginning of the day or week. Week begins on Monday. */ - get: operations["repos/get-clones"]; - }; - "/repos/{owner}/{repo}/traffic/popular/paths": { - /** Get the top 10 popular contents over the last 14 days. */ - get: operations["repos/get-top-paths"]; - }; - "/repos/{owner}/{repo}/traffic/popular/referrers": { - /** Get the top 10 referrers over the last 14 days. */ - get: operations["repos/get-top-referrers"]; - }; - "/repos/{owner}/{repo}/traffic/views": { - /** Get the total number of views and breakdown per day or week for the last 14 days. Timestamps are aligned to UTC midnight of the beginning of the day or week. Week begins on Monday. */ - get: operations["repos/get-views"]; - }; - "/repos/{owner}/{repo}/transfer": { - /** A transfer request will need to be accepted by the new owner when transferring a personal repository to another user. The response will contain the original `owner`, and the transfer will continue asynchronously. For more details on the requirements to transfer personal and organization-owned repositories, see [about repository transfers](https://help.github.com/articles/about-repository-transfers/). */ - post: operations["repos/transfer"]; - }; - "/repos/{owner}/{repo}/vulnerability-alerts": { - /** Shows whether dependency alerts are enabled or disabled for a repository. The authenticated user must have admin access to the repository. For more information, see "[About security alerts for vulnerable dependencies](https://help.github.com/en/articles/about-security-alerts-for-vulnerable-dependencies)". */ - get: operations["repos/check-vulnerability-alerts"]; - /** Enables dependency alerts and the dependency graph for a repository. The authenticated user must have admin access to the repository. For more information, see "[About security alerts for vulnerable dependencies](https://help.github.com/en/articles/about-security-alerts-for-vulnerable-dependencies)". */ - put: operations["repos/enable-vulnerability-alerts"]; - /** Disables dependency alerts and the dependency graph for a repository. The authenticated user must have admin access to the repository. For more information, see "[About security alerts for vulnerable dependencies](https://help.github.com/en/articles/about-security-alerts-for-vulnerable-dependencies)". */ - delete: operations["repos/disable-vulnerability-alerts"]; - }; - "/repos/{owner}/{repo}/zipball/{ref}": { - /** - * Gets a redirect URL to download a zip archive for a repository. If you omit `:ref`, the repository’s default branch (usually - * `master`) will be used. Please make sure your HTTP framework is configured to follow redirects or you will need to use - * the `Location` header to make a second `GET` request. - * **Note**: For private repositories, these links are temporary and expire after five minutes. - */ - get: operations["repos/download-zipball-archive"]; - }; - "/repos/{template_owner}/{template_repo}/generate": { - /** - * Creates a new repository using a repository template. Use the `template_owner` and `template_repo` route parameters to specify the repository to use as the template. The authenticated user must own or be a member of an organization that owns the repository. To check if a repository is available to use as a template, get the repository's information using the [Get a repository](https://docs.github.com/rest/reference/repos#get-a-repository) endpoint and check that the `is_template` key is `true`. - * - * **OAuth scope requirements** - * - * When using [OAuth](https://docs.github.com/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/), authorizations must include: - * - * * `public_repo` scope or `repo` scope to create a public repository. Note: For GitHub AE, use `repo` scope to create an internal repository. - * * `repo` scope to create a private repository - */ - post: operations["repos/create-using-template"]; - }; - "/repositories": { - /** - * Lists all public repositories in the order that they were created. - * - * Note: - * - For GitHub Enterprise Server, this endpoint will only list repositories available to all users on the enterprise. - * - Pagination is powered exclusively by the `since` parameter. Use the [Link header](https://docs.github.com/rest/overview/resources-in-the-rest-api#link-header) to get the URL for the next page of repositories. - */ - get: operations["repos/list-public"]; - }; - "/repositories/{repository_id}/environments/{environment_name}/secrets": { - /** Lists all secrets available in an environment without revealing their encrypted values. You must authenticate using an access token with the `repo` scope to use this endpoint. GitHub Apps must have the `secrets` repository permission to use this endpoint. */ - get: operations["actions/list-environment-secrets"]; - }; - "/repositories/{repository_id}/environments/{environment_name}/secrets/public-key": { - /** Get the public key for an environment, which you need to encrypt environment secrets. You need to encrypt a secret before you can create or update secrets. Anyone with read access to the repository can use this endpoint. If the repository is private you must use an access token with the `repo` scope. GitHub Apps must have the `secrets` repository permission to use this endpoint. */ - get: operations["actions/get-environment-public-key"]; - }; - "/repositories/{repository_id}/environments/{environment_name}/secrets/{secret_name}": { - /** Gets a single environment secret without revealing its encrypted value. You must authenticate using an access token with the `repo` scope to use this endpoint. GitHub Apps must have the `secrets` repository permission to use this endpoint. */ - get: operations["actions/get-environment-secret"]; - /** - * Creates or updates an environment secret with an encrypted value. Encrypt your secret using - * [LibSodium](https://libsodium.gitbook.io/doc/bindings_for_other_languages). You must authenticate using an access - * token with the `repo` scope to use this endpoint. GitHub Apps must have the `secrets` repository permission to use - * this endpoint. - * - * #### Example encrypting a secret using Node.js - * - * Encrypt your secret using the [tweetsodium](https://github.com/github/tweetsodium) library. - * - * ``` - * const sodium = require('tweetsodium'); - * - * const key = "base64-encoded-public-key"; - * const value = "plain-text-secret"; - * - * // Convert the message and key to Uint8Array's (Buffer implements that interface) - * const messageBytes = Buffer.from(value); - * const keyBytes = Buffer.from(key, 'base64'); - * - * // Encrypt using LibSodium. - * const encryptedBytes = sodium.seal(messageBytes, keyBytes); - * - * // Base64 the encrypted secret - * const encrypted = Buffer.from(encryptedBytes).toString('base64'); - * - * console.log(encrypted); - * ``` - * - * - * #### Example encrypting a secret using Python - * - * Encrypt your secret using [pynacl](https://pynacl.readthedocs.io/en/stable/public/#nacl-public-sealedbox) with Python 3. - * - * ``` - * from base64 import b64encode - * from nacl import encoding, public - * - * def encrypt(public_key: str, secret_value: str) -> str: - * """Encrypt a Unicode string using the public key.""" - * public_key = public.PublicKey(public_key.encode("utf-8"), encoding.Base64Encoder()) - * sealed_box = public.SealedBox(public_key) - * encrypted = sealed_box.encrypt(secret_value.encode("utf-8")) - * return b64encode(encrypted).decode("utf-8") - * ``` - * - * #### Example encrypting a secret using C# - * - * Encrypt your secret using the [Sodium.Core](https://www.nuget.org/packages/Sodium.Core/) package. - * - * ``` - * var secretValue = System.Text.Encoding.UTF8.GetBytes("mySecret"); - * var publicKey = Convert.FromBase64String("2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvvcCU="); - * - * var sealedPublicKeyBox = Sodium.SealedPublicKeyBox.Create(secretValue, publicKey); - * - * Console.WriteLine(Convert.ToBase64String(sealedPublicKeyBox)); - * ``` - * - * #### Example encrypting a secret using Ruby - * - * Encrypt your secret using the [rbnacl](https://github.com/RubyCrypto/rbnacl) gem. - * - * ```ruby - * require "rbnacl" - * require "base64" - * - * key = Base64.decode64("+ZYvJDZMHUfBkJdyq5Zm9SKqeuBQ4sj+6sfjlH4CgG0=") - * public_key = RbNaCl::PublicKey.new(key) - * - * box = RbNaCl::Boxes::Sealed.from_public_key(public_key) - * encrypted_secret = box.encrypt("my_secret") - * - * # Print the base64 encoded secret - * puts Base64.strict_encode64(encrypted_secret) - * ``` - */ - put: operations["actions/create-or-update-environment-secret"]; - /** Deletes a secret in an environment using the secret name. You must authenticate using an access token with the `repo` scope to use this endpoint. GitHub Apps must have the `secrets` repository permission to use this endpoint. */ - delete: operations["actions/delete-environment-secret"]; - }; - "/scim/v2/enterprises/{enterprise}/Groups": { - /** **Note:** The SCIM API endpoints for enterprise accounts are currently in beta and are subject to change. */ - get: operations["enterprise-admin/list-provisioned-groups-enterprise"]; - /** - * **Note:** The SCIM API endpoints for enterprise accounts are currently in beta and are subject to change. - * - * Provision an enterprise group, and invite users to the group. This sends invitation emails to the email address of the invited users to join the GitHub organization that the SCIM group corresponds to. - */ - post: operations["enterprise-admin/provision-and-invite-enterprise-group"]; - }; - "/scim/v2/enterprises/{enterprise}/Groups/{scim_group_id}": { - /** **Note:** The SCIM API endpoints for enterprise accounts are currently in beta and are subject to change. */ - get: operations["enterprise-admin/get-provisioning-information-for-enterprise-group"]; - /** - * **Note:** The SCIM API endpoints for enterprise accounts are currently in beta and are subject to change. - * - * Replaces an existing provisioned group’s information. You must provide all the information required for the group as if you were provisioning it for the first time. Any existing group information that you don't provide will be removed, including group membership. If you want to only update a specific attribute, use the [Update an attribute for a SCIM enterprise group](#update-an-attribute-for-a-scim-enterprise-group) endpoint instead. - */ - put: operations["enterprise-admin/set-information-for-provisioned-enterprise-group"]; - /** **Note:** The SCIM API endpoints for enterprise accounts are currently in beta and are subject to change. */ - delete: operations["enterprise-admin/delete-scim-group-from-enterprise"]; - /** - * **Note:** The SCIM API endpoints for enterprise accounts are currently in beta and are subject to change. - * - * Allows you to change a provisioned group’s individual attributes. To change a group’s values, you must provide a specific Operations JSON format that contains at least one of the add, remove, or replace operations. For examples and more information on the SCIM operations format, see the [SCIM specification](https://tools.ietf.org/html/rfc7644#section-3.5.2). - */ - patch: operations["enterprise-admin/update-attribute-for-enterprise-group"]; - }; - "/scim/v2/enterprises/{enterprise}/Users": { - /** - * **Note:** The SCIM API endpoints for enterprise accounts are currently in beta and are subject to change. - * - * Retrieves a paginated list of all provisioned enterprise members, including pending invitations. - * - * When a user with a SAML-provisioned external identity leaves (or is removed from) an enterprise, the account's metadata is immediately removed. However, the returned list of user accounts might not always match the organization or enterprise member list you see on GitHub. This can happen in certain cases where an external identity associated with an organization will not match an organization member: - * - When a user with a SCIM-provisioned external identity is removed from an enterprise, the account's metadata is preserved to allow the user to re-join the organization in the future. - * - When inviting a user to join an organization, you can expect to see their external identity in the results before they accept the invitation, or if the invitation is cancelled (or never accepted). - * - When a user is invited over SCIM, an external identity is created that matches with the invitee's email address. However, this identity is only linked to a user account when the user accepts the invitation by going through SAML SSO. - * - * The returned list of external identities can include an entry for a `null` user. These are unlinked SAML identities that are created when a user goes through the following Single Sign-On (SSO) process but does not sign in to their GitHub account after completing SSO: - * - * 1. The user is granted access by the IdP and is not a member of the GitHub enterprise. - * - * 1. The user attempts to access the GitHub enterprise and initiates the SAML SSO process, and is not currently signed in to their GitHub account. - * - * 1. After successfully authenticating with the SAML SSO IdP, the `null` external identity entry is created and the user is prompted to sign in to their GitHub account: - * - If the user signs in, their GitHub account is linked to this entry. - * - If the user does not sign in (or does not create a new account when prompted), they are not added to the GitHub enterprise, and the external identity `null` entry remains in place. - */ - get: operations["enterprise-admin/list-provisioned-identities-enterprise"]; - /** - * **Note:** The SCIM API endpoints for enterprise accounts are currently in beta and are subject to change. - * - * Provision enterprise membership for a user, and send organization invitation emails to the email address. - * - * You can optionally include the groups a user will be invited to join. If you do not provide a list of `groups`, the user is provisioned for the enterprise, but no organization invitation emails will be sent. - */ - post: operations["enterprise-admin/provision-and-invite-enterprise-user"]; - }; - "/scim/v2/enterprises/{enterprise}/Users/{scim_user_id}": { - /** **Note:** The SCIM API endpoints for enterprise accounts are currently in beta and are subject to change. */ - get: operations["enterprise-admin/get-provisioning-information-for-enterprise-user"]; - /** - * **Note:** The SCIM API endpoints for enterprise accounts are currently in beta and are subject to change. - * - * Replaces an existing provisioned user's information. You must provide all the information required for the user as if you were provisioning them for the first time. Any existing user information that you don't provide will be removed. If you want to only update a specific attribute, use the [Update an attribute for a SCIM user](#update-an-attribute-for-an-enterprise-scim-user) endpoint instead. - * - * You must at least provide the required values for the user: `userName`, `name`, and `emails`. - * - * **Warning:** Setting `active: false` removes the user from the enterprise, deletes the external identity, and deletes the associated `{scim_user_id}`. - */ - put: operations["enterprise-admin/set-information-for-provisioned-enterprise-user"]; - /** **Note:** The SCIM API endpoints for enterprise accounts are currently in beta and are subject to change. */ - delete: operations["enterprise-admin/delete-user-from-enterprise"]; - /** - * **Note:** The SCIM API endpoints for enterprise accounts are currently in beta and are subject to change. - * - * Allows you to change a provisioned user's individual attributes. To change a user's values, you must provide a specific `Operations` JSON format that contains at least one of the `add`, `remove`, or `replace` operations. For examples and more information on the SCIM operations format, see the [SCIM specification](https://tools.ietf.org/html/rfc7644#section-3.5.2). - * - * **Note:** Complicated SCIM `path` selectors that include filters are not supported. For example, a `path` selector defined as `"path": "emails[type eq \"work\"]"` will not work. - * - * **Warning:** If you set `active:false` using the `replace` operation (as shown in the JSON example below), it removes the user from the enterprise, deletes the external identity, and deletes the associated `:scim_user_id`. - * - * ``` - * { - * "Operations":[{ - * "op":"replace", - * "value":{ - * "active":false - * } - * }] - * } - * ``` - */ - patch: operations["enterprise-admin/update-attribute-for-enterprise-user"]; - }; - "/scim/v2/organizations/{org}/Users": { - /** - * Retrieves a paginated list of all provisioned organization members, including pending invitations. If you provide the `filter` parameter, the resources for all matching provisions members are returned. - * - * When a user with a SAML-provisioned external identity leaves (or is removed from) an organization, the account's metadata is immediately removed. However, the returned list of user accounts might not always match the organization or enterprise member list you see on GitHub. This can happen in certain cases where an external identity associated with an organization will not match an organization member: - * - When a user with a SCIM-provisioned external identity is removed from an organization, the account's metadata is preserved to allow the user to re-join the organization in the future. - * - When inviting a user to join an organization, you can expect to see their external identity in the results before they accept the invitation, or if the invitation is cancelled (or never accepted). - * - When a user is invited over SCIM, an external identity is created that matches with the invitee's email address. However, this identity is only linked to a user account when the user accepts the invitation by going through SAML SSO. - * - * The returned list of external identities can include an entry for a `null` user. These are unlinked SAML identities that are created when a user goes through the following Single Sign-On (SSO) process but does not sign in to their GitHub account after completing SSO: - * - * 1. The user is granted access by the IdP and is not a member of the GitHub organization. - * - * 1. The user attempts to access the GitHub organization and initiates the SAML SSO process, and is not currently signed in to their GitHub account. - * - * 1. After successfully authenticating with the SAML SSO IdP, the `null` external identity entry is created and the user is prompted to sign in to their GitHub account: - * - If the user signs in, their GitHub account is linked to this entry. - * - If the user does not sign in (or does not create a new account when prompted), they are not added to the GitHub organization, and the external identity `null` entry remains in place. - */ - get: operations["scim/list-provisioned-identities"]; - /** Provision organization membership for a user, and send an activation email to the email address. */ - post: operations["scim/provision-and-invite-user"]; - }; - "/scim/v2/organizations/{org}/Users/{scim_user_id}": { - get: operations["scim/get-provisioning-information-for-user"]; - /** - * Replaces an existing provisioned user's information. You must provide all the information required for the user as if you were provisioning them for the first time. Any existing user information that you don't provide will be removed. If you want to only update a specific attribute, use the [Update an attribute for a SCIM user](https://docs.github.com/rest/reference/scim#update-an-attribute-for-a-scim-user) endpoint instead. - * - * You must at least provide the required values for the user: `userName`, `name`, and `emails`. - * - * **Warning:** Setting `active: false` removes the user from the organization, deletes the external identity, and deletes the associated `{scim_user_id}`. - */ - put: operations["scim/set-information-for-provisioned-user"]; - delete: operations["scim/delete-user-from-org"]; - /** - * Allows you to change a provisioned user's individual attributes. To change a user's values, you must provide a specific `Operations` JSON format that contains at least one of the `add`, `remove`, or `replace` operations. For examples and more information on the SCIM operations format, see the [SCIM specification](https://tools.ietf.org/html/rfc7644#section-3.5.2). - * - * **Note:** Complicated SCIM `path` selectors that include filters are not supported. For example, a `path` selector defined as `"path": "emails[type eq \"work\"]"` will not work. - * - * **Warning:** If you set `active:false` using the `replace` operation (as shown in the JSON example below), it removes the user from the organization, deletes the external identity, and deletes the associated `:scim_user_id`. - * - * ``` - * { - * "Operations":[{ - * "op":"replace", - * "value":{ - * "active":false - * } - * }] - * } - * ``` - */ - patch: operations["scim/update-attribute-for-user"]; - }; - "/search/code": { - /** - * Searches for query terms inside of a file. This method returns up to 100 results [per page](https://docs.github.com/rest/overview/resources-in-the-rest-api#pagination). - * - * When searching for code, you can get text match metadata for the file **content** and file **path** fields when you pass the `text-match` media type. For more details about how to receive highlighted search results, see [Text match metadata](https://docs.github.com/rest/reference/search#text-match-metadata). - * - * For example, if you want to find the definition of the `addClass` function inside [jQuery](https://github.com/jquery/jquery) repository, your query would look something like this: - * - * `q=addClass+in:file+language:js+repo:jquery/jquery` - * - * This query searches for the keyword `addClass` within a file's contents. The query limits the search to files where the language is JavaScript in the `jquery/jquery` repository. - * - * #### Considerations for code search - * - * Due to the complexity of searching code, there are a few restrictions on how searches are performed: - * - * * Only the _default branch_ is considered. In most cases, this will be the `master` branch. - * * Only files smaller than 384 KB are searchable. - * * You must always include at least one search term when searching source code. For example, searching for [`language:go`](https://github.com/search?utf8=%E2%9C%93&q=language%3Ago&type=Code) is not valid, while [`amazing - * language:go`](https://github.com/search?utf8=%E2%9C%93&q=amazing+language%3Ago&type=Code) is. - */ - get: operations["search/code"]; - }; - "/search/commits": { - /** - * Find commits via various criteria on the default branch (usually `master`). This method returns up to 100 results [per page](https://docs.github.com/rest/overview/resources-in-the-rest-api#pagination). - * - * When searching for commits, you can get text match metadata for the **message** field when you provide the `text-match` media type. For more details about how to receive highlighted search results, see [Text match - * metadata](https://docs.github.com/rest/reference/search#text-match-metadata). - * - * For example, if you want to find commits related to CSS in the [octocat/Spoon-Knife](https://github.com/octocat/Spoon-Knife) repository. Your query would look something like this: - * - * `q=repo:octocat/Spoon-Knife+css` - */ - get: operations["search/commits"]; - }; - "/search/issues": { - /** - * Find issues by state and keyword. This method returns up to 100 results [per page](https://docs.github.com/rest/overview/resources-in-the-rest-api#pagination). - * - * When searching for issues, you can get text match metadata for the issue **title**, issue **body**, and issue **comment body** fields when you pass the `text-match` media type. For more details about how to receive highlighted - * search results, see [Text match metadata](https://docs.github.com/rest/reference/search#text-match-metadata). - * - * For example, if you want to find the oldest unresolved Python bugs on Windows. Your query might look something like this. - * - * `q=windows+label:bug+language:python+state:open&sort=created&order=asc` - * - * This query searches for the keyword `windows`, within any open issue that is labeled as `bug`. The search runs across repositories whose primary language is Python. The results are sorted by creation date in ascending order, which means the oldest issues appear first in the search results. - * - * **Note:** For [user-to-server](https://docs.github.com/developers/apps/identifying-and-authorizing-users-for-github-apps#user-to-server-requests) GitHub App requests, you can't retrieve a combination of issues and pull requests in a single query. Requests that don't include the `is:issue` or `is:pull-request` qualifier will receive an HTTP `422 Unprocessable Entity` response. To get results for both issues and pull requests, you must send separate queries for issues and pull requests. For more information about the `is` qualifier, see "[Searching only issues or pull requests](https://docs.github.com/github/searching-for-information-on-github/searching-issues-and-pull-requests#search-only-issues-or-pull-requests)." - */ - get: operations["search/issues-and-pull-requests"]; - }; - "/search/labels": { - /** - * Find labels in a repository with names or descriptions that match search keywords. Returns up to 100 results [per page](https://docs.github.com/rest/overview/resources-in-the-rest-api#pagination). - * - * When searching for labels, you can get text match metadata for the label **name** and **description** fields when you pass the `text-match` media type. For more details about how to receive highlighted search results, see [Text match metadata](https://docs.github.com/rest/reference/search#text-match-metadata). - * - * For example, if you want to find labels in the `linguist` repository that match `bug`, `defect`, or `enhancement`. Your query might look like this: - * - * `q=bug+defect+enhancement&repository_id=64778136` - * - * The labels that best match the query appear first in the search results. - */ - get: operations["search/labels"]; - }; - "/search/repositories": { - /** - * Find repositories via various criteria. This method returns up to 100 results [per page](https://docs.github.com/rest/overview/resources-in-the-rest-api#pagination). - * - * When searching for repositories, you can get text match metadata for the **name** and **description** fields when you pass the `text-match` media type. For more details about how to receive highlighted search results, see [Text match metadata](https://docs.github.com/rest/reference/search#text-match-metadata). - * - * For example, if you want to search for popular Tetris repositories written in assembly code, your query might look like this: - * - * `q=tetris+language:assembly&sort=stars&order=desc` - * - * This query searches for repositories with the word `tetris` in the name, the description, or the README. The results are limited to repositories where the primary language is assembly. The results are sorted by stars in descending order, so that the most popular repositories appear first in the search results. - * - * When you include the `mercy` preview header, you can also search for multiple topics by adding more `topic:` instances. For example, your query might look like this: - * - * `q=topic:ruby+topic:rails` - */ - get: operations["search/repos"]; - }; - "/search/topics": { - /** - * Find topics via various criteria. Results are sorted by best match. This method returns up to 100 results [per page](https://docs.github.com/rest/overview/resources-in-the-rest-api#pagination). See "[Searching topics](https://help.github.com/articles/searching-topics/)" for a detailed list of qualifiers. - * - * When searching for topics, you can get text match metadata for the topic's **short\_description**, **description**, **name**, or **display\_name** field when you pass the `text-match` media type. For more details about how to receive highlighted search results, see [Text match metadata](https://docs.github.com/rest/reference/search#text-match-metadata). - * - * For example, if you want to search for topics related to Ruby that are featured on https://github.com/topics. Your query might look like this: - * - * `q=ruby+is:featured` - * - * This query searches for topics with the keyword `ruby` and limits the results to find only topics that are featured. The topics that are the best match for the query appear first in the search results. - */ - get: operations["search/topics"]; - }; - "/search/users": { - /** - * Find users via various criteria. This method returns up to 100 results [per page](https://docs.github.com/rest/overview/resources-in-the-rest-api#pagination). - * - * When searching for users, you can get text match metadata for the issue **login**, **email**, and **name** fields when you pass the `text-match` media type. For more details about highlighting search results, see [Text match metadata](https://docs.github.com/rest/reference/search#text-match-metadata). For more details about how to receive highlighted search results, see [Text match metadata](https://docs.github.com/rest/reference/search#text-match-metadata). - * - * For example, if you're looking for a list of popular users, you might try this query: - * - * `q=tom+repos:%3E42+followers:%3E1000` - * - * This query searches for users with the name `tom`. The results are restricted to users with more than 42 repositories and over 1,000 followers. - */ - get: operations["search/users"]; - }; - "/teams/{team_id}": { - /** **Deprecation Notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the [Get a team by name](https://docs.github.com/rest/reference/teams#get-a-team-by-name) endpoint. */ - get: operations["teams/get-legacy"]; - /** - * **Deprecation Notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [Delete a team](https://docs.github.com/rest/reference/teams#delete-a-team) endpoint. - * - * To delete a team, the authenticated user must be an organization owner or team maintainer. - * - * If you are an organization owner, deleting a parent team will delete all of its child teams as well. - */ - delete: operations["teams/delete-legacy"]; - /** - * **Deprecation Notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [Update a team](https://docs.github.com/rest/reference/teams#update-a-team) endpoint. - * - * To edit a team, the authenticated user must either be an organization owner or a team maintainer. - * - * **Note:** With nested teams, the `privacy` for parent teams cannot be `secret`. - */ - patch: operations["teams/update-legacy"]; - }; - "/teams/{team_id}/discussions": { - /** - * **Deprecation Notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [`List discussions`](https://docs.github.com/rest/reference/teams#list-discussions) endpoint. - * - * List all discussions on a team's page. OAuth access tokens require the `read:discussion` [scope](https://docs.github.com/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/). - */ - get: operations["teams/list-discussions-legacy"]; - /** - * **Deprecation Notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [`Create a discussion`](https://docs.github.com/rest/reference/teams#create-a-discussion) endpoint. - * - * Creates a new discussion post on a team's page. OAuth access tokens require the `write:discussion` [scope](https://docs.github.com/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/). - * - * This endpoint triggers [notifications](https://docs.github.com/en/github/managing-subscriptions-and-notifications-on-github/about-notifications). Creating content too quickly using this endpoint may result in abuse rate limiting. See "[Abuse rate limits](https://docs.github.com/rest/overview/resources-in-the-rest-api#abuse-rate-limits)" and "[Dealing with abuse rate limits](https://docs.github.com/rest/guides/best-practices-for-integrators#dealing-with-rate-limits)" for details. - */ - post: operations["teams/create-discussion-legacy"]; - }; - "/teams/{team_id}/discussions/{discussion_number}": { - /** - * **Deprecation Notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [Get a discussion](https://docs.github.com/rest/reference/teams#get-a-discussion) endpoint. - * - * Get a specific discussion on a team's page. OAuth access tokens require the `read:discussion` [scope](https://docs.github.com/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/). - */ - get: operations["teams/get-discussion-legacy"]; - /** - * **Deprecation Notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [`Delete a discussion`](https://docs.github.com/rest/reference/teams#delete-a-discussion) endpoint. - * - * Delete a discussion from a team's page. OAuth access tokens require the `write:discussion` [scope](https://docs.github.com/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/). - */ - delete: operations["teams/delete-discussion-legacy"]; - /** - * **Deprecation Notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [Update a discussion](https://docs.github.com/rest/reference/teams#update-a-discussion) endpoint. - * - * Edits the title and body text of a discussion post. Only the parameters you provide are updated. OAuth access tokens require the `write:discussion` [scope](https://docs.github.com/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/). - */ - patch: operations["teams/update-discussion-legacy"]; - }; - "/teams/{team_id}/discussions/{discussion_number}/comments": { - /** - * **Deprecation Notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [List discussion comments](https://docs.github.com/rest/reference/teams#list-discussion-comments) endpoint. - * - * List all comments on a team discussion. OAuth access tokens require the `read:discussion` [scope](https://docs.github.com/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/). - */ - get: operations["teams/list-discussion-comments-legacy"]; - /** - * **Deprecation Notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [Create a discussion comment](https://docs.github.com/rest/reference/teams#create-a-discussion-comment) endpoint. - * - * Creates a new comment on a team discussion. OAuth access tokens require the `write:discussion` [scope](https://docs.github.com/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/). - * - * This endpoint triggers [notifications](https://docs.github.com/en/github/managing-subscriptions-and-notifications-on-github/about-notifications). Creating content too quickly using this endpoint may result in abuse rate limiting. See "[Abuse rate limits](https://docs.github.com/rest/overview/resources-in-the-rest-api#abuse-rate-limits)" and "[Dealing with abuse rate limits](https://docs.github.com/rest/guides/best-practices-for-integrators#dealing-with-rate-limits)" for details. - */ - post: operations["teams/create-discussion-comment-legacy"]; - }; - "/teams/{team_id}/discussions/{discussion_number}/comments/{comment_number}": { - /** - * **Deprecation Notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [Get a discussion comment](https://docs.github.com/rest/reference/teams#get-a-discussion-comment) endpoint. - * - * Get a specific comment on a team discussion. OAuth access tokens require the `read:discussion` [scope](https://docs.github.com/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/). - */ - get: operations["teams/get-discussion-comment-legacy"]; - /** - * **Deprecation Notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [Delete a discussion comment](https://docs.github.com/rest/reference/teams#delete-a-discussion-comment) endpoint. - * - * Deletes a comment on a team discussion. OAuth access tokens require the `write:discussion` [scope](https://docs.github.com/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/). - */ - delete: operations["teams/delete-discussion-comment-legacy"]; - /** - * **Deprecation Notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [Update a discussion comment](https://docs.github.com/rest/reference/teams#update-a-discussion-comment) endpoint. - * - * Edits the body text of a discussion comment. OAuth access tokens require the `write:discussion` [scope](https://docs.github.com/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/). - */ - patch: operations["teams/update-discussion-comment-legacy"]; - }; - "/teams/{team_id}/discussions/{discussion_number}/comments/{comment_number}/reactions": { - /** - * **Deprecation Notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [`List reactions for a team discussion comment`](https://docs.github.com/rest/reference/reactions#list-reactions-for-a-team-discussion-comment) endpoint. - * - * List the reactions to a [team discussion comment](https://docs.github.com/rest/reference/teams#discussion-comments). OAuth access tokens require the `read:discussion` [scope](https://docs.github.com/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/). - */ - get: operations["reactions/list-for-team-discussion-comment-legacy"]; - /** - * **Deprecation Notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new "[Create reaction for a team discussion comment](https://docs.github.com/rest/reference/reactions#create-reaction-for-a-team-discussion-comment)" endpoint. - * - * Create a reaction to a [team discussion comment](https://docs.github.com/rest/reference/teams#discussion-comments). OAuth access tokens require the `write:discussion` [scope](https://docs.github.com/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/). A response with an HTTP `200` status means that you already added the reaction type to this team discussion comment. - */ - post: operations["reactions/create-for-team-discussion-comment-legacy"]; - }; - "/teams/{team_id}/discussions/{discussion_number}/reactions": { - /** - * **Deprecation Notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [`List reactions for a team discussion`](https://docs.github.com/rest/reference/reactions#list-reactions-for-a-team-discussion) endpoint. - * - * List the reactions to a [team discussion](https://docs.github.com/rest/reference/teams#discussions). OAuth access tokens require the `read:discussion` [scope](https://docs.github.com/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/). - */ - get: operations["reactions/list-for-team-discussion-legacy"]; - /** - * **Deprecation Notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [`Create reaction for a team discussion`](https://docs.github.com/rest/reference/reactions#create-reaction-for-a-team-discussion) endpoint. - * - * Create a reaction to a [team discussion](https://docs.github.com/rest/reference/teams#discussions). OAuth access tokens require the `write:discussion` [scope](https://docs.github.com/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/). A response with an HTTP `200` status means that you already added the reaction type to this team discussion. - */ - post: operations["reactions/create-for-team-discussion-legacy"]; - }; - "/teams/{team_id}/invitations": { - /** - * **Deprecation Notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [`List pending team invitations`](https://docs.github.com/rest/reference/teams#list-pending-team-invitations) endpoint. - * - * The return hash contains a `role` field which refers to the Organization Invitation role and will be one of the following values: `direct_member`, `admin`, `billing_manager`, `hiring_manager`, or `reinstate`. If the invitee is not a GitHub member, the `login` field in the return hash will be `null`. - */ - get: operations["teams/list-pending-invitations-legacy"]; - }; - "/teams/{team_id}/members": { - /** - * **Deprecation Notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [`List team members`](https://docs.github.com/rest/reference/teams#list-team-members) endpoint. - * - * Team members will include the members of child teams. - */ - get: operations["teams/list-members-legacy"]; - }; - "/teams/{team_id}/members/{username}": { - /** - * The "Get team member" endpoint (described below) is deprecated. - * - * We recommend using the [Get team membership for a user](https://docs.github.com/rest/reference/teams#get-team-membership-for-a-user) endpoint instead. It allows you to get both active and pending memberships. - * - * To list members in a team, the team must be visible to the authenticated user. - */ - get: operations["teams/get-member-legacy"]; - /** - * The "Add team member" endpoint (described below) is deprecated. - * - * We recommend using the [Add or update team membership for a user](https://docs.github.com/rest/reference/teams#add-or-update-team-membership-for-a-user) endpoint instead. It allows you to invite new organization members to your teams. - * - * Team synchronization is available for organizations using GitHub Enterprise Cloud. For more information, see [GitHub's products](https://help.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation. - * - * To add someone to a team, the authenticated user must be an organization owner or a team maintainer in the team they're changing. The person being added to the team must be a member of the team's organization. - * - * **Note:** When you have team synchronization set up for a team with your organization's identity provider (IdP), you will see an error if you attempt to use the API for making changes to the team's membership. If you have access to manage group membership in your IdP, you can manage GitHub team membership through your identity provider, which automatically adds and removes team members in an organization. For more information, see "[Synchronizing teams between your identity provider and GitHub](https://help.github.com/articles/synchronizing-teams-between-your-identity-provider-and-github/)." - * - * Note that you'll need to set `Content-Length` to zero when calling out to this endpoint. For more information, see "[HTTP verbs](https://docs.github.com/rest/overview/resources-in-the-rest-api#http-verbs)." - */ - put: operations["teams/add-member-legacy"]; - /** - * The "Remove team member" endpoint (described below) is deprecated. - * - * We recommend using the [Remove team membership for a user](https://docs.github.com/rest/reference/teams#remove-team-membership-for-a-user) endpoint instead. It allows you to remove both active and pending memberships. - * - * Team synchronization is available for organizations using GitHub Enterprise Cloud. For more information, see [GitHub's products](https://help.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation. - * - * To remove a team member, the authenticated user must have 'admin' permissions to the team or be an owner of the org that the team is associated with. Removing a team member does not delete the user, it just removes them from the team. - * - * **Note:** When you have team synchronization set up for a team with your organization's identity provider (IdP), you will see an error if you attempt to use the API for making changes to the team's membership. If you have access to manage group membership in your IdP, you can manage GitHub team membership through your identity provider, which automatically adds and removes team members in an organization. For more information, see "[Synchronizing teams between your identity provider and GitHub](https://help.github.com/articles/synchronizing-teams-between-your-identity-provider-and-github/)." - */ - delete: operations["teams/remove-member-legacy"]; - }; - "/teams/{team_id}/memberships/{username}": { - /** - * **Deprecation Notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [Get team membership for a user](https://docs.github.com/rest/reference/teams#get-team-membership-for-a-user) endpoint. - * - * Team members will include the members of child teams. - * - * To get a user's membership with a team, the team must be visible to the authenticated user. - * - * **Note:** - * The response contains the `state` of the membership and the member's `role`. - * - * The `role` for organization owners is set to `maintainer`. For more information about `maintainer` roles, see [Create a team](https://docs.github.com/rest/reference/teams#create-a-team). - */ - get: operations["teams/get-membership-for-user-legacy"]; - /** - * **Deprecation Notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [Add or update team membership for a user](https://docs.github.com/rest/reference/teams#add-or-update-team-membership-for-a-user) endpoint. - * - * Team synchronization is available for organizations using GitHub Enterprise Cloud. For more information, see [GitHub's products](https://help.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation. - * - * If the user is already a member of the team's organization, this endpoint will add the user to the team. To add a membership between an organization member and a team, the authenticated user must be an organization owner or a team maintainer. - * - * **Note:** When you have team synchronization set up for a team with your organization's identity provider (IdP), you will see an error if you attempt to use the API for making changes to the team's membership. If you have access to manage group membership in your IdP, you can manage GitHub team membership through your identity provider, which automatically adds and removes team members in an organization. For more information, see "[Synchronizing teams between your identity provider and GitHub](https://help.github.com/articles/synchronizing-teams-between-your-identity-provider-and-github/)." - * - * If the user is unaffiliated with the team's organization, this endpoint will send an invitation to the user via email. This newly-created membership will be in the "pending" state until the user accepts the invitation, at which point the membership will transition to the "active" state and the user will be added as a member of the team. To add a membership between an unaffiliated user and a team, the authenticated user must be an organization owner. - * - * If the user is already a member of the team, this endpoint will update the role of the team member's role. To update the membership of a team member, the authenticated user must be an organization owner or a team maintainer. - */ - put: operations["teams/add-or-update-membership-for-user-legacy"]; - /** - * **Deprecation Notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [Remove team membership for a user](https://docs.github.com/rest/reference/teams#remove-team-membership-for-a-user) endpoint. - * - * Team synchronization is available for organizations using GitHub Enterprise Cloud. For more information, see [GitHub's products](https://help.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation. - * - * To remove a membership between a user and a team, the authenticated user must have 'admin' permissions to the team or be an owner of the organization that the team is associated with. Removing team membership does not delete the user, it just removes their membership from the team. - * - * **Note:** When you have team synchronization set up for a team with your organization's identity provider (IdP), you will see an error if you attempt to use the API for making changes to the team's membership. If you have access to manage group membership in your IdP, you can manage GitHub team membership through your identity provider, which automatically adds and removes team members in an organization. For more information, see "[Synchronizing teams between your identity provider and GitHub](https://help.github.com/articles/synchronizing-teams-between-your-identity-provider-and-github/)." - */ - delete: operations["teams/remove-membership-for-user-legacy"]; - }; - "/teams/{team_id}/projects": { - /** - * **Deprecation Notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [`List team projects`](https://docs.github.com/rest/reference/teams#list-team-projects) endpoint. - * - * Lists the organization projects for a team. - */ - get: operations["teams/list-projects-legacy"]; - }; - "/teams/{team_id}/projects/{project_id}": { - /** - * **Deprecation Notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [Check team permissions for a project](https://docs.github.com/rest/reference/teams#check-team-permissions-for-a-project) endpoint. - * - * Checks whether a team has `read`, `write`, or `admin` permissions for an organization project. The response includes projects inherited from a parent team. - */ - get: operations["teams/check-permissions-for-project-legacy"]; - /** - * **Deprecation Notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [Add or update team project permissions](https://docs.github.com/rest/reference/teams#add-or-update-team-project-permissions) endpoint. - * - * Adds an organization project to a team. To add a project to a team or update the team's permission on a project, the authenticated user must have `admin` permissions for the project. The project and team must be part of the same organization. - */ - put: operations["teams/add-or-update-project-permissions-legacy"]; - /** - * **Deprecation Notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [Remove a project from a team](https://docs.github.com/rest/reference/teams#remove-a-project-from-a-team) endpoint. - * - * Removes an organization project from a team. An organization owner or a team maintainer can remove any project from the team. To remove a project from a team as an organization member, the authenticated user must have `read` access to both the team and project, or `admin` access to the team or project. **Note:** This endpoint removes the project from the team, but does not delete it. - */ - delete: operations["teams/remove-project-legacy"]; - }; - "/teams/{team_id}/repos": { - /** **Deprecation Notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [List team repositories](https://docs.github.com/rest/reference/teams#list-team-repositories) endpoint. */ - get: operations["teams/list-repos-legacy"]; - }; - "/teams/{team_id}/repos/{owner}/{repo}": { - /** - * **Note**: Repositories inherited through a parent team will also be checked. - * - * **Deprecation Notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [Check team permissions for a repository](https://docs.github.com/rest/reference/teams#check-team-permissions-for-a-repository) endpoint. - * - * You can also get information about the specified repository, including what permissions the team grants on it, by passing the following custom [media type](https://docs.github.com/rest/overview/media-types/) via the `Accept` header: - */ - get: operations["teams/check-permissions-for-repo-legacy"]; - /** - * **Deprecation Notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new "[Add or update team repository permissions](https://docs.github.com/rest/reference/teams#add-or-update-team-repository-permissions)" endpoint. - * - * To add a repository to a team or update the team's permission on a repository, the authenticated user must have admin access to the repository, and must be able to see the team. The repository must be owned by the organization, or a direct fork of a repository owned by the organization. You will get a `422 Unprocessable Entity` status if you attempt to add a repository to a team that is not owned by the organization. - * - * Note that, if you choose not to pass any parameters, you'll need to set `Content-Length` to zero when calling out to this endpoint. For more information, see "[HTTP verbs](https://docs.github.com/rest/overview/resources-in-the-rest-api#http-verbs)." - */ - put: operations["teams/add-or-update-repo-permissions-legacy"]; - /** - * **Deprecation Notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [Remove a repository from a team](https://docs.github.com/rest/reference/teams#remove-a-repository-from-a-team) endpoint. - * - * If the authenticated user is an organization owner or a team maintainer, they can remove any repositories from the team. To remove a repository from a team as an organization member, the authenticated user must have admin access to the repository and must be able to see the team. NOTE: This does not delete the repository, it just removes it from the team. - */ - delete: operations["teams/remove-repo-legacy"]; - }; - "/teams/{team_id}/team-sync/group-mappings": { - /** - * **Deprecation Notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [`List IdP groups for a team`](https://docs.github.com/rest/reference/teams#list-idp-groups-for-a-team) endpoint. - * - * Team synchronization is available for organizations using GitHub Enterprise Cloud. For more information, see [GitHub's products](https://help.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation. - * - * List IdP groups connected to a team on GitHub. - */ - get: operations["teams/list-idp-groups-for-legacy"]; - /** - * **Deprecation Notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [`Create or update IdP group connections`](https://docs.github.com/rest/reference/teams#create-or-update-idp-group-connections) endpoint. - * - * Team synchronization is available for organizations using GitHub Enterprise Cloud. For more information, see [GitHub's products](https://help.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation. - * - * Creates, updates, or removes a connection between a team and an IdP group. When adding groups to a team, you must include all new and existing groups to avoid replacing existing groups with the new ones. Specifying an empty `groups` array will remove all connections for a team. - */ - patch: operations["teams/create-or-update-idp-group-connections-legacy"]; - }; - "/teams/{team_id}/teams": { - /** **Deprecation Notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [`List child teams`](https://docs.github.com/rest/reference/teams#list-child-teams) endpoint. */ - get: operations["teams/list-child-legacy"]; - }; - "/user": { - /** - * If the authenticated user is authenticated through basic authentication or OAuth with the `user` scope, then the response lists public and private profile information. - * - * If the authenticated user is authenticated through OAuth without the `user` scope, then the response lists only public profile information. - */ - get: operations["users/get-authenticated"]; - /** **Note:** If your email is set to private and you send an `email` parameter as part of this request to update your profile, your privacy settings are still enforced: the email address will not be displayed on your public profile or via the API. */ - patch: operations["users/update-authenticated"]; - }; - "/user/blocks": { - /** List the users you've blocked on your personal account. */ - get: operations["users/list-blocked-by-authenticated"]; - }; - "/user/blocks/{username}": { - get: operations["users/check-blocked"]; - put: operations["users/block"]; - delete: operations["users/unblock"]; - }; - "/user/email/visibility": { - /** Sets the visibility for your primary email addresses. */ - patch: operations["users/set-primary-email-visibility-for-authenticated"]; - }; - "/user/emails": { - /** Lists all of your email addresses, and specifies which one is visible to the public. This endpoint is accessible with the `user:email` scope. */ - get: operations["users/list-emails-for-authenticated"]; - /** This endpoint is accessible with the `user` scope. */ - post: operations["users/add-email-for-authenticated"]; - /** This endpoint is accessible with the `user` scope. */ - delete: operations["users/delete-email-for-authenticated"]; - }; - "/user/followers": { - /** Lists the people following the authenticated user. */ - get: operations["users/list-followers-for-authenticated-user"]; - }; - "/user/following": { - /** Lists the people who the authenticated user follows. */ - get: operations["users/list-followed-by-authenticated"]; - }; - "/user/following/{username}": { - get: operations["users/check-person-is-followed-by-authenticated"]; - /** - * Note that you'll need to set `Content-Length` to zero when calling out to this endpoint. For more information, see "[HTTP verbs](https://docs.github.com/rest/overview/resources-in-the-rest-api#http-verbs)." - * - * Following a user requires the user to be logged in and authenticated with basic auth or OAuth with the `user:follow` scope. - */ - put: operations["users/follow"]; - /** Unfollowing a user requires the user to be logged in and authenticated with basic auth or OAuth with the `user:follow` scope. */ - delete: operations["users/unfollow"]; - }; - "/user/gpg_keys": { - /** Lists the current user's GPG keys. Requires that you are authenticated via Basic Auth or via OAuth with at least `read:gpg_key` [scope](https://docs.github.com/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/). */ - get: operations["users/list-gpg-keys-for-authenticated"]; - /** Adds a GPG key to the authenticated user's GitHub account. Requires that you are authenticated via Basic Auth, or OAuth with at least `write:gpg_key` [scope](https://docs.github.com/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/). */ - post: operations["users/create-gpg-key-for-authenticated"]; - }; - "/user/gpg_keys/{gpg_key_id}": { - /** View extended details for a single GPG key. Requires that you are authenticated via Basic Auth or via OAuth with at least `read:gpg_key` [scope](https://docs.github.com/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/). */ - get: operations["users/get-gpg-key-for-authenticated"]; - /** Removes a GPG key from the authenticated user's GitHub account. Requires that you are authenticated via Basic Auth or via OAuth with at least `admin:gpg_key` [scope](https://docs.github.com/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/). */ - delete: operations["users/delete-gpg-key-for-authenticated"]; - }; - "/user/installations": { - /** - * Lists installations of your GitHub App that the authenticated user has explicit permission (`:read`, `:write`, or `:admin`) to access. - * - * You must use a [user-to-server OAuth access token](https://docs.github.com/apps/building-github-apps/identifying-and-authorizing-users-for-github-apps/#identifying-users-on-your-site), created for a user who has authorized your GitHub App, to access this endpoint. - * - * The authenticated user has explicit permission to access repositories they own, repositories where they are a collaborator, and repositories that they can access through an organization membership. - * - * You can find the permissions for the installation under the `permissions` key. - */ - get: operations["apps/list-installations-for-authenticated-user"]; - }; - "/user/installations/{installation_id}/repositories": { - /** - * List repositories that the authenticated user has explicit permission (`:read`, `:write`, or `:admin`) to access for an installation. - * - * The authenticated user has explicit permission to access repositories they own, repositories where they are a collaborator, and repositories that they can access through an organization membership. - * - * You must use a [user-to-server OAuth access token](https://docs.github.com/apps/building-github-apps/identifying-and-authorizing-users-for-github-apps/#identifying-users-on-your-site), created for a user who has authorized your GitHub App, to access this endpoint. - * - * The access the user has to each repository is included in the hash under the `permissions` key. - */ - get: operations["apps/list-installation-repos-for-authenticated-user"]; - }; - "/user/installations/{installation_id}/repositories/{repository_id}": { - /** - * Add a single repository to an installation. The authenticated user must have admin access to the repository. - * - * You must use a personal access token (which you can create via the [command line](https://docs.github.com/github/authenticating-to-github/creating-a-personal-access-token) or [Basic Authentication](https://docs.github.com/rest/overview/other-authentication-methods#basic-authentication)) to access this endpoint. - */ - put: operations["apps/add-repo-to-installation"]; - /** - * Remove a single repository from an installation. The authenticated user must have admin access to the repository. - * - * You must use a personal access token (which you can create via the [command line](https://docs.github.com/github/authenticating-to-github/creating-a-personal-access-token) or [Basic Authentication](https://docs.github.com/rest/overview/other-authentication-methods#basic-authentication)) to access this endpoint. - */ - delete: operations["apps/remove-repo-from-installation"]; - }; - "/user/interaction-limits": { - /** Shows which type of GitHub user can interact with your public repositories and when the restriction expires. */ - get: operations["interactions/get-restrictions-for-authenticated-user"]; - /** Temporarily restricts which type of GitHub user can interact with your public repositories. Setting the interaction limit at the user level will overwrite any interaction limits that are set for individual repositories owned by the user. */ - put: operations["interactions/set-restrictions-for-authenticated-user"]; - /** Removes any interaction restrictions from your public repositories. */ - delete: operations["interactions/remove-restrictions-for-authenticated-user"]; - }; - "/user/issues": { - /** - * List issues across owned and member repositories assigned to the authenticated user. - * - * **Note**: GitHub's REST API v3 considers every pull request an issue, but not every issue is a pull request. For this - * reason, "Issues" endpoints may return both issues and pull requests in the response. You can identify pull requests by - * the `pull_request` key. Be aware that the `id` of a pull request returned from "Issues" endpoints will be an _issue id_. To find out the pull - * request id, use the "[List pull requests](https://docs.github.com/rest/reference/pulls#list-pull-requests)" endpoint. - */ - get: operations["issues/list-for-authenticated-user"]; - }; - "/user/keys": { - /** Lists the public SSH keys for the authenticated user's GitHub account. Requires that you are authenticated via Basic Auth or via OAuth with at least `read:public_key` [scope](https://docs.github.com/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/). */ - get: operations["users/list-public-ssh-keys-for-authenticated"]; - /** Adds a public SSH key to the authenticated user's GitHub account. Requires that you are authenticated via Basic Auth, or OAuth with at least `write:public_key` [scope](https://docs.github.com/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/). */ - post: operations["users/create-public-ssh-key-for-authenticated"]; - }; - "/user/keys/{key_id}": { - /** View extended details for a single public SSH key. Requires that you are authenticated via Basic Auth or via OAuth with at least `read:public_key` [scope](https://docs.github.com/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/). */ - get: operations["users/get-public-ssh-key-for-authenticated"]; - /** Removes a public SSH key from the authenticated user's GitHub account. Requires that you are authenticated via Basic Auth or via OAuth with at least `admin:public_key` [scope](https://docs.github.com/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/). */ - delete: operations["users/delete-public-ssh-key-for-authenticated"]; - }; - "/user/marketplace_purchases": { - /** Lists the active subscriptions for the authenticated user. You must use a [user-to-server OAuth access token](https://docs.github.com/apps/building-github-apps/identifying-and-authorizing-users-for-github-apps/#identifying-users-on-your-site), created for a user who has authorized your GitHub App, to access this endpoint. . OAuth Apps must authenticate using an [OAuth token](https://docs.github.com/apps/building-github-apps/authenticating-with-github-apps/). */ - get: operations["apps/list-subscriptions-for-authenticated-user"]; - }; - "/user/marketplace_purchases/stubbed": { - /** Lists the active subscriptions for the authenticated user. You must use a [user-to-server OAuth access token](https://docs.github.com/apps/building-github-apps/identifying-and-authorizing-users-for-github-apps/#identifying-users-on-your-site), created for a user who has authorized your GitHub App, to access this endpoint. . OAuth Apps must authenticate using an [OAuth token](https://docs.github.com/apps/building-github-apps/authenticating-with-github-apps/). */ - get: operations["apps/list-subscriptions-for-authenticated-user-stubbed"]; - }; - "/user/memberships/orgs": { - get: operations["orgs/list-memberships-for-authenticated-user"]; - }; - "/user/memberships/orgs/{org}": { - get: operations["orgs/get-membership-for-authenticated-user"]; - patch: operations["orgs/update-membership-for-authenticated-user"]; - }; - "/user/migrations": { - /** Lists all migrations a user has started. */ - get: operations["migrations/list-for-authenticated-user"]; - /** Initiates the generation of a user migration archive. */ - post: operations["migrations/start-for-authenticated-user"]; - }; - "/user/migrations/{migration_id}": { - /** - * Fetches a single user migration. The response includes the `state` of the migration, which can be one of the following values: - * - * * `pending` - the migration hasn't started yet. - * * `exporting` - the migration is in progress. - * * `exported` - the migration finished successfully. - * * `failed` - the migration failed. - * - * Once the migration has been `exported` you can [download the migration archive](https://docs.github.com/rest/reference/migrations#download-a-user-migration-archive). - */ - get: operations["migrations/get-status-for-authenticated-user"]; - }; - "/user/migrations/{migration_id}/archive": { - /** - * Fetches the URL to download the migration archive as a `tar.gz` file. Depending on the resources your repository uses, the migration archive can contain JSON files with data for these objects: - * - * * attachments - * * bases - * * commit\_comments - * * issue\_comments - * * issue\_events - * * issues - * * milestones - * * organizations - * * projects - * * protected\_branches - * * pull\_request\_reviews - * * pull\_requests - * * releases - * * repositories - * * review\_comments - * * schema - * * users - * - * The archive will also contain an `attachments` directory that includes all attachment files uploaded to GitHub.com and a `repositories` directory that contains the repository's Git data. - */ - get: operations["migrations/get-archive-for-authenticated-user"]; - /** Deletes a previous migration archive. Downloadable migration archives are automatically deleted after seven days. Migration metadata, which is returned in the [List user migrations](https://docs.github.com/rest/reference/migrations#list-user-migrations) and [Get a user migration status](https://docs.github.com/rest/reference/migrations#get-a-user-migration-status) endpoints, will continue to be available even after an archive is deleted. */ - delete: operations["migrations/delete-archive-for-authenticated-user"]; - }; - "/user/migrations/{migration_id}/repos/{repo_name}/lock": { - /** Unlocks a repository. You can lock repositories when you [start a user migration](https://docs.github.com/rest/reference/migrations#start-a-user-migration). Once the migration is complete you can unlock each repository to begin using it again or [delete the repository](https://docs.github.com/rest/reference/repos#delete-a-repository) if you no longer need the source data. Returns a status of `404 Not Found` if the repository is not locked. */ - delete: operations["migrations/unlock-repo-for-authenticated-user"]; - }; - "/user/migrations/{migration_id}/repositories": { - /** Lists all the repositories for this user migration. */ - get: operations["migrations/list-repos-for-user"]; - }; - "/user/orgs": { - /** - * List organizations for the authenticated user. - * - * **OAuth scope requirements** - * - * This only lists organizations that your authorization allows you to operate on in some way (e.g., you can list teams with `read:org` scope, you can publicize your organization membership with `user` scope, etc.). Therefore, this API requires at least `user` or `read:org` scope. OAuth requests with insufficient scope receive a `403 Forbidden` response. - */ - get: operations["orgs/list-for-authenticated-user"]; - }; - "/user/packages/{package_type}/{package_name}": { - /** - * Gets a specific package for a package owned by the authenticated user. - * - * To use this endpoint, you must authenticate using an access token with the `packages:read` scope. - * If `package_type` is not `container`, your token must also include the `repo` scope. - */ - get: operations["packages/get-package-for-authenticated-user"]; - /** - * Deletes a package owned by the authenticated user. You cannot delete a public package if any version of the package has more than 5,000 downloads. In this scenario, contact GitHub support for further assistance. - * - * To use this endpoint, you must authenticate using an access token with the `packages:read` and `packages:delete` scope. - * If `package_type` is not `container`, your token must also include the `repo` scope. - */ - delete: operations["packages/delete-package-for-authenticated-user"]; - }; - "/user/packages/{package_type}/{package_name}/restore": { - /** - * Restores a package owned by the authenticated user. - * - * You can restore a deleted package under the following conditions: - * - The package was deleted within the last 30 days. - * - The same package namespace and version is still available and not reused for a new package. If the same package namespace is not available, you will not be able to restore your package. In this scenario, to restore the deleted package, you must delete the new package that uses the deleted package's namespace first. - * - * To use this endpoint, you must authenticate using an access token with the `packages:read` and `packages:write` scope. If `package_type` is not `container`, your token must also include the `repo` scope. - */ - post: operations["packages/restore-package-for-authenticated-user"]; - }; - "/user/packages/{package_type}/{package_name}/versions": { - /** - * Returns all package versions for a package owned by the authenticated user. - * - * To use this endpoint, you must authenticate using an access token with the `packages:read` scope. - * If `package_type` is not `container`, your token must also include the `repo` scope. - */ - get: operations["packages/get-all-package-versions-for-package-owned-by-authenticated-user"]; - }; - "/user/packages/{package_type}/{package_name}/versions/{package_version_id}": { - /** - * Gets a specific package version for a package owned by the authenticated user. - * - * To use this endpoint, you must authenticate using an access token with the `packages:read` scope. - * If `package_type` is not `container`, your token must also include the `repo` scope. - */ - get: operations["packages/get-package-version-for-authenticated-user"]; - /** - * Deletes a specific package version for a package owned by the authenticated user. If the package is public and the package version has more than 5,000 downloads, you cannot delete the package version. In this scenario, contact GitHub support for further assistance. - * - * To use this endpoint, you must have admin permissions in the organization and authenticate using an access token with the `packages:read` scope. - * If `package_type` is not `container`, your token must also include the `repo` scope. - */ - delete: operations["packages/delete-package-version-for-authenticated-user"]; - }; - "/user/packages/{package_type}/{package_name}/versions/{package_version_id}/restore": { - /** - * Restores a package version owned by the authenticated user. - * - * You can restore a deleted package version under the following conditions: - * - The package was deleted within the last 30 days. - * - The same package namespace and version is still available and not reused for a new package. If the same package namespace is not available, you will not be able to restore your package. In this scenario, to restore the deleted package, you must delete the new package that uses the deleted package's namespace first. - * - * To use this endpoint, you must authenticate using an access token with the `packages:read` and `packages:write` scope. If `package_type` is not `container`, your token must also include the `repo` scope. - */ - post: operations["packages/restore-package-version-for-authenticated-user"]; - }; - "/user/projects": { - post: operations["projects/create-for-authenticated-user"]; - }; - "/user/public_emails": { - /** Lists your publicly visible email address, which you can set with the [Set primary email visibility for the authenticated user](https://docs.github.com/rest/reference/users#set-primary-email-visibility-for-the-authenticated-user) endpoint. This endpoint is accessible with the `user:email` scope. */ - get: operations["users/list-public-emails-for-authenticated"]; - }; - "/user/repos": { - /** - * Lists repositories that the authenticated user has explicit permission (`:read`, `:write`, or `:admin`) to access. - * - * The authenticated user has explicit permission to access repositories they own, repositories where they are a collaborator, and repositories that they can access through an organization membership. - */ - get: operations["repos/list-for-authenticated-user"]; - /** - * Creates a new repository for the authenticated user. - * - * **OAuth scope requirements** - * - * When using [OAuth](https://docs.github.com/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/), authorizations must include: - * - * * `public_repo` scope or `repo` scope to create a public repository. Note: For GitHub AE, use `repo` scope to create an internal repository. - * * `repo` scope to create a private repository. - */ - post: operations["repos/create-for-authenticated-user"]; - }; - "/user/repository_invitations": { - /** When authenticating as a user, this endpoint will list all currently open repository invitations for that user. */ - get: operations["repos/list-invitations-for-authenticated-user"]; - }; - "/user/repository_invitations/{invitation_id}": { - delete: operations["repos/decline-invitation"]; - patch: operations["repos/accept-invitation"]; - }; - "/user/starred": { - /** - * Lists repositories the authenticated user has starred. - * - * You can also find out _when_ stars were created by passing the following custom [media type](https://docs.github.com/rest/overview/media-types/) via the `Accept` header: - */ - get: operations["activity/list-repos-starred-by-authenticated-user"]; - }; - "/user/starred/{owner}/{repo}": { - get: operations["activity/check-repo-is-starred-by-authenticated-user"]; - /** Note that you'll need to set `Content-Length` to zero when calling out to this endpoint. For more information, see "[HTTP verbs](https://docs.github.com/rest/overview/resources-in-the-rest-api#http-verbs)." */ - put: operations["activity/star-repo-for-authenticated-user"]; - delete: operations["activity/unstar-repo-for-authenticated-user"]; - }; - "/user/subscriptions": { - /** Lists repositories the authenticated user is watching. */ - get: operations["activity/list-watched-repos-for-authenticated-user"]; - }; - "/user/teams": { - /** List all of the teams across all of the organizations to which the authenticated user belongs. This method requires `user`, `repo`, or `read:org` [scope](https://docs.github.com/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/) when authenticating via [OAuth](https://docs.github.com/apps/building-oauth-apps/). */ - get: operations["teams/list-for-authenticated-user"]; - }; - "/users": { - /** - * Lists all users, in the order that they signed up on GitHub. This list includes personal user accounts and organization accounts. - * - * Note: Pagination is powered exclusively by the `since` parameter. Use the [Link header](https://docs.github.com/rest/overview/resources-in-the-rest-api#link-header) to get the URL for the next page of users. - */ - get: operations["users/list"]; - }; - "/users/{username}": { - /** - * Provides publicly available information about someone with a GitHub account. - * - * GitHub Apps with the `Plan` user permission can use this endpoint to retrieve information about a user's GitHub plan. The GitHub App must be authenticated as a user. See "[Identifying and authorizing users for GitHub Apps](https://docs.github.com/apps/building-github-apps/identifying-and-authorizing-users-for-github-apps/)" for details about authentication. For an example response, see 'Response with GitHub plan information' below" - * - * The `email` key in the following response is the publicly visible email address from your GitHub [profile page](https://github.com/settings/profile). When setting up your profile, you can select a primary email address to be “public” which provides an email entry for this endpoint. If you do not set a public email address for `email`, then it will have a value of `null`. You only see publicly visible email addresses when authenticated with GitHub. For more information, see [Authentication](https://docs.github.com/rest/overview/resources-in-the-rest-api#authentication). - * - * The Emails API enables you to list all of your email addresses, and toggle a primary email to be visible publicly. For more information, see "[Emails API](https://docs.github.com/rest/reference/users#emails)". - */ - get: operations["users/get-by-username"]; - }; - "/users/{username}/events": { - /** If you are authenticated as the given user, you will see your private events. Otherwise, you'll only see public events. */ - get: operations["activity/list-events-for-authenticated-user"]; - }; - "/users/{username}/events/orgs/{org}": { - /** This is the user's organization dashboard. You must be authenticated as the user to view this. */ - get: operations["activity/list-org-events-for-authenticated-user"]; - }; - "/users/{username}/events/public": { - get: operations["activity/list-public-events-for-user"]; - }; - "/users/{username}/followers": { - /** Lists the people following the specified user. */ - get: operations["users/list-followers-for-user"]; - }; - "/users/{username}/following": { - /** Lists the people who the specified user follows. */ - get: operations["users/list-following-for-user"]; - }; - "/users/{username}/following/{target_user}": { - get: operations["users/check-following-for-user"]; - }; - "/users/{username}/gists": { - /** Lists public gists for the specified user: */ - get: operations["gists/list-for-user"]; - }; - "/users/{username}/gpg_keys": { - /** Lists the GPG keys for a user. This information is accessible by anyone. */ - get: operations["users/list-gpg-keys-for-user"]; - }; - "/users/{username}/hovercard": { - /** - * Provides hovercard information when authenticated through basic auth or OAuth with the `repo` scope. You can find out more about someone in relation to their pull requests, issues, repositories, and organizations. - * - * The `subject_type` and `subject_id` parameters provide context for the person's hovercard, which returns more information than without the parameters. For example, if you wanted to find out more about `octocat` who owns the `Spoon-Knife` repository via cURL, it would look like this: - * - * ```shell - * curl -u username:token - * https://api.github.com/users/octocat/hovercard?subject_type=repository&subject_id=1300192 - * ``` - */ - get: operations["users/get-context-for-user"]; - }; - "/users/{username}/installation": { - /** - * Enables an authenticated GitHub App to find the user’s installation information. - * - * You must use a [JWT](https://docs.github.com/apps/building-github-apps/authenticating-with-github-apps/#authenticating-as-a-github-app) to access this endpoint. - */ - get: operations["apps/get-user-installation"]; - }; - "/users/{username}/keys": { - /** Lists the _verified_ public SSH keys for a user. This is accessible by anyone. */ - get: operations["users/list-public-keys-for-user"]; - }; - "/users/{username}/orgs": { - /** - * List [public organization memberships](https://help.github.com/articles/publicizing-or-concealing-organization-membership) for the specified user. - * - * This method only lists _public_ memberships, regardless of authentication. If you need to fetch all of the organization memberships (public and private) for the authenticated user, use the [List organizations for the authenticated user](https://docs.github.com/rest/reference/orgs#list-organizations-for-the-authenticated-user) API instead. - */ - get: operations["orgs/list-for-user"]; - }; - "/users/{username}/packages/{package_type}/{package_name}": { - /** - * Gets a specific package metadata for a public package owned by a user. - * - * To use this endpoint, you must authenticate using an access token with the `packages:read` scope. - * If `package_type` is not `container`, your token must also include the `repo` scope. - */ - get: operations["packages/get-package-for-user"]; - }; - "/users/{username}/packages/{package_type}/{package_name}/versions": { - /** - * Returns all package versions for a public package owned by a specified user. - * - * To use this endpoint, you must authenticate using an access token with the `packages:read` scope. - * If `package_type` is not `container`, your token must also include the `repo` scope. - */ - get: operations["packages/get-all-package-versions-for-package-owned-by-user"]; - }; - "/users/{username}/packages/{package_type}/{package_name}/versions/{package_version_id}": { - /** - * Gets a specific package version for a public package owned by a specified user. - * - * At this time, to use this endpoint, you must authenticate using an access token with the `packages:read` scope. - * If `package_type` is not `container`, your token must also include the `repo` scope. - */ - get: operations["packages/get-package-version-for-user"]; - }; - "/users/{username}/projects": { - get: operations["projects/list-for-user"]; - }; - "/users/{username}/received_events": { - /** These are events that you've received by watching repos and following users. If you are authenticated as the given user, you will see private events. Otherwise, you'll only see public events. */ - get: operations["activity/list-received-events-for-user"]; - }; - "/users/{username}/received_events/public": { - get: operations["activity/list-received-public-events-for-user"]; - }; - "/users/{username}/repos": { - /** Lists public repositories for the specified user. Note: For GitHub AE, this endpoint will list internal repositories for the specified user. */ - get: operations["repos/list-for-user"]; - }; - "/users/{username}/settings/billing/actions": { - /** - * Gets the summary of the free and paid GitHub Actions minutes used. - * - * Paid minutes only apply to workflows in private repositories that use GitHub-hosted runners. Minutes used is listed for each GitHub-hosted runner operating system. Any job re-runs are also included in the usage. The usage returned includes any minute multipliers for macOS and Windows runners, and is rounded up to the nearest whole minute. For more information, see "[Managing billing for GitHub Actions](https://help.github.com/github/setting-up-and-managing-billing-and-payments-on-github/managing-billing-for-github-actions)". - * - * Access tokens must have the `user` scope. - */ - get: operations["billing/get-github-actions-billing-user"]; - }; - "/users/{username}/settings/billing/packages": { - /** - * Gets the free and paid storage used for GitHub Packages in gigabytes. - * - * Paid minutes only apply to packages stored for private repositories. For more information, see "[Managing billing for GitHub Packages](https://help.github.com/github/setting-up-and-managing-billing-and-payments-on-github/managing-billing-for-github-packages)." - * - * Access tokens must have the `user` scope. - */ - get: operations["billing/get-github-packages-billing-user"]; - }; - "/users/{username}/settings/billing/shared-storage": { - /** - * Gets the estimated paid and estimated total storage used for GitHub Actions and Github Packages. - * - * Paid minutes only apply to packages stored for private repositories. For more information, see "[Managing billing for GitHub Packages](https://help.github.com/github/setting-up-and-managing-billing-and-payments-on-github/managing-billing-for-github-packages)." - * - * Access tokens must have the `user` scope. - */ - get: operations["billing/get-shared-storage-billing-user"]; - }; - "/users/{username}/starred": { - /** - * Lists repositories a user has starred. - * - * You can also find out _when_ stars were created by passing the following custom [media type](https://docs.github.com/rest/overview/media-types/) via the `Accept` header: - */ - get: operations["activity/list-repos-starred-by-user"]; - }; - "/users/{username}/subscriptions": { - /** Lists repositories a user is watching. */ - get: operations["activity/list-repos-watched-by-user"]; - }; - "/zen": { - /** Get a random sentence from the Zen of GitHub */ - get: operations["meta/get-zen"]; - }; - "/repos/{owner}/{repo}/compare/{base}...{head}": { - /** - * **Deprecated**: Use `repos.compareCommitsWithBasehead()` (`GET /repos/{owner}/{repo}/compare/{basehead}`) instead. Both `:base` and `:head` must be branch names in `:repo`. To compare branches across other repositories in the same network as `:repo`, use the format `:branch`. - * - * The response from the API is equivalent to running the `git log base..head` command; however, commits are returned in chronological order. Pass the appropriate [media type](https://docs.github.com/rest/overview/media-types/#commits-commit-comparison-and-pull-requests) to fetch diff and patch formats. - * - * The response also includes details on the files that were changed between the two commits. This includes the status of the change (for example, if a file was added, removed, modified, or renamed), and details of the change itself. For example, files with a `renamed` status have a `previous_filename` field showing the previous filename of the file, and files with a `modified` status have a `patch` field showing the changes made to the file. - * - * **Working with large comparisons** - * - * To process a response with a large number of commits, you can use (`per_page` or `page`) to paginate the results. When using paging, the list of changed files is only returned with page 1, but includes all changed files for the entire comparison. For more information on working with pagination, see "[Traversing with pagination](/rest/guides/traversing-with-pagination)." - * - * When calling this API without any paging parameters (`per_page` or `page`), the returned list is limited to 250 commits and the last commit in the list is the most recent of the entire comparison. When a paging parameter is specified, the first commit in the returned list of each page is the earliest. - * - * **Signature verification object** - * - * The response will include a `verification` object that describes the result of verifying the commit's signature. The following fields are included in the `verification` object: - * - * | Name | Type | Description | - * | ---- | ---- | ----------- | - * | `verified` | `boolean` | Indicates whether GitHub considers the signature in this commit to be verified. | - * | `reason` | `string` | The reason for verified value. Possible values and their meanings are enumerated in table below. | - * | `signature` | `string` | The signature that was extracted from the commit. | - * | `payload` | `string` | The value that was signed. | - * - * These are the possible values for `reason` in the `verification` object: - * - * | Value | Description | - * | ----- | ----------- | - * | `expired_key` | The key that made the signature is expired. | - * | `not_signing_key` | The "signing" flag is not among the usage flags in the GPG key that made the signature. | - * | `gpgverify_error` | There was an error communicating with the signature verification service. | - * | `gpgverify_unavailable` | The signature verification service is currently unavailable. | - * | `unsigned` | The object does not include a signature. | - * | `unknown_signature_type` | A non-PGP signature was found in the commit. | - * | `no_user` | No user was associated with the `committer` email address in the commit. | - * | `unverified_email` | The `committer` email address in the commit was associated with a user, but the email address is not verified on her/his account. | - * | `bad_email` | The `committer` email address in the commit is not included in the identities of the PGP key that made the signature. | - * | `unknown_key` | The key that made the signature has not been registered with any user's account. | - * | `malformed_signature` | There was an error parsing the signature. | - * | `invalid` | The signature could not be cryptographically verified using the key whose key-id was found in the signature. | - * | `valid` | None of the above errors applied, so the signature is considered to be verified. | - */ - get: operations["repos/compare-commits"]; - }; - "/content_references/{content_reference_id}/attachments": { - /** - * **Deprecated:** use `apps.createContentAttachmentForRepo()` (`POST /repos/{owner}/{repo}/content_references/{content_reference_id}/attachments`) instead. Creates an attachment under a content reference URL in the body or comment of an issue or pull request. Use the `id` of the content reference from the [`content_reference` event](https://docs.github.com/webhooks/event-payloads/#content_reference) to create an attachment. - * - * The app must create a content attachment within six hours of the content reference URL being posted. See "[Using content attachments](https://docs.github.com/apps/using-content-attachments/)" for details about content attachments. - * - * You must use an [installation access token](https://docs.github.com/apps/building-github-apps/authenticating-with-github-apps/#authenticating-as-an-installation) to access this endpoint. - */ - post: operations["apps/create-content-attachment"]; - }; -} - -export interface components { - schemas: { - /** Simple User */ - "simple-user": { - name?: string | null; - email?: string | null; - login: string; - id: number; - node_id: string; - avatar_url: string; - gravatar_id: string | null; - url: string; - html_url: string; - followers_url: string; - following_url: string; - gists_url: string; - starred_url: string; - subscriptions_url: string; - organizations_url: string; - repos_url: string; - events_url: string; - received_events_url: string; - type: string; - site_admin: boolean; - starred_at?: string; - } | null; - /** GitHub apps are a new way to extend GitHub. They can be installed directly on organizations and user accounts and granted access to specific repositories. They come with granular permissions and built-in webhooks. GitHub apps are first class actors within GitHub. */ - integration: { - /** Unique identifier of the GitHub app */ - id: number; - /** The slug name of the GitHub app */ - slug?: string; - node_id: string; - owner: components["schemas"]["simple-user"] | null; - /** The name of the GitHub app */ - name: string; - description: string | null; - external_url: string; - html_url: string; - created_at: string; - updated_at: string; - /** The set of permissions for the GitHub app */ - permissions: { - issues?: string; - checks?: string; - metadata?: string; - contents?: string; - deployments?: string; - } & { [key: string]: string }; - /** The list of events for the GitHub app */ - events: string[]; - /** The number of installations associated with the GitHub app */ - installations_count?: number; - client_id?: string; - client_secret?: string; - webhook_secret?: string | null; - pem?: string; - } | null; - /** Basic Error */ - "basic-error": { - message?: string; - documentation_url?: string; - url?: string; - status?: string; - }; - /** Validation Error Simple */ - "validation-error-simple": { - message: string; - documentation_url: string; - errors?: string[]; - }; - /** The URL to which the payloads will be delivered. */ - "webhook-config-url": string; - /** The media type used to serialize the payloads. Supported values include `json` and `form`. The default is `form`. */ - "webhook-config-content-type": string; - /** If provided, the `secret` will be used as the `key` to generate the HMAC hex digest value for [delivery signature headers](https://docs.github.com/webhooks/event-payloads/#delivery-headers). */ - "webhook-config-secret": string; - "webhook-config-insecure-ssl": string | number; - /** Configuration object of the webhook */ - "webhook-config": { - url?: components["schemas"]["webhook-config-url"]; - content_type?: components["schemas"]["webhook-config-content-type"]; - secret?: components["schemas"]["webhook-config-secret"]; - insecure_ssl?: components["schemas"]["webhook-config-insecure-ssl"]; - }; - /** Delivery made by a webhook, without request and response information. */ - "hook-delivery-item": { - /** Unique identifier of the webhook delivery. */ - id: number; - /** Unique identifier for the event (shared with all deliveries for all webhooks that subscribe to this event). */ - guid: string; - /** Time when the webhook delivery occurred. */ - delivered_at: string; - /** Whether the webhook delivery is a redelivery. */ - redelivery: boolean; - /** Time spent delivering. */ - duration: number; - /** Describes the response returned after attempting the delivery. */ - status: string; - /** Status code received when delivery was made. */ - status_code: number; - /** The event that triggered the delivery. */ - event: string; - /** The type of activity for the event that triggered the delivery. */ - action: string | null; - /** The id of the GitHub App installation associated with this event. */ - installation_id: number | null; - /** The id of the repository associated with this event. */ - repository_id: number | null; - }; - /** Scim Error */ - "scim-error": { - message?: string | null; - documentation_url?: string | null; - detail?: string | null; - status?: number; - scimType?: string | null; - schemas?: string[]; - }; - /** Validation Error */ - "validation-error": { - message: string; - documentation_url: string; - errors?: { - resource?: string; - field?: string; - message?: string; - code: string; - index?: number; - value?: (string | null) | (number | null) | (string[] | null); - }[]; - }; - /** Delivery made by a webhook. */ - "hook-delivery": { - /** Unique identifier of the delivery. */ - id: number; - /** Unique identifier for the event (shared with all deliveries for all webhooks that subscribe to this event). */ - guid: string; - /** Time when the delivery was delivered. */ - delivered_at: string; - /** Whether the delivery is a redelivery. */ - redelivery: boolean; - /** Time spent delivering. */ - duration: number; - /** Description of the status of the attempted delivery */ - status: string; - /** Status code received when delivery was made. */ - status_code: number; - /** The event that triggered the delivery. */ - event: string; - /** The type of activity for the event that triggered the delivery. */ - action: string | null; - /** The id of the GitHub App installation associated with this event. */ - installation_id: number | null; - /** The id of the repository associated with this event. */ - repository_id: number | null; - request: { - /** The request headers sent with the webhook delivery. */ - headers: { [key: string]: any } | null; - /** The webhook payload. */ - payload: { [key: string]: any } | null; - }; - response: { - /** The response headers received when the delivery was made. */ - headers: { [key: string]: any } | null; - /** The response payload received. */ - payload: string | null; - }; - }; - /** An enterprise account */ - enterprise: { - /** A short description of the enterprise. */ - description?: string | null; - html_url: string; - /** The enterprise's website URL. */ - website_url?: string | null; - /** Unique identifier of the enterprise */ - id: number; - node_id: string; - /** The name of the enterprise. */ - name: string; - /** The slug url identifier for the enterprise. */ - slug: string; - created_at: string | null; - updated_at: string | null; - avatar_url: string; - }; - /** The permissions granted to the user-to-server access token. */ - "app-permissions": { - /** The level of permission to grant the access token for GitHub Actions workflows, workflow runs, and artifacts. Can be one of: `read` or `write`. */ - actions?: "read" | "write"; - /** The level of permission to grant the access token for repository creation, deletion, settings, teams, and collaborators creation. Can be one of: `read` or `write`. */ - administration?: "read" | "write"; - /** The level of permission to grant the access token for checks on code. Can be one of: `read` or `write`. */ - checks?: "read" | "write"; - /** The level of permission to grant the access token for notification of content references and creation content attachments. Can be one of: `read` or `write`. */ - content_references?: "read" | "write"; - /** The level of permission to grant the access token for repository contents, commits, branches, downloads, releases, and merges. Can be one of: `read` or `write`. */ - contents?: "read" | "write"; - /** The level of permission to grant the access token for deployments and deployment statuses. Can be one of: `read` or `write`. */ - deployments?: "read" | "write"; - /** The level of permission to grant the access token for managing repository environments. Can be one of: `read` or `write`. */ - environments?: "read" | "write"; - /** The level of permission to grant the access token for issues and related comments, assignees, labels, and milestones. Can be one of: `read` or `write`. */ - issues?: "read" | "write"; - /** The level of permission to grant the access token to search repositories, list collaborators, and access repository metadata. Can be one of: `read` or `write`. */ - metadata?: "read" | "write"; - /** The level of permission to grant the access token for packages published to GitHub Packages. Can be one of: `read` or `write`. */ - packages?: "read" | "write"; - /** The level of permission to grant the access token to retrieve Pages statuses, configuration, and builds, as well as create new builds. Can be one of: `read` or `write`. */ - pages?: "read" | "write"; - /** The level of permission to grant the access token for pull requests and related comments, assignees, labels, milestones, and merges. Can be one of: `read` or `write`. */ - pull_requests?: "read" | "write"; - /** The level of permission to grant the access token to manage the post-receive hooks for a repository. Can be one of: `read` or `write`. */ - repository_hooks?: "read" | "write"; - /** The level of permission to grant the access token to manage repository projects, columns, and cards. Can be one of: `read`, `write`, or `admin`. */ - repository_projects?: "read" | "write" | "admin"; - /** The level of permission to grant the access token to view and manage secret scanning alerts. Can be one of: `read` or `write`. */ - secret_scanning_alerts?: "read" | "write"; - /** The level of permission to grant the access token to manage repository secrets. Can be one of: `read` or `write`. */ - secrets?: "read" | "write"; - /** The level of permission to grant the access token to view and manage security events like code scanning alerts. Can be one of: `read` or `write`. */ - security_events?: "read" | "write"; - /** The level of permission to grant the access token to manage just a single file. Can be one of: `read` or `write`. */ - single_file?: "read" | "write"; - /** The level of permission to grant the access token for commit statuses. Can be one of: `read` or `write`. */ - statuses?: "read" | "write"; - /** The level of permission to grant the access token to retrieve Dependabot alerts. Can be one of: `read`. */ - vulnerability_alerts?: "read"; - /** The level of permission to grant the access token to update GitHub Actions workflow files. Can be one of: `write`. */ - workflows?: "write"; - /** The level of permission to grant the access token for organization teams and members. Can be one of: `read` or `write`. */ - members?: "read" | "write"; - /** The level of permission to grant the access token to manage access to an organization. Can be one of: `read` or `write`. */ - organization_administration?: "read" | "write"; - /** The level of permission to grant the access token to manage the post-receive hooks for an organization. Can be one of: `read` or `write`. */ - organization_hooks?: "read" | "write"; - /** The level of permission to grant the access token for viewing an organization's plan. Can be one of: `read`. */ - organization_plan?: "read"; - /** The level of permission to grant the access token to manage organization projects, columns, and cards. Can be one of: `read`, `write`, or `admin`. */ - organization_projects?: "read" | "write" | "admin"; - /** The level of permission to grant the access token for organization packages published to GitHub Packages. Can be one of: `read` or `write`. */ - organization_packages?: "read" | "write"; - /** The level of permission to grant the access token to manage organization secrets. Can be one of: `read` or `write`. */ - organization_secrets?: "read" | "write"; - /** The level of permission to grant the access token to view and manage GitHub Actions self-hosted runners available to an organization. Can be one of: `read` or `write`. */ - organization_self_hosted_runners?: "read" | "write"; - /** The level of permission to grant the access token to view and manage users blocked by the organization. Can be one of: `read` or `write`. */ - organization_user_blocking?: "read" | "write"; - /** The level of permission to grant the access token to manage team discussions and related comments. Can be one of: `read` or `write`. */ - team_discussions?: "read" | "write"; - }; - /** Installation */ - installation: { - /** The ID of the installation. */ - id: number; - account: - | (Partial & - Partial) - | null; - /** Describe whether all repositories have been selected or there's a selection involved */ - repository_selection: "all" | "selected"; - access_tokens_url: string; - repositories_url: string; - html_url: string; - app_id: number; - /** The ID of the user or organization this token is being scoped to. */ - target_id: number; - target_type: string; - permissions: components["schemas"]["app-permissions"]; - events: string[]; - created_at: string; - updated_at: string; - single_file_name: string | null; - has_multiple_single_files?: boolean; - single_file_paths?: string[]; - app_slug: string; - suspended_by: components["schemas"]["simple-user"] | null; - suspended_at: string | null; - contact_email?: string | null; - }; - /** License Simple */ - "license-simple": { - key: string; - name: string; - url: string | null; - spdx_id: string | null; - node_id: string; - html_url?: string; - }; - /** A git repository */ - repository: { - /** Unique identifier of the repository */ - id: number; - node_id: string; - /** The name of the repository. */ - name: string; - full_name: string; - license: components["schemas"]["license-simple"] | null; - organization?: components["schemas"]["simple-user"] | null; - forks: number; - permissions?: { - admin: boolean; - pull: boolean; - triage?: boolean; - push: boolean; - maintain?: boolean; - }; - owner: components["schemas"]["simple-user"] | null; - /** Whether the repository is private or public. */ - private: boolean; - html_url: string; - description: string | null; - fork: boolean; - url: string; - archive_url: string; - assignees_url: string; - blobs_url: string; - branches_url: string; - collaborators_url: string; - comments_url: string; - commits_url: string; - compare_url: string; - contents_url: string; - contributors_url: string; - deployments_url: string; - downloads_url: string; - events_url: string; - forks_url: string; - git_commits_url: string; - git_refs_url: string; - git_tags_url: string; - git_url: string; - issue_comment_url: string; - issue_events_url: string; - issues_url: string; - keys_url: string; - labels_url: string; - languages_url: string; - merges_url: string; - milestones_url: string; - notifications_url: string; - pulls_url: string; - releases_url: string; - ssh_url: string; - stargazers_url: string; - statuses_url: string; - subscribers_url: string; - subscription_url: string; - tags_url: string; - teams_url: string; - trees_url: string; - clone_url: string; - mirror_url: string | null; - hooks_url: string; - svn_url: string; - homepage: string | null; - language: string | null; - forks_count: number; - stargazers_count: number; - watchers_count: number; - size: number; - /** The default branch of the repository. */ - default_branch: string; - open_issues_count: number; - /** Whether this repository acts as a template that can be used to generate new repositories. */ - is_template?: boolean; - topics?: string[]; - /** Whether issues are enabled. */ - has_issues: boolean; - /** Whether projects are enabled. */ - has_projects: boolean; - /** Whether the wiki is enabled. */ - has_wiki: boolean; - has_pages: boolean; - /** Whether downloads are enabled. */ - has_downloads: boolean; - /** Whether the repository is archived. */ - archived: boolean; - /** Returns whether or not this repository disabled. */ - disabled: boolean; - /** The repository visibility: public, private, or internal. */ - visibility?: string; - pushed_at: string | null; - created_at: string | null; - updated_at: string | null; - /** Whether to allow rebase merges for pull requests. */ - allow_rebase_merge?: boolean; - template_repository?: { - id?: number; - node_id?: string; - name?: string; - full_name?: string; - owner?: { - login?: string; - id?: number; - node_id?: string; - avatar_url?: string; - gravatar_id?: string; - url?: string; - html_url?: string; - followers_url?: string; - following_url?: string; - gists_url?: string; - starred_url?: string; - subscriptions_url?: string; - organizations_url?: string; - repos_url?: string; - events_url?: string; - received_events_url?: string; - type?: string; - site_admin?: boolean; - }; - private?: boolean; - html_url?: string; - description?: string; - fork?: boolean; - url?: string; - archive_url?: string; - assignees_url?: string; - blobs_url?: string; - branches_url?: string; - collaborators_url?: string; - comments_url?: string; - commits_url?: string; - compare_url?: string; - contents_url?: string; - contributors_url?: string; - deployments_url?: string; - downloads_url?: string; - events_url?: string; - forks_url?: string; - git_commits_url?: string; - git_refs_url?: string; - git_tags_url?: string; - git_url?: string; - issue_comment_url?: string; - issue_events_url?: string; - issues_url?: string; - keys_url?: string; - labels_url?: string; - languages_url?: string; - merges_url?: string; - milestones_url?: string; - notifications_url?: string; - pulls_url?: string; - releases_url?: string; - ssh_url?: string; - stargazers_url?: string; - statuses_url?: string; - subscribers_url?: string; - subscription_url?: string; - tags_url?: string; - teams_url?: string; - trees_url?: string; - clone_url?: string; - mirror_url?: string; - hooks_url?: string; - svn_url?: string; - homepage?: string; - language?: string; - forks_count?: number; - stargazers_count?: number; - watchers_count?: number; - size?: number; - default_branch?: string; - open_issues_count?: number; - is_template?: boolean; - topics?: string[]; - has_issues?: boolean; - has_projects?: boolean; - has_wiki?: boolean; - has_pages?: boolean; - has_downloads?: boolean; - archived?: boolean; - disabled?: boolean; - visibility?: string; - pushed_at?: string; - created_at?: string; - updated_at?: string; - permissions?: { - admin?: boolean; - push?: boolean; - pull?: boolean; - }; - allow_rebase_merge?: boolean; - temp_clone_token?: string; - allow_squash_merge?: boolean; - delete_branch_on_merge?: boolean; - allow_merge_commit?: boolean; - subscribers_count?: number; - network_count?: number; - } | null; - temp_clone_token?: string; - /** Whether to allow squash merges for pull requests. */ - allow_squash_merge?: boolean; - /** Whether to delete head branches when pull requests are merged */ - delete_branch_on_merge?: boolean; - /** Whether to allow merge commits for pull requests. */ - allow_merge_commit?: boolean; - subscribers_count?: number; - network_count?: number; - open_issues: number; - watchers: number; - master_branch?: string; - starred_at?: string; - }; - /** Authentication token for a GitHub App installed on a user or org. */ - "installation-token": { - token: string; - expires_at: string; - permissions?: components["schemas"]["app-permissions"]; - repository_selection?: "all" | "selected"; - repositories?: components["schemas"]["repository"][]; - single_file?: string; - has_multiple_single_files?: boolean; - single_file_paths?: string[]; - }; - /** The authorization associated with an OAuth Access. */ - "application-grant": { - id: number; - url: string; - app: { - client_id: string; - name: string; - url: string; - }; - created_at: string; - updated_at: string; - scopes: string[]; - user?: components["schemas"]["simple-user"] | null; - }; - "scoped-installation": { - permissions: components["schemas"]["app-permissions"]; - /** Describe whether all repositories have been selected or there's a selection involved */ - repository_selection: "all" | "selected"; - single_file_name: string | null; - has_multiple_single_files?: boolean; - single_file_paths?: string[]; - repositories_url: string; - account: components["schemas"]["simple-user"]; - }; - /** The authorization for an OAuth app, GitHub App, or a Personal Access Token. */ - authorization: { - id: number; - url: string; - /** A list of scopes that this authorization is in. */ - scopes: string[] | null; - token: string; - token_last_eight: string | null; - hashed_token: string | null; - app: { - client_id: string; - name: string; - url: string; - }; - note: string | null; - note_url: string | null; - updated_at: string; - created_at: string; - fingerprint: string | null; - user?: components["schemas"]["simple-user"] | null; - installation?: components["schemas"]["scoped-installation"] | null; - }; - /** Code Of Conduct */ - "code-of-conduct": { - key: string; - name: string; - url: string; - body?: string; - html_url: string | null; - }; - /** The policy that controls the organizations in the enterprise that are allowed to run GitHub Actions. Can be one of: `all`, `none`, or `selected`. */ - "enabled-organizations": "all" | "none" | "selected"; - /** The permissions policy that controls the actions that are allowed to run. Can be one of: `all`, `local_only`, or `selected`. */ - "allowed-actions": "all" | "local_only" | "selected"; - /** The API URL to use to get or set the actions that are allowed to run, when `allowed_actions` is set to `selected`. */ - "selected-actions-url": string; - "actions-enterprise-permissions": { - enabled_organizations: components["schemas"]["enabled-organizations"]; - /** The API URL to use to get or set the selected organizations that are allowed to run GitHub Actions, when `enabled_organizations` is set to `selected`. */ - selected_organizations_url?: string; - allowed_actions?: components["schemas"]["allowed-actions"]; - selected_actions_url?: components["schemas"]["selected-actions-url"]; - }; - /** Organization Simple */ - "organization-simple": { - login: string; - id: number; - node_id: string; - url: string; - repos_url: string; - events_url: string; - hooks_url: string; - issues_url: string; - members_url: string; - public_members_url: string; - avatar_url: string; - description: string | null; - }; - "selected-actions": { - /** Whether GitHub-owned actions are allowed. For example, this includes the actions in the `actions` organization. */ - github_owned_allowed?: boolean; - /** Whether actions in GitHub Marketplace from verified creators are allowed. Set to `true` to allow all GitHub Marketplace actions by verified creators. */ - verified_allowed?: boolean; - /** Specifies a list of string-matching patterns to allow specific action(s). Wildcards, tags, and SHAs are allowed. For example, `monalisa/octocat@*`, `monalisa/octocat@v2`, `monalisa/*`." */ - patterns_allowed?: string[]; - }; - "runner-groups-enterprise": { - id: number; - name: string; - visibility: string; - default: boolean; - selected_organizations_url?: string; - runners_url: string; - allows_public_repositories: boolean; - }; - /** A self hosted runner */ - runner: { - /** The id of the runner. */ - id: number; - /** The name of the runner. */ - name: string; - /** The Operating System of the runner. */ - os: string; - /** The status of the runner. */ - status: string; - busy: boolean; - labels: { - /** Unique identifier of the label. */ - id?: number; - /** Name of the label. */ - name?: string; - /** The type of label. Read-only labels are applied automatically when the runner is configured. */ - type?: "read-only" | "custom"; - }[]; - }; - /** Runner Application */ - "runner-application": { - os: string; - architecture: string; - download_url: string; - filename: string; - /** A short lived bearer token used to download the runner, if needed. */ - temp_download_token?: string; - sha256_checksum?: string; - }; - /** Authentication Token */ - "authentication-token": { - /** The token used for authentication */ - token: string; - /** The time this token expires */ - expires_at: string; - permissions?: { [key: string]: unknown }; - /** The repositories this token has access to */ - repositories?: components["schemas"]["repository"][]; - single_file?: string | null; - /** Describe whether all repositories have been selected or there's a selection involved */ - repository_selection?: "all" | "selected"; - }; - "audit-log-event": { - /** The time the audit log event occurred, given as a [Unix timestamp](http://en.wikipedia.org/wiki/Unix_time). */ - "@timestamp"?: number; - /** The name of the action that was performed, for example `user.login` or `repo.create`. */ - action?: string; - active?: boolean; - active_was?: boolean; - /** The actor who performed the action. */ - actor?: string; - /** The id of the actor who performed the action. */ - actor_id?: number; - actor_location?: { - country_name?: string; - }; - data?: { [key: string]: any }; - org_id?: number; - /** The username of the account being blocked. */ - blocked_user?: string; - business?: string; - config?: any[]; - config_was?: any[]; - content_type?: string; - /** The time the audit log event was recorded, given as a [Unix timestamp](http://en.wikipedia.org/wiki/Unix_time). */ - created_at?: number; - deploy_key_fingerprint?: string; - /** A unique identifier for an audit event. */ - _document_id?: string; - emoji?: string; - events?: any[]; - events_were?: any[]; - explanation?: string; - fingerprint?: string; - hook_id?: number; - limited_availability?: boolean; - message?: string; - name?: string; - old_user?: string; - openssh_public_key?: string; - org?: string; - previous_visibility?: string; - read_only?: boolean; - /** The name of the repository. */ - repo?: string; - /** The name of the repository. */ - repository?: string; - repository_public?: boolean; - target_login?: string; - team?: string; - /** The type of protocol (for example, HTTP or SSH) used to transfer Git data. */ - transport_protocol?: number; - /** A human readable name for the protocol (for example, HTTP or SSH) used to transfer Git data. */ - transport_protocol_name?: string; - /** The user that was affected by the action performed (if available). */ - user?: string; - /** The repository visibility, for example `public` or `private`. */ - visibility?: string; - }; - "actions-billing-usage": { - /** The sum of the free and paid GitHub Actions minutes used. */ - total_minutes_used: number; - /** The total paid GitHub Actions minutes used. */ - total_paid_minutes_used: number; - /** The amount of free GitHub Actions minutes available. */ - included_minutes: number; - minutes_used_breakdown: { - /** Total minutes used on Ubuntu runner machines. */ - UBUNTU?: number; - /** Total minutes used on macOS runner machines. */ - MACOS?: number; - /** Total minutes used on Windows runner machines. */ - WINDOWS?: number; - }; - }; - "packages-billing-usage": { - /** Sum of the free and paid storage space (GB) for GitHuub Packages. */ - total_gigabytes_bandwidth_used: number; - /** Total paid storage space (GB) for GitHuub Packages. */ - total_paid_gigabytes_bandwidth_used: number; - /** Free storage space (GB) for GitHub Packages. */ - included_gigabytes_bandwidth: number; - }; - "combined-billing-usage": { - /** Numbers of days left in billing cycle. */ - days_left_in_billing_cycle: number; - /** Estimated storage space (GB) used in billing cycle. */ - estimated_paid_storage_for_month: number; - /** Estimated sum of free and paid storage space (GB) used in billing cycle. */ - estimated_storage_for_month: number; - }; - /** Actor */ - actor: { - id: number; - login: string; - display_login?: string; - gravatar_id: string | null; - url: string; - avatar_url: string; - }; - /** Color-coded labels help you categorize and filter your issues (just like labels in Gmail). */ - label: { - id: number; - node_id: string; - /** URL for the label */ - url: string; - /** The name of the label. */ - name: string; - description: string | null; - /** 6-character hex code, without the leading #, identifying the color */ - color: string; - default: boolean; - }; - /** A collection of related issues and pull requests. */ - milestone: { - url: string; - html_url: string; - labels_url: string; - id: number; - node_id: string; - /** The number of the milestone. */ - number: number; - /** The state of the milestone. */ - state: "open" | "closed"; - /** The title of the milestone. */ - title: string; - description: string | null; - creator: components["schemas"]["simple-user"] | null; - open_issues: number; - closed_issues: number; - created_at: string; - updated_at: string; - closed_at: string | null; - due_on: string | null; - }; - /** How the author is associated with the repository. */ - author_association: - | "COLLABORATOR" - | "CONTRIBUTOR" - | "FIRST_TIMER" - | "FIRST_TIME_CONTRIBUTOR" - | "MANNEQUIN" - | "MEMBER" - | "NONE" - | "OWNER"; - /** Issue Simple */ - "issue-simple": { - id: number; - node_id: string; - url: string; - repository_url: string; - labels_url: string; - comments_url: string; - events_url: string; - html_url: string; - number: number; - state: string; - title: string; - body?: string; - user: components["schemas"]["simple-user"] | null; - labels: components["schemas"]["label"][]; - assignee: components["schemas"]["simple-user"] | null; - assignees?: components["schemas"]["simple-user"][] | null; - milestone: components["schemas"]["milestone"] | null; - locked: boolean; - active_lock_reason?: string | null; - comments: number; - pull_request?: { - merged_at?: string | null; - diff_url: string | null; - html_url: string | null; - patch_url: string | null; - url: string | null; - }; - closed_at: string | null; - created_at: string; - updated_at: string; - author_association: components["schemas"]["author_association"]; - body_html?: string; - body_text?: string; - timeline_url?: string; - repository?: components["schemas"]["repository"]; - performed_via_github_app?: components["schemas"]["integration"] | null; - }; - "reaction-rollup": { - url: string; - total_count: number; - "+1": number; - "-1": number; - laugh: number; - confused: number; - heart: number; - hooray: number; - eyes: number; - rocket: number; - }; - /** Comments provide a way for people to collaborate on an issue. */ - "issue-comment": { - /** Unique identifier of the issue comment */ - id: number; - node_id: string; - /** URL for the issue comment */ - url: string; - /** Contents of the issue comment */ - body?: string; - body_text?: string; - body_html?: string; - html_url: string; - user: components["schemas"]["simple-user"] | null; - created_at: string; - updated_at: string; - issue_url: string; - author_association: components["schemas"]["author_association"]; - performed_via_github_app?: components["schemas"]["integration"] | null; - reactions?: components["schemas"]["reaction-rollup"]; - }; - /** Event */ - event: { - id: string; - type: string | null; - actor: components["schemas"]["actor"]; - repo: { - id: number; - name: string; - url: string; - }; - org?: components["schemas"]["actor"]; - payload: { - action?: string; - issue?: components["schemas"]["issue-simple"]; - comment?: components["schemas"]["issue-comment"]; - pages?: { - page_name?: string; - title?: string; - summary?: string | null; - action?: string; - sha?: string; - html_url?: string; - }[]; - }; - public: boolean; - created_at: string | null; - }; - /** Hypermedia Link with Type */ - "link-with-type": { - href: string; - type: string; - }; - /** Feed */ - feed: { - timeline_url: string; - user_url: string; - current_user_public_url?: string; - current_user_url?: string; - current_user_actor_url?: string; - current_user_organization_url?: string; - current_user_organization_urls?: string[]; - security_advisories_url?: string; - _links: { - timeline: components["schemas"]["link-with-type"]; - user: components["schemas"]["link-with-type"]; - security_advisories?: components["schemas"]["link-with-type"]; - current_user?: components["schemas"]["link-with-type"]; - current_user_public?: components["schemas"]["link-with-type"]; - current_user_actor?: components["schemas"]["link-with-type"]; - current_user_organization?: components["schemas"]["link-with-type"]; - current_user_organizations?: components["schemas"]["link-with-type"][]; - }; - }; - /** Base Gist */ - "base-gist": { - url: string; - forks_url: string; - commits_url: string; - id: string; - node_id: string; - git_pull_url: string; - git_push_url: string; - html_url: string; - files: { - [key: string]: { - filename?: string; - type?: string; - language?: string; - raw_url?: string; - size?: number; - }; - }; - public: boolean; - created_at: string; - updated_at: string; - description: string | null; - comments: number; - user: components["schemas"]["simple-user"] | null; - comments_url: string; - owner?: components["schemas"]["simple-user"] | null; - truncated?: boolean; - forks?: { [key: string]: unknown }[]; - history?: { [key: string]: unknown }[]; - }; - /** Public User */ - "public-user": { - login: string; - id: number; - node_id: string; - avatar_url: string; - gravatar_id: string | null; - url: string; - html_url: string; - followers_url: string; - following_url: string; - gists_url: string; - starred_url: string; - subscriptions_url: string; - organizations_url: string; - repos_url: string; - events_url: string; - received_events_url: string; - type: string; - site_admin: boolean; - name: string | null; - company: string | null; - blog: string | null; - location: string | null; - email: string | null; - hireable: boolean | null; - bio: string | null; - twitter_username?: string | null; - public_repos: number; - public_gists: number; - followers: number; - following: number; - created_at: string; - updated_at: string; - plan?: { - collaborators: number; - name: string; - space: number; - private_repos: number; - }; - suspended_at?: string | null; - private_gists?: number; - total_private_repos?: number; - owned_private_repos?: number; - disk_usage?: number; - collaborators?: number; - }; - /** Gist History */ - "gist-history": { - user?: components["schemas"]["simple-user"]; - version?: string; - committed_at?: string; - change_status?: { - total?: number; - additions?: number; - deletions?: number; - }; - url?: string; - }; - /** Gist Simple */ - "gist-simple": { - forks?: - | { - id?: string; - url?: string; - user?: components["schemas"]["public-user"]; - created_at?: string; - updated_at?: string; - }[] - | null; - history?: components["schemas"]["gist-history"][] | null; - /** Gist */ - fork_of?: { - url: string; - forks_url: string; - commits_url: string; - id: string; - node_id: string; - git_pull_url: string; - git_push_url: string; - html_url: string; - files: { - [key: string]: { - filename?: string; - type?: string; - language?: string; - raw_url?: string; - size?: number; - }; - }; - public: boolean; - created_at: string; - updated_at: string; - description: string | null; - comments: number; - user: components["schemas"]["simple-user"] | null; - comments_url: string; - owner?: components["schemas"]["simple-user"] | null; - truncated?: boolean; - forks?: { [key: string]: unknown }[]; - history?: { [key: string]: unknown }[]; - } | null; - url?: string; - forks_url?: string; - commits_url?: string; - id?: string; - node_id?: string; - git_pull_url?: string; - git_push_url?: string; - html_url?: string; - files?: { - [key: string]: { - filename?: string; - type?: string; - language?: string; - raw_url?: string; - size?: number; - truncated?: boolean; - content?: string; - } | null; - }; - public?: boolean; - created_at?: string; - updated_at?: string; - description?: string | null; - comments?: number; - user?: string | null; - comments_url?: string; - owner?: components["schemas"]["simple-user"]; - truncated?: boolean; - }; - /** A comment made to a gist. */ - "gist-comment": { - id: number; - node_id: string; - url: string; - /** The comment text. */ - body: string; - user: components["schemas"]["simple-user"] | null; - created_at: string; - updated_at: string; - author_association: components["schemas"]["author_association"]; - }; - /** Gist Commit */ - "gist-commit": { - url: string; - version: string; - user: components["schemas"]["simple-user"] | null; - change_status: { - total?: number; - additions?: number; - deletions?: number; - }; - committed_at: string; - }; - /** Gitignore Template */ - "gitignore-template": { - name: string; - source: string; - }; - /** Issues are a great way to keep track of tasks, enhancements, and bugs for your projects. */ - issue: { - id: number; - node_id: string; - /** URL for the issue */ - url: string; - repository_url: string; - labels_url: string; - comments_url: string; - events_url: string; - html_url: string; - /** Number uniquely identifying the issue within its repository */ - number: number; - /** State of the issue; either 'open' or 'closed' */ - state: string; - /** Title of the issue */ - title: string; - /** Contents of the issue */ - body?: string | null; - user: components["schemas"]["simple-user"] | null; - /** Labels to associate with this issue; pass one or more label names to replace the set of labels on this issue; send an empty array to clear all labels from the issue; note that the labels are silently dropped for users without push access to the repository */ - labels: ( - | string - | { - id?: number; - node_id?: string; - url?: string; - name?: string; - description?: string | null; - color?: string | null; - default?: boolean; - } - )[]; - assignee: components["schemas"]["simple-user"] | null; - assignees?: components["schemas"]["simple-user"][] | null; - milestone: components["schemas"]["milestone"] | null; - locked: boolean; - active_lock_reason?: string | null; - comments: number; - pull_request?: { - merged_at?: string | null; - diff_url: string | null; - html_url: string | null; - patch_url: string | null; - url: string | null; - }; - closed_at: string | null; - created_at: string; - updated_at: string; - closed_by?: components["schemas"]["simple-user"] | null; - body_html?: string; - body_text?: string; - timeline_url?: string; - repository?: components["schemas"]["repository"]; - performed_via_github_app?: components["schemas"]["integration"] | null; - author_association: components["schemas"]["author_association"]; - reactions?: components["schemas"]["reaction-rollup"]; - }; - /** License */ - license: { - key: string; - name: string; - spdx_id: string | null; - url: string | null; - node_id: string; - html_url: string; - description: string; - implementation: string; - permissions: string[]; - conditions: string[]; - limitations: string[]; - body: string; - featured: boolean; - }; - /** Marketplace Listing Plan */ - "marketplace-listing-plan": { - url: string; - accounts_url: string; - id: number; - number: number; - name: string; - description: string; - monthly_price_in_cents: number; - yearly_price_in_cents: number; - price_model: string; - has_free_trial: boolean; - unit_name: string | null; - state: string; - bullets: string[]; - }; - /** Marketplace Purchase */ - "marketplace-purchase": { - url: string; - type: string; - id: number; - login: string; - organization_billing_email?: string; - email?: string | null; - marketplace_pending_change?: { - is_installed?: boolean; - effective_date?: string; - unit_count?: number | null; - id?: number; - plan?: components["schemas"]["marketplace-listing-plan"]; - } | null; - marketplace_purchase: { - billing_cycle?: string; - next_billing_date?: string | null; - is_installed?: boolean; - unit_count?: number | null; - on_free_trial?: boolean; - free_trial_ends_on?: string | null; - updated_at?: string; - plan?: components["schemas"]["marketplace-listing-plan"]; - }; - }; - /** Api Overview */ - "api-overview": { - verifiable_password_authentication: boolean; - ssh_key_fingerprints?: { - SHA256_RSA?: string; - SHA256_DSA?: string; - }; - hooks?: string[]; - web?: string[]; - api?: string[]; - git?: string[]; - packages?: string[]; - pages?: string[]; - importer?: string[]; - actions?: string[]; - dependabot?: string[]; - }; - /** Minimal Repository */ - "minimal-repository": { - id: number; - node_id: string; - name: string; - full_name: string; - owner: components["schemas"]["simple-user"] | null; - private: boolean; - html_url: string; - description: string | null; - fork: boolean; - url: string; - archive_url: string; - assignees_url: string; - blobs_url: string; - branches_url: string; - collaborators_url: string; - comments_url: string; - commits_url: string; - compare_url: string; - contents_url: string; - contributors_url: string; - deployments_url: string; - downloads_url: string; - events_url: string; - forks_url: string; - git_commits_url: string; - git_refs_url: string; - git_tags_url: string; - git_url?: string; - issue_comment_url: string; - issue_events_url: string; - issues_url: string; - keys_url: string; - labels_url: string; - languages_url: string; - merges_url: string; - milestones_url: string; - notifications_url: string; - pulls_url: string; - releases_url: string; - ssh_url?: string; - stargazers_url: string; - statuses_url: string; - subscribers_url: string; - subscription_url: string; - tags_url: string; - teams_url: string; - trees_url: string; - clone_url?: string; - mirror_url?: string | null; - hooks_url: string; - svn_url?: string; - homepage?: string | null; - language?: string | null; - forks_count?: number; - stargazers_count?: number; - watchers_count?: number; - size?: number; - default_branch?: string; - open_issues_count?: number; - is_template?: boolean; - topics?: string[]; - has_issues?: boolean; - has_projects?: boolean; - has_wiki?: boolean; - has_pages?: boolean; - has_downloads?: boolean; - archived?: boolean; - disabled?: boolean; - visibility?: string; - pushed_at?: string | null; - created_at?: string | null; - updated_at?: string | null; - permissions?: { - admin?: boolean; - push?: boolean; - pull?: boolean; - maintain?: boolean; - triage?: boolean; - }; - template_repository?: components["schemas"]["repository"] | null; - temp_clone_token?: string; - delete_branch_on_merge?: boolean; - subscribers_count?: number; - network_count?: number; - code_of_conduct?: components["schemas"]["code-of-conduct"]; - license?: { - key?: string; - name?: string; - spdx_id?: string; - url?: string; - node_id?: string; - } | null; - forks?: number; - open_issues?: number; - watchers?: number; - }; - /** Thread */ - thread: { - id: string; - repository: components["schemas"]["minimal-repository"]; - subject: { - title: string; - url: string; - latest_comment_url: string; - type: string; - }; - reason: string; - unread: boolean; - updated_at: string; - last_read_at: string | null; - url: string; - subscription_url: string; - }; - /** Thread Subscription */ - "thread-subscription": { - subscribed: boolean; - ignored: boolean; - reason: string | null; - created_at: string | null; - url: string; - thread_url?: string; - repository_url?: string; - }; - /** Organization Full */ - "organization-full": { - login: string; - id: number; - node_id: string; - url: string; - repos_url: string; - events_url: string; - hooks_url: string; - issues_url: string; - members_url: string; - public_members_url: string; - avatar_url: string; - description: string | null; - name?: string; - company?: string; - blog?: string; - location?: string; - email?: string; - twitter_username?: string | null; - is_verified?: boolean; - has_organization_projects: boolean; - has_repository_projects: boolean; - public_repos: number; - public_gists: number; - followers: number; - following: number; - html_url: string; - created_at: string; - type: string; - total_private_repos?: number; - owned_private_repos?: number; - private_gists?: number | null; - disk_usage?: number | null; - collaborators?: number | null; - billing_email?: string | null; - plan?: { - name: string; - space: number; - private_repos: number; - filled_seats?: number; - seats?: number; - }; - default_repository_permission?: string | null; - members_can_create_repositories?: boolean | null; - two_factor_requirement_enabled?: boolean | null; - members_allowed_repository_creation_type?: string; - members_can_create_public_repositories?: boolean; - members_can_create_private_repositories?: boolean; - members_can_create_internal_repositories?: boolean; - members_can_create_pages?: boolean; - members_can_create_public_pages?: boolean; - members_can_create_private_pages?: boolean; - updated_at: string; - }; - /** The policy that controls the repositories in the organization that are allowed to run GitHub Actions. Can be one of: `all`, `none`, or `selected`. */ - "enabled-repositories": "all" | "none" | "selected"; - "actions-organization-permissions": { - enabled_repositories: components["schemas"]["enabled-repositories"]; - /** The API URL to use to get or set the selected repositories that are allowed to run GitHub Actions, when `enabled_repositories` is set to `selected`. */ - selected_repositories_url?: string; - allowed_actions?: components["schemas"]["allowed-actions"]; - selected_actions_url?: components["schemas"]["selected-actions-url"]; - }; - "runner-groups-org": { - id: number; - name: string; - visibility: string; - default: boolean; - /** Link to the selected repositories resource for this runner group. Not present unless visibility was set to `selected` */ - selected_repositories_url?: string; - runners_url: string; - inherited: boolean; - inherited_allows_public_repositories?: boolean; - allows_public_repositories: boolean; - }; - /** Secrets for GitHub Actions for an organization. */ - "organization-actions-secret": { - /** The name of the secret. */ - name: string; - created_at: string; - updated_at: string; - /** Visibility of a secret */ - visibility: "all" | "private" | "selected"; - selected_repositories_url?: string; - }; - /** The public key used for setting Actions Secrets. */ - "actions-public-key": { - /** The identifier for the key. */ - key_id: string; - /** The Base64 encoded public key. */ - key: string; - id?: number; - url?: string; - title?: string; - created_at?: string; - }; - /** An object without any properties. */ - "empty-object": { [key: string]: unknown }; - /** Credential Authorization */ - "credential-authorization": { - /** User login that owns the underlying credential. */ - login: string; - /** Unique identifier for the credential. */ - credential_id: number; - /** Human-readable description of the credential type. */ - credential_type: string; - /** Last eight characters of the credential. Only included in responses with credential_type of personal access token. */ - token_last_eight?: string; - /** Date when the credential was authorized for use. */ - credential_authorized_at: string; - /** List of oauth scopes the token has been granted. */ - scopes?: string[]; - /** Unique string to distinguish the credential. Only included in responses with credential_type of SSH Key. */ - fingerprint?: string; - /** Date when the credential was last accessed. May be null if it was never accessed */ - credential_accessed_at?: string | null; - authorized_credential_id?: number | null; - /** The title given to the ssh key. This will only be present when the credential is an ssh key. */ - authorized_credential_title?: string | null; - /** The note given to the token. This will only be present when the credential is a token. */ - authorized_credential_note?: string | null; - }; - /** Organization Invitation */ - "organization-invitation": { - id: number; - login: string | null; - email: string | null; - role: string; - created_at: string; - failed_at?: string | null; - failed_reason?: string | null; - inviter: components["schemas"]["simple-user"]; - team_count: number; - node_id: string; - invitation_teams_url: string; - }; - /** Org Hook */ - "org-hook": { - id: number; - url: string; - ping_url: string; - deliveries_url?: string; - name: string; - events: string[]; - active: boolean; - config: { - url?: string; - insecure_ssl?: string; - content_type?: string; - secret?: string; - }; - updated_at: string; - created_at: string; - type: string; - }; - /** The type of GitHub user that can comment, open issues, or create pull requests while the interaction limit is in effect. Can be one of: `existing_users`, `contributors_only`, `collaborators_only`. */ - "interaction-group": - | "existing_users" - | "contributors_only" - | "collaborators_only"; - /** Interaction limit settings. */ - "interaction-limit-response": { - limit: components["schemas"]["interaction-group"]; - origin: string; - expires_at: string; - }; - /** The duration of the interaction restriction. Can be one of: `one_day`, `three_days`, `one_week`, `one_month`, `six_months`. Default: `one_day`. */ - "interaction-expiry": - | "one_day" - | "three_days" - | "one_week" - | "one_month" - | "six_months"; - /** Limit interactions to a specific type of user for a specified duration */ - "interaction-limit": { - limit: components["schemas"]["interaction-group"]; - expiry?: components["schemas"]["interaction-expiry"]; - }; - /** Groups of organization members that gives permissions on specified repositories. */ - "team-simple": { - /** Unique identifier of the team */ - id: number; - node_id: string; - /** URL for the team */ - url: string; - members_url: string; - /** Name of the team */ - name: string; - /** Description of the team */ - description: string | null; - /** Permission that the team will have for its repositories */ - permission: string; - /** The level of privacy this team should have */ - privacy?: string; - html_url: string; - repositories_url: string; - slug: string; - /** Distinguished Name (DN) that team maps to within LDAP environment */ - ldap_dn?: string; - } | null; - /** Groups of organization members that gives permissions on specified repositories. */ - team: { - id: number; - node_id: string; - name: string; - slug: string; - description: string | null; - privacy?: string; - permission: string; - permissions?: { - pull: boolean; - triage: boolean; - push: boolean; - maintain: boolean; - admin: boolean; - }; - url: string; - html_url: string; - members_url: string; - repositories_url: string; - parent: components["schemas"]["team-simple"] | null; - }; - /** Org Membership */ - "org-membership": { - url: string; - /** The state of the member in the organization. The `pending` state indicates the user has not yet accepted an invitation. */ - state: "active" | "pending"; - /** The user's membership type in the organization. */ - role: "admin" | "member" | "billing_manager"; - organization_url: string; - organization: components["schemas"]["organization-simple"]; - user: components["schemas"]["simple-user"] | null; - permissions?: { - can_create_repository: boolean; - }; - }; - /** A migration. */ - migration: { - id: number; - owner: components["schemas"]["simple-user"] | null; - guid: string; - state: string; - lock_repositories: boolean; - exclude_attachments: boolean; - repositories: components["schemas"]["repository"][]; - url: string; - created_at: string; - updated_at: string; - node_id: string; - archive_url?: string; - exclude?: { [key: string]: unknown }[]; - }; - /** A software package */ - package: { - /** Unique identifier of the package. */ - id: number; - /** The name of the package. */ - name: string; - package_type: - | "npm" - | "maven" - | "rubygems" - | "docker" - | "nuget" - | "container"; - url: string; - html_url: string; - /** The number of versions of the package. */ - version_count: number; - visibility: "private" | "public"; - owner?: components["schemas"]["simple-user"] | null; - repository?: components["schemas"]["minimal-repository"] | null; - created_at: string; - updated_at: string; - }; - /** A version of a software package */ - "package-version": { - /** Unique identifier of the package version. */ - id: number; - /** The name of the package version. */ - name: string; - url: string; - package_html_url: string; - html_url?: string; - license?: string; - description?: string; - created_at: string; - updated_at: string; - deleted_at?: string; - metadata?: { - package_type: - | "npm" - | "maven" - | "rubygems" - | "docker" - | "nuget" - | "container"; - container?: { - tags: any[]; - }; - docker?: { - tag?: any[]; - } & { - tags: unknown; - }; - }; - }; - /** Projects are a way to organize columns and cards of work. */ - project: { - owner_url: string; - url: string; - html_url: string; - columns_url: string; - id: number; - node_id: string; - /** Name of the project */ - name: string; - /** Body of the project */ - body: string | null; - number: number; - /** State of the project; either 'open' or 'closed' */ - state: string; - creator: components["schemas"]["simple-user"] | null; - created_at: string; - updated_at: string; - /** The baseline permission that all organization members have on this project. Only present if owner is an organization. */ - organization_permission?: "read" | "write" | "admin" | "none"; - /** Whether or not this project can be seen by everyone. Only present if owner is an organization. */ - private?: boolean; - }; - /** External Groups to be mapped to a team for membership */ - "group-mapping": { - /** Array of groups to be mapped to this team */ - groups?: { - /** The ID of the group */ - group_id: string; - /** The name of the group */ - group_name: string; - /** a description of the group */ - group_description: string; - /** synchronization status for this group mapping */ - status?: string; - /** the time of the last sync for this group-mapping */ - synced_at?: string | null; - }[]; - }; - /** Groups of organization members that gives permissions on specified repositories. */ - "team-full": { - /** Unique identifier of the team */ - id: number; - node_id: string; - /** URL for the team */ - url: string; - html_url: string; - /** Name of the team */ - name: string; - slug: string; - description: string | null; - /** The level of privacy this team should have */ - privacy?: "closed" | "secret"; - /** Permission that the team will have for its repositories */ - permission: string; - members_url: string; - repositories_url: string; - parent?: components["schemas"]["team-simple"] | null; - members_count: number; - repos_count: number; - created_at: string; - updated_at: string; - organization: components["schemas"]["organization-full"]; - /** Distinguished Name (DN) that team maps to within LDAP environment */ - ldap_dn?: string; - }; - /** A team discussion is a persistent record of a free-form conversation within a team. */ - "team-discussion": { - author: components["schemas"]["simple-user"] | null; - /** The main text of the discussion. */ - body: string; - body_html: string; - /** The current version of the body content. If provided, this update operation will be rejected if the given version does not match the latest version on the server. */ - body_version: string; - comments_count: number; - comments_url: string; - created_at: string; - last_edited_at: string | null; - html_url: string; - node_id: string; - /** The unique sequence number of a team discussion. */ - number: number; - /** Whether or not this discussion should be pinned for easy retrieval. */ - pinned: boolean; - /** Whether or not this discussion should be restricted to team members and organization administrators. */ - private: boolean; - team_url: string; - /** The title of the discussion. */ - title: string; - updated_at: string; - url: string; - reactions?: components["schemas"]["reaction-rollup"]; - }; - /** A reply to a discussion within a team. */ - "team-discussion-comment": { - author: components["schemas"]["simple-user"] | null; - /** The main text of the comment. */ - body: string; - body_html: string; - /** The current version of the body content. If provided, this update operation will be rejected if the given version does not match the latest version on the server. */ - body_version: string; - created_at: string; - last_edited_at: string | null; - discussion_url: string; - html_url: string; - node_id: string; - /** The unique sequence number of a team discussion comment. */ - number: number; - updated_at: string; - url: string; - reactions?: components["schemas"]["reaction-rollup"]; - }; - /** Reactions to conversations provide a way to help people express their feelings more simply and effectively. */ - reaction: { - id: number; - node_id: string; - user: components["schemas"]["simple-user"] | null; - /** The reaction to use */ - content: - | "+1" - | "-1" - | "laugh" - | "confused" - | "heart" - | "hooray" - | "rocket" - | "eyes"; - created_at: string; - }; - /** Team Membership */ - "team-membership": { - url: string; - /** The role of the user in the team. */ - role: "member" | "maintainer"; - /** The state of the user's membership in the team. */ - state: "active" | "pending"; - }; - /** A team's access to a project. */ - "team-project": { - owner_url: string; - url: string; - html_url: string; - columns_url: string; - id: number; - node_id: string; - name: string; - body: string | null; - number: number; - state: string; - creator: components["schemas"]["simple-user"]; - created_at: string; - updated_at: string; - /** The organization permission for this project. Only present when owner is an organization. */ - organization_permission?: string; - /** Whether the project is private or not. Only present when owner is an organization. */ - private?: boolean; - permissions: { - read: boolean; - write: boolean; - admin: boolean; - }; - }; - /** A team's access to a repository. */ - "team-repository": { - /** Unique identifier of the repository */ - id: number; - node_id: string; - /** The name of the repository. */ - name: string; - full_name: string; - license: components["schemas"]["license-simple"] | null; - forks: number; - permissions?: { - admin: boolean; - pull: boolean; - triage?: boolean; - push: boolean; - maintain?: boolean; - }; - owner: components["schemas"]["simple-user"] | null; - /** Whether the repository is private or public. */ - private: boolean; - html_url: string; - description: string | null; - fork: boolean; - url: string; - archive_url: string; - assignees_url: string; - blobs_url: string; - branches_url: string; - collaborators_url: string; - comments_url: string; - commits_url: string; - compare_url: string; - contents_url: string; - contributors_url: string; - deployments_url: string; - downloads_url: string; - events_url: string; - forks_url: string; - git_commits_url: string; - git_refs_url: string; - git_tags_url: string; - git_url: string; - issue_comment_url: string; - issue_events_url: string; - issues_url: string; - keys_url: string; - labels_url: string; - languages_url: string; - merges_url: string; - milestones_url: string; - notifications_url: string; - pulls_url: string; - releases_url: string; - ssh_url: string; - stargazers_url: string; - statuses_url: string; - subscribers_url: string; - subscription_url: string; - tags_url: string; - teams_url: string; - trees_url: string; - clone_url: string; - mirror_url: string | null; - hooks_url: string; - svn_url: string; - homepage: string | null; - language: string | null; - forks_count: number; - stargazers_count: number; - watchers_count: number; - size: number; - /** The default branch of the repository. */ - default_branch: string; - open_issues_count: number; - /** Whether this repository acts as a template that can be used to generate new repositories. */ - is_template?: boolean; - topics?: string[]; - /** Whether issues are enabled. */ - has_issues: boolean; - /** Whether projects are enabled. */ - has_projects: boolean; - /** Whether the wiki is enabled. */ - has_wiki: boolean; - has_pages: boolean; - /** Whether downloads are enabled. */ - has_downloads: boolean; - /** Whether the repository is archived. */ - archived: boolean; - /** Returns whether or not this repository disabled. */ - disabled: boolean; - /** The repository visibility: public, private, or internal. */ - visibility?: string; - pushed_at: string | null; - created_at: string | null; - updated_at: string | null; - /** Whether to allow rebase merges for pull requests. */ - allow_rebase_merge?: boolean; - template_repository?: components["schemas"]["repository"] | null; - temp_clone_token?: string; - /** Whether to allow squash merges for pull requests. */ - allow_squash_merge?: boolean; - /** Whether to delete head branches when pull requests are merged */ - delete_branch_on_merge?: boolean; - /** Whether to allow merge commits for pull requests. */ - allow_merge_commit?: boolean; - subscribers_count?: number; - network_count?: number; - open_issues: number; - watchers: number; - master_branch?: string; - }; - /** Project cards represent a scope of work. */ - "project-card": { - url: string; - /** The project card's ID */ - id: number; - node_id: string; - note: string | null; - creator: components["schemas"]["simple-user"] | null; - created_at: string; - updated_at: string; - /** Whether or not the card is archived */ - archived?: boolean; - column_name?: string; - project_id?: string; - column_url: string; - content_url?: string; - project_url: string; - }; - /** Project columns contain cards of work. */ - "project-column": { - url: string; - project_url: string; - cards_url: string; - /** The unique identifier of the project column */ - id: number; - node_id: string; - /** Name of the project column */ - name: string; - created_at: string; - updated_at: string; - }; - /** Repository Collaborator Permission */ - "repository-collaborator-permission": { - permission: string; - user: components["schemas"]["simple-user"] | null; - }; - "rate-limit": { - limit: number; - remaining: number; - reset: number; - used: number; - }; - /** Rate Limit Overview */ - "rate-limit-overview": { - resources: { - core: components["schemas"]["rate-limit"]; - graphql?: components["schemas"]["rate-limit"]; - search: components["schemas"]["rate-limit"]; - source_import?: components["schemas"]["rate-limit"]; - integration_manifest?: components["schemas"]["rate-limit"]; - code_scanning_upload?: components["schemas"]["rate-limit"]; - }; - rate: components["schemas"]["rate-limit"]; - }; - /** Code of Conduct Simple */ - "code-of-conduct-simple": { - url: string; - key: string; - name: string; - html_url: string | null; - }; - /** Full Repository */ - "full-repository": { - id: number; - node_id: string; - name: string; - full_name: string; - owner: components["schemas"]["simple-user"]; - private: boolean; - html_url: string; - description: string | null; - fork: boolean; - url: string; - archive_url: string; - assignees_url: string; - blobs_url: string; - branches_url: string; - collaborators_url: string; - comments_url: string; - commits_url: string; - compare_url: string; - contents_url: string; - contributors_url: string; - deployments_url: string; - downloads_url: string; - events_url: string; - forks_url: string; - git_commits_url: string; - git_refs_url: string; - git_tags_url: string; - git_url: string; - issue_comment_url: string; - issue_events_url: string; - issues_url: string; - keys_url: string; - labels_url: string; - languages_url: string; - merges_url: string; - milestones_url: string; - notifications_url: string; - pulls_url: string; - releases_url: string; - ssh_url: string; - stargazers_url: string; - statuses_url: string; - subscribers_url: string; - subscription_url: string; - tags_url: string; - teams_url: string; - trees_url: string; - clone_url: string; - mirror_url: string | null; - hooks_url: string; - svn_url: string; - homepage: string | null; - language: string | null; - forks_count: number; - stargazers_count: number; - watchers_count: number; - size: number; - default_branch: string; - open_issues_count: number; - is_template?: boolean; - topics?: string[]; - has_issues: boolean; - has_projects: boolean; - has_wiki: boolean; - has_pages: boolean; - has_downloads: boolean; - archived: boolean; - /** Returns whether or not this repository disabled. */ - disabled: boolean; - /** The repository visibility: public, private, or internal. */ - visibility?: string; - pushed_at: string; - created_at: string; - updated_at: string; - permissions?: { - admin: boolean; - pull: boolean; - push: boolean; - }; - allow_rebase_merge?: boolean; - template_repository?: components["schemas"]["repository"] | null; - temp_clone_token?: string | null; - allow_squash_merge?: boolean; - delete_branch_on_merge?: boolean; - allow_merge_commit?: boolean; - subscribers_count: number; - network_count: number; - license: components["schemas"]["license-simple"] | null; - organization?: components["schemas"]["simple-user"] | null; - parent?: components["schemas"]["repository"]; - source?: components["schemas"]["repository"]; - forks: number; - master_branch?: string; - open_issues: number; - watchers: number; - /** Whether anonymous git access is allowed. */ - anonymous_access_enabled?: boolean; - code_of_conduct?: components["schemas"]["code-of-conduct-simple"]; - security_and_analysis?: { - advanced_security?: { - status?: "enabled" | "disabled"; - }; - secret_scanning?: { - status?: "enabled" | "disabled"; - }; - } | null; - }; - /** An artifact */ - artifact: { - id: number; - node_id: string; - /** The name of the artifact. */ - name: string; - /** The size in bytes of the artifact. */ - size_in_bytes: number; - url: string; - archive_download_url: string; - /** Whether or not the artifact has expired. */ - expired: boolean; - created_at: string | null; - expires_at: string | null; - updated_at: string | null; - }; - /** Information of a job execution in a workflow run */ - job: { - /** The id of the job. */ - id: number; - /** The id of the associated workflow run. */ - run_id: number; - run_url: string; - node_id: string; - /** The SHA of the commit that is being run. */ - head_sha: string; - url: string; - html_url: string | null; - /** The phase of the lifecycle that the job is currently in. */ - status: "queued" | "in_progress" | "completed"; - /** The outcome of the job. */ - conclusion: string | null; - /** The time that the job started, in ISO 8601 format. */ - started_at: string; - /** The time that the job finished, in ISO 8601 format. */ - completed_at: string | null; - /** The name of the job. */ - name: string; - /** Steps in this job. */ - steps?: { - /** The phase of the lifecycle that the job is currently in. */ - status: "queued" | "in_progress" | "completed"; - /** The outcome of the job. */ - conclusion: string | null; - /** The name of the job. */ - name: string; - number: number; - /** The time that the step started, in ISO 8601 format. */ - started_at?: string | null; - /** The time that the job finished, in ISO 8601 format. */ - completed_at?: string | null; - }[]; - check_run_url: string; - }; - /** Whether GitHub Actions is enabled on the repository. */ - "actions-enabled": boolean; - "actions-repository-permissions": { - enabled: components["schemas"]["actions-enabled"]; - allowed_actions?: components["schemas"]["allowed-actions"]; - selected_actions_url?: components["schemas"]["selected-actions-url"]; - }; - "pull-request-minimal": { - id: number; - number: number; - url: string; - head: { - ref: string; - sha: string; - repo: { - id: number; - url: string; - name: string; - }; - }; - base: { - ref: string; - sha: string; - repo: { - id: number; - url: string; - name: string; - }; - }; - }; - /** Simple Commit */ - "simple-commit": { - id: string; - tree_id: string; - message: string; - timestamp: string; - author: { - name: string; - email: string; - } | null; - committer: { - name: string; - email: string; - } | null; - }; - /** An invocation of a workflow */ - "workflow-run": { - /** The ID of the workflow run. */ - id: number; - /** The name of the workflow run. */ - name?: string | null; - node_id: string; - /** The ID of the associated check suite. */ - check_suite_id?: number; - /** The node ID of the associated check suite. */ - check_suite_node_id?: string; - head_branch: string | null; - /** The SHA of the head commit that points to the version of the worflow being run. */ - head_sha: string; - /** The auto incrementing run number for the workflow run. */ - run_number: number; - event: string; - status: string | null; - conclusion: string | null; - /** The ID of the parent workflow. */ - workflow_id: number; - /** The URL to the workflow run. */ - url: string; - html_url: string; - pull_requests: components["schemas"]["pull-request-minimal"][] | null; - created_at: string; - updated_at: string; - /** The URL to the jobs for the workflow run. */ - jobs_url: string; - /** The URL to download the logs for the workflow run. */ - logs_url: string; - /** The URL to the associated check suite. */ - check_suite_url: string; - /** The URL to the artifacts for the workflow run. */ - artifacts_url: string; - /** The URL to cancel the workflow run. */ - cancel_url: string; - /** The URL to rerun the workflow run. */ - rerun_url: string; - /** The URL to the workflow. */ - workflow_url: string; - head_commit: components["schemas"]["simple-commit"] | null; - repository: components["schemas"]["minimal-repository"]; - head_repository: components["schemas"]["minimal-repository"]; - head_repository_id?: number; - }; - /** An entry in the reviews log for environment deployments */ - "environment-approvals": { - /** The list of environments that were approved or rejected */ - environments: { - /** The id of the environment. */ - id?: number; - node_id?: string; - /** The name of the environment. */ - name?: string; - url?: string; - html_url?: string; - /** The time that the environment was created, in ISO 8601 format. */ - created_at?: string; - /** The time that the environment was last updated, in ISO 8601 format. */ - updated_at?: string; - }[]; - /** Whether deployment to the environment(s) was approved or rejected */ - state: "approved" | "rejected"; - user: components["schemas"]["simple-user"]; - /** The comment submitted with the deployment review */ - comment: string; - }; - /** The type of reviewer. Must be one of: `User` or `Team` */ - "deployment-reviewer-type": "User" | "Team"; - /** Details of a deployment that is waiting for protection rules to pass */ - "pending-deployment": { - environment: { - /** The id of the environment. */ - id?: number; - node_id?: string; - /** The name of the environment. */ - name?: string; - url?: string; - html_url?: string; - }; - /** The set duration of the wait timer */ - wait_timer: number; - /** The time that the wait timer began. */ - wait_timer_started_at: string | null; - /** Whether the currently authenticated user can approve the deployment */ - current_user_can_approve: boolean; - /** The people or teams that may approve jobs that reference the environment. You can list up to six users or teams as reviewers. The reviewers must have at least read access to the repository. Only one of the required reviewers needs to approve the job for it to proceed. */ - reviewers: { - type?: components["schemas"]["deployment-reviewer-type"]; - reviewer?: Partial & - Partial; - }[]; - }; - /** A request for a specific ref(branch,sha,tag) to be deployed */ - deployment: { - url: string; - /** Unique identifier of the deployment */ - id: number; - node_id: string; - sha: string; - /** The ref to deploy. This can be a branch, tag, or sha. */ - ref: string; - /** Parameter to specify a task to execute */ - task: string; - payload: { [key: string]: any } | string; - original_environment?: string; - /** Name for the target deployment environment. */ - environment: string; - description: string | null; - creator: components["schemas"]["simple-user"] | null; - created_at: string; - updated_at: string; - statuses_url: string; - repository_url: string; - /** Specifies if the given environment is will no longer exist at some point in the future. Default: false. */ - transient_environment?: boolean; - /** Specifies if the given environment is one that end-users directly interact with. Default: false. */ - production_environment?: boolean; - performed_via_github_app?: components["schemas"]["integration"] | null; - }; - /** Workflow Run Usage */ - "workflow-run-usage": { - billable: { - UBUNTU?: { - total_ms: number; - jobs: number; - }; - MACOS?: { - total_ms: number; - jobs: number; - }; - WINDOWS?: { - total_ms: number; - jobs: number; - }; - }; - run_duration_ms?: number; - }; - /** Set secrets for GitHub Actions. */ - "actions-secret": { - /** The name of the secret. */ - name: string; - created_at: string; - updated_at: string; - }; - /** A GitHub Actions workflow */ - workflow: { - id: number; - node_id: string; - name: string; - path: string; - state: - | "active" - | "deleted" - | "disabled_fork" - | "disabled_inactivity" - | "disabled_manually"; - created_at: string; - updated_at: string; - url: string; - html_url: string; - badge_url: string; - deleted_at?: string; - }; - /** Workflow Usage */ - "workflow-usage": { - billable: { - UBUNTU?: { - total_ms?: number; - }; - MACOS?: { - total_ms?: number; - }; - WINDOWS?: { - total_ms?: number; - }; - }; - }; - /** Protected Branch Admin Enforced */ - "protected-branch-admin-enforced": { - url: string; - enabled: boolean; - }; - /** Protected Branch Pull Request Review */ - "protected-branch-pull-request-review": { - url?: string; - dismissal_restrictions?: { - /** The list of users with review dismissal access. */ - users?: components["schemas"]["simple-user"][]; - /** The list of teams with review dismissal access. */ - teams?: components["schemas"]["team"][]; - url?: string; - users_url?: string; - teams_url?: string; - }; - dismiss_stale_reviews: boolean; - require_code_owner_reviews: boolean; - required_approving_review_count?: number; - }; - /** Branch Restriction Policy */ - "branch-restriction-policy": { - url: string; - users_url: string; - teams_url: string; - apps_url: string; - users: { - login?: string; - id?: number; - node_id?: string; - avatar_url?: string; - gravatar_id?: string; - url?: string; - html_url?: string; - followers_url?: string; - following_url?: string; - gists_url?: string; - starred_url?: string; - subscriptions_url?: string; - organizations_url?: string; - repos_url?: string; - events_url?: string; - received_events_url?: string; - type?: string; - site_admin?: boolean; - }[]; - teams: { - id?: number; - node_id?: string; - url?: string; - html_url?: string; - name?: string; - slug?: string; - description?: string | null; - privacy?: string; - permission?: string; - members_url?: string; - repositories_url?: string; - parent?: string | null; - }[]; - apps: { - id?: number; - slug?: string; - node_id?: string; - owner?: { - login?: string; - id?: number; - node_id?: string; - url?: string; - repos_url?: string; - events_url?: string; - hooks_url?: string; - issues_url?: string; - members_url?: string; - public_members_url?: string; - avatar_url?: string; - description?: string; - gravatar_id?: string; - html_url?: string; - followers_url?: string; - following_url?: string; - gists_url?: string; - starred_url?: string; - subscriptions_url?: string; - organizations_url?: string; - received_events_url?: string; - type?: string; - site_admin?: boolean; - }; - name?: string; - description?: string; - external_url?: string; - html_url?: string; - created_at?: string; - updated_at?: string; - permissions?: { - metadata?: string; - contents?: string; - issues?: string; - single_file?: string; - }; - events?: string[]; - }[]; - }; - /** Branch Protection */ - "branch-protection": { - url?: string; - enabled?: boolean; - required_status_checks?: { - url?: string; - enforcement_level?: string; - contexts: string[]; - contexts_url?: string; - strict?: boolean; - }; - enforce_admins?: components["schemas"]["protected-branch-admin-enforced"]; - required_pull_request_reviews?: components["schemas"]["protected-branch-pull-request-review"]; - restrictions?: components["schemas"]["branch-restriction-policy"]; - required_linear_history?: { - enabled?: boolean; - }; - allow_force_pushes?: { - enabled?: boolean; - }; - allow_deletions?: { - enabled?: boolean; - }; - required_conversation_resolution?: { - enabled?: boolean; - }; - name?: string; - protection_url?: string; - required_signatures?: { - url: string; - enabled: boolean; - }; - }; - /** Short Branch */ - "short-branch": { - name: string; - commit: { - sha: string; - url: string; - }; - protected: boolean; - protection?: components["schemas"]["branch-protection"]; - protection_url?: string; - }; - /** Metaproperties for Git author/committer information. */ - "git-user": { - name?: string; - email?: string; - date?: string; - }; - verification: { - verified: boolean; - reason: string; - payload: string | null; - signature: string | null; - }; - /** Commit */ - commit: { - url: string; - sha: string; - node_id: string; - html_url: string; - comments_url: string; - commit: { - url: string; - author: components["schemas"]["git-user"] | null; - committer: components["schemas"]["git-user"] | null; - message: string; - comment_count: number; - tree: { - sha: string; - url: string; - }; - verification?: components["schemas"]["verification"]; - }; - author: components["schemas"]["simple-user"] | null; - committer: components["schemas"]["simple-user"] | null; - parents: { - sha: string; - url: string; - html_url?: string; - }[]; - stats?: { - additions?: number; - deletions?: number; - total?: number; - }; - files?: { - filename?: string; - additions?: number; - deletions?: number; - changes?: number; - status?: string; - raw_url?: string; - blob_url?: string; - patch?: string; - sha?: string; - contents_url?: string; - previous_filename?: string; - }[]; - }; - /** Branch With Protection */ - "branch-with-protection": { - name: string; - commit: components["schemas"]["commit"]; - _links: { - html: string; - self: string; - }; - protected: boolean; - protection: components["schemas"]["branch-protection"]; - protection_url: string; - pattern?: string; - required_approving_review_count?: number; - }; - /** Status Check Policy */ - "status-check-policy": { - url: string; - strict: boolean; - contexts: string[]; - contexts_url: string; - }; - /** Branch protections protect branches */ - "protected-branch": { - url: string; - required_status_checks?: components["schemas"]["status-check-policy"]; - required_pull_request_reviews?: { - url: string; - dismiss_stale_reviews?: boolean; - require_code_owner_reviews?: boolean; - required_approving_review_count?: number; - dismissal_restrictions?: { - url: string; - users_url: string; - teams_url: string; - users: components["schemas"]["simple-user"][]; - teams: components["schemas"]["team"][]; - }; - }; - required_signatures?: { - url: string; - enabled: boolean; - }; - enforce_admins?: { - url: string; - enabled: boolean; - }; - required_linear_history?: { - enabled: boolean; - }; - allow_force_pushes?: { - enabled: boolean; - }; - allow_deletions?: { - enabled: boolean; - }; - restrictions?: components["schemas"]["branch-restriction-policy"]; - required_conversation_resolution?: { - enabled?: boolean; - }; - }; - /** A deployment created as the result of an Actions check run from a workflow that references an environment */ - "deployment-simple": { - url: string; - /** Unique identifier of the deployment */ - id: number; - node_id: string; - /** Parameter to specify a task to execute */ - task: string; - original_environment?: string; - /** Name for the target deployment environment. */ - environment: string; - description: string | null; - created_at: string; - updated_at: string; - statuses_url: string; - repository_url: string; - /** Specifies if the given environment is will no longer exist at some point in the future. Default: false. */ - transient_environment?: boolean; - /** Specifies if the given environment is one that end-users directly interact with. Default: false. */ - production_environment?: boolean; - performed_via_github_app?: components["schemas"]["integration"] | null; - }; - /** A check performed on the code of a given code change */ - "check-run": { - /** The id of the check. */ - id: number; - /** The SHA of the commit that is being checked. */ - head_sha: string; - node_id: string; - external_id: string | null; - url: string; - html_url: string | null; - details_url: string | null; - /** The phase of the lifecycle that the check is currently in. */ - status: "queued" | "in_progress" | "completed"; - conclusion: - | ( - | "success" - | "failure" - | "neutral" - | "cancelled" - | "skipped" - | "timed_out" - | "action_required" - ) - | null; - started_at: string | null; - completed_at: string | null; - output: { - title: string | null; - summary: string | null; - text: string | null; - annotations_count: number; - annotations_url: string; - }; - /** The name of the check. */ - name: string; - check_suite: { - id: number; - } | null; - app: components["schemas"]["integration"] | null; - pull_requests: components["schemas"]["pull-request-minimal"][]; - deployment?: components["schemas"]["deployment-simple"]; - }; - /** Check Annotation */ - "check-annotation": { - path: string; - start_line: number; - end_line: number; - start_column: number | null; - end_column: number | null; - annotation_level: string | null; - title: string | null; - message: string | null; - raw_details: string | null; - blob_href: string; - }; - /** A suite of checks performed on the code of a given code change */ - "check-suite": { - id: number; - node_id: string; - head_branch: string | null; - /** The SHA of the head commit that is being checked. */ - head_sha: string; - status: ("queued" | "in_progress" | "completed") | null; - conclusion: - | ( - | "success" - | "failure" - | "neutral" - | "cancelled" - | "skipped" - | "timed_out" - | "action_required" - ) - | null; - url: string | null; - before: string | null; - after: string | null; - pull_requests: components["schemas"]["pull-request-minimal"][] | null; - app: components["schemas"]["integration"] | null; - repository: components["schemas"]["minimal-repository"]; - created_at: string | null; - updated_at: string | null; - head_commit: components["schemas"]["simple-commit"]; - latest_check_runs_count: number; - check_runs_url: string; - }; - /** Check suite configuration preferences for a repository. */ - "check-suite-preference": { - preferences: { - auto_trigger_checks?: { - app_id: number; - setting: boolean; - }[]; - }; - repository: components["schemas"]["minimal-repository"]; - }; - /** The name of the tool used to generate the code scanning analysis. */ - "code-scanning-analysis-tool-name": string; - /** The GUID of the tool used to generate the code scanning analysis, if provided in the uploaded SARIF data. */ - "code-scanning-analysis-tool-guid": string | null; - /** - * The full Git reference, formatted as `refs/heads/`, - * `refs/pull//merge`, or `refs/pull//head`. - */ - "code-scanning-ref": string; - /** State of a code scanning alert. */ - "code-scanning-alert-state": "open" | "closed" | "dismissed" | "fixed"; - /** The security alert number. */ - "alert-number": number; - /** The time that the alert was created in ISO 8601 format: `YYYY-MM-DDTHH:MM:SSZ`. */ - "alert-created-at": string; - /** The REST API URL of the alert resource. */ - "alert-url": string; - /** The GitHub URL of the alert resource. */ - "alert-html-url": string; - /** The REST API URL for fetching the list of instances for an alert. */ - "alert-instances-url": string; - /** The time that the alert was dismissed in ISO 8601 format: `YYYY-MM-DDTHH:MM:SSZ`. */ - "code-scanning-alert-dismissed-at": string | null; - /** **Required when the state is dismissed.** The reason for dismissing or closing the alert. Can be one of: `false positive`, `won't fix`, and `used in tests`. */ - "code-scanning-alert-dismissed-reason": - | ("false positive" | "won't fix" | "used in tests") - | null; - "code-scanning-alert-rule-summary": { - /** A unique identifier for the rule used to detect the alert. */ - id?: string | null; - /** The name of the rule used to detect the alert. */ - name?: string; - /** The severity of the alert. */ - severity?: ("none" | "note" | "warning" | "error") | null; - /** A short description of the rule used to detect the alert. */ - description?: string; - }; - /** The version of the tool used to generate the code scanning analysis. */ - "code-scanning-analysis-tool-version": string | null; - "code-scanning-analysis-tool": { - name?: components["schemas"]["code-scanning-analysis-tool-name"]; - version?: components["schemas"]["code-scanning-analysis-tool-version"]; - guid?: components["schemas"]["code-scanning-analysis-tool-guid"]; - }; - /** Identifies the configuration under which the analysis was executed. For example, in GitHub Actions this includes the workflow filename and job name. */ - "code-scanning-analysis-analysis-key": string; - /** Identifies the variable values associated with the environment in which the analysis that generated this alert instance was performed, such as the language that was analyzed. */ - "code-scanning-alert-environment": string; - /** Describe a region within a file for the alert. */ - "code-scanning-alert-location": { - path?: string; - start_line?: number; - end_line?: number; - start_column?: number; - end_column?: number; - }; - /** A classification of the file. For example to identify it as generated. */ - "code-scanning-alert-classification": - | ("source" | "generated" | "test" | "library") - | null; - "code-scanning-alert-instance": { - ref?: components["schemas"]["code-scanning-ref"]; - analysis_key?: components["schemas"]["code-scanning-analysis-analysis-key"]; - environment?: components["schemas"]["code-scanning-alert-environment"]; - state?: components["schemas"]["code-scanning-alert-state"]; - commit_sha?: string; - message?: { - text?: string; - }; - location?: components["schemas"]["code-scanning-alert-location"]; - html_url?: string; - /** - * Classifications that have been applied to the file that triggered the alert. - * For example identifying it as documentation, or a generated file. - */ - classifications?: components["schemas"]["code-scanning-alert-classification"][]; - }; - "code-scanning-alert-items": { - number: components["schemas"]["alert-number"]; - created_at: components["schemas"]["alert-created-at"]; - url: components["schemas"]["alert-url"]; - html_url: components["schemas"]["alert-html-url"]; - instances_url: components["schemas"]["alert-instances-url"]; - state: components["schemas"]["code-scanning-alert-state"]; - dismissed_by: components["schemas"]["simple-user"]; - dismissed_at: components["schemas"]["code-scanning-alert-dismissed-at"]; - dismissed_reason: components["schemas"]["code-scanning-alert-dismissed-reason"]; - rule: components["schemas"]["code-scanning-alert-rule-summary"]; - tool: components["schemas"]["code-scanning-analysis-tool"]; - most_recent_instance: components["schemas"]["code-scanning-alert-instance"]; - }; - "code-scanning-alert-rule": { - /** A unique identifier for the rule used to detect the alert. */ - id?: string | null; - /** The name of the rule used to detect the alert. */ - name?: string; - /** The severity of the alert. */ - severity?: ("none" | "note" | "warning" | "error") | null; - /** The security severity of the alert. */ - security_severity_level?: ("low" | "medium" | "high" | "critical") | null; - /** A short description of the rule used to detect the alert. */ - description?: string; - /** description of the rule used to detect the alert. */ - full_description?: string; - /** A set of tags applicable for the rule. */ - tags?: string[] | null; - /** Detailed documentation for the rule as GitHub Flavored Markdown. */ - help?: string | null; - }; - "code-scanning-alert": { - number: components["schemas"]["alert-number"]; - created_at: components["schemas"]["alert-created-at"]; - url: components["schemas"]["alert-url"]; - html_url: components["schemas"]["alert-html-url"]; - instances?: { [key: string]: unknown }; - instances_url: components["schemas"]["alert-instances-url"]; - state: components["schemas"]["code-scanning-alert-state"]; - dismissed_by: components["schemas"]["simple-user"]; - dismissed_at: components["schemas"]["code-scanning-alert-dismissed-at"]; - dismissed_reason: components["schemas"]["code-scanning-alert-dismissed-reason"]; - rule: components["schemas"]["code-scanning-alert-rule"]; - tool: components["schemas"]["code-scanning-analysis-tool"]; - most_recent_instance: components["schemas"]["code-scanning-alert-instance"]; - }; - /** Sets the state of the code scanning alert. Can be one of `open` or `dismissed`. You must provide `dismissed_reason` when you set the state to `dismissed`. */ - "code-scanning-alert-set-state": "open" | "dismissed"; - /** An identifier for the upload. */ - "code-scanning-analysis-sarif-id": string; - /** The SHA of the commit to which the analysis you are uploading relates. */ - "code-scanning-analysis-commit-sha": string; - /** Identifies the variable values associated with the environment in which this analysis was performed. */ - "code-scanning-analysis-environment": string; - /** Identifies the configuration under which the analysis was executed. Used to distinguish between multiple analyses for the same tool and commit, but performed on different languages or different parts of the code. */ - "code-scanning-analysis-category": string; - /** The time that the analysis was created in ISO 8601 format: `YYYY-MM-DDTHH:MM:SSZ`. */ - "code-scanning-analysis-created-at": string; - /** The REST API URL of the analysis resource. */ - "code-scanning-analysis-url": string; - "code-scanning-analysis": { - ref: components["schemas"]["code-scanning-ref"]; - commit_sha: components["schemas"]["code-scanning-analysis-commit-sha"]; - analysis_key: components["schemas"]["code-scanning-analysis-analysis-key"]; - environment: components["schemas"]["code-scanning-analysis-environment"]; - category?: components["schemas"]["code-scanning-analysis-category"]; - error: string; - created_at: components["schemas"]["code-scanning-analysis-created-at"]; - /** The total number of results in the analysis. */ - results_count: number; - /** The total number of rules used in the analysis. */ - rules_count: number; - /** Unique identifier for this analysis. */ - id: number; - url: components["schemas"]["code-scanning-analysis-url"]; - sarif_id: components["schemas"]["code-scanning-analysis-sarif-id"]; - tool: components["schemas"]["code-scanning-analysis-tool"]; - deletable: boolean; - /** Warning generated when processing the analysis */ - warning: string; - tool_name?: string; - }; - /** Successful deletion of a code scanning analysis */ - "code-scanning-analysis-deletion": { - /** Next deletable analysis in chain, without last analysis deletion confirmation */ - next_analysis_url: string | null; - /** Next deletable analysis in chain, with last analysis deletion confirmation */ - confirm_delete_url: string | null; - }; - /** A Base64 string representing the SARIF file to upload. You must first compress your SARIF file using [`gzip`](http://www.gnu.org/software/gzip/manual/gzip.html) and then translate the contents of the file into a Base64 encoding string. For more information, see "[SARIF support for code scanning](https://docs.github.com/code-security/secure-coding/sarif-support-for-code-scanning)." */ - "code-scanning-analysis-sarif-file": string; - "code-scanning-sarifs-receipt": { - id?: components["schemas"]["code-scanning-analysis-sarif-id"]; - /** The REST API URL for checking the status of the upload. */ - url?: string; - }; - "code-scanning-sarifs-status": { - /** `pending` files have not yet been processed, while `complete` means all results in the SARIF have been stored. */ - processing_status?: "pending" | "complete"; - /** The REST API URL for getting the analyses associated with the upload. */ - analyses_url?: string | null; - }; - /** Collaborator */ - collaborator: { - login: string; - id: number; - email?: string | null; - name?: string | null; - node_id: string; - avatar_url: string; - gravatar_id: string | null; - url: string; - html_url: string; - followers_url: string; - following_url: string; - gists_url: string; - starred_url: string; - subscriptions_url: string; - organizations_url: string; - repos_url: string; - events_url: string; - received_events_url: string; - type: string; - site_admin: boolean; - permissions?: { - pull: boolean; - push: boolean; - admin: boolean; - }; - }; - /** Repository invitations let you manage who you collaborate with. */ - "repository-invitation": { - /** Unique identifier of the repository invitation. */ - id: number; - repository: components["schemas"]["minimal-repository"]; - invitee: components["schemas"]["simple-user"] | null; - inviter: components["schemas"]["simple-user"] | null; - /** The permission associated with the invitation. */ - permissions: "read" | "write" | "admin" | "triage" | "maintain"; - created_at: string; - /** Whether or not the invitation has expired */ - expired?: boolean; - /** URL for the repository invitation */ - url: string; - html_url: string; - node_id: string; - }; - /** Commit Comment */ - "commit-comment": { - html_url: string; - url: string; - id: number; - node_id: string; - body: string; - path: string | null; - position: number | null; - line: number | null; - commit_id: string; - user: components["schemas"]["simple-user"] | null; - created_at: string; - updated_at: string; - author_association: components["schemas"]["author_association"]; - reactions?: components["schemas"]["reaction-rollup"]; - }; - /** Branch Short */ - "branch-short": { - name: string; - commit: { - sha: string; - url: string; - }; - protected: boolean; - }; - /** Hypermedia Link */ - link: { - href: string; - }; - /** The status of auto merging a pull request. */ - auto_merge: { - enabled_by: components["schemas"]["simple-user"]; - /** The merge method to use. */ - merge_method: "merge" | "squash" | "rebase"; - /** Title for the merge commit message. */ - commit_title: string; - /** Commit message for the merge commit. */ - commit_message: string; - } | null; - /** Pull Request Simple */ - "pull-request-simple": { - url: string; - id: number; - node_id: string; - html_url: string; - diff_url: string; - patch_url: string; - issue_url: string; - commits_url: string; - review_comments_url: string; - review_comment_url: string; - comments_url: string; - statuses_url: string; - number: number; - state: string; - locked: boolean; - title: string; - user: components["schemas"]["simple-user"] | null; - body: string | null; - labels: { - id?: number; - node_id?: string; - url?: string; - name?: string; - description?: string; - color?: string; - default?: boolean; - }[]; - milestone: components["schemas"]["milestone"] | null; - active_lock_reason?: string | null; - created_at: string; - updated_at: string; - closed_at: string | null; - merged_at: string | null; - merge_commit_sha: string | null; - assignee: components["schemas"]["simple-user"] | null; - assignees?: components["schemas"]["simple-user"][] | null; - requested_reviewers?: components["schemas"]["simple-user"][] | null; - requested_teams?: components["schemas"]["team"][] | null; - head: { - label: string; - ref: string; - repo: components["schemas"]["repository"]; - sha: string; - user: components["schemas"]["simple-user"] | null; - }; - base: { - label: string; - ref: string; - repo: components["schemas"]["repository"]; - sha: string; - user: components["schemas"]["simple-user"] | null; - }; - _links: { - comments: components["schemas"]["link"]; - commits: components["schemas"]["link"]; - statuses: components["schemas"]["link"]; - html: components["schemas"]["link"]; - issue: components["schemas"]["link"]; - review_comments: components["schemas"]["link"]; - review_comment: components["schemas"]["link"]; - self: components["schemas"]["link"]; - }; - author_association: components["schemas"]["author_association"]; - auto_merge: components["schemas"]["auto_merge"]; - /** Indicates whether or not the pull request is a draft. */ - draft?: boolean; - }; - "simple-commit-status": { - description: string | null; - id: number; - node_id: string; - state: string; - context: string; - target_url: string; - required?: boolean | null; - avatar_url: string | null; - url: string; - created_at: string; - updated_at: string; - }; - /** Combined Commit Status */ - "combined-commit-status": { - state: string; - statuses: components["schemas"]["simple-commit-status"][]; - sha: string; - total_count: number; - repository: components["schemas"]["minimal-repository"]; - commit_url: string; - url: string; - }; - /** The status of a commit. */ - status: { - url: string; - avatar_url: string | null; - id: number; - node_id: string; - state: string; - description: string; - target_url: string; - context: string; - created_at: string; - updated_at: string; - creator: components["schemas"]["simple-user"]; - }; - "community-health-file": { - url: string; - html_url: string; - }; - /** Community Profile */ - "community-profile": { - health_percentage: number; - description: string | null; - documentation: string | null; - files: { - code_of_conduct: components["schemas"]["code-of-conduct-simple"] | null; - code_of_conduct_file: - | components["schemas"]["community-health-file"] - | null; - license: components["schemas"]["license-simple"] | null; - contributing: components["schemas"]["community-health-file"] | null; - readme: components["schemas"]["community-health-file"] | null; - issue_template: components["schemas"]["community-health-file"] | null; - pull_request_template: - | components["schemas"]["community-health-file"] - | null; - }; - updated_at: string | null; - content_reports_enabled?: boolean; - }; - /** Diff Entry */ - "diff-entry": { - sha: string; - filename: string; - status: string; - additions: number; - deletions: number; - changes: number; - blob_url: string; - raw_url: string; - contents_url: string; - patch?: string; - previous_filename?: string; - }; - /** Commit Comparison */ - "commit-comparison": { - url: string; - html_url: string; - permalink_url: string; - diff_url: string; - patch_url: string; - base_commit: components["schemas"]["commit"]; - merge_base_commit: components["schemas"]["commit"]; - status: "diverged" | "ahead" | "behind" | "identical"; - ahead_by: number; - behind_by: number; - total_commits: number; - commits: components["schemas"]["commit"][]; - files?: components["schemas"]["diff-entry"][]; - }; - /** Content Reference attachments allow you to provide context around URLs posted in comments */ - "content-reference-attachment": { - /** The ID of the attachment */ - id: number; - /** The title of the attachment */ - title: string; - /** The body of the attachment */ - body: string; - /** The node_id of the content attachment */ - node_id?: string; - }; - /** Content Tree */ - "content-tree": { - type: string; - size: number; - name: string; - path: string; - sha: string; - url: string; - git_url: string | null; - html_url: string | null; - download_url: string | null; - entries?: { - type: string; - size: number; - name: string; - path: string; - content?: string; - sha: string; - url: string; - git_url: string | null; - html_url: string | null; - download_url: string | null; - _links: { - git: string | null; - html: string | null; - self: string; - }; - }[]; - _links: { - git: string | null; - html: string | null; - self: string; - }; - } & { - content: unknown; - encoding: unknown; - }; - /** A list of directory items */ - "content-directory": { - type: string; - size: number; - name: string; - path: string; - content?: string; - sha: string; - url: string; - git_url: string | null; - html_url: string | null; - download_url: string | null; - _links: { - git: string | null; - html: string | null; - self: string; - }; - }[]; - /** Content File */ - "content-file": { - type: string; - encoding: string; - size: number; - name: string; - path: string; - content: string; - sha: string; - url: string; - git_url: string | null; - html_url: string | null; - download_url: string | null; - _links: { - git: string | null; - html: string | null; - self: string; - }; - target?: string; - submodule_git_url?: string; - }; - /** An object describing a symlink */ - "content-symlink": { - type: string; - target: string; - size: number; - name: string; - path: string; - sha: string; - url: string; - git_url: string | null; - html_url: string | null; - download_url: string | null; - _links: { - git: string | null; - html: string | null; - self: string; - }; - }; - /** An object describing a symlink */ - "content-submodule": { - type: string; - submodule_git_url: string; - size: number; - name: string; - path: string; - sha: string; - url: string; - git_url: string | null; - html_url: string | null; - download_url: string | null; - _links: { - git: string | null; - html: string | null; - self: string; - }; - }; - /** File Commit */ - "file-commit": { - content: { - name?: string; - path?: string; - sha?: string; - size?: number; - url?: string; - html_url?: string; - git_url?: string; - download_url?: string; - type?: string; - _links?: { - self?: string; - git?: string; - html?: string; - }; - } | null; - commit: { - sha?: string; - node_id?: string; - url?: string; - html_url?: string; - author?: { - date?: string; - name?: string; - email?: string; - }; - committer?: { - date?: string; - name?: string; - email?: string; - }; - message?: string; - tree?: { - url?: string; - sha?: string; - }; - parents?: { - url?: string; - html_url?: string; - sha?: string; - }[]; - verification?: { - verified?: boolean; - reason?: string; - signature?: string | null; - payload?: string | null; - }; - }; - }; - /** Contributor */ - contributor: { - login?: string; - id?: number; - node_id?: string; - avatar_url?: string; - gravatar_id?: string | null; - url?: string; - html_url?: string; - followers_url?: string; - following_url?: string; - gists_url?: string; - starred_url?: string; - subscriptions_url?: string; - organizations_url?: string; - repos_url?: string; - events_url?: string; - received_events_url?: string; - type: string; - site_admin?: boolean; - contributions: number; - email?: string; - name?: string; - }; - /** The status of a deployment. */ - "deployment-status": { - url: string; - id: number; - node_id: string; - /** The state of the status. */ - state: - | "error" - | "failure" - | "inactive" - | "pending" - | "success" - | "queued" - | "in_progress"; - creator: components["schemas"]["simple-user"] | null; - /** A short description of the status. */ - description: string; - /** The environment of the deployment that the status is for. */ - environment?: string; - /** Deprecated: the URL to associate with this status. */ - target_url: string; - created_at: string; - updated_at: string; - deployment_url: string; - repository_url: string; - /** The URL for accessing your environment. */ - environment_url?: string; - /** The URL to associate with this status. */ - log_url?: string; - performed_via_github_app?: components["schemas"]["integration"] | null; - }; - /** The amount of time to delay a job after the job is initially triggered. The time (in minutes) must be an integer between 0 and 43,200 (30 days). */ - "wait-timer": number; - /** The type of deployment branch policy for this environment. To allow all branches to deploy, set to `null`. */ - deployment_branch_policy: { - /** Whether only branches with branch protection rules can deploy to this environment. If `protected_branches` is `true`, `custom_branch_policies` must be `false`; if `protected_branches` is `false`, `custom_branch_policies` must be `true`. */ - protected_branches: boolean; - /** Whether only branches that match the specified name patterns can deploy to this environment. If `custom_branch_policies` is `true`, `protected_branches` must be `false`; if `custom_branch_policies` is `false`, `protected_branches` must be `true`. */ - custom_branch_policies: boolean; - } | null; - /** Details of a deployment environment */ - environment: { - /** The id of the environment. */ - id: number; - node_id: string; - /** The name of the environment. */ - name: string; - url: string; - html_url: string; - /** The time that the environment was created, in ISO 8601 format. */ - created_at: string; - /** The time that the environment was last updated, in ISO 8601 format. */ - updated_at: string; - protection_rules?: (Partial<{ - id: number; - node_id: string; - type: string; - wait_timer?: components["schemas"]["wait-timer"]; - }> & - Partial<{ - id: number; - node_id: string; - type: string; - /** The people or teams that may approve jobs that reference the environment. You can list up to six users or teams as reviewers. The reviewers must have at least read access to the repository. Only one of the required reviewers needs to approve the job for it to proceed. */ - reviewers?: { - type?: components["schemas"]["deployment-reviewer-type"]; - reviewer?: Partial & - Partial; - }[]; - }> & - Partial<{ - id: number; - node_id: string; - type: string; - }>)[]; - deployment_branch_policy?: components["schemas"]["deployment_branch_policy"]; - }; - /** Short Blob */ - "short-blob": { - url: string; - sha: string; - }; - /** Blob */ - blob: { - content: string; - encoding: string; - url: string; - sha: string; - size: number | null; - node_id: string; - highlighted_content?: string; - }; - /** Low-level Git commit operations within a repository */ - "git-commit": { - /** SHA for the commit */ - sha: string; - node_id: string; - url: string; - /** Identifying information for the git-user */ - author: { - /** Timestamp of the commit */ - date: string; - /** Git email address of the user */ - email: string; - /** Name of the git user */ - name: string; - }; - /** Identifying information for the git-user */ - committer: { - /** Timestamp of the commit */ - date: string; - /** Git email address of the user */ - email: string; - /** Name of the git user */ - name: string; - }; - /** Message describing the purpose of the commit */ - message: string; - tree: { - /** SHA for the commit */ - sha: string; - url: string; - }; - parents: { - /** SHA for the commit */ - sha: string; - url: string; - html_url: string; - }[]; - verification: { - verified: boolean; - reason: string; - signature: string | null; - payload: string | null; - }; - html_url: string; - }; - /** Git references within a repository */ - "git-ref": { - ref: string; - node_id: string; - url: string; - object: { - type: string; - /** SHA for the reference */ - sha: string; - url: string; - }; - }; - /** Metadata for a Git tag */ - "git-tag": { - node_id: string; - /** Name of the tag */ - tag: string; - sha: string; - /** URL for the tag */ - url: string; - /** Message describing the purpose of the tag */ - message: string; - tagger: { - date: string; - email: string; - name: string; - }; - object: { - sha: string; - type: string; - url: string; - }; - verification?: components["schemas"]["verification"]; - }; - /** The hierarchy between files in a Git repository. */ - "git-tree": { - sha: string; - url: string; - truncated: boolean; - /** Objects specifying a tree structure */ - tree: { - path?: string; - mode?: string; - type?: string; - sha?: string; - size?: number; - url?: string; - }[]; - }; - "hook-response": { - code: number | null; - status: string | null; - message: string | null; - }; - /** Webhooks for repositories. */ - hook: { - type: string; - /** Unique identifier of the webhook. */ - id: number; - /** The name of a valid service, use 'web' for a webhook. */ - name: string; - /** Determines whether the hook is actually triggered on pushes. */ - active: boolean; - /** Determines what events the hook is triggered for. Default: ['push']. */ - events: string[]; - config: { - email?: string; - password?: string; - room?: string; - subdomain?: string; - url?: components["schemas"]["webhook-config-url"]; - insecure_ssl?: components["schemas"]["webhook-config-insecure-ssl"]; - content_type?: components["schemas"]["webhook-config-content-type"]; - digest?: string; - secret?: components["schemas"]["webhook-config-secret"]; - token?: string; - }; - updated_at: string; - created_at: string; - url: string; - test_url: string; - ping_url: string; - deliveries_url?: string; - last_response: components["schemas"]["hook-response"]; - }; - /** A repository import from an external source. */ - import: { - vcs: string | null; - use_lfs?: boolean; - /** The URL of the originating repository. */ - vcs_url: string; - svc_root?: string; - tfvc_project?: string; - status: - | "auth" - | "error" - | "none" - | "detecting" - | "choose" - | "auth_failed" - | "importing" - | "mapping" - | "waiting_to_push" - | "pushing" - | "complete" - | "setup" - | "unknown" - | "detection_found_multiple" - | "detection_found_nothing" - | "detection_needs_auth"; - status_text?: string | null; - failed_step?: string | null; - error_message?: string | null; - import_percent?: number | null; - commit_count?: number | null; - push_percent?: number | null; - has_large_files?: boolean; - large_files_size?: number; - large_files_count?: number; - project_choices?: { - vcs?: string; - tfvc_project?: string; - human_name?: string; - }[]; - message?: string; - authors_count?: number | null; - url: string; - html_url: string; - authors_url: string; - repository_url: string; - svn_root?: string; - }; - /** Porter Author */ - "porter-author": { - id: number; - remote_id: string; - remote_name: string; - email: string; - name: string; - url: string; - import_url: string; - }; - /** Porter Large File */ - "porter-large-file": { - ref_name: string; - path: string; - oid: string; - size: number; - }; - /** Issue Event Label */ - "issue-event-label": { - name: string | null; - color: string | null; - }; - "issue-event-dismissed-review": { - state: string; - review_id: number; - dismissal_message: string | null; - dismissal_commit_id?: string | null; - }; - /** Issue Event Milestone */ - "issue-event-milestone": { - title: string; - }; - /** Issue Event Project Card */ - "issue-event-project-card": { - url: string; - id: number; - project_url: string; - project_id: number; - column_name: string; - previous_column_name?: string; - }; - /** Issue Event Rename */ - "issue-event-rename": { - from: string; - to: string; - }; - /** Issue Event */ - "issue-event": { - id: number; - node_id: string; - url: string; - actor: components["schemas"]["simple-user"] | null; - event: string; - commit_id: string | null; - commit_url: string | null; - created_at: string; - issue?: components["schemas"]["issue-simple"]; - label?: components["schemas"]["issue-event-label"]; - assignee?: components["schemas"]["simple-user"] | null; - assigner?: components["schemas"]["simple-user"] | null; - review_requester?: components["schemas"]["simple-user"] | null; - requested_reviewer?: components["schemas"]["simple-user"] | null; - requested_team?: components["schemas"]["team"]; - dismissed_review?: components["schemas"]["issue-event-dismissed-review"]; - milestone?: components["schemas"]["issue-event-milestone"]; - project_card?: components["schemas"]["issue-event-project-card"]; - rename?: components["schemas"]["issue-event-rename"]; - author_association?: components["schemas"]["author_association"]; - lock_reason?: string | null; - performed_via_github_app?: components["schemas"]["integration"] | null; - }; - /** Labeled Issue Event */ - "labeled-issue-event": { - id: number; - node_id: string; - url: string; - actor: components["schemas"]["simple-user"]; - event: string; - commit_id: string | null; - commit_url: string | null; - created_at: string; - performed_via_github_app: components["schemas"]["integration"]; - label: { - name: string; - color: string; - }; - }; - /** Unlabeled Issue Event */ - "unlabeled-issue-event": { - id: number; - node_id: string; - url: string; - actor: components["schemas"]["simple-user"]; - event: string; - commit_id: string | null; - commit_url: string | null; - created_at: string; - performed_via_github_app: components["schemas"]["integration"]; - label: { - name: string; - color: string; - }; - }; - /** Assigned Issue Event */ - "assigned-issue-event": { - id: number; - node_id: string; - url: string; - actor: components["schemas"]["simple-user"]; - event: string; - commit_id: string | null; - commit_url: string | null; - created_at: string; - performed_via_github_app: components["schemas"]["integration"]; - assignee: components["schemas"]["simple-user"]; - assigner: components["schemas"]["simple-user"]; - }; - /** Unassigned Issue Event */ - "unassigned-issue-event": { - id: number; - node_id: string; - url: string; - actor: components["schemas"]["simple-user"]; - event: string; - commit_id: string | null; - commit_url: string | null; - created_at: string; - performed_via_github_app: components["schemas"]["integration"]; - assignee: components["schemas"]["simple-user"]; - assigner: components["schemas"]["simple-user"]; - }; - /** Milestoned Issue Event */ - "milestoned-issue-event": { - id: number; - node_id: string; - url: string; - actor: components["schemas"]["simple-user"]; - event: string; - commit_id: string | null; - commit_url: string | null; - created_at: string; - performed_via_github_app: components["schemas"]["integration"]; - milestone: { - title: string; - }; - }; - /** Demilestoned Issue Event */ - "demilestoned-issue-event": { - id: number; - node_id: string; - url: string; - actor: components["schemas"]["simple-user"]; - event: string; - commit_id: string | null; - commit_url: string | null; - created_at: string; - performed_via_github_app: components["schemas"]["integration"]; - milestone: { - title: string; - }; - }; - /** Renamed Issue Event */ - "renamed-issue-event": { - id: number; - node_id: string; - url: string; - actor: components["schemas"]["simple-user"]; - event: string; - commit_id: string | null; - commit_url: string | null; - created_at: string; - performed_via_github_app: components["schemas"]["integration"]; - rename: { - from: string; - to: string; - }; - }; - /** Review Requested Issue Event */ - "review-requested-issue-event": { - id: number; - node_id: string; - url: string; - actor: components["schemas"]["simple-user"]; - event: string; - commit_id: string | null; - commit_url: string | null; - created_at: string; - performed_via_github_app: components["schemas"]["integration"]; - review_requester: components["schemas"]["simple-user"]; - requested_team?: components["schemas"]["team"]; - requested_reviewer?: components["schemas"]["simple-user"]; - }; - /** Review Request Removed Issue Event */ - "review-request-removed-issue-event": { - id: number; - node_id: string; - url: string; - actor: components["schemas"]["simple-user"]; - event: string; - commit_id: string | null; - commit_url: string | null; - created_at: string; - performed_via_github_app: components["schemas"]["integration"]; - review_requester: components["schemas"]["simple-user"]; - requested_team?: components["schemas"]["team"]; - requested_reviewer?: components["schemas"]["simple-user"]; - }; - /** Review Dismissed Issue Event */ - "review-dismissed-issue-event": { - id: number; - node_id: string; - url: string; - actor: components["schemas"]["simple-user"]; - event: string; - commit_id: string | null; - commit_url: string | null; - created_at: string; - performed_via_github_app: components["schemas"]["integration"]; - dismissed_review: { - state: string; - review_id: number; - dismissal_message: string | null; - dismissal_commit_id?: string; - }; - }; - /** Locked Issue Event */ - "locked-issue-event": { - id: number; - node_id: string; - url: string; - actor: components["schemas"]["simple-user"]; - event: string; - commit_id: string | null; - commit_url: string | null; - created_at: string; - performed_via_github_app: components["schemas"]["integration"]; - lock_reason: string | null; - }; - /** Added to Project Issue Event */ - "added-to-project-issue-event": { - id: number; - node_id: string; - url: string; - actor: components["schemas"]["simple-user"]; - event: string; - commit_id: string | null; - commit_url: string | null; - created_at: string; - performed_via_github_app: components["schemas"]["integration"]; - project_card?: { - id: number; - url: string; - project_id: number; - project_url: string; - column_name: string; - previous_column_name?: string; - }; - }; - /** Moved Column in Project Issue Event */ - "moved-column-in-project-issue-event": { - id: number; - node_id: string; - url: string; - actor: components["schemas"]["simple-user"]; - event: string; - commit_id: string | null; - commit_url: string | null; - created_at: string; - performed_via_github_app: components["schemas"]["integration"]; - project_card?: { - id: number; - url: string; - project_id: number; - project_url: string; - column_name: string; - previous_column_name?: string; - }; - }; - /** Removed from Project Issue Event */ - "removed-from-project-issue-event": { - id: number; - node_id: string; - url: string; - actor: components["schemas"]["simple-user"]; - event: string; - commit_id: string | null; - commit_url: string | null; - created_at: string; - performed_via_github_app: components["schemas"]["integration"]; - project_card?: { - id: number; - url: string; - project_id: number; - project_url: string; - column_name: string; - previous_column_name?: string; - }; - }; - /** Converted Note to Issue Issue Event */ - "converted-note-to-issue-issue-event": { - id: number; - node_id: string; - url: string; - actor: components["schemas"]["simple-user"]; - event: string; - commit_id: string | null; - commit_url: string | null; - created_at: string; - performed_via_github_app: components["schemas"]["integration"]; - project_card?: { - id: number; - url: string; - project_id: number; - project_url: string; - column_name: string; - previous_column_name?: string; - }; - }; - /** Issue Event for Issue */ - "issue-event-for-issue": Partial< - components["schemas"]["labeled-issue-event"] - > & - Partial & - Partial & - Partial & - Partial & - Partial & - Partial & - Partial & - Partial & - Partial & - Partial & - Partial & - Partial & - Partial & - Partial; - /** Timeline Comment Event */ - "timeline-comment-event": { - event: string; - actor: components["schemas"]["simple-user"]; - /** Unique identifier of the issue comment */ - id: number; - node_id: string; - /** URL for the issue comment */ - url: string; - /** Contents of the issue comment */ - body?: string; - body_text?: string; - body_html?: string; - html_url: string; - user: components["schemas"]["simple-user"]; - created_at: string; - updated_at: string; - issue_url: string; - author_association: components["schemas"]["author_association"]; - performed_via_github_app?: components["schemas"]["integration"]; - reactions?: components["schemas"]["reaction-rollup"]; - }; - /** Timeline Cross Referenced Event */ - "timeline-cross-referenced-event": { - event: string; - actor?: components["schemas"]["simple-user"]; - created_at: string; - updated_at: string; - source: { - type?: string; - issue?: components["schemas"]["issue-simple"]; - }; - }; - /** Timeline Committed Event */ - "timeline-committed-event": { - event?: string; - /** SHA for the commit */ - sha: string; - node_id: string; - url: string; - /** Identifying information for the git-user */ - author: { - /** Timestamp of the commit */ - date: string; - /** Git email address of the user */ - email: string; - /** Name of the git user */ - name: string; - }; - /** Identifying information for the git-user */ - committer: { - /** Timestamp of the commit */ - date: string; - /** Git email address of the user */ - email: string; - /** Name of the git user */ - name: string; - }; - /** Message describing the purpose of the commit */ - message: string; - tree: { - /** SHA for the commit */ - sha: string; - url: string; - }; - parents: { - /** SHA for the commit */ - sha: string; - url: string; - html_url: string; - }[]; - verification: { - verified: boolean; - reason: string; - signature: string | null; - payload: string | null; - }; - html_url: string; - }; - /** Timeline Reviewed Event */ - "timeline-reviewed-event": { - event: string; - /** Unique identifier of the review */ - id: number; - node_id: string; - user: components["schemas"]["simple-user"]; - /** The text of the review. */ - body: string | null; - state: string; - html_url: string; - pull_request_url: string; - _links: { - html: { - href: string; - }; - pull_request: { - href: string; - }; - }; - submitted_at?: string; - /** A commit SHA for the review. */ - commit_id: string; - body_html?: string; - body_text?: string; - author_association: components["schemas"]["author_association"]; - }; - /** Pull Request Review Comments are comments on a portion of the Pull Request's diff. */ - "pull-request-review-comment": { - /** URL for the pull request review comment */ - url: string; - /** The ID of the pull request review to which the comment belongs. */ - pull_request_review_id: number | null; - /** The ID of the pull request review comment. */ - id: number; - /** The node ID of the pull request review comment. */ - node_id: string; - /** The diff of the line that the comment refers to. */ - diff_hunk: string; - /** The relative path of the file to which the comment applies. */ - path: string; - /** The line index in the diff to which the comment applies. */ - position: number; - /** The index of the original line in the diff to which the comment applies. */ - original_position: number; - /** The SHA of the commit to which the comment applies. */ - commit_id: string; - /** The SHA of the original commit to which the comment applies. */ - original_commit_id: string; - /** The comment ID to reply to. */ - in_reply_to_id?: number; - user: components["schemas"]["simple-user"]; - /** The text of the comment. */ - body: string; - created_at: string; - updated_at: string; - /** HTML URL for the pull request review comment. */ - html_url: string; - /** URL for the pull request that the review comment belongs to. */ - pull_request_url: string; - author_association: components["schemas"]["author_association"]; - _links: { - self: { - href: string; - }; - html: { - href: string; - }; - pull_request: { - href: string; - }; - }; - /** The first line of the range for a multi-line comment. */ - start_line?: number | null; - /** The first line of the range for a multi-line comment. */ - original_start_line?: number | null; - /** The side of the first line of the range for a multi-line comment. */ - start_side?: ("LEFT" | "RIGHT") | null; - /** The line of the blob to which the comment applies. The last line of the range for a multi-line comment */ - line?: number; - /** The line of the blob to which the comment applies. The last line of the range for a multi-line comment */ - original_line?: number; - /** The side of the diff to which the comment applies. The side of the last line of the range for a multi-line comment */ - side?: "LEFT" | "RIGHT"; - reactions?: components["schemas"]["reaction-rollup"]; - body_html?: string; - body_text?: string; - }; - /** Timeline Line Commented Event */ - "timeline-line-commented-event": { - event?: string; - node_id?: string; - comments?: components["schemas"]["pull-request-review-comment"][]; - }; - /** Timeline Commit Commented Event */ - "timeline-commit-commented-event": { - event?: string; - node_id?: string; - commit_id?: string; - comments?: components["schemas"]["commit-comment"][]; - }; - /** Timeline Assigned Issue Event */ - "timeline-assigned-issue-event": { - id: number; - node_id: string; - url: string; - actor: components["schemas"]["simple-user"]; - event: string; - commit_id: string | null; - commit_url: string | null; - created_at: string; - performed_via_github_app: components["schemas"]["integration"]; - assignee: components["schemas"]["simple-user"]; - }; - /** Timeline Unassigned Issue Event */ - "timeline-unassigned-issue-event": { - id: number; - node_id: string; - url: string; - actor: components["schemas"]["simple-user"]; - event: string; - commit_id: string | null; - commit_url: string | null; - created_at: string; - performed_via_github_app: components["schemas"]["integration"]; - assignee: components["schemas"]["simple-user"]; - }; - /** Timeline Event */ - "timeline-issue-events": Partial< - components["schemas"]["labeled-issue-event"] - > & - Partial & - Partial & - Partial & - Partial & - Partial & - Partial & - Partial & - Partial & - Partial & - Partial & - Partial & - Partial & - Partial & - Partial & - Partial & - Partial & - Partial & - Partial & - Partial & - Partial; - /** An SSH key granting access to a single repository. */ - "deploy-key": { - id: number; - key: string; - url: string; - title: string; - verified: boolean; - created_at: string; - read_only: boolean; - }; - /** Language */ - language: { [key: string]: number }; - /** License Content */ - "license-content": { - name: string; - path: string; - sha: string; - size: number; - url: string; - html_url: string | null; - git_url: string | null; - download_url: string | null; - type: string; - content: string; - encoding: string; - _links: { - git: string | null; - html: string | null; - self: string; - }; - license: components["schemas"]["license-simple"] | null; - }; - "pages-source-hash": { - branch: string; - path: string; - }; - "pages-https-certificate": { - state: - | "new" - | "authorization_created" - | "authorization_pending" - | "authorized" - | "authorization_revoked" - | "issued" - | "uploaded" - | "approved" - | "errored" - | "bad_authz" - | "destroy_pending" - | "dns_changed"; - description: string; - /** Array of the domain set and its alternate name (if it is configured) */ - domains: any[]; - expires_at?: string; - }; - /** The configuration for GitHub Pages for a repository. */ - page: { - /** The API address for accessing this Page resource. */ - url: string; - /** The status of the most recent build of the Page. */ - status: ("built" | "building" | "errored") | null; - /** The Pages site's custom domain */ - cname: string | null; - /** Whether the Page has a custom 404 page. */ - custom_404: boolean; - /** The web address the Page can be accessed from. */ - html_url?: string; - source?: components["schemas"]["pages-source-hash"]; - /** Whether the GitHub Pages site is publicly visible. If set to `true`, the site is accessible to anyone on the internet. If set to `false`, the site will only be accessible to users who have at least `read` access to the repository that published the site. */ - public: boolean; - https_certificate?: components["schemas"]["pages-https-certificate"]; - /** Whether https is enabled on the domain */ - https_enforced?: boolean; - }; - /** Page Build */ - "page-build": { - url: string; - status: string; - error: { - message: string | null; - }; - pusher: components["schemas"]["simple-user"] | null; - commit: string; - duration: number; - created_at: string; - updated_at: string; - }; - /** Page Build Status */ - "page-build-status": { - url: string; - status: string; - }; - /** Pages Health Check Status */ - "pages-health-check": { - domain?: { - host?: string; - uri?: string; - nameservers?: string; - dns_resolves?: boolean; - is_proxied?: boolean | null; - is_cloudflare_ip?: boolean | null; - is_fastly_ip?: boolean | null; - is_old_ip_address?: boolean | null; - is_a_record?: boolean | null; - has_cname_record?: boolean | null; - has_mx_records_present?: boolean | null; - is_valid_domain?: boolean; - is_apex_domain?: boolean; - should_be_a_record?: boolean | null; - is_cname_to_github_user_domain?: boolean | null; - is_cname_to_pages_dot_github_dot_com?: boolean | null; - is_cname_to_fastly?: boolean | null; - is_pointed_to_github_pages_ip?: boolean | null; - is_non_github_pages_ip_present?: boolean | null; - is_pages_domain?: boolean; - is_served_by_pages?: boolean | null; - is_valid?: boolean; - reason?: string | null; - responds_to_https?: boolean; - enforces_https?: boolean; - https_error?: string | null; - is_https_eligible?: boolean | null; - caa_error?: string | null; - }; - alt_domain?: { - host?: string; - uri?: string; - nameservers?: string; - dns_resolves?: boolean; - is_proxied?: boolean | null; - is_cloudflare_ip?: boolean | null; - is_fastly_ip?: boolean | null; - is_old_ip_address?: boolean | null; - is_a_record?: boolean | null; - has_cname_record?: boolean | null; - has_mx_records_present?: boolean | null; - is_valid_domain?: boolean; - is_apex_domain?: boolean; - should_be_a_record?: boolean | null; - is_cname_to_github_user_domain?: boolean | null; - is_cname_to_pages_dot_github_dot_com?: boolean | null; - is_cname_to_fastly?: boolean | null; - is_pointed_to_github_pages_ip?: boolean | null; - is_non_github_pages_ip_present?: boolean | null; - is_pages_domain?: boolean; - is_served_by_pages?: boolean | null; - is_valid?: boolean; - reason?: string | null; - responds_to_https?: boolean; - enforces_https?: boolean; - https_error?: string | null; - is_https_eligible?: boolean | null; - caa_error?: string | null; - } | null; - }; - /** Pull requests let you tell others about changes you've pushed to a repository on GitHub. Once a pull request is sent, interested parties can review the set of changes, discuss potential modifications, and even push follow-up commits if necessary. */ - "pull-request": { - url: string; - id: number; - node_id: string; - html_url: string; - diff_url: string; - patch_url: string; - issue_url: string; - commits_url: string; - review_comments_url: string; - review_comment_url: string; - comments_url: string; - statuses_url: string; - /** Number uniquely identifying the pull request within its repository. */ - number: number; - /** State of this Pull Request. Either `open` or `closed`. */ - state: "open" | "closed"; - locked: boolean; - /** The title of the pull request. */ - title: string; - user: components["schemas"]["simple-user"] | null; - body: string | null; - labels: { - id?: number; - node_id?: string; - url?: string; - name?: string; - description?: string | null; - color?: string; - default?: boolean; - }[]; - milestone: components["schemas"]["milestone"] | null; - active_lock_reason?: string | null; - created_at: string; - updated_at: string; - closed_at: string | null; - merged_at: string | null; - merge_commit_sha: string | null; - assignee: components["schemas"]["simple-user"] | null; - assignees?: components["schemas"]["simple-user"][] | null; - requested_reviewers?: components["schemas"]["simple-user"][] | null; - requested_teams?: components["schemas"]["team-simple"][] | null; - head: { - label: string; - ref: string; - repo: { - archive_url: string; - assignees_url: string; - blobs_url: string; - branches_url: string; - collaborators_url: string; - comments_url: string; - commits_url: string; - compare_url: string; - contents_url: string; - contributors_url: string; - deployments_url: string; - description: string | null; - downloads_url: string; - events_url: string; - fork: boolean; - forks_url: string; - full_name: string; - git_commits_url: string; - git_refs_url: string; - git_tags_url: string; - hooks_url: string; - html_url: string; - id: number; - node_id: string; - issue_comment_url: string; - issue_events_url: string; - issues_url: string; - keys_url: string; - labels_url: string; - languages_url: string; - merges_url: string; - milestones_url: string; - name: string; - notifications_url: string; - owner: { - avatar_url: string; - events_url: string; - followers_url: string; - following_url: string; - gists_url: string; - gravatar_id: string | null; - html_url: string; - id: number; - node_id: string; - login: string; - organizations_url: string; - received_events_url: string; - repos_url: string; - site_admin: boolean; - starred_url: string; - subscriptions_url: string; - type: string; - url: string; - }; - private: boolean; - pulls_url: string; - releases_url: string; - stargazers_url: string; - statuses_url: string; - subscribers_url: string; - subscription_url: string; - tags_url: string; - teams_url: string; - trees_url: string; - url: string; - clone_url: string; - default_branch: string; - forks: number; - forks_count: number; - git_url: string; - has_downloads: boolean; - has_issues: boolean; - has_projects: boolean; - has_wiki: boolean; - has_pages: boolean; - homepage: string | null; - language: string | null; - master_branch?: string; - archived: boolean; - disabled: boolean; - mirror_url: string | null; - open_issues: number; - open_issues_count: number; - permissions?: { - admin: boolean; - pull: boolean; - push: boolean; - }; - temp_clone_token?: string; - allow_merge_commit?: boolean; - allow_squash_merge?: boolean; - allow_rebase_merge?: boolean; - license: { - key: string; - name: string; - url: string | null; - spdx_id: string | null; - node_id: string; - } | null; - pushed_at: string; - size: number; - ssh_url: string; - stargazers_count: number; - svn_url: string; - topics?: string[]; - watchers: number; - watchers_count: number; - created_at: string; - updated_at: string; - } | null; - sha: string; - user: { - avatar_url: string; - events_url: string; - followers_url: string; - following_url: string; - gists_url: string; - gravatar_id: string | null; - html_url: string; - id: number; - node_id: string; - login: string; - organizations_url: string; - received_events_url: string; - repos_url: string; - site_admin: boolean; - starred_url: string; - subscriptions_url: string; - type: string; - url: string; - }; - }; - base: { - label: string; - ref: string; - repo: { - archive_url: string; - assignees_url: string; - blobs_url: string; - branches_url: string; - collaborators_url: string; - comments_url: string; - commits_url: string; - compare_url: string; - contents_url: string; - contributors_url: string; - deployments_url: string; - description: string | null; - downloads_url: string; - events_url: string; - fork: boolean; - forks_url: string; - full_name: string; - git_commits_url: string; - git_refs_url: string; - git_tags_url: string; - hooks_url: string; - html_url: string; - id: number; - node_id: string; - issue_comment_url: string; - issue_events_url: string; - issues_url: string; - keys_url: string; - labels_url: string; - languages_url: string; - merges_url: string; - milestones_url: string; - name: string; - notifications_url: string; - owner: { - avatar_url: string; - events_url: string; - followers_url: string; - following_url: string; - gists_url: string; - gravatar_id: string | null; - html_url: string; - id: number; - node_id: string; - login: string; - organizations_url: string; - received_events_url: string; - repos_url: string; - site_admin: boolean; - starred_url: string; - subscriptions_url: string; - type: string; - url: string; - }; - private: boolean; - pulls_url: string; - releases_url: string; - stargazers_url: string; - statuses_url: string; - subscribers_url: string; - subscription_url: string; - tags_url: string; - teams_url: string; - trees_url: string; - url: string; - clone_url: string; - default_branch: string; - forks: number; - forks_count: number; - git_url: string; - has_downloads: boolean; - has_issues: boolean; - has_projects: boolean; - has_wiki: boolean; - has_pages: boolean; - homepage: string | null; - language: string | null; - master_branch?: string; - archived: boolean; - disabled: boolean; - mirror_url: string | null; - open_issues: number; - open_issues_count: number; - permissions?: { - admin: boolean; - pull: boolean; - push: boolean; - }; - temp_clone_token?: string; - allow_merge_commit?: boolean; - allow_squash_merge?: boolean; - allow_rebase_merge?: boolean; - license: components["schemas"]["license-simple"] | null; - pushed_at: string; - size: number; - ssh_url: string; - stargazers_count: number; - svn_url: string; - topics?: string[]; - watchers: number; - watchers_count: number; - created_at: string; - updated_at: string; - }; - sha: string; - user: { - avatar_url: string; - events_url: string; - followers_url: string; - following_url: string; - gists_url: string; - gravatar_id: string | null; - html_url: string; - id: number; - node_id: string; - login: string; - organizations_url: string; - received_events_url: string; - repos_url: string; - site_admin: boolean; - starred_url: string; - subscriptions_url: string; - type: string; - url: string; - }; - }; - _links: { - comments: components["schemas"]["link"]; - commits: components["schemas"]["link"]; - statuses: components["schemas"]["link"]; - html: components["schemas"]["link"]; - issue: components["schemas"]["link"]; - review_comments: components["schemas"]["link"]; - review_comment: components["schemas"]["link"]; - self: components["schemas"]["link"]; - }; - author_association: components["schemas"]["author_association"]; - auto_merge: components["schemas"]["auto_merge"]; - /** Indicates whether or not the pull request is a draft. */ - draft?: boolean; - merged: boolean; - mergeable: boolean | null; - rebaseable?: boolean | null; - mergeable_state: string; - merged_by: components["schemas"]["simple-user"] | null; - comments: number; - review_comments: number; - /** Indicates whether maintainers can modify the pull request. */ - maintainer_can_modify: boolean; - commits: number; - additions: number; - deletions: number; - changed_files: number; - }; - /** Pull Request Merge Result */ - "pull-request-merge-result": { - sha: string; - merged: boolean; - message: string; - }; - /** Pull Request Review Request */ - "pull-request-review-request": { - users: components["schemas"]["simple-user"][]; - teams: components["schemas"]["team"][]; - }; - /** Pull Request Reviews are reviews on pull requests. */ - "pull-request-review": { - /** Unique identifier of the review */ - id: number; - node_id: string; - user: components["schemas"]["simple-user"] | null; - /** The text of the review. */ - body: string; - state: string; - html_url: string; - pull_request_url: string; - _links: { - html: { - href: string; - }; - pull_request: { - href: string; - }; - }; - submitted_at?: string; - /** A commit SHA for the review. */ - commit_id: string; - body_html?: string; - body_text?: string; - author_association: components["schemas"]["author_association"]; - }; - /** Legacy Review Comment */ - "review-comment": { - url: string; - pull_request_review_id: number | null; - id: number; - node_id: string; - diff_hunk: string; - path: string; - position: number | null; - original_position: number; - commit_id: string; - original_commit_id: string; - in_reply_to_id?: number; - user: components["schemas"]["simple-user"] | null; - body: string; - created_at: string; - updated_at: string; - html_url: string; - pull_request_url: string; - author_association: components["schemas"]["author_association"]; - _links: { - self: components["schemas"]["link"]; - html: components["schemas"]["link"]; - pull_request: components["schemas"]["link"]; - }; - body_text?: string; - body_html?: string; - reactions?: components["schemas"]["reaction-rollup"]; - /** The side of the first line of the range for a multi-line comment. */ - side?: "LEFT" | "RIGHT"; - /** The side of the first line of the range for a multi-line comment. */ - start_side?: ("LEFT" | "RIGHT") | null; - /** The line of the blob to which the comment applies. The last line of the range for a multi-line comment */ - line?: number; - /** The original line of the blob to which the comment applies. The last line of the range for a multi-line comment */ - original_line?: number; - /** The first line of the range for a multi-line comment. */ - start_line?: number | null; - /** The original first line of the range for a multi-line comment. */ - original_start_line?: number | null; - }; - /** Data related to a release. */ - "release-asset": { - url: string; - browser_download_url: string; - id: number; - node_id: string; - /** The file name of the asset. */ - name: string; - label: string | null; - /** State of the release asset. */ - state: "uploaded" | "open"; - content_type: string; - size: number; - download_count: number; - created_at: string; - updated_at: string; - uploader: components["schemas"]["simple-user"] | null; - }; - /** A release. */ - release: { - url: string; - html_url: string; - assets_url: string; - upload_url: string; - tarball_url: string | null; - zipball_url: string | null; - id: number; - node_id: string; - /** The name of the tag. */ - tag_name: string; - /** Specifies the commitish value that determines where the Git tag is created from. */ - target_commitish: string; - name: string | null; - body?: string | null; - /** true to create a draft (unpublished) release, false to create a published one. */ - draft: boolean; - /** Whether to identify the release as a prerelease or a full release. */ - prerelease: boolean; - created_at: string; - published_at: string | null; - author: components["schemas"]["simple-user"]; - assets: components["schemas"]["release-asset"][]; - body_html?: string; - body_text?: string; - mentions_count?: number; - /** The URL of the release discussion. */ - discussion_url?: string; - reactions?: components["schemas"]["reaction-rollup"]; - }; - /** Sets the state of the secret scanning alert. Can be either `open` or `resolved`. You must provide `resolution` when you set the state to `resolved`. */ - "secret-scanning-alert-state": "open" | "resolved"; - /** **Required when the `state` is `resolved`.** The reason for resolving the alert. Can be one of `false_positive`, `wont_fix`, `revoked`, or `used_in_tests`. */ - "secret-scanning-alert-resolution": - | ("false_positive" | "wont_fix" | "revoked" | "used_in_tests") - | null; - "secret-scanning-alert": { - number?: components["schemas"]["alert-number"]; - created_at?: components["schemas"]["alert-created-at"]; - url?: components["schemas"]["alert-url"]; - html_url?: components["schemas"]["alert-html-url"]; - state?: components["schemas"]["secret-scanning-alert-state"]; - resolution?: components["schemas"]["secret-scanning-alert-resolution"]; - /** The time that the alert was resolved in ISO 8601 format: `YYYY-MM-DDTHH:MM:SSZ`. */ - resolved_at?: string | null; - resolved_by?: components["schemas"]["simple-user"]; - /** The type of secret that secret scanning detected. */ - secret_type?: string; - /** The secret that was detected. */ - secret?: string; - }; - /** Stargazer */ - stargazer: { - starred_at: string; - user: components["schemas"]["simple-user"] | null; - }; - /** Code Frequency Stat */ - "code-frequency-stat": number[]; - /** Commit Activity */ - "commit-activity": { - days: number[]; - total: number; - week: number; - }; - /** Contributor Activity */ - "contributor-activity": { - author: components["schemas"]["simple-user"] | null; - total: number; - weeks: { - w?: number; - a?: number; - d?: number; - c?: number; - }[]; - }; - "participation-stats": { - all: number[]; - owner: number[]; - }; - /** Repository invitations let you manage who you collaborate with. */ - "repository-subscription": { - /** Determines if notifications should be received from this repository. */ - subscribed: boolean; - /** Determines if all notifications should be blocked from this repository. */ - ignored: boolean; - reason: string | null; - created_at: string; - url: string; - repository_url: string; - }; - /** Tag */ - tag: { - name: string; - commit: { - sha: string; - url: string; - }; - zipball_url: string; - tarball_url: string; - node_id: string; - }; - /** A topic aggregates entities that are related to a subject. */ - topic: { - names: string[]; - }; - traffic: { - timestamp: string; - uniques: number; - count: number; - }; - /** Clone Traffic */ - "clone-traffic": { - count: number; - uniques: number; - clones: components["schemas"]["traffic"][]; - }; - /** Content Traffic */ - "content-traffic": { - path: string; - title: string; - count: number; - uniques: number; - }; - /** Referrer Traffic */ - "referrer-traffic": { - referrer: string; - count: number; - uniques: number; - }; - /** View Traffic */ - "view-traffic": { - count: number; - uniques: number; - views: components["schemas"]["traffic"][]; - }; - "scim-group-list-enterprise": { - schemas: string[]; - totalResults: number; - itemsPerPage: number; - startIndex: number; - Resources: { - schemas: string[]; - id: string; - externalId?: string | null; - displayName?: string; - members?: { - value?: string; - $ref?: string; - display?: string; - }[]; - meta?: { - resourceType?: string; - created?: string; - lastModified?: string; - location?: string; - }; - }[]; - }; - "scim-enterprise-group": { - schemas: string[]; - id: string; - externalId?: string | null; - displayName?: string; - members?: { - value?: string; - $ref?: string; - display?: string; - }[]; - meta?: { - resourceType?: string; - created?: string; - lastModified?: string; - location?: string; - }; - }; - "scim-user-list-enterprise": { - schemas: string[]; - totalResults: number; - itemsPerPage: number; - startIndex: number; - Resources: { - schemas: string[]; - id: string; - externalId?: string; - userName?: string; - name?: { - givenName?: string; - familyName?: string; - }; - emails?: { - value?: string; - primary?: boolean; - type?: string; - }[]; - groups?: { - value?: string; - }[]; - active?: boolean; - meta?: { - resourceType?: string; - created?: string; - lastModified?: string; - location?: string; - }; - }[]; - }; - "scim-enterprise-user": { - schemas: string[]; - id: string; - externalId?: string; - userName?: string; - name?: { - givenName?: string; - familyName?: string; - }; - emails?: { - value?: string; - type?: string; - primary?: boolean; - }[]; - groups?: { - value?: string; - }[]; - active?: boolean; - meta?: { - resourceType?: string; - created?: string; - lastModified?: string; - location?: string; - }; - }; - /** SCIM /Users provisioning endpoints */ - "scim-user": { - /** SCIM schema used. */ - schemas: string[]; - /** Unique identifier of an external identity */ - id: string; - /** The ID of the User. */ - externalId: string | null; - /** Configured by the admin. Could be an email, login, or username */ - userName: string | null; - /** The name of the user, suitable for display to end-users */ - displayName?: string | null; - name: { - givenName: string | null; - familyName: string | null; - formatted?: string | null; - }; - /** user emails */ - emails: { - value: string; - primary?: boolean; - }[]; - /** The active status of the User. */ - active: boolean; - meta: { - resourceType?: string; - created?: string; - lastModified?: string; - location?: string; - }; - /** The ID of the organization. */ - organization_id?: number; - /** Set of operations to be performed */ - operations?: { - op: "add" | "remove" | "replace"; - path?: string; - value?: - | string - | { [key: string]: unknown } - | { [key: string]: unknown }[]; - }[]; - /** associated groups */ - groups?: { - value?: string; - display?: string; - }[]; - }; - /** SCIM User List */ - "scim-user-list": { - /** SCIM schema used. */ - schemas: string[]; - totalResults: number; - itemsPerPage: number; - startIndex: number; - Resources: components["schemas"]["scim-user"][]; - }; - "search-result-text-matches": { - object_url?: string; - object_type?: string | null; - property?: string; - fragment?: string; - matches?: { - text?: string; - indices?: number[]; - }[]; - }[]; - /** Code Search Result Item */ - "code-search-result-item": { - name: string; - path: string; - sha: string; - url: string; - git_url: string; - html_url: string; - repository: components["schemas"]["minimal-repository"]; - score: number; - file_size?: number; - language?: string | null; - last_modified_at?: string; - line_numbers?: string[]; - text_matches?: components["schemas"]["search-result-text-matches"]; - }; - /** Commit Search Result Item */ - "commit-search-result-item": { - url: string; - sha: string; - html_url: string; - comments_url: string; - commit: { - author: { - name: string; - email: string; - date: string; - }; - committer: components["schemas"]["git-user"] | null; - comment_count: number; - message: string; - tree: { - sha: string; - url: string; - }; - url: string; - verification?: components["schemas"]["verification"]; - }; - author: components["schemas"]["simple-user"] | null; - committer: components["schemas"]["git-user"] | null; - parents: { - url?: string; - html_url?: string; - sha?: string; - }[]; - repository: components["schemas"]["minimal-repository"]; - score: number; - node_id: string; - text_matches?: components["schemas"]["search-result-text-matches"]; - }; - /** Issue Search Result Item */ - "issue-search-result-item": { - url: string; - repository_url: string; - labels_url: string; - comments_url: string; - events_url: string; - html_url: string; - id: number; - node_id: string; - number: number; - title: string; - locked: boolean; - active_lock_reason?: string | null; - assignees?: components["schemas"]["simple-user"][] | null; - user: components["schemas"]["simple-user"] | null; - labels: { - id?: number; - node_id?: string; - url?: string; - name?: string; - color?: string; - default?: boolean; - description?: string | null; - }[]; - state: string; - assignee: components["schemas"]["simple-user"] | null; - milestone: components["schemas"]["milestone"] | null; - comments: number; - created_at: string; - updated_at: string; - closed_at: string | null; - text_matches?: components["schemas"]["search-result-text-matches"]; - pull_request?: { - merged_at?: string | null; - diff_url: string | null; - html_url: string | null; - patch_url: string | null; - url: string | null; - }; - body?: string; - score: number; - author_association: components["schemas"]["author_association"]; - draft?: boolean; - repository?: components["schemas"]["repository"]; - body_html?: string; - body_text?: string; - timeline_url?: string; - performed_via_github_app?: components["schemas"]["integration"] | null; - }; - /** Label Search Result Item */ - "label-search-result-item": { - id: number; - node_id: string; - url: string; - name: string; - color: string; - default: boolean; - description: string | null; - score: number; - text_matches?: components["schemas"]["search-result-text-matches"]; - }; - /** Repo Search Result Item */ - "repo-search-result-item": { - id: number; - node_id: string; - name: string; - full_name: string; - owner: components["schemas"]["simple-user"] | null; - private: boolean; - html_url: string; - description: string | null; - fork: boolean; - url: string; - created_at: string; - updated_at: string; - pushed_at: string; - homepage: string | null; - size: number; - stargazers_count: number; - watchers_count: number; - language: string | null; - forks_count: number; - open_issues_count: number; - master_branch?: string; - default_branch: string; - score: number; - forks_url: string; - keys_url: string; - collaborators_url: string; - teams_url: string; - hooks_url: string; - issue_events_url: string; - events_url: string; - assignees_url: string; - branches_url: string; - tags_url: string; - blobs_url: string; - git_tags_url: string; - git_refs_url: string; - trees_url: string; - statuses_url: string; - languages_url: string; - stargazers_url: string; - contributors_url: string; - subscribers_url: string; - subscription_url: string; - commits_url: string; - git_commits_url: string; - comments_url: string; - issue_comment_url: string; - contents_url: string; - compare_url: string; - merges_url: string; - archive_url: string; - downloads_url: string; - issues_url: string; - pulls_url: string; - milestones_url: string; - notifications_url: string; - labels_url: string; - releases_url: string; - deployments_url: string; - git_url: string; - ssh_url: string; - clone_url: string; - svn_url: string; - forks: number; - open_issues: number; - watchers: number; - topics?: string[]; - mirror_url: string | null; - has_issues: boolean; - has_projects: boolean; - has_pages: boolean; - has_wiki: boolean; - has_downloads: boolean; - archived: boolean; - /** Returns whether or not this repository disabled. */ - disabled: boolean; - license: components["schemas"]["license-simple"] | null; - permissions?: { - admin: boolean; - pull: boolean; - push: boolean; - }; - text_matches?: components["schemas"]["search-result-text-matches"]; - temp_clone_token?: string; - allow_merge_commit?: boolean; - allow_squash_merge?: boolean; - allow_rebase_merge?: boolean; - delete_branch_on_merge?: boolean; - }; - /** Topic Search Result Item */ - "topic-search-result-item": { - name: string; - display_name: string | null; - short_description: string | null; - description: string | null; - created_by: string | null; - released: string | null; - created_at: string; - updated_at: string; - featured: boolean; - curated: boolean; - score: number; - repository_count?: number | null; - logo_url?: string | null; - text_matches?: components["schemas"]["search-result-text-matches"]; - related?: - | { - topic_relation?: { - id?: number; - name?: string; - topic_id?: number; - relation_type?: string; - }; - }[] - | null; - aliases?: - | { - topic_relation?: { - id?: number; - name?: string; - topic_id?: number; - relation_type?: string; - }; - }[] - | null; - }; - /** User Search Result Item */ - "user-search-result-item": { - login: string; - id: number; - node_id: string; - avatar_url: string; - gravatar_id: string | null; - url: string; - html_url: string; - followers_url: string; - subscriptions_url: string; - organizations_url: string; - repos_url: string; - received_events_url: string; - type: string; - score: number; - following_url: string; - gists_url: string; - starred_url: string; - events_url: string; - public_repos?: number; - public_gists?: number; - followers?: number; - following?: number; - created_at?: string; - updated_at?: string; - name?: string | null; - bio?: string | null; - email?: string | null; - location?: string | null; - site_admin: boolean; - hireable?: boolean | null; - text_matches?: components["schemas"]["search-result-text-matches"]; - blog?: string | null; - company?: string | null; - suspended_at?: string | null; - }; - /** Private User */ - "private-user": { - login: string; - id: number; - node_id: string; - avatar_url: string; - gravatar_id: string | null; - url: string; - html_url: string; - followers_url: string; - following_url: string; - gists_url: string; - starred_url: string; - subscriptions_url: string; - organizations_url: string; - repos_url: string; - events_url: string; - received_events_url: string; - type: string; - site_admin: boolean; - name: string | null; - company: string | null; - blog: string | null; - location: string | null; - email: string | null; - hireable: boolean | null; - bio: string | null; - twitter_username?: string | null; - public_repos: number; - public_gists: number; - followers: number; - following: number; - created_at: string; - updated_at: string; - private_gists: number; - total_private_repos: number; - owned_private_repos: number; - disk_usage: number; - collaborators: number; - two_factor_authentication: boolean; - plan?: { - collaborators: number; - name: string; - space: number; - private_repos: number; - }; - suspended_at?: string | null; - business_plus?: boolean; - ldap_dn?: string; - }; - /** Email */ - email: { - email: string; - primary: boolean; - verified: boolean; - visibility: string | null; - }; - /** A unique encryption key */ - "gpg-key": { - id: number; - primary_key_id: number | null; - key_id: string; - public_key: string; - emails: { - email?: string; - verified?: boolean; - }[]; - subkeys: { - id?: number; - primary_key_id?: number; - key_id?: string; - public_key?: string; - emails?: { [key: string]: unknown }[]; - subkeys?: { [key: string]: unknown }[]; - can_sign?: boolean; - can_encrypt_comms?: boolean; - can_encrypt_storage?: boolean; - can_certify?: boolean; - created_at?: string; - expires_at?: string | null; - raw_key?: string | null; - }[]; - can_sign: boolean; - can_encrypt_comms: boolean; - can_encrypt_storage: boolean; - can_certify: boolean; - created_at: string; - expires_at: string | null; - raw_key: string | null; - }; - /** Key */ - key: { - key: string; - id: number; - url: string; - title: string; - created_at: string; - verified: boolean; - read_only: boolean; - }; - "marketplace-account": { - url: string; - id: number; - type: string; - node_id?: string; - login: string; - email?: string | null; - organization_billing_email?: string | null; - }; - /** User Marketplace Purchase */ - "user-marketplace-purchase": { - billing_cycle: string; - next_billing_date: string | null; - unit_count: number | null; - on_free_trial: boolean; - free_trial_ends_on: string | null; - updated_at: string | null; - account: components["schemas"]["marketplace-account"]; - plan: components["schemas"]["marketplace-listing-plan"]; - }; - /** Starred Repository */ - "starred-repository": { - starred_at: string; - repo: components["schemas"]["repository"]; - }; - /** Hovercard */ - hovercard: { - contexts: { - message: string; - octicon: string; - }[]; - }; - /** Key Simple */ - "key-simple": { - id: number; - key: string; - }; - }; - responses: { - /** Resource not found */ - not_found: { - content: { - "application/json": components["schemas"]["basic-error"]; - }; - }; - /** Validation failed */ - validation_failed_simple: { - content: { - "application/json": components["schemas"]["validation-error-simple"]; - }; - }; - /** Bad Request */ - bad_request: { - content: { - "application/json": components["schemas"]["basic-error"]; - "application/scim+json": components["schemas"]["scim-error"]; - }; - }; - /** Validation failed */ - validation_failed: { - content: { - "application/json": components["schemas"]["validation-error"]; - }; - }; - /** Accepted */ - accepted: { - content: { - "application/json": { [key: string]: unknown }; - }; - }; - /** Preview header missing */ - preview_header_missing: { - content: { - "application/json": { - message: string; - documentation_url: string; - }; - }; - }; - /** Forbidden */ - forbidden: { - content: { - "application/json": components["schemas"]["basic-error"]; - }; - }; - /** Requires authentication */ - requires_authentication: { - content: { - "application/json": components["schemas"]["basic-error"]; - }; - }; - /** Not modified */ - not_modified: unknown; - /** Gone */ - gone: { - content: { - "application/json": components["schemas"]["basic-error"]; - }; - }; - /** Service unavailable */ - service_unavailable: { - content: { - "application/json": { - code?: string; - message?: string; - documentation_url?: string; - }; - }; - }; - /** Forbidden Gist */ - forbidden_gist: { - content: { - "application/json": { - block?: { - reason?: string; - created_at?: string; - html_url?: string | null; - }; - message?: string; - documentation_url?: string; - }; - }; - }; - /** Moved permanently */ - moved_permanently: { - content: { - "application/json": components["schemas"]["basic-error"]; - }; - }; - /** Conflict */ - conflict: { - content: { - "application/json": components["schemas"]["basic-error"]; - }; - }; - /** Temporary Redirect */ - temporary_redirect: { - content: { - "application/json": components["schemas"]["basic-error"]; - }; - }; - /** Response if GitHub Advanced Security is not enabled for this repository */ - code_scanning_forbidden_read: { - content: { - "application/json": components["schemas"]["basic-error"]; - }; - }; - /** Response if the repository is archived or if github advanced security is not enabled for this repository */ - code_scanning_forbidden_write: { - content: { - "application/json": components["schemas"]["basic-error"]; - }; - }; - /** Internal Error */ - internal_error: { - content: { - "application/json": components["schemas"]["basic-error"]; - }; - }; - /** Found */ - found: unknown; - /** A header with no content is returned. */ - no_content: unknown; - /** Resource not found */ - scim_not_found: { - content: { - "application/json": components["schemas"]["scim-error"]; - "application/scim+json": components["schemas"]["scim-error"]; - }; - }; - /** Forbidden */ - scim_forbidden: { - content: { - "application/json": components["schemas"]["scim-error"]; - "application/scim+json": components["schemas"]["scim-error"]; - }; - }; - /** Bad Request */ - scim_bad_request: { - content: { - "application/json": components["schemas"]["scim-error"]; - "application/scim+json": components["schemas"]["scim-error"]; - }; - }; - /** Internal Error */ - scim_internal_error: { - content: { - "application/json": components["schemas"]["scim-error"]; - "application/scim+json": components["schemas"]["scim-error"]; - }; - }; - /** Conflict */ - scim_conflict: { - content: { - "application/json": components["schemas"]["scim-error"]; - "application/scim+json": components["schemas"]["scim-error"]; - }; - }; - }; - parameters: { - /** Results per page (max 100) */ - "per-page": number; - /** Used for pagination: the starting delivery from which the page of deliveries is fetched. Refer to the `link` header for the next and previous page cursors. */ - cursor: string; - "delivery-id": number; - /** Page number of the results to fetch. */ - page: number; - /** Only show notifications updated after the given time. This is a timestamp in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) format: `YYYY-MM-DDTHH:MM:SSZ`. */ - since: string; - /** installation_id parameter */ - "installation-id": number; - /** grant_id parameter */ - "grant-id": number; - /** The client ID of your GitHub app. */ - "client-id": string; - "access-token": string; - "app-slug": string; - /** authorization_id parameter */ - "authorization-id": number; - /** The slug version of the enterprise name. You can also substitute this value with the enterprise id. */ - enterprise: string; - /** Unique identifier of an organization. */ - "org-id": number; - /** Unique identifier of the self-hosted runner group. */ - "runner-group-id": number; - /** Unique identifier of the self-hosted runner. */ - "runner-id": number; - /** A search phrase. For more information, see [Searching the audit log](https://docs.github.com/github/setting-up-and-managing-organizations-and-teams/reviewing-the-audit-log-for-your-organization#searching-the-audit-log). */ - "audit-log-phrase": string; - /** - * The event types to include: - * - * - `web` - returns web (non-Git) events - * - `git` - returns Git events - * - `all` - returns both web and Git events - * - * The default is `web`. - */ - "audit-log-include": "web" | "git" | "all"; - /** A cursor, as given in the [Link header](https://docs.github.com/rest/overview/resources-in-the-rest-api#link-header). If specified, the query only searches for events after this cursor. */ - "audit-log-after": string; - /** A cursor, as given in the [Link header](https://docs.github.com/rest/overview/resources-in-the-rest-api#link-header). If specified, the query only searches for events before this cursor. */ - "audit-log-before": string; - /** - * The order of audit log events. To list newest events first, specify `desc`. To list oldest events first, specify `asc`. - * - * The default is `desc`. - */ - "audit-log-order": "desc" | "asc"; - /** gist_id parameter */ - "gist-id": string; - /** comment_id parameter */ - "comment-id": number; - /** A list of comma separated label names. Example: `bug,ui,@high` */ - labels: string; - /** One of `asc` (ascending) or `desc` (descending). */ - direction: "asc" | "desc"; - /** account_id parameter */ - "account-id": number; - /** plan_id parameter */ - "plan-id": number; - /** One of `created` (when the repository was starred) or `updated` (when it was last pushed to). */ - sort: "created" | "updated"; - owner: string; - repo: string; - /** If `true`, show notifications marked as read. */ - all: boolean; - /** If `true`, only shows notifications in which the user is directly participating or mentioned. */ - participating: boolean; - /** Only show notifications updated before the given time. This is a timestamp in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) format: `YYYY-MM-DDTHH:MM:SSZ`. */ - before: string; - /** thread_id parameter */ - "thread-id": number; - /** An organization ID. Only return organizations with an ID greater than this ID. */ - "since-org": number; - org: string; - "repository-id": number; - /** secret_name parameter */ - "secret-name": string; - username: string; - "hook-id": number; - /** invitation_id parameter */ - "invitation-id": number; - /** migration_id parameter */ - "migration-id": number; - /** repo_name parameter */ - "repo-name": string; - /** The type of supported package. Can be one of `npm`, `maven`, `rubygems`, `nuget`, `docker`, or `container`. Packages in GitHub's Gradle registry have the type `maven`. Docker images pushed to GitHub's Container registry (`ghcr.io`) have the type `container`. You can use the type `docker` to find images that were pushed to GitHub's Docker registry (`docker.pkg.github.com`), even if these have now been migrated to the Container registry. */ - "package-type": - | "npm" - | "maven" - | "rubygems" - | "docker" - | "nuget" - | "container"; - /** The name of the package. */ - "package-name": string; - /** Unique identifier of the package version. */ - "package-version-id": number; - /** team_slug parameter */ - "team-slug": string; - "discussion-number": number; - "comment-number": number; - "reaction-id": number; - "project-id": number; - /** card_id parameter */ - "card-id": number; - /** column_id parameter */ - "column-id": number; - /** artifact_id parameter */ - "artifact-id": number; - /** job_id parameter */ - "job-id": number; - /** Returns someone's workflow runs. Use the login for the user who created the `push` associated with the check suite or workflow run. */ - actor: string; - /** Returns workflow runs associated with a branch. Use the name of the branch of the `push`. */ - "workflow-run-branch": string; - /** Returns workflow run triggered by the event you specify. For example, `push`, `pull_request` or `issue`. For more information, see "[Events that trigger workflows](https://help.github.com/en/actions/automating-your-workflow-with-github-actions/events-that-trigger-workflows)." */ - event: string; - /** Returns workflow runs with the check run `status` or `conclusion` that you specify. For example, a conclusion can be `success` or a status can be `in_progress`. Only GitHub can set a status of `waiting` or `requested`. For a list of the possible `status` and `conclusion` options, see "[Create a check run](https://docs.github.com/rest/reference/checks#create-a-check-run)." */ - "workflow-run-status": - | "completed" - | "action_required" - | "cancelled" - | "failure" - | "neutral" - | "skipped" - | "stale" - | "success" - | "timed_out" - | "in_progress" - | "queued" - | "requested" - | "waiting"; - created: string; - /** The id of the workflow run. */ - "run-id": number; - /** The ID of the workflow. You can also pass the workflow file name as a string. */ - "workflow-id": number | string; - /** The name of the branch. */ - branch: string; - /** check_run_id parameter */ - "check-run-id": number; - /** check_suite_id parameter */ - "check-suite-id": number; - /** Returns check runs with the specified `name`. */ - "check-name": string; - /** Returns check runs with the specified `status`. Can be one of `queued`, `in_progress`, or `completed`. */ - status: "queued" | "in_progress" | "completed"; - /** The name of a code scanning tool. Only results by this tool will be listed. You can specify the tool by using either `tool_name` or `tool_guid`, but not both. */ - "tool-name": components["schemas"]["code-scanning-analysis-tool-name"]; - /** The GUID of a code scanning tool. Only results by this tool will be listed. Note that some code scanning tools may not include a GUID in their analysis data. You can specify the tool by using either `tool_guid` or `tool_name`, but not both. */ - "tool-guid": components["schemas"]["code-scanning-analysis-tool-guid"]; - /** The Git reference for the results you want to list. The `ref` for a branch can be formatted either as `refs/heads/` or simply ``. To reference a pull request use `refs/pull//merge`. */ - "git-ref": components["schemas"]["code-scanning-ref"]; - /** The number that identifies an alert. You can find this at the end of the URL for a code scanning alert within GitHub, and in the `number` field in the response from the `GET /repos/{owner}/{repo}/code-scanning/alerts` operation. */ - "alert-number": components["schemas"]["alert-number"]; - /** commit_sha parameter */ - "commit-sha": string; - /** deployment_id parameter */ - "deployment-id": number; - /** The name of the environment */ - "environment-name": string; - /** A user ID. Only return users with an ID greater than this ID. */ - "since-user": number; - /** issue_number parameter */ - "issue-number": number; - /** key_id parameter */ - "key-id": number; - /** milestone_number parameter */ - "milestone-number": number; - "pull-number": number; - /** review_id parameter */ - "review-id": number; - /** asset_id parameter */ - "asset-id": number; - /** release_id parameter */ - "release-id": number; - /** Must be one of: `day`, `week`. */ - per: "" | "day" | "week"; - /** A repository ID. Only return repositories with an ID greater than this ID. */ - "since-repo": number; - /** Used for pagination: the index of the first result to return. */ - "start-index": number; - /** Used for pagination: the number of results to return. */ - count: number; - /** Identifier generated by the GitHub SCIM endpoint. */ - "scim-group-id": string; - /** scim_user_id parameter */ - "scim-user-id": string; - /** Determines whether the first search result returned is the highest number of matches (`desc`) or lowest number of matches (`asc`). This parameter is ignored unless you provide `sort`. */ - order: "desc" | "asc"; - "team-id": number; - /** gpg_key_id parameter */ - "gpg-key-id": number; - }; - headers: { - link?: string; - "content-type"?: string; - "x-common-marker-version"?: string; - "x-rate-limit-limit"?: number; - "x-rate-limit-remaining"?: number; - "x-rate-limit-reset"?: number; - location?: string; - }; -} - -export interface operations { - /** Get Hypermedia links to resources accessible in GitHub's REST API */ - "meta/root": { - responses: { - /** Response */ - 200: { - content: { - "application/json": { - current_user_url: string; - current_user_authorizations_html_url: string; - authorizations_url: string; - code_search_url: string; - commit_search_url: string; - emails_url: string; - emojis_url: string; - events_url: string; - feeds_url: string; - followers_url: string; - following_url: string; - gists_url: string; - hub_url: string; - issue_search_url: string; - issues_url: string; - keys_url: string; - label_search_url: string; - notifications_url: string; - organization_url: string; - organization_repositories_url: string; - organization_teams_url: string; - public_gists_url: string; - rate_limit_url: string; - repository_url: string; - repository_search_url: string; - current_user_repositories_url: string; - starred_url: string; - starred_gists_url: string; - topic_search_url?: string; - user_url: string; - user_organizations_url: string; - user_repositories_url: string; - user_search_url: string; - }; - }; - }; - }; - }; - /** - * Returns the GitHub App associated with the authentication credentials used. To see how many app installations are associated with this GitHub App, see the `installations_count` in the response. For more details about your app's installations, see the "[List installations for the authenticated app](https://docs.github.com/rest/reference/apps#list-installations-for-the-authenticated-app)" endpoint. - * - * You must use a [JWT](https://docs.github.com/apps/building-github-apps/authenticating-with-github-apps/#authenticating-as-a-github-app) to access this endpoint. - */ - "apps/get-authenticated": { - parameters: {}; - responses: { - /** Response */ - 200: { - content: { - "application/json": components["schemas"]["integration"]; - }; - }; - }; - }; - /** Use this endpoint to complete the handshake necessary when implementing the [GitHub App Manifest flow](https://docs.github.com/apps/building-github-apps/creating-github-apps-from-a-manifest/). When you create a GitHub App with the manifest flow, you receive a temporary `code` used to retrieve the GitHub App's `id`, `pem` (private key), and `webhook_secret`. */ - "apps/create-from-manifest": { - parameters: { - path: { - code: string; - }; - }; - responses: { - /** Response */ - 201: { - content: { - "application/json": components["schemas"]["integration"] & - ({ - client_id: string; - client_secret: string; - webhook_secret: string | null; - pem: string; - } & { [key: string]: any }); - }; - }; - 404: components["responses"]["not_found"]; - 422: components["responses"]["validation_failed_simple"]; - }; - requestBody: { - content: { - "application/json": { [key: string]: unknown }; - }; - }; - }; - /** - * Returns the webhook configuration for a GitHub App. For more information about configuring a webhook for your app, see "[Creating a GitHub App](/developers/apps/creating-a-github-app)." - * - * You must use a [JWT](https://docs.github.com/apps/building-github-apps/authenticating-with-github-apps/#authenticating-as-a-github-app) to access this endpoint. - */ - "apps/get-webhook-config-for-app": { - responses: { - /** Response */ - 200: { - content: { - "application/json": components["schemas"]["webhook-config"]; - }; - }; - }; - }; - /** - * Updates the webhook configuration for a GitHub App. For more information about configuring a webhook for your app, see "[Creating a GitHub App](/developers/apps/creating-a-github-app)." - * - * You must use a [JWT](https://docs.github.com/apps/building-github-apps/authenticating-with-github-apps/#authenticating-as-a-github-app) to access this endpoint. - */ - "apps/update-webhook-config-for-app": { - responses: { - /** Response */ - 200: { - content: { - "application/json": components["schemas"]["webhook-config"]; - }; - }; - }; - requestBody: { - content: { - "application/json": { - url?: components["schemas"]["webhook-config-url"]; - content_type?: components["schemas"]["webhook-config-content-type"]; - secret?: components["schemas"]["webhook-config-secret"]; - insecure_ssl?: components["schemas"]["webhook-config-insecure-ssl"]; - }; - }; - }; - }; - /** - * Returns a list of webhook deliveries for the webhook configured for a GitHub App. - * - * You must use a [JWT](https://docs.github.com/apps/building-github-apps/authenticating-with-github-apps/#authenticating-as-a-github-app) to access this endpoint. - */ - "apps/list-webhook-deliveries": { - parameters: { - query: { - /** Results per page (max 100) */ - per_page?: components["parameters"]["per-page"]; - /** Used for pagination: the starting delivery from which the page of deliveries is fetched. Refer to the `link` header for the next and previous page cursors. */ - cursor?: components["parameters"]["cursor"]; - }; - }; - responses: { - /** Response */ - 200: { - content: { - "application/json": components["schemas"]["hook-delivery-item"][]; - }; - }; - 400: components["responses"]["bad_request"]; - 422: components["responses"]["validation_failed"]; - }; - }; - /** - * Returns a delivery for the webhook configured for a GitHub App. - * - * You must use a [JWT](https://docs.github.com/apps/building-github-apps/authenticating-with-github-apps/#authenticating-as-a-github-app) to access this endpoint. - */ - "apps/get-webhook-delivery": { - parameters: { - path: { - delivery_id: components["parameters"]["delivery-id"]; - }; - }; - responses: { - /** Response */ - 200: { - content: { - "application/json": components["schemas"]["hook-delivery"]; - }; - }; - 400: components["responses"]["bad_request"]; - 422: components["responses"]["validation_failed"]; - }; - }; - /** - * Redeliver a delivery for the webhook configured for a GitHub App. - * - * You must use a [JWT](https://docs.github.com/apps/building-github-apps/authenticating-with-github-apps/#authenticating-as-a-github-app) to access this endpoint. - */ - "apps/redeliver-webhook-delivery": { - parameters: { - path: { - delivery_id: components["parameters"]["delivery-id"]; - }; - }; - responses: { - 202: components["responses"]["accepted"]; - 400: components["responses"]["bad_request"]; - 422: components["responses"]["validation_failed"]; - }; - }; - /** - * You must use a [JWT](https://docs.github.com/apps/building-github-apps/authenticating-with-github-apps/#authenticating-as-a-github-app) to access this endpoint. - * - * The permissions the installation has are included under the `permissions` key. - */ - "apps/list-installations": { - parameters: { - query: { - /** Results per page (max 100) */ - per_page?: components["parameters"]["per-page"]; - /** Page number of the results to fetch. */ - page?: components["parameters"]["page"]; - /** Only show notifications updated after the given time. This is a timestamp in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) format: `YYYY-MM-DDTHH:MM:SSZ`. */ - since?: components["parameters"]["since"]; - outdated?: string; - }; - }; - responses: { - /** The permissions the installation has are included under the `permissions` key. */ - 200: { - headers: {}; - content: { - "application/json": components["schemas"]["installation"][]; - }; - }; - }; - }; - /** - * Enables an authenticated GitHub App to find an installation's information using the installation id. The installation's account type (`target_type`) will be either an organization or a user account, depending which account the repository belongs to. - * - * You must use a [JWT](https://docs.github.com/apps/building-github-apps/authenticating-with-github-apps/#authenticating-as-a-github-app) to access this endpoint. - */ - "apps/get-installation": { - parameters: { - path: { - /** installation_id parameter */ - installation_id: components["parameters"]["installation-id"]; - }; - }; - responses: { - /** Response */ - 200: { - content: { - "application/json": components["schemas"]["installation"]; - }; - }; - 404: components["responses"]["not_found"]; - 415: components["responses"]["preview_header_missing"]; - }; - }; - /** - * Uninstalls a GitHub App on a user, organization, or business account. If you prefer to temporarily suspend an app's access to your account's resources, then we recommend the "[Suspend an app installation](https://docs.github.com/rest/reference/apps/#suspend-an-app-installation)" endpoint. - * - * You must use a [JWT](https://docs.github.com/apps/building-github-apps/authenticating-with-github-apps/#authenticating-as-a-github-app) to access this endpoint. - */ - "apps/delete-installation": { - parameters: { - path: { - /** installation_id parameter */ - installation_id: components["parameters"]["installation-id"]; - }; - }; - responses: { - /** Response */ - 204: never; - 404: components["responses"]["not_found"]; - }; - }; - /** - * Creates an installation access token that enables a GitHub App to make authenticated API requests for the app's installation on an organization or individual account. Installation tokens expire one hour from the time you create them. Using an expired token produces a status code of `401 - Unauthorized`, and requires creating a new installation token. By default the installation token has access to all repositories that the installation can access. To restrict the access to specific repositories, you can provide the `repository_ids` when creating the token. When you omit `repository_ids`, the response does not contain the `repositories` key. - * - * You must use a [JWT](https://docs.github.com/apps/building-github-apps/authenticating-with-github-apps/#authenticating-as-a-github-app) to access this endpoint. - */ - "apps/create-installation-access-token": { - parameters: { - path: { - /** installation_id parameter */ - installation_id: components["parameters"]["installation-id"]; - }; - }; - responses: { - /** Response */ - 201: { - content: { - "application/json": components["schemas"]["installation-token"]; - }; - }; - 401: components["responses"]["requires_authentication"]; - 403: components["responses"]["forbidden"]; - 404: components["responses"]["not_found"]; - 415: components["responses"]["preview_header_missing"]; - 422: components["responses"]["validation_failed"]; - }; - requestBody: { - content: { - "application/json": { - /** List of repository names that the token should have access to */ - repositories?: string[]; - /** List of repository IDs that the token should have access to */ - repository_ids?: number[]; - permissions?: components["schemas"]["app-permissions"]; - }; - }; - }; - }; - /** - * Suspends a GitHub App on a user, organization, or business account, which blocks the app from accessing the account's resources. When a GitHub App is suspended, the app's access to the GitHub API or webhook events is blocked for that account. - * - * You must use a [JWT](https://docs.github.com/apps/building-github-apps/authenticating-with-github-apps/#authenticating-as-a-github-app) to access this endpoint. - */ - "apps/suspend-installation": { - parameters: { - path: { - /** installation_id parameter */ - installation_id: components["parameters"]["installation-id"]; - }; - }; - responses: { - /** Response */ - 204: never; - 404: components["responses"]["not_found"]; - }; - }; - /** - * Removes a GitHub App installation suspension. - * - * You must use a [JWT](https://docs.github.com/apps/building-github-apps/authenticating-with-github-apps/#authenticating-as-a-github-app) to access this endpoint. - */ - "apps/unsuspend-installation": { - parameters: { - path: { - /** installation_id parameter */ - installation_id: components["parameters"]["installation-id"]; - }; - }; - responses: { - /** Response */ - 204: never; - 404: components["responses"]["not_found"]; - }; - }; - /** - * **Deprecation Notice:** GitHub will discontinue the [OAuth Authorizations API](https://docs.github.com/rest/reference/oauth-authorizations/), which is used by integrations to create personal access tokens and OAuth tokens, and you must now create these tokens using our [web application flow](https://docs.github.com/developers/apps/authorizing-oauth-apps#web-application-flow). The [OAuth Authorizations API](https://docs.github.com/rest/reference/oauth-authorizations) will be removed on November, 13, 2020. For more information, including scheduled brownouts, see the [blog post](https://developer.github.com/changes/2020-02-14-deprecating-oauth-auth-endpoint/). - * - * You can use this API to list the set of OAuth applications that have been granted access to your account. Unlike the [list your authorizations](https://docs.github.com/rest/reference/oauth-authorizations#list-your-authorizations) API, this API does not manage individual tokens. This API will return one entry for each OAuth application that has been granted access to your account, regardless of the number of tokens an application has generated for your user. The list of OAuth applications returned matches what is shown on [the application authorizations settings screen within GitHub](https://github.com/settings/applications#authorized). The `scopes` returned are the union of scopes authorized for the application. For example, if an application has one token with `repo` scope and another token with `user` scope, the grant will return `["repo", "user"]`. - */ - "oauth-authorizations/list-grants": { - parameters: { - query: { - /** Results per page (max 100) */ - per_page?: components["parameters"]["per-page"]; - /** Page number of the results to fetch. */ - page?: components["parameters"]["page"]; - /** The client ID of your GitHub app. */ - client_id?: string; - }; - }; - responses: { - /** Response */ - 200: { - headers: {}; - content: { - "application/json": components["schemas"]["application-grant"][]; - }; - }; - 304: components["responses"]["not_modified"]; - 401: components["responses"]["requires_authentication"]; - 403: components["responses"]["forbidden"]; - 404: components["responses"]["not_found"]; - }; - }; - /** **Deprecation Notice:** GitHub will discontinue the [OAuth Authorizations API](https://docs.github.com/rest/reference/oauth-authorizations), which is used by integrations to create personal access tokens and OAuth tokens, and you must now create these tokens using our [web application flow](https://docs.github.com/apps/building-oauth-apps/authorizing-oauth-apps/#web-application-flow). The [OAuth Authorizations API](https://docs.github.com/rest/reference/oauth-authorizations) will be removed on November, 13, 2020. For more information, including scheduled brownouts, see the [blog post](https://developer.github.com/changes/2020-02-14-deprecating-oauth-auth-endpoint/). */ - "oauth-authorizations/get-grant": { - parameters: { - path: { - /** grant_id parameter */ - grant_id: components["parameters"]["grant-id"]; - }; - }; - responses: { - /** Response */ - 200: { - content: { - "application/json": components["schemas"]["application-grant"]; - }; - }; - 304: components["responses"]["not_modified"]; - 401: components["responses"]["requires_authentication"]; - 403: components["responses"]["forbidden"]; - }; - }; - /** - * **Deprecation Notice:** GitHub will discontinue the [OAuth Authorizations API](https://docs.github.com/rest/reference/oauth-authorizations/), which is used by integrations to create personal access tokens and OAuth tokens, and you must now create these tokens using our [web application flow](https://docs.github.com/developers/apps/authorizing-oauth-apps#web-application-flow). The [OAuth Authorizations API](https://docs.github.com/rest/reference/oauth-authorizations/) will be removed on November, 13, 2020. For more information, including scheduled brownouts, see the [blog post](https://developer.github.com/changes/2020-02-14-deprecating-oauth-auth-endpoint/). - * - * Deleting an OAuth application's grant will also delete all OAuth tokens associated with the application for your user. Once deleted, the application has no access to your account and is no longer listed on [the application authorizations settings screen within GitHub](https://github.com/settings/applications#authorized). - */ - "oauth-authorizations/delete-grant": { - parameters: { - path: { - /** grant_id parameter */ - grant_id: components["parameters"]["grant-id"]; - }; - }; - responses: { - /** Response */ - 204: never; - 304: components["responses"]["not_modified"]; - 401: components["responses"]["requires_authentication"]; - 403: components["responses"]["forbidden"]; - }; - }; - /** - * OAuth application owners can revoke a grant for their OAuth application and a specific user. You must use [Basic Authentication](https://docs.github.com/rest/overview/other-authentication-methods#basic-authentication) when accessing this endpoint, using the OAuth application's `client_id` and `client_secret` as the username and password. You must also provide a valid OAuth `access_token` as an input parameter and the grant for the token's owner will be deleted. - * Deleting an OAuth application's grant will also delete all OAuth tokens associated with the application for the user. Once deleted, the application will have no access to the user's account and will no longer be listed on [the application authorizations settings screen within GitHub](https://github.com/settings/applications#authorized). - */ - "apps/delete-authorization": { - parameters: { - path: { - /** The client ID of your GitHub app. */ - client_id: components["parameters"]["client-id"]; - }; - }; - responses: { - /** Response */ - 204: never; - 422: components["responses"]["validation_failed"]; - }; - requestBody: { - content: { - "application/json": { - /** The OAuth access token used to authenticate to the GitHub API. */ - access_token?: string; - }; - }; - }; - }; - /** - * **Deprecation Notice:** GitHub will discontinue OAuth endpoints that contain `access_token` in the path parameter. We have introduced new endpoints that allow you to securely manage tokens for OAuth Apps by moving `access_token` to the request body. For more information, see the [blog post](https://developer.github.com/changes/2020-02-14-deprecating-oauth-app-endpoint/). - * - * OAuth application owners can revoke a grant for their OAuth application and a specific user. You must use [Basic Authentication](https://docs.github.com/rest/overview/other-authentication-methods#basic-authentication) when accessing this endpoint, using the OAuth application's `client_id` and `client_secret` as the username and password. You must also provide a valid token as `:access_token` and the grant for the token's owner will be deleted. - * - * Deleting an OAuth application's grant will also delete all OAuth tokens associated with the application for the user. Once deleted, the application will have no access to the user's account and will no longer be listed on [the Applications settings page under "Authorized OAuth Apps" on GitHub](https://github.com/settings/applications#authorized). - */ - "apps/revoke-grant-for-application": { - parameters: { - path: { - /** The client ID of your GitHub app. */ - client_id: components["parameters"]["client-id"]; - access_token: components["parameters"]["access-token"]; - }; - }; - responses: { - /** Response */ - 204: never; - }; - }; - /** OAuth applications can use a special API method for checking OAuth token validity without exceeding the normal rate limits for failed login attempts. Authentication works differently with this particular endpoint. You must use [Basic Authentication](https://docs.github.com/rest/overview/other-authentication-methods#basic-authentication) to use this endpoint, where the username is the OAuth application `client_id` and the password is its `client_secret`. Invalid tokens will return `404 NOT FOUND`. */ - "apps/check-token": { - parameters: { - path: { - /** The client ID of your GitHub app. */ - client_id: components["parameters"]["client-id"]; - }; - }; - responses: { - /** Response */ - 200: { - content: { - "application/json": components["schemas"]["authorization"]; - }; - }; - 404: components["responses"]["not_found"]; - 422: components["responses"]["validation_failed"]; - }; - requestBody: { - content: { - "application/json": { - /** The access_token of the OAuth application. */ - access_token: string; - }; - }; - }; - }; - /** OAuth application owners can revoke a single token for an OAuth application. You must use [Basic Authentication](https://docs.github.com/rest/overview/other-authentication-methods#basic-authentication) when accessing this endpoint, using the OAuth application's `client_id` and `client_secret` as the username and password. */ - "apps/delete-token": { - parameters: { - path: { - /** The client ID of your GitHub app. */ - client_id: components["parameters"]["client-id"]; - }; - }; - responses: { - /** Response */ - 204: never; - 422: components["responses"]["validation_failed"]; - }; - requestBody: { - content: { - "application/json": { - /** The OAuth access token used to authenticate to the GitHub API. */ - access_token: string; - }; - }; - }; - }; - /** OAuth applications can use this API method to reset a valid OAuth token without end-user involvement. Applications must save the "token" property in the response because changes take effect immediately. You must use [Basic Authentication](https://docs.github.com/rest/overview/other-authentication-methods#basic-authentication) when accessing this endpoint, using the OAuth application's `client_id` and `client_secret` as the username and password. Invalid tokens will return `404 NOT FOUND`. */ - "apps/reset-token": { - parameters: { - path: { - /** The client ID of your GitHub app. */ - client_id: components["parameters"]["client-id"]; - }; - }; - responses: { - /** Response */ - 200: { - content: { - "application/json": components["schemas"]["authorization"]; - }; - }; - 422: components["responses"]["validation_failed"]; - }; - requestBody: { - content: { - "application/json": { - /** The access_token of the OAuth application. */ - access_token: string; - }; - }; - }; - }; - /** Use a non-scoped user-to-server OAuth access token to create a repository scoped and/or permission scoped user-to-server OAuth access token. You can specify which repositories the token can access and which permissions are granted to the token. You must use [Basic Authentication](https://docs.github.com/rest/overview/other-authentication-methods#basic-authentication) when accessing this endpoint, using the OAuth application's `client_id` and `client_secret` as the username and password. Invalid tokens will return `404 NOT FOUND`. */ - "apps/scope-token": { - parameters: { - path: { - /** The client ID of your GitHub app. */ - client_id: components["parameters"]["client-id"]; - }; - }; - responses: { - /** Response */ - 200: { - content: { - "application/json": components["schemas"]["authorization"]; - }; - }; - 401: components["responses"]["requires_authentication"]; - 403: components["responses"]["forbidden"]; - 404: components["responses"]["not_found"]; - 422: components["responses"]["validation_failed"]; - }; - requestBody: { - content: { - "application/json": { - /** The OAuth access token used to authenticate to the GitHub API. */ - access_token: string; - /** The name of the user or organization to scope the user-to-server access token to. **Required** unless `target_id` is specified. */ - target?: string; - /** The ID of the user or organization to scope the user-to-server access token to. **Required** unless `target` is specified. */ - target_id?: number; - /** The list of repository names to scope the user-to-server access token to. `repositories` may not be specified if `repository_ids` is specified. */ - repositories?: string[]; - /** The list of repository IDs to scope the user-to-server access token to. `repository_ids` may not be specified if `repositories` is specified. */ - repository_ids?: number[]; - permissions?: components["schemas"]["app-permissions"]; - }; - }; - }; - }; - /** - * **Deprecation Notice:** GitHub will discontinue OAuth endpoints that contain `access_token` in the path parameter. We have introduced new endpoints that allow you to securely manage tokens for OAuth Apps by moving `access_token` to the request body. For more information, see the [blog post](https://developer.github.com/changes/2020-02-14-deprecating-oauth-app-endpoint/). - * - * OAuth applications can use a special API method for checking OAuth token validity without exceeding the normal rate limits for failed login attempts. Authentication works differently with this particular endpoint. You must use [Basic Authentication](https://docs.github.com/rest/overview/other-authentication-methods#basic-authentication) when accessing this endpoint, using the OAuth application's `client_id` and `client_secret` as the username and password. Invalid tokens will return `404 NOT FOUND`. - */ - "apps/check-authorization": { - parameters: { - path: { - /** The client ID of your GitHub app. */ - client_id: components["parameters"]["client-id"]; - access_token: components["parameters"]["access-token"]; - }; - }; - responses: { - /** Response */ - 200: { - content: { - "application/json": components["schemas"]["authorization"] | null; - }; - }; - 404: components["responses"]["not_found"]; - }; - }; - /** - * **Deprecation Notice:** GitHub will discontinue OAuth endpoints that contain `access_token` in the path parameter. We have introduced new endpoints that allow you to securely manage tokens for OAuth Apps by moving `access_token` to the request body. For more information, see the [blog post](https://developer.github.com/changes/2020-02-14-deprecating-oauth-app-endpoint/). - * - * OAuth applications can use this API method to reset a valid OAuth token without end-user involvement. Applications must save the "token" property in the response because changes take effect immediately. You must use [Basic Authentication](https://docs.github.com/rest/overview/other-authentication-methods#basic-authentication) when accessing this endpoint, using the OAuth application's `client_id` and `client_secret` as the username and password. Invalid tokens will return `404 NOT FOUND`. - */ - "apps/reset-authorization": { - parameters: { - path: { - /** The client ID of your GitHub app. */ - client_id: components["parameters"]["client-id"]; - access_token: components["parameters"]["access-token"]; - }; - }; - responses: { - /** Response */ - 200: { - content: { - "application/json": components["schemas"]["authorization"]; - }; - }; - }; - }; - /** - * **Deprecation Notice:** GitHub will discontinue OAuth endpoints that contain `access_token` in the path parameter. We have introduced new endpoints that allow you to securely manage tokens for OAuth Apps by moving `access_token` to the request body. For more information, see the [blog post](https://developer.github.com/changes/2020-02-14-deprecating-oauth-app-endpoint/). - * - * OAuth application owners can revoke a single token for an OAuth application. You must use [Basic Authentication](https://docs.github.com/rest/overview/other-authentication-methods#basic-authentication) when accessing this endpoint, using the OAuth application's `client_id` and `client_secret` as the username and password. - */ - "apps/revoke-authorization-for-application": { - parameters: { - path: { - /** The client ID of your GitHub app. */ - client_id: components["parameters"]["client-id"]; - access_token: components["parameters"]["access-token"]; - }; - }; - responses: { - /** Response */ - 204: never; - }; - }; - /** - * **Note**: The `:app_slug` is just the URL-friendly name of your GitHub App. You can find this on the settings page for your GitHub App (e.g., `https://github.com/settings/apps/:app_slug`). - * - * If the GitHub App you specify is public, you can access this endpoint without authenticating. If the GitHub App you specify is private, you must authenticate with a [personal access token](https://help.github.com/articles/creating-a-personal-access-token-for-the-command-line/) or an [installation access token](https://docs.github.com/apps/building-github-apps/authenticating-with-github-apps/#authenticating-as-an-installation) to access this endpoint. - */ - "apps/get-by-slug": { - parameters: { - path: { - app_slug: components["parameters"]["app-slug"]; - }; - }; - responses: { - /** Response */ - 200: { - content: { - "application/json": components["schemas"]["integration"]; - }; - }; - 403: components["responses"]["forbidden"]; - 404: components["responses"]["not_found"]; - 415: components["responses"]["preview_header_missing"]; - }; - }; - /** **Deprecation Notice:** GitHub will discontinue the [OAuth Authorizations API](https://docs.github.com/rest/reference/oauth-authorizations), which is used by integrations to create personal access tokens and OAuth tokens, and you must now create these tokens using our [web application flow](https://docs.github.com/apps/building-oauth-apps/authorizing-oauth-apps/#web-application-flow). The [OAuth Authorizations API](https://docs.github.com/rest/reference/oauth-authorizations) will be removed on November, 13, 2020. For more information, including scheduled brownouts, see the [blog post](https://developer.github.com/changes/2020-02-14-deprecating-oauth-auth-endpoint/). */ - "oauth-authorizations/list-authorizations": { - parameters: { - query: { - /** Results per page (max 100) */ - per_page?: components["parameters"]["per-page"]; - /** Page number of the results to fetch. */ - page?: components["parameters"]["page"]; - /** The client ID of your GitHub app. */ - client_id?: string; - }; - }; - responses: { - /** Response */ - 200: { - headers: {}; - content: { - "application/json": components["schemas"]["authorization"][]; - }; - }; - 304: components["responses"]["not_modified"]; - 401: components["responses"]["requires_authentication"]; - 403: components["responses"]["forbidden"]; - 404: components["responses"]["not_found"]; - }; - }; - /** - * **Deprecation Notice:** GitHub will discontinue the [OAuth Authorizations API](https://docs.github.com/rest/reference/oauth-authorizations), which is used by integrations to create personal access tokens and OAuth tokens, and you must now create these tokens using our [web application flow](https://docs.github.com/developers/apps/authorizing-oauth-apps#web-application-flow). The [OAuth Authorizations API](https://docs.github.com/rest/reference/oauth-authorizations) will be removed on November, 13, 2020. For more information, including scheduled brownouts, see the [blog post](https://developer.github.com/changes/2020-02-14-deprecating-oauth-auth-endpoint/). - * - * **Warning:** Apps must use the [web application flow](https://docs.github.com/apps/building-oauth-apps/authorizing-oauth-apps/#web-application-flow) to obtain OAuth tokens that work with GitHub SAML organizations. OAuth tokens created using the Authorizations API will be unable to access GitHub SAML organizations. For more information, see the [blog post](https://developer.github.com/changes/2019-11-05-deprecated-passwords-and-authorizations-api). - * - * Creates OAuth tokens using [Basic Authentication](https://docs.github.com/rest/overview/other-authentication-methods#basic-authentication). If you have two-factor authentication setup, Basic Authentication for this endpoint requires that you use a one-time password (OTP) and your username and password instead of tokens. For more information, see "[Working with two-factor authentication](https://docs.github.com/rest/overview/other-authentication-methods#working-with-two-factor-authentication)." - * - * To create tokens for a particular OAuth application using this endpoint, you must authenticate as the user you want to create an authorization for and provide the app's client ID and secret, found on your OAuth application's settings page. If your OAuth application intends to create multiple tokens for one user, use `fingerprint` to differentiate between them. - * - * You can also create tokens on GitHub from the [personal access tokens settings](https://github.com/settings/tokens) page. Read more about these tokens in [the GitHub Help documentation](https://help.github.com/articles/creating-an-access-token-for-command-line-use). - * - * Organizations that enforce SAML SSO require personal access tokens to be allowed. Read more about allowing tokens in [the GitHub Help documentation](https://help.github.com/articles/about-identity-and-access-management-with-saml-single-sign-on). - */ - "oauth-authorizations/create-authorization": { - parameters: {}; - responses: { - /** Response */ - 201: { - headers: { - Location?: string; - }; - content: { - "application/json": components["schemas"]["authorization"]; - }; - }; - 304: components["responses"]["not_modified"]; - 401: components["responses"]["requires_authentication"]; - 403: components["responses"]["forbidden"]; - 410: components["responses"]["gone"]; - 422: components["responses"]["validation_failed"]; - }; - requestBody: { - content: { - "application/json": { - /** A list of scopes that this authorization is in. */ - scopes?: string[] | null; - /** A note to remind you what the OAuth token is for. */ - note?: string; - /** A URL to remind you what app the OAuth token is for. */ - note_url?: string; - /** The OAuth app client key for which to create the token. */ - client_id?: string; - /** The OAuth app client secret for which to create the token. */ - client_secret?: string; - /** A unique string to distinguish an authorization from others created for the same client ID and user. */ - fingerprint?: string; - }; - }; - }; - }; - /** - * **Deprecation Notice:** GitHub will discontinue the [OAuth Authorizations API](https://docs.github.com/rest/reference/oauth-authorizations/), which is used by integrations to create personal access tokens and OAuth tokens, and you must now create these tokens using our [web application flow](https://docs.github.com/developers/apps/authorizing-oauth-apps#web-application-flow). The [OAuth Authorizations API](https://docs.github.com/rest/reference/oauth-authorizations) will be removed on November, 13, 2020. For more information, including scheduled brownouts, see the [blog post](https://developer.github.com/changes/2020-02-14-deprecating-oauth-auth-endpoint/). - * - * **Warning:** Apps must use the [web application flow](https://docs.github.com/apps/building-oauth-apps/authorizing-oauth-apps/#web-application-flow) to obtain OAuth tokens that work with GitHub SAML organizations. OAuth tokens created using the Authorizations API will be unable to access GitHub SAML organizations. For more information, see the [blog post](https://developer.github.com/changes/2019-11-05-deprecated-passwords-and-authorizations-api). - * - * Creates a new authorization for the specified OAuth application, only if an authorization for that application doesn't already exist for the user. The URL includes the 20 character client ID for the OAuth app that is requesting the token. It returns the user's existing authorization for the application if one is present. Otherwise, it creates and returns a new one. - * - * If you have two-factor authentication setup, Basic Authentication for this endpoint requires that you use a one-time password (OTP) and your username and password instead of tokens. For more information, see "[Working with two-factor authentication](https://docs.github.com/rest/overview/other-authentication-methods#working-with-two-factor-authentication)." - * - * **Deprecation Notice:** GitHub will discontinue the [OAuth Authorizations API](https://docs.github.com/rest/reference/oauth-authorizations/), which is used by integrations to create personal access tokens and OAuth tokens, and you must now create these tokens using our [web application flow](https://docs.github.com/developers/apps/authorizing-oauth-apps#web-application-flow). The [OAuth Authorizations API](https://docs.github.com/rest/reference/oauth-authorizations) will be removed on November, 13, 2020. For more information, including scheduled brownouts, see the [blog post](https://developer.github.com/changes/2020-02-14-deprecating-oauth-auth-endpoint/). - */ - "oauth-authorizations/get-or-create-authorization-for-app": { - parameters: { - path: { - /** The client ID of your GitHub app. */ - client_id: components["parameters"]["client-id"]; - }; - }; - responses: { - /** if returning an existing token */ - 200: { - headers: { - Location?: string; - }; - content: { - "application/json": components["schemas"]["authorization"]; - }; - }; - /** **Deprecation Notice:** GitHub will discontinue the [OAuth Authorizations API](https://docs.github.com/rest/reference/oauth-authorizations), which is used by integrations to create personal access tokens and OAuth tokens, and you must now create these tokens using our [web application flow](https://docs.github.com/apps/building-oauth-apps/authorizing-oauth-apps/#web-application-flow). The [OAuth Authorizations API](https://docs.github.com/rest/reference/oauth-authorizations) will be removed on November, 13, 2020. For more information, including scheduled brownouts, see the [blog post](https://developer.github.com/changes/2020-02-14-deprecating-oauth-auth-endpoint/). */ - 201: { - headers: { - Location?: string; - }; - content: { - "application/json": components["schemas"]["authorization"]; - }; - }; - 304: components["responses"]["not_modified"]; - 401: components["responses"]["requires_authentication"]; - 403: components["responses"]["forbidden"]; - 422: components["responses"]["validation_failed"]; - }; - requestBody: { - content: { - "application/json": { - /** The OAuth app client secret for which to create the token. */ - client_secret: string; - /** A list of scopes that this authorization is in. */ - scopes?: string[] | null; - /** A note to remind you what the OAuth token is for. */ - note?: string; - /** A URL to remind you what app the OAuth token is for. */ - note_url?: string; - /** A unique string to distinguish an authorization from others created for the same client ID and user. */ - fingerprint?: string; - }; - }; - }; - }; - /** - * **Deprecation Notice:** GitHub will discontinue the [OAuth Authorizations API](https://docs.github.com/rest/reference/oauth-authorizations/), which is used by integrations to create personal access tokens and OAuth tokens, and you must now create these tokens using our [web application flow](https://docs.github.com/developers/apps/authorizing-oauth-apps#web-application-flow). The [OAuth Authorizations API](https://docs.github.com/rest/reference/oauth-authorizations) will be removed on November, 13, 2020. For more information, including scheduled brownouts, see the [blog post](https://developer.github.com/changes/2020-02-14-deprecating-oauth-auth-endpoint/). - * - * **Warning:** Apps must use the [web application flow](https://docs.github.com/apps/building-oauth-apps/authorizing-oauth-apps/#web-application-flow) to obtain OAuth tokens that work with GitHub SAML organizations. OAuth tokens created using the Authorizations API will be unable to access GitHub SAML organizations. For more information, see the [blog post](https://developer.github.com/changes/2019-11-05-deprecated-passwords-and-authorizations-api). - * - * This method will create a new authorization for the specified OAuth application, only if an authorization for that application and fingerprint do not already exist for the user. The URL includes the 20 character client ID for the OAuth app that is requesting the token. `fingerprint` is a unique string to distinguish an authorization from others created for the same client ID and user. It returns the user's existing authorization for the application if one is present. Otherwise, it creates and returns a new one. - * - * If you have two-factor authentication setup, Basic Authentication for this endpoint requires that you use a one-time password (OTP) and your username and password instead of tokens. For more information, see "[Working with two-factor authentication](https://docs.github.com/rest/overview/other-authentication-methods#working-with-two-factor-authentication)." - */ - "oauth-authorizations/get-or-create-authorization-for-app-and-fingerprint": { - parameters: { - path: { - /** The client ID of your GitHub app. */ - client_id: components["parameters"]["client-id"]; - fingerprint: string; - }; - }; - responses: { - /** if returning an existing token */ - 200: { - headers: { - Location?: string; - }; - content: { - "application/json": components["schemas"]["authorization"]; - }; - }; - /** Response if returning a new token */ - 201: { - headers: { - Location?: string; - }; - content: { - "application/json": components["schemas"]["authorization"]; - }; - }; - 422: components["responses"]["validation_failed"]; - }; - requestBody: { - content: { - "application/json": { - /** The OAuth app client secret for which to create the token. */ - client_secret: string; - /** A list of scopes that this authorization is in. */ - scopes?: string[] | null; - /** A note to remind you what the OAuth token is for. */ - note?: string; - /** A URL to remind you what app the OAuth token is for. */ - note_url?: string; - }; - }; - }; - }; - /** **Deprecation Notice:** GitHub will discontinue the [OAuth Authorizations API](https://docs.github.com/rest/reference/oauth-authorizations), which is used by integrations to create personal access tokens and OAuth tokens, and you must now create these tokens using our [web application flow](https://docs.github.com/apps/building-oauth-apps/authorizing-oauth-apps/#web-application-flow). The [OAuth Authorizations API](https://docs.github.com/rest/reference/oauth-authorizations) will be removed on November, 13, 2020. For more information, including scheduled brownouts, see the [blog post](https://developer.github.com/changes/2020-02-14-deprecating-oauth-auth-endpoint/). */ - "oauth-authorizations/get-authorization": { - parameters: { - path: { - /** authorization_id parameter */ - authorization_id: components["parameters"]["authorization-id"]; - }; - }; - responses: { - /** Response */ - 200: { - content: { - "application/json": components["schemas"]["authorization"]; - }; - }; - 304: components["responses"]["not_modified"]; - 401: components["responses"]["requires_authentication"]; - 403: components["responses"]["forbidden"]; - }; - }; - /** **Deprecation Notice:** GitHub will discontinue the [OAuth Authorizations API](https://docs.github.com/rest/reference/oauth-authorizations), which is used by integrations to create personal access tokens and OAuth tokens, and you must now create these tokens using our [web application flow](https://docs.github.com/apps/building-oauth-apps/authorizing-oauth-apps/#web-application-flow). The [OAuth Authorizations API](https://docs.github.com/rest/reference/oauth-authorizations) will be removed on November, 13, 2020. For more information, including scheduled brownouts, see the [blog post](https://developer.github.com/changes/2020-02-14-deprecating-oauth-auth-endpoint/). */ - "oauth-authorizations/delete-authorization": { - parameters: { - path: { - /** authorization_id parameter */ - authorization_id: components["parameters"]["authorization-id"]; - }; - }; - responses: { - /** Response */ - 204: never; - 304: components["responses"]["not_modified"]; - 401: components["responses"]["requires_authentication"]; - 403: components["responses"]["forbidden"]; - }; - }; - /** - * **Deprecation Notice:** GitHub will discontinue the [OAuth Authorizations API](https://docs.github.com/rest/reference/oauth-authorizations/), which is used by integrations to create personal access tokens and OAuth tokens, and you must now create these tokens using our [web application flow](https://docs.github.com/developers/apps/authorizing-oauth-apps#web-application-flow). The [OAuth Authorizations API](https://docs.github.com/rest/reference/oauth-authorizations) will be removed on November, 13, 2020. For more information, including scheduled brownouts, see the [blog post](https://developer.github.com/changes/2020-02-14-deprecating-oauth-auth-endpoint/). - * - * If you have two-factor authentication setup, Basic Authentication for this endpoint requires that you use a one-time password (OTP) and your username and password instead of tokens. For more information, see "[Working with two-factor authentication](https://docs.github.com/rest/overview/other-authentication-methods#working-with-two-factor-authentication)." - * - * You can only send one of these scope keys at a time. - */ - "oauth-authorizations/update-authorization": { - parameters: { - path: { - /** authorization_id parameter */ - authorization_id: components["parameters"]["authorization-id"]; - }; - }; - responses: { - /** Response */ - 200: { - content: { - "application/json": components["schemas"]["authorization"]; - }; - }; - 422: components["responses"]["validation_failed"]; - }; - requestBody: { - content: { - "application/json": { - /** A list of scopes that this authorization is in. */ - scopes?: string[] | null; - /** A list of scopes to add to this authorization. */ - add_scopes?: string[]; - /** A list of scopes to remove from this authorization. */ - remove_scopes?: string[]; - /** A note to remind you what the OAuth token is for. */ - note?: string; - /** A URL to remind you what app the OAuth token is for. */ - note_url?: string; - /** A unique string to distinguish an authorization from others created for the same client ID and user. */ - fingerprint?: string; - }; - }; - }; - }; - "codes-of-conduct/get-all-codes-of-conduct": { - parameters: {}; - responses: { - /** Response */ - 200: { - content: { - "application/json": components["schemas"]["code-of-conduct"][]; - }; - }; - 304: components["responses"]["not_modified"]; - }; - }; - "codes-of-conduct/get-conduct-code": { - parameters: { - path: { - key: string; - }; - }; - responses: { - /** Response */ - 200: { - content: { - "application/json": components["schemas"]["code-of-conduct"]; - }; - }; - 304: components["responses"]["not_modified"]; - 404: components["responses"]["not_found"]; - }; - }; - /** Lists all the emojis available to use on GitHub. */ - "emojis/get": { - parameters: {}; - responses: { - /** Response */ - 200: { - content: { - "application/json": { [key: string]: string }; - }; - }; - 304: components["responses"]["not_modified"]; - }; - }; - /** - * Gets the GitHub Actions permissions policy for organizations and allowed actions in an enterprise. - * - * You must authenticate using an access token with the `admin:enterprise` scope to use this endpoint. - */ - "enterprise-admin/get-github-actions-permissions-enterprise": { - parameters: { - path: { - /** The slug version of the enterprise name. You can also substitute this value with the enterprise id. */ - enterprise: components["parameters"]["enterprise"]; - }; - }; - responses: { - /** Response */ - 200: { - content: { - "application/json": components["schemas"]["actions-enterprise-permissions"]; - }; - }; - }; - }; - /** - * Sets the GitHub Actions permissions policy for organizations and allowed actions in an enterprise. - * - * You must authenticate using an access token with the `admin:enterprise` scope to use this endpoint. - */ - "enterprise-admin/set-github-actions-permissions-enterprise": { - parameters: { - path: { - /** The slug version of the enterprise name. You can also substitute this value with the enterprise id. */ - enterprise: components["parameters"]["enterprise"]; - }; - }; - responses: { - /** Response */ - 204: never; - }; - requestBody: { - content: { - "application/json": { - enabled_organizations: components["schemas"]["enabled-organizations"]; - allowed_actions?: components["schemas"]["allowed-actions"]; - }; - }; - }; - }; - /** - * Lists the organizations that are selected to have GitHub Actions enabled in an enterprise. To use this endpoint, the enterprise permission policy for `enabled_organizations` must be configured to `selected`. For more information, see "[Set GitHub Actions permissions for an enterprise](#set-github-actions-permissions-for-an-enterprise)." - * - * You must authenticate using an access token with the `admin:enterprise` scope to use this endpoint. - */ - "enterprise-admin/list-selected-organizations-enabled-github-actions-enterprise": { - parameters: { - path: { - /** The slug version of the enterprise name. You can also substitute this value with the enterprise id. */ - enterprise: components["parameters"]["enterprise"]; - }; - query: { - /** Results per page (max 100) */ - per_page?: components["parameters"]["per-page"]; - /** Page number of the results to fetch. */ - page?: components["parameters"]["page"]; - }; - }; - responses: { - /** Response */ - 200: { - content: { - "application/json": { - total_count: number; - organizations: components["schemas"]["organization-simple"][]; - }; - }; - }; - }; - }; - /** - * Replaces the list of selected organizations that are enabled for GitHub Actions in an enterprise. To use this endpoint, the enterprise permission policy for `enabled_organizations` must be configured to `selected`. For more information, see "[Set GitHub Actions permissions for an enterprise](#set-github-actions-permissions-for-an-enterprise)." - * - * You must authenticate using an access token with the `admin:enterprise` scope to use this endpoint. - */ - "enterprise-admin/set-selected-organizations-enabled-github-actions-enterprise": { - parameters: { - path: { - /** The slug version of the enterprise name. You can also substitute this value with the enterprise id. */ - enterprise: components["parameters"]["enterprise"]; - }; - }; - responses: { - /** Response */ - 204: never; - }; - requestBody: { - content: { - "application/json": { - /** List of organization IDs to enable for GitHub Actions. */ - selected_organization_ids: number[]; - }; - }; - }; - }; - /** - * Adds an organization to the list of selected organizations that are enabled for GitHub Actions in an enterprise. To use this endpoint, the enterprise permission policy for `enabled_organizations` must be configured to `selected`. For more information, see "[Set GitHub Actions permissions for an enterprise](#set-github-actions-permissions-for-an-enterprise)." - * - * You must authenticate using an access token with the `admin:enterprise` scope to use this endpoint. - */ - "enterprise-admin/enable-selected-organization-github-actions-enterprise": { - parameters: { - path: { - /** The slug version of the enterprise name. You can also substitute this value with the enterprise id. */ - enterprise: components["parameters"]["enterprise"]; - /** Unique identifier of an organization. */ - org_id: components["parameters"]["org-id"]; - }; - }; - responses: { - /** Response */ - 204: never; - }; - }; - /** - * Removes an organization from the list of selected organizations that are enabled for GitHub Actions in an enterprise. To use this endpoint, the enterprise permission policy for `enabled_organizations` must be configured to `selected`. For more information, see "[Set GitHub Actions permissions for an enterprise](#set-github-actions-permissions-for-an-enterprise)." - * - * You must authenticate using an access token with the `admin:enterprise` scope to use this endpoint. - */ - "enterprise-admin/disable-selected-organization-github-actions-enterprise": { - parameters: { - path: { - /** The slug version of the enterprise name. You can also substitute this value with the enterprise id. */ - enterprise: components["parameters"]["enterprise"]; - /** Unique identifier of an organization. */ - org_id: components["parameters"]["org-id"]; - }; - }; - responses: { - /** Response */ - 204: never; - }; - }; - /** - * Gets the selected actions that are allowed in an enterprise. To use this endpoint, the enterprise permission policy for `allowed_actions` must be configured to `selected`. For more information, see "[Set GitHub Actions permissions for an enterprise](#set-github-actions-permissions-for-an-enterprise)." - * - * You must authenticate using an access token with the `admin:enterprise` scope to use this endpoint. - */ - "enterprise-admin/get-allowed-actions-enterprise": { - parameters: { - path: { - /** The slug version of the enterprise name. You can also substitute this value with the enterprise id. */ - enterprise: components["parameters"]["enterprise"]; - }; - }; - responses: { - /** Response */ - 200: { - content: { - "application/json": components["schemas"]["selected-actions"]; - }; - }; - }; - }; - /** - * Sets the actions that are allowed in an enterprise. To use this endpoint, the enterprise permission policy for `allowed_actions` must be configured to `selected`. For more information, see "[Set GitHub Actions permissions for an enterprise](#set-github-actions-permissions-for-an-enterprise)." - * - * You must authenticate using an access token with the `admin:enterprise` scope to use this endpoint. - */ - "enterprise-admin/set-allowed-actions-enterprise": { - parameters: { - path: { - /** The slug version of the enterprise name. You can also substitute this value with the enterprise id. */ - enterprise: components["parameters"]["enterprise"]; - }; - }; - responses: { - /** Response */ - 204: never; - }; - requestBody: { - content: { - "application/json": components["schemas"]["selected-actions"]; - }; - }; - }; - /** - * Lists all self-hosted runner groups for an enterprise. - * - * You must authenticate using an access token with the `admin:enterprise` scope to use this endpoint. - */ - "enterprise-admin/list-self-hosted-runner-groups-for-enterprise": { - parameters: { - path: { - /** The slug version of the enterprise name. You can also substitute this value with the enterprise id. */ - enterprise: components["parameters"]["enterprise"]; - }; - query: { - /** Results per page (max 100) */ - per_page?: components["parameters"]["per-page"]; - /** Page number of the results to fetch. */ - page?: components["parameters"]["page"]; - }; - }; - responses: { - /** Response */ - 200: { - content: { - "application/json": { - total_count: number; - runner_groups: components["schemas"]["runner-groups-enterprise"][]; - }; - }; - }; - }; - }; - /** - * Creates a new self-hosted runner group for an enterprise. - * - * You must authenticate using an access token with the `admin:enterprise` scope to use this endpoint. - */ - "enterprise-admin/create-self-hosted-runner-group-for-enterprise": { - parameters: { - path: { - /** The slug version of the enterprise name. You can also substitute this value with the enterprise id. */ - enterprise: components["parameters"]["enterprise"]; - }; - }; - responses: { - /** Response */ - 201: { - content: { - "application/json": components["schemas"]["runner-groups-enterprise"]; - }; - }; - }; - requestBody: { - content: { - "application/json": { - /** Name of the runner group. */ - name: string; - /** Visibility of a runner group. You can select all organizations or select individual organization. Can be one of: `all` or `selected` */ - visibility?: "selected" | "all"; - /** List of organization IDs that can access the runner group. */ - selected_organization_ids?: number[]; - /** List of runner IDs to add to the runner group. */ - runners?: number[]; - }; - }; - }; - }; - /** - * Gets a specific self-hosted runner group for an enterprise. - * - * You must authenticate using an access token with the `admin:enterprise` scope to use this endpoint. - */ - "enterprise-admin/get-self-hosted-runner-group-for-enterprise": { - parameters: { - path: { - /** The slug version of the enterprise name. You can also substitute this value with the enterprise id. */ - enterprise: components["parameters"]["enterprise"]; - /** Unique identifier of the self-hosted runner group. */ - runner_group_id: components["parameters"]["runner-group-id"]; - }; - }; - responses: { - /** Response */ - 200: { - content: { - "application/json": components["schemas"]["runner-groups-enterprise"]; - }; - }; - }; - }; - /** - * Deletes a self-hosted runner group for an enterprise. - * - * You must authenticate using an access token with the `admin:enterprise` scope to use this endpoint. - */ - "enterprise-admin/delete-self-hosted-runner-group-from-enterprise": { - parameters: { - path: { - /** The slug version of the enterprise name. You can also substitute this value with the enterprise id. */ - enterprise: components["parameters"]["enterprise"]; - /** Unique identifier of the self-hosted runner group. */ - runner_group_id: components["parameters"]["runner-group-id"]; - }; - }; - responses: { - /** Response */ - 204: never; - }; - }; - /** - * Updates the `name` and `visibility` of a self-hosted runner group in an enterprise. - * - * You must authenticate using an access token with the `admin:enterprise` scope to use this endpoint. - */ - "enterprise-admin/update-self-hosted-runner-group-for-enterprise": { - parameters: { - path: { - /** The slug version of the enterprise name. You can also substitute this value with the enterprise id. */ - enterprise: components["parameters"]["enterprise"]; - /** Unique identifier of the self-hosted runner group. */ - runner_group_id: components["parameters"]["runner-group-id"]; - }; - }; - responses: { - /** Response */ - 200: { - content: { - "application/json": components["schemas"]["runner-groups-enterprise"]; - }; - }; - }; - requestBody: { - content: { - "application/json": { - /** Name of the runner group. */ - name?: string; - /** Visibility of a runner group. You can select all organizations or select individual organizations. Can be one of: `all` or `selected` */ - visibility?: "selected" | "all"; - }; - }; - }; - }; - /** - * Lists the organizations with access to a self-hosted runner group. - * - * You must authenticate using an access token with the `admin:enterprise` scope to use this endpoint. - */ - "enterprise-admin/list-org-access-to-self-hosted-runner-group-in-enterprise": { - parameters: { - path: { - /** The slug version of the enterprise name. You can also substitute this value with the enterprise id. */ - enterprise: components["parameters"]["enterprise"]; - /** Unique identifier of the self-hosted runner group. */ - runner_group_id: components["parameters"]["runner-group-id"]; - }; - query: { - /** Results per page (max 100) */ - per_page?: components["parameters"]["per-page"]; - /** Page number of the results to fetch. */ - page?: components["parameters"]["page"]; - }; - }; - responses: { - /** Response */ - 200: { - content: { - "application/json": { - total_count: number; - organizations: components["schemas"]["organization-simple"][]; - }; - }; - }; - }; - }; - /** - * Replaces the list of organizations that have access to a self-hosted runner configured in an enterprise. - * - * You must authenticate using an access token with the `admin:enterprise` scope to use this endpoint. - */ - "enterprise-admin/set-org-access-to-self-hosted-runner-group-in-enterprise": { - parameters: { - path: { - /** The slug version of the enterprise name. You can also substitute this value with the enterprise id. */ - enterprise: components["parameters"]["enterprise"]; - /** Unique identifier of the self-hosted runner group. */ - runner_group_id: components["parameters"]["runner-group-id"]; - }; - }; - responses: { - /** Response */ - 204: never; - }; - requestBody: { - content: { - "application/json": { - /** List of organization IDs that can access the runner group. */ - selected_organization_ids: number[]; - }; - }; - }; - }; - /** - * Adds an organization to the list of selected organizations that can access a self-hosted runner group. The runner group must have `visibility` set to `selected`. For more information, see "[Create a self-hosted runner group for an enterprise](#create-a-self-hosted-runner-group-for-an-enterprise)." - * - * You must authenticate using an access token with the `admin:enterprise` scope to use this endpoint. - */ - "enterprise-admin/add-org-access-to-self-hosted-runner-group-in-enterprise": { - parameters: { - path: { - /** The slug version of the enterprise name. You can also substitute this value with the enterprise id. */ - enterprise: components["parameters"]["enterprise"]; - /** Unique identifier of the self-hosted runner group. */ - runner_group_id: components["parameters"]["runner-group-id"]; - /** Unique identifier of an organization. */ - org_id: components["parameters"]["org-id"]; - }; - }; - responses: { - /** Response */ - 204: never; - }; - }; - /** - * Removes an organization from the list of selected organizations that can access a self-hosted runner group. The runner group must have `visibility` set to `selected`. For more information, see "[Create a self-hosted runner group for an enterprise](#create-a-self-hosted-runner-group-for-an-enterprise)." - * - * You must authenticate using an access token with the `admin:enterprise` scope to use this endpoint. - */ - "enterprise-admin/remove-org-access-to-self-hosted-runner-group-in-enterprise": { - parameters: { - path: { - /** The slug version of the enterprise name. You can also substitute this value with the enterprise id. */ - enterprise: components["parameters"]["enterprise"]; - /** Unique identifier of the self-hosted runner group. */ - runner_group_id: components["parameters"]["runner-group-id"]; - /** Unique identifier of an organization. */ - org_id: components["parameters"]["org-id"]; - }; - }; - responses: { - /** Response */ - 204: never; - }; - }; - /** - * Lists the self-hosted runners that are in a specific enterprise group. - * - * You must authenticate using an access token with the `admin:enterprise` scope to use this endpoint. - */ - "enterprise-admin/list-self-hosted-runners-in-group-for-enterprise": { - parameters: { - path: { - /** The slug version of the enterprise name. You can also substitute this value with the enterprise id. */ - enterprise: components["parameters"]["enterprise"]; - /** Unique identifier of the self-hosted runner group. */ - runner_group_id: components["parameters"]["runner-group-id"]; - }; - query: { - /** Results per page (max 100) */ - per_page?: components["parameters"]["per-page"]; - /** Page number of the results to fetch. */ - page?: components["parameters"]["page"]; - }; - }; - responses: { - /** Response */ - 200: { - headers: {}; - content: { - "application/json": { - total_count: number; - runners: components["schemas"]["runner"][]; - }; - }; - }; - }; - }; - /** - * Replaces the list of self-hosted runners that are part of an enterprise runner group. - * - * You must authenticate using an access token with the `admin:enterprise` scope to use this endpoint. - */ - "enterprise-admin/set-self-hosted-runners-in-group-for-enterprise": { - parameters: { - path: { - /** The slug version of the enterprise name. You can also substitute this value with the enterprise id. */ - enterprise: components["parameters"]["enterprise"]; - /** Unique identifier of the self-hosted runner group. */ - runner_group_id: components["parameters"]["runner-group-id"]; - }; - }; - responses: { - /** Response */ - 204: never; - }; - requestBody: { - content: { - "application/json": { - /** List of runner IDs to add to the runner group. */ - runners: number[]; - }; - }; - }; - }; - /** - * Adds a self-hosted runner to a runner group configured in an enterprise. - * - * You must authenticate using an access token with the `admin:enterprise` - * scope to use this endpoint. - */ - "enterprise-admin/add-self-hosted-runner-to-group-for-enterprise": { - parameters: { - path: { - /** The slug version of the enterprise name. You can also substitute this value with the enterprise id. */ - enterprise: components["parameters"]["enterprise"]; - /** Unique identifier of the self-hosted runner group. */ - runner_group_id: components["parameters"]["runner-group-id"]; - /** Unique identifier of the self-hosted runner. */ - runner_id: components["parameters"]["runner-id"]; - }; - }; - responses: { - /** Response */ - 204: never; - }; - }; - /** - * Removes a self-hosted runner from a group configured in an enterprise. The runner is then returned to the default group. - * - * You must authenticate using an access token with the `admin:enterprise` scope to use this endpoint. - */ - "enterprise-admin/remove-self-hosted-runner-from-group-for-enterprise": { - parameters: { - path: { - /** The slug version of the enterprise name. You can also substitute this value with the enterprise id. */ - enterprise: components["parameters"]["enterprise"]; - /** Unique identifier of the self-hosted runner group. */ - runner_group_id: components["parameters"]["runner-group-id"]; - /** Unique identifier of the self-hosted runner. */ - runner_id: components["parameters"]["runner-id"]; - }; - }; - responses: { - /** Response */ - 204: never; - }; - }; - /** - * Lists all self-hosted runners configured for an enterprise. - * - * You must authenticate using an access token with the `admin:enterprise` scope to use this endpoint. - */ - "enterprise-admin/list-self-hosted-runners-for-enterprise": { - parameters: { - path: { - /** The slug version of the enterprise name. You can also substitute this value with the enterprise id. */ - enterprise: components["parameters"]["enterprise"]; - }; - query: { - /** Results per page (max 100) */ - per_page?: components["parameters"]["per-page"]; - /** Page number of the results to fetch. */ - page?: components["parameters"]["page"]; - }; - }; - responses: { - /** Response */ - 200: { - headers: {}; - content: { - "application/json": { - total_count?: number; - runners?: components["schemas"]["runner"][]; - }; - }; - }; - }; - }; - /** - * Lists binaries for the runner application that you can download and run. - * - * You must authenticate using an access token with the `admin:enterprise` scope to use this endpoint. - */ - "enterprise-admin/list-runner-applications-for-enterprise": { - parameters: { - path: { - /** The slug version of the enterprise name. You can also substitute this value with the enterprise id. */ - enterprise: components["parameters"]["enterprise"]; - }; - }; - responses: { - /** Response */ - 200: { - content: { - "application/json": components["schemas"]["runner-application"][]; - }; - }; - }; - }; - /** - * Returns a token that you can pass to the `config` script. The token expires after one hour. - * - * You must authenticate using an access token with the `admin:enterprise` scope to use this endpoint. - * - * #### Example using registration token - * - * Configure your self-hosted runner, replacing `TOKEN` with the registration token provided by this endpoint. - * - * ``` - * ./config.sh --url https://github.com/enterprises/octo-enterprise --token TOKEN - * ``` - */ - "enterprise-admin/create-registration-token-for-enterprise": { - parameters: { - path: { - /** The slug version of the enterprise name. You can also substitute this value with the enterprise id. */ - enterprise: components["parameters"]["enterprise"]; - }; - }; - responses: { - /** Response */ - 201: { - content: { - "application/json": components["schemas"]["authentication-token"]; - }; - }; - }; - }; - /** - * Returns a token that you can pass to the `config` script to remove a self-hosted runner from an enterprise. The token expires after one hour. - * - * You must authenticate using an access token with the `admin:enterprise` scope to use this endpoint. - * - * #### Example using remove token - * - * To remove your self-hosted runner from an enterprise, replace `TOKEN` with the remove token provided by this - * endpoint. - * - * ``` - * ./config.sh remove --token TOKEN - * ``` - */ - "enterprise-admin/create-remove-token-for-enterprise": { - parameters: { - path: { - /** The slug version of the enterprise name. You can also substitute this value with the enterprise id. */ - enterprise: components["parameters"]["enterprise"]; - }; - }; - responses: { - /** Response */ - 201: { - content: { - "application/json": components["schemas"]["authentication-token"]; - }; - }; - }; - }; - /** - * Gets a specific self-hosted runner configured in an enterprise. - * - * You must authenticate using an access token with the `admin:enterprise` scope to use this endpoint. - */ - "enterprise-admin/get-self-hosted-runner-for-enterprise": { - parameters: { - path: { - /** The slug version of the enterprise name. You can also substitute this value with the enterprise id. */ - enterprise: components["parameters"]["enterprise"]; - /** Unique identifier of the self-hosted runner. */ - runner_id: components["parameters"]["runner-id"]; - }; - }; - responses: { - /** Response */ - 200: { - content: { - "application/json": components["schemas"]["runner"]; - }; - }; - }; - }; - /** - * Forces the removal of a self-hosted runner from an enterprise. You can use this endpoint to completely remove the runner when the machine you were using no longer exists. - * - * You must authenticate using an access token with the `admin:enterprise` scope to use this endpoint. - */ - "enterprise-admin/delete-self-hosted-runner-from-enterprise": { - parameters: { - path: { - /** The slug version of the enterprise name. You can also substitute this value with the enterprise id. */ - enterprise: components["parameters"]["enterprise"]; - /** Unique identifier of the self-hosted runner. */ - runner_id: components["parameters"]["runner-id"]; - }; - }; - responses: { - /** Response */ - 204: never; - }; - }; - /** Gets the audit log for an enterprise. To use this endpoint, you must be an enterprise admin, and you must use an access token with the `admin:enterprise` scope. */ - "enterprise-admin/get-audit-log": { - parameters: { - path: { - /** The slug version of the enterprise name. You can also substitute this value with the enterprise id. */ - enterprise: components["parameters"]["enterprise"]; - }; - query: { - /** A search phrase. For more information, see [Searching the audit log](https://docs.github.com/github/setting-up-and-managing-organizations-and-teams/reviewing-the-audit-log-for-your-organization#searching-the-audit-log). */ - phrase?: components["parameters"]["audit-log-phrase"]; - /** - * The event types to include: - * - * - `web` - returns web (non-Git) events - * - `git` - returns Git events - * - `all` - returns both web and Git events - * - * The default is `web`. - */ - include?: components["parameters"]["audit-log-include"]; - /** A cursor, as given in the [Link header](https://docs.github.com/rest/overview/resources-in-the-rest-api#link-header). If specified, the query only searches for events after this cursor. */ - after?: components["parameters"]["audit-log-after"]; - /** A cursor, as given in the [Link header](https://docs.github.com/rest/overview/resources-in-the-rest-api#link-header). If specified, the query only searches for events before this cursor. */ - before?: components["parameters"]["audit-log-before"]; - /** - * The order of audit log events. To list newest events first, specify `desc`. To list oldest events first, specify `asc`. - * - * The default is `desc`. - */ - order?: components["parameters"]["audit-log-order"]; - /** Page number of the results to fetch. */ - page?: components["parameters"]["page"]; - /** Results per page (max 100) */ - per_page?: components["parameters"]["per-page"]; - }; - }; - responses: { - /** Response */ - 200: { - content: { - "application/json": components["schemas"]["audit-log-event"][]; - }; - }; - }; - }; - /** - * Gets the summary of the free and paid GitHub Actions minutes used. - * - * Paid minutes only apply to workflows in private repositories that use GitHub-hosted runners. Minutes used is listed for each GitHub-hosted runner operating system. Any job re-runs are also included in the usage. The usage does not include the multiplier for macOS and Windows runners and is not rounded up to the nearest whole minute. For more information, see "[Managing billing for GitHub Actions](https://help.github.com/github/setting-up-and-managing-billing-and-payments-on-github/managing-billing-for-github-actions)". - * - * The authenticated user must be an enterprise admin. - */ - "billing/get-github-actions-billing-ghe": { - parameters: { - path: { - /** The slug version of the enterprise name. You can also substitute this value with the enterprise id. */ - enterprise: components["parameters"]["enterprise"]; - }; - }; - responses: { - /** Response */ - 200: { - content: { - "application/json": components["schemas"]["actions-billing-usage"]; - }; - }; - }; - }; - /** - * Gets the free and paid storage used for GitHub Packages in gigabytes. - * - * Paid minutes only apply to packages stored for private repositories. For more information, see "[Managing billing for GitHub Packages](https://help.github.com/github/setting-up-and-managing-billing-and-payments-on-github/managing-billing-for-github-packages)." - * - * The authenticated user must be an enterprise admin. - */ - "billing/get-github-packages-billing-ghe": { - parameters: { - path: { - /** The slug version of the enterprise name. You can also substitute this value with the enterprise id. */ - enterprise: components["parameters"]["enterprise"]; - }; - }; - responses: { - /** Response */ - 200: { - content: { - "application/json": components["schemas"]["packages-billing-usage"]; - }; - }; - }; - }; - /** - * Gets the estimated paid and estimated total storage used for GitHub Actions and Github Packages. - * - * Paid minutes only apply to packages stored for private repositories. For more information, see "[Managing billing for GitHub Packages](https://help.github.com/github/setting-up-and-managing-billing-and-payments-on-github/managing-billing-for-github-packages)." - * - * The authenticated user must be an enterprise admin. - */ - "billing/get-shared-storage-billing-ghe": { - parameters: { - path: { - /** The slug version of the enterprise name. You can also substitute this value with the enterprise id. */ - enterprise: components["parameters"]["enterprise"]; - }; - }; - responses: { - /** Response */ - 200: { - content: { - "application/json": components["schemas"]["combined-billing-usage"]; - }; - }; - }; - }; - /** We delay the public events feed by five minutes, which means the most recent event returned by the public events API actually occurred at least five minutes ago. */ - "activity/list-public-events": { - parameters: { - query: { - /** Results per page (max 100) */ - per_page?: components["parameters"]["per-page"]; - /** Page number of the results to fetch. */ - page?: components["parameters"]["page"]; - }; - }; - responses: { - /** Response */ - 200: { - content: { - "application/json": components["schemas"]["event"][]; - }; - }; - 304: components["responses"]["not_modified"]; - 403: components["responses"]["forbidden"]; - 503: components["responses"]["service_unavailable"]; - }; - }; - /** - * GitHub provides several timeline resources in [Atom](http://en.wikipedia.org/wiki/Atom_(standard)) format. The Feeds API lists all the feeds available to the authenticated user: - * - * * **Timeline**: The GitHub global public timeline - * * **User**: The public timeline for any user, using [URI template](https://docs.github.com/rest/overview/resources-in-the-rest-api#hypermedia) - * * **Current user public**: The public timeline for the authenticated user - * * **Current user**: The private timeline for the authenticated user - * * **Current user actor**: The private timeline for activity created by the authenticated user - * * **Current user organizations**: The private timeline for the organizations the authenticated user is a member of. - * * **Security advisories**: A collection of public announcements that provide information about security-related vulnerabilities in software on GitHub. - * - * **Note**: Private feeds are only returned when [authenticating via Basic Auth](https://docs.github.com/rest/overview/other-authentication-methods#basic-authentication) since current feed URIs use the older, non revocable auth tokens. - */ - "activity/get-feeds": { - parameters: {}; - responses: { - /** Response */ - 200: { - content: { - "application/json": components["schemas"]["feed"]; - }; - }; - }; - }; - /** Lists the authenticated user's gists or if called anonymously, this endpoint returns all public gists: */ - "gists/list": { - parameters: { - query: { - /** Only show notifications updated after the given time. This is a timestamp in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) format: `YYYY-MM-DDTHH:MM:SSZ`. */ - since?: components["parameters"]["since"]; - /** Results per page (max 100) */ - per_page?: components["parameters"]["per-page"]; - /** Page number of the results to fetch. */ - page?: components["parameters"]["page"]; - }; - }; - responses: { - /** Response */ - 200: { - headers: {}; - content: { - "application/json": components["schemas"]["base-gist"][]; - }; - }; - 304: components["responses"]["not_modified"]; - 403: components["responses"]["forbidden"]; - }; - }; - /** - * Allows you to add a new gist with one or more files. - * - * **Note:** Don't name your files "gistfile" with a numerical suffix. This is the format of the automatic naming scheme that Gist uses internally. - */ - "gists/create": { - parameters: {}; - responses: { - /** Response */ - 201: { - headers: { - Location?: string; - }; - content: { - "application/json": components["schemas"]["gist-simple"]; - }; - }; - 304: components["responses"]["not_modified"]; - 403: components["responses"]["forbidden"]; - 404: components["responses"]["not_found"]; - 422: components["responses"]["validation_failed"]; - }; - requestBody: { - content: { - "application/json": { - /** Description of the gist */ - description?: string; - /** Names and content for the files that make up the gist */ - files: { - [key: string]: { - /** Content of the file */ - content: string; - }; - }; - public?: boolean | ("true" | "false"); - }; - }; - }; - }; - /** - * List public gists sorted by most recently updated to least recently updated. - * - * Note: With [pagination](https://docs.github.com/rest/overview/resources-in-the-rest-api#pagination), you can fetch up to 3000 gists. For example, you can fetch 100 pages with 30 gists per page or 30 pages with 100 gists per page. - */ - "gists/list-public": { - parameters: { - query: { - /** Only show notifications updated after the given time. This is a timestamp in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) format: `YYYY-MM-DDTHH:MM:SSZ`. */ - since?: components["parameters"]["since"]; - /** Results per page (max 100) */ - per_page?: components["parameters"]["per-page"]; - /** Page number of the results to fetch. */ - page?: components["parameters"]["page"]; - }; - }; - responses: { - /** Response */ - 200: { - headers: {}; - content: { - "application/json": components["schemas"]["base-gist"][]; - }; - }; - 304: components["responses"]["not_modified"]; - 403: components["responses"]["forbidden"]; - 422: components["responses"]["validation_failed"]; - }; - }; - /** List the authenticated user's starred gists: */ - "gists/list-starred": { - parameters: { - query: { - /** Only show notifications updated after the given time. This is a timestamp in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) format: `YYYY-MM-DDTHH:MM:SSZ`. */ - since?: components["parameters"]["since"]; - /** Results per page (max 100) */ - per_page?: components["parameters"]["per-page"]; - /** Page number of the results to fetch. */ - page?: components["parameters"]["page"]; - }; - }; - responses: { - /** Response */ - 200: { - headers: {}; - content: { - "application/json": components["schemas"]["base-gist"][]; - }; - }; - 304: components["responses"]["not_modified"]; - 401: components["responses"]["requires_authentication"]; - 403: components["responses"]["forbidden"]; - }; - }; - "gists/get": { - parameters: { - path: { - /** gist_id parameter */ - gist_id: components["parameters"]["gist-id"]; - }; - }; - responses: { - /** Response */ - 200: { - content: { - "application/json": components["schemas"]["gist-simple"]; - }; - }; - 304: components["responses"]["not_modified"]; - 403: components["responses"]["forbidden_gist"]; - 404: components["responses"]["not_found"]; - }; - }; - "gists/delete": { - parameters: { - path: { - /** gist_id parameter */ - gist_id: components["parameters"]["gist-id"]; - }; - }; - responses: { - /** Response */ - 204: never; - 304: components["responses"]["not_modified"]; - 403: components["responses"]["forbidden"]; - 404: components["responses"]["not_found"]; - }; - }; - /** Allows you to update or delete a gist file and rename gist files. Files from the previous version of the gist that aren't explicitly changed during an edit are unchanged. */ - "gists/update": { - parameters: { - path: { - /** gist_id parameter */ - gist_id: components["parameters"]["gist-id"]; - }; - }; - responses: { - /** Response */ - 200: { - content: { - "application/json": components["schemas"]["gist-simple"]; - }; - }; - 404: components["responses"]["not_found"]; - 422: components["responses"]["validation_failed"]; - }; - requestBody: { - content: { - "application/json": { - /** Description of the gist */ - description?: string; - /** Names of files to be updated */ - files?: { [key: string]: Partial<{ [key: string]: unknown }> }; - } | null; - }; - }; - }; - "gists/list-comments": { - parameters: { - path: { - /** gist_id parameter */ - gist_id: components["parameters"]["gist-id"]; - }; - query: { - /** Results per page (max 100) */ - per_page?: components["parameters"]["per-page"]; - /** Page number of the results to fetch. */ - page?: components["parameters"]["page"]; - }; - }; - responses: { - /** Response */ - 200: { - headers: {}; - content: { - "application/json": components["schemas"]["gist-comment"][]; - }; - }; - 304: components["responses"]["not_modified"]; - 403: components["responses"]["forbidden"]; - 404: components["responses"]["not_found"]; - }; - }; - "gists/create-comment": { - parameters: { - path: { - /** gist_id parameter */ - gist_id: components["parameters"]["gist-id"]; - }; - }; - responses: { - /** Response */ - 201: { - headers: { - Location?: string; - }; - content: { - "application/json": components["schemas"]["gist-comment"]; - }; - }; - 304: components["responses"]["not_modified"]; - 403: components["responses"]["forbidden"]; - 404: components["responses"]["not_found"]; - }; - requestBody: { - content: { - "application/json": { - /** The comment text. */ - body: string; - }; - }; - }; - }; - "gists/get-comment": { - parameters: { - path: { - /** gist_id parameter */ - gist_id: components["parameters"]["gist-id"]; - /** comment_id parameter */ - comment_id: components["parameters"]["comment-id"]; - }; - }; - responses: { - /** Response */ - 200: { - content: { - "application/json": components["schemas"]["gist-comment"]; - }; - }; - 304: components["responses"]["not_modified"]; - 403: components["responses"]["forbidden_gist"]; - 404: components["responses"]["not_found"]; - }; - }; - "gists/delete-comment": { - parameters: { - path: { - /** gist_id parameter */ - gist_id: components["parameters"]["gist-id"]; - /** comment_id parameter */ - comment_id: components["parameters"]["comment-id"]; - }; - }; - responses: { - /** Response */ - 204: never; - 304: components["responses"]["not_modified"]; - 403: components["responses"]["forbidden"]; - 404: components["responses"]["not_found"]; - }; - }; - "gists/update-comment": { - parameters: { - path: { - /** gist_id parameter */ - gist_id: components["parameters"]["gist-id"]; - /** comment_id parameter */ - comment_id: components["parameters"]["comment-id"]; - }; - }; - responses: { - /** Response */ - 200: { - content: { - "application/json": components["schemas"]["gist-comment"]; - }; - }; - 404: components["responses"]["not_found"]; - }; - requestBody: { - content: { - "application/json": { - /** The comment text. */ - body: string; - }; - }; - }; - }; - "gists/list-commits": { - parameters: { - path: { - /** gist_id parameter */ - gist_id: components["parameters"]["gist-id"]; - }; - query: { - /** Results per page (max 100) */ - per_page?: components["parameters"]["per-page"]; - /** Page number of the results to fetch. */ - page?: components["parameters"]["page"]; - }; - }; - responses: { - /** Response */ - 200: { - headers: { - Link?: string; - }; - content: { - "application/json": components["schemas"]["gist-commit"][]; - }; - }; - 304: components["responses"]["not_modified"]; - 403: components["responses"]["forbidden"]; - 404: components["responses"]["not_found"]; - }; - }; - "gists/list-forks": { - parameters: { - path: { - /** gist_id parameter */ - gist_id: components["parameters"]["gist-id"]; - }; - query: { - /** Results per page (max 100) */ - per_page?: components["parameters"]["per-page"]; - /** Page number of the results to fetch. */ - page?: components["parameters"]["page"]; - }; - }; - responses: { - /** Response */ - 200: { - headers: {}; - content: { - "application/json": components["schemas"]["gist-simple"][]; - }; - }; - 304: components["responses"]["not_modified"]; - 403: components["responses"]["forbidden"]; - 404: components["responses"]["not_found"]; - }; - }; - /** **Note**: This was previously `/gists/:gist_id/fork`. */ - "gists/fork": { - parameters: { - path: { - /** gist_id parameter */ - gist_id: components["parameters"]["gist-id"]; - }; - }; - responses: { - /** Response */ - 201: { - headers: { - Location?: string; - }; - content: { - "application/json": components["schemas"]["base-gist"]; - }; - }; - 304: components["responses"]["not_modified"]; - 403: components["responses"]["forbidden"]; - 404: components["responses"]["not_found"]; - 422: components["responses"]["validation_failed"]; - }; - }; - "gists/check-is-starred": { - parameters: { - path: { - /** gist_id parameter */ - gist_id: components["parameters"]["gist-id"]; - }; - }; - responses: { - /** Response if gist is starred */ - 204: never; - 304: components["responses"]["not_modified"]; - 403: components["responses"]["forbidden"]; - /** Not Found if gist is not starred */ - 404: { - content: { - "application/json": { [key: string]: unknown }; - }; - }; - }; - }; - /** Note that you'll need to set `Content-Length` to zero when calling out to this endpoint. For more information, see "[HTTP verbs](https://docs.github.com/rest/overview/resources-in-the-rest-api#http-verbs)." */ - "gists/star": { - parameters: { - path: { - /** gist_id parameter */ - gist_id: components["parameters"]["gist-id"]; - }; - }; - responses: { - /** Response */ - 204: never; - 304: components["responses"]["not_modified"]; - 403: components["responses"]["forbidden"]; - 404: components["responses"]["not_found"]; - }; - }; - "gists/unstar": { - parameters: { - path: { - /** gist_id parameter */ - gist_id: components["parameters"]["gist-id"]; - }; - }; - responses: { - /** Response */ - 204: never; - 304: components["responses"]["not_modified"]; - 403: components["responses"]["forbidden"]; - 404: components["responses"]["not_found"]; - }; - }; - "gists/get-revision": { - parameters: { - path: { - /** gist_id parameter */ - gist_id: components["parameters"]["gist-id"]; - sha: string; - }; - }; - responses: { - /** Response */ - 200: { - content: { - "application/json": components["schemas"]["gist-simple"]; - }; - }; - 403: components["responses"]["forbidden"]; - 404: components["responses"]["not_found"]; - 422: components["responses"]["validation_failed"]; - }; - }; - /** List all templates available to pass as an option when [creating a repository](https://docs.github.com/rest/reference/repos#create-a-repository-for-the-authenticated-user). */ - "gitignore/get-all-templates": { - parameters: {}; - responses: { - /** Response */ - 200: { - content: { - "application/json": string[]; - }; - }; - 304: components["responses"]["not_modified"]; - }; - }; - /** - * The API also allows fetching the source of a single template. - * Use the raw [media type](https://docs.github.com/rest/overview/media-types/) to get the raw contents. - */ - "gitignore/get-template": { - parameters: { - path: { - name: string; - }; - }; - responses: { - /** Response */ - 200: { - content: { - "application/json": components["schemas"]["gitignore-template"]; - }; - }; - 304: components["responses"]["not_modified"]; - }; - }; - /** - * List repositories that an app installation can access. - * - * You must use an [installation access token](https://docs.github.com/apps/building-github-apps/authenticating-with-github-apps/#authenticating-as-an-installation) to access this endpoint. - */ - "apps/list-repos-accessible-to-installation": { - parameters: { - query: { - /** Results per page (max 100) */ - per_page?: components["parameters"]["per-page"]; - /** Page number of the results to fetch. */ - page?: components["parameters"]["page"]; - }; - }; - responses: { - /** Response */ - 200: { - headers: {}; - content: { - "application/json": { - total_count: number; - repositories: components["schemas"]["repository"][]; - repository_selection?: string; - }; - }; - }; - 304: components["responses"]["not_modified"]; - 401: components["responses"]["requires_authentication"]; - 403: components["responses"]["forbidden"]; - }; - }; - /** - * Revokes the installation token you're using to authenticate as an installation and access this endpoint. - * - * Once an installation token is revoked, the token is invalidated and cannot be used. Other endpoints that require the revoked installation token must have a new installation token to work. You can create a new token using the "[Create an installation access token for an app](https://docs.github.com/rest/reference/apps#create-an-installation-access-token-for-an-app)" endpoint. - * - * You must use an [installation access token](https://docs.github.com/apps/building-github-apps/authenticating-with-github-apps/#authenticating-as-an-installation) to access this endpoint. - */ - "apps/revoke-installation-access-token": { - parameters: {}; - responses: { - /** Response */ - 204: never; - }; - }; - /** - * List issues assigned to the authenticated user across all visible repositories including owned repositories, member - * repositories, and organization repositories. You can use the `filter` query parameter to fetch issues that are not - * necessarily assigned to you. - * - * - * **Note**: GitHub's REST API v3 considers every pull request an issue, but not every issue is a pull request. For this - * reason, "Issues" endpoints may return both issues and pull requests in the response. You can identify pull requests by - * the `pull_request` key. Be aware that the `id` of a pull request returned from "Issues" endpoints will be an _issue id_. To find out the pull - * request id, use the "[List pull requests](https://docs.github.com/rest/reference/pulls#list-pull-requests)" endpoint. - */ - "issues/list": { - parameters: { - query: { - /** - * Indicates which sorts of issues to return. Can be one of: - * \* `assigned`: Issues assigned to you - * \* `created`: Issues created by you - * \* `mentioned`: Issues mentioning you - * \* `subscribed`: Issues you're subscribed to updates for - * \* `all` or `repos`: All issues the authenticated user can see, regardless of participation or creation - */ - filter?: - | "assigned" - | "created" - | "mentioned" - | "subscribed" - | "repos" - | "all"; - /** Indicates the state of the issues to return. Can be either `open`, `closed`, or `all`. */ - state?: "open" | "closed" | "all"; - /** A list of comma separated label names. Example: `bug,ui,@high` */ - labels?: components["parameters"]["labels"]; - /** What to sort results by. Can be either `created`, `updated`, `comments`. */ - sort?: "created" | "updated" | "comments"; - /** One of `asc` (ascending) or `desc` (descending). */ - direction?: components["parameters"]["direction"]; - /** Only show notifications updated after the given time. This is a timestamp in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) format: `YYYY-MM-DDTHH:MM:SSZ`. */ - since?: components["parameters"]["since"]; - collab?: boolean; - orgs?: boolean; - owned?: boolean; - pulls?: boolean; - /** Results per page (max 100) */ - per_page?: components["parameters"]["per-page"]; - /** Page number of the results to fetch. */ - page?: components["parameters"]["page"]; - }; - }; - responses: { - /** Response */ - 200: { - headers: {}; - content: { - "application/json": components["schemas"]["issue"][]; - }; - }; - 304: components["responses"]["not_modified"]; - 404: components["responses"]["not_found"]; - 422: components["responses"]["validation_failed"]; - }; - }; - "licenses/get-all-commonly-used": { - parameters: { - query: { - featured?: boolean; - /** Results per page (max 100) */ - per_page?: components["parameters"]["per-page"]; - /** Page number of the results to fetch. */ - page?: components["parameters"]["page"]; - }; - }; - responses: { - /** Response */ - 200: { - content: { - "application/json": components["schemas"]["license-simple"][]; - }; - }; - 304: components["responses"]["not_modified"]; - }; - }; - "licenses/get": { - parameters: { - path: { - license: string; - }; - }; - responses: { - /** Response */ - 200: { - content: { - "application/json": components["schemas"]["license"]; - }; - }; - 304: components["responses"]["not_modified"]; - 403: components["responses"]["forbidden"]; - 404: components["responses"]["not_found"]; - }; - }; - "markdown/render": { - parameters: {}; - responses: { - /** Response */ - 200: { - headers: { - "Content-Length"?: string; - }; - content: { - "text/html": string; - }; - }; - 304: components["responses"]["not_modified"]; - }; - requestBody: { - content: { - "application/json": { - /** The Markdown text to render in HTML. */ - text: string; - /** The rendering mode. */ - mode?: "markdown" | "gfm"; - /** The repository context to use when creating references in `gfm` mode. */ - context?: string; - }; - }; - }; - }; - /** You must send Markdown as plain text (using a `Content-Type` header of `text/plain` or `text/x-markdown`) to this endpoint, rather than using JSON format. In raw mode, [GitHub Flavored Markdown](https://github.github.com/gfm/) is not supported and Markdown will be rendered in plain format like a README.md file. Markdown content must be 400 KB or less. */ - "markdown/render-raw": { - parameters: {}; - responses: { - /** Response */ - 200: { - headers: {}; - content: { - "text/html": string; - }; - }; - 304: components["responses"]["not_modified"]; - }; - requestBody: { - content: { - "text/plain": string; - "text/x-markdown": string; - }; - }; - }; - /** - * Shows whether the user or organization account actively subscribes to a plan listed by the authenticated GitHub App. When someone submits a plan change that won't be processed until the end of their billing cycle, you will also see the upcoming pending change. - * - * GitHub Apps must use a [JWT](https://docs.github.com/apps/building-github-apps/authenticating-with-github-apps/#authenticating-as-a-github-app) to access this endpoint. OAuth Apps must use [basic authentication](https://docs.github.com/rest/overview/other-authentication-methods#basic-authentication) with their client ID and client secret to access this endpoint. - */ - "apps/get-subscription-plan-for-account": { - parameters: { - path: { - /** account_id parameter */ - account_id: components["parameters"]["account-id"]; - }; - }; - responses: { - /** Response */ - 200: { - content: { - "application/json": components["schemas"]["marketplace-purchase"]; - }; - }; - 401: components["responses"]["requires_authentication"]; - /** Not Found when the account has not purchased the listing */ - 404: { - content: { - "application/json": components["schemas"]["basic-error"]; - }; - }; - }; - }; - /** - * Lists all plans that are part of your GitHub Marketplace listing. - * - * GitHub Apps must use a [JWT](https://docs.github.com/apps/building-github-apps/authenticating-with-github-apps/#authenticating-as-a-github-app) to access this endpoint. OAuth Apps must use [basic authentication](https://docs.github.com/rest/overview/other-authentication-methods#basic-authentication) with their client ID and client secret to access this endpoint. - */ - "apps/list-plans": { - parameters: { - query: { - /** Results per page (max 100) */ - per_page?: components["parameters"]["per-page"]; - /** Page number of the results to fetch. */ - page?: components["parameters"]["page"]; - }; - }; - responses: { - /** Response */ - 200: { - headers: {}; - content: { - "application/json": components["schemas"]["marketplace-listing-plan"][]; - }; - }; - 401: components["responses"]["requires_authentication"]; - 404: components["responses"]["not_found"]; - }; - }; - /** - * Returns user and organization accounts associated with the specified plan, including free plans. For per-seat pricing, you see the list of accounts that have purchased the plan, including the number of seats purchased. When someone submits a plan change that won't be processed until the end of their billing cycle, you will also see the upcoming pending change. - * - * GitHub Apps must use a [JWT](https://docs.github.com/apps/building-github-apps/authenticating-with-github-apps/#authenticating-as-a-github-app) to access this endpoint. OAuth Apps must use [basic authentication](https://docs.github.com/rest/overview/other-authentication-methods#basic-authentication) with their client ID and client secret to access this endpoint. - */ - "apps/list-accounts-for-plan": { - parameters: { - path: { - /** plan_id parameter */ - plan_id: components["parameters"]["plan-id"]; - }; - query: { - /** One of `created` (when the repository was starred) or `updated` (when it was last pushed to). */ - sort?: components["parameters"]["sort"]; - /** To return the oldest accounts first, set to `asc`. Can be one of `asc` or `desc`. Ignored without the `sort` parameter. */ - direction?: "asc" | "desc"; - /** Results per page (max 100) */ - per_page?: components["parameters"]["per-page"]; - /** Page number of the results to fetch. */ - page?: components["parameters"]["page"]; - }; - }; - responses: { - /** Response */ - 200: { - headers: {}; - content: { - "application/json": components["schemas"]["marketplace-purchase"][]; - }; - }; - 401: components["responses"]["requires_authentication"]; - 404: components["responses"]["not_found"]; - 422: components["responses"]["validation_failed"]; - }; - }; - /** - * Shows whether the user or organization account actively subscribes to a plan listed by the authenticated GitHub App. When someone submits a plan change that won't be processed until the end of their billing cycle, you will also see the upcoming pending change. - * - * GitHub Apps must use a [JWT](https://docs.github.com/apps/building-github-apps/authenticating-with-github-apps/#authenticating-as-a-github-app) to access this endpoint. OAuth Apps must use [basic authentication](https://docs.github.com/rest/overview/other-authentication-methods#basic-authentication) with their client ID and client secret to access this endpoint. - */ - "apps/get-subscription-plan-for-account-stubbed": { - parameters: { - path: { - /** account_id parameter */ - account_id: components["parameters"]["account-id"]; - }; - }; - responses: { - /** Response */ - 200: { - content: { - "application/json": components["schemas"]["marketplace-purchase"]; - }; - }; - 401: components["responses"]["requires_authentication"]; - /** Not Found when the account has not purchased the listing */ - 404: unknown; - }; - }; - /** - * Lists all plans that are part of your GitHub Marketplace listing. - * - * GitHub Apps must use a [JWT](https://docs.github.com/apps/building-github-apps/authenticating-with-github-apps/#authenticating-as-a-github-app) to access this endpoint. OAuth Apps must use [basic authentication](https://docs.github.com/rest/overview/other-authentication-methods#basic-authentication) with their client ID and client secret to access this endpoint. - */ - "apps/list-plans-stubbed": { - parameters: { - query: { - /** Results per page (max 100) */ - per_page?: components["parameters"]["per-page"]; - /** Page number of the results to fetch. */ - page?: components["parameters"]["page"]; - }; - }; - responses: { - /** Response */ - 200: { - headers: {}; - content: { - "application/json": components["schemas"]["marketplace-listing-plan"][]; - }; - }; - 401: components["responses"]["requires_authentication"]; - }; - }; - /** - * Returns repository and organization accounts associated with the specified plan, including free plans. For per-seat pricing, you see the list of accounts that have purchased the plan, including the number of seats purchased. When someone submits a plan change that won't be processed until the end of their billing cycle, you will also see the upcoming pending change. - * - * GitHub Apps must use a [JWT](https://docs.github.com/apps/building-github-apps/authenticating-with-github-apps/#authenticating-as-a-github-app) to access this endpoint. OAuth Apps must use [basic authentication](https://docs.github.com/rest/overview/other-authentication-methods#basic-authentication) with their client ID and client secret to access this endpoint. - */ - "apps/list-accounts-for-plan-stubbed": { - parameters: { - path: { - /** plan_id parameter */ - plan_id: components["parameters"]["plan-id"]; - }; - query: { - /** One of `created` (when the repository was starred) or `updated` (when it was last pushed to). */ - sort?: components["parameters"]["sort"]; - /** To return the oldest accounts first, set to `asc`. Can be one of `asc` or `desc`. Ignored without the `sort` parameter. */ - direction?: "asc" | "desc"; - /** Results per page (max 100) */ - per_page?: components["parameters"]["per-page"]; - /** Page number of the results to fetch. */ - page?: components["parameters"]["page"]; - }; - }; - responses: { - /** Response */ - 200: { - headers: {}; - content: { - "application/json": components["schemas"]["marketplace-purchase"][]; - }; - }; - 401: components["responses"]["requires_authentication"]; - }; - }; - /** - * Returns meta information about GitHub, including a list of GitHub's IP addresses. For more information, see "[About GitHub's IP addresses](https://help.github.com/articles/about-github-s-ip-addresses/)." - * - * **Note:** The IP addresses shown in the documentation's response are only example values. You must always query the API directly to get the latest list of IP addresses. - */ - "meta/get": { - parameters: {}; - responses: { - /** Response */ - 200: { - content: { - "application/json": components["schemas"]["api-overview"]; - }; - }; - 304: components["responses"]["not_modified"]; - }; - }; - "activity/list-public-events-for-repo-network": { - parameters: { - path: { - owner: components["parameters"]["owner"]; - repo: components["parameters"]["repo"]; - }; - query: { - /** Results per page (max 100) */ - per_page?: components["parameters"]["per-page"]; - /** Page number of the results to fetch. */ - page?: components["parameters"]["page"]; - }; - }; - responses: { - /** Response */ - 200: { - content: { - "application/json": components["schemas"]["event"][]; - }; - }; - 301: components["responses"]["moved_permanently"]; - 304: components["responses"]["not_modified"]; - 403: components["responses"]["forbidden"]; - 404: components["responses"]["not_found"]; - }; - }; - /** List all notifications for the current user, sorted by most recently updated. */ - "activity/list-notifications-for-authenticated-user": { - parameters: { - query: { - /** If `true`, show notifications marked as read. */ - all?: components["parameters"]["all"]; - /** If `true`, only shows notifications in which the user is directly participating or mentioned. */ - participating?: components["parameters"]["participating"]; - /** Only show notifications updated after the given time. This is a timestamp in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) format: `YYYY-MM-DDTHH:MM:SSZ`. */ - since?: components["parameters"]["since"]; - /** Only show notifications updated before the given time. This is a timestamp in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) format: `YYYY-MM-DDTHH:MM:SSZ`. */ - before?: components["parameters"]["before"]; - /** Results per page (max 100) */ - per_page?: components["parameters"]["per-page"]; - /** Page number of the results to fetch. */ - page?: components["parameters"]["page"]; - }; - }; - responses: { - /** Response */ - 200: { - headers: {}; - content: { - "application/json": components["schemas"]["thread"][]; - }; - }; - 304: components["responses"]["not_modified"]; - 401: components["responses"]["requires_authentication"]; - 403: components["responses"]["forbidden"]; - 422: components["responses"]["validation_failed"]; - }; - }; - /** Marks all notifications as "read" removes it from the [default view on GitHub](https://github.com/notifications). If the number of notifications is too large to complete in one request, you will receive a `202 Accepted` status and GitHub will run an asynchronous process to mark notifications as "read." To check whether any "unread" notifications remain, you can use the [List notifications for the authenticated user](https://docs.github.com/rest/reference/activity#list-notifications-for-the-authenticated-user) endpoint and pass the query parameter `all=false`. */ - "activity/mark-notifications-as-read": { - parameters: {}; - responses: { - /** Response */ - 202: { - content: { - "application/json": { - message?: string; - }; - }; - }; - /** Reset Content */ - 205: unknown; - 304: components["responses"]["not_modified"]; - 401: components["responses"]["requires_authentication"]; - 403: components["responses"]["forbidden"]; - }; - requestBody: { - content: { - "application/json": { - /** Describes the last point that notifications were checked. */ - last_read_at?: string; - /** Whether the notification has been read. */ - read?: boolean; - }; - }; - }; - }; - "activity/get-thread": { - parameters: { - path: { - /** thread_id parameter */ - thread_id: components["parameters"]["thread-id"]; - }; - }; - responses: { - /** Response */ - 200: { - content: { - "application/json": components["schemas"]["thread"]; - }; - }; - 304: components["responses"]["not_modified"]; - 401: components["responses"]["requires_authentication"]; - 403: components["responses"]["forbidden"]; - }; - }; - "activity/mark-thread-as-read": { - parameters: { - path: { - /** thread_id parameter */ - thread_id: components["parameters"]["thread-id"]; - }; - }; - responses: { - /** Reset Content */ - 205: unknown; - 304: components["responses"]["not_modified"]; - 403: components["responses"]["forbidden"]; - }; - }; - /** - * This checks to see if the current user is subscribed to a thread. You can also [get a repository subscription](https://docs.github.com/rest/reference/activity#get-a-repository-subscription). - * - * Note that subscriptions are only generated if a user is participating in a conversation--for example, they've replied to the thread, were **@mentioned**, or manually subscribe to a thread. - */ - "activity/get-thread-subscription-for-authenticated-user": { - parameters: { - path: { - /** thread_id parameter */ - thread_id: components["parameters"]["thread-id"]; - }; - }; - responses: { - /** Response */ - 200: { - content: { - "application/json": components["schemas"]["thread-subscription"]; - }; - }; - 304: components["responses"]["not_modified"]; - 401: components["responses"]["requires_authentication"]; - 403: components["responses"]["forbidden"]; - }; - }; - /** - * If you are watching a repository, you receive notifications for all threads by default. Use this endpoint to ignore future notifications for threads until you comment on the thread or get an **@mention**. - * - * You can also use this endpoint to subscribe to threads that you are currently not receiving notifications for or to subscribed to threads that you have previously ignored. - * - * Unsubscribing from a conversation in a repository that you are not watching is functionally equivalent to the [Delete a thread subscription](https://docs.github.com/rest/reference/activity#delete-a-thread-subscription) endpoint. - */ - "activity/set-thread-subscription": { - parameters: { - path: { - /** thread_id parameter */ - thread_id: components["parameters"]["thread-id"]; - }; - }; - responses: { - /** Response */ - 200: { - content: { - "application/json": components["schemas"]["thread-subscription"]; - }; - }; - 304: components["responses"]["not_modified"]; - 401: components["responses"]["requires_authentication"]; - 403: components["responses"]["forbidden"]; - }; - requestBody: { - content: { - "application/json": { - /** Whether to block all notifications from a thread. */ - ignored?: boolean; - }; - }; - }; - }; - /** Mutes all future notifications for a conversation until you comment on the thread or get an **@mention**. If you are watching the repository of the thread, you will still receive notifications. To ignore future notifications for a repository you are watching, use the [Set a thread subscription](https://docs.github.com/rest/reference/activity#set-a-thread-subscription) endpoint and set `ignore` to `true`. */ - "activity/delete-thread-subscription": { - parameters: { - path: { - /** thread_id parameter */ - thread_id: components["parameters"]["thread-id"]; - }; - }; - responses: { - /** Response */ - 204: never; - 304: components["responses"]["not_modified"]; - 401: components["responses"]["requires_authentication"]; - 403: components["responses"]["forbidden"]; - }; - }; - /** Get the octocat as ASCII art */ - "meta/get-octocat": { - parameters: { - query: { - /** The words to show in Octocat's speech bubble */ - s?: string; - }; - }; - responses: { - /** Response */ - 200: { - content: { - "application/octocat-stream": string; - }; - }; - }; - }; - /** - * Lists all organizations, in the order that they were created on GitHub. - * - * **Note:** Pagination is powered exclusively by the `since` parameter. Use the [Link header](https://docs.github.com/rest/overview/resources-in-the-rest-api#link-header) to get the URL for the next page of organizations. - */ - "orgs/list": { - parameters: { - query: { - /** An organization ID. Only return organizations with an ID greater than this ID. */ - since?: components["parameters"]["since-org"]; - /** Results per page (max 100) */ - per_page?: components["parameters"]["per-page"]; - }; - }; - responses: { - /** Response */ - 200: { - headers: { - Link?: string; - }; - content: { - "application/json": components["schemas"]["organization-simple"][]; - }; - }; - 304: components["responses"]["not_modified"]; - }; - }; - /** - * To see many of the organization response values, you need to be an authenticated organization owner with the `admin:org` scope. When the value of `two_factor_requirement_enabled` is `true`, the organization requires all members, billing managers, and outside collaborators to enable [two-factor authentication](https://help.github.com/articles/securing-your-account-with-two-factor-authentication-2fa/). - * - * GitHub Apps with the `Organization plan` permission can use this endpoint to retrieve information about an organization's GitHub plan. See "[Authenticating with GitHub Apps](https://docs.github.com/apps/building-github-apps/authenticating-with-github-apps/)" for details. For an example response, see 'Response with GitHub plan information' below." - */ - "orgs/get": { - parameters: { - path: { - org: components["parameters"]["org"]; - }; - }; - responses: { - /** Response */ - 200: { - content: { - "application/json": components["schemas"]["organization-full"]; - }; - }; - 404: components["responses"]["not_found"]; - }; - }; - /** - * **Parameter Deprecation Notice:** GitHub will replace and discontinue `members_allowed_repository_creation_type` in favor of more granular permissions. The new input parameters are `members_can_create_public_repositories`, `members_can_create_private_repositories` for all organizations and `members_can_create_internal_repositories` for organizations associated with an enterprise account using GitHub Enterprise Cloud or GitHub Enterprise Server 2.20+. For more information, see the [blog post](https://developer.github.com/changes/2019-12-03-internal-visibility-changes). - * - * Enables an authenticated organization owner with the `admin:org` scope to update the organization's profile and member privileges. - */ - "orgs/update": { - parameters: { - path: { - org: components["parameters"]["org"]; - }; - }; - responses: { - /** Response */ - 200: { - content: { - "application/json": components["schemas"]["organization-full"]; - }; - }; - 409: components["responses"]["conflict"]; - 415: components["responses"]["preview_header_missing"]; - /** Validation failed */ - 422: { - content: { - "application/json": - | components["schemas"]["validation-error"] - | components["schemas"]["validation-error-simple"]; - }; - }; - }; - requestBody: { - content: { - "application/json": { - /** Billing email address. This address is not publicized. */ - billing_email?: string; - /** The company name. */ - company?: string; - /** The publicly visible email address. */ - email?: string; - /** The Twitter username of the company. */ - twitter_username?: string; - /** The location. */ - location?: string; - /** The shorthand name of the company. */ - name?: string; - /** The description of the company. */ - description?: string; - /** Toggles whether an organization can use organization projects. */ - has_organization_projects?: boolean; - /** Toggles whether repositories that belong to the organization can use repository projects. */ - has_repository_projects?: boolean; - /** - * Default permission level members have for organization repositories: - * \* `read` - can pull, but not push to or administer this repository. - * \* `write` - can pull and push, but not administer this repository. - * \* `admin` - can pull, push, and administer this repository. - * \* `none` - no permissions granted by default. - */ - default_repository_permission?: "read" | "write" | "admin" | "none"; - /** - * Toggles the ability of non-admin organization members to create repositories. Can be one of: - * \* `true` - all organization members can create repositories. - * \* `false` - only organization owners can create repositories. - * Default: `true` - * **Note:** A parameter can override this parameter. See `members_allowed_repository_creation_type` in this table for details. **Note:** A parameter can override this parameter. See `members_allowed_repository_creation_type` in this table for details. - */ - members_can_create_repositories?: boolean; - /** - * Toggles whether organization members can create internal repositories, which are visible to all enterprise members. You can only allow members to create internal repositories if your organization is associated with an enterprise account using GitHub Enterprise Cloud or GitHub Enterprise Server 2.20+. Can be one of: - * \* `true` - all organization members can create internal repositories. - * \* `false` - only organization owners can create internal repositories. - * Default: `true`. For more information, see "[Restricting repository creation in your organization](https://help.github.com/github/setting-up-and-managing-organizations-and-teams/restricting-repository-creation-in-your-organization)" in the GitHub Help documentation. - */ - members_can_create_internal_repositories?: boolean; - /** - * Toggles whether organization members can create private repositories, which are visible to organization members with permission. Can be one of: - * \* `true` - all organization members can create private repositories. - * \* `false` - only organization owners can create private repositories. - * Default: `true`. For more information, see "[Restricting repository creation in your organization](https://help.github.com/github/setting-up-and-managing-organizations-and-teams/restricting-repository-creation-in-your-organization)" in the GitHub Help documentation. - */ - members_can_create_private_repositories?: boolean; - /** - * Toggles whether organization members can create public repositories, which are visible to anyone. Can be one of: - * \* `true` - all organization members can create public repositories. - * \* `false` - only organization owners can create public repositories. - * Default: `true`. For more information, see "[Restricting repository creation in your organization](https://help.github.com/github/setting-up-and-managing-organizations-and-teams/restricting-repository-creation-in-your-organization)" in the GitHub Help documentation. - */ - members_can_create_public_repositories?: boolean; - /** - * Specifies which types of repositories non-admin organization members can create. Can be one of: - * \* `all` - all organization members can create public and private repositories. - * \* `private` - members can create private repositories. This option is only available to repositories that are part of an organization on GitHub Enterprise Cloud. - * \* `none` - only admin members can create repositories. - * **Note:** This parameter is deprecated and will be removed in the future. Its return value ignores internal repositories. Using this parameter overrides values set in `members_can_create_repositories`. See the parameter deprecation notice in the operation description for details. - */ - members_allowed_repository_creation_type?: "all" | "private" | "none"; - /** - * Toggles whether organization members can create GitHub Pages sites. Can be one of: - * \* `true` - all organization members can create GitHub Pages sites. - * \* `false` - no organization members can create GitHub Pages sites. Existing published sites will not be impacted. - */ - members_can_create_pages?: boolean; - /** - * Toggles whether organization members can create public GitHub Pages sites. Can be one of: - * \* `true` - all organization members can create public GitHub Pages sites. - * \* `false` - no organization members can create public GitHub Pages sites. Existing published sites will not be impacted. - */ - members_can_create_public_pages?: boolean; - /** - * Toggles whether organization members can create private GitHub Pages sites. Can be one of: - * \* `true` - all organization members can create private GitHub Pages sites. - * \* `false` - no organization members can create private GitHub Pages sites. Existing published sites will not be impacted. - */ - members_can_create_private_pages?: boolean; - blog?: string; - }; - }; - }; - }; - /** - * Gets the GitHub Actions permissions policy for repositories and allowed actions in an organization. - * - * You must authenticate using an access token with the `admin:org` scope to use this endpoint. GitHub Apps must have the `administration` organization permission to use this API. - */ - "actions/get-github-actions-permissions-organization": { - parameters: { - path: { - org: components["parameters"]["org"]; - }; - }; - responses: { - /** Response */ - 200: { - content: { - "application/json": components["schemas"]["actions-organization-permissions"]; - }; - }; - }; - }; - /** - * Sets the GitHub Actions permissions policy for repositories and allowed actions in an organization. - * - * If the organization belongs to an enterprise that has set restrictive permissions at the enterprise level, such as `allowed_actions` to `selected` actions, then you cannot override them for the organization. - * - * You must authenticate using an access token with the `admin:org` scope to use this endpoint. GitHub Apps must have the `administration` organization permission to use this API. - */ - "actions/set-github-actions-permissions-organization": { - parameters: { - path: { - org: components["parameters"]["org"]; - }; - }; - responses: { - /** Response */ - 204: never; - }; - requestBody: { - content: { - "application/json": { - enabled_repositories: components["schemas"]["enabled-repositories"]; - allowed_actions?: components["schemas"]["allowed-actions"]; - }; - }; - }; - }; - /** - * Lists the selected repositories that are enabled for GitHub Actions in an organization. To use this endpoint, the organization permission policy for `enabled_repositories` must be configured to `selected`. For more information, see "[Set GitHub Actions permissions for an organization](#set-github-actions-permissions-for-an-organization)." - * - * You must authenticate using an access token with the `admin:org` scope to use this endpoint. GitHub Apps must have the `administration` organization permission to use this API. - */ - "actions/list-selected-repositories-enabled-github-actions-organization": { - parameters: { - path: { - org: components["parameters"]["org"]; - }; - query: { - /** Results per page (max 100) */ - per_page?: components["parameters"]["per-page"]; - /** Page number of the results to fetch. */ - page?: components["parameters"]["page"]; - }; - }; - responses: { - /** Response */ - 200: { - content: { - "application/json": { - total_count: number; - repositories: components["schemas"]["repository"][]; - }; - }; - }; - }; - }; - /** - * Replaces the list of selected repositories that are enabled for GitHub Actions in an organization. To use this endpoint, the organization permission policy for `enabled_repositories` must be configured to `selected`. For more information, see "[Set GitHub Actions permissions for an organization](#set-github-actions-permissions-for-an-organization)." - * - * You must authenticate using an access token with the `admin:org` scope to use this endpoint. GitHub Apps must have the `administration` organization permission to use this API. - */ - "actions/set-selected-repositories-enabled-github-actions-organization": { - parameters: { - path: { - org: components["parameters"]["org"]; - }; - }; - responses: { - /** Response */ - 204: never; - }; - requestBody: { - content: { - "application/json": { - /** List of repository IDs to enable for GitHub Actions. */ - selected_repository_ids: number[]; - }; - }; - }; - }; - /** - * Adds a repository to the list of selected repositories that are enabled for GitHub Actions in an organization. To use this endpoint, the organization permission policy for `enabled_repositories` must be must be configured to `selected`. For more information, see "[Set GitHub Actions permissions for an organization](#set-github-actions-permissions-for-an-organization)." - * - * You must authenticate using an access token with the `admin:org` scope to use this endpoint. GitHub Apps must have the `administration` organization permission to use this API. - */ - "actions/enable-selected-repository-github-actions-organization": { - parameters: { - path: { - org: components["parameters"]["org"]; - repository_id: components["parameters"]["repository-id"]; - }; - }; - responses: { - /** Response */ - 204: never; - }; - }; - /** - * Removes a repository from the list of selected repositories that are enabled for GitHub Actions in an organization. To use this endpoint, the organization permission policy for `enabled_repositories` must be configured to `selected`. For more information, see "[Set GitHub Actions permissions for an organization](#set-github-actions-permissions-for-an-organization)." - * - * You must authenticate using an access token with the `admin:org` scope to use this endpoint. GitHub Apps must have the `administration` organization permission to use this API. - */ - "actions/disable-selected-repository-github-actions-organization": { - parameters: { - path: { - org: components["parameters"]["org"]; - repository_id: components["parameters"]["repository-id"]; - }; - }; - responses: { - /** Response */ - 204: never; - }; - }; - /** - * Gets the selected actions that are allowed in an organization. To use this endpoint, the organization permission policy for `allowed_actions` must be configured to `selected`. For more information, see "[Set GitHub Actions permissions for an organization](#set-github-actions-permissions-for-an-organization)."" - * - * You must authenticate using an access token with the `admin:org` scope to use this endpoint. GitHub Apps must have the `administration` organization permission to use this API. - */ - "actions/get-allowed-actions-organization": { - parameters: { - path: { - org: components["parameters"]["org"]; - }; - }; - responses: { - /** Response */ - 200: { - content: { - "application/json": components["schemas"]["selected-actions"]; - }; - }; - }; - }; - /** - * Sets the actions that are allowed in an organization. To use this endpoint, the organization permission policy for `allowed_actions` must be configured to `selected`. For more information, see "[Set GitHub Actions permissions for an organization](#set-github-actions-permissions-for-an-organization)." - * - * If the organization belongs to an enterprise that has `selected` actions set at the enterprise level, then you cannot override any of the enterprise's allowed actions settings. - * - * To use the `patterns_allowed` setting for private repositories, the organization must belong to an enterprise. If the organization does not belong to an enterprise, then the `patterns_allowed` setting only applies to public repositories in the organization. - * - * You must authenticate using an access token with the `admin:org` scope to use this endpoint. GitHub Apps must have the `administration` organization permission to use this API. - */ - "actions/set-allowed-actions-organization": { - parameters: { - path: { - org: components["parameters"]["org"]; - }; - }; - responses: { - /** Response */ - 204: never; - }; - requestBody: { - content: { - "application/json": components["schemas"]["selected-actions"]; - }; - }; - }; - /** - * The self-hosted runner groups REST API is available with GitHub Enterprise Cloud. For more information, see "[GitHub's products](https://docs.github.com/github/getting-started-with-github/githubs-products)." - * - * Lists all self-hosted runner groups configured in an organization and inherited from an enterprise. - * - * You must authenticate using an access token with the `admin:org` scope to use this endpoint. - */ - "actions/list-self-hosted-runner-groups-for-org": { - parameters: { - path: { - org: components["parameters"]["org"]; - }; - query: { - /** Results per page (max 100) */ - per_page?: components["parameters"]["per-page"]; - /** Page number of the results to fetch. */ - page?: components["parameters"]["page"]; - }; - }; - responses: { - /** Response */ - 200: { - content: { - "application/json": { - total_count: number; - runner_groups: components["schemas"]["runner-groups-org"][]; - }; - }; - }; - }; - }; - /** - * The self-hosted runner groups REST API is available with GitHub Enterprise Cloud and GitHub Enterprise Server. For more information, see "[GitHub's products](https://docs.github.com/github/getting-started-with-github/githubs-products)." - * - * Creates a new self-hosted runner group for an organization. - * - * You must authenticate using an access token with the `admin:org` scope to use this endpoint. - */ - "actions/create-self-hosted-runner-group-for-org": { - parameters: { - path: { - org: components["parameters"]["org"]; - }; - }; - responses: { - /** Response */ - 201: { - content: { - "application/json": components["schemas"]["runner-groups-org"]; - }; - }; - }; - requestBody: { - content: { - "application/json": { - /** Name of the runner group. */ - name: string; - /** Visibility of a runner group. You can select all repositories, select individual repositories, or limit access to private repositories. Can be one of: `all`, `selected`, or `private`. */ - visibility?: "selected" | "all" | "private"; - /** List of repository IDs that can access the runner group. */ - selected_repository_ids?: number[]; - /** List of runner IDs to add to the runner group. */ - runners?: number[]; - }; - }; - }; - }; - /** - * The self-hosted runner groups REST API is available with GitHub Enterprise Cloud. For more information, see "[GitHub's products](https://docs.github.com/github/getting-started-with-github/githubs-products)." - * - * Gets a specific self-hosted runner group for an organization. - * - * You must authenticate using an access token with the `admin:org` scope to use this endpoint. - */ - "actions/get-self-hosted-runner-group-for-org": { - parameters: { - path: { - org: components["parameters"]["org"]; - /** Unique identifier of the self-hosted runner group. */ - runner_group_id: components["parameters"]["runner-group-id"]; - }; - }; - responses: { - /** Response */ - 200: { - content: { - "application/json": components["schemas"]["runner-groups-org"]; - }; - }; - }; - }; - /** - * The self-hosted runner groups REST API is available with GitHub Enterprise Cloud. For more information, see "[GitHub's products](https://docs.github.com/github/getting-started-with-github/githubs-products)." - * - * Deletes a self-hosted runner group for an organization. - * - * You must authenticate using an access token with the `admin:org` scope to use this endpoint. - */ - "actions/delete-self-hosted-runner-group-from-org": { - parameters: { - path: { - org: components["parameters"]["org"]; - /** Unique identifier of the self-hosted runner group. */ - runner_group_id: components["parameters"]["runner-group-id"]; - }; - }; - responses: { - /** Response */ - 204: never; - }; - }; - /** - * The self-hosted runner groups REST API is available with GitHub Enterprise Cloud. For more information, see "[GitHub's products](https://docs.github.com/github/getting-started-with-github/githubs-products)." - * - * Updates the `name` and `visibility` of a self-hosted runner group in an organization. - * - * You must authenticate using an access token with the `admin:org` scope to use this endpoint. - */ - "actions/update-self-hosted-runner-group-for-org": { - parameters: { - path: { - org: components["parameters"]["org"]; - /** Unique identifier of the self-hosted runner group. */ - runner_group_id: components["parameters"]["runner-group-id"]; - }; - }; - responses: { - /** Response */ - 200: { - content: { - "application/json": components["schemas"]["runner-groups-org"]; - }; - }; - }; - requestBody: { - content: { - "application/json": { - /** Name of the runner group. */ - name?: string; - /** Visibility of a runner group. You can select all repositories, select individual repositories, or all private repositories. Can be one of: `all`, `selected`, or `private`. */ - visibility?: "selected" | "all" | "private"; - }; - }; - }; - }; - /** - * The self-hosted runner groups REST API is available with GitHub Enterprise Cloud and GitHub Enterprise Server. For more information, see "[GitHub's products](https://docs.github.com/github/getting-started-with-github/githubs-products)." - * - * Lists the repositories with access to a self-hosted runner group configured in an organization. - * - * You must authenticate using an access token with the `admin:org` scope to use this endpoint. - */ - "actions/list-repo-access-to-self-hosted-runner-group-in-org": { - parameters: { - path: { - org: components["parameters"]["org"]; - /** Unique identifier of the self-hosted runner group. */ - runner_group_id: components["parameters"]["runner-group-id"]; - }; - query: { - /** Page number of the results to fetch. */ - page?: components["parameters"]["page"]; - /** Results per page (max 100) */ - per_page?: components["parameters"]["per-page"]; - }; - }; - responses: { - /** Response */ - 200: { - content: { - "application/json": { - total_count: number; - repositories: components["schemas"]["minimal-repository"][]; - }; - }; - }; - }; - }; - /** - * The self-hosted runner groups REST API is available with GitHub Enterprise Cloud. For more information, see "[GitHub's products](https://docs.github.com/github/getting-started-with-github/githubs-products)." - * - * Replaces the list of repositories that have access to a self-hosted runner group configured in an organization. - * - * You must authenticate using an access token with the `admin:org` scope to use this endpoint. - */ - "actions/set-repo-access-to-self-hosted-runner-group-in-org": { - parameters: { - path: { - org: components["parameters"]["org"]; - /** Unique identifier of the self-hosted runner group. */ - runner_group_id: components["parameters"]["runner-group-id"]; - }; - }; - responses: { - /** Response */ - 204: never; - }; - requestBody: { - content: { - "application/json": { - /** List of repository IDs that can access the runner group. */ - selected_repository_ids: number[]; - }; - }; - }; - }; - /** - * The self-hosted runner groups REST API is available with GitHub Enterprise Cloud. For more information, see "[GitHub's products](https://docs.github.com/github/getting-started-with-github/githubs-products)." - * - * - * Adds a repository to the list of selected repositories that can access a self-hosted runner group. The runner group must have `visibility` set to `selected`. For more information, see "[Create a self-hosted runner group for an organization](#create-a-self-hosted-runner-group-for-an-organization)." - * - * You must authenticate using an access token with the `admin:org` - * scope to use this endpoint. - */ - "actions/add-repo-access-to-self-hosted-runner-group-in-org": { - parameters: { - path: { - org: components["parameters"]["org"]; - /** Unique identifier of the self-hosted runner group. */ - runner_group_id: components["parameters"]["runner-group-id"]; - repository_id: components["parameters"]["repository-id"]; - }; - }; - responses: { - /** Response */ - 204: never; - }; - }; - /** - * The self-hosted runner groups REST API is available with GitHub Enterprise Cloud. For more information, see "[GitHub's products](https://docs.github.com/github/getting-started-with-github/githubs-products)." - * - * - * Removes a repository from the list of selected repositories that can access a self-hosted runner group. The runner group must have `visibility` set to `selected`. For more information, see "[Create a self-hosted runner group for an organization](#create-a-self-hosted-runner-group-for-an-organization)." - * - * You must authenticate using an access token with the `admin:org` scope to use this endpoint. - */ - "actions/remove-repo-access-to-self-hosted-runner-group-in-org": { - parameters: { - path: { - org: components["parameters"]["org"]; - /** Unique identifier of the self-hosted runner group. */ - runner_group_id: components["parameters"]["runner-group-id"]; - repository_id: components["parameters"]["repository-id"]; - }; - }; - responses: { - /** Response */ - 204: never; - }; - }; - /** - * The self-hosted runner groups REST API is available with GitHub Enterprise Cloud. For more information, see "[GitHub's products](https://docs.github.com/github/getting-started-with-github/githubs-products)." - * - * Lists self-hosted runners that are in a specific organization group. - * - * You must authenticate using an access token with the `admin:org` scope to use this endpoint. - */ - "actions/list-self-hosted-runners-in-group-for-org": { - parameters: { - path: { - org: components["parameters"]["org"]; - /** Unique identifier of the self-hosted runner group. */ - runner_group_id: components["parameters"]["runner-group-id"]; - }; - query: { - /** Results per page (max 100) */ - per_page?: components["parameters"]["per-page"]; - /** Page number of the results to fetch. */ - page?: components["parameters"]["page"]; - }; - }; - responses: { - /** Response */ - 200: { - headers: {}; - content: { - "application/json": { - total_count: number; - runners: components["schemas"]["runner"][]; - }; - }; - }; - }; - }; - /** - * The self-hosted runner groups REST API is available with GitHub Enterprise Cloud. For more information, see "[GitHub's products](https://docs.github.com/github/getting-started-with-github/githubs-products)." - * - * Replaces the list of self-hosted runners that are part of an organization runner group. - * - * You must authenticate using an access token with the `admin:org` scope to use this endpoint. - */ - "actions/set-self-hosted-runners-in-group-for-org": { - parameters: { - path: { - org: components["parameters"]["org"]; - /** Unique identifier of the self-hosted runner group. */ - runner_group_id: components["parameters"]["runner-group-id"]; - }; - }; - responses: { - /** Response */ - 204: never; - }; - requestBody: { - content: { - "application/json": { - /** List of runner IDs to add to the runner group. */ - runners: number[]; - }; - }; - }; - }; - /** - * The self-hosted runner groups REST API is available with GitHub Enterprise Cloud. For more information, see "[GitHub's products](https://docs.github.com/github/getting-started-with-github/githubs-products)." - * - * - * Adds a self-hosted runner to a runner group configured in an organization. - * - * You must authenticate using an access token with the `admin:org` - * scope to use this endpoint. - */ - "actions/add-self-hosted-runner-to-group-for-org": { - parameters: { - path: { - org: components["parameters"]["org"]; - /** Unique identifier of the self-hosted runner group. */ - runner_group_id: components["parameters"]["runner-group-id"]; - /** Unique identifier of the self-hosted runner. */ - runner_id: components["parameters"]["runner-id"]; - }; - }; - responses: { - /** Response */ - 204: never; - }; - }; - /** - * The self-hosted runner groups REST API is available with GitHub Enterprise Cloud. For more information, see "[GitHub's products](https://docs.github.com/github/getting-started-with-github/githubs-products)." - * - * - * Removes a self-hosted runner from a group configured in an organization. The runner is then returned to the default group. - * - * You must authenticate using an access token with the `admin:org` scope to use this endpoint. - */ - "actions/remove-self-hosted-runner-from-group-for-org": { - parameters: { - path: { - org: components["parameters"]["org"]; - /** Unique identifier of the self-hosted runner group. */ - runner_group_id: components["parameters"]["runner-group-id"]; - /** Unique identifier of the self-hosted runner. */ - runner_id: components["parameters"]["runner-id"]; - }; - }; - responses: { - /** Response */ - 204: never; - }; - }; - /** - * Lists all self-hosted runners configured in an organization. - * - * You must authenticate using an access token with the `admin:org` scope to use this endpoint. - */ - "actions/list-self-hosted-runners-for-org": { - parameters: { - path: { - org: components["parameters"]["org"]; - }; - query: { - /** Results per page (max 100) */ - per_page?: components["parameters"]["per-page"]; - /** Page number of the results to fetch. */ - page?: components["parameters"]["page"]; - }; - }; - responses: { - /** Response */ - 200: { - headers: {}; - content: { - "application/json": { - total_count: number; - runners: components["schemas"]["runner"][]; - }; - }; - }; - }; - }; - /** - * Lists binaries for the runner application that you can download and run. - * - * You must authenticate using an access token with the `admin:org` scope to use this endpoint. - */ - "actions/list-runner-applications-for-org": { - parameters: { - path: { - org: components["parameters"]["org"]; - }; - }; - responses: { - /** Response */ - 200: { - content: { - "application/json": components["schemas"]["runner-application"][]; - }; - }; - }; - }; - /** - * Returns a token that you can pass to the `config` script. The token expires after one hour. - * - * You must authenticate using an access token with the `admin:org` scope to use this endpoint. - * - * #### Example using registration token - * - * Configure your self-hosted runner, replacing `TOKEN` with the registration token provided by this endpoint. - * - * ``` - * ./config.sh --url https://github.com/octo-org --token TOKEN - * ``` - */ - "actions/create-registration-token-for-org": { - parameters: { - path: { - org: components["parameters"]["org"]; - }; - }; - responses: { - /** Response */ - 201: { - content: { - "application/json": components["schemas"]["authentication-token"]; - }; - }; - }; - }; - /** - * Returns a token that you can pass to the `config` script to remove a self-hosted runner from an organization. The token expires after one hour. - * - * You must authenticate using an access token with the `admin:org` scope to use this endpoint. - * - * #### Example using remove token - * - * To remove your self-hosted runner from an organization, replace `TOKEN` with the remove token provided by this - * endpoint. - * - * ``` - * ./config.sh remove --token TOKEN - * ``` - */ - "actions/create-remove-token-for-org": { - parameters: { - path: { - org: components["parameters"]["org"]; - }; - }; - responses: { - /** Response */ - 201: { - content: { - "application/json": components["schemas"]["authentication-token"]; - }; - }; - }; - }; - /** - * Gets a specific self-hosted runner configured in an organization. - * - * You must authenticate using an access token with the `admin:org` scope to use this endpoint. - */ - "actions/get-self-hosted-runner-for-org": { - parameters: { - path: { - org: components["parameters"]["org"]; - /** Unique identifier of the self-hosted runner. */ - runner_id: components["parameters"]["runner-id"]; - }; - }; - responses: { - /** Response */ - 200: { - content: { - "application/json": components["schemas"]["runner"]; - }; - }; - }; - }; - /** - * Forces the removal of a self-hosted runner from an organization. You can use this endpoint to completely remove the runner when the machine you were using no longer exists. - * - * You must authenticate using an access token with the `admin:org` scope to use this endpoint. - */ - "actions/delete-self-hosted-runner-from-org": { - parameters: { - path: { - org: components["parameters"]["org"]; - /** Unique identifier of the self-hosted runner. */ - runner_id: components["parameters"]["runner-id"]; - }; - }; - responses: { - /** Response */ - 204: never; - }; - }; - /** Lists all secrets available in an organization without revealing their encrypted values. You must authenticate using an access token with the `admin:org` scope to use this endpoint. GitHub Apps must have the `secrets` organization permission to use this endpoint. */ - "actions/list-org-secrets": { - parameters: { - path: { - org: components["parameters"]["org"]; - }; - query: { - /** Results per page (max 100) */ - per_page?: components["parameters"]["per-page"]; - /** Page number of the results to fetch. */ - page?: components["parameters"]["page"]; - }; - }; - responses: { - /** Response */ - 200: { - headers: {}; - content: { - "application/json": { - total_count: number; - secrets: components["schemas"]["organization-actions-secret"][]; - }; - }; - }; - }; - }; - /** Gets your public key, which you need to encrypt secrets. You need to encrypt a secret before you can create or update secrets. You must authenticate using an access token with the `admin:org` scope to use this endpoint. GitHub Apps must have the `secrets` organization permission to use this endpoint. */ - "actions/get-org-public-key": { - parameters: { - path: { - org: components["parameters"]["org"]; - }; - }; - responses: { - /** Response */ - 200: { - content: { - "application/json": components["schemas"]["actions-public-key"]; - }; - }; - }; - }; - /** Gets a single organization secret without revealing its encrypted value. You must authenticate using an access token with the `admin:org` scope to use this endpoint. GitHub Apps must have the `secrets` organization permission to use this endpoint. */ - "actions/get-org-secret": { - parameters: { - path: { - org: components["parameters"]["org"]; - /** secret_name parameter */ - secret_name: components["parameters"]["secret-name"]; - }; - }; - responses: { - /** Response */ - 200: { - content: { - "application/json": components["schemas"]["organization-actions-secret"]; - }; - }; - }; - }; - /** - * Creates or updates an organization secret with an encrypted value. Encrypt your secret using - * [LibSodium](https://libsodium.gitbook.io/doc/bindings_for_other_languages). You must authenticate using an access - * token with the `admin:org` scope to use this endpoint. GitHub Apps must have the `secrets` organization permission to - * use this endpoint. - * - * #### Example encrypting a secret using Node.js - * - * Encrypt your secret using the [tweetsodium](https://github.com/github/tweetsodium) library. - * - * ``` - * const sodium = require('tweetsodium'); - * - * const key = "base64-encoded-public-key"; - * const value = "plain-text-secret"; - * - * // Convert the message and key to Uint8Array's (Buffer implements that interface) - * const messageBytes = Buffer.from(value); - * const keyBytes = Buffer.from(key, 'base64'); - * - * // Encrypt using LibSodium. - * const encryptedBytes = sodium.seal(messageBytes, keyBytes); - * - * // Base64 the encrypted secret - * const encrypted = Buffer.from(encryptedBytes).toString('base64'); - * - * console.log(encrypted); - * ``` - * - * - * #### Example encrypting a secret using Python - * - * Encrypt your secret using [pynacl](https://pynacl.readthedocs.io/en/stable/public/#nacl-public-sealedbox) with Python 3. - * - * ``` - * from base64 import b64encode - * from nacl import encoding, public - * - * def encrypt(public_key: str, secret_value: str) -> str: - * """Encrypt a Unicode string using the public key.""" - * public_key = public.PublicKey(public_key.encode("utf-8"), encoding.Base64Encoder()) - * sealed_box = public.SealedBox(public_key) - * encrypted = sealed_box.encrypt(secret_value.encode("utf-8")) - * return b64encode(encrypted).decode("utf-8") - * ``` - * - * #### Example encrypting a secret using C# - * - * Encrypt your secret using the [Sodium.Core](https://www.nuget.org/packages/Sodium.Core/) package. - * - * ``` - * var secretValue = System.Text.Encoding.UTF8.GetBytes("mySecret"); - * var publicKey = Convert.FromBase64String("2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvvcCU="); - * - * var sealedPublicKeyBox = Sodium.SealedPublicKeyBox.Create(secretValue, publicKey); - * - * Console.WriteLine(Convert.ToBase64String(sealedPublicKeyBox)); - * ``` - * - * #### Example encrypting a secret using Ruby - * - * Encrypt your secret using the [rbnacl](https://github.com/RubyCrypto/rbnacl) gem. - * - * ```ruby - * require "rbnacl" - * require "base64" - * - * key = Base64.decode64("+ZYvJDZMHUfBkJdyq5Zm9SKqeuBQ4sj+6sfjlH4CgG0=") - * public_key = RbNaCl::PublicKey.new(key) - * - * box = RbNaCl::Boxes::Sealed.from_public_key(public_key) - * encrypted_secret = box.encrypt("my_secret") - * - * # Print the base64 encoded secret - * puts Base64.strict_encode64(encrypted_secret) - * ``` - */ - "actions/create-or-update-org-secret": { - parameters: { - path: { - org: components["parameters"]["org"]; - /** secret_name parameter */ - secret_name: components["parameters"]["secret-name"]; - }; - }; - responses: { - /** Response when creating a secret */ - 201: { - content: { - "application/json": components["schemas"]["empty-object"]; - }; - }; - /** Response when updating a secret */ - 204: never; - }; - requestBody: { - content: { - "application/json": { - /** Value for your secret, encrypted with [LibSodium](https://libsodium.gitbook.io/doc/bindings_for_other_languages) using the public key retrieved from the [Get an organization public key](https://docs.github.com/rest/reference/actions#get-an-organization-public-key) endpoint. */ - encrypted_value?: string; - /** ID of the key you used to encrypt the secret. */ - key_id?: string; - /** - * Configures the access that repositories have to the organization secret. Can be one of: - * \- `all` - All repositories in an organization can access the secret. - * \- `private` - Private repositories in an organization can access the secret. - * \- `selected` - Only specific repositories can access the secret. - */ - visibility: "all" | "private" | "selected"; - /** An array of repository ids that can access the organization secret. You can only provide a list of repository ids when the `visibility` is set to `selected`. You can manage the list of selected repositories using the [List selected repositories for an organization secret](https://docs.github.com/rest/reference/actions#list-selected-repositories-for-an-organization-secret), [Set selected repositories for an organization secret](https://docs.github.com/rest/reference/actions#set-selected-repositories-for-an-organization-secret), and [Remove selected repository from an organization secret](https://docs.github.com/rest/reference/actions#remove-selected-repository-from-an-organization-secret) endpoints. */ - selected_repository_ids?: string[]; - }; - }; - }; - }; - /** Deletes a secret in an organization using the secret name. You must authenticate using an access token with the `admin:org` scope to use this endpoint. GitHub Apps must have the `secrets` organization permission to use this endpoint. */ - "actions/delete-org-secret": { - parameters: { - path: { - org: components["parameters"]["org"]; - /** secret_name parameter */ - secret_name: components["parameters"]["secret-name"]; - }; - }; - responses: { - /** Response */ - 204: never; - }; - }; - /** Lists all repositories that have been selected when the `visibility` for repository access to a secret is set to `selected`. You must authenticate using an access token with the `admin:org` scope to use this endpoint. GitHub Apps must have the `secrets` organization permission to use this endpoint. */ - "actions/list-selected-repos-for-org-secret": { - parameters: { - path: { - org: components["parameters"]["org"]; - /** secret_name parameter */ - secret_name: components["parameters"]["secret-name"]; - }; - query: { - /** Page number of the results to fetch. */ - page?: components["parameters"]["page"]; - /** Results per page (max 100) */ - per_page?: components["parameters"]["per-page"]; - }; - }; - responses: { - /** Response */ - 200: { - content: { - "application/json": { - total_count: number; - repositories: components["schemas"]["minimal-repository"][]; - }; - }; - }; - }; - }; - /** Replaces all repositories for an organization secret when the `visibility` for repository access is set to `selected`. The visibility is set when you [Create or update an organization secret](https://docs.github.com/rest/reference/actions#create-or-update-an-organization-secret). You must authenticate using an access token with the `admin:org` scope to use this endpoint. GitHub Apps must have the `secrets` organization permission to use this endpoint. */ - "actions/set-selected-repos-for-org-secret": { - parameters: { - path: { - org: components["parameters"]["org"]; - /** secret_name parameter */ - secret_name: components["parameters"]["secret-name"]; - }; - }; - responses: { - /** Response */ - 204: never; - }; - requestBody: { - content: { - "application/json": { - /** An array of repository ids that can access the organization secret. You can only provide a list of repository ids when the `visibility` is set to `selected`. You can add and remove individual repositories using the [Set selected repositories for an organization secret](https://docs.github.com/rest/reference/actions#set-selected-repositories-for-an-organization-secret) and [Remove selected repository from an organization secret](https://docs.github.com/rest/reference/actions#remove-selected-repository-from-an-organization-secret) endpoints. */ - selected_repository_ids?: number[]; - }; - }; - }; - }; - /** Adds a repository to an organization secret when the `visibility` for repository access is set to `selected`. The visibility is set when you [Create or update an organization secret](https://docs.github.com/rest/reference/actions#create-or-update-an-organization-secret). You must authenticate using an access token with the `admin:org` scope to use this endpoint. GitHub Apps must have the `secrets` organization permission to use this endpoint. */ - "actions/add-selected-repo-to-org-secret": { - parameters: { - path: { - org: components["parameters"]["org"]; - /** secret_name parameter */ - secret_name: components["parameters"]["secret-name"]; - repository_id: number; - }; - }; - responses: { - /** No Content when repository was added to the selected list */ - 204: never; - /** Conflict when visibility type is not set to selected */ - 409: unknown; - }; - }; - /** Removes a repository from an organization secret when the `visibility` for repository access is set to `selected`. The visibility is set when you [Create or update an organization secret](https://docs.github.com/rest/reference/actions#create-or-update-an-organization-secret). You must authenticate using an access token with the `admin:org` scope to use this endpoint. GitHub Apps must have the `secrets` organization permission to use this endpoint. */ - "actions/remove-selected-repo-from-org-secret": { - parameters: { - path: { - org: components["parameters"]["org"]; - /** secret_name parameter */ - secret_name: components["parameters"]["secret-name"]; - repository_id: number; - }; - }; - responses: { - /** Response when repository was removed from the selected list */ - 204: never; - /** Conflict when visibility type not set to selected */ - 409: unknown; - }; - }; - /** - * Gets the audit log for an organization. For more information, see "[Reviewing the audit log for your organization](https://docs.github.com/github/setting-up-and-managing-organizations-and-teams/reviewing-the-audit-log-for-your-organization)." - * - * To use this endpoint, you must be an organization owner, and you must use an access token with the `admin:org` scope. GitHub Apps must have the `organization_administration` read permission to use this endpoint. - */ - "orgs/get-audit-log": { - parameters: { - path: { - org: components["parameters"]["org"]; - }; - query: { - /** A search phrase. For more information, see [Searching the audit log](https://docs.github.com/github/setting-up-and-managing-organizations-and-teams/reviewing-the-audit-log-for-your-organization#searching-the-audit-log). */ - phrase?: components["parameters"]["audit-log-phrase"]; - /** - * The event types to include: - * - * - `web` - returns web (non-Git) events - * - `git` - returns Git events - * - `all` - returns both web and Git events - * - * The default is `web`. - */ - include?: components["parameters"]["audit-log-include"]; - /** A cursor, as given in the [Link header](https://docs.github.com/rest/overview/resources-in-the-rest-api#link-header). If specified, the query only searches for events after this cursor. */ - after?: components["parameters"]["audit-log-after"]; - /** A cursor, as given in the [Link header](https://docs.github.com/rest/overview/resources-in-the-rest-api#link-header). If specified, the query only searches for events before this cursor. */ - before?: components["parameters"]["audit-log-before"]; - /** - * The order of audit log events. To list newest events first, specify `desc`. To list oldest events first, specify `asc`. - * - * The default is `desc`. - */ - order?: components["parameters"]["audit-log-order"]; - /** Results per page (max 100) */ - per_page?: components["parameters"]["per-page"]; - /** Page number of the results to fetch. */ - page?: components["parameters"]["page"]; - }; - }; - responses: { - /** Response */ - 200: { - content: { - "application/json": components["schemas"]["audit-log-event"][]; - }; - }; - }; - }; - /** List the users blocked by an organization. */ - "orgs/list-blocked-users": { - parameters: { - path: { - org: components["parameters"]["org"]; - }; - }; - responses: { - /** Response */ - 200: { - content: { - "application/json": components["schemas"]["simple-user"][]; - }; - }; - 415: components["responses"]["preview_header_missing"]; - }; - }; - "orgs/check-blocked-user": { - parameters: { - path: { - org: components["parameters"]["org"]; - username: components["parameters"]["username"]; - }; - }; - responses: { - /** If the user is blocked: */ - 204: never; - /** If the user is not blocked: */ - 404: { - content: { - "application/json": components["schemas"]["basic-error"]; - }; - }; - }; - }; - "orgs/block-user": { - parameters: { - path: { - org: components["parameters"]["org"]; - username: components["parameters"]["username"]; - }; - }; - responses: { - /** Response */ - 204: never; - 422: components["responses"]["validation_failed"]; - }; - }; - "orgs/unblock-user": { - parameters: { - path: { - org: components["parameters"]["org"]; - username: components["parameters"]["username"]; - }; - }; - responses: { - /** Response */ - 204: never; - }; - }; - /** - * Listing and deleting credential authorizations is available to organizations with GitHub Enterprise Cloud. For more information, see [GitHub's products](https://help.github.com/github/getting-started-with-github/githubs-products). - * - * An authenticated organization owner with the `read:org` scope can list all credential authorizations for an organization that uses SAML single sign-on (SSO). The credentials are either personal access tokens or SSH keys that organization members have authorized for the organization. For more information, see [About authentication with SAML single sign-on](https://help.github.com/en/articles/about-authentication-with-saml-single-sign-on). - */ - "orgs/list-saml-sso-authorizations": { - parameters: { - path: { - org: components["parameters"]["org"]; - }; - }; - responses: { - /** Response */ - 200: { - content: { - "application/json": components["schemas"]["credential-authorization"][]; - }; - }; - }; - }; - /** - * Listing and deleting credential authorizations is available to organizations with GitHub Enterprise Cloud. For more information, see [GitHub's products](https://help.github.com/github/getting-started-with-github/githubs-products). - * - * An authenticated organization owner with the `admin:org` scope can remove a credential authorization for an organization that uses SAML SSO. Once you remove someone's credential authorization, they will need to create a new personal access token or SSH key and authorize it for the organization they want to access. - */ - "orgs/remove-saml-sso-authorization": { - parameters: { - path: { - org: components["parameters"]["org"]; - credential_id: number; - }; - }; - responses: { - /** Response */ - 204: never; - 404: components["responses"]["not_found"]; - }; - }; - "activity/list-public-org-events": { - parameters: { - path: { - org: components["parameters"]["org"]; - }; - query: { - /** Results per page (max 100) */ - per_page?: components["parameters"]["per-page"]; - /** Page number of the results to fetch. */ - page?: components["parameters"]["page"]; - }; - }; - responses: { - /** Response */ - 200: { - content: { - "application/json": components["schemas"]["event"][]; - }; - }; - }; - }; - /** The return hash contains `failed_at` and `failed_reason` fields which represent the time at which the invitation failed and the reason for the failure. */ - "orgs/list-failed-invitations": { - parameters: { - path: { - org: components["parameters"]["org"]; - }; - query: { - /** Results per page (max 100) */ - per_page?: components["parameters"]["per-page"]; - /** Page number of the results to fetch. */ - page?: components["parameters"]["page"]; - }; - }; - responses: { - /** Response */ - 200: { - headers: {}; - content: { - "application/json": components["schemas"]["organization-invitation"][]; - }; - }; - 404: components["responses"]["not_found"]; - }; - }; - "orgs/list-webhooks": { - parameters: { - path: { - org: components["parameters"]["org"]; - }; - query: { - /** Results per page (max 100) */ - per_page?: components["parameters"]["per-page"]; - /** Page number of the results to fetch. */ - page?: components["parameters"]["page"]; - }; - }; - responses: { - /** Response */ - 200: { - headers: {}; - content: { - "application/json": components["schemas"]["org-hook"][]; - }; - }; - 404: components["responses"]["not_found"]; - }; - }; - /** Here's how you can create a hook that posts payloads in JSON format: */ - "orgs/create-webhook": { - parameters: { - path: { - org: components["parameters"]["org"]; - }; - }; - responses: { - /** Response */ - 201: { - headers: { - Location?: string; - }; - content: { - "application/json": components["schemas"]["org-hook"]; - }; - }; - 404: components["responses"]["not_found"]; - 422: components["responses"]["validation_failed"]; - }; - requestBody: { - content: { - "application/json": { - /** Must be passed as "web". */ - name: string; - /** Key/value pairs to provide settings for this webhook. [These are defined below](https://docs.github.com/rest/reference/orgs#create-hook-config-params). */ - config: { - url: components["schemas"]["webhook-config-url"]; - content_type?: components["schemas"]["webhook-config-content-type"]; - secret?: components["schemas"]["webhook-config-secret"]; - insecure_ssl?: components["schemas"]["webhook-config-insecure-ssl"]; - username?: string; - password?: string; - }; - /** Determines what [events](https://docs.github.com/webhooks/event-payloads) the hook is triggered for. */ - events?: string[]; - /** Determines if notifications are sent when the webhook is triggered. Set to `true` to send notifications. */ - active?: boolean; - }; - }; - }; - }; - /** Returns a webhook configured in an organization. To get only the webhook `config` properties, see "[Get a webhook configuration for an organization](/rest/reference/orgs#get-a-webhook-configuration-for-an-organization)." */ - "orgs/get-webhook": { - parameters: { - path: { - org: components["parameters"]["org"]; - hook_id: components["parameters"]["hook-id"]; - }; - }; - responses: { - /** Response */ - 200: { - content: { - "application/json": components["schemas"]["org-hook"]; - }; - }; - 404: components["responses"]["not_found"]; - }; - }; - "orgs/delete-webhook": { - parameters: { - path: { - org: components["parameters"]["org"]; - hook_id: components["parameters"]["hook-id"]; - }; - }; - responses: { - /** Response */ - 204: never; - 404: components["responses"]["not_found"]; - }; - }; - /** Updates a webhook configured in an organization. When you update a webhook, the `secret` will be overwritten. If you previously had a `secret` set, you must provide the same `secret` or set a new `secret` or the secret will be removed. If you are only updating individual webhook `config` properties, use "[Update a webhook configuration for an organization](/rest/reference/orgs#update-a-webhook-configuration-for-an-organization)." */ - "orgs/update-webhook": { - parameters: { - path: { - org: components["parameters"]["org"]; - hook_id: components["parameters"]["hook-id"]; - }; - }; - responses: { - /** Response */ - 200: { - content: { - "application/json": components["schemas"]["org-hook"]; - }; - }; - 404: components["responses"]["not_found"]; - 422: components["responses"]["validation_failed"]; - }; - requestBody: { - content: { - "application/json": { - /** Key/value pairs to provide settings for this webhook. [These are defined below](https://docs.github.com/rest/reference/orgs#update-hook-config-params). */ - config?: { - url: components["schemas"]["webhook-config-url"]; - content_type?: components["schemas"]["webhook-config-content-type"]; - secret?: components["schemas"]["webhook-config-secret"]; - insecure_ssl?: components["schemas"]["webhook-config-insecure-ssl"]; - }; - /** Determines what [events](https://docs.github.com/webhooks/event-payloads) the hook is triggered for. */ - events?: string[]; - /** Determines if notifications are sent when the webhook is triggered. Set to `true` to send notifications. */ - active?: boolean; - name?: string; - }; - }; - }; - }; - /** - * Returns the webhook configuration for an organization. To get more information about the webhook, including the `active` state and `events`, use "[Get an organization webhook ](/rest/reference/orgs#get-an-organization-webhook)." - * - * Access tokens must have the `admin:org_hook` scope, and GitHub Apps must have the `organization_hooks:read` permission. - */ - "orgs/get-webhook-config-for-org": { - parameters: { - path: { - org: components["parameters"]["org"]; - hook_id: components["parameters"]["hook-id"]; - }; - }; - responses: { - /** Response */ - 200: { - content: { - "application/json": components["schemas"]["webhook-config"]; - }; - }; - }; - }; - /** - * Updates the webhook configuration for an organization. To update more information about the webhook, including the `active` state and `events`, use "[Update an organization webhook ](/rest/reference/orgs#update-an-organization-webhook)." - * - * Access tokens must have the `admin:org_hook` scope, and GitHub Apps must have the `organization_hooks:write` permission. - */ - "orgs/update-webhook-config-for-org": { - parameters: { - path: { - org: components["parameters"]["org"]; - hook_id: components["parameters"]["hook-id"]; - }; - }; - responses: { - /** Response */ - 200: { - content: { - "application/json": components["schemas"]["webhook-config"]; - }; - }; - }; - requestBody: { - content: { - "application/json": { - url?: components["schemas"]["webhook-config-url"]; - content_type?: components["schemas"]["webhook-config-content-type"]; - secret?: components["schemas"]["webhook-config-secret"]; - insecure_ssl?: components["schemas"]["webhook-config-insecure-ssl"]; - }; - }; - }; - }; - /** Returns a list of webhook deliveries for a webhook configured in an organization. */ - "orgs/list-webhook-deliveries": { - parameters: { - path: { - org: components["parameters"]["org"]; - hook_id: components["parameters"]["hook-id"]; - }; - query: { - /** Results per page (max 100) */ - per_page?: components["parameters"]["per-page"]; - /** Used for pagination: the starting delivery from which the page of deliveries is fetched. Refer to the `link` header for the next and previous page cursors. */ - cursor?: components["parameters"]["cursor"]; - }; - }; - responses: { - /** Response */ - 200: { - content: { - "application/json": components["schemas"]["hook-delivery-item"][]; - }; - }; - 400: components["responses"]["bad_request"]; - 422: components["responses"]["validation_failed"]; - }; - }; - /** Returns a delivery for a webhook configured in an organization. */ - "orgs/get-webhook-delivery": { - parameters: { - path: { - org: components["parameters"]["org"]; - hook_id: components["parameters"]["hook-id"]; - delivery_id: components["parameters"]["delivery-id"]; - }; - }; - responses: { - /** Response */ - 200: { - content: { - "application/json": components["schemas"]["hook-delivery"]; - }; - }; - 400: components["responses"]["bad_request"]; - 422: components["responses"]["validation_failed"]; - }; - }; - /** Redeliver a delivery for a webhook configured in an organization. */ - "orgs/redeliver-webhook-delivery": { - parameters: { - path: { - org: components["parameters"]["org"]; - hook_id: components["parameters"]["hook-id"]; - delivery_id: components["parameters"]["delivery-id"]; - }; - }; - responses: { - 202: components["responses"]["accepted"]; - 400: components["responses"]["bad_request"]; - 422: components["responses"]["validation_failed"]; - }; - }; - /** This will trigger a [ping event](https://docs.github.com/webhooks/#ping-event) to be sent to the hook. */ - "orgs/ping-webhook": { - parameters: { - path: { - org: components["parameters"]["org"]; - hook_id: components["parameters"]["hook-id"]; - }; - }; - responses: { - /** Response */ - 204: never; - 404: components["responses"]["not_found"]; - }; - }; - /** - * Enables an authenticated GitHub App to find the organization's installation information. - * - * You must use a [JWT](https://docs.github.com/apps/building-github-apps/authenticating-with-github-apps/#authenticating-as-a-github-app) to access this endpoint. - */ - "apps/get-org-installation": { - parameters: { - path: { - org: components["parameters"]["org"]; - }; - }; - responses: { - /** Response */ - 200: { - content: { - "application/json": components["schemas"]["installation"]; - }; - }; - }; - }; - /** Lists all GitHub Apps in an organization. The installation count includes all GitHub Apps installed on repositories in the organization. You must be an organization owner with `admin:read` scope to use this endpoint. */ - "orgs/list-app-installations": { - parameters: { - path: { - org: components["parameters"]["org"]; - }; - query: { - /** Results per page (max 100) */ - per_page?: components["parameters"]["per-page"]; - /** Page number of the results to fetch. */ - page?: components["parameters"]["page"]; - }; - }; - responses: { - /** Response */ - 200: { - headers: {}; - content: { - "application/json": { - total_count: number; - installations: components["schemas"]["installation"][]; - }; - }; - }; - }; - }; - /** Shows which type of GitHub user can interact with this organization and when the restriction expires. If there is no restrictions, you will see an empty response. */ - "interactions/get-restrictions-for-org": { - parameters: { - path: { - org: components["parameters"]["org"]; - }; - }; - responses: { - /** Response */ - 200: { - content: { - "application/json": Partial< - components["schemas"]["interaction-limit-response"] - > & - Partial<{ [key: string]: unknown }>; - }; - }; - }; - }; - /** Temporarily restricts interactions to a certain type of GitHub user in any public repository in the given organization. You must be an organization owner to set these restrictions. Setting the interaction limit at the organization level will overwrite any interaction limits that are set for individual repositories owned by the organization. */ - "interactions/set-restrictions-for-org": { - parameters: { - path: { - org: components["parameters"]["org"]; - }; - }; - responses: { - /** Response */ - 200: { - content: { - "application/json": components["schemas"]["interaction-limit-response"]; - }; - }; - 422: components["responses"]["validation_failed"]; - }; - requestBody: { - content: { - "application/json": components["schemas"]["interaction-limit"]; - }; - }; - }; - /** Removes all interaction restrictions from public repositories in the given organization. You must be an organization owner to remove restrictions. */ - "interactions/remove-restrictions-for-org": { - parameters: { - path: { - org: components["parameters"]["org"]; - }; - }; - responses: { - /** Response */ - 204: never; - }; - }; - /** The return hash contains a `role` field which refers to the Organization Invitation role and will be one of the following values: `direct_member`, `admin`, `billing_manager`, `hiring_manager`, or `reinstate`. If the invitee is not a GitHub member, the `login` field in the return hash will be `null`. */ - "orgs/list-pending-invitations": { - parameters: { - path: { - org: components["parameters"]["org"]; - }; - query: { - /** Results per page (max 100) */ - per_page?: components["parameters"]["per-page"]; - /** Page number of the results to fetch. */ - page?: components["parameters"]["page"]; - }; - }; - responses: { - /** Response */ - 200: { - headers: {}; - content: { - "application/json": components["schemas"]["organization-invitation"][]; - }; - }; - 404: components["responses"]["not_found"]; - }; - }; - /** - * Invite people to an organization by using their GitHub user ID or their email address. In order to create invitations in an organization, the authenticated user must be an organization owner. - * - * This endpoint triggers [notifications](https://docs.github.com/en/github/managing-subscriptions-and-notifications-on-github/about-notifications). Creating content too quickly using this endpoint may result in abuse rate limiting. See "[Abuse rate limits](https://docs.github.com/rest/overview/resources-in-the-rest-api#abuse-rate-limits)" and "[Dealing with abuse rate limits](https://docs.github.com/rest/guides/best-practices-for-integrators#dealing-with-rate-limits)" for details. - */ - "orgs/create-invitation": { - parameters: { - path: { - org: components["parameters"]["org"]; - }; - }; - responses: { - /** Response */ - 201: { - content: { - "application/json": components["schemas"]["organization-invitation"]; - }; - }; - 404: components["responses"]["not_found"]; - 422: components["responses"]["validation_failed"]; - }; - requestBody: { - content: { - "application/json": { - /** **Required unless you provide `email`**. GitHub user ID for the person you are inviting. */ - invitee_id?: number; - /** **Required unless you provide `invitee_id`**. Email address of the person you are inviting, which can be an existing GitHub user. */ - email?: string; - /** - * Specify role for new member. Can be one of: - * \* `admin` - Organization owners with full administrative rights to the organization and complete access to all repositories and teams. - * \* `direct_member` - Non-owner organization members with ability to see other members and join teams by invitation. - * \* `billing_manager` - Non-owner organization members with ability to manage the billing settings of your organization. - */ - role?: "admin" | "direct_member" | "billing_manager"; - /** Specify IDs for the teams you want to invite new members to. */ - team_ids?: number[]; - }; - }; - }; - }; - /** - * Cancel an organization invitation. In order to cancel an organization invitation, the authenticated user must be an organization owner. - * - * This endpoint triggers [notifications](https://docs.github.com/en/github/managing-subscriptions-and-notifications-on-github/about-notifications). - */ - "orgs/cancel-invitation": { - parameters: { - path: { - org: components["parameters"]["org"]; - /** invitation_id parameter */ - invitation_id: components["parameters"]["invitation-id"]; - }; - }; - responses: { - /** Response */ - 204: never; - 404: components["responses"]["not_found"]; - 422: components["responses"]["validation_failed"]; - }; - }; - /** List all teams associated with an invitation. In order to see invitations in an organization, the authenticated user must be an organization owner. */ - "orgs/list-invitation-teams": { - parameters: { - path: { - org: components["parameters"]["org"]; - /** invitation_id parameter */ - invitation_id: components["parameters"]["invitation-id"]; - }; - query: { - /** Results per page (max 100) */ - per_page?: components["parameters"]["per-page"]; - /** Page number of the results to fetch. */ - page?: components["parameters"]["page"]; - }; - }; - responses: { - /** Response */ - 200: { - headers: {}; - content: { - "application/json": components["schemas"]["team"][]; - }; - }; - 404: components["responses"]["not_found"]; - }; - }; - /** - * List issues in an organization assigned to the authenticated user. - * - * **Note**: GitHub's REST API v3 considers every pull request an issue, but not every issue is a pull request. For this - * reason, "Issues" endpoints may return both issues and pull requests in the response. You can identify pull requests by - * the `pull_request` key. Be aware that the `id` of a pull request returned from "Issues" endpoints will be an _issue id_. To find out the pull - * request id, use the "[List pull requests](https://docs.github.com/rest/reference/pulls#list-pull-requests)" endpoint. - */ - "issues/list-for-org": { - parameters: { - path: { - org: components["parameters"]["org"]; - }; - query: { - /** - * Indicates which sorts of issues to return. Can be one of: - * \* `assigned`: Issues assigned to you - * \* `created`: Issues created by you - * \* `mentioned`: Issues mentioning you - * \* `subscribed`: Issues you're subscribed to updates for - * \* `all` or `repos`: All issues the authenticated user can see, regardless of participation or creation - */ - filter?: - | "assigned" - | "created" - | "mentioned" - | "subscribed" - | "repos" - | "all"; - /** Indicates the state of the issues to return. Can be either `open`, `closed`, or `all`. */ - state?: "open" | "closed" | "all"; - /** A list of comma separated label names. Example: `bug,ui,@high` */ - labels?: components["parameters"]["labels"]; - /** What to sort results by. Can be either `created`, `updated`, `comments`. */ - sort?: "created" | "updated" | "comments"; - /** One of `asc` (ascending) or `desc` (descending). */ - direction?: components["parameters"]["direction"]; - /** Only show notifications updated after the given time. This is a timestamp in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) format: `YYYY-MM-DDTHH:MM:SSZ`. */ - since?: components["parameters"]["since"]; - /** Results per page (max 100) */ - per_page?: components["parameters"]["per-page"]; - /** Page number of the results to fetch. */ - page?: components["parameters"]["page"]; - }; - }; - responses: { - /** Response */ - 200: { - headers: {}; - content: { - "application/json": components["schemas"]["issue"][]; - }; - }; - 404: components["responses"]["not_found"]; - }; - }; - /** List all users who are members of an organization. If the authenticated user is also a member of this organization then both concealed and public members will be returned. */ - "orgs/list-members": { - parameters: { - path: { - org: components["parameters"]["org"]; - }; - query: { - /** - * Filter members returned in the list. Can be one of: - * \* `2fa_disabled` - Members without [two-factor authentication](https://github.com/blog/1614-two-factor-authentication) enabled. Available for organization owners. - * \* `all` - All members the authenticated user can see. - */ - filter?: "2fa_disabled" | "all"; - /** - * Filter members returned by their role. Can be one of: - * \* `all` - All members of the organization, regardless of role. - * \* `admin` - Organization owners. - * \* `member` - Non-owner organization members. - */ - role?: "all" | "admin" | "member"; - /** Results per page (max 100) */ - per_page?: components["parameters"]["per-page"]; - /** Page number of the results to fetch. */ - page?: components["parameters"]["page"]; - }; - }; - responses: { - /** Response */ - 200: { - headers: {}; - content: { - "application/json": components["schemas"]["simple-user"][]; - }; - }; - /** Response if requester is not an organization member */ - 302: never; - 422: components["responses"]["validation_failed"]; - }; - }; - /** Check if a user is, publicly or privately, a member of the organization. */ - "orgs/check-membership-for-user": { - parameters: { - path: { - org: components["parameters"]["org"]; - username: components["parameters"]["username"]; - }; - }; - responses: { - /** Response if requester is an organization member and user is a member */ - 204: never; - /** Response if requester is not an organization member */ - 302: never; - /** Not Found if requester is an organization member and user is not a member */ - 404: unknown; - }; - }; - /** Removing a user from this list will remove them from all teams and they will no longer have any access to the organization's repositories. */ - "orgs/remove-member": { - parameters: { - path: { - org: components["parameters"]["org"]; - username: components["parameters"]["username"]; - }; - }; - responses: { - /** Response */ - 204: never; - 403: components["responses"]["forbidden"]; - }; - }; - /** In order to get a user's membership with an organization, the authenticated user must be an organization member. The `state` parameter in the response can be used to identify the user's membership status. */ - "orgs/get-membership-for-user": { - parameters: { - path: { - org: components["parameters"]["org"]; - username: components["parameters"]["username"]; - }; - }; - responses: { - /** Response */ - 200: { - content: { - "application/json": components["schemas"]["org-membership"]; - }; - }; - 403: components["responses"]["forbidden"]; - 404: components["responses"]["not_found"]; - }; - }; - /** - * Only authenticated organization owners can add a member to the organization or update the member's role. - * - * * If the authenticated user is _adding_ a member to the organization, the invited user will receive an email inviting them to the organization. The user's [membership status](https://docs.github.com/rest/reference/orgs#get-organization-membership-for-a-user) will be `pending` until they accept the invitation. - * - * * Authenticated users can _update_ a user's membership by passing the `role` parameter. If the authenticated user changes a member's role to `admin`, the affected user will receive an email notifying them that they've been made an organization owner. If the authenticated user changes an owner's role to `member`, no email will be sent. - * - * **Rate limits** - * - * To prevent abuse, the authenticated user is limited to 50 organization invitations per 24 hour period. If the organization is more than one month old or on a paid plan, the limit is 500 invitations per 24 hour period. - */ - "orgs/set-membership-for-user": { - parameters: { - path: { - org: components["parameters"]["org"]; - username: components["parameters"]["username"]; - }; - }; - responses: { - /** Response */ - 200: { - content: { - "application/json": components["schemas"]["org-membership"]; - }; - }; - 403: components["responses"]["forbidden"]; - 422: components["responses"]["validation_failed"]; - }; - requestBody: { - content: { - "application/json": { - /** - * The role to give the user in the organization. Can be one of: - * \* `admin` - The user will become an owner of the organization. - * \* `member` - The user will become a non-owner member of the organization. - */ - role?: "admin" | "member"; - }; - }; - }; - }; - /** - * In order to remove a user's membership with an organization, the authenticated user must be an organization owner. - * - * If the specified user is an active member of the organization, this will remove them from the organization. If the specified user has been invited to the organization, this will cancel their invitation. The specified user will receive an email notification in both cases. - */ - "orgs/remove-membership-for-user": { - parameters: { - path: { - org: components["parameters"]["org"]; - username: components["parameters"]["username"]; - }; - }; - responses: { - /** Response */ - 204: never; - 403: components["responses"]["forbidden"]; - 404: components["responses"]["not_found"]; - }; - }; - /** Lists the most recent migrations. */ - "migrations/list-for-org": { - parameters: { - path: { - org: components["parameters"]["org"]; - }; - query: { - /** Results per page (max 100) */ - per_page?: components["parameters"]["per-page"]; - /** Page number of the results to fetch. */ - page?: components["parameters"]["page"]; - /** Exclude attributes from the API response to improve performance */ - exclude?: "repositories"[]; - }; - }; - responses: { - /** Response */ - 200: { - headers: {}; - content: { - "application/json": components["schemas"]["migration"][]; - }; - }; - }; - }; - /** Initiates the generation of a migration archive. */ - "migrations/start-for-org": { - parameters: { - path: { - org: components["parameters"]["org"]; - }; - }; - responses: { - /** Response */ - 201: { - content: { - "application/json": components["schemas"]["migration"]; - }; - }; - 404: components["responses"]["not_found"]; - 422: components["responses"]["validation_failed"]; - }; - requestBody: { - content: { - "application/json": { - /** A list of arrays indicating which repositories should be migrated. */ - repositories: string[]; - /** Indicates whether repositories should be locked (to prevent manipulation) while migrating data. */ - lock_repositories?: boolean; - /** Indicates whether attachments should be excluded from the migration (to reduce migration archive file size). */ - exclude_attachments?: boolean; - exclude?: "repositories"[]; - }; - }; - }; - }; - /** - * Fetches the status of a migration. - * - * The `state` of a migration can be one of the following values: - * - * * `pending`, which means the migration hasn't started yet. - * * `exporting`, which means the migration is in progress. - * * `exported`, which means the migration finished successfully. - * * `failed`, which means the migration failed. - */ - "migrations/get-status-for-org": { - parameters: { - path: { - org: components["parameters"]["org"]; - /** migration_id parameter */ - migration_id: components["parameters"]["migration-id"]; - }; - query: { - /** Exclude attributes from the API response to improve performance */ - exclude?: "repositories"[]; - }; - }; - responses: { - /** - * * `pending`, which means the migration hasn't started yet. - * * `exporting`, which means the migration is in progress. - * * `exported`, which means the migration finished successfully. - * * `failed`, which means the migration failed. - */ - 200: { - content: { - "application/json": components["schemas"]["migration"]; - }; - }; - 404: components["responses"]["not_found"]; - }; - }; - /** Fetches the URL to a migration archive. */ - "migrations/download-archive-for-org": { - parameters: { - path: { - org: components["parameters"]["org"]; - /** migration_id parameter */ - migration_id: components["parameters"]["migration-id"]; - }; - }; - responses: { - /** Response */ - 302: never; - 404: components["responses"]["not_found"]; - }; - }; - /** Deletes a previous migration archive. Migration archives are automatically deleted after seven days. */ - "migrations/delete-archive-for-org": { - parameters: { - path: { - org: components["parameters"]["org"]; - /** migration_id parameter */ - migration_id: components["parameters"]["migration-id"]; - }; - }; - responses: { - /** Response */ - 204: never; - 404: components["responses"]["not_found"]; - }; - }; - /** Unlocks a repository that was locked for migration. You should unlock each migrated repository and [delete them](https://docs.github.com/rest/reference/repos#delete-a-repository) when the migration is complete and you no longer need the source data. */ - "migrations/unlock-repo-for-org": { - parameters: { - path: { - org: components["parameters"]["org"]; - /** migration_id parameter */ - migration_id: components["parameters"]["migration-id"]; - /** repo_name parameter */ - repo_name: components["parameters"]["repo-name"]; - }; - }; - responses: { - /** Response */ - 204: never; - 404: components["responses"]["not_found"]; - }; - }; - /** List all the repositories for this organization migration. */ - "migrations/list-repos-for-org": { - parameters: { - path: { - org: components["parameters"]["org"]; - /** migration_id parameter */ - migration_id: components["parameters"]["migration-id"]; - }; - query: { - /** Results per page (max 100) */ - per_page?: components["parameters"]["per-page"]; - /** Page number of the results to fetch. */ - page?: components["parameters"]["page"]; - }; - }; - responses: { - /** Response */ - 200: { - headers: {}; - content: { - "application/json": components["schemas"]["minimal-repository"][]; - }; - }; - 404: components["responses"]["not_found"]; - }; - }; - /** List all users who are outside collaborators of an organization. */ - "orgs/list-outside-collaborators": { - parameters: { - path: { - org: components["parameters"]["org"]; - }; - query: { - /** - * Filter the list of outside collaborators. Can be one of: - * \* `2fa_disabled`: Outside collaborators without [two-factor authentication](https://github.com/blog/1614-two-factor-authentication) enabled. - * \* `all`: All outside collaborators. - */ - filter?: "2fa_disabled" | "all"; - /** Results per page (max 100) */ - per_page?: components["parameters"]["per-page"]; - /** Page number of the results to fetch. */ - page?: components["parameters"]["page"]; - }; - }; - responses: { - /** Response */ - 200: { - headers: {}; - content: { - "application/json": components["schemas"]["simple-user"][]; - }; - }; - }; - }; - /** When an organization member is converted to an outside collaborator, they'll only have access to the repositories that their current team membership allows. The user will no longer be a member of the organization. For more information, see "[Converting an organization member to an outside collaborator](https://help.github.com/articles/converting-an-organization-member-to-an-outside-collaborator/)". */ - "orgs/convert-member-to-outside-collaborator": { - parameters: { - path: { - org: components["parameters"]["org"]; - username: components["parameters"]["username"]; - }; - }; - responses: { - /** User is getting converted asynchronously */ - 202: { - content: { - "application/json": { [key: string]: unknown }; - }; - }; - /** User was converted */ - 204: never; - /** Forbidden if user is the last owner of the organization or not a member of the organization */ - 403: unknown; - 404: components["responses"]["not_found"]; - }; - }; - /** Removing a user from this list will remove them from all the organization's repositories. */ - "orgs/remove-outside-collaborator": { - parameters: { - path: { - org: components["parameters"]["org"]; - username: components["parameters"]["username"]; - }; - }; - responses: { - /** Response */ - 204: never; - /** Unprocessable Entity if user is a member of the organization */ - 422: { - content: { - "application/json": { - message?: string; - documentation_url?: string; - }; - }; - }; - }; - }; - /** - * Gets a specific package in an organization. - * - * To use this endpoint, you must authenticate using an access token with the `packages:read` scope. - * If `package_type` is not `container`, your token must also include the `repo` scope. - */ - "packages/get-package-for-organization": { - parameters: { - path: { - /** The type of supported package. Can be one of `npm`, `maven`, `rubygems`, `nuget`, `docker`, or `container`. Packages in GitHub's Gradle registry have the type `maven`. Docker images pushed to GitHub's Container registry (`ghcr.io`) have the type `container`. You can use the type `docker` to find images that were pushed to GitHub's Docker registry (`docker.pkg.github.com`), even if these have now been migrated to the Container registry. */ - package_type: components["parameters"]["package-type"]; - /** The name of the package. */ - package_name: components["parameters"]["package-name"]; - org: components["parameters"]["org"]; - }; - }; - responses: { - /** Response */ - 200: { - content: { - "application/json": components["schemas"]["package"]; - }; - }; - }; - }; - /** - * Deletes an entire package in an organization. You cannot delete a public package if any version of the package has more than 5,000 downloads. In this scenario, contact GitHub support for further assistance. - * - * To use this endpoint, you must have admin permissions in the organization and authenticate using an access token with the `packages:read` scope. In addition: - * - If `package_type` is not `container`, your token must also include the `repo` scope. - * - If `package_type` is `container`, you must also have admin permissions to the container you want to delete. - */ - "packages/delete-package-for-org": { - parameters: { - path: { - /** The type of supported package. Can be one of `npm`, `maven`, `rubygems`, `nuget`, `docker`, or `container`. Packages in GitHub's Gradle registry have the type `maven`. Docker images pushed to GitHub's Container registry (`ghcr.io`) have the type `container`. You can use the type `docker` to find images that were pushed to GitHub's Docker registry (`docker.pkg.github.com`), even if these have now been migrated to the Container registry. */ - package_type: components["parameters"]["package-type"]; - /** The name of the package. */ - package_name: components["parameters"]["package-name"]; - org: components["parameters"]["org"]; - }; - }; - responses: { - /** Response */ - 204: never; - 401: components["responses"]["requires_authentication"]; - 403: components["responses"]["forbidden"]; - 404: components["responses"]["not_found"]; - }; - }; - /** - * Restores an entire package in an organization. - * - * You can restore a deleted package under the following conditions: - * - The package was deleted within the last 30 days. - * - The same package namespace and version is still available and not reused for a new package. If the same package namespace is not available, you will not be able to restore your package. In this scenario, to restore the deleted package, you must delete the new package that uses the deleted package's namespace first. - * - * To use this endpoint, you must have admin permissions in the organization and authenticate using an access token with the `packages:read` and `packages:write` scope. In addition: - * - If `package_type` is not `container`, your token must also include the `repo` scope. - * - If `package_type` is `container`, you must also have admin permissions to the container that you want to restore. - */ - "packages/restore-package-for-org": { - parameters: { - path: { - /** The type of supported package. Can be one of `npm`, `maven`, `rubygems`, `nuget`, `docker`, or `container`. Packages in GitHub's Gradle registry have the type `maven`. Docker images pushed to GitHub's Container registry (`ghcr.io`) have the type `container`. You can use the type `docker` to find images that were pushed to GitHub's Docker registry (`docker.pkg.github.com`), even if these have now been migrated to the Container registry. */ - package_type: components["parameters"]["package-type"]; - /** The name of the package. */ - package_name: components["parameters"]["package-name"]; - org: components["parameters"]["org"]; - }; - query: { - /** package token */ - token?: string; - }; - }; - responses: { - /** Response */ - 204: never; - 401: components["responses"]["requires_authentication"]; - 403: components["responses"]["forbidden"]; - 404: components["responses"]["not_found"]; - }; - }; - /** - * Returns all package versions for a package owned by an organization. - * - * To use this endpoint, you must authenticate using an access token with the `packages:read` scope. - * If `package_type` is not `container`, your token must also include the `repo` scope. - */ - "packages/get-all-package-versions-for-package-owned-by-org": { - parameters: { - path: { - /** The type of supported package. Can be one of `npm`, `maven`, `rubygems`, `nuget`, `docker`, or `container`. Packages in GitHub's Gradle registry have the type `maven`. Docker images pushed to GitHub's Container registry (`ghcr.io`) have the type `container`. You can use the type `docker` to find images that were pushed to GitHub's Docker registry (`docker.pkg.github.com`), even if these have now been migrated to the Container registry. */ - package_type: components["parameters"]["package-type"]; - /** The name of the package. */ - package_name: components["parameters"]["package-name"]; - org: components["parameters"]["org"]; - }; - query: { - /** Page number of the results to fetch. */ - page?: components["parameters"]["page"]; - /** Results per page (max 100) */ - per_page?: components["parameters"]["per-page"]; - /** The state of the package, either active or deleted. */ - state?: "active" | "deleted"; - }; - }; - responses: { - /** Response */ - 200: { - content: { - "application/json": components["schemas"]["package-version"][]; - }; - }; - 401: components["responses"]["requires_authentication"]; - 403: components["responses"]["forbidden"]; - 404: components["responses"]["not_found"]; - }; - }; - /** - * Gets a specific package version in an organization. - * - * You must authenticate using an access token with the `packages:read` scope. - * If `package_type` is not `container`, your token must also include the `repo` scope. - */ - "packages/get-package-version-for-organization": { - parameters: { - path: { - /** The type of supported package. Can be one of `npm`, `maven`, `rubygems`, `nuget`, `docker`, or `container`. Packages in GitHub's Gradle registry have the type `maven`. Docker images pushed to GitHub's Container registry (`ghcr.io`) have the type `container`. You can use the type `docker` to find images that were pushed to GitHub's Docker registry (`docker.pkg.github.com`), even if these have now been migrated to the Container registry. */ - package_type: components["parameters"]["package-type"]; - /** The name of the package. */ - package_name: components["parameters"]["package-name"]; - org: components["parameters"]["org"]; - /** Unique identifier of the package version. */ - package_version_id: components["parameters"]["package-version-id"]; - }; - }; - responses: { - /** Response */ - 200: { - content: { - "application/json": components["schemas"]["package-version"]; - }; - }; - }; - }; - /** - * Deletes a specific package version in an organization. If the package is public and the package version has more than 5,000 downloads, you cannot delete the package version. In this scenario, contact GitHub support for further assistance. - * - * To use this endpoint, you must have admin permissions in the organization and authenticate using an access token with the `packages:read` scope. In addition: - * - If `package_type` is not `container`, your token must also include the `repo` scope. - * - If `package_type` is `container`, you must also have admin permissions to the container you want to delete. - */ - "packages/delete-package-version-for-org": { - parameters: { - path: { - /** The type of supported package. Can be one of `npm`, `maven`, `rubygems`, `nuget`, `docker`, or `container`. Packages in GitHub's Gradle registry have the type `maven`. Docker images pushed to GitHub's Container registry (`ghcr.io`) have the type `container`. You can use the type `docker` to find images that were pushed to GitHub's Docker registry (`docker.pkg.github.com`), even if these have now been migrated to the Container registry. */ - package_type: components["parameters"]["package-type"]; - /** The name of the package. */ - package_name: components["parameters"]["package-name"]; - org: components["parameters"]["org"]; - /** Unique identifier of the package version. */ - package_version_id: components["parameters"]["package-version-id"]; - }; - }; - responses: { - /** Response */ - 204: never; - 401: components["responses"]["requires_authentication"]; - 403: components["responses"]["forbidden"]; - 404: components["responses"]["not_found"]; - }; - }; - /** - * Restores a specific package version in an organization. - * - * You can restore a deleted package under the following conditions: - * - The package was deleted within the last 30 days. - * - The same package namespace and version is still available and not reused for a new package. If the same package namespace is not available, you will not be able to restore your package. In this scenario, to restore the deleted package, you must delete the new package that uses the deleted package's namespace first. - * - * To use this endpoint, you must have admin permissions in the organization and authenticate using an access token with the `packages:read` and `packages:write` scope. In addition: - * - If `package_type` is not `container`, your token must also include the `repo` scope. - * - If `package_type` is `container`, you must also have admin permissions to the container that you want to restore. - */ - "packages/restore-package-version-for-org": { - parameters: { - path: { - /** The type of supported package. Can be one of `npm`, `maven`, `rubygems`, `nuget`, `docker`, or `container`. Packages in GitHub's Gradle registry have the type `maven`. Docker images pushed to GitHub's Container registry (`ghcr.io`) have the type `container`. You can use the type `docker` to find images that were pushed to GitHub's Docker registry (`docker.pkg.github.com`), even if these have now been migrated to the Container registry. */ - package_type: components["parameters"]["package-type"]; - /** The name of the package. */ - package_name: components["parameters"]["package-name"]; - org: components["parameters"]["org"]; - /** Unique identifier of the package version. */ - package_version_id: components["parameters"]["package-version-id"]; - }; - }; - responses: { - /** Response */ - 204: never; - 401: components["responses"]["requires_authentication"]; - 403: components["responses"]["forbidden"]; - 404: components["responses"]["not_found"]; - }; - }; - /** Lists the projects in an organization. Returns a `404 Not Found` status if projects are disabled in the organization. If you do not have sufficient privileges to perform this action, a `401 Unauthorized` or `410 Gone` status is returned. */ - "projects/list-for-org": { - parameters: { - path: { - org: components["parameters"]["org"]; - }; - query: { - /** Indicates the state of the projects to return. Can be either `open`, `closed`, or `all`. */ - state?: "open" | "closed" | "all"; - /** Results per page (max 100) */ - per_page?: components["parameters"]["per-page"]; - /** Page number of the results to fetch. */ - page?: components["parameters"]["page"]; - }; - }; - responses: { - /** Response */ - 200: { - headers: {}; - content: { - "application/json": components["schemas"]["project"][]; - }; - }; - 422: components["responses"]["validation_failed_simple"]; - }; - }; - /** Creates an organization project board. Returns a `404 Not Found` status if projects are disabled in the organization. If you do not have sufficient privileges to perform this action, a `401 Unauthorized` or `410 Gone` status is returned. */ - "projects/create-for-org": { - parameters: { - path: { - org: components["parameters"]["org"]; - }; - }; - responses: { - /** Response */ - 201: { - content: { - "application/json": components["schemas"]["project"]; - }; - }; - 401: components["responses"]["requires_authentication"]; - 403: components["responses"]["forbidden"]; - 404: components["responses"]["not_found"]; - 410: components["responses"]["gone"]; - 422: components["responses"]["validation_failed_simple"]; - }; - requestBody: { - content: { - "application/json": { - /** The name of the project. */ - name: string; - /** The description of the project. */ - body?: string; - }; - }; - }; - }; - /** Members of an organization can choose to have their membership publicized or not. */ - "orgs/list-public-members": { - parameters: { - path: { - org: components["parameters"]["org"]; - }; - query: { - /** Results per page (max 100) */ - per_page?: components["parameters"]["per-page"]; - /** Page number of the results to fetch. */ - page?: components["parameters"]["page"]; - }; - }; - responses: { - /** Response */ - 200: { - headers: {}; - content: { - "application/json": components["schemas"]["simple-user"][]; - }; - }; - }; - }; - "orgs/check-public-membership-for-user": { - parameters: { - path: { - org: components["parameters"]["org"]; - username: components["parameters"]["username"]; - }; - }; - responses: { - /** Response if user is a public member */ - 204: never; - /** Not Found if user is not a public member */ - 404: unknown; - }; - }; - /** - * The user can publicize their own membership. (A user cannot publicize the membership for another user.) - * - * Note that you'll need to set `Content-Length` to zero when calling out to this endpoint. For more information, see "[HTTP verbs](https://docs.github.com/rest/overview/resources-in-the-rest-api#http-verbs)." - */ - "orgs/set-public-membership-for-authenticated-user": { - parameters: { - path: { - org: components["parameters"]["org"]; - username: components["parameters"]["username"]; - }; - }; - responses: { - /** Response */ - 204: never; - 403: components["responses"]["forbidden"]; - }; - }; - "orgs/remove-public-membership-for-authenticated-user": { - parameters: { - path: { - org: components["parameters"]["org"]; - username: components["parameters"]["username"]; - }; - }; - responses: { - /** Response */ - 204: never; - }; - }; - /** Lists repositories for the specified organization. */ - "repos/list-for-org": { - parameters: { - path: { - org: components["parameters"]["org"]; - }; - query: { - /** Specifies the types of repositories you want returned. Can be one of `all`, `public`, `private`, `forks`, `sources`, `member`, `internal`. Note: For GitHub AE, can be one of `all`, `private`, `forks`, `sources`, `member`, `internal`. Default: `all`. If your organization is associated with an enterprise account using GitHub Enterprise Cloud or GitHub Enterprise Server 2.20+, `type` can also be `internal`. However, the `internal` value is not yet supported when a GitHub App calls this API with an installation access token. */ - type?: - | "all" - | "public" - | "private" - | "forks" - | "sources" - | "member" - | "internal"; - /** Can be one of `created`, `updated`, `pushed`, `full_name`. */ - sort?: "created" | "updated" | "pushed" | "full_name"; - /** Can be one of `asc` or `desc`. Default: when using `full_name`: `asc`, otherwise `desc` */ - direction?: "asc" | "desc"; - /** Results per page (max 100) */ - per_page?: components["parameters"]["per-page"]; - /** Page number of the results to fetch. */ - page?: components["parameters"]["page"]; - }; - }; - responses: { - /** Response */ - 200: { - headers: {}; - content: { - "application/json": components["schemas"]["minimal-repository"][]; - }; - }; - }; - }; - /** - * Creates a new repository in the specified organization. The authenticated user must be a member of the organization. - * - * **OAuth scope requirements** - * - * When using [OAuth](https://docs.github.com/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/), authorizations must include: - * - * * `public_repo` scope or `repo` scope to create a public repository. Note: For GitHub AE, use `repo` scope to create an internal repository. - * * `repo` scope to create a private repository - */ - "repos/create-in-org": { - parameters: { - path: { - org: components["parameters"]["org"]; - }; - }; - responses: { - /** Response */ - 201: { - headers: { - Location?: string; - }; - content: { - "application/json": components["schemas"]["repository"]; - }; - }; - 403: components["responses"]["forbidden"]; - 422: components["responses"]["validation_failed"]; - }; - requestBody: { - content: { - "application/json": { - /** The name of the repository. */ - name: string; - /** A short description of the repository. */ - description?: string; - /** A URL with more information about the repository. */ - homepage?: string; - /** Whether the repository is private. */ - private?: boolean; - /** - * Can be `public` or `private`. If your organization is associated with an enterprise account using GitHub Enterprise Cloud or GitHub Enterprise Server 2.20+, `visibility` can also be `internal`. Note: For GitHub Enterprise Server and GitHub AE, this endpoint will only list repositories available to all users on the enterprise. For more information, see "[Creating an internal repository](https://help.github.com/en/github/creating-cloning-and-archiving-repositories/about-repository-visibility#about-internal-repositories)" in the GitHub Help documentation. - * The `visibility` parameter overrides the `private` parameter when you use both parameters with the `nebula-preview` preview header. - */ - visibility?: "public" | "private" | "visibility" | "internal"; - /** Either `true` to enable issues for this repository or `false` to disable them. */ - has_issues?: boolean; - /** Either `true` to enable projects for this repository or `false` to disable them. **Note:** If you're creating a repository in an organization that has disabled repository projects, the default is `false`, and if you pass `true`, the API returns an error. */ - has_projects?: boolean; - /** Either `true` to enable the wiki for this repository or `false` to disable it. */ - has_wiki?: boolean; - /** Either `true` to make this repo available as a template repository or `false` to prevent it. */ - is_template?: boolean; - /** The id of the team that will be granted access to this repository. This is only valid when creating a repository in an organization. */ - team_id?: number; - /** Pass `true` to create an initial commit with empty README. */ - auto_init?: boolean; - /** Desired language or platform [.gitignore template](https://github.com/github/gitignore) to apply. Use the name of the template without the extension. For example, "Haskell". */ - gitignore_template?: string; - /** Choose an [open source license template](https://choosealicense.com/) that best suits your needs, and then use the [license keyword](https://help.github.com/articles/licensing-a-repository/#searching-github-by-license-type) as the `license_template` string. For example, "mit" or "mpl-2.0". */ - license_template?: string; - /** Either `true` to allow squash-merging pull requests, or `false` to prevent squash-merging. */ - allow_squash_merge?: boolean; - /** Either `true` to allow merging pull requests with a merge commit, or `false` to prevent merging pull requests with merge commits. */ - allow_merge_commit?: boolean; - /** Either `true` to allow rebase-merging pull requests, or `false` to prevent rebase-merging. */ - allow_rebase_merge?: boolean; - /** Either `true` to allow automatically deleting head branches when pull requests are merged, or `false` to prevent automatic deletion. */ - delete_branch_on_merge?: boolean; - }; - }; - }; - }; - /** - * Gets the summary of the free and paid GitHub Actions minutes used. - * - * Paid minutes only apply to workflows in private repositories that use GitHub-hosted runners. Minutes used is listed for each GitHub-hosted runner operating system. Any job re-runs are also included in the usage. The usage returned includes any minute multipliers for macOS and Windows runners, and is rounded up to the nearest whole minute. For more information, see "[Managing billing for GitHub Actions](https://help.github.com/github/setting-up-and-managing-billing-and-payments-on-github/managing-billing-for-github-actions)". - * - * Access tokens must have the `repo` or `admin:org` scope. - */ - "billing/get-github-actions-billing-org": { - parameters: { - path: { - org: components["parameters"]["org"]; - }; - }; - responses: { - /** Response */ - 200: { - content: { - "application/json": components["schemas"]["actions-billing-usage"]; - }; - }; - }; - }; - /** - * Gets the free and paid storage used for GitHub Packages in gigabytes. - * - * Paid minutes only apply to packages stored for private repositories. For more information, see "[Managing billing for GitHub Packages](https://help.github.com/github/setting-up-and-managing-billing-and-payments-on-github/managing-billing-for-github-packages)." - * - * Access tokens must have the `repo` or `admin:org` scope. - */ - "billing/get-github-packages-billing-org": { - parameters: { - path: { - org: components["parameters"]["org"]; - }; - }; - responses: { - /** Response */ - 200: { - content: { - "application/json": components["schemas"]["packages-billing-usage"]; - }; - }; - }; - }; - /** - * Gets the estimated paid and estimated total storage used for GitHub Actions and Github Packages. - * - * Paid minutes only apply to packages stored for private repositories. For more information, see "[Managing billing for GitHub Packages](https://help.github.com/github/setting-up-and-managing-billing-and-payments-on-github/managing-billing-for-github-packages)." - * - * Access tokens must have the `repo` or `admin:org` scope. - */ - "billing/get-shared-storage-billing-org": { - parameters: { - path: { - org: components["parameters"]["org"]; - }; - }; - responses: { - /** Response */ - 200: { - content: { - "application/json": components["schemas"]["combined-billing-usage"]; - }; - }; - }; - }; - /** - * Team synchronization is available for organizations using GitHub Enterprise Cloud. For more information, see [GitHub's products](https://help.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation. - * - * List IdP groups available in an organization. You can limit your page results using the `per_page` parameter. GitHub generates a url-encoded `page` token using a cursor value for where the next page begins. For more information on cursor pagination, see "[Offset and Cursor Pagination explained](https://dev.to/jackmarchant/offset-and-cursor-pagination-explained-b89)." - * - * The `per_page` parameter provides pagination for a list of IdP groups the authenticated user can access in an organization. For example, if the user `octocat` wants to see two groups per page in `octo-org` via cURL, it would look like this: - */ - "teams/list-idp-groups-for-org": { - parameters: { - path: { - org: components["parameters"]["org"]; - }; - query: { - /** Results per page (max 100) */ - per_page?: components["parameters"]["per-page"]; - /** Page token */ - page?: string; - }; - }; - responses: { - /** Response */ - 200: { - headers: { - Link?: string; - }; - content: { - "application/json": components["schemas"]["group-mapping"]; - }; - }; - }; - }; - /** Lists all teams in an organization that are visible to the authenticated user. */ - "teams/list": { - parameters: { - path: { - org: components["parameters"]["org"]; - }; - query: { - /** Results per page (max 100) */ - per_page?: components["parameters"]["per-page"]; - /** Page number of the results to fetch. */ - page?: components["parameters"]["page"]; - }; - }; - responses: { - /** Response */ - 200: { - headers: {}; - content: { - "application/json": components["schemas"]["team"][]; - }; - }; - 403: components["responses"]["forbidden"]; - }; - }; - /** - * To create a team, the authenticated user must be a member or owner of `{org}`. By default, organization members can create teams. Organization owners can limit team creation to organization owners. For more information, see "[Setting team creation permissions](https://help.github.com/en/articles/setting-team-creation-permissions-in-your-organization)." - * - * When you create a new team, you automatically become a team maintainer without explicitly adding yourself to the optional array of `maintainers`. For more information, see "[About teams](https://help.github.com/en/github/setting-up-and-managing-organizations-and-teams/about-teams)". - */ - "teams/create": { - parameters: { - path: { - org: components["parameters"]["org"]; - }; - }; - responses: { - /** Response */ - 201: { - content: { - "application/json": components["schemas"]["team-full"]; - }; - }; - 403: components["responses"]["forbidden"]; - 422: components["responses"]["validation_failed"]; - }; - requestBody: { - content: { - "application/json": { - /** The name of the team. */ - name: string; - /** The description of the team. */ - description?: string; - /** List GitHub IDs for organization members who will become team maintainers. */ - maintainers?: string[]; - /** The full name (e.g., "organization-name/repository-name") of repositories to add the team to. */ - repo_names?: string[]; - /** - * The level of privacy this team should have. The options are: - * **For a non-nested team:** - * \* `secret` - only visible to organization owners and members of this team. - * \* `closed` - visible to all members of this organization. - * Default: `secret` - * **For a parent or child team:** - * \* `closed` - visible to all members of this organization. - * Default for child team: `closed` - */ - privacy?: "secret" | "closed"; - /** - * **Deprecated**. The permission that new repositories will be added to the team with when none is specified. Can be one of: - * \* `pull` - team members can pull, but not push to or administer newly-added repositories. - * \* `push` - team members can pull and push, but not administer newly-added repositories. - * \* `admin` - team members can pull, push and administer newly-added repositories. - */ - permission?: "pull" | "push" | "admin"; - /** The ID of a team to set as the parent team. */ - parent_team_id?: number; - }; - }; - }; - }; - /** - * Gets a team using the team's `slug`. GitHub generates the `slug` from the team `name`. - * - * **Note:** You can also specify a team by `org_id` and `team_id` using the route `GET /organizations/{org_id}/team/{team_id}`. - */ - "teams/get-by-name": { - parameters: { - path: { - org: components["parameters"]["org"]; - /** team_slug parameter */ - team_slug: components["parameters"]["team-slug"]; - }; - }; - responses: { - /** Response */ - 200: { - content: { - "application/json": components["schemas"]["team-full"]; - }; - }; - 404: components["responses"]["not_found"]; - }; - }; - /** - * To delete a team, the authenticated user must be an organization owner or team maintainer. - * - * If you are an organization owner, deleting a parent team will delete all of its child teams as well. - * - * **Note:** You can also specify a team by `org_id` and `team_id` using the route `DELETE /organizations/{org_id}/team/{team_id}`. - */ - "teams/delete-in-org": { - parameters: { - path: { - org: components["parameters"]["org"]; - /** team_slug parameter */ - team_slug: components["parameters"]["team-slug"]; - }; - }; - responses: { - /** Response */ - 204: never; - }; - }; - /** - * To edit a team, the authenticated user must either be an organization owner or a team maintainer. - * - * **Note:** You can also specify a team by `org_id` and `team_id` using the route `PATCH /organizations/{org_id}/team/{team_id}`. - */ - "teams/update-in-org": { - parameters: { - path: { - org: components["parameters"]["org"]; - /** team_slug parameter */ - team_slug: components["parameters"]["team-slug"]; - }; - }; - responses: { - /** Response */ - 201: { - content: { - "application/json": components["schemas"]["team-full"]; - }; - }; - }; - requestBody: { - content: { - "application/json": { - /** The name of the team. */ - name?: string; - /** The description of the team. */ - description?: string; - /** - * The level of privacy this team should have. Editing teams without specifying this parameter leaves `privacy` intact. When a team is nested, the `privacy` for parent teams cannot be `secret`. The options are: - * **For a non-nested team:** - * \* `secret` - only visible to organization owners and members of this team. - * \* `closed` - visible to all members of this organization. - * **For a parent or child team:** - * \* `closed` - visible to all members of this organization. - */ - privacy?: "secret" | "closed"; - /** - * **Deprecated**. The permission that new repositories will be added to the team with when none is specified. Can be one of: - * \* `pull` - team members can pull, but not push to or administer newly-added repositories. - * \* `push` - team members can pull and push, but not administer newly-added repositories. - * \* `admin` - team members can pull, push and administer newly-added repositories. - */ - permission?: "pull" | "push" | "admin"; - /** The ID of a team to set as the parent team. */ - parent_team_id?: number | null; - }; - }; - }; - }; - /** - * List all discussions on a team's page. OAuth access tokens require the `read:discussion` [scope](https://docs.github.com/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/). - * - * **Note:** You can also specify a team by `org_id` and `team_id` using the route `GET /organizations/{org_id}/team/{team_id}/discussions`. - */ - "teams/list-discussions-in-org": { - parameters: { - path: { - org: components["parameters"]["org"]; - /** team_slug parameter */ - team_slug: components["parameters"]["team-slug"]; - }; - query: { - /** One of `asc` (ascending) or `desc` (descending). */ - direction?: components["parameters"]["direction"]; - /** Results per page (max 100) */ - per_page?: components["parameters"]["per-page"]; - /** Page number of the results to fetch. */ - page?: components["parameters"]["page"]; - /** Pinned discussions only filter */ - pinned?: string; - }; - }; - responses: { - /** Response */ - 200: { - headers: {}; - content: { - "application/json": components["schemas"]["team-discussion"][]; - }; - }; - }; - }; - /** - * Creates a new discussion post on a team's page. OAuth access tokens require the `write:discussion` [scope](https://docs.github.com/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/). - * - * This endpoint triggers [notifications](https://docs.github.com/en/github/managing-subscriptions-and-notifications-on-github/about-notifications). Creating content too quickly using this endpoint may result in abuse rate limiting. See "[Abuse rate limits](https://docs.github.com/rest/overview/resources-in-the-rest-api#abuse-rate-limits)" and "[Dealing with abuse rate limits](https://docs.github.com/rest/guides/best-practices-for-integrators#dealing-with-rate-limits)" for details. - * - * **Note:** You can also specify a team by `org_id` and `team_id` using the route `POST /organizations/{org_id}/team/{team_id}/discussions`. - */ - "teams/create-discussion-in-org": { - parameters: { - path: { - org: components["parameters"]["org"]; - /** team_slug parameter */ - team_slug: components["parameters"]["team-slug"]; - }; - }; - responses: { - /** Response */ - 201: { - content: { - "application/json": components["schemas"]["team-discussion"]; - }; - }; - }; - requestBody: { - content: { - "application/json": { - /** The discussion post's title. */ - title: string; - /** The discussion post's body text. */ - body: string; - /** Private posts are only visible to team members, organization owners, and team maintainers. Public posts are visible to all members of the organization. Set to `true` to create a private post. */ - private?: boolean; - }; - }; - }; - }; - /** - * Get a specific discussion on a team's page. OAuth access tokens require the `read:discussion` [scope](https://docs.github.com/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/). - * - * **Note:** You can also specify a team by `org_id` and `team_id` using the route `GET /organizations/{org_id}/team/{team_id}/discussions/{discussion_number}`. - */ - "teams/get-discussion-in-org": { - parameters: { - path: { - org: components["parameters"]["org"]; - /** team_slug parameter */ - team_slug: components["parameters"]["team-slug"]; - discussion_number: components["parameters"]["discussion-number"]; - }; - }; - responses: { - /** Response */ - 200: { - content: { - "application/json": components["schemas"]["team-discussion"]; - }; - }; - }; - }; - /** - * Delete a discussion from a team's page. OAuth access tokens require the `write:discussion` [scope](https://docs.github.com/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/). - * - * **Note:** You can also specify a team by `org_id` and `team_id` using the route `DELETE /organizations/{org_id}/team/{team_id}/discussions/{discussion_number}`. - */ - "teams/delete-discussion-in-org": { - parameters: { - path: { - org: components["parameters"]["org"]; - /** team_slug parameter */ - team_slug: components["parameters"]["team-slug"]; - discussion_number: components["parameters"]["discussion-number"]; - }; - }; - responses: { - /** Response */ - 204: never; - }; - }; - /** - * Edits the title and body text of a discussion post. Only the parameters you provide are updated. OAuth access tokens require the `write:discussion` [scope](https://docs.github.com/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/). - * - * **Note:** You can also specify a team by `org_id` and `team_id` using the route `PATCH /organizations/{org_id}/team/{team_id}/discussions/{discussion_number}`. - */ - "teams/update-discussion-in-org": { - parameters: { - path: { - org: components["parameters"]["org"]; - /** team_slug parameter */ - team_slug: components["parameters"]["team-slug"]; - discussion_number: components["parameters"]["discussion-number"]; - }; - }; - responses: { - /** Response */ - 200: { - content: { - "application/json": components["schemas"]["team-discussion"]; - }; - }; - }; - requestBody: { - content: { - "application/json": { - /** The discussion post's title. */ - title?: string; - /** The discussion post's body text. */ - body?: string; - }; - }; - }; - }; - /** - * List all comments on a team discussion. OAuth access tokens require the `read:discussion` [scope](https://docs.github.com/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/). - * - * **Note:** You can also specify a team by `org_id` and `team_id` using the route `GET /organizations/{org_id}/team/{team_id}/discussions/{discussion_number}/comments`. - */ - "teams/list-discussion-comments-in-org": { - parameters: { - path: { - org: components["parameters"]["org"]; - /** team_slug parameter */ - team_slug: components["parameters"]["team-slug"]; - discussion_number: components["parameters"]["discussion-number"]; - }; - query: { - /** One of `asc` (ascending) or `desc` (descending). */ - direction?: components["parameters"]["direction"]; - /** Results per page (max 100) */ - per_page?: components["parameters"]["per-page"]; - /** Page number of the results to fetch. */ - page?: components["parameters"]["page"]; - }; - }; - responses: { - /** Response */ - 200: { - headers: {}; - content: { - "application/json": components["schemas"]["team-discussion-comment"][]; - }; - }; - }; - }; - /** - * Creates a new comment on a team discussion. OAuth access tokens require the `write:discussion` [scope](https://docs.github.com/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/). - * - * This endpoint triggers [notifications](https://docs.github.com/en/github/managing-subscriptions-and-notifications-on-github/about-notifications). Creating content too quickly using this endpoint may result in abuse rate limiting. See "[Abuse rate limits](https://docs.github.com/rest/overview/resources-in-the-rest-api#abuse-rate-limits)" and "[Dealing with abuse rate limits](https://docs.github.com/rest/guides/best-practices-for-integrators#dealing-with-rate-limits)" for details. - * - * **Note:** You can also specify a team by `org_id` and `team_id` using the route `POST /organizations/{org_id}/team/{team_id}/discussions/{discussion_number}/comments`. - */ - "teams/create-discussion-comment-in-org": { - parameters: { - path: { - org: components["parameters"]["org"]; - /** team_slug parameter */ - team_slug: components["parameters"]["team-slug"]; - discussion_number: components["parameters"]["discussion-number"]; - }; - }; - responses: { - /** Response */ - 201: { - content: { - "application/json": components["schemas"]["team-discussion-comment"]; - }; - }; - }; - requestBody: { - content: { - "application/json": { - /** The discussion comment's body text. */ - body: string; - }; - }; - }; - }; - /** - * Get a specific comment on a team discussion. OAuth access tokens require the `read:discussion` [scope](https://docs.github.com/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/). - * - * **Note:** You can also specify a team by `org_id` and `team_id` using the route `GET /organizations/{org_id}/team/{team_id}/discussions/{discussion_number}/comments/{comment_number}`. - */ - "teams/get-discussion-comment-in-org": { - parameters: { - path: { - org: components["parameters"]["org"]; - /** team_slug parameter */ - team_slug: components["parameters"]["team-slug"]; - discussion_number: components["parameters"]["discussion-number"]; - comment_number: components["parameters"]["comment-number"]; - }; - }; - responses: { - /** Response */ - 200: { - content: { - "application/json": components["schemas"]["team-discussion-comment"]; - }; - }; - }; - }; - /** - * Deletes a comment on a team discussion. OAuth access tokens require the `write:discussion` [scope](https://docs.github.com/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/). - * - * **Note:** You can also specify a team by `org_id` and `team_id` using the route `DELETE /organizations/{org_id}/team/{team_id}/discussions/{discussion_number}/comments/{comment_number}`. - */ - "teams/delete-discussion-comment-in-org": { - parameters: { - path: { - org: components["parameters"]["org"]; - /** team_slug parameter */ - team_slug: components["parameters"]["team-slug"]; - discussion_number: components["parameters"]["discussion-number"]; - comment_number: components["parameters"]["comment-number"]; - }; - }; - responses: { - /** Response */ - 204: never; - }; - }; - /** - * Edits the body text of a discussion comment. OAuth access tokens require the `write:discussion` [scope](https://docs.github.com/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/). - * - * **Note:** You can also specify a team by `org_id` and `team_id` using the route `PATCH /organizations/{org_id}/team/{team_id}/discussions/{discussion_number}/comments/{comment_number}`. - */ - "teams/update-discussion-comment-in-org": { - parameters: { - path: { - org: components["parameters"]["org"]; - /** team_slug parameter */ - team_slug: components["parameters"]["team-slug"]; - discussion_number: components["parameters"]["discussion-number"]; - comment_number: components["parameters"]["comment-number"]; - }; - }; - responses: { - /** Response */ - 200: { - content: { - "application/json": components["schemas"]["team-discussion-comment"]; - }; - }; - }; - requestBody: { - content: { - "application/json": { - /** The discussion comment's body text. */ - body: string; - }; - }; - }; - }; - /** - * List the reactions to a [team discussion comment](https://docs.github.com/rest/reference/teams#discussion-comments/). OAuth access tokens require the `read:discussion` [scope](https://docs.github.com/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/). - * - * **Note:** You can also specify a team by `org_id` and `team_id` using the route `GET /organizations/:org_id/team/:team_id/discussions/:discussion_number/comments/:comment_number/reactions`. - */ - "reactions/list-for-team-discussion-comment-in-org": { - parameters: { - path: { - org: components["parameters"]["org"]; - /** team_slug parameter */ - team_slug: components["parameters"]["team-slug"]; - discussion_number: components["parameters"]["discussion-number"]; - comment_number: components["parameters"]["comment-number"]; - }; - query: { - /** Returns a single [reaction type](https://docs.github.com/rest/reference/reactions#reaction-types). Omit this parameter to list all reactions to a team discussion comment. */ - content?: - | "+1" - | "-1" - | "laugh" - | "confused" - | "heart" - | "hooray" - | "rocket" - | "eyes"; - /** Results per page (max 100) */ - per_page?: components["parameters"]["per-page"]; - /** Page number of the results to fetch. */ - page?: components["parameters"]["page"]; - }; - }; - responses: { - /** Response */ - 200: { - headers: {}; - content: { - "application/json": components["schemas"]["reaction"][]; - }; - }; - }; - }; - /** - * Create a reaction to a [team discussion comment](https://docs.github.com/rest/reference/teams#discussion-comments). OAuth access tokens require the `write:discussion` [scope](https://docs.github.com/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/). A response with an HTTP `200` status means that you already added the reaction type to this team discussion comment. - * - * **Note:** You can also specify a team by `org_id` and `team_id` using the route `POST /organizations/:org_id/team/:team_id/discussions/:discussion_number/comments/:comment_number/reactions`. - */ - "reactions/create-for-team-discussion-comment-in-org": { - parameters: { - path: { - org: components["parameters"]["org"]; - /** team_slug parameter */ - team_slug: components["parameters"]["team-slug"]; - discussion_number: components["parameters"]["discussion-number"]; - comment_number: components["parameters"]["comment-number"]; - }; - }; - responses: { - /** Response */ - 200: { - content: { - "application/json": components["schemas"]["reaction"]; - }; - }; - /** Response */ - 201: { - content: { - "application/json": components["schemas"]["reaction"]; - }; - }; - }; - requestBody: { - content: { - "application/json": { - /** The [reaction type](https://docs.github.com/rest/reference/reactions#reaction-types) to add to the team discussion comment. */ - content: - | "+1" - | "-1" - | "laugh" - | "confused" - | "heart" - | "hooray" - | "rocket" - | "eyes"; - }; - }; - }; - }; - /** - * **Note:** You can also specify a team or organization with `team_id` and `org_id` using the route `DELETE /organizations/:org_id/team/:team_id/discussions/:discussion_number/comments/:comment_number/reactions/:reaction_id`. - * - * Delete a reaction to a [team discussion comment](https://docs.github.com/rest/reference/teams#discussion-comments). OAuth access tokens require the `write:discussion` [scope](https://docs.github.com/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/). - */ - "reactions/delete-for-team-discussion-comment": { - parameters: { - path: { - org: components["parameters"]["org"]; - /** team_slug parameter */ - team_slug: components["parameters"]["team-slug"]; - discussion_number: components["parameters"]["discussion-number"]; - comment_number: components["parameters"]["comment-number"]; - reaction_id: components["parameters"]["reaction-id"]; - }; - }; - responses: { - /** Response */ - 204: never; - }; - }; - /** - * List the reactions to a [team discussion](https://docs.github.com/rest/reference/teams#discussions). OAuth access tokens require the `read:discussion` [scope](https://docs.github.com/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/). - * - * **Note:** You can also specify a team by `org_id` and `team_id` using the route `GET /organizations/:org_id/team/:team_id/discussions/:discussion_number/reactions`. - */ - "reactions/list-for-team-discussion-in-org": { - parameters: { - path: { - org: components["parameters"]["org"]; - /** team_slug parameter */ - team_slug: components["parameters"]["team-slug"]; - discussion_number: components["parameters"]["discussion-number"]; - }; - query: { - /** Returns a single [reaction type](https://docs.github.com/rest/reference/reactions#reaction-types). Omit this parameter to list all reactions to a team discussion. */ - content?: - | "+1" - | "-1" - | "laugh" - | "confused" - | "heart" - | "hooray" - | "rocket" - | "eyes"; - /** Results per page (max 100) */ - per_page?: components["parameters"]["per-page"]; - /** Page number of the results to fetch. */ - page?: components["parameters"]["page"]; - }; - }; - responses: { - /** Response */ - 200: { - headers: {}; - content: { - "application/json": components["schemas"]["reaction"][]; - }; - }; - }; - }; - /** - * Create a reaction to a [team discussion](https://docs.github.com/rest/reference/teams#discussions). OAuth access tokens require the `write:discussion` [scope](https://docs.github.com/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/). A response with an HTTP `200` status means that you already added the reaction type to this team discussion. - * - * **Note:** You can also specify a team by `org_id` and `team_id` using the route `POST /organizations/:org_id/team/:team_id/discussions/:discussion_number/reactions`. - */ - "reactions/create-for-team-discussion-in-org": { - parameters: { - path: { - org: components["parameters"]["org"]; - /** team_slug parameter */ - team_slug: components["parameters"]["team-slug"]; - discussion_number: components["parameters"]["discussion-number"]; - }; - }; - responses: { - /** Response */ - 200: { - content: { - "application/json": components["schemas"]["reaction"]; - }; - }; - /** Response */ - 201: { - content: { - "application/json": components["schemas"]["reaction"]; - }; - }; - }; - requestBody: { - content: { - "application/json": { - /** The [reaction type](https://docs.github.com/rest/reference/reactions#reaction-types) to add to the team discussion. */ - content: - | "+1" - | "-1" - | "laugh" - | "confused" - | "heart" - | "hooray" - | "rocket" - | "eyes"; - }; - }; - }; - }; - /** - * **Note:** You can also specify a team or organization with `team_id` and `org_id` using the route `DELETE /organizations/:org_id/team/:team_id/discussions/:discussion_number/reactions/:reaction_id`. - * - * Delete a reaction to a [team discussion](https://docs.github.com/rest/reference/teams#discussions). OAuth access tokens require the `write:discussion` [scope](https://docs.github.com/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/). - */ - "reactions/delete-for-team-discussion": { - parameters: { - path: { - org: components["parameters"]["org"]; - /** team_slug parameter */ - team_slug: components["parameters"]["team-slug"]; - discussion_number: components["parameters"]["discussion-number"]; - reaction_id: components["parameters"]["reaction-id"]; - }; - }; - responses: { - /** Response */ - 204: never; - }; - }; - /** - * The return hash contains a `role` field which refers to the Organization Invitation role and will be one of the following values: `direct_member`, `admin`, `billing_manager`, `hiring_manager`, or `reinstate`. If the invitee is not a GitHub member, the `login` field in the return hash will be `null`. - * - * **Note:** You can also specify a team by `org_id` and `team_id` using the route `GET /organizations/{org_id}/team/{team_id}/invitations`. - */ - "teams/list-pending-invitations-in-org": { - parameters: { - path: { - org: components["parameters"]["org"]; - /** team_slug parameter */ - team_slug: components["parameters"]["team-slug"]; - }; - query: { - /** Results per page (max 100) */ - per_page?: components["parameters"]["per-page"]; - /** Page number of the results to fetch. */ - page?: components["parameters"]["page"]; - }; - }; - responses: { - /** Response */ - 200: { - headers: {}; - content: { - "application/json": components["schemas"]["organization-invitation"][]; - }; - }; - }; - }; - /** - * Team members will include the members of child teams. - * - * To list members in a team, the team must be visible to the authenticated user. - */ - "teams/list-members-in-org": { - parameters: { - path: { - org: components["parameters"]["org"]; - /** team_slug parameter */ - team_slug: components["parameters"]["team-slug"]; - }; - query: { - /** - * Filters members returned by their role in the team. Can be one of: - * \* `member` - normal members of the team. - * \* `maintainer` - team maintainers. - * \* `all` - all members of the team. - */ - role?: "member" | "maintainer" | "all"; - /** Results per page (max 100) */ - per_page?: components["parameters"]["per-page"]; - /** Page number of the results to fetch. */ - page?: components["parameters"]["page"]; - }; - }; - responses: { - /** Response */ - 200: { - headers: {}; - content: { - "application/json": components["schemas"]["simple-user"][]; - }; - }; - }; - }; - /** - * Team members will include the members of child teams. - * - * To get a user's membership with a team, the team must be visible to the authenticated user. - * - * **Note:** You can also specify a team by `org_id` and `team_id` using the route `GET /organizations/{org_id}/team/{team_id}/memberships/{username}`. - * - * **Note:** - * The response contains the `state` of the membership and the member's `role`. - * - * The `role` for organization owners is set to `maintainer`. For more information about `maintainer` roles, see see [Create a team](https://docs.github.com/rest/reference/teams#create-a-team). - */ - "teams/get-membership-for-user-in-org": { - parameters: { - path: { - org: components["parameters"]["org"]; - /** team_slug parameter */ - team_slug: components["parameters"]["team-slug"]; - username: components["parameters"]["username"]; - }; - }; - responses: { - /** Response */ - 200: { - content: { - "application/json": components["schemas"]["team-membership"]; - }; - }; - /** if user has no team membership */ - 404: unknown; - }; - }; - /** - * Team synchronization is available for organizations using GitHub Enterprise Cloud. For more information, see [GitHub's products](https://help.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation. - * - * Adds an organization member to a team. An authenticated organization owner or team maintainer can add organization members to a team. - * - * **Note:** When you have team synchronization set up for a team with your organization's identity provider (IdP), you will see an error if you attempt to use the API for making changes to the team's membership. If you have access to manage group membership in your IdP, you can manage GitHub team membership through your identity provider, which automatically adds and removes team members in an organization. For more information, see "[Synchronizing teams between your identity provider and GitHub](https://help.github.com/articles/synchronizing-teams-between-your-identity-provider-and-github/)." - * - * An organization owner can add someone who is not part of the team's organization to a team. When an organization owner adds someone to a team who is not an organization member, this endpoint will send an invitation to the person via email. This newly-created membership will be in the "pending" state until the person accepts the invitation, at which point the membership will transition to the "active" state and the user will be added as a member of the team. - * - * If the user is already a member of the team, this endpoint will update the role of the team member's role. To update the membership of a team member, the authenticated user must be an organization owner or a team maintainer. - * - * **Note:** You can also specify a team by `org_id` and `team_id` using the route `PUT /organizations/{org_id}/team/{team_id}/memberships/{username}`. - */ - "teams/add-or-update-membership-for-user-in-org": { - parameters: { - path: { - org: components["parameters"]["org"]; - /** team_slug parameter */ - team_slug: components["parameters"]["team-slug"]; - username: components["parameters"]["username"]; - }; - }; - responses: { - /** Response */ - 200: { - content: { - "application/json": components["schemas"]["team-membership"]; - }; - }; - /** Forbidden if team synchronization is set up */ - 403: unknown; - /** Unprocessable Entity if you attempt to add an organization to a team */ - 422: unknown; - }; - requestBody: { - content: { - "application/json": { - /** - * The role that this user should have in the team. Can be one of: - * \* `member` - a normal member of the team. - * \* `maintainer` - a team maintainer. Able to add/remove other team members, promote other team members to team maintainer, and edit the team's name and description. - */ - role?: "member" | "maintainer"; - }; - }; - }; - }; - /** - * Team synchronization is available for organizations using GitHub Enterprise Cloud. For more information, see [GitHub's products](https://help.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation. - * - * To remove a membership between a user and a team, the authenticated user must have 'admin' permissions to the team or be an owner of the organization that the team is associated with. Removing team membership does not delete the user, it just removes their membership from the team. - * - * **Note:** When you have team synchronization set up for a team with your organization's identity provider (IdP), you will see an error if you attempt to use the API for making changes to the team's membership. If you have access to manage group membership in your IdP, you can manage GitHub team membership through your identity provider, which automatically adds and removes team members in an organization. For more information, see "[Synchronizing teams between your identity provider and GitHub](https://help.github.com/articles/synchronizing-teams-between-your-identity-provider-and-github/)." - * - * **Note:** You can also specify a team by `org_id` and `team_id` using the route `DELETE /organizations/{org_id}/team/{team_id}/memberships/{username}`. - */ - "teams/remove-membership-for-user-in-org": { - parameters: { - path: { - org: components["parameters"]["org"]; - /** team_slug parameter */ - team_slug: components["parameters"]["team-slug"]; - username: components["parameters"]["username"]; - }; - }; - responses: { - /** Response */ - 204: never; - /** Forbidden if team synchronization is set up */ - 403: unknown; - }; - }; - /** - * Lists the organization projects for a team. - * - * **Note:** You can also specify a team by `org_id` and `team_id` using the route `GET /organizations/{org_id}/team/{team_id}/projects`. - */ - "teams/list-projects-in-org": { - parameters: { - path: { - org: components["parameters"]["org"]; - /** team_slug parameter */ - team_slug: components["parameters"]["team-slug"]; - }; - query: { - /** Results per page (max 100) */ - per_page?: components["parameters"]["per-page"]; - /** Page number of the results to fetch. */ - page?: components["parameters"]["page"]; - }; - }; - responses: { - /** Response */ - 200: { - headers: {}; - content: { - "application/json": components["schemas"]["team-project"][]; - }; - }; - }; - }; - /** - * Checks whether a team has `read`, `write`, or `admin` permissions for an organization project. The response includes projects inherited from a parent team. - * - * **Note:** You can also specify a team by `org_id` and `team_id` using the route `GET /organizations/{org_id}/team/{team_id}/projects/{project_id}`. - */ - "teams/check-permissions-for-project-in-org": { - parameters: { - path: { - org: components["parameters"]["org"]; - /** team_slug parameter */ - team_slug: components["parameters"]["team-slug"]; - project_id: components["parameters"]["project-id"]; - }; - }; - responses: { - /** Response */ - 200: { - content: { - "application/json": components["schemas"]["team-project"]; - }; - }; - /** Not Found if project is not managed by this team */ - 404: unknown; - }; - }; - /** - * Adds an organization project to a team. To add a project to a team or update the team's permission on a project, the authenticated user must have `admin` permissions for the project. The project and team must be part of the same organization. - * - * **Note:** You can also specify a team by `org_id` and `team_id` using the route `PUT /organizations/{org_id}/team/{team_id}/projects/{project_id}`. - */ - "teams/add-or-update-project-permissions-in-org": { - parameters: { - path: { - org: components["parameters"]["org"]; - /** team_slug parameter */ - team_slug: components["parameters"]["team-slug"]; - project_id: components["parameters"]["project-id"]; - }; - }; - responses: { - /** Response */ - 204: never; - /** Forbidden if the project is not owned by the organization */ - 403: { - content: { - "application/json": { - message?: string; - documentation_url?: string; - }; - }; - }; - }; - requestBody: { - content: { - "application/json": { - /** - * The permission to grant to the team for this project. Can be one of: - * \* `read` - team members can read, but not write to or administer this project. - * \* `write` - team members can read and write, but not administer this project. - * \* `admin` - team members can read, write and administer this project. - * Default: the team's `permission` attribute will be used to determine what permission to grant the team on this project. Note that, if you choose not to pass any parameters, you'll need to set `Content-Length` to zero when calling out to this endpoint. For more information, see "[HTTP verbs](https://docs.github.com/rest/overview/resources-in-the-rest-api#http-verbs)." - */ - permission?: "read" | "write" | "admin"; - } | null; - }; - }; - }; - /** - * Removes an organization project from a team. An organization owner or a team maintainer can remove any project from the team. To remove a project from a team as an organization member, the authenticated user must have `read` access to both the team and project, or `admin` access to the team or project. This endpoint removes the project from the team, but does not delete the project. - * - * **Note:** You can also specify a team by `org_id` and `team_id` using the route `DELETE /organizations/{org_id}/team/{team_id}/projects/{project_id}`. - */ - "teams/remove-project-in-org": { - parameters: { - path: { - org: components["parameters"]["org"]; - /** team_slug parameter */ - team_slug: components["parameters"]["team-slug"]; - project_id: components["parameters"]["project-id"]; - }; - }; - responses: { - /** Response */ - 204: never; - }; - }; - /** - * Lists a team's repositories visible to the authenticated user. - * - * **Note:** You can also specify a team by `org_id` and `team_id` using the route `GET /organizations/{org_id}/team/{team_id}/repos`. - */ - "teams/list-repos-in-org": { - parameters: { - path: { - org: components["parameters"]["org"]; - /** team_slug parameter */ - team_slug: components["parameters"]["team-slug"]; - }; - query: { - /** Results per page (max 100) */ - per_page?: components["parameters"]["per-page"]; - /** Page number of the results to fetch. */ - page?: components["parameters"]["page"]; - }; - }; - responses: { - /** Response */ - 200: { - headers: {}; - content: { - "application/json": components["schemas"]["minimal-repository"][]; - }; - }; - }; - }; - /** - * Checks whether a team has `admin`, `push`, `maintain`, `triage`, or `pull` permission for a repository. Repositories inherited through a parent team will also be checked. - * - * You can also get information about the specified repository, including what permissions the team grants on it, by passing the following custom [media type](https://docs.github.com/rest/overview/media-types/) via the `application/vnd.github.v3.repository+json` accept header. - * - * If a team doesn't have permission for the repository, you will receive a `404 Not Found` response status. - * - * **Note:** You can also specify a team by `org_id` and `team_id` using the route `GET /organizations/{org_id}/team/{team_id}/repos/{owner}/{repo}`. - */ - "teams/check-permissions-for-repo-in-org": { - parameters: { - path: { - org: components["parameters"]["org"]; - /** team_slug parameter */ - team_slug: components["parameters"]["team-slug"]; - owner: components["parameters"]["owner"]; - repo: components["parameters"]["repo"]; - }; - }; - responses: { - /** Alternative response with repository permissions */ - 200: { - content: { - "application/json": components["schemas"]["team-repository"]; - }; - }; - /** Response if team has permission for the repository. This is the response when the repository media type hasn't been provded in the Accept header. */ - 204: never; - /** Not Found if team does not have permission for the repository */ - 404: unknown; - }; - }; - /** - * To add a repository to a team or update the team's permission on a repository, the authenticated user must have admin access to the repository, and must be able to see the team. The repository must be owned by the organization, or a direct fork of a repository owned by the organization. You will get a `422 Unprocessable Entity` status if you attempt to add a repository to a team that is not owned by the organization. Note that, if you choose not to pass any parameters, you'll need to set `Content-Length` to zero when calling out to this endpoint. For more information, see "[HTTP verbs](https://docs.github.com/rest/overview/resources-in-the-rest-api#http-verbs)." - * - * **Note:** You can also specify a team by `org_id` and `team_id` using the route `PUT /organizations/{org_id}/team/{team_id}/repos/{owner}/{repo}`. - * - * For more information about the permission levels, see "[Repository permission levels for an organization](https://help.github.com/en/github/setting-up-and-managing-organizations-and-teams/repository-permission-levels-for-an-organization#permission-levels-for-repositories-owned-by-an-organization)". - */ - "teams/add-or-update-repo-permissions-in-org": { - parameters: { - path: { - org: components["parameters"]["org"]; - /** team_slug parameter */ - team_slug: components["parameters"]["team-slug"]; - owner: components["parameters"]["owner"]; - repo: components["parameters"]["repo"]; - }; - }; - responses: { - /** Response */ - 204: never; - }; - requestBody: { - content: { - "application/json": { - /** - * The permission to grant the team on this repository. Can be one of: - * \* `pull` - team members can pull, but not push to or administer this repository. - * \* `push` - team members can pull and push, but not administer this repository. - * \* `admin` - team members can pull, push and administer this repository. - * \* `maintain` - team members can manage the repository without access to sensitive or destructive actions. Recommended for project managers. Only applies to repositories owned by organizations. - * \* `triage` - team members can proactively manage issues and pull requests without write access. Recommended for contributors who triage a repository. Only applies to repositories owned by organizations. - * - * If no permission is specified, the team's `permission` attribute will be used to determine what permission to grant the team on this repository. - */ - permission?: "pull" | "push" | "admin" | "maintain" | "triage"; - }; - }; - }; - }; - /** - * If the authenticated user is an organization owner or a team maintainer, they can remove any repositories from the team. To remove a repository from a team as an organization member, the authenticated user must have admin access to the repository and must be able to see the team. This does not delete the repository, it just removes it from the team. - * - * **Note:** You can also specify a team by `org_id` and `team_id` using the route `DELETE /organizations/{org_id}/team/{team_id}/repos/{owner}/{repo}`. - */ - "teams/remove-repo-in-org": { - parameters: { - path: { - org: components["parameters"]["org"]; - /** team_slug parameter */ - team_slug: components["parameters"]["team-slug"]; - owner: components["parameters"]["owner"]; - repo: components["parameters"]["repo"]; - }; - }; - responses: { - /** Response */ - 204: never; - }; - }; - /** - * Team synchronization is available for organizations using GitHub Enterprise Cloud. For more information, see [GitHub's products](https://help.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation. - * - * List IdP groups connected to a team on GitHub. - * - * **Note:** You can also specify a team by `org_id` and `team_id` using the route `GET /organizations/{org_id}/team/{team_id}/team-sync/group-mappings`. - */ - "teams/list-idp-groups-in-org": { - parameters: { - path: { - org: components["parameters"]["org"]; - /** team_slug parameter */ - team_slug: components["parameters"]["team-slug"]; - }; - }; - responses: { - /** Response */ - 200: { - content: { - "application/json": components["schemas"]["group-mapping"]; - }; - }; - }; - }; - /** - * Team synchronization is available for organizations using GitHub Enterprise Cloud. For more information, see [GitHub's products](https://help.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation. - * - * Creates, updates, or removes a connection between a team and an IdP group. When adding groups to a team, you must include all new and existing groups to avoid replacing existing groups with the new ones. Specifying an empty `groups` array will remove all connections for a team. - * - * **Note:** You can also specify a team by `org_id` and `team_id` using the route `PATCH /organizations/{org_id}/team/{team_id}/team-sync/group-mappings`. - */ - "teams/create-or-update-idp-group-connections-in-org": { - parameters: { - path: { - org: components["parameters"]["org"]; - /** team_slug parameter */ - team_slug: components["parameters"]["team-slug"]; - }; - }; - responses: { - /** Response */ - 200: { - content: { - "application/json": components["schemas"]["group-mapping"]; - }; - }; - }; - requestBody: { - content: { - "application/json": { - /** The IdP groups you want to connect to a GitHub team. When updating, the new `groups` object will replace the original one. You must include any existing groups that you don't want to remove. */ - groups?: { - /** ID of the IdP group. */ - group_id: string; - /** Name of the IdP group. */ - group_name: string; - /** Description of the IdP group. */ - group_description: string; - }[]; - }; - }; - }; - }; - /** - * Lists the child teams of the team specified by `{team_slug}`. - * - * **Note:** You can also specify a team by `org_id` and `team_id` using the route `GET /organizations/{org_id}/team/{team_id}/teams`. - */ - "teams/list-child-in-org": { - parameters: { - path: { - org: components["parameters"]["org"]; - /** team_slug parameter */ - team_slug: components["parameters"]["team-slug"]; - }; - query: { - /** Results per page (max 100) */ - per_page?: components["parameters"]["per-page"]; - /** Page number of the results to fetch. */ - page?: components["parameters"]["page"]; - }; - }; - responses: { - /** if child teams exist */ - 200: { - headers: {}; - content: { - "application/json": components["schemas"]["team"][]; - }; - }; - }; - }; - "projects/get-card": { - parameters: { - path: { - /** card_id parameter */ - card_id: components["parameters"]["card-id"]; - }; - }; - responses: { - /** Response */ - 200: { - content: { - "application/json": components["schemas"]["project-card"]; - }; - }; - 304: components["responses"]["not_modified"]; - 401: components["responses"]["requires_authentication"]; - 403: components["responses"]["forbidden"]; - 404: components["responses"]["not_found"]; - }; - }; - "projects/delete-card": { - parameters: { - path: { - /** card_id parameter */ - card_id: components["parameters"]["card-id"]; - }; - }; - responses: { - /** Response */ - 204: never; - 304: components["responses"]["not_modified"]; - 401: components["responses"]["requires_authentication"]; - /** Forbidden */ - 403: { - content: { - "application/json": { - message?: string; - documentation_url?: string; - errors?: string[]; - }; - }; - }; - 404: components["responses"]["not_found"]; - }; - }; - "projects/update-card": { - parameters: { - path: { - /** card_id parameter */ - card_id: components["parameters"]["card-id"]; - }; - }; - responses: { - /** Response */ - 200: { - content: { - "application/json": components["schemas"]["project-card"]; - }; - }; - 304: components["responses"]["not_modified"]; - 401: components["responses"]["requires_authentication"]; - 403: components["responses"]["forbidden"]; - 404: components["responses"]["not_found"]; - 422: components["responses"]["validation_failed_simple"]; - }; - requestBody: { - content: { - "application/json": { - /** The project card's note */ - note?: string | null; - /** Whether or not the card is archived */ - archived?: boolean; - }; - }; - }; - }; - "projects/move-card": { - parameters: { - path: { - /** card_id parameter */ - card_id: components["parameters"]["card-id"]; - }; - }; - responses: { - /** Response */ - 201: { - content: { - "application/json": { [key: string]: unknown }; - }; - }; - 304: components["responses"]["not_modified"]; - 401: components["responses"]["requires_authentication"]; - /** Forbidden */ - 403: { - content: { - "application/json": { - message?: string; - documentation_url?: string; - errors?: { - code?: string; - message?: string; - resource?: string; - field?: string; - }[]; - }; - }; - }; - 422: components["responses"]["validation_failed"]; - /** Response */ - 503: { - content: { - "application/json": { - code?: string; - message?: string; - documentation_url?: string; - errors?: { - code?: string; - message?: string; - }[]; - }; - }; - }; - }; - requestBody: { - content: { - "application/json": { - /** The position of the card in a column. Can be one of: `top`, `bottom`, or `after:` to place after the specified card. */ - position: string; - /** The unique identifier of the column the card should be moved to */ - column_id?: number; - }; - }; - }; - }; - "projects/get-column": { - parameters: { - path: { - /** column_id parameter */ - column_id: components["parameters"]["column-id"]; - }; - }; - responses: { - /** Response */ - 200: { - content: { - "application/json": components["schemas"]["project-column"]; - }; - }; - 304: components["responses"]["not_modified"]; - 401: components["responses"]["requires_authentication"]; - 403: components["responses"]["forbidden"]; - 404: components["responses"]["not_found"]; - }; - }; - "projects/delete-column": { - parameters: { - path: { - /** column_id parameter */ - column_id: components["parameters"]["column-id"]; - }; - }; - responses: { - /** Response */ - 204: never; - 304: components["responses"]["not_modified"]; - 401: components["responses"]["requires_authentication"]; - 403: components["responses"]["forbidden"]; - }; - }; - "projects/update-column": { - parameters: { - path: { - /** column_id parameter */ - column_id: components["parameters"]["column-id"]; - }; - }; - responses: { - /** Response */ - 200: { - content: { - "application/json": components["schemas"]["project-column"]; - }; - }; - 304: components["responses"]["not_modified"]; - 401: components["responses"]["requires_authentication"]; - 403: components["responses"]["forbidden"]; - }; - requestBody: { - content: { - "application/json": { - /** Name of the project column */ - name: string; - }; - }; - }; - }; - "projects/list-cards": { - parameters: { - path: { - /** column_id parameter */ - column_id: components["parameters"]["column-id"]; - }; - query: { - /** Filters the project cards that are returned by the card's state. Can be one of `all`,`archived`, or `not_archived`. */ - archived_state?: "all" | "archived" | "not_archived"; - /** Results per page (max 100) */ - per_page?: components["parameters"]["per-page"]; - /** Page number of the results to fetch. */ - page?: components["parameters"]["page"]; - }; - }; - responses: { - /** Response */ - 200: { - headers: {}; - content: { - "application/json": components["schemas"]["project-card"][]; - }; - }; - 304: components["responses"]["not_modified"]; - 401: components["responses"]["requires_authentication"]; - 403: components["responses"]["forbidden"]; - }; - }; - "projects/create-card": { - parameters: { - path: { - /** column_id parameter */ - column_id: components["parameters"]["column-id"]; - }; - }; - responses: { - /** Response */ - 201: { - content: { - "application/json": components["schemas"]["project-card"]; - }; - }; - 304: components["responses"]["not_modified"]; - 401: components["responses"]["requires_authentication"]; - 403: components["responses"]["forbidden"]; - /** Validation failed */ - 422: { - content: { - "application/json": - | components["schemas"]["validation-error"] - | components["schemas"]["validation-error-simple"]; - }; - }; - /** Response */ - 503: { - content: { - "application/json": { - code?: string; - message?: string; - documentation_url?: string; - errors?: { - code?: string; - message?: string; - }[]; - }; - }; - }; - }; - requestBody: { - content: { - "application/json": - | { - /** The project card's note */ - note: string | null; - } - | { - /** The unique identifier of the content associated with the card */ - content_id: number; - /** The piece of content associated with the card */ - content_type: string; - }; - }; - }; - }; - "projects/move-column": { - parameters: { - path: { - /** column_id parameter */ - column_id: components["parameters"]["column-id"]; - }; - }; - responses: { - /** Response */ - 201: { - content: { - "application/json": { [key: string]: unknown }; - }; - }; - 304: components["responses"]["not_modified"]; - 401: components["responses"]["requires_authentication"]; - 403: components["responses"]["forbidden"]; - 422: components["responses"]["validation_failed_simple"]; - }; - requestBody: { - content: { - "application/json": { - /** The position of the column in a project. Can be one of: `first`, `last`, or `after:` to place after the specified column. */ - position: string; - }; - }; - }; - }; - /** Gets a project by its `id`. Returns a `404 Not Found` status if projects are disabled. If you do not have sufficient privileges to perform this action, a `401 Unauthorized` or `410 Gone` status is returned. */ - "projects/get": { - parameters: { - path: { - project_id: components["parameters"]["project-id"]; - }; - }; - responses: { - /** Response */ - 200: { - content: { - "application/json": components["schemas"]["project"]; - }; - }; - 304: components["responses"]["not_modified"]; - 401: components["responses"]["requires_authentication"]; - 403: components["responses"]["forbidden"]; - }; - }; - /** Deletes a project board. Returns a `404 Not Found` status if projects are disabled. */ - "projects/delete": { - parameters: { - path: { - project_id: components["parameters"]["project-id"]; - }; - }; - responses: { - /** Delete Success */ - 204: never; - 304: components["responses"]["not_modified"]; - 401: components["responses"]["requires_authentication"]; - /** Forbidden */ - 403: { - content: { - "application/json": { - message?: string; - documentation_url?: string; - errors?: string[]; - }; - }; - }; - 404: components["responses"]["not_found"]; - 410: components["responses"]["gone"]; - }; - }; - /** Updates a project board's information. Returns a `404 Not Found` status if projects are disabled. If you do not have sufficient privileges to perform this action, a `401 Unauthorized` or `410 Gone` status is returned. */ - "projects/update": { - parameters: { - path: { - project_id: components["parameters"]["project-id"]; - }; - }; - responses: { - /** Response */ - 200: { - content: { - "application/json": components["schemas"]["project"]; - }; - }; - 304: components["responses"]["not_modified"]; - 401: components["responses"]["requires_authentication"]; - /** Forbidden */ - 403: { - content: { - "application/json": { - message?: string; - documentation_url?: string; - errors?: string[]; - }; - }; - }; - /** Not Found if the authenticated user does not have access to the project */ - 404: unknown; - 410: components["responses"]["gone"]; - 422: components["responses"]["validation_failed_simple"]; - }; - requestBody: { - content: { - "application/json": { - /** Name of the project */ - name?: string; - /** Body of the project */ - body?: string | null; - /** State of the project; either 'open' or 'closed' */ - state?: string; - /** The baseline permission that all organization members have on this project */ - organization_permission?: "read" | "write" | "admin" | "none"; - /** Whether or not this project can be seen by everyone. */ - private?: boolean; - }; - }; - }; - }; - /** Lists the collaborators for an organization project. For a project, the list of collaborators includes outside collaborators, organization members that are direct collaborators, organization members with access through team memberships, organization members with access through default organization permissions, and organization owners. You must be an organization owner or a project `admin` to list collaborators. */ - "projects/list-collaborators": { - parameters: { - path: { - project_id: components["parameters"]["project-id"]; - }; - query: { - /** - * Filters the collaborators by their affiliation. Can be one of: - * \* `outside`: Outside collaborators of a project that are not a member of the project's organization. - * \* `direct`: Collaborators with permissions to a project, regardless of organization membership status. - * \* `all`: All collaborators the authenticated user can see. - */ - affiliation?: "outside" | "direct" | "all"; - /** Results per page (max 100) */ - per_page?: components["parameters"]["per-page"]; - /** Page number of the results to fetch. */ - page?: components["parameters"]["page"]; - }; - }; - responses: { - /** Response */ - 200: { - headers: {}; - content: { - "application/json": components["schemas"]["simple-user"][]; - }; - }; - 304: components["responses"]["not_modified"]; - 401: components["responses"]["requires_authentication"]; - 403: components["responses"]["forbidden"]; - 404: components["responses"]["not_found"]; - 415: components["responses"]["preview_header_missing"]; - 422: components["responses"]["validation_failed"]; - }; - }; - /** Adds a collaborator to an organization project and sets their permission level. You must be an organization owner or a project `admin` to add a collaborator. */ - "projects/add-collaborator": { - parameters: { - path: { - project_id: components["parameters"]["project-id"]; - username: components["parameters"]["username"]; - }; - }; - responses: { - /** Response */ - 204: never; - 304: components["responses"]["not_modified"]; - 401: components["responses"]["requires_authentication"]; - 403: components["responses"]["forbidden"]; - 404: components["responses"]["not_found"]; - 415: components["responses"]["preview_header_missing"]; - 422: components["responses"]["validation_failed"]; - }; - requestBody: { - content: { - "application/json": { - /** The permission to grant the collaborator. */ - permission?: "read" | "write" | "admin"; - } | null; - }; - }; - }; - /** Removes a collaborator from an organization project. You must be an organization owner or a project `admin` to remove a collaborator. */ - "projects/remove-collaborator": { - parameters: { - path: { - project_id: components["parameters"]["project-id"]; - username: components["parameters"]["username"]; - }; - }; - responses: { - /** Response */ - 204: never; - 304: components["responses"]["not_modified"]; - 401: components["responses"]["requires_authentication"]; - 403: components["responses"]["forbidden"]; - 404: components["responses"]["not_found"]; - 415: components["responses"]["preview_header_missing"]; - 422: components["responses"]["validation_failed"]; - }; - }; - /** Returns the collaborator's permission level for an organization project. Possible values for the `permission` key: `admin`, `write`, `read`, `none`. You must be an organization owner or a project `admin` to review a user's permission level. */ - "projects/get-permission-for-user": { - parameters: { - path: { - project_id: components["parameters"]["project-id"]; - username: components["parameters"]["username"]; - }; - }; - responses: { - /** Response */ - 200: { - content: { - "application/json": components["schemas"]["repository-collaborator-permission"]; - }; - }; - 304: components["responses"]["not_modified"]; - 401: components["responses"]["requires_authentication"]; - 403: components["responses"]["forbidden"]; - 404: components["responses"]["not_found"]; - 415: components["responses"]["preview_header_missing"]; - 422: components["responses"]["validation_failed"]; - }; - }; - "projects/list-columns": { - parameters: { - path: { - project_id: components["parameters"]["project-id"]; - }; - query: { - /** Results per page (max 100) */ - per_page?: components["parameters"]["per-page"]; - /** Page number of the results to fetch. */ - page?: components["parameters"]["page"]; - }; - }; - responses: { - /** Response */ - 200: { - headers: {}; - content: { - "application/json": components["schemas"]["project-column"][]; - }; - }; - 304: components["responses"]["not_modified"]; - 401: components["responses"]["requires_authentication"]; - 403: components["responses"]["forbidden"]; - }; - }; - "projects/create-column": { - parameters: { - path: { - project_id: components["parameters"]["project-id"]; - }; - }; - responses: { - /** Response */ - 201: { - content: { - "application/json": components["schemas"]["project-column"]; - }; - }; - 304: components["responses"]["not_modified"]; - 401: components["responses"]["requires_authentication"]; - 403: components["responses"]["forbidden"]; - 422: components["responses"]["validation_failed_simple"]; - }; - requestBody: { - content: { - "application/json": { - /** Name of the project column */ - name: string; - }; - }; - }; - }; - /** - * **Note:** Accessing this endpoint does not count against your REST API rate limit. - * - * **Note:** The `rate` object is deprecated. If you're writing new API client code or updating existing code, you should use the `core` object instead of the `rate` object. The `core` object contains the same information that is present in the `rate` object. - */ - "rate-limit/get": { - parameters: {}; - responses: { - /** Response */ - 200: { - headers: {}; - content: { - "application/json": components["schemas"]["rate-limit-overview"]; - }; - }; - 304: components["responses"]["not_modified"]; - 404: components["responses"]["not_found"]; - }; - }; - /** - * **Deprecation Notice:** This endpoint route is deprecated and will be removed from the Reactions API. We recommend migrating your existing code to use the new delete reactions endpoints. For more information, see this [blog post](https://developer.github.com/changes/2020-02-26-new-delete-reactions-endpoints/). - * - * OAuth access tokens require the `write:discussion` [scope](https://docs.github.com/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/), when deleting a [team discussion](https://docs.github.com/rest/reference/teams#discussions) or [team discussion comment](https://docs.github.com/rest/reference/teams#discussion-comments). - */ - "reactions/delete-legacy": { - parameters: { - path: { - reaction_id: components["parameters"]["reaction-id"]; - }; - }; - responses: { - /** Response */ - 204: never; - 304: components["responses"]["not_modified"]; - 401: components["responses"]["requires_authentication"]; - 403: components["responses"]["forbidden"]; - 410: components["responses"]["gone"]; - 415: components["responses"]["preview_header_missing"]; - }; - }; - /** - * When you pass the `scarlet-witch-preview` media type, requests to get a repository will also return the repository's code of conduct if it can be detected from the repository's code of conduct file. - * - * The `parent` and `source` objects are present when the repository is a fork. `parent` is the repository this repository was forked from, `source` is the ultimate source for the network. - */ - "repos/get": { - parameters: { - path: { - owner: components["parameters"]["owner"]; - repo: components["parameters"]["repo"]; - }; - }; - responses: { - /** Response */ - 200: { - content: { - "application/json": components["schemas"]["full-repository"]; - }; - }; - 301: components["responses"]["moved_permanently"]; - 403: components["responses"]["forbidden"]; - 404: components["responses"]["not_found"]; - }; - }; - /** - * Deleting a repository requires admin access. If OAuth is used, the `delete_repo` scope is required. - * - * If an organization owner has configured the organization to prevent members from deleting organization-owned - * repositories, you will get a `403 Forbidden` response. - */ - "repos/delete": { - parameters: { - path: { - owner: components["parameters"]["owner"]; - repo: components["parameters"]["repo"]; - }; - }; - responses: { - /** Response */ - 204: never; - 307: components["responses"]["temporary_redirect"]; - /** If an organization owner has configured the organization to prevent members from deleting organization-owned repositories, a member will get this response: */ - 403: { - content: { - "application/json": { - message?: string; - documentation_url?: string; - }; - }; - }; - 404: components["responses"]["not_found"]; - }; - }; - /** **Note**: To edit a repository's topics, use the [Replace all repository topics](https://docs.github.com/rest/reference/repos#replace-all-repository-topics) endpoint. */ - "repos/update": { - parameters: { - path: { - owner: components["parameters"]["owner"]; - repo: components["parameters"]["repo"]; - }; - }; - responses: { - /** Response */ - 200: { - content: { - "application/json": components["schemas"]["full-repository"]; - }; - }; - 307: components["responses"]["temporary_redirect"]; - 403: components["responses"]["forbidden"]; - 404: components["responses"]["not_found"]; - 422: components["responses"]["validation_failed"]; - }; - requestBody: { - content: { - "application/json": { - /** The name of the repository. */ - name?: string; - /** A short description of the repository. */ - description?: string; - /** A URL with more information about the repository. */ - homepage?: string; - /** - * Either `true` to make the repository private or `false` to make it public. Default: `false`. - * **Note**: You will get a `422` error if the organization restricts [changing repository visibility](https://help.github.com/articles/repository-permission-levels-for-an-organization#changing-the-visibility-of-repositories) to organization owners and a non-owner tries to change the value of private. **Note**: You will get a `422` error if the organization restricts [changing repository visibility](https://help.github.com/articles/repository-permission-levels-for-an-organization#changing-the-visibility-of-repositories) to organization owners and a non-owner tries to change the value of private. - */ - private?: boolean; - /** Can be `public` or `private`. If your organization is associated with an enterprise account using GitHub Enterprise Cloud or GitHub Enterprise Server 2.20+, `visibility` can also be `internal`. The `visibility` parameter overrides the `private` parameter when you use both along with the `nebula-preview` preview header. */ - visibility?: "public" | "private" | "visibility" | "internal"; - /** Specify which security and analysis features to enable or disable. For example, to enable GitHub Advanced Security, use this data in the body of the PATCH request: `{"security_and_analysis": {"advanced_security": {"status": "enabled"}}}`. If you have admin permissions for a private repository covered by an Advanced Security license, you can check which security and analysis features are currently enabled by using a `GET /repos/{owner}/{repo}` request. */ - security_and_analysis?: { - /** Use the `status` property to enable or disable GitHub Advanced Security for this repository. For more information, see "[About GitHub Advanced Security](/github/getting-started-with-github/learning-about-github/about-github-advanced-security)." */ - advanced_security?: { - /** Can be `enabled` or `disabled`. */ - status?: string; - }; - /** Use the `status` property to enable or disable secret scanning for this repository. For more information, see "[About secret scanning](/code-security/secret-security/about-secret-scanning)." */ - secret_scanning?: { - /** Can be `enabled` or `disabled`. */ - status?: string; - }; - } | null; - /** Either `true` to enable issues for this repository or `false` to disable them. */ - has_issues?: boolean; - /** Either `true` to enable projects for this repository or `false` to disable them. **Note:** If you're creating a repository in an organization that has disabled repository projects, the default is `false`, and if you pass `true`, the API returns an error. */ - has_projects?: boolean; - /** Either `true` to enable the wiki for this repository or `false` to disable it. */ - has_wiki?: boolean; - /** Either `true` to make this repo available as a template repository or `false` to prevent it. */ - is_template?: boolean; - /** Updates the default branch for this repository. */ - default_branch?: string; - /** Either `true` to allow squash-merging pull requests, or `false` to prevent squash-merging. */ - allow_squash_merge?: boolean; - /** Either `true` to allow merging pull requests with a merge commit, or `false` to prevent merging pull requests with merge commits. */ - allow_merge_commit?: boolean; - /** Either `true` to allow rebase-merging pull requests, or `false` to prevent rebase-merging. */ - allow_rebase_merge?: boolean; - /** Either `true` to allow automatically deleting head branches when pull requests are merged, or `false` to prevent automatic deletion. */ - delete_branch_on_merge?: boolean; - /** `true` to archive this repository. **Note**: You cannot unarchive repositories through the API. */ - archived?: boolean; - }; - }; - }; - }; - /** Lists all artifacts for a repository. Anyone with read access to the repository can use this endpoint. If the repository is private you must use an access token with the `repo` scope. GitHub Apps must have the `actions:read` permission to use this endpoint. */ - "actions/list-artifacts-for-repo": { - parameters: { - path: { - owner: components["parameters"]["owner"]; - repo: components["parameters"]["repo"]; - }; - query: { - /** Results per page (max 100) */ - per_page?: components["parameters"]["per-page"]; - /** Page number of the results to fetch. */ - page?: components["parameters"]["page"]; - }; - }; - responses: { - /** Response */ - 200: { - headers: {}; - content: { - "application/json": { - total_count: number; - artifacts: components["schemas"]["artifact"][]; - }; - }; - }; - }; - }; - /** Gets a specific artifact for a workflow run. Anyone with read access to the repository can use this endpoint. If the repository is private you must use an access token with the `repo` scope. GitHub Apps must have the `actions:read` permission to use this endpoint. */ - "actions/get-artifact": { - parameters: { - path: { - owner: components["parameters"]["owner"]; - repo: components["parameters"]["repo"]; - /** artifact_id parameter */ - artifact_id: components["parameters"]["artifact-id"]; - }; - }; - responses: { - /** Response */ - 200: { - content: { - "application/json": components["schemas"]["artifact"]; - }; - }; - }; - }; - /** Deletes an artifact for a workflow run. You must authenticate using an access token with the `repo` scope to use this endpoint. GitHub Apps must have the `actions:write` permission to use this endpoint. */ - "actions/delete-artifact": { - parameters: { - path: { - owner: components["parameters"]["owner"]; - repo: components["parameters"]["repo"]; - /** artifact_id parameter */ - artifact_id: components["parameters"]["artifact-id"]; - }; - }; - responses: { - /** Response */ - 204: never; - }; - }; - /** - * Gets a redirect URL to download an archive for a repository. This URL expires after 1 minute. Look for `Location:` in - * the response header to find the URL for the download. The `:archive_format` must be `zip`. Anyone with read access to - * the repository can use this endpoint. If the repository is private you must use an access token with the `repo` scope. - * GitHub Apps must have the `actions:read` permission to use this endpoint. - */ - "actions/download-artifact": { - parameters: { - path: { - owner: components["parameters"]["owner"]; - repo: components["parameters"]["repo"]; - /** artifact_id parameter */ - artifact_id: components["parameters"]["artifact-id"]; - archive_format: string; - }; - }; - responses: { - /** Response */ - 302: never; - }; - }; - /** Gets a specific job in a workflow run. Anyone with read access to the repository can use this endpoint. If the repository is private you must use an access token with the `repo` scope. GitHub Apps must have the `actions:read` permission to use this endpoint. */ - "actions/get-job-for-workflow-run": { - parameters: { - path: { - owner: components["parameters"]["owner"]; - repo: components["parameters"]["repo"]; - /** job_id parameter */ - job_id: components["parameters"]["job-id"]; - }; - }; - responses: { - /** Response */ - 200: { - content: { - "application/json": components["schemas"]["job"]; - }; - }; - }; - }; - /** - * Gets a redirect URL to download a plain text file of logs for a workflow job. This link expires after 1 minute. Look - * for `Location:` in the response header to find the URL for the download. Anyone with read access to the repository can - * use this endpoint. If the repository is private you must use an access token with the `repo` scope. GitHub Apps must - * have the `actions:read` permission to use this endpoint. - */ - "actions/download-job-logs-for-workflow-run": { - parameters: { - path: { - owner: components["parameters"]["owner"]; - repo: components["parameters"]["repo"]; - /** job_id parameter */ - job_id: components["parameters"]["job-id"]; - }; - }; - responses: { - /** Response */ - 302: never; - }; - }; - /** - * Gets the GitHub Actions permissions policy for a repository, including whether GitHub Actions is enabled and the actions allowed to run in the repository. - * - * You must authenticate using an access token with the `repo` scope to use this - * endpoint. GitHub Apps must have the `administration` repository permission to use this API. - */ - "actions/get-github-actions-permissions-repository": { - parameters: { - path: { - owner: components["parameters"]["owner"]; - repo: components["parameters"]["repo"]; - }; - }; - responses: { - /** Response */ - 200: { - content: { - "application/json": components["schemas"]["actions-repository-permissions"]; - }; - }; - }; - }; - /** - * Sets the GitHub Actions permissions policy for enabling GitHub Actions and allowed actions in the repository. - * - * If the repository belongs to an organization or enterprise that has set restrictive permissions at the organization or enterprise levels, such as `allowed_actions` to `selected` actions, then you cannot override them for the repository. - * - * You must authenticate using an access token with the `repo` scope to use this endpoint. GitHub Apps must have the `administration` repository permission to use this API. - */ - "actions/set-github-actions-permissions-repository": { - parameters: { - path: { - owner: components["parameters"]["owner"]; - repo: components["parameters"]["repo"]; - }; - }; - responses: { - /** Response */ - 204: never; - }; - requestBody: { - content: { - "application/json": { - enabled: components["schemas"]["actions-enabled"]; - allowed_actions?: components["schemas"]["allowed-actions"]; - }; - }; - }; - }; - /** - * Gets the settings for selected actions that are allowed in a repository. To use this endpoint, the repository policy for `allowed_actions` must be configured to `selected`. For more information, see "[Set GitHub Actions permissions for a repository](#set-github-actions-permissions-for-a-repository)." - * - * You must authenticate using an access token with the `repo` scope to use this endpoint. GitHub Apps must have the `administration` repository permission to use this API. - */ - "actions/get-allowed-actions-repository": { - parameters: { - path: { - owner: components["parameters"]["owner"]; - repo: components["parameters"]["repo"]; - }; - }; - responses: { - /** Response */ - 200: { - content: { - "application/json": components["schemas"]["selected-actions"]; - }; - }; - }; - }; - /** - * Sets the actions that are allowed in a repository. To use this endpoint, the repository permission policy for `allowed_actions` must be configured to `selected`. For more information, see "[Set GitHub Actions permissions for a repository](#set-github-actions-permissions-for-a-repository)." - * - * If the repository belongs to an organization or enterprise that has `selected` actions set at the organization or enterprise levels, then you cannot override any of the allowed actions settings. - * - * To use the `patterns_allowed` setting for private repositories, the repository must belong to an enterprise. If the repository does not belong to an enterprise, then the `patterns_allowed` setting only applies to public repositories. - * - * You must authenticate using an access token with the `repo` scope to use this endpoint. GitHub Apps must have the `administration` repository permission to use this API. - */ - "actions/set-allowed-actions-repository": { - parameters: { - path: { - owner: components["parameters"]["owner"]; - repo: components["parameters"]["repo"]; - }; - }; - responses: { - /** Response */ - 204: never; - }; - requestBody: { - content: { - "application/json": components["schemas"]["selected-actions"]; - }; - }; - }; - /** Lists all self-hosted runners configured in a repository. You must authenticate using an access token with the `repo` scope to use this endpoint. */ - "actions/list-self-hosted-runners-for-repo": { - parameters: { - path: { - owner: components["parameters"]["owner"]; - repo: components["parameters"]["repo"]; - }; - query: { - /** Results per page (max 100) */ - per_page?: components["parameters"]["per-page"]; - /** Page number of the results to fetch. */ - page?: components["parameters"]["page"]; - }; - }; - responses: { - /** Response */ - 200: { - headers: {}; - content: { - "application/json": { - total_count: number; - runners: components["schemas"]["runner"][]; - }; - }; - }; - }; - }; - /** - * Lists binaries for the runner application that you can download and run. - * - * You must authenticate using an access token with the `repo` scope to use this endpoint. - */ - "actions/list-runner-applications-for-repo": { - parameters: { - path: { - owner: components["parameters"]["owner"]; - repo: components["parameters"]["repo"]; - }; - }; - responses: { - /** Response */ - 200: { - content: { - "application/json": components["schemas"]["runner-application"][]; - }; - }; - }; - }; - /** - * Returns a token that you can pass to the `config` script. The token expires after one hour. You must authenticate - * using an access token with the `repo` scope to use this endpoint. - * - * #### Example using registration token - * - * Configure your self-hosted runner, replacing `TOKEN` with the registration token provided by this endpoint. - * - * ``` - * ./config.sh --url https://github.com/octo-org/octo-repo-artifacts --token TOKEN - * ``` - */ - "actions/create-registration-token-for-repo": { - parameters: { - path: { - owner: components["parameters"]["owner"]; - repo: components["parameters"]["repo"]; - }; - }; - responses: { - /** Response */ - 201: { - content: { - "application/json": components["schemas"]["authentication-token"]; - }; - }; - }; - }; - /** - * Returns a token that you can pass to remove a self-hosted runner from a repository. The token expires after one hour. - * You must authenticate using an access token with the `repo` scope to use this endpoint. - * - * #### Example using remove token - * - * To remove your self-hosted runner from a repository, replace TOKEN with the remove token provided by this endpoint. - * - * ``` - * ./config.sh remove --token TOKEN - * ``` - */ - "actions/create-remove-token-for-repo": { - parameters: { - path: { - owner: components["parameters"]["owner"]; - repo: components["parameters"]["repo"]; - }; - }; - responses: { - /** Response */ - 201: { - content: { - "application/json": components["schemas"]["authentication-token"]; - }; - }; - }; - }; - /** - * Gets a specific self-hosted runner configured in a repository. - * - * You must authenticate using an access token with the `repo` scope to use this - * endpoint. - */ - "actions/get-self-hosted-runner-for-repo": { - parameters: { - path: { - owner: components["parameters"]["owner"]; - repo: components["parameters"]["repo"]; - /** Unique identifier of the self-hosted runner. */ - runner_id: components["parameters"]["runner-id"]; - }; - }; - responses: { - /** Response */ - 200: { - content: { - "application/json": components["schemas"]["runner"]; - }; - }; - }; - }; - /** - * Forces the removal of a self-hosted runner from a repository. You can use this endpoint to completely remove the runner when the machine you were using no longer exists. - * - * You must authenticate using an access token with the `repo` - * scope to use this endpoint. - */ - "actions/delete-self-hosted-runner-from-repo": { - parameters: { - path: { - owner: components["parameters"]["owner"]; - repo: components["parameters"]["repo"]; - /** Unique identifier of the self-hosted runner. */ - runner_id: components["parameters"]["runner-id"]; - }; - }; - responses: { - /** Response */ - 204: never; - }; - }; - /** - * Lists all workflow runs for a repository. You can use parameters to narrow the list of results. For more information about using parameters, see [Parameters](https://docs.github.com/rest/overview/resources-in-the-rest-api#parameters). - * - * Anyone with read access to the repository can use this endpoint. If the repository is private you must use an access token with the `repo` scope. GitHub Apps must have the `actions:read` permission to use this endpoint. - */ - "actions/list-workflow-runs-for-repo": { - parameters: { - path: { - owner: components["parameters"]["owner"]; - repo: components["parameters"]["repo"]; - }; - query: { - /** Returns someone's workflow runs. Use the login for the user who created the `push` associated with the check suite or workflow run. */ - actor?: components["parameters"]["actor"]; - /** Returns workflow runs associated with a branch. Use the name of the branch of the `push`. */ - branch?: components["parameters"]["workflow-run-branch"]; - /** Returns workflow run triggered by the event you specify. For example, `push`, `pull_request` or `issue`. For more information, see "[Events that trigger workflows](https://help.github.com/en/actions/automating-your-workflow-with-github-actions/events-that-trigger-workflows)." */ - event?: components["parameters"]["event"]; - /** Returns workflow runs with the check run `status` or `conclusion` that you specify. For example, a conclusion can be `success` or a status can be `in_progress`. Only GitHub can set a status of `waiting` or `requested`. For a list of the possible `status` and `conclusion` options, see "[Create a check run](https://docs.github.com/rest/reference/checks#create-a-check-run)." */ - status?: components["parameters"]["workflow-run-status"]; - /** Results per page (max 100) */ - per_page?: components["parameters"]["per-page"]; - /** Page number of the results to fetch. */ - page?: components["parameters"]["page"]; - created?: components["parameters"]["created"]; - }; - }; - responses: { - /** Response */ - 200: { - headers: {}; - content: { - "application/json": { - total_count: number; - workflow_runs: components["schemas"]["workflow-run"][]; - }; - }; - }; - }; - }; - /** Gets a specific workflow run. Anyone with read access to the repository can use this endpoint. If the repository is private you must use an access token with the `repo` scope. GitHub Apps must have the `actions:read` permission to use this endpoint. */ - "actions/get-workflow-run": { - parameters: { - path: { - owner: components["parameters"]["owner"]; - repo: components["parameters"]["repo"]; - /** The id of the workflow run. */ - run_id: components["parameters"]["run-id"]; - }; - }; - responses: { - /** Response */ - 200: { - content: { - "application/json": components["schemas"]["workflow-run"]; - }; - }; - }; - }; - /** - * Delete a specific workflow run. Anyone with write access to the repository can use this endpoint. If the repository is - * private you must use an access token with the `repo` scope. GitHub Apps must have the `actions:write` permission to use - * this endpoint. - */ - "actions/delete-workflow-run": { - parameters: { - path: { - owner: components["parameters"]["owner"]; - repo: components["parameters"]["repo"]; - /** The id of the workflow run. */ - run_id: components["parameters"]["run-id"]; - }; - }; - responses: { - /** Response */ - 204: never; - }; - }; - /** Anyone with read access to the repository can use this endpoint. If the repository is private, you must use an access token with the `repo` scope. GitHub Apps must have the `actions:read` permission to use this endpoint. */ - "actions/get-reviews-for-run": { - parameters: { - path: { - owner: components["parameters"]["owner"]; - repo: components["parameters"]["repo"]; - /** The id of the workflow run. */ - run_id: components["parameters"]["run-id"]; - }; - }; - responses: { - /** Response */ - 200: { - content: { - "application/json": components["schemas"]["environment-approvals"][]; - }; - }; - }; - }; - /** - * Approves a workflow run for a pull request from a public fork of a first time contributor. For more information, see ["Approving workflow runs from public forks](https://docs.github.com/actions/managing-workflow-runs/approving-workflow-runs-from-public-forks)." - * - * You must authenticate using an access token with the `repo` scope to use this endpoint. GitHub Apps must have the `actions:write` permission to use this endpoint. - */ - "actions/approve-workflow-run": { - parameters: { - path: { - owner: components["parameters"]["owner"]; - repo: components["parameters"]["repo"]; - /** The id of the workflow run. */ - run_id: components["parameters"]["run-id"]; - }; - }; - responses: { - /** Response */ - 201: { - content: { - "application/json": components["schemas"]["empty-object"]; - }; - }; - 403: components["responses"]["forbidden"]; - 404: components["responses"]["not_found"]; - }; - }; - /** Lists artifacts for a workflow run. Anyone with read access to the repository can use this endpoint. If the repository is private you must use an access token with the `repo` scope. GitHub Apps must have the `actions:read` permission to use this endpoint. */ - "actions/list-workflow-run-artifacts": { - parameters: { - path: { - owner: components["parameters"]["owner"]; - repo: components["parameters"]["repo"]; - /** The id of the workflow run. */ - run_id: components["parameters"]["run-id"]; - }; - query: { - /** Results per page (max 100) */ - per_page?: components["parameters"]["per-page"]; - /** Page number of the results to fetch. */ - page?: components["parameters"]["page"]; - }; - }; - responses: { - /** Response */ - 200: { - headers: {}; - content: { - "application/json": { - total_count: number; - artifacts: components["schemas"]["artifact"][]; - }; - }; - }; - }; - }; - /** Cancels a workflow run using its `id`. You must authenticate using an access token with the `repo` scope to use this endpoint. GitHub Apps must have the `actions:write` permission to use this endpoint. */ - "actions/cancel-workflow-run": { - parameters: { - path: { - owner: components["parameters"]["owner"]; - repo: components["parameters"]["repo"]; - /** The id of the workflow run. */ - run_id: components["parameters"]["run-id"]; - }; - }; - responses: { - /** Response */ - 202: { - content: { - "application/json": { [key: string]: unknown }; - }; - }; - }; - }; - /** Lists jobs for a workflow run. Anyone with read access to the repository can use this endpoint. If the repository is private you must use an access token with the `repo` scope. GitHub Apps must have the `actions:read` permission to use this endpoint. You can use parameters to narrow the list of results. For more information about using parameters, see [Parameters](https://docs.github.com/rest/overview/resources-in-the-rest-api#parameters). */ - "actions/list-jobs-for-workflow-run": { - parameters: { - path: { - owner: components["parameters"]["owner"]; - repo: components["parameters"]["repo"]; - /** The id of the workflow run. */ - run_id: components["parameters"]["run-id"]; - }; - query: { - /** - * Filters jobs by their `completed_at` timestamp. Can be one of: - * \* `latest`: Returns jobs from the most recent execution of the workflow run. - * \* `all`: Returns all jobs for a workflow run, including from old executions of the workflow run. - */ - filter?: "latest" | "all"; - /** Results per page (max 100) */ - per_page?: components["parameters"]["per-page"]; - /** Page number of the results to fetch. */ - page?: components["parameters"]["page"]; - }; - }; - responses: { - /** Response */ - 200: { - headers: {}; - content: { - "application/json": { - total_count: number; - jobs: components["schemas"]["job"][]; - }; - }; - }; - }; - }; - /** - * Gets a redirect URL to download an archive of log files for a workflow run. This link expires after 1 minute. Look for - * `Location:` in the response header to find the URL for the download. Anyone with read access to the repository can use - * this endpoint. If the repository is private you must use an access token with the `repo` scope. GitHub Apps must have - * the `actions:read` permission to use this endpoint. - */ - "actions/download-workflow-run-logs": { - parameters: { - path: { - owner: components["parameters"]["owner"]; - repo: components["parameters"]["repo"]; - /** The id of the workflow run. */ - run_id: components["parameters"]["run-id"]; - }; - }; - responses: { - /** Response */ - 302: never; - }; - }; - /** Deletes all logs for a workflow run. You must authenticate using an access token with the `repo` scope to use this endpoint. GitHub Apps must have the `actions:write` permission to use this endpoint. */ - "actions/delete-workflow-run-logs": { - parameters: { - path: { - owner: components["parameters"]["owner"]; - repo: components["parameters"]["repo"]; - /** The id of the workflow run. */ - run_id: components["parameters"]["run-id"]; - }; - }; - responses: { - /** Response */ - 204: never; - }; - }; - /** - * Get all deployment environments for a workflow run that are waiting for protection rules to pass. - * - * Anyone with read access to the repository can use this endpoint. If the repository is private, you must use an access token with the `repo` scope. GitHub Apps must have the `actions:read` permission to use this endpoint. - */ - "actions/get-pending-deployments-for-run": { - parameters: { - path: { - owner: components["parameters"]["owner"]; - repo: components["parameters"]["repo"]; - /** The id of the workflow run. */ - run_id: components["parameters"]["run-id"]; - }; - }; - responses: { - /** Response */ - 200: { - content: { - "application/json": components["schemas"]["pending-deployment"][]; - }; - }; - }; - }; - /** - * Approve or reject pending deployments that are waiting on approval by a required reviewer. - * - * Anyone with read access to the repository contents and deployments can use this endpoint. - */ - "actions/review-pending-deployments-for-run": { - parameters: { - path: { - owner: components["parameters"]["owner"]; - repo: components["parameters"]["repo"]; - /** The id of the workflow run. */ - run_id: components["parameters"]["run-id"]; - }; - }; - responses: { - /** Response */ - 200: { - content: { - "application/json": components["schemas"]["deployment"][]; - }; - }; - }; - requestBody: { - content: { - "application/json": { - /** The list of environment ids to approve or reject */ - environment_ids: number[]; - /** Whether to approve or reject deployment to the specified environments. Must be one of: `approved` or `rejected` */ - state: "approved" | "rejected"; - /** A comment to accompany the deployment review */ - comment: string; - }; - }; - }; - }; - /** Re-runs your workflow run using its `id`. You must authenticate using an access token with the `repo` scope to use this endpoint. GitHub Apps must have the `actions:write` permission to use this endpoint. */ - "actions/re-run-workflow": { - parameters: { - path: { - owner: components["parameters"]["owner"]; - repo: components["parameters"]["repo"]; - /** The id of the workflow run. */ - run_id: components["parameters"]["run-id"]; - }; - }; - responses: { - /** Response */ - 201: { - content: { - "application/json": { [key: string]: unknown }; - }; - }; - }; - }; - /** - * Gets the number of billable minutes and total run time for a specific workflow run. Billable minutes only apply to workflows in private repositories that use GitHub-hosted runners. Usage is listed for each GitHub-hosted runner operating system in milliseconds. Any job re-runs are also included in the usage. The usage does not include the multiplier for macOS and Windows runners and is not rounded up to the nearest whole minute. For more information, see "[Managing billing for GitHub Actions](https://help.github.com/github/setting-up-and-managing-billing-and-payments-on-github/managing-billing-for-github-actions)". - * - * Anyone with read access to the repository can use this endpoint. If the repository is private you must use an access token with the `repo` scope. GitHub Apps must have the `actions:read` permission to use this endpoint. - */ - "actions/get-workflow-run-usage": { - parameters: { - path: { - owner: components["parameters"]["owner"]; - repo: components["parameters"]["repo"]; - /** The id of the workflow run. */ - run_id: components["parameters"]["run-id"]; - }; - }; - responses: { - /** Response */ - 200: { - content: { - "application/json": components["schemas"]["workflow-run-usage"]; - }; - }; - }; - }; - /** Lists all secrets available in a repository without revealing their encrypted values. You must authenticate using an access token with the `repo` scope to use this endpoint. GitHub Apps must have the `secrets` repository permission to use this endpoint. */ - "actions/list-repo-secrets": { - parameters: { - path: { - owner: components["parameters"]["owner"]; - repo: components["parameters"]["repo"]; - }; - query: { - /** Results per page (max 100) */ - per_page?: components["parameters"]["per-page"]; - /** Page number of the results to fetch. */ - page?: components["parameters"]["page"]; - }; - }; - responses: { - /** Response */ - 200: { - headers: {}; - content: { - "application/json": { - total_count: number; - secrets: components["schemas"]["actions-secret"][]; - }; - }; - }; - }; - }; - /** Gets your public key, which you need to encrypt secrets. You need to encrypt a secret before you can create or update secrets. Anyone with read access to the repository can use this endpoint. If the repository is private you must use an access token with the `repo` scope. GitHub Apps must have the `secrets` repository permission to use this endpoint. */ - "actions/get-repo-public-key": { - parameters: { - path: { - owner: components["parameters"]["owner"]; - repo: components["parameters"]["repo"]; - }; - }; - responses: { - /** Response */ - 200: { - content: { - "application/json": components["schemas"]["actions-public-key"]; - }; - }; - }; - }; - /** Gets a single repository secret without revealing its encrypted value. You must authenticate using an access token with the `repo` scope to use this endpoint. GitHub Apps must have the `secrets` repository permission to use this endpoint. */ - "actions/get-repo-secret": { - parameters: { - path: { - owner: components["parameters"]["owner"]; - repo: components["parameters"]["repo"]; - /** secret_name parameter */ - secret_name: components["parameters"]["secret-name"]; - }; - }; - responses: { - /** Response */ - 200: { - content: { - "application/json": components["schemas"]["actions-secret"]; - }; - }; - }; - }; - /** - * Creates or updates a repository secret with an encrypted value. Encrypt your secret using - * [LibSodium](https://libsodium.gitbook.io/doc/bindings_for_other_languages). You must authenticate using an access - * token with the `repo` scope to use this endpoint. GitHub Apps must have the `secrets` repository permission to use - * this endpoint. - * - * #### Example encrypting a secret using Node.js - * - * Encrypt your secret using the [tweetsodium](https://github.com/github/tweetsodium) library. - * - * ``` - * const sodium = require('tweetsodium'); - * - * const key = "base64-encoded-public-key"; - * const value = "plain-text-secret"; - * - * // Convert the message and key to Uint8Array's (Buffer implements that interface) - * const messageBytes = Buffer.from(value); - * const keyBytes = Buffer.from(key, 'base64'); - * - * // Encrypt using LibSodium. - * const encryptedBytes = sodium.seal(messageBytes, keyBytes); - * - * // Base64 the encrypted secret - * const encrypted = Buffer.from(encryptedBytes).toString('base64'); - * - * console.log(encrypted); - * ``` - * - * - * #### Example encrypting a secret using Python - * - * Encrypt your secret using [pynacl](https://pynacl.readthedocs.io/en/stable/public/#nacl-public-sealedbox) with Python 3. - * - * ``` - * from base64 import b64encode - * from nacl import encoding, public - * - * def encrypt(public_key: str, secret_value: str) -> str: - * """Encrypt a Unicode string using the public key.""" - * public_key = public.PublicKey(public_key.encode("utf-8"), encoding.Base64Encoder()) - * sealed_box = public.SealedBox(public_key) - * encrypted = sealed_box.encrypt(secret_value.encode("utf-8")) - * return b64encode(encrypted).decode("utf-8") - * ``` - * - * #### Example encrypting a secret using C# - * - * Encrypt your secret using the [Sodium.Core](https://www.nuget.org/packages/Sodium.Core/) package. - * - * ``` - * var secretValue = System.Text.Encoding.UTF8.GetBytes("mySecret"); - * var publicKey = Convert.FromBase64String("2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvvcCU="); - * - * var sealedPublicKeyBox = Sodium.SealedPublicKeyBox.Create(secretValue, publicKey); - * - * Console.WriteLine(Convert.ToBase64String(sealedPublicKeyBox)); - * ``` - * - * #### Example encrypting a secret using Ruby - * - * Encrypt your secret using the [rbnacl](https://github.com/RubyCrypto/rbnacl) gem. - * - * ```ruby - * require "rbnacl" - * require "base64" - * - * key = Base64.decode64("+ZYvJDZMHUfBkJdyq5Zm9SKqeuBQ4sj+6sfjlH4CgG0=") - * public_key = RbNaCl::PublicKey.new(key) - * - * box = RbNaCl::Boxes::Sealed.from_public_key(public_key) - * encrypted_secret = box.encrypt("my_secret") - * - * # Print the base64 encoded secret - * puts Base64.strict_encode64(encrypted_secret) - * ``` - */ - "actions/create-or-update-repo-secret": { - parameters: { - path: { - owner: components["parameters"]["owner"]; - repo: components["parameters"]["repo"]; - /** secret_name parameter */ - secret_name: components["parameters"]["secret-name"]; - }; - }; - responses: { - /** Response when creating a secret */ - 201: { - content: { - "application/json": { [key: string]: unknown }; - }; - }; - /** Response when updating a secret */ - 204: never; - }; - requestBody: { - content: { - "application/json": { - /** Value for your secret, encrypted with [LibSodium](https://libsodium.gitbook.io/doc/bindings_for_other_languages) using the public key retrieved from the [Get a repository public key](https://docs.github.com/rest/reference/actions#get-a-repository-public-key) endpoint. */ - encrypted_value?: string; - /** ID of the key you used to encrypt the secret. */ - key_id?: string; - }; - }; - }; - }; - /** Deletes a secret in a repository using the secret name. You must authenticate using an access token with the `repo` scope to use this endpoint. GitHub Apps must have the `secrets` repository permission to use this endpoint. */ - "actions/delete-repo-secret": { - parameters: { - path: { - owner: components["parameters"]["owner"]; - repo: components["parameters"]["repo"]; - /** secret_name parameter */ - secret_name: components["parameters"]["secret-name"]; - }; - }; - responses: { - /** Response */ - 204: never; - }; - }; - /** Lists the workflows in a repository. Anyone with read access to the repository can use this endpoint. If the repository is private you must use an access token with the `repo` scope. GitHub Apps must have the `actions:read` permission to use this endpoint. */ - "actions/list-repo-workflows": { - parameters: { - path: { - owner: components["parameters"]["owner"]; - repo: components["parameters"]["repo"]; - }; - query: { - /** Results per page (max 100) */ - per_page?: components["parameters"]["per-page"]; - /** Page number of the results to fetch. */ - page?: components["parameters"]["page"]; - }; - }; - responses: { - /** Response */ - 200: { - headers: {}; - content: { - "application/json": { - total_count: number; - workflows: components["schemas"]["workflow"][]; - }; - }; - }; - }; - }; - /** Gets a specific workflow. You can replace `workflow_id` with the workflow file name. For example, you could use `main.yaml`. Anyone with read access to the repository can use this endpoint. If the repository is private you must use an access token with the `repo` scope. GitHub Apps must have the `actions:read` permission to use this endpoint. */ - "actions/get-workflow": { - parameters: { - path: { - owner: components["parameters"]["owner"]; - repo: components["parameters"]["repo"]; - /** The ID of the workflow. You can also pass the workflow file name as a string. */ - workflow_id: components["parameters"]["workflow-id"]; - }; - }; - responses: { - /** Response */ - 200: { - content: { - "application/json": components["schemas"]["workflow"]; - }; - }; - }; - }; - /** - * Disables a workflow and sets the `state` of the workflow to `disabled_manually`. You can replace `workflow_id` with the workflow file name. For example, you could use `main.yaml`. - * - * You must authenticate using an access token with the `repo` scope to use this endpoint. GitHub Apps must have the `actions:write` permission to use this endpoint. - */ - "actions/disable-workflow": { - parameters: { - path: { - owner: components["parameters"]["owner"]; - repo: components["parameters"]["repo"]; - /** The ID of the workflow. You can also pass the workflow file name as a string. */ - workflow_id: components["parameters"]["workflow-id"]; - }; - }; - responses: { - /** Response */ - 204: never; - }; - }; - /** - * You can use this endpoint to manually trigger a GitHub Actions workflow run. You can replace `workflow_id` with the workflow file name. For example, you could use `main.yaml`. - * - * You must configure your GitHub Actions workflow to run when the [`workflow_dispatch` webhook](/developers/webhooks-and-events/webhook-events-and-payloads#workflow_dispatch) event occurs. The `inputs` are configured in the workflow file. For more information about how to configure the `workflow_dispatch` event in the workflow file, see "[Events that trigger workflows](/actions/reference/events-that-trigger-workflows#workflow_dispatch)." - * - * You must authenticate using an access token with the `repo` scope to use this endpoint. GitHub Apps must have the `actions:write` permission to use this endpoint. For more information, see "[Creating a personal access token for the command line](https://help.github.com/articles/creating-a-personal-access-token-for-the-command-line)." - */ - "actions/create-workflow-dispatch": { - parameters: { - path: { - owner: components["parameters"]["owner"]; - repo: components["parameters"]["repo"]; - /** The ID of the workflow. You can also pass the workflow file name as a string. */ - workflow_id: components["parameters"]["workflow-id"]; - }; - }; - responses: { - /** Response */ - 204: never; - }; - requestBody: { - content: { - "application/json": { - /** The git reference for the workflow. The reference can be a branch or tag name. */ - ref: string; - /** Input keys and values configured in the workflow file. The maximum number of properties is 10. Any default properties configured in the workflow file will be used when `inputs` are omitted. */ - inputs?: { [key: string]: string }; - }; - }; - }; - }; - /** - * Enables a workflow and sets the `state` of the workflow to `active`. You can replace `workflow_id` with the workflow file name. For example, you could use `main.yaml`. - * - * You must authenticate using an access token with the `repo` scope to use this endpoint. GitHub Apps must have the `actions:write` permission to use this endpoint. - */ - "actions/enable-workflow": { - parameters: { - path: { - owner: components["parameters"]["owner"]; - repo: components["parameters"]["repo"]; - /** The ID of the workflow. You can also pass the workflow file name as a string. */ - workflow_id: components["parameters"]["workflow-id"]; - }; - }; - responses: { - /** Response */ - 204: never; - }; - }; - /** - * List all workflow runs for a workflow. You can replace `workflow_id` with the workflow file name. For example, you could use `main.yaml`. You can use parameters to narrow the list of results. For more information about using parameters, see [Parameters](https://docs.github.com/rest/overview/resources-in-the-rest-api#parameters). - * - * Anyone with read access to the repository can use this endpoint. If the repository is private you must use an access token with the `repo` scope. - */ - "actions/list-workflow-runs": { - parameters: { - path: { - owner: components["parameters"]["owner"]; - repo: components["parameters"]["repo"]; - /** The ID of the workflow. You can also pass the workflow file name as a string. */ - workflow_id: components["parameters"]["workflow-id"]; - }; - query: { - /** Returns someone's workflow runs. Use the login for the user who created the `push` associated with the check suite or workflow run. */ - actor?: components["parameters"]["actor"]; - /** Returns workflow runs associated with a branch. Use the name of the branch of the `push`. */ - branch?: components["parameters"]["workflow-run-branch"]; - /** Returns workflow run triggered by the event you specify. For example, `push`, `pull_request` or `issue`. For more information, see "[Events that trigger workflows](https://help.github.com/en/actions/automating-your-workflow-with-github-actions/events-that-trigger-workflows)." */ - event?: components["parameters"]["event"]; - /** Returns workflow runs with the check run `status` or `conclusion` that you specify. For example, a conclusion can be `success` or a status can be `in_progress`. Only GitHub can set a status of `waiting` or `requested`. For a list of the possible `status` and `conclusion` options, see "[Create a check run](https://docs.github.com/rest/reference/checks#create-a-check-run)." */ - status?: components["parameters"]["workflow-run-status"]; - /** Results per page (max 100) */ - per_page?: components["parameters"]["per-page"]; - /** Page number of the results to fetch. */ - page?: components["parameters"]["page"]; - created?: components["parameters"]["created"]; - }; - }; - responses: { - /** Response */ - 200: { - headers: {}; - content: { - "application/json": { - total_count: number; - workflow_runs: components["schemas"]["workflow-run"][]; - }; - }; - }; - }; - }; - /** - * Gets the number of billable minutes used by a specific workflow during the current billing cycle. Billable minutes only apply to workflows in private repositories that use GitHub-hosted runners. Usage is listed for each GitHub-hosted runner operating system in milliseconds. Any job re-runs are also included in the usage. The usage does not include the multiplier for macOS and Windows runners and is not rounded up to the nearest whole minute. For more information, see "[Managing billing for GitHub Actions](https://help.github.com/github/setting-up-and-managing-billing-and-payments-on-github/managing-billing-for-github-actions)". - * - * You can replace `workflow_id` with the workflow file name. For example, you could use `main.yaml`. Anyone with read access to the repository can use this endpoint. If the repository is private you must use an access token with the `repo` scope. GitHub Apps must have the `actions:read` permission to use this endpoint. - */ - "actions/get-workflow-usage": { - parameters: { - path: { - owner: components["parameters"]["owner"]; - repo: components["parameters"]["repo"]; - /** The ID of the workflow. You can also pass the workflow file name as a string. */ - workflow_id: components["parameters"]["workflow-id"]; - }; - }; - responses: { - /** Response */ - 200: { - content: { - "application/json": components["schemas"]["workflow-usage"]; - }; - }; - }; - }; - /** Lists the [available assignees](https://help.github.com/articles/assigning-issues-and-pull-requests-to-other-github-users/) for issues in a repository. */ - "issues/list-assignees": { - parameters: { - path: { - owner: components["parameters"]["owner"]; - repo: components["parameters"]["repo"]; - }; - query: { - /** Results per page (max 100) */ - per_page?: components["parameters"]["per-page"]; - /** Page number of the results to fetch. */ - page?: components["parameters"]["page"]; - }; - }; - responses: { - /** Response */ - 200: { - headers: {}; - content: { - "application/json": components["schemas"]["simple-user"][]; - }; - }; - 404: components["responses"]["not_found"]; - }; - }; - /** - * Checks if a user has permission to be assigned to an issue in this repository. - * - * If the `assignee` can be assigned to issues in the repository, a `204` header with no content is returned. - * - * Otherwise a `404` status code is returned. - */ - "issues/check-user-can-be-assigned": { - parameters: { - path: { - owner: components["parameters"]["owner"]; - repo: components["parameters"]["repo"]; - assignee: string; - }; - }; - responses: { - /** If the `assignee` can be assigned to issues in the repository, a `204` header with no content is returned. */ - 204: never; - /** Otherwise a `404` status code is returned. */ - 404: { - content: { - "application/json": components["schemas"]["basic-error"]; - }; - }; - }; - }; - /** Enables automated security fixes for a repository. The authenticated user must have admin access to the repository. For more information, see "[Configuring automated security fixes](https://help.github.com/en/articles/configuring-automated-security-fixes)". */ - "repos/enable-automated-security-fixes": { - parameters: { - path: { - owner: components["parameters"]["owner"]; - repo: components["parameters"]["repo"]; - }; - }; - responses: { - /** Response */ - 204: never; - }; - }; - /** Disables automated security fixes for a repository. The authenticated user must have admin access to the repository. For more information, see "[Configuring automated security fixes](https://help.github.com/en/articles/configuring-automated-security-fixes)". */ - "repos/disable-automated-security-fixes": { - parameters: { - path: { - owner: components["parameters"]["owner"]; - repo: components["parameters"]["repo"]; - }; - }; - responses: { - /** Response */ - 204: never; - }; - }; - "repos/list-branches": { - parameters: { - path: { - owner: components["parameters"]["owner"]; - repo: components["parameters"]["repo"]; - }; - query: { - /** Setting to `true` returns only protected branches. When set to `false`, only unprotected branches are returned. Omitting this parameter returns all branches. */ - protected?: boolean; - /** Results per page (max 100) */ - per_page?: components["parameters"]["per-page"]; - /** Page number of the results to fetch. */ - page?: components["parameters"]["page"]; - }; - }; - responses: { - /** Response */ - 200: { - headers: {}; - content: { - "application/json": components["schemas"]["short-branch"][]; - }; - }; - 404: components["responses"]["not_found"]; - }; - }; - "repos/get-branch": { - parameters: { - path: { - owner: components["parameters"]["owner"]; - repo: components["parameters"]["repo"]; - /** The name of the branch. */ - branch: components["parameters"]["branch"]; - }; - }; - responses: { - /** Response */ - 200: { - content: { - "application/json": components["schemas"]["branch-with-protection"]; - }; - }; - 301: components["responses"]["moved_permanently"]; - 404: components["responses"]["not_found"]; - 415: components["responses"]["preview_header_missing"]; - }; - }; - /** Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://help.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation. */ - "repos/get-branch-protection": { - parameters: { - path: { - owner: components["parameters"]["owner"]; - repo: components["parameters"]["repo"]; - /** The name of the branch. */ - branch: components["parameters"]["branch"]; - }; - }; - responses: { - /** Response */ - 200: { - content: { - "application/json": components["schemas"]["branch-protection"]; - }; - }; - 404: components["responses"]["not_found"]; - }; - }; - /** - * Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://help.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation. - * - * Protecting a branch requires admin or owner permissions to the repository. - * - * **Note**: Passing new arrays of `users` and `teams` replaces their previous values. - * - * **Note**: The list of users, apps, and teams in total is limited to 100 items. - */ - "repos/update-branch-protection": { - parameters: { - path: { - owner: components["parameters"]["owner"]; - repo: components["parameters"]["repo"]; - /** The name of the branch. */ - branch: components["parameters"]["branch"]; - }; - }; - responses: { - /** Response */ - 200: { - content: { - "application/json": components["schemas"]["protected-branch"]; - }; - }; - 403: components["responses"]["forbidden"]; - 404: components["responses"]["not_found"]; - 415: components["responses"]["preview_header_missing"]; - 422: components["responses"]["validation_failed_simple"]; - }; - requestBody: { - content: { - "application/json": { - /** Require status checks to pass before merging. Set to `null` to disable. */ - required_status_checks: { - /** Require branches to be up to date before merging. */ - strict: boolean; - /** The list of status checks to require in order to merge into this branch */ - contexts: string[]; - } | null; - /** Enforce all configured restrictions for administrators. Set to `true` to enforce required status checks for repository administrators. Set to `null` to disable. */ - enforce_admins: boolean | null; - /** Require at least one approving review on a pull request, before merging. Set to `null` to disable. */ - required_pull_request_reviews: { - /** Specify which users and teams can dismiss pull request reviews. Pass an empty `dismissal_restrictions` object to disable. User and team `dismissal_restrictions` are only available for organization-owned repositories. Omit this parameter for personal repositories. */ - dismissal_restrictions?: { - /** The list of user `login`s with dismissal access */ - users?: string[]; - /** The list of team `slug`s with dismissal access */ - teams?: string[]; - }; - /** Set to `true` if you want to automatically dismiss approving reviews when someone pushes a new commit. */ - dismiss_stale_reviews?: boolean; - /** Blocks merging pull requests until [code owners](https://help.github.com/articles/about-code-owners/) review them. */ - require_code_owner_reviews?: boolean; - /** Specify the number of reviewers required to approve pull requests. Use a number between 1 and 6. */ - required_approving_review_count?: number; - } | null; - /** Restrict who can push to the protected branch. User, app, and team `restrictions` are only available for organization-owned repositories. Set to `null` to disable. */ - restrictions: { - /** The list of user `login`s with push access */ - users: string[]; - /** The list of team `slug`s with push access */ - teams: string[]; - /** The list of app `slug`s with push access */ - apps?: string[]; - } | null; - /** Enforces a linear commit Git history, which prevents anyone from pushing merge commits to a branch. Set to `true` to enforce a linear commit history. Set to `false` to disable a linear commit Git history. Your repository must allow squash merging or rebase merging before you can enable a linear commit history. Default: `false`. For more information, see "[Requiring a linear commit history](https://help.github.com/github/administering-a-repository/requiring-a-linear-commit-history)" in the GitHub Help documentation. */ - required_linear_history?: boolean; - /** Permits force pushes to the protected branch by anyone with write access to the repository. Set to `true` to allow force pushes. Set to `false` or `null` to block force pushes. Default: `false`. For more information, see "[Enabling force pushes to a protected branch](https://help.github.com/en/github/administering-a-repository/enabling-force-pushes-to-a-protected-branch)" in the GitHub Help documentation." */ - allow_force_pushes?: boolean | null; - /** Allows deletion of the protected branch by anyone with write access to the repository. Set to `false` to prevent deletion of the protected branch. Default: `false`. For more information, see "[Enabling force pushes to a protected branch](https://help.github.com/en/github/administering-a-repository/enabling-force-pushes-to-a-protected-branch)" in the GitHub Help documentation. */ - allow_deletions?: boolean; - /** Requires all conversations on code to be resolved before a pull request can be merged into a branch that matches this rule. Set to `false` to disable. Default: `false`. */ - required_conversation_resolution?: boolean; - }; - }; - }; - }; - /** Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://help.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation. */ - "repos/delete-branch-protection": { - parameters: { - path: { - owner: components["parameters"]["owner"]; - repo: components["parameters"]["repo"]; - /** The name of the branch. */ - branch: components["parameters"]["branch"]; - }; - }; - responses: { - /** Response */ - 204: never; - 403: components["responses"]["forbidden"]; - }; - }; - /** Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://help.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation. */ - "repos/get-admin-branch-protection": { - parameters: { - path: { - owner: components["parameters"]["owner"]; - repo: components["parameters"]["repo"]; - /** The name of the branch. */ - branch: components["parameters"]["branch"]; - }; - }; - responses: { - /** Response */ - 200: { - content: { - "application/json": components["schemas"]["protected-branch-admin-enforced"]; - }; - }; - }; - }; - /** - * Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://help.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation. - * - * Adding admin enforcement requires admin or owner permissions to the repository and branch protection to be enabled. - */ - "repos/set-admin-branch-protection": { - parameters: { - path: { - owner: components["parameters"]["owner"]; - repo: components["parameters"]["repo"]; - /** The name of the branch. */ - branch: components["parameters"]["branch"]; - }; - }; - responses: { - /** Response */ - 200: { - content: { - "application/json": components["schemas"]["protected-branch-admin-enforced"]; - }; - }; - }; - }; - /** - * Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://help.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation. - * - * Removing admin enforcement requires admin or owner permissions to the repository and branch protection to be enabled. - */ - "repos/delete-admin-branch-protection": { - parameters: { - path: { - owner: components["parameters"]["owner"]; - repo: components["parameters"]["repo"]; - /** The name of the branch. */ - branch: components["parameters"]["branch"]; - }; - }; - responses: { - /** Response */ - 204: never; - 404: components["responses"]["not_found"]; - }; - }; - /** Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://help.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation. */ - "repos/get-pull-request-review-protection": { - parameters: { - path: { - owner: components["parameters"]["owner"]; - repo: components["parameters"]["repo"]; - /** The name of the branch. */ - branch: components["parameters"]["branch"]; - }; - }; - responses: { - /** Response */ - 200: { - content: { - "application/json": components["schemas"]["protected-branch-pull-request-review"]; - }; - }; - }; - }; - /** Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://help.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation. */ - "repos/delete-pull-request-review-protection": { - parameters: { - path: { - owner: components["parameters"]["owner"]; - repo: components["parameters"]["repo"]; - /** The name of the branch. */ - branch: components["parameters"]["branch"]; - }; - }; - responses: { - /** Response */ - 204: never; - 404: components["responses"]["not_found"]; - }; - }; - /** - * Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://help.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation. - * - * Updating pull request review enforcement requires admin or owner permissions to the repository and branch protection to be enabled. - * - * **Note**: Passing new arrays of `users` and `teams` replaces their previous values. - */ - "repos/update-pull-request-review-protection": { - parameters: { - path: { - owner: components["parameters"]["owner"]; - repo: components["parameters"]["repo"]; - /** The name of the branch. */ - branch: components["parameters"]["branch"]; - }; - }; - responses: { - /** Response */ - 200: { - content: { - "application/json": components["schemas"]["protected-branch-pull-request-review"]; - }; - }; - 422: components["responses"]["validation_failed"]; - }; - requestBody: { - content: { - "application/json": { - /** Specify which users and teams can dismiss pull request reviews. Pass an empty `dismissal_restrictions` object to disable. User and team `dismissal_restrictions` are only available for organization-owned repositories. Omit this parameter for personal repositories. */ - dismissal_restrictions?: { - /** The list of user `login`s with dismissal access */ - users?: string[]; - /** The list of team `slug`s with dismissal access */ - teams?: string[]; - }; - /** Set to `true` if you want to automatically dismiss approving reviews when someone pushes a new commit. */ - dismiss_stale_reviews?: boolean; - /** Blocks merging pull requests until [code owners](https://help.github.com/articles/about-code-owners/) have reviewed. */ - require_code_owner_reviews?: boolean; - /** Specifies the number of reviewers required to approve pull requests. Use a number between 1 and 6. */ - required_approving_review_count?: number; - }; - }; - }; - }; - /** - * Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://help.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation. - * - * When authenticated with admin or owner permissions to the repository, you can use this endpoint to check whether a branch requires signed commits. An enabled status of `true` indicates you must sign commits on this branch. For more information, see [Signing commits with GPG](https://help.github.com/articles/signing-commits-with-gpg) in GitHub Help. - * - * **Note**: You must enable branch protection to require signed commits. - */ - "repos/get-commit-signature-protection": { - parameters: { - path: { - owner: components["parameters"]["owner"]; - repo: components["parameters"]["repo"]; - /** The name of the branch. */ - branch: components["parameters"]["branch"]; - }; - }; - responses: { - /** Response */ - 200: { - content: { - "application/json": components["schemas"]["protected-branch-admin-enforced"]; - }; - }; - 404: components["responses"]["not_found"]; - }; - }; - /** - * Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://help.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation. - * - * When authenticated with admin or owner permissions to the repository, you can use this endpoint to require signed commits on a branch. You must enable branch protection to require signed commits. - */ - "repos/create-commit-signature-protection": { - parameters: { - path: { - owner: components["parameters"]["owner"]; - repo: components["parameters"]["repo"]; - /** The name of the branch. */ - branch: components["parameters"]["branch"]; - }; - }; - responses: { - /** Response */ - 200: { - content: { - "application/json": components["schemas"]["protected-branch-admin-enforced"]; - }; - }; - 404: components["responses"]["not_found"]; - }; - }; - /** - * Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://help.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation. - * - * When authenticated with admin or owner permissions to the repository, you can use this endpoint to disable required signed commits on a branch. You must enable branch protection to require signed commits. - */ - "repos/delete-commit-signature-protection": { - parameters: { - path: { - owner: components["parameters"]["owner"]; - repo: components["parameters"]["repo"]; - /** The name of the branch. */ - branch: components["parameters"]["branch"]; - }; - }; - responses: { - /** Response */ - 204: never; - 404: components["responses"]["not_found"]; - }; - }; - /** Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://help.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation. */ - "repos/get-status-checks-protection": { - parameters: { - path: { - owner: components["parameters"]["owner"]; - repo: components["parameters"]["repo"]; - /** The name of the branch. */ - branch: components["parameters"]["branch"]; - }; - }; - responses: { - /** Response */ - 200: { - content: { - "application/json": components["schemas"]["status-check-policy"]; - }; - }; - 404: components["responses"]["not_found"]; - }; - }; - /** Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://help.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation. */ - "repos/remove-status-check-protection": { - parameters: { - path: { - owner: components["parameters"]["owner"]; - repo: components["parameters"]["repo"]; - /** The name of the branch. */ - branch: components["parameters"]["branch"]; - }; - }; - responses: { - /** Response */ - 204: never; - }; - }; - /** - * Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://help.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation. - * - * Updating required status checks requires admin or owner permissions to the repository and branch protection to be enabled. - */ - "repos/update-status-check-protection": { - parameters: { - path: { - owner: components["parameters"]["owner"]; - repo: components["parameters"]["repo"]; - /** The name of the branch. */ - branch: components["parameters"]["branch"]; - }; - }; - responses: { - /** Response */ - 200: { - content: { - "application/json": components["schemas"]["status-check-policy"]; - }; - }; - 404: components["responses"]["not_found"]; - 422: components["responses"]["validation_failed"]; - }; - requestBody: { - content: { - "application/json": { - /** Require branches to be up to date before merging. */ - strict?: boolean; - /** The list of status checks to require in order to merge into this branch */ - contexts?: string[]; - }; - }; - }; - }; - /** Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://help.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation. */ - "repos/get-all-status-check-contexts": { - parameters: { - path: { - owner: components["parameters"]["owner"]; - repo: components["parameters"]["repo"]; - /** The name of the branch. */ - branch: components["parameters"]["branch"]; - }; - }; - responses: { - /** Response */ - 200: { - content: { - "application/json": string[]; - }; - }; - 404: components["responses"]["not_found"]; - }; - }; - /** Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://help.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation. */ - "repos/set-status-check-contexts": { - parameters: { - path: { - owner: components["parameters"]["owner"]; - repo: components["parameters"]["repo"]; - /** The name of the branch. */ - branch: components["parameters"]["branch"]; - }; - }; - responses: { - /** Response */ - 200: { - content: { - "application/json": string[]; - }; - }; - 404: components["responses"]["not_found"]; - 422: components["responses"]["validation_failed"]; - }; - requestBody: { - content: { - "application/json": { - /** contexts parameter */ - contexts: string[]; - }; - }; - }; - }; - /** Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://help.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation. */ - "repos/add-status-check-contexts": { - parameters: { - path: { - owner: components["parameters"]["owner"]; - repo: components["parameters"]["repo"]; - /** The name of the branch. */ - branch: components["parameters"]["branch"]; - }; - }; - responses: { - /** Response */ - 200: { - content: { - "application/json": string[]; - }; - }; - 403: components["responses"]["forbidden"]; - 404: components["responses"]["not_found"]; - 422: components["responses"]["validation_failed"]; - }; - requestBody: { - content: { - "application/json": { - /** contexts parameter */ - contexts: string[]; - }; - }; - }; - }; - /** Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://help.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation. */ - "repos/remove-status-check-contexts": { - parameters: { - path: { - owner: components["parameters"]["owner"]; - repo: components["parameters"]["repo"]; - /** The name of the branch. */ - branch: components["parameters"]["branch"]; - }; - }; - responses: { - /** Response */ - 200: { - content: { - "application/json": string[]; - }; - }; - 404: components["responses"]["not_found"]; - 422: components["responses"]["validation_failed"]; - }; - requestBody: { - content: { - "application/json": { - /** contexts parameter */ - contexts: string[]; - }; - }; - }; - }; - /** - * Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://help.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation. - * - * Lists who has access to this protected branch. - * - * **Note**: Users, apps, and teams `restrictions` are only available for organization-owned repositories. - */ - "repos/get-access-restrictions": { - parameters: { - path: { - owner: components["parameters"]["owner"]; - repo: components["parameters"]["repo"]; - /** The name of the branch. */ - branch: components["parameters"]["branch"]; - }; - }; - responses: { - /** Response */ - 200: { - content: { - "application/json": components["schemas"]["branch-restriction-policy"]; - }; - }; - 404: components["responses"]["not_found"]; - }; - }; - /** - * Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://help.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation. - * - * Disables the ability to restrict who can push to this branch. - */ - "repos/delete-access-restrictions": { - parameters: { - path: { - owner: components["parameters"]["owner"]; - repo: components["parameters"]["repo"]; - /** The name of the branch. */ - branch: components["parameters"]["branch"]; - }; - }; - responses: { - /** Response */ - 204: never; - }; - }; - /** - * Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://help.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation. - * - * Lists the GitHub Apps that have push access to this branch. Only installed GitHub Apps with `write` access to the `contents` permission can be added as authorized actors on a protected branch. - */ - "repos/get-apps-with-access-to-protected-branch": { - parameters: { - path: { - owner: components["parameters"]["owner"]; - repo: components["parameters"]["repo"]; - /** The name of the branch. */ - branch: components["parameters"]["branch"]; - }; - }; - responses: { - /** Response */ - 200: { - content: { - "application/json": components["schemas"]["integration"][]; - }; - }; - 404: components["responses"]["not_found"]; - }; - }; - /** - * Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://help.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation. - * - * Replaces the list of apps that have push access to this branch. This removes all apps that previously had push access and grants push access to the new list of apps. Only installed GitHub Apps with `write` access to the `contents` permission can be added as authorized actors on a protected branch. - * - * | Type | Description | - * | ------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------- | - * | `array` | The GitHub Apps that have push access to this branch. Use the app's `slug`. **Note**: The list of users, apps, and teams in total is limited to 100 items. | - */ - "repos/set-app-access-restrictions": { - parameters: { - path: { - owner: components["parameters"]["owner"]; - repo: components["parameters"]["repo"]; - /** The name of the branch. */ - branch: components["parameters"]["branch"]; - }; - }; - responses: { - /** Response */ - 200: { - content: { - "application/json": components["schemas"]["integration"][]; - }; - }; - 422: components["responses"]["validation_failed"]; - }; - requestBody: { - content: { - "application/json": { - /** apps parameter */ - apps: string[]; - }; - }; - }; - }; - /** - * Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://help.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation. - * - * Grants the specified apps push access for this branch. Only installed GitHub Apps with `write` access to the `contents` permission can be added as authorized actors on a protected branch. - * - * | Type | Description | - * | ------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------- | - * | `array` | The GitHub Apps that have push access to this branch. Use the app's `slug`. **Note**: The list of users, apps, and teams in total is limited to 100 items. | - */ - "repos/add-app-access-restrictions": { - parameters: { - path: { - owner: components["parameters"]["owner"]; - repo: components["parameters"]["repo"]; - /** The name of the branch. */ - branch: components["parameters"]["branch"]; - }; - }; - responses: { - /** Response */ - 200: { - content: { - "application/json": components["schemas"]["integration"][]; - }; - }; - 422: components["responses"]["validation_failed"]; - }; - requestBody: { - content: { - "application/json": { - /** apps parameter */ - apps: string[]; - }; - }; - }; - }; - /** - * Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://help.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation. - * - * Removes the ability of an app to push to this branch. Only installed GitHub Apps with `write` access to the `contents` permission can be added as authorized actors on a protected branch. - * - * | Type | Description | - * | ------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------- | - * | `array` | The GitHub Apps that have push access to this branch. Use the app's `slug`. **Note**: The list of users, apps, and teams in total is limited to 100 items. | - */ - "repos/remove-app-access-restrictions": { - parameters: { - path: { - owner: components["parameters"]["owner"]; - repo: components["parameters"]["repo"]; - /** The name of the branch. */ - branch: components["parameters"]["branch"]; - }; - }; - responses: { - /** Response */ - 200: { - content: { - "application/json": components["schemas"]["integration"][]; - }; - }; - 422: components["responses"]["validation_failed"]; - }; - requestBody: { - content: { - "application/json": { - /** apps parameter */ - apps: string[]; - }; - }; - }; - }; - /** - * Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://help.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation. - * - * Lists the teams who have push access to this branch. The list includes child teams. - */ - "repos/get-teams-with-access-to-protected-branch": { - parameters: { - path: { - owner: components["parameters"]["owner"]; - repo: components["parameters"]["repo"]; - /** The name of the branch. */ - branch: components["parameters"]["branch"]; - }; - }; - responses: { - /** Response */ - 200: { - content: { - "application/json": components["schemas"]["team"][]; - }; - }; - 404: components["responses"]["not_found"]; - }; - }; - /** - * Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://help.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation. - * - * Replaces the list of teams that have push access to this branch. This removes all teams that previously had push access and grants push access to the new list of teams. Team restrictions include child teams. - * - * | Type | Description | - * | ------- | ------------------------------------------------------------------------------------------------------------------------------------------ | - * | `array` | The teams that can have push access. Use the team's `slug`. **Note**: The list of users, apps, and teams in total is limited to 100 items. | - */ - "repos/set-team-access-restrictions": { - parameters: { - path: { - owner: components["parameters"]["owner"]; - repo: components["parameters"]["repo"]; - /** The name of the branch. */ - branch: components["parameters"]["branch"]; - }; - }; - responses: { - /** Response */ - 200: { - content: { - "application/json": components["schemas"]["team"][]; - }; - }; - 422: components["responses"]["validation_failed"]; - }; - requestBody: { - content: { - "application/json": { - /** teams parameter */ - teams: string[]; - }; - }; - }; - }; - /** - * Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://help.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation. - * - * Grants the specified teams push access for this branch. You can also give push access to child teams. - * - * | Type | Description | - * | ------- | ------------------------------------------------------------------------------------------------------------------------------------------ | - * | `array` | The teams that can have push access. Use the team's `slug`. **Note**: The list of users, apps, and teams in total is limited to 100 items. | - */ - "repos/add-team-access-restrictions": { - parameters: { - path: { - owner: components["parameters"]["owner"]; - repo: components["parameters"]["repo"]; - /** The name of the branch. */ - branch: components["parameters"]["branch"]; - }; - }; - responses: { - /** Response */ - 200: { - content: { - "application/json": components["schemas"]["team"][]; - }; - }; - 422: components["responses"]["validation_failed"]; - }; - requestBody: { - content: { - "application/json": { - /** teams parameter */ - teams: string[]; - }; - }; - }; - }; - /** - * Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://help.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation. - * - * Removes the ability of a team to push to this branch. You can also remove push access for child teams. - * - * | Type | Description | - * | ------- | --------------------------------------------------------------------------------------------------------------------------------------------------- | - * | `array` | Teams that should no longer have push access. Use the team's `slug`. **Note**: The list of users, apps, and teams in total is limited to 100 items. | - */ - "repos/remove-team-access-restrictions": { - parameters: { - path: { - owner: components["parameters"]["owner"]; - repo: components["parameters"]["repo"]; - /** The name of the branch. */ - branch: components["parameters"]["branch"]; - }; - }; - responses: { - /** Response */ - 200: { - content: { - "application/json": components["schemas"]["team"][]; - }; - }; - 422: components["responses"]["validation_failed"]; - }; - requestBody: { - content: { - "application/json": { - /** teams parameter */ - teams: string[]; - }; - }; - }; - }; - /** - * Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://help.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation. - * - * Lists the people who have push access to this branch. - */ - "repos/get-users-with-access-to-protected-branch": { - parameters: { - path: { - owner: components["parameters"]["owner"]; - repo: components["parameters"]["repo"]; - /** The name of the branch. */ - branch: components["parameters"]["branch"]; - }; - }; - responses: { - /** Response */ - 200: { - content: { - "application/json": components["schemas"]["simple-user"][]; - }; - }; - 404: components["responses"]["not_found"]; - }; - }; - /** - * Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://help.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation. - * - * Replaces the list of people that have push access to this branch. This removes all people that previously had push access and grants push access to the new list of people. - * - * | Type | Description | - * | ------- | ----------------------------------------------------------------------------------------------------------------------------- | - * | `array` | Usernames for people who can have push access. **Note**: The list of users, apps, and teams in total is limited to 100 items. | - */ - "repos/set-user-access-restrictions": { - parameters: { - path: { - owner: components["parameters"]["owner"]; - repo: components["parameters"]["repo"]; - /** The name of the branch. */ - branch: components["parameters"]["branch"]; - }; - }; - responses: { - /** Response */ - 200: { - content: { - "application/json": components["schemas"]["simple-user"][]; - }; - }; - 422: components["responses"]["validation_failed"]; - }; - requestBody: { - content: { - "application/json": { - /** users parameter */ - users: string[]; - }; - }; - }; - }; - /** - * Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://help.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation. - * - * Grants the specified people push access for this branch. - * - * | Type | Description | - * | ------- | ----------------------------------------------------------------------------------------------------------------------------- | - * | `array` | Usernames for people who can have push access. **Note**: The list of users, apps, and teams in total is limited to 100 items. | - */ - "repos/add-user-access-restrictions": { - parameters: { - path: { - owner: components["parameters"]["owner"]; - repo: components["parameters"]["repo"]; - /** The name of the branch. */ - branch: components["parameters"]["branch"]; - }; - }; - responses: { - /** Response */ - 200: { - content: { - "application/json": components["schemas"]["simple-user"][]; - }; - }; - 422: components["responses"]["validation_failed"]; - }; - requestBody: { - content: { - "application/json": { - /** users parameter */ - users: string[]; - }; - }; - }; - }; - /** - * Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://help.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation. - * - * Removes the ability of a user to push to this branch. - * - * | Type | Description | - * | ------- | --------------------------------------------------------------------------------------------------------------------------------------------- | - * | `array` | Usernames of the people who should no longer have push access. **Note**: The list of users, apps, and teams in total is limited to 100 items. | - */ - "repos/remove-user-access-restrictions": { - parameters: { - path: { - owner: components["parameters"]["owner"]; - repo: components["parameters"]["repo"]; - /** The name of the branch. */ - branch: components["parameters"]["branch"]; - }; - }; - responses: { - /** Response */ - 200: { - content: { - "application/json": components["schemas"]["simple-user"][]; - }; - }; - 422: components["responses"]["validation_failed"]; - }; - requestBody: { - content: { - "application/json": { - /** users parameter */ - users: string[]; - }; - }; - }; - }; - /** - * Renames a branch in a repository. - * - * **Note:** Although the API responds immediately, the branch rename process might take some extra time to complete in the background. You won't be able to push to the old branch name while the rename process is in progress. For more information, see "[Renaming a branch](https://docs.github.com/github/administering-a-repository/renaming-a-branch)". - * - * The permissions required to use this endpoint depends on whether you are renaming the default branch. - * - * To rename a non-default branch: - * - * * Users must have push access. - * * GitHub Apps must have the `contents:write` repository permission. - * - * To rename the default branch: - * - * * Users must have admin or owner permissions. - * * GitHub Apps must have the `administration:write` repository permission. - */ - "repos/rename-branch": { - parameters: { - path: { - owner: components["parameters"]["owner"]; - repo: components["parameters"]["repo"]; - /** The name of the branch. */ - branch: components["parameters"]["branch"]; - }; - }; - responses: { - /** Response */ - 201: { - content: { - "application/json": components["schemas"]["branch-with-protection"]; - }; - }; - 403: components["responses"]["forbidden"]; - 404: components["responses"]["not_found"]; - 422: components["responses"]["validation_failed"]; - }; - requestBody: { - content: { - "application/json": { - /** The new name of the branch. */ - new_name: string; - }; - }; - }; - }; - /** - * **Note:** The Checks API only looks for pushes in the repository where the check suite or check run were created. Pushes to a branch in a forked repository are not detected and return an empty `pull_requests` array. - * - * Creates a new check run for a specific commit in a repository. Your GitHub App must have the `checks:write` permission to create check runs. - * - * In a check suite, GitHub limits the number of check runs with the same name to 1000. Once these check runs exceed 1000, GitHub will start to automatically delete older check runs. - */ - "checks/create": { - parameters: { - path: { - owner: components["parameters"]["owner"]; - repo: components["parameters"]["repo"]; - }; - }; - responses: { - /** Response */ - 201: { - content: { - "application/json": components["schemas"]["check-run"]; - }; - }; - }; - requestBody: { - content: { - "application/json": ( - | ({ - status: "completed"; - } & { - conclusion: unknown; - } & { [key: string]: any }) - | ({ - status?: "queued" | "in_progress"; - } & { [key: string]: any }) - ) & { - /** The name of the check. For example, "code-coverage". */ - name: string; - /** The SHA of the commit. */ - head_sha: string; - /** The URL of the integrator's site that has the full details of the check. If the integrator does not provide this, then the homepage of the GitHub app is used. */ - details_url?: string; - /** A reference for the run on the integrator's system. */ - external_id?: string; - /** The current status. Can be one of `queued`, `in_progress`, or `completed`. */ - status?: "queued" | "in_progress" | "completed"; - /** The time that the check run began. This is a timestamp in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) format: `YYYY-MM-DDTHH:MM:SSZ`. */ - started_at?: string; - /** - * **Required if you provide `completed_at` or a `status` of `completed`**. The final conclusion of the check. Can be one of `action_required`, `cancelled`, `failure`, `neutral`, `success`, `skipped`, `stale`, or `timed_out`. When the conclusion is `action_required`, additional details should be provided on the site specified by `details_url`. - * **Note:** Providing `conclusion` will automatically set the `status` parameter to `completed`. You cannot change a check run conclusion to `stale`, only GitHub can set this. - */ - conclusion?: - | "action_required" - | "cancelled" - | "failure" - | "neutral" - | "success" - | "skipped" - | "stale" - | "timed_out"; - /** The time the check completed. This is a timestamp in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) format: `YYYY-MM-DDTHH:MM:SSZ`. */ - completed_at?: string; - /** Check runs can accept a variety of data in the `output` object, including a `title` and `summary` and can optionally provide descriptive details about the run. See the [`output` object](https://docs.github.com/rest/reference/checks#output-object) description. */ - output?: { - /** The title of the check run. */ - title: string; - /** The summary of the check run. This parameter supports Markdown. */ - summary: string; - /** The details of the check run. This parameter supports Markdown. */ - text?: string; - /** Adds information from your analysis to specific lines of code. Annotations are visible on GitHub in the **Checks** and **Files changed** tab of the pull request. The Checks API limits the number of annotations to a maximum of 50 per API request. To create more than 50 annotations, you have to make multiple requests to the [Update a check run](https://docs.github.com/rest/reference/checks#update-a-check-run) endpoint. Each time you update the check run, annotations are appended to the list of annotations that already exist for the check run. For details about how you can view annotations on GitHub, see "[About status checks](https://help.github.com/articles/about-status-checks#checks)". See the [`annotations` object](https://docs.github.com/rest/reference/checks#annotations-object) description for details about how to use this parameter. */ - annotations?: { - /** The path of the file to add an annotation to. For example, `assets/css/main.css`. */ - path: string; - /** The start line of the annotation. */ - start_line: number; - /** The end line of the annotation. */ - end_line: number; - /** The start column of the annotation. Annotations only support `start_column` and `end_column` on the same line. Omit this parameter if `start_line` and `end_line` have different values. */ - start_column?: number; - /** The end column of the annotation. Annotations only support `start_column` and `end_column` on the same line. Omit this parameter if `start_line` and `end_line` have different values. */ - end_column?: number; - /** The level of the annotation. Can be one of `notice`, `warning`, or `failure`. */ - annotation_level: "notice" | "warning" | "failure"; - /** A short description of the feedback for these lines of code. The maximum size is 64 KB. */ - message: string; - /** The title that represents the annotation. The maximum size is 255 characters. */ - title?: string; - /** Details about this annotation. The maximum size is 64 KB. */ - raw_details?: string; - }[]; - /** Adds images to the output displayed in the GitHub pull request UI. See the [`images` object](https://docs.github.com/rest/reference/checks#images-object) description for details. */ - images?: { - /** The alternative text for the image. */ - alt: string; - /** The full URL of the image. */ - image_url: string; - /** A short image description. */ - caption?: string; - }[]; - }; - /** Displays a button on GitHub that can be clicked to alert your app to do additional tasks. For example, a code linting app can display a button that automatically fixes detected errors. The button created in this object is displayed after the check run completes. When a user clicks the button, GitHub sends the [`check_run.requested_action` webhook](https://docs.github.com/webhooks/event-payloads/#check_run) to your app. Each action includes a `label`, `identifier` and `description`. A maximum of three actions are accepted. See the [`actions` object](https://docs.github.com/rest/reference/checks#actions-object) description. To learn more about check runs and requested actions, see "[Check runs and requested actions](https://docs.github.com/rest/reference/checks#check-runs-and-requested-actions)." To learn more about check runs and requested actions, see "[Check runs and requested actions](https://docs.github.com/rest/reference/checks#check-runs-and-requested-actions)." */ - actions?: { - /** The text to be displayed on a button in the web UI. The maximum size is 20 characters. */ - label: string; - /** A short explanation of what this action would do. The maximum size is 40 characters. */ - description: string; - /** A reference for the action on the integrator's system. The maximum size is 20 characters. */ - identifier: string; - }[]; - }; - }; - }; - }; - /** - * **Note:** The Checks API only looks for pushes in the repository where the check suite or check run were created. Pushes to a branch in a forked repository are not detected and return an empty `pull_requests` array. - * - * Gets a single check run using its `id`. GitHub Apps must have the `checks:read` permission on a private repository or pull access to a public repository to get check runs. OAuth Apps and authenticated users must have the `repo` scope to get check runs in a private repository. - */ - "checks/get": { - parameters: { - path: { - owner: components["parameters"]["owner"]; - repo: components["parameters"]["repo"]; - /** check_run_id parameter */ - check_run_id: components["parameters"]["check-run-id"]; - }; - }; - responses: { - /** Response */ - 200: { - content: { - "application/json": components["schemas"]["check-run"]; - }; - }; - }; - }; - /** - * **Note:** The Checks API only looks for pushes in the repository where the check suite or check run were created. Pushes to a branch in a forked repository are not detected and return an empty `pull_requests` array. - * - * Updates a check run for a specific commit in a repository. Your GitHub App must have the `checks:write` permission to edit check runs. - */ - "checks/update": { - parameters: { - path: { - owner: components["parameters"]["owner"]; - repo: components["parameters"]["repo"]; - /** check_run_id parameter */ - check_run_id: components["parameters"]["check-run-id"]; - }; - }; - responses: { - /** Response */ - 200: { - content: { - "application/json": components["schemas"]["check-run"]; - }; - }; - }; - requestBody: { - content: { - "application/json": (Partial< - { - status?: "completed"; - } & { - conclusion: unknown; - } & { [key: string]: any } - > & - Partial< - { - status?: "queued" | "in_progress"; - } & { [key: string]: any } - >) & { - /** The name of the check. For example, "code-coverage". */ - name?: string; - /** The URL of the integrator's site that has the full details of the check. */ - details_url?: string; - /** A reference for the run on the integrator's system. */ - external_id?: string; - /** This is a timestamp in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) format: `YYYY-MM-DDTHH:MM:SSZ`. */ - started_at?: string; - /** The current status. Can be one of `queued`, `in_progress`, or `completed`. */ - status?: "queued" | "in_progress" | "completed"; - /** - * **Required if you provide `completed_at` or a `status` of `completed`**. The final conclusion of the check. Can be one of `action_required`, `cancelled`, `failure`, `neutral`, `success`, `skipped`, `stale`, or `timed_out`. - * **Note:** Providing `conclusion` will automatically set the `status` parameter to `completed`. You cannot change a check run conclusion to `stale`, only GitHub can set this. - */ - conclusion?: - | "action_required" - | "cancelled" - | "failure" - | "neutral" - | "success" - | "skipped" - | "stale" - | "timed_out"; - /** The time the check completed. This is a timestamp in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) format: `YYYY-MM-DDTHH:MM:SSZ`. */ - completed_at?: string; - /** Check runs can accept a variety of data in the `output` object, including a `title` and `summary` and can optionally provide descriptive details about the run. See the [`output` object](https://docs.github.com/rest/reference/checks#output-object-1) description. */ - output?: { - /** **Required**. */ - title?: string; - /** Can contain Markdown. */ - summary: string; - /** Can contain Markdown. */ - text?: string; - /** Adds information from your analysis to specific lines of code. Annotations are visible in GitHub's pull request UI. Annotations are visible in GitHub's pull request UI. The Checks API limits the number of annotations to a maximum of 50 per API request. To create more than 50 annotations, you have to make multiple requests to the [Update a check run](https://docs.github.com/rest/reference/checks#update-a-check-run) endpoint. Each time you update the check run, annotations are appended to the list of annotations that already exist for the check run. For details about annotations in the UI, see "[About status checks](https://help.github.com/articles/about-status-checks#checks)". See the [`annotations` object](https://docs.github.com/rest/reference/checks#annotations-object-1) description for details. */ - annotations?: { - /** The path of the file to add an annotation to. For example, `assets/css/main.css`. */ - path: string; - /** The start line of the annotation. */ - start_line: number; - /** The end line of the annotation. */ - end_line: number; - /** The start column of the annotation. Annotations only support `start_column` and `end_column` on the same line. Omit this parameter if `start_line` and `end_line` have different values. */ - start_column?: number; - /** The end column of the annotation. Annotations only support `start_column` and `end_column` on the same line. Omit this parameter if `start_line` and `end_line` have different values. */ - end_column?: number; - /** The level of the annotation. Can be one of `notice`, `warning`, or `failure`. */ - annotation_level: "notice" | "warning" | "failure"; - /** A short description of the feedback for these lines of code. The maximum size is 64 KB. */ - message: string; - /** The title that represents the annotation. The maximum size is 255 characters. */ - title?: string; - /** Details about this annotation. The maximum size is 64 KB. */ - raw_details?: string; - }[]; - /** Adds images to the output displayed in the GitHub pull request UI. See the [`images` object](https://docs.github.com/rest/reference/checks#annotations-object-1) description for details. */ - images?: { - /** The alternative text for the image. */ - alt: string; - /** The full URL of the image. */ - image_url: string; - /** A short image description. */ - caption?: string; - }[]; - }; - /** Possible further actions the integrator can perform, which a user may trigger. Each action includes a `label`, `identifier` and `description`. A maximum of three actions are accepted. See the [`actions` object](https://docs.github.com/rest/reference/checks#actions-object) description. To learn more about check runs and requested actions, see "[Check runs and requested actions](https://docs.github.com/rest/reference/checks#check-runs-and-requested-actions)." */ - actions?: { - /** The text to be displayed on a button in the web UI. The maximum size is 20 characters. */ - label: string; - /** A short explanation of what this action would do. The maximum size is 40 characters. */ - description: string; - /** A reference for the action on the integrator's system. The maximum size is 20 characters. */ - identifier: string; - }[]; - }; - }; - }; - }; - /** Lists annotations for a check run using the annotation `id`. GitHub Apps must have the `checks:read` permission on a private repository or pull access to a public repository to get annotations for a check run. OAuth Apps and authenticated users must have the `repo` scope to get annotations for a check run in a private repository. */ - "checks/list-annotations": { - parameters: { - path: { - owner: components["parameters"]["owner"]; - repo: components["parameters"]["repo"]; - /** check_run_id parameter */ - check_run_id: components["parameters"]["check-run-id"]; - }; - query: { - /** Results per page (max 100) */ - per_page?: components["parameters"]["per-page"]; - /** Page number of the results to fetch. */ - page?: components["parameters"]["page"]; - }; - }; - responses: { - /** Response */ - 200: { - headers: {}; - content: { - "application/json": components["schemas"]["check-annotation"][]; - }; - }; - }; - }; - /** - * **Note:** The Checks API only looks for pushes in the repository where the check suite or check run were created. Pushes to a branch in a forked repository are not detected and return an empty `pull_requests` array and a `null` value for `head_branch`. - * - * By default, check suites are automatically created when you create a [check run](https://docs.github.com/rest/reference/checks#check-runs). You only need to use this endpoint for manually creating check suites when you've disabled automatic creation using "[Update repository preferences for check suites](https://docs.github.com/rest/reference/checks#update-repository-preferences-for-check-suites)". Your GitHub App must have the `checks:write` permission to create check suites. - */ - "checks/create-suite": { - parameters: { - path: { - owner: components["parameters"]["owner"]; - repo: components["parameters"]["repo"]; - }; - }; - responses: { - /** when the suite already existed */ - 200: { - content: { - "application/json": components["schemas"]["check-suite"]; - }; - }; - /** Response when the suite was created */ - 201: { - content: { - "application/json": components["schemas"]["check-suite"]; - }; - }; - }; - requestBody: { - content: { - "application/json": { - /** The sha of the head commit. */ - head_sha: string; - }; - }; - }; - }; - /** Changes the default automatic flow when creating check suites. By default, a check suite is automatically created each time code is pushed to a repository. When you disable the automatic creation of check suites, you can manually [Create a check suite](https://docs.github.com/rest/reference/checks#create-a-check-suite). You must have admin permissions in the repository to set preferences for check suites. */ - "checks/set-suites-preferences": { - parameters: { - path: { - owner: components["parameters"]["owner"]; - repo: components["parameters"]["repo"]; - }; - }; - responses: { - /** Response */ - 200: { - content: { - "application/json": components["schemas"]["check-suite-preference"]; - }; - }; - }; - requestBody: { - content: { - "application/json": { - /** Enables or disables automatic creation of CheckSuite events upon pushes to the repository. Enabled by default. See the [`auto_trigger_checks` object](https://docs.github.com/rest/reference/checks#auto_trigger_checks-object) description for details. */ - auto_trigger_checks?: { - /** The `id` of the GitHub App. */ - app_id: number; - /** Set to `true` to enable automatic creation of CheckSuite events upon pushes to the repository, or `false` to disable them. */ - setting: boolean; - }[]; - }; - }; - }; - }; - /** - * **Note:** The Checks API only looks for pushes in the repository where the check suite or check run were created. Pushes to a branch in a forked repository are not detected and return an empty `pull_requests` array and a `null` value for `head_branch`. - * - * Gets a single check suite using its `id`. GitHub Apps must have the `checks:read` permission on a private repository or pull access to a public repository to get check suites. OAuth Apps and authenticated users must have the `repo` scope to get check suites in a private repository. - */ - "checks/get-suite": { - parameters: { - path: { - owner: components["parameters"]["owner"]; - repo: components["parameters"]["repo"]; - /** check_suite_id parameter */ - check_suite_id: components["parameters"]["check-suite-id"]; - }; - }; - responses: { - /** Response */ - 200: { - content: { - "application/json": components["schemas"]["check-suite"]; - }; - }; - }; - }; - /** - * **Note:** The Checks API only looks for pushes in the repository where the check suite or check run were created. Pushes to a branch in a forked repository are not detected and return an empty `pull_requests` array. - * - * Lists check runs for a check suite using its `id`. GitHub Apps must have the `checks:read` permission on a private repository or pull access to a public repository to get check runs. OAuth Apps and authenticated users must have the `repo` scope to get check runs in a private repository. - */ - "checks/list-for-suite": { - parameters: { - path: { - owner: components["parameters"]["owner"]; - repo: components["parameters"]["repo"]; - /** check_suite_id parameter */ - check_suite_id: components["parameters"]["check-suite-id"]; - }; - query: { - /** Returns check runs with the specified `name`. */ - check_name?: components["parameters"]["check-name"]; - /** Returns check runs with the specified `status`. Can be one of `queued`, `in_progress`, or `completed`. */ - status?: components["parameters"]["status"]; - /** Filters check runs by their `completed_at` timestamp. Can be one of `latest` (returning the most recent check runs) or `all`. */ - filter?: "latest" | "all"; - /** Results per page (max 100) */ - per_page?: components["parameters"]["per-page"]; - /** Page number of the results to fetch. */ - page?: components["parameters"]["page"]; - }; - }; - responses: { - /** Response */ - 200: { - headers: {}; - content: { - "application/json": { - total_count: number; - check_runs: components["schemas"]["check-run"][]; - }; - }; - }; - }; - }; - /** - * Triggers GitHub to rerequest an existing check suite, without pushing new code to a repository. This endpoint will trigger the [`check_suite` webhook](https://docs.github.com/webhooks/event-payloads/#check_suite) event with the action `rerequested`. When a check suite is `rerequested`, its `status` is reset to `queued` and the `conclusion` is cleared. - * - * To rerequest a check suite, your GitHub App must have the `checks:read` permission on a private repository or pull access to a public repository. - */ - "checks/rerequest-suite": { - parameters: { - path: { - owner: components["parameters"]["owner"]; - repo: components["parameters"]["repo"]; - /** check_suite_id parameter */ - check_suite_id: components["parameters"]["check-suite-id"]; - }; - }; - responses: { - /** Response */ - 201: { - content: { - "application/json": { [key: string]: unknown }; - }; - }; - }; - }; - /** - * Lists all open code scanning alerts for the default branch (usually `main` - * or `master`). You must use an access token with the `security_events` scope to use - * this endpoint. GitHub Apps must have the `security_events` read permission to use - * this endpoint. - * - * The response includes a `most_recent_instance` object. - * This provides details of the most recent instance of this alert - * for the default branch or for the specified Git reference - * (if you used `ref` in the request). - */ - "code-scanning/list-alerts-for-repo": { - parameters: { - path: { - owner: components["parameters"]["owner"]; - repo: components["parameters"]["repo"]; - }; - query: { - /** The name of a code scanning tool. Only results by this tool will be listed. You can specify the tool by using either `tool_name` or `tool_guid`, but not both. */ - tool_name?: components["parameters"]["tool-name"]; - /** The GUID of a code scanning tool. Only results by this tool will be listed. Note that some code scanning tools may not include a GUID in their analysis data. You can specify the tool by using either `tool_guid` or `tool_name`, but not both. */ - tool_guid?: components["parameters"]["tool-guid"]; - /** Page number of the results to fetch. */ - page?: components["parameters"]["page"]; - /** Results per page (max 100) */ - per_page?: components["parameters"]["per-page"]; - /** The Git reference for the results you want to list. The `ref` for a branch can be formatted either as `refs/heads/` or simply ``. To reference a pull request use `refs/pull//merge`. */ - ref?: components["parameters"]["git-ref"]; - /** Set to `open`, `fixed`, or `dismissed` to list code scanning alerts in a specific state. */ - state?: components["schemas"]["code-scanning-alert-state"]; - }; - }; - responses: { - /** Response */ - 200: { - content: { - "application/json": components["schemas"]["code-scanning-alert-items"][]; - }; - }; - 403: components["responses"]["code_scanning_forbidden_read"]; - 404: components["responses"]["not_found"]; - 503: components["responses"]["service_unavailable"]; - }; - }; - /** - * Gets a single code scanning alert. You must use an access token with the `security_events` scope to use this endpoint. GitHub Apps must have the `security_events` read permission to use this endpoint. - * - * **Deprecation notice**: - * The instances field is deprecated and will, in future, not be included in the response for this endpoint. The example response reflects this change. The same information can now be retrieved via a GET request to the URL specified by `instances_url`. - */ - "code-scanning/get-alert": { - parameters: { - path: { - owner: components["parameters"]["owner"]; - repo: components["parameters"]["repo"]; - /** The number that identifies an alert. You can find this at the end of the URL for a code scanning alert within GitHub, and in the `number` field in the response from the `GET /repos/{owner}/{repo}/code-scanning/alerts` operation. */ - alert_number: components["parameters"]["alert-number"]; - }; - }; - responses: { - /** Response */ - 200: { - content: { - "application/json": components["schemas"]["code-scanning-alert"]; - }; - }; - 403: components["responses"]["code_scanning_forbidden_read"]; - 404: components["responses"]["not_found"]; - 503: components["responses"]["service_unavailable"]; - }; - }; - /** Updates the status of a single code scanning alert. You must use an access token with the `security_events` scope to use this endpoint. GitHub Apps must have the `security_events` write permission to use this endpoint. */ - "code-scanning/update-alert": { - parameters: { - path: { - owner: components["parameters"]["owner"]; - repo: components["parameters"]["repo"]; - /** The number that identifies an alert. You can find this at the end of the URL for a code scanning alert within GitHub, and in the `number` field in the response from the `GET /repos/{owner}/{repo}/code-scanning/alerts` operation. */ - alert_number: components["parameters"]["alert-number"]; - }; - }; - responses: { - /** Response */ - 200: { - content: { - "application/json": components["schemas"]["code-scanning-alert"]; - }; - }; - 403: components["responses"]["code_scanning_forbidden_write"]; - 404: components["responses"]["not_found"]; - 503: components["responses"]["service_unavailable"]; - }; - requestBody: { - content: { - "application/json": { - state: components["schemas"]["code-scanning-alert-set-state"]; - dismissed_reason?: components["schemas"]["code-scanning-alert-dismissed-reason"]; - }; - }; - }; - }; - /** Lists all instances of the specified code scanning alert. You must use an access token with the `security_events` scope to use this endpoint. GitHub Apps must have the `security_events` read permission to use this endpoint. */ - "code-scanning/list-alert-instances": { - parameters: { - path: { - owner: components["parameters"]["owner"]; - repo: components["parameters"]["repo"]; - /** The number that identifies an alert. You can find this at the end of the URL for a code scanning alert within GitHub, and in the `number` field in the response from the `GET /repos/{owner}/{repo}/code-scanning/alerts` operation. */ - alert_number: components["parameters"]["alert-number"]; - }; - query: { - /** Page number of the results to fetch. */ - page?: components["parameters"]["page"]; - /** Results per page (max 100) */ - per_page?: components["parameters"]["per-page"]; - /** The Git reference for the results you want to list. The `ref` for a branch can be formatted either as `refs/heads/` or simply ``. To reference a pull request use `refs/pull//merge`. */ - ref?: components["parameters"]["git-ref"]; - }; - }; - responses: { - /** Response */ - 200: { - content: { - "application/json": components["schemas"]["code-scanning-alert-instance"][]; - }; - }; - 403: components["responses"]["code_scanning_forbidden_read"]; - 404: components["responses"]["not_found"]; - 503: components["responses"]["service_unavailable"]; - }; - }; - /** - * Lists the details of all code scanning analyses for a repository, - * starting with the most recent. - * The response is paginated and you can use the `page` and `per_page` parameters - * to list the analyses you're interested in. - * By default 30 analyses are listed per page. - * - * The `rules_count` field in the response give the number of rules - * that were run in the analysis. - * For very old analyses this data is not available, - * and `0` is returned in this field. - * - * You must use an access token with the `security_events` scope to use this endpoint. - * GitHub Apps must have the `security_events` read permission to use this endpoint. - * - * **Deprecation notice**: - * The `tool_name` field is deprecated and will, in future, not be included in the response for this endpoint. The example response reflects this change. The tool name can now be found inside the `tool` field. - */ - "code-scanning/list-recent-analyses": { - parameters: { - path: { - owner: components["parameters"]["owner"]; - repo: components["parameters"]["repo"]; - }; - query: { - /** The name of a code scanning tool. Only results by this tool will be listed. You can specify the tool by using either `tool_name` or `tool_guid`, but not both. */ - tool_name?: components["parameters"]["tool-name"]; - /** The GUID of a code scanning tool. Only results by this tool will be listed. Note that some code scanning tools may not include a GUID in their analysis data. You can specify the tool by using either `tool_guid` or `tool_name`, but not both. */ - tool_guid?: components["parameters"]["tool-guid"]; - /** Page number of the results to fetch. */ - page?: components["parameters"]["page"]; - /** Results per page (max 100) */ - per_page?: components["parameters"]["per-page"]; - /** The Git reference for the analyses you want to list. The `ref` for a branch can be formatted either as `refs/heads/` or simply ``. To reference a pull request use `refs/pull//merge`. */ - ref?: components["schemas"]["code-scanning-ref"]; - /** Filter analyses belonging to the same SARIF upload. */ - sarif_id?: components["schemas"]["code-scanning-analysis-sarif-id"]; - }; - }; - responses: { - /** Response */ - 200: { - content: { - "application/json": components["schemas"]["code-scanning-analysis"][]; - }; - }; - 403: components["responses"]["code_scanning_forbidden_read"]; - 404: components["responses"]["not_found"]; - 503: components["responses"]["service_unavailable"]; - }; - }; - /** - * Gets a specified code scanning analysis for a repository. - * You must use an access token with the `security_events` scope to use this endpoint. - * GitHub Apps must have the `security_events` read permission to use this endpoint. - * - * The default JSON response contains fields that describe the analysis. - * This includes the Git reference and commit SHA to which the analysis relates, - * the datetime of the analysis, the name of the code scanning tool, - * and the number of alerts. - * - * The `rules_count` field in the default response give the number of rules - * that were run in the analysis. - * For very old analyses this data is not available, - * and `0` is returned in this field. - * - * If you use the Accept header `application/sarif+json`, - * the response contains the analysis data that was uploaded. - * This is formatted as - * [SARIF version 2.1.0](https://docs.oasis-open.org/sarif/sarif/v2.1.0/cs01/sarif-v2.1.0-cs01.html). - * - * **Deprecation notice**: - * The `tool_name` field is deprecated and will, in future, not be included in the response for this endpoint. The example response reflects this change. The tool name can now be found inside the `tool` field. - */ - "code-scanning/get-analysis": { - parameters: { - path: { - owner: components["parameters"]["owner"]; - repo: components["parameters"]["repo"]; - /** The ID of the analysis, as returned from the `GET /repos/{owner}/{repo}/code-scanning/analyses` operation. */ - analysis_id: number; - }; - }; - responses: { - /** Response */ - 200: { - content: { - "application/json+sarif": string; - "application/json": components["schemas"]["code-scanning-analysis"]; - }; - }; - 403: components["responses"]["code_scanning_forbidden_read"]; - 404: components["responses"]["not_found"]; - 503: components["responses"]["service_unavailable"]; - }; - }; - /** - * Deletes a specified code scanning analysis from a repository. For - * private repositories, you must use an access token with the `repo` scope. For public repositories, - * you must use an access token with `public_repo` and `repo:security_events` scopes. - * GitHub Apps must have the `security_events` write permission to use this endpoint. - * - * You can delete one analysis at a time. - * To delete a series of analyses, start with the most recent analysis and work backwards. - * Conceptually, the process is similar to the undo function in a text editor. - * - * When you list the analyses for a repository, - * one or more will be identified as deletable in the response: - * - * ``` - * "deletable": true - * ``` - * - * An analysis is deletable when it's the most recent in a set of analyses. - * Typically, a repository will have multiple sets of analyses - * for each enabled code scanning tool, - * where a set is determined by a unique combination of analysis values: - * - * * `ref` - * * `tool` - * * `analysis_key` - * * `environment` - * - * If you attempt to delete an analysis that is not the most recent in a set, - * you'll get a 400 response with the message: - * - * ``` - * Analysis specified is not deletable. - * ``` - * - * The response from a successful `DELETE` operation provides you with - * two alternative URLs for deleting the next analysis in the set - * (see the example default response below). - * Use the `next_analysis_url` URL if you want to avoid accidentally deleting the final analysis - * in the set. This is a useful option if you want to preserve at least one analysis - * for the specified tool in your repository. - * Use the `confirm_delete_url` URL if you are content to remove all analyses for a tool. - * When you delete the last analysis in a set the value of `next_analysis_url` and `confirm_delete_url` - * in the 200 response is `null`. - * - * As an example of the deletion process, - * let's imagine that you added a workflow that configured a particular code scanning tool - * to analyze the code in a repository. This tool has added 15 analyses: - * 10 on the default branch, and another 5 on a topic branch. - * You therefore have two separate sets of analyses for this tool. - * You've now decided that you want to remove all of the analyses for the tool. - * To do this you must make 15 separate deletion requests. - * To start, you must find the deletable analysis for one of the sets, - * step through deleting the analyses in that set, - * and then repeat the process for the second set. - * The procedure therefore consists of a nested loop: - * - * **Outer loop**: - * * List the analyses for the repository, filtered by tool. - * * Parse this list to find a deletable analysis. If found: - * - * **Inner loop**: - * * Delete the identified analysis. - * * Parse the response for the value of `confirm_delete_url` and, if found, use this in the next iteration. - * - * The above process assumes that you want to remove all trace of the tool's analyses from the GitHub user interface, for the specified repository, and it therefore uses the `confirm_delete_url` value. Alternatively, you could use the `next_analysis_url` value, which would leave the last analysis in each set undeleted to avoid removing a tool's analysis entirely. - */ - "code-scanning/delete-analysis": { - parameters: { - path: { - owner: components["parameters"]["owner"]; - repo: components["parameters"]["repo"]; - /** The ID of the analysis, as returned from the `GET /repos/{owner}/{repo}/code-scanning/analyses` operation. */ - analysis_id: number; - }; - query: { - /** Allow deletion if the specified analysis is the last in a set. If you attempt to delete the final analysis in a set without setting this parameter to `true`, you'll get a 400 response with the message: `Analysis is last of its type and deletion may result in the loss of historical alert data. Please specify confirm_delete.` */ - confirm_delete?: string | null; - }; - }; - responses: { - /** Response */ - 200: { - content: { - "application/json": components["schemas"]["code-scanning-analysis-deletion"]; - }; - }; - 400: components["responses"]["bad_request"]; - 403: components["responses"]["code_scanning_forbidden_write"]; - 404: components["responses"]["not_found"]; - 503: components["responses"]["service_unavailable"]; - }; - }; - /** - * Uploads SARIF data containing the results of a code scanning analysis to make the results available in a repository. You must use an access token with the `security_events` scope to use this endpoint. GitHub Apps must have the `security_events` write permission to use this endpoint. - * - * There are two places where you can upload code scanning results. - * - If you upload to a pull request, for example `--ref refs/pull/42/merge` or `--ref refs/pull/42/head`, then the results appear as alerts in a pull request check. For more information, see "[Triaging code scanning alerts in pull requests](/code-security/secure-coding/triaging-code-scanning-alerts-in-pull-requests)." - * - If you upload to a branch, for example `--ref refs/heads/my-branch`, then the results appear in the **Security** tab for your repository. For more information, see "[Managing code scanning alerts for your repository](/code-security/secure-coding/managing-code-scanning-alerts-for-your-repository#viewing-the-alerts-for-a-repository)." - * - * You must compress the SARIF-formatted analysis data that you want to upload, using `gzip`, and then encode it as a Base64 format string. For example: - * - * ``` - * gzip -c analysis-data.sarif | base64 -w0 - * ``` - * - * SARIF upload supports a maximum of 5000 results per analysis run. Any results over this limit are ignored and any SARIF uploads with more than 25,000 results are rejected. Typically, but not necessarily, a SARIF file contains a single run of a single tool. If a code scanning tool generates too many results, you should update the analysis configuration to run only the most important rules or queries. - * - * The `202 Accepted`, response includes an `id` value. - * You can use this ID to check the status of the upload by using this for the `/sarifs/{sarif_id}` endpoint. - * For more information, see "[Get information about a SARIF upload](/rest/reference/code-scanning#get-information-about-a-sarif-upload)." - */ - "code-scanning/upload-sarif": { - parameters: { - path: { - owner: components["parameters"]["owner"]; - repo: components["parameters"]["repo"]; - }; - }; - responses: { - /** Response */ - 202: { - content: { - "application/json": components["schemas"]["code-scanning-sarifs-receipt"]; - }; - }; - /** Bad Request if the sarif field is invalid */ - 400: unknown; - 403: components["responses"]["code_scanning_forbidden_write"]; - 404: components["responses"]["not_found"]; - /** Payload Too Large if the sarif field is too large */ - 413: unknown; - 503: components["responses"]["service_unavailable"]; - }; - requestBody: { - content: { - "application/json": { - commit_sha: components["schemas"]["code-scanning-analysis-commit-sha"]; - ref: components["schemas"]["code-scanning-ref"]; - sarif: components["schemas"]["code-scanning-analysis-sarif-file"]; - /** - * The base directory used in the analysis, as it appears in the SARIF file. - * This property is used to convert file paths from absolute to relative, so that alerts can be mapped to their correct location in the repository. - */ - checkout_uri?: string; - /** The time that the analysis run began. This is a timestamp in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) format: `YYYY-MM-DDTHH:MM:SSZ`. */ - started_at?: string; - /** The name of the tool used to generate the code scanning analysis. If this parameter is not used, the tool name defaults to "API". If the uploaded SARIF contains a tool GUID, this will be available for filtering using the `tool_guid` parameter of operations such as `GET /repos/{owner}/{repo}/code-scanning/alerts`. */ - tool_name?: string; - }; - }; - }; - }; - /** Gets information about a SARIF upload, including the status and the URL of the analysis that was uploaded so that you can retrieve details of the analysis. For more information, see "[Get a code scanning analysis for a repository](/rest/reference/code-scanning#get-a-code-scanning-analysis-for-a-repository)." You must use an access token with the `security_events` scope to use this endpoint. GitHub Apps must have the `security_events` read permission to use this endpoint. */ - "code-scanning/get-sarif": { - parameters: { - path: { - owner: components["parameters"]["owner"]; - repo: components["parameters"]["repo"]; - /** The SARIF ID obtained after uploading. */ - sarif_id: string; - }; - }; - responses: { - /** Response */ - 200: { - content: { - "application/json": components["schemas"]["code-scanning-sarifs-status"]; - }; - }; - 403: components["responses"]["code_scanning_forbidden_read"]; - /** Not Found if the sarif id does not match any upload */ - 404: unknown; - 503: components["responses"]["service_unavailable"]; - }; - }; - /** - * For organization-owned repositories, the list of collaborators includes outside collaborators, organization members that are direct collaborators, organization members with access through team memberships, organization members with access through default organization permissions, and organization owners. - * - * Team members will include the members of child teams. - */ - "repos/list-collaborators": { - parameters: { - path: { - owner: components["parameters"]["owner"]; - repo: components["parameters"]["repo"]; - }; - query: { - /** - * Filter collaborators returned by their affiliation. Can be one of: - * \* `outside`: All outside collaborators of an organization-owned repository. - * \* `direct`: All collaborators with permissions to an organization-owned repository, regardless of organization membership status. - * \* `all`: All collaborators the authenticated user can see. - */ - affiliation?: "outside" | "direct" | "all"; - /** Results per page (max 100) */ - per_page?: components["parameters"]["per-page"]; - /** Page number of the results to fetch. */ - page?: components["parameters"]["page"]; - }; - }; - responses: { - /** Response */ - 200: { - headers: {}; - content: { - "application/json": components["schemas"]["collaborator"][]; - }; - }; - 404: components["responses"]["not_found"]; - }; - }; - /** - * For organization-owned repositories, the list of collaborators includes outside collaborators, organization members that are direct collaborators, organization members with access through team memberships, organization members with access through default organization permissions, and organization owners. - * - * Team members will include the members of child teams. - */ - "repos/check-collaborator": { - parameters: { - path: { - owner: components["parameters"]["owner"]; - repo: components["parameters"]["repo"]; - username: components["parameters"]["username"]; - }; - }; - responses: { - /** Response if user is a collaborator */ - 204: never; - /** Not Found if user is not a collaborator */ - 404: unknown; - }; - }; - /** - * This endpoint triggers [notifications](https://docs.github.com/en/github/managing-subscriptions-and-notifications-on-github/about-notifications). Creating content too quickly using this endpoint may result in abuse rate limiting. See "[Abuse rate limits](https://docs.github.com/rest/overview/resources-in-the-rest-api#abuse-rate-limits)" and "[Dealing with abuse rate limits](https://docs.github.com/rest/guides/best-practices-for-integrators#dealing-with-rate-limits)" for details. - * - * For more information the permission levels, see "[Repository permission levels for an organization](https://help.github.com/en/github/setting-up-and-managing-organizations-and-teams/repository-permission-levels-for-an-organization#permission-levels-for-repositories-owned-by-an-organization)". - * - * Note that, if you choose not to pass any parameters, you'll need to set `Content-Length` to zero when calling out to this endpoint. For more information, see "[HTTP verbs](https://docs.github.com/rest/overview/resources-in-the-rest-api#http-verbs)." - * - * The invitee will receive a notification that they have been invited to the repository, which they must accept or decline. They may do this via the notifications page, the email they receive, or by using the [repository invitations API endpoints](https://docs.github.com/rest/reference/repos#invitations). - * - * **Rate limits** - * - * To prevent abuse, you are limited to sending 50 invitations to a repository per 24 hour period. Note there is no limit if you are inviting organization members to an organization repository. - */ - "repos/add-collaborator": { - parameters: { - path: { - owner: components["parameters"]["owner"]; - repo: components["parameters"]["repo"]; - username: components["parameters"]["username"]; - }; - }; - responses: { - /** Response when a new invitation is created */ - 201: { - content: { - "application/json": components["schemas"]["repository-invitation"]; - }; - }; - /** Response when person is already a collaborator */ - 204: never; - 403: components["responses"]["forbidden"]; - 422: components["responses"]["validation_failed"]; - }; - requestBody: { - content: { - "application/json": { - /** - * The permission to grant the collaborator. **Only valid on organization-owned repositories.** Can be one of: - * \* `pull` - can pull, but not push to or administer this repository. - * \* `push` - can pull and push, but not administer this repository. - * \* `admin` - can pull, push and administer this repository. - * \* `maintain` - Recommended for project managers who need to manage the repository without access to sensitive or destructive actions. - * \* `triage` - Recommended for contributors who need to proactively manage issues and pull requests without write access. - */ - permission?: "pull" | "push" | "admin" | "maintain" | "triage"; - permissions?: string; - }; - }; - }; - }; - "repos/remove-collaborator": { - parameters: { - path: { - owner: components["parameters"]["owner"]; - repo: components["parameters"]["repo"]; - username: components["parameters"]["username"]; - }; - }; - responses: { - /** Response */ - 204: never; - }; - }; - /** Checks the repository permission of a collaborator. The possible repository permissions are `admin`, `write`, `read`, and `none`. */ - "repos/get-collaborator-permission-level": { - parameters: { - path: { - owner: components["parameters"]["owner"]; - repo: components["parameters"]["repo"]; - username: components["parameters"]["username"]; - }; - }; - responses: { - /** if user has admin permissions */ - 200: { - content: { - "application/json": components["schemas"]["repository-collaborator-permission"]; - }; - }; - 404: components["responses"]["not_found"]; - }; - }; - /** - * Commit Comments use [these custom media types](https://docs.github.com/rest/reference/repos#custom-media-types). You can read more about the use of media types in the API [here](https://docs.github.com/rest/overview/media-types/). - * - * Comments are ordered by ascending ID. - */ - "repos/list-commit-comments-for-repo": { - parameters: { - path: { - owner: components["parameters"]["owner"]; - repo: components["parameters"]["repo"]; - }; - query: { - /** Results per page (max 100) */ - per_page?: components["parameters"]["per-page"]; - /** Page number of the results to fetch. */ - page?: components["parameters"]["page"]; - }; - }; - responses: { - /** Response */ - 200: { - headers: {}; - content: { - "application/json": components["schemas"]["commit-comment"][]; - }; - }; - }; - }; - "repos/get-commit-comment": { - parameters: { - path: { - owner: components["parameters"]["owner"]; - repo: components["parameters"]["repo"]; - /** comment_id parameter */ - comment_id: components["parameters"]["comment-id"]; - }; - }; - responses: { - /** Response */ - 200: { - content: { - "application/json": components["schemas"]["commit-comment"]; - }; - }; - 404: components["responses"]["not_found"]; - }; - }; - "repos/delete-commit-comment": { - parameters: { - path: { - owner: components["parameters"]["owner"]; - repo: components["parameters"]["repo"]; - /** comment_id parameter */ - comment_id: components["parameters"]["comment-id"]; - }; - }; - responses: { - /** Response */ - 204: never; - 404: components["responses"]["not_found"]; - }; - }; - "repos/update-commit-comment": { - parameters: { - path: { - owner: components["parameters"]["owner"]; - repo: components["parameters"]["repo"]; - /** comment_id parameter */ - comment_id: components["parameters"]["comment-id"]; - }; - }; - responses: { - /** Response */ - 200: { - content: { - "application/json": components["schemas"]["commit-comment"]; - }; - }; - 404: components["responses"]["not_found"]; - }; - requestBody: { - content: { - "application/json": { - /** The contents of the comment */ - body: string; - }; - }; - }; - }; - /** List the reactions to a [commit comment](https://docs.github.com/rest/reference/repos#comments). */ - "reactions/list-for-commit-comment": { - parameters: { - path: { - owner: components["parameters"]["owner"]; - repo: components["parameters"]["repo"]; - /** comment_id parameter */ - comment_id: components["parameters"]["comment-id"]; - }; - query: { - /** Returns a single [reaction type](https://docs.github.com/rest/reference/reactions#reaction-types). Omit this parameter to list all reactions to a commit comment. */ - content?: - | "+1" - | "-1" - | "laugh" - | "confused" - | "heart" - | "hooray" - | "rocket" - | "eyes"; - /** Results per page (max 100) */ - per_page?: components["parameters"]["per-page"]; - /** Page number of the results to fetch. */ - page?: components["parameters"]["page"]; - }; - }; - responses: { - /** Response */ - 200: { - headers: {}; - content: { - "application/json": components["schemas"]["reaction"][]; - }; - }; - 404: components["responses"]["not_found"]; - 415: components["responses"]["preview_header_missing"]; - }; - }; - /** Create a reaction to a [commit comment](https://docs.github.com/rest/reference/repos#comments). A response with an HTTP `200` status means that you already added the reaction type to this commit comment. */ - "reactions/create-for-commit-comment": { - parameters: { - path: { - owner: components["parameters"]["owner"]; - repo: components["parameters"]["repo"]; - /** comment_id parameter */ - comment_id: components["parameters"]["comment-id"]; - }; - }; - responses: { - /** Reaction exists */ - 200: { - content: { - "application/json": components["schemas"]["reaction"]; - }; - }; - /** Reaction created */ - 201: { - content: { - "application/json": components["schemas"]["reaction"]; - }; - }; - 415: components["responses"]["preview_header_missing"]; - 422: components["responses"]["validation_failed"]; - }; - requestBody: { - content: { - "application/json": { - /** The [reaction type](https://docs.github.com/rest/reference/reactions#reaction-types) to add to the commit comment. */ - content: - | "+1" - | "-1" - | "laugh" - | "confused" - | "heart" - | "hooray" - | "rocket" - | "eyes"; - }; - }; - }; - }; - /** - * **Note:** You can also specify a repository by `repository_id` using the route `DELETE /repositories/:repository_id/comments/:comment_id/reactions/:reaction_id`. - * - * Delete a reaction to a [commit comment](https://docs.github.com/rest/reference/repos#comments). - */ - "reactions/delete-for-commit-comment": { - parameters: { - path: { - owner: components["parameters"]["owner"]; - repo: components["parameters"]["repo"]; - /** comment_id parameter */ - comment_id: components["parameters"]["comment-id"]; - reaction_id: components["parameters"]["reaction-id"]; - }; - }; - responses: { - /** Response */ - 204: never; - }; - }; - /** - * **Signature verification object** - * - * The response will include a `verification` object that describes the result of verifying the commit's signature. The following fields are included in the `verification` object: - * - * | Name | Type | Description | - * | ---- | ---- | ----------- | - * | `verified` | `boolean` | Indicates whether GitHub considers the signature in this commit to be verified. | - * | `reason` | `string` | The reason for verified value. Possible values and their meanings are enumerated in table below. | - * | `signature` | `string` | The signature that was extracted from the commit. | - * | `payload` | `string` | The value that was signed. | - * - * These are the possible values for `reason` in the `verification` object: - * - * | Value | Description | - * | ----- | ----------- | - * | `expired_key` | The key that made the signature is expired. | - * | `not_signing_key` | The "signing" flag is not among the usage flags in the GPG key that made the signature. | - * | `gpgverify_error` | There was an error communicating with the signature verification service. | - * | `gpgverify_unavailable` | The signature verification service is currently unavailable. | - * | `unsigned` | The object does not include a signature. | - * | `unknown_signature_type` | A non-PGP signature was found in the commit. | - * | `no_user` | No user was associated with the `committer` email address in the commit. | - * | `unverified_email` | The `committer` email address in the commit was associated with a user, but the email address is not verified on her/his account. | - * | `bad_email` | The `committer` email address in the commit is not included in the identities of the PGP key that made the signature. | - * | `unknown_key` | The key that made the signature has not been registered with any user's account. | - * | `malformed_signature` | There was an error parsing the signature. | - * | `invalid` | The signature could not be cryptographically verified using the key whose key-id was found in the signature. | - * | `valid` | None of the above errors applied, so the signature is considered to be verified. | - */ - "repos/list-commits": { - parameters: { - path: { - owner: components["parameters"]["owner"]; - repo: components["parameters"]["repo"]; - }; - query: { - /** SHA or branch to start listing commits from. Default: the repository’s default branch (usually `master`). */ - sha?: string; - /** Only commits containing this file path will be returned. */ - path?: string; - /** GitHub login or email address by which to filter by commit author. */ - author?: string; - /** Only show notifications updated after the given time. This is a timestamp in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) format: `YYYY-MM-DDTHH:MM:SSZ`. */ - since?: components["parameters"]["since"]; - /** Only commits before this date will be returned. This is a timestamp in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) format: `YYYY-MM-DDTHH:MM:SSZ`. */ - until?: string; - /** Results per page (max 100) */ - per_page?: components["parameters"]["per-page"]; - /** Page number of the results to fetch. */ - page?: components["parameters"]["page"]; - }; - }; - responses: { - /** Response */ - 200: { - headers: {}; - content: { - "application/json": components["schemas"]["commit"][]; - }; - }; - 400: components["responses"]["bad_request"]; - 404: components["responses"]["not_found"]; - 409: components["responses"]["conflict"]; - 500: components["responses"]["internal_error"]; - }; - }; - /** - * Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://help.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation. - * - * Returns all branches where the given commit SHA is the HEAD, or latest commit for the branch. - */ - "repos/list-branches-for-head-commit": { - parameters: { - path: { - owner: components["parameters"]["owner"]; - repo: components["parameters"]["repo"]; - /** commit_sha parameter */ - commit_sha: components["parameters"]["commit-sha"]; - }; - }; - responses: { - /** Response */ - 200: { - content: { - "application/json": components["schemas"]["branch-short"][]; - }; - }; - 415: components["responses"]["preview_header_missing"]; - 422: components["responses"]["validation_failed"]; - }; - }; - /** Use the `:commit_sha` to specify the commit that will have its comments listed. */ - "repos/list-comments-for-commit": { - parameters: { - path: { - owner: components["parameters"]["owner"]; - repo: components["parameters"]["repo"]; - /** commit_sha parameter */ - commit_sha: components["parameters"]["commit-sha"]; - }; - query: { - /** Results per page (max 100) */ - per_page?: components["parameters"]["per-page"]; - /** Page number of the results to fetch. */ - page?: components["parameters"]["page"]; - }; - }; - responses: { - /** Response */ - 200: { - headers: {}; - content: { - "application/json": components["schemas"]["commit-comment"][]; - }; - }; - }; - }; - /** - * Create a comment for a commit using its `:commit_sha`. - * - * This endpoint triggers [notifications](https://docs.github.com/en/github/managing-subscriptions-and-notifications-on-github/about-notifications). Creating content too quickly using this endpoint may result in abuse rate limiting. See "[Abuse rate limits](https://docs.github.com/rest/overview/resources-in-the-rest-api#abuse-rate-limits)" and "[Dealing with abuse rate limits](https://docs.github.com/rest/guides/best-practices-for-integrators#dealing-with-rate-limits)" for details. - */ - "repos/create-commit-comment": { - parameters: { - path: { - owner: components["parameters"]["owner"]; - repo: components["parameters"]["repo"]; - /** commit_sha parameter */ - commit_sha: components["parameters"]["commit-sha"]; - }; - }; - responses: { - /** Response */ - 201: { - headers: { - Location?: string; - }; - content: { - "application/json": components["schemas"]["commit-comment"]; - }; - }; - 403: components["responses"]["forbidden"]; - 422: components["responses"]["validation_failed"]; - }; - requestBody: { - content: { - "application/json": { - /** The contents of the comment. */ - body: string; - /** Relative path of the file to comment on. */ - path?: string; - /** Line index in the diff to comment on. */ - position?: number; - /** **Deprecated**. Use **position** parameter instead. Line number in the file to comment on. */ - line?: number; - }; - }; - }; - }; - /** Lists the merged pull request that introduced the commit to the repository. If the commit is not present in the default branch, additionally returns open pull requests associated with the commit. The results may include open and closed pull requests. Additional preview headers may be required to see certain details for associated pull requests, such as whether a pull request is in a draft state. For more information about previews that might affect this endpoint, see the [List pull requests](https://docs.github.com/rest/reference/pulls#list-pull-requests) endpoint. */ - "repos/list-pull-requests-associated-with-commit": { - parameters: { - path: { - owner: components["parameters"]["owner"]; - repo: components["parameters"]["repo"]; - /** commit_sha parameter */ - commit_sha: components["parameters"]["commit-sha"]; - }; - query: { - /** Results per page (max 100) */ - per_page?: components["parameters"]["per-page"]; - /** Page number of the results to fetch. */ - page?: components["parameters"]["page"]; - }; - }; - responses: { - /** Response */ - 200: { - headers: {}; - content: { - "application/json": components["schemas"]["pull-request-simple"][]; - }; - }; - 415: components["responses"]["preview_header_missing"]; - }; - }; - /** - * Returns the contents of a single commit reference. You must have `read` access for the repository to use this endpoint. - * - * **Note:** If there are more than 300 files in the commit diff, the response will include pagination link headers for the remaining files, up to a limit of 3000 files. Each page contains the static commit information, and the only changes are to the file listing. - * - * You can pass the appropriate [media type](https://docs.github.com/rest/overview/media-types/#commits-commit-comparison-and-pull-requests) to fetch `diff` and `patch` formats. Diffs with binary data will have no `patch` property. - * - * To return only the SHA-1 hash of the commit reference, you can provide the `sha` custom [media type](https://docs.github.com/rest/overview/media-types/#commits-commit-comparison-and-pull-requests) in the `Accept` header. You can use this endpoint to check if a remote reference's SHA-1 hash is the same as your local reference's SHA-1 hash by providing the local SHA-1 reference as the ETag. - * - * **Signature verification object** - * - * The response will include a `verification` object that describes the result of verifying the commit's signature. The following fields are included in the `verification` object: - * - * | Name | Type | Description | - * | ---- | ---- | ----------- | - * | `verified` | `boolean` | Indicates whether GitHub considers the signature in this commit to be verified. | - * | `reason` | `string` | The reason for verified value. Possible values and their meanings are enumerated in table below. | - * | `signature` | `string` | The signature that was extracted from the commit. | - * | `payload` | `string` | The value that was signed. | - * - * These are the possible values for `reason` in the `verification` object: - * - * | Value | Description | - * | ----- | ----------- | - * | `expired_key` | The key that made the signature is expired. | - * | `not_signing_key` | The "signing" flag is not among the usage flags in the GPG key that made the signature. | - * | `gpgverify_error` | There was an error communicating with the signature verification service. | - * | `gpgverify_unavailable` | The signature verification service is currently unavailable. | - * | `unsigned` | The object does not include a signature. | - * | `unknown_signature_type` | A non-PGP signature was found in the commit. | - * | `no_user` | No user was associated with the `committer` email address in the commit. | - * | `unverified_email` | The `committer` email address in the commit was associated with a user, but the email address is not verified on her/his account. | - * | `bad_email` | The `committer` email address in the commit is not included in the identities of the PGP key that made the signature. | - * | `unknown_key` | The key that made the signature has not been registered with any user's account. | - * | `malformed_signature` | There was an error parsing the signature. | - * | `invalid` | The signature could not be cryptographically verified using the key whose key-id was found in the signature. | - * | `valid` | None of the above errors applied, so the signature is considered to be verified. | - */ - "repos/get-commit": { - parameters: { - path: { - owner: components["parameters"]["owner"]; - repo: components["parameters"]["repo"]; - /** ref parameter */ - ref: string; - }; - query: { - /** Page number of the results to fetch. */ - page?: components["parameters"]["page"]; - /** Results per page (max 100) */ - per_page?: components["parameters"]["per-page"]; - }; - }; - responses: { - /** Response */ - 200: { - content: { - "application/json": components["schemas"]["commit"]; - }; - }; - 404: components["responses"]["not_found"]; - 422: components["responses"]["validation_failed"]; - 500: components["responses"]["internal_error"]; - }; - }; - /** - * **Note:** The Checks API only looks for pushes in the repository where the check suite or check run were created. Pushes to a branch in a forked repository are not detected and return an empty `pull_requests` array. - * - * Lists check runs for a commit ref. The `ref` can be a SHA, branch name, or a tag name. GitHub Apps must have the `checks:read` permission on a private repository or pull access to a public repository to get check runs. OAuth Apps and authenticated users must have the `repo` scope to get check runs in a private repository. - */ - "checks/list-for-ref": { - parameters: { - path: { - owner: components["parameters"]["owner"]; - repo: components["parameters"]["repo"]; - /** ref parameter */ - ref: string; - }; - query: { - /** Returns check runs with the specified `name`. */ - check_name?: components["parameters"]["check-name"]; - /** Returns check runs with the specified `status`. Can be one of `queued`, `in_progress`, or `completed`. */ - status?: components["parameters"]["status"]; - /** Filters check runs by their `completed_at` timestamp. Can be one of `latest` (returning the most recent check runs) or `all`. */ - filter?: "latest" | "all"; - /** Results per page (max 100) */ - per_page?: components["parameters"]["per-page"]; - /** Page number of the results to fetch. */ - page?: components["parameters"]["page"]; - app_id?: number; - }; - }; - responses: { - /** Response */ - 200: { - headers: {}; - content: { - "application/json": { - total_count: number; - check_runs: components["schemas"]["check-run"][]; - }; - }; - }; - }; - }; - /** - * **Note:** The Checks API only looks for pushes in the repository where the check suite or check run were created. Pushes to a branch in a forked repository are not detected and return an empty `pull_requests` array and a `null` value for `head_branch`. - * - * Lists check suites for a commit `ref`. The `ref` can be a SHA, branch name, or a tag name. GitHub Apps must have the `checks:read` permission on a private repository or pull access to a public repository to list check suites. OAuth Apps and authenticated users must have the `repo` scope to get check suites in a private repository. - */ - "checks/list-suites-for-ref": { - parameters: { - path: { - owner: components["parameters"]["owner"]; - repo: components["parameters"]["repo"]; - /** ref parameter */ - ref: string; - }; - query: { - /** Filters check suites by GitHub App `id`. */ - app_id?: number; - /** Returns check runs with the specified `name`. */ - check_name?: components["parameters"]["check-name"]; - /** Results per page (max 100) */ - per_page?: components["parameters"]["per-page"]; - /** Page number of the results to fetch. */ - page?: components["parameters"]["page"]; - }; - }; - responses: { - /** Response */ - 200: { - headers: {}; - content: { - "application/json": { - total_count: number; - check_suites: components["schemas"]["check-suite"][]; - }; - }; - }; - }; - }; - /** - * Users with pull access in a repository can access a combined view of commit statuses for a given ref. The ref can be a SHA, a branch name, or a tag name. - * - * The most recent status for each context is returned, up to 100. This field [paginates](https://docs.github.com/rest/overview/resources-in-the-rest-api#pagination) if there are over 100 contexts. - * - * Additionally, a combined `state` is returned. The `state` is one of: - * - * * **failure** if any of the contexts report as `error` or `failure` - * * **pending** if there are no statuses or a context is `pending` - * * **success** if the latest status for all contexts is `success` - */ - "repos/get-combined-status-for-ref": { - parameters: { - path: { - owner: components["parameters"]["owner"]; - repo: components["parameters"]["repo"]; - /** ref parameter */ - ref: string; - }; - query: { - /** Results per page (max 100) */ - per_page?: components["parameters"]["per-page"]; - /** Page number of the results to fetch. */ - page?: components["parameters"]["page"]; - }; - }; - responses: { - /** Response */ - 200: { - content: { - "application/json": components["schemas"]["combined-commit-status"]; - }; - }; - 404: components["responses"]["not_found"]; - }; - }; - /** - * Users with pull access in a repository can view commit statuses for a given ref. The ref can be a SHA, a branch name, or a tag name. Statuses are returned in reverse chronological order. The first status in the list will be the latest one. - * - * This resource is also available via a legacy route: `GET /repos/:owner/:repo/statuses/:ref`. - */ - "repos/list-commit-statuses-for-ref": { - parameters: { - path: { - owner: components["parameters"]["owner"]; - repo: components["parameters"]["repo"]; - /** ref parameter */ - ref: string; - }; - query: { - /** Results per page (max 100) */ - per_page?: components["parameters"]["per-page"]; - /** Page number of the results to fetch. */ - page?: components["parameters"]["page"]; - }; - }; - responses: { - /** Response */ - 200: { - headers: {}; - content: { - "application/json": components["schemas"]["status"][]; - }; - }; - 301: components["responses"]["moved_permanently"]; - }; - }; - /** - * Returns the contents of the repository's code of conduct file, if one is detected. - * - * A code of conduct is detected if there is a file named `CODE_OF_CONDUCT` in the root directory of the repository. GitHub detects which code of conduct it is using fuzzy matching. - */ - "codes-of-conduct/get-for-repo": { - parameters: { - path: { - owner: components["parameters"]["owner"]; - repo: components["parameters"]["repo"]; - }; - }; - responses: { - /** Response */ - 200: { - content: { - "application/json": components["schemas"]["code-of-conduct"]; - }; - }; - }; - }; - /** - * This endpoint will return all community profile metrics, including an - * overall health score, repository description, the presence of documentation, detected - * code of conduct, detected license, and the presence of ISSUE\_TEMPLATE, PULL\_REQUEST\_TEMPLATE, - * README, and CONTRIBUTING files. - * - * The `health_percentage` score is defined as a percentage of how many of - * these four documents are present: README, CONTRIBUTING, LICENSE, and - * CODE_OF_CONDUCT. For example, if all four documents are present, then - * the `health_percentage` is `100`. If only one is present, then the - * `health_percentage` is `25`. - * - * `content_reports_enabled` is only returned for organization-owned repositories. - */ - "repos/get-community-profile-metrics": { - parameters: { - path: { - owner: components["parameters"]["owner"]; - repo: components["parameters"]["repo"]; - }; - }; - responses: { - /** Response */ - 200: { - content: { - "application/json": components["schemas"]["community-profile"]; - }; - }; - }; - }; - /** - * The `basehead` param is comprised of two parts: `base` and `head`. Both must be branch names in `repo`. To compare branches across other repositories in the same network as `repo`, use the format `:branch`. - * - * The response from the API is equivalent to running the `git log base..head` command; however, commits are returned in chronological order. Pass the appropriate [media type](https://docs.github.com/rest/overview/media-types/#commits-commit-comparison-and-pull-requests) to fetch diff and patch formats. - * - * The response also includes details on the files that were changed between the two commits. This includes the status of the change (for example, if a file was added, removed, modified, or renamed), and details of the change itself. For example, files with a `renamed` status have a `previous_filename` field showing the previous filename of the file, and files with a `modified` status have a `patch` field showing the changes made to the file. - * - * **Working with large comparisons** - * - * To process a response with a large number of commits, you can use (`per_page` or `page`) to paginate the results. When using paging, the list of changed files is only returned with page 1, but includes all changed files for the entire comparison. For more information on working with pagination, see "[Traversing with pagination](/rest/guides/traversing-with-pagination)." - * - * When calling this API without any paging parameters (`per_page` or `page`), the returned list is limited to 250 commits and the last commit in the list is the most recent of the entire comparison. When a paging parameter is specified, the first commit in the returned list of each page is the earliest. - * - * **Signature verification object** - * - * The response will include a `verification` object that describes the result of verifying the commit's signature. The following fields are included in the `verification` object: - * - * | Name | Type | Description | - * | ---- | ---- | ----------- | - * | `verified` | `boolean` | Indicates whether GitHub considers the signature in this commit to be verified. | - * | `reason` | `string` | The reason for verified value. Possible values and their meanings are enumerated in table below. | - * | `signature` | `string` | The signature that was extracted from the commit. | - * | `payload` | `string` | The value that was signed. | - * - * These are the possible values for `reason` in the `verification` object: - * - * | Value | Description | - * | ----- | ----------- | - * | `expired_key` | The key that made the signature is expired. | - * | `not_signing_key` | The "signing" flag is not among the usage flags in the GPG key that made the signature. | - * | `gpgverify_error` | There was an error communicating with the signature verification service. | - * | `gpgverify_unavailable` | The signature verification service is currently unavailable. | - * | `unsigned` | The object does not include a signature. | - * | `unknown_signature_type` | A non-PGP signature was found in the commit. | - * | `no_user` | No user was associated with the `committer` email address in the commit. | - * | `unverified_email` | The `committer` email address in the commit was associated with a user, but the email address is not verified on her/his account. | - * | `bad_email` | The `committer` email address in the commit is not included in the identities of the PGP key that made the signature. | - * | `unknown_key` | The key that made the signature has not been registered with any user's account. | - * | `malformed_signature` | There was an error parsing the signature. | - * | `invalid` | The signature could not be cryptographically verified using the key whose key-id was found in the signature. | - * | `valid` | None of the above errors applied, so the signature is considered to be verified. | - */ - "repos/compare-commits-with-basehead": { - parameters: { - path: { - owner: components["parameters"]["owner"]; - repo: components["parameters"]["repo"]; - /** The base branch and head branch to compare. This parameter expects the format `{base}...{head}`. */ - basehead: string; - }; - query: { - /** Page number of the results to fetch. */ - page?: components["parameters"]["page"]; - /** Results per page (max 100) */ - per_page?: components["parameters"]["per-page"]; - }; - }; - responses: { - /** Response */ - 200: { - content: { - "application/json": components["schemas"]["commit-comparison"]; - }; - }; - 404: components["responses"]["not_found"]; - 500: components["responses"]["internal_error"]; - }; - }; - /** - * Creates an attachment under a content reference URL in the body or comment of an issue or pull request. Use the `id` and `repository` `full_name` of the content reference from the [`content_reference` event](https://docs.github.com/webhooks/event-payloads/#content_reference) to create an attachment. - * - * The app must create a content attachment within six hours of the content reference URL being posted. See "[Using content attachments](https://docs.github.com/apps/using-content-attachments/)" for details about content attachments. - * - * You must use an [installation access token](https://docs.github.com/apps/building-github-apps/authenticating-with-github-apps/#authenticating-as-an-installation) to access this endpoint. - */ - "apps/create-content-attachment-for-repo": { - parameters: { - path: { - /** The owner of the repository. Determined from the `repository` `full_name` of the `content_reference` event. */ - owner: string; - /** The name of the repository. Determined from the `repository` `full_name` of the `content_reference` event. */ - repo: string; - /** The `id` of the `content_reference` event. */ - content_reference_id: number; - }; - }; - responses: { - /** Response */ - 200: { - content: { - "application/json": components["schemas"]["content-reference-attachment"]; - }; - }; - 304: components["responses"]["not_modified"]; - 403: components["responses"]["forbidden"]; - 404: components["responses"]["not_found"]; - 410: components["responses"]["gone"]; - 415: components["responses"]["preview_header_missing"]; - 422: components["responses"]["validation_failed"]; - }; - requestBody: { - content: { - "application/json": { - /** The title of the attachment */ - title: string; - /** The body of the attachment */ - body: string; - }; - }; - }; - }; - /** - * Gets the contents of a file or directory in a repository. Specify the file path or directory in `:path`. If you omit - * `:path`, you will receive the contents of the repository's root directory. See the description below regarding what the API response includes for directories. - * - * Files and symlinks support [a custom media type](https://docs.github.com/rest/reference/repos#custom-media-types) for - * retrieving the raw content or rendered HTML (when supported). All content types support [a custom media - * type](https://docs.github.com/rest/reference/repos#custom-media-types) to ensure the content is returned in a consistent - * object format. - * - * **Note**: - * * To get a repository's contents recursively, you can [recursively get the tree](https://docs.github.com/rest/reference/git#trees). - * * This API has an upper limit of 1,000 files for a directory. If you need to retrieve more files, use the [Git Trees - * API](https://docs.github.com/rest/reference/git#get-a-tree). - * * This API supports files up to 1 megabyte in size. - * - * #### If the content is a directory - * The response will be an array of objects, one object for each item in the directory. - * When listing the contents of a directory, submodules have their "type" specified as "file". Logically, the value - * _should_ be "submodule". This behavior exists in API v3 [for backwards compatibility purposes](https://git.io/v1YCW). - * In the next major version of the API, the type will be returned as "submodule". - * - * #### If the content is a symlink - * If the requested `:path` points to a symlink, and the symlink's target is a normal file in the repository, then the - * API responds with the content of the file (in the format shown in the example. Otherwise, the API responds with an object - * describing the symlink itself. - * - * #### If the content is a submodule - * The `submodule_git_url` identifies the location of the submodule repository, and the `sha` identifies a specific - * commit within the submodule repository. Git uses the given URL when cloning the submodule repository, and checks out - * the submodule at that specific commit. - * - * If the submodule repository is not hosted on github.com, the Git URLs (`git_url` and `_links["git"]`) and the - * github.com URLs (`html_url` and `_links["html"]`) will have null values. - */ - "repos/get-content": { - parameters: { - path: { - owner: components["parameters"]["owner"]; - repo: components["parameters"]["repo"]; - /** path parameter */ - path: string; - }; - query: { - /** The name of the commit/branch/tag. Default: the repository’s default branch (usually `master`) */ - ref?: string; - }; - }; - responses: { - /** Response */ - 200: { - content: { - "application/vnd.github.v3.object": components["schemas"]["content-tree"]; - "application/json": - | components["schemas"]["content-directory"] - | components["schemas"]["content-file"] - | components["schemas"]["content-symlink"] - | components["schemas"]["content-submodule"]; - }; - }; - 302: components["responses"]["found"]; - 403: components["responses"]["forbidden"]; - 404: components["responses"]["not_found"]; - }; - }; - /** Creates a new file or replaces an existing file in a repository. */ - "repos/create-or-update-file-contents": { - parameters: { - path: { - owner: components["parameters"]["owner"]; - repo: components["parameters"]["repo"]; - /** path parameter */ - path: string; - }; - }; - responses: { - /** Response */ - 200: { - content: { - "application/json": components["schemas"]["file-commit"]; - }; - }; - /** Response */ - 201: { - content: { - "application/json": components["schemas"]["file-commit"]; - }; - }; - 404: components["responses"]["not_found"]; - 409: components["responses"]["conflict"]; - 422: components["responses"]["validation_failed"]; - }; - requestBody: { - content: { - "application/json": { - /** The commit message. */ - message: string; - /** The new file content, using Base64 encoding. */ - content: string; - /** **Required if you are updating a file**. The blob SHA of the file being replaced. */ - sha?: string; - /** The branch name. Default: the repository’s default branch (usually `master`) */ - branch?: string; - /** The person that committed the file. Default: the authenticated user. */ - committer?: { - /** The name of the author or committer of the commit. You'll receive a `422` status code if `name` is omitted. */ - name: string; - /** The email of the author or committer of the commit. You'll receive a `422` status code if `email` is omitted. */ - email: string; - date?: string; - }; - /** The author of the file. Default: The `committer` or the authenticated user if you omit `committer`. */ - author?: { - /** The name of the author or committer of the commit. You'll receive a `422` status code if `name` is omitted. */ - name: string; - /** The email of the author or committer of the commit. You'll receive a `422` status code if `email` is omitted. */ - email: string; - date?: string; - }; - }; - }; - }; - }; - /** - * Deletes a file in a repository. - * - * You can provide an additional `committer` parameter, which is an object containing information about the committer. Or, you can provide an `author` parameter, which is an object containing information about the author. - * - * The `author` section is optional and is filled in with the `committer` information if omitted. If the `committer` information is omitted, the authenticated user's information is used. - * - * You must provide values for both `name` and `email`, whether you choose to use `author` or `committer`. Otherwise, you'll receive a `422` status code. - */ - "repos/delete-file": { - parameters: { - path: { - owner: components["parameters"]["owner"]; - repo: components["parameters"]["repo"]; - /** path parameter */ - path: string; - }; - }; - responses: { - /** Response */ - 200: { - content: { - "application/json": components["schemas"]["file-commit"]; - }; - }; - 404: components["responses"]["not_found"]; - 409: components["responses"]["conflict"]; - 422: components["responses"]["validation_failed"]; - 503: components["responses"]["service_unavailable"]; - }; - requestBody: { - content: { - "application/json": { - /** The commit message. */ - message: string; - /** The blob SHA of the file being replaced. */ - sha: string; - /** The branch name. Default: the repository’s default branch (usually `master`) */ - branch?: string; - /** object containing information about the committer. */ - committer?: { - /** The name of the author (or committer) of the commit */ - name?: string; - /** The email of the author (or committer) of the commit */ - email?: string; - }; - /** object containing information about the author. */ - author?: { - /** The name of the author (or committer) of the commit */ - name?: string; - /** The email of the author (or committer) of the commit */ - email?: string; - }; - }; - }; - }; - }; - /** - * Lists contributors to the specified repository and sorts them by the number of commits per contributor in descending order. This endpoint may return information that is a few hours old because the GitHub REST API v3 caches contributor data to improve performance. - * - * GitHub identifies contributors by author email address. This endpoint groups contribution counts by GitHub user, which includes all associated email addresses. To improve performance, only the first 500 author email addresses in the repository link to GitHub users. The rest will appear as anonymous contributors without associated GitHub user information. - */ - "repos/list-contributors": { - parameters: { - path: { - owner: components["parameters"]["owner"]; - repo: components["parameters"]["repo"]; - }; - query: { - /** Set to `1` or `true` to include anonymous contributors in results. */ - anon?: string; - /** Results per page (max 100) */ - per_page?: components["parameters"]["per-page"]; - /** Page number of the results to fetch. */ - page?: components["parameters"]["page"]; - }; - }; - responses: { - /** if repository contains content */ - 200: { - headers: {}; - content: { - "application/json": components["schemas"]["contributor"][]; - }; - }; - /** Response if repository is empty */ - 204: never; - 403: components["responses"]["forbidden"]; - 404: components["responses"]["not_found"]; - }; - }; - /** Simple filtering of deployments is available via query parameters: */ - "repos/list-deployments": { - parameters: { - path: { - owner: components["parameters"]["owner"]; - repo: components["parameters"]["repo"]; - }; - query: { - /** The SHA recorded at creation time. */ - sha?: string; - /** The name of the ref. This can be a branch, tag, or SHA. */ - ref?: string; - /** The name of the task for the deployment (e.g., `deploy` or `deploy:migrations`). */ - task?: string; - /** The name of the environment that was deployed to (e.g., `staging` or `production`). */ - environment?: string | null; - /** Results per page (max 100) */ - per_page?: components["parameters"]["per-page"]; - /** Page number of the results to fetch. */ - page?: components["parameters"]["page"]; - }; - }; - responses: { - /** Response */ - 200: { - headers: {}; - content: { - "application/json": components["schemas"]["deployment"][]; - }; - }; - }; - }; - /** - * Deployments offer a few configurable parameters with certain defaults. - * - * The `ref` parameter can be any named branch, tag, or SHA. At GitHub we often deploy branches and verify them - * before we merge a pull request. - * - * The `environment` parameter allows deployments to be issued to different runtime environments. Teams often have - * multiple environments for verifying their applications, such as `production`, `staging`, and `qa`. This parameter - * makes it easier to track which environments have requested deployments. The default environment is `production`. - * - * The `auto_merge` parameter is used to ensure that the requested ref is not behind the repository's default branch. If - * the ref _is_ behind the default branch for the repository, we will attempt to merge it for you. If the merge succeeds, - * the API will return a successful merge commit. If merge conflicts prevent the merge from succeeding, the API will - * return a failure response. - * - * By default, [commit statuses](https://docs.github.com/rest/reference/repos#statuses) for every submitted context must be in a `success` - * state. The `required_contexts` parameter allows you to specify a subset of contexts that must be `success`, or to - * specify contexts that have not yet been submitted. You are not required to use commit statuses to deploy. If you do - * not require any contexts or create any commit statuses, the deployment will always succeed. - * - * The `payload` parameter is available for any extra information that a deployment system might need. It is a JSON text - * field that will be passed on when a deployment event is dispatched. - * - * The `task` parameter is used by the deployment system to allow different execution paths. In the web world this might - * be `deploy:migrations` to run schema changes on the system. In the compiled world this could be a flag to compile an - * application with debugging enabled. - * - * Users with `repo` or `repo_deployment` scopes can create a deployment for a given ref. - * - * #### Merged branch response - * You will see this response when GitHub automatically merges the base branch into the topic branch instead of creating - * a deployment. This auto-merge happens when: - * * Auto-merge option is enabled in the repository - * * Topic branch does not include the latest changes on the base branch, which is `master` in the response example - * * There are no merge conflicts - * - * If there are no new commits in the base branch, a new request to create a deployment should give a successful - * response. - * - * #### Merge conflict response - * This error happens when the `auto_merge` option is enabled and when the default branch (in this case `master`), can't - * be merged into the branch that's being deployed (in this case `topic-branch`), due to merge conflicts. - * - * #### Failed commit status checks - * This error happens when the `required_contexts` parameter indicates that one or more contexts need to have a `success` - * status for the commit to be deployed, but one or more of the required contexts do not have a state of `success`. - */ - "repos/create-deployment": { - parameters: { - path: { - owner: components["parameters"]["owner"]; - repo: components["parameters"]["repo"]; - }; - }; - responses: { - /** Response */ - 201: { - content: { - "application/json": components["schemas"]["deployment"]; - }; - }; - /** Merged branch response */ - 202: { - content: { - "application/json": { - message?: string; - }; - }; - }; - /** Conflict when there is a merge conflict or the commit's status checks failed */ - 409: unknown; - 422: components["responses"]["validation_failed"]; - }; - requestBody: { - content: { - "application/json": { - /** The ref to deploy. This can be a branch, tag, or SHA. */ - ref: string; - /** Specifies a task to execute (e.g., `deploy` or `deploy:migrations`). */ - task?: string; - /** Attempts to automatically merge the default branch into the requested ref, if it's behind the default branch. */ - auto_merge?: boolean; - /** The [status](https://docs.github.com/rest/reference/repos#statuses) contexts to verify against commit status checks. If you omit this parameter, GitHub verifies all unique contexts before creating a deployment. To bypass checking entirely, pass an empty array. Defaults to all unique contexts. */ - required_contexts?: string[]; - payload?: { [key: string]: any } | string; - /** Name for the target deployment environment (e.g., `production`, `staging`, `qa`). */ - environment?: string; - /** Short description of the deployment. */ - description?: string | null; - /** - * Specifies if the given environment is specific to the deployment and will no longer exist at some point in the future. Default: `false` - * **Note:** This parameter requires you to use the [`application/vnd.github.ant-man-preview+json`](https://docs.github.com/rest/overview/api-previews#enhanced-deployments) custom media type. - */ - transient_environment?: boolean; - /** - * Specifies if the given environment is one that end-users directly interact with. Default: `true` when `environment` is `production` and `false` otherwise. - * **Note:** This parameter requires you to use the [`application/vnd.github.ant-man-preview+json`](https://docs.github.com/rest/overview/api-previews#enhanced-deployments) custom media type. - */ - production_environment?: boolean; - }; - }; - }; - }; - "repos/get-deployment": { - parameters: { - path: { - owner: components["parameters"]["owner"]; - repo: components["parameters"]["repo"]; - /** deployment_id parameter */ - deployment_id: components["parameters"]["deployment-id"]; - }; - }; - responses: { - /** Response */ - 200: { - content: { - "application/json": components["schemas"]["deployment"]; - }; - }; - 404: components["responses"]["not_found"]; - }; - }; - /** - * To ensure there can always be an active deployment, you can only delete an _inactive_ deployment. Anyone with `repo` or `repo_deployment` scopes can delete an inactive deployment. - * - * To set a deployment as inactive, you must: - * - * * Create a new deployment that is active so that the system has a record of the current state, then delete the previously active deployment. - * * Mark the active deployment as inactive by adding any non-successful deployment status. - * - * For more information, see "[Create a deployment](https://docs.github.com/rest/reference/repos/#create-a-deployment)" and "[Create a deployment status](https://docs.github.com/rest/reference/repos#create-a-deployment-status)." - */ - "repos/delete-deployment": { - parameters: { - path: { - owner: components["parameters"]["owner"]; - repo: components["parameters"]["repo"]; - /** deployment_id parameter */ - deployment_id: components["parameters"]["deployment-id"]; - }; - }; - responses: { - /** Response */ - 204: never; - 404: components["responses"]["not_found"]; - 422: components["responses"]["validation_failed_simple"]; - }; - }; - /** Users with pull access can view deployment statuses for a deployment: */ - "repos/list-deployment-statuses": { - parameters: { - path: { - owner: components["parameters"]["owner"]; - repo: components["parameters"]["repo"]; - /** deployment_id parameter */ - deployment_id: components["parameters"]["deployment-id"]; - }; - query: { - /** Results per page (max 100) */ - per_page?: components["parameters"]["per-page"]; - /** Page number of the results to fetch. */ - page?: components["parameters"]["page"]; - }; - }; - responses: { - /** Response */ - 200: { - headers: {}; - content: { - "application/json": components["schemas"]["deployment-status"][]; - }; - }; - 404: components["responses"]["not_found"]; - }; - }; - /** - * Users with `push` access can create deployment statuses for a given deployment. - * - * GitHub Apps require `read & write` access to "Deployments" and `read-only` access to "Repo contents" (for private repos). OAuth Apps require the `repo_deployment` scope. - */ - "repos/create-deployment-status": { - parameters: { - path: { - owner: components["parameters"]["owner"]; - repo: components["parameters"]["repo"]; - /** deployment_id parameter */ - deployment_id: components["parameters"]["deployment-id"]; - }; - }; - responses: { - /** Response */ - 201: { - headers: { - Location?: string; - }; - content: { - "application/json": components["schemas"]["deployment-status"]; - }; - }; - 422: components["responses"]["validation_failed"]; - }; - requestBody: { - content: { - "application/json": { - /** The state of the status. Can be one of `error`, `failure`, `inactive`, `in_progress`, `queued` `pending`, or `success`. **Note:** To use the `inactive` state, you must provide the [`application/vnd.github.ant-man-preview+json`](https://docs.github.com/rest/overview/api-previews#enhanced-deployments) custom media type. To use the `in_progress` and `queued` states, you must provide the [`application/vnd.github.flash-preview+json`](https://docs.github.com/rest/overview/api-previews#deployment-statuses) custom media type. When you set a transient deployment to `inactive`, the deployment will be shown as `destroyed` in GitHub. */ - state: - | "error" - | "failure" - | "inactive" - | "in_progress" - | "queued" - | "pending" - | "success"; - /** The target URL to associate with this status. This URL should contain output to keep the user updated while the task is running or serve as historical information for what happened in the deployment. **Note:** It's recommended to use the `log_url` parameter, which replaces `target_url`. */ - target_url?: string; - /** - * The full URL of the deployment's output. This parameter replaces `target_url`. We will continue to accept `target_url` to support legacy uses, but we recommend replacing `target_url` with `log_url`. Setting `log_url` will automatically set `target_url` to the same value. Default: `""` - * **Note:** This parameter requires you to use the [`application/vnd.github.ant-man-preview+json`](https://docs.github.com/rest/overview/api-previews#enhanced-deployments) custom media type. - */ - log_url?: string; - /** A short description of the status. The maximum description length is 140 characters. */ - description?: string; - /** Name for the target deployment environment, which can be changed when setting a deploy status. For example, `production`, `staging`, or `qa`. **Note:** This parameter requires you to use the [`application/vnd.github.flash-preview+json`](https://docs.github.com/rest/overview/api-previews#deployment-statuses) custom media type. */ - environment?: "production" | "staging" | "qa"; - /** - * Sets the URL for accessing your environment. Default: `""` - * **Note:** This parameter requires you to use the [`application/vnd.github.ant-man-preview+json`](https://docs.github.com/rest/overview/api-previews#enhanced-deployments) custom media type. - */ - environment_url?: string; - /** - * Adds a new `inactive` status to all prior non-transient, non-production environment deployments with the same repository and `environment` name as the created status's deployment. An `inactive` status is only added to deployments that had a `success` state. Default: `true` - * **Note:** To add an `inactive` status to `production` environments, you must use the [`application/vnd.github.flash-preview+json`](https://docs.github.com/rest/overview/api-previews#deployment-statuses) custom media type. - * **Note:** This parameter requires you to use the [`application/vnd.github.ant-man-preview+json`](https://docs.github.com/rest/overview/api-previews#enhanced-deployments) custom media type. - */ - auto_inactive?: boolean; - }; - }; - }; - }; - /** Users with pull access can view a deployment status for a deployment: */ - "repos/get-deployment-status": { - parameters: { - path: { - owner: components["parameters"]["owner"]; - repo: components["parameters"]["repo"]; - /** deployment_id parameter */ - deployment_id: components["parameters"]["deployment-id"]; - status_id: number; - }; - }; - responses: { - /** Response */ - 200: { - content: { - "application/json": components["schemas"]["deployment-status"]; - }; - }; - 404: components["responses"]["not_found"]; - 415: components["responses"]["preview_header_missing"]; - }; - }; - /** - * You can use this endpoint to trigger a webhook event called `repository_dispatch` when you want activity that happens outside of GitHub to trigger a GitHub Actions workflow or GitHub App webhook. You must configure your GitHub Actions workflow or GitHub App to run when the `repository_dispatch` event occurs. For an example `repository_dispatch` webhook payload, see "[RepositoryDispatchEvent](https://docs.github.com/webhooks/event-payloads/#repository_dispatch)." - * - * The `client_payload` parameter is available for any extra information that your workflow might need. This parameter is a JSON payload that will be passed on when the webhook event is dispatched. For example, the `client_payload` can include a message that a user would like to send using a GitHub Actions workflow. Or the `client_payload` can be used as a test to debug your workflow. - * - * This endpoint requires write access to the repository by providing either: - * - * - Personal access tokens with `repo` scope. For more information, see "[Creating a personal access token for the command line](https://help.github.com/articles/creating-a-personal-access-token-for-the-command-line)" in the GitHub Help documentation. - * - GitHub Apps with both `metadata:read` and `contents:read&write` permissions. - * - * This input example shows how you can use the `client_payload` as a test to debug your workflow. - */ - "repos/create-dispatch-event": { - parameters: { - path: { - owner: components["parameters"]["owner"]; - repo: components["parameters"]["repo"]; - }; - }; - responses: { - /** Response */ - 204: never; - 422: components["responses"]["validation_failed"]; - }; - requestBody: { - content: { - "application/json": { - /** A custom webhook event name. */ - event_type: string; - /** JSON payload with extra information about the webhook event that your action or worklow may use. */ - client_payload?: { [key: string]: any }; - }; - }; - }; - }; - /** - * Get all environments for a repository. - * - * Anyone with read access to the repository can use this endpoint. If the repository is private, you must use an access token with the `repo` scope. GitHub Apps must have the `actions:read` permission to use this endpoint. - */ - "repos/get-all-environments": { - parameters: { - path: { - owner: components["parameters"]["owner"]; - repo: components["parameters"]["repo"]; - }; - }; - responses: { - /** Response */ - 200: { - content: { - "application/json": { - /** The number of environments in this repository */ - total_count?: number; - environments?: components["schemas"]["environment"][]; - }; - }; - }; - }; - }; - /** Anyone with read access to the repository can use this endpoint. If the repository is private, you must use an access token with the `repo` scope. GitHub Apps must have the `actions:read` permission to use this endpoint. */ - "repos/get-environment": { - parameters: { - path: { - owner: components["parameters"]["owner"]; - repo: components["parameters"]["repo"]; - /** The name of the environment */ - environment_name: components["parameters"]["environment-name"]; - }; - }; - responses: { - /** Response */ - 200: { - content: { - "application/json": components["schemas"]["environment"]; - }; - }; - }; - }; - /** - * Create or update an environment with protection rules, such as required reviewers. For more information about environment protection rules, see "[Environments](/actions/reference/environments#environment-protection-rules)." - * - * **Note:** Although you can use this operation to specify that only branches that match specified name patterns can deploy to this environment, you must use the UI to set the name patterns. For more information, see "[Environments](/actions/reference/environments#deployment-branches)." - * - * **Note:** To create or update secrets for an environment, see "[Secrets](/rest/reference/actions#secrets)." - * - * You must authenticate using an access token with the repo scope to use this endpoint. - */ - "repos/create-or-update-environment": { - parameters: { - path: { - owner: components["parameters"]["owner"]; - repo: components["parameters"]["repo"]; - /** The name of the environment */ - environment_name: components["parameters"]["environment-name"]; - }; - }; - responses: { - /** Response */ - 200: { - content: { - "application/json": components["schemas"]["environment"]; - }; - }; - /** Validation error when the environment name is invalid or when `protected_branches` and `custom_branch_policies` in `deployment_branch_policy` are set to the same value */ - 422: { - content: { - "application/json": components["schemas"]["basic-error"]; - }; - }; - }; - requestBody: { - content: { - "application/json": { - wait_timer?: components["schemas"]["wait-timer"]; - /** The people or teams that may review jobs that reference the environment. You can list up to six users or teams as reviewers. The reviewers must have at least read access to the repository. Only one of the required reviewers needs to approve the job for it to proceed. */ - reviewers?: - | { - type?: components["schemas"]["deployment-reviewer-type"]; - /** The id of the user or team who can review the deployment */ - id?: number; - }[] - | null; - deployment_branch_policy?: components["schemas"]["deployment_branch_policy"]; - } | null; - }; - }; - }; - /** You must authenticate using an access token with the repo scope to use this endpoint. */ - "repos/delete-an-environment": { - parameters: { - path: { - owner: components["parameters"]["owner"]; - repo: components["parameters"]["repo"]; - /** The name of the environment */ - environment_name: components["parameters"]["environment-name"]; - }; - }; - responses: { - /** Default response */ - 204: never; - }; - }; - "activity/list-repo-events": { - parameters: { - path: { - owner: components["parameters"]["owner"]; - repo: components["parameters"]["repo"]; - }; - query: { - /** Results per page (max 100) */ - per_page?: components["parameters"]["per-page"]; - /** Page number of the results to fetch. */ - page?: components["parameters"]["page"]; - }; - }; - responses: { - /** Response */ - 200: { - content: { - "application/json": components["schemas"]["event"][]; - }; - }; - }; - }; - "repos/list-forks": { - parameters: { - path: { - owner: components["parameters"]["owner"]; - repo: components["parameters"]["repo"]; - }; - query: { - /** The sort order. Can be either `newest`, `oldest`, or `stargazers`. */ - sort?: "newest" | "oldest" | "stargazers" | "watchers"; - /** Results per page (max 100) */ - per_page?: components["parameters"]["per-page"]; - /** Page number of the results to fetch. */ - page?: components["parameters"]["page"]; - }; - }; - responses: { - /** Response */ - 200: { - headers: {}; - content: { - "application/json": components["schemas"]["minimal-repository"][]; - }; - }; - 400: components["responses"]["bad_request"]; - }; - }; - /** - * Create a fork for the authenticated user. - * - * **Note**: Forking a Repository happens asynchronously. You may have to wait a short period of time before you can access the git objects. If this takes longer than 5 minutes, be sure to contact [GitHub Support](https://support.github.com/contact) or [GitHub Premium Support](https://premium.githubsupport.com). - */ - "repos/create-fork": { - parameters: { - path: { - owner: components["parameters"]["owner"]; - repo: components["parameters"]["repo"]; - }; - }; - responses: { - /** Response */ - 202: { - content: { - "application/json": components["schemas"]["full-repository"]; - }; - }; - 400: components["responses"]["bad_request"]; - 403: components["responses"]["forbidden"]; - 404: components["responses"]["not_found"]; - 422: components["responses"]["validation_failed"]; - }; - requestBody: { - content: { - "application/json": { - /** Optional parameter to specify the organization name if forking into an organization. */ - organization?: string; - } | null; - }; - }; - }; - "git/create-blob": { - parameters: { - path: { - owner: components["parameters"]["owner"]; - repo: components["parameters"]["repo"]; - }; - }; - responses: { - /** Response */ - 201: { - headers: { - Location?: string; - }; - content: { - "application/json": components["schemas"]["short-blob"]; - }; - }; - 403: components["responses"]["forbidden"]; - 404: components["responses"]["not_found"]; - 409: components["responses"]["conflict"]; - 422: components["responses"]["validation_failed"]; - }; - requestBody: { - content: { - "application/json": { - /** The new blob's content. */ - content: string; - /** The encoding used for `content`. Currently, `"utf-8"` and `"base64"` are supported. */ - encoding?: string; - }; - }; - }; - }; - /** - * The `content` in the response will always be Base64 encoded. - * - * _Note_: This API supports blobs up to 100 megabytes in size. - */ - "git/get-blob": { - parameters: { - path: { - owner: components["parameters"]["owner"]; - repo: components["parameters"]["repo"]; - file_sha: string; - }; - }; - responses: { - /** Response */ - 200: { - content: { - "application/json": components["schemas"]["blob"]; - }; - }; - 403: components["responses"]["forbidden"]; - 404: components["responses"]["not_found"]; - 422: components["responses"]["validation_failed"]; - }; - }; - /** - * Creates a new Git [commit object](https://git-scm.com/book/en/v1/Git-Internals-Git-Objects#Commit-Objects). - * - * **Signature verification object** - * - * The response will include a `verification` object that describes the result of verifying the commit's signature. The following fields are included in the `verification` object: - * - * | Name | Type | Description | - * | ---- | ---- | ----------- | - * | `verified` | `boolean` | Indicates whether GitHub considers the signature in this commit to be verified. | - * | `reason` | `string` | The reason for verified value. Possible values and their meanings are enumerated in table below. | - * | `signature` | `string` | The signature that was extracted from the commit. | - * | `payload` | `string` | The value that was signed. | - * - * These are the possible values for `reason` in the `verification` object: - * - * | Value | Description | - * | ----- | ----------- | - * | `expired_key` | The key that made the signature is expired. | - * | `not_signing_key` | The "signing" flag is not among the usage flags in the GPG key that made the signature. | - * | `gpgverify_error` | There was an error communicating with the signature verification service. | - * | `gpgverify_unavailable` | The signature verification service is currently unavailable. | - * | `unsigned` | The object does not include a signature. | - * | `unknown_signature_type` | A non-PGP signature was found in the commit. | - * | `no_user` | No user was associated with the `committer` email address in the commit. | - * | `unverified_email` | The `committer` email address in the commit was associated with a user, but the email address is not verified on her/his account. | - * | `bad_email` | The `committer` email address in the commit is not included in the identities of the PGP key that made the signature. | - * | `unknown_key` | The key that made the signature has not been registered with any user's account. | - * | `malformed_signature` | There was an error parsing the signature. | - * | `invalid` | The signature could not be cryptographically verified using the key whose key-id was found in the signature. | - * | `valid` | None of the above errors applied, so the signature is considered to be verified. | - */ - "git/create-commit": { - parameters: { - path: { - owner: components["parameters"]["owner"]; - repo: components["parameters"]["repo"]; - }; - }; - responses: { - /** Response */ - 201: { - headers: { - Location?: string; - }; - content: { - "application/json": components["schemas"]["git-commit"]; - }; - }; - 404: components["responses"]["not_found"]; - 422: components["responses"]["validation_failed"]; - }; - requestBody: { - content: { - "application/json": { - /** The commit message */ - message: string; - /** The SHA of the tree object this commit points to */ - tree: string; - /** The SHAs of the commits that were the parents of this commit. If omitted or empty, the commit will be written as a root commit. For a single parent, an array of one SHA should be provided; for a merge commit, an array of more than one should be provided. */ - parents?: string[]; - /** Information about the author of the commit. By default, the `author` will be the authenticated user and the current date. See the `author` and `committer` object below for details. */ - author?: { - /** The name of the author (or committer) of the commit */ - name: string; - /** The email of the author (or committer) of the commit */ - email: string; - /** Indicates when this commit was authored (or committed). This is a timestamp in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) format: `YYYY-MM-DDTHH:MM:SSZ`. */ - date?: string; - }; - /** Information about the person who is making the commit. By default, `committer` will use the information set in `author`. See the `author` and `committer` object below for details. */ - committer?: { - /** The name of the author (or committer) of the commit */ - name?: string; - /** The email of the author (or committer) of the commit */ - email?: string; - /** Indicates when this commit was authored (or committed). This is a timestamp in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) format: `YYYY-MM-DDTHH:MM:SSZ`. */ - date?: string; - }; - /** The [PGP signature](https://en.wikipedia.org/wiki/Pretty_Good_Privacy) of the commit. GitHub adds the signature to the `gpgsig` header of the created commit. For a commit signature to be verifiable by Git or GitHub, it must be an ASCII-armored detached PGP signature over the string commit as it would be written to the object database. To pass a `signature` parameter, you need to first manually create a valid PGP signature, which can be complicated. You may find it easier to [use the command line](https://git-scm.com/book/id/v2/Git-Tools-Signing-Your-Work) to create signed commits. */ - signature?: string; - }; - }; - }; - }; - /** - * Gets a Git [commit object](https://git-scm.com/book/en/v1/Git-Internals-Git-Objects#Commit-Objects). - * - * **Signature verification object** - * - * The response will include a `verification` object that describes the result of verifying the commit's signature. The following fields are included in the `verification` object: - * - * | Name | Type | Description | - * | ---- | ---- | ----------- | - * | `verified` | `boolean` | Indicates whether GitHub considers the signature in this commit to be verified. | - * | `reason` | `string` | The reason for verified value. Possible values and their meanings are enumerated in table below. | - * | `signature` | `string` | The signature that was extracted from the commit. | - * | `payload` | `string` | The value that was signed. | - * - * These are the possible values for `reason` in the `verification` object: - * - * | Value | Description | - * | ----- | ----------- | - * | `expired_key` | The key that made the signature is expired. | - * | `not_signing_key` | The "signing" flag is not among the usage flags in the GPG key that made the signature. | - * | `gpgverify_error` | There was an error communicating with the signature verification service. | - * | `gpgverify_unavailable` | The signature verification service is currently unavailable. | - * | `unsigned` | The object does not include a signature. | - * | `unknown_signature_type` | A non-PGP signature was found in the commit. | - * | `no_user` | No user was associated with the `committer` email address in the commit. | - * | `unverified_email` | The `committer` email address in the commit was associated with a user, but the email address is not verified on her/his account. | - * | `bad_email` | The `committer` email address in the commit is not included in the identities of the PGP key that made the signature. | - * | `unknown_key` | The key that made the signature has not been registered with any user's account. | - * | `malformed_signature` | There was an error parsing the signature. | - * | `invalid` | The signature could not be cryptographically verified using the key whose key-id was found in the signature. | - * | `valid` | None of the above errors applied, so the signature is considered to be verified. | - */ - "git/get-commit": { - parameters: { - path: { - owner: components["parameters"]["owner"]; - repo: components["parameters"]["repo"]; - /** commit_sha parameter */ - commit_sha: components["parameters"]["commit-sha"]; - }; - }; - responses: { - /** Response */ - 200: { - content: { - "application/json": components["schemas"]["git-commit"]; - }; - }; - 404: components["responses"]["not_found"]; - }; - }; - /** - * Returns an array of references from your Git database that match the supplied name. The `:ref` in the URL must be formatted as `heads/` for branches and `tags/` for tags. If the `:ref` doesn't exist in the repository, but existing refs start with `:ref`, they will be returned as an array. - * - * When you use this endpoint without providing a `:ref`, it will return an array of all the references from your Git database, including notes and stashes if they exist on the server. Anything in the namespace is returned, not just `heads` and `tags`. - * - * **Note:** You need to explicitly [request a pull request](https://docs.github.com/rest/reference/pulls#get-a-pull-request) to trigger a test merge commit, which checks the mergeability of pull requests. For more information, see "[Checking mergeability of pull requests](https://docs.github.com/rest/guides/getting-started-with-the-git-database-api#checking-mergeability-of-pull-requests)". - * - * If you request matching references for a branch named `feature` but the branch `feature` doesn't exist, the response can still include other matching head refs that start with the word `feature`, such as `featureA` and `featureB`. - */ - "git/list-matching-refs": { - parameters: { - path: { - owner: components["parameters"]["owner"]; - repo: components["parameters"]["repo"]; - /** ref parameter */ - ref: string; - }; - query: { - /** Results per page (max 100) */ - per_page?: components["parameters"]["per-page"]; - /** Page number of the results to fetch. */ - page?: components["parameters"]["page"]; - }; - }; - responses: { - /** Response */ - 200: { - headers: {}; - content: { - "application/json": components["schemas"]["git-ref"][]; - }; - }; - }; - }; - /** - * Returns a single reference from your Git database. The `:ref` in the URL must be formatted as `heads/` for branches and `tags/` for tags. If the `:ref` doesn't match an existing ref, a `404` is returned. - * - * **Note:** You need to explicitly [request a pull request](https://docs.github.com/rest/reference/pulls#get-a-pull-request) to trigger a test merge commit, which checks the mergeability of pull requests. For more information, see "[Checking mergeability of pull requests](https://docs.github.com/rest/guides/getting-started-with-the-git-database-api#checking-mergeability-of-pull-requests)". - */ - "git/get-ref": { - parameters: { - path: { - owner: components["parameters"]["owner"]; - repo: components["parameters"]["repo"]; - /** ref parameter */ - ref: string; - }; - }; - responses: { - /** Response */ - 200: { - content: { - "application/json": components["schemas"]["git-ref"]; - }; - }; - 404: components["responses"]["not_found"]; - }; - }; - /** Creates a reference for your repository. You are unable to create new references for empty repositories, even if the commit SHA-1 hash used exists. Empty repositories are repositories without branches. */ - "git/create-ref": { - parameters: { - path: { - owner: components["parameters"]["owner"]; - repo: components["parameters"]["repo"]; - }; - }; - responses: { - /** Response */ - 201: { - headers: { - Location?: string; - }; - content: { - "application/json": components["schemas"]["git-ref"]; - }; - }; - 422: components["responses"]["validation_failed"]; - }; - requestBody: { - content: { - "application/json": { - /** The name of the fully qualified reference (ie: `refs/heads/master`). If it doesn't start with 'refs' and have at least two slashes, it will be rejected. */ - ref: string; - /** The SHA1 value for this reference. */ - sha: string; - key?: string; - }; - }; - }; - }; - "git/delete-ref": { - parameters: { - path: { - owner: components["parameters"]["owner"]; - repo: components["parameters"]["repo"]; - /** ref parameter */ - ref: string; - }; - }; - responses: { - /** Response */ - 204: never; - 422: components["responses"]["validation_failed"]; - }; - }; - "git/update-ref": { - parameters: { - path: { - owner: components["parameters"]["owner"]; - repo: components["parameters"]["repo"]; - /** ref parameter */ - ref: string; - }; - }; - responses: { - /** Response */ - 200: { - content: { - "application/json": components["schemas"]["git-ref"]; - }; - }; - 422: components["responses"]["validation_failed"]; - }; - requestBody: { - content: { - "application/json": { - /** The SHA1 value to set this reference to */ - sha: string; - /** Indicates whether to force the update or to make sure the update is a fast-forward update. Leaving this out or setting it to `false` will make sure you're not overwriting work. */ - force?: boolean; - }; - }; - }; - }; - /** - * Note that creating a tag object does not create the reference that makes a tag in Git. If you want to create an annotated tag in Git, you have to do this call to create the tag object, and then [create](https://docs.github.com/rest/reference/git#create-a-reference) the `refs/tags/[tag]` reference. If you want to create a lightweight tag, you only have to [create](https://docs.github.com/rest/reference/git#create-a-reference) the tag reference - this call would be unnecessary. - * - * **Signature verification object** - * - * The response will include a `verification` object that describes the result of verifying the commit's signature. The following fields are included in the `verification` object: - * - * | Name | Type | Description | - * | ---- | ---- | ----------- | - * | `verified` | `boolean` | Indicates whether GitHub considers the signature in this commit to be verified. | - * | `reason` | `string` | The reason for verified value. Possible values and their meanings are enumerated in table below. | - * | `signature` | `string` | The signature that was extracted from the commit. | - * | `payload` | `string` | The value that was signed. | - * - * These are the possible values for `reason` in the `verification` object: - * - * | Value | Description | - * | ----- | ----------- | - * | `expired_key` | The key that made the signature is expired. | - * | `not_signing_key` | The "signing" flag is not among the usage flags in the GPG key that made the signature. | - * | `gpgverify_error` | There was an error communicating with the signature verification service. | - * | `gpgverify_unavailable` | The signature verification service is currently unavailable. | - * | `unsigned` | The object does not include a signature. | - * | `unknown_signature_type` | A non-PGP signature was found in the commit. | - * | `no_user` | No user was associated with the `committer` email address in the commit. | - * | `unverified_email` | The `committer` email address in the commit was associated with a user, but the email address is not verified on her/his account. | - * | `bad_email` | The `committer` email address in the commit is not included in the identities of the PGP key that made the signature. | - * | `unknown_key` | The key that made the signature has not been registered with any user's account. | - * | `malformed_signature` | There was an error parsing the signature. | - * | `invalid` | The signature could not be cryptographically verified using the key whose key-id was found in the signature. | - * | `valid` | None of the above errors applied, so the signature is considered to be verified. | - */ - "git/create-tag": { - parameters: { - path: { - owner: components["parameters"]["owner"]; - repo: components["parameters"]["repo"]; - }; - }; - responses: { - /** Response */ - 201: { - headers: { - Location?: string; - }; - content: { - "application/json": components["schemas"]["git-tag"]; - }; - }; - 422: components["responses"]["validation_failed"]; - }; - requestBody: { - content: { - "application/json": { - /** The tag's name. This is typically a version (e.g., "v0.0.1"). */ - tag: string; - /** The tag message. */ - message: string; - /** The SHA of the git object this is tagging. */ - object: string; - /** The type of the object we're tagging. Normally this is a `commit` but it can also be a `tree` or a `blob`. */ - type: "commit" | "tree" | "blob"; - /** An object with information about the individual creating the tag. */ - tagger?: { - /** The name of the author of the tag */ - name: string; - /** The email of the author of the tag */ - email: string; - /** When this object was tagged. This is a timestamp in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) format: `YYYY-MM-DDTHH:MM:SSZ`. */ - date?: string; - }; - }; - }; - }; - }; - /** - * **Signature verification object** - * - * The response will include a `verification` object that describes the result of verifying the commit's signature. The following fields are included in the `verification` object: - * - * | Name | Type | Description | - * | ---- | ---- | ----------- | - * | `verified` | `boolean` | Indicates whether GitHub considers the signature in this commit to be verified. | - * | `reason` | `string` | The reason for verified value. Possible values and their meanings are enumerated in table below. | - * | `signature` | `string` | The signature that was extracted from the commit. | - * | `payload` | `string` | The value that was signed. | - * - * These are the possible values for `reason` in the `verification` object: - * - * | Value | Description | - * | ----- | ----------- | - * | `expired_key` | The key that made the signature is expired. | - * | `not_signing_key` | The "signing" flag is not among the usage flags in the GPG key that made the signature. | - * | `gpgverify_error` | There was an error communicating with the signature verification service. | - * | `gpgverify_unavailable` | The signature verification service is currently unavailable. | - * | `unsigned` | The object does not include a signature. | - * | `unknown_signature_type` | A non-PGP signature was found in the commit. | - * | `no_user` | No user was associated with the `committer` email address in the commit. | - * | `unverified_email` | The `committer` email address in the commit was associated with a user, but the email address is not verified on her/his account. | - * | `bad_email` | The `committer` email address in the commit is not included in the identities of the PGP key that made the signature. | - * | `unknown_key` | The key that made the signature has not been registered with any user's account. | - * | `malformed_signature` | There was an error parsing the signature. | - * | `invalid` | The signature could not be cryptographically verified using the key whose key-id was found in the signature. | - * | `valid` | None of the above errors applied, so the signature is considered to be verified. | - */ - "git/get-tag": { - parameters: { - path: { - owner: components["parameters"]["owner"]; - repo: components["parameters"]["repo"]; - tag_sha: string; - }; - }; - responses: { - /** Response */ - 200: { - content: { - "application/json": components["schemas"]["git-tag"]; - }; - }; - 404: components["responses"]["not_found"]; - }; - }; - /** - * The tree creation API accepts nested entries. If you specify both a tree and a nested path modifying that tree, this endpoint will overwrite the contents of the tree with the new path contents, and create a new tree structure. - * - * If you use this endpoint to add, delete, or modify the file contents in a tree, you will need to commit the tree and then update a branch to point to the commit. For more information see "[Create a commit](https://docs.github.com/rest/reference/git#create-a-commit)" and "[Update a reference](https://docs.github.com/rest/reference/git#update-a-reference)." - */ - "git/create-tree": { - parameters: { - path: { - owner: components["parameters"]["owner"]; - repo: components["parameters"]["repo"]; - }; - }; - responses: { - /** Response */ - 201: { - headers: { - Location?: string; - }; - content: { - "application/json": components["schemas"]["git-tree"]; - }; - }; - 403: components["responses"]["forbidden"]; - 404: components["responses"]["not_found"]; - 422: components["responses"]["validation_failed"]; - }; - requestBody: { - content: { - "application/json": { - /** Objects (of `path`, `mode`, `type`, and `sha`) specifying a tree structure. */ - tree: { - /** The file referenced in the tree. */ - path?: string; - /** The file mode; one of `100644` for file (blob), `100755` for executable (blob), `040000` for subdirectory (tree), `160000` for submodule (commit), or `120000` for a blob that specifies the path of a symlink. */ - mode?: "100644" | "100755" | "040000" | "160000" | "120000"; - /** Either `blob`, `tree`, or `commit`. */ - type?: "blob" | "tree" | "commit"; - /** - * The SHA1 checksum ID of the object in the tree. Also called `tree.sha`. If the value is `null` then the file will be deleted. - * - * **Note:** Use either `tree.sha` or `content` to specify the contents of the entry. Using both `tree.sha` and `content` will return an error. - */ - sha?: string | null; - /** - * The content you want this file to have. GitHub will write this blob out and use that SHA for this entry. Use either this, or `tree.sha`. - * - * **Note:** Use either `tree.sha` or `content` to specify the contents of the entry. Using both `tree.sha` and `content` will return an error. - */ - content?: string; - }[]; - /** - * The SHA1 of an existing Git tree object which will be used as the base for the new tree. If provided, a new Git tree object will be created from entries in the Git tree object pointed to by `base_tree` and entries defined in the `tree` parameter. Entries defined in the `tree` parameter will overwrite items from `base_tree` with the same `path`. If you're creating new changes on a branch, then normally you'd set `base_tree` to the SHA1 of the Git tree object of the current latest commit on the branch you're working on. - * If not provided, GitHub will create a new Git tree object from only the entries defined in the `tree` parameter. If you create a new commit pointing to such a tree, then all files which were a part of the parent commit's tree and were not defined in the `tree` parameter will be listed as deleted by the new commit. - */ - base_tree?: string; - }; - }; - }; - }; - /** - * Returns a single tree using the SHA1 value for that tree. - * - * If `truncated` is `true` in the response then the number of items in the `tree` array exceeded our maximum limit. If you need to fetch more items, use the non-recursive method of fetching trees, and fetch one sub-tree at a time. - */ - "git/get-tree": { - parameters: { - path: { - owner: components["parameters"]["owner"]; - repo: components["parameters"]["repo"]; - tree_sha: string; - }; - query: { - /** Setting this parameter to any value returns the objects or subtrees referenced by the tree specified in `:tree_sha`. For example, setting `recursive` to any of the following will enable returning objects or subtrees: `0`, `1`, `"true"`, and `"false"`. Omit this parameter to prevent recursively returning objects or subtrees. */ - recursive?: string; - }; - }; - responses: { - /** Response */ - 200: { - content: { - "application/json": components["schemas"]["git-tree"]; - }; - }; - 404: components["responses"]["not_found"]; - 422: components["responses"]["validation_failed"]; - }; - }; - "repos/list-webhooks": { - parameters: { - path: { - owner: components["parameters"]["owner"]; - repo: components["parameters"]["repo"]; - }; - query: { - /** Results per page (max 100) */ - per_page?: components["parameters"]["per-page"]; - /** Page number of the results to fetch. */ - page?: components["parameters"]["page"]; - }; - }; - responses: { - /** Response */ - 200: { - headers: {}; - content: { - "application/json": components["schemas"]["hook"][]; - }; - }; - 404: components["responses"]["not_found"]; - }; - }; - /** - * Repositories can have multiple webhooks installed. Each webhook should have a unique `config`. Multiple webhooks can - * share the same `config` as long as those webhooks do not have any `events` that overlap. - */ - "repos/create-webhook": { - parameters: { - path: { - owner: components["parameters"]["owner"]; - repo: components["parameters"]["repo"]; - }; - }; - responses: { - /** Response */ - 201: { - headers: { - Location?: string; - }; - content: { - "application/json": components["schemas"]["hook"]; - }; - }; - 403: components["responses"]["forbidden"]; - 404: components["responses"]["not_found"]; - 422: components["responses"]["validation_failed"]; - }; - requestBody: { - content: { - "application/json": { - /** Use `web` to create a webhook. Default: `web`. This parameter only accepts the value `web`. */ - name?: string; - /** Key/value pairs to provide settings for this webhook. [These are defined below](https://docs.github.com/rest/reference/repos#create-hook-config-params). */ - config?: { - url?: components["schemas"]["webhook-config-url"]; - content_type?: components["schemas"]["webhook-config-content-type"]; - secret?: components["schemas"]["webhook-config-secret"]; - insecure_ssl?: components["schemas"]["webhook-config-insecure-ssl"]; - token?: string; - digest?: string; - }; - /** Determines what [events](https://docs.github.com/webhooks/event-payloads) the hook is triggered for. */ - events?: string[]; - /** Determines if notifications are sent when the webhook is triggered. Set to `true` to send notifications. */ - active?: boolean; - } | null; - }; - }; - }; - /** Returns a webhook configured in a repository. To get only the webhook `config` properties, see "[Get a webhook configuration for a repository](/rest/reference/repos#get-a-webhook-configuration-for-a-repository)." */ - "repos/get-webhook": { - parameters: { - path: { - owner: components["parameters"]["owner"]; - repo: components["parameters"]["repo"]; - hook_id: components["parameters"]["hook-id"]; - }; - }; - responses: { - /** Response */ - 200: { - content: { - "application/json": components["schemas"]["hook"]; - }; - }; - 404: components["responses"]["not_found"]; - }; - }; - "repos/delete-webhook": { - parameters: { - path: { - owner: components["parameters"]["owner"]; - repo: components["parameters"]["repo"]; - hook_id: components["parameters"]["hook-id"]; - }; - }; - responses: { - /** Response */ - 204: never; - 404: components["responses"]["not_found"]; - }; - }; - /** Updates a webhook configured in a repository. If you previously had a `secret` set, you must provide the same `secret` or set a new `secret` or the secret will be removed. If you are only updating individual webhook `config` properties, use "[Update a webhook configuration for a repository](/rest/reference/repos#update-a-webhook-configuration-for-a-repository)." */ - "repos/update-webhook": { - parameters: { - path: { - owner: components["parameters"]["owner"]; - repo: components["parameters"]["repo"]; - hook_id: components["parameters"]["hook-id"]; - }; - }; - responses: { - /** Response */ - 200: { - content: { - "application/json": components["schemas"]["hook"]; - }; - }; - 404: components["responses"]["not_found"]; - 422: components["responses"]["validation_failed"]; - }; - requestBody: { - content: { - "application/json": { - /** Key/value pairs to provide settings for this webhook. [These are defined below](https://docs.github.com/rest/reference/repos#create-hook-config-params). */ - config?: { - url: components["schemas"]["webhook-config-url"]; - content_type?: components["schemas"]["webhook-config-content-type"]; - secret?: components["schemas"]["webhook-config-secret"]; - insecure_ssl?: components["schemas"]["webhook-config-insecure-ssl"]; - address?: string; - room?: string; - }; - /** Determines what [events](https://docs.github.com/webhooks/event-payloads) the hook is triggered for. This replaces the entire array of events. */ - events?: string[]; - /** Determines a list of events to be added to the list of events that the Hook triggers for. */ - add_events?: string[]; - /** Determines a list of events to be removed from the list of events that the Hook triggers for. */ - remove_events?: string[]; - /** Determines if notifications are sent when the webhook is triggered. Set to `true` to send notifications. */ - active?: boolean; - }; - }; - }; - }; - /** - * Returns the webhook configuration for a repository. To get more information about the webhook, including the `active` state and `events`, use "[Get a repository webhook](/rest/reference/orgs#get-a-repository-webhook)." - * - * Access tokens must have the `read:repo_hook` or `repo` scope, and GitHub Apps must have the `repository_hooks:read` permission. - */ - "repos/get-webhook-config-for-repo": { - parameters: { - path: { - owner: components["parameters"]["owner"]; - repo: components["parameters"]["repo"]; - hook_id: components["parameters"]["hook-id"]; - }; - }; - responses: { - /** Response */ - 200: { - content: { - "application/json": components["schemas"]["webhook-config"]; - }; - }; - }; - }; - /** - * Updates the webhook configuration for a repository. To update more information about the webhook, including the `active` state and `events`, use "[Update a repository webhook](/rest/reference/orgs#update-a-repository-webhook)." - * - * Access tokens must have the `write:repo_hook` or `repo` scope, and GitHub Apps must have the `repository_hooks:write` permission. - */ - "repos/update-webhook-config-for-repo": { - parameters: { - path: { - owner: components["parameters"]["owner"]; - repo: components["parameters"]["repo"]; - hook_id: components["parameters"]["hook-id"]; - }; - }; - responses: { - /** Response */ - 200: { - content: { - "application/json": components["schemas"]["webhook-config"]; - }; - }; - }; - requestBody: { - content: { - "application/json": { - url?: components["schemas"]["webhook-config-url"]; - content_type?: components["schemas"]["webhook-config-content-type"]; - secret?: components["schemas"]["webhook-config-secret"]; - insecure_ssl?: components["schemas"]["webhook-config-insecure-ssl"]; - }; - }; - }; - }; - /** Returns a list of webhook deliveries for a webhook configured in a repository. */ - "repos/list-webhook-deliveries": { - parameters: { - path: { - owner: components["parameters"]["owner"]; - repo: components["parameters"]["repo"]; - hook_id: components["parameters"]["hook-id"]; - }; - query: { - /** Results per page (max 100) */ - per_page?: components["parameters"]["per-page"]; - /** Used for pagination: the starting delivery from which the page of deliveries is fetched. Refer to the `link` header for the next and previous page cursors. */ - cursor?: components["parameters"]["cursor"]; - }; - }; - responses: { - /** Response */ - 200: { - content: { - "application/json": components["schemas"]["hook-delivery-item"][]; - }; - }; - 400: components["responses"]["bad_request"]; - 422: components["responses"]["validation_failed"]; - }; - }; - /** Returns a delivery for a webhook configured in a repository. */ - "repos/get-webhook-delivery": { - parameters: { - path: { - owner: components["parameters"]["owner"]; - repo: components["parameters"]["repo"]; - hook_id: components["parameters"]["hook-id"]; - delivery_id: components["parameters"]["delivery-id"]; - }; - }; - responses: { - /** Response */ - 200: { - content: { - "application/json": components["schemas"]["hook-delivery"]; - }; - }; - 400: components["responses"]["bad_request"]; - 422: components["responses"]["validation_failed"]; - }; - }; - /** Redeliver a webhook delivery for a webhook configured in a repository. */ - "repos/redeliver-webhook-delivery": { - parameters: { - path: { - owner: components["parameters"]["owner"]; - repo: components["parameters"]["repo"]; - hook_id: components["parameters"]["hook-id"]; - delivery_id: components["parameters"]["delivery-id"]; - }; - }; - responses: { - 202: components["responses"]["accepted"]; - 400: components["responses"]["bad_request"]; - 422: components["responses"]["validation_failed"]; - }; - }; - /** This will trigger a [ping event](https://docs.github.com/webhooks/#ping-event) to be sent to the hook. */ - "repos/ping-webhook": { - parameters: { - path: { - owner: components["parameters"]["owner"]; - repo: components["parameters"]["repo"]; - hook_id: components["parameters"]["hook-id"]; - }; - }; - responses: { - /** Response */ - 204: never; - 404: components["responses"]["not_found"]; - }; - }; - /** - * This will trigger the hook with the latest push to the current repository if the hook is subscribed to `push` events. If the hook is not subscribed to `push` events, the server will respond with 204 but no test POST will be generated. - * - * **Note**: Previously `/repos/:owner/:repo/hooks/:hook_id/test` - */ - "repos/test-push-webhook": { - parameters: { - path: { - owner: components["parameters"]["owner"]; - repo: components["parameters"]["repo"]; - hook_id: components["parameters"]["hook-id"]; - }; - }; - responses: { - /** Response */ - 204: never; - 404: components["responses"]["not_found"]; - }; - }; - /** - * View the progress of an import. - * - * **Import status** - * - * This section includes details about the possible values of the `status` field of the Import Progress response. - * - * An import that does not have errors will progress through these steps: - * - * * `detecting` - the "detection" step of the import is in progress because the request did not include a `vcs` parameter. The import is identifying the type of source control present at the URL. - * * `importing` - the "raw" step of the import is in progress. This is where commit data is fetched from the original repository. The import progress response will include `commit_count` (the total number of raw commits that will be imported) and `percent` (0 - 100, the current progress through the import). - * * `mapping` - the "rewrite" step of the import is in progress. This is where SVN branches are converted to Git branches, and where author updates are applied. The import progress response does not include progress information. - * * `pushing` - the "push" step of the import is in progress. This is where the importer updates the repository on GitHub. The import progress response will include `push_percent`, which is the percent value reported by `git push` when it is "Writing objects". - * * `complete` - the import is complete, and the repository is ready on GitHub. - * - * If there are problems, you will see one of these in the `status` field: - * - * * `auth_failed` - the import requires authentication in order to connect to the original repository. To update authentication for the import, please see the [Update an import](https://docs.github.com/rest/reference/migrations#update-an-import) section. - * * `error` - the import encountered an error. The import progress response will include the `failed_step` and an error message. Contact [GitHub Support](https://support.github.com/contact) or [GitHub Premium Support](https://premium.githubsupport.com) for more information. - * * `detection_needs_auth` - the importer requires authentication for the originating repository to continue detection. To update authentication for the import, please see the [Update an import](https://docs.github.com/rest/reference/migrations#update-an-import) section. - * * `detection_found_nothing` - the importer didn't recognize any source control at the URL. To resolve, [Cancel the import](https://docs.github.com/rest/reference/migrations#cancel-an-import) and [retry](https://docs.github.com/rest/reference/migrations#start-an-import) with the correct URL. - * * `detection_found_multiple` - the importer found several projects or repositories at the provided URL. When this is the case, the Import Progress response will also include a `project_choices` field with the possible project choices as values. To update project choice, please see the [Update an import](https://docs.github.com/rest/reference/migrations#update-an-import) section. - * - * **The project_choices field** - * - * When multiple projects are found at the provided URL, the response hash will include a `project_choices` field, the value of which is an array of hashes each representing a project choice. The exact key/value pairs of the project hashes will differ depending on the version control type. - * - * **Git LFS related fields** - * - * This section includes details about Git LFS related fields that may be present in the Import Progress response. - * - * * `use_lfs` - describes whether the import has been opted in or out of using Git LFS. The value can be `opt_in`, `opt_out`, or `undecided` if no action has been taken. - * * `has_large_files` - the boolean value describing whether files larger than 100MB were found during the `importing` step. - * * `large_files_size` - the total size in gigabytes of files larger than 100MB found in the originating repository. - * * `large_files_count` - the total number of files larger than 100MB found in the originating repository. To see a list of these files, make a "Get Large Files" request. - */ - "migrations/get-import-status": { - parameters: { - path: { - owner: components["parameters"]["owner"]; - repo: components["parameters"]["repo"]; - }; - }; - responses: { - /** Response */ - 200: { - content: { - "application/json": components["schemas"]["import"]; - }; - }; - 404: components["responses"]["not_found"]; - }; - }; - /** Start a source import to a GitHub repository using GitHub Importer. */ - "migrations/start-import": { - parameters: { - path: { - owner: components["parameters"]["owner"]; - repo: components["parameters"]["repo"]; - }; - }; - responses: { - /** Response */ - 201: { - headers: { - Location?: string; - }; - content: { - "application/json": components["schemas"]["import"]; - }; - }; - 404: components["responses"]["not_found"]; - 422: components["responses"]["validation_failed"]; - }; - requestBody: { - content: { - "application/json": { - /** The URL of the originating repository. */ - vcs_url: string; - /** The originating VCS type. Can be one of `subversion`, `git`, `mercurial`, or `tfvc`. Please be aware that without this parameter, the import job will take additional time to detect the VCS type before beginning the import. This detection step will be reflected in the response. */ - vcs?: "subversion" | "git" | "mercurial" | "tfvc"; - /** If authentication is required, the username to provide to `vcs_url`. */ - vcs_username?: string; - /** If authentication is required, the password to provide to `vcs_url`. */ - vcs_password?: string; - /** For a tfvc import, the name of the project that is being imported. */ - tfvc_project?: string; - }; - }; - }; - }; - /** Stop an import for a repository. */ - "migrations/cancel-import": { - parameters: { - path: { - owner: components["parameters"]["owner"]; - repo: components["parameters"]["repo"]; - }; - }; - responses: { - /** Response */ - 204: never; - }; - }; - /** - * An import can be updated with credentials or a project choice by passing in the appropriate parameters in this API - * request. If no parameters are provided, the import will be restarted. - */ - "migrations/update-import": { - parameters: { - path: { - owner: components["parameters"]["owner"]; - repo: components["parameters"]["repo"]; - }; - }; - responses: { - /** Response */ - 200: { - content: { - "application/json": components["schemas"]["import"]; - }; - }; - }; - requestBody: { - content: { - "application/json": { - /** The username to provide to the originating repository. */ - vcs_username?: string; - /** The password to provide to the originating repository. */ - vcs_password?: string; - vcs?: string; - tfvc_project?: string; - } | null; - }; - }; - }; - /** - * Each type of source control system represents authors in a different way. For example, a Git commit author has a display name and an email address, but a Subversion commit author just has a username. The GitHub Importer will make the author information valid, but the author might not be correct. For example, it will change the bare Subversion username `hubot` into something like `hubot `. - * - * This endpoint and the [Map a commit author](https://docs.github.com/rest/reference/migrations#map-a-commit-author) endpoint allow you to provide correct Git author information. - */ - "migrations/get-commit-authors": { - parameters: { - path: { - owner: components["parameters"]["owner"]; - repo: components["parameters"]["repo"]; - }; - query: { - /** A user ID. Only return users with an ID greater than this ID. */ - since?: components["parameters"]["since-user"]; - }; - }; - responses: { - /** Response */ - 200: { - content: { - "application/json": components["schemas"]["porter-author"][]; - }; - }; - 404: components["responses"]["not_found"]; - }; - }; - /** Update an author's identity for the import. Your application can continue updating authors any time before you push new commits to the repository. */ - "migrations/map-commit-author": { - parameters: { - path: { - owner: components["parameters"]["owner"]; - repo: components["parameters"]["repo"]; - author_id: number; - }; - }; - responses: { - /** Response */ - 200: { - content: { - "application/json": components["schemas"]["porter-author"]; - }; - }; - 404: components["responses"]["not_found"]; - 422: components["responses"]["validation_failed"]; - }; - requestBody: { - content: { - "application/json": { - /** The new Git author email. */ - email?: string; - /** The new Git author name. */ - name?: string; - }; - }; - }; - }; - /** List files larger than 100MB found during the import */ - "migrations/get-large-files": { - parameters: { - path: { - owner: components["parameters"]["owner"]; - repo: components["parameters"]["repo"]; - }; - }; - responses: { - /** Response */ - 200: { - content: { - "application/json": components["schemas"]["porter-large-file"][]; - }; - }; - }; - }; - /** You can import repositories from Subversion, Mercurial, and TFS that include files larger than 100MB. This ability is powered by [Git LFS](https://git-lfs.github.com). You can learn more about our LFS feature and working with large files [on our help site](https://help.github.com/articles/versioning-large-files/). */ - "migrations/set-lfs-preference": { - parameters: { - path: { - owner: components["parameters"]["owner"]; - repo: components["parameters"]["repo"]; - }; - }; - responses: { - /** Response */ - 200: { - content: { - "application/json": components["schemas"]["import"]; - }; - }; - 422: components["responses"]["validation_failed"]; - }; - requestBody: { - content: { - "application/json": { - /** Can be one of `opt_in` (large files will be stored using Git LFS) or `opt_out` (large files will be removed during the import). */ - use_lfs: "opt_in" | "opt_out"; - }; - }; - }; - }; - /** - * Enables an authenticated GitHub App to find the repository's installation information. The installation's account type will be either an organization or a user account, depending which account the repository belongs to. - * - * You must use a [JWT](https://docs.github.com/apps/building-github-apps/authenticating-with-github-apps/#authenticating-as-a-github-app) to access this endpoint. - */ - "apps/get-repo-installation": { - parameters: { - path: { - owner: components["parameters"]["owner"]; - repo: components["parameters"]["repo"]; - }; - }; - responses: { - /** Response */ - 200: { - content: { - "application/json": components["schemas"]["installation"]; - }; - }; - 301: components["responses"]["moved_permanently"]; - 404: components["responses"]["not_found"]; - }; - }; - /** Shows which type of GitHub user can interact with this repository and when the restriction expires. If there are no restrictions, you will see an empty response. */ - "interactions/get-restrictions-for-repo": { - parameters: { - path: { - owner: components["parameters"]["owner"]; - repo: components["parameters"]["repo"]; - }; - }; - responses: { - /** Response */ - 200: { - content: { - "application/json": Partial< - components["schemas"]["interaction-limit-response"] - > & - Partial<{ [key: string]: unknown }>; - }; - }; - }; - }; - /** Temporarily restricts interactions to a certain type of GitHub user within the given repository. You must have owner or admin access to set these restrictions. If an interaction limit is set for the user or organization that owns this repository, you will receive a `409 Conflict` response and will not be able to use this endpoint to change the interaction limit for a single repository. */ - "interactions/set-restrictions-for-repo": { - parameters: { - path: { - owner: components["parameters"]["owner"]; - repo: components["parameters"]["repo"]; - }; - }; - responses: { - /** Response */ - 200: { - content: { - "application/json": components["schemas"]["interaction-limit-response"]; - }; - }; - /** Response */ - 409: unknown; - }; - requestBody: { - content: { - "application/json": components["schemas"]["interaction-limit"]; - }; - }; - }; - /** Removes all interaction restrictions from the given repository. You must have owner or admin access to remove restrictions. If the interaction limit is set for the user or organization that owns this repository, you will receive a `409 Conflict` response and will not be able to use this endpoint to change the interaction limit for a single repository. */ - "interactions/remove-restrictions-for-repo": { - parameters: { - path: { - owner: components["parameters"]["owner"]; - repo: components["parameters"]["repo"]; - }; - }; - responses: { - /** Response */ - 204: never; - /** Response */ - 409: unknown; - }; - }; - /** When authenticating as a user with admin rights to a repository, this endpoint will list all currently open repository invitations. */ - "repos/list-invitations": { - parameters: { - path: { - owner: components["parameters"]["owner"]; - repo: components["parameters"]["repo"]; - }; - query: { - /** Results per page (max 100) */ - per_page?: components["parameters"]["per-page"]; - /** Page number of the results to fetch. */ - page?: components["parameters"]["page"]; - }; - }; - responses: { - /** Response */ - 200: { - headers: {}; - content: { - "application/json": components["schemas"]["repository-invitation"][]; - }; - }; - }; - }; - "repos/delete-invitation": { - parameters: { - path: { - owner: components["parameters"]["owner"]; - repo: components["parameters"]["repo"]; - /** invitation_id parameter */ - invitation_id: components["parameters"]["invitation-id"]; - }; - }; - responses: { - /** Response */ - 204: never; - }; - }; - "repos/update-invitation": { - parameters: { - path: { - owner: components["parameters"]["owner"]; - repo: components["parameters"]["repo"]; - /** invitation_id parameter */ - invitation_id: components["parameters"]["invitation-id"]; - }; - }; - responses: { - /** Response */ - 200: { - content: { - "application/json": components["schemas"]["repository-invitation"]; - }; - }; - }; - requestBody: { - content: { - "application/json": { - /** The permissions that the associated user will have on the repository. Valid values are `read`, `write`, `maintain`, `triage`, and `admin`. */ - permissions?: "read" | "write" | "maintain" | "triage" | "admin"; - }; - }; - }; - }; - /** - * List issues in a repository. - * - * **Note**: GitHub's REST API v3 considers every pull request an issue, but not every issue is a pull request. For this - * reason, "Issues" endpoints may return both issues and pull requests in the response. You can identify pull requests by - * the `pull_request` key. Be aware that the `id` of a pull request returned from "Issues" endpoints will be an _issue id_. To find out the pull - * request id, use the "[List pull requests](https://docs.github.com/rest/reference/pulls#list-pull-requests)" endpoint. - */ - "issues/list-for-repo": { - parameters: { - path: { - owner: components["parameters"]["owner"]; - repo: components["parameters"]["repo"]; - }; - query: { - /** If an `integer` is passed, it should refer to a milestone by its `number` field. If the string `*` is passed, issues with any milestone are accepted. If the string `none` is passed, issues without milestones are returned. */ - milestone?: string; - /** Indicates the state of the issues to return. Can be either `open`, `closed`, or `all`. */ - state?: "open" | "closed" | "all"; - /** Can be the name of a user. Pass in `none` for issues with no assigned user, and `*` for issues assigned to any user. */ - assignee?: string; - /** The user that created the issue. */ - creator?: string; - /** A user that's mentioned in the issue. */ - mentioned?: string; - /** A list of comma separated label names. Example: `bug,ui,@high` */ - labels?: components["parameters"]["labels"]; - /** What to sort results by. Can be either `created`, `updated`, `comments`. */ - sort?: "created" | "updated" | "comments"; - /** One of `asc` (ascending) or `desc` (descending). */ - direction?: components["parameters"]["direction"]; - /** Only show notifications updated after the given time. This is a timestamp in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) format: `YYYY-MM-DDTHH:MM:SSZ`. */ - since?: components["parameters"]["since"]; - /** Results per page (max 100) */ - per_page?: components["parameters"]["per-page"]; - /** Page number of the results to fetch. */ - page?: components["parameters"]["page"]; - }; - }; - responses: { - /** Response */ - 200: { - headers: {}; - content: { - "application/json": components["schemas"]["issue-simple"][]; - }; - }; - 301: components["responses"]["moved_permanently"]; - 404: components["responses"]["not_found"]; - 422: components["responses"]["validation_failed"]; - }; - }; - /** - * Any user with pull access to a repository can create an issue. If [issues are disabled in the repository](https://help.github.com/articles/disabling-issues/), the API returns a `410 Gone` status. - * - * This endpoint triggers [notifications](https://docs.github.com/en/github/managing-subscriptions-and-notifications-on-github/about-notifications). Creating content too quickly using this endpoint may result in abuse rate limiting. See "[Abuse rate limits](https://docs.github.com/rest/overview/resources-in-the-rest-api#abuse-rate-limits)" and "[Dealing with abuse rate limits](https://docs.github.com/rest/guides/best-practices-for-integrators#dealing-with-abuse-rate-limits)" for details. - */ - "issues/create": { - parameters: { - path: { - owner: components["parameters"]["owner"]; - repo: components["parameters"]["repo"]; - }; - }; - responses: { - /** Response */ - 201: { - headers: { - Location?: string; - }; - content: { - "application/json": components["schemas"]["issue"]; - }; - }; - 403: components["responses"]["forbidden"]; - 404: components["responses"]["not_found"]; - 410: components["responses"]["gone"]; - 422: components["responses"]["validation_failed"]; - 503: components["responses"]["service_unavailable"]; - }; - requestBody: { - content: { - "application/json": { - /** The title of the issue. */ - title: string | number; - /** The contents of the issue. */ - body?: string; - /** Login for the user that this issue should be assigned to. _NOTE: Only users with push access can set the assignee for new issues. The assignee is silently dropped otherwise. **This field is deprecated.**_ */ - assignee?: string | null; - milestone?: (string | number) | null; - /** Labels to associate with this issue. _NOTE: Only users with push access can set labels for new issues. Labels are silently dropped otherwise._ */ - labels?: ( - | string - | { - id?: number; - name?: string; - description?: string | null; - color?: string | null; - } - )[]; - /** Logins for Users to assign to this issue. _NOTE: Only users with push access can set assignees for new issues. Assignees are silently dropped otherwise._ */ - assignees?: string[]; - }; - }; - }; - }; - /** By default, Issue Comments are ordered by ascending ID. */ - "issues/list-comments-for-repo": { - parameters: { - path: { - owner: components["parameters"]["owner"]; - repo: components["parameters"]["repo"]; - }; - query: { - /** One of `created` (when the repository was starred) or `updated` (when it was last pushed to). */ - sort?: components["parameters"]["sort"]; - /** Either `asc` or `desc`. Ignored without the `sort` parameter. */ - direction?: "asc" | "desc"; - /** Only show notifications updated after the given time. This is a timestamp in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) format: `YYYY-MM-DDTHH:MM:SSZ`. */ - since?: components["parameters"]["since"]; - /** Results per page (max 100) */ - per_page?: components["parameters"]["per-page"]; - /** Page number of the results to fetch. */ - page?: components["parameters"]["page"]; - }; - }; - responses: { - /** Response */ - 200: { - headers: {}; - content: { - "application/json": components["schemas"]["issue-comment"][]; - }; - }; - 404: components["responses"]["not_found"]; - 422: components["responses"]["validation_failed"]; - }; - }; - "issues/get-comment": { - parameters: { - path: { - owner: components["parameters"]["owner"]; - repo: components["parameters"]["repo"]; - /** comment_id parameter */ - comment_id: components["parameters"]["comment-id"]; - }; - }; - responses: { - /** Response */ - 200: { - content: { - "application/json": components["schemas"]["issue-comment"]; - }; - }; - 404: components["responses"]["not_found"]; - }; - }; - "issues/delete-comment": { - parameters: { - path: { - owner: components["parameters"]["owner"]; - repo: components["parameters"]["repo"]; - /** comment_id parameter */ - comment_id: components["parameters"]["comment-id"]; - }; - }; - responses: { - /** Response */ - 204: never; - }; - }; - "issues/update-comment": { - parameters: { - path: { - owner: components["parameters"]["owner"]; - repo: components["parameters"]["repo"]; - /** comment_id parameter */ - comment_id: components["parameters"]["comment-id"]; - }; - }; - responses: { - /** Response */ - 200: { - content: { - "application/json": components["schemas"]["issue-comment"]; - }; - }; - 422: components["responses"]["validation_failed"]; - }; - requestBody: { - content: { - "application/json": { - /** The contents of the comment. */ - body: string; - }; - }; - }; - }; - /** List the reactions to an [issue comment](https://docs.github.com/rest/reference/issues#comments). */ - "reactions/list-for-issue-comment": { - parameters: { - path: { - owner: components["parameters"]["owner"]; - repo: components["parameters"]["repo"]; - /** comment_id parameter */ - comment_id: components["parameters"]["comment-id"]; - }; - query: { - /** Returns a single [reaction type](https://docs.github.com/rest/reference/reactions#reaction-types). Omit this parameter to list all reactions to an issue comment. */ - content?: - | "+1" - | "-1" - | "laugh" - | "confused" - | "heart" - | "hooray" - | "rocket" - | "eyes"; - /** Results per page (max 100) */ - per_page?: components["parameters"]["per-page"]; - /** Page number of the results to fetch. */ - page?: components["parameters"]["page"]; - }; - }; - responses: { - /** Response */ - 200: { - headers: {}; - content: { - "application/json": components["schemas"]["reaction"][]; - }; - }; - 404: components["responses"]["not_found"]; - 415: components["responses"]["preview_header_missing"]; - }; - }; - /** Create a reaction to an [issue comment](https://docs.github.com/rest/reference/issues#comments). A response with an HTTP `200` status means that you already added the reaction type to this issue comment. */ - "reactions/create-for-issue-comment": { - parameters: { - path: { - owner: components["parameters"]["owner"]; - repo: components["parameters"]["repo"]; - /** comment_id parameter */ - comment_id: components["parameters"]["comment-id"]; - }; - }; - responses: { - /** Reaction exists */ - 200: { - content: { - "application/json": components["schemas"]["reaction"]; - }; - }; - /** Reaction created */ - 201: { - content: { - "application/json": components["schemas"]["reaction"]; - }; - }; - 415: components["responses"]["preview_header_missing"]; - 422: components["responses"]["validation_failed"]; - }; - requestBody: { - content: { - "application/json": { - /** The [reaction type](https://docs.github.com/rest/reference/reactions#reaction-types) to add to the issue comment. */ - content: - | "+1" - | "-1" - | "laugh" - | "confused" - | "heart" - | "hooray" - | "rocket" - | "eyes"; - }; - }; - }; - }; - /** - * **Note:** You can also specify a repository by `repository_id` using the route `DELETE delete /repositories/:repository_id/issues/comments/:comment_id/reactions/:reaction_id`. - * - * Delete a reaction to an [issue comment](https://docs.github.com/rest/reference/issues#comments). - */ - "reactions/delete-for-issue-comment": { - parameters: { - path: { - owner: components["parameters"]["owner"]; - repo: components["parameters"]["repo"]; - /** comment_id parameter */ - comment_id: components["parameters"]["comment-id"]; - reaction_id: components["parameters"]["reaction-id"]; - }; - }; - responses: { - /** Response */ - 204: never; - }; - }; - "issues/list-events-for-repo": { - parameters: { - path: { - owner: components["parameters"]["owner"]; - repo: components["parameters"]["repo"]; - }; - query: { - /** Results per page (max 100) */ - per_page?: components["parameters"]["per-page"]; - /** Page number of the results to fetch. */ - page?: components["parameters"]["page"]; - }; - }; - responses: { - /** Response */ - 200: { - headers: {}; - content: { - "application/json": components["schemas"]["issue-event"][]; - }; - }; - 422: components["responses"]["validation_failed"]; - }; - }; - "issues/get-event": { - parameters: { - path: { - owner: components["parameters"]["owner"]; - repo: components["parameters"]["repo"]; - event_id: number; - }; - }; - responses: { - /** Response */ - 200: { - content: { - "application/json": components["schemas"]["issue-event"]; - }; - }; - 403: components["responses"]["forbidden"]; - 404: components["responses"]["not_found"]; - 410: components["responses"]["gone"]; - }; - }; - /** - * The API returns a [`301 Moved Permanently` status](https://docs.github.com/rest/overview/resources-in-the-rest-api#http-redirects-redirects) if the issue was - * [transferred](https://help.github.com/articles/transferring-an-issue-to-another-repository/) to another repository. If - * the issue was transferred to or deleted from a repository where the authenticated user lacks read access, the API - * returns a `404 Not Found` status. If the issue was deleted from a repository where the authenticated user has read - * access, the API returns a `410 Gone` status. To receive webhook events for transferred and deleted issues, subscribe - * to the [`issues`](https://docs.github.com/webhooks/event-payloads/#issues) webhook. - * - * **Note**: GitHub's REST API v3 considers every pull request an issue, but not every issue is a pull request. For this - * reason, "Issues" endpoints may return both issues and pull requests in the response. You can identify pull requests by - * the `pull_request` key. Be aware that the `id` of a pull request returned from "Issues" endpoints will be an _issue id_. To find out the pull - * request id, use the "[List pull requests](https://docs.github.com/rest/reference/pulls#list-pull-requests)" endpoint. - */ - "issues/get": { - parameters: { - path: { - owner: components["parameters"]["owner"]; - repo: components["parameters"]["repo"]; - /** issue_number parameter */ - issue_number: components["parameters"]["issue-number"]; - }; - }; - responses: { - /** Response */ - 200: { - content: { - "application/json": components["schemas"]["issue"]; - }; - }; - 301: components["responses"]["moved_permanently"]; - 304: components["responses"]["not_modified"]; - 404: components["responses"]["not_found"]; - 410: components["responses"]["gone"]; - }; - }; - /** Issue owners and users with push access can edit an issue. */ - "issues/update": { - parameters: { - path: { - owner: components["parameters"]["owner"]; - repo: components["parameters"]["repo"]; - /** issue_number parameter */ - issue_number: components["parameters"]["issue-number"]; - }; - }; - responses: { - /** Response */ - 200: { - content: { - "application/json": components["schemas"]["issue"]; - }; - }; - 301: components["responses"]["moved_permanently"]; - 403: components["responses"]["forbidden"]; - 404: components["responses"]["not_found"]; - 410: components["responses"]["gone"]; - 422: components["responses"]["validation_failed"]; - 503: components["responses"]["service_unavailable"]; - }; - requestBody: { - content: { - "application/json": { - /** The title of the issue. */ - title?: (string | number) | null; - /** The contents of the issue. */ - body?: string | null; - /** Login for the user that this issue should be assigned to. **This field is deprecated.** */ - assignee?: string | null; - /** State of the issue. Either `open` or `closed`. */ - state?: "open" | "closed"; - milestone?: (string | number) | null; - /** Labels to associate with this issue. Pass one or more Labels to _replace_ the set of Labels on this Issue. Send an empty array (`[]`) to clear all Labels from the Issue. _NOTE: Only users with push access can set labels for issues. Labels are silently dropped otherwise._ */ - labels?: ( - | string - | { - id?: number; - name?: string; - description?: string | null; - color?: string | null; - } - )[]; - /** Logins for Users to assign to this issue. Pass one or more user logins to _replace_ the set of assignees on this Issue. Send an empty array (`[]`) to clear all assignees from the Issue. _NOTE: Only users with push access can set assignees for new issues. Assignees are silently dropped otherwise._ */ - assignees?: string[]; - }; - }; - }; - }; - /** Adds up to 10 assignees to an issue. Users already assigned to an issue are not replaced. */ - "issues/add-assignees": { - parameters: { - path: { - owner: components["parameters"]["owner"]; - repo: components["parameters"]["repo"]; - /** issue_number parameter */ - issue_number: components["parameters"]["issue-number"]; - }; - }; - responses: { - /** Response */ - 201: { - content: { - "application/json": components["schemas"]["issue-simple"]; - }; - }; - }; - requestBody: { - content: { - "application/json": { - /** Usernames of people to assign this issue to. _NOTE: Only users with push access can add assignees to an issue. Assignees are silently ignored otherwise._ */ - assignees?: string[]; - }; - }; - }; - }; - /** Removes one or more assignees from an issue. */ - "issues/remove-assignees": { - parameters: { - path: { - owner: components["parameters"]["owner"]; - repo: components["parameters"]["repo"]; - /** issue_number parameter */ - issue_number: components["parameters"]["issue-number"]; - }; - }; - responses: { - /** Response */ - 200: { - content: { - "application/json": components["schemas"]["issue-simple"]; - }; - }; - }; - requestBody: { - content: { - "application/json": { - /** Usernames of assignees to remove from an issue. _NOTE: Only users with push access can remove assignees from an issue. Assignees are silently ignored otherwise._ */ - assignees?: string[]; - }; - }; - }; - }; - /** Issue Comments are ordered by ascending ID. */ - "issues/list-comments": { - parameters: { - path: { - owner: components["parameters"]["owner"]; - repo: components["parameters"]["repo"]; - /** issue_number parameter */ - issue_number: components["parameters"]["issue-number"]; - }; - query: { - /** Only show notifications updated after the given time. This is a timestamp in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) format: `YYYY-MM-DDTHH:MM:SSZ`. */ - since?: components["parameters"]["since"]; - /** Results per page (max 100) */ - per_page?: components["parameters"]["per-page"]; - /** Page number of the results to fetch. */ - page?: components["parameters"]["page"]; - }; - }; - responses: { - /** Response */ - 200: { - headers: {}; - content: { - "application/json": components["schemas"]["issue-comment"][]; - }; - }; - 404: components["responses"]["not_found"]; - 410: components["responses"]["gone"]; - }; - }; - /** This endpoint triggers [notifications](https://docs.github.com/en/github/managing-subscriptions-and-notifications-on-github/about-notifications). Creating content too quickly using this endpoint may result in abuse rate limiting. See "[Abuse rate limits](https://docs.github.com/rest/overview/resources-in-the-rest-api#abuse-rate-limits)" and "[Dealing with abuse rate limits](https://docs.github.com/rest/guides/best-practices-for-integrators#dealing-with-abuse-rate-limits)" for details. */ - "issues/create-comment": { - parameters: { - path: { - owner: components["parameters"]["owner"]; - repo: components["parameters"]["repo"]; - /** issue_number parameter */ - issue_number: components["parameters"]["issue-number"]; - }; - }; - responses: { - /** Response */ - 201: { - headers: { - Location?: string; - }; - content: { - "application/json": components["schemas"]["issue-comment"]; - }; - }; - 403: components["responses"]["forbidden"]; - 404: components["responses"]["not_found"]; - 410: components["responses"]["gone"]; - 422: components["responses"]["validation_failed"]; - }; - requestBody: { - content: { - "application/json": { - /** The contents of the comment. */ - body: string; - }; - }; - }; - }; - "issues/list-events": { - parameters: { - path: { - owner: components["parameters"]["owner"]; - repo: components["parameters"]["repo"]; - /** issue_number parameter */ - issue_number: components["parameters"]["issue-number"]; - }; - query: { - /** Results per page (max 100) */ - per_page?: components["parameters"]["per-page"]; - /** Page number of the results to fetch. */ - page?: components["parameters"]["page"]; - }; - }; - responses: { - /** Response */ - 200: { - headers: {}; - content: { - "application/json": components["schemas"]["issue-event-for-issue"][]; - }; - }; - 410: components["responses"]["gone"]; - }; - }; - "issues/list-labels-on-issue": { - parameters: { - path: { - owner: components["parameters"]["owner"]; - repo: components["parameters"]["repo"]; - /** issue_number parameter */ - issue_number: components["parameters"]["issue-number"]; - }; - query: { - /** Results per page (max 100) */ - per_page?: components["parameters"]["per-page"]; - /** Page number of the results to fetch. */ - page?: components["parameters"]["page"]; - }; - }; - responses: { - /** Response */ - 200: { - headers: {}; - content: { - "application/json": components["schemas"]["label"][]; - }; - }; - 410: components["responses"]["gone"]; - }; - }; - /** Removes any previous labels and sets the new labels for an issue. */ - "issues/set-labels": { - parameters: { - path: { - owner: components["parameters"]["owner"]; - repo: components["parameters"]["repo"]; - /** issue_number parameter */ - issue_number: components["parameters"]["issue-number"]; - }; - }; - responses: { - /** Response */ - 200: { - content: { - "application/json": components["schemas"]["label"][]; - }; - }; - 410: components["responses"]["gone"]; - 422: components["responses"]["validation_failed"]; - }; - requestBody: { - content: { - "application/json": Partial<{ - /** The names of the labels to add to the issue. You can pass an empty array to remove all labels. **Note:** Alternatively, you can pass a single label as a `string` or an `array` of labels directly, but GitHub recommends passing an object with the `labels` key. */ - labels?: string[]; - }> & - Partial<{ - labels?: { - name: string; - }[]; - }>; - }; - }; - }; - "issues/add-labels": { - parameters: { - path: { - owner: components["parameters"]["owner"]; - repo: components["parameters"]["repo"]; - /** issue_number parameter */ - issue_number: components["parameters"]["issue-number"]; - }; - }; - responses: { - /** Response */ - 200: { - content: { - "application/json": components["schemas"]["label"][]; - }; - }; - 410: components["responses"]["gone"]; - 422: components["responses"]["validation_failed"]; - }; - requestBody: { - content: { - "application/json": - | { - /** The names of the labels to add to the issue. You can pass an empty array to remove all labels. **Note:** Alternatively, you can pass a single label as a `string` or an `array` of labels directly, but GitHub recommends passing an object with the `labels` key. */ - labels?: string[]; - } - | { - labels?: { - name: string; - }[]; - }; - }; - }; - }; - "issues/remove-all-labels": { - parameters: { - path: { - owner: components["parameters"]["owner"]; - repo: components["parameters"]["repo"]; - /** issue_number parameter */ - issue_number: components["parameters"]["issue-number"]; - }; - }; - responses: { - /** Response */ - 204: never; - 410: components["responses"]["gone"]; - }; - }; - /** Removes the specified label from the issue, and returns the remaining labels on the issue. This endpoint returns a `404 Not Found` status if the label does not exist. */ - "issues/remove-label": { - parameters: { - path: { - owner: components["parameters"]["owner"]; - repo: components["parameters"]["repo"]; - /** issue_number parameter */ - issue_number: components["parameters"]["issue-number"]; - name: string; - }; - }; - responses: { - /** Response */ - 200: { - content: { - "application/json": components["schemas"]["label"][]; - }; - }; - 404: components["responses"]["not_found"]; - 410: components["responses"]["gone"]; - }; - }; - /** - * Users with push access can lock an issue or pull request's conversation. - * - * Note that, if you choose not to pass any parameters, you'll need to set `Content-Length` to zero when calling out to this endpoint. For more information, see "[HTTP verbs](https://docs.github.com/rest/overview/resources-in-the-rest-api#http-verbs)." - */ - "issues/lock": { - parameters: { - path: { - owner: components["parameters"]["owner"]; - repo: components["parameters"]["repo"]; - /** issue_number parameter */ - issue_number: components["parameters"]["issue-number"]; - }; - }; - responses: { - /** Response */ - 204: never; - 403: components["responses"]["forbidden"]; - 404: components["responses"]["not_found"]; - 410: components["responses"]["gone"]; - 422: components["responses"]["validation_failed"]; - }; - requestBody: { - content: { - "application/json": { - /** - * The reason for locking the issue or pull request conversation. Lock will fail if you don't use one of these reasons: - * \* `off-topic` - * \* `too heated` - * \* `resolved` - * \* `spam` - */ - lock_reason?: "off-topic" | "too heated" | "resolved" | "spam"; - } | null; - }; - }; - }; - /** Users with push access can unlock an issue's conversation. */ - "issues/unlock": { - parameters: { - path: { - owner: components["parameters"]["owner"]; - repo: components["parameters"]["repo"]; - /** issue_number parameter */ - issue_number: components["parameters"]["issue-number"]; - }; - }; - responses: { - /** Response */ - 204: never; - 403: components["responses"]["forbidden"]; - 404: components["responses"]["not_found"]; - }; - }; - /** List the reactions to an [issue](https://docs.github.com/rest/reference/issues). */ - "reactions/list-for-issue": { - parameters: { - path: { - owner: components["parameters"]["owner"]; - repo: components["parameters"]["repo"]; - /** issue_number parameter */ - issue_number: components["parameters"]["issue-number"]; - }; - query: { - /** Returns a single [reaction type](https://docs.github.com/rest/reference/reactions#reaction-types). Omit this parameter to list all reactions to an issue. */ - content?: - | "+1" - | "-1" - | "laugh" - | "confused" - | "heart" - | "hooray" - | "rocket" - | "eyes"; - /** Results per page (max 100) */ - per_page?: components["parameters"]["per-page"]; - /** Page number of the results to fetch. */ - page?: components["parameters"]["page"]; - }; - }; - responses: { - /** Response */ - 200: { - headers: {}; - content: { - "application/json": components["schemas"]["reaction"][]; - }; - }; - 404: components["responses"]["not_found"]; - 410: components["responses"]["gone"]; - 415: components["responses"]["preview_header_missing"]; - }; - }; - /** Create a reaction to an [issue](https://docs.github.com/rest/reference/issues/). A response with an HTTP `200` status means that you already added the reaction type to this issue. */ - "reactions/create-for-issue": { - parameters: { - path: { - owner: components["parameters"]["owner"]; - repo: components["parameters"]["repo"]; - /** issue_number parameter */ - issue_number: components["parameters"]["issue-number"]; - }; - }; - responses: { - /** Response */ - 200: { - content: { - "application/json": components["schemas"]["reaction"]; - }; - }; - /** Response */ - 201: { - content: { - "application/json": components["schemas"]["reaction"]; - }; - }; - 415: components["responses"]["preview_header_missing"]; - 422: components["responses"]["validation_failed"]; - }; - requestBody: { - content: { - "application/json": { - /** The [reaction type](https://docs.github.com/rest/reference/reactions#reaction-types) to add to the issue. */ - content: - | "+1" - | "-1" - | "laugh" - | "confused" - | "heart" - | "hooray" - | "rocket" - | "eyes"; - }; - }; - }; - }; - /** - * **Note:** You can also specify a repository by `repository_id` using the route `DELETE /repositories/:repository_id/issues/:issue_number/reactions/:reaction_id`. - * - * Delete a reaction to an [issue](https://docs.github.com/rest/reference/issues/). - */ - "reactions/delete-for-issue": { - parameters: { - path: { - owner: components["parameters"]["owner"]; - repo: components["parameters"]["repo"]; - /** issue_number parameter */ - issue_number: components["parameters"]["issue-number"]; - reaction_id: components["parameters"]["reaction-id"]; - }; - }; - responses: { - /** Response */ - 204: never; - }; - }; - "issues/list-events-for-timeline": { - parameters: { - path: { - owner: components["parameters"]["owner"]; - repo: components["parameters"]["repo"]; - /** issue_number parameter */ - issue_number: components["parameters"]["issue-number"]; - }; - query: { - /** Results per page (max 100) */ - per_page?: components["parameters"]["per-page"]; - /** Page number of the results to fetch. */ - page?: components["parameters"]["page"]; - }; - }; - responses: { - /** Response */ - 200: { - headers: {}; - content: { - "application/json": components["schemas"]["timeline-issue-events"][]; - }; - }; - 404: components["responses"]["not_found"]; - 410: components["responses"]["gone"]; - 415: components["responses"]["preview_header_missing"]; - }; - }; - "repos/list-deploy-keys": { - parameters: { - path: { - owner: components["parameters"]["owner"]; - repo: components["parameters"]["repo"]; - }; - query: { - /** Results per page (max 100) */ - per_page?: components["parameters"]["per-page"]; - /** Page number of the results to fetch. */ - page?: components["parameters"]["page"]; - }; - }; - responses: { - /** Response */ - 200: { - headers: {}; - content: { - "application/json": components["schemas"]["deploy-key"][]; - }; - }; - }; - }; - /** You can create a read-only deploy key. */ - "repos/create-deploy-key": { - parameters: { - path: { - owner: components["parameters"]["owner"]; - repo: components["parameters"]["repo"]; - }; - }; - responses: { - /** Response */ - 201: { - headers: { - Location?: string; - }; - content: { - "application/json": components["schemas"]["deploy-key"]; - }; - }; - 422: components["responses"]["validation_failed"]; - }; - requestBody: { - content: { - "application/json": { - /** A name for the key. */ - title?: string; - /** The contents of the key. */ - key: string; - /** - * If `true`, the key will only be able to read repository contents. Otherwise, the key will be able to read and write. - * - * Deploy keys with write access can perform the same actions as an organization member with admin access, or a collaborator on a personal repository. For more information, see "[Repository permission levels for an organization](https://help.github.com/articles/repository-permission-levels-for-an-organization/)" and "[Permission levels for a user account repository](https://help.github.com/articles/permission-levels-for-a-user-account-repository/)." - */ - read_only?: boolean; - }; - }; - }; - }; - "repos/get-deploy-key": { - parameters: { - path: { - owner: components["parameters"]["owner"]; - repo: components["parameters"]["repo"]; - /** key_id parameter */ - key_id: components["parameters"]["key-id"]; - }; - }; - responses: { - /** Response */ - 200: { - content: { - "application/json": components["schemas"]["deploy-key"]; - }; - }; - 404: components["responses"]["not_found"]; - }; - }; - /** Deploy keys are immutable. If you need to update a key, remove the key and create a new one instead. */ - "repos/delete-deploy-key": { - parameters: { - path: { - owner: components["parameters"]["owner"]; - repo: components["parameters"]["repo"]; - /** key_id parameter */ - key_id: components["parameters"]["key-id"]; - }; - }; - responses: { - /** Response */ - 204: never; - }; - }; - "issues/list-labels-for-repo": { - parameters: { - path: { - owner: components["parameters"]["owner"]; - repo: components["parameters"]["repo"]; - }; - query: { - /** Results per page (max 100) */ - per_page?: components["parameters"]["per-page"]; - /** Page number of the results to fetch. */ - page?: components["parameters"]["page"]; - }; - }; - responses: { - /** Response */ - 200: { - headers: {}; - content: { - "application/json": components["schemas"]["label"][]; - }; - }; - 404: components["responses"]["not_found"]; - }; - }; - "issues/create-label": { - parameters: { - path: { - owner: components["parameters"]["owner"]; - repo: components["parameters"]["repo"]; - }; - }; - responses: { - /** Response */ - 201: { - headers: { - Location?: string; - }; - content: { - "application/json": components["schemas"]["label"]; - }; - }; - 404: components["responses"]["not_found"]; - 422: components["responses"]["validation_failed"]; - }; - requestBody: { - content: { - "application/json": { - /** The name of the label. Emoji can be added to label names, using either native emoji or colon-style markup. For example, typing `:strawberry:` will render the emoji ![:strawberry:](https://github.githubassets.com/images/icons/emoji/unicode/1f353.png ":strawberry:"). For a full list of available emoji and codes, see "[Emoji cheat sheet](https://github.com/ikatyang/emoji-cheat-sheet)." */ - name: string; - /** The [hexadecimal color code](http://www.color-hex.com/) for the label, without the leading `#`. */ - color?: string; - /** A short description of the label. */ - description?: string; - }; - }; - }; - }; - "issues/get-label": { - parameters: { - path: { - owner: components["parameters"]["owner"]; - repo: components["parameters"]["repo"]; - name: string; - }; - }; - responses: { - /** Response */ - 200: { - content: { - "application/json": components["schemas"]["label"]; - }; - }; - 404: components["responses"]["not_found"]; - }; - }; - "issues/delete-label": { - parameters: { - path: { - owner: components["parameters"]["owner"]; - repo: components["parameters"]["repo"]; - name: string; - }; - }; - responses: { - /** Response */ - 204: never; - }; - }; - "issues/update-label": { - parameters: { - path: { - owner: components["parameters"]["owner"]; - repo: components["parameters"]["repo"]; - name: string; - }; - }; - responses: { - /** Response */ - 200: { - content: { - "application/json": components["schemas"]["label"]; - }; - }; - }; - requestBody: { - content: { - "application/json": { - /** The new name of the label. Emoji can be added to label names, using either native emoji or colon-style markup. For example, typing `:strawberry:` will render the emoji ![:strawberry:](https://github.githubassets.com/images/icons/emoji/unicode/1f353.png ":strawberry:"). For a full list of available emoji and codes, see "[Emoji cheat sheet](https://github.com/ikatyang/emoji-cheat-sheet)." */ - new_name?: string; - /** The [hexadecimal color code](http://www.color-hex.com/) for the label, without the leading `#`. */ - color?: string; - /** A short description of the label. */ - description?: string; - }; - }; - }; - }; - /** Lists languages for the specified repository. The value shown for each language is the number of bytes of code written in that language. */ - "repos/list-languages": { - parameters: { - path: { - owner: components["parameters"]["owner"]; - repo: components["parameters"]["repo"]; - }; - }; - responses: { - /** Response */ - 200: { - content: { - "application/json": components["schemas"]["language"]; - }; - }; - }; - }; - /** - * This method returns the contents of the repository's license file, if one is detected. - * - * Similar to [Get repository content](https://docs.github.com/rest/reference/repos#get-repository-content), this method also supports [custom media types](https://docs.github.com/rest/overview/media-types) for retrieving the raw license content or rendered license HTML. - */ - "licenses/get-for-repo": { - parameters: { - path: { - owner: components["parameters"]["owner"]; - repo: components["parameters"]["repo"]; - }; - }; - responses: { - /** Response */ - 200: { - content: { - "application/json": components["schemas"]["license-content"]; - }; - }; - }; - }; - "repos/merge": { - parameters: { - path: { - owner: components["parameters"]["owner"]; - repo: components["parameters"]["repo"]; - }; - }; - responses: { - /** Successful Response (The resulting merge commit) */ - 201: { - content: { - "application/json": components["schemas"]["commit"]; - }; - }; - /** Response when already merged */ - 204: never; - 403: components["responses"]["forbidden"]; - /** Not Found when the base or head does not exist */ - 404: unknown; - /** Conflict when there is a merge conflict */ - 409: unknown; - 422: components["responses"]["validation_failed"]; - }; - requestBody: { - content: { - "application/json": { - /** The name of the base branch that the head will be merged into. */ - base: string; - /** The head to merge. This can be a branch name or a commit SHA1. */ - head: string; - /** Commit message to use for the merge commit. If omitted, a default message will be used. */ - commit_message?: string; - }; - }; - }; - }; - "issues/list-milestones": { - parameters: { - path: { - owner: components["parameters"]["owner"]; - repo: components["parameters"]["repo"]; - }; - query: { - /** The state of the milestone. Either `open`, `closed`, or `all`. */ - state?: "open" | "closed" | "all"; - /** What to sort results by. Either `due_on` or `completeness`. */ - sort?: "due_on" | "completeness"; - /** The direction of the sort. Either `asc` or `desc`. */ - direction?: "asc" | "desc"; - /** Results per page (max 100) */ - per_page?: components["parameters"]["per-page"]; - /** Page number of the results to fetch. */ - page?: components["parameters"]["page"]; - }; - }; - responses: { - /** Response */ - 200: { - headers: {}; - content: { - "application/json": components["schemas"]["milestone"][]; - }; - }; - 404: components["responses"]["not_found"]; - }; - }; - "issues/create-milestone": { - parameters: { - path: { - owner: components["parameters"]["owner"]; - repo: components["parameters"]["repo"]; - }; - }; - responses: { - /** Response */ - 201: { - headers: { - Location?: string; - }; - content: { - "application/json": components["schemas"]["milestone"]; - }; - }; - 404: components["responses"]["not_found"]; - 422: components["responses"]["validation_failed"]; - }; - requestBody: { - content: { - "application/json": { - /** The title of the milestone. */ - title: string; - /** The state of the milestone. Either `open` or `closed`. */ - state?: "open" | "closed"; - /** A description of the milestone. */ - description?: string; - /** The milestone due date. This is a timestamp in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) format: `YYYY-MM-DDTHH:MM:SSZ`. */ - due_on?: string; - }; - }; - }; - }; - "issues/get-milestone": { - parameters: { - path: { - owner: components["parameters"]["owner"]; - repo: components["parameters"]["repo"]; - /** milestone_number parameter */ - milestone_number: components["parameters"]["milestone-number"]; - }; - }; - responses: { - /** Response */ - 200: { - content: { - "application/json": components["schemas"]["milestone"]; - }; - }; - 404: components["responses"]["not_found"]; - }; - }; - "issues/delete-milestone": { - parameters: { - path: { - owner: components["parameters"]["owner"]; - repo: components["parameters"]["repo"]; - /** milestone_number parameter */ - milestone_number: components["parameters"]["milestone-number"]; - }; - }; - responses: { - /** Response */ - 204: never; - 404: components["responses"]["not_found"]; - }; - }; - "issues/update-milestone": { - parameters: { - path: { - owner: components["parameters"]["owner"]; - repo: components["parameters"]["repo"]; - /** milestone_number parameter */ - milestone_number: components["parameters"]["milestone-number"]; - }; - }; - responses: { - /** Response */ - 200: { - content: { - "application/json": components["schemas"]["milestone"]; - }; - }; - }; - requestBody: { - content: { - "application/json": { - /** The title of the milestone. */ - title?: string; - /** The state of the milestone. Either `open` or `closed`. */ - state?: "open" | "closed"; - /** A description of the milestone. */ - description?: string; - /** The milestone due date. This is a timestamp in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) format: `YYYY-MM-DDTHH:MM:SSZ`. */ - due_on?: string; - }; - }; - }; - }; - "issues/list-labels-for-milestone": { - parameters: { - path: { - owner: components["parameters"]["owner"]; - repo: components["parameters"]["repo"]; - /** milestone_number parameter */ - milestone_number: components["parameters"]["milestone-number"]; - }; - query: { - /** Results per page (max 100) */ - per_page?: components["parameters"]["per-page"]; - /** Page number of the results to fetch. */ - page?: components["parameters"]["page"]; - }; - }; - responses: { - /** Response */ - 200: { - headers: {}; - content: { - "application/json": components["schemas"]["label"][]; - }; - }; - }; - }; - /** List all notifications for the current user. */ - "activity/list-repo-notifications-for-authenticated-user": { - parameters: { - path: { - owner: components["parameters"]["owner"]; - repo: components["parameters"]["repo"]; - }; - query: { - /** If `true`, show notifications marked as read. */ - all?: components["parameters"]["all"]; - /** If `true`, only shows notifications in which the user is directly participating or mentioned. */ - participating?: components["parameters"]["participating"]; - /** Only show notifications updated after the given time. This is a timestamp in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) format: `YYYY-MM-DDTHH:MM:SSZ`. */ - since?: components["parameters"]["since"]; - /** Only show notifications updated before the given time. This is a timestamp in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) format: `YYYY-MM-DDTHH:MM:SSZ`. */ - before?: components["parameters"]["before"]; - /** Results per page (max 100) */ - per_page?: components["parameters"]["per-page"]; - /** Page number of the results to fetch. */ - page?: components["parameters"]["page"]; - }; - }; - responses: { - /** Response */ - 200: { - headers: {}; - content: { - "application/json": components["schemas"]["thread"][]; - }; - }; - }; - }; - /** Marks all notifications in a repository as "read" removes them from the [default view on GitHub](https://github.com/notifications). If the number of notifications is too large to complete in one request, you will receive a `202 Accepted` status and GitHub will run an asynchronous process to mark notifications as "read." To check whether any "unread" notifications remain, you can use the [List repository notifications for the authenticated user](https://docs.github.com/rest/reference/activity#list-repository-notifications-for-the-authenticated-user) endpoint and pass the query parameter `all=false`. */ - "activity/mark-repo-notifications-as-read": { - parameters: { - path: { - owner: components["parameters"]["owner"]; - repo: components["parameters"]["repo"]; - }; - }; - responses: { - /** Response */ - 202: { - content: { - "application/json": { - message?: string; - url?: string; - }; - }; - }; - /** Reset Content */ - 205: unknown; - }; - requestBody: { - content: { - "application/json": { - /** Describes the last point that notifications were checked. Anything updated since this time will not be marked as read. If you omit this parameter, all notifications are marked as read. This is a timestamp in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) format: `YYYY-MM-DDTHH:MM:SSZ`. Default: The current timestamp. */ - last_read_at?: string; - }; - }; - }; - }; - "repos/get-pages": { - parameters: { - path: { - owner: components["parameters"]["owner"]; - repo: components["parameters"]["repo"]; - }; - }; - responses: { - /** Response */ - 200: { - content: { - "application/json": components["schemas"]["page"]; - }; - }; - 404: components["responses"]["not_found"]; - }; - }; - /** Updates information for a GitHub Pages site. For more information, see "[About GitHub Pages](/github/working-with-github-pages/about-github-pages). */ - "repos/update-information-about-pages-site": { - parameters: { - path: { - owner: components["parameters"]["owner"]; - repo: components["parameters"]["repo"]; - }; - }; - responses: { - /** Response */ - 204: never; - 400: components["responses"]["bad_request"]; - 422: components["responses"]["validation_failed"]; - }; - requestBody: { - content: { - "application/json": { - /** Specify a custom domain for the repository. Sending a `null` value will remove the custom domain. For more about custom domains, see "[Using a custom domain with GitHub Pages](https://help.github.com/articles/using-a-custom-domain-with-github-pages/)." */ - cname?: string | null; - /** Specify whether HTTPS should be enforced for the repository. */ - https_enforced?: boolean; - /** Configures access controls for the GitHub Pages site. If public is set to `true`, the site is accessible to anyone on the internet. If set to `false`, the site will only be accessible to users who have at least `read` access to the repository that published the site. This includes anyone in your Enterprise if the repository is set to `internal` visibility. This feature is only available to repositories in an organization on an Enterprise plan. */ - public?: boolean; - source?: Partial<"gh-pages" | "master" | "master /docs"> & - Partial<{ - /** The repository branch used to publish your site's source files. */ - branch: string; - /** The repository directory that includes the source files for the Pages site. Allowed paths are `/` or `/docs`. */ - path: "/" | "/docs"; - }>; - }; - }; - }; - }; - /** Configures a GitHub Pages site. For more information, see "[About GitHub Pages](/github/working-with-github-pages/about-github-pages)." */ - "repos/create-pages-site": { - parameters: { - path: { - owner: components["parameters"]["owner"]; - repo: components["parameters"]["repo"]; - }; - }; - responses: { - /** Response */ - 201: { - content: { - "application/json": components["schemas"]["page"]; - }; - }; - 409: components["responses"]["conflict"]; - 415: components["responses"]["preview_header_missing"]; - 422: components["responses"]["validation_failed"]; - }; - requestBody: { - content: { - "application/json": { - /** The source branch and directory used to publish your Pages site. */ - source: { - /** The repository branch used to publish your site's source files. */ - branch: string; - /** The repository directory that includes the source files for the Pages site. Allowed paths are `/` or `/docs`. Default: `/` */ - path?: "/" | "/docs"; - }; - } | null; - }; - }; - }; - "repos/delete-pages-site": { - parameters: { - path: { - owner: components["parameters"]["owner"]; - repo: components["parameters"]["repo"]; - }; - }; - responses: { - /** Response */ - 204: never; - 404: components["responses"]["not_found"]; - 415: components["responses"]["preview_header_missing"]; - 422: components["responses"]["validation_failed"]; - }; - }; - "repos/list-pages-builds": { - parameters: { - path: { - owner: components["parameters"]["owner"]; - repo: components["parameters"]["repo"]; - }; - query: { - /** Results per page (max 100) */ - per_page?: components["parameters"]["per-page"]; - /** Page number of the results to fetch. */ - page?: components["parameters"]["page"]; - }; - }; - responses: { - /** Response */ - 200: { - headers: {}; - content: { - "application/json": components["schemas"]["page-build"][]; - }; - }; - }; - }; - /** - * You can request that your site be built from the latest revision on the default branch. This has the same effect as pushing a commit to your default branch, but does not require an additional commit. Manually triggering page builds can be helpful when diagnosing build warnings and failures. - * - * Build requests are limited to one concurrent build per repository and one concurrent build per requester. If you request a build while another is still in progress, the second request will be queued until the first completes. - */ - "repos/request-pages-build": { - parameters: { - path: { - owner: components["parameters"]["owner"]; - repo: components["parameters"]["repo"]; - }; - }; - responses: { - /** Response */ - 201: { - content: { - "application/json": components["schemas"]["page-build-status"]; - }; - }; - }; - }; - "repos/get-latest-pages-build": { - parameters: { - path: { - owner: components["parameters"]["owner"]; - repo: components["parameters"]["repo"]; - }; - }; - responses: { - /** Response */ - 200: { - content: { - "application/json": components["schemas"]["page-build"]; - }; - }; - }; - }; - "repos/get-pages-build": { - parameters: { - path: { - owner: components["parameters"]["owner"]; - repo: components["parameters"]["repo"]; - build_id: number; - }; - }; - responses: { - /** Response */ - 200: { - content: { - "application/json": components["schemas"]["page-build"]; - }; - }; - }; - }; - /** - * Gets a health check of the DNS settings for the `CNAME` record configured for a repository's GitHub Pages. - * - * The first request to this endpoint returns a `202 Accepted` status and starts an asynchronous background task to get the results for the domain. After the background task completes, subsequent requests to this endpoint return a `200 OK` status with the health check results in the response. - * - * Users must have admin or owner permissions. GitHub Apps must have the `pages:write` and `administration:write` permission to use this endpoint. - */ - "repos/get-pages-health-check": { - parameters: { - path: { - owner: components["parameters"]["owner"]; - repo: components["parameters"]["repo"]; - }; - }; - responses: { - /** Response */ - 200: { - content: { - "application/json": components["schemas"]["pages-health-check"]; - }; - }; - /** Empty response */ - 202: { - content: { - "application/json": components["schemas"]["empty-object"]; - }; - }; - /** Custom domains are not available for GitHub Pages */ - 400: unknown; - 404: components["responses"]["not_found"]; - /** There isn't a CNAME for this page */ - 422: unknown; - }; - }; - /** Lists the projects in a repository. Returns a `404 Not Found` status if projects are disabled in the repository. If you do not have sufficient privileges to perform this action, a `401 Unauthorized` or `410 Gone` status is returned. */ - "projects/list-for-repo": { - parameters: { - path: { - owner: components["parameters"]["owner"]; - repo: components["parameters"]["repo"]; - }; - query: { - /** Indicates the state of the projects to return. Can be either `open`, `closed`, or `all`. */ - state?: "open" | "closed" | "all"; - /** Results per page (max 100) */ - per_page?: components["parameters"]["per-page"]; - /** Page number of the results to fetch. */ - page?: components["parameters"]["page"]; - }; - }; - responses: { - /** Response */ - 200: { - headers: {}; - content: { - "application/json": components["schemas"]["project"][]; - }; - }; - 401: components["responses"]["requires_authentication"]; - 403: components["responses"]["forbidden"]; - 404: components["responses"]["not_found"]; - 410: components["responses"]["gone"]; - 422: components["responses"]["validation_failed_simple"]; - }; - }; - /** Creates a repository project board. Returns a `404 Not Found` status if projects are disabled in the repository. If you do not have sufficient privileges to perform this action, a `401 Unauthorized` or `410 Gone` status is returned. */ - "projects/create-for-repo": { - parameters: { - path: { - owner: components["parameters"]["owner"]; - repo: components["parameters"]["repo"]; - }; - }; - responses: { - /** Response */ - 201: { - content: { - "application/json": components["schemas"]["project"]; - }; - }; - 401: components["responses"]["requires_authentication"]; - 403: components["responses"]["forbidden"]; - 404: components["responses"]["not_found"]; - 410: components["responses"]["gone"]; - 422: components["responses"]["validation_failed_simple"]; - }; - requestBody: { - content: { - "application/json": { - /** The name of the project. */ - name: string; - /** The description of the project. */ - body?: string; - }; - }; - }; - }; - /** Draft pull requests are available in public repositories with GitHub Free and GitHub Free for organizations, GitHub Pro, and legacy per-repository billing plans, and in public and private repositories with GitHub Team and GitHub Enterprise Cloud. For more information, see [GitHub's products](https://help.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation. */ - "pulls/list": { - parameters: { - path: { - owner: components["parameters"]["owner"]; - repo: components["parameters"]["repo"]; - }; - query: { - /** Either `open`, `closed`, or `all` to filter by state. */ - state?: "open" | "closed" | "all"; - /** Filter pulls by head user or head organization and branch name in the format of `user:ref-name` or `organization:ref-name`. For example: `github:new-script-format` or `octocat:test-branch`. */ - head?: string; - /** Filter pulls by base branch name. Example: `gh-pages`. */ - base?: string; - /** What to sort results by. Can be either `created`, `updated`, `popularity` (comment count) or `long-running` (age, filtering by pulls updated in the last month). */ - sort?: "created" | "updated" | "popularity" | "long-running"; - /** The direction of the sort. Can be either `asc` or `desc`. Default: `desc` when sort is `created` or sort is not specified, otherwise `asc`. */ - direction?: "asc" | "desc"; - /** Results per page (max 100) */ - per_page?: components["parameters"]["per-page"]; - /** Page number of the results to fetch. */ - page?: components["parameters"]["page"]; - }; - }; - responses: { - /** Response */ - 200: { - headers: {}; - content: { - "application/json": components["schemas"]["pull-request-simple"][]; - }; - }; - 304: components["responses"]["not_modified"]; - 422: components["responses"]["validation_failed"]; - }; - }; - /** - * Draft pull requests are available in public repositories with GitHub Free and GitHub Free for organizations, GitHub Pro, and legacy per-repository billing plans, and in public and private repositories with GitHub Team and GitHub Enterprise Cloud. For more information, see [GitHub's products](https://help.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation. - * - * To open or update a pull request in a public repository, you must have write access to the head or the source branch. For organization-owned repositories, you must be a member of the organization that owns the repository to open or update a pull request. - * - * You can create a new pull request. - * - * This endpoint triggers [notifications](https://docs.github.com/en/github/managing-subscriptions-and-notifications-on-github/about-notifications). Creating content too quickly using this endpoint may result in abuse rate limiting. See "[Abuse rate limits](https://docs.github.com/rest/overview/resources-in-the-rest-api#abuse-rate-limits)" and "[Dealing with abuse rate limits](https://docs.github.com/rest/guides/best-practices-for-integrators#dealing-with-rate-limits)" for details. - */ - "pulls/create": { - parameters: { - path: { - owner: components["parameters"]["owner"]; - repo: components["parameters"]["repo"]; - }; - }; - responses: { - /** Response */ - 201: { - headers: { - Location?: string; - }; - content: { - "application/json": components["schemas"]["pull-request"]; - }; - }; - 403: components["responses"]["forbidden"]; - 422: components["responses"]["validation_failed"]; - }; - requestBody: { - content: { - "application/json": { - /** The title of the new pull request. */ - title?: string; - /** The name of the branch where your changes are implemented. For cross-repository pull requests in the same network, namespace `head` with a user like this: `username:branch`. */ - head: string; - /** The name of the branch you want the changes pulled into. This should be an existing branch on the current repository. You cannot submit a pull request to one repository that requests a merge to a base of another repository. */ - base: string; - /** The contents of the pull request. */ - body?: string; - /** Indicates whether [maintainers can modify](https://help.github.com/articles/allowing-changes-to-a-pull-request-branch-created-from-a-fork/) the pull request. */ - maintainer_can_modify?: boolean; - /** Indicates whether the pull request is a draft. See "[Draft Pull Requests](https://help.github.com/en/articles/about-pull-requests#draft-pull-requests)" in the GitHub Help documentation to learn more. */ - draft?: boolean; - issue?: number; - }; - }; - }; - }; - /** Lists review comments for all pull requests in a repository. By default, review comments are in ascending order by ID. */ - "pulls/list-review-comments-for-repo": { - parameters: { - path: { - owner: components["parameters"]["owner"]; - repo: components["parameters"]["repo"]; - }; - query: { - sort?: "created" | "updated" | "created_at"; - /** Can be either `asc` or `desc`. Ignored without `sort` parameter. */ - direction?: "asc" | "desc"; - /** Only show notifications updated after the given time. This is a timestamp in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) format: `YYYY-MM-DDTHH:MM:SSZ`. */ - since?: components["parameters"]["since"]; - /** Results per page (max 100) */ - per_page?: components["parameters"]["per-page"]; - /** Page number of the results to fetch. */ - page?: components["parameters"]["page"]; - }; - }; - responses: { - /** Response */ - 200: { - headers: {}; - content: { - "application/json": components["schemas"]["pull-request-review-comment"][]; - }; - }; - }; - }; - /** Provides details for a review comment. */ - "pulls/get-review-comment": { - parameters: { - path: { - owner: components["parameters"]["owner"]; - repo: components["parameters"]["repo"]; - /** comment_id parameter */ - comment_id: components["parameters"]["comment-id"]; - }; - }; - responses: { - /** Response */ - 200: { - content: { - "application/json": components["schemas"]["pull-request-review-comment"]; - }; - }; - 404: components["responses"]["not_found"]; - }; - }; - /** Deletes a review comment. */ - "pulls/delete-review-comment": { - parameters: { - path: { - owner: components["parameters"]["owner"]; - repo: components["parameters"]["repo"]; - /** comment_id parameter */ - comment_id: components["parameters"]["comment-id"]; - }; - }; - responses: { - /** Response */ - 204: never; - 404: components["responses"]["not_found"]; - }; - }; - /** Enables you to edit a review comment. */ - "pulls/update-review-comment": { - parameters: { - path: { - owner: components["parameters"]["owner"]; - repo: components["parameters"]["repo"]; - /** comment_id parameter */ - comment_id: components["parameters"]["comment-id"]; - }; - }; - responses: { - /** Response */ - 200: { - content: { - "application/json": components["schemas"]["pull-request-review-comment"]; - }; - }; - }; - requestBody: { - content: { - "application/json": { - /** The text of the reply to the review comment. */ - body: string; - }; - }; - }; - }; - /** List the reactions to a [pull request review comment](https://docs.github.com/rest/reference/pulls#review-comments). */ - "reactions/list-for-pull-request-review-comment": { - parameters: { - path: { - owner: components["parameters"]["owner"]; - repo: components["parameters"]["repo"]; - /** comment_id parameter */ - comment_id: components["parameters"]["comment-id"]; - }; - query: { - /** Returns a single [reaction type](https://docs.github.com/rest/reference/reactions#reaction-types). Omit this parameter to list all reactions to a pull request review comment. */ - content?: - | "+1" - | "-1" - | "laugh" - | "confused" - | "heart" - | "hooray" - | "rocket" - | "eyes"; - /** Results per page (max 100) */ - per_page?: components["parameters"]["per-page"]; - /** Page number of the results to fetch. */ - page?: components["parameters"]["page"]; - }; - }; - responses: { - /** Response */ - 200: { - headers: {}; - content: { - "application/json": components["schemas"]["reaction"][]; - }; - }; - 404: components["responses"]["not_found"]; - 415: components["responses"]["preview_header_missing"]; - }; - }; - /** Create a reaction to a [pull request review comment](https://docs.github.com/rest/reference/pulls#comments). A response with an HTTP `200` status means that you already added the reaction type to this pull request review comment. */ - "reactions/create-for-pull-request-review-comment": { - parameters: { - path: { - owner: components["parameters"]["owner"]; - repo: components["parameters"]["repo"]; - /** comment_id parameter */ - comment_id: components["parameters"]["comment-id"]; - }; - }; - responses: { - /** Reaction exists */ - 200: { - content: { - "application/json": components["schemas"]["reaction"]; - }; - }; - /** Reaction created */ - 201: { - content: { - "application/json": components["schemas"]["reaction"]; - }; - }; - 415: components["responses"]["preview_header_missing"]; - 422: components["responses"]["validation_failed"]; - }; - requestBody: { - content: { - "application/json": { - /** The [reaction type](https://docs.github.com/rest/reference/reactions#reaction-types) to add to the pull request review comment. */ - content: - | "+1" - | "-1" - | "laugh" - | "confused" - | "heart" - | "hooray" - | "rocket" - | "eyes"; - }; - }; - }; - }; - /** - * **Note:** You can also specify a repository by `repository_id` using the route `DELETE /repositories/:repository_id/pulls/comments/:comment_id/reactions/:reaction_id.` - * - * Delete a reaction to a [pull request review comment](https://docs.github.com/rest/reference/pulls#review-comments). - */ - "reactions/delete-for-pull-request-comment": { - parameters: { - path: { - owner: components["parameters"]["owner"]; - repo: components["parameters"]["repo"]; - /** comment_id parameter */ - comment_id: components["parameters"]["comment-id"]; - reaction_id: components["parameters"]["reaction-id"]; - }; - }; - responses: { - /** Response */ - 204: never; - }; - }; - /** - * Draft pull requests are available in public repositories with GitHub Free and GitHub Free for organizations, GitHub Pro, and legacy per-repository billing plans, and in public and private repositories with GitHub Team and GitHub Enterprise Cloud. For more information, see [GitHub's products](https://help.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation. - * - * Lists details of a pull request by providing its number. - * - * When you get, [create](https://docs.github.com/rest/reference/pulls/#create-a-pull-request), or [edit](https://docs.github.com/rest/reference/pulls#update-a-pull-request) a pull request, GitHub creates a merge commit to test whether the pull request can be automatically merged into the base branch. This test commit is not added to the base branch or the head branch. You can review the status of the test commit using the `mergeable` key. For more information, see "[Checking mergeability of pull requests](https://docs.github.com/rest/guides/getting-started-with-the-git-database-api#checking-mergeability-of-pull-requests)". - * - * The value of the `mergeable` attribute can be `true`, `false`, or `null`. If the value is `null`, then GitHub has started a background job to compute the mergeability. After giving the job time to complete, resubmit the request. When the job finishes, you will see a non-`null` value for the `mergeable` attribute in the response. If `mergeable` is `true`, then `merge_commit_sha` will be the SHA of the _test_ merge commit. - * - * The value of the `merge_commit_sha` attribute changes depending on the state of the pull request. Before merging a pull request, the `merge_commit_sha` attribute holds the SHA of the _test_ merge commit. After merging a pull request, the `merge_commit_sha` attribute changes depending on how you merged the pull request: - * - * * If merged as a [merge commit](https://help.github.com/articles/about-merge-methods-on-github/), `merge_commit_sha` represents the SHA of the merge commit. - * * If merged via a [squash](https://help.github.com/articles/about-merge-methods-on-github/#squashing-your-merge-commits), `merge_commit_sha` represents the SHA of the squashed commit on the base branch. - * * If [rebased](https://help.github.com/articles/about-merge-methods-on-github/#rebasing-and-merging-your-commits), `merge_commit_sha` represents the commit that the base branch was updated to. - * - * Pass the appropriate [media type](https://docs.github.com/rest/overview/media-types/#commits-commit-comparison-and-pull-requests) to fetch diff and patch formats. - */ - "pulls/get": { - parameters: { - path: { - owner: components["parameters"]["owner"]; - repo: components["parameters"]["repo"]; - pull_number: components["parameters"]["pull-number"]; - }; - }; - responses: { - /** Pass the appropriate [media type](https://docs.github.com/rest/overview/media-types/#commits-commit-comparison-and-pull-requests) to fetch diff and patch formats. */ - 200: { - content: { - "application/json": components["schemas"]["pull-request"]; - }; - }; - 304: components["responses"]["not_modified"]; - 404: components["responses"]["not_found"]; - 500: components["responses"]["internal_error"]; - }; - }; - /** - * Draft pull requests are available in public repositories with GitHub Free and GitHub Free for organizations, GitHub Pro, and legacy per-repository billing plans, and in public and private repositories with GitHub Team and GitHub Enterprise Cloud. For more information, see [GitHub's products](https://help.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation. - * - * To open or update a pull request in a public repository, you must have write access to the head or the source branch. For organization-owned repositories, you must be a member of the organization that owns the repository to open or update a pull request. - */ - "pulls/update": { - parameters: { - path: { - owner: components["parameters"]["owner"]; - repo: components["parameters"]["repo"]; - pull_number: components["parameters"]["pull-number"]; - }; - }; - responses: { - /** Response */ - 200: { - content: { - "application/json": components["schemas"]["pull-request"]; - }; - }; - 403: components["responses"]["forbidden"]; - 422: components["responses"]["validation_failed"]; - }; - requestBody: { - content: { - "application/json": { - /** The title of the pull request. */ - title?: string; - /** The contents of the pull request. */ - body?: string; - /** State of this Pull Request. Either `open` or `closed`. */ - state?: "open" | "closed"; - /** The name of the branch you want your changes pulled into. This should be an existing branch on the current repository. You cannot update the base branch on a pull request to point to another repository. */ - base?: string; - /** Indicates whether [maintainers can modify](https://help.github.com/articles/allowing-changes-to-a-pull-request-branch-created-from-a-fork/) the pull request. */ - maintainer_can_modify?: boolean; - }; - }; - }; - }; - /** Lists all review comments for a pull request. By default, review comments are in ascending order by ID. */ - "pulls/list-review-comments": { - parameters: { - path: { - owner: components["parameters"]["owner"]; - repo: components["parameters"]["repo"]; - pull_number: components["parameters"]["pull-number"]; - }; - query: { - /** One of `created` (when the repository was starred) or `updated` (when it was last pushed to). */ - sort?: components["parameters"]["sort"]; - /** Can be either `asc` or `desc`. Ignored without `sort` parameter. */ - direction?: "asc" | "desc"; - /** Only show notifications updated after the given time. This is a timestamp in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) format: `YYYY-MM-DDTHH:MM:SSZ`. */ - since?: components["parameters"]["since"]; - /** Results per page (max 100) */ - per_page?: components["parameters"]["per-page"]; - /** Page number of the results to fetch. */ - page?: components["parameters"]["page"]; - }; - }; - responses: { - /** Response */ - 200: { - headers: {}; - content: { - "application/json": components["schemas"]["pull-request-review-comment"][]; - }; - }; - }; - }; - /** - * Creates a review comment in the pull request diff. To add a regular comment to a pull request timeline, see "[Create an issue comment](https://docs.github.com/rest/reference/issues#create-an-issue-comment)." We recommend creating a review comment using `line`, `side`, and optionally `start_line` and `start_side` if your comment applies to more than one line in the pull request diff. - * - * You can still create a review comment using the `position` parameter. When you use `position`, the `line`, `side`, `start_line`, and `start_side` parameters are not required. For more information, see the [`comfort-fade` preview notice](https://docs.github.com/rest/reference/pulls#create-a-review-comment-for-a-pull-request-preview-notices). - * - * **Note:** The position value equals the number of lines down from the first "@@" hunk header in the file you want to add a comment. The line just below the "@@" line is position 1, the next line is position 2, and so on. The position in the diff continues to increase through lines of whitespace and additional hunks until the beginning of a new file. - * - * This endpoint triggers [notifications](https://docs.github.com/en/github/managing-subscriptions-and-notifications-on-github/about-notifications). Creating content too quickly using this endpoint may result in abuse rate limiting. See "[Abuse rate limits](https://docs.github.com/rest/overview/resources-in-the-rest-api#abuse-rate-limits)" and "[Dealing with abuse rate limits](https://docs.github.com/rest/guides/best-practices-for-integrators#dealing-with-rate-limits)" for details. - */ - "pulls/create-review-comment": { - parameters: { - path: { - owner: components["parameters"]["owner"]; - repo: components["parameters"]["repo"]; - pull_number: components["parameters"]["pull-number"]; - }; - }; - responses: { - /** Response */ - 201: { - headers: { - Location?: string; - }; - content: { - "application/json": components["schemas"]["pull-request-review-comment"]; - }; - }; - 403: components["responses"]["forbidden"]; - 422: components["responses"]["validation_failed"]; - }; - requestBody: { - content: { - "application/json": { - /** The text of the review comment. */ - body: string; - /** The SHA of the commit needing a comment. Not using the latest commit SHA may render your comment outdated if a subsequent commit modifies the line you specify as the `position`. */ - commit_id?: string; - /** The relative path to the file that necessitates a comment. */ - path?: string; - /** **Required without `comfort-fade` preview**. The position in the diff where you want to add a review comment. Note this value is not the same as the line number in the file. For help finding the position value, read the note above. */ - position?: number; - /** **Required with `comfort-fade` preview**. In a split diff view, the side of the diff that the pull request's changes appear on. Can be `LEFT` or `RIGHT`. Use `LEFT` for deletions that appear in red. Use `RIGHT` for additions that appear in green or unchanged lines that appear in white and are shown for context. For a multi-line comment, side represents whether the last line of the comment range is a deletion or addition. For more information, see "[Diff view options](https://help.github.com/en/articles/about-comparing-branches-in-pull-requests#diff-view-options)" in the GitHub Help documentation. */ - side?: "LEFT" | "RIGHT"; - /** **Required with `comfort-fade` preview**. The line of the blob in the pull request diff that the comment applies to. For a multi-line comment, the last line of the range that your comment applies to. */ - line?: number; - /** **Required when using multi-line comments**. To create multi-line comments, you must use the `comfort-fade` preview header. The `start_line` is the first line in the pull request diff that your multi-line comment applies to. To learn more about multi-line comments, see "[Commenting on a pull request](https://help.github.com/en/articles/commenting-on-a-pull-request#adding-line-comments-to-a-pull-request)" in the GitHub Help documentation. */ - start_line?: number; - /** **Required when using multi-line comments**. To create multi-line comments, you must use the `comfort-fade` preview header. The `start_side` is the starting side of the diff that the comment applies to. Can be `LEFT` or `RIGHT`. To learn more about multi-line comments, see "[Commenting on a pull request](https://help.github.com/en/articles/commenting-on-a-pull-request#adding-line-comments-to-a-pull-request)" in the GitHub Help documentation. See `side` in this table for additional context. */ - start_side?: "LEFT" | "RIGHT" | "side"; - in_reply_to?: number; - }; - }; - }; - }; - /** - * Creates a reply to a review comment for a pull request. For the `comment_id`, provide the ID of the review comment you are replying to. This must be the ID of a _top-level review comment_, not a reply to that comment. Replies to replies are not supported. - * - * This endpoint triggers [notifications](https://docs.github.com/en/github/managing-subscriptions-and-notifications-on-github/about-notifications). Creating content too quickly using this endpoint may result in abuse rate limiting. See "[Abuse rate limits](https://docs.github.com/rest/overview/resources-in-the-rest-api#abuse-rate-limits)" and "[Dealing with abuse rate limits](https://docs.github.com/rest/guides/best-practices-for-integrators#dealing-with-rate-limits)" for details. - */ - "pulls/create-reply-for-review-comment": { - parameters: { - path: { - owner: components["parameters"]["owner"]; - repo: components["parameters"]["repo"]; - pull_number: components["parameters"]["pull-number"]; - /** comment_id parameter */ - comment_id: components["parameters"]["comment-id"]; - }; - }; - responses: { - /** Response */ - 201: { - headers: { - Location?: string; - }; - content: { - "application/json": components["schemas"]["pull-request-review-comment"]; - }; - }; - 404: components["responses"]["not_found"]; - }; - requestBody: { - content: { - "application/json": { - /** The text of the review comment. */ - body: string; - }; - }; - }; - }; - /** Lists a maximum of 250 commits for a pull request. To receive a complete commit list for pull requests with more than 250 commits, use the [List commits](https://docs.github.com/rest/reference/repos#list-commits) endpoint. */ - "pulls/list-commits": { - parameters: { - path: { - owner: components["parameters"]["owner"]; - repo: components["parameters"]["repo"]; - pull_number: components["parameters"]["pull-number"]; - }; - query: { - /** Results per page (max 100) */ - per_page?: components["parameters"]["per-page"]; - /** Page number of the results to fetch. */ - page?: components["parameters"]["page"]; - }; - }; - responses: { - /** Response */ - 200: { - headers: {}; - content: { - "application/json": components["schemas"]["commit"][]; - }; - }; - }; - }; - /** **Note:** Responses include a maximum of 3000 files. The paginated response returns 30 files per page by default. */ - "pulls/list-files": { - parameters: { - path: { - owner: components["parameters"]["owner"]; - repo: components["parameters"]["repo"]; - pull_number: components["parameters"]["pull-number"]; - }; - query: { - /** Results per page (max 100) */ - per_page?: components["parameters"]["per-page"]; - /** Page number of the results to fetch. */ - page?: components["parameters"]["page"]; - }; - }; - responses: { - /** Response */ - 200: { - headers: {}; - content: { - "application/json": components["schemas"]["diff-entry"][]; - }; - }; - 422: components["responses"]["validation_failed"]; - 500: components["responses"]["internal_error"]; - }; - }; - "pulls/check-if-merged": { - parameters: { - path: { - owner: components["parameters"]["owner"]; - repo: components["parameters"]["repo"]; - pull_number: components["parameters"]["pull-number"]; - }; - }; - responses: { - /** Response if pull request has been merged */ - 204: never; - /** Not Found if pull request has not been merged */ - 404: unknown; - }; - }; - /** This endpoint triggers [notifications](https://docs.github.com/github/managing-subscriptions-and-notifications-on-github/about-notifications). Creating content too quickly using this endpoint may result in abuse rate limiting. See "[Abuse rate limits](https://docs.github.com/rest/overview/resources-in-the-rest-api#abuse-rate-limits)" and "[Dealing with abuse rate limits](https://docs.github.com/rest/guides/best-practices-for-integrators#dealing-with-abuse-rate-limits)" for details. */ - "pulls/merge": { - parameters: { - path: { - owner: components["parameters"]["owner"]; - repo: components["parameters"]["repo"]; - pull_number: components["parameters"]["pull-number"]; - }; - }; - responses: { - /** if merge was successful */ - 200: { - content: { - "application/json": components["schemas"]["pull-request-merge-result"]; - }; - }; - 403: components["responses"]["forbidden"]; - 404: components["responses"]["not_found"]; - /** Method Not Allowed if merge cannot be performed */ - 405: { - content: { - "application/json": { - message?: string; - documentation_url?: string; - }; - }; - }; - /** Conflict if sha was provided and pull request head did not match */ - 409: { - content: { - "application/json": { - message?: string; - documentation_url?: string; - }; - }; - }; - 422: components["responses"]["validation_failed"]; - }; - requestBody: { - content: { - "application/json": { - /** Title for the automatic commit message. */ - commit_title?: string; - /** Extra detail to append to automatic commit message. */ - commit_message?: string; - /** SHA that pull request head must match to allow merge. */ - sha?: string; - /** Merge method to use. Possible values are `merge`, `squash` or `rebase`. Default is `merge`. */ - merge_method?: "merge" | "squash" | "rebase"; - } | null; - }; - }; - }; - "pulls/list-requested-reviewers": { - parameters: { - path: { - owner: components["parameters"]["owner"]; - repo: components["parameters"]["repo"]; - pull_number: components["parameters"]["pull-number"]; - }; - query: { - /** Results per page (max 100) */ - per_page?: components["parameters"]["per-page"]; - /** Page number of the results to fetch. */ - page?: components["parameters"]["page"]; - }; - }; - responses: { - /** Response */ - 200: { - headers: {}; - content: { - "application/json": components["schemas"]["pull-request-review-request"]; - }; - }; - }; - }; - /** This endpoint triggers [notifications](https://docs.github.com/github/managing-subscriptions-and-notifications-on-github/about-notifications). Creating content too quickly using this endpoint may result in abuse rate limiting. See "[Abuse rate limits](https://docs.github.com/rest/overview/resources-in-the-rest-api#abuse-rate-limits)" and "[Dealing with abuse rate limits](https://docs.github.com/rest/guides/best-practices-for-integrators#dealing-with-abuse-rate-limits)" for details. */ - "pulls/request-reviewers": { - parameters: { - path: { - owner: components["parameters"]["owner"]; - repo: components["parameters"]["repo"]; - pull_number: components["parameters"]["pull-number"]; - }; - }; - responses: { - /** Response */ - 201: { - content: { - "application/json": components["schemas"]["pull-request-simple"]; - }; - }; - 403: components["responses"]["forbidden"]; - /** Unprocessable Entity if user is not a collaborator */ - 422: unknown; - }; - requestBody: { - content: { - "application/json": { - /** An array of user `login`s that will be requested. */ - reviewers?: string[]; - /** An array of team `slug`s that will be requested. */ - team_reviewers?: string[]; - }; - }; - }; - }; - "pulls/remove-requested-reviewers": { - parameters: { - path: { - owner: components["parameters"]["owner"]; - repo: components["parameters"]["repo"]; - pull_number: components["parameters"]["pull-number"]; - }; - }; - responses: { - /** Response */ - 200: { - content: { - "application/json": components["schemas"]["pull-request-simple"]; - }; - }; - 422: components["responses"]["validation_failed"]; - }; - requestBody: { - content: { - "application/json": { - /** An array of user `login`s that will be removed. */ - reviewers: string[]; - /** An array of team `slug`s that will be removed. */ - team_reviewers?: string[]; - }; - }; - }; - }; - /** The list of reviews returns in chronological order. */ - "pulls/list-reviews": { - parameters: { - path: { - owner: components["parameters"]["owner"]; - repo: components["parameters"]["repo"]; - pull_number: components["parameters"]["pull-number"]; - }; - query: { - /** Results per page (max 100) */ - per_page?: components["parameters"]["per-page"]; - /** Page number of the results to fetch. */ - page?: components["parameters"]["page"]; - }; - }; - responses: { - /** The list of reviews returns in chronological order. */ - 200: { - headers: {}; - content: { - "application/json": components["schemas"]["pull-request-review"][]; - }; - }; - }; - }; - /** - * This endpoint triggers [notifications](https://docs.github.com/en/github/managing-subscriptions-and-notifications-on-github/about-notifications). Creating content too quickly using this endpoint may result in abuse rate limiting. See "[Abuse rate limits](https://docs.github.com/rest/overview/resources-in-the-rest-api#abuse-rate-limits)" and "[Dealing with abuse rate limits](https://docs.github.com/rest/guides/best-practices-for-integrators#dealing-with-rate-limits)" for details. - * - * Pull request reviews created in the `PENDING` state do not include the `submitted_at` property in the response. - * - * **Note:** To comment on a specific line in a file, you need to first determine the _position_ of that line in the diff. The GitHub REST API v3 offers the `application/vnd.github.v3.diff` [media type](https://docs.github.com/rest/overview/media-types#commits-commit-comparison-and-pull-requests). To see a pull request diff, add this media type to the `Accept` header of a call to the [single pull request](https://docs.github.com/rest/reference/pulls#get-a-pull-request) endpoint. - * - * The `position` value equals the number of lines down from the first "@@" hunk header in the file you want to add a comment. The line just below the "@@" line is position 1, the next line is position 2, and so on. The position in the diff continues to increase through lines of whitespace and additional hunks until the beginning of a new file. - */ - "pulls/create-review": { - parameters: { - path: { - owner: components["parameters"]["owner"]; - repo: components["parameters"]["repo"]; - pull_number: components["parameters"]["pull-number"]; - }; - }; - responses: { - /** Response */ - 200: { - content: { - "application/json": components["schemas"]["pull-request-review"]; - }; - }; - 403: components["responses"]["forbidden"]; - 422: components["responses"]["validation_failed_simple"]; - }; - requestBody: { - content: { - "application/json": { - /** The SHA of the commit that needs a review. Not using the latest commit SHA may render your review comment outdated if a subsequent commit modifies the line you specify as the `position`. Defaults to the most recent commit in the pull request when you do not specify a value. */ - commit_id?: string; - /** **Required** when using `REQUEST_CHANGES` or `COMMENT` for the `event` parameter. The body text of the pull request review. */ - body?: string; - /** The review action you want to perform. The review actions include: `APPROVE`, `REQUEST_CHANGES`, or `COMMENT`. By leaving this blank, you set the review action state to `PENDING`, which means you will need to [submit the pull request review](https://docs.github.com/rest/reference/pulls#submit-a-review-for-a-pull-request) when you are ready. */ - event?: "APPROVE" | "REQUEST_CHANGES" | "COMMENT"; - /** Use the following table to specify the location, destination, and contents of the draft review comment. */ - comments?: { - /** The relative path to the file that necessitates a review comment. */ - path: string; - /** The position in the diff where you want to add a review comment. Note this value is not the same as the line number in the file. For help finding the position value, read the note below. */ - position?: number; - /** Text of the review comment. */ - body: string; - line?: number; - side?: string; - start_line?: number; - start_side?: string; - }[]; - }; - }; - }; - }; - "pulls/get-review": { - parameters: { - path: { - owner: components["parameters"]["owner"]; - repo: components["parameters"]["repo"]; - pull_number: components["parameters"]["pull-number"]; - /** review_id parameter */ - review_id: components["parameters"]["review-id"]; - }; - }; - responses: { - /** Response */ - 200: { - content: { - "application/json": components["schemas"]["pull-request-review"]; - }; - }; - 404: components["responses"]["not_found"]; - }; - }; - /** Update the review summary comment with new text. */ - "pulls/update-review": { - parameters: { - path: { - owner: components["parameters"]["owner"]; - repo: components["parameters"]["repo"]; - pull_number: components["parameters"]["pull-number"]; - /** review_id parameter */ - review_id: components["parameters"]["review-id"]; - }; - }; - responses: { - /** Response */ - 200: { - content: { - "application/json": components["schemas"]["pull-request-review"]; - }; - }; - 422: components["responses"]["validation_failed_simple"]; - }; - requestBody: { - content: { - "application/json": { - /** The body text of the pull request review. */ - body: string; - }; - }; - }; - }; - "pulls/delete-pending-review": { - parameters: { - path: { - owner: components["parameters"]["owner"]; - repo: components["parameters"]["repo"]; - pull_number: components["parameters"]["pull-number"]; - /** review_id parameter */ - review_id: components["parameters"]["review-id"]; - }; - }; - responses: { - /** Response */ - 200: { - content: { - "application/json": components["schemas"]["pull-request-review"]; - }; - }; - 404: components["responses"]["not_found"]; - 422: components["responses"]["validation_failed_simple"]; - }; - }; - /** List comments for a specific pull request review. */ - "pulls/list-comments-for-review": { - parameters: { - path: { - owner: components["parameters"]["owner"]; - repo: components["parameters"]["repo"]; - pull_number: components["parameters"]["pull-number"]; - /** review_id parameter */ - review_id: components["parameters"]["review-id"]; - }; - query: { - /** Results per page (max 100) */ - per_page?: components["parameters"]["per-page"]; - /** Page number of the results to fetch. */ - page?: components["parameters"]["page"]; - }; - }; - responses: { - /** Response */ - 200: { - headers: {}; - content: { - "application/json": components["schemas"]["review-comment"][]; - }; - }; - 404: components["responses"]["not_found"]; - }; - }; - /** **Note:** To dismiss a pull request review on a [protected branch](https://docs.github.com/rest/reference/repos#branches), you must be a repository administrator or be included in the list of people or teams who can dismiss pull request reviews. */ - "pulls/dismiss-review": { - parameters: { - path: { - owner: components["parameters"]["owner"]; - repo: components["parameters"]["repo"]; - pull_number: components["parameters"]["pull-number"]; - /** review_id parameter */ - review_id: components["parameters"]["review-id"]; - }; - }; - responses: { - /** Response */ - 200: { - content: { - "application/json": components["schemas"]["pull-request-review"]; - }; - }; - 404: components["responses"]["not_found"]; - 422: components["responses"]["validation_failed_simple"]; - }; - requestBody: { - content: { - "application/json": { - /** The message for the pull request review dismissal */ - message: string; - event?: string; - }; - }; - }; - }; - "pulls/submit-review": { - parameters: { - path: { - owner: components["parameters"]["owner"]; - repo: components["parameters"]["repo"]; - pull_number: components["parameters"]["pull-number"]; - /** review_id parameter */ - review_id: components["parameters"]["review-id"]; - }; - }; - responses: { - /** Response */ - 200: { - content: { - "application/json": components["schemas"]["pull-request-review"]; - }; - }; - 403: components["responses"]["forbidden"]; - 404: components["responses"]["not_found"]; - 422: components["responses"]["validation_failed_simple"]; - }; - requestBody: { - content: { - "application/json": { - /** The body text of the pull request review */ - body?: string; - /** The review action you want to perform. The review actions include: `APPROVE`, `REQUEST_CHANGES`, or `COMMENT`. When you leave this blank, the API returns _HTTP 422 (Unrecognizable entity)_ and sets the review action state to `PENDING`, which means you will need to re-submit the pull request review using a review action. */ - event: "APPROVE" | "REQUEST_CHANGES" | "COMMENT"; - }; - }; - }; - }; - /** Updates the pull request branch with the latest upstream changes by merging HEAD from the base branch into the pull request branch. */ - "pulls/update-branch": { - parameters: { - path: { - owner: components["parameters"]["owner"]; - repo: components["parameters"]["repo"]; - pull_number: components["parameters"]["pull-number"]; - }; - }; - responses: { - /** Response */ - 202: { - content: { - "application/json": { - message?: string; - url?: string; - }; - }; - }; - 403: components["responses"]["forbidden"]; - 415: components["responses"]["preview_header_missing"]; - 422: components["responses"]["validation_failed"]; - }; - requestBody: { - content: { - "application/json": { - /** The expected SHA of the pull request's HEAD ref. This is the most recent commit on the pull request's branch. If the expected SHA does not match the pull request's HEAD, you will receive a `422 Unprocessable Entity` status. You can use the "[List commits](https://docs.github.com/rest/reference/repos#list-commits)" endpoint to find the most recent commit SHA. Default: SHA of the pull request's current HEAD ref. */ - expected_head_sha?: string; - } | null; - }; - }; - }; - /** - * Gets the preferred README for a repository. - * - * READMEs support [custom media types](https://docs.github.com/rest/reference/repos#custom-media-types) for retrieving the raw content or rendered HTML. - */ - "repos/get-readme": { - parameters: { - path: { - owner: components["parameters"]["owner"]; - repo: components["parameters"]["repo"]; - }; - query: { - /** The name of the commit/branch/tag. Default: the repository’s default branch (usually `master`) */ - ref?: string; - }; - }; - responses: { - /** Response */ - 200: { - content: { - "application/json": components["schemas"]["content-file"]; - }; - }; - 404: components["responses"]["not_found"]; - 422: components["responses"]["validation_failed"]; - }; - }; - /** - * Gets the README from a repository directory. - * - * READMEs support [custom media types](https://docs.github.com/rest/reference/repos#custom-media-types) for retrieving the raw content or rendered HTML. - */ - "repos/get-readme-in-directory": { - parameters: { - path: { - owner: components["parameters"]["owner"]; - repo: components["parameters"]["repo"]; - /** The alternate path to look for a README file */ - dir: string; - }; - query: { - /** The name of the commit/branch/tag. Default: the repository’s default branch (usually `master`) */ - ref?: string; - }; - }; - responses: { - /** Response */ - 200: { - content: { - "application/json": components["schemas"]["content-file"]; - }; - }; - 404: components["responses"]["not_found"]; - 422: components["responses"]["validation_failed"]; - }; - }; - /** - * This returns a list of releases, which does not include regular Git tags that have not been associated with a release. To get a list of Git tags, use the [Repository Tags API](https://docs.github.com/rest/reference/repos#list-repository-tags). - * - * Information about published releases are available to everyone. Only users with push access will receive listings for draft releases. - */ - "repos/list-releases": { - parameters: { - path: { - owner: components["parameters"]["owner"]; - repo: components["parameters"]["repo"]; - }; - query: { - /** Results per page (max 100) */ - per_page?: components["parameters"]["per-page"]; - /** Page number of the results to fetch. */ - page?: components["parameters"]["page"]; - }; - }; - responses: { - /** Response */ - 200: { - headers: {}; - content: { - "application/json": components["schemas"]["release"][]; - }; - }; - 404: components["responses"]["not_found"]; - }; - }; - /** - * Users with push access to the repository can create a release. - * - * This endpoint triggers [notifications](https://docs.github.com/en/github/managing-subscriptions-and-notifications-on-github/about-notifications). Creating content too quickly using this endpoint may result in abuse rate limiting. See "[Abuse rate limits](https://docs.github.com/rest/overview/resources-in-the-rest-api#abuse-rate-limits)" and "[Dealing with abuse rate limits](https://docs.github.com/rest/guides/best-practices-for-integrators#dealing-with-rate-limits)" for details. - */ - "repos/create-release": { - parameters: { - path: { - owner: components["parameters"]["owner"]; - repo: components["parameters"]["repo"]; - }; - }; - responses: { - /** Response */ - 201: { - headers: { - Location?: string; - }; - content: { - "application/json": components["schemas"]["release"]; - }; - }; - /** Not Found if the discussion category name is invalid */ - 404: { - content: { - "application/json": components["schemas"]["basic-error"]; - }; - }; - 422: components["responses"]["validation_failed"]; - }; - requestBody: { - content: { - "application/json": { - /** The name of the tag. */ - tag_name: string; - /** Specifies the commitish value that determines where the Git tag is created from. Can be any branch or commit SHA. Unused if the Git tag already exists. Default: the repository's default branch (usually `master`). */ - target_commitish?: string; - /** The name of the release. */ - name?: string; - /** Text describing the contents of the tag. */ - body?: string; - /** `true` to create a draft (unpublished) release, `false` to create a published one. */ - draft?: boolean; - /** `true` to identify the release as a prerelease. `false` to identify the release as a full release. */ - prerelease?: boolean; - /** If specified, a discussion of the specified category is created and linked to the release. The value must be a category that already exists in the repository. For more information, see "[Managing categories for discussions in your repository](https://docs.github.com/discussions/managing-discussions-for-your-community/managing-categories-for-discussions-in-your-repository)." */ - discussion_category_name?: string; - }; - }; - }; - }; - /** To download the asset's binary content, set the `Accept` header of the request to [`application/octet-stream`](https://docs.github.com/rest/overview/media-types). The API will either redirect the client to the location, or stream it directly if possible. API clients should handle both a `200` or `302` response. */ - "repos/get-release-asset": { - parameters: { - path: { - owner: components["parameters"]["owner"]; - repo: components["parameters"]["repo"]; - /** asset_id parameter */ - asset_id: components["parameters"]["asset-id"]; - }; - }; - responses: { - /** To download the asset's binary content, set the `Accept` header of the request to [`application/octet-stream`](https://docs.github.com/rest/overview/media-types). The API will either redirect the client to the location, or stream it directly if possible. API clients should handle both a `200` or `302` response. */ - 200: { - content: { - "application/json": components["schemas"]["release-asset"]; - }; - }; - 302: components["responses"]["found"]; - 404: components["responses"]["not_found"]; - 415: components["responses"]["preview_header_missing"]; - }; - }; - "repos/delete-release-asset": { - parameters: { - path: { - owner: components["parameters"]["owner"]; - repo: components["parameters"]["repo"]; - /** asset_id parameter */ - asset_id: components["parameters"]["asset-id"]; - }; - }; - responses: { - /** Response */ - 204: never; - }; - }; - /** Users with push access to the repository can edit a release asset. */ - "repos/update-release-asset": { - parameters: { - path: { - owner: components["parameters"]["owner"]; - repo: components["parameters"]["repo"]; - /** asset_id parameter */ - asset_id: components["parameters"]["asset-id"]; - }; - }; - responses: { - /** Response */ - 200: { - content: { - "application/json": components["schemas"]["release-asset"]; - }; - }; - }; - requestBody: { - content: { - "application/json": { - /** The file name of the asset. */ - name?: string; - /** An alternate short description of the asset. Used in place of the filename. */ - label?: string; - state?: string; - }; - }; - }; - }; - /** - * View the latest published full release for the repository. - * - * The latest release is the most recent non-prerelease, non-draft release, sorted by the `created_at` attribute. The `created_at` attribute is the date of the commit used for the release, and not the date when the release was drafted or published. - */ - "repos/get-latest-release": { - parameters: { - path: { - owner: components["parameters"]["owner"]; - repo: components["parameters"]["repo"]; - }; - }; - responses: { - /** Response */ - 200: { - content: { - "application/json": components["schemas"]["release"]; - }; - }; - }; - }; - /** Get a published release with the specified tag. */ - "repos/get-release-by-tag": { - parameters: { - path: { - owner: components["parameters"]["owner"]; - repo: components["parameters"]["repo"]; - /** tag parameter */ - tag: string; - }; - }; - responses: { - /** Response */ - 200: { - content: { - "application/json": components["schemas"]["release"]; - }; - }; - 404: components["responses"]["not_found"]; - }; - }; - /** **Note:** This returns an `upload_url` key corresponding to the endpoint for uploading release assets. This key is a [hypermedia resource](https://docs.github.com/rest/overview/resources-in-the-rest-api#hypermedia). */ - "repos/get-release": { - parameters: { - path: { - owner: components["parameters"]["owner"]; - repo: components["parameters"]["repo"]; - /** release_id parameter */ - release_id: components["parameters"]["release-id"]; - }; - }; - responses: { - /** **Note:** This returns an `upload_url` key corresponding to the endpoint for uploading release assets. This key is a [hypermedia resource](https://docs.github.com/rest/overview/resources-in-the-rest-api#hypermedia). */ - 200: { - content: { - "application/json": components["schemas"]["release"]; - }; - }; - 404: components["responses"]["not_found"]; - }; - }; - /** Users with push access to the repository can delete a release. */ - "repos/delete-release": { - parameters: { - path: { - owner: components["parameters"]["owner"]; - repo: components["parameters"]["repo"]; - /** release_id parameter */ - release_id: components["parameters"]["release-id"]; - }; - }; - responses: { - /** Response */ - 204: never; - }; - }; - /** Users with push access to the repository can edit a release. */ - "repos/update-release": { - parameters: { - path: { - owner: components["parameters"]["owner"]; - repo: components["parameters"]["repo"]; - /** release_id parameter */ - release_id: components["parameters"]["release-id"]; - }; - }; - responses: { - /** Response */ - 200: { - content: { - "application/json": components["schemas"]["release"]; - }; - }; - /** Not Found if the discussion category name is invalid */ - 404: { - content: { - "application/json": components["schemas"]["basic-error"]; - }; - }; - }; - requestBody: { - content: { - "application/json": { - /** The name of the tag. */ - tag_name?: string; - /** Specifies the commitish value that determines where the Git tag is created from. Can be any branch or commit SHA. Unused if the Git tag already exists. Default: the repository's default branch (usually `master`). */ - target_commitish?: string; - /** The name of the release. */ - name?: string; - /** Text describing the contents of the tag. */ - body?: string; - /** `true` makes the release a draft, and `false` publishes the release. */ - draft?: boolean; - /** `true` to identify the release as a prerelease, `false` to identify the release as a full release. */ - prerelease?: boolean; - /** If specified, a discussion of the specified category is created and linked to the release. The value must be a category that already exists in the repository. If there is already a discussion linked to the release, this parameter is ignored. For more information, see "[Managing categories for discussions in your repository](https://docs.github.com/discussions/managing-discussions-for-your-community/managing-categories-for-discussions-in-your-repository)." */ - discussion_category_name?: string; - }; - }; - }; - }; - "repos/list-release-assets": { - parameters: { - path: { - owner: components["parameters"]["owner"]; - repo: components["parameters"]["repo"]; - /** release_id parameter */ - release_id: components["parameters"]["release-id"]; - }; - query: { - /** Results per page (max 100) */ - per_page?: components["parameters"]["per-page"]; - /** Page number of the results to fetch. */ - page?: components["parameters"]["page"]; - }; - }; - responses: { - /** Response */ - 200: { - headers: {}; - content: { - "application/json": components["schemas"]["release-asset"][]; - }; - }; - }; - }; - /** - * This endpoint makes use of [a Hypermedia relation](https://docs.github.com/rest/overview/resources-in-the-rest-api#hypermedia) to determine which URL to access. The endpoint you call to upload release assets is specific to your release. Use the `upload_url` returned in - * the response of the [Create a release endpoint](https://docs.github.com/rest/reference/repos#create-a-release) to upload a release asset. - * - * You need to use an HTTP client which supports [SNI](http://en.wikipedia.org/wiki/Server_Name_Indication) to make calls to this endpoint. - * - * Most libraries will set the required `Content-Length` header automatically. Use the required `Content-Type` header to provide the media type of the asset. For a list of media types, see [Media Types](https://www.iana.org/assignments/media-types/media-types.xhtml). For example: - * - * `application/zip` - * - * GitHub expects the asset data in its raw binary form, rather than JSON. You will send the raw binary content of the asset as the request body. Everything else about the endpoint is the same as the rest of the API. For example, - * you'll still need to pass your authentication to be able to upload an asset. - * - * When an upstream failure occurs, you will receive a `502 Bad Gateway` status. This may leave an empty asset with a state of `starter`. It can be safely deleted. - * - * **Notes:** - * * GitHub renames asset filenames that have special characters, non-alphanumeric characters, and leading or trailing periods. The "[List assets for a release](https://docs.github.com/rest/reference/repos#list-assets-for-a-release)" - * endpoint lists the renamed filenames. For more information and help, contact [GitHub Support](https://support.github.com/contact). - * * If you upload an asset with the same filename as another uploaded asset, you'll receive an error and must delete the old file before you can re-upload the new asset. - */ - "repos/upload-release-asset": { - parameters: { - path: { - owner: components["parameters"]["owner"]; - repo: components["parameters"]["repo"]; - /** release_id parameter */ - release_id: components["parameters"]["release-id"]; - }; - query: { - name: string; - label?: string; - }; - }; - responses: { - /** Response for successful upload */ - 201: { - content: { - "application/json": components["schemas"]["release-asset"]; - }; - }; - }; - requestBody: { - content: { - "*/*": string; - }; - }; - }; - /** Create a reaction to a [release](https://docs.github.com/rest/reference/repos#releases). A response with a `Status: 200 OK` means that you already added the reaction type to this release. */ - "reactions/create-for-release": { - parameters: { - path: { - owner: components["parameters"]["owner"]; - repo: components["parameters"]["repo"]; - /** release_id parameter */ - release_id: components["parameters"]["release-id"]; - }; - }; - responses: { - /** Reaction exists */ - 200: { - content: { - "application/json": components["schemas"]["reaction"]; - }; - }; - /** Reaction created */ - 201: { - content: { - "application/json": components["schemas"]["reaction"]; - }; - }; - 415: components["responses"]["preview_header_missing"]; - 422: components["responses"]["validation_failed"]; - }; - requestBody: { - content: { - "application/json": { - /** The [reaction type](https://docs.github.com/rest/reference/reactions#reaction-types) to add to the release. */ - content: "+1" | "laugh" | "heart" | "hooray" | "rocket" | "eyes"; - }; - }; - }; - }; - /** - * Lists all secret scanning alerts for a private repository, from newest to oldest. To use this endpoint, you must be an administrator for the repository or organization, and you must use an access token with the `repo` scope or `security_events` scope. - * - * GitHub Apps must have the `secret_scanning_alerts` read permission to use this endpoint. - */ - "secret-scanning/list-alerts-for-repo": { - parameters: { - path: { - owner: components["parameters"]["owner"]; - repo: components["parameters"]["repo"]; - }; - query: { - /** Set to `open` or `resolved` to only list secret scanning alerts in a specific state. */ - state?: "open" | "resolved"; - /** A comma separated list of secret types to return. By default all secret types are returned. */ - secret_type?: string; - /** Page number of the results to fetch. */ - page?: components["parameters"]["page"]; - /** Results per page (max 100) */ - per_page?: components["parameters"]["per-page"]; - }; - }; - responses: { - /** Response */ - 200: { - content: { - "application/json": components["schemas"]["secret-scanning-alert"][]; - }; - }; - /** Repository is public or secret scanning is disabled for the repository */ - 404: unknown; - 503: components["responses"]["service_unavailable"]; - }; - }; - /** - * Gets a single secret scanning alert detected in a private repository. To use this endpoint, you must be an administrator for the repository or organization, and you must use an access token with the `repo` scope or `security_events` scope. - * - * GitHub Apps must have the `secret_scanning_alerts` read permission to use this endpoint. - */ - "secret-scanning/get-alert": { - parameters: { - path: { - owner: components["parameters"]["owner"]; - repo: components["parameters"]["repo"]; - /** The number that identifies an alert. You can find this at the end of the URL for a code scanning alert within GitHub, and in the `number` field in the response from the `GET /repos/{owner}/{repo}/code-scanning/alerts` operation. */ - alert_number: components["parameters"]["alert-number"]; - }; - }; - responses: { - /** Response */ - 200: { - content: { - "application/json": components["schemas"]["secret-scanning-alert"]; - }; - }; - /** Repository is public, or secret scanning is disabled for the repository, or the resource is not found */ - 404: unknown; - 503: components["responses"]["service_unavailable"]; - }; - }; - /** - * Updates the status of a secret scanning alert in a private repository. To use this endpoint, you must be an administrator for the repository or organization, and you must use an access token with the `repo` scope or `security_events` scope. - * - * GitHub Apps must have the `secret_scanning_alerts` write permission to use this endpoint. - */ - "secret-scanning/update-alert": { - parameters: { - path: { - owner: components["parameters"]["owner"]; - repo: components["parameters"]["repo"]; - /** The number that identifies an alert. You can find this at the end of the URL for a code scanning alert within GitHub, and in the `number` field in the response from the `GET /repos/{owner}/{repo}/code-scanning/alerts` operation. */ - alert_number: components["parameters"]["alert-number"]; - }; - }; - responses: { - /** Response */ - 200: { - content: { - "application/json": components["schemas"]["secret-scanning-alert"]; - }; - }; - /** Repository is public, or secret scanning is disabled for the repository, or the resource is not found */ - 404: unknown; - /** State does not match the resolution */ - 422: unknown; - 503: components["responses"]["service_unavailable"]; - }; - requestBody: { - content: { - "application/json": { - state: components["schemas"]["secret-scanning-alert-state"]; - resolution?: components["schemas"]["secret-scanning-alert-resolution"]; - }; - }; - }; - }; - /** - * Lists the people that have starred the repository. - * - * You can also find out _when_ stars were created by passing the following custom [media type](https://docs.github.com/rest/overview/media-types/) via the `Accept` header: - */ - "activity/list-stargazers-for-repo": { - parameters: { - path: { - owner: components["parameters"]["owner"]; - repo: components["parameters"]["repo"]; - }; - query: { - /** Results per page (max 100) */ - per_page?: components["parameters"]["per-page"]; - /** Page number of the results to fetch. */ - page?: components["parameters"]["page"]; - }; - }; - responses: { - /** Response */ - 200: { - headers: {}; - content: { - "application/json": Partial & - Partial; - }; - }; - 422: components["responses"]["validation_failed"]; - }; - }; - /** Returns a weekly aggregate of the number of additions and deletions pushed to a repository. */ - "repos/get-code-frequency-stats": { - parameters: { - path: { - owner: components["parameters"]["owner"]; - repo: components["parameters"]["repo"]; - }; - }; - responses: { - /** Returns a weekly aggregate of the number of additions and deletions pushed to a repository. */ - 200: { - content: { - "application/json": components["schemas"]["code-frequency-stat"][]; - }; - }; - 202: components["responses"]["accepted"]; - 204: components["responses"]["no_content"]; - }; - }; - /** Returns the last year of commit activity grouped by week. The `days` array is a group of commits per day, starting on `Sunday`. */ - "repos/get-commit-activity-stats": { - parameters: { - path: { - owner: components["parameters"]["owner"]; - repo: components["parameters"]["repo"]; - }; - }; - responses: { - /** Response */ - 200: { - content: { - "application/json": components["schemas"]["commit-activity"][]; - }; - }; - 202: components["responses"]["accepted"]; - 204: components["responses"]["no_content"]; - }; - }; - /** - * Returns the `total` number of commits authored by the contributor. In addition, the response includes a Weekly Hash (`weeks` array) with the following information: - * - * * `w` - Start of the week, given as a [Unix timestamp](http://en.wikipedia.org/wiki/Unix_time). - * * `a` - Number of additions - * * `d` - Number of deletions - * * `c` - Number of commits - */ - "repos/get-contributors-stats": { - parameters: { - path: { - owner: components["parameters"]["owner"]; - repo: components["parameters"]["repo"]; - }; - }; - responses: { - /** - * * `w` - Start of the week, given as a [Unix timestamp](http://en.wikipedia.org/wiki/Unix_time). - * * `a` - Number of additions - * * `d` - Number of deletions - * * `c` - Number of commits - */ - 200: { - content: { - "application/json": components["schemas"]["contributor-activity"][]; - }; - }; - 202: components["responses"]["accepted"]; - 204: components["responses"]["no_content"]; - }; - }; - /** - * Returns the total commit counts for the `owner` and total commit counts in `all`. `all` is everyone combined, including the `owner` in the last 52 weeks. If you'd like to get the commit counts for non-owners, you can subtract `owner` from `all`. - * - * The array order is oldest week (index 0) to most recent week. - */ - "repos/get-participation-stats": { - parameters: { - path: { - owner: components["parameters"]["owner"]; - repo: components["parameters"]["repo"]; - }; - }; - responses: { - /** The array order is oldest week (index 0) to most recent week. */ - 200: { - content: { - "application/json": components["schemas"]["participation-stats"]; - }; - }; - 404: components["responses"]["not_found"]; - }; - }; - /** - * Each array contains the day number, hour number, and number of commits: - * - * * `0-6`: Sunday - Saturday - * * `0-23`: Hour of day - * * Number of commits - * - * For example, `[2, 14, 25]` indicates that there were 25 total commits, during the 2:00pm hour on Tuesdays. All times are based on the time zone of individual commits. - */ - "repos/get-punch-card-stats": { - parameters: { - path: { - owner: components["parameters"]["owner"]; - repo: components["parameters"]["repo"]; - }; - }; - responses: { - /** For example, `[2, 14, 25]` indicates that there were 25 total commits, during the 2:00pm hour on Tuesdays. All times are based on the time zone of individual commits. */ - 200: { - content: { - "application/json": components["schemas"]["code-frequency-stat"][]; - }; - }; - 204: components["responses"]["no_content"]; - }; - }; - /** - * Users with push access in a repository can create commit statuses for a given SHA. - * - * Note: there is a limit of 1000 statuses per `sha` and `context` within a repository. Attempts to create more than 1000 statuses will result in a validation error. - */ - "repos/create-commit-status": { - parameters: { - path: { - owner: components["parameters"]["owner"]; - repo: components["parameters"]["repo"]; - sha: string; - }; - }; - responses: { - /** Response */ - 201: { - headers: { - Location?: string; - }; - content: { - "application/json": components["schemas"]["status"]; - }; - }; - }; - requestBody: { - content: { - "application/json": { - /** The state of the status. Can be one of `error`, `failure`, `pending`, or `success`. */ - state: "error" | "failure" | "pending" | "success"; - /** - * The target URL to associate with this status. This URL will be linked from the GitHub UI to allow users to easily see the source of the status. - * For example, if your continuous integration system is posting build status, you would want to provide the deep link for the build output for this specific SHA: - * `http://ci.example.com/user/repo/build/sha` - */ - target_url?: string; - /** A short description of the status. */ - description?: string; - /** A string label to differentiate this status from the status of other systems. This field is case-insensitive. */ - context?: string; - }; - }; - }; - }; - /** Lists the people watching the specified repository. */ - "activity/list-watchers-for-repo": { - parameters: { - path: { - owner: components["parameters"]["owner"]; - repo: components["parameters"]["repo"]; - }; - query: { - /** Results per page (max 100) */ - per_page?: components["parameters"]["per-page"]; - /** Page number of the results to fetch. */ - page?: components["parameters"]["page"]; - }; - }; - responses: { - /** Response */ - 200: { - headers: {}; - content: { - "application/json": components["schemas"]["simple-user"][]; - }; - }; - }; - }; - "activity/get-repo-subscription": { - parameters: { - path: { - owner: components["parameters"]["owner"]; - repo: components["parameters"]["repo"]; - }; - }; - responses: { - /** if you subscribe to the repository */ - 200: { - content: { - "application/json": components["schemas"]["repository-subscription"]; - }; - }; - 403: components["responses"]["forbidden"]; - /** Not Found if you don't subscribe to the repository */ - 404: unknown; - }; - }; - /** If you would like to watch a repository, set `subscribed` to `true`. If you would like to ignore notifications made within a repository, set `ignored` to `true`. If you would like to stop watching a repository, [delete the repository's subscription](https://docs.github.com/rest/reference/activity#delete-a-repository-subscription) completely. */ - "activity/set-repo-subscription": { - parameters: { - path: { - owner: components["parameters"]["owner"]; - repo: components["parameters"]["repo"]; - }; - }; - responses: { - /** Response */ - 200: { - content: { - "application/json": components["schemas"]["repository-subscription"]; - }; - }; - }; - requestBody: { - content: { - "application/json": { - /** Determines if notifications should be received from this repository. */ - subscribed?: boolean; - /** Determines if all notifications should be blocked from this repository. */ - ignored?: boolean; - }; - }; - }; - }; - /** This endpoint should only be used to stop watching a repository. To control whether or not you wish to receive notifications from a repository, [set the repository's subscription manually](https://docs.github.com/rest/reference/activity#set-a-repository-subscription). */ - "activity/delete-repo-subscription": { - parameters: { - path: { - owner: components["parameters"]["owner"]; - repo: components["parameters"]["repo"]; - }; - }; - responses: { - /** Response */ - 204: never; - }; - }; - "repos/list-tags": { - parameters: { - path: { - owner: components["parameters"]["owner"]; - repo: components["parameters"]["repo"]; - }; - query: { - /** Results per page (max 100) */ - per_page?: components["parameters"]["per-page"]; - /** Page number of the results to fetch. */ - page?: components["parameters"]["page"]; - }; - }; - responses: { - /** Response */ - 200: { - headers: {}; - content: { - "application/json": components["schemas"]["tag"][]; - }; - }; - }; - }; - /** - * Gets a redirect URL to download a tar archive for a repository. If you omit `:ref`, the repository’s default branch (usually - * `master`) will be used. Please make sure your HTTP framework is configured to follow redirects or you will need to use - * the `Location` header to make a second `GET` request. - * **Note**: For private repositories, these links are temporary and expire after five minutes. - */ - "repos/download-tarball-archive": { - parameters: { - path: { - owner: components["parameters"]["owner"]; - repo: components["parameters"]["repo"]; - ref: string; - }; - }; - responses: { - /** Response */ - 302: never; - }; - }; - "repos/list-teams": { - parameters: { - path: { - owner: components["parameters"]["owner"]; - repo: components["parameters"]["repo"]; - }; - query: { - /** Results per page (max 100) */ - per_page?: components["parameters"]["per-page"]; - /** Page number of the results to fetch. */ - page?: components["parameters"]["page"]; - }; - }; - responses: { - /** Response */ - 200: { - headers: {}; - content: { - "application/json": components["schemas"]["team"][]; - }; - }; - }; - }; - "repos/get-all-topics": { - parameters: { - path: { - owner: components["parameters"]["owner"]; - repo: components["parameters"]["repo"]; - }; - query: { - /** Page number of the results to fetch. */ - page?: components["parameters"]["page"]; - /** Results per page (max 100) */ - per_page?: components["parameters"]["per-page"]; - }; - }; - responses: { - /** Response */ - 200: { - content: { - "application/json": components["schemas"]["topic"]; - }; - }; - 404: components["responses"]["not_found"]; - 415: components["responses"]["preview_header_missing"]; - }; - }; - "repos/replace-all-topics": { - parameters: { - path: { - owner: components["parameters"]["owner"]; - repo: components["parameters"]["repo"]; - }; - }; - responses: { - /** Response */ - 200: { - content: { - "application/json": components["schemas"]["topic"]; - }; - }; - 404: components["responses"]["not_found"]; - 415: components["responses"]["preview_header_missing"]; - 422: components["responses"]["validation_failed_simple"]; - }; - requestBody: { - content: { - "application/json": { - /** An array of topics to add to the repository. Pass one or more topics to _replace_ the set of existing topics. Send an empty array (`[]`) to clear all topics from the repository. **Note:** Topic `names` cannot contain uppercase letters. */ - names: string[]; - }; - }; - }; - }; - /** Get the total number of clones and breakdown per day or week for the last 14 days. Timestamps are aligned to UTC midnight of the beginning of the day or week. Week begins on Monday. */ - "repos/get-clones": { - parameters: { - path: { - owner: components["parameters"]["owner"]; - repo: components["parameters"]["repo"]; - }; - query: { - /** Must be one of: `day`, `week`. */ - per?: components["parameters"]["per"]; - }; - }; - responses: { - /** Response */ - 200: { - content: { - "application/json": components["schemas"]["clone-traffic"]; - }; - }; - 403: components["responses"]["forbidden"]; - }; - }; - /** Get the top 10 popular contents over the last 14 days. */ - "repos/get-top-paths": { - parameters: { - path: { - owner: components["parameters"]["owner"]; - repo: components["parameters"]["repo"]; - }; - }; - responses: { - /** Response */ - 200: { - content: { - "application/json": components["schemas"]["content-traffic"][]; - }; - }; - 403: components["responses"]["forbidden"]; - }; - }; - /** Get the top 10 referrers over the last 14 days. */ - "repos/get-top-referrers": { - parameters: { - path: { - owner: components["parameters"]["owner"]; - repo: components["parameters"]["repo"]; - }; - }; - responses: { - /** Response */ - 200: { - content: { - "application/json": components["schemas"]["referrer-traffic"][]; - }; - }; - 403: components["responses"]["forbidden"]; - }; - }; - /** Get the total number of views and breakdown per day or week for the last 14 days. Timestamps are aligned to UTC midnight of the beginning of the day or week. Week begins on Monday. */ - "repos/get-views": { - parameters: { - path: { - owner: components["parameters"]["owner"]; - repo: components["parameters"]["repo"]; - }; - query: { - /** Must be one of: `day`, `week`. */ - per?: components["parameters"]["per"]; - }; - }; - responses: { - /** Response */ - 200: { - content: { - "application/json": components["schemas"]["view-traffic"]; - }; - }; - 403: components["responses"]["forbidden"]; - }; - }; - /** A transfer request will need to be accepted by the new owner when transferring a personal repository to another user. The response will contain the original `owner`, and the transfer will continue asynchronously. For more details on the requirements to transfer personal and organization-owned repositories, see [about repository transfers](https://help.github.com/articles/about-repository-transfers/). */ - "repos/transfer": { - parameters: { - path: { - owner: components["parameters"]["owner"]; - repo: components["parameters"]["repo"]; - }; - }; - responses: { - /** Response */ - 202: { - content: { - "application/json": components["schemas"]["minimal-repository"]; - }; - }; - }; - requestBody: { - content: { - "application/json": { - /** The username or organization name the repository will be transferred to. */ - new_owner: string; - /** ID of the team or teams to add to the repository. Teams can only be added to organization-owned repositories. */ - team_ids?: number[]; - }; - }; - }; - }; - /** Shows whether dependency alerts are enabled or disabled for a repository. The authenticated user must have admin access to the repository. For more information, see "[About security alerts for vulnerable dependencies](https://help.github.com/en/articles/about-security-alerts-for-vulnerable-dependencies)". */ - "repos/check-vulnerability-alerts": { - parameters: { - path: { - owner: components["parameters"]["owner"]; - repo: components["parameters"]["repo"]; - }; - }; - responses: { - /** Response if repository is enabled with vulnerability alerts */ - 204: never; - /** Not Found if repository is not enabled with vulnerability alerts */ - 404: unknown; - }; - }; - /** Enables dependency alerts and the dependency graph for a repository. The authenticated user must have admin access to the repository. For more information, see "[About security alerts for vulnerable dependencies](https://help.github.com/en/articles/about-security-alerts-for-vulnerable-dependencies)". */ - "repos/enable-vulnerability-alerts": { - parameters: { - path: { - owner: components["parameters"]["owner"]; - repo: components["parameters"]["repo"]; - }; - }; - responses: { - /** Response */ - 204: never; - }; - }; - /** Disables dependency alerts and the dependency graph for a repository. The authenticated user must have admin access to the repository. For more information, see "[About security alerts for vulnerable dependencies](https://help.github.com/en/articles/about-security-alerts-for-vulnerable-dependencies)". */ - "repos/disable-vulnerability-alerts": { - parameters: { - path: { - owner: components["parameters"]["owner"]; - repo: components["parameters"]["repo"]; - }; - }; - responses: { - /** Response */ - 204: never; - }; - }; - /** - * Gets a redirect URL to download a zip archive for a repository. If you omit `:ref`, the repository’s default branch (usually - * `master`) will be used. Please make sure your HTTP framework is configured to follow redirects or you will need to use - * the `Location` header to make a second `GET` request. - * **Note**: For private repositories, these links are temporary and expire after five minutes. - */ - "repos/download-zipball-archive": { - parameters: { - path: { - owner: components["parameters"]["owner"]; - repo: components["parameters"]["repo"]; - ref: string; - }; - }; - responses: { - /** Response */ - 302: never; - }; - }; - /** - * Creates a new repository using a repository template. Use the `template_owner` and `template_repo` route parameters to specify the repository to use as the template. The authenticated user must own or be a member of an organization that owns the repository. To check if a repository is available to use as a template, get the repository's information using the [Get a repository](https://docs.github.com/rest/reference/repos#get-a-repository) endpoint and check that the `is_template` key is `true`. - * - * **OAuth scope requirements** - * - * When using [OAuth](https://docs.github.com/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/), authorizations must include: - * - * * `public_repo` scope or `repo` scope to create a public repository. Note: For GitHub AE, use `repo` scope to create an internal repository. - * * `repo` scope to create a private repository - */ - "repos/create-using-template": { - parameters: { - path: { - template_owner: string; - template_repo: string; - }; - }; - responses: { - /** Response */ - 201: { - headers: { - Location?: string; - }; - content: { - "application/json": components["schemas"]["repository"]; - }; - }; - }; - requestBody: { - content: { - "application/json": { - /** The organization or person who will own the new repository. To create a new repository in an organization, the authenticated user must be a member of the specified organization. */ - owner?: string; - /** The name of the new repository. */ - name: string; - /** A short description of the new repository. */ - description?: string; - /** Set to `true` to include the directory structure and files from all branches in the template repository, and not just the default branch. Default: `false`. */ - include_all_branches?: boolean; - /** Either `true` to create a new private repository or `false` to create a new public one. */ - private?: boolean; - }; - }; - }; - }; - /** - * Lists all public repositories in the order that they were created. - * - * Note: - * - For GitHub Enterprise Server, this endpoint will only list repositories available to all users on the enterprise. - * - Pagination is powered exclusively by the `since` parameter. Use the [Link header](https://docs.github.com/rest/overview/resources-in-the-rest-api#link-header) to get the URL for the next page of repositories. - */ - "repos/list-public": { - parameters: { - query: { - /** A repository ID. Only return repositories with an ID greater than this ID. */ - since?: components["parameters"]["since-repo"]; - }; - }; - responses: { - /** Response */ - 200: { - headers: { - Link?: string; - }; - content: { - "application/json": components["schemas"]["minimal-repository"][]; - }; - }; - 304: components["responses"]["not_modified"]; - 422: components["responses"]["validation_failed"]; - }; - }; - /** Lists all secrets available in an environment without revealing their encrypted values. You must authenticate using an access token with the `repo` scope to use this endpoint. GitHub Apps must have the `secrets` repository permission to use this endpoint. */ - "actions/list-environment-secrets": { - parameters: { - path: { - repository_id: components["parameters"]["repository-id"]; - /** The name of the environment */ - environment_name: components["parameters"]["environment-name"]; - }; - query: { - /** Results per page (max 100) */ - per_page?: components["parameters"]["per-page"]; - /** Page number of the results to fetch. */ - page?: components["parameters"]["page"]; - }; - }; - responses: { - /** Response */ - 200: { - headers: {}; - content: { - "application/json": { - total_count: number; - secrets: components["schemas"]["actions-secret"][]; - }; - }; - }; - }; - }; - /** Get the public key for an environment, which you need to encrypt environment secrets. You need to encrypt a secret before you can create or update secrets. Anyone with read access to the repository can use this endpoint. If the repository is private you must use an access token with the `repo` scope. GitHub Apps must have the `secrets` repository permission to use this endpoint. */ - "actions/get-environment-public-key": { - parameters: { - path: { - repository_id: components["parameters"]["repository-id"]; - /** The name of the environment */ - environment_name: components["parameters"]["environment-name"]; - }; - }; - responses: { - /** Response */ - 200: { - content: { - "application/json": components["schemas"]["actions-public-key"]; - }; - }; - }; - }; - /** Gets a single environment secret without revealing its encrypted value. You must authenticate using an access token with the `repo` scope to use this endpoint. GitHub Apps must have the `secrets` repository permission to use this endpoint. */ - "actions/get-environment-secret": { - parameters: { - path: { - repository_id: components["parameters"]["repository-id"]; - /** The name of the environment */ - environment_name: components["parameters"]["environment-name"]; - /** secret_name parameter */ - secret_name: components["parameters"]["secret-name"]; - }; - }; - responses: { - /** Response */ - 200: { - content: { - "application/json": components["schemas"]["actions-secret"]; - }; - }; - }; - }; - /** - * Creates or updates an environment secret with an encrypted value. Encrypt your secret using - * [LibSodium](https://libsodium.gitbook.io/doc/bindings_for_other_languages). You must authenticate using an access - * token with the `repo` scope to use this endpoint. GitHub Apps must have the `secrets` repository permission to use - * this endpoint. - * - * #### Example encrypting a secret using Node.js - * - * Encrypt your secret using the [tweetsodium](https://github.com/github/tweetsodium) library. - * - * ``` - * const sodium = require('tweetsodium'); - * - * const key = "base64-encoded-public-key"; - * const value = "plain-text-secret"; - * - * // Convert the message and key to Uint8Array's (Buffer implements that interface) - * const messageBytes = Buffer.from(value); - * const keyBytes = Buffer.from(key, 'base64'); - * - * // Encrypt using LibSodium. - * const encryptedBytes = sodium.seal(messageBytes, keyBytes); - * - * // Base64 the encrypted secret - * const encrypted = Buffer.from(encryptedBytes).toString('base64'); - * - * console.log(encrypted); - * ``` - * - * - * #### Example encrypting a secret using Python - * - * Encrypt your secret using [pynacl](https://pynacl.readthedocs.io/en/stable/public/#nacl-public-sealedbox) with Python 3. - * - * ``` - * from base64 import b64encode - * from nacl import encoding, public - * - * def encrypt(public_key: str, secret_value: str) -> str: - * """Encrypt a Unicode string using the public key.""" - * public_key = public.PublicKey(public_key.encode("utf-8"), encoding.Base64Encoder()) - * sealed_box = public.SealedBox(public_key) - * encrypted = sealed_box.encrypt(secret_value.encode("utf-8")) - * return b64encode(encrypted).decode("utf-8") - * ``` - * - * #### Example encrypting a secret using C# - * - * Encrypt your secret using the [Sodium.Core](https://www.nuget.org/packages/Sodium.Core/) package. - * - * ``` - * var secretValue = System.Text.Encoding.UTF8.GetBytes("mySecret"); - * var publicKey = Convert.FromBase64String("2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvvcCU="); - * - * var sealedPublicKeyBox = Sodium.SealedPublicKeyBox.Create(secretValue, publicKey); - * - * Console.WriteLine(Convert.ToBase64String(sealedPublicKeyBox)); - * ``` - * - * #### Example encrypting a secret using Ruby - * - * Encrypt your secret using the [rbnacl](https://github.com/RubyCrypto/rbnacl) gem. - * - * ```ruby - * require "rbnacl" - * require "base64" - * - * key = Base64.decode64("+ZYvJDZMHUfBkJdyq5Zm9SKqeuBQ4sj+6sfjlH4CgG0=") - * public_key = RbNaCl::PublicKey.new(key) - * - * box = RbNaCl::Boxes::Sealed.from_public_key(public_key) - * encrypted_secret = box.encrypt("my_secret") - * - * # Print the base64 encoded secret - * puts Base64.strict_encode64(encrypted_secret) - * ``` - */ - "actions/create-or-update-environment-secret": { - parameters: { - path: { - repository_id: components["parameters"]["repository-id"]; - /** The name of the environment */ - environment_name: components["parameters"]["environment-name"]; - /** secret_name parameter */ - secret_name: components["parameters"]["secret-name"]; - }; - }; - responses: { - /** Response when creating a secret */ - 201: { - content: { - "application/json": components["schemas"]["empty-object"]; - }; - }; - /** Response when updating a secret */ - 204: never; - }; - requestBody: { - content: { - "application/json": { - /** Value for your secret, encrypted with [LibSodium](https://libsodium.gitbook.io/doc/bindings_for_other_languages) using the public key retrieved from the [Get an environment public key](https://docs.github.com/rest/reference/actions#get-an-environment-public-key) endpoint. */ - encrypted_value?: string; - /** ID of the key you used to encrypt the secret. */ - key_id?: string; - }; - }; - }; - }; - /** Deletes a secret in an environment using the secret name. You must authenticate using an access token with the `repo` scope to use this endpoint. GitHub Apps must have the `secrets` repository permission to use this endpoint. */ - "actions/delete-environment-secret": { - parameters: { - path: { - repository_id: components["parameters"]["repository-id"]; - /** The name of the environment */ - environment_name: components["parameters"]["environment-name"]; - /** secret_name parameter */ - secret_name: components["parameters"]["secret-name"]; - }; - }; - responses: { - /** Default response */ - 204: never; - }; - }; - /** **Note:** The SCIM API endpoints for enterprise accounts are currently in beta and are subject to change. */ - "enterprise-admin/list-provisioned-groups-enterprise": { - parameters: { - path: { - /** The slug version of the enterprise name. You can also substitute this value with the enterprise id. */ - enterprise: components["parameters"]["enterprise"]; - }; - query: { - /** Used for pagination: the index of the first result to return. */ - startIndex?: components["parameters"]["start-index"]; - /** Used for pagination: the number of results to return. */ - count?: components["parameters"]["count"]; - /** filter results */ - filter?: string; - /** attributes to exclude */ - excludedAttributes?: string; - }; - }; - responses: { - /** Response */ - 200: { - content: { - "application/json": components["schemas"]["scim-group-list-enterprise"]; - }; - }; - }; - }; - /** - * **Note:** The SCIM API endpoints for enterprise accounts are currently in beta and are subject to change. - * - * Provision an enterprise group, and invite users to the group. This sends invitation emails to the email address of the invited users to join the GitHub organization that the SCIM group corresponds to. - */ - "enterprise-admin/provision-and-invite-enterprise-group": { - parameters: { - path: { - /** The slug version of the enterprise name. You can also substitute this value with the enterprise id. */ - enterprise: components["parameters"]["enterprise"]; - }; - }; - responses: { - /** Response */ - 201: { - content: { - "application/json": components["schemas"]["scim-enterprise-group"]; - }; - }; - }; - requestBody: { - content: { - "application/json": { - /** The SCIM schema URIs. */ - schemas: string[]; - /** The name of the SCIM group. This must match the GitHub organization that the group maps to. */ - displayName: string; - members?: { - /** The SCIM user ID for a user. */ - value: string; - }[]; - }; - }; - }; - }; - /** **Note:** The SCIM API endpoints for enterprise accounts are currently in beta and are subject to change. */ - "enterprise-admin/get-provisioning-information-for-enterprise-group": { - parameters: { - path: { - /** The slug version of the enterprise name. You can also substitute this value with the enterprise id. */ - enterprise: components["parameters"]["enterprise"]; - /** Identifier generated by the GitHub SCIM endpoint. */ - scim_group_id: components["parameters"]["scim-group-id"]; - }; - query: { - /** Attributes to exclude. */ - excludedAttributes?: string; - }; - }; - responses: { - /** Response */ - 200: { - content: { - "application/json": components["schemas"]["scim-enterprise-group"]; - }; - }; - }; - }; - /** - * **Note:** The SCIM API endpoints for enterprise accounts are currently in beta and are subject to change. - * - * Replaces an existing provisioned group’s information. You must provide all the information required for the group as if you were provisioning it for the first time. Any existing group information that you don't provide will be removed, including group membership. If you want to only update a specific attribute, use the [Update an attribute for a SCIM enterprise group](#update-an-attribute-for-a-scim-enterprise-group) endpoint instead. - */ - "enterprise-admin/set-information-for-provisioned-enterprise-group": { - parameters: { - path: { - /** The slug version of the enterprise name. You can also substitute this value with the enterprise id. */ - enterprise: components["parameters"]["enterprise"]; - /** Identifier generated by the GitHub SCIM endpoint. */ - scim_group_id: components["parameters"]["scim-group-id"]; - }; - }; - responses: { - /** Response */ - 200: { - content: { - "application/json": components["schemas"]["scim-enterprise-group"]; - }; - }; - }; - requestBody: { - content: { - "application/json": { - /** The SCIM schema URIs. */ - schemas: string[]; - /** The name of the SCIM group. This must match the GitHub organization that the group maps to. */ - displayName: string; - members?: { - /** The SCIM user ID for a user. */ - value: string; - }[]; - }; - }; - }; - }; - /** **Note:** The SCIM API endpoints for enterprise accounts are currently in beta and are subject to change. */ - "enterprise-admin/delete-scim-group-from-enterprise": { - parameters: { - path: { - /** The slug version of the enterprise name. You can also substitute this value with the enterprise id. */ - enterprise: components["parameters"]["enterprise"]; - /** Identifier generated by the GitHub SCIM endpoint. */ - scim_group_id: components["parameters"]["scim-group-id"]; - }; - }; - responses: { - /** Response */ - 204: never; - }; - }; - /** - * **Note:** The SCIM API endpoints for enterprise accounts are currently in beta and are subject to change. - * - * Allows you to change a provisioned group’s individual attributes. To change a group’s values, you must provide a specific Operations JSON format that contains at least one of the add, remove, or replace operations. For examples and more information on the SCIM operations format, see the [SCIM specification](https://tools.ietf.org/html/rfc7644#section-3.5.2). - */ - "enterprise-admin/update-attribute-for-enterprise-group": { - parameters: { - path: { - /** The slug version of the enterprise name. You can also substitute this value with the enterprise id. */ - enterprise: components["parameters"]["enterprise"]; - /** Identifier generated by the GitHub SCIM endpoint. */ - scim_group_id: components["parameters"]["scim-group-id"]; - }; - }; - responses: { - /** Response */ - 200: { - content: { - "application/json": components["schemas"]["scim-enterprise-group"]; - }; - }; - }; - requestBody: { - content: { - "application/json": { - /** The SCIM schema URIs. */ - schemas: string[]; - /** Array of [SCIM operations](https://tools.ietf.org/html/rfc7644#section-3.5.2). */ - Operations: { - op: "add" | "Add" | "remove" | "Remove" | "replace" | "Replace"; - path?: string; - value?: string | { [key: string]: unknown } | any[]; - }[]; - }; - }; - }; - }; - /** - * **Note:** The SCIM API endpoints for enterprise accounts are currently in beta and are subject to change. - * - * Retrieves a paginated list of all provisioned enterprise members, including pending invitations. - * - * When a user with a SAML-provisioned external identity leaves (or is removed from) an enterprise, the account's metadata is immediately removed. However, the returned list of user accounts might not always match the organization or enterprise member list you see on GitHub. This can happen in certain cases where an external identity associated with an organization will not match an organization member: - * - When a user with a SCIM-provisioned external identity is removed from an enterprise, the account's metadata is preserved to allow the user to re-join the organization in the future. - * - When inviting a user to join an organization, you can expect to see their external identity in the results before they accept the invitation, or if the invitation is cancelled (or never accepted). - * - When a user is invited over SCIM, an external identity is created that matches with the invitee's email address. However, this identity is only linked to a user account when the user accepts the invitation by going through SAML SSO. - * - * The returned list of external identities can include an entry for a `null` user. These are unlinked SAML identities that are created when a user goes through the following Single Sign-On (SSO) process but does not sign in to their GitHub account after completing SSO: - * - * 1. The user is granted access by the IdP and is not a member of the GitHub enterprise. - * - * 1. The user attempts to access the GitHub enterprise and initiates the SAML SSO process, and is not currently signed in to their GitHub account. - * - * 1. After successfully authenticating with the SAML SSO IdP, the `null` external identity entry is created and the user is prompted to sign in to their GitHub account: - * - If the user signs in, their GitHub account is linked to this entry. - * - If the user does not sign in (or does not create a new account when prompted), they are not added to the GitHub enterprise, and the external identity `null` entry remains in place. - */ - "enterprise-admin/list-provisioned-identities-enterprise": { - parameters: { - path: { - /** The slug version of the enterprise name. You can also substitute this value with the enterprise id. */ - enterprise: components["parameters"]["enterprise"]; - }; - query: { - /** Used for pagination: the index of the first result to return. */ - startIndex?: components["parameters"]["start-index"]; - /** Used for pagination: the number of results to return. */ - count?: components["parameters"]["count"]; - /** filter results */ - filter?: string; - }; - }; - responses: { - /** Response */ - 200: { - content: { - "application/json": components["schemas"]["scim-user-list-enterprise"]; - }; - }; - }; - }; - /** - * **Note:** The SCIM API endpoints for enterprise accounts are currently in beta and are subject to change. - * - * Provision enterprise membership for a user, and send organization invitation emails to the email address. - * - * You can optionally include the groups a user will be invited to join. If you do not provide a list of `groups`, the user is provisioned for the enterprise, but no organization invitation emails will be sent. - */ - "enterprise-admin/provision-and-invite-enterprise-user": { - parameters: { - path: { - /** The slug version of the enterprise name. You can also substitute this value with the enterprise id. */ - enterprise: components["parameters"]["enterprise"]; - }; - }; - responses: { - /** Response */ - 201: { - content: { - "application/json": components["schemas"]["scim-enterprise-user"]; - }; - }; - }; - requestBody: { - content: { - "application/json": { - /** The SCIM schema URIs. */ - schemas: string[]; - /** The username for the user. */ - userName: string; - name: { - /** The first name of the user. */ - givenName: string; - /** The last name of the user. */ - familyName: string; - }; - /** List of user emails. */ - emails: { - /** The email address. */ - value: string; - /** The type of email address. */ - type: string; - /** Whether this email address is the primary address. */ - primary: boolean; - }[]; - /** List of SCIM group IDs the user is a member of. */ - groups?: { - value?: string; - }[]; - }; - }; - }; - }; - /** **Note:** The SCIM API endpoints for enterprise accounts are currently in beta and are subject to change. */ - "enterprise-admin/get-provisioning-information-for-enterprise-user": { - parameters: { - path: { - /** The slug version of the enterprise name. You can also substitute this value with the enterprise id. */ - enterprise: components["parameters"]["enterprise"]; - /** scim_user_id parameter */ - scim_user_id: components["parameters"]["scim-user-id"]; - }; - }; - responses: { - /** Response */ - 200: { - content: { - "application/json": components["schemas"]["scim-enterprise-user"]; - }; - }; - }; - }; - /** - * **Note:** The SCIM API endpoints for enterprise accounts are currently in beta and are subject to change. - * - * Replaces an existing provisioned user's information. You must provide all the information required for the user as if you were provisioning them for the first time. Any existing user information that you don't provide will be removed. If you want to only update a specific attribute, use the [Update an attribute for a SCIM user](#update-an-attribute-for-an-enterprise-scim-user) endpoint instead. - * - * You must at least provide the required values for the user: `userName`, `name`, and `emails`. - * - * **Warning:** Setting `active: false` removes the user from the enterprise, deletes the external identity, and deletes the associated `{scim_user_id}`. - */ - "enterprise-admin/set-information-for-provisioned-enterprise-user": { - parameters: { - path: { - /** The slug version of the enterprise name. You can also substitute this value with the enterprise id. */ - enterprise: components["parameters"]["enterprise"]; - /** scim_user_id parameter */ - scim_user_id: components["parameters"]["scim-user-id"]; - }; - }; - responses: { - /** Response */ - 200: { - content: { - "application/json": components["schemas"]["scim-enterprise-user"]; - }; - }; - }; - requestBody: { - content: { - "application/json": { - /** The SCIM schema URIs. */ - schemas: string[]; - /** The username for the user. */ - userName: string; - name: { - /** The first name of the user. */ - givenName: string; - /** The last name of the user. */ - familyName: string; - }; - /** List of user emails. */ - emails: { - /** The email address. */ - value: string; - /** The type of email address. */ - type: string; - /** Whether this email address is the primary address. */ - primary: boolean; - }[]; - /** List of SCIM group IDs the user is a member of. */ - groups?: { - value?: string; - }[]; - }; - }; - }; - }; - /** **Note:** The SCIM API endpoints for enterprise accounts are currently in beta and are subject to change. */ - "enterprise-admin/delete-user-from-enterprise": { - parameters: { - path: { - /** The slug version of the enterprise name. You can also substitute this value with the enterprise id. */ - enterprise: components["parameters"]["enterprise"]; - /** scim_user_id parameter */ - scim_user_id: components["parameters"]["scim-user-id"]; - }; - }; - responses: { - /** Response */ - 204: never; - }; - }; - /** - * **Note:** The SCIM API endpoints for enterprise accounts are currently in beta and are subject to change. - * - * Allows you to change a provisioned user's individual attributes. To change a user's values, you must provide a specific `Operations` JSON format that contains at least one of the `add`, `remove`, or `replace` operations. For examples and more information on the SCIM operations format, see the [SCIM specification](https://tools.ietf.org/html/rfc7644#section-3.5.2). - * - * **Note:** Complicated SCIM `path` selectors that include filters are not supported. For example, a `path` selector defined as `"path": "emails[type eq \"work\"]"` will not work. - * - * **Warning:** If you set `active:false` using the `replace` operation (as shown in the JSON example below), it removes the user from the enterprise, deletes the external identity, and deletes the associated `:scim_user_id`. - * - * ``` - * { - * "Operations":[{ - * "op":"replace", - * "value":{ - * "active":false - * } - * }] - * } - * ``` - */ - "enterprise-admin/update-attribute-for-enterprise-user": { - parameters: { - path: { - /** The slug version of the enterprise name. You can also substitute this value with the enterprise id. */ - enterprise: components["parameters"]["enterprise"]; - /** scim_user_id parameter */ - scim_user_id: components["parameters"]["scim-user-id"]; - }; - }; - responses: { - /** Response */ - 200: { - content: { - "application/json": components["schemas"]["scim-enterprise-user"]; - }; - }; - }; - requestBody: { - content: { - "application/json": { - /** The SCIM schema URIs. */ - schemas: string[]; - /** Array of [SCIM operations](https://tools.ietf.org/html/rfc7644#section-3.5.2). */ - Operations: { [key: string]: unknown }[]; - }; - }; - }; - }; - /** - * Retrieves a paginated list of all provisioned organization members, including pending invitations. If you provide the `filter` parameter, the resources for all matching provisions members are returned. - * - * When a user with a SAML-provisioned external identity leaves (or is removed from) an organization, the account's metadata is immediately removed. However, the returned list of user accounts might not always match the organization or enterprise member list you see on GitHub. This can happen in certain cases where an external identity associated with an organization will not match an organization member: - * - When a user with a SCIM-provisioned external identity is removed from an organization, the account's metadata is preserved to allow the user to re-join the organization in the future. - * - When inviting a user to join an organization, you can expect to see their external identity in the results before they accept the invitation, or if the invitation is cancelled (or never accepted). - * - When a user is invited over SCIM, an external identity is created that matches with the invitee's email address. However, this identity is only linked to a user account when the user accepts the invitation by going through SAML SSO. - * - * The returned list of external identities can include an entry for a `null` user. These are unlinked SAML identities that are created when a user goes through the following Single Sign-On (SSO) process but does not sign in to their GitHub account after completing SSO: - * - * 1. The user is granted access by the IdP and is not a member of the GitHub organization. - * - * 1. The user attempts to access the GitHub organization and initiates the SAML SSO process, and is not currently signed in to their GitHub account. - * - * 1. After successfully authenticating with the SAML SSO IdP, the `null` external identity entry is created and the user is prompted to sign in to their GitHub account: - * - If the user signs in, their GitHub account is linked to this entry. - * - If the user does not sign in (or does not create a new account when prompted), they are not added to the GitHub organization, and the external identity `null` entry remains in place. - */ - "scim/list-provisioned-identities": { - parameters: { - path: { - org: components["parameters"]["org"]; - }; - query: { - /** Used for pagination: the index of the first result to return. */ - startIndex?: number; - /** Used for pagination: the number of results to return. */ - count?: number; - /** - * Filters results using the equals query parameter operator (`eq`). You can filter results that are equal to `id`, `userName`, `emails`, and `external_id`. For example, to search for an identity with the `userName` Octocat, you would use this query: - * - * `?filter=userName%20eq%20\"Octocat\"`. - * - * To filter results for the identity with the email `octocat@github.com`, you would use this query: - * - * `?filter=emails%20eq%20\"octocat@github.com\"`. - */ - filter?: string; - }; - }; - responses: { - /** Response */ - 200: { - content: { - "application/scim+json": components["schemas"]["scim-user-list"]; - }; - }; - 304: components["responses"]["not_modified"]; - 400: components["responses"]["scim_bad_request"]; - 403: components["responses"]["scim_forbidden"]; - 404: components["responses"]["scim_not_found"]; - }; - }; - /** Provision organization membership for a user, and send an activation email to the email address. */ - "scim/provision-and-invite-user": { - parameters: { - path: { - org: components["parameters"]["org"]; - }; - }; - responses: { - /** Response */ - 201: { - content: { - "application/scim+json": components["schemas"]["scim-user"]; - }; - }; - 304: components["responses"]["not_modified"]; - 400: components["responses"]["scim_bad_request"]; - 403: components["responses"]["scim_forbidden"]; - 404: components["responses"]["scim_not_found"]; - 409: components["responses"]["scim_conflict"]; - 500: components["responses"]["scim_internal_error"]; - }; - requestBody: { - content: { - "application/json": { - /** Configured by the admin. Could be an email, login, or username */ - userName: string; - /** The name of the user, suitable for display to end-users */ - displayName?: string; - name: { - givenName: string; - familyName: string; - formatted?: string; - }; - /** user emails */ - emails: { - value: string; - primary?: boolean; - type?: string; - }[]; - schemas?: string[]; - externalId?: string; - groups?: string[]; - active?: boolean; - }; - }; - }; - }; - "scim/get-provisioning-information-for-user": { - parameters: { - path: { - org: components["parameters"]["org"]; - /** scim_user_id parameter */ - scim_user_id: components["parameters"]["scim-user-id"]; - }; - }; - responses: { - /** Response */ - 200: { - content: { - "application/scim+json": components["schemas"]["scim-user"]; - }; - }; - 304: components["responses"]["not_modified"]; - 403: components["responses"]["scim_forbidden"]; - 404: components["responses"]["scim_not_found"]; - }; - }; - /** - * Replaces an existing provisioned user's information. You must provide all the information required for the user as if you were provisioning them for the first time. Any existing user information that you don't provide will be removed. If you want to only update a specific attribute, use the [Update an attribute for a SCIM user](https://docs.github.com/rest/reference/scim#update-an-attribute-for-a-scim-user) endpoint instead. - * - * You must at least provide the required values for the user: `userName`, `name`, and `emails`. - * - * **Warning:** Setting `active: false` removes the user from the organization, deletes the external identity, and deletes the associated `{scim_user_id}`. - */ - "scim/set-information-for-provisioned-user": { - parameters: { - path: { - org: components["parameters"]["org"]; - /** scim_user_id parameter */ - scim_user_id: components["parameters"]["scim-user-id"]; - }; - }; - responses: { - /** Response */ - 200: { - content: { - "application/scim+json": components["schemas"]["scim-user"]; - }; - }; - 304: components["responses"]["not_modified"]; - 403: components["responses"]["scim_forbidden"]; - 404: components["responses"]["scim_not_found"]; - }; - requestBody: { - content: { - "application/json": { - schemas?: string[]; - /** The name of the user, suitable for display to end-users */ - displayName?: string; - externalId?: string; - groups?: string[]; - active?: boolean; - /** Configured by the admin. Could be an email, login, or username */ - userName: string; - name: { - givenName: string; - familyName: string; - formatted?: string; - }; - /** user emails */ - emails: { - type?: string; - value: string; - primary?: boolean; - }[]; - }; - }; - }; - }; - "scim/delete-user-from-org": { - parameters: { - path: { - org: components["parameters"]["org"]; - /** scim_user_id parameter */ - scim_user_id: components["parameters"]["scim-user-id"]; - }; - }; - responses: { - /** Response */ - 204: never; - 304: components["responses"]["not_modified"]; - 403: components["responses"]["scim_forbidden"]; - 404: components["responses"]["scim_not_found"]; - }; - }; - /** - * Allows you to change a provisioned user's individual attributes. To change a user's values, you must provide a specific `Operations` JSON format that contains at least one of the `add`, `remove`, or `replace` operations. For examples and more information on the SCIM operations format, see the [SCIM specification](https://tools.ietf.org/html/rfc7644#section-3.5.2). - * - * **Note:** Complicated SCIM `path` selectors that include filters are not supported. For example, a `path` selector defined as `"path": "emails[type eq \"work\"]"` will not work. - * - * **Warning:** If you set `active:false` using the `replace` operation (as shown in the JSON example below), it removes the user from the organization, deletes the external identity, and deletes the associated `:scim_user_id`. - * - * ``` - * { - * "Operations":[{ - * "op":"replace", - * "value":{ - * "active":false - * } - * }] - * } - * ``` - */ - "scim/update-attribute-for-user": { - parameters: { - path: { - org: components["parameters"]["org"]; - /** scim_user_id parameter */ - scim_user_id: components["parameters"]["scim-user-id"]; - }; - }; - responses: { - /** Response */ - 200: { - content: { - "application/scim+json": components["schemas"]["scim-user"]; - }; - }; - 304: components["responses"]["not_modified"]; - 400: components["responses"]["scim_bad_request"]; - 403: components["responses"]["scim_forbidden"]; - 404: components["responses"]["scim_not_found"]; - /** Response */ - 429: { - content: { - "application/json": components["schemas"]["basic-error"]; - }; - }; - }; - requestBody: { - content: { - "application/json": { - schemas?: string[]; - /** Set of operations to be performed */ - Operations: { - op: "add" | "remove" | "replace"; - path?: string; - value?: - | { - active?: boolean | null; - userName?: string | null; - externalId?: string | null; - givenName?: string | null; - familyName?: string | null; - } - | { - value?: string; - primary?: boolean; - }[] - | string; - }[]; - }; - }; - }; - }; - /** - * Searches for query terms inside of a file. This method returns up to 100 results [per page](https://docs.github.com/rest/overview/resources-in-the-rest-api#pagination). - * - * When searching for code, you can get text match metadata for the file **content** and file **path** fields when you pass the `text-match` media type. For more details about how to receive highlighted search results, see [Text match metadata](https://docs.github.com/rest/reference/search#text-match-metadata). - * - * For example, if you want to find the definition of the `addClass` function inside [jQuery](https://github.com/jquery/jquery) repository, your query would look something like this: - * - * `q=addClass+in:file+language:js+repo:jquery/jquery` - * - * This query searches for the keyword `addClass` within a file's contents. The query limits the search to files where the language is JavaScript in the `jquery/jquery` repository. - * - * #### Considerations for code search - * - * Due to the complexity of searching code, there are a few restrictions on how searches are performed: - * - * * Only the _default branch_ is considered. In most cases, this will be the `master` branch. - * * Only files smaller than 384 KB are searchable. - * * You must always include at least one search term when searching source code. For example, searching for [`language:go`](https://github.com/search?utf8=%E2%9C%93&q=language%3Ago&type=Code) is not valid, while [`amazing - * language:go`](https://github.com/search?utf8=%E2%9C%93&q=amazing+language%3Ago&type=Code) is. - */ - "search/code": { - parameters: { - query: { - /** The query contains one or more search keywords and qualifiers. Qualifiers allow you to limit your search to specific areas of GitHub. The REST API supports the same qualifiers as GitHub.com. To learn more about the format of the query, see [Constructing a search query](https://docs.github.com/rest/reference/search#constructing-a-search-query). See "[Searching code](https://help.github.com/articles/searching-code/)" for a detailed list of qualifiers. */ - q: string; - /** Sorts the results of your query. Can only be `indexed`, which indicates how recently a file has been indexed by the GitHub search infrastructure. Default: [best match](https://docs.github.com/rest/reference/search#ranking-search-results) */ - sort?: "indexed"; - /** Determines whether the first search result returned is the highest number of matches (`desc`) or lowest number of matches (`asc`). This parameter is ignored unless you provide `sort`. */ - order?: components["parameters"]["order"]; - /** Results per page (max 100) */ - per_page?: components["parameters"]["per-page"]; - /** Page number of the results to fetch. */ - page?: components["parameters"]["page"]; - }; - }; - responses: { - /** Response */ - 200: { - content: { - "application/json": { - total_count: number; - incomplete_results: boolean; - items: components["schemas"]["code-search-result-item"][]; - }; - }; - }; - 304: components["responses"]["not_modified"]; - 403: components["responses"]["forbidden"]; - 422: components["responses"]["validation_failed"]; - 503: components["responses"]["service_unavailable"]; - }; - }; - /** - * Find commits via various criteria on the default branch (usually `master`). This method returns up to 100 results [per page](https://docs.github.com/rest/overview/resources-in-the-rest-api#pagination). - * - * When searching for commits, you can get text match metadata for the **message** field when you provide the `text-match` media type. For more details about how to receive highlighted search results, see [Text match - * metadata](https://docs.github.com/rest/reference/search#text-match-metadata). - * - * For example, if you want to find commits related to CSS in the [octocat/Spoon-Knife](https://github.com/octocat/Spoon-Knife) repository. Your query would look something like this: - * - * `q=repo:octocat/Spoon-Knife+css` - */ - "search/commits": { - parameters: { - query: { - /** The query contains one or more search keywords and qualifiers. Qualifiers allow you to limit your search to specific areas of GitHub. The REST API supports the same qualifiers as GitHub.com. To learn more about the format of the query, see [Constructing a search query](https://docs.github.com/rest/reference/search#constructing-a-search-query). See "[Searching commits](https://help.github.com/articles/searching-commits/)" for a detailed list of qualifiers. */ - q: string; - /** Sorts the results of your query by `author-date` or `committer-date`. Default: [best match](https://docs.github.com/rest/reference/search#ranking-search-results) */ - sort?: "author-date" | "committer-date"; - /** Determines whether the first search result returned is the highest number of matches (`desc`) or lowest number of matches (`asc`). This parameter is ignored unless you provide `sort`. */ - order?: components["parameters"]["order"]; - /** Results per page (max 100) */ - per_page?: components["parameters"]["per-page"]; - /** Page number of the results to fetch. */ - page?: components["parameters"]["page"]; - }; - }; - responses: { - /** Response */ - 200: { - content: { - "application/json": { - total_count: number; - incomplete_results: boolean; - items: components["schemas"]["commit-search-result-item"][]; - }; - }; - }; - 304: components["responses"]["not_modified"]; - 415: components["responses"]["preview_header_missing"]; - }; - }; - /** - * Find issues by state and keyword. This method returns up to 100 results [per page](https://docs.github.com/rest/overview/resources-in-the-rest-api#pagination). - * - * When searching for issues, you can get text match metadata for the issue **title**, issue **body**, and issue **comment body** fields when you pass the `text-match` media type. For more details about how to receive highlighted - * search results, see [Text match metadata](https://docs.github.com/rest/reference/search#text-match-metadata). - * - * For example, if you want to find the oldest unresolved Python bugs on Windows. Your query might look something like this. - * - * `q=windows+label:bug+language:python+state:open&sort=created&order=asc` - * - * This query searches for the keyword `windows`, within any open issue that is labeled as `bug`. The search runs across repositories whose primary language is Python. The results are sorted by creation date in ascending order, which means the oldest issues appear first in the search results. - * - * **Note:** For [user-to-server](https://docs.github.com/developers/apps/identifying-and-authorizing-users-for-github-apps#user-to-server-requests) GitHub App requests, you can't retrieve a combination of issues and pull requests in a single query. Requests that don't include the `is:issue` or `is:pull-request` qualifier will receive an HTTP `422 Unprocessable Entity` response. To get results for both issues and pull requests, you must send separate queries for issues and pull requests. For more information about the `is` qualifier, see "[Searching only issues or pull requests](https://docs.github.com/github/searching-for-information-on-github/searching-issues-and-pull-requests#search-only-issues-or-pull-requests)." - */ - "search/issues-and-pull-requests": { - parameters: { - query: { - /** The query contains one or more search keywords and qualifiers. Qualifiers allow you to limit your search to specific areas of GitHub. The REST API supports the same qualifiers as GitHub.com. To learn more about the format of the query, see [Constructing a search query](https://docs.github.com/rest/reference/search#constructing-a-search-query). See "[Searching issues and pull requests](https://help.github.com/articles/searching-issues-and-pull-requests/)" for a detailed list of qualifiers. */ - q: string; - /** Sorts the results of your query by the number of `comments`, `reactions`, `reactions-+1`, `reactions--1`, `reactions-smile`, `reactions-thinking_face`, `reactions-heart`, `reactions-tada`, or `interactions`. You can also sort results by how recently the items were `created` or `updated`, Default: [best match](https://docs.github.com/rest/reference/search#ranking-search-results) */ - sort?: - | "comments" - | "reactions" - | "reactions-+1" - | "reactions--1" - | "reactions-smile" - | "reactions-thinking_face" - | "reactions-heart" - | "reactions-tada" - | "interactions" - | "created" - | "updated"; - /** Determines whether the first search result returned is the highest number of matches (`desc`) or lowest number of matches (`asc`). This parameter is ignored unless you provide `sort`. */ - order?: components["parameters"]["order"]; - /** Results per page (max 100) */ - per_page?: components["parameters"]["per-page"]; - /** Page number of the results to fetch. */ - page?: components["parameters"]["page"]; - }; - }; - responses: { - /** Response */ - 200: { - content: { - "application/json": { - total_count: number; - incomplete_results: boolean; - items: components["schemas"]["issue-search-result-item"][]; - }; - }; - }; - 304: components["responses"]["not_modified"]; - 403: components["responses"]["forbidden"]; - 422: components["responses"]["validation_failed"]; - 503: components["responses"]["service_unavailable"]; - }; - }; - /** - * Find labels in a repository with names or descriptions that match search keywords. Returns up to 100 results [per page](https://docs.github.com/rest/overview/resources-in-the-rest-api#pagination). - * - * When searching for labels, you can get text match metadata for the label **name** and **description** fields when you pass the `text-match` media type. For more details about how to receive highlighted search results, see [Text match metadata](https://docs.github.com/rest/reference/search#text-match-metadata). - * - * For example, if you want to find labels in the `linguist` repository that match `bug`, `defect`, or `enhancement`. Your query might look like this: - * - * `q=bug+defect+enhancement&repository_id=64778136` - * - * The labels that best match the query appear first in the search results. - */ - "search/labels": { - parameters: { - query: { - /** The id of the repository. */ - repository_id: number; - /** The search keywords. This endpoint does not accept qualifiers in the query. To learn more about the format of the query, see [Constructing a search query](https://docs.github.com/rest/reference/search#constructing-a-search-query). */ - q: string; - /** Sorts the results of your query by when the label was `created` or `updated`. Default: [best match](https://docs.github.com/rest/reference/search#ranking-search-results) */ - sort?: "created" | "updated"; - /** Determines whether the first search result returned is the highest number of matches (`desc`) or lowest number of matches (`asc`). This parameter is ignored unless you provide `sort`. */ - order?: components["parameters"]["order"]; - /** Results per page (max 100) */ - per_page?: components["parameters"]["per-page"]; - /** Page number of the results to fetch. */ - page?: components["parameters"]["page"]; - }; - }; - responses: { - /** Response */ - 200: { - content: { - "application/json": { - total_count: number; - incomplete_results: boolean; - items: components["schemas"]["label-search-result-item"][]; - }; - }; - }; - 304: components["responses"]["not_modified"]; - 403: components["responses"]["forbidden"]; - 404: components["responses"]["not_found"]; - 422: components["responses"]["validation_failed"]; - }; - }; - /** - * Find repositories via various criteria. This method returns up to 100 results [per page](https://docs.github.com/rest/overview/resources-in-the-rest-api#pagination). - * - * When searching for repositories, you can get text match metadata for the **name** and **description** fields when you pass the `text-match` media type. For more details about how to receive highlighted search results, see [Text match metadata](https://docs.github.com/rest/reference/search#text-match-metadata). - * - * For example, if you want to search for popular Tetris repositories written in assembly code, your query might look like this: - * - * `q=tetris+language:assembly&sort=stars&order=desc` - * - * This query searches for repositories with the word `tetris` in the name, the description, or the README. The results are limited to repositories where the primary language is assembly. The results are sorted by stars in descending order, so that the most popular repositories appear first in the search results. - * - * When you include the `mercy` preview header, you can also search for multiple topics by adding more `topic:` instances. For example, your query might look like this: - * - * `q=topic:ruby+topic:rails` - */ - "search/repos": { - parameters: { - query: { - /** The query contains one or more search keywords and qualifiers. Qualifiers allow you to limit your search to specific areas of GitHub. The REST API supports the same qualifiers as GitHub.com. To learn more about the format of the query, see [Constructing a search query](https://docs.github.com/rest/reference/search#constructing-a-search-query). See "[Searching for repositories](https://help.github.com/articles/searching-for-repositories/)" for a detailed list of qualifiers. */ - q: string; - /** Sorts the results of your query by number of `stars`, `forks`, or `help-wanted-issues` or how recently the items were `updated`. Default: [best match](https://docs.github.com/rest/reference/search#ranking-search-results) */ - sort?: "stars" | "forks" | "help-wanted-issues" | "updated"; - /** Determines whether the first search result returned is the highest number of matches (`desc`) or lowest number of matches (`asc`). This parameter is ignored unless you provide `sort`. */ - order?: components["parameters"]["order"]; - /** Results per page (max 100) */ - per_page?: components["parameters"]["per-page"]; - /** Page number of the results to fetch. */ - page?: components["parameters"]["page"]; - }; - }; - responses: { - /** Response */ - 200: { - content: { - "application/json": { - total_count: number; - incomplete_results: boolean; - items: components["schemas"]["repo-search-result-item"][]; - }; - }; - }; - 304: components["responses"]["not_modified"]; - 422: components["responses"]["validation_failed"]; - 503: components["responses"]["service_unavailable"]; - }; - }; - /** - * Find topics via various criteria. Results are sorted by best match. This method returns up to 100 results [per page](https://docs.github.com/rest/overview/resources-in-the-rest-api#pagination). See "[Searching topics](https://help.github.com/articles/searching-topics/)" for a detailed list of qualifiers. - * - * When searching for topics, you can get text match metadata for the topic's **short\_description**, **description**, **name**, or **display\_name** field when you pass the `text-match` media type. For more details about how to receive highlighted search results, see [Text match metadata](https://docs.github.com/rest/reference/search#text-match-metadata). - * - * For example, if you want to search for topics related to Ruby that are featured on https://github.com/topics. Your query might look like this: - * - * `q=ruby+is:featured` - * - * This query searches for topics with the keyword `ruby` and limits the results to find only topics that are featured. The topics that are the best match for the query appear first in the search results. - */ - "search/topics": { - parameters: { - query: { - /** The query contains one or more search keywords and qualifiers. Qualifiers allow you to limit your search to specific areas of GitHub. The REST API supports the same qualifiers as GitHub.com. To learn more about the format of the query, see [Constructing a search query](https://docs.github.com/rest/reference/search#constructing-a-search-query). */ - q: string; - /** Results per page (max 100) */ - per_page?: components["parameters"]["per-page"]; - /** Page number of the results to fetch. */ - page?: components["parameters"]["page"]; - }; - }; - responses: { - /** Response */ - 200: { - content: { - "application/json": { - total_count: number; - incomplete_results: boolean; - items: components["schemas"]["topic-search-result-item"][]; - }; - }; - }; - 304: components["responses"]["not_modified"]; - 415: components["responses"]["preview_header_missing"]; - }; - }; - /** - * Find users via various criteria. This method returns up to 100 results [per page](https://docs.github.com/rest/overview/resources-in-the-rest-api#pagination). - * - * When searching for users, you can get text match metadata for the issue **login**, **email**, and **name** fields when you pass the `text-match` media type. For more details about highlighting search results, see [Text match metadata](https://docs.github.com/rest/reference/search#text-match-metadata). For more details about how to receive highlighted search results, see [Text match metadata](https://docs.github.com/rest/reference/search#text-match-metadata). - * - * For example, if you're looking for a list of popular users, you might try this query: - * - * `q=tom+repos:%3E42+followers:%3E1000` - * - * This query searches for users with the name `tom`. The results are restricted to users with more than 42 repositories and over 1,000 followers. - */ - "search/users": { - parameters: { - query: { - /** The query contains one or more search keywords and qualifiers. Qualifiers allow you to limit your search to specific areas of GitHub. The REST API supports the same qualifiers as GitHub.com. To learn more about the format of the query, see [Constructing a search query](https://docs.github.com/rest/reference/search#constructing-a-search-query). See "[Searching users](https://help.github.com/articles/searching-users/)" for a detailed list of qualifiers. */ - q: string; - /** Sorts the results of your query by number of `followers` or `repositories`, or when the person `joined` GitHub. Default: [best match](https://docs.github.com/rest/reference/search#ranking-search-results) */ - sort?: "followers" | "repositories" | "joined"; - /** Determines whether the first search result returned is the highest number of matches (`desc`) or lowest number of matches (`asc`). This parameter is ignored unless you provide `sort`. */ - order?: components["parameters"]["order"]; - /** Results per page (max 100) */ - per_page?: components["parameters"]["per-page"]; - /** Page number of the results to fetch. */ - page?: components["parameters"]["page"]; - }; - }; - responses: { - /** Response */ - 200: { - content: { - "application/json": { - total_count: number; - incomplete_results: boolean; - items: components["schemas"]["user-search-result-item"][]; - }; - }; - }; - 304: components["responses"]["not_modified"]; - 422: components["responses"]["validation_failed"]; - 503: components["responses"]["service_unavailable"]; - }; - }; - /** **Deprecation Notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the [Get a team by name](https://docs.github.com/rest/reference/teams#get-a-team-by-name) endpoint. */ - "teams/get-legacy": { - parameters: { - path: { - team_id: components["parameters"]["team-id"]; - }; - }; - responses: { - /** Response */ - 200: { - content: { - "application/json": components["schemas"]["team-full"]; - }; - }; - 404: components["responses"]["not_found"]; - }; - }; - /** - * **Deprecation Notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [Delete a team](https://docs.github.com/rest/reference/teams#delete-a-team) endpoint. - * - * To delete a team, the authenticated user must be an organization owner or team maintainer. - * - * If you are an organization owner, deleting a parent team will delete all of its child teams as well. - */ - "teams/delete-legacy": { - parameters: { - path: { - team_id: components["parameters"]["team-id"]; - }; - }; - responses: { - /** Response */ - 204: never; - 404: components["responses"]["not_found"]; - 422: components["responses"]["validation_failed"]; - }; - }; - /** - * **Deprecation Notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [Update a team](https://docs.github.com/rest/reference/teams#update-a-team) endpoint. - * - * To edit a team, the authenticated user must either be an organization owner or a team maintainer. - * - * **Note:** With nested teams, the `privacy` for parent teams cannot be `secret`. - */ - "teams/update-legacy": { - parameters: { - path: { - team_id: components["parameters"]["team-id"]; - }; - }; - responses: { - /** Response */ - 200: { - content: { - "application/json": components["schemas"]["team-full"]; - }; - }; - /** Response */ - 201: { - content: { - "application/json": components["schemas"]["team-full"]; - }; - }; - 403: components["responses"]["forbidden"]; - 404: components["responses"]["not_found"]; - 422: components["responses"]["validation_failed"]; - }; - requestBody: { - content: { - "application/json": { - /** The name of the team. */ - name: string; - /** The description of the team. */ - description?: string; - /** - * The level of privacy this team should have. Editing teams without specifying this parameter leaves `privacy` intact. The options are: - * **For a non-nested team:** - * \* `secret` - only visible to organization owners and members of this team. - * \* `closed` - visible to all members of this organization. - * **For a parent or child team:** - * \* `closed` - visible to all members of this organization. - */ - privacy?: "secret" | "closed"; - /** - * **Deprecated**. The permission that new repositories will be added to the team with when none is specified. Can be one of: - * \* `pull` - team members can pull, but not push to or administer newly-added repositories. - * \* `push` - team members can pull and push, but not administer newly-added repositories. - * \* `admin` - team members can pull, push and administer newly-added repositories. - */ - permission?: "pull" | "push" | "admin"; - /** The ID of a team to set as the parent team. */ - parent_team_id?: number | null; - }; - }; - }; - }; - /** - * **Deprecation Notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [`List discussions`](https://docs.github.com/rest/reference/teams#list-discussions) endpoint. - * - * List all discussions on a team's page. OAuth access tokens require the `read:discussion` [scope](https://docs.github.com/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/). - */ - "teams/list-discussions-legacy": { - parameters: { - path: { - team_id: components["parameters"]["team-id"]; - }; - query: { - /** One of `asc` (ascending) or `desc` (descending). */ - direction?: components["parameters"]["direction"]; - /** Results per page (max 100) */ - per_page?: components["parameters"]["per-page"]; - /** Page number of the results to fetch. */ - page?: components["parameters"]["page"]; - }; - }; - responses: { - /** Response */ - 200: { - headers: {}; - content: { - "application/json": components["schemas"]["team-discussion"][]; - }; - }; - }; - }; - /** - * **Deprecation Notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [`Create a discussion`](https://docs.github.com/rest/reference/teams#create-a-discussion) endpoint. - * - * Creates a new discussion post on a team's page. OAuth access tokens require the `write:discussion` [scope](https://docs.github.com/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/). - * - * This endpoint triggers [notifications](https://docs.github.com/en/github/managing-subscriptions-and-notifications-on-github/about-notifications). Creating content too quickly using this endpoint may result in abuse rate limiting. See "[Abuse rate limits](https://docs.github.com/rest/overview/resources-in-the-rest-api#abuse-rate-limits)" and "[Dealing with abuse rate limits](https://docs.github.com/rest/guides/best-practices-for-integrators#dealing-with-rate-limits)" for details. - */ - "teams/create-discussion-legacy": { - parameters: { - path: { - team_id: components["parameters"]["team-id"]; - }; - }; - responses: { - /** Response */ - 201: { - content: { - "application/json": components["schemas"]["team-discussion"]; - }; - }; - }; - requestBody: { - content: { - "application/json": { - /** The discussion post's title. */ - title: string; - /** The discussion post's body text. */ - body: string; - /** Private posts are only visible to team members, organization owners, and team maintainers. Public posts are visible to all members of the organization. Set to `true` to create a private post. */ - private?: boolean; - }; - }; - }; - }; - /** - * **Deprecation Notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [Get a discussion](https://docs.github.com/rest/reference/teams#get-a-discussion) endpoint. - * - * Get a specific discussion on a team's page. OAuth access tokens require the `read:discussion` [scope](https://docs.github.com/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/). - */ - "teams/get-discussion-legacy": { - parameters: { - path: { - team_id: components["parameters"]["team-id"]; - discussion_number: components["parameters"]["discussion-number"]; - }; - }; - responses: { - /** Response */ - 200: { - content: { - "application/json": components["schemas"]["team-discussion"]; - }; - }; - }; - }; - /** - * **Deprecation Notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [`Delete a discussion`](https://docs.github.com/rest/reference/teams#delete-a-discussion) endpoint. - * - * Delete a discussion from a team's page. OAuth access tokens require the `write:discussion` [scope](https://docs.github.com/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/). - */ - "teams/delete-discussion-legacy": { - parameters: { - path: { - team_id: components["parameters"]["team-id"]; - discussion_number: components["parameters"]["discussion-number"]; - }; - }; - responses: { - /** Response */ - 204: never; - }; - }; - /** - * **Deprecation Notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [Update a discussion](https://docs.github.com/rest/reference/teams#update-a-discussion) endpoint. - * - * Edits the title and body text of a discussion post. Only the parameters you provide are updated. OAuth access tokens require the `write:discussion` [scope](https://docs.github.com/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/). - */ - "teams/update-discussion-legacy": { - parameters: { - path: { - team_id: components["parameters"]["team-id"]; - discussion_number: components["parameters"]["discussion-number"]; - }; - }; - responses: { - /** Response */ - 200: { - content: { - "application/json": components["schemas"]["team-discussion"]; - }; - }; - }; - requestBody: { - content: { - "application/json": { - /** The discussion post's title. */ - title?: string; - /** The discussion post's body text. */ - body?: string; - }; - }; - }; - }; - /** - * **Deprecation Notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [List discussion comments](https://docs.github.com/rest/reference/teams#list-discussion-comments) endpoint. - * - * List all comments on a team discussion. OAuth access tokens require the `read:discussion` [scope](https://docs.github.com/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/). - */ - "teams/list-discussion-comments-legacy": { - parameters: { - path: { - team_id: components["parameters"]["team-id"]; - discussion_number: components["parameters"]["discussion-number"]; - }; - query: { - /** One of `asc` (ascending) or `desc` (descending). */ - direction?: components["parameters"]["direction"]; - /** Results per page (max 100) */ - per_page?: components["parameters"]["per-page"]; - /** Page number of the results to fetch. */ - page?: components["parameters"]["page"]; - }; - }; - responses: { - /** Response */ - 200: { - headers: {}; - content: { - "application/json": components["schemas"]["team-discussion-comment"][]; - }; - }; - }; - }; - /** - * **Deprecation Notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [Create a discussion comment](https://docs.github.com/rest/reference/teams#create-a-discussion-comment) endpoint. - * - * Creates a new comment on a team discussion. OAuth access tokens require the `write:discussion` [scope](https://docs.github.com/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/). - * - * This endpoint triggers [notifications](https://docs.github.com/en/github/managing-subscriptions-and-notifications-on-github/about-notifications). Creating content too quickly using this endpoint may result in abuse rate limiting. See "[Abuse rate limits](https://docs.github.com/rest/overview/resources-in-the-rest-api#abuse-rate-limits)" and "[Dealing with abuse rate limits](https://docs.github.com/rest/guides/best-practices-for-integrators#dealing-with-rate-limits)" for details. - */ - "teams/create-discussion-comment-legacy": { - parameters: { - path: { - team_id: components["parameters"]["team-id"]; - discussion_number: components["parameters"]["discussion-number"]; - }; - }; - responses: { - /** Response */ - 201: { - content: { - "application/json": components["schemas"]["team-discussion-comment"]; - }; - }; - }; - requestBody: { - content: { - "application/json": { - /** The discussion comment's body text. */ - body: string; - }; - }; - }; - }; - /** - * **Deprecation Notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [Get a discussion comment](https://docs.github.com/rest/reference/teams#get-a-discussion-comment) endpoint. - * - * Get a specific comment on a team discussion. OAuth access tokens require the `read:discussion` [scope](https://docs.github.com/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/). - */ - "teams/get-discussion-comment-legacy": { - parameters: { - path: { - team_id: components["parameters"]["team-id"]; - discussion_number: components["parameters"]["discussion-number"]; - comment_number: components["parameters"]["comment-number"]; - }; - }; - responses: { - /** Response */ - 200: { - content: { - "application/json": components["schemas"]["team-discussion-comment"]; - }; - }; - }; - }; - /** - * **Deprecation Notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [Delete a discussion comment](https://docs.github.com/rest/reference/teams#delete-a-discussion-comment) endpoint. - * - * Deletes a comment on a team discussion. OAuth access tokens require the `write:discussion` [scope](https://docs.github.com/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/). - */ - "teams/delete-discussion-comment-legacy": { - parameters: { - path: { - team_id: components["parameters"]["team-id"]; - discussion_number: components["parameters"]["discussion-number"]; - comment_number: components["parameters"]["comment-number"]; - }; - }; - responses: { - /** Response */ - 204: never; - }; - }; - /** - * **Deprecation Notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [Update a discussion comment](https://docs.github.com/rest/reference/teams#update-a-discussion-comment) endpoint. - * - * Edits the body text of a discussion comment. OAuth access tokens require the `write:discussion` [scope](https://docs.github.com/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/). - */ - "teams/update-discussion-comment-legacy": { - parameters: { - path: { - team_id: components["parameters"]["team-id"]; - discussion_number: components["parameters"]["discussion-number"]; - comment_number: components["parameters"]["comment-number"]; - }; - }; - responses: { - /** Response */ - 200: { - content: { - "application/json": components["schemas"]["team-discussion-comment"]; - }; - }; - }; - requestBody: { - content: { - "application/json": { - /** The discussion comment's body text. */ - body: string; - }; - }; - }; - }; - /** - * **Deprecation Notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [`List reactions for a team discussion comment`](https://docs.github.com/rest/reference/reactions#list-reactions-for-a-team-discussion-comment) endpoint. - * - * List the reactions to a [team discussion comment](https://docs.github.com/rest/reference/teams#discussion-comments). OAuth access tokens require the `read:discussion` [scope](https://docs.github.com/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/). - */ - "reactions/list-for-team-discussion-comment-legacy": { - parameters: { - path: { - team_id: components["parameters"]["team-id"]; - discussion_number: components["parameters"]["discussion-number"]; - comment_number: components["parameters"]["comment-number"]; - }; - query: { - /** Returns a single [reaction type](https://docs.github.com/rest/reference/reactions#reaction-types). Omit this parameter to list all reactions to a team discussion comment. */ - content?: - | "+1" - | "-1" - | "laugh" - | "confused" - | "heart" - | "hooray" - | "rocket" - | "eyes"; - /** Results per page (max 100) */ - per_page?: components["parameters"]["per-page"]; - /** Page number of the results to fetch. */ - page?: components["parameters"]["page"]; - }; - }; - responses: { - /** Response */ - 200: { - headers: {}; - content: { - "application/json": components["schemas"]["reaction"][]; - }; - }; - }; - }; - /** - * **Deprecation Notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new "[Create reaction for a team discussion comment](https://docs.github.com/rest/reference/reactions#create-reaction-for-a-team-discussion-comment)" endpoint. - * - * Create a reaction to a [team discussion comment](https://docs.github.com/rest/reference/teams#discussion-comments). OAuth access tokens require the `write:discussion` [scope](https://docs.github.com/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/). A response with an HTTP `200` status means that you already added the reaction type to this team discussion comment. - */ - "reactions/create-for-team-discussion-comment-legacy": { - parameters: { - path: { - team_id: components["parameters"]["team-id"]; - discussion_number: components["parameters"]["discussion-number"]; - comment_number: components["parameters"]["comment-number"]; - }; - }; - responses: { - /** Response */ - 201: { - content: { - "application/json": components["schemas"]["reaction"]; - }; - }; - }; - requestBody: { - content: { - "application/json": { - /** The [reaction type](https://docs.github.com/rest/reference/reactions#reaction-types) to add to the team discussion comment. */ - content: - | "+1" - | "-1" - | "laugh" - | "confused" - | "heart" - | "hooray" - | "rocket" - | "eyes"; - }; - }; - }; - }; - /** - * **Deprecation Notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [`List reactions for a team discussion`](https://docs.github.com/rest/reference/reactions#list-reactions-for-a-team-discussion) endpoint. - * - * List the reactions to a [team discussion](https://docs.github.com/rest/reference/teams#discussions). OAuth access tokens require the `read:discussion` [scope](https://docs.github.com/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/). - */ - "reactions/list-for-team-discussion-legacy": { - parameters: { - path: { - team_id: components["parameters"]["team-id"]; - discussion_number: components["parameters"]["discussion-number"]; - }; - query: { - /** Returns a single [reaction type](https://docs.github.com/rest/reference/reactions#reaction-types). Omit this parameter to list all reactions to a team discussion. */ - content?: - | "+1" - | "-1" - | "laugh" - | "confused" - | "heart" - | "hooray" - | "rocket" - | "eyes"; - /** Results per page (max 100) */ - per_page?: components["parameters"]["per-page"]; - /** Page number of the results to fetch. */ - page?: components["parameters"]["page"]; - }; - }; - responses: { - /** Response */ - 200: { - headers: {}; - content: { - "application/json": components["schemas"]["reaction"][]; - }; - }; - }; - }; - /** - * **Deprecation Notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [`Create reaction for a team discussion`](https://docs.github.com/rest/reference/reactions#create-reaction-for-a-team-discussion) endpoint. - * - * Create a reaction to a [team discussion](https://docs.github.com/rest/reference/teams#discussions). OAuth access tokens require the `write:discussion` [scope](https://docs.github.com/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/). A response with an HTTP `200` status means that you already added the reaction type to this team discussion. - */ - "reactions/create-for-team-discussion-legacy": { - parameters: { - path: { - team_id: components["parameters"]["team-id"]; - discussion_number: components["parameters"]["discussion-number"]; - }; - }; - responses: { - /** Response */ - 201: { - content: { - "application/json": components["schemas"]["reaction"]; - }; - }; - }; - requestBody: { - content: { - "application/json": { - /** The [reaction type](https://docs.github.com/rest/reference/reactions#reaction-types) to add to the team discussion. */ - content: - | "+1" - | "-1" - | "laugh" - | "confused" - | "heart" - | "hooray" - | "rocket" - | "eyes"; - }; - }; - }; - }; - /** - * **Deprecation Notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [`List pending team invitations`](https://docs.github.com/rest/reference/teams#list-pending-team-invitations) endpoint. - * - * The return hash contains a `role` field which refers to the Organization Invitation role and will be one of the following values: `direct_member`, `admin`, `billing_manager`, `hiring_manager`, or `reinstate`. If the invitee is not a GitHub member, the `login` field in the return hash will be `null`. - */ - "teams/list-pending-invitations-legacy": { - parameters: { - path: { - team_id: components["parameters"]["team-id"]; - }; - query: { - /** Results per page (max 100) */ - per_page?: components["parameters"]["per-page"]; - /** Page number of the results to fetch. */ - page?: components["parameters"]["page"]; - }; - }; - responses: { - /** Response */ - 200: { - headers: {}; - content: { - "application/json": components["schemas"]["organization-invitation"][]; - }; - }; - }; - }; - /** - * **Deprecation Notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [`List team members`](https://docs.github.com/rest/reference/teams#list-team-members) endpoint. - * - * Team members will include the members of child teams. - */ - "teams/list-members-legacy": { - parameters: { - path: { - team_id: components["parameters"]["team-id"]; - }; - query: { - /** - * Filters members returned by their role in the team. Can be one of: - * \* `member` - normal members of the team. - * \* `maintainer` - team maintainers. - * \* `all` - all members of the team. - */ - role?: "member" | "maintainer" | "all"; - /** Results per page (max 100) */ - per_page?: components["parameters"]["per-page"]; - /** Page number of the results to fetch. */ - page?: components["parameters"]["page"]; - }; - }; - responses: { - /** Response */ - 200: { - headers: {}; - content: { - "application/json": components["schemas"]["simple-user"][]; - }; - }; - 404: components["responses"]["not_found"]; - }; - }; - /** - * The "Get team member" endpoint (described below) is deprecated. - * - * We recommend using the [Get team membership for a user](https://docs.github.com/rest/reference/teams#get-team-membership-for-a-user) endpoint instead. It allows you to get both active and pending memberships. - * - * To list members in a team, the team must be visible to the authenticated user. - */ - "teams/get-member-legacy": { - parameters: { - path: { - team_id: components["parameters"]["team-id"]; - username: components["parameters"]["username"]; - }; - }; - responses: { - /** if user is a member */ - 204: never; - /** if user is not a member */ - 404: unknown; - }; - }; - /** - * The "Add team member" endpoint (described below) is deprecated. - * - * We recommend using the [Add or update team membership for a user](https://docs.github.com/rest/reference/teams#add-or-update-team-membership-for-a-user) endpoint instead. It allows you to invite new organization members to your teams. - * - * Team synchronization is available for organizations using GitHub Enterprise Cloud. For more information, see [GitHub's products](https://help.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation. - * - * To add someone to a team, the authenticated user must be an organization owner or a team maintainer in the team they're changing. The person being added to the team must be a member of the team's organization. - * - * **Note:** When you have team synchronization set up for a team with your organization's identity provider (IdP), you will see an error if you attempt to use the API for making changes to the team's membership. If you have access to manage group membership in your IdP, you can manage GitHub team membership through your identity provider, which automatically adds and removes team members in an organization. For more information, see "[Synchronizing teams between your identity provider and GitHub](https://help.github.com/articles/synchronizing-teams-between-your-identity-provider-and-github/)." - * - * Note that you'll need to set `Content-Length` to zero when calling out to this endpoint. For more information, see "[HTTP verbs](https://docs.github.com/rest/overview/resources-in-the-rest-api#http-verbs)." - */ - "teams/add-member-legacy": { - parameters: { - path: { - team_id: components["parameters"]["team-id"]; - username: components["parameters"]["username"]; - }; - }; - responses: { - /** Response */ - 204: never; - 403: components["responses"]["forbidden"]; - /** Not Found if team synchronization is set up */ - 404: unknown; - /** Unprocessable Entity if you attempt to add an organization to a team or you attempt to add a user to a team when they are not a member of at least one other team in the same organization */ - 422: unknown; - }; - }; - /** - * The "Remove team member" endpoint (described below) is deprecated. - * - * We recommend using the [Remove team membership for a user](https://docs.github.com/rest/reference/teams#remove-team-membership-for-a-user) endpoint instead. It allows you to remove both active and pending memberships. - * - * Team synchronization is available for organizations using GitHub Enterprise Cloud. For more information, see [GitHub's products](https://help.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation. - * - * To remove a team member, the authenticated user must have 'admin' permissions to the team or be an owner of the org that the team is associated with. Removing a team member does not delete the user, it just removes them from the team. - * - * **Note:** When you have team synchronization set up for a team with your organization's identity provider (IdP), you will see an error if you attempt to use the API for making changes to the team's membership. If you have access to manage group membership in your IdP, you can manage GitHub team membership through your identity provider, which automatically adds and removes team members in an organization. For more information, see "[Synchronizing teams between your identity provider and GitHub](https://help.github.com/articles/synchronizing-teams-between-your-identity-provider-and-github/)." - */ - "teams/remove-member-legacy": { - parameters: { - path: { - team_id: components["parameters"]["team-id"]; - username: components["parameters"]["username"]; - }; - }; - responses: { - /** Response */ - 204: never; - /** Not Found if team synchronization is setup */ - 404: unknown; - }; - }; - /** - * **Deprecation Notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [Get team membership for a user](https://docs.github.com/rest/reference/teams#get-team-membership-for-a-user) endpoint. - * - * Team members will include the members of child teams. - * - * To get a user's membership with a team, the team must be visible to the authenticated user. - * - * **Note:** - * The response contains the `state` of the membership and the member's `role`. - * - * The `role` for organization owners is set to `maintainer`. For more information about `maintainer` roles, see [Create a team](https://docs.github.com/rest/reference/teams#create-a-team). - */ - "teams/get-membership-for-user-legacy": { - parameters: { - path: { - team_id: components["parameters"]["team-id"]; - username: components["parameters"]["username"]; - }; - }; - responses: { - /** Response */ - 200: { - content: { - "application/json": components["schemas"]["team-membership"]; - }; - }; - 404: components["responses"]["not_found"]; - }; - }; - /** - * **Deprecation Notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [Add or update team membership for a user](https://docs.github.com/rest/reference/teams#add-or-update-team-membership-for-a-user) endpoint. - * - * Team synchronization is available for organizations using GitHub Enterprise Cloud. For more information, see [GitHub's products](https://help.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation. - * - * If the user is already a member of the team's organization, this endpoint will add the user to the team. To add a membership between an organization member and a team, the authenticated user must be an organization owner or a team maintainer. - * - * **Note:** When you have team synchronization set up for a team with your organization's identity provider (IdP), you will see an error if you attempt to use the API for making changes to the team's membership. If you have access to manage group membership in your IdP, you can manage GitHub team membership through your identity provider, which automatically adds and removes team members in an organization. For more information, see "[Synchronizing teams between your identity provider and GitHub](https://help.github.com/articles/synchronizing-teams-between-your-identity-provider-and-github/)." - * - * If the user is unaffiliated with the team's organization, this endpoint will send an invitation to the user via email. This newly-created membership will be in the "pending" state until the user accepts the invitation, at which point the membership will transition to the "active" state and the user will be added as a member of the team. To add a membership between an unaffiliated user and a team, the authenticated user must be an organization owner. - * - * If the user is already a member of the team, this endpoint will update the role of the team member's role. To update the membership of a team member, the authenticated user must be an organization owner or a team maintainer. - */ - "teams/add-or-update-membership-for-user-legacy": { - parameters: { - path: { - team_id: components["parameters"]["team-id"]; - username: components["parameters"]["username"]; - }; - }; - responses: { - /** Response */ - 200: { - content: { - "application/json": components["schemas"]["team-membership"]; - }; - }; - /** Forbidden if team synchronization is set up */ - 403: unknown; - 404: components["responses"]["not_found"]; - /** Unprocessable Entity if you attempt to add an organization to a team */ - 422: unknown; - }; - requestBody: { - content: { - "application/json": { - /** - * The role that this user should have in the team. Can be one of: - * \* `member` - a normal member of the team. - * \* `maintainer` - a team maintainer. Able to add/remove other team members, promote other team members to team maintainer, and edit the team's name and description. - */ - role?: "member" | "maintainer"; - }; - }; - }; - }; - /** - * **Deprecation Notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [Remove team membership for a user](https://docs.github.com/rest/reference/teams#remove-team-membership-for-a-user) endpoint. - * - * Team synchronization is available for organizations using GitHub Enterprise Cloud. For more information, see [GitHub's products](https://help.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation. - * - * To remove a membership between a user and a team, the authenticated user must have 'admin' permissions to the team or be an owner of the organization that the team is associated with. Removing team membership does not delete the user, it just removes their membership from the team. - * - * **Note:** When you have team synchronization set up for a team with your organization's identity provider (IdP), you will see an error if you attempt to use the API for making changes to the team's membership. If you have access to manage group membership in your IdP, you can manage GitHub team membership through your identity provider, which automatically adds and removes team members in an organization. For more information, see "[Synchronizing teams between your identity provider and GitHub](https://help.github.com/articles/synchronizing-teams-between-your-identity-provider-and-github/)." - */ - "teams/remove-membership-for-user-legacy": { - parameters: { - path: { - team_id: components["parameters"]["team-id"]; - username: components["parameters"]["username"]; - }; - }; - responses: { - /** Response */ - 204: never; - /** if team synchronization is set up */ - 403: unknown; - }; - }; - /** - * **Deprecation Notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [`List team projects`](https://docs.github.com/rest/reference/teams#list-team-projects) endpoint. - * - * Lists the organization projects for a team. - */ - "teams/list-projects-legacy": { - parameters: { - path: { - team_id: components["parameters"]["team-id"]; - }; - query: { - /** Results per page (max 100) */ - per_page?: components["parameters"]["per-page"]; - /** Page number of the results to fetch. */ - page?: components["parameters"]["page"]; - }; - }; - responses: { - /** Response */ - 200: { - headers: {}; - content: { - "application/json": components["schemas"]["team-project"][]; - }; - }; - 404: components["responses"]["not_found"]; - 415: components["responses"]["preview_header_missing"]; - }; - }; - /** - * **Deprecation Notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [Check team permissions for a project](https://docs.github.com/rest/reference/teams#check-team-permissions-for-a-project) endpoint. - * - * Checks whether a team has `read`, `write`, or `admin` permissions for an organization project. The response includes projects inherited from a parent team. - */ - "teams/check-permissions-for-project-legacy": { - parameters: { - path: { - team_id: components["parameters"]["team-id"]; - project_id: components["parameters"]["project-id"]; - }; - }; - responses: { - /** Response */ - 200: { - content: { - "application/json": components["schemas"]["team-project"]; - }; - }; - /** Not Found if project is not managed by this team */ - 404: unknown; - 415: components["responses"]["preview_header_missing"]; - }; - }; - /** - * **Deprecation Notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [Add or update team project permissions](https://docs.github.com/rest/reference/teams#add-or-update-team-project-permissions) endpoint. - * - * Adds an organization project to a team. To add a project to a team or update the team's permission on a project, the authenticated user must have `admin` permissions for the project. The project and team must be part of the same organization. - */ - "teams/add-or-update-project-permissions-legacy": { - parameters: { - path: { - team_id: components["parameters"]["team-id"]; - project_id: components["parameters"]["project-id"]; - }; - }; - responses: { - /** Response */ - 204: never; - /** Forbidden if the project is not owned by the organization */ - 403: { - content: { - "application/json": { - message?: string; - documentation_url?: string; - }; - }; - }; - 404: components["responses"]["not_found"]; - 415: components["responses"]["preview_header_missing"]; - 422: components["responses"]["validation_failed"]; - }; - requestBody: { - content: { - "application/json": { - /** - * The permission to grant to the team for this project. Can be one of: - * \* `read` - team members can read, but not write to or administer this project. - * \* `write` - team members can read and write, but not administer this project. - * \* `admin` - team members can read, write and administer this project. - * Default: the team's `permission` attribute will be used to determine what permission to grant the team on this project. Note that, if you choose not to pass any parameters, you'll need to set `Content-Length` to zero when calling out to this endpoint. For more information, see "[HTTP verbs](https://docs.github.com/rest/overview/resources-in-the-rest-api#http-verbs)." - */ - permission?: "read" | "write" | "admin"; - }; - }; - }; - }; - /** - * **Deprecation Notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [Remove a project from a team](https://docs.github.com/rest/reference/teams#remove-a-project-from-a-team) endpoint. - * - * Removes an organization project from a team. An organization owner or a team maintainer can remove any project from the team. To remove a project from a team as an organization member, the authenticated user must have `read` access to both the team and project, or `admin` access to the team or project. **Note:** This endpoint removes the project from the team, but does not delete it. - */ - "teams/remove-project-legacy": { - parameters: { - path: { - team_id: components["parameters"]["team-id"]; - project_id: components["parameters"]["project-id"]; - }; - }; - responses: { - /** Response */ - 204: never; - 404: components["responses"]["not_found"]; - 415: components["responses"]["preview_header_missing"]; - 422: components["responses"]["validation_failed"]; - }; - }; - /** **Deprecation Notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [List team repositories](https://docs.github.com/rest/reference/teams#list-team-repositories) endpoint. */ - "teams/list-repos-legacy": { - parameters: { - path: { - team_id: components["parameters"]["team-id"]; - }; - query: { - /** Results per page (max 100) */ - per_page?: components["parameters"]["per-page"]; - /** Page number of the results to fetch. */ - page?: components["parameters"]["page"]; - }; - }; - responses: { - /** Response */ - 200: { - headers: {}; - content: { - "application/json": components["schemas"]["minimal-repository"][]; - }; - }; - 404: components["responses"]["not_found"]; - }; - }; - /** - * **Note**: Repositories inherited through a parent team will also be checked. - * - * **Deprecation Notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [Check team permissions for a repository](https://docs.github.com/rest/reference/teams#check-team-permissions-for-a-repository) endpoint. - * - * You can also get information about the specified repository, including what permissions the team grants on it, by passing the following custom [media type](https://docs.github.com/rest/overview/media-types/) via the `Accept` header: - */ - "teams/check-permissions-for-repo-legacy": { - parameters: { - path: { - team_id: components["parameters"]["team-id"]; - owner: components["parameters"]["owner"]; - repo: components["parameters"]["repo"]; - }; - }; - responses: { - /** Alternative response with extra repository information */ - 200: { - content: { - "application/json": components["schemas"]["team-repository"]; - }; - }; - /** Response if repository is managed by this team */ - 204: never; - /** Not Found if repository is not managed by this team */ - 404: unknown; - }; - }; - /** - * **Deprecation Notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new "[Add or update team repository permissions](https://docs.github.com/rest/reference/teams#add-or-update-team-repository-permissions)" endpoint. - * - * To add a repository to a team or update the team's permission on a repository, the authenticated user must have admin access to the repository, and must be able to see the team. The repository must be owned by the organization, or a direct fork of a repository owned by the organization. You will get a `422 Unprocessable Entity` status if you attempt to add a repository to a team that is not owned by the organization. - * - * Note that, if you choose not to pass any parameters, you'll need to set `Content-Length` to zero when calling out to this endpoint. For more information, see "[HTTP verbs](https://docs.github.com/rest/overview/resources-in-the-rest-api#http-verbs)." - */ - "teams/add-or-update-repo-permissions-legacy": { - parameters: { - path: { - team_id: components["parameters"]["team-id"]; - owner: components["parameters"]["owner"]; - repo: components["parameters"]["repo"]; - }; - }; - responses: { - /** Response */ - 204: never; - 403: components["responses"]["forbidden"]; - 422: components["responses"]["validation_failed"]; - }; - requestBody: { - content: { - "application/json": { - /** - * The permission to grant the team on this repository. Can be one of: - * \* `pull` - team members can pull, but not push to or administer this repository. - * \* `push` - team members can pull and push, but not administer this repository. - * \* `admin` - team members can pull, push and administer this repository. - * - * If no permission is specified, the team's `permission` attribute will be used to determine what permission to grant the team on this repository. - */ - permission?: "pull" | "push" | "admin"; - }; - }; - }; - }; - /** - * **Deprecation Notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [Remove a repository from a team](https://docs.github.com/rest/reference/teams#remove-a-repository-from-a-team) endpoint. - * - * If the authenticated user is an organization owner or a team maintainer, they can remove any repositories from the team. To remove a repository from a team as an organization member, the authenticated user must have admin access to the repository and must be able to see the team. NOTE: This does not delete the repository, it just removes it from the team. - */ - "teams/remove-repo-legacy": { - parameters: { - path: { - team_id: components["parameters"]["team-id"]; - owner: components["parameters"]["owner"]; - repo: components["parameters"]["repo"]; - }; - }; - responses: { - /** Response */ - 204: never; - }; - }; - /** - * **Deprecation Notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [`List IdP groups for a team`](https://docs.github.com/rest/reference/teams#list-idp-groups-for-a-team) endpoint. - * - * Team synchronization is available for organizations using GitHub Enterprise Cloud. For more information, see [GitHub's products](https://help.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation. - * - * List IdP groups connected to a team on GitHub. - */ - "teams/list-idp-groups-for-legacy": { - parameters: { - path: { - team_id: components["parameters"]["team-id"]; - }; - }; - responses: { - /** Response */ - 200: { - content: { - "application/json": components["schemas"]["group-mapping"]; - }; - }; - 403: components["responses"]["forbidden"]; - 404: components["responses"]["not_found"]; - }; - }; - /** - * **Deprecation Notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [`Create or update IdP group connections`](https://docs.github.com/rest/reference/teams#create-or-update-idp-group-connections) endpoint. - * - * Team synchronization is available for organizations using GitHub Enterprise Cloud. For more information, see [GitHub's products](https://help.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation. - * - * Creates, updates, or removes a connection between a team and an IdP group. When adding groups to a team, you must include all new and existing groups to avoid replacing existing groups with the new ones. Specifying an empty `groups` array will remove all connections for a team. - */ - "teams/create-or-update-idp-group-connections-legacy": { - parameters: { - path: { - team_id: components["parameters"]["team-id"]; - }; - }; - responses: { - /** Response */ - 200: { - content: { - "application/json": components["schemas"]["group-mapping"]; - }; - }; - 403: components["responses"]["forbidden"]; - 422: components["responses"]["validation_failed"]; - }; - requestBody: { - content: { - "application/json": { - /** The IdP groups you want to connect to a GitHub team. When updating, the new `groups` object will replace the original one. You must include any existing groups that you don't want to remove. */ - groups: { - /** ID of the IdP group. */ - group_id: string; - /** Name of the IdP group. */ - group_name: string; - /** Description of the IdP group. */ - group_description: string; - id?: string; - name?: string; - description?: string; - }[]; - synced_at?: string; - }; - }; - }; - }; - /** **Deprecation Notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [`List child teams`](https://docs.github.com/rest/reference/teams#list-child-teams) endpoint. */ - "teams/list-child-legacy": { - parameters: { - path: { - team_id: components["parameters"]["team-id"]; - }; - query: { - /** Results per page (max 100) */ - per_page?: components["parameters"]["per-page"]; - /** Page number of the results to fetch. */ - page?: components["parameters"]["page"]; - }; - }; - responses: { - /** if child teams exist */ - 200: { - headers: {}; - content: { - "application/json": components["schemas"]["team"][]; - }; - }; - 403: components["responses"]["forbidden"]; - 404: components["responses"]["not_found"]; - 422: components["responses"]["validation_failed"]; - }; - }; - /** - * If the authenticated user is authenticated through basic authentication or OAuth with the `user` scope, then the response lists public and private profile information. - * - * If the authenticated user is authenticated through OAuth without the `user` scope, then the response lists only public profile information. - */ - "users/get-authenticated": { - parameters: {}; - responses: { - /** Response */ - 200: { - content: { - "application/json": - | components["schemas"]["private-user"] - | components["schemas"]["public-user"]; - }; - }; - 304: components["responses"]["not_modified"]; - 401: components["responses"]["requires_authentication"]; - 403: components["responses"]["forbidden"]; - }; - }; - /** **Note:** If your email is set to private and you send an `email` parameter as part of this request to update your profile, your privacy settings are still enforced: the email address will not be displayed on your public profile or via the API. */ - "users/update-authenticated": { - parameters: {}; - responses: { - /** Response */ - 200: { - content: { - "application/json": components["schemas"]["private-user"]; - }; - }; - 304: components["responses"]["not_modified"]; - 401: components["responses"]["requires_authentication"]; - 403: components["responses"]["forbidden"]; - 404: components["responses"]["not_found"]; - 422: components["responses"]["validation_failed"]; - }; - requestBody: { - content: { - "application/json": { - /** The new name of the user. */ - name?: string; - /** The publicly visible email address of the user. */ - email?: string; - /** The new blog URL of the user. */ - blog?: string; - /** The new Twitter username of the user. */ - twitter_username?: string | null; - /** The new company of the user. */ - company?: string; - /** The new location of the user. */ - location?: string; - /** The new hiring availability of the user. */ - hireable?: boolean; - /** The new short biography of the user. */ - bio?: string; - }; - }; - }; - }; - /** List the users you've blocked on your personal account. */ - "users/list-blocked-by-authenticated": { - parameters: {}; - responses: { - /** Response */ - 200: { - content: { - "application/json": components["schemas"]["simple-user"][]; - }; - }; - 304: components["responses"]["not_modified"]; - 401: components["responses"]["requires_authentication"]; - 403: components["responses"]["forbidden"]; - 404: components["responses"]["not_found"]; - 415: components["responses"]["preview_header_missing"]; - }; - }; - "users/check-blocked": { - parameters: { - path: { - username: components["parameters"]["username"]; - }; - }; - responses: { - /** If the user is blocked: */ - 204: never; - 304: components["responses"]["not_modified"]; - 401: components["responses"]["requires_authentication"]; - 403: components["responses"]["forbidden"]; - /** If the user is not blocked: */ - 404: { - content: { - "application/json": components["schemas"]["basic-error"]; - }; - }; - }; - }; - "users/block": { - parameters: { - path: { - username: components["parameters"]["username"]; - }; - }; - responses: { - /** Response */ - 204: never; - 304: components["responses"]["not_modified"]; - 401: components["responses"]["requires_authentication"]; - 403: components["responses"]["forbidden"]; - 404: components["responses"]["not_found"]; - 422: components["responses"]["validation_failed"]; - }; - }; - "users/unblock": { - parameters: { - path: { - username: components["parameters"]["username"]; - }; - }; - responses: { - /** Response */ - 204: never; - 304: components["responses"]["not_modified"]; - 401: components["responses"]["requires_authentication"]; - 403: components["responses"]["forbidden"]; - 404: components["responses"]["not_found"]; - }; - }; - /** Sets the visibility for your primary email addresses. */ - "users/set-primary-email-visibility-for-authenticated": { - parameters: {}; - responses: { - /** Response */ - 200: { - content: { - "application/json": components["schemas"]["email"][]; - }; - }; - 304: components["responses"]["not_modified"]; - 401: components["responses"]["requires_authentication"]; - 403: components["responses"]["forbidden"]; - 404: components["responses"]["not_found"]; - 422: components["responses"]["validation_failed"]; - }; - requestBody: { - content: { - "application/json": { - /** Denotes whether an email is publicly visible. */ - visibility: "public" | "private"; - }; - }; - }; - }; - /** Lists all of your email addresses, and specifies which one is visible to the public. This endpoint is accessible with the `user:email` scope. */ - "users/list-emails-for-authenticated": { - parameters: { - query: { - /** Results per page (max 100) */ - per_page?: components["parameters"]["per-page"]; - /** Page number of the results to fetch. */ - page?: components["parameters"]["page"]; - }; - }; - responses: { - /** Response */ - 200: { - headers: {}; - content: { - "application/json": components["schemas"]["email"][]; - }; - }; - 304: components["responses"]["not_modified"]; - 401: components["responses"]["requires_authentication"]; - 403: components["responses"]["forbidden"]; - 404: components["responses"]["not_found"]; - }; - }; - /** This endpoint is accessible with the `user` scope. */ - "users/add-email-for-authenticated": { - parameters: {}; - responses: { - /** Response */ - 201: { - content: { - "application/json": components["schemas"]["email"][]; - }; - }; - 304: components["responses"]["not_modified"]; - 401: components["responses"]["requires_authentication"]; - 403: components["responses"]["forbidden"]; - 404: components["responses"]["not_found"]; - 422: components["responses"]["validation_failed"]; - }; - requestBody: { - content: { - "application/json": { - /** Adds one or more email addresses to your GitHub account. Must contain at least one email address. **Note:** Alternatively, you can pass a single email address or an `array` of emails addresses directly, but we recommend that you pass an object using the `emails` key. */ - emails: string[]; - }; - }; - }; - }; - /** This endpoint is accessible with the `user` scope. */ - "users/delete-email-for-authenticated": { - parameters: {}; - responses: { - /** Response */ - 204: never; - 304: components["responses"]["not_modified"]; - 401: components["responses"]["requires_authentication"]; - 403: components["responses"]["forbidden"]; - 404: components["responses"]["not_found"]; - 422: components["responses"]["validation_failed"]; - }; - requestBody: { - content: { - "application/json": { - /** Email addresses associated with the GitHub user account. */ - emails: string[]; - }; - }; - }; - }; - /** Lists the people following the authenticated user. */ - "users/list-followers-for-authenticated-user": { - parameters: { - query: { - /** Results per page (max 100) */ - per_page?: components["parameters"]["per-page"]; - /** Page number of the results to fetch. */ - page?: components["parameters"]["page"]; - }; - }; - responses: { - /** Response */ - 200: { - headers: {}; - content: { - "application/json": components["schemas"]["simple-user"][]; - }; - }; - 304: components["responses"]["not_modified"]; - 401: components["responses"]["requires_authentication"]; - 403: components["responses"]["forbidden"]; - }; - }; - /** Lists the people who the authenticated user follows. */ - "users/list-followed-by-authenticated": { - parameters: { - query: { - /** Results per page (max 100) */ - per_page?: components["parameters"]["per-page"]; - /** Page number of the results to fetch. */ - page?: components["parameters"]["page"]; - }; - }; - responses: { - /** Response */ - 200: { - headers: {}; - content: { - "application/json": components["schemas"]["simple-user"][]; - }; - }; - 304: components["responses"]["not_modified"]; - 401: components["responses"]["requires_authentication"]; - 403: components["responses"]["forbidden"]; - }; - }; - "users/check-person-is-followed-by-authenticated": { - parameters: { - path: { - username: components["parameters"]["username"]; - }; - }; - responses: { - /** if the person is followed by the authenticated user */ - 204: never; - 304: components["responses"]["not_modified"]; - 401: components["responses"]["requires_authentication"]; - 403: components["responses"]["forbidden"]; - /** if the person is not followed by the authenticated user */ - 404: { - content: { - "application/json": components["schemas"]["basic-error"]; - }; - }; - }; - }; - /** - * Note that you'll need to set `Content-Length` to zero when calling out to this endpoint. For more information, see "[HTTP verbs](https://docs.github.com/rest/overview/resources-in-the-rest-api#http-verbs)." - * - * Following a user requires the user to be logged in and authenticated with basic auth or OAuth with the `user:follow` scope. - */ - "users/follow": { - parameters: { - path: { - username: components["parameters"]["username"]; - }; - }; - responses: { - /** Response */ - 204: never; - 304: components["responses"]["not_modified"]; - 401: components["responses"]["requires_authentication"]; - 403: components["responses"]["forbidden"]; - 404: components["responses"]["not_found"]; - }; - }; - /** Unfollowing a user requires the user to be logged in and authenticated with basic auth or OAuth with the `user:follow` scope. */ - "users/unfollow": { - parameters: { - path: { - username: components["parameters"]["username"]; - }; - }; - responses: { - /** Response */ - 204: never; - 304: components["responses"]["not_modified"]; - 401: components["responses"]["requires_authentication"]; - 403: components["responses"]["forbidden"]; - 404: components["responses"]["not_found"]; - }; - }; - /** Lists the current user's GPG keys. Requires that you are authenticated via Basic Auth or via OAuth with at least `read:gpg_key` [scope](https://docs.github.com/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/). */ - "users/list-gpg-keys-for-authenticated": { - parameters: { - query: { - /** Results per page (max 100) */ - per_page?: components["parameters"]["per-page"]; - /** Page number of the results to fetch. */ - page?: components["parameters"]["page"]; - }; - }; - responses: { - /** Response */ - 200: { - headers: {}; - content: { - "application/json": components["schemas"]["gpg-key"][]; - }; - }; - 304: components["responses"]["not_modified"]; - 401: components["responses"]["requires_authentication"]; - 403: components["responses"]["forbidden"]; - 404: components["responses"]["not_found"]; - }; - }; - /** Adds a GPG key to the authenticated user's GitHub account. Requires that you are authenticated via Basic Auth, or OAuth with at least `write:gpg_key` [scope](https://docs.github.com/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/). */ - "users/create-gpg-key-for-authenticated": { - parameters: {}; - responses: { - /** Response */ - 201: { - content: { - "application/json": components["schemas"]["gpg-key"]; - }; - }; - 304: components["responses"]["not_modified"]; - 401: components["responses"]["requires_authentication"]; - 403: components["responses"]["forbidden"]; - 404: components["responses"]["not_found"]; - 422: components["responses"]["validation_failed"]; - }; - requestBody: { - content: { - "application/json": { - /** A GPG key in ASCII-armored format. */ - armored_public_key: string; - }; - }; - }; - }; - /** View extended details for a single GPG key. Requires that you are authenticated via Basic Auth or via OAuth with at least `read:gpg_key` [scope](https://docs.github.com/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/). */ - "users/get-gpg-key-for-authenticated": { - parameters: { - path: { - /** gpg_key_id parameter */ - gpg_key_id: components["parameters"]["gpg-key-id"]; - }; - }; - responses: { - /** Response */ - 200: { - content: { - "application/json": components["schemas"]["gpg-key"]; - }; - }; - 304: components["responses"]["not_modified"]; - 401: components["responses"]["requires_authentication"]; - 403: components["responses"]["forbidden"]; - 404: components["responses"]["not_found"]; - }; - }; - /** Removes a GPG key from the authenticated user's GitHub account. Requires that you are authenticated via Basic Auth or via OAuth with at least `admin:gpg_key` [scope](https://docs.github.com/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/). */ - "users/delete-gpg-key-for-authenticated": { - parameters: { - path: { - /** gpg_key_id parameter */ - gpg_key_id: components["parameters"]["gpg-key-id"]; - }; - }; - responses: { - /** Response */ - 204: never; - 304: components["responses"]["not_modified"]; - 401: components["responses"]["requires_authentication"]; - 403: components["responses"]["forbidden"]; - 404: components["responses"]["not_found"]; - 422: components["responses"]["validation_failed"]; - }; - }; - /** - * Lists installations of your GitHub App that the authenticated user has explicit permission (`:read`, `:write`, or `:admin`) to access. - * - * You must use a [user-to-server OAuth access token](https://docs.github.com/apps/building-github-apps/identifying-and-authorizing-users-for-github-apps/#identifying-users-on-your-site), created for a user who has authorized your GitHub App, to access this endpoint. - * - * The authenticated user has explicit permission to access repositories they own, repositories where they are a collaborator, and repositories that they can access through an organization membership. - * - * You can find the permissions for the installation under the `permissions` key. - */ - "apps/list-installations-for-authenticated-user": { - parameters: { - query: { - /** Results per page (max 100) */ - per_page?: components["parameters"]["per-page"]; - /** Page number of the results to fetch. */ - page?: components["parameters"]["page"]; - }; - }; - responses: { - /** You can find the permissions for the installation under the `permissions` key. */ - 200: { - headers: {}; - content: { - "application/json": { - total_count: number; - installations: components["schemas"]["installation"][]; - }; - }; - }; - 304: components["responses"]["not_modified"]; - 401: components["responses"]["requires_authentication"]; - 403: components["responses"]["forbidden"]; - 415: components["responses"]["preview_header_missing"]; - }; - }; - /** - * List repositories that the authenticated user has explicit permission (`:read`, `:write`, or `:admin`) to access for an installation. - * - * The authenticated user has explicit permission to access repositories they own, repositories where they are a collaborator, and repositories that they can access through an organization membership. - * - * You must use a [user-to-server OAuth access token](https://docs.github.com/apps/building-github-apps/identifying-and-authorizing-users-for-github-apps/#identifying-users-on-your-site), created for a user who has authorized your GitHub App, to access this endpoint. - * - * The access the user has to each repository is included in the hash under the `permissions` key. - */ - "apps/list-installation-repos-for-authenticated-user": { - parameters: { - path: { - /** installation_id parameter */ - installation_id: components["parameters"]["installation-id"]; - }; - query: { - /** Results per page (max 100) */ - per_page?: components["parameters"]["per-page"]; - /** Page number of the results to fetch. */ - page?: components["parameters"]["page"]; - }; - }; - responses: { - /** The access the user has to each repository is included in the hash under the `permissions` key. */ - 200: { - headers: {}; - content: { - "application/json": { - total_count: number; - repository_selection?: string; - repositories: components["schemas"]["repository"][]; - }; - }; - }; - 304: components["responses"]["not_modified"]; - 403: components["responses"]["forbidden"]; - 404: components["responses"]["not_found"]; - }; - }; - /** - * Add a single repository to an installation. The authenticated user must have admin access to the repository. - * - * You must use a personal access token (which you can create via the [command line](https://docs.github.com/github/authenticating-to-github/creating-a-personal-access-token) or [Basic Authentication](https://docs.github.com/rest/overview/other-authentication-methods#basic-authentication)) to access this endpoint. - */ - "apps/add-repo-to-installation": { - parameters: { - path: { - /** installation_id parameter */ - installation_id: components["parameters"]["installation-id"]; - repository_id: components["parameters"]["repository-id"]; - }; - }; - responses: { - /** Response */ - 204: never; - 304: components["responses"]["not_modified"]; - 403: components["responses"]["forbidden"]; - 404: components["responses"]["not_found"]; - }; - }; - /** - * Remove a single repository from an installation. The authenticated user must have admin access to the repository. - * - * You must use a personal access token (which you can create via the [command line](https://docs.github.com/github/authenticating-to-github/creating-a-personal-access-token) or [Basic Authentication](https://docs.github.com/rest/overview/other-authentication-methods#basic-authentication)) to access this endpoint. - */ - "apps/remove-repo-from-installation": { - parameters: { - path: { - /** installation_id parameter */ - installation_id: components["parameters"]["installation-id"]; - repository_id: components["parameters"]["repository-id"]; - }; - }; - responses: { - /** Response */ - 204: never; - 304: components["responses"]["not_modified"]; - 403: components["responses"]["forbidden"]; - 404: components["responses"]["not_found"]; - }; - }; - /** Shows which type of GitHub user can interact with your public repositories and when the restriction expires. */ - "interactions/get-restrictions-for-authenticated-user": { - responses: { - /** Default response */ - 200: { - content: { - "application/json": Partial< - components["schemas"]["interaction-limit-response"] - > & - Partial<{ [key: string]: unknown }>; - }; - }; - /** Response when there are no restrictions */ - 204: never; - }; - }; - /** Temporarily restricts which type of GitHub user can interact with your public repositories. Setting the interaction limit at the user level will overwrite any interaction limits that are set for individual repositories owned by the user. */ - "interactions/set-restrictions-for-authenticated-user": { - responses: { - /** Response */ - 200: { - content: { - "application/json": components["schemas"]["interaction-limit-response"]; - }; - }; - 422: components["responses"]["validation_failed"]; - }; - requestBody: { - content: { - "application/json": components["schemas"]["interaction-limit"]; - }; - }; - }; - /** Removes any interaction restrictions from your public repositories. */ - "interactions/remove-restrictions-for-authenticated-user": { - responses: { - /** Response */ - 204: never; - }; - }; - /** - * List issues across owned and member repositories assigned to the authenticated user. - * - * **Note**: GitHub's REST API v3 considers every pull request an issue, but not every issue is a pull request. For this - * reason, "Issues" endpoints may return both issues and pull requests in the response. You can identify pull requests by - * the `pull_request` key. Be aware that the `id` of a pull request returned from "Issues" endpoints will be an _issue id_. To find out the pull - * request id, use the "[List pull requests](https://docs.github.com/rest/reference/pulls#list-pull-requests)" endpoint. - */ - "issues/list-for-authenticated-user": { - parameters: { - query: { - /** - * Indicates which sorts of issues to return. Can be one of: - * \* `assigned`: Issues assigned to you - * \* `created`: Issues created by you - * \* `mentioned`: Issues mentioning you - * \* `subscribed`: Issues you're subscribed to updates for - * \* `all` or `repos`: All issues the authenticated user can see, regardless of participation or creation - */ - filter?: - | "assigned" - | "created" - | "mentioned" - | "subscribed" - | "repos" - | "all"; - /** Indicates the state of the issues to return. Can be either `open`, `closed`, or `all`. */ - state?: "open" | "closed" | "all"; - /** A list of comma separated label names. Example: `bug,ui,@high` */ - labels?: components["parameters"]["labels"]; - /** What to sort results by. Can be either `created`, `updated`, `comments`. */ - sort?: "created" | "updated" | "comments"; - /** One of `asc` (ascending) or `desc` (descending). */ - direction?: components["parameters"]["direction"]; - /** Only show notifications updated after the given time. This is a timestamp in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) format: `YYYY-MM-DDTHH:MM:SSZ`. */ - since?: components["parameters"]["since"]; - /** Results per page (max 100) */ - per_page?: components["parameters"]["per-page"]; - /** Page number of the results to fetch. */ - page?: components["parameters"]["page"]; - }; - }; - responses: { - /** Response */ - 200: { - headers: {}; - content: { - "application/json": components["schemas"]["issue"][]; - }; - }; - 304: components["responses"]["not_modified"]; - 404: components["responses"]["not_found"]; - }; - }; - /** Lists the public SSH keys for the authenticated user's GitHub account. Requires that you are authenticated via Basic Auth or via OAuth with at least `read:public_key` [scope](https://docs.github.com/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/). */ - "users/list-public-ssh-keys-for-authenticated": { - parameters: { - query: { - /** Results per page (max 100) */ - per_page?: components["parameters"]["per-page"]; - /** Page number of the results to fetch. */ - page?: components["parameters"]["page"]; - }; - }; - responses: { - /** Response */ - 200: { - headers: {}; - content: { - "application/json": components["schemas"]["key"][]; - }; - }; - 304: components["responses"]["not_modified"]; - 401: components["responses"]["requires_authentication"]; - 403: components["responses"]["forbidden"]; - 404: components["responses"]["not_found"]; - }; - }; - /** Adds a public SSH key to the authenticated user's GitHub account. Requires that you are authenticated via Basic Auth, or OAuth with at least `write:public_key` [scope](https://docs.github.com/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/). */ - "users/create-public-ssh-key-for-authenticated": { - parameters: {}; - responses: { - /** Response */ - 201: { - content: { - "application/json": components["schemas"]["key"]; - }; - }; - 304: components["responses"]["not_modified"]; - 401: components["responses"]["requires_authentication"]; - 403: components["responses"]["forbidden"]; - 404: components["responses"]["not_found"]; - 422: components["responses"]["validation_failed"]; - }; - requestBody: { - content: { - "application/json": { - /** A descriptive name for the new key. */ - title?: string; - /** The public SSH key to add to your GitHub account. */ - key: string; - }; - }; - }; - }; - /** View extended details for a single public SSH key. Requires that you are authenticated via Basic Auth or via OAuth with at least `read:public_key` [scope](https://docs.github.com/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/). */ - "users/get-public-ssh-key-for-authenticated": { - parameters: { - path: { - /** key_id parameter */ - key_id: components["parameters"]["key-id"]; - }; - }; - responses: { - /** Response */ - 200: { - content: { - "application/json": components["schemas"]["key"]; - }; - }; - 304: components["responses"]["not_modified"]; - 401: components["responses"]["requires_authentication"]; - 403: components["responses"]["forbidden"]; - 404: components["responses"]["not_found"]; - }; - }; - /** Removes a public SSH key from the authenticated user's GitHub account. Requires that you are authenticated via Basic Auth or via OAuth with at least `admin:public_key` [scope](https://docs.github.com/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/). */ - "users/delete-public-ssh-key-for-authenticated": { - parameters: { - path: { - /** key_id parameter */ - key_id: components["parameters"]["key-id"]; - }; - }; - responses: { - /** Response */ - 204: never; - 304: components["responses"]["not_modified"]; - 401: components["responses"]["requires_authentication"]; - 403: components["responses"]["forbidden"]; - 404: components["responses"]["not_found"]; - }; - }; - /** Lists the active subscriptions for the authenticated user. You must use a [user-to-server OAuth access token](https://docs.github.com/apps/building-github-apps/identifying-and-authorizing-users-for-github-apps/#identifying-users-on-your-site), created for a user who has authorized your GitHub App, to access this endpoint. . OAuth Apps must authenticate using an [OAuth token](https://docs.github.com/apps/building-github-apps/authenticating-with-github-apps/). */ - "apps/list-subscriptions-for-authenticated-user": { - parameters: { - query: { - /** Results per page (max 100) */ - per_page?: components["parameters"]["per-page"]; - /** Page number of the results to fetch. */ - page?: components["parameters"]["page"]; - }; - }; - responses: { - /** Response */ - 200: { - headers: {}; - content: { - "application/json": components["schemas"]["user-marketplace-purchase"][]; - }; - }; - 304: components["responses"]["not_modified"]; - 401: components["responses"]["requires_authentication"]; - 404: components["responses"]["not_found"]; - }; - }; - /** Lists the active subscriptions for the authenticated user. You must use a [user-to-server OAuth access token](https://docs.github.com/apps/building-github-apps/identifying-and-authorizing-users-for-github-apps/#identifying-users-on-your-site), created for a user who has authorized your GitHub App, to access this endpoint. . OAuth Apps must authenticate using an [OAuth token](https://docs.github.com/apps/building-github-apps/authenticating-with-github-apps/). */ - "apps/list-subscriptions-for-authenticated-user-stubbed": { - parameters: { - query: { - /** Results per page (max 100) */ - per_page?: components["parameters"]["per-page"]; - /** Page number of the results to fetch. */ - page?: components["parameters"]["page"]; - }; - }; - responses: { - /** Response */ - 200: { - headers: {}; - content: { - "application/json": components["schemas"]["user-marketplace-purchase"][]; - }; - }; - 304: components["responses"]["not_modified"]; - 401: components["responses"]["requires_authentication"]; - }; - }; - "orgs/list-memberships-for-authenticated-user": { - parameters: { - query: { - /** Indicates the state of the memberships to return. Can be either `active` or `pending`. If not specified, the API returns both active and pending memberships. */ - state?: "active" | "pending"; - /** Results per page (max 100) */ - per_page?: components["parameters"]["per-page"]; - /** Page number of the results to fetch. */ - page?: components["parameters"]["page"]; - }; - }; - responses: { - /** Response */ - 200: { - headers: {}; - content: { - "application/json": components["schemas"]["org-membership"][]; - }; - }; - 304: components["responses"]["not_modified"]; - 401: components["responses"]["requires_authentication"]; - 403: components["responses"]["forbidden"]; - 422: components["responses"]["validation_failed"]; - }; - }; - "orgs/get-membership-for-authenticated-user": { - parameters: { - path: { - org: components["parameters"]["org"]; - }; - }; - responses: { - /** Response */ - 200: { - content: { - "application/json": components["schemas"]["org-membership"]; - }; - }; - 403: components["responses"]["forbidden"]; - 404: components["responses"]["not_found"]; - }; - }; - "orgs/update-membership-for-authenticated-user": { - parameters: { - path: { - org: components["parameters"]["org"]; - }; - }; - responses: { - /** Response */ - 200: { - content: { - "application/json": components["schemas"]["org-membership"]; - }; - }; - 403: components["responses"]["forbidden"]; - 404: components["responses"]["not_found"]; - 422: components["responses"]["validation_failed"]; - }; - requestBody: { - content: { - "application/json": { - /** The state that the membership should be in. Only `"active"` will be accepted. */ - state: "active"; - }; - }; - }; - }; - /** Lists all migrations a user has started. */ - "migrations/list-for-authenticated-user": { - parameters: { - query: { - /** Results per page (max 100) */ - per_page?: components["parameters"]["per-page"]; - /** Page number of the results to fetch. */ - page?: components["parameters"]["page"]; - }; - }; - responses: { - /** Response */ - 200: { - headers: {}; - content: { - "application/json": components["schemas"]["migration"][]; - }; - }; - 304: components["responses"]["not_modified"]; - 401: components["responses"]["requires_authentication"]; - 403: components["responses"]["forbidden"]; - }; - }; - /** Initiates the generation of a user migration archive. */ - "migrations/start-for-authenticated-user": { - parameters: {}; - responses: { - /** Response */ - 201: { - content: { - "application/json": components["schemas"]["migration"]; - }; - }; - 304: components["responses"]["not_modified"]; - 401: components["responses"]["requires_authentication"]; - 403: components["responses"]["forbidden"]; - 422: components["responses"]["validation_failed"]; - }; - requestBody: { - content: { - "application/json": { - /** Lock the repositories being migrated at the start of the migration */ - lock_repositories?: boolean; - /** Do not include attachments in the migration */ - exclude_attachments?: boolean; - /** Exclude attributes from the API response to improve performance */ - exclude?: "repositories"[]; - repositories: string[]; - }; - }; - }; - }; - /** - * Fetches a single user migration. The response includes the `state` of the migration, which can be one of the following values: - * - * * `pending` - the migration hasn't started yet. - * * `exporting` - the migration is in progress. - * * `exported` - the migration finished successfully. - * * `failed` - the migration failed. - * - * Once the migration has been `exported` you can [download the migration archive](https://docs.github.com/rest/reference/migrations#download-a-user-migration-archive). - */ - "migrations/get-status-for-authenticated-user": { - parameters: { - path: { - /** migration_id parameter */ - migration_id: components["parameters"]["migration-id"]; - }; - query: { - exclude?: string[]; - }; - }; - responses: { - /** Response */ - 200: { - content: { - "application/json": components["schemas"]["migration"]; - }; - }; - 304: components["responses"]["not_modified"]; - 401: components["responses"]["requires_authentication"]; - 403: components["responses"]["forbidden"]; - 404: components["responses"]["not_found"]; - }; - }; - /** - * Fetches the URL to download the migration archive as a `tar.gz` file. Depending on the resources your repository uses, the migration archive can contain JSON files with data for these objects: - * - * * attachments - * * bases - * * commit\_comments - * * issue\_comments - * * issue\_events - * * issues - * * milestones - * * organizations - * * projects - * * protected\_branches - * * pull\_request\_reviews - * * pull\_requests - * * releases - * * repositories - * * review\_comments - * * schema - * * users - * - * The archive will also contain an `attachments` directory that includes all attachment files uploaded to GitHub.com and a `repositories` directory that contains the repository's Git data. - */ - "migrations/get-archive-for-authenticated-user": { - parameters: { - path: { - /** migration_id parameter */ - migration_id: components["parameters"]["migration-id"]; - }; - }; - responses: { - /** Response */ - 302: never; - 304: components["responses"]["not_modified"]; - 401: components["responses"]["requires_authentication"]; - 403: components["responses"]["forbidden"]; - }; - }; - /** Deletes a previous migration archive. Downloadable migration archives are automatically deleted after seven days. Migration metadata, which is returned in the [List user migrations](https://docs.github.com/rest/reference/migrations#list-user-migrations) and [Get a user migration status](https://docs.github.com/rest/reference/migrations#get-a-user-migration-status) endpoints, will continue to be available even after an archive is deleted. */ - "migrations/delete-archive-for-authenticated-user": { - parameters: { - path: { - /** migration_id parameter */ - migration_id: components["parameters"]["migration-id"]; - }; - }; - responses: { - /** Response */ - 204: never; - 304: components["responses"]["not_modified"]; - 401: components["responses"]["requires_authentication"]; - 403: components["responses"]["forbidden"]; - 404: components["responses"]["not_found"]; - }; - }; - /** Unlocks a repository. You can lock repositories when you [start a user migration](https://docs.github.com/rest/reference/migrations#start-a-user-migration). Once the migration is complete you can unlock each repository to begin using it again or [delete the repository](https://docs.github.com/rest/reference/repos#delete-a-repository) if you no longer need the source data. Returns a status of `404 Not Found` if the repository is not locked. */ - "migrations/unlock-repo-for-authenticated-user": { - parameters: { - path: { - /** migration_id parameter */ - migration_id: components["parameters"]["migration-id"]; - /** repo_name parameter */ - repo_name: components["parameters"]["repo-name"]; - }; - }; - responses: { - /** Response */ - 204: never; - 304: components["responses"]["not_modified"]; - 401: components["responses"]["requires_authentication"]; - 403: components["responses"]["forbidden"]; - 404: components["responses"]["not_found"]; - }; - }; - /** Lists all the repositories for this user migration. */ - "migrations/list-repos-for-user": { - parameters: { - path: { - /** migration_id parameter */ - migration_id: components["parameters"]["migration-id"]; - }; - query: { - /** Results per page (max 100) */ - per_page?: components["parameters"]["per-page"]; - /** Page number of the results to fetch. */ - page?: components["parameters"]["page"]; - }; - }; - responses: { - /** Response */ - 200: { - headers: {}; - content: { - "application/json": components["schemas"]["minimal-repository"][]; - }; - }; - 404: components["responses"]["not_found"]; - }; - }; - /** - * List organizations for the authenticated user. - * - * **OAuth scope requirements** - * - * This only lists organizations that your authorization allows you to operate on in some way (e.g., you can list teams with `read:org` scope, you can publicize your organization membership with `user` scope, etc.). Therefore, this API requires at least `user` or `read:org` scope. OAuth requests with insufficient scope receive a `403 Forbidden` response. - */ - "orgs/list-for-authenticated-user": { - parameters: { - query: { - /** Results per page (max 100) */ - per_page?: components["parameters"]["per-page"]; - /** Page number of the results to fetch. */ - page?: components["parameters"]["page"]; - }; - }; - responses: { - /** Response */ - 200: { - headers: {}; - content: { - "application/json": components["schemas"]["organization-simple"][]; - }; - }; - 304: components["responses"]["not_modified"]; - 401: components["responses"]["requires_authentication"]; - 403: components["responses"]["forbidden"]; - }; - }; - /** - * Gets a specific package for a package owned by the authenticated user. - * - * To use this endpoint, you must authenticate using an access token with the `packages:read` scope. - * If `package_type` is not `container`, your token must also include the `repo` scope. - */ - "packages/get-package-for-authenticated-user": { - parameters: { - path: { - /** The type of supported package. Can be one of `npm`, `maven`, `rubygems`, `nuget`, `docker`, or `container`. Packages in GitHub's Gradle registry have the type `maven`. Docker images pushed to GitHub's Container registry (`ghcr.io`) have the type `container`. You can use the type `docker` to find images that were pushed to GitHub's Docker registry (`docker.pkg.github.com`), even if these have now been migrated to the Container registry. */ - package_type: components["parameters"]["package-type"]; - /** The name of the package. */ - package_name: components["parameters"]["package-name"]; - }; - }; - responses: { - /** Response */ - 200: { - content: { - "application/json": components["schemas"]["package"]; - }; - }; - }; - }; - /** - * Deletes a package owned by the authenticated user. You cannot delete a public package if any version of the package has more than 5,000 downloads. In this scenario, contact GitHub support for further assistance. - * - * To use this endpoint, you must authenticate using an access token with the `packages:read` and `packages:delete` scope. - * If `package_type` is not `container`, your token must also include the `repo` scope. - */ - "packages/delete-package-for-authenticated-user": { - parameters: { - path: { - /** The type of supported package. Can be one of `npm`, `maven`, `rubygems`, `nuget`, `docker`, or `container`. Packages in GitHub's Gradle registry have the type `maven`. Docker images pushed to GitHub's Container registry (`ghcr.io`) have the type `container`. You can use the type `docker` to find images that were pushed to GitHub's Docker registry (`docker.pkg.github.com`), even if these have now been migrated to the Container registry. */ - package_type: components["parameters"]["package-type"]; - /** The name of the package. */ - package_name: components["parameters"]["package-name"]; - }; - }; - responses: { - /** Response */ - 204: never; - 401: components["responses"]["requires_authentication"]; - 403: components["responses"]["forbidden"]; - 404: components["responses"]["not_found"]; - }; - }; - /** - * Restores a package owned by the authenticated user. - * - * You can restore a deleted package under the following conditions: - * - The package was deleted within the last 30 days. - * - The same package namespace and version is still available and not reused for a new package. If the same package namespace is not available, you will not be able to restore your package. In this scenario, to restore the deleted package, you must delete the new package that uses the deleted package's namespace first. - * - * To use this endpoint, you must authenticate using an access token with the `packages:read` and `packages:write` scope. If `package_type` is not `container`, your token must also include the `repo` scope. - */ - "packages/restore-package-for-authenticated-user": { - parameters: { - path: { - /** The type of supported package. Can be one of `npm`, `maven`, `rubygems`, `nuget`, `docker`, or `container`. Packages in GitHub's Gradle registry have the type `maven`. Docker images pushed to GitHub's Container registry (`ghcr.io`) have the type `container`. You can use the type `docker` to find images that were pushed to GitHub's Docker registry (`docker.pkg.github.com`), even if these have now been migrated to the Container registry. */ - package_type: components["parameters"]["package-type"]; - /** The name of the package. */ - package_name: components["parameters"]["package-name"]; - }; - query: { - /** package token */ - token?: string; - }; - }; - responses: { - /** Response */ - 204: never; - 401: components["responses"]["requires_authentication"]; - 403: components["responses"]["forbidden"]; - 404: components["responses"]["not_found"]; - }; - }; - /** - * Returns all package versions for a package owned by the authenticated user. - * - * To use this endpoint, you must authenticate using an access token with the `packages:read` scope. - * If `package_type` is not `container`, your token must also include the `repo` scope. - */ - "packages/get-all-package-versions-for-package-owned-by-authenticated-user": { - parameters: { - path: { - /** The type of supported package. Can be one of `npm`, `maven`, `rubygems`, `nuget`, `docker`, or `container`. Packages in GitHub's Gradle registry have the type `maven`. Docker images pushed to GitHub's Container registry (`ghcr.io`) have the type `container`. You can use the type `docker` to find images that were pushed to GitHub's Docker registry (`docker.pkg.github.com`), even if these have now been migrated to the Container registry. */ - package_type: components["parameters"]["package-type"]; - /** The name of the package. */ - package_name: components["parameters"]["package-name"]; - }; - query: { - /** Page number of the results to fetch. */ - page?: components["parameters"]["page"]; - /** Results per page (max 100) */ - per_page?: components["parameters"]["per-page"]; - /** The state of the package, either active or deleted. */ - state?: "active" | "deleted"; - }; - }; - responses: { - /** Response */ - 200: { - content: { - "application/json": components["schemas"]["package-version"][]; - }; - }; - 401: components["responses"]["requires_authentication"]; - 403: components["responses"]["forbidden"]; - 404: components["responses"]["not_found"]; - }; - }; - /** - * Gets a specific package version for a package owned by the authenticated user. - * - * To use this endpoint, you must authenticate using an access token with the `packages:read` scope. - * If `package_type` is not `container`, your token must also include the `repo` scope. - */ - "packages/get-package-version-for-authenticated-user": { - parameters: { - path: { - /** The type of supported package. Can be one of `npm`, `maven`, `rubygems`, `nuget`, `docker`, or `container`. Packages in GitHub's Gradle registry have the type `maven`. Docker images pushed to GitHub's Container registry (`ghcr.io`) have the type `container`. You can use the type `docker` to find images that were pushed to GitHub's Docker registry (`docker.pkg.github.com`), even if these have now been migrated to the Container registry. */ - package_type: components["parameters"]["package-type"]; - /** The name of the package. */ - package_name: components["parameters"]["package-name"]; - /** Unique identifier of the package version. */ - package_version_id: components["parameters"]["package-version-id"]; - }; - }; - responses: { - /** Response */ - 200: { - content: { - "application/json": components["schemas"]["package-version"]; - }; - }; - }; - }; - /** - * Deletes a specific package version for a package owned by the authenticated user. If the package is public and the package version has more than 5,000 downloads, you cannot delete the package version. In this scenario, contact GitHub support for further assistance. - * - * To use this endpoint, you must have admin permissions in the organization and authenticate using an access token with the `packages:read` scope. - * If `package_type` is not `container`, your token must also include the `repo` scope. - */ - "packages/delete-package-version-for-authenticated-user": { - parameters: { - path: { - /** The type of supported package. Can be one of `npm`, `maven`, `rubygems`, `nuget`, `docker`, or `container`. Packages in GitHub's Gradle registry have the type `maven`. Docker images pushed to GitHub's Container registry (`ghcr.io`) have the type `container`. You can use the type `docker` to find images that were pushed to GitHub's Docker registry (`docker.pkg.github.com`), even if these have now been migrated to the Container registry. */ - package_type: components["parameters"]["package-type"]; - /** The name of the package. */ - package_name: components["parameters"]["package-name"]; - /** Unique identifier of the package version. */ - package_version_id: components["parameters"]["package-version-id"]; - }; - }; - responses: { - /** Response */ - 204: never; - 401: components["responses"]["requires_authentication"]; - 403: components["responses"]["forbidden"]; - 404: components["responses"]["not_found"]; - }; - }; - /** - * Restores a package version owned by the authenticated user. - * - * You can restore a deleted package version under the following conditions: - * - The package was deleted within the last 30 days. - * - The same package namespace and version is still available and not reused for a new package. If the same package namespace is not available, you will not be able to restore your package. In this scenario, to restore the deleted package, you must delete the new package that uses the deleted package's namespace first. - * - * To use this endpoint, you must authenticate using an access token with the `packages:read` and `packages:write` scope. If `package_type` is not `container`, your token must also include the `repo` scope. - */ - "packages/restore-package-version-for-authenticated-user": { - parameters: { - path: { - /** The type of supported package. Can be one of `npm`, `maven`, `rubygems`, `nuget`, `docker`, or `container`. Packages in GitHub's Gradle registry have the type `maven`. Docker images pushed to GitHub's Container registry (`ghcr.io`) have the type `container`. You can use the type `docker` to find images that were pushed to GitHub's Docker registry (`docker.pkg.github.com`), even if these have now been migrated to the Container registry. */ - package_type: components["parameters"]["package-type"]; - /** The name of the package. */ - package_name: components["parameters"]["package-name"]; - /** Unique identifier of the package version. */ - package_version_id: components["parameters"]["package-version-id"]; - }; - }; - responses: { - /** Response */ - 204: never; - 401: components["responses"]["requires_authentication"]; - 403: components["responses"]["forbidden"]; - 404: components["responses"]["not_found"]; - }; - }; - "projects/create-for-authenticated-user": { - parameters: {}; - responses: { - /** Response */ - 201: { - content: { - "application/json": components["schemas"]["project"]; - }; - }; - 304: components["responses"]["not_modified"]; - 401: components["responses"]["requires_authentication"]; - 403: components["responses"]["forbidden"]; - 415: components["responses"]["preview_header_missing"]; - 422: components["responses"]["validation_failed_simple"]; - }; - requestBody: { - content: { - "application/json": { - /** Name of the project */ - name: string; - /** Body of the project */ - body?: string | null; - }; - }; - }; - }; - /** Lists your publicly visible email address, which you can set with the [Set primary email visibility for the authenticated user](https://docs.github.com/rest/reference/users#set-primary-email-visibility-for-the-authenticated-user) endpoint. This endpoint is accessible with the `user:email` scope. */ - "users/list-public-emails-for-authenticated": { - parameters: { - query: { - /** Results per page (max 100) */ - per_page?: components["parameters"]["per-page"]; - /** Page number of the results to fetch. */ - page?: components["parameters"]["page"]; - }; - }; - responses: { - /** Response */ - 200: { - headers: {}; - content: { - "application/json": components["schemas"]["email"][]; - }; - }; - 304: components["responses"]["not_modified"]; - 401: components["responses"]["requires_authentication"]; - 403: components["responses"]["forbidden"]; - 404: components["responses"]["not_found"]; - }; - }; - /** - * Lists repositories that the authenticated user has explicit permission (`:read`, `:write`, or `:admin`) to access. - * - * The authenticated user has explicit permission to access repositories they own, repositories where they are a collaborator, and repositories that they can access through an organization membership. - */ - "repos/list-for-authenticated-user": { - parameters: { - query: { - /** Can be one of `all`, `public`, or `private`. Note: For GitHub AE, can be one of `all`, `internal`, or `private`. */ - visibility?: "all" | "public" | "private"; - /** - * Comma-separated list of values. Can include: - * \* `owner`: Repositories that are owned by the authenticated user. - * \* `collaborator`: Repositories that the user has been added to as a collaborator. - * \* `organization_member`: Repositories that the user has access to through being a member of an organization. This includes every repository on every team that the user is on. - */ - affiliation?: string; - /** - * Can be one of `all`, `owner`, `public`, `private`, `member`. Note: For GitHub AE, can be one of `all`, `owner`, `internal`, `private`, `member`. Default: `all` - * - * Will cause a `422` error if used in the same request as **visibility** or **affiliation**. Will cause a `422` error if used in the same request as **visibility** or **affiliation**. - */ - type?: "all" | "owner" | "public" | "private" | "member"; - /** Can be one of `created`, `updated`, `pushed`, `full_name`. */ - sort?: "created" | "updated" | "pushed" | "full_name"; - /** Can be one of `asc` or `desc`. Default: `asc` when using `full_name`, otherwise `desc` */ - direction?: "asc" | "desc"; - /** Results per page (max 100) */ - per_page?: components["parameters"]["per-page"]; - /** Page number of the results to fetch. */ - page?: components["parameters"]["page"]; - /** Only show notifications updated after the given time. This is a timestamp in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) format: `YYYY-MM-DDTHH:MM:SSZ`. */ - since?: components["parameters"]["since"]; - /** Only show notifications updated before the given time. This is a timestamp in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) format: `YYYY-MM-DDTHH:MM:SSZ`. */ - before?: components["parameters"]["before"]; - }; - }; - responses: { - /** Response */ - 200: { - content: { - "application/json": components["schemas"]["repository"][]; - }; - }; - 304: components["responses"]["not_modified"]; - 401: components["responses"]["requires_authentication"]; - 403: components["responses"]["forbidden"]; - 422: components["responses"]["validation_failed"]; - }; - }; - /** - * Creates a new repository for the authenticated user. - * - * **OAuth scope requirements** - * - * When using [OAuth](https://docs.github.com/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/), authorizations must include: - * - * * `public_repo` scope or `repo` scope to create a public repository. Note: For GitHub AE, use `repo` scope to create an internal repository. - * * `repo` scope to create a private repository. - */ - "repos/create-for-authenticated-user": { - parameters: {}; - responses: { - /** Response */ - 201: { - headers: { - Location?: string; - }; - content: { - "application/json": components["schemas"]["repository"]; - }; - }; - 304: components["responses"]["not_modified"]; - 400: components["responses"]["bad_request"]; - 401: components["responses"]["requires_authentication"]; - 403: components["responses"]["forbidden"]; - 404: components["responses"]["not_found"]; - 422: components["responses"]["validation_failed"]; - }; - requestBody: { - content: { - "application/json": { - /** The name of the repository. */ - name: string; - /** A short description of the repository. */ - description?: string; - /** A URL with more information about the repository. */ - homepage?: string; - /** Whether the repository is private. */ - private?: boolean; - /** Whether issues are enabled. */ - has_issues?: boolean; - /** Whether projects are enabled. */ - has_projects?: boolean; - /** Whether the wiki is enabled. */ - has_wiki?: boolean; - /** The id of the team that will be granted access to this repository. This is only valid when creating a repository in an organization. */ - team_id?: number; - /** Whether the repository is initialized with a minimal README. */ - auto_init?: boolean; - /** The desired language or platform to apply to the .gitignore. */ - gitignore_template?: string; - /** The license keyword of the open source license for this repository. */ - license_template?: string; - /** Whether to allow squash merges for pull requests. */ - allow_squash_merge?: boolean; - /** Whether to allow merge commits for pull requests. */ - allow_merge_commit?: boolean; - /** Whether to allow rebase merges for pull requests. */ - allow_rebase_merge?: boolean; - /** Whether to delete head branches when pull requests are merged */ - delete_branch_on_merge?: boolean; - /** Whether downloads are enabled. */ - has_downloads?: boolean; - /** Whether this repository acts as a template that can be used to generate new repositories. */ - is_template?: boolean; - }; - }; - }; - }; - /** When authenticating as a user, this endpoint will list all currently open repository invitations for that user. */ - "repos/list-invitations-for-authenticated-user": { - parameters: { - query: { - /** Results per page (max 100) */ - per_page?: components["parameters"]["per-page"]; - /** Page number of the results to fetch. */ - page?: components["parameters"]["page"]; - }; - }; - responses: { - /** Response */ - 200: { - headers: {}; - content: { - "application/json": components["schemas"]["repository-invitation"][]; - }; - }; - 304: components["responses"]["not_modified"]; - 401: components["responses"]["requires_authentication"]; - 403: components["responses"]["forbidden"]; - 404: components["responses"]["not_found"]; - }; - }; - "repos/decline-invitation": { - parameters: { - path: { - /** invitation_id parameter */ - invitation_id: components["parameters"]["invitation-id"]; - }; - }; - responses: { - /** Response */ - 204: never; - 304: components["responses"]["not_modified"]; - 403: components["responses"]["forbidden"]; - 404: components["responses"]["not_found"]; - 409: components["responses"]["conflict"]; - }; - }; - "repos/accept-invitation": { - parameters: { - path: { - /** invitation_id parameter */ - invitation_id: components["parameters"]["invitation-id"]; - }; - }; - responses: { - /** Response */ - 204: never; - 304: components["responses"]["not_modified"]; - 403: components["responses"]["forbidden"]; - 404: components["responses"]["not_found"]; - 409: components["responses"]["conflict"]; - }; - }; - /** - * Lists repositories the authenticated user has starred. - * - * You can also find out _when_ stars were created by passing the following custom [media type](https://docs.github.com/rest/overview/media-types/) via the `Accept` header: - */ - "activity/list-repos-starred-by-authenticated-user": { - parameters: { - query: { - /** One of `created` (when the repository was starred) or `updated` (when it was last pushed to). */ - sort?: components["parameters"]["sort"]; - /** One of `asc` (ascending) or `desc` (descending). */ - direction?: components["parameters"]["direction"]; - /** Results per page (max 100) */ - per_page?: components["parameters"]["per-page"]; - /** Page number of the results to fetch. */ - page?: components["parameters"]["page"]; - }; - }; - responses: { - /** Response */ - 200: { - headers: {}; - content: { - "application/json": components["schemas"]["repository"][]; - "application/vnd.github.v3.star+json": components["schemas"]["starred-repository"][]; - }; - }; - 304: components["responses"]["not_modified"]; - 401: components["responses"]["requires_authentication"]; - 403: components["responses"]["forbidden"]; - }; - }; - "activity/check-repo-is-starred-by-authenticated-user": { - parameters: { - path: { - owner: components["parameters"]["owner"]; - repo: components["parameters"]["repo"]; - }; - }; - responses: { - /** Response if this repository is starred by you */ - 204: never; - 304: components["responses"]["not_modified"]; - 401: components["responses"]["requires_authentication"]; - 403: components["responses"]["forbidden"]; - /** Not Found if this repository is not starred by you */ - 404: { - content: { - "application/json": components["schemas"]["basic-error"]; - }; - }; - }; - }; - /** Note that you'll need to set `Content-Length` to zero when calling out to this endpoint. For more information, see "[HTTP verbs](https://docs.github.com/rest/overview/resources-in-the-rest-api#http-verbs)." */ - "activity/star-repo-for-authenticated-user": { - parameters: { - path: { - owner: components["parameters"]["owner"]; - repo: components["parameters"]["repo"]; - }; - }; - responses: { - /** Response */ - 204: never; - 304: components["responses"]["not_modified"]; - 401: components["responses"]["requires_authentication"]; - 403: components["responses"]["forbidden"]; - 404: components["responses"]["not_found"]; - }; - }; - "activity/unstar-repo-for-authenticated-user": { - parameters: { - path: { - owner: components["parameters"]["owner"]; - repo: components["parameters"]["repo"]; - }; - }; - responses: { - /** Response */ - 204: never; - 304: components["responses"]["not_modified"]; - 401: components["responses"]["requires_authentication"]; - 403: components["responses"]["forbidden"]; - 404: components["responses"]["not_found"]; - }; - }; - /** Lists repositories the authenticated user is watching. */ - "activity/list-watched-repos-for-authenticated-user": { - parameters: { - query: { - /** Results per page (max 100) */ - per_page?: components["parameters"]["per-page"]; - /** Page number of the results to fetch. */ - page?: components["parameters"]["page"]; - }; - }; - responses: { - /** Response */ - 200: { - headers: {}; - content: { - "application/json": components["schemas"]["minimal-repository"][]; - }; - }; - 304: components["responses"]["not_modified"]; - 401: components["responses"]["requires_authentication"]; - 403: components["responses"]["forbidden"]; - }; - }; - /** List all of the teams across all of the organizations to which the authenticated user belongs. This method requires `user`, `repo`, or `read:org` [scope](https://docs.github.com/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/) when authenticating via [OAuth](https://docs.github.com/apps/building-oauth-apps/). */ - "teams/list-for-authenticated-user": { - parameters: { - query: { - /** Results per page (max 100) */ - per_page?: components["parameters"]["per-page"]; - /** Page number of the results to fetch. */ - page?: components["parameters"]["page"]; - }; - }; - responses: { - /** Response */ - 200: { - headers: {}; - content: { - "application/json": components["schemas"]["team-full"][]; - }; - }; - 304: components["responses"]["not_modified"]; - 403: components["responses"]["forbidden"]; - 404: components["responses"]["not_found"]; - }; - }; - /** - * Lists all users, in the order that they signed up on GitHub. This list includes personal user accounts and organization accounts. - * - * Note: Pagination is powered exclusively by the `since` parameter. Use the [Link header](https://docs.github.com/rest/overview/resources-in-the-rest-api#link-header) to get the URL for the next page of users. - */ - "users/list": { - parameters: { - query: { - /** A user ID. Only return users with an ID greater than this ID. */ - since?: components["parameters"]["since-user"]; - /** Results per page (max 100) */ - per_page?: components["parameters"]["per-page"]; - }; - }; - responses: { - /** Response */ - 200: { - headers: { - Link?: string; - }; - content: { - "application/json": components["schemas"]["simple-user"][]; - }; - }; - 304: components["responses"]["not_modified"]; - }; - }; - /** - * Provides publicly available information about someone with a GitHub account. - * - * GitHub Apps with the `Plan` user permission can use this endpoint to retrieve information about a user's GitHub plan. The GitHub App must be authenticated as a user. See "[Identifying and authorizing users for GitHub Apps](https://docs.github.com/apps/building-github-apps/identifying-and-authorizing-users-for-github-apps/)" for details about authentication. For an example response, see 'Response with GitHub plan information' below" - * - * The `email` key in the following response is the publicly visible email address from your GitHub [profile page](https://github.com/settings/profile). When setting up your profile, you can select a primary email address to be “public” which provides an email entry for this endpoint. If you do not set a public email address for `email`, then it will have a value of `null`. You only see publicly visible email addresses when authenticated with GitHub. For more information, see [Authentication](https://docs.github.com/rest/overview/resources-in-the-rest-api#authentication). - * - * The Emails API enables you to list all of your email addresses, and toggle a primary email to be visible publicly. For more information, see "[Emails API](https://docs.github.com/rest/reference/users#emails)". - */ - "users/get-by-username": { - parameters: { - path: { - username: components["parameters"]["username"]; - }; - }; - responses: { - /** Response */ - 200: { - content: { - "application/json": - | components["schemas"]["private-user"] - | components["schemas"]["public-user"]; - }; - }; - 202: components["responses"]["accepted"]; - 404: components["responses"]["not_found"]; - }; - }; - /** If you are authenticated as the given user, you will see your private events. Otherwise, you'll only see public events. */ - "activity/list-events-for-authenticated-user": { - parameters: { - path: { - username: components["parameters"]["username"]; - }; - query: { - /** Results per page (max 100) */ - per_page?: components["parameters"]["per-page"]; - /** Page number of the results to fetch. */ - page?: components["parameters"]["page"]; - }; - }; - responses: { - /** Response */ - 200: { - content: { - "application/json": components["schemas"]["event"][]; - }; - }; - }; - }; - /** This is the user's organization dashboard. You must be authenticated as the user to view this. */ - "activity/list-org-events-for-authenticated-user": { - parameters: { - path: { - username: components["parameters"]["username"]; - org: components["parameters"]["org"]; - }; - query: { - /** Results per page (max 100) */ - per_page?: components["parameters"]["per-page"]; - /** Page number of the results to fetch. */ - page?: components["parameters"]["page"]; - }; - }; - responses: { - /** Response */ - 200: { - content: { - "application/json": components["schemas"]["event"][]; - }; - }; - }; - }; - "activity/list-public-events-for-user": { - parameters: { - path: { - username: components["parameters"]["username"]; - }; - query: { - /** Results per page (max 100) */ - per_page?: components["parameters"]["per-page"]; - /** Page number of the results to fetch. */ - page?: components["parameters"]["page"]; - }; - }; - responses: { - /** Response */ - 200: { - content: { - "application/json": components["schemas"]["event"][]; - }; - }; - }; - }; - /** Lists the people following the specified user. */ - "users/list-followers-for-user": { - parameters: { - path: { - username: components["parameters"]["username"]; - }; - query: { - /** Results per page (max 100) */ - per_page?: components["parameters"]["per-page"]; - /** Page number of the results to fetch. */ - page?: components["parameters"]["page"]; - }; - }; - responses: { - /** Response */ - 200: { - headers: {}; - content: { - "application/json": components["schemas"]["simple-user"][]; - }; - }; - }; - }; - /** Lists the people who the specified user follows. */ - "users/list-following-for-user": { - parameters: { - path: { - username: components["parameters"]["username"]; - }; - query: { - /** Results per page (max 100) */ - per_page?: components["parameters"]["per-page"]; - /** Page number of the results to fetch. */ - page?: components["parameters"]["page"]; - }; - }; - responses: { - /** Response */ - 200: { - headers: {}; - content: { - "application/json": components["schemas"]["simple-user"][]; - }; - }; - }; - }; - "users/check-following-for-user": { - parameters: { - path: { - username: components["parameters"]["username"]; - target_user: string; - }; - }; - responses: { - /** if the user follows the target user */ - 204: never; - /** if the user does not follow the target user */ - 404: unknown; - }; - }; - /** Lists public gists for the specified user: */ - "gists/list-for-user": { - parameters: { - path: { - username: components["parameters"]["username"]; - }; - query: { - /** Only show notifications updated after the given time. This is a timestamp in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) format: `YYYY-MM-DDTHH:MM:SSZ`. */ - since?: components["parameters"]["since"]; - /** Results per page (max 100) */ - per_page?: components["parameters"]["per-page"]; - /** Page number of the results to fetch. */ - page?: components["parameters"]["page"]; - }; - }; - responses: { - /** Response */ - 200: { - headers: {}; - content: { - "application/json": components["schemas"]["base-gist"][]; - }; - }; - 422: components["responses"]["validation_failed"]; - }; - }; - /** Lists the GPG keys for a user. This information is accessible by anyone. */ - "users/list-gpg-keys-for-user": { - parameters: { - path: { - username: components["parameters"]["username"]; - }; - query: { - /** Results per page (max 100) */ - per_page?: components["parameters"]["per-page"]; - /** Page number of the results to fetch. */ - page?: components["parameters"]["page"]; - }; - }; - responses: { - /** Response */ - 200: { - headers: {}; - content: { - "application/json": components["schemas"]["gpg-key"][]; - }; - }; - }; - }; - /** - * Provides hovercard information when authenticated through basic auth or OAuth with the `repo` scope. You can find out more about someone in relation to their pull requests, issues, repositories, and organizations. - * - * The `subject_type` and `subject_id` parameters provide context for the person's hovercard, which returns more information than without the parameters. For example, if you wanted to find out more about `octocat` who owns the `Spoon-Knife` repository via cURL, it would look like this: - * - * ```shell - * curl -u username:token - * https://api.github.com/users/octocat/hovercard?subject_type=repository&subject_id=1300192 - * ``` - */ - "users/get-context-for-user": { - parameters: { - path: { - username: components["parameters"]["username"]; - }; - query: { - /** Identifies which additional information you'd like to receive about the person's hovercard. Can be `organization`, `repository`, `issue`, `pull_request`. **Required** when using `subject_id`. */ - subject_type?: "organization" | "repository" | "issue" | "pull_request"; - /** Uses the ID for the `subject_type` you specified. **Required** when using `subject_type`. */ - subject_id?: string; - }; - }; - responses: { - /** Response */ - 200: { - content: { - "application/json": components["schemas"]["hovercard"]; - }; - }; - 404: components["responses"]["not_found"]; - 422: components["responses"]["validation_failed"]; - }; - }; - /** - * Enables an authenticated GitHub App to find the user’s installation information. - * - * You must use a [JWT](https://docs.github.com/apps/building-github-apps/authenticating-with-github-apps/#authenticating-as-a-github-app) to access this endpoint. - */ - "apps/get-user-installation": { - parameters: { - path: { - username: components["parameters"]["username"]; - }; - }; - responses: { - /** Response */ - 200: { - content: { - "application/json": components["schemas"]["installation"]; - }; - }; - }; - }; - /** Lists the _verified_ public SSH keys for a user. This is accessible by anyone. */ - "users/list-public-keys-for-user": { - parameters: { - path: { - username: components["parameters"]["username"]; - }; - query: { - /** Results per page (max 100) */ - per_page?: components["parameters"]["per-page"]; - /** Page number of the results to fetch. */ - page?: components["parameters"]["page"]; - }; - }; - responses: { - /** Response */ - 200: { - headers: {}; - content: { - "application/json": components["schemas"]["key-simple"][]; - }; - }; - }; - }; - /** - * List [public organization memberships](https://help.github.com/articles/publicizing-or-concealing-organization-membership) for the specified user. - * - * This method only lists _public_ memberships, regardless of authentication. If you need to fetch all of the organization memberships (public and private) for the authenticated user, use the [List organizations for the authenticated user](https://docs.github.com/rest/reference/orgs#list-organizations-for-the-authenticated-user) API instead. - */ - "orgs/list-for-user": { - parameters: { - path: { - username: components["parameters"]["username"]; - }; - query: { - /** Results per page (max 100) */ - per_page?: components["parameters"]["per-page"]; - /** Page number of the results to fetch. */ - page?: components["parameters"]["page"]; - }; - }; - responses: { - /** Response */ - 200: { - headers: {}; - content: { - "application/json": components["schemas"]["organization-simple"][]; - }; - }; - }; - }; - /** - * Gets a specific package metadata for a public package owned by a user. - * - * To use this endpoint, you must authenticate using an access token with the `packages:read` scope. - * If `package_type` is not `container`, your token must also include the `repo` scope. - */ - "packages/get-package-for-user": { - parameters: { - path: { - /** The type of supported package. Can be one of `npm`, `maven`, `rubygems`, `nuget`, `docker`, or `container`. Packages in GitHub's Gradle registry have the type `maven`. Docker images pushed to GitHub's Container registry (`ghcr.io`) have the type `container`. You can use the type `docker` to find images that were pushed to GitHub's Docker registry (`docker.pkg.github.com`), even if these have now been migrated to the Container registry. */ - package_type: components["parameters"]["package-type"]; - /** The name of the package. */ - package_name: components["parameters"]["package-name"]; - username: components["parameters"]["username"]; - }; - }; - responses: { - /** Response */ - 200: { - content: { - "application/json": components["schemas"]["package"]; - }; - }; - }; - }; - /** - * Returns all package versions for a public package owned by a specified user. - * - * To use this endpoint, you must authenticate using an access token with the `packages:read` scope. - * If `package_type` is not `container`, your token must also include the `repo` scope. - */ - "packages/get-all-package-versions-for-package-owned-by-user": { - parameters: { - path: { - /** The type of supported package. Can be one of `npm`, `maven`, `rubygems`, `nuget`, `docker`, or `container`. Packages in GitHub's Gradle registry have the type `maven`. Docker images pushed to GitHub's Container registry (`ghcr.io`) have the type `container`. You can use the type `docker` to find images that were pushed to GitHub's Docker registry (`docker.pkg.github.com`), even if these have now been migrated to the Container registry. */ - package_type: components["parameters"]["package-type"]; - /** The name of the package. */ - package_name: components["parameters"]["package-name"]; - username: components["parameters"]["username"]; - }; - }; - responses: { - /** Response */ - 200: { - content: { - "application/json": components["schemas"]["package-version"][]; - }; - }; - 401: components["responses"]["requires_authentication"]; - 403: components["responses"]["forbidden"]; - 404: components["responses"]["not_found"]; - }; - }; - /** - * Gets a specific package version for a public package owned by a specified user. - * - * At this time, to use this endpoint, you must authenticate using an access token with the `packages:read` scope. - * If `package_type` is not `container`, your token must also include the `repo` scope. - */ - "packages/get-package-version-for-user": { - parameters: { - path: { - /** The type of supported package. Can be one of `npm`, `maven`, `rubygems`, `nuget`, `docker`, or `container`. Packages in GitHub's Gradle registry have the type `maven`. Docker images pushed to GitHub's Container registry (`ghcr.io`) have the type `container`. You can use the type `docker` to find images that were pushed to GitHub's Docker registry (`docker.pkg.github.com`), even if these have now been migrated to the Container registry. */ - package_type: components["parameters"]["package-type"]; - /** The name of the package. */ - package_name: components["parameters"]["package-name"]; - /** Unique identifier of the package version. */ - package_version_id: components["parameters"]["package-version-id"]; - username: components["parameters"]["username"]; - }; - }; - responses: { - /** Response */ - 200: { - content: { - "application/json": components["schemas"]["package-version"]; - }; - }; - }; - }; - "projects/list-for-user": { - parameters: { - path: { - username: components["parameters"]["username"]; - }; - query: { - /** Indicates the state of the projects to return. Can be either `open`, `closed`, or `all`. */ - state?: "open" | "closed" | "all"; - /** Results per page (max 100) */ - per_page?: components["parameters"]["per-page"]; - /** Page number of the results to fetch. */ - page?: components["parameters"]["page"]; - }; - }; - responses: { - /** Response */ - 200: { - headers: {}; - content: { - "application/json": components["schemas"]["project"][]; - }; - }; - 415: components["responses"]["preview_header_missing"]; - 422: components["responses"]["validation_failed"]; - }; - }; - /** These are events that you've received by watching repos and following users. If you are authenticated as the given user, you will see private events. Otherwise, you'll only see public events. */ - "activity/list-received-events-for-user": { - parameters: { - path: { - username: components["parameters"]["username"]; - }; - query: { - /** Results per page (max 100) */ - per_page?: components["parameters"]["per-page"]; - /** Page number of the results to fetch. */ - page?: components["parameters"]["page"]; - }; - }; - responses: { - /** Response */ - 200: { - content: { - "application/json": components["schemas"]["event"][]; - }; - }; - }; - }; - "activity/list-received-public-events-for-user": { - parameters: { - path: { - username: components["parameters"]["username"]; - }; - query: { - /** Results per page (max 100) */ - per_page?: components["parameters"]["per-page"]; - /** Page number of the results to fetch. */ - page?: components["parameters"]["page"]; - }; - }; - responses: { - /** Response */ - 200: { - content: { - "application/json": components["schemas"]["event"][]; - }; - }; - }; - }; - /** Lists public repositories for the specified user. Note: For GitHub AE, this endpoint will list internal repositories for the specified user. */ - "repos/list-for-user": { - parameters: { - path: { - username: components["parameters"]["username"]; - }; - query: { - /** Can be one of `all`, `owner`, `member`. */ - type?: "all" | "owner" | "member"; - /** Can be one of `created`, `updated`, `pushed`, `full_name`. */ - sort?: "created" | "updated" | "pushed" | "full_name"; - /** Can be one of `asc` or `desc`. Default: `asc` when using `full_name`, otherwise `desc` */ - direction?: "asc" | "desc"; - /** Results per page (max 100) */ - per_page?: components["parameters"]["per-page"]; - /** Page number of the results to fetch. */ - page?: components["parameters"]["page"]; - }; - }; - responses: { - /** Response */ - 200: { - headers: {}; - content: { - "application/json": components["schemas"]["minimal-repository"][]; - }; - }; - }; - }; - /** - * Gets the summary of the free and paid GitHub Actions minutes used. - * - * Paid minutes only apply to workflows in private repositories that use GitHub-hosted runners. Minutes used is listed for each GitHub-hosted runner operating system. Any job re-runs are also included in the usage. The usage returned includes any minute multipliers for macOS and Windows runners, and is rounded up to the nearest whole minute. For more information, see "[Managing billing for GitHub Actions](https://help.github.com/github/setting-up-and-managing-billing-and-payments-on-github/managing-billing-for-github-actions)". - * - * Access tokens must have the `user` scope. - */ - "billing/get-github-actions-billing-user": { - parameters: { - path: { - username: components["parameters"]["username"]; - }; - }; - responses: { - /** Response */ - 200: { - content: { - "application/json": components["schemas"]["actions-billing-usage"]; - }; - }; - }; - }; - /** - * Gets the free and paid storage used for GitHub Packages in gigabytes. - * - * Paid minutes only apply to packages stored for private repositories. For more information, see "[Managing billing for GitHub Packages](https://help.github.com/github/setting-up-and-managing-billing-and-payments-on-github/managing-billing-for-github-packages)." - * - * Access tokens must have the `user` scope. - */ - "billing/get-github-packages-billing-user": { - parameters: { - path: { - username: components["parameters"]["username"]; - }; - }; - responses: { - /** Response */ - 200: { - content: { - "application/json": components["schemas"]["packages-billing-usage"]; - }; - }; - }; - }; - /** - * Gets the estimated paid and estimated total storage used for GitHub Actions and Github Packages. - * - * Paid minutes only apply to packages stored for private repositories. For more information, see "[Managing billing for GitHub Packages](https://help.github.com/github/setting-up-and-managing-billing-and-payments-on-github/managing-billing-for-github-packages)." - * - * Access tokens must have the `user` scope. - */ - "billing/get-shared-storage-billing-user": { - parameters: { - path: { - username: components["parameters"]["username"]; - }; - }; - responses: { - /** Response */ - 200: { - content: { - "application/json": components["schemas"]["combined-billing-usage"]; - }; - }; - }; - }; - /** - * Lists repositories a user has starred. - * - * You can also find out _when_ stars were created by passing the following custom [media type](https://docs.github.com/rest/overview/media-types/) via the `Accept` header: - */ - "activity/list-repos-starred-by-user": { - parameters: { - path: { - username: components["parameters"]["username"]; - }; - query: { - /** One of `created` (when the repository was starred) or `updated` (when it was last pushed to). */ - sort?: components["parameters"]["sort"]; - /** One of `asc` (ascending) or `desc` (descending). */ - direction?: components["parameters"]["direction"]; - /** Results per page (max 100) */ - per_page?: components["parameters"]["per-page"]; - /** Page number of the results to fetch. */ - page?: components["parameters"]["page"]; - }; - }; - responses: { - /** Response */ - 200: { - headers: {}; - content: { - "application/json": Partial< - components["schemas"]["starred-repository"][] - > & - Partial; - }; - }; - }; - }; - /** Lists repositories a user is watching. */ - "activity/list-repos-watched-by-user": { - parameters: { - path: { - username: components["parameters"]["username"]; - }; - query: { - /** Results per page (max 100) */ - per_page?: components["parameters"]["per-page"]; - /** Page number of the results to fetch. */ - page?: components["parameters"]["page"]; - }; - }; - responses: { - /** Response */ - 200: { - headers: {}; - content: { - "application/json": components["schemas"]["minimal-repository"][]; - }; - }; - }; - }; - /** Get a random sentence from the Zen of GitHub */ - "meta/get-zen": { - responses: { - /** Response */ - 200: { - content: { - "text/plain": string; - }; - }; - }; - }; - /** - * **Deprecated**: Use `repos.compareCommitsWithBasehead()` (`GET /repos/{owner}/{repo}/compare/{basehead}`) instead. Both `:base` and `:head` must be branch names in `:repo`. To compare branches across other repositories in the same network as `:repo`, use the format `:branch`. - * - * The response from the API is equivalent to running the `git log base..head` command; however, commits are returned in chronological order. Pass the appropriate [media type](https://docs.github.com/rest/overview/media-types/#commits-commit-comparison-and-pull-requests) to fetch diff and patch formats. - * - * The response also includes details on the files that were changed between the two commits. This includes the status of the change (for example, if a file was added, removed, modified, or renamed), and details of the change itself. For example, files with a `renamed` status have a `previous_filename` field showing the previous filename of the file, and files with a `modified` status have a `patch` field showing the changes made to the file. - * - * **Working with large comparisons** - * - * To process a response with a large number of commits, you can use (`per_page` or `page`) to paginate the results. When using paging, the list of changed files is only returned with page 1, but includes all changed files for the entire comparison. For more information on working with pagination, see "[Traversing with pagination](/rest/guides/traversing-with-pagination)." - * - * When calling this API without any paging parameters (`per_page` or `page`), the returned list is limited to 250 commits and the last commit in the list is the most recent of the entire comparison. When a paging parameter is specified, the first commit in the returned list of each page is the earliest. - * - * **Signature verification object** - * - * The response will include a `verification` object that describes the result of verifying the commit's signature. The following fields are included in the `verification` object: - * - * | Name | Type | Description | - * | ---- | ---- | ----------- | - * | `verified` | `boolean` | Indicates whether GitHub considers the signature in this commit to be verified. | - * | `reason` | `string` | The reason for verified value. Possible values and their meanings are enumerated in table below. | - * | `signature` | `string` | The signature that was extracted from the commit. | - * | `payload` | `string` | The value that was signed. | - * - * These are the possible values for `reason` in the `verification` object: - * - * | Value | Description | - * | ----- | ----------- | - * | `expired_key` | The key that made the signature is expired. | - * | `not_signing_key` | The "signing" flag is not among the usage flags in the GPG key that made the signature. | - * | `gpgverify_error` | There was an error communicating with the signature verification service. | - * | `gpgverify_unavailable` | The signature verification service is currently unavailable. | - * | `unsigned` | The object does not include a signature. | - * | `unknown_signature_type` | A non-PGP signature was found in the commit. | - * | `no_user` | No user was associated with the `committer` email address in the commit. | - * | `unverified_email` | The `committer` email address in the commit was associated with a user, but the email address is not verified on her/his account. | - * | `bad_email` | The `committer` email address in the commit is not included in the identities of the PGP key that made the signature. | - * | `unknown_key` | The key that made the signature has not been registered with any user's account. | - * | `malformed_signature` | There was an error parsing the signature. | - * | `invalid` | The signature could not be cryptographically verified using the key whose key-id was found in the signature. | - * | `valid` | None of the above errors applied, so the signature is considered to be verified. | - */ - "repos/compare-commits": { - parameters: { - path: { - owner: components["parameters"]["owner"]; - repo: components["parameters"]["repo"]; - base: string; - head: string; - }; - query: { - /** Results per page (max 100) */ - per_page?: components["parameters"]["per-page"]; - /** Page number of the results to fetch. */ - page?: components["parameters"]["page"]; - }; - }; - responses: { - /** Response */ - 200: { - content: { - "application/json": components["schemas"]["commit-comparison"]; - }; - }; - 404: components["responses"]["not_found"]; - 500: components["responses"]["internal_error"]; - }; - }; - /** - * **Deprecated:** use `apps.createContentAttachmentForRepo()` (`POST /repos/{owner}/{repo}/content_references/{content_reference_id}/attachments`) instead. Creates an attachment under a content reference URL in the body or comment of an issue or pull request. Use the `id` of the content reference from the [`content_reference` event](https://docs.github.com/webhooks/event-payloads/#content_reference) to create an attachment. - * - * The app must create a content attachment within six hours of the content reference URL being posted. See "[Using content attachments](https://docs.github.com/apps/using-content-attachments/)" for details about content attachments. - * - * You must use an [installation access token](https://docs.github.com/apps/building-github-apps/authenticating-with-github-apps/#authenticating-as-an-installation) to access this endpoint. - */ - "apps/create-content-attachment": { - parameters: { - path: { - content_reference_id: number; - }; - }; - responses: { - /** Response */ - 200: { - content: { - "application/json": components["schemas"]["content-reference-attachment"]; - }; - }; - 304: components["responses"]["not_modified"]; - 403: components["responses"]["forbidden"]; - 404: components["responses"]["not_found"]; - 410: components["responses"]["gone"]; - 415: components["responses"]["preview_header_missing"]; - 422: components["responses"]["validation_failed"]; - }; - requestBody: { - content: { - "application/json": { - /** The title of the attachment */ - title: string; - /** The body of the attachment */ - body: string; - }; - }; - }; - }; -} - -export interface external {} diff --git a/node_modules/@octokit/plugin-paginate-rest/LICENSE b/node_modules/@octokit/plugin-paginate-rest/LICENSE deleted file mode 100644 index 57bee5f..0000000 --- a/node_modules/@octokit/plugin-paginate-rest/LICENSE +++ /dev/null @@ -1,7 +0,0 @@ -MIT License Copyright (c) 2019 Octokit 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 (including the next paragraph) 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/@octokit/plugin-paginate-rest/README.md b/node_modules/@octokit/plugin-paginate-rest/README.md deleted file mode 100644 index ddd5f7d..0000000 --- a/node_modules/@octokit/plugin-paginate-rest/README.md +++ /dev/null @@ -1,269 +0,0 @@ -# plugin-paginate-rest.js - -> Octokit plugin to paginate REST API endpoint responses - -[![@latest](https://img.shields.io/npm/v/@octokit/plugin-paginate-rest.svg)](https://www.npmjs.com/package/@octokit/plugin-paginate-rest) -[![Build Status](https://github.com/octokit/plugin-paginate-rest.js/workflows/Test/badge.svg)](https://github.com/octokit/plugin-paginate-rest.js/actions?workflow=Test) - -## Usage - - - - - - -
-Browsers - - -Load `@octokit/plugin-paginate-rest` and [`@octokit/core`](https://github.com/octokit/core.js) (or core-compatible module) directly from [cdn.skypack.dev](https://cdn.skypack.dev) - -```html - -``` - -
-Node - - -Install with `npm install @octokit/core @octokit/plugin-paginate-rest`. Optionally replace `@octokit/core` with a core-compatible module - -```js -const { Octokit } = require("@octokit/core"); -const { - paginateRest, - composePaginateRest, -} = require("@octokit/plugin-paginate-rest"); -``` - -
- -```js -const MyOctokit = Octokit.plugin(paginateRest); -const octokit = new MyOctokit({ auth: "secret123" }); - -// See https://developer.github.com/v3/issues/#list-issues-for-a-repository -const issues = await octokit.paginate("GET /repos/{owner}/{repo}/issues", { - owner: "octocat", - repo: "hello-world", - since: "2010-10-01", - per_page: 100, -}); -``` - -If you want to utilize the pagination methods in another plugin, use `composePaginateRest`. - -```js -function myPlugin(octokit, options) { - return { - allStars({owner, repo}) => { - return composePaginateRest( - octokit, - "GET /repos/{owner}/{repo}/stargazers", - {owner, repo } - ) - } - } -} -``` - -## `octokit.paginate()` - -The `paginateRest` plugin adds a new `octokit.paginate()` method which accepts the same parameters as [`octokit.request`](https://github.com/octokit/request.js#request). Only "List ..." endpoints such as [List issues for a repository](https://developer.github.com/v3/issues/#list-issues-for-a-repository) are supporting pagination. Their [response includes a Link header](https://developer.github.com/v3/issues/#response-1). For other endpoints, `octokit.paginate()` behaves the same as `octokit.request()`. - -The `per_page` parameter is usually defaulting to `30`, and can be set to up to `100`, which helps retrieving a big amount of data without hitting the rate limits too soon. - -An optional `mapFunction` can be passed to map each page response to a new value, usually an array with only the data you need. This can help to reduce memory usage, as only the relevant data has to be kept in memory until the pagination is complete. - -```js -const issueTitles = await octokit.paginate( - "GET /repos/{owner}/{repo}/issues", - { - owner: "octocat", - repo: "hello-world", - since: "2010-10-01", - per_page: 100, - }, - (response) => response.data.map((issue) => issue.title) -); -``` - -The `mapFunction` gets a 2nd argument `done` which can be called to end the pagination early. - -```js -const issues = await octokit.paginate( - "GET /repos/{owner}/{repo}/issues", - { - owner: "octocat", - repo: "hello-world", - since: "2010-10-01", - per_page: 100, - }, - (response, done) => { - if (response.data.find((issues) => issue.title.includes("something"))) { - done(); - } - return response.data; - } -); -``` - -Alternatively you can pass a `request` method as first argument. This is great when using in combination with [`@octokit/plugin-rest-endpoint-methods`](https://github.com/octokit/plugin-rest-endpoint-methods.js/): - -```js -const issues = await octokit.paginate(octokit.rest.issues.listForRepo, { - owner: "octocat", - repo: "hello-world", - since: "2010-10-01", - per_page: 100, -}); -``` - -## `octokit.paginate.iterator()` - -If your target runtime environments supports async iterators (such as most modern browsers and Node 10+), you can iterate through each response - -```js -const parameters = { - owner: "octocat", - repo: "hello-world", - since: "2010-10-01", - per_page: 100, -}; -for await (const response of octokit.paginate.iterator( - "GET /repos/{owner}/{repo}/issues", - parameters -)) { - // do whatever you want with each response, break out of the loop, etc. - const issues = response.data; - console.log("%d issues found", issues.length); -} -``` - -Alternatively you can pass a `request` method as first argument. This is great when using in combination with [`@octokit/plugin-rest-endpoint-methods`](https://github.com/octokit/plugin-rest-endpoint-methods.js/): - -```js -const parameters = { - owner: "octocat", - repo: "hello-world", - since: "2010-10-01", - per_page: 100, -}; -for await (const response of octokit.paginate.iterator( - octokit.rest.issues.listForRepo, - parameters -)) { - // do whatever you want with each response, break out of the loop, etc. - const issues = response.data; - console.log("%d issues found", issues.length); -} -``` - -## `composePaginateRest` and `composePaginateRest.iterator` - -The `compose*` methods work just like their `octokit.*` counterparts described above, with the differenct that both methods require an `octokit` instance to be passed as first argument - -## How it works - -`octokit.paginate()` wraps `octokit.request()`. As long as a `rel="next"` link value is present in the response's `Link` header, it sends another request for that URL, and so on. - -Most of GitHub's paginating REST API endpoints return an array, but there are a few exceptions which return an object with a key that includes the items array. For example: - -- [Search repositories](https://developer.github.com/v3/search/#example) (key `items`) -- [List check runs for a specific ref](https://developer.github.com/v3/checks/runs/#response-3) (key: `check_runs`) -- [List check suites for a specific ref](https://developer.github.com/v3/checks/suites/#response-1) (key: `check_suites`) -- [List repositories](https://developer.github.com/v3/apps/installations/#list-repositories) for an installation (key: `repositories`) -- [List installations for a user](https://developer.github.com/v3/apps/installations/#response-1) (key `installations`) - -`octokit.paginate()` is working around these inconsistencies so you don't have to worry about it. - -If a response is lacking the `Link` header, `octokit.paginate()` still resolves with an array, even if the response returns a single object. - -## Types - -The plugin also exposes some types and runtime type guards for TypeScript projects. - - - - - - -
-Types - - -```typescript -import { - PaginateInterface, - PaginatingEndpoints, -} from "@octokit/plugin-paginate-rest"; -``` - -
-Guards - - -```typescript -import { isPaginatingEndpoint } from "@octokit/plugin-paginate-rest"; -``` - -
- -### PaginateInterface - -An `interface` that declares all the overloads of the `.paginate` method. - -### PaginatingEndpoints - -An `interface` which describes all API endpoints supported by the plugin. Some overloads of `.paginate()` method and `composePaginateRest()` function depend on `PaginatingEndpoints`, using the `keyof PaginatingEndpoints` as a type for one of its arguments. - -```typescript -import { Octokit } from "@octokit/core"; -import { - PaginatingEndpoints, - composePaginateRest, -} from "@octokit/plugin-paginate-rest"; - -type DataType = "data" extends keyof T ? T["data"] : unknown; - -async function myPaginatePlugin( - octokit: Octokit, - endpoint: E, - parameters?: PaginatingEndpoints[E]["parameters"] -): Promise> { - return await composePaginateRest(octokit, endpoint, parameters); -} -``` - -### isPaginatingEndpoint - -A type guard, `isPaginatingEndpoint(arg)` returns `true` if `arg` is one of the keys in `PaginatingEndpoints` (is `keyof PaginatingEndpoints`). - -```typescript -import { Octokit } from "@octokit/core"; -import { - isPaginatingEndpoint, - composePaginateRest, -} from "@octokit/plugin-paginate-rest"; - -async function myPlugin(octokit: Octokit, arg: unknown) { - if (isPaginatingEndpoint(arg)) { - return await composePaginateRest(octokit, arg); - } - // ... -} -``` - -## Contributing - -See [CONTRIBUTING.md](CONTRIBUTING.md) - -## License - -[MIT](LICENSE) diff --git a/node_modules/@octokit/plugin-paginate-rest/dist-node/index.js b/node_modules/@octokit/plugin-paginate-rest/dist-node/index.js deleted file mode 100644 index 6484865..0000000 --- a/node_modules/@octokit/plugin-paginate-rest/dist-node/index.js +++ /dev/null @@ -1,217 +0,0 @@ -'use strict'; - -Object.defineProperty(exports, '__esModule', { value: true }); - -const VERSION = "2.14.0"; - -function ownKeys(object, enumerableOnly) { - var keys = Object.keys(object); - - if (Object.getOwnPropertySymbols) { - var symbols = Object.getOwnPropertySymbols(object); - - if (enumerableOnly) { - symbols = symbols.filter(function (sym) { - return Object.getOwnPropertyDescriptor(object, sym).enumerable; - }); - } - - keys.push.apply(keys, symbols); - } - - return keys; -} - -function _objectSpread2(target) { - for (var i = 1; i < arguments.length; i++) { - var source = arguments[i] != null ? arguments[i] : {}; - - if (i % 2) { - ownKeys(Object(source), true).forEach(function (key) { - _defineProperty(target, key, source[key]); - }); - } else if (Object.getOwnPropertyDescriptors) { - Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)); - } else { - ownKeys(Object(source)).forEach(function (key) { - Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); - }); - } - } - - return target; -} - -function _defineProperty(obj, key, value) { - if (key in obj) { - Object.defineProperty(obj, key, { - value: value, - enumerable: true, - configurable: true, - writable: true - }); - } else { - obj[key] = value; - } - - return obj; -} - -/** - * Some “list” response that can be paginated have a different response structure - * - * They have a `total_count` key in the response (search also has `incomplete_results`, - * /installation/repositories also has `repository_selection`), as well as a key with - * the list of the items which name varies from endpoint to endpoint. - * - * Octokit normalizes these responses so that paginated results are always returned following - * the same structure. One challenge is that if the list response has only one page, no Link - * header is provided, so this header alone is not sufficient to check wether a response is - * paginated or not. - * - * We check if a "total_count" key is present in the response data, but also make sure that - * a "url" property is not, as the "Get the combined status for a specific ref" endpoint would - * otherwise match: https://developer.github.com/v3/repos/statuses/#get-the-combined-status-for-a-specific-ref - */ -function normalizePaginatedListResponse(response) { - // endpoints can respond with 204 if repository is empty - if (!response.data) { - return _objectSpread2(_objectSpread2({}, response), {}, { - data: [] - }); - } - - const responseNeedsNormalization = "total_count" in response.data && !("url" in response.data); - if (!responseNeedsNormalization) return response; // keep the additional properties intact as there is currently no other way - // to retrieve the same information. - - const incompleteResults = response.data.incomplete_results; - const repositorySelection = response.data.repository_selection; - const totalCount = response.data.total_count; - delete response.data.incomplete_results; - delete response.data.repository_selection; - delete response.data.total_count; - const namespaceKey = Object.keys(response.data)[0]; - const data = response.data[namespaceKey]; - response.data = data; - - if (typeof incompleteResults !== "undefined") { - response.data.incomplete_results = incompleteResults; - } - - if (typeof repositorySelection !== "undefined") { - response.data.repository_selection = repositorySelection; - } - - response.data.total_count = totalCount; - return response; -} - -function iterator(octokit, route, parameters) { - const options = typeof route === "function" ? route.endpoint(parameters) : octokit.request.endpoint(route, parameters); - const requestMethod = typeof route === "function" ? route : octokit.request; - const method = options.method; - const headers = options.headers; - let url = options.url; - return { - [Symbol.asyncIterator]: () => ({ - async next() { - if (!url) return { - done: true - }; - - try { - const response = await requestMethod({ - method, - url, - headers - }); - const normalizedResponse = normalizePaginatedListResponse(response); // `response.headers.link` format: - // '; rel="next", ; rel="last"' - // sets `url` to undefined if "next" URL is not present or `link` header is not set - - url = ((normalizedResponse.headers.link || "").match(/<([^>]+)>;\s*rel="next"/) || [])[1]; - return { - value: normalizedResponse - }; - } catch (error) { - if (error.status !== 409) throw error; - url = ""; - return { - value: { - status: 200, - headers: {}, - data: [] - } - }; - } - } - - }) - }; -} - -function paginate(octokit, route, parameters, mapFn) { - if (typeof parameters === "function") { - mapFn = parameters; - parameters = undefined; - } - - return gather(octokit, [], iterator(octokit, route, parameters)[Symbol.asyncIterator](), mapFn); -} - -function gather(octokit, results, iterator, mapFn) { - return iterator.next().then(result => { - if (result.done) { - return results; - } - - let earlyExit = false; - - function done() { - earlyExit = true; - } - - results = results.concat(mapFn ? mapFn(result.value, done) : result.value.data); - - if (earlyExit) { - return results; - } - - return gather(octokit, results, iterator, mapFn); - }); -} - -const composePaginateRest = Object.assign(paginate, { - iterator -}); - -const paginatingEndpoints = ["GET /app/hook/deliveries", "GET /app/installations", "GET /applications/grants", "GET /authorizations", "GET /enterprises/{enterprise}/actions/permissions/organizations", "GET /enterprises/{enterprise}/actions/runner-groups", "GET /enterprises/{enterprise}/actions/runner-groups/{runner_group_id}/organizations", "GET /enterprises/{enterprise}/actions/runner-groups/{runner_group_id}/runners", "GET /enterprises/{enterprise}/actions/runners", "GET /enterprises/{enterprise}/actions/runners/downloads", "GET /events", "GET /gists", "GET /gists/public", "GET /gists/starred", "GET /gists/{gist_id}/comments", "GET /gists/{gist_id}/commits", "GET /gists/{gist_id}/forks", "GET /installation/repositories", "GET /issues", "GET /marketplace_listing/plans", "GET /marketplace_listing/plans/{plan_id}/accounts", "GET /marketplace_listing/stubbed/plans", "GET /marketplace_listing/stubbed/plans/{plan_id}/accounts", "GET /networks/{owner}/{repo}/events", "GET /notifications", "GET /organizations", "GET /orgs/{org}/actions/permissions/repositories", "GET /orgs/{org}/actions/runner-groups", "GET /orgs/{org}/actions/runner-groups/{runner_group_id}/repositories", "GET /orgs/{org}/actions/runner-groups/{runner_group_id}/runners", "GET /orgs/{org}/actions/runners", "GET /orgs/{org}/actions/runners/downloads", "GET /orgs/{org}/actions/secrets", "GET /orgs/{org}/actions/secrets/{secret_name}/repositories", "GET /orgs/{org}/blocks", "GET /orgs/{org}/credential-authorizations", "GET /orgs/{org}/events", "GET /orgs/{org}/failed_invitations", "GET /orgs/{org}/hooks", "GET /orgs/{org}/hooks/{hook_id}/deliveries", "GET /orgs/{org}/installations", "GET /orgs/{org}/invitations", "GET /orgs/{org}/invitations/{invitation_id}/teams", "GET /orgs/{org}/issues", "GET /orgs/{org}/members", "GET /orgs/{org}/migrations", "GET /orgs/{org}/migrations/{migration_id}/repositories", "GET /orgs/{org}/outside_collaborators", "GET /orgs/{org}/projects", "GET /orgs/{org}/public_members", "GET /orgs/{org}/repos", "GET /orgs/{org}/team-sync/groups", "GET /orgs/{org}/teams", "GET /orgs/{org}/teams/{team_slug}/discussions", "GET /orgs/{org}/teams/{team_slug}/discussions/{discussion_number}/comments", "GET /orgs/{org}/teams/{team_slug}/discussions/{discussion_number}/comments/{comment_number}/reactions", "GET /orgs/{org}/teams/{team_slug}/discussions/{discussion_number}/reactions", "GET /orgs/{org}/teams/{team_slug}/invitations", "GET /orgs/{org}/teams/{team_slug}/members", "GET /orgs/{org}/teams/{team_slug}/projects", "GET /orgs/{org}/teams/{team_slug}/repos", "GET /orgs/{org}/teams/{team_slug}/team-sync/group-mappings", "GET /orgs/{org}/teams/{team_slug}/teams", "GET /projects/columns/{column_id}/cards", "GET /projects/{project_id}/collaborators", "GET /projects/{project_id}/columns", "GET /repos/{owner}/{repo}/actions/artifacts", "GET /repos/{owner}/{repo}/actions/runners", "GET /repos/{owner}/{repo}/actions/runners/downloads", "GET /repos/{owner}/{repo}/actions/runs", "GET /repos/{owner}/{repo}/actions/runs/{run_id}/artifacts", "GET /repos/{owner}/{repo}/actions/runs/{run_id}/jobs", "GET /repos/{owner}/{repo}/actions/secrets", "GET /repos/{owner}/{repo}/actions/workflows", "GET /repos/{owner}/{repo}/actions/workflows/{workflow_id}/runs", "GET /repos/{owner}/{repo}/assignees", "GET /repos/{owner}/{repo}/branches", "GET /repos/{owner}/{repo}/check-runs/{check_run_id}/annotations", "GET /repos/{owner}/{repo}/check-suites/{check_suite_id}/check-runs", "GET /repos/{owner}/{repo}/code-scanning/alerts", "GET /repos/{owner}/{repo}/code-scanning/alerts/{alert_number}/instances", "GET /repos/{owner}/{repo}/code-scanning/analyses", "GET /repos/{owner}/{repo}/collaborators", "GET /repos/{owner}/{repo}/comments", "GET /repos/{owner}/{repo}/comments/{comment_id}/reactions", "GET /repos/{owner}/{repo}/commits", "GET /repos/{owner}/{repo}/commits/{commit_sha}/branches-where-head", "GET /repos/{owner}/{repo}/commits/{commit_sha}/comments", "GET /repos/{owner}/{repo}/commits/{commit_sha}/pulls", "GET /repos/{owner}/{repo}/commits/{ref}/check-runs", "GET /repos/{owner}/{repo}/commits/{ref}/check-suites", "GET /repos/{owner}/{repo}/commits/{ref}/statuses", "GET /repos/{owner}/{repo}/contributors", "GET /repos/{owner}/{repo}/deployments", "GET /repos/{owner}/{repo}/deployments/{deployment_id}/statuses", "GET /repos/{owner}/{repo}/events", "GET /repos/{owner}/{repo}/forks", "GET /repos/{owner}/{repo}/git/matching-refs/{ref}", "GET /repos/{owner}/{repo}/hooks", "GET /repos/{owner}/{repo}/hooks/{hook_id}/deliveries", "GET /repos/{owner}/{repo}/invitations", "GET /repos/{owner}/{repo}/issues", "GET /repos/{owner}/{repo}/issues/comments", "GET /repos/{owner}/{repo}/issues/comments/{comment_id}/reactions", "GET /repos/{owner}/{repo}/issues/events", "GET /repos/{owner}/{repo}/issues/{issue_number}/comments", "GET /repos/{owner}/{repo}/issues/{issue_number}/events", "GET /repos/{owner}/{repo}/issues/{issue_number}/labels", "GET /repos/{owner}/{repo}/issues/{issue_number}/reactions", "GET /repos/{owner}/{repo}/issues/{issue_number}/timeline", "GET /repos/{owner}/{repo}/keys", "GET /repos/{owner}/{repo}/labels", "GET /repos/{owner}/{repo}/milestones", "GET /repos/{owner}/{repo}/milestones/{milestone_number}/labels", "GET /repos/{owner}/{repo}/notifications", "GET /repos/{owner}/{repo}/pages/builds", "GET /repos/{owner}/{repo}/projects", "GET /repos/{owner}/{repo}/pulls", "GET /repos/{owner}/{repo}/pulls/comments", "GET /repos/{owner}/{repo}/pulls/comments/{comment_id}/reactions", "GET /repos/{owner}/{repo}/pulls/{pull_number}/comments", "GET /repos/{owner}/{repo}/pulls/{pull_number}/commits", "GET /repos/{owner}/{repo}/pulls/{pull_number}/files", "GET /repos/{owner}/{repo}/pulls/{pull_number}/requested_reviewers", "GET /repos/{owner}/{repo}/pulls/{pull_number}/reviews", "GET /repos/{owner}/{repo}/pulls/{pull_number}/reviews/{review_id}/comments", "GET /repos/{owner}/{repo}/releases", "GET /repos/{owner}/{repo}/releases/{release_id}/assets", "GET /repos/{owner}/{repo}/secret-scanning/alerts", "GET /repos/{owner}/{repo}/stargazers", "GET /repos/{owner}/{repo}/subscribers", "GET /repos/{owner}/{repo}/tags", "GET /repos/{owner}/{repo}/teams", "GET /repositories", "GET /repositories/{repository_id}/environments/{environment_name}/secrets", "GET /scim/v2/enterprises/{enterprise}/Groups", "GET /scim/v2/enterprises/{enterprise}/Users", "GET /scim/v2/organizations/{org}/Users", "GET /search/code", "GET /search/commits", "GET /search/issues", "GET /search/labels", "GET /search/repositories", "GET /search/topics", "GET /search/users", "GET /teams/{team_id}/discussions", "GET /teams/{team_id}/discussions/{discussion_number}/comments", "GET /teams/{team_id}/discussions/{discussion_number}/comments/{comment_number}/reactions", "GET /teams/{team_id}/discussions/{discussion_number}/reactions", "GET /teams/{team_id}/invitations", "GET /teams/{team_id}/members", "GET /teams/{team_id}/projects", "GET /teams/{team_id}/repos", "GET /teams/{team_id}/team-sync/group-mappings", "GET /teams/{team_id}/teams", "GET /user/blocks", "GET /user/emails", "GET /user/followers", "GET /user/following", "GET /user/gpg_keys", "GET /user/installations", "GET /user/installations/{installation_id}/repositories", "GET /user/issues", "GET /user/keys", "GET /user/marketplace_purchases", "GET /user/marketplace_purchases/stubbed", "GET /user/memberships/orgs", "GET /user/migrations", "GET /user/migrations/{migration_id}/repositories", "GET /user/orgs", "GET /user/public_emails", "GET /user/repos", "GET /user/repository_invitations", "GET /user/starred", "GET /user/subscriptions", "GET /user/teams", "GET /users", "GET /users/{username}/events", "GET /users/{username}/events/orgs/{org}", "GET /users/{username}/events/public", "GET /users/{username}/followers", "GET /users/{username}/following", "GET /users/{username}/gists", "GET /users/{username}/gpg_keys", "GET /users/{username}/keys", "GET /users/{username}/orgs", "GET /users/{username}/projects", "GET /users/{username}/received_events", "GET /users/{username}/received_events/public", "GET /users/{username}/repos", "GET /users/{username}/starred", "GET /users/{username}/subscriptions"]; - -function isPaginatingEndpoint(arg) { - if (typeof arg === "string") { - return paginatingEndpoints.includes(arg); - } else { - return false; - } -} - -/** - * @param octokit Octokit instance - * @param options Options passed to Octokit constructor - */ - -function paginateRest(octokit) { - return { - paginate: Object.assign(paginate.bind(null, octokit), { - iterator: iterator.bind(null, octokit) - }) - }; -} -paginateRest.VERSION = VERSION; - -exports.composePaginateRest = composePaginateRest; -exports.isPaginatingEndpoint = isPaginatingEndpoint; -exports.paginateRest = paginateRest; -exports.paginatingEndpoints = paginatingEndpoints; -//# sourceMappingURL=index.js.map diff --git a/node_modules/@octokit/plugin-paginate-rest/dist-node/index.js.map b/node_modules/@octokit/plugin-paginate-rest/dist-node/index.js.map deleted file mode 100644 index 3074b3f..0000000 --- a/node_modules/@octokit/plugin-paginate-rest/dist-node/index.js.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"index.js","sources":["../dist-src/version.js","../dist-src/normalize-paginated-list-response.js","../dist-src/iterator.js","../dist-src/paginate.js","../dist-src/compose-paginate.js","../dist-src/generated/paginating-endpoints.js","../dist-src/paginating-endpoints.js","../dist-src/index.js"],"sourcesContent":["export const VERSION = \"2.14.0\";\n","/**\n * Some “list” response that can be paginated have a different response structure\n *\n * They have a `total_count` key in the response (search also has `incomplete_results`,\n * /installation/repositories also has `repository_selection`), as well as a key with\n * the list of the items which name varies from endpoint to endpoint.\n *\n * Octokit normalizes these responses so that paginated results are always returned following\n * the same structure. One challenge is that if the list response has only one page, no Link\n * header is provided, so this header alone is not sufficient to check wether a response is\n * paginated or not.\n *\n * We check if a \"total_count\" key is present in the response data, but also make sure that\n * a \"url\" property is not, as the \"Get the combined status for a specific ref\" endpoint would\n * otherwise match: https://developer.github.com/v3/repos/statuses/#get-the-combined-status-for-a-specific-ref\n */\nexport function normalizePaginatedListResponse(response) {\n // endpoints can respond with 204 if repository is empty\n if (!response.data) {\n return {\n ...response,\n data: [],\n };\n }\n const responseNeedsNormalization = \"total_count\" in response.data && !(\"url\" in response.data);\n if (!responseNeedsNormalization)\n return response;\n // keep the additional properties intact as there is currently no other way\n // to retrieve the same information.\n const incompleteResults = response.data.incomplete_results;\n const repositorySelection = response.data.repository_selection;\n const totalCount = response.data.total_count;\n delete response.data.incomplete_results;\n delete response.data.repository_selection;\n delete response.data.total_count;\n const namespaceKey = Object.keys(response.data)[0];\n const data = response.data[namespaceKey];\n response.data = data;\n if (typeof incompleteResults !== \"undefined\") {\n response.data.incomplete_results = incompleteResults;\n }\n if (typeof repositorySelection !== \"undefined\") {\n response.data.repository_selection = repositorySelection;\n }\n response.data.total_count = totalCount;\n return response;\n}\n","import { normalizePaginatedListResponse } from \"./normalize-paginated-list-response\";\nexport function iterator(octokit, route, parameters) {\n const options = typeof route === \"function\"\n ? route.endpoint(parameters)\n : octokit.request.endpoint(route, parameters);\n const requestMethod = typeof route === \"function\" ? route : octokit.request;\n const method = options.method;\n const headers = options.headers;\n let url = options.url;\n return {\n [Symbol.asyncIterator]: () => ({\n async next() {\n if (!url)\n return { done: true };\n try {\n const response = await requestMethod({ method, url, headers });\n const normalizedResponse = normalizePaginatedListResponse(response);\n // `response.headers.link` format:\n // '; rel=\"next\", ; rel=\"last\"'\n // sets `url` to undefined if \"next\" URL is not present or `link` header is not set\n url = ((normalizedResponse.headers.link || \"\").match(/<([^>]+)>;\\s*rel=\"next\"/) || [])[1];\n return { value: normalizedResponse };\n }\n catch (error) {\n if (error.status !== 409)\n throw error;\n url = \"\";\n return {\n value: {\n status: 200,\n headers: {},\n data: [],\n },\n };\n }\n },\n }),\n };\n}\n","import { iterator } from \"./iterator\";\nexport function paginate(octokit, route, parameters, mapFn) {\n if (typeof parameters === \"function\") {\n mapFn = parameters;\n parameters = undefined;\n }\n return gather(octokit, [], iterator(octokit, route, parameters)[Symbol.asyncIterator](), mapFn);\n}\nfunction gather(octokit, results, iterator, mapFn) {\n return iterator.next().then((result) => {\n if (result.done) {\n return results;\n }\n let earlyExit = false;\n function done() {\n earlyExit = true;\n }\n results = results.concat(mapFn ? mapFn(result.value, done) : result.value.data);\n if (earlyExit) {\n return results;\n }\n return gather(octokit, results, iterator, mapFn);\n });\n}\n","import { paginate } from \"./paginate\";\nimport { iterator } from \"./iterator\";\nexport const composePaginateRest = Object.assign(paginate, {\n iterator,\n});\n","export const paginatingEndpoints = [\n \"GET /app/hook/deliveries\",\n \"GET /app/installations\",\n \"GET /applications/grants\",\n \"GET /authorizations\",\n \"GET /enterprises/{enterprise}/actions/permissions/organizations\",\n \"GET /enterprises/{enterprise}/actions/runner-groups\",\n \"GET /enterprises/{enterprise}/actions/runner-groups/{runner_group_id}/organizations\",\n \"GET /enterprises/{enterprise}/actions/runner-groups/{runner_group_id}/runners\",\n \"GET /enterprises/{enterprise}/actions/runners\",\n \"GET /enterprises/{enterprise}/actions/runners/downloads\",\n \"GET /events\",\n \"GET /gists\",\n \"GET /gists/public\",\n \"GET /gists/starred\",\n \"GET /gists/{gist_id}/comments\",\n \"GET /gists/{gist_id}/commits\",\n \"GET /gists/{gist_id}/forks\",\n \"GET /installation/repositories\",\n \"GET /issues\",\n \"GET /marketplace_listing/plans\",\n \"GET /marketplace_listing/plans/{plan_id}/accounts\",\n \"GET /marketplace_listing/stubbed/plans\",\n \"GET /marketplace_listing/stubbed/plans/{plan_id}/accounts\",\n \"GET /networks/{owner}/{repo}/events\",\n \"GET /notifications\",\n \"GET /organizations\",\n \"GET /orgs/{org}/actions/permissions/repositories\",\n \"GET /orgs/{org}/actions/runner-groups\",\n \"GET /orgs/{org}/actions/runner-groups/{runner_group_id}/repositories\",\n \"GET /orgs/{org}/actions/runner-groups/{runner_group_id}/runners\",\n \"GET /orgs/{org}/actions/runners\",\n \"GET /orgs/{org}/actions/runners/downloads\",\n \"GET /orgs/{org}/actions/secrets\",\n \"GET /orgs/{org}/actions/secrets/{secret_name}/repositories\",\n \"GET /orgs/{org}/blocks\",\n \"GET /orgs/{org}/credential-authorizations\",\n \"GET /orgs/{org}/events\",\n \"GET /orgs/{org}/failed_invitations\",\n \"GET /orgs/{org}/hooks\",\n \"GET /orgs/{org}/hooks/{hook_id}/deliveries\",\n \"GET /orgs/{org}/installations\",\n \"GET /orgs/{org}/invitations\",\n \"GET /orgs/{org}/invitations/{invitation_id}/teams\",\n \"GET /orgs/{org}/issues\",\n \"GET /orgs/{org}/members\",\n \"GET /orgs/{org}/migrations\",\n \"GET /orgs/{org}/migrations/{migration_id}/repositories\",\n \"GET /orgs/{org}/outside_collaborators\",\n \"GET /orgs/{org}/projects\",\n \"GET /orgs/{org}/public_members\",\n \"GET /orgs/{org}/repos\",\n \"GET /orgs/{org}/team-sync/groups\",\n \"GET /orgs/{org}/teams\",\n \"GET /orgs/{org}/teams/{team_slug}/discussions\",\n \"GET /orgs/{org}/teams/{team_slug}/discussions/{discussion_number}/comments\",\n \"GET /orgs/{org}/teams/{team_slug}/discussions/{discussion_number}/comments/{comment_number}/reactions\",\n \"GET /orgs/{org}/teams/{team_slug}/discussions/{discussion_number}/reactions\",\n \"GET /orgs/{org}/teams/{team_slug}/invitations\",\n \"GET /orgs/{org}/teams/{team_slug}/members\",\n \"GET /orgs/{org}/teams/{team_slug}/projects\",\n \"GET /orgs/{org}/teams/{team_slug}/repos\",\n \"GET /orgs/{org}/teams/{team_slug}/team-sync/group-mappings\",\n \"GET /orgs/{org}/teams/{team_slug}/teams\",\n \"GET /projects/columns/{column_id}/cards\",\n \"GET /projects/{project_id}/collaborators\",\n \"GET /projects/{project_id}/columns\",\n \"GET /repos/{owner}/{repo}/actions/artifacts\",\n \"GET /repos/{owner}/{repo}/actions/runners\",\n \"GET /repos/{owner}/{repo}/actions/runners/downloads\",\n \"GET /repos/{owner}/{repo}/actions/runs\",\n \"GET /repos/{owner}/{repo}/actions/runs/{run_id}/artifacts\",\n \"GET /repos/{owner}/{repo}/actions/runs/{run_id}/jobs\",\n \"GET /repos/{owner}/{repo}/actions/secrets\",\n \"GET /repos/{owner}/{repo}/actions/workflows\",\n \"GET /repos/{owner}/{repo}/actions/workflows/{workflow_id}/runs\",\n \"GET /repos/{owner}/{repo}/assignees\",\n \"GET /repos/{owner}/{repo}/branches\",\n \"GET /repos/{owner}/{repo}/check-runs/{check_run_id}/annotations\",\n \"GET /repos/{owner}/{repo}/check-suites/{check_suite_id}/check-runs\",\n \"GET /repos/{owner}/{repo}/code-scanning/alerts\",\n \"GET /repos/{owner}/{repo}/code-scanning/alerts/{alert_number}/instances\",\n \"GET /repos/{owner}/{repo}/code-scanning/analyses\",\n \"GET /repos/{owner}/{repo}/collaborators\",\n \"GET /repos/{owner}/{repo}/comments\",\n \"GET /repos/{owner}/{repo}/comments/{comment_id}/reactions\",\n \"GET /repos/{owner}/{repo}/commits\",\n \"GET /repos/{owner}/{repo}/commits/{commit_sha}/branches-where-head\",\n \"GET /repos/{owner}/{repo}/commits/{commit_sha}/comments\",\n \"GET /repos/{owner}/{repo}/commits/{commit_sha}/pulls\",\n \"GET /repos/{owner}/{repo}/commits/{ref}/check-runs\",\n \"GET /repos/{owner}/{repo}/commits/{ref}/check-suites\",\n \"GET /repos/{owner}/{repo}/commits/{ref}/statuses\",\n \"GET /repos/{owner}/{repo}/contributors\",\n \"GET /repos/{owner}/{repo}/deployments\",\n \"GET /repos/{owner}/{repo}/deployments/{deployment_id}/statuses\",\n \"GET /repos/{owner}/{repo}/events\",\n \"GET /repos/{owner}/{repo}/forks\",\n \"GET /repos/{owner}/{repo}/git/matching-refs/{ref}\",\n \"GET /repos/{owner}/{repo}/hooks\",\n \"GET /repos/{owner}/{repo}/hooks/{hook_id}/deliveries\",\n \"GET /repos/{owner}/{repo}/invitations\",\n \"GET /repos/{owner}/{repo}/issues\",\n \"GET /repos/{owner}/{repo}/issues/comments\",\n \"GET /repos/{owner}/{repo}/issues/comments/{comment_id}/reactions\",\n \"GET /repos/{owner}/{repo}/issues/events\",\n \"GET /repos/{owner}/{repo}/issues/{issue_number}/comments\",\n \"GET /repos/{owner}/{repo}/issues/{issue_number}/events\",\n \"GET /repos/{owner}/{repo}/issues/{issue_number}/labels\",\n \"GET /repos/{owner}/{repo}/issues/{issue_number}/reactions\",\n \"GET /repos/{owner}/{repo}/issues/{issue_number}/timeline\",\n \"GET /repos/{owner}/{repo}/keys\",\n \"GET /repos/{owner}/{repo}/labels\",\n \"GET /repos/{owner}/{repo}/milestones\",\n \"GET /repos/{owner}/{repo}/milestones/{milestone_number}/labels\",\n \"GET /repos/{owner}/{repo}/notifications\",\n \"GET /repos/{owner}/{repo}/pages/builds\",\n \"GET /repos/{owner}/{repo}/projects\",\n \"GET /repos/{owner}/{repo}/pulls\",\n \"GET /repos/{owner}/{repo}/pulls/comments\",\n \"GET /repos/{owner}/{repo}/pulls/comments/{comment_id}/reactions\",\n \"GET /repos/{owner}/{repo}/pulls/{pull_number}/comments\",\n \"GET /repos/{owner}/{repo}/pulls/{pull_number}/commits\",\n \"GET /repos/{owner}/{repo}/pulls/{pull_number}/files\",\n \"GET /repos/{owner}/{repo}/pulls/{pull_number}/requested_reviewers\",\n \"GET /repos/{owner}/{repo}/pulls/{pull_number}/reviews\",\n \"GET /repos/{owner}/{repo}/pulls/{pull_number}/reviews/{review_id}/comments\",\n \"GET /repos/{owner}/{repo}/releases\",\n \"GET /repos/{owner}/{repo}/releases/{release_id}/assets\",\n \"GET /repos/{owner}/{repo}/secret-scanning/alerts\",\n \"GET /repos/{owner}/{repo}/stargazers\",\n \"GET /repos/{owner}/{repo}/subscribers\",\n \"GET /repos/{owner}/{repo}/tags\",\n \"GET /repos/{owner}/{repo}/teams\",\n \"GET /repositories\",\n \"GET /repositories/{repository_id}/environments/{environment_name}/secrets\",\n \"GET /scim/v2/enterprises/{enterprise}/Groups\",\n \"GET /scim/v2/enterprises/{enterprise}/Users\",\n \"GET /scim/v2/organizations/{org}/Users\",\n \"GET /search/code\",\n \"GET /search/commits\",\n \"GET /search/issues\",\n \"GET /search/labels\",\n \"GET /search/repositories\",\n \"GET /search/topics\",\n \"GET /search/users\",\n \"GET /teams/{team_id}/discussions\",\n \"GET /teams/{team_id}/discussions/{discussion_number}/comments\",\n \"GET /teams/{team_id}/discussions/{discussion_number}/comments/{comment_number}/reactions\",\n \"GET /teams/{team_id}/discussions/{discussion_number}/reactions\",\n \"GET /teams/{team_id}/invitations\",\n \"GET /teams/{team_id}/members\",\n \"GET /teams/{team_id}/projects\",\n \"GET /teams/{team_id}/repos\",\n \"GET /teams/{team_id}/team-sync/group-mappings\",\n \"GET /teams/{team_id}/teams\",\n \"GET /user/blocks\",\n \"GET /user/emails\",\n \"GET /user/followers\",\n \"GET /user/following\",\n \"GET /user/gpg_keys\",\n \"GET /user/installations\",\n \"GET /user/installations/{installation_id}/repositories\",\n \"GET /user/issues\",\n \"GET /user/keys\",\n \"GET /user/marketplace_purchases\",\n \"GET /user/marketplace_purchases/stubbed\",\n \"GET /user/memberships/orgs\",\n \"GET /user/migrations\",\n \"GET /user/migrations/{migration_id}/repositories\",\n \"GET /user/orgs\",\n \"GET /user/public_emails\",\n \"GET /user/repos\",\n \"GET /user/repository_invitations\",\n \"GET /user/starred\",\n \"GET /user/subscriptions\",\n \"GET /user/teams\",\n \"GET /users\",\n \"GET /users/{username}/events\",\n \"GET /users/{username}/events/orgs/{org}\",\n \"GET /users/{username}/events/public\",\n \"GET /users/{username}/followers\",\n \"GET /users/{username}/following\",\n \"GET /users/{username}/gists\",\n \"GET /users/{username}/gpg_keys\",\n \"GET /users/{username}/keys\",\n \"GET /users/{username}/orgs\",\n \"GET /users/{username}/projects\",\n \"GET /users/{username}/received_events\",\n \"GET /users/{username}/received_events/public\",\n \"GET /users/{username}/repos\",\n \"GET /users/{username}/starred\",\n \"GET /users/{username}/subscriptions\",\n];\n","import { paginatingEndpoints, } from \"./generated/paginating-endpoints\";\nexport { paginatingEndpoints } from \"./generated/paginating-endpoints\";\nexport function isPaginatingEndpoint(arg) {\n if (typeof arg === \"string\") {\n return paginatingEndpoints.includes(arg);\n }\n else {\n return false;\n }\n}\n","import { VERSION } from \"./version\";\nimport { paginate } from \"./paginate\";\nimport { iterator } from \"./iterator\";\nexport { composePaginateRest } from \"./compose-paginate\";\nexport { isPaginatingEndpoint, paginatingEndpoints, } from \"./paginating-endpoints\";\n/**\n * @param octokit Octokit instance\n * @param options Options passed to Octokit constructor\n */\nexport function paginateRest(octokit) {\n return {\n paginate: Object.assign(paginate.bind(null, octokit), {\n iterator: iterator.bind(null, octokit),\n }),\n };\n}\npaginateRest.VERSION = VERSION;\n"],"names":["VERSION","normalizePaginatedListResponse","response","data","responseNeedsNormalization","incompleteResults","incomplete_results","repositorySelection","repository_selection","totalCount","total_count","namespaceKey","Object","keys","iterator","octokit","route","parameters","options","endpoint","request","requestMethod","method","headers","url","Symbol","asyncIterator","next","done","normalizedResponse","link","match","value","error","status","paginate","mapFn","undefined","gather","results","then","result","earlyExit","concat","composePaginateRest","assign","paginatingEndpoints","isPaginatingEndpoint","arg","includes","paginateRest","bind"],"mappings":";;;;AAAO,MAAMA,OAAO,GAAG,mBAAhB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;ACAP;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,AAAO,SAASC,8BAAT,CAAwCC,QAAxC,EAAkD;AACrD;AACA,MAAI,CAACA,QAAQ,CAACC,IAAd,EAAoB;AAChB,6CACOD,QADP;AAEIC,MAAAA,IAAI,EAAE;AAFV;AAIH;;AACD,QAAMC,0BAA0B,GAAG,iBAAiBF,QAAQ,CAACC,IAA1B,IAAkC,EAAE,SAASD,QAAQ,CAACC,IAApB,CAArE;AACA,MAAI,CAACC,0BAAL,EACI,OAAOF,QAAP,CAViD;AAYrD;;AACA,QAAMG,iBAAiB,GAAGH,QAAQ,CAACC,IAAT,CAAcG,kBAAxC;AACA,QAAMC,mBAAmB,GAAGL,QAAQ,CAACC,IAAT,CAAcK,oBAA1C;AACA,QAAMC,UAAU,GAAGP,QAAQ,CAACC,IAAT,CAAcO,WAAjC;AACA,SAAOR,QAAQ,CAACC,IAAT,CAAcG,kBAArB;AACA,SAAOJ,QAAQ,CAACC,IAAT,CAAcK,oBAArB;AACA,SAAON,QAAQ,CAACC,IAAT,CAAcO,WAArB;AACA,QAAMC,YAAY,GAAGC,MAAM,CAACC,IAAP,CAAYX,QAAQ,CAACC,IAArB,EAA2B,CAA3B,CAArB;AACA,QAAMA,IAAI,GAAGD,QAAQ,CAACC,IAAT,CAAcQ,YAAd,CAAb;AACAT,EAAAA,QAAQ,CAACC,IAAT,GAAgBA,IAAhB;;AACA,MAAI,OAAOE,iBAAP,KAA6B,WAAjC,EAA8C;AAC1CH,IAAAA,QAAQ,CAACC,IAAT,CAAcG,kBAAd,GAAmCD,iBAAnC;AACH;;AACD,MAAI,OAAOE,mBAAP,KAA+B,WAAnC,EAAgD;AAC5CL,IAAAA,QAAQ,CAACC,IAAT,CAAcK,oBAAd,GAAqCD,mBAArC;AACH;;AACDL,EAAAA,QAAQ,CAACC,IAAT,CAAcO,WAAd,GAA4BD,UAA5B;AACA,SAAOP,QAAP;AACH;;AC7CM,SAASY,QAAT,CAAkBC,OAAlB,EAA2BC,KAA3B,EAAkCC,UAAlC,EAA8C;AACjD,QAAMC,OAAO,GAAG,OAAOF,KAAP,KAAiB,UAAjB,GACVA,KAAK,CAACG,QAAN,CAAeF,UAAf,CADU,GAEVF,OAAO,CAACK,OAAR,CAAgBD,QAAhB,CAAyBH,KAAzB,EAAgCC,UAAhC,CAFN;AAGA,QAAMI,aAAa,GAAG,OAAOL,KAAP,KAAiB,UAAjB,GAA8BA,KAA9B,GAAsCD,OAAO,CAACK,OAApE;AACA,QAAME,MAAM,GAAGJ,OAAO,CAACI,MAAvB;AACA,QAAMC,OAAO,GAAGL,OAAO,CAACK,OAAxB;AACA,MAAIC,GAAG,GAAGN,OAAO,CAACM,GAAlB;AACA,SAAO;AACH,KAACC,MAAM,CAACC,aAAR,GAAwB,OAAO;AAC3B,YAAMC,IAAN,GAAa;AACT,YAAI,CAACH,GAAL,EACI,OAAO;AAAEI,UAAAA,IAAI,EAAE;AAAR,SAAP;;AACJ,YAAI;AACA,gBAAM1B,QAAQ,GAAG,MAAMmB,aAAa,CAAC;AAAEC,YAAAA,MAAF;AAAUE,YAAAA,GAAV;AAAeD,YAAAA;AAAf,WAAD,CAApC;AACA,gBAAMM,kBAAkB,GAAG5B,8BAA8B,CAACC,QAAD,CAAzD,CAFA;AAIA;AACA;;AACAsB,UAAAA,GAAG,GAAG,CAAC,CAACK,kBAAkB,CAACN,OAAnB,CAA2BO,IAA3B,IAAmC,EAApC,EAAwCC,KAAxC,CAA8C,yBAA9C,KAA4E,EAA7E,EAAiF,CAAjF,CAAN;AACA,iBAAO;AAAEC,YAAAA,KAAK,EAAEH;AAAT,WAAP;AACH,SARD,CASA,OAAOI,KAAP,EAAc;AACV,cAAIA,KAAK,CAACC,MAAN,KAAiB,GAArB,EACI,MAAMD,KAAN;AACJT,UAAAA,GAAG,GAAG,EAAN;AACA,iBAAO;AACHQ,YAAAA,KAAK,EAAE;AACHE,cAAAA,MAAM,EAAE,GADL;AAEHX,cAAAA,OAAO,EAAE,EAFN;AAGHpB,cAAAA,IAAI,EAAE;AAHH;AADJ,WAAP;AAOH;AACJ;;AAzB0B,KAAP;AADrB,GAAP;AA6BH;;ACrCM,SAASgC,QAAT,CAAkBpB,OAAlB,EAA2BC,KAA3B,EAAkCC,UAAlC,EAA8CmB,KAA9C,EAAqD;AACxD,MAAI,OAAOnB,UAAP,KAAsB,UAA1B,EAAsC;AAClCmB,IAAAA,KAAK,GAAGnB,UAAR;AACAA,IAAAA,UAAU,GAAGoB,SAAb;AACH;;AACD,SAAOC,MAAM,CAACvB,OAAD,EAAU,EAAV,EAAcD,QAAQ,CAACC,OAAD,EAAUC,KAAV,EAAiBC,UAAjB,CAAR,CAAqCQ,MAAM,CAACC,aAA5C,GAAd,EAA4EU,KAA5E,CAAb;AACH;;AACD,SAASE,MAAT,CAAgBvB,OAAhB,EAAyBwB,OAAzB,EAAkCzB,QAAlC,EAA4CsB,KAA5C,EAAmD;AAC/C,SAAOtB,QAAQ,CAACa,IAAT,GAAgBa,IAAhB,CAAsBC,MAAD,IAAY;AACpC,QAAIA,MAAM,CAACb,IAAX,EAAiB;AACb,aAAOW,OAAP;AACH;;AACD,QAAIG,SAAS,GAAG,KAAhB;;AACA,aAASd,IAAT,GAAgB;AACZc,MAAAA,SAAS,GAAG,IAAZ;AACH;;AACDH,IAAAA,OAAO,GAAGA,OAAO,CAACI,MAAR,CAAeP,KAAK,GAAGA,KAAK,CAACK,MAAM,CAACT,KAAR,EAAeJ,IAAf,CAAR,GAA+Ba,MAAM,CAACT,KAAP,CAAa7B,IAAhE,CAAV;;AACA,QAAIuC,SAAJ,EAAe;AACX,aAAOH,OAAP;AACH;;AACD,WAAOD,MAAM,CAACvB,OAAD,EAAUwB,OAAV,EAAmBzB,QAAnB,EAA6BsB,KAA7B,CAAb;AACH,GAbM,CAAP;AAcH;;MCrBYQ,mBAAmB,GAAGhC,MAAM,CAACiC,MAAP,CAAcV,QAAd,EAAwB;AACvDrB,EAAAA;AADuD,CAAxB,CAA5B;;MCFMgC,mBAAmB,GAAG,CAC/B,0BAD+B,EAE/B,wBAF+B,EAG/B,0BAH+B,EAI/B,qBAJ+B,EAK/B,iEAL+B,EAM/B,qDAN+B,EAO/B,qFAP+B,EAQ/B,+EAR+B,EAS/B,+CAT+B,EAU/B,yDAV+B,EAW/B,aAX+B,EAY/B,YAZ+B,EAa/B,mBAb+B,EAc/B,oBAd+B,EAe/B,+BAf+B,EAgB/B,8BAhB+B,EAiB/B,4BAjB+B,EAkB/B,gCAlB+B,EAmB/B,aAnB+B,EAoB/B,gCApB+B,EAqB/B,mDArB+B,EAsB/B,wCAtB+B,EAuB/B,2DAvB+B,EAwB/B,qCAxB+B,EAyB/B,oBAzB+B,EA0B/B,oBA1B+B,EA2B/B,kDA3B+B,EA4B/B,uCA5B+B,EA6B/B,sEA7B+B,EA8B/B,iEA9B+B,EA+B/B,iCA/B+B,EAgC/B,2CAhC+B,EAiC/B,iCAjC+B,EAkC/B,4DAlC+B,EAmC/B,wBAnC+B,EAoC/B,2CApC+B,EAqC/B,wBArC+B,EAsC/B,oCAtC+B,EAuC/B,uBAvC+B,EAwC/B,4CAxC+B,EAyC/B,+BAzC+B,EA0C/B,6BA1C+B,EA2C/B,mDA3C+B,EA4C/B,wBA5C+B,EA6C/B,yBA7C+B,EA8C/B,4BA9C+B,EA+C/B,wDA/C+B,EAgD/B,uCAhD+B,EAiD/B,0BAjD+B,EAkD/B,gCAlD+B,EAmD/B,uBAnD+B,EAoD/B,kCApD+B,EAqD/B,uBArD+B,EAsD/B,+CAtD+B,EAuD/B,4EAvD+B,EAwD/B,uGAxD+B,EAyD/B,6EAzD+B,EA0D/B,+CA1D+B,EA2D/B,2CA3D+B,EA4D/B,4CA5D+B,EA6D/B,yCA7D+B,EA8D/B,4DA9D+B,EA+D/B,yCA/D+B,EAgE/B,yCAhE+B,EAiE/B,0CAjE+B,EAkE/B,oCAlE+B,EAmE/B,6CAnE+B,EAoE/B,2CApE+B,EAqE/B,qDArE+B,EAsE/B,wCAtE+B,EAuE/B,2DAvE+B,EAwE/B,sDAxE+B,EAyE/B,2CAzE+B,EA0E/B,6CA1E+B,EA2E/B,gEA3E+B,EA4E/B,qCA5E+B,EA6E/B,oCA7E+B,EA8E/B,iEA9E+B,EA+E/B,oEA/E+B,EAgF/B,gDAhF+B,EAiF/B,yEAjF+B,EAkF/B,kDAlF+B,EAmF/B,yCAnF+B,EAoF/B,oCApF+B,EAqF/B,2DArF+B,EAsF/B,mCAtF+B,EAuF/B,oEAvF+B,EAwF/B,yDAxF+B,EAyF/B,sDAzF+B,EA0F/B,oDA1F+B,EA2F/B,sDA3F+B,EA4F/B,kDA5F+B,EA6F/B,wCA7F+B,EA8F/B,uCA9F+B,EA+F/B,gEA/F+B,EAgG/B,kCAhG+B,EAiG/B,iCAjG+B,EAkG/B,mDAlG+B,EAmG/B,iCAnG+B,EAoG/B,sDApG+B,EAqG/B,uCArG+B,EAsG/B,kCAtG+B,EAuG/B,2CAvG+B,EAwG/B,kEAxG+B,EAyG/B,yCAzG+B,EA0G/B,0DA1G+B,EA2G/B,wDA3G+B,EA4G/B,wDA5G+B,EA6G/B,2DA7G+B,EA8G/B,0DA9G+B,EA+G/B,gCA/G+B,EAgH/B,kCAhH+B,EAiH/B,sCAjH+B,EAkH/B,gEAlH+B,EAmH/B,yCAnH+B,EAoH/B,wCApH+B,EAqH/B,oCArH+B,EAsH/B,iCAtH+B,EAuH/B,0CAvH+B,EAwH/B,iEAxH+B,EAyH/B,wDAzH+B,EA0H/B,uDA1H+B,EA2H/B,qDA3H+B,EA4H/B,mEA5H+B,EA6H/B,uDA7H+B,EA8H/B,4EA9H+B,EA+H/B,oCA/H+B,EAgI/B,wDAhI+B,EAiI/B,kDAjI+B,EAkI/B,sCAlI+B,EAmI/B,uCAnI+B,EAoI/B,gCApI+B,EAqI/B,iCArI+B,EAsI/B,mBAtI+B,EAuI/B,2EAvI+B,EAwI/B,8CAxI+B,EAyI/B,6CAzI+B,EA0I/B,wCA1I+B,EA2I/B,kBA3I+B,EA4I/B,qBA5I+B,EA6I/B,oBA7I+B,EA8I/B,oBA9I+B,EA+I/B,0BA/I+B,EAgJ/B,oBAhJ+B,EAiJ/B,mBAjJ+B,EAkJ/B,kCAlJ+B,EAmJ/B,+DAnJ+B,EAoJ/B,0FApJ+B,EAqJ/B,gEArJ+B,EAsJ/B,kCAtJ+B,EAuJ/B,8BAvJ+B,EAwJ/B,+BAxJ+B,EAyJ/B,4BAzJ+B,EA0J/B,+CA1J+B,EA2J/B,4BA3J+B,EA4J/B,kBA5J+B,EA6J/B,kBA7J+B,EA8J/B,qBA9J+B,EA+J/B,qBA/J+B,EAgK/B,oBAhK+B,EAiK/B,yBAjK+B,EAkK/B,wDAlK+B,EAmK/B,kBAnK+B,EAoK/B,gBApK+B,EAqK/B,iCArK+B,EAsK/B,yCAtK+B,EAuK/B,4BAvK+B,EAwK/B,sBAxK+B,EAyK/B,kDAzK+B,EA0K/B,gBA1K+B,EA2K/B,yBA3K+B,EA4K/B,iBA5K+B,EA6K/B,kCA7K+B,EA8K/B,mBA9K+B,EA+K/B,yBA/K+B,EAgL/B,iBAhL+B,EAiL/B,YAjL+B,EAkL/B,8BAlL+B,EAmL/B,yCAnL+B,EAoL/B,qCApL+B,EAqL/B,iCArL+B,EAsL/B,iCAtL+B,EAuL/B,6BAvL+B,EAwL/B,gCAxL+B,EAyL/B,4BAzL+B,EA0L/B,4BA1L+B,EA2L/B,gCA3L+B,EA4L/B,uCA5L+B,EA6L/B,8CA7L+B,EA8L/B,6BA9L+B,EA+L/B,+BA/L+B,EAgM/B,qCAhM+B,CAA5B;;ACEA,SAASC,oBAAT,CAA8BC,GAA9B,EAAmC;AACtC,MAAI,OAAOA,GAAP,KAAe,QAAnB,EAA6B;AACzB,WAAOF,mBAAmB,CAACG,QAApB,CAA6BD,GAA7B,CAAP;AACH,GAFD,MAGK;AACD,WAAO,KAAP;AACH;AACJ;;ACJD;AACA;AACA;AACA;;AACA,AAAO,SAASE,YAAT,CAAsBnC,OAAtB,EAA+B;AAClC,SAAO;AACHoB,IAAAA,QAAQ,EAAEvB,MAAM,CAACiC,MAAP,CAAcV,QAAQ,CAACgB,IAAT,CAAc,IAAd,EAAoBpC,OAApB,CAAd,EAA4C;AAClDD,MAAAA,QAAQ,EAAEA,QAAQ,CAACqC,IAAT,CAAc,IAAd,EAAoBpC,OAApB;AADwC,KAA5C;AADP,GAAP;AAKH;AACDmC,YAAY,CAAClD,OAAb,GAAuBA,OAAvB;;;;;;;"} \ No newline at end of file diff --git a/node_modules/@octokit/plugin-paginate-rest/dist-src/compose-paginate.js b/node_modules/@octokit/plugin-paginate-rest/dist-src/compose-paginate.js deleted file mode 100644 index 09ca53f..0000000 --- a/node_modules/@octokit/plugin-paginate-rest/dist-src/compose-paginate.js +++ /dev/null @@ -1,5 +0,0 @@ -import { paginate } from "./paginate"; -import { iterator } from "./iterator"; -export const composePaginateRest = Object.assign(paginate, { - iterator, -}); diff --git a/node_modules/@octokit/plugin-paginate-rest/dist-src/generated/paginating-endpoints.js b/node_modules/@octokit/plugin-paginate-rest/dist-src/generated/paginating-endpoints.js deleted file mode 100644 index dcaaefa..0000000 --- a/node_modules/@octokit/plugin-paginate-rest/dist-src/generated/paginating-endpoints.js +++ /dev/null @@ -1,194 +0,0 @@ -export const paginatingEndpoints = [ - "GET /app/hook/deliveries", - "GET /app/installations", - "GET /applications/grants", - "GET /authorizations", - "GET /enterprises/{enterprise}/actions/permissions/organizations", - "GET /enterprises/{enterprise}/actions/runner-groups", - "GET /enterprises/{enterprise}/actions/runner-groups/{runner_group_id}/organizations", - "GET /enterprises/{enterprise}/actions/runner-groups/{runner_group_id}/runners", - "GET /enterprises/{enterprise}/actions/runners", - "GET /enterprises/{enterprise}/actions/runners/downloads", - "GET /events", - "GET /gists", - "GET /gists/public", - "GET /gists/starred", - "GET /gists/{gist_id}/comments", - "GET /gists/{gist_id}/commits", - "GET /gists/{gist_id}/forks", - "GET /installation/repositories", - "GET /issues", - "GET /marketplace_listing/plans", - "GET /marketplace_listing/plans/{plan_id}/accounts", - "GET /marketplace_listing/stubbed/plans", - "GET /marketplace_listing/stubbed/plans/{plan_id}/accounts", - "GET /networks/{owner}/{repo}/events", - "GET /notifications", - "GET /organizations", - "GET /orgs/{org}/actions/permissions/repositories", - "GET /orgs/{org}/actions/runner-groups", - "GET /orgs/{org}/actions/runner-groups/{runner_group_id}/repositories", - "GET /orgs/{org}/actions/runner-groups/{runner_group_id}/runners", - "GET /orgs/{org}/actions/runners", - "GET /orgs/{org}/actions/runners/downloads", - "GET /orgs/{org}/actions/secrets", - "GET /orgs/{org}/actions/secrets/{secret_name}/repositories", - "GET /orgs/{org}/blocks", - "GET /orgs/{org}/credential-authorizations", - "GET /orgs/{org}/events", - "GET /orgs/{org}/failed_invitations", - "GET /orgs/{org}/hooks", - "GET /orgs/{org}/hooks/{hook_id}/deliveries", - "GET /orgs/{org}/installations", - "GET /orgs/{org}/invitations", - "GET /orgs/{org}/invitations/{invitation_id}/teams", - "GET /orgs/{org}/issues", - "GET /orgs/{org}/members", - "GET /orgs/{org}/migrations", - "GET /orgs/{org}/migrations/{migration_id}/repositories", - "GET /orgs/{org}/outside_collaborators", - "GET /orgs/{org}/projects", - "GET /orgs/{org}/public_members", - "GET /orgs/{org}/repos", - "GET /orgs/{org}/team-sync/groups", - "GET /orgs/{org}/teams", - "GET /orgs/{org}/teams/{team_slug}/discussions", - "GET /orgs/{org}/teams/{team_slug}/discussions/{discussion_number}/comments", - "GET /orgs/{org}/teams/{team_slug}/discussions/{discussion_number}/comments/{comment_number}/reactions", - "GET /orgs/{org}/teams/{team_slug}/discussions/{discussion_number}/reactions", - "GET /orgs/{org}/teams/{team_slug}/invitations", - "GET /orgs/{org}/teams/{team_slug}/members", - "GET /orgs/{org}/teams/{team_slug}/projects", - "GET /orgs/{org}/teams/{team_slug}/repos", - "GET /orgs/{org}/teams/{team_slug}/team-sync/group-mappings", - "GET /orgs/{org}/teams/{team_slug}/teams", - "GET /projects/columns/{column_id}/cards", - "GET /projects/{project_id}/collaborators", - "GET /projects/{project_id}/columns", - "GET /repos/{owner}/{repo}/actions/artifacts", - "GET /repos/{owner}/{repo}/actions/runners", - "GET /repos/{owner}/{repo}/actions/runners/downloads", - "GET /repos/{owner}/{repo}/actions/runs", - "GET /repos/{owner}/{repo}/actions/runs/{run_id}/artifacts", - "GET /repos/{owner}/{repo}/actions/runs/{run_id}/jobs", - "GET /repos/{owner}/{repo}/actions/secrets", - "GET /repos/{owner}/{repo}/actions/workflows", - "GET /repos/{owner}/{repo}/actions/workflows/{workflow_id}/runs", - "GET /repos/{owner}/{repo}/assignees", - "GET /repos/{owner}/{repo}/branches", - "GET /repos/{owner}/{repo}/check-runs/{check_run_id}/annotations", - "GET /repos/{owner}/{repo}/check-suites/{check_suite_id}/check-runs", - "GET /repos/{owner}/{repo}/code-scanning/alerts", - "GET /repos/{owner}/{repo}/code-scanning/alerts/{alert_number}/instances", - "GET /repos/{owner}/{repo}/code-scanning/analyses", - "GET /repos/{owner}/{repo}/collaborators", - "GET /repos/{owner}/{repo}/comments", - "GET /repos/{owner}/{repo}/comments/{comment_id}/reactions", - "GET /repos/{owner}/{repo}/commits", - "GET /repos/{owner}/{repo}/commits/{commit_sha}/branches-where-head", - "GET /repos/{owner}/{repo}/commits/{commit_sha}/comments", - "GET /repos/{owner}/{repo}/commits/{commit_sha}/pulls", - "GET /repos/{owner}/{repo}/commits/{ref}/check-runs", - "GET /repos/{owner}/{repo}/commits/{ref}/check-suites", - "GET /repos/{owner}/{repo}/commits/{ref}/statuses", - "GET /repos/{owner}/{repo}/contributors", - "GET /repos/{owner}/{repo}/deployments", - "GET /repos/{owner}/{repo}/deployments/{deployment_id}/statuses", - "GET /repos/{owner}/{repo}/events", - "GET /repos/{owner}/{repo}/forks", - "GET /repos/{owner}/{repo}/git/matching-refs/{ref}", - "GET /repos/{owner}/{repo}/hooks", - "GET /repos/{owner}/{repo}/hooks/{hook_id}/deliveries", - "GET /repos/{owner}/{repo}/invitations", - "GET /repos/{owner}/{repo}/issues", - "GET /repos/{owner}/{repo}/issues/comments", - "GET /repos/{owner}/{repo}/issues/comments/{comment_id}/reactions", - "GET /repos/{owner}/{repo}/issues/events", - "GET /repos/{owner}/{repo}/issues/{issue_number}/comments", - "GET /repos/{owner}/{repo}/issues/{issue_number}/events", - "GET /repos/{owner}/{repo}/issues/{issue_number}/labels", - "GET /repos/{owner}/{repo}/issues/{issue_number}/reactions", - "GET /repos/{owner}/{repo}/issues/{issue_number}/timeline", - "GET /repos/{owner}/{repo}/keys", - "GET /repos/{owner}/{repo}/labels", - "GET /repos/{owner}/{repo}/milestones", - "GET /repos/{owner}/{repo}/milestones/{milestone_number}/labels", - "GET /repos/{owner}/{repo}/notifications", - "GET /repos/{owner}/{repo}/pages/builds", - "GET /repos/{owner}/{repo}/projects", - "GET /repos/{owner}/{repo}/pulls", - "GET /repos/{owner}/{repo}/pulls/comments", - "GET /repos/{owner}/{repo}/pulls/comments/{comment_id}/reactions", - "GET /repos/{owner}/{repo}/pulls/{pull_number}/comments", - "GET /repos/{owner}/{repo}/pulls/{pull_number}/commits", - "GET /repos/{owner}/{repo}/pulls/{pull_number}/files", - "GET /repos/{owner}/{repo}/pulls/{pull_number}/requested_reviewers", - "GET /repos/{owner}/{repo}/pulls/{pull_number}/reviews", - "GET /repos/{owner}/{repo}/pulls/{pull_number}/reviews/{review_id}/comments", - "GET /repos/{owner}/{repo}/releases", - "GET /repos/{owner}/{repo}/releases/{release_id}/assets", - "GET /repos/{owner}/{repo}/secret-scanning/alerts", - "GET /repos/{owner}/{repo}/stargazers", - "GET /repos/{owner}/{repo}/subscribers", - "GET /repos/{owner}/{repo}/tags", - "GET /repos/{owner}/{repo}/teams", - "GET /repositories", - "GET /repositories/{repository_id}/environments/{environment_name}/secrets", - "GET /scim/v2/enterprises/{enterprise}/Groups", - "GET /scim/v2/enterprises/{enterprise}/Users", - "GET /scim/v2/organizations/{org}/Users", - "GET /search/code", - "GET /search/commits", - "GET /search/issues", - "GET /search/labels", - "GET /search/repositories", - "GET /search/topics", - "GET /search/users", - "GET /teams/{team_id}/discussions", - "GET /teams/{team_id}/discussions/{discussion_number}/comments", - "GET /teams/{team_id}/discussions/{discussion_number}/comments/{comment_number}/reactions", - "GET /teams/{team_id}/discussions/{discussion_number}/reactions", - "GET /teams/{team_id}/invitations", - "GET /teams/{team_id}/members", - "GET /teams/{team_id}/projects", - "GET /teams/{team_id}/repos", - "GET /teams/{team_id}/team-sync/group-mappings", - "GET /teams/{team_id}/teams", - "GET /user/blocks", - "GET /user/emails", - "GET /user/followers", - "GET /user/following", - "GET /user/gpg_keys", - "GET /user/installations", - "GET /user/installations/{installation_id}/repositories", - "GET /user/issues", - "GET /user/keys", - "GET /user/marketplace_purchases", - "GET /user/marketplace_purchases/stubbed", - "GET /user/memberships/orgs", - "GET /user/migrations", - "GET /user/migrations/{migration_id}/repositories", - "GET /user/orgs", - "GET /user/public_emails", - "GET /user/repos", - "GET /user/repository_invitations", - "GET /user/starred", - "GET /user/subscriptions", - "GET /user/teams", - "GET /users", - "GET /users/{username}/events", - "GET /users/{username}/events/orgs/{org}", - "GET /users/{username}/events/public", - "GET /users/{username}/followers", - "GET /users/{username}/following", - "GET /users/{username}/gists", - "GET /users/{username}/gpg_keys", - "GET /users/{username}/keys", - "GET /users/{username}/orgs", - "GET /users/{username}/projects", - "GET /users/{username}/received_events", - "GET /users/{username}/received_events/public", - "GET /users/{username}/repos", - "GET /users/{username}/starred", - "GET /users/{username}/subscriptions", -]; diff --git a/node_modules/@octokit/plugin-paginate-rest/dist-src/index.js b/node_modules/@octokit/plugin-paginate-rest/dist-src/index.js deleted file mode 100644 index 5ba74de..0000000 --- a/node_modules/@octokit/plugin-paginate-rest/dist-src/index.js +++ /dev/null @@ -1,17 +0,0 @@ -import { VERSION } from "./version"; -import { paginate } from "./paginate"; -import { iterator } from "./iterator"; -export { composePaginateRest } from "./compose-paginate"; -export { isPaginatingEndpoint, paginatingEndpoints, } from "./paginating-endpoints"; -/** - * @param octokit Octokit instance - * @param options Options passed to Octokit constructor - */ -export function paginateRest(octokit) { - return { - paginate: Object.assign(paginate.bind(null, octokit), { - iterator: iterator.bind(null, octokit), - }), - }; -} -paginateRest.VERSION = VERSION; diff --git a/node_modules/@octokit/plugin-paginate-rest/dist-src/iterator.js b/node_modules/@octokit/plugin-paginate-rest/dist-src/iterator.js deleted file mode 100644 index 7f9ee64..0000000 --- a/node_modules/@octokit/plugin-paginate-rest/dist-src/iterator.js +++ /dev/null @@ -1,39 +0,0 @@ -import { normalizePaginatedListResponse } from "./normalize-paginated-list-response"; -export function iterator(octokit, route, parameters) { - const options = typeof route === "function" - ? route.endpoint(parameters) - : octokit.request.endpoint(route, parameters); - const requestMethod = typeof route === "function" ? route : octokit.request; - const method = options.method; - const headers = options.headers; - let url = options.url; - return { - [Symbol.asyncIterator]: () => ({ - async next() { - if (!url) - return { done: true }; - try { - const response = await requestMethod({ method, url, headers }); - const normalizedResponse = normalizePaginatedListResponse(response); - // `response.headers.link` format: - // '; rel="next", ; rel="last"' - // sets `url` to undefined if "next" URL is not present or `link` header is not set - url = ((normalizedResponse.headers.link || "").match(/<([^>]+)>;\s*rel="next"/) || [])[1]; - return { value: normalizedResponse }; - } - catch (error) { - if (error.status !== 409) - throw error; - url = ""; - return { - value: { - status: 200, - headers: {}, - data: [], - }, - }; - } - }, - }), - }; -} diff --git a/node_modules/@octokit/plugin-paginate-rest/dist-src/normalize-paginated-list-response.js b/node_modules/@octokit/plugin-paginate-rest/dist-src/normalize-paginated-list-response.js deleted file mode 100644 index a87028b..0000000 --- a/node_modules/@octokit/plugin-paginate-rest/dist-src/normalize-paginated-list-response.js +++ /dev/null @@ -1,47 +0,0 @@ -/** - * Some “list” response that can be paginated have a different response structure - * - * They have a `total_count` key in the response (search also has `incomplete_results`, - * /installation/repositories also has `repository_selection`), as well as a key with - * the list of the items which name varies from endpoint to endpoint. - * - * Octokit normalizes these responses so that paginated results are always returned following - * the same structure. One challenge is that if the list response has only one page, no Link - * header is provided, so this header alone is not sufficient to check wether a response is - * paginated or not. - * - * We check if a "total_count" key is present in the response data, but also make sure that - * a "url" property is not, as the "Get the combined status for a specific ref" endpoint would - * otherwise match: https://developer.github.com/v3/repos/statuses/#get-the-combined-status-for-a-specific-ref - */ -export function normalizePaginatedListResponse(response) { - // endpoints can respond with 204 if repository is empty - if (!response.data) { - return { - ...response, - data: [], - }; - } - const responseNeedsNormalization = "total_count" in response.data && !("url" in response.data); - if (!responseNeedsNormalization) - return response; - // keep the additional properties intact as there is currently no other way - // to retrieve the same information. - const incompleteResults = response.data.incomplete_results; - const repositorySelection = response.data.repository_selection; - const totalCount = response.data.total_count; - delete response.data.incomplete_results; - delete response.data.repository_selection; - delete response.data.total_count; - const namespaceKey = Object.keys(response.data)[0]; - const data = response.data[namespaceKey]; - response.data = data; - if (typeof incompleteResults !== "undefined") { - response.data.incomplete_results = incompleteResults; - } - if (typeof repositorySelection !== "undefined") { - response.data.repository_selection = repositorySelection; - } - response.data.total_count = totalCount; - return response; -} diff --git a/node_modules/@octokit/plugin-paginate-rest/dist-src/paginate.js b/node_modules/@octokit/plugin-paginate-rest/dist-src/paginate.js deleted file mode 100644 index 8d18a60..0000000 --- a/node_modules/@octokit/plugin-paginate-rest/dist-src/paginate.js +++ /dev/null @@ -1,24 +0,0 @@ -import { iterator } from "./iterator"; -export function paginate(octokit, route, parameters, mapFn) { - if (typeof parameters === "function") { - mapFn = parameters; - parameters = undefined; - } - return gather(octokit, [], iterator(octokit, route, parameters)[Symbol.asyncIterator](), mapFn); -} -function gather(octokit, results, iterator, mapFn) { - return iterator.next().then((result) => { - if (result.done) { - return results; - } - let earlyExit = false; - function done() { - earlyExit = true; - } - results = results.concat(mapFn ? mapFn(result.value, done) : result.value.data); - if (earlyExit) { - return results; - } - return gather(octokit, results, iterator, mapFn); - }); -} diff --git a/node_modules/@octokit/plugin-paginate-rest/dist-src/paginating-endpoints.js b/node_modules/@octokit/plugin-paginate-rest/dist-src/paginating-endpoints.js deleted file mode 100644 index 1e52899..0000000 --- a/node_modules/@octokit/plugin-paginate-rest/dist-src/paginating-endpoints.js +++ /dev/null @@ -1,10 +0,0 @@ -import { paginatingEndpoints, } from "./generated/paginating-endpoints"; -export { paginatingEndpoints } from "./generated/paginating-endpoints"; -export function isPaginatingEndpoint(arg) { - if (typeof arg === "string") { - return paginatingEndpoints.includes(arg); - } - else { - return false; - } -} diff --git a/node_modules/@octokit/plugin-paginate-rest/dist-src/types.js b/node_modules/@octokit/plugin-paginate-rest/dist-src/types.js deleted file mode 100644 index cb0ff5c..0000000 --- a/node_modules/@octokit/plugin-paginate-rest/dist-src/types.js +++ /dev/null @@ -1 +0,0 @@ -export {}; diff --git a/node_modules/@octokit/plugin-paginate-rest/dist-src/version.js b/node_modules/@octokit/plugin-paginate-rest/dist-src/version.js deleted file mode 100644 index b678238..0000000 --- a/node_modules/@octokit/plugin-paginate-rest/dist-src/version.js +++ /dev/null @@ -1 +0,0 @@ -export const VERSION = "2.14.0"; diff --git a/node_modules/@octokit/plugin-paginate-rest/dist-types/compose-paginate.d.ts b/node_modules/@octokit/plugin-paginate-rest/dist-types/compose-paginate.d.ts deleted file mode 100644 index 38a7432..0000000 --- a/node_modules/@octokit/plugin-paginate-rest/dist-types/compose-paginate.d.ts +++ /dev/null @@ -1,2 +0,0 @@ -import { ComposePaginateInterface } from "./types"; -export declare const composePaginateRest: ComposePaginateInterface; diff --git a/node_modules/@octokit/plugin-paginate-rest/dist-types/generated/paginating-endpoints.d.ts b/node_modules/@octokit/plugin-paginate-rest/dist-types/generated/paginating-endpoints.d.ts deleted file mode 100644 index 43c196a..0000000 --- a/node_modules/@octokit/plugin-paginate-rest/dist-types/generated/paginating-endpoints.d.ts +++ /dev/null @@ -1,1432 +0,0 @@ -import { Endpoints } from "@octokit/types"; -export interface PaginatingEndpoints { - /** - * @see https://docs.github.com/rest/reference/apps#list-deliveries-for-an-app-webhook - */ - "GET /app/hook/deliveries": { - parameters: Endpoints["GET /app/hook/deliveries"]["parameters"]; - response: Endpoints["GET /app/hook/deliveries"]["response"]; - }; - /** - * @see https://docs.github.com/rest/reference/apps#list-installations-for-the-authenticated-app - */ - "GET /app/installations": { - parameters: Endpoints["GET /app/installations"]["parameters"]; - response: Endpoints["GET /app/installations"]["response"]; - }; - /** - * @see https://docs.github.com/rest/reference/oauth-authorizations#list-your-grants - */ - "GET /applications/grants": { - parameters: Endpoints["GET /applications/grants"]["parameters"]; - response: Endpoints["GET /applications/grants"]["response"]; - }; - /** - * @see https://docs.github.com/rest/reference/oauth-authorizations#list-your-authorizations - */ - "GET /authorizations": { - parameters: Endpoints["GET /authorizations"]["parameters"]; - response: Endpoints["GET /authorizations"]["response"]; - }; - /** - * @see https://docs.github.com/rest/reference/enterprise-admin#list-selected-organizations-enabled-for-github-actions-in-an-enterprise - */ - "GET /enterprises/{enterprise}/actions/permissions/organizations": { - parameters: Endpoints["GET /enterprises/{enterprise}/actions/permissions/organizations"]["parameters"]; - response: Endpoints["GET /enterprises/{enterprise}/actions/permissions/organizations"]["response"] & { - data: Endpoints["GET /enterprises/{enterprise}/actions/permissions/organizations"]["response"]["data"]["organizations"]; - }; - }; - /** - * @see https://docs.github.com/rest/reference/enterprise-admin#list-self-hosted-runner-groups-for-an-enterprise - */ - "GET /enterprises/{enterprise}/actions/runner-groups": { - parameters: Endpoints["GET /enterprises/{enterprise}/actions/runner-groups"]["parameters"]; - response: Endpoints["GET /enterprises/{enterprise}/actions/runner-groups"]["response"] & { - data: Endpoints["GET /enterprises/{enterprise}/actions/runner-groups"]["response"]["data"]["runner_groups"]; - }; - }; - /** - * @see https://docs.github.com/rest/reference/enterprise-admin#list-organization-access-to-a-self-hosted-runner-group-in-a-enterprise - */ - "GET /enterprises/{enterprise}/actions/runner-groups/{runner_group_id}/organizations": { - parameters: Endpoints["GET /enterprises/{enterprise}/actions/runner-groups/{runner_group_id}/organizations"]["parameters"]; - response: Endpoints["GET /enterprises/{enterprise}/actions/runner-groups/{runner_group_id}/organizations"]["response"] & { - data: Endpoints["GET /enterprises/{enterprise}/actions/runner-groups/{runner_group_id}/organizations"]["response"]["data"]["organizations"]; - }; - }; - /** - * @see https://docs.github.com/rest/reference/enterprise-admin#list-self-hosted-runners-in-a-group-for-an-enterprise - */ - "GET /enterprises/{enterprise}/actions/runner-groups/{runner_group_id}/runners": { - parameters: Endpoints["GET /enterprises/{enterprise}/actions/runner-groups/{runner_group_id}/runners"]["parameters"]; - response: Endpoints["GET /enterprises/{enterprise}/actions/runner-groups/{runner_group_id}/runners"]["response"] & { - data: Endpoints["GET /enterprises/{enterprise}/actions/runner-groups/{runner_group_id}/runners"]["response"]["data"]["runners"]; - }; - }; - /** - * @see https://docs.github.com/rest/reference/enterprise-admin#list-self-hosted-runners-for-an-enterprise - */ - "GET /enterprises/{enterprise}/actions/runners": { - parameters: Endpoints["GET /enterprises/{enterprise}/actions/runners"]["parameters"]; - response: Endpoints["GET /enterprises/{enterprise}/actions/runners"]["response"] & { - data: Endpoints["GET /enterprises/{enterprise}/actions/runners"]["response"]["data"]["runners"]; - }; - }; - /** - * @see https://docs.github.com/rest/reference/enterprise-admin#list-runner-applications-for-an-enterprise - */ - "GET /enterprises/{enterprise}/actions/runners/downloads": { - parameters: Endpoints["GET /enterprises/{enterprise}/actions/runners/downloads"]["parameters"]; - response: Endpoints["GET /enterprises/{enterprise}/actions/runners/downloads"]["response"]; - }; - /** - * @see https://docs.github.com/rest/reference/activity#list-public-events - */ - "GET /events": { - parameters: Endpoints["GET /events"]["parameters"]; - response: Endpoints["GET /events"]["response"]; - }; - /** - * @see https://docs.github.com/rest/reference/gists#list-gists-for-the-authenticated-user - */ - "GET /gists": { - parameters: Endpoints["GET /gists"]["parameters"]; - response: Endpoints["GET /gists"]["response"]; - }; - /** - * @see https://docs.github.com/rest/reference/gists#list-public-gists - */ - "GET /gists/public": { - parameters: Endpoints["GET /gists/public"]["parameters"]; - response: Endpoints["GET /gists/public"]["response"]; - }; - /** - * @see https://docs.github.com/rest/reference/gists#list-starred-gists - */ - "GET /gists/starred": { - parameters: Endpoints["GET /gists/starred"]["parameters"]; - response: Endpoints["GET /gists/starred"]["response"]; - }; - /** - * @see https://docs.github.com/rest/reference/gists#list-gist-comments - */ - "GET /gists/{gist_id}/comments": { - parameters: Endpoints["GET /gists/{gist_id}/comments"]["parameters"]; - response: Endpoints["GET /gists/{gist_id}/comments"]["response"]; - }; - /** - * @see https://docs.github.com/rest/reference/gists#list-gist-commits - */ - "GET /gists/{gist_id}/commits": { - parameters: Endpoints["GET /gists/{gist_id}/commits"]["parameters"]; - response: Endpoints["GET /gists/{gist_id}/commits"]["response"]; - }; - /** - * @see https://docs.github.com/rest/reference/gists#list-gist-forks - */ - "GET /gists/{gist_id}/forks": { - parameters: Endpoints["GET /gists/{gist_id}/forks"]["parameters"]; - response: Endpoints["GET /gists/{gist_id}/forks"]["response"]; - }; - /** - * @see https://docs.github.com/rest/reference/apps#list-repositories-accessible-to-the-app-installation - */ - "GET /installation/repositories": { - parameters: Endpoints["GET /installation/repositories"]["parameters"]; - response: Endpoints["GET /installation/repositories"]["response"] & { - data: Endpoints["GET /installation/repositories"]["response"]["data"]["repositories"]; - }; - }; - /** - * @see https://docs.github.com/rest/reference/issues#list-issues-assigned-to-the-authenticated-user - */ - "GET /issues": { - parameters: Endpoints["GET /issues"]["parameters"]; - response: Endpoints["GET /issues"]["response"]; - }; - /** - * @see https://docs.github.com/rest/reference/apps#list-plans - */ - "GET /marketplace_listing/plans": { - parameters: Endpoints["GET /marketplace_listing/plans"]["parameters"]; - response: Endpoints["GET /marketplace_listing/plans"]["response"]; - }; - /** - * @see https://docs.github.com/rest/reference/apps#list-accounts-for-a-plan - */ - "GET /marketplace_listing/plans/{plan_id}/accounts": { - parameters: Endpoints["GET /marketplace_listing/plans/{plan_id}/accounts"]["parameters"]; - response: Endpoints["GET /marketplace_listing/plans/{plan_id}/accounts"]["response"]; - }; - /** - * @see https://docs.github.com/rest/reference/apps#list-plans-stubbed - */ - "GET /marketplace_listing/stubbed/plans": { - parameters: Endpoints["GET /marketplace_listing/stubbed/plans"]["parameters"]; - response: Endpoints["GET /marketplace_listing/stubbed/plans"]["response"]; - }; - /** - * @see https://docs.github.com/rest/reference/apps#list-accounts-for-a-plan-stubbed - */ - "GET /marketplace_listing/stubbed/plans/{plan_id}/accounts": { - parameters: Endpoints["GET /marketplace_listing/stubbed/plans/{plan_id}/accounts"]["parameters"]; - response: Endpoints["GET /marketplace_listing/stubbed/plans/{plan_id}/accounts"]["response"]; - }; - /** - * @see https://docs.github.com/rest/reference/activity#list-public-events-for-a-network-of-repositories - */ - "GET /networks/{owner}/{repo}/events": { - parameters: Endpoints["GET /networks/{owner}/{repo}/events"]["parameters"]; - response: Endpoints["GET /networks/{owner}/{repo}/events"]["response"]; - }; - /** - * @see https://docs.github.com/rest/reference/activity#list-notifications-for-the-authenticated-user - */ - "GET /notifications": { - parameters: Endpoints["GET /notifications"]["parameters"]; - response: Endpoints["GET /notifications"]["response"]; - }; - /** - * @see https://docs.github.com/rest/reference/orgs#list-organizations - */ - "GET /organizations": { - parameters: Endpoints["GET /organizations"]["parameters"]; - response: Endpoints["GET /organizations"]["response"]; - }; - /** - * @see https://docs.github.com/rest/reference/actions#list-selected-repositories-enabled-for-github-actions-in-an-organization - */ - "GET /orgs/{org}/actions/permissions/repositories": { - parameters: Endpoints["GET /orgs/{org}/actions/permissions/repositories"]["parameters"]; - response: Endpoints["GET /orgs/{org}/actions/permissions/repositories"]["response"] & { - data: Endpoints["GET /orgs/{org}/actions/permissions/repositories"]["response"]["data"]["repositories"]; - }; - }; - /** - * @see https://docs.github.com/rest/reference/actions#list-self-hosted-runner-groups-for-an-organization - */ - "GET /orgs/{org}/actions/runner-groups": { - parameters: Endpoints["GET /orgs/{org}/actions/runner-groups"]["parameters"]; - response: Endpoints["GET /orgs/{org}/actions/runner-groups"]["response"] & { - data: Endpoints["GET /orgs/{org}/actions/runner-groups"]["response"]["data"]["runner_groups"]; - }; - }; - /** - * @see https://docs.github.com/rest/reference/actions#list-repository-access-to-a-self-hosted-runner-group-in-an-organization - */ - "GET /orgs/{org}/actions/runner-groups/{runner_group_id}/repositories": { - parameters: Endpoints["GET /orgs/{org}/actions/runner-groups/{runner_group_id}/repositories"]["parameters"]; - response: Endpoints["GET /orgs/{org}/actions/runner-groups/{runner_group_id}/repositories"]["response"] & { - data: Endpoints["GET /orgs/{org}/actions/runner-groups/{runner_group_id}/repositories"]["response"]["data"]["repositories"]; - }; - }; - /** - * @see https://docs.github.com/rest/reference/actions#list-self-hosted-runners-in-a-group-for-an-organization - */ - "GET /orgs/{org}/actions/runner-groups/{runner_group_id}/runners": { - parameters: Endpoints["GET /orgs/{org}/actions/runner-groups/{runner_group_id}/runners"]["parameters"]; - response: Endpoints["GET /orgs/{org}/actions/runner-groups/{runner_group_id}/runners"]["response"] & { - data: Endpoints["GET /orgs/{org}/actions/runner-groups/{runner_group_id}/runners"]["response"]["data"]["runners"]; - }; - }; - /** - * @see https://docs.github.com/rest/reference/actions#list-self-hosted-runners-for-an-organization - */ - "GET /orgs/{org}/actions/runners": { - parameters: Endpoints["GET /orgs/{org}/actions/runners"]["parameters"]; - response: Endpoints["GET /orgs/{org}/actions/runners"]["response"] & { - data: Endpoints["GET /orgs/{org}/actions/runners"]["response"]["data"]["runners"]; - }; - }; - /** - * @see https://docs.github.com/rest/reference/actions#list-runner-applications-for-an-organization - */ - "GET /orgs/{org}/actions/runners/downloads": { - parameters: Endpoints["GET /orgs/{org}/actions/runners/downloads"]["parameters"]; - response: Endpoints["GET /orgs/{org}/actions/runners/downloads"]["response"]; - }; - /** - * @see https://docs.github.com/rest/reference/actions#list-organization-secrets - */ - "GET /orgs/{org}/actions/secrets": { - parameters: Endpoints["GET /orgs/{org}/actions/secrets"]["parameters"]; - response: Endpoints["GET /orgs/{org}/actions/secrets"]["response"] & { - data: Endpoints["GET /orgs/{org}/actions/secrets"]["response"]["data"]["secrets"]; - }; - }; - /** - * @see https://docs.github.com/rest/reference/actions#list-selected-repositories-for-an-organization-secret - */ - "GET /orgs/{org}/actions/secrets/{secret_name}/repositories": { - parameters: Endpoints["GET /orgs/{org}/actions/secrets/{secret_name}/repositories"]["parameters"]; - response: Endpoints["GET /orgs/{org}/actions/secrets/{secret_name}/repositories"]["response"] & { - data: Endpoints["GET /orgs/{org}/actions/secrets/{secret_name}/repositories"]["response"]["data"]["repositories"]; - }; - }; - /** - * @see https://docs.github.com/rest/reference/orgs#list-users-blocked-by-an-organization - */ - "GET /orgs/{org}/blocks": { - parameters: Endpoints["GET /orgs/{org}/blocks"]["parameters"]; - response: Endpoints["GET /orgs/{org}/blocks"]["response"]; - }; - /** - * @see https://docs.github.com/rest/reference/orgs#list-saml-sso-authorizations-for-an-organization - */ - "GET /orgs/{org}/credential-authorizations": { - parameters: Endpoints["GET /orgs/{org}/credential-authorizations"]["parameters"]; - response: Endpoints["GET /orgs/{org}/credential-authorizations"]["response"]; - }; - /** - * @see https://docs.github.com/rest/reference/activity#list-public-organization-events - */ - "GET /orgs/{org}/events": { - parameters: Endpoints["GET /orgs/{org}/events"]["parameters"]; - response: Endpoints["GET /orgs/{org}/events"]["response"]; - }; - /** - * @see https://docs.github.com/rest/reference/orgs#list-failed-organization-invitations - */ - "GET /orgs/{org}/failed_invitations": { - parameters: Endpoints["GET /orgs/{org}/failed_invitations"]["parameters"]; - response: Endpoints["GET /orgs/{org}/failed_invitations"]["response"]; - }; - /** - * @see https://docs.github.com/rest/reference/orgs#list-organization-webhooks - */ - "GET /orgs/{org}/hooks": { - parameters: Endpoints["GET /orgs/{org}/hooks"]["parameters"]; - response: Endpoints["GET /orgs/{org}/hooks"]["response"]; - }; - /** - * @see https://docs.github.com/rest/reference/orgs#list-deliveries-for-an-organization-webhook - */ - "GET /orgs/{org}/hooks/{hook_id}/deliveries": { - parameters: Endpoints["GET /orgs/{org}/hooks/{hook_id}/deliveries"]["parameters"]; - response: Endpoints["GET /orgs/{org}/hooks/{hook_id}/deliveries"]["response"]; - }; - /** - * @see https://docs.github.com/rest/reference/orgs#list-app-installations-for-an-organization - */ - "GET /orgs/{org}/installations": { - parameters: Endpoints["GET /orgs/{org}/installations"]["parameters"]; - response: Endpoints["GET /orgs/{org}/installations"]["response"] & { - data: Endpoints["GET /orgs/{org}/installations"]["response"]["data"]["installations"]; - }; - }; - /** - * @see https://docs.github.com/rest/reference/orgs#list-pending-organization-invitations - */ - "GET /orgs/{org}/invitations": { - parameters: Endpoints["GET /orgs/{org}/invitations"]["parameters"]; - response: Endpoints["GET /orgs/{org}/invitations"]["response"]; - }; - /** - * @see https://docs.github.com/rest/reference/orgs#list-organization-invitation-teams - */ - "GET /orgs/{org}/invitations/{invitation_id}/teams": { - parameters: Endpoints["GET /orgs/{org}/invitations/{invitation_id}/teams"]["parameters"]; - response: Endpoints["GET /orgs/{org}/invitations/{invitation_id}/teams"]["response"]; - }; - /** - * @see https://docs.github.com/rest/reference/issues#list-organization-issues-assigned-to-the-authenticated-user - */ - "GET /orgs/{org}/issues": { - parameters: Endpoints["GET /orgs/{org}/issues"]["parameters"]; - response: Endpoints["GET /orgs/{org}/issues"]["response"]; - }; - /** - * @see https://docs.github.com/rest/reference/orgs#list-organization-members - */ - "GET /orgs/{org}/members": { - parameters: Endpoints["GET /orgs/{org}/members"]["parameters"]; - response: Endpoints["GET /orgs/{org}/members"]["response"]; - }; - /** - * @see https://docs.github.com/rest/reference/migrations#list-organization-migrations - */ - "GET /orgs/{org}/migrations": { - parameters: Endpoints["GET /orgs/{org}/migrations"]["parameters"]; - response: Endpoints["GET /orgs/{org}/migrations"]["response"]; - }; - /** - * @see https://docs.github.com/rest/reference/migrations#list-repositories-in-an-organization-migration - */ - "GET /orgs/{org}/migrations/{migration_id}/repositories": { - parameters: Endpoints["GET /orgs/{org}/migrations/{migration_id}/repositories"]["parameters"]; - response: Endpoints["GET /orgs/{org}/migrations/{migration_id}/repositories"]["response"]; - }; - /** - * @see https://docs.github.com/rest/reference/orgs#list-outside-collaborators-for-an-organization - */ - "GET /orgs/{org}/outside_collaborators": { - parameters: Endpoints["GET /orgs/{org}/outside_collaborators"]["parameters"]; - response: Endpoints["GET /orgs/{org}/outside_collaborators"]["response"]; - }; - /** - * @see https://docs.github.com/rest/reference/projects#list-organization-projects - */ - "GET /orgs/{org}/projects": { - parameters: Endpoints["GET /orgs/{org}/projects"]["parameters"]; - response: Endpoints["GET /orgs/{org}/projects"]["response"]; - }; - /** - * @see https://docs.github.com/rest/reference/orgs#list-public-organization-members - */ - "GET /orgs/{org}/public_members": { - parameters: Endpoints["GET /orgs/{org}/public_members"]["parameters"]; - response: Endpoints["GET /orgs/{org}/public_members"]["response"]; - }; - /** - * @see https://docs.github.com/rest/reference/repos#list-organization-repositories - */ - "GET /orgs/{org}/repos": { - parameters: Endpoints["GET /orgs/{org}/repos"]["parameters"]; - response: Endpoints["GET /orgs/{org}/repos"]["response"]; - }; - /** - * @see https://docs.github.com/rest/reference/teams#list-idp-groups-for-an-organization - */ - "GET /orgs/{org}/team-sync/groups": { - parameters: Endpoints["GET /orgs/{org}/team-sync/groups"]["parameters"]; - response: Endpoints["GET /orgs/{org}/team-sync/groups"]["response"] & { - data: Endpoints["GET /orgs/{org}/team-sync/groups"]["response"]["data"]["groups"]; - }; - }; - /** - * @see https://docs.github.com/rest/reference/teams#list-teams - */ - "GET /orgs/{org}/teams": { - parameters: Endpoints["GET /orgs/{org}/teams"]["parameters"]; - response: Endpoints["GET /orgs/{org}/teams"]["response"]; - }; - /** - * @see https://docs.github.com/rest/reference/teams#list-discussions - */ - "GET /orgs/{org}/teams/{team_slug}/discussions": { - parameters: Endpoints["GET /orgs/{org}/teams/{team_slug}/discussions"]["parameters"]; - response: Endpoints["GET /orgs/{org}/teams/{team_slug}/discussions"]["response"]; - }; - /** - * @see https://docs.github.com/rest/reference/teams#list-discussion-comments - */ - "GET /orgs/{org}/teams/{team_slug}/discussions/{discussion_number}/comments": { - parameters: Endpoints["GET /orgs/{org}/teams/{team_slug}/discussions/{discussion_number}/comments"]["parameters"]; - response: Endpoints["GET /orgs/{org}/teams/{team_slug}/discussions/{discussion_number}/comments"]["response"]; - }; - /** - * @see https://docs.github.com/rest/reference/reactions#list-reactions-for-a-team-discussion-comment - */ - "GET /orgs/{org}/teams/{team_slug}/discussions/{discussion_number}/comments/{comment_number}/reactions": { - parameters: Endpoints["GET /orgs/{org}/teams/{team_slug}/discussions/{discussion_number}/comments/{comment_number}/reactions"]["parameters"]; - response: Endpoints["GET /orgs/{org}/teams/{team_slug}/discussions/{discussion_number}/comments/{comment_number}/reactions"]["response"]; - }; - /** - * @see https://docs.github.com/rest/reference/reactions#list-reactions-for-a-team-discussion - */ - "GET /orgs/{org}/teams/{team_slug}/discussions/{discussion_number}/reactions": { - parameters: Endpoints["GET /orgs/{org}/teams/{team_slug}/discussions/{discussion_number}/reactions"]["parameters"]; - response: Endpoints["GET /orgs/{org}/teams/{team_slug}/discussions/{discussion_number}/reactions"]["response"]; - }; - /** - * @see https://docs.github.com/rest/reference/teams#list-pending-team-invitations - */ - "GET /orgs/{org}/teams/{team_slug}/invitations": { - parameters: Endpoints["GET /orgs/{org}/teams/{team_slug}/invitations"]["parameters"]; - response: Endpoints["GET /orgs/{org}/teams/{team_slug}/invitations"]["response"]; - }; - /** - * @see https://docs.github.com/rest/reference/teams#list-team-members - */ - "GET /orgs/{org}/teams/{team_slug}/members": { - parameters: Endpoints["GET /orgs/{org}/teams/{team_slug}/members"]["parameters"]; - response: Endpoints["GET /orgs/{org}/teams/{team_slug}/members"]["response"]; - }; - /** - * @see https://docs.github.com/rest/reference/teams#list-team-projects - */ - "GET /orgs/{org}/teams/{team_slug}/projects": { - parameters: Endpoints["GET /orgs/{org}/teams/{team_slug}/projects"]["parameters"]; - response: Endpoints["GET /orgs/{org}/teams/{team_slug}/projects"]["response"]; - }; - /** - * @see https://docs.github.com/rest/reference/teams#list-team-repositories - */ - "GET /orgs/{org}/teams/{team_slug}/repos": { - parameters: Endpoints["GET /orgs/{org}/teams/{team_slug}/repos"]["parameters"]; - response: Endpoints["GET /orgs/{org}/teams/{team_slug}/repos"]["response"]; - }; - /** - * @see https://docs.github.com/rest/reference/teams#list-idp-groups-for-a-team - */ - "GET /orgs/{org}/teams/{team_slug}/team-sync/group-mappings": { - parameters: Endpoints["GET /orgs/{org}/teams/{team_slug}/team-sync/group-mappings"]["parameters"]; - response: Endpoints["GET /orgs/{org}/teams/{team_slug}/team-sync/group-mappings"]["response"] & { - data: Endpoints["GET /orgs/{org}/teams/{team_slug}/team-sync/group-mappings"]["response"]["data"]["groups"]; - }; - }; - /** - * @see https://docs.github.com/rest/reference/teams#list-child-teams - */ - "GET /orgs/{org}/teams/{team_slug}/teams": { - parameters: Endpoints["GET /orgs/{org}/teams/{team_slug}/teams"]["parameters"]; - response: Endpoints["GET /orgs/{org}/teams/{team_slug}/teams"]["response"]; - }; - /** - * @see https://docs.github.com/rest/reference/projects#list-project-cards - */ - "GET /projects/columns/{column_id}/cards": { - parameters: Endpoints["GET /projects/columns/{column_id}/cards"]["parameters"]; - response: Endpoints["GET /projects/columns/{column_id}/cards"]["response"]; - }; - /** - * @see https://docs.github.com/rest/reference/projects#list-project-collaborators - */ - "GET /projects/{project_id}/collaborators": { - parameters: Endpoints["GET /projects/{project_id}/collaborators"]["parameters"]; - response: Endpoints["GET /projects/{project_id}/collaborators"]["response"]; - }; - /** - * @see https://docs.github.com/rest/reference/projects#list-project-columns - */ - "GET /projects/{project_id}/columns": { - parameters: Endpoints["GET /projects/{project_id}/columns"]["parameters"]; - response: Endpoints["GET /projects/{project_id}/columns"]["response"]; - }; - /** - * @see https://docs.github.com/rest/reference/actions#list-artifacts-for-a-repository - */ - "GET /repos/{owner}/{repo}/actions/artifacts": { - parameters: Endpoints["GET /repos/{owner}/{repo}/actions/artifacts"]["parameters"]; - response: Endpoints["GET /repos/{owner}/{repo}/actions/artifacts"]["response"] & { - data: Endpoints["GET /repos/{owner}/{repo}/actions/artifacts"]["response"]["data"]["artifacts"]; - }; - }; - /** - * @see https://docs.github.com/rest/reference/actions#list-self-hosted-runners-for-a-repository - */ - "GET /repos/{owner}/{repo}/actions/runners": { - parameters: Endpoints["GET /repos/{owner}/{repo}/actions/runners"]["parameters"]; - response: Endpoints["GET /repos/{owner}/{repo}/actions/runners"]["response"] & { - data: Endpoints["GET /repos/{owner}/{repo}/actions/runners"]["response"]["data"]["runners"]; - }; - }; - /** - * @see https://docs.github.com/rest/reference/actions#list-runner-applications-for-a-repository - */ - "GET /repos/{owner}/{repo}/actions/runners/downloads": { - parameters: Endpoints["GET /repos/{owner}/{repo}/actions/runners/downloads"]["parameters"]; - response: Endpoints["GET /repos/{owner}/{repo}/actions/runners/downloads"]["response"]; - }; - /** - * @see https://docs.github.com/rest/reference/actions#list-workflow-runs-for-a-repository - */ - "GET /repos/{owner}/{repo}/actions/runs": { - parameters: Endpoints["GET /repos/{owner}/{repo}/actions/runs"]["parameters"]; - response: Endpoints["GET /repos/{owner}/{repo}/actions/runs"]["response"] & { - data: Endpoints["GET /repos/{owner}/{repo}/actions/runs"]["response"]["data"]["workflow_runs"]; - }; - }; - /** - * @see https://docs.github.com/rest/reference/actions#list-workflow-run-artifacts - */ - "GET /repos/{owner}/{repo}/actions/runs/{run_id}/artifacts": { - parameters: Endpoints["GET /repos/{owner}/{repo}/actions/runs/{run_id}/artifacts"]["parameters"]; - response: Endpoints["GET /repos/{owner}/{repo}/actions/runs/{run_id}/artifacts"]["response"] & { - data: Endpoints["GET /repos/{owner}/{repo}/actions/runs/{run_id}/artifacts"]["response"]["data"]["artifacts"]; - }; - }; - /** - * @see https://docs.github.com/rest/reference/actions#list-jobs-for-a-workflow-run - */ - "GET /repos/{owner}/{repo}/actions/runs/{run_id}/jobs": { - parameters: Endpoints["GET /repos/{owner}/{repo}/actions/runs/{run_id}/jobs"]["parameters"]; - response: Endpoints["GET /repos/{owner}/{repo}/actions/runs/{run_id}/jobs"]["response"] & { - data: Endpoints["GET /repos/{owner}/{repo}/actions/runs/{run_id}/jobs"]["response"]["data"]["jobs"]; - }; - }; - /** - * @see https://docs.github.com/rest/reference/actions#list-repository-secrets - */ - "GET /repos/{owner}/{repo}/actions/secrets": { - parameters: Endpoints["GET /repos/{owner}/{repo}/actions/secrets"]["parameters"]; - response: Endpoints["GET /repos/{owner}/{repo}/actions/secrets"]["response"] & { - data: Endpoints["GET /repos/{owner}/{repo}/actions/secrets"]["response"]["data"]["secrets"]; - }; - }; - /** - * @see https://docs.github.com/rest/reference/actions#list-repository-workflows - */ - "GET /repos/{owner}/{repo}/actions/workflows": { - parameters: Endpoints["GET /repos/{owner}/{repo}/actions/workflows"]["parameters"]; - response: Endpoints["GET /repos/{owner}/{repo}/actions/workflows"]["response"] & { - data: Endpoints["GET /repos/{owner}/{repo}/actions/workflows"]["response"]["data"]["workflows"]; - }; - }; - /** - * @see https://docs.github.com/rest/reference/actions#list-workflow-runs - */ - "GET /repos/{owner}/{repo}/actions/workflows/{workflow_id}/runs": { - parameters: Endpoints["GET /repos/{owner}/{repo}/actions/workflows/{workflow_id}/runs"]["parameters"]; - response: Endpoints["GET /repos/{owner}/{repo}/actions/workflows/{workflow_id}/runs"]["response"] & { - data: Endpoints["GET /repos/{owner}/{repo}/actions/workflows/{workflow_id}/runs"]["response"]["data"]["workflow_runs"]; - }; - }; - /** - * @see https://docs.github.com/rest/reference/issues#list-assignees - */ - "GET /repos/{owner}/{repo}/assignees": { - parameters: Endpoints["GET /repos/{owner}/{repo}/assignees"]["parameters"]; - response: Endpoints["GET /repos/{owner}/{repo}/assignees"]["response"]; - }; - /** - * @see https://docs.github.com/rest/reference/repos#list-branches - */ - "GET /repos/{owner}/{repo}/branches": { - parameters: Endpoints["GET /repos/{owner}/{repo}/branches"]["parameters"]; - response: Endpoints["GET /repos/{owner}/{repo}/branches"]["response"]; - }; - /** - * @see https://docs.github.com/rest/reference/checks#list-check-run-annotations - */ - "GET /repos/{owner}/{repo}/check-runs/{check_run_id}/annotations": { - parameters: Endpoints["GET /repos/{owner}/{repo}/check-runs/{check_run_id}/annotations"]["parameters"]; - response: Endpoints["GET /repos/{owner}/{repo}/check-runs/{check_run_id}/annotations"]["response"]; - }; - /** - * @see https://docs.github.com/rest/reference/checks#list-check-runs-in-a-check-suite - */ - "GET /repos/{owner}/{repo}/check-suites/{check_suite_id}/check-runs": { - parameters: Endpoints["GET /repos/{owner}/{repo}/check-suites/{check_suite_id}/check-runs"]["parameters"]; - response: Endpoints["GET /repos/{owner}/{repo}/check-suites/{check_suite_id}/check-runs"]["response"] & { - data: Endpoints["GET /repos/{owner}/{repo}/check-suites/{check_suite_id}/check-runs"]["response"]["data"]["check_runs"]; - }; - }; - /** - * @see https://docs.github.com/rest/reference/code-scanning#list-code-scanning-alerts-for-a-repository - */ - "GET /repos/{owner}/{repo}/code-scanning/alerts": { - parameters: Endpoints["GET /repos/{owner}/{repo}/code-scanning/alerts"]["parameters"]; - response: Endpoints["GET /repos/{owner}/{repo}/code-scanning/alerts"]["response"]; - }; - /** - * @see https://docs.github.com/rest/reference/code-scanning#list-instances-of-a-code-scanning-alert - */ - "GET /repos/{owner}/{repo}/code-scanning/alerts/{alert_number}/instances": { - parameters: Endpoints["GET /repos/{owner}/{repo}/code-scanning/alerts/{alert_number}/instances"]["parameters"]; - response: Endpoints["GET /repos/{owner}/{repo}/code-scanning/alerts/{alert_number}/instances"]["response"]; - }; - /** - * @see https://docs.github.com/rest/reference/code-scanning#list-code-scanning-analyses-for-a-repository - */ - "GET /repos/{owner}/{repo}/code-scanning/analyses": { - parameters: Endpoints["GET /repos/{owner}/{repo}/code-scanning/analyses"]["parameters"]; - response: Endpoints["GET /repos/{owner}/{repo}/code-scanning/analyses"]["response"]; - }; - /** - * @see https://docs.github.com/rest/reference/repos#list-repository-collaborators - */ - "GET /repos/{owner}/{repo}/collaborators": { - parameters: Endpoints["GET /repos/{owner}/{repo}/collaborators"]["parameters"]; - response: Endpoints["GET /repos/{owner}/{repo}/collaborators"]["response"]; - }; - /** - * @see https://docs.github.com/rest/reference/repos#list-commit-comments-for-a-repository - */ - "GET /repos/{owner}/{repo}/comments": { - parameters: Endpoints["GET /repos/{owner}/{repo}/comments"]["parameters"]; - response: Endpoints["GET /repos/{owner}/{repo}/comments"]["response"]; - }; - /** - * @see https://docs.github.com/rest/reference/reactions#list-reactions-for-a-commit-comment - */ - "GET /repos/{owner}/{repo}/comments/{comment_id}/reactions": { - parameters: Endpoints["GET /repos/{owner}/{repo}/comments/{comment_id}/reactions"]["parameters"]; - response: Endpoints["GET /repos/{owner}/{repo}/comments/{comment_id}/reactions"]["response"]; - }; - /** - * @see https://docs.github.com/rest/reference/repos#list-commits - */ - "GET /repos/{owner}/{repo}/commits": { - parameters: Endpoints["GET /repos/{owner}/{repo}/commits"]["parameters"]; - response: Endpoints["GET /repos/{owner}/{repo}/commits"]["response"]; - }; - /** - * @see https://docs.github.com/rest/reference/repos#list-branches-for-head-commit - */ - "GET /repos/{owner}/{repo}/commits/{commit_sha}/branches-where-head": { - parameters: Endpoints["GET /repos/{owner}/{repo}/commits/{commit_sha}/branches-where-head"]["parameters"]; - response: Endpoints["GET /repos/{owner}/{repo}/commits/{commit_sha}/branches-where-head"]["response"]; - }; - /** - * @see https://docs.github.com/rest/reference/repos#list-commit-comments - */ - "GET /repos/{owner}/{repo}/commits/{commit_sha}/comments": { - parameters: Endpoints["GET /repos/{owner}/{repo}/commits/{commit_sha}/comments"]["parameters"]; - response: Endpoints["GET /repos/{owner}/{repo}/commits/{commit_sha}/comments"]["response"]; - }; - /** - * @see https://docs.github.com/rest/reference/repos#list-pull-requests-associated-with-a-commit - */ - "GET /repos/{owner}/{repo}/commits/{commit_sha}/pulls": { - parameters: Endpoints["GET /repos/{owner}/{repo}/commits/{commit_sha}/pulls"]["parameters"]; - response: Endpoints["GET /repos/{owner}/{repo}/commits/{commit_sha}/pulls"]["response"]; - }; - /** - * @see https://docs.github.com/rest/reference/checks#list-check-runs-for-a-git-reference - */ - "GET /repos/{owner}/{repo}/commits/{ref}/check-runs": { - parameters: Endpoints["GET /repos/{owner}/{repo}/commits/{ref}/check-runs"]["parameters"]; - response: Endpoints["GET /repos/{owner}/{repo}/commits/{ref}/check-runs"]["response"] & { - data: Endpoints["GET /repos/{owner}/{repo}/commits/{ref}/check-runs"]["response"]["data"]["check_runs"]; - }; - }; - /** - * @see https://docs.github.com/rest/reference/checks#list-check-suites-for-a-git-reference - */ - "GET /repos/{owner}/{repo}/commits/{ref}/check-suites": { - parameters: Endpoints["GET /repos/{owner}/{repo}/commits/{ref}/check-suites"]["parameters"]; - response: Endpoints["GET /repos/{owner}/{repo}/commits/{ref}/check-suites"]["response"] & { - data: Endpoints["GET /repos/{owner}/{repo}/commits/{ref}/check-suites"]["response"]["data"]["check_suites"]; - }; - }; - /** - * @see https://docs.github.com/rest/reference/repos#list-commit-statuses-for-a-reference - */ - "GET /repos/{owner}/{repo}/commits/{ref}/statuses": { - parameters: Endpoints["GET /repos/{owner}/{repo}/commits/{ref}/statuses"]["parameters"]; - response: Endpoints["GET /repos/{owner}/{repo}/commits/{ref}/statuses"]["response"]; - }; - /** - * @see https://docs.github.com/rest/reference/repos#list-repository-contributors - */ - "GET /repos/{owner}/{repo}/contributors": { - parameters: Endpoints["GET /repos/{owner}/{repo}/contributors"]["parameters"]; - response: Endpoints["GET /repos/{owner}/{repo}/contributors"]["response"]; - }; - /** - * @see https://docs.github.com/rest/reference/repos#list-deployments - */ - "GET /repos/{owner}/{repo}/deployments": { - parameters: Endpoints["GET /repos/{owner}/{repo}/deployments"]["parameters"]; - response: Endpoints["GET /repos/{owner}/{repo}/deployments"]["response"]; - }; - /** - * @see https://docs.github.com/rest/reference/repos#list-deployment-statuses - */ - "GET /repos/{owner}/{repo}/deployments/{deployment_id}/statuses": { - parameters: Endpoints["GET /repos/{owner}/{repo}/deployments/{deployment_id}/statuses"]["parameters"]; - response: Endpoints["GET /repos/{owner}/{repo}/deployments/{deployment_id}/statuses"]["response"]; - }; - /** - * @see https://docs.github.com/rest/reference/activity#list-repository-events - */ - "GET /repos/{owner}/{repo}/events": { - parameters: Endpoints["GET /repos/{owner}/{repo}/events"]["parameters"]; - response: Endpoints["GET /repos/{owner}/{repo}/events"]["response"]; - }; - /** - * @see https://docs.github.com/rest/reference/repos#list-forks - */ - "GET /repos/{owner}/{repo}/forks": { - parameters: Endpoints["GET /repos/{owner}/{repo}/forks"]["parameters"]; - response: Endpoints["GET /repos/{owner}/{repo}/forks"]["response"]; - }; - /** - * @see https://docs.github.com/rest/reference/git#list-matching-references - */ - "GET /repos/{owner}/{repo}/git/matching-refs/{ref}": { - parameters: Endpoints["GET /repos/{owner}/{repo}/git/matching-refs/{ref}"]["parameters"]; - response: Endpoints["GET /repos/{owner}/{repo}/git/matching-refs/{ref}"]["response"]; - }; - /** - * @see https://docs.github.com/rest/reference/repos#list-repository-webhooks - */ - "GET /repos/{owner}/{repo}/hooks": { - parameters: Endpoints["GET /repos/{owner}/{repo}/hooks"]["parameters"]; - response: Endpoints["GET /repos/{owner}/{repo}/hooks"]["response"]; - }; - /** - * @see https://docs.github.com/rest/reference/repos#list-deliveries-for-a-repository-webhook - */ - "GET /repos/{owner}/{repo}/hooks/{hook_id}/deliveries": { - parameters: Endpoints["GET /repos/{owner}/{repo}/hooks/{hook_id}/deliveries"]["parameters"]; - response: Endpoints["GET /repos/{owner}/{repo}/hooks/{hook_id}/deliveries"]["response"]; - }; - /** - * @see https://docs.github.com/rest/reference/repos#list-repository-invitations - */ - "GET /repos/{owner}/{repo}/invitations": { - parameters: Endpoints["GET /repos/{owner}/{repo}/invitations"]["parameters"]; - response: Endpoints["GET /repos/{owner}/{repo}/invitations"]["response"]; - }; - /** - * @see https://docs.github.com/rest/reference/issues#list-repository-issues - */ - "GET /repos/{owner}/{repo}/issues": { - parameters: Endpoints["GET /repos/{owner}/{repo}/issues"]["parameters"]; - response: Endpoints["GET /repos/{owner}/{repo}/issues"]["response"]; - }; - /** - * @see https://docs.github.com/rest/reference/issues#list-issue-comments-for-a-repository - */ - "GET /repos/{owner}/{repo}/issues/comments": { - parameters: Endpoints["GET /repos/{owner}/{repo}/issues/comments"]["parameters"]; - response: Endpoints["GET /repos/{owner}/{repo}/issues/comments"]["response"]; - }; - /** - * @see https://docs.github.com/rest/reference/reactions#list-reactions-for-an-issue-comment - */ - "GET /repos/{owner}/{repo}/issues/comments/{comment_id}/reactions": { - parameters: Endpoints["GET /repos/{owner}/{repo}/issues/comments/{comment_id}/reactions"]["parameters"]; - response: Endpoints["GET /repos/{owner}/{repo}/issues/comments/{comment_id}/reactions"]["response"]; - }; - /** - * @see https://docs.github.com/rest/reference/issues#list-issue-events-for-a-repository - */ - "GET /repos/{owner}/{repo}/issues/events": { - parameters: Endpoints["GET /repos/{owner}/{repo}/issues/events"]["parameters"]; - response: Endpoints["GET /repos/{owner}/{repo}/issues/events"]["response"]; - }; - /** - * @see https://docs.github.com/rest/reference/issues#list-issue-comments - */ - "GET /repos/{owner}/{repo}/issues/{issue_number}/comments": { - parameters: Endpoints["GET /repos/{owner}/{repo}/issues/{issue_number}/comments"]["parameters"]; - response: Endpoints["GET /repos/{owner}/{repo}/issues/{issue_number}/comments"]["response"]; - }; - /** - * @see https://docs.github.com/rest/reference/issues#list-issue-events - */ - "GET /repos/{owner}/{repo}/issues/{issue_number}/events": { - parameters: Endpoints["GET /repos/{owner}/{repo}/issues/{issue_number}/events"]["parameters"]; - response: Endpoints["GET /repos/{owner}/{repo}/issues/{issue_number}/events"]["response"]; - }; - /** - * @see https://docs.github.com/rest/reference/issues#list-labels-for-an-issue - */ - "GET /repos/{owner}/{repo}/issues/{issue_number}/labels": { - parameters: Endpoints["GET /repos/{owner}/{repo}/issues/{issue_number}/labels"]["parameters"]; - response: Endpoints["GET /repos/{owner}/{repo}/issues/{issue_number}/labels"]["response"]; - }; - /** - * @see https://docs.github.com/rest/reference/reactions#list-reactions-for-an-issue - */ - "GET /repos/{owner}/{repo}/issues/{issue_number}/reactions": { - parameters: Endpoints["GET /repos/{owner}/{repo}/issues/{issue_number}/reactions"]["parameters"]; - response: Endpoints["GET /repos/{owner}/{repo}/issues/{issue_number}/reactions"]["response"]; - }; - /** - * @see https://docs.github.com/rest/reference/issues#list-timeline-events-for-an-issue - */ - "GET /repos/{owner}/{repo}/issues/{issue_number}/timeline": { - parameters: Endpoints["GET /repos/{owner}/{repo}/issues/{issue_number}/timeline"]["parameters"]; - response: Endpoints["GET /repos/{owner}/{repo}/issues/{issue_number}/timeline"]["response"]; - }; - /** - * @see https://docs.github.com/rest/reference/repos#list-deploy-keys - */ - "GET /repos/{owner}/{repo}/keys": { - parameters: Endpoints["GET /repos/{owner}/{repo}/keys"]["parameters"]; - response: Endpoints["GET /repos/{owner}/{repo}/keys"]["response"]; - }; - /** - * @see https://docs.github.com/rest/reference/issues#list-labels-for-a-repository - */ - "GET /repos/{owner}/{repo}/labels": { - parameters: Endpoints["GET /repos/{owner}/{repo}/labels"]["parameters"]; - response: Endpoints["GET /repos/{owner}/{repo}/labels"]["response"]; - }; - /** - * @see https://docs.github.com/rest/reference/issues#list-milestones - */ - "GET /repos/{owner}/{repo}/milestones": { - parameters: Endpoints["GET /repos/{owner}/{repo}/milestones"]["parameters"]; - response: Endpoints["GET /repos/{owner}/{repo}/milestones"]["response"]; - }; - /** - * @see https://docs.github.com/rest/reference/issues#list-labels-for-issues-in-a-milestone - */ - "GET /repos/{owner}/{repo}/milestones/{milestone_number}/labels": { - parameters: Endpoints["GET /repos/{owner}/{repo}/milestones/{milestone_number}/labels"]["parameters"]; - response: Endpoints["GET /repos/{owner}/{repo}/milestones/{milestone_number}/labels"]["response"]; - }; - /** - * @see https://docs.github.com/rest/reference/activity#list-repository-notifications-for-the-authenticated-user - */ - "GET /repos/{owner}/{repo}/notifications": { - parameters: Endpoints["GET /repos/{owner}/{repo}/notifications"]["parameters"]; - response: Endpoints["GET /repos/{owner}/{repo}/notifications"]["response"]; - }; - /** - * @see https://docs.github.com/rest/reference/repos#list-github-pages-builds - */ - "GET /repos/{owner}/{repo}/pages/builds": { - parameters: Endpoints["GET /repos/{owner}/{repo}/pages/builds"]["parameters"]; - response: Endpoints["GET /repos/{owner}/{repo}/pages/builds"]["response"]; - }; - /** - * @see https://docs.github.com/rest/reference/projects#list-repository-projects - */ - "GET /repos/{owner}/{repo}/projects": { - parameters: Endpoints["GET /repos/{owner}/{repo}/projects"]["parameters"]; - response: Endpoints["GET /repos/{owner}/{repo}/projects"]["response"]; - }; - /** - * @see https://docs.github.com/rest/reference/pulls#list-pull-requests - */ - "GET /repos/{owner}/{repo}/pulls": { - parameters: Endpoints["GET /repos/{owner}/{repo}/pulls"]["parameters"]; - response: Endpoints["GET /repos/{owner}/{repo}/pulls"]["response"]; - }; - /** - * @see https://docs.github.com/rest/reference/pulls#list-review-comments-in-a-repository - */ - "GET /repos/{owner}/{repo}/pulls/comments": { - parameters: Endpoints["GET /repos/{owner}/{repo}/pulls/comments"]["parameters"]; - response: Endpoints["GET /repos/{owner}/{repo}/pulls/comments"]["response"]; - }; - /** - * @see https://docs.github.com/rest/reference/reactions#list-reactions-for-a-pull-request-review-comment - */ - "GET /repos/{owner}/{repo}/pulls/comments/{comment_id}/reactions": { - parameters: Endpoints["GET /repos/{owner}/{repo}/pulls/comments/{comment_id}/reactions"]["parameters"]; - response: Endpoints["GET /repos/{owner}/{repo}/pulls/comments/{comment_id}/reactions"]["response"]; - }; - /** - * @see https://docs.github.com/rest/reference/pulls#list-review-comments-on-a-pull-request - */ - "GET /repos/{owner}/{repo}/pulls/{pull_number}/comments": { - parameters: Endpoints["GET /repos/{owner}/{repo}/pulls/{pull_number}/comments"]["parameters"]; - response: Endpoints["GET /repos/{owner}/{repo}/pulls/{pull_number}/comments"]["response"]; - }; - /** - * @see https://docs.github.com/rest/reference/pulls#list-commits-on-a-pull-request - */ - "GET /repos/{owner}/{repo}/pulls/{pull_number}/commits": { - parameters: Endpoints["GET /repos/{owner}/{repo}/pulls/{pull_number}/commits"]["parameters"]; - response: Endpoints["GET /repos/{owner}/{repo}/pulls/{pull_number}/commits"]["response"]; - }; - /** - * @see https://docs.github.com/rest/reference/pulls#list-pull-requests-files - */ - "GET /repos/{owner}/{repo}/pulls/{pull_number}/files": { - parameters: Endpoints["GET /repos/{owner}/{repo}/pulls/{pull_number}/files"]["parameters"]; - response: Endpoints["GET /repos/{owner}/{repo}/pulls/{pull_number}/files"]["response"]; - }; - /** - * @see https://docs.github.com/rest/reference/pulls#list-requested-reviewers-for-a-pull-request - */ - "GET /repos/{owner}/{repo}/pulls/{pull_number}/requested_reviewers": { - parameters: Endpoints["GET /repos/{owner}/{repo}/pulls/{pull_number}/requested_reviewers"]["parameters"]; - response: Endpoints["GET /repos/{owner}/{repo}/pulls/{pull_number}/requested_reviewers"]["response"] & { - data: Endpoints["GET /repos/{owner}/{repo}/pulls/{pull_number}/requested_reviewers"]["response"]["data"]["users"]; - }; - }; - /** - * @see https://docs.github.com/rest/reference/pulls#list-reviews-for-a-pull-request - */ - "GET /repos/{owner}/{repo}/pulls/{pull_number}/reviews": { - parameters: Endpoints["GET /repos/{owner}/{repo}/pulls/{pull_number}/reviews"]["parameters"]; - response: Endpoints["GET /repos/{owner}/{repo}/pulls/{pull_number}/reviews"]["response"]; - }; - /** - * @see https://docs.github.com/rest/reference/pulls#list-comments-for-a-pull-request-review - */ - "GET /repos/{owner}/{repo}/pulls/{pull_number}/reviews/{review_id}/comments": { - parameters: Endpoints["GET /repos/{owner}/{repo}/pulls/{pull_number}/reviews/{review_id}/comments"]["parameters"]; - response: Endpoints["GET /repos/{owner}/{repo}/pulls/{pull_number}/reviews/{review_id}/comments"]["response"]; - }; - /** - * @see https://docs.github.com/rest/reference/repos#list-releases - */ - "GET /repos/{owner}/{repo}/releases": { - parameters: Endpoints["GET /repos/{owner}/{repo}/releases"]["parameters"]; - response: Endpoints["GET /repos/{owner}/{repo}/releases"]["response"]; - }; - /** - * @see https://docs.github.com/rest/reference/repos#list-release-assets - */ - "GET /repos/{owner}/{repo}/releases/{release_id}/assets": { - parameters: Endpoints["GET /repos/{owner}/{repo}/releases/{release_id}/assets"]["parameters"]; - response: Endpoints["GET /repos/{owner}/{repo}/releases/{release_id}/assets"]["response"]; - }; - /** - * @see https://docs.github.com/rest/reference/secret-scanning#list-secret-scanning-alerts-for-a-repository - */ - "GET /repos/{owner}/{repo}/secret-scanning/alerts": { - parameters: Endpoints["GET /repos/{owner}/{repo}/secret-scanning/alerts"]["parameters"]; - response: Endpoints["GET /repos/{owner}/{repo}/secret-scanning/alerts"]["response"]; - }; - /** - * @see https://docs.github.com/rest/reference/activity#list-stargazers - */ - "GET /repos/{owner}/{repo}/stargazers": { - parameters: Endpoints["GET /repos/{owner}/{repo}/stargazers"]["parameters"]; - response: Endpoints["GET /repos/{owner}/{repo}/stargazers"]["response"]; - }; - /** - * @see https://docs.github.com/rest/reference/activity#list-watchers - */ - "GET /repos/{owner}/{repo}/subscribers": { - parameters: Endpoints["GET /repos/{owner}/{repo}/subscribers"]["parameters"]; - response: Endpoints["GET /repos/{owner}/{repo}/subscribers"]["response"]; - }; - /** - * @see https://docs.github.com/rest/reference/repos#list-repository-tags - */ - "GET /repos/{owner}/{repo}/tags": { - parameters: Endpoints["GET /repos/{owner}/{repo}/tags"]["parameters"]; - response: Endpoints["GET /repos/{owner}/{repo}/tags"]["response"]; - }; - /** - * @see https://docs.github.com/rest/reference/repos#list-repository-teams - */ - "GET /repos/{owner}/{repo}/teams": { - parameters: Endpoints["GET /repos/{owner}/{repo}/teams"]["parameters"]; - response: Endpoints["GET /repos/{owner}/{repo}/teams"]["response"]; - }; - /** - * @see https://docs.github.com/rest/reference/repos#list-public-repositories - */ - "GET /repositories": { - parameters: Endpoints["GET /repositories"]["parameters"]; - response: Endpoints["GET /repositories"]["response"]; - }; - /** - * @see https://docs.github.com/rest/reference/actions#list-environment-secrets - */ - "GET /repositories/{repository_id}/environments/{environment_name}/secrets": { - parameters: Endpoints["GET /repositories/{repository_id}/environments/{environment_name}/secrets"]["parameters"]; - response: Endpoints["GET /repositories/{repository_id}/environments/{environment_name}/secrets"]["response"] & { - data: Endpoints["GET /repositories/{repository_id}/environments/{environment_name}/secrets"]["response"]["data"]["secrets"]; - }; - }; - /** - * @see https://docs.github.com/rest/reference/enterprise-admin#list-provisioned-scim-groups-for-an-enterprise - */ - "GET /scim/v2/enterprises/{enterprise}/Groups": { - parameters: Endpoints["GET /scim/v2/enterprises/{enterprise}/Groups"]["parameters"]; - response: Endpoints["GET /scim/v2/enterprises/{enterprise}/Groups"]["response"] & { - data: Endpoints["GET /scim/v2/enterprises/{enterprise}/Groups"]["response"]["data"]["Resources"]; - }; - }; - /** - * @see https://docs.github.com/rest/reference/enterprise-admin#list-scim-provisioned-identities-for-an-enterprise - */ - "GET /scim/v2/enterprises/{enterprise}/Users": { - parameters: Endpoints["GET /scim/v2/enterprises/{enterprise}/Users"]["parameters"]; - response: Endpoints["GET /scim/v2/enterprises/{enterprise}/Users"]["response"] & { - data: Endpoints["GET /scim/v2/enterprises/{enterprise}/Users"]["response"]["data"]["Resources"]; - }; - }; - /** - * @see https://docs.github.com/rest/reference/scim#list-scim-provisioned-identities - */ - "GET /scim/v2/organizations/{org}/Users": { - parameters: Endpoints["GET /scim/v2/organizations/{org}/Users"]["parameters"]; - response: Endpoints["GET /scim/v2/organizations/{org}/Users"]["response"] & { - data: Endpoints["GET /scim/v2/organizations/{org}/Users"]["response"]["data"]["Resources"]; - }; - }; - /** - * @see https://docs.github.com/rest/reference/search#search-code - */ - "GET /search/code": { - parameters: Endpoints["GET /search/code"]["parameters"]; - response: Endpoints["GET /search/code"]["response"] & { - data: Endpoints["GET /search/code"]["response"]["data"]["items"]; - }; - }; - /** - * @see https://docs.github.com/rest/reference/search#search-commits - */ - "GET /search/commits": { - parameters: Endpoints["GET /search/commits"]["parameters"]; - response: Endpoints["GET /search/commits"]["response"] & { - data: Endpoints["GET /search/commits"]["response"]["data"]["items"]; - }; - }; - /** - * @see https://docs.github.com/rest/reference/search#search-issues-and-pull-requests - */ - "GET /search/issues": { - parameters: Endpoints["GET /search/issues"]["parameters"]; - response: Endpoints["GET /search/issues"]["response"] & { - data: Endpoints["GET /search/issues"]["response"]["data"]["items"]; - }; - }; - /** - * @see https://docs.github.com/rest/reference/search#search-labels - */ - "GET /search/labels": { - parameters: Endpoints["GET /search/labels"]["parameters"]; - response: Endpoints["GET /search/labels"]["response"] & { - data: Endpoints["GET /search/labels"]["response"]["data"]["items"]; - }; - }; - /** - * @see https://docs.github.com/rest/reference/search#search-repositories - */ - "GET /search/repositories": { - parameters: Endpoints["GET /search/repositories"]["parameters"]; - response: Endpoints["GET /search/repositories"]["response"] & { - data: Endpoints["GET /search/repositories"]["response"]["data"]["items"]; - }; - }; - /** - * @see https://docs.github.com/rest/reference/search#search-topics - */ - "GET /search/topics": { - parameters: Endpoints["GET /search/topics"]["parameters"]; - response: Endpoints["GET /search/topics"]["response"] & { - data: Endpoints["GET /search/topics"]["response"]["data"]["items"]; - }; - }; - /** - * @see https://docs.github.com/rest/reference/search#search-users - */ - "GET /search/users": { - parameters: Endpoints["GET /search/users"]["parameters"]; - response: Endpoints["GET /search/users"]["response"] & { - data: Endpoints["GET /search/users"]["response"]["data"]["items"]; - }; - }; - /** - * @see https://docs.github.com/rest/reference/teams#list-discussions-legacy - */ - "GET /teams/{team_id}/discussions": { - parameters: Endpoints["GET /teams/{team_id}/discussions"]["parameters"]; - response: Endpoints["GET /teams/{team_id}/discussions"]["response"]; - }; - /** - * @see https://docs.github.com/rest/reference/teams#list-discussion-comments-legacy - */ - "GET /teams/{team_id}/discussions/{discussion_number}/comments": { - parameters: Endpoints["GET /teams/{team_id}/discussions/{discussion_number}/comments"]["parameters"]; - response: Endpoints["GET /teams/{team_id}/discussions/{discussion_number}/comments"]["response"]; - }; - /** - * @see https://docs.github.com/rest/reference/reactions/#list-reactions-for-a-team-discussion-comment-legacy - */ - "GET /teams/{team_id}/discussions/{discussion_number}/comments/{comment_number}/reactions": { - parameters: Endpoints["GET /teams/{team_id}/discussions/{discussion_number}/comments/{comment_number}/reactions"]["parameters"]; - response: Endpoints["GET /teams/{team_id}/discussions/{discussion_number}/comments/{comment_number}/reactions"]["response"]; - }; - /** - * @see https://docs.github.com/rest/reference/reactions/#list-reactions-for-a-team-discussion-legacy - */ - "GET /teams/{team_id}/discussions/{discussion_number}/reactions": { - parameters: Endpoints["GET /teams/{team_id}/discussions/{discussion_number}/reactions"]["parameters"]; - response: Endpoints["GET /teams/{team_id}/discussions/{discussion_number}/reactions"]["response"]; - }; - /** - * @see https://docs.github.com/rest/reference/teams#list-pending-team-invitations-legacy - */ - "GET /teams/{team_id}/invitations": { - parameters: Endpoints["GET /teams/{team_id}/invitations"]["parameters"]; - response: Endpoints["GET /teams/{team_id}/invitations"]["response"]; - }; - /** - * @see https://docs.github.com/rest/reference/teams#list-team-members-legacy - */ - "GET /teams/{team_id}/members": { - parameters: Endpoints["GET /teams/{team_id}/members"]["parameters"]; - response: Endpoints["GET /teams/{team_id}/members"]["response"]; - }; - /** - * @see https://docs.github.com/rest/reference/teams/#list-team-projects-legacy - */ - "GET /teams/{team_id}/projects": { - parameters: Endpoints["GET /teams/{team_id}/projects"]["parameters"]; - response: Endpoints["GET /teams/{team_id}/projects"]["response"]; - }; - /** - * @see https://docs.github.com/rest/reference/teams/#list-team-repositories-legacy - */ - "GET /teams/{team_id}/repos": { - parameters: Endpoints["GET /teams/{team_id}/repos"]["parameters"]; - response: Endpoints["GET /teams/{team_id}/repos"]["response"]; - }; - /** - * @see https://docs.github.com/rest/reference/teams#list-idp-groups-for-a-team-legacy - */ - "GET /teams/{team_id}/team-sync/group-mappings": { - parameters: Endpoints["GET /teams/{team_id}/team-sync/group-mappings"]["parameters"]; - response: Endpoints["GET /teams/{team_id}/team-sync/group-mappings"]["response"] & { - data: Endpoints["GET /teams/{team_id}/team-sync/group-mappings"]["response"]["data"]["groups"]; - }; - }; - /** - * @see https://docs.github.com/rest/reference/teams/#list-child-teams-legacy - */ - "GET /teams/{team_id}/teams": { - parameters: Endpoints["GET /teams/{team_id}/teams"]["parameters"]; - response: Endpoints["GET /teams/{team_id}/teams"]["response"]; - }; - /** - * @see https://docs.github.com/rest/reference/users#list-users-blocked-by-the-authenticated-user - */ - "GET /user/blocks": { - parameters: Endpoints["GET /user/blocks"]["parameters"]; - response: Endpoints["GET /user/blocks"]["response"]; - }; - /** - * @see https://docs.github.com/rest/reference/users#list-email-addresses-for-the-authenticated-user - */ - "GET /user/emails": { - parameters: Endpoints["GET /user/emails"]["parameters"]; - response: Endpoints["GET /user/emails"]["response"]; - }; - /** - * @see https://docs.github.com/rest/reference/users#list-followers-of-the-authenticated-user - */ - "GET /user/followers": { - parameters: Endpoints["GET /user/followers"]["parameters"]; - response: Endpoints["GET /user/followers"]["response"]; - }; - /** - * @see https://docs.github.com/rest/reference/users#list-the-people-the-authenticated-user-follows - */ - "GET /user/following": { - parameters: Endpoints["GET /user/following"]["parameters"]; - response: Endpoints["GET /user/following"]["response"]; - }; - /** - * @see https://docs.github.com/rest/reference/users#list-gpg-keys-for-the-authenticated-user - */ - "GET /user/gpg_keys": { - parameters: Endpoints["GET /user/gpg_keys"]["parameters"]; - response: Endpoints["GET /user/gpg_keys"]["response"]; - }; - /** - * @see https://docs.github.com/rest/reference/apps#list-app-installations-accessible-to-the-user-access-token - */ - "GET /user/installations": { - parameters: Endpoints["GET /user/installations"]["parameters"]; - response: Endpoints["GET /user/installations"]["response"] & { - data: Endpoints["GET /user/installations"]["response"]["data"]["installations"]; - }; - }; - /** - * @see https://docs.github.com/rest/reference/apps#list-repositories-accessible-to-the-user-access-token - */ - "GET /user/installations/{installation_id}/repositories": { - parameters: Endpoints["GET /user/installations/{installation_id}/repositories"]["parameters"]; - response: Endpoints["GET /user/installations/{installation_id}/repositories"]["response"] & { - data: Endpoints["GET /user/installations/{installation_id}/repositories"]["response"]["data"]["repositories"]; - }; - }; - /** - * @see https://docs.github.com/rest/reference/issues#list-user-account-issues-assigned-to-the-authenticated-user - */ - "GET /user/issues": { - parameters: Endpoints["GET /user/issues"]["parameters"]; - response: Endpoints["GET /user/issues"]["response"]; - }; - /** - * @see https://docs.github.com/rest/reference/users#list-public-ssh-keys-for-the-authenticated-user - */ - "GET /user/keys": { - parameters: Endpoints["GET /user/keys"]["parameters"]; - response: Endpoints["GET /user/keys"]["response"]; - }; - /** - * @see https://docs.github.com/rest/reference/apps#list-subscriptions-for-the-authenticated-user - */ - "GET /user/marketplace_purchases": { - parameters: Endpoints["GET /user/marketplace_purchases"]["parameters"]; - response: Endpoints["GET /user/marketplace_purchases"]["response"]; - }; - /** - * @see https://docs.github.com/rest/reference/apps#list-subscriptions-for-the-authenticated-user-stubbed - */ - "GET /user/marketplace_purchases/stubbed": { - parameters: Endpoints["GET /user/marketplace_purchases/stubbed"]["parameters"]; - response: Endpoints["GET /user/marketplace_purchases/stubbed"]["response"]; - }; - /** - * @see https://docs.github.com/rest/reference/orgs#list-organization-memberships-for-the-authenticated-user - */ - "GET /user/memberships/orgs": { - parameters: Endpoints["GET /user/memberships/orgs"]["parameters"]; - response: Endpoints["GET /user/memberships/orgs"]["response"]; - }; - /** - * @see https://docs.github.com/rest/reference/migrations#list-user-migrations - */ - "GET /user/migrations": { - parameters: Endpoints["GET /user/migrations"]["parameters"]; - response: Endpoints["GET /user/migrations"]["response"]; - }; - /** - * @see https://docs.github.com/rest/reference/migrations#list-repositories-for-a-user-migration - */ - "GET /user/migrations/{migration_id}/repositories": { - parameters: Endpoints["GET /user/migrations/{migration_id}/repositories"]["parameters"]; - response: Endpoints["GET /user/migrations/{migration_id}/repositories"]["response"]; - }; - /** - * @see https://docs.github.com/rest/reference/orgs#list-organizations-for-the-authenticated-user - */ - "GET /user/orgs": { - parameters: Endpoints["GET /user/orgs"]["parameters"]; - response: Endpoints["GET /user/orgs"]["response"]; - }; - /** - * @see https://docs.github.com/rest/reference/users#list-public-email-addresses-for-the-authenticated-user - */ - "GET /user/public_emails": { - parameters: Endpoints["GET /user/public_emails"]["parameters"]; - response: Endpoints["GET /user/public_emails"]["response"]; - }; - /** - * @see https://docs.github.com/rest/reference/repos#list-repositories-for-the-authenticated-user - */ - "GET /user/repos": { - parameters: Endpoints["GET /user/repos"]["parameters"]; - response: Endpoints["GET /user/repos"]["response"]; - }; - /** - * @see https://docs.github.com/rest/reference/repos#list-repository-invitations-for-the-authenticated-user - */ - "GET /user/repository_invitations": { - parameters: Endpoints["GET /user/repository_invitations"]["parameters"]; - response: Endpoints["GET /user/repository_invitations"]["response"]; - }; - /** - * @see https://docs.github.com/rest/reference/activity#list-repositories-starred-by-the-authenticated-user - */ - "GET /user/starred": { - parameters: Endpoints["GET /user/starred"]["parameters"]; - response: Endpoints["GET /user/starred"]["response"]; - }; - /** - * @see https://docs.github.com/rest/reference/activity#list-repositories-watched-by-the-authenticated-user - */ - "GET /user/subscriptions": { - parameters: Endpoints["GET /user/subscriptions"]["parameters"]; - response: Endpoints["GET /user/subscriptions"]["response"]; - }; - /** - * @see https://docs.github.com/rest/reference/teams#list-teams-for-the-authenticated-user - */ - "GET /user/teams": { - parameters: Endpoints["GET /user/teams"]["parameters"]; - response: Endpoints["GET /user/teams"]["response"]; - }; - /** - * @see https://docs.github.com/rest/reference/users#list-users - */ - "GET /users": { - parameters: Endpoints["GET /users"]["parameters"]; - response: Endpoints["GET /users"]["response"]; - }; - /** - * @see https://docs.github.com/rest/reference/activity#list-events-for-the-authenticated-user - */ - "GET /users/{username}/events": { - parameters: Endpoints["GET /users/{username}/events"]["parameters"]; - response: Endpoints["GET /users/{username}/events"]["response"]; - }; - /** - * @see https://docs.github.com/rest/reference/activity#list-organization-events-for-the-authenticated-user - */ - "GET /users/{username}/events/orgs/{org}": { - parameters: Endpoints["GET /users/{username}/events/orgs/{org}"]["parameters"]; - response: Endpoints["GET /users/{username}/events/orgs/{org}"]["response"]; - }; - /** - * @see https://docs.github.com/rest/reference/activity#list-public-events-for-a-user - */ - "GET /users/{username}/events/public": { - parameters: Endpoints["GET /users/{username}/events/public"]["parameters"]; - response: Endpoints["GET /users/{username}/events/public"]["response"]; - }; - /** - * @see https://docs.github.com/rest/reference/users#list-followers-of-a-user - */ - "GET /users/{username}/followers": { - parameters: Endpoints["GET /users/{username}/followers"]["parameters"]; - response: Endpoints["GET /users/{username}/followers"]["response"]; - }; - /** - * @see https://docs.github.com/rest/reference/users#list-the-people-a-user-follows - */ - "GET /users/{username}/following": { - parameters: Endpoints["GET /users/{username}/following"]["parameters"]; - response: Endpoints["GET /users/{username}/following"]["response"]; - }; - /** - * @see https://docs.github.com/rest/reference/gists#list-gists-for-a-user - */ - "GET /users/{username}/gists": { - parameters: Endpoints["GET /users/{username}/gists"]["parameters"]; - response: Endpoints["GET /users/{username}/gists"]["response"]; - }; - /** - * @see https://docs.github.com/rest/reference/users#list-gpg-keys-for-a-user - */ - "GET /users/{username}/gpg_keys": { - parameters: Endpoints["GET /users/{username}/gpg_keys"]["parameters"]; - response: Endpoints["GET /users/{username}/gpg_keys"]["response"]; - }; - /** - * @see https://docs.github.com/rest/reference/users#list-public-keys-for-a-user - */ - "GET /users/{username}/keys": { - parameters: Endpoints["GET /users/{username}/keys"]["parameters"]; - response: Endpoints["GET /users/{username}/keys"]["response"]; - }; - /** - * @see https://docs.github.com/rest/reference/orgs#list-organizations-for-a-user - */ - "GET /users/{username}/orgs": { - parameters: Endpoints["GET /users/{username}/orgs"]["parameters"]; - response: Endpoints["GET /users/{username}/orgs"]["response"]; - }; - /** - * @see https://docs.github.com/rest/reference/projects#list-user-projects - */ - "GET /users/{username}/projects": { - parameters: Endpoints["GET /users/{username}/projects"]["parameters"]; - response: Endpoints["GET /users/{username}/projects"]["response"]; - }; - /** - * @see https://docs.github.com/rest/reference/activity#list-events-received-by-the-authenticated-user - */ - "GET /users/{username}/received_events": { - parameters: Endpoints["GET /users/{username}/received_events"]["parameters"]; - response: Endpoints["GET /users/{username}/received_events"]["response"]; - }; - /** - * @see https://docs.github.com/rest/reference/activity#list-public-events-received-by-a-user - */ - "GET /users/{username}/received_events/public": { - parameters: Endpoints["GET /users/{username}/received_events/public"]["parameters"]; - response: Endpoints["GET /users/{username}/received_events/public"]["response"]; - }; - /** - * @see https://docs.github.com/rest/reference/repos#list-repositories-for-a-user - */ - "GET /users/{username}/repos": { - parameters: Endpoints["GET /users/{username}/repos"]["parameters"]; - response: Endpoints["GET /users/{username}/repos"]["response"]; - }; - /** - * @see https://docs.github.com/rest/reference/activity#list-repositories-starred-by-a-user - */ - "GET /users/{username}/starred": { - parameters: Endpoints["GET /users/{username}/starred"]["parameters"]; - response: Endpoints["GET /users/{username}/starred"]["response"]; - }; - /** - * @see https://docs.github.com/rest/reference/activity#list-repositories-watched-by-a-user - */ - "GET /users/{username}/subscriptions": { - parameters: Endpoints["GET /users/{username}/subscriptions"]["parameters"]; - response: Endpoints["GET /users/{username}/subscriptions"]["response"]; - }; -} -export declare const paginatingEndpoints: (keyof PaginatingEndpoints)[]; diff --git a/node_modules/@octokit/plugin-paginate-rest/dist-types/index.d.ts b/node_modules/@octokit/plugin-paginate-rest/dist-types/index.d.ts deleted file mode 100644 index 4d84aae..0000000 --- a/node_modules/@octokit/plugin-paginate-rest/dist-types/index.d.ts +++ /dev/null @@ -1,16 +0,0 @@ -import { Octokit } from "@octokit/core"; -import { PaginateInterface } from "./types"; -export { PaginateInterface } from "./types"; -export { PaginatingEndpoints } from "./types"; -export { composePaginateRest } from "./compose-paginate"; -export { isPaginatingEndpoint, paginatingEndpoints, } from "./paginating-endpoints"; -/** - * @param octokit Octokit instance - * @param options Options passed to Octokit constructor - */ -export declare function paginateRest(octokit: Octokit): { - paginate: PaginateInterface; -}; -export declare namespace paginateRest { - var VERSION: string; -} diff --git a/node_modules/@octokit/plugin-paginate-rest/dist-types/iterator.d.ts b/node_modules/@octokit/plugin-paginate-rest/dist-types/iterator.d.ts deleted file mode 100644 index 931d530..0000000 --- a/node_modules/@octokit/plugin-paginate-rest/dist-types/iterator.d.ts +++ /dev/null @@ -1,20 +0,0 @@ -import { Octokit } from "@octokit/core"; -import { RequestInterface, RequestParameters, Route } from "./types"; -export declare function iterator(octokit: Octokit, route: Route | RequestInterface, parameters?: RequestParameters): { - [Symbol.asyncIterator]: () => { - next(): Promise<{ - done: boolean; - value?: undefined; - } | { - value: import("@octokit/types/dist-types/OctokitResponse").OctokitResponse; - done?: undefined; - } | { - value: { - status: number; - headers: {}; - data: never[]; - }; - done?: undefined; - }>; - }; -}; diff --git a/node_modules/@octokit/plugin-paginate-rest/dist-types/normalize-paginated-list-response.d.ts b/node_modules/@octokit/plugin-paginate-rest/dist-types/normalize-paginated-list-response.d.ts deleted file mode 100644 index f948a78..0000000 --- a/node_modules/@octokit/plugin-paginate-rest/dist-types/normalize-paginated-list-response.d.ts +++ /dev/null @@ -1,18 +0,0 @@ -/** - * Some “list” response that can be paginated have a different response structure - * - * They have a `total_count` key in the response (search also has `incomplete_results`, - * /installation/repositories also has `repository_selection`), as well as a key with - * the list of the items which name varies from endpoint to endpoint. - * - * Octokit normalizes these responses so that paginated results are always returned following - * the same structure. One challenge is that if the list response has only one page, no Link - * header is provided, so this header alone is not sufficient to check wether a response is - * paginated or not. - * - * We check if a "total_count" key is present in the response data, but also make sure that - * a "url" property is not, as the "Get the combined status for a specific ref" endpoint would - * otherwise match: https://developer.github.com/v3/repos/statuses/#get-the-combined-status-for-a-specific-ref - */ -import { OctokitResponse } from "./types"; -export declare function normalizePaginatedListResponse(response: OctokitResponse): OctokitResponse; diff --git a/node_modules/@octokit/plugin-paginate-rest/dist-types/paginate.d.ts b/node_modules/@octokit/plugin-paginate-rest/dist-types/paginate.d.ts deleted file mode 100644 index 774c604..0000000 --- a/node_modules/@octokit/plugin-paginate-rest/dist-types/paginate.d.ts +++ /dev/null @@ -1,3 +0,0 @@ -import { Octokit } from "@octokit/core"; -import { MapFunction, PaginationResults, RequestParameters, Route, RequestInterface } from "./types"; -export declare function paginate(octokit: Octokit, route: Route | RequestInterface, parameters?: RequestParameters, mapFn?: MapFunction): Promise>; diff --git a/node_modules/@octokit/plugin-paginate-rest/dist-types/paginating-endpoints.d.ts b/node_modules/@octokit/plugin-paginate-rest/dist-types/paginating-endpoints.d.ts deleted file mode 100644 index f6a4d7b..0000000 --- a/node_modules/@octokit/plugin-paginate-rest/dist-types/paginating-endpoints.d.ts +++ /dev/null @@ -1,3 +0,0 @@ -import { PaginatingEndpoints } from "./generated/paginating-endpoints"; -export { paginatingEndpoints } from "./generated/paginating-endpoints"; -export declare function isPaginatingEndpoint(arg: unknown): arg is keyof PaginatingEndpoints; diff --git a/node_modules/@octokit/plugin-paginate-rest/dist-types/types.d.ts b/node_modules/@octokit/plugin-paginate-rest/dist-types/types.d.ts deleted file mode 100644 index 0634907..0000000 --- a/node_modules/@octokit/plugin-paginate-rest/dist-types/types.d.ts +++ /dev/null @@ -1,242 +0,0 @@ -import { Octokit } from "@octokit/core"; -import * as OctokitTypes from "@octokit/types"; -export { EndpointOptions, RequestInterface, OctokitResponse, RequestParameters, Route, } from "@octokit/types"; -export { PaginatingEndpoints } from "./generated/paginating-endpoints"; -import { PaginatingEndpoints } from "./generated/paginating-endpoints"; -declare type KnownKeys = Extract<{ - [K in keyof T]: string extends K ? never : number extends K ? never : K; -} extends { - [_ in keyof T]: infer U; -} ? U : never, keyof T>; -declare type KeysMatching = { - [K in keyof T]: T[K] extends V ? K : never; -}[keyof T]; -declare type KnownKeysMatching = KeysMatching>, V>; -declare type GetResultsType = T extends { - data: any[]; -} ? T["data"] : T extends { - data: object; -} ? T["data"][KnownKeysMatching] : never; -declare type NormalizeResponse = T & { - data: GetResultsType; -}; -declare type DataType = "data" extends keyof T ? T["data"] : unknown; -export interface MapFunction>, M = unknown[]> { - (response: T, done: () => void): M; -} -export declare type PaginationResults = T[]; -export interface PaginateInterface { - /** - * Paginate a request using endpoint options and map each response to a custom array - * - * @param {object} options Must set `method` and `url`. Plus URL, query or body parameters, as well as `headers`, `mediaType.{format|previews}`, `request`, or `baseUrl`. - * @param {function} mapFn Optional method to map each response to a custom array - */ - (options: OctokitTypes.EndpointOptions, mapFn: MapFunction>, M[]>): Promise>; - /** - * Paginate a request using endpoint options - * - * @param {object} options Must set `method` and `url`. Plus URL, query or body parameters, as well as `headers`, `mediaType.{format|previews}`, `request`, or `baseUrl`. - */ - (options: OctokitTypes.EndpointOptions): Promise>; - /** - * Paginate a request using a known endpoint route string and map each response to a custom array - * - * @param {string} route Request method + URL. Example: `'GET /orgs/{org}'` - * @param {function} mapFn Optional method to map each response to a custom array - */ - (route: R, mapFn: MapFunction): Promise; - /** - * Paginate a request using a known endpoint route string and parameters, and map each response to a custom array - * - * @param {string} route Request method + URL. Example: `'GET /orgs/{org}'` - * @param {object} parameters URL, query or body parameters, as well as `headers`, `mediaType.{format|previews}`, `request`, or `baseUrl`. - * @param {function} mapFn Optional method to map each response to a custom array - */ - (route: R, parameters: PaginatingEndpoints[R]["parameters"], mapFn: MapFunction): Promise; - /** - * Paginate a request using an known endpoint route string - * - * @param {string} route Request method + URL. Example: `'GET /orgs/{org}'` - * @param {object} parameters? URL, query or body parameters, as well as `headers`, `mediaType.{format|previews}`, `request`, or `baseUrl`. - */ - (route: R, parameters?: PaginatingEndpoints[R]["parameters"]): Promise>; - /** - * Paginate a request using an unknown endpoint route string - * - * @param {string} route Request method + URL. Example: `'GET /orgs/{org}'` - * @param {object} parameters? URL, query or body parameters, as well as `headers`, `mediaType.{format|previews}`, `request`, or `baseUrl`. - */ - (route: R, parameters?: R extends keyof PaginatingEndpoints ? PaginatingEndpoints[R]["parameters"] : OctokitTypes.RequestParameters): Promise; - /** - * Paginate a request using an endpoint method and a map function - * - * @param {string} request Request method (`octokit.request` or `@octokit/request`) - * @param {function} mapFn? Optional method to map each response to a custom array - */ - (request: R, mapFn: MapFunction>, M>): Promise; - /** - * Paginate a request using an endpoint method, parameters, and a map function - * - * @param {string} request Request method (`octokit.request` or `@octokit/request`) - * @param {object} parameters URL, query or body parameters, as well as `headers`, `mediaType.{format|previews}`, `request`, or `baseUrl`. - * @param {function} mapFn? Optional method to map each response to a custom array - */ - (request: R, parameters: Parameters[0], mapFn: MapFunction>, M>): Promise; - /** - * Paginate a request using an endpoint method and parameters - * - * @param {string} request Request method (`octokit.request` or `@octokit/request`) - * @param {object} parameters? URL, query or body parameters, as well as `headers`, `mediaType.{format|previews}`, `request`, or `baseUrl`. - */ - (request: R, parameters?: Parameters[0]): Promise>["data"]>; - iterator: { - /** - * Get an async iterator to paginate a request using endpoint options - * - * @see {link https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Statements/for-await...of} for await...of - * @param {object} options Must set `method` and `url`. Plus URL, query or body parameters, as well as `headers`, `mediaType.{format|previews}`, `request`, or `baseUrl`. - */ - (options: OctokitTypes.EndpointOptions): AsyncIterableIterator>>; - /** - * Get an async iterator to paginate a request using a known endpoint route string and optional parameters - * - * @see {link https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Statements/for-await...of} for await...of - * @param {string} route Request method + URL. Example: `'GET /orgs/{org}'` - * @param {object} [parameters] URL, query or body parameters, as well as `headers`, `mediaType.{format|previews}`, `request`, or `baseUrl`. - */ - (route: R, parameters?: PaginatingEndpoints[R]["parameters"]): AsyncIterableIterator>>; - /** - * Get an async iterator to paginate a request using an unknown endpoint route string and optional parameters - * - * @see {link https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Statements/for-await...of} for await...of - * @param {string} route Request method + URL. Example: `'GET /orgs/{org}'` - * @param {object} [parameters] URL, query or body parameters, as well as `headers`, `mediaType.{format|previews}`, `request`, or `baseUrl`. - */ - (route: R, parameters?: R extends keyof PaginatingEndpoints ? PaginatingEndpoints[R]["parameters"] : OctokitTypes.RequestParameters): AsyncIterableIterator>>; - /** - * Get an async iterator to paginate a request using a request method and optional parameters - * - * @see {link https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Statements/for-await...of} for await...of - * @param {string} request `@octokit/request` or `octokit.request` method - * @param {object} [parameters] URL, query or body parameters, as well as `headers`, `mediaType.{format|previews}`, `request`, or `baseUrl`. - */ - (request: R, parameters?: Parameters[0]): AsyncIterableIterator>>; - }; -} -export interface ComposePaginateInterface { - /** - * Paginate a request using endpoint options and map each response to a custom array - * - * @param {object} octokit Octokit instance - * @param {object} options Must set `method` and `url`. Plus URL, query or body parameters, as well as `headers`, `mediaType.{format|previews}`, `request`, or `baseUrl`. - * @param {function} mapFn Optional method to map each response to a custom array - */ - (octokit: Octokit, options: OctokitTypes.EndpointOptions, mapFn: MapFunction>, M[]>): Promise>; - /** - * Paginate a request using endpoint options - * - * @param {object} octokit Octokit instance - * @param {object} options Must set `method` and `url`. Plus URL, query or body parameters, as well as `headers`, `mediaType.{format|previews}`, `request`, or `baseUrl`. - */ - (octokit: Octokit, options: OctokitTypes.EndpointOptions): Promise>; - /** - * Paginate a request using a known endpoint route string and map each response to a custom array - * - * @param {object} octokit Octokit instance - * @param {string} route Request method + URL. Example: `'GET /orgs/{org}'` - * @param {function} mapFn Optional method to map each response to a custom array - */ - (octokit: Octokit, route: R, mapFn: MapFunction): Promise; - /** - * Paginate a request using a known endpoint route string and parameters, and map each response to a custom array - * - * @param {object} octokit Octokit instance - * @param {string} route Request method + URL. Example: `'GET /orgs/{org}'` - * @param {object} parameters URL, query or body parameters, as well as `headers`, `mediaType.{format|previews}`, `request`, or `baseUrl`. - * @param {function} mapFn Optional method to map each response to a custom array - */ - (octokit: Octokit, route: R, parameters: PaginatingEndpoints[R]["parameters"], mapFn: MapFunction): Promise; - /** - * Paginate a request using an known endpoint route string - * - * @param {object} octokit Octokit instance - * @param {string} route Request method + URL. Example: `'GET /orgs/{org}'` - * @param {object} parameters? URL, query or body parameters, as well as `headers`, `mediaType.{format|previews}`, `request`, or `baseUrl`. - */ - (octokit: Octokit, route: R, parameters?: PaginatingEndpoints[R]["parameters"]): Promise>; - /** - * Paginate a request using an unknown endpoint route string - * - * @param {object} octokit Octokit instance - * @param {string} route Request method + URL. Example: `'GET /orgs/{org}'` - * @param {object} parameters? URL, query or body parameters, as well as `headers`, `mediaType.{format|previews}`, `request`, or `baseUrl`. - */ - (octokit: Octokit, route: R, parameters?: R extends keyof PaginatingEndpoints ? PaginatingEndpoints[R]["parameters"] : OctokitTypes.RequestParameters): Promise; - /** - * Paginate a request using an endpoint method and a map function - * - * @param {object} octokit Octokit instance - * @param {string} request Request method (`octokit.request` or `@octokit/request`) - * @param {function} mapFn? Optional method to map each response to a custom array - */ - (octokit: Octokit, request: R, mapFn: MapFunction>, M>): Promise; - /** - * Paginate a request using an endpoint method, parameters, and a map function - * - * @param {object} octokit Octokit instance - * @param {string} request Request method (`octokit.request` or `@octokit/request`) - * @param {object} parameters URL, query or body parameters, as well as `headers`, `mediaType.{format|previews}`, `request`, or `baseUrl`. - * @param {function} mapFn? Optional method to map each response to a custom array - */ - (octokit: Octokit, request: R, parameters: Parameters[0], mapFn: MapFunction>, M>): Promise; - /** - * Paginate a request using an endpoint method and parameters - * - * @param {object} octokit Octokit instance - * @param {string} request Request method (`octokit.request` or `@octokit/request`) - * @param {object} parameters? URL, query or body parameters, as well as `headers`, `mediaType.{format|previews}`, `request`, or `baseUrl`. - */ - (octokit: Octokit, request: R, parameters?: Parameters[0]): Promise>["data"]>; - iterator: { - /** - * Get an async iterator to paginate a request using endpoint options - * - * @see {link https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Statements/for-await...of} for await...of - * - * @param {object} octokit Octokit instance - * @param {object} options Must set `method` and `url`. Plus URL, query or body parameters, as well as `headers`, `mediaType.{format|previews}`, `request`, or `baseUrl`. - */ - (octokit: Octokit, options: OctokitTypes.EndpointOptions): AsyncIterableIterator>>; - /** - * Get an async iterator to paginate a request using a known endpoint route string and optional parameters - * - * @see {link https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Statements/for-await...of} for await...of - * - * @param {object} octokit Octokit instance - * @param {string} route Request method + URL. Example: `'GET /orgs/{org}'` - * @param {object} [parameters] URL, query or body parameters, as well as `headers`, `mediaType.{format|previews}`, `request`, or `baseUrl`. - */ - (octokit: Octokit, route: R, parameters?: PaginatingEndpoints[R]["parameters"]): AsyncIterableIterator>>; - /** - * Get an async iterator to paginate a request using an unknown endpoint route string and optional parameters - * - * @see {link https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Statements/for-await...of} for await...of - * - * @param {object} octokit Octokit instance - * @param {string} route Request method + URL. Example: `'GET /orgs/{org}'` - * @param {object} [parameters] URL, query or body parameters, as well as `headers`, `mediaType.{format|previews}`, `request`, or `baseUrl`. - */ - (octokit: Octokit, route: R, parameters?: R extends keyof PaginatingEndpoints ? PaginatingEndpoints[R]["parameters"] : OctokitTypes.RequestParameters): AsyncIterableIterator>>; - /** - * Get an async iterator to paginate a request using a request method and optional parameters - * - * @see {link https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Statements/for-await...of} for await...of - * - * @param {object} octokit Octokit instance - * @param {string} request `@octokit/request` or `octokit.request` method - * @param {object} [parameters] URL, query or body parameters, as well as `headers`, `mediaType.{format|previews}`, `request`, or `baseUrl`. - */ - (octokit: Octokit, request: R, parameters?: Parameters[0]): AsyncIterableIterator>>; - }; -} diff --git a/node_modules/@octokit/plugin-paginate-rest/dist-types/version.d.ts b/node_modules/@octokit/plugin-paginate-rest/dist-types/version.d.ts deleted file mode 100644 index 28bb375..0000000 --- a/node_modules/@octokit/plugin-paginate-rest/dist-types/version.d.ts +++ /dev/null @@ -1 +0,0 @@ -export declare const VERSION = "2.14.0"; diff --git a/node_modules/@octokit/plugin-paginate-rest/dist-web/index.js b/node_modules/@octokit/plugin-paginate-rest/dist-web/index.js deleted file mode 100644 index 311d42b..0000000 --- a/node_modules/@octokit/plugin-paginate-rest/dist-web/index.js +++ /dev/null @@ -1,336 +0,0 @@ -const VERSION = "2.14.0"; - -/** - * Some “list” response that can be paginated have a different response structure - * - * They have a `total_count` key in the response (search also has `incomplete_results`, - * /installation/repositories also has `repository_selection`), as well as a key with - * the list of the items which name varies from endpoint to endpoint. - * - * Octokit normalizes these responses so that paginated results are always returned following - * the same structure. One challenge is that if the list response has only one page, no Link - * header is provided, so this header alone is not sufficient to check wether a response is - * paginated or not. - * - * We check if a "total_count" key is present in the response data, but also make sure that - * a "url" property is not, as the "Get the combined status for a specific ref" endpoint would - * otherwise match: https://developer.github.com/v3/repos/statuses/#get-the-combined-status-for-a-specific-ref - */ -function normalizePaginatedListResponse(response) { - // endpoints can respond with 204 if repository is empty - if (!response.data) { - return { - ...response, - data: [], - }; - } - const responseNeedsNormalization = "total_count" in response.data && !("url" in response.data); - if (!responseNeedsNormalization) - return response; - // keep the additional properties intact as there is currently no other way - // to retrieve the same information. - const incompleteResults = response.data.incomplete_results; - const repositorySelection = response.data.repository_selection; - const totalCount = response.data.total_count; - delete response.data.incomplete_results; - delete response.data.repository_selection; - delete response.data.total_count; - const namespaceKey = Object.keys(response.data)[0]; - const data = response.data[namespaceKey]; - response.data = data; - if (typeof incompleteResults !== "undefined") { - response.data.incomplete_results = incompleteResults; - } - if (typeof repositorySelection !== "undefined") { - response.data.repository_selection = repositorySelection; - } - response.data.total_count = totalCount; - return response; -} - -function iterator(octokit, route, parameters) { - const options = typeof route === "function" - ? route.endpoint(parameters) - : octokit.request.endpoint(route, parameters); - const requestMethod = typeof route === "function" ? route : octokit.request; - const method = options.method; - const headers = options.headers; - let url = options.url; - return { - [Symbol.asyncIterator]: () => ({ - async next() { - if (!url) - return { done: true }; - try { - const response = await requestMethod({ method, url, headers }); - const normalizedResponse = normalizePaginatedListResponse(response); - // `response.headers.link` format: - // '; rel="next", ; rel="last"' - // sets `url` to undefined if "next" URL is not present or `link` header is not set - url = ((normalizedResponse.headers.link || "").match(/<([^>]+)>;\s*rel="next"/) || [])[1]; - return { value: normalizedResponse }; - } - catch (error) { - if (error.status !== 409) - throw error; - url = ""; - return { - value: { - status: 200, - headers: {}, - data: [], - }, - }; - } - }, - }), - }; -} - -function paginate(octokit, route, parameters, mapFn) { - if (typeof parameters === "function") { - mapFn = parameters; - parameters = undefined; - } - return gather(octokit, [], iterator(octokit, route, parameters)[Symbol.asyncIterator](), mapFn); -} -function gather(octokit, results, iterator, mapFn) { - return iterator.next().then((result) => { - if (result.done) { - return results; - } - let earlyExit = false; - function done() { - earlyExit = true; - } - results = results.concat(mapFn ? mapFn(result.value, done) : result.value.data); - if (earlyExit) { - return results; - } - return gather(octokit, results, iterator, mapFn); - }); -} - -const composePaginateRest = Object.assign(paginate, { - iterator, -}); - -const paginatingEndpoints = [ - "GET /app/hook/deliveries", - "GET /app/installations", - "GET /applications/grants", - "GET /authorizations", - "GET /enterprises/{enterprise}/actions/permissions/organizations", - "GET /enterprises/{enterprise}/actions/runner-groups", - "GET /enterprises/{enterprise}/actions/runner-groups/{runner_group_id}/organizations", - "GET /enterprises/{enterprise}/actions/runner-groups/{runner_group_id}/runners", - "GET /enterprises/{enterprise}/actions/runners", - "GET /enterprises/{enterprise}/actions/runners/downloads", - "GET /events", - "GET /gists", - "GET /gists/public", - "GET /gists/starred", - "GET /gists/{gist_id}/comments", - "GET /gists/{gist_id}/commits", - "GET /gists/{gist_id}/forks", - "GET /installation/repositories", - "GET /issues", - "GET /marketplace_listing/plans", - "GET /marketplace_listing/plans/{plan_id}/accounts", - "GET /marketplace_listing/stubbed/plans", - "GET /marketplace_listing/stubbed/plans/{plan_id}/accounts", - "GET /networks/{owner}/{repo}/events", - "GET /notifications", - "GET /organizations", - "GET /orgs/{org}/actions/permissions/repositories", - "GET /orgs/{org}/actions/runner-groups", - "GET /orgs/{org}/actions/runner-groups/{runner_group_id}/repositories", - "GET /orgs/{org}/actions/runner-groups/{runner_group_id}/runners", - "GET /orgs/{org}/actions/runners", - "GET /orgs/{org}/actions/runners/downloads", - "GET /orgs/{org}/actions/secrets", - "GET /orgs/{org}/actions/secrets/{secret_name}/repositories", - "GET /orgs/{org}/blocks", - "GET /orgs/{org}/credential-authorizations", - "GET /orgs/{org}/events", - "GET /orgs/{org}/failed_invitations", - "GET /orgs/{org}/hooks", - "GET /orgs/{org}/hooks/{hook_id}/deliveries", - "GET /orgs/{org}/installations", - "GET /orgs/{org}/invitations", - "GET /orgs/{org}/invitations/{invitation_id}/teams", - "GET /orgs/{org}/issues", - "GET /orgs/{org}/members", - "GET /orgs/{org}/migrations", - "GET /orgs/{org}/migrations/{migration_id}/repositories", - "GET /orgs/{org}/outside_collaborators", - "GET /orgs/{org}/projects", - "GET /orgs/{org}/public_members", - "GET /orgs/{org}/repos", - "GET /orgs/{org}/team-sync/groups", - "GET /orgs/{org}/teams", - "GET /orgs/{org}/teams/{team_slug}/discussions", - "GET /orgs/{org}/teams/{team_slug}/discussions/{discussion_number}/comments", - "GET /orgs/{org}/teams/{team_slug}/discussions/{discussion_number}/comments/{comment_number}/reactions", - "GET /orgs/{org}/teams/{team_slug}/discussions/{discussion_number}/reactions", - "GET /orgs/{org}/teams/{team_slug}/invitations", - "GET /orgs/{org}/teams/{team_slug}/members", - "GET /orgs/{org}/teams/{team_slug}/projects", - "GET /orgs/{org}/teams/{team_slug}/repos", - "GET /orgs/{org}/teams/{team_slug}/team-sync/group-mappings", - "GET /orgs/{org}/teams/{team_slug}/teams", - "GET /projects/columns/{column_id}/cards", - "GET /projects/{project_id}/collaborators", - "GET /projects/{project_id}/columns", - "GET /repos/{owner}/{repo}/actions/artifacts", - "GET /repos/{owner}/{repo}/actions/runners", - "GET /repos/{owner}/{repo}/actions/runners/downloads", - "GET /repos/{owner}/{repo}/actions/runs", - "GET /repos/{owner}/{repo}/actions/runs/{run_id}/artifacts", - "GET /repos/{owner}/{repo}/actions/runs/{run_id}/jobs", - "GET /repos/{owner}/{repo}/actions/secrets", - "GET /repos/{owner}/{repo}/actions/workflows", - "GET /repos/{owner}/{repo}/actions/workflows/{workflow_id}/runs", - "GET /repos/{owner}/{repo}/assignees", - "GET /repos/{owner}/{repo}/branches", - "GET /repos/{owner}/{repo}/check-runs/{check_run_id}/annotations", - "GET /repos/{owner}/{repo}/check-suites/{check_suite_id}/check-runs", - "GET /repos/{owner}/{repo}/code-scanning/alerts", - "GET /repos/{owner}/{repo}/code-scanning/alerts/{alert_number}/instances", - "GET /repos/{owner}/{repo}/code-scanning/analyses", - "GET /repos/{owner}/{repo}/collaborators", - "GET /repos/{owner}/{repo}/comments", - "GET /repos/{owner}/{repo}/comments/{comment_id}/reactions", - "GET /repos/{owner}/{repo}/commits", - "GET /repos/{owner}/{repo}/commits/{commit_sha}/branches-where-head", - "GET /repos/{owner}/{repo}/commits/{commit_sha}/comments", - "GET /repos/{owner}/{repo}/commits/{commit_sha}/pulls", - "GET /repos/{owner}/{repo}/commits/{ref}/check-runs", - "GET /repos/{owner}/{repo}/commits/{ref}/check-suites", - "GET /repos/{owner}/{repo}/commits/{ref}/statuses", - "GET /repos/{owner}/{repo}/contributors", - "GET /repos/{owner}/{repo}/deployments", - "GET /repos/{owner}/{repo}/deployments/{deployment_id}/statuses", - "GET /repos/{owner}/{repo}/events", - "GET /repos/{owner}/{repo}/forks", - "GET /repos/{owner}/{repo}/git/matching-refs/{ref}", - "GET /repos/{owner}/{repo}/hooks", - "GET /repos/{owner}/{repo}/hooks/{hook_id}/deliveries", - "GET /repos/{owner}/{repo}/invitations", - "GET /repos/{owner}/{repo}/issues", - "GET /repos/{owner}/{repo}/issues/comments", - "GET /repos/{owner}/{repo}/issues/comments/{comment_id}/reactions", - "GET /repos/{owner}/{repo}/issues/events", - "GET /repos/{owner}/{repo}/issues/{issue_number}/comments", - "GET /repos/{owner}/{repo}/issues/{issue_number}/events", - "GET /repos/{owner}/{repo}/issues/{issue_number}/labels", - "GET /repos/{owner}/{repo}/issues/{issue_number}/reactions", - "GET /repos/{owner}/{repo}/issues/{issue_number}/timeline", - "GET /repos/{owner}/{repo}/keys", - "GET /repos/{owner}/{repo}/labels", - "GET /repos/{owner}/{repo}/milestones", - "GET /repos/{owner}/{repo}/milestones/{milestone_number}/labels", - "GET /repos/{owner}/{repo}/notifications", - "GET /repos/{owner}/{repo}/pages/builds", - "GET /repos/{owner}/{repo}/projects", - "GET /repos/{owner}/{repo}/pulls", - "GET /repos/{owner}/{repo}/pulls/comments", - "GET /repos/{owner}/{repo}/pulls/comments/{comment_id}/reactions", - "GET /repos/{owner}/{repo}/pulls/{pull_number}/comments", - "GET /repos/{owner}/{repo}/pulls/{pull_number}/commits", - "GET /repos/{owner}/{repo}/pulls/{pull_number}/files", - "GET /repos/{owner}/{repo}/pulls/{pull_number}/requested_reviewers", - "GET /repos/{owner}/{repo}/pulls/{pull_number}/reviews", - "GET /repos/{owner}/{repo}/pulls/{pull_number}/reviews/{review_id}/comments", - "GET /repos/{owner}/{repo}/releases", - "GET /repos/{owner}/{repo}/releases/{release_id}/assets", - "GET /repos/{owner}/{repo}/secret-scanning/alerts", - "GET /repos/{owner}/{repo}/stargazers", - "GET /repos/{owner}/{repo}/subscribers", - "GET /repos/{owner}/{repo}/tags", - "GET /repos/{owner}/{repo}/teams", - "GET /repositories", - "GET /repositories/{repository_id}/environments/{environment_name}/secrets", - "GET /scim/v2/enterprises/{enterprise}/Groups", - "GET /scim/v2/enterprises/{enterprise}/Users", - "GET /scim/v2/organizations/{org}/Users", - "GET /search/code", - "GET /search/commits", - "GET /search/issues", - "GET /search/labels", - "GET /search/repositories", - "GET /search/topics", - "GET /search/users", - "GET /teams/{team_id}/discussions", - "GET /teams/{team_id}/discussions/{discussion_number}/comments", - "GET /teams/{team_id}/discussions/{discussion_number}/comments/{comment_number}/reactions", - "GET /teams/{team_id}/discussions/{discussion_number}/reactions", - "GET /teams/{team_id}/invitations", - "GET /teams/{team_id}/members", - "GET /teams/{team_id}/projects", - "GET /teams/{team_id}/repos", - "GET /teams/{team_id}/team-sync/group-mappings", - "GET /teams/{team_id}/teams", - "GET /user/blocks", - "GET /user/emails", - "GET /user/followers", - "GET /user/following", - "GET /user/gpg_keys", - "GET /user/installations", - "GET /user/installations/{installation_id}/repositories", - "GET /user/issues", - "GET /user/keys", - "GET /user/marketplace_purchases", - "GET /user/marketplace_purchases/stubbed", - "GET /user/memberships/orgs", - "GET /user/migrations", - "GET /user/migrations/{migration_id}/repositories", - "GET /user/orgs", - "GET /user/public_emails", - "GET /user/repos", - "GET /user/repository_invitations", - "GET /user/starred", - "GET /user/subscriptions", - "GET /user/teams", - "GET /users", - "GET /users/{username}/events", - "GET /users/{username}/events/orgs/{org}", - "GET /users/{username}/events/public", - "GET /users/{username}/followers", - "GET /users/{username}/following", - "GET /users/{username}/gists", - "GET /users/{username}/gpg_keys", - "GET /users/{username}/keys", - "GET /users/{username}/orgs", - "GET /users/{username}/projects", - "GET /users/{username}/received_events", - "GET /users/{username}/received_events/public", - "GET /users/{username}/repos", - "GET /users/{username}/starred", - "GET /users/{username}/subscriptions", -]; - -function isPaginatingEndpoint(arg) { - if (typeof arg === "string") { - return paginatingEndpoints.includes(arg); - } - else { - return false; - } -} - -/** - * @param octokit Octokit instance - * @param options Options passed to Octokit constructor - */ -function paginateRest(octokit) { - return { - paginate: Object.assign(paginate.bind(null, octokit), { - iterator: iterator.bind(null, octokit), - }), - }; -} -paginateRest.VERSION = VERSION; - -export { composePaginateRest, isPaginatingEndpoint, paginateRest, paginatingEndpoints }; -//# sourceMappingURL=index.js.map diff --git a/node_modules/@octokit/plugin-paginate-rest/dist-web/index.js.map b/node_modules/@octokit/plugin-paginate-rest/dist-web/index.js.map deleted file mode 100644 index 648aeff..0000000 --- a/node_modules/@octokit/plugin-paginate-rest/dist-web/index.js.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"index.js","sources":["../dist-src/version.js","../dist-src/normalize-paginated-list-response.js","../dist-src/iterator.js","../dist-src/paginate.js","../dist-src/compose-paginate.js","../dist-src/generated/paginating-endpoints.js","../dist-src/paginating-endpoints.js","../dist-src/index.js"],"sourcesContent":["export const VERSION = \"2.14.0\";\n","/**\n * Some “list” response that can be paginated have a different response structure\n *\n * They have a `total_count` key in the response (search also has `incomplete_results`,\n * /installation/repositories also has `repository_selection`), as well as a key with\n * the list of the items which name varies from endpoint to endpoint.\n *\n * Octokit normalizes these responses so that paginated results are always returned following\n * the same structure. One challenge is that if the list response has only one page, no Link\n * header is provided, so this header alone is not sufficient to check wether a response is\n * paginated or not.\n *\n * We check if a \"total_count\" key is present in the response data, but also make sure that\n * a \"url\" property is not, as the \"Get the combined status for a specific ref\" endpoint would\n * otherwise match: https://developer.github.com/v3/repos/statuses/#get-the-combined-status-for-a-specific-ref\n */\nexport function normalizePaginatedListResponse(response) {\n // endpoints can respond with 204 if repository is empty\n if (!response.data) {\n return {\n ...response,\n data: [],\n };\n }\n const responseNeedsNormalization = \"total_count\" in response.data && !(\"url\" in response.data);\n if (!responseNeedsNormalization)\n return response;\n // keep the additional properties intact as there is currently no other way\n // to retrieve the same information.\n const incompleteResults = response.data.incomplete_results;\n const repositorySelection = response.data.repository_selection;\n const totalCount = response.data.total_count;\n delete response.data.incomplete_results;\n delete response.data.repository_selection;\n delete response.data.total_count;\n const namespaceKey = Object.keys(response.data)[0];\n const data = response.data[namespaceKey];\n response.data = data;\n if (typeof incompleteResults !== \"undefined\") {\n response.data.incomplete_results = incompleteResults;\n }\n if (typeof repositorySelection !== \"undefined\") {\n response.data.repository_selection = repositorySelection;\n }\n response.data.total_count = totalCount;\n return response;\n}\n","import { normalizePaginatedListResponse } from \"./normalize-paginated-list-response\";\nexport function iterator(octokit, route, parameters) {\n const options = typeof route === \"function\"\n ? route.endpoint(parameters)\n : octokit.request.endpoint(route, parameters);\n const requestMethod = typeof route === \"function\" ? route : octokit.request;\n const method = options.method;\n const headers = options.headers;\n let url = options.url;\n return {\n [Symbol.asyncIterator]: () => ({\n async next() {\n if (!url)\n return { done: true };\n try {\n const response = await requestMethod({ method, url, headers });\n const normalizedResponse = normalizePaginatedListResponse(response);\n // `response.headers.link` format:\n // '; rel=\"next\", ; rel=\"last\"'\n // sets `url` to undefined if \"next\" URL is not present or `link` header is not set\n url = ((normalizedResponse.headers.link || \"\").match(/<([^>]+)>;\\s*rel=\"next\"/) || [])[1];\n return { value: normalizedResponse };\n }\n catch (error) {\n if (error.status !== 409)\n throw error;\n url = \"\";\n return {\n value: {\n status: 200,\n headers: {},\n data: [],\n },\n };\n }\n },\n }),\n };\n}\n","import { iterator } from \"./iterator\";\nexport function paginate(octokit, route, parameters, mapFn) {\n if (typeof parameters === \"function\") {\n mapFn = parameters;\n parameters = undefined;\n }\n return gather(octokit, [], iterator(octokit, route, parameters)[Symbol.asyncIterator](), mapFn);\n}\nfunction gather(octokit, results, iterator, mapFn) {\n return iterator.next().then((result) => {\n if (result.done) {\n return results;\n }\n let earlyExit = false;\n function done() {\n earlyExit = true;\n }\n results = results.concat(mapFn ? mapFn(result.value, done) : result.value.data);\n if (earlyExit) {\n return results;\n }\n return gather(octokit, results, iterator, mapFn);\n });\n}\n","import { paginate } from \"./paginate\";\nimport { iterator } from \"./iterator\";\nexport const composePaginateRest = Object.assign(paginate, {\n iterator,\n});\n","export const paginatingEndpoints = [\n \"GET /app/hook/deliveries\",\n \"GET /app/installations\",\n \"GET /applications/grants\",\n \"GET /authorizations\",\n \"GET /enterprises/{enterprise}/actions/permissions/organizations\",\n \"GET /enterprises/{enterprise}/actions/runner-groups\",\n \"GET /enterprises/{enterprise}/actions/runner-groups/{runner_group_id}/organizations\",\n \"GET /enterprises/{enterprise}/actions/runner-groups/{runner_group_id}/runners\",\n \"GET /enterprises/{enterprise}/actions/runners\",\n \"GET /enterprises/{enterprise}/actions/runners/downloads\",\n \"GET /events\",\n \"GET /gists\",\n \"GET /gists/public\",\n \"GET /gists/starred\",\n \"GET /gists/{gist_id}/comments\",\n \"GET /gists/{gist_id}/commits\",\n \"GET /gists/{gist_id}/forks\",\n \"GET /installation/repositories\",\n \"GET /issues\",\n \"GET /marketplace_listing/plans\",\n \"GET /marketplace_listing/plans/{plan_id}/accounts\",\n \"GET /marketplace_listing/stubbed/plans\",\n \"GET /marketplace_listing/stubbed/plans/{plan_id}/accounts\",\n \"GET /networks/{owner}/{repo}/events\",\n \"GET /notifications\",\n \"GET /organizations\",\n \"GET /orgs/{org}/actions/permissions/repositories\",\n \"GET /orgs/{org}/actions/runner-groups\",\n \"GET /orgs/{org}/actions/runner-groups/{runner_group_id}/repositories\",\n \"GET /orgs/{org}/actions/runner-groups/{runner_group_id}/runners\",\n \"GET /orgs/{org}/actions/runners\",\n \"GET /orgs/{org}/actions/runners/downloads\",\n \"GET /orgs/{org}/actions/secrets\",\n \"GET /orgs/{org}/actions/secrets/{secret_name}/repositories\",\n \"GET /orgs/{org}/blocks\",\n \"GET /orgs/{org}/credential-authorizations\",\n \"GET /orgs/{org}/events\",\n \"GET /orgs/{org}/failed_invitations\",\n \"GET /orgs/{org}/hooks\",\n \"GET /orgs/{org}/hooks/{hook_id}/deliveries\",\n \"GET /orgs/{org}/installations\",\n \"GET /orgs/{org}/invitations\",\n \"GET /orgs/{org}/invitations/{invitation_id}/teams\",\n \"GET /orgs/{org}/issues\",\n \"GET /orgs/{org}/members\",\n \"GET /orgs/{org}/migrations\",\n \"GET /orgs/{org}/migrations/{migration_id}/repositories\",\n \"GET /orgs/{org}/outside_collaborators\",\n \"GET /orgs/{org}/projects\",\n \"GET /orgs/{org}/public_members\",\n \"GET /orgs/{org}/repos\",\n \"GET /orgs/{org}/team-sync/groups\",\n \"GET /orgs/{org}/teams\",\n \"GET /orgs/{org}/teams/{team_slug}/discussions\",\n \"GET /orgs/{org}/teams/{team_slug}/discussions/{discussion_number}/comments\",\n \"GET /orgs/{org}/teams/{team_slug}/discussions/{discussion_number}/comments/{comment_number}/reactions\",\n \"GET /orgs/{org}/teams/{team_slug}/discussions/{discussion_number}/reactions\",\n \"GET /orgs/{org}/teams/{team_slug}/invitations\",\n \"GET /orgs/{org}/teams/{team_slug}/members\",\n \"GET /orgs/{org}/teams/{team_slug}/projects\",\n \"GET /orgs/{org}/teams/{team_slug}/repos\",\n \"GET /orgs/{org}/teams/{team_slug}/team-sync/group-mappings\",\n \"GET /orgs/{org}/teams/{team_slug}/teams\",\n \"GET /projects/columns/{column_id}/cards\",\n \"GET /projects/{project_id}/collaborators\",\n \"GET /projects/{project_id}/columns\",\n \"GET /repos/{owner}/{repo}/actions/artifacts\",\n \"GET /repos/{owner}/{repo}/actions/runners\",\n \"GET /repos/{owner}/{repo}/actions/runners/downloads\",\n \"GET /repos/{owner}/{repo}/actions/runs\",\n \"GET /repos/{owner}/{repo}/actions/runs/{run_id}/artifacts\",\n \"GET /repos/{owner}/{repo}/actions/runs/{run_id}/jobs\",\n \"GET /repos/{owner}/{repo}/actions/secrets\",\n \"GET /repos/{owner}/{repo}/actions/workflows\",\n \"GET /repos/{owner}/{repo}/actions/workflows/{workflow_id}/runs\",\n \"GET /repos/{owner}/{repo}/assignees\",\n \"GET /repos/{owner}/{repo}/branches\",\n \"GET /repos/{owner}/{repo}/check-runs/{check_run_id}/annotations\",\n \"GET /repos/{owner}/{repo}/check-suites/{check_suite_id}/check-runs\",\n \"GET /repos/{owner}/{repo}/code-scanning/alerts\",\n \"GET /repos/{owner}/{repo}/code-scanning/alerts/{alert_number}/instances\",\n \"GET /repos/{owner}/{repo}/code-scanning/analyses\",\n \"GET /repos/{owner}/{repo}/collaborators\",\n \"GET /repos/{owner}/{repo}/comments\",\n \"GET /repos/{owner}/{repo}/comments/{comment_id}/reactions\",\n \"GET /repos/{owner}/{repo}/commits\",\n \"GET /repos/{owner}/{repo}/commits/{commit_sha}/branches-where-head\",\n \"GET /repos/{owner}/{repo}/commits/{commit_sha}/comments\",\n \"GET /repos/{owner}/{repo}/commits/{commit_sha}/pulls\",\n \"GET /repos/{owner}/{repo}/commits/{ref}/check-runs\",\n \"GET /repos/{owner}/{repo}/commits/{ref}/check-suites\",\n \"GET /repos/{owner}/{repo}/commits/{ref}/statuses\",\n \"GET /repos/{owner}/{repo}/contributors\",\n \"GET /repos/{owner}/{repo}/deployments\",\n \"GET /repos/{owner}/{repo}/deployments/{deployment_id}/statuses\",\n \"GET /repos/{owner}/{repo}/events\",\n \"GET /repos/{owner}/{repo}/forks\",\n \"GET /repos/{owner}/{repo}/git/matching-refs/{ref}\",\n \"GET /repos/{owner}/{repo}/hooks\",\n \"GET /repos/{owner}/{repo}/hooks/{hook_id}/deliveries\",\n \"GET /repos/{owner}/{repo}/invitations\",\n \"GET /repos/{owner}/{repo}/issues\",\n \"GET /repos/{owner}/{repo}/issues/comments\",\n \"GET /repos/{owner}/{repo}/issues/comments/{comment_id}/reactions\",\n \"GET /repos/{owner}/{repo}/issues/events\",\n \"GET /repos/{owner}/{repo}/issues/{issue_number}/comments\",\n \"GET /repos/{owner}/{repo}/issues/{issue_number}/events\",\n \"GET /repos/{owner}/{repo}/issues/{issue_number}/labels\",\n \"GET /repos/{owner}/{repo}/issues/{issue_number}/reactions\",\n \"GET /repos/{owner}/{repo}/issues/{issue_number}/timeline\",\n \"GET /repos/{owner}/{repo}/keys\",\n \"GET /repos/{owner}/{repo}/labels\",\n \"GET /repos/{owner}/{repo}/milestones\",\n \"GET /repos/{owner}/{repo}/milestones/{milestone_number}/labels\",\n \"GET /repos/{owner}/{repo}/notifications\",\n \"GET /repos/{owner}/{repo}/pages/builds\",\n \"GET /repos/{owner}/{repo}/projects\",\n \"GET /repos/{owner}/{repo}/pulls\",\n \"GET /repos/{owner}/{repo}/pulls/comments\",\n \"GET /repos/{owner}/{repo}/pulls/comments/{comment_id}/reactions\",\n \"GET /repos/{owner}/{repo}/pulls/{pull_number}/comments\",\n \"GET /repos/{owner}/{repo}/pulls/{pull_number}/commits\",\n \"GET /repos/{owner}/{repo}/pulls/{pull_number}/files\",\n \"GET /repos/{owner}/{repo}/pulls/{pull_number}/requested_reviewers\",\n \"GET /repos/{owner}/{repo}/pulls/{pull_number}/reviews\",\n \"GET /repos/{owner}/{repo}/pulls/{pull_number}/reviews/{review_id}/comments\",\n \"GET /repos/{owner}/{repo}/releases\",\n \"GET /repos/{owner}/{repo}/releases/{release_id}/assets\",\n \"GET /repos/{owner}/{repo}/secret-scanning/alerts\",\n \"GET /repos/{owner}/{repo}/stargazers\",\n \"GET /repos/{owner}/{repo}/subscribers\",\n \"GET /repos/{owner}/{repo}/tags\",\n \"GET /repos/{owner}/{repo}/teams\",\n \"GET /repositories\",\n \"GET /repositories/{repository_id}/environments/{environment_name}/secrets\",\n \"GET /scim/v2/enterprises/{enterprise}/Groups\",\n \"GET /scim/v2/enterprises/{enterprise}/Users\",\n \"GET /scim/v2/organizations/{org}/Users\",\n \"GET /search/code\",\n \"GET /search/commits\",\n \"GET /search/issues\",\n \"GET /search/labels\",\n \"GET /search/repositories\",\n \"GET /search/topics\",\n \"GET /search/users\",\n \"GET /teams/{team_id}/discussions\",\n \"GET /teams/{team_id}/discussions/{discussion_number}/comments\",\n \"GET /teams/{team_id}/discussions/{discussion_number}/comments/{comment_number}/reactions\",\n \"GET /teams/{team_id}/discussions/{discussion_number}/reactions\",\n \"GET /teams/{team_id}/invitations\",\n \"GET /teams/{team_id}/members\",\n \"GET /teams/{team_id}/projects\",\n \"GET /teams/{team_id}/repos\",\n \"GET /teams/{team_id}/team-sync/group-mappings\",\n \"GET /teams/{team_id}/teams\",\n \"GET /user/blocks\",\n \"GET /user/emails\",\n \"GET /user/followers\",\n \"GET /user/following\",\n \"GET /user/gpg_keys\",\n \"GET /user/installations\",\n \"GET /user/installations/{installation_id}/repositories\",\n \"GET /user/issues\",\n \"GET /user/keys\",\n \"GET /user/marketplace_purchases\",\n \"GET /user/marketplace_purchases/stubbed\",\n \"GET /user/memberships/orgs\",\n \"GET /user/migrations\",\n \"GET /user/migrations/{migration_id}/repositories\",\n \"GET /user/orgs\",\n \"GET /user/public_emails\",\n \"GET /user/repos\",\n \"GET /user/repository_invitations\",\n \"GET /user/starred\",\n \"GET /user/subscriptions\",\n \"GET /user/teams\",\n \"GET /users\",\n \"GET /users/{username}/events\",\n \"GET /users/{username}/events/orgs/{org}\",\n \"GET /users/{username}/events/public\",\n \"GET /users/{username}/followers\",\n \"GET /users/{username}/following\",\n \"GET /users/{username}/gists\",\n \"GET /users/{username}/gpg_keys\",\n \"GET /users/{username}/keys\",\n \"GET /users/{username}/orgs\",\n \"GET /users/{username}/projects\",\n \"GET /users/{username}/received_events\",\n \"GET /users/{username}/received_events/public\",\n \"GET /users/{username}/repos\",\n \"GET /users/{username}/starred\",\n \"GET /users/{username}/subscriptions\",\n];\n","import { paginatingEndpoints, } from \"./generated/paginating-endpoints\";\nexport { paginatingEndpoints } from \"./generated/paginating-endpoints\";\nexport function isPaginatingEndpoint(arg) {\n if (typeof arg === \"string\") {\n return paginatingEndpoints.includes(arg);\n }\n else {\n return false;\n }\n}\n","import { VERSION } from \"./version\";\nimport { paginate } from \"./paginate\";\nimport { iterator } from \"./iterator\";\nexport { composePaginateRest } from \"./compose-paginate\";\nexport { isPaginatingEndpoint, paginatingEndpoints, } from \"./paginating-endpoints\";\n/**\n * @param octokit Octokit instance\n * @param options Options passed to Octokit constructor\n */\nexport function paginateRest(octokit) {\n return {\n paginate: Object.assign(paginate.bind(null, octokit), {\n iterator: iterator.bind(null, octokit),\n }),\n };\n}\npaginateRest.VERSION = VERSION;\n"],"names":[],"mappings":"AAAO,MAAM,OAAO,GAAG,mBAAmB;;ACA1C;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,AAAO,SAAS,8BAA8B,CAAC,QAAQ,EAAE;AACzD;AACA,IAAI,IAAI,CAAC,QAAQ,CAAC,IAAI,EAAE;AACxB,QAAQ,OAAO;AACf,YAAY,GAAG,QAAQ;AACvB,YAAY,IAAI,EAAE,EAAE;AACpB,SAAS,CAAC;AACV,KAAK;AACL,IAAI,MAAM,0BAA0B,GAAG,aAAa,IAAI,QAAQ,CAAC,IAAI,IAAI,EAAE,KAAK,IAAI,QAAQ,CAAC,IAAI,CAAC,CAAC;AACnG,IAAI,IAAI,CAAC,0BAA0B;AACnC,QAAQ,OAAO,QAAQ,CAAC;AACxB;AACA;AACA,IAAI,MAAM,iBAAiB,GAAG,QAAQ,CAAC,IAAI,CAAC,kBAAkB,CAAC;AAC/D,IAAI,MAAM,mBAAmB,GAAG,QAAQ,CAAC,IAAI,CAAC,oBAAoB,CAAC;AACnE,IAAI,MAAM,UAAU,GAAG,QAAQ,CAAC,IAAI,CAAC,WAAW,CAAC;AACjD,IAAI,OAAO,QAAQ,CAAC,IAAI,CAAC,kBAAkB,CAAC;AAC5C,IAAI,OAAO,QAAQ,CAAC,IAAI,CAAC,oBAAoB,CAAC;AAC9C,IAAI,OAAO,QAAQ,CAAC,IAAI,CAAC,WAAW,CAAC;AACrC,IAAI,MAAM,YAAY,GAAG,MAAM,CAAC,IAAI,CAAC,QAAQ,CAAC,IAAI,CAAC,CAAC,CAAC,CAAC,CAAC;AACvD,IAAI,MAAM,IAAI,GAAG,QAAQ,CAAC,IAAI,CAAC,YAAY,CAAC,CAAC;AAC7C,IAAI,QAAQ,CAAC,IAAI,GAAG,IAAI,CAAC;AACzB,IAAI,IAAI,OAAO,iBAAiB,KAAK,WAAW,EAAE;AAClD,QAAQ,QAAQ,CAAC,IAAI,CAAC,kBAAkB,GAAG,iBAAiB,CAAC;AAC7D,KAAK;AACL,IAAI,IAAI,OAAO,mBAAmB,KAAK,WAAW,EAAE;AACpD,QAAQ,QAAQ,CAAC,IAAI,CAAC,oBAAoB,GAAG,mBAAmB,CAAC;AACjE,KAAK;AACL,IAAI,QAAQ,CAAC,IAAI,CAAC,WAAW,GAAG,UAAU,CAAC;AAC3C,IAAI,OAAO,QAAQ,CAAC;AACpB,CAAC;;AC7CM,SAAS,QAAQ,CAAC,OAAO,EAAE,KAAK,EAAE,UAAU,EAAE;AACrD,IAAI,MAAM,OAAO,GAAG,OAAO,KAAK,KAAK,UAAU;AAC/C,UAAU,KAAK,CAAC,QAAQ,CAAC,UAAU,CAAC;AACpC,UAAU,OAAO,CAAC,OAAO,CAAC,QAAQ,CAAC,KAAK,EAAE,UAAU,CAAC,CAAC;AACtD,IAAI,MAAM,aAAa,GAAG,OAAO,KAAK,KAAK,UAAU,GAAG,KAAK,GAAG,OAAO,CAAC,OAAO,CAAC;AAChF,IAAI,MAAM,MAAM,GAAG,OAAO,CAAC,MAAM,CAAC;AAClC,IAAI,MAAM,OAAO,GAAG,OAAO,CAAC,OAAO,CAAC;AACpC,IAAI,IAAI,GAAG,GAAG,OAAO,CAAC,GAAG,CAAC;AAC1B,IAAI,OAAO;AACX,QAAQ,CAAC,MAAM,CAAC,aAAa,GAAG,OAAO;AACvC,YAAY,MAAM,IAAI,GAAG;AACzB,gBAAgB,IAAI,CAAC,GAAG;AACxB,oBAAoB,OAAO,EAAE,IAAI,EAAE,IAAI,EAAE,CAAC;AAC1C,gBAAgB,IAAI;AACpB,oBAAoB,MAAM,QAAQ,GAAG,MAAM,aAAa,CAAC,EAAE,MAAM,EAAE,GAAG,EAAE,OAAO,EAAE,CAAC,CAAC;AACnF,oBAAoB,MAAM,kBAAkB,GAAG,8BAA8B,CAAC,QAAQ,CAAC,CAAC;AACxF;AACA;AACA;AACA,oBAAoB,GAAG,GAAG,CAAC,CAAC,kBAAkB,CAAC,OAAO,CAAC,IAAI,IAAI,EAAE,EAAE,KAAK,CAAC,yBAAyB,CAAC,IAAI,EAAE,EAAE,CAAC,CAAC,CAAC;AAC9G,oBAAoB,OAAO,EAAE,KAAK,EAAE,kBAAkB,EAAE,CAAC;AACzD,iBAAiB;AACjB,gBAAgB,OAAO,KAAK,EAAE;AAC9B,oBAAoB,IAAI,KAAK,CAAC,MAAM,KAAK,GAAG;AAC5C,wBAAwB,MAAM,KAAK,CAAC;AACpC,oBAAoB,GAAG,GAAG,EAAE,CAAC;AAC7B,oBAAoB,OAAO;AAC3B,wBAAwB,KAAK,EAAE;AAC/B,4BAA4B,MAAM,EAAE,GAAG;AACvC,4BAA4B,OAAO,EAAE,EAAE;AACvC,4BAA4B,IAAI,EAAE,EAAE;AACpC,yBAAyB;AACzB,qBAAqB,CAAC;AACtB,iBAAiB;AACjB,aAAa;AACb,SAAS,CAAC;AACV,KAAK,CAAC;AACN,CAAC;;ACrCM,SAAS,QAAQ,CAAC,OAAO,EAAE,KAAK,EAAE,UAAU,EAAE,KAAK,EAAE;AAC5D,IAAI,IAAI,OAAO,UAAU,KAAK,UAAU,EAAE;AAC1C,QAAQ,KAAK,GAAG,UAAU,CAAC;AAC3B,QAAQ,UAAU,GAAG,SAAS,CAAC;AAC/B,KAAK;AACL,IAAI,OAAO,MAAM,CAAC,OAAO,EAAE,EAAE,EAAE,QAAQ,CAAC,OAAO,EAAE,KAAK,EAAE,UAAU,CAAC,CAAC,MAAM,CAAC,aAAa,CAAC,EAAE,EAAE,KAAK,CAAC,CAAC;AACpG,CAAC;AACD,SAAS,MAAM,CAAC,OAAO,EAAE,OAAO,EAAE,QAAQ,EAAE,KAAK,EAAE;AACnD,IAAI,OAAO,QAAQ,CAAC,IAAI,EAAE,CAAC,IAAI,CAAC,CAAC,MAAM,KAAK;AAC5C,QAAQ,IAAI,MAAM,CAAC,IAAI,EAAE;AACzB,YAAY,OAAO,OAAO,CAAC;AAC3B,SAAS;AACT,QAAQ,IAAI,SAAS,GAAG,KAAK,CAAC;AAC9B,QAAQ,SAAS,IAAI,GAAG;AACxB,YAAY,SAAS,GAAG,IAAI,CAAC;AAC7B,SAAS;AACT,QAAQ,OAAO,GAAG,OAAO,CAAC,MAAM,CAAC,KAAK,GAAG,KAAK,CAAC,MAAM,CAAC,KAAK,EAAE,IAAI,CAAC,GAAG,MAAM,CAAC,KAAK,CAAC,IAAI,CAAC,CAAC;AACxF,QAAQ,IAAI,SAAS,EAAE;AACvB,YAAY,OAAO,OAAO,CAAC;AAC3B,SAAS;AACT,QAAQ,OAAO,MAAM,CAAC,OAAO,EAAE,OAAO,EAAE,QAAQ,EAAE,KAAK,CAAC,CAAC;AACzD,KAAK,CAAC,CAAC;AACP,CAAC;;ACrBW,MAAC,mBAAmB,GAAG,MAAM,CAAC,MAAM,CAAC,QAAQ,EAAE;AAC3D,IAAI,QAAQ;AACZ,CAAC,CAAC;;ACJU,MAAC,mBAAmB,GAAG;AACnC,IAAI,0BAA0B;AAC9B,IAAI,wBAAwB;AAC5B,IAAI,0BAA0B;AAC9B,IAAI,qBAAqB;AACzB,IAAI,iEAAiE;AACrE,IAAI,qDAAqD;AACzD,IAAI,qFAAqF;AACzF,IAAI,+EAA+E;AACnF,IAAI,+CAA+C;AACnD,IAAI,yDAAyD;AAC7D,IAAI,aAAa;AACjB,IAAI,YAAY;AAChB,IAAI,mBAAmB;AACvB,IAAI,oBAAoB;AACxB,IAAI,+BAA+B;AACnC,IAAI,8BAA8B;AAClC,IAAI,4BAA4B;AAChC,IAAI,gCAAgC;AACpC,IAAI,aAAa;AACjB,IAAI,gCAAgC;AACpC,IAAI,mDAAmD;AACvD,IAAI,wCAAwC;AAC5C,IAAI,2DAA2D;AAC/D,IAAI,qCAAqC;AACzC,IAAI,oBAAoB;AACxB,IAAI,oBAAoB;AACxB,IAAI,kDAAkD;AACtD,IAAI,uCAAuC;AAC3C,IAAI,sEAAsE;AAC1E,IAAI,iEAAiE;AACrE,IAAI,iCAAiC;AACrC,IAAI,2CAA2C;AAC/C,IAAI,iCAAiC;AACrC,IAAI,4DAA4D;AAChE,IAAI,wBAAwB;AAC5B,IAAI,2CAA2C;AAC/C,IAAI,wBAAwB;AAC5B,IAAI,oCAAoC;AACxC,IAAI,uBAAuB;AAC3B,IAAI,4CAA4C;AAChD,IAAI,+BAA+B;AACnC,IAAI,6BAA6B;AACjC,IAAI,mDAAmD;AACvD,IAAI,wBAAwB;AAC5B,IAAI,yBAAyB;AAC7B,IAAI,4BAA4B;AAChC,IAAI,wDAAwD;AAC5D,IAAI,uCAAuC;AAC3C,IAAI,0BAA0B;AAC9B,IAAI,gCAAgC;AACpC,IAAI,uBAAuB;AAC3B,IAAI,kCAAkC;AACtC,IAAI,uBAAuB;AAC3B,IAAI,+CAA+C;AACnD,IAAI,4EAA4E;AAChF,IAAI,uGAAuG;AAC3G,IAAI,6EAA6E;AACjF,IAAI,+CAA+C;AACnD,IAAI,2CAA2C;AAC/C,IAAI,4CAA4C;AAChD,IAAI,yCAAyC;AAC7C,IAAI,4DAA4D;AAChE,IAAI,yCAAyC;AAC7C,IAAI,yCAAyC;AAC7C,IAAI,0CAA0C;AAC9C,IAAI,oCAAoC;AACxC,IAAI,6CAA6C;AACjD,IAAI,2CAA2C;AAC/C,IAAI,qDAAqD;AACzD,IAAI,wCAAwC;AAC5C,IAAI,2DAA2D;AAC/D,IAAI,sDAAsD;AAC1D,IAAI,2CAA2C;AAC/C,IAAI,6CAA6C;AACjD,IAAI,gEAAgE;AACpE,IAAI,qCAAqC;AACzC,IAAI,oCAAoC;AACxC,IAAI,iEAAiE;AACrE,IAAI,oEAAoE;AACxE,IAAI,gDAAgD;AACpD,IAAI,yEAAyE;AAC7E,IAAI,kDAAkD;AACtD,IAAI,yCAAyC;AAC7C,IAAI,oCAAoC;AACxC,IAAI,2DAA2D;AAC/D,IAAI,mCAAmC;AACvC,IAAI,oEAAoE;AACxE,IAAI,yDAAyD;AAC7D,IAAI,sDAAsD;AAC1D,IAAI,oDAAoD;AACxD,IAAI,sDAAsD;AAC1D,IAAI,kDAAkD;AACtD,IAAI,wCAAwC;AAC5C,IAAI,uCAAuC;AAC3C,IAAI,gEAAgE;AACpE,IAAI,kCAAkC;AACtC,IAAI,iCAAiC;AACrC,IAAI,mDAAmD;AACvD,IAAI,iCAAiC;AACrC,IAAI,sDAAsD;AAC1D,IAAI,uCAAuC;AAC3C,IAAI,kCAAkC;AACtC,IAAI,2CAA2C;AAC/C,IAAI,kEAAkE;AACtE,IAAI,yCAAyC;AAC7C,IAAI,0DAA0D;AAC9D,IAAI,wDAAwD;AAC5D,IAAI,wDAAwD;AAC5D,IAAI,2DAA2D;AAC/D,IAAI,0DAA0D;AAC9D,IAAI,gCAAgC;AACpC,IAAI,kCAAkC;AACtC,IAAI,sCAAsC;AAC1C,IAAI,gEAAgE;AACpE,IAAI,yCAAyC;AAC7C,IAAI,wCAAwC;AAC5C,IAAI,oCAAoC;AACxC,IAAI,iCAAiC;AACrC,IAAI,0CAA0C;AAC9C,IAAI,iEAAiE;AACrE,IAAI,wDAAwD;AAC5D,IAAI,uDAAuD;AAC3D,IAAI,qDAAqD;AACzD,IAAI,mEAAmE;AACvE,IAAI,uDAAuD;AAC3D,IAAI,4EAA4E;AAChF,IAAI,oCAAoC;AACxC,IAAI,wDAAwD;AAC5D,IAAI,kDAAkD;AACtD,IAAI,sCAAsC;AAC1C,IAAI,uCAAuC;AAC3C,IAAI,gCAAgC;AACpC,IAAI,iCAAiC;AACrC,IAAI,mBAAmB;AACvB,IAAI,2EAA2E;AAC/E,IAAI,8CAA8C;AAClD,IAAI,6CAA6C;AACjD,IAAI,wCAAwC;AAC5C,IAAI,kBAAkB;AACtB,IAAI,qBAAqB;AACzB,IAAI,oBAAoB;AACxB,IAAI,oBAAoB;AACxB,IAAI,0BAA0B;AAC9B,IAAI,oBAAoB;AACxB,IAAI,mBAAmB;AACvB,IAAI,kCAAkC;AACtC,IAAI,+DAA+D;AACnE,IAAI,0FAA0F;AAC9F,IAAI,gEAAgE;AACpE,IAAI,kCAAkC;AACtC,IAAI,8BAA8B;AAClC,IAAI,+BAA+B;AACnC,IAAI,4BAA4B;AAChC,IAAI,+CAA+C;AACnD,IAAI,4BAA4B;AAChC,IAAI,kBAAkB;AACtB,IAAI,kBAAkB;AACtB,IAAI,qBAAqB;AACzB,IAAI,qBAAqB;AACzB,IAAI,oBAAoB;AACxB,IAAI,yBAAyB;AAC7B,IAAI,wDAAwD;AAC5D,IAAI,kBAAkB;AACtB,IAAI,gBAAgB;AACpB,IAAI,iCAAiC;AACrC,IAAI,yCAAyC;AAC7C,IAAI,4BAA4B;AAChC,IAAI,sBAAsB;AAC1B,IAAI,kDAAkD;AACtD,IAAI,gBAAgB;AACpB,IAAI,yBAAyB;AAC7B,IAAI,iBAAiB;AACrB,IAAI,kCAAkC;AACtC,IAAI,mBAAmB;AACvB,IAAI,yBAAyB;AAC7B,IAAI,iBAAiB;AACrB,IAAI,YAAY;AAChB,IAAI,8BAA8B;AAClC,IAAI,yCAAyC;AAC7C,IAAI,qCAAqC;AACzC,IAAI,iCAAiC;AACrC,IAAI,iCAAiC;AACrC,IAAI,6BAA6B;AACjC,IAAI,gCAAgC;AACpC,IAAI,4BAA4B;AAChC,IAAI,4BAA4B;AAChC,IAAI,gCAAgC;AACpC,IAAI,uCAAuC;AAC3C,IAAI,8CAA8C;AAClD,IAAI,6BAA6B;AACjC,IAAI,+BAA+B;AACnC,IAAI,qCAAqC;AACzC,CAAC;;AC/LM,SAAS,oBAAoB,CAAC,GAAG,EAAE;AAC1C,IAAI,IAAI,OAAO,GAAG,KAAK,QAAQ,EAAE;AACjC,QAAQ,OAAO,mBAAmB,CAAC,QAAQ,CAAC,GAAG,CAAC,CAAC;AACjD,KAAK;AACL,SAAS;AACT,QAAQ,OAAO,KAAK,CAAC;AACrB,KAAK;AACL,CAAC;;ACJD;AACA;AACA;AACA;AACA,AAAO,SAAS,YAAY,CAAC,OAAO,EAAE;AACtC,IAAI,OAAO;AACX,QAAQ,QAAQ,EAAE,MAAM,CAAC,MAAM,CAAC,QAAQ,CAAC,IAAI,CAAC,IAAI,EAAE,OAAO,CAAC,EAAE;AAC9D,YAAY,QAAQ,EAAE,QAAQ,CAAC,IAAI,CAAC,IAAI,EAAE,OAAO,CAAC;AAClD,SAAS,CAAC;AACV,KAAK,CAAC;AACN,CAAC;AACD,YAAY,CAAC,OAAO,GAAG,OAAO,CAAC;;;;"} \ No newline at end of file diff --git a/node_modules/@octokit/plugin-paginate-rest/package.json b/node_modules/@octokit/plugin-paginate-rest/package.json deleted file mode 100644 index 8c6ca7c..0000000 --- a/node_modules/@octokit/plugin-paginate-rest/package.json +++ /dev/null @@ -1,52 +0,0 @@ -{ - "name": "@octokit/plugin-paginate-rest", - "description": "Octokit plugin to paginate REST API endpoint responses", - "version": "2.14.0", - "license": "MIT", - "files": [ - "dist-*/", - "bin/" - ], - "pika": true, - "sideEffects": false, - "keywords": [ - "github", - "api", - "sdk", - "toolkit" - ], - "repository": "github:octokit/plugin-paginate-rest.js", - "dependencies": { - "@octokit/types": "^6.18.0" - }, - "peerDependencies": { - "@octokit/core": ">=2" - }, - "devDependencies": { - "@octokit/core": "^3.0.0", - "@octokit/plugin-rest-endpoint-methods": "^5.0.0", - "@pika/pack": "^0.5.0", - "@pika/plugin-build-node": "^0.9.0", - "@pika/plugin-build-web": "^0.9.0", - "@pika/plugin-ts-standard-pkg": "^0.9.0", - "@types/fetch-mock": "^7.3.1", - "@types/jest": "^26.0.0", - "@types/node": "^14.0.4", - "fetch-mock": "^9.0.0", - "github-openapi-graphql-query": "^1.0.4", - "jest": "^27.0.0", - "npm-run-all": "^4.1.5", - "prettier": "2.3.2", - "semantic-release": "^17.0.0", - "semantic-release-plugin-update-version-in-files": "^1.0.0", - "ts-jest": "^27.0.0-next.12", - "typescript": "^4.0.2" - }, - "publishConfig": { - "access": "public" - }, - "source": "dist-src/index.js", - "types": "dist-types/index.d.ts", - "main": "dist-node/index.js", - "module": "dist-web/index.js" -} diff --git a/node_modules/@octokit/plugin-rest-endpoint-methods/LICENSE b/node_modules/@octokit/plugin-rest-endpoint-methods/LICENSE deleted file mode 100644 index 57bee5f..0000000 --- a/node_modules/@octokit/plugin-rest-endpoint-methods/LICENSE +++ /dev/null @@ -1,7 +0,0 @@ -MIT License Copyright (c) 2019 Octokit 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 (including the next paragraph) 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/@octokit/plugin-rest-endpoint-methods/README.md b/node_modules/@octokit/plugin-rest-endpoint-methods/README.md deleted file mode 100644 index 8a17a79..0000000 --- a/node_modules/@octokit/plugin-rest-endpoint-methods/README.md +++ /dev/null @@ -1,76 +0,0 @@ -# plugin-rest-endpoint-methods.js - -> Octokit plugin adding one method for all of api.github.com REST API endpoints - -[![@latest](https://img.shields.io/npm/v/@octokit/plugin-rest-endpoint-methods.svg)](https://www.npmjs.com/package/@octokit/plugin-rest-endpoint-methods) -[![Build Status](https://github.com/octokit/plugin-rest-endpoint-methods.js/workflows/Test/badge.svg)](https://github.com/octokit/plugin-rest-endpoint-methods.js/actions?workflow=Test) - -## Usage - - - - - - -
-Browsers - - -Load `@octokit/plugin-rest-endpoint-methods` and [`@octokit/core`](https://github.com/octokit/core.js) (or core-compatible module) directly from [cdn.skypack.dev](https://cdn.skypack.dev) - -```html - -``` - -
-Node - - -Install with `npm install @octokit/core @octokit/plugin-rest-endpoint-methods`. Optionally replace `@octokit/core` with a compatible module - -```js -const { Octokit } = require("@octokit/core"); -const { - restEndpointMethods, -} = require("@octokit/plugin-rest-endpoint-methods"); -``` - -
- -```js -const MyOctokit = Octokit.plugin(restEndpointMethods); -const octokit = new MyOctokit({ auth: "secret123" }); - -// https://developer.github.com/v3/users/#get-the-authenticated-user -octokit.rest.users.getAuthenticated(); -``` - -There is one method for each REST API endpoint documented at [https://developer.github.com/v3](https://developer.github.com/v3). All endpoint methods are documented in the [docs/](docs/) folder, e.g. [docs/users/getAuthenticated.md](docs/users/getAuthenticated.md) - -## TypeScript - -Parameter and response types for all endpoint methods exported as `{ RestEndpointMethodTypes }`. - -Example - -```ts -import { RestEndpointMethodTypes } from "@octokit/plugin-rest-endpoint-methods"; - -type UpdateLabelParameters = - RestEndpointMethodTypes["issues"]["updateLabel"]["parameters"]; -type UpdateLabelResponse = - RestEndpointMethodTypes["issues"]["updateLabel"]["response"]; -``` - -In order to get types beyond parameters and responses, check out [`@octokit/openapi-types`](https://github.com/octokit/openapi-types.ts/#readme), which is a direct transpliation from GitHub's official OpenAPI specification. - -## Contributing - -See [CONTRIBUTING.md](CONTRIBUTING.md) - -## License - -[MIT](LICENSE) diff --git a/node_modules/@octokit/plugin-rest-endpoint-methods/dist-node/index.js b/node_modules/@octokit/plugin-rest-endpoint-methods/dist-node/index.js deleted file mode 100644 index 00e9d3d..0000000 --- a/node_modules/@octokit/plugin-rest-endpoint-methods/dist-node/index.js +++ /dev/null @@ -1,1258 +0,0 @@ -'use strict'; - -Object.defineProperty(exports, '__esModule', { value: true }); - -function ownKeys(object, enumerableOnly) { - var keys = Object.keys(object); - - if (Object.getOwnPropertySymbols) { - var symbols = Object.getOwnPropertySymbols(object); - - if (enumerableOnly) { - symbols = symbols.filter(function (sym) { - return Object.getOwnPropertyDescriptor(object, sym).enumerable; - }); - } - - keys.push.apply(keys, symbols); - } - - return keys; -} - -function _objectSpread2(target) { - for (var i = 1; i < arguments.length; i++) { - var source = arguments[i] != null ? arguments[i] : {}; - - if (i % 2) { - ownKeys(Object(source), true).forEach(function (key) { - _defineProperty(target, key, source[key]); - }); - } else if (Object.getOwnPropertyDescriptors) { - Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)); - } else { - ownKeys(Object(source)).forEach(function (key) { - Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); - }); - } - } - - return target; -} - -function _defineProperty(obj, key, value) { - if (key in obj) { - Object.defineProperty(obj, key, { - value: value, - enumerable: true, - configurable: true, - writable: true - }); - } else { - obj[key] = value; - } - - return obj; -} - -const Endpoints = { - actions: { - addSelectedRepoToOrgSecret: ["PUT /orgs/{org}/actions/secrets/{secret_name}/repositories/{repository_id}"], - approveWorkflowRun: ["POST /repos/{owner}/{repo}/actions/runs/{run_id}/approve"], - cancelWorkflowRun: ["POST /repos/{owner}/{repo}/actions/runs/{run_id}/cancel"], - createOrUpdateEnvironmentSecret: ["PUT /repositories/{repository_id}/environments/{environment_name}/secrets/{secret_name}"], - createOrUpdateOrgSecret: ["PUT /orgs/{org}/actions/secrets/{secret_name}"], - createOrUpdateRepoSecret: ["PUT /repos/{owner}/{repo}/actions/secrets/{secret_name}"], - createRegistrationTokenForOrg: ["POST /orgs/{org}/actions/runners/registration-token"], - createRegistrationTokenForRepo: ["POST /repos/{owner}/{repo}/actions/runners/registration-token"], - createRemoveTokenForOrg: ["POST /orgs/{org}/actions/runners/remove-token"], - createRemoveTokenForRepo: ["POST /repos/{owner}/{repo}/actions/runners/remove-token"], - createWorkflowDispatch: ["POST /repos/{owner}/{repo}/actions/workflows/{workflow_id}/dispatches"], - deleteArtifact: ["DELETE /repos/{owner}/{repo}/actions/artifacts/{artifact_id}"], - deleteEnvironmentSecret: ["DELETE /repositories/{repository_id}/environments/{environment_name}/secrets/{secret_name}"], - deleteOrgSecret: ["DELETE /orgs/{org}/actions/secrets/{secret_name}"], - deleteRepoSecret: ["DELETE /repos/{owner}/{repo}/actions/secrets/{secret_name}"], - deleteSelfHostedRunnerFromOrg: ["DELETE /orgs/{org}/actions/runners/{runner_id}"], - deleteSelfHostedRunnerFromRepo: ["DELETE /repos/{owner}/{repo}/actions/runners/{runner_id}"], - deleteWorkflowRun: ["DELETE /repos/{owner}/{repo}/actions/runs/{run_id}"], - deleteWorkflowRunLogs: ["DELETE /repos/{owner}/{repo}/actions/runs/{run_id}/logs"], - disableSelectedRepositoryGithubActionsOrganization: ["DELETE /orgs/{org}/actions/permissions/repositories/{repository_id}"], - disableWorkflow: ["PUT /repos/{owner}/{repo}/actions/workflows/{workflow_id}/disable"], - downloadArtifact: ["GET /repos/{owner}/{repo}/actions/artifacts/{artifact_id}/{archive_format}"], - downloadJobLogsForWorkflowRun: ["GET /repos/{owner}/{repo}/actions/jobs/{job_id}/logs"], - downloadWorkflowRunLogs: ["GET /repos/{owner}/{repo}/actions/runs/{run_id}/logs"], - enableSelectedRepositoryGithubActionsOrganization: ["PUT /orgs/{org}/actions/permissions/repositories/{repository_id}"], - enableWorkflow: ["PUT /repos/{owner}/{repo}/actions/workflows/{workflow_id}/enable"], - getAllowedActionsOrganization: ["GET /orgs/{org}/actions/permissions/selected-actions"], - getAllowedActionsRepository: ["GET /repos/{owner}/{repo}/actions/permissions/selected-actions"], - getArtifact: ["GET /repos/{owner}/{repo}/actions/artifacts/{artifact_id}"], - getEnvironmentPublicKey: ["GET /repositories/{repository_id}/environments/{environment_name}/secrets/public-key"], - getEnvironmentSecret: ["GET /repositories/{repository_id}/environments/{environment_name}/secrets/{secret_name}"], - getGithubActionsPermissionsOrganization: ["GET /orgs/{org}/actions/permissions"], - getGithubActionsPermissionsRepository: ["GET /repos/{owner}/{repo}/actions/permissions"], - getJobForWorkflowRun: ["GET /repos/{owner}/{repo}/actions/jobs/{job_id}"], - getOrgPublicKey: ["GET /orgs/{org}/actions/secrets/public-key"], - getOrgSecret: ["GET /orgs/{org}/actions/secrets/{secret_name}"], - getPendingDeploymentsForRun: ["GET /repos/{owner}/{repo}/actions/runs/{run_id}/pending_deployments"], - getRepoPermissions: ["GET /repos/{owner}/{repo}/actions/permissions", {}, { - renamed: ["actions", "getGithubActionsPermissionsRepository"] - }], - getRepoPublicKey: ["GET /repos/{owner}/{repo}/actions/secrets/public-key"], - getRepoSecret: ["GET /repos/{owner}/{repo}/actions/secrets/{secret_name}"], - getReviewsForRun: ["GET /repos/{owner}/{repo}/actions/runs/{run_id}/approvals"], - getSelfHostedRunnerForOrg: ["GET /orgs/{org}/actions/runners/{runner_id}"], - getSelfHostedRunnerForRepo: ["GET /repos/{owner}/{repo}/actions/runners/{runner_id}"], - getWorkflow: ["GET /repos/{owner}/{repo}/actions/workflows/{workflow_id}"], - getWorkflowRun: ["GET /repos/{owner}/{repo}/actions/runs/{run_id}"], - getWorkflowRunUsage: ["GET /repos/{owner}/{repo}/actions/runs/{run_id}/timing"], - getWorkflowUsage: ["GET /repos/{owner}/{repo}/actions/workflows/{workflow_id}/timing"], - listArtifactsForRepo: ["GET /repos/{owner}/{repo}/actions/artifacts"], - listEnvironmentSecrets: ["GET /repositories/{repository_id}/environments/{environment_name}/secrets"], - listJobsForWorkflowRun: ["GET /repos/{owner}/{repo}/actions/runs/{run_id}/jobs"], - listOrgSecrets: ["GET /orgs/{org}/actions/secrets"], - listRepoSecrets: ["GET /repos/{owner}/{repo}/actions/secrets"], - listRepoWorkflows: ["GET /repos/{owner}/{repo}/actions/workflows"], - listRunnerApplicationsForOrg: ["GET /orgs/{org}/actions/runners/downloads"], - listRunnerApplicationsForRepo: ["GET /repos/{owner}/{repo}/actions/runners/downloads"], - listSelectedReposForOrgSecret: ["GET /orgs/{org}/actions/secrets/{secret_name}/repositories"], - listSelectedRepositoriesEnabledGithubActionsOrganization: ["GET /orgs/{org}/actions/permissions/repositories"], - listSelfHostedRunnersForOrg: ["GET /orgs/{org}/actions/runners"], - listSelfHostedRunnersForRepo: ["GET /repos/{owner}/{repo}/actions/runners"], - listWorkflowRunArtifacts: ["GET /repos/{owner}/{repo}/actions/runs/{run_id}/artifacts"], - listWorkflowRuns: ["GET /repos/{owner}/{repo}/actions/workflows/{workflow_id}/runs"], - listWorkflowRunsForRepo: ["GET /repos/{owner}/{repo}/actions/runs"], - reRunWorkflow: ["POST /repos/{owner}/{repo}/actions/runs/{run_id}/rerun"], - removeSelectedRepoFromOrgSecret: ["DELETE /orgs/{org}/actions/secrets/{secret_name}/repositories/{repository_id}"], - reviewPendingDeploymentsForRun: ["POST /repos/{owner}/{repo}/actions/runs/{run_id}/pending_deployments"], - setAllowedActionsOrganization: ["PUT /orgs/{org}/actions/permissions/selected-actions"], - setAllowedActionsRepository: ["PUT /repos/{owner}/{repo}/actions/permissions/selected-actions"], - setGithubActionsPermissionsOrganization: ["PUT /orgs/{org}/actions/permissions"], - setGithubActionsPermissionsRepository: ["PUT /repos/{owner}/{repo}/actions/permissions"], - setSelectedReposForOrgSecret: ["PUT /orgs/{org}/actions/secrets/{secret_name}/repositories"], - setSelectedRepositoriesEnabledGithubActionsOrganization: ["PUT /orgs/{org}/actions/permissions/repositories"] - }, - activity: { - checkRepoIsStarredByAuthenticatedUser: ["GET /user/starred/{owner}/{repo}"], - deleteRepoSubscription: ["DELETE /repos/{owner}/{repo}/subscription"], - deleteThreadSubscription: ["DELETE /notifications/threads/{thread_id}/subscription"], - getFeeds: ["GET /feeds"], - getRepoSubscription: ["GET /repos/{owner}/{repo}/subscription"], - getThread: ["GET /notifications/threads/{thread_id}"], - getThreadSubscriptionForAuthenticatedUser: ["GET /notifications/threads/{thread_id}/subscription"], - listEventsForAuthenticatedUser: ["GET /users/{username}/events"], - listNotificationsForAuthenticatedUser: ["GET /notifications"], - listOrgEventsForAuthenticatedUser: ["GET /users/{username}/events/orgs/{org}"], - listPublicEvents: ["GET /events"], - listPublicEventsForRepoNetwork: ["GET /networks/{owner}/{repo}/events"], - listPublicEventsForUser: ["GET /users/{username}/events/public"], - listPublicOrgEvents: ["GET /orgs/{org}/events"], - listReceivedEventsForUser: ["GET /users/{username}/received_events"], - listReceivedPublicEventsForUser: ["GET /users/{username}/received_events/public"], - listRepoEvents: ["GET /repos/{owner}/{repo}/events"], - listRepoNotificationsForAuthenticatedUser: ["GET /repos/{owner}/{repo}/notifications"], - listReposStarredByAuthenticatedUser: ["GET /user/starred"], - listReposStarredByUser: ["GET /users/{username}/starred"], - listReposWatchedByUser: ["GET /users/{username}/subscriptions"], - listStargazersForRepo: ["GET /repos/{owner}/{repo}/stargazers"], - listWatchedReposForAuthenticatedUser: ["GET /user/subscriptions"], - listWatchersForRepo: ["GET /repos/{owner}/{repo}/subscribers"], - markNotificationsAsRead: ["PUT /notifications"], - markRepoNotificationsAsRead: ["PUT /repos/{owner}/{repo}/notifications"], - markThreadAsRead: ["PATCH /notifications/threads/{thread_id}"], - setRepoSubscription: ["PUT /repos/{owner}/{repo}/subscription"], - setThreadSubscription: ["PUT /notifications/threads/{thread_id}/subscription"], - starRepoForAuthenticatedUser: ["PUT /user/starred/{owner}/{repo}"], - unstarRepoForAuthenticatedUser: ["DELETE /user/starred/{owner}/{repo}"] - }, - apps: { - addRepoToInstallation: ["PUT /user/installations/{installation_id}/repositories/{repository_id}"], - checkToken: ["POST /applications/{client_id}/token"], - createContentAttachment: ["POST /content_references/{content_reference_id}/attachments", { - mediaType: { - previews: ["corsair"] - } - }], - createContentAttachmentForRepo: ["POST /repos/{owner}/{repo}/content_references/{content_reference_id}/attachments", { - mediaType: { - previews: ["corsair"] - } - }], - createFromManifest: ["POST /app-manifests/{code}/conversions"], - createInstallationAccessToken: ["POST /app/installations/{installation_id}/access_tokens"], - deleteAuthorization: ["DELETE /applications/{client_id}/grant"], - deleteInstallation: ["DELETE /app/installations/{installation_id}"], - deleteToken: ["DELETE /applications/{client_id}/token"], - getAuthenticated: ["GET /app"], - getBySlug: ["GET /apps/{app_slug}"], - getInstallation: ["GET /app/installations/{installation_id}"], - getOrgInstallation: ["GET /orgs/{org}/installation"], - getRepoInstallation: ["GET /repos/{owner}/{repo}/installation"], - getSubscriptionPlanForAccount: ["GET /marketplace_listing/accounts/{account_id}"], - getSubscriptionPlanForAccountStubbed: ["GET /marketplace_listing/stubbed/accounts/{account_id}"], - getUserInstallation: ["GET /users/{username}/installation"], - getWebhookConfigForApp: ["GET /app/hook/config"], - getWebhookDelivery: ["GET /app/hook/deliveries/{delivery_id}"], - listAccountsForPlan: ["GET /marketplace_listing/plans/{plan_id}/accounts"], - listAccountsForPlanStubbed: ["GET /marketplace_listing/stubbed/plans/{plan_id}/accounts"], - listInstallationReposForAuthenticatedUser: ["GET /user/installations/{installation_id}/repositories"], - listInstallations: ["GET /app/installations"], - listInstallationsForAuthenticatedUser: ["GET /user/installations"], - listPlans: ["GET /marketplace_listing/plans"], - listPlansStubbed: ["GET /marketplace_listing/stubbed/plans"], - listReposAccessibleToInstallation: ["GET /installation/repositories"], - listSubscriptionsForAuthenticatedUser: ["GET /user/marketplace_purchases"], - listSubscriptionsForAuthenticatedUserStubbed: ["GET /user/marketplace_purchases/stubbed"], - listWebhookDeliveries: ["GET /app/hook/deliveries"], - redeliverWebhookDelivery: ["POST /app/hook/deliveries/{delivery_id}/attempts"], - removeRepoFromInstallation: ["DELETE /user/installations/{installation_id}/repositories/{repository_id}"], - resetToken: ["PATCH /applications/{client_id}/token"], - revokeInstallationAccessToken: ["DELETE /installation/token"], - scopeToken: ["POST /applications/{client_id}/token/scoped"], - suspendInstallation: ["PUT /app/installations/{installation_id}/suspended"], - unsuspendInstallation: ["DELETE /app/installations/{installation_id}/suspended"], - updateWebhookConfigForApp: ["PATCH /app/hook/config"] - }, - billing: { - getGithubActionsBillingOrg: ["GET /orgs/{org}/settings/billing/actions"], - getGithubActionsBillingUser: ["GET /users/{username}/settings/billing/actions"], - getGithubPackagesBillingOrg: ["GET /orgs/{org}/settings/billing/packages"], - getGithubPackagesBillingUser: ["GET /users/{username}/settings/billing/packages"], - getSharedStorageBillingOrg: ["GET /orgs/{org}/settings/billing/shared-storage"], - getSharedStorageBillingUser: ["GET /users/{username}/settings/billing/shared-storage"] - }, - checks: { - create: ["POST /repos/{owner}/{repo}/check-runs"], - createSuite: ["POST /repos/{owner}/{repo}/check-suites"], - get: ["GET /repos/{owner}/{repo}/check-runs/{check_run_id}"], - getSuite: ["GET /repos/{owner}/{repo}/check-suites/{check_suite_id}"], - listAnnotations: ["GET /repos/{owner}/{repo}/check-runs/{check_run_id}/annotations"], - listForRef: ["GET /repos/{owner}/{repo}/commits/{ref}/check-runs"], - listForSuite: ["GET /repos/{owner}/{repo}/check-suites/{check_suite_id}/check-runs"], - listSuitesForRef: ["GET /repos/{owner}/{repo}/commits/{ref}/check-suites"], - rerequestSuite: ["POST /repos/{owner}/{repo}/check-suites/{check_suite_id}/rerequest"], - setSuitesPreferences: ["PATCH /repos/{owner}/{repo}/check-suites/preferences"], - update: ["PATCH /repos/{owner}/{repo}/check-runs/{check_run_id}"] - }, - codeScanning: { - deleteAnalysis: ["DELETE /repos/{owner}/{repo}/code-scanning/analyses/{analysis_id}{?confirm_delete}"], - getAlert: ["GET /repos/{owner}/{repo}/code-scanning/alerts/{alert_number}", {}, { - renamedParameters: { - alert_id: "alert_number" - } - }], - getAnalysis: ["GET /repos/{owner}/{repo}/code-scanning/analyses/{analysis_id}"], - getSarif: ["GET /repos/{owner}/{repo}/code-scanning/sarifs/{sarif_id}"], - listAlertInstances: ["GET /repos/{owner}/{repo}/code-scanning/alerts/{alert_number}/instances"], - listAlertsForRepo: ["GET /repos/{owner}/{repo}/code-scanning/alerts"], - listAlertsInstances: ["GET /repos/{owner}/{repo}/code-scanning/alerts/{alert_number}/instances", {}, { - renamed: ["codeScanning", "listAlertInstances"] - }], - listRecentAnalyses: ["GET /repos/{owner}/{repo}/code-scanning/analyses"], - updateAlert: ["PATCH /repos/{owner}/{repo}/code-scanning/alerts/{alert_number}"], - uploadSarif: ["POST /repos/{owner}/{repo}/code-scanning/sarifs"] - }, - codesOfConduct: { - getAllCodesOfConduct: ["GET /codes_of_conduct"], - getConductCode: ["GET /codes_of_conduct/{key}"], - getForRepo: ["GET /repos/{owner}/{repo}/community/code_of_conduct", { - mediaType: { - previews: ["scarlet-witch"] - } - }] - }, - emojis: { - get: ["GET /emojis"] - }, - enterpriseAdmin: { - disableSelectedOrganizationGithubActionsEnterprise: ["DELETE /enterprises/{enterprise}/actions/permissions/organizations/{org_id}"], - enableSelectedOrganizationGithubActionsEnterprise: ["PUT /enterprises/{enterprise}/actions/permissions/organizations/{org_id}"], - getAllowedActionsEnterprise: ["GET /enterprises/{enterprise}/actions/permissions/selected-actions"], - getGithubActionsPermissionsEnterprise: ["GET /enterprises/{enterprise}/actions/permissions"], - listSelectedOrganizationsEnabledGithubActionsEnterprise: ["GET /enterprises/{enterprise}/actions/permissions/organizations"], - setAllowedActionsEnterprise: ["PUT /enterprises/{enterprise}/actions/permissions/selected-actions"], - setGithubActionsPermissionsEnterprise: ["PUT /enterprises/{enterprise}/actions/permissions"], - setSelectedOrganizationsEnabledGithubActionsEnterprise: ["PUT /enterprises/{enterprise}/actions/permissions/organizations"] - }, - gists: { - checkIsStarred: ["GET /gists/{gist_id}/star"], - create: ["POST /gists"], - createComment: ["POST /gists/{gist_id}/comments"], - delete: ["DELETE /gists/{gist_id}"], - deleteComment: ["DELETE /gists/{gist_id}/comments/{comment_id}"], - fork: ["POST /gists/{gist_id}/forks"], - get: ["GET /gists/{gist_id}"], - getComment: ["GET /gists/{gist_id}/comments/{comment_id}"], - getRevision: ["GET /gists/{gist_id}/{sha}"], - list: ["GET /gists"], - listComments: ["GET /gists/{gist_id}/comments"], - listCommits: ["GET /gists/{gist_id}/commits"], - listForUser: ["GET /users/{username}/gists"], - listForks: ["GET /gists/{gist_id}/forks"], - listPublic: ["GET /gists/public"], - listStarred: ["GET /gists/starred"], - star: ["PUT /gists/{gist_id}/star"], - unstar: ["DELETE /gists/{gist_id}/star"], - update: ["PATCH /gists/{gist_id}"], - updateComment: ["PATCH /gists/{gist_id}/comments/{comment_id}"] - }, - git: { - createBlob: ["POST /repos/{owner}/{repo}/git/blobs"], - createCommit: ["POST /repos/{owner}/{repo}/git/commits"], - createRef: ["POST /repos/{owner}/{repo}/git/refs"], - createTag: ["POST /repos/{owner}/{repo}/git/tags"], - createTree: ["POST /repos/{owner}/{repo}/git/trees"], - deleteRef: ["DELETE /repos/{owner}/{repo}/git/refs/{ref}"], - getBlob: ["GET /repos/{owner}/{repo}/git/blobs/{file_sha}"], - getCommit: ["GET /repos/{owner}/{repo}/git/commits/{commit_sha}"], - getRef: ["GET /repos/{owner}/{repo}/git/ref/{ref}"], - getTag: ["GET /repos/{owner}/{repo}/git/tags/{tag_sha}"], - getTree: ["GET /repos/{owner}/{repo}/git/trees/{tree_sha}"], - listMatchingRefs: ["GET /repos/{owner}/{repo}/git/matching-refs/{ref}"], - updateRef: ["PATCH /repos/{owner}/{repo}/git/refs/{ref}"] - }, - gitignore: { - getAllTemplates: ["GET /gitignore/templates"], - getTemplate: ["GET /gitignore/templates/{name}"] - }, - interactions: { - getRestrictionsForAuthenticatedUser: ["GET /user/interaction-limits"], - getRestrictionsForOrg: ["GET /orgs/{org}/interaction-limits"], - getRestrictionsForRepo: ["GET /repos/{owner}/{repo}/interaction-limits"], - getRestrictionsForYourPublicRepos: ["GET /user/interaction-limits", {}, { - renamed: ["interactions", "getRestrictionsForAuthenticatedUser"] - }], - removeRestrictionsForAuthenticatedUser: ["DELETE /user/interaction-limits"], - removeRestrictionsForOrg: ["DELETE /orgs/{org}/interaction-limits"], - removeRestrictionsForRepo: ["DELETE /repos/{owner}/{repo}/interaction-limits"], - removeRestrictionsForYourPublicRepos: ["DELETE /user/interaction-limits", {}, { - renamed: ["interactions", "removeRestrictionsForAuthenticatedUser"] - }], - setRestrictionsForAuthenticatedUser: ["PUT /user/interaction-limits"], - setRestrictionsForOrg: ["PUT /orgs/{org}/interaction-limits"], - setRestrictionsForRepo: ["PUT /repos/{owner}/{repo}/interaction-limits"], - setRestrictionsForYourPublicRepos: ["PUT /user/interaction-limits", {}, { - renamed: ["interactions", "setRestrictionsForAuthenticatedUser"] - }] - }, - issues: { - addAssignees: ["POST /repos/{owner}/{repo}/issues/{issue_number}/assignees"], - addLabels: ["POST /repos/{owner}/{repo}/issues/{issue_number}/labels"], - checkUserCanBeAssigned: ["GET /repos/{owner}/{repo}/assignees/{assignee}"], - create: ["POST /repos/{owner}/{repo}/issues"], - createComment: ["POST /repos/{owner}/{repo}/issues/{issue_number}/comments"], - createLabel: ["POST /repos/{owner}/{repo}/labels"], - createMilestone: ["POST /repos/{owner}/{repo}/milestones"], - deleteComment: ["DELETE /repos/{owner}/{repo}/issues/comments/{comment_id}"], - deleteLabel: ["DELETE /repos/{owner}/{repo}/labels/{name}"], - deleteMilestone: ["DELETE /repos/{owner}/{repo}/milestones/{milestone_number}"], - get: ["GET /repos/{owner}/{repo}/issues/{issue_number}"], - getComment: ["GET /repos/{owner}/{repo}/issues/comments/{comment_id}"], - getEvent: ["GET /repos/{owner}/{repo}/issues/events/{event_id}"], - getLabel: ["GET /repos/{owner}/{repo}/labels/{name}"], - getMilestone: ["GET /repos/{owner}/{repo}/milestones/{milestone_number}"], - list: ["GET /issues"], - listAssignees: ["GET /repos/{owner}/{repo}/assignees"], - listComments: ["GET /repos/{owner}/{repo}/issues/{issue_number}/comments"], - listCommentsForRepo: ["GET /repos/{owner}/{repo}/issues/comments"], - listEvents: ["GET /repos/{owner}/{repo}/issues/{issue_number}/events"], - listEventsForRepo: ["GET /repos/{owner}/{repo}/issues/events"], - listEventsForTimeline: ["GET /repos/{owner}/{repo}/issues/{issue_number}/timeline", { - mediaType: { - previews: ["mockingbird"] - } - }], - listForAuthenticatedUser: ["GET /user/issues"], - listForOrg: ["GET /orgs/{org}/issues"], - listForRepo: ["GET /repos/{owner}/{repo}/issues"], - listLabelsForMilestone: ["GET /repos/{owner}/{repo}/milestones/{milestone_number}/labels"], - listLabelsForRepo: ["GET /repos/{owner}/{repo}/labels"], - listLabelsOnIssue: ["GET /repos/{owner}/{repo}/issues/{issue_number}/labels"], - listMilestones: ["GET /repos/{owner}/{repo}/milestones"], - lock: ["PUT /repos/{owner}/{repo}/issues/{issue_number}/lock"], - removeAllLabels: ["DELETE /repos/{owner}/{repo}/issues/{issue_number}/labels"], - removeAssignees: ["DELETE /repos/{owner}/{repo}/issues/{issue_number}/assignees"], - removeLabel: ["DELETE /repos/{owner}/{repo}/issues/{issue_number}/labels/{name}"], - setLabels: ["PUT /repos/{owner}/{repo}/issues/{issue_number}/labels"], - unlock: ["DELETE /repos/{owner}/{repo}/issues/{issue_number}/lock"], - update: ["PATCH /repos/{owner}/{repo}/issues/{issue_number}"], - updateComment: ["PATCH /repos/{owner}/{repo}/issues/comments/{comment_id}"], - updateLabel: ["PATCH /repos/{owner}/{repo}/labels/{name}"], - updateMilestone: ["PATCH /repos/{owner}/{repo}/milestones/{milestone_number}"] - }, - licenses: { - get: ["GET /licenses/{license}"], - getAllCommonlyUsed: ["GET /licenses"], - getForRepo: ["GET /repos/{owner}/{repo}/license"] - }, - markdown: { - render: ["POST /markdown"], - renderRaw: ["POST /markdown/raw", { - headers: { - "content-type": "text/plain; charset=utf-8" - } - }] - }, - meta: { - get: ["GET /meta"], - getOctocat: ["GET /octocat"], - getZen: ["GET /zen"], - root: ["GET /"] - }, - migrations: { - cancelImport: ["DELETE /repos/{owner}/{repo}/import"], - deleteArchiveForAuthenticatedUser: ["DELETE /user/migrations/{migration_id}/archive", { - mediaType: { - previews: ["wyandotte"] - } - }], - deleteArchiveForOrg: ["DELETE /orgs/{org}/migrations/{migration_id}/archive", { - mediaType: { - previews: ["wyandotte"] - } - }], - downloadArchiveForOrg: ["GET /orgs/{org}/migrations/{migration_id}/archive", { - mediaType: { - previews: ["wyandotte"] - } - }], - getArchiveForAuthenticatedUser: ["GET /user/migrations/{migration_id}/archive", { - mediaType: { - previews: ["wyandotte"] - } - }], - getCommitAuthors: ["GET /repos/{owner}/{repo}/import/authors"], - getImportStatus: ["GET /repos/{owner}/{repo}/import"], - getLargeFiles: ["GET /repos/{owner}/{repo}/import/large_files"], - getStatusForAuthenticatedUser: ["GET /user/migrations/{migration_id}", { - mediaType: { - previews: ["wyandotte"] - } - }], - getStatusForOrg: ["GET /orgs/{org}/migrations/{migration_id}", { - mediaType: { - previews: ["wyandotte"] - } - }], - listForAuthenticatedUser: ["GET /user/migrations", { - mediaType: { - previews: ["wyandotte"] - } - }], - listForOrg: ["GET /orgs/{org}/migrations", { - mediaType: { - previews: ["wyandotte"] - } - }], - listReposForOrg: ["GET /orgs/{org}/migrations/{migration_id}/repositories", { - mediaType: { - previews: ["wyandotte"] - } - }], - listReposForUser: ["GET /user/migrations/{migration_id}/repositories", { - mediaType: { - previews: ["wyandotte"] - } - }], - mapCommitAuthor: ["PATCH /repos/{owner}/{repo}/import/authors/{author_id}"], - setLfsPreference: ["PATCH /repos/{owner}/{repo}/import/lfs"], - startForAuthenticatedUser: ["POST /user/migrations"], - startForOrg: ["POST /orgs/{org}/migrations"], - startImport: ["PUT /repos/{owner}/{repo}/import"], - unlockRepoForAuthenticatedUser: ["DELETE /user/migrations/{migration_id}/repos/{repo_name}/lock", { - mediaType: { - previews: ["wyandotte"] - } - }], - unlockRepoForOrg: ["DELETE /orgs/{org}/migrations/{migration_id}/repos/{repo_name}/lock", { - mediaType: { - previews: ["wyandotte"] - } - }], - updateImport: ["PATCH /repos/{owner}/{repo}/import"] - }, - orgs: { - blockUser: ["PUT /orgs/{org}/blocks/{username}"], - cancelInvitation: ["DELETE /orgs/{org}/invitations/{invitation_id}"], - checkBlockedUser: ["GET /orgs/{org}/blocks/{username}"], - checkMembershipForUser: ["GET /orgs/{org}/members/{username}"], - checkPublicMembershipForUser: ["GET /orgs/{org}/public_members/{username}"], - convertMemberToOutsideCollaborator: ["PUT /orgs/{org}/outside_collaborators/{username}"], - createInvitation: ["POST /orgs/{org}/invitations"], - createWebhook: ["POST /orgs/{org}/hooks"], - deleteWebhook: ["DELETE /orgs/{org}/hooks/{hook_id}"], - get: ["GET /orgs/{org}"], - getMembershipForAuthenticatedUser: ["GET /user/memberships/orgs/{org}"], - getMembershipForUser: ["GET /orgs/{org}/memberships/{username}"], - getWebhook: ["GET /orgs/{org}/hooks/{hook_id}"], - getWebhookConfigForOrg: ["GET /orgs/{org}/hooks/{hook_id}/config"], - getWebhookDelivery: ["GET /orgs/{org}/hooks/{hook_id}/deliveries/{delivery_id}"], - list: ["GET /organizations"], - listAppInstallations: ["GET /orgs/{org}/installations"], - listBlockedUsers: ["GET /orgs/{org}/blocks"], - listFailedInvitations: ["GET /orgs/{org}/failed_invitations"], - listForAuthenticatedUser: ["GET /user/orgs"], - listForUser: ["GET /users/{username}/orgs"], - listInvitationTeams: ["GET /orgs/{org}/invitations/{invitation_id}/teams"], - listMembers: ["GET /orgs/{org}/members"], - listMembershipsForAuthenticatedUser: ["GET /user/memberships/orgs"], - listOutsideCollaborators: ["GET /orgs/{org}/outside_collaborators"], - listPendingInvitations: ["GET /orgs/{org}/invitations"], - listPublicMembers: ["GET /orgs/{org}/public_members"], - listWebhookDeliveries: ["GET /orgs/{org}/hooks/{hook_id}/deliveries"], - listWebhooks: ["GET /orgs/{org}/hooks"], - pingWebhook: ["POST /orgs/{org}/hooks/{hook_id}/pings"], - redeliverWebhookDelivery: ["POST /orgs/{org}/hooks/{hook_id}/deliveries/{delivery_id}/attempts"], - removeMember: ["DELETE /orgs/{org}/members/{username}"], - removeMembershipForUser: ["DELETE /orgs/{org}/memberships/{username}"], - removeOutsideCollaborator: ["DELETE /orgs/{org}/outside_collaborators/{username}"], - removePublicMembershipForAuthenticatedUser: ["DELETE /orgs/{org}/public_members/{username}"], - setMembershipForUser: ["PUT /orgs/{org}/memberships/{username}"], - setPublicMembershipForAuthenticatedUser: ["PUT /orgs/{org}/public_members/{username}"], - unblockUser: ["DELETE /orgs/{org}/blocks/{username}"], - update: ["PATCH /orgs/{org}"], - updateMembershipForAuthenticatedUser: ["PATCH /user/memberships/orgs/{org}"], - updateWebhook: ["PATCH /orgs/{org}/hooks/{hook_id}"], - updateWebhookConfigForOrg: ["PATCH /orgs/{org}/hooks/{hook_id}/config"] - }, - packages: { - deletePackageForAuthenticatedUser: ["DELETE /user/packages/{package_type}/{package_name}"], - deletePackageForOrg: ["DELETE /orgs/{org}/packages/{package_type}/{package_name}"], - deletePackageVersionForAuthenticatedUser: ["DELETE /user/packages/{package_type}/{package_name}/versions/{package_version_id}"], - deletePackageVersionForOrg: ["DELETE /orgs/{org}/packages/{package_type}/{package_name}/versions/{package_version_id}"], - getAllPackageVersionsForAPackageOwnedByAnOrg: ["GET /orgs/{org}/packages/{package_type}/{package_name}/versions", {}, { - renamed: ["packages", "getAllPackageVersionsForPackageOwnedByOrg"] - }], - getAllPackageVersionsForAPackageOwnedByTheAuthenticatedUser: ["GET /user/packages/{package_type}/{package_name}/versions", {}, { - renamed: ["packages", "getAllPackageVersionsForPackageOwnedByAuthenticatedUser"] - }], - getAllPackageVersionsForPackageOwnedByAuthenticatedUser: ["GET /user/packages/{package_type}/{package_name}/versions"], - getAllPackageVersionsForPackageOwnedByOrg: ["GET /orgs/{org}/packages/{package_type}/{package_name}/versions"], - getAllPackageVersionsForPackageOwnedByUser: ["GET /users/{username}/packages/{package_type}/{package_name}/versions"], - getPackageForAuthenticatedUser: ["GET /user/packages/{package_type}/{package_name}"], - getPackageForOrganization: ["GET /orgs/{org}/packages/{package_type}/{package_name}"], - getPackageForUser: ["GET /users/{username}/packages/{package_type}/{package_name}"], - getPackageVersionForAuthenticatedUser: ["GET /user/packages/{package_type}/{package_name}/versions/{package_version_id}"], - getPackageVersionForOrganization: ["GET /orgs/{org}/packages/{package_type}/{package_name}/versions/{package_version_id}"], - getPackageVersionForUser: ["GET /users/{username}/packages/{package_type}/{package_name}/versions/{package_version_id}"], - restorePackageForAuthenticatedUser: ["POST /user/packages/{package_type}/{package_name}/restore{?token}"], - restorePackageForOrg: ["POST /orgs/{org}/packages/{package_type}/{package_name}/restore{?token}"], - restorePackageVersionForAuthenticatedUser: ["POST /user/packages/{package_type}/{package_name}/versions/{package_version_id}/restore"], - restorePackageVersionForOrg: ["POST /orgs/{org}/packages/{package_type}/{package_name}/versions/{package_version_id}/restore"] - }, - projects: { - addCollaborator: ["PUT /projects/{project_id}/collaborators/{username}", { - mediaType: { - previews: ["inertia"] - } - }], - createCard: ["POST /projects/columns/{column_id}/cards", { - mediaType: { - previews: ["inertia"] - } - }], - createColumn: ["POST /projects/{project_id}/columns", { - mediaType: { - previews: ["inertia"] - } - }], - createForAuthenticatedUser: ["POST /user/projects", { - mediaType: { - previews: ["inertia"] - } - }], - createForOrg: ["POST /orgs/{org}/projects", { - mediaType: { - previews: ["inertia"] - } - }], - createForRepo: ["POST /repos/{owner}/{repo}/projects", { - mediaType: { - previews: ["inertia"] - } - }], - delete: ["DELETE /projects/{project_id}", { - mediaType: { - previews: ["inertia"] - } - }], - deleteCard: ["DELETE /projects/columns/cards/{card_id}", { - mediaType: { - previews: ["inertia"] - } - }], - deleteColumn: ["DELETE /projects/columns/{column_id}", { - mediaType: { - previews: ["inertia"] - } - }], - get: ["GET /projects/{project_id}", { - mediaType: { - previews: ["inertia"] - } - }], - getCard: ["GET /projects/columns/cards/{card_id}", { - mediaType: { - previews: ["inertia"] - } - }], - getColumn: ["GET /projects/columns/{column_id}", { - mediaType: { - previews: ["inertia"] - } - }], - getPermissionForUser: ["GET /projects/{project_id}/collaborators/{username}/permission", { - mediaType: { - previews: ["inertia"] - } - }], - listCards: ["GET /projects/columns/{column_id}/cards", { - mediaType: { - previews: ["inertia"] - } - }], - listCollaborators: ["GET /projects/{project_id}/collaborators", { - mediaType: { - previews: ["inertia"] - } - }], - listColumns: ["GET /projects/{project_id}/columns", { - mediaType: { - previews: ["inertia"] - } - }], - listForOrg: ["GET /orgs/{org}/projects", { - mediaType: { - previews: ["inertia"] - } - }], - listForRepo: ["GET /repos/{owner}/{repo}/projects", { - mediaType: { - previews: ["inertia"] - } - }], - listForUser: ["GET /users/{username}/projects", { - mediaType: { - previews: ["inertia"] - } - }], - moveCard: ["POST /projects/columns/cards/{card_id}/moves", { - mediaType: { - previews: ["inertia"] - } - }], - moveColumn: ["POST /projects/columns/{column_id}/moves", { - mediaType: { - previews: ["inertia"] - } - }], - removeCollaborator: ["DELETE /projects/{project_id}/collaborators/{username}", { - mediaType: { - previews: ["inertia"] - } - }], - update: ["PATCH /projects/{project_id}", { - mediaType: { - previews: ["inertia"] - } - }], - updateCard: ["PATCH /projects/columns/cards/{card_id}", { - mediaType: { - previews: ["inertia"] - } - }], - updateColumn: ["PATCH /projects/columns/{column_id}", { - mediaType: { - previews: ["inertia"] - } - }] - }, - pulls: { - checkIfMerged: ["GET /repos/{owner}/{repo}/pulls/{pull_number}/merge"], - create: ["POST /repos/{owner}/{repo}/pulls"], - createReplyForReviewComment: ["POST /repos/{owner}/{repo}/pulls/{pull_number}/comments/{comment_id}/replies"], - createReview: ["POST /repos/{owner}/{repo}/pulls/{pull_number}/reviews"], - createReviewComment: ["POST /repos/{owner}/{repo}/pulls/{pull_number}/comments"], - deletePendingReview: ["DELETE /repos/{owner}/{repo}/pulls/{pull_number}/reviews/{review_id}"], - deleteReviewComment: ["DELETE /repos/{owner}/{repo}/pulls/comments/{comment_id}"], - dismissReview: ["PUT /repos/{owner}/{repo}/pulls/{pull_number}/reviews/{review_id}/dismissals"], - get: ["GET /repos/{owner}/{repo}/pulls/{pull_number}"], - getReview: ["GET /repos/{owner}/{repo}/pulls/{pull_number}/reviews/{review_id}"], - getReviewComment: ["GET /repos/{owner}/{repo}/pulls/comments/{comment_id}"], - list: ["GET /repos/{owner}/{repo}/pulls"], - listCommentsForReview: ["GET /repos/{owner}/{repo}/pulls/{pull_number}/reviews/{review_id}/comments"], - listCommits: ["GET /repos/{owner}/{repo}/pulls/{pull_number}/commits"], - listFiles: ["GET /repos/{owner}/{repo}/pulls/{pull_number}/files"], - listRequestedReviewers: ["GET /repos/{owner}/{repo}/pulls/{pull_number}/requested_reviewers"], - listReviewComments: ["GET /repos/{owner}/{repo}/pulls/{pull_number}/comments"], - listReviewCommentsForRepo: ["GET /repos/{owner}/{repo}/pulls/comments"], - listReviews: ["GET /repos/{owner}/{repo}/pulls/{pull_number}/reviews"], - merge: ["PUT /repos/{owner}/{repo}/pulls/{pull_number}/merge"], - removeRequestedReviewers: ["DELETE /repos/{owner}/{repo}/pulls/{pull_number}/requested_reviewers"], - requestReviewers: ["POST /repos/{owner}/{repo}/pulls/{pull_number}/requested_reviewers"], - submitReview: ["POST /repos/{owner}/{repo}/pulls/{pull_number}/reviews/{review_id}/events"], - update: ["PATCH /repos/{owner}/{repo}/pulls/{pull_number}"], - updateBranch: ["PUT /repos/{owner}/{repo}/pulls/{pull_number}/update-branch", { - mediaType: { - previews: ["lydian"] - } - }], - updateReview: ["PUT /repos/{owner}/{repo}/pulls/{pull_number}/reviews/{review_id}"], - updateReviewComment: ["PATCH /repos/{owner}/{repo}/pulls/comments/{comment_id}"] - }, - rateLimit: { - get: ["GET /rate_limit"] - }, - reactions: { - createForCommitComment: ["POST /repos/{owner}/{repo}/comments/{comment_id}/reactions", { - mediaType: { - previews: ["squirrel-girl"] - } - }], - createForIssue: ["POST /repos/{owner}/{repo}/issues/{issue_number}/reactions", { - mediaType: { - previews: ["squirrel-girl"] - } - }], - createForIssueComment: ["POST /repos/{owner}/{repo}/issues/comments/{comment_id}/reactions", { - mediaType: { - previews: ["squirrel-girl"] - } - }], - createForPullRequestReviewComment: ["POST /repos/{owner}/{repo}/pulls/comments/{comment_id}/reactions", { - mediaType: { - previews: ["squirrel-girl"] - } - }], - createForRelease: ["POST /repos/{owner}/{repo}/releases/{release_id}/reactions", { - mediaType: { - previews: ["squirrel-girl"] - } - }], - createForTeamDiscussionCommentInOrg: ["POST /orgs/{org}/teams/{team_slug}/discussions/{discussion_number}/comments/{comment_number}/reactions", { - mediaType: { - previews: ["squirrel-girl"] - } - }], - createForTeamDiscussionInOrg: ["POST /orgs/{org}/teams/{team_slug}/discussions/{discussion_number}/reactions", { - mediaType: { - previews: ["squirrel-girl"] - } - }], - deleteForCommitComment: ["DELETE /repos/{owner}/{repo}/comments/{comment_id}/reactions/{reaction_id}", { - mediaType: { - previews: ["squirrel-girl"] - } - }], - deleteForIssue: ["DELETE /repos/{owner}/{repo}/issues/{issue_number}/reactions/{reaction_id}", { - mediaType: { - previews: ["squirrel-girl"] - } - }], - deleteForIssueComment: ["DELETE /repos/{owner}/{repo}/issues/comments/{comment_id}/reactions/{reaction_id}", { - mediaType: { - previews: ["squirrel-girl"] - } - }], - deleteForPullRequestComment: ["DELETE /repos/{owner}/{repo}/pulls/comments/{comment_id}/reactions/{reaction_id}", { - mediaType: { - previews: ["squirrel-girl"] - } - }], - deleteForTeamDiscussion: ["DELETE /orgs/{org}/teams/{team_slug}/discussions/{discussion_number}/reactions/{reaction_id}", { - mediaType: { - previews: ["squirrel-girl"] - } - }], - deleteForTeamDiscussionComment: ["DELETE /orgs/{org}/teams/{team_slug}/discussions/{discussion_number}/comments/{comment_number}/reactions/{reaction_id}", { - mediaType: { - previews: ["squirrel-girl"] - } - }], - deleteLegacy: ["DELETE /reactions/{reaction_id}", { - mediaType: { - previews: ["squirrel-girl"] - } - }, { - deprecated: "octokit.rest.reactions.deleteLegacy() is deprecated, see https://docs.github.com/rest/reference/reactions/#delete-a-reaction-legacy" - }], - listForCommitComment: ["GET /repos/{owner}/{repo}/comments/{comment_id}/reactions", { - mediaType: { - previews: ["squirrel-girl"] - } - }], - listForIssue: ["GET /repos/{owner}/{repo}/issues/{issue_number}/reactions", { - mediaType: { - previews: ["squirrel-girl"] - } - }], - listForIssueComment: ["GET /repos/{owner}/{repo}/issues/comments/{comment_id}/reactions", { - mediaType: { - previews: ["squirrel-girl"] - } - }], - listForPullRequestReviewComment: ["GET /repos/{owner}/{repo}/pulls/comments/{comment_id}/reactions", { - mediaType: { - previews: ["squirrel-girl"] - } - }], - listForTeamDiscussionCommentInOrg: ["GET /orgs/{org}/teams/{team_slug}/discussions/{discussion_number}/comments/{comment_number}/reactions", { - mediaType: { - previews: ["squirrel-girl"] - } - }], - listForTeamDiscussionInOrg: ["GET /orgs/{org}/teams/{team_slug}/discussions/{discussion_number}/reactions", { - mediaType: { - previews: ["squirrel-girl"] - } - }] - }, - repos: { - acceptInvitation: ["PATCH /user/repository_invitations/{invitation_id}"], - addAppAccessRestrictions: ["POST /repos/{owner}/{repo}/branches/{branch}/protection/restrictions/apps", {}, { - mapToData: "apps" - }], - addCollaborator: ["PUT /repos/{owner}/{repo}/collaborators/{username}"], - addStatusCheckContexts: ["POST /repos/{owner}/{repo}/branches/{branch}/protection/required_status_checks/contexts", {}, { - mapToData: "contexts" - }], - addTeamAccessRestrictions: ["POST /repos/{owner}/{repo}/branches/{branch}/protection/restrictions/teams", {}, { - mapToData: "teams" - }], - addUserAccessRestrictions: ["POST /repos/{owner}/{repo}/branches/{branch}/protection/restrictions/users", {}, { - mapToData: "users" - }], - checkCollaborator: ["GET /repos/{owner}/{repo}/collaborators/{username}"], - checkVulnerabilityAlerts: ["GET /repos/{owner}/{repo}/vulnerability-alerts", { - mediaType: { - previews: ["dorian"] - } - }], - compareCommits: ["GET /repos/{owner}/{repo}/compare/{base}...{head}"], - compareCommitsWithBasehead: ["GET /repos/{owner}/{repo}/compare/{basehead}"], - createCommitComment: ["POST /repos/{owner}/{repo}/commits/{commit_sha}/comments"], - createCommitSignatureProtection: ["POST /repos/{owner}/{repo}/branches/{branch}/protection/required_signatures", { - mediaType: { - previews: ["zzzax"] - } - }], - createCommitStatus: ["POST /repos/{owner}/{repo}/statuses/{sha}"], - createDeployKey: ["POST /repos/{owner}/{repo}/keys"], - createDeployment: ["POST /repos/{owner}/{repo}/deployments"], - createDeploymentStatus: ["POST /repos/{owner}/{repo}/deployments/{deployment_id}/statuses"], - createDispatchEvent: ["POST /repos/{owner}/{repo}/dispatches"], - createForAuthenticatedUser: ["POST /user/repos"], - createFork: ["POST /repos/{owner}/{repo}/forks"], - createInOrg: ["POST /orgs/{org}/repos"], - createOrUpdateEnvironment: ["PUT /repos/{owner}/{repo}/environments/{environment_name}"], - createOrUpdateFileContents: ["PUT /repos/{owner}/{repo}/contents/{path}"], - createPagesSite: ["POST /repos/{owner}/{repo}/pages", { - mediaType: { - previews: ["switcheroo"] - } - }], - createRelease: ["POST /repos/{owner}/{repo}/releases"], - createUsingTemplate: ["POST /repos/{template_owner}/{template_repo}/generate", { - mediaType: { - previews: ["baptiste"] - } - }], - createWebhook: ["POST /repos/{owner}/{repo}/hooks"], - declineInvitation: ["DELETE /user/repository_invitations/{invitation_id}"], - delete: ["DELETE /repos/{owner}/{repo}"], - deleteAccessRestrictions: ["DELETE /repos/{owner}/{repo}/branches/{branch}/protection/restrictions"], - deleteAdminBranchProtection: ["DELETE /repos/{owner}/{repo}/branches/{branch}/protection/enforce_admins"], - deleteAnEnvironment: ["DELETE /repos/{owner}/{repo}/environments/{environment_name}"], - deleteBranchProtection: ["DELETE /repos/{owner}/{repo}/branches/{branch}/protection"], - deleteCommitComment: ["DELETE /repos/{owner}/{repo}/comments/{comment_id}"], - deleteCommitSignatureProtection: ["DELETE /repos/{owner}/{repo}/branches/{branch}/protection/required_signatures", { - mediaType: { - previews: ["zzzax"] - } - }], - deleteDeployKey: ["DELETE /repos/{owner}/{repo}/keys/{key_id}"], - deleteDeployment: ["DELETE /repos/{owner}/{repo}/deployments/{deployment_id}"], - deleteFile: ["DELETE /repos/{owner}/{repo}/contents/{path}"], - deleteInvitation: ["DELETE /repos/{owner}/{repo}/invitations/{invitation_id}"], - deletePagesSite: ["DELETE /repos/{owner}/{repo}/pages", { - mediaType: { - previews: ["switcheroo"] - } - }], - deletePullRequestReviewProtection: ["DELETE /repos/{owner}/{repo}/branches/{branch}/protection/required_pull_request_reviews"], - deleteRelease: ["DELETE /repos/{owner}/{repo}/releases/{release_id}"], - deleteReleaseAsset: ["DELETE /repos/{owner}/{repo}/releases/assets/{asset_id}"], - deleteWebhook: ["DELETE /repos/{owner}/{repo}/hooks/{hook_id}"], - disableAutomatedSecurityFixes: ["DELETE /repos/{owner}/{repo}/automated-security-fixes", { - mediaType: { - previews: ["london"] - } - }], - disableVulnerabilityAlerts: ["DELETE /repos/{owner}/{repo}/vulnerability-alerts", { - mediaType: { - previews: ["dorian"] - } - }], - downloadArchive: ["GET /repos/{owner}/{repo}/zipball/{ref}", {}, { - renamed: ["repos", "downloadZipballArchive"] - }], - downloadTarballArchive: ["GET /repos/{owner}/{repo}/tarball/{ref}"], - downloadZipballArchive: ["GET /repos/{owner}/{repo}/zipball/{ref}"], - enableAutomatedSecurityFixes: ["PUT /repos/{owner}/{repo}/automated-security-fixes", { - mediaType: { - previews: ["london"] - } - }], - enableVulnerabilityAlerts: ["PUT /repos/{owner}/{repo}/vulnerability-alerts", { - mediaType: { - previews: ["dorian"] - } - }], - get: ["GET /repos/{owner}/{repo}"], - getAccessRestrictions: ["GET /repos/{owner}/{repo}/branches/{branch}/protection/restrictions"], - getAdminBranchProtection: ["GET /repos/{owner}/{repo}/branches/{branch}/protection/enforce_admins"], - getAllEnvironments: ["GET /repos/{owner}/{repo}/environments"], - getAllStatusCheckContexts: ["GET /repos/{owner}/{repo}/branches/{branch}/protection/required_status_checks/contexts"], - getAllTopics: ["GET /repos/{owner}/{repo}/topics", { - mediaType: { - previews: ["mercy"] - } - }], - getAppsWithAccessToProtectedBranch: ["GET /repos/{owner}/{repo}/branches/{branch}/protection/restrictions/apps"], - getBranch: ["GET /repos/{owner}/{repo}/branches/{branch}"], - getBranchProtection: ["GET /repos/{owner}/{repo}/branches/{branch}/protection"], - getClones: ["GET /repos/{owner}/{repo}/traffic/clones"], - getCodeFrequencyStats: ["GET /repos/{owner}/{repo}/stats/code_frequency"], - getCollaboratorPermissionLevel: ["GET /repos/{owner}/{repo}/collaborators/{username}/permission"], - getCombinedStatusForRef: ["GET /repos/{owner}/{repo}/commits/{ref}/status"], - getCommit: ["GET /repos/{owner}/{repo}/commits/{ref}"], - getCommitActivityStats: ["GET /repos/{owner}/{repo}/stats/commit_activity"], - getCommitComment: ["GET /repos/{owner}/{repo}/comments/{comment_id}"], - getCommitSignatureProtection: ["GET /repos/{owner}/{repo}/branches/{branch}/protection/required_signatures", { - mediaType: { - previews: ["zzzax"] - } - }], - getCommunityProfileMetrics: ["GET /repos/{owner}/{repo}/community/profile"], - getContent: ["GET /repos/{owner}/{repo}/contents/{path}"], - getContributorsStats: ["GET /repos/{owner}/{repo}/stats/contributors"], - getDeployKey: ["GET /repos/{owner}/{repo}/keys/{key_id}"], - getDeployment: ["GET /repos/{owner}/{repo}/deployments/{deployment_id}"], - getDeploymentStatus: ["GET /repos/{owner}/{repo}/deployments/{deployment_id}/statuses/{status_id}"], - getEnvironment: ["GET /repos/{owner}/{repo}/environments/{environment_name}"], - getLatestPagesBuild: ["GET /repos/{owner}/{repo}/pages/builds/latest"], - getLatestRelease: ["GET /repos/{owner}/{repo}/releases/latest"], - getPages: ["GET /repos/{owner}/{repo}/pages"], - getPagesBuild: ["GET /repos/{owner}/{repo}/pages/builds/{build_id}"], - getPagesHealthCheck: ["GET /repos/{owner}/{repo}/pages/health"], - getParticipationStats: ["GET /repos/{owner}/{repo}/stats/participation"], - getPullRequestReviewProtection: ["GET /repos/{owner}/{repo}/branches/{branch}/protection/required_pull_request_reviews"], - getPunchCardStats: ["GET /repos/{owner}/{repo}/stats/punch_card"], - getReadme: ["GET /repos/{owner}/{repo}/readme"], - getReadmeInDirectory: ["GET /repos/{owner}/{repo}/readme/{dir}"], - getRelease: ["GET /repos/{owner}/{repo}/releases/{release_id}"], - getReleaseAsset: ["GET /repos/{owner}/{repo}/releases/assets/{asset_id}"], - getReleaseByTag: ["GET /repos/{owner}/{repo}/releases/tags/{tag}"], - getStatusChecksProtection: ["GET /repos/{owner}/{repo}/branches/{branch}/protection/required_status_checks"], - getTeamsWithAccessToProtectedBranch: ["GET /repos/{owner}/{repo}/branches/{branch}/protection/restrictions/teams"], - getTopPaths: ["GET /repos/{owner}/{repo}/traffic/popular/paths"], - getTopReferrers: ["GET /repos/{owner}/{repo}/traffic/popular/referrers"], - getUsersWithAccessToProtectedBranch: ["GET /repos/{owner}/{repo}/branches/{branch}/protection/restrictions/users"], - getViews: ["GET /repos/{owner}/{repo}/traffic/views"], - getWebhook: ["GET /repos/{owner}/{repo}/hooks/{hook_id}"], - getWebhookConfigForRepo: ["GET /repos/{owner}/{repo}/hooks/{hook_id}/config"], - getWebhookDelivery: ["GET /repos/{owner}/{repo}/hooks/{hook_id}/deliveries/{delivery_id}"], - listBranches: ["GET /repos/{owner}/{repo}/branches"], - listBranchesForHeadCommit: ["GET /repos/{owner}/{repo}/commits/{commit_sha}/branches-where-head", { - mediaType: { - previews: ["groot"] - } - }], - listCollaborators: ["GET /repos/{owner}/{repo}/collaborators"], - listCommentsForCommit: ["GET /repos/{owner}/{repo}/commits/{commit_sha}/comments"], - listCommitCommentsForRepo: ["GET /repos/{owner}/{repo}/comments"], - listCommitStatusesForRef: ["GET /repos/{owner}/{repo}/commits/{ref}/statuses"], - listCommits: ["GET /repos/{owner}/{repo}/commits"], - listContributors: ["GET /repos/{owner}/{repo}/contributors"], - listDeployKeys: ["GET /repos/{owner}/{repo}/keys"], - listDeploymentStatuses: ["GET /repos/{owner}/{repo}/deployments/{deployment_id}/statuses"], - listDeployments: ["GET /repos/{owner}/{repo}/deployments"], - listForAuthenticatedUser: ["GET /user/repos"], - listForOrg: ["GET /orgs/{org}/repos"], - listForUser: ["GET /users/{username}/repos"], - listForks: ["GET /repos/{owner}/{repo}/forks"], - listInvitations: ["GET /repos/{owner}/{repo}/invitations"], - listInvitationsForAuthenticatedUser: ["GET /user/repository_invitations"], - listLanguages: ["GET /repos/{owner}/{repo}/languages"], - listPagesBuilds: ["GET /repos/{owner}/{repo}/pages/builds"], - listPublic: ["GET /repositories"], - listPullRequestsAssociatedWithCommit: ["GET /repos/{owner}/{repo}/commits/{commit_sha}/pulls", { - mediaType: { - previews: ["groot"] - } - }], - listReleaseAssets: ["GET /repos/{owner}/{repo}/releases/{release_id}/assets"], - listReleases: ["GET /repos/{owner}/{repo}/releases"], - listTags: ["GET /repos/{owner}/{repo}/tags"], - listTeams: ["GET /repos/{owner}/{repo}/teams"], - listWebhookDeliveries: ["GET /repos/{owner}/{repo}/hooks/{hook_id}/deliveries"], - listWebhooks: ["GET /repos/{owner}/{repo}/hooks"], - merge: ["POST /repos/{owner}/{repo}/merges"], - pingWebhook: ["POST /repos/{owner}/{repo}/hooks/{hook_id}/pings"], - redeliverWebhookDelivery: ["POST /repos/{owner}/{repo}/hooks/{hook_id}/deliveries/{delivery_id}/attempts"], - removeAppAccessRestrictions: ["DELETE /repos/{owner}/{repo}/branches/{branch}/protection/restrictions/apps", {}, { - mapToData: "apps" - }], - removeCollaborator: ["DELETE /repos/{owner}/{repo}/collaborators/{username}"], - removeStatusCheckContexts: ["DELETE /repos/{owner}/{repo}/branches/{branch}/protection/required_status_checks/contexts", {}, { - mapToData: "contexts" - }], - removeStatusCheckProtection: ["DELETE /repos/{owner}/{repo}/branches/{branch}/protection/required_status_checks"], - removeTeamAccessRestrictions: ["DELETE /repos/{owner}/{repo}/branches/{branch}/protection/restrictions/teams", {}, { - mapToData: "teams" - }], - removeUserAccessRestrictions: ["DELETE /repos/{owner}/{repo}/branches/{branch}/protection/restrictions/users", {}, { - mapToData: "users" - }], - renameBranch: ["POST /repos/{owner}/{repo}/branches/{branch}/rename"], - replaceAllTopics: ["PUT /repos/{owner}/{repo}/topics", { - mediaType: { - previews: ["mercy"] - } - }], - requestPagesBuild: ["POST /repos/{owner}/{repo}/pages/builds"], - setAdminBranchProtection: ["POST /repos/{owner}/{repo}/branches/{branch}/protection/enforce_admins"], - setAppAccessRestrictions: ["PUT /repos/{owner}/{repo}/branches/{branch}/protection/restrictions/apps", {}, { - mapToData: "apps" - }], - setStatusCheckContexts: ["PUT /repos/{owner}/{repo}/branches/{branch}/protection/required_status_checks/contexts", {}, { - mapToData: "contexts" - }], - setTeamAccessRestrictions: ["PUT /repos/{owner}/{repo}/branches/{branch}/protection/restrictions/teams", {}, { - mapToData: "teams" - }], - setUserAccessRestrictions: ["PUT /repos/{owner}/{repo}/branches/{branch}/protection/restrictions/users", {}, { - mapToData: "users" - }], - testPushWebhook: ["POST /repos/{owner}/{repo}/hooks/{hook_id}/tests"], - transfer: ["POST /repos/{owner}/{repo}/transfer"], - update: ["PATCH /repos/{owner}/{repo}"], - updateBranchProtection: ["PUT /repos/{owner}/{repo}/branches/{branch}/protection"], - updateCommitComment: ["PATCH /repos/{owner}/{repo}/comments/{comment_id}"], - updateInformationAboutPagesSite: ["PUT /repos/{owner}/{repo}/pages"], - updateInvitation: ["PATCH /repos/{owner}/{repo}/invitations/{invitation_id}"], - updatePullRequestReviewProtection: ["PATCH /repos/{owner}/{repo}/branches/{branch}/protection/required_pull_request_reviews"], - updateRelease: ["PATCH /repos/{owner}/{repo}/releases/{release_id}"], - updateReleaseAsset: ["PATCH /repos/{owner}/{repo}/releases/assets/{asset_id}"], - updateStatusCheckPotection: ["PATCH /repos/{owner}/{repo}/branches/{branch}/protection/required_status_checks", {}, { - renamed: ["repos", "updateStatusCheckProtection"] - }], - updateStatusCheckProtection: ["PATCH /repos/{owner}/{repo}/branches/{branch}/protection/required_status_checks"], - updateWebhook: ["PATCH /repos/{owner}/{repo}/hooks/{hook_id}"], - updateWebhookConfigForRepo: ["PATCH /repos/{owner}/{repo}/hooks/{hook_id}/config"], - uploadReleaseAsset: ["POST /repos/{owner}/{repo}/releases/{release_id}/assets{?name,label}", { - baseUrl: "https://uploads.github.com" - }] - }, - search: { - code: ["GET /search/code"], - commits: ["GET /search/commits", { - mediaType: { - previews: ["cloak"] - } - }], - issuesAndPullRequests: ["GET /search/issues"], - labels: ["GET /search/labels"], - repos: ["GET /search/repositories"], - topics: ["GET /search/topics", { - mediaType: { - previews: ["mercy"] - } - }], - users: ["GET /search/users"] - }, - secretScanning: { - getAlert: ["GET /repos/{owner}/{repo}/secret-scanning/alerts/{alert_number}"], - listAlertsForRepo: ["GET /repos/{owner}/{repo}/secret-scanning/alerts"], - updateAlert: ["PATCH /repos/{owner}/{repo}/secret-scanning/alerts/{alert_number}"] - }, - teams: { - addOrUpdateMembershipForUserInOrg: ["PUT /orgs/{org}/teams/{team_slug}/memberships/{username}"], - addOrUpdateProjectPermissionsInOrg: ["PUT /orgs/{org}/teams/{team_slug}/projects/{project_id}", { - mediaType: { - previews: ["inertia"] - } - }], - addOrUpdateRepoPermissionsInOrg: ["PUT /orgs/{org}/teams/{team_slug}/repos/{owner}/{repo}"], - checkPermissionsForProjectInOrg: ["GET /orgs/{org}/teams/{team_slug}/projects/{project_id}", { - mediaType: { - previews: ["inertia"] - } - }], - checkPermissionsForRepoInOrg: ["GET /orgs/{org}/teams/{team_slug}/repos/{owner}/{repo}"], - create: ["POST /orgs/{org}/teams"], - createDiscussionCommentInOrg: ["POST /orgs/{org}/teams/{team_slug}/discussions/{discussion_number}/comments"], - createDiscussionInOrg: ["POST /orgs/{org}/teams/{team_slug}/discussions"], - deleteDiscussionCommentInOrg: ["DELETE /orgs/{org}/teams/{team_slug}/discussions/{discussion_number}/comments/{comment_number}"], - deleteDiscussionInOrg: ["DELETE /orgs/{org}/teams/{team_slug}/discussions/{discussion_number}"], - deleteInOrg: ["DELETE /orgs/{org}/teams/{team_slug}"], - getByName: ["GET /orgs/{org}/teams/{team_slug}"], - getDiscussionCommentInOrg: ["GET /orgs/{org}/teams/{team_slug}/discussions/{discussion_number}/comments/{comment_number}"], - getDiscussionInOrg: ["GET /orgs/{org}/teams/{team_slug}/discussions/{discussion_number}"], - getMembershipForUserInOrg: ["GET /orgs/{org}/teams/{team_slug}/memberships/{username}"], - list: ["GET /orgs/{org}/teams"], - listChildInOrg: ["GET /orgs/{org}/teams/{team_slug}/teams"], - listDiscussionCommentsInOrg: ["GET /orgs/{org}/teams/{team_slug}/discussions/{discussion_number}/comments"], - listDiscussionsInOrg: ["GET /orgs/{org}/teams/{team_slug}/discussions"], - listForAuthenticatedUser: ["GET /user/teams"], - listMembersInOrg: ["GET /orgs/{org}/teams/{team_slug}/members"], - listPendingInvitationsInOrg: ["GET /orgs/{org}/teams/{team_slug}/invitations"], - listProjectsInOrg: ["GET /orgs/{org}/teams/{team_slug}/projects", { - mediaType: { - previews: ["inertia"] - } - }], - listReposInOrg: ["GET /orgs/{org}/teams/{team_slug}/repos"], - removeMembershipForUserInOrg: ["DELETE /orgs/{org}/teams/{team_slug}/memberships/{username}"], - removeProjectInOrg: ["DELETE /orgs/{org}/teams/{team_slug}/projects/{project_id}"], - removeRepoInOrg: ["DELETE /orgs/{org}/teams/{team_slug}/repos/{owner}/{repo}"], - updateDiscussionCommentInOrg: ["PATCH /orgs/{org}/teams/{team_slug}/discussions/{discussion_number}/comments/{comment_number}"], - updateDiscussionInOrg: ["PATCH /orgs/{org}/teams/{team_slug}/discussions/{discussion_number}"], - updateInOrg: ["PATCH /orgs/{org}/teams/{team_slug}"] - }, - users: { - addEmailForAuthenticated: ["POST /user/emails"], - block: ["PUT /user/blocks/{username}"], - checkBlocked: ["GET /user/blocks/{username}"], - checkFollowingForUser: ["GET /users/{username}/following/{target_user}"], - checkPersonIsFollowedByAuthenticated: ["GET /user/following/{username}"], - createGpgKeyForAuthenticated: ["POST /user/gpg_keys"], - createPublicSshKeyForAuthenticated: ["POST /user/keys"], - deleteEmailForAuthenticated: ["DELETE /user/emails"], - deleteGpgKeyForAuthenticated: ["DELETE /user/gpg_keys/{gpg_key_id}"], - deletePublicSshKeyForAuthenticated: ["DELETE /user/keys/{key_id}"], - follow: ["PUT /user/following/{username}"], - getAuthenticated: ["GET /user"], - getByUsername: ["GET /users/{username}"], - getContextForUser: ["GET /users/{username}/hovercard"], - getGpgKeyForAuthenticated: ["GET /user/gpg_keys/{gpg_key_id}"], - getPublicSshKeyForAuthenticated: ["GET /user/keys/{key_id}"], - list: ["GET /users"], - listBlockedByAuthenticated: ["GET /user/blocks"], - listEmailsForAuthenticated: ["GET /user/emails"], - listFollowedByAuthenticated: ["GET /user/following"], - listFollowersForAuthenticatedUser: ["GET /user/followers"], - listFollowersForUser: ["GET /users/{username}/followers"], - listFollowingForUser: ["GET /users/{username}/following"], - listGpgKeysForAuthenticated: ["GET /user/gpg_keys"], - listGpgKeysForUser: ["GET /users/{username}/gpg_keys"], - listPublicEmailsForAuthenticated: ["GET /user/public_emails"], - listPublicKeysForUser: ["GET /users/{username}/keys"], - listPublicSshKeysForAuthenticated: ["GET /user/keys"], - setPrimaryEmailVisibilityForAuthenticated: ["PATCH /user/email/visibility"], - unblock: ["DELETE /user/blocks/{username}"], - unfollow: ["DELETE /user/following/{username}"], - updateAuthenticated: ["PATCH /user"] - } -}; - -const VERSION = "5.5.2"; - -function endpointsToMethods(octokit, endpointsMap) { - const newMethods = {}; - - for (const [scope, endpoints] of Object.entries(endpointsMap)) { - for (const [methodName, endpoint] of Object.entries(endpoints)) { - const [route, defaults, decorations] = endpoint; - const [method, url] = route.split(/ /); - const endpointDefaults = Object.assign({ - method, - url - }, defaults); - - if (!newMethods[scope]) { - newMethods[scope] = {}; - } - - const scopeMethods = newMethods[scope]; - - if (decorations) { - scopeMethods[methodName] = decorate(octokit, scope, methodName, endpointDefaults, decorations); - continue; - } - - scopeMethods[methodName] = octokit.request.defaults(endpointDefaults); - } - } - - return newMethods; -} - -function decorate(octokit, scope, methodName, defaults, decorations) { - const requestWithDefaults = octokit.request.defaults(defaults); - /* istanbul ignore next */ - - function withDecorations(...args) { - // @ts-ignore https://github.com/microsoft/TypeScript/issues/25488 - let options = requestWithDefaults.endpoint.merge(...args); // There are currently no other decorations than `.mapToData` - - if (decorations.mapToData) { - options = Object.assign({}, options, { - data: options[decorations.mapToData], - [decorations.mapToData]: undefined - }); - return requestWithDefaults(options); - } - - if (decorations.renamed) { - const [newScope, newMethodName] = decorations.renamed; - octokit.log.warn(`octokit.${scope}.${methodName}() has been renamed to octokit.${newScope}.${newMethodName}()`); - } - - if (decorations.deprecated) { - octokit.log.warn(decorations.deprecated); - } - - if (decorations.renamedParameters) { - // @ts-ignore https://github.com/microsoft/TypeScript/issues/25488 - const options = requestWithDefaults.endpoint.merge(...args); - - for (const [name, alias] of Object.entries(decorations.renamedParameters)) { - if (name in options) { - octokit.log.warn(`"${name}" parameter is deprecated for "octokit.${scope}.${methodName}()". Use "${alias}" instead`); - - if (!(alias in options)) { - options[alias] = options[name]; - } - - delete options[name]; - } - } - - return requestWithDefaults(options); - } // @ts-ignore https://github.com/microsoft/TypeScript/issues/25488 - - - return requestWithDefaults(...args); - } - - return Object.assign(withDecorations, requestWithDefaults); -} - -function restEndpointMethods(octokit) { - const api = endpointsToMethods(octokit, Endpoints); - return { - rest: api - }; -} -restEndpointMethods.VERSION = VERSION; -function legacyRestEndpointMethods(octokit) { - const api = endpointsToMethods(octokit, Endpoints); - return _objectSpread2(_objectSpread2({}, api), {}, { - rest: api - }); -} -legacyRestEndpointMethods.VERSION = VERSION; - -exports.legacyRestEndpointMethods = legacyRestEndpointMethods; -exports.restEndpointMethods = restEndpointMethods; -//# sourceMappingURL=index.js.map diff --git a/node_modules/@octokit/plugin-rest-endpoint-methods/dist-node/index.js.map b/node_modules/@octokit/plugin-rest-endpoint-methods/dist-node/index.js.map deleted file mode 100644 index 5f04e54..0000000 --- a/node_modules/@octokit/plugin-rest-endpoint-methods/dist-node/index.js.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"index.js","sources":["../dist-src/generated/endpoints.js","../dist-src/version.js","../dist-src/endpoints-to-methods.js","../dist-src/index.js"],"sourcesContent":["const Endpoints = {\n actions: {\n addSelectedRepoToOrgSecret: [\n \"PUT /orgs/{org}/actions/secrets/{secret_name}/repositories/{repository_id}\",\n ],\n approveWorkflowRun: [\n \"POST /repos/{owner}/{repo}/actions/runs/{run_id}/approve\",\n ],\n cancelWorkflowRun: [\n \"POST /repos/{owner}/{repo}/actions/runs/{run_id}/cancel\",\n ],\n createOrUpdateEnvironmentSecret: [\n \"PUT /repositories/{repository_id}/environments/{environment_name}/secrets/{secret_name}\",\n ],\n createOrUpdateOrgSecret: [\"PUT /orgs/{org}/actions/secrets/{secret_name}\"],\n createOrUpdateRepoSecret: [\n \"PUT /repos/{owner}/{repo}/actions/secrets/{secret_name}\",\n ],\n createRegistrationTokenForOrg: [\n \"POST /orgs/{org}/actions/runners/registration-token\",\n ],\n createRegistrationTokenForRepo: [\n \"POST /repos/{owner}/{repo}/actions/runners/registration-token\",\n ],\n createRemoveTokenForOrg: [\"POST /orgs/{org}/actions/runners/remove-token\"],\n createRemoveTokenForRepo: [\n \"POST /repos/{owner}/{repo}/actions/runners/remove-token\",\n ],\n createWorkflowDispatch: [\n \"POST /repos/{owner}/{repo}/actions/workflows/{workflow_id}/dispatches\",\n ],\n deleteArtifact: [\n \"DELETE /repos/{owner}/{repo}/actions/artifacts/{artifact_id}\",\n ],\n deleteEnvironmentSecret: [\n \"DELETE /repositories/{repository_id}/environments/{environment_name}/secrets/{secret_name}\",\n ],\n deleteOrgSecret: [\"DELETE /orgs/{org}/actions/secrets/{secret_name}\"],\n deleteRepoSecret: [\n \"DELETE /repos/{owner}/{repo}/actions/secrets/{secret_name}\",\n ],\n deleteSelfHostedRunnerFromOrg: [\n \"DELETE /orgs/{org}/actions/runners/{runner_id}\",\n ],\n deleteSelfHostedRunnerFromRepo: [\n \"DELETE /repos/{owner}/{repo}/actions/runners/{runner_id}\",\n ],\n deleteWorkflowRun: [\"DELETE /repos/{owner}/{repo}/actions/runs/{run_id}\"],\n deleteWorkflowRunLogs: [\n \"DELETE /repos/{owner}/{repo}/actions/runs/{run_id}/logs\",\n ],\n disableSelectedRepositoryGithubActionsOrganization: [\n \"DELETE /orgs/{org}/actions/permissions/repositories/{repository_id}\",\n ],\n disableWorkflow: [\n \"PUT /repos/{owner}/{repo}/actions/workflows/{workflow_id}/disable\",\n ],\n downloadArtifact: [\n \"GET /repos/{owner}/{repo}/actions/artifacts/{artifact_id}/{archive_format}\",\n ],\n downloadJobLogsForWorkflowRun: [\n \"GET /repos/{owner}/{repo}/actions/jobs/{job_id}/logs\",\n ],\n downloadWorkflowRunLogs: [\n \"GET /repos/{owner}/{repo}/actions/runs/{run_id}/logs\",\n ],\n enableSelectedRepositoryGithubActionsOrganization: [\n \"PUT /orgs/{org}/actions/permissions/repositories/{repository_id}\",\n ],\n enableWorkflow: [\n \"PUT /repos/{owner}/{repo}/actions/workflows/{workflow_id}/enable\",\n ],\n getAllowedActionsOrganization: [\n \"GET /orgs/{org}/actions/permissions/selected-actions\",\n ],\n getAllowedActionsRepository: [\n \"GET /repos/{owner}/{repo}/actions/permissions/selected-actions\",\n ],\n getArtifact: [\"GET /repos/{owner}/{repo}/actions/artifacts/{artifact_id}\"],\n getEnvironmentPublicKey: [\n \"GET /repositories/{repository_id}/environments/{environment_name}/secrets/public-key\",\n ],\n getEnvironmentSecret: [\n \"GET /repositories/{repository_id}/environments/{environment_name}/secrets/{secret_name}\",\n ],\n getGithubActionsPermissionsOrganization: [\n \"GET /orgs/{org}/actions/permissions\",\n ],\n getGithubActionsPermissionsRepository: [\n \"GET /repos/{owner}/{repo}/actions/permissions\",\n ],\n getJobForWorkflowRun: [\"GET /repos/{owner}/{repo}/actions/jobs/{job_id}\"],\n getOrgPublicKey: [\"GET /orgs/{org}/actions/secrets/public-key\"],\n getOrgSecret: [\"GET /orgs/{org}/actions/secrets/{secret_name}\"],\n getPendingDeploymentsForRun: [\n \"GET /repos/{owner}/{repo}/actions/runs/{run_id}/pending_deployments\",\n ],\n getRepoPermissions: [\n \"GET /repos/{owner}/{repo}/actions/permissions\",\n {},\n { renamed: [\"actions\", \"getGithubActionsPermissionsRepository\"] },\n ],\n getRepoPublicKey: [\"GET /repos/{owner}/{repo}/actions/secrets/public-key\"],\n getRepoSecret: [\"GET /repos/{owner}/{repo}/actions/secrets/{secret_name}\"],\n getReviewsForRun: [\n \"GET /repos/{owner}/{repo}/actions/runs/{run_id}/approvals\",\n ],\n getSelfHostedRunnerForOrg: [\"GET /orgs/{org}/actions/runners/{runner_id}\"],\n getSelfHostedRunnerForRepo: [\n \"GET /repos/{owner}/{repo}/actions/runners/{runner_id}\",\n ],\n getWorkflow: [\"GET /repos/{owner}/{repo}/actions/workflows/{workflow_id}\"],\n getWorkflowRun: [\"GET /repos/{owner}/{repo}/actions/runs/{run_id}\"],\n getWorkflowRunUsage: [\n \"GET /repos/{owner}/{repo}/actions/runs/{run_id}/timing\",\n ],\n getWorkflowUsage: [\n \"GET /repos/{owner}/{repo}/actions/workflows/{workflow_id}/timing\",\n ],\n listArtifactsForRepo: [\"GET /repos/{owner}/{repo}/actions/artifacts\"],\n listEnvironmentSecrets: [\n \"GET /repositories/{repository_id}/environments/{environment_name}/secrets\",\n ],\n listJobsForWorkflowRun: [\n \"GET /repos/{owner}/{repo}/actions/runs/{run_id}/jobs\",\n ],\n listOrgSecrets: [\"GET /orgs/{org}/actions/secrets\"],\n listRepoSecrets: [\"GET /repos/{owner}/{repo}/actions/secrets\"],\n listRepoWorkflows: [\"GET /repos/{owner}/{repo}/actions/workflows\"],\n listRunnerApplicationsForOrg: [\"GET /orgs/{org}/actions/runners/downloads\"],\n listRunnerApplicationsForRepo: [\n \"GET /repos/{owner}/{repo}/actions/runners/downloads\",\n ],\n listSelectedReposForOrgSecret: [\n \"GET /orgs/{org}/actions/secrets/{secret_name}/repositories\",\n ],\n listSelectedRepositoriesEnabledGithubActionsOrganization: [\n \"GET /orgs/{org}/actions/permissions/repositories\",\n ],\n listSelfHostedRunnersForOrg: [\"GET /orgs/{org}/actions/runners\"],\n listSelfHostedRunnersForRepo: [\"GET /repos/{owner}/{repo}/actions/runners\"],\n listWorkflowRunArtifacts: [\n \"GET /repos/{owner}/{repo}/actions/runs/{run_id}/artifacts\",\n ],\n listWorkflowRuns: [\n \"GET /repos/{owner}/{repo}/actions/workflows/{workflow_id}/runs\",\n ],\n listWorkflowRunsForRepo: [\"GET /repos/{owner}/{repo}/actions/runs\"],\n reRunWorkflow: [\"POST /repos/{owner}/{repo}/actions/runs/{run_id}/rerun\"],\n removeSelectedRepoFromOrgSecret: [\n \"DELETE /orgs/{org}/actions/secrets/{secret_name}/repositories/{repository_id}\",\n ],\n reviewPendingDeploymentsForRun: [\n \"POST /repos/{owner}/{repo}/actions/runs/{run_id}/pending_deployments\",\n ],\n setAllowedActionsOrganization: [\n \"PUT /orgs/{org}/actions/permissions/selected-actions\",\n ],\n setAllowedActionsRepository: [\n \"PUT /repos/{owner}/{repo}/actions/permissions/selected-actions\",\n ],\n setGithubActionsPermissionsOrganization: [\n \"PUT /orgs/{org}/actions/permissions\",\n ],\n setGithubActionsPermissionsRepository: [\n \"PUT /repos/{owner}/{repo}/actions/permissions\",\n ],\n setSelectedReposForOrgSecret: [\n \"PUT /orgs/{org}/actions/secrets/{secret_name}/repositories\",\n ],\n setSelectedRepositoriesEnabledGithubActionsOrganization: [\n \"PUT /orgs/{org}/actions/permissions/repositories\",\n ],\n },\n activity: {\n checkRepoIsStarredByAuthenticatedUser: [\"GET /user/starred/{owner}/{repo}\"],\n deleteRepoSubscription: [\"DELETE /repos/{owner}/{repo}/subscription\"],\n deleteThreadSubscription: [\n \"DELETE /notifications/threads/{thread_id}/subscription\",\n ],\n getFeeds: [\"GET /feeds\"],\n getRepoSubscription: [\"GET /repos/{owner}/{repo}/subscription\"],\n getThread: [\"GET /notifications/threads/{thread_id}\"],\n getThreadSubscriptionForAuthenticatedUser: [\n \"GET /notifications/threads/{thread_id}/subscription\",\n ],\n listEventsForAuthenticatedUser: [\"GET /users/{username}/events\"],\n listNotificationsForAuthenticatedUser: [\"GET /notifications\"],\n listOrgEventsForAuthenticatedUser: [\n \"GET /users/{username}/events/orgs/{org}\",\n ],\n listPublicEvents: [\"GET /events\"],\n listPublicEventsForRepoNetwork: [\"GET /networks/{owner}/{repo}/events\"],\n listPublicEventsForUser: [\"GET /users/{username}/events/public\"],\n listPublicOrgEvents: [\"GET /orgs/{org}/events\"],\n listReceivedEventsForUser: [\"GET /users/{username}/received_events\"],\n listReceivedPublicEventsForUser: [\n \"GET /users/{username}/received_events/public\",\n ],\n listRepoEvents: [\"GET /repos/{owner}/{repo}/events\"],\n listRepoNotificationsForAuthenticatedUser: [\n \"GET /repos/{owner}/{repo}/notifications\",\n ],\n listReposStarredByAuthenticatedUser: [\"GET /user/starred\"],\n listReposStarredByUser: [\"GET /users/{username}/starred\"],\n listReposWatchedByUser: [\"GET /users/{username}/subscriptions\"],\n listStargazersForRepo: [\"GET /repos/{owner}/{repo}/stargazers\"],\n listWatchedReposForAuthenticatedUser: [\"GET /user/subscriptions\"],\n listWatchersForRepo: [\"GET /repos/{owner}/{repo}/subscribers\"],\n markNotificationsAsRead: [\"PUT /notifications\"],\n markRepoNotificationsAsRead: [\"PUT /repos/{owner}/{repo}/notifications\"],\n markThreadAsRead: [\"PATCH /notifications/threads/{thread_id}\"],\n setRepoSubscription: [\"PUT /repos/{owner}/{repo}/subscription\"],\n setThreadSubscription: [\n \"PUT /notifications/threads/{thread_id}/subscription\",\n ],\n starRepoForAuthenticatedUser: [\"PUT /user/starred/{owner}/{repo}\"],\n unstarRepoForAuthenticatedUser: [\"DELETE /user/starred/{owner}/{repo}\"],\n },\n apps: {\n addRepoToInstallation: [\n \"PUT /user/installations/{installation_id}/repositories/{repository_id}\",\n ],\n checkToken: [\"POST /applications/{client_id}/token\"],\n createContentAttachment: [\n \"POST /content_references/{content_reference_id}/attachments\",\n { mediaType: { previews: [\"corsair\"] } },\n ],\n createContentAttachmentForRepo: [\n \"POST /repos/{owner}/{repo}/content_references/{content_reference_id}/attachments\",\n { mediaType: { previews: [\"corsair\"] } },\n ],\n createFromManifest: [\"POST /app-manifests/{code}/conversions\"],\n createInstallationAccessToken: [\n \"POST /app/installations/{installation_id}/access_tokens\",\n ],\n deleteAuthorization: [\"DELETE /applications/{client_id}/grant\"],\n deleteInstallation: [\"DELETE /app/installations/{installation_id}\"],\n deleteToken: [\"DELETE /applications/{client_id}/token\"],\n getAuthenticated: [\"GET /app\"],\n getBySlug: [\"GET /apps/{app_slug}\"],\n getInstallation: [\"GET /app/installations/{installation_id}\"],\n getOrgInstallation: [\"GET /orgs/{org}/installation\"],\n getRepoInstallation: [\"GET /repos/{owner}/{repo}/installation\"],\n getSubscriptionPlanForAccount: [\n \"GET /marketplace_listing/accounts/{account_id}\",\n ],\n getSubscriptionPlanForAccountStubbed: [\n \"GET /marketplace_listing/stubbed/accounts/{account_id}\",\n ],\n getUserInstallation: [\"GET /users/{username}/installation\"],\n getWebhookConfigForApp: [\"GET /app/hook/config\"],\n getWebhookDelivery: [\"GET /app/hook/deliveries/{delivery_id}\"],\n listAccountsForPlan: [\"GET /marketplace_listing/plans/{plan_id}/accounts\"],\n listAccountsForPlanStubbed: [\n \"GET /marketplace_listing/stubbed/plans/{plan_id}/accounts\",\n ],\n listInstallationReposForAuthenticatedUser: [\n \"GET /user/installations/{installation_id}/repositories\",\n ],\n listInstallations: [\"GET /app/installations\"],\n listInstallationsForAuthenticatedUser: [\"GET /user/installations\"],\n listPlans: [\"GET /marketplace_listing/plans\"],\n listPlansStubbed: [\"GET /marketplace_listing/stubbed/plans\"],\n listReposAccessibleToInstallation: [\"GET /installation/repositories\"],\n listSubscriptionsForAuthenticatedUser: [\"GET /user/marketplace_purchases\"],\n listSubscriptionsForAuthenticatedUserStubbed: [\n \"GET /user/marketplace_purchases/stubbed\",\n ],\n listWebhookDeliveries: [\"GET /app/hook/deliveries\"],\n redeliverWebhookDelivery: [\n \"POST /app/hook/deliveries/{delivery_id}/attempts\",\n ],\n removeRepoFromInstallation: [\n \"DELETE /user/installations/{installation_id}/repositories/{repository_id}\",\n ],\n resetToken: [\"PATCH /applications/{client_id}/token\"],\n revokeInstallationAccessToken: [\"DELETE /installation/token\"],\n scopeToken: [\"POST /applications/{client_id}/token/scoped\"],\n suspendInstallation: [\"PUT /app/installations/{installation_id}/suspended\"],\n unsuspendInstallation: [\n \"DELETE /app/installations/{installation_id}/suspended\",\n ],\n updateWebhookConfigForApp: [\"PATCH /app/hook/config\"],\n },\n billing: {\n getGithubActionsBillingOrg: [\"GET /orgs/{org}/settings/billing/actions\"],\n getGithubActionsBillingUser: [\n \"GET /users/{username}/settings/billing/actions\",\n ],\n getGithubPackagesBillingOrg: [\"GET /orgs/{org}/settings/billing/packages\"],\n getGithubPackagesBillingUser: [\n \"GET /users/{username}/settings/billing/packages\",\n ],\n getSharedStorageBillingOrg: [\n \"GET /orgs/{org}/settings/billing/shared-storage\",\n ],\n getSharedStorageBillingUser: [\n \"GET /users/{username}/settings/billing/shared-storage\",\n ],\n },\n checks: {\n create: [\"POST /repos/{owner}/{repo}/check-runs\"],\n createSuite: [\"POST /repos/{owner}/{repo}/check-suites\"],\n get: [\"GET /repos/{owner}/{repo}/check-runs/{check_run_id}\"],\n getSuite: [\"GET /repos/{owner}/{repo}/check-suites/{check_suite_id}\"],\n listAnnotations: [\n \"GET /repos/{owner}/{repo}/check-runs/{check_run_id}/annotations\",\n ],\n listForRef: [\"GET /repos/{owner}/{repo}/commits/{ref}/check-runs\"],\n listForSuite: [\n \"GET /repos/{owner}/{repo}/check-suites/{check_suite_id}/check-runs\",\n ],\n listSuitesForRef: [\"GET /repos/{owner}/{repo}/commits/{ref}/check-suites\"],\n rerequestSuite: [\n \"POST /repos/{owner}/{repo}/check-suites/{check_suite_id}/rerequest\",\n ],\n setSuitesPreferences: [\n \"PATCH /repos/{owner}/{repo}/check-suites/preferences\",\n ],\n update: [\"PATCH /repos/{owner}/{repo}/check-runs/{check_run_id}\"],\n },\n codeScanning: {\n deleteAnalysis: [\n \"DELETE /repos/{owner}/{repo}/code-scanning/analyses/{analysis_id}{?confirm_delete}\",\n ],\n getAlert: [\n \"GET /repos/{owner}/{repo}/code-scanning/alerts/{alert_number}\",\n {},\n { renamedParameters: { alert_id: \"alert_number\" } },\n ],\n getAnalysis: [\n \"GET /repos/{owner}/{repo}/code-scanning/analyses/{analysis_id}\",\n ],\n getSarif: [\"GET /repos/{owner}/{repo}/code-scanning/sarifs/{sarif_id}\"],\n listAlertInstances: [\n \"GET /repos/{owner}/{repo}/code-scanning/alerts/{alert_number}/instances\",\n ],\n listAlertsForRepo: [\"GET /repos/{owner}/{repo}/code-scanning/alerts\"],\n listAlertsInstances: [\n \"GET /repos/{owner}/{repo}/code-scanning/alerts/{alert_number}/instances\",\n {},\n { renamed: [\"codeScanning\", \"listAlertInstances\"] },\n ],\n listRecentAnalyses: [\"GET /repos/{owner}/{repo}/code-scanning/analyses\"],\n updateAlert: [\n \"PATCH /repos/{owner}/{repo}/code-scanning/alerts/{alert_number}\",\n ],\n uploadSarif: [\"POST /repos/{owner}/{repo}/code-scanning/sarifs\"],\n },\n codesOfConduct: {\n getAllCodesOfConduct: [\"GET /codes_of_conduct\"],\n getConductCode: [\"GET /codes_of_conduct/{key}\"],\n getForRepo: [\n \"GET /repos/{owner}/{repo}/community/code_of_conduct\",\n { mediaType: { previews: [\"scarlet-witch\"] } },\n ],\n },\n emojis: { get: [\"GET /emojis\"] },\n enterpriseAdmin: {\n disableSelectedOrganizationGithubActionsEnterprise: [\n \"DELETE /enterprises/{enterprise}/actions/permissions/organizations/{org_id}\",\n ],\n enableSelectedOrganizationGithubActionsEnterprise: [\n \"PUT /enterprises/{enterprise}/actions/permissions/organizations/{org_id}\",\n ],\n getAllowedActionsEnterprise: [\n \"GET /enterprises/{enterprise}/actions/permissions/selected-actions\",\n ],\n getGithubActionsPermissionsEnterprise: [\n \"GET /enterprises/{enterprise}/actions/permissions\",\n ],\n listSelectedOrganizationsEnabledGithubActionsEnterprise: [\n \"GET /enterprises/{enterprise}/actions/permissions/organizations\",\n ],\n setAllowedActionsEnterprise: [\n \"PUT /enterprises/{enterprise}/actions/permissions/selected-actions\",\n ],\n setGithubActionsPermissionsEnterprise: [\n \"PUT /enterprises/{enterprise}/actions/permissions\",\n ],\n setSelectedOrganizationsEnabledGithubActionsEnterprise: [\n \"PUT /enterprises/{enterprise}/actions/permissions/organizations\",\n ],\n },\n gists: {\n checkIsStarred: [\"GET /gists/{gist_id}/star\"],\n create: [\"POST /gists\"],\n createComment: [\"POST /gists/{gist_id}/comments\"],\n delete: [\"DELETE /gists/{gist_id}\"],\n deleteComment: [\"DELETE /gists/{gist_id}/comments/{comment_id}\"],\n fork: [\"POST /gists/{gist_id}/forks\"],\n get: [\"GET /gists/{gist_id}\"],\n getComment: [\"GET /gists/{gist_id}/comments/{comment_id}\"],\n getRevision: [\"GET /gists/{gist_id}/{sha}\"],\n list: [\"GET /gists\"],\n listComments: [\"GET /gists/{gist_id}/comments\"],\n listCommits: [\"GET /gists/{gist_id}/commits\"],\n listForUser: [\"GET /users/{username}/gists\"],\n listForks: [\"GET /gists/{gist_id}/forks\"],\n listPublic: [\"GET /gists/public\"],\n listStarred: [\"GET /gists/starred\"],\n star: [\"PUT /gists/{gist_id}/star\"],\n unstar: [\"DELETE /gists/{gist_id}/star\"],\n update: [\"PATCH /gists/{gist_id}\"],\n updateComment: [\"PATCH /gists/{gist_id}/comments/{comment_id}\"],\n },\n git: {\n createBlob: [\"POST /repos/{owner}/{repo}/git/blobs\"],\n createCommit: [\"POST /repos/{owner}/{repo}/git/commits\"],\n createRef: [\"POST /repos/{owner}/{repo}/git/refs\"],\n createTag: [\"POST /repos/{owner}/{repo}/git/tags\"],\n createTree: [\"POST /repos/{owner}/{repo}/git/trees\"],\n deleteRef: [\"DELETE /repos/{owner}/{repo}/git/refs/{ref}\"],\n getBlob: [\"GET /repos/{owner}/{repo}/git/blobs/{file_sha}\"],\n getCommit: [\"GET /repos/{owner}/{repo}/git/commits/{commit_sha}\"],\n getRef: [\"GET /repos/{owner}/{repo}/git/ref/{ref}\"],\n getTag: [\"GET /repos/{owner}/{repo}/git/tags/{tag_sha}\"],\n getTree: [\"GET /repos/{owner}/{repo}/git/trees/{tree_sha}\"],\n listMatchingRefs: [\"GET /repos/{owner}/{repo}/git/matching-refs/{ref}\"],\n updateRef: [\"PATCH /repos/{owner}/{repo}/git/refs/{ref}\"],\n },\n gitignore: {\n getAllTemplates: [\"GET /gitignore/templates\"],\n getTemplate: [\"GET /gitignore/templates/{name}\"],\n },\n interactions: {\n getRestrictionsForAuthenticatedUser: [\"GET /user/interaction-limits\"],\n getRestrictionsForOrg: [\"GET /orgs/{org}/interaction-limits\"],\n getRestrictionsForRepo: [\"GET /repos/{owner}/{repo}/interaction-limits\"],\n getRestrictionsForYourPublicRepos: [\n \"GET /user/interaction-limits\",\n {},\n { renamed: [\"interactions\", \"getRestrictionsForAuthenticatedUser\"] },\n ],\n removeRestrictionsForAuthenticatedUser: [\"DELETE /user/interaction-limits\"],\n removeRestrictionsForOrg: [\"DELETE /orgs/{org}/interaction-limits\"],\n removeRestrictionsForRepo: [\n \"DELETE /repos/{owner}/{repo}/interaction-limits\",\n ],\n removeRestrictionsForYourPublicRepos: [\n \"DELETE /user/interaction-limits\",\n {},\n { renamed: [\"interactions\", \"removeRestrictionsForAuthenticatedUser\"] },\n ],\n setRestrictionsForAuthenticatedUser: [\"PUT /user/interaction-limits\"],\n setRestrictionsForOrg: [\"PUT /orgs/{org}/interaction-limits\"],\n setRestrictionsForRepo: [\"PUT /repos/{owner}/{repo}/interaction-limits\"],\n setRestrictionsForYourPublicRepos: [\n \"PUT /user/interaction-limits\",\n {},\n { renamed: [\"interactions\", \"setRestrictionsForAuthenticatedUser\"] },\n ],\n },\n issues: {\n addAssignees: [\n \"POST /repos/{owner}/{repo}/issues/{issue_number}/assignees\",\n ],\n addLabels: [\"POST /repos/{owner}/{repo}/issues/{issue_number}/labels\"],\n checkUserCanBeAssigned: [\"GET /repos/{owner}/{repo}/assignees/{assignee}\"],\n create: [\"POST /repos/{owner}/{repo}/issues\"],\n createComment: [\n \"POST /repos/{owner}/{repo}/issues/{issue_number}/comments\",\n ],\n createLabel: [\"POST /repos/{owner}/{repo}/labels\"],\n createMilestone: [\"POST /repos/{owner}/{repo}/milestones\"],\n deleteComment: [\n \"DELETE /repos/{owner}/{repo}/issues/comments/{comment_id}\",\n ],\n deleteLabel: [\"DELETE /repos/{owner}/{repo}/labels/{name}\"],\n deleteMilestone: [\n \"DELETE /repos/{owner}/{repo}/milestones/{milestone_number}\",\n ],\n get: [\"GET /repos/{owner}/{repo}/issues/{issue_number}\"],\n getComment: [\"GET /repos/{owner}/{repo}/issues/comments/{comment_id}\"],\n getEvent: [\"GET /repos/{owner}/{repo}/issues/events/{event_id}\"],\n getLabel: [\"GET /repos/{owner}/{repo}/labels/{name}\"],\n getMilestone: [\"GET /repos/{owner}/{repo}/milestones/{milestone_number}\"],\n list: [\"GET /issues\"],\n listAssignees: [\"GET /repos/{owner}/{repo}/assignees\"],\n listComments: [\"GET /repos/{owner}/{repo}/issues/{issue_number}/comments\"],\n listCommentsForRepo: [\"GET /repos/{owner}/{repo}/issues/comments\"],\n listEvents: [\"GET /repos/{owner}/{repo}/issues/{issue_number}/events\"],\n listEventsForRepo: [\"GET /repos/{owner}/{repo}/issues/events\"],\n listEventsForTimeline: [\n \"GET /repos/{owner}/{repo}/issues/{issue_number}/timeline\",\n { mediaType: { previews: [\"mockingbird\"] } },\n ],\n listForAuthenticatedUser: [\"GET /user/issues\"],\n listForOrg: [\"GET /orgs/{org}/issues\"],\n listForRepo: [\"GET /repos/{owner}/{repo}/issues\"],\n listLabelsForMilestone: [\n \"GET /repos/{owner}/{repo}/milestones/{milestone_number}/labels\",\n ],\n listLabelsForRepo: [\"GET /repos/{owner}/{repo}/labels\"],\n listLabelsOnIssue: [\n \"GET /repos/{owner}/{repo}/issues/{issue_number}/labels\",\n ],\n listMilestones: [\"GET /repos/{owner}/{repo}/milestones\"],\n lock: [\"PUT /repos/{owner}/{repo}/issues/{issue_number}/lock\"],\n removeAllLabels: [\n \"DELETE /repos/{owner}/{repo}/issues/{issue_number}/labels\",\n ],\n removeAssignees: [\n \"DELETE /repos/{owner}/{repo}/issues/{issue_number}/assignees\",\n ],\n removeLabel: [\n \"DELETE /repos/{owner}/{repo}/issues/{issue_number}/labels/{name}\",\n ],\n setLabels: [\"PUT /repos/{owner}/{repo}/issues/{issue_number}/labels\"],\n unlock: [\"DELETE /repos/{owner}/{repo}/issues/{issue_number}/lock\"],\n update: [\"PATCH /repos/{owner}/{repo}/issues/{issue_number}\"],\n updateComment: [\"PATCH /repos/{owner}/{repo}/issues/comments/{comment_id}\"],\n updateLabel: [\"PATCH /repos/{owner}/{repo}/labels/{name}\"],\n updateMilestone: [\n \"PATCH /repos/{owner}/{repo}/milestones/{milestone_number}\",\n ],\n },\n licenses: {\n get: [\"GET /licenses/{license}\"],\n getAllCommonlyUsed: [\"GET /licenses\"],\n getForRepo: [\"GET /repos/{owner}/{repo}/license\"],\n },\n markdown: {\n render: [\"POST /markdown\"],\n renderRaw: [\n \"POST /markdown/raw\",\n { headers: { \"content-type\": \"text/plain; charset=utf-8\" } },\n ],\n },\n meta: {\n get: [\"GET /meta\"],\n getOctocat: [\"GET /octocat\"],\n getZen: [\"GET /zen\"],\n root: [\"GET /\"],\n },\n migrations: {\n cancelImport: [\"DELETE /repos/{owner}/{repo}/import\"],\n deleteArchiveForAuthenticatedUser: [\n \"DELETE /user/migrations/{migration_id}/archive\",\n { mediaType: { previews: [\"wyandotte\"] } },\n ],\n deleteArchiveForOrg: [\n \"DELETE /orgs/{org}/migrations/{migration_id}/archive\",\n { mediaType: { previews: [\"wyandotte\"] } },\n ],\n downloadArchiveForOrg: [\n \"GET /orgs/{org}/migrations/{migration_id}/archive\",\n { mediaType: { previews: [\"wyandotte\"] } },\n ],\n getArchiveForAuthenticatedUser: [\n \"GET /user/migrations/{migration_id}/archive\",\n { mediaType: { previews: [\"wyandotte\"] } },\n ],\n getCommitAuthors: [\"GET /repos/{owner}/{repo}/import/authors\"],\n getImportStatus: [\"GET /repos/{owner}/{repo}/import\"],\n getLargeFiles: [\"GET /repos/{owner}/{repo}/import/large_files\"],\n getStatusForAuthenticatedUser: [\n \"GET /user/migrations/{migration_id}\",\n { mediaType: { previews: [\"wyandotte\"] } },\n ],\n getStatusForOrg: [\n \"GET /orgs/{org}/migrations/{migration_id}\",\n { mediaType: { previews: [\"wyandotte\"] } },\n ],\n listForAuthenticatedUser: [\n \"GET /user/migrations\",\n { mediaType: { previews: [\"wyandotte\"] } },\n ],\n listForOrg: [\n \"GET /orgs/{org}/migrations\",\n { mediaType: { previews: [\"wyandotte\"] } },\n ],\n listReposForOrg: [\n \"GET /orgs/{org}/migrations/{migration_id}/repositories\",\n { mediaType: { previews: [\"wyandotte\"] } },\n ],\n listReposForUser: [\n \"GET /user/migrations/{migration_id}/repositories\",\n { mediaType: { previews: [\"wyandotte\"] } },\n ],\n mapCommitAuthor: [\"PATCH /repos/{owner}/{repo}/import/authors/{author_id}\"],\n setLfsPreference: [\"PATCH /repos/{owner}/{repo}/import/lfs\"],\n startForAuthenticatedUser: [\"POST /user/migrations\"],\n startForOrg: [\"POST /orgs/{org}/migrations\"],\n startImport: [\"PUT /repos/{owner}/{repo}/import\"],\n unlockRepoForAuthenticatedUser: [\n \"DELETE /user/migrations/{migration_id}/repos/{repo_name}/lock\",\n { mediaType: { previews: [\"wyandotte\"] } },\n ],\n unlockRepoForOrg: [\n \"DELETE /orgs/{org}/migrations/{migration_id}/repos/{repo_name}/lock\",\n { mediaType: { previews: [\"wyandotte\"] } },\n ],\n updateImport: [\"PATCH /repos/{owner}/{repo}/import\"],\n },\n orgs: {\n blockUser: [\"PUT /orgs/{org}/blocks/{username}\"],\n cancelInvitation: [\"DELETE /orgs/{org}/invitations/{invitation_id}\"],\n checkBlockedUser: [\"GET /orgs/{org}/blocks/{username}\"],\n checkMembershipForUser: [\"GET /orgs/{org}/members/{username}\"],\n checkPublicMembershipForUser: [\"GET /orgs/{org}/public_members/{username}\"],\n convertMemberToOutsideCollaborator: [\n \"PUT /orgs/{org}/outside_collaborators/{username}\",\n ],\n createInvitation: [\"POST /orgs/{org}/invitations\"],\n createWebhook: [\"POST /orgs/{org}/hooks\"],\n deleteWebhook: [\"DELETE /orgs/{org}/hooks/{hook_id}\"],\n get: [\"GET /orgs/{org}\"],\n getMembershipForAuthenticatedUser: [\"GET /user/memberships/orgs/{org}\"],\n getMembershipForUser: [\"GET /orgs/{org}/memberships/{username}\"],\n getWebhook: [\"GET /orgs/{org}/hooks/{hook_id}\"],\n getWebhookConfigForOrg: [\"GET /orgs/{org}/hooks/{hook_id}/config\"],\n getWebhookDelivery: [\n \"GET /orgs/{org}/hooks/{hook_id}/deliveries/{delivery_id}\",\n ],\n list: [\"GET /organizations\"],\n listAppInstallations: [\"GET /orgs/{org}/installations\"],\n listBlockedUsers: [\"GET /orgs/{org}/blocks\"],\n listFailedInvitations: [\"GET /orgs/{org}/failed_invitations\"],\n listForAuthenticatedUser: [\"GET /user/orgs\"],\n listForUser: [\"GET /users/{username}/orgs\"],\n listInvitationTeams: [\"GET /orgs/{org}/invitations/{invitation_id}/teams\"],\n listMembers: [\"GET /orgs/{org}/members\"],\n listMembershipsForAuthenticatedUser: [\"GET /user/memberships/orgs\"],\n listOutsideCollaborators: [\"GET /orgs/{org}/outside_collaborators\"],\n listPendingInvitations: [\"GET /orgs/{org}/invitations\"],\n listPublicMembers: [\"GET /orgs/{org}/public_members\"],\n listWebhookDeliveries: [\"GET /orgs/{org}/hooks/{hook_id}/deliveries\"],\n listWebhooks: [\"GET /orgs/{org}/hooks\"],\n pingWebhook: [\"POST /orgs/{org}/hooks/{hook_id}/pings\"],\n redeliverWebhookDelivery: [\n \"POST /orgs/{org}/hooks/{hook_id}/deliveries/{delivery_id}/attempts\",\n ],\n removeMember: [\"DELETE /orgs/{org}/members/{username}\"],\n removeMembershipForUser: [\"DELETE /orgs/{org}/memberships/{username}\"],\n removeOutsideCollaborator: [\n \"DELETE /orgs/{org}/outside_collaborators/{username}\",\n ],\n removePublicMembershipForAuthenticatedUser: [\n \"DELETE /orgs/{org}/public_members/{username}\",\n ],\n setMembershipForUser: [\"PUT /orgs/{org}/memberships/{username}\"],\n setPublicMembershipForAuthenticatedUser: [\n \"PUT /orgs/{org}/public_members/{username}\",\n ],\n unblockUser: [\"DELETE /orgs/{org}/blocks/{username}\"],\n update: [\"PATCH /orgs/{org}\"],\n updateMembershipForAuthenticatedUser: [\n \"PATCH /user/memberships/orgs/{org}\",\n ],\n updateWebhook: [\"PATCH /orgs/{org}/hooks/{hook_id}\"],\n updateWebhookConfigForOrg: [\"PATCH /orgs/{org}/hooks/{hook_id}/config\"],\n },\n packages: {\n deletePackageForAuthenticatedUser: [\n \"DELETE /user/packages/{package_type}/{package_name}\",\n ],\n deletePackageForOrg: [\n \"DELETE /orgs/{org}/packages/{package_type}/{package_name}\",\n ],\n deletePackageVersionForAuthenticatedUser: [\n \"DELETE /user/packages/{package_type}/{package_name}/versions/{package_version_id}\",\n ],\n deletePackageVersionForOrg: [\n \"DELETE /orgs/{org}/packages/{package_type}/{package_name}/versions/{package_version_id}\",\n ],\n getAllPackageVersionsForAPackageOwnedByAnOrg: [\n \"GET /orgs/{org}/packages/{package_type}/{package_name}/versions\",\n {},\n { renamed: [\"packages\", \"getAllPackageVersionsForPackageOwnedByOrg\"] },\n ],\n getAllPackageVersionsForAPackageOwnedByTheAuthenticatedUser: [\n \"GET /user/packages/{package_type}/{package_name}/versions\",\n {},\n {\n renamed: [\n \"packages\",\n \"getAllPackageVersionsForPackageOwnedByAuthenticatedUser\",\n ],\n },\n ],\n getAllPackageVersionsForPackageOwnedByAuthenticatedUser: [\n \"GET /user/packages/{package_type}/{package_name}/versions\",\n ],\n getAllPackageVersionsForPackageOwnedByOrg: [\n \"GET /orgs/{org}/packages/{package_type}/{package_name}/versions\",\n ],\n getAllPackageVersionsForPackageOwnedByUser: [\n \"GET /users/{username}/packages/{package_type}/{package_name}/versions\",\n ],\n getPackageForAuthenticatedUser: [\n \"GET /user/packages/{package_type}/{package_name}\",\n ],\n getPackageForOrganization: [\n \"GET /orgs/{org}/packages/{package_type}/{package_name}\",\n ],\n getPackageForUser: [\n \"GET /users/{username}/packages/{package_type}/{package_name}\",\n ],\n getPackageVersionForAuthenticatedUser: [\n \"GET /user/packages/{package_type}/{package_name}/versions/{package_version_id}\",\n ],\n getPackageVersionForOrganization: [\n \"GET /orgs/{org}/packages/{package_type}/{package_name}/versions/{package_version_id}\",\n ],\n getPackageVersionForUser: [\n \"GET /users/{username}/packages/{package_type}/{package_name}/versions/{package_version_id}\",\n ],\n restorePackageForAuthenticatedUser: [\n \"POST /user/packages/{package_type}/{package_name}/restore{?token}\",\n ],\n restorePackageForOrg: [\n \"POST /orgs/{org}/packages/{package_type}/{package_name}/restore{?token}\",\n ],\n restorePackageVersionForAuthenticatedUser: [\n \"POST /user/packages/{package_type}/{package_name}/versions/{package_version_id}/restore\",\n ],\n restorePackageVersionForOrg: [\n \"POST /orgs/{org}/packages/{package_type}/{package_name}/versions/{package_version_id}/restore\",\n ],\n },\n projects: {\n addCollaborator: [\n \"PUT /projects/{project_id}/collaborators/{username}\",\n { mediaType: { previews: [\"inertia\"] } },\n ],\n createCard: [\n \"POST /projects/columns/{column_id}/cards\",\n { mediaType: { previews: [\"inertia\"] } },\n ],\n createColumn: [\n \"POST /projects/{project_id}/columns\",\n { mediaType: { previews: [\"inertia\"] } },\n ],\n createForAuthenticatedUser: [\n \"POST /user/projects\",\n { mediaType: { previews: [\"inertia\"] } },\n ],\n createForOrg: [\n \"POST /orgs/{org}/projects\",\n { mediaType: { previews: [\"inertia\"] } },\n ],\n createForRepo: [\n \"POST /repos/{owner}/{repo}/projects\",\n { mediaType: { previews: [\"inertia\"] } },\n ],\n delete: [\n \"DELETE /projects/{project_id}\",\n { mediaType: { previews: [\"inertia\"] } },\n ],\n deleteCard: [\n \"DELETE /projects/columns/cards/{card_id}\",\n { mediaType: { previews: [\"inertia\"] } },\n ],\n deleteColumn: [\n \"DELETE /projects/columns/{column_id}\",\n { mediaType: { previews: [\"inertia\"] } },\n ],\n get: [\n \"GET /projects/{project_id}\",\n { mediaType: { previews: [\"inertia\"] } },\n ],\n getCard: [\n \"GET /projects/columns/cards/{card_id}\",\n { mediaType: { previews: [\"inertia\"] } },\n ],\n getColumn: [\n \"GET /projects/columns/{column_id}\",\n { mediaType: { previews: [\"inertia\"] } },\n ],\n getPermissionForUser: [\n \"GET /projects/{project_id}/collaborators/{username}/permission\",\n { mediaType: { previews: [\"inertia\"] } },\n ],\n listCards: [\n \"GET /projects/columns/{column_id}/cards\",\n { mediaType: { previews: [\"inertia\"] } },\n ],\n listCollaborators: [\n \"GET /projects/{project_id}/collaborators\",\n { mediaType: { previews: [\"inertia\"] } },\n ],\n listColumns: [\n \"GET /projects/{project_id}/columns\",\n { mediaType: { previews: [\"inertia\"] } },\n ],\n listForOrg: [\n \"GET /orgs/{org}/projects\",\n { mediaType: { previews: [\"inertia\"] } },\n ],\n listForRepo: [\n \"GET /repos/{owner}/{repo}/projects\",\n { mediaType: { previews: [\"inertia\"] } },\n ],\n listForUser: [\n \"GET /users/{username}/projects\",\n { mediaType: { previews: [\"inertia\"] } },\n ],\n moveCard: [\n \"POST /projects/columns/cards/{card_id}/moves\",\n { mediaType: { previews: [\"inertia\"] } },\n ],\n moveColumn: [\n \"POST /projects/columns/{column_id}/moves\",\n { mediaType: { previews: [\"inertia\"] } },\n ],\n removeCollaborator: [\n \"DELETE /projects/{project_id}/collaborators/{username}\",\n { mediaType: { previews: [\"inertia\"] } },\n ],\n update: [\n \"PATCH /projects/{project_id}\",\n { mediaType: { previews: [\"inertia\"] } },\n ],\n updateCard: [\n \"PATCH /projects/columns/cards/{card_id}\",\n { mediaType: { previews: [\"inertia\"] } },\n ],\n updateColumn: [\n \"PATCH /projects/columns/{column_id}\",\n { mediaType: { previews: [\"inertia\"] } },\n ],\n },\n pulls: {\n checkIfMerged: [\"GET /repos/{owner}/{repo}/pulls/{pull_number}/merge\"],\n create: [\"POST /repos/{owner}/{repo}/pulls\"],\n createReplyForReviewComment: [\n \"POST /repos/{owner}/{repo}/pulls/{pull_number}/comments/{comment_id}/replies\",\n ],\n createReview: [\"POST /repos/{owner}/{repo}/pulls/{pull_number}/reviews\"],\n createReviewComment: [\n \"POST /repos/{owner}/{repo}/pulls/{pull_number}/comments\",\n ],\n deletePendingReview: [\n \"DELETE /repos/{owner}/{repo}/pulls/{pull_number}/reviews/{review_id}\",\n ],\n deleteReviewComment: [\n \"DELETE /repos/{owner}/{repo}/pulls/comments/{comment_id}\",\n ],\n dismissReview: [\n \"PUT /repos/{owner}/{repo}/pulls/{pull_number}/reviews/{review_id}/dismissals\",\n ],\n get: [\"GET /repos/{owner}/{repo}/pulls/{pull_number}\"],\n getReview: [\n \"GET /repos/{owner}/{repo}/pulls/{pull_number}/reviews/{review_id}\",\n ],\n getReviewComment: [\"GET /repos/{owner}/{repo}/pulls/comments/{comment_id}\"],\n list: [\"GET /repos/{owner}/{repo}/pulls\"],\n listCommentsForReview: [\n \"GET /repos/{owner}/{repo}/pulls/{pull_number}/reviews/{review_id}/comments\",\n ],\n listCommits: [\"GET /repos/{owner}/{repo}/pulls/{pull_number}/commits\"],\n listFiles: [\"GET /repos/{owner}/{repo}/pulls/{pull_number}/files\"],\n listRequestedReviewers: [\n \"GET /repos/{owner}/{repo}/pulls/{pull_number}/requested_reviewers\",\n ],\n listReviewComments: [\n \"GET /repos/{owner}/{repo}/pulls/{pull_number}/comments\",\n ],\n listReviewCommentsForRepo: [\"GET /repos/{owner}/{repo}/pulls/comments\"],\n listReviews: [\"GET /repos/{owner}/{repo}/pulls/{pull_number}/reviews\"],\n merge: [\"PUT /repos/{owner}/{repo}/pulls/{pull_number}/merge\"],\n removeRequestedReviewers: [\n \"DELETE /repos/{owner}/{repo}/pulls/{pull_number}/requested_reviewers\",\n ],\n requestReviewers: [\n \"POST /repos/{owner}/{repo}/pulls/{pull_number}/requested_reviewers\",\n ],\n submitReview: [\n \"POST /repos/{owner}/{repo}/pulls/{pull_number}/reviews/{review_id}/events\",\n ],\n update: [\"PATCH /repos/{owner}/{repo}/pulls/{pull_number}\"],\n updateBranch: [\n \"PUT /repos/{owner}/{repo}/pulls/{pull_number}/update-branch\",\n { mediaType: { previews: [\"lydian\"] } },\n ],\n updateReview: [\n \"PUT /repos/{owner}/{repo}/pulls/{pull_number}/reviews/{review_id}\",\n ],\n updateReviewComment: [\n \"PATCH /repos/{owner}/{repo}/pulls/comments/{comment_id}\",\n ],\n },\n rateLimit: { get: [\"GET /rate_limit\"] },\n reactions: {\n createForCommitComment: [\n \"POST /repos/{owner}/{repo}/comments/{comment_id}/reactions\",\n { mediaType: { previews: [\"squirrel-girl\"] } },\n ],\n createForIssue: [\n \"POST /repos/{owner}/{repo}/issues/{issue_number}/reactions\",\n { mediaType: { previews: [\"squirrel-girl\"] } },\n ],\n createForIssueComment: [\n \"POST /repos/{owner}/{repo}/issues/comments/{comment_id}/reactions\",\n { mediaType: { previews: [\"squirrel-girl\"] } },\n ],\n createForPullRequestReviewComment: [\n \"POST /repos/{owner}/{repo}/pulls/comments/{comment_id}/reactions\",\n { mediaType: { previews: [\"squirrel-girl\"] } },\n ],\n createForRelease: [\n \"POST /repos/{owner}/{repo}/releases/{release_id}/reactions\",\n { mediaType: { previews: [\"squirrel-girl\"] } },\n ],\n createForTeamDiscussionCommentInOrg: [\n \"POST /orgs/{org}/teams/{team_slug}/discussions/{discussion_number}/comments/{comment_number}/reactions\",\n { mediaType: { previews: [\"squirrel-girl\"] } },\n ],\n createForTeamDiscussionInOrg: [\n \"POST /orgs/{org}/teams/{team_slug}/discussions/{discussion_number}/reactions\",\n { mediaType: { previews: [\"squirrel-girl\"] } },\n ],\n deleteForCommitComment: [\n \"DELETE /repos/{owner}/{repo}/comments/{comment_id}/reactions/{reaction_id}\",\n { mediaType: { previews: [\"squirrel-girl\"] } },\n ],\n deleteForIssue: [\n \"DELETE /repos/{owner}/{repo}/issues/{issue_number}/reactions/{reaction_id}\",\n { mediaType: { previews: [\"squirrel-girl\"] } },\n ],\n deleteForIssueComment: [\n \"DELETE /repos/{owner}/{repo}/issues/comments/{comment_id}/reactions/{reaction_id}\",\n { mediaType: { previews: [\"squirrel-girl\"] } },\n ],\n deleteForPullRequestComment: [\n \"DELETE /repos/{owner}/{repo}/pulls/comments/{comment_id}/reactions/{reaction_id}\",\n { mediaType: { previews: [\"squirrel-girl\"] } },\n ],\n deleteForTeamDiscussion: [\n \"DELETE /orgs/{org}/teams/{team_slug}/discussions/{discussion_number}/reactions/{reaction_id}\",\n { mediaType: { previews: [\"squirrel-girl\"] } },\n ],\n deleteForTeamDiscussionComment: [\n \"DELETE /orgs/{org}/teams/{team_slug}/discussions/{discussion_number}/comments/{comment_number}/reactions/{reaction_id}\",\n { mediaType: { previews: [\"squirrel-girl\"] } },\n ],\n deleteLegacy: [\n \"DELETE /reactions/{reaction_id}\",\n { mediaType: { previews: [\"squirrel-girl\"] } },\n {\n deprecated: \"octokit.rest.reactions.deleteLegacy() is deprecated, see https://docs.github.com/rest/reference/reactions/#delete-a-reaction-legacy\",\n },\n ],\n listForCommitComment: [\n \"GET /repos/{owner}/{repo}/comments/{comment_id}/reactions\",\n { mediaType: { previews: [\"squirrel-girl\"] } },\n ],\n listForIssue: [\n \"GET /repos/{owner}/{repo}/issues/{issue_number}/reactions\",\n { mediaType: { previews: [\"squirrel-girl\"] } },\n ],\n listForIssueComment: [\n \"GET /repos/{owner}/{repo}/issues/comments/{comment_id}/reactions\",\n { mediaType: { previews: [\"squirrel-girl\"] } },\n ],\n listForPullRequestReviewComment: [\n \"GET /repos/{owner}/{repo}/pulls/comments/{comment_id}/reactions\",\n { mediaType: { previews: [\"squirrel-girl\"] } },\n ],\n listForTeamDiscussionCommentInOrg: [\n \"GET /orgs/{org}/teams/{team_slug}/discussions/{discussion_number}/comments/{comment_number}/reactions\",\n { mediaType: { previews: [\"squirrel-girl\"] } },\n ],\n listForTeamDiscussionInOrg: [\n \"GET /orgs/{org}/teams/{team_slug}/discussions/{discussion_number}/reactions\",\n { mediaType: { previews: [\"squirrel-girl\"] } },\n ],\n },\n repos: {\n acceptInvitation: [\"PATCH /user/repository_invitations/{invitation_id}\"],\n addAppAccessRestrictions: [\n \"POST /repos/{owner}/{repo}/branches/{branch}/protection/restrictions/apps\",\n {},\n { mapToData: \"apps\" },\n ],\n addCollaborator: [\"PUT /repos/{owner}/{repo}/collaborators/{username}\"],\n addStatusCheckContexts: [\n \"POST /repos/{owner}/{repo}/branches/{branch}/protection/required_status_checks/contexts\",\n {},\n { mapToData: \"contexts\" },\n ],\n addTeamAccessRestrictions: [\n \"POST /repos/{owner}/{repo}/branches/{branch}/protection/restrictions/teams\",\n {},\n { mapToData: \"teams\" },\n ],\n addUserAccessRestrictions: [\n \"POST /repos/{owner}/{repo}/branches/{branch}/protection/restrictions/users\",\n {},\n { mapToData: \"users\" },\n ],\n checkCollaborator: [\"GET /repos/{owner}/{repo}/collaborators/{username}\"],\n checkVulnerabilityAlerts: [\n \"GET /repos/{owner}/{repo}/vulnerability-alerts\",\n { mediaType: { previews: [\"dorian\"] } },\n ],\n compareCommits: [\"GET /repos/{owner}/{repo}/compare/{base}...{head}\"],\n compareCommitsWithBasehead: [\n \"GET /repos/{owner}/{repo}/compare/{basehead}\",\n ],\n createCommitComment: [\n \"POST /repos/{owner}/{repo}/commits/{commit_sha}/comments\",\n ],\n createCommitSignatureProtection: [\n \"POST /repos/{owner}/{repo}/branches/{branch}/protection/required_signatures\",\n { mediaType: { previews: [\"zzzax\"] } },\n ],\n createCommitStatus: [\"POST /repos/{owner}/{repo}/statuses/{sha}\"],\n createDeployKey: [\"POST /repos/{owner}/{repo}/keys\"],\n createDeployment: [\"POST /repos/{owner}/{repo}/deployments\"],\n createDeploymentStatus: [\n \"POST /repos/{owner}/{repo}/deployments/{deployment_id}/statuses\",\n ],\n createDispatchEvent: [\"POST /repos/{owner}/{repo}/dispatches\"],\n createForAuthenticatedUser: [\"POST /user/repos\"],\n createFork: [\"POST /repos/{owner}/{repo}/forks\"],\n createInOrg: [\"POST /orgs/{org}/repos\"],\n createOrUpdateEnvironment: [\n \"PUT /repos/{owner}/{repo}/environments/{environment_name}\",\n ],\n createOrUpdateFileContents: [\"PUT /repos/{owner}/{repo}/contents/{path}\"],\n createPagesSite: [\n \"POST /repos/{owner}/{repo}/pages\",\n { mediaType: { previews: [\"switcheroo\"] } },\n ],\n createRelease: [\"POST /repos/{owner}/{repo}/releases\"],\n createUsingTemplate: [\n \"POST /repos/{template_owner}/{template_repo}/generate\",\n { mediaType: { previews: [\"baptiste\"] } },\n ],\n createWebhook: [\"POST /repos/{owner}/{repo}/hooks\"],\n declineInvitation: [\"DELETE /user/repository_invitations/{invitation_id}\"],\n delete: [\"DELETE /repos/{owner}/{repo}\"],\n deleteAccessRestrictions: [\n \"DELETE /repos/{owner}/{repo}/branches/{branch}/protection/restrictions\",\n ],\n deleteAdminBranchProtection: [\n \"DELETE /repos/{owner}/{repo}/branches/{branch}/protection/enforce_admins\",\n ],\n deleteAnEnvironment: [\n \"DELETE /repos/{owner}/{repo}/environments/{environment_name}\",\n ],\n deleteBranchProtection: [\n \"DELETE /repos/{owner}/{repo}/branches/{branch}/protection\",\n ],\n deleteCommitComment: [\"DELETE /repos/{owner}/{repo}/comments/{comment_id}\"],\n deleteCommitSignatureProtection: [\n \"DELETE /repos/{owner}/{repo}/branches/{branch}/protection/required_signatures\",\n { mediaType: { previews: [\"zzzax\"] } },\n ],\n deleteDeployKey: [\"DELETE /repos/{owner}/{repo}/keys/{key_id}\"],\n deleteDeployment: [\n \"DELETE /repos/{owner}/{repo}/deployments/{deployment_id}\",\n ],\n deleteFile: [\"DELETE /repos/{owner}/{repo}/contents/{path}\"],\n deleteInvitation: [\n \"DELETE /repos/{owner}/{repo}/invitations/{invitation_id}\",\n ],\n deletePagesSite: [\n \"DELETE /repos/{owner}/{repo}/pages\",\n { mediaType: { previews: [\"switcheroo\"] } },\n ],\n deletePullRequestReviewProtection: [\n \"DELETE /repos/{owner}/{repo}/branches/{branch}/protection/required_pull_request_reviews\",\n ],\n deleteRelease: [\"DELETE /repos/{owner}/{repo}/releases/{release_id}\"],\n deleteReleaseAsset: [\n \"DELETE /repos/{owner}/{repo}/releases/assets/{asset_id}\",\n ],\n deleteWebhook: [\"DELETE /repos/{owner}/{repo}/hooks/{hook_id}\"],\n disableAutomatedSecurityFixes: [\n \"DELETE /repos/{owner}/{repo}/automated-security-fixes\",\n { mediaType: { previews: [\"london\"] } },\n ],\n disableVulnerabilityAlerts: [\n \"DELETE /repos/{owner}/{repo}/vulnerability-alerts\",\n { mediaType: { previews: [\"dorian\"] } },\n ],\n downloadArchive: [\n \"GET /repos/{owner}/{repo}/zipball/{ref}\",\n {},\n { renamed: [\"repos\", \"downloadZipballArchive\"] },\n ],\n downloadTarballArchive: [\"GET /repos/{owner}/{repo}/tarball/{ref}\"],\n downloadZipballArchive: [\"GET /repos/{owner}/{repo}/zipball/{ref}\"],\n enableAutomatedSecurityFixes: [\n \"PUT /repos/{owner}/{repo}/automated-security-fixes\",\n { mediaType: { previews: [\"london\"] } },\n ],\n enableVulnerabilityAlerts: [\n \"PUT /repos/{owner}/{repo}/vulnerability-alerts\",\n { mediaType: { previews: [\"dorian\"] } },\n ],\n get: [\"GET /repos/{owner}/{repo}\"],\n getAccessRestrictions: [\n \"GET /repos/{owner}/{repo}/branches/{branch}/protection/restrictions\",\n ],\n getAdminBranchProtection: [\n \"GET /repos/{owner}/{repo}/branches/{branch}/protection/enforce_admins\",\n ],\n getAllEnvironments: [\"GET /repos/{owner}/{repo}/environments\"],\n getAllStatusCheckContexts: [\n \"GET /repos/{owner}/{repo}/branches/{branch}/protection/required_status_checks/contexts\",\n ],\n getAllTopics: [\n \"GET /repos/{owner}/{repo}/topics\",\n { mediaType: { previews: [\"mercy\"] } },\n ],\n getAppsWithAccessToProtectedBranch: [\n \"GET /repos/{owner}/{repo}/branches/{branch}/protection/restrictions/apps\",\n ],\n getBranch: [\"GET /repos/{owner}/{repo}/branches/{branch}\"],\n getBranchProtection: [\n \"GET /repos/{owner}/{repo}/branches/{branch}/protection\",\n ],\n getClones: [\"GET /repos/{owner}/{repo}/traffic/clones\"],\n getCodeFrequencyStats: [\"GET /repos/{owner}/{repo}/stats/code_frequency\"],\n getCollaboratorPermissionLevel: [\n \"GET /repos/{owner}/{repo}/collaborators/{username}/permission\",\n ],\n getCombinedStatusForRef: [\"GET /repos/{owner}/{repo}/commits/{ref}/status\"],\n getCommit: [\"GET /repos/{owner}/{repo}/commits/{ref}\"],\n getCommitActivityStats: [\"GET /repos/{owner}/{repo}/stats/commit_activity\"],\n getCommitComment: [\"GET /repos/{owner}/{repo}/comments/{comment_id}\"],\n getCommitSignatureProtection: [\n \"GET /repos/{owner}/{repo}/branches/{branch}/protection/required_signatures\",\n { mediaType: { previews: [\"zzzax\"] } },\n ],\n getCommunityProfileMetrics: [\"GET /repos/{owner}/{repo}/community/profile\"],\n getContent: [\"GET /repos/{owner}/{repo}/contents/{path}\"],\n getContributorsStats: [\"GET /repos/{owner}/{repo}/stats/contributors\"],\n getDeployKey: [\"GET /repos/{owner}/{repo}/keys/{key_id}\"],\n getDeployment: [\"GET /repos/{owner}/{repo}/deployments/{deployment_id}\"],\n getDeploymentStatus: [\n \"GET /repos/{owner}/{repo}/deployments/{deployment_id}/statuses/{status_id}\",\n ],\n getEnvironment: [\n \"GET /repos/{owner}/{repo}/environments/{environment_name}\",\n ],\n getLatestPagesBuild: [\"GET /repos/{owner}/{repo}/pages/builds/latest\"],\n getLatestRelease: [\"GET /repos/{owner}/{repo}/releases/latest\"],\n getPages: [\"GET /repos/{owner}/{repo}/pages\"],\n getPagesBuild: [\"GET /repos/{owner}/{repo}/pages/builds/{build_id}\"],\n getPagesHealthCheck: [\"GET /repos/{owner}/{repo}/pages/health\"],\n getParticipationStats: [\"GET /repos/{owner}/{repo}/stats/participation\"],\n getPullRequestReviewProtection: [\n \"GET /repos/{owner}/{repo}/branches/{branch}/protection/required_pull_request_reviews\",\n ],\n getPunchCardStats: [\"GET /repos/{owner}/{repo}/stats/punch_card\"],\n getReadme: [\"GET /repos/{owner}/{repo}/readme\"],\n getReadmeInDirectory: [\"GET /repos/{owner}/{repo}/readme/{dir}\"],\n getRelease: [\"GET /repos/{owner}/{repo}/releases/{release_id}\"],\n getReleaseAsset: [\"GET /repos/{owner}/{repo}/releases/assets/{asset_id}\"],\n getReleaseByTag: [\"GET /repos/{owner}/{repo}/releases/tags/{tag}\"],\n getStatusChecksProtection: [\n \"GET /repos/{owner}/{repo}/branches/{branch}/protection/required_status_checks\",\n ],\n getTeamsWithAccessToProtectedBranch: [\n \"GET /repos/{owner}/{repo}/branches/{branch}/protection/restrictions/teams\",\n ],\n getTopPaths: [\"GET /repos/{owner}/{repo}/traffic/popular/paths\"],\n getTopReferrers: [\"GET /repos/{owner}/{repo}/traffic/popular/referrers\"],\n getUsersWithAccessToProtectedBranch: [\n \"GET /repos/{owner}/{repo}/branches/{branch}/protection/restrictions/users\",\n ],\n getViews: [\"GET /repos/{owner}/{repo}/traffic/views\"],\n getWebhook: [\"GET /repos/{owner}/{repo}/hooks/{hook_id}\"],\n getWebhookConfigForRepo: [\n \"GET /repos/{owner}/{repo}/hooks/{hook_id}/config\",\n ],\n getWebhookDelivery: [\n \"GET /repos/{owner}/{repo}/hooks/{hook_id}/deliveries/{delivery_id}\",\n ],\n listBranches: [\"GET /repos/{owner}/{repo}/branches\"],\n listBranchesForHeadCommit: [\n \"GET /repos/{owner}/{repo}/commits/{commit_sha}/branches-where-head\",\n { mediaType: { previews: [\"groot\"] } },\n ],\n listCollaborators: [\"GET /repos/{owner}/{repo}/collaborators\"],\n listCommentsForCommit: [\n \"GET /repos/{owner}/{repo}/commits/{commit_sha}/comments\",\n ],\n listCommitCommentsForRepo: [\"GET /repos/{owner}/{repo}/comments\"],\n listCommitStatusesForRef: [\n \"GET /repos/{owner}/{repo}/commits/{ref}/statuses\",\n ],\n listCommits: [\"GET /repos/{owner}/{repo}/commits\"],\n listContributors: [\"GET /repos/{owner}/{repo}/contributors\"],\n listDeployKeys: [\"GET /repos/{owner}/{repo}/keys\"],\n listDeploymentStatuses: [\n \"GET /repos/{owner}/{repo}/deployments/{deployment_id}/statuses\",\n ],\n listDeployments: [\"GET /repos/{owner}/{repo}/deployments\"],\n listForAuthenticatedUser: [\"GET /user/repos\"],\n listForOrg: [\"GET /orgs/{org}/repos\"],\n listForUser: [\"GET /users/{username}/repos\"],\n listForks: [\"GET /repos/{owner}/{repo}/forks\"],\n listInvitations: [\"GET /repos/{owner}/{repo}/invitations\"],\n listInvitationsForAuthenticatedUser: [\"GET /user/repository_invitations\"],\n listLanguages: [\"GET /repos/{owner}/{repo}/languages\"],\n listPagesBuilds: [\"GET /repos/{owner}/{repo}/pages/builds\"],\n listPublic: [\"GET /repositories\"],\n listPullRequestsAssociatedWithCommit: [\n \"GET /repos/{owner}/{repo}/commits/{commit_sha}/pulls\",\n { mediaType: { previews: [\"groot\"] } },\n ],\n listReleaseAssets: [\n \"GET /repos/{owner}/{repo}/releases/{release_id}/assets\",\n ],\n listReleases: [\"GET /repos/{owner}/{repo}/releases\"],\n listTags: [\"GET /repos/{owner}/{repo}/tags\"],\n listTeams: [\"GET /repos/{owner}/{repo}/teams\"],\n listWebhookDeliveries: [\n \"GET /repos/{owner}/{repo}/hooks/{hook_id}/deliveries\",\n ],\n listWebhooks: [\"GET /repos/{owner}/{repo}/hooks\"],\n merge: [\"POST /repos/{owner}/{repo}/merges\"],\n pingWebhook: [\"POST /repos/{owner}/{repo}/hooks/{hook_id}/pings\"],\n redeliverWebhookDelivery: [\n \"POST /repos/{owner}/{repo}/hooks/{hook_id}/deliveries/{delivery_id}/attempts\",\n ],\n removeAppAccessRestrictions: [\n \"DELETE /repos/{owner}/{repo}/branches/{branch}/protection/restrictions/apps\",\n {},\n { mapToData: \"apps\" },\n ],\n removeCollaborator: [\n \"DELETE /repos/{owner}/{repo}/collaborators/{username}\",\n ],\n removeStatusCheckContexts: [\n \"DELETE /repos/{owner}/{repo}/branches/{branch}/protection/required_status_checks/contexts\",\n {},\n { mapToData: \"contexts\" },\n ],\n removeStatusCheckProtection: [\n \"DELETE /repos/{owner}/{repo}/branches/{branch}/protection/required_status_checks\",\n ],\n removeTeamAccessRestrictions: [\n \"DELETE /repos/{owner}/{repo}/branches/{branch}/protection/restrictions/teams\",\n {},\n { mapToData: \"teams\" },\n ],\n removeUserAccessRestrictions: [\n \"DELETE /repos/{owner}/{repo}/branches/{branch}/protection/restrictions/users\",\n {},\n { mapToData: \"users\" },\n ],\n renameBranch: [\"POST /repos/{owner}/{repo}/branches/{branch}/rename\"],\n replaceAllTopics: [\n \"PUT /repos/{owner}/{repo}/topics\",\n { mediaType: { previews: [\"mercy\"] } },\n ],\n requestPagesBuild: [\"POST /repos/{owner}/{repo}/pages/builds\"],\n setAdminBranchProtection: [\n \"POST /repos/{owner}/{repo}/branches/{branch}/protection/enforce_admins\",\n ],\n setAppAccessRestrictions: [\n \"PUT /repos/{owner}/{repo}/branches/{branch}/protection/restrictions/apps\",\n {},\n { mapToData: \"apps\" },\n ],\n setStatusCheckContexts: [\n \"PUT /repos/{owner}/{repo}/branches/{branch}/protection/required_status_checks/contexts\",\n {},\n { mapToData: \"contexts\" },\n ],\n setTeamAccessRestrictions: [\n \"PUT /repos/{owner}/{repo}/branches/{branch}/protection/restrictions/teams\",\n {},\n { mapToData: \"teams\" },\n ],\n setUserAccessRestrictions: [\n \"PUT /repos/{owner}/{repo}/branches/{branch}/protection/restrictions/users\",\n {},\n { mapToData: \"users\" },\n ],\n testPushWebhook: [\"POST /repos/{owner}/{repo}/hooks/{hook_id}/tests\"],\n transfer: [\"POST /repos/{owner}/{repo}/transfer\"],\n update: [\"PATCH /repos/{owner}/{repo}\"],\n updateBranchProtection: [\n \"PUT /repos/{owner}/{repo}/branches/{branch}/protection\",\n ],\n updateCommitComment: [\"PATCH /repos/{owner}/{repo}/comments/{comment_id}\"],\n updateInformationAboutPagesSite: [\"PUT /repos/{owner}/{repo}/pages\"],\n updateInvitation: [\n \"PATCH /repos/{owner}/{repo}/invitations/{invitation_id}\",\n ],\n updatePullRequestReviewProtection: [\n \"PATCH /repos/{owner}/{repo}/branches/{branch}/protection/required_pull_request_reviews\",\n ],\n updateRelease: [\"PATCH /repos/{owner}/{repo}/releases/{release_id}\"],\n updateReleaseAsset: [\n \"PATCH /repos/{owner}/{repo}/releases/assets/{asset_id}\",\n ],\n updateStatusCheckPotection: [\n \"PATCH /repos/{owner}/{repo}/branches/{branch}/protection/required_status_checks\",\n {},\n { renamed: [\"repos\", \"updateStatusCheckProtection\"] },\n ],\n updateStatusCheckProtection: [\n \"PATCH /repos/{owner}/{repo}/branches/{branch}/protection/required_status_checks\",\n ],\n updateWebhook: [\"PATCH /repos/{owner}/{repo}/hooks/{hook_id}\"],\n updateWebhookConfigForRepo: [\n \"PATCH /repos/{owner}/{repo}/hooks/{hook_id}/config\",\n ],\n uploadReleaseAsset: [\n \"POST /repos/{owner}/{repo}/releases/{release_id}/assets{?name,label}\",\n { baseUrl: \"https://uploads.github.com\" },\n ],\n },\n search: {\n code: [\"GET /search/code\"],\n commits: [\"GET /search/commits\", { mediaType: { previews: [\"cloak\"] } }],\n issuesAndPullRequests: [\"GET /search/issues\"],\n labels: [\"GET /search/labels\"],\n repos: [\"GET /search/repositories\"],\n topics: [\"GET /search/topics\", { mediaType: { previews: [\"mercy\"] } }],\n users: [\"GET /search/users\"],\n },\n secretScanning: {\n getAlert: [\n \"GET /repos/{owner}/{repo}/secret-scanning/alerts/{alert_number}\",\n ],\n listAlertsForRepo: [\"GET /repos/{owner}/{repo}/secret-scanning/alerts\"],\n updateAlert: [\n \"PATCH /repos/{owner}/{repo}/secret-scanning/alerts/{alert_number}\",\n ],\n },\n teams: {\n addOrUpdateMembershipForUserInOrg: [\n \"PUT /orgs/{org}/teams/{team_slug}/memberships/{username}\",\n ],\n addOrUpdateProjectPermissionsInOrg: [\n \"PUT /orgs/{org}/teams/{team_slug}/projects/{project_id}\",\n { mediaType: { previews: [\"inertia\"] } },\n ],\n addOrUpdateRepoPermissionsInOrg: [\n \"PUT /orgs/{org}/teams/{team_slug}/repos/{owner}/{repo}\",\n ],\n checkPermissionsForProjectInOrg: [\n \"GET /orgs/{org}/teams/{team_slug}/projects/{project_id}\",\n { mediaType: { previews: [\"inertia\"] } },\n ],\n checkPermissionsForRepoInOrg: [\n \"GET /orgs/{org}/teams/{team_slug}/repos/{owner}/{repo}\",\n ],\n create: [\"POST /orgs/{org}/teams\"],\n createDiscussionCommentInOrg: [\n \"POST /orgs/{org}/teams/{team_slug}/discussions/{discussion_number}/comments\",\n ],\n createDiscussionInOrg: [\"POST /orgs/{org}/teams/{team_slug}/discussions\"],\n deleteDiscussionCommentInOrg: [\n \"DELETE /orgs/{org}/teams/{team_slug}/discussions/{discussion_number}/comments/{comment_number}\",\n ],\n deleteDiscussionInOrg: [\n \"DELETE /orgs/{org}/teams/{team_slug}/discussions/{discussion_number}\",\n ],\n deleteInOrg: [\"DELETE /orgs/{org}/teams/{team_slug}\"],\n getByName: [\"GET /orgs/{org}/teams/{team_slug}\"],\n getDiscussionCommentInOrg: [\n \"GET /orgs/{org}/teams/{team_slug}/discussions/{discussion_number}/comments/{comment_number}\",\n ],\n getDiscussionInOrg: [\n \"GET /orgs/{org}/teams/{team_slug}/discussions/{discussion_number}\",\n ],\n getMembershipForUserInOrg: [\n \"GET /orgs/{org}/teams/{team_slug}/memberships/{username}\",\n ],\n list: [\"GET /orgs/{org}/teams\"],\n listChildInOrg: [\"GET /orgs/{org}/teams/{team_slug}/teams\"],\n listDiscussionCommentsInOrg: [\n \"GET /orgs/{org}/teams/{team_slug}/discussions/{discussion_number}/comments\",\n ],\n listDiscussionsInOrg: [\"GET /orgs/{org}/teams/{team_slug}/discussions\"],\n listForAuthenticatedUser: [\"GET /user/teams\"],\n listMembersInOrg: [\"GET /orgs/{org}/teams/{team_slug}/members\"],\n listPendingInvitationsInOrg: [\n \"GET /orgs/{org}/teams/{team_slug}/invitations\",\n ],\n listProjectsInOrg: [\n \"GET /orgs/{org}/teams/{team_slug}/projects\",\n { mediaType: { previews: [\"inertia\"] } },\n ],\n listReposInOrg: [\"GET /orgs/{org}/teams/{team_slug}/repos\"],\n removeMembershipForUserInOrg: [\n \"DELETE /orgs/{org}/teams/{team_slug}/memberships/{username}\",\n ],\n removeProjectInOrg: [\n \"DELETE /orgs/{org}/teams/{team_slug}/projects/{project_id}\",\n ],\n removeRepoInOrg: [\n \"DELETE /orgs/{org}/teams/{team_slug}/repos/{owner}/{repo}\",\n ],\n updateDiscussionCommentInOrg: [\n \"PATCH /orgs/{org}/teams/{team_slug}/discussions/{discussion_number}/comments/{comment_number}\",\n ],\n updateDiscussionInOrg: [\n \"PATCH /orgs/{org}/teams/{team_slug}/discussions/{discussion_number}\",\n ],\n updateInOrg: [\"PATCH /orgs/{org}/teams/{team_slug}\"],\n },\n users: {\n addEmailForAuthenticated: [\"POST /user/emails\"],\n block: [\"PUT /user/blocks/{username}\"],\n checkBlocked: [\"GET /user/blocks/{username}\"],\n checkFollowingForUser: [\"GET /users/{username}/following/{target_user}\"],\n checkPersonIsFollowedByAuthenticated: [\"GET /user/following/{username}\"],\n createGpgKeyForAuthenticated: [\"POST /user/gpg_keys\"],\n createPublicSshKeyForAuthenticated: [\"POST /user/keys\"],\n deleteEmailForAuthenticated: [\"DELETE /user/emails\"],\n deleteGpgKeyForAuthenticated: [\"DELETE /user/gpg_keys/{gpg_key_id}\"],\n deletePublicSshKeyForAuthenticated: [\"DELETE /user/keys/{key_id}\"],\n follow: [\"PUT /user/following/{username}\"],\n getAuthenticated: [\"GET /user\"],\n getByUsername: [\"GET /users/{username}\"],\n getContextForUser: [\"GET /users/{username}/hovercard\"],\n getGpgKeyForAuthenticated: [\"GET /user/gpg_keys/{gpg_key_id}\"],\n getPublicSshKeyForAuthenticated: [\"GET /user/keys/{key_id}\"],\n list: [\"GET /users\"],\n listBlockedByAuthenticated: [\"GET /user/blocks\"],\n listEmailsForAuthenticated: [\"GET /user/emails\"],\n listFollowedByAuthenticated: [\"GET /user/following\"],\n listFollowersForAuthenticatedUser: [\"GET /user/followers\"],\n listFollowersForUser: [\"GET /users/{username}/followers\"],\n listFollowingForUser: [\"GET /users/{username}/following\"],\n listGpgKeysForAuthenticated: [\"GET /user/gpg_keys\"],\n listGpgKeysForUser: [\"GET /users/{username}/gpg_keys\"],\n listPublicEmailsForAuthenticated: [\"GET /user/public_emails\"],\n listPublicKeysForUser: [\"GET /users/{username}/keys\"],\n listPublicSshKeysForAuthenticated: [\"GET /user/keys\"],\n setPrimaryEmailVisibilityForAuthenticated: [\"PATCH /user/email/visibility\"],\n unblock: [\"DELETE /user/blocks/{username}\"],\n unfollow: [\"DELETE /user/following/{username}\"],\n updateAuthenticated: [\"PATCH /user\"],\n },\n};\nexport default Endpoints;\n","export const VERSION = \"5.5.2\";\n","export function endpointsToMethods(octokit, endpointsMap) {\n const newMethods = {};\n for (const [scope, endpoints] of Object.entries(endpointsMap)) {\n for (const [methodName, endpoint] of Object.entries(endpoints)) {\n const [route, defaults, decorations] = endpoint;\n const [method, url] = route.split(/ /);\n const endpointDefaults = Object.assign({ method, url }, defaults);\n if (!newMethods[scope]) {\n newMethods[scope] = {};\n }\n const scopeMethods = newMethods[scope];\n if (decorations) {\n scopeMethods[methodName] = decorate(octokit, scope, methodName, endpointDefaults, decorations);\n continue;\n }\n scopeMethods[methodName] = octokit.request.defaults(endpointDefaults);\n }\n }\n return newMethods;\n}\nfunction decorate(octokit, scope, methodName, defaults, decorations) {\n const requestWithDefaults = octokit.request.defaults(defaults);\n /* istanbul ignore next */\n function withDecorations(...args) {\n // @ts-ignore https://github.com/microsoft/TypeScript/issues/25488\n let options = requestWithDefaults.endpoint.merge(...args);\n // There are currently no other decorations than `.mapToData`\n if (decorations.mapToData) {\n options = Object.assign({}, options, {\n data: options[decorations.mapToData],\n [decorations.mapToData]: undefined,\n });\n return requestWithDefaults(options);\n }\n if (decorations.renamed) {\n const [newScope, newMethodName] = decorations.renamed;\n octokit.log.warn(`octokit.${scope}.${methodName}() has been renamed to octokit.${newScope}.${newMethodName}()`);\n }\n if (decorations.deprecated) {\n octokit.log.warn(decorations.deprecated);\n }\n if (decorations.renamedParameters) {\n // @ts-ignore https://github.com/microsoft/TypeScript/issues/25488\n const options = requestWithDefaults.endpoint.merge(...args);\n for (const [name, alias] of Object.entries(decorations.renamedParameters)) {\n if (name in options) {\n octokit.log.warn(`\"${name}\" parameter is deprecated for \"octokit.${scope}.${methodName}()\". Use \"${alias}\" instead`);\n if (!(alias in options)) {\n options[alias] = options[name];\n }\n delete options[name];\n }\n }\n return requestWithDefaults(options);\n }\n // @ts-ignore https://github.com/microsoft/TypeScript/issues/25488\n return requestWithDefaults(...args);\n }\n return Object.assign(withDecorations, requestWithDefaults);\n}\n","import ENDPOINTS from \"./generated/endpoints\";\nimport { VERSION } from \"./version\";\nimport { endpointsToMethods } from \"./endpoints-to-methods\";\nexport function restEndpointMethods(octokit) {\n const api = endpointsToMethods(octokit, ENDPOINTS);\n return {\n rest: api,\n };\n}\nrestEndpointMethods.VERSION = VERSION;\nexport function legacyRestEndpointMethods(octokit) {\n const api = endpointsToMethods(octokit, ENDPOINTS);\n return {\n ...api,\n rest: api,\n };\n}\nlegacyRestEndpointMethods.VERSION = VERSION;\n"],"names":["Endpoints","actions","addSelectedRepoToOrgSecret","approveWorkflowRun","cancelWorkflowRun","createOrUpdateEnvironmentSecret","createOrUpdateOrgSecret","createOrUpdateRepoSecret","createRegistrationTokenForOrg","createRegistrationTokenForRepo","createRemoveTokenForOrg","createRemoveTokenForRepo","createWorkflowDispatch","deleteArtifact","deleteEnvironmentSecret","deleteOrgSecret","deleteRepoSecret","deleteSelfHostedRunnerFromOrg","deleteSelfHostedRunnerFromRepo","deleteWorkflowRun","deleteWorkflowRunLogs","disableSelectedRepositoryGithubActionsOrganization","disableWorkflow","downloadArtifact","downloadJobLogsForWorkflowRun","downloadWorkflowRunLogs","enableSelectedRepositoryGithubActionsOrganization","enableWorkflow","getAllowedActionsOrganization","getAllowedActionsRepository","getArtifact","getEnvironmentPublicKey","getEnvironmentSecret","getGithubActionsPermissionsOrganization","getGithubActionsPermissionsRepository","getJobForWorkflowRun","getOrgPublicKey","getOrgSecret","getPendingDeploymentsForRun","getRepoPermissions","renamed","getRepoPublicKey","getRepoSecret","getReviewsForRun","getSelfHostedRunnerForOrg","getSelfHostedRunnerForRepo","getWorkflow","getWorkflowRun","getWorkflowRunUsage","getWorkflowUsage","listArtifactsForRepo","listEnvironmentSecrets","listJobsForWorkflowRun","listOrgSecrets","listRepoSecrets","listRepoWorkflows","listRunnerApplicationsForOrg","listRunnerApplicationsForRepo","listSelectedReposForOrgSecret","listSelectedRepositoriesEnabledGithubActionsOrganization","listSelfHostedRunnersForOrg","listSelfHostedRunnersForRepo","listWorkflowRunArtifacts","listWorkflowRuns","listWorkflowRunsForRepo","reRunWorkflow","removeSelectedRepoFromOrgSecret","reviewPendingDeploymentsForRun","setAllowedActionsOrganization","setAllowedActionsRepository","setGithubActionsPermissionsOrganization","setGithubActionsPermissionsRepository","setSelectedReposForOrgSecret","setSelectedRepositoriesEnabledGithubActionsOrganization","activity","checkRepoIsStarredByAuthenticatedUser","deleteRepoSubscription","deleteThreadSubscription","getFeeds","getRepoSubscription","getThread","getThreadSubscriptionForAuthenticatedUser","listEventsForAuthenticatedUser","listNotificationsForAuthenticatedUser","listOrgEventsForAuthenticatedUser","listPublicEvents","listPublicEventsForRepoNetwork","listPublicEventsForUser","listPublicOrgEvents","listReceivedEventsForUser","listReceivedPublicEventsForUser","listRepoEvents","listRepoNotificationsForAuthenticatedUser","listReposStarredByAuthenticatedUser","listReposStarredByUser","listReposWatchedByUser","listStargazersForRepo","listWatchedReposForAuthenticatedUser","listWatchersForRepo","markNotificationsAsRead","markRepoNotificationsAsRead","markThreadAsRead","setRepoSubscription","setThreadSubscription","starRepoForAuthenticatedUser","unstarRepoForAuthenticatedUser","apps","addRepoToInstallation","checkToken","createContentAttachment","mediaType","previews","createContentAttachmentForRepo","createFromManifest","createInstallationAccessToken","deleteAuthorization","deleteInstallation","deleteToken","getAuthenticated","getBySlug","getInstallation","getOrgInstallation","getRepoInstallation","getSubscriptionPlanForAccount","getSubscriptionPlanForAccountStubbed","getUserInstallation","getWebhookConfigForApp","getWebhookDelivery","listAccountsForPlan","listAccountsForPlanStubbed","listInstallationReposForAuthenticatedUser","listInstallations","listInstallationsForAuthenticatedUser","listPlans","listPlansStubbed","listReposAccessibleToInstallation","listSubscriptionsForAuthenticatedUser","listSubscriptionsForAuthenticatedUserStubbed","listWebhookDeliveries","redeliverWebhookDelivery","removeRepoFromInstallation","resetToken","revokeInstallationAccessToken","scopeToken","suspendInstallation","unsuspendInstallation","updateWebhookConfigForApp","billing","getGithubActionsBillingOrg","getGithubActionsBillingUser","getGithubPackagesBillingOrg","getGithubPackagesBillingUser","getSharedStorageBillingOrg","getSharedStorageBillingUser","checks","create","createSuite","get","getSuite","listAnnotations","listForRef","listForSuite","listSuitesForRef","rerequestSuite","setSuitesPreferences","update","codeScanning","deleteAnalysis","getAlert","renamedParameters","alert_id","getAnalysis","getSarif","listAlertInstances","listAlertsForRepo","listAlertsInstances","listRecentAnalyses","updateAlert","uploadSarif","codesOfConduct","getAllCodesOfConduct","getConductCode","getForRepo","emojis","enterpriseAdmin","disableSelectedOrganizationGithubActionsEnterprise","enableSelectedOrganizationGithubActionsEnterprise","getAllowedActionsEnterprise","getGithubActionsPermissionsEnterprise","listSelectedOrganizationsEnabledGithubActionsEnterprise","setAllowedActionsEnterprise","setGithubActionsPermissionsEnterprise","setSelectedOrganizationsEnabledGithubActionsEnterprise","gists","checkIsStarred","createComment","delete","deleteComment","fork","getComment","getRevision","list","listComments","listCommits","listForUser","listForks","listPublic","listStarred","star","unstar","updateComment","git","createBlob","createCommit","createRef","createTag","createTree","deleteRef","getBlob","getCommit","getRef","getTag","getTree","listMatchingRefs","updateRef","gitignore","getAllTemplates","getTemplate","interactions","getRestrictionsForAuthenticatedUser","getRestrictionsForOrg","getRestrictionsForRepo","getRestrictionsForYourPublicRepos","removeRestrictionsForAuthenticatedUser","removeRestrictionsForOrg","removeRestrictionsForRepo","removeRestrictionsForYourPublicRepos","setRestrictionsForAuthenticatedUser","setRestrictionsForOrg","setRestrictionsForRepo","setRestrictionsForYourPublicRepos","issues","addAssignees","addLabels","checkUserCanBeAssigned","createLabel","createMilestone","deleteLabel","deleteMilestone","getEvent","getLabel","getMilestone","listAssignees","listCommentsForRepo","listEvents","listEventsForRepo","listEventsForTimeline","listForAuthenticatedUser","listForOrg","listForRepo","listLabelsForMilestone","listLabelsForRepo","listLabelsOnIssue","listMilestones","lock","removeAllLabels","removeAssignees","removeLabel","setLabels","unlock","updateLabel","updateMilestone","licenses","getAllCommonlyUsed","markdown","render","renderRaw","headers","meta","getOctocat","getZen","root","migrations","cancelImport","deleteArchiveForAuthenticatedUser","deleteArchiveForOrg","downloadArchiveForOrg","getArchiveForAuthenticatedUser","getCommitAuthors","getImportStatus","getLargeFiles","getStatusForAuthenticatedUser","getStatusForOrg","listReposForOrg","listReposForUser","mapCommitAuthor","setLfsPreference","startForAuthenticatedUser","startForOrg","startImport","unlockRepoForAuthenticatedUser","unlockRepoForOrg","updateImport","orgs","blockUser","cancelInvitation","checkBlockedUser","checkMembershipForUser","checkPublicMembershipForUser","convertMemberToOutsideCollaborator","createInvitation","createWebhook","deleteWebhook","getMembershipForAuthenticatedUser","getMembershipForUser","getWebhook","getWebhookConfigForOrg","listAppInstallations","listBlockedUsers","listFailedInvitations","listInvitationTeams","listMembers","listMembershipsForAuthenticatedUser","listOutsideCollaborators","listPendingInvitations","listPublicMembers","listWebhooks","pingWebhook","removeMember","removeMembershipForUser","removeOutsideCollaborator","removePublicMembershipForAuthenticatedUser","setMembershipForUser","setPublicMembershipForAuthenticatedUser","unblockUser","updateMembershipForAuthenticatedUser","updateWebhook","updateWebhookConfigForOrg","packages","deletePackageForAuthenticatedUser","deletePackageForOrg","deletePackageVersionForAuthenticatedUser","deletePackageVersionForOrg","getAllPackageVersionsForAPackageOwnedByAnOrg","getAllPackageVersionsForAPackageOwnedByTheAuthenticatedUser","getAllPackageVersionsForPackageOwnedByAuthenticatedUser","getAllPackageVersionsForPackageOwnedByOrg","getAllPackageVersionsForPackageOwnedByUser","getPackageForAuthenticatedUser","getPackageForOrganization","getPackageForUser","getPackageVersionForAuthenticatedUser","getPackageVersionForOrganization","getPackageVersionForUser","restorePackageForAuthenticatedUser","restorePackageForOrg","restorePackageVersionForAuthenticatedUser","restorePackageVersionForOrg","projects","addCollaborator","createCard","createColumn","createForAuthenticatedUser","createForOrg","createForRepo","deleteCard","deleteColumn","getCard","getColumn","getPermissionForUser","listCards","listCollaborators","listColumns","moveCard","moveColumn","removeCollaborator","updateCard","updateColumn","pulls","checkIfMerged","createReplyForReviewComment","createReview","createReviewComment","deletePendingReview","deleteReviewComment","dismissReview","getReview","getReviewComment","listCommentsForReview","listFiles","listRequestedReviewers","listReviewComments","listReviewCommentsForRepo","listReviews","merge","removeRequestedReviewers","requestReviewers","submitReview","updateBranch","updateReview","updateReviewComment","rateLimit","reactions","createForCommitComment","createForIssue","createForIssueComment","createForPullRequestReviewComment","createForRelease","createForTeamDiscussionCommentInOrg","createForTeamDiscussionInOrg","deleteForCommitComment","deleteForIssue","deleteForIssueComment","deleteForPullRequestComment","deleteForTeamDiscussion","deleteForTeamDiscussionComment","deleteLegacy","deprecated","listForCommitComment","listForIssue","listForIssueComment","listForPullRequestReviewComment","listForTeamDiscussionCommentInOrg","listForTeamDiscussionInOrg","repos","acceptInvitation","addAppAccessRestrictions","mapToData","addStatusCheckContexts","addTeamAccessRestrictions","addUserAccessRestrictions","checkCollaborator","checkVulnerabilityAlerts","compareCommits","compareCommitsWithBasehead","createCommitComment","createCommitSignatureProtection","createCommitStatus","createDeployKey","createDeployment","createDeploymentStatus","createDispatchEvent","createFork","createInOrg","createOrUpdateEnvironment","createOrUpdateFileContents","createPagesSite","createRelease","createUsingTemplate","declineInvitation","deleteAccessRestrictions","deleteAdminBranchProtection","deleteAnEnvironment","deleteBranchProtection","deleteCommitComment","deleteCommitSignatureProtection","deleteDeployKey","deleteDeployment","deleteFile","deleteInvitation","deletePagesSite","deletePullRequestReviewProtection","deleteRelease","deleteReleaseAsset","disableAutomatedSecurityFixes","disableVulnerabilityAlerts","downloadArchive","downloadTarballArchive","downloadZipballArchive","enableAutomatedSecurityFixes","enableVulnerabilityAlerts","getAccessRestrictions","getAdminBranchProtection","getAllEnvironments","getAllStatusCheckContexts","getAllTopics","getAppsWithAccessToProtectedBranch","getBranch","getBranchProtection","getClones","getCodeFrequencyStats","getCollaboratorPermissionLevel","getCombinedStatusForRef","getCommitActivityStats","getCommitComment","getCommitSignatureProtection","getCommunityProfileMetrics","getContent","getContributorsStats","getDeployKey","getDeployment","getDeploymentStatus","getEnvironment","getLatestPagesBuild","getLatestRelease","getPages","getPagesBuild","getPagesHealthCheck","getParticipationStats","getPullRequestReviewProtection","getPunchCardStats","getReadme","getReadmeInDirectory","getRelease","getReleaseAsset","getReleaseByTag","getStatusChecksProtection","getTeamsWithAccessToProtectedBranch","getTopPaths","getTopReferrers","getUsersWithAccessToProtectedBranch","getViews","getWebhookConfigForRepo","listBranches","listBranchesForHeadCommit","listCommentsForCommit","listCommitCommentsForRepo","listCommitStatusesForRef","listContributors","listDeployKeys","listDeploymentStatuses","listDeployments","listInvitations","listInvitationsForAuthenticatedUser","listLanguages","listPagesBuilds","listPullRequestsAssociatedWithCommit","listReleaseAssets","listReleases","listTags","listTeams","removeAppAccessRestrictions","removeStatusCheckContexts","removeStatusCheckProtection","removeTeamAccessRestrictions","removeUserAccessRestrictions","renameBranch","replaceAllTopics","requestPagesBuild","setAdminBranchProtection","setAppAccessRestrictions","setStatusCheckContexts","setTeamAccessRestrictions","setUserAccessRestrictions","testPushWebhook","transfer","updateBranchProtection","updateCommitComment","updateInformationAboutPagesSite","updateInvitation","updatePullRequestReviewProtection","updateRelease","updateReleaseAsset","updateStatusCheckPotection","updateStatusCheckProtection","updateWebhookConfigForRepo","uploadReleaseAsset","baseUrl","search","code","commits","issuesAndPullRequests","labels","topics","users","secretScanning","teams","addOrUpdateMembershipForUserInOrg","addOrUpdateProjectPermissionsInOrg","addOrUpdateRepoPermissionsInOrg","checkPermissionsForProjectInOrg","checkPermissionsForRepoInOrg","createDiscussionCommentInOrg","createDiscussionInOrg","deleteDiscussionCommentInOrg","deleteDiscussionInOrg","deleteInOrg","getByName","getDiscussionCommentInOrg","getDiscussionInOrg","getMembershipForUserInOrg","listChildInOrg","listDiscussionCommentsInOrg","listDiscussionsInOrg","listMembersInOrg","listPendingInvitationsInOrg","listProjectsInOrg","listReposInOrg","removeMembershipForUserInOrg","removeProjectInOrg","removeRepoInOrg","updateDiscussionCommentInOrg","updateDiscussionInOrg","updateInOrg","addEmailForAuthenticated","block","checkBlocked","checkFollowingForUser","checkPersonIsFollowedByAuthenticated","createGpgKeyForAuthenticated","createPublicSshKeyForAuthenticated","deleteEmailForAuthenticated","deleteGpgKeyForAuthenticated","deletePublicSshKeyForAuthenticated","follow","getByUsername","getContextForUser","getGpgKeyForAuthenticated","getPublicSshKeyForAuthenticated","listBlockedByAuthenticated","listEmailsForAuthenticated","listFollowedByAuthenticated","listFollowersForAuthenticatedUser","listFollowersForUser","listFollowingForUser","listGpgKeysForAuthenticated","listGpgKeysForUser","listPublicEmailsForAuthenticated","listPublicKeysForUser","listPublicSshKeysForAuthenticated","setPrimaryEmailVisibilityForAuthenticated","unblock","unfollow","updateAuthenticated","VERSION","endpointsToMethods","octokit","endpointsMap","newMethods","scope","endpoints","Object","entries","methodName","endpoint","route","defaults","decorations","method","url","split","endpointDefaults","assign","scopeMethods","decorate","request","requestWithDefaults","withDecorations","args","options","data","undefined","newScope","newMethodName","log","warn","name","alias","restEndpointMethods","api","ENDPOINTS","rest","legacyRestEndpointMethods"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,MAAMA,SAAS,GAAG;AACdC,EAAAA,OAAO,EAAE;AACLC,IAAAA,0BAA0B,EAAE,CACxB,4EADwB,CADvB;AAILC,IAAAA,kBAAkB,EAAE,CAChB,0DADgB,CAJf;AAOLC,IAAAA,iBAAiB,EAAE,CACf,yDADe,CAPd;AAULC,IAAAA,+BAA+B,EAAE,CAC7B,yFAD6B,CAV5B;AAaLC,IAAAA,uBAAuB,EAAE,CAAC,+CAAD,CAbpB;AAcLC,IAAAA,wBAAwB,EAAE,CACtB,yDADsB,CAdrB;AAiBLC,IAAAA,6BAA6B,EAAE,CAC3B,qDAD2B,CAjB1B;AAoBLC,IAAAA,8BAA8B,EAAE,CAC5B,+DAD4B,CApB3B;AAuBLC,IAAAA,uBAAuB,EAAE,CAAC,+CAAD,CAvBpB;AAwBLC,IAAAA,wBAAwB,EAAE,CACtB,yDADsB,CAxBrB;AA2BLC,IAAAA,sBAAsB,EAAE,CACpB,uEADoB,CA3BnB;AA8BLC,IAAAA,cAAc,EAAE,CACZ,8DADY,CA9BX;AAiCLC,IAAAA,uBAAuB,EAAE,CACrB,4FADqB,CAjCpB;AAoCLC,IAAAA,eAAe,EAAE,CAAC,kDAAD,CApCZ;AAqCLC,IAAAA,gBAAgB,EAAE,CACd,4DADc,CArCb;AAwCLC,IAAAA,6BAA6B,EAAE,CAC3B,gDAD2B,CAxC1B;AA2CLC,IAAAA,8BAA8B,EAAE,CAC5B,0DAD4B,CA3C3B;AA8CLC,IAAAA,iBAAiB,EAAE,CAAC,oDAAD,CA9Cd;AA+CLC,IAAAA,qBAAqB,EAAE,CACnB,yDADmB,CA/ClB;AAkDLC,IAAAA,kDAAkD,EAAE,CAChD,qEADgD,CAlD/C;AAqDLC,IAAAA,eAAe,EAAE,CACb,mEADa,CArDZ;AAwDLC,IAAAA,gBAAgB,EAAE,CACd,4EADc,CAxDb;AA2DLC,IAAAA,6BAA6B,EAAE,CAC3B,sDAD2B,CA3D1B;AA8DLC,IAAAA,uBAAuB,EAAE,CACrB,sDADqB,CA9DpB;AAiELC,IAAAA,iDAAiD,EAAE,CAC/C,kEAD+C,CAjE9C;AAoELC,IAAAA,cAAc,EAAE,CACZ,kEADY,CApEX;AAuELC,IAAAA,6BAA6B,EAAE,CAC3B,sDAD2B,CAvE1B;AA0ELC,IAAAA,2BAA2B,EAAE,CACzB,gEADyB,CA1ExB;AA6ELC,IAAAA,WAAW,EAAE,CAAC,2DAAD,CA7ER;AA8ELC,IAAAA,uBAAuB,EAAE,CACrB,sFADqB,CA9EpB;AAiFLC,IAAAA,oBAAoB,EAAE,CAClB,yFADkB,CAjFjB;AAoFLC,IAAAA,uCAAuC,EAAE,CACrC,qCADqC,CApFpC;AAuFLC,IAAAA,qCAAqC,EAAE,CACnC,+CADmC,CAvFlC;AA0FLC,IAAAA,oBAAoB,EAAE,CAAC,iDAAD,CA1FjB;AA2FLC,IAAAA,eAAe,EAAE,CAAC,4CAAD,CA3FZ;AA4FLC,IAAAA,YAAY,EAAE,CAAC,+CAAD,CA5FT;AA6FLC,IAAAA,2BAA2B,EAAE,CACzB,qEADyB,CA7FxB;AAgGLC,IAAAA,kBAAkB,EAAE,CAChB,+CADgB,EAEhB,EAFgB,EAGhB;AAAEC,MAAAA,OAAO,EAAE,CAAC,SAAD,EAAY,uCAAZ;AAAX,KAHgB,CAhGf;AAqGLC,IAAAA,gBAAgB,EAAE,CAAC,sDAAD,CArGb;AAsGLC,IAAAA,aAAa,EAAE,CAAC,yDAAD,CAtGV;AAuGLC,IAAAA,gBAAgB,EAAE,CACd,2DADc,CAvGb;AA0GLC,IAAAA,yBAAyB,EAAE,CAAC,6CAAD,CA1GtB;AA2GLC,IAAAA,0BAA0B,EAAE,CACxB,uDADwB,CA3GvB;AA8GLC,IAAAA,WAAW,EAAE,CAAC,2DAAD,CA9GR;AA+GLC,IAAAA,cAAc,EAAE,CAAC,iDAAD,CA/GX;AAgHLC,IAAAA,mBAAmB,EAAE,CACjB,wDADiB,CAhHhB;AAmHLC,IAAAA,gBAAgB,EAAE,CACd,kEADc,CAnHb;AAsHLC,IAAAA,oBAAoB,EAAE,CAAC,6CAAD,CAtHjB;AAuHLC,IAAAA,sBAAsB,EAAE,CACpB,2EADoB,CAvHnB;AA0HLC,IAAAA,sBAAsB,EAAE,CACpB,sDADoB,CA1HnB;AA6HLC,IAAAA,cAAc,EAAE,CAAC,iCAAD,CA7HX;AA8HLC,IAAAA,eAAe,EAAE,CAAC,2CAAD,CA9HZ;AA+HLC,IAAAA,iBAAiB,EAAE,CAAC,6CAAD,CA/Hd;AAgILC,IAAAA,4BAA4B,EAAE,CAAC,2CAAD,CAhIzB;AAiILC,IAAAA,6BAA6B,EAAE,CAC3B,qDAD2B,CAjI1B;AAoILC,IAAAA,6BAA6B,EAAE,CAC3B,4DAD2B,CApI1B;AAuILC,IAAAA,wDAAwD,EAAE,CACtD,kDADsD,CAvIrD;AA0ILC,IAAAA,2BAA2B,EAAE,CAAC,iCAAD,CA1IxB;AA2ILC,IAAAA,4BAA4B,EAAE,CAAC,2CAAD,CA3IzB;AA4ILC,IAAAA,wBAAwB,EAAE,CACtB,2DADsB,CA5IrB;AA+ILC,IAAAA,gBAAgB,EAAE,CACd,gEADc,CA/Ib;AAkJLC,IAAAA,uBAAuB,EAAE,CAAC,wCAAD,CAlJpB;AAmJLC,IAAAA,aAAa,EAAE,CAAC,wDAAD,CAnJV;AAoJLC,IAAAA,+BAA+B,EAAE,CAC7B,+EAD6B,CApJ5B;AAuJLC,IAAAA,8BAA8B,EAAE,CAC5B,sEAD4B,CAvJ3B;AA0JLC,IAAAA,6BAA6B,EAAE,CAC3B,sDAD2B,CA1J1B;AA6JLC,IAAAA,2BAA2B,EAAE,CACzB,gEADyB,CA7JxB;AAgKLC,IAAAA,uCAAuC,EAAE,CACrC,qCADqC,CAhKpC;AAmKLC,IAAAA,qCAAqC,EAAE,CACnC,+CADmC,CAnKlC;AAsKLC,IAAAA,4BAA4B,EAAE,CAC1B,4DAD0B,CAtKzB;AAyKLC,IAAAA,uDAAuD,EAAE,CACrD,kDADqD;AAzKpD,GADK;AA8KdC,EAAAA,QAAQ,EAAE;AACNC,IAAAA,qCAAqC,EAAE,CAAC,kCAAD,CADjC;AAENC,IAAAA,sBAAsB,EAAE,CAAC,2CAAD,CAFlB;AAGNC,IAAAA,wBAAwB,EAAE,CACtB,wDADsB,CAHpB;AAMNC,IAAAA,QAAQ,EAAE,CAAC,YAAD,CANJ;AAONC,IAAAA,mBAAmB,EAAE,CAAC,wCAAD,CAPf;AAQNC,IAAAA,SAAS,EAAE,CAAC,wCAAD,CARL;AASNC,IAAAA,yCAAyC,EAAE,CACvC,qDADuC,CATrC;AAYNC,IAAAA,8BAA8B,EAAE,CAAC,8BAAD,CAZ1B;AAaNC,IAAAA,qCAAqC,EAAE,CAAC,oBAAD,CAbjC;AAcNC,IAAAA,iCAAiC,EAAE,CAC/B,yCAD+B,CAd7B;AAiBNC,IAAAA,gBAAgB,EAAE,CAAC,aAAD,CAjBZ;AAkBNC,IAAAA,8BAA8B,EAAE,CAAC,qCAAD,CAlB1B;AAmBNC,IAAAA,uBAAuB,EAAE,CAAC,qCAAD,CAnBnB;AAoBNC,IAAAA,mBAAmB,EAAE,CAAC,wBAAD,CApBf;AAqBNC,IAAAA,yBAAyB,EAAE,CAAC,uCAAD,CArBrB;AAsBNC,IAAAA,+BAA+B,EAAE,CAC7B,8CAD6B,CAtB3B;AAyBNC,IAAAA,cAAc,EAAE,CAAC,kCAAD,CAzBV;AA0BNC,IAAAA,yCAAyC,EAAE,CACvC,yCADuC,CA1BrC;AA6BNC,IAAAA,mCAAmC,EAAE,CAAC,mBAAD,CA7B/B;AA8BNC,IAAAA,sBAAsB,EAAE,CAAC,+BAAD,CA9BlB;AA+BNC,IAAAA,sBAAsB,EAAE,CAAC,qCAAD,CA/BlB;AAgCNC,IAAAA,qBAAqB,EAAE,CAAC,sCAAD,CAhCjB;AAiCNC,IAAAA,oCAAoC,EAAE,CAAC,yBAAD,CAjChC;AAkCNC,IAAAA,mBAAmB,EAAE,CAAC,uCAAD,CAlCf;AAmCNC,IAAAA,uBAAuB,EAAE,CAAC,oBAAD,CAnCnB;AAoCNC,IAAAA,2BAA2B,EAAE,CAAC,yCAAD,CApCvB;AAqCNC,IAAAA,gBAAgB,EAAE,CAAC,0CAAD,CArCZ;AAsCNC,IAAAA,mBAAmB,EAAE,CAAC,wCAAD,CAtCf;AAuCNC,IAAAA,qBAAqB,EAAE,CACnB,qDADmB,CAvCjB;AA0CNC,IAAAA,4BAA4B,EAAE,CAAC,kCAAD,CA1CxB;AA2CNC,IAAAA,8BAA8B,EAAE,CAAC,qCAAD;AA3C1B,GA9KI;AA2NdC,EAAAA,IAAI,EAAE;AACFC,IAAAA,qBAAqB,EAAE,CACnB,wEADmB,CADrB;AAIFC,IAAAA,UAAU,EAAE,CAAC,sCAAD,CAJV;AAKFC,IAAAA,uBAAuB,EAAE,CACrB,6DADqB,EAErB;AAAEC,MAAAA,SAAS,EAAE;AAAEC,QAAAA,QAAQ,EAAE,CAAC,SAAD;AAAZ;AAAb,KAFqB,CALvB;AASFC,IAAAA,8BAA8B,EAAE,CAC5B,kFAD4B,EAE5B;AAAEF,MAAAA,SAAS,EAAE;AAAEC,QAAAA,QAAQ,EAAE,CAAC,SAAD;AAAZ;AAAb,KAF4B,CAT9B;AAaFE,IAAAA,kBAAkB,EAAE,CAAC,wCAAD,CAblB;AAcFC,IAAAA,6BAA6B,EAAE,CAC3B,yDAD2B,CAd7B;AAiBFC,IAAAA,mBAAmB,EAAE,CAAC,wCAAD,CAjBnB;AAkBFC,IAAAA,kBAAkB,EAAE,CAAC,6CAAD,CAlBlB;AAmBFC,IAAAA,WAAW,EAAE,CAAC,wCAAD,CAnBX;AAoBFC,IAAAA,gBAAgB,EAAE,CAAC,UAAD,CApBhB;AAqBFC,IAAAA,SAAS,EAAE,CAAC,sBAAD,CArBT;AAsBFC,IAAAA,eAAe,EAAE,CAAC,0CAAD,CAtBf;AAuBFC,IAAAA,kBAAkB,EAAE,CAAC,8BAAD,CAvBlB;AAwBFC,IAAAA,mBAAmB,EAAE,CAAC,wCAAD,CAxBnB;AAyBFC,IAAAA,6BAA6B,EAAE,CAC3B,gDAD2B,CAzB7B;AA4BFC,IAAAA,oCAAoC,EAAE,CAClC,wDADkC,CA5BpC;AA+BFC,IAAAA,mBAAmB,EAAE,CAAC,oCAAD,CA/BnB;AAgCFC,IAAAA,sBAAsB,EAAE,CAAC,sBAAD,CAhCtB;AAiCFC,IAAAA,kBAAkB,EAAE,CAAC,wCAAD,CAjClB;AAkCFC,IAAAA,mBAAmB,EAAE,CAAC,mDAAD,CAlCnB;AAmCFC,IAAAA,0BAA0B,EAAE,CACxB,2DADwB,CAnC1B;AAsCFC,IAAAA,yCAAyC,EAAE,CACvC,wDADuC,CAtCzC;AAyCFC,IAAAA,iBAAiB,EAAE,CAAC,wBAAD,CAzCjB;AA0CFC,IAAAA,qCAAqC,EAAE,CAAC,yBAAD,CA1CrC;AA2CFC,IAAAA,SAAS,EAAE,CAAC,gCAAD,CA3CT;AA4CFC,IAAAA,gBAAgB,EAAE,CAAC,wCAAD,CA5ChB;AA6CFC,IAAAA,iCAAiC,EAAE,CAAC,gCAAD,CA7CjC;AA8CFC,IAAAA,qCAAqC,EAAE,CAAC,iCAAD,CA9CrC;AA+CFC,IAAAA,4CAA4C,EAAE,CAC1C,yCAD0C,CA/C5C;AAkDFC,IAAAA,qBAAqB,EAAE,CAAC,0BAAD,CAlDrB;AAmDFC,IAAAA,wBAAwB,EAAE,CACtB,kDADsB,CAnDxB;AAsDFC,IAAAA,0BAA0B,EAAE,CACxB,2EADwB,CAtD1B;AAyDFC,IAAAA,UAAU,EAAE,CAAC,uCAAD,CAzDV;AA0DFC,IAAAA,6BAA6B,EAAE,CAAC,4BAAD,CA1D7B;AA2DFC,IAAAA,UAAU,EAAE,CAAC,6CAAD,CA3DV;AA4DFC,IAAAA,mBAAmB,EAAE,CAAC,oDAAD,CA5DnB;AA6DFC,IAAAA,qBAAqB,EAAE,CACnB,uDADmB,CA7DrB;AAgEFC,IAAAA,yBAAyB,EAAE,CAAC,wBAAD;AAhEzB,GA3NQ;AA6RdC,EAAAA,OAAO,EAAE;AACLC,IAAAA,0BAA0B,EAAE,CAAC,0CAAD,CADvB;AAELC,IAAAA,2BAA2B,EAAE,CACzB,gDADyB,CAFxB;AAKLC,IAAAA,2BAA2B,EAAE,CAAC,2CAAD,CALxB;AAMLC,IAAAA,4BAA4B,EAAE,CAC1B,iDAD0B,CANzB;AASLC,IAAAA,0BAA0B,EAAE,CACxB,iDADwB,CATvB;AAYLC,IAAAA,2BAA2B,EAAE,CACzB,uDADyB;AAZxB,GA7RK;AA6SdC,EAAAA,MAAM,EAAE;AACJC,IAAAA,MAAM,EAAE,CAAC,uCAAD,CADJ;AAEJC,IAAAA,WAAW,EAAE,CAAC,yCAAD,CAFT;AAGJC,IAAAA,GAAG,EAAE,CAAC,qDAAD,CAHD;AAIJC,IAAAA,QAAQ,EAAE,CAAC,yDAAD,CAJN;AAKJC,IAAAA,eAAe,EAAE,CACb,iEADa,CALb;AAQJC,IAAAA,UAAU,EAAE,CAAC,oDAAD,CARR;AASJC,IAAAA,YAAY,EAAE,CACV,oEADU,CATV;AAYJC,IAAAA,gBAAgB,EAAE,CAAC,sDAAD,CAZd;AAaJC,IAAAA,cAAc,EAAE,CACZ,oEADY,CAbZ;AAgBJC,IAAAA,oBAAoB,EAAE,CAClB,sDADkB,CAhBlB;AAmBJC,IAAAA,MAAM,EAAE,CAAC,uDAAD;AAnBJ,GA7SM;AAkUdC,EAAAA,YAAY,EAAE;AACVC,IAAAA,cAAc,EAAE,CACZ,oFADY,CADN;AAIVC,IAAAA,QAAQ,EAAE,CACN,+DADM,EAEN,EAFM,EAGN;AAAEC,MAAAA,iBAAiB,EAAE;AAAEC,QAAAA,QAAQ,EAAE;AAAZ;AAArB,KAHM,CAJA;AASVC,IAAAA,WAAW,EAAE,CACT,gEADS,CATH;AAYVC,IAAAA,QAAQ,EAAE,CAAC,2DAAD,CAZA;AAaVC,IAAAA,kBAAkB,EAAE,CAChB,yEADgB,CAbV;AAgBVC,IAAAA,iBAAiB,EAAE,CAAC,gDAAD,CAhBT;AAiBVC,IAAAA,mBAAmB,EAAE,CACjB,yEADiB,EAEjB,EAFiB,EAGjB;AAAEvI,MAAAA,OAAO,EAAE,CAAC,cAAD,EAAiB,oBAAjB;AAAX,KAHiB,CAjBX;AAsBVwI,IAAAA,kBAAkB,EAAE,CAAC,kDAAD,CAtBV;AAuBVC,IAAAA,WAAW,EAAE,CACT,iEADS,CAvBH;AA0BVC,IAAAA,WAAW,EAAE,CAAC,iDAAD;AA1BH,GAlUA;AA8VdC,EAAAA,cAAc,EAAE;AACZC,IAAAA,oBAAoB,EAAE,CAAC,uBAAD,CADV;AAEZC,IAAAA,cAAc,EAAE,CAAC,6BAAD,CAFJ;AAGZC,IAAAA,UAAU,EAAE,CACR,qDADQ,EAER;AAAExE,MAAAA,SAAS,EAAE;AAAEC,QAAAA,QAAQ,EAAE,CAAC,eAAD;AAAZ;AAAb,KAFQ;AAHA,GA9VF;AAsWdwE,EAAAA,MAAM,EAAE;AAAE1B,IAAAA,GAAG,EAAE,CAAC,aAAD;AAAP,GAtWM;AAuWd2B,EAAAA,eAAe,EAAE;AACbC,IAAAA,kDAAkD,EAAE,CAChD,6EADgD,CADvC;AAIbC,IAAAA,iDAAiD,EAAE,CAC/C,0EAD+C,CAJtC;AAObC,IAAAA,2BAA2B,EAAE,CACzB,oEADyB,CAPhB;AAUbC,IAAAA,qCAAqC,EAAE,CACnC,mDADmC,CAV1B;AAabC,IAAAA,uDAAuD,EAAE,CACrD,iEADqD,CAb5C;AAgBbC,IAAAA,2BAA2B,EAAE,CACzB,oEADyB,CAhBhB;AAmBbC,IAAAA,qCAAqC,EAAE,CACnC,mDADmC,CAnB1B;AAsBbC,IAAAA,sDAAsD,EAAE,CACpD,iEADoD;AAtB3C,GAvWH;AAiYdC,EAAAA,KAAK,EAAE;AACHC,IAAAA,cAAc,EAAE,CAAC,2BAAD,CADb;AAEHvC,IAAAA,MAAM,EAAE,CAAC,aAAD,CAFL;AAGHwC,IAAAA,aAAa,EAAE,CAAC,gCAAD,CAHZ;AAIHC,IAAAA,MAAM,EAAE,CAAC,yBAAD,CAJL;AAKHC,IAAAA,aAAa,EAAE,CAAC,+CAAD,CALZ;AAMHC,IAAAA,IAAI,EAAE,CAAC,6BAAD,CANH;AAOHzC,IAAAA,GAAG,EAAE,CAAC,sBAAD,CAPF;AAQH0C,IAAAA,UAAU,EAAE,CAAC,4CAAD,CART;AASHC,IAAAA,WAAW,EAAE,CAAC,4BAAD,CATV;AAUHC,IAAAA,IAAI,EAAE,CAAC,YAAD,CAVH;AAWHC,IAAAA,YAAY,EAAE,CAAC,+BAAD,CAXX;AAYHC,IAAAA,WAAW,EAAE,CAAC,8BAAD,CAZV;AAaHC,IAAAA,WAAW,EAAE,CAAC,6BAAD,CAbV;AAcHC,IAAAA,SAAS,EAAE,CAAC,4BAAD,CAdR;AAeHC,IAAAA,UAAU,EAAE,CAAC,mBAAD,CAfT;AAgBHC,IAAAA,WAAW,EAAE,CAAC,oBAAD,CAhBV;AAiBHC,IAAAA,IAAI,EAAE,CAAC,2BAAD,CAjBH;AAkBHC,IAAAA,MAAM,EAAE,CAAC,8BAAD,CAlBL;AAmBH5C,IAAAA,MAAM,EAAE,CAAC,wBAAD,CAnBL;AAoBH6C,IAAAA,aAAa,EAAE,CAAC,8CAAD;AApBZ,GAjYO;AAuZdC,EAAAA,GAAG,EAAE;AACDC,IAAAA,UAAU,EAAE,CAAC,sCAAD,CADX;AAEDC,IAAAA,YAAY,EAAE,CAAC,wCAAD,CAFb;AAGDC,IAAAA,SAAS,EAAE,CAAC,qCAAD,CAHV;AAIDC,IAAAA,SAAS,EAAE,CAAC,qCAAD,CAJV;AAKDC,IAAAA,UAAU,EAAE,CAAC,sCAAD,CALX;AAMDC,IAAAA,SAAS,EAAE,CAAC,6CAAD,CANV;AAODC,IAAAA,OAAO,EAAE,CAAC,gDAAD,CAPR;AAQDC,IAAAA,SAAS,EAAE,CAAC,oDAAD,CARV;AASDC,IAAAA,MAAM,EAAE,CAAC,yCAAD,CATP;AAUDC,IAAAA,MAAM,EAAE,CAAC,8CAAD,CAVP;AAWDC,IAAAA,OAAO,EAAE,CAAC,gDAAD,CAXR;AAYDC,IAAAA,gBAAgB,EAAE,CAAC,mDAAD,CAZjB;AAaDC,IAAAA,SAAS,EAAE,CAAC,4CAAD;AAbV,GAvZS;AAsadC,EAAAA,SAAS,EAAE;AACPC,IAAAA,eAAe,EAAE,CAAC,0BAAD,CADV;AAEPC,IAAAA,WAAW,EAAE,CAAC,iCAAD;AAFN,GAtaG;AA0adC,EAAAA,YAAY,EAAE;AACVC,IAAAA,mCAAmC,EAAE,CAAC,8BAAD,CAD3B;AAEVC,IAAAA,qBAAqB,EAAE,CAAC,oCAAD,CAFb;AAGVC,IAAAA,sBAAsB,EAAE,CAAC,8CAAD,CAHd;AAIVC,IAAAA,iCAAiC,EAAE,CAC/B,8BAD+B,EAE/B,EAF+B,EAG/B;AAAEhM,MAAAA,OAAO,EAAE,CAAC,cAAD,EAAiB,qCAAjB;AAAX,KAH+B,CAJzB;AASViM,IAAAA,sCAAsC,EAAE,CAAC,iCAAD,CAT9B;AAUVC,IAAAA,wBAAwB,EAAE,CAAC,uCAAD,CAVhB;AAWVC,IAAAA,yBAAyB,EAAE,CACvB,iDADuB,CAXjB;AAcVC,IAAAA,oCAAoC,EAAE,CAClC,iCADkC,EAElC,EAFkC,EAGlC;AAAEpM,MAAAA,OAAO,EAAE,CAAC,cAAD,EAAiB,wCAAjB;AAAX,KAHkC,CAd5B;AAmBVqM,IAAAA,mCAAmC,EAAE,CAAC,8BAAD,CAnB3B;AAoBVC,IAAAA,qBAAqB,EAAE,CAAC,oCAAD,CApBb;AAqBVC,IAAAA,sBAAsB,EAAE,CAAC,8CAAD,CArBd;AAsBVC,IAAAA,iCAAiC,EAAE,CAC/B,8BAD+B,EAE/B,EAF+B,EAG/B;AAAExM,MAAAA,OAAO,EAAE,CAAC,cAAD,EAAiB,qCAAjB;AAAX,KAH+B;AAtBzB,GA1aA;AAscdyM,EAAAA,MAAM,EAAE;AACJC,IAAAA,YAAY,EAAE,CACV,4DADU,CADV;AAIJC,IAAAA,SAAS,EAAE,CAAC,yDAAD,CAJP;AAKJC,IAAAA,sBAAsB,EAAE,CAAC,gDAAD,CALpB;AAMJzF,IAAAA,MAAM,EAAE,CAAC,mCAAD,CANJ;AAOJwC,IAAAA,aAAa,EAAE,CACX,2DADW,CAPX;AAUJkD,IAAAA,WAAW,EAAE,CAAC,mCAAD,CAVT;AAWJC,IAAAA,eAAe,EAAE,CAAC,uCAAD,CAXb;AAYJjD,IAAAA,aAAa,EAAE,CACX,2DADW,CAZX;AAeJkD,IAAAA,WAAW,EAAE,CAAC,4CAAD,CAfT;AAgBJC,IAAAA,eAAe,EAAE,CACb,4DADa,CAhBb;AAmBJ3F,IAAAA,GAAG,EAAE,CAAC,iDAAD,CAnBD;AAoBJ0C,IAAAA,UAAU,EAAE,CAAC,wDAAD,CApBR;AAqBJkD,IAAAA,QAAQ,EAAE,CAAC,oDAAD,CArBN;AAsBJC,IAAAA,QAAQ,EAAE,CAAC,yCAAD,CAtBN;AAuBJC,IAAAA,YAAY,EAAE,CAAC,yDAAD,CAvBV;AAwBJlD,IAAAA,IAAI,EAAE,CAAC,aAAD,CAxBF;AAyBJmD,IAAAA,aAAa,EAAE,CAAC,qCAAD,CAzBX;AA0BJlD,IAAAA,YAAY,EAAE,CAAC,0DAAD,CA1BV;AA2BJmD,IAAAA,mBAAmB,EAAE,CAAC,2CAAD,CA3BjB;AA4BJC,IAAAA,UAAU,EAAE,CAAC,wDAAD,CA5BR;AA6BJC,IAAAA,iBAAiB,EAAE,CAAC,yCAAD,CA7Bf;AA8BJC,IAAAA,qBAAqB,EAAE,CACnB,0DADmB,EAEnB;AAAElJ,MAAAA,SAAS,EAAE;AAAEC,QAAAA,QAAQ,EAAE,CAAC,aAAD;AAAZ;AAAb,KAFmB,CA9BnB;AAkCJkJ,IAAAA,wBAAwB,EAAE,CAAC,kBAAD,CAlCtB;AAmCJC,IAAAA,UAAU,EAAE,CAAC,wBAAD,CAnCR;AAoCJC,IAAAA,WAAW,EAAE,CAAC,kCAAD,CApCT;AAqCJC,IAAAA,sBAAsB,EAAE,CACpB,gEADoB,CArCpB;AAwCJC,IAAAA,iBAAiB,EAAE,CAAC,kCAAD,CAxCf;AAyCJC,IAAAA,iBAAiB,EAAE,CACf,wDADe,CAzCf;AA4CJC,IAAAA,cAAc,EAAE,CAAC,sCAAD,CA5CZ;AA6CJC,IAAAA,IAAI,EAAE,CAAC,sDAAD,CA7CF;AA8CJC,IAAAA,eAAe,EAAE,CACb,2DADa,CA9Cb;AAiDJC,IAAAA,eAAe,EAAE,CACb,8DADa,CAjDb;AAoDJC,IAAAA,WAAW,EAAE,CACT,kEADS,CApDT;AAuDJC,IAAAA,SAAS,EAAE,CAAC,wDAAD,CAvDP;AAwDJC,IAAAA,MAAM,EAAE,CAAC,yDAAD,CAxDJ;AAyDJxG,IAAAA,MAAM,EAAE,CAAC,mDAAD,CAzDJ;AA0DJ6C,IAAAA,aAAa,EAAE,CAAC,0DAAD,CA1DX;AA2DJ4D,IAAAA,WAAW,EAAE,CAAC,2CAAD,CA3DT;AA4DJC,IAAAA,eAAe,EAAE,CACb,2DADa;AA5Db,GAtcM;AAsgBdC,EAAAA,QAAQ,EAAE;AACNnH,IAAAA,GAAG,EAAE,CAAC,yBAAD,CADC;AAENoH,IAAAA,kBAAkB,EAAE,CAAC,eAAD,CAFd;AAGN3F,IAAAA,UAAU,EAAE,CAAC,mCAAD;AAHN,GAtgBI;AA2gBd4F,EAAAA,QAAQ,EAAE;AACNC,IAAAA,MAAM,EAAE,CAAC,gBAAD,CADF;AAENC,IAAAA,SAAS,EAAE,CACP,oBADO,EAEP;AAAEC,MAAAA,OAAO,EAAE;AAAE,wBAAgB;AAAlB;AAAX,KAFO;AAFL,GA3gBI;AAkhBdC,EAAAA,IAAI,EAAE;AACFzH,IAAAA,GAAG,EAAE,CAAC,WAAD,CADH;AAEF0H,IAAAA,UAAU,EAAE,CAAC,cAAD,CAFV;AAGFC,IAAAA,MAAM,EAAE,CAAC,UAAD,CAHN;AAIFC,IAAAA,IAAI,EAAE,CAAC,OAAD;AAJJ,GAlhBQ;AAwhBdC,EAAAA,UAAU,EAAE;AACRC,IAAAA,YAAY,EAAE,CAAC,qCAAD,CADN;AAERC,IAAAA,iCAAiC,EAAE,CAC/B,gDAD+B,EAE/B;AAAE9K,MAAAA,SAAS,EAAE;AAAEC,QAAAA,QAAQ,EAAE,CAAC,WAAD;AAAZ;AAAb,KAF+B,CAF3B;AAMR8K,IAAAA,mBAAmB,EAAE,CACjB,sDADiB,EAEjB;AAAE/K,MAAAA,SAAS,EAAE;AAAEC,QAAAA,QAAQ,EAAE,CAAC,WAAD;AAAZ;AAAb,KAFiB,CANb;AAUR+K,IAAAA,qBAAqB,EAAE,CACnB,mDADmB,EAEnB;AAAEhL,MAAAA,SAAS,EAAE;AAAEC,QAAAA,QAAQ,EAAE,CAAC,WAAD;AAAZ;AAAb,KAFmB,CAVf;AAcRgL,IAAAA,8BAA8B,EAAE,CAC5B,6CAD4B,EAE5B;AAAEjL,MAAAA,SAAS,EAAE;AAAEC,QAAAA,QAAQ,EAAE,CAAC,WAAD;AAAZ;AAAb,KAF4B,CAdxB;AAkBRiL,IAAAA,gBAAgB,EAAE,CAAC,0CAAD,CAlBV;AAmBRC,IAAAA,eAAe,EAAE,CAAC,kCAAD,CAnBT;AAoBRC,IAAAA,aAAa,EAAE,CAAC,8CAAD,CApBP;AAqBRC,IAAAA,6BAA6B,EAAE,CAC3B,qCAD2B,EAE3B;AAAErL,MAAAA,SAAS,EAAE;AAAEC,QAAAA,QAAQ,EAAE,CAAC,WAAD;AAAZ;AAAb,KAF2B,CArBvB;AAyBRqL,IAAAA,eAAe,EAAE,CACb,2CADa,EAEb;AAAEtL,MAAAA,SAAS,EAAE;AAAEC,QAAAA,QAAQ,EAAE,CAAC,WAAD;AAAZ;AAAb,KAFa,CAzBT;AA6BRkJ,IAAAA,wBAAwB,EAAE,CACtB,sBADsB,EAEtB;AAAEnJ,MAAAA,SAAS,EAAE;AAAEC,QAAAA,QAAQ,EAAE,CAAC,WAAD;AAAZ;AAAb,KAFsB,CA7BlB;AAiCRmJ,IAAAA,UAAU,EAAE,CACR,4BADQ,EAER;AAAEpJ,MAAAA,SAAS,EAAE;AAAEC,QAAAA,QAAQ,EAAE,CAAC,WAAD;AAAZ;AAAb,KAFQ,CAjCJ;AAqCRsL,IAAAA,eAAe,EAAE,CACb,wDADa,EAEb;AAAEvL,MAAAA,SAAS,EAAE;AAAEC,QAAAA,QAAQ,EAAE,CAAC,WAAD;AAAZ;AAAb,KAFa,CArCT;AAyCRuL,IAAAA,gBAAgB,EAAE,CACd,kDADc,EAEd;AAAExL,MAAAA,SAAS,EAAE;AAAEC,QAAAA,QAAQ,EAAE,CAAC,WAAD;AAAZ;AAAb,KAFc,CAzCV;AA6CRwL,IAAAA,eAAe,EAAE,CAAC,wDAAD,CA7CT;AA8CRC,IAAAA,gBAAgB,EAAE,CAAC,wCAAD,CA9CV;AA+CRC,IAAAA,yBAAyB,EAAE,CAAC,uBAAD,CA/CnB;AAgDRC,IAAAA,WAAW,EAAE,CAAC,6BAAD,CAhDL;AAiDRC,IAAAA,WAAW,EAAE,CAAC,kCAAD,CAjDL;AAkDRC,IAAAA,8BAA8B,EAAE,CAC5B,+DAD4B,EAE5B;AAAE9L,MAAAA,SAAS,EAAE;AAAEC,QAAAA,QAAQ,EAAE,CAAC,WAAD;AAAZ;AAAb,KAF4B,CAlDxB;AAsDR8L,IAAAA,gBAAgB,EAAE,CACd,qEADc,EAEd;AAAE/L,MAAAA,SAAS,EAAE;AAAEC,QAAAA,QAAQ,EAAE,CAAC,WAAD;AAAZ;AAAb,KAFc,CAtDV;AA0DR+L,IAAAA,YAAY,EAAE,CAAC,oCAAD;AA1DN,GAxhBE;AAolBdC,EAAAA,IAAI,EAAE;AACFC,IAAAA,SAAS,EAAE,CAAC,mCAAD,CADT;AAEFC,IAAAA,gBAAgB,EAAE,CAAC,gDAAD,CAFhB;AAGFC,IAAAA,gBAAgB,EAAE,CAAC,mCAAD,CAHhB;AAIFC,IAAAA,sBAAsB,EAAE,CAAC,oCAAD,CAJtB;AAKFC,IAAAA,4BAA4B,EAAE,CAAC,2CAAD,CAL5B;AAMFC,IAAAA,kCAAkC,EAAE,CAChC,kDADgC,CANlC;AASFC,IAAAA,gBAAgB,EAAE,CAAC,8BAAD,CAThB;AAUFC,IAAAA,aAAa,EAAE,CAAC,wBAAD,CAVb;AAWFC,IAAAA,aAAa,EAAE,CAAC,oCAAD,CAXb;AAYF3J,IAAAA,GAAG,EAAE,CAAC,iBAAD,CAZH;AAaF4J,IAAAA,iCAAiC,EAAE,CAAC,kCAAD,CAbjC;AAcFC,IAAAA,oBAAoB,EAAE,CAAC,wCAAD,CAdpB;AAeFC,IAAAA,UAAU,EAAE,CAAC,iCAAD,CAfV;AAgBFC,IAAAA,sBAAsB,EAAE,CAAC,wCAAD,CAhBtB;AAiBF7L,IAAAA,kBAAkB,EAAE,CAChB,0DADgB,CAjBlB;AAoBF0E,IAAAA,IAAI,EAAE,CAAC,oBAAD,CApBJ;AAqBFoH,IAAAA,oBAAoB,EAAE,CAAC,+BAAD,CArBpB;AAsBFC,IAAAA,gBAAgB,EAAE,CAAC,wBAAD,CAtBhB;AAuBFC,IAAAA,qBAAqB,EAAE,CAAC,oCAAD,CAvBrB;AAwBF9D,IAAAA,wBAAwB,EAAE,CAAC,gBAAD,CAxBxB;AAyBFrD,IAAAA,WAAW,EAAE,CAAC,4BAAD,CAzBX;AA0BFoH,IAAAA,mBAAmB,EAAE,CAAC,mDAAD,CA1BnB;AA2BFC,IAAAA,WAAW,EAAE,CAAC,yBAAD,CA3BX;AA4BFC,IAAAA,mCAAmC,EAAE,CAAC,4BAAD,CA5BnC;AA6BFC,IAAAA,wBAAwB,EAAE,CAAC,uCAAD,CA7BxB;AA8BFC,IAAAA,sBAAsB,EAAE,CAAC,6BAAD,CA9BtB;AA+BFC,IAAAA,iBAAiB,EAAE,CAAC,gCAAD,CA/BjB;AAgCF3L,IAAAA,qBAAqB,EAAE,CAAC,4CAAD,CAhCrB;AAiCF4L,IAAAA,YAAY,EAAE,CAAC,uBAAD,CAjCZ;AAkCFC,IAAAA,WAAW,EAAE,CAAC,wCAAD,CAlCX;AAmCF5L,IAAAA,wBAAwB,EAAE,CACtB,oEADsB,CAnCxB;AAsCF6L,IAAAA,YAAY,EAAE,CAAC,uCAAD,CAtCZ;AAuCFC,IAAAA,uBAAuB,EAAE,CAAC,2CAAD,CAvCvB;AAwCFC,IAAAA,yBAAyB,EAAE,CACvB,qDADuB,CAxCzB;AA2CFC,IAAAA,0CAA0C,EAAE,CACxC,8CADwC,CA3C1C;AA8CFC,IAAAA,oBAAoB,EAAE,CAAC,wCAAD,CA9CpB;AA+CFC,IAAAA,uCAAuC,EAAE,CACrC,2CADqC,CA/CvC;AAkDFC,IAAAA,WAAW,EAAE,CAAC,sCAAD,CAlDX;AAmDFzK,IAAAA,MAAM,EAAE,CAAC,mBAAD,CAnDN;AAoDF0K,IAAAA,oCAAoC,EAAE,CAClC,oCADkC,CApDpC;AAuDFC,IAAAA,aAAa,EAAE,CAAC,mCAAD,CAvDb;AAwDFC,IAAAA,yBAAyB,EAAE,CAAC,0CAAD;AAxDzB,GAplBQ;AA8oBdC,EAAAA,QAAQ,EAAE;AACNC,IAAAA,iCAAiC,EAAE,CAC/B,qDAD+B,CAD7B;AAINC,IAAAA,mBAAmB,EAAE,CACjB,2DADiB,CAJf;AAONC,IAAAA,wCAAwC,EAAE,CACtC,mFADsC,CAPpC;AAUNC,IAAAA,0BAA0B,EAAE,CACxB,yFADwB,CAVtB;AAaNC,IAAAA,4CAA4C,EAAE,CAC1C,iEAD0C,EAE1C,EAF0C,EAG1C;AAAE/S,MAAAA,OAAO,EAAE,CAAC,UAAD,EAAa,2CAAb;AAAX,KAH0C,CAbxC;AAkBNgT,IAAAA,2DAA2D,EAAE,CACzD,2DADyD,EAEzD,EAFyD,EAGzD;AACIhT,MAAAA,OAAO,EAAE,CACL,UADK,EAEL,yDAFK;AADb,KAHyD,CAlBvD;AA4BNiT,IAAAA,uDAAuD,EAAE,CACrD,2DADqD,CA5BnD;AA+BNC,IAAAA,yCAAyC,EAAE,CACvC,iEADuC,CA/BrC;AAkCNC,IAAAA,0CAA0C,EAAE,CACxC,uEADwC,CAlCtC;AAqCNC,IAAAA,8BAA8B,EAAE,CAC5B,kDAD4B,CArC1B;AAwCNC,IAAAA,yBAAyB,EAAE,CACvB,wDADuB,CAxCrB;AA2CNC,IAAAA,iBAAiB,EAAE,CACf,8DADe,CA3Cb;AA8CNC,IAAAA,qCAAqC,EAAE,CACnC,gFADmC,CA9CjC;AAiDNC,IAAAA,gCAAgC,EAAE,CAC9B,sFAD8B,CAjD5B;AAoDNC,IAAAA,wBAAwB,EAAE,CACtB,4FADsB,CApDpB;AAuDNC,IAAAA,kCAAkC,EAAE,CAChC,mEADgC,CAvD9B;AA0DNC,IAAAA,oBAAoB,EAAE,CAClB,yEADkB,CA1DhB;AA6DNC,IAAAA,yCAAyC,EAAE,CACvC,yFADuC,CA7DrC;AAgENC,IAAAA,2BAA2B,EAAE,CACzB,+FADyB;AAhEvB,GA9oBI;AAktBdC,EAAAA,QAAQ,EAAE;AACNC,IAAAA,eAAe,EAAE,CACb,qDADa,EAEb;AAAEzP,MAAAA,SAAS,EAAE;AAAEC,QAAAA,QAAQ,EAAE,CAAC,SAAD;AAAZ;AAAb,KAFa,CADX;AAKNyP,IAAAA,UAAU,EAAE,CACR,0CADQ,EAER;AAAE1P,MAAAA,SAAS,EAAE;AAAEC,QAAAA,QAAQ,EAAE,CAAC,SAAD;AAAZ;AAAb,KAFQ,CALN;AASN0P,IAAAA,YAAY,EAAE,CACV,qCADU,EAEV;AAAE3P,MAAAA,SAAS,EAAE;AAAEC,QAAAA,QAAQ,EAAE,CAAC,SAAD;AAAZ;AAAb,KAFU,CATR;AAaN2P,IAAAA,0BAA0B,EAAE,CACxB,qBADwB,EAExB;AAAE5P,MAAAA,SAAS,EAAE;AAAEC,QAAAA,QAAQ,EAAE,CAAC,SAAD;AAAZ;AAAb,KAFwB,CAbtB;AAiBN4P,IAAAA,YAAY,EAAE,CACV,2BADU,EAEV;AAAE7P,MAAAA,SAAS,EAAE;AAAEC,QAAAA,QAAQ,EAAE,CAAC,SAAD;AAAZ;AAAb,KAFU,CAjBR;AAqBN6P,IAAAA,aAAa,EAAE,CACX,qCADW,EAEX;AAAE9P,MAAAA,SAAS,EAAE;AAAEC,QAAAA,QAAQ,EAAE,CAAC,SAAD;AAAZ;AAAb,KAFW,CArBT;AAyBNqF,IAAAA,MAAM,EAAE,CACJ,+BADI,EAEJ;AAAEtF,MAAAA,SAAS,EAAE;AAAEC,QAAAA,QAAQ,EAAE,CAAC,SAAD;AAAZ;AAAb,KAFI,CAzBF;AA6BN8P,IAAAA,UAAU,EAAE,CACR,0CADQ,EAER;AAAE/P,MAAAA,SAAS,EAAE;AAAEC,QAAAA,QAAQ,EAAE,CAAC,SAAD;AAAZ;AAAb,KAFQ,CA7BN;AAiCN+P,IAAAA,YAAY,EAAE,CACV,sCADU,EAEV;AAAEhQ,MAAAA,SAAS,EAAE;AAAEC,QAAAA,QAAQ,EAAE,CAAC,SAAD;AAAZ;AAAb,KAFU,CAjCR;AAqCN8C,IAAAA,GAAG,EAAE,CACD,4BADC,EAED;AAAE/C,MAAAA,SAAS,EAAE;AAAEC,QAAAA,QAAQ,EAAE,CAAC,SAAD;AAAZ;AAAb,KAFC,CArCC;AAyCNgQ,IAAAA,OAAO,EAAE,CACL,uCADK,EAEL;AAAEjQ,MAAAA,SAAS,EAAE;AAAEC,QAAAA,QAAQ,EAAE,CAAC,SAAD;AAAZ;AAAb,KAFK,CAzCH;AA6CNiQ,IAAAA,SAAS,EAAE,CACP,mCADO,EAEP;AAAElQ,MAAAA,SAAS,EAAE;AAAEC,QAAAA,QAAQ,EAAE,CAAC,SAAD;AAAZ;AAAb,KAFO,CA7CL;AAiDNkQ,IAAAA,oBAAoB,EAAE,CAClB,gEADkB,EAElB;AAAEnQ,MAAAA,SAAS,EAAE;AAAEC,QAAAA,QAAQ,EAAE,CAAC,SAAD;AAAZ;AAAb,KAFkB,CAjDhB;AAqDNmQ,IAAAA,SAAS,EAAE,CACP,yCADO,EAEP;AAAEpQ,MAAAA,SAAS,EAAE;AAAEC,QAAAA,QAAQ,EAAE,CAAC,SAAD;AAAZ;AAAb,KAFO,CArDL;AAyDNoQ,IAAAA,iBAAiB,EAAE,CACf,0CADe,EAEf;AAAErQ,MAAAA,SAAS,EAAE;AAAEC,QAAAA,QAAQ,EAAE,CAAC,SAAD;AAAZ;AAAb,KAFe,CAzDb;AA6DNqQ,IAAAA,WAAW,EAAE,CACT,oCADS,EAET;AAAEtQ,MAAAA,SAAS,EAAE;AAAEC,QAAAA,QAAQ,EAAE,CAAC,SAAD;AAAZ;AAAb,KAFS,CA7DP;AAiENmJ,IAAAA,UAAU,EAAE,CACR,0BADQ,EAER;AAAEpJ,MAAAA,SAAS,EAAE;AAAEC,QAAAA,QAAQ,EAAE,CAAC,SAAD;AAAZ;AAAb,KAFQ,CAjEN;AAqENoJ,IAAAA,WAAW,EAAE,CACT,oCADS,EAET;AAAErJ,MAAAA,SAAS,EAAE;AAAEC,QAAAA,QAAQ,EAAE,CAAC,SAAD;AAAZ;AAAb,KAFS,CArEP;AAyEN6F,IAAAA,WAAW,EAAE,CACT,gCADS,EAET;AAAE9F,MAAAA,SAAS,EAAE;AAAEC,QAAAA,QAAQ,EAAE,CAAC,SAAD;AAAZ;AAAb,KAFS,CAzEP;AA6ENsQ,IAAAA,QAAQ,EAAE,CACN,8CADM,EAEN;AAAEvQ,MAAAA,SAAS,EAAE;AAAEC,QAAAA,QAAQ,EAAE,CAAC,SAAD;AAAZ;AAAb,KAFM,CA7EJ;AAiFNuQ,IAAAA,UAAU,EAAE,CACR,0CADQ,EAER;AAAExQ,MAAAA,SAAS,EAAE;AAAEC,QAAAA,QAAQ,EAAE,CAAC,SAAD;AAAZ;AAAb,KAFQ,CAjFN;AAqFNwQ,IAAAA,kBAAkB,EAAE,CAChB,wDADgB,EAEhB;AAAEzQ,MAAAA,SAAS,EAAE;AAAEC,QAAAA,QAAQ,EAAE,CAAC,SAAD;AAAZ;AAAb,KAFgB,CArFd;AAyFNsD,IAAAA,MAAM,EAAE,CACJ,8BADI,EAEJ;AAAEvD,MAAAA,SAAS,EAAE;AAAEC,QAAAA,QAAQ,EAAE,CAAC,SAAD;AAAZ;AAAb,KAFI,CAzFF;AA6FNyQ,IAAAA,UAAU,EAAE,CACR,yCADQ,EAER;AAAE1Q,MAAAA,SAAS,EAAE;AAAEC,QAAAA,QAAQ,EAAE,CAAC,SAAD;AAAZ;AAAb,KAFQ,CA7FN;AAiGN0Q,IAAAA,YAAY,EAAE,CACV,qCADU,EAEV;AAAE3Q,MAAAA,SAAS,EAAE;AAAEC,QAAAA,QAAQ,EAAE,CAAC,SAAD;AAAZ;AAAb,KAFU;AAjGR,GAltBI;AAwzBd2Q,EAAAA,KAAK,EAAE;AACHC,IAAAA,aAAa,EAAE,CAAC,qDAAD,CADZ;AAEHhO,IAAAA,MAAM,EAAE,CAAC,kCAAD,CAFL;AAGHiO,IAAAA,2BAA2B,EAAE,CACzB,8EADyB,CAH1B;AAMHC,IAAAA,YAAY,EAAE,CAAC,wDAAD,CANX;AAOHC,IAAAA,mBAAmB,EAAE,CACjB,yDADiB,CAPlB;AAUHC,IAAAA,mBAAmB,EAAE,CACjB,sEADiB,CAVlB;AAaHC,IAAAA,mBAAmB,EAAE,CACjB,0DADiB,CAblB;AAgBHC,IAAAA,aAAa,EAAE,CACX,8EADW,CAhBZ;AAmBHpO,IAAAA,GAAG,EAAE,CAAC,+CAAD,CAnBF;AAoBHqO,IAAAA,SAAS,EAAE,CACP,mEADO,CApBR;AAuBHC,IAAAA,gBAAgB,EAAE,CAAC,uDAAD,CAvBf;AAwBH1L,IAAAA,IAAI,EAAE,CAAC,iCAAD,CAxBH;AAyBH2L,IAAAA,qBAAqB,EAAE,CACnB,4EADmB,CAzBpB;AA4BHzL,IAAAA,WAAW,EAAE,CAAC,uDAAD,CA5BV;AA6BH0L,IAAAA,SAAS,EAAE,CAAC,qDAAD,CA7BR;AA8BHC,IAAAA,sBAAsB,EAAE,CACpB,mEADoB,CA9BrB;AAiCHC,IAAAA,kBAAkB,EAAE,CAChB,wDADgB,CAjCjB;AAoCHC,IAAAA,yBAAyB,EAAE,CAAC,0CAAD,CApCxB;AAqCHC,IAAAA,WAAW,EAAE,CAAC,uDAAD,CArCV;AAsCHC,IAAAA,KAAK,EAAE,CAAC,qDAAD,CAtCJ;AAuCHC,IAAAA,wBAAwB,EAAE,CACtB,sEADsB,CAvCvB;AA0CHC,IAAAA,gBAAgB,EAAE,CACd,oEADc,CA1Cf;AA6CHC,IAAAA,YAAY,EAAE,CACV,2EADU,CA7CX;AAgDHxO,IAAAA,MAAM,EAAE,CAAC,iDAAD,CAhDL;AAiDHyO,IAAAA,YAAY,EAAE,CACV,6DADU,EAEV;AAAEhS,MAAAA,SAAS,EAAE;AAAEC,QAAAA,QAAQ,EAAE,CAAC,QAAD;AAAZ;AAAb,KAFU,CAjDX;AAqDHgS,IAAAA,YAAY,EAAE,CACV,mEADU,CArDX;AAwDHC,IAAAA,mBAAmB,EAAE,CACjB,yDADiB;AAxDlB,GAxzBO;AAo3BdC,EAAAA,SAAS,EAAE;AAAEpP,IAAAA,GAAG,EAAE,CAAC,iBAAD;AAAP,GAp3BG;AAq3BdqP,EAAAA,SAAS,EAAE;AACPC,IAAAA,sBAAsB,EAAE,CACpB,4DADoB,EAEpB;AAAErS,MAAAA,SAAS,EAAE;AAAEC,QAAAA,QAAQ,EAAE,CAAC,eAAD;AAAZ;AAAb,KAFoB,CADjB;AAKPqS,IAAAA,cAAc,EAAE,CACZ,4DADY,EAEZ;AAAEtS,MAAAA,SAAS,EAAE;AAAEC,QAAAA,QAAQ,EAAE,CAAC,eAAD;AAAZ;AAAb,KAFY,CALT;AASPsS,IAAAA,qBAAqB,EAAE,CACnB,mEADmB,EAEnB;AAAEvS,MAAAA,SAAS,EAAE;AAAEC,QAAAA,QAAQ,EAAE,CAAC,eAAD;AAAZ;AAAb,KAFmB,CAThB;AAaPuS,IAAAA,iCAAiC,EAAE,CAC/B,kEAD+B,EAE/B;AAAExS,MAAAA,SAAS,EAAE;AAAEC,QAAAA,QAAQ,EAAE,CAAC,eAAD;AAAZ;AAAb,KAF+B,CAb5B;AAiBPwS,IAAAA,gBAAgB,EAAE,CACd,4DADc,EAEd;AAAEzS,MAAAA,SAAS,EAAE;AAAEC,QAAAA,QAAQ,EAAE,CAAC,eAAD;AAAZ;AAAb,KAFc,CAjBX;AAqBPyS,IAAAA,mCAAmC,EAAE,CACjC,wGADiC,EAEjC;AAAE1S,MAAAA,SAAS,EAAE;AAAEC,QAAAA,QAAQ,EAAE,CAAC,eAAD;AAAZ;AAAb,KAFiC,CArB9B;AAyBP0S,IAAAA,4BAA4B,EAAE,CAC1B,8EAD0B,EAE1B;AAAE3S,MAAAA,SAAS,EAAE;AAAEC,QAAAA,QAAQ,EAAE,CAAC,eAAD;AAAZ;AAAb,KAF0B,CAzBvB;AA6BP2S,IAAAA,sBAAsB,EAAE,CACpB,4EADoB,EAEpB;AAAE5S,MAAAA,SAAS,EAAE;AAAEC,QAAAA,QAAQ,EAAE,CAAC,eAAD;AAAZ;AAAb,KAFoB,CA7BjB;AAiCP4S,IAAAA,cAAc,EAAE,CACZ,4EADY,EAEZ;AAAE7S,MAAAA,SAAS,EAAE;AAAEC,QAAAA,QAAQ,EAAE,CAAC,eAAD;AAAZ;AAAb,KAFY,CAjCT;AAqCP6S,IAAAA,qBAAqB,EAAE,CACnB,mFADmB,EAEnB;AAAE9S,MAAAA,SAAS,EAAE;AAAEC,QAAAA,QAAQ,EAAE,CAAC,eAAD;AAAZ;AAAb,KAFmB,CArChB;AAyCP8S,IAAAA,2BAA2B,EAAE,CACzB,kFADyB,EAEzB;AAAE/S,MAAAA,SAAS,EAAE;AAAEC,QAAAA,QAAQ,EAAE,CAAC,eAAD;AAAZ;AAAb,KAFyB,CAzCtB;AA6CP+S,IAAAA,uBAAuB,EAAE,CACrB,8FADqB,EAErB;AAAEhT,MAAAA,SAAS,EAAE;AAAEC,QAAAA,QAAQ,EAAE,CAAC,eAAD;AAAZ;AAAb,KAFqB,CA7ClB;AAiDPgT,IAAAA,8BAA8B,EAAE,CAC5B,wHAD4B,EAE5B;AAAEjT,MAAAA,SAAS,EAAE;AAAEC,QAAAA,QAAQ,EAAE,CAAC,eAAD;AAAZ;AAAb,KAF4B,CAjDzB;AAqDPiT,IAAAA,YAAY,EAAE,CACV,iCADU,EAEV;AAAElT,MAAAA,SAAS,EAAE;AAAEC,QAAAA,QAAQ,EAAE,CAAC,eAAD;AAAZ;AAAb,KAFU,EAGV;AACIkT,MAAAA,UAAU,EAAE;AADhB,KAHU,CArDP;AA4DPC,IAAAA,oBAAoB,EAAE,CAClB,2DADkB,EAElB;AAAEpT,MAAAA,SAAS,EAAE;AAAEC,QAAAA,QAAQ,EAAE,CAAC,eAAD;AAAZ;AAAb,KAFkB,CA5Df;AAgEPoT,IAAAA,YAAY,EAAE,CACV,2DADU,EAEV;AAAErT,MAAAA,SAAS,EAAE;AAAEC,QAAAA,QAAQ,EAAE,CAAC,eAAD;AAAZ;AAAb,KAFU,CAhEP;AAoEPqT,IAAAA,mBAAmB,EAAE,CACjB,kEADiB,EAEjB;AAAEtT,MAAAA,SAAS,EAAE;AAAEC,QAAAA,QAAQ,EAAE,CAAC,eAAD;AAAZ;AAAb,KAFiB,CApEd;AAwEPsT,IAAAA,+BAA+B,EAAE,CAC7B,iEAD6B,EAE7B;AAAEvT,MAAAA,SAAS,EAAE;AAAEC,QAAAA,QAAQ,EAAE,CAAC,eAAD;AAAZ;AAAb,KAF6B,CAxE1B;AA4EPuT,IAAAA,iCAAiC,EAAE,CAC/B,uGAD+B,EAE/B;AAAExT,MAAAA,SAAS,EAAE;AAAEC,QAAAA,QAAQ,EAAE,CAAC,eAAD;AAAZ;AAAb,KAF+B,CA5E5B;AAgFPwT,IAAAA,0BAA0B,EAAE,CACxB,6EADwB,EAExB;AAAEzT,MAAAA,SAAS,EAAE;AAAEC,QAAAA,QAAQ,EAAE,CAAC,eAAD;AAAZ;AAAb,KAFwB;AAhFrB,GAr3BG;AA08BdyT,EAAAA,KAAK,EAAE;AACHC,IAAAA,gBAAgB,EAAE,CAAC,oDAAD,CADf;AAEHC,IAAAA,wBAAwB,EAAE,CACtB,2EADsB,EAEtB,EAFsB,EAGtB;AAAEC,MAAAA,SAAS,EAAE;AAAb,KAHsB,CAFvB;AAOHpE,IAAAA,eAAe,EAAE,CAAC,oDAAD,CAPd;AAQHqE,IAAAA,sBAAsB,EAAE,CACpB,yFADoB,EAEpB,EAFoB,EAGpB;AAAED,MAAAA,SAAS,EAAE;AAAb,KAHoB,CARrB;AAaHE,IAAAA,yBAAyB,EAAE,CACvB,4EADuB,EAEvB,EAFuB,EAGvB;AAAEF,MAAAA,SAAS,EAAE;AAAb,KAHuB,CAbxB;AAkBHG,IAAAA,yBAAyB,EAAE,CACvB,4EADuB,EAEvB,EAFuB,EAGvB;AAAEH,MAAAA,SAAS,EAAE;AAAb,KAHuB,CAlBxB;AAuBHI,IAAAA,iBAAiB,EAAE,CAAC,oDAAD,CAvBhB;AAwBHC,IAAAA,wBAAwB,EAAE,CACtB,gDADsB,EAEtB;AAAElU,MAAAA,SAAS,EAAE;AAAEC,QAAAA,QAAQ,EAAE,CAAC,QAAD;AAAZ;AAAb,KAFsB,CAxBvB;AA4BHkU,IAAAA,cAAc,EAAE,CAAC,mDAAD,CA5Bb;AA6BHC,IAAAA,0BAA0B,EAAE,CACxB,8CADwB,CA7BzB;AAgCHC,IAAAA,mBAAmB,EAAE,CACjB,0DADiB,CAhClB;AAmCHC,IAAAA,+BAA+B,EAAE,CAC7B,6EAD6B,EAE7B;AAAEtU,MAAAA,SAAS,EAAE;AAAEC,QAAAA,QAAQ,EAAE,CAAC,OAAD;AAAZ;AAAb,KAF6B,CAnC9B;AAuCHsU,IAAAA,kBAAkB,EAAE,CAAC,2CAAD,CAvCjB;AAwCHC,IAAAA,eAAe,EAAE,CAAC,iCAAD,CAxCd;AAyCHC,IAAAA,gBAAgB,EAAE,CAAC,wCAAD,CAzCf;AA0CHC,IAAAA,sBAAsB,EAAE,CACpB,iEADoB,CA1CrB;AA6CHC,IAAAA,mBAAmB,EAAE,CAAC,uCAAD,CA7ClB;AA8CH/E,IAAAA,0BAA0B,EAAE,CAAC,kBAAD,CA9CzB;AA+CHgF,IAAAA,UAAU,EAAE,CAAC,kCAAD,CA/CT;AAgDHC,IAAAA,WAAW,EAAE,CAAC,wBAAD,CAhDV;AAiDHC,IAAAA,yBAAyB,EAAE,CACvB,2DADuB,CAjDxB;AAoDHC,IAAAA,0BAA0B,EAAE,CAAC,2CAAD,CApDzB;AAqDHC,IAAAA,eAAe,EAAE,CACb,kCADa,EAEb;AAAEhV,MAAAA,SAAS,EAAE;AAAEC,QAAAA,QAAQ,EAAE,CAAC,YAAD;AAAZ;AAAb,KAFa,CArDd;AAyDHgV,IAAAA,aAAa,EAAE,CAAC,qCAAD,CAzDZ;AA0DHC,IAAAA,mBAAmB,EAAE,CACjB,uDADiB,EAEjB;AAAElV,MAAAA,SAAS,EAAE;AAAEC,QAAAA,QAAQ,EAAE,CAAC,UAAD;AAAZ;AAAb,KAFiB,CA1DlB;AA8DHwM,IAAAA,aAAa,EAAE,CAAC,kCAAD,CA9DZ;AA+DH0I,IAAAA,iBAAiB,EAAE,CAAC,qDAAD,CA/DhB;AAgEH7P,IAAAA,MAAM,EAAE,CAAC,8BAAD,CAhEL;AAiEH8P,IAAAA,wBAAwB,EAAE,CACtB,wEADsB,CAjEvB;AAoEHC,IAAAA,2BAA2B,EAAE,CACzB,0EADyB,CApE1B;AAuEHC,IAAAA,mBAAmB,EAAE,CACjB,8DADiB,CAvElB;AA0EHC,IAAAA,sBAAsB,EAAE,CACpB,2DADoB,CA1ErB;AA6EHC,IAAAA,mBAAmB,EAAE,CAAC,oDAAD,CA7ElB;AA8EHC,IAAAA,+BAA+B,EAAE,CAC7B,+EAD6B,EAE7B;AAAEzV,MAAAA,SAAS,EAAE;AAAEC,QAAAA,QAAQ,EAAE,CAAC,OAAD;AAAZ;AAAb,KAF6B,CA9E9B;AAkFHyV,IAAAA,eAAe,EAAE,CAAC,4CAAD,CAlFd;AAmFHC,IAAAA,gBAAgB,EAAE,CACd,0DADc,CAnFf;AAsFHC,IAAAA,UAAU,EAAE,CAAC,8CAAD,CAtFT;AAuFHC,IAAAA,gBAAgB,EAAE,CACd,0DADc,CAvFf;AA0FHC,IAAAA,eAAe,EAAE,CACb,oCADa,EAEb;AAAE9V,MAAAA,SAAS,EAAE;AAAEC,QAAAA,QAAQ,EAAE,CAAC,YAAD;AAAZ;AAAb,KAFa,CA1Fd;AA8FH8V,IAAAA,iCAAiC,EAAE,CAC/B,yFAD+B,CA9FhC;AAiGHC,IAAAA,aAAa,EAAE,CAAC,oDAAD,CAjGZ;AAkGHC,IAAAA,kBAAkB,EAAE,CAChB,yDADgB,CAlGjB;AAqGHvJ,IAAAA,aAAa,EAAE,CAAC,8CAAD,CArGZ;AAsGHwJ,IAAAA,6BAA6B,EAAE,CAC3B,uDAD2B,EAE3B;AAAElW,MAAAA,SAAS,EAAE;AAAEC,QAAAA,QAAQ,EAAE,CAAC,QAAD;AAAZ;AAAb,KAF2B,CAtG5B;AA0GHkW,IAAAA,0BAA0B,EAAE,CACxB,mDADwB,EAExB;AAAEnW,MAAAA,SAAS,EAAE;AAAEC,QAAAA,QAAQ,EAAE,CAAC,QAAD;AAAZ;AAAb,KAFwB,CA1GzB;AA8GHmW,IAAAA,eAAe,EAAE,CACb,yCADa,EAEb,EAFa,EAGb;AAAE1a,MAAAA,OAAO,EAAE,CAAC,OAAD,EAAU,wBAAV;AAAX,KAHa,CA9Gd;AAmHH2a,IAAAA,sBAAsB,EAAE,CAAC,yCAAD,CAnHrB;AAoHHC,IAAAA,sBAAsB,EAAE,CAAC,yCAAD,CApHrB;AAqHHC,IAAAA,4BAA4B,EAAE,CAC1B,oDAD0B,EAE1B;AAAEvW,MAAAA,SAAS,EAAE;AAAEC,QAAAA,QAAQ,EAAE,CAAC,QAAD;AAAZ;AAAb,KAF0B,CArH3B;AAyHHuW,IAAAA,yBAAyB,EAAE,CACvB,gDADuB,EAEvB;AAAExW,MAAAA,SAAS,EAAE;AAAEC,QAAAA,QAAQ,EAAE,CAAC,QAAD;AAAZ;AAAb,KAFuB,CAzHxB;AA6HH8C,IAAAA,GAAG,EAAE,CAAC,2BAAD,CA7HF;AA8HH0T,IAAAA,qBAAqB,EAAE,CACnB,qEADmB,CA9HpB;AAiIHC,IAAAA,wBAAwB,EAAE,CACtB,uEADsB,CAjIvB;AAoIHC,IAAAA,kBAAkB,EAAE,CAAC,wCAAD,CApIjB;AAqIHC,IAAAA,yBAAyB,EAAE,CACvB,wFADuB,CArIxB;AAwIHC,IAAAA,YAAY,EAAE,CACV,kCADU,EAEV;AAAE7W,MAAAA,SAAS,EAAE;AAAEC,QAAAA,QAAQ,EAAE,CAAC,OAAD;AAAZ;AAAb,KAFU,CAxIX;AA4IH6W,IAAAA,kCAAkC,EAAE,CAChC,0EADgC,CA5IjC;AA+IHC,IAAAA,SAAS,EAAE,CAAC,6CAAD,CA/IR;AAgJHC,IAAAA,mBAAmB,EAAE,CACjB,wDADiB,CAhJlB;AAmJHC,IAAAA,SAAS,EAAE,CAAC,0CAAD,CAnJR;AAoJHC,IAAAA,qBAAqB,EAAE,CAAC,gDAAD,CApJpB;AAqJHC,IAAAA,8BAA8B,EAAE,CAC5B,+DAD4B,CArJ7B;AAwJHC,IAAAA,uBAAuB,EAAE,CAAC,gDAAD,CAxJtB;AAyJHvQ,IAAAA,SAAS,EAAE,CAAC,yCAAD,CAzJR;AA0JHwQ,IAAAA,sBAAsB,EAAE,CAAC,iDAAD,CA1JrB;AA2JHC,IAAAA,gBAAgB,EAAE,CAAC,iDAAD,CA3Jf;AA4JHC,IAAAA,4BAA4B,EAAE,CAC1B,4EAD0B,EAE1B;AAAEvX,MAAAA,SAAS,EAAE;AAAEC,QAAAA,QAAQ,EAAE,CAAC,OAAD;AAAZ;AAAb,KAF0B,CA5J3B;AAgKHuX,IAAAA,0BAA0B,EAAE,CAAC,6CAAD,CAhKzB;AAiKHC,IAAAA,UAAU,EAAE,CAAC,2CAAD,CAjKT;AAkKHC,IAAAA,oBAAoB,EAAE,CAAC,8CAAD,CAlKnB;AAmKHC,IAAAA,YAAY,EAAE,CAAC,yCAAD,CAnKX;AAoKHC,IAAAA,aAAa,EAAE,CAAC,uDAAD,CApKZ;AAqKHC,IAAAA,mBAAmB,EAAE,CACjB,4EADiB,CArKlB;AAwKHC,IAAAA,cAAc,EAAE,CACZ,2DADY,CAxKb;AA2KHC,IAAAA,mBAAmB,EAAE,CAAC,+CAAD,CA3KlB;AA4KHC,IAAAA,gBAAgB,EAAE,CAAC,2CAAD,CA5Kf;AA6KHC,IAAAA,QAAQ,EAAE,CAAC,iCAAD,CA7KP;AA8KHC,IAAAA,aAAa,EAAE,CAAC,mDAAD,CA9KZ;AA+KHC,IAAAA,mBAAmB,EAAE,CAAC,wCAAD,CA/KlB;AAgLHC,IAAAA,qBAAqB,EAAE,CAAC,+CAAD,CAhLpB;AAiLHC,IAAAA,8BAA8B,EAAE,CAC5B,sFAD4B,CAjL7B;AAoLHC,IAAAA,iBAAiB,EAAE,CAAC,4CAAD,CApLhB;AAqLHC,IAAAA,SAAS,EAAE,CAAC,kCAAD,CArLR;AAsLHC,IAAAA,oBAAoB,EAAE,CAAC,wCAAD,CAtLnB;AAuLHC,IAAAA,UAAU,EAAE,CAAC,iDAAD,CAvLT;AAwLHC,IAAAA,eAAe,EAAE,CAAC,sDAAD,CAxLd;AAyLHC,IAAAA,eAAe,EAAE,CAAC,+CAAD,CAzLd;AA0LHC,IAAAA,yBAAyB,EAAE,CACvB,+EADuB,CA1LxB;AA6LHC,IAAAA,mCAAmC,EAAE,CACjC,2EADiC,CA7LlC;AAgMHC,IAAAA,WAAW,EAAE,CAAC,iDAAD,CAhMV;AAiMHC,IAAAA,eAAe,EAAE,CAAC,qDAAD,CAjMd;AAkMHC,IAAAA,mCAAmC,EAAE,CACjC,2EADiC,CAlMlC;AAqMHC,IAAAA,QAAQ,EAAE,CAAC,yCAAD,CArMP;AAsMHpM,IAAAA,UAAU,EAAE,CAAC,2CAAD,CAtMT;AAuMHqM,IAAAA,uBAAuB,EAAE,CACrB,kDADqB,CAvMtB;AA0MHjY,IAAAA,kBAAkB,EAAE,CAChB,oEADgB,CA1MjB;AA6MHkY,IAAAA,YAAY,EAAE,CAAC,oCAAD,CA7MX;AA8MHC,IAAAA,yBAAyB,EAAE,CACvB,oEADuB,EAEvB;AAAEpZ,MAAAA,SAAS,EAAE;AAAEC,QAAAA,QAAQ,EAAE,CAAC,OAAD;AAAZ;AAAb,KAFuB,CA9MxB;AAkNHoQ,IAAAA,iBAAiB,EAAE,CAAC,yCAAD,CAlNhB;AAmNHgJ,IAAAA,qBAAqB,EAAE,CACnB,yDADmB,CAnNpB;AAsNHC,IAAAA,yBAAyB,EAAE,CAAC,oCAAD,CAtNxB;AAuNHC,IAAAA,wBAAwB,EAAE,CACtB,kDADsB,CAvNvB;AA0NH1T,IAAAA,WAAW,EAAE,CAAC,mCAAD,CA1NV;AA2NH2T,IAAAA,gBAAgB,EAAE,CAAC,wCAAD,CA3Nf;AA4NHC,IAAAA,cAAc,EAAE,CAAC,gCAAD,CA5Nb;AA6NHC,IAAAA,sBAAsB,EAAE,CACpB,gEADoB,CA7NrB;AAgOHC,IAAAA,eAAe,EAAE,CAAC,uCAAD,CAhOd;AAiOHxQ,IAAAA,wBAAwB,EAAE,CAAC,iBAAD,CAjOvB;AAkOHC,IAAAA,UAAU,EAAE,CAAC,uBAAD,CAlOT;AAmOHtD,IAAAA,WAAW,EAAE,CAAC,6BAAD,CAnOV;AAoOHC,IAAAA,SAAS,EAAE,CAAC,iCAAD,CApOR;AAqOH6T,IAAAA,eAAe,EAAE,CAAC,uCAAD,CArOd;AAsOHC,IAAAA,mCAAmC,EAAE,CAAC,kCAAD,CAtOlC;AAuOHC,IAAAA,aAAa,EAAE,CAAC,qCAAD,CAvOZ;AAwOHC,IAAAA,eAAe,EAAE,CAAC,wCAAD,CAxOd;AAyOH/T,IAAAA,UAAU,EAAE,CAAC,mBAAD,CAzOT;AA0OHgU,IAAAA,oCAAoC,EAAE,CAClC,sDADkC,EAElC;AAAEha,MAAAA,SAAS,EAAE;AAAEC,QAAAA,QAAQ,EAAE,CAAC,OAAD;AAAZ;AAAb,KAFkC,CA1OnC;AA8OHga,IAAAA,iBAAiB,EAAE,CACf,wDADe,CA9OhB;AAiPHC,IAAAA,YAAY,EAAE,CAAC,oCAAD,CAjPX;AAkPHC,IAAAA,QAAQ,EAAE,CAAC,gCAAD,CAlPP;AAmPHC,IAAAA,SAAS,EAAE,CAAC,iCAAD,CAnPR;AAoPHxY,IAAAA,qBAAqB,EAAE,CACnB,sDADmB,CApPpB;AAuPH4L,IAAAA,YAAY,EAAE,CAAC,iCAAD,CAvPX;AAwPHoE,IAAAA,KAAK,EAAE,CAAC,mCAAD,CAxPJ;AAyPHnE,IAAAA,WAAW,EAAE,CAAC,kDAAD,CAzPV;AA0PH5L,IAAAA,wBAAwB,EAAE,CACtB,8EADsB,CA1PvB;AA6PHwY,IAAAA,2BAA2B,EAAE,CACzB,6EADyB,EAEzB,EAFyB,EAGzB;AAAExG,MAAAA,SAAS,EAAE;AAAb,KAHyB,CA7P1B;AAkQHpD,IAAAA,kBAAkB,EAAE,CAChB,uDADgB,CAlQjB;AAqQH6J,IAAAA,yBAAyB,EAAE,CACvB,2FADuB,EAEvB,EAFuB,EAGvB;AAAEzG,MAAAA,SAAS,EAAE;AAAb,KAHuB,CArQxB;AA0QH0G,IAAAA,2BAA2B,EAAE,CACzB,kFADyB,CA1Q1B;AA6QHC,IAAAA,4BAA4B,EAAE,CAC1B,8EAD0B,EAE1B,EAF0B,EAG1B;AAAE3G,MAAAA,SAAS,EAAE;AAAb,KAH0B,CA7Q3B;AAkRH4G,IAAAA,4BAA4B,EAAE,CAC1B,8EAD0B,EAE1B,EAF0B,EAG1B;AAAE5G,MAAAA,SAAS,EAAE;AAAb,KAH0B,CAlR3B;AAuRH6G,IAAAA,YAAY,EAAE,CAAC,qDAAD,CAvRX;AAwRHC,IAAAA,gBAAgB,EAAE,CACd,kCADc,EAEd;AAAE3a,MAAAA,SAAS,EAAE;AAAEC,QAAAA,QAAQ,EAAE,CAAC,OAAD;AAAZ;AAAb,KAFc,CAxRf;AA4RH2a,IAAAA,iBAAiB,EAAE,CAAC,yCAAD,CA5RhB;AA6RHC,IAAAA,wBAAwB,EAAE,CACtB,wEADsB,CA7RvB;AAgSHC,IAAAA,wBAAwB,EAAE,CACtB,0EADsB,EAEtB,EAFsB,EAGtB;AAAEjH,MAAAA,SAAS,EAAE;AAAb,KAHsB,CAhSvB;AAqSHkH,IAAAA,sBAAsB,EAAE,CACpB,wFADoB,EAEpB,EAFoB,EAGpB;AAAElH,MAAAA,SAAS,EAAE;AAAb,KAHoB,CArSrB;AA0SHmH,IAAAA,yBAAyB,EAAE,CACvB,2EADuB,EAEvB,EAFuB,EAGvB;AAAEnH,MAAAA,SAAS,EAAE;AAAb,KAHuB,CA1SxB;AA+SHoH,IAAAA,yBAAyB,EAAE,CACvB,2EADuB,EAEvB,EAFuB,EAGvB;AAAEpH,MAAAA,SAAS,EAAE;AAAb,KAHuB,CA/SxB;AAoTHqH,IAAAA,eAAe,EAAE,CAAC,kDAAD,CApTd;AAqTHC,IAAAA,QAAQ,EAAE,CAAC,qCAAD,CArTP;AAsTH5X,IAAAA,MAAM,EAAE,CAAC,6BAAD,CAtTL;AAuTH6X,IAAAA,sBAAsB,EAAE,CACpB,wDADoB,CAvTrB;AA0THC,IAAAA,mBAAmB,EAAE,CAAC,mDAAD,CA1TlB;AA2THC,IAAAA,+BAA+B,EAAE,CAAC,iCAAD,CA3T9B;AA4THC,IAAAA,gBAAgB,EAAE,CACd,yDADc,CA5Tf;AA+THC,IAAAA,iCAAiC,EAAE,CAC/B,wFAD+B,CA/ThC;AAkUHC,IAAAA,aAAa,EAAE,CAAC,mDAAD,CAlUZ;AAmUHC,IAAAA,kBAAkB,EAAE,CAChB,wDADgB,CAnUjB;AAsUHC,IAAAA,0BAA0B,EAAE,CACxB,iFADwB,EAExB,EAFwB,EAGxB;AAAEjgB,MAAAA,OAAO,EAAE,CAAC,OAAD,EAAU,6BAAV;AAAX,KAHwB,CAtUzB;AA2UHkgB,IAAAA,2BAA2B,EAAE,CACzB,iFADyB,CA3U1B;AA8UH1N,IAAAA,aAAa,EAAE,CAAC,6CAAD,CA9UZ;AA+UH2N,IAAAA,0BAA0B,EAAE,CACxB,oDADwB,CA/UzB;AAkVHC,IAAAA,kBAAkB,EAAE,CAChB,sEADgB,EAEhB;AAAEC,MAAAA,OAAO,EAAE;AAAX,KAFgB;AAlVjB,GA18BO;AAiyCdC,EAAAA,MAAM,EAAE;AACJC,IAAAA,IAAI,EAAE,CAAC,kBAAD,CADF;AAEJC,IAAAA,OAAO,EAAE,CAAC,qBAAD,EAAwB;AAAElc,MAAAA,SAAS,EAAE;AAAEC,QAAAA,QAAQ,EAAE,CAAC,OAAD;AAAZ;AAAb,KAAxB,CAFL;AAGJkc,IAAAA,qBAAqB,EAAE,CAAC,oBAAD,CAHnB;AAIJC,IAAAA,MAAM,EAAE,CAAC,oBAAD,CAJJ;AAKJ1I,IAAAA,KAAK,EAAE,CAAC,0BAAD,CALH;AAMJ2I,IAAAA,MAAM,EAAE,CAAC,oBAAD,EAAuB;AAAErc,MAAAA,SAAS,EAAE;AAAEC,QAAAA,QAAQ,EAAE,CAAC,OAAD;AAAZ;AAAb,KAAvB,CANJ;AAOJqc,IAAAA,KAAK,EAAE,CAAC,mBAAD;AAPH,GAjyCM;AA0yCdC,EAAAA,cAAc,EAAE;AACZ7Y,IAAAA,QAAQ,EAAE,CACN,iEADM,CADE;AAIZM,IAAAA,iBAAiB,EAAE,CAAC,kDAAD,CAJP;AAKZG,IAAAA,WAAW,EAAE,CACT,mEADS;AALD,GA1yCF;AAmzCdqY,EAAAA,KAAK,EAAE;AACHC,IAAAA,iCAAiC,EAAE,CAC/B,0DAD+B,CADhC;AAIHC,IAAAA,kCAAkC,EAAE,CAChC,yDADgC,EAEhC;AAAE1c,MAAAA,SAAS,EAAE;AAAEC,QAAAA,QAAQ,EAAE,CAAC,SAAD;AAAZ;AAAb,KAFgC,CAJjC;AAQH0c,IAAAA,+BAA+B,EAAE,CAC7B,wDAD6B,CAR9B;AAWHC,IAAAA,+BAA+B,EAAE,CAC7B,yDAD6B,EAE7B;AAAE5c,MAAAA,SAAS,EAAE;AAAEC,QAAAA,QAAQ,EAAE,CAAC,SAAD;AAAZ;AAAb,KAF6B,CAX9B;AAeH4c,IAAAA,4BAA4B,EAAE,CAC1B,wDAD0B,CAf3B;AAkBHha,IAAAA,MAAM,EAAE,CAAC,wBAAD,CAlBL;AAmBHia,IAAAA,4BAA4B,EAAE,CAC1B,6EAD0B,CAnB3B;AAsBHC,IAAAA,qBAAqB,EAAE,CAAC,gDAAD,CAtBpB;AAuBHC,IAAAA,4BAA4B,EAAE,CAC1B,gGAD0B,CAvB3B;AA0BHC,IAAAA,qBAAqB,EAAE,CACnB,sEADmB,CA1BpB;AA6BHC,IAAAA,WAAW,EAAE,CAAC,sCAAD,CA7BV;AA8BHC,IAAAA,SAAS,EAAE,CAAC,mCAAD,CA9BR;AA+BHC,IAAAA,yBAAyB,EAAE,CACvB,6FADuB,CA/BxB;AAkCHC,IAAAA,kBAAkB,EAAE,CAChB,mEADgB,CAlCjB;AAqCHC,IAAAA,yBAAyB,EAAE,CACvB,0DADuB,CArCxB;AAwCH3X,IAAAA,IAAI,EAAE,CAAC,uBAAD,CAxCH;AAyCH4X,IAAAA,cAAc,EAAE,CAAC,yCAAD,CAzCb;AA0CHC,IAAAA,2BAA2B,EAAE,CACzB,4EADyB,CA1C1B;AA6CHC,IAAAA,oBAAoB,EAAE,CAAC,+CAAD,CA7CnB;AA8CHtU,IAAAA,wBAAwB,EAAE,CAAC,iBAAD,CA9CvB;AA+CHuU,IAAAA,gBAAgB,EAAE,CAAC,2CAAD,CA/Cf;AAgDHC,IAAAA,2BAA2B,EAAE,CACzB,+CADyB,CAhD1B;AAmDHC,IAAAA,iBAAiB,EAAE,CACf,4CADe,EAEf;AAAE5d,MAAAA,SAAS,EAAE;AAAEC,QAAAA,QAAQ,EAAE,CAAC,SAAD;AAAZ;AAAb,KAFe,CAnDhB;AAuDH4d,IAAAA,cAAc,EAAE,CAAC,yCAAD,CAvDb;AAwDHC,IAAAA,4BAA4B,EAAE,CAC1B,6DAD0B,CAxD3B;AA2DHC,IAAAA,kBAAkB,EAAE,CAChB,4DADgB,CA3DjB;AA8DHC,IAAAA,eAAe,EAAE,CACb,2DADa,CA9Dd;AAiEHC,IAAAA,4BAA4B,EAAE,CAC1B,+FAD0B,CAjE3B;AAoEHC,IAAAA,qBAAqB,EAAE,CACnB,qEADmB,CApEpB;AAuEHC,IAAAA,WAAW,EAAE,CAAC,qCAAD;AAvEV,GAnzCO;AA43Cd7B,EAAAA,KAAK,EAAE;AACH8B,IAAAA,wBAAwB,EAAE,CAAC,mBAAD,CADvB;AAEHC,IAAAA,KAAK,EAAE,CAAC,6BAAD,CAFJ;AAGHC,IAAAA,YAAY,EAAE,CAAC,6BAAD,CAHX;AAIHC,IAAAA,qBAAqB,EAAE,CAAC,+CAAD,CAJpB;AAKHC,IAAAA,oCAAoC,EAAE,CAAC,gCAAD,CALnC;AAMHC,IAAAA,4BAA4B,EAAE,CAAC,qBAAD,CAN3B;AAOHC,IAAAA,kCAAkC,EAAE,CAAC,iBAAD,CAPjC;AAQHC,IAAAA,2BAA2B,EAAE,CAAC,qBAAD,CAR1B;AASHC,IAAAA,4BAA4B,EAAE,CAAC,oCAAD,CAT3B;AAUHC,IAAAA,kCAAkC,EAAE,CAAC,4BAAD,CAVjC;AAWHC,IAAAA,MAAM,EAAE,CAAC,gCAAD,CAXL;AAYHte,IAAAA,gBAAgB,EAAE,CAAC,WAAD,CAZf;AAaHue,IAAAA,aAAa,EAAE,CAAC,uBAAD,CAbZ;AAcHC,IAAAA,iBAAiB,EAAE,CAAC,iCAAD,CAdhB;AAeHC,IAAAA,yBAAyB,EAAE,CAAC,iCAAD,CAfxB;AAgBHC,IAAAA,+BAA+B,EAAE,CAAC,yBAAD,CAhB9B;AAiBHvZ,IAAAA,IAAI,EAAE,CAAC,YAAD,CAjBH;AAkBHwZ,IAAAA,0BAA0B,EAAE,CAAC,kBAAD,CAlBzB;AAmBHC,IAAAA,0BAA0B,EAAE,CAAC,kBAAD,CAnBzB;AAoBHC,IAAAA,2BAA2B,EAAE,CAAC,qBAAD,CApB1B;AAqBHC,IAAAA,iCAAiC,EAAE,CAAC,qBAAD,CArBhC;AAsBHC,IAAAA,oBAAoB,EAAE,CAAC,iCAAD,CAtBnB;AAuBHC,IAAAA,oBAAoB,EAAE,CAAC,iCAAD,CAvBnB;AAwBHC,IAAAA,2BAA2B,EAAE,CAAC,oBAAD,CAxB1B;AAyBHC,IAAAA,kBAAkB,EAAE,CAAC,gCAAD,CAzBjB;AA0BHC,IAAAA,gCAAgC,EAAE,CAAC,yBAAD,CA1B/B;AA2BHC,IAAAA,qBAAqB,EAAE,CAAC,4BAAD,CA3BpB;AA4BHC,IAAAA,iCAAiC,EAAE,CAAC,gBAAD,CA5BhC;AA6BHC,IAAAA,yCAAyC,EAAE,CAAC,8BAAD,CA7BxC;AA8BHC,IAAAA,OAAO,EAAE,CAAC,gCAAD,CA9BN;AA+BHC,IAAAA,QAAQ,EAAE,CAAC,mCAAD,CA/BP;AAgCHC,IAAAA,mBAAmB,EAAE,CAAC,aAAD;AAhClB;AA53CO,CAAlB;;ACAO,MAAMC,OAAO,GAAG,mBAAhB;;ACAA,SAASC,kBAAT,CAA4BC,OAA5B,EAAqCC,YAArC,EAAmD;AACtD,QAAMC,UAAU,GAAG,EAAnB;;AACA,OAAK,MAAM,CAACC,KAAD,EAAQC,SAAR,CAAX,IAAiCC,MAAM,CAACC,OAAP,CAAeL,YAAf,CAAjC,EAA+D;AAC3D,SAAK,MAAM,CAACM,UAAD,EAAaC,QAAb,CAAX,IAAqCH,MAAM,CAACC,OAAP,CAAeF,SAAf,CAArC,EAAgE;AAC5D,YAAM,CAACK,KAAD,EAAQC,QAAR,EAAkBC,WAAlB,IAAiCH,QAAvC;AACA,YAAM,CAACI,MAAD,EAASC,GAAT,IAAgBJ,KAAK,CAACK,KAAN,CAAY,GAAZ,CAAtB;AACA,YAAMC,gBAAgB,GAAGV,MAAM,CAACW,MAAP,CAAc;AAAEJ,QAAAA,MAAF;AAAUC,QAAAA;AAAV,OAAd,EAA+BH,QAA/B,CAAzB;;AACA,UAAI,CAACR,UAAU,CAACC,KAAD,CAAf,EAAwB;AACpBD,QAAAA,UAAU,CAACC,KAAD,CAAV,GAAoB,EAApB;AACH;;AACD,YAAMc,YAAY,GAAGf,UAAU,CAACC,KAAD,CAA/B;;AACA,UAAIQ,WAAJ,EAAiB;AACbM,QAAAA,YAAY,CAACV,UAAD,CAAZ,GAA2BW,QAAQ,CAAClB,OAAD,EAAUG,KAAV,EAAiBI,UAAjB,EAA6BQ,gBAA7B,EAA+CJ,WAA/C,CAAnC;AACA;AACH;;AACDM,MAAAA,YAAY,CAACV,UAAD,CAAZ,GAA2BP,OAAO,CAACmB,OAAR,CAAgBT,QAAhB,CAAyBK,gBAAzB,CAA3B;AACH;AACJ;;AACD,SAAOb,UAAP;AACH;;AACD,SAASgB,QAAT,CAAkBlB,OAAlB,EAA2BG,KAA3B,EAAkCI,UAAlC,EAA8CG,QAA9C,EAAwDC,WAAxD,EAAqE;AACjE,QAAMS,mBAAmB,GAAGpB,OAAO,CAACmB,OAAR,CAAgBT,QAAhB,CAAyBA,QAAzB,CAA5B;AACA;;AACA,WAASW,eAAT,CAAyB,GAAGC,IAA5B,EAAkC;AAC9B;AACA,QAAIC,OAAO,GAAGH,mBAAmB,CAACZ,QAApB,CAA6BhP,KAA7B,CAAmC,GAAG8P,IAAtC,CAAd,CAF8B;;AAI9B,QAAIX,WAAW,CAAClN,SAAhB,EAA2B;AACvB8N,MAAAA,OAAO,GAAGlB,MAAM,CAACW,MAAP,CAAc,EAAd,EAAkBO,OAAlB,EAA2B;AACjCC,QAAAA,IAAI,EAAED,OAAO,CAACZ,WAAW,CAAClN,SAAb,CADoB;AAEjC,SAACkN,WAAW,CAAClN,SAAb,GAAyBgO;AAFQ,OAA3B,CAAV;AAIA,aAAOL,mBAAmB,CAACG,OAAD,CAA1B;AACH;;AACD,QAAIZ,WAAW,CAACrlB,OAAhB,EAAyB;AACrB,YAAM,CAAComB,QAAD,EAAWC,aAAX,IAA4BhB,WAAW,CAACrlB,OAA9C;AACA0kB,MAAAA,OAAO,CAAC4B,GAAR,CAAYC,IAAZ,CAAkB,WAAU1B,KAAM,IAAGI,UAAW,kCAAiCmB,QAAS,IAAGC,aAAc,IAA3G;AACH;;AACD,QAAIhB,WAAW,CAAC5N,UAAhB,EAA4B;AACxBiN,MAAAA,OAAO,CAAC4B,GAAR,CAAYC,IAAZ,CAAiBlB,WAAW,CAAC5N,UAA7B;AACH;;AACD,QAAI4N,WAAW,CAACpd,iBAAhB,EAAmC;AAC/B;AACA,YAAMge,OAAO,GAAGH,mBAAmB,CAACZ,QAApB,CAA6BhP,KAA7B,CAAmC,GAAG8P,IAAtC,CAAhB;;AACA,WAAK,MAAM,CAACQ,IAAD,EAAOC,KAAP,CAAX,IAA4B1B,MAAM,CAACC,OAAP,CAAeK,WAAW,CAACpd,iBAA3B,CAA5B,EAA2E;AACvE,YAAIue,IAAI,IAAIP,OAAZ,EAAqB;AACjBvB,UAAAA,OAAO,CAAC4B,GAAR,CAAYC,IAAZ,CAAkB,IAAGC,IAAK,0CAAyC3B,KAAM,IAAGI,UAAW,aAAYwB,KAAM,WAAzG;;AACA,cAAI,EAAEA,KAAK,IAAIR,OAAX,CAAJ,EAAyB;AACrBA,YAAAA,OAAO,CAACQ,KAAD,CAAP,GAAiBR,OAAO,CAACO,IAAD,CAAxB;AACH;;AACD,iBAAOP,OAAO,CAACO,IAAD,CAAd;AACH;AACJ;;AACD,aAAOV,mBAAmB,CAACG,OAAD,CAA1B;AACH,KA/B6B;;;AAiC9B,WAAOH,mBAAmB,CAAC,GAAGE,IAAJ,CAA1B;AACH;;AACD,SAAOjB,MAAM,CAACW,MAAP,CAAcK,eAAd,EAA+BD,mBAA/B,CAAP;AACH;;ACxDM,SAASY,mBAAT,CAA6BhC,OAA7B,EAAsC;AACzC,QAAMiC,GAAG,GAAGlC,kBAAkB,CAACC,OAAD,EAAUkC,SAAV,CAA9B;AACA,SAAO;AACHC,IAAAA,IAAI,EAAEF;AADH,GAAP;AAGH;AACDD,mBAAmB,CAAClC,OAApB,GAA8BA,OAA9B;AACA,AAAO,SAASsC,yBAAT,CAAmCpC,OAAnC,EAA4C;AAC/C,QAAMiC,GAAG,GAAGlC,kBAAkB,CAACC,OAAD,EAAUkC,SAAV,CAA9B;AACA,2CACOD,GADP;AAEIE,IAAAA,IAAI,EAAEF;AAFV;AAIH;AACDG,yBAAyB,CAACtC,OAA1B,GAAoCA,OAApC;;;;;"} \ No newline at end of file diff --git a/node_modules/@octokit/plugin-rest-endpoint-methods/dist-src/endpoints-to-methods.js b/node_modules/@octokit/plugin-rest-endpoint-methods/dist-src/endpoints-to-methods.js deleted file mode 100644 index 32c2f39..0000000 --- a/node_modules/@octokit/plugin-rest-endpoint-methods/dist-src/endpoints-to-methods.js +++ /dev/null @@ -1,60 +0,0 @@ -export function endpointsToMethods(octokit, endpointsMap) { - const newMethods = {}; - for (const [scope, endpoints] of Object.entries(endpointsMap)) { - for (const [methodName, endpoint] of Object.entries(endpoints)) { - const [route, defaults, decorations] = endpoint; - const [method, url] = route.split(/ /); - const endpointDefaults = Object.assign({ method, url }, defaults); - if (!newMethods[scope]) { - newMethods[scope] = {}; - } - const scopeMethods = newMethods[scope]; - if (decorations) { - scopeMethods[methodName] = decorate(octokit, scope, methodName, endpointDefaults, decorations); - continue; - } - scopeMethods[methodName] = octokit.request.defaults(endpointDefaults); - } - } - return newMethods; -} -function decorate(octokit, scope, methodName, defaults, decorations) { - const requestWithDefaults = octokit.request.defaults(defaults); - /* istanbul ignore next */ - function withDecorations(...args) { - // @ts-ignore https://github.com/microsoft/TypeScript/issues/25488 - let options = requestWithDefaults.endpoint.merge(...args); - // There are currently no other decorations than `.mapToData` - if (decorations.mapToData) { - options = Object.assign({}, options, { - data: options[decorations.mapToData], - [decorations.mapToData]: undefined, - }); - return requestWithDefaults(options); - } - if (decorations.renamed) { - const [newScope, newMethodName] = decorations.renamed; - octokit.log.warn(`octokit.${scope}.${methodName}() has been renamed to octokit.${newScope}.${newMethodName}()`); - } - if (decorations.deprecated) { - octokit.log.warn(decorations.deprecated); - } - if (decorations.renamedParameters) { - // @ts-ignore https://github.com/microsoft/TypeScript/issues/25488 - const options = requestWithDefaults.endpoint.merge(...args); - for (const [name, alias] of Object.entries(decorations.renamedParameters)) { - if (name in options) { - octokit.log.warn(`"${name}" parameter is deprecated for "octokit.${scope}.${methodName}()". Use "${alias}" instead`); - if (!(alias in options)) { - options[alias] = options[name]; - } - delete options[name]; - } - } - return requestWithDefaults(options); - } - // @ts-ignore https://github.com/microsoft/TypeScript/issues/25488 - return requestWithDefaults(...args); - } - return Object.assign(withDecorations, requestWithDefaults); -} diff --git a/node_modules/@octokit/plugin-rest-endpoint-methods/dist-src/generated/endpoints.js b/node_modules/@octokit/plugin-rest-endpoint-methods/dist-src/generated/endpoints.js deleted file mode 100644 index 6707f38..0000000 --- a/node_modules/@octokit/plugin-rest-endpoint-methods/dist-src/generated/endpoints.js +++ /dev/null @@ -1,1440 +0,0 @@ -const Endpoints = { - actions: { - addSelectedRepoToOrgSecret: [ - "PUT /orgs/{org}/actions/secrets/{secret_name}/repositories/{repository_id}", - ], - approveWorkflowRun: [ - "POST /repos/{owner}/{repo}/actions/runs/{run_id}/approve", - ], - cancelWorkflowRun: [ - "POST /repos/{owner}/{repo}/actions/runs/{run_id}/cancel", - ], - createOrUpdateEnvironmentSecret: [ - "PUT /repositories/{repository_id}/environments/{environment_name}/secrets/{secret_name}", - ], - createOrUpdateOrgSecret: ["PUT /orgs/{org}/actions/secrets/{secret_name}"], - createOrUpdateRepoSecret: [ - "PUT /repos/{owner}/{repo}/actions/secrets/{secret_name}", - ], - createRegistrationTokenForOrg: [ - "POST /orgs/{org}/actions/runners/registration-token", - ], - createRegistrationTokenForRepo: [ - "POST /repos/{owner}/{repo}/actions/runners/registration-token", - ], - createRemoveTokenForOrg: ["POST /orgs/{org}/actions/runners/remove-token"], - createRemoveTokenForRepo: [ - "POST /repos/{owner}/{repo}/actions/runners/remove-token", - ], - createWorkflowDispatch: [ - "POST /repos/{owner}/{repo}/actions/workflows/{workflow_id}/dispatches", - ], - deleteArtifact: [ - "DELETE /repos/{owner}/{repo}/actions/artifacts/{artifact_id}", - ], - deleteEnvironmentSecret: [ - "DELETE /repositories/{repository_id}/environments/{environment_name}/secrets/{secret_name}", - ], - deleteOrgSecret: ["DELETE /orgs/{org}/actions/secrets/{secret_name}"], - deleteRepoSecret: [ - "DELETE /repos/{owner}/{repo}/actions/secrets/{secret_name}", - ], - deleteSelfHostedRunnerFromOrg: [ - "DELETE /orgs/{org}/actions/runners/{runner_id}", - ], - deleteSelfHostedRunnerFromRepo: [ - "DELETE /repos/{owner}/{repo}/actions/runners/{runner_id}", - ], - deleteWorkflowRun: ["DELETE /repos/{owner}/{repo}/actions/runs/{run_id}"], - deleteWorkflowRunLogs: [ - "DELETE /repos/{owner}/{repo}/actions/runs/{run_id}/logs", - ], - disableSelectedRepositoryGithubActionsOrganization: [ - "DELETE /orgs/{org}/actions/permissions/repositories/{repository_id}", - ], - disableWorkflow: [ - "PUT /repos/{owner}/{repo}/actions/workflows/{workflow_id}/disable", - ], - downloadArtifact: [ - "GET /repos/{owner}/{repo}/actions/artifacts/{artifact_id}/{archive_format}", - ], - downloadJobLogsForWorkflowRun: [ - "GET /repos/{owner}/{repo}/actions/jobs/{job_id}/logs", - ], - downloadWorkflowRunLogs: [ - "GET /repos/{owner}/{repo}/actions/runs/{run_id}/logs", - ], - enableSelectedRepositoryGithubActionsOrganization: [ - "PUT /orgs/{org}/actions/permissions/repositories/{repository_id}", - ], - enableWorkflow: [ - "PUT /repos/{owner}/{repo}/actions/workflows/{workflow_id}/enable", - ], - getAllowedActionsOrganization: [ - "GET /orgs/{org}/actions/permissions/selected-actions", - ], - getAllowedActionsRepository: [ - "GET /repos/{owner}/{repo}/actions/permissions/selected-actions", - ], - getArtifact: ["GET /repos/{owner}/{repo}/actions/artifacts/{artifact_id}"], - getEnvironmentPublicKey: [ - "GET /repositories/{repository_id}/environments/{environment_name}/secrets/public-key", - ], - getEnvironmentSecret: [ - "GET /repositories/{repository_id}/environments/{environment_name}/secrets/{secret_name}", - ], - getGithubActionsPermissionsOrganization: [ - "GET /orgs/{org}/actions/permissions", - ], - getGithubActionsPermissionsRepository: [ - "GET /repos/{owner}/{repo}/actions/permissions", - ], - getJobForWorkflowRun: ["GET /repos/{owner}/{repo}/actions/jobs/{job_id}"], - getOrgPublicKey: ["GET /orgs/{org}/actions/secrets/public-key"], - getOrgSecret: ["GET /orgs/{org}/actions/secrets/{secret_name}"], - getPendingDeploymentsForRun: [ - "GET /repos/{owner}/{repo}/actions/runs/{run_id}/pending_deployments", - ], - getRepoPermissions: [ - "GET /repos/{owner}/{repo}/actions/permissions", - {}, - { renamed: ["actions", "getGithubActionsPermissionsRepository"] }, - ], - getRepoPublicKey: ["GET /repos/{owner}/{repo}/actions/secrets/public-key"], - getRepoSecret: ["GET /repos/{owner}/{repo}/actions/secrets/{secret_name}"], - getReviewsForRun: [ - "GET /repos/{owner}/{repo}/actions/runs/{run_id}/approvals", - ], - getSelfHostedRunnerForOrg: ["GET /orgs/{org}/actions/runners/{runner_id}"], - getSelfHostedRunnerForRepo: [ - "GET /repos/{owner}/{repo}/actions/runners/{runner_id}", - ], - getWorkflow: ["GET /repos/{owner}/{repo}/actions/workflows/{workflow_id}"], - getWorkflowRun: ["GET /repos/{owner}/{repo}/actions/runs/{run_id}"], - getWorkflowRunUsage: [ - "GET /repos/{owner}/{repo}/actions/runs/{run_id}/timing", - ], - getWorkflowUsage: [ - "GET /repos/{owner}/{repo}/actions/workflows/{workflow_id}/timing", - ], - listArtifactsForRepo: ["GET /repos/{owner}/{repo}/actions/artifacts"], - listEnvironmentSecrets: [ - "GET /repositories/{repository_id}/environments/{environment_name}/secrets", - ], - listJobsForWorkflowRun: [ - "GET /repos/{owner}/{repo}/actions/runs/{run_id}/jobs", - ], - listOrgSecrets: ["GET /orgs/{org}/actions/secrets"], - listRepoSecrets: ["GET /repos/{owner}/{repo}/actions/secrets"], - listRepoWorkflows: ["GET /repos/{owner}/{repo}/actions/workflows"], - listRunnerApplicationsForOrg: ["GET /orgs/{org}/actions/runners/downloads"], - listRunnerApplicationsForRepo: [ - "GET /repos/{owner}/{repo}/actions/runners/downloads", - ], - listSelectedReposForOrgSecret: [ - "GET /orgs/{org}/actions/secrets/{secret_name}/repositories", - ], - listSelectedRepositoriesEnabledGithubActionsOrganization: [ - "GET /orgs/{org}/actions/permissions/repositories", - ], - listSelfHostedRunnersForOrg: ["GET /orgs/{org}/actions/runners"], - listSelfHostedRunnersForRepo: ["GET /repos/{owner}/{repo}/actions/runners"], - listWorkflowRunArtifacts: [ - "GET /repos/{owner}/{repo}/actions/runs/{run_id}/artifacts", - ], - listWorkflowRuns: [ - "GET /repos/{owner}/{repo}/actions/workflows/{workflow_id}/runs", - ], - listWorkflowRunsForRepo: ["GET /repos/{owner}/{repo}/actions/runs"], - reRunWorkflow: ["POST /repos/{owner}/{repo}/actions/runs/{run_id}/rerun"], - removeSelectedRepoFromOrgSecret: [ - "DELETE /orgs/{org}/actions/secrets/{secret_name}/repositories/{repository_id}", - ], - reviewPendingDeploymentsForRun: [ - "POST /repos/{owner}/{repo}/actions/runs/{run_id}/pending_deployments", - ], - setAllowedActionsOrganization: [ - "PUT /orgs/{org}/actions/permissions/selected-actions", - ], - setAllowedActionsRepository: [ - "PUT /repos/{owner}/{repo}/actions/permissions/selected-actions", - ], - setGithubActionsPermissionsOrganization: [ - "PUT /orgs/{org}/actions/permissions", - ], - setGithubActionsPermissionsRepository: [ - "PUT /repos/{owner}/{repo}/actions/permissions", - ], - setSelectedReposForOrgSecret: [ - "PUT /orgs/{org}/actions/secrets/{secret_name}/repositories", - ], - setSelectedRepositoriesEnabledGithubActionsOrganization: [ - "PUT /orgs/{org}/actions/permissions/repositories", - ], - }, - activity: { - checkRepoIsStarredByAuthenticatedUser: ["GET /user/starred/{owner}/{repo}"], - deleteRepoSubscription: ["DELETE /repos/{owner}/{repo}/subscription"], - deleteThreadSubscription: [ - "DELETE /notifications/threads/{thread_id}/subscription", - ], - getFeeds: ["GET /feeds"], - getRepoSubscription: ["GET /repos/{owner}/{repo}/subscription"], - getThread: ["GET /notifications/threads/{thread_id}"], - getThreadSubscriptionForAuthenticatedUser: [ - "GET /notifications/threads/{thread_id}/subscription", - ], - listEventsForAuthenticatedUser: ["GET /users/{username}/events"], - listNotificationsForAuthenticatedUser: ["GET /notifications"], - listOrgEventsForAuthenticatedUser: [ - "GET /users/{username}/events/orgs/{org}", - ], - listPublicEvents: ["GET /events"], - listPublicEventsForRepoNetwork: ["GET /networks/{owner}/{repo}/events"], - listPublicEventsForUser: ["GET /users/{username}/events/public"], - listPublicOrgEvents: ["GET /orgs/{org}/events"], - listReceivedEventsForUser: ["GET /users/{username}/received_events"], - listReceivedPublicEventsForUser: [ - "GET /users/{username}/received_events/public", - ], - listRepoEvents: ["GET /repos/{owner}/{repo}/events"], - listRepoNotificationsForAuthenticatedUser: [ - "GET /repos/{owner}/{repo}/notifications", - ], - listReposStarredByAuthenticatedUser: ["GET /user/starred"], - listReposStarredByUser: ["GET /users/{username}/starred"], - listReposWatchedByUser: ["GET /users/{username}/subscriptions"], - listStargazersForRepo: ["GET /repos/{owner}/{repo}/stargazers"], - listWatchedReposForAuthenticatedUser: ["GET /user/subscriptions"], - listWatchersForRepo: ["GET /repos/{owner}/{repo}/subscribers"], - markNotificationsAsRead: ["PUT /notifications"], - markRepoNotificationsAsRead: ["PUT /repos/{owner}/{repo}/notifications"], - markThreadAsRead: ["PATCH /notifications/threads/{thread_id}"], - setRepoSubscription: ["PUT /repos/{owner}/{repo}/subscription"], - setThreadSubscription: [ - "PUT /notifications/threads/{thread_id}/subscription", - ], - starRepoForAuthenticatedUser: ["PUT /user/starred/{owner}/{repo}"], - unstarRepoForAuthenticatedUser: ["DELETE /user/starred/{owner}/{repo}"], - }, - apps: { - addRepoToInstallation: [ - "PUT /user/installations/{installation_id}/repositories/{repository_id}", - ], - checkToken: ["POST /applications/{client_id}/token"], - createContentAttachment: [ - "POST /content_references/{content_reference_id}/attachments", - { mediaType: { previews: ["corsair"] } }, - ], - createContentAttachmentForRepo: [ - "POST /repos/{owner}/{repo}/content_references/{content_reference_id}/attachments", - { mediaType: { previews: ["corsair"] } }, - ], - createFromManifest: ["POST /app-manifests/{code}/conversions"], - createInstallationAccessToken: [ - "POST /app/installations/{installation_id}/access_tokens", - ], - deleteAuthorization: ["DELETE /applications/{client_id}/grant"], - deleteInstallation: ["DELETE /app/installations/{installation_id}"], - deleteToken: ["DELETE /applications/{client_id}/token"], - getAuthenticated: ["GET /app"], - getBySlug: ["GET /apps/{app_slug}"], - getInstallation: ["GET /app/installations/{installation_id}"], - getOrgInstallation: ["GET /orgs/{org}/installation"], - getRepoInstallation: ["GET /repos/{owner}/{repo}/installation"], - getSubscriptionPlanForAccount: [ - "GET /marketplace_listing/accounts/{account_id}", - ], - getSubscriptionPlanForAccountStubbed: [ - "GET /marketplace_listing/stubbed/accounts/{account_id}", - ], - getUserInstallation: ["GET /users/{username}/installation"], - getWebhookConfigForApp: ["GET /app/hook/config"], - getWebhookDelivery: ["GET /app/hook/deliveries/{delivery_id}"], - listAccountsForPlan: ["GET /marketplace_listing/plans/{plan_id}/accounts"], - listAccountsForPlanStubbed: [ - "GET /marketplace_listing/stubbed/plans/{plan_id}/accounts", - ], - listInstallationReposForAuthenticatedUser: [ - "GET /user/installations/{installation_id}/repositories", - ], - listInstallations: ["GET /app/installations"], - listInstallationsForAuthenticatedUser: ["GET /user/installations"], - listPlans: ["GET /marketplace_listing/plans"], - listPlansStubbed: ["GET /marketplace_listing/stubbed/plans"], - listReposAccessibleToInstallation: ["GET /installation/repositories"], - listSubscriptionsForAuthenticatedUser: ["GET /user/marketplace_purchases"], - listSubscriptionsForAuthenticatedUserStubbed: [ - "GET /user/marketplace_purchases/stubbed", - ], - listWebhookDeliveries: ["GET /app/hook/deliveries"], - redeliverWebhookDelivery: [ - "POST /app/hook/deliveries/{delivery_id}/attempts", - ], - removeRepoFromInstallation: [ - "DELETE /user/installations/{installation_id}/repositories/{repository_id}", - ], - resetToken: ["PATCH /applications/{client_id}/token"], - revokeInstallationAccessToken: ["DELETE /installation/token"], - scopeToken: ["POST /applications/{client_id}/token/scoped"], - suspendInstallation: ["PUT /app/installations/{installation_id}/suspended"], - unsuspendInstallation: [ - "DELETE /app/installations/{installation_id}/suspended", - ], - updateWebhookConfigForApp: ["PATCH /app/hook/config"], - }, - billing: { - getGithubActionsBillingOrg: ["GET /orgs/{org}/settings/billing/actions"], - getGithubActionsBillingUser: [ - "GET /users/{username}/settings/billing/actions", - ], - getGithubPackagesBillingOrg: ["GET /orgs/{org}/settings/billing/packages"], - getGithubPackagesBillingUser: [ - "GET /users/{username}/settings/billing/packages", - ], - getSharedStorageBillingOrg: [ - "GET /orgs/{org}/settings/billing/shared-storage", - ], - getSharedStorageBillingUser: [ - "GET /users/{username}/settings/billing/shared-storage", - ], - }, - checks: { - create: ["POST /repos/{owner}/{repo}/check-runs"], - createSuite: ["POST /repos/{owner}/{repo}/check-suites"], - get: ["GET /repos/{owner}/{repo}/check-runs/{check_run_id}"], - getSuite: ["GET /repos/{owner}/{repo}/check-suites/{check_suite_id}"], - listAnnotations: [ - "GET /repos/{owner}/{repo}/check-runs/{check_run_id}/annotations", - ], - listForRef: ["GET /repos/{owner}/{repo}/commits/{ref}/check-runs"], - listForSuite: [ - "GET /repos/{owner}/{repo}/check-suites/{check_suite_id}/check-runs", - ], - listSuitesForRef: ["GET /repos/{owner}/{repo}/commits/{ref}/check-suites"], - rerequestSuite: [ - "POST /repos/{owner}/{repo}/check-suites/{check_suite_id}/rerequest", - ], - setSuitesPreferences: [ - "PATCH /repos/{owner}/{repo}/check-suites/preferences", - ], - update: ["PATCH /repos/{owner}/{repo}/check-runs/{check_run_id}"], - }, - codeScanning: { - deleteAnalysis: [ - "DELETE /repos/{owner}/{repo}/code-scanning/analyses/{analysis_id}{?confirm_delete}", - ], - getAlert: [ - "GET /repos/{owner}/{repo}/code-scanning/alerts/{alert_number}", - {}, - { renamedParameters: { alert_id: "alert_number" } }, - ], - getAnalysis: [ - "GET /repos/{owner}/{repo}/code-scanning/analyses/{analysis_id}", - ], - getSarif: ["GET /repos/{owner}/{repo}/code-scanning/sarifs/{sarif_id}"], - listAlertInstances: [ - "GET /repos/{owner}/{repo}/code-scanning/alerts/{alert_number}/instances", - ], - listAlertsForRepo: ["GET /repos/{owner}/{repo}/code-scanning/alerts"], - listAlertsInstances: [ - "GET /repos/{owner}/{repo}/code-scanning/alerts/{alert_number}/instances", - {}, - { renamed: ["codeScanning", "listAlertInstances"] }, - ], - listRecentAnalyses: ["GET /repos/{owner}/{repo}/code-scanning/analyses"], - updateAlert: [ - "PATCH /repos/{owner}/{repo}/code-scanning/alerts/{alert_number}", - ], - uploadSarif: ["POST /repos/{owner}/{repo}/code-scanning/sarifs"], - }, - codesOfConduct: { - getAllCodesOfConduct: ["GET /codes_of_conduct"], - getConductCode: ["GET /codes_of_conduct/{key}"], - getForRepo: [ - "GET /repos/{owner}/{repo}/community/code_of_conduct", - { mediaType: { previews: ["scarlet-witch"] } }, - ], - }, - emojis: { get: ["GET /emojis"] }, - enterpriseAdmin: { - disableSelectedOrganizationGithubActionsEnterprise: [ - "DELETE /enterprises/{enterprise}/actions/permissions/organizations/{org_id}", - ], - enableSelectedOrganizationGithubActionsEnterprise: [ - "PUT /enterprises/{enterprise}/actions/permissions/organizations/{org_id}", - ], - getAllowedActionsEnterprise: [ - "GET /enterprises/{enterprise}/actions/permissions/selected-actions", - ], - getGithubActionsPermissionsEnterprise: [ - "GET /enterprises/{enterprise}/actions/permissions", - ], - listSelectedOrganizationsEnabledGithubActionsEnterprise: [ - "GET /enterprises/{enterprise}/actions/permissions/organizations", - ], - setAllowedActionsEnterprise: [ - "PUT /enterprises/{enterprise}/actions/permissions/selected-actions", - ], - setGithubActionsPermissionsEnterprise: [ - "PUT /enterprises/{enterprise}/actions/permissions", - ], - setSelectedOrganizationsEnabledGithubActionsEnterprise: [ - "PUT /enterprises/{enterprise}/actions/permissions/organizations", - ], - }, - gists: { - checkIsStarred: ["GET /gists/{gist_id}/star"], - create: ["POST /gists"], - createComment: ["POST /gists/{gist_id}/comments"], - delete: ["DELETE /gists/{gist_id}"], - deleteComment: ["DELETE /gists/{gist_id}/comments/{comment_id}"], - fork: ["POST /gists/{gist_id}/forks"], - get: ["GET /gists/{gist_id}"], - getComment: ["GET /gists/{gist_id}/comments/{comment_id}"], - getRevision: ["GET /gists/{gist_id}/{sha}"], - list: ["GET /gists"], - listComments: ["GET /gists/{gist_id}/comments"], - listCommits: ["GET /gists/{gist_id}/commits"], - listForUser: ["GET /users/{username}/gists"], - listForks: ["GET /gists/{gist_id}/forks"], - listPublic: ["GET /gists/public"], - listStarred: ["GET /gists/starred"], - star: ["PUT /gists/{gist_id}/star"], - unstar: ["DELETE /gists/{gist_id}/star"], - update: ["PATCH /gists/{gist_id}"], - updateComment: ["PATCH /gists/{gist_id}/comments/{comment_id}"], - }, - git: { - createBlob: ["POST /repos/{owner}/{repo}/git/blobs"], - createCommit: ["POST /repos/{owner}/{repo}/git/commits"], - createRef: ["POST /repos/{owner}/{repo}/git/refs"], - createTag: ["POST /repos/{owner}/{repo}/git/tags"], - createTree: ["POST /repos/{owner}/{repo}/git/trees"], - deleteRef: ["DELETE /repos/{owner}/{repo}/git/refs/{ref}"], - getBlob: ["GET /repos/{owner}/{repo}/git/blobs/{file_sha}"], - getCommit: ["GET /repos/{owner}/{repo}/git/commits/{commit_sha}"], - getRef: ["GET /repos/{owner}/{repo}/git/ref/{ref}"], - getTag: ["GET /repos/{owner}/{repo}/git/tags/{tag_sha}"], - getTree: ["GET /repos/{owner}/{repo}/git/trees/{tree_sha}"], - listMatchingRefs: ["GET /repos/{owner}/{repo}/git/matching-refs/{ref}"], - updateRef: ["PATCH /repos/{owner}/{repo}/git/refs/{ref}"], - }, - gitignore: { - getAllTemplates: ["GET /gitignore/templates"], - getTemplate: ["GET /gitignore/templates/{name}"], - }, - interactions: { - getRestrictionsForAuthenticatedUser: ["GET /user/interaction-limits"], - getRestrictionsForOrg: ["GET /orgs/{org}/interaction-limits"], - getRestrictionsForRepo: ["GET /repos/{owner}/{repo}/interaction-limits"], - getRestrictionsForYourPublicRepos: [ - "GET /user/interaction-limits", - {}, - { renamed: ["interactions", "getRestrictionsForAuthenticatedUser"] }, - ], - removeRestrictionsForAuthenticatedUser: ["DELETE /user/interaction-limits"], - removeRestrictionsForOrg: ["DELETE /orgs/{org}/interaction-limits"], - removeRestrictionsForRepo: [ - "DELETE /repos/{owner}/{repo}/interaction-limits", - ], - removeRestrictionsForYourPublicRepos: [ - "DELETE /user/interaction-limits", - {}, - { renamed: ["interactions", "removeRestrictionsForAuthenticatedUser"] }, - ], - setRestrictionsForAuthenticatedUser: ["PUT /user/interaction-limits"], - setRestrictionsForOrg: ["PUT /orgs/{org}/interaction-limits"], - setRestrictionsForRepo: ["PUT /repos/{owner}/{repo}/interaction-limits"], - setRestrictionsForYourPublicRepos: [ - "PUT /user/interaction-limits", - {}, - { renamed: ["interactions", "setRestrictionsForAuthenticatedUser"] }, - ], - }, - issues: { - addAssignees: [ - "POST /repos/{owner}/{repo}/issues/{issue_number}/assignees", - ], - addLabels: ["POST /repos/{owner}/{repo}/issues/{issue_number}/labels"], - checkUserCanBeAssigned: ["GET /repos/{owner}/{repo}/assignees/{assignee}"], - create: ["POST /repos/{owner}/{repo}/issues"], - createComment: [ - "POST /repos/{owner}/{repo}/issues/{issue_number}/comments", - ], - createLabel: ["POST /repos/{owner}/{repo}/labels"], - createMilestone: ["POST /repos/{owner}/{repo}/milestones"], - deleteComment: [ - "DELETE /repos/{owner}/{repo}/issues/comments/{comment_id}", - ], - deleteLabel: ["DELETE /repos/{owner}/{repo}/labels/{name}"], - deleteMilestone: [ - "DELETE /repos/{owner}/{repo}/milestones/{milestone_number}", - ], - get: ["GET /repos/{owner}/{repo}/issues/{issue_number}"], - getComment: ["GET /repos/{owner}/{repo}/issues/comments/{comment_id}"], - getEvent: ["GET /repos/{owner}/{repo}/issues/events/{event_id}"], - getLabel: ["GET /repos/{owner}/{repo}/labels/{name}"], - getMilestone: ["GET /repos/{owner}/{repo}/milestones/{milestone_number}"], - list: ["GET /issues"], - listAssignees: ["GET /repos/{owner}/{repo}/assignees"], - listComments: ["GET /repos/{owner}/{repo}/issues/{issue_number}/comments"], - listCommentsForRepo: ["GET /repos/{owner}/{repo}/issues/comments"], - listEvents: ["GET /repos/{owner}/{repo}/issues/{issue_number}/events"], - listEventsForRepo: ["GET /repos/{owner}/{repo}/issues/events"], - listEventsForTimeline: [ - "GET /repos/{owner}/{repo}/issues/{issue_number}/timeline", - { mediaType: { previews: ["mockingbird"] } }, - ], - listForAuthenticatedUser: ["GET /user/issues"], - listForOrg: ["GET /orgs/{org}/issues"], - listForRepo: ["GET /repos/{owner}/{repo}/issues"], - listLabelsForMilestone: [ - "GET /repos/{owner}/{repo}/milestones/{milestone_number}/labels", - ], - listLabelsForRepo: ["GET /repos/{owner}/{repo}/labels"], - listLabelsOnIssue: [ - "GET /repos/{owner}/{repo}/issues/{issue_number}/labels", - ], - listMilestones: ["GET /repos/{owner}/{repo}/milestones"], - lock: ["PUT /repos/{owner}/{repo}/issues/{issue_number}/lock"], - removeAllLabels: [ - "DELETE /repos/{owner}/{repo}/issues/{issue_number}/labels", - ], - removeAssignees: [ - "DELETE /repos/{owner}/{repo}/issues/{issue_number}/assignees", - ], - removeLabel: [ - "DELETE /repos/{owner}/{repo}/issues/{issue_number}/labels/{name}", - ], - setLabels: ["PUT /repos/{owner}/{repo}/issues/{issue_number}/labels"], - unlock: ["DELETE /repos/{owner}/{repo}/issues/{issue_number}/lock"], - update: ["PATCH /repos/{owner}/{repo}/issues/{issue_number}"], - updateComment: ["PATCH /repos/{owner}/{repo}/issues/comments/{comment_id}"], - updateLabel: ["PATCH /repos/{owner}/{repo}/labels/{name}"], - updateMilestone: [ - "PATCH /repos/{owner}/{repo}/milestones/{milestone_number}", - ], - }, - licenses: { - get: ["GET /licenses/{license}"], - getAllCommonlyUsed: ["GET /licenses"], - getForRepo: ["GET /repos/{owner}/{repo}/license"], - }, - markdown: { - render: ["POST /markdown"], - renderRaw: [ - "POST /markdown/raw", - { headers: { "content-type": "text/plain; charset=utf-8" } }, - ], - }, - meta: { - get: ["GET /meta"], - getOctocat: ["GET /octocat"], - getZen: ["GET /zen"], - root: ["GET /"], - }, - migrations: { - cancelImport: ["DELETE /repos/{owner}/{repo}/import"], - deleteArchiveForAuthenticatedUser: [ - "DELETE /user/migrations/{migration_id}/archive", - { mediaType: { previews: ["wyandotte"] } }, - ], - deleteArchiveForOrg: [ - "DELETE /orgs/{org}/migrations/{migration_id}/archive", - { mediaType: { previews: ["wyandotte"] } }, - ], - downloadArchiveForOrg: [ - "GET /orgs/{org}/migrations/{migration_id}/archive", - { mediaType: { previews: ["wyandotte"] } }, - ], - getArchiveForAuthenticatedUser: [ - "GET /user/migrations/{migration_id}/archive", - { mediaType: { previews: ["wyandotte"] } }, - ], - getCommitAuthors: ["GET /repos/{owner}/{repo}/import/authors"], - getImportStatus: ["GET /repos/{owner}/{repo}/import"], - getLargeFiles: ["GET /repos/{owner}/{repo}/import/large_files"], - getStatusForAuthenticatedUser: [ - "GET /user/migrations/{migration_id}", - { mediaType: { previews: ["wyandotte"] } }, - ], - getStatusForOrg: [ - "GET /orgs/{org}/migrations/{migration_id}", - { mediaType: { previews: ["wyandotte"] } }, - ], - listForAuthenticatedUser: [ - "GET /user/migrations", - { mediaType: { previews: ["wyandotte"] } }, - ], - listForOrg: [ - "GET /orgs/{org}/migrations", - { mediaType: { previews: ["wyandotte"] } }, - ], - listReposForOrg: [ - "GET /orgs/{org}/migrations/{migration_id}/repositories", - { mediaType: { previews: ["wyandotte"] } }, - ], - listReposForUser: [ - "GET /user/migrations/{migration_id}/repositories", - { mediaType: { previews: ["wyandotte"] } }, - ], - mapCommitAuthor: ["PATCH /repos/{owner}/{repo}/import/authors/{author_id}"], - setLfsPreference: ["PATCH /repos/{owner}/{repo}/import/lfs"], - startForAuthenticatedUser: ["POST /user/migrations"], - startForOrg: ["POST /orgs/{org}/migrations"], - startImport: ["PUT /repos/{owner}/{repo}/import"], - unlockRepoForAuthenticatedUser: [ - "DELETE /user/migrations/{migration_id}/repos/{repo_name}/lock", - { mediaType: { previews: ["wyandotte"] } }, - ], - unlockRepoForOrg: [ - "DELETE /orgs/{org}/migrations/{migration_id}/repos/{repo_name}/lock", - { mediaType: { previews: ["wyandotte"] } }, - ], - updateImport: ["PATCH /repos/{owner}/{repo}/import"], - }, - orgs: { - blockUser: ["PUT /orgs/{org}/blocks/{username}"], - cancelInvitation: ["DELETE /orgs/{org}/invitations/{invitation_id}"], - checkBlockedUser: ["GET /orgs/{org}/blocks/{username}"], - checkMembershipForUser: ["GET /orgs/{org}/members/{username}"], - checkPublicMembershipForUser: ["GET /orgs/{org}/public_members/{username}"], - convertMemberToOutsideCollaborator: [ - "PUT /orgs/{org}/outside_collaborators/{username}", - ], - createInvitation: ["POST /orgs/{org}/invitations"], - createWebhook: ["POST /orgs/{org}/hooks"], - deleteWebhook: ["DELETE /orgs/{org}/hooks/{hook_id}"], - get: ["GET /orgs/{org}"], - getMembershipForAuthenticatedUser: ["GET /user/memberships/orgs/{org}"], - getMembershipForUser: ["GET /orgs/{org}/memberships/{username}"], - getWebhook: ["GET /orgs/{org}/hooks/{hook_id}"], - getWebhookConfigForOrg: ["GET /orgs/{org}/hooks/{hook_id}/config"], - getWebhookDelivery: [ - "GET /orgs/{org}/hooks/{hook_id}/deliveries/{delivery_id}", - ], - list: ["GET /organizations"], - listAppInstallations: ["GET /orgs/{org}/installations"], - listBlockedUsers: ["GET /orgs/{org}/blocks"], - listFailedInvitations: ["GET /orgs/{org}/failed_invitations"], - listForAuthenticatedUser: ["GET /user/orgs"], - listForUser: ["GET /users/{username}/orgs"], - listInvitationTeams: ["GET /orgs/{org}/invitations/{invitation_id}/teams"], - listMembers: ["GET /orgs/{org}/members"], - listMembershipsForAuthenticatedUser: ["GET /user/memberships/orgs"], - listOutsideCollaborators: ["GET /orgs/{org}/outside_collaborators"], - listPendingInvitations: ["GET /orgs/{org}/invitations"], - listPublicMembers: ["GET /orgs/{org}/public_members"], - listWebhookDeliveries: ["GET /orgs/{org}/hooks/{hook_id}/deliveries"], - listWebhooks: ["GET /orgs/{org}/hooks"], - pingWebhook: ["POST /orgs/{org}/hooks/{hook_id}/pings"], - redeliverWebhookDelivery: [ - "POST /orgs/{org}/hooks/{hook_id}/deliveries/{delivery_id}/attempts", - ], - removeMember: ["DELETE /orgs/{org}/members/{username}"], - removeMembershipForUser: ["DELETE /orgs/{org}/memberships/{username}"], - removeOutsideCollaborator: [ - "DELETE /orgs/{org}/outside_collaborators/{username}", - ], - removePublicMembershipForAuthenticatedUser: [ - "DELETE /orgs/{org}/public_members/{username}", - ], - setMembershipForUser: ["PUT /orgs/{org}/memberships/{username}"], - setPublicMembershipForAuthenticatedUser: [ - "PUT /orgs/{org}/public_members/{username}", - ], - unblockUser: ["DELETE /orgs/{org}/blocks/{username}"], - update: ["PATCH /orgs/{org}"], - updateMembershipForAuthenticatedUser: [ - "PATCH /user/memberships/orgs/{org}", - ], - updateWebhook: ["PATCH /orgs/{org}/hooks/{hook_id}"], - updateWebhookConfigForOrg: ["PATCH /orgs/{org}/hooks/{hook_id}/config"], - }, - packages: { - deletePackageForAuthenticatedUser: [ - "DELETE /user/packages/{package_type}/{package_name}", - ], - deletePackageForOrg: [ - "DELETE /orgs/{org}/packages/{package_type}/{package_name}", - ], - deletePackageVersionForAuthenticatedUser: [ - "DELETE /user/packages/{package_type}/{package_name}/versions/{package_version_id}", - ], - deletePackageVersionForOrg: [ - "DELETE /orgs/{org}/packages/{package_type}/{package_name}/versions/{package_version_id}", - ], - getAllPackageVersionsForAPackageOwnedByAnOrg: [ - "GET /orgs/{org}/packages/{package_type}/{package_name}/versions", - {}, - { renamed: ["packages", "getAllPackageVersionsForPackageOwnedByOrg"] }, - ], - getAllPackageVersionsForAPackageOwnedByTheAuthenticatedUser: [ - "GET /user/packages/{package_type}/{package_name}/versions", - {}, - { - renamed: [ - "packages", - "getAllPackageVersionsForPackageOwnedByAuthenticatedUser", - ], - }, - ], - getAllPackageVersionsForPackageOwnedByAuthenticatedUser: [ - "GET /user/packages/{package_type}/{package_name}/versions", - ], - getAllPackageVersionsForPackageOwnedByOrg: [ - "GET /orgs/{org}/packages/{package_type}/{package_name}/versions", - ], - getAllPackageVersionsForPackageOwnedByUser: [ - "GET /users/{username}/packages/{package_type}/{package_name}/versions", - ], - getPackageForAuthenticatedUser: [ - "GET /user/packages/{package_type}/{package_name}", - ], - getPackageForOrganization: [ - "GET /orgs/{org}/packages/{package_type}/{package_name}", - ], - getPackageForUser: [ - "GET /users/{username}/packages/{package_type}/{package_name}", - ], - getPackageVersionForAuthenticatedUser: [ - "GET /user/packages/{package_type}/{package_name}/versions/{package_version_id}", - ], - getPackageVersionForOrganization: [ - "GET /orgs/{org}/packages/{package_type}/{package_name}/versions/{package_version_id}", - ], - getPackageVersionForUser: [ - "GET /users/{username}/packages/{package_type}/{package_name}/versions/{package_version_id}", - ], - restorePackageForAuthenticatedUser: [ - "POST /user/packages/{package_type}/{package_name}/restore{?token}", - ], - restorePackageForOrg: [ - "POST /orgs/{org}/packages/{package_type}/{package_name}/restore{?token}", - ], - restorePackageVersionForAuthenticatedUser: [ - "POST /user/packages/{package_type}/{package_name}/versions/{package_version_id}/restore", - ], - restorePackageVersionForOrg: [ - "POST /orgs/{org}/packages/{package_type}/{package_name}/versions/{package_version_id}/restore", - ], - }, - projects: { - addCollaborator: [ - "PUT /projects/{project_id}/collaborators/{username}", - { mediaType: { previews: ["inertia"] } }, - ], - createCard: [ - "POST /projects/columns/{column_id}/cards", - { mediaType: { previews: ["inertia"] } }, - ], - createColumn: [ - "POST /projects/{project_id}/columns", - { mediaType: { previews: ["inertia"] } }, - ], - createForAuthenticatedUser: [ - "POST /user/projects", - { mediaType: { previews: ["inertia"] } }, - ], - createForOrg: [ - "POST /orgs/{org}/projects", - { mediaType: { previews: ["inertia"] } }, - ], - createForRepo: [ - "POST /repos/{owner}/{repo}/projects", - { mediaType: { previews: ["inertia"] } }, - ], - delete: [ - "DELETE /projects/{project_id}", - { mediaType: { previews: ["inertia"] } }, - ], - deleteCard: [ - "DELETE /projects/columns/cards/{card_id}", - { mediaType: { previews: ["inertia"] } }, - ], - deleteColumn: [ - "DELETE /projects/columns/{column_id}", - { mediaType: { previews: ["inertia"] } }, - ], - get: [ - "GET /projects/{project_id}", - { mediaType: { previews: ["inertia"] } }, - ], - getCard: [ - "GET /projects/columns/cards/{card_id}", - { mediaType: { previews: ["inertia"] } }, - ], - getColumn: [ - "GET /projects/columns/{column_id}", - { mediaType: { previews: ["inertia"] } }, - ], - getPermissionForUser: [ - "GET /projects/{project_id}/collaborators/{username}/permission", - { mediaType: { previews: ["inertia"] } }, - ], - listCards: [ - "GET /projects/columns/{column_id}/cards", - { mediaType: { previews: ["inertia"] } }, - ], - listCollaborators: [ - "GET /projects/{project_id}/collaborators", - { mediaType: { previews: ["inertia"] } }, - ], - listColumns: [ - "GET /projects/{project_id}/columns", - { mediaType: { previews: ["inertia"] } }, - ], - listForOrg: [ - "GET /orgs/{org}/projects", - { mediaType: { previews: ["inertia"] } }, - ], - listForRepo: [ - "GET /repos/{owner}/{repo}/projects", - { mediaType: { previews: ["inertia"] } }, - ], - listForUser: [ - "GET /users/{username}/projects", - { mediaType: { previews: ["inertia"] } }, - ], - moveCard: [ - "POST /projects/columns/cards/{card_id}/moves", - { mediaType: { previews: ["inertia"] } }, - ], - moveColumn: [ - "POST /projects/columns/{column_id}/moves", - { mediaType: { previews: ["inertia"] } }, - ], - removeCollaborator: [ - "DELETE /projects/{project_id}/collaborators/{username}", - { mediaType: { previews: ["inertia"] } }, - ], - update: [ - "PATCH /projects/{project_id}", - { mediaType: { previews: ["inertia"] } }, - ], - updateCard: [ - "PATCH /projects/columns/cards/{card_id}", - { mediaType: { previews: ["inertia"] } }, - ], - updateColumn: [ - "PATCH /projects/columns/{column_id}", - { mediaType: { previews: ["inertia"] } }, - ], - }, - pulls: { - checkIfMerged: ["GET /repos/{owner}/{repo}/pulls/{pull_number}/merge"], - create: ["POST /repos/{owner}/{repo}/pulls"], - createReplyForReviewComment: [ - "POST /repos/{owner}/{repo}/pulls/{pull_number}/comments/{comment_id}/replies", - ], - createReview: ["POST /repos/{owner}/{repo}/pulls/{pull_number}/reviews"], - createReviewComment: [ - "POST /repos/{owner}/{repo}/pulls/{pull_number}/comments", - ], - deletePendingReview: [ - "DELETE /repos/{owner}/{repo}/pulls/{pull_number}/reviews/{review_id}", - ], - deleteReviewComment: [ - "DELETE /repos/{owner}/{repo}/pulls/comments/{comment_id}", - ], - dismissReview: [ - "PUT /repos/{owner}/{repo}/pulls/{pull_number}/reviews/{review_id}/dismissals", - ], - get: ["GET /repos/{owner}/{repo}/pulls/{pull_number}"], - getReview: [ - "GET /repos/{owner}/{repo}/pulls/{pull_number}/reviews/{review_id}", - ], - getReviewComment: ["GET /repos/{owner}/{repo}/pulls/comments/{comment_id}"], - list: ["GET /repos/{owner}/{repo}/pulls"], - listCommentsForReview: [ - "GET /repos/{owner}/{repo}/pulls/{pull_number}/reviews/{review_id}/comments", - ], - listCommits: ["GET /repos/{owner}/{repo}/pulls/{pull_number}/commits"], - listFiles: ["GET /repos/{owner}/{repo}/pulls/{pull_number}/files"], - listRequestedReviewers: [ - "GET /repos/{owner}/{repo}/pulls/{pull_number}/requested_reviewers", - ], - listReviewComments: [ - "GET /repos/{owner}/{repo}/pulls/{pull_number}/comments", - ], - listReviewCommentsForRepo: ["GET /repos/{owner}/{repo}/pulls/comments"], - listReviews: ["GET /repos/{owner}/{repo}/pulls/{pull_number}/reviews"], - merge: ["PUT /repos/{owner}/{repo}/pulls/{pull_number}/merge"], - removeRequestedReviewers: [ - "DELETE /repos/{owner}/{repo}/pulls/{pull_number}/requested_reviewers", - ], - requestReviewers: [ - "POST /repos/{owner}/{repo}/pulls/{pull_number}/requested_reviewers", - ], - submitReview: [ - "POST /repos/{owner}/{repo}/pulls/{pull_number}/reviews/{review_id}/events", - ], - update: ["PATCH /repos/{owner}/{repo}/pulls/{pull_number}"], - updateBranch: [ - "PUT /repos/{owner}/{repo}/pulls/{pull_number}/update-branch", - { mediaType: { previews: ["lydian"] } }, - ], - updateReview: [ - "PUT /repos/{owner}/{repo}/pulls/{pull_number}/reviews/{review_id}", - ], - updateReviewComment: [ - "PATCH /repos/{owner}/{repo}/pulls/comments/{comment_id}", - ], - }, - rateLimit: { get: ["GET /rate_limit"] }, - reactions: { - createForCommitComment: [ - "POST /repos/{owner}/{repo}/comments/{comment_id}/reactions", - { mediaType: { previews: ["squirrel-girl"] } }, - ], - createForIssue: [ - "POST /repos/{owner}/{repo}/issues/{issue_number}/reactions", - { mediaType: { previews: ["squirrel-girl"] } }, - ], - createForIssueComment: [ - "POST /repos/{owner}/{repo}/issues/comments/{comment_id}/reactions", - { mediaType: { previews: ["squirrel-girl"] } }, - ], - createForPullRequestReviewComment: [ - "POST /repos/{owner}/{repo}/pulls/comments/{comment_id}/reactions", - { mediaType: { previews: ["squirrel-girl"] } }, - ], - createForRelease: [ - "POST /repos/{owner}/{repo}/releases/{release_id}/reactions", - { mediaType: { previews: ["squirrel-girl"] } }, - ], - createForTeamDiscussionCommentInOrg: [ - "POST /orgs/{org}/teams/{team_slug}/discussions/{discussion_number}/comments/{comment_number}/reactions", - { mediaType: { previews: ["squirrel-girl"] } }, - ], - createForTeamDiscussionInOrg: [ - "POST /orgs/{org}/teams/{team_slug}/discussions/{discussion_number}/reactions", - { mediaType: { previews: ["squirrel-girl"] } }, - ], - deleteForCommitComment: [ - "DELETE /repos/{owner}/{repo}/comments/{comment_id}/reactions/{reaction_id}", - { mediaType: { previews: ["squirrel-girl"] } }, - ], - deleteForIssue: [ - "DELETE /repos/{owner}/{repo}/issues/{issue_number}/reactions/{reaction_id}", - { mediaType: { previews: ["squirrel-girl"] } }, - ], - deleteForIssueComment: [ - "DELETE /repos/{owner}/{repo}/issues/comments/{comment_id}/reactions/{reaction_id}", - { mediaType: { previews: ["squirrel-girl"] } }, - ], - deleteForPullRequestComment: [ - "DELETE /repos/{owner}/{repo}/pulls/comments/{comment_id}/reactions/{reaction_id}", - { mediaType: { previews: ["squirrel-girl"] } }, - ], - deleteForTeamDiscussion: [ - "DELETE /orgs/{org}/teams/{team_slug}/discussions/{discussion_number}/reactions/{reaction_id}", - { mediaType: { previews: ["squirrel-girl"] } }, - ], - deleteForTeamDiscussionComment: [ - "DELETE /orgs/{org}/teams/{team_slug}/discussions/{discussion_number}/comments/{comment_number}/reactions/{reaction_id}", - { mediaType: { previews: ["squirrel-girl"] } }, - ], - deleteLegacy: [ - "DELETE /reactions/{reaction_id}", - { mediaType: { previews: ["squirrel-girl"] } }, - { - deprecated: "octokit.rest.reactions.deleteLegacy() is deprecated, see https://docs.github.com/rest/reference/reactions/#delete-a-reaction-legacy", - }, - ], - listForCommitComment: [ - "GET /repos/{owner}/{repo}/comments/{comment_id}/reactions", - { mediaType: { previews: ["squirrel-girl"] } }, - ], - listForIssue: [ - "GET /repos/{owner}/{repo}/issues/{issue_number}/reactions", - { mediaType: { previews: ["squirrel-girl"] } }, - ], - listForIssueComment: [ - "GET /repos/{owner}/{repo}/issues/comments/{comment_id}/reactions", - { mediaType: { previews: ["squirrel-girl"] } }, - ], - listForPullRequestReviewComment: [ - "GET /repos/{owner}/{repo}/pulls/comments/{comment_id}/reactions", - { mediaType: { previews: ["squirrel-girl"] } }, - ], - listForTeamDiscussionCommentInOrg: [ - "GET /orgs/{org}/teams/{team_slug}/discussions/{discussion_number}/comments/{comment_number}/reactions", - { mediaType: { previews: ["squirrel-girl"] } }, - ], - listForTeamDiscussionInOrg: [ - "GET /orgs/{org}/teams/{team_slug}/discussions/{discussion_number}/reactions", - { mediaType: { previews: ["squirrel-girl"] } }, - ], - }, - repos: { - acceptInvitation: ["PATCH /user/repository_invitations/{invitation_id}"], - addAppAccessRestrictions: [ - "POST /repos/{owner}/{repo}/branches/{branch}/protection/restrictions/apps", - {}, - { mapToData: "apps" }, - ], - addCollaborator: ["PUT /repos/{owner}/{repo}/collaborators/{username}"], - addStatusCheckContexts: [ - "POST /repos/{owner}/{repo}/branches/{branch}/protection/required_status_checks/contexts", - {}, - { mapToData: "contexts" }, - ], - addTeamAccessRestrictions: [ - "POST /repos/{owner}/{repo}/branches/{branch}/protection/restrictions/teams", - {}, - { mapToData: "teams" }, - ], - addUserAccessRestrictions: [ - "POST /repos/{owner}/{repo}/branches/{branch}/protection/restrictions/users", - {}, - { mapToData: "users" }, - ], - checkCollaborator: ["GET /repos/{owner}/{repo}/collaborators/{username}"], - checkVulnerabilityAlerts: [ - "GET /repos/{owner}/{repo}/vulnerability-alerts", - { mediaType: { previews: ["dorian"] } }, - ], - compareCommits: ["GET /repos/{owner}/{repo}/compare/{base}...{head}"], - compareCommitsWithBasehead: [ - "GET /repos/{owner}/{repo}/compare/{basehead}", - ], - createCommitComment: [ - "POST /repos/{owner}/{repo}/commits/{commit_sha}/comments", - ], - createCommitSignatureProtection: [ - "POST /repos/{owner}/{repo}/branches/{branch}/protection/required_signatures", - { mediaType: { previews: ["zzzax"] } }, - ], - createCommitStatus: ["POST /repos/{owner}/{repo}/statuses/{sha}"], - createDeployKey: ["POST /repos/{owner}/{repo}/keys"], - createDeployment: ["POST /repos/{owner}/{repo}/deployments"], - createDeploymentStatus: [ - "POST /repos/{owner}/{repo}/deployments/{deployment_id}/statuses", - ], - createDispatchEvent: ["POST /repos/{owner}/{repo}/dispatches"], - createForAuthenticatedUser: ["POST /user/repos"], - createFork: ["POST /repos/{owner}/{repo}/forks"], - createInOrg: ["POST /orgs/{org}/repos"], - createOrUpdateEnvironment: [ - "PUT /repos/{owner}/{repo}/environments/{environment_name}", - ], - createOrUpdateFileContents: ["PUT /repos/{owner}/{repo}/contents/{path}"], - createPagesSite: [ - "POST /repos/{owner}/{repo}/pages", - { mediaType: { previews: ["switcheroo"] } }, - ], - createRelease: ["POST /repos/{owner}/{repo}/releases"], - createUsingTemplate: [ - "POST /repos/{template_owner}/{template_repo}/generate", - { mediaType: { previews: ["baptiste"] } }, - ], - createWebhook: ["POST /repos/{owner}/{repo}/hooks"], - declineInvitation: ["DELETE /user/repository_invitations/{invitation_id}"], - delete: ["DELETE /repos/{owner}/{repo}"], - deleteAccessRestrictions: [ - "DELETE /repos/{owner}/{repo}/branches/{branch}/protection/restrictions", - ], - deleteAdminBranchProtection: [ - "DELETE /repos/{owner}/{repo}/branches/{branch}/protection/enforce_admins", - ], - deleteAnEnvironment: [ - "DELETE /repos/{owner}/{repo}/environments/{environment_name}", - ], - deleteBranchProtection: [ - "DELETE /repos/{owner}/{repo}/branches/{branch}/protection", - ], - deleteCommitComment: ["DELETE /repos/{owner}/{repo}/comments/{comment_id}"], - deleteCommitSignatureProtection: [ - "DELETE /repos/{owner}/{repo}/branches/{branch}/protection/required_signatures", - { mediaType: { previews: ["zzzax"] } }, - ], - deleteDeployKey: ["DELETE /repos/{owner}/{repo}/keys/{key_id}"], - deleteDeployment: [ - "DELETE /repos/{owner}/{repo}/deployments/{deployment_id}", - ], - deleteFile: ["DELETE /repos/{owner}/{repo}/contents/{path}"], - deleteInvitation: [ - "DELETE /repos/{owner}/{repo}/invitations/{invitation_id}", - ], - deletePagesSite: [ - "DELETE /repos/{owner}/{repo}/pages", - { mediaType: { previews: ["switcheroo"] } }, - ], - deletePullRequestReviewProtection: [ - "DELETE /repos/{owner}/{repo}/branches/{branch}/protection/required_pull_request_reviews", - ], - deleteRelease: ["DELETE /repos/{owner}/{repo}/releases/{release_id}"], - deleteReleaseAsset: [ - "DELETE /repos/{owner}/{repo}/releases/assets/{asset_id}", - ], - deleteWebhook: ["DELETE /repos/{owner}/{repo}/hooks/{hook_id}"], - disableAutomatedSecurityFixes: [ - "DELETE /repos/{owner}/{repo}/automated-security-fixes", - { mediaType: { previews: ["london"] } }, - ], - disableVulnerabilityAlerts: [ - "DELETE /repos/{owner}/{repo}/vulnerability-alerts", - { mediaType: { previews: ["dorian"] } }, - ], - downloadArchive: [ - "GET /repos/{owner}/{repo}/zipball/{ref}", - {}, - { renamed: ["repos", "downloadZipballArchive"] }, - ], - downloadTarballArchive: ["GET /repos/{owner}/{repo}/tarball/{ref}"], - downloadZipballArchive: ["GET /repos/{owner}/{repo}/zipball/{ref}"], - enableAutomatedSecurityFixes: [ - "PUT /repos/{owner}/{repo}/automated-security-fixes", - { mediaType: { previews: ["london"] } }, - ], - enableVulnerabilityAlerts: [ - "PUT /repos/{owner}/{repo}/vulnerability-alerts", - { mediaType: { previews: ["dorian"] } }, - ], - get: ["GET /repos/{owner}/{repo}"], - getAccessRestrictions: [ - "GET /repos/{owner}/{repo}/branches/{branch}/protection/restrictions", - ], - getAdminBranchProtection: [ - "GET /repos/{owner}/{repo}/branches/{branch}/protection/enforce_admins", - ], - getAllEnvironments: ["GET /repos/{owner}/{repo}/environments"], - getAllStatusCheckContexts: [ - "GET /repos/{owner}/{repo}/branches/{branch}/protection/required_status_checks/contexts", - ], - getAllTopics: [ - "GET /repos/{owner}/{repo}/topics", - { mediaType: { previews: ["mercy"] } }, - ], - getAppsWithAccessToProtectedBranch: [ - "GET /repos/{owner}/{repo}/branches/{branch}/protection/restrictions/apps", - ], - getBranch: ["GET /repos/{owner}/{repo}/branches/{branch}"], - getBranchProtection: [ - "GET /repos/{owner}/{repo}/branches/{branch}/protection", - ], - getClones: ["GET /repos/{owner}/{repo}/traffic/clones"], - getCodeFrequencyStats: ["GET /repos/{owner}/{repo}/stats/code_frequency"], - getCollaboratorPermissionLevel: [ - "GET /repos/{owner}/{repo}/collaborators/{username}/permission", - ], - getCombinedStatusForRef: ["GET /repos/{owner}/{repo}/commits/{ref}/status"], - getCommit: ["GET /repos/{owner}/{repo}/commits/{ref}"], - getCommitActivityStats: ["GET /repos/{owner}/{repo}/stats/commit_activity"], - getCommitComment: ["GET /repos/{owner}/{repo}/comments/{comment_id}"], - getCommitSignatureProtection: [ - "GET /repos/{owner}/{repo}/branches/{branch}/protection/required_signatures", - { mediaType: { previews: ["zzzax"] } }, - ], - getCommunityProfileMetrics: ["GET /repos/{owner}/{repo}/community/profile"], - getContent: ["GET /repos/{owner}/{repo}/contents/{path}"], - getContributorsStats: ["GET /repos/{owner}/{repo}/stats/contributors"], - getDeployKey: ["GET /repos/{owner}/{repo}/keys/{key_id}"], - getDeployment: ["GET /repos/{owner}/{repo}/deployments/{deployment_id}"], - getDeploymentStatus: [ - "GET /repos/{owner}/{repo}/deployments/{deployment_id}/statuses/{status_id}", - ], - getEnvironment: [ - "GET /repos/{owner}/{repo}/environments/{environment_name}", - ], - getLatestPagesBuild: ["GET /repos/{owner}/{repo}/pages/builds/latest"], - getLatestRelease: ["GET /repos/{owner}/{repo}/releases/latest"], - getPages: ["GET /repos/{owner}/{repo}/pages"], - getPagesBuild: ["GET /repos/{owner}/{repo}/pages/builds/{build_id}"], - getPagesHealthCheck: ["GET /repos/{owner}/{repo}/pages/health"], - getParticipationStats: ["GET /repos/{owner}/{repo}/stats/participation"], - getPullRequestReviewProtection: [ - "GET /repos/{owner}/{repo}/branches/{branch}/protection/required_pull_request_reviews", - ], - getPunchCardStats: ["GET /repos/{owner}/{repo}/stats/punch_card"], - getReadme: ["GET /repos/{owner}/{repo}/readme"], - getReadmeInDirectory: ["GET /repos/{owner}/{repo}/readme/{dir}"], - getRelease: ["GET /repos/{owner}/{repo}/releases/{release_id}"], - getReleaseAsset: ["GET /repos/{owner}/{repo}/releases/assets/{asset_id}"], - getReleaseByTag: ["GET /repos/{owner}/{repo}/releases/tags/{tag}"], - getStatusChecksProtection: [ - "GET /repos/{owner}/{repo}/branches/{branch}/protection/required_status_checks", - ], - getTeamsWithAccessToProtectedBranch: [ - "GET /repos/{owner}/{repo}/branches/{branch}/protection/restrictions/teams", - ], - getTopPaths: ["GET /repos/{owner}/{repo}/traffic/popular/paths"], - getTopReferrers: ["GET /repos/{owner}/{repo}/traffic/popular/referrers"], - getUsersWithAccessToProtectedBranch: [ - "GET /repos/{owner}/{repo}/branches/{branch}/protection/restrictions/users", - ], - getViews: ["GET /repos/{owner}/{repo}/traffic/views"], - getWebhook: ["GET /repos/{owner}/{repo}/hooks/{hook_id}"], - getWebhookConfigForRepo: [ - "GET /repos/{owner}/{repo}/hooks/{hook_id}/config", - ], - getWebhookDelivery: [ - "GET /repos/{owner}/{repo}/hooks/{hook_id}/deliveries/{delivery_id}", - ], - listBranches: ["GET /repos/{owner}/{repo}/branches"], - listBranchesForHeadCommit: [ - "GET /repos/{owner}/{repo}/commits/{commit_sha}/branches-where-head", - { mediaType: { previews: ["groot"] } }, - ], - listCollaborators: ["GET /repos/{owner}/{repo}/collaborators"], - listCommentsForCommit: [ - "GET /repos/{owner}/{repo}/commits/{commit_sha}/comments", - ], - listCommitCommentsForRepo: ["GET /repos/{owner}/{repo}/comments"], - listCommitStatusesForRef: [ - "GET /repos/{owner}/{repo}/commits/{ref}/statuses", - ], - listCommits: ["GET /repos/{owner}/{repo}/commits"], - listContributors: ["GET /repos/{owner}/{repo}/contributors"], - listDeployKeys: ["GET /repos/{owner}/{repo}/keys"], - listDeploymentStatuses: [ - "GET /repos/{owner}/{repo}/deployments/{deployment_id}/statuses", - ], - listDeployments: ["GET /repos/{owner}/{repo}/deployments"], - listForAuthenticatedUser: ["GET /user/repos"], - listForOrg: ["GET /orgs/{org}/repos"], - listForUser: ["GET /users/{username}/repos"], - listForks: ["GET /repos/{owner}/{repo}/forks"], - listInvitations: ["GET /repos/{owner}/{repo}/invitations"], - listInvitationsForAuthenticatedUser: ["GET /user/repository_invitations"], - listLanguages: ["GET /repos/{owner}/{repo}/languages"], - listPagesBuilds: ["GET /repos/{owner}/{repo}/pages/builds"], - listPublic: ["GET /repositories"], - listPullRequestsAssociatedWithCommit: [ - "GET /repos/{owner}/{repo}/commits/{commit_sha}/pulls", - { mediaType: { previews: ["groot"] } }, - ], - listReleaseAssets: [ - "GET /repos/{owner}/{repo}/releases/{release_id}/assets", - ], - listReleases: ["GET /repos/{owner}/{repo}/releases"], - listTags: ["GET /repos/{owner}/{repo}/tags"], - listTeams: ["GET /repos/{owner}/{repo}/teams"], - listWebhookDeliveries: [ - "GET /repos/{owner}/{repo}/hooks/{hook_id}/deliveries", - ], - listWebhooks: ["GET /repos/{owner}/{repo}/hooks"], - merge: ["POST /repos/{owner}/{repo}/merges"], - pingWebhook: ["POST /repos/{owner}/{repo}/hooks/{hook_id}/pings"], - redeliverWebhookDelivery: [ - "POST /repos/{owner}/{repo}/hooks/{hook_id}/deliveries/{delivery_id}/attempts", - ], - removeAppAccessRestrictions: [ - "DELETE /repos/{owner}/{repo}/branches/{branch}/protection/restrictions/apps", - {}, - { mapToData: "apps" }, - ], - removeCollaborator: [ - "DELETE /repos/{owner}/{repo}/collaborators/{username}", - ], - removeStatusCheckContexts: [ - "DELETE /repos/{owner}/{repo}/branches/{branch}/protection/required_status_checks/contexts", - {}, - { mapToData: "contexts" }, - ], - removeStatusCheckProtection: [ - "DELETE /repos/{owner}/{repo}/branches/{branch}/protection/required_status_checks", - ], - removeTeamAccessRestrictions: [ - "DELETE /repos/{owner}/{repo}/branches/{branch}/protection/restrictions/teams", - {}, - { mapToData: "teams" }, - ], - removeUserAccessRestrictions: [ - "DELETE /repos/{owner}/{repo}/branches/{branch}/protection/restrictions/users", - {}, - { mapToData: "users" }, - ], - renameBranch: ["POST /repos/{owner}/{repo}/branches/{branch}/rename"], - replaceAllTopics: [ - "PUT /repos/{owner}/{repo}/topics", - { mediaType: { previews: ["mercy"] } }, - ], - requestPagesBuild: ["POST /repos/{owner}/{repo}/pages/builds"], - setAdminBranchProtection: [ - "POST /repos/{owner}/{repo}/branches/{branch}/protection/enforce_admins", - ], - setAppAccessRestrictions: [ - "PUT /repos/{owner}/{repo}/branches/{branch}/protection/restrictions/apps", - {}, - { mapToData: "apps" }, - ], - setStatusCheckContexts: [ - "PUT /repos/{owner}/{repo}/branches/{branch}/protection/required_status_checks/contexts", - {}, - { mapToData: "contexts" }, - ], - setTeamAccessRestrictions: [ - "PUT /repos/{owner}/{repo}/branches/{branch}/protection/restrictions/teams", - {}, - { mapToData: "teams" }, - ], - setUserAccessRestrictions: [ - "PUT /repos/{owner}/{repo}/branches/{branch}/protection/restrictions/users", - {}, - { mapToData: "users" }, - ], - testPushWebhook: ["POST /repos/{owner}/{repo}/hooks/{hook_id}/tests"], - transfer: ["POST /repos/{owner}/{repo}/transfer"], - update: ["PATCH /repos/{owner}/{repo}"], - updateBranchProtection: [ - "PUT /repos/{owner}/{repo}/branches/{branch}/protection", - ], - updateCommitComment: ["PATCH /repos/{owner}/{repo}/comments/{comment_id}"], - updateInformationAboutPagesSite: ["PUT /repos/{owner}/{repo}/pages"], - updateInvitation: [ - "PATCH /repos/{owner}/{repo}/invitations/{invitation_id}", - ], - updatePullRequestReviewProtection: [ - "PATCH /repos/{owner}/{repo}/branches/{branch}/protection/required_pull_request_reviews", - ], - updateRelease: ["PATCH /repos/{owner}/{repo}/releases/{release_id}"], - updateReleaseAsset: [ - "PATCH /repos/{owner}/{repo}/releases/assets/{asset_id}", - ], - updateStatusCheckPotection: [ - "PATCH /repos/{owner}/{repo}/branches/{branch}/protection/required_status_checks", - {}, - { renamed: ["repos", "updateStatusCheckProtection"] }, - ], - updateStatusCheckProtection: [ - "PATCH /repos/{owner}/{repo}/branches/{branch}/protection/required_status_checks", - ], - updateWebhook: ["PATCH /repos/{owner}/{repo}/hooks/{hook_id}"], - updateWebhookConfigForRepo: [ - "PATCH /repos/{owner}/{repo}/hooks/{hook_id}/config", - ], - uploadReleaseAsset: [ - "POST /repos/{owner}/{repo}/releases/{release_id}/assets{?name,label}", - { baseUrl: "https://uploads.github.com" }, - ], - }, - search: { - code: ["GET /search/code"], - commits: ["GET /search/commits", { mediaType: { previews: ["cloak"] } }], - issuesAndPullRequests: ["GET /search/issues"], - labels: ["GET /search/labels"], - repos: ["GET /search/repositories"], - topics: ["GET /search/topics", { mediaType: { previews: ["mercy"] } }], - users: ["GET /search/users"], - }, - secretScanning: { - getAlert: [ - "GET /repos/{owner}/{repo}/secret-scanning/alerts/{alert_number}", - ], - listAlertsForRepo: ["GET /repos/{owner}/{repo}/secret-scanning/alerts"], - updateAlert: [ - "PATCH /repos/{owner}/{repo}/secret-scanning/alerts/{alert_number}", - ], - }, - teams: { - addOrUpdateMembershipForUserInOrg: [ - "PUT /orgs/{org}/teams/{team_slug}/memberships/{username}", - ], - addOrUpdateProjectPermissionsInOrg: [ - "PUT /orgs/{org}/teams/{team_slug}/projects/{project_id}", - { mediaType: { previews: ["inertia"] } }, - ], - addOrUpdateRepoPermissionsInOrg: [ - "PUT /orgs/{org}/teams/{team_slug}/repos/{owner}/{repo}", - ], - checkPermissionsForProjectInOrg: [ - "GET /orgs/{org}/teams/{team_slug}/projects/{project_id}", - { mediaType: { previews: ["inertia"] } }, - ], - checkPermissionsForRepoInOrg: [ - "GET /orgs/{org}/teams/{team_slug}/repos/{owner}/{repo}", - ], - create: ["POST /orgs/{org}/teams"], - createDiscussionCommentInOrg: [ - "POST /orgs/{org}/teams/{team_slug}/discussions/{discussion_number}/comments", - ], - createDiscussionInOrg: ["POST /orgs/{org}/teams/{team_slug}/discussions"], - deleteDiscussionCommentInOrg: [ - "DELETE /orgs/{org}/teams/{team_slug}/discussions/{discussion_number}/comments/{comment_number}", - ], - deleteDiscussionInOrg: [ - "DELETE /orgs/{org}/teams/{team_slug}/discussions/{discussion_number}", - ], - deleteInOrg: ["DELETE /orgs/{org}/teams/{team_slug}"], - getByName: ["GET /orgs/{org}/teams/{team_slug}"], - getDiscussionCommentInOrg: [ - "GET /orgs/{org}/teams/{team_slug}/discussions/{discussion_number}/comments/{comment_number}", - ], - getDiscussionInOrg: [ - "GET /orgs/{org}/teams/{team_slug}/discussions/{discussion_number}", - ], - getMembershipForUserInOrg: [ - "GET /orgs/{org}/teams/{team_slug}/memberships/{username}", - ], - list: ["GET /orgs/{org}/teams"], - listChildInOrg: ["GET /orgs/{org}/teams/{team_slug}/teams"], - listDiscussionCommentsInOrg: [ - "GET /orgs/{org}/teams/{team_slug}/discussions/{discussion_number}/comments", - ], - listDiscussionsInOrg: ["GET /orgs/{org}/teams/{team_slug}/discussions"], - listForAuthenticatedUser: ["GET /user/teams"], - listMembersInOrg: ["GET /orgs/{org}/teams/{team_slug}/members"], - listPendingInvitationsInOrg: [ - "GET /orgs/{org}/teams/{team_slug}/invitations", - ], - listProjectsInOrg: [ - "GET /orgs/{org}/teams/{team_slug}/projects", - { mediaType: { previews: ["inertia"] } }, - ], - listReposInOrg: ["GET /orgs/{org}/teams/{team_slug}/repos"], - removeMembershipForUserInOrg: [ - "DELETE /orgs/{org}/teams/{team_slug}/memberships/{username}", - ], - removeProjectInOrg: [ - "DELETE /orgs/{org}/teams/{team_slug}/projects/{project_id}", - ], - removeRepoInOrg: [ - "DELETE /orgs/{org}/teams/{team_slug}/repos/{owner}/{repo}", - ], - updateDiscussionCommentInOrg: [ - "PATCH /orgs/{org}/teams/{team_slug}/discussions/{discussion_number}/comments/{comment_number}", - ], - updateDiscussionInOrg: [ - "PATCH /orgs/{org}/teams/{team_slug}/discussions/{discussion_number}", - ], - updateInOrg: ["PATCH /orgs/{org}/teams/{team_slug}"], - }, - users: { - addEmailForAuthenticated: ["POST /user/emails"], - block: ["PUT /user/blocks/{username}"], - checkBlocked: ["GET /user/blocks/{username}"], - checkFollowingForUser: ["GET /users/{username}/following/{target_user}"], - checkPersonIsFollowedByAuthenticated: ["GET /user/following/{username}"], - createGpgKeyForAuthenticated: ["POST /user/gpg_keys"], - createPublicSshKeyForAuthenticated: ["POST /user/keys"], - deleteEmailForAuthenticated: ["DELETE /user/emails"], - deleteGpgKeyForAuthenticated: ["DELETE /user/gpg_keys/{gpg_key_id}"], - deletePublicSshKeyForAuthenticated: ["DELETE /user/keys/{key_id}"], - follow: ["PUT /user/following/{username}"], - getAuthenticated: ["GET /user"], - getByUsername: ["GET /users/{username}"], - getContextForUser: ["GET /users/{username}/hovercard"], - getGpgKeyForAuthenticated: ["GET /user/gpg_keys/{gpg_key_id}"], - getPublicSshKeyForAuthenticated: ["GET /user/keys/{key_id}"], - list: ["GET /users"], - listBlockedByAuthenticated: ["GET /user/blocks"], - listEmailsForAuthenticated: ["GET /user/emails"], - listFollowedByAuthenticated: ["GET /user/following"], - listFollowersForAuthenticatedUser: ["GET /user/followers"], - listFollowersForUser: ["GET /users/{username}/followers"], - listFollowingForUser: ["GET /users/{username}/following"], - listGpgKeysForAuthenticated: ["GET /user/gpg_keys"], - listGpgKeysForUser: ["GET /users/{username}/gpg_keys"], - listPublicEmailsForAuthenticated: ["GET /user/public_emails"], - listPublicKeysForUser: ["GET /users/{username}/keys"], - listPublicSshKeysForAuthenticated: ["GET /user/keys"], - setPrimaryEmailVisibilityForAuthenticated: ["PATCH /user/email/visibility"], - unblock: ["DELETE /user/blocks/{username}"], - unfollow: ["DELETE /user/following/{username}"], - updateAuthenticated: ["PATCH /user"], - }, -}; -export default Endpoints; diff --git a/node_modules/@octokit/plugin-rest-endpoint-methods/dist-src/generated/method-types.js b/node_modules/@octokit/plugin-rest-endpoint-methods/dist-src/generated/method-types.js deleted file mode 100644 index cb0ff5c..0000000 --- a/node_modules/@octokit/plugin-rest-endpoint-methods/dist-src/generated/method-types.js +++ /dev/null @@ -1 +0,0 @@ -export {}; diff --git a/node_modules/@octokit/plugin-rest-endpoint-methods/dist-src/generated/parameters-and-response-types.js b/node_modules/@octokit/plugin-rest-endpoint-methods/dist-src/generated/parameters-and-response-types.js deleted file mode 100644 index cb0ff5c..0000000 --- a/node_modules/@octokit/plugin-rest-endpoint-methods/dist-src/generated/parameters-and-response-types.js +++ /dev/null @@ -1 +0,0 @@ -export {}; diff --git a/node_modules/@octokit/plugin-rest-endpoint-methods/dist-src/index.js b/node_modules/@octokit/plugin-rest-endpoint-methods/dist-src/index.js deleted file mode 100644 index 53d539d..0000000 --- a/node_modules/@octokit/plugin-rest-endpoint-methods/dist-src/index.js +++ /dev/null @@ -1,18 +0,0 @@ -import ENDPOINTS from "./generated/endpoints"; -import { VERSION } from "./version"; -import { endpointsToMethods } from "./endpoints-to-methods"; -export function restEndpointMethods(octokit) { - const api = endpointsToMethods(octokit, ENDPOINTS); - return { - rest: api, - }; -} -restEndpointMethods.VERSION = VERSION; -export function legacyRestEndpointMethods(octokit) { - const api = endpointsToMethods(octokit, ENDPOINTS); - return { - ...api, - rest: api, - }; -} -legacyRestEndpointMethods.VERSION = VERSION; diff --git a/node_modules/@octokit/plugin-rest-endpoint-methods/dist-src/types.js b/node_modules/@octokit/plugin-rest-endpoint-methods/dist-src/types.js deleted file mode 100644 index cb0ff5c..0000000 --- a/node_modules/@octokit/plugin-rest-endpoint-methods/dist-src/types.js +++ /dev/null @@ -1 +0,0 @@ -export {}; diff --git a/node_modules/@octokit/plugin-rest-endpoint-methods/dist-src/version.js b/node_modules/@octokit/plugin-rest-endpoint-methods/dist-src/version.js deleted file mode 100644 index 3d363ef..0000000 --- a/node_modules/@octokit/plugin-rest-endpoint-methods/dist-src/version.js +++ /dev/null @@ -1 +0,0 @@ -export const VERSION = "5.5.2"; diff --git a/node_modules/@octokit/plugin-rest-endpoint-methods/dist-types/endpoints-to-methods.d.ts b/node_modules/@octokit/plugin-rest-endpoint-methods/dist-types/endpoints-to-methods.d.ts deleted file mode 100644 index 2a97a4b..0000000 --- a/node_modules/@octokit/plugin-rest-endpoint-methods/dist-types/endpoints-to-methods.d.ts +++ /dev/null @@ -1,4 +0,0 @@ -import { Octokit } from "@octokit/core"; -import { EndpointsDefaultsAndDecorations } from "./types"; -import { RestEndpointMethods } from "./generated/method-types"; -export declare function endpointsToMethods(octokit: Octokit, endpointsMap: EndpointsDefaultsAndDecorations): RestEndpointMethods; diff --git a/node_modules/@octokit/plugin-rest-endpoint-methods/dist-types/generated/endpoints.d.ts b/node_modules/@octokit/plugin-rest-endpoint-methods/dist-types/generated/endpoints.d.ts deleted file mode 100644 index a3c1d92..0000000 --- a/node_modules/@octokit/plugin-rest-endpoint-methods/dist-types/generated/endpoints.d.ts +++ /dev/null @@ -1,3 +0,0 @@ -import { EndpointsDefaultsAndDecorations } from "../types"; -declare const Endpoints: EndpointsDefaultsAndDecorations; -export default Endpoints; diff --git a/node_modules/@octokit/plugin-rest-endpoint-methods/dist-types/generated/method-types.d.ts b/node_modules/@octokit/plugin-rest-endpoint-methods/dist-types/generated/method-types.d.ts deleted file mode 100644 index fe49a94..0000000 --- a/node_modules/@octokit/plugin-rest-endpoint-methods/dist-types/generated/method-types.d.ts +++ /dev/null @@ -1,8026 +0,0 @@ -import { EndpointInterface, RequestInterface } from "@octokit/types"; -import { RestEndpointMethodTypes } from "./parameters-and-response-types"; -export declare type RestEndpointMethods = { - actions: { - /** - * Adds a repository to an organization secret when the `visibility` for repository access is set to `selected`. The visibility is set when you [Create or update an organization secret](https://docs.github.com/rest/reference/actions#create-or-update-an-organization-secret). You must authenticate using an access token with the `admin:org` scope to use this endpoint. GitHub Apps must have the `secrets` organization permission to use this endpoint. - */ - addSelectedRepoToOrgSecret: { - (params?: RestEndpointMethodTypes["actions"]["addSelectedRepoToOrgSecret"]["parameters"]): Promise; - defaults: RequestInterface["defaults"]; - endpoint: EndpointInterface<{ - url: string; - }>; - }; - /** - * Approves a workflow run for a pull request from a public fork of a first time contributor. For more information, see ["Approving workflow runs from public forks](https://docs.github.com/actions/managing-workflow-runs/approving-workflow-runs-from-public-forks)." - * - * You must authenticate using an access token with the `repo` scope to use this endpoint. GitHub Apps must have the `actions:write` permission to use this endpoint. - */ - approveWorkflowRun: { - (params?: RestEndpointMethodTypes["actions"]["approveWorkflowRun"]["parameters"]): Promise; - defaults: RequestInterface["defaults"]; - endpoint: EndpointInterface<{ - url: string; - }>; - }; - /** - * Cancels a workflow run using its `id`. You must authenticate using an access token with the `repo` scope to use this endpoint. GitHub Apps must have the `actions:write` permission to use this endpoint. - */ - cancelWorkflowRun: { - (params?: RestEndpointMethodTypes["actions"]["cancelWorkflowRun"]["parameters"]): Promise; - defaults: RequestInterface["defaults"]; - endpoint: EndpointInterface<{ - url: string; - }>; - }; - /** - * Creates or updates an environment secret with an encrypted value. Encrypt your secret using - * [LibSodium](https://libsodium.gitbook.io/doc/bindings_for_other_languages). You must authenticate using an access - * token with the `repo` scope to use this endpoint. GitHub Apps must have the `secrets` repository permission to use - * this endpoint. - * - * #### Example encrypting a secret using Node.js - * - * Encrypt your secret using the [tweetsodium](https://github.com/github/tweetsodium) library. - * - * ``` - * const sodium = require('tweetsodium'); - * - * const key = "base64-encoded-public-key"; - * const value = "plain-text-secret"; - * - * // Convert the message and key to Uint8Array's (Buffer implements that interface) - * const messageBytes = Buffer.from(value); - * const keyBytes = Buffer.from(key, 'base64'); - * - * // Encrypt using LibSodium. - * const encryptedBytes = sodium.seal(messageBytes, keyBytes); - * - * // Base64 the encrypted secret - * const encrypted = Buffer.from(encryptedBytes).toString('base64'); - * - * console.log(encrypted); - * ``` - * - * - * #### Example encrypting a secret using Python - * - * Encrypt your secret using [pynacl](https://pynacl.readthedocs.io/en/stable/public/#nacl-public-sealedbox) with Python 3. - * - * ``` - * from base64 import b64encode - * from nacl import encoding, public - * - * def encrypt(public_key: str, secret_value: str) -> str: - * """Encrypt a Unicode string using the public key.""" - * public_key = public.PublicKey(public_key.encode("utf-8"), encoding.Base64Encoder()) - * sealed_box = public.SealedBox(public_key) - * encrypted = sealed_box.encrypt(secret_value.encode("utf-8")) - * return b64encode(encrypted).decode("utf-8") - * ``` - * - * #### Example encrypting a secret using C# - * - * Encrypt your secret using the [Sodium.Core](https://www.nuget.org/packages/Sodium.Core/) package. - * - * ``` - * var secretValue = System.Text.Encoding.UTF8.GetBytes("mySecret"); - * var publicKey = Convert.FromBase64String("2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvvcCU="); - * - * var sealedPublicKeyBox = Sodium.SealedPublicKeyBox.Create(secretValue, publicKey); - * - * Console.WriteLine(Convert.ToBase64String(sealedPublicKeyBox)); - * ``` - * - * #### Example encrypting a secret using Ruby - * - * Encrypt your secret using the [rbnacl](https://github.com/RubyCrypto/rbnacl) gem. - * - * ```ruby - * require "rbnacl" - * require "base64" - * - * key = Base64.decode64("+ZYvJDZMHUfBkJdyq5Zm9SKqeuBQ4sj+6sfjlH4CgG0=") - * public_key = RbNaCl::PublicKey.new(key) - * - * box = RbNaCl::Boxes::Sealed.from_public_key(public_key) - * encrypted_secret = box.encrypt("my_secret") - * - * # Print the base64 encoded secret - * puts Base64.strict_encode64(encrypted_secret) - * ``` - */ - createOrUpdateEnvironmentSecret: { - (params?: RestEndpointMethodTypes["actions"]["createOrUpdateEnvironmentSecret"]["parameters"]): Promise; - defaults: RequestInterface["defaults"]; - endpoint: EndpointInterface<{ - url: string; - }>; - }; - /** - * Creates or updates an organization secret with an encrypted value. Encrypt your secret using - * [LibSodium](https://libsodium.gitbook.io/doc/bindings_for_other_languages). You must authenticate using an access - * token with the `admin:org` scope to use this endpoint. GitHub Apps must have the `secrets` organization permission to - * use this endpoint. - * - * #### Example encrypting a secret using Node.js - * - * Encrypt your secret using the [tweetsodium](https://github.com/github/tweetsodium) library. - * - * ``` - * const sodium = require('tweetsodium'); - * - * const key = "base64-encoded-public-key"; - * const value = "plain-text-secret"; - * - * // Convert the message and key to Uint8Array's (Buffer implements that interface) - * const messageBytes = Buffer.from(value); - * const keyBytes = Buffer.from(key, 'base64'); - * - * // Encrypt using LibSodium. - * const encryptedBytes = sodium.seal(messageBytes, keyBytes); - * - * // Base64 the encrypted secret - * const encrypted = Buffer.from(encryptedBytes).toString('base64'); - * - * console.log(encrypted); - * ``` - * - * - * #### Example encrypting a secret using Python - * - * Encrypt your secret using [pynacl](https://pynacl.readthedocs.io/en/stable/public/#nacl-public-sealedbox) with Python 3. - * - * ``` - * from base64 import b64encode - * from nacl import encoding, public - * - * def encrypt(public_key: str, secret_value: str) -> str: - * """Encrypt a Unicode string using the public key.""" - * public_key = public.PublicKey(public_key.encode("utf-8"), encoding.Base64Encoder()) - * sealed_box = public.SealedBox(public_key) - * encrypted = sealed_box.encrypt(secret_value.encode("utf-8")) - * return b64encode(encrypted).decode("utf-8") - * ``` - * - * #### Example encrypting a secret using C# - * - * Encrypt your secret using the [Sodium.Core](https://www.nuget.org/packages/Sodium.Core/) package. - * - * ``` - * var secretValue = System.Text.Encoding.UTF8.GetBytes("mySecret"); - * var publicKey = Convert.FromBase64String("2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvvcCU="); - * - * var sealedPublicKeyBox = Sodium.SealedPublicKeyBox.Create(secretValue, publicKey); - * - * Console.WriteLine(Convert.ToBase64String(sealedPublicKeyBox)); - * ``` - * - * #### Example encrypting a secret using Ruby - * - * Encrypt your secret using the [rbnacl](https://github.com/RubyCrypto/rbnacl) gem. - * - * ```ruby - * require "rbnacl" - * require "base64" - * - * key = Base64.decode64("+ZYvJDZMHUfBkJdyq5Zm9SKqeuBQ4sj+6sfjlH4CgG0=") - * public_key = RbNaCl::PublicKey.new(key) - * - * box = RbNaCl::Boxes::Sealed.from_public_key(public_key) - * encrypted_secret = box.encrypt("my_secret") - * - * # Print the base64 encoded secret - * puts Base64.strict_encode64(encrypted_secret) - * ``` - */ - createOrUpdateOrgSecret: { - (params?: RestEndpointMethodTypes["actions"]["createOrUpdateOrgSecret"]["parameters"]): Promise; - defaults: RequestInterface["defaults"]; - endpoint: EndpointInterface<{ - url: string; - }>; - }; - /** - * Creates or updates a repository secret with an encrypted value. Encrypt your secret using - * [LibSodium](https://libsodium.gitbook.io/doc/bindings_for_other_languages). You must authenticate using an access - * token with the `repo` scope to use this endpoint. GitHub Apps must have the `secrets` repository permission to use - * this endpoint. - * - * #### Example encrypting a secret using Node.js - * - * Encrypt your secret using the [tweetsodium](https://github.com/github/tweetsodium) library. - * - * ``` - * const sodium = require('tweetsodium'); - * - * const key = "base64-encoded-public-key"; - * const value = "plain-text-secret"; - * - * // Convert the message and key to Uint8Array's (Buffer implements that interface) - * const messageBytes = Buffer.from(value); - * const keyBytes = Buffer.from(key, 'base64'); - * - * // Encrypt using LibSodium. - * const encryptedBytes = sodium.seal(messageBytes, keyBytes); - * - * // Base64 the encrypted secret - * const encrypted = Buffer.from(encryptedBytes).toString('base64'); - * - * console.log(encrypted); - * ``` - * - * - * #### Example encrypting a secret using Python - * - * Encrypt your secret using [pynacl](https://pynacl.readthedocs.io/en/stable/public/#nacl-public-sealedbox) with Python 3. - * - * ``` - * from base64 import b64encode - * from nacl import encoding, public - * - * def encrypt(public_key: str, secret_value: str) -> str: - * """Encrypt a Unicode string using the public key.""" - * public_key = public.PublicKey(public_key.encode("utf-8"), encoding.Base64Encoder()) - * sealed_box = public.SealedBox(public_key) - * encrypted = sealed_box.encrypt(secret_value.encode("utf-8")) - * return b64encode(encrypted).decode("utf-8") - * ``` - * - * #### Example encrypting a secret using C# - * - * Encrypt your secret using the [Sodium.Core](https://www.nuget.org/packages/Sodium.Core/) package. - * - * ``` - * var secretValue = System.Text.Encoding.UTF8.GetBytes("mySecret"); - * var publicKey = Convert.FromBase64String("2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvvcCU="); - * - * var sealedPublicKeyBox = Sodium.SealedPublicKeyBox.Create(secretValue, publicKey); - * - * Console.WriteLine(Convert.ToBase64String(sealedPublicKeyBox)); - * ``` - * - * #### Example encrypting a secret using Ruby - * - * Encrypt your secret using the [rbnacl](https://github.com/RubyCrypto/rbnacl) gem. - * - * ```ruby - * require "rbnacl" - * require "base64" - * - * key = Base64.decode64("+ZYvJDZMHUfBkJdyq5Zm9SKqeuBQ4sj+6sfjlH4CgG0=") - * public_key = RbNaCl::PublicKey.new(key) - * - * box = RbNaCl::Boxes::Sealed.from_public_key(public_key) - * encrypted_secret = box.encrypt("my_secret") - * - * # Print the base64 encoded secret - * puts Base64.strict_encode64(encrypted_secret) - * ``` - */ - createOrUpdateRepoSecret: { - (params?: RestEndpointMethodTypes["actions"]["createOrUpdateRepoSecret"]["parameters"]): Promise; - defaults: RequestInterface["defaults"]; - endpoint: EndpointInterface<{ - url: string; - }>; - }; - /** - * Returns a token that you can pass to the `config` script. The token expires after one hour. - * - * You must authenticate using an access token with the `admin:org` scope to use this endpoint. - * - * #### Example using registration token - * - * Configure your self-hosted runner, replacing `TOKEN` with the registration token provided by this endpoint. - * - * ``` - * ./config.sh --url https://github.com/octo-org --token TOKEN - * ``` - */ - createRegistrationTokenForOrg: { - (params?: RestEndpointMethodTypes["actions"]["createRegistrationTokenForOrg"]["parameters"]): Promise; - defaults: RequestInterface["defaults"]; - endpoint: EndpointInterface<{ - url: string; - }>; - }; - /** - * Returns a token that you can pass to the `config` script. The token expires after one hour. You must authenticate - * using an access token with the `repo` scope to use this endpoint. - * - * #### Example using registration token - * - * Configure your self-hosted runner, replacing `TOKEN` with the registration token provided by this endpoint. - * - * ``` - * ./config.sh --url https://github.com/octo-org/octo-repo-artifacts --token TOKEN - * ``` - */ - createRegistrationTokenForRepo: { - (params?: RestEndpointMethodTypes["actions"]["createRegistrationTokenForRepo"]["parameters"]): Promise; - defaults: RequestInterface["defaults"]; - endpoint: EndpointInterface<{ - url: string; - }>; - }; - /** - * Returns a token that you can pass to the `config` script to remove a self-hosted runner from an organization. The token expires after one hour. - * - * You must authenticate using an access token with the `admin:org` scope to use this endpoint. - * - * #### Example using remove token - * - * To remove your self-hosted runner from an organization, replace `TOKEN` with the remove token provided by this - * endpoint. - * - * ``` - * ./config.sh remove --token TOKEN - * ``` - */ - createRemoveTokenForOrg: { - (params?: RestEndpointMethodTypes["actions"]["createRemoveTokenForOrg"]["parameters"]): Promise; - defaults: RequestInterface["defaults"]; - endpoint: EndpointInterface<{ - url: string; - }>; - }; - /** - * Returns a token that you can pass to remove a self-hosted runner from a repository. The token expires after one hour. - * You must authenticate using an access token with the `repo` scope to use this endpoint. - * - * #### Example using remove token - * - * To remove your self-hosted runner from a repository, replace TOKEN with the remove token provided by this endpoint. - * - * ``` - * ./config.sh remove --token TOKEN - * ``` - */ - createRemoveTokenForRepo: { - (params?: RestEndpointMethodTypes["actions"]["createRemoveTokenForRepo"]["parameters"]): Promise; - defaults: RequestInterface["defaults"]; - endpoint: EndpointInterface<{ - url: string; - }>; - }; - /** - * You can use this endpoint to manually trigger a GitHub Actions workflow run. You can replace `workflow_id` with the workflow file name. For example, you could use `main.yaml`. - * - * You must configure your GitHub Actions workflow to run when the [`workflow_dispatch` webhook](/developers/webhooks-and-events/webhook-events-and-payloads#workflow_dispatch) event occurs. The `inputs` are configured in the workflow file. For more information about how to configure the `workflow_dispatch` event in the workflow file, see "[Events that trigger workflows](/actions/reference/events-that-trigger-workflows#workflow_dispatch)." - * - * You must authenticate using an access token with the `repo` scope to use this endpoint. GitHub Apps must have the `actions:write` permission to use this endpoint. For more information, see "[Creating a personal access token for the command line](https://help.github.com/articles/creating-a-personal-access-token-for-the-command-line)." - */ - createWorkflowDispatch: { - (params?: RestEndpointMethodTypes["actions"]["createWorkflowDispatch"]["parameters"]): Promise; - defaults: RequestInterface["defaults"]; - endpoint: EndpointInterface<{ - url: string; - }>; - }; - /** - * Deletes an artifact for a workflow run. You must authenticate using an access token with the `repo` scope to use this endpoint. GitHub Apps must have the `actions:write` permission to use this endpoint. - */ - deleteArtifact: { - (params?: RestEndpointMethodTypes["actions"]["deleteArtifact"]["parameters"]): Promise; - defaults: RequestInterface["defaults"]; - endpoint: EndpointInterface<{ - url: string; - }>; - }; - /** - * Deletes a secret in an environment using the secret name. You must authenticate using an access token with the `repo` scope to use this endpoint. GitHub Apps must have the `secrets` repository permission to use this endpoint. - */ - deleteEnvironmentSecret: { - (params?: RestEndpointMethodTypes["actions"]["deleteEnvironmentSecret"]["parameters"]): Promise; - defaults: RequestInterface["defaults"]; - endpoint: EndpointInterface<{ - url: string; - }>; - }; - /** - * Deletes a secret in an organization using the secret name. You must authenticate using an access token with the `admin:org` scope to use this endpoint. GitHub Apps must have the `secrets` organization permission to use this endpoint. - */ - deleteOrgSecret: { - (params?: RestEndpointMethodTypes["actions"]["deleteOrgSecret"]["parameters"]): Promise; - defaults: RequestInterface["defaults"]; - endpoint: EndpointInterface<{ - url: string; - }>; - }; - /** - * Deletes a secret in a repository using the secret name. You must authenticate using an access token with the `repo` scope to use this endpoint. GitHub Apps must have the `secrets` repository permission to use this endpoint. - */ - deleteRepoSecret: { - (params?: RestEndpointMethodTypes["actions"]["deleteRepoSecret"]["parameters"]): Promise; - defaults: RequestInterface["defaults"]; - endpoint: EndpointInterface<{ - url: string; - }>; - }; - /** - * Forces the removal of a self-hosted runner from an organization. You can use this endpoint to completely remove the runner when the machine you were using no longer exists. - * - * You must authenticate using an access token with the `admin:org` scope to use this endpoint. - */ - deleteSelfHostedRunnerFromOrg: { - (params?: RestEndpointMethodTypes["actions"]["deleteSelfHostedRunnerFromOrg"]["parameters"]): Promise; - defaults: RequestInterface["defaults"]; - endpoint: EndpointInterface<{ - url: string; - }>; - }; - /** - * Forces the removal of a self-hosted runner from a repository. You can use this endpoint to completely remove the runner when the machine you were using no longer exists. - * - * You must authenticate using an access token with the `repo` - * scope to use this endpoint. - */ - deleteSelfHostedRunnerFromRepo: { - (params?: RestEndpointMethodTypes["actions"]["deleteSelfHostedRunnerFromRepo"]["parameters"]): Promise; - defaults: RequestInterface["defaults"]; - endpoint: EndpointInterface<{ - url: string; - }>; - }; - /** - * Delete a specific workflow run. Anyone with write access to the repository can use this endpoint. If the repository is - * private you must use an access token with the `repo` scope. GitHub Apps must have the `actions:write` permission to use - * this endpoint. - */ - deleteWorkflowRun: { - (params?: RestEndpointMethodTypes["actions"]["deleteWorkflowRun"]["parameters"]): Promise; - defaults: RequestInterface["defaults"]; - endpoint: EndpointInterface<{ - url: string; - }>; - }; - /** - * Deletes all logs for a workflow run. You must authenticate using an access token with the `repo` scope to use this endpoint. GitHub Apps must have the `actions:write` permission to use this endpoint. - */ - deleteWorkflowRunLogs: { - (params?: RestEndpointMethodTypes["actions"]["deleteWorkflowRunLogs"]["parameters"]): Promise; - defaults: RequestInterface["defaults"]; - endpoint: EndpointInterface<{ - url: string; - }>; - }; - /** - * Removes a repository from the list of selected repositories that are enabled for GitHub Actions in an organization. To use this endpoint, the organization permission policy for `enabled_repositories` must be configured to `selected`. For more information, see "[Set GitHub Actions permissions for an organization](#set-github-actions-permissions-for-an-organization)." - * - * You must authenticate using an access token with the `admin:org` scope to use this endpoint. GitHub Apps must have the `administration` organization permission to use this API. - */ - disableSelectedRepositoryGithubActionsOrganization: { - (params?: RestEndpointMethodTypes["actions"]["disableSelectedRepositoryGithubActionsOrganization"]["parameters"]): Promise; - defaults: RequestInterface["defaults"]; - endpoint: EndpointInterface<{ - url: string; - }>; - }; - /** - * Disables a workflow and sets the `state` of the workflow to `disabled_manually`. You can replace `workflow_id` with the workflow file name. For example, you could use `main.yaml`. - * - * You must authenticate using an access token with the `repo` scope to use this endpoint. GitHub Apps must have the `actions:write` permission to use this endpoint. - */ - disableWorkflow: { - (params?: RestEndpointMethodTypes["actions"]["disableWorkflow"]["parameters"]): Promise; - defaults: RequestInterface["defaults"]; - endpoint: EndpointInterface<{ - url: string; - }>; - }; - /** - * Gets a redirect URL to download an archive for a repository. This URL expires after 1 minute. Look for `Location:` in - * the response header to find the URL for the download. The `:archive_format` must be `zip`. Anyone with read access to - * the repository can use this endpoint. If the repository is private you must use an access token with the `repo` scope. - * GitHub Apps must have the `actions:read` permission to use this endpoint. - */ - downloadArtifact: { - (params?: RestEndpointMethodTypes["actions"]["downloadArtifact"]["parameters"]): Promise; - defaults: RequestInterface["defaults"]; - endpoint: EndpointInterface<{ - url: string; - }>; - }; - /** - * Gets a redirect URL to download a plain text file of logs for a workflow job. This link expires after 1 minute. Look - * for `Location:` in the response header to find the URL for the download. Anyone with read access to the repository can - * use this endpoint. If the repository is private you must use an access token with the `repo` scope. GitHub Apps must - * have the `actions:read` permission to use this endpoint. - */ - downloadJobLogsForWorkflowRun: { - (params?: RestEndpointMethodTypes["actions"]["downloadJobLogsForWorkflowRun"]["parameters"]): Promise; - defaults: RequestInterface["defaults"]; - endpoint: EndpointInterface<{ - url: string; - }>; - }; - /** - * Gets a redirect URL to download an archive of log files for a workflow run. This link expires after 1 minute. Look for - * `Location:` in the response header to find the URL for the download. Anyone with read access to the repository can use - * this endpoint. If the repository is private you must use an access token with the `repo` scope. GitHub Apps must have - * the `actions:read` permission to use this endpoint. - */ - downloadWorkflowRunLogs: { - (params?: RestEndpointMethodTypes["actions"]["downloadWorkflowRunLogs"]["parameters"]): Promise; - defaults: RequestInterface["defaults"]; - endpoint: EndpointInterface<{ - url: string; - }>; - }; - /** - * Adds a repository to the list of selected repositories that are enabled for GitHub Actions in an organization. To use this endpoint, the organization permission policy for `enabled_repositories` must be must be configured to `selected`. For more information, see "[Set GitHub Actions permissions for an organization](#set-github-actions-permissions-for-an-organization)." - * - * You must authenticate using an access token with the `admin:org` scope to use this endpoint. GitHub Apps must have the `administration` organization permission to use this API. - */ - enableSelectedRepositoryGithubActionsOrganization: { - (params?: RestEndpointMethodTypes["actions"]["enableSelectedRepositoryGithubActionsOrganization"]["parameters"]): Promise; - defaults: RequestInterface["defaults"]; - endpoint: EndpointInterface<{ - url: string; - }>; - }; - /** - * Enables a workflow and sets the `state` of the workflow to `active`. You can replace `workflow_id` with the workflow file name. For example, you could use `main.yaml`. - * - * You must authenticate using an access token with the `repo` scope to use this endpoint. GitHub Apps must have the `actions:write` permission to use this endpoint. - */ - enableWorkflow: { - (params?: RestEndpointMethodTypes["actions"]["enableWorkflow"]["parameters"]): Promise; - defaults: RequestInterface["defaults"]; - endpoint: EndpointInterface<{ - url: string; - }>; - }; - /** - * Gets the selected actions that are allowed in an organization. To use this endpoint, the organization permission policy for `allowed_actions` must be configured to `selected`. For more information, see "[Set GitHub Actions permissions for an organization](#set-github-actions-permissions-for-an-organization)."" - * - * You must authenticate using an access token with the `admin:org` scope to use this endpoint. GitHub Apps must have the `administration` organization permission to use this API. - */ - getAllowedActionsOrganization: { - (params?: RestEndpointMethodTypes["actions"]["getAllowedActionsOrganization"]["parameters"]): Promise; - defaults: RequestInterface["defaults"]; - endpoint: EndpointInterface<{ - url: string; - }>; - }; - /** - * Gets the settings for selected actions that are allowed in a repository. To use this endpoint, the repository policy for `allowed_actions` must be configured to `selected`. For more information, see "[Set GitHub Actions permissions for a repository](#set-github-actions-permissions-for-a-repository)." - * - * You must authenticate using an access token with the `repo` scope to use this endpoint. GitHub Apps must have the `administration` repository permission to use this API. - */ - getAllowedActionsRepository: { - (params?: RestEndpointMethodTypes["actions"]["getAllowedActionsRepository"]["parameters"]): Promise; - defaults: RequestInterface["defaults"]; - endpoint: EndpointInterface<{ - url: string; - }>; - }; - /** - * Gets a specific artifact for a workflow run. Anyone with read access to the repository can use this endpoint. If the repository is private you must use an access token with the `repo` scope. GitHub Apps must have the `actions:read` permission to use this endpoint. - */ - getArtifact: { - (params?: RestEndpointMethodTypes["actions"]["getArtifact"]["parameters"]): Promise; - defaults: RequestInterface["defaults"]; - endpoint: EndpointInterface<{ - url: string; - }>; - }; - /** - * Get the public key for an environment, which you need to encrypt environment secrets. You need to encrypt a secret before you can create or update secrets. Anyone with read access to the repository can use this endpoint. If the repository is private you must use an access token with the `repo` scope. GitHub Apps must have the `secrets` repository permission to use this endpoint. - */ - getEnvironmentPublicKey: { - (params?: RestEndpointMethodTypes["actions"]["getEnvironmentPublicKey"]["parameters"]): Promise; - defaults: RequestInterface["defaults"]; - endpoint: EndpointInterface<{ - url: string; - }>; - }; - /** - * Gets a single environment secret without revealing its encrypted value. You must authenticate using an access token with the `repo` scope to use this endpoint. GitHub Apps must have the `secrets` repository permission to use this endpoint. - */ - getEnvironmentSecret: { - (params?: RestEndpointMethodTypes["actions"]["getEnvironmentSecret"]["parameters"]): Promise; - defaults: RequestInterface["defaults"]; - endpoint: EndpointInterface<{ - url: string; - }>; - }; - /** - * Gets the GitHub Actions permissions policy for repositories and allowed actions in an organization. - * - * You must authenticate using an access token with the `admin:org` scope to use this endpoint. GitHub Apps must have the `administration` organization permission to use this API. - */ - getGithubActionsPermissionsOrganization: { - (params?: RestEndpointMethodTypes["actions"]["getGithubActionsPermissionsOrganization"]["parameters"]): Promise; - defaults: RequestInterface["defaults"]; - endpoint: EndpointInterface<{ - url: string; - }>; - }; - /** - * Gets the GitHub Actions permissions policy for a repository, including whether GitHub Actions is enabled and the actions allowed to run in the repository. - * - * You must authenticate using an access token with the `repo` scope to use this - * endpoint. GitHub Apps must have the `administration` repository permission to use this API. - */ - getGithubActionsPermissionsRepository: { - (params?: RestEndpointMethodTypes["actions"]["getGithubActionsPermissionsRepository"]["parameters"]): Promise; - defaults: RequestInterface["defaults"]; - endpoint: EndpointInterface<{ - url: string; - }>; - }; - /** - * Gets a specific job in a workflow run. Anyone with read access to the repository can use this endpoint. If the repository is private you must use an access token with the `repo` scope. GitHub Apps must have the `actions:read` permission to use this endpoint. - */ - getJobForWorkflowRun: { - (params?: RestEndpointMethodTypes["actions"]["getJobForWorkflowRun"]["parameters"]): Promise; - defaults: RequestInterface["defaults"]; - endpoint: EndpointInterface<{ - url: string; - }>; - }; - /** - * Gets your public key, which you need to encrypt secrets. You need to encrypt a secret before you can create or update secrets. You must authenticate using an access token with the `admin:org` scope to use this endpoint. GitHub Apps must have the `secrets` organization permission to use this endpoint. - */ - getOrgPublicKey: { - (params?: RestEndpointMethodTypes["actions"]["getOrgPublicKey"]["parameters"]): Promise; - defaults: RequestInterface["defaults"]; - endpoint: EndpointInterface<{ - url: string; - }>; - }; - /** - * Gets a single organization secret without revealing its encrypted value. You must authenticate using an access token with the `admin:org` scope to use this endpoint. GitHub Apps must have the `secrets` organization permission to use this endpoint. - */ - getOrgSecret: { - (params?: RestEndpointMethodTypes["actions"]["getOrgSecret"]["parameters"]): Promise; - defaults: RequestInterface["defaults"]; - endpoint: EndpointInterface<{ - url: string; - }>; - }; - /** - * Get all deployment environments for a workflow run that are waiting for protection rules to pass. - * - * Anyone with read access to the repository can use this endpoint. If the repository is private, you must use an access token with the `repo` scope. GitHub Apps must have the `actions:read` permission to use this endpoint. - */ - getPendingDeploymentsForRun: { - (params?: RestEndpointMethodTypes["actions"]["getPendingDeploymentsForRun"]["parameters"]): Promise; - defaults: RequestInterface["defaults"]; - endpoint: EndpointInterface<{ - url: string; - }>; - }; - /** - * Gets the GitHub Actions permissions policy for a repository, including whether GitHub Actions is enabled and the actions allowed to run in the repository. - * - * You must authenticate using an access token with the `repo` scope to use this - * endpoint. GitHub Apps must have the `administration` repository permission to use this API. - * @deprecated octokit.rest.actions.getRepoPermissions() has been renamed to octokit.rest.actions.getGithubActionsPermissionsRepository() (2020-11-10) - */ - getRepoPermissions: { - (params?: RestEndpointMethodTypes["actions"]["getRepoPermissions"]["parameters"]): Promise; - defaults: RequestInterface["defaults"]; - endpoint: EndpointInterface<{ - url: string; - }>; - }; - /** - * Gets your public key, which you need to encrypt secrets. You need to encrypt a secret before you can create or update secrets. Anyone with read access to the repository can use this endpoint. If the repository is private you must use an access token with the `repo` scope. GitHub Apps must have the `secrets` repository permission to use this endpoint. - */ - getRepoPublicKey: { - (params?: RestEndpointMethodTypes["actions"]["getRepoPublicKey"]["parameters"]): Promise; - defaults: RequestInterface["defaults"]; - endpoint: EndpointInterface<{ - url: string; - }>; - }; - /** - * Gets a single repository secret without revealing its encrypted value. You must authenticate using an access token with the `repo` scope to use this endpoint. GitHub Apps must have the `secrets` repository permission to use this endpoint. - */ - getRepoSecret: { - (params?: RestEndpointMethodTypes["actions"]["getRepoSecret"]["parameters"]): Promise; - defaults: RequestInterface["defaults"]; - endpoint: EndpointInterface<{ - url: string; - }>; - }; - /** - * Anyone with read access to the repository can use this endpoint. If the repository is private, you must use an access token with the `repo` scope. GitHub Apps must have the `actions:read` permission to use this endpoint. - */ - getReviewsForRun: { - (params?: RestEndpointMethodTypes["actions"]["getReviewsForRun"]["parameters"]): Promise; - defaults: RequestInterface["defaults"]; - endpoint: EndpointInterface<{ - url: string; - }>; - }; - /** - * Gets a specific self-hosted runner configured in an organization. - * - * You must authenticate using an access token with the `admin:org` scope to use this endpoint. - */ - getSelfHostedRunnerForOrg: { - (params?: RestEndpointMethodTypes["actions"]["getSelfHostedRunnerForOrg"]["parameters"]): Promise; - defaults: RequestInterface["defaults"]; - endpoint: EndpointInterface<{ - url: string; - }>; - }; - /** - * Gets a specific self-hosted runner configured in a repository. - * - * You must authenticate using an access token with the `repo` scope to use this - * endpoint. - */ - getSelfHostedRunnerForRepo: { - (params?: RestEndpointMethodTypes["actions"]["getSelfHostedRunnerForRepo"]["parameters"]): Promise; - defaults: RequestInterface["defaults"]; - endpoint: EndpointInterface<{ - url: string; - }>; - }; - /** - * Gets a specific workflow. You can replace `workflow_id` with the workflow file name. For example, you could use `main.yaml`. Anyone with read access to the repository can use this endpoint. If the repository is private you must use an access token with the `repo` scope. GitHub Apps must have the `actions:read` permission to use this endpoint. - */ - getWorkflow: { - (params?: RestEndpointMethodTypes["actions"]["getWorkflow"]["parameters"]): Promise; - defaults: RequestInterface["defaults"]; - endpoint: EndpointInterface<{ - url: string; - }>; - }; - /** - * Gets a specific workflow run. Anyone with read access to the repository can use this endpoint. If the repository is private you must use an access token with the `repo` scope. GitHub Apps must have the `actions:read` permission to use this endpoint. - */ - getWorkflowRun: { - (params?: RestEndpointMethodTypes["actions"]["getWorkflowRun"]["parameters"]): Promise; - defaults: RequestInterface["defaults"]; - endpoint: EndpointInterface<{ - url: string; - }>; - }; - /** - * Gets the number of billable minutes and total run time for a specific workflow run. Billable minutes only apply to workflows in private repositories that use GitHub-hosted runners. Usage is listed for each GitHub-hosted runner operating system in milliseconds. Any job re-runs are also included in the usage. The usage does not include the multiplier for macOS and Windows runners and is not rounded up to the nearest whole minute. For more information, see "[Managing billing for GitHub Actions](https://help.github.com/github/setting-up-and-managing-billing-and-payments-on-github/managing-billing-for-github-actions)". - * - * Anyone with read access to the repository can use this endpoint. If the repository is private you must use an access token with the `repo` scope. GitHub Apps must have the `actions:read` permission to use this endpoint. - */ - getWorkflowRunUsage: { - (params?: RestEndpointMethodTypes["actions"]["getWorkflowRunUsage"]["parameters"]): Promise; - defaults: RequestInterface["defaults"]; - endpoint: EndpointInterface<{ - url: string; - }>; - }; - /** - * Gets the number of billable minutes used by a specific workflow during the current billing cycle. Billable minutes only apply to workflows in private repositories that use GitHub-hosted runners. Usage is listed for each GitHub-hosted runner operating system in milliseconds. Any job re-runs are also included in the usage. The usage does not include the multiplier for macOS and Windows runners and is not rounded up to the nearest whole minute. For more information, see "[Managing billing for GitHub Actions](https://help.github.com/github/setting-up-and-managing-billing-and-payments-on-github/managing-billing-for-github-actions)". - * - * You can replace `workflow_id` with the workflow file name. For example, you could use `main.yaml`. Anyone with read access to the repository can use this endpoint. If the repository is private you must use an access token with the `repo` scope. GitHub Apps must have the `actions:read` permission to use this endpoint. - */ - getWorkflowUsage: { - (params?: RestEndpointMethodTypes["actions"]["getWorkflowUsage"]["parameters"]): Promise; - defaults: RequestInterface["defaults"]; - endpoint: EndpointInterface<{ - url: string; - }>; - }; - /** - * Lists all artifacts for a repository. Anyone with read access to the repository can use this endpoint. If the repository is private you must use an access token with the `repo` scope. GitHub Apps must have the `actions:read` permission to use this endpoint. - */ - listArtifactsForRepo: { - (params?: RestEndpointMethodTypes["actions"]["listArtifactsForRepo"]["parameters"]): Promise; - defaults: RequestInterface["defaults"]; - endpoint: EndpointInterface<{ - url: string; - }>; - }; - /** - * Lists all secrets available in an environment without revealing their encrypted values. You must authenticate using an access token with the `repo` scope to use this endpoint. GitHub Apps must have the `secrets` repository permission to use this endpoint. - */ - listEnvironmentSecrets: { - (params?: RestEndpointMethodTypes["actions"]["listEnvironmentSecrets"]["parameters"]): Promise; - defaults: RequestInterface["defaults"]; - endpoint: EndpointInterface<{ - url: string; - }>; - }; - /** - * Lists jobs for a workflow run. Anyone with read access to the repository can use this endpoint. If the repository is private you must use an access token with the `repo` scope. GitHub Apps must have the `actions:read` permission to use this endpoint. You can use parameters to narrow the list of results. For more information about using parameters, see [Parameters](https://docs.github.com/rest/overview/resources-in-the-rest-api#parameters). - */ - listJobsForWorkflowRun: { - (params?: RestEndpointMethodTypes["actions"]["listJobsForWorkflowRun"]["parameters"]): Promise; - defaults: RequestInterface["defaults"]; - endpoint: EndpointInterface<{ - url: string; - }>; - }; - /** - * Lists all secrets available in an organization without revealing their encrypted values. You must authenticate using an access token with the `admin:org` scope to use this endpoint. GitHub Apps must have the `secrets` organization permission to use this endpoint. - */ - listOrgSecrets: { - (params?: RestEndpointMethodTypes["actions"]["listOrgSecrets"]["parameters"]): Promise; - defaults: RequestInterface["defaults"]; - endpoint: EndpointInterface<{ - url: string; - }>; - }; - /** - * Lists all secrets available in a repository without revealing their encrypted values. You must authenticate using an access token with the `repo` scope to use this endpoint. GitHub Apps must have the `secrets` repository permission to use this endpoint. - */ - listRepoSecrets: { - (params?: RestEndpointMethodTypes["actions"]["listRepoSecrets"]["parameters"]): Promise; - defaults: RequestInterface["defaults"]; - endpoint: EndpointInterface<{ - url: string; - }>; - }; - /** - * Lists the workflows in a repository. Anyone with read access to the repository can use this endpoint. If the repository is private you must use an access token with the `repo` scope. GitHub Apps must have the `actions:read` permission to use this endpoint. - */ - listRepoWorkflows: { - (params?: RestEndpointMethodTypes["actions"]["listRepoWorkflows"]["parameters"]): Promise; - defaults: RequestInterface["defaults"]; - endpoint: EndpointInterface<{ - url: string; - }>; - }; - /** - * Lists binaries for the runner application that you can download and run. - * - * You must authenticate using an access token with the `admin:org` scope to use this endpoint. - */ - listRunnerApplicationsForOrg: { - (params?: RestEndpointMethodTypes["actions"]["listRunnerApplicationsForOrg"]["parameters"]): Promise; - defaults: RequestInterface["defaults"]; - endpoint: EndpointInterface<{ - url: string; - }>; - }; - /** - * Lists binaries for the runner application that you can download and run. - * - * You must authenticate using an access token with the `repo` scope to use this endpoint. - */ - listRunnerApplicationsForRepo: { - (params?: RestEndpointMethodTypes["actions"]["listRunnerApplicationsForRepo"]["parameters"]): Promise; - defaults: RequestInterface["defaults"]; - endpoint: EndpointInterface<{ - url: string; - }>; - }; - /** - * Lists all repositories that have been selected when the `visibility` for repository access to a secret is set to `selected`. You must authenticate using an access token with the `admin:org` scope to use this endpoint. GitHub Apps must have the `secrets` organization permission to use this endpoint. - */ - listSelectedReposForOrgSecret: { - (params?: RestEndpointMethodTypes["actions"]["listSelectedReposForOrgSecret"]["parameters"]): Promise; - defaults: RequestInterface["defaults"]; - endpoint: EndpointInterface<{ - url: string; - }>; - }; - /** - * Lists the selected repositories that are enabled for GitHub Actions in an organization. To use this endpoint, the organization permission policy for `enabled_repositories` must be configured to `selected`. For more information, see "[Set GitHub Actions permissions for an organization](#set-github-actions-permissions-for-an-organization)." - * - * You must authenticate using an access token with the `admin:org` scope to use this endpoint. GitHub Apps must have the `administration` organization permission to use this API. - */ - listSelectedRepositoriesEnabledGithubActionsOrganization: { - (params?: RestEndpointMethodTypes["actions"]["listSelectedRepositoriesEnabledGithubActionsOrganization"]["parameters"]): Promise; - defaults: RequestInterface["defaults"]; - endpoint: EndpointInterface<{ - url: string; - }>; - }; - /** - * Lists all self-hosted runners configured in an organization. - * - * You must authenticate using an access token with the `admin:org` scope to use this endpoint. - */ - listSelfHostedRunnersForOrg: { - (params?: RestEndpointMethodTypes["actions"]["listSelfHostedRunnersForOrg"]["parameters"]): Promise; - defaults: RequestInterface["defaults"]; - endpoint: EndpointInterface<{ - url: string; - }>; - }; - /** - * Lists all self-hosted runners configured in a repository. You must authenticate using an access token with the `repo` scope to use this endpoint. - */ - listSelfHostedRunnersForRepo: { - (params?: RestEndpointMethodTypes["actions"]["listSelfHostedRunnersForRepo"]["parameters"]): Promise; - defaults: RequestInterface["defaults"]; - endpoint: EndpointInterface<{ - url: string; - }>; - }; - /** - * Lists artifacts for a workflow run. Anyone with read access to the repository can use this endpoint. If the repository is private you must use an access token with the `repo` scope. GitHub Apps must have the `actions:read` permission to use this endpoint. - */ - listWorkflowRunArtifacts: { - (params?: RestEndpointMethodTypes["actions"]["listWorkflowRunArtifacts"]["parameters"]): Promise; - defaults: RequestInterface["defaults"]; - endpoint: EndpointInterface<{ - url: string; - }>; - }; - /** - * List all workflow runs for a workflow. You can replace `workflow_id` with the workflow file name. For example, you could use `main.yaml`. You can use parameters to narrow the list of results. For more information about using parameters, see [Parameters](https://docs.github.com/rest/overview/resources-in-the-rest-api#parameters). - * - * Anyone with read access to the repository can use this endpoint. If the repository is private you must use an access token with the `repo` scope. - */ - listWorkflowRuns: { - (params?: RestEndpointMethodTypes["actions"]["listWorkflowRuns"]["parameters"]): Promise; - defaults: RequestInterface["defaults"]; - endpoint: EndpointInterface<{ - url: string; - }>; - }; - /** - * Lists all workflow runs for a repository. You can use parameters to narrow the list of results. For more information about using parameters, see [Parameters](https://docs.github.com/rest/overview/resources-in-the-rest-api#parameters). - * - * Anyone with read access to the repository can use this endpoint. If the repository is private you must use an access token with the `repo` scope. GitHub Apps must have the `actions:read` permission to use this endpoint. - */ - listWorkflowRunsForRepo: { - (params?: RestEndpointMethodTypes["actions"]["listWorkflowRunsForRepo"]["parameters"]): Promise; - defaults: RequestInterface["defaults"]; - endpoint: EndpointInterface<{ - url: string; - }>; - }; - /** - * Re-runs your workflow run using its `id`. You must authenticate using an access token with the `repo` scope to use this endpoint. GitHub Apps must have the `actions:write` permission to use this endpoint. - */ - reRunWorkflow: { - (params?: RestEndpointMethodTypes["actions"]["reRunWorkflow"]["parameters"]): Promise; - defaults: RequestInterface["defaults"]; - endpoint: EndpointInterface<{ - url: string; - }>; - }; - /** - * Removes a repository from an organization secret when the `visibility` for repository access is set to `selected`. The visibility is set when you [Create or update an organization secret](https://docs.github.com/rest/reference/actions#create-or-update-an-organization-secret). You must authenticate using an access token with the `admin:org` scope to use this endpoint. GitHub Apps must have the `secrets` organization permission to use this endpoint. - */ - removeSelectedRepoFromOrgSecret: { - (params?: RestEndpointMethodTypes["actions"]["removeSelectedRepoFromOrgSecret"]["parameters"]): Promise; - defaults: RequestInterface["defaults"]; - endpoint: EndpointInterface<{ - url: string; - }>; - }; - /** - * Approve or reject pending deployments that are waiting on approval by a required reviewer. - * - * Anyone with read access to the repository contents and deployments can use this endpoint. - */ - reviewPendingDeploymentsForRun: { - (params?: RestEndpointMethodTypes["actions"]["reviewPendingDeploymentsForRun"]["parameters"]): Promise; - defaults: RequestInterface["defaults"]; - endpoint: EndpointInterface<{ - url: string; - }>; - }; - /** - * Sets the actions that are allowed in an organization. To use this endpoint, the organization permission policy for `allowed_actions` must be configured to `selected`. For more information, see "[Set GitHub Actions permissions for an organization](#set-github-actions-permissions-for-an-organization)." - * - * If the organization belongs to an enterprise that has `selected` actions set at the enterprise level, then you cannot override any of the enterprise's allowed actions settings. - * - * To use the `patterns_allowed` setting for private repositories, the organization must belong to an enterprise. If the organization does not belong to an enterprise, then the `patterns_allowed` setting only applies to public repositories in the organization. - * - * You must authenticate using an access token with the `admin:org` scope to use this endpoint. GitHub Apps must have the `administration` organization permission to use this API. - */ - setAllowedActionsOrganization: { - (params?: RestEndpointMethodTypes["actions"]["setAllowedActionsOrganization"]["parameters"]): Promise; - defaults: RequestInterface["defaults"]; - endpoint: EndpointInterface<{ - url: string; - }>; - }; - /** - * Sets the actions that are allowed in a repository. To use this endpoint, the repository permission policy for `allowed_actions` must be configured to `selected`. For more information, see "[Set GitHub Actions permissions for a repository](#set-github-actions-permissions-for-a-repository)." - * - * If the repository belongs to an organization or enterprise that has `selected` actions set at the organization or enterprise levels, then you cannot override any of the allowed actions settings. - * - * To use the `patterns_allowed` setting for private repositories, the repository must belong to an enterprise. If the repository does not belong to an enterprise, then the `patterns_allowed` setting only applies to public repositories. - * - * You must authenticate using an access token with the `repo` scope to use this endpoint. GitHub Apps must have the `administration` repository permission to use this API. - */ - setAllowedActionsRepository: { - (params?: RestEndpointMethodTypes["actions"]["setAllowedActionsRepository"]["parameters"]): Promise; - defaults: RequestInterface["defaults"]; - endpoint: EndpointInterface<{ - url: string; - }>; - }; - /** - * Sets the GitHub Actions permissions policy for repositories and allowed actions in an organization. - * - * If the organization belongs to an enterprise that has set restrictive permissions at the enterprise level, such as `allowed_actions` to `selected` actions, then you cannot override them for the organization. - * - * You must authenticate using an access token with the `admin:org` scope to use this endpoint. GitHub Apps must have the `administration` organization permission to use this API. - */ - setGithubActionsPermissionsOrganization: { - (params?: RestEndpointMethodTypes["actions"]["setGithubActionsPermissionsOrganization"]["parameters"]): Promise; - defaults: RequestInterface["defaults"]; - endpoint: EndpointInterface<{ - url: string; - }>; - }; - /** - * Sets the GitHub Actions permissions policy for enabling GitHub Actions and allowed actions in the repository. - * - * If the repository belongs to an organization or enterprise that has set restrictive permissions at the organization or enterprise levels, such as `allowed_actions` to `selected` actions, then you cannot override them for the repository. - * - * You must authenticate using an access token with the `repo` scope to use this endpoint. GitHub Apps must have the `administration` repository permission to use this API. - */ - setGithubActionsPermissionsRepository: { - (params?: RestEndpointMethodTypes["actions"]["setGithubActionsPermissionsRepository"]["parameters"]): Promise; - defaults: RequestInterface["defaults"]; - endpoint: EndpointInterface<{ - url: string; - }>; - }; - /** - * Replaces all repositories for an organization secret when the `visibility` for repository access is set to `selected`. The visibility is set when you [Create or update an organization secret](https://docs.github.com/rest/reference/actions#create-or-update-an-organization-secret). You must authenticate using an access token with the `admin:org` scope to use this endpoint. GitHub Apps must have the `secrets` organization permission to use this endpoint. - */ - setSelectedReposForOrgSecret: { - (params?: RestEndpointMethodTypes["actions"]["setSelectedReposForOrgSecret"]["parameters"]): Promise; - defaults: RequestInterface["defaults"]; - endpoint: EndpointInterface<{ - url: string; - }>; - }; - /** - * Replaces the list of selected repositories that are enabled for GitHub Actions in an organization. To use this endpoint, the organization permission policy for `enabled_repositories` must be configured to `selected`. For more information, see "[Set GitHub Actions permissions for an organization](#set-github-actions-permissions-for-an-organization)." - * - * You must authenticate using an access token with the `admin:org` scope to use this endpoint. GitHub Apps must have the `administration` organization permission to use this API. - */ - setSelectedRepositoriesEnabledGithubActionsOrganization: { - (params?: RestEndpointMethodTypes["actions"]["setSelectedRepositoriesEnabledGithubActionsOrganization"]["parameters"]): Promise; - defaults: RequestInterface["defaults"]; - endpoint: EndpointInterface<{ - url: string; - }>; - }; - }; - activity: { - checkRepoIsStarredByAuthenticatedUser: { - (params?: RestEndpointMethodTypes["activity"]["checkRepoIsStarredByAuthenticatedUser"]["parameters"]): Promise; - defaults: RequestInterface["defaults"]; - endpoint: EndpointInterface<{ - url: string; - }>; - }; - /** - * This endpoint should only be used to stop watching a repository. To control whether or not you wish to receive notifications from a repository, [set the repository's subscription manually](https://docs.github.com/rest/reference/activity#set-a-repository-subscription). - */ - deleteRepoSubscription: { - (params?: RestEndpointMethodTypes["activity"]["deleteRepoSubscription"]["parameters"]): Promise; - defaults: RequestInterface["defaults"]; - endpoint: EndpointInterface<{ - url: string; - }>; - }; - /** - * Mutes all future notifications for a conversation until you comment on the thread or get an **@mention**. If you are watching the repository of the thread, you will still receive notifications. To ignore future notifications for a repository you are watching, use the [Set a thread subscription](https://docs.github.com/rest/reference/activity#set-a-thread-subscription) endpoint and set `ignore` to `true`. - */ - deleteThreadSubscription: { - (params?: RestEndpointMethodTypes["activity"]["deleteThreadSubscription"]["parameters"]): Promise; - defaults: RequestInterface["defaults"]; - endpoint: EndpointInterface<{ - url: string; - }>; - }; - /** - * GitHub provides several timeline resources in [Atom](http://en.wikipedia.org/wiki/Atom_(standard)) format. The Feeds API lists all the feeds available to the authenticated user: - * - * * **Timeline**: The GitHub global public timeline - * * **User**: The public timeline for any user, using [URI template](https://docs.github.com/rest/overview/resources-in-the-rest-api#hypermedia) - * * **Current user public**: The public timeline for the authenticated user - * * **Current user**: The private timeline for the authenticated user - * * **Current user actor**: The private timeline for activity created by the authenticated user - * * **Current user organizations**: The private timeline for the organizations the authenticated user is a member of. - * * **Security advisories**: A collection of public announcements that provide information about security-related vulnerabilities in software on GitHub. - * - * **Note**: Private feeds are only returned when [authenticating via Basic Auth](https://docs.github.com/rest/overview/other-authentication-methods#basic-authentication) since current feed URIs use the older, non revocable auth tokens. - */ - getFeeds: { - (params?: RestEndpointMethodTypes["activity"]["getFeeds"]["parameters"]): Promise; - defaults: RequestInterface["defaults"]; - endpoint: EndpointInterface<{ - url: string; - }>; - }; - getRepoSubscription: { - (params?: RestEndpointMethodTypes["activity"]["getRepoSubscription"]["parameters"]): Promise; - defaults: RequestInterface["defaults"]; - endpoint: EndpointInterface<{ - url: string; - }>; - }; - getThread: { - (params?: RestEndpointMethodTypes["activity"]["getThread"]["parameters"]): Promise; - defaults: RequestInterface["defaults"]; - endpoint: EndpointInterface<{ - url: string; - }>; - }; - /** - * This checks to see if the current user is subscribed to a thread. You can also [get a repository subscription](https://docs.github.com/rest/reference/activity#get-a-repository-subscription). - * - * Note that subscriptions are only generated if a user is participating in a conversation--for example, they've replied to the thread, were **@mentioned**, or manually subscribe to a thread. - */ - getThreadSubscriptionForAuthenticatedUser: { - (params?: RestEndpointMethodTypes["activity"]["getThreadSubscriptionForAuthenticatedUser"]["parameters"]): Promise; - defaults: RequestInterface["defaults"]; - endpoint: EndpointInterface<{ - url: string; - }>; - }; - /** - * If you are authenticated as the given user, you will see your private events. Otherwise, you'll only see public events. - */ - listEventsForAuthenticatedUser: { - (params?: RestEndpointMethodTypes["activity"]["listEventsForAuthenticatedUser"]["parameters"]): Promise; - defaults: RequestInterface["defaults"]; - endpoint: EndpointInterface<{ - url: string; - }>; - }; - /** - * List all notifications for the current user, sorted by most recently updated. - */ - listNotificationsForAuthenticatedUser: { - (params?: RestEndpointMethodTypes["activity"]["listNotificationsForAuthenticatedUser"]["parameters"]): Promise; - defaults: RequestInterface["defaults"]; - endpoint: EndpointInterface<{ - url: string; - }>; - }; - /** - * This is the user's organization dashboard. You must be authenticated as the user to view this. - */ - listOrgEventsForAuthenticatedUser: { - (params?: RestEndpointMethodTypes["activity"]["listOrgEventsForAuthenticatedUser"]["parameters"]): Promise; - defaults: RequestInterface["defaults"]; - endpoint: EndpointInterface<{ - url: string; - }>; - }; - /** - * We delay the public events feed by five minutes, which means the most recent event returned by the public events API actually occurred at least five minutes ago. - */ - listPublicEvents: { - (params?: RestEndpointMethodTypes["activity"]["listPublicEvents"]["parameters"]): Promise; - defaults: RequestInterface["defaults"]; - endpoint: EndpointInterface<{ - url: string; - }>; - }; - listPublicEventsForRepoNetwork: { - (params?: RestEndpointMethodTypes["activity"]["listPublicEventsForRepoNetwork"]["parameters"]): Promise; - defaults: RequestInterface["defaults"]; - endpoint: EndpointInterface<{ - url: string; - }>; - }; - listPublicEventsForUser: { - (params?: RestEndpointMethodTypes["activity"]["listPublicEventsForUser"]["parameters"]): Promise; - defaults: RequestInterface["defaults"]; - endpoint: EndpointInterface<{ - url: string; - }>; - }; - listPublicOrgEvents: { - (params?: RestEndpointMethodTypes["activity"]["listPublicOrgEvents"]["parameters"]): Promise; - defaults: RequestInterface["defaults"]; - endpoint: EndpointInterface<{ - url: string; - }>; - }; - /** - * These are events that you've received by watching repos and following users. If you are authenticated as the given user, you will see private events. Otherwise, you'll only see public events. - */ - listReceivedEventsForUser: { - (params?: RestEndpointMethodTypes["activity"]["listReceivedEventsForUser"]["parameters"]): Promise; - defaults: RequestInterface["defaults"]; - endpoint: EndpointInterface<{ - url: string; - }>; - }; - listReceivedPublicEventsForUser: { - (params?: RestEndpointMethodTypes["activity"]["listReceivedPublicEventsForUser"]["parameters"]): Promise; - defaults: RequestInterface["defaults"]; - endpoint: EndpointInterface<{ - url: string; - }>; - }; - listRepoEvents: { - (params?: RestEndpointMethodTypes["activity"]["listRepoEvents"]["parameters"]): Promise; - defaults: RequestInterface["defaults"]; - endpoint: EndpointInterface<{ - url: string; - }>; - }; - /** - * List all notifications for the current user. - */ - listRepoNotificationsForAuthenticatedUser: { - (params?: RestEndpointMethodTypes["activity"]["listRepoNotificationsForAuthenticatedUser"]["parameters"]): Promise; - defaults: RequestInterface["defaults"]; - endpoint: EndpointInterface<{ - url: string; - }>; - }; - /** - * Lists repositories the authenticated user has starred. - * - * You can also find out _when_ stars were created by passing the following custom [media type](https://docs.github.com/rest/overview/media-types/) via the `Accept` header: - */ - listReposStarredByAuthenticatedUser: { - (params?: RestEndpointMethodTypes["activity"]["listReposStarredByAuthenticatedUser"]["parameters"]): Promise; - defaults: RequestInterface["defaults"]; - endpoint: EndpointInterface<{ - url: string; - }>; - }; - /** - * Lists repositories a user has starred. - * - * You can also find out _when_ stars were created by passing the following custom [media type](https://docs.github.com/rest/overview/media-types/) via the `Accept` header: - */ - listReposStarredByUser: { - (params?: RestEndpointMethodTypes["activity"]["listReposStarredByUser"]["parameters"]): Promise; - defaults: RequestInterface["defaults"]; - endpoint: EndpointInterface<{ - url: string; - }>; - }; - /** - * Lists repositories a user is watching. - */ - listReposWatchedByUser: { - (params?: RestEndpointMethodTypes["activity"]["listReposWatchedByUser"]["parameters"]): Promise; - defaults: RequestInterface["defaults"]; - endpoint: EndpointInterface<{ - url: string; - }>; - }; - /** - * Lists the people that have starred the repository. - * - * You can also find out _when_ stars were created by passing the following custom [media type](https://docs.github.com/rest/overview/media-types/) via the `Accept` header: - */ - listStargazersForRepo: { - (params?: RestEndpointMethodTypes["activity"]["listStargazersForRepo"]["parameters"]): Promise; - defaults: RequestInterface["defaults"]; - endpoint: EndpointInterface<{ - url: string; - }>; - }; - /** - * Lists repositories the authenticated user is watching. - */ - listWatchedReposForAuthenticatedUser: { - (params?: RestEndpointMethodTypes["activity"]["listWatchedReposForAuthenticatedUser"]["parameters"]): Promise; - defaults: RequestInterface["defaults"]; - endpoint: EndpointInterface<{ - url: string; - }>; - }; - /** - * Lists the people watching the specified repository. - */ - listWatchersForRepo: { - (params?: RestEndpointMethodTypes["activity"]["listWatchersForRepo"]["parameters"]): Promise; - defaults: RequestInterface["defaults"]; - endpoint: EndpointInterface<{ - url: string; - }>; - }; - /** - * Marks all notifications as "read" removes it from the [default view on GitHub](https://github.com/notifications). If the number of notifications is too large to complete in one request, you will receive a `202 Accepted` status and GitHub will run an asynchronous process to mark notifications as "read." To check whether any "unread" notifications remain, you can use the [List notifications for the authenticated user](https://docs.github.com/rest/reference/activity#list-notifications-for-the-authenticated-user) endpoint and pass the query parameter `all=false`. - */ - markNotificationsAsRead: { - (params?: RestEndpointMethodTypes["activity"]["markNotificationsAsRead"]["parameters"]): Promise; - defaults: RequestInterface["defaults"]; - endpoint: EndpointInterface<{ - url: string; - }>; - }; - /** - * Marks all notifications in a repository as "read" removes them from the [default view on GitHub](https://github.com/notifications). If the number of notifications is too large to complete in one request, you will receive a `202 Accepted` status and GitHub will run an asynchronous process to mark notifications as "read." To check whether any "unread" notifications remain, you can use the [List repository notifications for the authenticated user](https://docs.github.com/rest/reference/activity#list-repository-notifications-for-the-authenticated-user) endpoint and pass the query parameter `all=false`. - */ - markRepoNotificationsAsRead: { - (params?: RestEndpointMethodTypes["activity"]["markRepoNotificationsAsRead"]["parameters"]): Promise; - defaults: RequestInterface["defaults"]; - endpoint: EndpointInterface<{ - url: string; - }>; - }; - markThreadAsRead: { - (params?: RestEndpointMethodTypes["activity"]["markThreadAsRead"]["parameters"]): Promise; - defaults: RequestInterface["defaults"]; - endpoint: EndpointInterface<{ - url: string; - }>; - }; - /** - * If you would like to watch a repository, set `subscribed` to `true`. If you would like to ignore notifications made within a repository, set `ignored` to `true`. If you would like to stop watching a repository, [delete the repository's subscription](https://docs.github.com/rest/reference/activity#delete-a-repository-subscription) completely. - */ - setRepoSubscription: { - (params?: RestEndpointMethodTypes["activity"]["setRepoSubscription"]["parameters"]): Promise; - defaults: RequestInterface["defaults"]; - endpoint: EndpointInterface<{ - url: string; - }>; - }; - /** - * If you are watching a repository, you receive notifications for all threads by default. Use this endpoint to ignore future notifications for threads until you comment on the thread or get an **@mention**. - * - * You can also use this endpoint to subscribe to threads that you are currently not receiving notifications for or to subscribed to threads that you have previously ignored. - * - * Unsubscribing from a conversation in a repository that you are not watching is functionally equivalent to the [Delete a thread subscription](https://docs.github.com/rest/reference/activity#delete-a-thread-subscription) endpoint. - */ - setThreadSubscription: { - (params?: RestEndpointMethodTypes["activity"]["setThreadSubscription"]["parameters"]): Promise; - defaults: RequestInterface["defaults"]; - endpoint: EndpointInterface<{ - url: string; - }>; - }; - /** - * Note that you'll need to set `Content-Length` to zero when calling out to this endpoint. For more information, see "[HTTP verbs](https://docs.github.com/rest/overview/resources-in-the-rest-api#http-verbs)." - */ - starRepoForAuthenticatedUser: { - (params?: RestEndpointMethodTypes["activity"]["starRepoForAuthenticatedUser"]["parameters"]): Promise; - defaults: RequestInterface["defaults"]; - endpoint: EndpointInterface<{ - url: string; - }>; - }; - unstarRepoForAuthenticatedUser: { - (params?: RestEndpointMethodTypes["activity"]["unstarRepoForAuthenticatedUser"]["parameters"]): Promise; - defaults: RequestInterface["defaults"]; - endpoint: EndpointInterface<{ - url: string; - }>; - }; - }; - apps: { - /** - * Add a single repository to an installation. The authenticated user must have admin access to the repository. - * - * You must use a personal access token (which you can create via the [command line](https://docs.github.com/github/authenticating-to-github/creating-a-personal-access-token) or [Basic Authentication](https://docs.github.com/rest/overview/other-authentication-methods#basic-authentication)) to access this endpoint. - */ - addRepoToInstallation: { - (params?: RestEndpointMethodTypes["apps"]["addRepoToInstallation"]["parameters"]): Promise; - defaults: RequestInterface["defaults"]; - endpoint: EndpointInterface<{ - url: string; - }>; - }; - /** - * OAuth applications can use a special API method for checking OAuth token validity without exceeding the normal rate limits for failed login attempts. Authentication works differently with this particular endpoint. You must use [Basic Authentication](https://docs.github.com/rest/overview/other-authentication-methods#basic-authentication) to use this endpoint, where the username is the OAuth application `client_id` and the password is its `client_secret`. Invalid tokens will return `404 NOT FOUND`. - */ - checkToken: { - (params?: RestEndpointMethodTypes["apps"]["checkToken"]["parameters"]): Promise; - defaults: RequestInterface["defaults"]; - endpoint: EndpointInterface<{ - url: string; - }>; - }; - /** - * **Deprecated:** use `apps.createContentAttachmentForRepo()` (`POST /repos/{owner}/{repo}/content_references/{content_reference_id}/attachments`) instead. Creates an attachment under a content reference URL in the body or comment of an issue or pull request. Use the `id` of the content reference from the [`content_reference` event](https://docs.github.com/webhooks/event-payloads/#content_reference) to create an attachment. - * - * The app must create a content attachment within six hours of the content reference URL being posted. See "[Using content attachments](https://docs.github.com/apps/using-content-attachments/)" for details about content attachments. - * - * You must use an [installation access token](https://docs.github.com/apps/building-github-apps/authenticating-with-github-apps/#authenticating-as-an-installation) to access this endpoint. - */ - createContentAttachment: { - (params?: RestEndpointMethodTypes["apps"]["createContentAttachment"]["parameters"]): Promise; - defaults: RequestInterface["defaults"]; - endpoint: EndpointInterface<{ - url: string; - }>; - }; - /** - * Creates an attachment under a content reference URL in the body or comment of an issue or pull request. Use the `id` and `repository` `full_name` of the content reference from the [`content_reference` event](https://docs.github.com/webhooks/event-payloads/#content_reference) to create an attachment. - * - * The app must create a content attachment within six hours of the content reference URL being posted. See "[Using content attachments](https://docs.github.com/apps/using-content-attachments/)" for details about content attachments. - * - * You must use an [installation access token](https://docs.github.com/apps/building-github-apps/authenticating-with-github-apps/#authenticating-as-an-installation) to access this endpoint. - */ - createContentAttachmentForRepo: { - (params?: RestEndpointMethodTypes["apps"]["createContentAttachmentForRepo"]["parameters"]): Promise; - defaults: RequestInterface["defaults"]; - endpoint: EndpointInterface<{ - url: string; - }>; - }; - /** - * Use this endpoint to complete the handshake necessary when implementing the [GitHub App Manifest flow](https://docs.github.com/apps/building-github-apps/creating-github-apps-from-a-manifest/). When you create a GitHub App with the manifest flow, you receive a temporary `code` used to retrieve the GitHub App's `id`, `pem` (private key), and `webhook_secret`. - */ - createFromManifest: { - (params?: RestEndpointMethodTypes["apps"]["createFromManifest"]["parameters"]): Promise; - defaults: RequestInterface["defaults"]; - endpoint: EndpointInterface<{ - url: string; - }>; - }; - /** - * Creates an installation access token that enables a GitHub App to make authenticated API requests for the app's installation on an organization or individual account. Installation tokens expire one hour from the time you create them. Using an expired token produces a status code of `401 - Unauthorized`, and requires creating a new installation token. By default the installation token has access to all repositories that the installation can access. To restrict the access to specific repositories, you can provide the `repository_ids` when creating the token. When you omit `repository_ids`, the response does not contain the `repositories` key. - * - * You must use a [JWT](https://docs.github.com/apps/building-github-apps/authenticating-with-github-apps/#authenticating-as-a-github-app) to access this endpoint. - */ - createInstallationAccessToken: { - (params?: RestEndpointMethodTypes["apps"]["createInstallationAccessToken"]["parameters"]): Promise; - defaults: RequestInterface["defaults"]; - endpoint: EndpointInterface<{ - url: string; - }>; - }; - /** - * OAuth application owners can revoke a grant for their OAuth application and a specific user. You must use [Basic Authentication](https://docs.github.com/rest/overview/other-authentication-methods#basic-authentication) when accessing this endpoint, using the OAuth application's `client_id` and `client_secret` as the username and password. You must also provide a valid OAuth `access_token` as an input parameter and the grant for the token's owner will be deleted. - * Deleting an OAuth application's grant will also delete all OAuth tokens associated with the application for the user. Once deleted, the application will have no access to the user's account and will no longer be listed on [the application authorizations settings screen within GitHub](https://github.com/settings/applications#authorized). - */ - deleteAuthorization: { - (params?: RestEndpointMethodTypes["apps"]["deleteAuthorization"]["parameters"]): Promise; - defaults: RequestInterface["defaults"]; - endpoint: EndpointInterface<{ - url: string; - }>; - }; - /** - * Uninstalls a GitHub App on a user, organization, or business account. If you prefer to temporarily suspend an app's access to your account's resources, then we recommend the "[Suspend an app installation](https://docs.github.com/rest/reference/apps/#suspend-an-app-installation)" endpoint. - * - * You must use a [JWT](https://docs.github.com/apps/building-github-apps/authenticating-with-github-apps/#authenticating-as-a-github-app) to access this endpoint. - */ - deleteInstallation: { - (params?: RestEndpointMethodTypes["apps"]["deleteInstallation"]["parameters"]): Promise; - defaults: RequestInterface["defaults"]; - endpoint: EndpointInterface<{ - url: string; - }>; - }; - /** - * OAuth application owners can revoke a single token for an OAuth application. You must use [Basic Authentication](https://docs.github.com/rest/overview/other-authentication-methods#basic-authentication) when accessing this endpoint, using the OAuth application's `client_id` and `client_secret` as the username and password. - */ - deleteToken: { - (params?: RestEndpointMethodTypes["apps"]["deleteToken"]["parameters"]): Promise; - defaults: RequestInterface["defaults"]; - endpoint: EndpointInterface<{ - url: string; - }>; - }; - /** - * Returns the GitHub App associated with the authentication credentials used. To see how many app installations are associated with this GitHub App, see the `installations_count` in the response. For more details about your app's installations, see the "[List installations for the authenticated app](https://docs.github.com/rest/reference/apps#list-installations-for-the-authenticated-app)" endpoint. - * - * You must use a [JWT](https://docs.github.com/apps/building-github-apps/authenticating-with-github-apps/#authenticating-as-a-github-app) to access this endpoint. - */ - getAuthenticated: { - (params?: RestEndpointMethodTypes["apps"]["getAuthenticated"]["parameters"]): Promise; - defaults: RequestInterface["defaults"]; - endpoint: EndpointInterface<{ - url: string; - }>; - }; - /** - * **Note**: The `:app_slug` is just the URL-friendly name of your GitHub App. You can find this on the settings page for your GitHub App (e.g., `https://github.com/settings/apps/:app_slug`). - * - * If the GitHub App you specify is public, you can access this endpoint without authenticating. If the GitHub App you specify is private, you must authenticate with a [personal access token](https://help.github.com/articles/creating-a-personal-access-token-for-the-command-line/) or an [installation access token](https://docs.github.com/apps/building-github-apps/authenticating-with-github-apps/#authenticating-as-an-installation) to access this endpoint. - */ - getBySlug: { - (params?: RestEndpointMethodTypes["apps"]["getBySlug"]["parameters"]): Promise; - defaults: RequestInterface["defaults"]; - endpoint: EndpointInterface<{ - url: string; - }>; - }; - /** - * Enables an authenticated GitHub App to find an installation's information using the installation id. The installation's account type (`target_type`) will be either an organization or a user account, depending which account the repository belongs to. - * - * You must use a [JWT](https://docs.github.com/apps/building-github-apps/authenticating-with-github-apps/#authenticating-as-a-github-app) to access this endpoint. - */ - getInstallation: { - (params?: RestEndpointMethodTypes["apps"]["getInstallation"]["parameters"]): Promise; - defaults: RequestInterface["defaults"]; - endpoint: EndpointInterface<{ - url: string; - }>; - }; - /** - * Enables an authenticated GitHub App to find the organization's installation information. - * - * You must use a [JWT](https://docs.github.com/apps/building-github-apps/authenticating-with-github-apps/#authenticating-as-a-github-app) to access this endpoint. - */ - getOrgInstallation: { - (params?: RestEndpointMethodTypes["apps"]["getOrgInstallation"]["parameters"]): Promise; - defaults: RequestInterface["defaults"]; - endpoint: EndpointInterface<{ - url: string; - }>; - }; - /** - * Enables an authenticated GitHub App to find the repository's installation information. The installation's account type will be either an organization or a user account, depending which account the repository belongs to. - * - * You must use a [JWT](https://docs.github.com/apps/building-github-apps/authenticating-with-github-apps/#authenticating-as-a-github-app) to access this endpoint. - */ - getRepoInstallation: { - (params?: RestEndpointMethodTypes["apps"]["getRepoInstallation"]["parameters"]): Promise; - defaults: RequestInterface["defaults"]; - endpoint: EndpointInterface<{ - url: string; - }>; - }; - /** - * Shows whether the user or organization account actively subscribes to a plan listed by the authenticated GitHub App. When someone submits a plan change that won't be processed until the end of their billing cycle, you will also see the upcoming pending change. - * - * GitHub Apps must use a [JWT](https://docs.github.com/apps/building-github-apps/authenticating-with-github-apps/#authenticating-as-a-github-app) to access this endpoint. OAuth Apps must use [basic authentication](https://docs.github.com/rest/overview/other-authentication-methods#basic-authentication) with their client ID and client secret to access this endpoint. - */ - getSubscriptionPlanForAccount: { - (params?: RestEndpointMethodTypes["apps"]["getSubscriptionPlanForAccount"]["parameters"]): Promise; - defaults: RequestInterface["defaults"]; - endpoint: EndpointInterface<{ - url: string; - }>; - }; - /** - * Shows whether the user or organization account actively subscribes to a plan listed by the authenticated GitHub App. When someone submits a plan change that won't be processed until the end of their billing cycle, you will also see the upcoming pending change. - * - * GitHub Apps must use a [JWT](https://docs.github.com/apps/building-github-apps/authenticating-with-github-apps/#authenticating-as-a-github-app) to access this endpoint. OAuth Apps must use [basic authentication](https://docs.github.com/rest/overview/other-authentication-methods#basic-authentication) with their client ID and client secret to access this endpoint. - */ - getSubscriptionPlanForAccountStubbed: { - (params?: RestEndpointMethodTypes["apps"]["getSubscriptionPlanForAccountStubbed"]["parameters"]): Promise; - defaults: RequestInterface["defaults"]; - endpoint: EndpointInterface<{ - url: string; - }>; - }; - /** - * Enables an authenticated GitHub App to find the user’s installation information. - * - * You must use a [JWT](https://docs.github.com/apps/building-github-apps/authenticating-with-github-apps/#authenticating-as-a-github-app) to access this endpoint. - */ - getUserInstallation: { - (params?: RestEndpointMethodTypes["apps"]["getUserInstallation"]["parameters"]): Promise; - defaults: RequestInterface["defaults"]; - endpoint: EndpointInterface<{ - url: string; - }>; - }; - /** - * Returns the webhook configuration for a GitHub App. For more information about configuring a webhook for your app, see "[Creating a GitHub App](/developers/apps/creating-a-github-app)." - * - * You must use a [JWT](https://docs.github.com/apps/building-github-apps/authenticating-with-github-apps/#authenticating-as-a-github-app) to access this endpoint. - */ - getWebhookConfigForApp: { - (params?: RestEndpointMethodTypes["apps"]["getWebhookConfigForApp"]["parameters"]): Promise; - defaults: RequestInterface["defaults"]; - endpoint: EndpointInterface<{ - url: string; - }>; - }; - /** - * Returns a delivery for the webhook configured for a GitHub App. - * - * You must use a [JWT](https://docs.github.com/apps/building-github-apps/authenticating-with-github-apps/#authenticating-as-a-github-app) to access this endpoint. - */ - getWebhookDelivery: { - (params?: RestEndpointMethodTypes["apps"]["getWebhookDelivery"]["parameters"]): Promise; - defaults: RequestInterface["defaults"]; - endpoint: EndpointInterface<{ - url: string; - }>; - }; - /** - * Returns user and organization accounts associated with the specified plan, including free plans. For per-seat pricing, you see the list of accounts that have purchased the plan, including the number of seats purchased. When someone submits a plan change that won't be processed until the end of their billing cycle, you will also see the upcoming pending change. - * - * GitHub Apps must use a [JWT](https://docs.github.com/apps/building-github-apps/authenticating-with-github-apps/#authenticating-as-a-github-app) to access this endpoint. OAuth Apps must use [basic authentication](https://docs.github.com/rest/overview/other-authentication-methods#basic-authentication) with their client ID and client secret to access this endpoint. - */ - listAccountsForPlan: { - (params?: RestEndpointMethodTypes["apps"]["listAccountsForPlan"]["parameters"]): Promise; - defaults: RequestInterface["defaults"]; - endpoint: EndpointInterface<{ - url: string; - }>; - }; - /** - * Returns repository and organization accounts associated with the specified plan, including free plans. For per-seat pricing, you see the list of accounts that have purchased the plan, including the number of seats purchased. When someone submits a plan change that won't be processed until the end of their billing cycle, you will also see the upcoming pending change. - * - * GitHub Apps must use a [JWT](https://docs.github.com/apps/building-github-apps/authenticating-with-github-apps/#authenticating-as-a-github-app) to access this endpoint. OAuth Apps must use [basic authentication](https://docs.github.com/rest/overview/other-authentication-methods#basic-authentication) with their client ID and client secret to access this endpoint. - */ - listAccountsForPlanStubbed: { - (params?: RestEndpointMethodTypes["apps"]["listAccountsForPlanStubbed"]["parameters"]): Promise; - defaults: RequestInterface["defaults"]; - endpoint: EndpointInterface<{ - url: string; - }>; - }; - /** - * List repositories that the authenticated user has explicit permission (`:read`, `:write`, or `:admin`) to access for an installation. - * - * The authenticated user has explicit permission to access repositories they own, repositories where they are a collaborator, and repositories that they can access through an organization membership. - * - * You must use a [user-to-server OAuth access token](https://docs.github.com/apps/building-github-apps/identifying-and-authorizing-users-for-github-apps/#identifying-users-on-your-site), created for a user who has authorized your GitHub App, to access this endpoint. - * - * The access the user has to each repository is included in the hash under the `permissions` key. - */ - listInstallationReposForAuthenticatedUser: { - (params?: RestEndpointMethodTypes["apps"]["listInstallationReposForAuthenticatedUser"]["parameters"]): Promise; - defaults: RequestInterface["defaults"]; - endpoint: EndpointInterface<{ - url: string; - }>; - }; - /** - * You must use a [JWT](https://docs.github.com/apps/building-github-apps/authenticating-with-github-apps/#authenticating-as-a-github-app) to access this endpoint. - * - * The permissions the installation has are included under the `permissions` key. - */ - listInstallations: { - (params?: RestEndpointMethodTypes["apps"]["listInstallations"]["parameters"]): Promise; - defaults: RequestInterface["defaults"]; - endpoint: EndpointInterface<{ - url: string; - }>; - }; - /** - * Lists installations of your GitHub App that the authenticated user has explicit permission (`:read`, `:write`, or `:admin`) to access. - * - * You must use a [user-to-server OAuth access token](https://docs.github.com/apps/building-github-apps/identifying-and-authorizing-users-for-github-apps/#identifying-users-on-your-site), created for a user who has authorized your GitHub App, to access this endpoint. - * - * The authenticated user has explicit permission to access repositories they own, repositories where they are a collaborator, and repositories that they can access through an organization membership. - * - * You can find the permissions for the installation under the `permissions` key. - */ - listInstallationsForAuthenticatedUser: { - (params?: RestEndpointMethodTypes["apps"]["listInstallationsForAuthenticatedUser"]["parameters"]): Promise; - defaults: RequestInterface["defaults"]; - endpoint: EndpointInterface<{ - url: string; - }>; - }; - /** - * Lists all plans that are part of your GitHub Marketplace listing. - * - * GitHub Apps must use a [JWT](https://docs.github.com/apps/building-github-apps/authenticating-with-github-apps/#authenticating-as-a-github-app) to access this endpoint. OAuth Apps must use [basic authentication](https://docs.github.com/rest/overview/other-authentication-methods#basic-authentication) with their client ID and client secret to access this endpoint. - */ - listPlans: { - (params?: RestEndpointMethodTypes["apps"]["listPlans"]["parameters"]): Promise; - defaults: RequestInterface["defaults"]; - endpoint: EndpointInterface<{ - url: string; - }>; - }; - /** - * Lists all plans that are part of your GitHub Marketplace listing. - * - * GitHub Apps must use a [JWT](https://docs.github.com/apps/building-github-apps/authenticating-with-github-apps/#authenticating-as-a-github-app) to access this endpoint. OAuth Apps must use [basic authentication](https://docs.github.com/rest/overview/other-authentication-methods#basic-authentication) with their client ID and client secret to access this endpoint. - */ - listPlansStubbed: { - (params?: RestEndpointMethodTypes["apps"]["listPlansStubbed"]["parameters"]): Promise; - defaults: RequestInterface["defaults"]; - endpoint: EndpointInterface<{ - url: string; - }>; - }; - /** - * List repositories that an app installation can access. - * - * You must use an [installation access token](https://docs.github.com/apps/building-github-apps/authenticating-with-github-apps/#authenticating-as-an-installation) to access this endpoint. - */ - listReposAccessibleToInstallation: { - (params?: RestEndpointMethodTypes["apps"]["listReposAccessibleToInstallation"]["parameters"]): Promise; - defaults: RequestInterface["defaults"]; - endpoint: EndpointInterface<{ - url: string; - }>; - }; - /** - * Lists the active subscriptions for the authenticated user. You must use a [user-to-server OAuth access token](https://docs.github.com/apps/building-github-apps/identifying-and-authorizing-users-for-github-apps/#identifying-users-on-your-site), created for a user who has authorized your GitHub App, to access this endpoint. . OAuth Apps must authenticate using an [OAuth token](https://docs.github.com/apps/building-github-apps/authenticating-with-github-apps/). - */ - listSubscriptionsForAuthenticatedUser: { - (params?: RestEndpointMethodTypes["apps"]["listSubscriptionsForAuthenticatedUser"]["parameters"]): Promise; - defaults: RequestInterface["defaults"]; - endpoint: EndpointInterface<{ - url: string; - }>; - }; - /** - * Lists the active subscriptions for the authenticated user. You must use a [user-to-server OAuth access token](https://docs.github.com/apps/building-github-apps/identifying-and-authorizing-users-for-github-apps/#identifying-users-on-your-site), created for a user who has authorized your GitHub App, to access this endpoint. . OAuth Apps must authenticate using an [OAuth token](https://docs.github.com/apps/building-github-apps/authenticating-with-github-apps/). - */ - listSubscriptionsForAuthenticatedUserStubbed: { - (params?: RestEndpointMethodTypes["apps"]["listSubscriptionsForAuthenticatedUserStubbed"]["parameters"]): Promise; - defaults: RequestInterface["defaults"]; - endpoint: EndpointInterface<{ - url: string; - }>; - }; - /** - * Returns a list of webhook deliveries for the webhook configured for a GitHub App. - * - * You must use a [JWT](https://docs.github.com/apps/building-github-apps/authenticating-with-github-apps/#authenticating-as-a-github-app) to access this endpoint. - */ - listWebhookDeliveries: { - (params?: RestEndpointMethodTypes["apps"]["listWebhookDeliveries"]["parameters"]): Promise; - defaults: RequestInterface["defaults"]; - endpoint: EndpointInterface<{ - url: string; - }>; - }; - /** - * Redeliver a delivery for the webhook configured for a GitHub App. - * - * You must use a [JWT](https://docs.github.com/apps/building-github-apps/authenticating-with-github-apps/#authenticating-as-a-github-app) to access this endpoint. - */ - redeliverWebhookDelivery: { - (params?: RestEndpointMethodTypes["apps"]["redeliverWebhookDelivery"]["parameters"]): Promise; - defaults: RequestInterface["defaults"]; - endpoint: EndpointInterface<{ - url: string; - }>; - }; - /** - * Remove a single repository from an installation. The authenticated user must have admin access to the repository. - * - * You must use a personal access token (which you can create via the [command line](https://docs.github.com/github/authenticating-to-github/creating-a-personal-access-token) or [Basic Authentication](https://docs.github.com/rest/overview/other-authentication-methods#basic-authentication)) to access this endpoint. - */ - removeRepoFromInstallation: { - (params?: RestEndpointMethodTypes["apps"]["removeRepoFromInstallation"]["parameters"]): Promise; - defaults: RequestInterface["defaults"]; - endpoint: EndpointInterface<{ - url: string; - }>; - }; - /** - * OAuth applications can use this API method to reset a valid OAuth token without end-user involvement. Applications must save the "token" property in the response because changes take effect immediately. You must use [Basic Authentication](https://docs.github.com/rest/overview/other-authentication-methods#basic-authentication) when accessing this endpoint, using the OAuth application's `client_id` and `client_secret` as the username and password. Invalid tokens will return `404 NOT FOUND`. - */ - resetToken: { - (params?: RestEndpointMethodTypes["apps"]["resetToken"]["parameters"]): Promise; - defaults: RequestInterface["defaults"]; - endpoint: EndpointInterface<{ - url: string; - }>; - }; - /** - * Revokes the installation token you're using to authenticate as an installation and access this endpoint. - * - * Once an installation token is revoked, the token is invalidated and cannot be used. Other endpoints that require the revoked installation token must have a new installation token to work. You can create a new token using the "[Create an installation access token for an app](https://docs.github.com/rest/reference/apps#create-an-installation-access-token-for-an-app)" endpoint. - * - * You must use an [installation access token](https://docs.github.com/apps/building-github-apps/authenticating-with-github-apps/#authenticating-as-an-installation) to access this endpoint. - */ - revokeInstallationAccessToken: { - (params?: RestEndpointMethodTypes["apps"]["revokeInstallationAccessToken"]["parameters"]): Promise; - defaults: RequestInterface["defaults"]; - endpoint: EndpointInterface<{ - url: string; - }>; - }; - /** - * Use a non-scoped user-to-server OAuth access token to create a repository scoped and/or permission scoped user-to-server OAuth access token. You can specify which repositories the token can access and which permissions are granted to the token. You must use [Basic Authentication](https://docs.github.com/rest/overview/other-authentication-methods#basic-authentication) when accessing this endpoint, using the OAuth application's `client_id` and `client_secret` as the username and password. Invalid tokens will return `404 NOT FOUND`. - */ - scopeToken: { - (params?: RestEndpointMethodTypes["apps"]["scopeToken"]["parameters"]): Promise; - defaults: RequestInterface["defaults"]; - endpoint: EndpointInterface<{ - url: string; - }>; - }; - /** - * Suspends a GitHub App on a user, organization, or business account, which blocks the app from accessing the account's resources. When a GitHub App is suspended, the app's access to the GitHub API or webhook events is blocked for that account. - * - * You must use a [JWT](https://docs.github.com/apps/building-github-apps/authenticating-with-github-apps/#authenticating-as-a-github-app) to access this endpoint. - */ - suspendInstallation: { - (params?: RestEndpointMethodTypes["apps"]["suspendInstallation"]["parameters"]): Promise; - defaults: RequestInterface["defaults"]; - endpoint: EndpointInterface<{ - url: string; - }>; - }; - /** - * Removes a GitHub App installation suspension. - * - * You must use a [JWT](https://docs.github.com/apps/building-github-apps/authenticating-with-github-apps/#authenticating-as-a-github-app) to access this endpoint. - */ - unsuspendInstallation: { - (params?: RestEndpointMethodTypes["apps"]["unsuspendInstallation"]["parameters"]): Promise; - defaults: RequestInterface["defaults"]; - endpoint: EndpointInterface<{ - url: string; - }>; - }; - /** - * Updates the webhook configuration for a GitHub App. For more information about configuring a webhook for your app, see "[Creating a GitHub App](/developers/apps/creating-a-github-app)." - * - * You must use a [JWT](https://docs.github.com/apps/building-github-apps/authenticating-with-github-apps/#authenticating-as-a-github-app) to access this endpoint. - */ - updateWebhookConfigForApp: { - (params?: RestEndpointMethodTypes["apps"]["updateWebhookConfigForApp"]["parameters"]): Promise; - defaults: RequestInterface["defaults"]; - endpoint: EndpointInterface<{ - url: string; - }>; - }; - }; - billing: { - /** - * Gets the summary of the free and paid GitHub Actions minutes used. - * - * Paid minutes only apply to workflows in private repositories that use GitHub-hosted runners. Minutes used is listed for each GitHub-hosted runner operating system. Any job re-runs are also included in the usage. The usage returned includes any minute multipliers for macOS and Windows runners, and is rounded up to the nearest whole minute. For more information, see "[Managing billing for GitHub Actions](https://help.github.com/github/setting-up-and-managing-billing-and-payments-on-github/managing-billing-for-github-actions)". - * - * Access tokens must have the `repo` or `admin:org` scope. - */ - getGithubActionsBillingOrg: { - (params?: RestEndpointMethodTypes["billing"]["getGithubActionsBillingOrg"]["parameters"]): Promise; - defaults: RequestInterface["defaults"]; - endpoint: EndpointInterface<{ - url: string; - }>; - }; - /** - * Gets the summary of the free and paid GitHub Actions minutes used. - * - * Paid minutes only apply to workflows in private repositories that use GitHub-hosted runners. Minutes used is listed for each GitHub-hosted runner operating system. Any job re-runs are also included in the usage. The usage returned includes any minute multipliers for macOS and Windows runners, and is rounded up to the nearest whole minute. For more information, see "[Managing billing for GitHub Actions](https://help.github.com/github/setting-up-and-managing-billing-and-payments-on-github/managing-billing-for-github-actions)". - * - * Access tokens must have the `user` scope. - */ - getGithubActionsBillingUser: { - (params?: RestEndpointMethodTypes["billing"]["getGithubActionsBillingUser"]["parameters"]): Promise; - defaults: RequestInterface["defaults"]; - endpoint: EndpointInterface<{ - url: string; - }>; - }; - /** - * Gets the free and paid storage used for GitHub Packages in gigabytes. - * - * Paid minutes only apply to packages stored for private repositories. For more information, see "[Managing billing for GitHub Packages](https://help.github.com/github/setting-up-and-managing-billing-and-payments-on-github/managing-billing-for-github-packages)." - * - * Access tokens must have the `repo` or `admin:org` scope. - */ - getGithubPackagesBillingOrg: { - (params?: RestEndpointMethodTypes["billing"]["getGithubPackagesBillingOrg"]["parameters"]): Promise; - defaults: RequestInterface["defaults"]; - endpoint: EndpointInterface<{ - url: string; - }>; - }; - /** - * Gets the free and paid storage used for GitHub Packages in gigabytes. - * - * Paid minutes only apply to packages stored for private repositories. For more information, see "[Managing billing for GitHub Packages](https://help.github.com/github/setting-up-and-managing-billing-and-payments-on-github/managing-billing-for-github-packages)." - * - * Access tokens must have the `user` scope. - */ - getGithubPackagesBillingUser: { - (params?: RestEndpointMethodTypes["billing"]["getGithubPackagesBillingUser"]["parameters"]): Promise; - defaults: RequestInterface["defaults"]; - endpoint: EndpointInterface<{ - url: string; - }>; - }; - /** - * Gets the estimated paid and estimated total storage used for GitHub Actions and Github Packages. - * - * Paid minutes only apply to packages stored for private repositories. For more information, see "[Managing billing for GitHub Packages](https://help.github.com/github/setting-up-and-managing-billing-and-payments-on-github/managing-billing-for-github-packages)." - * - * Access tokens must have the `repo` or `admin:org` scope. - */ - getSharedStorageBillingOrg: { - (params?: RestEndpointMethodTypes["billing"]["getSharedStorageBillingOrg"]["parameters"]): Promise; - defaults: RequestInterface["defaults"]; - endpoint: EndpointInterface<{ - url: string; - }>; - }; - /** - * Gets the estimated paid and estimated total storage used for GitHub Actions and Github Packages. - * - * Paid minutes only apply to packages stored for private repositories. For more information, see "[Managing billing for GitHub Packages](https://help.github.com/github/setting-up-and-managing-billing-and-payments-on-github/managing-billing-for-github-packages)." - * - * Access tokens must have the `user` scope. - */ - getSharedStorageBillingUser: { - (params?: RestEndpointMethodTypes["billing"]["getSharedStorageBillingUser"]["parameters"]): Promise; - defaults: RequestInterface["defaults"]; - endpoint: EndpointInterface<{ - url: string; - }>; - }; - }; - checks: { - /** - * **Note:** The Checks API only looks for pushes in the repository where the check suite or check run were created. Pushes to a branch in a forked repository are not detected and return an empty `pull_requests` array. - * - * Creates a new check run for a specific commit in a repository. Your GitHub App must have the `checks:write` permission to create check runs. - * - * In a check suite, GitHub limits the number of check runs with the same name to 1000. Once these check runs exceed 1000, GitHub will start to automatically delete older check runs. - */ - create: { - (params?: RestEndpointMethodTypes["checks"]["create"]["parameters"]): Promise; - defaults: RequestInterface["defaults"]; - endpoint: EndpointInterface<{ - url: string; - }>; - }; - /** - * **Note:** The Checks API only looks for pushes in the repository where the check suite or check run were created. Pushes to a branch in a forked repository are not detected and return an empty `pull_requests` array and a `null` value for `head_branch`. - * - * By default, check suites are automatically created when you create a [check run](https://docs.github.com/rest/reference/checks#check-runs). You only need to use this endpoint for manually creating check suites when you've disabled automatic creation using "[Update repository preferences for check suites](https://docs.github.com/rest/reference/checks#update-repository-preferences-for-check-suites)". Your GitHub App must have the `checks:write` permission to create check suites. - */ - createSuite: { - (params?: RestEndpointMethodTypes["checks"]["createSuite"]["parameters"]): Promise; - defaults: RequestInterface["defaults"]; - endpoint: EndpointInterface<{ - url: string; - }>; - }; - /** - * **Note:** The Checks API only looks for pushes in the repository where the check suite or check run were created. Pushes to a branch in a forked repository are not detected and return an empty `pull_requests` array. - * - * Gets a single check run using its `id`. GitHub Apps must have the `checks:read` permission on a private repository or pull access to a public repository to get check runs. OAuth Apps and authenticated users must have the `repo` scope to get check runs in a private repository. - */ - get: { - (params?: RestEndpointMethodTypes["checks"]["get"]["parameters"]): Promise; - defaults: RequestInterface["defaults"]; - endpoint: EndpointInterface<{ - url: string; - }>; - }; - /** - * **Note:** The Checks API only looks for pushes in the repository where the check suite or check run were created. Pushes to a branch in a forked repository are not detected and return an empty `pull_requests` array and a `null` value for `head_branch`. - * - * Gets a single check suite using its `id`. GitHub Apps must have the `checks:read` permission on a private repository or pull access to a public repository to get check suites. OAuth Apps and authenticated users must have the `repo` scope to get check suites in a private repository. - */ - getSuite: { - (params?: RestEndpointMethodTypes["checks"]["getSuite"]["parameters"]): Promise; - defaults: RequestInterface["defaults"]; - endpoint: EndpointInterface<{ - url: string; - }>; - }; - /** - * Lists annotations for a check run using the annotation `id`. GitHub Apps must have the `checks:read` permission on a private repository or pull access to a public repository to get annotations for a check run. OAuth Apps and authenticated users must have the `repo` scope to get annotations for a check run in a private repository. - */ - listAnnotations: { - (params?: RestEndpointMethodTypes["checks"]["listAnnotations"]["parameters"]): Promise; - defaults: RequestInterface["defaults"]; - endpoint: EndpointInterface<{ - url: string; - }>; - }; - /** - * **Note:** The Checks API only looks for pushes in the repository where the check suite or check run were created. Pushes to a branch in a forked repository are not detected and return an empty `pull_requests` array. - * - * Lists check runs for a commit ref. The `ref` can be a SHA, branch name, or a tag name. GitHub Apps must have the `checks:read` permission on a private repository or pull access to a public repository to get check runs. OAuth Apps and authenticated users must have the `repo` scope to get check runs in a private repository. - */ - listForRef: { - (params?: RestEndpointMethodTypes["checks"]["listForRef"]["parameters"]): Promise; - defaults: RequestInterface["defaults"]; - endpoint: EndpointInterface<{ - url: string; - }>; - }; - /** - * **Note:** The Checks API only looks for pushes in the repository where the check suite or check run were created. Pushes to a branch in a forked repository are not detected and return an empty `pull_requests` array. - * - * Lists check runs for a check suite using its `id`. GitHub Apps must have the `checks:read` permission on a private repository or pull access to a public repository to get check runs. OAuth Apps and authenticated users must have the `repo` scope to get check runs in a private repository. - */ - listForSuite: { - (params?: RestEndpointMethodTypes["checks"]["listForSuite"]["parameters"]): Promise; - defaults: RequestInterface["defaults"]; - endpoint: EndpointInterface<{ - url: string; - }>; - }; - /** - * **Note:** The Checks API only looks for pushes in the repository where the check suite or check run were created. Pushes to a branch in a forked repository are not detected and return an empty `pull_requests` array and a `null` value for `head_branch`. - * - * Lists check suites for a commit `ref`. The `ref` can be a SHA, branch name, or a tag name. GitHub Apps must have the `checks:read` permission on a private repository or pull access to a public repository to list check suites. OAuth Apps and authenticated users must have the `repo` scope to get check suites in a private repository. - */ - listSuitesForRef: { - (params?: RestEndpointMethodTypes["checks"]["listSuitesForRef"]["parameters"]): Promise; - defaults: RequestInterface["defaults"]; - endpoint: EndpointInterface<{ - url: string; - }>; - }; - /** - * Triggers GitHub to rerequest an existing check suite, without pushing new code to a repository. This endpoint will trigger the [`check_suite` webhook](https://docs.github.com/webhooks/event-payloads/#check_suite) event with the action `rerequested`. When a check suite is `rerequested`, its `status` is reset to `queued` and the `conclusion` is cleared. - * - * To rerequest a check suite, your GitHub App must have the `checks:read` permission on a private repository or pull access to a public repository. - */ - rerequestSuite: { - (params?: RestEndpointMethodTypes["checks"]["rerequestSuite"]["parameters"]): Promise; - defaults: RequestInterface["defaults"]; - endpoint: EndpointInterface<{ - url: string; - }>; - }; - /** - * Changes the default automatic flow when creating check suites. By default, a check suite is automatically created each time code is pushed to a repository. When you disable the automatic creation of check suites, you can manually [Create a check suite](https://docs.github.com/rest/reference/checks#create-a-check-suite). You must have admin permissions in the repository to set preferences for check suites. - */ - setSuitesPreferences: { - (params?: RestEndpointMethodTypes["checks"]["setSuitesPreferences"]["parameters"]): Promise; - defaults: RequestInterface["defaults"]; - endpoint: EndpointInterface<{ - url: string; - }>; - }; - /** - * **Note:** The Checks API only looks for pushes in the repository where the check suite or check run were created. Pushes to a branch in a forked repository are not detected and return an empty `pull_requests` array. - * - * Updates a check run for a specific commit in a repository. Your GitHub App must have the `checks:write` permission to edit check runs. - */ - update: { - (params?: RestEndpointMethodTypes["checks"]["update"]["parameters"]): Promise; - defaults: RequestInterface["defaults"]; - endpoint: EndpointInterface<{ - url: string; - }>; - }; - }; - codeScanning: { - /** - * Deletes a specified code scanning analysis from a repository. For - * private repositories, you must use an access token with the `repo` scope. For public repositories, - * you must use an access token with `public_repo` and `repo:security_events` scopes. - * GitHub Apps must have the `security_events` write permission to use this endpoint. - * - * You can delete one analysis at a time. - * To delete a series of analyses, start with the most recent analysis and work backwards. - * Conceptually, the process is similar to the undo function in a text editor. - * - * When you list the analyses for a repository, - * one or more will be identified as deletable in the response: - * - * ``` - * "deletable": true - * ``` - * - * An analysis is deletable when it's the most recent in a set of analyses. - * Typically, a repository will have multiple sets of analyses - * for each enabled code scanning tool, - * where a set is determined by a unique combination of analysis values: - * - * * `ref` - * * `tool` - * * `analysis_key` - * * `environment` - * - * If you attempt to delete an analysis that is not the most recent in a set, - * you'll get a 400 response with the message: - * - * ``` - * Analysis specified is not deletable. - * ``` - * - * The response from a successful `DELETE` operation provides you with - * two alternative URLs for deleting the next analysis in the set - * (see the example default response below). - * Use the `next_analysis_url` URL if you want to avoid accidentally deleting the final analysis - * in the set. This is a useful option if you want to preserve at least one analysis - * for the specified tool in your repository. - * Use the `confirm_delete_url` URL if you are content to remove all analyses for a tool. - * When you delete the last analysis in a set the value of `next_analysis_url` and `confirm_delete_url` - * in the 200 response is `null`. - * - * As an example of the deletion process, - * let's imagine that you added a workflow that configured a particular code scanning tool - * to analyze the code in a repository. This tool has added 15 analyses: - * 10 on the default branch, and another 5 on a topic branch. - * You therefore have two separate sets of analyses for this tool. - * You've now decided that you want to remove all of the analyses for the tool. - * To do this you must make 15 separate deletion requests. - * To start, you must find the deletable analysis for one of the sets, - * step through deleting the analyses in that set, - * and then repeat the process for the second set. - * The procedure therefore consists of a nested loop: - * - * **Outer loop**: - * * List the analyses for the repository, filtered by tool. - * * Parse this list to find a deletable analysis. If found: - * - * **Inner loop**: - * * Delete the identified analysis. - * * Parse the response for the value of `confirm_delete_url` and, if found, use this in the next iteration. - * - * The above process assumes that you want to remove all trace of the tool's analyses from the GitHub user interface, for the specified repository, and it therefore uses the `confirm_delete_url` value. Alternatively, you could use the `next_analysis_url` value, which would leave the last analysis in each set undeleted to avoid removing a tool's analysis entirely. - */ - deleteAnalysis: { - (params?: RestEndpointMethodTypes["codeScanning"]["deleteAnalysis"]["parameters"]): Promise; - defaults: RequestInterface["defaults"]; - endpoint: EndpointInterface<{ - url: string; - }>; - }; - /** - * Gets a single code scanning alert. You must use an access token with the `security_events` scope to use this endpoint. GitHub Apps must have the `security_events` read permission to use this endpoint. - * - * **Deprecation notice**: - * The instances field is deprecated and will, in future, not be included in the response for this endpoint. The example response reflects this change. The same information can now be retrieved via a GET request to the URL specified by `instances_url`. - */ - getAlert: { - (params?: RestEndpointMethodTypes["codeScanning"]["getAlert"]["parameters"]): Promise; - defaults: RequestInterface["defaults"]; - endpoint: EndpointInterface<{ - url: string; - }>; - }; - /** - * Gets a specified code scanning analysis for a repository. - * You must use an access token with the `security_events` scope to use this endpoint. - * GitHub Apps must have the `security_events` read permission to use this endpoint. - * - * The default JSON response contains fields that describe the analysis. - * This includes the Git reference and commit SHA to which the analysis relates, - * the datetime of the analysis, the name of the code scanning tool, - * and the number of alerts. - * - * The `rules_count` field in the default response give the number of rules - * that were run in the analysis. - * For very old analyses this data is not available, - * and `0` is returned in this field. - * - * If you use the Accept header `application/sarif+json`, - * the response contains the analysis data that was uploaded. - * This is formatted as - * [SARIF version 2.1.0](https://docs.oasis-open.org/sarif/sarif/v2.1.0/cs01/sarif-v2.1.0-cs01.html). - * - * **Deprecation notice**: - * The `tool_name` field is deprecated and will, in future, not be included in the response for this endpoint. The example response reflects this change. The tool name can now be found inside the `tool` field. - */ - getAnalysis: { - (params?: RestEndpointMethodTypes["codeScanning"]["getAnalysis"]["parameters"]): Promise; - defaults: RequestInterface["defaults"]; - endpoint: EndpointInterface<{ - url: string; - }>; - }; - /** - * Gets information about a SARIF upload, including the status and the URL of the analysis that was uploaded so that you can retrieve details of the analysis. For more information, see "[Get a code scanning analysis for a repository](/rest/reference/code-scanning#get-a-code-scanning-analysis-for-a-repository)." You must use an access token with the `security_events` scope to use this endpoint. GitHub Apps must have the `security_events` read permission to use this endpoint. - */ - getSarif: { - (params?: RestEndpointMethodTypes["codeScanning"]["getSarif"]["parameters"]): Promise; - defaults: RequestInterface["defaults"]; - endpoint: EndpointInterface<{ - url: string; - }>; - }; - /** - * Lists all instances of the specified code scanning alert. You must use an access token with the `security_events` scope to use this endpoint. GitHub Apps must have the `security_events` read permission to use this endpoint. - */ - listAlertInstances: { - (params?: RestEndpointMethodTypes["codeScanning"]["listAlertInstances"]["parameters"]): Promise; - defaults: RequestInterface["defaults"]; - endpoint: EndpointInterface<{ - url: string; - }>; - }; - /** - * Lists all open code scanning alerts for the default branch (usually `main` - * or `master`). You must use an access token with the `security_events` scope to use - * this endpoint. GitHub Apps must have the `security_events` read permission to use - * this endpoint. - * - * The response includes a `most_recent_instance` object. - * This provides details of the most recent instance of this alert - * for the default branch or for the specified Git reference - * (if you used `ref` in the request). - */ - listAlertsForRepo: { - (params?: RestEndpointMethodTypes["codeScanning"]["listAlertsForRepo"]["parameters"]): Promise; - defaults: RequestInterface["defaults"]; - endpoint: EndpointInterface<{ - url: string; - }>; - }; - /** - * Lists all instances of the specified code scanning alert. You must use an access token with the `security_events` scope to use this endpoint. GitHub Apps must have the `security_events` read permission to use this endpoint. - * @deprecated octokit.rest.codeScanning.listAlertsInstances() has been renamed to octokit.rest.codeScanning.listAlertInstances() (2021-04-30) - */ - listAlertsInstances: { - (params?: RestEndpointMethodTypes["codeScanning"]["listAlertsInstances"]["parameters"]): Promise; - defaults: RequestInterface["defaults"]; - endpoint: EndpointInterface<{ - url: string; - }>; - }; - /** - * Lists the details of all code scanning analyses for a repository, - * starting with the most recent. - * The response is paginated and you can use the `page` and `per_page` parameters - * to list the analyses you're interested in. - * By default 30 analyses are listed per page. - * - * The `rules_count` field in the response give the number of rules - * that were run in the analysis. - * For very old analyses this data is not available, - * and `0` is returned in this field. - * - * You must use an access token with the `security_events` scope to use this endpoint. - * GitHub Apps must have the `security_events` read permission to use this endpoint. - * - * **Deprecation notice**: - * The `tool_name` field is deprecated and will, in future, not be included in the response for this endpoint. The example response reflects this change. The tool name can now be found inside the `tool` field. - */ - listRecentAnalyses: { - (params?: RestEndpointMethodTypes["codeScanning"]["listRecentAnalyses"]["parameters"]): Promise; - defaults: RequestInterface["defaults"]; - endpoint: EndpointInterface<{ - url: string; - }>; - }; - /** - * Updates the status of a single code scanning alert. You must use an access token with the `security_events` scope to use this endpoint. GitHub Apps must have the `security_events` write permission to use this endpoint. - */ - updateAlert: { - (params?: RestEndpointMethodTypes["codeScanning"]["updateAlert"]["parameters"]): Promise; - defaults: RequestInterface["defaults"]; - endpoint: EndpointInterface<{ - url: string; - }>; - }; - /** - * Uploads SARIF data containing the results of a code scanning analysis to make the results available in a repository. You must use an access token with the `security_events` scope to use this endpoint. GitHub Apps must have the `security_events` write permission to use this endpoint. - * - * There are two places where you can upload code scanning results. - * - If you upload to a pull request, for example `--ref refs/pull/42/merge` or `--ref refs/pull/42/head`, then the results appear as alerts in a pull request check. For more information, see "[Triaging code scanning alerts in pull requests](/code-security/secure-coding/triaging-code-scanning-alerts-in-pull-requests)." - * - If you upload to a branch, for example `--ref refs/heads/my-branch`, then the results appear in the **Security** tab for your repository. For more information, see "[Managing code scanning alerts for your repository](/code-security/secure-coding/managing-code-scanning-alerts-for-your-repository#viewing-the-alerts-for-a-repository)." - * - * You must compress the SARIF-formatted analysis data that you want to upload, using `gzip`, and then encode it as a Base64 format string. For example: - * - * ``` - * gzip -c analysis-data.sarif | base64 -w0 - * ``` - * - * SARIF upload supports a maximum of 5000 results per analysis run. Any results over this limit are ignored and any SARIF uploads with more than 25,000 results are rejected. Typically, but not necessarily, a SARIF file contains a single run of a single tool. If a code scanning tool generates too many results, you should update the analysis configuration to run only the most important rules or queries. - * - * The `202 Accepted`, response includes an `id` value. - * You can use this ID to check the status of the upload by using this for the `/sarifs/{sarif_id}` endpoint. - * For more information, see "[Get information about a SARIF upload](/rest/reference/code-scanning#get-information-about-a-sarif-upload)." - */ - uploadSarif: { - (params?: RestEndpointMethodTypes["codeScanning"]["uploadSarif"]["parameters"]): Promise; - defaults: RequestInterface["defaults"]; - endpoint: EndpointInterface<{ - url: string; - }>; - }; - }; - codesOfConduct: { - getAllCodesOfConduct: { - (params?: RestEndpointMethodTypes["codesOfConduct"]["getAllCodesOfConduct"]["parameters"]): Promise; - defaults: RequestInterface["defaults"]; - endpoint: EndpointInterface<{ - url: string; - }>; - }; - getConductCode: { - (params?: RestEndpointMethodTypes["codesOfConduct"]["getConductCode"]["parameters"]): Promise; - defaults: RequestInterface["defaults"]; - endpoint: EndpointInterface<{ - url: string; - }>; - }; - /** - * Returns the contents of the repository's code of conduct file, if one is detected. - * - * A code of conduct is detected if there is a file named `CODE_OF_CONDUCT` in the root directory of the repository. GitHub detects which code of conduct it is using fuzzy matching. - */ - getForRepo: { - (params?: RestEndpointMethodTypes["codesOfConduct"]["getForRepo"]["parameters"]): Promise; - defaults: RequestInterface["defaults"]; - endpoint: EndpointInterface<{ - url: string; - }>; - }; - }; - emojis: { - /** - * Lists all the emojis available to use on GitHub. - */ - get: { - (params?: RestEndpointMethodTypes["emojis"]["get"]["parameters"]): Promise; - defaults: RequestInterface["defaults"]; - endpoint: EndpointInterface<{ - url: string; - }>; - }; - }; - enterpriseAdmin: { - /** - * Removes an organization from the list of selected organizations that are enabled for GitHub Actions in an enterprise. To use this endpoint, the enterprise permission policy for `enabled_organizations` must be configured to `selected`. For more information, see "[Set GitHub Actions permissions for an enterprise](#set-github-actions-permissions-for-an-enterprise)." - * - * You must authenticate using an access token with the `admin:enterprise` scope to use this endpoint. - */ - disableSelectedOrganizationGithubActionsEnterprise: { - (params?: RestEndpointMethodTypes["enterpriseAdmin"]["disableSelectedOrganizationGithubActionsEnterprise"]["parameters"]): Promise; - defaults: RequestInterface["defaults"]; - endpoint: EndpointInterface<{ - url: string; - }>; - }; - /** - * Adds an organization to the list of selected organizations that are enabled for GitHub Actions in an enterprise. To use this endpoint, the enterprise permission policy for `enabled_organizations` must be configured to `selected`. For more information, see "[Set GitHub Actions permissions for an enterprise](#set-github-actions-permissions-for-an-enterprise)." - * - * You must authenticate using an access token with the `admin:enterprise` scope to use this endpoint. - */ - enableSelectedOrganizationGithubActionsEnterprise: { - (params?: RestEndpointMethodTypes["enterpriseAdmin"]["enableSelectedOrganizationGithubActionsEnterprise"]["parameters"]): Promise; - defaults: RequestInterface["defaults"]; - endpoint: EndpointInterface<{ - url: string; - }>; - }; - /** - * Gets the selected actions that are allowed in an enterprise. To use this endpoint, the enterprise permission policy for `allowed_actions` must be configured to `selected`. For more information, see "[Set GitHub Actions permissions for an enterprise](#set-github-actions-permissions-for-an-enterprise)." - * - * You must authenticate using an access token with the `admin:enterprise` scope to use this endpoint. - */ - getAllowedActionsEnterprise: { - (params?: RestEndpointMethodTypes["enterpriseAdmin"]["getAllowedActionsEnterprise"]["parameters"]): Promise; - defaults: RequestInterface["defaults"]; - endpoint: EndpointInterface<{ - url: string; - }>; - }; - /** - * Gets the GitHub Actions permissions policy for organizations and allowed actions in an enterprise. - * - * You must authenticate using an access token with the `admin:enterprise` scope to use this endpoint. - */ - getGithubActionsPermissionsEnterprise: { - (params?: RestEndpointMethodTypes["enterpriseAdmin"]["getGithubActionsPermissionsEnterprise"]["parameters"]): Promise; - defaults: RequestInterface["defaults"]; - endpoint: EndpointInterface<{ - url: string; - }>; - }; - /** - * Lists the organizations that are selected to have GitHub Actions enabled in an enterprise. To use this endpoint, the enterprise permission policy for `enabled_organizations` must be configured to `selected`. For more information, see "[Set GitHub Actions permissions for an enterprise](#set-github-actions-permissions-for-an-enterprise)." - * - * You must authenticate using an access token with the `admin:enterprise` scope to use this endpoint. - */ - listSelectedOrganizationsEnabledGithubActionsEnterprise: { - (params?: RestEndpointMethodTypes["enterpriseAdmin"]["listSelectedOrganizationsEnabledGithubActionsEnterprise"]["parameters"]): Promise; - defaults: RequestInterface["defaults"]; - endpoint: EndpointInterface<{ - url: string; - }>; - }; - /** - * Sets the actions that are allowed in an enterprise. To use this endpoint, the enterprise permission policy for `allowed_actions` must be configured to `selected`. For more information, see "[Set GitHub Actions permissions for an enterprise](#set-github-actions-permissions-for-an-enterprise)." - * - * You must authenticate using an access token with the `admin:enterprise` scope to use this endpoint. - */ - setAllowedActionsEnterprise: { - (params?: RestEndpointMethodTypes["enterpriseAdmin"]["setAllowedActionsEnterprise"]["parameters"]): Promise; - defaults: RequestInterface["defaults"]; - endpoint: EndpointInterface<{ - url: string; - }>; - }; - /** - * Sets the GitHub Actions permissions policy for organizations and allowed actions in an enterprise. - * - * You must authenticate using an access token with the `admin:enterprise` scope to use this endpoint. - */ - setGithubActionsPermissionsEnterprise: { - (params?: RestEndpointMethodTypes["enterpriseAdmin"]["setGithubActionsPermissionsEnterprise"]["parameters"]): Promise; - defaults: RequestInterface["defaults"]; - endpoint: EndpointInterface<{ - url: string; - }>; - }; - /** - * Replaces the list of selected organizations that are enabled for GitHub Actions in an enterprise. To use this endpoint, the enterprise permission policy for `enabled_organizations` must be configured to `selected`. For more information, see "[Set GitHub Actions permissions for an enterprise](#set-github-actions-permissions-for-an-enterprise)." - * - * You must authenticate using an access token with the `admin:enterprise` scope to use this endpoint. - */ - setSelectedOrganizationsEnabledGithubActionsEnterprise: { - (params?: RestEndpointMethodTypes["enterpriseAdmin"]["setSelectedOrganizationsEnabledGithubActionsEnterprise"]["parameters"]): Promise; - defaults: RequestInterface["defaults"]; - endpoint: EndpointInterface<{ - url: string; - }>; - }; - }; - gists: { - checkIsStarred: { - (params?: RestEndpointMethodTypes["gists"]["checkIsStarred"]["parameters"]): Promise; - defaults: RequestInterface["defaults"]; - endpoint: EndpointInterface<{ - url: string; - }>; - }; - /** - * Allows you to add a new gist with one or more files. - * - * **Note:** Don't name your files "gistfile" with a numerical suffix. This is the format of the automatic naming scheme that Gist uses internally. - */ - create: { - (params?: RestEndpointMethodTypes["gists"]["create"]["parameters"]): Promise; - defaults: RequestInterface["defaults"]; - endpoint: EndpointInterface<{ - url: string; - }>; - }; - createComment: { - (params?: RestEndpointMethodTypes["gists"]["createComment"]["parameters"]): Promise; - defaults: RequestInterface["defaults"]; - endpoint: EndpointInterface<{ - url: string; - }>; - }; - delete: { - (params?: RestEndpointMethodTypes["gists"]["delete"]["parameters"]): Promise; - defaults: RequestInterface["defaults"]; - endpoint: EndpointInterface<{ - url: string; - }>; - }; - deleteComment: { - (params?: RestEndpointMethodTypes["gists"]["deleteComment"]["parameters"]): Promise; - defaults: RequestInterface["defaults"]; - endpoint: EndpointInterface<{ - url: string; - }>; - }; - /** - * **Note**: This was previously `/gists/:gist_id/fork`. - */ - fork: { - (params?: RestEndpointMethodTypes["gists"]["fork"]["parameters"]): Promise; - defaults: RequestInterface["defaults"]; - endpoint: EndpointInterface<{ - url: string; - }>; - }; - get: { - (params?: RestEndpointMethodTypes["gists"]["get"]["parameters"]): Promise; - defaults: RequestInterface["defaults"]; - endpoint: EndpointInterface<{ - url: string; - }>; - }; - getComment: { - (params?: RestEndpointMethodTypes["gists"]["getComment"]["parameters"]): Promise; - defaults: RequestInterface["defaults"]; - endpoint: EndpointInterface<{ - url: string; - }>; - }; - getRevision: { - (params?: RestEndpointMethodTypes["gists"]["getRevision"]["parameters"]): Promise; - defaults: RequestInterface["defaults"]; - endpoint: EndpointInterface<{ - url: string; - }>; - }; - /** - * Lists the authenticated user's gists or if called anonymously, this endpoint returns all public gists: - */ - list: { - (params?: RestEndpointMethodTypes["gists"]["list"]["parameters"]): Promise; - defaults: RequestInterface["defaults"]; - endpoint: EndpointInterface<{ - url: string; - }>; - }; - listComments: { - (params?: RestEndpointMethodTypes["gists"]["listComments"]["parameters"]): Promise; - defaults: RequestInterface["defaults"]; - endpoint: EndpointInterface<{ - url: string; - }>; - }; - listCommits: { - (params?: RestEndpointMethodTypes["gists"]["listCommits"]["parameters"]): Promise; - defaults: RequestInterface["defaults"]; - endpoint: EndpointInterface<{ - url: string; - }>; - }; - /** - * Lists public gists for the specified user: - */ - listForUser: { - (params?: RestEndpointMethodTypes["gists"]["listForUser"]["parameters"]): Promise; - defaults: RequestInterface["defaults"]; - endpoint: EndpointInterface<{ - url: string; - }>; - }; - listForks: { - (params?: RestEndpointMethodTypes["gists"]["listForks"]["parameters"]): Promise; - defaults: RequestInterface["defaults"]; - endpoint: EndpointInterface<{ - url: string; - }>; - }; - /** - * List public gists sorted by most recently updated to least recently updated. - * - * Note: With [pagination](https://docs.github.com/rest/overview/resources-in-the-rest-api#pagination), you can fetch up to 3000 gists. For example, you can fetch 100 pages with 30 gists per page or 30 pages with 100 gists per page. - */ - listPublic: { - (params?: RestEndpointMethodTypes["gists"]["listPublic"]["parameters"]): Promise; - defaults: RequestInterface["defaults"]; - endpoint: EndpointInterface<{ - url: string; - }>; - }; - /** - * List the authenticated user's starred gists: - */ - listStarred: { - (params?: RestEndpointMethodTypes["gists"]["listStarred"]["parameters"]): Promise; - defaults: RequestInterface["defaults"]; - endpoint: EndpointInterface<{ - url: string; - }>; - }; - /** - * Note that you'll need to set `Content-Length` to zero when calling out to this endpoint. For more information, see "[HTTP verbs](https://docs.github.com/rest/overview/resources-in-the-rest-api#http-verbs)." - */ - star: { - (params?: RestEndpointMethodTypes["gists"]["star"]["parameters"]): Promise; - defaults: RequestInterface["defaults"]; - endpoint: EndpointInterface<{ - url: string; - }>; - }; - unstar: { - (params?: RestEndpointMethodTypes["gists"]["unstar"]["parameters"]): Promise; - defaults: RequestInterface["defaults"]; - endpoint: EndpointInterface<{ - url: string; - }>; - }; - /** - * Allows you to update or delete a gist file and rename gist files. Files from the previous version of the gist that aren't explicitly changed during an edit are unchanged. - */ - update: { - (params?: RestEndpointMethodTypes["gists"]["update"]["parameters"]): Promise; - defaults: RequestInterface["defaults"]; - endpoint: EndpointInterface<{ - url: string; - }>; - }; - updateComment: { - (params?: RestEndpointMethodTypes["gists"]["updateComment"]["parameters"]): Promise; - defaults: RequestInterface["defaults"]; - endpoint: EndpointInterface<{ - url: string; - }>; - }; - }; - git: { - createBlob: { - (params?: RestEndpointMethodTypes["git"]["createBlob"]["parameters"]): Promise; - defaults: RequestInterface["defaults"]; - endpoint: EndpointInterface<{ - url: string; - }>; - }; - /** - * Creates a new Git [commit object](https://git-scm.com/book/en/v1/Git-Internals-Git-Objects#Commit-Objects). - * - * **Signature verification object** - * - * The response will include a `verification` object that describes the result of verifying the commit's signature. The following fields are included in the `verification` object: - * - * | Name | Type | Description | - * | ---- | ---- | ----------- | - * | `verified` | `boolean` | Indicates whether GitHub considers the signature in this commit to be verified. | - * | `reason` | `string` | The reason for verified value. Possible values and their meanings are enumerated in table below. | - * | `signature` | `string` | The signature that was extracted from the commit. | - * | `payload` | `string` | The value that was signed. | - * - * These are the possible values for `reason` in the `verification` object: - * - * | Value | Description | - * | ----- | ----------- | - * | `expired_key` | The key that made the signature is expired. | - * | `not_signing_key` | The "signing" flag is not among the usage flags in the GPG key that made the signature. | - * | `gpgverify_error` | There was an error communicating with the signature verification service. | - * | `gpgverify_unavailable` | The signature verification service is currently unavailable. | - * | `unsigned` | The object does not include a signature. | - * | `unknown_signature_type` | A non-PGP signature was found in the commit. | - * | `no_user` | No user was associated with the `committer` email address in the commit. | - * | `unverified_email` | The `committer` email address in the commit was associated with a user, but the email address is not verified on her/his account. | - * | `bad_email` | The `committer` email address in the commit is not included in the identities of the PGP key that made the signature. | - * | `unknown_key` | The key that made the signature has not been registered with any user's account. | - * | `malformed_signature` | There was an error parsing the signature. | - * | `invalid` | The signature could not be cryptographically verified using the key whose key-id was found in the signature. | - * | `valid` | None of the above errors applied, so the signature is considered to be verified. | - */ - createCommit: { - (params?: RestEndpointMethodTypes["git"]["createCommit"]["parameters"]): Promise; - defaults: RequestInterface["defaults"]; - endpoint: EndpointInterface<{ - url: string; - }>; - }; - /** - * Creates a reference for your repository. You are unable to create new references for empty repositories, even if the commit SHA-1 hash used exists. Empty repositories are repositories without branches. - */ - createRef: { - (params?: RestEndpointMethodTypes["git"]["createRef"]["parameters"]): Promise; - defaults: RequestInterface["defaults"]; - endpoint: EndpointInterface<{ - url: string; - }>; - }; - /** - * Note that creating a tag object does not create the reference that makes a tag in Git. If you want to create an annotated tag in Git, you have to do this call to create the tag object, and then [create](https://docs.github.com/rest/reference/git#create-a-reference) the `refs/tags/[tag]` reference. If you want to create a lightweight tag, you only have to [create](https://docs.github.com/rest/reference/git#create-a-reference) the tag reference - this call would be unnecessary. - * - * **Signature verification object** - * - * The response will include a `verification` object that describes the result of verifying the commit's signature. The following fields are included in the `verification` object: - * - * | Name | Type | Description | - * | ---- | ---- | ----------- | - * | `verified` | `boolean` | Indicates whether GitHub considers the signature in this commit to be verified. | - * | `reason` | `string` | The reason for verified value. Possible values and their meanings are enumerated in table below. | - * | `signature` | `string` | The signature that was extracted from the commit. | - * | `payload` | `string` | The value that was signed. | - * - * These are the possible values for `reason` in the `verification` object: - * - * | Value | Description | - * | ----- | ----------- | - * | `expired_key` | The key that made the signature is expired. | - * | `not_signing_key` | The "signing" flag is not among the usage flags in the GPG key that made the signature. | - * | `gpgverify_error` | There was an error communicating with the signature verification service. | - * | `gpgverify_unavailable` | The signature verification service is currently unavailable. | - * | `unsigned` | The object does not include a signature. | - * | `unknown_signature_type` | A non-PGP signature was found in the commit. | - * | `no_user` | No user was associated with the `committer` email address in the commit. | - * | `unverified_email` | The `committer` email address in the commit was associated with a user, but the email address is not verified on her/his account. | - * | `bad_email` | The `committer` email address in the commit is not included in the identities of the PGP key that made the signature. | - * | `unknown_key` | The key that made the signature has not been registered with any user's account. | - * | `malformed_signature` | There was an error parsing the signature. | - * | `invalid` | The signature could not be cryptographically verified using the key whose key-id was found in the signature. | - * | `valid` | None of the above errors applied, so the signature is considered to be verified. | - */ - createTag: { - (params?: RestEndpointMethodTypes["git"]["createTag"]["parameters"]): Promise; - defaults: RequestInterface["defaults"]; - endpoint: EndpointInterface<{ - url: string; - }>; - }; - /** - * The tree creation API accepts nested entries. If you specify both a tree and a nested path modifying that tree, this endpoint will overwrite the contents of the tree with the new path contents, and create a new tree structure. - * - * If you use this endpoint to add, delete, or modify the file contents in a tree, you will need to commit the tree and then update a branch to point to the commit. For more information see "[Create a commit](https://docs.github.com/rest/reference/git#create-a-commit)" and "[Update a reference](https://docs.github.com/rest/reference/git#update-a-reference)." - */ - createTree: { - (params?: RestEndpointMethodTypes["git"]["createTree"]["parameters"]): Promise; - defaults: RequestInterface["defaults"]; - endpoint: EndpointInterface<{ - url: string; - }>; - }; - deleteRef: { - (params?: RestEndpointMethodTypes["git"]["deleteRef"]["parameters"]): Promise; - defaults: RequestInterface["defaults"]; - endpoint: EndpointInterface<{ - url: string; - }>; - }; - /** - * The `content` in the response will always be Base64 encoded. - * - * _Note_: This API supports blobs up to 100 megabytes in size. - */ - getBlob: { - (params?: RestEndpointMethodTypes["git"]["getBlob"]["parameters"]): Promise; - defaults: RequestInterface["defaults"]; - endpoint: EndpointInterface<{ - url: string; - }>; - }; - /** - * Gets a Git [commit object](https://git-scm.com/book/en/v1/Git-Internals-Git-Objects#Commit-Objects). - * - * **Signature verification object** - * - * The response will include a `verification` object that describes the result of verifying the commit's signature. The following fields are included in the `verification` object: - * - * | Name | Type | Description | - * | ---- | ---- | ----------- | - * | `verified` | `boolean` | Indicates whether GitHub considers the signature in this commit to be verified. | - * | `reason` | `string` | The reason for verified value. Possible values and their meanings are enumerated in table below. | - * | `signature` | `string` | The signature that was extracted from the commit. | - * | `payload` | `string` | The value that was signed. | - * - * These are the possible values for `reason` in the `verification` object: - * - * | Value | Description | - * | ----- | ----------- | - * | `expired_key` | The key that made the signature is expired. | - * | `not_signing_key` | The "signing" flag is not among the usage flags in the GPG key that made the signature. | - * | `gpgverify_error` | There was an error communicating with the signature verification service. | - * | `gpgverify_unavailable` | The signature verification service is currently unavailable. | - * | `unsigned` | The object does not include a signature. | - * | `unknown_signature_type` | A non-PGP signature was found in the commit. | - * | `no_user` | No user was associated with the `committer` email address in the commit. | - * | `unverified_email` | The `committer` email address in the commit was associated with a user, but the email address is not verified on her/his account. | - * | `bad_email` | The `committer` email address in the commit is not included in the identities of the PGP key that made the signature. | - * | `unknown_key` | The key that made the signature has not been registered with any user's account. | - * | `malformed_signature` | There was an error parsing the signature. | - * | `invalid` | The signature could not be cryptographically verified using the key whose key-id was found in the signature. | - * | `valid` | None of the above errors applied, so the signature is considered to be verified. | - */ - getCommit: { - (params?: RestEndpointMethodTypes["git"]["getCommit"]["parameters"]): Promise; - defaults: RequestInterface["defaults"]; - endpoint: EndpointInterface<{ - url: string; - }>; - }; - /** - * Returns a single reference from your Git database. The `:ref` in the URL must be formatted as `heads/` for branches and `tags/` for tags. If the `:ref` doesn't match an existing ref, a `404` is returned. - * - * **Note:** You need to explicitly [request a pull request](https://docs.github.com/rest/reference/pulls#get-a-pull-request) to trigger a test merge commit, which checks the mergeability of pull requests. For more information, see "[Checking mergeability of pull requests](https://docs.github.com/rest/guides/getting-started-with-the-git-database-api#checking-mergeability-of-pull-requests)". - */ - getRef: { - (params?: RestEndpointMethodTypes["git"]["getRef"]["parameters"]): Promise; - defaults: RequestInterface["defaults"]; - endpoint: EndpointInterface<{ - url: string; - }>; - }; - /** - * **Signature verification object** - * - * The response will include a `verification` object that describes the result of verifying the commit's signature. The following fields are included in the `verification` object: - * - * | Name | Type | Description | - * | ---- | ---- | ----------- | - * | `verified` | `boolean` | Indicates whether GitHub considers the signature in this commit to be verified. | - * | `reason` | `string` | The reason for verified value. Possible values and their meanings are enumerated in table below. | - * | `signature` | `string` | The signature that was extracted from the commit. | - * | `payload` | `string` | The value that was signed. | - * - * These are the possible values for `reason` in the `verification` object: - * - * | Value | Description | - * | ----- | ----------- | - * | `expired_key` | The key that made the signature is expired. | - * | `not_signing_key` | The "signing" flag is not among the usage flags in the GPG key that made the signature. | - * | `gpgverify_error` | There was an error communicating with the signature verification service. | - * | `gpgverify_unavailable` | The signature verification service is currently unavailable. | - * | `unsigned` | The object does not include a signature. | - * | `unknown_signature_type` | A non-PGP signature was found in the commit. | - * | `no_user` | No user was associated with the `committer` email address in the commit. | - * | `unverified_email` | The `committer` email address in the commit was associated with a user, but the email address is not verified on her/his account. | - * | `bad_email` | The `committer` email address in the commit is not included in the identities of the PGP key that made the signature. | - * | `unknown_key` | The key that made the signature has not been registered with any user's account. | - * | `malformed_signature` | There was an error parsing the signature. | - * | `invalid` | The signature could not be cryptographically verified using the key whose key-id was found in the signature. | - * | `valid` | None of the above errors applied, so the signature is considered to be verified. | - */ - getTag: { - (params?: RestEndpointMethodTypes["git"]["getTag"]["parameters"]): Promise; - defaults: RequestInterface["defaults"]; - endpoint: EndpointInterface<{ - url: string; - }>; - }; - /** - * Returns a single tree using the SHA1 value for that tree. - * - * If `truncated` is `true` in the response then the number of items in the `tree` array exceeded our maximum limit. If you need to fetch more items, use the non-recursive method of fetching trees, and fetch one sub-tree at a time. - */ - getTree: { - (params?: RestEndpointMethodTypes["git"]["getTree"]["parameters"]): Promise; - defaults: RequestInterface["defaults"]; - endpoint: EndpointInterface<{ - url: string; - }>; - }; - /** - * Returns an array of references from your Git database that match the supplied name. The `:ref` in the URL must be formatted as `heads/` for branches and `tags/` for tags. If the `:ref` doesn't exist in the repository, but existing refs start with `:ref`, they will be returned as an array. - * - * When you use this endpoint without providing a `:ref`, it will return an array of all the references from your Git database, including notes and stashes if they exist on the server. Anything in the namespace is returned, not just `heads` and `tags`. - * - * **Note:** You need to explicitly [request a pull request](https://docs.github.com/rest/reference/pulls#get-a-pull-request) to trigger a test merge commit, which checks the mergeability of pull requests. For more information, see "[Checking mergeability of pull requests](https://docs.github.com/rest/guides/getting-started-with-the-git-database-api#checking-mergeability-of-pull-requests)". - * - * If you request matching references for a branch named `feature` but the branch `feature` doesn't exist, the response can still include other matching head refs that start with the word `feature`, such as `featureA` and `featureB`. - */ - listMatchingRefs: { - (params?: RestEndpointMethodTypes["git"]["listMatchingRefs"]["parameters"]): Promise; - defaults: RequestInterface["defaults"]; - endpoint: EndpointInterface<{ - url: string; - }>; - }; - updateRef: { - (params?: RestEndpointMethodTypes["git"]["updateRef"]["parameters"]): Promise; - defaults: RequestInterface["defaults"]; - endpoint: EndpointInterface<{ - url: string; - }>; - }; - }; - gitignore: { - /** - * List all templates available to pass as an option when [creating a repository](https://docs.github.com/rest/reference/repos#create-a-repository-for-the-authenticated-user). - */ - getAllTemplates: { - (params?: RestEndpointMethodTypes["gitignore"]["getAllTemplates"]["parameters"]): Promise; - defaults: RequestInterface["defaults"]; - endpoint: EndpointInterface<{ - url: string; - }>; - }; - /** - * The API also allows fetching the source of a single template. - * Use the raw [media type](https://docs.github.com/rest/overview/media-types/) to get the raw contents. - */ - getTemplate: { - (params?: RestEndpointMethodTypes["gitignore"]["getTemplate"]["parameters"]): Promise; - defaults: RequestInterface["defaults"]; - endpoint: EndpointInterface<{ - url: string; - }>; - }; - }; - interactions: { - /** - * Shows which type of GitHub user can interact with your public repositories and when the restriction expires. - */ - getRestrictionsForAuthenticatedUser: { - (params?: RestEndpointMethodTypes["interactions"]["getRestrictionsForAuthenticatedUser"]["parameters"]): Promise; - defaults: RequestInterface["defaults"]; - endpoint: EndpointInterface<{ - url: string; - }>; - }; - /** - * Shows which type of GitHub user can interact with this organization and when the restriction expires. If there is no restrictions, you will see an empty response. - */ - getRestrictionsForOrg: { - (params?: RestEndpointMethodTypes["interactions"]["getRestrictionsForOrg"]["parameters"]): Promise; - defaults: RequestInterface["defaults"]; - endpoint: EndpointInterface<{ - url: string; - }>; - }; - /** - * Shows which type of GitHub user can interact with this repository and when the restriction expires. If there are no restrictions, you will see an empty response. - */ - getRestrictionsForRepo: { - (params?: RestEndpointMethodTypes["interactions"]["getRestrictionsForRepo"]["parameters"]): Promise; - defaults: RequestInterface["defaults"]; - endpoint: EndpointInterface<{ - url: string; - }>; - }; - /** - * Shows which type of GitHub user can interact with your public repositories and when the restriction expires. - * @deprecated octokit.rest.interactions.getRestrictionsForYourPublicRepos() has been renamed to octokit.rest.interactions.getRestrictionsForAuthenticatedUser() (2021-02-02) - */ - getRestrictionsForYourPublicRepos: { - (params?: RestEndpointMethodTypes["interactions"]["getRestrictionsForYourPublicRepos"]["parameters"]): Promise; - defaults: RequestInterface["defaults"]; - endpoint: EndpointInterface<{ - url: string; - }>; - }; - /** - * Removes any interaction restrictions from your public repositories. - */ - removeRestrictionsForAuthenticatedUser: { - (params?: RestEndpointMethodTypes["interactions"]["removeRestrictionsForAuthenticatedUser"]["parameters"]): Promise; - defaults: RequestInterface["defaults"]; - endpoint: EndpointInterface<{ - url: string; - }>; - }; - /** - * Removes all interaction restrictions from public repositories in the given organization. You must be an organization owner to remove restrictions. - */ - removeRestrictionsForOrg: { - (params?: RestEndpointMethodTypes["interactions"]["removeRestrictionsForOrg"]["parameters"]): Promise; - defaults: RequestInterface["defaults"]; - endpoint: EndpointInterface<{ - url: string; - }>; - }; - /** - * Removes all interaction restrictions from the given repository. You must have owner or admin access to remove restrictions. If the interaction limit is set for the user or organization that owns this repository, you will receive a `409 Conflict` response and will not be able to use this endpoint to change the interaction limit for a single repository. - */ - removeRestrictionsForRepo: { - (params?: RestEndpointMethodTypes["interactions"]["removeRestrictionsForRepo"]["parameters"]): Promise; - defaults: RequestInterface["defaults"]; - endpoint: EndpointInterface<{ - url: string; - }>; - }; - /** - * Removes any interaction restrictions from your public repositories. - * @deprecated octokit.rest.interactions.removeRestrictionsForYourPublicRepos() has been renamed to octokit.rest.interactions.removeRestrictionsForAuthenticatedUser() (2021-02-02) - */ - removeRestrictionsForYourPublicRepos: { - (params?: RestEndpointMethodTypes["interactions"]["removeRestrictionsForYourPublicRepos"]["parameters"]): Promise; - defaults: RequestInterface["defaults"]; - endpoint: EndpointInterface<{ - url: string; - }>; - }; - /** - * Temporarily restricts which type of GitHub user can interact with your public repositories. Setting the interaction limit at the user level will overwrite any interaction limits that are set for individual repositories owned by the user. - */ - setRestrictionsForAuthenticatedUser: { - (params?: RestEndpointMethodTypes["interactions"]["setRestrictionsForAuthenticatedUser"]["parameters"]): Promise; - defaults: RequestInterface["defaults"]; - endpoint: EndpointInterface<{ - url: string; - }>; - }; - /** - * Temporarily restricts interactions to a certain type of GitHub user in any public repository in the given organization. You must be an organization owner to set these restrictions. Setting the interaction limit at the organization level will overwrite any interaction limits that are set for individual repositories owned by the organization. - */ - setRestrictionsForOrg: { - (params?: RestEndpointMethodTypes["interactions"]["setRestrictionsForOrg"]["parameters"]): Promise; - defaults: RequestInterface["defaults"]; - endpoint: EndpointInterface<{ - url: string; - }>; - }; - /** - * Temporarily restricts interactions to a certain type of GitHub user within the given repository. You must have owner or admin access to set these restrictions. If an interaction limit is set for the user or organization that owns this repository, you will receive a `409 Conflict` response and will not be able to use this endpoint to change the interaction limit for a single repository. - */ - setRestrictionsForRepo: { - (params?: RestEndpointMethodTypes["interactions"]["setRestrictionsForRepo"]["parameters"]): Promise; - defaults: RequestInterface["defaults"]; - endpoint: EndpointInterface<{ - url: string; - }>; - }; - /** - * Temporarily restricts which type of GitHub user can interact with your public repositories. Setting the interaction limit at the user level will overwrite any interaction limits that are set for individual repositories owned by the user. - * @deprecated octokit.rest.interactions.setRestrictionsForYourPublicRepos() has been renamed to octokit.rest.interactions.setRestrictionsForAuthenticatedUser() (2021-02-02) - */ - setRestrictionsForYourPublicRepos: { - (params?: RestEndpointMethodTypes["interactions"]["setRestrictionsForYourPublicRepos"]["parameters"]): Promise; - defaults: RequestInterface["defaults"]; - endpoint: EndpointInterface<{ - url: string; - }>; - }; - }; - issues: { - /** - * Adds up to 10 assignees to an issue. Users already assigned to an issue are not replaced. - */ - addAssignees: { - (params?: RestEndpointMethodTypes["issues"]["addAssignees"]["parameters"]): Promise; - defaults: RequestInterface["defaults"]; - endpoint: EndpointInterface<{ - url: string; - }>; - }; - addLabels: { - (params?: RestEndpointMethodTypes["issues"]["addLabels"]["parameters"]): Promise; - defaults: RequestInterface["defaults"]; - endpoint: EndpointInterface<{ - url: string; - }>; - }; - /** - * Checks if a user has permission to be assigned to an issue in this repository. - * - * If the `assignee` can be assigned to issues in the repository, a `204` header with no content is returned. - * - * Otherwise a `404` status code is returned. - */ - checkUserCanBeAssigned: { - (params?: RestEndpointMethodTypes["issues"]["checkUserCanBeAssigned"]["parameters"]): Promise; - defaults: RequestInterface["defaults"]; - endpoint: EndpointInterface<{ - url: string; - }>; - }; - /** - * Any user with pull access to a repository can create an issue. If [issues are disabled in the repository](https://help.github.com/articles/disabling-issues/), the API returns a `410 Gone` status. - * - * This endpoint triggers [notifications](https://docs.github.com/en/github/managing-subscriptions-and-notifications-on-github/about-notifications). Creating content too quickly using this endpoint may result in abuse rate limiting. See "[Abuse rate limits](https://docs.github.com/rest/overview/resources-in-the-rest-api#abuse-rate-limits)" and "[Dealing with abuse rate limits](https://docs.github.com/rest/guides/best-practices-for-integrators#dealing-with-abuse-rate-limits)" for details. - */ - create: { - (params?: RestEndpointMethodTypes["issues"]["create"]["parameters"]): Promise; - defaults: RequestInterface["defaults"]; - endpoint: EndpointInterface<{ - url: string; - }>; - }; - /** - * This endpoint triggers [notifications](https://docs.github.com/en/github/managing-subscriptions-and-notifications-on-github/about-notifications). Creating content too quickly using this endpoint may result in abuse rate limiting. See "[Abuse rate limits](https://docs.github.com/rest/overview/resources-in-the-rest-api#abuse-rate-limits)" and "[Dealing with abuse rate limits](https://docs.github.com/rest/guides/best-practices-for-integrators#dealing-with-abuse-rate-limits)" for details. - */ - createComment: { - (params?: RestEndpointMethodTypes["issues"]["createComment"]["parameters"]): Promise; - defaults: RequestInterface["defaults"]; - endpoint: EndpointInterface<{ - url: string; - }>; - }; - createLabel: { - (params?: RestEndpointMethodTypes["issues"]["createLabel"]["parameters"]): Promise; - defaults: RequestInterface["defaults"]; - endpoint: EndpointInterface<{ - url: string; - }>; - }; - createMilestone: { - (params?: RestEndpointMethodTypes["issues"]["createMilestone"]["parameters"]): Promise; - defaults: RequestInterface["defaults"]; - endpoint: EndpointInterface<{ - url: string; - }>; - }; - deleteComment: { - (params?: RestEndpointMethodTypes["issues"]["deleteComment"]["parameters"]): Promise; - defaults: RequestInterface["defaults"]; - endpoint: EndpointInterface<{ - url: string; - }>; - }; - deleteLabel: { - (params?: RestEndpointMethodTypes["issues"]["deleteLabel"]["parameters"]): Promise; - defaults: RequestInterface["defaults"]; - endpoint: EndpointInterface<{ - url: string; - }>; - }; - deleteMilestone: { - (params?: RestEndpointMethodTypes["issues"]["deleteMilestone"]["parameters"]): Promise; - defaults: RequestInterface["defaults"]; - endpoint: EndpointInterface<{ - url: string; - }>; - }; - /** - * The API returns a [`301 Moved Permanently` status](https://docs.github.com/rest/overview/resources-in-the-rest-api#http-redirects-redirects) if the issue was - * [transferred](https://help.github.com/articles/transferring-an-issue-to-another-repository/) to another repository. If - * the issue was transferred to or deleted from a repository where the authenticated user lacks read access, the API - * returns a `404 Not Found` status. If the issue was deleted from a repository where the authenticated user has read - * access, the API returns a `410 Gone` status. To receive webhook events for transferred and deleted issues, subscribe - * to the [`issues`](https://docs.github.com/webhooks/event-payloads/#issues) webhook. - * - * **Note**: GitHub's REST API v3 considers every pull request an issue, but not every issue is a pull request. For this - * reason, "Issues" endpoints may return both issues and pull requests in the response. You can identify pull requests by - * the `pull_request` key. Be aware that the `id` of a pull request returned from "Issues" endpoints will be an _issue id_. To find out the pull - * request id, use the "[List pull requests](https://docs.github.com/rest/reference/pulls#list-pull-requests)" endpoint. - */ - get: { - (params?: RestEndpointMethodTypes["issues"]["get"]["parameters"]): Promise; - defaults: RequestInterface["defaults"]; - endpoint: EndpointInterface<{ - url: string; - }>; - }; - getComment: { - (params?: RestEndpointMethodTypes["issues"]["getComment"]["parameters"]): Promise; - defaults: RequestInterface["defaults"]; - endpoint: EndpointInterface<{ - url: string; - }>; - }; - getEvent: { - (params?: RestEndpointMethodTypes["issues"]["getEvent"]["parameters"]): Promise; - defaults: RequestInterface["defaults"]; - endpoint: EndpointInterface<{ - url: string; - }>; - }; - getLabel: { - (params?: RestEndpointMethodTypes["issues"]["getLabel"]["parameters"]): Promise; - defaults: RequestInterface["defaults"]; - endpoint: EndpointInterface<{ - url: string; - }>; - }; - getMilestone: { - (params?: RestEndpointMethodTypes["issues"]["getMilestone"]["parameters"]): Promise; - defaults: RequestInterface["defaults"]; - endpoint: EndpointInterface<{ - url: string; - }>; - }; - /** - * List issues assigned to the authenticated user across all visible repositories including owned repositories, member - * repositories, and organization repositories. You can use the `filter` query parameter to fetch issues that are not - * necessarily assigned to you. - * - * - * **Note**: GitHub's REST API v3 considers every pull request an issue, but not every issue is a pull request. For this - * reason, "Issues" endpoints may return both issues and pull requests in the response. You can identify pull requests by - * the `pull_request` key. Be aware that the `id` of a pull request returned from "Issues" endpoints will be an _issue id_. To find out the pull - * request id, use the "[List pull requests](https://docs.github.com/rest/reference/pulls#list-pull-requests)" endpoint. - */ - list: { - (params?: RestEndpointMethodTypes["issues"]["list"]["parameters"]): Promise; - defaults: RequestInterface["defaults"]; - endpoint: EndpointInterface<{ - url: string; - }>; - }; - /** - * Lists the [available assignees](https://help.github.com/articles/assigning-issues-and-pull-requests-to-other-github-users/) for issues in a repository. - */ - listAssignees: { - (params?: RestEndpointMethodTypes["issues"]["listAssignees"]["parameters"]): Promise; - defaults: RequestInterface["defaults"]; - endpoint: EndpointInterface<{ - url: string; - }>; - }; - /** - * Issue Comments are ordered by ascending ID. - */ - listComments: { - (params?: RestEndpointMethodTypes["issues"]["listComments"]["parameters"]): Promise; - defaults: RequestInterface["defaults"]; - endpoint: EndpointInterface<{ - url: string; - }>; - }; - /** - * By default, Issue Comments are ordered by ascending ID. - */ - listCommentsForRepo: { - (params?: RestEndpointMethodTypes["issues"]["listCommentsForRepo"]["parameters"]): Promise; - defaults: RequestInterface["defaults"]; - endpoint: EndpointInterface<{ - url: string; - }>; - }; - listEvents: { - (params?: RestEndpointMethodTypes["issues"]["listEvents"]["parameters"]): Promise; - defaults: RequestInterface["defaults"]; - endpoint: EndpointInterface<{ - url: string; - }>; - }; - listEventsForRepo: { - (params?: RestEndpointMethodTypes["issues"]["listEventsForRepo"]["parameters"]): Promise; - defaults: RequestInterface["defaults"]; - endpoint: EndpointInterface<{ - url: string; - }>; - }; - listEventsForTimeline: { - (params?: RestEndpointMethodTypes["issues"]["listEventsForTimeline"]["parameters"]): Promise; - defaults: RequestInterface["defaults"]; - endpoint: EndpointInterface<{ - url: string; - }>; - }; - /** - * List issues across owned and member repositories assigned to the authenticated user. - * - * **Note**: GitHub's REST API v3 considers every pull request an issue, but not every issue is a pull request. For this - * reason, "Issues" endpoints may return both issues and pull requests in the response. You can identify pull requests by - * the `pull_request` key. Be aware that the `id` of a pull request returned from "Issues" endpoints will be an _issue id_. To find out the pull - * request id, use the "[List pull requests](https://docs.github.com/rest/reference/pulls#list-pull-requests)" endpoint. - */ - listForAuthenticatedUser: { - (params?: RestEndpointMethodTypes["issues"]["listForAuthenticatedUser"]["parameters"]): Promise; - defaults: RequestInterface["defaults"]; - endpoint: EndpointInterface<{ - url: string; - }>; - }; - /** - * List issues in an organization assigned to the authenticated user. - * - * **Note**: GitHub's REST API v3 considers every pull request an issue, but not every issue is a pull request. For this - * reason, "Issues" endpoints may return both issues and pull requests in the response. You can identify pull requests by - * the `pull_request` key. Be aware that the `id` of a pull request returned from "Issues" endpoints will be an _issue id_. To find out the pull - * request id, use the "[List pull requests](https://docs.github.com/rest/reference/pulls#list-pull-requests)" endpoint. - */ - listForOrg: { - (params?: RestEndpointMethodTypes["issues"]["listForOrg"]["parameters"]): Promise; - defaults: RequestInterface["defaults"]; - endpoint: EndpointInterface<{ - url: string; - }>; - }; - /** - * List issues in a repository. - * - * **Note**: GitHub's REST API v3 considers every pull request an issue, but not every issue is a pull request. For this - * reason, "Issues" endpoints may return both issues and pull requests in the response. You can identify pull requests by - * the `pull_request` key. Be aware that the `id` of a pull request returned from "Issues" endpoints will be an _issue id_. To find out the pull - * request id, use the "[List pull requests](https://docs.github.com/rest/reference/pulls#list-pull-requests)" endpoint. - */ - listForRepo: { - (params?: RestEndpointMethodTypes["issues"]["listForRepo"]["parameters"]): Promise; - defaults: RequestInterface["defaults"]; - endpoint: EndpointInterface<{ - url: string; - }>; - }; - listLabelsForMilestone: { - (params?: RestEndpointMethodTypes["issues"]["listLabelsForMilestone"]["parameters"]): Promise; - defaults: RequestInterface["defaults"]; - endpoint: EndpointInterface<{ - url: string; - }>; - }; - listLabelsForRepo: { - (params?: RestEndpointMethodTypes["issues"]["listLabelsForRepo"]["parameters"]): Promise; - defaults: RequestInterface["defaults"]; - endpoint: EndpointInterface<{ - url: string; - }>; - }; - listLabelsOnIssue: { - (params?: RestEndpointMethodTypes["issues"]["listLabelsOnIssue"]["parameters"]): Promise; - defaults: RequestInterface["defaults"]; - endpoint: EndpointInterface<{ - url: string; - }>; - }; - listMilestones: { - (params?: RestEndpointMethodTypes["issues"]["listMilestones"]["parameters"]): Promise; - defaults: RequestInterface["defaults"]; - endpoint: EndpointInterface<{ - url: string; - }>; - }; - /** - * Users with push access can lock an issue or pull request's conversation. - * - * Note that, if you choose not to pass any parameters, you'll need to set `Content-Length` to zero when calling out to this endpoint. For more information, see "[HTTP verbs](https://docs.github.com/rest/overview/resources-in-the-rest-api#http-verbs)." - */ - lock: { - (params?: RestEndpointMethodTypes["issues"]["lock"]["parameters"]): Promise; - defaults: RequestInterface["defaults"]; - endpoint: EndpointInterface<{ - url: string; - }>; - }; - removeAllLabels: { - (params?: RestEndpointMethodTypes["issues"]["removeAllLabels"]["parameters"]): Promise; - defaults: RequestInterface["defaults"]; - endpoint: EndpointInterface<{ - url: string; - }>; - }; - /** - * Removes one or more assignees from an issue. - */ - removeAssignees: { - (params?: RestEndpointMethodTypes["issues"]["removeAssignees"]["parameters"]): Promise; - defaults: RequestInterface["defaults"]; - endpoint: EndpointInterface<{ - url: string; - }>; - }; - /** - * Removes the specified label from the issue, and returns the remaining labels on the issue. This endpoint returns a `404 Not Found` status if the label does not exist. - */ - removeLabel: { - (params?: RestEndpointMethodTypes["issues"]["removeLabel"]["parameters"]): Promise; - defaults: RequestInterface["defaults"]; - endpoint: EndpointInterface<{ - url: string; - }>; - }; - /** - * Removes any previous labels and sets the new labels for an issue. - */ - setLabels: { - (params?: RestEndpointMethodTypes["issues"]["setLabels"]["parameters"]): Promise; - defaults: RequestInterface["defaults"]; - endpoint: EndpointInterface<{ - url: string; - }>; - }; - /** - * Users with push access can unlock an issue's conversation. - */ - unlock: { - (params?: RestEndpointMethodTypes["issues"]["unlock"]["parameters"]): Promise; - defaults: RequestInterface["defaults"]; - endpoint: EndpointInterface<{ - url: string; - }>; - }; - /** - * Issue owners and users with push access can edit an issue. - */ - update: { - (params?: RestEndpointMethodTypes["issues"]["update"]["parameters"]): Promise; - defaults: RequestInterface["defaults"]; - endpoint: EndpointInterface<{ - url: string; - }>; - }; - updateComment: { - (params?: RestEndpointMethodTypes["issues"]["updateComment"]["parameters"]): Promise; - defaults: RequestInterface["defaults"]; - endpoint: EndpointInterface<{ - url: string; - }>; - }; - updateLabel: { - (params?: RestEndpointMethodTypes["issues"]["updateLabel"]["parameters"]): Promise; - defaults: RequestInterface["defaults"]; - endpoint: EndpointInterface<{ - url: string; - }>; - }; - updateMilestone: { - (params?: RestEndpointMethodTypes["issues"]["updateMilestone"]["parameters"]): Promise; - defaults: RequestInterface["defaults"]; - endpoint: EndpointInterface<{ - url: string; - }>; - }; - }; - licenses: { - get: { - (params?: RestEndpointMethodTypes["licenses"]["get"]["parameters"]): Promise; - defaults: RequestInterface["defaults"]; - endpoint: EndpointInterface<{ - url: string; - }>; - }; - getAllCommonlyUsed: { - (params?: RestEndpointMethodTypes["licenses"]["getAllCommonlyUsed"]["parameters"]): Promise; - defaults: RequestInterface["defaults"]; - endpoint: EndpointInterface<{ - url: string; - }>; - }; - /** - * This method returns the contents of the repository's license file, if one is detected. - * - * Similar to [Get repository content](https://docs.github.com/rest/reference/repos#get-repository-content), this method also supports [custom media types](https://docs.github.com/rest/overview/media-types) for retrieving the raw license content or rendered license HTML. - */ - getForRepo: { - (params?: RestEndpointMethodTypes["licenses"]["getForRepo"]["parameters"]): Promise; - defaults: RequestInterface["defaults"]; - endpoint: EndpointInterface<{ - url: string; - }>; - }; - }; - markdown: { - render: { - (params?: RestEndpointMethodTypes["markdown"]["render"]["parameters"]): Promise; - defaults: RequestInterface["defaults"]; - endpoint: EndpointInterface<{ - url: string; - }>; - }; - /** - * You must send Markdown as plain text (using a `Content-Type` header of `text/plain` or `text/x-markdown`) to this endpoint, rather than using JSON format. In raw mode, [GitHub Flavored Markdown](https://github.github.com/gfm/) is not supported and Markdown will be rendered in plain format like a README.md file. Markdown content must be 400 KB or less. - */ - renderRaw: { - (params?: RestEndpointMethodTypes["markdown"]["renderRaw"]["parameters"]): Promise; - defaults: RequestInterface["defaults"]; - endpoint: EndpointInterface<{ - url: string; - }>; - }; - }; - meta: { - /** - * Returns meta information about GitHub, including a list of GitHub's IP addresses. For more information, see "[About GitHub's IP addresses](https://help.github.com/articles/about-github-s-ip-addresses/)." - * - * **Note:** The IP addresses shown in the documentation's response are only example values. You must always query the API directly to get the latest list of IP addresses. - */ - get: { - (params?: RestEndpointMethodTypes["meta"]["get"]["parameters"]): Promise; - defaults: RequestInterface["defaults"]; - endpoint: EndpointInterface<{ - url: string; - }>; - }; - /** - * Get the octocat as ASCII art - */ - getOctocat: { - (params?: RestEndpointMethodTypes["meta"]["getOctocat"]["parameters"]): Promise; - defaults: RequestInterface["defaults"]; - endpoint: EndpointInterface<{ - url: string; - }>; - }; - /** - * Get a random sentence from the Zen of GitHub - */ - getZen: { - (params?: RestEndpointMethodTypes["meta"]["getZen"]["parameters"]): Promise; - defaults: RequestInterface["defaults"]; - endpoint: EndpointInterface<{ - url: string; - }>; - }; - /** - * Get Hypermedia links to resources accessible in GitHub's REST API - */ - root: { - (params?: RestEndpointMethodTypes["meta"]["root"]["parameters"]): Promise; - defaults: RequestInterface["defaults"]; - endpoint: EndpointInterface<{ - url: string; - }>; - }; - }; - migrations: { - /** - * Stop an import for a repository. - */ - cancelImport: { - (params?: RestEndpointMethodTypes["migrations"]["cancelImport"]["parameters"]): Promise; - defaults: RequestInterface["defaults"]; - endpoint: EndpointInterface<{ - url: string; - }>; - }; - /** - * Deletes a previous migration archive. Downloadable migration archives are automatically deleted after seven days. Migration metadata, which is returned in the [List user migrations](https://docs.github.com/rest/reference/migrations#list-user-migrations) and [Get a user migration status](https://docs.github.com/rest/reference/migrations#get-a-user-migration-status) endpoints, will continue to be available even after an archive is deleted. - */ - deleteArchiveForAuthenticatedUser: { - (params?: RestEndpointMethodTypes["migrations"]["deleteArchiveForAuthenticatedUser"]["parameters"]): Promise; - defaults: RequestInterface["defaults"]; - endpoint: EndpointInterface<{ - url: string; - }>; - }; - /** - * Deletes a previous migration archive. Migration archives are automatically deleted after seven days. - */ - deleteArchiveForOrg: { - (params?: RestEndpointMethodTypes["migrations"]["deleteArchiveForOrg"]["parameters"]): Promise; - defaults: RequestInterface["defaults"]; - endpoint: EndpointInterface<{ - url: string; - }>; - }; - /** - * Fetches the URL to a migration archive. - */ - downloadArchiveForOrg: { - (params?: RestEndpointMethodTypes["migrations"]["downloadArchiveForOrg"]["parameters"]): Promise; - defaults: RequestInterface["defaults"]; - endpoint: EndpointInterface<{ - url: string; - }>; - }; - /** - * Fetches the URL to download the migration archive as a `tar.gz` file. Depending on the resources your repository uses, the migration archive can contain JSON files with data for these objects: - * - * * attachments - * * bases - * * commit\_comments - * * issue\_comments - * * issue\_events - * * issues - * * milestones - * * organizations - * * projects - * * protected\_branches - * * pull\_request\_reviews - * * pull\_requests - * * releases - * * repositories - * * review\_comments - * * schema - * * users - * - * The archive will also contain an `attachments` directory that includes all attachment files uploaded to GitHub.com and a `repositories` directory that contains the repository's Git data. - */ - getArchiveForAuthenticatedUser: { - (params?: RestEndpointMethodTypes["migrations"]["getArchiveForAuthenticatedUser"]["parameters"]): Promise; - defaults: RequestInterface["defaults"]; - endpoint: EndpointInterface<{ - url: string; - }>; - }; - /** - * Each type of source control system represents authors in a different way. For example, a Git commit author has a display name and an email address, but a Subversion commit author just has a username. The GitHub Importer will make the author information valid, but the author might not be correct. For example, it will change the bare Subversion username `hubot` into something like `hubot `. - * - * This endpoint and the [Map a commit author](https://docs.github.com/rest/reference/migrations#map-a-commit-author) endpoint allow you to provide correct Git author information. - */ - getCommitAuthors: { - (params?: RestEndpointMethodTypes["migrations"]["getCommitAuthors"]["parameters"]): Promise; - defaults: RequestInterface["defaults"]; - endpoint: EndpointInterface<{ - url: string; - }>; - }; - /** - * View the progress of an import. - * - * **Import status** - * - * This section includes details about the possible values of the `status` field of the Import Progress response. - * - * An import that does not have errors will progress through these steps: - * - * * `detecting` - the "detection" step of the import is in progress because the request did not include a `vcs` parameter. The import is identifying the type of source control present at the URL. - * * `importing` - the "raw" step of the import is in progress. This is where commit data is fetched from the original repository. The import progress response will include `commit_count` (the total number of raw commits that will be imported) and `percent` (0 - 100, the current progress through the import). - * * `mapping` - the "rewrite" step of the import is in progress. This is where SVN branches are converted to Git branches, and where author updates are applied. The import progress response does not include progress information. - * * `pushing` - the "push" step of the import is in progress. This is where the importer updates the repository on GitHub. The import progress response will include `push_percent`, which is the percent value reported by `git push` when it is "Writing objects". - * * `complete` - the import is complete, and the repository is ready on GitHub. - * - * If there are problems, you will see one of these in the `status` field: - * - * * `auth_failed` - the import requires authentication in order to connect to the original repository. To update authentication for the import, please see the [Update an import](https://docs.github.com/rest/reference/migrations#update-an-import) section. - * * `error` - the import encountered an error. The import progress response will include the `failed_step` and an error message. Contact [GitHub Support](https://support.github.com/contact) or [GitHub Premium Support](https://premium.githubsupport.com) for more information. - * * `detection_needs_auth` - the importer requires authentication for the originating repository to continue detection. To update authentication for the import, please see the [Update an import](https://docs.github.com/rest/reference/migrations#update-an-import) section. - * * `detection_found_nothing` - the importer didn't recognize any source control at the URL. To resolve, [Cancel the import](https://docs.github.com/rest/reference/migrations#cancel-an-import) and [retry](https://docs.github.com/rest/reference/migrations#start-an-import) with the correct URL. - * * `detection_found_multiple` - the importer found several projects or repositories at the provided URL. When this is the case, the Import Progress response will also include a `project_choices` field with the possible project choices as values. To update project choice, please see the [Update an import](https://docs.github.com/rest/reference/migrations#update-an-import) section. - * - * **The project_choices field** - * - * When multiple projects are found at the provided URL, the response hash will include a `project_choices` field, the value of which is an array of hashes each representing a project choice. The exact key/value pairs of the project hashes will differ depending on the version control type. - * - * **Git LFS related fields** - * - * This section includes details about Git LFS related fields that may be present in the Import Progress response. - * - * * `use_lfs` - describes whether the import has been opted in or out of using Git LFS. The value can be `opt_in`, `opt_out`, or `undecided` if no action has been taken. - * * `has_large_files` - the boolean value describing whether files larger than 100MB were found during the `importing` step. - * * `large_files_size` - the total size in gigabytes of files larger than 100MB found in the originating repository. - * * `large_files_count` - the total number of files larger than 100MB found in the originating repository. To see a list of these files, make a "Get Large Files" request. - */ - getImportStatus: { - (params?: RestEndpointMethodTypes["migrations"]["getImportStatus"]["parameters"]): Promise; - defaults: RequestInterface["defaults"]; - endpoint: EndpointInterface<{ - url: string; - }>; - }; - /** - * List files larger than 100MB found during the import - */ - getLargeFiles: { - (params?: RestEndpointMethodTypes["migrations"]["getLargeFiles"]["parameters"]): Promise; - defaults: RequestInterface["defaults"]; - endpoint: EndpointInterface<{ - url: string; - }>; - }; - /** - * Fetches a single user migration. The response includes the `state` of the migration, which can be one of the following values: - * - * * `pending` - the migration hasn't started yet. - * * `exporting` - the migration is in progress. - * * `exported` - the migration finished successfully. - * * `failed` - the migration failed. - * - * Once the migration has been `exported` you can [download the migration archive](https://docs.github.com/rest/reference/migrations#download-a-user-migration-archive). - */ - getStatusForAuthenticatedUser: { - (params?: RestEndpointMethodTypes["migrations"]["getStatusForAuthenticatedUser"]["parameters"]): Promise; - defaults: RequestInterface["defaults"]; - endpoint: EndpointInterface<{ - url: string; - }>; - }; - /** - * Fetches the status of a migration. - * - * The `state` of a migration can be one of the following values: - * - * * `pending`, which means the migration hasn't started yet. - * * `exporting`, which means the migration is in progress. - * * `exported`, which means the migration finished successfully. - * * `failed`, which means the migration failed. - */ - getStatusForOrg: { - (params?: RestEndpointMethodTypes["migrations"]["getStatusForOrg"]["parameters"]): Promise; - defaults: RequestInterface["defaults"]; - endpoint: EndpointInterface<{ - url: string; - }>; - }; - /** - * Lists all migrations a user has started. - */ - listForAuthenticatedUser: { - (params?: RestEndpointMethodTypes["migrations"]["listForAuthenticatedUser"]["parameters"]): Promise; - defaults: RequestInterface["defaults"]; - endpoint: EndpointInterface<{ - url: string; - }>; - }; - /** - * Lists the most recent migrations. - */ - listForOrg: { - (params?: RestEndpointMethodTypes["migrations"]["listForOrg"]["parameters"]): Promise; - defaults: RequestInterface["defaults"]; - endpoint: EndpointInterface<{ - url: string; - }>; - }; - /** - * List all the repositories for this organization migration. - */ - listReposForOrg: { - (params?: RestEndpointMethodTypes["migrations"]["listReposForOrg"]["parameters"]): Promise; - defaults: RequestInterface["defaults"]; - endpoint: EndpointInterface<{ - url: string; - }>; - }; - /** - * Lists all the repositories for this user migration. - */ - listReposForUser: { - (params?: RestEndpointMethodTypes["migrations"]["listReposForUser"]["parameters"]): Promise; - defaults: RequestInterface["defaults"]; - endpoint: EndpointInterface<{ - url: string; - }>; - }; - /** - * Update an author's identity for the import. Your application can continue updating authors any time before you push new commits to the repository. - */ - mapCommitAuthor: { - (params?: RestEndpointMethodTypes["migrations"]["mapCommitAuthor"]["parameters"]): Promise; - defaults: RequestInterface["defaults"]; - endpoint: EndpointInterface<{ - url: string; - }>; - }; - /** - * You can import repositories from Subversion, Mercurial, and TFS that include files larger than 100MB. This ability is powered by [Git LFS](https://git-lfs.github.com). You can learn more about our LFS feature and working with large files [on our help site](https://help.github.com/articles/versioning-large-files/). - */ - setLfsPreference: { - (params?: RestEndpointMethodTypes["migrations"]["setLfsPreference"]["parameters"]): Promise; - defaults: RequestInterface["defaults"]; - endpoint: EndpointInterface<{ - url: string; - }>; - }; - /** - * Initiates the generation of a user migration archive. - */ - startForAuthenticatedUser: { - (params?: RestEndpointMethodTypes["migrations"]["startForAuthenticatedUser"]["parameters"]): Promise; - defaults: RequestInterface["defaults"]; - endpoint: EndpointInterface<{ - url: string; - }>; - }; - /** - * Initiates the generation of a migration archive. - */ - startForOrg: { - (params?: RestEndpointMethodTypes["migrations"]["startForOrg"]["parameters"]): Promise; - defaults: RequestInterface["defaults"]; - endpoint: EndpointInterface<{ - url: string; - }>; - }; - /** - * Start a source import to a GitHub repository using GitHub Importer. - */ - startImport: { - (params?: RestEndpointMethodTypes["migrations"]["startImport"]["parameters"]): Promise; - defaults: RequestInterface["defaults"]; - endpoint: EndpointInterface<{ - url: string; - }>; - }; - /** - * Unlocks a repository. You can lock repositories when you [start a user migration](https://docs.github.com/rest/reference/migrations#start-a-user-migration). Once the migration is complete you can unlock each repository to begin using it again or [delete the repository](https://docs.github.com/rest/reference/repos#delete-a-repository) if you no longer need the source data. Returns a status of `404 Not Found` if the repository is not locked. - */ - unlockRepoForAuthenticatedUser: { - (params?: RestEndpointMethodTypes["migrations"]["unlockRepoForAuthenticatedUser"]["parameters"]): Promise; - defaults: RequestInterface["defaults"]; - endpoint: EndpointInterface<{ - url: string; - }>; - }; - /** - * Unlocks a repository that was locked for migration. You should unlock each migrated repository and [delete them](https://docs.github.com/rest/reference/repos#delete-a-repository) when the migration is complete and you no longer need the source data. - */ - unlockRepoForOrg: { - (params?: RestEndpointMethodTypes["migrations"]["unlockRepoForOrg"]["parameters"]): Promise; - defaults: RequestInterface["defaults"]; - endpoint: EndpointInterface<{ - url: string; - }>; - }; - /** - * An import can be updated with credentials or a project choice by passing in the appropriate parameters in this API - * request. If no parameters are provided, the import will be restarted. - */ - updateImport: { - (params?: RestEndpointMethodTypes["migrations"]["updateImport"]["parameters"]): Promise; - defaults: RequestInterface["defaults"]; - endpoint: EndpointInterface<{ - url: string; - }>; - }; - }; - orgs: { - blockUser: { - (params?: RestEndpointMethodTypes["orgs"]["blockUser"]["parameters"]): Promise; - defaults: RequestInterface["defaults"]; - endpoint: EndpointInterface<{ - url: string; - }>; - }; - /** - * Cancel an organization invitation. In order to cancel an organization invitation, the authenticated user must be an organization owner. - * - * This endpoint triggers [notifications](https://docs.github.com/en/github/managing-subscriptions-and-notifications-on-github/about-notifications). - */ - cancelInvitation: { - (params?: RestEndpointMethodTypes["orgs"]["cancelInvitation"]["parameters"]): Promise; - defaults: RequestInterface["defaults"]; - endpoint: EndpointInterface<{ - url: string; - }>; - }; - checkBlockedUser: { - (params?: RestEndpointMethodTypes["orgs"]["checkBlockedUser"]["parameters"]): Promise; - defaults: RequestInterface["defaults"]; - endpoint: EndpointInterface<{ - url: string; - }>; - }; - /** - * Check if a user is, publicly or privately, a member of the organization. - */ - checkMembershipForUser: { - (params?: RestEndpointMethodTypes["orgs"]["checkMembershipForUser"]["parameters"]): Promise; - defaults: RequestInterface["defaults"]; - endpoint: EndpointInterface<{ - url: string; - }>; - }; - checkPublicMembershipForUser: { - (params?: RestEndpointMethodTypes["orgs"]["checkPublicMembershipForUser"]["parameters"]): Promise; - defaults: RequestInterface["defaults"]; - endpoint: EndpointInterface<{ - url: string; - }>; - }; - /** - * When an organization member is converted to an outside collaborator, they'll only have access to the repositories that their current team membership allows. The user will no longer be a member of the organization. For more information, see "[Converting an organization member to an outside collaborator](https://help.github.com/articles/converting-an-organization-member-to-an-outside-collaborator/)". - */ - convertMemberToOutsideCollaborator: { - (params?: RestEndpointMethodTypes["orgs"]["convertMemberToOutsideCollaborator"]["parameters"]): Promise; - defaults: RequestInterface["defaults"]; - endpoint: EndpointInterface<{ - url: string; - }>; - }; - /** - * Invite people to an organization by using their GitHub user ID or their email address. In order to create invitations in an organization, the authenticated user must be an organization owner. - * - * This endpoint triggers [notifications](https://docs.github.com/en/github/managing-subscriptions-and-notifications-on-github/about-notifications). Creating content too quickly using this endpoint may result in abuse rate limiting. See "[Abuse rate limits](https://docs.github.com/rest/overview/resources-in-the-rest-api#abuse-rate-limits)" and "[Dealing with abuse rate limits](https://docs.github.com/rest/guides/best-practices-for-integrators#dealing-with-rate-limits)" for details. - */ - createInvitation: { - (params?: RestEndpointMethodTypes["orgs"]["createInvitation"]["parameters"]): Promise; - defaults: RequestInterface["defaults"]; - endpoint: EndpointInterface<{ - url: string; - }>; - }; - /** - * Here's how you can create a hook that posts payloads in JSON format: - */ - createWebhook: { - (params?: RestEndpointMethodTypes["orgs"]["createWebhook"]["parameters"]): Promise; - defaults: RequestInterface["defaults"]; - endpoint: EndpointInterface<{ - url: string; - }>; - }; - deleteWebhook: { - (params?: RestEndpointMethodTypes["orgs"]["deleteWebhook"]["parameters"]): Promise; - defaults: RequestInterface["defaults"]; - endpoint: EndpointInterface<{ - url: string; - }>; - }; - /** - * To see many of the organization response values, you need to be an authenticated organization owner with the `admin:org` scope. When the value of `two_factor_requirement_enabled` is `true`, the organization requires all members, billing managers, and outside collaborators to enable [two-factor authentication](https://help.github.com/articles/securing-your-account-with-two-factor-authentication-2fa/). - * - * GitHub Apps with the `Organization plan` permission can use this endpoint to retrieve information about an organization's GitHub plan. See "[Authenticating with GitHub Apps](https://docs.github.com/apps/building-github-apps/authenticating-with-github-apps/)" for details. For an example response, see 'Response with GitHub plan information' below." - */ - get: { - (params?: RestEndpointMethodTypes["orgs"]["get"]["parameters"]): Promise; - defaults: RequestInterface["defaults"]; - endpoint: EndpointInterface<{ - url: string; - }>; - }; - getMembershipForAuthenticatedUser: { - (params?: RestEndpointMethodTypes["orgs"]["getMembershipForAuthenticatedUser"]["parameters"]): Promise; - defaults: RequestInterface["defaults"]; - endpoint: EndpointInterface<{ - url: string; - }>; - }; - /** - * In order to get a user's membership with an organization, the authenticated user must be an organization member. The `state` parameter in the response can be used to identify the user's membership status. - */ - getMembershipForUser: { - (params?: RestEndpointMethodTypes["orgs"]["getMembershipForUser"]["parameters"]): Promise; - defaults: RequestInterface["defaults"]; - endpoint: EndpointInterface<{ - url: string; - }>; - }; - /** - * Returns a webhook configured in an organization. To get only the webhook `config` properties, see "[Get a webhook configuration for an organization](/rest/reference/orgs#get-a-webhook-configuration-for-an-organization)." - */ - getWebhook: { - (params?: RestEndpointMethodTypes["orgs"]["getWebhook"]["parameters"]): Promise; - defaults: RequestInterface["defaults"]; - endpoint: EndpointInterface<{ - url: string; - }>; - }; - /** - * Returns the webhook configuration for an organization. To get more information about the webhook, including the `active` state and `events`, use "[Get an organization webhook ](/rest/reference/orgs#get-an-organization-webhook)." - * - * Access tokens must have the `admin:org_hook` scope, and GitHub Apps must have the `organization_hooks:read` permission. - */ - getWebhookConfigForOrg: { - (params?: RestEndpointMethodTypes["orgs"]["getWebhookConfigForOrg"]["parameters"]): Promise; - defaults: RequestInterface["defaults"]; - endpoint: EndpointInterface<{ - url: string; - }>; - }; - /** - * Returns a delivery for a webhook configured in an organization. - */ - getWebhookDelivery: { - (params?: RestEndpointMethodTypes["orgs"]["getWebhookDelivery"]["parameters"]): Promise; - defaults: RequestInterface["defaults"]; - endpoint: EndpointInterface<{ - url: string; - }>; - }; - /** - * Lists all organizations, in the order that they were created on GitHub. - * - * **Note:** Pagination is powered exclusively by the `since` parameter. Use the [Link header](https://docs.github.com/rest/overview/resources-in-the-rest-api#link-header) to get the URL for the next page of organizations. - */ - list: { - (params?: RestEndpointMethodTypes["orgs"]["list"]["parameters"]): Promise; - defaults: RequestInterface["defaults"]; - endpoint: EndpointInterface<{ - url: string; - }>; - }; - /** - * Lists all GitHub Apps in an organization. The installation count includes all GitHub Apps installed on repositories in the organization. You must be an organization owner with `admin:read` scope to use this endpoint. - */ - listAppInstallations: { - (params?: RestEndpointMethodTypes["orgs"]["listAppInstallations"]["parameters"]): Promise; - defaults: RequestInterface["defaults"]; - endpoint: EndpointInterface<{ - url: string; - }>; - }; - /** - * List the users blocked by an organization. - */ - listBlockedUsers: { - (params?: RestEndpointMethodTypes["orgs"]["listBlockedUsers"]["parameters"]): Promise; - defaults: RequestInterface["defaults"]; - endpoint: EndpointInterface<{ - url: string; - }>; - }; - /** - * The return hash contains `failed_at` and `failed_reason` fields which represent the time at which the invitation failed and the reason for the failure. - */ - listFailedInvitations: { - (params?: RestEndpointMethodTypes["orgs"]["listFailedInvitations"]["parameters"]): Promise; - defaults: RequestInterface["defaults"]; - endpoint: EndpointInterface<{ - url: string; - }>; - }; - /** - * List organizations for the authenticated user. - * - * **OAuth scope requirements** - * - * This only lists organizations that your authorization allows you to operate on in some way (e.g., you can list teams with `read:org` scope, you can publicize your organization membership with `user` scope, etc.). Therefore, this API requires at least `user` or `read:org` scope. OAuth requests with insufficient scope receive a `403 Forbidden` response. - */ - listForAuthenticatedUser: { - (params?: RestEndpointMethodTypes["orgs"]["listForAuthenticatedUser"]["parameters"]): Promise; - defaults: RequestInterface["defaults"]; - endpoint: EndpointInterface<{ - url: string; - }>; - }; - /** - * List [public organization memberships](https://help.github.com/articles/publicizing-or-concealing-organization-membership) for the specified user. - * - * This method only lists _public_ memberships, regardless of authentication. If you need to fetch all of the organization memberships (public and private) for the authenticated user, use the [List organizations for the authenticated user](https://docs.github.com/rest/reference/orgs#list-organizations-for-the-authenticated-user) API instead. - */ - listForUser: { - (params?: RestEndpointMethodTypes["orgs"]["listForUser"]["parameters"]): Promise; - defaults: RequestInterface["defaults"]; - endpoint: EndpointInterface<{ - url: string; - }>; - }; - /** - * List all teams associated with an invitation. In order to see invitations in an organization, the authenticated user must be an organization owner. - */ - listInvitationTeams: { - (params?: RestEndpointMethodTypes["orgs"]["listInvitationTeams"]["parameters"]): Promise; - defaults: RequestInterface["defaults"]; - endpoint: EndpointInterface<{ - url: string; - }>; - }; - /** - * List all users who are members of an organization. If the authenticated user is also a member of this organization then both concealed and public members will be returned. - */ - listMembers: { - (params?: RestEndpointMethodTypes["orgs"]["listMembers"]["parameters"]): Promise; - defaults: RequestInterface["defaults"]; - endpoint: EndpointInterface<{ - url: string; - }>; - }; - listMembershipsForAuthenticatedUser: { - (params?: RestEndpointMethodTypes["orgs"]["listMembershipsForAuthenticatedUser"]["parameters"]): Promise; - defaults: RequestInterface["defaults"]; - endpoint: EndpointInterface<{ - url: string; - }>; - }; - /** - * List all users who are outside collaborators of an organization. - */ - listOutsideCollaborators: { - (params?: RestEndpointMethodTypes["orgs"]["listOutsideCollaborators"]["parameters"]): Promise; - defaults: RequestInterface["defaults"]; - endpoint: EndpointInterface<{ - url: string; - }>; - }; - /** - * The return hash contains a `role` field which refers to the Organization Invitation role and will be one of the following values: `direct_member`, `admin`, `billing_manager`, `hiring_manager`, or `reinstate`. If the invitee is not a GitHub member, the `login` field in the return hash will be `null`. - */ - listPendingInvitations: { - (params?: RestEndpointMethodTypes["orgs"]["listPendingInvitations"]["parameters"]): Promise; - defaults: RequestInterface["defaults"]; - endpoint: EndpointInterface<{ - url: string; - }>; - }; - /** - * Members of an organization can choose to have their membership publicized or not. - */ - listPublicMembers: { - (params?: RestEndpointMethodTypes["orgs"]["listPublicMembers"]["parameters"]): Promise; - defaults: RequestInterface["defaults"]; - endpoint: EndpointInterface<{ - url: string; - }>; - }; - /** - * Returns a list of webhook deliveries for a webhook configured in an organization. - */ - listWebhookDeliveries: { - (params?: RestEndpointMethodTypes["orgs"]["listWebhookDeliveries"]["parameters"]): Promise; - defaults: RequestInterface["defaults"]; - endpoint: EndpointInterface<{ - url: string; - }>; - }; - listWebhooks: { - (params?: RestEndpointMethodTypes["orgs"]["listWebhooks"]["parameters"]): Promise; - defaults: RequestInterface["defaults"]; - endpoint: EndpointInterface<{ - url: string; - }>; - }; - /** - * This will trigger a [ping event](https://docs.github.com/webhooks/#ping-event) to be sent to the hook. - */ - pingWebhook: { - (params?: RestEndpointMethodTypes["orgs"]["pingWebhook"]["parameters"]): Promise; - defaults: RequestInterface["defaults"]; - endpoint: EndpointInterface<{ - url: string; - }>; - }; - /** - * Redeliver a delivery for a webhook configured in an organization. - */ - redeliverWebhookDelivery: { - (params?: RestEndpointMethodTypes["orgs"]["redeliverWebhookDelivery"]["parameters"]): Promise; - defaults: RequestInterface["defaults"]; - endpoint: EndpointInterface<{ - url: string; - }>; - }; - /** - * Removing a user from this list will remove them from all teams and they will no longer have any access to the organization's repositories. - */ - removeMember: { - (params?: RestEndpointMethodTypes["orgs"]["removeMember"]["parameters"]): Promise; - defaults: RequestInterface["defaults"]; - endpoint: EndpointInterface<{ - url: string; - }>; - }; - /** - * In order to remove a user's membership with an organization, the authenticated user must be an organization owner. - * - * If the specified user is an active member of the organization, this will remove them from the organization. If the specified user has been invited to the organization, this will cancel their invitation. The specified user will receive an email notification in both cases. - */ - removeMembershipForUser: { - (params?: RestEndpointMethodTypes["orgs"]["removeMembershipForUser"]["parameters"]): Promise; - defaults: RequestInterface["defaults"]; - endpoint: EndpointInterface<{ - url: string; - }>; - }; - /** - * Removing a user from this list will remove them from all the organization's repositories. - */ - removeOutsideCollaborator: { - (params?: RestEndpointMethodTypes["orgs"]["removeOutsideCollaborator"]["parameters"]): Promise; - defaults: RequestInterface["defaults"]; - endpoint: EndpointInterface<{ - url: string; - }>; - }; - removePublicMembershipForAuthenticatedUser: { - (params?: RestEndpointMethodTypes["orgs"]["removePublicMembershipForAuthenticatedUser"]["parameters"]): Promise; - defaults: RequestInterface["defaults"]; - endpoint: EndpointInterface<{ - url: string; - }>; - }; - /** - * Only authenticated organization owners can add a member to the organization or update the member's role. - * - * * If the authenticated user is _adding_ a member to the organization, the invited user will receive an email inviting them to the organization. The user's [membership status](https://docs.github.com/rest/reference/orgs#get-organization-membership-for-a-user) will be `pending` until they accept the invitation. - * - * * Authenticated users can _update_ a user's membership by passing the `role` parameter. If the authenticated user changes a member's role to `admin`, the affected user will receive an email notifying them that they've been made an organization owner. If the authenticated user changes an owner's role to `member`, no email will be sent. - * - * **Rate limits** - * - * To prevent abuse, the authenticated user is limited to 50 organization invitations per 24 hour period. If the organization is more than one month old or on a paid plan, the limit is 500 invitations per 24 hour period. - */ - setMembershipForUser: { - (params?: RestEndpointMethodTypes["orgs"]["setMembershipForUser"]["parameters"]): Promise; - defaults: RequestInterface["defaults"]; - endpoint: EndpointInterface<{ - url: string; - }>; - }; - /** - * The user can publicize their own membership. (A user cannot publicize the membership for another user.) - * - * Note that you'll need to set `Content-Length` to zero when calling out to this endpoint. For more information, see "[HTTP verbs](https://docs.github.com/rest/overview/resources-in-the-rest-api#http-verbs)." - */ - setPublicMembershipForAuthenticatedUser: { - (params?: RestEndpointMethodTypes["orgs"]["setPublicMembershipForAuthenticatedUser"]["parameters"]): Promise; - defaults: RequestInterface["defaults"]; - endpoint: EndpointInterface<{ - url: string; - }>; - }; - unblockUser: { - (params?: RestEndpointMethodTypes["orgs"]["unblockUser"]["parameters"]): Promise; - defaults: RequestInterface["defaults"]; - endpoint: EndpointInterface<{ - url: string; - }>; - }; - /** - * **Parameter Deprecation Notice:** GitHub will replace and discontinue `members_allowed_repository_creation_type` in favor of more granular permissions. The new input parameters are `members_can_create_public_repositories`, `members_can_create_private_repositories` for all organizations and `members_can_create_internal_repositories` for organizations associated with an enterprise account using GitHub Enterprise Cloud or GitHub Enterprise Server 2.20+. For more information, see the [blog post](https://developer.github.com/changes/2019-12-03-internal-visibility-changes). - * - * Enables an authenticated organization owner with the `admin:org` scope to update the organization's profile and member privileges. - */ - update: { - (params?: RestEndpointMethodTypes["orgs"]["update"]["parameters"]): Promise; - defaults: RequestInterface["defaults"]; - endpoint: EndpointInterface<{ - url: string; - }>; - }; - updateMembershipForAuthenticatedUser: { - (params?: RestEndpointMethodTypes["orgs"]["updateMembershipForAuthenticatedUser"]["parameters"]): Promise; - defaults: RequestInterface["defaults"]; - endpoint: EndpointInterface<{ - url: string; - }>; - }; - /** - * Updates a webhook configured in an organization. When you update a webhook, the `secret` will be overwritten. If you previously had a `secret` set, you must provide the same `secret` or set a new `secret` or the secret will be removed. If you are only updating individual webhook `config` properties, use "[Update a webhook configuration for an organization](/rest/reference/orgs#update-a-webhook-configuration-for-an-organization)." - */ - updateWebhook: { - (params?: RestEndpointMethodTypes["orgs"]["updateWebhook"]["parameters"]): Promise; - defaults: RequestInterface["defaults"]; - endpoint: EndpointInterface<{ - url: string; - }>; - }; - /** - * Updates the webhook configuration for an organization. To update more information about the webhook, including the `active` state and `events`, use "[Update an organization webhook ](/rest/reference/orgs#update-an-organization-webhook)." - * - * Access tokens must have the `admin:org_hook` scope, and GitHub Apps must have the `organization_hooks:write` permission. - */ - updateWebhookConfigForOrg: { - (params?: RestEndpointMethodTypes["orgs"]["updateWebhookConfigForOrg"]["parameters"]): Promise; - defaults: RequestInterface["defaults"]; - endpoint: EndpointInterface<{ - url: string; - }>; - }; - }; - packages: { - /** - * Deletes a package owned by the authenticated user. You cannot delete a public package if any version of the package has more than 5,000 downloads. In this scenario, contact GitHub support for further assistance. - * - * To use this endpoint, you must authenticate using an access token with the `packages:read` and `packages:delete` scope. - * If `package_type` is not `container`, your token must also include the `repo` scope. - */ - deletePackageForAuthenticatedUser: { - (params?: RestEndpointMethodTypes["packages"]["deletePackageForAuthenticatedUser"]["parameters"]): Promise; - defaults: RequestInterface["defaults"]; - endpoint: EndpointInterface<{ - url: string; - }>; - }; - /** - * Deletes an entire package in an organization. You cannot delete a public package if any version of the package has more than 5,000 downloads. In this scenario, contact GitHub support for further assistance. - * - * To use this endpoint, you must have admin permissions in the organization and authenticate using an access token with the `packages:read` scope. In addition: - * - If `package_type` is not `container`, your token must also include the `repo` scope. - * - If `package_type` is `container`, you must also have admin permissions to the container you want to delete. - */ - deletePackageForOrg: { - (params?: RestEndpointMethodTypes["packages"]["deletePackageForOrg"]["parameters"]): Promise; - defaults: RequestInterface["defaults"]; - endpoint: EndpointInterface<{ - url: string; - }>; - }; - /** - * Deletes a specific package version for a package owned by the authenticated user. If the package is public and the package version has more than 5,000 downloads, you cannot delete the package version. In this scenario, contact GitHub support for further assistance. - * - * To use this endpoint, you must have admin permissions in the organization and authenticate using an access token with the `packages:read` scope. - * If `package_type` is not `container`, your token must also include the `repo` scope. - */ - deletePackageVersionForAuthenticatedUser: { - (params?: RestEndpointMethodTypes["packages"]["deletePackageVersionForAuthenticatedUser"]["parameters"]): Promise; - defaults: RequestInterface["defaults"]; - endpoint: EndpointInterface<{ - url: string; - }>; - }; - /** - * Deletes a specific package version in an organization. If the package is public and the package version has more than 5,000 downloads, you cannot delete the package version. In this scenario, contact GitHub support for further assistance. - * - * To use this endpoint, you must have admin permissions in the organization and authenticate using an access token with the `packages:read` scope. In addition: - * - If `package_type` is not `container`, your token must also include the `repo` scope. - * - If `package_type` is `container`, you must also have admin permissions to the container you want to delete. - */ - deletePackageVersionForOrg: { - (params?: RestEndpointMethodTypes["packages"]["deletePackageVersionForOrg"]["parameters"]): Promise; - defaults: RequestInterface["defaults"]; - endpoint: EndpointInterface<{ - url: string; - }>; - }; - /** - * Returns all package versions for a package owned by an organization. - * - * To use this endpoint, you must authenticate using an access token with the `packages:read` scope. - * If `package_type` is not `container`, your token must also include the `repo` scope. - * @deprecated octokit.rest.packages.getAllPackageVersionsForAPackageOwnedByAnOrg() has been renamed to octokit.rest.packages.getAllPackageVersionsForPackageOwnedByOrg() (2021-03-24) - */ - getAllPackageVersionsForAPackageOwnedByAnOrg: { - (params?: RestEndpointMethodTypes["packages"]["getAllPackageVersionsForAPackageOwnedByAnOrg"]["parameters"]): Promise; - defaults: RequestInterface["defaults"]; - endpoint: EndpointInterface<{ - url: string; - }>; - }; - /** - * Returns all package versions for a package owned by the authenticated user. - * - * To use this endpoint, you must authenticate using an access token with the `packages:read` scope. - * If `package_type` is not `container`, your token must also include the `repo` scope. - * @deprecated octokit.rest.packages.getAllPackageVersionsForAPackageOwnedByTheAuthenticatedUser() has been renamed to octokit.rest.packages.getAllPackageVersionsForPackageOwnedByAuthenticatedUser() (2021-03-24) - */ - getAllPackageVersionsForAPackageOwnedByTheAuthenticatedUser: { - (params?: RestEndpointMethodTypes["packages"]["getAllPackageVersionsForAPackageOwnedByTheAuthenticatedUser"]["parameters"]): Promise; - defaults: RequestInterface["defaults"]; - endpoint: EndpointInterface<{ - url: string; - }>; - }; - /** - * Returns all package versions for a package owned by the authenticated user. - * - * To use this endpoint, you must authenticate using an access token with the `packages:read` scope. - * If `package_type` is not `container`, your token must also include the `repo` scope. - */ - getAllPackageVersionsForPackageOwnedByAuthenticatedUser: { - (params?: RestEndpointMethodTypes["packages"]["getAllPackageVersionsForPackageOwnedByAuthenticatedUser"]["parameters"]): Promise; - defaults: RequestInterface["defaults"]; - endpoint: EndpointInterface<{ - url: string; - }>; - }; - /** - * Returns all package versions for a package owned by an organization. - * - * To use this endpoint, you must authenticate using an access token with the `packages:read` scope. - * If `package_type` is not `container`, your token must also include the `repo` scope. - */ - getAllPackageVersionsForPackageOwnedByOrg: { - (params?: RestEndpointMethodTypes["packages"]["getAllPackageVersionsForPackageOwnedByOrg"]["parameters"]): Promise; - defaults: RequestInterface["defaults"]; - endpoint: EndpointInterface<{ - url: string; - }>; - }; - /** - * Returns all package versions for a public package owned by a specified user. - * - * To use this endpoint, you must authenticate using an access token with the `packages:read` scope. - * If `package_type` is not `container`, your token must also include the `repo` scope. - */ - getAllPackageVersionsForPackageOwnedByUser: { - (params?: RestEndpointMethodTypes["packages"]["getAllPackageVersionsForPackageOwnedByUser"]["parameters"]): Promise; - defaults: RequestInterface["defaults"]; - endpoint: EndpointInterface<{ - url: string; - }>; - }; - /** - * Gets a specific package for a package owned by the authenticated user. - * - * To use this endpoint, you must authenticate using an access token with the `packages:read` scope. - * If `package_type` is not `container`, your token must also include the `repo` scope. - */ - getPackageForAuthenticatedUser: { - (params?: RestEndpointMethodTypes["packages"]["getPackageForAuthenticatedUser"]["parameters"]): Promise; - defaults: RequestInterface["defaults"]; - endpoint: EndpointInterface<{ - url: string; - }>; - }; - /** - * Gets a specific package in an organization. - * - * To use this endpoint, you must authenticate using an access token with the `packages:read` scope. - * If `package_type` is not `container`, your token must also include the `repo` scope. - */ - getPackageForOrganization: { - (params?: RestEndpointMethodTypes["packages"]["getPackageForOrganization"]["parameters"]): Promise; - defaults: RequestInterface["defaults"]; - endpoint: EndpointInterface<{ - url: string; - }>; - }; - /** - * Gets a specific package metadata for a public package owned by a user. - * - * To use this endpoint, you must authenticate using an access token with the `packages:read` scope. - * If `package_type` is not `container`, your token must also include the `repo` scope. - */ - getPackageForUser: { - (params?: RestEndpointMethodTypes["packages"]["getPackageForUser"]["parameters"]): Promise; - defaults: RequestInterface["defaults"]; - endpoint: EndpointInterface<{ - url: string; - }>; - }; - /** - * Gets a specific package version for a package owned by the authenticated user. - * - * To use this endpoint, you must authenticate using an access token with the `packages:read` scope. - * If `package_type` is not `container`, your token must also include the `repo` scope. - */ - getPackageVersionForAuthenticatedUser: { - (params?: RestEndpointMethodTypes["packages"]["getPackageVersionForAuthenticatedUser"]["parameters"]): Promise; - defaults: RequestInterface["defaults"]; - endpoint: EndpointInterface<{ - url: string; - }>; - }; - /** - * Gets a specific package version in an organization. - * - * You must authenticate using an access token with the `packages:read` scope. - * If `package_type` is not `container`, your token must also include the `repo` scope. - */ - getPackageVersionForOrganization: { - (params?: RestEndpointMethodTypes["packages"]["getPackageVersionForOrganization"]["parameters"]): Promise; - defaults: RequestInterface["defaults"]; - endpoint: EndpointInterface<{ - url: string; - }>; - }; - /** - * Gets a specific package version for a public package owned by a specified user. - * - * At this time, to use this endpoint, you must authenticate using an access token with the `packages:read` scope. - * If `package_type` is not `container`, your token must also include the `repo` scope. - */ - getPackageVersionForUser: { - (params?: RestEndpointMethodTypes["packages"]["getPackageVersionForUser"]["parameters"]): Promise; - defaults: RequestInterface["defaults"]; - endpoint: EndpointInterface<{ - url: string; - }>; - }; - /** - * Restores a package owned by the authenticated user. - * - * You can restore a deleted package under the following conditions: - * - The package was deleted within the last 30 days. - * - The same package namespace and version is still available and not reused for a new package. If the same package namespace is not available, you will not be able to restore your package. In this scenario, to restore the deleted package, you must delete the new package that uses the deleted package's namespace first. - * - * To use this endpoint, you must authenticate using an access token with the `packages:read` and `packages:write` scope. If `package_type` is not `container`, your token must also include the `repo` scope. - */ - restorePackageForAuthenticatedUser: { - (params?: RestEndpointMethodTypes["packages"]["restorePackageForAuthenticatedUser"]["parameters"]): Promise; - defaults: RequestInterface["defaults"]; - endpoint: EndpointInterface<{ - url: string; - }>; - }; - /** - * Restores an entire package in an organization. - * - * You can restore a deleted package under the following conditions: - * - The package was deleted within the last 30 days. - * - The same package namespace and version is still available and not reused for a new package. If the same package namespace is not available, you will not be able to restore your package. In this scenario, to restore the deleted package, you must delete the new package that uses the deleted package's namespace first. - * - * To use this endpoint, you must have admin permissions in the organization and authenticate using an access token with the `packages:read` and `packages:write` scope. In addition: - * - If `package_type` is not `container`, your token must also include the `repo` scope. - * - If `package_type` is `container`, you must also have admin permissions to the container that you want to restore. - */ - restorePackageForOrg: { - (params?: RestEndpointMethodTypes["packages"]["restorePackageForOrg"]["parameters"]): Promise; - defaults: RequestInterface["defaults"]; - endpoint: EndpointInterface<{ - url: string; - }>; - }; - /** - * Restores a package version owned by the authenticated user. - * - * You can restore a deleted package version under the following conditions: - * - The package was deleted within the last 30 days. - * - The same package namespace and version is still available and not reused for a new package. If the same package namespace is not available, you will not be able to restore your package. In this scenario, to restore the deleted package, you must delete the new package that uses the deleted package's namespace first. - * - * To use this endpoint, you must authenticate using an access token with the `packages:read` and `packages:write` scope. If `package_type` is not `container`, your token must also include the `repo` scope. - */ - restorePackageVersionForAuthenticatedUser: { - (params?: RestEndpointMethodTypes["packages"]["restorePackageVersionForAuthenticatedUser"]["parameters"]): Promise; - defaults: RequestInterface["defaults"]; - endpoint: EndpointInterface<{ - url: string; - }>; - }; - /** - * Restores a specific package version in an organization. - * - * You can restore a deleted package under the following conditions: - * - The package was deleted within the last 30 days. - * - The same package namespace and version is still available and not reused for a new package. If the same package namespace is not available, you will not be able to restore your package. In this scenario, to restore the deleted package, you must delete the new package that uses the deleted package's namespace first. - * - * To use this endpoint, you must have admin permissions in the organization and authenticate using an access token with the `packages:read` and `packages:write` scope. In addition: - * - If `package_type` is not `container`, your token must also include the `repo` scope. - * - If `package_type` is `container`, you must also have admin permissions to the container that you want to restore. - */ - restorePackageVersionForOrg: { - (params?: RestEndpointMethodTypes["packages"]["restorePackageVersionForOrg"]["parameters"]): Promise; - defaults: RequestInterface["defaults"]; - endpoint: EndpointInterface<{ - url: string; - }>; - }; - }; - projects: { - /** - * Adds a collaborator to an organization project and sets their permission level. You must be an organization owner or a project `admin` to add a collaborator. - */ - addCollaborator: { - (params?: RestEndpointMethodTypes["projects"]["addCollaborator"]["parameters"]): Promise; - defaults: RequestInterface["defaults"]; - endpoint: EndpointInterface<{ - url: string; - }>; - }; - createCard: { - (params?: RestEndpointMethodTypes["projects"]["createCard"]["parameters"]): Promise; - defaults: RequestInterface["defaults"]; - endpoint: EndpointInterface<{ - url: string; - }>; - }; - createColumn: { - (params?: RestEndpointMethodTypes["projects"]["createColumn"]["parameters"]): Promise; - defaults: RequestInterface["defaults"]; - endpoint: EndpointInterface<{ - url: string; - }>; - }; - createForAuthenticatedUser: { - (params?: RestEndpointMethodTypes["projects"]["createForAuthenticatedUser"]["parameters"]): Promise; - defaults: RequestInterface["defaults"]; - endpoint: EndpointInterface<{ - url: string; - }>; - }; - /** - * Creates an organization project board. Returns a `404 Not Found` status if projects are disabled in the organization. If you do not have sufficient privileges to perform this action, a `401 Unauthorized` or `410 Gone` status is returned. - */ - createForOrg: { - (params?: RestEndpointMethodTypes["projects"]["createForOrg"]["parameters"]): Promise; - defaults: RequestInterface["defaults"]; - endpoint: EndpointInterface<{ - url: string; - }>; - }; - /** - * Creates a repository project board. Returns a `404 Not Found` status if projects are disabled in the repository. If you do not have sufficient privileges to perform this action, a `401 Unauthorized` or `410 Gone` status is returned. - */ - createForRepo: { - (params?: RestEndpointMethodTypes["projects"]["createForRepo"]["parameters"]): Promise; - defaults: RequestInterface["defaults"]; - endpoint: EndpointInterface<{ - url: string; - }>; - }; - /** - * Deletes a project board. Returns a `404 Not Found` status if projects are disabled. - */ - delete: { - (params?: RestEndpointMethodTypes["projects"]["delete"]["parameters"]): Promise; - defaults: RequestInterface["defaults"]; - endpoint: EndpointInterface<{ - url: string; - }>; - }; - deleteCard: { - (params?: RestEndpointMethodTypes["projects"]["deleteCard"]["parameters"]): Promise; - defaults: RequestInterface["defaults"]; - endpoint: EndpointInterface<{ - url: string; - }>; - }; - deleteColumn: { - (params?: RestEndpointMethodTypes["projects"]["deleteColumn"]["parameters"]): Promise; - defaults: RequestInterface["defaults"]; - endpoint: EndpointInterface<{ - url: string; - }>; - }; - /** - * Gets a project by its `id`. Returns a `404 Not Found` status if projects are disabled. If you do not have sufficient privileges to perform this action, a `401 Unauthorized` or `410 Gone` status is returned. - */ - get: { - (params?: RestEndpointMethodTypes["projects"]["get"]["parameters"]): Promise; - defaults: RequestInterface["defaults"]; - endpoint: EndpointInterface<{ - url: string; - }>; - }; - getCard: { - (params?: RestEndpointMethodTypes["projects"]["getCard"]["parameters"]): Promise; - defaults: RequestInterface["defaults"]; - endpoint: EndpointInterface<{ - url: string; - }>; - }; - getColumn: { - (params?: RestEndpointMethodTypes["projects"]["getColumn"]["parameters"]): Promise; - defaults: RequestInterface["defaults"]; - endpoint: EndpointInterface<{ - url: string; - }>; - }; - /** - * Returns the collaborator's permission level for an organization project. Possible values for the `permission` key: `admin`, `write`, `read`, `none`. You must be an organization owner or a project `admin` to review a user's permission level. - */ - getPermissionForUser: { - (params?: RestEndpointMethodTypes["projects"]["getPermissionForUser"]["parameters"]): Promise; - defaults: RequestInterface["defaults"]; - endpoint: EndpointInterface<{ - url: string; - }>; - }; - listCards: { - (params?: RestEndpointMethodTypes["projects"]["listCards"]["parameters"]): Promise; - defaults: RequestInterface["defaults"]; - endpoint: EndpointInterface<{ - url: string; - }>; - }; - /** - * Lists the collaborators for an organization project. For a project, the list of collaborators includes outside collaborators, organization members that are direct collaborators, organization members with access through team memberships, organization members with access through default organization permissions, and organization owners. You must be an organization owner or a project `admin` to list collaborators. - */ - listCollaborators: { - (params?: RestEndpointMethodTypes["projects"]["listCollaborators"]["parameters"]): Promise; - defaults: RequestInterface["defaults"]; - endpoint: EndpointInterface<{ - url: string; - }>; - }; - listColumns: { - (params?: RestEndpointMethodTypes["projects"]["listColumns"]["parameters"]): Promise; - defaults: RequestInterface["defaults"]; - endpoint: EndpointInterface<{ - url: string; - }>; - }; - /** - * Lists the projects in an organization. Returns a `404 Not Found` status if projects are disabled in the organization. If you do not have sufficient privileges to perform this action, a `401 Unauthorized` or `410 Gone` status is returned. - */ - listForOrg: { - (params?: RestEndpointMethodTypes["projects"]["listForOrg"]["parameters"]): Promise; - defaults: RequestInterface["defaults"]; - endpoint: EndpointInterface<{ - url: string; - }>; - }; - /** - * Lists the projects in a repository. Returns a `404 Not Found` status if projects are disabled in the repository. If you do not have sufficient privileges to perform this action, a `401 Unauthorized` or `410 Gone` status is returned. - */ - listForRepo: { - (params?: RestEndpointMethodTypes["projects"]["listForRepo"]["parameters"]): Promise; - defaults: RequestInterface["defaults"]; - endpoint: EndpointInterface<{ - url: string; - }>; - }; - listForUser: { - (params?: RestEndpointMethodTypes["projects"]["listForUser"]["parameters"]): Promise; - defaults: RequestInterface["defaults"]; - endpoint: EndpointInterface<{ - url: string; - }>; - }; - moveCard: { - (params?: RestEndpointMethodTypes["projects"]["moveCard"]["parameters"]): Promise; - defaults: RequestInterface["defaults"]; - endpoint: EndpointInterface<{ - url: string; - }>; - }; - moveColumn: { - (params?: RestEndpointMethodTypes["projects"]["moveColumn"]["parameters"]): Promise; - defaults: RequestInterface["defaults"]; - endpoint: EndpointInterface<{ - url: string; - }>; - }; - /** - * Removes a collaborator from an organization project. You must be an organization owner or a project `admin` to remove a collaborator. - */ - removeCollaborator: { - (params?: RestEndpointMethodTypes["projects"]["removeCollaborator"]["parameters"]): Promise; - defaults: RequestInterface["defaults"]; - endpoint: EndpointInterface<{ - url: string; - }>; - }; - /** - * Updates a project board's information. Returns a `404 Not Found` status if projects are disabled. If you do not have sufficient privileges to perform this action, a `401 Unauthorized` or `410 Gone` status is returned. - */ - update: { - (params?: RestEndpointMethodTypes["projects"]["update"]["parameters"]): Promise; - defaults: RequestInterface["defaults"]; - endpoint: EndpointInterface<{ - url: string; - }>; - }; - updateCard: { - (params?: RestEndpointMethodTypes["projects"]["updateCard"]["parameters"]): Promise; - defaults: RequestInterface["defaults"]; - endpoint: EndpointInterface<{ - url: string; - }>; - }; - updateColumn: { - (params?: RestEndpointMethodTypes["projects"]["updateColumn"]["parameters"]): Promise; - defaults: RequestInterface["defaults"]; - endpoint: EndpointInterface<{ - url: string; - }>; - }; - }; - pulls: { - checkIfMerged: { - (params?: RestEndpointMethodTypes["pulls"]["checkIfMerged"]["parameters"]): Promise; - defaults: RequestInterface["defaults"]; - endpoint: EndpointInterface<{ - url: string; - }>; - }; - /** - * Draft pull requests are available in public repositories with GitHub Free and GitHub Free for organizations, GitHub Pro, and legacy per-repository billing plans, and in public and private repositories with GitHub Team and GitHub Enterprise Cloud. For more information, see [GitHub's products](https://help.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation. - * - * To open or update a pull request in a public repository, you must have write access to the head or the source branch. For organization-owned repositories, you must be a member of the organization that owns the repository to open or update a pull request. - * - * You can create a new pull request. - * - * This endpoint triggers [notifications](https://docs.github.com/en/github/managing-subscriptions-and-notifications-on-github/about-notifications). Creating content too quickly using this endpoint may result in abuse rate limiting. See "[Abuse rate limits](https://docs.github.com/rest/overview/resources-in-the-rest-api#abuse-rate-limits)" and "[Dealing with abuse rate limits](https://docs.github.com/rest/guides/best-practices-for-integrators#dealing-with-rate-limits)" for details. - */ - create: { - (params?: RestEndpointMethodTypes["pulls"]["create"]["parameters"]): Promise; - defaults: RequestInterface["defaults"]; - endpoint: EndpointInterface<{ - url: string; - }>; - }; - /** - * Creates a reply to a review comment for a pull request. For the `comment_id`, provide the ID of the review comment you are replying to. This must be the ID of a _top-level review comment_, not a reply to that comment. Replies to replies are not supported. - * - * This endpoint triggers [notifications](https://docs.github.com/en/github/managing-subscriptions-and-notifications-on-github/about-notifications). Creating content too quickly using this endpoint may result in abuse rate limiting. See "[Abuse rate limits](https://docs.github.com/rest/overview/resources-in-the-rest-api#abuse-rate-limits)" and "[Dealing with abuse rate limits](https://docs.github.com/rest/guides/best-practices-for-integrators#dealing-with-rate-limits)" for details. - */ - createReplyForReviewComment: { - (params?: RestEndpointMethodTypes["pulls"]["createReplyForReviewComment"]["parameters"]): Promise; - defaults: RequestInterface["defaults"]; - endpoint: EndpointInterface<{ - url: string; - }>; - }; - /** - * This endpoint triggers [notifications](https://docs.github.com/en/github/managing-subscriptions-and-notifications-on-github/about-notifications). Creating content too quickly using this endpoint may result in abuse rate limiting. See "[Abuse rate limits](https://docs.github.com/rest/overview/resources-in-the-rest-api#abuse-rate-limits)" and "[Dealing with abuse rate limits](https://docs.github.com/rest/guides/best-practices-for-integrators#dealing-with-rate-limits)" for details. - * - * Pull request reviews created in the `PENDING` state do not include the `submitted_at` property in the response. - * - * **Note:** To comment on a specific line in a file, you need to first determine the _position_ of that line in the diff. The GitHub REST API v3 offers the `application/vnd.github.v3.diff` [media type](https://docs.github.com/rest/overview/media-types#commits-commit-comparison-and-pull-requests). To see a pull request diff, add this media type to the `Accept` header of a call to the [single pull request](https://docs.github.com/rest/reference/pulls#get-a-pull-request) endpoint. - * - * The `position` value equals the number of lines down from the first "@@" hunk header in the file you want to add a comment. The line just below the "@@" line is position 1, the next line is position 2, and so on. The position in the diff continues to increase through lines of whitespace and additional hunks until the beginning of a new file. - */ - createReview: { - (params?: RestEndpointMethodTypes["pulls"]["createReview"]["parameters"]): Promise; - defaults: RequestInterface["defaults"]; - endpoint: EndpointInterface<{ - url: string; - }>; - }; - /** - * Creates a review comment in the pull request diff. To add a regular comment to a pull request timeline, see "[Create an issue comment](https://docs.github.com/rest/reference/issues#create-an-issue-comment)." We recommend creating a review comment using `line`, `side`, and optionally `start_line` and `start_side` if your comment applies to more than one line in the pull request diff. - * - * You can still create a review comment using the `position` parameter. When you use `position`, the `line`, `side`, `start_line`, and `start_side` parameters are not required. For more information, see the [`comfort-fade` preview notice](https://docs.github.com/rest/reference/pulls#create-a-review-comment-for-a-pull-request-preview-notices). - * - * **Note:** The position value equals the number of lines down from the first "@@" hunk header in the file you want to add a comment. The line just below the "@@" line is position 1, the next line is position 2, and so on. The position in the diff continues to increase through lines of whitespace and additional hunks until the beginning of a new file. - * - * This endpoint triggers [notifications](https://docs.github.com/en/github/managing-subscriptions-and-notifications-on-github/about-notifications). Creating content too quickly using this endpoint may result in abuse rate limiting. See "[Abuse rate limits](https://docs.github.com/rest/overview/resources-in-the-rest-api#abuse-rate-limits)" and "[Dealing with abuse rate limits](https://docs.github.com/rest/guides/best-practices-for-integrators#dealing-with-rate-limits)" for details. - */ - createReviewComment: { - (params?: RestEndpointMethodTypes["pulls"]["createReviewComment"]["parameters"]): Promise; - defaults: RequestInterface["defaults"]; - endpoint: EndpointInterface<{ - url: string; - }>; - }; - deletePendingReview: { - (params?: RestEndpointMethodTypes["pulls"]["deletePendingReview"]["parameters"]): Promise; - defaults: RequestInterface["defaults"]; - endpoint: EndpointInterface<{ - url: string; - }>; - }; - /** - * Deletes a review comment. - */ - deleteReviewComment: { - (params?: RestEndpointMethodTypes["pulls"]["deleteReviewComment"]["parameters"]): Promise; - defaults: RequestInterface["defaults"]; - endpoint: EndpointInterface<{ - url: string; - }>; - }; - /** - * **Note:** To dismiss a pull request review on a [protected branch](https://docs.github.com/rest/reference/repos#branches), you must be a repository administrator or be included in the list of people or teams who can dismiss pull request reviews. - */ - dismissReview: { - (params?: RestEndpointMethodTypes["pulls"]["dismissReview"]["parameters"]): Promise; - defaults: RequestInterface["defaults"]; - endpoint: EndpointInterface<{ - url: string; - }>; - }; - /** - * Draft pull requests are available in public repositories with GitHub Free and GitHub Free for organizations, GitHub Pro, and legacy per-repository billing plans, and in public and private repositories with GitHub Team and GitHub Enterprise Cloud. For more information, see [GitHub's products](https://help.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation. - * - * Lists details of a pull request by providing its number. - * - * When you get, [create](https://docs.github.com/rest/reference/pulls/#create-a-pull-request), or [edit](https://docs.github.com/rest/reference/pulls#update-a-pull-request) a pull request, GitHub creates a merge commit to test whether the pull request can be automatically merged into the base branch. This test commit is not added to the base branch or the head branch. You can review the status of the test commit using the `mergeable` key. For more information, see "[Checking mergeability of pull requests](https://docs.github.com/rest/guides/getting-started-with-the-git-database-api#checking-mergeability-of-pull-requests)". - * - * The value of the `mergeable` attribute can be `true`, `false`, or `null`. If the value is `null`, then GitHub has started a background job to compute the mergeability. After giving the job time to complete, resubmit the request. When the job finishes, you will see a non-`null` value for the `mergeable` attribute in the response. If `mergeable` is `true`, then `merge_commit_sha` will be the SHA of the _test_ merge commit. - * - * The value of the `merge_commit_sha` attribute changes depending on the state of the pull request. Before merging a pull request, the `merge_commit_sha` attribute holds the SHA of the _test_ merge commit. After merging a pull request, the `merge_commit_sha` attribute changes depending on how you merged the pull request: - * - * * If merged as a [merge commit](https://help.github.com/articles/about-merge-methods-on-github/), `merge_commit_sha` represents the SHA of the merge commit. - * * If merged via a [squash](https://help.github.com/articles/about-merge-methods-on-github/#squashing-your-merge-commits), `merge_commit_sha` represents the SHA of the squashed commit on the base branch. - * * If [rebased](https://help.github.com/articles/about-merge-methods-on-github/#rebasing-and-merging-your-commits), `merge_commit_sha` represents the commit that the base branch was updated to. - * - * Pass the appropriate [media type](https://docs.github.com/rest/overview/media-types/#commits-commit-comparison-and-pull-requests) to fetch diff and patch formats. - */ - get: { - (params?: RestEndpointMethodTypes["pulls"]["get"]["parameters"]): Promise; - defaults: RequestInterface["defaults"]; - endpoint: EndpointInterface<{ - url: string; - }>; - }; - getReview: { - (params?: RestEndpointMethodTypes["pulls"]["getReview"]["parameters"]): Promise; - defaults: RequestInterface["defaults"]; - endpoint: EndpointInterface<{ - url: string; - }>; - }; - /** - * Provides details for a review comment. - */ - getReviewComment: { - (params?: RestEndpointMethodTypes["pulls"]["getReviewComment"]["parameters"]): Promise; - defaults: RequestInterface["defaults"]; - endpoint: EndpointInterface<{ - url: string; - }>; - }; - /** - * Draft pull requests are available in public repositories with GitHub Free and GitHub Free for organizations, GitHub Pro, and legacy per-repository billing plans, and in public and private repositories with GitHub Team and GitHub Enterprise Cloud. For more information, see [GitHub's products](https://help.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation. - */ - list: { - (params?: RestEndpointMethodTypes["pulls"]["list"]["parameters"]): Promise; - defaults: RequestInterface["defaults"]; - endpoint: EndpointInterface<{ - url: string; - }>; - }; - /** - * List comments for a specific pull request review. - */ - listCommentsForReview: { - (params?: RestEndpointMethodTypes["pulls"]["listCommentsForReview"]["parameters"]): Promise; - defaults: RequestInterface["defaults"]; - endpoint: EndpointInterface<{ - url: string; - }>; - }; - /** - * Lists a maximum of 250 commits for a pull request. To receive a complete commit list for pull requests with more than 250 commits, use the [List commits](https://docs.github.com/rest/reference/repos#list-commits) endpoint. - */ - listCommits: { - (params?: RestEndpointMethodTypes["pulls"]["listCommits"]["parameters"]): Promise; - defaults: RequestInterface["defaults"]; - endpoint: EndpointInterface<{ - url: string; - }>; - }; - /** - * **Note:** Responses include a maximum of 3000 files. The paginated response returns 30 files per page by default. - */ - listFiles: { - (params?: RestEndpointMethodTypes["pulls"]["listFiles"]["parameters"]): Promise; - defaults: RequestInterface["defaults"]; - endpoint: EndpointInterface<{ - url: string; - }>; - }; - listRequestedReviewers: { - (params?: RestEndpointMethodTypes["pulls"]["listRequestedReviewers"]["parameters"]): Promise; - defaults: RequestInterface["defaults"]; - endpoint: EndpointInterface<{ - url: string; - }>; - }; - /** - * Lists all review comments for a pull request. By default, review comments are in ascending order by ID. - */ - listReviewComments: { - (params?: RestEndpointMethodTypes["pulls"]["listReviewComments"]["parameters"]): Promise; - defaults: RequestInterface["defaults"]; - endpoint: EndpointInterface<{ - url: string; - }>; - }; - /** - * Lists review comments for all pull requests in a repository. By default, review comments are in ascending order by ID. - */ - listReviewCommentsForRepo: { - (params?: RestEndpointMethodTypes["pulls"]["listReviewCommentsForRepo"]["parameters"]): Promise; - defaults: RequestInterface["defaults"]; - endpoint: EndpointInterface<{ - url: string; - }>; - }; - /** - * The list of reviews returns in chronological order. - */ - listReviews: { - (params?: RestEndpointMethodTypes["pulls"]["listReviews"]["parameters"]): Promise; - defaults: RequestInterface["defaults"]; - endpoint: EndpointInterface<{ - url: string; - }>; - }; - /** - * This endpoint triggers [notifications](https://docs.github.com/github/managing-subscriptions-and-notifications-on-github/about-notifications). Creating content too quickly using this endpoint may result in abuse rate limiting. See "[Abuse rate limits](https://docs.github.com/rest/overview/resources-in-the-rest-api#abuse-rate-limits)" and "[Dealing with abuse rate limits](https://docs.github.com/rest/guides/best-practices-for-integrators#dealing-with-abuse-rate-limits)" for details. - */ - merge: { - (params?: RestEndpointMethodTypes["pulls"]["merge"]["parameters"]): Promise; - defaults: RequestInterface["defaults"]; - endpoint: EndpointInterface<{ - url: string; - }>; - }; - removeRequestedReviewers: { - (params?: RestEndpointMethodTypes["pulls"]["removeRequestedReviewers"]["parameters"]): Promise; - defaults: RequestInterface["defaults"]; - endpoint: EndpointInterface<{ - url: string; - }>; - }; - /** - * This endpoint triggers [notifications](https://docs.github.com/github/managing-subscriptions-and-notifications-on-github/about-notifications). Creating content too quickly using this endpoint may result in abuse rate limiting. See "[Abuse rate limits](https://docs.github.com/rest/overview/resources-in-the-rest-api#abuse-rate-limits)" and "[Dealing with abuse rate limits](https://docs.github.com/rest/guides/best-practices-for-integrators#dealing-with-abuse-rate-limits)" for details. - */ - requestReviewers: { - (params?: RestEndpointMethodTypes["pulls"]["requestReviewers"]["parameters"]): Promise; - defaults: RequestInterface["defaults"]; - endpoint: EndpointInterface<{ - url: string; - }>; - }; - submitReview: { - (params?: RestEndpointMethodTypes["pulls"]["submitReview"]["parameters"]): Promise; - defaults: RequestInterface["defaults"]; - endpoint: EndpointInterface<{ - url: string; - }>; - }; - /** - * Draft pull requests are available in public repositories with GitHub Free and GitHub Free for organizations, GitHub Pro, and legacy per-repository billing plans, and in public and private repositories with GitHub Team and GitHub Enterprise Cloud. For more information, see [GitHub's products](https://help.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation. - * - * To open or update a pull request in a public repository, you must have write access to the head or the source branch. For organization-owned repositories, you must be a member of the organization that owns the repository to open or update a pull request. - */ - update: { - (params?: RestEndpointMethodTypes["pulls"]["update"]["parameters"]): Promise; - defaults: RequestInterface["defaults"]; - endpoint: EndpointInterface<{ - url: string; - }>; - }; - /** - * Updates the pull request branch with the latest upstream changes by merging HEAD from the base branch into the pull request branch. - */ - updateBranch: { - (params?: RestEndpointMethodTypes["pulls"]["updateBranch"]["parameters"]): Promise; - defaults: RequestInterface["defaults"]; - endpoint: EndpointInterface<{ - url: string; - }>; - }; - /** - * Update the review summary comment with new text. - */ - updateReview: { - (params?: RestEndpointMethodTypes["pulls"]["updateReview"]["parameters"]): Promise; - defaults: RequestInterface["defaults"]; - endpoint: EndpointInterface<{ - url: string; - }>; - }; - /** - * Enables you to edit a review comment. - */ - updateReviewComment: { - (params?: RestEndpointMethodTypes["pulls"]["updateReviewComment"]["parameters"]): Promise; - defaults: RequestInterface["defaults"]; - endpoint: EndpointInterface<{ - url: string; - }>; - }; - }; - rateLimit: { - /** - * **Note:** Accessing this endpoint does not count against your REST API rate limit. - * - * **Note:** The `rate` object is deprecated. If you're writing new API client code or updating existing code, you should use the `core` object instead of the `rate` object. The `core` object contains the same information that is present in the `rate` object. - */ - get: { - (params?: RestEndpointMethodTypes["rateLimit"]["get"]["parameters"]): Promise; - defaults: RequestInterface["defaults"]; - endpoint: EndpointInterface<{ - url: string; - }>; - }; - }; - reactions: { - /** - * Create a reaction to a [commit comment](https://docs.github.com/rest/reference/repos#comments). A response with an HTTP `200` status means that you already added the reaction type to this commit comment. - */ - createForCommitComment: { - (params?: RestEndpointMethodTypes["reactions"]["createForCommitComment"]["parameters"]): Promise; - defaults: RequestInterface["defaults"]; - endpoint: EndpointInterface<{ - url: string; - }>; - }; - /** - * Create a reaction to an [issue](https://docs.github.com/rest/reference/issues/). A response with an HTTP `200` status means that you already added the reaction type to this issue. - */ - createForIssue: { - (params?: RestEndpointMethodTypes["reactions"]["createForIssue"]["parameters"]): Promise; - defaults: RequestInterface["defaults"]; - endpoint: EndpointInterface<{ - url: string; - }>; - }; - /** - * Create a reaction to an [issue comment](https://docs.github.com/rest/reference/issues#comments). A response with an HTTP `200` status means that you already added the reaction type to this issue comment. - */ - createForIssueComment: { - (params?: RestEndpointMethodTypes["reactions"]["createForIssueComment"]["parameters"]): Promise; - defaults: RequestInterface["defaults"]; - endpoint: EndpointInterface<{ - url: string; - }>; - }; - /** - * Create a reaction to a [pull request review comment](https://docs.github.com/rest/reference/pulls#comments). A response with an HTTP `200` status means that you already added the reaction type to this pull request review comment. - */ - createForPullRequestReviewComment: { - (params?: RestEndpointMethodTypes["reactions"]["createForPullRequestReviewComment"]["parameters"]): Promise; - defaults: RequestInterface["defaults"]; - endpoint: EndpointInterface<{ - url: string; - }>; - }; - /** - * Create a reaction to a [release](https://docs.github.com/rest/reference/repos#releases). A response with a `Status: 200 OK` means that you already added the reaction type to this release. - */ - createForRelease: { - (params?: RestEndpointMethodTypes["reactions"]["createForRelease"]["parameters"]): Promise; - defaults: RequestInterface["defaults"]; - endpoint: EndpointInterface<{ - url: string; - }>; - }; - /** - * Create a reaction to a [team discussion comment](https://docs.github.com/rest/reference/teams#discussion-comments). OAuth access tokens require the `write:discussion` [scope](https://docs.github.com/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/). A response with an HTTP `200` status means that you already added the reaction type to this team discussion comment. - * - * **Note:** You can also specify a team by `org_id` and `team_id` using the route `POST /organizations/:org_id/team/:team_id/discussions/:discussion_number/comments/:comment_number/reactions`. - */ - createForTeamDiscussionCommentInOrg: { - (params?: RestEndpointMethodTypes["reactions"]["createForTeamDiscussionCommentInOrg"]["parameters"]): Promise; - defaults: RequestInterface["defaults"]; - endpoint: EndpointInterface<{ - url: string; - }>; - }; - /** - * Create a reaction to a [team discussion](https://docs.github.com/rest/reference/teams#discussions). OAuth access tokens require the `write:discussion` [scope](https://docs.github.com/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/). A response with an HTTP `200` status means that you already added the reaction type to this team discussion. - * - * **Note:** You can also specify a team by `org_id` and `team_id` using the route `POST /organizations/:org_id/team/:team_id/discussions/:discussion_number/reactions`. - */ - createForTeamDiscussionInOrg: { - (params?: RestEndpointMethodTypes["reactions"]["createForTeamDiscussionInOrg"]["parameters"]): Promise; - defaults: RequestInterface["defaults"]; - endpoint: EndpointInterface<{ - url: string; - }>; - }; - /** - * **Note:** You can also specify a repository by `repository_id` using the route `DELETE /repositories/:repository_id/comments/:comment_id/reactions/:reaction_id`. - * - * Delete a reaction to a [commit comment](https://docs.github.com/rest/reference/repos#comments). - */ - deleteForCommitComment: { - (params?: RestEndpointMethodTypes["reactions"]["deleteForCommitComment"]["parameters"]): Promise; - defaults: RequestInterface["defaults"]; - endpoint: EndpointInterface<{ - url: string; - }>; - }; - /** - * **Note:** You can also specify a repository by `repository_id` using the route `DELETE /repositories/:repository_id/issues/:issue_number/reactions/:reaction_id`. - * - * Delete a reaction to an [issue](https://docs.github.com/rest/reference/issues/). - */ - deleteForIssue: { - (params?: RestEndpointMethodTypes["reactions"]["deleteForIssue"]["parameters"]): Promise; - defaults: RequestInterface["defaults"]; - endpoint: EndpointInterface<{ - url: string; - }>; - }; - /** - * **Note:** You can also specify a repository by `repository_id` using the route `DELETE delete /repositories/:repository_id/issues/comments/:comment_id/reactions/:reaction_id`. - * - * Delete a reaction to an [issue comment](https://docs.github.com/rest/reference/issues#comments). - */ - deleteForIssueComment: { - (params?: RestEndpointMethodTypes["reactions"]["deleteForIssueComment"]["parameters"]): Promise; - defaults: RequestInterface["defaults"]; - endpoint: EndpointInterface<{ - url: string; - }>; - }; - /** - * **Note:** You can also specify a repository by `repository_id` using the route `DELETE /repositories/:repository_id/pulls/comments/:comment_id/reactions/:reaction_id.` - * - * Delete a reaction to a [pull request review comment](https://docs.github.com/rest/reference/pulls#review-comments). - */ - deleteForPullRequestComment: { - (params?: RestEndpointMethodTypes["reactions"]["deleteForPullRequestComment"]["parameters"]): Promise; - defaults: RequestInterface["defaults"]; - endpoint: EndpointInterface<{ - url: string; - }>; - }; - /** - * **Note:** You can also specify a team or organization with `team_id` and `org_id` using the route `DELETE /organizations/:org_id/team/:team_id/discussions/:discussion_number/reactions/:reaction_id`. - * - * Delete a reaction to a [team discussion](https://docs.github.com/rest/reference/teams#discussions). OAuth access tokens require the `write:discussion` [scope](https://docs.github.com/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/). - */ - deleteForTeamDiscussion: { - (params?: RestEndpointMethodTypes["reactions"]["deleteForTeamDiscussion"]["parameters"]): Promise; - defaults: RequestInterface["defaults"]; - endpoint: EndpointInterface<{ - url: string; - }>; - }; - /** - * **Note:** You can also specify a team or organization with `team_id` and `org_id` using the route `DELETE /organizations/:org_id/team/:team_id/discussions/:discussion_number/comments/:comment_number/reactions/:reaction_id`. - * - * Delete a reaction to a [team discussion comment](https://docs.github.com/rest/reference/teams#discussion-comments). OAuth access tokens require the `write:discussion` [scope](https://docs.github.com/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/). - */ - deleteForTeamDiscussionComment: { - (params?: RestEndpointMethodTypes["reactions"]["deleteForTeamDiscussionComment"]["parameters"]): Promise; - defaults: RequestInterface["defaults"]; - endpoint: EndpointInterface<{ - url: string; - }>; - }; - /** - * **Deprecation Notice:** This endpoint route is deprecated and will be removed from the Reactions API. We recommend migrating your existing code to use the new delete reactions endpoints. For more information, see this [blog post](https://developer.github.com/changes/2020-02-26-new-delete-reactions-endpoints/). - * - * OAuth access tokens require the `write:discussion` [scope](https://docs.github.com/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/), when deleting a [team discussion](https://docs.github.com/rest/reference/teams#discussions) or [team discussion comment](https://docs.github.com/rest/reference/teams#discussion-comments). - * @deprecated octokit.rest.reactions.deleteLegacy() is deprecated, see https://docs.github.com/rest/reference/reactions/#delete-a-reaction-legacy - */ - deleteLegacy: { - (params?: RestEndpointMethodTypes["reactions"]["deleteLegacy"]["parameters"]): Promise; - defaults: RequestInterface["defaults"]; - endpoint: EndpointInterface<{ - url: string; - }>; - }; - /** - * List the reactions to a [commit comment](https://docs.github.com/rest/reference/repos#comments). - */ - listForCommitComment: { - (params?: RestEndpointMethodTypes["reactions"]["listForCommitComment"]["parameters"]): Promise; - defaults: RequestInterface["defaults"]; - endpoint: EndpointInterface<{ - url: string; - }>; - }; - /** - * List the reactions to an [issue](https://docs.github.com/rest/reference/issues). - */ - listForIssue: { - (params?: RestEndpointMethodTypes["reactions"]["listForIssue"]["parameters"]): Promise; - defaults: RequestInterface["defaults"]; - endpoint: EndpointInterface<{ - url: string; - }>; - }; - /** - * List the reactions to an [issue comment](https://docs.github.com/rest/reference/issues#comments). - */ - listForIssueComment: { - (params?: RestEndpointMethodTypes["reactions"]["listForIssueComment"]["parameters"]): Promise; - defaults: RequestInterface["defaults"]; - endpoint: EndpointInterface<{ - url: string; - }>; - }; - /** - * List the reactions to a [pull request review comment](https://docs.github.com/rest/reference/pulls#review-comments). - */ - listForPullRequestReviewComment: { - (params?: RestEndpointMethodTypes["reactions"]["listForPullRequestReviewComment"]["parameters"]): Promise; - defaults: RequestInterface["defaults"]; - endpoint: EndpointInterface<{ - url: string; - }>; - }; - /** - * List the reactions to a [team discussion comment](https://docs.github.com/rest/reference/teams#discussion-comments/). OAuth access tokens require the `read:discussion` [scope](https://docs.github.com/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/). - * - * **Note:** You can also specify a team by `org_id` and `team_id` using the route `GET /organizations/:org_id/team/:team_id/discussions/:discussion_number/comments/:comment_number/reactions`. - */ - listForTeamDiscussionCommentInOrg: { - (params?: RestEndpointMethodTypes["reactions"]["listForTeamDiscussionCommentInOrg"]["parameters"]): Promise; - defaults: RequestInterface["defaults"]; - endpoint: EndpointInterface<{ - url: string; - }>; - }; - /** - * List the reactions to a [team discussion](https://docs.github.com/rest/reference/teams#discussions). OAuth access tokens require the `read:discussion` [scope](https://docs.github.com/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/). - * - * **Note:** You can also specify a team by `org_id` and `team_id` using the route `GET /organizations/:org_id/team/:team_id/discussions/:discussion_number/reactions`. - */ - listForTeamDiscussionInOrg: { - (params?: RestEndpointMethodTypes["reactions"]["listForTeamDiscussionInOrg"]["parameters"]): Promise; - defaults: RequestInterface["defaults"]; - endpoint: EndpointInterface<{ - url: string; - }>; - }; - }; - repos: { - acceptInvitation: { - (params?: RestEndpointMethodTypes["repos"]["acceptInvitation"]["parameters"]): Promise; - defaults: RequestInterface["defaults"]; - endpoint: EndpointInterface<{ - url: string; - }>; - }; - /** - * Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://help.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation. - * - * Grants the specified apps push access for this branch. Only installed GitHub Apps with `write` access to the `contents` permission can be added as authorized actors on a protected branch. - * - * | Type | Description | - * | ------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------- | - * | `array` | The GitHub Apps that have push access to this branch. Use the app's `slug`. **Note**: The list of users, apps, and teams in total is limited to 100 items. | - */ - addAppAccessRestrictions: { - (params?: RestEndpointMethodTypes["repos"]["addAppAccessRestrictions"]["parameters"]): Promise; - defaults: RequestInterface["defaults"]; - endpoint: EndpointInterface<{ - url: string; - }>; - }; - /** - * This endpoint triggers [notifications](https://docs.github.com/en/github/managing-subscriptions-and-notifications-on-github/about-notifications). Creating content too quickly using this endpoint may result in abuse rate limiting. See "[Abuse rate limits](https://docs.github.com/rest/overview/resources-in-the-rest-api#abuse-rate-limits)" and "[Dealing with abuse rate limits](https://docs.github.com/rest/guides/best-practices-for-integrators#dealing-with-rate-limits)" for details. - * - * For more information the permission levels, see "[Repository permission levels for an organization](https://help.github.com/en/github/setting-up-and-managing-organizations-and-teams/repository-permission-levels-for-an-organization#permission-levels-for-repositories-owned-by-an-organization)". - * - * Note that, if you choose not to pass any parameters, you'll need to set `Content-Length` to zero when calling out to this endpoint. For more information, see "[HTTP verbs](https://docs.github.com/rest/overview/resources-in-the-rest-api#http-verbs)." - * - * The invitee will receive a notification that they have been invited to the repository, which they must accept or decline. They may do this via the notifications page, the email they receive, or by using the [repository invitations API endpoints](https://docs.github.com/rest/reference/repos#invitations). - * - * **Rate limits** - * - * To prevent abuse, you are limited to sending 50 invitations to a repository per 24 hour period. Note there is no limit if you are inviting organization members to an organization repository. - */ - addCollaborator: { - (params?: RestEndpointMethodTypes["repos"]["addCollaborator"]["parameters"]): Promise; - defaults: RequestInterface["defaults"]; - endpoint: EndpointInterface<{ - url: string; - }>; - }; - /** - * Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://help.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation. - */ - addStatusCheckContexts: { - (params?: RestEndpointMethodTypes["repos"]["addStatusCheckContexts"]["parameters"]): Promise; - defaults: RequestInterface["defaults"]; - endpoint: EndpointInterface<{ - url: string; - }>; - }; - /** - * Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://help.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation. - * - * Grants the specified teams push access for this branch. You can also give push access to child teams. - * - * | Type | Description | - * | ------- | ------------------------------------------------------------------------------------------------------------------------------------------ | - * | `array` | The teams that can have push access. Use the team's `slug`. **Note**: The list of users, apps, and teams in total is limited to 100 items. | - */ - addTeamAccessRestrictions: { - (params?: RestEndpointMethodTypes["repos"]["addTeamAccessRestrictions"]["parameters"]): Promise; - defaults: RequestInterface["defaults"]; - endpoint: EndpointInterface<{ - url: string; - }>; - }; - /** - * Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://help.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation. - * - * Grants the specified people push access for this branch. - * - * | Type | Description | - * | ------- | ----------------------------------------------------------------------------------------------------------------------------- | - * | `array` | Usernames for people who can have push access. **Note**: The list of users, apps, and teams in total is limited to 100 items. | - */ - addUserAccessRestrictions: { - (params?: RestEndpointMethodTypes["repos"]["addUserAccessRestrictions"]["parameters"]): Promise; - defaults: RequestInterface["defaults"]; - endpoint: EndpointInterface<{ - url: string; - }>; - }; - /** - * For organization-owned repositories, the list of collaborators includes outside collaborators, organization members that are direct collaborators, organization members with access through team memberships, organization members with access through default organization permissions, and organization owners. - * - * Team members will include the members of child teams. - */ - checkCollaborator: { - (params?: RestEndpointMethodTypes["repos"]["checkCollaborator"]["parameters"]): Promise; - defaults: RequestInterface["defaults"]; - endpoint: EndpointInterface<{ - url: string; - }>; - }; - /** - * Shows whether dependency alerts are enabled or disabled for a repository. The authenticated user must have admin access to the repository. For more information, see "[About security alerts for vulnerable dependencies](https://help.github.com/en/articles/about-security-alerts-for-vulnerable-dependencies)". - */ - checkVulnerabilityAlerts: { - (params?: RestEndpointMethodTypes["repos"]["checkVulnerabilityAlerts"]["parameters"]): Promise; - defaults: RequestInterface["defaults"]; - endpoint: EndpointInterface<{ - url: string; - }>; - }; - /** - * **Deprecated**: Use `repos.compareCommitsWithBasehead()` (`GET /repos/{owner}/{repo}/compare/{basehead}`) instead. Both `:base` and `:head` must be branch names in `:repo`. To compare branches across other repositories in the same network as `:repo`, use the format `:branch`. - * - * The response from the API is equivalent to running the `git log base..head` command; however, commits are returned in chronological order. Pass the appropriate [media type](https://docs.github.com/rest/overview/media-types/#commits-commit-comparison-and-pull-requests) to fetch diff and patch formats. - * - * The response also includes details on the files that were changed between the two commits. This includes the status of the change (for example, if a file was added, removed, modified, or renamed), and details of the change itself. For example, files with a `renamed` status have a `previous_filename` field showing the previous filename of the file, and files with a `modified` status have a `patch` field showing the changes made to the file. - * - * **Working with large comparisons** - * - * To process a response with a large number of commits, you can use (`per_page` or `page`) to paginate the results. When using paging, the list of changed files is only returned with page 1, but includes all changed files for the entire comparison. For more information on working with pagination, see "[Traversing with pagination](/rest/guides/traversing-with-pagination)." - * - * When calling this API without any paging parameters (`per_page` or `page`), the returned list is limited to 250 commits and the last commit in the list is the most recent of the entire comparison. When a paging parameter is specified, the first commit in the returned list of each page is the earliest. - * - * **Signature verification object** - * - * The response will include a `verification` object that describes the result of verifying the commit's signature. The following fields are included in the `verification` object: - * - * | Name | Type | Description | - * | ---- | ---- | ----------- | - * | `verified` | `boolean` | Indicates whether GitHub considers the signature in this commit to be verified. | - * | `reason` | `string` | The reason for verified value. Possible values and their meanings are enumerated in table below. | - * | `signature` | `string` | The signature that was extracted from the commit. | - * | `payload` | `string` | The value that was signed. | - * - * These are the possible values for `reason` in the `verification` object: - * - * | Value | Description | - * | ----- | ----------- | - * | `expired_key` | The key that made the signature is expired. | - * | `not_signing_key` | The "signing" flag is not among the usage flags in the GPG key that made the signature. | - * | `gpgverify_error` | There was an error communicating with the signature verification service. | - * | `gpgverify_unavailable` | The signature verification service is currently unavailable. | - * | `unsigned` | The object does not include a signature. | - * | `unknown_signature_type` | A non-PGP signature was found in the commit. | - * | `no_user` | No user was associated with the `committer` email address in the commit. | - * | `unverified_email` | The `committer` email address in the commit was associated with a user, but the email address is not verified on her/his account. | - * | `bad_email` | The `committer` email address in the commit is not included in the identities of the PGP key that made the signature. | - * | `unknown_key` | The key that made the signature has not been registered with any user's account. | - * | `malformed_signature` | There was an error parsing the signature. | - * | `invalid` | The signature could not be cryptographically verified using the key whose key-id was found in the signature. | - * | `valid` | None of the above errors applied, so the signature is considered to be verified. | - */ - compareCommits: { - (params?: RestEndpointMethodTypes["repos"]["compareCommits"]["parameters"]): Promise; - defaults: RequestInterface["defaults"]; - endpoint: EndpointInterface<{ - url: string; - }>; - }; - /** - * The `basehead` param is comprised of two parts: `base` and `head`. Both must be branch names in `repo`. To compare branches across other repositories in the same network as `repo`, use the format `:branch`. - * - * The response from the API is equivalent to running the `git log base..head` command; however, commits are returned in chronological order. Pass the appropriate [media type](https://docs.github.com/rest/overview/media-types/#commits-commit-comparison-and-pull-requests) to fetch diff and patch formats. - * - * The response also includes details on the files that were changed between the two commits. This includes the status of the change (for example, if a file was added, removed, modified, or renamed), and details of the change itself. For example, files with a `renamed` status have a `previous_filename` field showing the previous filename of the file, and files with a `modified` status have a `patch` field showing the changes made to the file. - * - * **Working with large comparisons** - * - * To process a response with a large number of commits, you can use (`per_page` or `page`) to paginate the results. When using paging, the list of changed files is only returned with page 1, but includes all changed files for the entire comparison. For more information on working with pagination, see "[Traversing with pagination](/rest/guides/traversing-with-pagination)." - * - * When calling this API without any paging parameters (`per_page` or `page`), the returned list is limited to 250 commits and the last commit in the list is the most recent of the entire comparison. When a paging parameter is specified, the first commit in the returned list of each page is the earliest. - * - * **Signature verification object** - * - * The response will include a `verification` object that describes the result of verifying the commit's signature. The following fields are included in the `verification` object: - * - * | Name | Type | Description | - * | ---- | ---- | ----------- | - * | `verified` | `boolean` | Indicates whether GitHub considers the signature in this commit to be verified. | - * | `reason` | `string` | The reason for verified value. Possible values and their meanings are enumerated in table below. | - * | `signature` | `string` | The signature that was extracted from the commit. | - * | `payload` | `string` | The value that was signed. | - * - * These are the possible values for `reason` in the `verification` object: - * - * | Value | Description | - * | ----- | ----------- | - * | `expired_key` | The key that made the signature is expired. | - * | `not_signing_key` | The "signing" flag is not among the usage flags in the GPG key that made the signature. | - * | `gpgverify_error` | There was an error communicating with the signature verification service. | - * | `gpgverify_unavailable` | The signature verification service is currently unavailable. | - * | `unsigned` | The object does not include a signature. | - * | `unknown_signature_type` | A non-PGP signature was found in the commit. | - * | `no_user` | No user was associated with the `committer` email address in the commit. | - * | `unverified_email` | The `committer` email address in the commit was associated with a user, but the email address is not verified on her/his account. | - * | `bad_email` | The `committer` email address in the commit is not included in the identities of the PGP key that made the signature. | - * | `unknown_key` | The key that made the signature has not been registered with any user's account. | - * | `malformed_signature` | There was an error parsing the signature. | - * | `invalid` | The signature could not be cryptographically verified using the key whose key-id was found in the signature. | - * | `valid` | None of the above errors applied, so the signature is considered to be verified. | - */ - compareCommitsWithBasehead: { - (params?: RestEndpointMethodTypes["repos"]["compareCommitsWithBasehead"]["parameters"]): Promise; - defaults: RequestInterface["defaults"]; - endpoint: EndpointInterface<{ - url: string; - }>; - }; - /** - * Create a comment for a commit using its `:commit_sha`. - * - * This endpoint triggers [notifications](https://docs.github.com/en/github/managing-subscriptions-and-notifications-on-github/about-notifications). Creating content too quickly using this endpoint may result in abuse rate limiting. See "[Abuse rate limits](https://docs.github.com/rest/overview/resources-in-the-rest-api#abuse-rate-limits)" and "[Dealing with abuse rate limits](https://docs.github.com/rest/guides/best-practices-for-integrators#dealing-with-rate-limits)" for details. - */ - createCommitComment: { - (params?: RestEndpointMethodTypes["repos"]["createCommitComment"]["parameters"]): Promise; - defaults: RequestInterface["defaults"]; - endpoint: EndpointInterface<{ - url: string; - }>; - }; - /** - * Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://help.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation. - * - * When authenticated with admin or owner permissions to the repository, you can use this endpoint to require signed commits on a branch. You must enable branch protection to require signed commits. - */ - createCommitSignatureProtection: { - (params?: RestEndpointMethodTypes["repos"]["createCommitSignatureProtection"]["parameters"]): Promise; - defaults: RequestInterface["defaults"]; - endpoint: EndpointInterface<{ - url: string; - }>; - }; - /** - * Users with push access in a repository can create commit statuses for a given SHA. - * - * Note: there is a limit of 1000 statuses per `sha` and `context` within a repository. Attempts to create more than 1000 statuses will result in a validation error. - */ - createCommitStatus: { - (params?: RestEndpointMethodTypes["repos"]["createCommitStatus"]["parameters"]): Promise; - defaults: RequestInterface["defaults"]; - endpoint: EndpointInterface<{ - url: string; - }>; - }; - /** - * You can create a read-only deploy key. - */ - createDeployKey: { - (params?: RestEndpointMethodTypes["repos"]["createDeployKey"]["parameters"]): Promise; - defaults: RequestInterface["defaults"]; - endpoint: EndpointInterface<{ - url: string; - }>; - }; - /** - * Deployments offer a few configurable parameters with certain defaults. - * - * The `ref` parameter can be any named branch, tag, or SHA. At GitHub we often deploy branches and verify them - * before we merge a pull request. - * - * The `environment` parameter allows deployments to be issued to different runtime environments. Teams often have - * multiple environments for verifying their applications, such as `production`, `staging`, and `qa`. This parameter - * makes it easier to track which environments have requested deployments. The default environment is `production`. - * - * The `auto_merge` parameter is used to ensure that the requested ref is not behind the repository's default branch. If - * the ref _is_ behind the default branch for the repository, we will attempt to merge it for you. If the merge succeeds, - * the API will return a successful merge commit. If merge conflicts prevent the merge from succeeding, the API will - * return a failure response. - * - * By default, [commit statuses](https://docs.github.com/rest/reference/repos#statuses) for every submitted context must be in a `success` - * state. The `required_contexts` parameter allows you to specify a subset of contexts that must be `success`, or to - * specify contexts that have not yet been submitted. You are not required to use commit statuses to deploy. If you do - * not require any contexts or create any commit statuses, the deployment will always succeed. - * - * The `payload` parameter is available for any extra information that a deployment system might need. It is a JSON text - * field that will be passed on when a deployment event is dispatched. - * - * The `task` parameter is used by the deployment system to allow different execution paths. In the web world this might - * be `deploy:migrations` to run schema changes on the system. In the compiled world this could be a flag to compile an - * application with debugging enabled. - * - * Users with `repo` or `repo_deployment` scopes can create a deployment for a given ref. - * - * #### Merged branch response - * You will see this response when GitHub automatically merges the base branch into the topic branch instead of creating - * a deployment. This auto-merge happens when: - * * Auto-merge option is enabled in the repository - * * Topic branch does not include the latest changes on the base branch, which is `master` in the response example - * * There are no merge conflicts - * - * If there are no new commits in the base branch, a new request to create a deployment should give a successful - * response. - * - * #### Merge conflict response - * This error happens when the `auto_merge` option is enabled and when the default branch (in this case `master`), can't - * be merged into the branch that's being deployed (in this case `topic-branch`), due to merge conflicts. - * - * #### Failed commit status checks - * This error happens when the `required_contexts` parameter indicates that one or more contexts need to have a `success` - * status for the commit to be deployed, but one or more of the required contexts do not have a state of `success`. - */ - createDeployment: { - (params?: RestEndpointMethodTypes["repos"]["createDeployment"]["parameters"]): Promise; - defaults: RequestInterface["defaults"]; - endpoint: EndpointInterface<{ - url: string; - }>; - }; - /** - * Users with `push` access can create deployment statuses for a given deployment. - * - * GitHub Apps require `read & write` access to "Deployments" and `read-only` access to "Repo contents" (for private repos). OAuth Apps require the `repo_deployment` scope. - */ - createDeploymentStatus: { - (params?: RestEndpointMethodTypes["repos"]["createDeploymentStatus"]["parameters"]): Promise; - defaults: RequestInterface["defaults"]; - endpoint: EndpointInterface<{ - url: string; - }>; - }; - /** - * You can use this endpoint to trigger a webhook event called `repository_dispatch` when you want activity that happens outside of GitHub to trigger a GitHub Actions workflow or GitHub App webhook. You must configure your GitHub Actions workflow or GitHub App to run when the `repository_dispatch` event occurs. For an example `repository_dispatch` webhook payload, see "[RepositoryDispatchEvent](https://docs.github.com/webhooks/event-payloads/#repository_dispatch)." - * - * The `client_payload` parameter is available for any extra information that your workflow might need. This parameter is a JSON payload that will be passed on when the webhook event is dispatched. For example, the `client_payload` can include a message that a user would like to send using a GitHub Actions workflow. Or the `client_payload` can be used as a test to debug your workflow. - * - * This endpoint requires write access to the repository by providing either: - * - * - Personal access tokens with `repo` scope. For more information, see "[Creating a personal access token for the command line](https://help.github.com/articles/creating-a-personal-access-token-for-the-command-line)" in the GitHub Help documentation. - * - GitHub Apps with both `metadata:read` and `contents:read&write` permissions. - * - * This input example shows how you can use the `client_payload` as a test to debug your workflow. - */ - createDispatchEvent: { - (params?: RestEndpointMethodTypes["repos"]["createDispatchEvent"]["parameters"]): Promise; - defaults: RequestInterface["defaults"]; - endpoint: EndpointInterface<{ - url: string; - }>; - }; - /** - * Creates a new repository for the authenticated user. - * - * **OAuth scope requirements** - * - * When using [OAuth](https://docs.github.com/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/), authorizations must include: - * - * * `public_repo` scope or `repo` scope to create a public repository. Note: For GitHub AE, use `repo` scope to create an internal repository. - * * `repo` scope to create a private repository. - */ - createForAuthenticatedUser: { - (params?: RestEndpointMethodTypes["repos"]["createForAuthenticatedUser"]["parameters"]): Promise; - defaults: RequestInterface["defaults"]; - endpoint: EndpointInterface<{ - url: string; - }>; - }; - /** - * Create a fork for the authenticated user. - * - * **Note**: Forking a Repository happens asynchronously. You may have to wait a short period of time before you can access the git objects. If this takes longer than 5 minutes, be sure to contact [GitHub Support](https://support.github.com/contact) or [GitHub Premium Support](https://premium.githubsupport.com). - */ - createFork: { - (params?: RestEndpointMethodTypes["repos"]["createFork"]["parameters"]): Promise; - defaults: RequestInterface["defaults"]; - endpoint: EndpointInterface<{ - url: string; - }>; - }; - /** - * Creates a new repository in the specified organization. The authenticated user must be a member of the organization. - * - * **OAuth scope requirements** - * - * When using [OAuth](https://docs.github.com/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/), authorizations must include: - * - * * `public_repo` scope or `repo` scope to create a public repository. Note: For GitHub AE, use `repo` scope to create an internal repository. - * * `repo` scope to create a private repository - */ - createInOrg: { - (params?: RestEndpointMethodTypes["repos"]["createInOrg"]["parameters"]): Promise; - defaults: RequestInterface["defaults"]; - endpoint: EndpointInterface<{ - url: string; - }>; - }; - /** - * Create or update an environment with protection rules, such as required reviewers. For more information about environment protection rules, see "[Environments](/actions/reference/environments#environment-protection-rules)." - * - * **Note:** Although you can use this operation to specify that only branches that match specified name patterns can deploy to this environment, you must use the UI to set the name patterns. For more information, see "[Environments](/actions/reference/environments#deployment-branches)." - * - * **Note:** To create or update secrets for an environment, see "[Secrets](/rest/reference/actions#secrets)." - * - * You must authenticate using an access token with the repo scope to use this endpoint. - */ - createOrUpdateEnvironment: { - (params?: RestEndpointMethodTypes["repos"]["createOrUpdateEnvironment"]["parameters"]): Promise; - defaults: RequestInterface["defaults"]; - endpoint: EndpointInterface<{ - url: string; - }>; - }; - /** - * Creates a new file or replaces an existing file in a repository. - */ - createOrUpdateFileContents: { - (params?: RestEndpointMethodTypes["repos"]["createOrUpdateFileContents"]["parameters"]): Promise; - defaults: RequestInterface["defaults"]; - endpoint: EndpointInterface<{ - url: string; - }>; - }; - /** - * Configures a GitHub Pages site. For more information, see "[About GitHub Pages](/github/working-with-github-pages/about-github-pages)." - */ - createPagesSite: { - (params?: RestEndpointMethodTypes["repos"]["createPagesSite"]["parameters"]): Promise; - defaults: RequestInterface["defaults"]; - endpoint: EndpointInterface<{ - url: string; - }>; - }; - /** - * Users with push access to the repository can create a release. - * - * This endpoint triggers [notifications](https://docs.github.com/en/github/managing-subscriptions-and-notifications-on-github/about-notifications). Creating content too quickly using this endpoint may result in abuse rate limiting. See "[Abuse rate limits](https://docs.github.com/rest/overview/resources-in-the-rest-api#abuse-rate-limits)" and "[Dealing with abuse rate limits](https://docs.github.com/rest/guides/best-practices-for-integrators#dealing-with-rate-limits)" for details. - */ - createRelease: { - (params?: RestEndpointMethodTypes["repos"]["createRelease"]["parameters"]): Promise; - defaults: RequestInterface["defaults"]; - endpoint: EndpointInterface<{ - url: string; - }>; - }; - /** - * Creates a new repository using a repository template. Use the `template_owner` and `template_repo` route parameters to specify the repository to use as the template. The authenticated user must own or be a member of an organization that owns the repository. To check if a repository is available to use as a template, get the repository's information using the [Get a repository](https://docs.github.com/rest/reference/repos#get-a-repository) endpoint and check that the `is_template` key is `true`. - * - * **OAuth scope requirements** - * - * When using [OAuth](https://docs.github.com/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/), authorizations must include: - * - * * `public_repo` scope or `repo` scope to create a public repository. Note: For GitHub AE, use `repo` scope to create an internal repository. - * * `repo` scope to create a private repository - */ - createUsingTemplate: { - (params?: RestEndpointMethodTypes["repos"]["createUsingTemplate"]["parameters"]): Promise; - defaults: RequestInterface["defaults"]; - endpoint: EndpointInterface<{ - url: string; - }>; - }; - /** - * Repositories can have multiple webhooks installed. Each webhook should have a unique `config`. Multiple webhooks can - * share the same `config` as long as those webhooks do not have any `events` that overlap. - */ - createWebhook: { - (params?: RestEndpointMethodTypes["repos"]["createWebhook"]["parameters"]): Promise; - defaults: RequestInterface["defaults"]; - endpoint: EndpointInterface<{ - url: string; - }>; - }; - declineInvitation: { - (params?: RestEndpointMethodTypes["repos"]["declineInvitation"]["parameters"]): Promise; - defaults: RequestInterface["defaults"]; - endpoint: EndpointInterface<{ - url: string; - }>; - }; - /** - * Deleting a repository requires admin access. If OAuth is used, the `delete_repo` scope is required. - * - * If an organization owner has configured the organization to prevent members from deleting organization-owned - * repositories, you will get a `403 Forbidden` response. - */ - delete: { - (params?: RestEndpointMethodTypes["repos"]["delete"]["parameters"]): Promise; - defaults: RequestInterface["defaults"]; - endpoint: EndpointInterface<{ - url: string; - }>; - }; - /** - * Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://help.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation. - * - * Disables the ability to restrict who can push to this branch. - */ - deleteAccessRestrictions: { - (params?: RestEndpointMethodTypes["repos"]["deleteAccessRestrictions"]["parameters"]): Promise; - defaults: RequestInterface["defaults"]; - endpoint: EndpointInterface<{ - url: string; - }>; - }; - /** - * Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://help.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation. - * - * Removing admin enforcement requires admin or owner permissions to the repository and branch protection to be enabled. - */ - deleteAdminBranchProtection: { - (params?: RestEndpointMethodTypes["repos"]["deleteAdminBranchProtection"]["parameters"]): Promise; - defaults: RequestInterface["defaults"]; - endpoint: EndpointInterface<{ - url: string; - }>; - }; - /** - * You must authenticate using an access token with the repo scope to use this endpoint. - */ - deleteAnEnvironment: { - (params?: RestEndpointMethodTypes["repos"]["deleteAnEnvironment"]["parameters"]): Promise; - defaults: RequestInterface["defaults"]; - endpoint: EndpointInterface<{ - url: string; - }>; - }; - /** - * Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://help.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation. - */ - deleteBranchProtection: { - (params?: RestEndpointMethodTypes["repos"]["deleteBranchProtection"]["parameters"]): Promise; - defaults: RequestInterface["defaults"]; - endpoint: EndpointInterface<{ - url: string; - }>; - }; - deleteCommitComment: { - (params?: RestEndpointMethodTypes["repos"]["deleteCommitComment"]["parameters"]): Promise; - defaults: RequestInterface["defaults"]; - endpoint: EndpointInterface<{ - url: string; - }>; - }; - /** - * Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://help.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation. - * - * When authenticated with admin or owner permissions to the repository, you can use this endpoint to disable required signed commits on a branch. You must enable branch protection to require signed commits. - */ - deleteCommitSignatureProtection: { - (params?: RestEndpointMethodTypes["repos"]["deleteCommitSignatureProtection"]["parameters"]): Promise; - defaults: RequestInterface["defaults"]; - endpoint: EndpointInterface<{ - url: string; - }>; - }; - /** - * Deploy keys are immutable. If you need to update a key, remove the key and create a new one instead. - */ - deleteDeployKey: { - (params?: RestEndpointMethodTypes["repos"]["deleteDeployKey"]["parameters"]): Promise; - defaults: RequestInterface["defaults"]; - endpoint: EndpointInterface<{ - url: string; - }>; - }; - /** - * To ensure there can always be an active deployment, you can only delete an _inactive_ deployment. Anyone with `repo` or `repo_deployment` scopes can delete an inactive deployment. - * - * To set a deployment as inactive, you must: - * - * * Create a new deployment that is active so that the system has a record of the current state, then delete the previously active deployment. - * * Mark the active deployment as inactive by adding any non-successful deployment status. - * - * For more information, see "[Create a deployment](https://docs.github.com/rest/reference/repos/#create-a-deployment)" and "[Create a deployment status](https://docs.github.com/rest/reference/repos#create-a-deployment-status)." - */ - deleteDeployment: { - (params?: RestEndpointMethodTypes["repos"]["deleteDeployment"]["parameters"]): Promise; - defaults: RequestInterface["defaults"]; - endpoint: EndpointInterface<{ - url: string; - }>; - }; - /** - * Deletes a file in a repository. - * - * You can provide an additional `committer` parameter, which is an object containing information about the committer. Or, you can provide an `author` parameter, which is an object containing information about the author. - * - * The `author` section is optional and is filled in with the `committer` information if omitted. If the `committer` information is omitted, the authenticated user's information is used. - * - * You must provide values for both `name` and `email`, whether you choose to use `author` or `committer`. Otherwise, you'll receive a `422` status code. - */ - deleteFile: { - (params?: RestEndpointMethodTypes["repos"]["deleteFile"]["parameters"]): Promise; - defaults: RequestInterface["defaults"]; - endpoint: EndpointInterface<{ - url: string; - }>; - }; - deleteInvitation: { - (params?: RestEndpointMethodTypes["repos"]["deleteInvitation"]["parameters"]): Promise; - defaults: RequestInterface["defaults"]; - endpoint: EndpointInterface<{ - url: string; - }>; - }; - deletePagesSite: { - (params?: RestEndpointMethodTypes["repos"]["deletePagesSite"]["parameters"]): Promise; - defaults: RequestInterface["defaults"]; - endpoint: EndpointInterface<{ - url: string; - }>; - }; - /** - * Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://help.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation. - */ - deletePullRequestReviewProtection: { - (params?: RestEndpointMethodTypes["repos"]["deletePullRequestReviewProtection"]["parameters"]): Promise; - defaults: RequestInterface["defaults"]; - endpoint: EndpointInterface<{ - url: string; - }>; - }; - /** - * Users with push access to the repository can delete a release. - */ - deleteRelease: { - (params?: RestEndpointMethodTypes["repos"]["deleteRelease"]["parameters"]): Promise; - defaults: RequestInterface["defaults"]; - endpoint: EndpointInterface<{ - url: string; - }>; - }; - deleteReleaseAsset: { - (params?: RestEndpointMethodTypes["repos"]["deleteReleaseAsset"]["parameters"]): Promise; - defaults: RequestInterface["defaults"]; - endpoint: EndpointInterface<{ - url: string; - }>; - }; - deleteWebhook: { - (params?: RestEndpointMethodTypes["repos"]["deleteWebhook"]["parameters"]): Promise; - defaults: RequestInterface["defaults"]; - endpoint: EndpointInterface<{ - url: string; - }>; - }; - /** - * Disables automated security fixes for a repository. The authenticated user must have admin access to the repository. For more information, see "[Configuring automated security fixes](https://help.github.com/en/articles/configuring-automated-security-fixes)". - */ - disableAutomatedSecurityFixes: { - (params?: RestEndpointMethodTypes["repos"]["disableAutomatedSecurityFixes"]["parameters"]): Promise; - defaults: RequestInterface["defaults"]; - endpoint: EndpointInterface<{ - url: string; - }>; - }; - /** - * Disables dependency alerts and the dependency graph for a repository. The authenticated user must have admin access to the repository. For more information, see "[About security alerts for vulnerable dependencies](https://help.github.com/en/articles/about-security-alerts-for-vulnerable-dependencies)". - */ - disableVulnerabilityAlerts: { - (params?: RestEndpointMethodTypes["repos"]["disableVulnerabilityAlerts"]["parameters"]): Promise; - defaults: RequestInterface["defaults"]; - endpoint: EndpointInterface<{ - url: string; - }>; - }; - /** - * Gets a redirect URL to download a zip archive for a repository. If you omit `:ref`, the repository’s default branch (usually - * `master`) will be used. Please make sure your HTTP framework is configured to follow redirects or you will need to use - * the `Location` header to make a second `GET` request. - * **Note**: For private repositories, these links are temporary and expire after five minutes. - * @deprecated octokit.rest.repos.downloadArchive() has been renamed to octokit.rest.repos.downloadZipballArchive() (2020-09-17) - */ - downloadArchive: { - (params?: RestEndpointMethodTypes["repos"]["downloadArchive"]["parameters"]): Promise; - defaults: RequestInterface["defaults"]; - endpoint: EndpointInterface<{ - url: string; - }>; - }; - /** - * Gets a redirect URL to download a tar archive for a repository. If you omit `:ref`, the repository’s default branch (usually - * `master`) will be used. Please make sure your HTTP framework is configured to follow redirects or you will need to use - * the `Location` header to make a second `GET` request. - * **Note**: For private repositories, these links are temporary and expire after five minutes. - */ - downloadTarballArchive: { - (params?: RestEndpointMethodTypes["repos"]["downloadTarballArchive"]["parameters"]): Promise; - defaults: RequestInterface["defaults"]; - endpoint: EndpointInterface<{ - url: string; - }>; - }; - /** - * Gets a redirect URL to download a zip archive for a repository. If you omit `:ref`, the repository’s default branch (usually - * `master`) will be used. Please make sure your HTTP framework is configured to follow redirects or you will need to use - * the `Location` header to make a second `GET` request. - * **Note**: For private repositories, these links are temporary and expire after five minutes. - */ - downloadZipballArchive: { - (params?: RestEndpointMethodTypes["repos"]["downloadZipballArchive"]["parameters"]): Promise; - defaults: RequestInterface["defaults"]; - endpoint: EndpointInterface<{ - url: string; - }>; - }; - /** - * Enables automated security fixes for a repository. The authenticated user must have admin access to the repository. For more information, see "[Configuring automated security fixes](https://help.github.com/en/articles/configuring-automated-security-fixes)". - */ - enableAutomatedSecurityFixes: { - (params?: RestEndpointMethodTypes["repos"]["enableAutomatedSecurityFixes"]["parameters"]): Promise; - defaults: RequestInterface["defaults"]; - endpoint: EndpointInterface<{ - url: string; - }>; - }; - /** - * Enables dependency alerts and the dependency graph for a repository. The authenticated user must have admin access to the repository. For more information, see "[About security alerts for vulnerable dependencies](https://help.github.com/en/articles/about-security-alerts-for-vulnerable-dependencies)". - */ - enableVulnerabilityAlerts: { - (params?: RestEndpointMethodTypes["repos"]["enableVulnerabilityAlerts"]["parameters"]): Promise; - defaults: RequestInterface["defaults"]; - endpoint: EndpointInterface<{ - url: string; - }>; - }; - /** - * When you pass the `scarlet-witch-preview` media type, requests to get a repository will also return the repository's code of conduct if it can be detected from the repository's code of conduct file. - * - * The `parent` and `source` objects are present when the repository is a fork. `parent` is the repository this repository was forked from, `source` is the ultimate source for the network. - */ - get: { - (params?: RestEndpointMethodTypes["repos"]["get"]["parameters"]): Promise; - defaults: RequestInterface["defaults"]; - endpoint: EndpointInterface<{ - url: string; - }>; - }; - /** - * Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://help.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation. - * - * Lists who has access to this protected branch. - * - * **Note**: Users, apps, and teams `restrictions` are only available for organization-owned repositories. - */ - getAccessRestrictions: { - (params?: RestEndpointMethodTypes["repos"]["getAccessRestrictions"]["parameters"]): Promise; - defaults: RequestInterface["defaults"]; - endpoint: EndpointInterface<{ - url: string; - }>; - }; - /** - * Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://help.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation. - */ - getAdminBranchProtection: { - (params?: RestEndpointMethodTypes["repos"]["getAdminBranchProtection"]["parameters"]): Promise; - defaults: RequestInterface["defaults"]; - endpoint: EndpointInterface<{ - url: string; - }>; - }; - /** - * Get all environments for a repository. - * - * Anyone with read access to the repository can use this endpoint. If the repository is private, you must use an access token with the `repo` scope. GitHub Apps must have the `actions:read` permission to use this endpoint. - */ - getAllEnvironments: { - (params?: RestEndpointMethodTypes["repos"]["getAllEnvironments"]["parameters"]): Promise; - defaults: RequestInterface["defaults"]; - endpoint: EndpointInterface<{ - url: string; - }>; - }; - /** - * Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://help.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation. - */ - getAllStatusCheckContexts: { - (params?: RestEndpointMethodTypes["repos"]["getAllStatusCheckContexts"]["parameters"]): Promise; - defaults: RequestInterface["defaults"]; - endpoint: EndpointInterface<{ - url: string; - }>; - }; - getAllTopics: { - (params?: RestEndpointMethodTypes["repos"]["getAllTopics"]["parameters"]): Promise; - defaults: RequestInterface["defaults"]; - endpoint: EndpointInterface<{ - url: string; - }>; - }; - /** - * Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://help.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation. - * - * Lists the GitHub Apps that have push access to this branch. Only installed GitHub Apps with `write` access to the `contents` permission can be added as authorized actors on a protected branch. - */ - getAppsWithAccessToProtectedBranch: { - (params?: RestEndpointMethodTypes["repos"]["getAppsWithAccessToProtectedBranch"]["parameters"]): Promise; - defaults: RequestInterface["defaults"]; - endpoint: EndpointInterface<{ - url: string; - }>; - }; - getBranch: { - (params?: RestEndpointMethodTypes["repos"]["getBranch"]["parameters"]): Promise; - defaults: RequestInterface["defaults"]; - endpoint: EndpointInterface<{ - url: string; - }>; - }; - /** - * Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://help.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation. - */ - getBranchProtection: { - (params?: RestEndpointMethodTypes["repos"]["getBranchProtection"]["parameters"]): Promise; - defaults: RequestInterface["defaults"]; - endpoint: EndpointInterface<{ - url: string; - }>; - }; - /** - * Get the total number of clones and breakdown per day or week for the last 14 days. Timestamps are aligned to UTC midnight of the beginning of the day or week. Week begins on Monday. - */ - getClones: { - (params?: RestEndpointMethodTypes["repos"]["getClones"]["parameters"]): Promise; - defaults: RequestInterface["defaults"]; - endpoint: EndpointInterface<{ - url: string; - }>; - }; - /** - * Returns a weekly aggregate of the number of additions and deletions pushed to a repository. - */ - getCodeFrequencyStats: { - (params?: RestEndpointMethodTypes["repos"]["getCodeFrequencyStats"]["parameters"]): Promise; - defaults: RequestInterface["defaults"]; - endpoint: EndpointInterface<{ - url: string; - }>; - }; - /** - * Checks the repository permission of a collaborator. The possible repository permissions are `admin`, `write`, `read`, and `none`. - */ - getCollaboratorPermissionLevel: { - (params?: RestEndpointMethodTypes["repos"]["getCollaboratorPermissionLevel"]["parameters"]): Promise; - defaults: RequestInterface["defaults"]; - endpoint: EndpointInterface<{ - url: string; - }>; - }; - /** - * Users with pull access in a repository can access a combined view of commit statuses for a given ref. The ref can be a SHA, a branch name, or a tag name. - * - * The most recent status for each context is returned, up to 100. This field [paginates](https://docs.github.com/rest/overview/resources-in-the-rest-api#pagination) if there are over 100 contexts. - * - * Additionally, a combined `state` is returned. The `state` is one of: - * - * * **failure** if any of the contexts report as `error` or `failure` - * * **pending** if there are no statuses or a context is `pending` - * * **success** if the latest status for all contexts is `success` - */ - getCombinedStatusForRef: { - (params?: RestEndpointMethodTypes["repos"]["getCombinedStatusForRef"]["parameters"]): Promise; - defaults: RequestInterface["defaults"]; - endpoint: EndpointInterface<{ - url: string; - }>; - }; - /** - * Returns the contents of a single commit reference. You must have `read` access for the repository to use this endpoint. - * - * **Note:** If there are more than 300 files in the commit diff, the response will include pagination link headers for the remaining files, up to a limit of 3000 files. Each page contains the static commit information, and the only changes are to the file listing. - * - * You can pass the appropriate [media type](https://docs.github.com/rest/overview/media-types/#commits-commit-comparison-and-pull-requests) to fetch `diff` and `patch` formats. Diffs with binary data will have no `patch` property. - * - * To return only the SHA-1 hash of the commit reference, you can provide the `sha` custom [media type](https://docs.github.com/rest/overview/media-types/#commits-commit-comparison-and-pull-requests) in the `Accept` header. You can use this endpoint to check if a remote reference's SHA-1 hash is the same as your local reference's SHA-1 hash by providing the local SHA-1 reference as the ETag. - * - * **Signature verification object** - * - * The response will include a `verification` object that describes the result of verifying the commit's signature. The following fields are included in the `verification` object: - * - * | Name | Type | Description | - * | ---- | ---- | ----------- | - * | `verified` | `boolean` | Indicates whether GitHub considers the signature in this commit to be verified. | - * | `reason` | `string` | The reason for verified value. Possible values and their meanings are enumerated in table below. | - * | `signature` | `string` | The signature that was extracted from the commit. | - * | `payload` | `string` | The value that was signed. | - * - * These are the possible values for `reason` in the `verification` object: - * - * | Value | Description | - * | ----- | ----------- | - * | `expired_key` | The key that made the signature is expired. | - * | `not_signing_key` | The "signing" flag is not among the usage flags in the GPG key that made the signature. | - * | `gpgverify_error` | There was an error communicating with the signature verification service. | - * | `gpgverify_unavailable` | The signature verification service is currently unavailable. | - * | `unsigned` | The object does not include a signature. | - * | `unknown_signature_type` | A non-PGP signature was found in the commit. | - * | `no_user` | No user was associated with the `committer` email address in the commit. | - * | `unverified_email` | The `committer` email address in the commit was associated with a user, but the email address is not verified on her/his account. | - * | `bad_email` | The `committer` email address in the commit is not included in the identities of the PGP key that made the signature. | - * | `unknown_key` | The key that made the signature has not been registered with any user's account. | - * | `malformed_signature` | There was an error parsing the signature. | - * | `invalid` | The signature could not be cryptographically verified using the key whose key-id was found in the signature. | - * | `valid` | None of the above errors applied, so the signature is considered to be verified. | - */ - getCommit: { - (params?: RestEndpointMethodTypes["repos"]["getCommit"]["parameters"]): Promise; - defaults: RequestInterface["defaults"]; - endpoint: EndpointInterface<{ - url: string; - }>; - }; - /** - * Returns the last year of commit activity grouped by week. The `days` array is a group of commits per day, starting on `Sunday`. - */ - getCommitActivityStats: { - (params?: RestEndpointMethodTypes["repos"]["getCommitActivityStats"]["parameters"]): Promise; - defaults: RequestInterface["defaults"]; - endpoint: EndpointInterface<{ - url: string; - }>; - }; - getCommitComment: { - (params?: RestEndpointMethodTypes["repos"]["getCommitComment"]["parameters"]): Promise; - defaults: RequestInterface["defaults"]; - endpoint: EndpointInterface<{ - url: string; - }>; - }; - /** - * Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://help.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation. - * - * When authenticated with admin or owner permissions to the repository, you can use this endpoint to check whether a branch requires signed commits. An enabled status of `true` indicates you must sign commits on this branch. For more information, see [Signing commits with GPG](https://help.github.com/articles/signing-commits-with-gpg) in GitHub Help. - * - * **Note**: You must enable branch protection to require signed commits. - */ - getCommitSignatureProtection: { - (params?: RestEndpointMethodTypes["repos"]["getCommitSignatureProtection"]["parameters"]): Promise; - defaults: RequestInterface["defaults"]; - endpoint: EndpointInterface<{ - url: string; - }>; - }; - /** - * This endpoint will return all community profile metrics, including an - * overall health score, repository description, the presence of documentation, detected - * code of conduct, detected license, and the presence of ISSUE\_TEMPLATE, PULL\_REQUEST\_TEMPLATE, - * README, and CONTRIBUTING files. - * - * The `health_percentage` score is defined as a percentage of how many of - * these four documents are present: README, CONTRIBUTING, LICENSE, and - * CODE_OF_CONDUCT. For example, if all four documents are present, then - * the `health_percentage` is `100`. If only one is present, then the - * `health_percentage` is `25`. - * - * `content_reports_enabled` is only returned for organization-owned repositories. - */ - getCommunityProfileMetrics: { - (params?: RestEndpointMethodTypes["repos"]["getCommunityProfileMetrics"]["parameters"]): Promise; - defaults: RequestInterface["defaults"]; - endpoint: EndpointInterface<{ - url: string; - }>; - }; - /** - * Gets the contents of a file or directory in a repository. Specify the file path or directory in `:path`. If you omit - * `:path`, you will receive the contents of the repository's root directory. See the description below regarding what the API response includes for directories. - * - * Files and symlinks support [a custom media type](https://docs.github.com/rest/reference/repos#custom-media-types) for - * retrieving the raw content or rendered HTML (when supported). All content types support [a custom media - * type](https://docs.github.com/rest/reference/repos#custom-media-types) to ensure the content is returned in a consistent - * object format. - * - * **Note**: - * * To get a repository's contents recursively, you can [recursively get the tree](https://docs.github.com/rest/reference/git#trees). - * * This API has an upper limit of 1,000 files for a directory. If you need to retrieve more files, use the [Git Trees - * API](https://docs.github.com/rest/reference/git#get-a-tree). - * * This API supports files up to 1 megabyte in size. - * - * #### If the content is a directory - * The response will be an array of objects, one object for each item in the directory. - * When listing the contents of a directory, submodules have their "type" specified as "file". Logically, the value - * _should_ be "submodule". This behavior exists in API v3 [for backwards compatibility purposes](https://git.io/v1YCW). - * In the next major version of the API, the type will be returned as "submodule". - * - * #### If the content is a symlink - * If the requested `:path` points to a symlink, and the symlink's target is a normal file in the repository, then the - * API responds with the content of the file (in the format shown in the example. Otherwise, the API responds with an object - * describing the symlink itself. - * - * #### If the content is a submodule - * The `submodule_git_url` identifies the location of the submodule repository, and the `sha` identifies a specific - * commit within the submodule repository. Git uses the given URL when cloning the submodule repository, and checks out - * the submodule at that specific commit. - * - * If the submodule repository is not hosted on github.com, the Git URLs (`git_url` and `_links["git"]`) and the - * github.com URLs (`html_url` and `_links["html"]`) will have null values. - */ - getContent: { - (params?: RestEndpointMethodTypes["repos"]["getContent"]["parameters"]): Promise; - defaults: RequestInterface["defaults"]; - endpoint: EndpointInterface<{ - url: string; - }>; - }; - /** - * Returns the `total` number of commits authored by the contributor. In addition, the response includes a Weekly Hash (`weeks` array) with the following information: - * - * * `w` - Start of the week, given as a [Unix timestamp](http://en.wikipedia.org/wiki/Unix_time). - * * `a` - Number of additions - * * `d` - Number of deletions - * * `c` - Number of commits - */ - getContributorsStats: { - (params?: RestEndpointMethodTypes["repos"]["getContributorsStats"]["parameters"]): Promise; - defaults: RequestInterface["defaults"]; - endpoint: EndpointInterface<{ - url: string; - }>; - }; - getDeployKey: { - (params?: RestEndpointMethodTypes["repos"]["getDeployKey"]["parameters"]): Promise; - defaults: RequestInterface["defaults"]; - endpoint: EndpointInterface<{ - url: string; - }>; - }; - getDeployment: { - (params?: RestEndpointMethodTypes["repos"]["getDeployment"]["parameters"]): Promise; - defaults: RequestInterface["defaults"]; - endpoint: EndpointInterface<{ - url: string; - }>; - }; - /** - * Users with pull access can view a deployment status for a deployment: - */ - getDeploymentStatus: { - (params?: RestEndpointMethodTypes["repos"]["getDeploymentStatus"]["parameters"]): Promise; - defaults: RequestInterface["defaults"]; - endpoint: EndpointInterface<{ - url: string; - }>; - }; - /** - * Anyone with read access to the repository can use this endpoint. If the repository is private, you must use an access token with the `repo` scope. GitHub Apps must have the `actions:read` permission to use this endpoint. - */ - getEnvironment: { - (params?: RestEndpointMethodTypes["repos"]["getEnvironment"]["parameters"]): Promise; - defaults: RequestInterface["defaults"]; - endpoint: EndpointInterface<{ - url: string; - }>; - }; - getLatestPagesBuild: { - (params?: RestEndpointMethodTypes["repos"]["getLatestPagesBuild"]["parameters"]): Promise; - defaults: RequestInterface["defaults"]; - endpoint: EndpointInterface<{ - url: string; - }>; - }; - /** - * View the latest published full release for the repository. - * - * The latest release is the most recent non-prerelease, non-draft release, sorted by the `created_at` attribute. The `created_at` attribute is the date of the commit used for the release, and not the date when the release was drafted or published. - */ - getLatestRelease: { - (params?: RestEndpointMethodTypes["repos"]["getLatestRelease"]["parameters"]): Promise; - defaults: RequestInterface["defaults"]; - endpoint: EndpointInterface<{ - url: string; - }>; - }; - getPages: { - (params?: RestEndpointMethodTypes["repos"]["getPages"]["parameters"]): Promise; - defaults: RequestInterface["defaults"]; - endpoint: EndpointInterface<{ - url: string; - }>; - }; - getPagesBuild: { - (params?: RestEndpointMethodTypes["repos"]["getPagesBuild"]["parameters"]): Promise; - defaults: RequestInterface["defaults"]; - endpoint: EndpointInterface<{ - url: string; - }>; - }; - /** - * Gets a health check of the DNS settings for the `CNAME` record configured for a repository's GitHub Pages. - * - * The first request to this endpoint returns a `202 Accepted` status and starts an asynchronous background task to get the results for the domain. After the background task completes, subsequent requests to this endpoint return a `200 OK` status with the health check results in the response. - * - * Users must have admin or owner permissions. GitHub Apps must have the `pages:write` and `administration:write` permission to use this endpoint. - */ - getPagesHealthCheck: { - (params?: RestEndpointMethodTypes["repos"]["getPagesHealthCheck"]["parameters"]): Promise; - defaults: RequestInterface["defaults"]; - endpoint: EndpointInterface<{ - url: string; - }>; - }; - /** - * Returns the total commit counts for the `owner` and total commit counts in `all`. `all` is everyone combined, including the `owner` in the last 52 weeks. If you'd like to get the commit counts for non-owners, you can subtract `owner` from `all`. - * - * The array order is oldest week (index 0) to most recent week. - */ - getParticipationStats: { - (params?: RestEndpointMethodTypes["repos"]["getParticipationStats"]["parameters"]): Promise; - defaults: RequestInterface["defaults"]; - endpoint: EndpointInterface<{ - url: string; - }>; - }; - /** - * Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://help.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation. - */ - getPullRequestReviewProtection: { - (params?: RestEndpointMethodTypes["repos"]["getPullRequestReviewProtection"]["parameters"]): Promise; - defaults: RequestInterface["defaults"]; - endpoint: EndpointInterface<{ - url: string; - }>; - }; - /** - * Each array contains the day number, hour number, and number of commits: - * - * * `0-6`: Sunday - Saturday - * * `0-23`: Hour of day - * * Number of commits - * - * For example, `[2, 14, 25]` indicates that there were 25 total commits, during the 2:00pm hour on Tuesdays. All times are based on the time zone of individual commits. - */ - getPunchCardStats: { - (params?: RestEndpointMethodTypes["repos"]["getPunchCardStats"]["parameters"]): Promise; - defaults: RequestInterface["defaults"]; - endpoint: EndpointInterface<{ - url: string; - }>; - }; - /** - * Gets the preferred README for a repository. - * - * READMEs support [custom media types](https://docs.github.com/rest/reference/repos#custom-media-types) for retrieving the raw content or rendered HTML. - */ - getReadme: { - (params?: RestEndpointMethodTypes["repos"]["getReadme"]["parameters"]): Promise; - defaults: RequestInterface["defaults"]; - endpoint: EndpointInterface<{ - url: string; - }>; - }; - /** - * Gets the README from a repository directory. - * - * READMEs support [custom media types](https://docs.github.com/rest/reference/repos#custom-media-types) for retrieving the raw content or rendered HTML. - */ - getReadmeInDirectory: { - (params?: RestEndpointMethodTypes["repos"]["getReadmeInDirectory"]["parameters"]): Promise; - defaults: RequestInterface["defaults"]; - endpoint: EndpointInterface<{ - url: string; - }>; - }; - /** - * **Note:** This returns an `upload_url` key corresponding to the endpoint for uploading release assets. This key is a [hypermedia resource](https://docs.github.com/rest/overview/resources-in-the-rest-api#hypermedia). - */ - getRelease: { - (params?: RestEndpointMethodTypes["repos"]["getRelease"]["parameters"]): Promise; - defaults: RequestInterface["defaults"]; - endpoint: EndpointInterface<{ - url: string; - }>; - }; - /** - * To download the asset's binary content, set the `Accept` header of the request to [`application/octet-stream`](https://docs.github.com/rest/overview/media-types). The API will either redirect the client to the location, or stream it directly if possible. API clients should handle both a `200` or `302` response. - */ - getReleaseAsset: { - (params?: RestEndpointMethodTypes["repos"]["getReleaseAsset"]["parameters"]): Promise; - defaults: RequestInterface["defaults"]; - endpoint: EndpointInterface<{ - url: string; - }>; - }; - /** - * Get a published release with the specified tag. - */ - getReleaseByTag: { - (params?: RestEndpointMethodTypes["repos"]["getReleaseByTag"]["parameters"]): Promise; - defaults: RequestInterface["defaults"]; - endpoint: EndpointInterface<{ - url: string; - }>; - }; - /** - * Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://help.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation. - */ - getStatusChecksProtection: { - (params?: RestEndpointMethodTypes["repos"]["getStatusChecksProtection"]["parameters"]): Promise; - defaults: RequestInterface["defaults"]; - endpoint: EndpointInterface<{ - url: string; - }>; - }; - /** - * Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://help.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation. - * - * Lists the teams who have push access to this branch. The list includes child teams. - */ - getTeamsWithAccessToProtectedBranch: { - (params?: RestEndpointMethodTypes["repos"]["getTeamsWithAccessToProtectedBranch"]["parameters"]): Promise; - defaults: RequestInterface["defaults"]; - endpoint: EndpointInterface<{ - url: string; - }>; - }; - /** - * Get the top 10 popular contents over the last 14 days. - */ - getTopPaths: { - (params?: RestEndpointMethodTypes["repos"]["getTopPaths"]["parameters"]): Promise; - defaults: RequestInterface["defaults"]; - endpoint: EndpointInterface<{ - url: string; - }>; - }; - /** - * Get the top 10 referrers over the last 14 days. - */ - getTopReferrers: { - (params?: RestEndpointMethodTypes["repos"]["getTopReferrers"]["parameters"]): Promise; - defaults: RequestInterface["defaults"]; - endpoint: EndpointInterface<{ - url: string; - }>; - }; - /** - * Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://help.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation. - * - * Lists the people who have push access to this branch. - */ - getUsersWithAccessToProtectedBranch: { - (params?: RestEndpointMethodTypes["repos"]["getUsersWithAccessToProtectedBranch"]["parameters"]): Promise; - defaults: RequestInterface["defaults"]; - endpoint: EndpointInterface<{ - url: string; - }>; - }; - /** - * Get the total number of views and breakdown per day or week for the last 14 days. Timestamps are aligned to UTC midnight of the beginning of the day or week. Week begins on Monday. - */ - getViews: { - (params?: RestEndpointMethodTypes["repos"]["getViews"]["parameters"]): Promise; - defaults: RequestInterface["defaults"]; - endpoint: EndpointInterface<{ - url: string; - }>; - }; - /** - * Returns a webhook configured in a repository. To get only the webhook `config` properties, see "[Get a webhook configuration for a repository](/rest/reference/repos#get-a-webhook-configuration-for-a-repository)." - */ - getWebhook: { - (params?: RestEndpointMethodTypes["repos"]["getWebhook"]["parameters"]): Promise; - defaults: RequestInterface["defaults"]; - endpoint: EndpointInterface<{ - url: string; - }>; - }; - /** - * Returns the webhook configuration for a repository. To get more information about the webhook, including the `active` state and `events`, use "[Get a repository webhook](/rest/reference/orgs#get-a-repository-webhook)." - * - * Access tokens must have the `read:repo_hook` or `repo` scope, and GitHub Apps must have the `repository_hooks:read` permission. - */ - getWebhookConfigForRepo: { - (params?: RestEndpointMethodTypes["repos"]["getWebhookConfigForRepo"]["parameters"]): Promise; - defaults: RequestInterface["defaults"]; - endpoint: EndpointInterface<{ - url: string; - }>; - }; - /** - * Returns a delivery for a webhook configured in a repository. - */ - getWebhookDelivery: { - (params?: RestEndpointMethodTypes["repos"]["getWebhookDelivery"]["parameters"]): Promise; - defaults: RequestInterface["defaults"]; - endpoint: EndpointInterface<{ - url: string; - }>; - }; - listBranches: { - (params?: RestEndpointMethodTypes["repos"]["listBranches"]["parameters"]): Promise; - defaults: RequestInterface["defaults"]; - endpoint: EndpointInterface<{ - url: string; - }>; - }; - /** - * Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://help.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation. - * - * Returns all branches where the given commit SHA is the HEAD, or latest commit for the branch. - */ - listBranchesForHeadCommit: { - (params?: RestEndpointMethodTypes["repos"]["listBranchesForHeadCommit"]["parameters"]): Promise; - defaults: RequestInterface["defaults"]; - endpoint: EndpointInterface<{ - url: string; - }>; - }; - /** - * For organization-owned repositories, the list of collaborators includes outside collaborators, organization members that are direct collaborators, organization members with access through team memberships, organization members with access through default organization permissions, and organization owners. - * - * Team members will include the members of child teams. - */ - listCollaborators: { - (params?: RestEndpointMethodTypes["repos"]["listCollaborators"]["parameters"]): Promise; - defaults: RequestInterface["defaults"]; - endpoint: EndpointInterface<{ - url: string; - }>; - }; - /** - * Use the `:commit_sha` to specify the commit that will have its comments listed. - */ - listCommentsForCommit: { - (params?: RestEndpointMethodTypes["repos"]["listCommentsForCommit"]["parameters"]): Promise; - defaults: RequestInterface["defaults"]; - endpoint: EndpointInterface<{ - url: string; - }>; - }; - /** - * Commit Comments use [these custom media types](https://docs.github.com/rest/reference/repos#custom-media-types). You can read more about the use of media types in the API [here](https://docs.github.com/rest/overview/media-types/). - * - * Comments are ordered by ascending ID. - */ - listCommitCommentsForRepo: { - (params?: RestEndpointMethodTypes["repos"]["listCommitCommentsForRepo"]["parameters"]): Promise; - defaults: RequestInterface["defaults"]; - endpoint: EndpointInterface<{ - url: string; - }>; - }; - /** - * Users with pull access in a repository can view commit statuses for a given ref. The ref can be a SHA, a branch name, or a tag name. Statuses are returned in reverse chronological order. The first status in the list will be the latest one. - * - * This resource is also available via a legacy route: `GET /repos/:owner/:repo/statuses/:ref`. - */ - listCommitStatusesForRef: { - (params?: RestEndpointMethodTypes["repos"]["listCommitStatusesForRef"]["parameters"]): Promise; - defaults: RequestInterface["defaults"]; - endpoint: EndpointInterface<{ - url: string; - }>; - }; - /** - * **Signature verification object** - * - * The response will include a `verification` object that describes the result of verifying the commit's signature. The following fields are included in the `verification` object: - * - * | Name | Type | Description | - * | ---- | ---- | ----------- | - * | `verified` | `boolean` | Indicates whether GitHub considers the signature in this commit to be verified. | - * | `reason` | `string` | The reason for verified value. Possible values and their meanings are enumerated in table below. | - * | `signature` | `string` | The signature that was extracted from the commit. | - * | `payload` | `string` | The value that was signed. | - * - * These are the possible values for `reason` in the `verification` object: - * - * | Value | Description | - * | ----- | ----------- | - * | `expired_key` | The key that made the signature is expired. | - * | `not_signing_key` | The "signing" flag is not among the usage flags in the GPG key that made the signature. | - * | `gpgverify_error` | There was an error communicating with the signature verification service. | - * | `gpgverify_unavailable` | The signature verification service is currently unavailable. | - * | `unsigned` | The object does not include a signature. | - * | `unknown_signature_type` | A non-PGP signature was found in the commit. | - * | `no_user` | No user was associated with the `committer` email address in the commit. | - * | `unverified_email` | The `committer` email address in the commit was associated with a user, but the email address is not verified on her/his account. | - * | `bad_email` | The `committer` email address in the commit is not included in the identities of the PGP key that made the signature. | - * | `unknown_key` | The key that made the signature has not been registered with any user's account. | - * | `malformed_signature` | There was an error parsing the signature. | - * | `invalid` | The signature could not be cryptographically verified using the key whose key-id was found in the signature. | - * | `valid` | None of the above errors applied, so the signature is considered to be verified. | - */ - listCommits: { - (params?: RestEndpointMethodTypes["repos"]["listCommits"]["parameters"]): Promise; - defaults: RequestInterface["defaults"]; - endpoint: EndpointInterface<{ - url: string; - }>; - }; - /** - * Lists contributors to the specified repository and sorts them by the number of commits per contributor in descending order. This endpoint may return information that is a few hours old because the GitHub REST API v3 caches contributor data to improve performance. - * - * GitHub identifies contributors by author email address. This endpoint groups contribution counts by GitHub user, which includes all associated email addresses. To improve performance, only the first 500 author email addresses in the repository link to GitHub users. The rest will appear as anonymous contributors without associated GitHub user information. - */ - listContributors: { - (params?: RestEndpointMethodTypes["repos"]["listContributors"]["parameters"]): Promise; - defaults: RequestInterface["defaults"]; - endpoint: EndpointInterface<{ - url: string; - }>; - }; - listDeployKeys: { - (params?: RestEndpointMethodTypes["repos"]["listDeployKeys"]["parameters"]): Promise; - defaults: RequestInterface["defaults"]; - endpoint: EndpointInterface<{ - url: string; - }>; - }; - /** - * Users with pull access can view deployment statuses for a deployment: - */ - listDeploymentStatuses: { - (params?: RestEndpointMethodTypes["repos"]["listDeploymentStatuses"]["parameters"]): Promise; - defaults: RequestInterface["defaults"]; - endpoint: EndpointInterface<{ - url: string; - }>; - }; - /** - * Simple filtering of deployments is available via query parameters: - */ - listDeployments: { - (params?: RestEndpointMethodTypes["repos"]["listDeployments"]["parameters"]): Promise; - defaults: RequestInterface["defaults"]; - endpoint: EndpointInterface<{ - url: string; - }>; - }; - /** - * Lists repositories that the authenticated user has explicit permission (`:read`, `:write`, or `:admin`) to access. - * - * The authenticated user has explicit permission to access repositories they own, repositories where they are a collaborator, and repositories that they can access through an organization membership. - */ - listForAuthenticatedUser: { - (params?: RestEndpointMethodTypes["repos"]["listForAuthenticatedUser"]["parameters"]): Promise; - defaults: RequestInterface["defaults"]; - endpoint: EndpointInterface<{ - url: string; - }>; - }; - /** - * Lists repositories for the specified organization. - */ - listForOrg: { - (params?: RestEndpointMethodTypes["repos"]["listForOrg"]["parameters"]): Promise; - defaults: RequestInterface["defaults"]; - endpoint: EndpointInterface<{ - url: string; - }>; - }; - /** - * Lists public repositories for the specified user. Note: For GitHub AE, this endpoint will list internal repositories for the specified user. - */ - listForUser: { - (params?: RestEndpointMethodTypes["repos"]["listForUser"]["parameters"]): Promise; - defaults: RequestInterface["defaults"]; - endpoint: EndpointInterface<{ - url: string; - }>; - }; - listForks: { - (params?: RestEndpointMethodTypes["repos"]["listForks"]["parameters"]): Promise; - defaults: RequestInterface["defaults"]; - endpoint: EndpointInterface<{ - url: string; - }>; - }; - /** - * When authenticating as a user with admin rights to a repository, this endpoint will list all currently open repository invitations. - */ - listInvitations: { - (params?: RestEndpointMethodTypes["repos"]["listInvitations"]["parameters"]): Promise; - defaults: RequestInterface["defaults"]; - endpoint: EndpointInterface<{ - url: string; - }>; - }; - /** - * When authenticating as a user, this endpoint will list all currently open repository invitations for that user. - */ - listInvitationsForAuthenticatedUser: { - (params?: RestEndpointMethodTypes["repos"]["listInvitationsForAuthenticatedUser"]["parameters"]): Promise; - defaults: RequestInterface["defaults"]; - endpoint: EndpointInterface<{ - url: string; - }>; - }; - /** - * Lists languages for the specified repository. The value shown for each language is the number of bytes of code written in that language. - */ - listLanguages: { - (params?: RestEndpointMethodTypes["repos"]["listLanguages"]["parameters"]): Promise; - defaults: RequestInterface["defaults"]; - endpoint: EndpointInterface<{ - url: string; - }>; - }; - listPagesBuilds: { - (params?: RestEndpointMethodTypes["repos"]["listPagesBuilds"]["parameters"]): Promise; - defaults: RequestInterface["defaults"]; - endpoint: EndpointInterface<{ - url: string; - }>; - }; - /** - * Lists all public repositories in the order that they were created. - * - * Note: - * - For GitHub Enterprise Server, this endpoint will only list repositories available to all users on the enterprise. - * - Pagination is powered exclusively by the `since` parameter. Use the [Link header](https://docs.github.com/rest/overview/resources-in-the-rest-api#link-header) to get the URL for the next page of repositories. - */ - listPublic: { - (params?: RestEndpointMethodTypes["repos"]["listPublic"]["parameters"]): Promise; - defaults: RequestInterface["defaults"]; - endpoint: EndpointInterface<{ - url: string; - }>; - }; - /** - * Lists the merged pull request that introduced the commit to the repository. If the commit is not present in the default branch, additionally returns open pull requests associated with the commit. The results may include open and closed pull requests. Additional preview headers may be required to see certain details for associated pull requests, such as whether a pull request is in a draft state. For more information about previews that might affect this endpoint, see the [List pull requests](https://docs.github.com/rest/reference/pulls#list-pull-requests) endpoint. - */ - listPullRequestsAssociatedWithCommit: { - (params?: RestEndpointMethodTypes["repos"]["listPullRequestsAssociatedWithCommit"]["parameters"]): Promise; - defaults: RequestInterface["defaults"]; - endpoint: EndpointInterface<{ - url: string; - }>; - }; - listReleaseAssets: { - (params?: RestEndpointMethodTypes["repos"]["listReleaseAssets"]["parameters"]): Promise; - defaults: RequestInterface["defaults"]; - endpoint: EndpointInterface<{ - url: string; - }>; - }; - /** - * This returns a list of releases, which does not include regular Git tags that have not been associated with a release. To get a list of Git tags, use the [Repository Tags API](https://docs.github.com/rest/reference/repos#list-repository-tags). - * - * Information about published releases are available to everyone. Only users with push access will receive listings for draft releases. - */ - listReleases: { - (params?: RestEndpointMethodTypes["repos"]["listReleases"]["parameters"]): Promise; - defaults: RequestInterface["defaults"]; - endpoint: EndpointInterface<{ - url: string; - }>; - }; - listTags: { - (params?: RestEndpointMethodTypes["repos"]["listTags"]["parameters"]): Promise; - defaults: RequestInterface["defaults"]; - endpoint: EndpointInterface<{ - url: string; - }>; - }; - listTeams: { - (params?: RestEndpointMethodTypes["repos"]["listTeams"]["parameters"]): Promise; - defaults: RequestInterface["defaults"]; - endpoint: EndpointInterface<{ - url: string; - }>; - }; - /** - * Returns a list of webhook deliveries for a webhook configured in a repository. - */ - listWebhookDeliveries: { - (params?: RestEndpointMethodTypes["repos"]["listWebhookDeliveries"]["parameters"]): Promise; - defaults: RequestInterface["defaults"]; - endpoint: EndpointInterface<{ - url: string; - }>; - }; - listWebhooks: { - (params?: RestEndpointMethodTypes["repos"]["listWebhooks"]["parameters"]): Promise; - defaults: RequestInterface["defaults"]; - endpoint: EndpointInterface<{ - url: string; - }>; - }; - merge: { - (params?: RestEndpointMethodTypes["repos"]["merge"]["parameters"]): Promise; - defaults: RequestInterface["defaults"]; - endpoint: EndpointInterface<{ - url: string; - }>; - }; - /** - * This will trigger a [ping event](https://docs.github.com/webhooks/#ping-event) to be sent to the hook. - */ - pingWebhook: { - (params?: RestEndpointMethodTypes["repos"]["pingWebhook"]["parameters"]): Promise; - defaults: RequestInterface["defaults"]; - endpoint: EndpointInterface<{ - url: string; - }>; - }; - /** - * Redeliver a webhook delivery for a webhook configured in a repository. - */ - redeliverWebhookDelivery: { - (params?: RestEndpointMethodTypes["repos"]["redeliverWebhookDelivery"]["parameters"]): Promise; - defaults: RequestInterface["defaults"]; - endpoint: EndpointInterface<{ - url: string; - }>; - }; - /** - * Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://help.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation. - * - * Removes the ability of an app to push to this branch. Only installed GitHub Apps with `write` access to the `contents` permission can be added as authorized actors on a protected branch. - * - * | Type | Description | - * | ------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------- | - * | `array` | The GitHub Apps that have push access to this branch. Use the app's `slug`. **Note**: The list of users, apps, and teams in total is limited to 100 items. | - */ - removeAppAccessRestrictions: { - (params?: RestEndpointMethodTypes["repos"]["removeAppAccessRestrictions"]["parameters"]): Promise; - defaults: RequestInterface["defaults"]; - endpoint: EndpointInterface<{ - url: string; - }>; - }; - removeCollaborator: { - (params?: RestEndpointMethodTypes["repos"]["removeCollaborator"]["parameters"]): Promise; - defaults: RequestInterface["defaults"]; - endpoint: EndpointInterface<{ - url: string; - }>; - }; - /** - * Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://help.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation. - */ - removeStatusCheckContexts: { - (params?: RestEndpointMethodTypes["repos"]["removeStatusCheckContexts"]["parameters"]): Promise; - defaults: RequestInterface["defaults"]; - endpoint: EndpointInterface<{ - url: string; - }>; - }; - /** - * Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://help.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation. - */ - removeStatusCheckProtection: { - (params?: RestEndpointMethodTypes["repos"]["removeStatusCheckProtection"]["parameters"]): Promise; - defaults: RequestInterface["defaults"]; - endpoint: EndpointInterface<{ - url: string; - }>; - }; - /** - * Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://help.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation. - * - * Removes the ability of a team to push to this branch. You can also remove push access for child teams. - * - * | Type | Description | - * | ------- | --------------------------------------------------------------------------------------------------------------------------------------------------- | - * | `array` | Teams that should no longer have push access. Use the team's `slug`. **Note**: The list of users, apps, and teams in total is limited to 100 items. | - */ - removeTeamAccessRestrictions: { - (params?: RestEndpointMethodTypes["repos"]["removeTeamAccessRestrictions"]["parameters"]): Promise; - defaults: RequestInterface["defaults"]; - endpoint: EndpointInterface<{ - url: string; - }>; - }; - /** - * Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://help.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation. - * - * Removes the ability of a user to push to this branch. - * - * | Type | Description | - * | ------- | --------------------------------------------------------------------------------------------------------------------------------------------- | - * | `array` | Usernames of the people who should no longer have push access. **Note**: The list of users, apps, and teams in total is limited to 100 items. | - */ - removeUserAccessRestrictions: { - (params?: RestEndpointMethodTypes["repos"]["removeUserAccessRestrictions"]["parameters"]): Promise; - defaults: RequestInterface["defaults"]; - endpoint: EndpointInterface<{ - url: string; - }>; - }; - /** - * Renames a branch in a repository. - * - * **Note:** Although the API responds immediately, the branch rename process might take some extra time to complete in the background. You won't be able to push to the old branch name while the rename process is in progress. For more information, see "[Renaming a branch](https://docs.github.com/github/administering-a-repository/renaming-a-branch)". - * - * The permissions required to use this endpoint depends on whether you are renaming the default branch. - * - * To rename a non-default branch: - * - * * Users must have push access. - * * GitHub Apps must have the `contents:write` repository permission. - * - * To rename the default branch: - * - * * Users must have admin or owner permissions. - * * GitHub Apps must have the `administration:write` repository permission. - */ - renameBranch: { - (params?: RestEndpointMethodTypes["repos"]["renameBranch"]["parameters"]): Promise; - defaults: RequestInterface["defaults"]; - endpoint: EndpointInterface<{ - url: string; - }>; - }; - replaceAllTopics: { - (params?: RestEndpointMethodTypes["repos"]["replaceAllTopics"]["parameters"]): Promise; - defaults: RequestInterface["defaults"]; - endpoint: EndpointInterface<{ - url: string; - }>; - }; - /** - * You can request that your site be built from the latest revision on the default branch. This has the same effect as pushing a commit to your default branch, but does not require an additional commit. Manually triggering page builds can be helpful when diagnosing build warnings and failures. - * - * Build requests are limited to one concurrent build per repository and one concurrent build per requester. If you request a build while another is still in progress, the second request will be queued until the first completes. - */ - requestPagesBuild: { - (params?: RestEndpointMethodTypes["repos"]["requestPagesBuild"]["parameters"]): Promise; - defaults: RequestInterface["defaults"]; - endpoint: EndpointInterface<{ - url: string; - }>; - }; - /** - * Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://help.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation. - * - * Adding admin enforcement requires admin or owner permissions to the repository and branch protection to be enabled. - */ - setAdminBranchProtection: { - (params?: RestEndpointMethodTypes["repos"]["setAdminBranchProtection"]["parameters"]): Promise; - defaults: RequestInterface["defaults"]; - endpoint: EndpointInterface<{ - url: string; - }>; - }; - /** - * Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://help.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation. - * - * Replaces the list of apps that have push access to this branch. This removes all apps that previously had push access and grants push access to the new list of apps. Only installed GitHub Apps with `write` access to the `contents` permission can be added as authorized actors on a protected branch. - * - * | Type | Description | - * | ------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------- | - * | `array` | The GitHub Apps that have push access to this branch. Use the app's `slug`. **Note**: The list of users, apps, and teams in total is limited to 100 items. | - */ - setAppAccessRestrictions: { - (params?: RestEndpointMethodTypes["repos"]["setAppAccessRestrictions"]["parameters"]): Promise; - defaults: RequestInterface["defaults"]; - endpoint: EndpointInterface<{ - url: string; - }>; - }; - /** - * Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://help.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation. - */ - setStatusCheckContexts: { - (params?: RestEndpointMethodTypes["repos"]["setStatusCheckContexts"]["parameters"]): Promise; - defaults: RequestInterface["defaults"]; - endpoint: EndpointInterface<{ - url: string; - }>; - }; - /** - * Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://help.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation. - * - * Replaces the list of teams that have push access to this branch. This removes all teams that previously had push access and grants push access to the new list of teams. Team restrictions include child teams. - * - * | Type | Description | - * | ------- | ------------------------------------------------------------------------------------------------------------------------------------------ | - * | `array` | The teams that can have push access. Use the team's `slug`. **Note**: The list of users, apps, and teams in total is limited to 100 items. | - */ - setTeamAccessRestrictions: { - (params?: RestEndpointMethodTypes["repos"]["setTeamAccessRestrictions"]["parameters"]): Promise; - defaults: RequestInterface["defaults"]; - endpoint: EndpointInterface<{ - url: string; - }>; - }; - /** - * Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://help.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation. - * - * Replaces the list of people that have push access to this branch. This removes all people that previously had push access and grants push access to the new list of people. - * - * | Type | Description | - * | ------- | ----------------------------------------------------------------------------------------------------------------------------- | - * | `array` | Usernames for people who can have push access. **Note**: The list of users, apps, and teams in total is limited to 100 items. | - */ - setUserAccessRestrictions: { - (params?: RestEndpointMethodTypes["repos"]["setUserAccessRestrictions"]["parameters"]): Promise; - defaults: RequestInterface["defaults"]; - endpoint: EndpointInterface<{ - url: string; - }>; - }; - /** - * This will trigger the hook with the latest push to the current repository if the hook is subscribed to `push` events. If the hook is not subscribed to `push` events, the server will respond with 204 but no test POST will be generated. - * - * **Note**: Previously `/repos/:owner/:repo/hooks/:hook_id/test` - */ - testPushWebhook: { - (params?: RestEndpointMethodTypes["repos"]["testPushWebhook"]["parameters"]): Promise; - defaults: RequestInterface["defaults"]; - endpoint: EndpointInterface<{ - url: string; - }>; - }; - /** - * A transfer request will need to be accepted by the new owner when transferring a personal repository to another user. The response will contain the original `owner`, and the transfer will continue asynchronously. For more details on the requirements to transfer personal and organization-owned repositories, see [about repository transfers](https://help.github.com/articles/about-repository-transfers/). - */ - transfer: { - (params?: RestEndpointMethodTypes["repos"]["transfer"]["parameters"]): Promise; - defaults: RequestInterface["defaults"]; - endpoint: EndpointInterface<{ - url: string; - }>; - }; - /** - * **Note**: To edit a repository's topics, use the [Replace all repository topics](https://docs.github.com/rest/reference/repos#replace-all-repository-topics) endpoint. - */ - update: { - (params?: RestEndpointMethodTypes["repos"]["update"]["parameters"]): Promise; - defaults: RequestInterface["defaults"]; - endpoint: EndpointInterface<{ - url: string; - }>; - }; - /** - * Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://help.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation. - * - * Protecting a branch requires admin or owner permissions to the repository. - * - * **Note**: Passing new arrays of `users` and `teams` replaces their previous values. - * - * **Note**: The list of users, apps, and teams in total is limited to 100 items. - */ - updateBranchProtection: { - (params?: RestEndpointMethodTypes["repos"]["updateBranchProtection"]["parameters"]): Promise; - defaults: RequestInterface["defaults"]; - endpoint: EndpointInterface<{ - url: string; - }>; - }; - updateCommitComment: { - (params?: RestEndpointMethodTypes["repos"]["updateCommitComment"]["parameters"]): Promise; - defaults: RequestInterface["defaults"]; - endpoint: EndpointInterface<{ - url: string; - }>; - }; - /** - * Updates information for a GitHub Pages site. For more information, see "[About GitHub Pages](/github/working-with-github-pages/about-github-pages). - */ - updateInformationAboutPagesSite: { - (params?: RestEndpointMethodTypes["repos"]["updateInformationAboutPagesSite"]["parameters"]): Promise; - defaults: RequestInterface["defaults"]; - endpoint: EndpointInterface<{ - url: string; - }>; - }; - updateInvitation: { - (params?: RestEndpointMethodTypes["repos"]["updateInvitation"]["parameters"]): Promise; - defaults: RequestInterface["defaults"]; - endpoint: EndpointInterface<{ - url: string; - }>; - }; - /** - * Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://help.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation. - * - * Updating pull request review enforcement requires admin or owner permissions to the repository and branch protection to be enabled. - * - * **Note**: Passing new arrays of `users` and `teams` replaces their previous values. - */ - updatePullRequestReviewProtection: { - (params?: RestEndpointMethodTypes["repos"]["updatePullRequestReviewProtection"]["parameters"]): Promise; - defaults: RequestInterface["defaults"]; - endpoint: EndpointInterface<{ - url: string; - }>; - }; - /** - * Users with push access to the repository can edit a release. - */ - updateRelease: { - (params?: RestEndpointMethodTypes["repos"]["updateRelease"]["parameters"]): Promise; - defaults: RequestInterface["defaults"]; - endpoint: EndpointInterface<{ - url: string; - }>; - }; - /** - * Users with push access to the repository can edit a release asset. - */ - updateReleaseAsset: { - (params?: RestEndpointMethodTypes["repos"]["updateReleaseAsset"]["parameters"]): Promise; - defaults: RequestInterface["defaults"]; - endpoint: EndpointInterface<{ - url: string; - }>; - }; - /** - * Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://help.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation. - * - * Updating required status checks requires admin or owner permissions to the repository and branch protection to be enabled. - * @deprecated octokit.rest.repos.updateStatusCheckPotection() has been renamed to octokit.rest.repos.updateStatusCheckProtection() (2020-09-17) - */ - updateStatusCheckPotection: { - (params?: RestEndpointMethodTypes["repos"]["updateStatusCheckPotection"]["parameters"]): Promise; - defaults: RequestInterface["defaults"]; - endpoint: EndpointInterface<{ - url: string; - }>; - }; - /** - * Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://help.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation. - * - * Updating required status checks requires admin or owner permissions to the repository and branch protection to be enabled. - */ - updateStatusCheckProtection: { - (params?: RestEndpointMethodTypes["repos"]["updateStatusCheckProtection"]["parameters"]): Promise; - defaults: RequestInterface["defaults"]; - endpoint: EndpointInterface<{ - url: string; - }>; - }; - /** - * Updates a webhook configured in a repository. If you previously had a `secret` set, you must provide the same `secret` or set a new `secret` or the secret will be removed. If you are only updating individual webhook `config` properties, use "[Update a webhook configuration for a repository](/rest/reference/repos#update-a-webhook-configuration-for-a-repository)." - */ - updateWebhook: { - (params?: RestEndpointMethodTypes["repos"]["updateWebhook"]["parameters"]): Promise; - defaults: RequestInterface["defaults"]; - endpoint: EndpointInterface<{ - url: string; - }>; - }; - /** - * Updates the webhook configuration for a repository. To update more information about the webhook, including the `active` state and `events`, use "[Update a repository webhook](/rest/reference/orgs#update-a-repository-webhook)." - * - * Access tokens must have the `write:repo_hook` or `repo` scope, and GitHub Apps must have the `repository_hooks:write` permission. - */ - updateWebhookConfigForRepo: { - (params?: RestEndpointMethodTypes["repos"]["updateWebhookConfigForRepo"]["parameters"]): Promise; - defaults: RequestInterface["defaults"]; - endpoint: EndpointInterface<{ - url: string; - }>; - }; - /** - * This endpoint makes use of [a Hypermedia relation](https://docs.github.com/rest/overview/resources-in-the-rest-api#hypermedia) to determine which URL to access. The endpoint you call to upload release assets is specific to your release. Use the `upload_url` returned in - * the response of the [Create a release endpoint](https://docs.github.com/rest/reference/repos#create-a-release) to upload a release asset. - * - * You need to use an HTTP client which supports [SNI](http://en.wikipedia.org/wiki/Server_Name_Indication) to make calls to this endpoint. - * - * Most libraries will set the required `Content-Length` header automatically. Use the required `Content-Type` header to provide the media type of the asset. For a list of media types, see [Media Types](https://www.iana.org/assignments/media-types/media-types.xhtml). For example: - * - * `application/zip` - * - * GitHub expects the asset data in its raw binary form, rather than JSON. You will send the raw binary content of the asset as the request body. Everything else about the endpoint is the same as the rest of the API. For example, - * you'll still need to pass your authentication to be able to upload an asset. - * - * When an upstream failure occurs, you will receive a `502 Bad Gateway` status. This may leave an empty asset with a state of `starter`. It can be safely deleted. - * - * **Notes:** - * * GitHub renames asset filenames that have special characters, non-alphanumeric characters, and leading or trailing periods. The "[List assets for a release](https://docs.github.com/rest/reference/repos#list-assets-for-a-release)" - * endpoint lists the renamed filenames. For more information and help, contact [GitHub Support](https://support.github.com/contact). - * * If you upload an asset with the same filename as another uploaded asset, you'll receive an error and must delete the old file before you can re-upload the new asset. - */ - uploadReleaseAsset: { - (params?: RestEndpointMethodTypes["repos"]["uploadReleaseAsset"]["parameters"]): Promise; - defaults: RequestInterface["defaults"]; - endpoint: EndpointInterface<{ - url: string; - }>; - }; - }; - search: { - /** - * Searches for query terms inside of a file. This method returns up to 100 results [per page](https://docs.github.com/rest/overview/resources-in-the-rest-api#pagination). - * - * When searching for code, you can get text match metadata for the file **content** and file **path** fields when you pass the `text-match` media type. For more details about how to receive highlighted search results, see [Text match metadata](https://docs.github.com/rest/reference/search#text-match-metadata). - * - * For example, if you want to find the definition of the `addClass` function inside [jQuery](https://github.com/jquery/jquery) repository, your query would look something like this: - * - * `q=addClass+in:file+language:js+repo:jquery/jquery` - * - * This query searches for the keyword `addClass` within a file's contents. The query limits the search to files where the language is JavaScript in the `jquery/jquery` repository. - * - * #### Considerations for code search - * - * Due to the complexity of searching code, there are a few restrictions on how searches are performed: - * - * * Only the _default branch_ is considered. In most cases, this will be the `master` branch. - * * Only files smaller than 384 KB are searchable. - * * You must always include at least one search term when searching source code. For example, searching for [`language:go`](https://github.com/search?utf8=%E2%9C%93&q=language%3Ago&type=Code) is not valid, while [`amazing - * language:go`](https://github.com/search?utf8=%E2%9C%93&q=amazing+language%3Ago&type=Code) is. - */ - code: { - (params?: RestEndpointMethodTypes["search"]["code"]["parameters"]): Promise; - defaults: RequestInterface["defaults"]; - endpoint: EndpointInterface<{ - url: string; - }>; - }; - /** - * Find commits via various criteria on the default branch (usually `master`). This method returns up to 100 results [per page](https://docs.github.com/rest/overview/resources-in-the-rest-api#pagination). - * - * When searching for commits, you can get text match metadata for the **message** field when you provide the `text-match` media type. For more details about how to receive highlighted search results, see [Text match - * metadata](https://docs.github.com/rest/reference/search#text-match-metadata). - * - * For example, if you want to find commits related to CSS in the [octocat/Spoon-Knife](https://github.com/octocat/Spoon-Knife) repository. Your query would look something like this: - * - * `q=repo:octocat/Spoon-Knife+css` - */ - commits: { - (params?: RestEndpointMethodTypes["search"]["commits"]["parameters"]): Promise; - defaults: RequestInterface["defaults"]; - endpoint: EndpointInterface<{ - url: string; - }>; - }; - /** - * Find issues by state and keyword. This method returns up to 100 results [per page](https://docs.github.com/rest/overview/resources-in-the-rest-api#pagination). - * - * When searching for issues, you can get text match metadata for the issue **title**, issue **body**, and issue **comment body** fields when you pass the `text-match` media type. For more details about how to receive highlighted - * search results, see [Text match metadata](https://docs.github.com/rest/reference/search#text-match-metadata). - * - * For example, if you want to find the oldest unresolved Python bugs on Windows. Your query might look something like this. - * - * `q=windows+label:bug+language:python+state:open&sort=created&order=asc` - * - * This query searches for the keyword `windows`, within any open issue that is labeled as `bug`. The search runs across repositories whose primary language is Python. The results are sorted by creation date in ascending order, which means the oldest issues appear first in the search results. - * - * **Note:** For [user-to-server](https://docs.github.com/developers/apps/identifying-and-authorizing-users-for-github-apps#user-to-server-requests) GitHub App requests, you can't retrieve a combination of issues and pull requests in a single query. Requests that don't include the `is:issue` or `is:pull-request` qualifier will receive an HTTP `422 Unprocessable Entity` response. To get results for both issues and pull requests, you must send separate queries for issues and pull requests. For more information about the `is` qualifier, see "[Searching only issues or pull requests](https://docs.github.com/github/searching-for-information-on-github/searching-issues-and-pull-requests#search-only-issues-or-pull-requests)." - */ - issuesAndPullRequests: { - (params?: RestEndpointMethodTypes["search"]["issuesAndPullRequests"]["parameters"]): Promise; - defaults: RequestInterface["defaults"]; - endpoint: EndpointInterface<{ - url: string; - }>; - }; - /** - * Find labels in a repository with names or descriptions that match search keywords. Returns up to 100 results [per page](https://docs.github.com/rest/overview/resources-in-the-rest-api#pagination). - * - * When searching for labels, you can get text match metadata for the label **name** and **description** fields when you pass the `text-match` media type. For more details about how to receive highlighted search results, see [Text match metadata](https://docs.github.com/rest/reference/search#text-match-metadata). - * - * For example, if you want to find labels in the `linguist` repository that match `bug`, `defect`, or `enhancement`. Your query might look like this: - * - * `q=bug+defect+enhancement&repository_id=64778136` - * - * The labels that best match the query appear first in the search results. - */ - labels: { - (params?: RestEndpointMethodTypes["search"]["labels"]["parameters"]): Promise; - defaults: RequestInterface["defaults"]; - endpoint: EndpointInterface<{ - url: string; - }>; - }; - /** - * Find repositories via various criteria. This method returns up to 100 results [per page](https://docs.github.com/rest/overview/resources-in-the-rest-api#pagination). - * - * When searching for repositories, you can get text match metadata for the **name** and **description** fields when you pass the `text-match` media type. For more details about how to receive highlighted search results, see [Text match metadata](https://docs.github.com/rest/reference/search#text-match-metadata). - * - * For example, if you want to search for popular Tetris repositories written in assembly code, your query might look like this: - * - * `q=tetris+language:assembly&sort=stars&order=desc` - * - * This query searches for repositories with the word `tetris` in the name, the description, or the README. The results are limited to repositories where the primary language is assembly. The results are sorted by stars in descending order, so that the most popular repositories appear first in the search results. - * - * When you include the `mercy` preview header, you can also search for multiple topics by adding more `topic:` instances. For example, your query might look like this: - * - * `q=topic:ruby+topic:rails` - */ - repos: { - (params?: RestEndpointMethodTypes["search"]["repos"]["parameters"]): Promise; - defaults: RequestInterface["defaults"]; - endpoint: EndpointInterface<{ - url: string; - }>; - }; - /** - * Find topics via various criteria. Results are sorted by best match. This method returns up to 100 results [per page](https://docs.github.com/rest/overview/resources-in-the-rest-api#pagination). See "[Searching topics](https://help.github.com/articles/searching-topics/)" for a detailed list of qualifiers. - * - * When searching for topics, you can get text match metadata for the topic's **short\_description**, **description**, **name**, or **display\_name** field when you pass the `text-match` media type. For more details about how to receive highlighted search results, see [Text match metadata](https://docs.github.com/rest/reference/search#text-match-metadata). - * - * For example, if you want to search for topics related to Ruby that are featured on https://github.com/topics. Your query might look like this: - * - * `q=ruby+is:featured` - * - * This query searches for topics with the keyword `ruby` and limits the results to find only topics that are featured. The topics that are the best match for the query appear first in the search results. - */ - topics: { - (params?: RestEndpointMethodTypes["search"]["topics"]["parameters"]): Promise; - defaults: RequestInterface["defaults"]; - endpoint: EndpointInterface<{ - url: string; - }>; - }; - /** - * Find users via various criteria. This method returns up to 100 results [per page](https://docs.github.com/rest/overview/resources-in-the-rest-api#pagination). - * - * When searching for users, you can get text match metadata for the issue **login**, **email**, and **name** fields when you pass the `text-match` media type. For more details about highlighting search results, see [Text match metadata](https://docs.github.com/rest/reference/search#text-match-metadata). For more details about how to receive highlighted search results, see [Text match metadata](https://docs.github.com/rest/reference/search#text-match-metadata). - * - * For example, if you're looking for a list of popular users, you might try this query: - * - * `q=tom+repos:%3E42+followers:%3E1000` - * - * This query searches for users with the name `tom`. The results are restricted to users with more than 42 repositories and over 1,000 followers. - */ - users: { - (params?: RestEndpointMethodTypes["search"]["users"]["parameters"]): Promise; - defaults: RequestInterface["defaults"]; - endpoint: EndpointInterface<{ - url: string; - }>; - }; - }; - secretScanning: { - /** - * Gets a single secret scanning alert detected in a private repository. To use this endpoint, you must be an administrator for the repository or organization, and you must use an access token with the `repo` scope or `security_events` scope. - * - * GitHub Apps must have the `secret_scanning_alerts` read permission to use this endpoint. - */ - getAlert: { - (params?: RestEndpointMethodTypes["secretScanning"]["getAlert"]["parameters"]): Promise; - defaults: RequestInterface["defaults"]; - endpoint: EndpointInterface<{ - url: string; - }>; - }; - /** - * Lists all secret scanning alerts for a private repository, from newest to oldest. To use this endpoint, you must be an administrator for the repository or organization, and you must use an access token with the `repo` scope or `security_events` scope. - * - * GitHub Apps must have the `secret_scanning_alerts` read permission to use this endpoint. - */ - listAlertsForRepo: { - (params?: RestEndpointMethodTypes["secretScanning"]["listAlertsForRepo"]["parameters"]): Promise; - defaults: RequestInterface["defaults"]; - endpoint: EndpointInterface<{ - url: string; - }>; - }; - /** - * Updates the status of a secret scanning alert in a private repository. To use this endpoint, you must be an administrator for the repository or organization, and you must use an access token with the `repo` scope or `security_events` scope. - * - * GitHub Apps must have the `secret_scanning_alerts` write permission to use this endpoint. - */ - updateAlert: { - (params?: RestEndpointMethodTypes["secretScanning"]["updateAlert"]["parameters"]): Promise; - defaults: RequestInterface["defaults"]; - endpoint: EndpointInterface<{ - url: string; - }>; - }; - }; - teams: { - /** - * Team synchronization is available for organizations using GitHub Enterprise Cloud. For more information, see [GitHub's products](https://help.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation. - * - * Adds an organization member to a team. An authenticated organization owner or team maintainer can add organization members to a team. - * - * **Note:** When you have team synchronization set up for a team with your organization's identity provider (IdP), you will see an error if you attempt to use the API for making changes to the team's membership. If you have access to manage group membership in your IdP, you can manage GitHub team membership through your identity provider, which automatically adds and removes team members in an organization. For more information, see "[Synchronizing teams between your identity provider and GitHub](https://help.github.com/articles/synchronizing-teams-between-your-identity-provider-and-github/)." - * - * An organization owner can add someone who is not part of the team's organization to a team. When an organization owner adds someone to a team who is not an organization member, this endpoint will send an invitation to the person via email. This newly-created membership will be in the "pending" state until the person accepts the invitation, at which point the membership will transition to the "active" state and the user will be added as a member of the team. - * - * If the user is already a member of the team, this endpoint will update the role of the team member's role. To update the membership of a team member, the authenticated user must be an organization owner or a team maintainer. - * - * **Note:** You can also specify a team by `org_id` and `team_id` using the route `PUT /organizations/{org_id}/team/{team_id}/memberships/{username}`. - */ - addOrUpdateMembershipForUserInOrg: { - (params?: RestEndpointMethodTypes["teams"]["addOrUpdateMembershipForUserInOrg"]["parameters"]): Promise; - defaults: RequestInterface["defaults"]; - endpoint: EndpointInterface<{ - url: string; - }>; - }; - /** - * Adds an organization project to a team. To add a project to a team or update the team's permission on a project, the authenticated user must have `admin` permissions for the project. The project and team must be part of the same organization. - * - * **Note:** You can also specify a team by `org_id` and `team_id` using the route `PUT /organizations/{org_id}/team/{team_id}/projects/{project_id}`. - */ - addOrUpdateProjectPermissionsInOrg: { - (params?: RestEndpointMethodTypes["teams"]["addOrUpdateProjectPermissionsInOrg"]["parameters"]): Promise; - defaults: RequestInterface["defaults"]; - endpoint: EndpointInterface<{ - url: string; - }>; - }; - /** - * To add a repository to a team or update the team's permission on a repository, the authenticated user must have admin access to the repository, and must be able to see the team. The repository must be owned by the organization, or a direct fork of a repository owned by the organization. You will get a `422 Unprocessable Entity` status if you attempt to add a repository to a team that is not owned by the organization. Note that, if you choose not to pass any parameters, you'll need to set `Content-Length` to zero when calling out to this endpoint. For more information, see "[HTTP verbs](https://docs.github.com/rest/overview/resources-in-the-rest-api#http-verbs)." - * - * **Note:** You can also specify a team by `org_id` and `team_id` using the route `PUT /organizations/{org_id}/team/{team_id}/repos/{owner}/{repo}`. - * - * For more information about the permission levels, see "[Repository permission levels for an organization](https://help.github.com/en/github/setting-up-and-managing-organizations-and-teams/repository-permission-levels-for-an-organization#permission-levels-for-repositories-owned-by-an-organization)". - */ - addOrUpdateRepoPermissionsInOrg: { - (params?: RestEndpointMethodTypes["teams"]["addOrUpdateRepoPermissionsInOrg"]["parameters"]): Promise; - defaults: RequestInterface["defaults"]; - endpoint: EndpointInterface<{ - url: string; - }>; - }; - /** - * Checks whether a team has `read`, `write`, or `admin` permissions for an organization project. The response includes projects inherited from a parent team. - * - * **Note:** You can also specify a team by `org_id` and `team_id` using the route `GET /organizations/{org_id}/team/{team_id}/projects/{project_id}`. - */ - checkPermissionsForProjectInOrg: { - (params?: RestEndpointMethodTypes["teams"]["checkPermissionsForProjectInOrg"]["parameters"]): Promise; - defaults: RequestInterface["defaults"]; - endpoint: EndpointInterface<{ - url: string; - }>; - }; - /** - * Checks whether a team has `admin`, `push`, `maintain`, `triage`, or `pull` permission for a repository. Repositories inherited through a parent team will also be checked. - * - * You can also get information about the specified repository, including what permissions the team grants on it, by passing the following custom [media type](https://docs.github.com/rest/overview/media-types/) via the `application/vnd.github.v3.repository+json` accept header. - * - * If a team doesn't have permission for the repository, you will receive a `404 Not Found` response status. - * - * **Note:** You can also specify a team by `org_id` and `team_id` using the route `GET /organizations/{org_id}/team/{team_id}/repos/{owner}/{repo}`. - */ - checkPermissionsForRepoInOrg: { - (params?: RestEndpointMethodTypes["teams"]["checkPermissionsForRepoInOrg"]["parameters"]): Promise; - defaults: RequestInterface["defaults"]; - endpoint: EndpointInterface<{ - url: string; - }>; - }; - /** - * To create a team, the authenticated user must be a member or owner of `{org}`. By default, organization members can create teams. Organization owners can limit team creation to organization owners. For more information, see "[Setting team creation permissions](https://help.github.com/en/articles/setting-team-creation-permissions-in-your-organization)." - * - * When you create a new team, you automatically become a team maintainer without explicitly adding yourself to the optional array of `maintainers`. For more information, see "[About teams](https://help.github.com/en/github/setting-up-and-managing-organizations-and-teams/about-teams)". - */ - create: { - (params?: RestEndpointMethodTypes["teams"]["create"]["parameters"]): Promise; - defaults: RequestInterface["defaults"]; - endpoint: EndpointInterface<{ - url: string; - }>; - }; - /** - * Creates a new comment on a team discussion. OAuth access tokens require the `write:discussion` [scope](https://docs.github.com/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/). - * - * This endpoint triggers [notifications](https://docs.github.com/en/github/managing-subscriptions-and-notifications-on-github/about-notifications). Creating content too quickly using this endpoint may result in abuse rate limiting. See "[Abuse rate limits](https://docs.github.com/rest/overview/resources-in-the-rest-api#abuse-rate-limits)" and "[Dealing with abuse rate limits](https://docs.github.com/rest/guides/best-practices-for-integrators#dealing-with-rate-limits)" for details. - * - * **Note:** You can also specify a team by `org_id` and `team_id` using the route `POST /organizations/{org_id}/team/{team_id}/discussions/{discussion_number}/comments`. - */ - createDiscussionCommentInOrg: { - (params?: RestEndpointMethodTypes["teams"]["createDiscussionCommentInOrg"]["parameters"]): Promise; - defaults: RequestInterface["defaults"]; - endpoint: EndpointInterface<{ - url: string; - }>; - }; - /** - * Creates a new discussion post on a team's page. OAuth access tokens require the `write:discussion` [scope](https://docs.github.com/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/). - * - * This endpoint triggers [notifications](https://docs.github.com/en/github/managing-subscriptions-and-notifications-on-github/about-notifications). Creating content too quickly using this endpoint may result in abuse rate limiting. See "[Abuse rate limits](https://docs.github.com/rest/overview/resources-in-the-rest-api#abuse-rate-limits)" and "[Dealing with abuse rate limits](https://docs.github.com/rest/guides/best-practices-for-integrators#dealing-with-rate-limits)" for details. - * - * **Note:** You can also specify a team by `org_id` and `team_id` using the route `POST /organizations/{org_id}/team/{team_id}/discussions`. - */ - createDiscussionInOrg: { - (params?: RestEndpointMethodTypes["teams"]["createDiscussionInOrg"]["parameters"]): Promise; - defaults: RequestInterface["defaults"]; - endpoint: EndpointInterface<{ - url: string; - }>; - }; - /** - * Deletes a comment on a team discussion. OAuth access tokens require the `write:discussion` [scope](https://docs.github.com/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/). - * - * **Note:** You can also specify a team by `org_id` and `team_id` using the route `DELETE /organizations/{org_id}/team/{team_id}/discussions/{discussion_number}/comments/{comment_number}`. - */ - deleteDiscussionCommentInOrg: { - (params?: RestEndpointMethodTypes["teams"]["deleteDiscussionCommentInOrg"]["parameters"]): Promise; - defaults: RequestInterface["defaults"]; - endpoint: EndpointInterface<{ - url: string; - }>; - }; - /** - * Delete a discussion from a team's page. OAuth access tokens require the `write:discussion` [scope](https://docs.github.com/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/). - * - * **Note:** You can also specify a team by `org_id` and `team_id` using the route `DELETE /organizations/{org_id}/team/{team_id}/discussions/{discussion_number}`. - */ - deleteDiscussionInOrg: { - (params?: RestEndpointMethodTypes["teams"]["deleteDiscussionInOrg"]["parameters"]): Promise; - defaults: RequestInterface["defaults"]; - endpoint: EndpointInterface<{ - url: string; - }>; - }; - /** - * To delete a team, the authenticated user must be an organization owner or team maintainer. - * - * If you are an organization owner, deleting a parent team will delete all of its child teams as well. - * - * **Note:** You can also specify a team by `org_id` and `team_id` using the route `DELETE /organizations/{org_id}/team/{team_id}`. - */ - deleteInOrg: { - (params?: RestEndpointMethodTypes["teams"]["deleteInOrg"]["parameters"]): Promise; - defaults: RequestInterface["defaults"]; - endpoint: EndpointInterface<{ - url: string; - }>; - }; - /** - * Gets a team using the team's `slug`. GitHub generates the `slug` from the team `name`. - * - * **Note:** You can also specify a team by `org_id` and `team_id` using the route `GET /organizations/{org_id}/team/{team_id}`. - */ - getByName: { - (params?: RestEndpointMethodTypes["teams"]["getByName"]["parameters"]): Promise; - defaults: RequestInterface["defaults"]; - endpoint: EndpointInterface<{ - url: string; - }>; - }; - /** - * Get a specific comment on a team discussion. OAuth access tokens require the `read:discussion` [scope](https://docs.github.com/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/). - * - * **Note:** You can also specify a team by `org_id` and `team_id` using the route `GET /organizations/{org_id}/team/{team_id}/discussions/{discussion_number}/comments/{comment_number}`. - */ - getDiscussionCommentInOrg: { - (params?: RestEndpointMethodTypes["teams"]["getDiscussionCommentInOrg"]["parameters"]): Promise; - defaults: RequestInterface["defaults"]; - endpoint: EndpointInterface<{ - url: string; - }>; - }; - /** - * Get a specific discussion on a team's page. OAuth access tokens require the `read:discussion` [scope](https://docs.github.com/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/). - * - * **Note:** You can also specify a team by `org_id` and `team_id` using the route `GET /organizations/{org_id}/team/{team_id}/discussions/{discussion_number}`. - */ - getDiscussionInOrg: { - (params?: RestEndpointMethodTypes["teams"]["getDiscussionInOrg"]["parameters"]): Promise; - defaults: RequestInterface["defaults"]; - endpoint: EndpointInterface<{ - url: string; - }>; - }; - /** - * Team members will include the members of child teams. - * - * To get a user's membership with a team, the team must be visible to the authenticated user. - * - * **Note:** You can also specify a team by `org_id` and `team_id` using the route `GET /organizations/{org_id}/team/{team_id}/memberships/{username}`. - * - * **Note:** - * The response contains the `state` of the membership and the member's `role`. - * - * The `role` for organization owners is set to `maintainer`. For more information about `maintainer` roles, see see [Create a team](https://docs.github.com/rest/reference/teams#create-a-team). - */ - getMembershipForUserInOrg: { - (params?: RestEndpointMethodTypes["teams"]["getMembershipForUserInOrg"]["parameters"]): Promise; - defaults: RequestInterface["defaults"]; - endpoint: EndpointInterface<{ - url: string; - }>; - }; - /** - * Lists all teams in an organization that are visible to the authenticated user. - */ - list: { - (params?: RestEndpointMethodTypes["teams"]["list"]["parameters"]): Promise; - defaults: RequestInterface["defaults"]; - endpoint: EndpointInterface<{ - url: string; - }>; - }; - /** - * Lists the child teams of the team specified by `{team_slug}`. - * - * **Note:** You can also specify a team by `org_id` and `team_id` using the route `GET /organizations/{org_id}/team/{team_id}/teams`. - */ - listChildInOrg: { - (params?: RestEndpointMethodTypes["teams"]["listChildInOrg"]["parameters"]): Promise; - defaults: RequestInterface["defaults"]; - endpoint: EndpointInterface<{ - url: string; - }>; - }; - /** - * List all comments on a team discussion. OAuth access tokens require the `read:discussion` [scope](https://docs.github.com/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/). - * - * **Note:** You can also specify a team by `org_id` and `team_id` using the route `GET /organizations/{org_id}/team/{team_id}/discussions/{discussion_number}/comments`. - */ - listDiscussionCommentsInOrg: { - (params?: RestEndpointMethodTypes["teams"]["listDiscussionCommentsInOrg"]["parameters"]): Promise; - defaults: RequestInterface["defaults"]; - endpoint: EndpointInterface<{ - url: string; - }>; - }; - /** - * List all discussions on a team's page. OAuth access tokens require the `read:discussion` [scope](https://docs.github.com/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/). - * - * **Note:** You can also specify a team by `org_id` and `team_id` using the route `GET /organizations/{org_id}/team/{team_id}/discussions`. - */ - listDiscussionsInOrg: { - (params?: RestEndpointMethodTypes["teams"]["listDiscussionsInOrg"]["parameters"]): Promise; - defaults: RequestInterface["defaults"]; - endpoint: EndpointInterface<{ - url: string; - }>; - }; - /** - * List all of the teams across all of the organizations to which the authenticated user belongs. This method requires `user`, `repo`, or `read:org` [scope](https://docs.github.com/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/) when authenticating via [OAuth](https://docs.github.com/apps/building-oauth-apps/). - */ - listForAuthenticatedUser: { - (params?: RestEndpointMethodTypes["teams"]["listForAuthenticatedUser"]["parameters"]): Promise; - defaults: RequestInterface["defaults"]; - endpoint: EndpointInterface<{ - url: string; - }>; - }; - /** - * Team members will include the members of child teams. - * - * To list members in a team, the team must be visible to the authenticated user. - */ - listMembersInOrg: { - (params?: RestEndpointMethodTypes["teams"]["listMembersInOrg"]["parameters"]): Promise; - defaults: RequestInterface["defaults"]; - endpoint: EndpointInterface<{ - url: string; - }>; - }; - /** - * The return hash contains a `role` field which refers to the Organization Invitation role and will be one of the following values: `direct_member`, `admin`, `billing_manager`, `hiring_manager`, or `reinstate`. If the invitee is not a GitHub member, the `login` field in the return hash will be `null`. - * - * **Note:** You can also specify a team by `org_id` and `team_id` using the route `GET /organizations/{org_id}/team/{team_id}/invitations`. - */ - listPendingInvitationsInOrg: { - (params?: RestEndpointMethodTypes["teams"]["listPendingInvitationsInOrg"]["parameters"]): Promise; - defaults: RequestInterface["defaults"]; - endpoint: EndpointInterface<{ - url: string; - }>; - }; - /** - * Lists the organization projects for a team. - * - * **Note:** You can also specify a team by `org_id` and `team_id` using the route `GET /organizations/{org_id}/team/{team_id}/projects`. - */ - listProjectsInOrg: { - (params?: RestEndpointMethodTypes["teams"]["listProjectsInOrg"]["parameters"]): Promise; - defaults: RequestInterface["defaults"]; - endpoint: EndpointInterface<{ - url: string; - }>; - }; - /** - * Lists a team's repositories visible to the authenticated user. - * - * **Note:** You can also specify a team by `org_id` and `team_id` using the route `GET /organizations/{org_id}/team/{team_id}/repos`. - */ - listReposInOrg: { - (params?: RestEndpointMethodTypes["teams"]["listReposInOrg"]["parameters"]): Promise; - defaults: RequestInterface["defaults"]; - endpoint: EndpointInterface<{ - url: string; - }>; - }; - /** - * Team synchronization is available for organizations using GitHub Enterprise Cloud. For more information, see [GitHub's products](https://help.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation. - * - * To remove a membership between a user and a team, the authenticated user must have 'admin' permissions to the team or be an owner of the organization that the team is associated with. Removing team membership does not delete the user, it just removes their membership from the team. - * - * **Note:** When you have team synchronization set up for a team with your organization's identity provider (IdP), you will see an error if you attempt to use the API for making changes to the team's membership. If you have access to manage group membership in your IdP, you can manage GitHub team membership through your identity provider, which automatically adds and removes team members in an organization. For more information, see "[Synchronizing teams between your identity provider and GitHub](https://help.github.com/articles/synchronizing-teams-between-your-identity-provider-and-github/)." - * - * **Note:** You can also specify a team by `org_id` and `team_id` using the route `DELETE /organizations/{org_id}/team/{team_id}/memberships/{username}`. - */ - removeMembershipForUserInOrg: { - (params?: RestEndpointMethodTypes["teams"]["removeMembershipForUserInOrg"]["parameters"]): Promise; - defaults: RequestInterface["defaults"]; - endpoint: EndpointInterface<{ - url: string; - }>; - }; - /** - * Removes an organization project from a team. An organization owner or a team maintainer can remove any project from the team. To remove a project from a team as an organization member, the authenticated user must have `read` access to both the team and project, or `admin` access to the team or project. This endpoint removes the project from the team, but does not delete the project. - * - * **Note:** You can also specify a team by `org_id` and `team_id` using the route `DELETE /organizations/{org_id}/team/{team_id}/projects/{project_id}`. - */ - removeProjectInOrg: { - (params?: RestEndpointMethodTypes["teams"]["removeProjectInOrg"]["parameters"]): Promise; - defaults: RequestInterface["defaults"]; - endpoint: EndpointInterface<{ - url: string; - }>; - }; - /** - * If the authenticated user is an organization owner or a team maintainer, they can remove any repositories from the team. To remove a repository from a team as an organization member, the authenticated user must have admin access to the repository and must be able to see the team. This does not delete the repository, it just removes it from the team. - * - * **Note:** You can also specify a team by `org_id` and `team_id` using the route `DELETE /organizations/{org_id}/team/{team_id}/repos/{owner}/{repo}`. - */ - removeRepoInOrg: { - (params?: RestEndpointMethodTypes["teams"]["removeRepoInOrg"]["parameters"]): Promise; - defaults: RequestInterface["defaults"]; - endpoint: EndpointInterface<{ - url: string; - }>; - }; - /** - * Edits the body text of a discussion comment. OAuth access tokens require the `write:discussion` [scope](https://docs.github.com/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/). - * - * **Note:** You can also specify a team by `org_id` and `team_id` using the route `PATCH /organizations/{org_id}/team/{team_id}/discussions/{discussion_number}/comments/{comment_number}`. - */ - updateDiscussionCommentInOrg: { - (params?: RestEndpointMethodTypes["teams"]["updateDiscussionCommentInOrg"]["parameters"]): Promise; - defaults: RequestInterface["defaults"]; - endpoint: EndpointInterface<{ - url: string; - }>; - }; - /** - * Edits the title and body text of a discussion post. Only the parameters you provide are updated. OAuth access tokens require the `write:discussion` [scope](https://docs.github.com/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/). - * - * **Note:** You can also specify a team by `org_id` and `team_id` using the route `PATCH /organizations/{org_id}/team/{team_id}/discussions/{discussion_number}`. - */ - updateDiscussionInOrg: { - (params?: RestEndpointMethodTypes["teams"]["updateDiscussionInOrg"]["parameters"]): Promise; - defaults: RequestInterface["defaults"]; - endpoint: EndpointInterface<{ - url: string; - }>; - }; - /** - * To edit a team, the authenticated user must either be an organization owner or a team maintainer. - * - * **Note:** You can also specify a team by `org_id` and `team_id` using the route `PATCH /organizations/{org_id}/team/{team_id}`. - */ - updateInOrg: { - (params?: RestEndpointMethodTypes["teams"]["updateInOrg"]["parameters"]): Promise; - defaults: RequestInterface["defaults"]; - endpoint: EndpointInterface<{ - url: string; - }>; - }; - }; - users: { - /** - * This endpoint is accessible with the `user` scope. - */ - addEmailForAuthenticated: { - (params?: RestEndpointMethodTypes["users"]["addEmailForAuthenticated"]["parameters"]): Promise; - defaults: RequestInterface["defaults"]; - endpoint: EndpointInterface<{ - url: string; - }>; - }; - block: { - (params?: RestEndpointMethodTypes["users"]["block"]["parameters"]): Promise; - defaults: RequestInterface["defaults"]; - endpoint: EndpointInterface<{ - url: string; - }>; - }; - checkBlocked: { - (params?: RestEndpointMethodTypes["users"]["checkBlocked"]["parameters"]): Promise; - defaults: RequestInterface["defaults"]; - endpoint: EndpointInterface<{ - url: string; - }>; - }; - checkFollowingForUser: { - (params?: RestEndpointMethodTypes["users"]["checkFollowingForUser"]["parameters"]): Promise; - defaults: RequestInterface["defaults"]; - endpoint: EndpointInterface<{ - url: string; - }>; - }; - checkPersonIsFollowedByAuthenticated: { - (params?: RestEndpointMethodTypes["users"]["checkPersonIsFollowedByAuthenticated"]["parameters"]): Promise; - defaults: RequestInterface["defaults"]; - endpoint: EndpointInterface<{ - url: string; - }>; - }; - /** - * Adds a GPG key to the authenticated user's GitHub account. Requires that you are authenticated via Basic Auth, or OAuth with at least `write:gpg_key` [scope](https://docs.github.com/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/). - */ - createGpgKeyForAuthenticated: { - (params?: RestEndpointMethodTypes["users"]["createGpgKeyForAuthenticated"]["parameters"]): Promise; - defaults: RequestInterface["defaults"]; - endpoint: EndpointInterface<{ - url: string; - }>; - }; - /** - * Adds a public SSH key to the authenticated user's GitHub account. Requires that you are authenticated via Basic Auth, or OAuth with at least `write:public_key` [scope](https://docs.github.com/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/). - */ - createPublicSshKeyForAuthenticated: { - (params?: RestEndpointMethodTypes["users"]["createPublicSshKeyForAuthenticated"]["parameters"]): Promise; - defaults: RequestInterface["defaults"]; - endpoint: EndpointInterface<{ - url: string; - }>; - }; - /** - * This endpoint is accessible with the `user` scope. - */ - deleteEmailForAuthenticated: { - (params?: RestEndpointMethodTypes["users"]["deleteEmailForAuthenticated"]["parameters"]): Promise; - defaults: RequestInterface["defaults"]; - endpoint: EndpointInterface<{ - url: string; - }>; - }; - /** - * Removes a GPG key from the authenticated user's GitHub account. Requires that you are authenticated via Basic Auth or via OAuth with at least `admin:gpg_key` [scope](https://docs.github.com/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/). - */ - deleteGpgKeyForAuthenticated: { - (params?: RestEndpointMethodTypes["users"]["deleteGpgKeyForAuthenticated"]["parameters"]): Promise; - defaults: RequestInterface["defaults"]; - endpoint: EndpointInterface<{ - url: string; - }>; - }; - /** - * Removes a public SSH key from the authenticated user's GitHub account. Requires that you are authenticated via Basic Auth or via OAuth with at least `admin:public_key` [scope](https://docs.github.com/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/). - */ - deletePublicSshKeyForAuthenticated: { - (params?: RestEndpointMethodTypes["users"]["deletePublicSshKeyForAuthenticated"]["parameters"]): Promise; - defaults: RequestInterface["defaults"]; - endpoint: EndpointInterface<{ - url: string; - }>; - }; - /** - * Note that you'll need to set `Content-Length` to zero when calling out to this endpoint. For more information, see "[HTTP verbs](https://docs.github.com/rest/overview/resources-in-the-rest-api#http-verbs)." - * - * Following a user requires the user to be logged in and authenticated with basic auth or OAuth with the `user:follow` scope. - */ - follow: { - (params?: RestEndpointMethodTypes["users"]["follow"]["parameters"]): Promise; - defaults: RequestInterface["defaults"]; - endpoint: EndpointInterface<{ - url: string; - }>; - }; - /** - * If the authenticated user is authenticated through basic authentication or OAuth with the `user` scope, then the response lists public and private profile information. - * - * If the authenticated user is authenticated through OAuth without the `user` scope, then the response lists only public profile information. - */ - getAuthenticated: { - (params?: RestEndpointMethodTypes["users"]["getAuthenticated"]["parameters"]): Promise; - defaults: RequestInterface["defaults"]; - endpoint: EndpointInterface<{ - url: string; - }>; - }; - /** - * Provides publicly available information about someone with a GitHub account. - * - * GitHub Apps with the `Plan` user permission can use this endpoint to retrieve information about a user's GitHub plan. The GitHub App must be authenticated as a user. See "[Identifying and authorizing users for GitHub Apps](https://docs.github.com/apps/building-github-apps/identifying-and-authorizing-users-for-github-apps/)" for details about authentication. For an example response, see 'Response with GitHub plan information' below" - * - * The `email` key in the following response is the publicly visible email address from your GitHub [profile page](https://github.com/settings/profile). When setting up your profile, you can select a primary email address to be “public” which provides an email entry for this endpoint. If you do not set a public email address for `email`, then it will have a value of `null`. You only see publicly visible email addresses when authenticated with GitHub. For more information, see [Authentication](https://docs.github.com/rest/overview/resources-in-the-rest-api#authentication). - * - * The Emails API enables you to list all of your email addresses, and toggle a primary email to be visible publicly. For more information, see "[Emails API](https://docs.github.com/rest/reference/users#emails)". - */ - getByUsername: { - (params?: RestEndpointMethodTypes["users"]["getByUsername"]["parameters"]): Promise; - defaults: RequestInterface["defaults"]; - endpoint: EndpointInterface<{ - url: string; - }>; - }; - /** - * Provides hovercard information when authenticated through basic auth or OAuth with the `repo` scope. You can find out more about someone in relation to their pull requests, issues, repositories, and organizations. - * - * The `subject_type` and `subject_id` parameters provide context for the person's hovercard, which returns more information than without the parameters. For example, if you wanted to find out more about `octocat` who owns the `Spoon-Knife` repository via cURL, it would look like this: - * - * ```shell - * curl -u username:token - * https://api.github.com/users/octocat/hovercard?subject_type=repository&subject_id=1300192 - * ``` - */ - getContextForUser: { - (params?: RestEndpointMethodTypes["users"]["getContextForUser"]["parameters"]): Promise; - defaults: RequestInterface["defaults"]; - endpoint: EndpointInterface<{ - url: string; - }>; - }; - /** - * View extended details for a single GPG key. Requires that you are authenticated via Basic Auth or via OAuth with at least `read:gpg_key` [scope](https://docs.github.com/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/). - */ - getGpgKeyForAuthenticated: { - (params?: RestEndpointMethodTypes["users"]["getGpgKeyForAuthenticated"]["parameters"]): Promise; - defaults: RequestInterface["defaults"]; - endpoint: EndpointInterface<{ - url: string; - }>; - }; - /** - * View extended details for a single public SSH key. Requires that you are authenticated via Basic Auth or via OAuth with at least `read:public_key` [scope](https://docs.github.com/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/). - */ - getPublicSshKeyForAuthenticated: { - (params?: RestEndpointMethodTypes["users"]["getPublicSshKeyForAuthenticated"]["parameters"]): Promise; - defaults: RequestInterface["defaults"]; - endpoint: EndpointInterface<{ - url: string; - }>; - }; - /** - * Lists all users, in the order that they signed up on GitHub. This list includes personal user accounts and organization accounts. - * - * Note: Pagination is powered exclusively by the `since` parameter. Use the [Link header](https://docs.github.com/rest/overview/resources-in-the-rest-api#link-header) to get the URL for the next page of users. - */ - list: { - (params?: RestEndpointMethodTypes["users"]["list"]["parameters"]): Promise; - defaults: RequestInterface["defaults"]; - endpoint: EndpointInterface<{ - url: string; - }>; - }; - /** - * List the users you've blocked on your personal account. - */ - listBlockedByAuthenticated: { - (params?: RestEndpointMethodTypes["users"]["listBlockedByAuthenticated"]["parameters"]): Promise; - defaults: RequestInterface["defaults"]; - endpoint: EndpointInterface<{ - url: string; - }>; - }; - /** - * Lists all of your email addresses, and specifies which one is visible to the public. This endpoint is accessible with the `user:email` scope. - */ - listEmailsForAuthenticated: { - (params?: RestEndpointMethodTypes["users"]["listEmailsForAuthenticated"]["parameters"]): Promise; - defaults: RequestInterface["defaults"]; - endpoint: EndpointInterface<{ - url: string; - }>; - }; - /** - * Lists the people who the authenticated user follows. - */ - listFollowedByAuthenticated: { - (params?: RestEndpointMethodTypes["users"]["listFollowedByAuthenticated"]["parameters"]): Promise; - defaults: RequestInterface["defaults"]; - endpoint: EndpointInterface<{ - url: string; - }>; - }; - /** - * Lists the people following the authenticated user. - */ - listFollowersForAuthenticatedUser: { - (params?: RestEndpointMethodTypes["users"]["listFollowersForAuthenticatedUser"]["parameters"]): Promise; - defaults: RequestInterface["defaults"]; - endpoint: EndpointInterface<{ - url: string; - }>; - }; - /** - * Lists the people following the specified user. - */ - listFollowersForUser: { - (params?: RestEndpointMethodTypes["users"]["listFollowersForUser"]["parameters"]): Promise; - defaults: RequestInterface["defaults"]; - endpoint: EndpointInterface<{ - url: string; - }>; - }; - /** - * Lists the people who the specified user follows. - */ - listFollowingForUser: { - (params?: RestEndpointMethodTypes["users"]["listFollowingForUser"]["parameters"]): Promise; - defaults: RequestInterface["defaults"]; - endpoint: EndpointInterface<{ - url: string; - }>; - }; - /** - * Lists the current user's GPG keys. Requires that you are authenticated via Basic Auth or via OAuth with at least `read:gpg_key` [scope](https://docs.github.com/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/). - */ - listGpgKeysForAuthenticated: { - (params?: RestEndpointMethodTypes["users"]["listGpgKeysForAuthenticated"]["parameters"]): Promise; - defaults: RequestInterface["defaults"]; - endpoint: EndpointInterface<{ - url: string; - }>; - }; - /** - * Lists the GPG keys for a user. This information is accessible by anyone. - */ - listGpgKeysForUser: { - (params?: RestEndpointMethodTypes["users"]["listGpgKeysForUser"]["parameters"]): Promise; - defaults: RequestInterface["defaults"]; - endpoint: EndpointInterface<{ - url: string; - }>; - }; - /** - * Lists your publicly visible email address, which you can set with the [Set primary email visibility for the authenticated user](https://docs.github.com/rest/reference/users#set-primary-email-visibility-for-the-authenticated-user) endpoint. This endpoint is accessible with the `user:email` scope. - */ - listPublicEmailsForAuthenticated: { - (params?: RestEndpointMethodTypes["users"]["listPublicEmailsForAuthenticated"]["parameters"]): Promise; - defaults: RequestInterface["defaults"]; - endpoint: EndpointInterface<{ - url: string; - }>; - }; - /** - * Lists the _verified_ public SSH keys for a user. This is accessible by anyone. - */ - listPublicKeysForUser: { - (params?: RestEndpointMethodTypes["users"]["listPublicKeysForUser"]["parameters"]): Promise; - defaults: RequestInterface["defaults"]; - endpoint: EndpointInterface<{ - url: string; - }>; - }; - /** - * Lists the public SSH keys for the authenticated user's GitHub account. Requires that you are authenticated via Basic Auth or via OAuth with at least `read:public_key` [scope](https://docs.github.com/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/). - */ - listPublicSshKeysForAuthenticated: { - (params?: RestEndpointMethodTypes["users"]["listPublicSshKeysForAuthenticated"]["parameters"]): Promise; - defaults: RequestInterface["defaults"]; - endpoint: EndpointInterface<{ - url: string; - }>; - }; - /** - * Sets the visibility for your primary email addresses. - */ - setPrimaryEmailVisibilityForAuthenticated: { - (params?: RestEndpointMethodTypes["users"]["setPrimaryEmailVisibilityForAuthenticated"]["parameters"]): Promise; - defaults: RequestInterface["defaults"]; - endpoint: EndpointInterface<{ - url: string; - }>; - }; - unblock: { - (params?: RestEndpointMethodTypes["users"]["unblock"]["parameters"]): Promise; - defaults: RequestInterface["defaults"]; - endpoint: EndpointInterface<{ - url: string; - }>; - }; - /** - * Unfollowing a user requires the user to be logged in and authenticated with basic auth or OAuth with the `user:follow` scope. - */ - unfollow: { - (params?: RestEndpointMethodTypes["users"]["unfollow"]["parameters"]): Promise; - defaults: RequestInterface["defaults"]; - endpoint: EndpointInterface<{ - url: string; - }>; - }; - /** - * **Note:** If your email is set to private and you send an `email` parameter as part of this request to update your profile, your privacy settings are still enforced: the email address will not be displayed on your public profile or via the API. - */ - updateAuthenticated: { - (params?: RestEndpointMethodTypes["users"]["updateAuthenticated"]["parameters"]): Promise; - defaults: RequestInterface["defaults"]; - endpoint: EndpointInterface<{ - url: string; - }>; - }; - }; -}; diff --git a/node_modules/@octokit/plugin-rest-endpoint-methods/dist-types/generated/parameters-and-response-types.d.ts b/node_modules/@octokit/plugin-rest-endpoint-methods/dist-types/generated/parameters-and-response-types.d.ts deleted file mode 100644 index cf5bb11..0000000 --- a/node_modules/@octokit/plugin-rest-endpoint-methods/dist-types/generated/parameters-and-response-types.d.ts +++ /dev/null @@ -1,2689 +0,0 @@ -import { Endpoints, RequestParameters } from "@octokit/types"; -export declare type RestEndpointMethodTypes = { - actions: { - addSelectedRepoToOrgSecret: { - parameters: RequestParameters & Omit; - response: Endpoints["PUT /orgs/{org}/actions/secrets/{secret_name}/repositories/{repository_id}"]["response"]; - }; - approveWorkflowRun: { - parameters: RequestParameters & Omit; - response: Endpoints["POST /repos/{owner}/{repo}/actions/runs/{run_id}/approve"]["response"]; - }; - cancelWorkflowRun: { - parameters: RequestParameters & Omit; - response: Endpoints["POST /repos/{owner}/{repo}/actions/runs/{run_id}/cancel"]["response"]; - }; - createOrUpdateEnvironmentSecret: { - parameters: RequestParameters & Omit; - response: Endpoints["PUT /repositories/{repository_id}/environments/{environment_name}/secrets/{secret_name}"]["response"]; - }; - createOrUpdateOrgSecret: { - parameters: RequestParameters & Omit; - response: Endpoints["PUT /orgs/{org}/actions/secrets/{secret_name}"]["response"]; - }; - createOrUpdateRepoSecret: { - parameters: RequestParameters & Omit; - response: Endpoints["PUT /repos/{owner}/{repo}/actions/secrets/{secret_name}"]["response"]; - }; - createRegistrationTokenForOrg: { - parameters: RequestParameters & Omit; - response: Endpoints["POST /orgs/{org}/actions/runners/registration-token"]["response"]; - }; - createRegistrationTokenForRepo: { - parameters: RequestParameters & Omit; - response: Endpoints["POST /repos/{owner}/{repo}/actions/runners/registration-token"]["response"]; - }; - createRemoveTokenForOrg: { - parameters: RequestParameters & Omit; - response: Endpoints["POST /orgs/{org}/actions/runners/remove-token"]["response"]; - }; - createRemoveTokenForRepo: { - parameters: RequestParameters & Omit; - response: Endpoints["POST /repos/{owner}/{repo}/actions/runners/remove-token"]["response"]; - }; - createWorkflowDispatch: { - parameters: RequestParameters & Omit; - response: Endpoints["POST /repos/{owner}/{repo}/actions/workflows/{workflow_id}/dispatches"]["response"]; - }; - deleteArtifact: { - parameters: RequestParameters & Omit; - response: Endpoints["DELETE /repos/{owner}/{repo}/actions/artifacts/{artifact_id}"]["response"]; - }; - deleteEnvironmentSecret: { - parameters: RequestParameters & Omit; - response: Endpoints["DELETE /repositories/{repository_id}/environments/{environment_name}/secrets/{secret_name}"]["response"]; - }; - deleteOrgSecret: { - parameters: RequestParameters & Omit; - response: Endpoints["DELETE /orgs/{org}/actions/secrets/{secret_name}"]["response"]; - }; - deleteRepoSecret: { - parameters: RequestParameters & Omit; - response: Endpoints["DELETE /repos/{owner}/{repo}/actions/secrets/{secret_name}"]["response"]; - }; - deleteSelfHostedRunnerFromOrg: { - parameters: RequestParameters & Omit; - response: Endpoints["DELETE /orgs/{org}/actions/runners/{runner_id}"]["response"]; - }; - deleteSelfHostedRunnerFromRepo: { - parameters: RequestParameters & Omit; - response: Endpoints["DELETE /repos/{owner}/{repo}/actions/runners/{runner_id}"]["response"]; - }; - deleteWorkflowRun: { - parameters: RequestParameters & Omit; - response: Endpoints["DELETE /repos/{owner}/{repo}/actions/runs/{run_id}"]["response"]; - }; - deleteWorkflowRunLogs: { - parameters: RequestParameters & Omit; - response: Endpoints["DELETE /repos/{owner}/{repo}/actions/runs/{run_id}/logs"]["response"]; - }; - disableSelectedRepositoryGithubActionsOrganization: { - parameters: RequestParameters & Omit; - response: Endpoints["DELETE /orgs/{org}/actions/permissions/repositories/{repository_id}"]["response"]; - }; - disableWorkflow: { - parameters: RequestParameters & Omit; - response: Endpoints["PUT /repos/{owner}/{repo}/actions/workflows/{workflow_id}/disable"]["response"]; - }; - downloadArtifact: { - parameters: RequestParameters & Omit; - response: Endpoints["GET /repos/{owner}/{repo}/actions/artifacts/{artifact_id}/{archive_format}"]["response"]; - }; - downloadJobLogsForWorkflowRun: { - parameters: RequestParameters & Omit; - response: Endpoints["GET /repos/{owner}/{repo}/actions/jobs/{job_id}/logs"]["response"]; - }; - downloadWorkflowRunLogs: { - parameters: RequestParameters & Omit; - response: Endpoints["GET /repos/{owner}/{repo}/actions/runs/{run_id}/logs"]["response"]; - }; - enableSelectedRepositoryGithubActionsOrganization: { - parameters: RequestParameters & Omit; - response: Endpoints["PUT /orgs/{org}/actions/permissions/repositories/{repository_id}"]["response"]; - }; - enableWorkflow: { - parameters: RequestParameters & Omit; - response: Endpoints["PUT /repos/{owner}/{repo}/actions/workflows/{workflow_id}/enable"]["response"]; - }; - getAllowedActionsOrganization: { - parameters: RequestParameters & Omit; - response: Endpoints["GET /orgs/{org}/actions/permissions/selected-actions"]["response"]; - }; - getAllowedActionsRepository: { - parameters: RequestParameters & Omit; - response: Endpoints["GET /repos/{owner}/{repo}/actions/permissions/selected-actions"]["response"]; - }; - getArtifact: { - parameters: RequestParameters & Omit; - response: Endpoints["GET /repos/{owner}/{repo}/actions/artifacts/{artifact_id}"]["response"]; - }; - getEnvironmentPublicKey: { - parameters: RequestParameters & Omit; - response: Endpoints["GET /repositories/{repository_id}/environments/{environment_name}/secrets/public-key"]["response"]; - }; - getEnvironmentSecret: { - parameters: RequestParameters & Omit; - response: Endpoints["GET /repositories/{repository_id}/environments/{environment_name}/secrets/{secret_name}"]["response"]; - }; - getGithubActionsPermissionsOrganization: { - parameters: RequestParameters & Omit; - response: Endpoints["GET /orgs/{org}/actions/permissions"]["response"]; - }; - getGithubActionsPermissionsRepository: { - parameters: RequestParameters & Omit; - response: Endpoints["GET /repos/{owner}/{repo}/actions/permissions"]["response"]; - }; - getJobForWorkflowRun: { - parameters: RequestParameters & Omit; - response: Endpoints["GET /repos/{owner}/{repo}/actions/jobs/{job_id}"]["response"]; - }; - getOrgPublicKey: { - parameters: RequestParameters & Omit; - response: Endpoints["GET /orgs/{org}/actions/secrets/public-key"]["response"]; - }; - getOrgSecret: { - parameters: RequestParameters & Omit; - response: Endpoints["GET /orgs/{org}/actions/secrets/{secret_name}"]["response"]; - }; - getPendingDeploymentsForRun: { - parameters: RequestParameters & Omit; - response: Endpoints["GET /repos/{owner}/{repo}/actions/runs/{run_id}/pending_deployments"]["response"]; - }; - getRepoPermissions: { - parameters: RequestParameters & Omit; - response: Endpoints["GET /repos/{owner}/{repo}/actions/permissions"]["response"]; - }; - getRepoPublicKey: { - parameters: RequestParameters & Omit; - response: Endpoints["GET /repos/{owner}/{repo}/actions/secrets/public-key"]["response"]; - }; - getRepoSecret: { - parameters: RequestParameters & Omit; - response: Endpoints["GET /repos/{owner}/{repo}/actions/secrets/{secret_name}"]["response"]; - }; - getReviewsForRun: { - parameters: RequestParameters & Omit; - response: Endpoints["GET /repos/{owner}/{repo}/actions/runs/{run_id}/approvals"]["response"]; - }; - getSelfHostedRunnerForOrg: { - parameters: RequestParameters & Omit; - response: Endpoints["GET /orgs/{org}/actions/runners/{runner_id}"]["response"]; - }; - getSelfHostedRunnerForRepo: { - parameters: RequestParameters & Omit; - response: Endpoints["GET /repos/{owner}/{repo}/actions/runners/{runner_id}"]["response"]; - }; - getWorkflow: { - parameters: RequestParameters & Omit; - response: Endpoints["GET /repos/{owner}/{repo}/actions/workflows/{workflow_id}"]["response"]; - }; - getWorkflowRun: { - parameters: RequestParameters & Omit; - response: Endpoints["GET /repos/{owner}/{repo}/actions/runs/{run_id}"]["response"]; - }; - getWorkflowRunUsage: { - parameters: RequestParameters & Omit; - response: Endpoints["GET /repos/{owner}/{repo}/actions/runs/{run_id}/timing"]["response"]; - }; - getWorkflowUsage: { - parameters: RequestParameters & Omit; - response: Endpoints["GET /repos/{owner}/{repo}/actions/workflows/{workflow_id}/timing"]["response"]; - }; - listArtifactsForRepo: { - parameters: RequestParameters & Omit; - response: Endpoints["GET /repos/{owner}/{repo}/actions/artifacts"]["response"]; - }; - listEnvironmentSecrets: { - parameters: RequestParameters & Omit; - response: Endpoints["GET /repositories/{repository_id}/environments/{environment_name}/secrets"]["response"]; - }; - listJobsForWorkflowRun: { - parameters: RequestParameters & Omit; - response: Endpoints["GET /repos/{owner}/{repo}/actions/runs/{run_id}/jobs"]["response"]; - }; - listOrgSecrets: { - parameters: RequestParameters & Omit; - response: Endpoints["GET /orgs/{org}/actions/secrets"]["response"]; - }; - listRepoSecrets: { - parameters: RequestParameters & Omit; - response: Endpoints["GET /repos/{owner}/{repo}/actions/secrets"]["response"]; - }; - listRepoWorkflows: { - parameters: RequestParameters & Omit; - response: Endpoints["GET /repos/{owner}/{repo}/actions/workflows"]["response"]; - }; - listRunnerApplicationsForOrg: { - parameters: RequestParameters & Omit; - response: Endpoints["GET /orgs/{org}/actions/runners/downloads"]["response"]; - }; - listRunnerApplicationsForRepo: { - parameters: RequestParameters & Omit; - response: Endpoints["GET /repos/{owner}/{repo}/actions/runners/downloads"]["response"]; - }; - listSelectedReposForOrgSecret: { - parameters: RequestParameters & Omit; - response: Endpoints["GET /orgs/{org}/actions/secrets/{secret_name}/repositories"]["response"]; - }; - listSelectedRepositoriesEnabledGithubActionsOrganization: { - parameters: RequestParameters & Omit; - response: Endpoints["GET /orgs/{org}/actions/permissions/repositories"]["response"]; - }; - listSelfHostedRunnersForOrg: { - parameters: RequestParameters & Omit; - response: Endpoints["GET /orgs/{org}/actions/runners"]["response"]; - }; - listSelfHostedRunnersForRepo: { - parameters: RequestParameters & Omit; - response: Endpoints["GET /repos/{owner}/{repo}/actions/runners"]["response"]; - }; - listWorkflowRunArtifacts: { - parameters: RequestParameters & Omit; - response: Endpoints["GET /repos/{owner}/{repo}/actions/runs/{run_id}/artifacts"]["response"]; - }; - listWorkflowRuns: { - parameters: RequestParameters & Omit; - response: Endpoints["GET /repos/{owner}/{repo}/actions/workflows/{workflow_id}/runs"]["response"]; - }; - listWorkflowRunsForRepo: { - parameters: RequestParameters & Omit; - response: Endpoints["GET /repos/{owner}/{repo}/actions/runs"]["response"]; - }; - reRunWorkflow: { - parameters: RequestParameters & Omit; - response: Endpoints["POST /repos/{owner}/{repo}/actions/runs/{run_id}/rerun"]["response"]; - }; - removeSelectedRepoFromOrgSecret: { - parameters: RequestParameters & Omit; - response: Endpoints["DELETE /orgs/{org}/actions/secrets/{secret_name}/repositories/{repository_id}"]["response"]; - }; - reviewPendingDeploymentsForRun: { - parameters: RequestParameters & Omit; - response: Endpoints["POST /repos/{owner}/{repo}/actions/runs/{run_id}/pending_deployments"]["response"]; - }; - setAllowedActionsOrganization: { - parameters: RequestParameters & Omit; - response: Endpoints["PUT /orgs/{org}/actions/permissions/selected-actions"]["response"]; - }; - setAllowedActionsRepository: { - parameters: RequestParameters & Omit; - response: Endpoints["PUT /repos/{owner}/{repo}/actions/permissions/selected-actions"]["response"]; - }; - setGithubActionsPermissionsOrganization: { - parameters: RequestParameters & Omit; - response: Endpoints["PUT /orgs/{org}/actions/permissions"]["response"]; - }; - setGithubActionsPermissionsRepository: { - parameters: RequestParameters & Omit; - response: Endpoints["PUT /repos/{owner}/{repo}/actions/permissions"]["response"]; - }; - setSelectedReposForOrgSecret: { - parameters: RequestParameters & Omit; - response: Endpoints["PUT /orgs/{org}/actions/secrets/{secret_name}/repositories"]["response"]; - }; - setSelectedRepositoriesEnabledGithubActionsOrganization: { - parameters: RequestParameters & Omit; - response: Endpoints["PUT /orgs/{org}/actions/permissions/repositories"]["response"]; - }; - }; - activity: { - checkRepoIsStarredByAuthenticatedUser: { - parameters: RequestParameters & Omit; - response: Endpoints["GET /user/starred/{owner}/{repo}"]["response"]; - }; - deleteRepoSubscription: { - parameters: RequestParameters & Omit; - response: Endpoints["DELETE /repos/{owner}/{repo}/subscription"]["response"]; - }; - deleteThreadSubscription: { - parameters: RequestParameters & Omit; - response: Endpoints["DELETE /notifications/threads/{thread_id}/subscription"]["response"]; - }; - getFeeds: { - parameters: RequestParameters & Omit; - response: Endpoints["GET /feeds"]["response"]; - }; - getRepoSubscription: { - parameters: RequestParameters & Omit; - response: Endpoints["GET /repos/{owner}/{repo}/subscription"]["response"]; - }; - getThread: { - parameters: RequestParameters & Omit; - response: Endpoints["GET /notifications/threads/{thread_id}"]["response"]; - }; - getThreadSubscriptionForAuthenticatedUser: { - parameters: RequestParameters & Omit; - response: Endpoints["GET /notifications/threads/{thread_id}/subscription"]["response"]; - }; - listEventsForAuthenticatedUser: { - parameters: RequestParameters & Omit; - response: Endpoints["GET /users/{username}/events"]["response"]; - }; - listNotificationsForAuthenticatedUser: { - parameters: RequestParameters & Omit; - response: Endpoints["GET /notifications"]["response"]; - }; - listOrgEventsForAuthenticatedUser: { - parameters: RequestParameters & Omit; - response: Endpoints["GET /users/{username}/events/orgs/{org}"]["response"]; - }; - listPublicEvents: { - parameters: RequestParameters & Omit; - response: Endpoints["GET /events"]["response"]; - }; - listPublicEventsForRepoNetwork: { - parameters: RequestParameters & Omit; - response: Endpoints["GET /networks/{owner}/{repo}/events"]["response"]; - }; - listPublicEventsForUser: { - parameters: RequestParameters & Omit; - response: Endpoints["GET /users/{username}/events/public"]["response"]; - }; - listPublicOrgEvents: { - parameters: RequestParameters & Omit; - response: Endpoints["GET /orgs/{org}/events"]["response"]; - }; - listReceivedEventsForUser: { - parameters: RequestParameters & Omit; - response: Endpoints["GET /users/{username}/received_events"]["response"]; - }; - listReceivedPublicEventsForUser: { - parameters: RequestParameters & Omit; - response: Endpoints["GET /users/{username}/received_events/public"]["response"]; - }; - listRepoEvents: { - parameters: RequestParameters & Omit; - response: Endpoints["GET /repos/{owner}/{repo}/events"]["response"]; - }; - listRepoNotificationsForAuthenticatedUser: { - parameters: RequestParameters & Omit; - response: Endpoints["GET /repos/{owner}/{repo}/notifications"]["response"]; - }; - listReposStarredByAuthenticatedUser: { - parameters: RequestParameters & Omit; - response: Endpoints["GET /user/starred"]["response"]; - }; - listReposStarredByUser: { - parameters: RequestParameters & Omit; - response: Endpoints["GET /users/{username}/starred"]["response"]; - }; - listReposWatchedByUser: { - parameters: RequestParameters & Omit; - response: Endpoints["GET /users/{username}/subscriptions"]["response"]; - }; - listStargazersForRepo: { - parameters: RequestParameters & Omit; - response: Endpoints["GET /repos/{owner}/{repo}/stargazers"]["response"]; - }; - listWatchedReposForAuthenticatedUser: { - parameters: RequestParameters & Omit; - response: Endpoints["GET /user/subscriptions"]["response"]; - }; - listWatchersForRepo: { - parameters: RequestParameters & Omit; - response: Endpoints["GET /repos/{owner}/{repo}/subscribers"]["response"]; - }; - markNotificationsAsRead: { - parameters: RequestParameters & Omit; - response: Endpoints["PUT /notifications"]["response"]; - }; - markRepoNotificationsAsRead: { - parameters: RequestParameters & Omit; - response: Endpoints["PUT /repos/{owner}/{repo}/notifications"]["response"]; - }; - markThreadAsRead: { - parameters: RequestParameters & Omit; - response: Endpoints["PATCH /notifications/threads/{thread_id}"]["response"]; - }; - setRepoSubscription: { - parameters: RequestParameters & Omit; - response: Endpoints["PUT /repos/{owner}/{repo}/subscription"]["response"]; - }; - setThreadSubscription: { - parameters: RequestParameters & Omit; - response: Endpoints["PUT /notifications/threads/{thread_id}/subscription"]["response"]; - }; - starRepoForAuthenticatedUser: { - parameters: RequestParameters & Omit; - response: Endpoints["PUT /user/starred/{owner}/{repo}"]["response"]; - }; - unstarRepoForAuthenticatedUser: { - parameters: RequestParameters & Omit; - response: Endpoints["DELETE /user/starred/{owner}/{repo}"]["response"]; - }; - }; - apps: { - addRepoToInstallation: { - parameters: RequestParameters & Omit; - response: Endpoints["PUT /user/installations/{installation_id}/repositories/{repository_id}"]["response"]; - }; - checkToken: { - parameters: RequestParameters & Omit; - response: Endpoints["POST /applications/{client_id}/token"]["response"]; - }; - createContentAttachment: { - parameters: RequestParameters & Omit; - response: Endpoints["POST /content_references/{content_reference_id}/attachments"]["response"]; - }; - createContentAttachmentForRepo: { - parameters: RequestParameters & Omit; - response: Endpoints["POST /repos/{owner}/{repo}/content_references/{content_reference_id}/attachments"]["response"]; - }; - createFromManifest: { - parameters: RequestParameters & Omit; - response: Endpoints["POST /app-manifests/{code}/conversions"]["response"]; - }; - createInstallationAccessToken: { - parameters: RequestParameters & Omit; - response: Endpoints["POST /app/installations/{installation_id}/access_tokens"]["response"]; - }; - deleteAuthorization: { - parameters: RequestParameters & Omit; - response: Endpoints["DELETE /applications/{client_id}/grant"]["response"]; - }; - deleteInstallation: { - parameters: RequestParameters & Omit; - response: Endpoints["DELETE /app/installations/{installation_id}"]["response"]; - }; - deleteToken: { - parameters: RequestParameters & Omit; - response: Endpoints["DELETE /applications/{client_id}/token"]["response"]; - }; - getAuthenticated: { - parameters: RequestParameters & Omit; - response: Endpoints["GET /app"]["response"]; - }; - getBySlug: { - parameters: RequestParameters & Omit; - response: Endpoints["GET /apps/{app_slug}"]["response"]; - }; - getInstallation: { - parameters: RequestParameters & Omit; - response: Endpoints["GET /app/installations/{installation_id}"]["response"]; - }; - getOrgInstallation: { - parameters: RequestParameters & Omit; - response: Endpoints["GET /orgs/{org}/installation"]["response"]; - }; - getRepoInstallation: { - parameters: RequestParameters & Omit; - response: Endpoints["GET /repos/{owner}/{repo}/installation"]["response"]; - }; - getSubscriptionPlanForAccount: { - parameters: RequestParameters & Omit; - response: Endpoints["GET /marketplace_listing/accounts/{account_id}"]["response"]; - }; - getSubscriptionPlanForAccountStubbed: { - parameters: RequestParameters & Omit; - response: Endpoints["GET /marketplace_listing/stubbed/accounts/{account_id}"]["response"]; - }; - getUserInstallation: { - parameters: RequestParameters & Omit; - response: Endpoints["GET /users/{username}/installation"]["response"]; - }; - getWebhookConfigForApp: { - parameters: RequestParameters & Omit; - response: Endpoints["GET /app/hook/config"]["response"]; - }; - getWebhookDelivery: { - parameters: RequestParameters & Omit; - response: Endpoints["GET /app/hook/deliveries/{delivery_id}"]["response"]; - }; - listAccountsForPlan: { - parameters: RequestParameters & Omit; - response: Endpoints["GET /marketplace_listing/plans/{plan_id}/accounts"]["response"]; - }; - listAccountsForPlanStubbed: { - parameters: RequestParameters & Omit; - response: Endpoints["GET /marketplace_listing/stubbed/plans/{plan_id}/accounts"]["response"]; - }; - listInstallationReposForAuthenticatedUser: { - parameters: RequestParameters & Omit; - response: Endpoints["GET /user/installations/{installation_id}/repositories"]["response"]; - }; - listInstallations: { - parameters: RequestParameters & Omit; - response: Endpoints["GET /app/installations"]["response"]; - }; - listInstallationsForAuthenticatedUser: { - parameters: RequestParameters & Omit; - response: Endpoints["GET /user/installations"]["response"]; - }; - listPlans: { - parameters: RequestParameters & Omit; - response: Endpoints["GET /marketplace_listing/plans"]["response"]; - }; - listPlansStubbed: { - parameters: RequestParameters & Omit; - response: Endpoints["GET /marketplace_listing/stubbed/plans"]["response"]; - }; - listReposAccessibleToInstallation: { - parameters: RequestParameters & Omit; - response: Endpoints["GET /installation/repositories"]["response"]; - }; - listSubscriptionsForAuthenticatedUser: { - parameters: RequestParameters & Omit; - response: Endpoints["GET /user/marketplace_purchases"]["response"]; - }; - listSubscriptionsForAuthenticatedUserStubbed: { - parameters: RequestParameters & Omit; - response: Endpoints["GET /user/marketplace_purchases/stubbed"]["response"]; - }; - listWebhookDeliveries: { - parameters: RequestParameters & Omit; - response: Endpoints["GET /app/hook/deliveries"]["response"]; - }; - redeliverWebhookDelivery: { - parameters: RequestParameters & Omit; - response: Endpoints["POST /app/hook/deliveries/{delivery_id}/attempts"]["response"]; - }; - removeRepoFromInstallation: { - parameters: RequestParameters & Omit; - response: Endpoints["DELETE /user/installations/{installation_id}/repositories/{repository_id}"]["response"]; - }; - resetToken: { - parameters: RequestParameters & Omit; - response: Endpoints["PATCH /applications/{client_id}/token"]["response"]; - }; - revokeInstallationAccessToken: { - parameters: RequestParameters & Omit; - response: Endpoints["DELETE /installation/token"]["response"]; - }; - scopeToken: { - parameters: RequestParameters & Omit; - response: Endpoints["POST /applications/{client_id}/token/scoped"]["response"]; - }; - suspendInstallation: { - parameters: RequestParameters & Omit; - response: Endpoints["PUT /app/installations/{installation_id}/suspended"]["response"]; - }; - unsuspendInstallation: { - parameters: RequestParameters & Omit; - response: Endpoints["DELETE /app/installations/{installation_id}/suspended"]["response"]; - }; - updateWebhookConfigForApp: { - parameters: RequestParameters & Omit; - response: Endpoints["PATCH /app/hook/config"]["response"]; - }; - }; - billing: { - getGithubActionsBillingOrg: { - parameters: RequestParameters & Omit; - response: Endpoints["GET /orgs/{org}/settings/billing/actions"]["response"]; - }; - getGithubActionsBillingUser: { - parameters: RequestParameters & Omit; - response: Endpoints["GET /users/{username}/settings/billing/actions"]["response"]; - }; - getGithubPackagesBillingOrg: { - parameters: RequestParameters & Omit; - response: Endpoints["GET /orgs/{org}/settings/billing/packages"]["response"]; - }; - getGithubPackagesBillingUser: { - parameters: RequestParameters & Omit; - response: Endpoints["GET /users/{username}/settings/billing/packages"]["response"]; - }; - getSharedStorageBillingOrg: { - parameters: RequestParameters & Omit; - response: Endpoints["GET /orgs/{org}/settings/billing/shared-storage"]["response"]; - }; - getSharedStorageBillingUser: { - parameters: RequestParameters & Omit; - response: Endpoints["GET /users/{username}/settings/billing/shared-storage"]["response"]; - }; - }; - checks: { - create: { - parameters: RequestParameters & Omit; - response: Endpoints["POST /repos/{owner}/{repo}/check-runs"]["response"]; - }; - createSuite: { - parameters: RequestParameters & Omit; - response: Endpoints["POST /repos/{owner}/{repo}/check-suites"]["response"]; - }; - get: { - parameters: RequestParameters & Omit; - response: Endpoints["GET /repos/{owner}/{repo}/check-runs/{check_run_id}"]["response"]; - }; - getSuite: { - parameters: RequestParameters & Omit; - response: Endpoints["GET /repos/{owner}/{repo}/check-suites/{check_suite_id}"]["response"]; - }; - listAnnotations: { - parameters: RequestParameters & Omit; - response: Endpoints["GET /repos/{owner}/{repo}/check-runs/{check_run_id}/annotations"]["response"]; - }; - listForRef: { - parameters: RequestParameters & Omit; - response: Endpoints["GET /repos/{owner}/{repo}/commits/{ref}/check-runs"]["response"]; - }; - listForSuite: { - parameters: RequestParameters & Omit; - response: Endpoints["GET /repos/{owner}/{repo}/check-suites/{check_suite_id}/check-runs"]["response"]; - }; - listSuitesForRef: { - parameters: RequestParameters & Omit; - response: Endpoints["GET /repos/{owner}/{repo}/commits/{ref}/check-suites"]["response"]; - }; - rerequestSuite: { - parameters: RequestParameters & Omit; - response: Endpoints["POST /repos/{owner}/{repo}/check-suites/{check_suite_id}/rerequest"]["response"]; - }; - setSuitesPreferences: { - parameters: RequestParameters & Omit; - response: Endpoints["PATCH /repos/{owner}/{repo}/check-suites/preferences"]["response"]; - }; - update: { - parameters: RequestParameters & Omit; - response: Endpoints["PATCH /repos/{owner}/{repo}/check-runs/{check_run_id}"]["response"]; - }; - }; - codeScanning: { - deleteAnalysis: { - parameters: RequestParameters & Omit; - response: Endpoints["DELETE /repos/{owner}/{repo}/code-scanning/analyses/{analysis_id}{?confirm_delete}"]["response"]; - }; - getAlert: { - parameters: RequestParameters & Omit; - response: Endpoints["GET /repos/{owner}/{repo}/code-scanning/alerts/{alert_number}"]["response"]; - }; - getAnalysis: { - parameters: RequestParameters & Omit; - response: Endpoints["GET /repos/{owner}/{repo}/code-scanning/analyses/{analysis_id}"]["response"]; - }; - getSarif: { - parameters: RequestParameters & Omit; - response: Endpoints["GET /repos/{owner}/{repo}/code-scanning/sarifs/{sarif_id}"]["response"]; - }; - listAlertInstances: { - parameters: RequestParameters & Omit; - response: Endpoints["GET /repos/{owner}/{repo}/code-scanning/alerts/{alert_number}/instances"]["response"]; - }; - listAlertsForRepo: { - parameters: RequestParameters & Omit; - response: Endpoints["GET /repos/{owner}/{repo}/code-scanning/alerts"]["response"]; - }; - listAlertsInstances: { - parameters: RequestParameters & Omit; - response: Endpoints["GET /repos/{owner}/{repo}/code-scanning/alerts/{alert_number}/instances"]["response"]; - }; - listRecentAnalyses: { - parameters: RequestParameters & Omit; - response: Endpoints["GET /repos/{owner}/{repo}/code-scanning/analyses"]["response"]; - }; - updateAlert: { - parameters: RequestParameters & Omit; - response: Endpoints["PATCH /repos/{owner}/{repo}/code-scanning/alerts/{alert_number}"]["response"]; - }; - uploadSarif: { - parameters: RequestParameters & Omit; - response: Endpoints["POST /repos/{owner}/{repo}/code-scanning/sarifs"]["response"]; - }; - }; - codesOfConduct: { - getAllCodesOfConduct: { - parameters: RequestParameters & Omit; - response: Endpoints["GET /codes_of_conduct"]["response"]; - }; - getConductCode: { - parameters: RequestParameters & Omit; - response: Endpoints["GET /codes_of_conduct/{key}"]["response"]; - }; - getForRepo: { - parameters: RequestParameters & Omit; - response: Endpoints["GET /repos/{owner}/{repo}/community/code_of_conduct"]["response"]; - }; - }; - emojis: { - get: { - parameters: RequestParameters & Omit; - response: Endpoints["GET /emojis"]["response"]; - }; - }; - enterpriseAdmin: { - disableSelectedOrganizationGithubActionsEnterprise: { - parameters: RequestParameters & Omit; - response: Endpoints["DELETE /enterprises/{enterprise}/actions/permissions/organizations/{org_id}"]["response"]; - }; - enableSelectedOrganizationGithubActionsEnterprise: { - parameters: RequestParameters & Omit; - response: Endpoints["PUT /enterprises/{enterprise}/actions/permissions/organizations/{org_id}"]["response"]; - }; - getAllowedActionsEnterprise: { - parameters: RequestParameters & Omit; - response: Endpoints["GET /enterprises/{enterprise}/actions/permissions/selected-actions"]["response"]; - }; - getGithubActionsPermissionsEnterprise: { - parameters: RequestParameters & Omit; - response: Endpoints["GET /enterprises/{enterprise}/actions/permissions"]["response"]; - }; - listSelectedOrganizationsEnabledGithubActionsEnterprise: { - parameters: RequestParameters & Omit; - response: Endpoints["GET /enterprises/{enterprise}/actions/permissions/organizations"]["response"]; - }; - setAllowedActionsEnterprise: { - parameters: RequestParameters & Omit; - response: Endpoints["PUT /enterprises/{enterprise}/actions/permissions/selected-actions"]["response"]; - }; - setGithubActionsPermissionsEnterprise: { - parameters: RequestParameters & Omit; - response: Endpoints["PUT /enterprises/{enterprise}/actions/permissions"]["response"]; - }; - setSelectedOrganizationsEnabledGithubActionsEnterprise: { - parameters: RequestParameters & Omit; - response: Endpoints["PUT /enterprises/{enterprise}/actions/permissions/organizations"]["response"]; - }; - }; - gists: { - checkIsStarred: { - parameters: RequestParameters & Omit; - response: Endpoints["GET /gists/{gist_id}/star"]["response"]; - }; - create: { - parameters: RequestParameters & Omit; - response: Endpoints["POST /gists"]["response"]; - }; - createComment: { - parameters: RequestParameters & Omit; - response: Endpoints["POST /gists/{gist_id}/comments"]["response"]; - }; - delete: { - parameters: RequestParameters & Omit; - response: Endpoints["DELETE /gists/{gist_id}"]["response"]; - }; - deleteComment: { - parameters: RequestParameters & Omit; - response: Endpoints["DELETE /gists/{gist_id}/comments/{comment_id}"]["response"]; - }; - fork: { - parameters: RequestParameters & Omit; - response: Endpoints["POST /gists/{gist_id}/forks"]["response"]; - }; - get: { - parameters: RequestParameters & Omit; - response: Endpoints["GET /gists/{gist_id}"]["response"]; - }; - getComment: { - parameters: RequestParameters & Omit; - response: Endpoints["GET /gists/{gist_id}/comments/{comment_id}"]["response"]; - }; - getRevision: { - parameters: RequestParameters & Omit; - response: Endpoints["GET /gists/{gist_id}/{sha}"]["response"]; - }; - list: { - parameters: RequestParameters & Omit; - response: Endpoints["GET /gists"]["response"]; - }; - listComments: { - parameters: RequestParameters & Omit; - response: Endpoints["GET /gists/{gist_id}/comments"]["response"]; - }; - listCommits: { - parameters: RequestParameters & Omit; - response: Endpoints["GET /gists/{gist_id}/commits"]["response"]; - }; - listForUser: { - parameters: RequestParameters & Omit; - response: Endpoints["GET /users/{username}/gists"]["response"]; - }; - listForks: { - parameters: RequestParameters & Omit; - response: Endpoints["GET /gists/{gist_id}/forks"]["response"]; - }; - listPublic: { - parameters: RequestParameters & Omit; - response: Endpoints["GET /gists/public"]["response"]; - }; - listStarred: { - parameters: RequestParameters & Omit; - response: Endpoints["GET /gists/starred"]["response"]; - }; - star: { - parameters: RequestParameters & Omit; - response: Endpoints["PUT /gists/{gist_id}/star"]["response"]; - }; - unstar: { - parameters: RequestParameters & Omit; - response: Endpoints["DELETE /gists/{gist_id}/star"]["response"]; - }; - update: { - parameters: RequestParameters & Omit; - response: Endpoints["PATCH /gists/{gist_id}"]["response"]; - }; - updateComment: { - parameters: RequestParameters & Omit; - response: Endpoints["PATCH /gists/{gist_id}/comments/{comment_id}"]["response"]; - }; - }; - git: { - createBlob: { - parameters: RequestParameters & Omit; - response: Endpoints["POST /repos/{owner}/{repo}/git/blobs"]["response"]; - }; - createCommit: { - parameters: RequestParameters & Omit; - response: Endpoints["POST /repos/{owner}/{repo}/git/commits"]["response"]; - }; - createRef: { - parameters: RequestParameters & Omit; - response: Endpoints["POST /repos/{owner}/{repo}/git/refs"]["response"]; - }; - createTag: { - parameters: RequestParameters & Omit; - response: Endpoints["POST /repos/{owner}/{repo}/git/tags"]["response"]; - }; - createTree: { - parameters: RequestParameters & Omit; - response: Endpoints["POST /repos/{owner}/{repo}/git/trees"]["response"]; - }; - deleteRef: { - parameters: RequestParameters & Omit; - response: Endpoints["DELETE /repos/{owner}/{repo}/git/refs/{ref}"]["response"]; - }; - getBlob: { - parameters: RequestParameters & Omit; - response: Endpoints["GET /repos/{owner}/{repo}/git/blobs/{file_sha}"]["response"]; - }; - getCommit: { - parameters: RequestParameters & Omit; - response: Endpoints["GET /repos/{owner}/{repo}/git/commits/{commit_sha}"]["response"]; - }; - getRef: { - parameters: RequestParameters & Omit; - response: Endpoints["GET /repos/{owner}/{repo}/git/ref/{ref}"]["response"]; - }; - getTag: { - parameters: RequestParameters & Omit; - response: Endpoints["GET /repos/{owner}/{repo}/git/tags/{tag_sha}"]["response"]; - }; - getTree: { - parameters: RequestParameters & Omit; - response: Endpoints["GET /repos/{owner}/{repo}/git/trees/{tree_sha}"]["response"]; - }; - listMatchingRefs: { - parameters: RequestParameters & Omit; - response: Endpoints["GET /repos/{owner}/{repo}/git/matching-refs/{ref}"]["response"]; - }; - updateRef: { - parameters: RequestParameters & Omit; - response: Endpoints["PATCH /repos/{owner}/{repo}/git/refs/{ref}"]["response"]; - }; - }; - gitignore: { - getAllTemplates: { - parameters: RequestParameters & Omit; - response: Endpoints["GET /gitignore/templates"]["response"]; - }; - getTemplate: { - parameters: RequestParameters & Omit; - response: Endpoints["GET /gitignore/templates/{name}"]["response"]; - }; - }; - interactions: { - getRestrictionsForAuthenticatedUser: { - parameters: RequestParameters & Omit; - response: Endpoints["GET /user/interaction-limits"]["response"]; - }; - getRestrictionsForOrg: { - parameters: RequestParameters & Omit; - response: Endpoints["GET /orgs/{org}/interaction-limits"]["response"]; - }; - getRestrictionsForRepo: { - parameters: RequestParameters & Omit; - response: Endpoints["GET /repos/{owner}/{repo}/interaction-limits"]["response"]; - }; - getRestrictionsForYourPublicRepos: { - parameters: RequestParameters & Omit; - response: Endpoints["GET /user/interaction-limits"]["response"]; - }; - removeRestrictionsForAuthenticatedUser: { - parameters: RequestParameters & Omit; - response: Endpoints["DELETE /user/interaction-limits"]["response"]; - }; - removeRestrictionsForOrg: { - parameters: RequestParameters & Omit; - response: Endpoints["DELETE /orgs/{org}/interaction-limits"]["response"]; - }; - removeRestrictionsForRepo: { - parameters: RequestParameters & Omit; - response: Endpoints["DELETE /repos/{owner}/{repo}/interaction-limits"]["response"]; - }; - removeRestrictionsForYourPublicRepos: { - parameters: RequestParameters & Omit; - response: Endpoints["DELETE /user/interaction-limits"]["response"]; - }; - setRestrictionsForAuthenticatedUser: { - parameters: RequestParameters & Omit; - response: Endpoints["PUT /user/interaction-limits"]["response"]; - }; - setRestrictionsForOrg: { - parameters: RequestParameters & Omit; - response: Endpoints["PUT /orgs/{org}/interaction-limits"]["response"]; - }; - setRestrictionsForRepo: { - parameters: RequestParameters & Omit; - response: Endpoints["PUT /repos/{owner}/{repo}/interaction-limits"]["response"]; - }; - setRestrictionsForYourPublicRepos: { - parameters: RequestParameters & Omit; - response: Endpoints["PUT /user/interaction-limits"]["response"]; - }; - }; - issues: { - addAssignees: { - parameters: RequestParameters & Omit; - response: Endpoints["POST /repos/{owner}/{repo}/issues/{issue_number}/assignees"]["response"]; - }; - addLabels: { - parameters: RequestParameters & Omit; - response: Endpoints["POST /repos/{owner}/{repo}/issues/{issue_number}/labels"]["response"]; - }; - checkUserCanBeAssigned: { - parameters: RequestParameters & Omit; - response: Endpoints["GET /repos/{owner}/{repo}/assignees/{assignee}"]["response"]; - }; - create: { - parameters: RequestParameters & Omit; - response: Endpoints["POST /repos/{owner}/{repo}/issues"]["response"]; - }; - createComment: { - parameters: RequestParameters & Omit; - response: Endpoints["POST /repos/{owner}/{repo}/issues/{issue_number}/comments"]["response"]; - }; - createLabel: { - parameters: RequestParameters & Omit; - response: Endpoints["POST /repos/{owner}/{repo}/labels"]["response"]; - }; - createMilestone: { - parameters: RequestParameters & Omit; - response: Endpoints["POST /repos/{owner}/{repo}/milestones"]["response"]; - }; - deleteComment: { - parameters: RequestParameters & Omit; - response: Endpoints["DELETE /repos/{owner}/{repo}/issues/comments/{comment_id}"]["response"]; - }; - deleteLabel: { - parameters: RequestParameters & Omit; - response: Endpoints["DELETE /repos/{owner}/{repo}/labels/{name}"]["response"]; - }; - deleteMilestone: { - parameters: RequestParameters & Omit; - response: Endpoints["DELETE /repos/{owner}/{repo}/milestones/{milestone_number}"]["response"]; - }; - get: { - parameters: RequestParameters & Omit; - response: Endpoints["GET /repos/{owner}/{repo}/issues/{issue_number}"]["response"]; - }; - getComment: { - parameters: RequestParameters & Omit; - response: Endpoints["GET /repos/{owner}/{repo}/issues/comments/{comment_id}"]["response"]; - }; - getEvent: { - parameters: RequestParameters & Omit; - response: Endpoints["GET /repos/{owner}/{repo}/issues/events/{event_id}"]["response"]; - }; - getLabel: { - parameters: RequestParameters & Omit; - response: Endpoints["GET /repos/{owner}/{repo}/labels/{name}"]["response"]; - }; - getMilestone: { - parameters: RequestParameters & Omit; - response: Endpoints["GET /repos/{owner}/{repo}/milestones/{milestone_number}"]["response"]; - }; - list: { - parameters: RequestParameters & Omit; - response: Endpoints["GET /issues"]["response"]; - }; - listAssignees: { - parameters: RequestParameters & Omit; - response: Endpoints["GET /repos/{owner}/{repo}/assignees"]["response"]; - }; - listComments: { - parameters: RequestParameters & Omit; - response: Endpoints["GET /repos/{owner}/{repo}/issues/{issue_number}/comments"]["response"]; - }; - listCommentsForRepo: { - parameters: RequestParameters & Omit; - response: Endpoints["GET /repos/{owner}/{repo}/issues/comments"]["response"]; - }; - listEvents: { - parameters: RequestParameters & Omit; - response: Endpoints["GET /repos/{owner}/{repo}/issues/{issue_number}/events"]["response"]; - }; - listEventsForRepo: { - parameters: RequestParameters & Omit; - response: Endpoints["GET /repos/{owner}/{repo}/issues/events"]["response"]; - }; - listEventsForTimeline: { - parameters: RequestParameters & Omit; - response: Endpoints["GET /repos/{owner}/{repo}/issues/{issue_number}/timeline"]["response"]; - }; - listForAuthenticatedUser: { - parameters: RequestParameters & Omit; - response: Endpoints["GET /user/issues"]["response"]; - }; - listForOrg: { - parameters: RequestParameters & Omit; - response: Endpoints["GET /orgs/{org}/issues"]["response"]; - }; - listForRepo: { - parameters: RequestParameters & Omit; - response: Endpoints["GET /repos/{owner}/{repo}/issues"]["response"]; - }; - listLabelsForMilestone: { - parameters: RequestParameters & Omit; - response: Endpoints["GET /repos/{owner}/{repo}/milestones/{milestone_number}/labels"]["response"]; - }; - listLabelsForRepo: { - parameters: RequestParameters & Omit; - response: Endpoints["GET /repos/{owner}/{repo}/labels"]["response"]; - }; - listLabelsOnIssue: { - parameters: RequestParameters & Omit; - response: Endpoints["GET /repos/{owner}/{repo}/issues/{issue_number}/labels"]["response"]; - }; - listMilestones: { - parameters: RequestParameters & Omit; - response: Endpoints["GET /repos/{owner}/{repo}/milestones"]["response"]; - }; - lock: { - parameters: RequestParameters & Omit; - response: Endpoints["PUT /repos/{owner}/{repo}/issues/{issue_number}/lock"]["response"]; - }; - removeAllLabels: { - parameters: RequestParameters & Omit; - response: Endpoints["DELETE /repos/{owner}/{repo}/issues/{issue_number}/labels"]["response"]; - }; - removeAssignees: { - parameters: RequestParameters & Omit; - response: Endpoints["DELETE /repos/{owner}/{repo}/issues/{issue_number}/assignees"]["response"]; - }; - removeLabel: { - parameters: RequestParameters & Omit; - response: Endpoints["DELETE /repos/{owner}/{repo}/issues/{issue_number}/labels/{name}"]["response"]; - }; - setLabels: { - parameters: RequestParameters & Omit; - response: Endpoints["PUT /repos/{owner}/{repo}/issues/{issue_number}/labels"]["response"]; - }; - unlock: { - parameters: RequestParameters & Omit; - response: Endpoints["DELETE /repos/{owner}/{repo}/issues/{issue_number}/lock"]["response"]; - }; - update: { - parameters: RequestParameters & Omit; - response: Endpoints["PATCH /repos/{owner}/{repo}/issues/{issue_number}"]["response"]; - }; - updateComment: { - parameters: RequestParameters & Omit; - response: Endpoints["PATCH /repos/{owner}/{repo}/issues/comments/{comment_id}"]["response"]; - }; - updateLabel: { - parameters: RequestParameters & Omit; - response: Endpoints["PATCH /repos/{owner}/{repo}/labels/{name}"]["response"]; - }; - updateMilestone: { - parameters: RequestParameters & Omit; - response: Endpoints["PATCH /repos/{owner}/{repo}/milestones/{milestone_number}"]["response"]; - }; - }; - licenses: { - get: { - parameters: RequestParameters & Omit; - response: Endpoints["GET /licenses/{license}"]["response"]; - }; - getAllCommonlyUsed: { - parameters: RequestParameters & Omit; - response: Endpoints["GET /licenses"]["response"]; - }; - getForRepo: { - parameters: RequestParameters & Omit; - response: Endpoints["GET /repos/{owner}/{repo}/license"]["response"]; - }; - }; - markdown: { - render: { - parameters: RequestParameters & Omit; - response: Endpoints["POST /markdown"]["response"]; - }; - renderRaw: { - parameters: RequestParameters & Omit; - response: Endpoints["POST /markdown/raw"]["response"]; - }; - }; - meta: { - get: { - parameters: RequestParameters & Omit; - response: Endpoints["GET /meta"]["response"]; - }; - getOctocat: { - parameters: RequestParameters & Omit; - response: Endpoints["GET /octocat"]["response"]; - }; - getZen: { - parameters: RequestParameters & Omit; - response: Endpoints["GET /zen"]["response"]; - }; - root: { - parameters: RequestParameters & Omit; - response: Endpoints["GET /"]["response"]; - }; - }; - migrations: { - cancelImport: { - parameters: RequestParameters & Omit; - response: Endpoints["DELETE /repos/{owner}/{repo}/import"]["response"]; - }; - deleteArchiveForAuthenticatedUser: { - parameters: RequestParameters & Omit; - response: Endpoints["DELETE /user/migrations/{migration_id}/archive"]["response"]; - }; - deleteArchiveForOrg: { - parameters: RequestParameters & Omit; - response: Endpoints["DELETE /orgs/{org}/migrations/{migration_id}/archive"]["response"]; - }; - downloadArchiveForOrg: { - parameters: RequestParameters & Omit; - response: Endpoints["GET /orgs/{org}/migrations/{migration_id}/archive"]["response"]; - }; - getArchiveForAuthenticatedUser: { - parameters: RequestParameters & Omit; - response: Endpoints["GET /user/migrations/{migration_id}/archive"]["response"]; - }; - getCommitAuthors: { - parameters: RequestParameters & Omit; - response: Endpoints["GET /repos/{owner}/{repo}/import/authors"]["response"]; - }; - getImportStatus: { - parameters: RequestParameters & Omit; - response: Endpoints["GET /repos/{owner}/{repo}/import"]["response"]; - }; - getLargeFiles: { - parameters: RequestParameters & Omit; - response: Endpoints["GET /repos/{owner}/{repo}/import/large_files"]["response"]; - }; - getStatusForAuthenticatedUser: { - parameters: RequestParameters & Omit; - response: Endpoints["GET /user/migrations/{migration_id}"]["response"]; - }; - getStatusForOrg: { - parameters: RequestParameters & Omit; - response: Endpoints["GET /orgs/{org}/migrations/{migration_id}"]["response"]; - }; - listForAuthenticatedUser: { - parameters: RequestParameters & Omit; - response: Endpoints["GET /user/migrations"]["response"]; - }; - listForOrg: { - parameters: RequestParameters & Omit; - response: Endpoints["GET /orgs/{org}/migrations"]["response"]; - }; - listReposForOrg: { - parameters: RequestParameters & Omit; - response: Endpoints["GET /orgs/{org}/migrations/{migration_id}/repositories"]["response"]; - }; - listReposForUser: { - parameters: RequestParameters & Omit; - response: Endpoints["GET /user/migrations/{migration_id}/repositories"]["response"]; - }; - mapCommitAuthor: { - parameters: RequestParameters & Omit; - response: Endpoints["PATCH /repos/{owner}/{repo}/import/authors/{author_id}"]["response"]; - }; - setLfsPreference: { - parameters: RequestParameters & Omit; - response: Endpoints["PATCH /repos/{owner}/{repo}/import/lfs"]["response"]; - }; - startForAuthenticatedUser: { - parameters: RequestParameters & Omit; - response: Endpoints["POST /user/migrations"]["response"]; - }; - startForOrg: { - parameters: RequestParameters & Omit; - response: Endpoints["POST /orgs/{org}/migrations"]["response"]; - }; - startImport: { - parameters: RequestParameters & Omit; - response: Endpoints["PUT /repos/{owner}/{repo}/import"]["response"]; - }; - unlockRepoForAuthenticatedUser: { - parameters: RequestParameters & Omit; - response: Endpoints["DELETE /user/migrations/{migration_id}/repos/{repo_name}/lock"]["response"]; - }; - unlockRepoForOrg: { - parameters: RequestParameters & Omit; - response: Endpoints["DELETE /orgs/{org}/migrations/{migration_id}/repos/{repo_name}/lock"]["response"]; - }; - updateImport: { - parameters: RequestParameters & Omit; - response: Endpoints["PATCH /repos/{owner}/{repo}/import"]["response"]; - }; - }; - orgs: { - blockUser: { - parameters: RequestParameters & Omit; - response: Endpoints["PUT /orgs/{org}/blocks/{username}"]["response"]; - }; - cancelInvitation: { - parameters: RequestParameters & Omit; - response: Endpoints["DELETE /orgs/{org}/invitations/{invitation_id}"]["response"]; - }; - checkBlockedUser: { - parameters: RequestParameters & Omit; - response: Endpoints["GET /orgs/{org}/blocks/{username}"]["response"]; - }; - checkMembershipForUser: { - parameters: RequestParameters & Omit; - response: Endpoints["GET /orgs/{org}/members/{username}"]["response"]; - }; - checkPublicMembershipForUser: { - parameters: RequestParameters & Omit; - response: Endpoints["GET /orgs/{org}/public_members/{username}"]["response"]; - }; - convertMemberToOutsideCollaborator: { - parameters: RequestParameters & Omit; - response: Endpoints["PUT /orgs/{org}/outside_collaborators/{username}"]["response"]; - }; - createInvitation: { - parameters: RequestParameters & Omit; - response: Endpoints["POST /orgs/{org}/invitations"]["response"]; - }; - createWebhook: { - parameters: RequestParameters & Omit; - response: Endpoints["POST /orgs/{org}/hooks"]["response"]; - }; - deleteWebhook: { - parameters: RequestParameters & Omit; - response: Endpoints["DELETE /orgs/{org}/hooks/{hook_id}"]["response"]; - }; - get: { - parameters: RequestParameters & Omit; - response: Endpoints["GET /orgs/{org}"]["response"]; - }; - getMembershipForAuthenticatedUser: { - parameters: RequestParameters & Omit; - response: Endpoints["GET /user/memberships/orgs/{org}"]["response"]; - }; - getMembershipForUser: { - parameters: RequestParameters & Omit; - response: Endpoints["GET /orgs/{org}/memberships/{username}"]["response"]; - }; - getWebhook: { - parameters: RequestParameters & Omit; - response: Endpoints["GET /orgs/{org}/hooks/{hook_id}"]["response"]; - }; - getWebhookConfigForOrg: { - parameters: RequestParameters & Omit; - response: Endpoints["GET /orgs/{org}/hooks/{hook_id}/config"]["response"]; - }; - getWebhookDelivery: { - parameters: RequestParameters & Omit; - response: Endpoints["GET /orgs/{org}/hooks/{hook_id}/deliveries/{delivery_id}"]["response"]; - }; - list: { - parameters: RequestParameters & Omit; - response: Endpoints["GET /organizations"]["response"]; - }; - listAppInstallations: { - parameters: RequestParameters & Omit; - response: Endpoints["GET /orgs/{org}/installations"]["response"]; - }; - listBlockedUsers: { - parameters: RequestParameters & Omit; - response: Endpoints["GET /orgs/{org}/blocks"]["response"]; - }; - listFailedInvitations: { - parameters: RequestParameters & Omit; - response: Endpoints["GET /orgs/{org}/failed_invitations"]["response"]; - }; - listForAuthenticatedUser: { - parameters: RequestParameters & Omit; - response: Endpoints["GET /user/orgs"]["response"]; - }; - listForUser: { - parameters: RequestParameters & Omit; - response: Endpoints["GET /users/{username}/orgs"]["response"]; - }; - listInvitationTeams: { - parameters: RequestParameters & Omit; - response: Endpoints["GET /orgs/{org}/invitations/{invitation_id}/teams"]["response"]; - }; - listMembers: { - parameters: RequestParameters & Omit; - response: Endpoints["GET /orgs/{org}/members"]["response"]; - }; - listMembershipsForAuthenticatedUser: { - parameters: RequestParameters & Omit; - response: Endpoints["GET /user/memberships/orgs"]["response"]; - }; - listOutsideCollaborators: { - parameters: RequestParameters & Omit; - response: Endpoints["GET /orgs/{org}/outside_collaborators"]["response"]; - }; - listPendingInvitations: { - parameters: RequestParameters & Omit; - response: Endpoints["GET /orgs/{org}/invitations"]["response"]; - }; - listPublicMembers: { - parameters: RequestParameters & Omit; - response: Endpoints["GET /orgs/{org}/public_members"]["response"]; - }; - listWebhookDeliveries: { - parameters: RequestParameters & Omit; - response: Endpoints["GET /orgs/{org}/hooks/{hook_id}/deliveries"]["response"]; - }; - listWebhooks: { - parameters: RequestParameters & Omit; - response: Endpoints["GET /orgs/{org}/hooks"]["response"]; - }; - pingWebhook: { - parameters: RequestParameters & Omit; - response: Endpoints["POST /orgs/{org}/hooks/{hook_id}/pings"]["response"]; - }; - redeliverWebhookDelivery: { - parameters: RequestParameters & Omit; - response: Endpoints["POST /orgs/{org}/hooks/{hook_id}/deliveries/{delivery_id}/attempts"]["response"]; - }; - removeMember: { - parameters: RequestParameters & Omit; - response: Endpoints["DELETE /orgs/{org}/members/{username}"]["response"]; - }; - removeMembershipForUser: { - parameters: RequestParameters & Omit; - response: Endpoints["DELETE /orgs/{org}/memberships/{username}"]["response"]; - }; - removeOutsideCollaborator: { - parameters: RequestParameters & Omit; - response: Endpoints["DELETE /orgs/{org}/outside_collaborators/{username}"]["response"]; - }; - removePublicMembershipForAuthenticatedUser: { - parameters: RequestParameters & Omit; - response: Endpoints["DELETE /orgs/{org}/public_members/{username}"]["response"]; - }; - setMembershipForUser: { - parameters: RequestParameters & Omit; - response: Endpoints["PUT /orgs/{org}/memberships/{username}"]["response"]; - }; - setPublicMembershipForAuthenticatedUser: { - parameters: RequestParameters & Omit; - response: Endpoints["PUT /orgs/{org}/public_members/{username}"]["response"]; - }; - unblockUser: { - parameters: RequestParameters & Omit; - response: Endpoints["DELETE /orgs/{org}/blocks/{username}"]["response"]; - }; - update: { - parameters: RequestParameters & Omit; - response: Endpoints["PATCH /orgs/{org}"]["response"]; - }; - updateMembershipForAuthenticatedUser: { - parameters: RequestParameters & Omit; - response: Endpoints["PATCH /user/memberships/orgs/{org}"]["response"]; - }; - updateWebhook: { - parameters: RequestParameters & Omit; - response: Endpoints["PATCH /orgs/{org}/hooks/{hook_id}"]["response"]; - }; - updateWebhookConfigForOrg: { - parameters: RequestParameters & Omit; - response: Endpoints["PATCH /orgs/{org}/hooks/{hook_id}/config"]["response"]; - }; - }; - packages: { - deletePackageForAuthenticatedUser: { - parameters: RequestParameters & Omit; - response: Endpoints["DELETE /user/packages/{package_type}/{package_name}"]["response"]; - }; - deletePackageForOrg: { - parameters: RequestParameters & Omit; - response: Endpoints["DELETE /orgs/{org}/packages/{package_type}/{package_name}"]["response"]; - }; - deletePackageVersionForAuthenticatedUser: { - parameters: RequestParameters & Omit; - response: Endpoints["DELETE /user/packages/{package_type}/{package_name}/versions/{package_version_id}"]["response"]; - }; - deletePackageVersionForOrg: { - parameters: RequestParameters & Omit; - response: Endpoints["DELETE /orgs/{org}/packages/{package_type}/{package_name}/versions/{package_version_id}"]["response"]; - }; - getAllPackageVersionsForAPackageOwnedByAnOrg: { - parameters: RequestParameters & Omit; - response: Endpoints["GET /orgs/{org}/packages/{package_type}/{package_name}/versions"]["response"]; - }; - getAllPackageVersionsForAPackageOwnedByTheAuthenticatedUser: { - parameters: RequestParameters & Omit; - response: Endpoints["GET /user/packages/{package_type}/{package_name}/versions"]["response"]; - }; - getAllPackageVersionsForPackageOwnedByAuthenticatedUser: { - parameters: RequestParameters & Omit; - response: Endpoints["GET /user/packages/{package_type}/{package_name}/versions"]["response"]; - }; - getAllPackageVersionsForPackageOwnedByOrg: { - parameters: RequestParameters & Omit; - response: Endpoints["GET /orgs/{org}/packages/{package_type}/{package_name}/versions"]["response"]; - }; - getAllPackageVersionsForPackageOwnedByUser: { - parameters: RequestParameters & Omit; - response: Endpoints["GET /users/{username}/packages/{package_type}/{package_name}/versions"]["response"]; - }; - getPackageForAuthenticatedUser: { - parameters: RequestParameters & Omit; - response: Endpoints["GET /user/packages/{package_type}/{package_name}"]["response"]; - }; - getPackageForOrganization: { - parameters: RequestParameters & Omit; - response: Endpoints["GET /orgs/{org}/packages/{package_type}/{package_name}"]["response"]; - }; - getPackageForUser: { - parameters: RequestParameters & Omit; - response: Endpoints["GET /users/{username}/packages/{package_type}/{package_name}"]["response"]; - }; - getPackageVersionForAuthenticatedUser: { - parameters: RequestParameters & Omit; - response: Endpoints["GET /user/packages/{package_type}/{package_name}/versions/{package_version_id}"]["response"]; - }; - getPackageVersionForOrganization: { - parameters: RequestParameters & Omit; - response: Endpoints["GET /orgs/{org}/packages/{package_type}/{package_name}/versions/{package_version_id}"]["response"]; - }; - getPackageVersionForUser: { - parameters: RequestParameters & Omit; - response: Endpoints["GET /users/{username}/packages/{package_type}/{package_name}/versions/{package_version_id}"]["response"]; - }; - restorePackageForAuthenticatedUser: { - parameters: RequestParameters & Omit; - response: Endpoints["POST /user/packages/{package_type}/{package_name}/restore{?token}"]["response"]; - }; - restorePackageForOrg: { - parameters: RequestParameters & Omit; - response: Endpoints["POST /orgs/{org}/packages/{package_type}/{package_name}/restore{?token}"]["response"]; - }; - restorePackageVersionForAuthenticatedUser: { - parameters: RequestParameters & Omit; - response: Endpoints["POST /user/packages/{package_type}/{package_name}/versions/{package_version_id}/restore"]["response"]; - }; - restorePackageVersionForOrg: { - parameters: RequestParameters & Omit; - response: Endpoints["POST /orgs/{org}/packages/{package_type}/{package_name}/versions/{package_version_id}/restore"]["response"]; - }; - }; - projects: { - addCollaborator: { - parameters: RequestParameters & Omit; - response: Endpoints["PUT /projects/{project_id}/collaborators/{username}"]["response"]; - }; - createCard: { - parameters: RequestParameters & Omit; - response: Endpoints["POST /projects/columns/{column_id}/cards"]["response"]; - }; - createColumn: { - parameters: RequestParameters & Omit; - response: Endpoints["POST /projects/{project_id}/columns"]["response"]; - }; - createForAuthenticatedUser: { - parameters: RequestParameters & Omit; - response: Endpoints["POST /user/projects"]["response"]; - }; - createForOrg: { - parameters: RequestParameters & Omit; - response: Endpoints["POST /orgs/{org}/projects"]["response"]; - }; - createForRepo: { - parameters: RequestParameters & Omit; - response: Endpoints["POST /repos/{owner}/{repo}/projects"]["response"]; - }; - delete: { - parameters: RequestParameters & Omit; - response: Endpoints["DELETE /projects/{project_id}"]["response"]; - }; - deleteCard: { - parameters: RequestParameters & Omit; - response: Endpoints["DELETE /projects/columns/cards/{card_id}"]["response"]; - }; - deleteColumn: { - parameters: RequestParameters & Omit; - response: Endpoints["DELETE /projects/columns/{column_id}"]["response"]; - }; - get: { - parameters: RequestParameters & Omit; - response: Endpoints["GET /projects/{project_id}"]["response"]; - }; - getCard: { - parameters: RequestParameters & Omit; - response: Endpoints["GET /projects/columns/cards/{card_id}"]["response"]; - }; - getColumn: { - parameters: RequestParameters & Omit; - response: Endpoints["GET /projects/columns/{column_id}"]["response"]; - }; - getPermissionForUser: { - parameters: RequestParameters & Omit; - response: Endpoints["GET /projects/{project_id}/collaborators/{username}/permission"]["response"]; - }; - listCards: { - parameters: RequestParameters & Omit; - response: Endpoints["GET /projects/columns/{column_id}/cards"]["response"]; - }; - listCollaborators: { - parameters: RequestParameters & Omit; - response: Endpoints["GET /projects/{project_id}/collaborators"]["response"]; - }; - listColumns: { - parameters: RequestParameters & Omit; - response: Endpoints["GET /projects/{project_id}/columns"]["response"]; - }; - listForOrg: { - parameters: RequestParameters & Omit; - response: Endpoints["GET /orgs/{org}/projects"]["response"]; - }; - listForRepo: { - parameters: RequestParameters & Omit; - response: Endpoints["GET /repos/{owner}/{repo}/projects"]["response"]; - }; - listForUser: { - parameters: RequestParameters & Omit; - response: Endpoints["GET /users/{username}/projects"]["response"]; - }; - moveCard: { - parameters: RequestParameters & Omit; - response: Endpoints["POST /projects/columns/cards/{card_id}/moves"]["response"]; - }; - moveColumn: { - parameters: RequestParameters & Omit; - response: Endpoints["POST /projects/columns/{column_id}/moves"]["response"]; - }; - removeCollaborator: { - parameters: RequestParameters & Omit; - response: Endpoints["DELETE /projects/{project_id}/collaborators/{username}"]["response"]; - }; - update: { - parameters: RequestParameters & Omit; - response: Endpoints["PATCH /projects/{project_id}"]["response"]; - }; - updateCard: { - parameters: RequestParameters & Omit; - response: Endpoints["PATCH /projects/columns/cards/{card_id}"]["response"]; - }; - updateColumn: { - parameters: RequestParameters & Omit; - response: Endpoints["PATCH /projects/columns/{column_id}"]["response"]; - }; - }; - pulls: { - checkIfMerged: { - parameters: RequestParameters & Omit; - response: Endpoints["GET /repos/{owner}/{repo}/pulls/{pull_number}/merge"]["response"]; - }; - create: { - parameters: RequestParameters & Omit; - response: Endpoints["POST /repos/{owner}/{repo}/pulls"]["response"]; - }; - createReplyForReviewComment: { - parameters: RequestParameters & Omit; - response: Endpoints["POST /repos/{owner}/{repo}/pulls/{pull_number}/comments/{comment_id}/replies"]["response"]; - }; - createReview: { - parameters: RequestParameters & Omit; - response: Endpoints["POST /repos/{owner}/{repo}/pulls/{pull_number}/reviews"]["response"]; - }; - createReviewComment: { - parameters: RequestParameters & Omit; - response: Endpoints["POST /repos/{owner}/{repo}/pulls/{pull_number}/comments"]["response"]; - }; - deletePendingReview: { - parameters: RequestParameters & Omit; - response: Endpoints["DELETE /repos/{owner}/{repo}/pulls/{pull_number}/reviews/{review_id}"]["response"]; - }; - deleteReviewComment: { - parameters: RequestParameters & Omit; - response: Endpoints["DELETE /repos/{owner}/{repo}/pulls/comments/{comment_id}"]["response"]; - }; - dismissReview: { - parameters: RequestParameters & Omit; - response: Endpoints["PUT /repos/{owner}/{repo}/pulls/{pull_number}/reviews/{review_id}/dismissals"]["response"]; - }; - get: { - parameters: RequestParameters & Omit; - response: Endpoints["GET /repos/{owner}/{repo}/pulls/{pull_number}"]["response"]; - }; - getReview: { - parameters: RequestParameters & Omit; - response: Endpoints["GET /repos/{owner}/{repo}/pulls/{pull_number}/reviews/{review_id}"]["response"]; - }; - getReviewComment: { - parameters: RequestParameters & Omit; - response: Endpoints["GET /repos/{owner}/{repo}/pulls/comments/{comment_id}"]["response"]; - }; - list: { - parameters: RequestParameters & Omit; - response: Endpoints["GET /repos/{owner}/{repo}/pulls"]["response"]; - }; - listCommentsForReview: { - parameters: RequestParameters & Omit; - response: Endpoints["GET /repos/{owner}/{repo}/pulls/{pull_number}/reviews/{review_id}/comments"]["response"]; - }; - listCommits: { - parameters: RequestParameters & Omit; - response: Endpoints["GET /repos/{owner}/{repo}/pulls/{pull_number}/commits"]["response"]; - }; - listFiles: { - parameters: RequestParameters & Omit; - response: Endpoints["GET /repos/{owner}/{repo}/pulls/{pull_number}/files"]["response"]; - }; - listRequestedReviewers: { - parameters: RequestParameters & Omit; - response: Endpoints["GET /repos/{owner}/{repo}/pulls/{pull_number}/requested_reviewers"]["response"]; - }; - listReviewComments: { - parameters: RequestParameters & Omit; - response: Endpoints["GET /repos/{owner}/{repo}/pulls/{pull_number}/comments"]["response"]; - }; - listReviewCommentsForRepo: { - parameters: RequestParameters & Omit; - response: Endpoints["GET /repos/{owner}/{repo}/pulls/comments"]["response"]; - }; - listReviews: { - parameters: RequestParameters & Omit; - response: Endpoints["GET /repos/{owner}/{repo}/pulls/{pull_number}/reviews"]["response"]; - }; - merge: { - parameters: RequestParameters & Omit; - response: Endpoints["PUT /repos/{owner}/{repo}/pulls/{pull_number}/merge"]["response"]; - }; - removeRequestedReviewers: { - parameters: RequestParameters & Omit; - response: Endpoints["DELETE /repos/{owner}/{repo}/pulls/{pull_number}/requested_reviewers"]["response"]; - }; - requestReviewers: { - parameters: RequestParameters & Omit; - response: Endpoints["POST /repos/{owner}/{repo}/pulls/{pull_number}/requested_reviewers"]["response"]; - }; - submitReview: { - parameters: RequestParameters & Omit; - response: Endpoints["POST /repos/{owner}/{repo}/pulls/{pull_number}/reviews/{review_id}/events"]["response"]; - }; - update: { - parameters: RequestParameters & Omit; - response: Endpoints["PATCH /repos/{owner}/{repo}/pulls/{pull_number}"]["response"]; - }; - updateBranch: { - parameters: RequestParameters & Omit; - response: Endpoints["PUT /repos/{owner}/{repo}/pulls/{pull_number}/update-branch"]["response"]; - }; - updateReview: { - parameters: RequestParameters & Omit; - response: Endpoints["PUT /repos/{owner}/{repo}/pulls/{pull_number}/reviews/{review_id}"]["response"]; - }; - updateReviewComment: { - parameters: RequestParameters & Omit; - response: Endpoints["PATCH /repos/{owner}/{repo}/pulls/comments/{comment_id}"]["response"]; - }; - }; - rateLimit: { - get: { - parameters: RequestParameters & Omit; - response: Endpoints["GET /rate_limit"]["response"]; - }; - }; - reactions: { - createForCommitComment: { - parameters: RequestParameters & Omit; - response: Endpoints["POST /repos/{owner}/{repo}/comments/{comment_id}/reactions"]["response"]; - }; - createForIssue: { - parameters: RequestParameters & Omit; - response: Endpoints["POST /repos/{owner}/{repo}/issues/{issue_number}/reactions"]["response"]; - }; - createForIssueComment: { - parameters: RequestParameters & Omit; - response: Endpoints["POST /repos/{owner}/{repo}/issues/comments/{comment_id}/reactions"]["response"]; - }; - createForPullRequestReviewComment: { - parameters: RequestParameters & Omit; - response: Endpoints["POST /repos/{owner}/{repo}/pulls/comments/{comment_id}/reactions"]["response"]; - }; - createForRelease: { - parameters: RequestParameters & Omit; - response: Endpoints["POST /repos/{owner}/{repo}/releases/{release_id}/reactions"]["response"]; - }; - createForTeamDiscussionCommentInOrg: { - parameters: RequestParameters & Omit; - response: Endpoints["POST /orgs/{org}/teams/{team_slug}/discussions/{discussion_number}/comments/{comment_number}/reactions"]["response"]; - }; - createForTeamDiscussionInOrg: { - parameters: RequestParameters & Omit; - response: Endpoints["POST /orgs/{org}/teams/{team_slug}/discussions/{discussion_number}/reactions"]["response"]; - }; - deleteForCommitComment: { - parameters: RequestParameters & Omit; - response: Endpoints["DELETE /repos/{owner}/{repo}/comments/{comment_id}/reactions/{reaction_id}"]["response"]; - }; - deleteForIssue: { - parameters: RequestParameters & Omit; - response: Endpoints["DELETE /repos/{owner}/{repo}/issues/{issue_number}/reactions/{reaction_id}"]["response"]; - }; - deleteForIssueComment: { - parameters: RequestParameters & Omit; - response: Endpoints["DELETE /repos/{owner}/{repo}/issues/comments/{comment_id}/reactions/{reaction_id}"]["response"]; - }; - deleteForPullRequestComment: { - parameters: RequestParameters & Omit; - response: Endpoints["DELETE /repos/{owner}/{repo}/pulls/comments/{comment_id}/reactions/{reaction_id}"]["response"]; - }; - deleteForTeamDiscussion: { - parameters: RequestParameters & Omit; - response: Endpoints["DELETE /orgs/{org}/teams/{team_slug}/discussions/{discussion_number}/reactions/{reaction_id}"]["response"]; - }; - deleteForTeamDiscussionComment: { - parameters: RequestParameters & Omit; - response: Endpoints["DELETE /orgs/{org}/teams/{team_slug}/discussions/{discussion_number}/comments/{comment_number}/reactions/{reaction_id}"]["response"]; - }; - deleteLegacy: { - parameters: RequestParameters & Omit; - response: Endpoints["DELETE /reactions/{reaction_id}"]["response"]; - }; - listForCommitComment: { - parameters: RequestParameters & Omit; - response: Endpoints["GET /repos/{owner}/{repo}/comments/{comment_id}/reactions"]["response"]; - }; - listForIssue: { - parameters: RequestParameters & Omit; - response: Endpoints["GET /repos/{owner}/{repo}/issues/{issue_number}/reactions"]["response"]; - }; - listForIssueComment: { - parameters: RequestParameters & Omit; - response: Endpoints["GET /repos/{owner}/{repo}/issues/comments/{comment_id}/reactions"]["response"]; - }; - listForPullRequestReviewComment: { - parameters: RequestParameters & Omit; - response: Endpoints["GET /repos/{owner}/{repo}/pulls/comments/{comment_id}/reactions"]["response"]; - }; - listForTeamDiscussionCommentInOrg: { - parameters: RequestParameters & Omit; - response: Endpoints["GET /orgs/{org}/teams/{team_slug}/discussions/{discussion_number}/comments/{comment_number}/reactions"]["response"]; - }; - listForTeamDiscussionInOrg: { - parameters: RequestParameters & Omit; - response: Endpoints["GET /orgs/{org}/teams/{team_slug}/discussions/{discussion_number}/reactions"]["response"]; - }; - }; - repos: { - acceptInvitation: { - parameters: RequestParameters & Omit; - response: Endpoints["PATCH /user/repository_invitations/{invitation_id}"]["response"]; - }; - addAppAccessRestrictions: { - parameters: RequestParameters & Omit; - response: Endpoints["POST /repos/{owner}/{repo}/branches/{branch}/protection/restrictions/apps"]["response"]; - }; - addCollaborator: { - parameters: RequestParameters & Omit; - response: Endpoints["PUT /repos/{owner}/{repo}/collaborators/{username}"]["response"]; - }; - addStatusCheckContexts: { - parameters: RequestParameters & Omit; - response: Endpoints["POST /repos/{owner}/{repo}/branches/{branch}/protection/required_status_checks/contexts"]["response"]; - }; - addTeamAccessRestrictions: { - parameters: RequestParameters & Omit; - response: Endpoints["POST /repos/{owner}/{repo}/branches/{branch}/protection/restrictions/teams"]["response"]; - }; - addUserAccessRestrictions: { - parameters: RequestParameters & Omit; - response: Endpoints["POST /repos/{owner}/{repo}/branches/{branch}/protection/restrictions/users"]["response"]; - }; - checkCollaborator: { - parameters: RequestParameters & Omit; - response: Endpoints["GET /repos/{owner}/{repo}/collaborators/{username}"]["response"]; - }; - checkVulnerabilityAlerts: { - parameters: RequestParameters & Omit; - response: Endpoints["GET /repos/{owner}/{repo}/vulnerability-alerts"]["response"]; - }; - compareCommits: { - parameters: RequestParameters & Omit; - response: Endpoints["GET /repos/{owner}/{repo}/compare/{base}...{head}"]["response"]; - }; - compareCommitsWithBasehead: { - parameters: RequestParameters & Omit; - response: Endpoints["GET /repos/{owner}/{repo}/compare/{basehead}"]["response"]; - }; - createCommitComment: { - parameters: RequestParameters & Omit; - response: Endpoints["POST /repos/{owner}/{repo}/commits/{commit_sha}/comments"]["response"]; - }; - createCommitSignatureProtection: { - parameters: RequestParameters & Omit; - response: Endpoints["POST /repos/{owner}/{repo}/branches/{branch}/protection/required_signatures"]["response"]; - }; - createCommitStatus: { - parameters: RequestParameters & Omit; - response: Endpoints["POST /repos/{owner}/{repo}/statuses/{sha}"]["response"]; - }; - createDeployKey: { - parameters: RequestParameters & Omit; - response: Endpoints["POST /repos/{owner}/{repo}/keys"]["response"]; - }; - createDeployment: { - parameters: RequestParameters & Omit; - response: Endpoints["POST /repos/{owner}/{repo}/deployments"]["response"]; - }; - createDeploymentStatus: { - parameters: RequestParameters & Omit; - response: Endpoints["POST /repos/{owner}/{repo}/deployments/{deployment_id}/statuses"]["response"]; - }; - createDispatchEvent: { - parameters: RequestParameters & Omit; - response: Endpoints["POST /repos/{owner}/{repo}/dispatches"]["response"]; - }; - createForAuthenticatedUser: { - parameters: RequestParameters & Omit; - response: Endpoints["POST /user/repos"]["response"]; - }; - createFork: { - parameters: RequestParameters & Omit; - response: Endpoints["POST /repos/{owner}/{repo}/forks"]["response"]; - }; - createInOrg: { - parameters: RequestParameters & Omit; - response: Endpoints["POST /orgs/{org}/repos"]["response"]; - }; - createOrUpdateEnvironment: { - parameters: RequestParameters & Omit; - response: Endpoints["PUT /repos/{owner}/{repo}/environments/{environment_name}"]["response"]; - }; - createOrUpdateFileContents: { - parameters: RequestParameters & Omit; - response: Endpoints["PUT /repos/{owner}/{repo}/contents/{path}"]["response"]; - }; - createPagesSite: { - parameters: RequestParameters & Omit; - response: Endpoints["POST /repos/{owner}/{repo}/pages"]["response"]; - }; - createRelease: { - parameters: RequestParameters & Omit; - response: Endpoints["POST /repos/{owner}/{repo}/releases"]["response"]; - }; - createUsingTemplate: { - parameters: RequestParameters & Omit; - response: Endpoints["POST /repos/{template_owner}/{template_repo}/generate"]["response"]; - }; - createWebhook: { - parameters: RequestParameters & Omit; - response: Endpoints["POST /repos/{owner}/{repo}/hooks"]["response"]; - }; - declineInvitation: { - parameters: RequestParameters & Omit; - response: Endpoints["DELETE /user/repository_invitations/{invitation_id}"]["response"]; - }; - delete: { - parameters: RequestParameters & Omit; - response: Endpoints["DELETE /repos/{owner}/{repo}"]["response"]; - }; - deleteAccessRestrictions: { - parameters: RequestParameters & Omit; - response: Endpoints["DELETE /repos/{owner}/{repo}/branches/{branch}/protection/restrictions"]["response"]; - }; - deleteAdminBranchProtection: { - parameters: RequestParameters & Omit; - response: Endpoints["DELETE /repos/{owner}/{repo}/branches/{branch}/protection/enforce_admins"]["response"]; - }; - deleteAnEnvironment: { - parameters: RequestParameters & Omit; - response: Endpoints["DELETE /repos/{owner}/{repo}/environments/{environment_name}"]["response"]; - }; - deleteBranchProtection: { - parameters: RequestParameters & Omit; - response: Endpoints["DELETE /repos/{owner}/{repo}/branches/{branch}/protection"]["response"]; - }; - deleteCommitComment: { - parameters: RequestParameters & Omit; - response: Endpoints["DELETE /repos/{owner}/{repo}/comments/{comment_id}"]["response"]; - }; - deleteCommitSignatureProtection: { - parameters: RequestParameters & Omit; - response: Endpoints["DELETE /repos/{owner}/{repo}/branches/{branch}/protection/required_signatures"]["response"]; - }; - deleteDeployKey: { - parameters: RequestParameters & Omit; - response: Endpoints["DELETE /repos/{owner}/{repo}/keys/{key_id}"]["response"]; - }; - deleteDeployment: { - parameters: RequestParameters & Omit; - response: Endpoints["DELETE /repos/{owner}/{repo}/deployments/{deployment_id}"]["response"]; - }; - deleteFile: { - parameters: RequestParameters & Omit; - response: Endpoints["DELETE /repos/{owner}/{repo}/contents/{path}"]["response"]; - }; - deleteInvitation: { - parameters: RequestParameters & Omit; - response: Endpoints["DELETE /repos/{owner}/{repo}/invitations/{invitation_id}"]["response"]; - }; - deletePagesSite: { - parameters: RequestParameters & Omit; - response: Endpoints["DELETE /repos/{owner}/{repo}/pages"]["response"]; - }; - deletePullRequestReviewProtection: { - parameters: RequestParameters & Omit; - response: Endpoints["DELETE /repos/{owner}/{repo}/branches/{branch}/protection/required_pull_request_reviews"]["response"]; - }; - deleteRelease: { - parameters: RequestParameters & Omit; - response: Endpoints["DELETE /repos/{owner}/{repo}/releases/{release_id}"]["response"]; - }; - deleteReleaseAsset: { - parameters: RequestParameters & Omit; - response: Endpoints["DELETE /repos/{owner}/{repo}/releases/assets/{asset_id}"]["response"]; - }; - deleteWebhook: { - parameters: RequestParameters & Omit; - response: Endpoints["DELETE /repos/{owner}/{repo}/hooks/{hook_id}"]["response"]; - }; - disableAutomatedSecurityFixes: { - parameters: RequestParameters & Omit; - response: Endpoints["DELETE /repos/{owner}/{repo}/automated-security-fixes"]["response"]; - }; - disableVulnerabilityAlerts: { - parameters: RequestParameters & Omit; - response: Endpoints["DELETE /repos/{owner}/{repo}/vulnerability-alerts"]["response"]; - }; - downloadArchive: { - parameters: RequestParameters & Omit; - response: Endpoints["GET /repos/{owner}/{repo}/zipball/{ref}"]["response"]; - }; - downloadTarballArchive: { - parameters: RequestParameters & Omit; - response: Endpoints["GET /repos/{owner}/{repo}/tarball/{ref}"]["response"]; - }; - downloadZipballArchive: { - parameters: RequestParameters & Omit; - response: Endpoints["GET /repos/{owner}/{repo}/zipball/{ref}"]["response"]; - }; - enableAutomatedSecurityFixes: { - parameters: RequestParameters & Omit; - response: Endpoints["PUT /repos/{owner}/{repo}/automated-security-fixes"]["response"]; - }; - enableVulnerabilityAlerts: { - parameters: RequestParameters & Omit; - response: Endpoints["PUT /repos/{owner}/{repo}/vulnerability-alerts"]["response"]; - }; - get: { - parameters: RequestParameters & Omit; - response: Endpoints["GET /repos/{owner}/{repo}"]["response"]; - }; - getAccessRestrictions: { - parameters: RequestParameters & Omit; - response: Endpoints["GET /repos/{owner}/{repo}/branches/{branch}/protection/restrictions"]["response"]; - }; - getAdminBranchProtection: { - parameters: RequestParameters & Omit; - response: Endpoints["GET /repos/{owner}/{repo}/branches/{branch}/protection/enforce_admins"]["response"]; - }; - getAllEnvironments: { - parameters: RequestParameters & Omit; - response: Endpoints["GET /repos/{owner}/{repo}/environments"]["response"]; - }; - getAllStatusCheckContexts: { - parameters: RequestParameters & Omit; - response: Endpoints["GET /repos/{owner}/{repo}/branches/{branch}/protection/required_status_checks/contexts"]["response"]; - }; - getAllTopics: { - parameters: RequestParameters & Omit; - response: Endpoints["GET /repos/{owner}/{repo}/topics"]["response"]; - }; - getAppsWithAccessToProtectedBranch: { - parameters: RequestParameters & Omit; - response: Endpoints["GET /repos/{owner}/{repo}/branches/{branch}/protection/restrictions/apps"]["response"]; - }; - getBranch: { - parameters: RequestParameters & Omit; - response: Endpoints["GET /repos/{owner}/{repo}/branches/{branch}"]["response"]; - }; - getBranchProtection: { - parameters: RequestParameters & Omit; - response: Endpoints["GET /repos/{owner}/{repo}/branches/{branch}/protection"]["response"]; - }; - getClones: { - parameters: RequestParameters & Omit; - response: Endpoints["GET /repos/{owner}/{repo}/traffic/clones"]["response"]; - }; - getCodeFrequencyStats: { - parameters: RequestParameters & Omit; - response: Endpoints["GET /repos/{owner}/{repo}/stats/code_frequency"]["response"]; - }; - getCollaboratorPermissionLevel: { - parameters: RequestParameters & Omit; - response: Endpoints["GET /repos/{owner}/{repo}/collaborators/{username}/permission"]["response"]; - }; - getCombinedStatusForRef: { - parameters: RequestParameters & Omit; - response: Endpoints["GET /repos/{owner}/{repo}/commits/{ref}/status"]["response"]; - }; - getCommit: { - parameters: RequestParameters & Omit; - response: Endpoints["GET /repos/{owner}/{repo}/commits/{ref}"]["response"]; - }; - getCommitActivityStats: { - parameters: RequestParameters & Omit; - response: Endpoints["GET /repos/{owner}/{repo}/stats/commit_activity"]["response"]; - }; - getCommitComment: { - parameters: RequestParameters & Omit; - response: Endpoints["GET /repos/{owner}/{repo}/comments/{comment_id}"]["response"]; - }; - getCommitSignatureProtection: { - parameters: RequestParameters & Omit; - response: Endpoints["GET /repos/{owner}/{repo}/branches/{branch}/protection/required_signatures"]["response"]; - }; - getCommunityProfileMetrics: { - parameters: RequestParameters & Omit; - response: Endpoints["GET /repos/{owner}/{repo}/community/profile"]["response"]; - }; - getContent: { - parameters: RequestParameters & Omit; - response: Endpoints["GET /repos/{owner}/{repo}/contents/{path}"]["response"]; - }; - getContributorsStats: { - parameters: RequestParameters & Omit; - response: Endpoints["GET /repos/{owner}/{repo}/stats/contributors"]["response"]; - }; - getDeployKey: { - parameters: RequestParameters & Omit; - response: Endpoints["GET /repos/{owner}/{repo}/keys/{key_id}"]["response"]; - }; - getDeployment: { - parameters: RequestParameters & Omit; - response: Endpoints["GET /repos/{owner}/{repo}/deployments/{deployment_id}"]["response"]; - }; - getDeploymentStatus: { - parameters: RequestParameters & Omit; - response: Endpoints["GET /repos/{owner}/{repo}/deployments/{deployment_id}/statuses/{status_id}"]["response"]; - }; - getEnvironment: { - parameters: RequestParameters & Omit; - response: Endpoints["GET /repos/{owner}/{repo}/environments/{environment_name}"]["response"]; - }; - getLatestPagesBuild: { - parameters: RequestParameters & Omit; - response: Endpoints["GET /repos/{owner}/{repo}/pages/builds/latest"]["response"]; - }; - getLatestRelease: { - parameters: RequestParameters & Omit; - response: Endpoints["GET /repos/{owner}/{repo}/releases/latest"]["response"]; - }; - getPages: { - parameters: RequestParameters & Omit; - response: Endpoints["GET /repos/{owner}/{repo}/pages"]["response"]; - }; - getPagesBuild: { - parameters: RequestParameters & Omit; - response: Endpoints["GET /repos/{owner}/{repo}/pages/builds/{build_id}"]["response"]; - }; - getPagesHealthCheck: { - parameters: RequestParameters & Omit; - response: Endpoints["GET /repos/{owner}/{repo}/pages/health"]["response"]; - }; - getParticipationStats: { - parameters: RequestParameters & Omit; - response: Endpoints["GET /repos/{owner}/{repo}/stats/participation"]["response"]; - }; - getPullRequestReviewProtection: { - parameters: RequestParameters & Omit; - response: Endpoints["GET /repos/{owner}/{repo}/branches/{branch}/protection/required_pull_request_reviews"]["response"]; - }; - getPunchCardStats: { - parameters: RequestParameters & Omit; - response: Endpoints["GET /repos/{owner}/{repo}/stats/punch_card"]["response"]; - }; - getReadme: { - parameters: RequestParameters & Omit; - response: Endpoints["GET /repos/{owner}/{repo}/readme"]["response"]; - }; - getReadmeInDirectory: { - parameters: RequestParameters & Omit; - response: Endpoints["GET /repos/{owner}/{repo}/readme/{dir}"]["response"]; - }; - getRelease: { - parameters: RequestParameters & Omit; - response: Endpoints["GET /repos/{owner}/{repo}/releases/{release_id}"]["response"]; - }; - getReleaseAsset: { - parameters: RequestParameters & Omit; - response: Endpoints["GET /repos/{owner}/{repo}/releases/assets/{asset_id}"]["response"]; - }; - getReleaseByTag: { - parameters: RequestParameters & Omit; - response: Endpoints["GET /repos/{owner}/{repo}/releases/tags/{tag}"]["response"]; - }; - getStatusChecksProtection: { - parameters: RequestParameters & Omit; - response: Endpoints["GET /repos/{owner}/{repo}/branches/{branch}/protection/required_status_checks"]["response"]; - }; - getTeamsWithAccessToProtectedBranch: { - parameters: RequestParameters & Omit; - response: Endpoints["GET /repos/{owner}/{repo}/branches/{branch}/protection/restrictions/teams"]["response"]; - }; - getTopPaths: { - parameters: RequestParameters & Omit; - response: Endpoints["GET /repos/{owner}/{repo}/traffic/popular/paths"]["response"]; - }; - getTopReferrers: { - parameters: RequestParameters & Omit; - response: Endpoints["GET /repos/{owner}/{repo}/traffic/popular/referrers"]["response"]; - }; - getUsersWithAccessToProtectedBranch: { - parameters: RequestParameters & Omit; - response: Endpoints["GET /repos/{owner}/{repo}/branches/{branch}/protection/restrictions/users"]["response"]; - }; - getViews: { - parameters: RequestParameters & Omit; - response: Endpoints["GET /repos/{owner}/{repo}/traffic/views"]["response"]; - }; - getWebhook: { - parameters: RequestParameters & Omit; - response: Endpoints["GET /repos/{owner}/{repo}/hooks/{hook_id}"]["response"]; - }; - getWebhookConfigForRepo: { - parameters: RequestParameters & Omit; - response: Endpoints["GET /repos/{owner}/{repo}/hooks/{hook_id}/config"]["response"]; - }; - getWebhookDelivery: { - parameters: RequestParameters & Omit; - response: Endpoints["GET /repos/{owner}/{repo}/hooks/{hook_id}/deliveries/{delivery_id}"]["response"]; - }; - listBranches: { - parameters: RequestParameters & Omit; - response: Endpoints["GET /repos/{owner}/{repo}/branches"]["response"]; - }; - listBranchesForHeadCommit: { - parameters: RequestParameters & Omit; - response: Endpoints["GET /repos/{owner}/{repo}/commits/{commit_sha}/branches-where-head"]["response"]; - }; - listCollaborators: { - parameters: RequestParameters & Omit; - response: Endpoints["GET /repos/{owner}/{repo}/collaborators"]["response"]; - }; - listCommentsForCommit: { - parameters: RequestParameters & Omit; - response: Endpoints["GET /repos/{owner}/{repo}/commits/{commit_sha}/comments"]["response"]; - }; - listCommitCommentsForRepo: { - parameters: RequestParameters & Omit; - response: Endpoints["GET /repos/{owner}/{repo}/comments"]["response"]; - }; - listCommitStatusesForRef: { - parameters: RequestParameters & Omit; - response: Endpoints["GET /repos/{owner}/{repo}/commits/{ref}/statuses"]["response"]; - }; - listCommits: { - parameters: RequestParameters & Omit; - response: Endpoints["GET /repos/{owner}/{repo}/commits"]["response"]; - }; - listContributors: { - parameters: RequestParameters & Omit; - response: Endpoints["GET /repos/{owner}/{repo}/contributors"]["response"]; - }; - listDeployKeys: { - parameters: RequestParameters & Omit; - response: Endpoints["GET /repos/{owner}/{repo}/keys"]["response"]; - }; - listDeploymentStatuses: { - parameters: RequestParameters & Omit; - response: Endpoints["GET /repos/{owner}/{repo}/deployments/{deployment_id}/statuses"]["response"]; - }; - listDeployments: { - parameters: RequestParameters & Omit; - response: Endpoints["GET /repos/{owner}/{repo}/deployments"]["response"]; - }; - listForAuthenticatedUser: { - parameters: RequestParameters & Omit; - response: Endpoints["GET /user/repos"]["response"]; - }; - listForOrg: { - parameters: RequestParameters & Omit; - response: Endpoints["GET /orgs/{org}/repos"]["response"]; - }; - listForUser: { - parameters: RequestParameters & Omit; - response: Endpoints["GET /users/{username}/repos"]["response"]; - }; - listForks: { - parameters: RequestParameters & Omit; - response: Endpoints["GET /repos/{owner}/{repo}/forks"]["response"]; - }; - listInvitations: { - parameters: RequestParameters & Omit; - response: Endpoints["GET /repos/{owner}/{repo}/invitations"]["response"]; - }; - listInvitationsForAuthenticatedUser: { - parameters: RequestParameters & Omit; - response: Endpoints["GET /user/repository_invitations"]["response"]; - }; - listLanguages: { - parameters: RequestParameters & Omit; - response: Endpoints["GET /repos/{owner}/{repo}/languages"]["response"]; - }; - listPagesBuilds: { - parameters: RequestParameters & Omit; - response: Endpoints["GET /repos/{owner}/{repo}/pages/builds"]["response"]; - }; - listPublic: { - parameters: RequestParameters & Omit; - response: Endpoints["GET /repositories"]["response"]; - }; - listPullRequestsAssociatedWithCommit: { - parameters: RequestParameters & Omit; - response: Endpoints["GET /repos/{owner}/{repo}/commits/{commit_sha}/pulls"]["response"]; - }; - listReleaseAssets: { - parameters: RequestParameters & Omit; - response: Endpoints["GET /repos/{owner}/{repo}/releases/{release_id}/assets"]["response"]; - }; - listReleases: { - parameters: RequestParameters & Omit; - response: Endpoints["GET /repos/{owner}/{repo}/releases"]["response"]; - }; - listTags: { - parameters: RequestParameters & Omit; - response: Endpoints["GET /repos/{owner}/{repo}/tags"]["response"]; - }; - listTeams: { - parameters: RequestParameters & Omit; - response: Endpoints["GET /repos/{owner}/{repo}/teams"]["response"]; - }; - listWebhookDeliveries: { - parameters: RequestParameters & Omit; - response: Endpoints["GET /repos/{owner}/{repo}/hooks/{hook_id}/deliveries"]["response"]; - }; - listWebhooks: { - parameters: RequestParameters & Omit; - response: Endpoints["GET /repos/{owner}/{repo}/hooks"]["response"]; - }; - merge: { - parameters: RequestParameters & Omit; - response: Endpoints["POST /repos/{owner}/{repo}/merges"]["response"]; - }; - pingWebhook: { - parameters: RequestParameters & Omit; - response: Endpoints["POST /repos/{owner}/{repo}/hooks/{hook_id}/pings"]["response"]; - }; - redeliverWebhookDelivery: { - parameters: RequestParameters & Omit; - response: Endpoints["POST /repos/{owner}/{repo}/hooks/{hook_id}/deliveries/{delivery_id}/attempts"]["response"]; - }; - removeAppAccessRestrictions: { - parameters: RequestParameters & Omit; - response: Endpoints["DELETE /repos/{owner}/{repo}/branches/{branch}/protection/restrictions/apps"]["response"]; - }; - removeCollaborator: { - parameters: RequestParameters & Omit; - response: Endpoints["DELETE /repos/{owner}/{repo}/collaborators/{username}"]["response"]; - }; - removeStatusCheckContexts: { - parameters: RequestParameters & Omit; - response: Endpoints["DELETE /repos/{owner}/{repo}/branches/{branch}/protection/required_status_checks/contexts"]["response"]; - }; - removeStatusCheckProtection: { - parameters: RequestParameters & Omit; - response: Endpoints["DELETE /repos/{owner}/{repo}/branches/{branch}/protection/required_status_checks"]["response"]; - }; - removeTeamAccessRestrictions: { - parameters: RequestParameters & Omit; - response: Endpoints["DELETE /repos/{owner}/{repo}/branches/{branch}/protection/restrictions/teams"]["response"]; - }; - removeUserAccessRestrictions: { - parameters: RequestParameters & Omit; - response: Endpoints["DELETE /repos/{owner}/{repo}/branches/{branch}/protection/restrictions/users"]["response"]; - }; - renameBranch: { - parameters: RequestParameters & Omit; - response: Endpoints["POST /repos/{owner}/{repo}/branches/{branch}/rename"]["response"]; - }; - replaceAllTopics: { - parameters: RequestParameters & Omit; - response: Endpoints["PUT /repos/{owner}/{repo}/topics"]["response"]; - }; - requestPagesBuild: { - parameters: RequestParameters & Omit; - response: Endpoints["POST /repos/{owner}/{repo}/pages/builds"]["response"]; - }; - setAdminBranchProtection: { - parameters: RequestParameters & Omit; - response: Endpoints["POST /repos/{owner}/{repo}/branches/{branch}/protection/enforce_admins"]["response"]; - }; - setAppAccessRestrictions: { - parameters: RequestParameters & Omit; - response: Endpoints["PUT /repos/{owner}/{repo}/branches/{branch}/protection/restrictions/apps"]["response"]; - }; - setStatusCheckContexts: { - parameters: RequestParameters & Omit; - response: Endpoints["PUT /repos/{owner}/{repo}/branches/{branch}/protection/required_status_checks/contexts"]["response"]; - }; - setTeamAccessRestrictions: { - parameters: RequestParameters & Omit; - response: Endpoints["PUT /repos/{owner}/{repo}/branches/{branch}/protection/restrictions/teams"]["response"]; - }; - setUserAccessRestrictions: { - parameters: RequestParameters & Omit; - response: Endpoints["PUT /repos/{owner}/{repo}/branches/{branch}/protection/restrictions/users"]["response"]; - }; - testPushWebhook: { - parameters: RequestParameters & Omit; - response: Endpoints["POST /repos/{owner}/{repo}/hooks/{hook_id}/tests"]["response"]; - }; - transfer: { - parameters: RequestParameters & Omit; - response: Endpoints["POST /repos/{owner}/{repo}/transfer"]["response"]; - }; - update: { - parameters: RequestParameters & Omit; - response: Endpoints["PATCH /repos/{owner}/{repo}"]["response"]; - }; - updateBranchProtection: { - parameters: RequestParameters & Omit; - response: Endpoints["PUT /repos/{owner}/{repo}/branches/{branch}/protection"]["response"]; - }; - updateCommitComment: { - parameters: RequestParameters & Omit; - response: Endpoints["PATCH /repos/{owner}/{repo}/comments/{comment_id}"]["response"]; - }; - updateInformationAboutPagesSite: { - parameters: RequestParameters & Omit; - response: Endpoints["PUT /repos/{owner}/{repo}/pages"]["response"]; - }; - updateInvitation: { - parameters: RequestParameters & Omit; - response: Endpoints["PATCH /repos/{owner}/{repo}/invitations/{invitation_id}"]["response"]; - }; - updatePullRequestReviewProtection: { - parameters: RequestParameters & Omit; - response: Endpoints["PATCH /repos/{owner}/{repo}/branches/{branch}/protection/required_pull_request_reviews"]["response"]; - }; - updateRelease: { - parameters: RequestParameters & Omit; - response: Endpoints["PATCH /repos/{owner}/{repo}/releases/{release_id}"]["response"]; - }; - updateReleaseAsset: { - parameters: RequestParameters & Omit; - response: Endpoints["PATCH /repos/{owner}/{repo}/releases/assets/{asset_id}"]["response"]; - }; - updateStatusCheckPotection: { - parameters: RequestParameters & Omit; - response: Endpoints["PATCH /repos/{owner}/{repo}/branches/{branch}/protection/required_status_checks"]["response"]; - }; - updateStatusCheckProtection: { - parameters: RequestParameters & Omit; - response: Endpoints["PATCH /repos/{owner}/{repo}/branches/{branch}/protection/required_status_checks"]["response"]; - }; - updateWebhook: { - parameters: RequestParameters & Omit; - response: Endpoints["PATCH /repos/{owner}/{repo}/hooks/{hook_id}"]["response"]; - }; - updateWebhookConfigForRepo: { - parameters: RequestParameters & Omit; - response: Endpoints["PATCH /repos/{owner}/{repo}/hooks/{hook_id}/config"]["response"]; - }; - uploadReleaseAsset: { - parameters: RequestParameters & Omit; - response: Endpoints["POST {origin}/repos/{owner}/{repo}/releases/{release_id}/assets{?name,label}"]["response"]; - }; - }; - search: { - code: { - parameters: RequestParameters & Omit; - response: Endpoints["GET /search/code"]["response"]; - }; - commits: { - parameters: RequestParameters & Omit; - response: Endpoints["GET /search/commits"]["response"]; - }; - issuesAndPullRequests: { - parameters: RequestParameters & Omit; - response: Endpoints["GET /search/issues"]["response"]; - }; - labels: { - parameters: RequestParameters & Omit; - response: Endpoints["GET /search/labels"]["response"]; - }; - repos: { - parameters: RequestParameters & Omit; - response: Endpoints["GET /search/repositories"]["response"]; - }; - topics: { - parameters: RequestParameters & Omit; - response: Endpoints["GET /search/topics"]["response"]; - }; - users: { - parameters: RequestParameters & Omit; - response: Endpoints["GET /search/users"]["response"]; - }; - }; - secretScanning: { - getAlert: { - parameters: RequestParameters & Omit; - response: Endpoints["GET /repos/{owner}/{repo}/secret-scanning/alerts/{alert_number}"]["response"]; - }; - listAlertsForRepo: { - parameters: RequestParameters & Omit; - response: Endpoints["GET /repos/{owner}/{repo}/secret-scanning/alerts"]["response"]; - }; - updateAlert: { - parameters: RequestParameters & Omit; - response: Endpoints["PATCH /repos/{owner}/{repo}/secret-scanning/alerts/{alert_number}"]["response"]; - }; - }; - teams: { - addOrUpdateMembershipForUserInOrg: { - parameters: RequestParameters & Omit; - response: Endpoints["PUT /orgs/{org}/teams/{team_slug}/memberships/{username}"]["response"]; - }; - addOrUpdateProjectPermissionsInOrg: { - parameters: RequestParameters & Omit; - response: Endpoints["PUT /orgs/{org}/teams/{team_slug}/projects/{project_id}"]["response"]; - }; - addOrUpdateRepoPermissionsInOrg: { - parameters: RequestParameters & Omit; - response: Endpoints["PUT /orgs/{org}/teams/{team_slug}/repos/{owner}/{repo}"]["response"]; - }; - checkPermissionsForProjectInOrg: { - parameters: RequestParameters & Omit; - response: Endpoints["GET /orgs/{org}/teams/{team_slug}/projects/{project_id}"]["response"]; - }; - checkPermissionsForRepoInOrg: { - parameters: RequestParameters & Omit; - response: Endpoints["GET /orgs/{org}/teams/{team_slug}/repos/{owner}/{repo}"]["response"]; - }; - create: { - parameters: RequestParameters & Omit; - response: Endpoints["POST /orgs/{org}/teams"]["response"]; - }; - createDiscussionCommentInOrg: { - parameters: RequestParameters & Omit; - response: Endpoints["POST /orgs/{org}/teams/{team_slug}/discussions/{discussion_number}/comments"]["response"]; - }; - createDiscussionInOrg: { - parameters: RequestParameters & Omit; - response: Endpoints["POST /orgs/{org}/teams/{team_slug}/discussions"]["response"]; - }; - deleteDiscussionCommentInOrg: { - parameters: RequestParameters & Omit; - response: Endpoints["DELETE /orgs/{org}/teams/{team_slug}/discussions/{discussion_number}/comments/{comment_number}"]["response"]; - }; - deleteDiscussionInOrg: { - parameters: RequestParameters & Omit; - response: Endpoints["DELETE /orgs/{org}/teams/{team_slug}/discussions/{discussion_number}"]["response"]; - }; - deleteInOrg: { - parameters: RequestParameters & Omit; - response: Endpoints["DELETE /orgs/{org}/teams/{team_slug}"]["response"]; - }; - getByName: { - parameters: RequestParameters & Omit; - response: Endpoints["GET /orgs/{org}/teams/{team_slug}"]["response"]; - }; - getDiscussionCommentInOrg: { - parameters: RequestParameters & Omit; - response: Endpoints["GET /orgs/{org}/teams/{team_slug}/discussions/{discussion_number}/comments/{comment_number}"]["response"]; - }; - getDiscussionInOrg: { - parameters: RequestParameters & Omit; - response: Endpoints["GET /orgs/{org}/teams/{team_slug}/discussions/{discussion_number}"]["response"]; - }; - getMembershipForUserInOrg: { - parameters: RequestParameters & Omit; - response: Endpoints["GET /orgs/{org}/teams/{team_slug}/memberships/{username}"]["response"]; - }; - list: { - parameters: RequestParameters & Omit; - response: Endpoints["GET /orgs/{org}/teams"]["response"]; - }; - listChildInOrg: { - parameters: RequestParameters & Omit; - response: Endpoints["GET /orgs/{org}/teams/{team_slug}/teams"]["response"]; - }; - listDiscussionCommentsInOrg: { - parameters: RequestParameters & Omit; - response: Endpoints["GET /orgs/{org}/teams/{team_slug}/discussions/{discussion_number}/comments"]["response"]; - }; - listDiscussionsInOrg: { - parameters: RequestParameters & Omit; - response: Endpoints["GET /orgs/{org}/teams/{team_slug}/discussions"]["response"]; - }; - listForAuthenticatedUser: { - parameters: RequestParameters & Omit; - response: Endpoints["GET /user/teams"]["response"]; - }; - listMembersInOrg: { - parameters: RequestParameters & Omit; - response: Endpoints["GET /orgs/{org}/teams/{team_slug}/members"]["response"]; - }; - listPendingInvitationsInOrg: { - parameters: RequestParameters & Omit; - response: Endpoints["GET /orgs/{org}/teams/{team_slug}/invitations"]["response"]; - }; - listProjectsInOrg: { - parameters: RequestParameters & Omit; - response: Endpoints["GET /orgs/{org}/teams/{team_slug}/projects"]["response"]; - }; - listReposInOrg: { - parameters: RequestParameters & Omit; - response: Endpoints["GET /orgs/{org}/teams/{team_slug}/repos"]["response"]; - }; - removeMembershipForUserInOrg: { - parameters: RequestParameters & Omit; - response: Endpoints["DELETE /orgs/{org}/teams/{team_slug}/memberships/{username}"]["response"]; - }; - removeProjectInOrg: { - parameters: RequestParameters & Omit; - response: Endpoints["DELETE /orgs/{org}/teams/{team_slug}/projects/{project_id}"]["response"]; - }; - removeRepoInOrg: { - parameters: RequestParameters & Omit; - response: Endpoints["DELETE /orgs/{org}/teams/{team_slug}/repos/{owner}/{repo}"]["response"]; - }; - updateDiscussionCommentInOrg: { - parameters: RequestParameters & Omit; - response: Endpoints["PATCH /orgs/{org}/teams/{team_slug}/discussions/{discussion_number}/comments/{comment_number}"]["response"]; - }; - updateDiscussionInOrg: { - parameters: RequestParameters & Omit; - response: Endpoints["PATCH /orgs/{org}/teams/{team_slug}/discussions/{discussion_number}"]["response"]; - }; - updateInOrg: { - parameters: RequestParameters & Omit; - response: Endpoints["PATCH /orgs/{org}/teams/{team_slug}"]["response"]; - }; - }; - users: { - addEmailForAuthenticated: { - parameters: RequestParameters & Omit; - response: Endpoints["POST /user/emails"]["response"]; - }; - block: { - parameters: RequestParameters & Omit; - response: Endpoints["PUT /user/blocks/{username}"]["response"]; - }; - checkBlocked: { - parameters: RequestParameters & Omit; - response: Endpoints["GET /user/blocks/{username}"]["response"]; - }; - checkFollowingForUser: { - parameters: RequestParameters & Omit; - response: Endpoints["GET /users/{username}/following/{target_user}"]["response"]; - }; - checkPersonIsFollowedByAuthenticated: { - parameters: RequestParameters & Omit; - response: Endpoints["GET /user/following/{username}"]["response"]; - }; - createGpgKeyForAuthenticated: { - parameters: RequestParameters & Omit; - response: Endpoints["POST /user/gpg_keys"]["response"]; - }; - createPublicSshKeyForAuthenticated: { - parameters: RequestParameters & Omit; - response: Endpoints["POST /user/keys"]["response"]; - }; - deleteEmailForAuthenticated: { - parameters: RequestParameters & Omit; - response: Endpoints["DELETE /user/emails"]["response"]; - }; - deleteGpgKeyForAuthenticated: { - parameters: RequestParameters & Omit; - response: Endpoints["DELETE /user/gpg_keys/{gpg_key_id}"]["response"]; - }; - deletePublicSshKeyForAuthenticated: { - parameters: RequestParameters & Omit; - response: Endpoints["DELETE /user/keys/{key_id}"]["response"]; - }; - follow: { - parameters: RequestParameters & Omit; - response: Endpoints["PUT /user/following/{username}"]["response"]; - }; - getAuthenticated: { - parameters: RequestParameters & Omit; - response: Endpoints["GET /user"]["response"]; - }; - getByUsername: { - parameters: RequestParameters & Omit; - response: Endpoints["GET /users/{username}"]["response"]; - }; - getContextForUser: { - parameters: RequestParameters & Omit; - response: Endpoints["GET /users/{username}/hovercard"]["response"]; - }; - getGpgKeyForAuthenticated: { - parameters: RequestParameters & Omit; - response: Endpoints["GET /user/gpg_keys/{gpg_key_id}"]["response"]; - }; - getPublicSshKeyForAuthenticated: { - parameters: RequestParameters & Omit; - response: Endpoints["GET /user/keys/{key_id}"]["response"]; - }; - list: { - parameters: RequestParameters & Omit; - response: Endpoints["GET /users"]["response"]; - }; - listBlockedByAuthenticated: { - parameters: RequestParameters & Omit; - response: Endpoints["GET /user/blocks"]["response"]; - }; - listEmailsForAuthenticated: { - parameters: RequestParameters & Omit; - response: Endpoints["GET /user/emails"]["response"]; - }; - listFollowedByAuthenticated: { - parameters: RequestParameters & Omit; - response: Endpoints["GET /user/following"]["response"]; - }; - listFollowersForAuthenticatedUser: { - parameters: RequestParameters & Omit; - response: Endpoints["GET /user/followers"]["response"]; - }; - listFollowersForUser: { - parameters: RequestParameters & Omit; - response: Endpoints["GET /users/{username}/followers"]["response"]; - }; - listFollowingForUser: { - parameters: RequestParameters & Omit; - response: Endpoints["GET /users/{username}/following"]["response"]; - }; - listGpgKeysForAuthenticated: { - parameters: RequestParameters & Omit; - response: Endpoints["GET /user/gpg_keys"]["response"]; - }; - listGpgKeysForUser: { - parameters: RequestParameters & Omit; - response: Endpoints["GET /users/{username}/gpg_keys"]["response"]; - }; - listPublicEmailsForAuthenticated: { - parameters: RequestParameters & Omit; - response: Endpoints["GET /user/public_emails"]["response"]; - }; - listPublicKeysForUser: { - parameters: RequestParameters & Omit; - response: Endpoints["GET /users/{username}/keys"]["response"]; - }; - listPublicSshKeysForAuthenticated: { - parameters: RequestParameters & Omit; - response: Endpoints["GET /user/keys"]["response"]; - }; - setPrimaryEmailVisibilityForAuthenticated: { - parameters: RequestParameters & Omit; - response: Endpoints["PATCH /user/email/visibility"]["response"]; - }; - unblock: { - parameters: RequestParameters & Omit; - response: Endpoints["DELETE /user/blocks/{username}"]["response"]; - }; - unfollow: { - parameters: RequestParameters & Omit; - response: Endpoints["DELETE /user/following/{username}"]["response"]; - }; - updateAuthenticated: { - parameters: RequestParameters & Omit; - response: Endpoints["PATCH /user"]["response"]; - }; - }; -}; diff --git a/node_modules/@octokit/plugin-rest-endpoint-methods/dist-types/index.d.ts b/node_modules/@octokit/plugin-rest-endpoint-methods/dist-types/index.d.ts deleted file mode 100644 index a81f3b0..0000000 --- a/node_modules/@octokit/plugin-rest-endpoint-methods/dist-types/index.d.ts +++ /dev/null @@ -1,11 +0,0 @@ -import { Octokit } from "@octokit/core"; -export { RestEndpointMethodTypes } from "./generated/parameters-and-response-types"; -import { Api } from "./types"; -export declare function restEndpointMethods(octokit: Octokit): Api; -export declare namespace restEndpointMethods { - var VERSION: string; -} -export declare function legacyRestEndpointMethods(octokit: Octokit): Api["rest"] & Api; -export declare namespace legacyRestEndpointMethods { - var VERSION: string; -} diff --git a/node_modules/@octokit/plugin-rest-endpoint-methods/dist-types/types.d.ts b/node_modules/@octokit/plugin-rest-endpoint-methods/dist-types/types.d.ts deleted file mode 100644 index 3628f02..0000000 --- a/node_modules/@octokit/plugin-rest-endpoint-methods/dist-types/types.d.ts +++ /dev/null @@ -1,18 +0,0 @@ -import { Route, RequestParameters } from "@octokit/types"; -import { RestEndpointMethods } from "./generated/method-types"; -export declare type Api = { - rest: RestEndpointMethods; -}; -export declare type EndpointDecorations = { - mapToData?: string; - deprecated?: string; - renamed?: [string, string]; - renamedParameters?: { - [name: string]: string; - }; -}; -export declare type EndpointsDefaultsAndDecorations = { - [scope: string]: { - [methodName: string]: [Route, RequestParameters?, EndpointDecorations?]; - }; -}; diff --git a/node_modules/@octokit/plugin-rest-endpoint-methods/dist-types/version.d.ts b/node_modules/@octokit/plugin-rest-endpoint-methods/dist-types/version.d.ts deleted file mode 100644 index a79473e..0000000 --- a/node_modules/@octokit/plugin-rest-endpoint-methods/dist-types/version.d.ts +++ /dev/null @@ -1 +0,0 @@ -export declare const VERSION = "5.5.2"; diff --git a/node_modules/@octokit/plugin-rest-endpoint-methods/dist-web/index.js b/node_modules/@octokit/plugin-rest-endpoint-methods/dist-web/index.js deleted file mode 100644 index 8b2fb9d..0000000 --- a/node_modules/@octokit/plugin-rest-endpoint-methods/dist-web/index.js +++ /dev/null @@ -1,1521 +0,0 @@ -const Endpoints = { - actions: { - addSelectedRepoToOrgSecret: [ - "PUT /orgs/{org}/actions/secrets/{secret_name}/repositories/{repository_id}", - ], - approveWorkflowRun: [ - "POST /repos/{owner}/{repo}/actions/runs/{run_id}/approve", - ], - cancelWorkflowRun: [ - "POST /repos/{owner}/{repo}/actions/runs/{run_id}/cancel", - ], - createOrUpdateEnvironmentSecret: [ - "PUT /repositories/{repository_id}/environments/{environment_name}/secrets/{secret_name}", - ], - createOrUpdateOrgSecret: ["PUT /orgs/{org}/actions/secrets/{secret_name}"], - createOrUpdateRepoSecret: [ - "PUT /repos/{owner}/{repo}/actions/secrets/{secret_name}", - ], - createRegistrationTokenForOrg: [ - "POST /orgs/{org}/actions/runners/registration-token", - ], - createRegistrationTokenForRepo: [ - "POST /repos/{owner}/{repo}/actions/runners/registration-token", - ], - createRemoveTokenForOrg: ["POST /orgs/{org}/actions/runners/remove-token"], - createRemoveTokenForRepo: [ - "POST /repos/{owner}/{repo}/actions/runners/remove-token", - ], - createWorkflowDispatch: [ - "POST /repos/{owner}/{repo}/actions/workflows/{workflow_id}/dispatches", - ], - deleteArtifact: [ - "DELETE /repos/{owner}/{repo}/actions/artifacts/{artifact_id}", - ], - deleteEnvironmentSecret: [ - "DELETE /repositories/{repository_id}/environments/{environment_name}/secrets/{secret_name}", - ], - deleteOrgSecret: ["DELETE /orgs/{org}/actions/secrets/{secret_name}"], - deleteRepoSecret: [ - "DELETE /repos/{owner}/{repo}/actions/secrets/{secret_name}", - ], - deleteSelfHostedRunnerFromOrg: [ - "DELETE /orgs/{org}/actions/runners/{runner_id}", - ], - deleteSelfHostedRunnerFromRepo: [ - "DELETE /repos/{owner}/{repo}/actions/runners/{runner_id}", - ], - deleteWorkflowRun: ["DELETE /repos/{owner}/{repo}/actions/runs/{run_id}"], - deleteWorkflowRunLogs: [ - "DELETE /repos/{owner}/{repo}/actions/runs/{run_id}/logs", - ], - disableSelectedRepositoryGithubActionsOrganization: [ - "DELETE /orgs/{org}/actions/permissions/repositories/{repository_id}", - ], - disableWorkflow: [ - "PUT /repos/{owner}/{repo}/actions/workflows/{workflow_id}/disable", - ], - downloadArtifact: [ - "GET /repos/{owner}/{repo}/actions/artifacts/{artifact_id}/{archive_format}", - ], - downloadJobLogsForWorkflowRun: [ - "GET /repos/{owner}/{repo}/actions/jobs/{job_id}/logs", - ], - downloadWorkflowRunLogs: [ - "GET /repos/{owner}/{repo}/actions/runs/{run_id}/logs", - ], - enableSelectedRepositoryGithubActionsOrganization: [ - "PUT /orgs/{org}/actions/permissions/repositories/{repository_id}", - ], - enableWorkflow: [ - "PUT /repos/{owner}/{repo}/actions/workflows/{workflow_id}/enable", - ], - getAllowedActionsOrganization: [ - "GET /orgs/{org}/actions/permissions/selected-actions", - ], - getAllowedActionsRepository: [ - "GET /repos/{owner}/{repo}/actions/permissions/selected-actions", - ], - getArtifact: ["GET /repos/{owner}/{repo}/actions/artifacts/{artifact_id}"], - getEnvironmentPublicKey: [ - "GET /repositories/{repository_id}/environments/{environment_name}/secrets/public-key", - ], - getEnvironmentSecret: [ - "GET /repositories/{repository_id}/environments/{environment_name}/secrets/{secret_name}", - ], - getGithubActionsPermissionsOrganization: [ - "GET /orgs/{org}/actions/permissions", - ], - getGithubActionsPermissionsRepository: [ - "GET /repos/{owner}/{repo}/actions/permissions", - ], - getJobForWorkflowRun: ["GET /repos/{owner}/{repo}/actions/jobs/{job_id}"], - getOrgPublicKey: ["GET /orgs/{org}/actions/secrets/public-key"], - getOrgSecret: ["GET /orgs/{org}/actions/secrets/{secret_name}"], - getPendingDeploymentsForRun: [ - "GET /repos/{owner}/{repo}/actions/runs/{run_id}/pending_deployments", - ], - getRepoPermissions: [ - "GET /repos/{owner}/{repo}/actions/permissions", - {}, - { renamed: ["actions", "getGithubActionsPermissionsRepository"] }, - ], - getRepoPublicKey: ["GET /repos/{owner}/{repo}/actions/secrets/public-key"], - getRepoSecret: ["GET /repos/{owner}/{repo}/actions/secrets/{secret_name}"], - getReviewsForRun: [ - "GET /repos/{owner}/{repo}/actions/runs/{run_id}/approvals", - ], - getSelfHostedRunnerForOrg: ["GET /orgs/{org}/actions/runners/{runner_id}"], - getSelfHostedRunnerForRepo: [ - "GET /repos/{owner}/{repo}/actions/runners/{runner_id}", - ], - getWorkflow: ["GET /repos/{owner}/{repo}/actions/workflows/{workflow_id}"], - getWorkflowRun: ["GET /repos/{owner}/{repo}/actions/runs/{run_id}"], - getWorkflowRunUsage: [ - "GET /repos/{owner}/{repo}/actions/runs/{run_id}/timing", - ], - getWorkflowUsage: [ - "GET /repos/{owner}/{repo}/actions/workflows/{workflow_id}/timing", - ], - listArtifactsForRepo: ["GET /repos/{owner}/{repo}/actions/artifacts"], - listEnvironmentSecrets: [ - "GET /repositories/{repository_id}/environments/{environment_name}/secrets", - ], - listJobsForWorkflowRun: [ - "GET /repos/{owner}/{repo}/actions/runs/{run_id}/jobs", - ], - listOrgSecrets: ["GET /orgs/{org}/actions/secrets"], - listRepoSecrets: ["GET /repos/{owner}/{repo}/actions/secrets"], - listRepoWorkflows: ["GET /repos/{owner}/{repo}/actions/workflows"], - listRunnerApplicationsForOrg: ["GET /orgs/{org}/actions/runners/downloads"], - listRunnerApplicationsForRepo: [ - "GET /repos/{owner}/{repo}/actions/runners/downloads", - ], - listSelectedReposForOrgSecret: [ - "GET /orgs/{org}/actions/secrets/{secret_name}/repositories", - ], - listSelectedRepositoriesEnabledGithubActionsOrganization: [ - "GET /orgs/{org}/actions/permissions/repositories", - ], - listSelfHostedRunnersForOrg: ["GET /orgs/{org}/actions/runners"], - listSelfHostedRunnersForRepo: ["GET /repos/{owner}/{repo}/actions/runners"], - listWorkflowRunArtifacts: [ - "GET /repos/{owner}/{repo}/actions/runs/{run_id}/artifacts", - ], - listWorkflowRuns: [ - "GET /repos/{owner}/{repo}/actions/workflows/{workflow_id}/runs", - ], - listWorkflowRunsForRepo: ["GET /repos/{owner}/{repo}/actions/runs"], - reRunWorkflow: ["POST /repos/{owner}/{repo}/actions/runs/{run_id}/rerun"], - removeSelectedRepoFromOrgSecret: [ - "DELETE /orgs/{org}/actions/secrets/{secret_name}/repositories/{repository_id}", - ], - reviewPendingDeploymentsForRun: [ - "POST /repos/{owner}/{repo}/actions/runs/{run_id}/pending_deployments", - ], - setAllowedActionsOrganization: [ - "PUT /orgs/{org}/actions/permissions/selected-actions", - ], - setAllowedActionsRepository: [ - "PUT /repos/{owner}/{repo}/actions/permissions/selected-actions", - ], - setGithubActionsPermissionsOrganization: [ - "PUT /orgs/{org}/actions/permissions", - ], - setGithubActionsPermissionsRepository: [ - "PUT /repos/{owner}/{repo}/actions/permissions", - ], - setSelectedReposForOrgSecret: [ - "PUT /orgs/{org}/actions/secrets/{secret_name}/repositories", - ], - setSelectedRepositoriesEnabledGithubActionsOrganization: [ - "PUT /orgs/{org}/actions/permissions/repositories", - ], - }, - activity: { - checkRepoIsStarredByAuthenticatedUser: ["GET /user/starred/{owner}/{repo}"], - deleteRepoSubscription: ["DELETE /repos/{owner}/{repo}/subscription"], - deleteThreadSubscription: [ - "DELETE /notifications/threads/{thread_id}/subscription", - ], - getFeeds: ["GET /feeds"], - getRepoSubscription: ["GET /repos/{owner}/{repo}/subscription"], - getThread: ["GET /notifications/threads/{thread_id}"], - getThreadSubscriptionForAuthenticatedUser: [ - "GET /notifications/threads/{thread_id}/subscription", - ], - listEventsForAuthenticatedUser: ["GET /users/{username}/events"], - listNotificationsForAuthenticatedUser: ["GET /notifications"], - listOrgEventsForAuthenticatedUser: [ - "GET /users/{username}/events/orgs/{org}", - ], - listPublicEvents: ["GET /events"], - listPublicEventsForRepoNetwork: ["GET /networks/{owner}/{repo}/events"], - listPublicEventsForUser: ["GET /users/{username}/events/public"], - listPublicOrgEvents: ["GET /orgs/{org}/events"], - listReceivedEventsForUser: ["GET /users/{username}/received_events"], - listReceivedPublicEventsForUser: [ - "GET /users/{username}/received_events/public", - ], - listRepoEvents: ["GET /repos/{owner}/{repo}/events"], - listRepoNotificationsForAuthenticatedUser: [ - "GET /repos/{owner}/{repo}/notifications", - ], - listReposStarredByAuthenticatedUser: ["GET /user/starred"], - listReposStarredByUser: ["GET /users/{username}/starred"], - listReposWatchedByUser: ["GET /users/{username}/subscriptions"], - listStargazersForRepo: ["GET /repos/{owner}/{repo}/stargazers"], - listWatchedReposForAuthenticatedUser: ["GET /user/subscriptions"], - listWatchersForRepo: ["GET /repos/{owner}/{repo}/subscribers"], - markNotificationsAsRead: ["PUT /notifications"], - markRepoNotificationsAsRead: ["PUT /repos/{owner}/{repo}/notifications"], - markThreadAsRead: ["PATCH /notifications/threads/{thread_id}"], - setRepoSubscription: ["PUT /repos/{owner}/{repo}/subscription"], - setThreadSubscription: [ - "PUT /notifications/threads/{thread_id}/subscription", - ], - starRepoForAuthenticatedUser: ["PUT /user/starred/{owner}/{repo}"], - unstarRepoForAuthenticatedUser: ["DELETE /user/starred/{owner}/{repo}"], - }, - apps: { - addRepoToInstallation: [ - "PUT /user/installations/{installation_id}/repositories/{repository_id}", - ], - checkToken: ["POST /applications/{client_id}/token"], - createContentAttachment: [ - "POST /content_references/{content_reference_id}/attachments", - { mediaType: { previews: ["corsair"] } }, - ], - createContentAttachmentForRepo: [ - "POST /repos/{owner}/{repo}/content_references/{content_reference_id}/attachments", - { mediaType: { previews: ["corsair"] } }, - ], - createFromManifest: ["POST /app-manifests/{code}/conversions"], - createInstallationAccessToken: [ - "POST /app/installations/{installation_id}/access_tokens", - ], - deleteAuthorization: ["DELETE /applications/{client_id}/grant"], - deleteInstallation: ["DELETE /app/installations/{installation_id}"], - deleteToken: ["DELETE /applications/{client_id}/token"], - getAuthenticated: ["GET /app"], - getBySlug: ["GET /apps/{app_slug}"], - getInstallation: ["GET /app/installations/{installation_id}"], - getOrgInstallation: ["GET /orgs/{org}/installation"], - getRepoInstallation: ["GET /repos/{owner}/{repo}/installation"], - getSubscriptionPlanForAccount: [ - "GET /marketplace_listing/accounts/{account_id}", - ], - getSubscriptionPlanForAccountStubbed: [ - "GET /marketplace_listing/stubbed/accounts/{account_id}", - ], - getUserInstallation: ["GET /users/{username}/installation"], - getWebhookConfigForApp: ["GET /app/hook/config"], - getWebhookDelivery: ["GET /app/hook/deliveries/{delivery_id}"], - listAccountsForPlan: ["GET /marketplace_listing/plans/{plan_id}/accounts"], - listAccountsForPlanStubbed: [ - "GET /marketplace_listing/stubbed/plans/{plan_id}/accounts", - ], - listInstallationReposForAuthenticatedUser: [ - "GET /user/installations/{installation_id}/repositories", - ], - listInstallations: ["GET /app/installations"], - listInstallationsForAuthenticatedUser: ["GET /user/installations"], - listPlans: ["GET /marketplace_listing/plans"], - listPlansStubbed: ["GET /marketplace_listing/stubbed/plans"], - listReposAccessibleToInstallation: ["GET /installation/repositories"], - listSubscriptionsForAuthenticatedUser: ["GET /user/marketplace_purchases"], - listSubscriptionsForAuthenticatedUserStubbed: [ - "GET /user/marketplace_purchases/stubbed", - ], - listWebhookDeliveries: ["GET /app/hook/deliveries"], - redeliverWebhookDelivery: [ - "POST /app/hook/deliveries/{delivery_id}/attempts", - ], - removeRepoFromInstallation: [ - "DELETE /user/installations/{installation_id}/repositories/{repository_id}", - ], - resetToken: ["PATCH /applications/{client_id}/token"], - revokeInstallationAccessToken: ["DELETE /installation/token"], - scopeToken: ["POST /applications/{client_id}/token/scoped"], - suspendInstallation: ["PUT /app/installations/{installation_id}/suspended"], - unsuspendInstallation: [ - "DELETE /app/installations/{installation_id}/suspended", - ], - updateWebhookConfigForApp: ["PATCH /app/hook/config"], - }, - billing: { - getGithubActionsBillingOrg: ["GET /orgs/{org}/settings/billing/actions"], - getGithubActionsBillingUser: [ - "GET /users/{username}/settings/billing/actions", - ], - getGithubPackagesBillingOrg: ["GET /orgs/{org}/settings/billing/packages"], - getGithubPackagesBillingUser: [ - "GET /users/{username}/settings/billing/packages", - ], - getSharedStorageBillingOrg: [ - "GET /orgs/{org}/settings/billing/shared-storage", - ], - getSharedStorageBillingUser: [ - "GET /users/{username}/settings/billing/shared-storage", - ], - }, - checks: { - create: ["POST /repos/{owner}/{repo}/check-runs"], - createSuite: ["POST /repos/{owner}/{repo}/check-suites"], - get: ["GET /repos/{owner}/{repo}/check-runs/{check_run_id}"], - getSuite: ["GET /repos/{owner}/{repo}/check-suites/{check_suite_id}"], - listAnnotations: [ - "GET /repos/{owner}/{repo}/check-runs/{check_run_id}/annotations", - ], - listForRef: ["GET /repos/{owner}/{repo}/commits/{ref}/check-runs"], - listForSuite: [ - "GET /repos/{owner}/{repo}/check-suites/{check_suite_id}/check-runs", - ], - listSuitesForRef: ["GET /repos/{owner}/{repo}/commits/{ref}/check-suites"], - rerequestSuite: [ - "POST /repos/{owner}/{repo}/check-suites/{check_suite_id}/rerequest", - ], - setSuitesPreferences: [ - "PATCH /repos/{owner}/{repo}/check-suites/preferences", - ], - update: ["PATCH /repos/{owner}/{repo}/check-runs/{check_run_id}"], - }, - codeScanning: { - deleteAnalysis: [ - "DELETE /repos/{owner}/{repo}/code-scanning/analyses/{analysis_id}{?confirm_delete}", - ], - getAlert: [ - "GET /repos/{owner}/{repo}/code-scanning/alerts/{alert_number}", - {}, - { renamedParameters: { alert_id: "alert_number" } }, - ], - getAnalysis: [ - "GET /repos/{owner}/{repo}/code-scanning/analyses/{analysis_id}", - ], - getSarif: ["GET /repos/{owner}/{repo}/code-scanning/sarifs/{sarif_id}"], - listAlertInstances: [ - "GET /repos/{owner}/{repo}/code-scanning/alerts/{alert_number}/instances", - ], - listAlertsForRepo: ["GET /repos/{owner}/{repo}/code-scanning/alerts"], - listAlertsInstances: [ - "GET /repos/{owner}/{repo}/code-scanning/alerts/{alert_number}/instances", - {}, - { renamed: ["codeScanning", "listAlertInstances"] }, - ], - listRecentAnalyses: ["GET /repos/{owner}/{repo}/code-scanning/analyses"], - updateAlert: [ - "PATCH /repos/{owner}/{repo}/code-scanning/alerts/{alert_number}", - ], - uploadSarif: ["POST /repos/{owner}/{repo}/code-scanning/sarifs"], - }, - codesOfConduct: { - getAllCodesOfConduct: ["GET /codes_of_conduct"], - getConductCode: ["GET /codes_of_conduct/{key}"], - getForRepo: [ - "GET /repos/{owner}/{repo}/community/code_of_conduct", - { mediaType: { previews: ["scarlet-witch"] } }, - ], - }, - emojis: { get: ["GET /emojis"] }, - enterpriseAdmin: { - disableSelectedOrganizationGithubActionsEnterprise: [ - "DELETE /enterprises/{enterprise}/actions/permissions/organizations/{org_id}", - ], - enableSelectedOrganizationGithubActionsEnterprise: [ - "PUT /enterprises/{enterprise}/actions/permissions/organizations/{org_id}", - ], - getAllowedActionsEnterprise: [ - "GET /enterprises/{enterprise}/actions/permissions/selected-actions", - ], - getGithubActionsPermissionsEnterprise: [ - "GET /enterprises/{enterprise}/actions/permissions", - ], - listSelectedOrganizationsEnabledGithubActionsEnterprise: [ - "GET /enterprises/{enterprise}/actions/permissions/organizations", - ], - setAllowedActionsEnterprise: [ - "PUT /enterprises/{enterprise}/actions/permissions/selected-actions", - ], - setGithubActionsPermissionsEnterprise: [ - "PUT /enterprises/{enterprise}/actions/permissions", - ], - setSelectedOrganizationsEnabledGithubActionsEnterprise: [ - "PUT /enterprises/{enterprise}/actions/permissions/organizations", - ], - }, - gists: { - checkIsStarred: ["GET /gists/{gist_id}/star"], - create: ["POST /gists"], - createComment: ["POST /gists/{gist_id}/comments"], - delete: ["DELETE /gists/{gist_id}"], - deleteComment: ["DELETE /gists/{gist_id}/comments/{comment_id}"], - fork: ["POST /gists/{gist_id}/forks"], - get: ["GET /gists/{gist_id}"], - getComment: ["GET /gists/{gist_id}/comments/{comment_id}"], - getRevision: ["GET /gists/{gist_id}/{sha}"], - list: ["GET /gists"], - listComments: ["GET /gists/{gist_id}/comments"], - listCommits: ["GET /gists/{gist_id}/commits"], - listForUser: ["GET /users/{username}/gists"], - listForks: ["GET /gists/{gist_id}/forks"], - listPublic: ["GET /gists/public"], - listStarred: ["GET /gists/starred"], - star: ["PUT /gists/{gist_id}/star"], - unstar: ["DELETE /gists/{gist_id}/star"], - update: ["PATCH /gists/{gist_id}"], - updateComment: ["PATCH /gists/{gist_id}/comments/{comment_id}"], - }, - git: { - createBlob: ["POST /repos/{owner}/{repo}/git/blobs"], - createCommit: ["POST /repos/{owner}/{repo}/git/commits"], - createRef: ["POST /repos/{owner}/{repo}/git/refs"], - createTag: ["POST /repos/{owner}/{repo}/git/tags"], - createTree: ["POST /repos/{owner}/{repo}/git/trees"], - deleteRef: ["DELETE /repos/{owner}/{repo}/git/refs/{ref}"], - getBlob: ["GET /repos/{owner}/{repo}/git/blobs/{file_sha}"], - getCommit: ["GET /repos/{owner}/{repo}/git/commits/{commit_sha}"], - getRef: ["GET /repos/{owner}/{repo}/git/ref/{ref}"], - getTag: ["GET /repos/{owner}/{repo}/git/tags/{tag_sha}"], - getTree: ["GET /repos/{owner}/{repo}/git/trees/{tree_sha}"], - listMatchingRefs: ["GET /repos/{owner}/{repo}/git/matching-refs/{ref}"], - updateRef: ["PATCH /repos/{owner}/{repo}/git/refs/{ref}"], - }, - gitignore: { - getAllTemplates: ["GET /gitignore/templates"], - getTemplate: ["GET /gitignore/templates/{name}"], - }, - interactions: { - getRestrictionsForAuthenticatedUser: ["GET /user/interaction-limits"], - getRestrictionsForOrg: ["GET /orgs/{org}/interaction-limits"], - getRestrictionsForRepo: ["GET /repos/{owner}/{repo}/interaction-limits"], - getRestrictionsForYourPublicRepos: [ - "GET /user/interaction-limits", - {}, - { renamed: ["interactions", "getRestrictionsForAuthenticatedUser"] }, - ], - removeRestrictionsForAuthenticatedUser: ["DELETE /user/interaction-limits"], - removeRestrictionsForOrg: ["DELETE /orgs/{org}/interaction-limits"], - removeRestrictionsForRepo: [ - "DELETE /repos/{owner}/{repo}/interaction-limits", - ], - removeRestrictionsForYourPublicRepos: [ - "DELETE /user/interaction-limits", - {}, - { renamed: ["interactions", "removeRestrictionsForAuthenticatedUser"] }, - ], - setRestrictionsForAuthenticatedUser: ["PUT /user/interaction-limits"], - setRestrictionsForOrg: ["PUT /orgs/{org}/interaction-limits"], - setRestrictionsForRepo: ["PUT /repos/{owner}/{repo}/interaction-limits"], - setRestrictionsForYourPublicRepos: [ - "PUT /user/interaction-limits", - {}, - { renamed: ["interactions", "setRestrictionsForAuthenticatedUser"] }, - ], - }, - issues: { - addAssignees: [ - "POST /repos/{owner}/{repo}/issues/{issue_number}/assignees", - ], - addLabels: ["POST /repos/{owner}/{repo}/issues/{issue_number}/labels"], - checkUserCanBeAssigned: ["GET /repos/{owner}/{repo}/assignees/{assignee}"], - create: ["POST /repos/{owner}/{repo}/issues"], - createComment: [ - "POST /repos/{owner}/{repo}/issues/{issue_number}/comments", - ], - createLabel: ["POST /repos/{owner}/{repo}/labels"], - createMilestone: ["POST /repos/{owner}/{repo}/milestones"], - deleteComment: [ - "DELETE /repos/{owner}/{repo}/issues/comments/{comment_id}", - ], - deleteLabel: ["DELETE /repos/{owner}/{repo}/labels/{name}"], - deleteMilestone: [ - "DELETE /repos/{owner}/{repo}/milestones/{milestone_number}", - ], - get: ["GET /repos/{owner}/{repo}/issues/{issue_number}"], - getComment: ["GET /repos/{owner}/{repo}/issues/comments/{comment_id}"], - getEvent: ["GET /repos/{owner}/{repo}/issues/events/{event_id}"], - getLabel: ["GET /repos/{owner}/{repo}/labels/{name}"], - getMilestone: ["GET /repos/{owner}/{repo}/milestones/{milestone_number}"], - list: ["GET /issues"], - listAssignees: ["GET /repos/{owner}/{repo}/assignees"], - listComments: ["GET /repos/{owner}/{repo}/issues/{issue_number}/comments"], - listCommentsForRepo: ["GET /repos/{owner}/{repo}/issues/comments"], - listEvents: ["GET /repos/{owner}/{repo}/issues/{issue_number}/events"], - listEventsForRepo: ["GET /repos/{owner}/{repo}/issues/events"], - listEventsForTimeline: [ - "GET /repos/{owner}/{repo}/issues/{issue_number}/timeline", - { mediaType: { previews: ["mockingbird"] } }, - ], - listForAuthenticatedUser: ["GET /user/issues"], - listForOrg: ["GET /orgs/{org}/issues"], - listForRepo: ["GET /repos/{owner}/{repo}/issues"], - listLabelsForMilestone: [ - "GET /repos/{owner}/{repo}/milestones/{milestone_number}/labels", - ], - listLabelsForRepo: ["GET /repos/{owner}/{repo}/labels"], - listLabelsOnIssue: [ - "GET /repos/{owner}/{repo}/issues/{issue_number}/labels", - ], - listMilestones: ["GET /repos/{owner}/{repo}/milestones"], - lock: ["PUT /repos/{owner}/{repo}/issues/{issue_number}/lock"], - removeAllLabels: [ - "DELETE /repos/{owner}/{repo}/issues/{issue_number}/labels", - ], - removeAssignees: [ - "DELETE /repos/{owner}/{repo}/issues/{issue_number}/assignees", - ], - removeLabel: [ - "DELETE /repos/{owner}/{repo}/issues/{issue_number}/labels/{name}", - ], - setLabels: ["PUT /repos/{owner}/{repo}/issues/{issue_number}/labels"], - unlock: ["DELETE /repos/{owner}/{repo}/issues/{issue_number}/lock"], - update: ["PATCH /repos/{owner}/{repo}/issues/{issue_number}"], - updateComment: ["PATCH /repos/{owner}/{repo}/issues/comments/{comment_id}"], - updateLabel: ["PATCH /repos/{owner}/{repo}/labels/{name}"], - updateMilestone: [ - "PATCH /repos/{owner}/{repo}/milestones/{milestone_number}", - ], - }, - licenses: { - get: ["GET /licenses/{license}"], - getAllCommonlyUsed: ["GET /licenses"], - getForRepo: ["GET /repos/{owner}/{repo}/license"], - }, - markdown: { - render: ["POST /markdown"], - renderRaw: [ - "POST /markdown/raw", - { headers: { "content-type": "text/plain; charset=utf-8" } }, - ], - }, - meta: { - get: ["GET /meta"], - getOctocat: ["GET /octocat"], - getZen: ["GET /zen"], - root: ["GET /"], - }, - migrations: { - cancelImport: ["DELETE /repos/{owner}/{repo}/import"], - deleteArchiveForAuthenticatedUser: [ - "DELETE /user/migrations/{migration_id}/archive", - { mediaType: { previews: ["wyandotte"] } }, - ], - deleteArchiveForOrg: [ - "DELETE /orgs/{org}/migrations/{migration_id}/archive", - { mediaType: { previews: ["wyandotte"] } }, - ], - downloadArchiveForOrg: [ - "GET /orgs/{org}/migrations/{migration_id}/archive", - { mediaType: { previews: ["wyandotte"] } }, - ], - getArchiveForAuthenticatedUser: [ - "GET /user/migrations/{migration_id}/archive", - { mediaType: { previews: ["wyandotte"] } }, - ], - getCommitAuthors: ["GET /repos/{owner}/{repo}/import/authors"], - getImportStatus: ["GET /repos/{owner}/{repo}/import"], - getLargeFiles: ["GET /repos/{owner}/{repo}/import/large_files"], - getStatusForAuthenticatedUser: [ - "GET /user/migrations/{migration_id}", - { mediaType: { previews: ["wyandotte"] } }, - ], - getStatusForOrg: [ - "GET /orgs/{org}/migrations/{migration_id}", - { mediaType: { previews: ["wyandotte"] } }, - ], - listForAuthenticatedUser: [ - "GET /user/migrations", - { mediaType: { previews: ["wyandotte"] } }, - ], - listForOrg: [ - "GET /orgs/{org}/migrations", - { mediaType: { previews: ["wyandotte"] } }, - ], - listReposForOrg: [ - "GET /orgs/{org}/migrations/{migration_id}/repositories", - { mediaType: { previews: ["wyandotte"] } }, - ], - listReposForUser: [ - "GET /user/migrations/{migration_id}/repositories", - { mediaType: { previews: ["wyandotte"] } }, - ], - mapCommitAuthor: ["PATCH /repos/{owner}/{repo}/import/authors/{author_id}"], - setLfsPreference: ["PATCH /repos/{owner}/{repo}/import/lfs"], - startForAuthenticatedUser: ["POST /user/migrations"], - startForOrg: ["POST /orgs/{org}/migrations"], - startImport: ["PUT /repos/{owner}/{repo}/import"], - unlockRepoForAuthenticatedUser: [ - "DELETE /user/migrations/{migration_id}/repos/{repo_name}/lock", - { mediaType: { previews: ["wyandotte"] } }, - ], - unlockRepoForOrg: [ - "DELETE /orgs/{org}/migrations/{migration_id}/repos/{repo_name}/lock", - { mediaType: { previews: ["wyandotte"] } }, - ], - updateImport: ["PATCH /repos/{owner}/{repo}/import"], - }, - orgs: { - blockUser: ["PUT /orgs/{org}/blocks/{username}"], - cancelInvitation: ["DELETE /orgs/{org}/invitations/{invitation_id}"], - checkBlockedUser: ["GET /orgs/{org}/blocks/{username}"], - checkMembershipForUser: ["GET /orgs/{org}/members/{username}"], - checkPublicMembershipForUser: ["GET /orgs/{org}/public_members/{username}"], - convertMemberToOutsideCollaborator: [ - "PUT /orgs/{org}/outside_collaborators/{username}", - ], - createInvitation: ["POST /orgs/{org}/invitations"], - createWebhook: ["POST /orgs/{org}/hooks"], - deleteWebhook: ["DELETE /orgs/{org}/hooks/{hook_id}"], - get: ["GET /orgs/{org}"], - getMembershipForAuthenticatedUser: ["GET /user/memberships/orgs/{org}"], - getMembershipForUser: ["GET /orgs/{org}/memberships/{username}"], - getWebhook: ["GET /orgs/{org}/hooks/{hook_id}"], - getWebhookConfigForOrg: ["GET /orgs/{org}/hooks/{hook_id}/config"], - getWebhookDelivery: [ - "GET /orgs/{org}/hooks/{hook_id}/deliveries/{delivery_id}", - ], - list: ["GET /organizations"], - listAppInstallations: ["GET /orgs/{org}/installations"], - listBlockedUsers: ["GET /orgs/{org}/blocks"], - listFailedInvitations: ["GET /orgs/{org}/failed_invitations"], - listForAuthenticatedUser: ["GET /user/orgs"], - listForUser: ["GET /users/{username}/orgs"], - listInvitationTeams: ["GET /orgs/{org}/invitations/{invitation_id}/teams"], - listMembers: ["GET /orgs/{org}/members"], - listMembershipsForAuthenticatedUser: ["GET /user/memberships/orgs"], - listOutsideCollaborators: ["GET /orgs/{org}/outside_collaborators"], - listPendingInvitations: ["GET /orgs/{org}/invitations"], - listPublicMembers: ["GET /orgs/{org}/public_members"], - listWebhookDeliveries: ["GET /orgs/{org}/hooks/{hook_id}/deliveries"], - listWebhooks: ["GET /orgs/{org}/hooks"], - pingWebhook: ["POST /orgs/{org}/hooks/{hook_id}/pings"], - redeliverWebhookDelivery: [ - "POST /orgs/{org}/hooks/{hook_id}/deliveries/{delivery_id}/attempts", - ], - removeMember: ["DELETE /orgs/{org}/members/{username}"], - removeMembershipForUser: ["DELETE /orgs/{org}/memberships/{username}"], - removeOutsideCollaborator: [ - "DELETE /orgs/{org}/outside_collaborators/{username}", - ], - removePublicMembershipForAuthenticatedUser: [ - "DELETE /orgs/{org}/public_members/{username}", - ], - setMembershipForUser: ["PUT /orgs/{org}/memberships/{username}"], - setPublicMembershipForAuthenticatedUser: [ - "PUT /orgs/{org}/public_members/{username}", - ], - unblockUser: ["DELETE /orgs/{org}/blocks/{username}"], - update: ["PATCH /orgs/{org}"], - updateMembershipForAuthenticatedUser: [ - "PATCH /user/memberships/orgs/{org}", - ], - updateWebhook: ["PATCH /orgs/{org}/hooks/{hook_id}"], - updateWebhookConfigForOrg: ["PATCH /orgs/{org}/hooks/{hook_id}/config"], - }, - packages: { - deletePackageForAuthenticatedUser: [ - "DELETE /user/packages/{package_type}/{package_name}", - ], - deletePackageForOrg: [ - "DELETE /orgs/{org}/packages/{package_type}/{package_name}", - ], - deletePackageVersionForAuthenticatedUser: [ - "DELETE /user/packages/{package_type}/{package_name}/versions/{package_version_id}", - ], - deletePackageVersionForOrg: [ - "DELETE /orgs/{org}/packages/{package_type}/{package_name}/versions/{package_version_id}", - ], - getAllPackageVersionsForAPackageOwnedByAnOrg: [ - "GET /orgs/{org}/packages/{package_type}/{package_name}/versions", - {}, - { renamed: ["packages", "getAllPackageVersionsForPackageOwnedByOrg"] }, - ], - getAllPackageVersionsForAPackageOwnedByTheAuthenticatedUser: [ - "GET /user/packages/{package_type}/{package_name}/versions", - {}, - { - renamed: [ - "packages", - "getAllPackageVersionsForPackageOwnedByAuthenticatedUser", - ], - }, - ], - getAllPackageVersionsForPackageOwnedByAuthenticatedUser: [ - "GET /user/packages/{package_type}/{package_name}/versions", - ], - getAllPackageVersionsForPackageOwnedByOrg: [ - "GET /orgs/{org}/packages/{package_type}/{package_name}/versions", - ], - getAllPackageVersionsForPackageOwnedByUser: [ - "GET /users/{username}/packages/{package_type}/{package_name}/versions", - ], - getPackageForAuthenticatedUser: [ - "GET /user/packages/{package_type}/{package_name}", - ], - getPackageForOrganization: [ - "GET /orgs/{org}/packages/{package_type}/{package_name}", - ], - getPackageForUser: [ - "GET /users/{username}/packages/{package_type}/{package_name}", - ], - getPackageVersionForAuthenticatedUser: [ - "GET /user/packages/{package_type}/{package_name}/versions/{package_version_id}", - ], - getPackageVersionForOrganization: [ - "GET /orgs/{org}/packages/{package_type}/{package_name}/versions/{package_version_id}", - ], - getPackageVersionForUser: [ - "GET /users/{username}/packages/{package_type}/{package_name}/versions/{package_version_id}", - ], - restorePackageForAuthenticatedUser: [ - "POST /user/packages/{package_type}/{package_name}/restore{?token}", - ], - restorePackageForOrg: [ - "POST /orgs/{org}/packages/{package_type}/{package_name}/restore{?token}", - ], - restorePackageVersionForAuthenticatedUser: [ - "POST /user/packages/{package_type}/{package_name}/versions/{package_version_id}/restore", - ], - restorePackageVersionForOrg: [ - "POST /orgs/{org}/packages/{package_type}/{package_name}/versions/{package_version_id}/restore", - ], - }, - projects: { - addCollaborator: [ - "PUT /projects/{project_id}/collaborators/{username}", - { mediaType: { previews: ["inertia"] } }, - ], - createCard: [ - "POST /projects/columns/{column_id}/cards", - { mediaType: { previews: ["inertia"] } }, - ], - createColumn: [ - "POST /projects/{project_id}/columns", - { mediaType: { previews: ["inertia"] } }, - ], - createForAuthenticatedUser: [ - "POST /user/projects", - { mediaType: { previews: ["inertia"] } }, - ], - createForOrg: [ - "POST /orgs/{org}/projects", - { mediaType: { previews: ["inertia"] } }, - ], - createForRepo: [ - "POST /repos/{owner}/{repo}/projects", - { mediaType: { previews: ["inertia"] } }, - ], - delete: [ - "DELETE /projects/{project_id}", - { mediaType: { previews: ["inertia"] } }, - ], - deleteCard: [ - "DELETE /projects/columns/cards/{card_id}", - { mediaType: { previews: ["inertia"] } }, - ], - deleteColumn: [ - "DELETE /projects/columns/{column_id}", - { mediaType: { previews: ["inertia"] } }, - ], - get: [ - "GET /projects/{project_id}", - { mediaType: { previews: ["inertia"] } }, - ], - getCard: [ - "GET /projects/columns/cards/{card_id}", - { mediaType: { previews: ["inertia"] } }, - ], - getColumn: [ - "GET /projects/columns/{column_id}", - { mediaType: { previews: ["inertia"] } }, - ], - getPermissionForUser: [ - "GET /projects/{project_id}/collaborators/{username}/permission", - { mediaType: { previews: ["inertia"] } }, - ], - listCards: [ - "GET /projects/columns/{column_id}/cards", - { mediaType: { previews: ["inertia"] } }, - ], - listCollaborators: [ - "GET /projects/{project_id}/collaborators", - { mediaType: { previews: ["inertia"] } }, - ], - listColumns: [ - "GET /projects/{project_id}/columns", - { mediaType: { previews: ["inertia"] } }, - ], - listForOrg: [ - "GET /orgs/{org}/projects", - { mediaType: { previews: ["inertia"] } }, - ], - listForRepo: [ - "GET /repos/{owner}/{repo}/projects", - { mediaType: { previews: ["inertia"] } }, - ], - listForUser: [ - "GET /users/{username}/projects", - { mediaType: { previews: ["inertia"] } }, - ], - moveCard: [ - "POST /projects/columns/cards/{card_id}/moves", - { mediaType: { previews: ["inertia"] } }, - ], - moveColumn: [ - "POST /projects/columns/{column_id}/moves", - { mediaType: { previews: ["inertia"] } }, - ], - removeCollaborator: [ - "DELETE /projects/{project_id}/collaborators/{username}", - { mediaType: { previews: ["inertia"] } }, - ], - update: [ - "PATCH /projects/{project_id}", - { mediaType: { previews: ["inertia"] } }, - ], - updateCard: [ - "PATCH /projects/columns/cards/{card_id}", - { mediaType: { previews: ["inertia"] } }, - ], - updateColumn: [ - "PATCH /projects/columns/{column_id}", - { mediaType: { previews: ["inertia"] } }, - ], - }, - pulls: { - checkIfMerged: ["GET /repos/{owner}/{repo}/pulls/{pull_number}/merge"], - create: ["POST /repos/{owner}/{repo}/pulls"], - createReplyForReviewComment: [ - "POST /repos/{owner}/{repo}/pulls/{pull_number}/comments/{comment_id}/replies", - ], - createReview: ["POST /repos/{owner}/{repo}/pulls/{pull_number}/reviews"], - createReviewComment: [ - "POST /repos/{owner}/{repo}/pulls/{pull_number}/comments", - ], - deletePendingReview: [ - "DELETE /repos/{owner}/{repo}/pulls/{pull_number}/reviews/{review_id}", - ], - deleteReviewComment: [ - "DELETE /repos/{owner}/{repo}/pulls/comments/{comment_id}", - ], - dismissReview: [ - "PUT /repos/{owner}/{repo}/pulls/{pull_number}/reviews/{review_id}/dismissals", - ], - get: ["GET /repos/{owner}/{repo}/pulls/{pull_number}"], - getReview: [ - "GET /repos/{owner}/{repo}/pulls/{pull_number}/reviews/{review_id}", - ], - getReviewComment: ["GET /repos/{owner}/{repo}/pulls/comments/{comment_id}"], - list: ["GET /repos/{owner}/{repo}/pulls"], - listCommentsForReview: [ - "GET /repos/{owner}/{repo}/pulls/{pull_number}/reviews/{review_id}/comments", - ], - listCommits: ["GET /repos/{owner}/{repo}/pulls/{pull_number}/commits"], - listFiles: ["GET /repos/{owner}/{repo}/pulls/{pull_number}/files"], - listRequestedReviewers: [ - "GET /repos/{owner}/{repo}/pulls/{pull_number}/requested_reviewers", - ], - listReviewComments: [ - "GET /repos/{owner}/{repo}/pulls/{pull_number}/comments", - ], - listReviewCommentsForRepo: ["GET /repos/{owner}/{repo}/pulls/comments"], - listReviews: ["GET /repos/{owner}/{repo}/pulls/{pull_number}/reviews"], - merge: ["PUT /repos/{owner}/{repo}/pulls/{pull_number}/merge"], - removeRequestedReviewers: [ - "DELETE /repos/{owner}/{repo}/pulls/{pull_number}/requested_reviewers", - ], - requestReviewers: [ - "POST /repos/{owner}/{repo}/pulls/{pull_number}/requested_reviewers", - ], - submitReview: [ - "POST /repos/{owner}/{repo}/pulls/{pull_number}/reviews/{review_id}/events", - ], - update: ["PATCH /repos/{owner}/{repo}/pulls/{pull_number}"], - updateBranch: [ - "PUT /repos/{owner}/{repo}/pulls/{pull_number}/update-branch", - { mediaType: { previews: ["lydian"] } }, - ], - updateReview: [ - "PUT /repos/{owner}/{repo}/pulls/{pull_number}/reviews/{review_id}", - ], - updateReviewComment: [ - "PATCH /repos/{owner}/{repo}/pulls/comments/{comment_id}", - ], - }, - rateLimit: { get: ["GET /rate_limit"] }, - reactions: { - createForCommitComment: [ - "POST /repos/{owner}/{repo}/comments/{comment_id}/reactions", - { mediaType: { previews: ["squirrel-girl"] } }, - ], - createForIssue: [ - "POST /repos/{owner}/{repo}/issues/{issue_number}/reactions", - { mediaType: { previews: ["squirrel-girl"] } }, - ], - createForIssueComment: [ - "POST /repos/{owner}/{repo}/issues/comments/{comment_id}/reactions", - { mediaType: { previews: ["squirrel-girl"] } }, - ], - createForPullRequestReviewComment: [ - "POST /repos/{owner}/{repo}/pulls/comments/{comment_id}/reactions", - { mediaType: { previews: ["squirrel-girl"] } }, - ], - createForRelease: [ - "POST /repos/{owner}/{repo}/releases/{release_id}/reactions", - { mediaType: { previews: ["squirrel-girl"] } }, - ], - createForTeamDiscussionCommentInOrg: [ - "POST /orgs/{org}/teams/{team_slug}/discussions/{discussion_number}/comments/{comment_number}/reactions", - { mediaType: { previews: ["squirrel-girl"] } }, - ], - createForTeamDiscussionInOrg: [ - "POST /orgs/{org}/teams/{team_slug}/discussions/{discussion_number}/reactions", - { mediaType: { previews: ["squirrel-girl"] } }, - ], - deleteForCommitComment: [ - "DELETE /repos/{owner}/{repo}/comments/{comment_id}/reactions/{reaction_id}", - { mediaType: { previews: ["squirrel-girl"] } }, - ], - deleteForIssue: [ - "DELETE /repos/{owner}/{repo}/issues/{issue_number}/reactions/{reaction_id}", - { mediaType: { previews: ["squirrel-girl"] } }, - ], - deleteForIssueComment: [ - "DELETE /repos/{owner}/{repo}/issues/comments/{comment_id}/reactions/{reaction_id}", - { mediaType: { previews: ["squirrel-girl"] } }, - ], - deleteForPullRequestComment: [ - "DELETE /repos/{owner}/{repo}/pulls/comments/{comment_id}/reactions/{reaction_id}", - { mediaType: { previews: ["squirrel-girl"] } }, - ], - deleteForTeamDiscussion: [ - "DELETE /orgs/{org}/teams/{team_slug}/discussions/{discussion_number}/reactions/{reaction_id}", - { mediaType: { previews: ["squirrel-girl"] } }, - ], - deleteForTeamDiscussionComment: [ - "DELETE /orgs/{org}/teams/{team_slug}/discussions/{discussion_number}/comments/{comment_number}/reactions/{reaction_id}", - { mediaType: { previews: ["squirrel-girl"] } }, - ], - deleteLegacy: [ - "DELETE /reactions/{reaction_id}", - { mediaType: { previews: ["squirrel-girl"] } }, - { - deprecated: "octokit.rest.reactions.deleteLegacy() is deprecated, see https://docs.github.com/rest/reference/reactions/#delete-a-reaction-legacy", - }, - ], - listForCommitComment: [ - "GET /repos/{owner}/{repo}/comments/{comment_id}/reactions", - { mediaType: { previews: ["squirrel-girl"] } }, - ], - listForIssue: [ - "GET /repos/{owner}/{repo}/issues/{issue_number}/reactions", - { mediaType: { previews: ["squirrel-girl"] } }, - ], - listForIssueComment: [ - "GET /repos/{owner}/{repo}/issues/comments/{comment_id}/reactions", - { mediaType: { previews: ["squirrel-girl"] } }, - ], - listForPullRequestReviewComment: [ - "GET /repos/{owner}/{repo}/pulls/comments/{comment_id}/reactions", - { mediaType: { previews: ["squirrel-girl"] } }, - ], - listForTeamDiscussionCommentInOrg: [ - "GET /orgs/{org}/teams/{team_slug}/discussions/{discussion_number}/comments/{comment_number}/reactions", - { mediaType: { previews: ["squirrel-girl"] } }, - ], - listForTeamDiscussionInOrg: [ - "GET /orgs/{org}/teams/{team_slug}/discussions/{discussion_number}/reactions", - { mediaType: { previews: ["squirrel-girl"] } }, - ], - }, - repos: { - acceptInvitation: ["PATCH /user/repository_invitations/{invitation_id}"], - addAppAccessRestrictions: [ - "POST /repos/{owner}/{repo}/branches/{branch}/protection/restrictions/apps", - {}, - { mapToData: "apps" }, - ], - addCollaborator: ["PUT /repos/{owner}/{repo}/collaborators/{username}"], - addStatusCheckContexts: [ - "POST /repos/{owner}/{repo}/branches/{branch}/protection/required_status_checks/contexts", - {}, - { mapToData: "contexts" }, - ], - addTeamAccessRestrictions: [ - "POST /repos/{owner}/{repo}/branches/{branch}/protection/restrictions/teams", - {}, - { mapToData: "teams" }, - ], - addUserAccessRestrictions: [ - "POST /repos/{owner}/{repo}/branches/{branch}/protection/restrictions/users", - {}, - { mapToData: "users" }, - ], - checkCollaborator: ["GET /repos/{owner}/{repo}/collaborators/{username}"], - checkVulnerabilityAlerts: [ - "GET /repos/{owner}/{repo}/vulnerability-alerts", - { mediaType: { previews: ["dorian"] } }, - ], - compareCommits: ["GET /repos/{owner}/{repo}/compare/{base}...{head}"], - compareCommitsWithBasehead: [ - "GET /repos/{owner}/{repo}/compare/{basehead}", - ], - createCommitComment: [ - "POST /repos/{owner}/{repo}/commits/{commit_sha}/comments", - ], - createCommitSignatureProtection: [ - "POST /repos/{owner}/{repo}/branches/{branch}/protection/required_signatures", - { mediaType: { previews: ["zzzax"] } }, - ], - createCommitStatus: ["POST /repos/{owner}/{repo}/statuses/{sha}"], - createDeployKey: ["POST /repos/{owner}/{repo}/keys"], - createDeployment: ["POST /repos/{owner}/{repo}/deployments"], - createDeploymentStatus: [ - "POST /repos/{owner}/{repo}/deployments/{deployment_id}/statuses", - ], - createDispatchEvent: ["POST /repos/{owner}/{repo}/dispatches"], - createForAuthenticatedUser: ["POST /user/repos"], - createFork: ["POST /repos/{owner}/{repo}/forks"], - createInOrg: ["POST /orgs/{org}/repos"], - createOrUpdateEnvironment: [ - "PUT /repos/{owner}/{repo}/environments/{environment_name}", - ], - createOrUpdateFileContents: ["PUT /repos/{owner}/{repo}/contents/{path}"], - createPagesSite: [ - "POST /repos/{owner}/{repo}/pages", - { mediaType: { previews: ["switcheroo"] } }, - ], - createRelease: ["POST /repos/{owner}/{repo}/releases"], - createUsingTemplate: [ - "POST /repos/{template_owner}/{template_repo}/generate", - { mediaType: { previews: ["baptiste"] } }, - ], - createWebhook: ["POST /repos/{owner}/{repo}/hooks"], - declineInvitation: ["DELETE /user/repository_invitations/{invitation_id}"], - delete: ["DELETE /repos/{owner}/{repo}"], - deleteAccessRestrictions: [ - "DELETE /repos/{owner}/{repo}/branches/{branch}/protection/restrictions", - ], - deleteAdminBranchProtection: [ - "DELETE /repos/{owner}/{repo}/branches/{branch}/protection/enforce_admins", - ], - deleteAnEnvironment: [ - "DELETE /repos/{owner}/{repo}/environments/{environment_name}", - ], - deleteBranchProtection: [ - "DELETE /repos/{owner}/{repo}/branches/{branch}/protection", - ], - deleteCommitComment: ["DELETE /repos/{owner}/{repo}/comments/{comment_id}"], - deleteCommitSignatureProtection: [ - "DELETE /repos/{owner}/{repo}/branches/{branch}/protection/required_signatures", - { mediaType: { previews: ["zzzax"] } }, - ], - deleteDeployKey: ["DELETE /repos/{owner}/{repo}/keys/{key_id}"], - deleteDeployment: [ - "DELETE /repos/{owner}/{repo}/deployments/{deployment_id}", - ], - deleteFile: ["DELETE /repos/{owner}/{repo}/contents/{path}"], - deleteInvitation: [ - "DELETE /repos/{owner}/{repo}/invitations/{invitation_id}", - ], - deletePagesSite: [ - "DELETE /repos/{owner}/{repo}/pages", - { mediaType: { previews: ["switcheroo"] } }, - ], - deletePullRequestReviewProtection: [ - "DELETE /repos/{owner}/{repo}/branches/{branch}/protection/required_pull_request_reviews", - ], - deleteRelease: ["DELETE /repos/{owner}/{repo}/releases/{release_id}"], - deleteReleaseAsset: [ - "DELETE /repos/{owner}/{repo}/releases/assets/{asset_id}", - ], - deleteWebhook: ["DELETE /repos/{owner}/{repo}/hooks/{hook_id}"], - disableAutomatedSecurityFixes: [ - "DELETE /repos/{owner}/{repo}/automated-security-fixes", - { mediaType: { previews: ["london"] } }, - ], - disableVulnerabilityAlerts: [ - "DELETE /repos/{owner}/{repo}/vulnerability-alerts", - { mediaType: { previews: ["dorian"] } }, - ], - downloadArchive: [ - "GET /repos/{owner}/{repo}/zipball/{ref}", - {}, - { renamed: ["repos", "downloadZipballArchive"] }, - ], - downloadTarballArchive: ["GET /repos/{owner}/{repo}/tarball/{ref}"], - downloadZipballArchive: ["GET /repos/{owner}/{repo}/zipball/{ref}"], - enableAutomatedSecurityFixes: [ - "PUT /repos/{owner}/{repo}/automated-security-fixes", - { mediaType: { previews: ["london"] } }, - ], - enableVulnerabilityAlerts: [ - "PUT /repos/{owner}/{repo}/vulnerability-alerts", - { mediaType: { previews: ["dorian"] } }, - ], - get: ["GET /repos/{owner}/{repo}"], - getAccessRestrictions: [ - "GET /repos/{owner}/{repo}/branches/{branch}/protection/restrictions", - ], - getAdminBranchProtection: [ - "GET /repos/{owner}/{repo}/branches/{branch}/protection/enforce_admins", - ], - getAllEnvironments: ["GET /repos/{owner}/{repo}/environments"], - getAllStatusCheckContexts: [ - "GET /repos/{owner}/{repo}/branches/{branch}/protection/required_status_checks/contexts", - ], - getAllTopics: [ - "GET /repos/{owner}/{repo}/topics", - { mediaType: { previews: ["mercy"] } }, - ], - getAppsWithAccessToProtectedBranch: [ - "GET /repos/{owner}/{repo}/branches/{branch}/protection/restrictions/apps", - ], - getBranch: ["GET /repos/{owner}/{repo}/branches/{branch}"], - getBranchProtection: [ - "GET /repos/{owner}/{repo}/branches/{branch}/protection", - ], - getClones: ["GET /repos/{owner}/{repo}/traffic/clones"], - getCodeFrequencyStats: ["GET /repos/{owner}/{repo}/stats/code_frequency"], - getCollaboratorPermissionLevel: [ - "GET /repos/{owner}/{repo}/collaborators/{username}/permission", - ], - getCombinedStatusForRef: ["GET /repos/{owner}/{repo}/commits/{ref}/status"], - getCommit: ["GET /repos/{owner}/{repo}/commits/{ref}"], - getCommitActivityStats: ["GET /repos/{owner}/{repo}/stats/commit_activity"], - getCommitComment: ["GET /repos/{owner}/{repo}/comments/{comment_id}"], - getCommitSignatureProtection: [ - "GET /repos/{owner}/{repo}/branches/{branch}/protection/required_signatures", - { mediaType: { previews: ["zzzax"] } }, - ], - getCommunityProfileMetrics: ["GET /repos/{owner}/{repo}/community/profile"], - getContent: ["GET /repos/{owner}/{repo}/contents/{path}"], - getContributorsStats: ["GET /repos/{owner}/{repo}/stats/contributors"], - getDeployKey: ["GET /repos/{owner}/{repo}/keys/{key_id}"], - getDeployment: ["GET /repos/{owner}/{repo}/deployments/{deployment_id}"], - getDeploymentStatus: [ - "GET /repos/{owner}/{repo}/deployments/{deployment_id}/statuses/{status_id}", - ], - getEnvironment: [ - "GET /repos/{owner}/{repo}/environments/{environment_name}", - ], - getLatestPagesBuild: ["GET /repos/{owner}/{repo}/pages/builds/latest"], - getLatestRelease: ["GET /repos/{owner}/{repo}/releases/latest"], - getPages: ["GET /repos/{owner}/{repo}/pages"], - getPagesBuild: ["GET /repos/{owner}/{repo}/pages/builds/{build_id}"], - getPagesHealthCheck: ["GET /repos/{owner}/{repo}/pages/health"], - getParticipationStats: ["GET /repos/{owner}/{repo}/stats/participation"], - getPullRequestReviewProtection: [ - "GET /repos/{owner}/{repo}/branches/{branch}/protection/required_pull_request_reviews", - ], - getPunchCardStats: ["GET /repos/{owner}/{repo}/stats/punch_card"], - getReadme: ["GET /repos/{owner}/{repo}/readme"], - getReadmeInDirectory: ["GET /repos/{owner}/{repo}/readme/{dir}"], - getRelease: ["GET /repos/{owner}/{repo}/releases/{release_id}"], - getReleaseAsset: ["GET /repos/{owner}/{repo}/releases/assets/{asset_id}"], - getReleaseByTag: ["GET /repos/{owner}/{repo}/releases/tags/{tag}"], - getStatusChecksProtection: [ - "GET /repos/{owner}/{repo}/branches/{branch}/protection/required_status_checks", - ], - getTeamsWithAccessToProtectedBranch: [ - "GET /repos/{owner}/{repo}/branches/{branch}/protection/restrictions/teams", - ], - getTopPaths: ["GET /repos/{owner}/{repo}/traffic/popular/paths"], - getTopReferrers: ["GET /repos/{owner}/{repo}/traffic/popular/referrers"], - getUsersWithAccessToProtectedBranch: [ - "GET /repos/{owner}/{repo}/branches/{branch}/protection/restrictions/users", - ], - getViews: ["GET /repos/{owner}/{repo}/traffic/views"], - getWebhook: ["GET /repos/{owner}/{repo}/hooks/{hook_id}"], - getWebhookConfigForRepo: [ - "GET /repos/{owner}/{repo}/hooks/{hook_id}/config", - ], - getWebhookDelivery: [ - "GET /repos/{owner}/{repo}/hooks/{hook_id}/deliveries/{delivery_id}", - ], - listBranches: ["GET /repos/{owner}/{repo}/branches"], - listBranchesForHeadCommit: [ - "GET /repos/{owner}/{repo}/commits/{commit_sha}/branches-where-head", - { mediaType: { previews: ["groot"] } }, - ], - listCollaborators: ["GET /repos/{owner}/{repo}/collaborators"], - listCommentsForCommit: [ - "GET /repos/{owner}/{repo}/commits/{commit_sha}/comments", - ], - listCommitCommentsForRepo: ["GET /repos/{owner}/{repo}/comments"], - listCommitStatusesForRef: [ - "GET /repos/{owner}/{repo}/commits/{ref}/statuses", - ], - listCommits: ["GET /repos/{owner}/{repo}/commits"], - listContributors: ["GET /repos/{owner}/{repo}/contributors"], - listDeployKeys: ["GET /repos/{owner}/{repo}/keys"], - listDeploymentStatuses: [ - "GET /repos/{owner}/{repo}/deployments/{deployment_id}/statuses", - ], - listDeployments: ["GET /repos/{owner}/{repo}/deployments"], - listForAuthenticatedUser: ["GET /user/repos"], - listForOrg: ["GET /orgs/{org}/repos"], - listForUser: ["GET /users/{username}/repos"], - listForks: ["GET /repos/{owner}/{repo}/forks"], - listInvitations: ["GET /repos/{owner}/{repo}/invitations"], - listInvitationsForAuthenticatedUser: ["GET /user/repository_invitations"], - listLanguages: ["GET /repos/{owner}/{repo}/languages"], - listPagesBuilds: ["GET /repos/{owner}/{repo}/pages/builds"], - listPublic: ["GET /repositories"], - listPullRequestsAssociatedWithCommit: [ - "GET /repos/{owner}/{repo}/commits/{commit_sha}/pulls", - { mediaType: { previews: ["groot"] } }, - ], - listReleaseAssets: [ - "GET /repos/{owner}/{repo}/releases/{release_id}/assets", - ], - listReleases: ["GET /repos/{owner}/{repo}/releases"], - listTags: ["GET /repos/{owner}/{repo}/tags"], - listTeams: ["GET /repos/{owner}/{repo}/teams"], - listWebhookDeliveries: [ - "GET /repos/{owner}/{repo}/hooks/{hook_id}/deliveries", - ], - listWebhooks: ["GET /repos/{owner}/{repo}/hooks"], - merge: ["POST /repos/{owner}/{repo}/merges"], - pingWebhook: ["POST /repos/{owner}/{repo}/hooks/{hook_id}/pings"], - redeliverWebhookDelivery: [ - "POST /repos/{owner}/{repo}/hooks/{hook_id}/deliveries/{delivery_id}/attempts", - ], - removeAppAccessRestrictions: [ - "DELETE /repos/{owner}/{repo}/branches/{branch}/protection/restrictions/apps", - {}, - { mapToData: "apps" }, - ], - removeCollaborator: [ - "DELETE /repos/{owner}/{repo}/collaborators/{username}", - ], - removeStatusCheckContexts: [ - "DELETE /repos/{owner}/{repo}/branches/{branch}/protection/required_status_checks/contexts", - {}, - { mapToData: "contexts" }, - ], - removeStatusCheckProtection: [ - "DELETE /repos/{owner}/{repo}/branches/{branch}/protection/required_status_checks", - ], - removeTeamAccessRestrictions: [ - "DELETE /repos/{owner}/{repo}/branches/{branch}/protection/restrictions/teams", - {}, - { mapToData: "teams" }, - ], - removeUserAccessRestrictions: [ - "DELETE /repos/{owner}/{repo}/branches/{branch}/protection/restrictions/users", - {}, - { mapToData: "users" }, - ], - renameBranch: ["POST /repos/{owner}/{repo}/branches/{branch}/rename"], - replaceAllTopics: [ - "PUT /repos/{owner}/{repo}/topics", - { mediaType: { previews: ["mercy"] } }, - ], - requestPagesBuild: ["POST /repos/{owner}/{repo}/pages/builds"], - setAdminBranchProtection: [ - "POST /repos/{owner}/{repo}/branches/{branch}/protection/enforce_admins", - ], - setAppAccessRestrictions: [ - "PUT /repos/{owner}/{repo}/branches/{branch}/protection/restrictions/apps", - {}, - { mapToData: "apps" }, - ], - setStatusCheckContexts: [ - "PUT /repos/{owner}/{repo}/branches/{branch}/protection/required_status_checks/contexts", - {}, - { mapToData: "contexts" }, - ], - setTeamAccessRestrictions: [ - "PUT /repos/{owner}/{repo}/branches/{branch}/protection/restrictions/teams", - {}, - { mapToData: "teams" }, - ], - setUserAccessRestrictions: [ - "PUT /repos/{owner}/{repo}/branches/{branch}/protection/restrictions/users", - {}, - { mapToData: "users" }, - ], - testPushWebhook: ["POST /repos/{owner}/{repo}/hooks/{hook_id}/tests"], - transfer: ["POST /repos/{owner}/{repo}/transfer"], - update: ["PATCH /repos/{owner}/{repo}"], - updateBranchProtection: [ - "PUT /repos/{owner}/{repo}/branches/{branch}/protection", - ], - updateCommitComment: ["PATCH /repos/{owner}/{repo}/comments/{comment_id}"], - updateInformationAboutPagesSite: ["PUT /repos/{owner}/{repo}/pages"], - updateInvitation: [ - "PATCH /repos/{owner}/{repo}/invitations/{invitation_id}", - ], - updatePullRequestReviewProtection: [ - "PATCH /repos/{owner}/{repo}/branches/{branch}/protection/required_pull_request_reviews", - ], - updateRelease: ["PATCH /repos/{owner}/{repo}/releases/{release_id}"], - updateReleaseAsset: [ - "PATCH /repos/{owner}/{repo}/releases/assets/{asset_id}", - ], - updateStatusCheckPotection: [ - "PATCH /repos/{owner}/{repo}/branches/{branch}/protection/required_status_checks", - {}, - { renamed: ["repos", "updateStatusCheckProtection"] }, - ], - updateStatusCheckProtection: [ - "PATCH /repos/{owner}/{repo}/branches/{branch}/protection/required_status_checks", - ], - updateWebhook: ["PATCH /repos/{owner}/{repo}/hooks/{hook_id}"], - updateWebhookConfigForRepo: [ - "PATCH /repos/{owner}/{repo}/hooks/{hook_id}/config", - ], - uploadReleaseAsset: [ - "POST /repos/{owner}/{repo}/releases/{release_id}/assets{?name,label}", - { baseUrl: "https://uploads.github.com" }, - ], - }, - search: { - code: ["GET /search/code"], - commits: ["GET /search/commits", { mediaType: { previews: ["cloak"] } }], - issuesAndPullRequests: ["GET /search/issues"], - labels: ["GET /search/labels"], - repos: ["GET /search/repositories"], - topics: ["GET /search/topics", { mediaType: { previews: ["mercy"] } }], - users: ["GET /search/users"], - }, - secretScanning: { - getAlert: [ - "GET /repos/{owner}/{repo}/secret-scanning/alerts/{alert_number}", - ], - listAlertsForRepo: ["GET /repos/{owner}/{repo}/secret-scanning/alerts"], - updateAlert: [ - "PATCH /repos/{owner}/{repo}/secret-scanning/alerts/{alert_number}", - ], - }, - teams: { - addOrUpdateMembershipForUserInOrg: [ - "PUT /orgs/{org}/teams/{team_slug}/memberships/{username}", - ], - addOrUpdateProjectPermissionsInOrg: [ - "PUT /orgs/{org}/teams/{team_slug}/projects/{project_id}", - { mediaType: { previews: ["inertia"] } }, - ], - addOrUpdateRepoPermissionsInOrg: [ - "PUT /orgs/{org}/teams/{team_slug}/repos/{owner}/{repo}", - ], - checkPermissionsForProjectInOrg: [ - "GET /orgs/{org}/teams/{team_slug}/projects/{project_id}", - { mediaType: { previews: ["inertia"] } }, - ], - checkPermissionsForRepoInOrg: [ - "GET /orgs/{org}/teams/{team_slug}/repos/{owner}/{repo}", - ], - create: ["POST /orgs/{org}/teams"], - createDiscussionCommentInOrg: [ - "POST /orgs/{org}/teams/{team_slug}/discussions/{discussion_number}/comments", - ], - createDiscussionInOrg: ["POST /orgs/{org}/teams/{team_slug}/discussions"], - deleteDiscussionCommentInOrg: [ - "DELETE /orgs/{org}/teams/{team_slug}/discussions/{discussion_number}/comments/{comment_number}", - ], - deleteDiscussionInOrg: [ - "DELETE /orgs/{org}/teams/{team_slug}/discussions/{discussion_number}", - ], - deleteInOrg: ["DELETE /orgs/{org}/teams/{team_slug}"], - getByName: ["GET /orgs/{org}/teams/{team_slug}"], - getDiscussionCommentInOrg: [ - "GET /orgs/{org}/teams/{team_slug}/discussions/{discussion_number}/comments/{comment_number}", - ], - getDiscussionInOrg: [ - "GET /orgs/{org}/teams/{team_slug}/discussions/{discussion_number}", - ], - getMembershipForUserInOrg: [ - "GET /orgs/{org}/teams/{team_slug}/memberships/{username}", - ], - list: ["GET /orgs/{org}/teams"], - listChildInOrg: ["GET /orgs/{org}/teams/{team_slug}/teams"], - listDiscussionCommentsInOrg: [ - "GET /orgs/{org}/teams/{team_slug}/discussions/{discussion_number}/comments", - ], - listDiscussionsInOrg: ["GET /orgs/{org}/teams/{team_slug}/discussions"], - listForAuthenticatedUser: ["GET /user/teams"], - listMembersInOrg: ["GET /orgs/{org}/teams/{team_slug}/members"], - listPendingInvitationsInOrg: [ - "GET /orgs/{org}/teams/{team_slug}/invitations", - ], - listProjectsInOrg: [ - "GET /orgs/{org}/teams/{team_slug}/projects", - { mediaType: { previews: ["inertia"] } }, - ], - listReposInOrg: ["GET /orgs/{org}/teams/{team_slug}/repos"], - removeMembershipForUserInOrg: [ - "DELETE /orgs/{org}/teams/{team_slug}/memberships/{username}", - ], - removeProjectInOrg: [ - "DELETE /orgs/{org}/teams/{team_slug}/projects/{project_id}", - ], - removeRepoInOrg: [ - "DELETE /orgs/{org}/teams/{team_slug}/repos/{owner}/{repo}", - ], - updateDiscussionCommentInOrg: [ - "PATCH /orgs/{org}/teams/{team_slug}/discussions/{discussion_number}/comments/{comment_number}", - ], - updateDiscussionInOrg: [ - "PATCH /orgs/{org}/teams/{team_slug}/discussions/{discussion_number}", - ], - updateInOrg: ["PATCH /orgs/{org}/teams/{team_slug}"], - }, - users: { - addEmailForAuthenticated: ["POST /user/emails"], - block: ["PUT /user/blocks/{username}"], - checkBlocked: ["GET /user/blocks/{username}"], - checkFollowingForUser: ["GET /users/{username}/following/{target_user}"], - checkPersonIsFollowedByAuthenticated: ["GET /user/following/{username}"], - createGpgKeyForAuthenticated: ["POST /user/gpg_keys"], - createPublicSshKeyForAuthenticated: ["POST /user/keys"], - deleteEmailForAuthenticated: ["DELETE /user/emails"], - deleteGpgKeyForAuthenticated: ["DELETE /user/gpg_keys/{gpg_key_id}"], - deletePublicSshKeyForAuthenticated: ["DELETE /user/keys/{key_id}"], - follow: ["PUT /user/following/{username}"], - getAuthenticated: ["GET /user"], - getByUsername: ["GET /users/{username}"], - getContextForUser: ["GET /users/{username}/hovercard"], - getGpgKeyForAuthenticated: ["GET /user/gpg_keys/{gpg_key_id}"], - getPublicSshKeyForAuthenticated: ["GET /user/keys/{key_id}"], - list: ["GET /users"], - listBlockedByAuthenticated: ["GET /user/blocks"], - listEmailsForAuthenticated: ["GET /user/emails"], - listFollowedByAuthenticated: ["GET /user/following"], - listFollowersForAuthenticatedUser: ["GET /user/followers"], - listFollowersForUser: ["GET /users/{username}/followers"], - listFollowingForUser: ["GET /users/{username}/following"], - listGpgKeysForAuthenticated: ["GET /user/gpg_keys"], - listGpgKeysForUser: ["GET /users/{username}/gpg_keys"], - listPublicEmailsForAuthenticated: ["GET /user/public_emails"], - listPublicKeysForUser: ["GET /users/{username}/keys"], - listPublicSshKeysForAuthenticated: ["GET /user/keys"], - setPrimaryEmailVisibilityForAuthenticated: ["PATCH /user/email/visibility"], - unblock: ["DELETE /user/blocks/{username}"], - unfollow: ["DELETE /user/following/{username}"], - updateAuthenticated: ["PATCH /user"], - }, -}; - -const VERSION = "5.5.2"; - -function endpointsToMethods(octokit, endpointsMap) { - const newMethods = {}; - for (const [scope, endpoints] of Object.entries(endpointsMap)) { - for (const [methodName, endpoint] of Object.entries(endpoints)) { - const [route, defaults, decorations] = endpoint; - const [method, url] = route.split(/ /); - const endpointDefaults = Object.assign({ method, url }, defaults); - if (!newMethods[scope]) { - newMethods[scope] = {}; - } - const scopeMethods = newMethods[scope]; - if (decorations) { - scopeMethods[methodName] = decorate(octokit, scope, methodName, endpointDefaults, decorations); - continue; - } - scopeMethods[methodName] = octokit.request.defaults(endpointDefaults); - } - } - return newMethods; -} -function decorate(octokit, scope, methodName, defaults, decorations) { - const requestWithDefaults = octokit.request.defaults(defaults); - /* istanbul ignore next */ - function withDecorations(...args) { - // @ts-ignore https://github.com/microsoft/TypeScript/issues/25488 - let options = requestWithDefaults.endpoint.merge(...args); - // There are currently no other decorations than `.mapToData` - if (decorations.mapToData) { - options = Object.assign({}, options, { - data: options[decorations.mapToData], - [decorations.mapToData]: undefined, - }); - return requestWithDefaults(options); - } - if (decorations.renamed) { - const [newScope, newMethodName] = decorations.renamed; - octokit.log.warn(`octokit.${scope}.${methodName}() has been renamed to octokit.${newScope}.${newMethodName}()`); - } - if (decorations.deprecated) { - octokit.log.warn(decorations.deprecated); - } - if (decorations.renamedParameters) { - // @ts-ignore https://github.com/microsoft/TypeScript/issues/25488 - const options = requestWithDefaults.endpoint.merge(...args); - for (const [name, alias] of Object.entries(decorations.renamedParameters)) { - if (name in options) { - octokit.log.warn(`"${name}" parameter is deprecated for "octokit.${scope}.${methodName}()". Use "${alias}" instead`); - if (!(alias in options)) { - options[alias] = options[name]; - } - delete options[name]; - } - } - return requestWithDefaults(options); - } - // @ts-ignore https://github.com/microsoft/TypeScript/issues/25488 - return requestWithDefaults(...args); - } - return Object.assign(withDecorations, requestWithDefaults); -} - -function restEndpointMethods(octokit) { - const api = endpointsToMethods(octokit, Endpoints); - return { - rest: api, - }; -} -restEndpointMethods.VERSION = VERSION; -function legacyRestEndpointMethods(octokit) { - const api = endpointsToMethods(octokit, Endpoints); - return { - ...api, - rest: api, - }; -} -legacyRestEndpointMethods.VERSION = VERSION; - -export { legacyRestEndpointMethods, restEndpointMethods }; -//# sourceMappingURL=index.js.map diff --git a/node_modules/@octokit/plugin-rest-endpoint-methods/dist-web/index.js.map b/node_modules/@octokit/plugin-rest-endpoint-methods/dist-web/index.js.map deleted file mode 100644 index 87e30a9..0000000 --- a/node_modules/@octokit/plugin-rest-endpoint-methods/dist-web/index.js.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"index.js","sources":["../dist-src/generated/endpoints.js","../dist-src/version.js","../dist-src/endpoints-to-methods.js","../dist-src/index.js"],"sourcesContent":["const Endpoints = {\n actions: {\n addSelectedRepoToOrgSecret: [\n \"PUT /orgs/{org}/actions/secrets/{secret_name}/repositories/{repository_id}\",\n ],\n approveWorkflowRun: [\n \"POST /repos/{owner}/{repo}/actions/runs/{run_id}/approve\",\n ],\n cancelWorkflowRun: [\n \"POST /repos/{owner}/{repo}/actions/runs/{run_id}/cancel\",\n ],\n createOrUpdateEnvironmentSecret: [\n \"PUT /repositories/{repository_id}/environments/{environment_name}/secrets/{secret_name}\",\n ],\n createOrUpdateOrgSecret: [\"PUT /orgs/{org}/actions/secrets/{secret_name}\"],\n createOrUpdateRepoSecret: [\n \"PUT /repos/{owner}/{repo}/actions/secrets/{secret_name}\",\n ],\n createRegistrationTokenForOrg: [\n \"POST /orgs/{org}/actions/runners/registration-token\",\n ],\n createRegistrationTokenForRepo: [\n \"POST /repos/{owner}/{repo}/actions/runners/registration-token\",\n ],\n createRemoveTokenForOrg: [\"POST /orgs/{org}/actions/runners/remove-token\"],\n createRemoveTokenForRepo: [\n \"POST /repos/{owner}/{repo}/actions/runners/remove-token\",\n ],\n createWorkflowDispatch: [\n \"POST /repos/{owner}/{repo}/actions/workflows/{workflow_id}/dispatches\",\n ],\n deleteArtifact: [\n \"DELETE /repos/{owner}/{repo}/actions/artifacts/{artifact_id}\",\n ],\n deleteEnvironmentSecret: [\n \"DELETE /repositories/{repository_id}/environments/{environment_name}/secrets/{secret_name}\",\n ],\n deleteOrgSecret: [\"DELETE /orgs/{org}/actions/secrets/{secret_name}\"],\n deleteRepoSecret: [\n \"DELETE /repos/{owner}/{repo}/actions/secrets/{secret_name}\",\n ],\n deleteSelfHostedRunnerFromOrg: [\n \"DELETE /orgs/{org}/actions/runners/{runner_id}\",\n ],\n deleteSelfHostedRunnerFromRepo: [\n \"DELETE /repos/{owner}/{repo}/actions/runners/{runner_id}\",\n ],\n deleteWorkflowRun: [\"DELETE /repos/{owner}/{repo}/actions/runs/{run_id}\"],\n deleteWorkflowRunLogs: [\n \"DELETE /repos/{owner}/{repo}/actions/runs/{run_id}/logs\",\n ],\n disableSelectedRepositoryGithubActionsOrganization: [\n \"DELETE /orgs/{org}/actions/permissions/repositories/{repository_id}\",\n ],\n disableWorkflow: [\n \"PUT /repos/{owner}/{repo}/actions/workflows/{workflow_id}/disable\",\n ],\n downloadArtifact: [\n \"GET /repos/{owner}/{repo}/actions/artifacts/{artifact_id}/{archive_format}\",\n ],\n downloadJobLogsForWorkflowRun: [\n \"GET /repos/{owner}/{repo}/actions/jobs/{job_id}/logs\",\n ],\n downloadWorkflowRunLogs: [\n \"GET /repos/{owner}/{repo}/actions/runs/{run_id}/logs\",\n ],\n enableSelectedRepositoryGithubActionsOrganization: [\n \"PUT /orgs/{org}/actions/permissions/repositories/{repository_id}\",\n ],\n enableWorkflow: [\n \"PUT /repos/{owner}/{repo}/actions/workflows/{workflow_id}/enable\",\n ],\n getAllowedActionsOrganization: [\n \"GET /orgs/{org}/actions/permissions/selected-actions\",\n ],\n getAllowedActionsRepository: [\n \"GET /repos/{owner}/{repo}/actions/permissions/selected-actions\",\n ],\n getArtifact: [\"GET /repos/{owner}/{repo}/actions/artifacts/{artifact_id}\"],\n getEnvironmentPublicKey: [\n \"GET /repositories/{repository_id}/environments/{environment_name}/secrets/public-key\",\n ],\n getEnvironmentSecret: [\n \"GET /repositories/{repository_id}/environments/{environment_name}/secrets/{secret_name}\",\n ],\n getGithubActionsPermissionsOrganization: [\n \"GET /orgs/{org}/actions/permissions\",\n ],\n getGithubActionsPermissionsRepository: [\n \"GET /repos/{owner}/{repo}/actions/permissions\",\n ],\n getJobForWorkflowRun: [\"GET /repos/{owner}/{repo}/actions/jobs/{job_id}\"],\n getOrgPublicKey: [\"GET /orgs/{org}/actions/secrets/public-key\"],\n getOrgSecret: [\"GET /orgs/{org}/actions/secrets/{secret_name}\"],\n getPendingDeploymentsForRun: [\n \"GET /repos/{owner}/{repo}/actions/runs/{run_id}/pending_deployments\",\n ],\n getRepoPermissions: [\n \"GET /repos/{owner}/{repo}/actions/permissions\",\n {},\n { renamed: [\"actions\", \"getGithubActionsPermissionsRepository\"] },\n ],\n getRepoPublicKey: [\"GET /repos/{owner}/{repo}/actions/secrets/public-key\"],\n getRepoSecret: [\"GET /repos/{owner}/{repo}/actions/secrets/{secret_name}\"],\n getReviewsForRun: [\n \"GET /repos/{owner}/{repo}/actions/runs/{run_id}/approvals\",\n ],\n getSelfHostedRunnerForOrg: [\"GET /orgs/{org}/actions/runners/{runner_id}\"],\n getSelfHostedRunnerForRepo: [\n \"GET /repos/{owner}/{repo}/actions/runners/{runner_id}\",\n ],\n getWorkflow: [\"GET /repos/{owner}/{repo}/actions/workflows/{workflow_id}\"],\n getWorkflowRun: [\"GET /repos/{owner}/{repo}/actions/runs/{run_id}\"],\n getWorkflowRunUsage: [\n \"GET /repos/{owner}/{repo}/actions/runs/{run_id}/timing\",\n ],\n getWorkflowUsage: [\n \"GET /repos/{owner}/{repo}/actions/workflows/{workflow_id}/timing\",\n ],\n listArtifactsForRepo: [\"GET /repos/{owner}/{repo}/actions/artifacts\"],\n listEnvironmentSecrets: [\n \"GET /repositories/{repository_id}/environments/{environment_name}/secrets\",\n ],\n listJobsForWorkflowRun: [\n \"GET /repos/{owner}/{repo}/actions/runs/{run_id}/jobs\",\n ],\n listOrgSecrets: [\"GET /orgs/{org}/actions/secrets\"],\n listRepoSecrets: [\"GET /repos/{owner}/{repo}/actions/secrets\"],\n listRepoWorkflows: [\"GET /repos/{owner}/{repo}/actions/workflows\"],\n listRunnerApplicationsForOrg: [\"GET /orgs/{org}/actions/runners/downloads\"],\n listRunnerApplicationsForRepo: [\n \"GET /repos/{owner}/{repo}/actions/runners/downloads\",\n ],\n listSelectedReposForOrgSecret: [\n \"GET /orgs/{org}/actions/secrets/{secret_name}/repositories\",\n ],\n listSelectedRepositoriesEnabledGithubActionsOrganization: [\n \"GET /orgs/{org}/actions/permissions/repositories\",\n ],\n listSelfHostedRunnersForOrg: [\"GET /orgs/{org}/actions/runners\"],\n listSelfHostedRunnersForRepo: [\"GET /repos/{owner}/{repo}/actions/runners\"],\n listWorkflowRunArtifacts: [\n \"GET /repos/{owner}/{repo}/actions/runs/{run_id}/artifacts\",\n ],\n listWorkflowRuns: [\n \"GET /repos/{owner}/{repo}/actions/workflows/{workflow_id}/runs\",\n ],\n listWorkflowRunsForRepo: [\"GET /repos/{owner}/{repo}/actions/runs\"],\n reRunWorkflow: [\"POST /repos/{owner}/{repo}/actions/runs/{run_id}/rerun\"],\n removeSelectedRepoFromOrgSecret: [\n \"DELETE /orgs/{org}/actions/secrets/{secret_name}/repositories/{repository_id}\",\n ],\n reviewPendingDeploymentsForRun: [\n \"POST /repos/{owner}/{repo}/actions/runs/{run_id}/pending_deployments\",\n ],\n setAllowedActionsOrganization: [\n \"PUT /orgs/{org}/actions/permissions/selected-actions\",\n ],\n setAllowedActionsRepository: [\n \"PUT /repos/{owner}/{repo}/actions/permissions/selected-actions\",\n ],\n setGithubActionsPermissionsOrganization: [\n \"PUT /orgs/{org}/actions/permissions\",\n ],\n setGithubActionsPermissionsRepository: [\n \"PUT /repos/{owner}/{repo}/actions/permissions\",\n ],\n setSelectedReposForOrgSecret: [\n \"PUT /orgs/{org}/actions/secrets/{secret_name}/repositories\",\n ],\n setSelectedRepositoriesEnabledGithubActionsOrganization: [\n \"PUT /orgs/{org}/actions/permissions/repositories\",\n ],\n },\n activity: {\n checkRepoIsStarredByAuthenticatedUser: [\"GET /user/starred/{owner}/{repo}\"],\n deleteRepoSubscription: [\"DELETE /repos/{owner}/{repo}/subscription\"],\n deleteThreadSubscription: [\n \"DELETE /notifications/threads/{thread_id}/subscription\",\n ],\n getFeeds: [\"GET /feeds\"],\n getRepoSubscription: [\"GET /repos/{owner}/{repo}/subscription\"],\n getThread: [\"GET /notifications/threads/{thread_id}\"],\n getThreadSubscriptionForAuthenticatedUser: [\n \"GET /notifications/threads/{thread_id}/subscription\",\n ],\n listEventsForAuthenticatedUser: [\"GET /users/{username}/events\"],\n listNotificationsForAuthenticatedUser: [\"GET /notifications\"],\n listOrgEventsForAuthenticatedUser: [\n \"GET /users/{username}/events/orgs/{org}\",\n ],\n listPublicEvents: [\"GET /events\"],\n listPublicEventsForRepoNetwork: [\"GET /networks/{owner}/{repo}/events\"],\n listPublicEventsForUser: [\"GET /users/{username}/events/public\"],\n listPublicOrgEvents: [\"GET /orgs/{org}/events\"],\n listReceivedEventsForUser: [\"GET /users/{username}/received_events\"],\n listReceivedPublicEventsForUser: [\n \"GET /users/{username}/received_events/public\",\n ],\n listRepoEvents: [\"GET /repos/{owner}/{repo}/events\"],\n listRepoNotificationsForAuthenticatedUser: [\n \"GET /repos/{owner}/{repo}/notifications\",\n ],\n listReposStarredByAuthenticatedUser: [\"GET /user/starred\"],\n listReposStarredByUser: [\"GET /users/{username}/starred\"],\n listReposWatchedByUser: [\"GET /users/{username}/subscriptions\"],\n listStargazersForRepo: [\"GET /repos/{owner}/{repo}/stargazers\"],\n listWatchedReposForAuthenticatedUser: [\"GET /user/subscriptions\"],\n listWatchersForRepo: [\"GET /repos/{owner}/{repo}/subscribers\"],\n markNotificationsAsRead: [\"PUT /notifications\"],\n markRepoNotificationsAsRead: [\"PUT /repos/{owner}/{repo}/notifications\"],\n markThreadAsRead: [\"PATCH /notifications/threads/{thread_id}\"],\n setRepoSubscription: [\"PUT /repos/{owner}/{repo}/subscription\"],\n setThreadSubscription: [\n \"PUT /notifications/threads/{thread_id}/subscription\",\n ],\n starRepoForAuthenticatedUser: [\"PUT /user/starred/{owner}/{repo}\"],\n unstarRepoForAuthenticatedUser: [\"DELETE /user/starred/{owner}/{repo}\"],\n },\n apps: {\n addRepoToInstallation: [\n \"PUT /user/installations/{installation_id}/repositories/{repository_id}\",\n ],\n checkToken: [\"POST /applications/{client_id}/token\"],\n createContentAttachment: [\n \"POST /content_references/{content_reference_id}/attachments\",\n { mediaType: { previews: [\"corsair\"] } },\n ],\n createContentAttachmentForRepo: [\n \"POST /repos/{owner}/{repo}/content_references/{content_reference_id}/attachments\",\n { mediaType: { previews: [\"corsair\"] } },\n ],\n createFromManifest: [\"POST /app-manifests/{code}/conversions\"],\n createInstallationAccessToken: [\n \"POST /app/installations/{installation_id}/access_tokens\",\n ],\n deleteAuthorization: [\"DELETE /applications/{client_id}/grant\"],\n deleteInstallation: [\"DELETE /app/installations/{installation_id}\"],\n deleteToken: [\"DELETE /applications/{client_id}/token\"],\n getAuthenticated: [\"GET /app\"],\n getBySlug: [\"GET /apps/{app_slug}\"],\n getInstallation: [\"GET /app/installations/{installation_id}\"],\n getOrgInstallation: [\"GET /orgs/{org}/installation\"],\n getRepoInstallation: [\"GET /repos/{owner}/{repo}/installation\"],\n getSubscriptionPlanForAccount: [\n \"GET /marketplace_listing/accounts/{account_id}\",\n ],\n getSubscriptionPlanForAccountStubbed: [\n \"GET /marketplace_listing/stubbed/accounts/{account_id}\",\n ],\n getUserInstallation: [\"GET /users/{username}/installation\"],\n getWebhookConfigForApp: [\"GET /app/hook/config\"],\n getWebhookDelivery: [\"GET /app/hook/deliveries/{delivery_id}\"],\n listAccountsForPlan: [\"GET /marketplace_listing/plans/{plan_id}/accounts\"],\n listAccountsForPlanStubbed: [\n \"GET /marketplace_listing/stubbed/plans/{plan_id}/accounts\",\n ],\n listInstallationReposForAuthenticatedUser: [\n \"GET /user/installations/{installation_id}/repositories\",\n ],\n listInstallations: [\"GET /app/installations\"],\n listInstallationsForAuthenticatedUser: [\"GET /user/installations\"],\n listPlans: [\"GET /marketplace_listing/plans\"],\n listPlansStubbed: [\"GET /marketplace_listing/stubbed/plans\"],\n listReposAccessibleToInstallation: [\"GET /installation/repositories\"],\n listSubscriptionsForAuthenticatedUser: [\"GET /user/marketplace_purchases\"],\n listSubscriptionsForAuthenticatedUserStubbed: [\n \"GET /user/marketplace_purchases/stubbed\",\n ],\n listWebhookDeliveries: [\"GET /app/hook/deliveries\"],\n redeliverWebhookDelivery: [\n \"POST /app/hook/deliveries/{delivery_id}/attempts\",\n ],\n removeRepoFromInstallation: [\n \"DELETE /user/installations/{installation_id}/repositories/{repository_id}\",\n ],\n resetToken: [\"PATCH /applications/{client_id}/token\"],\n revokeInstallationAccessToken: [\"DELETE /installation/token\"],\n scopeToken: [\"POST /applications/{client_id}/token/scoped\"],\n suspendInstallation: [\"PUT /app/installations/{installation_id}/suspended\"],\n unsuspendInstallation: [\n \"DELETE /app/installations/{installation_id}/suspended\",\n ],\n updateWebhookConfigForApp: [\"PATCH /app/hook/config\"],\n },\n billing: {\n getGithubActionsBillingOrg: [\"GET /orgs/{org}/settings/billing/actions\"],\n getGithubActionsBillingUser: [\n \"GET /users/{username}/settings/billing/actions\",\n ],\n getGithubPackagesBillingOrg: [\"GET /orgs/{org}/settings/billing/packages\"],\n getGithubPackagesBillingUser: [\n \"GET /users/{username}/settings/billing/packages\",\n ],\n getSharedStorageBillingOrg: [\n \"GET /orgs/{org}/settings/billing/shared-storage\",\n ],\n getSharedStorageBillingUser: [\n \"GET /users/{username}/settings/billing/shared-storage\",\n ],\n },\n checks: {\n create: [\"POST /repos/{owner}/{repo}/check-runs\"],\n createSuite: [\"POST /repos/{owner}/{repo}/check-suites\"],\n get: [\"GET /repos/{owner}/{repo}/check-runs/{check_run_id}\"],\n getSuite: [\"GET /repos/{owner}/{repo}/check-suites/{check_suite_id}\"],\n listAnnotations: [\n \"GET /repos/{owner}/{repo}/check-runs/{check_run_id}/annotations\",\n ],\n listForRef: [\"GET /repos/{owner}/{repo}/commits/{ref}/check-runs\"],\n listForSuite: [\n \"GET /repos/{owner}/{repo}/check-suites/{check_suite_id}/check-runs\",\n ],\n listSuitesForRef: [\"GET /repos/{owner}/{repo}/commits/{ref}/check-suites\"],\n rerequestSuite: [\n \"POST /repos/{owner}/{repo}/check-suites/{check_suite_id}/rerequest\",\n ],\n setSuitesPreferences: [\n \"PATCH /repos/{owner}/{repo}/check-suites/preferences\",\n ],\n update: [\"PATCH /repos/{owner}/{repo}/check-runs/{check_run_id}\"],\n },\n codeScanning: {\n deleteAnalysis: [\n \"DELETE /repos/{owner}/{repo}/code-scanning/analyses/{analysis_id}{?confirm_delete}\",\n ],\n getAlert: [\n \"GET /repos/{owner}/{repo}/code-scanning/alerts/{alert_number}\",\n {},\n { renamedParameters: { alert_id: \"alert_number\" } },\n ],\n getAnalysis: [\n \"GET /repos/{owner}/{repo}/code-scanning/analyses/{analysis_id}\",\n ],\n getSarif: [\"GET /repos/{owner}/{repo}/code-scanning/sarifs/{sarif_id}\"],\n listAlertInstances: [\n \"GET /repos/{owner}/{repo}/code-scanning/alerts/{alert_number}/instances\",\n ],\n listAlertsForRepo: [\"GET /repos/{owner}/{repo}/code-scanning/alerts\"],\n listAlertsInstances: [\n \"GET /repos/{owner}/{repo}/code-scanning/alerts/{alert_number}/instances\",\n {},\n { renamed: [\"codeScanning\", \"listAlertInstances\"] },\n ],\n listRecentAnalyses: [\"GET /repos/{owner}/{repo}/code-scanning/analyses\"],\n updateAlert: [\n \"PATCH /repos/{owner}/{repo}/code-scanning/alerts/{alert_number}\",\n ],\n uploadSarif: [\"POST /repos/{owner}/{repo}/code-scanning/sarifs\"],\n },\n codesOfConduct: {\n getAllCodesOfConduct: [\"GET /codes_of_conduct\"],\n getConductCode: [\"GET /codes_of_conduct/{key}\"],\n getForRepo: [\n \"GET /repos/{owner}/{repo}/community/code_of_conduct\",\n { mediaType: { previews: [\"scarlet-witch\"] } },\n ],\n },\n emojis: { get: [\"GET /emojis\"] },\n enterpriseAdmin: {\n disableSelectedOrganizationGithubActionsEnterprise: [\n \"DELETE /enterprises/{enterprise}/actions/permissions/organizations/{org_id}\",\n ],\n enableSelectedOrganizationGithubActionsEnterprise: [\n \"PUT /enterprises/{enterprise}/actions/permissions/organizations/{org_id}\",\n ],\n getAllowedActionsEnterprise: [\n \"GET /enterprises/{enterprise}/actions/permissions/selected-actions\",\n ],\n getGithubActionsPermissionsEnterprise: [\n \"GET /enterprises/{enterprise}/actions/permissions\",\n ],\n listSelectedOrganizationsEnabledGithubActionsEnterprise: [\n \"GET /enterprises/{enterprise}/actions/permissions/organizations\",\n ],\n setAllowedActionsEnterprise: [\n \"PUT /enterprises/{enterprise}/actions/permissions/selected-actions\",\n ],\n setGithubActionsPermissionsEnterprise: [\n \"PUT /enterprises/{enterprise}/actions/permissions\",\n ],\n setSelectedOrganizationsEnabledGithubActionsEnterprise: [\n \"PUT /enterprises/{enterprise}/actions/permissions/organizations\",\n ],\n },\n gists: {\n checkIsStarred: [\"GET /gists/{gist_id}/star\"],\n create: [\"POST /gists\"],\n createComment: [\"POST /gists/{gist_id}/comments\"],\n delete: [\"DELETE /gists/{gist_id}\"],\n deleteComment: [\"DELETE /gists/{gist_id}/comments/{comment_id}\"],\n fork: [\"POST /gists/{gist_id}/forks\"],\n get: [\"GET /gists/{gist_id}\"],\n getComment: [\"GET /gists/{gist_id}/comments/{comment_id}\"],\n getRevision: [\"GET /gists/{gist_id}/{sha}\"],\n list: [\"GET /gists\"],\n listComments: [\"GET /gists/{gist_id}/comments\"],\n listCommits: [\"GET /gists/{gist_id}/commits\"],\n listForUser: [\"GET /users/{username}/gists\"],\n listForks: [\"GET /gists/{gist_id}/forks\"],\n listPublic: [\"GET /gists/public\"],\n listStarred: [\"GET /gists/starred\"],\n star: [\"PUT /gists/{gist_id}/star\"],\n unstar: [\"DELETE /gists/{gist_id}/star\"],\n update: [\"PATCH /gists/{gist_id}\"],\n updateComment: [\"PATCH /gists/{gist_id}/comments/{comment_id}\"],\n },\n git: {\n createBlob: [\"POST /repos/{owner}/{repo}/git/blobs\"],\n createCommit: [\"POST /repos/{owner}/{repo}/git/commits\"],\n createRef: [\"POST /repos/{owner}/{repo}/git/refs\"],\n createTag: [\"POST /repos/{owner}/{repo}/git/tags\"],\n createTree: [\"POST /repos/{owner}/{repo}/git/trees\"],\n deleteRef: [\"DELETE /repos/{owner}/{repo}/git/refs/{ref}\"],\n getBlob: [\"GET /repos/{owner}/{repo}/git/blobs/{file_sha}\"],\n getCommit: [\"GET /repos/{owner}/{repo}/git/commits/{commit_sha}\"],\n getRef: [\"GET /repos/{owner}/{repo}/git/ref/{ref}\"],\n getTag: [\"GET /repos/{owner}/{repo}/git/tags/{tag_sha}\"],\n getTree: [\"GET /repos/{owner}/{repo}/git/trees/{tree_sha}\"],\n listMatchingRefs: [\"GET /repos/{owner}/{repo}/git/matching-refs/{ref}\"],\n updateRef: [\"PATCH /repos/{owner}/{repo}/git/refs/{ref}\"],\n },\n gitignore: {\n getAllTemplates: [\"GET /gitignore/templates\"],\n getTemplate: [\"GET /gitignore/templates/{name}\"],\n },\n interactions: {\n getRestrictionsForAuthenticatedUser: [\"GET /user/interaction-limits\"],\n getRestrictionsForOrg: [\"GET /orgs/{org}/interaction-limits\"],\n getRestrictionsForRepo: [\"GET /repos/{owner}/{repo}/interaction-limits\"],\n getRestrictionsForYourPublicRepos: [\n \"GET /user/interaction-limits\",\n {},\n { renamed: [\"interactions\", \"getRestrictionsForAuthenticatedUser\"] },\n ],\n removeRestrictionsForAuthenticatedUser: [\"DELETE /user/interaction-limits\"],\n removeRestrictionsForOrg: [\"DELETE /orgs/{org}/interaction-limits\"],\n removeRestrictionsForRepo: [\n \"DELETE /repos/{owner}/{repo}/interaction-limits\",\n ],\n removeRestrictionsForYourPublicRepos: [\n \"DELETE /user/interaction-limits\",\n {},\n { renamed: [\"interactions\", \"removeRestrictionsForAuthenticatedUser\"] },\n ],\n setRestrictionsForAuthenticatedUser: [\"PUT /user/interaction-limits\"],\n setRestrictionsForOrg: [\"PUT /orgs/{org}/interaction-limits\"],\n setRestrictionsForRepo: [\"PUT /repos/{owner}/{repo}/interaction-limits\"],\n setRestrictionsForYourPublicRepos: [\n \"PUT /user/interaction-limits\",\n {},\n { renamed: [\"interactions\", \"setRestrictionsForAuthenticatedUser\"] },\n ],\n },\n issues: {\n addAssignees: [\n \"POST /repos/{owner}/{repo}/issues/{issue_number}/assignees\",\n ],\n addLabels: [\"POST /repos/{owner}/{repo}/issues/{issue_number}/labels\"],\n checkUserCanBeAssigned: [\"GET /repos/{owner}/{repo}/assignees/{assignee}\"],\n create: [\"POST /repos/{owner}/{repo}/issues\"],\n createComment: [\n \"POST /repos/{owner}/{repo}/issues/{issue_number}/comments\",\n ],\n createLabel: [\"POST /repos/{owner}/{repo}/labels\"],\n createMilestone: [\"POST /repos/{owner}/{repo}/milestones\"],\n deleteComment: [\n \"DELETE /repos/{owner}/{repo}/issues/comments/{comment_id}\",\n ],\n deleteLabel: [\"DELETE /repos/{owner}/{repo}/labels/{name}\"],\n deleteMilestone: [\n \"DELETE /repos/{owner}/{repo}/milestones/{milestone_number}\",\n ],\n get: [\"GET /repos/{owner}/{repo}/issues/{issue_number}\"],\n getComment: [\"GET /repos/{owner}/{repo}/issues/comments/{comment_id}\"],\n getEvent: [\"GET /repos/{owner}/{repo}/issues/events/{event_id}\"],\n getLabel: [\"GET /repos/{owner}/{repo}/labels/{name}\"],\n getMilestone: [\"GET /repos/{owner}/{repo}/milestones/{milestone_number}\"],\n list: [\"GET /issues\"],\n listAssignees: [\"GET /repos/{owner}/{repo}/assignees\"],\n listComments: [\"GET /repos/{owner}/{repo}/issues/{issue_number}/comments\"],\n listCommentsForRepo: [\"GET /repos/{owner}/{repo}/issues/comments\"],\n listEvents: [\"GET /repos/{owner}/{repo}/issues/{issue_number}/events\"],\n listEventsForRepo: [\"GET /repos/{owner}/{repo}/issues/events\"],\n listEventsForTimeline: [\n \"GET /repos/{owner}/{repo}/issues/{issue_number}/timeline\",\n { mediaType: { previews: [\"mockingbird\"] } },\n ],\n listForAuthenticatedUser: [\"GET /user/issues\"],\n listForOrg: [\"GET /orgs/{org}/issues\"],\n listForRepo: [\"GET /repos/{owner}/{repo}/issues\"],\n listLabelsForMilestone: [\n \"GET /repos/{owner}/{repo}/milestones/{milestone_number}/labels\",\n ],\n listLabelsForRepo: [\"GET /repos/{owner}/{repo}/labels\"],\n listLabelsOnIssue: [\n \"GET /repos/{owner}/{repo}/issues/{issue_number}/labels\",\n ],\n listMilestones: [\"GET /repos/{owner}/{repo}/milestones\"],\n lock: [\"PUT /repos/{owner}/{repo}/issues/{issue_number}/lock\"],\n removeAllLabels: [\n \"DELETE /repos/{owner}/{repo}/issues/{issue_number}/labels\",\n ],\n removeAssignees: [\n \"DELETE /repos/{owner}/{repo}/issues/{issue_number}/assignees\",\n ],\n removeLabel: [\n \"DELETE /repos/{owner}/{repo}/issues/{issue_number}/labels/{name}\",\n ],\n setLabels: [\"PUT /repos/{owner}/{repo}/issues/{issue_number}/labels\"],\n unlock: [\"DELETE /repos/{owner}/{repo}/issues/{issue_number}/lock\"],\n update: [\"PATCH /repos/{owner}/{repo}/issues/{issue_number}\"],\n updateComment: [\"PATCH /repos/{owner}/{repo}/issues/comments/{comment_id}\"],\n updateLabel: [\"PATCH /repos/{owner}/{repo}/labels/{name}\"],\n updateMilestone: [\n \"PATCH /repos/{owner}/{repo}/milestones/{milestone_number}\",\n ],\n },\n licenses: {\n get: [\"GET /licenses/{license}\"],\n getAllCommonlyUsed: [\"GET /licenses\"],\n getForRepo: [\"GET /repos/{owner}/{repo}/license\"],\n },\n markdown: {\n render: [\"POST /markdown\"],\n renderRaw: [\n \"POST /markdown/raw\",\n { headers: { \"content-type\": \"text/plain; charset=utf-8\" } },\n ],\n },\n meta: {\n get: [\"GET /meta\"],\n getOctocat: [\"GET /octocat\"],\n getZen: [\"GET /zen\"],\n root: [\"GET /\"],\n },\n migrations: {\n cancelImport: [\"DELETE /repos/{owner}/{repo}/import\"],\n deleteArchiveForAuthenticatedUser: [\n \"DELETE /user/migrations/{migration_id}/archive\",\n { mediaType: { previews: [\"wyandotte\"] } },\n ],\n deleteArchiveForOrg: [\n \"DELETE /orgs/{org}/migrations/{migration_id}/archive\",\n { mediaType: { previews: [\"wyandotte\"] } },\n ],\n downloadArchiveForOrg: [\n \"GET /orgs/{org}/migrations/{migration_id}/archive\",\n { mediaType: { previews: [\"wyandotte\"] } },\n ],\n getArchiveForAuthenticatedUser: [\n \"GET /user/migrations/{migration_id}/archive\",\n { mediaType: { previews: [\"wyandotte\"] } },\n ],\n getCommitAuthors: [\"GET /repos/{owner}/{repo}/import/authors\"],\n getImportStatus: [\"GET /repos/{owner}/{repo}/import\"],\n getLargeFiles: [\"GET /repos/{owner}/{repo}/import/large_files\"],\n getStatusForAuthenticatedUser: [\n \"GET /user/migrations/{migration_id}\",\n { mediaType: { previews: [\"wyandotte\"] } },\n ],\n getStatusForOrg: [\n \"GET /orgs/{org}/migrations/{migration_id}\",\n { mediaType: { previews: [\"wyandotte\"] } },\n ],\n listForAuthenticatedUser: [\n \"GET /user/migrations\",\n { mediaType: { previews: [\"wyandotte\"] } },\n ],\n listForOrg: [\n \"GET /orgs/{org}/migrations\",\n { mediaType: { previews: [\"wyandotte\"] } },\n ],\n listReposForOrg: [\n \"GET /orgs/{org}/migrations/{migration_id}/repositories\",\n { mediaType: { previews: [\"wyandotte\"] } },\n ],\n listReposForUser: [\n \"GET /user/migrations/{migration_id}/repositories\",\n { mediaType: { previews: [\"wyandotte\"] } },\n ],\n mapCommitAuthor: [\"PATCH /repos/{owner}/{repo}/import/authors/{author_id}\"],\n setLfsPreference: [\"PATCH /repos/{owner}/{repo}/import/lfs\"],\n startForAuthenticatedUser: [\"POST /user/migrations\"],\n startForOrg: [\"POST /orgs/{org}/migrations\"],\n startImport: [\"PUT /repos/{owner}/{repo}/import\"],\n unlockRepoForAuthenticatedUser: [\n \"DELETE /user/migrations/{migration_id}/repos/{repo_name}/lock\",\n { mediaType: { previews: [\"wyandotte\"] } },\n ],\n unlockRepoForOrg: [\n \"DELETE /orgs/{org}/migrations/{migration_id}/repos/{repo_name}/lock\",\n { mediaType: { previews: [\"wyandotte\"] } },\n ],\n updateImport: [\"PATCH /repos/{owner}/{repo}/import\"],\n },\n orgs: {\n blockUser: [\"PUT /orgs/{org}/blocks/{username}\"],\n cancelInvitation: [\"DELETE /orgs/{org}/invitations/{invitation_id}\"],\n checkBlockedUser: [\"GET /orgs/{org}/blocks/{username}\"],\n checkMembershipForUser: [\"GET /orgs/{org}/members/{username}\"],\n checkPublicMembershipForUser: [\"GET /orgs/{org}/public_members/{username}\"],\n convertMemberToOutsideCollaborator: [\n \"PUT /orgs/{org}/outside_collaborators/{username}\",\n ],\n createInvitation: [\"POST /orgs/{org}/invitations\"],\n createWebhook: [\"POST /orgs/{org}/hooks\"],\n deleteWebhook: [\"DELETE /orgs/{org}/hooks/{hook_id}\"],\n get: [\"GET /orgs/{org}\"],\n getMembershipForAuthenticatedUser: [\"GET /user/memberships/orgs/{org}\"],\n getMembershipForUser: [\"GET /orgs/{org}/memberships/{username}\"],\n getWebhook: [\"GET /orgs/{org}/hooks/{hook_id}\"],\n getWebhookConfigForOrg: [\"GET /orgs/{org}/hooks/{hook_id}/config\"],\n getWebhookDelivery: [\n \"GET /orgs/{org}/hooks/{hook_id}/deliveries/{delivery_id}\",\n ],\n list: [\"GET /organizations\"],\n listAppInstallations: [\"GET /orgs/{org}/installations\"],\n listBlockedUsers: [\"GET /orgs/{org}/blocks\"],\n listFailedInvitations: [\"GET /orgs/{org}/failed_invitations\"],\n listForAuthenticatedUser: [\"GET /user/orgs\"],\n listForUser: [\"GET /users/{username}/orgs\"],\n listInvitationTeams: [\"GET /orgs/{org}/invitations/{invitation_id}/teams\"],\n listMembers: [\"GET /orgs/{org}/members\"],\n listMembershipsForAuthenticatedUser: [\"GET /user/memberships/orgs\"],\n listOutsideCollaborators: [\"GET /orgs/{org}/outside_collaborators\"],\n listPendingInvitations: [\"GET /orgs/{org}/invitations\"],\n listPublicMembers: [\"GET /orgs/{org}/public_members\"],\n listWebhookDeliveries: [\"GET /orgs/{org}/hooks/{hook_id}/deliveries\"],\n listWebhooks: [\"GET /orgs/{org}/hooks\"],\n pingWebhook: [\"POST /orgs/{org}/hooks/{hook_id}/pings\"],\n redeliverWebhookDelivery: [\n \"POST /orgs/{org}/hooks/{hook_id}/deliveries/{delivery_id}/attempts\",\n ],\n removeMember: [\"DELETE /orgs/{org}/members/{username}\"],\n removeMembershipForUser: [\"DELETE /orgs/{org}/memberships/{username}\"],\n removeOutsideCollaborator: [\n \"DELETE /orgs/{org}/outside_collaborators/{username}\",\n ],\n removePublicMembershipForAuthenticatedUser: [\n \"DELETE /orgs/{org}/public_members/{username}\",\n ],\n setMembershipForUser: [\"PUT /orgs/{org}/memberships/{username}\"],\n setPublicMembershipForAuthenticatedUser: [\n \"PUT /orgs/{org}/public_members/{username}\",\n ],\n unblockUser: [\"DELETE /orgs/{org}/blocks/{username}\"],\n update: [\"PATCH /orgs/{org}\"],\n updateMembershipForAuthenticatedUser: [\n \"PATCH /user/memberships/orgs/{org}\",\n ],\n updateWebhook: [\"PATCH /orgs/{org}/hooks/{hook_id}\"],\n updateWebhookConfigForOrg: [\"PATCH /orgs/{org}/hooks/{hook_id}/config\"],\n },\n packages: {\n deletePackageForAuthenticatedUser: [\n \"DELETE /user/packages/{package_type}/{package_name}\",\n ],\n deletePackageForOrg: [\n \"DELETE /orgs/{org}/packages/{package_type}/{package_name}\",\n ],\n deletePackageVersionForAuthenticatedUser: [\n \"DELETE /user/packages/{package_type}/{package_name}/versions/{package_version_id}\",\n ],\n deletePackageVersionForOrg: [\n \"DELETE /orgs/{org}/packages/{package_type}/{package_name}/versions/{package_version_id}\",\n ],\n getAllPackageVersionsForAPackageOwnedByAnOrg: [\n \"GET /orgs/{org}/packages/{package_type}/{package_name}/versions\",\n {},\n { renamed: [\"packages\", \"getAllPackageVersionsForPackageOwnedByOrg\"] },\n ],\n getAllPackageVersionsForAPackageOwnedByTheAuthenticatedUser: [\n \"GET /user/packages/{package_type}/{package_name}/versions\",\n {},\n {\n renamed: [\n \"packages\",\n \"getAllPackageVersionsForPackageOwnedByAuthenticatedUser\",\n ],\n },\n ],\n getAllPackageVersionsForPackageOwnedByAuthenticatedUser: [\n \"GET /user/packages/{package_type}/{package_name}/versions\",\n ],\n getAllPackageVersionsForPackageOwnedByOrg: [\n \"GET /orgs/{org}/packages/{package_type}/{package_name}/versions\",\n ],\n getAllPackageVersionsForPackageOwnedByUser: [\n \"GET /users/{username}/packages/{package_type}/{package_name}/versions\",\n ],\n getPackageForAuthenticatedUser: [\n \"GET /user/packages/{package_type}/{package_name}\",\n ],\n getPackageForOrganization: [\n \"GET /orgs/{org}/packages/{package_type}/{package_name}\",\n ],\n getPackageForUser: [\n \"GET /users/{username}/packages/{package_type}/{package_name}\",\n ],\n getPackageVersionForAuthenticatedUser: [\n \"GET /user/packages/{package_type}/{package_name}/versions/{package_version_id}\",\n ],\n getPackageVersionForOrganization: [\n \"GET /orgs/{org}/packages/{package_type}/{package_name}/versions/{package_version_id}\",\n ],\n getPackageVersionForUser: [\n \"GET /users/{username}/packages/{package_type}/{package_name}/versions/{package_version_id}\",\n ],\n restorePackageForAuthenticatedUser: [\n \"POST /user/packages/{package_type}/{package_name}/restore{?token}\",\n ],\n restorePackageForOrg: [\n \"POST /orgs/{org}/packages/{package_type}/{package_name}/restore{?token}\",\n ],\n restorePackageVersionForAuthenticatedUser: [\n \"POST /user/packages/{package_type}/{package_name}/versions/{package_version_id}/restore\",\n ],\n restorePackageVersionForOrg: [\n \"POST /orgs/{org}/packages/{package_type}/{package_name}/versions/{package_version_id}/restore\",\n ],\n },\n projects: {\n addCollaborator: [\n \"PUT /projects/{project_id}/collaborators/{username}\",\n { mediaType: { previews: [\"inertia\"] } },\n ],\n createCard: [\n \"POST /projects/columns/{column_id}/cards\",\n { mediaType: { previews: [\"inertia\"] } },\n ],\n createColumn: [\n \"POST /projects/{project_id}/columns\",\n { mediaType: { previews: [\"inertia\"] } },\n ],\n createForAuthenticatedUser: [\n \"POST /user/projects\",\n { mediaType: { previews: [\"inertia\"] } },\n ],\n createForOrg: [\n \"POST /orgs/{org}/projects\",\n { mediaType: { previews: [\"inertia\"] } },\n ],\n createForRepo: [\n \"POST /repos/{owner}/{repo}/projects\",\n { mediaType: { previews: [\"inertia\"] } },\n ],\n delete: [\n \"DELETE /projects/{project_id}\",\n { mediaType: { previews: [\"inertia\"] } },\n ],\n deleteCard: [\n \"DELETE /projects/columns/cards/{card_id}\",\n { mediaType: { previews: [\"inertia\"] } },\n ],\n deleteColumn: [\n \"DELETE /projects/columns/{column_id}\",\n { mediaType: { previews: [\"inertia\"] } },\n ],\n get: [\n \"GET /projects/{project_id}\",\n { mediaType: { previews: [\"inertia\"] } },\n ],\n getCard: [\n \"GET /projects/columns/cards/{card_id}\",\n { mediaType: { previews: [\"inertia\"] } },\n ],\n getColumn: [\n \"GET /projects/columns/{column_id}\",\n { mediaType: { previews: [\"inertia\"] } },\n ],\n getPermissionForUser: [\n \"GET /projects/{project_id}/collaborators/{username}/permission\",\n { mediaType: { previews: [\"inertia\"] } },\n ],\n listCards: [\n \"GET /projects/columns/{column_id}/cards\",\n { mediaType: { previews: [\"inertia\"] } },\n ],\n listCollaborators: [\n \"GET /projects/{project_id}/collaborators\",\n { mediaType: { previews: [\"inertia\"] } },\n ],\n listColumns: [\n \"GET /projects/{project_id}/columns\",\n { mediaType: { previews: [\"inertia\"] } },\n ],\n listForOrg: [\n \"GET /orgs/{org}/projects\",\n { mediaType: { previews: [\"inertia\"] } },\n ],\n listForRepo: [\n \"GET /repos/{owner}/{repo}/projects\",\n { mediaType: { previews: [\"inertia\"] } },\n ],\n listForUser: [\n \"GET /users/{username}/projects\",\n { mediaType: { previews: [\"inertia\"] } },\n ],\n moveCard: [\n \"POST /projects/columns/cards/{card_id}/moves\",\n { mediaType: { previews: [\"inertia\"] } },\n ],\n moveColumn: [\n \"POST /projects/columns/{column_id}/moves\",\n { mediaType: { previews: [\"inertia\"] } },\n ],\n removeCollaborator: [\n \"DELETE /projects/{project_id}/collaborators/{username}\",\n { mediaType: { previews: [\"inertia\"] } },\n ],\n update: [\n \"PATCH /projects/{project_id}\",\n { mediaType: { previews: [\"inertia\"] } },\n ],\n updateCard: [\n \"PATCH /projects/columns/cards/{card_id}\",\n { mediaType: { previews: [\"inertia\"] } },\n ],\n updateColumn: [\n \"PATCH /projects/columns/{column_id}\",\n { mediaType: { previews: [\"inertia\"] } },\n ],\n },\n pulls: {\n checkIfMerged: [\"GET /repos/{owner}/{repo}/pulls/{pull_number}/merge\"],\n create: [\"POST /repos/{owner}/{repo}/pulls\"],\n createReplyForReviewComment: [\n \"POST /repos/{owner}/{repo}/pulls/{pull_number}/comments/{comment_id}/replies\",\n ],\n createReview: [\"POST /repos/{owner}/{repo}/pulls/{pull_number}/reviews\"],\n createReviewComment: [\n \"POST /repos/{owner}/{repo}/pulls/{pull_number}/comments\",\n ],\n deletePendingReview: [\n \"DELETE /repos/{owner}/{repo}/pulls/{pull_number}/reviews/{review_id}\",\n ],\n deleteReviewComment: [\n \"DELETE /repos/{owner}/{repo}/pulls/comments/{comment_id}\",\n ],\n dismissReview: [\n \"PUT /repos/{owner}/{repo}/pulls/{pull_number}/reviews/{review_id}/dismissals\",\n ],\n get: [\"GET /repos/{owner}/{repo}/pulls/{pull_number}\"],\n getReview: [\n \"GET /repos/{owner}/{repo}/pulls/{pull_number}/reviews/{review_id}\",\n ],\n getReviewComment: [\"GET /repos/{owner}/{repo}/pulls/comments/{comment_id}\"],\n list: [\"GET /repos/{owner}/{repo}/pulls\"],\n listCommentsForReview: [\n \"GET /repos/{owner}/{repo}/pulls/{pull_number}/reviews/{review_id}/comments\",\n ],\n listCommits: [\"GET /repos/{owner}/{repo}/pulls/{pull_number}/commits\"],\n listFiles: [\"GET /repos/{owner}/{repo}/pulls/{pull_number}/files\"],\n listRequestedReviewers: [\n \"GET /repos/{owner}/{repo}/pulls/{pull_number}/requested_reviewers\",\n ],\n listReviewComments: [\n \"GET /repos/{owner}/{repo}/pulls/{pull_number}/comments\",\n ],\n listReviewCommentsForRepo: [\"GET /repos/{owner}/{repo}/pulls/comments\"],\n listReviews: [\"GET /repos/{owner}/{repo}/pulls/{pull_number}/reviews\"],\n merge: [\"PUT /repos/{owner}/{repo}/pulls/{pull_number}/merge\"],\n removeRequestedReviewers: [\n \"DELETE /repos/{owner}/{repo}/pulls/{pull_number}/requested_reviewers\",\n ],\n requestReviewers: [\n \"POST /repos/{owner}/{repo}/pulls/{pull_number}/requested_reviewers\",\n ],\n submitReview: [\n \"POST /repos/{owner}/{repo}/pulls/{pull_number}/reviews/{review_id}/events\",\n ],\n update: [\"PATCH /repos/{owner}/{repo}/pulls/{pull_number}\"],\n updateBranch: [\n \"PUT /repos/{owner}/{repo}/pulls/{pull_number}/update-branch\",\n { mediaType: { previews: [\"lydian\"] } },\n ],\n updateReview: [\n \"PUT /repos/{owner}/{repo}/pulls/{pull_number}/reviews/{review_id}\",\n ],\n updateReviewComment: [\n \"PATCH /repos/{owner}/{repo}/pulls/comments/{comment_id}\",\n ],\n },\n rateLimit: { get: [\"GET /rate_limit\"] },\n reactions: {\n createForCommitComment: [\n \"POST /repos/{owner}/{repo}/comments/{comment_id}/reactions\",\n { mediaType: { previews: [\"squirrel-girl\"] } },\n ],\n createForIssue: [\n \"POST /repos/{owner}/{repo}/issues/{issue_number}/reactions\",\n { mediaType: { previews: [\"squirrel-girl\"] } },\n ],\n createForIssueComment: [\n \"POST /repos/{owner}/{repo}/issues/comments/{comment_id}/reactions\",\n { mediaType: { previews: [\"squirrel-girl\"] } },\n ],\n createForPullRequestReviewComment: [\n \"POST /repos/{owner}/{repo}/pulls/comments/{comment_id}/reactions\",\n { mediaType: { previews: [\"squirrel-girl\"] } },\n ],\n createForRelease: [\n \"POST /repos/{owner}/{repo}/releases/{release_id}/reactions\",\n { mediaType: { previews: [\"squirrel-girl\"] } },\n ],\n createForTeamDiscussionCommentInOrg: [\n \"POST /orgs/{org}/teams/{team_slug}/discussions/{discussion_number}/comments/{comment_number}/reactions\",\n { mediaType: { previews: [\"squirrel-girl\"] } },\n ],\n createForTeamDiscussionInOrg: [\n \"POST /orgs/{org}/teams/{team_slug}/discussions/{discussion_number}/reactions\",\n { mediaType: { previews: [\"squirrel-girl\"] } },\n ],\n deleteForCommitComment: [\n \"DELETE /repos/{owner}/{repo}/comments/{comment_id}/reactions/{reaction_id}\",\n { mediaType: { previews: [\"squirrel-girl\"] } },\n ],\n deleteForIssue: [\n \"DELETE /repos/{owner}/{repo}/issues/{issue_number}/reactions/{reaction_id}\",\n { mediaType: { previews: [\"squirrel-girl\"] } },\n ],\n deleteForIssueComment: [\n \"DELETE /repos/{owner}/{repo}/issues/comments/{comment_id}/reactions/{reaction_id}\",\n { mediaType: { previews: [\"squirrel-girl\"] } },\n ],\n deleteForPullRequestComment: [\n \"DELETE /repos/{owner}/{repo}/pulls/comments/{comment_id}/reactions/{reaction_id}\",\n { mediaType: { previews: [\"squirrel-girl\"] } },\n ],\n deleteForTeamDiscussion: [\n \"DELETE /orgs/{org}/teams/{team_slug}/discussions/{discussion_number}/reactions/{reaction_id}\",\n { mediaType: { previews: [\"squirrel-girl\"] } },\n ],\n deleteForTeamDiscussionComment: [\n \"DELETE /orgs/{org}/teams/{team_slug}/discussions/{discussion_number}/comments/{comment_number}/reactions/{reaction_id}\",\n { mediaType: { previews: [\"squirrel-girl\"] } },\n ],\n deleteLegacy: [\n \"DELETE /reactions/{reaction_id}\",\n { mediaType: { previews: [\"squirrel-girl\"] } },\n {\n deprecated: \"octokit.rest.reactions.deleteLegacy() is deprecated, see https://docs.github.com/rest/reference/reactions/#delete-a-reaction-legacy\",\n },\n ],\n listForCommitComment: [\n \"GET /repos/{owner}/{repo}/comments/{comment_id}/reactions\",\n { mediaType: { previews: [\"squirrel-girl\"] } },\n ],\n listForIssue: [\n \"GET /repos/{owner}/{repo}/issues/{issue_number}/reactions\",\n { mediaType: { previews: [\"squirrel-girl\"] } },\n ],\n listForIssueComment: [\n \"GET /repos/{owner}/{repo}/issues/comments/{comment_id}/reactions\",\n { mediaType: { previews: [\"squirrel-girl\"] } },\n ],\n listForPullRequestReviewComment: [\n \"GET /repos/{owner}/{repo}/pulls/comments/{comment_id}/reactions\",\n { mediaType: { previews: [\"squirrel-girl\"] } },\n ],\n listForTeamDiscussionCommentInOrg: [\n \"GET /orgs/{org}/teams/{team_slug}/discussions/{discussion_number}/comments/{comment_number}/reactions\",\n { mediaType: { previews: [\"squirrel-girl\"] } },\n ],\n listForTeamDiscussionInOrg: [\n \"GET /orgs/{org}/teams/{team_slug}/discussions/{discussion_number}/reactions\",\n { mediaType: { previews: [\"squirrel-girl\"] } },\n ],\n },\n repos: {\n acceptInvitation: [\"PATCH /user/repository_invitations/{invitation_id}\"],\n addAppAccessRestrictions: [\n \"POST /repos/{owner}/{repo}/branches/{branch}/protection/restrictions/apps\",\n {},\n { mapToData: \"apps\" },\n ],\n addCollaborator: [\"PUT /repos/{owner}/{repo}/collaborators/{username}\"],\n addStatusCheckContexts: [\n \"POST /repos/{owner}/{repo}/branches/{branch}/protection/required_status_checks/contexts\",\n {},\n { mapToData: \"contexts\" },\n ],\n addTeamAccessRestrictions: [\n \"POST /repos/{owner}/{repo}/branches/{branch}/protection/restrictions/teams\",\n {},\n { mapToData: \"teams\" },\n ],\n addUserAccessRestrictions: [\n \"POST /repos/{owner}/{repo}/branches/{branch}/protection/restrictions/users\",\n {},\n { mapToData: \"users\" },\n ],\n checkCollaborator: [\"GET /repos/{owner}/{repo}/collaborators/{username}\"],\n checkVulnerabilityAlerts: [\n \"GET /repos/{owner}/{repo}/vulnerability-alerts\",\n { mediaType: { previews: [\"dorian\"] } },\n ],\n compareCommits: [\"GET /repos/{owner}/{repo}/compare/{base}...{head}\"],\n compareCommitsWithBasehead: [\n \"GET /repos/{owner}/{repo}/compare/{basehead}\",\n ],\n createCommitComment: [\n \"POST /repos/{owner}/{repo}/commits/{commit_sha}/comments\",\n ],\n createCommitSignatureProtection: [\n \"POST /repos/{owner}/{repo}/branches/{branch}/protection/required_signatures\",\n { mediaType: { previews: [\"zzzax\"] } },\n ],\n createCommitStatus: [\"POST /repos/{owner}/{repo}/statuses/{sha}\"],\n createDeployKey: [\"POST /repos/{owner}/{repo}/keys\"],\n createDeployment: [\"POST /repos/{owner}/{repo}/deployments\"],\n createDeploymentStatus: [\n \"POST /repos/{owner}/{repo}/deployments/{deployment_id}/statuses\",\n ],\n createDispatchEvent: [\"POST /repos/{owner}/{repo}/dispatches\"],\n createForAuthenticatedUser: [\"POST /user/repos\"],\n createFork: [\"POST /repos/{owner}/{repo}/forks\"],\n createInOrg: [\"POST /orgs/{org}/repos\"],\n createOrUpdateEnvironment: [\n \"PUT /repos/{owner}/{repo}/environments/{environment_name}\",\n ],\n createOrUpdateFileContents: [\"PUT /repos/{owner}/{repo}/contents/{path}\"],\n createPagesSite: [\n \"POST /repos/{owner}/{repo}/pages\",\n { mediaType: { previews: [\"switcheroo\"] } },\n ],\n createRelease: [\"POST /repos/{owner}/{repo}/releases\"],\n createUsingTemplate: [\n \"POST /repos/{template_owner}/{template_repo}/generate\",\n { mediaType: { previews: [\"baptiste\"] } },\n ],\n createWebhook: [\"POST /repos/{owner}/{repo}/hooks\"],\n declineInvitation: [\"DELETE /user/repository_invitations/{invitation_id}\"],\n delete: [\"DELETE /repos/{owner}/{repo}\"],\n deleteAccessRestrictions: [\n \"DELETE /repos/{owner}/{repo}/branches/{branch}/protection/restrictions\",\n ],\n deleteAdminBranchProtection: [\n \"DELETE /repos/{owner}/{repo}/branches/{branch}/protection/enforce_admins\",\n ],\n deleteAnEnvironment: [\n \"DELETE /repos/{owner}/{repo}/environments/{environment_name}\",\n ],\n deleteBranchProtection: [\n \"DELETE /repos/{owner}/{repo}/branches/{branch}/protection\",\n ],\n deleteCommitComment: [\"DELETE /repos/{owner}/{repo}/comments/{comment_id}\"],\n deleteCommitSignatureProtection: [\n \"DELETE /repos/{owner}/{repo}/branches/{branch}/protection/required_signatures\",\n { mediaType: { previews: [\"zzzax\"] } },\n ],\n deleteDeployKey: [\"DELETE /repos/{owner}/{repo}/keys/{key_id}\"],\n deleteDeployment: [\n \"DELETE /repos/{owner}/{repo}/deployments/{deployment_id}\",\n ],\n deleteFile: [\"DELETE /repos/{owner}/{repo}/contents/{path}\"],\n deleteInvitation: [\n \"DELETE /repos/{owner}/{repo}/invitations/{invitation_id}\",\n ],\n deletePagesSite: [\n \"DELETE /repos/{owner}/{repo}/pages\",\n { mediaType: { previews: [\"switcheroo\"] } },\n ],\n deletePullRequestReviewProtection: [\n \"DELETE /repos/{owner}/{repo}/branches/{branch}/protection/required_pull_request_reviews\",\n ],\n deleteRelease: [\"DELETE /repos/{owner}/{repo}/releases/{release_id}\"],\n deleteReleaseAsset: [\n \"DELETE /repos/{owner}/{repo}/releases/assets/{asset_id}\",\n ],\n deleteWebhook: [\"DELETE /repos/{owner}/{repo}/hooks/{hook_id}\"],\n disableAutomatedSecurityFixes: [\n \"DELETE /repos/{owner}/{repo}/automated-security-fixes\",\n { mediaType: { previews: [\"london\"] } },\n ],\n disableVulnerabilityAlerts: [\n \"DELETE /repos/{owner}/{repo}/vulnerability-alerts\",\n { mediaType: { previews: [\"dorian\"] } },\n ],\n downloadArchive: [\n \"GET /repos/{owner}/{repo}/zipball/{ref}\",\n {},\n { renamed: [\"repos\", \"downloadZipballArchive\"] },\n ],\n downloadTarballArchive: [\"GET /repos/{owner}/{repo}/tarball/{ref}\"],\n downloadZipballArchive: [\"GET /repos/{owner}/{repo}/zipball/{ref}\"],\n enableAutomatedSecurityFixes: [\n \"PUT /repos/{owner}/{repo}/automated-security-fixes\",\n { mediaType: { previews: [\"london\"] } },\n ],\n enableVulnerabilityAlerts: [\n \"PUT /repos/{owner}/{repo}/vulnerability-alerts\",\n { mediaType: { previews: [\"dorian\"] } },\n ],\n get: [\"GET /repos/{owner}/{repo}\"],\n getAccessRestrictions: [\n \"GET /repos/{owner}/{repo}/branches/{branch}/protection/restrictions\",\n ],\n getAdminBranchProtection: [\n \"GET /repos/{owner}/{repo}/branches/{branch}/protection/enforce_admins\",\n ],\n getAllEnvironments: [\"GET /repos/{owner}/{repo}/environments\"],\n getAllStatusCheckContexts: [\n \"GET /repos/{owner}/{repo}/branches/{branch}/protection/required_status_checks/contexts\",\n ],\n getAllTopics: [\n \"GET /repos/{owner}/{repo}/topics\",\n { mediaType: { previews: [\"mercy\"] } },\n ],\n getAppsWithAccessToProtectedBranch: [\n \"GET /repos/{owner}/{repo}/branches/{branch}/protection/restrictions/apps\",\n ],\n getBranch: [\"GET /repos/{owner}/{repo}/branches/{branch}\"],\n getBranchProtection: [\n \"GET /repos/{owner}/{repo}/branches/{branch}/protection\",\n ],\n getClones: [\"GET /repos/{owner}/{repo}/traffic/clones\"],\n getCodeFrequencyStats: [\"GET /repos/{owner}/{repo}/stats/code_frequency\"],\n getCollaboratorPermissionLevel: [\n \"GET /repos/{owner}/{repo}/collaborators/{username}/permission\",\n ],\n getCombinedStatusForRef: [\"GET /repos/{owner}/{repo}/commits/{ref}/status\"],\n getCommit: [\"GET /repos/{owner}/{repo}/commits/{ref}\"],\n getCommitActivityStats: [\"GET /repos/{owner}/{repo}/stats/commit_activity\"],\n getCommitComment: [\"GET /repos/{owner}/{repo}/comments/{comment_id}\"],\n getCommitSignatureProtection: [\n \"GET /repos/{owner}/{repo}/branches/{branch}/protection/required_signatures\",\n { mediaType: { previews: [\"zzzax\"] } },\n ],\n getCommunityProfileMetrics: [\"GET /repos/{owner}/{repo}/community/profile\"],\n getContent: [\"GET /repos/{owner}/{repo}/contents/{path}\"],\n getContributorsStats: [\"GET /repos/{owner}/{repo}/stats/contributors\"],\n getDeployKey: [\"GET /repos/{owner}/{repo}/keys/{key_id}\"],\n getDeployment: [\"GET /repos/{owner}/{repo}/deployments/{deployment_id}\"],\n getDeploymentStatus: [\n \"GET /repos/{owner}/{repo}/deployments/{deployment_id}/statuses/{status_id}\",\n ],\n getEnvironment: [\n \"GET /repos/{owner}/{repo}/environments/{environment_name}\",\n ],\n getLatestPagesBuild: [\"GET /repos/{owner}/{repo}/pages/builds/latest\"],\n getLatestRelease: [\"GET /repos/{owner}/{repo}/releases/latest\"],\n getPages: [\"GET /repos/{owner}/{repo}/pages\"],\n getPagesBuild: [\"GET /repos/{owner}/{repo}/pages/builds/{build_id}\"],\n getPagesHealthCheck: [\"GET /repos/{owner}/{repo}/pages/health\"],\n getParticipationStats: [\"GET /repos/{owner}/{repo}/stats/participation\"],\n getPullRequestReviewProtection: [\n \"GET /repos/{owner}/{repo}/branches/{branch}/protection/required_pull_request_reviews\",\n ],\n getPunchCardStats: [\"GET /repos/{owner}/{repo}/stats/punch_card\"],\n getReadme: [\"GET /repos/{owner}/{repo}/readme\"],\n getReadmeInDirectory: [\"GET /repos/{owner}/{repo}/readme/{dir}\"],\n getRelease: [\"GET /repos/{owner}/{repo}/releases/{release_id}\"],\n getReleaseAsset: [\"GET /repos/{owner}/{repo}/releases/assets/{asset_id}\"],\n getReleaseByTag: [\"GET /repos/{owner}/{repo}/releases/tags/{tag}\"],\n getStatusChecksProtection: [\n \"GET /repos/{owner}/{repo}/branches/{branch}/protection/required_status_checks\",\n ],\n getTeamsWithAccessToProtectedBranch: [\n \"GET /repos/{owner}/{repo}/branches/{branch}/protection/restrictions/teams\",\n ],\n getTopPaths: [\"GET /repos/{owner}/{repo}/traffic/popular/paths\"],\n getTopReferrers: [\"GET /repos/{owner}/{repo}/traffic/popular/referrers\"],\n getUsersWithAccessToProtectedBranch: [\n \"GET /repos/{owner}/{repo}/branches/{branch}/protection/restrictions/users\",\n ],\n getViews: [\"GET /repos/{owner}/{repo}/traffic/views\"],\n getWebhook: [\"GET /repos/{owner}/{repo}/hooks/{hook_id}\"],\n getWebhookConfigForRepo: [\n \"GET /repos/{owner}/{repo}/hooks/{hook_id}/config\",\n ],\n getWebhookDelivery: [\n \"GET /repos/{owner}/{repo}/hooks/{hook_id}/deliveries/{delivery_id}\",\n ],\n listBranches: [\"GET /repos/{owner}/{repo}/branches\"],\n listBranchesForHeadCommit: [\n \"GET /repos/{owner}/{repo}/commits/{commit_sha}/branches-where-head\",\n { mediaType: { previews: [\"groot\"] } },\n ],\n listCollaborators: [\"GET /repos/{owner}/{repo}/collaborators\"],\n listCommentsForCommit: [\n \"GET /repos/{owner}/{repo}/commits/{commit_sha}/comments\",\n ],\n listCommitCommentsForRepo: [\"GET /repos/{owner}/{repo}/comments\"],\n listCommitStatusesForRef: [\n \"GET /repos/{owner}/{repo}/commits/{ref}/statuses\",\n ],\n listCommits: [\"GET /repos/{owner}/{repo}/commits\"],\n listContributors: [\"GET /repos/{owner}/{repo}/contributors\"],\n listDeployKeys: [\"GET /repos/{owner}/{repo}/keys\"],\n listDeploymentStatuses: [\n \"GET /repos/{owner}/{repo}/deployments/{deployment_id}/statuses\",\n ],\n listDeployments: [\"GET /repos/{owner}/{repo}/deployments\"],\n listForAuthenticatedUser: [\"GET /user/repos\"],\n listForOrg: [\"GET /orgs/{org}/repos\"],\n listForUser: [\"GET /users/{username}/repos\"],\n listForks: [\"GET /repos/{owner}/{repo}/forks\"],\n listInvitations: [\"GET /repos/{owner}/{repo}/invitations\"],\n listInvitationsForAuthenticatedUser: [\"GET /user/repository_invitations\"],\n listLanguages: [\"GET /repos/{owner}/{repo}/languages\"],\n listPagesBuilds: [\"GET /repos/{owner}/{repo}/pages/builds\"],\n listPublic: [\"GET /repositories\"],\n listPullRequestsAssociatedWithCommit: [\n \"GET /repos/{owner}/{repo}/commits/{commit_sha}/pulls\",\n { mediaType: { previews: [\"groot\"] } },\n ],\n listReleaseAssets: [\n \"GET /repos/{owner}/{repo}/releases/{release_id}/assets\",\n ],\n listReleases: [\"GET /repos/{owner}/{repo}/releases\"],\n listTags: [\"GET /repos/{owner}/{repo}/tags\"],\n listTeams: [\"GET /repos/{owner}/{repo}/teams\"],\n listWebhookDeliveries: [\n \"GET /repos/{owner}/{repo}/hooks/{hook_id}/deliveries\",\n ],\n listWebhooks: [\"GET /repos/{owner}/{repo}/hooks\"],\n merge: [\"POST /repos/{owner}/{repo}/merges\"],\n pingWebhook: [\"POST /repos/{owner}/{repo}/hooks/{hook_id}/pings\"],\n redeliverWebhookDelivery: [\n \"POST /repos/{owner}/{repo}/hooks/{hook_id}/deliveries/{delivery_id}/attempts\",\n ],\n removeAppAccessRestrictions: [\n \"DELETE /repos/{owner}/{repo}/branches/{branch}/protection/restrictions/apps\",\n {},\n { mapToData: \"apps\" },\n ],\n removeCollaborator: [\n \"DELETE /repos/{owner}/{repo}/collaborators/{username}\",\n ],\n removeStatusCheckContexts: [\n \"DELETE /repos/{owner}/{repo}/branches/{branch}/protection/required_status_checks/contexts\",\n {},\n { mapToData: \"contexts\" },\n ],\n removeStatusCheckProtection: [\n \"DELETE /repos/{owner}/{repo}/branches/{branch}/protection/required_status_checks\",\n ],\n removeTeamAccessRestrictions: [\n \"DELETE /repos/{owner}/{repo}/branches/{branch}/protection/restrictions/teams\",\n {},\n { mapToData: \"teams\" },\n ],\n removeUserAccessRestrictions: [\n \"DELETE /repos/{owner}/{repo}/branches/{branch}/protection/restrictions/users\",\n {},\n { mapToData: \"users\" },\n ],\n renameBranch: [\"POST /repos/{owner}/{repo}/branches/{branch}/rename\"],\n replaceAllTopics: [\n \"PUT /repos/{owner}/{repo}/topics\",\n { mediaType: { previews: [\"mercy\"] } },\n ],\n requestPagesBuild: [\"POST /repos/{owner}/{repo}/pages/builds\"],\n setAdminBranchProtection: [\n \"POST /repos/{owner}/{repo}/branches/{branch}/protection/enforce_admins\",\n ],\n setAppAccessRestrictions: [\n \"PUT /repos/{owner}/{repo}/branches/{branch}/protection/restrictions/apps\",\n {},\n { mapToData: \"apps\" },\n ],\n setStatusCheckContexts: [\n \"PUT /repos/{owner}/{repo}/branches/{branch}/protection/required_status_checks/contexts\",\n {},\n { mapToData: \"contexts\" },\n ],\n setTeamAccessRestrictions: [\n \"PUT /repos/{owner}/{repo}/branches/{branch}/protection/restrictions/teams\",\n {},\n { mapToData: \"teams\" },\n ],\n setUserAccessRestrictions: [\n \"PUT /repos/{owner}/{repo}/branches/{branch}/protection/restrictions/users\",\n {},\n { mapToData: \"users\" },\n ],\n testPushWebhook: [\"POST /repos/{owner}/{repo}/hooks/{hook_id}/tests\"],\n transfer: [\"POST /repos/{owner}/{repo}/transfer\"],\n update: [\"PATCH /repos/{owner}/{repo}\"],\n updateBranchProtection: [\n \"PUT /repos/{owner}/{repo}/branches/{branch}/protection\",\n ],\n updateCommitComment: [\"PATCH /repos/{owner}/{repo}/comments/{comment_id}\"],\n updateInformationAboutPagesSite: [\"PUT /repos/{owner}/{repo}/pages\"],\n updateInvitation: [\n \"PATCH /repos/{owner}/{repo}/invitations/{invitation_id}\",\n ],\n updatePullRequestReviewProtection: [\n \"PATCH /repos/{owner}/{repo}/branches/{branch}/protection/required_pull_request_reviews\",\n ],\n updateRelease: [\"PATCH /repos/{owner}/{repo}/releases/{release_id}\"],\n updateReleaseAsset: [\n \"PATCH /repos/{owner}/{repo}/releases/assets/{asset_id}\",\n ],\n updateStatusCheckPotection: [\n \"PATCH /repos/{owner}/{repo}/branches/{branch}/protection/required_status_checks\",\n {},\n { renamed: [\"repos\", \"updateStatusCheckProtection\"] },\n ],\n updateStatusCheckProtection: [\n \"PATCH /repos/{owner}/{repo}/branches/{branch}/protection/required_status_checks\",\n ],\n updateWebhook: [\"PATCH /repos/{owner}/{repo}/hooks/{hook_id}\"],\n updateWebhookConfigForRepo: [\n \"PATCH /repos/{owner}/{repo}/hooks/{hook_id}/config\",\n ],\n uploadReleaseAsset: [\n \"POST /repos/{owner}/{repo}/releases/{release_id}/assets{?name,label}\",\n { baseUrl: \"https://uploads.github.com\" },\n ],\n },\n search: {\n code: [\"GET /search/code\"],\n commits: [\"GET /search/commits\", { mediaType: { previews: [\"cloak\"] } }],\n issuesAndPullRequests: [\"GET /search/issues\"],\n labels: [\"GET /search/labels\"],\n repos: [\"GET /search/repositories\"],\n topics: [\"GET /search/topics\", { mediaType: { previews: [\"mercy\"] } }],\n users: [\"GET /search/users\"],\n },\n secretScanning: {\n getAlert: [\n \"GET /repos/{owner}/{repo}/secret-scanning/alerts/{alert_number}\",\n ],\n listAlertsForRepo: [\"GET /repos/{owner}/{repo}/secret-scanning/alerts\"],\n updateAlert: [\n \"PATCH /repos/{owner}/{repo}/secret-scanning/alerts/{alert_number}\",\n ],\n },\n teams: {\n addOrUpdateMembershipForUserInOrg: [\n \"PUT /orgs/{org}/teams/{team_slug}/memberships/{username}\",\n ],\n addOrUpdateProjectPermissionsInOrg: [\n \"PUT /orgs/{org}/teams/{team_slug}/projects/{project_id}\",\n { mediaType: { previews: [\"inertia\"] } },\n ],\n addOrUpdateRepoPermissionsInOrg: [\n \"PUT /orgs/{org}/teams/{team_slug}/repos/{owner}/{repo}\",\n ],\n checkPermissionsForProjectInOrg: [\n \"GET /orgs/{org}/teams/{team_slug}/projects/{project_id}\",\n { mediaType: { previews: [\"inertia\"] } },\n ],\n checkPermissionsForRepoInOrg: [\n \"GET /orgs/{org}/teams/{team_slug}/repos/{owner}/{repo}\",\n ],\n create: [\"POST /orgs/{org}/teams\"],\n createDiscussionCommentInOrg: [\n \"POST /orgs/{org}/teams/{team_slug}/discussions/{discussion_number}/comments\",\n ],\n createDiscussionInOrg: [\"POST /orgs/{org}/teams/{team_slug}/discussions\"],\n deleteDiscussionCommentInOrg: [\n \"DELETE /orgs/{org}/teams/{team_slug}/discussions/{discussion_number}/comments/{comment_number}\",\n ],\n deleteDiscussionInOrg: [\n \"DELETE /orgs/{org}/teams/{team_slug}/discussions/{discussion_number}\",\n ],\n deleteInOrg: [\"DELETE /orgs/{org}/teams/{team_slug}\"],\n getByName: [\"GET /orgs/{org}/teams/{team_slug}\"],\n getDiscussionCommentInOrg: [\n \"GET /orgs/{org}/teams/{team_slug}/discussions/{discussion_number}/comments/{comment_number}\",\n ],\n getDiscussionInOrg: [\n \"GET /orgs/{org}/teams/{team_slug}/discussions/{discussion_number}\",\n ],\n getMembershipForUserInOrg: [\n \"GET /orgs/{org}/teams/{team_slug}/memberships/{username}\",\n ],\n list: [\"GET /orgs/{org}/teams\"],\n listChildInOrg: [\"GET /orgs/{org}/teams/{team_slug}/teams\"],\n listDiscussionCommentsInOrg: [\n \"GET /orgs/{org}/teams/{team_slug}/discussions/{discussion_number}/comments\",\n ],\n listDiscussionsInOrg: [\"GET /orgs/{org}/teams/{team_slug}/discussions\"],\n listForAuthenticatedUser: [\"GET /user/teams\"],\n listMembersInOrg: [\"GET /orgs/{org}/teams/{team_slug}/members\"],\n listPendingInvitationsInOrg: [\n \"GET /orgs/{org}/teams/{team_slug}/invitations\",\n ],\n listProjectsInOrg: [\n \"GET /orgs/{org}/teams/{team_slug}/projects\",\n { mediaType: { previews: [\"inertia\"] } },\n ],\n listReposInOrg: [\"GET /orgs/{org}/teams/{team_slug}/repos\"],\n removeMembershipForUserInOrg: [\n \"DELETE /orgs/{org}/teams/{team_slug}/memberships/{username}\",\n ],\n removeProjectInOrg: [\n \"DELETE /orgs/{org}/teams/{team_slug}/projects/{project_id}\",\n ],\n removeRepoInOrg: [\n \"DELETE /orgs/{org}/teams/{team_slug}/repos/{owner}/{repo}\",\n ],\n updateDiscussionCommentInOrg: [\n \"PATCH /orgs/{org}/teams/{team_slug}/discussions/{discussion_number}/comments/{comment_number}\",\n ],\n updateDiscussionInOrg: [\n \"PATCH /orgs/{org}/teams/{team_slug}/discussions/{discussion_number}\",\n ],\n updateInOrg: [\"PATCH /orgs/{org}/teams/{team_slug}\"],\n },\n users: {\n addEmailForAuthenticated: [\"POST /user/emails\"],\n block: [\"PUT /user/blocks/{username}\"],\n checkBlocked: [\"GET /user/blocks/{username}\"],\n checkFollowingForUser: [\"GET /users/{username}/following/{target_user}\"],\n checkPersonIsFollowedByAuthenticated: [\"GET /user/following/{username}\"],\n createGpgKeyForAuthenticated: [\"POST /user/gpg_keys\"],\n createPublicSshKeyForAuthenticated: [\"POST /user/keys\"],\n deleteEmailForAuthenticated: [\"DELETE /user/emails\"],\n deleteGpgKeyForAuthenticated: [\"DELETE /user/gpg_keys/{gpg_key_id}\"],\n deletePublicSshKeyForAuthenticated: [\"DELETE /user/keys/{key_id}\"],\n follow: [\"PUT /user/following/{username}\"],\n getAuthenticated: [\"GET /user\"],\n getByUsername: [\"GET /users/{username}\"],\n getContextForUser: [\"GET /users/{username}/hovercard\"],\n getGpgKeyForAuthenticated: [\"GET /user/gpg_keys/{gpg_key_id}\"],\n getPublicSshKeyForAuthenticated: [\"GET /user/keys/{key_id}\"],\n list: [\"GET /users\"],\n listBlockedByAuthenticated: [\"GET /user/blocks\"],\n listEmailsForAuthenticated: [\"GET /user/emails\"],\n listFollowedByAuthenticated: [\"GET /user/following\"],\n listFollowersForAuthenticatedUser: [\"GET /user/followers\"],\n listFollowersForUser: [\"GET /users/{username}/followers\"],\n listFollowingForUser: [\"GET /users/{username}/following\"],\n listGpgKeysForAuthenticated: [\"GET /user/gpg_keys\"],\n listGpgKeysForUser: [\"GET /users/{username}/gpg_keys\"],\n listPublicEmailsForAuthenticated: [\"GET /user/public_emails\"],\n listPublicKeysForUser: [\"GET /users/{username}/keys\"],\n listPublicSshKeysForAuthenticated: [\"GET /user/keys\"],\n setPrimaryEmailVisibilityForAuthenticated: [\"PATCH /user/email/visibility\"],\n unblock: [\"DELETE /user/blocks/{username}\"],\n unfollow: [\"DELETE /user/following/{username}\"],\n updateAuthenticated: [\"PATCH /user\"],\n },\n};\nexport default Endpoints;\n","export const VERSION = \"5.5.2\";\n","export function endpointsToMethods(octokit, endpointsMap) {\n const newMethods = {};\n for (const [scope, endpoints] of Object.entries(endpointsMap)) {\n for (const [methodName, endpoint] of Object.entries(endpoints)) {\n const [route, defaults, decorations] = endpoint;\n const [method, url] = route.split(/ /);\n const endpointDefaults = Object.assign({ method, url }, defaults);\n if (!newMethods[scope]) {\n newMethods[scope] = {};\n }\n const scopeMethods = newMethods[scope];\n if (decorations) {\n scopeMethods[methodName] = decorate(octokit, scope, methodName, endpointDefaults, decorations);\n continue;\n }\n scopeMethods[methodName] = octokit.request.defaults(endpointDefaults);\n }\n }\n return newMethods;\n}\nfunction decorate(octokit, scope, methodName, defaults, decorations) {\n const requestWithDefaults = octokit.request.defaults(defaults);\n /* istanbul ignore next */\n function withDecorations(...args) {\n // @ts-ignore https://github.com/microsoft/TypeScript/issues/25488\n let options = requestWithDefaults.endpoint.merge(...args);\n // There are currently no other decorations than `.mapToData`\n if (decorations.mapToData) {\n options = Object.assign({}, options, {\n data: options[decorations.mapToData],\n [decorations.mapToData]: undefined,\n });\n return requestWithDefaults(options);\n }\n if (decorations.renamed) {\n const [newScope, newMethodName] = decorations.renamed;\n octokit.log.warn(`octokit.${scope}.${methodName}() has been renamed to octokit.${newScope}.${newMethodName}()`);\n }\n if (decorations.deprecated) {\n octokit.log.warn(decorations.deprecated);\n }\n if (decorations.renamedParameters) {\n // @ts-ignore https://github.com/microsoft/TypeScript/issues/25488\n const options = requestWithDefaults.endpoint.merge(...args);\n for (const [name, alias] of Object.entries(decorations.renamedParameters)) {\n if (name in options) {\n octokit.log.warn(`\"${name}\" parameter is deprecated for \"octokit.${scope}.${methodName}()\". Use \"${alias}\" instead`);\n if (!(alias in options)) {\n options[alias] = options[name];\n }\n delete options[name];\n }\n }\n return requestWithDefaults(options);\n }\n // @ts-ignore https://github.com/microsoft/TypeScript/issues/25488\n return requestWithDefaults(...args);\n }\n return Object.assign(withDecorations, requestWithDefaults);\n}\n","import ENDPOINTS from \"./generated/endpoints\";\nimport { VERSION } from \"./version\";\nimport { endpointsToMethods } from \"./endpoints-to-methods\";\nexport function restEndpointMethods(octokit) {\n const api = endpointsToMethods(octokit, ENDPOINTS);\n return {\n rest: api,\n };\n}\nrestEndpointMethods.VERSION = VERSION;\nexport function legacyRestEndpointMethods(octokit) {\n const api = endpointsToMethods(octokit, ENDPOINTS);\n return {\n ...api,\n rest: api,\n };\n}\nlegacyRestEndpointMethods.VERSION = VERSION;\n"],"names":["ENDPOINTS"],"mappings":"AAAA,MAAM,SAAS,GAAG;AAClB,IAAI,OAAO,EAAE;AACb,QAAQ,0BAA0B,EAAE;AACpC,YAAY,4EAA4E;AACxF,SAAS;AACT,QAAQ,kBAAkB,EAAE;AAC5B,YAAY,0DAA0D;AACtE,SAAS;AACT,QAAQ,iBAAiB,EAAE;AAC3B,YAAY,yDAAyD;AACrE,SAAS;AACT,QAAQ,+BAA+B,EAAE;AACzC,YAAY,yFAAyF;AACrG,SAAS;AACT,QAAQ,uBAAuB,EAAE,CAAC,+CAA+C,CAAC;AAClF,QAAQ,wBAAwB,EAAE;AAClC,YAAY,yDAAyD;AACrE,SAAS;AACT,QAAQ,6BAA6B,EAAE;AACvC,YAAY,qDAAqD;AACjE,SAAS;AACT,QAAQ,8BAA8B,EAAE;AACxC,YAAY,+DAA+D;AAC3E,SAAS;AACT,QAAQ,uBAAuB,EAAE,CAAC,+CAA+C,CAAC;AAClF,QAAQ,wBAAwB,EAAE;AAClC,YAAY,yDAAyD;AACrE,SAAS;AACT,QAAQ,sBAAsB,EAAE;AAChC,YAAY,uEAAuE;AACnF,SAAS;AACT,QAAQ,cAAc,EAAE;AACxB,YAAY,8DAA8D;AAC1E,SAAS;AACT,QAAQ,uBAAuB,EAAE;AACjC,YAAY,4FAA4F;AACxG,SAAS;AACT,QAAQ,eAAe,EAAE,CAAC,kDAAkD,CAAC;AAC7E,QAAQ,gBAAgB,EAAE;AAC1B,YAAY,4DAA4D;AACxE,SAAS;AACT,QAAQ,6BAA6B,EAAE;AACvC,YAAY,gDAAgD;AAC5D,SAAS;AACT,QAAQ,8BAA8B,EAAE;AACxC,YAAY,0DAA0D;AACtE,SAAS;AACT,QAAQ,iBAAiB,EAAE,CAAC,oDAAoD,CAAC;AACjF,QAAQ,qBAAqB,EAAE;AAC/B,YAAY,yDAAyD;AACrE,SAAS;AACT,QAAQ,kDAAkD,EAAE;AAC5D,YAAY,qEAAqE;AACjF,SAAS;AACT,QAAQ,eAAe,EAAE;AACzB,YAAY,mEAAmE;AAC/E,SAAS;AACT,QAAQ,gBAAgB,EAAE;AAC1B,YAAY,4EAA4E;AACxF,SAAS;AACT,QAAQ,6BAA6B,EAAE;AACvC,YAAY,sDAAsD;AAClE,SAAS;AACT,QAAQ,uBAAuB,EAAE;AACjC,YAAY,sDAAsD;AAClE,SAAS;AACT,QAAQ,iDAAiD,EAAE;AAC3D,YAAY,kEAAkE;AAC9E,SAAS;AACT,QAAQ,cAAc,EAAE;AACxB,YAAY,kEAAkE;AAC9E,SAAS;AACT,QAAQ,6BAA6B,EAAE;AACvC,YAAY,sDAAsD;AAClE,SAAS;AACT,QAAQ,2BAA2B,EAAE;AACrC,YAAY,gEAAgE;AAC5E,SAAS;AACT,QAAQ,WAAW,EAAE,CAAC,2DAA2D,CAAC;AAClF,QAAQ,uBAAuB,EAAE;AACjC,YAAY,sFAAsF;AAClG,SAAS;AACT,QAAQ,oBAAoB,EAAE;AAC9B,YAAY,yFAAyF;AACrG,SAAS;AACT,QAAQ,uCAAuC,EAAE;AACjD,YAAY,qCAAqC;AACjD,SAAS;AACT,QAAQ,qCAAqC,EAAE;AAC/C,YAAY,+CAA+C;AAC3D,SAAS;AACT,QAAQ,oBAAoB,EAAE,CAAC,iDAAiD,CAAC;AACjF,QAAQ,eAAe,EAAE,CAAC,4CAA4C,CAAC;AACvE,QAAQ,YAAY,EAAE,CAAC,+CAA+C,CAAC;AACvE,QAAQ,2BAA2B,EAAE;AACrC,YAAY,qEAAqE;AACjF,SAAS;AACT,QAAQ,kBAAkB,EAAE;AAC5B,YAAY,+CAA+C;AAC3D,YAAY,EAAE;AACd,YAAY,EAAE,OAAO,EAAE,CAAC,SAAS,EAAE,uCAAuC,CAAC,EAAE;AAC7E,SAAS;AACT,QAAQ,gBAAgB,EAAE,CAAC,sDAAsD,CAAC;AAClF,QAAQ,aAAa,EAAE,CAAC,yDAAyD,CAAC;AAClF,QAAQ,gBAAgB,EAAE;AAC1B,YAAY,2DAA2D;AACvE,SAAS;AACT,QAAQ,yBAAyB,EAAE,CAAC,6CAA6C,CAAC;AAClF,QAAQ,0BAA0B,EAAE;AACpC,YAAY,uDAAuD;AACnE,SAAS;AACT,QAAQ,WAAW,EAAE,CAAC,2DAA2D,CAAC;AAClF,QAAQ,cAAc,EAAE,CAAC,iDAAiD,CAAC;AAC3E,QAAQ,mBAAmB,EAAE;AAC7B,YAAY,wDAAwD;AACpE,SAAS;AACT,QAAQ,gBAAgB,EAAE;AAC1B,YAAY,kEAAkE;AAC9E,SAAS;AACT,QAAQ,oBAAoB,EAAE,CAAC,6CAA6C,CAAC;AAC7E,QAAQ,sBAAsB,EAAE;AAChC,YAAY,2EAA2E;AACvF,SAAS;AACT,QAAQ,sBAAsB,EAAE;AAChC,YAAY,sDAAsD;AAClE,SAAS;AACT,QAAQ,cAAc,EAAE,CAAC,iCAAiC,CAAC;AAC3D,QAAQ,eAAe,EAAE,CAAC,2CAA2C,CAAC;AACtE,QAAQ,iBAAiB,EAAE,CAAC,6CAA6C,CAAC;AAC1E,QAAQ,4BAA4B,EAAE,CAAC,2CAA2C,CAAC;AACnF,QAAQ,6BAA6B,EAAE;AACvC,YAAY,qDAAqD;AACjE,SAAS;AACT,QAAQ,6BAA6B,EAAE;AACvC,YAAY,4DAA4D;AACxE,SAAS;AACT,QAAQ,wDAAwD,EAAE;AAClE,YAAY,kDAAkD;AAC9D,SAAS;AACT,QAAQ,2BAA2B,EAAE,CAAC,iCAAiC,CAAC;AACxE,QAAQ,4BAA4B,EAAE,CAAC,2CAA2C,CAAC;AACnF,QAAQ,wBAAwB,EAAE;AAClC,YAAY,2DAA2D;AACvE,SAAS;AACT,QAAQ,gBAAgB,EAAE;AAC1B,YAAY,gEAAgE;AAC5E,SAAS;AACT,QAAQ,uBAAuB,EAAE,CAAC,wCAAwC,CAAC;AAC3E,QAAQ,aAAa,EAAE,CAAC,wDAAwD,CAAC;AACjF,QAAQ,+BAA+B,EAAE;AACzC,YAAY,+EAA+E;AAC3F,SAAS;AACT,QAAQ,8BAA8B,EAAE;AACxC,YAAY,sEAAsE;AAClF,SAAS;AACT,QAAQ,6BAA6B,EAAE;AACvC,YAAY,sDAAsD;AAClE,SAAS;AACT,QAAQ,2BAA2B,EAAE;AACrC,YAAY,gEAAgE;AAC5E,SAAS;AACT,QAAQ,uCAAuC,EAAE;AACjD,YAAY,qCAAqC;AACjD,SAAS;AACT,QAAQ,qCAAqC,EAAE;AAC/C,YAAY,+CAA+C;AAC3D,SAAS;AACT,QAAQ,4BAA4B,EAAE;AACtC,YAAY,4DAA4D;AACxE,SAAS;AACT,QAAQ,uDAAuD,EAAE;AACjE,YAAY,kDAAkD;AAC9D,SAAS;AACT,KAAK;AACL,IAAI,QAAQ,EAAE;AACd,QAAQ,qCAAqC,EAAE,CAAC,kCAAkC,CAAC;AACnF,QAAQ,sBAAsB,EAAE,CAAC,2CAA2C,CAAC;AAC7E,QAAQ,wBAAwB,EAAE;AAClC,YAAY,wDAAwD;AACpE,SAAS;AACT,QAAQ,QAAQ,EAAE,CAAC,YAAY,CAAC;AAChC,QAAQ,mBAAmB,EAAE,CAAC,wCAAwC,CAAC;AACvE,QAAQ,SAAS,EAAE,CAAC,wCAAwC,CAAC;AAC7D,QAAQ,yCAAyC,EAAE;AACnD,YAAY,qDAAqD;AACjE,SAAS;AACT,QAAQ,8BAA8B,EAAE,CAAC,8BAA8B,CAAC;AACxE,QAAQ,qCAAqC,EAAE,CAAC,oBAAoB,CAAC;AACrE,QAAQ,iCAAiC,EAAE;AAC3C,YAAY,yCAAyC;AACrD,SAAS;AACT,QAAQ,gBAAgB,EAAE,CAAC,aAAa,CAAC;AACzC,QAAQ,8BAA8B,EAAE,CAAC,qCAAqC,CAAC;AAC/E,QAAQ,uBAAuB,EAAE,CAAC,qCAAqC,CAAC;AACxE,QAAQ,mBAAmB,EAAE,CAAC,wBAAwB,CAAC;AACvD,QAAQ,yBAAyB,EAAE,CAAC,uCAAuC,CAAC;AAC5E,QAAQ,+BAA+B,EAAE;AACzC,YAAY,8CAA8C;AAC1D,SAAS;AACT,QAAQ,cAAc,EAAE,CAAC,kCAAkC,CAAC;AAC5D,QAAQ,yCAAyC,EAAE;AACnD,YAAY,yCAAyC;AACrD,SAAS;AACT,QAAQ,mCAAmC,EAAE,CAAC,mBAAmB,CAAC;AAClE,QAAQ,sBAAsB,EAAE,CAAC,+BAA+B,CAAC;AACjE,QAAQ,sBAAsB,EAAE,CAAC,qCAAqC,CAAC;AACvE,QAAQ,qBAAqB,EAAE,CAAC,sCAAsC,CAAC;AACvE,QAAQ,oCAAoC,EAAE,CAAC,yBAAyB,CAAC;AACzE,QAAQ,mBAAmB,EAAE,CAAC,uCAAuC,CAAC;AACtE,QAAQ,uBAAuB,EAAE,CAAC,oBAAoB,CAAC;AACvD,QAAQ,2BAA2B,EAAE,CAAC,yCAAyC,CAAC;AAChF,QAAQ,gBAAgB,EAAE,CAAC,0CAA0C,CAAC;AACtE,QAAQ,mBAAmB,EAAE,CAAC,wCAAwC,CAAC;AACvE,QAAQ,qBAAqB,EAAE;AAC/B,YAAY,qDAAqD;AACjE,SAAS;AACT,QAAQ,4BAA4B,EAAE,CAAC,kCAAkC,CAAC;AAC1E,QAAQ,8BAA8B,EAAE,CAAC,qCAAqC,CAAC;AAC/E,KAAK;AACL,IAAI,IAAI,EAAE;AACV,QAAQ,qBAAqB,EAAE;AAC/B,YAAY,wEAAwE;AACpF,SAAS;AACT,QAAQ,UAAU,EAAE,CAAC,sCAAsC,CAAC;AAC5D,QAAQ,uBAAuB,EAAE;AACjC,YAAY,6DAA6D;AACzE,YAAY,EAAE,SAAS,EAAE,EAAE,QAAQ,EAAE,CAAC,SAAS,CAAC,EAAE,EAAE;AACpD,SAAS;AACT,QAAQ,8BAA8B,EAAE;AACxC,YAAY,kFAAkF;AAC9F,YAAY,EAAE,SAAS,EAAE,EAAE,QAAQ,EAAE,CAAC,SAAS,CAAC,EAAE,EAAE;AACpD,SAAS;AACT,QAAQ,kBAAkB,EAAE,CAAC,wCAAwC,CAAC;AACtE,QAAQ,6BAA6B,EAAE;AACvC,YAAY,yDAAyD;AACrE,SAAS;AACT,QAAQ,mBAAmB,EAAE,CAAC,wCAAwC,CAAC;AACvE,QAAQ,kBAAkB,EAAE,CAAC,6CAA6C,CAAC;AAC3E,QAAQ,WAAW,EAAE,CAAC,wCAAwC,CAAC;AAC/D,QAAQ,gBAAgB,EAAE,CAAC,UAAU,CAAC;AACtC,QAAQ,SAAS,EAAE,CAAC,sBAAsB,CAAC;AAC3C,QAAQ,eAAe,EAAE,CAAC,0CAA0C,CAAC;AACrE,QAAQ,kBAAkB,EAAE,CAAC,8BAA8B,CAAC;AAC5D,QAAQ,mBAAmB,EAAE,CAAC,wCAAwC,CAAC;AACvE,QAAQ,6BAA6B,EAAE;AACvC,YAAY,gDAAgD;AAC5D,SAAS;AACT,QAAQ,oCAAoC,EAAE;AAC9C,YAAY,wDAAwD;AACpE,SAAS;AACT,QAAQ,mBAAmB,EAAE,CAAC,oCAAoC,CAAC;AACnE,QAAQ,sBAAsB,EAAE,CAAC,sBAAsB,CAAC;AACxD,QAAQ,kBAAkB,EAAE,CAAC,wCAAwC,CAAC;AACtE,QAAQ,mBAAmB,EAAE,CAAC,mDAAmD,CAAC;AAClF,QAAQ,0BAA0B,EAAE;AACpC,YAAY,2DAA2D;AACvE,SAAS;AACT,QAAQ,yCAAyC,EAAE;AACnD,YAAY,wDAAwD;AACpE,SAAS;AACT,QAAQ,iBAAiB,EAAE,CAAC,wBAAwB,CAAC;AACrD,QAAQ,qCAAqC,EAAE,CAAC,yBAAyB,CAAC;AAC1E,QAAQ,SAAS,EAAE,CAAC,gCAAgC,CAAC;AACrD,QAAQ,gBAAgB,EAAE,CAAC,wCAAwC,CAAC;AACpE,QAAQ,iCAAiC,EAAE,CAAC,gCAAgC,CAAC;AAC7E,QAAQ,qCAAqC,EAAE,CAAC,iCAAiC,CAAC;AAClF,QAAQ,4CAA4C,EAAE;AACtD,YAAY,yCAAyC;AACrD,SAAS;AACT,QAAQ,qBAAqB,EAAE,CAAC,0BAA0B,CAAC;AAC3D,QAAQ,wBAAwB,EAAE;AAClC,YAAY,kDAAkD;AAC9D,SAAS;AACT,QAAQ,0BAA0B,EAAE;AACpC,YAAY,2EAA2E;AACvF,SAAS;AACT,QAAQ,UAAU,EAAE,CAAC,uCAAuC,CAAC;AAC7D,QAAQ,6BAA6B,EAAE,CAAC,4BAA4B,CAAC;AACrE,QAAQ,UAAU,EAAE,CAAC,6CAA6C,CAAC;AACnE,QAAQ,mBAAmB,EAAE,CAAC,oDAAoD,CAAC;AACnF,QAAQ,qBAAqB,EAAE;AAC/B,YAAY,uDAAuD;AACnE,SAAS;AACT,QAAQ,yBAAyB,EAAE,CAAC,wBAAwB,CAAC;AAC7D,KAAK;AACL,IAAI,OAAO,EAAE;AACb,QAAQ,0BAA0B,EAAE,CAAC,0CAA0C,CAAC;AAChF,QAAQ,2BAA2B,EAAE;AACrC,YAAY,gDAAgD;AAC5D,SAAS;AACT,QAAQ,2BAA2B,EAAE,CAAC,2CAA2C,CAAC;AAClF,QAAQ,4BAA4B,EAAE;AACtC,YAAY,iDAAiD;AAC7D,SAAS;AACT,QAAQ,0BAA0B,EAAE;AACpC,YAAY,iDAAiD;AAC7D,SAAS;AACT,QAAQ,2BAA2B,EAAE;AACrC,YAAY,uDAAuD;AACnE,SAAS;AACT,KAAK;AACL,IAAI,MAAM,EAAE;AACZ,QAAQ,MAAM,EAAE,CAAC,uCAAuC,CAAC;AACzD,QAAQ,WAAW,EAAE,CAAC,yCAAyC,CAAC;AAChE,QAAQ,GAAG,EAAE,CAAC,qDAAqD,CAAC;AACpE,QAAQ,QAAQ,EAAE,CAAC,yDAAyD,CAAC;AAC7E,QAAQ,eAAe,EAAE;AACzB,YAAY,iEAAiE;AAC7E,SAAS;AACT,QAAQ,UAAU,EAAE,CAAC,oDAAoD,CAAC;AAC1E,QAAQ,YAAY,EAAE;AACtB,YAAY,oEAAoE;AAChF,SAAS;AACT,QAAQ,gBAAgB,EAAE,CAAC,sDAAsD,CAAC;AAClF,QAAQ,cAAc,EAAE;AACxB,YAAY,oEAAoE;AAChF,SAAS;AACT,QAAQ,oBAAoB,EAAE;AAC9B,YAAY,sDAAsD;AAClE,SAAS;AACT,QAAQ,MAAM,EAAE,CAAC,uDAAuD,CAAC;AACzE,KAAK;AACL,IAAI,YAAY,EAAE;AAClB,QAAQ,cAAc,EAAE;AACxB,YAAY,oFAAoF;AAChG,SAAS;AACT,QAAQ,QAAQ,EAAE;AAClB,YAAY,+DAA+D;AAC3E,YAAY,EAAE;AACd,YAAY,EAAE,iBAAiB,EAAE,EAAE,QAAQ,EAAE,cAAc,EAAE,EAAE;AAC/D,SAAS;AACT,QAAQ,WAAW,EAAE;AACrB,YAAY,gEAAgE;AAC5E,SAAS;AACT,QAAQ,QAAQ,EAAE,CAAC,2DAA2D,CAAC;AAC/E,QAAQ,kBAAkB,EAAE;AAC5B,YAAY,yEAAyE;AACrF,SAAS;AACT,QAAQ,iBAAiB,EAAE,CAAC,gDAAgD,CAAC;AAC7E,QAAQ,mBAAmB,EAAE;AAC7B,YAAY,yEAAyE;AACrF,YAAY,EAAE;AACd,YAAY,EAAE,OAAO,EAAE,CAAC,cAAc,EAAE,oBAAoB,CAAC,EAAE;AAC/D,SAAS;AACT,QAAQ,kBAAkB,EAAE,CAAC,kDAAkD,CAAC;AAChF,QAAQ,WAAW,EAAE;AACrB,YAAY,iEAAiE;AAC7E,SAAS;AACT,QAAQ,WAAW,EAAE,CAAC,iDAAiD,CAAC;AACxE,KAAK;AACL,IAAI,cAAc,EAAE;AACpB,QAAQ,oBAAoB,EAAE,CAAC,uBAAuB,CAAC;AACvD,QAAQ,cAAc,EAAE,CAAC,6BAA6B,CAAC;AACvD,QAAQ,UAAU,EAAE;AACpB,YAAY,qDAAqD;AACjE,YAAY,EAAE,SAAS,EAAE,EAAE,QAAQ,EAAE,CAAC,eAAe,CAAC,EAAE,EAAE;AAC1D,SAAS;AACT,KAAK;AACL,IAAI,MAAM,EAAE,EAAE,GAAG,EAAE,CAAC,aAAa,CAAC,EAAE;AACpC,IAAI,eAAe,EAAE;AACrB,QAAQ,kDAAkD,EAAE;AAC5D,YAAY,6EAA6E;AACzF,SAAS;AACT,QAAQ,iDAAiD,EAAE;AAC3D,YAAY,0EAA0E;AACtF,SAAS;AACT,QAAQ,2BAA2B,EAAE;AACrC,YAAY,oEAAoE;AAChF,SAAS;AACT,QAAQ,qCAAqC,EAAE;AAC/C,YAAY,mDAAmD;AAC/D,SAAS;AACT,QAAQ,uDAAuD,EAAE;AACjE,YAAY,iEAAiE;AAC7E,SAAS;AACT,QAAQ,2BAA2B,EAAE;AACrC,YAAY,oEAAoE;AAChF,SAAS;AACT,QAAQ,qCAAqC,EAAE;AAC/C,YAAY,mDAAmD;AAC/D,SAAS;AACT,QAAQ,sDAAsD,EAAE;AAChE,YAAY,iEAAiE;AAC7E,SAAS;AACT,KAAK;AACL,IAAI,KAAK,EAAE;AACX,QAAQ,cAAc,EAAE,CAAC,2BAA2B,CAAC;AACrD,QAAQ,MAAM,EAAE,CAAC,aAAa,CAAC;AAC/B,QAAQ,aAAa,EAAE,CAAC,gCAAgC,CAAC;AACzD,QAAQ,MAAM,EAAE,CAAC,yBAAyB,CAAC;AAC3C,QAAQ,aAAa,EAAE,CAAC,+CAA+C,CAAC;AACxE,QAAQ,IAAI,EAAE,CAAC,6BAA6B,CAAC;AAC7C,QAAQ,GAAG,EAAE,CAAC,sBAAsB,CAAC;AACrC,QAAQ,UAAU,EAAE,CAAC,4CAA4C,CAAC;AAClE,QAAQ,WAAW,EAAE,CAAC,4BAA4B,CAAC;AACnD,QAAQ,IAAI,EAAE,CAAC,YAAY,CAAC;AAC5B,QAAQ,YAAY,EAAE,CAAC,+BAA+B,CAAC;AACvD,QAAQ,WAAW,EAAE,CAAC,8BAA8B,CAAC;AACrD,QAAQ,WAAW,EAAE,CAAC,6BAA6B,CAAC;AACpD,QAAQ,SAAS,EAAE,CAAC,4BAA4B,CAAC;AACjD,QAAQ,UAAU,EAAE,CAAC,mBAAmB,CAAC;AACzC,QAAQ,WAAW,EAAE,CAAC,oBAAoB,CAAC;AAC3C,QAAQ,IAAI,EAAE,CAAC,2BAA2B,CAAC;AAC3C,QAAQ,MAAM,EAAE,CAAC,8BAA8B,CAAC;AAChD,QAAQ,MAAM,EAAE,CAAC,wBAAwB,CAAC;AAC1C,QAAQ,aAAa,EAAE,CAAC,8CAA8C,CAAC;AACvE,KAAK;AACL,IAAI,GAAG,EAAE;AACT,QAAQ,UAAU,EAAE,CAAC,sCAAsC,CAAC;AAC5D,QAAQ,YAAY,EAAE,CAAC,wCAAwC,CAAC;AAChE,QAAQ,SAAS,EAAE,CAAC,qCAAqC,CAAC;AAC1D,QAAQ,SAAS,EAAE,CAAC,qCAAqC,CAAC;AAC1D,QAAQ,UAAU,EAAE,CAAC,sCAAsC,CAAC;AAC5D,QAAQ,SAAS,EAAE,CAAC,6CAA6C,CAAC;AAClE,QAAQ,OAAO,EAAE,CAAC,gDAAgD,CAAC;AACnE,QAAQ,SAAS,EAAE,CAAC,oDAAoD,CAAC;AACzE,QAAQ,MAAM,EAAE,CAAC,yCAAyC,CAAC;AAC3D,QAAQ,MAAM,EAAE,CAAC,8CAA8C,CAAC;AAChE,QAAQ,OAAO,EAAE,CAAC,gDAAgD,CAAC;AACnE,QAAQ,gBAAgB,EAAE,CAAC,mDAAmD,CAAC;AAC/E,QAAQ,SAAS,EAAE,CAAC,4CAA4C,CAAC;AACjE,KAAK;AACL,IAAI,SAAS,EAAE;AACf,QAAQ,eAAe,EAAE,CAAC,0BAA0B,CAAC;AACrD,QAAQ,WAAW,EAAE,CAAC,iCAAiC,CAAC;AACxD,KAAK;AACL,IAAI,YAAY,EAAE;AAClB,QAAQ,mCAAmC,EAAE,CAAC,8BAA8B,CAAC;AAC7E,QAAQ,qBAAqB,EAAE,CAAC,oCAAoC,CAAC;AACrE,QAAQ,sBAAsB,EAAE,CAAC,8CAA8C,CAAC;AAChF,QAAQ,iCAAiC,EAAE;AAC3C,YAAY,8BAA8B;AAC1C,YAAY,EAAE;AACd,YAAY,EAAE,OAAO,EAAE,CAAC,cAAc,EAAE,qCAAqC,CAAC,EAAE;AAChF,SAAS;AACT,QAAQ,sCAAsC,EAAE,CAAC,iCAAiC,CAAC;AACnF,QAAQ,wBAAwB,EAAE,CAAC,uCAAuC,CAAC;AAC3E,QAAQ,yBAAyB,EAAE;AACnC,YAAY,iDAAiD;AAC7D,SAAS;AACT,QAAQ,oCAAoC,EAAE;AAC9C,YAAY,iCAAiC;AAC7C,YAAY,EAAE;AACd,YAAY,EAAE,OAAO,EAAE,CAAC,cAAc,EAAE,wCAAwC,CAAC,EAAE;AACnF,SAAS;AACT,QAAQ,mCAAmC,EAAE,CAAC,8BAA8B,CAAC;AAC7E,QAAQ,qBAAqB,EAAE,CAAC,oCAAoC,CAAC;AACrE,QAAQ,sBAAsB,EAAE,CAAC,8CAA8C,CAAC;AAChF,QAAQ,iCAAiC,EAAE;AAC3C,YAAY,8BAA8B;AAC1C,YAAY,EAAE;AACd,YAAY,EAAE,OAAO,EAAE,CAAC,cAAc,EAAE,qCAAqC,CAAC,EAAE;AAChF,SAAS;AACT,KAAK;AACL,IAAI,MAAM,EAAE;AACZ,QAAQ,YAAY,EAAE;AACtB,YAAY,4DAA4D;AACxE,SAAS;AACT,QAAQ,SAAS,EAAE,CAAC,yDAAyD,CAAC;AAC9E,QAAQ,sBAAsB,EAAE,CAAC,gDAAgD,CAAC;AAClF,QAAQ,MAAM,EAAE,CAAC,mCAAmC,CAAC;AACrD,QAAQ,aAAa,EAAE;AACvB,YAAY,2DAA2D;AACvE,SAAS;AACT,QAAQ,WAAW,EAAE,CAAC,mCAAmC,CAAC;AAC1D,QAAQ,eAAe,EAAE,CAAC,uCAAuC,CAAC;AAClE,QAAQ,aAAa,EAAE;AACvB,YAAY,2DAA2D;AACvE,SAAS;AACT,QAAQ,WAAW,EAAE,CAAC,4CAA4C,CAAC;AACnE,QAAQ,eAAe,EAAE;AACzB,YAAY,4DAA4D;AACxE,SAAS;AACT,QAAQ,GAAG,EAAE,CAAC,iDAAiD,CAAC;AAChE,QAAQ,UAAU,EAAE,CAAC,wDAAwD,CAAC;AAC9E,QAAQ,QAAQ,EAAE,CAAC,oDAAoD,CAAC;AACxE,QAAQ,QAAQ,EAAE,CAAC,yCAAyC,CAAC;AAC7D,QAAQ,YAAY,EAAE,CAAC,yDAAyD,CAAC;AACjF,QAAQ,IAAI,EAAE,CAAC,aAAa,CAAC;AAC7B,QAAQ,aAAa,EAAE,CAAC,qCAAqC,CAAC;AAC9D,QAAQ,YAAY,EAAE,CAAC,0DAA0D,CAAC;AAClF,QAAQ,mBAAmB,EAAE,CAAC,2CAA2C,CAAC;AAC1E,QAAQ,UAAU,EAAE,CAAC,wDAAwD,CAAC;AAC9E,QAAQ,iBAAiB,EAAE,CAAC,yCAAyC,CAAC;AACtE,QAAQ,qBAAqB,EAAE;AAC/B,YAAY,0DAA0D;AACtE,YAAY,EAAE,SAAS,EAAE,EAAE,QAAQ,EAAE,CAAC,aAAa,CAAC,EAAE,EAAE;AACxD,SAAS;AACT,QAAQ,wBAAwB,EAAE,CAAC,kBAAkB,CAAC;AACtD,QAAQ,UAAU,EAAE,CAAC,wBAAwB,CAAC;AAC9C,QAAQ,WAAW,EAAE,CAAC,kCAAkC,CAAC;AACzD,QAAQ,sBAAsB,EAAE;AAChC,YAAY,gEAAgE;AAC5E,SAAS;AACT,QAAQ,iBAAiB,EAAE,CAAC,kCAAkC,CAAC;AAC/D,QAAQ,iBAAiB,EAAE;AAC3B,YAAY,wDAAwD;AACpE,SAAS;AACT,QAAQ,cAAc,EAAE,CAAC,sCAAsC,CAAC;AAChE,QAAQ,IAAI,EAAE,CAAC,sDAAsD,CAAC;AACtE,QAAQ,eAAe,EAAE;AACzB,YAAY,2DAA2D;AACvE,SAAS;AACT,QAAQ,eAAe,EAAE;AACzB,YAAY,8DAA8D;AAC1E,SAAS;AACT,QAAQ,WAAW,EAAE;AACrB,YAAY,kEAAkE;AAC9E,SAAS;AACT,QAAQ,SAAS,EAAE,CAAC,wDAAwD,CAAC;AAC7E,QAAQ,MAAM,EAAE,CAAC,yDAAyD,CAAC;AAC3E,QAAQ,MAAM,EAAE,CAAC,mDAAmD,CAAC;AACrE,QAAQ,aAAa,EAAE,CAAC,0DAA0D,CAAC;AACnF,QAAQ,WAAW,EAAE,CAAC,2CAA2C,CAAC;AAClE,QAAQ,eAAe,EAAE;AACzB,YAAY,2DAA2D;AACvE,SAAS;AACT,KAAK;AACL,IAAI,QAAQ,EAAE;AACd,QAAQ,GAAG,EAAE,CAAC,yBAAyB,CAAC;AACxC,QAAQ,kBAAkB,EAAE,CAAC,eAAe,CAAC;AAC7C,QAAQ,UAAU,EAAE,CAAC,mCAAmC,CAAC;AACzD,KAAK;AACL,IAAI,QAAQ,EAAE;AACd,QAAQ,MAAM,EAAE,CAAC,gBAAgB,CAAC;AAClC,QAAQ,SAAS,EAAE;AACnB,YAAY,oBAAoB;AAChC,YAAY,EAAE,OAAO,EAAE,EAAE,cAAc,EAAE,2BAA2B,EAAE,EAAE;AACxE,SAAS;AACT,KAAK;AACL,IAAI,IAAI,EAAE;AACV,QAAQ,GAAG,EAAE,CAAC,WAAW,CAAC;AAC1B,QAAQ,UAAU,EAAE,CAAC,cAAc,CAAC;AACpC,QAAQ,MAAM,EAAE,CAAC,UAAU,CAAC;AAC5B,QAAQ,IAAI,EAAE,CAAC,OAAO,CAAC;AACvB,KAAK;AACL,IAAI,UAAU,EAAE;AAChB,QAAQ,YAAY,EAAE,CAAC,qCAAqC,CAAC;AAC7D,QAAQ,iCAAiC,EAAE;AAC3C,YAAY,gDAAgD;AAC5D,YAAY,EAAE,SAAS,EAAE,EAAE,QAAQ,EAAE,CAAC,WAAW,CAAC,EAAE,EAAE;AACtD,SAAS;AACT,QAAQ,mBAAmB,EAAE;AAC7B,YAAY,sDAAsD;AAClE,YAAY,EAAE,SAAS,EAAE,EAAE,QAAQ,EAAE,CAAC,WAAW,CAAC,EAAE,EAAE;AACtD,SAAS;AACT,QAAQ,qBAAqB,EAAE;AAC/B,YAAY,mDAAmD;AAC/D,YAAY,EAAE,SAAS,EAAE,EAAE,QAAQ,EAAE,CAAC,WAAW,CAAC,EAAE,EAAE;AACtD,SAAS;AACT,QAAQ,8BAA8B,EAAE;AACxC,YAAY,6CAA6C;AACzD,YAAY,EAAE,SAAS,EAAE,EAAE,QAAQ,EAAE,CAAC,WAAW,CAAC,EAAE,EAAE;AACtD,SAAS;AACT,QAAQ,gBAAgB,EAAE,CAAC,0CAA0C,CAAC;AACtE,QAAQ,eAAe,EAAE,CAAC,kCAAkC,CAAC;AAC7D,QAAQ,aAAa,EAAE,CAAC,8CAA8C,CAAC;AACvE,QAAQ,6BAA6B,EAAE;AACvC,YAAY,qCAAqC;AACjD,YAAY,EAAE,SAAS,EAAE,EAAE,QAAQ,EAAE,CAAC,WAAW,CAAC,EAAE,EAAE;AACtD,SAAS;AACT,QAAQ,eAAe,EAAE;AACzB,YAAY,2CAA2C;AACvD,YAAY,EAAE,SAAS,EAAE,EAAE,QAAQ,EAAE,CAAC,WAAW,CAAC,EAAE,EAAE;AACtD,SAAS;AACT,QAAQ,wBAAwB,EAAE;AAClC,YAAY,sBAAsB;AAClC,YAAY,EAAE,SAAS,EAAE,EAAE,QAAQ,EAAE,CAAC,WAAW,CAAC,EAAE,EAAE;AACtD,SAAS;AACT,QAAQ,UAAU,EAAE;AACpB,YAAY,4BAA4B;AACxC,YAAY,EAAE,SAAS,EAAE,EAAE,QAAQ,EAAE,CAAC,WAAW,CAAC,EAAE,EAAE;AACtD,SAAS;AACT,QAAQ,eAAe,EAAE;AACzB,YAAY,wDAAwD;AACpE,YAAY,EAAE,SAAS,EAAE,EAAE,QAAQ,EAAE,CAAC,WAAW,CAAC,EAAE,EAAE;AACtD,SAAS;AACT,QAAQ,gBAAgB,EAAE;AAC1B,YAAY,kDAAkD;AAC9D,YAAY,EAAE,SAAS,EAAE,EAAE,QAAQ,EAAE,CAAC,WAAW,CAAC,EAAE,EAAE;AACtD,SAAS;AACT,QAAQ,eAAe,EAAE,CAAC,wDAAwD,CAAC;AACnF,QAAQ,gBAAgB,EAAE,CAAC,wCAAwC,CAAC;AACpE,QAAQ,yBAAyB,EAAE,CAAC,uBAAuB,CAAC;AAC5D,QAAQ,WAAW,EAAE,CAAC,6BAA6B,CAAC;AACpD,QAAQ,WAAW,EAAE,CAAC,kCAAkC,CAAC;AACzD,QAAQ,8BAA8B,EAAE;AACxC,YAAY,+DAA+D;AAC3E,YAAY,EAAE,SAAS,EAAE,EAAE,QAAQ,EAAE,CAAC,WAAW,CAAC,EAAE,EAAE;AACtD,SAAS;AACT,QAAQ,gBAAgB,EAAE;AAC1B,YAAY,qEAAqE;AACjF,YAAY,EAAE,SAAS,EAAE,EAAE,QAAQ,EAAE,CAAC,WAAW,CAAC,EAAE,EAAE;AACtD,SAAS;AACT,QAAQ,YAAY,EAAE,CAAC,oCAAoC,CAAC;AAC5D,KAAK;AACL,IAAI,IAAI,EAAE;AACV,QAAQ,SAAS,EAAE,CAAC,mCAAmC,CAAC;AACxD,QAAQ,gBAAgB,EAAE,CAAC,gDAAgD,CAAC;AAC5E,QAAQ,gBAAgB,EAAE,CAAC,mCAAmC,CAAC;AAC/D,QAAQ,sBAAsB,EAAE,CAAC,oCAAoC,CAAC;AACtE,QAAQ,4BAA4B,EAAE,CAAC,2CAA2C,CAAC;AACnF,QAAQ,kCAAkC,EAAE;AAC5C,YAAY,kDAAkD;AAC9D,SAAS;AACT,QAAQ,gBAAgB,EAAE,CAAC,8BAA8B,CAAC;AAC1D,QAAQ,aAAa,EAAE,CAAC,wBAAwB,CAAC;AACjD,QAAQ,aAAa,EAAE,CAAC,oCAAoC,CAAC;AAC7D,QAAQ,GAAG,EAAE,CAAC,iBAAiB,CAAC;AAChC,QAAQ,iCAAiC,EAAE,CAAC,kCAAkC,CAAC;AAC/E,QAAQ,oBAAoB,EAAE,CAAC,wCAAwC,CAAC;AACxE,QAAQ,UAAU,EAAE,CAAC,iCAAiC,CAAC;AACvD,QAAQ,sBAAsB,EAAE,CAAC,wCAAwC,CAAC;AAC1E,QAAQ,kBAAkB,EAAE;AAC5B,YAAY,0DAA0D;AACtE,SAAS;AACT,QAAQ,IAAI,EAAE,CAAC,oBAAoB,CAAC;AACpC,QAAQ,oBAAoB,EAAE,CAAC,+BAA+B,CAAC;AAC/D,QAAQ,gBAAgB,EAAE,CAAC,wBAAwB,CAAC;AACpD,QAAQ,qBAAqB,EAAE,CAAC,oCAAoC,CAAC;AACrE,QAAQ,wBAAwB,EAAE,CAAC,gBAAgB,CAAC;AACpD,QAAQ,WAAW,EAAE,CAAC,4BAA4B,CAAC;AACnD,QAAQ,mBAAmB,EAAE,CAAC,mDAAmD,CAAC;AAClF,QAAQ,WAAW,EAAE,CAAC,yBAAyB,CAAC;AAChD,QAAQ,mCAAmC,EAAE,CAAC,4BAA4B,CAAC;AAC3E,QAAQ,wBAAwB,EAAE,CAAC,uCAAuC,CAAC;AAC3E,QAAQ,sBAAsB,EAAE,CAAC,6BAA6B,CAAC;AAC/D,QAAQ,iBAAiB,EAAE,CAAC,gCAAgC,CAAC;AAC7D,QAAQ,qBAAqB,EAAE,CAAC,4CAA4C,CAAC;AAC7E,QAAQ,YAAY,EAAE,CAAC,uBAAuB,CAAC;AAC/C,QAAQ,WAAW,EAAE,CAAC,wCAAwC,CAAC;AAC/D,QAAQ,wBAAwB,EAAE;AAClC,YAAY,oEAAoE;AAChF,SAAS;AACT,QAAQ,YAAY,EAAE,CAAC,uCAAuC,CAAC;AAC/D,QAAQ,uBAAuB,EAAE,CAAC,2CAA2C,CAAC;AAC9E,QAAQ,yBAAyB,EAAE;AACnC,YAAY,qDAAqD;AACjE,SAAS;AACT,QAAQ,0CAA0C,EAAE;AACpD,YAAY,8CAA8C;AAC1D,SAAS;AACT,QAAQ,oBAAoB,EAAE,CAAC,wCAAwC,CAAC;AACxE,QAAQ,uCAAuC,EAAE;AACjD,YAAY,2CAA2C;AACvD,SAAS;AACT,QAAQ,WAAW,EAAE,CAAC,sCAAsC,CAAC;AAC7D,QAAQ,MAAM,EAAE,CAAC,mBAAmB,CAAC;AACrC,QAAQ,oCAAoC,EAAE;AAC9C,YAAY,oCAAoC;AAChD,SAAS;AACT,QAAQ,aAAa,EAAE,CAAC,mCAAmC,CAAC;AAC5D,QAAQ,yBAAyB,EAAE,CAAC,0CAA0C,CAAC;AAC/E,KAAK;AACL,IAAI,QAAQ,EAAE;AACd,QAAQ,iCAAiC,EAAE;AAC3C,YAAY,qDAAqD;AACjE,SAAS;AACT,QAAQ,mBAAmB,EAAE;AAC7B,YAAY,2DAA2D;AACvE,SAAS;AACT,QAAQ,wCAAwC,EAAE;AAClD,YAAY,mFAAmF;AAC/F,SAAS;AACT,QAAQ,0BAA0B,EAAE;AACpC,YAAY,yFAAyF;AACrG,SAAS;AACT,QAAQ,4CAA4C,EAAE;AACtD,YAAY,iEAAiE;AAC7E,YAAY,EAAE;AACd,YAAY,EAAE,OAAO,EAAE,CAAC,UAAU,EAAE,2CAA2C,CAAC,EAAE;AAClF,SAAS;AACT,QAAQ,2DAA2D,EAAE;AACrE,YAAY,2DAA2D;AACvE,YAAY,EAAE;AACd,YAAY;AACZ,gBAAgB,OAAO,EAAE;AACzB,oBAAoB,UAAU;AAC9B,oBAAoB,yDAAyD;AAC7E,iBAAiB;AACjB,aAAa;AACb,SAAS;AACT,QAAQ,uDAAuD,EAAE;AACjE,YAAY,2DAA2D;AACvE,SAAS;AACT,QAAQ,yCAAyC,EAAE;AACnD,YAAY,iEAAiE;AAC7E,SAAS;AACT,QAAQ,0CAA0C,EAAE;AACpD,YAAY,uEAAuE;AACnF,SAAS;AACT,QAAQ,8BAA8B,EAAE;AACxC,YAAY,kDAAkD;AAC9D,SAAS;AACT,QAAQ,yBAAyB,EAAE;AACnC,YAAY,wDAAwD;AACpE,SAAS;AACT,QAAQ,iBAAiB,EAAE;AAC3B,YAAY,8DAA8D;AAC1E,SAAS;AACT,QAAQ,qCAAqC,EAAE;AAC/C,YAAY,gFAAgF;AAC5F,SAAS;AACT,QAAQ,gCAAgC,EAAE;AAC1C,YAAY,sFAAsF;AAClG,SAAS;AACT,QAAQ,wBAAwB,EAAE;AAClC,YAAY,4FAA4F;AACxG,SAAS;AACT,QAAQ,kCAAkC,EAAE;AAC5C,YAAY,mEAAmE;AAC/E,SAAS;AACT,QAAQ,oBAAoB,EAAE;AAC9B,YAAY,yEAAyE;AACrF,SAAS;AACT,QAAQ,yCAAyC,EAAE;AACnD,YAAY,yFAAyF;AACrG,SAAS;AACT,QAAQ,2BAA2B,EAAE;AACrC,YAAY,+FAA+F;AAC3G,SAAS;AACT,KAAK;AACL,IAAI,QAAQ,EAAE;AACd,QAAQ,eAAe,EAAE;AACzB,YAAY,qDAAqD;AACjE,YAAY,EAAE,SAAS,EAAE,EAAE,QAAQ,EAAE,CAAC,SAAS,CAAC,EAAE,EAAE;AACpD,SAAS;AACT,QAAQ,UAAU,EAAE;AACpB,YAAY,0CAA0C;AACtD,YAAY,EAAE,SAAS,EAAE,EAAE,QAAQ,EAAE,CAAC,SAAS,CAAC,EAAE,EAAE;AACpD,SAAS;AACT,QAAQ,YAAY,EAAE;AACtB,YAAY,qCAAqC;AACjD,YAAY,EAAE,SAAS,EAAE,EAAE,QAAQ,EAAE,CAAC,SAAS,CAAC,EAAE,EAAE;AACpD,SAAS;AACT,QAAQ,0BAA0B,EAAE;AACpC,YAAY,qBAAqB;AACjC,YAAY,EAAE,SAAS,EAAE,EAAE,QAAQ,EAAE,CAAC,SAAS,CAAC,EAAE,EAAE;AACpD,SAAS;AACT,QAAQ,YAAY,EAAE;AACtB,YAAY,2BAA2B;AACvC,YAAY,EAAE,SAAS,EAAE,EAAE,QAAQ,EAAE,CAAC,SAAS,CAAC,EAAE,EAAE;AACpD,SAAS;AACT,QAAQ,aAAa,EAAE;AACvB,YAAY,qCAAqC;AACjD,YAAY,EAAE,SAAS,EAAE,EAAE,QAAQ,EAAE,CAAC,SAAS,CAAC,EAAE,EAAE;AACpD,SAAS;AACT,QAAQ,MAAM,EAAE;AAChB,YAAY,+BAA+B;AAC3C,YAAY,EAAE,SAAS,EAAE,EAAE,QAAQ,EAAE,CAAC,SAAS,CAAC,EAAE,EAAE;AACpD,SAAS;AACT,QAAQ,UAAU,EAAE;AACpB,YAAY,0CAA0C;AACtD,YAAY,EAAE,SAAS,EAAE,EAAE,QAAQ,EAAE,CAAC,SAAS,CAAC,EAAE,EAAE;AACpD,SAAS;AACT,QAAQ,YAAY,EAAE;AACtB,YAAY,sCAAsC;AAClD,YAAY,EAAE,SAAS,EAAE,EAAE,QAAQ,EAAE,CAAC,SAAS,CAAC,EAAE,EAAE;AACpD,SAAS;AACT,QAAQ,GAAG,EAAE;AACb,YAAY,4BAA4B;AACxC,YAAY,EAAE,SAAS,EAAE,EAAE,QAAQ,EAAE,CAAC,SAAS,CAAC,EAAE,EAAE;AACpD,SAAS;AACT,QAAQ,OAAO,EAAE;AACjB,YAAY,uCAAuC;AACnD,YAAY,EAAE,SAAS,EAAE,EAAE,QAAQ,EAAE,CAAC,SAAS,CAAC,EAAE,EAAE;AACpD,SAAS;AACT,QAAQ,SAAS,EAAE;AACnB,YAAY,mCAAmC;AAC/C,YAAY,EAAE,SAAS,EAAE,EAAE,QAAQ,EAAE,CAAC,SAAS,CAAC,EAAE,EAAE;AACpD,SAAS;AACT,QAAQ,oBAAoB,EAAE;AAC9B,YAAY,gEAAgE;AAC5E,YAAY,EAAE,SAAS,EAAE,EAAE,QAAQ,EAAE,CAAC,SAAS,CAAC,EAAE,EAAE;AACpD,SAAS;AACT,QAAQ,SAAS,EAAE;AACnB,YAAY,yCAAyC;AACrD,YAAY,EAAE,SAAS,EAAE,EAAE,QAAQ,EAAE,CAAC,SAAS,CAAC,EAAE,EAAE;AACpD,SAAS;AACT,QAAQ,iBAAiB,EAAE;AAC3B,YAAY,0CAA0C;AACtD,YAAY,EAAE,SAAS,EAAE,EAAE,QAAQ,EAAE,CAAC,SAAS,CAAC,EAAE,EAAE;AACpD,SAAS;AACT,QAAQ,WAAW,EAAE;AACrB,YAAY,oCAAoC;AAChD,YAAY,EAAE,SAAS,EAAE,EAAE,QAAQ,EAAE,CAAC,SAAS,CAAC,EAAE,EAAE;AACpD,SAAS;AACT,QAAQ,UAAU,EAAE;AACpB,YAAY,0BAA0B;AACtC,YAAY,EAAE,SAAS,EAAE,EAAE,QAAQ,EAAE,CAAC,SAAS,CAAC,EAAE,EAAE;AACpD,SAAS;AACT,QAAQ,WAAW,EAAE;AACrB,YAAY,oCAAoC;AAChD,YAAY,EAAE,SAAS,EAAE,EAAE,QAAQ,EAAE,CAAC,SAAS,CAAC,EAAE,EAAE;AACpD,SAAS;AACT,QAAQ,WAAW,EAAE;AACrB,YAAY,gCAAgC;AAC5C,YAAY,EAAE,SAAS,EAAE,EAAE,QAAQ,EAAE,CAAC,SAAS,CAAC,EAAE,EAAE;AACpD,SAAS;AACT,QAAQ,QAAQ,EAAE;AAClB,YAAY,8CAA8C;AAC1D,YAAY,EAAE,SAAS,EAAE,EAAE,QAAQ,EAAE,CAAC,SAAS,CAAC,EAAE,EAAE;AACpD,SAAS;AACT,QAAQ,UAAU,EAAE;AACpB,YAAY,0CAA0C;AACtD,YAAY,EAAE,SAAS,EAAE,EAAE,QAAQ,EAAE,CAAC,SAAS,CAAC,EAAE,EAAE;AACpD,SAAS;AACT,QAAQ,kBAAkB,EAAE;AAC5B,YAAY,wDAAwD;AACpE,YAAY,EAAE,SAAS,EAAE,EAAE,QAAQ,EAAE,CAAC,SAAS,CAAC,EAAE,EAAE;AACpD,SAAS;AACT,QAAQ,MAAM,EAAE;AAChB,YAAY,8BAA8B;AAC1C,YAAY,EAAE,SAAS,EAAE,EAAE,QAAQ,EAAE,CAAC,SAAS,CAAC,EAAE,EAAE;AACpD,SAAS;AACT,QAAQ,UAAU,EAAE;AACpB,YAAY,yCAAyC;AACrD,YAAY,EAAE,SAAS,EAAE,EAAE,QAAQ,EAAE,CAAC,SAAS,CAAC,EAAE,EAAE;AACpD,SAAS;AACT,QAAQ,YAAY,EAAE;AACtB,YAAY,qCAAqC;AACjD,YAAY,EAAE,SAAS,EAAE,EAAE,QAAQ,EAAE,CAAC,SAAS,CAAC,EAAE,EAAE;AACpD,SAAS;AACT,KAAK;AACL,IAAI,KAAK,EAAE;AACX,QAAQ,aAAa,EAAE,CAAC,qDAAqD,CAAC;AAC9E,QAAQ,MAAM,EAAE,CAAC,kCAAkC,CAAC;AACpD,QAAQ,2BAA2B,EAAE;AACrC,YAAY,8EAA8E;AAC1F,SAAS;AACT,QAAQ,YAAY,EAAE,CAAC,wDAAwD,CAAC;AAChF,QAAQ,mBAAmB,EAAE;AAC7B,YAAY,yDAAyD;AACrE,SAAS;AACT,QAAQ,mBAAmB,EAAE;AAC7B,YAAY,sEAAsE;AAClF,SAAS;AACT,QAAQ,mBAAmB,EAAE;AAC7B,YAAY,0DAA0D;AACtE,SAAS;AACT,QAAQ,aAAa,EAAE;AACvB,YAAY,8EAA8E;AAC1F,SAAS;AACT,QAAQ,GAAG,EAAE,CAAC,+CAA+C,CAAC;AAC9D,QAAQ,SAAS,EAAE;AACnB,YAAY,mEAAmE;AAC/E,SAAS;AACT,QAAQ,gBAAgB,EAAE,CAAC,uDAAuD,CAAC;AACnF,QAAQ,IAAI,EAAE,CAAC,iCAAiC,CAAC;AACjD,QAAQ,qBAAqB,EAAE;AAC/B,YAAY,4EAA4E;AACxF,SAAS;AACT,QAAQ,WAAW,EAAE,CAAC,uDAAuD,CAAC;AAC9E,QAAQ,SAAS,EAAE,CAAC,qDAAqD,CAAC;AAC1E,QAAQ,sBAAsB,EAAE;AAChC,YAAY,mEAAmE;AAC/E,SAAS;AACT,QAAQ,kBAAkB,EAAE;AAC5B,YAAY,wDAAwD;AACpE,SAAS;AACT,QAAQ,yBAAyB,EAAE,CAAC,0CAA0C,CAAC;AAC/E,QAAQ,WAAW,EAAE,CAAC,uDAAuD,CAAC;AAC9E,QAAQ,KAAK,EAAE,CAAC,qDAAqD,CAAC;AACtE,QAAQ,wBAAwB,EAAE;AAClC,YAAY,sEAAsE;AAClF,SAAS;AACT,QAAQ,gBAAgB,EAAE;AAC1B,YAAY,oEAAoE;AAChF,SAAS;AACT,QAAQ,YAAY,EAAE;AACtB,YAAY,2EAA2E;AACvF,SAAS;AACT,QAAQ,MAAM,EAAE,CAAC,iDAAiD,CAAC;AACnE,QAAQ,YAAY,EAAE;AACtB,YAAY,6DAA6D;AACzE,YAAY,EAAE,SAAS,EAAE,EAAE,QAAQ,EAAE,CAAC,QAAQ,CAAC,EAAE,EAAE;AACnD,SAAS;AACT,QAAQ,YAAY,EAAE;AACtB,YAAY,mEAAmE;AAC/E,SAAS;AACT,QAAQ,mBAAmB,EAAE;AAC7B,YAAY,yDAAyD;AACrE,SAAS;AACT,KAAK;AACL,IAAI,SAAS,EAAE,EAAE,GAAG,EAAE,CAAC,iBAAiB,CAAC,EAAE;AAC3C,IAAI,SAAS,EAAE;AACf,QAAQ,sBAAsB,EAAE;AAChC,YAAY,4DAA4D;AACxE,YAAY,EAAE,SAAS,EAAE,EAAE,QAAQ,EAAE,CAAC,eAAe,CAAC,EAAE,EAAE;AAC1D,SAAS;AACT,QAAQ,cAAc,EAAE;AACxB,YAAY,4DAA4D;AACxE,YAAY,EAAE,SAAS,EAAE,EAAE,QAAQ,EAAE,CAAC,eAAe,CAAC,EAAE,EAAE;AAC1D,SAAS;AACT,QAAQ,qBAAqB,EAAE;AAC/B,YAAY,mEAAmE;AAC/E,YAAY,EAAE,SAAS,EAAE,EAAE,QAAQ,EAAE,CAAC,eAAe,CAAC,EAAE,EAAE;AAC1D,SAAS;AACT,QAAQ,iCAAiC,EAAE;AAC3C,YAAY,kEAAkE;AAC9E,YAAY,EAAE,SAAS,EAAE,EAAE,QAAQ,EAAE,CAAC,eAAe,CAAC,EAAE,EAAE;AAC1D,SAAS;AACT,QAAQ,gBAAgB,EAAE;AAC1B,YAAY,4DAA4D;AACxE,YAAY,EAAE,SAAS,EAAE,EAAE,QAAQ,EAAE,CAAC,eAAe,CAAC,EAAE,EAAE;AAC1D,SAAS;AACT,QAAQ,mCAAmC,EAAE;AAC7C,YAAY,wGAAwG;AACpH,YAAY,EAAE,SAAS,EAAE,EAAE,QAAQ,EAAE,CAAC,eAAe,CAAC,EAAE,EAAE;AAC1D,SAAS;AACT,QAAQ,4BAA4B,EAAE;AACtC,YAAY,8EAA8E;AAC1F,YAAY,EAAE,SAAS,EAAE,EAAE,QAAQ,EAAE,CAAC,eAAe,CAAC,EAAE,EAAE;AAC1D,SAAS;AACT,QAAQ,sBAAsB,EAAE;AAChC,YAAY,4EAA4E;AACxF,YAAY,EAAE,SAAS,EAAE,EAAE,QAAQ,EAAE,CAAC,eAAe,CAAC,EAAE,EAAE;AAC1D,SAAS;AACT,QAAQ,cAAc,EAAE;AACxB,YAAY,4EAA4E;AACxF,YAAY,EAAE,SAAS,EAAE,EAAE,QAAQ,EAAE,CAAC,eAAe,CAAC,EAAE,EAAE;AAC1D,SAAS;AACT,QAAQ,qBAAqB,EAAE;AAC/B,YAAY,mFAAmF;AAC/F,YAAY,EAAE,SAAS,EAAE,EAAE,QAAQ,EAAE,CAAC,eAAe,CAAC,EAAE,EAAE;AAC1D,SAAS;AACT,QAAQ,2BAA2B,EAAE;AACrC,YAAY,kFAAkF;AAC9F,YAAY,EAAE,SAAS,EAAE,EAAE,QAAQ,EAAE,CAAC,eAAe,CAAC,EAAE,EAAE;AAC1D,SAAS;AACT,QAAQ,uBAAuB,EAAE;AACjC,YAAY,8FAA8F;AAC1G,YAAY,EAAE,SAAS,EAAE,EAAE,QAAQ,EAAE,CAAC,eAAe,CAAC,EAAE,EAAE;AAC1D,SAAS;AACT,QAAQ,8BAA8B,EAAE;AACxC,YAAY,wHAAwH;AACpI,YAAY,EAAE,SAAS,EAAE,EAAE,QAAQ,EAAE,CAAC,eAAe,CAAC,EAAE,EAAE;AAC1D,SAAS;AACT,QAAQ,YAAY,EAAE;AACtB,YAAY,iCAAiC;AAC7C,YAAY,EAAE,SAAS,EAAE,EAAE,QAAQ,EAAE,CAAC,eAAe,CAAC,EAAE,EAAE;AAC1D,YAAY;AACZ,gBAAgB,UAAU,EAAE,qIAAqI;AACjK,aAAa;AACb,SAAS;AACT,QAAQ,oBAAoB,EAAE;AAC9B,YAAY,2DAA2D;AACvE,YAAY,EAAE,SAAS,EAAE,EAAE,QAAQ,EAAE,CAAC,eAAe,CAAC,EAAE,EAAE;AAC1D,SAAS;AACT,QAAQ,YAAY,EAAE;AACtB,YAAY,2DAA2D;AACvE,YAAY,EAAE,SAAS,EAAE,EAAE,QAAQ,EAAE,CAAC,eAAe,CAAC,EAAE,EAAE;AAC1D,SAAS;AACT,QAAQ,mBAAmB,EAAE;AAC7B,YAAY,kEAAkE;AAC9E,YAAY,EAAE,SAAS,EAAE,EAAE,QAAQ,EAAE,CAAC,eAAe,CAAC,EAAE,EAAE;AAC1D,SAAS;AACT,QAAQ,+BAA+B,EAAE;AACzC,YAAY,iEAAiE;AAC7E,YAAY,EAAE,SAAS,EAAE,EAAE,QAAQ,EAAE,CAAC,eAAe,CAAC,EAAE,EAAE;AAC1D,SAAS;AACT,QAAQ,iCAAiC,EAAE;AAC3C,YAAY,uGAAuG;AACnH,YAAY,EAAE,SAAS,EAAE,EAAE,QAAQ,EAAE,CAAC,eAAe,CAAC,EAAE,EAAE;AAC1D,SAAS;AACT,QAAQ,0BAA0B,EAAE;AACpC,YAAY,6EAA6E;AACzF,YAAY,EAAE,SAAS,EAAE,EAAE,QAAQ,EAAE,CAAC,eAAe,CAAC,EAAE,EAAE;AAC1D,SAAS;AACT,KAAK;AACL,IAAI,KAAK,EAAE;AACX,QAAQ,gBAAgB,EAAE,CAAC,oDAAoD,CAAC;AAChF,QAAQ,wBAAwB,EAAE;AAClC,YAAY,2EAA2E;AACvF,YAAY,EAAE;AACd,YAAY,EAAE,SAAS,EAAE,MAAM,EAAE;AACjC,SAAS;AACT,QAAQ,eAAe,EAAE,CAAC,oDAAoD,CAAC;AAC/E,QAAQ,sBAAsB,EAAE;AAChC,YAAY,yFAAyF;AACrG,YAAY,EAAE;AACd,YAAY,EAAE,SAAS,EAAE,UAAU,EAAE;AACrC,SAAS;AACT,QAAQ,yBAAyB,EAAE;AACnC,YAAY,4EAA4E;AACxF,YAAY,EAAE;AACd,YAAY,EAAE,SAAS,EAAE,OAAO,EAAE;AAClC,SAAS;AACT,QAAQ,yBAAyB,EAAE;AACnC,YAAY,4EAA4E;AACxF,YAAY,EAAE;AACd,YAAY,EAAE,SAAS,EAAE,OAAO,EAAE;AAClC,SAAS;AACT,QAAQ,iBAAiB,EAAE,CAAC,oDAAoD,CAAC;AACjF,QAAQ,wBAAwB,EAAE;AAClC,YAAY,gDAAgD;AAC5D,YAAY,EAAE,SAAS,EAAE,EAAE,QAAQ,EAAE,CAAC,QAAQ,CAAC,EAAE,EAAE;AACnD,SAAS;AACT,QAAQ,cAAc,EAAE,CAAC,mDAAmD,CAAC;AAC7E,QAAQ,0BAA0B,EAAE;AACpC,YAAY,8CAA8C;AAC1D,SAAS;AACT,QAAQ,mBAAmB,EAAE;AAC7B,YAAY,0DAA0D;AACtE,SAAS;AACT,QAAQ,+BAA+B,EAAE;AACzC,YAAY,6EAA6E;AACzF,YAAY,EAAE,SAAS,EAAE,EAAE,QAAQ,EAAE,CAAC,OAAO,CAAC,EAAE,EAAE;AAClD,SAAS;AACT,QAAQ,kBAAkB,EAAE,CAAC,2CAA2C,CAAC;AACzE,QAAQ,eAAe,EAAE,CAAC,iCAAiC,CAAC;AAC5D,QAAQ,gBAAgB,EAAE,CAAC,wCAAwC,CAAC;AACpE,QAAQ,sBAAsB,EAAE;AAChC,YAAY,iEAAiE;AAC7E,SAAS;AACT,QAAQ,mBAAmB,EAAE,CAAC,uCAAuC,CAAC;AACtE,QAAQ,0BAA0B,EAAE,CAAC,kBAAkB,CAAC;AACxD,QAAQ,UAAU,EAAE,CAAC,kCAAkC,CAAC;AACxD,QAAQ,WAAW,EAAE,CAAC,wBAAwB,CAAC;AAC/C,QAAQ,yBAAyB,EAAE;AACnC,YAAY,2DAA2D;AACvE,SAAS;AACT,QAAQ,0BAA0B,EAAE,CAAC,2CAA2C,CAAC;AACjF,QAAQ,eAAe,EAAE;AACzB,YAAY,kCAAkC;AAC9C,YAAY,EAAE,SAAS,EAAE,EAAE,QAAQ,EAAE,CAAC,YAAY,CAAC,EAAE,EAAE;AACvD,SAAS;AACT,QAAQ,aAAa,EAAE,CAAC,qCAAqC,CAAC;AAC9D,QAAQ,mBAAmB,EAAE;AAC7B,YAAY,uDAAuD;AACnE,YAAY,EAAE,SAAS,EAAE,EAAE,QAAQ,EAAE,CAAC,UAAU,CAAC,EAAE,EAAE;AACrD,SAAS;AACT,QAAQ,aAAa,EAAE,CAAC,kCAAkC,CAAC;AAC3D,QAAQ,iBAAiB,EAAE,CAAC,qDAAqD,CAAC;AAClF,QAAQ,MAAM,EAAE,CAAC,8BAA8B,CAAC;AAChD,QAAQ,wBAAwB,EAAE;AAClC,YAAY,wEAAwE;AACpF,SAAS;AACT,QAAQ,2BAA2B,EAAE;AACrC,YAAY,0EAA0E;AACtF,SAAS;AACT,QAAQ,mBAAmB,EAAE;AAC7B,YAAY,8DAA8D;AAC1E,SAAS;AACT,QAAQ,sBAAsB,EAAE;AAChC,YAAY,2DAA2D;AACvE,SAAS;AACT,QAAQ,mBAAmB,EAAE,CAAC,oDAAoD,CAAC;AACnF,QAAQ,+BAA+B,EAAE;AACzC,YAAY,+EAA+E;AAC3F,YAAY,EAAE,SAAS,EAAE,EAAE,QAAQ,EAAE,CAAC,OAAO,CAAC,EAAE,EAAE;AAClD,SAAS;AACT,QAAQ,eAAe,EAAE,CAAC,4CAA4C,CAAC;AACvE,QAAQ,gBAAgB,EAAE;AAC1B,YAAY,0DAA0D;AACtE,SAAS;AACT,QAAQ,UAAU,EAAE,CAAC,8CAA8C,CAAC;AACpE,QAAQ,gBAAgB,EAAE;AAC1B,YAAY,0DAA0D;AACtE,SAAS;AACT,QAAQ,eAAe,EAAE;AACzB,YAAY,oCAAoC;AAChD,YAAY,EAAE,SAAS,EAAE,EAAE,QAAQ,EAAE,CAAC,YAAY,CAAC,EAAE,EAAE;AACvD,SAAS;AACT,QAAQ,iCAAiC,EAAE;AAC3C,YAAY,yFAAyF;AACrG,SAAS;AACT,QAAQ,aAAa,EAAE,CAAC,oDAAoD,CAAC;AAC7E,QAAQ,kBAAkB,EAAE;AAC5B,YAAY,yDAAyD;AACrE,SAAS;AACT,QAAQ,aAAa,EAAE,CAAC,8CAA8C,CAAC;AACvE,QAAQ,6BAA6B,EAAE;AACvC,YAAY,uDAAuD;AACnE,YAAY,EAAE,SAAS,EAAE,EAAE,QAAQ,EAAE,CAAC,QAAQ,CAAC,EAAE,EAAE;AACnD,SAAS;AACT,QAAQ,0BAA0B,EAAE;AACpC,YAAY,mDAAmD;AAC/D,YAAY,EAAE,SAAS,EAAE,EAAE,QAAQ,EAAE,CAAC,QAAQ,CAAC,EAAE,EAAE;AACnD,SAAS;AACT,QAAQ,eAAe,EAAE;AACzB,YAAY,yCAAyC;AACrD,YAAY,EAAE;AACd,YAAY,EAAE,OAAO,EAAE,CAAC,OAAO,EAAE,wBAAwB,CAAC,EAAE;AAC5D,SAAS;AACT,QAAQ,sBAAsB,EAAE,CAAC,yCAAyC,CAAC;AAC3E,QAAQ,sBAAsB,EAAE,CAAC,yCAAyC,CAAC;AAC3E,QAAQ,4BAA4B,EAAE;AACtC,YAAY,oDAAoD;AAChE,YAAY,EAAE,SAAS,EAAE,EAAE,QAAQ,EAAE,CAAC,QAAQ,CAAC,EAAE,EAAE;AACnD,SAAS;AACT,QAAQ,yBAAyB,EAAE;AACnC,YAAY,gDAAgD;AAC5D,YAAY,EAAE,SAAS,EAAE,EAAE,QAAQ,EAAE,CAAC,QAAQ,CAAC,EAAE,EAAE;AACnD,SAAS;AACT,QAAQ,GAAG,EAAE,CAAC,2BAA2B,CAAC;AAC1C,QAAQ,qBAAqB,EAAE;AAC/B,YAAY,qEAAqE;AACjF,SAAS;AACT,QAAQ,wBAAwB,EAAE;AAClC,YAAY,uEAAuE;AACnF,SAAS;AACT,QAAQ,kBAAkB,EAAE,CAAC,wCAAwC,CAAC;AACtE,QAAQ,yBAAyB,EAAE;AACnC,YAAY,wFAAwF;AACpG,SAAS;AACT,QAAQ,YAAY,EAAE;AACtB,YAAY,kCAAkC;AAC9C,YAAY,EAAE,SAAS,EAAE,EAAE,QAAQ,EAAE,CAAC,OAAO,CAAC,EAAE,EAAE;AAClD,SAAS;AACT,QAAQ,kCAAkC,EAAE;AAC5C,YAAY,0EAA0E;AACtF,SAAS;AACT,QAAQ,SAAS,EAAE,CAAC,6CAA6C,CAAC;AAClE,QAAQ,mBAAmB,EAAE;AAC7B,YAAY,wDAAwD;AACpE,SAAS;AACT,QAAQ,SAAS,EAAE,CAAC,0CAA0C,CAAC;AAC/D,QAAQ,qBAAqB,EAAE,CAAC,gDAAgD,CAAC;AACjF,QAAQ,8BAA8B,EAAE;AACxC,YAAY,+DAA+D;AAC3E,SAAS;AACT,QAAQ,uBAAuB,EAAE,CAAC,gDAAgD,CAAC;AACnF,QAAQ,SAAS,EAAE,CAAC,yCAAyC,CAAC;AAC9D,QAAQ,sBAAsB,EAAE,CAAC,iDAAiD,CAAC;AACnF,QAAQ,gBAAgB,EAAE,CAAC,iDAAiD,CAAC;AAC7E,QAAQ,4BAA4B,EAAE;AACtC,YAAY,4EAA4E;AACxF,YAAY,EAAE,SAAS,EAAE,EAAE,QAAQ,EAAE,CAAC,OAAO,CAAC,EAAE,EAAE;AAClD,SAAS;AACT,QAAQ,0BAA0B,EAAE,CAAC,6CAA6C,CAAC;AACnF,QAAQ,UAAU,EAAE,CAAC,2CAA2C,CAAC;AACjE,QAAQ,oBAAoB,EAAE,CAAC,8CAA8C,CAAC;AAC9E,QAAQ,YAAY,EAAE,CAAC,yCAAyC,CAAC;AACjE,QAAQ,aAAa,EAAE,CAAC,uDAAuD,CAAC;AAChF,QAAQ,mBAAmB,EAAE;AAC7B,YAAY,4EAA4E;AACxF,SAAS;AACT,QAAQ,cAAc,EAAE;AACxB,YAAY,2DAA2D;AACvE,SAAS;AACT,QAAQ,mBAAmB,EAAE,CAAC,+CAA+C,CAAC;AAC9E,QAAQ,gBAAgB,EAAE,CAAC,2CAA2C,CAAC;AACvE,QAAQ,QAAQ,EAAE,CAAC,iCAAiC,CAAC;AACrD,QAAQ,aAAa,EAAE,CAAC,mDAAmD,CAAC;AAC5E,QAAQ,mBAAmB,EAAE,CAAC,wCAAwC,CAAC;AACvE,QAAQ,qBAAqB,EAAE,CAAC,+CAA+C,CAAC;AAChF,QAAQ,8BAA8B,EAAE;AACxC,YAAY,sFAAsF;AAClG,SAAS;AACT,QAAQ,iBAAiB,EAAE,CAAC,4CAA4C,CAAC;AACzE,QAAQ,SAAS,EAAE,CAAC,kCAAkC,CAAC;AACvD,QAAQ,oBAAoB,EAAE,CAAC,wCAAwC,CAAC;AACxE,QAAQ,UAAU,EAAE,CAAC,iDAAiD,CAAC;AACvE,QAAQ,eAAe,EAAE,CAAC,sDAAsD,CAAC;AACjF,QAAQ,eAAe,EAAE,CAAC,+CAA+C,CAAC;AAC1E,QAAQ,yBAAyB,EAAE;AACnC,YAAY,+EAA+E;AAC3F,SAAS;AACT,QAAQ,mCAAmC,EAAE;AAC7C,YAAY,2EAA2E;AACvF,SAAS;AACT,QAAQ,WAAW,EAAE,CAAC,iDAAiD,CAAC;AACxE,QAAQ,eAAe,EAAE,CAAC,qDAAqD,CAAC;AAChF,QAAQ,mCAAmC,EAAE;AAC7C,YAAY,2EAA2E;AACvF,SAAS;AACT,QAAQ,QAAQ,EAAE,CAAC,yCAAyC,CAAC;AAC7D,QAAQ,UAAU,EAAE,CAAC,2CAA2C,CAAC;AACjE,QAAQ,uBAAuB,EAAE;AACjC,YAAY,kDAAkD;AAC9D,SAAS;AACT,QAAQ,kBAAkB,EAAE;AAC5B,YAAY,oEAAoE;AAChF,SAAS;AACT,QAAQ,YAAY,EAAE,CAAC,oCAAoC,CAAC;AAC5D,QAAQ,yBAAyB,EAAE;AACnC,YAAY,oEAAoE;AAChF,YAAY,EAAE,SAAS,EAAE,EAAE,QAAQ,EAAE,CAAC,OAAO,CAAC,EAAE,EAAE;AAClD,SAAS;AACT,QAAQ,iBAAiB,EAAE,CAAC,yCAAyC,CAAC;AACtE,QAAQ,qBAAqB,EAAE;AAC/B,YAAY,yDAAyD;AACrE,SAAS;AACT,QAAQ,yBAAyB,EAAE,CAAC,oCAAoC,CAAC;AACzE,QAAQ,wBAAwB,EAAE;AAClC,YAAY,kDAAkD;AAC9D,SAAS;AACT,QAAQ,WAAW,EAAE,CAAC,mCAAmC,CAAC;AAC1D,QAAQ,gBAAgB,EAAE,CAAC,wCAAwC,CAAC;AACpE,QAAQ,cAAc,EAAE,CAAC,gCAAgC,CAAC;AAC1D,QAAQ,sBAAsB,EAAE;AAChC,YAAY,gEAAgE;AAC5E,SAAS;AACT,QAAQ,eAAe,EAAE,CAAC,uCAAuC,CAAC;AAClE,QAAQ,wBAAwB,EAAE,CAAC,iBAAiB,CAAC;AACrD,QAAQ,UAAU,EAAE,CAAC,uBAAuB,CAAC;AAC7C,QAAQ,WAAW,EAAE,CAAC,6BAA6B,CAAC;AACpD,QAAQ,SAAS,EAAE,CAAC,iCAAiC,CAAC;AACtD,QAAQ,eAAe,EAAE,CAAC,uCAAuC,CAAC;AAClE,QAAQ,mCAAmC,EAAE,CAAC,kCAAkC,CAAC;AACjF,QAAQ,aAAa,EAAE,CAAC,qCAAqC,CAAC;AAC9D,QAAQ,eAAe,EAAE,CAAC,wCAAwC,CAAC;AACnE,QAAQ,UAAU,EAAE,CAAC,mBAAmB,CAAC;AACzC,QAAQ,oCAAoC,EAAE;AAC9C,YAAY,sDAAsD;AAClE,YAAY,EAAE,SAAS,EAAE,EAAE,QAAQ,EAAE,CAAC,OAAO,CAAC,EAAE,EAAE;AAClD,SAAS;AACT,QAAQ,iBAAiB,EAAE;AAC3B,YAAY,wDAAwD;AACpE,SAAS;AACT,QAAQ,YAAY,EAAE,CAAC,oCAAoC,CAAC;AAC5D,QAAQ,QAAQ,EAAE,CAAC,gCAAgC,CAAC;AACpD,QAAQ,SAAS,EAAE,CAAC,iCAAiC,CAAC;AACtD,QAAQ,qBAAqB,EAAE;AAC/B,YAAY,sDAAsD;AAClE,SAAS;AACT,QAAQ,YAAY,EAAE,CAAC,iCAAiC,CAAC;AACzD,QAAQ,KAAK,EAAE,CAAC,mCAAmC,CAAC;AACpD,QAAQ,WAAW,EAAE,CAAC,kDAAkD,CAAC;AACzE,QAAQ,wBAAwB,EAAE;AAClC,YAAY,8EAA8E;AAC1F,SAAS;AACT,QAAQ,2BAA2B,EAAE;AACrC,YAAY,6EAA6E;AACzF,YAAY,EAAE;AACd,YAAY,EAAE,SAAS,EAAE,MAAM,EAAE;AACjC,SAAS;AACT,QAAQ,kBAAkB,EAAE;AAC5B,YAAY,uDAAuD;AACnE,SAAS;AACT,QAAQ,yBAAyB,EAAE;AACnC,YAAY,2FAA2F;AACvG,YAAY,EAAE;AACd,YAAY,EAAE,SAAS,EAAE,UAAU,EAAE;AACrC,SAAS;AACT,QAAQ,2BAA2B,EAAE;AACrC,YAAY,kFAAkF;AAC9F,SAAS;AACT,QAAQ,4BAA4B,EAAE;AACtC,YAAY,8EAA8E;AAC1F,YAAY,EAAE;AACd,YAAY,EAAE,SAAS,EAAE,OAAO,EAAE;AAClC,SAAS;AACT,QAAQ,4BAA4B,EAAE;AACtC,YAAY,8EAA8E;AAC1F,YAAY,EAAE;AACd,YAAY,EAAE,SAAS,EAAE,OAAO,EAAE;AAClC,SAAS;AACT,QAAQ,YAAY,EAAE,CAAC,qDAAqD,CAAC;AAC7E,QAAQ,gBAAgB,EAAE;AAC1B,YAAY,kCAAkC;AAC9C,YAAY,EAAE,SAAS,EAAE,EAAE,QAAQ,EAAE,CAAC,OAAO,CAAC,EAAE,EAAE;AAClD,SAAS;AACT,QAAQ,iBAAiB,EAAE,CAAC,yCAAyC,CAAC;AACtE,QAAQ,wBAAwB,EAAE;AAClC,YAAY,wEAAwE;AACpF,SAAS;AACT,QAAQ,wBAAwB,EAAE;AAClC,YAAY,0EAA0E;AACtF,YAAY,EAAE;AACd,YAAY,EAAE,SAAS,EAAE,MAAM,EAAE;AACjC,SAAS;AACT,QAAQ,sBAAsB,EAAE;AAChC,YAAY,wFAAwF;AACpG,YAAY,EAAE;AACd,YAAY,EAAE,SAAS,EAAE,UAAU,EAAE;AACrC,SAAS;AACT,QAAQ,yBAAyB,EAAE;AACnC,YAAY,2EAA2E;AACvF,YAAY,EAAE;AACd,YAAY,EAAE,SAAS,EAAE,OAAO,EAAE;AAClC,SAAS;AACT,QAAQ,yBAAyB,EAAE;AACnC,YAAY,2EAA2E;AACvF,YAAY,EAAE;AACd,YAAY,EAAE,SAAS,EAAE,OAAO,EAAE;AAClC,SAAS;AACT,QAAQ,eAAe,EAAE,CAAC,kDAAkD,CAAC;AAC7E,QAAQ,QAAQ,EAAE,CAAC,qCAAqC,CAAC;AACzD,QAAQ,MAAM,EAAE,CAAC,6BAA6B,CAAC;AAC/C,QAAQ,sBAAsB,EAAE;AAChC,YAAY,wDAAwD;AACpE,SAAS;AACT,QAAQ,mBAAmB,EAAE,CAAC,mDAAmD,CAAC;AAClF,QAAQ,+BAA+B,EAAE,CAAC,iCAAiC,CAAC;AAC5E,QAAQ,gBAAgB,EAAE;AAC1B,YAAY,yDAAyD;AACrE,SAAS;AACT,QAAQ,iCAAiC,EAAE;AAC3C,YAAY,wFAAwF;AACpG,SAAS;AACT,QAAQ,aAAa,EAAE,CAAC,mDAAmD,CAAC;AAC5E,QAAQ,kBAAkB,EAAE;AAC5B,YAAY,wDAAwD;AACpE,SAAS;AACT,QAAQ,0BAA0B,EAAE;AACpC,YAAY,iFAAiF;AAC7F,YAAY,EAAE;AACd,YAAY,EAAE,OAAO,EAAE,CAAC,OAAO,EAAE,6BAA6B,CAAC,EAAE;AACjE,SAAS;AACT,QAAQ,2BAA2B,EAAE;AACrC,YAAY,iFAAiF;AAC7F,SAAS;AACT,QAAQ,aAAa,EAAE,CAAC,6CAA6C,CAAC;AACtE,QAAQ,0BAA0B,EAAE;AACpC,YAAY,oDAAoD;AAChE,SAAS;AACT,QAAQ,kBAAkB,EAAE;AAC5B,YAAY,sEAAsE;AAClF,YAAY,EAAE,OAAO,EAAE,4BAA4B,EAAE;AACrD,SAAS;AACT,KAAK;AACL,IAAI,MAAM,EAAE;AACZ,QAAQ,IAAI,EAAE,CAAC,kBAAkB,CAAC;AAClC,QAAQ,OAAO,EAAE,CAAC,qBAAqB,EAAE,EAAE,SAAS,EAAE,EAAE,QAAQ,EAAE,CAAC,OAAO,CAAC,EAAE,EAAE,CAAC;AAChF,QAAQ,qBAAqB,EAAE,CAAC,oBAAoB,CAAC;AACrD,QAAQ,MAAM,EAAE,CAAC,oBAAoB,CAAC;AACtC,QAAQ,KAAK,EAAE,CAAC,0BAA0B,CAAC;AAC3C,QAAQ,MAAM,EAAE,CAAC,oBAAoB,EAAE,EAAE,SAAS,EAAE,EAAE,QAAQ,EAAE,CAAC,OAAO,CAAC,EAAE,EAAE,CAAC;AAC9E,QAAQ,KAAK,EAAE,CAAC,mBAAmB,CAAC;AACpC,KAAK;AACL,IAAI,cAAc,EAAE;AACpB,QAAQ,QAAQ,EAAE;AAClB,YAAY,iEAAiE;AAC7E,SAAS;AACT,QAAQ,iBAAiB,EAAE,CAAC,kDAAkD,CAAC;AAC/E,QAAQ,WAAW,EAAE;AACrB,YAAY,mEAAmE;AAC/E,SAAS;AACT,KAAK;AACL,IAAI,KAAK,EAAE;AACX,QAAQ,iCAAiC,EAAE;AAC3C,YAAY,0DAA0D;AACtE,SAAS;AACT,QAAQ,kCAAkC,EAAE;AAC5C,YAAY,yDAAyD;AACrE,YAAY,EAAE,SAAS,EAAE,EAAE,QAAQ,EAAE,CAAC,SAAS,CAAC,EAAE,EAAE;AACpD,SAAS;AACT,QAAQ,+BAA+B,EAAE;AACzC,YAAY,wDAAwD;AACpE,SAAS;AACT,QAAQ,+BAA+B,EAAE;AACzC,YAAY,yDAAyD;AACrE,YAAY,EAAE,SAAS,EAAE,EAAE,QAAQ,EAAE,CAAC,SAAS,CAAC,EAAE,EAAE;AACpD,SAAS;AACT,QAAQ,4BAA4B,EAAE;AACtC,YAAY,wDAAwD;AACpE,SAAS;AACT,QAAQ,MAAM,EAAE,CAAC,wBAAwB,CAAC;AAC1C,QAAQ,4BAA4B,EAAE;AACtC,YAAY,6EAA6E;AACzF,SAAS;AACT,QAAQ,qBAAqB,EAAE,CAAC,gDAAgD,CAAC;AACjF,QAAQ,4BAA4B,EAAE;AACtC,YAAY,gGAAgG;AAC5G,SAAS;AACT,QAAQ,qBAAqB,EAAE;AAC/B,YAAY,sEAAsE;AAClF,SAAS;AACT,QAAQ,WAAW,EAAE,CAAC,sCAAsC,CAAC;AAC7D,QAAQ,SAAS,EAAE,CAAC,mCAAmC,CAAC;AACxD,QAAQ,yBAAyB,EAAE;AACnC,YAAY,6FAA6F;AACzG,SAAS;AACT,QAAQ,kBAAkB,EAAE;AAC5B,YAAY,mEAAmE;AAC/E,SAAS;AACT,QAAQ,yBAAyB,EAAE;AACnC,YAAY,0DAA0D;AACtE,SAAS;AACT,QAAQ,IAAI,EAAE,CAAC,uBAAuB,CAAC;AACvC,QAAQ,cAAc,EAAE,CAAC,yCAAyC,CAAC;AACnE,QAAQ,2BAA2B,EAAE;AACrC,YAAY,4EAA4E;AACxF,SAAS;AACT,QAAQ,oBAAoB,EAAE,CAAC,+CAA+C,CAAC;AAC/E,QAAQ,wBAAwB,EAAE,CAAC,iBAAiB,CAAC;AACrD,QAAQ,gBAAgB,EAAE,CAAC,2CAA2C,CAAC;AACvE,QAAQ,2BAA2B,EAAE;AACrC,YAAY,+CAA+C;AAC3D,SAAS;AACT,QAAQ,iBAAiB,EAAE;AAC3B,YAAY,4CAA4C;AACxD,YAAY,EAAE,SAAS,EAAE,EAAE,QAAQ,EAAE,CAAC,SAAS,CAAC,EAAE,EAAE;AACpD,SAAS;AACT,QAAQ,cAAc,EAAE,CAAC,yCAAyC,CAAC;AACnE,QAAQ,4BAA4B,EAAE;AACtC,YAAY,6DAA6D;AACzE,SAAS;AACT,QAAQ,kBAAkB,EAAE;AAC5B,YAAY,4DAA4D;AACxE,SAAS;AACT,QAAQ,eAAe,EAAE;AACzB,YAAY,2DAA2D;AACvE,SAAS;AACT,QAAQ,4BAA4B,EAAE;AACtC,YAAY,+FAA+F;AAC3G,SAAS;AACT,QAAQ,qBAAqB,EAAE;AAC/B,YAAY,qEAAqE;AACjF,SAAS;AACT,QAAQ,WAAW,EAAE,CAAC,qCAAqC,CAAC;AAC5D,KAAK;AACL,IAAI,KAAK,EAAE;AACX,QAAQ,wBAAwB,EAAE,CAAC,mBAAmB,CAAC;AACvD,QAAQ,KAAK,EAAE,CAAC,6BAA6B,CAAC;AAC9C,QAAQ,YAAY,EAAE,CAAC,6BAA6B,CAAC;AACrD,QAAQ,qBAAqB,EAAE,CAAC,+CAA+C,CAAC;AAChF,QAAQ,oCAAoC,EAAE,CAAC,gCAAgC,CAAC;AAChF,QAAQ,4BAA4B,EAAE,CAAC,qBAAqB,CAAC;AAC7D,QAAQ,kCAAkC,EAAE,CAAC,iBAAiB,CAAC;AAC/D,QAAQ,2BAA2B,EAAE,CAAC,qBAAqB,CAAC;AAC5D,QAAQ,4BAA4B,EAAE,CAAC,oCAAoC,CAAC;AAC5E,QAAQ,kCAAkC,EAAE,CAAC,4BAA4B,CAAC;AAC1E,QAAQ,MAAM,EAAE,CAAC,gCAAgC,CAAC;AAClD,QAAQ,gBAAgB,EAAE,CAAC,WAAW,CAAC;AACvC,QAAQ,aAAa,EAAE,CAAC,uBAAuB,CAAC;AAChD,QAAQ,iBAAiB,EAAE,CAAC,iCAAiC,CAAC;AAC9D,QAAQ,yBAAyB,EAAE,CAAC,iCAAiC,CAAC;AACtE,QAAQ,+BAA+B,EAAE,CAAC,yBAAyB,CAAC;AACpE,QAAQ,IAAI,EAAE,CAAC,YAAY,CAAC;AAC5B,QAAQ,0BAA0B,EAAE,CAAC,kBAAkB,CAAC;AACxD,QAAQ,0BAA0B,EAAE,CAAC,kBAAkB,CAAC;AACxD,QAAQ,2BAA2B,EAAE,CAAC,qBAAqB,CAAC;AAC5D,QAAQ,iCAAiC,EAAE,CAAC,qBAAqB,CAAC;AAClE,QAAQ,oBAAoB,EAAE,CAAC,iCAAiC,CAAC;AACjE,QAAQ,oBAAoB,EAAE,CAAC,iCAAiC,CAAC;AACjE,QAAQ,2BAA2B,EAAE,CAAC,oBAAoB,CAAC;AAC3D,QAAQ,kBAAkB,EAAE,CAAC,gCAAgC,CAAC;AAC9D,QAAQ,gCAAgC,EAAE,CAAC,yBAAyB,CAAC;AACrE,QAAQ,qBAAqB,EAAE,CAAC,4BAA4B,CAAC;AAC7D,QAAQ,iCAAiC,EAAE,CAAC,gBAAgB,CAAC;AAC7D,QAAQ,yCAAyC,EAAE,CAAC,8BAA8B,CAAC;AACnF,QAAQ,OAAO,EAAE,CAAC,gCAAgC,CAAC;AACnD,QAAQ,QAAQ,EAAE,CAAC,mCAAmC,CAAC;AACvD,QAAQ,mBAAmB,EAAE,CAAC,aAAa,CAAC;AAC5C,KAAK;AACL,CAAC;;AC95CM,MAAM,OAAO,GAAG,mBAAmB,CAAC;;ACApC,SAAS,kBAAkB,CAAC,OAAO,EAAE,YAAY,EAAE;AAC1D,IAAI,MAAM,UAAU,GAAG,EAAE,CAAC;AAC1B,IAAI,KAAK,MAAM,CAAC,KAAK,EAAE,SAAS,CAAC,IAAI,MAAM,CAAC,OAAO,CAAC,YAAY,CAAC,EAAE;AACnE,QAAQ,KAAK,MAAM,CAAC,UAAU,EAAE,QAAQ,CAAC,IAAI,MAAM,CAAC,OAAO,CAAC,SAAS,CAAC,EAAE;AACxE,YAAY,MAAM,CAAC,KAAK,EAAE,QAAQ,EAAE,WAAW,CAAC,GAAG,QAAQ,CAAC;AAC5D,YAAY,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,GAAG,KAAK,CAAC,KAAK,CAAC,GAAG,CAAC,CAAC;AACnD,YAAY,MAAM,gBAAgB,GAAG,MAAM,CAAC,MAAM,CAAC,EAAE,MAAM,EAAE,GAAG,EAAE,EAAE,QAAQ,CAAC,CAAC;AAC9E,YAAY,IAAI,CAAC,UAAU,CAAC,KAAK,CAAC,EAAE;AACpC,gBAAgB,UAAU,CAAC,KAAK,CAAC,GAAG,EAAE,CAAC;AACvC,aAAa;AACb,YAAY,MAAM,YAAY,GAAG,UAAU,CAAC,KAAK,CAAC,CAAC;AACnD,YAAY,IAAI,WAAW,EAAE;AAC7B,gBAAgB,YAAY,CAAC,UAAU,CAAC,GAAG,QAAQ,CAAC,OAAO,EAAE,KAAK,EAAE,UAAU,EAAE,gBAAgB,EAAE,WAAW,CAAC,CAAC;AAC/G,gBAAgB,SAAS;AACzB,aAAa;AACb,YAAY,YAAY,CAAC,UAAU,CAAC,GAAG,OAAO,CAAC,OAAO,CAAC,QAAQ,CAAC,gBAAgB,CAAC,CAAC;AAClF,SAAS;AACT,KAAK;AACL,IAAI,OAAO,UAAU,CAAC;AACtB,CAAC;AACD,SAAS,QAAQ,CAAC,OAAO,EAAE,KAAK,EAAE,UAAU,EAAE,QAAQ,EAAE,WAAW,EAAE;AACrE,IAAI,MAAM,mBAAmB,GAAG,OAAO,CAAC,OAAO,CAAC,QAAQ,CAAC,QAAQ,CAAC,CAAC;AACnE;AACA,IAAI,SAAS,eAAe,CAAC,GAAG,IAAI,EAAE;AACtC;AACA,QAAQ,IAAI,OAAO,GAAG,mBAAmB,CAAC,QAAQ,CAAC,KAAK,CAAC,GAAG,IAAI,CAAC,CAAC;AAClE;AACA,QAAQ,IAAI,WAAW,CAAC,SAAS,EAAE;AACnC,YAAY,OAAO,GAAG,MAAM,CAAC,MAAM,CAAC,EAAE,EAAE,OAAO,EAAE;AACjD,gBAAgB,IAAI,EAAE,OAAO,CAAC,WAAW,CAAC,SAAS,CAAC;AACpD,gBAAgB,CAAC,WAAW,CAAC,SAAS,GAAG,SAAS;AAClD,aAAa,CAAC,CAAC;AACf,YAAY,OAAO,mBAAmB,CAAC,OAAO,CAAC,CAAC;AAChD,SAAS;AACT,QAAQ,IAAI,WAAW,CAAC,OAAO,EAAE;AACjC,YAAY,MAAM,CAAC,QAAQ,EAAE,aAAa,CAAC,GAAG,WAAW,CAAC,OAAO,CAAC;AAClE,YAAY,OAAO,CAAC,GAAG,CAAC,IAAI,CAAC,CAAC,QAAQ,EAAE,KAAK,CAAC,CAAC,EAAE,UAAU,CAAC,+BAA+B,EAAE,QAAQ,CAAC,CAAC,EAAE,aAAa,CAAC,EAAE,CAAC,CAAC,CAAC;AAC5H,SAAS;AACT,QAAQ,IAAI,WAAW,CAAC,UAAU,EAAE;AACpC,YAAY,OAAO,CAAC,GAAG,CAAC,IAAI,CAAC,WAAW,CAAC,UAAU,CAAC,CAAC;AACrD,SAAS;AACT,QAAQ,IAAI,WAAW,CAAC,iBAAiB,EAAE;AAC3C;AACA,YAAY,MAAM,OAAO,GAAG,mBAAmB,CAAC,QAAQ,CAAC,KAAK,CAAC,GAAG,IAAI,CAAC,CAAC;AACxE,YAAY,KAAK,MAAM,CAAC,IAAI,EAAE,KAAK,CAAC,IAAI,MAAM,CAAC,OAAO,CAAC,WAAW,CAAC,iBAAiB,CAAC,EAAE;AACvF,gBAAgB,IAAI,IAAI,IAAI,OAAO,EAAE;AACrC,oBAAoB,OAAO,CAAC,GAAG,CAAC,IAAI,CAAC,CAAC,CAAC,EAAE,IAAI,CAAC,uCAAuC,EAAE,KAAK,CAAC,CAAC,EAAE,UAAU,CAAC,UAAU,EAAE,KAAK,CAAC,SAAS,CAAC,CAAC,CAAC;AACzI,oBAAoB,IAAI,EAAE,KAAK,IAAI,OAAO,CAAC,EAAE;AAC7C,wBAAwB,OAAO,CAAC,KAAK,CAAC,GAAG,OAAO,CAAC,IAAI,CAAC,CAAC;AACvD,qBAAqB;AACrB,oBAAoB,OAAO,OAAO,CAAC,IAAI,CAAC,CAAC;AACzC,iBAAiB;AACjB,aAAa;AACb,YAAY,OAAO,mBAAmB,CAAC,OAAO,CAAC,CAAC;AAChD,SAAS;AACT;AACA,QAAQ,OAAO,mBAAmB,CAAC,GAAG,IAAI,CAAC,CAAC;AAC5C,KAAK;AACL,IAAI,OAAO,MAAM,CAAC,MAAM,CAAC,eAAe,EAAE,mBAAmB,CAAC,CAAC;AAC/D,CAAC;;ACxDM,SAAS,mBAAmB,CAAC,OAAO,EAAE;AAC7C,IAAI,MAAM,GAAG,GAAG,kBAAkB,CAAC,OAAO,EAAEA,SAAS,CAAC,CAAC;AACvD,IAAI,OAAO;AACX,QAAQ,IAAI,EAAE,GAAG;AACjB,KAAK,CAAC;AACN,CAAC;AACD,mBAAmB,CAAC,OAAO,GAAG,OAAO,CAAC;AACtC,AAAO,SAAS,yBAAyB,CAAC,OAAO,EAAE;AACnD,IAAI,MAAM,GAAG,GAAG,kBAAkB,CAAC,OAAO,EAAEA,SAAS,CAAC,CAAC;AACvD,IAAI,OAAO;AACX,QAAQ,GAAG,GAAG;AACd,QAAQ,IAAI,EAAE,GAAG;AACjB,KAAK,CAAC;AACN,CAAC;AACD,yBAAyB,CAAC,OAAO,GAAG,OAAO,CAAC;;;;"} \ No newline at end of file diff --git a/node_modules/@octokit/plugin-rest-endpoint-methods/package.json b/node_modules/@octokit/plugin-rest-endpoint-methods/package.json deleted file mode 100644 index a2580e8..0000000 --- a/node_modules/@octokit/plugin-rest-endpoint-methods/package.json +++ /dev/null @@ -1,60 +0,0 @@ -{ - "name": "@octokit/plugin-rest-endpoint-methods", - "description": "Octokit plugin adding one method for all of api.github.com REST API endpoints", - "version": "5.5.2", - "license": "MIT", - "files": [ - "dist-*/", - "bin/" - ], - "pika": true, - "sideEffects": false, - "keywords": [ - "github", - "api", - "sdk", - "toolkit" - ], - "repository": "github:octokit/plugin-rest-endpoint-methods.js", - "dependencies": { - "@octokit/types": "^6.22.0", - "deprecation": "^2.3.1" - }, - "peerDependencies": { - "@octokit/core": ">=3" - }, - "devDependencies": { - "@gimenete/type-writer": "^0.1.5", - "@octokit/core": "^3.0.0", - "@pika/pack": "^0.5.0", - "@pika/plugin-build-node": "^0.9.0", - "@pika/plugin-build-web": "^0.9.0", - "@pika/plugin-ts-standard-pkg": "^0.9.0", - "@types/fetch-mock": "^7.3.1", - "@types/jest": "^26.0.0", - "@types/node": "^14.0.4", - "fetch-mock": "^9.0.0", - "fs-extra": "^10.0.0", - "github-openapi-graphql-query": "^1.0.5", - "jest": "^27.0.0", - "lodash.camelcase": "^4.3.0", - "lodash.set": "^4.3.2", - "lodash.upperfirst": "^4.3.1", - "mustache": "^4.0.0", - "npm-run-all": "^4.1.5", - "prettier": "2.3.2", - "semantic-release": "^17.0.0", - "semantic-release-plugin-update-version-in-files": "^1.0.0", - "sort-keys": "^4.2.0", - "string-to-jsdoc-comment": "^1.0.0", - "ts-jest": "^27.0.0-next.12", - "typescript": "^4.0.2" - }, - "publishConfig": { - "access": "public" - }, - "source": "dist-src/index.js", - "types": "dist-types/index.d.ts", - "main": "dist-node/index.js", - "module": "dist-web/index.js" -} diff --git a/node_modules/@octokit/request-error/LICENSE b/node_modules/@octokit/request-error/LICENSE deleted file mode 100644 index ef2c18e..0000000 --- a/node_modules/@octokit/request-error/LICENSE +++ /dev/null @@ -1,21 +0,0 @@ -The MIT License - -Copyright (c) 2019 Octokit 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/@octokit/request-error/README.md b/node_modules/@octokit/request-error/README.md deleted file mode 100644 index 1bf5384..0000000 --- a/node_modules/@octokit/request-error/README.md +++ /dev/null @@ -1,67 +0,0 @@ -# http-error.js - -> Error class for Octokit request errors - -[![@latest](https://img.shields.io/npm/v/@octokit/request-error.svg)](https://www.npmjs.com/package/@octokit/request-error) -[![Build Status](https://github.com/octokit/request-error.js/workflows/Test/badge.svg)](https://github.com/octokit/request-error.js/actions?query=workflow%3ATest) - -## Usage - - - - - - -
-Browsers - -Load @octokit/request-error directly from cdn.skypack.dev - -```html - -``` - -
-Node - - -Install with npm install @octokit/request-error - -```js -const { RequestError } = require("@octokit/request-error"); -// or: import { RequestError } from "@octokit/request-error"; -``` - -
- -```js -const error = new RequestError("Oops", 500, { - headers: { - "x-github-request-id": "1:2:3:4", - }, // response headers - request: { - method: "POST", - url: "https://api.github.com/foo", - body: { - bar: "baz", - }, - headers: { - authorization: "token secret123", - }, - }, -}); - -error.message; // Oops -error.status; // 500 -error.request.method; // POST -error.request.url; // https://api.github.com/foo -error.request.body; // { bar: 'baz' } -error.request.headers; // { authorization: 'token [REDACTED]' } -error.response; // { url, status, headers, data } -``` - -## LICENSE - -[MIT](LICENSE) diff --git a/node_modules/@octokit/request-error/dist-node/index.js b/node_modules/@octokit/request-error/dist-node/index.js deleted file mode 100644 index 619f462..0000000 --- a/node_modules/@octokit/request-error/dist-node/index.js +++ /dev/null @@ -1,74 +0,0 @@ -'use strict'; - -Object.defineProperty(exports, '__esModule', { value: true }); - -function _interopDefault (ex) { return (ex && (typeof ex === 'object') && 'default' in ex) ? ex['default'] : ex; } - -var deprecation = require('deprecation'); -var once = _interopDefault(require('once')); - -const logOnceCode = once(deprecation => console.warn(deprecation)); -const logOnceHeaders = once(deprecation => console.warn(deprecation)); -/** - * Error with extra properties to help with debugging - */ - -class RequestError extends Error { - constructor(message, statusCode, options) { - super(message); // Maintains proper stack trace (only available on V8) - - /* istanbul ignore next */ - - if (Error.captureStackTrace) { - Error.captureStackTrace(this, this.constructor); - } - - this.name = "HttpError"; - this.status = statusCode; - let headers; - - if ("headers" in options && typeof options.headers !== "undefined") { - headers = options.headers; - } - - if ("response" in options) { - this.response = options.response; - headers = options.response.headers; - } // redact request credentials without mutating original request options - - - const requestCopy = Object.assign({}, options.request); - - if (options.request.headers.authorization) { - requestCopy.headers = Object.assign({}, options.request.headers, { - authorization: options.request.headers.authorization.replace(/ .*$/, " [REDACTED]") - }); - } - - requestCopy.url = requestCopy.url // client_id & client_secret can be passed as URL query parameters to increase rate limit - // see https://developer.github.com/v3/#increasing-the-unauthenticated-rate-limit-for-oauth-applications - .replace(/\bclient_secret=\w+/g, "client_secret=[REDACTED]") // OAuth tokens can be passed as URL query parameters, although it is not recommended - // see https://developer.github.com/v3/#oauth2-token-sent-in-a-header - .replace(/\baccess_token=\w+/g, "access_token=[REDACTED]"); - this.request = requestCopy; // deprecations - - Object.defineProperty(this, "code", { - get() { - logOnceCode(new deprecation.Deprecation("[@octokit/request-error] `error.code` is deprecated, use `error.status`.")); - return statusCode; - } - - }); - Object.defineProperty(this, "headers", { - get() { - logOnceHeaders(new deprecation.Deprecation("[@octokit/request-error] `error.headers` is deprecated, use `error.response.headers`.")); - return headers || {}; - } - - }); - } - -} - -exports.RequestError = RequestError; -//# sourceMappingURL=index.js.map diff --git a/node_modules/@octokit/request-error/dist-node/index.js.map b/node_modules/@octokit/request-error/dist-node/index.js.map deleted file mode 100644 index 9134ddb..0000000 --- a/node_modules/@octokit/request-error/dist-node/index.js.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"index.js","sources":["../dist-src/index.js"],"sourcesContent":["import { Deprecation } from \"deprecation\";\nimport once from \"once\";\nconst logOnceCode = once((deprecation) => console.warn(deprecation));\nconst logOnceHeaders = once((deprecation) => console.warn(deprecation));\n/**\n * Error with extra properties to help with debugging\n */\nexport class RequestError extends Error {\n constructor(message, statusCode, options) {\n super(message);\n // Maintains proper stack trace (only available on V8)\n /* istanbul ignore next */\n if (Error.captureStackTrace) {\n Error.captureStackTrace(this, this.constructor);\n }\n this.name = \"HttpError\";\n this.status = statusCode;\n let headers;\n if (\"headers\" in options && typeof options.headers !== \"undefined\") {\n headers = options.headers;\n }\n if (\"response\" in options) {\n this.response = options.response;\n headers = options.response.headers;\n }\n // redact request credentials without mutating original request options\n const requestCopy = Object.assign({}, options.request);\n if (options.request.headers.authorization) {\n requestCopy.headers = Object.assign({}, options.request.headers, {\n authorization: options.request.headers.authorization.replace(/ .*$/, \" [REDACTED]\"),\n });\n }\n requestCopy.url = requestCopy.url\n // client_id & client_secret can be passed as URL query parameters to increase rate limit\n // see https://developer.github.com/v3/#increasing-the-unauthenticated-rate-limit-for-oauth-applications\n .replace(/\\bclient_secret=\\w+/g, \"client_secret=[REDACTED]\")\n // OAuth tokens can be passed as URL query parameters, although it is not recommended\n // see https://developer.github.com/v3/#oauth2-token-sent-in-a-header\n .replace(/\\baccess_token=\\w+/g, \"access_token=[REDACTED]\");\n this.request = requestCopy;\n // deprecations\n Object.defineProperty(this, \"code\", {\n get() {\n logOnceCode(new Deprecation(\"[@octokit/request-error] `error.code` is deprecated, use `error.status`.\"));\n return statusCode;\n },\n });\n Object.defineProperty(this, \"headers\", {\n get() {\n logOnceHeaders(new Deprecation(\"[@octokit/request-error] `error.headers` is deprecated, use `error.response.headers`.\"));\n return headers || {};\n },\n });\n }\n}\n"],"names":["logOnceCode","once","deprecation","console","warn","logOnceHeaders","RequestError","Error","constructor","message","statusCode","options","captureStackTrace","name","status","headers","response","requestCopy","Object","assign","request","authorization","replace","url","defineProperty","get","Deprecation"],"mappings":";;;;;;;;;AAEA,MAAMA,WAAW,GAAGC,IAAI,CAAEC,WAAD,IAAiBC,OAAO,CAACC,IAAR,CAAaF,WAAb,CAAlB,CAAxB;AACA,MAAMG,cAAc,GAAGJ,IAAI,CAAEC,WAAD,IAAiBC,OAAO,CAACC,IAAR,CAAaF,WAAb,CAAlB,CAA3B;AACA;AACA;AACA;;AACO,MAAMI,YAAN,SAA2BC,KAA3B,CAAiC;AACpCC,EAAAA,WAAW,CAACC,OAAD,EAAUC,UAAV,EAAsBC,OAAtB,EAA+B;AACtC,UAAMF,OAAN,EADsC;;AAGtC;;AACA,QAAIF,KAAK,CAACK,iBAAV,EAA6B;AACzBL,MAAAA,KAAK,CAACK,iBAAN,CAAwB,IAAxB,EAA8B,KAAKJ,WAAnC;AACH;;AACD,SAAKK,IAAL,GAAY,WAAZ;AACA,SAAKC,MAAL,GAAcJ,UAAd;AACA,QAAIK,OAAJ;;AACA,QAAI,aAAaJ,OAAb,IAAwB,OAAOA,OAAO,CAACI,OAAf,KAA2B,WAAvD,EAAoE;AAChEA,MAAAA,OAAO,GAAGJ,OAAO,CAACI,OAAlB;AACH;;AACD,QAAI,cAAcJ,OAAlB,EAA2B;AACvB,WAAKK,QAAL,GAAgBL,OAAO,CAACK,QAAxB;AACAD,MAAAA,OAAO,GAAGJ,OAAO,CAACK,QAAR,CAAiBD,OAA3B;AACH,KAhBqC;;;AAkBtC,UAAME,WAAW,GAAGC,MAAM,CAACC,MAAP,CAAc,EAAd,EAAkBR,OAAO,CAACS,OAA1B,CAApB;;AACA,QAAIT,OAAO,CAACS,OAAR,CAAgBL,OAAhB,CAAwBM,aAA5B,EAA2C;AACvCJ,MAAAA,WAAW,CAACF,OAAZ,GAAsBG,MAAM,CAACC,MAAP,CAAc,EAAd,EAAkBR,OAAO,CAACS,OAAR,CAAgBL,OAAlC,EAA2C;AAC7DM,QAAAA,aAAa,EAAEV,OAAO,CAACS,OAAR,CAAgBL,OAAhB,CAAwBM,aAAxB,CAAsCC,OAAtC,CAA8C,MAA9C,EAAsD,aAAtD;AAD8C,OAA3C,CAAtB;AAGH;;AACDL,IAAAA,WAAW,CAACM,GAAZ,GAAkBN,WAAW,CAACM,GAAZ;AAEd;AAFc,KAGbD,OAHa,CAGL,sBAHK,EAGmB,0BAHnB;AAKd;AALc,KAMbA,OANa,CAML,qBANK,EAMkB,yBANlB,CAAlB;AAOA,SAAKF,OAAL,GAAeH,WAAf,CA/BsC;;AAiCtCC,IAAAA,MAAM,CAACM,cAAP,CAAsB,IAAtB,EAA4B,MAA5B,EAAoC;AAChCC,MAAAA,GAAG,GAAG;AACFzB,QAAAA,WAAW,CAAC,IAAI0B,uBAAJ,CAAgB,0EAAhB,CAAD,CAAX;AACA,eAAOhB,UAAP;AACH;;AAJ+B,KAApC;AAMAQ,IAAAA,MAAM,CAACM,cAAP,CAAsB,IAAtB,EAA4B,SAA5B,EAAuC;AACnCC,MAAAA,GAAG,GAAG;AACFpB,QAAAA,cAAc,CAAC,IAAIqB,uBAAJ,CAAgB,uFAAhB,CAAD,CAAd;AACA,eAAOX,OAAO,IAAI,EAAlB;AACH;;AAJkC,KAAvC;AAMH;;AA9CmC;;;;"} \ No newline at end of file diff --git a/node_modules/@octokit/request-error/dist-src/index.js b/node_modules/@octokit/request-error/dist-src/index.js deleted file mode 100644 index 5eb1927..0000000 --- a/node_modules/@octokit/request-error/dist-src/index.js +++ /dev/null @@ -1,55 +0,0 @@ -import { Deprecation } from "deprecation"; -import once from "once"; -const logOnceCode = once((deprecation) => console.warn(deprecation)); -const logOnceHeaders = once((deprecation) => console.warn(deprecation)); -/** - * Error with extra properties to help with debugging - */ -export class RequestError extends Error { - constructor(message, statusCode, options) { - super(message); - // Maintains proper stack trace (only available on V8) - /* istanbul ignore next */ - if (Error.captureStackTrace) { - Error.captureStackTrace(this, this.constructor); - } - this.name = "HttpError"; - this.status = statusCode; - let headers; - if ("headers" in options && typeof options.headers !== "undefined") { - headers = options.headers; - } - if ("response" in options) { - this.response = options.response; - headers = options.response.headers; - } - // redact request credentials without mutating original request options - const requestCopy = Object.assign({}, options.request); - if (options.request.headers.authorization) { - requestCopy.headers = Object.assign({}, options.request.headers, { - authorization: options.request.headers.authorization.replace(/ .*$/, " [REDACTED]"), - }); - } - requestCopy.url = requestCopy.url - // client_id & client_secret can be passed as URL query parameters to increase rate limit - // see https://developer.github.com/v3/#increasing-the-unauthenticated-rate-limit-for-oauth-applications - .replace(/\bclient_secret=\w+/g, "client_secret=[REDACTED]") - // OAuth tokens can be passed as URL query parameters, although it is not recommended - // see https://developer.github.com/v3/#oauth2-token-sent-in-a-header - .replace(/\baccess_token=\w+/g, "access_token=[REDACTED]"); - this.request = requestCopy; - // deprecations - Object.defineProperty(this, "code", { - get() { - logOnceCode(new Deprecation("[@octokit/request-error] `error.code` is deprecated, use `error.status`.")); - return statusCode; - }, - }); - Object.defineProperty(this, "headers", { - get() { - logOnceHeaders(new Deprecation("[@octokit/request-error] `error.headers` is deprecated, use `error.response.headers`.")); - return headers || {}; - }, - }); - } -} diff --git a/node_modules/@octokit/request-error/dist-src/types.js b/node_modules/@octokit/request-error/dist-src/types.js deleted file mode 100644 index cb0ff5c..0000000 --- a/node_modules/@octokit/request-error/dist-src/types.js +++ /dev/null @@ -1 +0,0 @@ -export {}; diff --git a/node_modules/@octokit/request-error/dist-types/index.d.ts b/node_modules/@octokit/request-error/dist-types/index.d.ts deleted file mode 100644 index d6e089c..0000000 --- a/node_modules/@octokit/request-error/dist-types/index.d.ts +++ /dev/null @@ -1,33 +0,0 @@ -import { RequestOptions, ResponseHeaders, OctokitResponse } from "@octokit/types"; -import { RequestErrorOptions } from "./types"; -/** - * Error with extra properties to help with debugging - */ -export declare class RequestError extends Error { - name: "HttpError"; - /** - * http status code - */ - status: number; - /** - * http status code - * - * @deprecated `error.code` is deprecated in favor of `error.status` - */ - code: number; - /** - * Request options that lead to the error. - */ - request: RequestOptions; - /** - * error response headers - * - * @deprecated `error.headers` is deprecated in favor of `error.response.headers` - */ - headers: ResponseHeaders; - /** - * Response object if a response was received - */ - response?: OctokitResponse; - constructor(message: string, statusCode: number, options: RequestErrorOptions); -} diff --git a/node_modules/@octokit/request-error/dist-types/types.d.ts b/node_modules/@octokit/request-error/dist-types/types.d.ts deleted file mode 100644 index 7785231..0000000 --- a/node_modules/@octokit/request-error/dist-types/types.d.ts +++ /dev/null @@ -1,9 +0,0 @@ -import { RequestOptions, ResponseHeaders, OctokitResponse } from "@octokit/types"; -export declare type RequestErrorOptions = { - /** @deprecated set `response` instead */ - headers?: ResponseHeaders; - request: RequestOptions; -} | { - response: OctokitResponse; - request: RequestOptions; -}; diff --git a/node_modules/@octokit/request-error/dist-web/index.js b/node_modules/@octokit/request-error/dist-web/index.js deleted file mode 100644 index 0fb64be..0000000 --- a/node_modules/@octokit/request-error/dist-web/index.js +++ /dev/null @@ -1,59 +0,0 @@ -import { Deprecation } from 'deprecation'; -import once from 'once'; - -const logOnceCode = once((deprecation) => console.warn(deprecation)); -const logOnceHeaders = once((deprecation) => console.warn(deprecation)); -/** - * Error with extra properties to help with debugging - */ -class RequestError extends Error { - constructor(message, statusCode, options) { - super(message); - // Maintains proper stack trace (only available on V8) - /* istanbul ignore next */ - if (Error.captureStackTrace) { - Error.captureStackTrace(this, this.constructor); - } - this.name = "HttpError"; - this.status = statusCode; - let headers; - if ("headers" in options && typeof options.headers !== "undefined") { - headers = options.headers; - } - if ("response" in options) { - this.response = options.response; - headers = options.response.headers; - } - // redact request credentials without mutating original request options - const requestCopy = Object.assign({}, options.request); - if (options.request.headers.authorization) { - requestCopy.headers = Object.assign({}, options.request.headers, { - authorization: options.request.headers.authorization.replace(/ .*$/, " [REDACTED]"), - }); - } - requestCopy.url = requestCopy.url - // client_id & client_secret can be passed as URL query parameters to increase rate limit - // see https://developer.github.com/v3/#increasing-the-unauthenticated-rate-limit-for-oauth-applications - .replace(/\bclient_secret=\w+/g, "client_secret=[REDACTED]") - // OAuth tokens can be passed as URL query parameters, although it is not recommended - // see https://developer.github.com/v3/#oauth2-token-sent-in-a-header - .replace(/\baccess_token=\w+/g, "access_token=[REDACTED]"); - this.request = requestCopy; - // deprecations - Object.defineProperty(this, "code", { - get() { - logOnceCode(new Deprecation("[@octokit/request-error] `error.code` is deprecated, use `error.status`.")); - return statusCode; - }, - }); - Object.defineProperty(this, "headers", { - get() { - logOnceHeaders(new Deprecation("[@octokit/request-error] `error.headers` is deprecated, use `error.response.headers`.")); - return headers || {}; - }, - }); - } -} - -export { RequestError }; -//# sourceMappingURL=index.js.map diff --git a/node_modules/@octokit/request-error/dist-web/index.js.map b/node_modules/@octokit/request-error/dist-web/index.js.map deleted file mode 100644 index 78f677f..0000000 --- a/node_modules/@octokit/request-error/dist-web/index.js.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"index.js","sources":["../dist-src/index.js"],"sourcesContent":["import { Deprecation } from \"deprecation\";\nimport once from \"once\";\nconst logOnceCode = once((deprecation) => console.warn(deprecation));\nconst logOnceHeaders = once((deprecation) => console.warn(deprecation));\n/**\n * Error with extra properties to help with debugging\n */\nexport class RequestError extends Error {\n constructor(message, statusCode, options) {\n super(message);\n // Maintains proper stack trace (only available on V8)\n /* istanbul ignore next */\n if (Error.captureStackTrace) {\n Error.captureStackTrace(this, this.constructor);\n }\n this.name = \"HttpError\";\n this.status = statusCode;\n let headers;\n if (\"headers\" in options && typeof options.headers !== \"undefined\") {\n headers = options.headers;\n }\n if (\"response\" in options) {\n this.response = options.response;\n headers = options.response.headers;\n }\n // redact request credentials without mutating original request options\n const requestCopy = Object.assign({}, options.request);\n if (options.request.headers.authorization) {\n requestCopy.headers = Object.assign({}, options.request.headers, {\n authorization: options.request.headers.authorization.replace(/ .*$/, \" [REDACTED]\"),\n });\n }\n requestCopy.url = requestCopy.url\n // client_id & client_secret can be passed as URL query parameters to increase rate limit\n // see https://developer.github.com/v3/#increasing-the-unauthenticated-rate-limit-for-oauth-applications\n .replace(/\\bclient_secret=\\w+/g, \"client_secret=[REDACTED]\")\n // OAuth tokens can be passed as URL query parameters, although it is not recommended\n // see https://developer.github.com/v3/#oauth2-token-sent-in-a-header\n .replace(/\\baccess_token=\\w+/g, \"access_token=[REDACTED]\");\n this.request = requestCopy;\n // deprecations\n Object.defineProperty(this, \"code\", {\n get() {\n logOnceCode(new Deprecation(\"[@octokit/request-error] `error.code` is deprecated, use `error.status`.\"));\n return statusCode;\n },\n });\n Object.defineProperty(this, \"headers\", {\n get() {\n logOnceHeaders(new Deprecation(\"[@octokit/request-error] `error.headers` is deprecated, use `error.response.headers`.\"));\n return headers || {};\n },\n });\n }\n}\n"],"names":[],"mappings":";;;AAEA,MAAM,WAAW,GAAG,IAAI,CAAC,CAAC,WAAW,KAAK,OAAO,CAAC,IAAI,CAAC,WAAW,CAAC,CAAC,CAAC;AACrE,MAAM,cAAc,GAAG,IAAI,CAAC,CAAC,WAAW,KAAK,OAAO,CAAC,IAAI,CAAC,WAAW,CAAC,CAAC,CAAC;AACxE;AACA;AACA;AACO,MAAM,YAAY,SAAS,KAAK,CAAC;AACxC,IAAI,WAAW,CAAC,OAAO,EAAE,UAAU,EAAE,OAAO,EAAE;AAC9C,QAAQ,KAAK,CAAC,OAAO,CAAC,CAAC;AACvB;AACA;AACA,QAAQ,IAAI,KAAK,CAAC,iBAAiB,EAAE;AACrC,YAAY,KAAK,CAAC,iBAAiB,CAAC,IAAI,EAAE,IAAI,CAAC,WAAW,CAAC,CAAC;AAC5D,SAAS;AACT,QAAQ,IAAI,CAAC,IAAI,GAAG,WAAW,CAAC;AAChC,QAAQ,IAAI,CAAC,MAAM,GAAG,UAAU,CAAC;AACjC,QAAQ,IAAI,OAAO,CAAC;AACpB,QAAQ,IAAI,SAAS,IAAI,OAAO,IAAI,OAAO,OAAO,CAAC,OAAO,KAAK,WAAW,EAAE;AAC5E,YAAY,OAAO,GAAG,OAAO,CAAC,OAAO,CAAC;AACtC,SAAS;AACT,QAAQ,IAAI,UAAU,IAAI,OAAO,EAAE;AACnC,YAAY,IAAI,CAAC,QAAQ,GAAG,OAAO,CAAC,QAAQ,CAAC;AAC7C,YAAY,OAAO,GAAG,OAAO,CAAC,QAAQ,CAAC,OAAO,CAAC;AAC/C,SAAS;AACT;AACA,QAAQ,MAAM,WAAW,GAAG,MAAM,CAAC,MAAM,CAAC,EAAE,EAAE,OAAO,CAAC,OAAO,CAAC,CAAC;AAC/D,QAAQ,IAAI,OAAO,CAAC,OAAO,CAAC,OAAO,CAAC,aAAa,EAAE;AACnD,YAAY,WAAW,CAAC,OAAO,GAAG,MAAM,CAAC,MAAM,CAAC,EAAE,EAAE,OAAO,CAAC,OAAO,CAAC,OAAO,EAAE;AAC7E,gBAAgB,aAAa,EAAE,OAAO,CAAC,OAAO,CAAC,OAAO,CAAC,aAAa,CAAC,OAAO,CAAC,MAAM,EAAE,aAAa,CAAC;AACnG,aAAa,CAAC,CAAC;AACf,SAAS;AACT,QAAQ,WAAW,CAAC,GAAG,GAAG,WAAW,CAAC,GAAG;AACzC;AACA;AACA,aAAa,OAAO,CAAC,sBAAsB,EAAE,0BAA0B,CAAC;AACxE;AACA;AACA,aAAa,OAAO,CAAC,qBAAqB,EAAE,yBAAyB,CAAC,CAAC;AACvE,QAAQ,IAAI,CAAC,OAAO,GAAG,WAAW,CAAC;AACnC;AACA,QAAQ,MAAM,CAAC,cAAc,CAAC,IAAI,EAAE,MAAM,EAAE;AAC5C,YAAY,GAAG,GAAG;AAClB,gBAAgB,WAAW,CAAC,IAAI,WAAW,CAAC,0EAA0E,CAAC,CAAC,CAAC;AACzH,gBAAgB,OAAO,UAAU,CAAC;AAClC,aAAa;AACb,SAAS,CAAC,CAAC;AACX,QAAQ,MAAM,CAAC,cAAc,CAAC,IAAI,EAAE,SAAS,EAAE;AAC/C,YAAY,GAAG,GAAG;AAClB,gBAAgB,cAAc,CAAC,IAAI,WAAW,CAAC,uFAAuF,CAAC,CAAC,CAAC;AACzI,gBAAgB,OAAO,OAAO,IAAI,EAAE,CAAC;AACrC,aAAa;AACb,SAAS,CAAC,CAAC;AACX,KAAK;AACL;;;;"} \ No newline at end of file diff --git a/node_modules/@octokit/request-error/package.json b/node_modules/@octokit/request-error/package.json deleted file mode 100644 index 2f5b239..0000000 --- a/node_modules/@octokit/request-error/package.json +++ /dev/null @@ -1,47 +0,0 @@ -{ - "name": "@octokit/request-error", - "description": "Error class for Octokit request errors", - "version": "2.1.0", - "license": "MIT", - "files": [ - "dist-*/", - "bin/" - ], - "pika": true, - "sideEffects": false, - "keywords": [ - "octokit", - "github", - "api", - "error" - ], - "repository": "github:octokit/request-error.js", - "dependencies": { - "@octokit/types": "^6.0.3", - "deprecation": "^2.0.0", - "once": "^1.4.0" - }, - "devDependencies": { - "@pika/pack": "^0.5.0", - "@pika/plugin-build-node": "^0.9.0", - "@pika/plugin-build-web": "^0.9.0", - "@pika/plugin-bundle-web": "^0.9.0", - "@pika/plugin-ts-standard-pkg": "^0.9.0", - "@types/jest": "^26.0.0", - "@types/node": "^14.0.4", - "@types/once": "^1.4.0", - "jest": "^27.0.0", - "pika-plugin-unpkg-field": "^1.1.0", - "prettier": "2.3.1", - "semantic-release": "^17.0.0", - "ts-jest": "^27.0.0-next.12", - "typescript": "^4.0.0" - }, - "publishConfig": { - "access": "public" - }, - "source": "dist-src/index.js", - "types": "dist-types/index.d.ts", - "main": "dist-node/index.js", - "module": "dist-web/index.js" -} diff --git a/node_modules/@octokit/request/LICENSE b/node_modules/@octokit/request/LICENSE deleted file mode 100644 index af5366d..0000000 --- a/node_modules/@octokit/request/LICENSE +++ /dev/null @@ -1,21 +0,0 @@ -The MIT License - -Copyright (c) 2018 Octokit 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/@octokit/request/README.md b/node_modules/@octokit/request/README.md deleted file mode 100644 index e948797..0000000 --- a/node_modules/@octokit/request/README.md +++ /dev/null @@ -1,551 +0,0 @@ -# request.js - -> Send parameterized requests to GitHub’s APIs with sensible defaults in browsers and Node - -[![@latest](https://img.shields.io/npm/v/@octokit/request.svg)](https://www.npmjs.com/package/@octokit/request) -[![Build Status](https://github.com/octokit/request.js/workflows/Test/badge.svg)](https://github.com/octokit/request.js/actions?query=workflow%3ATest+branch%3Amaster) - -`@octokit/request` is a request library for browsers & node that makes it easier -to interact with [GitHub’s REST API](https://developer.github.com/v3/) and -[GitHub’s GraphQL API](https://developer.github.com/v4/guides/forming-calls/#the-graphql-endpoint). - -It uses [`@octokit/endpoint`](https://github.com/octokit/endpoint.js) to parse -the passed options and sends the request using [fetch](https://developer.mozilla.org/en-US/docs/Web/API/Fetch_API) -([node-fetch](https://github.com/bitinn/node-fetch) in Node). - - - - - -- [Features](#features) -- [Usage](#usage) - - [REST API example](#rest-api-example) - - [GraphQL example](#graphql-example) - - [Alternative: pass `method` & `url` as part of options](#alternative-pass-method--url-as-part-of-options) -- [Authentication](#authentication) -- [request()](#request) -- [`request.defaults()`](#requestdefaults) -- [`request.endpoint`](#requestendpoint) -- [Special cases](#special-cases) - - [The `data` parameter – set request body directly](#the-data-parameter-%E2%80%93-set-request-body-directly) - - [Set parameters for both the URL/query and the request body](#set-parameters-for-both-the-urlquery-and-the-request-body) -- [LICENSE](#license) - - - -## Features - -🤩 1:1 mapping of REST API endpoint documentation, e.g. [Add labels to an issue](https://developer.github.com/v3/issues/labels/#add-labels-to-an-issue) becomes - -```js -request("POST /repos/{owner}/{repo}/issues/{number}/labels", { - mediaType: { - previews: ["symmetra"], - }, - owner: "octokit", - repo: "request.js", - number: 1, - labels: ["🐛 bug"], -}); -``` - -👶 [Small bundle size](https://bundlephobia.com/result?p=@octokit/request@5.0.3) (\<4kb minified + gzipped) - -😎 [Authenticate](#authentication) with any of [GitHubs Authentication Strategies](https://github.com/octokit/auth.js). - -👍 Sensible defaults - -- `baseUrl`: `https://api.github.com` -- `headers.accept`: `application/vnd.github.v3+json` -- `headers.agent`: `octokit-request.js/ `, e.g. `octokit-request.js/1.2.3 Node.js/10.15.0 (macOS Mojave; x64)` - -👌 Simple to test: mock requests by passing a custom fetch method. - -🧐 Simple to debug: Sets `error.request` to request options causing the error (with redacted credentials). - -## Usage - - - - - - -
-Browsers - -Load @octokit/request directly from cdn.skypack.dev - -```html - -``` - -
-Node - - -Install with npm install @octokit/request - -```js -const { request } = require("@octokit/request"); -// or: import { request } from "@octokit/request"; -``` - -
- -### REST API example - -```js -// Following GitHub docs formatting: -// https://developer.github.com/v3/repos/#list-organization-repositories -const result = await request("GET /orgs/{org}/repos", { - headers: { - authorization: "token 0000000000000000000000000000000000000001", - }, - org: "octokit", - type: "private", -}); - -console.log(`${result.data.length} repos found.`); -``` - -### GraphQL example - -For GraphQL request we recommend using [`@octokit/graphql`](https://github.com/octokit/graphql.js#readme) - -```js -const result = await request("POST /graphql", { - headers: { - authorization: "token 0000000000000000000000000000000000000001", - }, - query: `query ($login: String!) { - organization(login: $login) { - repositories(privacy: PRIVATE) { - totalCount - } - } - }`, - variables: { - login: "octokit", - }, -}); -``` - -### Alternative: pass `method` & `url` as part of options - -Alternatively, pass in a method and a url - -```js -const result = await request({ - method: "GET", - url: "/orgs/{org}/repos", - headers: { - authorization: "token 0000000000000000000000000000000000000001", - }, - org: "octokit", - type: "private", -}); -``` - -## Authentication - -The simplest way to authenticate a request is to set the `Authorization` header directly, e.g. to a [personal access token](https://github.com/settings/tokens/). - -```js -const requestWithAuth = request.defaults({ - headers: { - authorization: "token 0000000000000000000000000000000000000001", - }, -}); -const result = await requestWithAuth("GET /user"); -``` - -For more complex authentication strategies such as GitHub Apps or Basic, we recommend the according authentication library exported by [`@octokit/auth`](https://github.com/octokit/auth.js). - -```js -const { createAppAuth } = require("@octokit/auth-app"); -const auth = createAppAuth({ - appId: process.env.APP_ID, - privateKey: process.env.PRIVATE_KEY, - installationId: 123, -}); -const requestWithAuth = request.defaults({ - request: { - hook: auth.hook, - }, - mediaType: { - previews: ["machine-man"], - }, -}); - -const { data: app } = await requestWithAuth("GET /app"); -const { data: app } = await requestWithAuth( - "POST /repos/{owner}/{repo}/issues", - { - owner: "octocat", - repo: "hello-world", - title: "Hello from the engine room", - } -); -``` - -## request() - -`request(route, options)` or `request(options)`. - -**Options** - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- name - - type - - description -
- route - - String - - If route is set it has to be a string consisting of the request method and URL, e.g. GET /orgs/{org} -
- options.baseUrl - - String - - Required. Any supported http verb, case insensitive. Defaults to https://api.github.com. -
- options.headers - - Object - - Custom headers. Passed headers are merged with defaults:
- headers['user-agent'] defaults to octokit-rest.js/1.2.3 (where 1.2.3 is the released version).
- headers['accept'] defaults to application/vnd.github.v3+json.
Use options.mediaType.{format,previews} to request API previews and custom media types. -
- options.mediaType.format - - String - - Media type param, such as `raw`, `html`, or `full`. See Media Types. -
- options.mediaType.previews - - Array of strings - - Name of previews, such as `mercy`, `symmetra`, or `scarlet-witch`. See API Previews. -
- options.method - - String - - Required. Any supported http verb, case insensitive. Defaults to Get. -
- options.url - - String - - Required. A path or full URL which may contain :variable or {variable} placeholders, - e.g. /orgs/{org}/repos. The url is parsed using url-template. -
- options.data - - Any - - Set request body directly instead of setting it to JSON based on additional parameters. See "The `data` parameter" below. -
- options.request.agent - - http(s).Agent instance - - Node only. Useful for custom proxy, certificate, or dns lookup. -
- options.request.fetch - - Function - - Custom replacement for built-in fetch method. Useful for testing or request hooks. -
- options.request.hook - - Function - - Function with the signature hook(request, endpointOptions), where endpointOptions are the parsed options as returned by endpoint.merge(), and request is request(). This option works great in conjuction with before-after-hook. -
- options.request.signal - - new AbortController().signal - - Use an AbortController instance to cancel a request. In node you can only cancel streamed requests. -
- options.request.log - - object - - Used for internal logging. Defaults to console. -
- options.request.timeout - - Number - - Node only. Request/response timeout in ms, it resets on redirect. 0 to disable (OS limit applies). options.request.signal is recommended instead. -
- -All other options except `options.request.*` will be passed depending on the `method` and `url` options. - -1. If the option key is a placeholder in the `url`, it will be used as replacement. For example, if the passed options are `{url: '/orgs/{org}/repos', org: 'foo'}` the returned `options.url` is `https://api.github.com/orgs/foo/repos` -2. If the `method` is `GET` or `HEAD`, the option is passed as query parameter -3. Otherwise the parameter is passed in the request body as JSON key. - -**Result** - -`request` returns a promise and resolves with 4 keys - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- key - - type - - description -
statusIntegerResponse status status
urlStringURL of response. If a request results in redirects, this is the final URL. You can send a HEAD request to retrieve it without loading the full response body.
headersObjectAll response headers
dataAnyThe response body as returned from server. If the response is JSON then it will be parsed into an object
- -If an error occurs, the `error` instance has additional properties to help with debugging - -- `error.status` The http response status code -- `error.request` The request options such as `method`, `url` and `data` -- `error.response` The http response object with `url`, `headers`, and `data` - -## `request.defaults()` - -Override or set default options. Example: - -```js -const myrequest = require("@octokit/request").defaults({ - baseUrl: "https://github-enterprise.acme-inc.com/api/v3", - headers: { - "user-agent": "myApp/1.2.3", - authorization: `token 0000000000000000000000000000000000000001`, - }, - org: "my-project", - per_page: 100, -}); - -myrequest(`GET /orgs/{org}/repos`); -``` - -You can call `.defaults()` again on the returned method, the defaults will cascade. - -```js -const myProjectRequest = request.defaults({ - baseUrl: "https://github-enterprise.acme-inc.com/api/v3", - headers: { - "user-agent": "myApp/1.2.3", - }, - org: "my-project", -}); -const myProjectRequestWithAuth = myProjectRequest.defaults({ - headers: { - authorization: `token 0000000000000000000000000000000000000001`, - }, -}); -``` - -`myProjectRequest` now defaults the `baseUrl`, `headers['user-agent']`, -`org` and `headers['authorization']` on top of `headers['accept']` that is set -by the global default. - -## `request.endpoint` - -See https://github.com/octokit/endpoint.js. Example - -```js -const options = request.endpoint("GET /orgs/{org}/repos", { - org: "my-project", - type: "private", -}); - -// { -// method: 'GET', -// url: 'https://api.github.com/orgs/my-project/repos?type=private', -// headers: { -// accept: 'application/vnd.github.v3+json', -// authorization: 'token 0000000000000000000000000000000000000001', -// 'user-agent': 'octokit/endpoint.js v1.2.3' -// } -// } -``` - -All of the [`@octokit/endpoint`](https://github.com/octokit/endpoint.js) API can be used: - -- [`octokitRequest.endpoint()`](#endpoint) -- [`octokitRequest.endpoint.defaults()`](#endpointdefaults) -- [`octokitRequest.endpoint.merge()`](#endpointdefaults) -- [`octokitRequest.endpoint.parse()`](#endpointmerge) - -## Special cases - - - -### The `data` parameter – set request body directly - -Some endpoints such as [Render a Markdown document in raw mode](https://developer.github.com/v3/markdown/#render-a-markdown-document-in-raw-mode) don’t have parameters that are sent as request body keys, instead the request body needs to be set directly. In these cases, set the `data` parameter. - -```js -const response = await request("POST /markdown/raw", { - data: "Hello world github/linguist#1 **cool**, and #1!", - headers: { - accept: "text/html;charset=utf-8", - "content-type": "text/plain", - }, -}); - -// Request is sent as -// -// { -// method: 'post', -// url: 'https://api.github.com/markdown/raw', -// headers: { -// accept: 'text/html;charset=utf-8', -// 'content-type': 'text/plain', -// 'user-agent': userAgent -// }, -// body: 'Hello world github/linguist#1 **cool**, and #1!' -// } -// -// not as -// -// { -// ... -// body: '{"data": "Hello world github/linguist#1 **cool**, and #1!"}' -// } -``` - -### Set parameters for both the URL/query and the request body - -There are API endpoints that accept both query parameters as well as a body. In that case you need to add the query parameters as templates to `options.url`, as defined in the [RFC 6570 URI Template specification](https://tools.ietf.org/html/rfc6570). - -Example - -```js -request( - "POST https://uploads.github.com/repos/octocat/Hello-World/releases/1/assets{?name,label}", - { - name: "example.zip", - label: "short description", - headers: { - "content-type": "text/plain", - "content-length": 14, - authorization: `token 0000000000000000000000000000000000000001`, - }, - data: "Hello, world!", - } -); -``` - -## LICENSE - -[MIT](LICENSE) diff --git a/node_modules/@octokit/request/dist-node/index.js b/node_modules/@octokit/request/dist-node/index.js deleted file mode 100644 index e3a812e..0000000 --- a/node_modules/@octokit/request/dist-node/index.js +++ /dev/null @@ -1,177 +0,0 @@ -'use strict'; - -Object.defineProperty(exports, '__esModule', { value: true }); - -function _interopDefault (ex) { return (ex && (typeof ex === 'object') && 'default' in ex) ? ex['default'] : ex; } - -var endpoint = require('@octokit/endpoint'); -var universalUserAgent = require('universal-user-agent'); -var isPlainObject = require('is-plain-object'); -var nodeFetch = _interopDefault(require('node-fetch')); -var requestError = require('@octokit/request-error'); - -const VERSION = "5.6.0"; - -function getBufferResponse(response) { - return response.arrayBuffer(); -} - -function fetchWrapper(requestOptions) { - const log = requestOptions.request && requestOptions.request.log ? requestOptions.request.log : console; - - if (isPlainObject.isPlainObject(requestOptions.body) || Array.isArray(requestOptions.body)) { - requestOptions.body = JSON.stringify(requestOptions.body); - } - - let headers = {}; - let status; - let url; - const fetch = requestOptions.request && requestOptions.request.fetch || nodeFetch; - return fetch(requestOptions.url, Object.assign({ - method: requestOptions.method, - body: requestOptions.body, - headers: requestOptions.headers, - redirect: requestOptions.redirect - }, // `requestOptions.request.agent` type is incompatible - // see https://github.com/octokit/types.ts/pull/264 - requestOptions.request)).then(async response => { - url = response.url; - status = response.status; - - for (const keyAndValue of response.headers) { - headers[keyAndValue[0]] = keyAndValue[1]; - } - - if ("deprecation" in headers) { - const matches = headers.link && headers.link.match(/<([^>]+)>; rel="deprecation"/); - const deprecationLink = matches && matches.pop(); - log.warn(`[@octokit/request] "${requestOptions.method} ${requestOptions.url}" is deprecated. It is scheduled to be removed on ${headers.sunset}${deprecationLink ? `. See ${deprecationLink}` : ""}`); - } - - if (status === 204 || status === 205) { - return; - } // GitHub API returns 200 for HEAD requests - - - if (requestOptions.method === "HEAD") { - if (status < 400) { - return; - } - - throw new requestError.RequestError(response.statusText, status, { - response: { - url, - status, - headers, - data: undefined - }, - request: requestOptions - }); - } - - if (status === 304) { - throw new requestError.RequestError("Not modified", status, { - response: { - url, - status, - headers, - data: await getResponseData(response) - }, - request: requestOptions - }); - } - - if (status >= 400) { - const data = await getResponseData(response); - const error = new requestError.RequestError(toErrorMessage(data), status, { - response: { - url, - status, - headers, - data - }, - request: requestOptions - }); - throw error; - } - - return getResponseData(response); - }).then(data => { - return { - status, - url, - headers, - data - }; - }).catch(error => { - if (error instanceof requestError.RequestError) throw error; - throw new requestError.RequestError(error.message, 500, { - request: requestOptions - }); - }); -} - -async function getResponseData(response) { - const contentType = response.headers.get("content-type"); - - if (/application\/json/.test(contentType)) { - return response.json(); - } - - if (!contentType || /^text\/|charset=utf-8$/.test(contentType)) { - return response.text(); - } - - return getBufferResponse(response); -} - -function toErrorMessage(data) { - if (typeof data === "string") return data; // istanbul ignore else - just in case - - if ("message" in data) { - if (Array.isArray(data.errors)) { - return `${data.message}: ${data.errors.map(JSON.stringify).join(", ")}`; - } - - return data.message; - } // istanbul ignore next - just in case - - - return `Unknown error: ${JSON.stringify(data)}`; -} - -function withDefaults(oldEndpoint, newDefaults) { - const endpoint = oldEndpoint.defaults(newDefaults); - - const newApi = function (route, parameters) { - const endpointOptions = endpoint.merge(route, parameters); - - if (!endpointOptions.request || !endpointOptions.request.hook) { - return fetchWrapper(endpoint.parse(endpointOptions)); - } - - const request = (route, parameters) => { - return fetchWrapper(endpoint.parse(endpoint.merge(route, parameters))); - }; - - Object.assign(request, { - endpoint, - defaults: withDefaults.bind(null, endpoint) - }); - return endpointOptions.request.hook(request, endpointOptions); - }; - - return Object.assign(newApi, { - endpoint, - defaults: withDefaults.bind(null, endpoint) - }); -} - -const request = withDefaults(endpoint.endpoint, { - headers: { - "user-agent": `octokit-request.js/${VERSION} ${universalUserAgent.getUserAgent()}` - } -}); - -exports.request = request; -//# sourceMappingURL=index.js.map diff --git a/node_modules/@octokit/request/dist-node/index.js.map b/node_modules/@octokit/request/dist-node/index.js.map deleted file mode 100644 index 6955ce7..0000000 --- a/node_modules/@octokit/request/dist-node/index.js.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"index.js","sources":["../dist-src/version.js","../dist-src/get-buffer-response.js","../dist-src/fetch-wrapper.js","../dist-src/with-defaults.js","../dist-src/index.js"],"sourcesContent":["export const VERSION = \"5.6.0\";\n","export default function getBufferResponse(response) {\n return response.arrayBuffer();\n}\n","import { isPlainObject } from \"is-plain-object\";\nimport nodeFetch from \"node-fetch\";\nimport { RequestError } from \"@octokit/request-error\";\nimport getBuffer from \"./get-buffer-response\";\nexport default function fetchWrapper(requestOptions) {\n const log = requestOptions.request && requestOptions.request.log\n ? requestOptions.request.log\n : console;\n if (isPlainObject(requestOptions.body) ||\n Array.isArray(requestOptions.body)) {\n requestOptions.body = JSON.stringify(requestOptions.body);\n }\n let headers = {};\n let status;\n let url;\n const fetch = (requestOptions.request && requestOptions.request.fetch) || nodeFetch;\n return fetch(requestOptions.url, Object.assign({\n method: requestOptions.method,\n body: requestOptions.body,\n headers: requestOptions.headers,\n redirect: requestOptions.redirect,\n }, \n // `requestOptions.request.agent` type is incompatible\n // see https://github.com/octokit/types.ts/pull/264\n requestOptions.request))\n .then(async (response) => {\n url = response.url;\n status = response.status;\n for (const keyAndValue of response.headers) {\n headers[keyAndValue[0]] = keyAndValue[1];\n }\n if (\"deprecation\" in headers) {\n const matches = headers.link && headers.link.match(/<([^>]+)>; rel=\"deprecation\"/);\n const deprecationLink = matches && matches.pop();\n log.warn(`[@octokit/request] \"${requestOptions.method} ${requestOptions.url}\" is deprecated. It is scheduled to be removed on ${headers.sunset}${deprecationLink ? `. See ${deprecationLink}` : \"\"}`);\n }\n if (status === 204 || status === 205) {\n return;\n }\n // GitHub API returns 200 for HEAD requests\n if (requestOptions.method === \"HEAD\") {\n if (status < 400) {\n return;\n }\n throw new RequestError(response.statusText, status, {\n response: {\n url,\n status,\n headers,\n data: undefined,\n },\n request: requestOptions,\n });\n }\n if (status === 304) {\n throw new RequestError(\"Not modified\", status, {\n response: {\n url,\n status,\n headers,\n data: await getResponseData(response),\n },\n request: requestOptions,\n });\n }\n if (status >= 400) {\n const data = await getResponseData(response);\n const error = new RequestError(toErrorMessage(data), status, {\n response: {\n url,\n status,\n headers,\n data,\n },\n request: requestOptions,\n });\n throw error;\n }\n return getResponseData(response);\n })\n .then((data) => {\n return {\n status,\n url,\n headers,\n data,\n };\n })\n .catch((error) => {\n if (error instanceof RequestError)\n throw error;\n throw new RequestError(error.message, 500, {\n request: requestOptions,\n });\n });\n}\nasync function getResponseData(response) {\n const contentType = response.headers.get(\"content-type\");\n if (/application\\/json/.test(contentType)) {\n return response.json();\n }\n if (!contentType || /^text\\/|charset=utf-8$/.test(contentType)) {\n return response.text();\n }\n return getBuffer(response);\n}\nfunction toErrorMessage(data) {\n if (typeof data === \"string\")\n return data;\n // istanbul ignore else - just in case\n if (\"message\" in data) {\n if (Array.isArray(data.errors)) {\n return `${data.message}: ${data.errors.map(JSON.stringify).join(\", \")}`;\n }\n return data.message;\n }\n // istanbul ignore next - just in case\n return `Unknown error: ${JSON.stringify(data)}`;\n}\n","import fetchWrapper from \"./fetch-wrapper\";\nexport default function withDefaults(oldEndpoint, newDefaults) {\n const endpoint = oldEndpoint.defaults(newDefaults);\n const newApi = function (route, parameters) {\n const endpointOptions = endpoint.merge(route, parameters);\n if (!endpointOptions.request || !endpointOptions.request.hook) {\n return fetchWrapper(endpoint.parse(endpointOptions));\n }\n const request = (route, parameters) => {\n return fetchWrapper(endpoint.parse(endpoint.merge(route, parameters)));\n };\n Object.assign(request, {\n endpoint,\n defaults: withDefaults.bind(null, endpoint),\n });\n return endpointOptions.request.hook(request, endpointOptions);\n };\n return Object.assign(newApi, {\n endpoint,\n defaults: withDefaults.bind(null, endpoint),\n });\n}\n","import { endpoint } from \"@octokit/endpoint\";\nimport { getUserAgent } from \"universal-user-agent\";\nimport { VERSION } from \"./version\";\nimport withDefaults from \"./with-defaults\";\nexport const request = withDefaults(endpoint, {\n headers: {\n \"user-agent\": `octokit-request.js/${VERSION} ${getUserAgent()}`,\n },\n});\n"],"names":["VERSION","getBufferResponse","response","arrayBuffer","fetchWrapper","requestOptions","log","request","console","isPlainObject","body","Array","isArray","JSON","stringify","headers","status","url","fetch","nodeFetch","Object","assign","method","redirect","then","keyAndValue","matches","link","match","deprecationLink","pop","warn","sunset","RequestError","statusText","data","undefined","getResponseData","error","toErrorMessage","catch","message","contentType","get","test","json","text","getBuffer","errors","map","join","withDefaults","oldEndpoint","newDefaults","endpoint","defaults","newApi","route","parameters","endpointOptions","merge","hook","parse","bind","getUserAgent"],"mappings":";;;;;;;;;;;;AAAO,MAAMA,OAAO,GAAG,mBAAhB;;ACAQ,SAASC,iBAAT,CAA2BC,QAA3B,EAAqC;AAChD,SAAOA,QAAQ,CAACC,WAAT,EAAP;AACH;;ACEc,SAASC,YAAT,CAAsBC,cAAtB,EAAsC;AACjD,QAAMC,GAAG,GAAGD,cAAc,CAACE,OAAf,IAA0BF,cAAc,CAACE,OAAf,CAAuBD,GAAjD,GACND,cAAc,CAACE,OAAf,CAAuBD,GADjB,GAENE,OAFN;;AAGA,MAAIC,2BAAa,CAACJ,cAAc,CAACK,IAAhB,CAAb,IACAC,KAAK,CAACC,OAAN,CAAcP,cAAc,CAACK,IAA7B,CADJ,EACwC;AACpCL,IAAAA,cAAc,CAACK,IAAf,GAAsBG,IAAI,CAACC,SAAL,CAAeT,cAAc,CAACK,IAA9B,CAAtB;AACH;;AACD,MAAIK,OAAO,GAAG,EAAd;AACA,MAAIC,MAAJ;AACA,MAAIC,GAAJ;AACA,QAAMC,KAAK,GAAIb,cAAc,CAACE,OAAf,IAA0BF,cAAc,CAACE,OAAf,CAAuBW,KAAlD,IAA4DC,SAA1E;AACA,SAAOD,KAAK,CAACb,cAAc,CAACY,GAAhB,EAAqBG,MAAM,CAACC,MAAP,CAAc;AAC3CC,IAAAA,MAAM,EAAEjB,cAAc,CAACiB,MADoB;AAE3CZ,IAAAA,IAAI,EAAEL,cAAc,CAACK,IAFsB;AAG3CK,IAAAA,OAAO,EAAEV,cAAc,CAACU,OAHmB;AAI3CQ,IAAAA,QAAQ,EAAElB,cAAc,CAACkB;AAJkB,GAAd;AAOjC;AACAlB,EAAAA,cAAc,CAACE,OARkB,CAArB,CAAL,CASFiB,IATE,CASG,MAAOtB,QAAP,IAAoB;AAC1Be,IAAAA,GAAG,GAAGf,QAAQ,CAACe,GAAf;AACAD,IAAAA,MAAM,GAAGd,QAAQ,CAACc,MAAlB;;AACA,SAAK,MAAMS,WAAX,IAA0BvB,QAAQ,CAACa,OAAnC,EAA4C;AACxCA,MAAAA,OAAO,CAACU,WAAW,CAAC,CAAD,CAAZ,CAAP,GAA0BA,WAAW,CAAC,CAAD,CAArC;AACH;;AACD,QAAI,iBAAiBV,OAArB,EAA8B;AAC1B,YAAMW,OAAO,GAAGX,OAAO,CAACY,IAAR,IAAgBZ,OAAO,CAACY,IAAR,CAAaC,KAAb,CAAmB,8BAAnB,CAAhC;AACA,YAAMC,eAAe,GAAGH,OAAO,IAAIA,OAAO,CAACI,GAAR,EAAnC;AACAxB,MAAAA,GAAG,CAACyB,IAAJ,CAAU,uBAAsB1B,cAAc,CAACiB,MAAO,IAAGjB,cAAc,CAACY,GAAI,qDAAoDF,OAAO,CAACiB,MAAO,GAAEH,eAAe,GAAI,SAAQA,eAAgB,EAA5B,GAAgC,EAAG,EAAnM;AACH;;AACD,QAAIb,MAAM,KAAK,GAAX,IAAkBA,MAAM,KAAK,GAAjC,EAAsC;AAClC;AACH,KAbyB;;;AAe1B,QAAIX,cAAc,CAACiB,MAAf,KAA0B,MAA9B,EAAsC;AAClC,UAAIN,MAAM,GAAG,GAAb,EAAkB;AACd;AACH;;AACD,YAAM,IAAIiB,yBAAJ,CAAiB/B,QAAQ,CAACgC,UAA1B,EAAsClB,MAAtC,EAA8C;AAChDd,QAAAA,QAAQ,EAAE;AACNe,UAAAA,GADM;AAEND,UAAAA,MAFM;AAGND,UAAAA,OAHM;AAINoB,UAAAA,IAAI,EAAEC;AAJA,SADsC;AAOhD7B,QAAAA,OAAO,EAAEF;AAPuC,OAA9C,CAAN;AASH;;AACD,QAAIW,MAAM,KAAK,GAAf,EAAoB;AAChB,YAAM,IAAIiB,yBAAJ,CAAiB,cAAjB,EAAiCjB,MAAjC,EAAyC;AAC3Cd,QAAAA,QAAQ,EAAE;AACNe,UAAAA,GADM;AAEND,UAAAA,MAFM;AAGND,UAAAA,OAHM;AAINoB,UAAAA,IAAI,EAAE,MAAME,eAAe,CAACnC,QAAD;AAJrB,SADiC;AAO3CK,QAAAA,OAAO,EAAEF;AAPkC,OAAzC,CAAN;AASH;;AACD,QAAIW,MAAM,IAAI,GAAd,EAAmB;AACf,YAAMmB,IAAI,GAAG,MAAME,eAAe,CAACnC,QAAD,CAAlC;AACA,YAAMoC,KAAK,GAAG,IAAIL,yBAAJ,CAAiBM,cAAc,CAACJ,IAAD,CAA/B,EAAuCnB,MAAvC,EAA+C;AACzDd,QAAAA,QAAQ,EAAE;AACNe,UAAAA,GADM;AAEND,UAAAA,MAFM;AAGND,UAAAA,OAHM;AAINoB,UAAAA;AAJM,SAD+C;AAOzD5B,QAAAA,OAAO,EAAEF;AAPgD,OAA/C,CAAd;AASA,YAAMiC,KAAN;AACH;;AACD,WAAOD,eAAe,CAACnC,QAAD,CAAtB;AACH,GA/DM,EAgEFsB,IAhEE,CAgEIW,IAAD,IAAU;AAChB,WAAO;AACHnB,MAAAA,MADG;AAEHC,MAAAA,GAFG;AAGHF,MAAAA,OAHG;AAIHoB,MAAAA;AAJG,KAAP;AAMH,GAvEM,EAwEFK,KAxEE,CAwEKF,KAAD,IAAW;AAClB,QAAIA,KAAK,YAAYL,yBAArB,EACI,MAAMK,KAAN;AACJ,UAAM,IAAIL,yBAAJ,CAAiBK,KAAK,CAACG,OAAvB,EAAgC,GAAhC,EAAqC;AACvClC,MAAAA,OAAO,EAAEF;AAD8B,KAArC,CAAN;AAGH,GA9EM,CAAP;AA+EH;;AACD,eAAegC,eAAf,CAA+BnC,QAA/B,EAAyC;AACrC,QAAMwC,WAAW,GAAGxC,QAAQ,CAACa,OAAT,CAAiB4B,GAAjB,CAAqB,cAArB,CAApB;;AACA,MAAI,oBAAoBC,IAApB,CAAyBF,WAAzB,CAAJ,EAA2C;AACvC,WAAOxC,QAAQ,CAAC2C,IAAT,EAAP;AACH;;AACD,MAAI,CAACH,WAAD,IAAgB,yBAAyBE,IAAzB,CAA8BF,WAA9B,CAApB,EAAgE;AAC5D,WAAOxC,QAAQ,CAAC4C,IAAT,EAAP;AACH;;AACD,SAAOC,iBAAS,CAAC7C,QAAD,CAAhB;AACH;;AACD,SAASqC,cAAT,CAAwBJ,IAAxB,EAA8B;AAC1B,MAAI,OAAOA,IAAP,KAAgB,QAApB,EACI,OAAOA,IAAP,CAFsB;;AAI1B,MAAI,aAAaA,IAAjB,EAAuB;AACnB,QAAIxB,KAAK,CAACC,OAAN,CAAcuB,IAAI,CAACa,MAAnB,CAAJ,EAAgC;AAC5B,aAAQ,GAAEb,IAAI,CAACM,OAAQ,KAAIN,IAAI,CAACa,MAAL,CAAYC,GAAZ,CAAgBpC,IAAI,CAACC,SAArB,EAAgCoC,IAAhC,CAAqC,IAArC,CAA2C,EAAtE;AACH;;AACD,WAAOf,IAAI,CAACM,OAAZ;AACH,GATyB;;;AAW1B,SAAQ,kBAAiB5B,IAAI,CAACC,SAAL,CAAeqB,IAAf,CAAqB,EAA9C;AACH;;ACrHc,SAASgB,YAAT,CAAsBC,WAAtB,EAAmCC,WAAnC,EAAgD;AAC3D,QAAMC,QAAQ,GAAGF,WAAW,CAACG,QAAZ,CAAqBF,WAArB,CAAjB;;AACA,QAAMG,MAAM,GAAG,UAAUC,KAAV,EAAiBC,UAAjB,EAA6B;AACxC,UAAMC,eAAe,GAAGL,QAAQ,CAACM,KAAT,CAAeH,KAAf,EAAsBC,UAAtB,CAAxB;;AACA,QAAI,CAACC,eAAe,CAACpD,OAAjB,IAA4B,CAACoD,eAAe,CAACpD,OAAhB,CAAwBsD,IAAzD,EAA+D;AAC3D,aAAOzD,YAAY,CAACkD,QAAQ,CAACQ,KAAT,CAAeH,eAAf,CAAD,CAAnB;AACH;;AACD,UAAMpD,OAAO,GAAG,CAACkD,KAAD,EAAQC,UAAR,KAAuB;AACnC,aAAOtD,YAAY,CAACkD,QAAQ,CAACQ,KAAT,CAAeR,QAAQ,CAACM,KAAT,CAAeH,KAAf,EAAsBC,UAAtB,CAAf,CAAD,CAAnB;AACH,KAFD;;AAGAtC,IAAAA,MAAM,CAACC,MAAP,CAAcd,OAAd,EAAuB;AACnB+C,MAAAA,QADmB;AAEnBC,MAAAA,QAAQ,EAAEJ,YAAY,CAACY,IAAb,CAAkB,IAAlB,EAAwBT,QAAxB;AAFS,KAAvB;AAIA,WAAOK,eAAe,CAACpD,OAAhB,CAAwBsD,IAAxB,CAA6BtD,OAA7B,EAAsCoD,eAAtC,CAAP;AACH,GAbD;;AAcA,SAAOvC,MAAM,CAACC,MAAP,CAAcmC,MAAd,EAAsB;AACzBF,IAAAA,QADyB;AAEzBC,IAAAA,QAAQ,EAAEJ,YAAY,CAACY,IAAb,CAAkB,IAAlB,EAAwBT,QAAxB;AAFe,GAAtB,CAAP;AAIH;;MCjBY/C,OAAO,GAAG4C,YAAY,CAACG,iBAAD,EAAW;AAC1CvC,EAAAA,OAAO,EAAE;AACL,kBAAe,sBAAqBf,OAAQ,IAAGgE,+BAAY,EAAG;AADzD;AADiC,CAAX,CAA5B;;;;"} \ No newline at end of file diff --git a/node_modules/@octokit/request/dist-src/fetch-wrapper.js b/node_modules/@octokit/request/dist-src/fetch-wrapper.js deleted file mode 100644 index 79653c4..0000000 --- a/node_modules/@octokit/request/dist-src/fetch-wrapper.js +++ /dev/null @@ -1,119 +0,0 @@ -import { isPlainObject } from "is-plain-object"; -import nodeFetch from "node-fetch"; -import { RequestError } from "@octokit/request-error"; -import getBuffer from "./get-buffer-response"; -export default function fetchWrapper(requestOptions) { - const log = requestOptions.request && requestOptions.request.log - ? requestOptions.request.log - : console; - if (isPlainObject(requestOptions.body) || - Array.isArray(requestOptions.body)) { - requestOptions.body = JSON.stringify(requestOptions.body); - } - let headers = {}; - let status; - let url; - const fetch = (requestOptions.request && requestOptions.request.fetch) || nodeFetch; - return fetch(requestOptions.url, Object.assign({ - method: requestOptions.method, - body: requestOptions.body, - headers: requestOptions.headers, - redirect: requestOptions.redirect, - }, - // `requestOptions.request.agent` type is incompatible - // see https://github.com/octokit/types.ts/pull/264 - requestOptions.request)) - .then(async (response) => { - url = response.url; - status = response.status; - for (const keyAndValue of response.headers) { - headers[keyAndValue[0]] = keyAndValue[1]; - } - if ("deprecation" in headers) { - const matches = headers.link && headers.link.match(/<([^>]+)>; rel="deprecation"/); - const deprecationLink = matches && matches.pop(); - log.warn(`[@octokit/request] "${requestOptions.method} ${requestOptions.url}" is deprecated. It is scheduled to be removed on ${headers.sunset}${deprecationLink ? `. See ${deprecationLink}` : ""}`); - } - if (status === 204 || status === 205) { - return; - } - // GitHub API returns 200 for HEAD requests - if (requestOptions.method === "HEAD") { - if (status < 400) { - return; - } - throw new RequestError(response.statusText, status, { - response: { - url, - status, - headers, - data: undefined, - }, - request: requestOptions, - }); - } - if (status === 304) { - throw new RequestError("Not modified", status, { - response: { - url, - status, - headers, - data: await getResponseData(response), - }, - request: requestOptions, - }); - } - if (status >= 400) { - const data = await getResponseData(response); - const error = new RequestError(toErrorMessage(data), status, { - response: { - url, - status, - headers, - data, - }, - request: requestOptions, - }); - throw error; - } - return getResponseData(response); - }) - .then((data) => { - return { - status, - url, - headers, - data, - }; - }) - .catch((error) => { - if (error instanceof RequestError) - throw error; - throw new RequestError(error.message, 500, { - request: requestOptions, - }); - }); -} -async function getResponseData(response) { - const contentType = response.headers.get("content-type"); - if (/application\/json/.test(contentType)) { - return response.json(); - } - if (!contentType || /^text\/|charset=utf-8$/.test(contentType)) { - return response.text(); - } - return getBuffer(response); -} -function toErrorMessage(data) { - if (typeof data === "string") - return data; - // istanbul ignore else - just in case - if ("message" in data) { - if (Array.isArray(data.errors)) { - return `${data.message}: ${data.errors.map(JSON.stringify).join(", ")}`; - } - return data.message; - } - // istanbul ignore next - just in case - return `Unknown error: ${JSON.stringify(data)}`; -} diff --git a/node_modules/@octokit/request/dist-src/get-buffer-response.js b/node_modules/@octokit/request/dist-src/get-buffer-response.js deleted file mode 100644 index 845a394..0000000 --- a/node_modules/@octokit/request/dist-src/get-buffer-response.js +++ /dev/null @@ -1,3 +0,0 @@ -export default function getBufferResponse(response) { - return response.arrayBuffer(); -} diff --git a/node_modules/@octokit/request/dist-src/index.js b/node_modules/@octokit/request/dist-src/index.js deleted file mode 100644 index 2460e99..0000000 --- a/node_modules/@octokit/request/dist-src/index.js +++ /dev/null @@ -1,9 +0,0 @@ -import { endpoint } from "@octokit/endpoint"; -import { getUserAgent } from "universal-user-agent"; -import { VERSION } from "./version"; -import withDefaults from "./with-defaults"; -export const request = withDefaults(endpoint, { - headers: { - "user-agent": `octokit-request.js/${VERSION} ${getUserAgent()}`, - }, -}); diff --git a/node_modules/@octokit/request/dist-src/version.js b/node_modules/@octokit/request/dist-src/version.js deleted file mode 100644 index 54eb65b..0000000 --- a/node_modules/@octokit/request/dist-src/version.js +++ /dev/null @@ -1 +0,0 @@ -export const VERSION = "5.6.0"; diff --git a/node_modules/@octokit/request/dist-src/with-defaults.js b/node_modules/@octokit/request/dist-src/with-defaults.js deleted file mode 100644 index e206429..0000000 --- a/node_modules/@octokit/request/dist-src/with-defaults.js +++ /dev/null @@ -1,22 +0,0 @@ -import fetchWrapper from "./fetch-wrapper"; -export default function withDefaults(oldEndpoint, newDefaults) { - const endpoint = oldEndpoint.defaults(newDefaults); - const newApi = function (route, parameters) { - const endpointOptions = endpoint.merge(route, parameters); - if (!endpointOptions.request || !endpointOptions.request.hook) { - return fetchWrapper(endpoint.parse(endpointOptions)); - } - const request = (route, parameters) => { - return fetchWrapper(endpoint.parse(endpoint.merge(route, parameters))); - }; - Object.assign(request, { - endpoint, - defaults: withDefaults.bind(null, endpoint), - }); - return endpointOptions.request.hook(request, endpointOptions); - }; - return Object.assign(newApi, { - endpoint, - defaults: withDefaults.bind(null, endpoint), - }); -} diff --git a/node_modules/@octokit/request/dist-types/fetch-wrapper.d.ts b/node_modules/@octokit/request/dist-types/fetch-wrapper.d.ts deleted file mode 100644 index 4901c79..0000000 --- a/node_modules/@octokit/request/dist-types/fetch-wrapper.d.ts +++ /dev/null @@ -1,11 +0,0 @@ -import { EndpointInterface } from "@octokit/types"; -export default function fetchWrapper(requestOptions: ReturnType & { - redirect?: "error" | "follow" | "manual"; -}): Promise<{ - status: number; - url: string; - headers: { - [header: string]: string; - }; - data: any; -}>; diff --git a/node_modules/@octokit/request/dist-types/get-buffer-response.d.ts b/node_modules/@octokit/request/dist-types/get-buffer-response.d.ts deleted file mode 100644 index 915b705..0000000 --- a/node_modules/@octokit/request/dist-types/get-buffer-response.d.ts +++ /dev/null @@ -1,2 +0,0 @@ -import { Response } from "node-fetch"; -export default function getBufferResponse(response: Response): Promise; diff --git a/node_modules/@octokit/request/dist-types/index.d.ts b/node_modules/@octokit/request/dist-types/index.d.ts deleted file mode 100644 index 1030809..0000000 --- a/node_modules/@octokit/request/dist-types/index.d.ts +++ /dev/null @@ -1 +0,0 @@ -export declare const request: import("@octokit/types").RequestInterface; diff --git a/node_modules/@octokit/request/dist-types/version.d.ts b/node_modules/@octokit/request/dist-types/version.d.ts deleted file mode 100644 index 9c82454..0000000 --- a/node_modules/@octokit/request/dist-types/version.d.ts +++ /dev/null @@ -1 +0,0 @@ -export declare const VERSION = "5.6.0"; diff --git a/node_modules/@octokit/request/dist-types/with-defaults.d.ts b/node_modules/@octokit/request/dist-types/with-defaults.d.ts deleted file mode 100644 index 0080469..0000000 --- a/node_modules/@octokit/request/dist-types/with-defaults.d.ts +++ /dev/null @@ -1,2 +0,0 @@ -import { EndpointInterface, RequestInterface, RequestParameters } from "@octokit/types"; -export default function withDefaults(oldEndpoint: EndpointInterface, newDefaults: RequestParameters): RequestInterface; diff --git a/node_modules/@octokit/request/dist-web/index.js b/node_modules/@octokit/request/dist-web/index.js deleted file mode 100644 index 4aaa7ac..0000000 --- a/node_modules/@octokit/request/dist-web/index.js +++ /dev/null @@ -1,158 +0,0 @@ -import { endpoint } from '@octokit/endpoint'; -import { getUserAgent } from 'universal-user-agent'; -import { isPlainObject } from 'is-plain-object'; -import nodeFetch from 'node-fetch'; -import { RequestError } from '@octokit/request-error'; - -const VERSION = "5.6.0"; - -function getBufferResponse(response) { - return response.arrayBuffer(); -} - -function fetchWrapper(requestOptions) { - const log = requestOptions.request && requestOptions.request.log - ? requestOptions.request.log - : console; - if (isPlainObject(requestOptions.body) || - Array.isArray(requestOptions.body)) { - requestOptions.body = JSON.stringify(requestOptions.body); - } - let headers = {}; - let status; - let url; - const fetch = (requestOptions.request && requestOptions.request.fetch) || nodeFetch; - return fetch(requestOptions.url, Object.assign({ - method: requestOptions.method, - body: requestOptions.body, - headers: requestOptions.headers, - redirect: requestOptions.redirect, - }, - // `requestOptions.request.agent` type is incompatible - // see https://github.com/octokit/types.ts/pull/264 - requestOptions.request)) - .then(async (response) => { - url = response.url; - status = response.status; - for (const keyAndValue of response.headers) { - headers[keyAndValue[0]] = keyAndValue[1]; - } - if ("deprecation" in headers) { - const matches = headers.link && headers.link.match(/<([^>]+)>; rel="deprecation"/); - const deprecationLink = matches && matches.pop(); - log.warn(`[@octokit/request] "${requestOptions.method} ${requestOptions.url}" is deprecated. It is scheduled to be removed on ${headers.sunset}${deprecationLink ? `. See ${deprecationLink}` : ""}`); - } - if (status === 204 || status === 205) { - return; - } - // GitHub API returns 200 for HEAD requests - if (requestOptions.method === "HEAD") { - if (status < 400) { - return; - } - throw new RequestError(response.statusText, status, { - response: { - url, - status, - headers, - data: undefined, - }, - request: requestOptions, - }); - } - if (status === 304) { - throw new RequestError("Not modified", status, { - response: { - url, - status, - headers, - data: await getResponseData(response), - }, - request: requestOptions, - }); - } - if (status >= 400) { - const data = await getResponseData(response); - const error = new RequestError(toErrorMessage(data), status, { - response: { - url, - status, - headers, - data, - }, - request: requestOptions, - }); - throw error; - } - return getResponseData(response); - }) - .then((data) => { - return { - status, - url, - headers, - data, - }; - }) - .catch((error) => { - if (error instanceof RequestError) - throw error; - throw new RequestError(error.message, 500, { - request: requestOptions, - }); - }); -} -async function getResponseData(response) { - const contentType = response.headers.get("content-type"); - if (/application\/json/.test(contentType)) { - return response.json(); - } - if (!contentType || /^text\/|charset=utf-8$/.test(contentType)) { - return response.text(); - } - return getBufferResponse(response); -} -function toErrorMessage(data) { - if (typeof data === "string") - return data; - // istanbul ignore else - just in case - if ("message" in data) { - if (Array.isArray(data.errors)) { - return `${data.message}: ${data.errors.map(JSON.stringify).join(", ")}`; - } - return data.message; - } - // istanbul ignore next - just in case - return `Unknown error: ${JSON.stringify(data)}`; -} - -function withDefaults(oldEndpoint, newDefaults) { - const endpoint = oldEndpoint.defaults(newDefaults); - const newApi = function (route, parameters) { - const endpointOptions = endpoint.merge(route, parameters); - if (!endpointOptions.request || !endpointOptions.request.hook) { - return fetchWrapper(endpoint.parse(endpointOptions)); - } - const request = (route, parameters) => { - return fetchWrapper(endpoint.parse(endpoint.merge(route, parameters))); - }; - Object.assign(request, { - endpoint, - defaults: withDefaults.bind(null, endpoint), - }); - return endpointOptions.request.hook(request, endpointOptions); - }; - return Object.assign(newApi, { - endpoint, - defaults: withDefaults.bind(null, endpoint), - }); -} - -const request = withDefaults(endpoint, { - headers: { - "user-agent": `octokit-request.js/${VERSION} ${getUserAgent()}`, - }, -}); - -export { request }; -//# sourceMappingURL=index.js.map diff --git a/node_modules/@octokit/request/dist-web/index.js.map b/node_modules/@octokit/request/dist-web/index.js.map deleted file mode 100644 index e39af15..0000000 --- a/node_modules/@octokit/request/dist-web/index.js.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"index.js","sources":["../dist-src/version.js","../dist-src/get-buffer-response.js","../dist-src/fetch-wrapper.js","../dist-src/with-defaults.js","../dist-src/index.js"],"sourcesContent":["export const VERSION = \"5.6.0\";\n","export default function getBufferResponse(response) {\n return response.arrayBuffer();\n}\n","import { isPlainObject } from \"is-plain-object\";\nimport nodeFetch from \"node-fetch\";\nimport { RequestError } from \"@octokit/request-error\";\nimport getBuffer from \"./get-buffer-response\";\nexport default function fetchWrapper(requestOptions) {\n const log = requestOptions.request && requestOptions.request.log\n ? requestOptions.request.log\n : console;\n if (isPlainObject(requestOptions.body) ||\n Array.isArray(requestOptions.body)) {\n requestOptions.body = JSON.stringify(requestOptions.body);\n }\n let headers = {};\n let status;\n let url;\n const fetch = (requestOptions.request && requestOptions.request.fetch) || nodeFetch;\n return fetch(requestOptions.url, Object.assign({\n method: requestOptions.method,\n body: requestOptions.body,\n headers: requestOptions.headers,\n redirect: requestOptions.redirect,\n }, \n // `requestOptions.request.agent` type is incompatible\n // see https://github.com/octokit/types.ts/pull/264\n requestOptions.request))\n .then(async (response) => {\n url = response.url;\n status = response.status;\n for (const keyAndValue of response.headers) {\n headers[keyAndValue[0]] = keyAndValue[1];\n }\n if (\"deprecation\" in headers) {\n const matches = headers.link && headers.link.match(/<([^>]+)>; rel=\"deprecation\"/);\n const deprecationLink = matches && matches.pop();\n log.warn(`[@octokit/request] \"${requestOptions.method} ${requestOptions.url}\" is deprecated. It is scheduled to be removed on ${headers.sunset}${deprecationLink ? `. See ${deprecationLink}` : \"\"}`);\n }\n if (status === 204 || status === 205) {\n return;\n }\n // GitHub API returns 200 for HEAD requests\n if (requestOptions.method === \"HEAD\") {\n if (status < 400) {\n return;\n }\n throw new RequestError(response.statusText, status, {\n response: {\n url,\n status,\n headers,\n data: undefined,\n },\n request: requestOptions,\n });\n }\n if (status === 304) {\n throw new RequestError(\"Not modified\", status, {\n response: {\n url,\n status,\n headers,\n data: await getResponseData(response),\n },\n request: requestOptions,\n });\n }\n if (status >= 400) {\n const data = await getResponseData(response);\n const error = new RequestError(toErrorMessage(data), status, {\n response: {\n url,\n status,\n headers,\n data,\n },\n request: requestOptions,\n });\n throw error;\n }\n return getResponseData(response);\n })\n .then((data) => {\n return {\n status,\n url,\n headers,\n data,\n };\n })\n .catch((error) => {\n if (error instanceof RequestError)\n throw error;\n throw new RequestError(error.message, 500, {\n request: requestOptions,\n });\n });\n}\nasync function getResponseData(response) {\n const contentType = response.headers.get(\"content-type\");\n if (/application\\/json/.test(contentType)) {\n return response.json();\n }\n if (!contentType || /^text\\/|charset=utf-8$/.test(contentType)) {\n return response.text();\n }\n return getBuffer(response);\n}\nfunction toErrorMessage(data) {\n if (typeof data === \"string\")\n return data;\n // istanbul ignore else - just in case\n if (\"message\" in data) {\n if (Array.isArray(data.errors)) {\n return `${data.message}: ${data.errors.map(JSON.stringify).join(\", \")}`;\n }\n return data.message;\n }\n // istanbul ignore next - just in case\n return `Unknown error: ${JSON.stringify(data)}`;\n}\n","import fetchWrapper from \"./fetch-wrapper\";\nexport default function withDefaults(oldEndpoint, newDefaults) {\n const endpoint = oldEndpoint.defaults(newDefaults);\n const newApi = function (route, parameters) {\n const endpointOptions = endpoint.merge(route, parameters);\n if (!endpointOptions.request || !endpointOptions.request.hook) {\n return fetchWrapper(endpoint.parse(endpointOptions));\n }\n const request = (route, parameters) => {\n return fetchWrapper(endpoint.parse(endpoint.merge(route, parameters)));\n };\n Object.assign(request, {\n endpoint,\n defaults: withDefaults.bind(null, endpoint),\n });\n return endpointOptions.request.hook(request, endpointOptions);\n };\n return Object.assign(newApi, {\n endpoint,\n defaults: withDefaults.bind(null, endpoint),\n });\n}\n","import { endpoint } from \"@octokit/endpoint\";\nimport { getUserAgent } from \"universal-user-agent\";\nimport { VERSION } from \"./version\";\nimport withDefaults from \"./with-defaults\";\nexport const request = withDefaults(endpoint, {\n headers: {\n \"user-agent\": `octokit-request.js/${VERSION} ${getUserAgent()}`,\n },\n});\n"],"names":["getBuffer"],"mappings":";;;;;;AAAO,MAAM,OAAO,GAAG,mBAAmB;;ACA3B,SAAS,iBAAiB,CAAC,QAAQ,EAAE;AACpD,IAAI,OAAO,QAAQ,CAAC,WAAW,EAAE,CAAC;AAClC,CAAC;;ACEc,SAAS,YAAY,CAAC,cAAc,EAAE;AACrD,IAAI,MAAM,GAAG,GAAG,cAAc,CAAC,OAAO,IAAI,cAAc,CAAC,OAAO,CAAC,GAAG;AACpE,UAAU,cAAc,CAAC,OAAO,CAAC,GAAG;AACpC,UAAU,OAAO,CAAC;AAClB,IAAI,IAAI,aAAa,CAAC,cAAc,CAAC,IAAI,CAAC;AAC1C,QAAQ,KAAK,CAAC,OAAO,CAAC,cAAc,CAAC,IAAI,CAAC,EAAE;AAC5C,QAAQ,cAAc,CAAC,IAAI,GAAG,IAAI,CAAC,SAAS,CAAC,cAAc,CAAC,IAAI,CAAC,CAAC;AAClE,KAAK;AACL,IAAI,IAAI,OAAO,GAAG,EAAE,CAAC;AACrB,IAAI,IAAI,MAAM,CAAC;AACf,IAAI,IAAI,GAAG,CAAC;AACZ,IAAI,MAAM,KAAK,GAAG,CAAC,cAAc,CAAC,OAAO,IAAI,cAAc,CAAC,OAAO,CAAC,KAAK,KAAK,SAAS,CAAC;AACxF,IAAI,OAAO,KAAK,CAAC,cAAc,CAAC,GAAG,EAAE,MAAM,CAAC,MAAM,CAAC;AACnD,QAAQ,MAAM,EAAE,cAAc,CAAC,MAAM;AACrC,QAAQ,IAAI,EAAE,cAAc,CAAC,IAAI;AACjC,QAAQ,OAAO,EAAE,cAAc,CAAC,OAAO;AACvC,QAAQ,QAAQ,EAAE,cAAc,CAAC,QAAQ;AACzC,KAAK;AACL;AACA;AACA,IAAI,cAAc,CAAC,OAAO,CAAC,CAAC;AAC5B,SAAS,IAAI,CAAC,OAAO,QAAQ,KAAK;AAClC,QAAQ,GAAG,GAAG,QAAQ,CAAC,GAAG,CAAC;AAC3B,QAAQ,MAAM,GAAG,QAAQ,CAAC,MAAM,CAAC;AACjC,QAAQ,KAAK,MAAM,WAAW,IAAI,QAAQ,CAAC,OAAO,EAAE;AACpD,YAAY,OAAO,CAAC,WAAW,CAAC,CAAC,CAAC,CAAC,GAAG,WAAW,CAAC,CAAC,CAAC,CAAC;AACrD,SAAS;AACT,QAAQ,IAAI,aAAa,IAAI,OAAO,EAAE;AACtC,YAAY,MAAM,OAAO,GAAG,OAAO,CAAC,IAAI,IAAI,OAAO,CAAC,IAAI,CAAC,KAAK,CAAC,8BAA8B,CAAC,CAAC;AAC/F,YAAY,MAAM,eAAe,GAAG,OAAO,IAAI,OAAO,CAAC,GAAG,EAAE,CAAC;AAC7D,YAAY,GAAG,CAAC,IAAI,CAAC,CAAC,oBAAoB,EAAE,cAAc,CAAC,MAAM,CAAC,CAAC,EAAE,cAAc,CAAC,GAAG,CAAC,kDAAkD,EAAE,OAAO,CAAC,MAAM,CAAC,EAAE,eAAe,GAAG,CAAC,MAAM,EAAE,eAAe,CAAC,CAAC,GAAG,EAAE,CAAC,CAAC,CAAC,CAAC;AAClN,SAAS;AACT,QAAQ,IAAI,MAAM,KAAK,GAAG,IAAI,MAAM,KAAK,GAAG,EAAE;AAC9C,YAAY,OAAO;AACnB,SAAS;AACT;AACA,QAAQ,IAAI,cAAc,CAAC,MAAM,KAAK,MAAM,EAAE;AAC9C,YAAY,IAAI,MAAM,GAAG,GAAG,EAAE;AAC9B,gBAAgB,OAAO;AACvB,aAAa;AACb,YAAY,MAAM,IAAI,YAAY,CAAC,QAAQ,CAAC,UAAU,EAAE,MAAM,EAAE;AAChE,gBAAgB,QAAQ,EAAE;AAC1B,oBAAoB,GAAG;AACvB,oBAAoB,MAAM;AAC1B,oBAAoB,OAAO;AAC3B,oBAAoB,IAAI,EAAE,SAAS;AACnC,iBAAiB;AACjB,gBAAgB,OAAO,EAAE,cAAc;AACvC,aAAa,CAAC,CAAC;AACf,SAAS;AACT,QAAQ,IAAI,MAAM,KAAK,GAAG,EAAE;AAC5B,YAAY,MAAM,IAAI,YAAY,CAAC,cAAc,EAAE,MAAM,EAAE;AAC3D,gBAAgB,QAAQ,EAAE;AAC1B,oBAAoB,GAAG;AACvB,oBAAoB,MAAM;AAC1B,oBAAoB,OAAO;AAC3B,oBAAoB,IAAI,EAAE,MAAM,eAAe,CAAC,QAAQ,CAAC;AACzD,iBAAiB;AACjB,gBAAgB,OAAO,EAAE,cAAc;AACvC,aAAa,CAAC,CAAC;AACf,SAAS;AACT,QAAQ,IAAI,MAAM,IAAI,GAAG,EAAE;AAC3B,YAAY,MAAM,IAAI,GAAG,MAAM,eAAe,CAAC,QAAQ,CAAC,CAAC;AACzD,YAAY,MAAM,KAAK,GAAG,IAAI,YAAY,CAAC,cAAc,CAAC,IAAI,CAAC,EAAE,MAAM,EAAE;AACzE,gBAAgB,QAAQ,EAAE;AAC1B,oBAAoB,GAAG;AACvB,oBAAoB,MAAM;AAC1B,oBAAoB,OAAO;AAC3B,oBAAoB,IAAI;AACxB,iBAAiB;AACjB,gBAAgB,OAAO,EAAE,cAAc;AACvC,aAAa,CAAC,CAAC;AACf,YAAY,MAAM,KAAK,CAAC;AACxB,SAAS;AACT,QAAQ,OAAO,eAAe,CAAC,QAAQ,CAAC,CAAC;AACzC,KAAK,CAAC;AACN,SAAS,IAAI,CAAC,CAAC,IAAI,KAAK;AACxB,QAAQ,OAAO;AACf,YAAY,MAAM;AAClB,YAAY,GAAG;AACf,YAAY,OAAO;AACnB,YAAY,IAAI;AAChB,SAAS,CAAC;AACV,KAAK,CAAC;AACN,SAAS,KAAK,CAAC,CAAC,KAAK,KAAK;AAC1B,QAAQ,IAAI,KAAK,YAAY,YAAY;AACzC,YAAY,MAAM,KAAK,CAAC;AACxB,QAAQ,MAAM,IAAI,YAAY,CAAC,KAAK,CAAC,OAAO,EAAE,GAAG,EAAE;AACnD,YAAY,OAAO,EAAE,cAAc;AACnC,SAAS,CAAC,CAAC;AACX,KAAK,CAAC,CAAC;AACP,CAAC;AACD,eAAe,eAAe,CAAC,QAAQ,EAAE;AACzC,IAAI,MAAM,WAAW,GAAG,QAAQ,CAAC,OAAO,CAAC,GAAG,CAAC,cAAc,CAAC,CAAC;AAC7D,IAAI,IAAI,mBAAmB,CAAC,IAAI,CAAC,WAAW,CAAC,EAAE;AAC/C,QAAQ,OAAO,QAAQ,CAAC,IAAI,EAAE,CAAC;AAC/B,KAAK;AACL,IAAI,IAAI,CAAC,WAAW,IAAI,wBAAwB,CAAC,IAAI,CAAC,WAAW,CAAC,EAAE;AACpE,QAAQ,OAAO,QAAQ,CAAC,IAAI,EAAE,CAAC;AAC/B,KAAK;AACL,IAAI,OAAOA,iBAAS,CAAC,QAAQ,CAAC,CAAC;AAC/B,CAAC;AACD,SAAS,cAAc,CAAC,IAAI,EAAE;AAC9B,IAAI,IAAI,OAAO,IAAI,KAAK,QAAQ;AAChC,QAAQ,OAAO,IAAI,CAAC;AACpB;AACA,IAAI,IAAI,SAAS,IAAI,IAAI,EAAE;AAC3B,QAAQ,IAAI,KAAK,CAAC,OAAO,CAAC,IAAI,CAAC,MAAM,CAAC,EAAE;AACxC,YAAY,OAAO,CAAC,EAAE,IAAI,CAAC,OAAO,CAAC,EAAE,EAAE,IAAI,CAAC,MAAM,CAAC,GAAG,CAAC,IAAI,CAAC,SAAS,CAAC,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC,CAAC,CAAC;AACpF,SAAS;AACT,QAAQ,OAAO,IAAI,CAAC,OAAO,CAAC;AAC5B,KAAK;AACL;AACA,IAAI,OAAO,CAAC,eAAe,EAAE,IAAI,CAAC,SAAS,CAAC,IAAI,CAAC,CAAC,CAAC,CAAC;AACpD,CAAC;;ACrHc,SAAS,YAAY,CAAC,WAAW,EAAE,WAAW,EAAE;AAC/D,IAAI,MAAM,QAAQ,GAAG,WAAW,CAAC,QAAQ,CAAC,WAAW,CAAC,CAAC;AACvD,IAAI,MAAM,MAAM,GAAG,UAAU,KAAK,EAAE,UAAU,EAAE;AAChD,QAAQ,MAAM,eAAe,GAAG,QAAQ,CAAC,KAAK,CAAC,KAAK,EAAE,UAAU,CAAC,CAAC;AAClE,QAAQ,IAAI,CAAC,eAAe,CAAC,OAAO,IAAI,CAAC,eAAe,CAAC,OAAO,CAAC,IAAI,EAAE;AACvE,YAAY,OAAO,YAAY,CAAC,QAAQ,CAAC,KAAK,CAAC,eAAe,CAAC,CAAC,CAAC;AACjE,SAAS;AACT,QAAQ,MAAM,OAAO,GAAG,CAAC,KAAK,EAAE,UAAU,KAAK;AAC/C,YAAY,OAAO,YAAY,CAAC,QAAQ,CAAC,KAAK,CAAC,QAAQ,CAAC,KAAK,CAAC,KAAK,EAAE,UAAU,CAAC,CAAC,CAAC,CAAC;AACnF,SAAS,CAAC;AACV,QAAQ,MAAM,CAAC,MAAM,CAAC,OAAO,EAAE;AAC/B,YAAY,QAAQ;AACpB,YAAY,QAAQ,EAAE,YAAY,CAAC,IAAI,CAAC,IAAI,EAAE,QAAQ,CAAC;AACvD,SAAS,CAAC,CAAC;AACX,QAAQ,OAAO,eAAe,CAAC,OAAO,CAAC,IAAI,CAAC,OAAO,EAAE,eAAe,CAAC,CAAC;AACtE,KAAK,CAAC;AACN,IAAI,OAAO,MAAM,CAAC,MAAM,CAAC,MAAM,EAAE;AACjC,QAAQ,QAAQ;AAChB,QAAQ,QAAQ,EAAE,YAAY,CAAC,IAAI,CAAC,IAAI,EAAE,QAAQ,CAAC;AACnD,KAAK,CAAC,CAAC;AACP,CAAC;;ACjBW,MAAC,OAAO,GAAG,YAAY,CAAC,QAAQ,EAAE;AAC9C,IAAI,OAAO,EAAE;AACb,QAAQ,YAAY,EAAE,CAAC,mBAAmB,EAAE,OAAO,CAAC,CAAC,EAAE,YAAY,EAAE,CAAC,CAAC;AACvE,KAAK;AACL,CAAC,CAAC;;;;"} \ No newline at end of file diff --git a/node_modules/@octokit/request/package.json b/node_modules/@octokit/request/package.json deleted file mode 100644 index 254d950..0000000 --- a/node_modules/@octokit/request/package.json +++ /dev/null @@ -1,55 +0,0 @@ -{ - "name": "@octokit/request", - "description": "Send parameterized requests to GitHub’s APIs with sensible defaults in browsers and Node", - "version": "5.6.0", - "license": "MIT", - "files": [ - "dist-*/", - "bin/" - ], - "pika": true, - "sideEffects": false, - "keywords": [ - "octokit", - "github", - "api", - "request" - ], - "repository": "github:octokit/request.js", - "dependencies": { - "@octokit/endpoint": "^6.0.1", - "@octokit/request-error": "^2.1.0", - "@octokit/types": "^6.16.1", - "is-plain-object": "^5.0.0", - "node-fetch": "^2.6.1", - "universal-user-agent": "^6.0.0" - }, - "devDependencies": { - "@octokit/auth-app": "^3.0.0", - "@pika/pack": "^0.5.0", - "@pika/plugin-build-node": "^0.9.0", - "@pika/plugin-build-web": "^0.9.0", - "@pika/plugin-ts-standard-pkg": "^0.9.0", - "@types/fetch-mock": "^7.2.4", - "@types/jest": "^26.0.0", - "@types/lolex": "^5.1.0", - "@types/node": "^14.0.0", - "@types/node-fetch": "^2.3.3", - "@types/once": "^1.4.0", - "fetch-mock": "^9.3.1", - "jest": "^27.0.0", - "lolex": "^6.0.0", - "prettier": "2.3.1", - "semantic-release": "^17.0.0", - "semantic-release-plugin-update-version-in-files": "^1.0.0", - "ts-jest": "^27.0.0", - "typescript": "^4.0.2" - }, - "publishConfig": { - "access": "public" - }, - "source": "dist-src/index.js", - "types": "dist-types/index.d.ts", - "main": "dist-node/index.js", - "module": "dist-web/index.js" -} diff --git a/node_modules/@octokit/types/LICENSE b/node_modules/@octokit/types/LICENSE deleted file mode 100644 index 57bee5f..0000000 --- a/node_modules/@octokit/types/LICENSE +++ /dev/null @@ -1,7 +0,0 @@ -MIT License Copyright (c) 2019 Octokit 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 (including the next paragraph) 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/@octokit/types/README.md b/node_modules/@octokit/types/README.md deleted file mode 100644 index c48ce42..0000000 --- a/node_modules/@octokit/types/README.md +++ /dev/null @@ -1,65 +0,0 @@ -# types.ts - -> Shared TypeScript definitions for Octokit projects - -[![@latest](https://img.shields.io/npm/v/@octokit/types.svg)](https://www.npmjs.com/package/@octokit/types) -[![Build Status](https://github.com/octokit/types.ts/workflows/Test/badge.svg)](https://github.com/octokit/types.ts/actions?workflow=Test) - - - -- [Usage](#usage) -- [Examples](#examples) - - [Get parameter and response data types for a REST API endpoint](#get-parameter-and-response-data-types-for-a-rest-api-endpoint) - - [Get response types from endpoint methods](#get-response-types-from-endpoint-methods) -- [Contributing](#contributing) -- [License](#license) - - - -## Usage - -See all exported types at https://octokit.github.io/types.ts - -## Examples - -### Get parameter and response data types for a REST API endpoint - -```ts -import { Endpoints } from "@octokit/types"; - -type listUserReposParameters = - Endpoints["GET /repos/{owner}/{repo}"]["parameters"]; -type listUserReposResponse = Endpoints["GET /repos/{owner}/{repo}"]["response"]; - -async function listRepos( - options: listUserReposParameters -): listUserReposResponse["data"] { - // ... -} -``` - -### Get response types from endpoint methods - -```ts -import { - GetResponseTypeFromEndpointMethod, - GetResponseDataTypeFromEndpointMethod, -} from "@octokit/types"; -import { Octokit } from "@octokit/rest"; - -const octokit = new Octokit(); -type CreateLabelResponseType = GetResponseTypeFromEndpointMethod< - typeof octokit.issues.createLabel ->; -type CreateLabelResponseDataType = GetResponseDataTypeFromEndpointMethod< - typeof octokit.issues.createLabel ->; -``` - -## Contributing - -See [CONTRIBUTING.md](CONTRIBUTING.md) - -## License - -[MIT](LICENSE) diff --git a/node_modules/@octokit/types/dist-node/index.js b/node_modules/@octokit/types/dist-node/index.js deleted file mode 100644 index e51637a..0000000 --- a/node_modules/@octokit/types/dist-node/index.js +++ /dev/null @@ -1,8 +0,0 @@ -'use strict'; - -Object.defineProperty(exports, '__esModule', { value: true }); - -const VERSION = "6.22.0"; - -exports.VERSION = VERSION; -//# sourceMappingURL=index.js.map diff --git a/node_modules/@octokit/types/dist-node/index.js.map b/node_modules/@octokit/types/dist-node/index.js.map deleted file mode 100644 index 2d148d3..0000000 --- a/node_modules/@octokit/types/dist-node/index.js.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"index.js","sources":["../dist-src/VERSION.js"],"sourcesContent":["export const VERSION = \"0.0.0-development\";\n"],"names":["VERSION"],"mappings":";;;;MAAaA,OAAO,GAAG;;;;"} \ No newline at end of file diff --git a/node_modules/@octokit/types/dist-src/AuthInterface.js b/node_modules/@octokit/types/dist-src/AuthInterface.js deleted file mode 100644 index cb0ff5c..0000000 --- a/node_modules/@octokit/types/dist-src/AuthInterface.js +++ /dev/null @@ -1 +0,0 @@ -export {}; diff --git a/node_modules/@octokit/types/dist-src/EndpointDefaults.js b/node_modules/@octokit/types/dist-src/EndpointDefaults.js deleted file mode 100644 index cb0ff5c..0000000 --- a/node_modules/@octokit/types/dist-src/EndpointDefaults.js +++ /dev/null @@ -1 +0,0 @@ -export {}; diff --git a/node_modules/@octokit/types/dist-src/EndpointInterface.js b/node_modules/@octokit/types/dist-src/EndpointInterface.js deleted file mode 100644 index cb0ff5c..0000000 --- a/node_modules/@octokit/types/dist-src/EndpointInterface.js +++ /dev/null @@ -1 +0,0 @@ -export {}; diff --git a/node_modules/@octokit/types/dist-src/EndpointOptions.js b/node_modules/@octokit/types/dist-src/EndpointOptions.js deleted file mode 100644 index cb0ff5c..0000000 --- a/node_modules/@octokit/types/dist-src/EndpointOptions.js +++ /dev/null @@ -1 +0,0 @@ -export {}; diff --git a/node_modules/@octokit/types/dist-src/Fetch.js b/node_modules/@octokit/types/dist-src/Fetch.js deleted file mode 100644 index cb0ff5c..0000000 --- a/node_modules/@octokit/types/dist-src/Fetch.js +++ /dev/null @@ -1 +0,0 @@ -export {}; diff --git a/node_modules/@octokit/types/dist-src/GetResponseTypeFromEndpointMethod.js b/node_modules/@octokit/types/dist-src/GetResponseTypeFromEndpointMethod.js deleted file mode 100644 index cb0ff5c..0000000 --- a/node_modules/@octokit/types/dist-src/GetResponseTypeFromEndpointMethod.js +++ /dev/null @@ -1 +0,0 @@ -export {}; diff --git a/node_modules/@octokit/types/dist-src/OctokitResponse.js b/node_modules/@octokit/types/dist-src/OctokitResponse.js deleted file mode 100644 index cb0ff5c..0000000 --- a/node_modules/@octokit/types/dist-src/OctokitResponse.js +++ /dev/null @@ -1 +0,0 @@ -export {}; diff --git a/node_modules/@octokit/types/dist-src/RequestError.js b/node_modules/@octokit/types/dist-src/RequestError.js deleted file mode 100644 index cb0ff5c..0000000 --- a/node_modules/@octokit/types/dist-src/RequestError.js +++ /dev/null @@ -1 +0,0 @@ -export {}; diff --git a/node_modules/@octokit/types/dist-src/RequestHeaders.js b/node_modules/@octokit/types/dist-src/RequestHeaders.js deleted file mode 100644 index cb0ff5c..0000000 --- a/node_modules/@octokit/types/dist-src/RequestHeaders.js +++ /dev/null @@ -1 +0,0 @@ -export {}; diff --git a/node_modules/@octokit/types/dist-src/RequestInterface.js b/node_modules/@octokit/types/dist-src/RequestInterface.js deleted file mode 100644 index cb0ff5c..0000000 --- a/node_modules/@octokit/types/dist-src/RequestInterface.js +++ /dev/null @@ -1 +0,0 @@ -export {}; diff --git a/node_modules/@octokit/types/dist-src/RequestMethod.js b/node_modules/@octokit/types/dist-src/RequestMethod.js deleted file mode 100644 index cb0ff5c..0000000 --- a/node_modules/@octokit/types/dist-src/RequestMethod.js +++ /dev/null @@ -1 +0,0 @@ -export {}; diff --git a/node_modules/@octokit/types/dist-src/RequestOptions.js b/node_modules/@octokit/types/dist-src/RequestOptions.js deleted file mode 100644 index cb0ff5c..0000000 --- a/node_modules/@octokit/types/dist-src/RequestOptions.js +++ /dev/null @@ -1 +0,0 @@ -export {}; diff --git a/node_modules/@octokit/types/dist-src/RequestParameters.js b/node_modules/@octokit/types/dist-src/RequestParameters.js deleted file mode 100644 index cb0ff5c..0000000 --- a/node_modules/@octokit/types/dist-src/RequestParameters.js +++ /dev/null @@ -1 +0,0 @@ -export {}; diff --git a/node_modules/@octokit/types/dist-src/RequestRequestOptions.js b/node_modules/@octokit/types/dist-src/RequestRequestOptions.js deleted file mode 100644 index cb0ff5c..0000000 --- a/node_modules/@octokit/types/dist-src/RequestRequestOptions.js +++ /dev/null @@ -1 +0,0 @@ -export {}; diff --git a/node_modules/@octokit/types/dist-src/ResponseHeaders.js b/node_modules/@octokit/types/dist-src/ResponseHeaders.js deleted file mode 100644 index cb0ff5c..0000000 --- a/node_modules/@octokit/types/dist-src/ResponseHeaders.js +++ /dev/null @@ -1 +0,0 @@ -export {}; diff --git a/node_modules/@octokit/types/dist-src/Route.js b/node_modules/@octokit/types/dist-src/Route.js deleted file mode 100644 index cb0ff5c..0000000 --- a/node_modules/@octokit/types/dist-src/Route.js +++ /dev/null @@ -1 +0,0 @@ -export {}; diff --git a/node_modules/@octokit/types/dist-src/Signal.js b/node_modules/@octokit/types/dist-src/Signal.js deleted file mode 100644 index cb0ff5c..0000000 --- a/node_modules/@octokit/types/dist-src/Signal.js +++ /dev/null @@ -1 +0,0 @@ -export {}; diff --git a/node_modules/@octokit/types/dist-src/StrategyInterface.js b/node_modules/@octokit/types/dist-src/StrategyInterface.js deleted file mode 100644 index cb0ff5c..0000000 --- a/node_modules/@octokit/types/dist-src/StrategyInterface.js +++ /dev/null @@ -1 +0,0 @@ -export {}; diff --git a/node_modules/@octokit/types/dist-src/Url.js b/node_modules/@octokit/types/dist-src/Url.js deleted file mode 100644 index cb0ff5c..0000000 --- a/node_modules/@octokit/types/dist-src/Url.js +++ /dev/null @@ -1 +0,0 @@ -export {}; diff --git a/node_modules/@octokit/types/dist-src/VERSION.js b/node_modules/@octokit/types/dist-src/VERSION.js deleted file mode 100644 index 33be85b..0000000 --- a/node_modules/@octokit/types/dist-src/VERSION.js +++ /dev/null @@ -1 +0,0 @@ -export const VERSION = "6.22.0"; diff --git a/node_modules/@octokit/types/dist-src/generated/Endpoints.js b/node_modules/@octokit/types/dist-src/generated/Endpoints.js deleted file mode 100644 index cb0ff5c..0000000 --- a/node_modules/@octokit/types/dist-src/generated/Endpoints.js +++ /dev/null @@ -1 +0,0 @@ -export {}; diff --git a/node_modules/@octokit/types/dist-src/index.js b/node_modules/@octokit/types/dist-src/index.js deleted file mode 100644 index 004ae9b..0000000 --- a/node_modules/@octokit/types/dist-src/index.js +++ /dev/null @@ -1,21 +0,0 @@ -export * from "./AuthInterface"; -export * from "./EndpointDefaults"; -export * from "./EndpointInterface"; -export * from "./EndpointOptions"; -export * from "./Fetch"; -export * from "./OctokitResponse"; -export * from "./RequestError"; -export * from "./RequestHeaders"; -export * from "./RequestInterface"; -export * from "./RequestMethod"; -export * from "./RequestOptions"; -export * from "./RequestParameters"; -export * from "./RequestRequestOptions"; -export * from "./ResponseHeaders"; -export * from "./Route"; -export * from "./Signal"; -export * from "./StrategyInterface"; -export * from "./Url"; -export * from "./VERSION"; -export * from "./GetResponseTypeFromEndpointMethod"; -export * from "./generated/Endpoints"; diff --git a/node_modules/@octokit/types/dist-types/AuthInterface.d.ts b/node_modules/@octokit/types/dist-types/AuthInterface.d.ts deleted file mode 100644 index 8b39d61..0000000 --- a/node_modules/@octokit/types/dist-types/AuthInterface.d.ts +++ /dev/null @@ -1,31 +0,0 @@ -import { EndpointOptions } from "./EndpointOptions"; -import { OctokitResponse } from "./OctokitResponse"; -import { RequestInterface } from "./RequestInterface"; -import { RequestParameters } from "./RequestParameters"; -import { Route } from "./Route"; -/** - * Interface to implement complex authentication strategies for Octokit. - * An object Implementing the AuthInterface can directly be passed as the - * `auth` option in the Octokit constructor. - * - * For the official implementations of the most common authentication - * strategies, see https://github.com/octokit/auth.js - */ -export interface AuthInterface { - (...args: AuthOptions): Promise; - hook: { - /** - * Sends a request using the passed `request` instance - * - * @param {object} endpoint Must set `method` and `url`. Plus URL, query or body parameters, as well as `headers`, `mediaType.{format|previews}`, `request`, or `baseUrl`. - */ - (request: RequestInterface, options: EndpointOptions): Promise>; - /** - * Sends a request using the passed `request` instance - * - * @param {string} route Request method + URL. Example: `'GET /orgs/{org}'` - * @param {object} [parameters] URL, query or body parameters, as well as `headers`, `mediaType.{format|previews}`, `request`, or `baseUrl`. - */ - (request: RequestInterface, route: Route, parameters?: RequestParameters): Promise>; - }; -} diff --git a/node_modules/@octokit/types/dist-types/EndpointDefaults.d.ts b/node_modules/@octokit/types/dist-types/EndpointDefaults.d.ts deleted file mode 100644 index a2c2307..0000000 --- a/node_modules/@octokit/types/dist-types/EndpointDefaults.d.ts +++ /dev/null @@ -1,21 +0,0 @@ -import { RequestHeaders } from "./RequestHeaders"; -import { RequestMethod } from "./RequestMethod"; -import { RequestParameters } from "./RequestParameters"; -import { Url } from "./Url"; -/** - * The `.endpoint()` method is guaranteed to set all keys defined by RequestParameters - * as well as the method property. - */ -export declare type EndpointDefaults = RequestParameters & { - baseUrl: Url; - method: RequestMethod; - url?: Url; - headers: RequestHeaders & { - accept: string; - "user-agent": string; - }; - mediaType: { - format: string; - previews: string[]; - }; -}; diff --git a/node_modules/@octokit/types/dist-types/EndpointInterface.d.ts b/node_modules/@octokit/types/dist-types/EndpointInterface.d.ts deleted file mode 100644 index d7b4009..0000000 --- a/node_modules/@octokit/types/dist-types/EndpointInterface.d.ts +++ /dev/null @@ -1,65 +0,0 @@ -import { EndpointDefaults } from "./EndpointDefaults"; -import { RequestOptions } from "./RequestOptions"; -import { RequestParameters } from "./RequestParameters"; -import { Route } from "./Route"; -import { Endpoints } from "./generated/Endpoints"; -export interface EndpointInterface { - /** - * Transforms a GitHub REST API endpoint into generic request options - * - * @param {object} endpoint Must set `url` unless it's set defaults. Plus URL, query or body parameters, as well as `headers`, `mediaType.{format|previews}`, `request`, or `baseUrl`. - */ - (options: O & { - method?: string; - } & ("url" extends keyof D ? { - url?: string; - } : { - url: string; - })): RequestOptions & Pick; - /** - * Transforms a GitHub REST API endpoint into generic request options - * - * @param {string} route Request method + URL. Example: `'GET /orgs/{org}'` - * @param {object} [parameters] URL, query or body parameters, as well as `headers`, `mediaType.{format|previews}`, `request`, or `baseUrl`. - */ - (route: keyof Endpoints | R, parameters?: P): (R extends keyof Endpoints ? Endpoints[R]["request"] : RequestOptions) & Pick; - /** - * Object with current default route and parameters - */ - DEFAULTS: D & EndpointDefaults; - /** - * Returns a new `endpoint` interface with new defaults - */ - defaults: (newDefaults: O) => EndpointInterface; - merge: { - /** - * Merges current endpoint defaults with passed route and parameters, - * without transforming them into request options. - * - * @param {string} route Request method + URL. Example: `'GET /orgs/{org}'` - * @param {object} [parameters] URL, query or body parameters, as well as `headers`, `mediaType.{format|previews}`, `request`, or `baseUrl`. - * - */ - (route: keyof Endpoints | R, parameters?: P): D & (R extends keyof Endpoints ? Endpoints[R]["request"] & Endpoints[R]["parameters"] : EndpointDefaults) & P; - /** - * Merges current endpoint defaults with passed route and parameters, - * without transforming them into request options. - * - * @param {object} endpoint Must set `method` and `url`. Plus URL, query or body parameters, as well as `headers`, `mediaType.{format|previews}`, `request`, or `baseUrl`. - */ -

(options: P): EndpointDefaults & D & P; - /** - * Returns current default options. - * - * @deprecated use endpoint.DEFAULTS instead - */ - (): D & EndpointDefaults; - }; - /** - * Stateless method to turn endpoint options into request options. - * Calling `endpoint(options)` is the same as calling `endpoint.parse(endpoint.merge(options))`. - * - * @param {object} options `method`, `url`. Plus URL, query or body parameters, as well as `headers`, `mediaType.{format|previews}`, `request`, or `baseUrl`. - */ - parse: (options: O) => RequestOptions & Pick; -} diff --git a/node_modules/@octokit/types/dist-types/EndpointOptions.d.ts b/node_modules/@octokit/types/dist-types/EndpointOptions.d.ts deleted file mode 100644 index b1b91f1..0000000 --- a/node_modules/@octokit/types/dist-types/EndpointOptions.d.ts +++ /dev/null @@ -1,7 +0,0 @@ -import { RequestMethod } from "./RequestMethod"; -import { Url } from "./Url"; -import { RequestParameters } from "./RequestParameters"; -export declare type EndpointOptions = RequestParameters & { - method: RequestMethod; - url: Url; -}; diff --git a/node_modules/@octokit/types/dist-types/Fetch.d.ts b/node_modules/@octokit/types/dist-types/Fetch.d.ts deleted file mode 100644 index cbbd5e8..0000000 --- a/node_modules/@octokit/types/dist-types/Fetch.d.ts +++ /dev/null @@ -1,4 +0,0 @@ -/** - * Browser's fetch method (or compatible such as fetch-mock) - */ -export declare type Fetch = any; diff --git a/node_modules/@octokit/types/dist-types/GetResponseTypeFromEndpointMethod.d.ts b/node_modules/@octokit/types/dist-types/GetResponseTypeFromEndpointMethod.d.ts deleted file mode 100644 index 70e1a8d..0000000 --- a/node_modules/@octokit/types/dist-types/GetResponseTypeFromEndpointMethod.d.ts +++ /dev/null @@ -1,5 +0,0 @@ -declare type Unwrap = T extends Promise ? U : T; -declare type AnyFunction = (...args: any[]) => any; -export declare type GetResponseTypeFromEndpointMethod = Unwrap>; -export declare type GetResponseDataTypeFromEndpointMethod = Unwrap>["data"]; -export {}; diff --git a/node_modules/@octokit/types/dist-types/OctokitResponse.d.ts b/node_modules/@octokit/types/dist-types/OctokitResponse.d.ts deleted file mode 100644 index 28fdfb8..0000000 --- a/node_modules/@octokit/types/dist-types/OctokitResponse.d.ts +++ /dev/null @@ -1,17 +0,0 @@ -import { ResponseHeaders } from "./ResponseHeaders"; -import { Url } from "./Url"; -export declare type OctokitResponse = { - headers: ResponseHeaders; - /** - * http response code - */ - status: S; - /** - * URL of response after all redirects - */ - url: Url; - /** - * Response data as documented in the REST API reference documentation at https://docs.github.com/rest/reference - */ - data: T; -}; diff --git a/node_modules/@octokit/types/dist-types/RequestError.d.ts b/node_modules/@octokit/types/dist-types/RequestError.d.ts deleted file mode 100644 index 89174e6..0000000 --- a/node_modules/@octokit/types/dist-types/RequestError.d.ts +++ /dev/null @@ -1,11 +0,0 @@ -export declare type RequestError = { - name: string; - status: number; - documentation_url: string; - errors?: Array<{ - resource: string; - code: string; - field: string; - message?: string; - }>; -}; diff --git a/node_modules/@octokit/types/dist-types/RequestHeaders.d.ts b/node_modules/@octokit/types/dist-types/RequestHeaders.d.ts deleted file mode 100644 index ac5aae0..0000000 --- a/node_modules/@octokit/types/dist-types/RequestHeaders.d.ts +++ /dev/null @@ -1,15 +0,0 @@ -export declare type RequestHeaders = { - /** - * Avoid setting `headers.accept`, use `mediaType.{format|previews}` option instead. - */ - accept?: string; - /** - * Use `authorization` to send authenticated request, remember `token ` / `bearer ` prefixes. Example: `token 1234567890abcdef1234567890abcdef12345678` - */ - authorization?: string; - /** - * `user-agent` is set do a default and can be overwritten as needed. - */ - "user-agent"?: string; - [header: string]: string | number | undefined; -}; diff --git a/node_modules/@octokit/types/dist-types/RequestInterface.d.ts b/node_modules/@octokit/types/dist-types/RequestInterface.d.ts deleted file mode 100644 index 851811f..0000000 --- a/node_modules/@octokit/types/dist-types/RequestInterface.d.ts +++ /dev/null @@ -1,34 +0,0 @@ -import { EndpointInterface } from "./EndpointInterface"; -import { OctokitResponse } from "./OctokitResponse"; -import { RequestParameters } from "./RequestParameters"; -import { Route } from "./Route"; -import { Endpoints } from "./generated/Endpoints"; -export interface RequestInterface { - /** - * Sends a request based on endpoint options - * - * @param {object} endpoint Must set `method` and `url`. Plus URL, query or body parameters, as well as `headers`, `mediaType.{format|previews}`, `request`, or `baseUrl`. - */ - (options: O & { - method?: string; - } & ("url" extends keyof D ? { - url?: string; - } : { - url: string; - })): Promise>; - /** - * Sends a request based on endpoint options - * - * @param {string} route Request method + URL. Example: `'GET /orgs/{org}'` - * @param {object} [parameters] URL, query or body parameters, as well as `headers`, `mediaType.{format|previews}`, `request`, or `baseUrl`. - */ - (route: keyof Endpoints | R, options?: R extends keyof Endpoints ? Endpoints[R]["parameters"] & RequestParameters : RequestParameters): R extends keyof Endpoints ? Promise : Promise>; - /** - * Returns a new `request` with updated route and parameters - */ - defaults: (newDefaults: O) => RequestInterface; - /** - * Octokit endpoint API, see {@link https://github.com/octokit/endpoint.js|@octokit/endpoint} - */ - endpoint: EndpointInterface; -} diff --git a/node_modules/@octokit/types/dist-types/RequestMethod.d.ts b/node_modules/@octokit/types/dist-types/RequestMethod.d.ts deleted file mode 100644 index e999c8d..0000000 --- a/node_modules/@octokit/types/dist-types/RequestMethod.d.ts +++ /dev/null @@ -1,4 +0,0 @@ -/** - * HTTP Verb supported by GitHub's REST API - */ -export declare type RequestMethod = "DELETE" | "GET" | "HEAD" | "PATCH" | "POST" | "PUT"; diff --git a/node_modules/@octokit/types/dist-types/RequestOptions.d.ts b/node_modules/@octokit/types/dist-types/RequestOptions.d.ts deleted file mode 100644 index 97e2181..0000000 --- a/node_modules/@octokit/types/dist-types/RequestOptions.d.ts +++ /dev/null @@ -1,14 +0,0 @@ -import { RequestHeaders } from "./RequestHeaders"; -import { RequestMethod } from "./RequestMethod"; -import { RequestRequestOptions } from "./RequestRequestOptions"; -import { Url } from "./Url"; -/** - * Generic request options as they are returned by the `endpoint()` method - */ -export declare type RequestOptions = { - method: RequestMethod; - url: Url; - headers: RequestHeaders; - body?: any; - request?: RequestRequestOptions; -}; diff --git a/node_modules/@octokit/types/dist-types/RequestParameters.d.ts b/node_modules/@octokit/types/dist-types/RequestParameters.d.ts deleted file mode 100644 index b056a0e..0000000 --- a/node_modules/@octokit/types/dist-types/RequestParameters.d.ts +++ /dev/null @@ -1,45 +0,0 @@ -import { RequestRequestOptions } from "./RequestRequestOptions"; -import { RequestHeaders } from "./RequestHeaders"; -import { Url } from "./Url"; -/** - * Parameters that can be passed into `request(route, parameters)` or `endpoint(route, parameters)` methods - */ -export declare type RequestParameters = { - /** - * Base URL to be used when a relative URL is passed, such as `/orgs/{org}`. - * If `baseUrl` is `https://enterprise.acme-inc.com/api/v3`, then the request - * will be sent to `https://enterprise.acme-inc.com/api/v3/orgs/{org}`. - */ - baseUrl?: Url; - /** - * HTTP headers. Use lowercase keys. - */ - headers?: RequestHeaders; - /** - * Media type options, see {@link https://developer.github.com/v3/media/|GitHub Developer Guide} - */ - mediaType?: { - /** - * `json` by default. Can be `raw`, `text`, `html`, `full`, `diff`, `patch`, `sha`, `base64`. Depending on endpoint - */ - format?: string; - /** - * Custom media type names of {@link https://developer.github.com/v3/media/|API Previews} without the `-preview` suffix. - * Example for single preview: `['squirrel-girl']`. - * Example for multiple previews: `['squirrel-girl', 'mister-fantastic']`. - */ - previews?: string[]; - }; - /** - * Pass custom meta information for the request. The `request` object will be returned as is. - */ - request?: RequestRequestOptions; - /** - * Any additional parameter will be passed as follows - * 1. URL parameter if `':parameter'` or `{parameter}` is part of `url` - * 2. Query parameter if `method` is `'GET'` or `'HEAD'` - * 3. Request body if `parameter` is `'data'` - * 4. JSON in the request body in the form of `body[parameter]` unless `parameter` key is `'data'` - */ - [parameter: string]: unknown; -}; diff --git a/node_modules/@octokit/types/dist-types/RequestRequestOptions.d.ts b/node_modules/@octokit/types/dist-types/RequestRequestOptions.d.ts deleted file mode 100644 index 8f5c43a..0000000 --- a/node_modules/@octokit/types/dist-types/RequestRequestOptions.d.ts +++ /dev/null @@ -1,26 +0,0 @@ -import { Fetch } from "./Fetch"; -import { Signal } from "./Signal"; -/** - * Octokit-specific request options which are ignored for the actual request, but can be used by Octokit or plugins to manipulate how the request is sent or how a response is handled - */ -export declare type RequestRequestOptions = { - /** - * Node only. Useful for custom proxy, certificate, or dns lookup. - * - * @see https://nodejs.org/api/http.html#http_class_http_agent - */ - agent?: unknown; - /** - * Custom replacement for built-in fetch method. Useful for testing or request hooks. - */ - fetch?: Fetch; - /** - * Use an `AbortController` instance to cancel a request. In node you can only cancel streamed requests. - */ - signal?: Signal; - /** - * Node only. Request/response timeout in ms, it resets on redirect. 0 to disable (OS limit applies). `options.request.signal` is recommended instead. - */ - timeout?: number; - [option: string]: any; -}; diff --git a/node_modules/@octokit/types/dist-types/ResponseHeaders.d.ts b/node_modules/@octokit/types/dist-types/ResponseHeaders.d.ts deleted file mode 100644 index c8fbe43..0000000 --- a/node_modules/@octokit/types/dist-types/ResponseHeaders.d.ts +++ /dev/null @@ -1,20 +0,0 @@ -export declare type ResponseHeaders = { - "cache-control"?: string; - "content-length"?: number; - "content-type"?: string; - date?: string; - etag?: string; - "last-modified"?: string; - link?: string; - location?: string; - server?: string; - status?: string; - vary?: string; - "x-github-mediatype"?: string; - "x-github-request-id"?: string; - "x-oauth-scopes"?: string; - "x-ratelimit-limit"?: string; - "x-ratelimit-remaining"?: string; - "x-ratelimit-reset"?: string; - [header: string]: string | number | undefined; -}; diff --git a/node_modules/@octokit/types/dist-types/Route.d.ts b/node_modules/@octokit/types/dist-types/Route.d.ts deleted file mode 100644 index dcaac75..0000000 --- a/node_modules/@octokit/types/dist-types/Route.d.ts +++ /dev/null @@ -1,4 +0,0 @@ -/** - * String consisting of an optional HTTP method and relative path or absolute URL. Examples: `'/orgs/{org}'`, `'PUT /orgs/{org}'`, `GET https://example.com/foo/bar` - */ -export declare type Route = string; diff --git a/node_modules/@octokit/types/dist-types/Signal.d.ts b/node_modules/@octokit/types/dist-types/Signal.d.ts deleted file mode 100644 index 4ebcf24..0000000 --- a/node_modules/@octokit/types/dist-types/Signal.d.ts +++ /dev/null @@ -1,6 +0,0 @@ -/** - * Abort signal - * - * @see https://developer.mozilla.org/en-US/docs/Web/API/AbortSignal - */ -export declare type Signal = any; diff --git a/node_modules/@octokit/types/dist-types/StrategyInterface.d.ts b/node_modules/@octokit/types/dist-types/StrategyInterface.d.ts deleted file mode 100644 index 405cbd2..0000000 --- a/node_modules/@octokit/types/dist-types/StrategyInterface.d.ts +++ /dev/null @@ -1,4 +0,0 @@ -import { AuthInterface } from "./AuthInterface"; -export interface StrategyInterface { - (...args: StrategyOptions): AuthInterface; -} diff --git a/node_modules/@octokit/types/dist-types/Url.d.ts b/node_modules/@octokit/types/dist-types/Url.d.ts deleted file mode 100644 index 3e69916..0000000 --- a/node_modules/@octokit/types/dist-types/Url.d.ts +++ /dev/null @@ -1,4 +0,0 @@ -/** - * Relative or absolute URL. Examples: `'/orgs/{org}'`, `https://example.com/foo/bar` - */ -export declare type Url = string; diff --git a/node_modules/@octokit/types/dist-types/VERSION.d.ts b/node_modules/@octokit/types/dist-types/VERSION.d.ts deleted file mode 100644 index c750cc4..0000000 --- a/node_modules/@octokit/types/dist-types/VERSION.d.ts +++ /dev/null @@ -1 +0,0 @@ -export declare const VERSION = "6.22.0"; diff --git a/node_modules/@octokit/types/dist-types/generated/Endpoints.d.ts b/node_modules/@octokit/types/dist-types/generated/Endpoints.d.ts deleted file mode 100644 index 6837e7f..0000000 --- a/node_modules/@octokit/types/dist-types/generated/Endpoints.d.ts +++ /dev/null @@ -1,3098 +0,0 @@ -import { paths } from "@octokit/openapi-types"; -import { OctokitResponse } from "../OctokitResponse"; -import { RequestHeaders } from "../RequestHeaders"; -import { RequestRequestOptions } from "../RequestRequestOptions"; -declare type UnionToIntersection = (U extends any ? (k: U) => void : never) extends (k: infer I) => void ? I : never; -declare type ExtractParameters = "parameters" extends keyof T ? UnionToIntersection<{ - [K in keyof T["parameters"]]: T["parameters"][K]; -}[keyof T["parameters"]]> : {}; -declare type ExtractRequestBody = "requestBody" extends keyof T ? "content" extends keyof T["requestBody"] ? "application/json" extends keyof T["requestBody"]["content"] ? T["requestBody"]["content"]["application/json"] : { - data: { - [K in keyof T["requestBody"]["content"]]: T["requestBody"]["content"][K]; - }[keyof T["requestBody"]["content"]]; -} : "application/json" extends keyof T["requestBody"] ? T["requestBody"]["application/json"] : { - data: { - [K in keyof T["requestBody"]]: T["requestBody"][K]; - }[keyof T["requestBody"]]; -} : {}; -declare type ToOctokitParameters = ExtractParameters & ExtractRequestBody; -declare type RequiredPreview = T extends string ? { - mediaType: { - previews: [T, ...string[]]; - }; -} : {}; -declare type Operation = { - parameters: ToOctokitParameters & RequiredPreview; - request: { - method: Method extends keyof MethodsMap ? MethodsMap[Method] : never; - url: Url; - headers: RequestHeaders; - request: RequestRequestOptions; - }; - response: ExtractOctokitResponse; -}; -declare type MethodsMap = { - delete: "DELETE"; - get: "GET"; - patch: "PATCH"; - post: "POST"; - put: "PUT"; -}; -declare type SuccessStatuses = 200 | 201 | 202 | 204; -declare type RedirectStatuses = 301 | 302; -declare type EmptyResponseStatuses = 201 | 204; -declare type KnownJsonResponseTypes = "application/json" | "application/scim+json" | "text/html"; -declare type SuccessResponseDataType = { - [K in SuccessStatuses & keyof Responses]: GetContentKeyIfPresent extends never ? never : OctokitResponse, K>; -}[SuccessStatuses & keyof Responses]; -declare type RedirectResponseDataType = { - [K in RedirectStatuses & keyof Responses]: OctokitResponse; -}[RedirectStatuses & keyof Responses]; -declare type EmptyResponseDataType = { - [K in EmptyResponseStatuses & keyof Responses]: OctokitResponse; -}[EmptyResponseStatuses & keyof Responses]; -declare type GetContentKeyIfPresent = "content" extends keyof T ? DataType : DataType; -declare type DataType = { - [K in KnownJsonResponseTypes & keyof T]: T[K]; -}[KnownJsonResponseTypes & keyof T]; -declare type ExtractOctokitResponse = "responses" extends keyof R ? SuccessResponseDataType extends never ? RedirectResponseDataType extends never ? EmptyResponseDataType : RedirectResponseDataType : SuccessResponseDataType : unknown; -export interface Endpoints { - /** - * @see https://docs.github.com/rest/reference/apps#delete-an-installation-for-the-authenticated-app - */ - "DELETE /app/installations/{installation_id}": Operation<"/app/installations/{installation_id}", "delete">; - /** - * @see https://docs.github.com/rest/reference/apps#unsuspend-an-app-installation - */ - "DELETE /app/installations/{installation_id}/suspended": Operation<"/app/installations/{installation_id}/suspended", "delete">; - /** - * @see https://docs.github.com/rest/reference/oauth-authorizations#delete-a-grant - */ - "DELETE /applications/grants/{grant_id}": Operation<"/applications/grants/{grant_id}", "delete">; - /** - * @see https://docs.github.com/rest/reference/apps#delete-an-app-authorization - */ - "DELETE /applications/{client_id}/grant": Operation<"/applications/{client_id}/grant", "delete">; - /** - * @see https://docs.github.com/rest/reference/apps#revoke-a-grant-for-an-application - */ - "DELETE /applications/{client_id}/grants/{access_token}": Operation<"/applications/{client_id}/grants/{access_token}", "delete">; - /** - * @see https://docs.github.com/rest/reference/apps#delete-an-app-token - */ - "DELETE /applications/{client_id}/token": Operation<"/applications/{client_id}/token", "delete">; - /** - * @see https://docs.github.com/rest/reference/apps#revoke-an-authorization-for-an-application - */ - "DELETE /applications/{client_id}/tokens/{access_token}": Operation<"/applications/{client_id}/tokens/{access_token}", "delete">; - /** - * @see https://docs.github.com/rest/reference/oauth-authorizations#delete-an-authorization - */ - "DELETE /authorizations/{authorization_id}": Operation<"/authorizations/{authorization_id}", "delete">; - /** - * @see https://docs.github.com/rest/reference/enterprise-admin#disable-a-selected-organization-for-github-actions-in-an-enterprise - */ - "DELETE /enterprises/{enterprise}/actions/permissions/organizations/{org_id}": Operation<"/enterprises/{enterprise}/actions/permissions/organizations/{org_id}", "delete">; - /** - * @see https://docs.github.com/rest/reference/enterprise-admin#delete-a-self-hosted-runner-group-from-an-enterprise - */ - "DELETE /enterprises/{enterprise}/actions/runner-groups/{runner_group_id}": Operation<"/enterprises/{enterprise}/actions/runner-groups/{runner_group_id}", "delete">; - /** - * @see https://docs.github.com/rest/reference/enterprise-admin#remove-organization-access-to-a-self-hosted-runner-group-in-an-enterprise - */ - "DELETE /enterprises/{enterprise}/actions/runner-groups/{runner_group_id}/organizations/{org_id}": Operation<"/enterprises/{enterprise}/actions/runner-groups/{runner_group_id}/organizations/{org_id}", "delete">; - /** - * @see https://docs.github.com/rest/reference/enterprise-admin#remove-a-self-hosted-runner-from-a-group-for-an-enterprise - */ - "DELETE /enterprises/{enterprise}/actions/runner-groups/{runner_group_id}/runners/{runner_id}": Operation<"/enterprises/{enterprise}/actions/runner-groups/{runner_group_id}/runners/{runner_id}", "delete">; - /** - * @see https://docs.github.com/rest/reference/enterprise-admin#delete-self-hosted-runner-from-an-enterprise - */ - "DELETE /enterprises/{enterprise}/actions/runners/{runner_id}": Operation<"/enterprises/{enterprise}/actions/runners/{runner_id}", "delete">; - /** - * @see https://docs.github.com/rest/reference/gists#delete-a-gist - */ - "DELETE /gists/{gist_id}": Operation<"/gists/{gist_id}", "delete">; - /** - * @see https://docs.github.com/rest/reference/gists#delete-a-gist-comment - */ - "DELETE /gists/{gist_id}/comments/{comment_id}": Operation<"/gists/{gist_id}/comments/{comment_id}", "delete">; - /** - * @see https://docs.github.com/rest/reference/gists#unstar-a-gist - */ - "DELETE /gists/{gist_id}/star": Operation<"/gists/{gist_id}/star", "delete">; - /** - * @see https://docs.github.com/rest/reference/apps#revoke-an-installation-access-token - */ - "DELETE /installation/token": Operation<"/installation/token", "delete">; - /** - * @see https://docs.github.com/rest/reference/activity#delete-a-thread-subscription - */ - "DELETE /notifications/threads/{thread_id}/subscription": Operation<"/notifications/threads/{thread_id}/subscription", "delete">; - /** - * @see https://docs.github.com/rest/reference/actions#disable-a-selected-repository-for-github-actions-in-an-organization - */ - "DELETE /orgs/{org}/actions/permissions/repositories/{repository_id}": Operation<"/orgs/{org}/actions/permissions/repositories/{repository_id}", "delete">; - /** - * @see https://docs.github.com/rest/reference/actions#delete-a-self-hosted-runner-group-from-an-organization - */ - "DELETE /orgs/{org}/actions/runner-groups/{runner_group_id}": Operation<"/orgs/{org}/actions/runner-groups/{runner_group_id}", "delete">; - /** - * @see https://docs.github.com/rest/reference/actions#remove-repository-access-to-a-self-hosted-runner-group-in-an-organization - */ - "DELETE /orgs/{org}/actions/runner-groups/{runner_group_id}/repositories/{repository_id}": Operation<"/orgs/{org}/actions/runner-groups/{runner_group_id}/repositories/{repository_id}", "delete">; - /** - * @see https://docs.github.com/rest/reference/actions#remove-a-self-hosted-runner-from-a-group-for-an-organization - */ - "DELETE /orgs/{org}/actions/runner-groups/{runner_group_id}/runners/{runner_id}": Operation<"/orgs/{org}/actions/runner-groups/{runner_group_id}/runners/{runner_id}", "delete">; - /** - * @see https://docs.github.com/rest/reference/actions#delete-a-self-hosted-runner-from-an-organization - */ - "DELETE /orgs/{org}/actions/runners/{runner_id}": Operation<"/orgs/{org}/actions/runners/{runner_id}", "delete">; - /** - * @see https://docs.github.com/rest/reference/actions#delete-an-organization-secret - */ - "DELETE /orgs/{org}/actions/secrets/{secret_name}": Operation<"/orgs/{org}/actions/secrets/{secret_name}", "delete">; - /** - * @see https://docs.github.com/rest/reference/actions#remove-selected-repository-from-an-organization-secret - */ - "DELETE /orgs/{org}/actions/secrets/{secret_name}/repositories/{repository_id}": Operation<"/orgs/{org}/actions/secrets/{secret_name}/repositories/{repository_id}", "delete">; - /** - * @see https://docs.github.com/rest/reference/orgs#unblock-a-user-from-an-organization - */ - "DELETE /orgs/{org}/blocks/{username}": Operation<"/orgs/{org}/blocks/{username}", "delete">; - /** - * @see https://docs.github.com/rest/reference/orgs#remove-a-saml-sso-authorization-for-an-organization - */ - "DELETE /orgs/{org}/credential-authorizations/{credential_id}": Operation<"/orgs/{org}/credential-authorizations/{credential_id}", "delete">; - /** - * @see https://docs.github.com/rest/reference/orgs#delete-an-organization-webhook - */ - "DELETE /orgs/{org}/hooks/{hook_id}": Operation<"/orgs/{org}/hooks/{hook_id}", "delete">; - /** - * @see https://docs.github.com/rest/reference/interactions#remove-interaction-restrictions-for-an-organization - */ - "DELETE /orgs/{org}/interaction-limits": Operation<"/orgs/{org}/interaction-limits", "delete">; - /** - * @see https://docs.github.com/rest/reference/orgs#cancel-an-organization-invitation - */ - "DELETE /orgs/{org}/invitations/{invitation_id}": Operation<"/orgs/{org}/invitations/{invitation_id}", "delete">; - /** - * @see https://docs.github.com/rest/reference/orgs#remove-an-organization-member - */ - "DELETE /orgs/{org}/members/{username}": Operation<"/orgs/{org}/members/{username}", "delete">; - /** - * @see https://docs.github.com/rest/reference/orgs#remove-organization-membership-for-a-user - */ - "DELETE /orgs/{org}/memberships/{username}": Operation<"/orgs/{org}/memberships/{username}", "delete">; - /** - * @see https://docs.github.com/rest/reference/migrations#delete-an-organization-migration-archive - */ - "DELETE /orgs/{org}/migrations/{migration_id}/archive": Operation<"/orgs/{org}/migrations/{migration_id}/archive", "delete", "wyandotte">; - /** - * @see https://docs.github.com/rest/reference/migrations#unlock-an-organization-repository - */ - "DELETE /orgs/{org}/migrations/{migration_id}/repos/{repo_name}/lock": Operation<"/orgs/{org}/migrations/{migration_id}/repos/{repo_name}/lock", "delete", "wyandotte">; - /** - * @see https://docs.github.com/rest/reference/orgs#remove-outside-collaborator-from-an-organization - */ - "DELETE /orgs/{org}/outside_collaborators/{username}": Operation<"/orgs/{org}/outside_collaborators/{username}", "delete">; - /** - * @see https://docs.github.com/rest/reference/packages#delete-a-package-for-an-organization - */ - "DELETE /orgs/{org}/packages/{package_type}/{package_name}": Operation<"/orgs/{org}/packages/{package_type}/{package_name}", "delete">; - /** - * @see https://docs.github.com/rest/reference/packages#delete-a-package-version-for-an-organization - */ - "DELETE /orgs/{org}/packages/{package_type}/{package_name}/versions/{package_version_id}": Operation<"/orgs/{org}/packages/{package_type}/{package_name}/versions/{package_version_id}", "delete">; - /** - * @see https://docs.github.com/rest/reference/orgs#remove-public-organization-membership-for-the-authenticated-user - */ - "DELETE /orgs/{org}/public_members/{username}": Operation<"/orgs/{org}/public_members/{username}", "delete">; - /** - * @see https://docs.github.com/rest/reference/teams#delete-a-team - */ - "DELETE /orgs/{org}/teams/{team_slug}": Operation<"/orgs/{org}/teams/{team_slug}", "delete">; - /** - * @see https://docs.github.com/rest/reference/teams#delete-a-discussion - */ - "DELETE /orgs/{org}/teams/{team_slug}/discussions/{discussion_number}": Operation<"/orgs/{org}/teams/{team_slug}/discussions/{discussion_number}", "delete">; - /** - * @see https://docs.github.com/rest/reference/teams#delete-a-discussion-comment - */ - "DELETE /orgs/{org}/teams/{team_slug}/discussions/{discussion_number}/comments/{comment_number}": Operation<"/orgs/{org}/teams/{team_slug}/discussions/{discussion_number}/comments/{comment_number}", "delete">; - /** - * @see https://docs.github.com/rest/reference/reactions#delete-team-discussion-comment-reaction - */ - "DELETE /orgs/{org}/teams/{team_slug}/discussions/{discussion_number}/comments/{comment_number}/reactions/{reaction_id}": Operation<"/orgs/{org}/teams/{team_slug}/discussions/{discussion_number}/comments/{comment_number}/reactions/{reaction_id}", "delete", "squirrel-girl">; - /** - * @see https://docs.github.com/rest/reference/reactions#delete-team-discussion-reaction - */ - "DELETE /orgs/{org}/teams/{team_slug}/discussions/{discussion_number}/reactions/{reaction_id}": Operation<"/orgs/{org}/teams/{team_slug}/discussions/{discussion_number}/reactions/{reaction_id}", "delete", "squirrel-girl">; - /** - * @see https://docs.github.com/rest/reference/teams#remove-team-membership-for-a-user - */ - "DELETE /orgs/{org}/teams/{team_slug}/memberships/{username}": Operation<"/orgs/{org}/teams/{team_slug}/memberships/{username}", "delete">; - /** - * @see https://docs.github.com/rest/reference/teams#remove-a-project-from-a-team - */ - "DELETE /orgs/{org}/teams/{team_slug}/projects/{project_id}": Operation<"/orgs/{org}/teams/{team_slug}/projects/{project_id}", "delete">; - /** - * @see https://docs.github.com/rest/reference/teams/#remove-a-repository-from-a-team - */ - "DELETE /orgs/{org}/teams/{team_slug}/repos/{owner}/{repo}": Operation<"/orgs/{org}/teams/{team_slug}/repos/{owner}/{repo}", "delete">; - /** - * @see https://docs.github.com/rest/reference/projects#delete-a-project-card - */ - "DELETE /projects/columns/cards/{card_id}": Operation<"/projects/columns/cards/{card_id}", "delete", "inertia">; - /** - * @see https://docs.github.com/rest/reference/projects#delete-a-project-column - */ - "DELETE /projects/columns/{column_id}": Operation<"/projects/columns/{column_id}", "delete", "inertia">; - /** - * @see https://docs.github.com/rest/reference/projects#delete-a-project - */ - "DELETE /projects/{project_id}": Operation<"/projects/{project_id}", "delete", "inertia">; - /** - * @see https://docs.github.com/rest/reference/projects#remove-project-collaborator - */ - "DELETE /projects/{project_id}/collaborators/{username}": Operation<"/projects/{project_id}/collaborators/{username}", "delete", "inertia">; - /** - * @see https://docs.github.com/rest/reference/reactions/#delete-a-reaction-legacy - */ - "DELETE /reactions/{reaction_id}": Operation<"/reactions/{reaction_id}", "delete", "squirrel-girl">; - /** - * @see https://docs.github.com/rest/reference/repos#delete-a-repository - */ - "DELETE /repos/{owner}/{repo}": Operation<"/repos/{owner}/{repo}", "delete">; - /** - * @see https://docs.github.com/rest/reference/actions#delete-an-artifact - */ - "DELETE /repos/{owner}/{repo}/actions/artifacts/{artifact_id}": Operation<"/repos/{owner}/{repo}/actions/artifacts/{artifact_id}", "delete">; - /** - * @see https://docs.github.com/rest/reference/actions#delete-a-self-hosted-runner-from-a-repository - */ - "DELETE /repos/{owner}/{repo}/actions/runners/{runner_id}": Operation<"/repos/{owner}/{repo}/actions/runners/{runner_id}", "delete">; - /** - * @see https://docs.github.com/rest/reference/actions#delete-a-workflow-run - */ - "DELETE /repos/{owner}/{repo}/actions/runs/{run_id}": Operation<"/repos/{owner}/{repo}/actions/runs/{run_id}", "delete">; - /** - * @see https://docs.github.com/rest/reference/actions#delete-workflow-run-logs - */ - "DELETE /repos/{owner}/{repo}/actions/runs/{run_id}/logs": Operation<"/repos/{owner}/{repo}/actions/runs/{run_id}/logs", "delete">; - /** - * @see https://docs.github.com/rest/reference/actions#delete-a-repository-secret - */ - "DELETE /repos/{owner}/{repo}/actions/secrets/{secret_name}": Operation<"/repos/{owner}/{repo}/actions/secrets/{secret_name}", "delete">; - /** - * @see https://docs.github.com/rest/reference/repos#disable-automated-security-fixes - */ - "DELETE /repos/{owner}/{repo}/automated-security-fixes": Operation<"/repos/{owner}/{repo}/automated-security-fixes", "delete", "london">; - /** - * @see https://docs.github.com/rest/reference/repos#delete-branch-protection - */ - "DELETE /repos/{owner}/{repo}/branches/{branch}/protection": Operation<"/repos/{owner}/{repo}/branches/{branch}/protection", "delete">; - /** - * @see https://docs.github.com/rest/reference/repos#delete-admin-branch-protection - */ - "DELETE /repos/{owner}/{repo}/branches/{branch}/protection/enforce_admins": Operation<"/repos/{owner}/{repo}/branches/{branch}/protection/enforce_admins", "delete">; - /** - * @see https://docs.github.com/rest/reference/repos#delete-pull-request-review-protection - */ - "DELETE /repos/{owner}/{repo}/branches/{branch}/protection/required_pull_request_reviews": Operation<"/repos/{owner}/{repo}/branches/{branch}/protection/required_pull_request_reviews", "delete">; - /** - * @see https://docs.github.com/rest/reference/repos#delete-commit-signature-protection - */ - "DELETE /repos/{owner}/{repo}/branches/{branch}/protection/required_signatures": Operation<"/repos/{owner}/{repo}/branches/{branch}/protection/required_signatures", "delete", "zzzax">; - /** - * @see https://docs.github.com/rest/reference/repos#remove-status-check-protection - */ - "DELETE /repos/{owner}/{repo}/branches/{branch}/protection/required_status_checks": Operation<"/repos/{owner}/{repo}/branches/{branch}/protection/required_status_checks", "delete">; - /** - * @see https://docs.github.com/rest/reference/repos#remove-status-check-contexts - */ - "DELETE /repos/{owner}/{repo}/branches/{branch}/protection/required_status_checks/contexts": Operation<"/repos/{owner}/{repo}/branches/{branch}/protection/required_status_checks/contexts", "delete">; - /** - * @see https://docs.github.com/rest/reference/repos#delete-access-restrictions - */ - "DELETE /repos/{owner}/{repo}/branches/{branch}/protection/restrictions": Operation<"/repos/{owner}/{repo}/branches/{branch}/protection/restrictions", "delete">; - /** - * @see https://docs.github.com/rest/reference/repos#remove-app-access-restrictions - */ - "DELETE /repos/{owner}/{repo}/branches/{branch}/protection/restrictions/apps": Operation<"/repos/{owner}/{repo}/branches/{branch}/protection/restrictions/apps", "delete">; - /** - * @see https://docs.github.com/rest/reference/repos#remove-team-access-restrictions - */ - "DELETE /repos/{owner}/{repo}/branches/{branch}/protection/restrictions/teams": Operation<"/repos/{owner}/{repo}/branches/{branch}/protection/restrictions/teams", "delete">; - /** - * @see https://docs.github.com/rest/reference/repos#remove-user-access-restrictions - */ - "DELETE /repos/{owner}/{repo}/branches/{branch}/protection/restrictions/users": Operation<"/repos/{owner}/{repo}/branches/{branch}/protection/restrictions/users", "delete">; - /** - * @see https://docs.github.com/rest/reference/code-scanning#delete-a-code-scanning-analysis-from-a-repository - */ - "DELETE /repos/{owner}/{repo}/code-scanning/analyses/{analysis_id}{?confirm_delete}": Operation<"/repos/{owner}/{repo}/code-scanning/analyses/{analysis_id}", "delete">; - /** - * @see https://docs.github.com/rest/reference/repos#remove-a-repository-collaborator - */ - "DELETE /repos/{owner}/{repo}/collaborators/{username}": Operation<"/repos/{owner}/{repo}/collaborators/{username}", "delete">; - /** - * @see https://docs.github.com/rest/reference/repos#delete-a-commit-comment - */ - "DELETE /repos/{owner}/{repo}/comments/{comment_id}": Operation<"/repos/{owner}/{repo}/comments/{comment_id}", "delete">; - /** - * @see https://docs.github.com/rest/reference/reactions#delete-a-commit-comment-reaction - */ - "DELETE /repos/{owner}/{repo}/comments/{comment_id}/reactions/{reaction_id}": Operation<"/repos/{owner}/{repo}/comments/{comment_id}/reactions/{reaction_id}", "delete", "squirrel-girl">; - /** - * @see https://docs.github.com/rest/reference/repos#delete-a-file - */ - "DELETE /repos/{owner}/{repo}/contents/{path}": Operation<"/repos/{owner}/{repo}/contents/{path}", "delete">; - /** - * @see https://docs.github.com/rest/reference/repos#delete-a-deployment - */ - "DELETE /repos/{owner}/{repo}/deployments/{deployment_id}": Operation<"/repos/{owner}/{repo}/deployments/{deployment_id}", "delete">; - /** - * @see https://docs.github.com/rest/reference/repos#delete-an-environment - */ - "DELETE /repos/{owner}/{repo}/environments/{environment_name}": Operation<"/repos/{owner}/{repo}/environments/{environment_name}", "delete">; - /** - * @see https://docs.github.com/rest/reference/git#delete-a-reference - */ - "DELETE /repos/{owner}/{repo}/git/refs/{ref}": Operation<"/repos/{owner}/{repo}/git/refs/{ref}", "delete">; - /** - * @see https://docs.github.com/rest/reference/repos#delete-a-repository-webhook - */ - "DELETE /repos/{owner}/{repo}/hooks/{hook_id}": Operation<"/repos/{owner}/{repo}/hooks/{hook_id}", "delete">; - /** - * @see https://docs.github.com/rest/reference/migrations#cancel-an-import - */ - "DELETE /repos/{owner}/{repo}/import": Operation<"/repos/{owner}/{repo}/import", "delete">; - /** - * @see https://docs.github.com/rest/reference/interactions#remove-interaction-restrictions-for-a-repository - */ - "DELETE /repos/{owner}/{repo}/interaction-limits": Operation<"/repos/{owner}/{repo}/interaction-limits", "delete">; - /** - * @see https://docs.github.com/rest/reference/repos#delete-a-repository-invitation - */ - "DELETE /repos/{owner}/{repo}/invitations/{invitation_id}": Operation<"/repos/{owner}/{repo}/invitations/{invitation_id}", "delete">; - /** - * @see https://docs.github.com/rest/reference/issues#delete-an-issue-comment - */ - "DELETE /repos/{owner}/{repo}/issues/comments/{comment_id}": Operation<"/repos/{owner}/{repo}/issues/comments/{comment_id}", "delete">; - /** - * @see https://docs.github.com/rest/reference/reactions#delete-an-issue-comment-reaction - */ - "DELETE /repos/{owner}/{repo}/issues/comments/{comment_id}/reactions/{reaction_id}": Operation<"/repos/{owner}/{repo}/issues/comments/{comment_id}/reactions/{reaction_id}", "delete", "squirrel-girl">; - /** - * @see https://docs.github.com/rest/reference/issues#remove-assignees-from-an-issue - */ - "DELETE /repos/{owner}/{repo}/issues/{issue_number}/assignees": Operation<"/repos/{owner}/{repo}/issues/{issue_number}/assignees", "delete">; - /** - * @see https://docs.github.com/rest/reference/issues#remove-all-labels-from-an-issue - */ - "DELETE /repos/{owner}/{repo}/issues/{issue_number}/labels": Operation<"/repos/{owner}/{repo}/issues/{issue_number}/labels", "delete">; - /** - * @see https://docs.github.com/rest/reference/issues#remove-a-label-from-an-issue - */ - "DELETE /repos/{owner}/{repo}/issues/{issue_number}/labels/{name}": Operation<"/repos/{owner}/{repo}/issues/{issue_number}/labels/{name}", "delete">; - /** - * @see https://docs.github.com/rest/reference/issues#unlock-an-issue - */ - "DELETE /repos/{owner}/{repo}/issues/{issue_number}/lock": Operation<"/repos/{owner}/{repo}/issues/{issue_number}/lock", "delete">; - /** - * @see https://docs.github.com/rest/reference/reactions#delete-an-issue-reaction - */ - "DELETE /repos/{owner}/{repo}/issues/{issue_number}/reactions/{reaction_id}": Operation<"/repos/{owner}/{repo}/issues/{issue_number}/reactions/{reaction_id}", "delete", "squirrel-girl">; - /** - * @see https://docs.github.com/rest/reference/repos#delete-a-deploy-key - */ - "DELETE /repos/{owner}/{repo}/keys/{key_id}": Operation<"/repos/{owner}/{repo}/keys/{key_id}", "delete">; - /** - * @see https://docs.github.com/rest/reference/issues#delete-a-label - */ - "DELETE /repos/{owner}/{repo}/labels/{name}": Operation<"/repos/{owner}/{repo}/labels/{name}", "delete">; - /** - * @see https://docs.github.com/rest/reference/issues#delete-a-milestone - */ - "DELETE /repos/{owner}/{repo}/milestones/{milestone_number}": Operation<"/repos/{owner}/{repo}/milestones/{milestone_number}", "delete">; - /** - * @see https://docs.github.com/rest/reference/repos#delete-a-github-pages-site - */ - "DELETE /repos/{owner}/{repo}/pages": Operation<"/repos/{owner}/{repo}/pages", "delete", "switcheroo">; - /** - * @see https://docs.github.com/rest/reference/pulls#delete-a-review-comment-for-a-pull-request - */ - "DELETE /repos/{owner}/{repo}/pulls/comments/{comment_id}": Operation<"/repos/{owner}/{repo}/pulls/comments/{comment_id}", "delete">; - /** - * @see https://docs.github.com/rest/reference/reactions#delete-a-pull-request-comment-reaction - */ - "DELETE /repos/{owner}/{repo}/pulls/comments/{comment_id}/reactions/{reaction_id}": Operation<"/repos/{owner}/{repo}/pulls/comments/{comment_id}/reactions/{reaction_id}", "delete", "squirrel-girl">; - /** - * @see https://docs.github.com/rest/reference/pulls#remove-requested-reviewers-from-a-pull-request - */ - "DELETE /repos/{owner}/{repo}/pulls/{pull_number}/requested_reviewers": Operation<"/repos/{owner}/{repo}/pulls/{pull_number}/requested_reviewers", "delete">; - /** - * @see https://docs.github.com/rest/reference/pulls#delete-a-pending-review-for-a-pull-request - */ - "DELETE /repos/{owner}/{repo}/pulls/{pull_number}/reviews/{review_id}": Operation<"/repos/{owner}/{repo}/pulls/{pull_number}/reviews/{review_id}", "delete">; - /** - * @see https://docs.github.com/rest/reference/repos#delete-a-release-asset - */ - "DELETE /repos/{owner}/{repo}/releases/assets/{asset_id}": Operation<"/repos/{owner}/{repo}/releases/assets/{asset_id}", "delete">; - /** - * @see https://docs.github.com/rest/reference/repos#delete-a-release - */ - "DELETE /repos/{owner}/{repo}/releases/{release_id}": Operation<"/repos/{owner}/{repo}/releases/{release_id}", "delete">; - /** - * @see https://docs.github.com/rest/reference/activity#delete-a-repository-subscription - */ - "DELETE /repos/{owner}/{repo}/subscription": Operation<"/repos/{owner}/{repo}/subscription", "delete">; - /** - * @see https://docs.github.com/rest/reference/repos#disable-vulnerability-alerts - */ - "DELETE /repos/{owner}/{repo}/vulnerability-alerts": Operation<"/repos/{owner}/{repo}/vulnerability-alerts", "delete", "dorian">; - /** - * @see https://docs.github.com/rest/reference/actions#delete-an-environment-secret - */ - "DELETE /repositories/{repository_id}/environments/{environment_name}/secrets/{secret_name}": Operation<"/repositories/{repository_id}/environments/{environment_name}/secrets/{secret_name}", "delete">; - /** - * @see https://docs.github.com/rest/reference/enterprise-admin#delete-a-scim-group-from-an-enterprise - */ - "DELETE /scim/v2/enterprises/{enterprise}/Groups/{scim_group_id}": Operation<"/scim/v2/enterprises/{enterprise}/Groups/{scim_group_id}", "delete">; - /** - * @see https://docs.github.com/rest/reference/enterprise-admin#delete-a-scim-user-from-an-enterprise - */ - "DELETE /scim/v2/enterprises/{enterprise}/Users/{scim_user_id}": Operation<"/scim/v2/enterprises/{enterprise}/Users/{scim_user_id}", "delete">; - /** - * @see https://docs.github.com/rest/reference/scim#delete-a-scim-user-from-an-organization - */ - "DELETE /scim/v2/organizations/{org}/Users/{scim_user_id}": Operation<"/scim/v2/organizations/{org}/Users/{scim_user_id}", "delete">; - /** - * @see https://docs.github.com/rest/reference/teams/#delete-a-team-legacy - */ - "DELETE /teams/{team_id}": Operation<"/teams/{team_id}", "delete">; - /** - * @see https://docs.github.com/rest/reference/teams#delete-a-discussion-legacy - */ - "DELETE /teams/{team_id}/discussions/{discussion_number}": Operation<"/teams/{team_id}/discussions/{discussion_number}", "delete">; - /** - * @see https://docs.github.com/rest/reference/teams#delete-a-discussion-comment-legacy - */ - "DELETE /teams/{team_id}/discussions/{discussion_number}/comments/{comment_number}": Operation<"/teams/{team_id}/discussions/{discussion_number}/comments/{comment_number}", "delete">; - /** - * @see https://docs.github.com/rest/reference/teams#remove-team-member-legacy - */ - "DELETE /teams/{team_id}/members/{username}": Operation<"/teams/{team_id}/members/{username}", "delete">; - /** - * @see https://docs.github.com/rest/reference/teams#remove-team-membership-for-a-user-legacy - */ - "DELETE /teams/{team_id}/memberships/{username}": Operation<"/teams/{team_id}/memberships/{username}", "delete">; - /** - * @see https://docs.github.com/rest/reference/teams/#remove-a-project-from-a-team-legacy - */ - "DELETE /teams/{team_id}/projects/{project_id}": Operation<"/teams/{team_id}/projects/{project_id}", "delete">; - /** - * @see https://docs.github.com/rest/reference/teams/#remove-a-repository-from-a-team-legacy - */ - "DELETE /teams/{team_id}/repos/{owner}/{repo}": Operation<"/teams/{team_id}/repos/{owner}/{repo}", "delete">; - /** - * @see https://docs.github.com/rest/reference/users#unblock-a-user - */ - "DELETE /user/blocks/{username}": Operation<"/user/blocks/{username}", "delete">; - /** - * @see https://docs.github.com/rest/reference/users#delete-an-email-address-for-the-authenticated-user - */ - "DELETE /user/emails": Operation<"/user/emails", "delete">; - /** - * @see https://docs.github.com/rest/reference/users#unfollow-a-user - */ - "DELETE /user/following/{username}": Operation<"/user/following/{username}", "delete">; - /** - * @see https://docs.github.com/rest/reference/users#delete-a-gpg-key-for-the-authenticated-user - */ - "DELETE /user/gpg_keys/{gpg_key_id}": Operation<"/user/gpg_keys/{gpg_key_id}", "delete">; - /** - * @see https://docs.github.com/rest/reference/apps#remove-a-repository-from-an-app-installation - */ - "DELETE /user/installations/{installation_id}/repositories/{repository_id}": Operation<"/user/installations/{installation_id}/repositories/{repository_id}", "delete">; - /** - * @see https://docs.github.com/rest/reference/interactions#remove-interaction-restrictions-from-your-public-repositories - */ - "DELETE /user/interaction-limits": Operation<"/user/interaction-limits", "delete">; - /** - * @see https://docs.github.com/rest/reference/users#delete-a-public-ssh-key-for-the-authenticated-user - */ - "DELETE /user/keys/{key_id}": Operation<"/user/keys/{key_id}", "delete">; - /** - * @see https://docs.github.com/rest/reference/migrations#delete-a-user-migration-archive - */ - "DELETE /user/migrations/{migration_id}/archive": Operation<"/user/migrations/{migration_id}/archive", "delete", "wyandotte">; - /** - * @see https://docs.github.com/rest/reference/migrations#unlock-a-user-repository - */ - "DELETE /user/migrations/{migration_id}/repos/{repo_name}/lock": Operation<"/user/migrations/{migration_id}/repos/{repo_name}/lock", "delete", "wyandotte">; - /** - * @see https://docs.github.com/rest/reference/packages#delete-a-package-for-the-authenticated-user - */ - "DELETE /user/packages/{package_type}/{package_name}": Operation<"/user/packages/{package_type}/{package_name}", "delete">; - /** - * @see https://docs.github.com/rest/reference/packages#delete-a-package-version-for-the-authenticated-user - */ - "DELETE /user/packages/{package_type}/{package_name}/versions/{package_version_id}": Operation<"/user/packages/{package_type}/{package_name}/versions/{package_version_id}", "delete">; - /** - * @see https://docs.github.com/rest/reference/repos#decline-a-repository-invitation - */ - "DELETE /user/repository_invitations/{invitation_id}": Operation<"/user/repository_invitations/{invitation_id}", "delete">; - /** - * @see https://docs.github.com/rest/reference/activity#unstar-a-repository-for-the-authenticated-user - */ - "DELETE /user/starred/{owner}/{repo}": Operation<"/user/starred/{owner}/{repo}", "delete">; - /** - * @see https://docs.github.com/rest/overview/resources-in-the-rest-api#root-endpoint - */ - "GET /": Operation<"/", "get">; - /** - * @see https://docs.github.com/rest/reference/apps#get-the-authenticated-app - */ - "GET /app": Operation<"/app", "get">; - /** - * @see https://docs.github.com/rest/reference/apps#get-a-webhook-configuration-for-an-app - */ - "GET /app/hook/config": Operation<"/app/hook/config", "get">; - /** - * @see https://docs.github.com/rest/reference/apps#list-deliveries-for-an-app-webhook - */ - "GET /app/hook/deliveries": Operation<"/app/hook/deliveries", "get">; - /** - * @see https://docs.github.com/rest/reference/apps#get-a-delivery-for-an-app-webhook - */ - "GET /app/hook/deliveries/{delivery_id}": Operation<"/app/hook/deliveries/{delivery_id}", "get">; - /** - * @see https://docs.github.com/rest/reference/apps#list-installations-for-the-authenticated-app - */ - "GET /app/installations": Operation<"/app/installations", "get">; - /** - * @see https://docs.github.com/rest/reference/apps#get-an-installation-for-the-authenticated-app - */ - "GET /app/installations/{installation_id}": Operation<"/app/installations/{installation_id}", "get">; - /** - * @see https://docs.github.com/rest/reference/oauth-authorizations#list-your-grants - */ - "GET /applications/grants": Operation<"/applications/grants", "get">; - /** - * @see https://docs.github.com/rest/reference/oauth-authorizations#get-a-single-grant - */ - "GET /applications/grants/{grant_id}": Operation<"/applications/grants/{grant_id}", "get">; - /** - * @see https://docs.github.com/rest/reference/apps#check-an-authorization - */ - "GET /applications/{client_id}/tokens/{access_token}": Operation<"/applications/{client_id}/tokens/{access_token}", "get">; - /** - * @see https://docs.github.com/rest/reference/apps/#get-an-app - */ - "GET /apps/{app_slug}": Operation<"/apps/{app_slug}", "get">; - /** - * @see https://docs.github.com/rest/reference/oauth-authorizations#list-your-authorizations - */ - "GET /authorizations": Operation<"/authorizations", "get">; - /** - * @see https://docs.github.com/rest/reference/oauth-authorizations#get-a-single-authorization - */ - "GET /authorizations/{authorization_id}": Operation<"/authorizations/{authorization_id}", "get">; - /** - * @see https://docs.github.com/rest/reference/codes-of-conduct#get-all-codes-of-conduct - */ - "GET /codes_of_conduct": Operation<"/codes_of_conduct", "get">; - /** - * @see https://docs.github.com/rest/reference/codes-of-conduct#get-a-code-of-conduct - */ - "GET /codes_of_conduct/{key}": Operation<"/codes_of_conduct/{key}", "get">; - /** - * @see https://docs.github.com/rest/reference/emojis#get-emojis - */ - "GET /emojis": Operation<"/emojis", "get">; - /** - * @see https://docs.github.com/rest/reference/enterprise-admin#get-github-actions-permissions-for-an-enterprise - */ - "GET /enterprises/{enterprise}/actions/permissions": Operation<"/enterprises/{enterprise}/actions/permissions", "get">; - /** - * @see https://docs.github.com/rest/reference/enterprise-admin#list-selected-organizations-enabled-for-github-actions-in-an-enterprise - */ - "GET /enterprises/{enterprise}/actions/permissions/organizations": Operation<"/enterprises/{enterprise}/actions/permissions/organizations", "get">; - /** - * @see https://docs.github.com/rest/reference/enterprise-admin#get-allowed-actions-for-an-enterprise - */ - "GET /enterprises/{enterprise}/actions/permissions/selected-actions": Operation<"/enterprises/{enterprise}/actions/permissions/selected-actions", "get">; - /** - * @see https://docs.github.com/rest/reference/enterprise-admin#list-self-hosted-runner-groups-for-an-enterprise - */ - "GET /enterprises/{enterprise}/actions/runner-groups": Operation<"/enterprises/{enterprise}/actions/runner-groups", "get">; - /** - * @see https://docs.github.com/rest/reference/enterprise-admin#get-a-self-hosted-runner-group-for-an-enterprise - */ - "GET /enterprises/{enterprise}/actions/runner-groups/{runner_group_id}": Operation<"/enterprises/{enterprise}/actions/runner-groups/{runner_group_id}", "get">; - /** - * @see https://docs.github.com/rest/reference/enterprise-admin#list-organization-access-to-a-self-hosted-runner-group-in-a-enterprise - */ - "GET /enterprises/{enterprise}/actions/runner-groups/{runner_group_id}/organizations": Operation<"/enterprises/{enterprise}/actions/runner-groups/{runner_group_id}/organizations", "get">; - /** - * @see https://docs.github.com/rest/reference/enterprise-admin#list-self-hosted-runners-in-a-group-for-an-enterprise - */ - "GET /enterprises/{enterprise}/actions/runner-groups/{runner_group_id}/runners": Operation<"/enterprises/{enterprise}/actions/runner-groups/{runner_group_id}/runners", "get">; - /** - * @see https://docs.github.com/rest/reference/enterprise-admin#list-self-hosted-runners-for-an-enterprise - */ - "GET /enterprises/{enterprise}/actions/runners": Operation<"/enterprises/{enterprise}/actions/runners", "get">; - /** - * @see https://docs.github.com/rest/reference/enterprise-admin#list-runner-applications-for-an-enterprise - */ - "GET /enterprises/{enterprise}/actions/runners/downloads": Operation<"/enterprises/{enterprise}/actions/runners/downloads", "get">; - /** - * @see https://docs.github.com/rest/reference/enterprise-admin#get-a-self-hosted-runner-for-an-enterprise - */ - "GET /enterprises/{enterprise}/actions/runners/{runner_id}": Operation<"/enterprises/{enterprise}/actions/runners/{runner_id}", "get">; - /** - * @see https://docs.github.com/rest/reference/enterprise-admin#get-the-audit-log-for-an-enterprise - */ - "GET /enterprises/{enterprise}/audit-log": Operation<"/enterprises/{enterprise}/audit-log", "get">; - /** - * @see https://docs.github.com/rest/reference/billing#get-github-actions-billing-for-an-enterprise - */ - "GET /enterprises/{enterprise}/settings/billing/actions": Operation<"/enterprises/{enterprise}/settings/billing/actions", "get">; - /** - * @see https://docs.github.com/rest/reference/billing#get-github-packages-billing-for-an-enterprise - */ - "GET /enterprises/{enterprise}/settings/billing/packages": Operation<"/enterprises/{enterprise}/settings/billing/packages", "get">; - /** - * @see https://docs.github.com/rest/reference/billing#get-shared-storage-billing-for-an-enterprise - */ - "GET /enterprises/{enterprise}/settings/billing/shared-storage": Operation<"/enterprises/{enterprise}/settings/billing/shared-storage", "get">; - /** - * @see https://docs.github.com/rest/reference/activity#list-public-events - */ - "GET /events": Operation<"/events", "get">; - /** - * @see https://docs.github.com/rest/reference/activity#get-feeds - */ - "GET /feeds": Operation<"/feeds", "get">; - /** - * @see https://docs.github.com/rest/reference/gists#list-gists-for-the-authenticated-user - */ - "GET /gists": Operation<"/gists", "get">; - /** - * @see https://docs.github.com/rest/reference/gists#list-public-gists - */ - "GET /gists/public": Operation<"/gists/public", "get">; - /** - * @see https://docs.github.com/rest/reference/gists#list-starred-gists - */ - "GET /gists/starred": Operation<"/gists/starred", "get">; - /** - * @see https://docs.github.com/rest/reference/gists#get-a-gist - */ - "GET /gists/{gist_id}": Operation<"/gists/{gist_id}", "get">; - /** - * @see https://docs.github.com/rest/reference/gists#list-gist-comments - */ - "GET /gists/{gist_id}/comments": Operation<"/gists/{gist_id}/comments", "get">; - /** - * @see https://docs.github.com/rest/reference/gists#get-a-gist-comment - */ - "GET /gists/{gist_id}/comments/{comment_id}": Operation<"/gists/{gist_id}/comments/{comment_id}", "get">; - /** - * @see https://docs.github.com/rest/reference/gists#list-gist-commits - */ - "GET /gists/{gist_id}/commits": Operation<"/gists/{gist_id}/commits", "get">; - /** - * @see https://docs.github.com/rest/reference/gists#list-gist-forks - */ - "GET /gists/{gist_id}/forks": Operation<"/gists/{gist_id}/forks", "get">; - /** - * @see https://docs.github.com/rest/reference/gists#check-if-a-gist-is-starred - */ - "GET /gists/{gist_id}/star": Operation<"/gists/{gist_id}/star", "get">; - /** - * @see https://docs.github.com/rest/reference/gists#get-a-gist-revision - */ - "GET /gists/{gist_id}/{sha}": Operation<"/gists/{gist_id}/{sha}", "get">; - /** - * @see https://docs.github.com/rest/reference/gitignore#get-all-gitignore-templates - */ - "GET /gitignore/templates": Operation<"/gitignore/templates", "get">; - /** - * @see https://docs.github.com/rest/reference/gitignore#get-a-gitignore-template - */ - "GET /gitignore/templates/{name}": Operation<"/gitignore/templates/{name}", "get">; - /** - * @see https://docs.github.com/rest/reference/apps#list-repositories-accessible-to-the-app-installation - */ - "GET /installation/repositories": Operation<"/installation/repositories", "get">; - /** - * @see https://docs.github.com/rest/reference/issues#list-issues-assigned-to-the-authenticated-user - */ - "GET /issues": Operation<"/issues", "get">; - /** - * @see https://docs.github.com/rest/reference/licenses#get-all-commonly-used-licenses - */ - "GET /licenses": Operation<"/licenses", "get">; - /** - * @see https://docs.github.com/rest/reference/licenses#get-a-license - */ - "GET /licenses/{license}": Operation<"/licenses/{license}", "get">; - /** - * @see https://docs.github.com/rest/reference/apps#get-a-subscription-plan-for-an-account - */ - "GET /marketplace_listing/accounts/{account_id}": Operation<"/marketplace_listing/accounts/{account_id}", "get">; - /** - * @see https://docs.github.com/rest/reference/apps#list-plans - */ - "GET /marketplace_listing/plans": Operation<"/marketplace_listing/plans", "get">; - /** - * @see https://docs.github.com/rest/reference/apps#list-accounts-for-a-plan - */ - "GET /marketplace_listing/plans/{plan_id}/accounts": Operation<"/marketplace_listing/plans/{plan_id}/accounts", "get">; - /** - * @see https://docs.github.com/rest/reference/apps#get-a-subscription-plan-for-an-account-stubbed - */ - "GET /marketplace_listing/stubbed/accounts/{account_id}": Operation<"/marketplace_listing/stubbed/accounts/{account_id}", "get">; - /** - * @see https://docs.github.com/rest/reference/apps#list-plans-stubbed - */ - "GET /marketplace_listing/stubbed/plans": Operation<"/marketplace_listing/stubbed/plans", "get">; - /** - * @see https://docs.github.com/rest/reference/apps#list-accounts-for-a-plan-stubbed - */ - "GET /marketplace_listing/stubbed/plans/{plan_id}/accounts": Operation<"/marketplace_listing/stubbed/plans/{plan_id}/accounts", "get">; - /** - * @see https://docs.github.com/rest/reference/meta#get-github-meta-information - */ - "GET /meta": Operation<"/meta", "get">; - /** - * @see https://docs.github.com/rest/reference/activity#list-public-events-for-a-network-of-repositories - */ - "GET /networks/{owner}/{repo}/events": Operation<"/networks/{owner}/{repo}/events", "get">; - /** - * @see https://docs.github.com/rest/reference/activity#list-notifications-for-the-authenticated-user - */ - "GET /notifications": Operation<"/notifications", "get">; - /** - * @see https://docs.github.com/rest/reference/activity#get-a-thread - */ - "GET /notifications/threads/{thread_id}": Operation<"/notifications/threads/{thread_id}", "get">; - /** - * @see https://docs.github.com/rest/reference/activity#get-a-thread-subscription-for-the-authenticated-user - */ - "GET /notifications/threads/{thread_id}/subscription": Operation<"/notifications/threads/{thread_id}/subscription", "get">; - /** - * @see https://docs.github.com/rest/reference/meta#get-octocat - */ - "GET /octocat": Operation<"/octocat", "get">; - /** - * @see https://docs.github.com/rest/reference/orgs#list-organizations - */ - "GET /organizations": Operation<"/organizations", "get">; - /** - * @see https://docs.github.com/rest/reference/orgs#get-an-organization - */ - "GET /orgs/{org}": Operation<"/orgs/{org}", "get">; - /** - * @see https://docs.github.com/rest/reference/actions#get-github-actions-permissions-for-an-organization - */ - "GET /orgs/{org}/actions/permissions": Operation<"/orgs/{org}/actions/permissions", "get">; - /** - * @see https://docs.github.com/rest/reference/actions#list-selected-repositories-enabled-for-github-actions-in-an-organization - */ - "GET /orgs/{org}/actions/permissions/repositories": Operation<"/orgs/{org}/actions/permissions/repositories", "get">; - /** - * @see https://docs.github.com/rest/reference/actions#get-allowed-actions-for-an-organization - */ - "GET /orgs/{org}/actions/permissions/selected-actions": Operation<"/orgs/{org}/actions/permissions/selected-actions", "get">; - /** - * @see https://docs.github.com/rest/reference/actions#list-self-hosted-runner-groups-for-an-organization - */ - "GET /orgs/{org}/actions/runner-groups": Operation<"/orgs/{org}/actions/runner-groups", "get">; - /** - * @see https://docs.github.com/rest/reference/actions#get-a-self-hosted-runner-group-for-an-organization - */ - "GET /orgs/{org}/actions/runner-groups/{runner_group_id}": Operation<"/orgs/{org}/actions/runner-groups/{runner_group_id}", "get">; - /** - * @see https://docs.github.com/rest/reference/actions#list-repository-access-to-a-self-hosted-runner-group-in-an-organization - */ - "GET /orgs/{org}/actions/runner-groups/{runner_group_id}/repositories": Operation<"/orgs/{org}/actions/runner-groups/{runner_group_id}/repositories", "get">; - /** - * @see https://docs.github.com/rest/reference/actions#list-self-hosted-runners-in-a-group-for-an-organization - */ - "GET /orgs/{org}/actions/runner-groups/{runner_group_id}/runners": Operation<"/orgs/{org}/actions/runner-groups/{runner_group_id}/runners", "get">; - /** - * @see https://docs.github.com/rest/reference/actions#list-self-hosted-runners-for-an-organization - */ - "GET /orgs/{org}/actions/runners": Operation<"/orgs/{org}/actions/runners", "get">; - /** - * @see https://docs.github.com/rest/reference/actions#list-runner-applications-for-an-organization - */ - "GET /orgs/{org}/actions/runners/downloads": Operation<"/orgs/{org}/actions/runners/downloads", "get">; - /** - * @see https://docs.github.com/rest/reference/actions#get-a-self-hosted-runner-for-an-organization - */ - "GET /orgs/{org}/actions/runners/{runner_id}": Operation<"/orgs/{org}/actions/runners/{runner_id}", "get">; - /** - * @see https://docs.github.com/rest/reference/actions#list-organization-secrets - */ - "GET /orgs/{org}/actions/secrets": Operation<"/orgs/{org}/actions/secrets", "get">; - /** - * @see https://docs.github.com/rest/reference/actions#get-an-organization-public-key - */ - "GET /orgs/{org}/actions/secrets/public-key": Operation<"/orgs/{org}/actions/secrets/public-key", "get">; - /** - * @see https://docs.github.com/rest/reference/actions#get-an-organization-secret - */ - "GET /orgs/{org}/actions/secrets/{secret_name}": Operation<"/orgs/{org}/actions/secrets/{secret_name}", "get">; - /** - * @see https://docs.github.com/rest/reference/actions#list-selected-repositories-for-an-organization-secret - */ - "GET /orgs/{org}/actions/secrets/{secret_name}/repositories": Operation<"/orgs/{org}/actions/secrets/{secret_name}/repositories", "get">; - /** - * @see https://docs.github.com/rest/reference/orgs#get-audit-log - */ - "GET /orgs/{org}/audit-log": Operation<"/orgs/{org}/audit-log", "get">; - /** - * @see https://docs.github.com/rest/reference/orgs#list-users-blocked-by-an-organization - */ - "GET /orgs/{org}/blocks": Operation<"/orgs/{org}/blocks", "get">; - /** - * @see https://docs.github.com/rest/reference/orgs#check-if-a-user-is-blocked-by-an-organization - */ - "GET /orgs/{org}/blocks/{username}": Operation<"/orgs/{org}/blocks/{username}", "get">; - /** - * @see https://docs.github.com/rest/reference/orgs#list-saml-sso-authorizations-for-an-organization - */ - "GET /orgs/{org}/credential-authorizations": Operation<"/orgs/{org}/credential-authorizations", "get">; - /** - * @see https://docs.github.com/rest/reference/activity#list-public-organization-events - */ - "GET /orgs/{org}/events": Operation<"/orgs/{org}/events", "get">; - /** - * @see https://docs.github.com/rest/reference/orgs#list-failed-organization-invitations - */ - "GET /orgs/{org}/failed_invitations": Operation<"/orgs/{org}/failed_invitations", "get">; - /** - * @see https://docs.github.com/rest/reference/orgs#list-organization-webhooks - */ - "GET /orgs/{org}/hooks": Operation<"/orgs/{org}/hooks", "get">; - /** - * @see https://docs.github.com/rest/reference/orgs#get-an-organization-webhook - */ - "GET /orgs/{org}/hooks/{hook_id}": Operation<"/orgs/{org}/hooks/{hook_id}", "get">; - /** - * @see https://docs.github.com/rest/reference/orgs#get-a-webhook-configuration-for-an-organization - */ - "GET /orgs/{org}/hooks/{hook_id}/config": Operation<"/orgs/{org}/hooks/{hook_id}/config", "get">; - /** - * @see https://docs.github.com/rest/reference/orgs#list-deliveries-for-an-organization-webhook - */ - "GET /orgs/{org}/hooks/{hook_id}/deliveries": Operation<"/orgs/{org}/hooks/{hook_id}/deliveries", "get">; - /** - * @see https://docs.github.com/rest/reference/orgs#get-a-webhook-delivery-for-an-organization-webhook - */ - "GET /orgs/{org}/hooks/{hook_id}/deliveries/{delivery_id}": Operation<"/orgs/{org}/hooks/{hook_id}/deliveries/{delivery_id}", "get">; - /** - * @see https://docs.github.com/rest/reference/apps#get-an-organization-installation-for-the-authenticated-app - */ - "GET /orgs/{org}/installation": Operation<"/orgs/{org}/installation", "get">; - /** - * @see https://docs.github.com/rest/reference/orgs#list-app-installations-for-an-organization - */ - "GET /orgs/{org}/installations": Operation<"/orgs/{org}/installations", "get">; - /** - * @see https://docs.github.com/rest/reference/interactions#get-interaction-restrictions-for-an-organization - */ - "GET /orgs/{org}/interaction-limits": Operation<"/orgs/{org}/interaction-limits", "get">; - /** - * @see https://docs.github.com/rest/reference/orgs#list-pending-organization-invitations - */ - "GET /orgs/{org}/invitations": Operation<"/orgs/{org}/invitations", "get">; - /** - * @see https://docs.github.com/rest/reference/orgs#list-organization-invitation-teams - */ - "GET /orgs/{org}/invitations/{invitation_id}/teams": Operation<"/orgs/{org}/invitations/{invitation_id}/teams", "get">; - /** - * @see https://docs.github.com/rest/reference/issues#list-organization-issues-assigned-to-the-authenticated-user - */ - "GET /orgs/{org}/issues": Operation<"/orgs/{org}/issues", "get">; - /** - * @see https://docs.github.com/rest/reference/orgs#list-organization-members - */ - "GET /orgs/{org}/members": Operation<"/orgs/{org}/members", "get">; - /** - * @see https://docs.github.com/rest/reference/orgs#check-organization-membership-for-a-user - */ - "GET /orgs/{org}/members/{username}": Operation<"/orgs/{org}/members/{username}", "get">; - /** - * @see https://docs.github.com/rest/reference/orgs#get-organization-membership-for-a-user - */ - "GET /orgs/{org}/memberships/{username}": Operation<"/orgs/{org}/memberships/{username}", "get">; - /** - * @see https://docs.github.com/rest/reference/migrations#list-organization-migrations - */ - "GET /orgs/{org}/migrations": Operation<"/orgs/{org}/migrations", "get", "wyandotte">; - /** - * @see https://docs.github.com/rest/reference/migrations#get-an-organization-migration-status - */ - "GET /orgs/{org}/migrations/{migration_id}": Operation<"/orgs/{org}/migrations/{migration_id}", "get", "wyandotte">; - /** - * @see https://docs.github.com/rest/reference/migrations#download-an-organization-migration-archive - */ - "GET /orgs/{org}/migrations/{migration_id}/archive": Operation<"/orgs/{org}/migrations/{migration_id}/archive", "get", "wyandotte">; - /** - * @see https://docs.github.com/rest/reference/migrations#list-repositories-in-an-organization-migration - */ - "GET /orgs/{org}/migrations/{migration_id}/repositories": Operation<"/orgs/{org}/migrations/{migration_id}/repositories", "get", "wyandotte">; - /** - * @see https://docs.github.com/rest/reference/orgs#list-outside-collaborators-for-an-organization - */ - "GET /orgs/{org}/outside_collaborators": Operation<"/orgs/{org}/outside_collaborators", "get">; - /** - * @see https://docs.github.com/rest/reference/packages#get-a-package-for-an-organization - */ - "GET /orgs/{org}/packages/{package_type}/{package_name}": Operation<"/orgs/{org}/packages/{package_type}/{package_name}", "get">; - /** - * @see https://docs.github.com/rest/reference/packages#get-all-package-versions-for-a-package-owned-by-an-organization - */ - "GET /orgs/{org}/packages/{package_type}/{package_name}/versions": Operation<"/orgs/{org}/packages/{package_type}/{package_name}/versions", "get">; - /** - * @see https://docs.github.com/rest/reference/packages#get-a-package-version-for-an-organization - */ - "GET /orgs/{org}/packages/{package_type}/{package_name}/versions/{package_version_id}": Operation<"/orgs/{org}/packages/{package_type}/{package_name}/versions/{package_version_id}", "get">; - /** - * @see https://docs.github.com/rest/reference/projects#list-organization-projects - */ - "GET /orgs/{org}/projects": Operation<"/orgs/{org}/projects", "get", "inertia">; - /** - * @see https://docs.github.com/rest/reference/orgs#list-public-organization-members - */ - "GET /orgs/{org}/public_members": Operation<"/orgs/{org}/public_members", "get">; - /** - * @see https://docs.github.com/rest/reference/orgs#check-public-organization-membership-for-a-user - */ - "GET /orgs/{org}/public_members/{username}": Operation<"/orgs/{org}/public_members/{username}", "get">; - /** - * @see https://docs.github.com/rest/reference/repos#list-organization-repositories - */ - "GET /orgs/{org}/repos": Operation<"/orgs/{org}/repos", "get">; - /** - * @see https://docs.github.com/rest/reference/billing#get-github-actions-billing-for-an-organization - */ - "GET /orgs/{org}/settings/billing/actions": Operation<"/orgs/{org}/settings/billing/actions", "get">; - /** - * @see https://docs.github.com/rest/reference/billing#get-github-packages-billing-for-an-organization - */ - "GET /orgs/{org}/settings/billing/packages": Operation<"/orgs/{org}/settings/billing/packages", "get">; - /** - * @see https://docs.github.com/rest/reference/billing#get-shared-storage-billing-for-an-organization - */ - "GET /orgs/{org}/settings/billing/shared-storage": Operation<"/orgs/{org}/settings/billing/shared-storage", "get">; - /** - * @see https://docs.github.com/rest/reference/teams#list-idp-groups-for-an-organization - */ - "GET /orgs/{org}/team-sync/groups": Operation<"/orgs/{org}/team-sync/groups", "get">; - /** - * @see https://docs.github.com/rest/reference/teams#list-teams - */ - "GET /orgs/{org}/teams": Operation<"/orgs/{org}/teams", "get">; - /** - * @see https://docs.github.com/rest/reference/teams#get-a-team-by-name - */ - "GET /orgs/{org}/teams/{team_slug}": Operation<"/orgs/{org}/teams/{team_slug}", "get">; - /** - * @see https://docs.github.com/rest/reference/teams#list-discussions - */ - "GET /orgs/{org}/teams/{team_slug}/discussions": Operation<"/orgs/{org}/teams/{team_slug}/discussions", "get">; - /** - * @see https://docs.github.com/rest/reference/teams#get-a-discussion - */ - "GET /orgs/{org}/teams/{team_slug}/discussions/{discussion_number}": Operation<"/orgs/{org}/teams/{team_slug}/discussions/{discussion_number}", "get">; - /** - * @see https://docs.github.com/rest/reference/teams#list-discussion-comments - */ - "GET /orgs/{org}/teams/{team_slug}/discussions/{discussion_number}/comments": Operation<"/orgs/{org}/teams/{team_slug}/discussions/{discussion_number}/comments", "get">; - /** - * @see https://docs.github.com/rest/reference/teams#get-a-discussion-comment - */ - "GET /orgs/{org}/teams/{team_slug}/discussions/{discussion_number}/comments/{comment_number}": Operation<"/orgs/{org}/teams/{team_slug}/discussions/{discussion_number}/comments/{comment_number}", "get">; - /** - * @see https://docs.github.com/rest/reference/reactions#list-reactions-for-a-team-discussion-comment - */ - "GET /orgs/{org}/teams/{team_slug}/discussions/{discussion_number}/comments/{comment_number}/reactions": Operation<"/orgs/{org}/teams/{team_slug}/discussions/{discussion_number}/comments/{comment_number}/reactions", "get", "squirrel-girl">; - /** - * @see https://docs.github.com/rest/reference/reactions#list-reactions-for-a-team-discussion - */ - "GET /orgs/{org}/teams/{team_slug}/discussions/{discussion_number}/reactions": Operation<"/orgs/{org}/teams/{team_slug}/discussions/{discussion_number}/reactions", "get", "squirrel-girl">; - /** - * @see https://docs.github.com/rest/reference/teams#list-pending-team-invitations - */ - "GET /orgs/{org}/teams/{team_slug}/invitations": Operation<"/orgs/{org}/teams/{team_slug}/invitations", "get">; - /** - * @see https://docs.github.com/rest/reference/teams#list-team-members - */ - "GET /orgs/{org}/teams/{team_slug}/members": Operation<"/orgs/{org}/teams/{team_slug}/members", "get">; - /** - * @see https://docs.github.com/rest/reference/teams#get-team-membership-for-a-user - */ - "GET /orgs/{org}/teams/{team_slug}/memberships/{username}": Operation<"/orgs/{org}/teams/{team_slug}/memberships/{username}", "get">; - /** - * @see https://docs.github.com/rest/reference/teams#list-team-projects - */ - "GET /orgs/{org}/teams/{team_slug}/projects": Operation<"/orgs/{org}/teams/{team_slug}/projects", "get", "inertia">; - /** - * @see https://docs.github.com/rest/reference/teams#check-team-permissions-for-a-project - */ - "GET /orgs/{org}/teams/{team_slug}/projects/{project_id}": Operation<"/orgs/{org}/teams/{team_slug}/projects/{project_id}", "get", "inertia">; - /** - * @see https://docs.github.com/rest/reference/teams#list-team-repositories - */ - "GET /orgs/{org}/teams/{team_slug}/repos": Operation<"/orgs/{org}/teams/{team_slug}/repos", "get">; - /** - * @see https://docs.github.com/rest/reference/teams/#check-team-permissions-for-a-repository - */ - "GET /orgs/{org}/teams/{team_slug}/repos/{owner}/{repo}": Operation<"/orgs/{org}/teams/{team_slug}/repos/{owner}/{repo}", "get">; - /** - * @see https://docs.github.com/rest/reference/teams#list-idp-groups-for-a-team - */ - "GET /orgs/{org}/teams/{team_slug}/team-sync/group-mappings": Operation<"/orgs/{org}/teams/{team_slug}/team-sync/group-mappings", "get">; - /** - * @see https://docs.github.com/rest/reference/teams#list-child-teams - */ - "GET /orgs/{org}/teams/{team_slug}/teams": Operation<"/orgs/{org}/teams/{team_slug}/teams", "get">; - /** - * @see https://docs.github.com/rest/reference/projects#get-a-project-card - */ - "GET /projects/columns/cards/{card_id}": Operation<"/projects/columns/cards/{card_id}", "get", "inertia">; - /** - * @see https://docs.github.com/rest/reference/projects#get-a-project-column - */ - "GET /projects/columns/{column_id}": Operation<"/projects/columns/{column_id}", "get", "inertia">; - /** - * @see https://docs.github.com/rest/reference/projects#list-project-cards - */ - "GET /projects/columns/{column_id}/cards": Operation<"/projects/columns/{column_id}/cards", "get", "inertia">; - /** - * @see https://docs.github.com/rest/reference/projects#get-a-project - */ - "GET /projects/{project_id}": Operation<"/projects/{project_id}", "get", "inertia">; - /** - * @see https://docs.github.com/rest/reference/projects#list-project-collaborators - */ - "GET /projects/{project_id}/collaborators": Operation<"/projects/{project_id}/collaborators", "get", "inertia">; - /** - * @see https://docs.github.com/rest/reference/projects#get-project-permission-for-a-user - */ - "GET /projects/{project_id}/collaborators/{username}/permission": Operation<"/projects/{project_id}/collaborators/{username}/permission", "get", "inertia">; - /** - * @see https://docs.github.com/rest/reference/projects#list-project-columns - */ - "GET /projects/{project_id}/columns": Operation<"/projects/{project_id}/columns", "get", "inertia">; - /** - * @see https://docs.github.com/rest/reference/rate-limit#get-rate-limit-status-for-the-authenticated-user - */ - "GET /rate_limit": Operation<"/rate_limit", "get">; - /** - * @see https://docs.github.com/rest/reference/repos#get-a-repository - */ - "GET /repos/{owner}/{repo}": Operation<"/repos/{owner}/{repo}", "get">; - /** - * @see https://docs.github.com/rest/reference/actions#list-artifacts-for-a-repository - */ - "GET /repos/{owner}/{repo}/actions/artifacts": Operation<"/repos/{owner}/{repo}/actions/artifacts", "get">; - /** - * @see https://docs.github.com/rest/reference/actions#get-an-artifact - */ - "GET /repos/{owner}/{repo}/actions/artifacts/{artifact_id}": Operation<"/repos/{owner}/{repo}/actions/artifacts/{artifact_id}", "get">; - /** - * @see https://docs.github.com/rest/reference/actions#download-an-artifact - */ - "GET /repos/{owner}/{repo}/actions/artifacts/{artifact_id}/{archive_format}": Operation<"/repos/{owner}/{repo}/actions/artifacts/{artifact_id}/{archive_format}", "get">; - /** - * @see https://docs.github.com/rest/reference/actions#get-a-job-for-a-workflow-run - */ - "GET /repos/{owner}/{repo}/actions/jobs/{job_id}": Operation<"/repos/{owner}/{repo}/actions/jobs/{job_id}", "get">; - /** - * @see https://docs.github.com/rest/reference/actions#download-job-logs-for-a-workflow-run - */ - "GET /repos/{owner}/{repo}/actions/jobs/{job_id}/logs": Operation<"/repos/{owner}/{repo}/actions/jobs/{job_id}/logs", "get">; - /** - * @see https://docs.github.com/rest/reference/actions#get-github-actions-permissions-for-a-repository - */ - "GET /repos/{owner}/{repo}/actions/permissions": Operation<"/repos/{owner}/{repo}/actions/permissions", "get">; - /** - * @see https://docs.github.com/rest/reference/actions#get-allowed-actions-for-a-repository - */ - "GET /repos/{owner}/{repo}/actions/permissions/selected-actions": Operation<"/repos/{owner}/{repo}/actions/permissions/selected-actions", "get">; - /** - * @see https://docs.github.com/rest/reference/actions#list-self-hosted-runners-for-a-repository - */ - "GET /repos/{owner}/{repo}/actions/runners": Operation<"/repos/{owner}/{repo}/actions/runners", "get">; - /** - * @see https://docs.github.com/rest/reference/actions#list-runner-applications-for-a-repository - */ - "GET /repos/{owner}/{repo}/actions/runners/downloads": Operation<"/repos/{owner}/{repo}/actions/runners/downloads", "get">; - /** - * @see https://docs.github.com/rest/reference/actions#get-a-self-hosted-runner-for-a-repository - */ - "GET /repos/{owner}/{repo}/actions/runners/{runner_id}": Operation<"/repos/{owner}/{repo}/actions/runners/{runner_id}", "get">; - /** - * @see https://docs.github.com/rest/reference/actions#list-workflow-runs-for-a-repository - */ - "GET /repos/{owner}/{repo}/actions/runs": Operation<"/repos/{owner}/{repo}/actions/runs", "get">; - /** - * @see https://docs.github.com/rest/reference/actions#get-a-workflow-run - */ - "GET /repos/{owner}/{repo}/actions/runs/{run_id}": Operation<"/repos/{owner}/{repo}/actions/runs/{run_id}", "get">; - /** - * @see https://docs.github.com/rest/reference/actions#get-the-review-history-for-a-workflow-run - */ - "GET /repos/{owner}/{repo}/actions/runs/{run_id}/approvals": Operation<"/repos/{owner}/{repo}/actions/runs/{run_id}/approvals", "get">; - /** - * @see https://docs.github.com/rest/reference/actions#list-workflow-run-artifacts - */ - "GET /repos/{owner}/{repo}/actions/runs/{run_id}/artifacts": Operation<"/repos/{owner}/{repo}/actions/runs/{run_id}/artifacts", "get">; - /** - * @see https://docs.github.com/rest/reference/actions#list-jobs-for-a-workflow-run - */ - "GET /repos/{owner}/{repo}/actions/runs/{run_id}/jobs": Operation<"/repos/{owner}/{repo}/actions/runs/{run_id}/jobs", "get">; - /** - * @see https://docs.github.com/rest/reference/actions#download-workflow-run-logs - */ - "GET /repos/{owner}/{repo}/actions/runs/{run_id}/logs": Operation<"/repos/{owner}/{repo}/actions/runs/{run_id}/logs", "get">; - /** - * @see https://docs.github.com/rest/reference/actions#get-pending-deployments-for-a-workflow-run - */ - "GET /repos/{owner}/{repo}/actions/runs/{run_id}/pending_deployments": Operation<"/repos/{owner}/{repo}/actions/runs/{run_id}/pending_deployments", "get">; - /** - * @see https://docs.github.com/rest/reference/actions#get-workflow-run-usage - */ - "GET /repos/{owner}/{repo}/actions/runs/{run_id}/timing": Operation<"/repos/{owner}/{repo}/actions/runs/{run_id}/timing", "get">; - /** - * @see https://docs.github.com/rest/reference/actions#list-repository-secrets - */ - "GET /repos/{owner}/{repo}/actions/secrets": Operation<"/repos/{owner}/{repo}/actions/secrets", "get">; - /** - * @see https://docs.github.com/rest/reference/actions#get-a-repository-public-key - */ - "GET /repos/{owner}/{repo}/actions/secrets/public-key": Operation<"/repos/{owner}/{repo}/actions/secrets/public-key", "get">; - /** - * @see https://docs.github.com/rest/reference/actions#get-a-repository-secret - */ - "GET /repos/{owner}/{repo}/actions/secrets/{secret_name}": Operation<"/repos/{owner}/{repo}/actions/secrets/{secret_name}", "get">; - /** - * @see https://docs.github.com/rest/reference/actions#list-repository-workflows - */ - "GET /repos/{owner}/{repo}/actions/workflows": Operation<"/repos/{owner}/{repo}/actions/workflows", "get">; - /** - * @see https://docs.github.com/rest/reference/actions#get-a-workflow - */ - "GET /repos/{owner}/{repo}/actions/workflows/{workflow_id}": Operation<"/repos/{owner}/{repo}/actions/workflows/{workflow_id}", "get">; - /** - * @see https://docs.github.com/rest/reference/actions#list-workflow-runs - */ - "GET /repos/{owner}/{repo}/actions/workflows/{workflow_id}/runs": Operation<"/repos/{owner}/{repo}/actions/workflows/{workflow_id}/runs", "get">; - /** - * @see https://docs.github.com/rest/reference/actions#get-workflow-usage - */ - "GET /repos/{owner}/{repo}/actions/workflows/{workflow_id}/timing": Operation<"/repos/{owner}/{repo}/actions/workflows/{workflow_id}/timing", "get">; - /** - * @see https://docs.github.com/rest/reference/issues#list-assignees - */ - "GET /repos/{owner}/{repo}/assignees": Operation<"/repos/{owner}/{repo}/assignees", "get">; - /** - * @see https://docs.github.com/rest/reference/issues#check-if-a-user-can-be-assigned - */ - "GET /repos/{owner}/{repo}/assignees/{assignee}": Operation<"/repos/{owner}/{repo}/assignees/{assignee}", "get">; - /** - * @see https://docs.github.com/rest/reference/repos#list-branches - */ - "GET /repos/{owner}/{repo}/branches": Operation<"/repos/{owner}/{repo}/branches", "get">; - /** - * @see https://docs.github.com/rest/reference/repos#get-a-branch - */ - "GET /repos/{owner}/{repo}/branches/{branch}": Operation<"/repos/{owner}/{repo}/branches/{branch}", "get">; - /** - * @see https://docs.github.com/rest/reference/repos#get-branch-protection - */ - "GET /repos/{owner}/{repo}/branches/{branch}/protection": Operation<"/repos/{owner}/{repo}/branches/{branch}/protection", "get">; - /** - * @see https://docs.github.com/rest/reference/repos#get-admin-branch-protection - */ - "GET /repos/{owner}/{repo}/branches/{branch}/protection/enforce_admins": Operation<"/repos/{owner}/{repo}/branches/{branch}/protection/enforce_admins", "get">; - /** - * @see https://docs.github.com/rest/reference/repos#get-pull-request-review-protection - */ - "GET /repos/{owner}/{repo}/branches/{branch}/protection/required_pull_request_reviews": Operation<"/repos/{owner}/{repo}/branches/{branch}/protection/required_pull_request_reviews", "get">; - /** - * @see https://docs.github.com/rest/reference/repos#get-commit-signature-protection - */ - "GET /repos/{owner}/{repo}/branches/{branch}/protection/required_signatures": Operation<"/repos/{owner}/{repo}/branches/{branch}/protection/required_signatures", "get", "zzzax">; - /** - * @see https://docs.github.com/rest/reference/repos#get-status-checks-protection - */ - "GET /repos/{owner}/{repo}/branches/{branch}/protection/required_status_checks": Operation<"/repos/{owner}/{repo}/branches/{branch}/protection/required_status_checks", "get">; - /** - * @see https://docs.github.com/rest/reference/repos#get-all-status-check-contexts - */ - "GET /repos/{owner}/{repo}/branches/{branch}/protection/required_status_checks/contexts": Operation<"/repos/{owner}/{repo}/branches/{branch}/protection/required_status_checks/contexts", "get">; - /** - * @see https://docs.github.com/rest/reference/repos#get-access-restrictions - */ - "GET /repos/{owner}/{repo}/branches/{branch}/protection/restrictions": Operation<"/repos/{owner}/{repo}/branches/{branch}/protection/restrictions", "get">; - /** - * @see https://docs.github.com/rest/reference/repos#list-apps-with-access-to-the-protected-branch - */ - "GET /repos/{owner}/{repo}/branches/{branch}/protection/restrictions/apps": Operation<"/repos/{owner}/{repo}/branches/{branch}/protection/restrictions/apps", "get">; - /** - * @see https://docs.github.com/rest/reference/repos#list-teams-with-access-to-the-protected-branch - */ - "GET /repos/{owner}/{repo}/branches/{branch}/protection/restrictions/teams": Operation<"/repos/{owner}/{repo}/branches/{branch}/protection/restrictions/teams", "get">; - /** - * @see https://docs.github.com/rest/reference/repos#list-users-with-access-to-the-protected-branch - */ - "GET /repos/{owner}/{repo}/branches/{branch}/protection/restrictions/users": Operation<"/repos/{owner}/{repo}/branches/{branch}/protection/restrictions/users", "get">; - /** - * @see https://docs.github.com/rest/reference/checks#get-a-check-run - */ - "GET /repos/{owner}/{repo}/check-runs/{check_run_id}": Operation<"/repos/{owner}/{repo}/check-runs/{check_run_id}", "get">; - /** - * @see https://docs.github.com/rest/reference/checks#list-check-run-annotations - */ - "GET /repos/{owner}/{repo}/check-runs/{check_run_id}/annotations": Operation<"/repos/{owner}/{repo}/check-runs/{check_run_id}/annotations", "get">; - /** - * @see https://docs.github.com/rest/reference/checks#get-a-check-suite - */ - "GET /repos/{owner}/{repo}/check-suites/{check_suite_id}": Operation<"/repos/{owner}/{repo}/check-suites/{check_suite_id}", "get">; - /** - * @see https://docs.github.com/rest/reference/checks#list-check-runs-in-a-check-suite - */ - "GET /repos/{owner}/{repo}/check-suites/{check_suite_id}/check-runs": Operation<"/repos/{owner}/{repo}/check-suites/{check_suite_id}/check-runs", "get">; - /** - * @see https://docs.github.com/rest/reference/code-scanning#list-code-scanning-alerts-for-a-repository - */ - "GET /repos/{owner}/{repo}/code-scanning/alerts": Operation<"/repos/{owner}/{repo}/code-scanning/alerts", "get">; - /** - * @see https://docs.github.com/rest/reference/code-scanning#get-a-code-scanning-alert - * @deprecated "alert_id" is now "alert_number" - */ - "GET /repos/{owner}/{repo}/code-scanning/alerts/{alert_id}": Operation<"/repos/{owner}/{repo}/code-scanning/alerts/{alert_number}", "get">; - /** - * @see https://docs.github.com/rest/reference/code-scanning#get-a-code-scanning-alert - */ - "GET /repos/{owner}/{repo}/code-scanning/alerts/{alert_number}": Operation<"/repos/{owner}/{repo}/code-scanning/alerts/{alert_number}", "get">; - /** - * @see https://docs.github.com/rest/reference/code-scanning#list-instances-of-a-code-scanning-alert - */ - "GET /repos/{owner}/{repo}/code-scanning/alerts/{alert_number}/instances": Operation<"/repos/{owner}/{repo}/code-scanning/alerts/{alert_number}/instances", "get">; - /** - * @see https://docs.github.com/rest/reference/code-scanning#list-code-scanning-analyses-for-a-repository - */ - "GET /repos/{owner}/{repo}/code-scanning/analyses": Operation<"/repos/{owner}/{repo}/code-scanning/analyses", "get">; - /** - * @see https://docs.github.com/rest/reference/code-scanning#get-a-code-scanning-analysis-for-a-repository - */ - "GET /repos/{owner}/{repo}/code-scanning/analyses/{analysis_id}": Operation<"/repos/{owner}/{repo}/code-scanning/analyses/{analysis_id}", "get">; - /** - * @see https://docs.github.com/rest/reference/code-scanning#list-recent-code-scanning-analyses-for-a-repository - */ - "GET /repos/{owner}/{repo}/code-scanning/sarifs/{sarif_id}": Operation<"/repos/{owner}/{repo}/code-scanning/sarifs/{sarif_id}", "get">; - /** - * @see https://docs.github.com/rest/reference/repos#list-repository-collaborators - */ - "GET /repos/{owner}/{repo}/collaborators": Operation<"/repos/{owner}/{repo}/collaborators", "get">; - /** - * @see https://docs.github.com/rest/reference/repos#check-if-a-user-is-a-repository-collaborator - */ - "GET /repos/{owner}/{repo}/collaborators/{username}": Operation<"/repos/{owner}/{repo}/collaborators/{username}", "get">; - /** - * @see https://docs.github.com/rest/reference/repos#get-repository-permissions-for-a-user - */ - "GET /repos/{owner}/{repo}/collaborators/{username}/permission": Operation<"/repos/{owner}/{repo}/collaborators/{username}/permission", "get">; - /** - * @see https://docs.github.com/rest/reference/repos#list-commit-comments-for-a-repository - */ - "GET /repos/{owner}/{repo}/comments": Operation<"/repos/{owner}/{repo}/comments", "get">; - /** - * @see https://docs.github.com/rest/reference/repos#get-a-commit-comment - */ - "GET /repos/{owner}/{repo}/comments/{comment_id}": Operation<"/repos/{owner}/{repo}/comments/{comment_id}", "get">; - /** - * @see https://docs.github.com/rest/reference/reactions#list-reactions-for-a-commit-comment - */ - "GET /repos/{owner}/{repo}/comments/{comment_id}/reactions": Operation<"/repos/{owner}/{repo}/comments/{comment_id}/reactions", "get", "squirrel-girl">; - /** - * @see https://docs.github.com/rest/reference/repos#list-commits - */ - "GET /repos/{owner}/{repo}/commits": Operation<"/repos/{owner}/{repo}/commits", "get">; - /** - * @see https://docs.github.com/rest/reference/repos#list-branches-for-head-commit - */ - "GET /repos/{owner}/{repo}/commits/{commit_sha}/branches-where-head": Operation<"/repos/{owner}/{repo}/commits/{commit_sha}/branches-where-head", "get", "groot">; - /** - * @see https://docs.github.com/rest/reference/repos#list-commit-comments - */ - "GET /repos/{owner}/{repo}/commits/{commit_sha}/comments": Operation<"/repos/{owner}/{repo}/commits/{commit_sha}/comments", "get">; - /** - * @see https://docs.github.com/rest/reference/repos#list-pull-requests-associated-with-a-commit - */ - "GET /repos/{owner}/{repo}/commits/{commit_sha}/pulls": Operation<"/repos/{owner}/{repo}/commits/{commit_sha}/pulls", "get", "groot">; - /** - * @see https://docs.github.com/rest/reference/repos#get-a-commit - */ - "GET /repos/{owner}/{repo}/commits/{ref}": Operation<"/repos/{owner}/{repo}/commits/{ref}", "get">; - /** - * @see https://docs.github.com/rest/reference/checks#list-check-runs-for-a-git-reference - */ - "GET /repos/{owner}/{repo}/commits/{ref}/check-runs": Operation<"/repos/{owner}/{repo}/commits/{ref}/check-runs", "get">; - /** - * @see https://docs.github.com/rest/reference/checks#list-check-suites-for-a-git-reference - */ - "GET /repos/{owner}/{repo}/commits/{ref}/check-suites": Operation<"/repos/{owner}/{repo}/commits/{ref}/check-suites", "get">; - /** - * @see https://docs.github.com/rest/reference/repos#get-the-combined-status-for-a-specific-reference - */ - "GET /repos/{owner}/{repo}/commits/{ref}/status": Operation<"/repos/{owner}/{repo}/commits/{ref}/status", "get">; - /** - * @see https://docs.github.com/rest/reference/repos#list-commit-statuses-for-a-reference - */ - "GET /repos/{owner}/{repo}/commits/{ref}/statuses": Operation<"/repos/{owner}/{repo}/commits/{ref}/statuses", "get">; - /** - * @see https://docs.github.com/rest/reference/codes-of-conduct#get-the-code-of-conduct-for-a-repository - */ - "GET /repos/{owner}/{repo}/community/code_of_conduct": Operation<"/repos/{owner}/{repo}/community/code_of_conduct", "get", "scarlet-witch">; - /** - * @see https://docs.github.com/rest/reference/repos#get-community-profile-metrics - */ - "GET /repos/{owner}/{repo}/community/profile": Operation<"/repos/{owner}/{repo}/community/profile", "get">; - /** - * @see https://docs.github.com/rest/reference/repos#compare-two-commits - */ - "GET /repos/{owner}/{repo}/compare/{basehead}": Operation<"/repos/{owner}/{repo}/compare/{basehead}", "get">; - /** - * @see https://docs.github.com/rest/reference/repos#compare-two-commits - */ - "GET /repos/{owner}/{repo}/compare/{base}...{head}": Operation<"/repos/{owner}/{repo}/compare/{base}...{head}", "get">; - /** - * @see https://docs.github.com/rest/reference/repos#get-repository-content - */ - "GET /repos/{owner}/{repo}/contents/{path}": Operation<"/repos/{owner}/{repo}/contents/{path}", "get">; - /** - * @see https://docs.github.com/rest/reference/repos#list-repository-contributors - */ - "GET /repos/{owner}/{repo}/contributors": Operation<"/repos/{owner}/{repo}/contributors", "get">; - /** - * @see https://docs.github.com/rest/reference/repos#list-deployments - */ - "GET /repos/{owner}/{repo}/deployments": Operation<"/repos/{owner}/{repo}/deployments", "get">; - /** - * @see https://docs.github.com/rest/reference/repos#get-a-deployment - */ - "GET /repos/{owner}/{repo}/deployments/{deployment_id}": Operation<"/repos/{owner}/{repo}/deployments/{deployment_id}", "get">; - /** - * @see https://docs.github.com/rest/reference/repos#list-deployment-statuses - */ - "GET /repos/{owner}/{repo}/deployments/{deployment_id}/statuses": Operation<"/repos/{owner}/{repo}/deployments/{deployment_id}/statuses", "get">; - /** - * @see https://docs.github.com/rest/reference/repos#get-a-deployment-status - */ - "GET /repos/{owner}/{repo}/deployments/{deployment_id}/statuses/{status_id}": Operation<"/repos/{owner}/{repo}/deployments/{deployment_id}/statuses/{status_id}", "get">; - /** - * @see https://docs.github.com/rest/reference/repos#get-all-environments - */ - "GET /repos/{owner}/{repo}/environments": Operation<"/repos/{owner}/{repo}/environments", "get">; - /** - * @see https://docs.github.com/rest/reference/repos#get-an-environment - */ - "GET /repos/{owner}/{repo}/environments/{environment_name}": Operation<"/repos/{owner}/{repo}/environments/{environment_name}", "get">; - /** - * @see https://docs.github.com/rest/reference/activity#list-repository-events - */ - "GET /repos/{owner}/{repo}/events": Operation<"/repos/{owner}/{repo}/events", "get">; - /** - * @see https://docs.github.com/rest/reference/repos#list-forks - */ - "GET /repos/{owner}/{repo}/forks": Operation<"/repos/{owner}/{repo}/forks", "get">; - /** - * @see https://docs.github.com/rest/reference/git#get-a-blob - */ - "GET /repos/{owner}/{repo}/git/blobs/{file_sha}": Operation<"/repos/{owner}/{repo}/git/blobs/{file_sha}", "get">; - /** - * @see https://docs.github.com/rest/reference/git#get-a-commit - */ - "GET /repos/{owner}/{repo}/git/commits/{commit_sha}": Operation<"/repos/{owner}/{repo}/git/commits/{commit_sha}", "get">; - /** - * @see https://docs.github.com/rest/reference/git#list-matching-references - */ - "GET /repos/{owner}/{repo}/git/matching-refs/{ref}": Operation<"/repos/{owner}/{repo}/git/matching-refs/{ref}", "get">; - /** - * @see https://docs.github.com/rest/reference/git#get-a-reference - */ - "GET /repos/{owner}/{repo}/git/ref/{ref}": Operation<"/repos/{owner}/{repo}/git/ref/{ref}", "get">; - /** - * @see https://docs.github.com/rest/reference/git#get-a-tag - */ - "GET /repos/{owner}/{repo}/git/tags/{tag_sha}": Operation<"/repos/{owner}/{repo}/git/tags/{tag_sha}", "get">; - /** - * @see https://docs.github.com/rest/reference/git#get-a-tree - */ - "GET /repos/{owner}/{repo}/git/trees/{tree_sha}": Operation<"/repos/{owner}/{repo}/git/trees/{tree_sha}", "get">; - /** - * @see https://docs.github.com/rest/reference/repos#list-repository-webhooks - */ - "GET /repos/{owner}/{repo}/hooks": Operation<"/repos/{owner}/{repo}/hooks", "get">; - /** - * @see https://docs.github.com/rest/reference/repos#get-a-repository-webhook - */ - "GET /repos/{owner}/{repo}/hooks/{hook_id}": Operation<"/repos/{owner}/{repo}/hooks/{hook_id}", "get">; - /** - * @see https://docs.github.com/rest/reference/repos#get-a-webhook-configuration-for-a-repository - */ - "GET /repos/{owner}/{repo}/hooks/{hook_id}/config": Operation<"/repos/{owner}/{repo}/hooks/{hook_id}/config", "get">; - /** - * @see https://docs.github.com/rest/reference/repos#list-deliveries-for-a-repository-webhook - */ - "GET /repos/{owner}/{repo}/hooks/{hook_id}/deliveries": Operation<"/repos/{owner}/{repo}/hooks/{hook_id}/deliveries", "get">; - /** - * @see https://docs.github.com/rest/reference/repos#get-a-delivery-for-a-repository-webhook - */ - "GET /repos/{owner}/{repo}/hooks/{hook_id}/deliveries/{delivery_id}": Operation<"/repos/{owner}/{repo}/hooks/{hook_id}/deliveries/{delivery_id}", "get">; - /** - * @see https://docs.github.com/rest/reference/migrations#get-an-import-status - */ - "GET /repos/{owner}/{repo}/import": Operation<"/repos/{owner}/{repo}/import", "get">; - /** - * @see https://docs.github.com/rest/reference/migrations#get-commit-authors - */ - "GET /repos/{owner}/{repo}/import/authors": Operation<"/repos/{owner}/{repo}/import/authors", "get">; - /** - * @see https://docs.github.com/rest/reference/migrations#get-large-files - */ - "GET /repos/{owner}/{repo}/import/large_files": Operation<"/repos/{owner}/{repo}/import/large_files", "get">; - /** - * @see https://docs.github.com/rest/reference/apps#get-a-repository-installation-for-the-authenticated-app - */ - "GET /repos/{owner}/{repo}/installation": Operation<"/repos/{owner}/{repo}/installation", "get">; - /** - * @see https://docs.github.com/rest/reference/interactions#get-interaction-restrictions-for-a-repository - */ - "GET /repos/{owner}/{repo}/interaction-limits": Operation<"/repos/{owner}/{repo}/interaction-limits", "get">; - /** - * @see https://docs.github.com/rest/reference/repos#list-repository-invitations - */ - "GET /repos/{owner}/{repo}/invitations": Operation<"/repos/{owner}/{repo}/invitations", "get">; - /** - * @see https://docs.github.com/rest/reference/issues#list-repository-issues - */ - "GET /repos/{owner}/{repo}/issues": Operation<"/repos/{owner}/{repo}/issues", "get">; - /** - * @see https://docs.github.com/rest/reference/issues#list-issue-comments-for-a-repository - */ - "GET /repos/{owner}/{repo}/issues/comments": Operation<"/repos/{owner}/{repo}/issues/comments", "get">; - /** - * @see https://docs.github.com/rest/reference/issues#get-an-issue-comment - */ - "GET /repos/{owner}/{repo}/issues/comments/{comment_id}": Operation<"/repos/{owner}/{repo}/issues/comments/{comment_id}", "get">; - /** - * @see https://docs.github.com/rest/reference/reactions#list-reactions-for-an-issue-comment - */ - "GET /repos/{owner}/{repo}/issues/comments/{comment_id}/reactions": Operation<"/repos/{owner}/{repo}/issues/comments/{comment_id}/reactions", "get", "squirrel-girl">; - /** - * @see https://docs.github.com/rest/reference/issues#list-issue-events-for-a-repository - */ - "GET /repos/{owner}/{repo}/issues/events": Operation<"/repos/{owner}/{repo}/issues/events", "get">; - /** - * @see https://docs.github.com/rest/reference/issues#get-an-issue-event - */ - "GET /repos/{owner}/{repo}/issues/events/{event_id}": Operation<"/repos/{owner}/{repo}/issues/events/{event_id}", "get">; - /** - * @see https://docs.github.com/rest/reference/issues#get-an-issue - */ - "GET /repos/{owner}/{repo}/issues/{issue_number}": Operation<"/repos/{owner}/{repo}/issues/{issue_number}", "get">; - /** - * @see https://docs.github.com/rest/reference/issues#list-issue-comments - */ - "GET /repos/{owner}/{repo}/issues/{issue_number}/comments": Operation<"/repos/{owner}/{repo}/issues/{issue_number}/comments", "get">; - /** - * @see https://docs.github.com/rest/reference/issues#list-issue-events - */ - "GET /repos/{owner}/{repo}/issues/{issue_number}/events": Operation<"/repos/{owner}/{repo}/issues/{issue_number}/events", "get">; - /** - * @see https://docs.github.com/rest/reference/issues#list-labels-for-an-issue - */ - "GET /repos/{owner}/{repo}/issues/{issue_number}/labels": Operation<"/repos/{owner}/{repo}/issues/{issue_number}/labels", "get">; - /** - * @see https://docs.github.com/rest/reference/reactions#list-reactions-for-an-issue - */ - "GET /repos/{owner}/{repo}/issues/{issue_number}/reactions": Operation<"/repos/{owner}/{repo}/issues/{issue_number}/reactions", "get", "squirrel-girl">; - /** - * @see https://docs.github.com/rest/reference/issues#list-timeline-events-for-an-issue - */ - "GET /repos/{owner}/{repo}/issues/{issue_number}/timeline": Operation<"/repos/{owner}/{repo}/issues/{issue_number}/timeline", "get", "mockingbird">; - /** - * @see https://docs.github.com/rest/reference/repos#list-deploy-keys - */ - "GET /repos/{owner}/{repo}/keys": Operation<"/repos/{owner}/{repo}/keys", "get">; - /** - * @see https://docs.github.com/rest/reference/repos#get-a-deploy-key - */ - "GET /repos/{owner}/{repo}/keys/{key_id}": Operation<"/repos/{owner}/{repo}/keys/{key_id}", "get">; - /** - * @see https://docs.github.com/rest/reference/issues#list-labels-for-a-repository - */ - "GET /repos/{owner}/{repo}/labels": Operation<"/repos/{owner}/{repo}/labels", "get">; - /** - * @see https://docs.github.com/rest/reference/issues#get-a-label - */ - "GET /repos/{owner}/{repo}/labels/{name}": Operation<"/repos/{owner}/{repo}/labels/{name}", "get">; - /** - * @see https://docs.github.com/rest/reference/repos#list-repository-languages - */ - "GET /repos/{owner}/{repo}/languages": Operation<"/repos/{owner}/{repo}/languages", "get">; - /** - * @see https://docs.github.com/rest/reference/licenses/#get-the-license-for-a-repository - */ - "GET /repos/{owner}/{repo}/license": Operation<"/repos/{owner}/{repo}/license", "get">; - /** - * @see https://docs.github.com/rest/reference/issues#list-milestones - */ - "GET /repos/{owner}/{repo}/milestones": Operation<"/repos/{owner}/{repo}/milestones", "get">; - /** - * @see https://docs.github.com/rest/reference/issues#get-a-milestone - */ - "GET /repos/{owner}/{repo}/milestones/{milestone_number}": Operation<"/repos/{owner}/{repo}/milestones/{milestone_number}", "get">; - /** - * @see https://docs.github.com/rest/reference/issues#list-labels-for-issues-in-a-milestone - */ - "GET /repos/{owner}/{repo}/milestones/{milestone_number}/labels": Operation<"/repos/{owner}/{repo}/milestones/{milestone_number}/labels", "get">; - /** - * @see https://docs.github.com/rest/reference/activity#list-repository-notifications-for-the-authenticated-user - */ - "GET /repos/{owner}/{repo}/notifications": Operation<"/repos/{owner}/{repo}/notifications", "get">; - /** - * @see https://docs.github.com/rest/reference/repos#get-a-github-pages-site - */ - "GET /repos/{owner}/{repo}/pages": Operation<"/repos/{owner}/{repo}/pages", "get">; - /** - * @see https://docs.github.com/rest/reference/repos#list-github-pages-builds - */ - "GET /repos/{owner}/{repo}/pages/builds": Operation<"/repos/{owner}/{repo}/pages/builds", "get">; - /** - * @see https://docs.github.com/rest/reference/repos#get-latest-pages-build - */ - "GET /repos/{owner}/{repo}/pages/builds/latest": Operation<"/repos/{owner}/{repo}/pages/builds/latest", "get">; - /** - * @see https://docs.github.com/rest/reference/repos#get-github-pages-build - */ - "GET /repos/{owner}/{repo}/pages/builds/{build_id}": Operation<"/repos/{owner}/{repo}/pages/builds/{build_id}", "get">; - /** - * @see https://docs.github.com/rest/reference/repos#get-a-dns-health-check-for-github-pages - */ - "GET /repos/{owner}/{repo}/pages/health": Operation<"/repos/{owner}/{repo}/pages/health", "get">; - /** - * @see https://docs.github.com/rest/reference/projects#list-repository-projects - */ - "GET /repos/{owner}/{repo}/projects": Operation<"/repos/{owner}/{repo}/projects", "get", "inertia">; - /** - * @see https://docs.github.com/rest/reference/pulls#list-pull-requests - */ - "GET /repos/{owner}/{repo}/pulls": Operation<"/repos/{owner}/{repo}/pulls", "get">; - /** - * @see https://docs.github.com/rest/reference/pulls#list-review-comments-in-a-repository - */ - "GET /repos/{owner}/{repo}/pulls/comments": Operation<"/repos/{owner}/{repo}/pulls/comments", "get">; - /** - * @see https://docs.github.com/rest/reference/pulls#get-a-review-comment-for-a-pull-request - */ - "GET /repos/{owner}/{repo}/pulls/comments/{comment_id}": Operation<"/repos/{owner}/{repo}/pulls/comments/{comment_id}", "get">; - /** - * @see https://docs.github.com/rest/reference/reactions#list-reactions-for-a-pull-request-review-comment - */ - "GET /repos/{owner}/{repo}/pulls/comments/{comment_id}/reactions": Operation<"/repos/{owner}/{repo}/pulls/comments/{comment_id}/reactions", "get", "squirrel-girl">; - /** - * @see https://docs.github.com/rest/reference/pulls#get-a-pull-request - */ - "GET /repos/{owner}/{repo}/pulls/{pull_number}": Operation<"/repos/{owner}/{repo}/pulls/{pull_number}", "get">; - /** - * @see https://docs.github.com/rest/reference/pulls#list-review-comments-on-a-pull-request - */ - "GET /repos/{owner}/{repo}/pulls/{pull_number}/comments": Operation<"/repos/{owner}/{repo}/pulls/{pull_number}/comments", "get">; - /** - * @see https://docs.github.com/rest/reference/pulls#list-commits-on-a-pull-request - */ - "GET /repos/{owner}/{repo}/pulls/{pull_number}/commits": Operation<"/repos/{owner}/{repo}/pulls/{pull_number}/commits", "get">; - /** - * @see https://docs.github.com/rest/reference/pulls#list-pull-requests-files - */ - "GET /repos/{owner}/{repo}/pulls/{pull_number}/files": Operation<"/repos/{owner}/{repo}/pulls/{pull_number}/files", "get">; - /** - * @see https://docs.github.com/rest/reference/pulls#check-if-a-pull-request-has-been-merged - */ - "GET /repos/{owner}/{repo}/pulls/{pull_number}/merge": Operation<"/repos/{owner}/{repo}/pulls/{pull_number}/merge", "get">; - /** - * @see https://docs.github.com/rest/reference/pulls#list-requested-reviewers-for-a-pull-request - */ - "GET /repos/{owner}/{repo}/pulls/{pull_number}/requested_reviewers": Operation<"/repos/{owner}/{repo}/pulls/{pull_number}/requested_reviewers", "get">; - /** - * @see https://docs.github.com/rest/reference/pulls#list-reviews-for-a-pull-request - */ - "GET /repos/{owner}/{repo}/pulls/{pull_number}/reviews": Operation<"/repos/{owner}/{repo}/pulls/{pull_number}/reviews", "get">; - /** - * @see https://docs.github.com/rest/reference/pulls#get-a-review-for-a-pull-request - */ - "GET /repos/{owner}/{repo}/pulls/{pull_number}/reviews/{review_id}": Operation<"/repos/{owner}/{repo}/pulls/{pull_number}/reviews/{review_id}", "get">; - /** - * @see https://docs.github.com/rest/reference/pulls#list-comments-for-a-pull-request-review - */ - "GET /repos/{owner}/{repo}/pulls/{pull_number}/reviews/{review_id}/comments": Operation<"/repos/{owner}/{repo}/pulls/{pull_number}/reviews/{review_id}/comments", "get">; - /** - * @see https://docs.github.com/rest/reference/repos#get-a-repository-readme - */ - "GET /repos/{owner}/{repo}/readme": Operation<"/repos/{owner}/{repo}/readme", "get">; - /** - * @see https://docs.github.com/rest/reference/repos#get-a-repository-directory-readme - */ - "GET /repos/{owner}/{repo}/readme/{dir}": Operation<"/repos/{owner}/{repo}/readme/{dir}", "get">; - /** - * @see https://docs.github.com/rest/reference/repos#list-releases - */ - "GET /repos/{owner}/{repo}/releases": Operation<"/repos/{owner}/{repo}/releases", "get">; - /** - * @see https://docs.github.com/rest/reference/repos#get-a-release-asset - */ - "GET /repos/{owner}/{repo}/releases/assets/{asset_id}": Operation<"/repos/{owner}/{repo}/releases/assets/{asset_id}", "get">; - /** - * @see https://docs.github.com/rest/reference/repos#get-the-latest-release - */ - "GET /repos/{owner}/{repo}/releases/latest": Operation<"/repos/{owner}/{repo}/releases/latest", "get">; - /** - * @see https://docs.github.com/rest/reference/repos#get-a-release-by-tag-name - */ - "GET /repos/{owner}/{repo}/releases/tags/{tag}": Operation<"/repos/{owner}/{repo}/releases/tags/{tag}", "get">; - /** - * @see https://docs.github.com/rest/reference/repos#get-a-release - */ - "GET /repos/{owner}/{repo}/releases/{release_id}": Operation<"/repos/{owner}/{repo}/releases/{release_id}", "get">; - /** - * @see https://docs.github.com/rest/reference/repos#list-release-assets - */ - "GET /repos/{owner}/{repo}/releases/{release_id}/assets": Operation<"/repos/{owner}/{repo}/releases/{release_id}/assets", "get">; - /** - * @see https://docs.github.com/rest/reference/secret-scanning#list-secret-scanning-alerts-for-a-repository - */ - "GET /repos/{owner}/{repo}/secret-scanning/alerts": Operation<"/repos/{owner}/{repo}/secret-scanning/alerts", "get">; - /** - * @see https://docs.github.com/rest/reference/secret-scanning#get-a-secret-scanning-alert - */ - "GET /repos/{owner}/{repo}/secret-scanning/alerts/{alert_number}": Operation<"/repos/{owner}/{repo}/secret-scanning/alerts/{alert_number}", "get">; - /** - * @see https://docs.github.com/rest/reference/activity#list-stargazers - */ - "GET /repos/{owner}/{repo}/stargazers": Operation<"/repos/{owner}/{repo}/stargazers", "get">; - /** - * @see https://docs.github.com/rest/reference/repos#get-the-weekly-commit-activity - */ - "GET /repos/{owner}/{repo}/stats/code_frequency": Operation<"/repos/{owner}/{repo}/stats/code_frequency", "get">; - /** - * @see https://docs.github.com/rest/reference/repos#get-the-last-year-of-commit-activity - */ - "GET /repos/{owner}/{repo}/stats/commit_activity": Operation<"/repos/{owner}/{repo}/stats/commit_activity", "get">; - /** - * @see https://docs.github.com/rest/reference/repos#get-all-contributor-commit-activity - */ - "GET /repos/{owner}/{repo}/stats/contributors": Operation<"/repos/{owner}/{repo}/stats/contributors", "get">; - /** - * @see https://docs.github.com/rest/reference/repos#get-the-weekly-commit-count - */ - "GET /repos/{owner}/{repo}/stats/participation": Operation<"/repos/{owner}/{repo}/stats/participation", "get">; - /** - * @see https://docs.github.com/rest/reference/repos#get-the-hourly-commit-count-for-each-day - */ - "GET /repos/{owner}/{repo}/stats/punch_card": Operation<"/repos/{owner}/{repo}/stats/punch_card", "get">; - /** - * @see https://docs.github.com/rest/reference/activity#list-watchers - */ - "GET /repos/{owner}/{repo}/subscribers": Operation<"/repos/{owner}/{repo}/subscribers", "get">; - /** - * @see https://docs.github.com/rest/reference/activity#get-a-repository-subscription - */ - "GET /repos/{owner}/{repo}/subscription": Operation<"/repos/{owner}/{repo}/subscription", "get">; - /** - * @see https://docs.github.com/rest/reference/repos#list-repository-tags - */ - "GET /repos/{owner}/{repo}/tags": Operation<"/repos/{owner}/{repo}/tags", "get">; - /** - * @see https://docs.github.com/rest/reference/repos#download-a-repository-archive - */ - "GET /repos/{owner}/{repo}/tarball/{ref}": Operation<"/repos/{owner}/{repo}/tarball/{ref}", "get">; - /** - * @see https://docs.github.com/rest/reference/repos#list-repository-teams - */ - "GET /repos/{owner}/{repo}/teams": Operation<"/repos/{owner}/{repo}/teams", "get">; - /** - * @see https://docs.github.com/rest/reference/repos#get-all-repository-topics - */ - "GET /repos/{owner}/{repo}/topics": Operation<"/repos/{owner}/{repo}/topics", "get", "mercy">; - /** - * @see https://docs.github.com/rest/reference/repos#get-repository-clones - */ - "GET /repos/{owner}/{repo}/traffic/clones": Operation<"/repos/{owner}/{repo}/traffic/clones", "get">; - /** - * @see https://docs.github.com/rest/reference/repos#get-top-referral-paths - */ - "GET /repos/{owner}/{repo}/traffic/popular/paths": Operation<"/repos/{owner}/{repo}/traffic/popular/paths", "get">; - /** - * @see https://docs.github.com/rest/reference/repos#get-top-referral-sources - */ - "GET /repos/{owner}/{repo}/traffic/popular/referrers": Operation<"/repos/{owner}/{repo}/traffic/popular/referrers", "get">; - /** - * @see https://docs.github.com/rest/reference/repos#get-page-views - */ - "GET /repos/{owner}/{repo}/traffic/views": Operation<"/repos/{owner}/{repo}/traffic/views", "get">; - /** - * @see https://docs.github.com/rest/reference/repos#check-if-vulnerability-alerts-are-enabled-for-a-repository - */ - "GET /repos/{owner}/{repo}/vulnerability-alerts": Operation<"/repos/{owner}/{repo}/vulnerability-alerts", "get", "dorian">; - /** - * @see https://docs.github.com/rest/reference/repos#download-a-repository-archive - */ - "GET /repos/{owner}/{repo}/zipball/{ref}": Operation<"/repos/{owner}/{repo}/zipball/{ref}", "get">; - /** - * @see https://docs.github.com/rest/reference/repos#list-public-repositories - */ - "GET /repositories": Operation<"/repositories", "get">; - /** - * @see https://docs.github.com/rest/reference/actions#list-environment-secrets - */ - "GET /repositories/{repository_id}/environments/{environment_name}/secrets": Operation<"/repositories/{repository_id}/environments/{environment_name}/secrets", "get">; - /** - * @see https://docs.github.com/rest/reference/actions#get-an-environment-public-key - */ - "GET /repositories/{repository_id}/environments/{environment_name}/secrets/public-key": Operation<"/repositories/{repository_id}/environments/{environment_name}/secrets/public-key", "get">; - /** - * @see https://docs.github.com/rest/reference/actions#get-an-environment-secret - */ - "GET /repositories/{repository_id}/environments/{environment_name}/secrets/{secret_name}": Operation<"/repositories/{repository_id}/environments/{environment_name}/secrets/{secret_name}", "get">; - /** - * @see https://docs.github.com/rest/reference/enterprise-admin#list-provisioned-scim-groups-for-an-enterprise - */ - "GET /scim/v2/enterprises/{enterprise}/Groups": Operation<"/scim/v2/enterprises/{enterprise}/Groups", "get">; - /** - * @see https://docs.github.com/rest/reference/enterprise-admin#get-scim-provisioning-information-for-an-enterprise-group - */ - "GET /scim/v2/enterprises/{enterprise}/Groups/{scim_group_id}": Operation<"/scim/v2/enterprises/{enterprise}/Groups/{scim_group_id}", "get">; - /** - * @see https://docs.github.com/rest/reference/enterprise-admin#list-scim-provisioned-identities-for-an-enterprise - */ - "GET /scim/v2/enterprises/{enterprise}/Users": Operation<"/scim/v2/enterprises/{enterprise}/Users", "get">; - /** - * @see https://docs.github.com/rest/reference/enterprise-admin#get-scim-provisioning-information-for-an-enterprise-user - */ - "GET /scim/v2/enterprises/{enterprise}/Users/{scim_user_id}": Operation<"/scim/v2/enterprises/{enterprise}/Users/{scim_user_id}", "get">; - /** - * @see https://docs.github.com/rest/reference/scim#list-scim-provisioned-identities - */ - "GET /scim/v2/organizations/{org}/Users": Operation<"/scim/v2/organizations/{org}/Users", "get">; - /** - * @see https://docs.github.com/rest/reference/scim#get-scim-provisioning-information-for-a-user - */ - "GET /scim/v2/organizations/{org}/Users/{scim_user_id}": Operation<"/scim/v2/organizations/{org}/Users/{scim_user_id}", "get">; - /** - * @see https://docs.github.com/rest/reference/search#search-code - */ - "GET /search/code": Operation<"/search/code", "get">; - /** - * @see https://docs.github.com/rest/reference/search#search-commits - */ - "GET /search/commits": Operation<"/search/commits", "get", "cloak">; - /** - * @see https://docs.github.com/rest/reference/search#search-issues-and-pull-requests - */ - "GET /search/issues": Operation<"/search/issues", "get">; - /** - * @see https://docs.github.com/rest/reference/search#search-labels - */ - "GET /search/labels": Operation<"/search/labels", "get">; - /** - * @see https://docs.github.com/rest/reference/search#search-repositories - */ - "GET /search/repositories": Operation<"/search/repositories", "get">; - /** - * @see https://docs.github.com/rest/reference/search#search-topics - */ - "GET /search/topics": Operation<"/search/topics", "get", "mercy">; - /** - * @see https://docs.github.com/rest/reference/search#search-users - */ - "GET /search/users": Operation<"/search/users", "get">; - /** - * @see https://docs.github.com/rest/reference/teams/#get-a-team-legacy - */ - "GET /teams/{team_id}": Operation<"/teams/{team_id}", "get">; - /** - * @see https://docs.github.com/rest/reference/teams#list-discussions-legacy - */ - "GET /teams/{team_id}/discussions": Operation<"/teams/{team_id}/discussions", "get">; - /** - * @see https://docs.github.com/rest/reference/teams#get-a-discussion-legacy - */ - "GET /teams/{team_id}/discussions/{discussion_number}": Operation<"/teams/{team_id}/discussions/{discussion_number}", "get">; - /** - * @see https://docs.github.com/rest/reference/teams#list-discussion-comments-legacy - */ - "GET /teams/{team_id}/discussions/{discussion_number}/comments": Operation<"/teams/{team_id}/discussions/{discussion_number}/comments", "get">; - /** - * @see https://docs.github.com/rest/reference/teams#get-a-discussion-comment-legacy - */ - "GET /teams/{team_id}/discussions/{discussion_number}/comments/{comment_number}": Operation<"/teams/{team_id}/discussions/{discussion_number}/comments/{comment_number}", "get">; - /** - * @see https://docs.github.com/rest/reference/reactions/#list-reactions-for-a-team-discussion-comment-legacy - */ - "GET /teams/{team_id}/discussions/{discussion_number}/comments/{comment_number}/reactions": Operation<"/teams/{team_id}/discussions/{discussion_number}/comments/{comment_number}/reactions", "get", "squirrel-girl">; - /** - * @see https://docs.github.com/rest/reference/reactions/#list-reactions-for-a-team-discussion-legacy - */ - "GET /teams/{team_id}/discussions/{discussion_number}/reactions": Operation<"/teams/{team_id}/discussions/{discussion_number}/reactions", "get", "squirrel-girl">; - /** - * @see https://docs.github.com/rest/reference/teams#list-pending-team-invitations-legacy - */ - "GET /teams/{team_id}/invitations": Operation<"/teams/{team_id}/invitations", "get">; - /** - * @see https://docs.github.com/rest/reference/teams#list-team-members-legacy - */ - "GET /teams/{team_id}/members": Operation<"/teams/{team_id}/members", "get">; - /** - * @see https://docs.github.com/rest/reference/teams#get-team-member-legacy - */ - "GET /teams/{team_id}/members/{username}": Operation<"/teams/{team_id}/members/{username}", "get">; - /** - * @see https://docs.github.com/rest/reference/teams#get-team-membership-for-a-user-legacy - */ - "GET /teams/{team_id}/memberships/{username}": Operation<"/teams/{team_id}/memberships/{username}", "get">; - /** - * @see https://docs.github.com/rest/reference/teams/#list-team-projects-legacy - */ - "GET /teams/{team_id}/projects": Operation<"/teams/{team_id}/projects", "get", "inertia">; - /** - * @see https://docs.github.com/rest/reference/teams/#check-team-permissions-for-a-project-legacy - */ - "GET /teams/{team_id}/projects/{project_id}": Operation<"/teams/{team_id}/projects/{project_id}", "get", "inertia">; - /** - * @see https://docs.github.com/rest/reference/teams/#list-team-repositories-legacy - */ - "GET /teams/{team_id}/repos": Operation<"/teams/{team_id}/repos", "get">; - /** - * @see https://docs.github.com/rest/reference/teams/#check-team-permissions-for-a-repository-legacy - */ - "GET /teams/{team_id}/repos/{owner}/{repo}": Operation<"/teams/{team_id}/repos/{owner}/{repo}", "get">; - /** - * @see https://docs.github.com/rest/reference/teams#list-idp-groups-for-a-team-legacy - */ - "GET /teams/{team_id}/team-sync/group-mappings": Operation<"/teams/{team_id}/team-sync/group-mappings", "get">; - /** - * @see https://docs.github.com/rest/reference/teams/#list-child-teams-legacy - */ - "GET /teams/{team_id}/teams": Operation<"/teams/{team_id}/teams", "get">; - /** - * @see https://docs.github.com/rest/reference/users#get-the-authenticated-user - */ - "GET /user": Operation<"/user", "get">; - /** - * @see https://docs.github.com/rest/reference/users#list-users-blocked-by-the-authenticated-user - */ - "GET /user/blocks": Operation<"/user/blocks", "get">; - /** - * @see https://docs.github.com/rest/reference/users#check-if-a-user-is-blocked-by-the-authenticated-user - */ - "GET /user/blocks/{username}": Operation<"/user/blocks/{username}", "get">; - /** - * @see https://docs.github.com/rest/reference/users#list-email-addresses-for-the-authenticated-user - */ - "GET /user/emails": Operation<"/user/emails", "get">; - /** - * @see https://docs.github.com/rest/reference/users#list-followers-of-the-authenticated-user - */ - "GET /user/followers": Operation<"/user/followers", "get">; - /** - * @see https://docs.github.com/rest/reference/users#list-the-people-the-authenticated-user-follows - */ - "GET /user/following": Operation<"/user/following", "get">; - /** - * @see https://docs.github.com/rest/reference/users#check-if-a-person-is-followed-by-the-authenticated-user - */ - "GET /user/following/{username}": Operation<"/user/following/{username}", "get">; - /** - * @see https://docs.github.com/rest/reference/users#list-gpg-keys-for-the-authenticated-user - */ - "GET /user/gpg_keys": Operation<"/user/gpg_keys", "get">; - /** - * @see https://docs.github.com/rest/reference/users#get-a-gpg-key-for-the-authenticated-user - */ - "GET /user/gpg_keys/{gpg_key_id}": Operation<"/user/gpg_keys/{gpg_key_id}", "get">; - /** - * @see https://docs.github.com/rest/reference/apps#list-app-installations-accessible-to-the-user-access-token - */ - "GET /user/installations": Operation<"/user/installations", "get">; - /** - * @see https://docs.github.com/rest/reference/apps#list-repositories-accessible-to-the-user-access-token - */ - "GET /user/installations/{installation_id}/repositories": Operation<"/user/installations/{installation_id}/repositories", "get">; - /** - * @see https://docs.github.com/rest/reference/interactions#get-interaction-restrictions-for-your-public-repositories - */ - "GET /user/interaction-limits": Operation<"/user/interaction-limits", "get">; - /** - * @see https://docs.github.com/rest/reference/issues#list-user-account-issues-assigned-to-the-authenticated-user - */ - "GET /user/issues": Operation<"/user/issues", "get">; - /** - * @see https://docs.github.com/rest/reference/users#list-public-ssh-keys-for-the-authenticated-user - */ - "GET /user/keys": Operation<"/user/keys", "get">; - /** - * @see https://docs.github.com/rest/reference/users#get-a-public-ssh-key-for-the-authenticated-user - */ - "GET /user/keys/{key_id}": Operation<"/user/keys/{key_id}", "get">; - /** - * @see https://docs.github.com/rest/reference/apps#list-subscriptions-for-the-authenticated-user - */ - "GET /user/marketplace_purchases": Operation<"/user/marketplace_purchases", "get">; - /** - * @see https://docs.github.com/rest/reference/apps#list-subscriptions-for-the-authenticated-user-stubbed - */ - "GET /user/marketplace_purchases/stubbed": Operation<"/user/marketplace_purchases/stubbed", "get">; - /** - * @see https://docs.github.com/rest/reference/orgs#list-organization-memberships-for-the-authenticated-user - */ - "GET /user/memberships/orgs": Operation<"/user/memberships/orgs", "get">; - /** - * @see https://docs.github.com/rest/reference/orgs#get-an-organization-membership-for-the-authenticated-user - */ - "GET /user/memberships/orgs/{org}": Operation<"/user/memberships/orgs/{org}", "get">; - /** - * @see https://docs.github.com/rest/reference/migrations#list-user-migrations - */ - "GET /user/migrations": Operation<"/user/migrations", "get", "wyandotte">; - /** - * @see https://docs.github.com/rest/reference/migrations#get-a-user-migration-status - */ - "GET /user/migrations/{migration_id}": Operation<"/user/migrations/{migration_id}", "get", "wyandotte">; - /** - * @see https://docs.github.com/rest/reference/migrations#download-a-user-migration-archive - */ - "GET /user/migrations/{migration_id}/archive": Operation<"/user/migrations/{migration_id}/archive", "get", "wyandotte">; - /** - * @see https://docs.github.com/rest/reference/migrations#list-repositories-for-a-user-migration - */ - "GET /user/migrations/{migration_id}/repositories": Operation<"/user/migrations/{migration_id}/repositories", "get", "wyandotte">; - /** - * @see https://docs.github.com/rest/reference/orgs#list-organizations-for-the-authenticated-user - */ - "GET /user/orgs": Operation<"/user/orgs", "get">; - /** - * @see https://docs.github.com/rest/reference/packages#get-a-package-for-the-authenticated-user - */ - "GET /user/packages/{package_type}/{package_name}": Operation<"/user/packages/{package_type}/{package_name}", "get">; - /** - * @see https://docs.github.com/rest/reference/packages#get-all-package-versions-for-a-package-owned-by-the-authenticated-user - */ - "GET /user/packages/{package_type}/{package_name}/versions": Operation<"/user/packages/{package_type}/{package_name}/versions", "get">; - /** - * @see https://docs.github.com/rest/reference/packages#get-a-package-version-for-the-authenticated-user - */ - "GET /user/packages/{package_type}/{package_name}/versions/{package_version_id}": Operation<"/user/packages/{package_type}/{package_name}/versions/{package_version_id}", "get">; - /** - * @see https://docs.github.com/rest/reference/users#list-public-email-addresses-for-the-authenticated-user - */ - "GET /user/public_emails": Operation<"/user/public_emails", "get">; - /** - * @see https://docs.github.com/rest/reference/repos#list-repositories-for-the-authenticated-user - */ - "GET /user/repos": Operation<"/user/repos", "get">; - /** - * @see https://docs.github.com/rest/reference/repos#list-repository-invitations-for-the-authenticated-user - */ - "GET /user/repository_invitations": Operation<"/user/repository_invitations", "get">; - /** - * @see https://docs.github.com/rest/reference/activity#list-repositories-starred-by-the-authenticated-user - */ - "GET /user/starred": Operation<"/user/starred", "get">; - /** - * @see https://docs.github.com/rest/reference/activity#check-if-a-repository-is-starred-by-the-authenticated-user - */ - "GET /user/starred/{owner}/{repo}": Operation<"/user/starred/{owner}/{repo}", "get">; - /** - * @see https://docs.github.com/rest/reference/activity#list-repositories-watched-by-the-authenticated-user - */ - "GET /user/subscriptions": Operation<"/user/subscriptions", "get">; - /** - * @see https://docs.github.com/rest/reference/teams#list-teams-for-the-authenticated-user - */ - "GET /user/teams": Operation<"/user/teams", "get">; - /** - * @see https://docs.github.com/rest/reference/users#list-users - */ - "GET /users": Operation<"/users", "get">; - /** - * @see https://docs.github.com/rest/reference/users#get-a-user - */ - "GET /users/{username}": Operation<"/users/{username}", "get">; - /** - * @see https://docs.github.com/rest/reference/activity#list-events-for-the-authenticated-user - */ - "GET /users/{username}/events": Operation<"/users/{username}/events", "get">; - /** - * @see https://docs.github.com/rest/reference/activity#list-organization-events-for-the-authenticated-user - */ - "GET /users/{username}/events/orgs/{org}": Operation<"/users/{username}/events/orgs/{org}", "get">; - /** - * @see https://docs.github.com/rest/reference/activity#list-public-events-for-a-user - */ - "GET /users/{username}/events/public": Operation<"/users/{username}/events/public", "get">; - /** - * @see https://docs.github.com/rest/reference/users#list-followers-of-a-user - */ - "GET /users/{username}/followers": Operation<"/users/{username}/followers", "get">; - /** - * @see https://docs.github.com/rest/reference/users#list-the-people-a-user-follows - */ - "GET /users/{username}/following": Operation<"/users/{username}/following", "get">; - /** - * @see https://docs.github.com/rest/reference/users#check-if-a-user-follows-another-user - */ - "GET /users/{username}/following/{target_user}": Operation<"/users/{username}/following/{target_user}", "get">; - /** - * @see https://docs.github.com/rest/reference/gists#list-gists-for-a-user - */ - "GET /users/{username}/gists": Operation<"/users/{username}/gists", "get">; - /** - * @see https://docs.github.com/rest/reference/users#list-gpg-keys-for-a-user - */ - "GET /users/{username}/gpg_keys": Operation<"/users/{username}/gpg_keys", "get">; - /** - * @see https://docs.github.com/rest/reference/users#get-contextual-information-for-a-user - */ - "GET /users/{username}/hovercard": Operation<"/users/{username}/hovercard", "get">; - /** - * @see https://docs.github.com/rest/reference/apps#get-a-user-installation-for-the-authenticated-app - */ - "GET /users/{username}/installation": Operation<"/users/{username}/installation", "get">; - /** - * @see https://docs.github.com/rest/reference/users#list-public-keys-for-a-user - */ - "GET /users/{username}/keys": Operation<"/users/{username}/keys", "get">; - /** - * @see https://docs.github.com/rest/reference/orgs#list-organizations-for-a-user - */ - "GET /users/{username}/orgs": Operation<"/users/{username}/orgs", "get">; - /** - * @see https://docs.github.com/rest/reference/packages#get-a-package-for-a-user - */ - "GET /users/{username}/packages/{package_type}/{package_name}": Operation<"/users/{username}/packages/{package_type}/{package_name}", "get">; - /** - * @see https://docs.github.com/rest/reference/packages#get-all-package-versions-for-a-package-owned-by-a-user - */ - "GET /users/{username}/packages/{package_type}/{package_name}/versions": Operation<"/users/{username}/packages/{package_type}/{package_name}/versions", "get">; - /** - * @see https://docs.github.com/rest/reference/packages#get-a-package-version-for-a-user - */ - "GET /users/{username}/packages/{package_type}/{package_name}/versions/{package_version_id}": Operation<"/users/{username}/packages/{package_type}/{package_name}/versions/{package_version_id}", "get">; - /** - * @see https://docs.github.com/rest/reference/projects#list-user-projects - */ - "GET /users/{username}/projects": Operation<"/users/{username}/projects", "get", "inertia">; - /** - * @see https://docs.github.com/rest/reference/activity#list-events-received-by-the-authenticated-user - */ - "GET /users/{username}/received_events": Operation<"/users/{username}/received_events", "get">; - /** - * @see https://docs.github.com/rest/reference/activity#list-public-events-received-by-a-user - */ - "GET /users/{username}/received_events/public": Operation<"/users/{username}/received_events/public", "get">; - /** - * @see https://docs.github.com/rest/reference/repos#list-repositories-for-a-user - */ - "GET /users/{username}/repos": Operation<"/users/{username}/repos", "get">; - /** - * @see https://docs.github.com/rest/reference/billing#get-github-actions-billing-for-a-user - */ - "GET /users/{username}/settings/billing/actions": Operation<"/users/{username}/settings/billing/actions", "get">; - /** - * @see https://docs.github.com/rest/reference/billing#get-github-packages-billing-for-a-user - */ - "GET /users/{username}/settings/billing/packages": Operation<"/users/{username}/settings/billing/packages", "get">; - /** - * @see https://docs.github.com/rest/reference/billing#get-shared-storage-billing-for-a-user - */ - "GET /users/{username}/settings/billing/shared-storage": Operation<"/users/{username}/settings/billing/shared-storage", "get">; - /** - * @see https://docs.github.com/rest/reference/activity#list-repositories-starred-by-a-user - */ - "GET /users/{username}/starred": Operation<"/users/{username}/starred", "get">; - /** - * @see https://docs.github.com/rest/reference/activity#list-repositories-watched-by-a-user - */ - "GET /users/{username}/subscriptions": Operation<"/users/{username}/subscriptions", "get">; - /** - * @see - */ - "GET /zen": Operation<"/zen", "get">; - /** - * @see https://docs.github.com/rest/reference/apps#update-a-webhook-configuration-for-an-app - */ - "PATCH /app/hook/config": Operation<"/app/hook/config", "patch">; - /** - * @see https://docs.github.com/rest/reference/apps#reset-a-token - */ - "PATCH /applications/{client_id}/token": Operation<"/applications/{client_id}/token", "patch">; - /** - * @see https://docs.github.com/rest/reference/oauth-authorizations#update-an-existing-authorization - */ - "PATCH /authorizations/{authorization_id}": Operation<"/authorizations/{authorization_id}", "patch">; - /** - * @see https://docs.github.com/rest/reference/enterprise-admin#update-a-self-hosted-runner-group-for-an-enterprise - */ - "PATCH /enterprises/{enterprise}/actions/runner-groups/{runner_group_id}": Operation<"/enterprises/{enterprise}/actions/runner-groups/{runner_group_id}", "patch">; - /** - * @see https://docs.github.com/rest/reference/gists/#update-a-gist - */ - "PATCH /gists/{gist_id}": Operation<"/gists/{gist_id}", "patch">; - /** - * @see https://docs.github.com/rest/reference/gists#update-a-gist-comment - */ - "PATCH /gists/{gist_id}/comments/{comment_id}": Operation<"/gists/{gist_id}/comments/{comment_id}", "patch">; - /** - * @see https://docs.github.com/rest/reference/activity#mark-a-thread-as-read - */ - "PATCH /notifications/threads/{thread_id}": Operation<"/notifications/threads/{thread_id}", "patch">; - /** - * @see https://docs.github.com/rest/reference/orgs/#update-an-organization - */ - "PATCH /orgs/{org}": Operation<"/orgs/{org}", "patch">; - /** - * @see https://docs.github.com/rest/reference/actions#update-a-self-hosted-runner-group-for-an-organization - */ - "PATCH /orgs/{org}/actions/runner-groups/{runner_group_id}": Operation<"/orgs/{org}/actions/runner-groups/{runner_group_id}", "patch">; - /** - * @see https://docs.github.com/rest/reference/orgs#update-an-organization-webhook - */ - "PATCH /orgs/{org}/hooks/{hook_id}": Operation<"/orgs/{org}/hooks/{hook_id}", "patch">; - /** - * @see https://docs.github.com/rest/reference/orgs#update-a-webhook-configuration-for-an-organization - */ - "PATCH /orgs/{org}/hooks/{hook_id}/config": Operation<"/orgs/{org}/hooks/{hook_id}/config", "patch">; - /** - * @see https://docs.github.com/rest/reference/teams#update-a-team - */ - "PATCH /orgs/{org}/teams/{team_slug}": Operation<"/orgs/{org}/teams/{team_slug}", "patch">; - /** - * @see https://docs.github.com/rest/reference/teams#update-a-discussion - */ - "PATCH /orgs/{org}/teams/{team_slug}/discussions/{discussion_number}": Operation<"/orgs/{org}/teams/{team_slug}/discussions/{discussion_number}", "patch">; - /** - * @see https://docs.github.com/rest/reference/teams#update-a-discussion-comment - */ - "PATCH /orgs/{org}/teams/{team_slug}/discussions/{discussion_number}/comments/{comment_number}": Operation<"/orgs/{org}/teams/{team_slug}/discussions/{discussion_number}/comments/{comment_number}", "patch">; - /** - * @see https://docs.github.com/rest/reference/teams#create-or-update-idp-group-connections - */ - "PATCH /orgs/{org}/teams/{team_slug}/team-sync/group-mappings": Operation<"/orgs/{org}/teams/{team_slug}/team-sync/group-mappings", "patch">; - /** - * @see https://docs.github.com/rest/reference/projects#update-a-project-card - */ - "PATCH /projects/columns/cards/{card_id}": Operation<"/projects/columns/cards/{card_id}", "patch", "inertia">; - /** - * @see https://docs.github.com/rest/reference/projects#update-a-project-column - */ - "PATCH /projects/columns/{column_id}": Operation<"/projects/columns/{column_id}", "patch", "inertia">; - /** - * @see https://docs.github.com/rest/reference/projects#update-a-project - */ - "PATCH /projects/{project_id}": Operation<"/projects/{project_id}", "patch", "inertia">; - /** - * @see https://docs.github.com/rest/reference/repos/#update-a-repository - */ - "PATCH /repos/{owner}/{repo}": Operation<"/repos/{owner}/{repo}", "patch">; - /** - * @see https://docs.github.com/rest/reference/repos#update-pull-request-review-protection - */ - "PATCH /repos/{owner}/{repo}/branches/{branch}/protection/required_pull_request_reviews": Operation<"/repos/{owner}/{repo}/branches/{branch}/protection/required_pull_request_reviews", "patch">; - /** - * @see https://docs.github.com/rest/reference/repos#update-status-check-potection - */ - "PATCH /repos/{owner}/{repo}/branches/{branch}/protection/required_status_checks": Operation<"/repos/{owner}/{repo}/branches/{branch}/protection/required_status_checks", "patch">; - /** - * @see https://docs.github.com/rest/reference/checks#update-a-check-run - */ - "PATCH /repos/{owner}/{repo}/check-runs/{check_run_id}": Operation<"/repos/{owner}/{repo}/check-runs/{check_run_id}", "patch">; - /** - * @see https://docs.github.com/rest/reference/checks#update-repository-preferences-for-check-suites - */ - "PATCH /repos/{owner}/{repo}/check-suites/preferences": Operation<"/repos/{owner}/{repo}/check-suites/preferences", "patch">; - /** - * @see https://docs.github.com/rest/reference/code-scanning#update-a-code-scanning-alert - */ - "PATCH /repos/{owner}/{repo}/code-scanning/alerts/{alert_number}": Operation<"/repos/{owner}/{repo}/code-scanning/alerts/{alert_number}", "patch">; - /** - * @see https://docs.github.com/rest/reference/repos#update-a-commit-comment - */ - "PATCH /repos/{owner}/{repo}/comments/{comment_id}": Operation<"/repos/{owner}/{repo}/comments/{comment_id}", "patch">; - /** - * @see https://docs.github.com/rest/reference/git#update-a-reference - */ - "PATCH /repos/{owner}/{repo}/git/refs/{ref}": Operation<"/repos/{owner}/{repo}/git/refs/{ref}", "patch">; - /** - * @see https://docs.github.com/rest/reference/repos#update-a-repository-webhook - */ - "PATCH /repos/{owner}/{repo}/hooks/{hook_id}": Operation<"/repos/{owner}/{repo}/hooks/{hook_id}", "patch">; - /** - * @see https://docs.github.com/rest/reference/repos#update-a-webhook-configuration-for-a-repository - */ - "PATCH /repos/{owner}/{repo}/hooks/{hook_id}/config": Operation<"/repos/{owner}/{repo}/hooks/{hook_id}/config", "patch">; - /** - * @see https://docs.github.com/rest/reference/migrations#update-an-import - */ - "PATCH /repos/{owner}/{repo}/import": Operation<"/repos/{owner}/{repo}/import", "patch">; - /** - * @see https://docs.github.com/rest/reference/migrations#map-a-commit-author - */ - "PATCH /repos/{owner}/{repo}/import/authors/{author_id}": Operation<"/repos/{owner}/{repo}/import/authors/{author_id}", "patch">; - /** - * @see https://docs.github.com/rest/reference/migrations#update-git-lfs-preference - */ - "PATCH /repos/{owner}/{repo}/import/lfs": Operation<"/repos/{owner}/{repo}/import/lfs", "patch">; - /** - * @see https://docs.github.com/rest/reference/repos#update-a-repository-invitation - */ - "PATCH /repos/{owner}/{repo}/invitations/{invitation_id}": Operation<"/repos/{owner}/{repo}/invitations/{invitation_id}", "patch">; - /** - * @see https://docs.github.com/rest/reference/issues#update-an-issue-comment - */ - "PATCH /repos/{owner}/{repo}/issues/comments/{comment_id}": Operation<"/repos/{owner}/{repo}/issues/comments/{comment_id}", "patch">; - /** - * @see https://docs.github.com/rest/reference/issues/#update-an-issue - */ - "PATCH /repos/{owner}/{repo}/issues/{issue_number}": Operation<"/repos/{owner}/{repo}/issues/{issue_number}", "patch">; - /** - * @see https://docs.github.com/rest/reference/issues#update-a-label - */ - "PATCH /repos/{owner}/{repo}/labels/{name}": Operation<"/repos/{owner}/{repo}/labels/{name}", "patch">; - /** - * @see https://docs.github.com/rest/reference/issues#update-a-milestone - */ - "PATCH /repos/{owner}/{repo}/milestones/{milestone_number}": Operation<"/repos/{owner}/{repo}/milestones/{milestone_number}", "patch">; - /** - * @see https://docs.github.com/rest/reference/pulls#update-a-review-comment-for-a-pull-request - */ - "PATCH /repos/{owner}/{repo}/pulls/comments/{comment_id}": Operation<"/repos/{owner}/{repo}/pulls/comments/{comment_id}", "patch">; - /** - * @see https://docs.github.com/rest/reference/pulls/#update-a-pull-request - */ - "PATCH /repos/{owner}/{repo}/pulls/{pull_number}": Operation<"/repos/{owner}/{repo}/pulls/{pull_number}", "patch">; - /** - * @see https://docs.github.com/rest/reference/repos#update-a-release-asset - */ - "PATCH /repos/{owner}/{repo}/releases/assets/{asset_id}": Operation<"/repos/{owner}/{repo}/releases/assets/{asset_id}", "patch">; - /** - * @see https://docs.github.com/rest/reference/repos#update-a-release - */ - "PATCH /repos/{owner}/{repo}/releases/{release_id}": Operation<"/repos/{owner}/{repo}/releases/{release_id}", "patch">; - /** - * @see https://docs.github.com/rest/reference/secret-scanning#update-a-secret-scanning-alert - */ - "PATCH /repos/{owner}/{repo}/secret-scanning/alerts/{alert_number}": Operation<"/repos/{owner}/{repo}/secret-scanning/alerts/{alert_number}", "patch">; - /** - * @see https://docs.github.com/rest/reference/enterprise-admin#update-an-attribute-for-a-scim-enterprise-group - */ - "PATCH /scim/v2/enterprises/{enterprise}/Groups/{scim_group_id}": Operation<"/scim/v2/enterprises/{enterprise}/Groups/{scim_group_id}", "patch">; - /** - * @see https://docs.github.com/rest/reference/enterprise-admin#update-an-attribute-for-a-scim-enterprise-user - */ - "PATCH /scim/v2/enterprises/{enterprise}/Users/{scim_user_id}": Operation<"/scim/v2/enterprises/{enterprise}/Users/{scim_user_id}", "patch">; - /** - * @see https://docs.github.com/rest/reference/scim#update-an-attribute-for-a-scim-user - */ - "PATCH /scim/v2/organizations/{org}/Users/{scim_user_id}": Operation<"/scim/v2/organizations/{org}/Users/{scim_user_id}", "patch">; - /** - * @see https://docs.github.com/rest/reference/teams/#update-a-team-legacy - */ - "PATCH /teams/{team_id}": Operation<"/teams/{team_id}", "patch">; - /** - * @see https://docs.github.com/rest/reference/teams#update-a-discussion-legacy - */ - "PATCH /teams/{team_id}/discussions/{discussion_number}": Operation<"/teams/{team_id}/discussions/{discussion_number}", "patch">; - /** - * @see https://docs.github.com/rest/reference/teams#update-a-discussion-comment-legacy - */ - "PATCH /teams/{team_id}/discussions/{discussion_number}/comments/{comment_number}": Operation<"/teams/{team_id}/discussions/{discussion_number}/comments/{comment_number}", "patch">; - /** - * @see https://docs.github.com/rest/reference/teams#create-or-update-idp-group-connections-legacy - */ - "PATCH /teams/{team_id}/team-sync/group-mappings": Operation<"/teams/{team_id}/team-sync/group-mappings", "patch">; - /** - * @see https://docs.github.com/rest/reference/users/#update-the-authenticated-user - */ - "PATCH /user": Operation<"/user", "patch">; - /** - * @see https://docs.github.com/rest/reference/users#set-primary-email-visibility-for-the-authenticated-user - */ - "PATCH /user/email/visibility": Operation<"/user/email/visibility", "patch">; - /** - * @see https://docs.github.com/rest/reference/orgs#update-an-organization-membership-for-the-authenticated-user - */ - "PATCH /user/memberships/orgs/{org}": Operation<"/user/memberships/orgs/{org}", "patch">; - /** - * @see https://docs.github.com/rest/reference/repos#accept-a-repository-invitation - */ - "PATCH /user/repository_invitations/{invitation_id}": Operation<"/user/repository_invitations/{invitation_id}", "patch">; - /** - * @see https://docs.github.com/rest/reference/apps#create-a-github-app-from-a-manifest - */ - "POST /app-manifests/{code}/conversions": Operation<"/app-manifests/{code}/conversions", "post">; - /** - * @see https://docs.github.com/rest/reference/apps#redeliver-a-delivery-for-an-app-webhook - */ - "POST /app/hook/deliveries/{delivery_id}/attempts": Operation<"/app/hook/deliveries/{delivery_id}/attempts", "post">; - /** - * @see https://docs.github.com/rest/reference/apps/#create-an-installation-access-token-for-an-app - */ - "POST /app/installations/{installation_id}/access_tokens": Operation<"/app/installations/{installation_id}/access_tokens", "post">; - /** - * @see https://docs.github.com/rest/reference/apps#check-a-token - */ - "POST /applications/{client_id}/token": Operation<"/applications/{client_id}/token", "post">; - /** - * @see https://docs.github.com/rest/reference/apps#create-a-scoped-access-token - */ - "POST /applications/{client_id}/token/scoped": Operation<"/applications/{client_id}/token/scoped", "post">; - /** - * @see https://docs.github.com/rest/reference/apps#reset-an-authorization - */ - "POST /applications/{client_id}/tokens/{access_token}": Operation<"/applications/{client_id}/tokens/{access_token}", "post">; - /** - * @see https://docs.github.com/rest/reference/oauth-authorizations#create-a-new-authorization - */ - "POST /authorizations": Operation<"/authorizations", "post">; - /** - * @see https://docs.github.com/rest/reference/apps#create-a-content-attachment - */ - "POST /content_references/{content_reference_id}/attachments": Operation<"/content_references/{content_reference_id}/attachments", "post", "corsair">; - /** - * @see https://docs.github.com/rest/reference/enterprise-admin#create-self-hosted-runner-group-for-an-enterprise - */ - "POST /enterprises/{enterprise}/actions/runner-groups": Operation<"/enterprises/{enterprise}/actions/runner-groups", "post">; - /** - * @see https://docs.github.com/rest/reference/enterprise-admin#create-a-registration-token-for-an-enterprise - */ - "POST /enterprises/{enterprise}/actions/runners/registration-token": Operation<"/enterprises/{enterprise}/actions/runners/registration-token", "post">; - /** - * @see https://docs.github.com/rest/reference/enterprise-admin#create-a-remove-token-for-an-enterprise - */ - "POST /enterprises/{enterprise}/actions/runners/remove-token": Operation<"/enterprises/{enterprise}/actions/runners/remove-token", "post">; - /** - * @see https://docs.github.com/rest/reference/gists#create-a-gist - */ - "POST /gists": Operation<"/gists", "post">; - /** - * @see https://docs.github.com/rest/reference/gists#create-a-gist-comment - */ - "POST /gists/{gist_id}/comments": Operation<"/gists/{gist_id}/comments", "post">; - /** - * @see https://docs.github.com/rest/reference/gists#fork-a-gist - */ - "POST /gists/{gist_id}/forks": Operation<"/gists/{gist_id}/forks", "post">; - /** - * @see https://docs.github.com/rest/reference/markdown#render-a-markdown-document - */ - "POST /markdown": Operation<"/markdown", "post">; - /** - * @see https://docs.github.com/rest/reference/markdown#render-a-markdown-document-in-raw-mode - */ - "POST /markdown/raw": Operation<"/markdown/raw", "post">; - /** - * @see https://docs.github.com/rest/reference/actions#create-a-self-hosted-runner-group-for-an-organization - */ - "POST /orgs/{org}/actions/runner-groups": Operation<"/orgs/{org}/actions/runner-groups", "post">; - /** - * @see https://docs.github.com/rest/reference/actions#create-a-registration-token-for-an-organization - */ - "POST /orgs/{org}/actions/runners/registration-token": Operation<"/orgs/{org}/actions/runners/registration-token", "post">; - /** - * @see https://docs.github.com/rest/reference/actions#create-a-remove-token-for-an-organization - */ - "POST /orgs/{org}/actions/runners/remove-token": Operation<"/orgs/{org}/actions/runners/remove-token", "post">; - /** - * @see https://docs.github.com/rest/reference/orgs#create-an-organization-webhook - */ - "POST /orgs/{org}/hooks": Operation<"/orgs/{org}/hooks", "post">; - /** - * @see https://docs.github.com/rest/reference/orgs#redeliver-a-delivery-for-an-organization-webhook - */ - "POST /orgs/{org}/hooks/{hook_id}/deliveries/{delivery_id}/attempts": Operation<"/orgs/{org}/hooks/{hook_id}/deliveries/{delivery_id}/attempts", "post">; - /** - * @see https://docs.github.com/rest/reference/orgs#ping-an-organization-webhook - */ - "POST /orgs/{org}/hooks/{hook_id}/pings": Operation<"/orgs/{org}/hooks/{hook_id}/pings", "post">; - /** - * @see https://docs.github.com/rest/reference/orgs#create-an-organization-invitation - */ - "POST /orgs/{org}/invitations": Operation<"/orgs/{org}/invitations", "post">; - /** - * @see https://docs.github.com/rest/reference/migrations#start-an-organization-migration - */ - "POST /orgs/{org}/migrations": Operation<"/orgs/{org}/migrations", "post">; - /** - * @see https://docs.github.com/rest/reference/packages#restore-a-package-for-an-organization - */ - "POST /orgs/{org}/packages/{package_type}/{package_name}/restore{?token}": Operation<"/orgs/{org}/packages/{package_type}/{package_name}/restore", "post">; - /** - * @see https://docs.github.com/rest/reference/packages#restore-a-package-version-for-an-organization - */ - "POST /orgs/{org}/packages/{package_type}/{package_name}/versions/{package_version_id}/restore": Operation<"/orgs/{org}/packages/{package_type}/{package_name}/versions/{package_version_id}/restore", "post">; - /** - * @see https://docs.github.com/rest/reference/projects#create-an-organization-project - */ - "POST /orgs/{org}/projects": Operation<"/orgs/{org}/projects", "post", "inertia">; - /** - * @see https://docs.github.com/rest/reference/repos#create-an-organization-repository - */ - "POST /orgs/{org}/repos": Operation<"/orgs/{org}/repos", "post">; - /** - * @see https://docs.github.com/rest/reference/teams#create-a-team - */ - "POST /orgs/{org}/teams": Operation<"/orgs/{org}/teams", "post">; - /** - * @see https://docs.github.com/rest/reference/teams#create-a-discussion - */ - "POST /orgs/{org}/teams/{team_slug}/discussions": Operation<"/orgs/{org}/teams/{team_slug}/discussions", "post">; - /** - * @see https://docs.github.com/rest/reference/teams#create-a-discussion-comment - */ - "POST /orgs/{org}/teams/{team_slug}/discussions/{discussion_number}/comments": Operation<"/orgs/{org}/teams/{team_slug}/discussions/{discussion_number}/comments", "post">; - /** - * @see https://docs.github.com/rest/reference/reactions#create-reaction-for-a-team-discussion-comment - */ - "POST /orgs/{org}/teams/{team_slug}/discussions/{discussion_number}/comments/{comment_number}/reactions": Operation<"/orgs/{org}/teams/{team_slug}/discussions/{discussion_number}/comments/{comment_number}/reactions", "post", "squirrel-girl">; - /** - * @see https://docs.github.com/rest/reference/reactions#create-reaction-for-a-team-discussion - */ - "POST /orgs/{org}/teams/{team_slug}/discussions/{discussion_number}/reactions": Operation<"/orgs/{org}/teams/{team_slug}/discussions/{discussion_number}/reactions", "post", "squirrel-girl">; - /** - * @see https://docs.github.com/rest/reference/projects#move-a-project-card - */ - "POST /projects/columns/cards/{card_id}/moves": Operation<"/projects/columns/cards/{card_id}/moves", "post", "inertia">; - /** - * @see https://docs.github.com/rest/reference/projects#create-a-project-card - */ - "POST /projects/columns/{column_id}/cards": Operation<"/projects/columns/{column_id}/cards", "post", "inertia">; - /** - * @see https://docs.github.com/rest/reference/projects#move-a-project-column - */ - "POST /projects/columns/{column_id}/moves": Operation<"/projects/columns/{column_id}/moves", "post", "inertia">; - /** - * @see https://docs.github.com/rest/reference/projects#create-a-project-column - */ - "POST /projects/{project_id}/columns": Operation<"/projects/{project_id}/columns", "post", "inertia">; - /** - * @see https://docs.github.com/rest/reference/actions#create-a-registration-token-for-a-repository - */ - "POST /repos/{owner}/{repo}/actions/runners/registration-token": Operation<"/repos/{owner}/{repo}/actions/runners/registration-token", "post">; - /** - * @see https://docs.github.com/rest/reference/actions#create-a-remove-token-for-a-repository - */ - "POST /repos/{owner}/{repo}/actions/runners/remove-token": Operation<"/repos/{owner}/{repo}/actions/runners/remove-token", "post">; - /** - * @see https://docs.github.com/rest/reference/actions#approve-a-workflow-run-for-a-fork-pull-request - */ - "POST /repos/{owner}/{repo}/actions/runs/{run_id}/approve": Operation<"/repos/{owner}/{repo}/actions/runs/{run_id}/approve", "post">; - /** - * @see https://docs.github.com/rest/reference/actions#cancel-a-workflow-run - */ - "POST /repos/{owner}/{repo}/actions/runs/{run_id}/cancel": Operation<"/repos/{owner}/{repo}/actions/runs/{run_id}/cancel", "post">; - /** - * @see https://docs.github.com/rest/reference/actions#review-pending-deployments-for-a-workflow-run - */ - "POST /repos/{owner}/{repo}/actions/runs/{run_id}/pending_deployments": Operation<"/repos/{owner}/{repo}/actions/runs/{run_id}/pending_deployments", "post">; - /** - * @see https://docs.github.com/rest/reference/actions#re-run-a-workflow - */ - "POST /repos/{owner}/{repo}/actions/runs/{run_id}/rerun": Operation<"/repos/{owner}/{repo}/actions/runs/{run_id}/rerun", "post">; - /** - * @see https://docs.github.com/rest/reference/actions#create-a-workflow-dispatch-event - */ - "POST /repos/{owner}/{repo}/actions/workflows/{workflow_id}/dispatches": Operation<"/repos/{owner}/{repo}/actions/workflows/{workflow_id}/dispatches", "post">; - /** - * @see https://docs.github.com/rest/reference/repos#set-admin-branch-protection - */ - "POST /repos/{owner}/{repo}/branches/{branch}/protection/enforce_admins": Operation<"/repos/{owner}/{repo}/branches/{branch}/protection/enforce_admins", "post">; - /** - * @see https://docs.github.com/rest/reference/repos#create-commit-signature-protection - */ - "POST /repos/{owner}/{repo}/branches/{branch}/protection/required_signatures": Operation<"/repos/{owner}/{repo}/branches/{branch}/protection/required_signatures", "post", "zzzax">; - /** - * @see https://docs.github.com/rest/reference/repos#add-status-check-contexts - */ - "POST /repos/{owner}/{repo}/branches/{branch}/protection/required_status_checks/contexts": Operation<"/repos/{owner}/{repo}/branches/{branch}/protection/required_status_checks/contexts", "post">; - /** - * @see https://docs.github.com/rest/reference/repos#add-app-access-restrictions - */ - "POST /repos/{owner}/{repo}/branches/{branch}/protection/restrictions/apps": Operation<"/repos/{owner}/{repo}/branches/{branch}/protection/restrictions/apps", "post">; - /** - * @see https://docs.github.com/rest/reference/repos#add-team-access-restrictions - */ - "POST /repos/{owner}/{repo}/branches/{branch}/protection/restrictions/teams": Operation<"/repos/{owner}/{repo}/branches/{branch}/protection/restrictions/teams", "post">; - /** - * @see https://docs.github.com/rest/reference/repos#add-user-access-restrictions - */ - "POST /repos/{owner}/{repo}/branches/{branch}/protection/restrictions/users": Operation<"/repos/{owner}/{repo}/branches/{branch}/protection/restrictions/users", "post">; - /** - * @see https://docs.github.com/rest/reference/repos#rename-a-branch - */ - "POST /repos/{owner}/{repo}/branches/{branch}/rename": Operation<"/repos/{owner}/{repo}/branches/{branch}/rename", "post">; - /** - * @see https://docs.github.com/rest/reference/checks#create-a-check-run - */ - "POST /repos/{owner}/{repo}/check-runs": Operation<"/repos/{owner}/{repo}/check-runs", "post">; - /** - * @see https://docs.github.com/rest/reference/checks#create-a-check-suite - */ - "POST /repos/{owner}/{repo}/check-suites": Operation<"/repos/{owner}/{repo}/check-suites", "post">; - /** - * @see https://docs.github.com/rest/reference/checks#rerequest-a-check-suite - */ - "POST /repos/{owner}/{repo}/check-suites/{check_suite_id}/rerequest": Operation<"/repos/{owner}/{repo}/check-suites/{check_suite_id}/rerequest", "post">; - /** - * @see https://docs.github.com/rest/reference/code-scanning#upload-a-sarif-file - */ - "POST /repos/{owner}/{repo}/code-scanning/sarifs": Operation<"/repos/{owner}/{repo}/code-scanning/sarifs", "post">; - /** - * @see https://docs.github.com/rest/reference/reactions#create-reaction-for-a-commit-comment - */ - "POST /repos/{owner}/{repo}/comments/{comment_id}/reactions": Operation<"/repos/{owner}/{repo}/comments/{comment_id}/reactions", "post", "squirrel-girl">; - /** - * @see https://docs.github.com/rest/reference/repos#create-a-commit-comment - */ - "POST /repos/{owner}/{repo}/commits/{commit_sha}/comments": Operation<"/repos/{owner}/{repo}/commits/{commit_sha}/comments", "post">; - /** - * @see https://docs.github.com/rest/reference/apps#create-a-content-attachment - */ - "POST /repos/{owner}/{repo}/content_references/{content_reference_id}/attachments": Operation<"/repos/{owner}/{repo}/content_references/{content_reference_id}/attachments", "post", "corsair">; - /** - * @see https://docs.github.com/rest/reference/repos#create-a-deployment - */ - "POST /repos/{owner}/{repo}/deployments": Operation<"/repos/{owner}/{repo}/deployments", "post">; - /** - * @see https://docs.github.com/rest/reference/repos#create-a-deployment-status - */ - "POST /repos/{owner}/{repo}/deployments/{deployment_id}/statuses": Operation<"/repos/{owner}/{repo}/deployments/{deployment_id}/statuses", "post">; - /** - * @see https://docs.github.com/rest/reference/repos#create-a-repository-dispatch-event - */ - "POST /repos/{owner}/{repo}/dispatches": Operation<"/repos/{owner}/{repo}/dispatches", "post">; - /** - * @see https://docs.github.com/rest/reference/repos#create-a-fork - */ - "POST /repos/{owner}/{repo}/forks": Operation<"/repos/{owner}/{repo}/forks", "post">; - /** - * @see https://docs.github.com/rest/reference/git#create-a-blob - */ - "POST /repos/{owner}/{repo}/git/blobs": Operation<"/repos/{owner}/{repo}/git/blobs", "post">; - /** - * @see https://docs.github.com/rest/reference/git#create-a-commit - */ - "POST /repos/{owner}/{repo}/git/commits": Operation<"/repos/{owner}/{repo}/git/commits", "post">; - /** - * @see https://docs.github.com/rest/reference/git#create-a-reference - */ - "POST /repos/{owner}/{repo}/git/refs": Operation<"/repos/{owner}/{repo}/git/refs", "post">; - /** - * @see https://docs.github.com/rest/reference/git#create-a-tag-object - */ - "POST /repos/{owner}/{repo}/git/tags": Operation<"/repos/{owner}/{repo}/git/tags", "post">; - /** - * @see https://docs.github.com/rest/reference/git#create-a-tree - */ - "POST /repos/{owner}/{repo}/git/trees": Operation<"/repos/{owner}/{repo}/git/trees", "post">; - /** - * @see https://docs.github.com/rest/reference/repos#create-a-repository-webhook - */ - "POST /repos/{owner}/{repo}/hooks": Operation<"/repos/{owner}/{repo}/hooks", "post">; - /** - * @see https://docs.github.com/rest/reference/repos#redeliver-a-delivery-for-a-repository-webhook - */ - "POST /repos/{owner}/{repo}/hooks/{hook_id}/deliveries/{delivery_id}/attempts": Operation<"/repos/{owner}/{repo}/hooks/{hook_id}/deliveries/{delivery_id}/attempts", "post">; - /** - * @see https://docs.github.com/rest/reference/repos#ping-a-repository-webhook - */ - "POST /repos/{owner}/{repo}/hooks/{hook_id}/pings": Operation<"/repos/{owner}/{repo}/hooks/{hook_id}/pings", "post">; - /** - * @see https://docs.github.com/rest/reference/repos#test-the-push-repository-webhook - */ - "POST /repos/{owner}/{repo}/hooks/{hook_id}/tests": Operation<"/repos/{owner}/{repo}/hooks/{hook_id}/tests", "post">; - /** - * @see https://docs.github.com/rest/reference/issues#create-an-issue - */ - "POST /repos/{owner}/{repo}/issues": Operation<"/repos/{owner}/{repo}/issues", "post">; - /** - * @see https://docs.github.com/rest/reference/reactions#create-reaction-for-an-issue-comment - */ - "POST /repos/{owner}/{repo}/issues/comments/{comment_id}/reactions": Operation<"/repos/{owner}/{repo}/issues/comments/{comment_id}/reactions", "post", "squirrel-girl">; - /** - * @see https://docs.github.com/rest/reference/issues#add-assignees-to-an-issue - */ - "POST /repos/{owner}/{repo}/issues/{issue_number}/assignees": Operation<"/repos/{owner}/{repo}/issues/{issue_number}/assignees", "post">; - /** - * @see https://docs.github.com/rest/reference/issues#create-an-issue-comment - */ - "POST /repos/{owner}/{repo}/issues/{issue_number}/comments": Operation<"/repos/{owner}/{repo}/issues/{issue_number}/comments", "post">; - /** - * @see https://docs.github.com/rest/reference/issues#add-labels-to-an-issue - */ - "POST /repos/{owner}/{repo}/issues/{issue_number}/labels": Operation<"/repos/{owner}/{repo}/issues/{issue_number}/labels", "post">; - /** - * @see https://docs.github.com/rest/reference/reactions#create-reaction-for-an-issue - */ - "POST /repos/{owner}/{repo}/issues/{issue_number}/reactions": Operation<"/repos/{owner}/{repo}/issues/{issue_number}/reactions", "post", "squirrel-girl">; - /** - * @see https://docs.github.com/rest/reference/repos#create-a-deploy-key - */ - "POST /repos/{owner}/{repo}/keys": Operation<"/repos/{owner}/{repo}/keys", "post">; - /** - * @see https://docs.github.com/rest/reference/issues#create-a-label - */ - "POST /repos/{owner}/{repo}/labels": Operation<"/repos/{owner}/{repo}/labels", "post">; - /** - * @see https://docs.github.com/rest/reference/repos#merge-a-branch - */ - "POST /repos/{owner}/{repo}/merges": Operation<"/repos/{owner}/{repo}/merges", "post">; - /** - * @see https://docs.github.com/rest/reference/issues#create-a-milestone - */ - "POST /repos/{owner}/{repo}/milestones": Operation<"/repos/{owner}/{repo}/milestones", "post">; - /** - * @see https://docs.github.com/rest/reference/repos#create-a-github-pages-site - */ - "POST /repos/{owner}/{repo}/pages": Operation<"/repos/{owner}/{repo}/pages", "post", "switcheroo">; - /** - * @see https://docs.github.com/rest/reference/repos#request-a-github-pages-build - */ - "POST /repos/{owner}/{repo}/pages/builds": Operation<"/repos/{owner}/{repo}/pages/builds", "post">; - /** - * @see https://docs.github.com/rest/reference/projects#create-a-repository-project - */ - "POST /repos/{owner}/{repo}/projects": Operation<"/repos/{owner}/{repo}/projects", "post", "inertia">; - /** - * @see https://docs.github.com/rest/reference/pulls#create-a-pull-request - */ - "POST /repos/{owner}/{repo}/pulls": Operation<"/repos/{owner}/{repo}/pulls", "post">; - /** - * @see https://docs.github.com/rest/reference/reactions#create-reaction-for-a-pull-request-review-comment - */ - "POST /repos/{owner}/{repo}/pulls/comments/{comment_id}/reactions": Operation<"/repos/{owner}/{repo}/pulls/comments/{comment_id}/reactions", "post", "squirrel-girl">; - /** - * @see https://docs.github.com/rest/reference/pulls#create-a-review-comment-for-a-pull-request - */ - "POST /repos/{owner}/{repo}/pulls/{pull_number}/comments": Operation<"/repos/{owner}/{repo}/pulls/{pull_number}/comments", "post">; - /** - * @see https://docs.github.com/rest/reference/pulls#create-a-reply-for-a-review-comment - */ - "POST /repos/{owner}/{repo}/pulls/{pull_number}/comments/{comment_id}/replies": Operation<"/repos/{owner}/{repo}/pulls/{pull_number}/comments/{comment_id}/replies", "post">; - /** - * @see https://docs.github.com/rest/reference/pulls#request-reviewers-for-a-pull-request - */ - "POST /repos/{owner}/{repo}/pulls/{pull_number}/requested_reviewers": Operation<"/repos/{owner}/{repo}/pulls/{pull_number}/requested_reviewers", "post">; - /** - * @see https://docs.github.com/rest/reference/pulls#create-a-review-for-a-pull-request - */ - "POST /repos/{owner}/{repo}/pulls/{pull_number}/reviews": Operation<"/repos/{owner}/{repo}/pulls/{pull_number}/reviews", "post">; - /** - * @see https://docs.github.com/rest/reference/pulls#submit-a-review-for-a-pull-request - */ - "POST /repos/{owner}/{repo}/pulls/{pull_number}/reviews/{review_id}/events": Operation<"/repos/{owner}/{repo}/pulls/{pull_number}/reviews/{review_id}/events", "post">; - /** - * @see https://docs.github.com/rest/reference/repos#create-a-release - */ - "POST /repos/{owner}/{repo}/releases": Operation<"/repos/{owner}/{repo}/releases", "post">; - /** - * @see https://docs.github.com/rest/reference/reactions/#create-reaction-for-a-release - */ - "POST /repos/{owner}/{repo}/releases/{release_id}/reactions": Operation<"/repos/{owner}/{repo}/releases/{release_id}/reactions", "post", "squirrel-girl">; - /** - * @see https://docs.github.com/rest/reference/repos#create-a-commit-status - */ - "POST /repos/{owner}/{repo}/statuses/{sha}": Operation<"/repos/{owner}/{repo}/statuses/{sha}", "post">; - /** - * @see https://docs.github.com/rest/reference/repos#transfer-a-repository - */ - "POST /repos/{owner}/{repo}/transfer": Operation<"/repos/{owner}/{repo}/transfer", "post">; - /** - * @see https://docs.github.com/rest/reference/repos#create-a-repository-using-a-template - */ - "POST /repos/{template_owner}/{template_repo}/generate": Operation<"/repos/{template_owner}/{template_repo}/generate", "post", "baptiste">; - /** - * @see https://docs.github.com/rest/reference/enterprise-admin#provision-a-scim-enterprise-group-and-invite-users - */ - "POST /scim/v2/enterprises/{enterprise}/Groups": Operation<"/scim/v2/enterprises/{enterprise}/Groups", "post">; - /** - * @see https://docs.github.com/rest/reference/enterprise-admin#provision-and-invite-a-scim-enterprise-user - */ - "POST /scim/v2/enterprises/{enterprise}/Users": Operation<"/scim/v2/enterprises/{enterprise}/Users", "post">; - /** - * @see https://docs.github.com/rest/reference/scim#provision-and-invite-a-scim-user - */ - "POST /scim/v2/organizations/{org}/Users": Operation<"/scim/v2/organizations/{org}/Users", "post">; - /** - * @see https://docs.github.com/rest/reference/teams#create-a-discussion-legacy - */ - "POST /teams/{team_id}/discussions": Operation<"/teams/{team_id}/discussions", "post">; - /** - * @see https://docs.github.com/rest/reference/teams#create-a-discussion-comment-legacy - */ - "POST /teams/{team_id}/discussions/{discussion_number}/comments": Operation<"/teams/{team_id}/discussions/{discussion_number}/comments", "post">; - /** - * @see https://docs.github.com/rest/reference/reactions/#create-reaction-for-a-team-discussion-comment-legacy - */ - "POST /teams/{team_id}/discussions/{discussion_number}/comments/{comment_number}/reactions": Operation<"/teams/{team_id}/discussions/{discussion_number}/comments/{comment_number}/reactions", "post", "squirrel-girl">; - /** - * @see https://docs.github.com/rest/reference/reactions/#create-reaction-for-a-team-discussion-legacy - */ - "POST /teams/{team_id}/discussions/{discussion_number}/reactions": Operation<"/teams/{team_id}/discussions/{discussion_number}/reactions", "post", "squirrel-girl">; - /** - * @see https://docs.github.com/rest/reference/users#add-an-email-address-for-the-authenticated-user - */ - "POST /user/emails": Operation<"/user/emails", "post">; - /** - * @see https://docs.github.com/rest/reference/users#create-a-gpg-key-for-the-authenticated-user - */ - "POST /user/gpg_keys": Operation<"/user/gpg_keys", "post">; - /** - * @see https://docs.github.com/rest/reference/users#create-a-public-ssh-key-for-the-authenticated-user - */ - "POST /user/keys": Operation<"/user/keys", "post">; - /** - * @see https://docs.github.com/rest/reference/migrations#start-a-user-migration - */ - "POST /user/migrations": Operation<"/user/migrations", "post">; - /** - * @see https://docs.github.com/rest/reference/packages#restore-a-package-for-the-authenticated-user - */ - "POST /user/packages/{package_type}/{package_name}/restore{?token}": Operation<"/user/packages/{package_type}/{package_name}/restore", "post">; - /** - * @see https://docs.github.com/rest/reference/packages#restore-a-package-version-for-the-authenticated-user - */ - "POST /user/packages/{package_type}/{package_name}/versions/{package_version_id}/restore": Operation<"/user/packages/{package_type}/{package_name}/versions/{package_version_id}/restore", "post">; - /** - * @see https://docs.github.com/rest/reference/projects#create-a-user-project - */ - "POST /user/projects": Operation<"/user/projects", "post", "inertia">; - /** - * @see https://docs.github.com/rest/reference/repos#create-a-repository-for-the-authenticated-user - */ - "POST /user/repos": Operation<"/user/repos", "post">; - /** - * @see https://docs.github.com/rest/reference/repos#upload-a-release-asset - */ - "POST {origin}/repos/{owner}/{repo}/releases/{release_id}/assets{?name,label}": Operation<"/repos/{owner}/{repo}/releases/{release_id}/assets", "post">; - /** - * @see https://docs.github.com/rest/reference/apps#suspend-an-app-installation - */ - "PUT /app/installations/{installation_id}/suspended": Operation<"/app/installations/{installation_id}/suspended", "put">; - /** - * @see https://docs.github.com/rest/reference/oauth-authorizations#get-or-create-an-authorization-for-a-specific-app - */ - "PUT /authorizations/clients/{client_id}": Operation<"/authorizations/clients/{client_id}", "put">; - /** - * @see https://docs.github.com/rest/reference/oauth-authorizations#get-or-create-an-authorization-for-a-specific-app-and-fingerprint - */ - "PUT /authorizations/clients/{client_id}/{fingerprint}": Operation<"/authorizations/clients/{client_id}/{fingerprint}", "put">; - /** - * @see https://docs.github.com/rest/reference/enterprise-admin#set-github-actions-permissions-for-an-enterprise - */ - "PUT /enterprises/{enterprise}/actions/permissions": Operation<"/enterprises/{enterprise}/actions/permissions", "put">; - /** - * @see https://docs.github.com/rest/reference/enterprise-admin#set-selected-organizations-enabled-for-github-actions-in-an-enterprise - */ - "PUT /enterprises/{enterprise}/actions/permissions/organizations": Operation<"/enterprises/{enterprise}/actions/permissions/organizations", "put">; - /** - * @see https://docs.github.com/rest/reference/enterprise-admin#enable-a-selected-organization-for-github-actions-in-an-enterprise - */ - "PUT /enterprises/{enterprise}/actions/permissions/organizations/{org_id}": Operation<"/enterprises/{enterprise}/actions/permissions/organizations/{org_id}", "put">; - /** - * @see https://docs.github.com/rest/reference/enterprise-admin#set-allowed-actions-for-an-enterprise - */ - "PUT /enterprises/{enterprise}/actions/permissions/selected-actions": Operation<"/enterprises/{enterprise}/actions/permissions/selected-actions", "put">; - /** - * @see https://docs.github.com/rest/reference/enterprise-admin#set-organization-access-to-a-self-hosted-runner-group-in-an-enterprise - */ - "PUT /enterprises/{enterprise}/actions/runner-groups/{runner_group_id}/organizations": Operation<"/enterprises/{enterprise}/actions/runner-groups/{runner_group_id}/organizations", "put">; - /** - * @see https://docs.github.com/rest/reference/enterprise-admin#add-organization-access-to-a-self-hosted-runner-group-in-an-enterprise - */ - "PUT /enterprises/{enterprise}/actions/runner-groups/{runner_group_id}/organizations/{org_id}": Operation<"/enterprises/{enterprise}/actions/runner-groups/{runner_group_id}/organizations/{org_id}", "put">; - /** - * @see https://docs.github.com/rest/reference/enterprise-admin#set-self-hosted-runners-in-a-group-for-an-enterprise - */ - "PUT /enterprises/{enterprise}/actions/runner-groups/{runner_group_id}/runners": Operation<"/enterprises/{enterprise}/actions/runner-groups/{runner_group_id}/runners", "put">; - /** - * @see https://docs.github.com/rest/reference/enterprise-admin#add-a-self-hosted-runner-to-a-group-for-an-enterprise - */ - "PUT /enterprises/{enterprise}/actions/runner-groups/{runner_group_id}/runners/{runner_id}": Operation<"/enterprises/{enterprise}/actions/runner-groups/{runner_group_id}/runners/{runner_id}", "put">; - /** - * @see https://docs.github.com/rest/reference/gists#star-a-gist - */ - "PUT /gists/{gist_id}/star": Operation<"/gists/{gist_id}/star", "put">; - /** - * @see https://docs.github.com/rest/reference/activity#mark-notifications-as-read - */ - "PUT /notifications": Operation<"/notifications", "put">; - /** - * @see https://docs.github.com/rest/reference/activity#set-a-thread-subscription - */ - "PUT /notifications/threads/{thread_id}/subscription": Operation<"/notifications/threads/{thread_id}/subscription", "put">; - /** - * @see https://docs.github.com/rest/reference/actions#set-github-actions-permissions-for-an-organization - */ - "PUT /orgs/{org}/actions/permissions": Operation<"/orgs/{org}/actions/permissions", "put">; - /** - * @see https://docs.github.com/rest/reference/actions#set-selected-repositories-enabled-for-github-actions-in-an-organization - */ - "PUT /orgs/{org}/actions/permissions/repositories": Operation<"/orgs/{org}/actions/permissions/repositories", "put">; - /** - * @see https://docs.github.com/rest/reference/actions#enable-a-selected-repository-for-github-actions-in-an-organization - */ - "PUT /orgs/{org}/actions/permissions/repositories/{repository_id}": Operation<"/orgs/{org}/actions/permissions/repositories/{repository_id}", "put">; - /** - * @see https://docs.github.com/rest/reference/actions#set-allowed-actions-for-an-organization - */ - "PUT /orgs/{org}/actions/permissions/selected-actions": Operation<"/orgs/{org}/actions/permissions/selected-actions", "put">; - /** - * @see https://docs.github.com/rest/reference/actions#set-repository-access-to-a-self-hosted-runner-group-in-an-organization - */ - "PUT /orgs/{org}/actions/runner-groups/{runner_group_id}/repositories": Operation<"/orgs/{org}/actions/runner-groups/{runner_group_id}/repositories", "put">; - /** - * @see https://docs.github.com/rest/reference/actions#add-repository-acess-to-a-self-hosted-runner-group-in-an-organization - */ - "PUT /orgs/{org}/actions/runner-groups/{runner_group_id}/repositories/{repository_id}": Operation<"/orgs/{org}/actions/runner-groups/{runner_group_id}/repositories/{repository_id}", "put">; - /** - * @see https://docs.github.com/rest/reference/actions#set-self-hosted-runners-in-a-group-for-an-organization - */ - "PUT /orgs/{org}/actions/runner-groups/{runner_group_id}/runners": Operation<"/orgs/{org}/actions/runner-groups/{runner_group_id}/runners", "put">; - /** - * @see https://docs.github.com/rest/reference/actions#add-a-self-hosted-runner-to-a-group-for-an-organization - */ - "PUT /orgs/{org}/actions/runner-groups/{runner_group_id}/runners/{runner_id}": Operation<"/orgs/{org}/actions/runner-groups/{runner_group_id}/runners/{runner_id}", "put">; - /** - * @see https://docs.github.com/rest/reference/actions#create-or-update-an-organization-secret - */ - "PUT /orgs/{org}/actions/secrets/{secret_name}": Operation<"/orgs/{org}/actions/secrets/{secret_name}", "put">; - /** - * @see https://docs.github.com/rest/reference/actions#set-selected-repositories-for-an-organization-secret - */ - "PUT /orgs/{org}/actions/secrets/{secret_name}/repositories": Operation<"/orgs/{org}/actions/secrets/{secret_name}/repositories", "put">; - /** - * @see https://docs.github.com/rest/reference/actions#add-selected-repository-to-an-organization-secret - */ - "PUT /orgs/{org}/actions/secrets/{secret_name}/repositories/{repository_id}": Operation<"/orgs/{org}/actions/secrets/{secret_name}/repositories/{repository_id}", "put">; - /** - * @see https://docs.github.com/rest/reference/orgs#block-a-user-from-an-organization - */ - "PUT /orgs/{org}/blocks/{username}": Operation<"/orgs/{org}/blocks/{username}", "put">; - /** - * @see https://docs.github.com/rest/reference/interactions#set-interaction-restrictions-for-an-organization - */ - "PUT /orgs/{org}/interaction-limits": Operation<"/orgs/{org}/interaction-limits", "put">; - /** - * @see https://docs.github.com/rest/reference/orgs#set-organization-membership-for-a-user - */ - "PUT /orgs/{org}/memberships/{username}": Operation<"/orgs/{org}/memberships/{username}", "put">; - /** - * @see https://docs.github.com/rest/reference/orgs#convert-an-organization-member-to-outside-collaborator - */ - "PUT /orgs/{org}/outside_collaborators/{username}": Operation<"/orgs/{org}/outside_collaborators/{username}", "put">; - /** - * @see https://docs.github.com/rest/reference/orgs#set-public-organization-membership-for-the-authenticated-user - */ - "PUT /orgs/{org}/public_members/{username}": Operation<"/orgs/{org}/public_members/{username}", "put">; - /** - * @see https://docs.github.com/rest/reference/teams#add-or-update-team-membership-for-a-user - */ - "PUT /orgs/{org}/teams/{team_slug}/memberships/{username}": Operation<"/orgs/{org}/teams/{team_slug}/memberships/{username}", "put">; - /** - * @see https://docs.github.com/rest/reference/teams#add-or-update-team-project-permissions - */ - "PUT /orgs/{org}/teams/{team_slug}/projects/{project_id}": Operation<"/orgs/{org}/teams/{team_slug}/projects/{project_id}", "put", "inertia">; - /** - * @see https://docs.github.com/rest/reference/teams/#add-or-update-team-repository-permissions - */ - "PUT /orgs/{org}/teams/{team_slug}/repos/{owner}/{repo}": Operation<"/orgs/{org}/teams/{team_slug}/repos/{owner}/{repo}", "put">; - /** - * @see https://docs.github.com/rest/reference/projects#add-project-collaborator - */ - "PUT /projects/{project_id}/collaborators/{username}": Operation<"/projects/{project_id}/collaborators/{username}", "put", "inertia">; - /** - * @see https://docs.github.com/rest/reference/actions#set-github-actions-permissions-for-a-repository - */ - "PUT /repos/{owner}/{repo}/actions/permissions": Operation<"/repos/{owner}/{repo}/actions/permissions", "put">; - /** - * @see https://docs.github.com/rest/reference/actions#set-allowed-actions-for-a-repository - */ - "PUT /repos/{owner}/{repo}/actions/permissions/selected-actions": Operation<"/repos/{owner}/{repo}/actions/permissions/selected-actions", "put">; - /** - * @see https://docs.github.com/rest/reference/actions#create-or-update-a-repository-secret - */ - "PUT /repos/{owner}/{repo}/actions/secrets/{secret_name}": Operation<"/repos/{owner}/{repo}/actions/secrets/{secret_name}", "put">; - /** - * @see https://docs.github.com/rest/reference/actions#disable-a-workflow - */ - "PUT /repos/{owner}/{repo}/actions/workflows/{workflow_id}/disable": Operation<"/repos/{owner}/{repo}/actions/workflows/{workflow_id}/disable", "put">; - /** - * @see https://docs.github.com/rest/reference/actions#enable-a-workflow - */ - "PUT /repos/{owner}/{repo}/actions/workflows/{workflow_id}/enable": Operation<"/repos/{owner}/{repo}/actions/workflows/{workflow_id}/enable", "put">; - /** - * @see https://docs.github.com/rest/reference/repos#enable-automated-security-fixes - */ - "PUT /repos/{owner}/{repo}/automated-security-fixes": Operation<"/repos/{owner}/{repo}/automated-security-fixes", "put", "london">; - /** - * @see https://docs.github.com/rest/reference/repos#update-branch-protection - */ - "PUT /repos/{owner}/{repo}/branches/{branch}/protection": Operation<"/repos/{owner}/{repo}/branches/{branch}/protection", "put">; - /** - * @see https://docs.github.com/rest/reference/repos#set-status-check-contexts - */ - "PUT /repos/{owner}/{repo}/branches/{branch}/protection/required_status_checks/contexts": Operation<"/repos/{owner}/{repo}/branches/{branch}/protection/required_status_checks/contexts", "put">; - /** - * @see https://docs.github.com/rest/reference/repos#set-app-access-restrictions - */ - "PUT /repos/{owner}/{repo}/branches/{branch}/protection/restrictions/apps": Operation<"/repos/{owner}/{repo}/branches/{branch}/protection/restrictions/apps", "put">; - /** - * @see https://docs.github.com/rest/reference/repos#set-team-access-restrictions - */ - "PUT /repos/{owner}/{repo}/branches/{branch}/protection/restrictions/teams": Operation<"/repos/{owner}/{repo}/branches/{branch}/protection/restrictions/teams", "put">; - /** - * @see https://docs.github.com/rest/reference/repos#set-user-access-restrictions - */ - "PUT /repos/{owner}/{repo}/branches/{branch}/protection/restrictions/users": Operation<"/repos/{owner}/{repo}/branches/{branch}/protection/restrictions/users", "put">; - /** - * @see https://docs.github.com/rest/reference/repos#add-a-repository-collaborator - */ - "PUT /repos/{owner}/{repo}/collaborators/{username}": Operation<"/repos/{owner}/{repo}/collaborators/{username}", "put">; - /** - * @see https://docs.github.com/rest/reference/repos#create-or-update-file-contents - */ - "PUT /repos/{owner}/{repo}/contents/{path}": Operation<"/repos/{owner}/{repo}/contents/{path}", "put">; - /** - * @see https://docs.github.com/rest/reference/repos#create-or-update-an-environment - */ - "PUT /repos/{owner}/{repo}/environments/{environment_name}": Operation<"/repos/{owner}/{repo}/environments/{environment_name}", "put">; - /** - * @see https://docs.github.com/rest/reference/migrations#start-an-import - */ - "PUT /repos/{owner}/{repo}/import": Operation<"/repos/{owner}/{repo}/import", "put">; - /** - * @see https://docs.github.com/rest/reference/interactions#set-interaction-restrictions-for-a-repository - */ - "PUT /repos/{owner}/{repo}/interaction-limits": Operation<"/repos/{owner}/{repo}/interaction-limits", "put">; - /** - * @see https://docs.github.com/rest/reference/issues#set-labels-for-an-issue - */ - "PUT /repos/{owner}/{repo}/issues/{issue_number}/labels": Operation<"/repos/{owner}/{repo}/issues/{issue_number}/labels", "put">; - /** - * @see https://docs.github.com/rest/reference/issues#lock-an-issue - */ - "PUT /repos/{owner}/{repo}/issues/{issue_number}/lock": Operation<"/repos/{owner}/{repo}/issues/{issue_number}/lock", "put">; - /** - * @see https://docs.github.com/rest/reference/activity#mark-repository-notifications-as-read - */ - "PUT /repos/{owner}/{repo}/notifications": Operation<"/repos/{owner}/{repo}/notifications", "put">; - /** - * @see https://docs.github.com/rest/reference/repos#update-information-about-a-github-pages-site - */ - "PUT /repos/{owner}/{repo}/pages": Operation<"/repos/{owner}/{repo}/pages", "put">; - /** - * @see https://docs.github.com/rest/reference/pulls#merge-a-pull-request - */ - "PUT /repos/{owner}/{repo}/pulls/{pull_number}/merge": Operation<"/repos/{owner}/{repo}/pulls/{pull_number}/merge", "put">; - /** - * @see https://docs.github.com/rest/reference/pulls#update-a-review-for-a-pull-request - */ - "PUT /repos/{owner}/{repo}/pulls/{pull_number}/reviews/{review_id}": Operation<"/repos/{owner}/{repo}/pulls/{pull_number}/reviews/{review_id}", "put">; - /** - * @see https://docs.github.com/rest/reference/pulls#dismiss-a-review-for-a-pull-request - */ - "PUT /repos/{owner}/{repo}/pulls/{pull_number}/reviews/{review_id}/dismissals": Operation<"/repos/{owner}/{repo}/pulls/{pull_number}/reviews/{review_id}/dismissals", "put">; - /** - * @see https://docs.github.com/rest/reference/pulls#update-a-pull-request-branch - */ - "PUT /repos/{owner}/{repo}/pulls/{pull_number}/update-branch": Operation<"/repos/{owner}/{repo}/pulls/{pull_number}/update-branch", "put", "lydian">; - /** - * @see https://docs.github.com/rest/reference/activity#set-a-repository-subscription - */ - "PUT /repos/{owner}/{repo}/subscription": Operation<"/repos/{owner}/{repo}/subscription", "put">; - /** - * @see https://docs.github.com/rest/reference/repos#replace-all-repository-topics - */ - "PUT /repos/{owner}/{repo}/topics": Operation<"/repos/{owner}/{repo}/topics", "put", "mercy">; - /** - * @see https://docs.github.com/rest/reference/repos#enable-vulnerability-alerts - */ - "PUT /repos/{owner}/{repo}/vulnerability-alerts": Operation<"/repos/{owner}/{repo}/vulnerability-alerts", "put", "dorian">; - /** - * @see https://docs.github.com/rest/reference/actions#create-or-update-an-environment-secret - */ - "PUT /repositories/{repository_id}/environments/{environment_name}/secrets/{secret_name}": Operation<"/repositories/{repository_id}/environments/{environment_name}/secrets/{secret_name}", "put">; - /** - * @see https://docs.github.com/rest/reference/enterprise-admin#set-scim-information-for-a-provisioned-enterprise-group - */ - "PUT /scim/v2/enterprises/{enterprise}/Groups/{scim_group_id}": Operation<"/scim/v2/enterprises/{enterprise}/Groups/{scim_group_id}", "put">; - /** - * @see https://docs.github.com/rest/reference/enterprise-admin#set-scim-information-for-a-provisioned-enterprise-user - */ - "PUT /scim/v2/enterprises/{enterprise}/Users/{scim_user_id}": Operation<"/scim/v2/enterprises/{enterprise}/Users/{scim_user_id}", "put">; - /** - * @see https://docs.github.com/rest/reference/scim#set-scim-information-for-a-provisioned-user - */ - "PUT /scim/v2/organizations/{org}/Users/{scim_user_id}": Operation<"/scim/v2/organizations/{org}/Users/{scim_user_id}", "put">; - /** - * @see https://docs.github.com/rest/reference/teams#add-team-member-legacy - */ - "PUT /teams/{team_id}/members/{username}": Operation<"/teams/{team_id}/members/{username}", "put">; - /** - * @see https://docs.github.com/rest/reference/teams#add-or-update-team-membership-for-a-user-legacy - */ - "PUT /teams/{team_id}/memberships/{username}": Operation<"/teams/{team_id}/memberships/{username}", "put">; - /** - * @see https://docs.github.com/rest/reference/teams/#add-or-update-team-project-permissions-legacy - */ - "PUT /teams/{team_id}/projects/{project_id}": Operation<"/teams/{team_id}/projects/{project_id}", "put", "inertia">; - /** - * @see https://docs.github.com/rest/reference/teams/#add-or-update-team-repository-permissions-legacy - */ - "PUT /teams/{team_id}/repos/{owner}/{repo}": Operation<"/teams/{team_id}/repos/{owner}/{repo}", "put">; - /** - * @see https://docs.github.com/rest/reference/users#block-a-user - */ - "PUT /user/blocks/{username}": Operation<"/user/blocks/{username}", "put">; - /** - * @see https://docs.github.com/rest/reference/users#follow-a-user - */ - "PUT /user/following/{username}": Operation<"/user/following/{username}", "put">; - /** - * @see https://docs.github.com/rest/reference/apps#add-a-repository-to-an-app-installation - */ - "PUT /user/installations/{installation_id}/repositories/{repository_id}": Operation<"/user/installations/{installation_id}/repositories/{repository_id}", "put">; - /** - * @see https://docs.github.com/rest/reference/interactions#set-interaction-restrictions-for-your-public-repositories - */ - "PUT /user/interaction-limits": Operation<"/user/interaction-limits", "put">; - /** - * @see https://docs.github.com/rest/reference/activity#star-a-repository-for-the-authenticated-user - */ - "PUT /user/starred/{owner}/{repo}": Operation<"/user/starred/{owner}/{repo}", "put">; -} -export {}; diff --git a/node_modules/@octokit/types/dist-types/index.d.ts b/node_modules/@octokit/types/dist-types/index.d.ts deleted file mode 100644 index 004ae9b..0000000 --- a/node_modules/@octokit/types/dist-types/index.d.ts +++ /dev/null @@ -1,21 +0,0 @@ -export * from "./AuthInterface"; -export * from "./EndpointDefaults"; -export * from "./EndpointInterface"; -export * from "./EndpointOptions"; -export * from "./Fetch"; -export * from "./OctokitResponse"; -export * from "./RequestError"; -export * from "./RequestHeaders"; -export * from "./RequestInterface"; -export * from "./RequestMethod"; -export * from "./RequestOptions"; -export * from "./RequestParameters"; -export * from "./RequestRequestOptions"; -export * from "./ResponseHeaders"; -export * from "./Route"; -export * from "./Signal"; -export * from "./StrategyInterface"; -export * from "./Url"; -export * from "./VERSION"; -export * from "./GetResponseTypeFromEndpointMethod"; -export * from "./generated/Endpoints"; diff --git a/node_modules/@octokit/types/dist-web/index.js b/node_modules/@octokit/types/dist-web/index.js deleted file mode 100644 index 8f40967..0000000 --- a/node_modules/@octokit/types/dist-web/index.js +++ /dev/null @@ -1,4 +0,0 @@ -const VERSION = "6.22.0"; - -export { VERSION }; -//# sourceMappingURL=index.js.map diff --git a/node_modules/@octokit/types/dist-web/index.js.map b/node_modules/@octokit/types/dist-web/index.js.map deleted file mode 100644 index cd0e254..0000000 --- a/node_modules/@octokit/types/dist-web/index.js.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"index.js","sources":["../dist-src/VERSION.js"],"sourcesContent":["export const VERSION = \"0.0.0-development\";\n"],"names":[],"mappings":"AAAY,MAAC,OAAO,GAAG;;;;"} \ No newline at end of file diff --git a/node_modules/@octokit/types/package.json b/node_modules/@octokit/types/package.json deleted file mode 100644 index 17e6751..0000000 --- a/node_modules/@octokit/types/package.json +++ /dev/null @@ -1,54 +0,0 @@ -{ - "name": "@octokit/types", - "description": "Shared TypeScript definitions for Octokit projects", - "version": "6.22.0", - "license": "MIT", - "files": [ - "dist-*/", - "bin/" - ], - "pika": true, - "sideEffects": false, - "keywords": [ - "github", - "api", - "sdk", - "toolkit", - "typescript" - ], - "repository": "github:octokit/types.ts", - "dependencies": { - "@octokit/openapi-types": "^9.2.0" - }, - "devDependencies": { - "@pika/pack": "^0.5.0", - "@pika/plugin-build-node": "^0.9.0", - "@pika/plugin-build-web": "^0.9.0", - "@pika/plugin-ts-standard-pkg": "^0.9.0", - "@types/node": ">= 8", - "github-openapi-graphql-query": "^1.0.5", - "handlebars": "^4.7.6", - "json-schema-to-typescript": "^10.0.0", - "lodash.set": "^4.3.2", - "npm-run-all": "^4.1.5", - "pascal-case": "^3.1.1", - "pika-plugin-merge-properties": "^1.0.6", - "prettier": "^2.0.0", - "semantic-release": "^17.0.0", - "semantic-release-plugin-update-version-in-files": "^1.0.0", - "sort-keys": "^4.2.0", - "string-to-jsdoc-comment": "^1.0.0", - "typedoc": "^0.21.0", - "typescript": "^4.0.2" - }, - "publishConfig": { - "access": "public" - }, - "source": "dist-src/index.js", - "types": "dist-types/index.d.ts", - "octokit": { - "openapi-version": "3.2.0" - }, - "main": "dist-node/index.js", - "module": "dist-web/index.js" -} diff --git a/node_modules/@vercel/ncc/LICENSE b/node_modules/@vercel/ncc/LICENSE deleted file mode 100644 index 1a69ac8..0000000 --- a/node_modules/@vercel/ncc/LICENSE +++ /dev/null @@ -1,7 +0,0 @@ -Copyright 2018 ZEIT, 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. \ No newline at end of file diff --git a/node_modules/@vercel/ncc/dist/ncc/@@notfound.js b/node_modules/@vercel/ncc/dist/ncc/@@notfound.js deleted file mode 100644 index 6fdcb57..0000000 --- a/node_modules/@vercel/ncc/dist/ncc/@@notfound.js +++ /dev/null @@ -1 +0,0 @@ -module.exports = __non_webpack_require__('UNKNOWN'); diff --git a/node_modules/@vercel/ncc/dist/ncc/LICENSES.txt b/node_modules/@vercel/ncc/dist/ncc/LICENSES.txt deleted file mode 100644 index 2479065..0000000 --- a/node_modules/@vercel/ncc/dist/ncc/LICENSES.txt +++ /dev/null @@ -1,362 +0,0 @@ -arg -MIT -MIT License - -Copyright (c) 2017-2019 Zeit, 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. - - -balanced-match -MIT -(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 -MIT -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. - - -concat-map -MIT -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. - - -fs.realpath -ISC -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: - - Copyright Joyent, Inc. and other Node 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. - - -get-folder-size -MIT - -glob -ISC -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/ - - -inflight -ISC -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 -ISC -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. - - - -minimatch -ISC -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. - - -mkdirp -MIT -Copyright 2010 James Halliday (mail@substack.net) - -This project is free software released under the MIT/X11 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. - - -once -ISC -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. - - -path-is-absolute -MIT -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. - - -rimraf -ISC -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. - - -tiny-each-async -MIT - -webpack -MIT -Copyright JS Foundation 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. - - -wrappy -ISC -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. diff --git a/node_modules/@vercel/ncc/dist/ncc/buildin/readme.md b/node_modules/@vercel/ncc/dist/ncc/buildin/readme.md deleted file mode 100644 index b624e02..0000000 --- a/node_modules/@vercel/ncc/dist/ncc/buildin/readme.md +++ /dev/null @@ -1,7 +0,0 @@ -# About this directory - -This directory will contain the webpack built-ins, like -`module.js`, so that they can be accessed by webpack when -it's being executed inside the bundled ncc file. - -These files are published to npm. diff --git a/node_modules/@vercel/ncc/dist/ncc/cli.js b/node_modules/@vercel/ncc/dist/ncc/cli.js deleted file mode 100755 index 6fdddc0..0000000 --- a/node_modules/@vercel/ncc/dist/ncc/cli.js +++ /dev/null @@ -1,9 +0,0 @@ -#!/usr/bin/env node -const { readFileSync, writeFileSync } = require('fs'), { Script } = require('vm'), { wrap } = require('module'); -const basename = __dirname + '/cli.js'; -const source = readFileSync(basename + '.cache.js', 'utf-8'); -const cachedData = !process.pkg && require('process').platform !== 'win32' && readFileSync(basename + '.cache'); -const scriptOpts = { filename: basename + '.cache.js', columnOffset: -62 } -const script = new Script(wrap(source), cachedData ? Object.assign({ cachedData }, scriptOpts) : scriptOpts); -(script.runInThisContext())(exports, require, module, __filename, __dirname); -if (cachedData) process.on('exit', () => { try { writeFileSync(basename + '.cache', script.createCachedData()); } catch(e) {} }); diff --git a/node_modules/@vercel/ncc/dist/ncc/cli.js.cache b/node_modules/@vercel/ncc/dist/ncc/cli.js.cache deleted file mode 100644 index 37ffd2e..0000000 Binary files a/node_modules/@vercel/ncc/dist/ncc/cli.js.cache and /dev/null differ diff --git a/node_modules/@vercel/ncc/dist/ncc/cli.js.cache.js b/node_modules/@vercel/ncc/dist/ncc/cli.js.cache.js deleted file mode 100644 index 334b665..0000000 --- a/node_modules/@vercel/ncc/dist/ncc/cli.js.cache.js +++ /dev/null @@ -1 +0,0 @@ -(()=>{var __webpack_modules__={306:e=>{"use strict";e.exports=JSON.parse('{"name":"@vercel/ncc","description":"Simple CLI for compiling a Node.js module into a single file, together with all its dependencies, gcc-style.","version":"0.29.0","repository":"vercel/ncc","license":"MIT","main":"./dist/ncc/index.js","bin":{"ncc":"./dist/ncc/cli.js"},"files":["dist"],"scripts":{"build":"node scripts/build.js","build-test-binary":"cd test/binary && node-gyp rebuild && cp build/Release/hello.node ../integration/hello.node","codecov":"codecov","test":"node --expose-gc --max_old_space_size=3072 node_modules/.bin/jest","test-coverage":"node --expose-gc --max_old_space_size=3072 node_modules/.bin/jest --coverage --globals \\"{\\\\\\"coverage\\\\\\":true}\\" && codecov","prepublishOnly":"node scripts/build.js --no-cache"},"devDependencies":{"@azure/cosmos":"^2.0.5","@bugsnag/js":"^5.0.1","@ffmpeg-installer/ffmpeg":"^1.0.17","@google-cloud/bigquery":"^2.0.1","@google-cloud/firestore":"^2.2.0","@sentry/node":"^4.3.0","@slack/web-api":"^5.13.0","@tensorflow/tfjs-node":"^0.3.0","@vercel/webpack-asset-relocator-loader":"1.6.0","analytics-node":"^3.3.0","apollo-server-express":"^2.2.2","arg":"^4.1.0","auth0":"^2.14.0","aws-sdk":"^2.356.0","axios":"^0.21.1","azure-storage":"^2.10.2","browserify-middleware":"^8.1.1","bytes":"^3.0.0","canvas":"^2.2.0","chromeless":"^1.5.2","codecov":"^3.8.1","consolidate":"^0.15.1","copy":"^0.3.2","core-js":"^2.5.7","cowsay":"^1.3.1","esm":"^3.2.22","express":"^4.16.4","fetch-h2":"^1.0.2","firebase":"^6.1.1","firebase-admin":"^6.3.0","fluent-ffmpeg":"^2.1.2","fontkit":"^1.7.7","get-folder-size":"^2.0.0","glob":"^7.1.3","got":"^9.3.2","graceful-fs":"^4.1.15","graphql":"^14.0.2","highlights":"^3.1.1","hot-shots":"^5.9.2","ioredis":"^4.2.0","isomorphic-unfetch":"^3.0.0","jest":"^27.0.6","jimp":"^0.5.6","jugglingdb":"2.0.1","koa":"^2.6.2","leveldown":"^5.6.0","license-webpack-plugin":"2.3.11","lighthouse":"^5.0.0","loopback":"^3.24.0","mailgun":"^0.5.0","mariadb":"^2.0.1-beta","memcached":"^2.2.2","mkdirp":"^0.5.1","mongoose":"^5.3.12","mysql":"^2.16.0","node-gyp":"^3.8.0","npm":"^6.13.4","oracledb":"^4.2.0","passport":"^0.4.0","passport-google-oauth":"^1.0.0","path-platform":"^0.11.15","pdf2json":"^1.1.8","pdfkit":"^0.8.3","pg":"^7.6.1","pug":"^3.0.1","react":"^16.6.3","react-dom":"^16.6.3","redis":"^3.1.1","request":"^2.88.0","rxjs":"^6.3.3","saslprep":"^1.0.2","sequelize":"^5.8.6","sharp":"^0.25.2","shebang-loader":"^0.0.1","socket.io":"^2.2.0","source-map-support":"^0.5.9","stripe":"^6.15.0","swig":"^1.4.2","terser":"^5.6.1","the-answer":"^1.0.0","tiny-json-http":"^7.0.2","ts-loader":"^8.3.0","tsconfig-paths":"^3.7.0","tsconfig-paths-webpack-plugin":"^3.2.0","twilio":"^3.23.2","typescript":"^3.9.9","vm2":"^3.6.6","vue":"^2.5.17","vue-server-renderer":"^2.5.17","web-vitals":"^0.2.4","webpack":"5.44.0","when":"^3.7.8"},"resolutions":{"grpc":"1.24.6"}}')},832:e=>{const t=Symbol("arg flag");function arg(e,{argv:r=process.argv.slice(2),permissive:i=false,stopAtPositional:n=false}={}){if(!e){throw new Error("Argument specification object is required")}const a={_:[]};const s={};const o={};for(const r of Object.keys(e)){if(!r){throw new TypeError("Argument key cannot be an empty string")}if(r[0]!=="-"){throw new TypeError(`Argument key must start with '-' but found: '${r}'`)}if(r.length===1){throw new TypeError(`Argument key must have a name; singular '-' keys are not allowed: ${r}`)}if(typeof e[r]==="string"){s[r]=e[r];continue}let i=e[r];let n=false;if(Array.isArray(i)&&i.length===1&&typeof i[0]==="function"){const[e]=i;i=(t,r,i=[])=>{i.push(e(t,r,i[i.length-1]));return i};n=e===Boolean||e[t]===true}else if(typeof i==="function"){n=i===Boolean||i[t]===true}else{throw new TypeError(`Type missing or not a function or valid array type: ${r}`)}if(r[1]!=="-"&&r.length>2){throw new TypeError(`Short argument keys (with a single hyphen) must have only one character: ${r}`)}o[r]=[i,n]}for(let e=0,t=r.length;e0){a._=a._.concat(r.slice(e));break}if(t==="--"){a._=a._.concat(r.slice(e+1));break}if(t.length>1&&t[0]==="-"){const n=t[1]==="-"||t.length===2?[t]:t.slice(1).split("").map((e=>`-${e}`));for(let t=0;t1&&r[e+1][0]==="-"&&!(r[e+1].match(/^-?\d*(\.(?=\d))?\d*$/)&&(p===Number||typeof BigInt!=="undefined"&&p===BigInt))){const e=l===h?"":` (alias for ${h})`;throw new Error(`Option requires argument: ${l}${e}`)}a[h]=p(r[e+1],h,a[h]);++e}else{a[h]=p(u,h,a[h])}}}else{a._.push(t)}}return a}arg.flag=e=>{e[t]=true;return e};arg.COUNT=arg.flag(((e,t,r)=>(r||0)+1));e.exports=arg},835:e=>{"use strict";e.exports=balanced;function balanced(e,t,r){if(e instanceof RegExp)e=maybeMatch(e,r);if(t instanceof RegExp)t=maybeMatch(t,r);var i=range(e,t,r);return i&&{start:i[0],end:i[1],pre:r.slice(0,i[0]),body:r.slice(i[0]+e.length,i[1]),post:r.slice(i[1]+t.length)}}function maybeMatch(e,t){var r=t.match(e);return r?r[0]:null}balanced.range=range;function range(e,t,r){var i,n,a,s,o;var c=r.indexOf(e);var l=r.indexOf(t,c+1);var u=c;if(c>=0&&l>0){i=[];a=r.length;while(u>=0&&!o){if(u==c){i.push(u);c=r.indexOf(e,u+1)}else if(i.length==1){o=[i.pop(),l]}else{n=i.pop();if(n=0?c:l}if(i.length){o=[a,s]}}return o}},215:(e,t,r)=>{var i=r(551);var n=r(835);e.exports=expandTop;var a="\0SLASH"+Math.random()+"\0";var s="\0OPEN"+Math.random()+"\0";var o="\0CLOSE"+Math.random()+"\0";var c="\0COMMA"+Math.random()+"\0";var l="\0PERIOD"+Math.random()+"\0";function numeric(e){return parseInt(e,10)==e?parseInt(e,10):e.charCodeAt(0)}function escapeBraces(e){return e.split("\\\\").join(a).split("\\{").join(s).split("\\}").join(o).split("\\,").join(c).split("\\.").join(l)}function unescapeBraces(e){return e.split(a).join("\\").split(s).join("{").split(o).join("}").split(c).join(",").split(l).join(".")}function parseCommaParts(e){if(!e)return[""];var t=[];var r=n("{","}",e);if(!r)return e.split(",");var i=r.pre;var a=r.body;var s=r.post;var o=i.split(",");o[o.length-1]+="{"+a+"}";var c=parseCommaParts(s);if(s.length){o[o.length-1]+=c.shift();o.push.apply(o,c)}t.push.apply(t,o);return t}function expandTop(e){if(!e)return[];if(e.substr(0,2)==="{}"){e="\\{\\}"+e.substr(2)}return expand(escapeBraces(e),true).map(unescapeBraces)}function identity(e){return e}function embrace(e){return"{"+e+"}"}function isPadded(e){return/^-?0\d/.test(e)}function lte(e,t){return e<=t}function gte(e,t){return e>=t}function expand(e,t){var r=[];var a=n("{","}",e);if(!a||/\$$/.test(a.pre))return[e];var s=/^-?\d+\.\.-?\d+(?:\.\.-?\d+)?$/.test(a.body);var c=/^[a-zA-Z]\.\.[a-zA-Z](?:\.\.-?\d+)?$/.test(a.body);var l=s||c;var u=a.body.indexOf(",")>=0;if(!l&&!u){if(a.post.match(/,.*\}/)){e=a.pre+"{"+a.body+o+a.post;return expand(e)}return[e]}var h;if(l){h=a.body.split(/\.\./)}else{h=parseCommaParts(a.body);if(h.length===1){h=expand(h[0],false).map(embrace);if(h.length===1){var p=a.post.length?expand(a.post,false):[""];return p.map((function(e){return a.pre+h[0]+e}))}}}var d=a.pre;var p=a.post.length?expand(a.post,false):[""];var m;if(l){var v=numeric(h[0]);var g=numeric(h[1]);var b=Math.max(h[0].length,h[1].length);var y=h.length==3?Math.abs(numeric(h[2])):1;var _=lte;var w=g0){var O=new Array(x+1).join("0");if(E<0)S="-"+O+S.slice(1);else S=O+S}}}m.push(S)}}else{m=i(h,(function(e){return expand(e,false)}))}for(var j=0;j{e.exports=function(e,r){var i=[];for(var n=0;n{e.exports=realpath;realpath.realpath=realpath;realpath.sync=realpathSync;realpath.realpathSync=realpathSync;realpath.monkeypatch=monkeypatch;realpath.unmonkeypatch=unmonkeypatch;var i=r(747);var n=i.realpath;var a=i.realpathSync;var s=process.version;var o=/^v[0-5]\./.test(s);var c=r(411);function newError(e){return e&&e.syscall==="realpath"&&(e.code==="ELOOP"||e.code==="ENOMEM"||e.code==="ENAMETOOLONG")}function realpath(e,t,r){if(o){return n(e,t,r)}if(typeof t==="function"){r=t;t=null}n(e,t,(function(i,n){if(newError(i)){c.realpath(e,t,r)}else{r(i,n)}}))}function realpathSync(e,t){if(o){return a(e,t)}try{return a(e,t)}catch(r){if(newError(r)){return c.realpathSync(e,t)}else{throw r}}}function monkeypatch(){i.realpath=realpath;i.realpathSync=realpathSync}function unmonkeypatch(){i.realpath=n;i.realpathSync=a}},411:(e,t,r)=>{var i=r(622);var n=process.platform==="win32";var a=r(747);var s=process.env.NODE_DEBUG&&/fs/.test(process.env.NODE_DEBUG);function rethrow(){var e;if(s){var t=new Error;e=debugCallback}else e=missingCallback;return e;function debugCallback(e){if(e){t.message=e.message;e=t;missingCallback(e)}}function missingCallback(e){if(e){if(process.throwDeprecation)throw e;else if(!process.noDeprecation){var t="fs: missing callback "+(e.stack||e.message);if(process.traceDeprecation)console.trace(t);else console.error(t)}}}}function maybeCallback(e){return typeof e==="function"?e:rethrow()}var o=i.normalize;if(n){var c=/(.*?)(?:[\/\\]+|$)/g}else{var c=/(.*?)(?:[\/]+|$)/g}if(n){var l=/^(?:[a-zA-Z]:|[\\\/]{2}[^\\\/]+[\\\/][^\\\/]+)?[\\\/]*/}else{var l=/^[\/]*/}t.realpathSync=function realpathSync(e,t){e=i.resolve(e);if(t&&Object.prototype.hasOwnProperty.call(t,e)){return t[e]}var r=e,s={},o={};var u;var h;var p;var d;start();function start(){var t=l.exec(e);u=t[0].length;h=t[0];p=t[0];d="";if(n&&!o[p]){a.lstatSync(p);o[p]=true}}while(u=e.length){if(t)t[s]=e;return r(null,e)}c.lastIndex=h;var i=c.exec(e);m=p;p+=i[0];d=m+i[1];h=c.lastIndex;if(u[d]||t&&t[d]===d){return process.nextTick(LOOP)}if(t&&Object.prototype.hasOwnProperty.call(t,d)){return gotResolvedLink(t[d])}return a.lstat(d,gotStat)}function gotStat(e,i){if(e)return r(e);if(!i.isSymbolicLink()){u[d]=true;if(t)t[d]=d;return process.nextTick(LOOP)}if(!n){var s=i.dev.toString(32)+":"+i.ino.toString(32);if(o.hasOwnProperty(s)){return gotTarget(null,o[s],d)}}a.stat(d,(function(e){if(e)return r(e);a.readlink(d,(function(e,t){if(!n)o[s]=t;gotTarget(e,t)}))}))}function gotTarget(e,n,a){if(e)return r(e);var s=i.resolve(m,n);if(t)t[a]=s;gotResolvedLink(s)}function gotResolvedLink(t){e=i.resolve(t,e.slice(h));start()}}},74:(e,t,r)=>{"use strict";const i=r(747);const n=r(622);const a=r(833);function readSizeRecursive(e,t,r,s){let o;let c;if(!s){o=r;c=null}else{o=s;c=r}i.lstat(t,(function lstat(r,s){let l=!r?s.size||0:0;if(s){if(e.has(s.ino)){return o(null,0)}e.add(s.ino)}if(!r&&s.isDirectory()){i.readdir(t,((r,i)=>{if(r){return o(r)}a(i,5e3,((r,i)=>{readSizeRecursive(e,n.join(t,r),c,((e,t)=>{if(!e){l+=t}i(e)}))}),(e=>{o(e,l)}))}))}else{if(c&&c.test(t)){l=0}o(r,l)}}))}e.exports=(...e)=>{e.unshift(new Set);return readSizeRecursive(...e)}},744:(e,t,r)=>{t.alphasort=alphasort;t.alphasorti=alphasorti;t.setopts=setopts;t.ownProp=ownProp;t.makeAbs=makeAbs;t.finish=finish;t.mark=mark;t.isIgnored=isIgnored;t.childrenIgnored=childrenIgnored;function ownProp(e,t){return Object.prototype.hasOwnProperty.call(e,t)}var i=r(622);var n=r(642);var a=r(963);var s=n.Minimatch;function alphasorti(e,t){return e.toLowerCase().localeCompare(t.toLowerCase())}function alphasort(e,t){return e.localeCompare(t)}function setupIgnores(e,t){e.ignore=t.ignore||[];if(!Array.isArray(e.ignore))e.ignore=[e.ignore];if(e.ignore.length){e.ignore=e.ignore.map(ignoreMap)}}function ignoreMap(e){var t=null;if(e.slice(-3)==="/**"){var r=e.replace(/(\/\*\*)+$/,"");t=new s(r,{dot:true})}return{matcher:new s(e,{dot:true}),gmatcher:t}}function setopts(e,t,r){if(!r)r={};if(r.matchBase&&-1===t.indexOf("/")){if(r.noglobstar){throw new Error("base matching requires globstar")}t="**/"+t}e.silent=!!r.silent;e.pattern=t;e.strict=r.strict!==false;e.realpath=!!r.realpath;e.realpathCache=r.realpathCache||Object.create(null);e.follow=!!r.follow;e.dot=!!r.dot;e.mark=!!r.mark;e.nodir=!!r.nodir;if(e.nodir)e.mark=true;e.sync=!!r.sync;e.nounique=!!r.nounique;e.nonull=!!r.nonull;e.nosort=!!r.nosort;e.nocase=!!r.nocase;e.stat=!!r.stat;e.noprocess=!!r.noprocess;e.absolute=!!r.absolute;e.maxLength=r.maxLength||Infinity;e.cache=r.cache||Object.create(null);e.statCache=r.statCache||Object.create(null);e.symlinks=r.symlinks||Object.create(null);setupIgnores(e,r);e.changedCwd=false;var n=process.cwd();if(!ownProp(r,"cwd"))e.cwd=n;else{e.cwd=i.resolve(r.cwd);e.changedCwd=e.cwd!==n}e.root=r.root||i.resolve(e.cwd,"/");e.root=i.resolve(e.root);if(process.platform==="win32")e.root=e.root.replace(/\\/g,"/");e.cwdAbs=a(e.cwd)?e.cwd:makeAbs(e,e.cwd);if(process.platform==="win32")e.cwdAbs=e.cwdAbs.replace(/\\/g,"/");e.nomount=!!r.nomount;r.nonegate=true;r.nocomment=true;e.minimatch=new s(t,r);e.options=e.minimatch.options}function finish(e){var t=e.nounique;var r=t?[]:Object.create(null);for(var i=0,n=e.matches.length;i{e.exports=glob;var i=r(747);var n=r(909);var a=r(642);var s=a.Minimatch;var o=r(309);var c=r(614).EventEmitter;var l=r(622);var u=r(357);var h=r(963);var p=r(381);var d=r(744);var m=d.alphasort;var v=d.alphasorti;var g=d.setopts;var b=d.ownProp;var y=r(753);var _=r(669);var w=d.childrenIgnored;var k=d.isIgnored;var E=r(481);function glob(e,t,r){if(typeof t==="function")r=t,t={};if(!t)t={};if(t.sync){if(r)throw new TypeError("callback provided to sync glob");return p(e,t)}return new Glob(e,t,r)}glob.sync=p;var S=glob.GlobSync=p.GlobSync;glob.glob=glob;function extend(e,t){if(t===null||typeof t!=="object"){return e}var r=Object.keys(t);var i=r.length;while(i--){e[r[i]]=t[r[i]]}return e}glob.hasMagic=function(e,t){var r=extend({},t);r.noprocess=true;var i=new Glob(e,r);var n=i.minimatch.set;if(!e)return false;if(n.length>1)return true;for(var a=0;athis.maxLength)return t();if(!this.stat&&b(this.cache,r)){var a=this.cache[r];if(Array.isArray(a))a="DIR";if(!n||a==="DIR")return t(null,a);if(n&&a==="FILE")return t()}var s;var o=this.statCache[r];if(o!==undefined){if(o===false)return t(null,o);else{var c=o.isDirectory()?"DIR":"FILE";if(n&&c==="FILE")return t();else return t(null,c,o)}}var l=this;var u=y("stat\0"+r,lstatcb_);if(u)i.lstat(r,u);function lstatcb_(n,a){if(a&&a.isSymbolicLink()){return i.stat(r,(function(i,n){if(i)l._stat2(e,r,null,a,t);else l._stat2(e,r,i,n,t)}))}else{l._stat2(e,r,n,a,t)}}};Glob.prototype._stat2=function(e,t,r,i,n){if(r&&(r.code==="ENOENT"||r.code==="ENOTDIR")){this.statCache[t]=false;return n()}var a=e.slice(-1)==="/";this.statCache[t]=i;if(t.slice(-1)==="/"&&i&&!i.isDirectory())return n(null,false,i);var s=true;if(i)s=i.isDirectory()?"DIR":"FILE";this.cache[t]=this.cache[t]||s;if(a&&s==="FILE")return n();return n(null,s,i)}},381:(e,t,r)=>{e.exports=globSync;globSync.GlobSync=GlobSync;var i=r(747);var n=r(909);var a=r(642);var s=a.Minimatch;var o=r(750).Glob;var c=r(669);var l=r(622);var u=r(357);var h=r(963);var p=r(744);var d=p.alphasort;var m=p.alphasorti;var v=p.setopts;var g=p.ownProp;var b=p.childrenIgnored;var y=p.isIgnored;function globSync(e,t){if(typeof t==="function"||arguments.length===3)throw new TypeError("callback provided to sync glob\n"+"See: https://github.com/isaacs/node-glob/issues/167");return new GlobSync(e,t).found}function GlobSync(e,t){if(!e)throw new Error("must provide pattern");if(typeof t==="function"||arguments.length===3)throw new TypeError("callback provided to sync glob\n"+"See: https://github.com/isaacs/node-glob/issues/167");if(!(this instanceof GlobSync))return new GlobSync(e,t);v(this,e,t);if(this.noprocess)return this;var r=this.minimatch.set.length;this.matches=new Array(r);for(var i=0;ithis.maxLength)return false;if(!this.stat&&g(this.cache,t)){var n=this.cache[t];if(Array.isArray(n))n="DIR";if(!r||n==="DIR")return n;if(r&&n==="FILE")return false}var a;var s=this.statCache[t];if(!s){var o;try{o=i.lstatSync(t)}catch(e){if(e&&(e.code==="ENOENT"||e.code==="ENOTDIR")){this.statCache[t]=false;return false}}if(o&&o.isSymbolicLink()){try{s=i.statSync(t)}catch(e){s=o}}else{s=o}}this.statCache[t]=s;var n=true;if(s)n=s.isDirectory()?"DIR":"FILE";this.cache[t]=this.cache[t]||n;if(r&&n==="FILE")return false;return n};GlobSync.prototype._mark=function(e){return p.mark(this,e)};GlobSync.prototype._makeAbs=function(e){return p.makeAbs(this,e)}},753:(e,t,r)=>{var i=r(687);var n=Object.create(null);var a=r(481);e.exports=i(inflight);function inflight(e,t){if(n[e]){n[e].push(t);return null}else{n[e]=[t];return makeres(e)}}function makeres(e){return a((function RES(){var t=n[e];var r=t.length;var i=slice(arguments);try{for(var a=0;ar){t.splice(0,r);process.nextTick((function(){RES.apply(null,i)}))}else{delete n[e]}}}))}function slice(e){var t=e.length;var r=[];for(var i=0;i{try{var i=r(669);if(typeof i.inherits!=="function")throw"";e.exports=i.inherits}catch(t){e.exports=r(474)}},474:e=>{if(typeof Object.create==="function"){e.exports=function inherits(e,t){if(t){e.super_=t;e.prototype=Object.create(t.prototype,{constructor:{value:e,enumerable:false,writable:true,configurable:true}})}}}else{e.exports=function inherits(e,t){if(t){e.super_=t;var TempCtor=function(){};TempCtor.prototype=t.prototype;e.prototype=new TempCtor;e.prototype.constructor=e}}}},642:(e,t,r)=>{e.exports=minimatch;minimatch.Minimatch=Minimatch;var i={sep:"/"};try{i=r(622)}catch(e){}var n=minimatch.GLOBSTAR=Minimatch.GLOBSTAR={};var a=r(215);var s={"!":{open:"(?:(?!(?:",close:"))[^/]*?)"},"?":{open:"(?:",close:")?"},"+":{open:"(?:",close:")+"},"*":{open:"(?:",close:")*"},"@":{open:"(?:",close:")"}};var o="[^/]";var c=o+"*?";var l="(?:(?!(?:\\/|^)(?:\\.{1,2})($|\\/)).)*?";var u="(?:(?!(?:\\/|^)\\.).)*?";var h=charSet("().*{}+?[]^$\\!");function charSet(e){return e.split("").reduce((function(e,t){e[t]=true;return e}),{})}var p=/\/+/;minimatch.filter=filter;function filter(e,t){t=t||{};return function(r,i,n){return minimatch(r,e,t)}}function ext(e,t){e=e||{};t=t||{};var r={};Object.keys(t).forEach((function(e){r[e]=t[e]}));Object.keys(e).forEach((function(t){r[t]=e[t]}));return r}minimatch.defaults=function(e){if(!e||!Object.keys(e).length)return minimatch;var t=minimatch;var r=function minimatch(r,i,n){return t.minimatch(r,i,ext(e,n))};r.Minimatch=function Minimatch(r,i){return new t.Minimatch(r,ext(e,i))};return r};Minimatch.defaults=function(e){if(!e||!Object.keys(e).length)return Minimatch;return minimatch.defaults(e).Minimatch};function minimatch(e,t,r){if(typeof t!=="string"){throw new TypeError("glob pattern string required")}if(!r)r={};if(!r.nocomment&&t.charAt(0)==="#"){return false}if(t.trim()==="")return e==="";return new Minimatch(t,r).match(e)}function Minimatch(e,t){if(!(this instanceof Minimatch)){return new Minimatch(e,t)}if(typeof e!=="string"){throw new TypeError("glob pattern string required")}if(!t)t={};e=e.trim();if(i.sep!=="/"){e=e.split(i.sep).join("/")}this.options=t;this.set=[];this.pattern=e;this.regexp=null;this.negate=false;this.comment=false;this.empty=false;this.make()}Minimatch.prototype.debug=function(){};Minimatch.prototype.make=make;function make(){if(this._made)return;var e=this.pattern;var t=this.options;if(!t.nocomment&&e.charAt(0)==="#"){this.comment=true;return}if(!e){this.empty=true;return}this.parseNegate();var r=this.globSet=this.braceExpand();if(t.debug)this.debug=console.error;this.debug(this.pattern,r);r=this.globParts=r.map((function(e){return e.split(p)}));this.debug(this.pattern,r);r=r.map((function(e,t,r){return e.map(this.parse,this)}),this);this.debug(this.pattern,r);r=r.filter((function(e){return e.indexOf(false)===-1}));this.debug(this.pattern,r);this.set=r}Minimatch.prototype.parseNegate=parseNegate;function parseNegate(){var e=this.pattern;var t=false;var r=this.options;var i=0;if(r.nonegate)return;for(var n=0,a=e.length;n1024*64){throw new TypeError("pattern is too long")}var r=this.options;if(!r.noglobstar&&e==="**")return n;if(e==="")return"";var i="";var a=!!r.nocase;var l=false;var u=[];var p=[];var m;var v=false;var g=-1;var b=-1;var y=e.charAt(0)==="."?"":r.dot?"(?!(?:^|\\/)\\.{1,2}(?:$|\\/))":"(?!\\.)";var _=this;function clearStateChar(){if(m){switch(m){case"*":i+=c;a=true;break;case"?":i+=o;a=true;break;default:i+="\\"+m;break}_.debug("clearStateChar %j %j",m,i);m=false}}for(var w=0,k=e.length,E;w-1;M--){var G=p[M];var N=i.slice(0,G.reStart);var I=i.slice(G.reStart,G.reEnd-8);var C=i.slice(G.reEnd-8,G.reEnd);var R=i.slice(G.reEnd);C+=R;var q=N.split("(").length-1;var D=R;for(w=0;w=0;s--){a=e[s];if(a)break}for(s=0;s>> no match, partial?",e,h,t,p);if(h===o)return true}return false}var m;if(typeof l==="string"){if(i.nocase){m=u.toLowerCase()===l.toLowerCase()}else{m=u===l}this.debug("string match",l,u,m)}else{m=u.match(l);this.debug("pattern match",l,u,m)}if(!m)return false}if(a===o&&s===c){return true}else if(a===o){return r}else if(s===c){var v=a===o-1&&e[a]==="";return v}throw new Error("wtf?")};function globUnescape(e){return e.replace(/\\(.)/g,"$1")}function regExpEscape(e){return e.replace(/[-[\]{}()*+?.,\\^$|#\s]/g,"\\$&")}},485:(e,t,r)=>{var i=r(622);var n=r(747);var a=parseInt("0777",8);e.exports=mkdirP.mkdirp=mkdirP.mkdirP=mkdirP;function mkdirP(e,t,r,s){if(typeof t==="function"){r=t;t={}}else if(!t||typeof t!=="object"){t={mode:t}}var o=t.mode;var c=t.fs||n;if(o===undefined){o=a}if(!s)s=null;var l=r||function(){};e=i.resolve(e);c.mkdir(e,o,(function(r){if(!r){s=s||e;return l(null,s)}switch(r.code){case"ENOENT":if(i.dirname(e)===e)return l(r);mkdirP(i.dirname(e),t,(function(r,i){if(r)l(r,i);else mkdirP(e,t,l,i)}));break;default:c.stat(e,(function(e,t){if(e||!t.isDirectory())l(r,s);else l(null,s)}));break}}))}mkdirP.sync=function sync(e,t,r){if(!t||typeof t!=="object"){t={mode:t}}var s=t.mode;var o=t.fs||n;if(s===undefined){s=a}if(!r)r=null;e=i.resolve(e);try{o.mkdirSync(e,s);r=r||e}catch(n){switch(n.code){case"ENOENT":r=sync(i.dirname(e),t,r);sync(e,t,r);break;default:var c;try{c=o.statSync(e)}catch(e){throw n}if(!c.isDirectory())throw n;break}}return r}},481:(e,t,r)=>{var i=r(687);e.exports=i(once);e.exports.strict=i(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(e){var f=function(){if(f.called)return f.value;f.called=true;return f.value=e.apply(this,arguments)};f.called=false;return f}function onceStrict(e){var f=function(){if(f.called)throw new Error(f.onceError);f.called=true;return f.value=e.apply(this,arguments)};var t=e.name||"Function wrapped with `once`";f.onceError=t+" shouldn't be called more than once";f.called=false;return f}},963:e=>{"use strict";function posix(e){return e.charAt(0)==="/"}function win32(e){var t=/^([a-zA-Z]:|[\\\/]{2}[^\\\/]+[\\\/]+[^\\\/]+)?([\\\/])?([\s\S]*?)$/;var r=t.exec(e);var i=r[1]||"";var n=Boolean(i&&i.charAt(1)!==":");return Boolean(r[2]||n)}e.exports=process.platform==="win32"?win32:posix;e.exports.posix=posix;e.exports.win32=win32},8:(e,t,r)=>{e.exports=rimraf;rimraf.sync=rimrafSync;var i=r(357);var n=r(622);var a=r(747);var s=undefined;try{s=r(750)}catch(e){}var o=parseInt("666",8);var c={nosort:true,silent:true};var l=0;var u=process.platform==="win32";function defaults(e){var t=["unlink","chmod","stat","lstat","rmdir","readdir"];t.forEach((function(t){e[t]=e[t]||a[t];t=t+"Sync";e[t]=e[t]||a[t]}));e.maxBusyTries=e.maxBusyTries||3;e.emfileWait=e.emfileWait||1e3;if(e.glob===false){e.disableGlob=true}if(e.disableGlob!==true&&s===undefined){throw Error("glob dependency not found, set `options.disableGlob = true` if intentional")}e.disableGlob=e.disableGlob||false;e.glob=e.glob||c}function rimraf(e,t,r){if(typeof t==="function"){r=t;t={}}i(e,"rimraf: missing path");i.equal(typeof e,"string","rimraf: path should be a string");i.equal(typeof r,"function","rimraf: callback function required");i(t,"rimraf: invalid options argument provided");i.equal(typeof t,"object","rimraf: options should be object");defaults(t);var n=0;var a=null;var o=0;if(t.disableGlob||!s.hasMagic(e))return afterGlob(null,[e]);t.lstat(e,(function(r,i){if(!r)return afterGlob(null,[e]);s(e,t.glob,afterGlob)}));function next(e){a=a||e;if(--o===0)r(a)}function afterGlob(e,i){if(e)return r(e);o=i.length;if(o===0)return r();i.forEach((function(e){rimraf_(e,t,(function CB(r){if(r){if((r.code==="EBUSY"||r.code==="ENOTEMPTY"||r.code==="EPERM")&&n{"use strict";e.exports=function eachAsync(e,t,r,i){var n=0;var a=0;var s=e.length-1;var o=false;var c;var l;var u;if(typeof t==="number"){c=t;u=r;l=i||function noop(){}}else{u=t;l=r||function noop(){};c=e.length}if(!e.length){return l()}var h=u.length;var p=function shouldCallNextIterator(){return!o&&n{e.exports=wrappy;function wrappy(e,t){if(e&&t)return wrappy(e)(t);if(typeof e!=="function")throw new TypeError("need wrapper function");Object.keys(e).forEach((function(t){wrapper[t]=e[t]}));return wrapper;function wrapper(){var t=new Array(arguments.length);for(var r=0;r{const{resolve:resolve,relative:relative,dirname:dirname,sep:sep}=__webpack_require__(622);const glob=__webpack_require__(750);const shebangRegEx=__webpack_require__(681);const rimraf=__webpack_require__(8);const crypto=__webpack_require__(417);const{writeFileSync:writeFileSync,unlink:unlink,existsSync:existsSync,symlinkSync:symlinkSync}=__webpack_require__(747);const{hasTypeModule:hasTypeModule}=__webpack_require__(664);const mkdirp=__webpack_require__(485);const{version:nccVersion}=__webpack_require__(306);process.noDeprecation=true;const usage=`Usage: ncc \n\nCommands:\n build [opts]\n run [opts]\n cache clean|dir|size\n help\n version\n\nOptions:\n -o, --out [file] Output directory for build (defaults to dist)\n -m, --minify Minify output\n -C, --no-cache Skip build cache population\n -s, --source-map Generate source map\n --no-source-map-register Skip source-map-register source map support\n -e, --external [mod] Skip bundling 'mod'. Can be used many times\n -q, --quiet Disable build summaries / non-error outputs\n -w, --watch Start a watched build\n -t, --transpile-only Use transpileOnly option with the ts-loader\n --v8-cache Emit a build using the v8 compile cache\n --license [file] Adds a file containing licensing information to the output\n --stats-out [file] Emit webpack stats as json to the specified output file\n --target [es] ECMAScript target to use for output (default: es2015)\n Learn more: https://webpack.js.org/configuration/target\n`;let api=false;if(require.main===require.cache[eval("__filename")]){runCmd(process.argv.slice(2),process.stdout,process.stderr).then((e=>{if(!e)process.exit()})).catch((e=>{if(!e.silent)console.error(e.nccError?e.message:e);process.exit(e.exitCode||1)}))}else{module.exports=runCmd;api=true}function renderSummary(e,t,r,i,n,a){if(n&&!n.endsWith(sep))n+=sep;const s=Math.round(Buffer.byteLength(e,"utf8")/1024);const o=t?Math.round(Buffer.byteLength(t,"utf8")/1024):0;const c=Object.create(null);let l=s;let u=8+(t?4:0);for(const e of Object.keys(r)){const t=r[e].source;const i=Math.round((t.byteLength||Buffer.byteLength(t,"utf8"))/1024);c[e]=i;l+=i;if(e.length>u)u=e.length}const h=Object.keys(r).sort(((e,t)=>c[e]>c[t]?1:-1));const p=l.toString().length;let d=`${s.toString().padStart(p," ")}kB ${n}index${i}`;let m=t?`${o.toString().padStart(p," ")}kB ${n}index${i}.map`:"";let v="",g=true;for(const e of h){if(g)g=false;else v+="\n";if(s2)errTooManyArguments("cache");const flags=Object.keys(args).filter((e=>e.startsWith("--")));if(flags.length)errFlagNotCompatible(flags[0],"cache");const cacheDir=__webpack_require__(946);switch(args._[1]){case"clean":rimraf.sync(cacheDir);break;case"dir":stdout.write(cacheDir+"\n");break;case"size":__webpack_require__(74)(cacheDir,((e,t)=>{if(e){if(e.code==="ENOENT"){stdout.write("0MB\n");return}throw e}stdout.write(`${(t/1024/1024).toFixed(2)}MB\n`)}));break;default:errInvalidCommand("cache "+args._[1])}break;case"run":if(args._.length>2)errTooManyArguments("run");if(args["--out"])errFlagNotCompatible("--out","run");if(args["--watch"])errFlagNotCompatible("--watch","run");outDir=resolve(__webpack_require__(87).tmpdir(),crypto.createHash("md5").update(resolve(args._[1]||".")).digest("hex"));if(existsSync(outDir))rimraf.sync(outDir);mkdirp.sync(outDir);run=true;case"build":if(args._.length>2)errTooManyArguments("build");let startTime=Date.now();let ps;const buildFile=eval("require.resolve")(resolve(args._[1]||"."));const esm=buildFile.endsWith(".mjs")||!buildFile.endsWith(".cjs")&&hasTypeModule(buildFile);const ext=buildFile.endsWith(".cjs")?".cjs":esm&&(buildFile.endsWith(".mjs")||!hasTypeModule(buildFile))?".mjs":".js";const ncc=__webpack_require__(612)(buildFile,{debugLog:args["--debug"],minify:args["--minify"],externals:args["--external"],sourceMap:args["--source-map"]||run,sourceMapRegister:args["--no-source-map-register"]?false:undefined,noAssetBuilds:args["--no-asset-builds"]?true:false,cache:args["--no-cache"]?false:undefined,watch:args["--watch"],v8cache:args["--v8-cache"],transpileOnly:args["--transpile-only"],license:args["--license"],quiet:quiet,target:args["--target"]});async function handler({err:err,code:code,map:map,assets:assets,symlinks:symlinks,stats:stats}){if(err){stderr.write(err+"\n");stdout.write("Watching for changes...\n");return}outDir=outDir||resolve(eval("'dist'"));mkdirp.sync(outDir);await Promise.all((await new Promise(((e,t)=>glob(outDir+"/**/*.(js|cjs)",((r,i)=>r?t(r):e(i)))))).map((e=>new Promise(((t,r)=>unlink(e,(e=>e?r(e):t())))))));writeFileSync(`${outDir}/index${ext}`,code,{mode:code.match(shebangRegEx)?511:438});if(map)writeFileSync(`${outDir}/index${ext}.map`,map);for(const e of Object.keys(assets)){const t=outDir+"/"+e;mkdirp.sync(dirname(t));writeFileSync(t,assets[e].source,{mode:assets[e].permissions})}for(const e of Object.keys(symlinks)){const t=outDir+"/"+e;symlinkSync(symlinks[e],t)}if(!quiet){stdout.write(renderSummary(code,map,assets,ext,run?"":relative(process.cwd(),outDir),Date.now()-startTime)+"\n");if(args["--watch"])stdout.write("Watching for changes...\n")}if(statsOutFile)writeFileSync(statsOutFile,JSON.stringify(stats.toJson()));if(run){const e=resolve("/node_modules");let t=dirname(buildFile)+"/node_modules";do{if(t===e){t=undefined;break}if(existsSync(t))break}while(t=resolve(t,"../../node_modules"));if(t)symlinkSync(t,outDir+"/node_modules","junction");ps=__webpack_require__(129).fork(`${outDir}/index${ext}`,{stdio:api?"pipe":"inherit"});if(api){ps.stdout.pipe(stdout);ps.stderr.pipe(stderr)}return new Promise(((e,t)=>{function exit(r){__webpack_require__(8).sync(outDir);if(r===0)e();else t({silent:true,exitCode:r});process.off("SIGTERM",exit);process.off("SIGINT",exit)}ps.on("exit",exit);process.on("SIGTERM",exit);process.on("SIGINT",exit)}))}}if(args["--watch"]){ncc.handler(handler);ncc.rebuild((()=>{if(ps)ps.kill();startTime=Date.now();stdout.write("File change, rebuilding...\n")}));return true}else{return ncc.then(handler)}break;case"help":nccError(usage,2);case"version":stdout.write(__webpack_require__(306).version+"\n");break;default:errInvalidCommand(args._[0],2)}function errTooManyArguments(e){nccError(`Error: Too many ${e} arguments provided\n${usage}`,2)}function errFlagNotCompatible(e,t){nccError(`Error: ${e} flag is not compatible with ncc ${t}\n${usage}`,2)}function errInvalidCommand(e){nccError(`Error: Invalid command "${e}"\n${usage}`,2)}process.on("unhandledRejection",(e=>{throw e}))}},664:(__unused_webpack_module,exports,__webpack_require__)=>{const{resolve:resolve}=__webpack_require__(622);const{readFileSync:readFileSync}=__webpack_require__(747);exports.hasTypeModule=function hasTypeModule(path){while(path!==(path=resolve(path,".."))){try{return JSON.parse(readFileSync(eval("resolve")(path,"package.json")).toString()).type==="module"}catch(e){if(e.code==="ENOENT")continue;throw e}}}},946:(e,t,r)=>{e.exports=r(87).tmpdir()+"/ncc-cache"},681:e=>{e.exports=/^#![^\n\r]*[\r\n]/},612:e=>{"use strict";e.exports=require("./index.js")},357:e=>{"use strict";e.exports=require("assert")},129:e=>{"use strict";e.exports=require("child_process")},417:e=>{"use strict";e.exports=require("crypto")},614:e=>{"use strict";e.exports=require("events")},747:e=>{"use strict";e.exports=require("fs")},87:e=>{"use strict";e.exports=require("os")},622:e=>{"use strict";e.exports=require("path")},669:e=>{"use strict";e.exports=require("util")}};var __webpack_module_cache__={};function __webpack_require__(e){var t=__webpack_module_cache__[e];if(t!==undefined){return t.exports}var r=__webpack_module_cache__[e]={exports:{}};var i=true;try{__webpack_modules__[e](r,r.exports,__webpack_require__);i=false}finally{if(i)delete __webpack_module_cache__[e]}return r.exports}if(typeof __webpack_require__!=="undefined")__webpack_require__.ab=__dirname+"/";var __webpack_exports__=__webpack_require__(819);module.exports=__webpack_exports__})(); \ No newline at end of file diff --git a/node_modules/@vercel/ncc/dist/ncc/index.js b/node_modules/@vercel/ncc/dist/ncc/index.js deleted file mode 100644 index a4e5922..0000000 --- a/node_modules/@vercel/ncc/dist/ncc/index.js +++ /dev/null @@ -1,8 +0,0 @@ -const { readFileSync, writeFileSync } = require('fs'), { Script } = require('vm'), { wrap } = require('module'); -const basename = __dirname + '/index.js'; -const source = readFileSync(basename + '.cache.js', 'utf-8'); -const cachedData = !process.pkg && require('process').platform !== 'win32' && readFileSync(basename + '.cache'); -const scriptOpts = { filename: basename + '.cache.js', columnOffset: -62 } -const script = new Script(wrap(source), cachedData ? Object.assign({ cachedData }, scriptOpts) : scriptOpts); -(script.runInThisContext())(exports, require, module, __filename, __dirname); -if (cachedData) process.on('exit', () => { try { writeFileSync(basename + '.cache', script.createCachedData()); } catch(e) {} }); diff --git a/node_modules/@vercel/ncc/dist/ncc/index.js.cache b/node_modules/@vercel/ncc/dist/ncc/index.js.cache deleted file mode 100644 index a087a36..0000000 Binary files a/node_modules/@vercel/ncc/dist/ncc/index.js.cache and /dev/null differ diff --git a/node_modules/@vercel/ncc/dist/ncc/index.js.cache.js b/node_modules/@vercel/ncc/dist/ncc/index.js.cache.js deleted file mode 100644 index 43dd345..0000000 --- a/node_modules/@vercel/ncc/dist/ncc/index.js.cache.js +++ /dev/null @@ -1,37 +0,0 @@ -(()=>{var __webpack_modules__={66835:E=>{"use strict";E.exports=JSON.parse('{"$schema":"http://json-schema.org/draft-07/schema#","$id":"https://raw.githubusercontent.com/ajv-validator/ajv/master/lib/refs/data.json#","description":"Meta-schema for $data reference (JSON Schema extension proposal)","type":"object","required":["$data"],"properties":{"$data":{"type":"string","anyOf":[{"format":"relative-json-pointer"},{"format":"json-pointer"}]}},"additionalProperties":false}')},40038:E=>{"use strict";E.exports=JSON.parse('{"$schema":"http://json-schema.org/draft-07/schema#","$id":"http://json-schema.org/draft-07/schema#","title":"Core schema meta-schema","definitions":{"schemaArray":{"type":"array","minItems":1,"items":{"$ref":"#"}},"nonNegativeInteger":{"type":"integer","minimum":0},"nonNegativeIntegerDefault0":{"allOf":[{"$ref":"#/definitions/nonNegativeInteger"},{"default":0}]},"simpleTypes":{"enum":["array","boolean","integer","null","number","object","string"]},"stringArray":{"type":"array","items":{"type":"string"},"uniqueItems":true,"default":[]}},"type":["object","boolean"],"properties":{"$id":{"type":"string","format":"uri-reference"},"$schema":{"type":"string","format":"uri"},"$ref":{"type":"string","format":"uri-reference"},"$comment":{"type":"string"},"title":{"type":"string"},"description":{"type":"string"},"default":true,"readOnly":{"type":"boolean","default":false},"examples":{"type":"array","items":true},"multipleOf":{"type":"number","exclusiveMinimum":0},"maximum":{"type":"number"},"exclusiveMaximum":{"type":"number"},"minimum":{"type":"number"},"exclusiveMinimum":{"type":"number"},"maxLength":{"$ref":"#/definitions/nonNegativeInteger"},"minLength":{"$ref":"#/definitions/nonNegativeIntegerDefault0"},"pattern":{"type":"string","format":"regex"},"additionalItems":{"$ref":"#"},"items":{"anyOf":[{"$ref":"#"},{"$ref":"#/definitions/schemaArray"}],"default":true},"maxItems":{"$ref":"#/definitions/nonNegativeInteger"},"minItems":{"$ref":"#/definitions/nonNegativeIntegerDefault0"},"uniqueItems":{"type":"boolean","default":false},"contains":{"$ref":"#"},"maxProperties":{"$ref":"#/definitions/nonNegativeInteger"},"minProperties":{"$ref":"#/definitions/nonNegativeIntegerDefault0"},"required":{"$ref":"#/definitions/stringArray"},"additionalProperties":{"$ref":"#"},"definitions":{"type":"object","additionalProperties":{"$ref":"#"},"default":{}},"properties":{"type":"object","additionalProperties":{"$ref":"#"},"default":{}},"patternProperties":{"type":"object","additionalProperties":{"$ref":"#"},"propertyNames":{"format":"regex"},"default":{}},"dependencies":{"type":"object","additionalProperties":{"anyOf":[{"$ref":"#"},{"$ref":"#/definitions/stringArray"}]}},"propertyNames":{"$ref":"#"},"const":true,"enum":{"type":"array","items":true,"minItems":1,"uniqueItems":true},"type":{"anyOf":[{"$ref":"#/definitions/simpleTypes"},{"type":"array","items":{"$ref":"#/definitions/simpleTypes"},"minItems":1,"uniqueItems":true}]},"format":{"type":"string"},"contentMediaType":{"type":"string"},"contentEncoding":{"type":"string"},"if":{"$ref":"#"},"then":{"$ref":"#"},"else":{"$ref":"#"},"allOf":{"$ref":"#/definitions/schemaArray"},"anyOf":{"$ref":"#/definitions/schemaArray"},"oneOf":{"$ref":"#/definitions/schemaArray"},"not":{"$ref":"#"}},"default":true}')},28440:E=>{function webpackEmptyContext(E){var k=new Error("Cannot find module '"+E+"'");k.code="MODULE_NOT_FOUND";throw k}webpackEmptyContext.keys=()=>[];webpackEmptyContext.resolve=webpackEmptyContext;webpackEmptyContext.id=28440;E.exports=webpackEmptyContext},42245:E=>{"use strict";E.exports={i8:"5.1.1"}},18492:E=>{"use strict";E.exports={version:"4.3.0"}},82788:E=>{"use strict";E.exports={i8:"4.3.0"}},93991:E=>{"use strict";E.exports=JSON.parse('{"assert":true,"assert/strict":">= 15","async_hooks":">= 8","buffer_ieee754":"< 0.9.7","buffer":true,"child_process":true,"cluster":true,"console":true,"constants":true,"crypto":true,"_debug_agent":">= 1 && < 8","_debugger":"< 8","dgram":true,"diagnostics_channel":">= 15.1","dns":true,"dns/promises":">= 15","domain":">= 0.7.12","events":true,"freelist":"< 6","fs":true,"fs/promises":[">= 10 && < 10.1",">= 14"],"_http_agent":">= 0.11.1","_http_client":">= 0.11.1","_http_common":">= 0.11.1","_http_incoming":">= 0.11.1","_http_outgoing":">= 0.11.1","_http_server":">= 0.11.1","http":true,"http2":">= 8.8","https":true,"inspector":">= 8.0.0","_linklist":"< 8","module":true,"net":true,"node-inspect/lib/_inspect":">= 7.6.0 && < 12","node-inspect/lib/internal/inspect_client":">= 7.6.0 && < 12","node-inspect/lib/internal/inspect_repl":">= 7.6.0 && < 12","os":true,"path":true,"path/posix":">= 15.3","path/win32":">= 15.3","perf_hooks":">= 8.5","process":">= 1","punycode":true,"querystring":true,"readline":true,"repl":true,"smalloc":">= 0.11.5 && < 3","_stream_duplex":">= 0.9.4","_stream_transform":">= 0.9.4","_stream_wrap":">= 1.4.1","_stream_passthrough":">= 0.9.4","_stream_readable":">= 0.9.4","_stream_writable":">= 0.9.4","stream":true,"stream/promises":">= 15","string_decoder":true,"sys":[">= 0.6 && < 0.7",">= 0.8"],"timers":true,"timers/promises":">= 15","_tls_common":">= 0.11.13","_tls_legacy":">= 0.11.3 && < 10","_tls_wrap":">= 0.11.3","tls":true,"trace_events":">= 10","tty":true,"url":true,"util":true,"util/types":">= 15.3","v8/tools/arguments":">= 10 && < 12","v8/tools/codemap":[">= 4.4.0 && < 5",">= 5.2.0 && < 12"],"v8/tools/consarray":[">= 4.4.0 && < 5",">= 5.2.0 && < 12"],"v8/tools/csvparser":[">= 4.4.0 && < 5",">= 5.2.0 && < 12"],"v8/tools/logreader":[">= 4.4.0 && < 5",">= 5.2.0 && < 12"],"v8/tools/profile_view":[">= 4.4.0 && < 5",">= 5.2.0 && < 12"],"v8/tools/splaytree":[">= 4.4.0 && < 5",">= 5.2.0 && < 12"],"v8":">= 1","vm":true,"wasi":">= 13.4 && < 13.5","worker_threads":">= 11.7","zlib":true}')},73313:E=>{"use strict";E.exports=JSON.parse('{"application/1d-interleaved-parityfec":{"source":"iana"},"application/3gpdash-qoe-report+xml":{"source":"iana","charset":"UTF-8","compressible":true},"application/3gpp-ims+xml":{"source":"iana","compressible":true},"application/a2l":{"source":"iana"},"application/activemessage":{"source":"iana"},"application/activity+json":{"source":"iana","compressible":true},"application/alto-costmap+json":{"source":"iana","compressible":true},"application/alto-costmapfilter+json":{"source":"iana","compressible":true},"application/alto-directory+json":{"source":"iana","compressible":true},"application/alto-endpointcost+json":{"source":"iana","compressible":true},"application/alto-endpointcostparams+json":{"source":"iana","compressible":true},"application/alto-endpointprop+json":{"source":"iana","compressible":true},"application/alto-endpointpropparams+json":{"source":"iana","compressible":true},"application/alto-error+json":{"source":"iana","compressible":true},"application/alto-networkmap+json":{"source":"iana","compressible":true},"application/alto-networkmapfilter+json":{"source":"iana","compressible":true},"application/alto-updatestreamcontrol+json":{"source":"iana","compressible":true},"application/alto-updatestreamparams+json":{"source":"iana","compressible":true},"application/aml":{"source":"iana"},"application/andrew-inset":{"source":"iana","extensions":["ez"]},"application/applefile":{"source":"iana"},"application/applixware":{"source":"apache","extensions":["aw"]},"application/atf":{"source":"iana"},"application/atfx":{"source":"iana"},"application/atom+xml":{"source":"iana","compressible":true,"extensions":["atom"]},"application/atomcat+xml":{"source":"iana","compressible":true,"extensions":["atomcat"]},"application/atomdeleted+xml":{"source":"iana","compressible":true,"extensions":["atomdeleted"]},"application/atomicmail":{"source":"iana"},"application/atomsvc+xml":{"source":"iana","compressible":true,"extensions":["atomsvc"]},"application/atsc-dwd+xml":{"source":"iana","compressible":true,"extensions":["dwd"]},"application/atsc-dynamic-event-message":{"source":"iana"},"application/atsc-held+xml":{"source":"iana","compressible":true,"extensions":["held"]},"application/atsc-rdt+json":{"source":"iana","compressible":true},"application/atsc-rsat+xml":{"source":"iana","compressible":true,"extensions":["rsat"]},"application/atxml":{"source":"iana"},"application/auth-policy+xml":{"source":"iana","compressible":true},"application/bacnet-xdd+zip":{"source":"iana","compressible":false},"application/batch-smtp":{"source":"iana"},"application/bdoc":{"compressible":false,"extensions":["bdoc"]},"application/beep+xml":{"source":"iana","charset":"UTF-8","compressible":true},"application/calendar+json":{"source":"iana","compressible":true},"application/calendar+xml":{"source":"iana","compressible":true,"extensions":["xcs"]},"application/call-completion":{"source":"iana"},"application/cals-1840":{"source":"iana"},"application/captive+json":{"source":"iana","compressible":true},"application/cbor":{"source":"iana"},"application/cbor-seq":{"source":"iana"},"application/cccex":{"source":"iana"},"application/ccmp+xml":{"source":"iana","compressible":true},"application/ccxml+xml":{"source":"iana","compressible":true,"extensions":["ccxml"]},"application/cdfx+xml":{"source":"iana","compressible":true,"extensions":["cdfx"]},"application/cdmi-capability":{"source":"iana","extensions":["cdmia"]},"application/cdmi-container":{"source":"iana","extensions":["cdmic"]},"application/cdmi-domain":{"source":"iana","extensions":["cdmid"]},"application/cdmi-object":{"source":"iana","extensions":["cdmio"]},"application/cdmi-queue":{"source":"iana","extensions":["cdmiq"]},"application/cdni":{"source":"iana"},"application/cea":{"source":"iana"},"application/cea-2018+xml":{"source":"iana","compressible":true},"application/cellml+xml":{"source":"iana","compressible":true},"application/cfw":{"source":"iana"},"application/clr":{"source":"iana"},"application/clue+xml":{"source":"iana","compressible":true},"application/clue_info+xml":{"source":"iana","compressible":true},"application/cms":{"source":"iana"},"application/cnrp+xml":{"source":"iana","compressible":true},"application/coap-group+json":{"source":"iana","compressible":true},"application/coap-payload":{"source":"iana"},"application/commonground":{"source":"iana"},"application/conference-info+xml":{"source":"iana","compressible":true},"application/cose":{"source":"iana"},"application/cose-key":{"source":"iana"},"application/cose-key-set":{"source":"iana"},"application/cpl+xml":{"source":"iana","compressible":true},"application/csrattrs":{"source":"iana"},"application/csta+xml":{"source":"iana","compressible":true},"application/cstadata+xml":{"source":"iana","compressible":true},"application/csvm+json":{"source":"iana","compressible":true},"application/cu-seeme":{"source":"apache","extensions":["cu"]},"application/cwt":{"source":"iana"},"application/cybercash":{"source":"iana"},"application/dart":{"compressible":true},"application/dash+xml":{"source":"iana","compressible":true,"extensions":["mpd"]},"application/dashdelta":{"source":"iana"},"application/davmount+xml":{"source":"iana","compressible":true,"extensions":["davmount"]},"application/dca-rft":{"source":"iana"},"application/dcd":{"source":"iana"},"application/dec-dx":{"source":"iana"},"application/dialog-info+xml":{"source":"iana","compressible":true},"application/dicom":{"source":"iana"},"application/dicom+json":{"source":"iana","compressible":true},"application/dicom+xml":{"source":"iana","compressible":true},"application/dii":{"source":"iana"},"application/dit":{"source":"iana"},"application/dns":{"source":"iana"},"application/dns+json":{"source":"iana","compressible":true},"application/dns-message":{"source":"iana"},"application/docbook+xml":{"source":"apache","compressible":true,"extensions":["dbk"]},"application/dots+cbor":{"source":"iana"},"application/dskpp+xml":{"source":"iana","compressible":true},"application/dssc+der":{"source":"iana","extensions":["dssc"]},"application/dssc+xml":{"source":"iana","compressible":true,"extensions":["xdssc"]},"application/dvcs":{"source":"iana"},"application/ecmascript":{"source":"iana","compressible":true,"extensions":["ecma","es"]},"application/edi-consent":{"source":"iana"},"application/edi-x12":{"source":"iana","compressible":false},"application/edifact":{"source":"iana","compressible":false},"application/efi":{"source":"iana"},"application/elm+json":{"source":"iana","charset":"UTF-8","compressible":true},"application/elm+xml":{"source":"iana","compressible":true},"application/emergencycalldata.cap+xml":{"source":"iana","charset":"UTF-8","compressible":true},"application/emergencycalldata.comment+xml":{"source":"iana","compressible":true},"application/emergencycalldata.control+xml":{"source":"iana","compressible":true},"application/emergencycalldata.deviceinfo+xml":{"source":"iana","compressible":true},"application/emergencycalldata.ecall.msd":{"source":"iana"},"application/emergencycalldata.providerinfo+xml":{"source":"iana","compressible":true},"application/emergencycalldata.serviceinfo+xml":{"source":"iana","compressible":true},"application/emergencycalldata.subscriberinfo+xml":{"source":"iana","compressible":true},"application/emergencycalldata.veds+xml":{"source":"iana","compressible":true},"application/emma+xml":{"source":"iana","compressible":true,"extensions":["emma"]},"application/emotionml+xml":{"source":"iana","compressible":true,"extensions":["emotionml"]},"application/encaprtp":{"source":"iana"},"application/epp+xml":{"source":"iana","compressible":true},"application/epub+zip":{"source":"iana","compressible":false,"extensions":["epub"]},"application/eshop":{"source":"iana"},"application/exi":{"source":"iana","extensions":["exi"]},"application/expect-ct-report+json":{"source":"iana","compressible":true},"application/fastinfoset":{"source":"iana"},"application/fastsoap":{"source":"iana"},"application/fdt+xml":{"source":"iana","compressible":true,"extensions":["fdt"]},"application/fhir+json":{"source":"iana","charset":"UTF-8","compressible":true},"application/fhir+xml":{"source":"iana","charset":"UTF-8","compressible":true},"application/fido.trusted-apps+json":{"compressible":true},"application/fits":{"source":"iana"},"application/flexfec":{"source":"iana"},"application/font-sfnt":{"source":"iana"},"application/font-tdpfr":{"source":"iana","extensions":["pfr"]},"application/font-woff":{"source":"iana","compressible":false},"application/framework-attributes+xml":{"source":"iana","compressible":true},"application/geo+json":{"source":"iana","compressible":true,"extensions":["geojson"]},"application/geo+json-seq":{"source":"iana"},"application/geopackage+sqlite3":{"source":"iana"},"application/geoxacml+xml":{"source":"iana","compressible":true},"application/gltf-buffer":{"source":"iana"},"application/gml+xml":{"source":"iana","compressible":true,"extensions":["gml"]},"application/gpx+xml":{"source":"apache","compressible":true,"extensions":["gpx"]},"application/gxf":{"source":"apache","extensions":["gxf"]},"application/gzip":{"source":"iana","compressible":false,"extensions":["gz"]},"application/h224":{"source":"iana"},"application/held+xml":{"source":"iana","compressible":true},"application/hjson":{"extensions":["hjson"]},"application/http":{"source":"iana"},"application/hyperstudio":{"source":"iana","extensions":["stk"]},"application/ibe-key-request+xml":{"source":"iana","compressible":true},"application/ibe-pkg-reply+xml":{"source":"iana","compressible":true},"application/ibe-pp-data":{"source":"iana"},"application/iges":{"source":"iana"},"application/im-iscomposing+xml":{"source":"iana","charset":"UTF-8","compressible":true},"application/index":{"source":"iana"},"application/index.cmd":{"source":"iana"},"application/index.obj":{"source":"iana"},"application/index.response":{"source":"iana"},"application/index.vnd":{"source":"iana"},"application/inkml+xml":{"source":"iana","compressible":true,"extensions":["ink","inkml"]},"application/iotp":{"source":"iana"},"application/ipfix":{"source":"iana","extensions":["ipfix"]},"application/ipp":{"source":"iana"},"application/isup":{"source":"iana"},"application/its+xml":{"source":"iana","compressible":true,"extensions":["its"]},"application/java-archive":{"source":"apache","compressible":false,"extensions":["jar","war","ear"]},"application/java-serialized-object":{"source":"apache","compressible":false,"extensions":["ser"]},"application/java-vm":{"source":"apache","compressible":false,"extensions":["class"]},"application/javascript":{"source":"iana","charset":"UTF-8","compressible":true,"extensions":["js","mjs"]},"application/jf2feed+json":{"source":"iana","compressible":true},"application/jose":{"source":"iana"},"application/jose+json":{"source":"iana","compressible":true},"application/jrd+json":{"source":"iana","compressible":true},"application/jscalendar+json":{"source":"iana","compressible":true},"application/json":{"source":"iana","charset":"UTF-8","compressible":true,"extensions":["json","map"]},"application/json-patch+json":{"source":"iana","compressible":true},"application/json-seq":{"source":"iana"},"application/json5":{"extensions":["json5"]},"application/jsonml+json":{"source":"apache","compressible":true,"extensions":["jsonml"]},"application/jwk+json":{"source":"iana","compressible":true},"application/jwk-set+json":{"source":"iana","compressible":true},"application/jwt":{"source":"iana"},"application/kpml-request+xml":{"source":"iana","compressible":true},"application/kpml-response+xml":{"source":"iana","compressible":true},"application/ld+json":{"source":"iana","compressible":true,"extensions":["jsonld"]},"application/lgr+xml":{"source":"iana","compressible":true,"extensions":["lgr"]},"application/link-format":{"source":"iana"},"application/load-control+xml":{"source":"iana","compressible":true},"application/lost+xml":{"source":"iana","compressible":true,"extensions":["lostxml"]},"application/lostsync+xml":{"source":"iana","compressible":true},"application/lpf+zip":{"source":"iana","compressible":false},"application/lxf":{"source":"iana"},"application/mac-binhex40":{"source":"iana","extensions":["hqx"]},"application/mac-compactpro":{"source":"apache","extensions":["cpt"]},"application/macwriteii":{"source":"iana"},"application/mads+xml":{"source":"iana","compressible":true,"extensions":["mads"]},"application/manifest+json":{"charset":"UTF-8","compressible":true,"extensions":["webmanifest"]},"application/marc":{"source":"iana","extensions":["mrc"]},"application/marcxml+xml":{"source":"iana","compressible":true,"extensions":["mrcx"]},"application/mathematica":{"source":"iana","extensions":["ma","nb","mb"]},"application/mathml+xml":{"source":"iana","compressible":true,"extensions":["mathml"]},"application/mathml-content+xml":{"source":"iana","compressible":true},"application/mathml-presentation+xml":{"source":"iana","compressible":true},"application/mbms-associated-procedure-description+xml":{"source":"iana","compressible":true},"application/mbms-deregister+xml":{"source":"iana","compressible":true},"application/mbms-envelope+xml":{"source":"iana","compressible":true},"application/mbms-msk+xml":{"source":"iana","compressible":true},"application/mbms-msk-response+xml":{"source":"iana","compressible":true},"application/mbms-protection-description+xml":{"source":"iana","compressible":true},"application/mbms-reception-report+xml":{"source":"iana","compressible":true},"application/mbms-register+xml":{"source":"iana","compressible":true},"application/mbms-register-response+xml":{"source":"iana","compressible":true},"application/mbms-schedule+xml":{"source":"iana","compressible":true},"application/mbms-user-service-description+xml":{"source":"iana","compressible":true},"application/mbox":{"source":"iana","extensions":["mbox"]},"application/media-policy-dataset+xml":{"source":"iana","compressible":true},"application/media_control+xml":{"source":"iana","compressible":true},"application/mediaservercontrol+xml":{"source":"iana","compressible":true,"extensions":["mscml"]},"application/merge-patch+json":{"source":"iana","compressible":true},"application/metalink+xml":{"source":"apache","compressible":true,"extensions":["metalink"]},"application/metalink4+xml":{"source":"iana","compressible":true,"extensions":["meta4"]},"application/mets+xml":{"source":"iana","compressible":true,"extensions":["mets"]},"application/mf4":{"source":"iana"},"application/mikey":{"source":"iana"},"application/mipc":{"source":"iana"},"application/mmt-aei+xml":{"source":"iana","compressible":true,"extensions":["maei"]},"application/mmt-usd+xml":{"source":"iana","compressible":true,"extensions":["musd"]},"application/mods+xml":{"source":"iana","compressible":true,"extensions":["mods"]},"application/moss-keys":{"source":"iana"},"application/moss-signature":{"source":"iana"},"application/mosskey-data":{"source":"iana"},"application/mosskey-request":{"source":"iana"},"application/mp21":{"source":"iana","extensions":["m21","mp21"]},"application/mp4":{"source":"iana","extensions":["mp4s","m4p"]},"application/mpeg4-generic":{"source":"iana"},"application/mpeg4-iod":{"source":"iana"},"application/mpeg4-iod-xmt":{"source":"iana"},"application/mrb-consumer+xml":{"source":"iana","compressible":true,"extensions":["xdf"]},"application/mrb-publish+xml":{"source":"iana","compressible":true,"extensions":["xdf"]},"application/msc-ivr+xml":{"source":"iana","charset":"UTF-8","compressible":true},"application/msc-mixer+xml":{"source":"iana","charset":"UTF-8","compressible":true},"application/msword":{"source":"iana","compressible":false,"extensions":["doc","dot"]},"application/mud+json":{"source":"iana","compressible":true},"application/multipart-core":{"source":"iana"},"application/mxf":{"source":"iana","extensions":["mxf"]},"application/n-quads":{"source":"iana","extensions":["nq"]},"application/n-triples":{"source":"iana","extensions":["nt"]},"application/nasdata":{"source":"iana"},"application/news-checkgroups":{"source":"iana","charset":"US-ASCII"},"application/news-groupinfo":{"source":"iana","charset":"US-ASCII"},"application/news-transmission":{"source":"iana"},"application/nlsml+xml":{"source":"iana","compressible":true},"application/node":{"source":"iana","extensions":["cjs"]},"application/nss":{"source":"iana"},"application/ocsp-request":{"source":"iana"},"application/ocsp-response":{"source":"iana"},"application/octet-stream":{"source":"iana","compressible":false,"extensions":["bin","dms","lrf","mar","so","dist","distz","pkg","bpk","dump","elc","deploy","exe","dll","deb","dmg","iso","img","msi","msp","msm","buffer"]},"application/oda":{"source":"iana","extensions":["oda"]},"application/odm+xml":{"source":"iana","compressible":true},"application/odx":{"source":"iana"},"application/oebps-package+xml":{"source":"iana","compressible":true,"extensions":["opf"]},"application/ogg":{"source":"iana","compressible":false,"extensions":["ogx"]},"application/omdoc+xml":{"source":"apache","compressible":true,"extensions":["omdoc"]},"application/onenote":{"source":"apache","extensions":["onetoc","onetoc2","onetmp","onepkg"]},"application/opc-nodeset+xml":{"source":"iana","compressible":true},"application/oscore":{"source":"iana"},"application/oxps":{"source":"iana","extensions":["oxps"]},"application/p2p-overlay+xml":{"source":"iana","compressible":true,"extensions":["relo"]},"application/parityfec":{"source":"iana"},"application/passport":{"source":"iana"},"application/patch-ops-error+xml":{"source":"iana","compressible":true,"extensions":["xer"]},"application/pdf":{"source":"iana","compressible":false,"extensions":["pdf"]},"application/pdx":{"source":"iana"},"application/pem-certificate-chain":{"source":"iana"},"application/pgp-encrypted":{"source":"iana","compressible":false,"extensions":["pgp"]},"application/pgp-keys":{"source":"iana"},"application/pgp-signature":{"source":"iana","extensions":["asc","sig"]},"application/pics-rules":{"source":"apache","extensions":["prf"]},"application/pidf+xml":{"source":"iana","charset":"UTF-8","compressible":true},"application/pidf-diff+xml":{"source":"iana","charset":"UTF-8","compressible":true},"application/pkcs10":{"source":"iana","extensions":["p10"]},"application/pkcs12":{"source":"iana"},"application/pkcs7-mime":{"source":"iana","extensions":["p7m","p7c"]},"application/pkcs7-signature":{"source":"iana","extensions":["p7s"]},"application/pkcs8":{"source":"iana","extensions":["p8"]},"application/pkcs8-encrypted":{"source":"iana"},"application/pkix-attr-cert":{"source":"iana","extensions":["ac"]},"application/pkix-cert":{"source":"iana","extensions":["cer"]},"application/pkix-crl":{"source":"iana","extensions":["crl"]},"application/pkix-pkipath":{"source":"iana","extensions":["pkipath"]},"application/pkixcmp":{"source":"iana","extensions":["pki"]},"application/pls+xml":{"source":"iana","compressible":true,"extensions":["pls"]},"application/poc-settings+xml":{"source":"iana","charset":"UTF-8","compressible":true},"application/postscript":{"source":"iana","compressible":true,"extensions":["ai","eps","ps"]},"application/ppsp-tracker+json":{"source":"iana","compressible":true},"application/problem+json":{"source":"iana","compressible":true},"application/problem+xml":{"source":"iana","compressible":true},"application/provenance+xml":{"source":"iana","compressible":true,"extensions":["provx"]},"application/prs.alvestrand.titrax-sheet":{"source":"iana"},"application/prs.cww":{"source":"iana","extensions":["cww"]},"application/prs.cyn":{"source":"iana","charset":"7-BIT"},"application/prs.hpub+zip":{"source":"iana","compressible":false},"application/prs.nprend":{"source":"iana"},"application/prs.plucker":{"source":"iana"},"application/prs.rdf-xml-crypt":{"source":"iana"},"application/prs.xsf+xml":{"source":"iana","compressible":true},"application/pskc+xml":{"source":"iana","compressible":true,"extensions":["pskcxml"]},"application/pvd+json":{"source":"iana","compressible":true},"application/qsig":{"source":"iana"},"application/raml+yaml":{"compressible":true,"extensions":["raml"]},"application/raptorfec":{"source":"iana"},"application/rdap+json":{"source":"iana","compressible":true},"application/rdf+xml":{"source":"iana","compressible":true,"extensions":["rdf","owl"]},"application/reginfo+xml":{"source":"iana","compressible":true,"extensions":["rif"]},"application/relax-ng-compact-syntax":{"source":"iana","extensions":["rnc"]},"application/remote-printing":{"source":"iana"},"application/reputon+json":{"source":"iana","compressible":true},"application/resource-lists+xml":{"source":"iana","compressible":true,"extensions":["rl"]},"application/resource-lists-diff+xml":{"source":"iana","compressible":true,"extensions":["rld"]},"application/rfc+xml":{"source":"iana","compressible":true},"application/riscos":{"source":"iana"},"application/rlmi+xml":{"source":"iana","compressible":true},"application/rls-services+xml":{"source":"iana","compressible":true,"extensions":["rs"]},"application/route-apd+xml":{"source":"iana","compressible":true,"extensions":["rapd"]},"application/route-s-tsid+xml":{"source":"iana","compressible":true,"extensions":["sls"]},"application/route-usd+xml":{"source":"iana","compressible":true,"extensions":["rusd"]},"application/rpki-ghostbusters":{"source":"iana","extensions":["gbr"]},"application/rpki-manifest":{"source":"iana","extensions":["mft"]},"application/rpki-publication":{"source":"iana"},"application/rpki-roa":{"source":"iana","extensions":["roa"]},"application/rpki-updown":{"source":"iana"},"application/rsd+xml":{"source":"apache","compressible":true,"extensions":["rsd"]},"application/rss+xml":{"source":"apache","compressible":true,"extensions":["rss"]},"application/rtf":{"source":"iana","compressible":true,"extensions":["rtf"]},"application/rtploopback":{"source":"iana"},"application/rtx":{"source":"iana"},"application/samlassertion+xml":{"source":"iana","compressible":true},"application/samlmetadata+xml":{"source":"iana","compressible":true},"application/sarif+json":{"source":"iana","compressible":true},"application/sbe":{"source":"iana"},"application/sbml+xml":{"source":"iana","compressible":true,"extensions":["sbml"]},"application/scaip+xml":{"source":"iana","compressible":true},"application/scim+json":{"source":"iana","compressible":true},"application/scvp-cv-request":{"source":"iana","extensions":["scq"]},"application/scvp-cv-response":{"source":"iana","extensions":["scs"]},"application/scvp-vp-request":{"source":"iana","extensions":["spq"]},"application/scvp-vp-response":{"source":"iana","extensions":["spp"]},"application/sdp":{"source":"iana","extensions":["sdp"]},"application/secevent+jwt":{"source":"iana"},"application/senml+cbor":{"source":"iana"},"application/senml+json":{"source":"iana","compressible":true},"application/senml+xml":{"source":"iana","compressible":true,"extensions":["senmlx"]},"application/senml-etch+cbor":{"source":"iana"},"application/senml-etch+json":{"source":"iana","compressible":true},"application/senml-exi":{"source":"iana"},"application/sensml+cbor":{"source":"iana"},"application/sensml+json":{"source":"iana","compressible":true},"application/sensml+xml":{"source":"iana","compressible":true,"extensions":["sensmlx"]},"application/sensml-exi":{"source":"iana"},"application/sep+xml":{"source":"iana","compressible":true},"application/sep-exi":{"source":"iana"},"application/session-info":{"source":"iana"},"application/set-payment":{"source":"iana"},"application/set-payment-initiation":{"source":"iana","extensions":["setpay"]},"application/set-registration":{"source":"iana"},"application/set-registration-initiation":{"source":"iana","extensions":["setreg"]},"application/sgml":{"source":"iana"},"application/sgml-open-catalog":{"source":"iana"},"application/shf+xml":{"source":"iana","compressible":true,"extensions":["shf"]},"application/sieve":{"source":"iana","extensions":["siv","sieve"]},"application/simple-filter+xml":{"source":"iana","compressible":true},"application/simple-message-summary":{"source":"iana"},"application/simplesymbolcontainer":{"source":"iana"},"application/sipc":{"source":"iana"},"application/slate":{"source":"iana"},"application/smil":{"source":"iana"},"application/smil+xml":{"source":"iana","compressible":true,"extensions":["smi","smil"]},"application/smpte336m":{"source":"iana"},"application/soap+fastinfoset":{"source":"iana"},"application/soap+xml":{"source":"iana","compressible":true},"application/sparql-query":{"source":"iana","extensions":["rq"]},"application/sparql-results+xml":{"source":"iana","compressible":true,"extensions":["srx"]},"application/spirits-event+xml":{"source":"iana","compressible":true},"application/sql":{"source":"iana"},"application/srgs":{"source":"iana","extensions":["gram"]},"application/srgs+xml":{"source":"iana","compressible":true,"extensions":["grxml"]},"application/sru+xml":{"source":"iana","compressible":true,"extensions":["sru"]},"application/ssdl+xml":{"source":"apache","compressible":true,"extensions":["ssdl"]},"application/ssml+xml":{"source":"iana","compressible":true,"extensions":["ssml"]},"application/stix+json":{"source":"iana","compressible":true},"application/swid+xml":{"source":"iana","compressible":true,"extensions":["swidtag"]},"application/tamp-apex-update":{"source":"iana"},"application/tamp-apex-update-confirm":{"source":"iana"},"application/tamp-community-update":{"source":"iana"},"application/tamp-community-update-confirm":{"source":"iana"},"application/tamp-error":{"source":"iana"},"application/tamp-sequence-adjust":{"source":"iana"},"application/tamp-sequence-adjust-confirm":{"source":"iana"},"application/tamp-status-query":{"source":"iana"},"application/tamp-status-response":{"source":"iana"},"application/tamp-update":{"source":"iana"},"application/tamp-update-confirm":{"source":"iana"},"application/tar":{"compressible":true},"application/taxii+json":{"source":"iana","compressible":true},"application/td+json":{"source":"iana","compressible":true},"application/tei+xml":{"source":"iana","compressible":true,"extensions":["tei","teicorpus"]},"application/tetra_isi":{"source":"iana"},"application/thraud+xml":{"source":"iana","compressible":true,"extensions":["tfi"]},"application/timestamp-query":{"source":"iana"},"application/timestamp-reply":{"source":"iana"},"application/timestamped-data":{"source":"iana","extensions":["tsd"]},"application/tlsrpt+gzip":{"source":"iana"},"application/tlsrpt+json":{"source":"iana","compressible":true},"application/tnauthlist":{"source":"iana"},"application/toml":{"compressible":true,"extensions":["toml"]},"application/trickle-ice-sdpfrag":{"source":"iana"},"application/trig":{"source":"iana"},"application/ttml+xml":{"source":"iana","compressible":true,"extensions":["ttml"]},"application/tve-trigger":{"source":"iana"},"application/tzif":{"source":"iana"},"application/tzif-leap":{"source":"iana"},"application/ubjson":{"compressible":false,"extensions":["ubj"]},"application/ulpfec":{"source":"iana"},"application/urc-grpsheet+xml":{"source":"iana","compressible":true},"application/urc-ressheet+xml":{"source":"iana","compressible":true,"extensions":["rsheet"]},"application/urc-targetdesc+xml":{"source":"iana","compressible":true,"extensions":["td"]},"application/urc-uisocketdesc+xml":{"source":"iana","compressible":true},"application/vcard+json":{"source":"iana","compressible":true},"application/vcard+xml":{"source":"iana","compressible":true},"application/vemmi":{"source":"iana"},"application/vividence.scriptfile":{"source":"apache"},"application/vnd.1000minds.decision-model+xml":{"source":"iana","compressible":true,"extensions":["1km"]},"application/vnd.3gpp-prose+xml":{"source":"iana","compressible":true},"application/vnd.3gpp-prose-pc3ch+xml":{"source":"iana","compressible":true},"application/vnd.3gpp-v2x-local-service-information":{"source":"iana"},"application/vnd.3gpp.access-transfer-events+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.bsf+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.gmop+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.interworking-data":{"source":"iana"},"application/vnd.3gpp.mc-signalling-ear":{"source":"iana"},"application/vnd.3gpp.mcdata-affiliation-command+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.mcdata-info+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.mcdata-payload":{"source":"iana"},"application/vnd.3gpp.mcdata-service-config+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.mcdata-signalling":{"source":"iana"},"application/vnd.3gpp.mcdata-ue-config+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.mcdata-user-profile+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.mcptt-affiliation-command+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.mcptt-floor-request+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.mcptt-info+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.mcptt-location-info+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.mcptt-mbms-usage-info+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.mcptt-service-config+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.mcptt-signed+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.mcptt-ue-config+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.mcptt-ue-init-config+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.mcptt-user-profile+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.mcvideo-affiliation-command+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.mcvideo-affiliation-info+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.mcvideo-info+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.mcvideo-location-info+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.mcvideo-mbms-usage-info+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.mcvideo-service-config+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.mcvideo-transmission-request+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.mcvideo-ue-config+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.mcvideo-user-profile+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.mid-call+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.pic-bw-large":{"source":"iana","extensions":["plb"]},"application/vnd.3gpp.pic-bw-small":{"source":"iana","extensions":["psb"]},"application/vnd.3gpp.pic-bw-var":{"source":"iana","extensions":["pvb"]},"application/vnd.3gpp.sms":{"source":"iana"},"application/vnd.3gpp.sms+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.srvcc-ext+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.srvcc-info+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.state-and-event-info+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.ussd+xml":{"source":"iana","compressible":true},"application/vnd.3gpp2.bcmcsinfo+xml":{"source":"iana","compressible":true},"application/vnd.3gpp2.sms":{"source":"iana"},"application/vnd.3gpp2.tcap":{"source":"iana","extensions":["tcap"]},"application/vnd.3lightssoftware.imagescal":{"source":"iana"},"application/vnd.3m.post-it-notes":{"source":"iana","extensions":["pwn"]},"application/vnd.accpac.simply.aso":{"source":"iana","extensions":["aso"]},"application/vnd.accpac.simply.imp":{"source":"iana","extensions":["imp"]},"application/vnd.acucobol":{"source":"iana","extensions":["acu"]},"application/vnd.acucorp":{"source":"iana","extensions":["atc","acutc"]},"application/vnd.adobe.air-application-installer-package+zip":{"source":"apache","compressible":false,"extensions":["air"]},"application/vnd.adobe.flash.movie":{"source":"iana"},"application/vnd.adobe.formscentral.fcdt":{"source":"iana","extensions":["fcdt"]},"application/vnd.adobe.fxp":{"source":"iana","extensions":["fxp","fxpl"]},"application/vnd.adobe.partial-upload":{"source":"iana"},"application/vnd.adobe.xdp+xml":{"source":"iana","compressible":true,"extensions":["xdp"]},"application/vnd.adobe.xfdf":{"source":"iana","extensions":["xfdf"]},"application/vnd.aether.imp":{"source":"iana"},"application/vnd.afpc.afplinedata":{"source":"iana"},"application/vnd.afpc.afplinedata-pagedef":{"source":"iana"},"application/vnd.afpc.cmoca-cmresource":{"source":"iana"},"application/vnd.afpc.foca-charset":{"source":"iana"},"application/vnd.afpc.foca-codedfont":{"source":"iana"},"application/vnd.afpc.foca-codepage":{"source":"iana"},"application/vnd.afpc.modca":{"source":"iana"},"application/vnd.afpc.modca-cmtable":{"source":"iana"},"application/vnd.afpc.modca-formdef":{"source":"iana"},"application/vnd.afpc.modca-mediummap":{"source":"iana"},"application/vnd.afpc.modca-objectcontainer":{"source":"iana"},"application/vnd.afpc.modca-overlay":{"source":"iana"},"application/vnd.afpc.modca-pagesegment":{"source":"iana"},"application/vnd.ah-barcode":{"source":"iana"},"application/vnd.ahead.space":{"source":"iana","extensions":["ahead"]},"application/vnd.airzip.filesecure.azf":{"source":"iana","extensions":["azf"]},"application/vnd.airzip.filesecure.azs":{"source":"iana","extensions":["azs"]},"application/vnd.amadeus+json":{"source":"iana","compressible":true},"application/vnd.amazon.ebook":{"source":"apache","extensions":["azw"]},"application/vnd.amazon.mobi8-ebook":{"source":"iana"},"application/vnd.americandynamics.acc":{"source":"iana","extensions":["acc"]},"application/vnd.amiga.ami":{"source":"iana","extensions":["ami"]},"application/vnd.amundsen.maze+xml":{"source":"iana","compressible":true},"application/vnd.android.ota":{"source":"iana"},"application/vnd.android.package-archive":{"source":"apache","compressible":false,"extensions":["apk"]},"application/vnd.anki":{"source":"iana"},"application/vnd.anser-web-certificate-issue-initiation":{"source":"iana","extensions":["cii"]},"application/vnd.anser-web-funds-transfer-initiation":{"source":"apache","extensions":["fti"]},"application/vnd.antix.game-component":{"source":"iana","extensions":["atx"]},"application/vnd.apache.thrift.binary":{"source":"iana"},"application/vnd.apache.thrift.compact":{"source":"iana"},"application/vnd.apache.thrift.json":{"source":"iana"},"application/vnd.api+json":{"source":"iana","compressible":true},"application/vnd.aplextor.warrp+json":{"source":"iana","compressible":true},"application/vnd.apothekende.reservation+json":{"source":"iana","compressible":true},"application/vnd.apple.installer+xml":{"source":"iana","compressible":true,"extensions":["mpkg"]},"application/vnd.apple.keynote":{"source":"iana","extensions":["key"]},"application/vnd.apple.mpegurl":{"source":"iana","extensions":["m3u8"]},"application/vnd.apple.numbers":{"source":"iana","extensions":["numbers"]},"application/vnd.apple.pages":{"source":"iana","extensions":["pages"]},"application/vnd.apple.pkpass":{"compressible":false,"extensions":["pkpass"]},"application/vnd.arastra.swi":{"source":"iana"},"application/vnd.aristanetworks.swi":{"source":"iana","extensions":["swi"]},"application/vnd.artisan+json":{"source":"iana","compressible":true},"application/vnd.artsquare":{"source":"iana"},"application/vnd.astraea-software.iota":{"source":"iana","extensions":["iota"]},"application/vnd.audiograph":{"source":"iana","extensions":["aep"]},"application/vnd.autopackage":{"source":"iana"},"application/vnd.avalon+json":{"source":"iana","compressible":true},"application/vnd.avistar+xml":{"source":"iana","compressible":true},"application/vnd.balsamiq.bmml+xml":{"source":"iana","compressible":true,"extensions":["bmml"]},"application/vnd.balsamiq.bmpr":{"source":"iana"},"application/vnd.banana-accounting":{"source":"iana"},"application/vnd.bbf.usp.error":{"source":"iana"},"application/vnd.bbf.usp.msg":{"source":"iana"},"application/vnd.bbf.usp.msg+json":{"source":"iana","compressible":true},"application/vnd.bekitzur-stech+json":{"source":"iana","compressible":true},"application/vnd.bint.med-content":{"source":"iana"},"application/vnd.biopax.rdf+xml":{"source":"iana","compressible":true},"application/vnd.blink-idb-value-wrapper":{"source":"iana"},"application/vnd.blueice.multipass":{"source":"iana","extensions":["mpm"]},"application/vnd.bluetooth.ep.oob":{"source":"iana"},"application/vnd.bluetooth.le.oob":{"source":"iana"},"application/vnd.bmi":{"source":"iana","extensions":["bmi"]},"application/vnd.bpf":{"source":"iana"},"application/vnd.bpf3":{"source":"iana"},"application/vnd.businessobjects":{"source":"iana","extensions":["rep"]},"application/vnd.byu.uapi+json":{"source":"iana","compressible":true},"application/vnd.cab-jscript":{"source":"iana"},"application/vnd.canon-cpdl":{"source":"iana"},"application/vnd.canon-lips":{"source":"iana"},"application/vnd.capasystems-pg+json":{"source":"iana","compressible":true},"application/vnd.cendio.thinlinc.clientconf":{"source":"iana"},"application/vnd.century-systems.tcp_stream":{"source":"iana"},"application/vnd.chemdraw+xml":{"source":"iana","compressible":true,"extensions":["cdxml"]},"application/vnd.chess-pgn":{"source":"iana"},"application/vnd.chipnuts.karaoke-mmd":{"source":"iana","extensions":["mmd"]},"application/vnd.ciedi":{"source":"iana"},"application/vnd.cinderella":{"source":"iana","extensions":["cdy"]},"application/vnd.cirpack.isdn-ext":{"source":"iana"},"application/vnd.citationstyles.style+xml":{"source":"iana","compressible":true,"extensions":["csl"]},"application/vnd.claymore":{"source":"iana","extensions":["cla"]},"application/vnd.cloanto.rp9":{"source":"iana","extensions":["rp9"]},"application/vnd.clonk.c4group":{"source":"iana","extensions":["c4g","c4d","c4f","c4p","c4u"]},"application/vnd.cluetrust.cartomobile-config":{"source":"iana","extensions":["c11amc"]},"application/vnd.cluetrust.cartomobile-config-pkg":{"source":"iana","extensions":["c11amz"]},"application/vnd.coffeescript":{"source":"iana"},"application/vnd.collabio.xodocuments.document":{"source":"iana"},"application/vnd.collabio.xodocuments.document-template":{"source":"iana"},"application/vnd.collabio.xodocuments.presentation":{"source":"iana"},"application/vnd.collabio.xodocuments.presentation-template":{"source":"iana"},"application/vnd.collabio.xodocuments.spreadsheet":{"source":"iana"},"application/vnd.collabio.xodocuments.spreadsheet-template":{"source":"iana"},"application/vnd.collection+json":{"source":"iana","compressible":true},"application/vnd.collection.doc+json":{"source":"iana","compressible":true},"application/vnd.collection.next+json":{"source":"iana","compressible":true},"application/vnd.comicbook+zip":{"source":"iana","compressible":false},"application/vnd.comicbook-rar":{"source":"iana"},"application/vnd.commerce-battelle":{"source":"iana"},"application/vnd.commonspace":{"source":"iana","extensions":["csp"]},"application/vnd.contact.cmsg":{"source":"iana","extensions":["cdbcmsg"]},"application/vnd.coreos.ignition+json":{"source":"iana","compressible":true},"application/vnd.cosmocaller":{"source":"iana","extensions":["cmc"]},"application/vnd.crick.clicker":{"source":"iana","extensions":["clkx"]},"application/vnd.crick.clicker.keyboard":{"source":"iana","extensions":["clkk"]},"application/vnd.crick.clicker.palette":{"source":"iana","extensions":["clkp"]},"application/vnd.crick.clicker.template":{"source":"iana","extensions":["clkt"]},"application/vnd.crick.clicker.wordbank":{"source":"iana","extensions":["clkw"]},"application/vnd.criticaltools.wbs+xml":{"source":"iana","compressible":true,"extensions":["wbs"]},"application/vnd.cryptii.pipe+json":{"source":"iana","compressible":true},"application/vnd.crypto-shade-file":{"source":"iana"},"application/vnd.ctc-posml":{"source":"iana","extensions":["pml"]},"application/vnd.ctct.ws+xml":{"source":"iana","compressible":true},"application/vnd.cups-pdf":{"source":"iana"},"application/vnd.cups-postscript":{"source":"iana"},"application/vnd.cups-ppd":{"source":"iana","extensions":["ppd"]},"application/vnd.cups-raster":{"source":"iana"},"application/vnd.cups-raw":{"source":"iana"},"application/vnd.curl":{"source":"iana"},"application/vnd.curl.car":{"source":"apache","extensions":["car"]},"application/vnd.curl.pcurl":{"source":"apache","extensions":["pcurl"]},"application/vnd.cyan.dean.root+xml":{"source":"iana","compressible":true},"application/vnd.cybank":{"source":"iana"},"application/vnd.cyclonedx+json":{"source":"iana","compressible":true},"application/vnd.cyclonedx+xml":{"source":"iana","compressible":true},"application/vnd.d2l.coursepackage1p0+zip":{"source":"iana","compressible":false},"application/vnd.d3m-dataset":{"source":"iana"},"application/vnd.d3m-problem":{"source":"iana"},"application/vnd.dart":{"source":"iana","compressible":true,"extensions":["dart"]},"application/vnd.data-vision.rdz":{"source":"iana","extensions":["rdz"]},"application/vnd.datapackage+json":{"source":"iana","compressible":true},"application/vnd.dataresource+json":{"source":"iana","compressible":true},"application/vnd.dbf":{"source":"iana","extensions":["dbf"]},"application/vnd.debian.binary-package":{"source":"iana"},"application/vnd.dece.data":{"source":"iana","extensions":["uvf","uvvf","uvd","uvvd"]},"application/vnd.dece.ttml+xml":{"source":"iana","compressible":true,"extensions":["uvt","uvvt"]},"application/vnd.dece.unspecified":{"source":"iana","extensions":["uvx","uvvx"]},"application/vnd.dece.zip":{"source":"iana","extensions":["uvz","uvvz"]},"application/vnd.denovo.fcselayout-link":{"source":"iana","extensions":["fe_launch"]},"application/vnd.desmume.movie":{"source":"iana"},"application/vnd.dir-bi.plate-dl-nosuffix":{"source":"iana"},"application/vnd.dm.delegation+xml":{"source":"iana","compressible":true},"application/vnd.dna":{"source":"iana","extensions":["dna"]},"application/vnd.document+json":{"source":"iana","compressible":true},"application/vnd.dolby.mlp":{"source":"apache","extensions":["mlp"]},"application/vnd.dolby.mobile.1":{"source":"iana"},"application/vnd.dolby.mobile.2":{"source":"iana"},"application/vnd.doremir.scorecloud-binary-document":{"source":"iana"},"application/vnd.dpgraph":{"source":"iana","extensions":["dpg"]},"application/vnd.dreamfactory":{"source":"iana","extensions":["dfac"]},"application/vnd.drive+json":{"source":"iana","compressible":true},"application/vnd.ds-keypoint":{"source":"apache","extensions":["kpxx"]},"application/vnd.dtg.local":{"source":"iana"},"application/vnd.dtg.local.flash":{"source":"iana"},"application/vnd.dtg.local.html":{"source":"iana"},"application/vnd.dvb.ait":{"source":"iana","extensions":["ait"]},"application/vnd.dvb.dvbisl+xml":{"source":"iana","compressible":true},"application/vnd.dvb.dvbj":{"source":"iana"},"application/vnd.dvb.esgcontainer":{"source":"iana"},"application/vnd.dvb.ipdcdftnotifaccess":{"source":"iana"},"application/vnd.dvb.ipdcesgaccess":{"source":"iana"},"application/vnd.dvb.ipdcesgaccess2":{"source":"iana"},"application/vnd.dvb.ipdcesgpdd":{"source":"iana"},"application/vnd.dvb.ipdcroaming":{"source":"iana"},"application/vnd.dvb.iptv.alfec-base":{"source":"iana"},"application/vnd.dvb.iptv.alfec-enhancement":{"source":"iana"},"application/vnd.dvb.notif-aggregate-root+xml":{"source":"iana","compressible":true},"application/vnd.dvb.notif-container+xml":{"source":"iana","compressible":true},"application/vnd.dvb.notif-generic+xml":{"source":"iana","compressible":true},"application/vnd.dvb.notif-ia-msglist+xml":{"source":"iana","compressible":true},"application/vnd.dvb.notif-ia-registration-request+xml":{"source":"iana","compressible":true},"application/vnd.dvb.notif-ia-registration-response+xml":{"source":"iana","compressible":true},"application/vnd.dvb.notif-init+xml":{"source":"iana","compressible":true},"application/vnd.dvb.pfr":{"source":"iana"},"application/vnd.dvb.service":{"source":"iana","extensions":["svc"]},"application/vnd.dxr":{"source":"iana"},"application/vnd.dynageo":{"source":"iana","extensions":["geo"]},"application/vnd.dzr":{"source":"iana"},"application/vnd.easykaraoke.cdgdownload":{"source":"iana"},"application/vnd.ecdis-update":{"source":"iana"},"application/vnd.ecip.rlp":{"source":"iana"},"application/vnd.ecowin.chart":{"source":"iana","extensions":["mag"]},"application/vnd.ecowin.filerequest":{"source":"iana"},"application/vnd.ecowin.fileupdate":{"source":"iana"},"application/vnd.ecowin.series":{"source":"iana"},"application/vnd.ecowin.seriesrequest":{"source":"iana"},"application/vnd.ecowin.seriesupdate":{"source":"iana"},"application/vnd.efi.img":{"source":"iana"},"application/vnd.efi.iso":{"source":"iana"},"application/vnd.emclient.accessrequest+xml":{"source":"iana","compressible":true},"application/vnd.enliven":{"source":"iana","extensions":["nml"]},"application/vnd.enphase.envoy":{"source":"iana"},"application/vnd.eprints.data+xml":{"source":"iana","compressible":true},"application/vnd.epson.esf":{"source":"iana","extensions":["esf"]},"application/vnd.epson.msf":{"source":"iana","extensions":["msf"]},"application/vnd.epson.quickanime":{"source":"iana","extensions":["qam"]},"application/vnd.epson.salt":{"source":"iana","extensions":["slt"]},"application/vnd.epson.ssf":{"source":"iana","extensions":["ssf"]},"application/vnd.ericsson.quickcall":{"source":"iana"},"application/vnd.espass-espass+zip":{"source":"iana","compressible":false},"application/vnd.eszigno3+xml":{"source":"iana","compressible":true,"extensions":["es3","et3"]},"application/vnd.etsi.aoc+xml":{"source":"iana","compressible":true},"application/vnd.etsi.asic-e+zip":{"source":"iana","compressible":false},"application/vnd.etsi.asic-s+zip":{"source":"iana","compressible":false},"application/vnd.etsi.cug+xml":{"source":"iana","compressible":true},"application/vnd.etsi.iptvcommand+xml":{"source":"iana","compressible":true},"application/vnd.etsi.iptvdiscovery+xml":{"source":"iana","compressible":true},"application/vnd.etsi.iptvprofile+xml":{"source":"iana","compressible":true},"application/vnd.etsi.iptvsad-bc+xml":{"source":"iana","compressible":true},"application/vnd.etsi.iptvsad-cod+xml":{"source":"iana","compressible":true},"application/vnd.etsi.iptvsad-npvr+xml":{"source":"iana","compressible":true},"application/vnd.etsi.iptvservice+xml":{"source":"iana","compressible":true},"application/vnd.etsi.iptvsync+xml":{"source":"iana","compressible":true},"application/vnd.etsi.iptvueprofile+xml":{"source":"iana","compressible":true},"application/vnd.etsi.mcid+xml":{"source":"iana","compressible":true},"application/vnd.etsi.mheg5":{"source":"iana"},"application/vnd.etsi.overload-control-policy-dataset+xml":{"source":"iana","compressible":true},"application/vnd.etsi.pstn+xml":{"source":"iana","compressible":true},"application/vnd.etsi.sci+xml":{"source":"iana","compressible":true},"application/vnd.etsi.simservs+xml":{"source":"iana","compressible":true},"application/vnd.etsi.timestamp-token":{"source":"iana"},"application/vnd.etsi.tsl+xml":{"source":"iana","compressible":true},"application/vnd.etsi.tsl.der":{"source":"iana"},"application/vnd.eudora.data":{"source":"iana"},"application/vnd.evolv.ecig.profile":{"source":"iana"},"application/vnd.evolv.ecig.settings":{"source":"iana"},"application/vnd.evolv.ecig.theme":{"source":"iana"},"application/vnd.exstream-empower+zip":{"source":"iana","compressible":false},"application/vnd.exstream-package":{"source":"iana"},"application/vnd.ezpix-album":{"source":"iana","extensions":["ez2"]},"application/vnd.ezpix-package":{"source":"iana","extensions":["ez3"]},"application/vnd.f-secure.mobile":{"source":"iana"},"application/vnd.fastcopy-disk-image":{"source":"iana"},"application/vnd.fdf":{"source":"iana","extensions":["fdf"]},"application/vnd.fdsn.mseed":{"source":"iana","extensions":["mseed"]},"application/vnd.fdsn.seed":{"source":"iana","extensions":["seed","dataless"]},"application/vnd.ffsns":{"source":"iana"},"application/vnd.ficlab.flb+zip":{"source":"iana","compressible":false},"application/vnd.filmit.zfc":{"source":"iana"},"application/vnd.fints":{"source":"iana"},"application/vnd.firemonkeys.cloudcell":{"source":"iana"},"application/vnd.flographit":{"source":"iana","extensions":["gph"]},"application/vnd.fluxtime.clip":{"source":"iana","extensions":["ftc"]},"application/vnd.font-fontforge-sfd":{"source":"iana"},"application/vnd.framemaker":{"source":"iana","extensions":["fm","frame","maker","book"]},"application/vnd.frogans.fnc":{"source":"iana","extensions":["fnc"]},"application/vnd.frogans.ltf":{"source":"iana","extensions":["ltf"]},"application/vnd.fsc.weblaunch":{"source":"iana","extensions":["fsc"]},"application/vnd.fujitsu.oasys":{"source":"iana","extensions":["oas"]},"application/vnd.fujitsu.oasys2":{"source":"iana","extensions":["oa2"]},"application/vnd.fujitsu.oasys3":{"source":"iana","extensions":["oa3"]},"application/vnd.fujitsu.oasysgp":{"source":"iana","extensions":["fg5"]},"application/vnd.fujitsu.oasysprs":{"source":"iana","extensions":["bh2"]},"application/vnd.fujixerox.art-ex":{"source":"iana"},"application/vnd.fujixerox.art4":{"source":"iana"},"application/vnd.fujixerox.ddd":{"source":"iana","extensions":["ddd"]},"application/vnd.fujixerox.docuworks":{"source":"iana","extensions":["xdw"]},"application/vnd.fujixerox.docuworks.binder":{"source":"iana","extensions":["xbd"]},"application/vnd.fujixerox.docuworks.container":{"source":"iana"},"application/vnd.fujixerox.hbpl":{"source":"iana"},"application/vnd.fut-misnet":{"source":"iana"},"application/vnd.futoin+cbor":{"source":"iana"},"application/vnd.futoin+json":{"source":"iana","compressible":true},"application/vnd.fuzzysheet":{"source":"iana","extensions":["fzs"]},"application/vnd.genomatix.tuxedo":{"source":"iana","extensions":["txd"]},"application/vnd.gentics.grd+json":{"source":"iana","compressible":true},"application/vnd.geo+json":{"source":"iana","compressible":true},"application/vnd.geocube+xml":{"source":"iana","compressible":true},"application/vnd.geogebra.file":{"source":"iana","extensions":["ggb"]},"application/vnd.geogebra.slides":{"source":"iana"},"application/vnd.geogebra.tool":{"source":"iana","extensions":["ggt"]},"application/vnd.geometry-explorer":{"source":"iana","extensions":["gex","gre"]},"application/vnd.geonext":{"source":"iana","extensions":["gxt"]},"application/vnd.geoplan":{"source":"iana","extensions":["g2w"]},"application/vnd.geospace":{"source":"iana","extensions":["g3w"]},"application/vnd.gerber":{"source":"iana"},"application/vnd.globalplatform.card-content-mgt":{"source":"iana"},"application/vnd.globalplatform.card-content-mgt-response":{"source":"iana"},"application/vnd.gmx":{"source":"iana","extensions":["gmx"]},"application/vnd.google-apps.document":{"compressible":false,"extensions":["gdoc"]},"application/vnd.google-apps.presentation":{"compressible":false,"extensions":["gslides"]},"application/vnd.google-apps.spreadsheet":{"compressible":false,"extensions":["gsheet"]},"application/vnd.google-earth.kml+xml":{"source":"iana","compressible":true,"extensions":["kml"]},"application/vnd.google-earth.kmz":{"source":"iana","compressible":false,"extensions":["kmz"]},"application/vnd.gov.sk.e-form+xml":{"source":"iana","compressible":true},"application/vnd.gov.sk.e-form+zip":{"source":"iana","compressible":false},"application/vnd.gov.sk.xmldatacontainer+xml":{"source":"iana","compressible":true},"application/vnd.grafeq":{"source":"iana","extensions":["gqf","gqs"]},"application/vnd.gridmp":{"source":"iana"},"application/vnd.groove-account":{"source":"iana","extensions":["gac"]},"application/vnd.groove-help":{"source":"iana","extensions":["ghf"]},"application/vnd.groove-identity-message":{"source":"iana","extensions":["gim"]},"application/vnd.groove-injector":{"source":"iana","extensions":["grv"]},"application/vnd.groove-tool-message":{"source":"iana","extensions":["gtm"]},"application/vnd.groove-tool-template":{"source":"iana","extensions":["tpl"]},"application/vnd.groove-vcard":{"source":"iana","extensions":["vcg"]},"application/vnd.hal+json":{"source":"iana","compressible":true},"application/vnd.hal+xml":{"source":"iana","compressible":true,"extensions":["hal"]},"application/vnd.handheld-entertainment+xml":{"source":"iana","compressible":true,"extensions":["zmm"]},"application/vnd.hbci":{"source":"iana","extensions":["hbci"]},"application/vnd.hc+json":{"source":"iana","compressible":true},"application/vnd.hcl-bireports":{"source":"iana"},"application/vnd.hdt":{"source":"iana"},"application/vnd.heroku+json":{"source":"iana","compressible":true},"application/vnd.hhe.lesson-player":{"source":"iana","extensions":["les"]},"application/vnd.hp-hpgl":{"source":"iana","extensions":["hpgl"]},"application/vnd.hp-hpid":{"source":"iana","extensions":["hpid"]},"application/vnd.hp-hps":{"source":"iana","extensions":["hps"]},"application/vnd.hp-jlyt":{"source":"iana","extensions":["jlt"]},"application/vnd.hp-pcl":{"source":"iana","extensions":["pcl"]},"application/vnd.hp-pclxl":{"source":"iana","extensions":["pclxl"]},"application/vnd.httphone":{"source":"iana"},"application/vnd.hydrostatix.sof-data":{"source":"iana","extensions":["sfd-hdstx"]},"application/vnd.hyper+json":{"source":"iana","compressible":true},"application/vnd.hyper-item+json":{"source":"iana","compressible":true},"application/vnd.hyperdrive+json":{"source":"iana","compressible":true},"application/vnd.hzn-3d-crossword":{"source":"iana"},"application/vnd.ibm.afplinedata":{"source":"iana"},"application/vnd.ibm.electronic-media":{"source":"iana"},"application/vnd.ibm.minipay":{"source":"iana","extensions":["mpy"]},"application/vnd.ibm.modcap":{"source":"iana","extensions":["afp","listafp","list3820"]},"application/vnd.ibm.rights-management":{"source":"iana","extensions":["irm"]},"application/vnd.ibm.secure-container":{"source":"iana","extensions":["sc"]},"application/vnd.iccprofile":{"source":"iana","extensions":["icc","icm"]},"application/vnd.ieee.1905":{"source":"iana"},"application/vnd.igloader":{"source":"iana","extensions":["igl"]},"application/vnd.imagemeter.folder+zip":{"source":"iana","compressible":false},"application/vnd.imagemeter.image+zip":{"source":"iana","compressible":false},"application/vnd.immervision-ivp":{"source":"iana","extensions":["ivp"]},"application/vnd.immervision-ivu":{"source":"iana","extensions":["ivu"]},"application/vnd.ims.imsccv1p1":{"source":"iana"},"application/vnd.ims.imsccv1p2":{"source":"iana"},"application/vnd.ims.imsccv1p3":{"source":"iana"},"application/vnd.ims.lis.v2.result+json":{"source":"iana","compressible":true},"application/vnd.ims.lti.v2.toolconsumerprofile+json":{"source":"iana","compressible":true},"application/vnd.ims.lti.v2.toolproxy+json":{"source":"iana","compressible":true},"application/vnd.ims.lti.v2.toolproxy.id+json":{"source":"iana","compressible":true},"application/vnd.ims.lti.v2.toolsettings+json":{"source":"iana","compressible":true},"application/vnd.ims.lti.v2.toolsettings.simple+json":{"source":"iana","compressible":true},"application/vnd.informedcontrol.rms+xml":{"source":"iana","compressible":true},"application/vnd.informix-visionary":{"source":"iana"},"application/vnd.infotech.project":{"source":"iana"},"application/vnd.infotech.project+xml":{"source":"iana","compressible":true},"application/vnd.innopath.wamp.notification":{"source":"iana"},"application/vnd.insors.igm":{"source":"iana","extensions":["igm"]},"application/vnd.intercon.formnet":{"source":"iana","extensions":["xpw","xpx"]},"application/vnd.intergeo":{"source":"iana","extensions":["i2g"]},"application/vnd.intertrust.digibox":{"source":"iana"},"application/vnd.intertrust.nncp":{"source":"iana"},"application/vnd.intu.qbo":{"source":"iana","extensions":["qbo"]},"application/vnd.intu.qfx":{"source":"iana","extensions":["qfx"]},"application/vnd.iptc.g2.catalogitem+xml":{"source":"iana","compressible":true},"application/vnd.iptc.g2.conceptitem+xml":{"source":"iana","compressible":true},"application/vnd.iptc.g2.knowledgeitem+xml":{"source":"iana","compressible":true},"application/vnd.iptc.g2.newsitem+xml":{"source":"iana","compressible":true},"application/vnd.iptc.g2.newsmessage+xml":{"source":"iana","compressible":true},"application/vnd.iptc.g2.packageitem+xml":{"source":"iana","compressible":true},"application/vnd.iptc.g2.planningitem+xml":{"source":"iana","compressible":true},"application/vnd.ipunplugged.rcprofile":{"source":"iana","extensions":["rcprofile"]},"application/vnd.irepository.package+xml":{"source":"iana","compressible":true,"extensions":["irp"]},"application/vnd.is-xpr":{"source":"iana","extensions":["xpr"]},"application/vnd.isac.fcs":{"source":"iana","extensions":["fcs"]},"application/vnd.iso11783-10+zip":{"source":"iana","compressible":false},"application/vnd.jam":{"source":"iana","extensions":["jam"]},"application/vnd.japannet-directory-service":{"source":"iana"},"application/vnd.japannet-jpnstore-wakeup":{"source":"iana"},"application/vnd.japannet-payment-wakeup":{"source":"iana"},"application/vnd.japannet-registration":{"source":"iana"},"application/vnd.japannet-registration-wakeup":{"source":"iana"},"application/vnd.japannet-setstore-wakeup":{"source":"iana"},"application/vnd.japannet-verification":{"source":"iana"},"application/vnd.japannet-verification-wakeup":{"source":"iana"},"application/vnd.jcp.javame.midlet-rms":{"source":"iana","extensions":["rms"]},"application/vnd.jisp":{"source":"iana","extensions":["jisp"]},"application/vnd.joost.joda-archive":{"source":"iana","extensions":["joda"]},"application/vnd.jsk.isdn-ngn":{"source":"iana"},"application/vnd.kahootz":{"source":"iana","extensions":["ktz","ktr"]},"application/vnd.kde.karbon":{"source":"iana","extensions":["karbon"]},"application/vnd.kde.kchart":{"source":"iana","extensions":["chrt"]},"application/vnd.kde.kformula":{"source":"iana","extensions":["kfo"]},"application/vnd.kde.kivio":{"source":"iana","extensions":["flw"]},"application/vnd.kde.kontour":{"source":"iana","extensions":["kon"]},"application/vnd.kde.kpresenter":{"source":"iana","extensions":["kpr","kpt"]},"application/vnd.kde.kspread":{"source":"iana","extensions":["ksp"]},"application/vnd.kde.kword":{"source":"iana","extensions":["kwd","kwt"]},"application/vnd.kenameaapp":{"source":"iana","extensions":["htke"]},"application/vnd.kidspiration":{"source":"iana","extensions":["kia"]},"application/vnd.kinar":{"source":"iana","extensions":["kne","knp"]},"application/vnd.koan":{"source":"iana","extensions":["skp","skd","skt","skm"]},"application/vnd.kodak-descriptor":{"source":"iana","extensions":["sse"]},"application/vnd.las":{"source":"iana"},"application/vnd.las.las+json":{"source":"iana","compressible":true},"application/vnd.las.las+xml":{"source":"iana","compressible":true,"extensions":["lasxml"]},"application/vnd.laszip":{"source":"iana"},"application/vnd.leap+json":{"source":"iana","compressible":true},"application/vnd.liberty-request+xml":{"source":"iana","compressible":true},"application/vnd.llamagraphics.life-balance.desktop":{"source":"iana","extensions":["lbd"]},"application/vnd.llamagraphics.life-balance.exchange+xml":{"source":"iana","compressible":true,"extensions":["lbe"]},"application/vnd.logipipe.circuit+zip":{"source":"iana","compressible":false},"application/vnd.loom":{"source":"iana"},"application/vnd.lotus-1-2-3":{"source":"iana","extensions":["123"]},"application/vnd.lotus-approach":{"source":"iana","extensions":["apr"]},"application/vnd.lotus-freelance":{"source":"iana","extensions":["pre"]},"application/vnd.lotus-notes":{"source":"iana","extensions":["nsf"]},"application/vnd.lotus-organizer":{"source":"iana","extensions":["org"]},"application/vnd.lotus-screencam":{"source":"iana","extensions":["scm"]},"application/vnd.lotus-wordpro":{"source":"iana","extensions":["lwp"]},"application/vnd.macports.portpkg":{"source":"iana","extensions":["portpkg"]},"application/vnd.mapbox-vector-tile":{"source":"iana"},"application/vnd.marlin.drm.actiontoken+xml":{"source":"iana","compressible":true},"application/vnd.marlin.drm.conftoken+xml":{"source":"iana","compressible":true},"application/vnd.marlin.drm.license+xml":{"source":"iana","compressible":true},"application/vnd.marlin.drm.mdcf":{"source":"iana"},"application/vnd.mason+json":{"source":"iana","compressible":true},"application/vnd.maxmind.maxmind-db":{"source":"iana"},"application/vnd.mcd":{"source":"iana","extensions":["mcd"]},"application/vnd.medcalcdata":{"source":"iana","extensions":["mc1"]},"application/vnd.mediastation.cdkey":{"source":"iana","extensions":["cdkey"]},"application/vnd.meridian-slingshot":{"source":"iana"},"application/vnd.mfer":{"source":"iana","extensions":["mwf"]},"application/vnd.mfmp":{"source":"iana","extensions":["mfm"]},"application/vnd.micro+json":{"source":"iana","compressible":true},"application/vnd.micrografx.flo":{"source":"iana","extensions":["flo"]},"application/vnd.micrografx.igx":{"source":"iana","extensions":["igx"]},"application/vnd.microsoft.portable-executable":{"source":"iana"},"application/vnd.microsoft.windows.thumbnail-cache":{"source":"iana"},"application/vnd.miele+json":{"source":"iana","compressible":true},"application/vnd.mif":{"source":"iana","extensions":["mif"]},"application/vnd.minisoft-hp3000-save":{"source":"iana"},"application/vnd.mitsubishi.misty-guard.trustweb":{"source":"iana"},"application/vnd.mobius.daf":{"source":"iana","extensions":["daf"]},"application/vnd.mobius.dis":{"source":"iana","extensions":["dis"]},"application/vnd.mobius.mbk":{"source":"iana","extensions":["mbk"]},"application/vnd.mobius.mqy":{"source":"iana","extensions":["mqy"]},"application/vnd.mobius.msl":{"source":"iana","extensions":["msl"]},"application/vnd.mobius.plc":{"source":"iana","extensions":["plc"]},"application/vnd.mobius.txf":{"source":"iana","extensions":["txf"]},"application/vnd.mophun.application":{"source":"iana","extensions":["mpn"]},"application/vnd.mophun.certificate":{"source":"iana","extensions":["mpc"]},"application/vnd.motorola.flexsuite":{"source":"iana"},"application/vnd.motorola.flexsuite.adsi":{"source":"iana"},"application/vnd.motorola.flexsuite.fis":{"source":"iana"},"application/vnd.motorola.flexsuite.gotap":{"source":"iana"},"application/vnd.motorola.flexsuite.kmr":{"source":"iana"},"application/vnd.motorola.flexsuite.ttc":{"source":"iana"},"application/vnd.motorola.flexsuite.wem":{"source":"iana"},"application/vnd.motorola.iprm":{"source":"iana"},"application/vnd.mozilla.xul+xml":{"source":"iana","compressible":true,"extensions":["xul"]},"application/vnd.ms-3mfdocument":{"source":"iana"},"application/vnd.ms-artgalry":{"source":"iana","extensions":["cil"]},"application/vnd.ms-asf":{"source":"iana"},"application/vnd.ms-cab-compressed":{"source":"iana","extensions":["cab"]},"application/vnd.ms-color.iccprofile":{"source":"apache"},"application/vnd.ms-excel":{"source":"iana","compressible":false,"extensions":["xls","xlm","xla","xlc","xlt","xlw"]},"application/vnd.ms-excel.addin.macroenabled.12":{"source":"iana","extensions":["xlam"]},"application/vnd.ms-excel.sheet.binary.macroenabled.12":{"source":"iana","extensions":["xlsb"]},"application/vnd.ms-excel.sheet.macroenabled.12":{"source":"iana","extensions":["xlsm"]},"application/vnd.ms-excel.template.macroenabled.12":{"source":"iana","extensions":["xltm"]},"application/vnd.ms-fontobject":{"source":"iana","compressible":true,"extensions":["eot"]},"application/vnd.ms-htmlhelp":{"source":"iana","extensions":["chm"]},"application/vnd.ms-ims":{"source":"iana","extensions":["ims"]},"application/vnd.ms-lrm":{"source":"iana","extensions":["lrm"]},"application/vnd.ms-office.activex+xml":{"source":"iana","compressible":true},"application/vnd.ms-officetheme":{"source":"iana","extensions":["thmx"]},"application/vnd.ms-opentype":{"source":"apache","compressible":true},"application/vnd.ms-outlook":{"compressible":false,"extensions":["msg"]},"application/vnd.ms-package.obfuscated-opentype":{"source":"apache"},"application/vnd.ms-pki.seccat":{"source":"apache","extensions":["cat"]},"application/vnd.ms-pki.stl":{"source":"apache","extensions":["stl"]},"application/vnd.ms-playready.initiator+xml":{"source":"iana","compressible":true},"application/vnd.ms-powerpoint":{"source":"iana","compressible":false,"extensions":["ppt","pps","pot"]},"application/vnd.ms-powerpoint.addin.macroenabled.12":{"source":"iana","extensions":["ppam"]},"application/vnd.ms-powerpoint.presentation.macroenabled.12":{"source":"iana","extensions":["pptm"]},"application/vnd.ms-powerpoint.slide.macroenabled.12":{"source":"iana","extensions":["sldm"]},"application/vnd.ms-powerpoint.slideshow.macroenabled.12":{"source":"iana","extensions":["ppsm"]},"application/vnd.ms-powerpoint.template.macroenabled.12":{"source":"iana","extensions":["potm"]},"application/vnd.ms-printdevicecapabilities+xml":{"source":"iana","compressible":true},"application/vnd.ms-printing.printticket+xml":{"source":"apache","compressible":true},"application/vnd.ms-printschematicket+xml":{"source":"iana","compressible":true},"application/vnd.ms-project":{"source":"iana","extensions":["mpp","mpt"]},"application/vnd.ms-tnef":{"source":"iana"},"application/vnd.ms-windows.devicepairing":{"source":"iana"},"application/vnd.ms-windows.nwprinting.oob":{"source":"iana"},"application/vnd.ms-windows.printerpairing":{"source":"iana"},"application/vnd.ms-windows.wsd.oob":{"source":"iana"},"application/vnd.ms-wmdrm.lic-chlg-req":{"source":"iana"},"application/vnd.ms-wmdrm.lic-resp":{"source":"iana"},"application/vnd.ms-wmdrm.meter-chlg-req":{"source":"iana"},"application/vnd.ms-wmdrm.meter-resp":{"source":"iana"},"application/vnd.ms-word.document.macroenabled.12":{"source":"iana","extensions":["docm"]},"application/vnd.ms-word.template.macroenabled.12":{"source":"iana","extensions":["dotm"]},"application/vnd.ms-works":{"source":"iana","extensions":["wps","wks","wcm","wdb"]},"application/vnd.ms-wpl":{"source":"iana","extensions":["wpl"]},"application/vnd.ms-xpsdocument":{"source":"iana","compressible":false,"extensions":["xps"]},"application/vnd.msa-disk-image":{"source":"iana"},"application/vnd.mseq":{"source":"iana","extensions":["mseq"]},"application/vnd.msign":{"source":"iana"},"application/vnd.multiad.creator":{"source":"iana"},"application/vnd.multiad.creator.cif":{"source":"iana"},"application/vnd.music-niff":{"source":"iana"},"application/vnd.musician":{"source":"iana","extensions":["mus"]},"application/vnd.muvee.style":{"source":"iana","extensions":["msty"]},"application/vnd.mynfc":{"source":"iana","extensions":["taglet"]},"application/vnd.ncd.control":{"source":"iana"},"application/vnd.ncd.reference":{"source":"iana"},"application/vnd.nearst.inv+json":{"source":"iana","compressible":true},"application/vnd.nervana":{"source":"iana"},"application/vnd.netfpx":{"source":"iana"},"application/vnd.neurolanguage.nlu":{"source":"iana","extensions":["nlu"]},"application/vnd.nimn":{"source":"iana"},"application/vnd.nintendo.nitro.rom":{"source":"iana"},"application/vnd.nintendo.snes.rom":{"source":"iana"},"application/vnd.nitf":{"source":"iana","extensions":["ntf","nitf"]},"application/vnd.noblenet-directory":{"source":"iana","extensions":["nnd"]},"application/vnd.noblenet-sealer":{"source":"iana","extensions":["nns"]},"application/vnd.noblenet-web":{"source":"iana","extensions":["nnw"]},"application/vnd.nokia.catalogs":{"source":"iana"},"application/vnd.nokia.conml+wbxml":{"source":"iana"},"application/vnd.nokia.conml+xml":{"source":"iana","compressible":true},"application/vnd.nokia.iptv.config+xml":{"source":"iana","compressible":true},"application/vnd.nokia.isds-radio-presets":{"source":"iana"},"application/vnd.nokia.landmark+wbxml":{"source":"iana"},"application/vnd.nokia.landmark+xml":{"source":"iana","compressible":true},"application/vnd.nokia.landmarkcollection+xml":{"source":"iana","compressible":true},"application/vnd.nokia.n-gage.ac+xml":{"source":"iana","compressible":true,"extensions":["ac"]},"application/vnd.nokia.n-gage.data":{"source":"iana","extensions":["ngdat"]},"application/vnd.nokia.n-gage.symbian.install":{"source":"iana","extensions":["n-gage"]},"application/vnd.nokia.ncd":{"source":"iana"},"application/vnd.nokia.pcd+wbxml":{"source":"iana"},"application/vnd.nokia.pcd+xml":{"source":"iana","compressible":true},"application/vnd.nokia.radio-preset":{"source":"iana","extensions":["rpst"]},"application/vnd.nokia.radio-presets":{"source":"iana","extensions":["rpss"]},"application/vnd.novadigm.edm":{"source":"iana","extensions":["edm"]},"application/vnd.novadigm.edx":{"source":"iana","extensions":["edx"]},"application/vnd.novadigm.ext":{"source":"iana","extensions":["ext"]},"application/vnd.ntt-local.content-share":{"source":"iana"},"application/vnd.ntt-local.file-transfer":{"source":"iana"},"application/vnd.ntt-local.ogw_remote-access":{"source":"iana"},"application/vnd.ntt-local.sip-ta_remote":{"source":"iana"},"application/vnd.ntt-local.sip-ta_tcp_stream":{"source":"iana"},"application/vnd.oasis.opendocument.chart":{"source":"iana","extensions":["odc"]},"application/vnd.oasis.opendocument.chart-template":{"source":"iana","extensions":["otc"]},"application/vnd.oasis.opendocument.database":{"source":"iana","extensions":["odb"]},"application/vnd.oasis.opendocument.formula":{"source":"iana","extensions":["odf"]},"application/vnd.oasis.opendocument.formula-template":{"source":"iana","extensions":["odft"]},"application/vnd.oasis.opendocument.graphics":{"source":"iana","compressible":false,"extensions":["odg"]},"application/vnd.oasis.opendocument.graphics-template":{"source":"iana","extensions":["otg"]},"application/vnd.oasis.opendocument.image":{"source":"iana","extensions":["odi"]},"application/vnd.oasis.opendocument.image-template":{"source":"iana","extensions":["oti"]},"application/vnd.oasis.opendocument.presentation":{"source":"iana","compressible":false,"extensions":["odp"]},"application/vnd.oasis.opendocument.presentation-template":{"source":"iana","extensions":["otp"]},"application/vnd.oasis.opendocument.spreadsheet":{"source":"iana","compressible":false,"extensions":["ods"]},"application/vnd.oasis.opendocument.spreadsheet-template":{"source":"iana","extensions":["ots"]},"application/vnd.oasis.opendocument.text":{"source":"iana","compressible":false,"extensions":["odt"]},"application/vnd.oasis.opendocument.text-master":{"source":"iana","extensions":["odm"]},"application/vnd.oasis.opendocument.text-template":{"source":"iana","extensions":["ott"]},"application/vnd.oasis.opendocument.text-web":{"source":"iana","extensions":["oth"]},"application/vnd.obn":{"source":"iana"},"application/vnd.ocf+cbor":{"source":"iana"},"application/vnd.oci.image.manifest.v1+json":{"source":"iana","compressible":true},"application/vnd.oftn.l10n+json":{"source":"iana","compressible":true},"application/vnd.oipf.contentaccessdownload+xml":{"source":"iana","compressible":true},"application/vnd.oipf.contentaccessstreaming+xml":{"source":"iana","compressible":true},"application/vnd.oipf.cspg-hexbinary":{"source":"iana"},"application/vnd.oipf.dae.svg+xml":{"source":"iana","compressible":true},"application/vnd.oipf.dae.xhtml+xml":{"source":"iana","compressible":true},"application/vnd.oipf.mippvcontrolmessage+xml":{"source":"iana","compressible":true},"application/vnd.oipf.pae.gem":{"source":"iana"},"application/vnd.oipf.spdiscovery+xml":{"source":"iana","compressible":true},"application/vnd.oipf.spdlist+xml":{"source":"iana","compressible":true},"application/vnd.oipf.ueprofile+xml":{"source":"iana","compressible":true},"application/vnd.oipf.userprofile+xml":{"source":"iana","compressible":true},"application/vnd.olpc-sugar":{"source":"iana","extensions":["xo"]},"application/vnd.oma-scws-config":{"source":"iana"},"application/vnd.oma-scws-http-request":{"source":"iana"},"application/vnd.oma-scws-http-response":{"source":"iana"},"application/vnd.oma.bcast.associated-procedure-parameter+xml":{"source":"iana","compressible":true},"application/vnd.oma.bcast.drm-trigger+xml":{"source":"iana","compressible":true},"application/vnd.oma.bcast.imd+xml":{"source":"iana","compressible":true},"application/vnd.oma.bcast.ltkm":{"source":"iana"},"application/vnd.oma.bcast.notification+xml":{"source":"iana","compressible":true},"application/vnd.oma.bcast.provisioningtrigger":{"source":"iana"},"application/vnd.oma.bcast.sgboot":{"source":"iana"},"application/vnd.oma.bcast.sgdd+xml":{"source":"iana","compressible":true},"application/vnd.oma.bcast.sgdu":{"source":"iana"},"application/vnd.oma.bcast.simple-symbol-container":{"source":"iana"},"application/vnd.oma.bcast.smartcard-trigger+xml":{"source":"iana","compressible":true},"application/vnd.oma.bcast.sprov+xml":{"source":"iana","compressible":true},"application/vnd.oma.bcast.stkm":{"source":"iana"},"application/vnd.oma.cab-address-book+xml":{"source":"iana","compressible":true},"application/vnd.oma.cab-feature-handler+xml":{"source":"iana","compressible":true},"application/vnd.oma.cab-pcc+xml":{"source":"iana","compressible":true},"application/vnd.oma.cab-subs-invite+xml":{"source":"iana","compressible":true},"application/vnd.oma.cab-user-prefs+xml":{"source":"iana","compressible":true},"application/vnd.oma.dcd":{"source":"iana"},"application/vnd.oma.dcdc":{"source":"iana"},"application/vnd.oma.dd2+xml":{"source":"iana","compressible":true,"extensions":["dd2"]},"application/vnd.oma.drm.risd+xml":{"source":"iana","compressible":true},"application/vnd.oma.group-usage-list+xml":{"source":"iana","compressible":true},"application/vnd.oma.lwm2m+cbor":{"source":"iana"},"application/vnd.oma.lwm2m+json":{"source":"iana","compressible":true},"application/vnd.oma.lwm2m+tlv":{"source":"iana"},"application/vnd.oma.pal+xml":{"source":"iana","compressible":true},"application/vnd.oma.poc.detailed-progress-report+xml":{"source":"iana","compressible":true},"application/vnd.oma.poc.final-report+xml":{"source":"iana","compressible":true},"application/vnd.oma.poc.groups+xml":{"source":"iana","compressible":true},"application/vnd.oma.poc.invocation-descriptor+xml":{"source":"iana","compressible":true},"application/vnd.oma.poc.optimized-progress-report+xml":{"source":"iana","compressible":true},"application/vnd.oma.push":{"source":"iana"},"application/vnd.oma.scidm.messages+xml":{"source":"iana","compressible":true},"application/vnd.oma.xcap-directory+xml":{"source":"iana","compressible":true},"application/vnd.omads-email+xml":{"source":"iana","charset":"UTF-8","compressible":true},"application/vnd.omads-file+xml":{"source":"iana","charset":"UTF-8","compressible":true},"application/vnd.omads-folder+xml":{"source":"iana","charset":"UTF-8","compressible":true},"application/vnd.omaloc-supl-init":{"source":"iana"},"application/vnd.onepager":{"source":"iana"},"application/vnd.onepagertamp":{"source":"iana"},"application/vnd.onepagertamx":{"source":"iana"},"application/vnd.onepagertat":{"source":"iana"},"application/vnd.onepagertatp":{"source":"iana"},"application/vnd.onepagertatx":{"source":"iana"},"application/vnd.openblox.game+xml":{"source":"iana","compressible":true,"extensions":["obgx"]},"application/vnd.openblox.game-binary":{"source":"iana"},"application/vnd.openeye.oeb":{"source":"iana"},"application/vnd.openofficeorg.extension":{"source":"apache","extensions":["oxt"]},"application/vnd.openstreetmap.data+xml":{"source":"iana","compressible":true,"extensions":["osm"]},"application/vnd.openxmlformats-officedocument.custom-properties+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.customxmlproperties+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.drawing+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.drawingml.chart+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.drawingml.chartshapes+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.drawingml.diagramcolors+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.drawingml.diagramdata+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.drawingml.diagramlayout+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.drawingml.diagramstyle+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.extended-properties+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.presentationml.commentauthors+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.presentationml.comments+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.presentationml.handoutmaster+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.presentationml.notesmaster+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.presentationml.notesslide+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.presentationml.presentation":{"source":"iana","compressible":false,"extensions":["pptx"]},"application/vnd.openxmlformats-officedocument.presentationml.presentation.main+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.presentationml.presprops+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.presentationml.slide":{"source":"iana","extensions":["sldx"]},"application/vnd.openxmlformats-officedocument.presentationml.slide+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.presentationml.slidelayout+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.presentationml.slidemaster+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.presentationml.slideshow":{"source":"iana","extensions":["ppsx"]},"application/vnd.openxmlformats-officedocument.presentationml.slideshow.main+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.presentationml.slideupdateinfo+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.presentationml.tablestyles+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.presentationml.tags+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.presentationml.template":{"source":"iana","extensions":["potx"]},"application/vnd.openxmlformats-officedocument.presentationml.template.main+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.presentationml.viewprops+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.spreadsheetml.calcchain+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.spreadsheetml.chartsheet+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.spreadsheetml.comments+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.spreadsheetml.connections+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.spreadsheetml.dialogsheet+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.spreadsheetml.externallink+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.spreadsheetml.pivotcachedefinition+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.spreadsheetml.pivotcacherecords+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.spreadsheetml.pivottable+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.spreadsheetml.querytable+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.spreadsheetml.revisionheaders+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.spreadsheetml.revisionlog+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.spreadsheetml.sharedstrings+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.spreadsheetml.sheet":{"source":"iana","compressible":false,"extensions":["xlsx"]},"application/vnd.openxmlformats-officedocument.spreadsheetml.sheet.main+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.spreadsheetml.sheetmetadata+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.spreadsheetml.styles+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.spreadsheetml.table+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.spreadsheetml.tablesinglecells+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.spreadsheetml.template":{"source":"iana","extensions":["xltx"]},"application/vnd.openxmlformats-officedocument.spreadsheetml.template.main+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.spreadsheetml.usernames+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.spreadsheetml.volatiledependencies+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.spreadsheetml.worksheet+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.theme+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.themeoverride+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.vmldrawing":{"source":"iana"},"application/vnd.openxmlformats-officedocument.wordprocessingml.comments+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.wordprocessingml.document":{"source":"iana","compressible":false,"extensions":["docx"]},"application/vnd.openxmlformats-officedocument.wordprocessingml.document.glossary+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.wordprocessingml.document.main+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.wordprocessingml.endnotes+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.wordprocessingml.fonttable+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.wordprocessingml.footer+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.wordprocessingml.footnotes+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.wordprocessingml.numbering+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.wordprocessingml.settings+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.wordprocessingml.styles+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.wordprocessingml.template":{"source":"iana","extensions":["dotx"]},"application/vnd.openxmlformats-officedocument.wordprocessingml.template.main+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.wordprocessingml.websettings+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-package.core-properties+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-package.digital-signature-xmlsignature+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-package.relationships+xml":{"source":"iana","compressible":true},"application/vnd.oracle.resource+json":{"source":"iana","compressible":true},"application/vnd.orange.indata":{"source":"iana"},"application/vnd.osa.netdeploy":{"source":"iana"},"application/vnd.osgeo.mapguide.package":{"source":"iana","extensions":["mgp"]},"application/vnd.osgi.bundle":{"source":"iana"},"application/vnd.osgi.dp":{"source":"iana","extensions":["dp"]},"application/vnd.osgi.subsystem":{"source":"iana","extensions":["esa"]},"application/vnd.otps.ct-kip+xml":{"source":"iana","compressible":true},"application/vnd.oxli.countgraph":{"source":"iana"},"application/vnd.pagerduty+json":{"source":"iana","compressible":true},"application/vnd.palm":{"source":"iana","extensions":["pdb","pqa","oprc"]},"application/vnd.panoply":{"source":"iana"},"application/vnd.paos.xml":{"source":"iana"},"application/vnd.patentdive":{"source":"iana"},"application/vnd.patientecommsdoc":{"source":"iana"},"application/vnd.pawaafile":{"source":"iana","extensions":["paw"]},"application/vnd.pcos":{"source":"iana"},"application/vnd.pg.format":{"source":"iana","extensions":["str"]},"application/vnd.pg.osasli":{"source":"iana","extensions":["ei6"]},"application/vnd.piaccess.application-licence":{"source":"iana"},"application/vnd.picsel":{"source":"iana","extensions":["efif"]},"application/vnd.pmi.widget":{"source":"iana","extensions":["wg"]},"application/vnd.poc.group-advertisement+xml":{"source":"iana","compressible":true},"application/vnd.pocketlearn":{"source":"iana","extensions":["plf"]},"application/vnd.powerbuilder6":{"source":"iana","extensions":["pbd"]},"application/vnd.powerbuilder6-s":{"source":"iana"},"application/vnd.powerbuilder7":{"source":"iana"},"application/vnd.powerbuilder7-s":{"source":"iana"},"application/vnd.powerbuilder75":{"source":"iana"},"application/vnd.powerbuilder75-s":{"source":"iana"},"application/vnd.preminet":{"source":"iana"},"application/vnd.previewsystems.box":{"source":"iana","extensions":["box"]},"application/vnd.proteus.magazine":{"source":"iana","extensions":["mgz"]},"application/vnd.psfs":{"source":"iana"},"application/vnd.publishare-delta-tree":{"source":"iana","extensions":["qps"]},"application/vnd.pvi.ptid1":{"source":"iana","extensions":["ptid"]},"application/vnd.pwg-multiplexed":{"source":"iana"},"application/vnd.pwg-xhtml-print+xml":{"source":"iana","compressible":true},"application/vnd.qualcomm.brew-app-res":{"source":"iana"},"application/vnd.quarantainenet":{"source":"iana"},"application/vnd.quark.quarkxpress":{"source":"iana","extensions":["qxd","qxt","qwd","qwt","qxl","qxb"]},"application/vnd.quobject-quoxdocument":{"source":"iana"},"application/vnd.radisys.moml+xml":{"source":"iana","compressible":true},"application/vnd.radisys.msml+xml":{"source":"iana","compressible":true},"application/vnd.radisys.msml-audit+xml":{"source":"iana","compressible":true},"application/vnd.radisys.msml-audit-conf+xml":{"source":"iana","compressible":true},"application/vnd.radisys.msml-audit-conn+xml":{"source":"iana","compressible":true},"application/vnd.radisys.msml-audit-dialog+xml":{"source":"iana","compressible":true},"application/vnd.radisys.msml-audit-stream+xml":{"source":"iana","compressible":true},"application/vnd.radisys.msml-conf+xml":{"source":"iana","compressible":true},"application/vnd.radisys.msml-dialog+xml":{"source":"iana","compressible":true},"application/vnd.radisys.msml-dialog-base+xml":{"source":"iana","compressible":true},"application/vnd.radisys.msml-dialog-fax-detect+xml":{"source":"iana","compressible":true},"application/vnd.radisys.msml-dialog-fax-sendrecv+xml":{"source":"iana","compressible":true},"application/vnd.radisys.msml-dialog-group+xml":{"source":"iana","compressible":true},"application/vnd.radisys.msml-dialog-speech+xml":{"source":"iana","compressible":true},"application/vnd.radisys.msml-dialog-transform+xml":{"source":"iana","compressible":true},"application/vnd.rainstor.data":{"source":"iana"},"application/vnd.rapid":{"source":"iana"},"application/vnd.rar":{"source":"iana","extensions":["rar"]},"application/vnd.realvnc.bed":{"source":"iana","extensions":["bed"]},"application/vnd.recordare.musicxml":{"source":"iana","extensions":["mxl"]},"application/vnd.recordare.musicxml+xml":{"source":"iana","compressible":true,"extensions":["musicxml"]},"application/vnd.renlearn.rlprint":{"source":"iana"},"application/vnd.restful+json":{"source":"iana","compressible":true},"application/vnd.rig.cryptonote":{"source":"iana","extensions":["cryptonote"]},"application/vnd.rim.cod":{"source":"apache","extensions":["cod"]},"application/vnd.rn-realmedia":{"source":"apache","extensions":["rm"]},"application/vnd.rn-realmedia-vbr":{"source":"apache","extensions":["rmvb"]},"application/vnd.route66.link66+xml":{"source":"iana","compressible":true,"extensions":["link66"]},"application/vnd.rs-274x":{"source":"iana"},"application/vnd.ruckus.download":{"source":"iana"},"application/vnd.s3sms":{"source":"iana"},"application/vnd.sailingtracker.track":{"source":"iana","extensions":["st"]},"application/vnd.sar":{"source":"iana"},"application/vnd.sbm.cid":{"source":"iana"},"application/vnd.sbm.mid2":{"source":"iana"},"application/vnd.scribus":{"source":"iana"},"application/vnd.sealed.3df":{"source":"iana"},"application/vnd.sealed.csf":{"source":"iana"},"application/vnd.sealed.doc":{"source":"iana"},"application/vnd.sealed.eml":{"source":"iana"},"application/vnd.sealed.mht":{"source":"iana"},"application/vnd.sealed.net":{"source":"iana"},"application/vnd.sealed.ppt":{"source":"iana"},"application/vnd.sealed.tiff":{"source":"iana"},"application/vnd.sealed.xls":{"source":"iana"},"application/vnd.sealedmedia.softseal.html":{"source":"iana"},"application/vnd.sealedmedia.softseal.pdf":{"source":"iana"},"application/vnd.seemail":{"source":"iana","extensions":["see"]},"application/vnd.seis+json":{"source":"iana","compressible":true},"application/vnd.sema":{"source":"iana","extensions":["sema"]},"application/vnd.semd":{"source":"iana","extensions":["semd"]},"application/vnd.semf":{"source":"iana","extensions":["semf"]},"application/vnd.shade-save-file":{"source":"iana"},"application/vnd.shana.informed.formdata":{"source":"iana","extensions":["ifm"]},"application/vnd.shana.informed.formtemplate":{"source":"iana","extensions":["itp"]},"application/vnd.shana.informed.interchange":{"source":"iana","extensions":["iif"]},"application/vnd.shana.informed.package":{"source":"iana","extensions":["ipk"]},"application/vnd.shootproof+json":{"source":"iana","compressible":true},"application/vnd.shopkick+json":{"source":"iana","compressible":true},"application/vnd.shp":{"source":"iana"},"application/vnd.shx":{"source":"iana"},"application/vnd.sigrok.session":{"source":"iana"},"application/vnd.simtech-mindmapper":{"source":"iana","extensions":["twd","twds"]},"application/vnd.siren+json":{"source":"iana","compressible":true},"application/vnd.smaf":{"source":"iana","extensions":["mmf"]},"application/vnd.smart.notebook":{"source":"iana"},"application/vnd.smart.teacher":{"source":"iana","extensions":["teacher"]},"application/vnd.snesdev-page-table":{"source":"iana"},"application/vnd.software602.filler.form+xml":{"source":"iana","compressible":true,"extensions":["fo"]},"application/vnd.software602.filler.form-xml-zip":{"source":"iana"},"application/vnd.solent.sdkm+xml":{"source":"iana","compressible":true,"extensions":["sdkm","sdkd"]},"application/vnd.spotfire.dxp":{"source":"iana","extensions":["dxp"]},"application/vnd.spotfire.sfs":{"source":"iana","extensions":["sfs"]},"application/vnd.sqlite3":{"source":"iana"},"application/vnd.sss-cod":{"source":"iana"},"application/vnd.sss-dtf":{"source":"iana"},"application/vnd.sss-ntf":{"source":"iana"},"application/vnd.stardivision.calc":{"source":"apache","extensions":["sdc"]},"application/vnd.stardivision.draw":{"source":"apache","extensions":["sda"]},"application/vnd.stardivision.impress":{"source":"apache","extensions":["sdd"]},"application/vnd.stardivision.math":{"source":"apache","extensions":["smf"]},"application/vnd.stardivision.writer":{"source":"apache","extensions":["sdw","vor"]},"application/vnd.stardivision.writer-global":{"source":"apache","extensions":["sgl"]},"application/vnd.stepmania.package":{"source":"iana","extensions":["smzip"]},"application/vnd.stepmania.stepchart":{"source":"iana","extensions":["sm"]},"application/vnd.street-stream":{"source":"iana"},"application/vnd.sun.wadl+xml":{"source":"iana","compressible":true,"extensions":["wadl"]},"application/vnd.sun.xml.calc":{"source":"apache","extensions":["sxc"]},"application/vnd.sun.xml.calc.template":{"source":"apache","extensions":["stc"]},"application/vnd.sun.xml.draw":{"source":"apache","extensions":["sxd"]},"application/vnd.sun.xml.draw.template":{"source":"apache","extensions":["std"]},"application/vnd.sun.xml.impress":{"source":"apache","extensions":["sxi"]},"application/vnd.sun.xml.impress.template":{"source":"apache","extensions":["sti"]},"application/vnd.sun.xml.math":{"source":"apache","extensions":["sxm"]},"application/vnd.sun.xml.writer":{"source":"apache","extensions":["sxw"]},"application/vnd.sun.xml.writer.global":{"source":"apache","extensions":["sxg"]},"application/vnd.sun.xml.writer.template":{"source":"apache","extensions":["stw"]},"application/vnd.sus-calendar":{"source":"iana","extensions":["sus","susp"]},"application/vnd.svd":{"source":"iana","extensions":["svd"]},"application/vnd.swiftview-ics":{"source":"iana"},"application/vnd.sycle+xml":{"source":"iana","compressible":true},"application/vnd.symbian.install":{"source":"apache","extensions":["sis","sisx"]},"application/vnd.syncml+xml":{"source":"iana","charset":"UTF-8","compressible":true,"extensions":["xsm"]},"application/vnd.syncml.dm+wbxml":{"source":"iana","charset":"UTF-8","extensions":["bdm"]},"application/vnd.syncml.dm+xml":{"source":"iana","charset":"UTF-8","compressible":true,"extensions":["xdm"]},"application/vnd.syncml.dm.notification":{"source":"iana"},"application/vnd.syncml.dmddf+wbxml":{"source":"iana"},"application/vnd.syncml.dmddf+xml":{"source":"iana","charset":"UTF-8","compressible":true,"extensions":["ddf"]},"application/vnd.syncml.dmtnds+wbxml":{"source":"iana"},"application/vnd.syncml.dmtnds+xml":{"source":"iana","charset":"UTF-8","compressible":true},"application/vnd.syncml.ds.notification":{"source":"iana"},"application/vnd.tableschema+json":{"source":"iana","compressible":true},"application/vnd.tao.intent-module-archive":{"source":"iana","extensions":["tao"]},"application/vnd.tcpdump.pcap":{"source":"iana","extensions":["pcap","cap","dmp"]},"application/vnd.think-cell.ppttc+json":{"source":"iana","compressible":true},"application/vnd.tmd.mediaflex.api+xml":{"source":"iana","compressible":true},"application/vnd.tml":{"source":"iana"},"application/vnd.tmobile-livetv":{"source":"iana","extensions":["tmo"]},"application/vnd.tri.onesource":{"source":"iana"},"application/vnd.trid.tpt":{"source":"iana","extensions":["tpt"]},"application/vnd.triscape.mxs":{"source":"iana","extensions":["mxs"]},"application/vnd.trueapp":{"source":"iana","extensions":["tra"]},"application/vnd.truedoc":{"source":"iana"},"application/vnd.ubisoft.webplayer":{"source":"iana"},"application/vnd.ufdl":{"source":"iana","extensions":["ufd","ufdl"]},"application/vnd.uiq.theme":{"source":"iana","extensions":["utz"]},"application/vnd.umajin":{"source":"iana","extensions":["umj"]},"application/vnd.unity":{"source":"iana","extensions":["unityweb"]},"application/vnd.uoml+xml":{"source":"iana","compressible":true,"extensions":["uoml"]},"application/vnd.uplanet.alert":{"source":"iana"},"application/vnd.uplanet.alert-wbxml":{"source":"iana"},"application/vnd.uplanet.bearer-choice":{"source":"iana"},"application/vnd.uplanet.bearer-choice-wbxml":{"source":"iana"},"application/vnd.uplanet.cacheop":{"source":"iana"},"application/vnd.uplanet.cacheop-wbxml":{"source":"iana"},"application/vnd.uplanet.channel":{"source":"iana"},"application/vnd.uplanet.channel-wbxml":{"source":"iana"},"application/vnd.uplanet.list":{"source":"iana"},"application/vnd.uplanet.list-wbxml":{"source":"iana"},"application/vnd.uplanet.listcmd":{"source":"iana"},"application/vnd.uplanet.listcmd-wbxml":{"source":"iana"},"application/vnd.uplanet.signal":{"source":"iana"},"application/vnd.uri-map":{"source":"iana"},"application/vnd.valve.source.material":{"source":"iana"},"application/vnd.vcx":{"source":"iana","extensions":["vcx"]},"application/vnd.vd-study":{"source":"iana"},"application/vnd.vectorworks":{"source":"iana"},"application/vnd.vel+json":{"source":"iana","compressible":true},"application/vnd.verimatrix.vcas":{"source":"iana"},"application/vnd.veryant.thin":{"source":"iana"},"application/vnd.ves.encrypted":{"source":"iana"},"application/vnd.vidsoft.vidconference":{"source":"iana"},"application/vnd.visio":{"source":"iana","extensions":["vsd","vst","vss","vsw"]},"application/vnd.visionary":{"source":"iana","extensions":["vis"]},"application/vnd.vividence.scriptfile":{"source":"iana"},"application/vnd.vsf":{"source":"iana","extensions":["vsf"]},"application/vnd.wap.sic":{"source":"iana"},"application/vnd.wap.slc":{"source":"iana"},"application/vnd.wap.wbxml":{"source":"iana","charset":"UTF-8","extensions":["wbxml"]},"application/vnd.wap.wmlc":{"source":"iana","extensions":["wmlc"]},"application/vnd.wap.wmlscriptc":{"source":"iana","extensions":["wmlsc"]},"application/vnd.webturbo":{"source":"iana","extensions":["wtb"]},"application/vnd.wfa.dpp":{"source":"iana"},"application/vnd.wfa.p2p":{"source":"iana"},"application/vnd.wfa.wsc":{"source":"iana"},"application/vnd.windows.devicepairing":{"source":"iana"},"application/vnd.wmc":{"source":"iana"},"application/vnd.wmf.bootstrap":{"source":"iana"},"application/vnd.wolfram.mathematica":{"source":"iana"},"application/vnd.wolfram.mathematica.package":{"source":"iana"},"application/vnd.wolfram.player":{"source":"iana","extensions":["nbp"]},"application/vnd.wordperfect":{"source":"iana","extensions":["wpd"]},"application/vnd.wqd":{"source":"iana","extensions":["wqd"]},"application/vnd.wrq-hp3000-labelled":{"source":"iana"},"application/vnd.wt.stf":{"source":"iana","extensions":["stf"]},"application/vnd.wv.csp+wbxml":{"source":"iana"},"application/vnd.wv.csp+xml":{"source":"iana","compressible":true},"application/vnd.wv.ssp+xml":{"source":"iana","compressible":true},"application/vnd.xacml+json":{"source":"iana","compressible":true},"application/vnd.xara":{"source":"iana","extensions":["xar"]},"application/vnd.xfdl":{"source":"iana","extensions":["xfdl"]},"application/vnd.xfdl.webform":{"source":"iana"},"application/vnd.xmi+xml":{"source":"iana","compressible":true},"application/vnd.xmpie.cpkg":{"source":"iana"},"application/vnd.xmpie.dpkg":{"source":"iana"},"application/vnd.xmpie.plan":{"source":"iana"},"application/vnd.xmpie.ppkg":{"source":"iana"},"application/vnd.xmpie.xlim":{"source":"iana"},"application/vnd.yamaha.hv-dic":{"source":"iana","extensions":["hvd"]},"application/vnd.yamaha.hv-script":{"source":"iana","extensions":["hvs"]},"application/vnd.yamaha.hv-voice":{"source":"iana","extensions":["hvp"]},"application/vnd.yamaha.openscoreformat":{"source":"iana","extensions":["osf"]},"application/vnd.yamaha.openscoreformat.osfpvg+xml":{"source":"iana","compressible":true,"extensions":["osfpvg"]},"application/vnd.yamaha.remote-setup":{"source":"iana"},"application/vnd.yamaha.smaf-audio":{"source":"iana","extensions":["saf"]},"application/vnd.yamaha.smaf-phrase":{"source":"iana","extensions":["spf"]},"application/vnd.yamaha.through-ngn":{"source":"iana"},"application/vnd.yamaha.tunnel-udpencap":{"source":"iana"},"application/vnd.yaoweme":{"source":"iana"},"application/vnd.yellowriver-custom-menu":{"source":"iana","extensions":["cmp"]},"application/vnd.youtube.yt":{"source":"iana"},"application/vnd.zul":{"source":"iana","extensions":["zir","zirz"]},"application/vnd.zzazz.deck+xml":{"source":"iana","compressible":true,"extensions":["zaz"]},"application/voicexml+xml":{"source":"iana","compressible":true,"extensions":["vxml"]},"application/voucher-cms+json":{"source":"iana","compressible":true},"application/vq-rtcpxr":{"source":"iana"},"application/wasm":{"compressible":true,"extensions":["wasm"]},"application/watcherinfo+xml":{"source":"iana","compressible":true},"application/webpush-options+json":{"source":"iana","compressible":true},"application/whoispp-query":{"source":"iana"},"application/whoispp-response":{"source":"iana"},"application/widget":{"source":"iana","extensions":["wgt"]},"application/winhlp":{"source":"apache","extensions":["hlp"]},"application/wita":{"source":"iana"},"application/wordperfect5.1":{"source":"iana"},"application/wsdl+xml":{"source":"iana","compressible":true,"extensions":["wsdl"]},"application/wspolicy+xml":{"source":"iana","compressible":true,"extensions":["wspolicy"]},"application/x-7z-compressed":{"source":"apache","compressible":false,"extensions":["7z"]},"application/x-abiword":{"source":"apache","extensions":["abw"]},"application/x-ace-compressed":{"source":"apache","extensions":["ace"]},"application/x-amf":{"source":"apache"},"application/x-apple-diskimage":{"source":"apache","extensions":["dmg"]},"application/x-arj":{"compressible":false,"extensions":["arj"]},"application/x-authorware-bin":{"source":"apache","extensions":["aab","x32","u32","vox"]},"application/x-authorware-map":{"source":"apache","extensions":["aam"]},"application/x-authorware-seg":{"source":"apache","extensions":["aas"]},"application/x-bcpio":{"source":"apache","extensions":["bcpio"]},"application/x-bdoc":{"compressible":false,"extensions":["bdoc"]},"application/x-bittorrent":{"source":"apache","extensions":["torrent"]},"application/x-blorb":{"source":"apache","extensions":["blb","blorb"]},"application/x-bzip":{"source":"apache","compressible":false,"extensions":["bz"]},"application/x-bzip2":{"source":"apache","compressible":false,"extensions":["bz2","boz"]},"application/x-cbr":{"source":"apache","extensions":["cbr","cba","cbt","cbz","cb7"]},"application/x-cdlink":{"source":"apache","extensions":["vcd"]},"application/x-cfs-compressed":{"source":"apache","extensions":["cfs"]},"application/x-chat":{"source":"apache","extensions":["chat"]},"application/x-chess-pgn":{"source":"apache","extensions":["pgn"]},"application/x-chrome-extension":{"extensions":["crx"]},"application/x-cocoa":{"source":"nginx","extensions":["cco"]},"application/x-compress":{"source":"apache"},"application/x-conference":{"source":"apache","extensions":["nsc"]},"application/x-cpio":{"source":"apache","extensions":["cpio"]},"application/x-csh":{"source":"apache","extensions":["csh"]},"application/x-deb":{"compressible":false},"application/x-debian-package":{"source":"apache","extensions":["deb","udeb"]},"application/x-dgc-compressed":{"source":"apache","extensions":["dgc"]},"application/x-director":{"source":"apache","extensions":["dir","dcr","dxr","cst","cct","cxt","w3d","fgd","swa"]},"application/x-doom":{"source":"apache","extensions":["wad"]},"application/x-dtbncx+xml":{"source":"apache","compressible":true,"extensions":["ncx"]},"application/x-dtbook+xml":{"source":"apache","compressible":true,"extensions":["dtb"]},"application/x-dtbresource+xml":{"source":"apache","compressible":true,"extensions":["res"]},"application/x-dvi":{"source":"apache","compressible":false,"extensions":["dvi"]},"application/x-envoy":{"source":"apache","extensions":["evy"]},"application/x-eva":{"source":"apache","extensions":["eva"]},"application/x-font-bdf":{"source":"apache","extensions":["bdf"]},"application/x-font-dos":{"source":"apache"},"application/x-font-framemaker":{"source":"apache"},"application/x-font-ghostscript":{"source":"apache","extensions":["gsf"]},"application/x-font-libgrx":{"source":"apache"},"application/x-font-linux-psf":{"source":"apache","extensions":["psf"]},"application/x-font-pcf":{"source":"apache","extensions":["pcf"]},"application/x-font-snf":{"source":"apache","extensions":["snf"]},"application/x-font-speedo":{"source":"apache"},"application/x-font-sunos-news":{"source":"apache"},"application/x-font-type1":{"source":"apache","extensions":["pfa","pfb","pfm","afm"]},"application/x-font-vfont":{"source":"apache"},"application/x-freearc":{"source":"apache","extensions":["arc"]},"application/x-futuresplash":{"source":"apache","extensions":["spl"]},"application/x-gca-compressed":{"source":"apache","extensions":["gca"]},"application/x-glulx":{"source":"apache","extensions":["ulx"]},"application/x-gnumeric":{"source":"apache","extensions":["gnumeric"]},"application/x-gramps-xml":{"source":"apache","extensions":["gramps"]},"application/x-gtar":{"source":"apache","extensions":["gtar"]},"application/x-gzip":{"source":"apache"},"application/x-hdf":{"source":"apache","extensions":["hdf"]},"application/x-httpd-php":{"compressible":true,"extensions":["php"]},"application/x-install-instructions":{"source":"apache","extensions":["install"]},"application/x-iso9660-image":{"source":"apache","extensions":["iso"]},"application/x-java-archive-diff":{"source":"nginx","extensions":["jardiff"]},"application/x-java-jnlp-file":{"source":"apache","compressible":false,"extensions":["jnlp"]},"application/x-javascript":{"compressible":true},"application/x-keepass2":{"extensions":["kdbx"]},"application/x-latex":{"source":"apache","compressible":false,"extensions":["latex"]},"application/x-lua-bytecode":{"extensions":["luac"]},"application/x-lzh-compressed":{"source":"apache","extensions":["lzh","lha"]},"application/x-makeself":{"source":"nginx","extensions":["run"]},"application/x-mie":{"source":"apache","extensions":["mie"]},"application/x-mobipocket-ebook":{"source":"apache","extensions":["prc","mobi"]},"application/x-mpegurl":{"compressible":false},"application/x-ms-application":{"source":"apache","extensions":["application"]},"application/x-ms-shortcut":{"source":"apache","extensions":["lnk"]},"application/x-ms-wmd":{"source":"apache","extensions":["wmd"]},"application/x-ms-wmz":{"source":"apache","extensions":["wmz"]},"application/x-ms-xbap":{"source":"apache","extensions":["xbap"]},"application/x-msaccess":{"source":"apache","extensions":["mdb"]},"application/x-msbinder":{"source":"apache","extensions":["obd"]},"application/x-mscardfile":{"source":"apache","extensions":["crd"]},"application/x-msclip":{"source":"apache","extensions":["clp"]},"application/x-msdos-program":{"extensions":["exe"]},"application/x-msdownload":{"source":"apache","extensions":["exe","dll","com","bat","msi"]},"application/x-msmediaview":{"source":"apache","extensions":["mvb","m13","m14"]},"application/x-msmetafile":{"source":"apache","extensions":["wmf","wmz","emf","emz"]},"application/x-msmoney":{"source":"apache","extensions":["mny"]},"application/x-mspublisher":{"source":"apache","extensions":["pub"]},"application/x-msschedule":{"source":"apache","extensions":["scd"]},"application/x-msterminal":{"source":"apache","extensions":["trm"]},"application/x-mswrite":{"source":"apache","extensions":["wri"]},"application/x-netcdf":{"source":"apache","extensions":["nc","cdf"]},"application/x-ns-proxy-autoconfig":{"compressible":true,"extensions":["pac"]},"application/x-nzb":{"source":"apache","extensions":["nzb"]},"application/x-perl":{"source":"nginx","extensions":["pl","pm"]},"application/x-pilot":{"source":"nginx","extensions":["prc","pdb"]},"application/x-pkcs12":{"source":"apache","compressible":false,"extensions":["p12","pfx"]},"application/x-pkcs7-certificates":{"source":"apache","extensions":["p7b","spc"]},"application/x-pkcs7-certreqresp":{"source":"apache","extensions":["p7r"]},"application/x-pki-message":{"source":"iana"},"application/x-rar-compressed":{"source":"apache","compressible":false,"extensions":["rar"]},"application/x-redhat-package-manager":{"source":"nginx","extensions":["rpm"]},"application/x-research-info-systems":{"source":"apache","extensions":["ris"]},"application/x-sea":{"source":"nginx","extensions":["sea"]},"application/x-sh":{"source":"apache","compressible":true,"extensions":["sh"]},"application/x-shar":{"source":"apache","extensions":["shar"]},"application/x-shockwave-flash":{"source":"apache","compressible":false,"extensions":["swf"]},"application/x-silverlight-app":{"source":"apache","extensions":["xap"]},"application/x-sql":{"source":"apache","extensions":["sql"]},"application/x-stuffit":{"source":"apache","compressible":false,"extensions":["sit"]},"application/x-stuffitx":{"source":"apache","extensions":["sitx"]},"application/x-subrip":{"source":"apache","extensions":["srt"]},"application/x-sv4cpio":{"source":"apache","extensions":["sv4cpio"]},"application/x-sv4crc":{"source":"apache","extensions":["sv4crc"]},"application/x-t3vm-image":{"source":"apache","extensions":["t3"]},"application/x-tads":{"source":"apache","extensions":["gam"]},"application/x-tar":{"source":"apache","compressible":true,"extensions":["tar"]},"application/x-tcl":{"source":"apache","extensions":["tcl","tk"]},"application/x-tex":{"source":"apache","extensions":["tex"]},"application/x-tex-tfm":{"source":"apache","extensions":["tfm"]},"application/x-texinfo":{"source":"apache","extensions":["texinfo","texi"]},"application/x-tgif":{"source":"apache","extensions":["obj"]},"application/x-ustar":{"source":"apache","extensions":["ustar"]},"application/x-virtualbox-hdd":{"compressible":true,"extensions":["hdd"]},"application/x-virtualbox-ova":{"compressible":true,"extensions":["ova"]},"application/x-virtualbox-ovf":{"compressible":true,"extensions":["ovf"]},"application/x-virtualbox-vbox":{"compressible":true,"extensions":["vbox"]},"application/x-virtualbox-vbox-extpack":{"compressible":false,"extensions":["vbox-extpack"]},"application/x-virtualbox-vdi":{"compressible":true,"extensions":["vdi"]},"application/x-virtualbox-vhd":{"compressible":true,"extensions":["vhd"]},"application/x-virtualbox-vmdk":{"compressible":true,"extensions":["vmdk"]},"application/x-wais-source":{"source":"apache","extensions":["src"]},"application/x-web-app-manifest+json":{"compressible":true,"extensions":["webapp"]},"application/x-www-form-urlencoded":{"source":"iana","compressible":true},"application/x-x509-ca-cert":{"source":"iana","extensions":["der","crt","pem"]},"application/x-x509-ca-ra-cert":{"source":"iana"},"application/x-x509-next-ca-cert":{"source":"iana"},"application/x-xfig":{"source":"apache","extensions":["fig"]},"application/x-xliff+xml":{"source":"apache","compressible":true,"extensions":["xlf"]},"application/x-xpinstall":{"source":"apache","compressible":false,"extensions":["xpi"]},"application/x-xz":{"source":"apache","extensions":["xz"]},"application/x-zmachine":{"source":"apache","extensions":["z1","z2","z3","z4","z5","z6","z7","z8"]},"application/x400-bp":{"source":"iana"},"application/xacml+xml":{"source":"iana","compressible":true},"application/xaml+xml":{"source":"apache","compressible":true,"extensions":["xaml"]},"application/xcap-att+xml":{"source":"iana","compressible":true,"extensions":["xav"]},"application/xcap-caps+xml":{"source":"iana","compressible":true,"extensions":["xca"]},"application/xcap-diff+xml":{"source":"iana","compressible":true,"extensions":["xdf"]},"application/xcap-el+xml":{"source":"iana","compressible":true,"extensions":["xel"]},"application/xcap-error+xml":{"source":"iana","compressible":true,"extensions":["xer"]},"application/xcap-ns+xml":{"source":"iana","compressible":true,"extensions":["xns"]},"application/xcon-conference-info+xml":{"source":"iana","compressible":true},"application/xcon-conference-info-diff+xml":{"source":"iana","compressible":true},"application/xenc+xml":{"source":"iana","compressible":true,"extensions":["xenc"]},"application/xhtml+xml":{"source":"iana","compressible":true,"extensions":["xhtml","xht"]},"application/xhtml-voice+xml":{"source":"apache","compressible":true},"application/xliff+xml":{"source":"iana","compressible":true,"extensions":["xlf"]},"application/xml":{"source":"iana","compressible":true,"extensions":["xml","xsl","xsd","rng"]},"application/xml-dtd":{"source":"iana","compressible":true,"extensions":["dtd"]},"application/xml-external-parsed-entity":{"source":"iana"},"application/xml-patch+xml":{"source":"iana","compressible":true},"application/xmpp+xml":{"source":"iana","compressible":true},"application/xop+xml":{"source":"iana","compressible":true,"extensions":["xop"]},"application/xproc+xml":{"source":"apache","compressible":true,"extensions":["xpl"]},"application/xslt+xml":{"source":"iana","compressible":true,"extensions":["xsl","xslt"]},"application/xspf+xml":{"source":"apache","compressible":true,"extensions":["xspf"]},"application/xv+xml":{"source":"iana","compressible":true,"extensions":["mxml","xhvml","xvml","xvm"]},"application/yang":{"source":"iana","extensions":["yang"]},"application/yang-data+json":{"source":"iana","compressible":true},"application/yang-data+xml":{"source":"iana","compressible":true},"application/yang-patch+json":{"source":"iana","compressible":true},"application/yang-patch+xml":{"source":"iana","compressible":true},"application/yin+xml":{"source":"iana","compressible":true,"extensions":["yin"]},"application/zip":{"source":"iana","compressible":false,"extensions":["zip"]},"application/zlib":{"source":"iana"},"application/zstd":{"source":"iana"},"audio/1d-interleaved-parityfec":{"source":"iana"},"audio/32kadpcm":{"source":"iana"},"audio/3gpp":{"source":"iana","compressible":false,"extensions":["3gpp"]},"audio/3gpp2":{"source":"iana"},"audio/aac":{"source":"iana"},"audio/ac3":{"source":"iana"},"audio/adpcm":{"source":"apache","extensions":["adp"]},"audio/amr":{"source":"iana","extensions":["amr"]},"audio/amr-wb":{"source":"iana"},"audio/amr-wb+":{"source":"iana"},"audio/aptx":{"source":"iana"},"audio/asc":{"source":"iana"},"audio/atrac-advanced-lossless":{"source":"iana"},"audio/atrac-x":{"source":"iana"},"audio/atrac3":{"source":"iana"},"audio/basic":{"source":"iana","compressible":false,"extensions":["au","snd"]},"audio/bv16":{"source":"iana"},"audio/bv32":{"source":"iana"},"audio/clearmode":{"source":"iana"},"audio/cn":{"source":"iana"},"audio/dat12":{"source":"iana"},"audio/dls":{"source":"iana"},"audio/dsr-es201108":{"source":"iana"},"audio/dsr-es202050":{"source":"iana"},"audio/dsr-es202211":{"source":"iana"},"audio/dsr-es202212":{"source":"iana"},"audio/dv":{"source":"iana"},"audio/dvi4":{"source":"iana"},"audio/eac3":{"source":"iana"},"audio/encaprtp":{"source":"iana"},"audio/evrc":{"source":"iana"},"audio/evrc-qcp":{"source":"iana"},"audio/evrc0":{"source":"iana"},"audio/evrc1":{"source":"iana"},"audio/evrcb":{"source":"iana"},"audio/evrcb0":{"source":"iana"},"audio/evrcb1":{"source":"iana"},"audio/evrcnw":{"source":"iana"},"audio/evrcnw0":{"source":"iana"},"audio/evrcnw1":{"source":"iana"},"audio/evrcwb":{"source":"iana"},"audio/evrcwb0":{"source":"iana"},"audio/evrcwb1":{"source":"iana"},"audio/evs":{"source":"iana"},"audio/flexfec":{"source":"iana"},"audio/fwdred":{"source":"iana"},"audio/g711-0":{"source":"iana"},"audio/g719":{"source":"iana"},"audio/g722":{"source":"iana"},"audio/g7221":{"source":"iana"},"audio/g723":{"source":"iana"},"audio/g726-16":{"source":"iana"},"audio/g726-24":{"source":"iana"},"audio/g726-32":{"source":"iana"},"audio/g726-40":{"source":"iana"},"audio/g728":{"source":"iana"},"audio/g729":{"source":"iana"},"audio/g7291":{"source":"iana"},"audio/g729d":{"source":"iana"},"audio/g729e":{"source":"iana"},"audio/gsm":{"source":"iana"},"audio/gsm-efr":{"source":"iana"},"audio/gsm-hr-08":{"source":"iana"},"audio/ilbc":{"source":"iana"},"audio/ip-mr_v2.5":{"source":"iana"},"audio/isac":{"source":"apache"},"audio/l16":{"source":"iana"},"audio/l20":{"source":"iana"},"audio/l24":{"source":"iana","compressible":false},"audio/l8":{"source":"iana"},"audio/lpc":{"source":"iana"},"audio/melp":{"source":"iana"},"audio/melp1200":{"source":"iana"},"audio/melp2400":{"source":"iana"},"audio/melp600":{"source":"iana"},"audio/mhas":{"source":"iana"},"audio/midi":{"source":"apache","extensions":["mid","midi","kar","rmi"]},"audio/mobile-xmf":{"source":"iana","extensions":["mxmf"]},"audio/mp3":{"compressible":false,"extensions":["mp3"]},"audio/mp4":{"source":"iana","compressible":false,"extensions":["m4a","mp4a"]},"audio/mp4a-latm":{"source":"iana"},"audio/mpa":{"source":"iana"},"audio/mpa-robust":{"source":"iana"},"audio/mpeg":{"source":"iana","compressible":false,"extensions":["mpga","mp2","mp2a","mp3","m2a","m3a"]},"audio/mpeg4-generic":{"source":"iana"},"audio/musepack":{"source":"apache"},"audio/ogg":{"source":"iana","compressible":false,"extensions":["oga","ogg","spx","opus"]},"audio/opus":{"source":"iana"},"audio/parityfec":{"source":"iana"},"audio/pcma":{"source":"iana"},"audio/pcma-wb":{"source":"iana"},"audio/pcmu":{"source":"iana"},"audio/pcmu-wb":{"source":"iana"},"audio/prs.sid":{"source":"iana"},"audio/qcelp":{"source":"iana"},"audio/raptorfec":{"source":"iana"},"audio/red":{"source":"iana"},"audio/rtp-enc-aescm128":{"source":"iana"},"audio/rtp-midi":{"source":"iana"},"audio/rtploopback":{"source":"iana"},"audio/rtx":{"source":"iana"},"audio/s3m":{"source":"apache","extensions":["s3m"]},"audio/scip":{"source":"iana"},"audio/silk":{"source":"apache","extensions":["sil"]},"audio/smv":{"source":"iana"},"audio/smv-qcp":{"source":"iana"},"audio/smv0":{"source":"iana"},"audio/sofa":{"source":"iana"},"audio/sp-midi":{"source":"iana"},"audio/speex":{"source":"iana"},"audio/t140c":{"source":"iana"},"audio/t38":{"source":"iana"},"audio/telephone-event":{"source":"iana"},"audio/tetra_acelp":{"source":"iana"},"audio/tetra_acelp_bb":{"source":"iana"},"audio/tone":{"source":"iana"},"audio/tsvcis":{"source":"iana"},"audio/uemclip":{"source":"iana"},"audio/ulpfec":{"source":"iana"},"audio/usac":{"source":"iana"},"audio/vdvi":{"source":"iana"},"audio/vmr-wb":{"source":"iana"},"audio/vnd.3gpp.iufp":{"source":"iana"},"audio/vnd.4sb":{"source":"iana"},"audio/vnd.audiokoz":{"source":"iana"},"audio/vnd.celp":{"source":"iana"},"audio/vnd.cisco.nse":{"source":"iana"},"audio/vnd.cmles.radio-events":{"source":"iana"},"audio/vnd.cns.anp1":{"source":"iana"},"audio/vnd.cns.inf1":{"source":"iana"},"audio/vnd.dece.audio":{"source":"iana","extensions":["uva","uvva"]},"audio/vnd.digital-winds":{"source":"iana","extensions":["eol"]},"audio/vnd.dlna.adts":{"source":"iana"},"audio/vnd.dolby.heaac.1":{"source":"iana"},"audio/vnd.dolby.heaac.2":{"source":"iana"},"audio/vnd.dolby.mlp":{"source":"iana"},"audio/vnd.dolby.mps":{"source":"iana"},"audio/vnd.dolby.pl2":{"source":"iana"},"audio/vnd.dolby.pl2x":{"source":"iana"},"audio/vnd.dolby.pl2z":{"source":"iana"},"audio/vnd.dolby.pulse.1":{"source":"iana"},"audio/vnd.dra":{"source":"iana","extensions":["dra"]},"audio/vnd.dts":{"source":"iana","extensions":["dts"]},"audio/vnd.dts.hd":{"source":"iana","extensions":["dtshd"]},"audio/vnd.dts.uhd":{"source":"iana"},"audio/vnd.dvb.file":{"source":"iana"},"audio/vnd.everad.plj":{"source":"iana"},"audio/vnd.hns.audio":{"source":"iana"},"audio/vnd.lucent.voice":{"source":"iana","extensions":["lvp"]},"audio/vnd.ms-playready.media.pya":{"source":"iana","extensions":["pya"]},"audio/vnd.nokia.mobile-xmf":{"source":"iana"},"audio/vnd.nortel.vbk":{"source":"iana"},"audio/vnd.nuera.ecelp4800":{"source":"iana","extensions":["ecelp4800"]},"audio/vnd.nuera.ecelp7470":{"source":"iana","extensions":["ecelp7470"]},"audio/vnd.nuera.ecelp9600":{"source":"iana","extensions":["ecelp9600"]},"audio/vnd.octel.sbc":{"source":"iana"},"audio/vnd.presonus.multitrack":{"source":"iana"},"audio/vnd.qcelp":{"source":"iana"},"audio/vnd.rhetorex.32kadpcm":{"source":"iana"},"audio/vnd.rip":{"source":"iana","extensions":["rip"]},"audio/vnd.rn-realaudio":{"compressible":false},"audio/vnd.sealedmedia.softseal.mpeg":{"source":"iana"},"audio/vnd.vmx.cvsd":{"source":"iana"},"audio/vnd.wave":{"compressible":false},"audio/vorbis":{"source":"iana","compressible":false},"audio/vorbis-config":{"source":"iana"},"audio/wav":{"compressible":false,"extensions":["wav"]},"audio/wave":{"compressible":false,"extensions":["wav"]},"audio/webm":{"source":"apache","compressible":false,"extensions":["weba"]},"audio/x-aac":{"source":"apache","compressible":false,"extensions":["aac"]},"audio/x-aiff":{"source":"apache","extensions":["aif","aiff","aifc"]},"audio/x-caf":{"source":"apache","compressible":false,"extensions":["caf"]},"audio/x-flac":{"source":"apache","extensions":["flac"]},"audio/x-m4a":{"source":"nginx","extensions":["m4a"]},"audio/x-matroska":{"source":"apache","extensions":["mka"]},"audio/x-mpegurl":{"source":"apache","extensions":["m3u"]},"audio/x-ms-wax":{"source":"apache","extensions":["wax"]},"audio/x-ms-wma":{"source":"apache","extensions":["wma"]},"audio/x-pn-realaudio":{"source":"apache","extensions":["ram","ra"]},"audio/x-pn-realaudio-plugin":{"source":"apache","extensions":["rmp"]},"audio/x-realaudio":{"source":"nginx","extensions":["ra"]},"audio/x-tta":{"source":"apache"},"audio/x-wav":{"source":"apache","extensions":["wav"]},"audio/xm":{"source":"apache","extensions":["xm"]},"chemical/x-cdx":{"source":"apache","extensions":["cdx"]},"chemical/x-cif":{"source":"apache","extensions":["cif"]},"chemical/x-cmdf":{"source":"apache","extensions":["cmdf"]},"chemical/x-cml":{"source":"apache","extensions":["cml"]},"chemical/x-csml":{"source":"apache","extensions":["csml"]},"chemical/x-pdb":{"source":"apache"},"chemical/x-xyz":{"source":"apache","extensions":["xyz"]},"font/collection":{"source":"iana","extensions":["ttc"]},"font/otf":{"source":"iana","compressible":true,"extensions":["otf"]},"font/sfnt":{"source":"iana"},"font/ttf":{"source":"iana","compressible":true,"extensions":["ttf"]},"font/woff":{"source":"iana","extensions":["woff"]},"font/woff2":{"source":"iana","extensions":["woff2"]},"image/aces":{"source":"iana","extensions":["exr"]},"image/apng":{"compressible":false,"extensions":["apng"]},"image/avci":{"source":"iana"},"image/avcs":{"source":"iana"},"image/avif":{"source":"iana","compressible":false,"extensions":["avif"]},"image/bmp":{"source":"iana","compressible":true,"extensions":["bmp"]},"image/cgm":{"source":"iana","extensions":["cgm"]},"image/dicom-rle":{"source":"iana","extensions":["drle"]},"image/emf":{"source":"iana","extensions":["emf"]},"image/fits":{"source":"iana","extensions":["fits"]},"image/g3fax":{"source":"iana","extensions":["g3"]},"image/gif":{"source":"iana","compressible":false,"extensions":["gif"]},"image/heic":{"source":"iana","extensions":["heic"]},"image/heic-sequence":{"source":"iana","extensions":["heics"]},"image/heif":{"source":"iana","extensions":["heif"]},"image/heif-sequence":{"source":"iana","extensions":["heifs"]},"image/hej2k":{"source":"iana","extensions":["hej2"]},"image/hsj2":{"source":"iana","extensions":["hsj2"]},"image/ief":{"source":"iana","extensions":["ief"]},"image/jls":{"source":"iana","extensions":["jls"]},"image/jp2":{"source":"iana","compressible":false,"extensions":["jp2","jpg2"]},"image/jpeg":{"source":"iana","compressible":false,"extensions":["jpeg","jpg","jpe"]},"image/jph":{"source":"iana","extensions":["jph"]},"image/jphc":{"source":"iana","extensions":["jhc"]},"image/jpm":{"source":"iana","compressible":false,"extensions":["jpm"]},"image/jpx":{"source":"iana","compressible":false,"extensions":["jpx","jpf"]},"image/jxr":{"source":"iana","extensions":["jxr"]},"image/jxra":{"source":"iana","extensions":["jxra"]},"image/jxrs":{"source":"iana","extensions":["jxrs"]},"image/jxs":{"source":"iana","extensions":["jxs"]},"image/jxsc":{"source":"iana","extensions":["jxsc"]},"image/jxsi":{"source":"iana","extensions":["jxsi"]},"image/jxss":{"source":"iana","extensions":["jxss"]},"image/ktx":{"source":"iana","extensions":["ktx"]},"image/ktx2":{"source":"iana","extensions":["ktx2"]},"image/naplps":{"source":"iana"},"image/pjpeg":{"compressible":false},"image/png":{"source":"iana","compressible":false,"extensions":["png"]},"image/prs.btif":{"source":"iana","extensions":["btif"]},"image/prs.pti":{"source":"iana","extensions":["pti"]},"image/pwg-raster":{"source":"iana"},"image/sgi":{"source":"apache","extensions":["sgi"]},"image/svg+xml":{"source":"iana","compressible":true,"extensions":["svg","svgz"]},"image/t38":{"source":"iana","extensions":["t38"]},"image/tiff":{"source":"iana","compressible":false,"extensions":["tif","tiff"]},"image/tiff-fx":{"source":"iana","extensions":["tfx"]},"image/vnd.adobe.photoshop":{"source":"iana","compressible":true,"extensions":["psd"]},"image/vnd.airzip.accelerator.azv":{"source":"iana","extensions":["azv"]},"image/vnd.cns.inf2":{"source":"iana"},"image/vnd.dece.graphic":{"source":"iana","extensions":["uvi","uvvi","uvg","uvvg"]},"image/vnd.djvu":{"source":"iana","extensions":["djvu","djv"]},"image/vnd.dvb.subtitle":{"source":"iana","extensions":["sub"]},"image/vnd.dwg":{"source":"iana","extensions":["dwg"]},"image/vnd.dxf":{"source":"iana","extensions":["dxf"]},"image/vnd.fastbidsheet":{"source":"iana","extensions":["fbs"]},"image/vnd.fpx":{"source":"iana","extensions":["fpx"]},"image/vnd.fst":{"source":"iana","extensions":["fst"]},"image/vnd.fujixerox.edmics-mmr":{"source":"iana","extensions":["mmr"]},"image/vnd.fujixerox.edmics-rlc":{"source":"iana","extensions":["rlc"]},"image/vnd.globalgraphics.pgb":{"source":"iana"},"image/vnd.microsoft.icon":{"source":"iana","extensions":["ico"]},"image/vnd.mix":{"source":"iana"},"image/vnd.mozilla.apng":{"source":"iana"},"image/vnd.ms-dds":{"extensions":["dds"]},"image/vnd.ms-modi":{"source":"iana","extensions":["mdi"]},"image/vnd.ms-photo":{"source":"apache","extensions":["wdp"]},"image/vnd.net-fpx":{"source":"iana","extensions":["npx"]},"image/vnd.pco.b16":{"source":"iana","extensions":["b16"]},"image/vnd.radiance":{"source":"iana"},"image/vnd.sealed.png":{"source":"iana"},"image/vnd.sealedmedia.softseal.gif":{"source":"iana"},"image/vnd.sealedmedia.softseal.jpg":{"source":"iana"},"image/vnd.svf":{"source":"iana"},"image/vnd.tencent.tap":{"source":"iana","extensions":["tap"]},"image/vnd.valve.source.texture":{"source":"iana","extensions":["vtf"]},"image/vnd.wap.wbmp":{"source":"iana","extensions":["wbmp"]},"image/vnd.xiff":{"source":"iana","extensions":["xif"]},"image/vnd.zbrush.pcx":{"source":"iana","extensions":["pcx"]},"image/webp":{"source":"apache","extensions":["webp"]},"image/wmf":{"source":"iana","extensions":["wmf"]},"image/x-3ds":{"source":"apache","extensions":["3ds"]},"image/x-cmu-raster":{"source":"apache","extensions":["ras"]},"image/x-cmx":{"source":"apache","extensions":["cmx"]},"image/x-freehand":{"source":"apache","extensions":["fh","fhc","fh4","fh5","fh7"]},"image/x-icon":{"source":"apache","compressible":true,"extensions":["ico"]},"image/x-jng":{"source":"nginx","extensions":["jng"]},"image/x-mrsid-image":{"source":"apache","extensions":["sid"]},"image/x-ms-bmp":{"source":"nginx","compressible":true,"extensions":["bmp"]},"image/x-pcx":{"source":"apache","extensions":["pcx"]},"image/x-pict":{"source":"apache","extensions":["pic","pct"]},"image/x-portable-anymap":{"source":"apache","extensions":["pnm"]},"image/x-portable-bitmap":{"source":"apache","extensions":["pbm"]},"image/x-portable-graymap":{"source":"apache","extensions":["pgm"]},"image/x-portable-pixmap":{"source":"apache","extensions":["ppm"]},"image/x-rgb":{"source":"apache","extensions":["rgb"]},"image/x-tga":{"source":"apache","extensions":["tga"]},"image/x-xbitmap":{"source":"apache","extensions":["xbm"]},"image/x-xcf":{"compressible":false},"image/x-xpixmap":{"source":"apache","extensions":["xpm"]},"image/x-xwindowdump":{"source":"apache","extensions":["xwd"]},"message/cpim":{"source":"iana"},"message/delivery-status":{"source":"iana"},"message/disposition-notification":{"source":"iana","extensions":["disposition-notification"]},"message/external-body":{"source":"iana"},"message/feedback-report":{"source":"iana"},"message/global":{"source":"iana","extensions":["u8msg"]},"message/global-delivery-status":{"source":"iana","extensions":["u8dsn"]},"message/global-disposition-notification":{"source":"iana","extensions":["u8mdn"]},"message/global-headers":{"source":"iana","extensions":["u8hdr"]},"message/http":{"source":"iana","compressible":false},"message/imdn+xml":{"source":"iana","compressible":true},"message/news":{"source":"iana"},"message/partial":{"source":"iana","compressible":false},"message/rfc822":{"source":"iana","compressible":true,"extensions":["eml","mime"]},"message/s-http":{"source":"iana"},"message/sip":{"source":"iana"},"message/sipfrag":{"source":"iana"},"message/tracking-status":{"source":"iana"},"message/vnd.si.simp":{"source":"iana"},"message/vnd.wfa.wsc":{"source":"iana","extensions":["wsc"]},"model/3mf":{"source":"iana","extensions":["3mf"]},"model/e57":{"source":"iana"},"model/gltf+json":{"source":"iana","compressible":true,"extensions":["gltf"]},"model/gltf-binary":{"source":"iana","compressible":true,"extensions":["glb"]},"model/iges":{"source":"iana","compressible":false,"extensions":["igs","iges"]},"model/mesh":{"source":"iana","compressible":false,"extensions":["msh","mesh","silo"]},"model/mtl":{"source":"iana","extensions":["mtl"]},"model/obj":{"source":"iana","extensions":["obj"]},"model/stl":{"source":"iana","extensions":["stl"]},"model/vnd.collada+xml":{"source":"iana","compressible":true,"extensions":["dae"]},"model/vnd.dwf":{"source":"iana","extensions":["dwf"]},"model/vnd.flatland.3dml":{"source":"iana"},"model/vnd.gdl":{"source":"iana","extensions":["gdl"]},"model/vnd.gs-gdl":{"source":"apache"},"model/vnd.gs.gdl":{"source":"iana"},"model/vnd.gtw":{"source":"iana","extensions":["gtw"]},"model/vnd.moml+xml":{"source":"iana","compressible":true},"model/vnd.mts":{"source":"iana","extensions":["mts"]},"model/vnd.opengex":{"source":"iana","extensions":["ogex"]},"model/vnd.parasolid.transmit.binary":{"source":"iana","extensions":["x_b"]},"model/vnd.parasolid.transmit.text":{"source":"iana","extensions":["x_t"]},"model/vnd.rosette.annotated-data-model":{"source":"iana"},"model/vnd.usdz+zip":{"source":"iana","compressible":false,"extensions":["usdz"]},"model/vnd.valve.source.compiled-map":{"source":"iana","extensions":["bsp"]},"model/vnd.vtu":{"source":"iana","extensions":["vtu"]},"model/vrml":{"source":"iana","compressible":false,"extensions":["wrl","vrml"]},"model/x3d+binary":{"source":"apache","compressible":false,"extensions":["x3db","x3dbz"]},"model/x3d+fastinfoset":{"source":"iana","extensions":["x3db"]},"model/x3d+vrml":{"source":"apache","compressible":false,"extensions":["x3dv","x3dvz"]},"model/x3d+xml":{"source":"iana","compressible":true,"extensions":["x3d","x3dz"]},"model/x3d-vrml":{"source":"iana","extensions":["x3dv"]},"multipart/alternative":{"source":"iana","compressible":false},"multipart/appledouble":{"source":"iana"},"multipart/byteranges":{"source":"iana"},"multipart/digest":{"source":"iana"},"multipart/encrypted":{"source":"iana","compressible":false},"multipart/form-data":{"source":"iana","compressible":false},"multipart/header-set":{"source":"iana"},"multipart/mixed":{"source":"iana"},"multipart/multilingual":{"source":"iana"},"multipart/parallel":{"source":"iana"},"multipart/related":{"source":"iana","compressible":false},"multipart/report":{"source":"iana"},"multipart/signed":{"source":"iana","compressible":false},"multipart/vnd.bint.med-plus":{"source":"iana"},"multipart/voice-message":{"source":"iana"},"multipart/x-mixed-replace":{"source":"iana"},"text/1d-interleaved-parityfec":{"source":"iana"},"text/cache-manifest":{"source":"iana","compressible":true,"extensions":["appcache","manifest"]},"text/calendar":{"source":"iana","extensions":["ics","ifb"]},"text/calender":{"compressible":true},"text/cmd":{"compressible":true},"text/coffeescript":{"extensions":["coffee","litcoffee"]},"text/cql":{"source":"iana"},"text/cql-expression":{"source":"iana"},"text/cql-identifier":{"source":"iana"},"text/css":{"source":"iana","charset":"UTF-8","compressible":true,"extensions":["css"]},"text/csv":{"source":"iana","compressible":true,"extensions":["csv"]},"text/csv-schema":{"source":"iana"},"text/directory":{"source":"iana"},"text/dns":{"source":"iana"},"text/ecmascript":{"source":"iana"},"text/encaprtp":{"source":"iana"},"text/enriched":{"source":"iana"},"text/fhirpath":{"source":"iana"},"text/flexfec":{"source":"iana"},"text/fwdred":{"source":"iana"},"text/gff3":{"source":"iana"},"text/grammar-ref-list":{"source":"iana"},"text/html":{"source":"iana","compressible":true,"extensions":["html","htm","shtml"]},"text/jade":{"extensions":["jade"]},"text/javascript":{"source":"iana","compressible":true},"text/jcr-cnd":{"source":"iana"},"text/jsx":{"compressible":true,"extensions":["jsx"]},"text/less":{"compressible":true,"extensions":["less"]},"text/markdown":{"source":"iana","compressible":true,"extensions":["markdown","md"]},"text/mathml":{"source":"nginx","extensions":["mml"]},"text/mdx":{"compressible":true,"extensions":["mdx"]},"text/mizar":{"source":"iana"},"text/n3":{"source":"iana","charset":"UTF-8","compressible":true,"extensions":["n3"]},"text/parameters":{"source":"iana","charset":"UTF-8"},"text/parityfec":{"source":"iana"},"text/plain":{"source":"iana","compressible":true,"extensions":["txt","text","conf","def","list","log","in","ini"]},"text/provenance-notation":{"source":"iana","charset":"UTF-8"},"text/prs.fallenstein.rst":{"source":"iana"},"text/prs.lines.tag":{"source":"iana","extensions":["dsc"]},"text/prs.prop.logic":{"source":"iana"},"text/raptorfec":{"source":"iana"},"text/red":{"source":"iana"},"text/rfc822-headers":{"source":"iana"},"text/richtext":{"source":"iana","compressible":true,"extensions":["rtx"]},"text/rtf":{"source":"iana","compressible":true,"extensions":["rtf"]},"text/rtp-enc-aescm128":{"source":"iana"},"text/rtploopback":{"source":"iana"},"text/rtx":{"source":"iana"},"text/sgml":{"source":"iana","extensions":["sgml","sgm"]},"text/shaclc":{"source":"iana"},"text/shex":{"extensions":["shex"]},"text/slim":{"extensions":["slim","slm"]},"text/spdx":{"source":"iana","extensions":["spdx"]},"text/strings":{"source":"iana"},"text/stylus":{"extensions":["stylus","styl"]},"text/t140":{"source":"iana"},"text/tab-separated-values":{"source":"iana","compressible":true,"extensions":["tsv"]},"text/troff":{"source":"iana","extensions":["t","tr","roff","man","me","ms"]},"text/turtle":{"source":"iana","charset":"UTF-8","extensions":["ttl"]},"text/ulpfec":{"source":"iana"},"text/uri-list":{"source":"iana","compressible":true,"extensions":["uri","uris","urls"]},"text/vcard":{"source":"iana","compressible":true,"extensions":["vcard"]},"text/vnd.a":{"source":"iana"},"text/vnd.abc":{"source":"iana"},"text/vnd.ascii-art":{"source":"iana"},"text/vnd.curl":{"source":"iana","extensions":["curl"]},"text/vnd.curl.dcurl":{"source":"apache","extensions":["dcurl"]},"text/vnd.curl.mcurl":{"source":"apache","extensions":["mcurl"]},"text/vnd.curl.scurl":{"source":"apache","extensions":["scurl"]},"text/vnd.debian.copyright":{"source":"iana","charset":"UTF-8"},"text/vnd.dmclientscript":{"source":"iana"},"text/vnd.dvb.subtitle":{"source":"iana","extensions":["sub"]},"text/vnd.esmertec.theme-descriptor":{"source":"iana","charset":"UTF-8"},"text/vnd.ficlab.flt":{"source":"iana"},"text/vnd.fly":{"source":"iana","extensions":["fly"]},"text/vnd.fmi.flexstor":{"source":"iana","extensions":["flx"]},"text/vnd.gml":{"source":"iana"},"text/vnd.graphviz":{"source":"iana","extensions":["gv"]},"text/vnd.hans":{"source":"iana"},"text/vnd.hgl":{"source":"iana"},"text/vnd.in3d.3dml":{"source":"iana","extensions":["3dml"]},"text/vnd.in3d.spot":{"source":"iana","extensions":["spot"]},"text/vnd.iptc.newsml":{"source":"iana"},"text/vnd.iptc.nitf":{"source":"iana"},"text/vnd.latex-z":{"source":"iana"},"text/vnd.motorola.reflex":{"source":"iana"},"text/vnd.ms-mediapackage":{"source":"iana"},"text/vnd.net2phone.commcenter.command":{"source":"iana"},"text/vnd.radisys.msml-basic-layout":{"source":"iana"},"text/vnd.senx.warpscript":{"source":"iana"},"text/vnd.si.uricatalogue":{"source":"iana"},"text/vnd.sosi":{"source":"iana"},"text/vnd.sun.j2me.app-descriptor":{"source":"iana","charset":"UTF-8","extensions":["jad"]},"text/vnd.trolltech.linguist":{"source":"iana","charset":"UTF-8"},"text/vnd.wap.si":{"source":"iana"},"text/vnd.wap.sl":{"source":"iana"},"text/vnd.wap.wml":{"source":"iana","extensions":["wml"]},"text/vnd.wap.wmlscript":{"source":"iana","extensions":["wmls"]},"text/vtt":{"source":"iana","charset":"UTF-8","compressible":true,"extensions":["vtt"]},"text/x-asm":{"source":"apache","extensions":["s","asm"]},"text/x-c":{"source":"apache","extensions":["c","cc","cxx","cpp","h","hh","dic"]},"text/x-component":{"source":"nginx","extensions":["htc"]},"text/x-fortran":{"source":"apache","extensions":["f","for","f77","f90"]},"text/x-gwt-rpc":{"compressible":true},"text/x-handlebars-template":{"extensions":["hbs"]},"text/x-java-source":{"source":"apache","extensions":["java"]},"text/x-jquery-tmpl":{"compressible":true},"text/x-lua":{"extensions":["lua"]},"text/x-markdown":{"compressible":true,"extensions":["mkd"]},"text/x-nfo":{"source":"apache","extensions":["nfo"]},"text/x-opml":{"source":"apache","extensions":["opml"]},"text/x-org":{"compressible":true,"extensions":["org"]},"text/x-pascal":{"source":"apache","extensions":["p","pas"]},"text/x-processing":{"compressible":true,"extensions":["pde"]},"text/x-sass":{"extensions":["sass"]},"text/x-scss":{"extensions":["scss"]},"text/x-setext":{"source":"apache","extensions":["etx"]},"text/x-sfv":{"source":"apache","extensions":["sfv"]},"text/x-suse-ymp":{"compressible":true,"extensions":["ymp"]},"text/x-uuencode":{"source":"apache","extensions":["uu"]},"text/x-vcalendar":{"source":"apache","extensions":["vcs"]},"text/x-vcard":{"source":"apache","extensions":["vcf"]},"text/xml":{"source":"iana","compressible":true,"extensions":["xml"]},"text/xml-external-parsed-entity":{"source":"iana"},"text/yaml":{"extensions":["yaml","yml"]},"video/1d-interleaved-parityfec":{"source":"iana"},"video/3gpp":{"source":"iana","extensions":["3gp","3gpp"]},"video/3gpp-tt":{"source":"iana"},"video/3gpp2":{"source":"iana","extensions":["3g2"]},"video/av1":{"source":"iana"},"video/bmpeg":{"source":"iana"},"video/bt656":{"source":"iana"},"video/celb":{"source":"iana"},"video/dv":{"source":"iana"},"video/encaprtp":{"source":"iana"},"video/flexfec":{"source":"iana"},"video/h261":{"source":"iana","extensions":["h261"]},"video/h263":{"source":"iana","extensions":["h263"]},"video/h263-1998":{"source":"iana"},"video/h263-2000":{"source":"iana"},"video/h264":{"source":"iana","extensions":["h264"]},"video/h264-rcdo":{"source":"iana"},"video/h264-svc":{"source":"iana"},"video/h265":{"source":"iana"},"video/iso.segment":{"source":"iana","extensions":["m4s"]},"video/jpeg":{"source":"iana","extensions":["jpgv"]},"video/jpeg2000":{"source":"iana"},"video/jpm":{"source":"apache","extensions":["jpm","jpgm"]},"video/mj2":{"source":"iana","extensions":["mj2","mjp2"]},"video/mp1s":{"source":"iana"},"video/mp2p":{"source":"iana"},"video/mp2t":{"source":"iana","extensions":["ts"]},"video/mp4":{"source":"iana","compressible":false,"extensions":["mp4","mp4v","mpg4"]},"video/mp4v-es":{"source":"iana"},"video/mpeg":{"source":"iana","compressible":false,"extensions":["mpeg","mpg","mpe","m1v","m2v"]},"video/mpeg4-generic":{"source":"iana"},"video/mpv":{"source":"iana"},"video/nv":{"source":"iana"},"video/ogg":{"source":"iana","compressible":false,"extensions":["ogv"]},"video/parityfec":{"source":"iana"},"video/pointer":{"source":"iana"},"video/quicktime":{"source":"iana","compressible":false,"extensions":["qt","mov"]},"video/raptorfec":{"source":"iana"},"video/raw":{"source":"iana"},"video/rtp-enc-aescm128":{"source":"iana"},"video/rtploopback":{"source":"iana"},"video/rtx":{"source":"iana"},"video/scip":{"source":"iana"},"video/smpte291":{"source":"iana"},"video/smpte292m":{"source":"iana"},"video/ulpfec":{"source":"iana"},"video/vc1":{"source":"iana"},"video/vc2":{"source":"iana"},"video/vnd.cctv":{"source":"iana"},"video/vnd.dece.hd":{"source":"iana","extensions":["uvh","uvvh"]},"video/vnd.dece.mobile":{"source":"iana","extensions":["uvm","uvvm"]},"video/vnd.dece.mp4":{"source":"iana"},"video/vnd.dece.pd":{"source":"iana","extensions":["uvp","uvvp"]},"video/vnd.dece.sd":{"source":"iana","extensions":["uvs","uvvs"]},"video/vnd.dece.video":{"source":"iana","extensions":["uvv","uvvv"]},"video/vnd.directv.mpeg":{"source":"iana"},"video/vnd.directv.mpeg-tts":{"source":"iana"},"video/vnd.dlna.mpeg-tts":{"source":"iana"},"video/vnd.dvb.file":{"source":"iana","extensions":["dvb"]},"video/vnd.fvt":{"source":"iana","extensions":["fvt"]},"video/vnd.hns.video":{"source":"iana"},"video/vnd.iptvforum.1dparityfec-1010":{"source":"iana"},"video/vnd.iptvforum.1dparityfec-2005":{"source":"iana"},"video/vnd.iptvforum.2dparityfec-1010":{"source":"iana"},"video/vnd.iptvforum.2dparityfec-2005":{"source":"iana"},"video/vnd.iptvforum.ttsavc":{"source":"iana"},"video/vnd.iptvforum.ttsmpeg2":{"source":"iana"},"video/vnd.motorola.video":{"source":"iana"},"video/vnd.motorola.videop":{"source":"iana"},"video/vnd.mpegurl":{"source":"iana","extensions":["mxu","m4u"]},"video/vnd.ms-playready.media.pyv":{"source":"iana","extensions":["pyv"]},"video/vnd.nokia.interleaved-multimedia":{"source":"iana"},"video/vnd.nokia.mp4vr":{"source":"iana"},"video/vnd.nokia.videovoip":{"source":"iana"},"video/vnd.objectvideo":{"source":"iana"},"video/vnd.radgamettools.bink":{"source":"iana"},"video/vnd.radgamettools.smacker":{"source":"iana"},"video/vnd.sealed.mpeg1":{"source":"iana"},"video/vnd.sealed.mpeg4":{"source":"iana"},"video/vnd.sealed.swf":{"source":"iana"},"video/vnd.sealedmedia.softseal.mov":{"source":"iana"},"video/vnd.uvvu.mp4":{"source":"iana","extensions":["uvu","uvvu"]},"video/vnd.vivo":{"source":"iana","extensions":["viv"]},"video/vnd.youtube.yt":{"source":"iana"},"video/vp8":{"source":"iana"},"video/webm":{"source":"apache","compressible":false,"extensions":["webm"]},"video/x-f4v":{"source":"apache","extensions":["f4v"]},"video/x-fli":{"source":"apache","extensions":["fli"]},"video/x-flv":{"source":"apache","compressible":false,"extensions":["flv"]},"video/x-m4v":{"source":"apache","extensions":["m4v"]},"video/x-matroska":{"source":"apache","compressible":false,"extensions":["mkv","mk3d","mks"]},"video/x-mng":{"source":"apache","extensions":["mng"]},"video/x-ms-asf":{"source":"apache","extensions":["asf","asx"]},"video/x-ms-vob":{"source":"apache","extensions":["vob"]},"video/x-ms-wm":{"source":"apache","extensions":["wm"]},"video/x-ms-wmv":{"source":"apache","compressible":false,"extensions":["wmv"]},"video/x-ms-wmx":{"source":"apache","extensions":["wmx"]},"video/x-ms-wvx":{"source":"apache","extensions":["wvx"]},"video/x-msvideo":{"source":"apache","extensions":["avi"]},"video/x-sgi-movie":{"source":"apache","extensions":["movie"]},"video/x-smv":{"source":"apache","extensions":["smv"]},"x-conference/x-cooltalk":{"source":"apache","extensions":["ice"]},"x-shader/x-fragment":{"compressible":true},"x-shader/x-vertex":{"compressible":true}}')},83835:E=>{"use strict";E.exports=JSON.parse('[{"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":"iojs","version":"1.0.0","date":"2015-01-14"},{"name":"iojs","version":"1.1.0","date":"2015-02-03"},{"name":"iojs","version":"1.2.0","date":"2015-02-11"},{"name":"iojs","version":"1.3.0","date":"2015-02-20"},{"name":"iojs","version":"1.5.0","date":"2015-03-06"},{"name":"iojs","version":"1.6.0","date":"2015-03-20"},{"name":"iojs","version":"2.0.0","date":"2015-05-04"},{"name":"iojs","version":"2.1.0","date":"2015-05-24"},{"name":"iojs","version":"2.2.0","date":"2015-06-01"},{"name":"iojs","version":"2.3.0","date":"2015-06-13"},{"name":"iojs","version":"2.4.0","date":"2015-07-17"},{"name":"iojs","version":"2.5.0","date":"2015-07-28"},{"name":"iojs","version":"3.0.0","date":"2015-08-04"},{"name":"iojs","version":"3.1.0","date":"2015-08-19"},{"name":"iojs","version":"3.2.0","date":"2015-08-25"},{"name":"iojs","version":"3.3.0","date":"2015-09-02"},{"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":"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":"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}]')},85659:E=>{"use strict";E.exports=JSON.parse('{"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":"2024-04-30","codename":""}}')},5537:E=>{"use strict";E.exports=JSON.parse('{"assert":true,"assert/strict":">= 15","async_hooks":">= 8","buffer_ieee754":"< 0.9.7","buffer":true,"child_process":true,"cluster":true,"console":true,"constants":true,"crypto":true,"_debug_agent":">= 1 && < 8","_debugger":"< 8","dgram":true,"diagnostics_channel":">= 15.1","dns":true,"dns/promises":">= 15","domain":">= 0.7.12","events":true,"freelist":"< 6","fs":true,"fs/promises":[">= 10 && < 10.1",">= 14"],"_http_agent":">= 0.11.1","_http_client":">= 0.11.1","_http_common":">= 0.11.1","_http_incoming":">= 0.11.1","_http_outgoing":">= 0.11.1","_http_server":">= 0.11.1","http":true,"http2":">= 8.8","https":true,"inspector":">= 8.0.0","_linklist":"< 8","module":true,"net":true,"node-inspect/lib/_inspect":">= 7.6.0 && < 12","node-inspect/lib/internal/inspect_client":">= 7.6.0 && < 12","node-inspect/lib/internal/inspect_repl":">= 7.6.0 && < 12","os":true,"path":true,"path/posix":">= 15.3","path/win32":">= 15.3","perf_hooks":">= 8.5","process":">= 1","punycode":true,"querystring":true,"readline":true,"repl":true,"smalloc":">= 0.11.5 && < 3","_stream_duplex":">= 0.9.4","_stream_transform":">= 0.9.4","_stream_wrap":">= 1.4.1","_stream_passthrough":">= 0.9.4","_stream_readable":">= 0.9.4","_stream_writable":">= 0.9.4","stream":true,"stream/promises":">= 15","string_decoder":true,"sys":[">= 0.6 && < 0.7",">= 0.8"],"timers":true,"timers/promises":">= 15","_tls_common":">= 0.11.13","_tls_legacy":">= 0.11.3 && < 10","_tls_wrap":">= 0.11.3","tls":true,"trace_events":">= 10","tty":true,"url":true,"util":true,"util/types":">= 15.3","v8/tools/arguments":">= 10 && < 12","v8/tools/codemap":[">= 4.4.0 && < 5",">= 5.2.0 && < 12"],"v8/tools/consarray":[">= 4.4.0 && < 5",">= 5.2.0 && < 12"],"v8/tools/csvparser":[">= 4.4.0 && < 5",">= 5.2.0 && < 12"],"v8/tools/logreader":[">= 4.4.0 && < 5",">= 5.2.0 && < 12"],"v8/tools/profile_view":[">= 4.4.0 && < 5",">= 5.2.0 && < 12"],"v8/tools/splaytree":[">= 4.4.0 && < 5",">= 5.2.0 && < 12"],"v8":">= 1","vm":true,"wasi":">= 13.4 && < 13.5","worker_threads":">= 11.7","zlib":true}')},26068:E=>{"use strict";E.exports=JSON.parse('{"definitions":{"Rule":{"description":"Filtering rule as regex or string.","anyOf":[{"instanceof":"RegExp","tsType":"RegExp"},{"type":"string","minLength":1}]},"Rules":{"description":"Filtering rules.","anyOf":[{"type":"array","items":{"description":"A rule condition.","oneOf":[{"$ref":"#/definitions/Rule"}]}},{"$ref":"#/definitions/Rule"}]}},"title":"TerserPluginOptions","type":"object","additionalProperties":false,"properties":{"test":{"description":"Include all modules that pass test assertion.","oneOf":[{"$ref":"#/definitions/Rules"}]},"include":{"description":"Include all modules matching any of these conditions.","oneOf":[{"$ref":"#/definitions/Rules"}]},"exclude":{"description":"Exclude all modules matching any of these conditions.","oneOf":[{"$ref":"#/definitions/Rules"}]},"terserOptions":{"description":"Options for `terser`.","additionalProperties":true,"type":"object"},"extractComments":{"description":"Whether comments shall be extracted to a separate file.","anyOf":[{"type":"boolean"},{"type":"string","minLength":1},{"instanceof":"RegExp"},{"instanceof":"Function"},{"additionalProperties":false,"properties":{"condition":{"anyOf":[{"type":"boolean"},{"type":"string","minLength":1},{"instanceof":"RegExp"},{"instanceof":"Function"}]},"filename":{"anyOf":[{"type":"string","minLength":1},{"instanceof":"Function"}]},"banner":{"anyOf":[{"type":"boolean"},{"type":"string","minLength":1},{"instanceof":"Function"}]}},"type":"object"}]},"parallel":{"description":"Use multi-process parallel running to improve the build speed.","anyOf":[{"type":"boolean"},{"type":"integer"}]},"minify":{"description":"Allows you to override default minify function.","instanceof":"Function"}}}')},47667:E=>{"use strict";E.exports=JSON.parse('{"name":"terser","description":"JavaScript parser, mangler/compressor and beautifier toolkit for ES6+","homepage":"https://terser.org","author":"Mihai Bazon (http://lisperator.net/)","license":"BSD-2-Clause","version":"5.7.1","engines":{"node":">=10"},"maintainers":["Fábio Santos "],"repository":"https://github.com/terser/terser","main":"dist/bundle.min.js","type":"module","module":"./main.js","exports":{".":[{"import":"./main.js","require":"./dist/bundle.min.js"},"./dist/bundle.min.js"],"./package":"./package.json","./package.json":"./package.json","./bin/terser":"./bin/terser"},"types":"tools/terser.d.ts","bin":{"terser":"bin/terser"},"files":["bin","dist","lib","tools","LICENSE","README.md","CHANGELOG.md","PATRONS.md","main.js"],"dependencies":{"commander":"^2.20.0","source-map":"~0.7.2","source-map-support":"~0.5.19"},"devDependencies":{"@ls-lint/ls-lint":"^1.9.2","acorn":"^8.0.5","astring":"^1.6.2","eslint":"^7.19.0","eslump":"^2.0.0","esm":"^3.2.25","mocha":"^8.2.1","pre-commit":"^1.2.2","rimraf":"^3.0.2","rollup":"2.38.4","semver":"^7.3.4"},"scripts":{"test":"node test/compress.js && mocha test/mocha","test:compress":"node test/compress.js","test:mocha":"mocha test/mocha","lint":"eslint lib","lint-fix":"eslint --fix lib","ls-lint":"ls-lint","build":"rimraf dist/bundle* && rollup --config --silent","prepare":"npm run build","postversion":"echo \'Remember to update the changelog!\'"},"keywords":["uglify","terser","uglify-es","uglify-js","minify","minifier","javascript","ecmascript","es5","es6","es7","es8","es2015","es2016","es2017","async","await"],"eslintConfig":{"parserOptions":{"sourceType":"module","ecmaVersion":"2020"},"env":{"node":true,"browser":true,"es2020":true},"globals":{"describe":false,"it":false,"require":false,"global":false,"process":false},"rules":{"brace-style":["error","1tbs",{"allowSingleLine":true}],"quotes":["error","double","avoid-escape"],"no-debugger":"error","no-undef":"error","no-unused-vars":["error",{"varsIgnorePattern":"^_"}],"no-tabs":"error","semi":["error","always"],"no-extra-semi":"error","no-irregular-whitespace":"error","space-before-blocks":["error","always"]}},"pre-commit":["build","lint-fix","ls-lint","test"]}')},61733:E=>{"use strict";E.exports={i8:"5.44.0"}},76518:E=>{"use strict";E.exports=JSON.parse('{"definitions":{"Amd":{"description":"Set the value of `require.amd` and `define.amd`. Or disable AMD support.","anyOf":[{"description":"You can pass `false` to disable AMD support.","enum":[false]},{"description":"You can pass an object to set the value of `require.amd` and `define.amd`.","type":"object"}]},"AssetFilterItemTypes":{"description":"Filtering value, regexp or function.","cli":{"helper":true},"anyOf":[{"instanceof":"RegExp","tsType":"RegExp"},{"type":"string","absolutePath":false},{"instanceof":"Function","tsType":"((name: string, asset: import(\'../lib/stats/DefaultStatsFactoryPlugin\').StatsAsset) => boolean)"}]},"AssetFilterTypes":{"description":"Filtering modules.","cli":{"helper":true},"anyOf":[{"type":"array","items":{"description":"Rule to filter.","cli":{"helper":true},"oneOf":[{"$ref":"#/definitions/AssetFilterItemTypes"}]}},{"$ref":"#/definitions/AssetFilterItemTypes"}]},"AssetGeneratorDataUrl":{"description":"The options for data url generator.","anyOf":[{"$ref":"#/definitions/AssetGeneratorDataUrlOptions"},{"$ref":"#/definitions/AssetGeneratorDataUrlFunction"}]},"AssetGeneratorDataUrlFunction":{"description":"Function that executes for module and should return an DataUrl string.","instanceof":"Function","tsType":"((source: string | Buffer, context: { filename: string, module: import(\'../lib/Module\') }) => string)"},"AssetGeneratorDataUrlOptions":{"description":"Options object for data url generation.","type":"object","additionalProperties":false,"properties":{"encoding":{"description":"Asset encoding (defaults to base64).","enum":[false,"base64"]},"mimetype":{"description":"Asset mimetype (getting from file extension by default).","type":"string"}}},"AssetGeneratorOptions":{"description":"Generator options for asset modules.","type":"object","implements":["#/definitions/AssetInlineGeneratorOptions","#/definitions/AssetResourceGeneratorOptions"],"additionalProperties":false,"properties":{"dataUrl":{"$ref":"#/definitions/AssetGeneratorDataUrl"},"emit":{"description":"Emit an output asset from this asset module. This can be set to \'false\' to omit emitting e. g. for SSR.","type":"boolean"},"filename":{"$ref":"#/definitions/FilenameTemplate"},"publicPath":{"$ref":"#/definitions/RawPublicPath"}}},"AssetInlineGeneratorOptions":{"description":"Generator options for asset/inline modules.","type":"object","additionalProperties":false,"properties":{"dataUrl":{"$ref":"#/definitions/AssetGeneratorDataUrl"}}},"AssetModuleFilename":{"description":"The filename of asset modules as relative path inside the \'output.path\' directory.","anyOf":[{"type":"string","absolutePath":false},{"instanceof":"Function","tsType":"((pathData: import(\\"../lib/Compilation\\").PathData, assetInfo?: import(\\"../lib/Compilation\\").AssetInfo) => string)"}]},"AssetParserDataUrlFunction":{"description":"Function that executes for module and should return whenever asset should be inlined as DataUrl.","instanceof":"Function","tsType":"((source: string | Buffer, context: { filename: string, module: import(\'../lib/Module\') }) => boolean)"},"AssetParserDataUrlOptions":{"description":"Options object for DataUrl condition.","type":"object","additionalProperties":false,"properties":{"maxSize":{"description":"Maximum size of asset that should be inline as modules. Default: 8kb.","type":"number"}}},"AssetParserOptions":{"description":"Parser options for asset modules.","type":"object","additionalProperties":false,"properties":{"dataUrlCondition":{"description":"The condition for inlining the asset as DataUrl.","anyOf":[{"$ref":"#/definitions/AssetParserDataUrlOptions"},{"$ref":"#/definitions/AssetParserDataUrlFunction"}]}}},"AssetResourceGeneratorOptions":{"description":"Generator options for asset/resource modules.","type":"object","additionalProperties":false,"properties":{"emit":{"description":"Emit an output asset from this asset module. This can be set to \'false\' to omit emitting e. g. for SSR.","type":"boolean"},"filename":{"$ref":"#/definitions/FilenameTemplate"},"publicPath":{"$ref":"#/definitions/RawPublicPath"}}},"AuxiliaryComment":{"description":"Add a comment in the UMD wrapper.","anyOf":[{"description":"Append the same comment above each import style.","type":"string"},{"$ref":"#/definitions/LibraryCustomUmdCommentObject"}]},"Bail":{"description":"Report the first error as a hard error instead of tolerating it.","type":"boolean"},"CacheOptions":{"description":"Cache generated modules and chunks to improve performance for multiple incremental builds.","anyOf":[{"description":"Enable in memory caching.","enum":[true]},{"$ref":"#/definitions/CacheOptionsNormalized"}]},"CacheOptionsNormalized":{"description":"Cache generated modules and chunks to improve performance for multiple incremental builds.","anyOf":[{"description":"Disable caching.","enum":[false]},{"$ref":"#/definitions/MemoryCacheOptions"},{"$ref":"#/definitions/FileCacheOptions"}]},"Charset":{"description":"Add charset attribute for script tag.","type":"boolean"},"ChunkFilename":{"description":"Specifies the filename template of output files of non-initial chunks on disk. You must **not** specify an absolute path here, but the path may contain folders separated by \'/\'! The specified path is joined with the value of the \'output.path\' option to determine the location on disk.","oneOf":[{"$ref":"#/definitions/FilenameTemplate"}]},"ChunkFormat":{"description":"The format of chunks (formats included by default are \'array-push\' (web/WebWorker), \'commonjs\' (node.js), \'module\' (ESM), but others might be added by plugins).","anyOf":[{"enum":["array-push","commonjs","module",false]},{"type":"string"}]},"ChunkLoadTimeout":{"description":"Number of milliseconds before chunk request expires.","type":"number"},"ChunkLoading":{"description":"The method of loading chunks (methods included by default are \'jsonp\' (web), \'import\' (ESM), \'importScripts\' (WebWorker), \'require\' (sync node.js), \'async-node\' (async node.js), but others might be added by plugins).","anyOf":[{"enum":[false]},{"$ref":"#/definitions/ChunkLoadingType"}]},"ChunkLoadingGlobal":{"description":"The global variable used by webpack for loading of chunks.","type":"string"},"ChunkLoadingType":{"description":"The method of loading chunks (methods included by default are \'jsonp\' (web), \'import\' (ESM), \'importScripts\' (WebWorker), \'require\' (sync node.js), \'async-node\' (async node.js), but others might be added by plugins).","anyOf":[{"enum":["jsonp","import-scripts","require","async-node","import"]},{"type":"string"}]},"Clean":{"description":"Clean the output directory before emit.","anyOf":[{"type":"boolean"},{"$ref":"#/definitions/CleanOptions"}]},"CleanOptions":{"description":"Advanced options for cleaning assets.","type":"object","additionalProperties":false,"properties":{"dry":{"description":"Log the assets that should be removed instead of deleting them.","type":"boolean"},"keep":{"description":"Keep these assets.","anyOf":[{"instanceof":"RegExp","tsType":"RegExp"},{"type":"string","absolutePath":false},{"instanceof":"Function","tsType":"((filename: string) => boolean)"}]}}},"CompareBeforeEmit":{"description":"Check if to be emitted file already exists and have the same content before writing to output filesystem.","type":"boolean"},"Context":{"description":"The base directory (absolute path!) for resolving the `entry` option. If `output.pathinfo` is set, the included pathinfo is shortened to this directory.","type":"string","absolutePath":true},"CrossOriginLoading":{"description":"This option enables cross-origin loading of chunks.","enum":[false,"anonymous","use-credentials"]},"Dependencies":{"description":"References to other configurations to depend on.","type":"array","items":{"description":"References to another configuration to depend on.","type":"string"}},"DevServer":{"description":"Options for the webpack-dev-server.","type":"object"},"DevTool":{"description":"A developer tool to enhance debugging (false | eval | [inline-|hidden-|eval-][nosources-][cheap-[module-]]source-map).","anyOf":[{"enum":[false,"eval"]},{"type":"string","pattern":"^(inline-|hidden-|eval-)?(nosources-)?(cheap-(module-)?)?source-map$"}]},"DevtoolFallbackModuleFilenameTemplate":{"description":"Similar to `output.devtoolModuleFilenameTemplate`, but used in the case of duplicate module identifiers.","anyOf":[{"type":"string"},{"instanceof":"Function","tsType":"Function"}]},"DevtoolModuleFilenameTemplate":{"description":"Filename template string of function for the sources array in a generated SourceMap.","anyOf":[{"type":"string"},{"instanceof":"Function","tsType":"Function"}]},"DevtoolNamespace":{"description":"Module namespace to use when interpolating filename template string for the sources array in a generated SourceMap. Defaults to `output.library` if not set. It\'s useful for avoiding runtime collisions in sourcemaps from multiple webpack projects built as libraries.","type":"string"},"EmptyGeneratorOptions":{"description":"No generator options are supported for this module type.","type":"object","additionalProperties":false},"EmptyParserOptions":{"description":"No parser options are supported for this module type.","type":"object","additionalProperties":false},"EnabledChunkLoadingTypes":{"description":"List of chunk loading types enabled for use by entry points.","type":"array","items":{"$ref":"#/definitions/ChunkLoadingType"}},"EnabledLibraryTypes":{"description":"List of library types enabled for use by entry points.","type":"array","items":{"$ref":"#/definitions/LibraryType"}},"EnabledWasmLoadingTypes":{"description":"List of wasm loading types enabled for use by entry points.","type":"array","items":{"$ref":"#/definitions/WasmLoadingType"}},"Entry":{"description":"The entry point(s) of the compilation.","anyOf":[{"$ref":"#/definitions/EntryDynamic"},{"$ref":"#/definitions/EntryStatic"}]},"EntryDescription":{"description":"An object with entry point description.","type":"object","additionalProperties":false,"properties":{"chunkLoading":{"$ref":"#/definitions/ChunkLoading"},"dependOn":{"description":"The entrypoints that the current entrypoint depend on. They must be loaded when this entrypoint is loaded.","anyOf":[{"description":"The entrypoints that the current entrypoint depend on. They must be loaded when this entrypoint is loaded.","type":"array","items":{"description":"An entrypoint that the current entrypoint depend on. It must be loaded when this entrypoint is loaded.","type":"string","minLength":1},"minItems":1,"uniqueItems":true},{"description":"An entrypoint that the current entrypoint depend on. It must be loaded when this entrypoint is loaded.","type":"string","minLength":1}]},"filename":{"$ref":"#/definitions/EntryFilename"},"import":{"$ref":"#/definitions/EntryItem"},"layer":{"$ref":"#/definitions/Layer"},"library":{"$ref":"#/definitions/LibraryOptions"},"publicPath":{"$ref":"#/definitions/PublicPath"},"runtime":{"$ref":"#/definitions/EntryRuntime"},"wasmLoading":{"$ref":"#/definitions/WasmLoading"}},"required":["import"]},"EntryDescriptionNormalized":{"description":"An object with entry point description.","type":"object","additionalProperties":false,"properties":{"chunkLoading":{"$ref":"#/definitions/ChunkLoading"},"dependOn":{"description":"The entrypoints that the current entrypoint depend on. They must be loaded when this entrypoint is loaded.","type":"array","items":{"description":"An entrypoint that the current entrypoint depend on. It must be loaded when this entrypoint is loaded.","type":"string","minLength":1},"minItems":1,"uniqueItems":true},"filename":{"$ref":"#/definitions/Filename"},"import":{"description":"Module(s) that are loaded upon startup. The last one is exported.","type":"array","items":{"description":"Module that is loaded upon startup. Only the last one is exported.","type":"string","minLength":1},"minItems":1,"uniqueItems":true},"layer":{"$ref":"#/definitions/Layer"},"library":{"$ref":"#/definitions/LibraryOptions"},"publicPath":{"$ref":"#/definitions/PublicPath"},"runtime":{"$ref":"#/definitions/EntryRuntime"},"wasmLoading":{"$ref":"#/definitions/WasmLoading"}}},"EntryDynamic":{"description":"A Function returning an entry object, an entry string, an entry array or a promise to these things.","instanceof":"Function","tsType":"(() => EntryStatic | Promise)"},"EntryDynamicNormalized":{"description":"A Function returning a Promise resolving to a normalized entry.","instanceof":"Function","tsType":"(() => Promise)"},"EntryFilename":{"description":"Specifies the filename of the output file on disk. You must **not** specify an absolute path here, but the path may contain folders separated by \'/\'! The specified path is joined with the value of the \'output.path\' option to determine the location on disk.","oneOf":[{"$ref":"#/definitions/FilenameTemplate"}]},"EntryItem":{"description":"Module(s) that are loaded upon startup.","anyOf":[{"description":"All modules are loaded upon startup. The last one is exported.","type":"array","items":{"description":"A module that is loaded upon startup. Only the last one is exported.","type":"string","minLength":1},"minItems":1,"uniqueItems":true},{"description":"The string is resolved to a module which is loaded upon startup.","type":"string","minLength":1}]},"EntryNormalized":{"description":"The entry point(s) of the compilation.","anyOf":[{"$ref":"#/definitions/EntryDynamicNormalized"},{"$ref":"#/definitions/EntryStaticNormalized"}]},"EntryObject":{"description":"Multiple entry bundles are created. The key is the entry name. The value can be a string, an array or an entry description object.","type":"object","additionalProperties":{"description":"An entry point with name.","anyOf":[{"$ref":"#/definitions/EntryItem"},{"$ref":"#/definitions/EntryDescription"}]}},"EntryRuntime":{"description":"The name of the runtime chunk. If set a runtime chunk with this name is created or an existing entrypoint is used as runtime.","anyOf":[{"enum":[false]},{"type":"string","minLength":1}]},"EntryStatic":{"description":"A static entry description.","anyOf":[{"$ref":"#/definitions/EntryObject"},{"$ref":"#/definitions/EntryUnnamed"}]},"EntryStaticNormalized":{"description":"Multiple entry bundles are created. The key is the entry name. The value is an entry description object.","type":"object","additionalProperties":{"description":"An object with entry point description.","oneOf":[{"$ref":"#/definitions/EntryDescriptionNormalized"}]}},"EntryUnnamed":{"description":"An entry point without name.","oneOf":[{"$ref":"#/definitions/EntryItem"}]},"Environment":{"description":"The abilities of the environment where the webpack generated code should run.","type":"object","additionalProperties":false,"properties":{"arrowFunction":{"description":"The environment supports arrow functions (\'() => { ... }\').","type":"boolean"},"bigIntLiteral":{"description":"The environment supports BigInt as literal (123n).","type":"boolean"},"const":{"description":"The environment supports const and let for variable declarations.","type":"boolean"},"destructuring":{"description":"The environment supports destructuring (\'{ a, b } = obj\').","type":"boolean"},"dynamicImport":{"description":"The environment supports an async import() function to import EcmaScript modules.","type":"boolean"},"forOf":{"description":"The environment supports \'for of\' iteration (\'for (const x of array) { ... }\').","type":"boolean"},"module":{"description":"The environment supports EcmaScript Module syntax to import EcmaScript modules (import ... from \'...\').","type":"boolean"}}},"Experiments":{"description":"Enables/Disables experiments (experimental features with relax SemVer compatibility).","type":"object","additionalProperties":false,"properties":{"asset":{"description":"Allow module type \'asset\' to generate assets.","type":"boolean"},"asyncWebAssembly":{"description":"Support WebAssembly as asynchronous EcmaScript Module.","type":"boolean"},"executeModule":{"description":"Enable build-time execution of modules from the module graph for plugins and loaders.","type":"boolean"},"layers":{"description":"Enable module and chunk layers.","type":"boolean"},"lazyCompilation":{"description":"Compile entrypoints and import()s only when they are accessed.","anyOf":[{"type":"boolean"},{"type":"object","additionalProperties":false,"properties":{"backend":{"description":"A custom backend.","instanceof":"Function","tsType":"(((compiler: import(\'../lib/Compiler\'), client: string, callback: (err?: Error, api?: any) => void) => void) | ((compiler: import(\'../lib/Compiler\'), client: string) => Promise))"},"client":{"description":"A custom client.","type":"string"},"entries":{"description":"Enable/disable lazy compilation for entries.","type":"boolean"},"imports":{"description":"Enable/disable lazy compilation for import() modules.","type":"boolean"},"test":{"description":"Specify which entrypoints or import()ed modules should be lazily compiled. This is matched with the imported module and not the entrypoint name.","anyOf":[{"instanceof":"RegExp","tsType":"RegExp"},{"type":"string"},{"instanceof":"Function","tsType":"((module: import(\'../lib/Module\')) => boolean)"}]}}}]},"outputModule":{"description":"Allow output javascript files as module source type.","type":"boolean"},"syncWebAssembly":{"description":"Support WebAssembly as synchronous EcmaScript Module (outdated).","type":"boolean"},"topLevelAwait":{"description":"Allow using top-level-await in EcmaScript Modules.","type":"boolean"}}},"ExternalItem":{"description":"Specify dependency that shouldn\'t be resolved by webpack, but should become dependencies of the resulting bundle. The kind of the dependency depends on `output.libraryTarget`.","anyOf":[{"description":"Every matched dependency becomes external.","instanceof":"RegExp","tsType":"RegExp"},{"description":"An exact matched dependency becomes external. The same string is used as external dependency.","type":"string"},{"description":"If an dependency matches exactly a property of the object, the property value is used as dependency.","type":"object","additionalProperties":{"$ref":"#/definitions/ExternalItemValue"},"properties":{"byLayer":{"description":"Specify externals depending on the layer.","anyOf":[{"type":"object","additionalProperties":{"$ref":"#/definitions/ExternalItem"}},{"instanceof":"Function","tsType":"((layer: string | null) => ExternalItem)"}]}}},{"description":"The function is called on each dependency (`function(context, request, callback(err, result))`).","instanceof":"Function","tsType":"(((data: ExternalItemFunctionData, callback: (err?: Error, result?: ExternalItemValue) => void) => void) | ((data: ExternalItemFunctionData) => Promise))"}]},"ExternalItemFunctionData":{"description":"Data object passed as argument when a function is set for \'externals\'.","type":"object","additionalProperties":false,"properties":{"context":{"description":"The directory in which the request is placed.","type":"string"},"contextInfo":{"description":"Contextual information.","type":"object","tsType":"import(\'../lib/ModuleFactory\').ModuleFactoryCreateDataContextInfo"},"dependencyType":{"description":"The category of the referencing dependencies.","type":"string"},"getResolve":{"description":"Get a resolve function with the current resolver options.","instanceof":"Function","tsType":"((options?: ResolveOptions) => ((context: string, request: string, callback: (err?: Error, result?: string) => void) => void) | ((context: string, request: string) => Promise))"},"request":{"description":"The request as written by the user in the require/import expression/statement.","type":"string"}}},"ExternalItemValue":{"description":"The dependency used for the external.","anyOf":[{"type":"array","items":{"description":"A part of the target of the external.","type":"string","minLength":1}},{"description":"`true`: The dependency name is used as target of the external.","type":"boolean"},{"description":"The target of the external.","type":"string"},{"type":"object"}]},"Externals":{"description":"Specify dependencies that shouldn\'t be resolved by webpack, but should become dependencies of the resulting bundle. The kind of the dependency depends on `output.libraryTarget`.","anyOf":[{"type":"array","items":{"$ref":"#/definitions/ExternalItem"}},{"$ref":"#/definitions/ExternalItem"}]},"ExternalsPresets":{"description":"Enable presets of externals for specific targets.","type":"object","additionalProperties":false,"properties":{"electron":{"description":"Treat common electron built-in modules in main and preload context like \'electron\', \'ipc\' or \'shell\' as external and load them via require() when used.","type":"boolean"},"electronMain":{"description":"Treat electron built-in modules in the main context like \'app\', \'ipc-main\' or \'shell\' as external and load them via require() when used.","type":"boolean"},"electronPreload":{"description":"Treat electron built-in modules in the preload context like \'web-frame\', \'ipc-renderer\' or \'shell\' as external and load them via require() when used.","type":"boolean"},"electronRenderer":{"description":"Treat electron built-in modules in the renderer context like \'web-frame\', \'ipc-renderer\' or \'shell\' as external and load them via require() when used.","type":"boolean"},"node":{"description":"Treat node.js built-in modules like fs, path or vm as external and load them via require() when used.","type":"boolean"},"nwjs":{"description":"Treat NW.js legacy nw.gui module as external and load it via require() when used.","type":"boolean"},"web":{"description":"Treat references to \'http(s)://...\' and \'std:...\' as external and load them via import when used (Note that this changes execution order as externals are executed before any other code in the chunk).","type":"boolean"},"webAsync":{"description":"Treat references to \'http(s)://...\' and \'std:...\' as external and load them via async import() when used (Note that this external type is an async module, which has various effects on the execution).","type":"boolean"}}},"ExternalsType":{"description":"Specifies the default type of externals (\'amd*\', \'umd*\', \'system\' and \'jsonp\' depend on output.libraryTarget set to the same value).","enum":["var","module","assign","this","window","self","global","commonjs","commonjs2","commonjs-module","amd","amd-require","umd","umd2","jsonp","system","promise","import","script","node-commonjs"]},"FileCacheOptions":{"description":"Options object for persistent file-based caching.","type":"object","additionalProperties":false,"properties":{"allowCollectingMemory":{"description":"Allows to collect unused memory allocated during deserialization. This requires copying data into smaller buffers and has a performance cost.","type":"boolean"},"buildDependencies":{"description":"Dependencies the build depends on (in multiple categories, default categories: \'defaultWebpack\').","type":"object","additionalProperties":{"description":"List of dependencies the build depends on.","type":"array","items":{"description":"Request to a dependency (resolved as directory relative to the context directory).","type":"string","minLength":1}}},"cacheDirectory":{"description":"Base directory for the cache (defaults to node_modules/.cache/webpack).","type":"string","absolutePath":true},"cacheLocation":{"description":"Locations for the cache (defaults to cacheDirectory / name).","type":"string","absolutePath":true},"compression":{"description":"Compression type used for the cache files.","enum":[false,"gzip","brotli"]},"hashAlgorithm":{"description":"Algorithm used for generation the hash (see node.js crypto package).","type":"string"},"idleTimeout":{"description":"Time in ms after which idle period the cache storing should happen.","type":"number","minimum":0},"idleTimeoutAfterLargeChanges":{"description":"Time in ms after which idle period the cache storing should happen when larger changes has been detected (cumulative build time > 2 x avg cache store time).","type":"number","minimum":0},"idleTimeoutForInitialStore":{"description":"Time in ms after which idle period the initial cache storing should happen.","type":"number","minimum":0},"immutablePaths":{"description":"List of paths that are managed by a package manager and contain a version or hash in its path so all files are immutable.","type":"array","items":{"description":"A path to a immutable directory (usually a package manager cache directory).","type":"string","absolutePath":true,"minLength":1}},"managedPaths":{"description":"List of paths that are managed by a package manager and can be trusted to not be modified otherwise.","type":"array","items":{"description":"A path to a managed directory (usually a node_modules directory).","type":"string","absolutePath":true,"minLength":1}},"maxAge":{"description":"Time for which unused cache entries stay in the filesystem cache at minimum (in milliseconds).","type":"number","minimum":0},"maxMemoryGenerations":{"description":"Number of generations unused cache entries stay in memory cache at minimum (0 = no memory cache used, 1 = may be removed after unused for a single compilation, ..., Infinity: kept forever). Cache entries will be deserialized from disk when removed from memory cache.","type":"number","minimum":0},"name":{"description":"Name for the cache. Different names will lead to different coexisting caches.","type":"string"},"profile":{"description":"Track and log detailed timing information for individual cache items.","type":"boolean"},"store":{"description":"When to store data to the filesystem. (pack: Store data when compiler is idle in a single file).","enum":["pack"]},"type":{"description":"Filesystem caching.","enum":["filesystem"]},"version":{"description":"Version of the cache data. Different versions won\'t allow to reuse the cache and override existing content. Update the version when config changed in a way which doesn\'t allow to reuse cache. This will invalidate the cache.","type":"string"}},"required":["type"]},"Filename":{"description":"Specifies the filename of output files on disk. You must **not** specify an absolute path here, but the path may contain folders separated by \'/\'! The specified path is joined with the value of the \'output.path\' option to determine the location on disk.","oneOf":[{"$ref":"#/definitions/FilenameTemplate"}]},"FilenameTemplate":{"description":"Specifies the filename template of output files on disk. You must **not** specify an absolute path here, but the path may contain folders separated by \'/\'! The specified path is joined with the value of the \'output.path\' option to determine the location on disk.","anyOf":[{"type":"string","absolutePath":false,"minLength":1},{"instanceof":"Function","tsType":"((pathData: import(\\"../lib/Compilation\\").PathData, assetInfo?: import(\\"../lib/Compilation\\").AssetInfo) => string)"}]},"FilterItemTypes":{"description":"Filtering value, regexp or function.","cli":{"helper":true},"anyOf":[{"instanceof":"RegExp","tsType":"RegExp"},{"type":"string","absolutePath":false},{"instanceof":"Function","tsType":"((value: string) => boolean)"}]},"FilterTypes":{"description":"Filtering values.","cli":{"helper":true},"anyOf":[{"type":"array","items":{"description":"Rule to filter.","cli":{"helper":true},"oneOf":[{"$ref":"#/definitions/FilterItemTypes"}]}},{"$ref":"#/definitions/FilterItemTypes"}]},"GeneratorOptionsByModuleType":{"description":"Specify options for each generator.","type":"object","additionalProperties":{"description":"Options for generating.","type":"object","additionalProperties":true},"properties":{"asset":{"$ref":"#/definitions/AssetGeneratorOptions"},"asset/inline":{"$ref":"#/definitions/AssetInlineGeneratorOptions"},"asset/resource":{"$ref":"#/definitions/AssetResourceGeneratorOptions"},"javascript":{"$ref":"#/definitions/EmptyGeneratorOptions"},"javascript/auto":{"$ref":"#/definitions/EmptyGeneratorOptions"},"javascript/dynamic":{"$ref":"#/definitions/EmptyGeneratorOptions"},"javascript/esm":{"$ref":"#/definitions/EmptyGeneratorOptions"}}},"GlobalObject":{"description":"An expression which is used to address the global object/scope in runtime code.","type":"string","minLength":1},"HashDigest":{"description":"Digest type used for the hash.","type":"string"},"HashDigestLength":{"description":"Number of chars which are used for the hash.","type":"number","minimum":1},"HashFunction":{"description":"Algorithm used for generation the hash (see node.js crypto package).","anyOf":[{"type":"string","minLength":1},{"instanceof":"Function","tsType":"typeof import(\'../lib/util/Hash\')"}]},"HashSalt":{"description":"Any string which is added to the hash to salt it.","type":"string","minLength":1},"HotUpdateChunkFilename":{"description":"The filename of the Hot Update Chunks. They are inside the output.path directory.","type":"string","absolutePath":false},"HotUpdateGlobal":{"description":"The global variable used by webpack for loading of hot update chunks.","type":"string"},"HotUpdateMainFilename":{"description":"The filename of the Hot Update Main File. It is inside the \'output.path\' directory.","type":"string","absolutePath":false},"IgnoreWarnings":{"description":"Ignore specific warnings.","type":"array","items":{"description":"Ignore specific warnings.","anyOf":[{"description":"A RegExp to select the warning message.","instanceof":"RegExp","tsType":"RegExp"},{"type":"object","additionalProperties":false,"properties":{"file":{"description":"A RegExp to select the origin file for the warning.","instanceof":"RegExp","tsType":"RegExp"},"message":{"description":"A RegExp to select the warning message.","instanceof":"RegExp","tsType":"RegExp"},"module":{"description":"A RegExp to select the origin module for the warning.","instanceof":"RegExp","tsType":"RegExp"}}},{"description":"A custom function to select warnings based on the raw warning instance.","instanceof":"Function","tsType":"((warning: import(\'../lib/WebpackError\'), compilation: import(\'../lib/Compilation\')) => boolean)"}]}},"IgnoreWarningsNormalized":{"description":"Ignore specific warnings.","type":"array","items":{"description":"A function to select warnings based on the raw warning instance.","instanceof":"Function","tsType":"((warning: import(\'../lib/WebpackError\'), compilation: import(\'../lib/Compilation\')) => boolean)"}},"Iife":{"description":"Wrap javascript code into IIFE\'s to avoid leaking into global scope.","type":"boolean"},"ImportFunctionName":{"description":"The name of the native import() function (can be exchanged for a polyfill).","type":"string"},"ImportMetaName":{"description":"The name of the native import.meta object (can be exchanged for a polyfill).","type":"string"},"InfrastructureLogging":{"description":"Options for infrastructure level logging.","type":"object","additionalProperties":false,"properties":{"appendOnly":{"description":"Only appends lines to the output. Avoids updating existing output e. g. for status messages. This option is only used when no custom console is provided.","type":"boolean"},"colors":{"description":"Enables/Disables colorful output. This option is only used when no custom console is provided.","type":"boolean"},"console":{"description":"Custom console used for logging.","tsType":"Console"},"debug":{"description":"Enable debug logging for specific loggers.","anyOf":[{"description":"Enable/Disable debug logging for all loggers.","type":"boolean"},{"$ref":"#/definitions/FilterTypes"}]},"level":{"description":"Log level.","enum":["none","error","warn","info","log","verbose"]},"stream":{"description":"Stream used for logging output. Defaults to process.stderr. This option is only used when no custom console is provided.","tsType":"NodeJS.WritableStream"}}},"JavascriptParserOptions":{"description":"Parser options for javascript modules.","type":"object","additionalProperties":true,"properties":{"amd":{"$ref":"#/definitions/Amd"},"browserify":{"description":"Enable/disable special handling for browserify bundles.","type":"boolean"},"commonjs":{"description":"Enable/disable parsing of CommonJs syntax.","type":"boolean"},"commonjsMagicComments":{"description":"Enable/disable parsing of magic comments in CommonJs syntax.","type":"boolean"},"exprContextCritical":{"description":"Enable warnings for full dynamic dependencies.","type":"boolean"},"exprContextRecursive":{"description":"Enable recursive directory lookup for full dynamic dependencies.","type":"boolean"},"exprContextRegExp":{"description":"Sets the default regular expression for full dynamic dependencies.","anyOf":[{"instanceof":"RegExp","tsType":"RegExp"},{"type":"boolean"}]},"exprContextRequest":{"description":"Set the default request for full dynamic dependencies.","type":"string"},"harmony":{"description":"Enable/disable parsing of EcmaScript Modules syntax.","type":"boolean"},"import":{"description":"Enable/disable parsing of import() syntax.","type":"boolean"},"node":{"$ref":"#/definitions/Node"},"requireContext":{"description":"Enable/disable parsing of require.context syntax.","type":"boolean"},"requireEnsure":{"description":"Enable/disable parsing of require.ensure syntax.","type":"boolean"},"requireInclude":{"description":"Enable/disable parsing of require.include syntax.","type":"boolean"},"requireJs":{"description":"Enable/disable parsing of require.js special syntax like require.config, requirejs.config, require.version and requirejs.onError.","type":"boolean"},"strictExportPresence":{"description":"Emit errors instead of warnings when imported names don\'t exist in imported module.","type":"boolean"},"strictThisContextOnImports":{"description":"Handle the this context correctly according to the spec for namespace objects.","type":"boolean"},"system":{"description":"Enable/disable parsing of System.js special syntax like System.import, System.get, System.set and System.register.","type":"boolean"},"unknownContextCritical":{"description":"Enable warnings when using the require function in a not statically analyse-able way.","type":"boolean"},"unknownContextRecursive":{"description":"Enable recursive directory lookup when using the require function in a not statically analyse-able way.","type":"boolean"},"unknownContextRegExp":{"description":"Sets the regular expression when using the require function in a not statically analyse-able way.","anyOf":[{"instanceof":"RegExp","tsType":"RegExp"},{"type":"boolean"}]},"unknownContextRequest":{"description":"Sets the request when using the require function in a not statically analyse-able way.","type":"string"},"url":{"description":"Enable/disable parsing of new URL() syntax.","anyOf":[{"enum":["relative"]},{"type":"boolean"}]},"worker":{"description":"Disable or configure parsing of WebWorker syntax like new Worker() or navigator.serviceWorker.register().","anyOf":[{"type":"array","items":{"description":"Specify a syntax that should be parsed as WebWorker reference. \'Abc\' handles \'new Abc()\', \'Abc from xyz\' handles \'import { Abc } from \\"xyz\\"; new Abc()\', \'abc()\' handles \'abc()\', and combinations are also possible.","type":"string","minLength":1}},{"type":"boolean"}]},"wrappedContextCritical":{"description":"Enable warnings for partial dynamic dependencies.","type":"boolean"},"wrappedContextRecursive":{"description":"Enable recursive directory lookup for partial dynamic dependencies.","type":"boolean"},"wrappedContextRegExp":{"description":"Set the inner regular expression for partial dynamic dependencies.","instanceof":"RegExp","tsType":"RegExp"}}},"Layer":{"description":"Specifies the layer in which modules of this entrypoint are placed.","anyOf":[{"enum":[null]},{"type":"string","minLength":1}]},"Library":{"description":"Make the output files a library, exporting the exports of the entry point.","anyOf":[{"$ref":"#/definitions/LibraryName"},{"$ref":"#/definitions/LibraryOptions"}]},"LibraryCustomUmdCommentObject":{"description":"Set explicit comments for `commonjs`, `commonjs2`, `amd`, and `root`.","type":"object","additionalProperties":false,"properties":{"amd":{"description":"Set comment for `amd` section in UMD.","type":"string"},"commonjs":{"description":"Set comment for `commonjs` (exports) section in UMD.","type":"string"},"commonjs2":{"description":"Set comment for `commonjs2` (module.exports) section in UMD.","type":"string"},"root":{"description":"Set comment for `root` (global variable) section in UMD.","type":"string"}}},"LibraryCustomUmdObject":{"description":"Description object for all UMD variants of the library name.","type":"object","additionalProperties":false,"properties":{"amd":{"description":"Name of the exposed AMD library in the UMD.","type":"string","minLength":1},"commonjs":{"description":"Name of the exposed commonjs export in the UMD.","type":"string","minLength":1},"root":{"description":"Name of the property exposed globally by a UMD library.","anyOf":[{"type":"array","items":{"description":"Part of the name of the property exposed globally by a UMD library.","type":"string","minLength":1}},{"type":"string","minLength":1}]}}},"LibraryExport":{"description":"Specify which export should be exposed as library.","anyOf":[{"type":"array","items":{"description":"Part of the export that should be exposed as library.","type":"string","minLength":1}},{"type":"string","minLength":1}]},"LibraryName":{"description":"The name of the library (some types allow unnamed libraries too).","anyOf":[{"type":"array","items":{"description":"A part of the library name.","type":"string","minLength":1},"minItems":1},{"type":"string","minLength":1},{"$ref":"#/definitions/LibraryCustomUmdObject"}]},"LibraryOptions":{"description":"Options for library.","type":"object","additionalProperties":false,"properties":{"auxiliaryComment":{"$ref":"#/definitions/AuxiliaryComment"},"export":{"$ref":"#/definitions/LibraryExport"},"name":{"$ref":"#/definitions/LibraryName"},"type":{"$ref":"#/definitions/LibraryType"},"umdNamedDefine":{"$ref":"#/definitions/UmdNamedDefine"}},"required":["type"]},"LibraryType":{"description":"Type of library (types included by default are \'var\', \'module\', \'assign\', \'assign-properties\', \'this\', \'window\', \'self\', \'global\', \'commonjs\', \'commonjs2\', \'commonjs-module\', \'amd\', \'amd-require\', \'umd\', \'umd2\', \'jsonp\', \'system\', but others might be added by plugins).","anyOf":[{"enum":["var","module","assign","assign-properties","this","window","self","global","commonjs","commonjs2","commonjs-module","amd","amd-require","umd","umd2","jsonp","system"]},{"type":"string"}]},"Loader":{"description":"Custom values available in the loader context.","type":"object"},"MemoryCacheOptions":{"description":"Options object for in-memory caching.","type":"object","additionalProperties":false,"properties":{"maxGenerations":{"description":"Number of generations unused cache entries stay in memory cache at minimum (1 = may be removed after unused for a single compilation, ..., Infinity: kept forever).","type":"number","minimum":1},"type":{"description":"In memory caching.","enum":["memory"]}},"required":["type"]},"Mode":{"description":"Enable production optimizations or development hints.","enum":["development","production","none"]},"ModuleFilterItemTypes":{"description":"Filtering value, regexp or function.","cli":{"helper":true},"anyOf":[{"instanceof":"RegExp","tsType":"RegExp"},{"type":"string","absolutePath":false},{"instanceof":"Function","tsType":"((name: string, module: import(\'../lib/stats/DefaultStatsFactoryPlugin\').StatsModule, type: \'module\' | \'chunk\' | \'root-of-chunk\' | \'nested\') => boolean)"}]},"ModuleFilterTypes":{"description":"Filtering modules.","cli":{"helper":true},"anyOf":[{"type":"array","items":{"description":"Rule to filter.","cli":{"helper":true},"oneOf":[{"$ref":"#/definitions/ModuleFilterItemTypes"}]}},{"$ref":"#/definitions/ModuleFilterItemTypes"}]},"ModuleOptions":{"description":"Options affecting the normal modules (`NormalModuleFactory`).","type":"object","additionalProperties":false,"properties":{"defaultRules":{"description":"An array of rules applied by default for modules.","cli":{"exclude":true},"oneOf":[{"$ref":"#/definitions/RuleSetRules"}]},"exprContextCritical":{"description":"Enable warnings for full dynamic dependencies.","type":"boolean"},"exprContextRecursive":{"description":"Enable recursive directory lookup for full dynamic dependencies. Deprecated: This option has moved to \'module.parser.javascript.exprContextRecursive\'.","type":"boolean"},"exprContextRegExp":{"description":"Sets the default regular expression for full dynamic dependencies. Deprecated: This option has moved to \'module.parser.javascript.exprContextRegExp\'.","anyOf":[{"instanceof":"RegExp","tsType":"RegExp"},{"type":"boolean"}]},"exprContextRequest":{"description":"Set the default request for full dynamic dependencies. Deprecated: This option has moved to \'module.parser.javascript.exprContextRequest\'.","type":"string"},"generator":{"$ref":"#/definitions/GeneratorOptionsByModuleType"},"noParse":{"$ref":"#/definitions/NoParse"},"parser":{"$ref":"#/definitions/ParserOptionsByModuleType"},"rules":{"description":"An array of rules applied for modules.","oneOf":[{"$ref":"#/definitions/RuleSetRules"}]},"strictExportPresence":{"description":"Emit errors instead of warnings when imported names don\'t exist in imported module. Deprecated: This option has moved to \'module.parser.javascript.strictExportPresence\'.","type":"boolean"},"strictThisContextOnImports":{"description":"Handle the this context correctly according to the spec for namespace objects. Deprecated: This option has moved to \'module.parser.javascript.strictThisContextOnImports\'.","type":"boolean"},"unknownContextCritical":{"description":"Enable warnings when using the require function in a not statically analyse-able way. Deprecated: This option has moved to \'module.parser.javascript.unknownContextCritical\'.","type":"boolean"},"unknownContextRecursive":{"description":"Enable recursive directory lookup when using the require function in a not statically analyse-able way. Deprecated: This option has moved to \'module.parser.javascript.unknownContextRecursive\'.","type":"boolean"},"unknownContextRegExp":{"description":"Sets the regular expression when using the require function in a not statically analyse-able way. Deprecated: This option has moved to \'module.parser.javascript.unknownContextRegExp\'.","anyOf":[{"instanceof":"RegExp","tsType":"RegExp"},{"type":"boolean"}]},"unknownContextRequest":{"description":"Sets the request when using the require function in a not statically analyse-able way. Deprecated: This option has moved to \'module.parser.javascript.unknownContextRequest\'.","type":"string"},"unsafeCache":{"description":"Cache the resolving of module requests.","anyOf":[{"type":"boolean"},{"instanceof":"Function","tsType":"Function"}]},"wrappedContextCritical":{"description":"Enable warnings for partial dynamic dependencies. Deprecated: This option has moved to \'module.parser.javascript.wrappedContextCritical\'.","type":"boolean"},"wrappedContextRecursive":{"description":"Enable recursive directory lookup for partial dynamic dependencies. Deprecated: This option has moved to \'module.parser.javascript.wrappedContextRecursive\'.","type":"boolean"},"wrappedContextRegExp":{"description":"Set the inner regular expression for partial dynamic dependencies. Deprecated: This option has moved to \'module.parser.javascript.wrappedContextRegExp\'.","instanceof":"RegExp","tsType":"RegExp"}}},"ModuleOptionsNormalized":{"description":"Options affecting the normal modules (`NormalModuleFactory`).","type":"object","additionalProperties":false,"properties":{"defaultRules":{"description":"An array of rules applied by default for modules.","cli":{"exclude":true},"oneOf":[{"$ref":"#/definitions/RuleSetRules"}]},"generator":{"$ref":"#/definitions/GeneratorOptionsByModuleType"},"noParse":{"$ref":"#/definitions/NoParse"},"parser":{"$ref":"#/definitions/ParserOptionsByModuleType"},"rules":{"description":"An array of rules applied for modules.","oneOf":[{"$ref":"#/definitions/RuleSetRules"}]},"unsafeCache":{"description":"Cache the resolving of module requests.","anyOf":[{"type":"boolean"},{"instanceof":"Function","tsType":"Function"}]}},"required":["defaultRules","generator","parser","rules"]},"Name":{"description":"Name of the configuration. Used when loading multiple configurations.","type":"string"},"NoParse":{"description":"Don\'t parse files matching. It\'s matched against the full resolved request.","anyOf":[{"type":"array","items":{"description":"Don\'t parse files matching. It\'s matched against the full resolved request.","anyOf":[{"description":"A regular expression, when matched the module is not parsed.","instanceof":"RegExp","tsType":"RegExp"},{"description":"An absolute path, when the module starts with this path it is not parsed.","type":"string","absolutePath":true},{"instanceof":"Function","tsType":"Function"}]},"minItems":1},{"description":"A regular expression, when matched the module is not parsed.","instanceof":"RegExp","tsType":"RegExp"},{"description":"An absolute path, when the module starts with this path it is not parsed.","type":"string","absolutePath":true},{"instanceof":"Function","tsType":"Function"}]},"Node":{"description":"Include polyfills or mocks for various node stuff.","anyOf":[{"enum":[false]},{"$ref":"#/definitions/NodeOptions"}]},"NodeOptions":{"description":"Options object for node compatibility features.","type":"object","additionalProperties":false,"properties":{"__dirname":{"description":"Include a polyfill for the \'__dirname\' variable.","enum":[false,true,"mock","eval-only"]},"__filename":{"description":"Include a polyfill for the \'__filename\' variable.","enum":[false,true,"mock","eval-only"]},"global":{"description":"Include a polyfill for the \'global\' variable.","type":"boolean"}}},"Optimization":{"description":"Enables/Disables integrated optimizations.","type":"object","additionalProperties":false,"properties":{"checkWasmTypes":{"description":"Check for incompatible wasm types when importing/exporting from/to ESM.","type":"boolean"},"chunkIds":{"description":"Define the algorithm to choose chunk ids (named: readable ids for better debugging, deterministic: numeric hash ids for better long term caching, size: numeric ids focused on minimal initial download size, total-size: numeric ids focused on minimal total download size, false: no algorithm used, as custom one can be provided via plugin).","enum":["natural","named","deterministic","size","total-size",false]},"concatenateModules":{"description":"Concatenate modules when possible to generate less modules, more efficient code and enable more optimizations by the minimizer.","type":"boolean"},"emitOnErrors":{"description":"Emit assets even when errors occur. Critical errors are emitted into the generated code and will cause errors at runtime.","type":"boolean"},"flagIncludedChunks":{"description":"Also flag chunks as loaded which contain a subset of the modules.","type":"boolean"},"innerGraph":{"description":"Creates a module-internal dependency graph for top level symbols, exports and imports, to improve unused exports detection.","type":"boolean"},"mangleExports":{"description":"Rename exports when possible to generate shorter code (depends on optimization.usedExports and optimization.providedExports, true/\\"deterministic\\": generate short deterministic names optimized for caching, \\"size\\": generate the shortest possible names).","anyOf":[{"enum":["size","deterministic"]},{"type":"boolean"}]},"mangleWasmImports":{"description":"Reduce size of WASM by changing imports to shorter strings.","type":"boolean"},"mergeDuplicateChunks":{"description":"Merge chunks which contain the same modules.","type":"boolean"},"minimize":{"description":"Enable minimizing the output. Uses optimization.minimizer.","type":"boolean"},"minimizer":{"description":"Minimizer(s) to use for minimizing the output.","type":"array","cli":{"exclude":true},"items":{"description":"Plugin of type object or instanceof Function.","anyOf":[{"enum":["..."]},{"$ref":"#/definitions/WebpackPluginInstance"},{"$ref":"#/definitions/WebpackPluginFunction"}]}},"moduleIds":{"description":"Define the algorithm to choose module ids (natural: numeric ids in order of usage, named: readable ids for better debugging, hashed: (deprecated) short hashes as ids for better long term caching, deterministic: numeric hash ids for better long term caching, size: numeric ids focused on minimal initial download size, false: no algorithm used, as custom one can be provided via plugin).","enum":["natural","named","hashed","deterministic","size",false]},"noEmitOnErrors":{"description":"Avoid emitting assets when errors occur (deprecated: use \'emitOnErrors\' instead).","type":"boolean","cli":{"exclude":true}},"nodeEnv":{"description":"Set process.env.NODE_ENV to a specific value.","anyOf":[{"enum":[false]},{"type":"string"}]},"portableRecords":{"description":"Generate records with relative paths to be able to move the context folder.","type":"boolean"},"providedExports":{"description":"Figure out which exports are provided by modules to generate more efficient code.","type":"boolean"},"realContentHash":{"description":"Use real [contenthash] based on final content of the assets.","type":"boolean"},"removeAvailableModules":{"description":"Removes modules from chunks when these modules are already included in all parents.","type":"boolean"},"removeEmptyChunks":{"description":"Remove chunks which are empty.","type":"boolean"},"runtimeChunk":{"$ref":"#/definitions/OptimizationRuntimeChunk"},"sideEffects":{"description":"Skip over modules which contain no side effects when exports are not used (false: disabled, \'flag\': only use manually placed side effects flag, true: also analyse source code for side effects).","anyOf":[{"enum":["flag"]},{"type":"boolean"}]},"splitChunks":{"description":"Optimize duplication and caching by splitting chunks by shared modules and cache group.","anyOf":[{"enum":[false]},{"$ref":"#/definitions/OptimizationSplitChunksOptions"}]},"usedExports":{"description":"Figure out which exports are used by modules to mangle export names, omit unused exports and generate more efficient code (true: analyse used exports for each runtime, \\"global\\": analyse exports globally for all runtimes combined).","anyOf":[{"enum":["global"]},{"type":"boolean"}]}}},"OptimizationRuntimeChunk":{"description":"Create an additional chunk which contains only the webpack runtime and chunk hash maps.","anyOf":[{"enum":["single","multiple"]},{"type":"boolean"},{"type":"object","additionalProperties":false,"properties":{"name":{"description":"The name or name factory for the runtime chunks.","anyOf":[{"type":"string"},{"instanceof":"Function","tsType":"Function"}]}}}]},"OptimizationRuntimeChunkNormalized":{"description":"Create an additional chunk which contains only the webpack runtime and chunk hash maps.","anyOf":[{"enum":[false]},{"type":"object","additionalProperties":false,"properties":{"name":{"description":"The name factory for the runtime chunks.","instanceof":"Function","tsType":"Function"}}}]},"OptimizationSplitChunksCacheGroup":{"description":"Options object for describing behavior of a cache group selecting modules that should be cached together.","type":"object","additionalProperties":false,"properties":{"automaticNameDelimiter":{"description":"Sets the name delimiter for created chunks.","type":"string","minLength":1},"chunks":{"description":"Select chunks for determining cache group content (defaults to \\"initial\\", \\"initial\\" and \\"all\\" requires adding these chunks to the HTML).","anyOf":[{"enum":["initial","async","all"]},{"instanceof":"Function","tsType":"((chunk: import(\'../lib/Chunk\')) => boolean)"}]},"enforce":{"description":"Ignore minimum size, minimum chunks and maximum requests and always create chunks for this cache group.","type":"boolean"},"enforceSizeThreshold":{"description":"Size threshold at which splitting is enforced and other restrictions (minRemainingSize, maxAsyncRequests, maxInitialRequests) are ignored.","oneOf":[{"$ref":"#/definitions/OptimizationSplitChunksSizes"}]},"filename":{"description":"Sets the template for the filename for created chunks.","anyOf":[{"type":"string","absolutePath":false,"minLength":1},{"instanceof":"Function","tsType":"((pathData: import(\\"../lib/Compilation\\").PathData, assetInfo?: import(\\"../lib/Compilation\\").AssetInfo) => string)"}]},"idHint":{"description":"Sets the hint for chunk id.","type":"string"},"layer":{"description":"Assign modules to a cache group by module layer.","anyOf":[{"instanceof":"RegExp","tsType":"RegExp"},{"type":"string"},{"instanceof":"Function","tsType":"Function"}]},"maxAsyncRequests":{"description":"Maximum number of requests which are accepted for on-demand loading.","type":"number","minimum":1},"maxAsyncSize":{"description":"Maximal size hint for the on-demand chunks.","oneOf":[{"$ref":"#/definitions/OptimizationSplitChunksSizes"}]},"maxInitialRequests":{"description":"Maximum number of initial chunks which are accepted for an entry point.","type":"number","minimum":1},"maxInitialSize":{"description":"Maximal size hint for the initial chunks.","oneOf":[{"$ref":"#/definitions/OptimizationSplitChunksSizes"}]},"maxSize":{"description":"Maximal size hint for the created chunks.","oneOf":[{"$ref":"#/definitions/OptimizationSplitChunksSizes"}]},"minChunks":{"description":"Minimum number of times a module has to be duplicated until it\'s considered for splitting.","type":"number","minimum":1},"minRemainingSize":{"description":"Minimal size for the chunks the stay after moving the modules to a new chunk.","oneOf":[{"$ref":"#/definitions/OptimizationSplitChunksSizes"}]},"minSize":{"description":"Minimal size for the created chunk.","oneOf":[{"$ref":"#/definitions/OptimizationSplitChunksSizes"}]},"name":{"description":"Give chunks for this cache group a name (chunks with equal name are merged).","anyOf":[{"enum":[false]},{"type":"string"},{"instanceof":"Function","tsType":"Function"}]},"priority":{"description":"Priority of this cache group.","type":"number"},"reuseExistingChunk":{"description":"Try to reuse existing chunk (with name) when it has matching modules.","type":"boolean"},"test":{"description":"Assign modules to a cache group by module name.","anyOf":[{"instanceof":"RegExp","tsType":"RegExp"},{"type":"string"},{"instanceof":"Function","tsType":"Function"}]},"type":{"description":"Assign modules to a cache group by module type.","anyOf":[{"instanceof":"RegExp","tsType":"RegExp"},{"type":"string"},{"instanceof":"Function","tsType":"Function"}]},"usedExports":{"description":"Compare used exports when checking common modules. Modules will only be put in the same chunk when exports are equal.","type":"boolean"}}},"OptimizationSplitChunksGetCacheGroups":{"description":"A function returning cache groups.","instanceof":"Function","tsType":"((module: import(\'../lib/Module\')) => OptimizationSplitChunksCacheGroup | OptimizationSplitChunksCacheGroup[] | void)"},"OptimizationSplitChunksOptions":{"description":"Options object for splitting chunks into smaller chunks.","type":"object","additionalProperties":false,"properties":{"automaticNameDelimiter":{"description":"Sets the name delimiter for created chunks.","type":"string","minLength":1},"cacheGroups":{"description":"Assign modules to a cache group (modules from different cache groups are tried to keep in separate chunks, default categories: \'default\', \'defaultVendors\').","type":"object","additionalProperties":{"description":"Configuration for a cache group.","anyOf":[{"enum":[false]},{"instanceof":"RegExp","tsType":"RegExp"},{"type":"string"},{"instanceof":"Function","tsType":"Function"},{"$ref":"#/definitions/OptimizationSplitChunksCacheGroup"}]},"not":{"description":"Using the cacheGroup shorthand syntax with a cache group named \'test\' is a potential config error\\nDid you intent to define a cache group with a test instead?\\ncacheGroups: {\\n : {\\n test: ...\\n }\\n}.","type":"object","additionalProperties":true,"properties":{"test":{"description":"The test property is a cache group name, but using the test option of the cache group could be intended instead.","anyOf":[{"instanceof":"RegExp","tsType":"RegExp"},{"type":"string"},{"instanceof":"Function","tsType":"Function"}]}},"required":["test"]}},"chunks":{"description":"Select chunks for determining shared modules (defaults to \\"async\\", \\"initial\\" and \\"all\\" requires adding these chunks to the HTML).","anyOf":[{"enum":["initial","async","all"]},{"instanceof":"Function","tsType":"((chunk: import(\'../lib/Chunk\')) => boolean)"}]},"defaultSizeTypes":{"description":"Sets the size types which are used when a number is used for sizes.","type":"array","items":{"description":"Size type, like \'javascript\', \'webassembly\'.","type":"string"},"minItems":1},"enforceSizeThreshold":{"description":"Size threshold at which splitting is enforced and other restrictions (minRemainingSize, maxAsyncRequests, maxInitialRequests) are ignored.","oneOf":[{"$ref":"#/definitions/OptimizationSplitChunksSizes"}]},"fallbackCacheGroup":{"description":"Options for modules not selected by any other cache group.","type":"object","additionalProperties":false,"properties":{"automaticNameDelimiter":{"description":"Sets the name delimiter for created chunks.","type":"string","minLength":1},"maxAsyncSize":{"description":"Maximal size hint for the on-demand chunks.","oneOf":[{"$ref":"#/definitions/OptimizationSplitChunksSizes"}]},"maxInitialSize":{"description":"Maximal size hint for the initial chunks.","oneOf":[{"$ref":"#/definitions/OptimizationSplitChunksSizes"}]},"maxSize":{"description":"Maximal size hint for the created chunks.","oneOf":[{"$ref":"#/definitions/OptimizationSplitChunksSizes"}]},"minSize":{"description":"Minimal size for the created chunk.","oneOf":[{"$ref":"#/definitions/OptimizationSplitChunksSizes"}]}}},"filename":{"description":"Sets the template for the filename for created chunks.","anyOf":[{"type":"string","absolutePath":false,"minLength":1},{"instanceof":"Function","tsType":"((pathData: import(\\"../lib/Compilation\\").PathData, assetInfo?: import(\\"../lib/Compilation\\").AssetInfo) => string)"}]},"hidePathInfo":{"description":"Prevents exposing path info when creating names for parts splitted by maxSize.","type":"boolean"},"maxAsyncRequests":{"description":"Maximum number of requests which are accepted for on-demand loading.","type":"number","minimum":1},"maxAsyncSize":{"description":"Maximal size hint for the on-demand chunks.","oneOf":[{"$ref":"#/definitions/OptimizationSplitChunksSizes"}]},"maxInitialRequests":{"description":"Maximum number of initial chunks which are accepted for an entry point.","type":"number","minimum":1},"maxInitialSize":{"description":"Maximal size hint for the initial chunks.","oneOf":[{"$ref":"#/definitions/OptimizationSplitChunksSizes"}]},"maxSize":{"description":"Maximal size hint for the created chunks.","oneOf":[{"$ref":"#/definitions/OptimizationSplitChunksSizes"}]},"minChunks":{"description":"Minimum number of times a module has to be duplicated until it\'s considered for splitting.","type":"number","minimum":1},"minRemainingSize":{"description":"Minimal size for the chunks the stay after moving the modules to a new chunk.","oneOf":[{"$ref":"#/definitions/OptimizationSplitChunksSizes"}]},"minSize":{"description":"Minimal size for the created chunks.","oneOf":[{"$ref":"#/definitions/OptimizationSplitChunksSizes"}]},"name":{"description":"Give chunks created a name (chunks with equal name are merged).","anyOf":[{"enum":[false]},{"type":"string"},{"instanceof":"Function","tsType":"Function"}]},"usedExports":{"description":"Compare used exports when checking common modules. Modules will only be put in the same chunk when exports are equal.","type":"boolean"}}},"OptimizationSplitChunksSizes":{"description":"Size description for limits.","anyOf":[{"description":"Size of the javascript part of the chunk.","type":"number","minimum":0},{"description":"Specify size limits per size type.","type":"object","additionalProperties":{"description":"Size of the part of the chunk with the type of the key.","type":"number"}}]},"Output":{"description":"Options affecting the output of the compilation. `output` options tell webpack how to write the compiled files to disk.","type":"object","additionalProperties":false,"properties":{"assetModuleFilename":{"$ref":"#/definitions/AssetModuleFilename"},"auxiliaryComment":{"cli":{"exclude":true},"oneOf":[{"$ref":"#/definitions/AuxiliaryComment"}]},"charset":{"$ref":"#/definitions/Charset"},"chunkFilename":{"$ref":"#/definitions/ChunkFilename"},"chunkFormat":{"$ref":"#/definitions/ChunkFormat"},"chunkLoadTimeout":{"$ref":"#/definitions/ChunkLoadTimeout"},"chunkLoading":{"$ref":"#/definitions/ChunkLoading"},"chunkLoadingGlobal":{"$ref":"#/definitions/ChunkLoadingGlobal"},"clean":{"$ref":"#/definitions/Clean"},"compareBeforeEmit":{"$ref":"#/definitions/CompareBeforeEmit"},"crossOriginLoading":{"$ref":"#/definitions/CrossOriginLoading"},"devtoolFallbackModuleFilenameTemplate":{"$ref":"#/definitions/DevtoolFallbackModuleFilenameTemplate"},"devtoolModuleFilenameTemplate":{"$ref":"#/definitions/DevtoolModuleFilenameTemplate"},"devtoolNamespace":{"$ref":"#/definitions/DevtoolNamespace"},"enabledChunkLoadingTypes":{"$ref":"#/definitions/EnabledChunkLoadingTypes"},"enabledLibraryTypes":{"$ref":"#/definitions/EnabledLibraryTypes"},"enabledWasmLoadingTypes":{"$ref":"#/definitions/EnabledWasmLoadingTypes"},"environment":{"$ref":"#/definitions/Environment"},"filename":{"$ref":"#/definitions/Filename"},"globalObject":{"$ref":"#/definitions/GlobalObject"},"hashDigest":{"$ref":"#/definitions/HashDigest"},"hashDigestLength":{"$ref":"#/definitions/HashDigestLength"},"hashFunction":{"$ref":"#/definitions/HashFunction"},"hashSalt":{"$ref":"#/definitions/HashSalt"},"hotUpdateChunkFilename":{"$ref":"#/definitions/HotUpdateChunkFilename"},"hotUpdateGlobal":{"$ref":"#/definitions/HotUpdateGlobal"},"hotUpdateMainFilename":{"$ref":"#/definitions/HotUpdateMainFilename"},"iife":{"$ref":"#/definitions/Iife"},"importFunctionName":{"$ref":"#/definitions/ImportFunctionName"},"importMetaName":{"$ref":"#/definitions/ImportMetaName"},"library":{"$ref":"#/definitions/Library"},"libraryExport":{"cli":{"exclude":true},"oneOf":[{"$ref":"#/definitions/LibraryExport"}]},"libraryTarget":{"cli":{"exclude":true},"oneOf":[{"$ref":"#/definitions/LibraryType"}]},"module":{"$ref":"#/definitions/OutputModule"},"path":{"$ref":"#/definitions/Path"},"pathinfo":{"$ref":"#/definitions/Pathinfo"},"publicPath":{"$ref":"#/definitions/PublicPath"},"scriptType":{"$ref":"#/definitions/ScriptType"},"sourceMapFilename":{"$ref":"#/definitions/SourceMapFilename"},"sourcePrefix":{"$ref":"#/definitions/SourcePrefix"},"strictModuleErrorHandling":{"$ref":"#/definitions/StrictModuleErrorHandling"},"strictModuleExceptionHandling":{"$ref":"#/definitions/StrictModuleExceptionHandling"},"trustedTypes":{"description":"Use a Trusted Types policy to create urls for chunks. \'output.uniqueName\' is used a default policy name. Passing a string sets a custom policy name.","anyOf":[{"enum":[true]},{"description":"The name of the Trusted Types policy created by webpack to serve bundle chunks.","type":"string","minLength":1},{"$ref":"#/definitions/TrustedTypes"}]},"umdNamedDefine":{"cli":{"exclude":true},"oneOf":[{"$ref":"#/definitions/UmdNamedDefine"}]},"uniqueName":{"$ref":"#/definitions/UniqueName"},"wasmLoading":{"$ref":"#/definitions/WasmLoading"},"webassemblyModuleFilename":{"$ref":"#/definitions/WebassemblyModuleFilename"},"workerChunkLoading":{"$ref":"#/definitions/ChunkLoading"},"workerWasmLoading":{"$ref":"#/definitions/WasmLoading"}}},"OutputModule":{"description":"Output javascript files as module source type.","type":"boolean"},"OutputNormalized":{"description":"Normalized options affecting the output of the compilation. `output` options tell webpack how to write the compiled files to disk.","type":"object","additionalProperties":false,"properties":{"assetModuleFilename":{"$ref":"#/definitions/AssetModuleFilename"},"charset":{"$ref":"#/definitions/Charset"},"chunkFilename":{"$ref":"#/definitions/ChunkFilename"},"chunkFormat":{"$ref":"#/definitions/ChunkFormat"},"chunkLoadTimeout":{"$ref":"#/definitions/ChunkLoadTimeout"},"chunkLoading":{"$ref":"#/definitions/ChunkLoading"},"chunkLoadingGlobal":{"$ref":"#/definitions/ChunkLoadingGlobal"},"clean":{"$ref":"#/definitions/Clean"},"compareBeforeEmit":{"$ref":"#/definitions/CompareBeforeEmit"},"crossOriginLoading":{"$ref":"#/definitions/CrossOriginLoading"},"devtoolFallbackModuleFilenameTemplate":{"$ref":"#/definitions/DevtoolFallbackModuleFilenameTemplate"},"devtoolModuleFilenameTemplate":{"$ref":"#/definitions/DevtoolModuleFilenameTemplate"},"devtoolNamespace":{"$ref":"#/definitions/DevtoolNamespace"},"enabledChunkLoadingTypes":{"$ref":"#/definitions/EnabledChunkLoadingTypes"},"enabledLibraryTypes":{"$ref":"#/definitions/EnabledLibraryTypes"},"enabledWasmLoadingTypes":{"$ref":"#/definitions/EnabledWasmLoadingTypes"},"environment":{"$ref":"#/definitions/Environment"},"filename":{"$ref":"#/definitions/Filename"},"globalObject":{"$ref":"#/definitions/GlobalObject"},"hashDigest":{"$ref":"#/definitions/HashDigest"},"hashDigestLength":{"$ref":"#/definitions/HashDigestLength"},"hashFunction":{"$ref":"#/definitions/HashFunction"},"hashSalt":{"$ref":"#/definitions/HashSalt"},"hotUpdateChunkFilename":{"$ref":"#/definitions/HotUpdateChunkFilename"},"hotUpdateGlobal":{"$ref":"#/definitions/HotUpdateGlobal"},"hotUpdateMainFilename":{"$ref":"#/definitions/HotUpdateMainFilename"},"iife":{"$ref":"#/definitions/Iife"},"importFunctionName":{"$ref":"#/definitions/ImportFunctionName"},"importMetaName":{"$ref":"#/definitions/ImportMetaName"},"library":{"$ref":"#/definitions/LibraryOptions"},"module":{"$ref":"#/definitions/OutputModule"},"path":{"$ref":"#/definitions/Path"},"pathinfo":{"$ref":"#/definitions/Pathinfo"},"publicPath":{"$ref":"#/definitions/PublicPath"},"scriptType":{"$ref":"#/definitions/ScriptType"},"sourceMapFilename":{"$ref":"#/definitions/SourceMapFilename"},"sourcePrefix":{"$ref":"#/definitions/SourcePrefix"},"strictModuleErrorHandling":{"$ref":"#/definitions/StrictModuleErrorHandling"},"strictModuleExceptionHandling":{"$ref":"#/definitions/StrictModuleExceptionHandling"},"trustedTypes":{"$ref":"#/definitions/TrustedTypes"},"uniqueName":{"$ref":"#/definitions/UniqueName"},"wasmLoading":{"$ref":"#/definitions/WasmLoading"},"webassemblyModuleFilename":{"$ref":"#/definitions/WebassemblyModuleFilename"},"workerChunkLoading":{"$ref":"#/definitions/ChunkLoading"},"workerWasmLoading":{"$ref":"#/definitions/WasmLoading"}}},"Parallelism":{"description":"The number of parallel processed modules in the compilation.","type":"number","minimum":1},"ParserOptionsByModuleType":{"description":"Specify options for each parser.","type":"object","additionalProperties":{"description":"Options for parsing.","type":"object","additionalProperties":true},"properties":{"asset":{"$ref":"#/definitions/AssetParserOptions"},"asset/inline":{"$ref":"#/definitions/EmptyParserOptions"},"asset/resource":{"$ref":"#/definitions/EmptyParserOptions"},"asset/source":{"$ref":"#/definitions/EmptyParserOptions"},"javascript":{"$ref":"#/definitions/JavascriptParserOptions"},"javascript/auto":{"$ref":"#/definitions/JavascriptParserOptions"},"javascript/dynamic":{"$ref":"#/definitions/JavascriptParserOptions"},"javascript/esm":{"$ref":"#/definitions/JavascriptParserOptions"}}},"Path":{"description":"The output directory as **absolute path** (required).","type":"string","absolutePath":true},"Pathinfo":{"description":"Include comments with information about the modules.","anyOf":[{"enum":["verbose"]},{"type":"boolean"}]},"Performance":{"description":"Configuration for web performance recommendations.","anyOf":[{"enum":[false]},{"$ref":"#/definitions/PerformanceOptions"}]},"PerformanceOptions":{"description":"Configuration object for web performance recommendations.","type":"object","additionalProperties":false,"properties":{"assetFilter":{"description":"Filter function to select assets that are checked.","instanceof":"Function","tsType":"Function"},"hints":{"description":"Sets the format of the hints: warnings, errors or nothing at all.","enum":[false,"warning","error"]},"maxAssetSize":{"description":"File size limit (in bytes) when exceeded, that webpack will provide performance hints.","type":"number"},"maxEntrypointSize":{"description":"Total size of an entry point (in bytes).","type":"number"}}},"Plugins":{"description":"Add additional plugins to the compiler.","type":"array","items":{"description":"Plugin of type object or instanceof Function.","anyOf":[{"$ref":"#/definitions/WebpackPluginInstance"},{"$ref":"#/definitions/WebpackPluginFunction"}]}},"Profile":{"description":"Capture timing information for each module.","type":"boolean"},"PublicPath":{"description":"The \'publicPath\' specifies the public URL address of the output files when referenced in a browser.","anyOf":[{"enum":["auto"]},{"$ref":"#/definitions/RawPublicPath"}]},"RawPublicPath":{"description":"The \'publicPath\' specifies the public URL address of the output files when referenced in a browser.","anyOf":[{"type":"string"},{"instanceof":"Function","tsType":"((pathData: import(\\"../lib/Compilation\\").PathData, assetInfo?: import(\\"../lib/Compilation\\").AssetInfo) => string)"}]},"RecordsInputPath":{"description":"Store compiler state to a json file.","anyOf":[{"enum":[false]},{"type":"string","absolutePath":true}]},"RecordsOutputPath":{"description":"Load compiler state from a json file.","anyOf":[{"enum":[false]},{"type":"string","absolutePath":true}]},"RecordsPath":{"description":"Store/Load compiler state from/to a json file. This will result in persistent ids of modules and chunks. An absolute path is expected. `recordsPath` is used for `recordsInputPath` and `recordsOutputPath` if they left undefined.","anyOf":[{"enum":[false]},{"type":"string","absolutePath":true}]},"Resolve":{"description":"Options for the resolver.","oneOf":[{"$ref":"#/definitions/ResolveOptions"}]},"ResolveAlias":{"description":"Redirect module requests.","anyOf":[{"type":"array","items":{"description":"Alias configuration.","type":"object","additionalProperties":false,"properties":{"alias":{"description":"New request.","anyOf":[{"description":"Multiple alternative requests.","type":"array","items":{"description":"One choice of request.","type":"string","minLength":1}},{"description":"Ignore request (replace with empty module).","enum":[false]},{"description":"New request.","type":"string","minLength":1}]},"name":{"description":"Request to be redirected.","type":"string"},"onlyModule":{"description":"Redirect only exact matching request.","type":"boolean"}},"required":["alias","name"]}},{"type":"object","additionalProperties":{"description":"New request.","anyOf":[{"description":"Multiple alternative requests.","type":"array","items":{"description":"One choice of request.","type":"string","minLength":1}},{"description":"Ignore request (replace with empty module).","enum":[false]},{"description":"New request.","type":"string","minLength":1}]}}]},"ResolveLoader":{"description":"Options for the resolver when resolving loaders.","oneOf":[{"$ref":"#/definitions/ResolveOptions"}]},"ResolveOptions":{"description":"Options object for resolving requests.","type":"object","additionalProperties":false,"properties":{"alias":{"$ref":"#/definitions/ResolveAlias"},"aliasFields":{"description":"Fields in the description file (usually package.json) which are used to redirect requests inside the module.","type":"array","items":{"description":"Field in the description file (usually package.json) which are used to redirect requests inside the module.","anyOf":[{"type":"array","items":{"description":"Part of the field path in the description file (usually package.json) which are used to redirect requests inside the module.","type":"string","minLength":1}},{"type":"string","minLength":1}]}},"byDependency":{"description":"Extra resolve options per dependency category. Typical categories are \\"commonjs\\", \\"amd\\", \\"esm\\".","type":"object","additionalProperties":{"description":"Options object for resolving requests.","oneOf":[{"$ref":"#/definitions/ResolveOptions"}]}},"cache":{"description":"Enable caching of successfully resolved requests (cache entries are revalidated).","type":"boolean"},"cachePredicate":{"description":"Predicate function to decide which requests should be cached.","instanceof":"Function","tsType":"((request: import(\'enhanced-resolve\').ResolveRequest) => boolean)"},"cacheWithContext":{"description":"Include the context information in the cache identifier when caching.","type":"boolean"},"conditionNames":{"description":"Condition names for exports field entry point.","type":"array","items":{"description":"Condition names for exports field entry point.","type":"string"}},"descriptionFiles":{"description":"Filenames used to find a description file (like a package.json).","type":"array","items":{"description":"Filename used to find a description file (like a package.json).","type":"string","minLength":1}},"enforceExtension":{"description":"Enforce the resolver to use one of the extensions from the extensions option (User must specify requests without extension).","type":"boolean"},"exportsFields":{"description":"Field names from the description file (usually package.json) which are used to provide entry points of a package.","type":"array","items":{"description":"Field name from the description file (usually package.json) which is used to provide entry points of a package.","type":"string"}},"extensions":{"description":"Extensions added to the request when trying to find the file.","type":"array","items":{"description":"Extension added to the request when trying to find the file.","type":"string"}},"fallback":{"description":"Redirect module requests when normal resolving fails.","oneOf":[{"$ref":"#/definitions/ResolveAlias"}]},"fileSystem":{"description":"Filesystem for the resolver.","tsType":"(import(\'../lib/util/fs\').InputFileSystem)"},"fullySpecified":{"description":"Treats the request specified by the user as fully specified, meaning no extensions are added and the mainFiles in directories are not resolved (This doesn\'t affect requests from mainFields, aliasFields or aliases).","type":"boolean"},"importsFields":{"description":"Field names from the description file (usually package.json) which are used to provide internal request of a package (requests starting with # are considered as internal).","type":"array","items":{"description":"Field name from the description file (usually package.json) which is used to provide internal request of a package (requests starting with # are considered as internal).","type":"string"}},"mainFields":{"description":"Field names from the description file (package.json) which are used to find the default entry point.","type":"array","items":{"description":"Field name from the description file (package.json) which are used to find the default entry point.","anyOf":[{"type":"array","items":{"description":"Part of the field path from the description file (package.json) which are used to find the default entry point.","type":"string","minLength":1}},{"type":"string","minLength":1}]}},"mainFiles":{"description":"Filenames used to find the default entry point if there is no description file or main field.","type":"array","items":{"description":"Filename used to find the default entry point if there is no description file or main field.","type":"string","minLength":1}},"modules":{"description":"Folder names or directory paths where to find modules.","type":"array","items":{"description":"Folder name or directory path where to find modules.","type":"string","minLength":1}},"plugins":{"description":"Plugins for the resolver.","type":"array","cli":{"exclude":true},"items":{"description":"Plugin of type object or instanceof Function.","anyOf":[{"enum":["..."]},{"$ref":"#/definitions/ResolvePluginInstance"}]}},"preferAbsolute":{"description":"Prefer to resolve server-relative URLs (starting with \'/\') as absolute paths before falling back to resolve in \'resolve.roots\'.","type":"boolean"},"preferRelative":{"description":"Prefer to resolve module requests as relative request and fallback to resolving as module.","type":"boolean"},"resolver":{"description":"Custom resolver.","tsType":"(import(\'enhanced-resolve\').Resolver)"},"restrictions":{"description":"A list of resolve restrictions. Resolve results must fulfill all of these restrictions to resolve successfully. Other resolve paths are taken when restrictions are not met.","type":"array","items":{"description":"Resolve restriction. Resolve result must fulfill this restriction.","anyOf":[{"instanceof":"RegExp","tsType":"RegExp"},{"type":"string","absolutePath":true,"minLength":1}]}},"roots":{"description":"A list of directories in which requests that are server-relative URLs (starting with \'/\') are resolved.","type":"array","items":{"description":"Directory in which requests that are server-relative URLs (starting with \'/\') are resolved.","type":"string"}},"symlinks":{"description":"Enable resolving symlinks to the original location.","type":"boolean"},"unsafeCache":{"description":"Enable caching of successfully resolved requests (cache entries are not revalidated).","anyOf":[{"type":"boolean"},{"type":"object","additionalProperties":true}]},"useSyncFileSystemCalls":{"description":"Use synchronous filesystem calls for the resolver.","type":"boolean"}}},"ResolvePluginInstance":{"description":"Plugin instance.","type":"object","additionalProperties":true,"properties":{"apply":{"description":"The run point of the plugin, required method.","instanceof":"Function","tsType":"(resolver: import(\'enhanced-resolve\').Resolver) => void"}},"required":["apply"]},"RuleSetCondition":{"description":"A condition matcher.","cli":{"helper":true},"anyOf":[{"instanceof":"RegExp","tsType":"RegExp"},{"type":"string"},{"instanceof":"Function","tsType":"((value: string) => boolean)"},{"$ref":"#/definitions/RuleSetLogicalConditions"},{"$ref":"#/definitions/RuleSetConditions"}]},"RuleSetConditionAbsolute":{"description":"A condition matcher matching an absolute path.","cli":{"helper":true},"anyOf":[{"instanceof":"RegExp","tsType":"RegExp"},{"type":"string","absolutePath":true},{"instanceof":"Function","tsType":"((value: string) => boolean)"},{"$ref":"#/definitions/RuleSetLogicalConditionsAbsolute"},{"$ref":"#/definitions/RuleSetConditionsAbsolute"}]},"RuleSetConditionOrConditions":{"description":"One or multiple rule conditions.","cli":{"helper":true},"anyOf":[{"$ref":"#/definitions/RuleSetCondition"},{"$ref":"#/definitions/RuleSetConditions"}]},"RuleSetConditionOrConditionsAbsolute":{"description":"One or multiple rule conditions matching an absolute path.","cli":{"helper":true},"anyOf":[{"$ref":"#/definitions/RuleSetConditionAbsolute"},{"$ref":"#/definitions/RuleSetConditionsAbsolute"}]},"RuleSetConditions":{"description":"A list of rule conditions.","type":"array","items":{"description":"A rule condition.","oneOf":[{"$ref":"#/definitions/RuleSetCondition"}]}},"RuleSetConditionsAbsolute":{"description":"A list of rule conditions matching an absolute path.","type":"array","items":{"description":"A rule condition matching an absolute path.","oneOf":[{"$ref":"#/definitions/RuleSetConditionAbsolute"}]}},"RuleSetLoader":{"description":"A loader request.","type":"string","minLength":1},"RuleSetLoaderOptions":{"description":"Options passed to a loader.","anyOf":[{"type":"string"},{"type":"object"}]},"RuleSetLogicalConditions":{"description":"Logic operators used in a condition matcher.","type":"object","additionalProperties":false,"properties":{"and":{"description":"Logical AND.","oneOf":[{"$ref":"#/definitions/RuleSetConditions"}]},"not":{"description":"Logical NOT.","oneOf":[{"$ref":"#/definitions/RuleSetCondition"}]},"or":{"description":"Logical OR.","oneOf":[{"$ref":"#/definitions/RuleSetConditions"}]}}},"RuleSetLogicalConditionsAbsolute":{"description":"Logic operators used in a condition matcher.","type":"object","additionalProperties":false,"properties":{"and":{"description":"Logical AND.","oneOf":[{"$ref":"#/definitions/RuleSetConditionsAbsolute"}]},"not":{"description":"Logical NOT.","oneOf":[{"$ref":"#/definitions/RuleSetConditionAbsolute"}]},"or":{"description":"Logical OR.","oneOf":[{"$ref":"#/definitions/RuleSetConditionsAbsolute"}]}}},"RuleSetRule":{"description":"A rule description with conditions and effects for modules.","type":"object","additionalProperties":false,"properties":{"compiler":{"description":"Match the child compiler name.","oneOf":[{"$ref":"#/definitions/RuleSetConditionOrConditions"}]},"dependency":{"description":"Match dependency type.","oneOf":[{"$ref":"#/definitions/RuleSetConditionOrConditions"}]},"descriptionData":{"description":"Match values of properties in the description file (usually package.json).","type":"object","additionalProperties":{"$ref":"#/definitions/RuleSetConditionOrConditions"}},"enforce":{"description":"Enforce this rule as pre or post step.","enum":["pre","post"]},"exclude":{"description":"Shortcut for resource.exclude.","oneOf":[{"$ref":"#/definitions/RuleSetConditionOrConditionsAbsolute"}]},"generator":{"description":"The options for the module generator.","type":"object"},"include":{"description":"Shortcut for resource.include.","oneOf":[{"$ref":"#/definitions/RuleSetConditionOrConditionsAbsolute"}]},"issuer":{"description":"Match the issuer of the module (The module pointing to this module).","oneOf":[{"$ref":"#/definitions/RuleSetConditionOrConditionsAbsolute"}]},"issuerLayer":{"description":"Match layer of the issuer of this module (The module pointing to this module).","oneOf":[{"$ref":"#/definitions/RuleSetConditionOrConditions"}]},"layer":{"description":"Specifies the layer in which the module should be placed in.","type":"string"},"loader":{"description":"Shortcut for use.loader.","oneOf":[{"$ref":"#/definitions/RuleSetLoader"}]},"mimetype":{"description":"Match module mimetype when load from Data URI.","oneOf":[{"$ref":"#/definitions/RuleSetConditionOrConditions"}]},"oneOf":{"description":"Only execute the first matching rule in this array.","type":"array","items":{"description":"A rule.","oneOf":[{"$ref":"#/definitions/RuleSetRule"}]}},"options":{"description":"Shortcut for use.options.","cli":{"exclude":true},"oneOf":[{"$ref":"#/definitions/RuleSetLoaderOptions"}]},"parser":{"description":"Options for parsing.","type":"object","additionalProperties":true},"realResource":{"description":"Match the real resource path of the module.","oneOf":[{"$ref":"#/definitions/RuleSetConditionOrConditionsAbsolute"}]},"resolve":{"description":"Options for the resolver.","type":"object","oneOf":[{"$ref":"#/definitions/ResolveOptions"}]},"resource":{"description":"Match the resource path of the module.","oneOf":[{"$ref":"#/definitions/RuleSetConditionOrConditionsAbsolute"}]},"resourceFragment":{"description":"Match the resource fragment of the module.","oneOf":[{"$ref":"#/definitions/RuleSetConditionOrConditions"}]},"resourceQuery":{"description":"Match the resource query of the module.","oneOf":[{"$ref":"#/definitions/RuleSetConditionOrConditions"}]},"rules":{"description":"Match and execute these rules when this rule is matched.","type":"array","items":{"description":"A rule.","oneOf":[{"$ref":"#/definitions/RuleSetRule"}]}},"scheme":{"description":"Match module scheme.","oneOf":[{"$ref":"#/definitions/RuleSetConditionOrConditions"}]},"sideEffects":{"description":"Flags a module as with or without side effects.","type":"boolean"},"test":{"description":"Shortcut for resource.test.","oneOf":[{"$ref":"#/definitions/RuleSetConditionOrConditionsAbsolute"}]},"type":{"description":"Module type to use for the module.","type":"string"},"use":{"description":"Modifiers applied to the module when rule is matched.","oneOf":[{"$ref":"#/definitions/RuleSetUse"}]}}},"RuleSetRules":{"description":"A list of rules.","type":"array","items":{"description":"A rule.","anyOf":[{"cli":{"exclude":true},"enum":["..."]},{"$ref":"#/definitions/RuleSetRule"}]}},"RuleSetUse":{"description":"A list of descriptions of loaders applied.","anyOf":[{"type":"array","items":{"description":"An use item.","oneOf":[{"$ref":"#/definitions/RuleSetUseItem"}]}},{"instanceof":"Function","tsType":"((data: { resource: string, realResource: string, resourceQuery: string, issuer: string, compiler: string }) => RuleSetUseItem[])"},{"$ref":"#/definitions/RuleSetUseItem"}]},"RuleSetUseItem":{"description":"A description of an applied loader.","anyOf":[{"type":"object","additionalProperties":false,"properties":{"ident":{"description":"Unique loader options identifier.","type":"string"},"loader":{"description":"Loader name.","oneOf":[{"$ref":"#/definitions/RuleSetLoader"}]},"options":{"description":"Loader options.","oneOf":[{"$ref":"#/definitions/RuleSetLoaderOptions"}]}}},{"instanceof":"Function","tsType":"((data: object) => RuleSetUseItem|RuleSetUseItem[])"},{"$ref":"#/definitions/RuleSetLoader"}]},"ScriptType":{"description":"This option enables loading async chunks via a custom script type, such as script type=\\"module\\".","enum":[false,"text/javascript","module"]},"SnapshotOptions":{"description":"Options affecting how file system snapshots are created and validated.","type":"object","additionalProperties":false,"properties":{"buildDependencies":{"description":"Options for snapshotting build dependencies to determine if the whole cache need to be invalidated.","type":"object","additionalProperties":false,"properties":{"hash":{"description":"Use hashes of the content of the files/directories to determine invalidation.","type":"boolean"},"timestamp":{"description":"Use timestamps of the files/directories to determine invalidation.","type":"boolean"}}},"immutablePaths":{"description":"List of paths that are managed by a package manager and contain a version or hash in its path so all files are immutable.","type":"array","items":{"description":"A path to a immutable directory (usually a package manager cache directory).","type":"string","absolutePath":true,"minLength":1}},"managedPaths":{"description":"List of paths that are managed by a package manager and can be trusted to not be modified otherwise.","type":"array","items":{"description":"A path to a managed directory (usually a node_modules directory).","type":"string","absolutePath":true,"minLength":1}},"module":{"description":"Options for snapshotting dependencies of modules to determine if they need to be built again.","type":"object","additionalProperties":false,"properties":{"hash":{"description":"Use hashes of the content of the files/directories to determine invalidation.","type":"boolean"},"timestamp":{"description":"Use timestamps of the files/directories to determine invalidation.","type":"boolean"}}},"resolve":{"description":"Options for snapshotting dependencies of request resolving to determine if requests need to be re-resolved.","type":"object","additionalProperties":false,"properties":{"hash":{"description":"Use hashes of the content of the files/directories to determine invalidation.","type":"boolean"},"timestamp":{"description":"Use timestamps of the files/directories to determine invalidation.","type":"boolean"}}},"resolveBuildDependencies":{"description":"Options for snapshotting the resolving of build dependencies to determine if the build dependencies need to be re-resolved.","type":"object","additionalProperties":false,"properties":{"hash":{"description":"Use hashes of the content of the files/directories to determine invalidation.","type":"boolean"},"timestamp":{"description":"Use timestamps of the files/directories to determine invalidation.","type":"boolean"}}}}},"SourceMapFilename":{"description":"The filename of the SourceMaps for the JavaScript files. They are inside the \'output.path\' directory.","type":"string","absolutePath":false},"SourcePrefix":{"description":"Prefixes every line of the source in the bundle with this string.","type":"string"},"StatsOptions":{"description":"Stats options object.","type":"object","additionalProperties":false,"properties":{"all":{"description":"Fallback value for stats options when an option is not defined (has precedence over local webpack defaults).","type":"boolean"},"assets":{"description":"Add assets information.","type":"boolean"},"assetsSort":{"description":"Sort the assets by that field.","type":"string"},"assetsSpace":{"description":"Space to display assets (groups will be collapsed to fit this space).","type":"number"},"builtAt":{"description":"Add built at time information.","type":"boolean"},"cached":{"description":"Add information about cached (not built) modules (deprecated: use \'cachedModules\' instead).","type":"boolean"},"cachedAssets":{"description":"Show cached assets (setting this to `false` only shows emitted files).","type":"boolean"},"cachedModules":{"description":"Add information about cached (not built) modules.","type":"boolean"},"children":{"description":"Add children information.","type":"boolean"},"chunkGroupAuxiliary":{"description":"Display auxiliary assets in chunk groups.","type":"boolean"},"chunkGroupChildren":{"description":"Display children of chunk groups.","type":"boolean"},"chunkGroupMaxAssets":{"description":"Limit of assets displayed in chunk groups.","type":"number"},"chunkGroups":{"description":"Display all chunk groups with the corresponding bundles.","type":"boolean"},"chunkModules":{"description":"Add built modules information to chunk information.","type":"boolean"},"chunkModulesSpace":{"description":"Space to display chunk modules (groups will be collapsed to fit this space, value is in number of modules/group).","type":"number"},"chunkOrigins":{"description":"Add the origins of chunks and chunk merging info.","type":"boolean"},"chunkRelations":{"description":"Add information about parent, children and sibling chunks to chunk information.","type":"boolean"},"chunks":{"description":"Add chunk information.","type":"boolean"},"chunksSort":{"description":"Sort the chunks by that field.","type":"string"},"colors":{"description":"Enables/Disables colorful output.","anyOf":[{"description":"Enables/Disables colorful output.","type":"boolean"},{"type":"object","additionalProperties":false,"properties":{"bold":{"description":"Custom color for bold text.","type":"string"},"cyan":{"description":"Custom color for cyan text.","type":"string"},"green":{"description":"Custom color for green text.","type":"string"},"magenta":{"description":"Custom color for magenta text.","type":"string"},"red":{"description":"Custom color for red text.","type":"string"},"yellow":{"description":"Custom color for yellow text.","type":"string"}}}]},"context":{"description":"Context directory for request shortening.","type":"string","absolutePath":true},"dependentModules":{"description":"Show chunk modules that are dependencies of other modules of the chunk.","type":"boolean"},"depth":{"description":"Add module depth in module graph.","type":"boolean"},"entrypoints":{"description":"Display the entry points with the corresponding bundles.","anyOf":[{"enum":["auto"]},{"type":"boolean"}]},"env":{"description":"Add --env information.","type":"boolean"},"errorDetails":{"description":"Add details to errors (like resolving log).","anyOf":[{"enum":["auto"]},{"type":"boolean"}]},"errorStack":{"description":"Add internal stack trace to errors.","type":"boolean"},"errors":{"description":"Add errors.","type":"boolean"},"errorsCount":{"description":"Add errors count.","type":"boolean"},"exclude":{"description":"Please use excludeModules instead.","cli":{"exclude":true},"anyOf":[{"type":"boolean"},{"$ref":"#/definitions/ModuleFilterTypes"}]},"excludeAssets":{"description":"Suppress assets that match the specified filters. Filters can be Strings, RegExps or Functions.","oneOf":[{"$ref":"#/definitions/AssetFilterTypes"}]},"excludeModules":{"description":"Suppress modules that match the specified filters. Filters can be Strings, RegExps, Booleans or Functions.","anyOf":[{"type":"boolean"},{"$ref":"#/definitions/ModuleFilterTypes"}]},"groupAssetsByChunk":{"description":"Group assets by how their are related to chunks.","type":"boolean"},"groupAssetsByEmitStatus":{"description":"Group assets by their status (emitted, compared for emit or cached).","type":"boolean"},"groupAssetsByExtension":{"description":"Group assets by their extension.","type":"boolean"},"groupAssetsByInfo":{"description":"Group assets by their asset info (immutable, development, hotModuleReplacement, etc).","type":"boolean"},"groupAssetsByPath":{"description":"Group assets by their path.","type":"boolean"},"groupModulesByAttributes":{"description":"Group modules by their attributes (errors, warnings, assets, optional, orphan, or dependent).","type":"boolean"},"groupModulesByCacheStatus":{"description":"Group modules by their status (cached or built and cacheable).","type":"boolean"},"groupModulesByExtension":{"description":"Group modules by their extension.","type":"boolean"},"groupModulesByLayer":{"description":"Group modules by their layer.","type":"boolean"},"groupModulesByPath":{"description":"Group modules by their path.","type":"boolean"},"groupModulesByType":{"description":"Group modules by their type.","type":"boolean"},"hash":{"description":"Add the hash of the compilation.","type":"boolean"},"ids":{"description":"Add ids.","type":"boolean"},"logging":{"description":"Add logging output.","anyOf":[{"description":"Specify log level of logging output.","enum":["none","error","warn","info","log","verbose"]},{"description":"Enable/disable logging output (`true`: shows normal logging output, loglevel: log).","type":"boolean"}]},"loggingDebug":{"description":"Include debug logging of specified loggers (i. e. for plugins or loaders). Filters can be Strings, RegExps or Functions.","anyOf":[{"description":"Enable/Disable debug logging for all loggers.","type":"boolean"},{"$ref":"#/definitions/FilterTypes"}]},"loggingTrace":{"description":"Add stack traces to logging output.","type":"boolean"},"moduleAssets":{"description":"Add information about assets inside modules.","type":"boolean"},"moduleTrace":{"description":"Add dependencies and origin of warnings/errors.","type":"boolean"},"modules":{"description":"Add built modules information.","type":"boolean"},"modulesSort":{"description":"Sort the modules by that field.","type":"string"},"modulesSpace":{"description":"Space to display modules (groups will be collapsed to fit this space, value is in number of modules/groups).","type":"number"},"nestedModules":{"description":"Add information about modules nested in other modules (like with module concatenation).","type":"boolean"},"nestedModulesSpace":{"description":"Space to display modules nested within other modules (groups will be collapsed to fit this space, value is in number of modules/group).","type":"number"},"optimizationBailout":{"description":"Show reasons why optimization bailed out for modules.","type":"boolean"},"orphanModules":{"description":"Add information about orphan modules.","type":"boolean"},"outputPath":{"description":"Add output path information.","type":"boolean"},"performance":{"description":"Add performance hint flags.","type":"boolean"},"preset":{"description":"Preset for the default values.","anyOf":[{"type":"boolean"},{"type":"string"}]},"providedExports":{"description":"Show exports provided by modules.","type":"boolean"},"publicPath":{"description":"Add public path information.","type":"boolean"},"reasons":{"description":"Add information about the reasons why modules are included.","type":"boolean"},"relatedAssets":{"description":"Add information about assets that are related to other assets (like SourceMaps for assets).","type":"boolean"},"runtime":{"description":"Add information about runtime modules (deprecated: use \'runtimeModules\' instead).","type":"boolean"},"runtimeModules":{"description":"Add information about runtime modules.","type":"boolean"},"source":{"description":"Add the source code of modules.","type":"boolean"},"timings":{"description":"Add timing information.","type":"boolean"},"usedExports":{"description":"Show exports used by modules.","type":"boolean"},"version":{"description":"Add webpack version information.","type":"boolean"},"warnings":{"description":"Add warnings.","type":"boolean"},"warningsCount":{"description":"Add warnings count.","type":"boolean"},"warningsFilter":{"description":"Suppress listing warnings that match the specified filters (they will still be counted). Filters can be Strings, RegExps or Functions.","oneOf":[{"$ref":"#/definitions/WarningFilterTypes"}]}}},"StatsValue":{"description":"Stats options object or preset name.","anyOf":[{"enum":["none","summary","errors-only","errors-warnings","minimal","normal","detailed","verbose"]},{"type":"boolean"},{"$ref":"#/definitions/StatsOptions"}]},"StrictModuleErrorHandling":{"description":"Handles error in module loading correctly at a performance cost. This will handle module error compatible with the EcmaScript Modules spec.","type":"boolean"},"StrictModuleExceptionHandling":{"description":"Handles exceptions in module loading correctly at a performance cost (Deprecated). This will handle module error compatible with the Node.js CommonJS way.","type":"boolean"},"Target":{"description":"Environment to build for. An array of environments to build for all of them when possible.","anyOf":[{"type":"array","items":{"description":"Environment to build for.","type":"string","minLength":1},"minItems":1},{"enum":[false]},{"type":"string","minLength":1}]},"TrustedTypes":{"description":"Use a Trusted Types policy to create urls for chunks.","type":"object","additionalProperties":false,"properties":{"policyName":{"description":"The name of the Trusted Types policy created by webpack to serve bundle chunks.","type":"string","minLength":1}}},"UmdNamedDefine":{"description":"If `output.libraryTarget` is set to umd and `output.library` is set, setting this to true will name the AMD module.","type":"boolean"},"UniqueName":{"description":"A unique name of the webpack build to avoid multiple webpack runtimes to conflict when using globals.","type":"string","minLength":1},"WarningFilterItemTypes":{"description":"Filtering value, regexp or function.","cli":{"helper":true},"anyOf":[{"instanceof":"RegExp","tsType":"RegExp"},{"type":"string","absolutePath":false},{"instanceof":"Function","tsType":"((warning: import(\'../lib/stats/DefaultStatsFactoryPlugin\').StatsError, value: string) => boolean)"}]},"WarningFilterTypes":{"description":"Filtering warnings.","cli":{"helper":true},"anyOf":[{"type":"array","items":{"description":"Rule to filter.","cli":{"helper":true},"oneOf":[{"$ref":"#/definitions/WarningFilterItemTypes"}]}},{"$ref":"#/definitions/WarningFilterItemTypes"}]},"WasmLoading":{"description":"The method of loading WebAssembly Modules (methods included by default are \'fetch\' (web/WebWorker), \'async-node\' (node.js), but others might be added by plugins).","anyOf":[{"enum":[false]},{"$ref":"#/definitions/WasmLoadingType"}]},"WasmLoadingType":{"description":"The method of loading WebAssembly Modules (methods included by default are \'fetch\' (web/WebWorker), \'async-node\' (node.js), but others might be added by plugins).","anyOf":[{"enum":["fetch-streaming","fetch","async-node"]},{"type":"string"}]},"Watch":{"description":"Enter watch mode, which rebuilds on file change.","type":"boolean"},"WatchOptions":{"description":"Options for the watcher.","type":"object","additionalProperties":false,"properties":{"aggregateTimeout":{"description":"Delay the rebuilt after the first change. Value is a time in ms.","type":"number"},"followSymlinks":{"description":"Resolve symlinks and watch symlink and real file. This is usually not needed as webpack already resolves symlinks (\'resolve.symlinks\').","type":"boolean"},"ignored":{"description":"Ignore some files from watching (glob pattern or regexp).","anyOf":[{"type":"array","items":{"description":"A glob pattern for files that should be ignored from watching.","type":"string","minLength":1}},{"instanceof":"RegExp","tsType":"RegExp"},{"description":"A single glob pattern for files that should be ignored from watching.","type":"string","minLength":1}]},"poll":{"description":"Enable polling mode for watching.","anyOf":[{"description":"`number`: use polling with specified interval.","type":"number"},{"description":"`true`: use polling.","type":"boolean"}]},"stdin":{"description":"Stop watching when stdin stream has ended.","type":"boolean"}}},"WebassemblyModuleFilename":{"description":"The filename of WebAssembly modules as relative path inside the \'output.path\' directory.","type":"string","absolutePath":false},"WebpackOptionsNormalized":{"description":"Normalized webpack options object.","type":"object","additionalProperties":false,"properties":{"amd":{"$ref":"#/definitions/Amd"},"bail":{"$ref":"#/definitions/Bail"},"cache":{"$ref":"#/definitions/CacheOptionsNormalized"},"context":{"$ref":"#/definitions/Context"},"dependencies":{"$ref":"#/definitions/Dependencies"},"devServer":{"$ref":"#/definitions/DevServer"},"devtool":{"$ref":"#/definitions/DevTool"},"entry":{"$ref":"#/definitions/EntryNormalized"},"experiments":{"$ref":"#/definitions/Experiments"},"externals":{"$ref":"#/definitions/Externals"},"externalsPresets":{"$ref":"#/definitions/ExternalsPresets"},"externalsType":{"$ref":"#/definitions/ExternalsType"},"ignoreWarnings":{"$ref":"#/definitions/IgnoreWarningsNormalized"},"infrastructureLogging":{"$ref":"#/definitions/InfrastructureLogging"},"loader":{"$ref":"#/definitions/Loader"},"mode":{"$ref":"#/definitions/Mode"},"module":{"$ref":"#/definitions/ModuleOptionsNormalized"},"name":{"$ref":"#/definitions/Name"},"node":{"$ref":"#/definitions/Node"},"optimization":{"$ref":"#/definitions/Optimization"},"output":{"$ref":"#/definitions/OutputNormalized"},"parallelism":{"$ref":"#/definitions/Parallelism"},"performance":{"$ref":"#/definitions/Performance"},"plugins":{"$ref":"#/definitions/Plugins"},"profile":{"$ref":"#/definitions/Profile"},"recordsInputPath":{"$ref":"#/definitions/RecordsInputPath"},"recordsOutputPath":{"$ref":"#/definitions/RecordsOutputPath"},"resolve":{"$ref":"#/definitions/Resolve"},"resolveLoader":{"$ref":"#/definitions/ResolveLoader"},"snapshot":{"$ref":"#/definitions/SnapshotOptions"},"stats":{"$ref":"#/definitions/StatsValue"},"target":{"$ref":"#/definitions/Target"},"watch":{"$ref":"#/definitions/Watch"},"watchOptions":{"$ref":"#/definitions/WatchOptions"}},"required":["cache","snapshot","entry","experiments","externals","externalsPresets","infrastructureLogging","module","node","optimization","output","plugins","resolve","resolveLoader","stats","watchOptions"]},"WebpackPluginFunction":{"description":"Function acting as plugin.","instanceof":"Function","tsType":"(this: import(\'../lib/Compiler\'), compiler: import(\'../lib/Compiler\')) => void"},"WebpackPluginInstance":{"description":"Plugin instance.","type":"object","additionalProperties":true,"properties":{"apply":{"description":"The run point of the plugin, required method.","instanceof":"Function","tsType":"(compiler: import(\'../lib/Compiler\')) => void"}},"required":["apply"]}},"title":"WebpackOptions","description":"Options object as provided by the user.","type":"object","additionalProperties":false,"properties":{"amd":{"$ref":"#/definitions/Amd"},"bail":{"$ref":"#/definitions/Bail"},"cache":{"$ref":"#/definitions/CacheOptions"},"context":{"$ref":"#/definitions/Context"},"dependencies":{"$ref":"#/definitions/Dependencies"},"devServer":{"$ref":"#/definitions/DevServer"},"devtool":{"$ref":"#/definitions/DevTool"},"entry":{"$ref":"#/definitions/Entry"},"experiments":{"$ref":"#/definitions/Experiments"},"externals":{"$ref":"#/definitions/Externals"},"externalsPresets":{"$ref":"#/definitions/ExternalsPresets"},"externalsType":{"$ref":"#/definitions/ExternalsType"},"ignoreWarnings":{"$ref":"#/definitions/IgnoreWarnings"},"infrastructureLogging":{"$ref":"#/definitions/InfrastructureLogging"},"loader":{"$ref":"#/definitions/Loader"},"mode":{"$ref":"#/definitions/Mode"},"module":{"$ref":"#/definitions/ModuleOptions"},"name":{"$ref":"#/definitions/Name"},"node":{"$ref":"#/definitions/Node"},"optimization":{"$ref":"#/definitions/Optimization"},"output":{"$ref":"#/definitions/Output"},"parallelism":{"$ref":"#/definitions/Parallelism"},"performance":{"$ref":"#/definitions/Performance"},"plugins":{"$ref":"#/definitions/Plugins"},"profile":{"$ref":"#/definitions/Profile"},"recordsInputPath":{"$ref":"#/definitions/RecordsInputPath"},"recordsOutputPath":{"$ref":"#/definitions/RecordsOutputPath"},"recordsPath":{"$ref":"#/definitions/RecordsPath"},"resolve":{"$ref":"#/definitions/Resolve"},"resolveLoader":{"$ref":"#/definitions/ResolveLoader"},"snapshot":{"$ref":"#/definitions/SnapshotOptions"},"stats":{"$ref":"#/definitions/StatsValue"},"target":{"$ref":"#/definitions/Target"},"watch":{"$ref":"#/definitions/Watch"},"watchOptions":{"$ref":"#/definitions/WatchOptions"}}}')},4837:E=>{"use strict";E.exports=JSON.parse('{"definitions":{"BannerFunction":{"description":"The banner as function, it will be wrapped in a comment.","instanceof":"Function","tsType":"(data: { hash: string, chunk: import(\'../../lib/Chunk\'), filename: string }) => string"},"Rule":{"description":"Filtering rule as regex or string.","anyOf":[{"instanceof":"RegExp","tsType":"RegExp"},{"type":"string","minLength":1}]},"Rules":{"description":"Filtering rules.","anyOf":[{"type":"array","items":{"description":"A rule condition.","oneOf":[{"$ref":"#/definitions/Rule"}]}},{"$ref":"#/definitions/Rule"}]}},"title":"BannerPluginArgument","anyOf":[{"description":"The banner as string, it will be wrapped in a comment.","type":"string","minLength":1},{"title":"BannerPluginOptions","type":"object","additionalProperties":false,"properties":{"banner":{"description":"Specifies the banner.","anyOf":[{"type":"string"},{"$ref":"#/definitions/BannerFunction"}]},"entryOnly":{"description":"If true, the banner will only be added to the entry chunks.","type":"boolean"},"exclude":{"description":"Exclude all modules matching any of these conditions.","oneOf":[{"$ref":"#/definitions/Rules"}]},"include":{"description":"Include all modules matching any of these conditions.","oneOf":[{"$ref":"#/definitions/Rules"}]},"raw":{"description":"If true, banner will not be wrapped in a comment.","type":"boolean"},"test":{"description":"Include all modules that pass test assertion.","oneOf":[{"$ref":"#/definitions/Rules"}]}},"required":["banner"]},{"$ref":"#/definitions/BannerFunction"}]}')},39670:E=>{"use strict";E.exports=JSON.parse('{"title":"DllPluginOptions","type":"object","additionalProperties":false,"properties":{"context":{"description":"Context of requests in the manifest file (defaults to the webpack context).","type":"string","minLength":1},"entryOnly":{"description":"If true, only entry points will be exposed (default: true).","type":"boolean"},"format":{"description":"If true, manifest json file (output) will be formatted.","type":"boolean"},"name":{"description":"Name of the exposed dll function (external name, use value of \'output.library\').","type":"string","minLength":1},"path":{"description":"Absolute path to the manifest json file (output).","type":"string","minLength":1},"type":{"description":"Type of the dll bundle (external type, use value of \'output.libraryTarget\').","type":"string","minLength":1}},"required":["path"]}')},53670:E=>{"use strict";E.exports=JSON.parse('{"definitions":{"DllReferencePluginOptionsContent":{"description":"The mappings from request to module info.","type":"object","additionalProperties":{"description":"Module info.","type":"object","additionalProperties":false,"properties":{"buildMeta":{"description":"Meta information about the module.","type":"object"},"exports":{"description":"Information about the provided exports of the module.","anyOf":[{"description":"List of provided exports of the module.","type":"array","items":{"description":"Name of the export.","type":"string","minLength":1}},{"description":"Exports unknown/dynamic.","enum":[true]}]},"id":{"description":"Module ID.","anyOf":[{"type":"number"},{"type":"string","minLength":1}]}},"required":["id"]},"minProperties":1},"DllReferencePluginOptionsManifest":{"description":"An object containing content, name and type.","type":"object","additionalProperties":false,"properties":{"content":{"description":"The mappings from request to module info.","oneOf":[{"$ref":"#/definitions/DllReferencePluginOptionsContent"}]},"name":{"description":"The name where the dll is exposed (external name).","type":"string","minLength":1},"type":{"description":"The type how the dll is exposed (external type).","oneOf":[{"$ref":"#/definitions/DllReferencePluginOptionsSourceType"}]}},"required":["content"]},"DllReferencePluginOptionsSourceType":{"description":"The type how the dll is exposed (external type).","enum":["var","assign","this","window","global","commonjs","commonjs2","commonjs-module","amd","amd-require","umd","umd2","jsonp","system"]}},"title":"DllReferencePluginOptions","anyOf":[{"type":"object","additionalProperties":false,"properties":{"context":{"description":"Context of requests in the manifest (or content property) as absolute path.","type":"string","absolutePath":true},"extensions":{"description":"Extensions used to resolve modules in the dll bundle (only used when using \'scope\').","type":"array","items":{"description":"An extension.","type":"string"}},"manifest":{"description":"An object containing content and name or a string to the absolute path of the JSON manifest to be loaded upon compilation.","anyOf":[{"type":"string","absolutePath":true},{"$ref":"#/definitions/DllReferencePluginOptionsManifest"}]},"name":{"description":"The name where the dll is exposed (external name, defaults to manifest.name).","type":"string","minLength":1},"scope":{"description":"Prefix which is used for accessing the content of the dll.","type":"string","minLength":1},"sourceType":{"description":"How the dll is exposed (libraryTarget, defaults to manifest.type).","oneOf":[{"$ref":"#/definitions/DllReferencePluginOptionsSourceType"}]},"type":{"description":"The way how the export of the dll bundle is used.","enum":["require","object"]}},"required":["manifest"]},{"type":"object","additionalProperties":false,"properties":{"content":{"description":"The mappings from request to module info.","oneOf":[{"$ref":"#/definitions/DllReferencePluginOptionsContent"}]},"context":{"description":"Context of requests in the manifest (or content property) as absolute path.","type":"string","absolutePath":true},"extensions":{"description":"Extensions used to resolve modules in the dll bundle (only used when using \'scope\').","type":"array","items":{"description":"An extension.","type":"string"}},"name":{"description":"The name where the dll is exposed (external name).","type":"string","minLength":1},"scope":{"description":"Prefix which is used for accessing the content of the dll.","type":"string","minLength":1},"sourceType":{"description":"How the dll is exposed (libraryTarget).","oneOf":[{"$ref":"#/definitions/DllReferencePluginOptionsSourceType"}]},"type":{"description":"The way how the export of the dll bundle is used.","enum":["require","object"]}},"required":["content","name"]}]}')},1842:E=>{"use strict";E.exports=JSON.parse('{"title":"HashedModuleIdsPluginOptions","type":"object","additionalProperties":false,"properties":{"context":{"description":"The context directory for creating names.","type":"string","absolutePath":true},"hashDigest":{"description":"The encoding to use when generating the hash, defaults to \'base64\'. All encodings from Node.JS\' hash.digest are supported.","enum":["hex","latin1","base64"]},"hashDigestLength":{"description":"The prefix length of the hash digest to use, defaults to 4.","type":"number","minimum":1},"hashFunction":{"description":"The hashing algorithm to use, defaults to \'md4\'. All functions from Node.JS\' crypto.createHash are supported.","type":"string","minLength":1}}}')},24019:E=>{"use strict";E.exports=JSON.parse('{"title":"IgnorePluginOptions","anyOf":[{"type":"object","additionalProperties":false,"properties":{"contextRegExp":{"description":"A RegExp to test the context (directory) against.","instanceof":"RegExp","tsType":"RegExp"},"resourceRegExp":{"description":"A RegExp to test the request against.","instanceof":"RegExp","tsType":"RegExp"}}},{"type":"object","additionalProperties":false,"properties":{"checkResource":{"description":"A filter function for resource and context.","instanceof":"Function","tsType":"((resource: string, context: string) => boolean)"}}}]}')},18496:E=>{"use strict";E.exports=JSON.parse('{"title":"JsonModulesPluginParserOptions","type":"object","additionalProperties":false,"properties":{"parse":{"description":"Function that executes for a module source string and should return json-compatible data.","instanceof":"Function","tsType":"((input: string) => any)"}}}')},6087:E=>{"use strict";E.exports=JSON.parse('{"title":"LoaderOptionsPluginOptions","type":"object","additionalProperties":true,"properties":{"debug":{"description":"Whether loaders should be in debug mode or not. debug will be removed as of webpack 3.","type":"boolean"},"minimize":{"description":"Where loaders can be switched to minimize mode.","type":"boolean"},"options":{"description":"A configuration object that can be used to configure older loaders.","type":"object","additionalProperties":true,"properties":{"context":{"description":"The context that can be used to configure older loaders.","type":"string","absolutePath":true}}}}}')},78760:E=>{"use strict";E.exports=JSON.parse('{"definitions":{"HandlerFunction":{"description":"Function that executes for every progress step.","instanceof":"Function","tsType":"((percentage: number, msg: string, ...args: string[]) => void)"},"ProgressPluginOptions":{"description":"Options object for the ProgressPlugin.","type":"object","additionalProperties":false,"properties":{"activeModules":{"description":"Show active modules count and one active module in progress message.","type":"boolean"},"dependencies":{"description":"Show dependencies count in progress message.","type":"boolean"},"dependenciesCount":{"description":"Minimum dependencies count to start with. For better progress calculation. Default: 10000.","type":"number"},"entries":{"description":"Show entries count in progress message.","type":"boolean"},"handler":{"description":"Function that executes for every progress step.","oneOf":[{"$ref":"#/definitions/HandlerFunction"}]},"modules":{"description":"Show modules count in progress message.","type":"boolean"},"modulesCount":{"description":"Minimum modules count to start with. For better progress calculation. Default: 5000.","type":"number"},"percentBy":{"description":"Collect percent algorithm. By default it calculates by a median from modules, entries and dependencies percent.","enum":["entries","modules","dependencies",null]},"profile":{"description":"Collect profile data for progress steps. Default: false.","enum":[true,false,null]}}}},"title":"ProgressPluginArgument","anyOf":[{"$ref":"#/definitions/ProgressPluginOptions"},{"$ref":"#/definitions/HandlerFunction"}]}')},82037:E=>{"use strict";E.exports=JSON.parse('{"definitions":{"rule":{"description":"Include source maps for modules based on their extension (defaults to .js and .css).","anyOf":[{"instanceof":"RegExp","tsType":"RegExp"},{"type":"string","minLength":1}]},"rules":{"description":"Include source maps for modules based on their extension (defaults to .js and .css).","anyOf":[{"type":"array","items":{"description":"A rule condition.","oneOf":[{"$ref":"#/definitions/rule"}]}},{"$ref":"#/definitions/rule"}]}},"title":"SourceMapDevToolPluginOptions","type":"object","additionalProperties":false,"properties":{"append":{"description":"Appends the given value to the original asset. Usually the #sourceMappingURL comment. [url] is replaced with a URL to the source map file. false disables the appending.","anyOf":[{"description":"Append no SourceMap comment to the bundle, but still generate SourceMaps.","enum":[false,null]},{"type":"string","minLength":1}]},"columns":{"description":"Indicates whether column mappings should be used (defaults to true).","type":"boolean"},"exclude":{"description":"Exclude modules that match the given value from source map generation.","oneOf":[{"$ref":"#/definitions/rules"}]},"fallbackModuleFilenameTemplate":{"description":"Generator string or function to create identifiers of modules for the \'sources\' array in the SourceMap used only if \'moduleFilenameTemplate\' would result in a conflict.","anyOf":[{"type":"string","minLength":1},{"description":"Custom function generating the identifier.","instanceof":"Function","tsType":"Function"}]},"fileContext":{"description":"Path prefix to which the [file] placeholder is relative to.","type":"string"},"filename":{"description":"Defines the output filename of the SourceMap (will be inlined if no value is provided).","anyOf":[{"description":"Disable separate SourceMap file and inline SourceMap as DataUrl.","enum":[false,null]},{"type":"string","absolutePath":false,"minLength":1}]},"include":{"description":"Include source maps for module paths that match the given value.","oneOf":[{"$ref":"#/definitions/rules"}]},"module":{"description":"Indicates whether SourceMaps from loaders should be used (defaults to true).","type":"boolean"},"moduleFilenameTemplate":{"description":"Generator string or function to create identifiers of modules for the \'sources\' array in the SourceMap.","anyOf":[{"type":"string","minLength":1},{"description":"Custom function generating the identifier.","instanceof":"Function","tsType":"Function"}]},"namespace":{"description":"Namespace prefix to allow multiple webpack roots in the devtools.","type":"string"},"noSources":{"description":"Omit the \'sourceContents\' array from the SourceMap.","type":"boolean"},"publicPath":{"description":"Provide a custom public path for the SourceMapping comment.","type":"string"},"sourceRoot":{"description":"Provide a custom value for the \'sourceRoot\' property in the SourceMap.","type":"string"},"test":{"$ref":"#/definitions/rules"}}}')},82997:E=>{"use strict";E.exports=JSON.parse('{"title":"WatchIgnorePluginOptions","type":"object","additionalProperties":false,"properties":{"paths":{"description":"A list of RegExps or absolute paths to directories or files that should be ignored.","type":"array","items":{"description":"RegExp or absolute path to directories or files that should be ignored.","anyOf":[{"instanceof":"RegExp","tsType":"RegExp"},{"type":"string"}]},"minItems":1}},"required":["paths"]}')},19593:E=>{"use strict";E.exports=JSON.parse('{"definitions":{"AuxiliaryComment":{"description":"Add a comment in the UMD wrapper.","anyOf":[{"description":"Append the same comment above each import style.","type":"string"},{"$ref":"#/definitions/LibraryCustomUmdCommentObject"}]},"EntryRuntime":{"description":"The name of the runtime chunk. If set a runtime chunk with this name is created or an existing entrypoint is used as runtime.","anyOf":[{"enum":[false]},{"type":"string","minLength":1}]},"Exposes":{"description":"Modules that should be exposed by this container. When provided, property name is used as public name, otherwise public name is automatically inferred from request.","anyOf":[{"type":"array","items":{"description":"Modules that should be exposed by this container.","anyOf":[{"$ref":"#/definitions/ExposesItem"},{"$ref":"#/definitions/ExposesObject"}]}},{"$ref":"#/definitions/ExposesObject"}]},"ExposesConfig":{"description":"Advanced configuration for modules that should be exposed by this container.","type":"object","additionalProperties":false,"properties":{"import":{"description":"Request to a module that should be exposed by this container.","anyOf":[{"$ref":"#/definitions/ExposesItem"},{"$ref":"#/definitions/ExposesItems"}]},"name":{"description":"Custom chunk name for the exposed module.","type":"string"}},"required":["import"]},"ExposesItem":{"description":"Module that should be exposed by this container.","type":"string","minLength":1},"ExposesItems":{"description":"Modules that should be exposed by this container.","type":"array","items":{"$ref":"#/definitions/ExposesItem"}},"ExposesObject":{"description":"Modules that should be exposed by this container. Property names are used as public paths.","type":"object","additionalProperties":{"description":"Modules that should be exposed by this container.","anyOf":[{"$ref":"#/definitions/ExposesConfig"},{"$ref":"#/definitions/ExposesItem"},{"$ref":"#/definitions/ExposesItems"}]}},"LibraryCustomUmdCommentObject":{"description":"Set explicit comments for `commonjs`, `commonjs2`, `amd`, and `root`.","type":"object","additionalProperties":false,"properties":{"amd":{"description":"Set comment for `amd` section in UMD.","type":"string"},"commonjs":{"description":"Set comment for `commonjs` (exports) section in UMD.","type":"string"},"commonjs2":{"description":"Set comment for `commonjs2` (module.exports) section in UMD.","type":"string"},"root":{"description":"Set comment for `root` (global variable) section in UMD.","type":"string"}}},"LibraryCustomUmdObject":{"description":"Description object for all UMD variants of the library name.","type":"object","additionalProperties":false,"properties":{"amd":{"description":"Name of the exposed AMD library in the UMD.","type":"string","minLength":1},"commonjs":{"description":"Name of the exposed commonjs export in the UMD.","type":"string","minLength":1},"root":{"description":"Name of the property exposed globally by a UMD library.","anyOf":[{"type":"array","items":{"description":"Part of the name of the property exposed globally by a UMD library.","type":"string","minLength":1}},{"type":"string","minLength":1}]}}},"LibraryExport":{"description":"Specify which export should be exposed as library.","anyOf":[{"type":"array","items":{"description":"Part of the export that should be exposed as library.","type":"string","minLength":1}},{"type":"string","minLength":1}]},"LibraryName":{"description":"The name of the library (some types allow unnamed libraries too).","anyOf":[{"type":"array","items":{"description":"A part of the library name.","type":"string","minLength":1},"minItems":1},{"type":"string","minLength":1},{"$ref":"#/definitions/LibraryCustomUmdObject"}]},"LibraryOptions":{"description":"Options for library.","type":"object","additionalProperties":false,"properties":{"auxiliaryComment":{"$ref":"#/definitions/AuxiliaryComment"},"export":{"$ref":"#/definitions/LibraryExport"},"name":{"$ref":"#/definitions/LibraryName"},"type":{"$ref":"#/definitions/LibraryType"},"umdNamedDefine":{"$ref":"#/definitions/UmdNamedDefine"}},"required":["type"]},"LibraryType":{"description":"Type of library (types included by default are \'var\', \'module\', \'assign\', \'assign-properties\', \'this\', \'window\', \'self\', \'global\', \'commonjs\', \'commonjs2\', \'commonjs-module\', \'amd\', \'amd-require\', \'umd\', \'umd2\', \'jsonp\', \'system\', but others might be added by plugins).","anyOf":[{"enum":["var","module","assign","assign-properties","this","window","self","global","commonjs","commonjs2","commonjs-module","amd","amd-require","umd","umd2","jsonp","system"]},{"type":"string"}]},"UmdNamedDefine":{"description":"If `output.libraryTarget` is set to umd and `output.library` is set, setting this to true will name the AMD module.","type":"boolean"}},"title":"ContainerPluginOptions","type":"object","additionalProperties":false,"properties":{"exposes":{"$ref":"#/definitions/Exposes"},"filename":{"description":"The filename for this container relative path inside the `output.path` directory.","type":"string","absolutePath":false,"minLength":1},"library":{"$ref":"#/definitions/LibraryOptions"},"name":{"description":"The name for this container.","type":"string","minLength":1},"runtime":{"$ref":"#/definitions/EntryRuntime"},"shareScope":{"description":"The name of the share scope which is shared with the host (defaults to \'default\').","type":"string","minLength":1}},"required":["name","exposes"]}')},39101:E=>{"use strict";E.exports=JSON.parse('{"definitions":{"ExternalsType":{"description":"Specifies the default type of externals (\'amd*\', \'umd*\', \'system\' and \'jsonp\' depend on output.libraryTarget set to the same value).","enum":["var","module","assign","this","window","self","global","commonjs","commonjs2","commonjs-module","amd","amd-require","umd","umd2","jsonp","system","promise","import","script","node-commonjs"]},"Remotes":{"description":"Container locations and request scopes from which modules should be resolved and loaded at runtime. When provided, property name is used as request scope, otherwise request scope is automatically inferred from container location.","anyOf":[{"type":"array","items":{"description":"Container locations and request scopes from which modules should be resolved and loaded at runtime.","anyOf":[{"$ref":"#/definitions/RemotesItem"},{"$ref":"#/definitions/RemotesObject"}]}},{"$ref":"#/definitions/RemotesObject"}]},"RemotesConfig":{"description":"Advanced configuration for container locations from which modules should be resolved and loaded at runtime.","type":"object","additionalProperties":false,"properties":{"external":{"description":"Container locations from which modules should be resolved and loaded at runtime.","anyOf":[{"$ref":"#/definitions/RemotesItem"},{"$ref":"#/definitions/RemotesItems"}]},"shareScope":{"description":"The name of the share scope shared with this remote.","type":"string","minLength":1}},"required":["external"]},"RemotesItem":{"description":"Container location from which modules should be resolved and loaded at runtime.","type":"string","minLength":1},"RemotesItems":{"description":"Container locations from which modules should be resolved and loaded at runtime.","type":"array","items":{"$ref":"#/definitions/RemotesItem"}},"RemotesObject":{"description":"Container locations from which modules should be resolved and loaded at runtime. Property names are used as request scopes.","type":"object","additionalProperties":{"description":"Container locations from which modules should be resolved and loaded at runtime.","anyOf":[{"$ref":"#/definitions/RemotesConfig"},{"$ref":"#/definitions/RemotesItem"},{"$ref":"#/definitions/RemotesItems"}]}}},"title":"ContainerReferencePluginOptions","type":"object","additionalProperties":false,"properties":{"remoteType":{"description":"The external type of the remote containers.","oneOf":[{"$ref":"#/definitions/ExternalsType"}]},"remotes":{"$ref":"#/definitions/Remotes"},"shareScope":{"description":"The name of the share scope shared with all remotes (defaults to \'default\').","type":"string","minLength":1}},"required":["remoteType","remotes"]}')},7265:E=>{"use strict";E.exports=JSON.parse('{"definitions":{"AuxiliaryComment":{"description":"Add a comment in the UMD wrapper.","anyOf":[{"description":"Append the same comment above each import style.","type":"string"},{"$ref":"#/definitions/LibraryCustomUmdCommentObject"}]},"EntryRuntime":{"description":"The name of the runtime chunk. If set a runtime chunk with this name is created or an existing entrypoint is used as runtime.","anyOf":[{"enum":[false]},{"type":"string","minLength":1}]},"Exposes":{"description":"Modules that should be exposed by this container. When provided, property name is used as public name, otherwise public name is automatically inferred from request.","anyOf":[{"type":"array","items":{"description":"Modules that should be exposed by this container.","anyOf":[{"$ref":"#/definitions/ExposesItem"},{"$ref":"#/definitions/ExposesObject"}]}},{"$ref":"#/definitions/ExposesObject"}]},"ExposesConfig":{"description":"Advanced configuration for modules that should be exposed by this container.","type":"object","additionalProperties":false,"properties":{"import":{"description":"Request to a module that should be exposed by this container.","anyOf":[{"$ref":"#/definitions/ExposesItem"},{"$ref":"#/definitions/ExposesItems"}]},"name":{"description":"Custom chunk name for the exposed module.","type":"string"}},"required":["import"]},"ExposesItem":{"description":"Module that should be exposed by this container.","type":"string","minLength":1},"ExposesItems":{"description":"Modules that should be exposed by this container.","type":"array","items":{"$ref":"#/definitions/ExposesItem"}},"ExposesObject":{"description":"Modules that should be exposed by this container. Property names are used as public paths.","type":"object","additionalProperties":{"description":"Modules that should be exposed by this container.","anyOf":[{"$ref":"#/definitions/ExposesConfig"},{"$ref":"#/definitions/ExposesItem"},{"$ref":"#/definitions/ExposesItems"}]}},"ExternalsType":{"description":"Specifies the default type of externals (\'amd*\', \'umd*\', \'system\' and \'jsonp\' depend on output.libraryTarget set to the same value).","enum":["var","module","assign","this","window","self","global","commonjs","commonjs2","commonjs-module","amd","amd-require","umd","umd2","jsonp","system","promise","import","script","node-commonjs"]},"LibraryCustomUmdCommentObject":{"description":"Set explicit comments for `commonjs`, `commonjs2`, `amd`, and `root`.","type":"object","additionalProperties":false,"properties":{"amd":{"description":"Set comment for `amd` section in UMD.","type":"string"},"commonjs":{"description":"Set comment for `commonjs` (exports) section in UMD.","type":"string"},"commonjs2":{"description":"Set comment for `commonjs2` (module.exports) section in UMD.","type":"string"},"root":{"description":"Set comment for `root` (global variable) section in UMD.","type":"string"}}},"LibraryCustomUmdObject":{"description":"Description object for all UMD variants of the library name.","type":"object","additionalProperties":false,"properties":{"amd":{"description":"Name of the exposed AMD library in the UMD.","type":"string","minLength":1},"commonjs":{"description":"Name of the exposed commonjs export in the UMD.","type":"string","minLength":1},"root":{"description":"Name of the property exposed globally by a UMD library.","anyOf":[{"type":"array","items":{"description":"Part of the name of the property exposed globally by a UMD library.","type":"string","minLength":1}},{"type":"string","minLength":1}]}}},"LibraryExport":{"description":"Specify which export should be exposed as library.","anyOf":[{"type":"array","items":{"description":"Part of the export that should be exposed as library.","type":"string","minLength":1}},{"type":"string","minLength":1}]},"LibraryName":{"description":"The name of the library (some types allow unnamed libraries too).","anyOf":[{"type":"array","items":{"description":"A part of the library name.","type":"string","minLength":1},"minItems":1},{"type":"string","minLength":1},{"$ref":"#/definitions/LibraryCustomUmdObject"}]},"LibraryOptions":{"description":"Options for library.","type":"object","additionalProperties":false,"properties":{"auxiliaryComment":{"$ref":"#/definitions/AuxiliaryComment"},"export":{"$ref":"#/definitions/LibraryExport"},"name":{"$ref":"#/definitions/LibraryName"},"type":{"$ref":"#/definitions/LibraryType"},"umdNamedDefine":{"$ref":"#/definitions/UmdNamedDefine"}},"required":["type"]},"LibraryType":{"description":"Type of library (types included by default are \'var\', \'module\', \'assign\', \'assign-properties\', \'this\', \'window\', \'self\', \'global\', \'commonjs\', \'commonjs2\', \'commonjs-module\', \'amd\', \'amd-require\', \'umd\', \'umd2\', \'jsonp\', \'system\', but others might be added by plugins).","anyOf":[{"enum":["var","module","assign","assign-properties","this","window","self","global","commonjs","commonjs2","commonjs-module","amd","amd-require","umd","umd2","jsonp","system"]},{"type":"string"}]},"Remotes":{"description":"Container locations and request scopes from which modules should be resolved and loaded at runtime. When provided, property name is used as request scope, otherwise request scope is automatically inferred from container location.","anyOf":[{"type":"array","items":{"description":"Container locations and request scopes from which modules should be resolved and loaded at runtime.","anyOf":[{"$ref":"#/definitions/RemotesItem"},{"$ref":"#/definitions/RemotesObject"}]}},{"$ref":"#/definitions/RemotesObject"}]},"RemotesConfig":{"description":"Advanced configuration for container locations from which modules should be resolved and loaded at runtime.","type":"object","additionalProperties":false,"properties":{"external":{"description":"Container locations from which modules should be resolved and loaded at runtime.","anyOf":[{"$ref":"#/definitions/RemotesItem"},{"$ref":"#/definitions/RemotesItems"}]},"shareScope":{"description":"The name of the share scope shared with this remote.","type":"string","minLength":1}},"required":["external"]},"RemotesItem":{"description":"Container location from which modules should be resolved and loaded at runtime.","type":"string","minLength":1},"RemotesItems":{"description":"Container locations from which modules should be resolved and loaded at runtime.","type":"array","items":{"$ref":"#/definitions/RemotesItem"}},"RemotesObject":{"description":"Container locations from which modules should be resolved and loaded at runtime. Property names are used as request scopes.","type":"object","additionalProperties":{"description":"Container locations from which modules should be resolved and loaded at runtime.","anyOf":[{"$ref":"#/definitions/RemotesConfig"},{"$ref":"#/definitions/RemotesItem"},{"$ref":"#/definitions/RemotesItems"}]}},"Shared":{"description":"Modules that should be shared in the share scope. When provided, property names are used to match requested modules in this compilation.","anyOf":[{"type":"array","items":{"description":"Modules that should be shared in the share scope.","anyOf":[{"$ref":"#/definitions/SharedItem"},{"$ref":"#/definitions/SharedObject"}]}},{"$ref":"#/definitions/SharedObject"}]},"SharedConfig":{"description":"Advanced configuration for modules that should be shared in the share scope.","type":"object","additionalProperties":false,"properties":{"eager":{"description":"Include the provided and fallback module directly instead behind an async request. This allows to use this shared module in initial load too. All possible shared modules need to be eager too.","type":"boolean"},"import":{"description":"Provided module that should be provided to share scope. Also acts as fallback module if no shared module is found in share scope or version isn\'t valid. Defaults to the property name.","anyOf":[{"description":"No provided or fallback module.","enum":[false]},{"$ref":"#/definitions/SharedItem"}]},"packageName":{"description":"Package name to determine required version from description file. This is only needed when package name can\'t be automatically determined from request.","type":"string","minLength":1},"requiredVersion":{"description":"Version requirement from module in share scope.","anyOf":[{"description":"No version requirement check.","enum":[false]},{"description":"Version as string. Can be prefixed with \'^\' or \'~\' for minimum matches. Each part of the version should be separated by a dot \'.\'.","type":"string"}]},"shareKey":{"description":"Module is looked up under this key from the share scope.","type":"string","minLength":1},"shareScope":{"description":"Share scope name.","type":"string","minLength":1},"singleton":{"description":"Allow only a single version of the shared module in share scope (disabled by default).","type":"boolean"},"strictVersion":{"description":"Do not accept shared module if version is not valid (defaults to yes, if local fallback module is available and shared module is not a singleton, otherwise no, has no effect if there is no required version specified).","type":"boolean"},"version":{"description":"Version of the provided module. Will replace lower matching versions, but not higher.","anyOf":[{"description":"Don\'t provide a version.","enum":[false]},{"description":"Version as string. Each part of the version should be separated by a dot \'.\'.","type":"string"}]}}},"SharedItem":{"description":"A module that should be shared in the share scope.","type":"string","minLength":1},"SharedObject":{"description":"Modules that should be shared in the share scope. Property names are used to match requested modules in this compilation. Relative requests are resolved, module requests are matched unresolved, absolute paths will match resolved requests. A trailing slash will match all requests with this prefix. In this case shareKey must also have a trailing slash.","type":"object","additionalProperties":{"description":"Modules that should be shared in the share scope.","anyOf":[{"$ref":"#/definitions/SharedConfig"},{"$ref":"#/definitions/SharedItem"}]}},"UmdNamedDefine":{"description":"If `output.libraryTarget` is set to umd and `output.library` is set, setting this to true will name the AMD module.","type":"boolean"}},"title":"ModuleFederationPluginOptions","type":"object","additionalProperties":false,"properties":{"exposes":{"$ref":"#/definitions/Exposes"},"filename":{"description":"The filename of the container as relative path inside the `output.path` directory.","type":"string","absolutePath":false},"library":{"$ref":"#/definitions/LibraryOptions"},"name":{"description":"The name of the container.","type":"string"},"remoteType":{"description":"The external type of the remote containers.","oneOf":[{"$ref":"#/definitions/ExternalsType"}]},"remotes":{"$ref":"#/definitions/Remotes"},"runtime":{"$ref":"#/definitions/EntryRuntime"},"shareScope":{"description":"Share scope name used for all shared modules (defaults to \'default\').","type":"string","minLength":1},"shared":{"$ref":"#/definitions/Shared"}}}')},8462:E=>{"use strict";E.exports=JSON.parse('{"title":"ProfilingPluginOptions","type":"object","additionalProperties":false,"properties":{"outputPath":{"description":"Path to the output file e.g. `path.resolve(__dirname, \'profiling/events.json\')`. Defaults to `events.json`.","type":"string","absolutePath":true}}}')},66451:E=>{"use strict";E.exports=JSON.parse('{"title":"OccurrenceChunkIdsPluginOptions","type":"object","additionalProperties":false,"properties":{"prioritiseInitial":{"description":"Prioritise initial size over total size.","type":"boolean"}}}')},25049:E=>{"use strict";E.exports=JSON.parse('{"title":"OccurrenceModuleIdsPluginOptions","type":"object","additionalProperties":false,"properties":{"prioritiseInitial":{"description":"Prioritise initial size over total size.","type":"boolean"}}}')},69127:E=>{"use strict";E.exports=JSON.parse('{"title":"AggressiveSplittingPluginOptions","type":"object","additionalProperties":false,"properties":{"chunkOverhead":{"description":"Extra cost for each chunk (Default: 9.8kiB).","type":"number"},"entryChunkMultiplicator":{"description":"Extra cost multiplicator for entry chunks (Default: 10).","type":"number"},"maxSize":{"description":"Byte, max size of per file (Default: 50kiB).","type":"number"},"minSize":{"description":"Byte, split point. (Default: 30kiB).","type":"number"}}}')},97350:E=>{"use strict";E.exports=JSON.parse('{"title":"LimitChunkCountPluginOptions","type":"object","additionalProperties":false,"properties":{"chunkOverhead":{"description":"Constant overhead for a chunk.","type":"number"},"entryChunkMultiplicator":{"description":"Multiplicator for initial chunks.","type":"number"},"maxChunks":{"description":"Limit the maximum number of chunks using a value greater greater than or equal to 1.","type":"number","minimum":1}},"required":["maxChunks"]}')},84796:E=>{"use strict";E.exports=JSON.parse('{"title":"MinChunkSizePluginOptions","type":"object","additionalProperties":false,"properties":{"chunkOverhead":{"description":"Constant overhead for a chunk.","type":"number"},"entryChunkMultiplicator":{"description":"Multiplicator for initial chunks.","type":"number"},"minChunkSize":{"description":"Minimum number of characters.","type":"number"}},"required":["minChunkSize"]}')},16308:E=>{"use strict";E.exports=JSON.parse('{"definitions":{"Consumes":{"description":"Modules that should be consumed from share scope. When provided, property names are used to match requested modules in this compilation.","anyOf":[{"type":"array","items":{"description":"Modules that should be consumed from share scope.","anyOf":[{"$ref":"#/definitions/ConsumesItem"},{"$ref":"#/definitions/ConsumesObject"}]}},{"$ref":"#/definitions/ConsumesObject"}]},"ConsumesConfig":{"description":"Advanced configuration for modules that should be consumed from share scope.","type":"object","additionalProperties":false,"properties":{"eager":{"description":"Include the fallback module directly instead behind an async request. This allows to use fallback module in initial load too. All possible shared modules need to be eager too.","type":"boolean"},"import":{"description":"Fallback module if no shared module is found in share scope. Defaults to the property name.","anyOf":[{"description":"No fallback module.","enum":[false]},{"$ref":"#/definitions/ConsumesItem"}]},"packageName":{"description":"Package name to determine required version from description file. This is only needed when package name can\'t be automatically determined from request.","type":"string","minLength":1},"requiredVersion":{"description":"Version requirement from module in share scope.","anyOf":[{"description":"No version requirement check.","enum":[false]},{"description":"Version as string. Can be prefixed with \'^\' or \'~\' for minimum matches. Each part of the version should be separated by a dot \'.\'.","type":"string"}]},"shareKey":{"description":"Module is looked up under this key from the share scope.","type":"string","minLength":1},"shareScope":{"description":"Share scope name.","type":"string","minLength":1},"singleton":{"description":"Allow only a single version of the shared module in share scope (disabled by default).","type":"boolean"},"strictVersion":{"description":"Do not accept shared module if version is not valid (defaults to yes, if local fallback module is available and shared module is not a singleton, otherwise no, has no effect if there is no required version specified).","type":"boolean"}}},"ConsumesItem":{"description":"A module that should be consumed from share scope.","type":"string","minLength":1},"ConsumesObject":{"description":"Modules that should be consumed from share scope. Property names are used to match requested modules in this compilation. Relative requests are resolved, module requests are matched unresolved, absolute paths will match resolved requests. A trailing slash will match all requests with this prefix. In this case shareKey must also have a trailing slash.","type":"object","additionalProperties":{"description":"Modules that should be consumed from share scope.","anyOf":[{"$ref":"#/definitions/ConsumesConfig"},{"$ref":"#/definitions/ConsumesItem"}]}}},"title":"ConsumeSharedPluginOptions","description":"Options for consuming shared modules.","type":"object","additionalProperties":false,"properties":{"consumes":{"$ref":"#/definitions/Consumes"},"shareScope":{"description":"Share scope name used for all consumed modules (defaults to \'default\').","type":"string","minLength":1}},"required":["consumes"]}')},23288:E=>{"use strict";E.exports=JSON.parse('{"definitions":{"Provides":{"description":"Modules that should be provided as shared modules to the share scope. When provided, property name is used to match modules, otherwise this is automatically inferred from share key.","anyOf":[{"type":"array","items":{"description":"Modules that should be provided as shared modules to the share scope.","anyOf":[{"$ref":"#/definitions/ProvidesItem"},{"$ref":"#/definitions/ProvidesObject"}]}},{"$ref":"#/definitions/ProvidesObject"}]},"ProvidesConfig":{"description":"Advanced configuration for modules that should be provided as shared modules to the share scope.","type":"object","additionalProperties":false,"properties":{"eager":{"description":"Include the provided module directly instead behind an async request. This allows to use this shared module in initial load too. All possible shared modules need to be eager too.","type":"boolean"},"shareKey":{"description":"Key in the share scope under which the shared modules should be stored.","type":"string","minLength":1},"shareScope":{"description":"Share scope name.","type":"string","minLength":1},"version":{"description":"Version of the provided module. Will replace lower matching versions, but not higher.","anyOf":[{"description":"Don\'t provide a version.","enum":[false]},{"description":"Version as string. Each part of the version should be separated by a dot \'.\'.","type":"string"}]}}},"ProvidesItem":{"description":"Request to a module that should be provided as shared module to the share scope (will be resolved when relative).","type":"string","minLength":1},"ProvidesObject":{"description":"Modules that should be provided as shared modules to the share scope. Property names are used as share keys.","type":"object","additionalProperties":{"description":"Modules that should be provided as shared modules to the share scope.","anyOf":[{"$ref":"#/definitions/ProvidesConfig"},{"$ref":"#/definitions/ProvidesItem"}]}}},"title":"ProvideSharedPluginOptions","type":"object","additionalProperties":false,"properties":{"provides":{"$ref":"#/definitions/Provides"},"shareScope":{"description":"Share scope name used for all provided modules (defaults to \'default\').","type":"string","minLength":1}},"required":["provides"]}')},60306:E=>{"use strict";E.exports=JSON.parse('{"name":"@vercel/ncc","description":"Simple CLI for compiling a Node.js module into a single file, together with all its dependencies, gcc-style.","version":"0.29.0","repository":"vercel/ncc","license":"MIT","main":"./dist/ncc/index.js","bin":{"ncc":"./dist/ncc/cli.js"},"files":["dist"],"scripts":{"build":"node scripts/build.js","build-test-binary":"cd test/binary && node-gyp rebuild && cp build/Release/hello.node ../integration/hello.node","codecov":"codecov","test":"node --expose-gc --max_old_space_size=3072 node_modules/.bin/jest","test-coverage":"node --expose-gc --max_old_space_size=3072 node_modules/.bin/jest --coverage --globals \\"{\\\\\\"coverage\\\\\\":true}\\" && codecov","prepublishOnly":"node scripts/build.js --no-cache"},"devDependencies":{"@azure/cosmos":"^2.0.5","@bugsnag/js":"^5.0.1","@ffmpeg-installer/ffmpeg":"^1.0.17","@google-cloud/bigquery":"^2.0.1","@google-cloud/firestore":"^2.2.0","@sentry/node":"^4.3.0","@slack/web-api":"^5.13.0","@tensorflow/tfjs-node":"^0.3.0","@vercel/webpack-asset-relocator-loader":"1.6.0","analytics-node":"^3.3.0","apollo-server-express":"^2.2.2","arg":"^4.1.0","auth0":"^2.14.0","aws-sdk":"^2.356.0","axios":"^0.21.1","azure-storage":"^2.10.2","browserify-middleware":"^8.1.1","bytes":"^3.0.0","canvas":"^2.2.0","chromeless":"^1.5.2","codecov":"^3.8.1","consolidate":"^0.15.1","copy":"^0.3.2","core-js":"^2.5.7","cowsay":"^1.3.1","esm":"^3.2.22","express":"^4.16.4","fetch-h2":"^1.0.2","firebase":"^6.1.1","firebase-admin":"^6.3.0","fluent-ffmpeg":"^2.1.2","fontkit":"^1.7.7","get-folder-size":"^2.0.0","glob":"^7.1.3","got":"^9.3.2","graceful-fs":"^4.1.15","graphql":"^14.0.2","highlights":"^3.1.1","hot-shots":"^5.9.2","ioredis":"^4.2.0","isomorphic-unfetch":"^3.0.0","jest":"^27.0.6","jimp":"^0.5.6","jugglingdb":"2.0.1","koa":"^2.6.2","leveldown":"^5.6.0","license-webpack-plugin":"2.3.11","lighthouse":"^5.0.0","loopback":"^3.24.0","mailgun":"^0.5.0","mariadb":"^2.0.1-beta","memcached":"^2.2.2","mkdirp":"^0.5.1","mongoose":"^5.3.12","mysql":"^2.16.0","node-gyp":"^3.8.0","npm":"^6.13.4","oracledb":"^4.2.0","passport":"^0.4.0","passport-google-oauth":"^1.0.0","path-platform":"^0.11.15","pdf2json":"^1.1.8","pdfkit":"^0.8.3","pg":"^7.6.1","pug":"^3.0.1","react":"^16.6.3","react-dom":"^16.6.3","redis":"^3.1.1","request":"^2.88.0","rxjs":"^6.3.3","saslprep":"^1.0.2","sequelize":"^5.8.6","sharp":"^0.25.2","shebang-loader":"^0.0.1","socket.io":"^2.2.0","source-map-support":"^0.5.9","stripe":"^6.15.0","swig":"^1.4.2","terser":"^5.6.1","the-answer":"^1.0.0","tiny-json-http":"^7.0.2","ts-loader":"^8.3.0","tsconfig-paths":"^3.7.0","tsconfig-paths-webpack-plugin":"^3.2.0","twilio":"^3.23.2","typescript":"^3.9.9","vm2":"^3.6.6","vue":"^2.5.17","vue-server-renderer":"^2.5.17","web-vitals":"^0.2.4","webpack":"5.44.0","when":"^3.7.8"},"resolutions":{"grpc":"1.24.6"}}')},70797:(E,k)=>{"use strict";Object.defineProperty(k,"__esModule",{value:true});k.cloneNode=cloneNode;function cloneNode(E){return Object.assign({},E)}},98093:(E,k,S)=>{"use strict";Object.defineProperty(k,"__esModule",{value:true});var w={numberLiteralFromRaw:true,withLoc:true,withRaw:true,funcParam:true,indexLiteral:true,memIndexLiteral:true,instruction:true,objectInstruction:true,traverse:true,signatures:true,cloneNode:true,moduleContextFromModuleAST:true};Object.defineProperty(k,"numberLiteralFromRaw",{enumerable:true,get:function get(){return j.numberLiteralFromRaw}});Object.defineProperty(k,"withLoc",{enumerable:true,get:function get(){return j.withLoc}});Object.defineProperty(k,"withRaw",{enumerable:true,get:function get(){return j.withRaw}});Object.defineProperty(k,"funcParam",{enumerable:true,get:function get(){return j.funcParam}});Object.defineProperty(k,"indexLiteral",{enumerable:true,get:function get(){return j.indexLiteral}});Object.defineProperty(k,"memIndexLiteral",{enumerable:true,get:function get(){return j.memIndexLiteral}});Object.defineProperty(k,"instruction",{enumerable:true,get:function get(){return j.instruction}});Object.defineProperty(k,"objectInstruction",{enumerable:true,get:function get(){return j.objectInstruction}});Object.defineProperty(k,"traverse",{enumerable:true,get:function get(){return q.traverse}});Object.defineProperty(k,"signatures",{enumerable:true,get:function get(){return ee.signatures}});Object.defineProperty(k,"cloneNode",{enumerable:true,get:function get(){return ne.cloneNode}});Object.defineProperty(k,"moduleContextFromModuleAST",{enumerable:true,get:function get(){return ae.moduleContextFromModuleAST}});var N=S(52696);Object.keys(N).forEach((function(E){if(E==="default"||E==="__esModule")return;if(Object.prototype.hasOwnProperty.call(w,E))return;Object.defineProperty(k,E,{enumerable:true,get:function get(){return N[E]}})}));var j=S(11891);var q=S(22056);var ee=S(75769);var te=S(91764);Object.keys(te).forEach((function(E){if(E==="default"||E==="__esModule")return;if(Object.prototype.hasOwnProperty.call(w,E))return;Object.defineProperty(k,E,{enumerable:true,get:function get(){return te[E]}})}));var ne=S(70797);var ae=S(5499)},11891:(E,k,S)=>{"use strict";Object.defineProperty(k,"__esModule",{value:true});k.numberLiteralFromRaw=numberLiteralFromRaw;k.instruction=instruction;k.objectInstruction=objectInstruction;k.withLoc=withLoc;k.withRaw=withRaw;k.funcParam=funcParam;k.indexLiteral=indexLiteral;k.memIndexLiteral=memIndexLiteral;var w=S(80853);var N=S(52696);function numberLiteralFromRaw(E){var k=arguments.length>1&&arguments[1]!==undefined?arguments[1]:"i32";var S=E;if(typeof E==="string"){E=E.replace(/_/g,"")}if(typeof E==="number"){return(0,N.numberLiteral)(E,String(S))}else{switch(k){case"i32":{return(0,N.numberLiteral)((0,w.parse32I)(E),String(S))}case"u32":{return(0,N.numberLiteral)((0,w.parseU32)(E),String(S))}case"i64":{return(0,N.longNumberLiteral)((0,w.parse64I)(E),String(S))}case"f32":{return(0,N.floatLiteral)((0,w.parse32F)(E),(0,w.isNanLiteral)(E),(0,w.isInfLiteral)(E),String(S))}default:{return(0,N.floatLiteral)((0,w.parse64F)(E),(0,w.isNanLiteral)(E),(0,w.isInfLiteral)(E),String(S))}}}}function instruction(E){var k=arguments.length>1&&arguments[1]!==undefined?arguments[1]:[];var S=arguments.length>2&&arguments[2]!==undefined?arguments[2]:{};return(0,N.instr)(E,undefined,k,S)}function objectInstruction(E,k){var S=arguments.length>2&&arguments[2]!==undefined?arguments[2]:[];var w=arguments.length>3&&arguments[3]!==undefined?arguments[3]:{};return(0,N.instr)(E,k,S,w)}function withLoc(E,k,S){var w={start:S,end:k};E.loc=w;return E}function withRaw(E,k){E.raw=k;return E}function funcParam(E,k){return{id:k,valtype:E}}function indexLiteral(E){var k=numberLiteralFromRaw(E,"u32");return k}function memIndexLiteral(E){var k=numberLiteralFromRaw(E,"u32");return k}},46166:(E,k)=>{"use strict";Object.defineProperty(k,"__esModule",{value:true});k.createPath=createPath;function _extends(){_extends=Object.assign||function(E){for(var k=1;k2&&arguments[2]!==undefined?arguments[2]:0;if(!w){throw new Error("inList"+" error: "+("insert can only be used for nodes that are within lists"||0))}if(!(N!=null)){throw new Error("parentPath != null"+" error: "+("Can not remove root node"||0))}var ee=N.node[j];var te=ee.findIndex((function(E){return E===S}));ee.splice(te+q,0,k)}function remove(E){var k=E.node,S=E.parentKey,w=E.parentPath;if(!(w!=null)){throw new Error("parentPath != null"+" error: "+("Can not remove root node"||0))}var N=w.node;var j=N[S];if(Array.isArray(j)){N[S]=j.filter((function(E){return E!==k}))}else{delete N[S]}k._deleted=true}function stop(E){E.shouldStop=true}function replaceWith(E,k){var S=E.parentPath.node;var w=S[E.parentKey];if(Array.isArray(w)){var N=w.findIndex((function(k){return k===E.node}));w.splice(N,1,k)}else{S[E.parentKey]=k}E.node._deleted=true;E.node=k}function bindNodeOperations(E,k){var S=Object.keys(E);var w={};S.forEach((function(S){w[S]=E[S].bind(null,k)}));return w}function createPathOperations(E){return bindNodeOperations({findParent:findParent,replaceWith:replaceWith,remove:remove,insertBefore:insertBefore,insertAfter:insertAfter,stop:stop},E)}function createPath(E){var k=_extends({},E);Object.assign(k,createPathOperations(k));return k}},52696:(E,k)=>{"use strict";Object.defineProperty(k,"__esModule",{value:true});k.module=_module;k.moduleMetadata=moduleMetadata;k.moduleNameMetadata=moduleNameMetadata;k.functionNameMetadata=functionNameMetadata;k.localNameMetadata=localNameMetadata;k.binaryModule=binaryModule;k.quoteModule=quoteModule;k.sectionMetadata=sectionMetadata;k.producersSectionMetadata=producersSectionMetadata;k.producerMetadata=producerMetadata;k.producerMetadataVersionedName=producerMetadataVersionedName;k.loopInstruction=loopInstruction;k.instr=instr;k.ifInstruction=ifInstruction;k.stringLiteral=stringLiteral;k.numberLiteral=numberLiteral;k.longNumberLiteral=longNumberLiteral;k.floatLiteral=floatLiteral;k.elem=elem;k.indexInFuncSection=indexInFuncSection;k.valtypeLiteral=valtypeLiteral;k.typeInstruction=typeInstruction;k.start=start;k.globalType=globalType;k.leadingComment=leadingComment;k.blockComment=blockComment;k.data=data;k.global=global;k.table=table;k.memory=memory;k.funcImportDescr=funcImportDescr;k.moduleImport=moduleImport;k.moduleExportDescr=moduleExportDescr;k.moduleExport=moduleExport;k.limit=limit;k.signature=signature;k.program=program;k.identifier=identifier;k.blockInstruction=blockInstruction;k.callInstruction=callInstruction;k.callIndirectInstruction=callIndirectInstruction;k.byteArray=byteArray;k.func=func;k.internalBrUnless=internalBrUnless;k.internalGoto=internalGoto;k.internalCallExtern=internalCallExtern;k.internalEndAndReturn=internalEndAndReturn;k.assertInternalCallExtern=k.assertInternalGoto=k.assertInternalBrUnless=k.assertFunc=k.assertByteArray=k.assertCallIndirectInstruction=k.assertCallInstruction=k.assertBlockInstruction=k.assertIdentifier=k.assertProgram=k.assertSignature=k.assertLimit=k.assertModuleExport=k.assertModuleExportDescr=k.assertModuleImport=k.assertFuncImportDescr=k.assertMemory=k.assertTable=k.assertGlobal=k.assertData=k.assertBlockComment=k.assertLeadingComment=k.assertGlobalType=k.assertStart=k.assertTypeInstruction=k.assertValtypeLiteral=k.assertIndexInFuncSection=k.assertElem=k.assertFloatLiteral=k.assertLongNumberLiteral=k.assertNumberLiteral=k.assertStringLiteral=k.assertIfInstruction=k.assertInstr=k.assertLoopInstruction=k.assertProducerMetadataVersionedName=k.assertProducerMetadata=k.assertProducersSectionMetadata=k.assertSectionMetadata=k.assertQuoteModule=k.assertBinaryModule=k.assertLocalNameMetadata=k.assertFunctionNameMetadata=k.assertModuleNameMetadata=k.assertModuleMetadata=k.assertModule=k.isIntrinsic=k.isImportDescr=k.isNumericLiteral=k.isExpression=k.isInstruction=k.isBlock=k.isNode=k.isInternalEndAndReturn=k.isInternalCallExtern=k.isInternalGoto=k.isInternalBrUnless=k.isFunc=k.isByteArray=k.isCallIndirectInstruction=k.isCallInstruction=k.isBlockInstruction=k.isIdentifier=k.isProgram=k.isSignature=k.isLimit=k.isModuleExport=k.isModuleExportDescr=k.isModuleImport=k.isFuncImportDescr=k.isMemory=k.isTable=k.isGlobal=k.isData=k.isBlockComment=k.isLeadingComment=k.isGlobalType=k.isStart=k.isTypeInstruction=k.isValtypeLiteral=k.isIndexInFuncSection=k.isElem=k.isFloatLiteral=k.isLongNumberLiteral=k.isNumberLiteral=k.isStringLiteral=k.isIfInstruction=k.isInstr=k.isLoopInstruction=k.isProducerMetadataVersionedName=k.isProducerMetadata=k.isProducersSectionMetadata=k.isSectionMetadata=k.isQuoteModule=k.isBinaryModule=k.isLocalNameMetadata=k.isFunctionNameMetadata=k.isModuleNameMetadata=k.isModuleMetadata=k.isModule=void 0;k.nodeAndUnionTypes=k.unionTypesMap=k.assertInternalEndAndReturn=void 0;function _typeof(E){if(typeof Symbol==="function"&&typeof Symbol.iterator==="symbol"){_typeof=function _typeof(E){return typeof E}}else{_typeof=function _typeof(E){return E&&typeof Symbol==="function"&&E.constructor===Symbol&&E!==Symbol.prototype?"symbol":typeof E}}return _typeof(E)}function isTypeOf(E){return function(k){return k.type===E}}function assertTypeOf(E){return function(k){return function(){if(!(k.type===E)){throw new Error("n.type === t"+" error: "+(undefined||"unknown"))}}()}}function _module(E,k,S){if(E!==null&&E!==undefined){if(!(typeof E==="string")){throw new Error('typeof id === "string"'+" error: "+("Argument id must be of type string, given: "+_typeof(E)||0))}}if(!(_typeof(k)==="object"&&typeof k.length!=="undefined")){throw new Error('typeof fields === "object" && typeof fields.length !== "undefined"'+" error: "+(undefined||"unknown"))}var w={type:"Module",id:E,fields:k};if(typeof S!=="undefined"){w.metadata=S}return w}function moduleMetadata(E,k,S,w){if(!(_typeof(E)==="object"&&typeof E.length!=="undefined")){throw new Error('typeof sections === "object" && typeof sections.length !== "undefined"'+" error: "+(undefined||"unknown"))}if(k!==null&&k!==undefined){if(!(_typeof(k)==="object"&&typeof k.length!=="undefined")){throw new Error('typeof functionNames === "object" && typeof functionNames.length !== "undefined"'+" error: "+(undefined||"unknown"))}}if(S!==null&&S!==undefined){if(!(_typeof(S)==="object"&&typeof S.length!=="undefined")){throw new Error('typeof localNames === "object" && typeof localNames.length !== "undefined"'+" error: "+(undefined||"unknown"))}}if(w!==null&&w!==undefined){if(!(_typeof(w)==="object"&&typeof w.length!=="undefined")){throw new Error('typeof producers === "object" && typeof producers.length !== "undefined"'+" error: "+(undefined||"unknown"))}}var N={type:"ModuleMetadata",sections:E};if(typeof k!=="undefined"&&k.length>0){N.functionNames=k}if(typeof S!=="undefined"&&S.length>0){N.localNames=S}if(typeof w!=="undefined"&&w.length>0){N.producers=w}return N}function moduleNameMetadata(E){if(!(typeof E==="string")){throw new Error('typeof value === "string"'+" error: "+("Argument value must be of type string, given: "+_typeof(E)||0))}var k={type:"ModuleNameMetadata",value:E};return k}function functionNameMetadata(E,k){if(!(typeof E==="string")){throw new Error('typeof value === "string"'+" error: "+("Argument value must be of type string, given: "+_typeof(E)||0))}if(!(typeof k==="number")){throw new Error('typeof index === "number"'+" error: "+("Argument index must be of type number, given: "+_typeof(k)||0))}var S={type:"FunctionNameMetadata",value:E,index:k};return S}function localNameMetadata(E,k,S){if(!(typeof E==="string")){throw new Error('typeof value === "string"'+" error: "+("Argument value must be of type string, given: "+_typeof(E)||0))}if(!(typeof k==="number")){throw new Error('typeof localIndex === "number"'+" error: "+("Argument localIndex must be of type number, given: "+_typeof(k)||0))}if(!(typeof S==="number")){throw new Error('typeof functionIndex === "number"'+" error: "+("Argument functionIndex must be of type number, given: "+_typeof(S)||0))}var w={type:"LocalNameMetadata",value:E,localIndex:k,functionIndex:S};return w}function binaryModule(E,k){if(E!==null&&E!==undefined){if(!(typeof E==="string")){throw new Error('typeof id === "string"'+" error: "+("Argument id must be of type string, given: "+_typeof(E)||0))}}if(!(_typeof(k)==="object"&&typeof k.length!=="undefined")){throw new Error('typeof blob === "object" && typeof blob.length !== "undefined"'+" error: "+(undefined||"unknown"))}var S={type:"BinaryModule",id:E,blob:k};return S}function quoteModule(E,k){if(E!==null&&E!==undefined){if(!(typeof E==="string")){throw new Error('typeof id === "string"'+" error: "+("Argument id must be of type string, given: "+_typeof(E)||0))}}if(!(_typeof(k)==="object"&&typeof k.length!=="undefined")){throw new Error('typeof string === "object" && typeof string.length !== "undefined"'+" error: "+(undefined||"unknown"))}var S={type:"QuoteModule",id:E,string:k};return S}function sectionMetadata(E,k,S,w){if(!(typeof k==="number")){throw new Error('typeof startOffset === "number"'+" error: "+("Argument startOffset must be of type number, given: "+_typeof(k)||0))}var N={type:"SectionMetadata",section:E,startOffset:k,size:S,vectorOfSize:w};return N}function producersSectionMetadata(E){if(!(_typeof(E)==="object"&&typeof E.length!=="undefined")){throw new Error('typeof producers === "object" && typeof producers.length !== "undefined"'+" error: "+(undefined||"unknown"))}var k={type:"ProducersSectionMetadata",producers:E};return k}function producerMetadata(E,k,S){if(!(_typeof(E)==="object"&&typeof E.length!=="undefined")){throw new Error('typeof language === "object" && typeof language.length !== "undefined"'+" error: "+(undefined||"unknown"))}if(!(_typeof(k)==="object"&&typeof k.length!=="undefined")){throw new Error('typeof processedBy === "object" && typeof processedBy.length !== "undefined"'+" error: "+(undefined||"unknown"))}if(!(_typeof(S)==="object"&&typeof S.length!=="undefined")){throw new Error('typeof sdk === "object" && typeof sdk.length !== "undefined"'+" error: "+(undefined||"unknown"))}var w={type:"ProducerMetadata",language:E,processedBy:k,sdk:S};return w}function producerMetadataVersionedName(E,k){if(!(typeof E==="string")){throw new Error('typeof name === "string"'+" error: "+("Argument name must be of type string, given: "+_typeof(E)||0))}if(!(typeof k==="string")){throw new Error('typeof version === "string"'+" error: "+("Argument version must be of type string, given: "+_typeof(k)||0))}var S={type:"ProducerMetadataVersionedName",name:E,version:k};return S}function loopInstruction(E,k,S){if(!(_typeof(S)==="object"&&typeof S.length!=="undefined")){throw new Error('typeof instr === "object" && typeof instr.length !== "undefined"'+" error: "+(undefined||"unknown"))}var w={type:"LoopInstruction",id:"loop",label:E,resulttype:k,instr:S};return w}function instr(E,k,S,w){if(!(typeof E==="string")){throw new Error('typeof id === "string"'+" error: "+("Argument id must be of type string, given: "+_typeof(E)||0))}if(!(_typeof(S)==="object"&&typeof S.length!=="undefined")){throw new Error('typeof args === "object" && typeof args.length !== "undefined"'+" error: "+(undefined||"unknown"))}var N={type:"Instr",id:E,args:S};if(typeof k!=="undefined"){N.object=k}if(typeof w!=="undefined"&&Object.keys(w).length!==0){N.namedArgs=w}return N}function ifInstruction(E,k,S,w,N){if(!(_typeof(k)==="object"&&typeof k.length!=="undefined")){throw new Error('typeof test === "object" && typeof test.length !== "undefined"'+" error: "+(undefined||"unknown"))}if(!(_typeof(w)==="object"&&typeof w.length!=="undefined")){throw new Error('typeof consequent === "object" && typeof consequent.length !== "undefined"'+" error: "+(undefined||"unknown"))}if(!(_typeof(N)==="object"&&typeof N.length!=="undefined")){throw new Error('typeof alternate === "object" && typeof alternate.length !== "undefined"'+" error: "+(undefined||"unknown"))}var j={type:"IfInstruction",id:"if",testLabel:E,test:k,result:S,consequent:w,alternate:N};return j}function stringLiteral(E){if(!(typeof E==="string")){throw new Error('typeof value === "string"'+" error: "+("Argument value must be of type string, given: "+_typeof(E)||0))}var k={type:"StringLiteral",value:E};return k}function numberLiteral(E,k){if(!(typeof E==="number")){throw new Error('typeof value === "number"'+" error: "+("Argument value must be of type number, given: "+_typeof(E)||0))}if(!(typeof k==="string")){throw new Error('typeof raw === "string"'+" error: "+("Argument raw must be of type string, given: "+_typeof(k)||0))}var S={type:"NumberLiteral",value:E,raw:k};return S}function longNumberLiteral(E,k){if(!(typeof k==="string")){throw new Error('typeof raw === "string"'+" error: "+("Argument raw must be of type string, given: "+_typeof(k)||0))}var S={type:"LongNumberLiteral",value:E,raw:k};return S}function floatLiteral(E,k,S,w){if(!(typeof E==="number")){throw new Error('typeof value === "number"'+" error: "+("Argument value must be of type number, given: "+_typeof(E)||0))}if(k!==null&&k!==undefined){if(!(typeof k==="boolean")){throw new Error('typeof nan === "boolean"'+" error: "+("Argument nan must be of type boolean, given: "+_typeof(k)||0))}}if(S!==null&&S!==undefined){if(!(typeof S==="boolean")){throw new Error('typeof inf === "boolean"'+" error: "+("Argument inf must be of type boolean, given: "+_typeof(S)||0))}}if(!(typeof w==="string")){throw new Error('typeof raw === "string"'+" error: "+("Argument raw must be of type string, given: "+_typeof(w)||0))}var N={type:"FloatLiteral",value:E,raw:w};if(k===true){N.nan=true}if(S===true){N.inf=true}return N}function elem(E,k,S){if(!(_typeof(k)==="object"&&typeof k.length!=="undefined")){throw new Error('typeof offset === "object" && typeof offset.length !== "undefined"'+" error: "+(undefined||"unknown"))}if(!(_typeof(S)==="object"&&typeof S.length!=="undefined")){throw new Error('typeof funcs === "object" && typeof funcs.length !== "undefined"'+" error: "+(undefined||"unknown"))}var w={type:"Elem",table:E,offset:k,funcs:S};return w}function indexInFuncSection(E){var k={type:"IndexInFuncSection",index:E};return k}function valtypeLiteral(E){var k={type:"ValtypeLiteral",name:E};return k}function typeInstruction(E,k){var S={type:"TypeInstruction",id:E,functype:k};return S}function start(E){var k={type:"Start",index:E};return k}function globalType(E,k){var S={type:"GlobalType",valtype:E,mutability:k};return S}function leadingComment(E){if(!(typeof E==="string")){throw new Error('typeof value === "string"'+" error: "+("Argument value must be of type string, given: "+_typeof(E)||0))}var k={type:"LeadingComment",value:E};return k}function blockComment(E){if(!(typeof E==="string")){throw new Error('typeof value === "string"'+" error: "+("Argument value must be of type string, given: "+_typeof(E)||0))}var k={type:"BlockComment",value:E};return k}function data(E,k,S){var w={type:"Data",memoryIndex:E,offset:k,init:S};return w}function global(E,k,S){if(!(_typeof(k)==="object"&&typeof k.length!=="undefined")){throw new Error('typeof init === "object" && typeof init.length !== "undefined"'+" error: "+(undefined||"unknown"))}var w={type:"Global",globalType:E,init:k,name:S};return w}function table(E,k,S,w){if(!(k.type==="Limit")){throw new Error('limits.type === "Limit"'+" error: "+("Argument limits must be of type Limit, given: "+k.type||0))}if(w!==null&&w!==undefined){if(!(_typeof(w)==="object"&&typeof w.length!=="undefined")){throw new Error('typeof elements === "object" && typeof elements.length !== "undefined"'+" error: "+(undefined||"unknown"))}}var N={type:"Table",elementType:E,limits:k,name:S};if(typeof w!=="undefined"&&w.length>0){N.elements=w}return N}function memory(E,k){var S={type:"Memory",limits:E,id:k};return S}function funcImportDescr(E,k){var S={type:"FuncImportDescr",id:E,signature:k};return S}function moduleImport(E,k,S){if(!(typeof E==="string")){throw new Error('typeof module === "string"'+" error: "+("Argument module must be of type string, given: "+_typeof(E)||0))}if(!(typeof k==="string")){throw new Error('typeof name === "string"'+" error: "+("Argument name must be of type string, given: "+_typeof(k)||0))}var w={type:"ModuleImport",module:E,name:k,descr:S};return w}function moduleExportDescr(E,k){var S={type:"ModuleExportDescr",exportType:E,id:k};return S}function moduleExport(E,k){if(!(typeof E==="string")){throw new Error('typeof name === "string"'+" error: "+("Argument name must be of type string, given: "+_typeof(E)||0))}var S={type:"ModuleExport",name:E,descr:k};return S}function limit(E,k,S){if(!(typeof E==="number")){throw new Error('typeof min === "number"'+" error: "+("Argument min must be of type number, given: "+_typeof(E)||0))}if(k!==null&&k!==undefined){if(!(typeof k==="number")){throw new Error('typeof max === "number"'+" error: "+("Argument max must be of type number, given: "+_typeof(k)||0))}}if(S!==null&&S!==undefined){if(!(typeof S==="boolean")){throw new Error('typeof shared === "boolean"'+" error: "+("Argument shared must be of type boolean, given: "+_typeof(S)||0))}}var w={type:"Limit",min:E};if(typeof k!=="undefined"){w.max=k}if(S===true){w.shared=true}return w}function signature(E,k){if(!(_typeof(E)==="object"&&typeof E.length!=="undefined")){throw new Error('typeof params === "object" && typeof params.length !== "undefined"'+" error: "+(undefined||"unknown"))}if(!(_typeof(k)==="object"&&typeof k.length!=="undefined")){throw new Error('typeof results === "object" && typeof results.length !== "undefined"'+" error: "+(undefined||"unknown"))}var S={type:"Signature",params:E,results:k};return S}function program(E){if(!(_typeof(E)==="object"&&typeof E.length!=="undefined")){throw new Error('typeof body === "object" && typeof body.length !== "undefined"'+" error: "+(undefined||"unknown"))}var k={type:"Program",body:E};return k}function identifier(E,k){if(!(typeof E==="string")){throw new Error('typeof value === "string"'+" error: "+("Argument value must be of type string, given: "+_typeof(E)||0))}if(k!==null&&k!==undefined){if(!(typeof k==="string")){throw new Error('typeof raw === "string"'+" error: "+("Argument raw must be of type string, given: "+_typeof(k)||0))}}var S={type:"Identifier",value:E};if(typeof k!=="undefined"){S.raw=k}return S}function blockInstruction(E,k,S){if(!(_typeof(k)==="object"&&typeof k.length!=="undefined")){throw new Error('typeof instr === "object" && typeof instr.length !== "undefined"'+" error: "+(undefined||"unknown"))}var w={type:"BlockInstruction",id:"block",label:E,instr:k,result:S};return w}function callInstruction(E,k,S){if(k!==null&&k!==undefined){if(!(_typeof(k)==="object"&&typeof k.length!=="undefined")){throw new Error('typeof instrArgs === "object" && typeof instrArgs.length !== "undefined"'+" error: "+(undefined||"unknown"))}}var w={type:"CallInstruction",id:"call",index:E};if(typeof k!=="undefined"&&k.length>0){w.instrArgs=k}if(typeof S!=="undefined"){w.numeric=S}return w}function callIndirectInstruction(E,k){if(k!==null&&k!==undefined){if(!(_typeof(k)==="object"&&typeof k.length!=="undefined")){throw new Error('typeof intrs === "object" && typeof intrs.length !== "undefined"'+" error: "+(undefined||"unknown"))}}var S={type:"CallIndirectInstruction",id:"call_indirect",signature:E};if(typeof k!=="undefined"&&k.length>0){S.intrs=k}return S}function byteArray(E){if(!(_typeof(E)==="object"&&typeof E.length!=="undefined")){throw new Error('typeof values === "object" && typeof values.length !== "undefined"'+" error: "+(undefined||"unknown"))}var k={type:"ByteArray",values:E};return k}function func(E,k,S,w,N){if(!(_typeof(S)==="object"&&typeof S.length!=="undefined")){throw new Error('typeof body === "object" && typeof body.length !== "undefined"'+" error: "+(undefined||"unknown"))}if(w!==null&&w!==undefined){if(!(typeof w==="boolean")){throw new Error('typeof isExternal === "boolean"'+" error: "+("Argument isExternal must be of type boolean, given: "+_typeof(w)||0))}}var j={type:"Func",name:E,signature:k,body:S};if(w===true){j.isExternal=true}if(typeof N!=="undefined"){j.metadata=N}return j}function internalBrUnless(E){if(!(typeof E==="number")){throw new Error('typeof target === "number"'+" error: "+("Argument target must be of type number, given: "+_typeof(E)||0))}var k={type:"InternalBrUnless",target:E};return k}function internalGoto(E){if(!(typeof E==="number")){throw new Error('typeof target === "number"'+" error: "+("Argument target must be of type number, given: "+_typeof(E)||0))}var k={type:"InternalGoto",target:E};return k}function internalCallExtern(E){if(!(typeof E==="number")){throw new Error('typeof target === "number"'+" error: "+("Argument target must be of type number, given: "+_typeof(E)||0))}var k={type:"InternalCallExtern",target:E};return k}function internalEndAndReturn(){var E={type:"InternalEndAndReturn"};return E}var S=isTypeOf("Module");k.isModule=S;var w=isTypeOf("ModuleMetadata");k.isModuleMetadata=w;var N=isTypeOf("ModuleNameMetadata");k.isModuleNameMetadata=N;var j=isTypeOf("FunctionNameMetadata");k.isFunctionNameMetadata=j;var q=isTypeOf("LocalNameMetadata");k.isLocalNameMetadata=q;var ee=isTypeOf("BinaryModule");k.isBinaryModule=ee;var te=isTypeOf("QuoteModule");k.isQuoteModule=te;var ne=isTypeOf("SectionMetadata");k.isSectionMetadata=ne;var ae=isTypeOf("ProducersSectionMetadata");k.isProducersSectionMetadata=ae;var _e=isTypeOf("ProducerMetadata");k.isProducerMetadata=_e;var ve=isTypeOf("ProducerMetadataVersionedName");k.isProducerMetadataVersionedName=ve;var Ee=isTypeOf("LoopInstruction");k.isLoopInstruction=Ee;var we=isTypeOf("Instr");k.isInstr=we;var Ce=isTypeOf("IfInstruction");k.isIfInstruction=Ce;var Me=isTypeOf("StringLiteral");k.isStringLiteral=Me;var Te=isTypeOf("NumberLiteral");k.isNumberLiteral=Te;var Ie=isTypeOf("LongNumberLiteral");k.isLongNumberLiteral=Ie;var Oe=isTypeOf("FloatLiteral");k.isFloatLiteral=Oe;var Re=isTypeOf("Elem");k.isElem=Re;var Fe=isTypeOf("IndexInFuncSection");k.isIndexInFuncSection=Fe;var Ne=isTypeOf("ValtypeLiteral");k.isValtypeLiteral=Ne;var Be=isTypeOf("TypeInstruction");k.isTypeInstruction=Be;var Le=isTypeOf("Start");k.isStart=Le;var je=isTypeOf("GlobalType");k.isGlobalType=je;var $e=isTypeOf("LeadingComment");k.isLeadingComment=$e;var ze=isTypeOf("BlockComment");k.isBlockComment=ze;var Ue=isTypeOf("Data");k.isData=Ue;var Ge=isTypeOf("Global");k.isGlobal=Ge;var qe=isTypeOf("Table");k.isTable=qe;var Ve=isTypeOf("Memory");k.isMemory=Ve;var He=isTypeOf("FuncImportDescr");k.isFuncImportDescr=He;var We=isTypeOf("ModuleImport");k.isModuleImport=We;var Ke=isTypeOf("ModuleExportDescr");k.isModuleExportDescr=Ke;var Xe=isTypeOf("ModuleExport");k.isModuleExport=Xe;var Qe=isTypeOf("Limit");k.isLimit=Qe;var Je=isTypeOf("Signature");k.isSignature=Je;var Ye=isTypeOf("Program");k.isProgram=Ye;var Ze=isTypeOf("Identifier");k.isIdentifier=Ze;var et=isTypeOf("BlockInstruction");k.isBlockInstruction=et;var tt=isTypeOf("CallInstruction");k.isCallInstruction=tt;var nt=isTypeOf("CallIndirectInstruction");k.isCallIndirectInstruction=nt;var rt=isTypeOf("ByteArray");k.isByteArray=rt;var it=isTypeOf("Func");k.isFunc=it;var st=isTypeOf("InternalBrUnless");k.isInternalBrUnless=st;var ot=isTypeOf("InternalGoto");k.isInternalGoto=ot;var ut=isTypeOf("InternalCallExtern");k.isInternalCallExtern=ut;var lt=isTypeOf("InternalEndAndReturn");k.isInternalEndAndReturn=lt;var ct=function isNode(E){return S(E)||w(E)||N(E)||j(E)||q(E)||ee(E)||te(E)||ne(E)||ae(E)||_e(E)||ve(E)||Ee(E)||we(E)||Ce(E)||Me(E)||Te(E)||Ie(E)||Oe(E)||Re(E)||Fe(E)||Ne(E)||Be(E)||Le(E)||je(E)||$e(E)||ze(E)||Ue(E)||Ge(E)||qe(E)||Ve(E)||He(E)||We(E)||Ke(E)||Xe(E)||Qe(E)||Je(E)||Ye(E)||Ze(E)||et(E)||tt(E)||nt(E)||rt(E)||it(E)||st(E)||ot(E)||ut(E)||lt(E)};k.isNode=ct;var pt=function isBlock(E){return Ee(E)||et(E)||it(E)};k.isBlock=pt;var ft=function isInstruction(E){return Ee(E)||we(E)||Ce(E)||Be(E)||et(E)||tt(E)||nt(E)};k.isInstruction=ft;var dt=function isExpression(E){return we(E)||Me(E)||Te(E)||Ie(E)||Oe(E)||Ne(E)||Ze(E)};k.isExpression=dt;var ht=function isNumericLiteral(E){return Te(E)||Ie(E)||Oe(E)};k.isNumericLiteral=ht;var mt=function isImportDescr(E){return je(E)||qe(E)||Ve(E)||He(E)};k.isImportDescr=mt;var gt=function isIntrinsic(E){return st(E)||ot(E)||ut(E)||lt(E)};k.isIntrinsic=gt;var yt=assertTypeOf("Module");k.assertModule=yt;var _t=assertTypeOf("ModuleMetadata");k.assertModuleMetadata=_t;var vt=assertTypeOf("ModuleNameMetadata");k.assertModuleNameMetadata=vt;var bt=assertTypeOf("FunctionNameMetadata");k.assertFunctionNameMetadata=bt;var Et=assertTypeOf("LocalNameMetadata");k.assertLocalNameMetadata=Et;var kt=assertTypeOf("BinaryModule");k.assertBinaryModule=kt;var xt=assertTypeOf("QuoteModule");k.assertQuoteModule=xt;var St=assertTypeOf("SectionMetadata");k.assertSectionMetadata=St;var wt=assertTypeOf("ProducersSectionMetadata");k.assertProducersSectionMetadata=wt;var At=assertTypeOf("ProducerMetadata");k.assertProducerMetadata=At;var Ct=assertTypeOf("ProducerMetadataVersionedName");k.assertProducerMetadataVersionedName=Ct;var Dt=assertTypeOf("LoopInstruction");k.assertLoopInstruction=Dt;var Mt=assertTypeOf("Instr");k.assertInstr=Mt;var Tt=assertTypeOf("IfInstruction");k.assertIfInstruction=Tt;var It=assertTypeOf("StringLiteral");k.assertStringLiteral=It;var Pt=assertTypeOf("NumberLiteral");k.assertNumberLiteral=Pt;var Ot=assertTypeOf("LongNumberLiteral");k.assertLongNumberLiteral=Ot;var Rt=assertTypeOf("FloatLiteral");k.assertFloatLiteral=Rt;var Ft=assertTypeOf("Elem");k.assertElem=Ft;var Nt=assertTypeOf("IndexInFuncSection");k.assertIndexInFuncSection=Nt;var Bt=assertTypeOf("ValtypeLiteral");k.assertValtypeLiteral=Bt;var Lt=assertTypeOf("TypeInstruction");k.assertTypeInstruction=Lt;var jt=assertTypeOf("Start");k.assertStart=jt;var $t=assertTypeOf("GlobalType");k.assertGlobalType=$t;var zt=assertTypeOf("LeadingComment");k.assertLeadingComment=zt;var Ut=assertTypeOf("BlockComment");k.assertBlockComment=Ut;var Gt=assertTypeOf("Data");k.assertData=Gt;var qt=assertTypeOf("Global");k.assertGlobal=qt;var Vt=assertTypeOf("Table");k.assertTable=Vt;var Ht=assertTypeOf("Memory");k.assertMemory=Ht;var Wt=assertTypeOf("FuncImportDescr");k.assertFuncImportDescr=Wt;var Kt=assertTypeOf("ModuleImport");k.assertModuleImport=Kt;var Xt=assertTypeOf("ModuleExportDescr");k.assertModuleExportDescr=Xt;var Qt=assertTypeOf("ModuleExport");k.assertModuleExport=Qt;var Jt=assertTypeOf("Limit");k.assertLimit=Jt;var Yt=assertTypeOf("Signature");k.assertSignature=Yt;var Zt=assertTypeOf("Program");k.assertProgram=Zt;var en=assertTypeOf("Identifier");k.assertIdentifier=en;var tn=assertTypeOf("BlockInstruction");k.assertBlockInstruction=tn;var nn=assertTypeOf("CallInstruction");k.assertCallInstruction=nn;var rn=assertTypeOf("CallIndirectInstruction");k.assertCallIndirectInstruction=rn;var sn=assertTypeOf("ByteArray");k.assertByteArray=sn;var on=assertTypeOf("Func");k.assertFunc=on;var an=assertTypeOf("InternalBrUnless");k.assertInternalBrUnless=an;var un=assertTypeOf("InternalGoto");k.assertInternalGoto=un;var ln=assertTypeOf("InternalCallExtern");k.assertInternalCallExtern=ln;var cn=assertTypeOf("InternalEndAndReturn");k.assertInternalEndAndReturn=cn;var pn={Module:["Node"],ModuleMetadata:["Node"],ModuleNameMetadata:["Node"],FunctionNameMetadata:["Node"],LocalNameMetadata:["Node"],BinaryModule:["Node"],QuoteModule:["Node"],SectionMetadata:["Node"],ProducersSectionMetadata:["Node"],ProducerMetadata:["Node"],ProducerMetadataVersionedName:["Node"],LoopInstruction:["Node","Block","Instruction"],Instr:["Node","Expression","Instruction"],IfInstruction:["Node","Instruction"],StringLiteral:["Node","Expression"],NumberLiteral:["Node","NumericLiteral","Expression"],LongNumberLiteral:["Node","NumericLiteral","Expression"],FloatLiteral:["Node","NumericLiteral","Expression"],Elem:["Node"],IndexInFuncSection:["Node"],ValtypeLiteral:["Node","Expression"],TypeInstruction:["Node","Instruction"],Start:["Node"],GlobalType:["Node","ImportDescr"],LeadingComment:["Node"],BlockComment:["Node"],Data:["Node"],Global:["Node"],Table:["Node","ImportDescr"],Memory:["Node","ImportDescr"],FuncImportDescr:["Node","ImportDescr"],ModuleImport:["Node"],ModuleExportDescr:["Node"],ModuleExport:["Node"],Limit:["Node"],Signature:["Node"],Program:["Node"],Identifier:["Node","Expression"],BlockInstruction:["Node","Block","Instruction"],CallInstruction:["Node","Instruction"],CallIndirectInstruction:["Node","Instruction"],ByteArray:["Node"],Func:["Node","Block"],InternalBrUnless:["Node","Intrinsic"],InternalGoto:["Node","Intrinsic"],InternalCallExtern:["Node","Intrinsic"],InternalEndAndReturn:["Node","Intrinsic"]};k.unionTypesMap=pn;var dn=["Module","ModuleMetadata","ModuleNameMetadata","FunctionNameMetadata","LocalNameMetadata","BinaryModule","QuoteModule","SectionMetadata","ProducersSectionMetadata","ProducerMetadata","ProducerMetadataVersionedName","LoopInstruction","Instr","IfInstruction","StringLiteral","NumberLiteral","LongNumberLiteral","FloatLiteral","Elem","IndexInFuncSection","ValtypeLiteral","TypeInstruction","Start","GlobalType","LeadingComment","BlockComment","Data","Global","Table","Memory","FuncImportDescr","ModuleImport","ModuleExportDescr","ModuleExport","Limit","Signature","Program","Identifier","BlockInstruction","CallInstruction","CallIndirectInstruction","ByteArray","Func","InternalBrUnless","InternalGoto","InternalCallExtern","InternalEndAndReturn","Node","Block","Instruction","Expression","NumericLiteral","ImportDescr","Intrinsic"];k.nodeAndUnionTypes=dn},75769:(E,k)=>{"use strict";Object.defineProperty(k,"__esModule",{value:true});k.signatures=void 0;function sign(E,k){return[E,k]}var S="u32";var w="i32";var N="i64";var j="f32";var q="f64";var ee=function vector(E){var k=[E];k.vector=true;return k};var te={unreachable:sign([],[]),nop:sign([],[]),br:sign([S],[]),br_if:sign([S],[]),br_table:sign(ee(S),[]),return:sign([],[]),call:sign([S],[]),call_indirect:sign([S],[])};var ne={drop:sign([],[]),select:sign([],[])};var ae={get_local:sign([S],[]),set_local:sign([S],[]),tee_local:sign([S],[]),get_global:sign([S],[]),set_global:sign([S],[])};var _e={"i32.load":sign([S,S],[w]),"i64.load":sign([S,S],[]),"f32.load":sign([S,S],[]),"f64.load":sign([S,S],[]),"i32.load8_s":sign([S,S],[w]),"i32.load8_u":sign([S,S],[w]),"i32.load16_s":sign([S,S],[w]),"i32.load16_u":sign([S,S],[w]),"i64.load8_s":sign([S,S],[N]),"i64.load8_u":sign([S,S],[N]),"i64.load16_s":sign([S,S],[N]),"i64.load16_u":sign([S,S],[N]),"i64.load32_s":sign([S,S],[N]),"i64.load32_u":sign([S,S],[N]),"i32.store":sign([S,S],[]),"i64.store":sign([S,S],[]),"f32.store":sign([S,S],[]),"f64.store":sign([S,S],[]),"i32.store8":sign([S,S],[]),"i32.store16":sign([S,S],[]),"i64.store8":sign([S,S],[]),"i64.store16":sign([S,S],[]),"i64.store32":sign([S,S],[]),current_memory:sign([],[]),grow_memory:sign([],[])};var ve={"i32.const":sign([w],[w]),"i64.const":sign([N],[N]),"f32.const":sign([j],[j]),"f64.const":sign([q],[q]),"i32.eqz":sign([w],[w]),"i32.eq":sign([w,w],[w]),"i32.ne":sign([w,w],[w]),"i32.lt_s":sign([w,w],[w]),"i32.lt_u":sign([w,w],[w]),"i32.gt_s":sign([w,w],[w]),"i32.gt_u":sign([w,w],[w]),"i32.le_s":sign([w,w],[w]),"i32.le_u":sign([w,w],[w]),"i32.ge_s":sign([w,w],[w]),"i32.ge_u":sign([w,w],[w]),"i64.eqz":sign([N],[N]),"i64.eq":sign([N,N],[w]),"i64.ne":sign([N,N],[w]),"i64.lt_s":sign([N,N],[w]),"i64.lt_u":sign([N,N],[w]),"i64.gt_s":sign([N,N],[w]),"i64.gt_u":sign([N,N],[w]),"i64.le_s":sign([N,N],[w]),"i64.le_u":sign([N,N],[w]),"i64.ge_s":sign([N,N],[w]),"i64.ge_u":sign([N,N],[w]),"f32.eq":sign([j,j],[w]),"f32.ne":sign([j,j],[w]),"f32.lt":sign([j,j],[w]),"f32.gt":sign([j,j],[w]),"f32.le":sign([j,j],[w]),"f32.ge":sign([j,j],[w]),"f64.eq":sign([q,q],[w]),"f64.ne":sign([q,q],[w]),"f64.lt":sign([q,q],[w]),"f64.gt":sign([q,q],[w]),"f64.le":sign([q,q],[w]),"f64.ge":sign([q,q],[w]),"i32.clz":sign([w],[w]),"i32.ctz":sign([w],[w]),"i32.popcnt":sign([w],[w]),"i32.add":sign([w,w],[w]),"i32.sub":sign([w,w],[w]),"i32.mul":sign([w,w],[w]),"i32.div_s":sign([w,w],[w]),"i32.div_u":sign([w,w],[w]),"i32.rem_s":sign([w,w],[w]),"i32.rem_u":sign([w,w],[w]),"i32.and":sign([w,w],[w]),"i32.or":sign([w,w],[w]),"i32.xor":sign([w,w],[w]),"i32.shl":sign([w,w],[w]),"i32.shr_s":sign([w,w],[w]),"i32.shr_u":sign([w,w],[w]),"i32.rotl":sign([w,w],[w]),"i32.rotr":sign([w,w],[w]),"i64.clz":sign([N],[N]),"i64.ctz":sign([N],[N]),"i64.popcnt":sign([N],[N]),"i64.add":sign([N,N],[N]),"i64.sub":sign([N,N],[N]),"i64.mul":sign([N,N],[N]),"i64.div_s":sign([N,N],[N]),"i64.div_u":sign([N,N],[N]),"i64.rem_s":sign([N,N],[N]),"i64.rem_u":sign([N,N],[N]),"i64.and":sign([N,N],[N]),"i64.or":sign([N,N],[N]),"i64.xor":sign([N,N],[N]),"i64.shl":sign([N,N],[N]),"i64.shr_s":sign([N,N],[N]),"i64.shr_u":sign([N,N],[N]),"i64.rotl":sign([N,N],[N]),"i64.rotr":sign([N,N],[N]),"f32.abs":sign([j],[j]),"f32.neg":sign([j],[j]),"f32.ceil":sign([j],[j]),"f32.floor":sign([j],[j]),"f32.trunc":sign([j],[j]),"f32.nearest":sign([j],[j]),"f32.sqrt":sign([j],[j]),"f32.add":sign([j,j],[j]),"f32.sub":sign([j,j],[j]),"f32.mul":sign([j,j],[j]),"f32.div":sign([j,j],[j]),"f32.min":sign([j,j],[j]),"f32.max":sign([j,j],[j]),"f32.copysign":sign([j,j],[j]),"f64.abs":sign([q],[q]),"f64.neg":sign([q],[q]),"f64.ceil":sign([q],[q]),"f64.floor":sign([q],[q]),"f64.trunc":sign([q],[q]),"f64.nearest":sign([q],[q]),"f64.sqrt":sign([q],[q]),"f64.add":sign([q,q],[q]),"f64.sub":sign([q,q],[q]),"f64.mul":sign([q,q],[q]),"f64.div":sign([q,q],[q]),"f64.min":sign([q,q],[q]),"f64.max":sign([q,q],[q]),"f64.copysign":sign([q,q],[q]),"i32.wrap/i64":sign([N],[w]),"i32.trunc_s/f32":sign([j],[w]),"i32.trunc_u/f32":sign([j],[w]),"i32.trunc_s/f64":sign([j],[w]),"i32.trunc_u/f64":sign([q],[w]),"i64.extend_s/i32":sign([w],[N]),"i64.extend_u/i32":sign([w],[N]),"i64.trunc_s/f32":sign([j],[N]),"i64.trunc_u/f32":sign([j],[N]),"i64.trunc_s/f64":sign([q],[N]),"i64.trunc_u/f64":sign([q],[N]),"f32.convert_s/i32":sign([w],[j]),"f32.convert_u/i32":sign([w],[j]),"f32.convert_s/i64":sign([N],[j]),"f32.convert_u/i64":sign([N],[j]),"f32.demote/f64":sign([q],[j]),"f64.convert_s/i32":sign([w],[q]),"f64.convert_u/i32":sign([w],[q]),"f64.convert_s/i64":sign([N],[q]),"f64.convert_u/i64":sign([N],[q]),"f64.promote/f32":sign([j],[q]),"i32.reinterpret/f32":sign([j],[w]),"i64.reinterpret/f64":sign([q],[N]),"f32.reinterpret/i32":sign([w],[j]),"f64.reinterpret/i64":sign([N],[q])};var Ee=Object.assign({},te,ne,ae,_e,ve);k.signatures=Ee},5499:(E,k,S)=>{"use strict";Object.defineProperty(k,"__esModule",{value:true});k.moduleContextFromModuleAST=moduleContextFromModuleAST;k.ModuleContext=void 0;var w=S(52696);function _classCallCheck(E,k){if(!(E instanceof k)){throw new TypeError("Cannot call a class as a function")}}function _defineProperties(E,k){for(var S=0;SE&&E>=0}},{key:"getLabel",value:function getLabel(E){return this.labels[E]}},{key:"popLabel",value:function popLabel(){this.labels.shift()}},{key:"hasLocal",value:function hasLocal(E){return typeof this.getLocal(E)!=="undefined"}},{key:"getLocal",value:function getLocal(E){return this.locals[E]}},{key:"addLocal",value:function addLocal(E){this.locals.push(E)}},{key:"addType",value:function addType(E){if(!(E.functype.type==="Signature")){throw new Error('type.functype.type === "Signature"'+" error: "+(undefined||"unknown"))}this.types.push(E.functype)}},{key:"hasType",value:function hasType(E){return this.types[E]!==undefined}},{key:"getType",value:function getType(E){return this.types[E]}},{key:"hasGlobal",value:function hasGlobal(E){return this.globals.length>E&&E>=0}},{key:"getGlobal",value:function getGlobal(E){return this.globals[E].type}},{key:"getGlobalOffsetByIdentifier",value:function getGlobalOffsetByIdentifier(E){if(!(typeof E==="string")){throw new Error('typeof name === "string"'+" error: "+(undefined||"unknown"))}return this.globalsOffsetByIdentifier[E]}},{key:"defineGlobal",value:function defineGlobal(E){var k=E.globalType.valtype;var S=E.globalType.mutability;this.globals.push({type:k,mutability:S});if(typeof E.name!=="undefined"){this.globalsOffsetByIdentifier[E.name.value]=this.globals.length-1}}},{key:"importGlobal",value:function importGlobal(E,k){this.globals.push({type:E,mutability:k})}},{key:"isMutableGlobal",value:function isMutableGlobal(E){return this.globals[E].mutability==="var"}},{key:"isImmutableGlobal",value:function isImmutableGlobal(E){return this.globals[E].mutability==="const"}},{key:"hasMemory",value:function hasMemory(E){return this.mems.length>E&&E>=0}},{key:"addMemory",value:function addMemory(E,k){this.mems.push({min:E,max:k})}},{key:"getMemory",value:function getMemory(E){return this.mems[E]}}]);return ModuleContext}();k.ModuleContext=N},22056:(E,k,S)=>{"use strict";Object.defineProperty(k,"__esModule",{value:true});k.traverse=traverse;var w=S(46166);var N=S(52696);function walk(E,k){var S=false;function innerWalk(E,k){if(S){return}var N=E.node;if(N===undefined){console.warn("traversing with an empty context");return}if(N._deleted===true){return}var j=(0,w.createPath)(E);k(N.type,j);if(j.shouldStop){S=true;return}Object.keys(N).forEach((function(E){var S=N[E];if(S===null||S===undefined){return}var w=Array.isArray(S)?S:[S];w.forEach((function(w){if(typeof w.type==="string"){var N={node:w,parentKey:E,parentPath:j,shouldStop:false,inList:Array.isArray(S)};innerWalk(N,k)}}))}))}innerWalk(E,k)}var j=function noop(){};function traverse(E,k){var S=arguments.length>2&&arguments[2]!==undefined?arguments[2]:j;var w=arguments.length>3&&arguments[3]!==undefined?arguments[3]:j;Object.keys(k).forEach((function(E){if(!N.nodeAndUnionTypes.includes(E)){throw new Error("Unexpected visitor ".concat(E))}}));var q={node:E,inList:false,shouldStop:false,parentPath:null,parentKey:null};walk(q,(function(E,j){if(typeof k[E]==="function"){S(E,j);k[E](j);w(E,j)}var q=N.unionTypesMap[E];if(!q){throw new Error("Unexpected node type ".concat(E))}q.forEach((function(E){if(typeof k[E]==="function"){S(E,j);k[E](j);w(E,j)}}))}))}},91764:(E,k,S)=>{"use strict";Object.defineProperty(k,"__esModule",{value:true});k.isAnonymous=isAnonymous;k.getSectionMetadata=getSectionMetadata;k.getSectionMetadatas=getSectionMetadatas;k.sortSectionMetadata=sortSectionMetadata;k.orderedInsertNode=orderedInsertNode;k.assertHasLoc=assertHasLoc;k.getEndOfSection=getEndOfSection;k.shiftLoc=shiftLoc;k.shiftSection=shiftSection;k.signatureForOpcode=signatureForOpcode;k.getUniqueNameGenerator=getUniqueNameGenerator;k.getStartByteOffset=getStartByteOffset;k.getEndByteOffset=getEndByteOffset;k.getFunctionBeginingByteOffset=getFunctionBeginingByteOffset;k.getEndBlockByteOffset=getEndBlockByteOffset;k.getStartBlockByteOffset=getStartBlockByteOffset;var w=S(75769);var N=S(22056);var j=_interopRequireWildcard(S(3930));function _interopRequireWildcard(E){if(E&&E.__esModule){return E}else{var k={};if(E!=null){for(var S in E){if(Object.prototype.hasOwnProperty.call(E,S)){var w=Object.defineProperty&&Object.getOwnPropertyDescriptor?Object.getOwnPropertyDescriptor(E,S):{};if(w.get||w.set){Object.defineProperty(k,S,w)}else{k[S]=E[S]}}}}k.default=E;return k}}function _sliceIterator(E,k){var S=[];var w=true;var N=false;var j=undefined;try{for(var q=E[Symbol.iterator](),ee;!(w=(ee=q.next()).done);w=true){S.push(ee.value);if(k&&S.length===k)break}}catch(E){N=true;j=E}finally{try{if(!w&&q["return"]!=null)q["return"]()}finally{if(N)throw j}}return S}function _slicedToArray(E,k){if(Array.isArray(E)){return E}else if(Symbol.iterator in Object(E)){return _sliceIterator(E,k)}else{throw new TypeError("Invalid attempt to destructure non-iterable instance")}}function _typeof(E){if(typeof Symbol==="function"&&typeof Symbol.iterator==="symbol"){_typeof=function _typeof(E){return typeof E}}else{_typeof=function _typeof(E){return E&&typeof Symbol==="function"&&E.constructor===Symbol&&E!==Symbol.prototype?"symbol":typeof E}}return _typeof(E)}function isAnonymous(E){return E.raw===""}function getSectionMetadata(E,k){var S;(0,N.traverse)(E,{SectionMetadata:function(E){function SectionMetadata(k){return E.apply(this,arguments)}SectionMetadata.toString=function(){return E.toString()};return SectionMetadata}((function(E){var w=E.node;if(w.section===k){S=w}}))});return S}function getSectionMetadatas(E,k){var S=[];(0,N.traverse)(E,{SectionMetadata:function(E){function SectionMetadata(k){return E.apply(this,arguments)}SectionMetadata.toString=function(){return E.toString()};return SectionMetadata}((function(E){var w=E.node;if(w.section===k){S.push(w)}}))});return S}function sortSectionMetadata(E){if(E.metadata==null){console.warn("sortSectionMetadata: no metadata to sort");return}E.metadata.sections.sort((function(E,k){var S=j.default.sections[E.section];var w=j.default.sections[k.section];if(typeof S!=="number"||typeof w!=="number"){throw new Error("Section id not found")}return S-w}))}function orderedInsertNode(E,k){assertHasLoc(k);var S=false;if(k.type==="ModuleExport"){E.fields.push(k);return}E.fields=E.fields.reduce((function(E,w){var N=Infinity;if(w.loc!=null){N=w.loc.end.column}if(S===false&&k.loc.start.column0&&arguments[0]!==undefined?arguments[0]:"temp";if(!(k in E)){E[k]=0}else{E[k]=E[k]+1}return k+"_"+E[k]}}function getStartByteOffset(E){if(typeof E.loc==="undefined"||typeof E.loc.start==="undefined"){throw new Error("Can not get byte offset without loc informations, node: "+String(E.id))}return E.loc.start.column}function getEndByteOffset(E){if(typeof E.loc==="undefined"||typeof E.loc.end==="undefined"){throw new Error("Can not get byte offset without loc informations, node: "+E.type)}return E.loc.end.column}function getFunctionBeginingByteOffset(E){if(!(E.body.length>0)){throw new Error("n.body.length > 0"+" error: "+(undefined||"unknown"))}var k=_slicedToArray(E.body,1),S=k[0];return getStartByteOffset(S)}function getEndBlockByteOffset(E){if(!(E.instr.length>0||E.body.length>0)){throw new Error("n.instr.length > 0 || n.body.length > 0"+" error: "+(undefined||"unknown"))}var k;if(E.instr){k=E.instr[E.instr.length-1]}if(E.body){k=E.body[E.body.length-1]}if(!(_typeof(k)==="object")){throw new Error('typeof lastInstruction === "object"'+" error: "+(undefined||"unknown"))}return getStartByteOffset(k)}function getStartBlockByteOffset(E){if(!(E.instr.length>0||E.body.length>0)){throw new Error("n.instr.length > 0 || n.body.length > 0"+" error: "+(undefined||"unknown"))}var k;if(E.instr){var S=_slicedToArray(E.instr,1);k=S[0]}if(E.body){var w=_slicedToArray(E.body,1);k=w[0]}if(!(_typeof(k)==="object")){throw new Error('typeof fistInstruction === "object"'+" error: "+(undefined||"unknown"))}return getStartByteOffset(k)}},18083:(E,k)=>{"use strict";Object.defineProperty(k,"__esModule",{value:true});k.default=parse;function parse(E){E=E.toUpperCase();var k=E.indexOf("P");var S,w;if(k!==-1){S=E.substring(0,k);w=parseInt(E.substring(k+1))}else{S=E;w=0}var N=S.indexOf(".");if(N!==-1){var j=parseInt(S.substring(0,N),16);var q=Math.sign(j);j=q*j;var ee=S.length-N-1;var te=parseInt(S.substring(N+1),16);var ne=ee>0?te/Math.pow(16,ee):0;if(q===0){if(ne===0){S=q}else{if(Object.is(q,-0)){S=-ne}else{S=ne}}}else{S=q*(j+ne)}}else{S=parseInt(S,16)}return S*(k!==-1?Math.pow(2,w):1)}},35866:(E,k)=>{"use strict";Object.defineProperty(k,"__esModule",{value:true});k.LinkError=k.CompileError=k.RuntimeError=void 0;function _typeof(E){if(typeof Symbol==="function"&&typeof Symbol.iterator==="symbol"){_typeof=function _typeof(E){return typeof E}}else{_typeof=function _typeof(E){return E&&typeof Symbol==="function"&&E.constructor===Symbol&&E!==Symbol.prototype?"symbol":typeof E}}return _typeof(E)}function _classCallCheck(E,k){if(!(E instanceof k)){throw new TypeError("Cannot call a class as a function")}}function _possibleConstructorReturn(E,k){if(k&&(_typeof(k)==="object"||typeof k==="function")){return k}if(!E){throw new ReferenceError("this hasn't been initialised - super() hasn't been called")}return E}function _inherits(E,k){if(typeof k!=="function"&&k!==null){throw new TypeError("Super expression must either be null or a function")}E.prototype=Object.create(k&&k.prototype,{constructor:{value:E,enumerable:false,writable:true,configurable:true}});if(k)Object.setPrototypeOf?Object.setPrototypeOf(E,k):E.__proto__=k}var S=function(E){_inherits(RuntimeError,E);function RuntimeError(){_classCallCheck(this,RuntimeError);return _possibleConstructorReturn(this,(RuntimeError.__proto__||Object.getPrototypeOf(RuntimeError)).apply(this,arguments))}return RuntimeError}(Error);k.RuntimeError=S;var w=function(E){_inherits(CompileError,E);function CompileError(){_classCallCheck(this,CompileError);return _possibleConstructorReturn(this,(CompileError.__proto__||Object.getPrototypeOf(CompileError)).apply(this,arguments))}return CompileError}(Error);k.CompileError=w;var N=function(E){_inherits(LinkError,E);function LinkError(){_classCallCheck(this,LinkError);return _possibleConstructorReturn(this,(LinkError.__proto__||Object.getPrototypeOf(LinkError)).apply(this,arguments))}return LinkError}(Error);k.LinkError=N},3104:(E,k)=>{"use strict";Object.defineProperty(k,"__esModule",{value:true});k.overrideBytesInBuffer=overrideBytesInBuffer;k.makeBuffer=makeBuffer;k.fromHexdump=fromHexdump;function _toConsumableArray(E){if(Array.isArray(E)){for(var k=0,S=new Array(E.length);k{"use strict";Object.defineProperty(k,"__esModule",{value:true});k.parse32F=parse32F;k.parse64F=parse64F;k.parse32I=parse32I;k.parseU32=parseU32;k.parse64I=parse64I;k.isInfLiteral=isInfLiteral;k.isNanLiteral=isNanLiteral;var w=_interopRequireDefault(S(11174));var N=_interopRequireDefault(S(18083));var j=S(35866);function _interopRequireDefault(E){return E&&E.__esModule?E:{default:E}}function parse32F(E){if(isHexLiteral(E)){return(0,N.default)(E)}if(isInfLiteral(E)){return E[0]==="-"?-1:1}if(isNanLiteral(E)){return(E[0]==="-"?-1:1)*(E.includes(":")?parseInt(E.substring(E.indexOf(":")+1),16):4194304)}return parseFloat(E)}function parse64F(E){if(isHexLiteral(E)){return(0,N.default)(E)}if(isInfLiteral(E)){return E[0]==="-"?-1:1}if(isNanLiteral(E)){return(E[0]==="-"?-1:1)*(E.includes(":")?parseInt(E.substring(E.indexOf(":")+1),16):0x8000000000000)}if(isHexLiteral(E)){return(0,N.default)(E)}return parseFloat(E)}function parse32I(E){var k=0;if(isHexLiteral(E)){k=~~parseInt(E,16)}else if(isDecimalExponentLiteral(E)){throw new Error("This number literal format is yet to be implemented.")}else{k=parseInt(E,10)}return k}function parseU32(E){var k=parse32I(E);if(k<0){throw new j.CompileError("Illegal value for u32: "+E)}return k}function parse64I(E){var k;if(isHexLiteral(E)){k=w.default.fromString(E,false,16)}else if(isDecimalExponentLiteral(E)){throw new Error("This number literal format is yet to be implemented.")}else{k=w.default.fromString(E)}return{high:k.high,low:k.low}}var q=/^\+?-?nan/;var ee=/^\+?-?inf/;function isInfLiteral(E){return ee.test(E.toLowerCase())}function isNanLiteral(E){return q.test(E.toLowerCase())}function isDecimalExponentLiteral(E){return!isHexLiteral(E)&&E.toUpperCase().includes("E")}function isHexLiteral(E){return E.substring(0,2).toUpperCase()==="0X"||E.substring(0,3).toUpperCase()==="-0X"}},3930:(E,k,S)=>{"use strict";Object.defineProperty(k,"__esModule",{value:true});Object.defineProperty(k,"getSectionForNode",{enumerable:true,get:function get(){return w.getSectionForNode}});k.default=void 0;var w=S(55474);var N="illegal";var j=[0,97,115,109];var q=[1,0,0,0];function invertMap(E){var k=arguments.length>1&&arguments[1]!==undefined?arguments[1]:function(E){return E};var S={};var w=Object.keys(E);for(var N=0,j=w.length;N2&&arguments[2]!==undefined?arguments[2]:0;return{name:E,object:k,numberOfArgs:S}}function createSymbol(E){var k=arguments.length>1&&arguments[1]!==undefined?arguments[1]:0;return{name:E,numberOfArgs:k}}var ee={func:96,result:64};var te={0:"Func",1:"Table",2:"Mem",3:"Global"};var ne=invertMap(te);var ae={127:"i32",126:"i64",125:"f32",124:"f64",123:"v128"};var _e=invertMap(ae);var ve={112:"anyfunc"};var Ee=Object.assign({},ae,{64:null,127:"i32",126:"i64",125:"f32",124:"f64"});var we={0:"const",1:"var"};var Ce=invertMap(we);var Me={0:"func",1:"table",2:"mem",3:"global"};var Te={custom:0,type:1,import:2,func:3,table:4,memory:5,global:6,export:7,start:8,element:9,code:10,data:11};var Ie={0:createSymbol("unreachable"),1:createSymbol("nop"),2:createSymbol("block"),3:createSymbol("loop"),4:createSymbol("if"),5:createSymbol("else"),6:N,7:N,8:N,9:N,10:N,11:createSymbol("end"),12:createSymbol("br",1),13:createSymbol("br_if",1),14:createSymbol("br_table"),15:createSymbol("return"),16:createSymbol("call",1),17:createSymbol("call_indirect",2),18:N,19:N,20:N,21:N,22:N,23:N,24:N,25:N,26:createSymbol("drop"),27:createSymbol("select"),28:N,29:N,30:N,31:N,32:createSymbol("get_local",1),33:createSymbol("set_local",1),34:createSymbol("tee_local",1),35:createSymbol("get_global",1),36:createSymbol("set_global",1),37:N,38:N,39:N,40:createSymbolObject("load","u32",1),41:createSymbolObject("load","u64",1),42:createSymbolObject("load","f32",1),43:createSymbolObject("load","f64",1),44:createSymbolObject("load8_s","u32",1),45:createSymbolObject("load8_u","u32",1),46:createSymbolObject("load16_s","u32",1),47:createSymbolObject("load16_u","u32",1),48:createSymbolObject("load8_s","u64",1),49:createSymbolObject("load8_u","u64",1),50:createSymbolObject("load16_s","u64",1),51:createSymbolObject("load16_u","u64",1),52:createSymbolObject("load32_s","u64",1),53:createSymbolObject("load32_u","u64",1),54:createSymbolObject("store","u32",1),55:createSymbolObject("store","u64",1),56:createSymbolObject("store","f32",1),57:createSymbolObject("store","f64",1),58:createSymbolObject("store8","u32",1),59:createSymbolObject("store16","u32",1),60:createSymbolObject("store8","u64",1),61:createSymbolObject("store16","u64",1),62:createSymbolObject("store32","u64",1),63:createSymbolObject("current_memory"),64:createSymbolObject("grow_memory"),65:createSymbolObject("const","i32",1),66:createSymbolObject("const","i64",1),67:createSymbolObject("const","f32",1),68:createSymbolObject("const","f64",1),69:createSymbolObject("eqz","i32"),70:createSymbolObject("eq","i32"),71:createSymbolObject("ne","i32"),72:createSymbolObject("lt_s","i32"),73:createSymbolObject("lt_u","i32"),74:createSymbolObject("gt_s","i32"),75:createSymbolObject("gt_u","i32"),76:createSymbolObject("le_s","i32"),77:createSymbolObject("le_u","i32"),78:createSymbolObject("ge_s","i32"),79:createSymbolObject("ge_u","i32"),80:createSymbolObject("eqz","i64"),81:createSymbolObject("eq","i64"),82:createSymbolObject("ne","i64"),83:createSymbolObject("lt_s","i64"),84:createSymbolObject("lt_u","i64"),85:createSymbolObject("gt_s","i64"),86:createSymbolObject("gt_u","i64"),87:createSymbolObject("le_s","i64"),88:createSymbolObject("le_u","i64"),89:createSymbolObject("ge_s","i64"),90:createSymbolObject("ge_u","i64"),91:createSymbolObject("eq","f32"),92:createSymbolObject("ne","f32"),93:createSymbolObject("lt","f32"),94:createSymbolObject("gt","f32"),95:createSymbolObject("le","f32"),96:createSymbolObject("ge","f32"),97:createSymbolObject("eq","f64"),98:createSymbolObject("ne","f64"),99:createSymbolObject("lt","f64"),100:createSymbolObject("gt","f64"),101:createSymbolObject("le","f64"),102:createSymbolObject("ge","f64"),103:createSymbolObject("clz","i32"),104:createSymbolObject("ctz","i32"),105:createSymbolObject("popcnt","i32"),106:createSymbolObject("add","i32"),107:createSymbolObject("sub","i32"),108:createSymbolObject("mul","i32"),109:createSymbolObject("div_s","i32"),110:createSymbolObject("div_u","i32"),111:createSymbolObject("rem_s","i32"),112:createSymbolObject("rem_u","i32"),113:createSymbolObject("and","i32"),114:createSymbolObject("or","i32"),115:createSymbolObject("xor","i32"),116:createSymbolObject("shl","i32"),117:createSymbolObject("shr_s","i32"),118:createSymbolObject("shr_u","i32"),119:createSymbolObject("rotl","i32"),120:createSymbolObject("rotr","i32"),121:createSymbolObject("clz","i64"),122:createSymbolObject("ctz","i64"),123:createSymbolObject("popcnt","i64"),124:createSymbolObject("add","i64"),125:createSymbolObject("sub","i64"),126:createSymbolObject("mul","i64"),127:createSymbolObject("div_s","i64"),128:createSymbolObject("div_u","i64"),129:createSymbolObject("rem_s","i64"),130:createSymbolObject("rem_u","i64"),131:createSymbolObject("and","i64"),132:createSymbolObject("or","i64"),133:createSymbolObject("xor","i64"),134:createSymbolObject("shl","i64"),135:createSymbolObject("shr_s","i64"),136:createSymbolObject("shr_u","i64"),137:createSymbolObject("rotl","i64"),138:createSymbolObject("rotr","i64"),139:createSymbolObject("abs","f32"),140:createSymbolObject("neg","f32"),141:createSymbolObject("ceil","f32"),142:createSymbolObject("floor","f32"),143:createSymbolObject("trunc","f32"),144:createSymbolObject("nearest","f32"),145:createSymbolObject("sqrt","f32"),146:createSymbolObject("add","f32"),147:createSymbolObject("sub","f32"),148:createSymbolObject("mul","f32"),149:createSymbolObject("div","f32"),150:createSymbolObject("min","f32"),151:createSymbolObject("max","f32"),152:createSymbolObject("copysign","f32"),153:createSymbolObject("abs","f64"),154:createSymbolObject("neg","f64"),155:createSymbolObject("ceil","f64"),156:createSymbolObject("floor","f64"),157:createSymbolObject("trunc","f64"),158:createSymbolObject("nearest","f64"),159:createSymbolObject("sqrt","f64"),160:createSymbolObject("add","f64"),161:createSymbolObject("sub","f64"),162:createSymbolObject("mul","f64"),163:createSymbolObject("div","f64"),164:createSymbolObject("min","f64"),165:createSymbolObject("max","f64"),166:createSymbolObject("copysign","f64"),167:createSymbolObject("wrap/i64","i32"),168:createSymbolObject("trunc_s/f32","i32"),169:createSymbolObject("trunc_u/f32","i32"),170:createSymbolObject("trunc_s/f64","i32"),171:createSymbolObject("trunc_u/f64","i32"),172:createSymbolObject("extend_s/i32","i64"),173:createSymbolObject("extend_u/i32","i64"),174:createSymbolObject("trunc_s/f32","i64"),175:createSymbolObject("trunc_u/f32","i64"),176:createSymbolObject("trunc_s/f64","i64"),177:createSymbolObject("trunc_u/f64","i64"),178:createSymbolObject("convert_s/i32","f32"),179:createSymbolObject("convert_u/i32","f32"),180:createSymbolObject("convert_s/i64","f32"),181:createSymbolObject("convert_u/i64","f32"),182:createSymbolObject("demote/f64","f32"),183:createSymbolObject("convert_s/i32","f64"),184:createSymbolObject("convert_u/i32","f64"),185:createSymbolObject("convert_s/i64","f64"),186:createSymbolObject("convert_u/i64","f64"),187:createSymbolObject("promote/f32","f64"),188:createSymbolObject("reinterpret/f32","i32"),189:createSymbolObject("reinterpret/f64","i64"),190:createSymbolObject("reinterpret/i32","f32"),191:createSymbolObject("reinterpret/i64","f64"),65024:createSymbol("memory.atomic.notify",1),65025:createSymbol("memory.atomic.wait32",1),65026:createSymbol("memory.atomic.wait64",1),65040:createSymbolObject("atomic.load","i32",1),65041:createSymbolObject("atomic.load","i64",1),65042:createSymbolObject("atomic.load8_u","i32",1),65043:createSymbolObject("atomic.load16_u","i32",1),65044:createSymbolObject("atomic.load8_u","i64",1),65045:createSymbolObject("atomic.load16_u","i64",1),65046:createSymbolObject("atomic.load32_u","i64",1),65047:createSymbolObject("atomic.store","i32",1),65048:createSymbolObject("atomic.store","i64",1),65049:createSymbolObject("atomic.store8_u","i32",1),65050:createSymbolObject("atomic.store16_u","i32",1),65051:createSymbolObject("atomic.store8_u","i64",1),65052:createSymbolObject("atomic.store16_u","i64",1),65053:createSymbolObject("atomic.store32_u","i64",1),65054:createSymbolObject("atomic.rmw.add","i32",1),65055:createSymbolObject("atomic.rmw.add","i64",1),65056:createSymbolObject("atomic.rmw8_u.add_u","i32",1),65057:createSymbolObject("atomic.rmw16_u.add_u","i32",1),65058:createSymbolObject("atomic.rmw8_u.add_u","i64",1),65059:createSymbolObject("atomic.rmw16_u.add_u","i64",1),65060:createSymbolObject("atomic.rmw32_u.add_u","i64",1),65061:createSymbolObject("atomic.rmw.sub","i32",1),65062:createSymbolObject("atomic.rmw.sub","i64",1),65063:createSymbolObject("atomic.rmw8_u.sub_u","i32",1),65064:createSymbolObject("atomic.rmw16_u.sub_u","i32",1),65065:createSymbolObject("atomic.rmw8_u.sub_u","i64",1),65066:createSymbolObject("atomic.rmw16_u.sub_u","i64",1),65067:createSymbolObject("atomic.rmw32_u.sub_u","i64",1),65068:createSymbolObject("atomic.rmw.and","i32",1),65069:createSymbolObject("atomic.rmw.and","i64",1),65070:createSymbolObject("atomic.rmw8_u.and_u","i32",1),65071:createSymbolObject("atomic.rmw16_u.and_u","i32",1),65072:createSymbolObject("atomic.rmw8_u.and_u","i64",1),65073:createSymbolObject("atomic.rmw16_u.and_u","i64",1),65074:createSymbolObject("atomic.rmw32_u.and_u","i64",1),65075:createSymbolObject("atomic.rmw.or","i32",1),65076:createSymbolObject("atomic.rmw.or","i64",1),65077:createSymbolObject("atomic.rmw8_u.or_u","i32",1),65078:createSymbolObject("atomic.rmw16_u.or_u","i32",1),65079:createSymbolObject("atomic.rmw8_u.or_u","i64",1),65080:createSymbolObject("atomic.rmw16_u.or_u","i64",1),65081:createSymbolObject("atomic.rmw32_u.or_u","i64",1),65082:createSymbolObject("atomic.rmw.xor","i32",1),65083:createSymbolObject("atomic.rmw.xor","i64",1),65084:createSymbolObject("atomic.rmw8_u.xor_u","i32",1),65085:createSymbolObject("atomic.rmw16_u.xor_u","i32",1),65086:createSymbolObject("atomic.rmw8_u.xor_u","i64",1),65087:createSymbolObject("atomic.rmw16_u.xor_u","i64",1),65088:createSymbolObject("atomic.rmw32_u.xor_u","i64",1),65089:createSymbolObject("atomic.rmw.xchg","i32",1),65090:createSymbolObject("atomic.rmw.xchg","i64",1),65091:createSymbolObject("atomic.rmw8_u.xchg_u","i32",1),65092:createSymbolObject("atomic.rmw16_u.xchg_u","i32",1),65093:createSymbolObject("atomic.rmw8_u.xchg_u","i64",1),65094:createSymbolObject("atomic.rmw16_u.xchg_u","i64",1),65095:createSymbolObject("atomic.rmw32_u.xchg_u","i64",1),65096:createSymbolObject("atomic.rmw.cmpxchg","i32",1),65097:createSymbolObject("atomic.rmw.cmpxchg","i64",1),65098:createSymbolObject("atomic.rmw8_u.cmpxchg_u","i32",1),65099:createSymbolObject("atomic.rmw16_u.cmpxchg_u","i32",1),65100:createSymbolObject("atomic.rmw8_u.cmpxchg_u","i64",1),65101:createSymbolObject("atomic.rmw16_u.cmpxchg_u","i64",1),65102:createSymbolObject("atomic.rmw32_u.cmpxchg_u","i64",1)};var Oe=invertMap(Ie,(function(E){if(typeof E.object==="string"){return"".concat(E.object,".").concat(E.name)}return E.name}));var Re={symbolsByByte:Ie,sections:Te,magicModuleHeader:j,moduleVersion:q,types:ee,valtypes:ae,exportTypes:te,blockTypes:Ee,tableTypes:ve,globalTypes:we,importTypes:Me,valtypesByString:_e,globalTypesByString:Ce,exportTypesByName:ne,symbolsByName:Oe};k.default=Re},55474:(E,k)=>{"use strict";Object.defineProperty(k,"__esModule",{value:true});k.getSectionForNode=getSectionForNode;function getSectionForNode(E){switch(E.type){case"ModuleImport":return"import";case"CallInstruction":case"CallIndirectInstruction":case"Func":case"Instr":return"code";case"ModuleExport":return"export";case"Start":return"start";case"TypeInstruction":return"type";case"IndexInFuncSection":return"func";case"Global":return"global";default:return}}},97961:(E,k,S)=>{"use strict";Object.defineProperty(k,"__esModule",{value:true});k.createEmptySection=createEmptySection;var w=S(44166);var N=S(3104);var j=_interopRequireDefault(S(3930));var q=_interopRequireWildcard(S(98093));function _interopRequireWildcard(E){if(E&&E.__esModule){return E}else{var k={};if(E!=null){for(var S in E){if(Object.prototype.hasOwnProperty.call(E,S)){var w=Object.defineProperty&&Object.getOwnPropertyDescriptor?Object.getOwnPropertyDescriptor(E,S):{};if(w.get||w.set){Object.defineProperty(k,S,w)}else{k[S]=E[S]}}}}k.default=E;return k}}function _interopRequireDefault(E){return E&&E.__esModule?E:{default:E}}function _typeof(E){if(typeof Symbol==="function"&&typeof Symbol.iterator==="symbol"){_typeof=function _typeof(E){return typeof E}}else{_typeof=function _typeof(E){return E&&typeof Symbol==="function"&&E.constructor===Symbol&&E!==Symbol.prototype?"symbol":typeof E}}return _typeof(E)}function findLastSection(E,k){var S=j.default.sections[k];var w=E.body[0].metadata.sections;var N;var q=0;for(var ee=0,te=w.length;eeq&&S{"use strict";Object.defineProperty(k,"__esModule",{value:true});Object.defineProperty(k,"resizeSectionByteSize",{enumerable:true,get:function get(){return w.resizeSectionByteSize}});Object.defineProperty(k,"resizeSectionVecSize",{enumerable:true,get:function get(){return w.resizeSectionVecSize}});Object.defineProperty(k,"createEmptySection",{enumerable:true,get:function get(){return N.createEmptySection}});Object.defineProperty(k,"removeSections",{enumerable:true,get:function get(){return j.removeSections}});var w=S(35369);var N=S(97961);var j=S(96744)},96744:(E,k,S)=>{"use strict";Object.defineProperty(k,"__esModule",{value:true});k.removeSections=removeSections;var w=S(98093);var N=S(3104);function removeSections(E,k,S){var j=(0,w.getSectionMetadatas)(E,S);if(j.length===0){throw new Error("Section metadata not found")}return j.reverse().reduce((function(k,j){var q=j.startOffset-1;var ee=S==="start"?j.size.loc.end.column+1:j.startOffset+j.size.value+1;var te=-(ee-q);var ne=false;(0,w.traverse)(E,{SectionMetadata:function SectionMetadata(k){if(k.node.section===S){ne=true;return k.remove()}if(ne===true){(0,w.shiftSection)(E,k.node,te)}}});var ae=[];return(0,N.overrideBytesInBuffer)(k,q,ee,ae)}),k)}},35369:(E,k,S)=>{"use strict";Object.defineProperty(k,"__esModule",{value:true});k.resizeSectionByteSize=resizeSectionByteSize;k.resizeSectionVecSize=resizeSectionVecSize;var w=S(44166);var N=S(98093);var j=S(3104);function resizeSectionByteSize(E,k,S,q){var ee=(0,N.getSectionMetadata)(E,S);if(typeof ee==="undefined"){throw new Error("Section metadata not found")}if(typeof ee.size.loc==="undefined"){throw new Error("SectionMetadata "+S+" has no loc")}var te=ee.size.loc.start.column;var ne=ee.size.loc.end.column;var ae=ee.size.value+q;var _e=(0,w.encodeU32)(ae);ee.size.value=ae;var ve=ne-te;var Ee=_e.length;if(Ee!==ve){var we=Ee-ve;ee.size.loc.end.column=te+Ee;q+=we;ee.vectorOfSize.loc.start.column+=we;ee.vectorOfSize.loc.end.column+=we}var Ce=false;(0,N.traverse)(E,{SectionMetadata:function SectionMetadata(k){if(k.node.section===S){Ce=true;return}if(Ce===true){(0,N.shiftSection)(E,k.node,q)}}});return(0,j.overrideBytesInBuffer)(k,te,ne,_e)}function resizeSectionVecSize(E,k,S,q){var ee=(0,N.getSectionMetadata)(E,S);if(typeof ee==="undefined"){throw new Error("Section metadata not found")}if(typeof ee.vectorOfSize.loc==="undefined"){throw new Error("SectionMetadata "+S+" has no loc")}if(ee.vectorOfSize.value===-1){return k}var te=ee.vectorOfSize.loc.start.column;var ne=ee.vectorOfSize.loc.end.column;var ae=ee.vectorOfSize.value+q;var _e=(0,w.encodeU32)(ae);ee.vectorOfSize.value=ae;ee.vectorOfSize.loc.end.column=te+_e.length;return(0,j.overrideBytesInBuffer)(k,te,ne,_e)}},48:(E,k,S)=>{"use strict";Object.defineProperty(k,"__esModule",{value:true});k.encodeF32=encodeF32;k.encodeF64=encodeF64;k.decodeF32=decodeF32;k.decodeF64=decodeF64;k.DOUBLE_PRECISION_MANTISSA=k.SINGLE_PRECISION_MANTISSA=k.NUMBER_OF_BYTE_F64=k.NUMBER_OF_BYTE_F32=void 0;var w=S(3158);var N=4;k.NUMBER_OF_BYTE_F32=N;var j=8;k.NUMBER_OF_BYTE_F64=j;var q=23;k.SINGLE_PRECISION_MANTISSA=q;var ee=52;k.DOUBLE_PRECISION_MANTISSA=ee;function encodeF32(E){var k=[];(0,w.write)(k,E,0,true,q,N);return k}function encodeF64(E){var k=[];(0,w.write)(k,E,0,true,ee,j);return k}function decodeF32(E){var k=Buffer.from(E);return(0,w.read)(k,0,true,q,N)}function decodeF64(E){var k=Buffer.from(E);return(0,w.read)(k,0,true,ee,j)}},90683:(E,k)=>{"use strict";Object.defineProperty(k,"__esModule",{value:true});k.extract=extract;k.inject=inject;k.getSign=getSign;k.highOrder=highOrder;function extract(E,k,S,w){if(S<0||S>32){throw new Error("Bad value for bitLength.")}if(w===undefined){w=0}else if(w!==0&&w!==1){throw new Error("Bad value for defaultBit.")}var N=w*255;var j=0;var q=k+S;var ee=Math.floor(k/8);var te=k%8;var ne=Math.floor(q/8);var ae=q%8;if(ae!==0){j=get(ne)&(1<ee){ne--;j=j<<8|get(ne)}j>>>=te;return j;function get(k){var S=E[k];return S===undefined?N:S}}function inject(E,k,S,w){if(S<0||S>32){throw new Error("Bad value for bitLength.")}var N=Math.floor((k+S-1)/8);if(k<0||N>=E.length){throw new Error("Index out of range.")}var j=Math.floor(k/8);var q=k%8;while(S>0){if(w&1){E[j]|=1<>=1;S--;q=(q+1)%8;if(q===0){j++}}}function getSign(E){return E[E.length-1]>>>7}function highOrder(E,k){var S=k.length;var w=(E^1)*255;while(S>0&&k[S-1]===w){S--}if(S===0){return-1}var N=k[S-1];var j=S*8-1;for(var q=7;q>0;q--){if((N>>q&1)===E){break}j--}return j}},1779:(E,k)=>{"use strict";Object.defineProperty(k,"__esModule",{value:true});k.alloc=alloc;k.free=free;k.resize=resize;k.readInt=readInt;k.readUInt=readUInt;k.writeInt64=writeInt64;k.writeUInt64=writeUInt64;var S=[];var w=20;var N=-0x8000000000000000;var j=0x7ffffffffffffc00;var q=0xfffffffffffff800;var ee=4294967296;var te=0x10000000000000000;function lowestBit(E){return E&-E}function isLossyToAdd(E,k){if(k===0){return false}var S=lowestBit(k);var w=E+S;if(w===E){return true}if(w-S!==E){return true}return false}function alloc(E){var k=S[E];if(k){S[E]=undefined}else{k=new Buffer(E)}k.fill(0);return k}function free(E){var k=E.length;if(k=0;j--){w=w*256+E[j]}}else{for(var q=k-1;q>=0;q--){var ee=E[q];w*=256;if(isLossyToAdd(w,ee)){N=true}w+=ee}}return{value:w,lossy:N}}function readUInt(E){var k=E.length;var S=0;var w=false;if(k<7){for(var N=k-1;N>=0;N--){S=S*256+E[N]}}else{for(var j=k-1;j>=0;j--){var q=E[j];S*=256;if(isLossyToAdd(S,q)){w=true}S+=q}}return{value:S,lossy:w}}function writeInt64(E,k){if(Ej){throw new Error("Value out of range.")}if(E<0){E+=te}writeUInt64(E,k)}function writeUInt64(E,k){if(E<0||E>q){throw new Error("Value out of range.")}var S=E%ee;var w=Math.floor(E/ee);k.writeUInt32LE(S,0);k.writeUInt32LE(w,4)}},39784:(E,k,S)=>{"use strict";Object.defineProperty(k,"__esModule",{value:true});k.decodeInt64=decodeInt64;k.decodeUInt64=decodeUInt64;k.decodeInt32=decodeInt32;k.decodeUInt32=decodeUInt32;k.encodeU32=encodeU32;k.encodeI32=encodeI32;k.encodeI64=encodeI64;k.MAX_NUMBER_OF_BYTE_U64=k.MAX_NUMBER_OF_BYTE_U32=void 0;var w=_interopRequireDefault(S(83082));function _interopRequireDefault(E){return E&&E.__esModule?E:{default:E}}var N=5;k.MAX_NUMBER_OF_BYTE_U32=N;var j=10;k.MAX_NUMBER_OF_BYTE_U64=j;function decodeInt64(E,k){return w.default.decodeInt64(E,k)}function decodeUInt64(E,k){return w.default.decodeUInt64(E,k)}function decodeInt32(E,k){return w.default.decodeInt32(E,k)}function decodeUInt32(E,k){return w.default.decodeUInt32(E,k)}function encodeU32(E){return w.default.encodeUInt32(E)}function encodeI32(E){return w.default.encodeInt32(E)}function encodeI64(E){return w.default.encodeInt64(E)}},83082:(E,k,S)=>{"use strict";Object.defineProperty(k,"__esModule",{value:true});k.default=void 0;var w=_interopRequireDefault(S(11174));var N=_interopRequireWildcard(S(90683));var j=_interopRequireWildcard(S(1779));function _interopRequireWildcard(E){if(E&&E.__esModule){return E}else{var k={};if(E!=null){for(var S in E){if(Object.prototype.hasOwnProperty.call(E,S)){var w=Object.defineProperty&&Object.getOwnPropertyDescriptor?Object.getOwnPropertyDescriptor(E,S):{};if(w.get||w.set){Object.defineProperty(k,S,w)}else{k[S]=E[S]}}}}k.default=E;return k}}function _interopRequireDefault(E){return E&&E.__esModule?E:{default:E}}var q=-2147483648;var ee=2147483647;var te=4294967295;function signedBitCount(E){return N.highOrder(N.getSign(E)^1,E)+2}function unsignedBitCount(E){var k=N.highOrder(1,E)+1;return k?k:1}function encodeBufferCommon(E,k){var S;var w;if(k){S=N.getSign(E);w=signedBitCount(E)}else{S=0;w=unsignedBitCount(E)}var q=Math.ceil(w/7);var ee=j.alloc(q);for(var te=0;te=128){S++}S++;if(k+S>E.length){}return S}function decodeBufferCommon(E,k,S){k=k===undefined?0:k;var w=encodedLength(E,k);var q=w*7;var ee=Math.ceil(q/8);var te=j.alloc(ee);var ne=0;while(w>0){N.inject(te,ne,7,E[k]);ne+=7;k++;w--}var ae;var _e;if(S){var ve=te[ee-1];var Ee=ne%8;if(Ee!==0){var we=32-Ee;ve=te[ee-1]=ve<>we&255}ae=ve>>7;_e=ae*255}else{ae=0;_e=0}while(ee>1&&te[ee-1]===_e&&(!S||te[ee-2]>>7===ae)){ee--}te=j.resize(te,ee);return{value:te,nextIndex:k}}function encodeIntBuffer(E){return encodeBufferCommon(E,true)}function decodeIntBuffer(E,k){return decodeBufferCommon(E,k,true)}function encodeInt32(E){var k=j.alloc(4);k.writeInt32LE(E,0);var S=encodeIntBuffer(k);j.free(k);return S}function decodeInt32(E,k){var S=decodeIntBuffer(E,k);var w=j.readInt(S.value);var N=w.value;j.free(S.value);if(Nee){throw new Error("integer too large")}return{value:N,nextIndex:S.nextIndex}}function encodeInt64(E){var k=j.alloc(8);j.writeInt64(E,k);var S=encodeIntBuffer(k);j.free(k);return S}function decodeInt64(E,k){var S=decodeIntBuffer(E,k);var N=w.default.fromBytesLE(S.value,false);j.free(S.value);return{value:N,nextIndex:S.nextIndex,lossy:false}}function encodeUIntBuffer(E){return encodeBufferCommon(E,false)}function decodeUIntBuffer(E,k){return decodeBufferCommon(E,k,false)}function encodeUInt32(E){var k=j.alloc(4);k.writeUInt32LE(E,0);var S=encodeUIntBuffer(k);j.free(k);return S}function decodeUInt32(E,k){var S=decodeUIntBuffer(E,k);var w=j.readUInt(S.value);var N=w.value;j.free(S.value);if(N>te){throw new Error("integer too large")}return{value:N,nextIndex:S.nextIndex}}function encodeUInt64(E){var k=j.alloc(8);j.writeUInt64(E,k);var S=encodeUIntBuffer(k);j.free(k);return S}function decodeUInt64(E,k){var S=decodeUIntBuffer(E,k);var N=w.default.fromBytesLE(S.value,true);j.free(S.value);return{value:N,nextIndex:S.nextIndex,lossy:false}}var ne={decodeInt32:decodeInt32,decodeInt64:decodeInt64,decodeIntBuffer:decodeIntBuffer,decodeUInt32:decodeUInt32,decodeUInt64:decodeUInt64,decodeUIntBuffer:decodeUIntBuffer,encodeInt32:encodeInt32,encodeInt64:encodeInt64,encodeIntBuffer:encodeIntBuffer,encodeUInt32:encodeUInt32,encodeUInt64:encodeUInt64,encodeUIntBuffer:encodeUIntBuffer};k.default=ne},85589:(E,k)=>{"use strict";Object.defineProperty(k,"__esModule",{value:true});k.decode=decode;function _toConsumableArray(E){if(Array.isArray(E)){for(var k=0,S=new Array(E.length);k=65536){throw new Error("invalid UTF-8 encoding")}else{return k}}function decode(E){return _decode(E).map((function(E){return String.fromCharCode(E)})).join("")}function _decode(E){if(E.length===0){return[]}{var k=_toArray(E),S=k[0],w=k.slice(1);if(S<128){return[code(0,S)].concat(_toConsumableArray(_decode(w)))}if(S<192){throw new Error("invalid UTF-8 encoding")}}{var N=_toArray(E),j=N[0],q=N[1],ee=N.slice(2);if(j<224){return[code(128,((j&31)<<6)+con(q))].concat(_toConsumableArray(_decode(ee)))}}{var te=_toArray(E),ne=te[0],ae=te[1],_e=te[2],ve=te.slice(3);if(ne<240){return[code(2048,((ne&15)<<12)+(con(ae)<<6)+con(_e))].concat(_toConsumableArray(_decode(ve)))}}{var Ee=_toArray(E),we=Ee[0],Ce=Ee[1],Me=Ee[2],Te=Ee[3],Ie=Ee.slice(4);if(we<248){return[code(65536,(((we&7)<<18)+con(Ce)<<12)+(con(Me)<<6)+con(Te))].concat(_toConsumableArray(_decode(Ie)))}}throw new Error("invalid UTF-8 encoding")}},56264:(E,k)=>{"use strict";Object.defineProperty(k,"__esModule",{value:true});k.encode=encode;function _toConsumableArray(E){if(Array.isArray(E)){for(var k=0,S=new Array(E.length);k>>6,con(S)].concat(_toConsumableArray(_encode(w)))}if(S<65536){return[224|S>>>12,con(S>>>6),con(S)].concat(_toConsumableArray(_encode(w)))}if(S<1114112){return[240|S>>>18,con(S>>>12),con(S>>>6),con(S)].concat(_toConsumableArray(_encode(w)))}throw new Error("utf8")}},38040:(E,k,S)=>{"use strict";Object.defineProperty(k,"__esModule",{value:true});Object.defineProperty(k,"decode",{enumerable:true,get:function get(){return w.decode}});Object.defineProperty(k,"encode",{enumerable:true,get:function get(){return N.encode}});var w=S(85589);var N=S(56264)},17467:(E,k,S)=>{"use strict";Object.defineProperty(k,"__esModule",{value:true});k.applyOperations=applyOperations;var w=S(44166);var N=S(77445);var j=S(98093);var q=S(77246);var ee=S(3104);var te=S(3930);function _sliceIterator(E,k){var S=[];var w=true;var N=false;var j=undefined;try{for(var q=E[Symbol.iterator](),ee;!(w=(ee=q.next()).done);w=true){S.push(ee.value);if(k&&S.length===k)break}}catch(E){N=true;j=E}finally{try{if(!w&&q["return"]!=null)q["return"]()}finally{if(N)throw j}}return S}function _slicedToArray(E,k){if(Array.isArray(E)){return E}else if(Symbol.iterator in Object(E)){return _sliceIterator(E,k)}else{throw new TypeError("Invalid attempt to destructure non-iterable instance")}}function shiftLocNodeByDelta(E,k){(0,j.assertHasLoc)(E);E.loc.start.column+=k;E.loc.end.column+=k}function applyUpdate(E,k,S){var q=_slicedToArray(S,2),ne=q[0],ae=q[1];var _e=0;(0,j.assertHasLoc)(ne);var ve=(0,te.getSectionForNode)(ae);var Ee=(0,w.encodeNode)(ae);k=(0,ee.overrideBytesInBuffer)(k,ne.loc.start.column,ne.loc.end.column,Ee);if(ve==="code"){(0,j.traverse)(E,{Func:function Func(E){var S=E.node;var q=S.body.find((function(E){return E===ae}))!==undefined;if(q===true){(0,j.assertHasLoc)(S);var te=(0,w.encodeNode)(ne).length;var _e=Ee.length-te;if(_e!==0){var ve=S.metadata.bodySize+_e;var we=(0,N.encodeU32)(ve);var Ce=S.loc.start.column;var Me=Ce+1;k=(0,ee.overrideBytesInBuffer)(k,Ce,Me,we)}}}})}var we=Ee.length-(ne.loc.end.column-ne.loc.start.column);ae.loc={start:{line:-1,column:-1},end:{line:-1,column:-1}};ae.loc.start.column=ne.loc.start.column;ae.loc.end.column=ne.loc.start.column+Ee.length;return{uint8Buffer:k,deltaBytes:we,deltaElements:_e}}function applyDelete(E,k,S){var w=-1;(0,j.assertHasLoc)(S);var N=(0,te.getSectionForNode)(S);if(N==="start"){var ne=(0,j.getSectionMetadata)(E,"start");k=(0,q.removeSections)(E,k,"start");var ae=-(ne.size.value+1);return{uint8Buffer:k,deltaBytes:ae,deltaElements:w}}var _e=[];k=(0,ee.overrideBytesInBuffer)(k,S.loc.start.column,S.loc.end.column,_e);var ve=-(S.loc.end.column-S.loc.start.column);return{uint8Buffer:k,deltaBytes:ve,deltaElements:w}}function applyAdd(E,k,S){var N=+1;var ne=(0,te.getSectionForNode)(S);var ae=(0,j.getSectionMetadata)(E,ne);if(typeof ae==="undefined"){var _e=(0,q.createEmptySection)(E,k,ne);k=_e.uint8Buffer;ae=_e.sectionMetadata}if((0,j.isFunc)(S)){var ve=S.body;if(ve.length===0||ve[ve.length-1].id!=="end"){throw new Error("expressions must be ended")}}if((0,j.isGlobal)(S)){var ve=S.init;if(ve.length===0||ve[ve.length-1].id!=="end"){throw new Error("expressions must be ended")}}var Ee=(0,w.encodeNode)(S);var we=(0,j.getEndOfSection)(ae);var Ce=we;var Me=Ee.length;k=(0,ee.overrideBytesInBuffer)(k,we,Ce,Ee);S.loc={start:{line:-1,column:we},end:{line:-1,column:we+Me}};if(S.type==="Func"){var Te=Ee[0];S.metadata={bodySize:Te}}if(S.type!=="IndexInFuncSection"){(0,j.orderedInsertNode)(E.body[0],S)}return{uint8Buffer:k,deltaBytes:Me,deltaElements:N}}function applyOperations(E,k,S){S.forEach((function(w){var N;var j;switch(w.kind){case"update":N=applyUpdate(E,k,[w.oldNode,w.node]);j=(0,te.getSectionForNode)(w.node);break;case"delete":N=applyDelete(E,k,w.node);j=(0,te.getSectionForNode)(w.node);break;case"add":N=applyAdd(E,k,w.node);j=(0,te.getSectionForNode)(w.node);break;default:throw new Error("Unknown operation")}if(N.deltaElements!==0&&j!=="start"){var ee=N.uint8Buffer.length;N.uint8Buffer=(0,q.resizeSectionVecSize)(E,N.uint8Buffer,j,N.deltaElements);N.deltaBytes+=N.uint8Buffer.length-ee}if(N.deltaBytes!==0&&j!=="start"){var ne=N.uint8Buffer.length;N.uint8Buffer=(0,q.resizeSectionByteSize)(E,N.uint8Buffer,j,N.deltaBytes);N.deltaBytes+=N.uint8Buffer.length-ne}if(N.deltaBytes!==0){S.forEach((function(E){switch(E.kind){case"update":shiftLocNodeByDelta(E.oldNode,N.deltaBytes);break;case"delete":shiftLocNodeByDelta(E.node,N.deltaBytes);break}}))}k=N.uint8Buffer}));return k}},226:(E,k,S)=>{"use strict";Object.defineProperty(k,"__esModule",{value:true});k.edit=edit;k.editWithAST=editWithAST;k.add=add;k.addWithAST=addWithAST;var w=S(73432);var N=S(98093);var j=S(70797);var q=S(53620);var ee=_interopRequireWildcard(S(3930));var te=S(17467);function _interopRequireWildcard(E){if(E&&E.__esModule){return E}else{var k={};if(E!=null){for(var S in E){if(Object.prototype.hasOwnProperty.call(E,S)){var w=Object.defineProperty&&Object.getOwnPropertyDescriptor?Object.getOwnPropertyDescriptor(E,S):{};if(w.get||w.set){Object.defineProperty(k,S,w)}else{k[S]=E[S]}}}}k.default=E;return k}}function hashNode(E){return JSON.stringify(E)}function preprocess(E){var k=(0,q.shrinkPaddedLEB128)(new Uint8Array(E));return k.buffer}function sortBySectionOrder(E){var k=new Map;var S=true;var w=false;var N=undefined;try{for(var j=E[Symbol.iterator](),q;!(S=(q=j.next()).done);S=true){var te=q.value;k.set(te,k.size)}}catch(E){w=true;N=E}finally{try{if(!S&&j.return!=null){j.return()}}finally{if(w){throw N}}}E.sort((function(E,S){var w=(0,ee.getSectionForNode)(E);var N=(0,ee.getSectionForNode)(S);var j=ee.default.sections[w];var q=ee.default.sections[N];if(typeof j!=="number"||typeof q!=="number"){throw new Error("Section id not found")}if(j===q){return k.get(E)-k.get(S)}return j-q}))}function edit(E,k){E=preprocess(E);var S=(0,w.decode)(E);return editWithAST(S,E,k)}function editWithAST(E,k,S){var w=[];var q=new Uint8Array(k);var ee;function before(E,k){ee=(0,j.cloneNode)(k.node)}function after(E,k){if(k.node._deleted===true){w.push({kind:"delete",node:k.node})}else if(hashNode(ee)!==hashNode(k.node)){w.push({kind:"update",oldNode:ee,node:k.node})}}(0,N.traverse)(E,S,before,after);q=(0,te.applyOperations)(E,q,w);return q.buffer}function add(E,k){E=preprocess(E);var S=(0,w.decode)(E);return addWithAST(S,E,k)}function addWithAST(E,k,S){sortBySectionOrder(S);var w=new Uint8Array(k);var N=S.map((function(E){return{kind:"add",node:E}}));w=(0,te.applyOperations)(E,w,N);return w.buffer}},77445:(E,k,S)=>{"use strict";Object.defineProperty(k,"__esModule",{value:true});k.encodeVersion=encodeVersion;k.encodeHeader=encodeHeader;k.encodeU32=encodeU32;k.encodeI32=encodeI32;k.encodeI64=encodeI64;k.encodeVec=encodeVec;k.encodeValtype=encodeValtype;k.encodeMutability=encodeMutability;k.encodeUTF8Vec=encodeUTF8Vec;k.encodeLimits=encodeLimits;k.encodeModuleImport=encodeModuleImport;k.encodeSectionMetadata=encodeSectionMetadata;k.encodeCallInstruction=encodeCallInstruction;k.encodeCallIndirectInstruction=encodeCallIndirectInstruction;k.encodeModuleExport=encodeModuleExport;k.encodeTypeInstruction=encodeTypeInstruction;k.encodeInstr=encodeInstr;k.encodeStringLiteral=encodeStringLiteral;k.encodeGlobal=encodeGlobal;k.encodeFuncBody=encodeFuncBody;k.encodeIndexInFuncSection=encodeIndexInFuncSection;k.encodeElem=encodeElem;var w=_interopRequireWildcard(S(39784));var N=_interopRequireWildcard(S(48));var j=_interopRequireWildcard(S(38040));var q=_interopRequireDefault(S(3930));var ee=S(44166);function _interopRequireDefault(E){return E&&E.__esModule?E:{default:E}}function _interopRequireWildcard(E){if(E&&E.__esModule){return E}else{var k={};if(E!=null){for(var S in E){if(Object.prototype.hasOwnProperty.call(E,S)){var w=Object.defineProperty&&Object.getOwnPropertyDescriptor?Object.getOwnPropertyDescriptor(E,S):{};if(w.get||w.set){Object.defineProperty(k,S,w)}else{k[S]=E[S]}}}}k.default=E;return k}}function _toConsumableArray(E){if(Array.isArray(E)){for(var k=0,S=new Array(E.length);k{"use strict";Object.defineProperty(k,"__esModule",{value:true});k.encodeNode=encodeNode;k.encodeU32=void 0;var w=_interopRequireWildcard(S(77445));function _interopRequireWildcard(E){if(E&&E.__esModule){return E}else{var k={};if(E!=null){for(var S in E){if(Object.prototype.hasOwnProperty.call(E,S)){var w=Object.defineProperty&&Object.getOwnPropertyDescriptor?Object.getOwnPropertyDescriptor(E,S):{};if(w.get||w.set){Object.defineProperty(k,S,w)}else{k[S]=E[S]}}}}k.default=E;return k}}function encodeNode(E){switch(E.type){case"ModuleImport":return w.encodeModuleImport(E);case"SectionMetadata":return w.encodeSectionMetadata(E);case"CallInstruction":return w.encodeCallInstruction(E);case"CallIndirectInstruction":return w.encodeCallIndirectInstruction(E);case"TypeInstruction":return w.encodeTypeInstruction(E);case"Instr":return w.encodeInstr(E);case"ModuleExport":return w.encodeModuleExport(E);case"Global":return w.encodeGlobal(E);case"Func":return w.encodeFuncBody(E);case"IndexInFuncSection":return w.encodeIndexInFuncSection(E);case"StringLiteral":return w.encodeStringLiteral(E);case"Elem":return w.encodeElem(E);default:throw new Error("Unsupported encoding for node of type: "+JSON.stringify(E.type))}}var N=w.encodeU32;k.encodeU32=N},53620:(E,k,S)=>{"use strict";Object.defineProperty(k,"__esModule",{value:true});k.shrinkPaddedLEB128=shrinkPaddedLEB128;var w=S(73432);var N=S(25688);function _typeof(E){if(typeof Symbol==="function"&&typeof Symbol.iterator==="symbol"){_typeof=function _typeof(E){return typeof E}}else{_typeof=function _typeof(E){return E&&typeof Symbol==="function"&&E.constructor===Symbol&&E!==Symbol.prototype?"symbol":typeof E}}return _typeof(E)}function _classCallCheck(E,k){if(!(E instanceof k)){throw new TypeError("Cannot call a class as a function")}}function _possibleConstructorReturn(E,k){if(k&&(_typeof(k)==="object"||typeof k==="function")){return k}if(!E){throw new ReferenceError("this hasn't been initialised - super() hasn't been called")}return E}function _inherits(E,k){if(typeof k!=="function"&&k!==null){throw new TypeError("Super expression must either be null or a function")}E.prototype=Object.create(k&&k.prototype,{constructor:{value:E,enumerable:false,writable:true,configurable:true}});if(k)Object.setPrototypeOf?Object.setPrototypeOf(E,k):E.__proto__=k}var j=function(E){_inherits(OptimizerError,E);function OptimizerError(E,k){var S;_classCallCheck(this,OptimizerError);S=_possibleConstructorReturn(this,(OptimizerError.__proto__||Object.getPrototypeOf(OptimizerError)).call(this,"Error while optimizing: "+E+": "+k.message));S.stack=k.stack;return S}return OptimizerError}(Error);var q={ignoreCodeSection:true,ignoreDataSection:true};function shrinkPaddedLEB128(E){try{var k=(0,w.decode)(E.buffer,q);return(0,N.shrinkPaddedLEB128)(k,E)}catch(E){throw new j("shrinkPaddedLEB128",E)}}},25688:(E,k,S)=>{"use strict";Object.defineProperty(k,"__esModule",{value:true});k.shrinkPaddedLEB128=shrinkPaddedLEB128;var w=S(98093);var N=S(77445);var j=S(3104);function shiftFollowingSections(E,k,S){var N=k.section;var j=false;(0,w.traverse)(E,{SectionMetadata:function SectionMetadata(k){if(k.node.section===N){j=true;return}if(j===true){(0,w.shiftSection)(E,k.node,S)}}})}function shrinkPaddedLEB128(E,k){(0,w.traverse)(E,{SectionMetadata:function SectionMetadata(S){var w=S.node;{var q=(0,N.encodeU32)(w.size.value);var ee=q.length;var te=w.size.loc.start.column;var ne=w.size.loc.end.column;var ae=ne-te;if(ee!==ae){var _e=ae-ee;k=(0,j.overrideBytesInBuffer)(k,te,ne,q);shiftFollowingSections(E,w,-_e)}}}});return k}},13975:(E,k,S)=>{"use strict";Object.defineProperty(k,"__esModule",{value:true});k.decode=decode;var w=S(35866);var N=_interopRequireWildcard(S(48));var j=_interopRequireWildcard(S(38040));var q=_interopRequireWildcard(S(98093));var ee=S(39784);var te=_interopRequireDefault(S(3930));function _interopRequireDefault(E){return E&&E.__esModule?E:{default:E}}function _interopRequireWildcard(E){if(E&&E.__esModule){return E}else{var k={};if(E!=null){for(var S in E){if(Object.prototype.hasOwnProperty.call(E,S)){var w=Object.defineProperty&&Object.getOwnPropertyDescriptor?Object.getOwnPropertyDescriptor(E,S):{};if(w.get||w.set){Object.defineProperty(k,S,w)}else{k[S]=E[S]}}}}k.default=E;return k}}function _toConsumableArray(E){if(Array.isArray(E)){for(var k=0,S=new Array(E.length);k=S.length}function eatBytes(E){ae=ae+E}function readBytesAtOffset(E,k){var w=[];for(var N=0;N>7?-1:1;var w=0;for(var j=0;j>7?-1:1;var w=0;for(var j=0;jS.length){throw new Error("unexpected end")}var E=readBytes(4);if(byteArrayEq(te.default.magicModuleHeader,E)===false){throw new w.CompileError("magic header not detected")}dump(E,"wasm magic header");eatBytes(4)}function parseVersion(){if(isEOF()===true||ae+4>S.length){throw new Error("unexpected end")}var E=readBytes(4);if(byteArrayEq(te.default.moduleVersion,E)===false){throw new w.CompileError("unknown binary version")}dump(E,"wasm version");eatBytes(4)}function parseVec(E){var k=readU32();var S=k.value;eatBytes(k.nextIndex);dump([S],"number");if(S===0){return[]}var N=[];for(var j=0;j=40&&N<=64){if(j.name==="grow_memory"||j.name==="current_memory"){var pt=readU32();var ft=pt.value;eatBytes(pt.nextIndex);if(ft!==0){throw new Error("zero flag expected")}dump([ft],"index")}else{var dt=readU32();var ht=dt.value;eatBytes(dt.nextIndex);dump([ht],"align");var mt=readU32();var gt=mt.value;eatBytes(mt.nextIndex);dump([gt],"offset")}}else if(N>=65&&N<=68){if(j.object==="i32"){var yt=read32();var _t=yt.value;eatBytes(yt.nextIndex);dump([_t],"i32 value");ae.push(q.numberLiteralFromRaw(_t))}if(j.object==="u32"){var vt=readU32();var bt=vt.value;eatBytes(vt.nextIndex);dump([bt],"u32 value");ae.push(q.numberLiteralFromRaw(bt))}if(j.object==="i64"){var Et=read64();var kt=Et.value;eatBytes(Et.nextIndex);dump([Number(kt.toString())],"i64 value");var xt=kt.high,St=kt.low;var wt={type:"LongNumberLiteral",value:{high:xt,low:St}};ae.push(wt)}if(j.object==="u64"){var At=readU64();var Ct=At.value;eatBytes(At.nextIndex);dump([Number(Ct.toString())],"u64 value");var Dt=Ct.high,Mt=Ct.low;var Tt={type:"LongNumberLiteral",value:{high:Dt,low:Mt}};ae.push(Tt)}if(j.object==="f32"){var It=readF32();var Pt=It.value;eatBytes(It.nextIndex);dump([Pt],"f32 value");ae.push(q.floatLiteral(Pt,It.nan,It.inf,String(Pt)))}if(j.object==="f64"){var Ot=readF64();var Rt=Ot.value;eatBytes(Ot.nextIndex);dump([Rt],"f64 value");ae.push(q.floatLiteral(Rt,Ot.nan,Ot.inf,String(Rt)))}}else if(N>=65024&&N<=65279){var Ft=readU32();var Nt=Ft.value;eatBytes(Ft.nextIndex);dump([Nt],"align");var Bt=readU32();var Lt=Bt.value;eatBytes(Bt.nextIndex);dump([Lt],"offset")}else{for(var jt=0;jt=E||E===te.default.sections.custom){E=S+1}else{if(S!==te.default.sections.custom)throw new w.CompileError("Unexpected section: "+toHex(S))}var N=E;var j=ae;var ee=getPosition();var ne=readU32();var _e=ne.value;eatBytes(ne.nextIndex);var ve=function(){var E=getPosition();return q.withLoc(q.numberLiteralFromRaw(_e),E,ee)}();switch(S){case te.default.sections.type:{dumpSep("section Type");dump([S],"section code");dump([_e],"section size");var Ee=getPosition();var we=readU32();var Ce=we.value;eatBytes(we.nextIndex);var Me=q.sectionMetadata("type",j,ve,function(){var E=getPosition();return q.withLoc(q.numberLiteralFromRaw(Ce),E,Ee)}());var Te=parseTypeSection(Ce);return{nodes:Te,metadata:Me,nextSectionIndex:N}}case te.default.sections.table:{dumpSep("section Table");dump([S],"section code");dump([_e],"section size");var Ie=getPosition();var Oe=readU32();var Re=Oe.value;eatBytes(Oe.nextIndex);dump([Re],"num tables");var Fe=q.sectionMetadata("table",j,ve,function(){var E=getPosition();return q.withLoc(q.numberLiteralFromRaw(Re),E,Ie)}());var Ne=parseTableSection(Re);return{nodes:Ne,metadata:Fe,nextSectionIndex:N}}case te.default.sections.import:{dumpSep("section Import");dump([S],"section code");dump([_e],"section size");var Be=getPosition();var Le=readU32();var je=Le.value;eatBytes(Le.nextIndex);dump([je],"number of imports");var $e=q.sectionMetadata("import",j,ve,function(){var E=getPosition();return q.withLoc(q.numberLiteralFromRaw(je),E,Be)}());var ze=parseImportSection(je);return{nodes:ze,metadata:$e,nextSectionIndex:N}}case te.default.sections.func:{dumpSep("section Function");dump([S],"section code");dump([_e],"section size");var Ue=getPosition();var Ge=readU32();var qe=Ge.value;eatBytes(Ge.nextIndex);var Ve=q.sectionMetadata("func",j,ve,function(){var E=getPosition();return q.withLoc(q.numberLiteralFromRaw(qe),E,Ue)}());parseFuncSection(qe);var He=[];return{nodes:He,metadata:Ve,nextSectionIndex:N}}case te.default.sections.export:{dumpSep("section Export");dump([S],"section code");dump([_e],"section size");var We=getPosition();var Ke=readU32();var Xe=Ke.value;eatBytes(Ke.nextIndex);var Qe=q.sectionMetadata("export",j,ve,function(){var E=getPosition();return q.withLoc(q.numberLiteralFromRaw(Xe),E,We)}());parseExportSection(Xe);var Je=[];return{nodes:Je,metadata:Qe,nextSectionIndex:N}}case te.default.sections.code:{dumpSep("section Code");dump([S],"section code");dump([_e],"section size");var Ye=getPosition();var Ze=readU32();var et=Ze.value;eatBytes(Ze.nextIndex);var tt=q.sectionMetadata("code",j,ve,function(){var E=getPosition();return q.withLoc(q.numberLiteralFromRaw(et),E,Ye)}());if(k.ignoreCodeSection===true){var nt=_e-Ze.nextIndex;eatBytes(nt)}else{parseCodeSection(et)}var rt=[];return{nodes:rt,metadata:tt,nextSectionIndex:N}}case te.default.sections.start:{dumpSep("section Start");dump([S],"section code");dump([_e],"section size");var it=q.sectionMetadata("start",j,ve);var st=[parseStartSection()];return{nodes:st,metadata:it,nextSectionIndex:N}}case te.default.sections.element:{dumpSep("section Element");dump([S],"section code");dump([_e],"section size");var ot=getPosition();var ut=readU32();var lt=ut.value;eatBytes(ut.nextIndex);var ct=q.sectionMetadata("element",j,ve,function(){var E=getPosition();return q.withLoc(q.numberLiteralFromRaw(lt),E,ot)}());var pt=parseElemSection(lt);return{nodes:pt,metadata:ct,nextSectionIndex:N}}case te.default.sections.global:{dumpSep("section Global");dump([S],"section code");dump([_e],"section size");var ft=getPosition();var dt=readU32();var ht=dt.value;eatBytes(dt.nextIndex);var mt=q.sectionMetadata("global",j,ve,function(){var E=getPosition();return q.withLoc(q.numberLiteralFromRaw(ht),E,ft)}());var gt=parseGlobalSection(ht);return{nodes:gt,metadata:mt,nextSectionIndex:N}}case te.default.sections.memory:{dumpSep("section Memory");dump([S],"section code");dump([_e],"section size");var yt=getPosition();var _t=readU32();var vt=_t.value;eatBytes(_t.nextIndex);var bt=q.sectionMetadata("memory",j,ve,function(){var E=getPosition();return q.withLoc(q.numberLiteralFromRaw(vt),E,yt)}());var Et=parseMemorySection(vt);return{nodes:Et,metadata:bt,nextSectionIndex:N}}case te.default.sections.data:{dumpSep("section Data");dump([S],"section code");dump([_e],"section size");var kt=q.sectionMetadata("data",j,ve);var xt=getPosition();var St=readU32();var wt=St.value;eatBytes(St.nextIndex);kt.vectorOfSize=function(){var E=getPosition();return q.withLoc(q.numberLiteralFromRaw(wt),E,xt)}();if(k.ignoreDataSection===true){var At=_e-St.nextIndex;eatBytes(At);dumpSep("ignore data ("+_e+" bytes)");return{nodes:[],metadata:kt,nextSectionIndex:N}}else{var Ct=parseDataSection(wt);return{nodes:Ct,metadata:kt,nextSectionIndex:N}}}case te.default.sections.custom:{dumpSep("section Custom");dump([S],"section code");dump([_e],"section size");var Dt=[q.sectionMetadata("custom",j,ve)];var Mt=readUTF8String();eatBytes(Mt.nextIndex);dump([],"section name (".concat(Mt.value,")"));var Tt=_e-Mt.nextIndex;if(Mt.value==="name"){var It=ae;try{Dt.push.apply(Dt,_toConsumableArray(parseNameSection(Tt)))}catch(E){console.warn('Failed to decode custom "name" section @'.concat(ae,"; ignoring (").concat(E.message,")."));eatBytes(ae-(It+Tt))}}else if(Mt.value==="producers"){var Pt=ae;try{Dt.push(parseProducersSection())}catch(E){console.warn('Failed to decode custom "producers" section @'.concat(ae,"; ignoring (").concat(E.message,")."));eatBytes(ae-(Pt+Tt))}}else{eatBytes(Tt);dumpSep("ignore custom "+JSON.stringify(Mt.value)+" section ("+Tt+" bytes)")}return{nodes:[],metadata:Dt,nextSectionIndex:N}}}throw new w.CompileError("Unexpected section: "+toHex(S))}parseModuleHeader();parseVersion();var ve=[];var Ee=0;var we={sections:[],functionNames:[],localNames:[],producers:[]};while(ae{"use strict";Object.defineProperty(k,"__esModule",{value:true});k.decode=decode;var w=_interopRequireWildcard(S(13975));var N=_interopRequireWildcard(S(98093));function _interopRequireWildcard(E){if(E&&E.__esModule){return E}else{var k={};if(E!=null){for(var S in E){if(Object.prototype.hasOwnProperty.call(E,S)){var w=Object.defineProperty&&Object.getOwnPropertyDescriptor?Object.getOwnPropertyDescriptor(E,S):{};if(w.get||w.set){Object.defineProperty(k,S,w)}else{k[S]=E[S]}}}}k.default=E;return k}}var j={dump:false,ignoreCodeSection:false,ignoreDataSection:false,ignoreCustomNameSection:false};function restoreFunctionNames(E){var k=[];N.traverse(E,{FunctionNameMetadata:function FunctionNameMetadata(E){var S=E.node;k.push({name:S.value,index:S.index})}});if(k.length===0){return}N.traverse(E,{Func:function(E){function Func(k){return E.apply(this,arguments)}Func.toString=function(){return E.toString()};return Func}((function(E){var S=E.node;var w=S.name;var N=w.value;var j=Number(N.replace("func_",""));var q=k.find((function(E){return E.index===j}));if(q){var ee=w.value;w.value=q.name;w.numeric=ee;delete w.raw}})),ModuleExport:function(E){function ModuleExport(k){return E.apply(this,arguments)}ModuleExport.toString=function(){return E.toString()};return ModuleExport}((function(E){var S=E.node;if(S.descr.exportType==="Func"){var w=S.descr.id;var j=w.value;var q=k.find((function(E){return E.index===j}));if(q){S.descr.id=N.identifier(q.name)}}})),ModuleImport:function(E){function ModuleImport(k){return E.apply(this,arguments)}ModuleImport.toString=function(){return E.toString()};return ModuleImport}((function(E){var S=E.node;if(S.descr.type==="FuncImportDescr"){var w=S.descr.id;var j=Number(w.replace("func_",""));var q=k.find((function(E){return E.index===j}));if(q){S.descr.id=N.identifier(q.name)}}})),CallInstruction:function(E){function CallInstruction(k){return E.apply(this,arguments)}CallInstruction.toString=function(){return E.toString()};return CallInstruction}((function(E){var S=E.node;var w=S.index.value;var j=k.find((function(E){return E.index===w}));if(j){var q=S.index;S.index=N.identifier(j.name);S.numeric=q;delete S.raw}}))})}function restoreLocalNames(E){var k=[];N.traverse(E,{LocalNameMetadata:function LocalNameMetadata(E){var S=E.node;k.push({name:S.value,localIndex:S.localIndex,functionIndex:S.functionIndex})}});if(k.length===0){return}N.traverse(E,{Func:function(E){function Func(k){return E.apply(this,arguments)}Func.toString=function(){return E.toString()};return Func}((function(E){var S=E.node;var w=S.signature;if(w.type!=="Signature"){return}var N=S.name;var j=N.value;var q=Number(j.replace("func_",""));w.params.forEach((function(E,S){var w=k.find((function(E){return E.localIndex===S&&E.functionIndex===q}));if(w&&w.name!==""){E.id=w.name}}))}))})}function restoreModuleName(E){N.traverse(E,{ModuleNameMetadata:function(E){function ModuleNameMetadata(k){return E.apply(this,arguments)}ModuleNameMetadata.toString=function(){return E.toString()};return ModuleNameMetadata}((function(k){N.traverse(E,{Module:function(E){function Module(k){return E.apply(this,arguments)}Module.toString=function(){return E.toString()};return Module}((function(E){var S=E.node;var w=k.node.value;if(w===""){w=null}S.id=w}))})}))})}function decode(E,k){var S=Object.assign({},j,k);var N=w.decode(E,S);if(S.ignoreCustomNameSection===false){restoreFunctionNames(N);restoreLocalNames(N);restoreModuleName(N)}return N}},3158:(E,k)=>{"use strict";Object.defineProperty(k,"__esModule",{value:true});k.read=read;k.write=write;function read(E,k,S,w,N){var j,q;var ee=N*8-w-1;var te=(1<>1;var ae=-7;var _e=S?N-1:0;var ve=S?-1:1;var Ee=E[k+_e];_e+=ve;j=Ee&(1<<-ae)-1;Ee>>=-ae;ae+=ee;for(;ae>0;j=j*256+E[k+_e],_e+=ve,ae-=8){}q=j&(1<<-ae)-1;j>>=-ae;ae+=w;for(;ae>0;q=q*256+E[k+_e],_e+=ve,ae-=8){}if(j===0){j=1-ne}else if(j===te){return q?NaN:(Ee?-1:1)*Infinity}else{q=q+Math.pow(2,w);j=j-ne}return(Ee?-1:1)*q*Math.pow(2,j-w)}function write(E,k,S,w,N,j){var q,ee,te;var ne=j*8-N-1;var ae=(1<>1;var ve=N===23?Math.pow(2,-24)-Math.pow(2,-77):0;var Ee=w?0:j-1;var we=w?1:-1;var Ce=k<0||k===0&&1/k<0?1:0;k=Math.abs(k);if(isNaN(k)||k===Infinity){ee=isNaN(k)?1:0;q=ae}else{q=Math.floor(Math.log(k)/Math.LN2);if(k*(te=Math.pow(2,-q))<1){q--;te*=2}if(q+_e>=1){k+=ve/te}else{k+=ve*Math.pow(2,1-_e)}if(k*te>=2){q++;te/=2}if(q+_e>=ae){ee=0;q=ae}else if(q+_e>=1){ee=(k*te-1)*Math.pow(2,N);q=q+_e}else{ee=k*Math.pow(2,_e-1)*Math.pow(2,N);q=0}}for(;N>=8;E[S+Ee]=ee&255,Ee+=we,ee/=256,N-=8){}q=q<0;E[S+Ee]=q&255,Ee+=we,q/=256,ne-=8){}E[S+Ee-we]|=Ce*128}},11174:E=>{E.exports=Long;var k=null;try{k=new WebAssembly.Instance(new WebAssembly.Module(new Uint8Array([0,97,115,109,1,0,0,0,1,13,2,96,0,1,127,96,4,127,127,127,127,1,127,3,7,6,0,1,1,1,1,1,6,6,1,127,1,65,0,11,7,50,6,3,109,117,108,0,1,5,100,105,118,95,115,0,2,5,100,105,118,95,117,0,3,5,114,101,109,95,115,0,4,5,114,101,109,95,117,0,5,8,103,101,116,95,104,105,103,104,0,0,10,191,1,6,4,0,35,0,11,36,1,1,126,32,0,173,32,1,173,66,32,134,132,32,2,173,32,3,173,66,32,134,132,126,34,4,66,32,135,167,36,0,32,4,167,11,36,1,1,126,32,0,173,32,1,173,66,32,134,132,32,2,173,32,3,173,66,32,134,132,127,34,4,66,32,135,167,36,0,32,4,167,11,36,1,1,126,32,0,173,32,1,173,66,32,134,132,32,2,173,32,3,173,66,32,134,132,128,34,4,66,32,135,167,36,0,32,4,167,11,36,1,1,126,32,0,173,32,1,173,66,32,134,132,32,2,173,32,3,173,66,32,134,132,129,34,4,66,32,135,167,36,0,32,4,167,11,36,1,1,126,32,0,173,32,1,173,66,32,134,132,32,2,173,32,3,173,66,32,134,132,130,34,4,66,32,135,167,36,0,32,4,167,11])),{}).exports}catch(E){}function Long(E,k,S){this.low=E|0;this.high=k|0;this.unsigned=!!S}Long.prototype.__isLong__;Object.defineProperty(Long.prototype,"__isLong__",{value:true});function isLong(E){return(E&&E["__isLong__"])===true}Long.isLong=isLong;var S={};var w={};function fromInt(E,k){var N,j,q;if(k){E>>>=0;if(q=0<=E&&E<256){j=w[E];if(j)return j}N=fromBits(E,(E|0)<0?-1:0,true);if(q)w[E]=N;return N}else{E|=0;if(q=-128<=E&&E<128){j=S[E];if(j)return j}N=fromBits(E,E<0?-1:0,false);if(q)S[E]=N;return N}}Long.fromInt=fromInt;function fromNumber(E,k){if(isNaN(E))return k?ve:_e;if(k){if(E<0)return ve;if(E>=te)return Te}else{if(E<=-ne)return Ie;if(E+1>=ne)return Me}if(E<0)return fromNumber(-E,k).neg();return fromBits(E%ee|0,E/ee|0,k)}Long.fromNumber=fromNumber;function fromBits(E,k,S){return new Long(E,k,S)}Long.fromBits=fromBits;var N=Math.pow;function fromString(E,k,S){if(E.length===0)throw Error("empty string");if(E==="NaN"||E==="Infinity"||E==="+Infinity"||E==="-Infinity")return _e;if(typeof k==="number"){S=k,k=false}else{k=!!k}S=S||10;if(S<2||360)throw Error("interior hyphen");else if(w===0){return fromString(E.substring(1),k,S).neg()}var j=fromNumber(N(S,8));var q=_e;for(var ee=0;ee>>0:this.low};Oe.toNumber=function toNumber(){if(this.unsigned)return(this.high>>>0)*ee+(this.low>>>0);return this.high*ee+(this.low>>>0)};Oe.toString=function toString(E){E=E||10;if(E<2||36>>0,ae=ne.toString(E);q=te;if(q.isZero())return ae+ee;else{while(ae.length<6)ae="0"+ae;ee=""+ae+ee}}};Oe.getHighBits=function getHighBits(){return this.high};Oe.getHighBitsUnsigned=function getHighBitsUnsigned(){return this.high>>>0};Oe.getLowBits=function getLowBits(){return this.low};Oe.getLowBitsUnsigned=function getLowBitsUnsigned(){return this.low>>>0};Oe.getNumBitsAbs=function getNumBitsAbs(){if(this.isNegative())return this.eq(Ie)?64:this.neg().getNumBitsAbs();var E=this.high!=0?this.high:this.low;for(var k=31;k>0;k--)if((E&1<=0};Oe.isOdd=function isOdd(){return(this.low&1)===1};Oe.isEven=function isEven(){return(this.low&1)===0};Oe.equals=function equals(E){if(!isLong(E))E=fromValue(E);if(this.unsigned!==E.unsigned&&this.high>>>31===1&&E.high>>>31===1)return false;return this.high===E.high&&this.low===E.low};Oe.eq=Oe.equals;Oe.notEquals=function notEquals(E){return!this.eq(E)};Oe.neq=Oe.notEquals;Oe.ne=Oe.notEquals;Oe.lessThan=function lessThan(E){return this.comp(E)<0};Oe.lt=Oe.lessThan;Oe.lessThanOrEqual=function lessThanOrEqual(E){return this.comp(E)<=0};Oe.lte=Oe.lessThanOrEqual;Oe.le=Oe.lessThanOrEqual;Oe.greaterThan=function greaterThan(E){return this.comp(E)>0};Oe.gt=Oe.greaterThan;Oe.greaterThanOrEqual=function greaterThanOrEqual(E){return this.comp(E)>=0};Oe.gte=Oe.greaterThanOrEqual;Oe.ge=Oe.greaterThanOrEqual;Oe.compare=function compare(E){if(!isLong(E))E=fromValue(E);if(this.eq(E))return 0;var k=this.isNegative(),S=E.isNegative();if(k&&!S)return-1;if(!k&&S)return 1;if(!this.unsigned)return this.sub(E).isNegative()?-1:1;return E.high>>>0>this.high>>>0||E.high===this.high&&E.low>>>0>this.low>>>0?-1:1};Oe.comp=Oe.compare;Oe.negate=function negate(){if(!this.unsigned&&this.eq(Ie))return Ie;return this.not().add(Ee)};Oe.neg=Oe.negate;Oe.add=function add(E){if(!isLong(E))E=fromValue(E);var k=this.high>>>16;var S=this.high&65535;var w=this.low>>>16;var N=this.low&65535;var j=E.high>>>16;var q=E.high&65535;var ee=E.low>>>16;var te=E.low&65535;var ne=0,ae=0,_e=0,ve=0;ve+=N+te;_e+=ve>>>16;ve&=65535;_e+=w+ee;ae+=_e>>>16;_e&=65535;ae+=S+q;ne+=ae>>>16;ae&=65535;ne+=k+j;ne&=65535;return fromBits(_e<<16|ve,ne<<16|ae,this.unsigned)};Oe.subtract=function subtract(E){if(!isLong(E))E=fromValue(E);return this.add(E.neg())};Oe.sub=Oe.subtract;Oe.multiply=function multiply(E){if(this.isZero())return _e;if(!isLong(E))E=fromValue(E);if(k){var S=k["mul"](this.low,this.high,E.low,E.high);return fromBits(S,k["get_high"](),this.unsigned)}if(E.isZero())return _e;if(this.eq(Ie))return E.isOdd()?Ie:_e;if(E.eq(Ie))return this.isOdd()?Ie:_e;if(this.isNegative()){if(E.isNegative())return this.neg().mul(E.neg());else return this.neg().mul(E).neg()}else if(E.isNegative())return this.mul(E.neg()).neg();if(this.lt(ae)&&E.lt(ae))return fromNumber(this.toNumber()*E.toNumber(),this.unsigned);var w=this.high>>>16;var N=this.high&65535;var j=this.low>>>16;var q=this.low&65535;var ee=E.high>>>16;var te=E.high&65535;var ne=E.low>>>16;var ve=E.low&65535;var Ee=0,we=0,Ce=0,Me=0;Me+=q*ve;Ce+=Me>>>16;Me&=65535;Ce+=j*ve;we+=Ce>>>16;Ce&=65535;Ce+=q*ne;we+=Ce>>>16;Ce&=65535;we+=N*ve;Ee+=we>>>16;we&=65535;we+=j*ne;Ee+=we>>>16;we&=65535;we+=q*te;Ee+=we>>>16;we&=65535;Ee+=w*ve+N*ne+j*te+q*ee;Ee&=65535;return fromBits(Ce<<16|Me,Ee<<16|we,this.unsigned)};Oe.mul=Oe.multiply;Oe.divide=function divide(E){if(!isLong(E))E=fromValue(E);if(E.isZero())throw Error("division by zero");if(k){if(!this.unsigned&&this.high===-2147483648&&E.low===-1&&E.high===-1){return this}var S=(this.unsigned?k["div_u"]:k["div_s"])(this.low,this.high,E.low,E.high);return fromBits(S,k["get_high"](),this.unsigned)}if(this.isZero())return this.unsigned?ve:_e;var w,j,q;if(!this.unsigned){if(this.eq(Ie)){if(E.eq(Ee)||E.eq(Ce))return Ie;else if(E.eq(Ie))return Ee;else{var ee=this.shr(1);w=ee.div(E).shl(1);if(w.eq(_e)){return E.isNegative()?Ee:Ce}else{j=this.sub(E.mul(w));q=w.add(j.div(E));return q}}}else if(E.eq(Ie))return this.unsigned?ve:_e;if(this.isNegative()){if(E.isNegative())return this.neg().div(E.neg());return this.neg().div(E).neg()}else if(E.isNegative())return this.div(E.neg()).neg();q=_e}else{if(!E.unsigned)E=E.toUnsigned();if(E.gt(this))return ve;if(E.gt(this.shru(1)))return we;q=ve}j=this;while(j.gte(E)){w=Math.max(1,Math.floor(j.toNumber()/E.toNumber()));var te=Math.ceil(Math.log(w)/Math.LN2),ne=te<=48?1:N(2,te-48),ae=fromNumber(w),Me=ae.mul(E);while(Me.isNegative()||Me.gt(j)){w-=ne;ae=fromNumber(w,this.unsigned);Me=ae.mul(E)}if(ae.isZero())ae=Ee;q=q.add(ae);j=j.sub(Me)}return q};Oe.div=Oe.divide;Oe.modulo=function modulo(E){if(!isLong(E))E=fromValue(E);if(k){var S=(this.unsigned?k["rem_u"]:k["rem_s"])(this.low,this.high,E.low,E.high);return fromBits(S,k["get_high"](),this.unsigned)}return this.sub(this.div(E).mul(E))};Oe.mod=Oe.modulo;Oe.rem=Oe.modulo;Oe.not=function not(){return fromBits(~this.low,~this.high,this.unsigned)};Oe.and=function and(E){if(!isLong(E))E=fromValue(E);return fromBits(this.low&E.low,this.high&E.high,this.unsigned)};Oe.or=function or(E){if(!isLong(E))E=fromValue(E);return fromBits(this.low|E.low,this.high|E.high,this.unsigned)};Oe.xor=function xor(E){if(!isLong(E))E=fromValue(E);return fromBits(this.low^E.low,this.high^E.high,this.unsigned)};Oe.shiftLeft=function shiftLeft(E){if(isLong(E))E=E.toInt();if((E&=63)===0)return this;else if(E<32)return fromBits(this.low<>>32-E,this.unsigned);else return fromBits(0,this.low<>>E|this.high<<32-E,this.high>>E,this.unsigned);else return fromBits(this.high>>E-32,this.high>=0?0:-1,this.unsigned)};Oe.shr=Oe.shiftRight;Oe.shiftRightUnsigned=function shiftRightUnsigned(E){if(isLong(E))E=E.toInt();if((E&=63)===0)return this;if(E<32)return fromBits(this.low>>>E|this.high<<32-E,this.high>>>E,this.unsigned);if(E===32)return fromBits(this.high,0,this.unsigned);return fromBits(this.high>>>E-32,0,this.unsigned)};Oe.shru=Oe.shiftRightUnsigned;Oe.shr_u=Oe.shiftRightUnsigned;Oe.rotateLeft=function rotateLeft(E){var k;if(isLong(E))E=E.toInt();if((E&=63)===0)return this;if(E===32)return fromBits(this.high,this.low,this.unsigned);if(E<32){k=32-E;return fromBits(this.low<>>k,this.high<>>k,this.unsigned)}E-=32;k=32-E;return fromBits(this.high<>>k,this.low<>>k,this.unsigned)};Oe.rotl=Oe.rotateLeft;Oe.rotateRight=function rotateRight(E){var k;if(isLong(E))E=E.toInt();if((E&=63)===0)return this;if(E===32)return fromBits(this.high,this.low,this.unsigned);if(E<32){k=32-E;return fromBits(this.high<>>E,this.low<>>E,this.unsigned)}E-=32;k=32-E;return fromBits(this.low<>>E,this.high<>>E,this.unsigned)};Oe.rotr=Oe.rotateRight;Oe.toSigned=function toSigned(){if(!this.unsigned)return this;return fromBits(this.low,this.high,false)};Oe.toUnsigned=function toUnsigned(){if(this.unsigned)return this;return fromBits(this.low,this.high,true)};Oe.toBytes=function toBytes(E){return E?this.toBytesLE():this.toBytesBE()};Oe.toBytesLE=function toBytesLE(){var E=this.high,k=this.low;return[k&255,k>>>8&255,k>>>16&255,k>>>24,E&255,E>>>8&255,E>>>16&255,E>>>24]};Oe.toBytesBE=function toBytesBE(){var E=this.high,k=this.low;return[E>>>24,E>>>16&255,E>>>8&255,E&255,k>>>24,k>>>16&255,k>>>8&255,k&255]};Long.fromBytes=function fromBytes(E,k,S){return S?Long.fromBytesLE(E,k):Long.fromBytesBE(E,k)};Long.fromBytesLE=function fromBytesLE(E,k){return new Long(E[0]|E[1]<<8|E[2]<<16|E[3]<<24,E[4]|E[5]<<8|E[6]<<16|E[7]<<24,k)};Long.fromBytesBE=function fromBytesBE(E,k){return new Long(E[4]<<24|E[5]<<16|E[6]<<8|E[7],E[0]<<24|E[1]<<16|E[2]<<8|E[3],k)}},20976:function(E,k){(function(E,S){true?S(k):0})(this,(function(E){"use strict";var k={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"};var S="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";var w={5:S,"5module":S+" export import",6:S+" const class extends export import super"};var N=/^in(stanceof)?$/;var j="ªµºÀ-ÖØ-öø-ˁˆ-ˑˠ-ˤˬˮͰ-ʹͶͷͺ-ͽͿΆΈ-ΊΌΎ-ΡΣ-ϵϷ-ҁҊ-ԯԱ-Ֆՙՠ-ֈא-תׯ-ײؠ-يٮٯٱ-ۓەۥۦۮۯۺ-ۼۿܐܒ-ܯݍ-ޥޱߊ-ߪߴߵߺࠀ-ࠕࠚࠤࠨࡀ-ࡘࡠ-ࡪࢠ-ࢴࢶ-ࣇऄ-हऽॐक़-ॡॱ-ঀঅ-ঌএঐও-নপ-রলশ-হঽৎড়ঢ়য়-ৡৰৱৼਅ-ਊਏਐਓ-ਨਪ-ਰਲਲ਼ਵਸ਼ਸਹਖ਼-ੜਫ਼ੲ-ੴઅ-ઍએ-ઑઓ-નપ-રલળવ-હઽૐૠૡૹଅ-ଌଏଐଓ-ନପ-ରଲଳଵ-ହଽଡ଼ଢ଼ୟ-ୡୱஃஅ-ஊஎ-ஐஒ-கஙசஜஞடணதந-பம-ஹௐఅ-ఌఎ-ఐఒ-నప-హఽౘ-ౚౠౡಀಅ-ಌಎ-ಐಒ-ನಪ-ಳವ-ಹಽೞೠೡೱೲഄ-ഌഎ-ഐഒ-ഺഽൎൔ-ൖൟ-ൡൺ-ൿඅ-ඖක-නඳ-රලව-ෆก-ะาำเ-ๆກຂຄຆ-ຊຌ-ຣລວ-ະາຳຽເ-ໄໆໜ-ໟༀཀ-ཇཉ-ཬྈ-ྌက-ဪဿၐ-ၕၚ-ၝၡၥၦၮ-ၰၵ-ႁႎႠ-ჅჇჍა-ჺჼ-ቈቊ-ቍቐ-ቖቘቚ-ቝበ-ኈኊ-ኍነ-ኰኲ-ኵኸ-ኾዀዂ-ዅወ-ዖዘ-ጐጒ-ጕጘ-ፚᎀ-ᎏᎠ-Ᏽᏸ-ᏽᐁ-ᙬᙯ-ᙿᚁ-ᚚᚠ-ᛪᛮ-ᛸᜀ-ᜌᜎ-ᜑᜠ-ᜱᝀ-ᝑᝠ-ᝬᝮ-ᝰក-ឳៗៜᠠ-ᡸᢀ-ᢨᢪᢰ-ᣵᤀ-ᤞᥐ-ᥭᥰ-ᥴᦀ-ᦫᦰ-ᧉᨀ-ᨖᨠ-ᩔᪧᬅ-ᬳᭅ-ᭋᮃ-ᮠᮮᮯᮺ-ᯥᰀ-ᰣᱍ-ᱏᱚ-ᱽᲀ-ᲈᲐ-ᲺᲽ-Ჿᳩ-ᳬᳮ-ᳳᳵᳶᳺᴀ-ᶿḀ-ἕἘ-Ἕἠ-ὅὈ-Ὅὐ-ὗὙὛὝὟ-ώᾀ-ᾴᾶ-ᾼιῂ-ῄῆ-ῌῐ-ΐῖ-Ίῠ-Ῥῲ-ῴῶ-ῼⁱⁿₐ-ₜℂℇℊ-ℓℕ℘-ℝℤΩℨK-ℹℼ-ℿⅅ-ⅉⅎⅠ-ↈⰀ-Ⱞⰰ-ⱞⱠ-ⳤⳫ-ⳮⳲⳳⴀ-ⴥⴧⴭⴰ-ⵧⵯⶀ-ⶖⶠ-ⶦⶨ-ⶮⶰ-ⶶⶸ-ⶾⷀ-ⷆⷈ-ⷎⷐ-ⷖⷘ-ⷞ々-〇〡-〩〱-〵〸-〼ぁ-ゖ゛-ゟァ-ヺー-ヿㄅ-ㄯㄱ-ㆎㆠ-ㆿㇰ-ㇿ㐀-䶿一-鿼ꀀ-ꒌꓐ-ꓽꔀ-ꘌꘐ-ꘟꘪꘫꙀ-ꙮꙿ-ꚝꚠ-ꛯꜗ-ꜟꜢ-ꞈꞋ-ꞿꟂ-ꟊꟵ-ꠁꠃ-ꠅꠇ-ꠊꠌ-ꠢꡀ-ꡳꢂ-ꢳꣲ-ꣷꣻꣽꣾꤊ-ꤥꤰ-ꥆꥠ-ꥼꦄ-ꦲꧏꧠ-ꧤꧦ-ꧯꧺ-ꧾꨀ-ꨨꩀ-ꩂꩄ-ꩋꩠ-ꩶꩺꩾ-ꪯꪱꪵꪶꪹ-ꪽꫀꫂꫛ-ꫝꫠ-ꫪꫲ-ꫴꬁ-ꬆꬉ-ꬎꬑ-ꬖꬠ-ꬦꬨ-ꬮꬰ-ꭚꭜ-ꭩꭰ-ꯢ가-힣ힰ-ퟆퟋ-ퟻ豈-舘並-龎ff-stﬓ-ﬗיִײַ-ﬨשׁ-זּטּ-לּמּנּסּףּפּצּ-ﮱﯓ-ﴽﵐ-ﶏﶒ-ﷇﷰ-ﷻﹰ-ﹴﹶ-ﻼA-Za-zヲ-하-ᅦᅧ-ᅬᅭ-ᅲᅳ-ᅵ";var q="‌‍·̀-ͯ·҃-֑҇-ׇֽֿׁׂׅׄؐ-ًؚ-٩ٰۖ-ۜ۟-۪ۤۧۨ-ۭ۰-۹ܑܰ-݊ަ-ް߀-߉߫-߽߳ࠖ-࠙ࠛ-ࠣࠥ-ࠧࠩ-࡙࠭-࡛࣓-ࣣ࣡-ःऺ-़ा-ॏ॑-ॗॢॣ०-९ঁ-ঃ়া-ৄেৈো-্ৗৢৣ০-৯৾ਁ-ਃ਼ਾ-ੂੇੈੋ-੍ੑ੦-ੱੵઁ-ઃ઼ા-ૅે-ૉો-્ૢૣ૦-૯ૺ-૿ଁ-ଃ଼ା-ୄେୈୋ-୍୕-ୗୢୣ୦-୯ஂா-ூெ-ைொ-்ௗ௦-௯ఀ-ఄా-ౄె-ైొ-్ౕౖౢౣ౦-౯ಁ-ಃ಼ಾ-ೄೆ-ೈೊ-್ೕೖೢೣ೦-೯ഀ-ഃ഻഼ാ-ൄെ-ൈൊ-്ൗൢൣ൦-൯ඁ-ඃ්ා-ුූෘ-ෟ෦-෯ෲෳัิ-ฺ็-๎๐-๙ັິ-ຼ່-ໍ໐-໙༘༙༠-༩༹༵༷༾༿ཱ-྄྆྇ྍ-ྗྙ-ྼ࿆ါ-ှ၀-၉ၖ-ၙၞ-ၠၢ-ၤၧ-ၭၱ-ၴႂ-ႍႏ-ႝ፝-፟፩-፱ᜒ-᜔ᜲ-᜴ᝒᝓᝲᝳ឴-៓៝០-៩᠋-᠍᠐-᠙ᢩᤠ-ᤫᤰ-᤻᥆-᥏᧐-᧚ᨗ-ᨛᩕ-ᩞ᩠-᩿᩼-᪉᪐-᪙᪰-᪽ᪿᫀᬀ-ᬄ᬴-᭄᭐-᭙᭫-᭳ᮀ-ᮂᮡ-ᮭ᮰-᮹᯦-᯳ᰤ-᰷᱀-᱉᱐-᱙᳐-᳔᳒-᳨᳭᳴᳷-᳹᷀-᷹᷻-᷿‿⁀⁔⃐-⃥⃜⃡-⃰⳯-⵿⳱ⷠ-〪ⷿ-゙゚〯꘠-꘩꙯ꙴ-꙽ꚞꚟ꛰꛱ꠂ꠆ꠋꠣ-ꠧ꠬ꢀꢁꢴ-ꣅ꣐-꣙꣠-꣱ꣿ-꤉ꤦ-꤭ꥇ-꥓ꦀ-ꦃ꦳-꧀꧐-꧙ꧥ꧰-꧹ꨩ-ꨶꩃꩌꩍ꩐-꩙ꩻ-ꩽꪰꪲ-ꪴꪷꪸꪾ꪿꫁ꫫ-ꫯꫵ꫶ꯣ-ꯪ꯬꯭꯰-꯹ﬞ︀-️︠-︯︳︴﹍-﹏0-9_";var ee=new RegExp("["+j+"]");var te=new RegExp("["+j+q+"]");j=q=null;var ne=[0,11,2,25,2,18,2,1,2,14,3,13,35,122,70,52,268,28,4,48,48,31,14,29,6,37,11,29,3,35,5,7,2,4,43,157,19,35,5,35,5,39,9,51,157,310,10,21,11,7,153,5,3,0,2,43,2,1,4,0,3,22,11,22,10,30,66,18,2,1,11,21,11,25,71,55,7,1,65,0,16,3,2,2,2,28,43,28,4,28,36,7,2,27,28,53,11,21,11,18,14,17,111,72,56,50,14,50,14,35,349,41,7,1,79,28,11,0,9,21,107,20,28,22,13,52,76,44,33,24,27,35,30,0,3,0,9,34,4,0,13,47,15,3,22,0,2,0,36,17,2,24,85,6,2,0,2,3,2,14,2,9,8,46,39,7,3,1,3,21,2,6,2,1,2,4,4,0,19,0,13,4,159,52,19,3,21,2,31,47,21,1,2,0,185,46,42,3,37,47,21,0,60,42,14,0,72,26,230,43,117,63,32,7,3,0,3,7,2,1,2,23,16,0,2,0,95,7,3,38,17,0,2,0,29,0,11,39,8,0,22,0,12,45,20,0,35,56,264,8,2,36,18,0,50,29,113,6,2,1,2,37,22,0,26,5,2,1,2,31,15,0,328,18,190,0,80,921,103,110,18,195,2749,1070,4050,582,8634,568,8,30,114,29,19,47,17,3,32,20,6,18,689,63,129,74,6,0,67,12,65,1,2,0,29,6135,9,1237,43,8,8952,286,50,2,18,3,9,395,2309,106,6,12,4,8,8,9,5991,84,2,70,2,1,3,0,3,1,3,3,2,11,2,0,2,6,2,64,2,3,3,7,2,6,2,27,2,3,2,4,2,0,4,6,2,339,3,24,2,24,2,30,2,24,2,30,2,24,2,30,2,24,2,30,2,24,2,7,2357,44,11,6,17,0,370,43,1301,196,60,67,8,0,1205,3,2,26,2,1,2,0,3,0,2,9,2,3,2,0,2,0,7,0,5,0,2,0,2,0,2,2,2,1,2,0,3,0,2,0,2,0,2,0,2,0,2,1,2,0,3,3,2,6,2,3,2,3,2,0,2,9,2,16,6,2,2,4,2,16,4421,42717,35,4148,12,221,3,5761,15,7472,3104,541,1507,4938];var ae=[509,0,227,0,150,4,294,9,1368,2,2,1,6,3,41,2,5,0,166,1,574,3,9,9,370,1,154,10,176,2,54,14,32,9,16,3,46,10,54,9,7,2,37,13,2,9,6,1,45,0,13,2,49,13,9,3,2,11,83,11,7,0,161,11,6,9,7,3,56,1,2,6,3,1,3,2,10,0,11,1,3,6,4,4,193,17,10,9,5,0,82,19,13,9,214,6,3,8,28,1,83,16,16,9,82,12,9,9,84,14,5,9,243,14,166,9,71,5,2,1,3,3,2,0,2,1,13,9,120,6,3,6,4,0,29,9,41,6,2,3,9,0,10,10,47,15,406,7,2,7,17,9,57,21,2,13,123,5,4,0,2,1,2,6,2,0,9,9,49,4,2,1,2,4,9,9,330,3,19306,9,135,4,60,6,26,9,1014,0,2,54,8,3,82,0,12,1,19628,1,5319,4,4,5,9,7,3,6,31,3,149,2,1418,49,513,54,5,49,9,0,15,0,23,4,2,14,1361,6,2,16,3,6,2,1,2,4,262,6,10,9,419,13,1495,6,110,6,6,9,4759,9,787719,239];function isInAstralSet(E,k){var S=65536;for(var w=0;wE){return false}S+=k[w+1];if(S>=E){return true}}}function isIdentifierStart(E,k){if(E<65){return E===36}if(E<91){return true}if(E<97){return E===95}if(E<123){return true}if(E<=65535){return E>=170&&ee.test(String.fromCharCode(E))}if(k===false){return false}return isInAstralSet(E,ne)}function isIdentifierChar(E,k){if(E<48){return E===36}if(E<58){return true}if(E<65){return false}if(E<91){return true}if(E<97){return E===95}if(E<123){return true}if(E<=65535){return E>=170&&te.test(String.fromCharCode(E))}if(k===false){return false}return isInAstralSet(E,ne)||isInAstralSet(E,ae)}var _e=function TokenType(E,k){if(k===void 0)k={};this.label=E;this.keyword=k.keyword;this.beforeExpr=!!k.beforeExpr;this.startsExpr=!!k.startsExpr;this.isLoop=!!k.isLoop;this.isAssign=!!k.isAssign;this.prefix=!!k.prefix;this.postfix=!!k.postfix;this.binop=k.binop||null;this.updateContext=null};function binop(E,k){return new _e(E,{beforeExpr:true,binop:k})}var ve={beforeExpr:true},Ee={startsExpr:true};var we={};function kw(E,k){if(k===void 0)k={};k.keyword=E;return we[E]=new _e(E,k)}var Ce={num:new _e("num",Ee),regexp:new _e("regexp",Ee),string:new _e("string",Ee),name:new _e("name",Ee),eof:new _e("eof"),bracketL:new _e("[",{beforeExpr:true,startsExpr:true}),bracketR:new _e("]"),braceL:new _e("{",{beforeExpr:true,startsExpr:true}),braceR:new _e("}"),parenL:new _e("(",{beforeExpr:true,startsExpr:true}),parenR:new _e(")"),comma:new _e(",",ve),semi:new _e(";",ve),colon:new _e(":",ve),dot:new _e("."),question:new _e("?",ve),questionDot:new _e("?."),arrow:new _e("=>",ve),template:new _e("template"),invalidTemplate:new _e("invalidTemplate"),ellipsis:new _e("...",ve),backQuote:new _e("`",Ee),dollarBraceL:new _e("${",{beforeExpr:true,startsExpr:true}),eq:new _e("=",{beforeExpr:true,isAssign:true}),assign:new _e("_=",{beforeExpr:true,isAssign:true}),incDec:new _e("++/--",{prefix:true,postfix:true,startsExpr:true}),prefix:new _e("!/~",{beforeExpr:true,prefix:true,startsExpr:true}),logicalOR:binop("||",1),logicalAND:binop("&&",2),bitwiseOR:binop("|",3),bitwiseXOR:binop("^",4),bitwiseAND:binop("&",5),equality:binop("==/!=/===/!==",6),relational:binop("/<=/>=",7),bitShift:binop("<>/>>>",8),plusMin:new _e("+/-",{beforeExpr:true,binop:9,prefix:true,startsExpr:true}),modulo:binop("%",10),star:binop("*",10),slash:binop("/",10),starstar:new _e("**",{beforeExpr:true}),coalesce:binop("??",1),_break:kw("break"),_case:kw("case",ve),_catch:kw("catch"),_continue:kw("continue"),_debugger:kw("debugger"),_default:kw("default",ve),_do:kw("do",{isLoop:true,beforeExpr:true}),_else:kw("else",ve),_finally:kw("finally"),_for:kw("for",{isLoop:true}),_function:kw("function",Ee),_if:kw("if"),_return:kw("return",ve),_switch:kw("switch"),_throw:kw("throw",ve),_try:kw("try"),_var:kw("var"),_const:kw("const"),_while:kw("while",{isLoop:true}),_with:kw("with"),_new:kw("new",{beforeExpr:true,startsExpr:true}),_this:kw("this",Ee),_super:kw("super",Ee),_class:kw("class",Ee),_extends:kw("extends",ve),_export:kw("export"),_import:kw("import",Ee),_null:kw("null",Ee),_true:kw("true",Ee),_false:kw("false",Ee),_in:kw("in",{beforeExpr:true,binop:7}),_instanceof:kw("instanceof",{beforeExpr:true,binop:7}),_typeof:kw("typeof",{beforeExpr:true,prefix:true,startsExpr:true}),_void:kw("void",{beforeExpr:true,prefix:true,startsExpr:true}),_delete:kw("delete",{beforeExpr:true,prefix:true,startsExpr:true})};var Me=/\r\n?|\n|\u2028|\u2029/;var Te=new RegExp(Me.source,"g");function isNewLine(E,k){return E===10||E===13||!k&&(E===8232||E===8233)}var Ie=/[\u1680\u2000-\u200a\u202f\u205f\u3000\ufeff]/;var Oe=/(?:\s|\/\/.*|\/\*[^]*?\*\/)*/g;var Re=Object.prototype;var Fe=Re.hasOwnProperty;var Ne=Re.toString;function has(E,k){return Fe.call(E,k)}var Be=Array.isArray||function(E){return Ne.call(E)==="[object Array]"};function wordsRegexp(E){return new RegExp("^(?:"+E.replace(/ /g,"|")+")$")}var Le=function Position(E,k){this.line=E;this.column=k};Le.prototype.offset=function offset(E){return new Le(this.line,this.column+E)};var je=function SourceLocation(E,k,S){this.start=k;this.end=S;if(E.sourceFile!==null){this.source=E.sourceFile}};function getLineInfo(E,k){for(var S=1,w=0;;){Te.lastIndex=w;var N=Te.exec(E);if(N&&N.index=2015){k.ecmaVersion-=2009}if(k.allowReserved==null){k.allowReserved=k.ecmaVersion<5}if(Be(k.onToken)){var w=k.onToken;k.onToken=function(E){return w.push(E)}}if(Be(k.onComment)){k.onComment=pushComment(k,k.onComment)}return k}function pushComment(E,k){return function(S,w,N,j,q,ee){var te={type:S?"Block":"Line",value:w,start:N,end:j};if(E.locations){te.loc=new je(this,q,ee)}if(E.ranges){te.range=[N,j]}k.push(te)}}var ze=1,Ue=2,Ge=ze|Ue,qe=4,Ve=8,He=16,We=32,Ke=64,Xe=128;function functionFlags(E,k){return Ue|(E?qe:0)|(k?Ve:0)}var Qe=0,Je=1,Ye=2,Ze=3,et=4,tt=5;var nt=function Parser(E,S,N){this.options=E=getOptions(E);this.sourceFile=E.sourceFile;this.keywords=wordsRegexp(w[E.ecmaVersion>=6?6:E.sourceType==="module"?"5module":5]);var j="";if(E.allowReserved!==true){for(var q=E.ecmaVersion;;q--){if(j=k[q]){break}}if(E.sourceType==="module"){j+=" await"}}this.reservedWords=wordsRegexp(j);var ee=(j?j+" ":"")+k.strict;this.reservedWordsStrict=wordsRegexp(ee);this.reservedWordsStrictBind=wordsRegexp(ee+" "+k.strictBind);this.input=String(S);this.containsEsc=false;if(N){this.pos=N;this.lineStart=this.input.lastIndexOf("\n",N-1)+1;this.curLine=this.input.slice(0,this.lineStart).split(Me).length}else{this.pos=this.lineStart=0;this.curLine=1}this.type=Ce.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=true;this.inModule=E.sourceType==="module";this.strict=this.inModule||this.strictDirective(this.pos);this.potentialArrowAt=-1;this.yieldPos=this.awaitPos=this.awaitIdentPos=0;this.labels=[];this.undefinedExports={};if(this.pos===0&&E.allowHashBang&&this.input.slice(0,2)==="#!"){this.skipLineComment(2)}this.scopeStack=[];this.enterScope(ze);this.regexpState=null};var rt={inFunction:{configurable:true},inGenerator:{configurable:true},inAsync:{configurable:true},allowSuper:{configurable:true},allowDirectSuper:{configurable:true},treatFunctionsAsVar:{configurable:true}};nt.prototype.parse=function parse(){var E=this.options.program||this.startNode();this.nextToken();return this.parseTopLevel(E)};rt.inFunction.get=function(){return(this.currentVarScope().flags&Ue)>0};rt.inGenerator.get=function(){return(this.currentVarScope().flags&Ve)>0};rt.inAsync.get=function(){return(this.currentVarScope().flags&qe)>0};rt.allowSuper.get=function(){return(this.currentThisScope().flags&Ke)>0};rt.allowDirectSuper.get=function(){return(this.currentThisScope().flags&Xe)>0};rt.treatFunctionsAsVar.get=function(){return this.treatFunctionsAsVarInScope(this.currentScope())};nt.prototype.inNonArrowFunction=function inNonArrowFunction(){return(this.currentThisScope().flags&Ue)>0};nt.extend=function extend(){var E=[],k=arguments.length;while(k--)E[k]=arguments[k];var S=this;for(var w=0;w=,?^&]/.test(N)||N==="!"&&this.input.charAt(w+1)==="=")}E+=k[0].length;Oe.lastIndex=E;E+=Oe.exec(this.input)[0].length;if(this.input[E]===";"){E++}}};it.eat=function(E){if(this.type===E){this.next();return true}else{return false}};it.isContextual=function(E){return this.type===Ce.name&&this.value===E&&!this.containsEsc};it.eatContextual=function(E){if(!this.isContextual(E)){return false}this.next();return true};it.expectContextual=function(E){if(!this.eatContextual(E)){this.unexpected()}};it.canInsertSemicolon=function(){return this.type===Ce.eof||this.type===Ce.braceR||Me.test(this.input.slice(this.lastTokEnd,this.start))};it.insertSemicolon=function(){if(this.canInsertSemicolon()){if(this.options.onInsertedSemicolon){this.options.onInsertedSemicolon(this.lastTokEnd,this.lastTokEndLoc)}return true}};it.semicolon=function(){if(!this.eat(Ce.semi)&&!this.insertSemicolon()){this.unexpected()}};it.afterTrailingComma=function(E,k){if(this.type===E){if(this.options.onTrailingComma){this.options.onTrailingComma(this.lastTokStart,this.lastTokStartLoc)}if(!k){this.next()}return true}};it.expect=function(E){this.eat(E)||this.unexpected()};it.unexpected=function(E){this.raise(E!=null?E:this.start,"Unexpected token")};function DestructuringErrors(){this.shorthandAssign=this.trailingComma=this.parenthesizedAssign=this.parenthesizedBind=this.doubleProto=-1}it.checkPatternErrors=function(E,k){if(!E){return}if(E.trailingComma>-1){this.raiseRecoverable(E.trailingComma,"Comma is not permitted after the rest element")}var S=k?E.parenthesizedAssign:E.parenthesizedBind;if(S>-1){this.raiseRecoverable(S,"Parenthesized pattern")}};it.checkExpressionErrors=function(E,k){if(!E){return false}var S=E.shorthandAssign;var w=E.doubleProto;if(!k){return S>=0||w>=0}if(S>=0){this.raise(S,"Shorthand property assignments are valid only in destructuring patterns")}if(w>=0){this.raiseRecoverable(w,"Redefinition of __proto__ property")}};it.checkYieldAwaitInDefaultParams=function(){if(this.yieldPos&&(!this.awaitPos||this.yieldPos=6){this.unexpected()}return this.parseFunctionStatement(N,false,!E);case Ce._class:if(E){this.unexpected()}return this.parseClass(N,true);case Ce._if:return this.parseIfStatement(N);case Ce._return:return this.parseReturnStatement(N);case Ce._switch:return this.parseSwitchStatement(N);case Ce._throw:return this.parseThrowStatement(N);case Ce._try:return this.parseTryStatement(N);case Ce._const:case Ce._var:j=j||this.value;if(E&&j!=="var"){this.unexpected()}return this.parseVarStatement(N,j);case Ce._while:return this.parseWhileStatement(N);case Ce._with:return this.parseWithStatement(N);case Ce.braceL:return this.parseBlock(true,N);case Ce.semi:return this.parseEmptyStatement(N);case Ce._export:case Ce._import:if(this.options.ecmaVersion>10&&w===Ce._import){Oe.lastIndex=this.pos;var q=Oe.exec(this.input);var ee=this.pos+q[0].length,te=this.input.charCodeAt(ee);if(te===40||te===46){return this.parseExpressionStatement(N,this.parseExpression())}}if(!this.options.allowImportExportEverywhere){if(!k){this.raise(this.start,"'import' and 'export' may only appear at the top level")}if(!this.inModule){this.raise(this.start,"'import' and 'export' may appear only with 'sourceType: module'")}}return w===Ce._import?this.parseImport(N):this.parseExport(N,S);default:if(this.isAsyncFunction()){if(E){this.unexpected()}this.next();return this.parseFunctionStatement(N,true,!E)}var ne=this.value,ae=this.parseExpression();if(w===Ce.name&&ae.type==="Identifier"&&this.eat(Ce.colon)){return this.parseLabeledStatement(N,ne,ae,E)}else{return this.parseExpressionStatement(N,ae)}}};ot.parseBreakContinueStatement=function(E,k){var S=k==="break";this.next();if(this.eat(Ce.semi)||this.insertSemicolon()){E.label=null}else if(this.type!==Ce.name){this.unexpected()}else{E.label=this.parseIdent();this.semicolon()}var w=0;for(;w=6){this.eat(Ce.semi)}else{this.semicolon()}return this.finishNode(E,"DoWhileStatement")};ot.parseForStatement=function(E){this.next();var k=this.options.ecmaVersion>=9&&(this.inAsync||!this.inFunction&&this.options.allowAwaitOutsideFunction)&&this.eatContextual("await")?this.lastTokStart:-1;this.labels.push(ut);this.enterScope(0);this.expect(Ce.parenL);if(this.type===Ce.semi){if(k>-1){this.unexpected(k)}return this.parseFor(E,null)}var S=this.isLet();if(this.type===Ce._var||this.type===Ce._const||S){var w=this.startNode(),N=S?"let":this.value;this.next();this.parseVar(w,true,N);this.finishNode(w,"VariableDeclaration");if((this.type===Ce._in||this.options.ecmaVersion>=6&&this.isContextual("of"))&&w.declarations.length===1){if(this.options.ecmaVersion>=9){if(this.type===Ce._in){if(k>-1){this.unexpected(k)}}else{E.await=k>-1}}return this.parseForIn(E,w)}if(k>-1){this.unexpected(k)}return this.parseFor(E,w)}var j=new DestructuringErrors;var q=this.parseExpression(true,j);if(this.type===Ce._in||this.options.ecmaVersion>=6&&this.isContextual("of")){if(this.options.ecmaVersion>=9){if(this.type===Ce._in){if(k>-1){this.unexpected(k)}}else{E.await=k>-1}}this.toAssignable(q,false,j);this.checkLVal(q);return this.parseForIn(E,q)}else{this.checkExpressionErrors(j,true)}if(k>-1){this.unexpected(k)}return this.parseFor(E,q)};ot.parseFunctionStatement=function(E,k,S){this.next();return this.parseFunction(E,pt|(S?0:ft),false,k)};ot.parseIfStatement=function(E){this.next();E.test=this.parseParenExpression();E.consequent=this.parseStatement("if");E.alternate=this.eat(Ce._else)?this.parseStatement("if"):null;return this.finishNode(E,"IfStatement")};ot.parseReturnStatement=function(E){if(!this.inFunction&&!this.options.allowReturnOutsideFunction){this.raise(this.start,"'return' outside of function")}this.next();if(this.eat(Ce.semi)||this.insertSemicolon()){E.argument=null}else{E.argument=this.parseExpression();this.semicolon()}return this.finishNode(E,"ReturnStatement")};ot.parseSwitchStatement=function(E){this.next();E.discriminant=this.parseParenExpression();E.cases=[];this.expect(Ce.braceL);this.labels.push(lt);this.enterScope(0);var k;for(var S=false;this.type!==Ce.braceR;){if(this.type===Ce._case||this.type===Ce._default){var w=this.type===Ce._case;if(k){this.finishNode(k,"SwitchCase")}E.cases.push(k=this.startNode());k.consequent=[];this.next();if(w){k.test=this.parseExpression()}else{if(S){this.raiseRecoverable(this.lastTokStart,"Multiple default clauses")}S=true;k.test=null}this.expect(Ce.colon)}else{if(!k){this.unexpected()}k.consequent.push(this.parseStatement(null))}}this.exitScope();if(k){this.finishNode(k,"SwitchCase")}this.next();this.labels.pop();return this.finishNode(E,"SwitchStatement")};ot.parseThrowStatement=function(E){this.next();if(Me.test(this.input.slice(this.lastTokEnd,this.start))){this.raise(this.lastTokEnd,"Illegal newline after throw")}E.argument=this.parseExpression();this.semicolon();return this.finishNode(E,"ThrowStatement")};var ct=[];ot.parseTryStatement=function(E){this.next();E.block=this.parseBlock();E.handler=null;if(this.type===Ce._catch){var k=this.startNode();this.next();if(this.eat(Ce.parenL)){k.param=this.parseBindingAtom();var S=k.param.type==="Identifier";this.enterScope(S?We:0);this.checkLVal(k.param,S?et:Ye);this.expect(Ce.parenR)}else{if(this.options.ecmaVersion<10){this.unexpected()}k.param=null;this.enterScope(0)}k.body=this.parseBlock(false);this.exitScope();E.handler=this.finishNode(k,"CatchClause")}E.finalizer=this.eat(Ce._finally)?this.parseBlock():null;if(!E.handler&&!E.finalizer){this.raise(E.start,"Missing catch or finally clause")}return this.finishNode(E,"TryStatement")};ot.parseVarStatement=function(E,k){this.next();this.parseVar(E,false,k);this.semicolon();return this.finishNode(E,"VariableDeclaration")};ot.parseWhileStatement=function(E){this.next();E.test=this.parseParenExpression();this.labels.push(ut);E.body=this.parseStatement("while");this.labels.pop();return this.finishNode(E,"WhileStatement")};ot.parseWithStatement=function(E){if(this.strict){this.raise(this.start,"'with' in strict mode")}this.next();E.object=this.parseParenExpression();E.body=this.parseStatement("with");return this.finishNode(E,"WithStatement")};ot.parseEmptyStatement=function(E){this.next();return this.finishNode(E,"EmptyStatement")};ot.parseLabeledStatement=function(E,k,S,w){for(var N=0,j=this.labels;N=0;te--){var ne=this.labels[te];if(ne.statementStart===E.start){ne.statementStart=this.start;ne.kind=ee}else{break}}this.labels.push({name:k,kind:ee,statementStart:this.start});E.body=this.parseStatement(w?w.indexOf("label")===-1?w+"label":w:"label");this.labels.pop();E.label=S;return this.finishNode(E,"LabeledStatement")};ot.parseExpressionStatement=function(E,k){E.expression=k;this.semicolon();return this.finishNode(E,"ExpressionStatement")};ot.parseBlock=function(E,k,S){if(E===void 0)E=true;if(k===void 0)k=this.startNode();k.body=[];this.expect(Ce.braceL);if(E){this.enterScope(0)}while(this.type!==Ce.braceR){var w=this.parseStatement(null);k.body.push(w)}if(S){this.strict=false}this.next();if(E){this.exitScope()}return this.finishNode(k,"BlockStatement")};ot.parseFor=function(E,k){E.init=k;this.expect(Ce.semi);E.test=this.type===Ce.semi?null:this.parseExpression();this.expect(Ce.semi);E.update=this.type===Ce.parenR?null:this.parseExpression();this.expect(Ce.parenR);E.body=this.parseStatement("for");this.exitScope();this.labels.pop();return this.finishNode(E,"ForStatement")};ot.parseForIn=function(E,k){var S=this.type===Ce._in;this.next();if(k.type==="VariableDeclaration"&&k.declarations[0].init!=null&&(!S||this.options.ecmaVersion<8||this.strict||k.kind!=="var"||k.declarations[0].id.type!=="Identifier")){this.raise(k.start,(S?"for-in":"for-of")+" loop variable declaration may not have an initializer")}else if(k.type==="AssignmentPattern"){this.raise(k.start,"Invalid left-hand side in for-loop")}E.left=k;E.right=S?this.parseExpression():this.parseMaybeAssign();this.expect(Ce.parenR);E.body=this.parseStatement("for");this.exitScope();this.labels.pop();return this.finishNode(E,S?"ForInStatement":"ForOfStatement")};ot.parseVar=function(E,k,S){E.declarations=[];E.kind=S;for(;;){var w=this.startNode();this.parseVarId(w,S);if(this.eat(Ce.eq)){w.init=this.parseMaybeAssign(k)}else if(S==="const"&&!(this.type===Ce._in||this.options.ecmaVersion>=6&&this.isContextual("of"))){this.unexpected()}else if(w.id.type!=="Identifier"&&!(k&&(this.type===Ce._in||this.isContextual("of")))){this.raise(this.lastTokEnd,"Complex binding patterns require an initialization value")}else{w.init=null}E.declarations.push(this.finishNode(w,"VariableDeclarator"));if(!this.eat(Ce.comma)){break}}return E};ot.parseVarId=function(E,k){E.id=this.parseBindingAtom();this.checkLVal(E.id,k==="var"?Je:Ye,false)};var pt=1,ft=2,dt=4;ot.parseFunction=function(E,k,S,w){this.initFunction(E);if(this.options.ecmaVersion>=9||this.options.ecmaVersion>=6&&!w){if(this.type===Ce.star&&k&ft){this.unexpected()}E.generator=this.eat(Ce.star)}if(this.options.ecmaVersion>=8){E.async=!!w}if(k&pt){E.id=k&dt&&this.type!==Ce.name?null:this.parseIdent();if(E.id&&!(k&ft)){this.checkLVal(E.id,this.strict||E.generator||E.async?this.treatFunctionsAsVar?Je:Ye:Ze)}}var N=this.yieldPos,j=this.awaitPos,q=this.awaitIdentPos;this.yieldPos=0;this.awaitPos=0;this.awaitIdentPos=0;this.enterScope(functionFlags(E.async,E.generator));if(!(k&pt)){E.id=this.type===Ce.name?this.parseIdent():null}this.parseFunctionParams(E);this.parseFunctionBody(E,S,false);this.yieldPos=N;this.awaitPos=j;this.awaitIdentPos=q;return this.finishNode(E,k&pt?"FunctionDeclaration":"FunctionExpression")};ot.parseFunctionParams=function(E){this.expect(Ce.parenL);E.params=this.parseBindingList(Ce.parenR,false,this.options.ecmaVersion>=8);this.checkYieldAwaitInDefaultParams()};ot.parseClass=function(E,k){this.next();var S=this.strict;this.strict=true;this.parseClassId(E,k);this.parseClassSuper(E);var w=this.startNode();var N=false;w.body=[];this.expect(Ce.braceL);while(this.type!==Ce.braceR){var j=this.parseClassElement(E.superClass!==null);if(j){w.body.push(j);if(j.type==="MethodDefinition"&&j.kind==="constructor"){if(N){this.raise(j.start,"Duplicate constructor in the same class")}N=true}}}this.strict=S;this.next();E.body=this.finishNode(w,"ClassBody");return this.finishNode(E,k?"ClassDeclaration":"ClassExpression")};ot.parseClassElement=function(E){var k=this;if(this.eat(Ce.semi)){return null}var S=this.startNode();var tryContextual=function(E,w){if(w===void 0)w=false;var N=k.start,j=k.startLoc;if(!k.eatContextual(E)){return false}if(k.type!==Ce.parenL&&(!w||!k.canInsertSemicolon())){return true}if(S.key){k.unexpected()}S.computed=false;S.key=k.startNodeAt(N,j);S.key.name=E;k.finishNode(S.key,"Identifier");return false};S.kind="method";S.static=tryContextual("static");var w=this.eat(Ce.star);var N=false;if(!w){if(this.options.ecmaVersion>=8&&tryContextual("async",true)){N=true;w=this.options.ecmaVersion>=9&&this.eat(Ce.star)}else if(tryContextual("get")){S.kind="get"}else if(tryContextual("set")){S.kind="set"}}if(!S.key){this.parsePropertyName(S)}var j=S.key;var q=false;if(!S.computed&&!S.static&&(j.type==="Identifier"&&j.name==="constructor"||j.type==="Literal"&&j.value==="constructor")){if(S.kind!=="method"){this.raise(j.start,"Constructor can't have get/set modifier")}if(w){this.raise(j.start,"Constructor can't be a generator")}if(N){this.raise(j.start,"Constructor can't be an async method")}S.kind="constructor";q=E}else if(S.static&&j.type==="Identifier"&&j.name==="prototype"){this.raise(j.start,"Classes may not have a static property named prototype")}this.parseClassMethod(S,w,N,q);if(S.kind==="get"&&S.value.params.length!==0){this.raiseRecoverable(S.value.start,"getter should have no params")}if(S.kind==="set"&&S.value.params.length!==1){this.raiseRecoverable(S.value.start,"setter should have exactly one param")}if(S.kind==="set"&&S.value.params[0].type==="RestElement"){this.raiseRecoverable(S.value.params[0].start,"Setter cannot use rest params")}return S};ot.parseClassMethod=function(E,k,S,w){E.value=this.parseMethod(k,S,w);return this.finishNode(E,"MethodDefinition")};ot.parseClassId=function(E,k){if(this.type===Ce.name){E.id=this.parseIdent();if(k){this.checkLVal(E.id,Ye,false)}}else{if(k===true){this.unexpected()}E.id=null}};ot.parseClassSuper=function(E){E.superClass=this.eat(Ce._extends)?this.parseExprSubscripts():null};ot.parseExport=function(E,k){this.next();if(this.eat(Ce.star)){if(this.options.ecmaVersion>=11){if(this.eatContextual("as")){E.exported=this.parseIdent(true);this.checkExport(k,E.exported.name,this.lastTokStart)}else{E.exported=null}}this.expectContextual("from");if(this.type!==Ce.string){this.unexpected()}E.source=this.parseExprAtom();this.semicolon();return this.finishNode(E,"ExportAllDeclaration")}if(this.eat(Ce._default)){this.checkExport(k,"default",this.lastTokStart);var S;if(this.type===Ce._function||(S=this.isAsyncFunction())){var w=this.startNode();this.next();if(S){this.next()}E.declaration=this.parseFunction(w,pt|dt,false,S)}else if(this.type===Ce._class){var N=this.startNode();E.declaration=this.parseClass(N,"nullableID")}else{E.declaration=this.parseMaybeAssign();this.semicolon()}return this.finishNode(E,"ExportDefaultDeclaration")}if(this.shouldParseExportStatement()){E.declaration=this.parseStatement(null);if(E.declaration.type==="VariableDeclaration"){this.checkVariableExport(k,E.declaration.declarations)}else{this.checkExport(k,E.declaration.id.name,E.declaration.id.start)}E.specifiers=[];E.source=null}else{E.declaration=null;E.specifiers=this.parseExportSpecifiers(k);if(this.eatContextual("from")){if(this.type!==Ce.string){this.unexpected()}E.source=this.parseExprAtom()}else{for(var j=0,q=E.specifiers;j=6&&E){switch(E.type){case"Identifier":if(this.inAsync&&E.name==="await"){this.raise(E.start,"Cannot use 'await' as identifier inside an async function")}break;case"ObjectPattern":case"ArrayPattern":case"RestElement":break;case"ObjectExpression":E.type="ObjectPattern";if(S){this.checkPatternErrors(S,true)}for(var w=0,N=E.properties;w=8&&!j&&q.name==="async"&&!this.canInsertSemicolon()&&this.eat(Ce._function)){return this.parseFunction(this.startNodeAt(w,N),0,false,true)}if(S&&!this.canInsertSemicolon()){if(this.eat(Ce.arrow)){return this.parseArrowExpression(this.startNodeAt(w,N),[q],false)}if(this.options.ecmaVersion>=8&&q.name==="async"&&this.type===Ce.name&&!j){q=this.parseIdent(false);if(this.canInsertSemicolon()||!this.eat(Ce.arrow)){this.unexpected()}return this.parseArrowExpression(this.startNodeAt(w,N),[q],true)}}return q;case Ce.regexp:var ee=this.value;k=this.parseLiteral(ee.value);k.regex={pattern:ee.pattern,flags:ee.flags};return k;case Ce.num:case Ce.string:return this.parseLiteral(this.value);case Ce._null:case Ce._true:case Ce._false:k=this.startNode();k.value=this.type===Ce._null?null:this.type===Ce._true;k.raw=this.type.keyword;this.next();return this.finishNode(k,"Literal");case Ce.parenL:var te=this.start,ne=this.parseParenAndDistinguishExpression(S);if(E){if(E.parenthesizedAssign<0&&!this.isSimpleAssignTarget(ne)){E.parenthesizedAssign=te}if(E.parenthesizedBind<0){E.parenthesizedBind=te}}return ne;case Ce.bracketL:k=this.startNode();this.next();k.elements=this.parseExprList(Ce.bracketR,true,true,E);return this.finishNode(k,"ArrayExpression");case Ce.braceL:return this.parseObj(false,E);case Ce._function:k=this.startNode();this.next();return this.parseFunction(k,0);case Ce._class:return this.parseClass(this.startNode(),false);case Ce._new:return this.parseNew();case Ce.backQuote:return this.parseTemplate();case Ce._import:if(this.options.ecmaVersion>=11){return this.parseExprImport()}else{return this.unexpected()}default:this.unexpected()}};mt.parseExprImport=function(){var E=this.startNode();if(this.containsEsc){this.raiseRecoverable(this.start,"Escape sequence in keyword import")}var k=this.parseIdent(true);switch(this.type){case Ce.parenL:return this.parseDynamicImport(E);case Ce.dot:E.meta=k;return this.parseImportMeta(E);default:this.unexpected()}};mt.parseDynamicImport=function(E){this.next();E.source=this.parseMaybeAssign();if(!this.eat(Ce.parenR)){var k=this.start;if(this.eat(Ce.comma)&&this.eat(Ce.parenR)){this.raiseRecoverable(k,"Trailing comma is not allowed in import()")}else{this.unexpected(k)}}return this.finishNode(E,"ImportExpression")};mt.parseImportMeta=function(E){this.next();var k=this.containsEsc;E.property=this.parseIdent(true);if(E.property.name!=="meta"){this.raiseRecoverable(E.property.start,"The only valid meta property for import is 'import.meta'")}if(k){this.raiseRecoverable(E.start,"'import.meta' must not contain escaped characters")}if(this.options.sourceType!=="module"){this.raiseRecoverable(E.start,"Cannot use 'import.meta' outside a module")}return this.finishNode(E,"MetaProperty")};mt.parseLiteral=function(E){var k=this.startNode();k.value=E;k.raw=this.input.slice(this.start,this.end);if(k.raw.charCodeAt(k.raw.length-1)===110){k.bigint=k.raw.slice(0,-1).replace(/_/g,"")}this.next();return this.finishNode(k,"Literal")};mt.parseParenExpression=function(){this.expect(Ce.parenL);var E=this.parseExpression();this.expect(Ce.parenR);return E};mt.parseParenAndDistinguishExpression=function(E){var k=this.start,S=this.startLoc,w,N=this.options.ecmaVersion>=8;if(this.options.ecmaVersion>=6){this.next();var j=this.start,q=this.startLoc;var ee=[],te=true,ne=false;var ae=new DestructuringErrors,_e=this.yieldPos,ve=this.awaitPos,Ee;this.yieldPos=0;this.awaitPos=0;while(this.type!==Ce.parenR){te?te=false:this.expect(Ce.comma);if(N&&this.afterTrailingComma(Ce.parenR,true)){ne=true;break}else if(this.type===Ce.ellipsis){Ee=this.start;ee.push(this.parseParenItem(this.parseRestBinding()));if(this.type===Ce.comma){this.raise(this.start,"Comma is not permitted after the rest element")}break}else{ee.push(this.parseMaybeAssign(false,ae,this.parseParenItem))}}var we=this.start,Me=this.startLoc;this.expect(Ce.parenR);if(E&&!this.canInsertSemicolon()&&this.eat(Ce.arrow)){this.checkPatternErrors(ae,false);this.checkYieldAwaitInDefaultParams();this.yieldPos=_e;this.awaitPos=ve;return this.parseParenArrowList(k,S,ee)}if(!ee.length||ne){this.unexpected(this.lastTokStart)}if(Ee){this.unexpected(Ee)}this.checkExpressionErrors(ae,true);this.yieldPos=_e||this.yieldPos;this.awaitPos=ve||this.awaitPos;if(ee.length>1){w=this.startNodeAt(j,q);w.expressions=ee;this.finishNodeAt(w,"SequenceExpression",we,Me)}else{w=ee[0]}}else{w=this.parseParenExpression()}if(this.options.preserveParens){var Te=this.startNodeAt(k,S);Te.expression=w;return this.finishNode(Te,"ParenthesizedExpression")}else{return w}};mt.parseParenItem=function(E){return E};mt.parseParenArrowList=function(E,k,S){return this.parseArrowExpression(this.startNodeAt(E,k),S)};var gt=[];mt.parseNew=function(){if(this.containsEsc){this.raiseRecoverable(this.start,"Escape sequence in keyword new")}var E=this.startNode();var k=this.parseIdent(true);if(this.options.ecmaVersion>=6&&this.eat(Ce.dot)){E.meta=k;var S=this.containsEsc;E.property=this.parseIdent(true);if(E.property.name!=="target"){this.raiseRecoverable(E.property.start,"The only valid meta property for new is 'new.target'")}if(S){this.raiseRecoverable(E.start,"'new.target' must not contain escaped characters")}if(!this.inNonArrowFunction()){this.raiseRecoverable(E.start,"'new.target' can only be used in functions")}return this.finishNode(E,"MetaProperty")}var w=this.start,N=this.startLoc,j=this.type===Ce._import;E.callee=this.parseSubscripts(this.parseExprAtom(),w,N,true);if(j&&E.callee.type==="ImportExpression"){this.raise(w,"Cannot use new with import()")}if(this.eat(Ce.parenL)){E.arguments=this.parseExprList(Ce.parenR,this.options.ecmaVersion>=8,false)}else{E.arguments=gt}return this.finishNode(E,"NewExpression")};mt.parseTemplateElement=function(E){var k=E.isTagged;var S=this.startNode();if(this.type===Ce.invalidTemplate){if(!k){this.raiseRecoverable(this.start,"Bad escape sequence in untagged template literal")}S.value={raw:this.value,cooked:null}}else{S.value={raw:this.input.slice(this.start,this.end).replace(/\r\n?/g,"\n"),cooked:this.value}}this.next();S.tail=this.type===Ce.backQuote;return this.finishNode(S,"TemplateElement")};mt.parseTemplate=function(E){if(E===void 0)E={};var k=E.isTagged;if(k===void 0)k=false;var S=this.startNode();this.next();S.expressions=[];var w=this.parseTemplateElement({isTagged:k});S.quasis=[w];while(!w.tail){if(this.type===Ce.eof){this.raise(this.pos,"Unterminated template literal")}this.expect(Ce.dollarBraceL);S.expressions.push(this.parseExpression());this.expect(Ce.braceR);S.quasis.push(w=this.parseTemplateElement({isTagged:k}))}this.next();return this.finishNode(S,"TemplateLiteral")};mt.isAsyncProp=function(E){return!E.computed&&E.key.type==="Identifier"&&E.key.name==="async"&&(this.type===Ce.name||this.type===Ce.num||this.type===Ce.string||this.type===Ce.bracketL||this.type.keyword||this.options.ecmaVersion>=9&&this.type===Ce.star)&&!Me.test(this.input.slice(this.lastTokEnd,this.start))};mt.parseObj=function(E,k){var S=this.startNode(),w=true,N={};S.properties=[];this.next();while(!this.eat(Ce.braceR)){if(!w){this.expect(Ce.comma);if(this.options.ecmaVersion>=5&&this.afterTrailingComma(Ce.braceR)){break}}else{w=false}var j=this.parseProperty(E,k);if(!E){this.checkPropClash(j,N,k)}S.properties.push(j)}return this.finishNode(S,E?"ObjectPattern":"ObjectExpression")};mt.parseProperty=function(E,k){var S=this.startNode(),w,N,j,q;if(this.options.ecmaVersion>=9&&this.eat(Ce.ellipsis)){if(E){S.argument=this.parseIdent(false);if(this.type===Ce.comma){this.raise(this.start,"Comma is not permitted after the rest element")}return this.finishNode(S,"RestElement")}if(this.type===Ce.parenL&&k){if(k.parenthesizedAssign<0){k.parenthesizedAssign=this.start}if(k.parenthesizedBind<0){k.parenthesizedBind=this.start}}S.argument=this.parseMaybeAssign(false,k);if(this.type===Ce.comma&&k&&k.trailingComma<0){k.trailingComma=this.start}return this.finishNode(S,"SpreadElement")}if(this.options.ecmaVersion>=6){S.method=false;S.shorthand=false;if(E||k){j=this.start;q=this.startLoc}if(!E){w=this.eat(Ce.star)}}var ee=this.containsEsc;this.parsePropertyName(S);if(!E&&!ee&&this.options.ecmaVersion>=8&&!w&&this.isAsyncProp(S)){N=true;w=this.options.ecmaVersion>=9&&this.eat(Ce.star);this.parsePropertyName(S,k)}else{N=false}this.parsePropertyValue(S,E,w,N,j,q,k,ee);return this.finishNode(S,"Property")};mt.parsePropertyValue=function(E,k,S,w,N,j,q,ee){if((S||w)&&this.type===Ce.colon){this.unexpected()}if(this.eat(Ce.colon)){E.value=k?this.parseMaybeDefault(this.start,this.startLoc):this.parseMaybeAssign(false,q);E.kind="init"}else if(this.options.ecmaVersion>=6&&this.type===Ce.parenL){if(k){this.unexpected()}E.kind="init";E.method=true;E.value=this.parseMethod(S,w)}else if(!k&&!ee&&this.options.ecmaVersion>=5&&!E.computed&&E.key.type==="Identifier"&&(E.key.name==="get"||E.key.name==="set")&&(this.type!==Ce.comma&&this.type!==Ce.braceR&&this.type!==Ce.eq)){if(S||w){this.unexpected()}E.kind=E.key.name;this.parsePropertyName(E);E.value=this.parseMethod(false);var te=E.kind==="get"?0:1;if(E.value.params.length!==te){var ne=E.value.start;if(E.kind==="get"){this.raiseRecoverable(ne,"getter should have no params")}else{this.raiseRecoverable(ne,"setter should have exactly one param")}}else{if(E.kind==="set"&&E.value.params[0].type==="RestElement"){this.raiseRecoverable(E.value.params[0].start,"Setter cannot use rest params")}}}else if(this.options.ecmaVersion>=6&&!E.computed&&E.key.type==="Identifier"){if(S||w){this.unexpected()}this.checkUnreserved(E.key);if(E.key.name==="await"&&!this.awaitIdentPos){this.awaitIdentPos=N}E.kind="init";if(k){E.value=this.parseMaybeDefault(N,j,E.key)}else if(this.type===Ce.eq&&q){if(q.shorthandAssign<0){q.shorthandAssign=this.start}E.value=this.parseMaybeDefault(N,j,E.key)}else{E.value=E.key}E.shorthand=true}else{this.unexpected()}};mt.parsePropertyName=function(E){if(this.options.ecmaVersion>=6){if(this.eat(Ce.bracketL)){E.computed=true;E.key=this.parseMaybeAssign();this.expect(Ce.bracketR);return E.key}else{E.computed=false}}return E.key=this.type===Ce.num||this.type===Ce.string?this.parseExprAtom():this.parseIdent(this.options.allowReserved!=="never")};mt.initFunction=function(E){E.id=null;if(this.options.ecmaVersion>=6){E.generator=E.expression=false}if(this.options.ecmaVersion>=8){E.async=false}};mt.parseMethod=function(E,k,S){var w=this.startNode(),N=this.yieldPos,j=this.awaitPos,q=this.awaitIdentPos;this.initFunction(w);if(this.options.ecmaVersion>=6){w.generator=E}if(this.options.ecmaVersion>=8){w.async=!!k}this.yieldPos=0;this.awaitPos=0;this.awaitIdentPos=0;this.enterScope(functionFlags(k,w.generator)|Ke|(S?Xe:0));this.expect(Ce.parenL);w.params=this.parseBindingList(Ce.parenR,false,this.options.ecmaVersion>=8);this.checkYieldAwaitInDefaultParams();this.parseFunctionBody(w,false,true);this.yieldPos=N;this.awaitPos=j;this.awaitIdentPos=q;return this.finishNode(w,"FunctionExpression")};mt.parseArrowExpression=function(E,k,S){var w=this.yieldPos,N=this.awaitPos,j=this.awaitIdentPos;this.enterScope(functionFlags(S,false)|He);this.initFunction(E);if(this.options.ecmaVersion>=8){E.async=!!S}this.yieldPos=0;this.awaitPos=0;this.awaitIdentPos=0;E.params=this.toAssignableList(k,true);this.parseFunctionBody(E,true,false);this.yieldPos=w;this.awaitPos=N;this.awaitIdentPos=j;return this.finishNode(E,"ArrowFunctionExpression")};mt.parseFunctionBody=function(E,k,S){var w=k&&this.type!==Ce.braceL;var N=this.strict,j=false;if(w){E.body=this.parseMaybeAssign();E.expression=true;this.checkParams(E,false)}else{var q=this.options.ecmaVersion>=7&&!this.isSimpleParamList(E.params);if(!N||q){j=this.strictDirective(this.end);if(j&&q){this.raiseRecoverable(E.start,"Illegal 'use strict' directive in function with non-simple parameter list")}}var ee=this.labels;this.labels=[];if(j){this.strict=true}this.checkParams(E,!N&&!j&&!k&&!S&&this.isSimpleParamList(E.params));if(this.strict&&E.id){this.checkLVal(E.id,tt)}E.body=this.parseBlock(false,undefined,j&&!N);E.expression=false;this.adaptDirectivePrologue(E.body.body);this.labels=ee}this.exitScope()};mt.isSimpleParamList=function(E){for(var k=0,S=E;k-1||N.functions.indexOf(E)>-1||N.var.indexOf(E)>-1;N.lexical.push(E);if(this.inModule&&N.flags&ze){delete this.undefinedExports[E]}}else if(k===et){var j=this.currentScope();j.lexical.push(E)}else if(k===Ze){var q=this.currentScope();if(this.treatFunctionsAsVar){w=q.lexical.indexOf(E)>-1}else{w=q.lexical.indexOf(E)>-1||q.var.indexOf(E)>-1}q.functions.push(E)}else{for(var ee=this.scopeStack.length-1;ee>=0;--ee){var te=this.scopeStack[ee];if(te.lexical.indexOf(E)>-1&&!(te.flags&We&&te.lexical[0]===E)||!this.treatFunctionsAsVarInScope(te)&&te.functions.indexOf(E)>-1){w=true;break}te.var.push(E);if(this.inModule&&te.flags&ze){delete this.undefinedExports[E]}if(te.flags&Ge){break}}}if(w){this.raiseRecoverable(S,"Identifier '"+E+"' has already been declared")}};_t.checkLocalExport=function(E){if(this.scopeStack[0].lexical.indexOf(E.name)===-1&&this.scopeStack[0].var.indexOf(E.name)===-1){this.undefinedExports[E.name]=E}};_t.currentScope=function(){return this.scopeStack[this.scopeStack.length-1]};_t.currentVarScope=function(){for(var E=this.scopeStack.length-1;;E--){var k=this.scopeStack[E];if(k.flags&Ge){return k}}};_t.currentThisScope=function(){for(var E=this.scopeStack.length-1;;E--){var k=this.scopeStack[E];if(k.flags&Ge&&!(k.flags&He)){return k}}};var bt=function Node(E,k,S){this.type="";this.start=k;this.end=0;if(E.options.locations){this.loc=new je(E,S)}if(E.options.directSourceFile){this.sourceFile=E.options.directSourceFile}if(E.options.ranges){this.range=[k,0]}};var Et=nt.prototype;Et.startNode=function(){return new bt(this,this.start,this.startLoc)};Et.startNodeAt=function(E,k){return new bt(this,E,k)};function finishNodeAt(E,k,S,w){E.type=k;E.end=S;if(this.options.locations){E.loc.end=w}if(this.options.ranges){E.range[1]=S}return E}Et.finishNode=function(E,k){return finishNodeAt.call(this,E,k,this.lastTokEnd,this.lastTokEndLoc)};Et.finishNodeAt=function(E,k,S,w){return finishNodeAt.call(this,E,k,S,w)};var kt=function TokContext(E,k,S,w,N){this.token=E;this.isExpr=!!k;this.preserveSpace=!!S;this.override=w;this.generator=!!N};var xt={b_stat:new kt("{",false),b_expr:new kt("{",true),b_tmpl:new kt("${",false),p_stat:new kt("(",false),p_expr:new kt("(",true),q_tmpl:new kt("`",true,true,(function(E){return E.tryReadTemplateToken()})),f_stat:new kt("function",false),f_expr:new kt("function",true),f_expr_gen:new kt("function",true,false,null,true),f_gen:new kt("function",false,false,null,true)};var St=nt.prototype;St.initialContext=function(){return[xt.b_stat]};St.braceIsBlock=function(E){var k=this.curContext();if(k===xt.f_expr||k===xt.f_stat){return true}if(E===Ce.colon&&(k===xt.b_stat||k===xt.b_expr)){return!k.isExpr}if(E===Ce._return||E===Ce.name&&this.exprAllowed){return Me.test(this.input.slice(this.lastTokEnd,this.start))}if(E===Ce._else||E===Ce.semi||E===Ce.eof||E===Ce.parenR||E===Ce.arrow){return true}if(E===Ce.braceL){return k===xt.b_stat}if(E===Ce._var||E===Ce._const||E===Ce.name){return false}return!this.exprAllowed};St.inGeneratorContext=function(){for(var E=this.context.length-1;E>=1;E--){var k=this.context[E];if(k.token==="function"){return k.generator}}return false};St.updateContext=function(E){var k,S=this.type;if(S.keyword&&E===Ce.dot){this.exprAllowed=false}else if(k=S.updateContext){k.call(this,E)}else{this.exprAllowed=S.beforeExpr}};Ce.parenR.updateContext=Ce.braceR.updateContext=function(){if(this.context.length===1){this.exprAllowed=true;return}var E=this.context.pop();if(E===xt.b_stat&&this.curContext().token==="function"){E=this.context.pop()}this.exprAllowed=!E.isExpr};Ce.braceL.updateContext=function(E){this.context.push(this.braceIsBlock(E)?xt.b_stat:xt.b_expr);this.exprAllowed=true};Ce.dollarBraceL.updateContext=function(){this.context.push(xt.b_tmpl);this.exprAllowed=true};Ce.parenL.updateContext=function(E){var k=E===Ce._if||E===Ce._for||E===Ce._with||E===Ce._while;this.context.push(k?xt.p_stat:xt.p_expr);this.exprAllowed=true};Ce.incDec.updateContext=function(){};Ce._function.updateContext=Ce._class.updateContext=function(E){if(E.beforeExpr&&E!==Ce.semi&&E!==Ce._else&&!(E===Ce._return&&Me.test(this.input.slice(this.lastTokEnd,this.start)))&&!((E===Ce.colon||E===Ce.braceL)&&this.curContext()===xt.b_stat)){this.context.push(xt.f_expr)}else{this.context.push(xt.f_stat)}this.exprAllowed=false};Ce.backQuote.updateContext=function(){if(this.curContext()===xt.q_tmpl){this.context.pop()}else{this.context.push(xt.q_tmpl)}this.exprAllowed=false};Ce.star.updateContext=function(E){if(E===Ce._function){var k=this.context.length-1;if(this.context[k]===xt.f_expr){this.context[k]=xt.f_expr_gen}else{this.context[k]=xt.f_gen}}this.exprAllowed=true};Ce.name.updateContext=function(E){var k=false;if(this.options.ecmaVersion>=6&&E!==Ce.dot){if(this.value==="of"&&!this.exprAllowed||this.value==="yield"&&this.inGeneratorContext()){k=true}}this.exprAllowed=k};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";var At=wt+" Extended_Pictographic";var Ct=At;var Dt={9:wt,10:At,11:Ct};var Mt="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";var Tt="Adlam Adlm Ahom 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 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";var It=Tt+" Dogra Dogr Gunjala_Gondi Gong Hanifi_Rohingya Rohg Makasar Maka Medefaidrin Medf Old_Sogdian Sogo Sogdian Sogd";var Pt=It+" Elymaic Elym Nandinagari Nand Nyiakeng_Puachue_Hmong Hmnp Wancho Wcho";var Ot={9:Tt,10:It,11:Pt};var Rt={};function buildUnicodeData(E){var k=Rt[E]={binary:wordsRegexp(Dt[E]+" "+Mt),nonBinary:{General_Category:wordsRegexp(Mt),Script:wordsRegexp(Ot[E])}};k.nonBinary.Script_Extensions=k.nonBinary.Script;k.nonBinary.gc=k.nonBinary.General_Category;k.nonBinary.sc=k.nonBinary.Script;k.nonBinary.scx=k.nonBinary.Script_Extensions}buildUnicodeData(9);buildUnicodeData(10);buildUnicodeData(11);var Ft=nt.prototype;var Nt=function RegExpValidationState(E){this.parser=E;this.validFlags="gim"+(E.options.ecmaVersion>=6?"uy":"")+(E.options.ecmaVersion>=9?"s":"");this.unicodeProperties=Rt[E.options.ecmaVersion>=11?11:E.options.ecmaVersion];this.source="";this.flags="";this.start=0;this.switchU=false;this.switchN=false;this.pos=0;this.lastIntValue=0;this.lastStringValue="";this.lastAssertionIsQuantifiable=false;this.numCapturingParens=0;this.maxBackReference=0;this.groupNames=[];this.backReferenceNames=[]};Nt.prototype.reset=function reset(E,k,S){var w=S.indexOf("u")!==-1;this.start=E|0;this.source=k+"";this.flags=S;this.switchU=w&&this.parser.options.ecmaVersion>=6;this.switchN=w&&this.parser.options.ecmaVersion>=9};Nt.prototype.raise=function raise(E){this.parser.raiseRecoverable(this.start,"Invalid regular expression: /"+this.source+"/: "+E)};Nt.prototype.at=function at(E,k){if(k===void 0)k=false;var S=this.source;var w=S.length;if(E>=w){return-1}var N=S.charCodeAt(E);if(!(k||this.switchU)||N<=55295||N>=57344||E+1>=w){return N}var j=S.charCodeAt(E+1);return j>=56320&&j<=57343?(N<<10)+j-56613888:N};Nt.prototype.nextIndex=function nextIndex(E,k){if(k===void 0)k=false;var S=this.source;var w=S.length;if(E>=w){return w}var N=S.charCodeAt(E),j;if(!(k||this.switchU)||N<=55295||N>=57344||E+1>=w||(j=S.charCodeAt(E+1))<56320||j>57343){return E+1}return E+2};Nt.prototype.current=function current(E){if(E===void 0)E=false;return this.at(this.pos,E)};Nt.prototype.lookahead=function lookahead(E){if(E===void 0)E=false;return this.at(this.nextIndex(this.pos,E),E)};Nt.prototype.advance=function advance(E){if(E===void 0)E=false;this.pos=this.nextIndex(this.pos,E)};Nt.prototype.eat=function eat(E,k){if(k===void 0)k=false;if(this.current(k)===E){this.advance(k);return true}return false};function codePointToString(E){if(E<=65535){return String.fromCharCode(E)}E-=65536;return String.fromCharCode((E>>10)+55296,(E&1023)+56320)}Ft.validateRegExpFlags=function(E){var k=E.validFlags;var S=E.flags;for(var w=0;w-1){this.raise(E.start,"Duplicate regular expression flag")}}};Ft.validateRegExpPattern=function(E){this.regexp_pattern(E);if(!E.switchN&&this.options.ecmaVersion>=9&&E.groupNames.length>0){E.switchN=true;this.regexp_pattern(E)}};Ft.regexp_pattern=function(E){E.pos=0;E.lastIntValue=0;E.lastStringValue="";E.lastAssertionIsQuantifiable=false;E.numCapturingParens=0;E.maxBackReference=0;E.groupNames.length=0;E.backReferenceNames.length=0;this.regexp_disjunction(E);if(E.pos!==E.source.length){if(E.eat(41)){E.raise("Unmatched ')'")}if(E.eat(93)||E.eat(125)){E.raise("Lone quantifier brackets")}}if(E.maxBackReference>E.numCapturingParens){E.raise("Invalid escape")}for(var k=0,S=E.backReferenceNames;k=9){S=E.eat(60)}if(E.eat(61)||E.eat(33)){this.regexp_disjunction(E);if(!E.eat(41)){E.raise("Unterminated group")}E.lastAssertionIsQuantifiable=!S;return true}}E.pos=k;return false};Ft.regexp_eatQuantifier=function(E,k){if(k===void 0)k=false;if(this.regexp_eatQuantifierPrefix(E,k)){E.eat(63);return true}return false};Ft.regexp_eatQuantifierPrefix=function(E,k){return E.eat(42)||E.eat(43)||E.eat(63)||this.regexp_eatBracedQuantifier(E,k)};Ft.regexp_eatBracedQuantifier=function(E,k){var S=E.pos;if(E.eat(123)){var w=0,N=-1;if(this.regexp_eatDecimalDigits(E)){w=E.lastIntValue;if(E.eat(44)&&this.regexp_eatDecimalDigits(E)){N=E.lastIntValue}if(E.eat(125)){if(N!==-1&&N=9){this.regexp_groupSpecifier(E)}else if(E.current()===63){E.raise("Invalid group")}this.regexp_disjunction(E);if(E.eat(41)){E.numCapturingParens+=1;return true}E.raise("Unterminated group")}return false};Ft.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)};Ft.regexp_eatInvalidBracedQuantifier=function(E){if(this.regexp_eatBracedQuantifier(E,true)){E.raise("Nothing to repeat")}return false};Ft.regexp_eatSyntaxCharacter=function(E){var k=E.current();if(isSyntaxCharacter(k)){E.lastIntValue=k;E.advance();return true}return false};function isSyntaxCharacter(E){return E===36||E>=40&&E<=43||E===46||E===63||E>=91&&E<=94||E>=123&&E<=125}Ft.regexp_eatPatternCharacters=function(E){var k=E.pos;var S=0;while((S=E.current())!==-1&&!isSyntaxCharacter(S)){E.advance()}return E.pos!==k};Ft.regexp_eatExtendedPatternCharacter=function(E){var k=E.current();if(k!==-1&&k!==36&&!(k>=40&&k<=43)&&k!==46&&k!==63&&k!==91&&k!==94&&k!==124){E.advance();return true}return false};Ft.regexp_groupSpecifier=function(E){if(E.eat(63)){if(this.regexp_eatGroupName(E)){if(E.groupNames.indexOf(E.lastStringValue)!==-1){E.raise("Duplicate capture group name")}E.groupNames.push(E.lastStringValue);return}E.raise("Invalid group")}};Ft.regexp_eatGroupName=function(E){E.lastStringValue="";if(E.eat(60)){if(this.regexp_eatRegExpIdentifierName(E)&&E.eat(62)){return true}E.raise("Invalid capture group name")}return false};Ft.regexp_eatRegExpIdentifierName=function(E){E.lastStringValue="";if(this.regexp_eatRegExpIdentifierStart(E)){E.lastStringValue+=codePointToString(E.lastIntValue);while(this.regexp_eatRegExpIdentifierPart(E)){E.lastStringValue+=codePointToString(E.lastIntValue)}return true}return false};Ft.regexp_eatRegExpIdentifierStart=function(E){var k=E.pos;var S=this.options.ecmaVersion>=11;var w=E.current(S);E.advance(S);if(w===92&&this.regexp_eatRegExpUnicodeEscapeSequence(E,S)){w=E.lastIntValue}if(isRegExpIdentifierStart(w)){E.lastIntValue=w;return true}E.pos=k;return false};function isRegExpIdentifierStart(E){return isIdentifierStart(E,true)||E===36||E===95}Ft.regexp_eatRegExpIdentifierPart=function(E){var k=E.pos;var S=this.options.ecmaVersion>=11;var w=E.current(S);E.advance(S);if(w===92&&this.regexp_eatRegExpUnicodeEscapeSequence(E,S)){w=E.lastIntValue}if(isRegExpIdentifierPart(w)){E.lastIntValue=w;return true}E.pos=k;return false};function isRegExpIdentifierPart(E){return isIdentifierChar(E,true)||E===36||E===95||E===8204||E===8205}Ft.regexp_eatAtomEscape=function(E){if(this.regexp_eatBackReference(E)||this.regexp_eatCharacterClassEscape(E)||this.regexp_eatCharacterEscape(E)||E.switchN&&this.regexp_eatKGroupName(E)){return true}if(E.switchU){if(E.current()===99){E.raise("Invalid unicode escape")}E.raise("Invalid escape")}return false};Ft.regexp_eatBackReference=function(E){var k=E.pos;if(this.regexp_eatDecimalEscape(E)){var S=E.lastIntValue;if(E.switchU){if(S>E.maxBackReference){E.maxBackReference=S}return true}if(S<=E.numCapturingParens){return true}E.pos=k}return false};Ft.regexp_eatKGroupName=function(E){if(E.eat(107)){if(this.regexp_eatGroupName(E)){E.backReferenceNames.push(E.lastStringValue);return true}E.raise("Invalid named reference")}return false};Ft.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,false)||!E.switchU&&this.regexp_eatLegacyOctalEscapeSequence(E)||this.regexp_eatIdentityEscape(E)};Ft.regexp_eatCControlLetter=function(E){var k=E.pos;if(E.eat(99)){if(this.regexp_eatControlLetter(E)){return true}E.pos=k}return false};Ft.regexp_eatZero=function(E){if(E.current()===48&&!isDecimalDigit(E.lookahead())){E.lastIntValue=0;E.advance();return true}return false};Ft.regexp_eatControlEscape=function(E){var k=E.current();if(k===116){E.lastIntValue=9;E.advance();return true}if(k===110){E.lastIntValue=10;E.advance();return true}if(k===118){E.lastIntValue=11;E.advance();return true}if(k===102){E.lastIntValue=12;E.advance();return true}if(k===114){E.lastIntValue=13;E.advance();return true}return false};Ft.regexp_eatControlLetter=function(E){var k=E.current();if(isControlLetter(k)){E.lastIntValue=k%32;E.advance();return true}return false};function isControlLetter(E){return E>=65&&E<=90||E>=97&&E<=122}Ft.regexp_eatRegExpUnicodeEscapeSequence=function(E,k){if(k===void 0)k=false;var S=E.pos;var w=k||E.switchU;if(E.eat(117)){if(this.regexp_eatFixedHexDigits(E,4)){var N=E.lastIntValue;if(w&&N>=55296&&N<=56319){var j=E.pos;if(E.eat(92)&&E.eat(117)&&this.regexp_eatFixedHexDigits(E,4)){var q=E.lastIntValue;if(q>=56320&&q<=57343){E.lastIntValue=(N-55296)*1024+(q-56320)+65536;return true}}E.pos=j;E.lastIntValue=N}return true}if(w&&E.eat(123)&&this.regexp_eatHexDigits(E)&&E.eat(125)&&isValidUnicode(E.lastIntValue)){return true}if(w){E.raise("Invalid unicode escape")}E.pos=S}return false};function isValidUnicode(E){return E>=0&&E<=1114111}Ft.regexp_eatIdentityEscape=function(E){if(E.switchU){if(this.regexp_eatSyntaxCharacter(E)){return true}if(E.eat(47)){E.lastIntValue=47;return true}return false}var k=E.current();if(k!==99&&(!E.switchN||k!==107)){E.lastIntValue=k;E.advance();return true}return false};Ft.regexp_eatDecimalEscape=function(E){E.lastIntValue=0;var k=E.current();if(k>=49&&k<=57){do{E.lastIntValue=10*E.lastIntValue+(k-48);E.advance()}while((k=E.current())>=48&&k<=57);return true}return false};Ft.regexp_eatCharacterClassEscape=function(E){var k=E.current();if(isCharacterClassEscape(k)){E.lastIntValue=-1;E.advance();return true}if(E.switchU&&this.options.ecmaVersion>=9&&(k===80||k===112)){E.lastIntValue=-1;E.advance();if(E.eat(123)&&this.regexp_eatUnicodePropertyValueExpression(E)&&E.eat(125)){return true}E.raise("Invalid property name")}return false};function isCharacterClassEscape(E){return E===100||E===68||E===115||E===83||E===119||E===87}Ft.regexp_eatUnicodePropertyValueExpression=function(E){var k=E.pos;if(this.regexp_eatUnicodePropertyName(E)&&E.eat(61)){var S=E.lastStringValue;if(this.regexp_eatUnicodePropertyValue(E)){var w=E.lastStringValue;this.regexp_validateUnicodePropertyNameAndValue(E,S,w);return true}}E.pos=k;if(this.regexp_eatLoneUnicodePropertyNameOrValue(E)){var N=E.lastStringValue;this.regexp_validateUnicodePropertyNameOrValue(E,N);return true}return false};Ft.regexp_validateUnicodePropertyNameAndValue=function(E,k,S){if(!has(E.unicodeProperties.nonBinary,k)){E.raise("Invalid property name")}if(!E.unicodeProperties.nonBinary[k].test(S)){E.raise("Invalid property value")}};Ft.regexp_validateUnicodePropertyNameOrValue=function(E,k){if(!E.unicodeProperties.binary.test(k)){E.raise("Invalid property name")}};Ft.regexp_eatUnicodePropertyName=function(E){var k=0;E.lastStringValue="";while(isUnicodePropertyNameCharacter(k=E.current())){E.lastStringValue+=codePointToString(k);E.advance()}return E.lastStringValue!==""};function isUnicodePropertyNameCharacter(E){return isControlLetter(E)||E===95}Ft.regexp_eatUnicodePropertyValue=function(E){var k=0;E.lastStringValue="";while(isUnicodePropertyValueCharacter(k=E.current())){E.lastStringValue+=codePointToString(k);E.advance()}return E.lastStringValue!==""};function isUnicodePropertyValueCharacter(E){return isUnicodePropertyNameCharacter(E)||isDecimalDigit(E)}Ft.regexp_eatLoneUnicodePropertyNameOrValue=function(E){return this.regexp_eatUnicodePropertyValue(E)};Ft.regexp_eatCharacterClass=function(E){if(E.eat(91)){E.eat(94);this.regexp_classRanges(E);if(E.eat(93)){return true}E.raise("Unterminated character class")}return false};Ft.regexp_classRanges=function(E){while(this.regexp_eatClassAtom(E)){var k=E.lastIntValue;if(E.eat(45)&&this.regexp_eatClassAtom(E)){var S=E.lastIntValue;if(E.switchU&&(k===-1||S===-1)){E.raise("Invalid character class")}if(k!==-1&&S!==-1&&k>S){E.raise("Range out of order in character class")}}}};Ft.regexp_eatClassAtom=function(E){var k=E.pos;if(E.eat(92)){if(this.regexp_eatClassEscape(E)){return true}if(E.switchU){var S=E.current();if(S===99||isOctalDigit(S)){E.raise("Invalid class escape")}E.raise("Invalid escape")}E.pos=k}var w=E.current();if(w!==93){E.lastIntValue=w;E.advance();return true}return false};Ft.regexp_eatClassEscape=function(E){var k=E.pos;if(E.eat(98)){E.lastIntValue=8;return true}if(E.switchU&&E.eat(45)){E.lastIntValue=45;return true}if(!E.switchU&&E.eat(99)){if(this.regexp_eatClassControlLetter(E)){return true}E.pos=k}return this.regexp_eatCharacterClassEscape(E)||this.regexp_eatCharacterEscape(E)};Ft.regexp_eatClassControlLetter=function(E){var k=E.current();if(isDecimalDigit(k)||k===95){E.lastIntValue=k%32;E.advance();return true}return false};Ft.regexp_eatHexEscapeSequence=function(E){var k=E.pos;if(E.eat(120)){if(this.regexp_eatFixedHexDigits(E,2)){return true}if(E.switchU){E.raise("Invalid escape")}E.pos=k}return false};Ft.regexp_eatDecimalDigits=function(E){var k=E.pos;var S=0;E.lastIntValue=0;while(isDecimalDigit(S=E.current())){E.lastIntValue=10*E.lastIntValue+(S-48);E.advance()}return E.pos!==k};function isDecimalDigit(E){return E>=48&&E<=57}Ft.regexp_eatHexDigits=function(E){var k=E.pos;var S=0;E.lastIntValue=0;while(isHexDigit(S=E.current())){E.lastIntValue=16*E.lastIntValue+hexToInt(S);E.advance()}return E.pos!==k};function isHexDigit(E){return E>=48&&E<=57||E>=65&&E<=70||E>=97&&E<=102}function hexToInt(E){if(E>=65&&E<=70){return 10+(E-65)}if(E>=97&&E<=102){return 10+(E-97)}return E-48}Ft.regexp_eatLegacyOctalEscapeSequence=function(E){if(this.regexp_eatOctalDigit(E)){var k=E.lastIntValue;if(this.regexp_eatOctalDigit(E)){var S=E.lastIntValue;if(k<=3&&this.regexp_eatOctalDigit(E)){E.lastIntValue=k*64+S*8+E.lastIntValue}else{E.lastIntValue=k*8+S}}else{E.lastIntValue=k}return true}return false};Ft.regexp_eatOctalDigit=function(E){var k=E.current();if(isOctalDigit(k)){E.lastIntValue=k-48;E.advance();return true}E.lastIntValue=0;return false};function isOctalDigit(E){return E>=48&&E<=55}Ft.regexp_eatFixedHexDigits=function(E,k){var S=E.pos;E.lastIntValue=0;for(var w=0;w=this.input.length){return this.finishToken(Ce.eof)}if(E.override){return E.override(this)}else{this.readToken(this.fullCharCodeAtPos())}};Lt.readToken=function(E){if(isIdentifierStart(E,this.options.ecmaVersion>=6)||E===92){return this.readWord()}return this.getTokenFromCode(E)};Lt.fullCharCodeAtPos=function(){var E=this.input.charCodeAt(this.pos);if(E<=55295||E>=57344){return E}var k=this.input.charCodeAt(this.pos+1);return(E<<10)+k-56613888};Lt.skipBlockComment=function(){var E=this.options.onComment&&this.curPosition();var k=this.pos,S=this.input.indexOf("*/",this.pos+=2);if(S===-1){this.raise(this.pos-2,"Unterminated comment")}this.pos=S+2;if(this.options.locations){Te.lastIndex=k;var w;while((w=Te.exec(this.input))&&w.index8&&E<14||E>=5760&&Ie.test(String.fromCharCode(E))){++this.pos}else{break e}}}};Lt.finishToken=function(E,k){this.end=this.pos;if(this.options.locations){this.endLoc=this.curPosition()}var S=this.type;this.type=E;this.value=k;this.updateContext(S)};Lt.readToken_dot=function(){var E=this.input.charCodeAt(this.pos+1);if(E>=48&&E<=57){return this.readNumber(true)}var k=this.input.charCodeAt(this.pos+2);if(this.options.ecmaVersion>=6&&E===46&&k===46){this.pos+=3;return this.finishToken(Ce.ellipsis)}else{++this.pos;return this.finishToken(Ce.dot)}};Lt.readToken_slash=function(){var E=this.input.charCodeAt(this.pos+1);if(this.exprAllowed){++this.pos;return this.readRegexp()}if(E===61){return this.finishOp(Ce.assign,2)}return this.finishOp(Ce.slash,1)};Lt.readToken_mult_modulo_exp=function(E){var k=this.input.charCodeAt(this.pos+1);var S=1;var w=E===42?Ce.star:Ce.modulo;if(this.options.ecmaVersion>=7&&E===42&&k===42){++S;w=Ce.starstar;k=this.input.charCodeAt(this.pos+2)}if(k===61){return this.finishOp(Ce.assign,S+1)}return this.finishOp(w,S)};Lt.readToken_pipe_amp=function(E){var k=this.input.charCodeAt(this.pos+1);if(k===E){if(this.options.ecmaVersion>=12){var S=this.input.charCodeAt(this.pos+2);if(S===61){return this.finishOp(Ce.assign,3)}}return this.finishOp(E===124?Ce.logicalOR:Ce.logicalAND,2)}if(k===61){return this.finishOp(Ce.assign,2)}return this.finishOp(E===124?Ce.bitwiseOR:Ce.bitwiseAND,1)};Lt.readToken_caret=function(){var E=this.input.charCodeAt(this.pos+1);if(E===61){return this.finishOp(Ce.assign,2)}return this.finishOp(Ce.bitwiseXOR,1)};Lt.readToken_plus_min=function(E){var k=this.input.charCodeAt(this.pos+1);if(k===E){if(k===45&&!this.inModule&&this.input.charCodeAt(this.pos+2)===62&&(this.lastTokEnd===0||Me.test(this.input.slice(this.lastTokEnd,this.pos)))){this.skipLineComment(3);this.skipSpace();return this.nextToken()}return this.finishOp(Ce.incDec,2)}if(k===61){return this.finishOp(Ce.assign,2)}return this.finishOp(Ce.plusMin,1)};Lt.readToken_lt_gt=function(E){var k=this.input.charCodeAt(this.pos+1);var S=1;if(k===E){S=E===62&&this.input.charCodeAt(this.pos+2)===62?3:2;if(this.input.charCodeAt(this.pos+S)===61){return this.finishOp(Ce.assign,S+1)}return this.finishOp(Ce.bitShift,S)}if(k===33&&E===60&&!this.inModule&&this.input.charCodeAt(this.pos+2)===45&&this.input.charCodeAt(this.pos+3)===45){this.skipLineComment(4);this.skipSpace();return this.nextToken()}if(k===61){S=2}return this.finishOp(Ce.relational,S)};Lt.readToken_eq_excl=function(E){var k=this.input.charCodeAt(this.pos+1);if(k===61){return this.finishOp(Ce.equality,this.input.charCodeAt(this.pos+2)===61?3:2)}if(E===61&&k===62&&this.options.ecmaVersion>=6){this.pos+=2;return this.finishToken(Ce.arrow)}return this.finishOp(E===61?Ce.eq:Ce.prefix,1)};Lt.readToken_question=function(){var E=this.options.ecmaVersion;if(E>=11){var k=this.input.charCodeAt(this.pos+1);if(k===46){var S=this.input.charCodeAt(this.pos+2);if(S<48||S>57){return this.finishOp(Ce.questionDot,2)}}if(k===63){if(E>=12){var w=this.input.charCodeAt(this.pos+2);if(w===61){return this.finishOp(Ce.assign,3)}}return this.finishOp(Ce.coalesce,2)}}return this.finishOp(Ce.question,1)};Lt.getTokenFromCode=function(E){switch(E){case 46:return this.readToken_dot();case 40:++this.pos;return this.finishToken(Ce.parenL);case 41:++this.pos;return this.finishToken(Ce.parenR);case 59:++this.pos;return this.finishToken(Ce.semi);case 44:++this.pos;return this.finishToken(Ce.comma);case 91:++this.pos;return this.finishToken(Ce.bracketL);case 93:++this.pos;return this.finishToken(Ce.bracketR);case 123:++this.pos;return this.finishToken(Ce.braceL);case 125:++this.pos;return this.finishToken(Ce.braceR);case 58:++this.pos;return this.finishToken(Ce.colon);case 96:if(this.options.ecmaVersion<6){break}++this.pos;return this.finishToken(Ce.backQuote);case 48:var k=this.input.charCodeAt(this.pos+1);if(k===120||k===88){return this.readRadixNumber(16)}if(this.options.ecmaVersion>=6){if(k===111||k===79){return this.readRadixNumber(8)}if(k===98||k===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(false);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(Ce.prefix,1)}this.raise(this.pos,"Unexpected character '"+codePointToString$1(E)+"'")};Lt.finishOp=function(E,k){var S=this.input.slice(this.pos,this.pos+k);this.pos+=k;return this.finishToken(E,S)};Lt.readRegexp=function(){var E,k,S=this.pos;for(;;){if(this.pos>=this.input.length){this.raise(S,"Unterminated regular expression")}var w=this.input.charAt(this.pos);if(Me.test(w)){this.raise(S,"Unterminated regular expression")}if(!E){if(w==="["){k=true}else if(w==="]"&&k){k=false}else if(w==="/"&&!k){break}E=w==="\\"}else{E=false}++this.pos}var N=this.input.slice(S,this.pos);++this.pos;var j=this.pos;var q=this.readWord1();if(this.containsEsc){this.unexpected(j)}var ee=this.regexpState||(this.regexpState=new Nt(this));ee.reset(S,N,q);this.validateRegExpFlags(ee);this.validateRegExpPattern(ee);var te=null;try{te=new RegExp(N,q)}catch(E){}return this.finishToken(Ce.regexp,{pattern:N,flags:q,value:te})};Lt.readInt=function(E,k,S){var w=this.options.ecmaVersion>=12&&k===undefined;var N=S&&this.input.charCodeAt(this.pos)===48;var j=this.pos,q=0,ee=0;for(var te=0,ne=k==null?Infinity:k;te=97){_e=ae-97+10}else if(ae>=65){_e=ae-65+10}else if(ae>=48&&ae<=57){_e=ae-48}else{_e=Infinity}if(_e>=E){break}ee=ae;q=q*E+_e}if(w&&ee===95){this.raiseRecoverable(this.pos-1,"Numeric separator is not allowed at the last of digits")}if(this.pos===j||k!=null&&this.pos-j!==k){return null}return q};function stringToNumber(E,k){if(k){return parseInt(E,8)}return parseFloat(E.replace(/_/g,""))}function stringToBigInt(E){if(typeof BigInt!=="function"){return null}return BigInt(E.replace(/_/g,""))}Lt.readRadixNumber=function(E){var k=this.pos;this.pos+=2;var S=this.readInt(E);if(S==null){this.raise(this.start+2,"Expected number in radix "+E)}if(this.options.ecmaVersion>=11&&this.input.charCodeAt(this.pos)===110){S=stringToBigInt(this.input.slice(k,this.pos));++this.pos}else if(isIdentifierStart(this.fullCharCodeAtPos())){this.raise(this.pos,"Identifier directly after number")}return this.finishToken(Ce.num,S)};Lt.readNumber=function(E){var k=this.pos;if(!E&&this.readInt(10,undefined,true)===null){this.raise(k,"Invalid number")}var S=this.pos-k>=2&&this.input.charCodeAt(k)===48;if(S&&this.strict){this.raise(k,"Invalid number")}var w=this.input.charCodeAt(this.pos);if(!S&&!E&&this.options.ecmaVersion>=11&&w===110){var N=stringToBigInt(this.input.slice(k,this.pos));++this.pos;if(isIdentifierStart(this.fullCharCodeAtPos())){this.raise(this.pos,"Identifier directly after number")}return this.finishToken(Ce.num,N)}if(S&&/[89]/.test(this.input.slice(k,this.pos))){S=false}if(w===46&&!S){++this.pos;this.readInt(10);w=this.input.charCodeAt(this.pos)}if((w===69||w===101)&&!S){w=this.input.charCodeAt(++this.pos);if(w===43||w===45){++this.pos}if(this.readInt(10)===null){this.raise(k,"Invalid number")}}if(isIdentifierStart(this.fullCharCodeAtPos())){this.raise(this.pos,"Identifier directly after number")}var j=stringToNumber(this.input.slice(k,this.pos),S);return this.finishToken(Ce.num,j)};Lt.readCodePoint=function(){var E=this.input.charCodeAt(this.pos),k;if(E===123){if(this.options.ecmaVersion<6){this.unexpected()}var S=++this.pos;k=this.readHexChar(this.input.indexOf("}",this.pos)-this.pos);++this.pos;if(k>1114111){this.invalidStringToken(S,"Code point out of bounds")}}else{k=this.readHexChar(4)}return k};function codePointToString$1(E){if(E<=65535){return String.fromCharCode(E)}E-=65536;return String.fromCharCode((E>>10)+55296,(E&1023)+56320)}Lt.readString=function(E){var k="",S=++this.pos;for(;;){if(this.pos>=this.input.length){this.raise(this.start,"Unterminated string constant")}var w=this.input.charCodeAt(this.pos);if(w===E){break}if(w===92){k+=this.input.slice(S,this.pos);k+=this.readEscapedChar(false);S=this.pos}else{if(isNewLine(w,this.options.ecmaVersion>=10)){this.raise(this.start,"Unterminated string constant")}++this.pos}}k+=this.input.slice(S,this.pos++);return this.finishToken(Ce.string,k)};var jt={};Lt.tryReadTemplateToken=function(){this.inTemplateElement=true;try{this.readTmplToken()}catch(E){if(E===jt){this.readInvalidTemplateToken()}else{throw E}}this.inTemplateElement=false};Lt.invalidStringToken=function(E,k){if(this.inTemplateElement&&this.options.ecmaVersion>=9){throw jt}else{this.raise(E,k)}};Lt.readTmplToken=function(){var E="",k=this.pos;for(;;){if(this.pos>=this.input.length){this.raise(this.start,"Unterminated template")}var S=this.input.charCodeAt(this.pos);if(S===96||S===36&&this.input.charCodeAt(this.pos+1)===123){if(this.pos===this.start&&(this.type===Ce.template||this.type===Ce.invalidTemplate)){if(S===36){this.pos+=2;return this.finishToken(Ce.dollarBraceL)}else{++this.pos;return this.finishToken(Ce.backQuote)}}E+=this.input.slice(k,this.pos);return this.finishToken(Ce.template,E)}if(S===92){E+=this.input.slice(k,this.pos);E+=this.readEscapedChar(true);k=this.pos}else if(isNewLine(S)){E+=this.input.slice(k,this.pos);++this.pos;switch(S){case 13:if(this.input.charCodeAt(this.pos)===10){++this.pos}case 10:E+="\n";break;default:E+=String.fromCharCode(S);break}if(this.options.locations){++this.curLine;this.lineStart=this.pos}k=this.pos}else{++this.pos}}};Lt.readInvalidTemplateToken=function(){for(;this.pos=48&&k<=55){var w=this.input.substr(this.pos-1,3).match(/^[0-7]+/)[0];var N=parseInt(w,8);if(N>255){w=w.slice(0,-1);N=parseInt(w,8)}this.pos+=w.length-1;k=this.input.charCodeAt(this.pos);if((w!=="0"||k===56||k===57)&&(this.strict||E)){this.invalidStringToken(this.pos-1-w.length,E?"Octal literal in template string":"Octal literal in strict mode")}return String.fromCharCode(N)}if(isNewLine(k)){return""}return String.fromCharCode(k)}};Lt.readHexChar=function(E){var k=this.pos;var S=this.readInt(16,E);if(S===null){this.invalidStringToken(k,"Bad character escape sequence")}return S};Lt.readWord1=function(){this.containsEsc=false;var E="",k=true,S=this.pos;var w=this.options.ecmaVersion>=6;while(this.pos{"use strict";var w=S(62310);E.exports=defineKeywords;function defineKeywords(E,k){if(Array.isArray(k)){for(var S=0;S{"use strict";var w=/^(\d\d):(\d\d):(\d\d)(\.\d+)?(z|[+-]\d\d:\d\d)?$/i;var N=/t|\s/i;var j={date:compareDate,time:compareTime,"date-time":compareDateTime};var q={type:"object",required:["$data"],properties:{$data:{type:"string",anyOf:[{format:"relative-json-pointer"},{format:"json-pointer"}]}},additionalProperties:false};E.exports=function(E){var k="format"+E;return function defFunc(w){defFunc.definition={type:"string",inline:S(2543),statements:true,errors:"full",dependencies:["format"],metaSchema:{anyOf:[{type:"string"},q]}};w.addKeyword(k,defFunc.definition);w.addKeyword("formatExclusive"+E,{dependencies:["format"+E],metaSchema:{anyOf:[{type:"boolean"},q]}});extendFormats(w);return w}};function extendFormats(E){var k=E._formats;for(var S in j){var w=k[S];if(typeof w!="object"||w instanceof RegExp||!w.validate)w=k[S]={validate:w};if(!w.compare)w.compare=j[S]}}function compareDate(E,k){if(!(E&&k))return;if(E>k)return 1;if(Ek)return 1;if(E{"use strict";E.exports={metaSchemaRef:metaSchemaRef};var k="http://json-schema.org/draft-07/schema";function metaSchemaRef(E){var S=E._opts.defaultMeta;if(typeof S=="string")return{$ref:S};if(E.getSchema(k))return{$ref:k};console.warn("meta schema not defined");return{}}},96216:E=>{"use strict";E.exports=function defFunc(E){defFunc.definition={type:"object",macro:function(E,k){if(!E)return true;var S=Object.keys(k.properties);if(S.length==0)return true;return{required:S}},metaSchema:{type:"boolean"},dependencies:["properties"]};E.addKeyword("allRequired",defFunc.definition);return E}},1611:E=>{"use strict";E.exports=function defFunc(E){defFunc.definition={type:"object",macro:function(E){if(E.length==0)return true;if(E.length==1)return{required:E};var k=E.map((function(E){return{required:[E]}}));return{anyOf:k}},metaSchema:{type:"array",items:{type:"string"}}};E.addKeyword("anyRequired",defFunc.definition);return E}},49494:(E,k,S)=>{"use strict";var w=S(54630);E.exports=function defFunc(E){defFunc.definition={type:"object",macro:function(E){var k=[];for(var S in E)k.push(getSchema(S,E[S]));return{allOf:k}},metaSchema:{type:"object",propertyNames:{type:"string",format:"json-pointer"},additionalProperties:w.metaSchemaRef(E)}};E.addKeyword("deepProperties",defFunc.definition);return E};function getSchema(E,k){var S=E.split("/");var w={};var N=w;for(var j=1;j{"use strict";E.exports=function defFunc(E){defFunc.definition={type:"object",inline:function(E,k,S){var w="";for(var N=0;N{"use strict";E.exports=function generate__formatLimit(E,k,S){var w=" ";var N=E.level;var j=E.dataLevel;var q=E.schema[k];var ee=E.schemaPath+E.util.getProperty(k);var te=E.errSchemaPath+"/"+k;var ne=!E.opts.allErrors;var ae;var _e="data"+(j||"");var ve="valid"+N;w+="var "+ve+" = undefined;";if(E.opts.format===false){w+=" "+ve+" = true; ";return w}var Ee=E.schema.format,we=E.opts.$data&&Ee.$data,Ce="";if(we){var Me=E.util.getData(Ee.$data,j,E.dataPathArr),Te="format"+N,Ie="compare"+N;w+=" var "+Te+" = formats["+Me+"] , "+Ie+" = "+Te+" && "+Te+".compare;"}else{var Te=E.formats[Ee];if(!(Te&&Te.compare)){w+=" "+ve+" = true; ";return w}var Ie="formats"+E.util.getProperty(Ee)+".compare"}var Oe=k=="formatMaximum",Re="formatExclusive"+(Oe?"Maximum":"Minimum"),Fe=E.schema[Re],Ne=E.opts.$data&&Fe&&Fe.$data,Be=Oe?"<":">",Le="result"+N;var je=E.opts.$data&&q&&q.$data,$e;if(je){w+=" var schema"+N+" = "+E.util.getData(q.$data,j,E.dataPathArr)+"; ";$e="schema"+N}else{$e=q}if(Ne){var ze=E.util.getData(Fe.$data,j,E.dataPathArr),Ue="exclusive"+N,Ge="op"+N,qe="' + "+Ge+" + '";w+=" var schemaExcl"+N+" = "+ze+"; ";ze="schemaExcl"+N;w+=" if (typeof "+ze+" != 'boolean' && "+ze+" !== undefined) { "+ve+" = false; ";var ae=Re;var Ve=Ve||[];Ve.push(w);w="";if(E.createErrors!==false){w+=" { keyword: '"+(ae||"_formatExclusiveLimit")+"' , dataPath: (dataPath || '') + "+E.errorPath+" , schemaPath: "+E.util.toQuotedString(te)+" , params: {} ";if(E.opts.messages!==false){w+=" , message: '"+Re+" should be boolean' "}if(E.opts.verbose){w+=" , schema: validate.schema"+ee+" , parentSchema: validate.schema"+E.schemaPath+" , data: "+_e+" "}w+=" } "}else{w+=" {} "}var He=w;w=Ve.pop();if(!E.compositeRule&&ne){if(E.async){w+=" throw new ValidationError(["+He+"]); "}else{w+=" validate.errors = ["+He+"]; return false; "}}else{w+=" var err = "+He+"; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; "}w+=" } ";if(ne){Ce+="}";w+=" else { "}if(je){w+=" if ("+$e+" === undefined) "+ve+" = true; else if (typeof "+$e+" != 'string') "+ve+" = false; else { ";Ce+="}"}if(we){w+=" if (!"+Ie+") "+ve+" = true; else { ";Ce+="}"}w+=" var "+Le+" = "+Ie+"("+_e+", ";if(je){w+=""+$e}else{w+=""+E.util.toQuotedString(q)}w+=" ); if ("+Le+" === undefined) "+ve+" = false; var "+Ue+" = "+ze+" === true; if ("+ve+" === undefined) { "+ve+" = "+Ue+" ? "+Le+" "+Be+" 0 : "+Le+" "+Be+"= 0; } if (!"+ve+") var op"+N+" = "+Ue+" ? '"+Be+"' : '"+Be+"=';"}else{var Ue=Fe===true,qe=Be;if(!Ue)qe+="=";var Ge="'"+qe+"'";if(je){w+=" if ("+$e+" === undefined) "+ve+" = true; else if (typeof "+$e+" != 'string') "+ve+" = false; else { ";Ce+="}"}if(we){w+=" if (!"+Ie+") "+ve+" = true; else { ";Ce+="}"}w+=" var "+Le+" = "+Ie+"("+_e+", ";if(je){w+=""+$e}else{w+=""+E.util.toQuotedString(q)}w+=" ); if ("+Le+" === undefined) "+ve+" = false; if ("+ve+" === undefined) "+ve+" = "+Le+" "+Be;if(!Ue){w+="="}w+=" 0;"}w+=""+Ce+"if (!"+ve+") { ";var ae=k;var Ve=Ve||[];Ve.push(w);w="";if(E.createErrors!==false){w+=" { keyword: '"+(ae||"_formatLimit")+"' , dataPath: (dataPath || '') + "+E.errorPath+" , schemaPath: "+E.util.toQuotedString(te)+" , params: { comparison: "+Ge+", limit: ";if(je){w+=""+$e}else{w+=""+E.util.toQuotedString(q)}w+=" , exclusive: "+Ue+" } ";if(E.opts.messages!==false){w+=" , message: 'should be "+qe+' "';if(je){w+="' + "+$e+" + '"}else{w+=""+E.util.escapeQuotes(q)}w+="\"' "}if(E.opts.verbose){w+=" , schema: ";if(je){w+="validate.schema"+ee}else{w+=""+E.util.toQuotedString(q)}w+=" , parentSchema: validate.schema"+E.schemaPath+" , data: "+_e+" "}w+=" } "}else{w+=" {} "}var He=w;w=Ve.pop();if(!E.compositeRule&&ne){if(E.async){w+=" throw new ValidationError(["+He+"]); "}else{w+=" validate.errors = ["+He+"]; return false; "}}else{w+=" var err = "+He+"; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; "}w+="}";return w}},98632:E=>{"use strict";E.exports=function generate_patternRequired(E,k,S){var w=" ";var N=E.level;var j=E.dataLevel;var q=E.schema[k];var ee=E.schemaPath+E.util.getProperty(k);var te=E.errSchemaPath+"/"+k;var ne=!E.opts.allErrors;var ae="data"+(j||"");var _e="valid"+N;var ve="key"+N,Ee="idx"+N,we="patternMatched"+N,Ce="dataProperties"+N,Me="",Te=E.opts.ownProperties;w+="var "+_e+" = true;";if(Te){w+=" var "+Ce+" = undefined;"}var Ie=q;if(Ie){var Oe,Re=-1,Fe=Ie.length-1;while(Re{"use strict";E.exports=function generate_switch(E,k,S){var w=" ";var N=E.level;var j=E.dataLevel;var q=E.schema[k];var ee=E.schemaPath+E.util.getProperty(k);var te=E.errSchemaPath+"/"+k;var ne=!E.opts.allErrors;var ae="data"+(j||"");var _e="valid"+N;var ve="errs__"+N;var Ee=E.util.copy(E);var we="";Ee.level++;var Ce="valid"+Ee.level;var Me="ifPassed"+E.level,Te=Ee.baseId,Ie;w+="var "+Me+";";var Oe=q;if(Oe){var Re,Fe=-1,Ne=Oe.length-1;while(Fe0:E.util.schemaHasRules(Re.if,E.RULES.all))){w+=" var "+ve+" = errors; ";var Be=E.compositeRule;E.compositeRule=Ee.compositeRule=true;Ee.createErrors=false;Ee.schema=Re.if;Ee.schemaPath=ee+"["+Fe+"].if";Ee.errSchemaPath=te+"/"+Fe+"/if";w+=" "+E.validate(Ee)+" ";Ee.baseId=Te;Ee.createErrors=true;E.compositeRule=Ee.compositeRule=Be;w+=" "+Me+" = "+Ce+"; if ("+Me+") { ";if(typeof Re.then=="boolean"){if(Re.then===false){var Le=Le||[];Le.push(w);w="";if(E.createErrors!==false){w+=" { keyword: '"+"switch"+"' , dataPath: (dataPath || '') + "+E.errorPath+" , schemaPath: "+E.util.toQuotedString(te)+" , params: { caseIndex: "+Fe+" } ";if(E.opts.messages!==false){w+=" , message: 'should pass \"switch\" keyword validation' "}if(E.opts.verbose){w+=" , schema: validate.schema"+ee+" , parentSchema: validate.schema"+E.schemaPath+" , data: "+ae+" "}w+=" } "}else{w+=" {} "}var je=w;w=Le.pop();if(!E.compositeRule&&ne){if(E.async){w+=" throw new ValidationError(["+je+"]); "}else{w+=" validate.errors = ["+je+"]; return false; "}}else{w+=" var err = "+je+"; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; "}}w+=" var "+Ce+" = "+Re.then+"; "}else{Ee.schema=Re.then;Ee.schemaPath=ee+"["+Fe+"].then";Ee.errSchemaPath=te+"/"+Fe+"/then";w+=" "+E.validate(Ee)+" ";Ee.baseId=Te}w+=" } else { errors = "+ve+"; if (vErrors !== null) { if ("+ve+") vErrors.length = "+ve+"; else vErrors = null; } } "}else{w+=" "+Me+" = true; ";if(typeof Re.then=="boolean"){if(Re.then===false){var Le=Le||[];Le.push(w);w="";if(E.createErrors!==false){w+=" { keyword: '"+"switch"+"' , dataPath: (dataPath || '') + "+E.errorPath+" , schemaPath: "+E.util.toQuotedString(te)+" , params: { caseIndex: "+Fe+" } ";if(E.opts.messages!==false){w+=" , message: 'should pass \"switch\" keyword validation' "}if(E.opts.verbose){w+=" , schema: validate.schema"+ee+" , parentSchema: validate.schema"+E.schemaPath+" , data: "+ae+" "}w+=" } "}else{w+=" {} "}var je=w;w=Le.pop();if(!E.compositeRule&&ne){if(E.async){w+=" throw new ValidationError(["+je+"]); "}else{w+=" validate.errors = ["+je+"]; return false; "}}else{w+=" var err = "+je+"; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; "}}w+=" var "+Ce+" = "+Re.then+"; "}else{Ee.schema=Re.then;Ee.schemaPath=ee+"["+Fe+"].then";Ee.errSchemaPath=te+"/"+Fe+"/then";w+=" "+E.validate(Ee)+" ";Ee.baseId=Te}}Ie=Re.continue}}w+=""+we+"var "+_e+" = "+Ce+";";return w}},41835:E=>{"use strict";var k={};var S={timestamp:function(){return Date.now()},datetime:function(){return(new Date).toISOString()},date:function(){return(new Date).toISOString().slice(0,10)},time:function(){return(new Date).toISOString().slice(11)},random:function(){return Math.random()},randomint:function(E){var k=E&&E.max||2;return function(){return Math.floor(Math.random()*k)}},seq:function(E){var S=E&&E.name||"";k[S]=k[S]||0;return function(){return k[S]++}}};E.exports=function defFunc(E){defFunc.definition={compile:function(E,k,S){var w={};for(var N in E){var j=E[N];var q=getDefault(typeof j=="string"?j:j.func);w[N]=q.length?q(j.args):q}return S.opts.useDefaults&&!S.compositeRule?assignDefaults:noop;function assignDefaults(k){for(var N in E){if(k[N]===undefined||S.opts.useDefaults=="empty"&&(k[N]===null||k[N]===""))k[N]=w[N]()}return true}function noop(){return true}},DEFAULTS:S,metaSchema:{type:"object",additionalProperties:{type:["string","object"],additionalProperties:false,required:["func","args"],properties:{func:{type:"string"},args:{type:"object"}}}}};E.addKeyword("dynamicDefaults",defFunc.definition);return E;function getDefault(E){var k=S[E];if(k)return k;throw new Error('invalid "dynamicDefaults" keyword property value: '+E)}}},69513:(E,k,S)=>{"use strict";E.exports=S(87113)("Maximum")},50581:(E,k,S)=>{"use strict";E.exports=S(87113)("Minimum")},62310:(E,k,S)=>{"use strict";E.exports={instanceof:S(94236),range:S(5332),regexp:S(85829),typeof:S(77189),dynamicDefaults:S(41835),allRequired:S(96216),anyRequired:S(1611),oneRequired:S(82233),prohibited:S(47431),uniqueItemProperties:S(69536),deepProperties:S(49494),deepRequired:S(23023),formatMinimum:S(50581),formatMaximum:S(69513),patternRequired:S(89042),switch:S(65305),select:S(9821),transform:S(62111)}},94236:E=>{"use strict";var k={Object:Object,Array:Array,Function:Function,Number:Number,String:String,Date:Date,RegExp:RegExp};E.exports=function defFunc(E){if(typeof Buffer!="undefined")k.Buffer=Buffer;if(typeof Promise!="undefined")k.Promise=Promise;defFunc.definition={compile:function(E){if(typeof E=="string"){var k=getConstructor(E);return function(E){return E instanceof k}}var S=E.map(getConstructor);return function(E){for(var k=0;k{"use strict";E.exports=function defFunc(E){defFunc.definition={type:"object",macro:function(E){if(E.length==0)return true;if(E.length==1)return{required:E};var k=E.map((function(E){return{required:[E]}}));return{oneOf:k}},metaSchema:{type:"array",items:{type:"string"}}};E.addKeyword("oneRequired",defFunc.definition);return E}},89042:(E,k,S)=>{"use strict";E.exports=function defFunc(E){defFunc.definition={type:"object",inline:S(98632),statements:true,errors:"full",metaSchema:{type:"array",items:{type:"string",format:"regex"},uniqueItems:true}};E.addKeyword("patternRequired",defFunc.definition);return E}},47431:E=>{"use strict";E.exports=function defFunc(E){defFunc.definition={type:"object",macro:function(E){if(E.length==0)return true;if(E.length==1)return{not:{required:E}};var k=E.map((function(E){return{required:[E]}}));return{not:{anyOf:k}}},metaSchema:{type:"array",items:{type:"string"}}};E.addKeyword("prohibited",defFunc.definition);return E}},5332:E=>{"use strict";E.exports=function defFunc(E){defFunc.definition={type:"number",macro:function(E,k){var S=E[0],w=E[1],N=k.exclusiveRange;validateRangeSchema(S,w,N);return N===true?{exclusiveMinimum:S,exclusiveMaximum:w}:{minimum:S,maximum:w}},metaSchema:{type:"array",minItems:2,maxItems:2,items:{type:"number"}}};E.addKeyword("range",defFunc.definition);E.addKeyword("exclusiveRange");return E;function validateRangeSchema(E,k,S){if(S!==undefined&&typeof S!="boolean")throw new Error("Invalid schema for exclusiveRange keyword, should be boolean");if(E>k||S&&E==k)throw new Error("There are no numbers in range")}}},85829:E=>{"use strict";E.exports=function defFunc(E){defFunc.definition={type:"string",inline:function(E,k,S){return getRegExp()+".test(data"+(E.dataLevel||"")+")";function getRegExp(){try{if(typeof S=="object")return new RegExp(S.pattern,S.flags);var E=S.match(/^\/(.*)\/([gimuy]*)$/);if(E)return new RegExp(E[1],E[2]);throw new Error("cannot parse string into RegExp")}catch(E){console.error("regular expression",S,"is invalid");throw E}}},metaSchema:{type:["string","object"],properties:{pattern:{type:"string"},flags:{type:"string"}},required:["pattern"],additionalProperties:false}};E.addKeyword("regexp",defFunc.definition);return E}},9821:(E,k,S)=>{"use strict";var w=S(54630);E.exports=function defFunc(E){if(!E._opts.$data){console.warn("keyword select requires $data option");return E}var k=w.metaSchemaRef(E);var S=[];defFunc.definition={validate:function v(E,k,S){if(S.selectCases===undefined)throw new Error('keyword "selectCases" is absent');var w=getCompiledSchemas(S,false);var N=w.cases[E];if(N===undefined)N=w.default;if(typeof N=="boolean")return N;var j=N(k);if(!j)v.errors=N.errors;return j},$data:true,metaSchema:{type:["string","number","boolean","null"]}};E.addKeyword("select",defFunc.definition);E.addKeyword("selectCases",{compile:function(E,k){var S=getCompiledSchemas(k);for(var w in E)S.cases[w]=compileOrBoolean(E[w]);return function(){return true}},valid:true,metaSchema:{type:"object",additionalProperties:k}});E.addKeyword("selectDefault",{compile:function(E,k){var S=getCompiledSchemas(k);S.default=compileOrBoolean(E);return function(){return true}},valid:true,metaSchema:k});return E;function getCompiledSchemas(E,k){var w;S.some((function(k){if(k.parentSchema===E){w=k;return true}}));if(!w&&k!==false){w={parentSchema:E,cases:{},default:true};S.push(w)}return w}function compileOrBoolean(k){return typeof k=="boolean"?k:E.compile(k)}}},65305:(E,k,S)=>{"use strict";var w=S(54630);E.exports=function defFunc(E){if(E.RULES.keywords.switch&&E.RULES.keywords.if)return;var k=w.metaSchemaRef(E);defFunc.definition={inline:S(34657),statements:true,errors:"full",metaSchema:{type:"array",items:{required:["then"],properties:{if:k,then:{anyOf:[{type:"boolean"},k]},continue:{type:"boolean"}},additionalProperties:false,dependencies:{continue:["if"]}}}};E.addKeyword("switch",defFunc.definition);return E}},62111:E=>{"use strict";E.exports=function defFunc(E){var k={trimLeft:function(E){return E.replace(/^[\s]+/,"")},trimRight:function(E){return E.replace(/[\s]+$/,"")},trim:function(E){return E.trim()},toLowerCase:function(E){return E.toLowerCase()},toUpperCase:function(E){return E.toUpperCase()},toEnumCase:function(E,k){return k.hash[makeHashTableKey(E)]||E}};defFunc.definition={type:"string",errors:false,modifying:true,valid:true,compile:function(E,S){var w;if(E.indexOf("toEnumCase")!==-1){w={hash:{}};if(!S.enum)throw new Error('Missing enum. To use `transform:["toEnumCase"]`, `enum:[...]` is required.');for(var N=S.enum.length;N--;N){var j=S.enum[N];if(typeof j!=="string")continue;var q=makeHashTableKey(j);if(w.hash[q])throw new Error('Invalid enum uniqueness. To use `transform:["toEnumCase"]`, all values must be unique when case insensitive.');w.hash[q]=j}}return function(S,N,j,q){if(!j)return;for(var ee=0,te=E.length;ee{"use strict";var k=["undefined","string","number","object","function","boolean","symbol"];E.exports=function defFunc(E){defFunc.definition={inline:function(E,k,S){var w="data"+(E.dataLevel||"");if(typeof S=="string")return"typeof "+w+' == "'+S+'"';S="validate.schema"+E.schemaPath+"."+k;return S+".indexOf(typeof "+w+") >= 0"},metaSchema:{anyOf:[{type:"string",enum:k},{type:"array",items:{type:"string",enum:k}}]}};E.addKeyword("typeof",defFunc.definition);return E}},69536:E=>{"use strict";var k=["number","integer","string","boolean","null"];E.exports=function defFunc(E){defFunc.definition={type:"array",compile:function(E,k,S){var w=S.util.equal;var N=getScalarKeys(E,k);return function(k){if(k.length>1){for(var S=0;S=0}))}},33866:(E,k,S)=>{"use strict";var w=S(69579),N=S(82253),j=S(32183),q=S(38868),ee=S(75986),te=S(10698),ne=S(75041),ae=S(30398),_e=S(778);E.exports=Ajv;Ajv.prototype.validate=validate;Ajv.prototype.compile=compile;Ajv.prototype.addSchema=addSchema;Ajv.prototype.addMetaSchema=addMetaSchema;Ajv.prototype.validateSchema=validateSchema;Ajv.prototype.getSchema=getSchema;Ajv.prototype.removeSchema=removeSchema;Ajv.prototype.addFormat=addFormat;Ajv.prototype.errorsText=errorsText;Ajv.prototype._addSchema=_addSchema;Ajv.prototype._compile=_compile;Ajv.prototype.compileAsync=S(18840);var ve=S(3811);Ajv.prototype.addKeyword=ve.add;Ajv.prototype.getKeyword=ve.get;Ajv.prototype.removeKeyword=ve.remove;Ajv.prototype.validateKeyword=ve.validate;var Ee=S(29411);Ajv.ValidationError=Ee.Validation;Ajv.MissingRefError=Ee.MissingRef;Ajv.$dataMetaSchema=ae;var we="http://json-schema.org/draft-07/schema";var Ce=["removeAdditional","useDefaults","coerceTypes","strictDefaults"];var Me=["/properties"];function Ajv(E){if(!(this instanceof Ajv))return new Ajv(E);E=this._opts=_e.copy(E)||{};setLogger(this);this._schemas={};this._refs={};this._fragments={};this._formats=te(E.format);this._cache=E.cache||new j;this._loadingSchemas={};this._compilations=[];this.RULES=ne();this._getId=chooseGetId(E);E.loopRequired=E.loopRequired||Infinity;if(E.errorDataPath=="property")E._errorDataPathProperty=true;if(E.serialize===undefined)E.serialize=ee;this._metaOpts=getMetaSchemaOptions(this);if(E.formats)addInitialFormats(this);if(E.keywords)addInitialKeywords(this);addDefaultMetaSchema(this);if(typeof E.meta=="object")this.addMetaSchema(E.meta);if(E.nullable)this.addKeyword("nullable",{metaSchema:{type:"boolean"}});addInitialSchemas(this)}function validate(E,k){var S;if(typeof E=="string"){S=this.getSchema(E);if(!S)throw new Error('no schema with key or ref "'+E+'"')}else{var w=this._addSchema(E);S=w.validate||this._compile(w)}var N=S(k);if(S.$async!==true)this.errors=S.errors;return N}function compile(E,k){var S=this._addSchema(E,undefined,k);return S.validate||this._compile(S)}function addSchema(E,k,S,w){if(Array.isArray(E)){for(var j=0;j{"use strict";var k=E.exports=function Cache(){this._cache={}};k.prototype.put=function Cache_put(E,k){this._cache[E]=k};k.prototype.get=function Cache_get(E){return this._cache[E]};k.prototype.del=function Cache_del(E){delete this._cache[E]};k.prototype.clear=function Cache_clear(){this._cache={}}},18840:(E,k,S)=>{"use strict";var w=S(29411).MissingRef;E.exports=compileAsync;function compileAsync(E,k,S){var N=this;if(typeof this._opts.loadSchema!="function")throw new Error("options.loadSchema should be a function");if(typeof k=="function"){S=k;k=undefined}var j=loadMetaSchemaOf(E).then((function(){var S=N._addSchema(E,undefined,k);return S.validate||_compileAsync(S)}));if(S){j.then((function(E){S(null,E)}),S)}return j;function loadMetaSchemaOf(E){var k=E.$schema;return k&&!N.getSchema(k)?compileAsync.call(N,{$ref:k},true):Promise.resolve()}function _compileAsync(E){try{return N._compile(E)}catch(E){if(E instanceof w)return loadMissingSchema(E);throw E}function loadMissingSchema(S){var w=S.missingSchema;if(added(w))throw new Error("Schema "+w+" is loaded but "+S.missingRef+" cannot be resolved");var j=N._loadingSchemas[w];if(!j){j=N._loadingSchemas[w]=N._opts.loadSchema(w);j.then(removePromise,removePromise)}return j.then((function(E){if(!added(w)){return loadMetaSchemaOf(E).then((function(){if(!added(w))N.addSchema(E,w,undefined,k)}))}})).then((function(){return _compileAsync(E)}));function removePromise(){delete N._loadingSchemas[w]}function added(E){return N._refs[E]||N._schemas[E]}}}}},29411:(E,k,S)=>{"use strict";var w=S(82253);E.exports={Validation:errorSubclass(ValidationError),MissingRef:errorSubclass(MissingRefError)};function ValidationError(E){this.message="validation failed";this.errors=E;this.ajv=this.validation=true}MissingRefError.message=function(E,k){return"can't resolve reference "+k+" from id "+E};function MissingRefError(E,k,S){this.message=S||MissingRefError.message(E,k);this.missingRef=w.url(E,k);this.missingSchema=w.normalizeId(w.fullPath(this.missingRef))}function errorSubclass(E){E.prototype=Object.create(Error.prototype);E.prototype.constructor=E;return E}},10698:(E,k,S)=>{"use strict";var w=S(778);var N=/^(\d\d\d\d)-(\d\d)-(\d\d)$/;var j=[0,31,28,31,30,31,30,31,31,30,31,30,31];var q=/^(\d\d):(\d\d):(\d\d)(\.\d+)?(z|[+-]\d\d(?::?\d\d)?)?$/i;var ee=/^(?=.{1,253}\.?$)[a-z0-9](?:[a-z0-9-]{0,61}[a-z0-9])?(?:\.[a-z0-9](?:[-0-9a-z]{0,61}[0-9a-z])?)*\.?$/i;var te=/^(?:[a-z][a-z0-9+\-.]*:)(?:\/?\/(?:(?:[a-z0-9\-._~!$&'()*+,;=:]|%[0-9a-f]{2})*@)?(?:\[(?:(?:(?:(?:[0-9a-f]{1,4}:){6}|::(?:[0-9a-f]{1,4}:){5}|(?:[0-9a-f]{1,4})?::(?:[0-9a-f]{1,4}:){4}|(?:(?:[0-9a-f]{1,4}:){0,1}[0-9a-f]{1,4})?::(?:[0-9a-f]{1,4}:){3}|(?:(?:[0-9a-f]{1,4}:){0,2}[0-9a-f]{1,4})?::(?:[0-9a-f]{1,4}:){2}|(?:(?:[0-9a-f]{1,4}:){0,3}[0-9a-f]{1,4})?::[0-9a-f]{1,4}:|(?:(?:[0-9a-f]{1,4}:){0,4}[0-9a-f]{1,4})?::)(?:[0-9a-f]{1,4}:[0-9a-f]{1,4}|(?:(?:25[0-5]|2[0-4]\d|[01]?\d\d?)\.){3}(?:25[0-5]|2[0-4]\d|[01]?\d\d?))|(?:(?:[0-9a-f]{1,4}:){0,5}[0-9a-f]{1,4})?::[0-9a-f]{1,4}|(?:(?:[0-9a-f]{1,4}:){0,6}[0-9a-f]{1,4})?::)|[Vv][0-9a-f]+\.[a-z0-9\-._~!$&'()*+,;=:]+)\]|(?:(?:25[0-5]|2[0-4]\d|[01]?\d\d?)\.){3}(?:25[0-5]|2[0-4]\d|[01]?\d\d?)|(?:[a-z0-9\-._~!$&'()*+,;=]|%[0-9a-f]{2})*)(?::\d*)?(?:\/(?:[a-z0-9\-._~!$&'()*+,;=:@]|%[0-9a-f]{2})*)*|\/(?:(?:[a-z0-9\-._~!$&'()*+,;=:@]|%[0-9a-f]{2})+(?:\/(?:[a-z0-9\-._~!$&'()*+,;=:@]|%[0-9a-f]{2})*)*)?|(?:[a-z0-9\-._~!$&'()*+,;=:@]|%[0-9a-f]{2})+(?:\/(?:[a-z0-9\-._~!$&'()*+,;=:@]|%[0-9a-f]{2})*)*)(?:\?(?:[a-z0-9\-._~!$&'()*+,;=:@/?]|%[0-9a-f]{2})*)?(?:#(?:[a-z0-9\-._~!$&'()*+,;=:@/?]|%[0-9a-f]{2})*)?$/i;var ne=/^(?:[a-z][a-z0-9+\-.]*:)?(?:\/?\/(?:(?:[a-z0-9\-._~!$&'()*+,;=:]|%[0-9a-f]{2})*@)?(?:\[(?:(?:(?:(?:[0-9a-f]{1,4}:){6}|::(?:[0-9a-f]{1,4}:){5}|(?:[0-9a-f]{1,4})?::(?:[0-9a-f]{1,4}:){4}|(?:(?:[0-9a-f]{1,4}:){0,1}[0-9a-f]{1,4})?::(?:[0-9a-f]{1,4}:){3}|(?:(?:[0-9a-f]{1,4}:){0,2}[0-9a-f]{1,4})?::(?:[0-9a-f]{1,4}:){2}|(?:(?:[0-9a-f]{1,4}:){0,3}[0-9a-f]{1,4})?::[0-9a-f]{1,4}:|(?:(?:[0-9a-f]{1,4}:){0,4}[0-9a-f]{1,4})?::)(?:[0-9a-f]{1,4}:[0-9a-f]{1,4}|(?:(?:25[0-5]|2[0-4]\d|[01]?\d\d?)\.){3}(?:25[0-5]|2[0-4]\d|[01]?\d\d?))|(?:(?:[0-9a-f]{1,4}:){0,5}[0-9a-f]{1,4})?::[0-9a-f]{1,4}|(?:(?:[0-9a-f]{1,4}:){0,6}[0-9a-f]{1,4})?::)|[Vv][0-9a-f]+\.[a-z0-9\-._~!$&'()*+,;=:]+)\]|(?:(?:25[0-5]|2[0-4]\d|[01]?\d\d?)\.){3}(?:25[0-5]|2[0-4]\d|[01]?\d\d?)|(?:[a-z0-9\-._~!$&'"()*+,;=]|%[0-9a-f]{2})*)(?::\d*)?(?:\/(?:[a-z0-9\-._~!$&'"()*+,;=:@]|%[0-9a-f]{2})*)*|\/(?:(?:[a-z0-9\-._~!$&'"()*+,;=:@]|%[0-9a-f]{2})+(?:\/(?:[a-z0-9\-._~!$&'"()*+,;=:@]|%[0-9a-f]{2})*)*)?|(?:[a-z0-9\-._~!$&'"()*+,;=:@]|%[0-9a-f]{2})+(?:\/(?:[a-z0-9\-._~!$&'"()*+,;=:@]|%[0-9a-f]{2})*)*)?(?:\?(?:[a-z0-9\-._~!$&'"()*+,;=:@/?]|%[0-9a-f]{2})*)?(?:#(?:[a-z0-9\-._~!$&'"()*+,;=:@/?]|%[0-9a-f]{2})*)?$/i;var ae=/^(?:(?:[^\x00-\x20"'<>%\\^`{|}]|%[0-9a-f]{2})|\{[+#./;?&=,!@|]?(?:[a-z0-9_]|%[0-9a-f]{2})+(?::[1-9][0-9]{0,3}|\*)?(?:,(?:[a-z0-9_]|%[0-9a-f]{2})+(?::[1-9][0-9]{0,3}|\*)?)*\})*$/i;var _e=/^(?:(?:http[s\u017F]?|ftp):\/\/)(?:(?:[\0-\x08\x0E-\x1F!-\x9F\xA1-\u167F\u1681-\u1FFF\u200B-\u2027\u202A-\u202E\u2030-\u205E\u2060-\u2FFF\u3001-\uD7FF\uE000-\uFEFE\uFF00-\uFFFF]|[\uD800-\uDBFF][\uDC00-\uDFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF])+(?::(?:[\0-\x08\x0E-\x1F!-\x9F\xA1-\u167F\u1681-\u1FFF\u200B-\u2027\u202A-\u202E\u2030-\u205E\u2060-\u2FFF\u3001-\uD7FF\uE000-\uFEFE\uFF00-\uFFFF]|[\uD800-\uDBFF][\uDC00-\uDFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF])*)?@)?(?:(?!10(?:\.[0-9]{1,3}){3})(?!127(?:\.[0-9]{1,3}){3})(?!169\.254(?:\.[0-9]{1,3}){2})(?!192\.168(?:\.[0-9]{1,3}){2})(?!172\.(?:1[6-9]|2[0-9]|3[01])(?:\.[0-9]{1,3}){2})(?:[1-9][0-9]?|1[0-9][0-9]|2[01][0-9]|22[0-3])(?:\.(?:1?[0-9]{1,2}|2[0-4][0-9]|25[0-5])){2}(?:\.(?:[1-9][0-9]?|1[0-9][0-9]|2[0-4][0-9]|25[0-4]))|(?:(?:(?:[0-9a-z\xA1-\uD7FF\uE000-\uFFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF])+-)*(?:[0-9a-z\xA1-\uD7FF\uE000-\uFFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF])+)(?:\.(?:(?:[0-9a-z\xA1-\uD7FF\uE000-\uFFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF])+-)*(?:[0-9a-z\xA1-\uD7FF\uE000-\uFFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF])+)*(?:\.(?:(?:[a-z\xA1-\uD7FF\uE000-\uFFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF]){2,})))(?::[0-9]{2,5})?(?:\/(?:[\0-\x08\x0E-\x1F!-\x9F\xA1-\u167F\u1681-\u1FFF\u200B-\u2027\u202A-\u202E\u2030-\u205E\u2060-\u2FFF\u3001-\uD7FF\uE000-\uFEFE\uFF00-\uFFFF]|[\uD800-\uDBFF][\uDC00-\uDFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF])*)?$/i;var ve=/^(?:urn:uuid:)?[0-9a-f]{8}-(?:[0-9a-f]{4}-){3}[0-9a-f]{12}$/i;var Ee=/^(?:\/(?:[^~/]|~0|~1)*)*$/;var we=/^#(?:\/(?:[a-z0-9_\-.!$&'()*+,;:=@]|%[0-9a-f]{2}|~0|~1)*)*$/i;var Ce=/^(?:0|[1-9][0-9]*)(?:#|(?:\/(?:[^~/]|~0|~1)*)*)$/;E.exports=formats;function formats(E){E=E=="full"?"full":"fast";return w.copy(formats[E])}formats.fast={date:/^\d\d\d\d-[0-1]\d-[0-3]\d$/,time:/^(?:[0-2]\d:[0-5]\d:[0-5]\d|23:59:60)(?:\.\d+)?(?:z|[+-]\d\d(?::?\d\d)?)?$/i,"date-time":/^\d\d\d\d-[0-1]\d-[0-3]\d[t\s](?:[0-2]\d:[0-5]\d:[0-5]\d|23:59:60)(?:\.\d+)?(?:z|[+-]\d\d(?::?\d\d)?)$/i,uri:/^(?:[a-z][a-z0-9+\-.]*:)(?:\/?\/)?[^\s]*$/i,"uri-reference":/^(?:(?:[a-z][a-z0-9+\-.]*:)?\/?\/)?(?:[^\\\s#][^\s#]*)?(?:#[^\\\s]*)?$/i,"uri-template":ae,url:_e,email:/^[a-z0-9.!#$%&'*+/=?^_`{|}~-]+@[a-z0-9](?:[a-z0-9-]{0,61}[a-z0-9])?(?:\.[a-z0-9](?:[a-z0-9-]{0,61}[a-z0-9])?)*$/i,hostname:ee,ipv4:/^(?:(?:25[0-5]|2[0-4]\d|[01]?\d\d?)\.){3}(?:25[0-5]|2[0-4]\d|[01]?\d\d?)$/,ipv6:/^\s*(?:(?:(?:[0-9a-f]{1,4}:){7}(?:[0-9a-f]{1,4}|:))|(?:(?:[0-9a-f]{1,4}:){6}(?::[0-9a-f]{1,4}|(?:(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(?:\.(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3})|:))|(?:(?:[0-9a-f]{1,4}:){5}(?:(?:(?::[0-9a-f]{1,4}){1,2})|:(?:(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(?:\.(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3})|:))|(?:(?:[0-9a-f]{1,4}:){4}(?:(?:(?::[0-9a-f]{1,4}){1,3})|(?:(?::[0-9a-f]{1,4})?:(?:(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(?:\.(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:))|(?:(?:[0-9a-f]{1,4}:){3}(?:(?:(?::[0-9a-f]{1,4}){1,4})|(?:(?::[0-9a-f]{1,4}){0,2}:(?:(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(?:\.(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:))|(?:(?:[0-9a-f]{1,4}:){2}(?:(?:(?::[0-9a-f]{1,4}){1,5})|(?:(?::[0-9a-f]{1,4}){0,3}:(?:(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(?:\.(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:))|(?:(?:[0-9a-f]{1,4}:){1}(?:(?:(?::[0-9a-f]{1,4}){1,6})|(?:(?::[0-9a-f]{1,4}){0,4}:(?:(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(?:\.(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:))|(?::(?:(?:(?::[0-9a-f]{1,4}){1,7})|(?:(?::[0-9a-f]{1,4}){0,5}:(?:(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(?:\.(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:)))(?:%.+)?\s*$/i,regex:regex,uuid:ve,"json-pointer":Ee,"json-pointer-uri-fragment":we,"relative-json-pointer":Ce};formats.full={date:date,time:time,"date-time":date_time,uri:uri,"uri-reference":ne,"uri-template":ae,url:_e,email:/^[a-z0-9!#$%&'*+/=?^_`{|}~-]+(?:\.[a-z0-9!#$%&'*+/=?^_`{|}~-]+)*@(?:[a-z0-9](?:[a-z0-9-]*[a-z0-9])?\.)+[a-z0-9](?:[a-z0-9-]*[a-z0-9])?$/i,hostname:ee,ipv4:/^(?:(?:25[0-5]|2[0-4]\d|[01]?\d\d?)\.){3}(?:25[0-5]|2[0-4]\d|[01]?\d\d?)$/,ipv6:/^\s*(?:(?:(?:[0-9a-f]{1,4}:){7}(?:[0-9a-f]{1,4}|:))|(?:(?:[0-9a-f]{1,4}:){6}(?::[0-9a-f]{1,4}|(?:(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(?:\.(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3})|:))|(?:(?:[0-9a-f]{1,4}:){5}(?:(?:(?::[0-9a-f]{1,4}){1,2})|:(?:(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(?:\.(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3})|:))|(?:(?:[0-9a-f]{1,4}:){4}(?:(?:(?::[0-9a-f]{1,4}){1,3})|(?:(?::[0-9a-f]{1,4})?:(?:(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(?:\.(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:))|(?:(?:[0-9a-f]{1,4}:){3}(?:(?:(?::[0-9a-f]{1,4}){1,4})|(?:(?::[0-9a-f]{1,4}){0,2}:(?:(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(?:\.(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:))|(?:(?:[0-9a-f]{1,4}:){2}(?:(?:(?::[0-9a-f]{1,4}){1,5})|(?:(?::[0-9a-f]{1,4}){0,3}:(?:(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(?:\.(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:))|(?:(?:[0-9a-f]{1,4}:){1}(?:(?:(?::[0-9a-f]{1,4}){1,6})|(?:(?::[0-9a-f]{1,4}){0,4}:(?:(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(?:\.(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:))|(?::(?:(?:(?::[0-9a-f]{1,4}){1,7})|(?:(?::[0-9a-f]{1,4}){0,5}:(?:(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(?:\.(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:)))(?:%.+)?\s*$/i,regex:regex,uuid:ve,"json-pointer":Ee,"json-pointer-uri-fragment":we,"relative-json-pointer":Ce};function isLeapYear(E){return E%4===0&&(E%100!==0||E%400===0)}function date(E){var k=E.match(N);if(!k)return false;var S=+k[1];var w=+k[2];var q=+k[3];return w>=1&&w<=12&&q>=1&&q<=(w==2&&isLeapYear(S)?29:j[w])}function time(E,k){var S=E.match(q);if(!S)return false;var w=S[1];var N=S[2];var j=S[3];var ee=S[5];return(w<=23&&N<=59&&j<=59||w==23&&N==59&&j==60)&&(!k||ee)}var Me=/t|\s/i;function date_time(E){var k=E.split(Me);return k.length==2&&date(k[0])&&time(k[1],true)}var Te=/\/|:/;function uri(E){return Te.test(E)&&te.test(E)}var Ie=/[^\\]\\Z/;function regex(E){if(Ie.test(E))return false;try{new RegExp(E);return true}catch(E){return false}}},69579:(E,k,S)=>{"use strict";var w=S(82253),N=S(778),j=S(29411),q=S(75986);var ee=S(85061);var te=N.ucs2length;var ne=S(55245);var ae=j.Validation;E.exports=compile;function compile(E,k,S,_e){var ve=this,Ee=this._opts,we=[undefined],Ce={},Me=[],Te={},Ie=[],Oe={},Re=[];k=k||{schema:E,refVal:we,refs:Ce};var Fe=checkCompiling.call(this,E,k,_e);var Ne=this._compilations[Fe.index];if(Fe.compiling)return Ne.callValidate=callValidate;var Be=this._formats;var Le=this.RULES;try{var je=localCompile(E,k,S,_e);Ne.validate=je;var $e=Ne.callValidate;if($e){$e.schema=je.schema;$e.errors=null;$e.refs=je.refs;$e.refVal=je.refVal;$e.root=je.root;$e.$async=je.$async;if(Ee.sourceCode)$e.source=je.source}return je}finally{endCompiling.call(this,E,k,_e)}function callValidate(){var E=Ne.validate;var k=E.apply(this,arguments);callValidate.errors=E.errors;return k}function localCompile(E,S,q,_e){var Te=!S||S&&S.schema==E;if(S.schema!=k.schema)return compile.call(ve,E,S,q,_e);var Oe=E.$async===true;var Fe=ee({isTop:true,schema:E,isRoot:Te,baseId:_e,root:S,schemaPath:"",errSchemaPath:"#",errorPath:'""',MissingRefError:j.MissingRef,RULES:Le,validate:ee,util:N,resolve:w,resolveRef:resolveRef,usePattern:usePattern,useDefault:useDefault,useCustomRule:useCustomRule,opts:Ee,formats:Be,logger:ve.logger,self:ve});Fe=vars(we,refValCode)+vars(Me,patternCode)+vars(Ie,defaultCode)+vars(Re,customRuleCode)+Fe;if(Ee.processCode)Fe=Ee.processCode(Fe,E);var Ne;try{var je=new Function("self","RULES","formats","root","refVal","defaults","customRules","equal","ucs2length","ValidationError",Fe);Ne=je(ve,Le,Be,k,we,Ie,Re,ne,te,ae);we[0]=Ne}catch(E){ve.logger.error("Error compiling schema, function code:",Fe);throw E}Ne.schema=E;Ne.errors=null;Ne.refs=Ce;Ne.refVal=we;Ne.root=Te?Ne:S;if(Oe)Ne.$async=true;if(Ee.sourceCode===true){Ne.source={code:Fe,patterns:Me,defaults:Ie}}return Ne}function resolveRef(E,N,j){N=w.url(E,N);var q=Ce[N];var ee,te;if(q!==undefined){ee=we[q];te="refVal["+q+"]";return resolvedRef(ee,te)}if(!j&&k.refs){var ne=k.refs[N];if(ne!==undefined){ee=k.refVal[ne];te=addLocalRef(N,ee);return resolvedRef(ee,te)}}te=addLocalRef(N);var ae=w.call(ve,localCompile,k,N);if(ae===undefined){var _e=S&&S[N];if(_e){ae=w.inlineRef(_e,Ee.inlineRefs)?_e:compile.call(ve,_e,k,S,E)}}if(ae===undefined){removeLocalRef(N)}else{replaceLocalRef(N,ae);return resolvedRef(ae,te)}}function addLocalRef(E,k){var S=we.length;we[S]=k;Ce[E]=S;return"refVal"+S}function removeLocalRef(E){delete Ce[E]}function replaceLocalRef(E,k){var S=Ce[E];we[S]=k}function resolvedRef(E,k){return typeof E=="object"||typeof E=="boolean"?{code:k,schema:E,inline:true}:{code:k,$async:E&&!!E.$async}}function usePattern(E){var k=Te[E];if(k===undefined){k=Te[E]=Me.length;Me[k]=E}return"pattern"+k}function useDefault(E){switch(typeof E){case"boolean":case"number":return""+E;case"string":return N.toQuotedString(E);case"object":if(E===null)return"null";var k=q(E);var S=Oe[k];if(S===undefined){S=Oe[k]=Ie.length;Ie[S]=E}return"default"+S}}function useCustomRule(E,k,S,w){if(ve._opts.validateSchema!==false){var N=E.definition.dependencies;if(N&&!N.every((function(E){return Object.prototype.hasOwnProperty.call(S,E)})))throw new Error("parent schema must have all required keywords: "+N.join(","));var j=E.definition.validateSchema;if(j){var q=j(k);if(!q){var ee="keyword schema is invalid: "+ve.errorsText(j.errors);if(ve._opts.validateSchema=="log")ve.logger.error(ee);else throw new Error(ee)}}}var te=E.definition.compile,ne=E.definition.inline,ae=E.definition.macro;var _e;if(te){_e=te.call(ve,k,S,w)}else if(ae){_e=ae.call(ve,k,S,w);if(Ee.validateSchema!==false)ve.validateSchema(_e,true)}else if(ne){_e=ne.call(ve,w,E.keyword,k,S)}else{_e=E.definition.validate;if(!_e)return}if(_e===undefined)throw new Error('custom keyword "'+E.keyword+'"failed to compile');var we=Re.length;Re[we]=_e;return{code:"customRule"+we,validate:_e}}}function checkCompiling(E,k,S){var w=compIndex.call(this,E,k,S);if(w>=0)return{index:w,compiling:true};w=this._compilations.length;this._compilations[w]={schema:E,root:k,baseId:S};return{index:w,compiling:false}}function endCompiling(E,k,S){var w=compIndex.call(this,E,k,S);if(w>=0)this._compilations.splice(w,1)}function compIndex(E,k,S){for(var w=0;w{"use strict";var w=S(30823),N=S(55245),j=S(778),q=S(38868),ee=S(46833);E.exports=resolve;resolve.normalizeId=normalizeId;resolve.fullPath=getFullPath;resolve.url=resolveUrl;resolve.ids=resolveIds;resolve.inlineRef=inlineRef;resolve.schema=resolveSchema;function resolve(E,k,S){var w=this._refs[S];if(typeof w=="string"){if(this._refs[w])w=this._refs[w];else return resolve.call(this,E,k,w)}w=w||this._schemas[S];if(w instanceof q){return inlineRef(w.schema,this._opts.inlineRefs)?w.schema:w.validate||this._compile(w)}var N=resolveSchema.call(this,k,S);var j,ee,te;if(N){j=N.schema;k=N.root;te=N.baseId}if(j instanceof q){ee=j.validate||E.call(this,j.schema,k,undefined,te)}else if(j!==undefined){ee=inlineRef(j,this._opts.inlineRefs)?j:E.call(this,j,k,undefined,te)}return ee}function resolveSchema(E,k){var S=w.parse(k),N=_getFullPath(S),j=getFullPath(this._getId(E.schema));if(Object.keys(E.schema).length===0||N!==j){var ee=normalizeId(N);var te=this._refs[ee];if(typeof te=="string"){return resolveRecursive.call(this,E,te,S)}else if(te instanceof q){if(!te.validate)this._compile(te);E=te}else{te=this._schemas[ee];if(te instanceof q){if(!te.validate)this._compile(te);if(ee==normalizeId(k))return{schema:te,root:E,baseId:j};E=te}else{return}}if(!E.schema)return;j=getFullPath(this._getId(E.schema))}return getJsonPointer.call(this,S,j,E.schema,E)}function resolveRecursive(E,k,S){var w=resolveSchema.call(this,E,k);if(w){var N=w.schema;var j=w.baseId;E=w.root;var q=this._getId(N);if(q)j=resolveUrl(j,q);return getJsonPointer.call(this,S,j,N,E)}}var te=j.toHash(["properties","patternProperties","enum","dependencies","definitions"]);function getJsonPointer(E,k,S,w){E.fragment=E.fragment||"";if(E.fragment.slice(0,1)!="/")return;var N=E.fragment.split("/");for(var q=1;q{"use strict";var w=S(71001),N=S(778).toHash;E.exports=function rules(){var E=[{type:"number",rules:[{maximum:["exclusiveMaximum"]},{minimum:["exclusiveMinimum"]},"multipleOf","format"]},{type:"string",rules:["maxLength","minLength","pattern","format"]},{type:"array",rules:["maxItems","minItems","items","contains","uniqueItems"]},{type:"object",rules:["maxProperties","minProperties","required","dependencies","propertyNames",{properties:["additionalProperties","patternProperties"]}]},{rules:["$ref","const","enum","not","anyOf","oneOf","allOf","if"]}];var k=["type","$comment"];var S=["$schema","$id","id","$data","$async","title","description","default","definitions","examples","readOnly","writeOnly","contentMediaType","contentEncoding","additionalItems","then","else"];var j=["number","integer","string","array","object","boolean","null"];E.all=N(k);E.types=N(j);E.forEach((function(S){S.rules=S.rules.map((function(S){var N;if(typeof S=="object"){var j=Object.keys(S)[0];N=S[j];S=j;N.forEach((function(S){k.push(S);E.all[S]=true}))}k.push(S);var q=E.all[S]={keyword:S,code:w[S],implements:N};return q}));E.all.$comment={keyword:"$comment",code:w.$comment};if(S.type)E.types[S.type]=S}));E.keywords=N(k.concat(S));E.custom={};return E}},38868:(E,k,S)=>{"use strict";var w=S(778);E.exports=SchemaObject;function SchemaObject(E){w.copy(E,this)}},15512:E=>{"use strict";E.exports=function ucs2length(E){var k=0,S=E.length,w=0,N;while(w=55296&&N<=56319&&w{"use strict";E.exports={copy:copy,checkDataType:checkDataType,checkDataTypes:checkDataTypes,coerceToTypes:coerceToTypes,toHash:toHash,getProperty:getProperty,escapeQuotes:escapeQuotes,equal:S(55245),ucs2length:S(15512),varOccurences:varOccurences,varReplace:varReplace,schemaHasRules:schemaHasRules,schemaHasRulesExcept:schemaHasRulesExcept,schemaUnknownRules:schemaUnknownRules,toQuotedString:toQuotedString,getPathExpr:getPathExpr,getPath:getPath,getData:getData,unescapeFragment:unescapeFragment,unescapeJsonPointer:unescapeJsonPointer,escapeFragment:escapeFragment,escapeJsonPointer:escapeJsonPointer};function copy(E,k){k=k||{};for(var S in E)k[S]=E[S];return k}function checkDataType(E,k,S,w){var N=w?" !== ":" === ",j=w?" || ":" && ",q=w?"!":"",ee=w?"":"!";switch(E){case"null":return k+N+"null";case"array":return q+"Array.isArray("+k+")";case"object":return"("+q+k+j+"typeof "+k+N+'"object"'+j+ee+"Array.isArray("+k+"))";case"integer":return"(typeof "+k+N+'"number"'+j+ee+"("+k+" % 1)"+j+k+N+k+(S?j+q+"isFinite("+k+")":"")+")";case"number":return"(typeof "+k+N+'"'+E+'"'+(S?j+q+"isFinite("+k+")":"")+")";default:return"typeof "+k+N+'"'+E+'"'}}function checkDataTypes(E,k,S){switch(E.length){case 1:return checkDataType(E[0],k,S,true);default:var w="";var N=toHash(E);if(N.array&&N.object){w=N.null?"(":"(!"+k+" || ";w+="typeof "+k+' !== "object")';delete N.null;delete N.array;delete N.object}if(N.number)delete N.integer;for(var j in N)w+=(w?" && ":"")+checkDataType(j,k,S,true);return w}}var w=toHash(["string","number","integer","boolean","null"]);function coerceToTypes(E,k){if(Array.isArray(k)){var S=[];for(var N=0;N=k)throw new Error("Cannot access property/index "+w+" levels up, current level is "+k);return S[k-w]}if(w>k)throw new Error("Cannot access data "+w+" levels up, current level is "+k);j="data"+(k-w||"");if(!N)return j}var ne=j;var ae=N.split("/");for(var _e=0;_e{"use strict";var k=["multipleOf","maximum","exclusiveMaximum","minimum","exclusiveMinimum","maxLength","minLength","pattern","additionalItems","maxItems","minItems","uniqueItems","maxProperties","minProperties","required","additionalProperties","enum","format","const"];E.exports=function(E,S){for(var w=0;w{"use strict";var w=S(40038);E.exports={$id:"https://github.com/ajv-validator/ajv/blob/master/lib/definition_schema.js",definitions:{simpleTypes:w.definitions.simpleTypes},type:"object",dependencies:{schema:["validate"],$data:["validate"],statements:["inline"],valid:{not:{required:["macro"]}}},properties:{type:w.properties.type,schema:{type:"boolean"},statements:{type:"boolean"},dependencies:{type:"array",items:{type:"string"}},metaSchema:{type:"object"},modifying:{type:"boolean"},valid:{type:"boolean"},$data:{type:"boolean"},async:{type:"boolean"},errors:{anyOf:[{type:"boolean"},{const:"full"}]}}}},70507:E=>{"use strict";E.exports=function generate__limit(E,k,S){var w=" ";var N=E.level;var j=E.dataLevel;var q=E.schema[k];var ee=E.schemaPath+E.util.getProperty(k);var te=E.errSchemaPath+"/"+k;var ne=!E.opts.allErrors;var ae;var _e="data"+(j||"");var ve=E.opts.$data&&q&&q.$data,Ee;if(ve){w+=" var schema"+N+" = "+E.util.getData(q.$data,j,E.dataPathArr)+"; ";Ee="schema"+N}else{Ee=q}var we=k=="maximum",Ce=we?"exclusiveMaximum":"exclusiveMinimum",Me=E.schema[Ce],Te=E.opts.$data&&Me&&Me.$data,Ie=we?"<":">",Oe=we?">":"<",ae=undefined;if(!(ve||typeof q=="number"||q===undefined)){throw new Error(k+" must be number")}if(!(Te||Me===undefined||typeof Me=="number"||typeof Me=="boolean")){throw new Error(Ce+" must be number or boolean")}if(Te){var Re=E.util.getData(Me.$data,j,E.dataPathArr),Fe="exclusive"+N,Ne="exclType"+N,Be="exclIsNumber"+N,Le="op"+N,je="' + "+Le+" + '";w+=" var schemaExcl"+N+" = "+Re+"; ";Re="schemaExcl"+N;w+=" var "+Fe+"; var "+Ne+" = typeof "+Re+"; if ("+Ne+" != 'boolean' && "+Ne+" != 'undefined' && "+Ne+" != 'number') { ";var ae=Ce;var $e=$e||[];$e.push(w);w="";if(E.createErrors!==false){w+=" { keyword: '"+(ae||"_exclusiveLimit")+"' , dataPath: (dataPath || '') + "+E.errorPath+" , schemaPath: "+E.util.toQuotedString(te)+" , params: {} ";if(E.opts.messages!==false){w+=" , message: '"+Ce+" should be boolean' "}if(E.opts.verbose){w+=" , schema: validate.schema"+ee+" , parentSchema: validate.schema"+E.schemaPath+" , data: "+_e+" "}w+=" } "}else{w+=" {} "}var ze=w;w=$e.pop();if(!E.compositeRule&&ne){if(E.async){w+=" throw new ValidationError(["+ze+"]); "}else{w+=" validate.errors = ["+ze+"]; return false; "}}else{w+=" var err = "+ze+"; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; "}w+=" } else if ( ";if(ve){w+=" ("+Ee+" !== undefined && typeof "+Ee+" != 'number') || "}w+=" "+Ne+" == 'number' ? ( ("+Fe+" = "+Ee+" === undefined || "+Re+" "+Ie+"= "+Ee+") ? "+_e+" "+Oe+"= "+Re+" : "+_e+" "+Oe+" "+Ee+" ) : ( ("+Fe+" = "+Re+" === true) ? "+_e+" "+Oe+"= "+Ee+" : "+_e+" "+Oe+" "+Ee+" ) || "+_e+" !== "+_e+") { var op"+N+" = "+Fe+" ? '"+Ie+"' : '"+Ie+"='; ";if(q===undefined){ae=Ce;te=E.errSchemaPath+"/"+Ce;Ee=Re;ve=Te}}else{var Be=typeof Me=="number",je=Ie;if(Be&&ve){var Le="'"+je+"'";w+=" if ( ";if(ve){w+=" ("+Ee+" !== undefined && typeof "+Ee+" != 'number') || "}w+=" ( "+Ee+" === undefined || "+Me+" "+Ie+"= "+Ee+" ? "+_e+" "+Oe+"= "+Me+" : "+_e+" "+Oe+" "+Ee+" ) || "+_e+" !== "+_e+") { "}else{if(Be&&q===undefined){Fe=true;ae=Ce;te=E.errSchemaPath+"/"+Ce;Ee=Me;Oe+="="}else{if(Be)Ee=Math[we?"min":"max"](Me,q);if(Me===(Be?Ee:true)){Fe=true;ae=Ce;te=E.errSchemaPath+"/"+Ce;Oe+="="}else{Fe=false;je+="="}}var Le="'"+je+"'";w+=" if ( ";if(ve){w+=" ("+Ee+" !== undefined && typeof "+Ee+" != 'number') || "}w+=" "+_e+" "+Oe+" "+Ee+" || "+_e+" !== "+_e+") { "}}ae=ae||k;var $e=$e||[];$e.push(w);w="";if(E.createErrors!==false){w+=" { keyword: '"+(ae||"_limit")+"' , dataPath: (dataPath || '') + "+E.errorPath+" , schemaPath: "+E.util.toQuotedString(te)+" , params: { comparison: "+Le+", limit: "+Ee+", exclusive: "+Fe+" } ";if(E.opts.messages!==false){w+=" , message: 'should be "+je+" ";if(ve){w+="' + "+Ee}else{w+=""+Ee+"'"}}if(E.opts.verbose){w+=" , schema: ";if(ve){w+="validate.schema"+ee}else{w+=""+q}w+=" , parentSchema: validate.schema"+E.schemaPath+" , data: "+_e+" "}w+=" } "}else{w+=" {} "}var ze=w;w=$e.pop();if(!E.compositeRule&&ne){if(E.async){w+=" throw new ValidationError(["+ze+"]); "}else{w+=" validate.errors = ["+ze+"]; return false; "}}else{w+=" var err = "+ze+"; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; "}w+=" } ";if(ne){w+=" else { "}return w}},6958:E=>{"use strict";E.exports=function generate__limitItems(E,k,S){var w=" ";var N=E.level;var j=E.dataLevel;var q=E.schema[k];var ee=E.schemaPath+E.util.getProperty(k);var te=E.errSchemaPath+"/"+k;var ne=!E.opts.allErrors;var ae;var _e="data"+(j||"");var ve=E.opts.$data&&q&&q.$data,Ee;if(ve){w+=" var schema"+N+" = "+E.util.getData(q.$data,j,E.dataPathArr)+"; ";Ee="schema"+N}else{Ee=q}if(!(ve||typeof q=="number")){throw new Error(k+" must be number")}var we=k=="maxItems"?">":"<";w+="if ( ";if(ve){w+=" ("+Ee+" !== undefined && typeof "+Ee+" != 'number') || "}w+=" "+_e+".length "+we+" "+Ee+") { ";var ae=k;var Ce=Ce||[];Ce.push(w);w="";if(E.createErrors!==false){w+=" { keyword: '"+(ae||"_limitItems")+"' , dataPath: (dataPath || '') + "+E.errorPath+" , schemaPath: "+E.util.toQuotedString(te)+" , params: { limit: "+Ee+" } ";if(E.opts.messages!==false){w+=" , message: 'should NOT have ";if(k=="maxItems"){w+="more"}else{w+="fewer"}w+=" than ";if(ve){w+="' + "+Ee+" + '"}else{w+=""+q}w+=" items' "}if(E.opts.verbose){w+=" , schema: ";if(ve){w+="validate.schema"+ee}else{w+=""+q}w+=" , parentSchema: validate.schema"+E.schemaPath+" , data: "+_e+" "}w+=" } "}else{w+=" {} "}var Me=w;w=Ce.pop();if(!E.compositeRule&&ne){if(E.async){w+=" throw new ValidationError(["+Me+"]); "}else{w+=" validate.errors = ["+Me+"]; return false; "}}else{w+=" var err = "+Me+"; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; "}w+="} ";if(ne){w+=" else { "}return w}},41363:E=>{"use strict";E.exports=function generate__limitLength(E,k,S){var w=" ";var N=E.level;var j=E.dataLevel;var q=E.schema[k];var ee=E.schemaPath+E.util.getProperty(k);var te=E.errSchemaPath+"/"+k;var ne=!E.opts.allErrors;var ae;var _e="data"+(j||"");var ve=E.opts.$data&&q&&q.$data,Ee;if(ve){w+=" var schema"+N+" = "+E.util.getData(q.$data,j,E.dataPathArr)+"; ";Ee="schema"+N}else{Ee=q}if(!(ve||typeof q=="number")){throw new Error(k+" must be number")}var we=k=="maxLength"?">":"<";w+="if ( ";if(ve){w+=" ("+Ee+" !== undefined && typeof "+Ee+" != 'number') || "}if(E.opts.unicode===false){w+=" "+_e+".length "}else{w+=" ucs2length("+_e+") "}w+=" "+we+" "+Ee+") { ";var ae=k;var Ce=Ce||[];Ce.push(w);w="";if(E.createErrors!==false){w+=" { keyword: '"+(ae||"_limitLength")+"' , dataPath: (dataPath || '') + "+E.errorPath+" , schemaPath: "+E.util.toQuotedString(te)+" , params: { limit: "+Ee+" } ";if(E.opts.messages!==false){w+=" , message: 'should NOT be ";if(k=="maxLength"){w+="longer"}else{w+="shorter"}w+=" than ";if(ve){w+="' + "+Ee+" + '"}else{w+=""+q}w+=" characters' "}if(E.opts.verbose){w+=" , schema: ";if(ve){w+="validate.schema"+ee}else{w+=""+q}w+=" , parentSchema: validate.schema"+E.schemaPath+" , data: "+_e+" "}w+=" } "}else{w+=" {} "}var Me=w;w=Ce.pop();if(!E.compositeRule&&ne){if(E.async){w+=" throw new ValidationError(["+Me+"]); "}else{w+=" validate.errors = ["+Me+"]; return false; "}}else{w+=" var err = "+Me+"; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; "}w+="} ";if(ne){w+=" else { "}return w}},25569:E=>{"use strict";E.exports=function generate__limitProperties(E,k,S){var w=" ";var N=E.level;var j=E.dataLevel;var q=E.schema[k];var ee=E.schemaPath+E.util.getProperty(k);var te=E.errSchemaPath+"/"+k;var ne=!E.opts.allErrors;var ae;var _e="data"+(j||"");var ve=E.opts.$data&&q&&q.$data,Ee;if(ve){w+=" var schema"+N+" = "+E.util.getData(q.$data,j,E.dataPathArr)+"; ";Ee="schema"+N}else{Ee=q}if(!(ve||typeof q=="number")){throw new Error(k+" must be number")}var we=k=="maxProperties"?">":"<";w+="if ( ";if(ve){w+=" ("+Ee+" !== undefined && typeof "+Ee+" != 'number') || "}w+=" Object.keys("+_e+").length "+we+" "+Ee+") { ";var ae=k;var Ce=Ce||[];Ce.push(w);w="";if(E.createErrors!==false){w+=" { keyword: '"+(ae||"_limitProperties")+"' , dataPath: (dataPath || '') + "+E.errorPath+" , schemaPath: "+E.util.toQuotedString(te)+" , params: { limit: "+Ee+" } ";if(E.opts.messages!==false){w+=" , message: 'should NOT have ";if(k=="maxProperties"){w+="more"}else{w+="fewer"}w+=" than ";if(ve){w+="' + "+Ee+" + '"}else{w+=""+q}w+=" properties' "}if(E.opts.verbose){w+=" , schema: ";if(ve){w+="validate.schema"+ee}else{w+=""+q}w+=" , parentSchema: validate.schema"+E.schemaPath+" , data: "+_e+" "}w+=" } "}else{w+=" {} "}var Me=w;w=Ce.pop();if(!E.compositeRule&&ne){if(E.async){w+=" throw new ValidationError(["+Me+"]); "}else{w+=" validate.errors = ["+Me+"]; return false; "}}else{w+=" var err = "+Me+"; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; "}w+="} ";if(ne){w+=" else { "}return w}},30081:E=>{"use strict";E.exports=function generate_allOf(E,k,S){var w=" ";var N=E.schema[k];var j=E.schemaPath+E.util.getProperty(k);var q=E.errSchemaPath+"/"+k;var ee=!E.opts.allErrors;var te=E.util.copy(E);var ne="";te.level++;var ae="valid"+te.level;var _e=te.baseId,ve=true;var Ee=N;if(Ee){var we,Ce=-1,Me=Ee.length-1;while(Ce0||we===false:E.util.schemaHasRules(we,E.RULES.all)){ve=false;te.schema=we;te.schemaPath=j+"["+Ce+"]";te.errSchemaPath=q+"/"+Ce;w+=" "+E.validate(te)+" ";te.baseId=_e;if(ee){w+=" if ("+ae+") { ";ne+="}"}}}}if(ee){if(ve){w+=" if (true) { "}else{w+=" "+ne.slice(0,-1)+" "}}return w}},70019:E=>{"use strict";E.exports=function generate_anyOf(E,k,S){var w=" ";var N=E.level;var j=E.dataLevel;var q=E.schema[k];var ee=E.schemaPath+E.util.getProperty(k);var te=E.errSchemaPath+"/"+k;var ne=!E.opts.allErrors;var ae="data"+(j||"");var _e="valid"+N;var ve="errs__"+N;var Ee=E.util.copy(E);var we="";Ee.level++;var Ce="valid"+Ee.level;var Me=q.every((function(k){return E.opts.strictKeywords?typeof k=="object"&&Object.keys(k).length>0||k===false:E.util.schemaHasRules(k,E.RULES.all)}));if(Me){var Te=Ee.baseId;w+=" var "+ve+" = errors; var "+_e+" = false; ";var Ie=E.compositeRule;E.compositeRule=Ee.compositeRule=true;var Oe=q;if(Oe){var Re,Fe=-1,Ne=Oe.length-1;while(Fe{"use strict";E.exports=function generate_comment(E,k,S){var w=" ";var N=E.schema[k];var j=E.errSchemaPath+"/"+k;var q=!E.opts.allErrors;var ee=E.util.toQuotedString(N);if(E.opts.$comment===true){w+=" console.log("+ee+");"}else if(typeof E.opts.$comment=="function"){w+=" self._opts.$comment("+ee+", "+E.util.toQuotedString(j)+", validate.root.schema);"}return w}},23404:E=>{"use strict";E.exports=function generate_const(E,k,S){var w=" ";var N=E.level;var j=E.dataLevel;var q=E.schema[k];var ee=E.schemaPath+E.util.getProperty(k);var te=E.errSchemaPath+"/"+k;var ne=!E.opts.allErrors;var ae="data"+(j||"");var _e="valid"+N;var ve=E.opts.$data&&q&&q.$data,Ee;if(ve){w+=" var schema"+N+" = "+E.util.getData(q.$data,j,E.dataPathArr)+"; ";Ee="schema"+N}else{Ee=q}if(!ve){w+=" var schema"+N+" = validate.schema"+ee+";"}w+="var "+_e+" = equal("+ae+", schema"+N+"); if (!"+_e+") { ";var we=we||[];we.push(w);w="";if(E.createErrors!==false){w+=" { keyword: '"+"const"+"' , dataPath: (dataPath || '') + "+E.errorPath+" , schemaPath: "+E.util.toQuotedString(te)+" , params: { allowedValue: schema"+N+" } ";if(E.opts.messages!==false){w+=" , message: 'should be equal to constant' "}if(E.opts.verbose){w+=" , schema: validate.schema"+ee+" , parentSchema: validate.schema"+E.schemaPath+" , data: "+ae+" "}w+=" } "}else{w+=" {} "}var Ce=w;w=we.pop();if(!E.compositeRule&&ne){if(E.async){w+=" throw new ValidationError(["+Ce+"]); "}else{w+=" validate.errors = ["+Ce+"]; return false; "}}else{w+=" var err = "+Ce+"; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; "}w+=" }";if(ne){w+=" else { "}return w}},33224:E=>{"use strict";E.exports=function generate_contains(E,k,S){var w=" ";var N=E.level;var j=E.dataLevel;var q=E.schema[k];var ee=E.schemaPath+E.util.getProperty(k);var te=E.errSchemaPath+"/"+k;var ne=!E.opts.allErrors;var ae="data"+(j||"");var _e="valid"+N;var ve="errs__"+N;var Ee=E.util.copy(E);var we="";Ee.level++;var Ce="valid"+Ee.level;var Me="i"+N,Te=Ee.dataLevel=E.dataLevel+1,Ie="data"+Te,Oe=E.baseId,Re=E.opts.strictKeywords?typeof q=="object"&&Object.keys(q).length>0||q===false:E.util.schemaHasRules(q,E.RULES.all);w+="var "+ve+" = errors;var "+_e+";";if(Re){var Fe=E.compositeRule;E.compositeRule=Ee.compositeRule=true;Ee.schema=q;Ee.schemaPath=ee;Ee.errSchemaPath=te;w+=" var "+Ce+" = false; for (var "+Me+" = 0; "+Me+" < "+ae+".length; "+Me+"++) { ";Ee.errorPath=E.util.getPathExpr(E.errorPath,Me,E.opts.jsonPointers,true);var Ne=ae+"["+Me+"]";Ee.dataPathArr[Te]=Me;var Be=E.validate(Ee);Ee.baseId=Oe;if(E.util.varOccurences(Be,Ie)<2){w+=" "+E.util.varReplace(Be,Ie,Ne)+" "}else{w+=" var "+Ie+" = "+Ne+"; "+Be+" "}w+=" if ("+Ce+") break; } ";E.compositeRule=Ee.compositeRule=Fe;w+=" "+we+" if (!"+Ce+") {"}else{w+=" if ("+ae+".length == 0) {"}var Le=Le||[];Le.push(w);w="";if(E.createErrors!==false){w+=" { keyword: '"+"contains"+"' , dataPath: (dataPath || '') + "+E.errorPath+" , schemaPath: "+E.util.toQuotedString(te)+" , params: {} ";if(E.opts.messages!==false){w+=" , message: 'should contain a valid item' "}if(E.opts.verbose){w+=" , schema: validate.schema"+ee+" , parentSchema: validate.schema"+E.schemaPath+" , data: "+ae+" "}w+=" } "}else{w+=" {} "}var je=w;w=Le.pop();if(!E.compositeRule&&ne){if(E.async){w+=" throw new ValidationError(["+je+"]); "}else{w+=" validate.errors = ["+je+"]; return false; "}}else{w+=" var err = "+je+"; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; "}w+=" } else { ";if(Re){w+=" errors = "+ve+"; if (vErrors !== null) { if ("+ve+") vErrors.length = "+ve+"; else vErrors = null; } "}if(E.opts.allErrors){w+=" } "}return w}},99819:E=>{"use strict";E.exports=function generate_custom(E,k,S){var w=" ";var N=E.level;var j=E.dataLevel;var q=E.schema[k];var ee=E.schemaPath+E.util.getProperty(k);var te=E.errSchemaPath+"/"+k;var ne=!E.opts.allErrors;var ae;var _e="data"+(j||"");var ve="valid"+N;var Ee="errs__"+N;var we=E.opts.$data&&q&&q.$data,Ce;if(we){w+=" var schema"+N+" = "+E.util.getData(q.$data,j,E.dataPathArr)+"; ";Ce="schema"+N}else{Ce=q}var Me=this,Te="definition"+N,Ie=Me.definition,Oe="";var Re,Fe,Ne,Be,Le;if(we&&Ie.$data){Le="keywordValidate"+N;var je=Ie.validateSchema;w+=" var "+Te+" = RULES.custom['"+k+"'].definition; var "+Le+" = "+Te+".validate;"}else{Be=E.useCustomRule(Me,q,E.schema,E);if(!Be)return;Ce="validate.schema"+ee;Le=Be.code;Re=Ie.compile;Fe=Ie.inline;Ne=Ie.macro}var $e=Le+".errors",ze="i"+N,Ue="ruleErr"+N,Ge=Ie.async;if(Ge&&!E.async)throw new Error("async keyword in sync schema");if(!(Fe||Ne)){w+=""+$e+" = null;"}w+="var "+Ee+" = errors;var "+ve+";";if(we&&Ie.$data){Oe+="}";w+=" if ("+Ce+" === undefined) { "+ve+" = true; } else { ";if(je){Oe+="}";w+=" "+ve+" = "+Te+".validateSchema("+Ce+"); if ("+ve+") { "}}if(Fe){if(Ie.statements){w+=" "+Be.validate+" "}else{w+=" "+ve+" = "+Be.validate+"; "}}else if(Ne){var qe=E.util.copy(E);var Oe="";qe.level++;var Ve="valid"+qe.level;qe.schema=Be.validate;qe.schemaPath="";var He=E.compositeRule;E.compositeRule=qe.compositeRule=true;var We=E.validate(qe).replace(/validate\.schema/g,Le);E.compositeRule=qe.compositeRule=He;w+=" "+We}else{var Ke=Ke||[];Ke.push(w);w="";w+=" "+Le+".call( ";if(E.opts.passContext){w+="this"}else{w+="self"}if(Re||Ie.schema===false){w+=" , "+_e+" "}else{w+=" , "+Ce+" , "+_e+" , validate.schema"+E.schemaPath+" "}w+=" , (dataPath || '')";if(E.errorPath!='""'){w+=" + "+E.errorPath}var Xe=j?"data"+(j-1||""):"parentData",Qe=j?E.dataPathArr[j]:"parentDataProperty";w+=" , "+Xe+" , "+Qe+" , rootData ) ";var Je=w;w=Ke.pop();if(Ie.errors===false){w+=" "+ve+" = ";if(Ge){w+="await "}w+=""+Je+"; "}else{if(Ge){$e="customErrors"+N;w+=" var "+$e+" = null; try { "+ve+" = await "+Je+"; } catch (e) { "+ve+" = false; if (e instanceof ValidationError) "+$e+" = e.errors; else throw e; } "}else{w+=" "+$e+" = null; "+ve+" = "+Je+"; "}}}if(Ie.modifying){w+=" if ("+Xe+") "+_e+" = "+Xe+"["+Qe+"];"}w+=""+Oe;if(Ie.valid){if(ne){w+=" if (true) { "}}else{w+=" if ( ";if(Ie.valid===undefined){w+=" !";if(Ne){w+=""+Ve}else{w+=""+ve}}else{w+=" "+!Ie.valid+" "}w+=") { ";ae=Me.keyword;var Ke=Ke||[];Ke.push(w);w="";var Ke=Ke||[];Ke.push(w);w="";if(E.createErrors!==false){w+=" { keyword: '"+(ae||"custom")+"' , dataPath: (dataPath || '') + "+E.errorPath+" , schemaPath: "+E.util.toQuotedString(te)+" , params: { keyword: '"+Me.keyword+"' } ";if(E.opts.messages!==false){w+=" , message: 'should pass \""+Me.keyword+"\" keyword validation' "}if(E.opts.verbose){w+=" , schema: validate.schema"+ee+" , parentSchema: validate.schema"+E.schemaPath+" , data: "+_e+" "}w+=" } "}else{w+=" {} "}var Ye=w;w=Ke.pop();if(!E.compositeRule&&ne){if(E.async){w+=" throw new ValidationError(["+Ye+"]); "}else{w+=" validate.errors = ["+Ye+"]; return false; "}}else{w+=" var err = "+Ye+"; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; "}var Ze=w;w=Ke.pop();if(Fe){if(Ie.errors){if(Ie.errors!="full"){w+=" for (var "+ze+"="+Ee+"; "+ze+"{"use strict";E.exports=function generate_dependencies(E,k,S){var w=" ";var N=E.level;var j=E.dataLevel;var q=E.schema[k];var ee=E.schemaPath+E.util.getProperty(k);var te=E.errSchemaPath+"/"+k;var ne=!E.opts.allErrors;var ae="data"+(j||"");var _e="errs__"+N;var ve=E.util.copy(E);var Ee="";ve.level++;var we="valid"+ve.level;var Ce={},Me={},Te=E.opts.ownProperties;for(Fe in q){if(Fe=="__proto__")continue;var Ie=q[Fe];var Oe=Array.isArray(Ie)?Me:Ce;Oe[Fe]=Ie}w+="var "+_e+" = errors;";var Re=E.errorPath;w+="var missing"+N+";";for(var Fe in Me){Oe=Me[Fe];if(Oe.length){w+=" if ( "+ae+E.util.getProperty(Fe)+" !== undefined ";if(Te){w+=" && Object.prototype.hasOwnProperty.call("+ae+", '"+E.util.escapeQuotes(Fe)+"') "}if(ne){w+=" && ( ";var Ne=Oe;if(Ne){var Be,Le=-1,je=Ne.length-1;while(Le0||Ie===false:E.util.schemaHasRules(Ie,E.RULES.all)){w+=" "+we+" = true; if ( "+ae+E.util.getProperty(Fe)+" !== undefined ";if(Te){w+=" && Object.prototype.hasOwnProperty.call("+ae+", '"+E.util.escapeQuotes(Fe)+"') "}w+=") { ";ve.schema=Ie;ve.schemaPath=ee+E.util.getProperty(Fe);ve.errSchemaPath=te+"/"+E.util.escapeFragment(Fe);w+=" "+E.validate(ve)+" ";ve.baseId=Xe;w+=" } ";if(ne){w+=" if ("+we+") { ";Ee+="}"}}}if(ne){w+=" "+Ee+" if ("+_e+" == errors) {"}return w}},20489:E=>{"use strict";E.exports=function generate_enum(E,k,S){var w=" ";var N=E.level;var j=E.dataLevel;var q=E.schema[k];var ee=E.schemaPath+E.util.getProperty(k);var te=E.errSchemaPath+"/"+k;var ne=!E.opts.allErrors;var ae="data"+(j||"");var _e="valid"+N;var ve=E.opts.$data&&q&&q.$data,Ee;if(ve){w+=" var schema"+N+" = "+E.util.getData(q.$data,j,E.dataPathArr)+"; ";Ee="schema"+N}else{Ee=q}var we="i"+N,Ce="schema"+N;if(!ve){w+=" var "+Ce+" = validate.schema"+ee+";"}w+="var "+_e+";";if(ve){w+=" if (schema"+N+" === undefined) "+_e+" = true; else if (!Array.isArray(schema"+N+")) "+_e+" = false; else {"}w+=""+_e+" = false;for (var "+we+"=0; "+we+"<"+Ce+".length; "+we+"++) if (equal("+ae+", "+Ce+"["+we+"])) { "+_e+" = true; break; }";if(ve){w+=" } "}w+=" if (!"+_e+") { ";var Me=Me||[];Me.push(w);w="";if(E.createErrors!==false){w+=" { keyword: '"+"enum"+"' , dataPath: (dataPath || '') + "+E.errorPath+" , schemaPath: "+E.util.toQuotedString(te)+" , params: { allowedValues: schema"+N+" } ";if(E.opts.messages!==false){w+=" , message: 'should be equal to one of the allowed values' "}if(E.opts.verbose){w+=" , schema: validate.schema"+ee+" , parentSchema: validate.schema"+E.schemaPath+" , data: "+ae+" "}w+=" } "}else{w+=" {} "}var Te=w;w=Me.pop();if(!E.compositeRule&&ne){if(E.async){w+=" throw new ValidationError(["+Te+"]); "}else{w+=" validate.errors = ["+Te+"]; return false; "}}else{w+=" var err = "+Te+"; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; "}w+=" }";if(ne){w+=" else { "}return w}},69090:E=>{"use strict";E.exports=function generate_format(E,k,S){var w=" ";var N=E.level;var j=E.dataLevel;var q=E.schema[k];var ee=E.schemaPath+E.util.getProperty(k);var te=E.errSchemaPath+"/"+k;var ne=!E.opts.allErrors;var ae="data"+(j||"");if(E.opts.format===false){if(ne){w+=" if (true) { "}return w}var _e=E.opts.$data&&q&&q.$data,ve;if(_e){w+=" var schema"+N+" = "+E.util.getData(q.$data,j,E.dataPathArr)+"; ";ve="schema"+N}else{ve=q}var Ee=E.opts.unknownFormats,we=Array.isArray(Ee);if(_e){var Ce="format"+N,Me="isObject"+N,Te="formatType"+N;w+=" var "+Ce+" = formats["+ve+"]; var "+Me+" = typeof "+Ce+" == 'object' && !("+Ce+" instanceof RegExp) && "+Ce+".validate; var "+Te+" = "+Me+" && "+Ce+".type || 'string'; if ("+Me+") { ";if(E.async){w+=" var async"+N+" = "+Ce+".async; "}w+=" "+Ce+" = "+Ce+".validate; } if ( ";if(_e){w+=" ("+ve+" !== undefined && typeof "+ve+" != 'string') || "}w+=" (";if(Ee!="ignore"){w+=" ("+ve+" && !"+Ce+" ";if(we){w+=" && self._opts.unknownFormats.indexOf("+ve+") == -1 "}w+=") || "}w+=" ("+Ce+" && "+Te+" == '"+S+"' && !(typeof "+Ce+" == 'function' ? ";if(E.async){w+=" (async"+N+" ? await "+Ce+"("+ae+") : "+Ce+"("+ae+")) "}else{w+=" "+Ce+"("+ae+") "}w+=" : "+Ce+".test("+ae+"))))) {"}else{var Ce=E.formats[q];if(!Ce){if(Ee=="ignore"){E.logger.warn('unknown format "'+q+'" ignored in schema at path "'+E.errSchemaPath+'"');if(ne){w+=" if (true) { "}return w}else if(we&&Ee.indexOf(q)>=0){if(ne){w+=" if (true) { "}return w}else{throw new Error('unknown format "'+q+'" is used in schema at path "'+E.errSchemaPath+'"')}}var Me=typeof Ce=="object"&&!(Ce instanceof RegExp)&&Ce.validate;var Te=Me&&Ce.type||"string";if(Me){var Ie=Ce.async===true;Ce=Ce.validate}if(Te!=S){if(ne){w+=" if (true) { "}return w}if(Ie){if(!E.async)throw new Error("async format in sync schema");var Oe="formats"+E.util.getProperty(q)+".validate";w+=" if (!(await "+Oe+"("+ae+"))) { "}else{w+=" if (! ";var Oe="formats"+E.util.getProperty(q);if(Me)Oe+=".validate";if(typeof Ce=="function"){w+=" "+Oe+"("+ae+") "}else{w+=" "+Oe+".test("+ae+") "}w+=") { "}}var Re=Re||[];Re.push(w);w="";if(E.createErrors!==false){w+=" { keyword: '"+"format"+"' , dataPath: (dataPath || '') + "+E.errorPath+" , schemaPath: "+E.util.toQuotedString(te)+" , params: { format: ";if(_e){w+=""+ve}else{w+=""+E.util.toQuotedString(q)}w+=" } ";if(E.opts.messages!==false){w+=" , message: 'should match format \"";if(_e){w+="' + "+ve+" + '"}else{w+=""+E.util.escapeQuotes(q)}w+="\"' "}if(E.opts.verbose){w+=" , schema: ";if(_e){w+="validate.schema"+ee}else{w+=""+E.util.toQuotedString(q)}w+=" , parentSchema: validate.schema"+E.schemaPath+" , data: "+ae+" "}w+=" } "}else{w+=" {} "}var Fe=w;w=Re.pop();if(!E.compositeRule&&ne){if(E.async){w+=" throw new ValidationError(["+Fe+"]); "}else{w+=" validate.errors = ["+Fe+"]; return false; "}}else{w+=" var err = "+Fe+"; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; "}w+=" } ";if(ne){w+=" else { "}return w}},1636:E=>{"use strict";E.exports=function generate_if(E,k,S){var w=" ";var N=E.level;var j=E.dataLevel;var q=E.schema[k];var ee=E.schemaPath+E.util.getProperty(k);var te=E.errSchemaPath+"/"+k;var ne=!E.opts.allErrors;var ae="data"+(j||"");var _e="valid"+N;var ve="errs__"+N;var Ee=E.util.copy(E);Ee.level++;var we="valid"+Ee.level;var Ce=E.schema["then"],Me=E.schema["else"],Te=Ce!==undefined&&(E.opts.strictKeywords?typeof Ce=="object"&&Object.keys(Ce).length>0||Ce===false:E.util.schemaHasRules(Ce,E.RULES.all)),Ie=Me!==undefined&&(E.opts.strictKeywords?typeof Me=="object"&&Object.keys(Me).length>0||Me===false:E.util.schemaHasRules(Me,E.RULES.all)),Oe=Ee.baseId;if(Te||Ie){var Re;Ee.createErrors=false;Ee.schema=q;Ee.schemaPath=ee;Ee.errSchemaPath=te;w+=" var "+ve+" = errors; var "+_e+" = true; ";var Fe=E.compositeRule;E.compositeRule=Ee.compositeRule=true;w+=" "+E.validate(Ee)+" ";Ee.baseId=Oe;Ee.createErrors=true;w+=" errors = "+ve+"; if (vErrors !== null) { if ("+ve+") vErrors.length = "+ve+"; else vErrors = null; } ";E.compositeRule=Ee.compositeRule=Fe;if(Te){w+=" if ("+we+") { ";Ee.schema=E.schema["then"];Ee.schemaPath=E.schemaPath+".then";Ee.errSchemaPath=E.errSchemaPath+"/then";w+=" "+E.validate(Ee)+" ";Ee.baseId=Oe;w+=" "+_e+" = "+we+"; ";if(Te&&Ie){Re="ifClause"+N;w+=" var "+Re+" = 'then'; "}else{Re="'then'"}w+=" } ";if(Ie){w+=" else { "}}else{w+=" if (!"+we+") { "}if(Ie){Ee.schema=E.schema["else"];Ee.schemaPath=E.schemaPath+".else";Ee.errSchemaPath=E.errSchemaPath+"/else";w+=" "+E.validate(Ee)+" ";Ee.baseId=Oe;w+=" "+_e+" = "+we+"; ";if(Te&&Ie){Re="ifClause"+N;w+=" var "+Re+" = 'else'; "}else{Re="'else'"}w+=" } "}w+=" if (!"+_e+") { var err = ";if(E.createErrors!==false){w+=" { keyword: '"+"if"+"' , dataPath: (dataPath || '') + "+E.errorPath+" , schemaPath: "+E.util.toQuotedString(te)+" , params: { failingKeyword: "+Re+" } ";if(E.opts.messages!==false){w+=" , message: 'should match \"' + "+Re+" + '\" schema' "}if(E.opts.verbose){w+=" , schema: validate.schema"+ee+" , parentSchema: validate.schema"+E.schemaPath+" , data: "+ae+" "}w+=" } "}else{w+=" {} "}w+="; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; ";if(!E.compositeRule&&ne){if(E.async){w+=" throw new ValidationError(vErrors); "}else{w+=" validate.errors = vErrors; return false; "}}w+=" } ";if(ne){w+=" else { "}}else{if(ne){w+=" if (true) { "}}return w}},71001:(E,k,S)=>{"use strict";E.exports={$ref:S(41944),allOf:S(30081),anyOf:S(70019),$comment:S(79878),const:S(23404),contains:S(33224),dependencies:S(19493),enum:S(20489),format:S(69090),if:S(1636),items:S(6060),maximum:S(70507),minimum:S(70507),maxItems:S(6958),minItems:S(6958),maxLength:S(41363),minLength:S(41363),maxProperties:S(25569),minProperties:S(25569),multipleOf:S(54841),not:S(74881),oneOf:S(77675),pattern:S(98676),properties:S(99306),propertyNames:S(28014),required:S(16372),uniqueItems:S(37270),validate:S(85061)}},6060:E=>{"use strict";E.exports=function generate_items(E,k,S){var w=" ";var N=E.level;var j=E.dataLevel;var q=E.schema[k];var ee=E.schemaPath+E.util.getProperty(k);var te=E.errSchemaPath+"/"+k;var ne=!E.opts.allErrors;var ae="data"+(j||"");var _e="valid"+N;var ve="errs__"+N;var Ee=E.util.copy(E);var we="";Ee.level++;var Ce="valid"+Ee.level;var Me="i"+N,Te=Ee.dataLevel=E.dataLevel+1,Ie="data"+Te,Oe=E.baseId;w+="var "+ve+" = errors;var "+_e+";";if(Array.isArray(q)){var Re=E.schema.additionalItems;if(Re===false){w+=" "+_e+" = "+ae+".length <= "+q.length+"; ";var Fe=te;te=E.errSchemaPath+"/additionalItems";w+=" if (!"+_e+") { ";var Ne=Ne||[];Ne.push(w);w="";if(E.createErrors!==false){w+=" { keyword: '"+"additionalItems"+"' , dataPath: (dataPath || '') + "+E.errorPath+" , schemaPath: "+E.util.toQuotedString(te)+" , params: { limit: "+q.length+" } ";if(E.opts.messages!==false){w+=" , message: 'should NOT have more than "+q.length+" items' "}if(E.opts.verbose){w+=" , schema: false , parentSchema: validate.schema"+E.schemaPath+" , data: "+ae+" "}w+=" } "}else{w+=" {} "}var Be=w;w=Ne.pop();if(!E.compositeRule&&ne){if(E.async){w+=" throw new ValidationError(["+Be+"]); "}else{w+=" validate.errors = ["+Be+"]; return false; "}}else{w+=" var err = "+Be+"; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; "}w+=" } ";te=Fe;if(ne){we+="}";w+=" else { "}}var Le=q;if(Le){var je,$e=-1,ze=Le.length-1;while($e0||je===false:E.util.schemaHasRules(je,E.RULES.all)){w+=" "+Ce+" = true; if ("+ae+".length > "+$e+") { ";var Ue=ae+"["+$e+"]";Ee.schema=je;Ee.schemaPath=ee+"["+$e+"]";Ee.errSchemaPath=te+"/"+$e;Ee.errorPath=E.util.getPathExpr(E.errorPath,$e,E.opts.jsonPointers,true);Ee.dataPathArr[Te]=$e;var Ge=E.validate(Ee);Ee.baseId=Oe;if(E.util.varOccurences(Ge,Ie)<2){w+=" "+E.util.varReplace(Ge,Ie,Ue)+" "}else{w+=" var "+Ie+" = "+Ue+"; "+Ge+" "}w+=" } ";if(ne){w+=" if ("+Ce+") { ";we+="}"}}}}if(typeof Re=="object"&&(E.opts.strictKeywords?typeof Re=="object"&&Object.keys(Re).length>0||Re===false:E.util.schemaHasRules(Re,E.RULES.all))){Ee.schema=Re;Ee.schemaPath=E.schemaPath+".additionalItems";Ee.errSchemaPath=E.errSchemaPath+"/additionalItems";w+=" "+Ce+" = true; if ("+ae+".length > "+q.length+") { for (var "+Me+" = "+q.length+"; "+Me+" < "+ae+".length; "+Me+"++) { ";Ee.errorPath=E.util.getPathExpr(E.errorPath,Me,E.opts.jsonPointers,true);var Ue=ae+"["+Me+"]";Ee.dataPathArr[Te]=Me;var Ge=E.validate(Ee);Ee.baseId=Oe;if(E.util.varOccurences(Ge,Ie)<2){w+=" "+E.util.varReplace(Ge,Ie,Ue)+" "}else{w+=" var "+Ie+" = "+Ue+"; "+Ge+" "}if(ne){w+=" if (!"+Ce+") break; "}w+=" } } ";if(ne){w+=" if ("+Ce+") { ";we+="}"}}}else if(E.opts.strictKeywords?typeof q=="object"&&Object.keys(q).length>0||q===false:E.util.schemaHasRules(q,E.RULES.all)){Ee.schema=q;Ee.schemaPath=ee;Ee.errSchemaPath=te;w+=" for (var "+Me+" = "+0+"; "+Me+" < "+ae+".length; "+Me+"++) { ";Ee.errorPath=E.util.getPathExpr(E.errorPath,Me,E.opts.jsonPointers,true);var Ue=ae+"["+Me+"]";Ee.dataPathArr[Te]=Me;var Ge=E.validate(Ee);Ee.baseId=Oe;if(E.util.varOccurences(Ge,Ie)<2){w+=" "+E.util.varReplace(Ge,Ie,Ue)+" "}else{w+=" var "+Ie+" = "+Ue+"; "+Ge+" "}if(ne){w+=" if (!"+Ce+") break; "}w+=" }"}if(ne){w+=" "+we+" if ("+ve+" == errors) {"}return w}},54841:E=>{"use strict";E.exports=function generate_multipleOf(E,k,S){var w=" ";var N=E.level;var j=E.dataLevel;var q=E.schema[k];var ee=E.schemaPath+E.util.getProperty(k);var te=E.errSchemaPath+"/"+k;var ne=!E.opts.allErrors;var ae="data"+(j||"");var _e=E.opts.$data&&q&&q.$data,ve;if(_e){w+=" var schema"+N+" = "+E.util.getData(q.$data,j,E.dataPathArr)+"; ";ve="schema"+N}else{ve=q}if(!(_e||typeof q=="number")){throw new Error(k+" must be number")}w+="var division"+N+";if (";if(_e){w+=" "+ve+" !== undefined && ( typeof "+ve+" != 'number' || "}w+=" (division"+N+" = "+ae+" / "+ve+", ";if(E.opts.multipleOfPrecision){w+=" Math.abs(Math.round(division"+N+") - division"+N+") > 1e-"+E.opts.multipleOfPrecision+" "}else{w+=" division"+N+" !== parseInt(division"+N+") "}w+=" ) ";if(_e){w+=" ) "}w+=" ) { ";var Ee=Ee||[];Ee.push(w);w="";if(E.createErrors!==false){w+=" { keyword: '"+"multipleOf"+"' , dataPath: (dataPath || '') + "+E.errorPath+" , schemaPath: "+E.util.toQuotedString(te)+" , params: { multipleOf: "+ve+" } ";if(E.opts.messages!==false){w+=" , message: 'should be multiple of ";if(_e){w+="' + "+ve}else{w+=""+ve+"'"}}if(E.opts.verbose){w+=" , schema: ";if(_e){w+="validate.schema"+ee}else{w+=""+q}w+=" , parentSchema: validate.schema"+E.schemaPath+" , data: "+ae+" "}w+=" } "}else{w+=" {} "}var we=w;w=Ee.pop();if(!E.compositeRule&&ne){if(E.async){w+=" throw new ValidationError(["+we+"]); "}else{w+=" validate.errors = ["+we+"]; return false; "}}else{w+=" var err = "+we+"; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; "}w+="} ";if(ne){w+=" else { "}return w}},74881:E=>{"use strict";E.exports=function generate_not(E,k,S){var w=" ";var N=E.level;var j=E.dataLevel;var q=E.schema[k];var ee=E.schemaPath+E.util.getProperty(k);var te=E.errSchemaPath+"/"+k;var ne=!E.opts.allErrors;var ae="data"+(j||"");var _e="errs__"+N;var ve=E.util.copy(E);ve.level++;var Ee="valid"+ve.level;if(E.opts.strictKeywords?typeof q=="object"&&Object.keys(q).length>0||q===false:E.util.schemaHasRules(q,E.RULES.all)){ve.schema=q;ve.schemaPath=ee;ve.errSchemaPath=te;w+=" var "+_e+" = errors; ";var we=E.compositeRule;E.compositeRule=ve.compositeRule=true;ve.createErrors=false;var Ce;if(ve.opts.allErrors){Ce=ve.opts.allErrors;ve.opts.allErrors=false}w+=" "+E.validate(ve)+" ";ve.createErrors=true;if(Ce)ve.opts.allErrors=Ce;E.compositeRule=ve.compositeRule=we;w+=" if ("+Ee+") { ";var Me=Me||[];Me.push(w);w="";if(E.createErrors!==false){w+=" { keyword: '"+"not"+"' , dataPath: (dataPath || '') + "+E.errorPath+" , schemaPath: "+E.util.toQuotedString(te)+" , params: {} ";if(E.opts.messages!==false){w+=" , message: 'should NOT be valid' "}if(E.opts.verbose){w+=" , schema: validate.schema"+ee+" , parentSchema: validate.schema"+E.schemaPath+" , data: "+ae+" "}w+=" } "}else{w+=" {} "}var Te=w;w=Me.pop();if(!E.compositeRule&&ne){if(E.async){w+=" throw new ValidationError(["+Te+"]); "}else{w+=" validate.errors = ["+Te+"]; return false; "}}else{w+=" var err = "+Te+"; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; "}w+=" } else { errors = "+_e+"; if (vErrors !== null) { if ("+_e+") vErrors.length = "+_e+"; else vErrors = null; } ";if(E.opts.allErrors){w+=" } "}}else{w+=" var err = ";if(E.createErrors!==false){w+=" { keyword: '"+"not"+"' , dataPath: (dataPath || '') + "+E.errorPath+" , schemaPath: "+E.util.toQuotedString(te)+" , params: {} ";if(E.opts.messages!==false){w+=" , message: 'should NOT be valid' "}if(E.opts.verbose){w+=" , schema: validate.schema"+ee+" , parentSchema: validate.schema"+E.schemaPath+" , data: "+ae+" "}w+=" } "}else{w+=" {} "}w+="; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; ";if(ne){w+=" if (false) { "}}return w}},77675:E=>{"use strict";E.exports=function generate_oneOf(E,k,S){var w=" ";var N=E.level;var j=E.dataLevel;var q=E.schema[k];var ee=E.schemaPath+E.util.getProperty(k);var te=E.errSchemaPath+"/"+k;var ne=!E.opts.allErrors;var ae="data"+(j||"");var _e="valid"+N;var ve="errs__"+N;var Ee=E.util.copy(E);var we="";Ee.level++;var Ce="valid"+Ee.level;var Me=Ee.baseId,Te="prevValid"+N,Ie="passingSchemas"+N;w+="var "+ve+" = errors , "+Te+" = false , "+_e+" = false , "+Ie+" = null; ";var Oe=E.compositeRule;E.compositeRule=Ee.compositeRule=true;var Re=q;if(Re){var Fe,Ne=-1,Be=Re.length-1;while(Ne0||Fe===false:E.util.schemaHasRules(Fe,E.RULES.all)){Ee.schema=Fe;Ee.schemaPath=ee+"["+Ne+"]";Ee.errSchemaPath=te+"/"+Ne;w+=" "+E.validate(Ee)+" ";Ee.baseId=Me}else{w+=" var "+Ce+" = true; "}if(Ne){w+=" if ("+Ce+" && "+Te+") { "+_e+" = false; "+Ie+" = ["+Ie+", "+Ne+"]; } else { ";we+="}"}w+=" if ("+Ce+") { "+_e+" = "+Te+" = true; "+Ie+" = "+Ne+"; }"}}E.compositeRule=Ee.compositeRule=Oe;w+=""+we+"if (!"+_e+") { var err = ";if(E.createErrors!==false){w+=" { keyword: '"+"oneOf"+"' , dataPath: (dataPath || '') + "+E.errorPath+" , schemaPath: "+E.util.toQuotedString(te)+" , params: { passingSchemas: "+Ie+" } ";if(E.opts.messages!==false){w+=" , message: 'should match exactly one schema in oneOf' "}if(E.opts.verbose){w+=" , schema: validate.schema"+ee+" , parentSchema: validate.schema"+E.schemaPath+" , data: "+ae+" "}w+=" } "}else{w+=" {} "}w+="; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; ";if(!E.compositeRule&&ne){if(E.async){w+=" throw new ValidationError(vErrors); "}else{w+=" validate.errors = vErrors; return false; "}}w+="} else { errors = "+ve+"; if (vErrors !== null) { if ("+ve+") vErrors.length = "+ve+"; else vErrors = null; }";if(E.opts.allErrors){w+=" } "}return w}},98676:E=>{"use strict";E.exports=function generate_pattern(E,k,S){var w=" ";var N=E.level;var j=E.dataLevel;var q=E.schema[k];var ee=E.schemaPath+E.util.getProperty(k);var te=E.errSchemaPath+"/"+k;var ne=!E.opts.allErrors;var ae="data"+(j||"");var _e=E.opts.$data&&q&&q.$data,ve;if(_e){w+=" var schema"+N+" = "+E.util.getData(q.$data,j,E.dataPathArr)+"; ";ve="schema"+N}else{ve=q}var Ee=_e?"(new RegExp("+ve+"))":E.usePattern(q);w+="if ( ";if(_e){w+=" ("+ve+" !== undefined && typeof "+ve+" != 'string') || "}w+=" !"+Ee+".test("+ae+") ) { ";var we=we||[];we.push(w);w="";if(E.createErrors!==false){w+=" { keyword: '"+"pattern"+"' , dataPath: (dataPath || '') + "+E.errorPath+" , schemaPath: "+E.util.toQuotedString(te)+" , params: { pattern: ";if(_e){w+=""+ve}else{w+=""+E.util.toQuotedString(q)}w+=" } ";if(E.opts.messages!==false){w+=" , message: 'should match pattern \"";if(_e){w+="' + "+ve+" + '"}else{w+=""+E.util.escapeQuotes(q)}w+="\"' "}if(E.opts.verbose){w+=" , schema: ";if(_e){w+="validate.schema"+ee}else{w+=""+E.util.toQuotedString(q)}w+=" , parentSchema: validate.schema"+E.schemaPath+" , data: "+ae+" "}w+=" } "}else{w+=" {} "}var Ce=w;w=we.pop();if(!E.compositeRule&&ne){if(E.async){w+=" throw new ValidationError(["+Ce+"]); "}else{w+=" validate.errors = ["+Ce+"]; return false; "}}else{w+=" var err = "+Ce+"; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; "}w+="} ";if(ne){w+=" else { "}return w}},99306:E=>{"use strict";E.exports=function generate_properties(E,k,S){var w=" ";var N=E.level;var j=E.dataLevel;var q=E.schema[k];var ee=E.schemaPath+E.util.getProperty(k);var te=E.errSchemaPath+"/"+k;var ne=!E.opts.allErrors;var ae="data"+(j||"");var _e="errs__"+N;var ve=E.util.copy(E);var Ee="";ve.level++;var we="valid"+ve.level;var Ce="key"+N,Me="idx"+N,Te=ve.dataLevel=E.dataLevel+1,Ie="data"+Te,Oe="dataProperties"+N;var Re=Object.keys(q||{}).filter(notProto),Fe=E.schema.patternProperties||{},Ne=Object.keys(Fe).filter(notProto),Be=E.schema.additionalProperties,Le=Re.length||Ne.length,je=Be===false,$e=typeof Be=="object"&&Object.keys(Be).length,ze=E.opts.removeAdditional,Ue=je||$e||ze,Ge=E.opts.ownProperties,qe=E.baseId;var Ve=E.schema.required;if(Ve&&!(E.opts.$data&&Ve.$data)&&Ve.length8){w+=" || validate.schema"+ee+".hasOwnProperty("+Ce+") "}else{var We=Re;if(We){var Ke,Xe=-1,Qe=We.length-1;while(Xe0||ht===false:E.util.schemaHasRules(ht,E.RULES.all)){var mt=E.util.getProperty(Ke),ut=ae+mt,gt=ct&&ht.default!==undefined;ve.schema=ht;ve.schemaPath=ee+mt;ve.errSchemaPath=te+"/"+E.util.escapeFragment(Ke);ve.errorPath=E.util.getPath(E.errorPath,Ke,E.opts.jsonPointers);ve.dataPathArr[Te]=E.util.toQuotedString(Ke);var lt=E.validate(ve);ve.baseId=qe;if(E.util.varOccurences(lt,Ie)<2){lt=E.util.varReplace(lt,Ie,ut);var yt=ut}else{var yt=Ie;w+=" var "+Ie+" = "+ut+"; "}if(gt){w+=" "+lt+" "}else{if(He&&He[Ke]){w+=" if ( "+yt+" === undefined ";if(Ge){w+=" || ! Object.prototype.hasOwnProperty.call("+ae+", '"+E.util.escapeQuotes(Ke)+"') "}w+=") { "+we+" = false; ";var tt=E.errorPath,rt=te,_t=E.util.escapeQuotes(Ke);if(E.opts._errorDataPathProperty){E.errorPath=E.util.getPath(tt,Ke,E.opts.jsonPointers)}te=E.errSchemaPath+"/required";var it=it||[];it.push(w);w="";if(E.createErrors!==false){w+=" { keyword: '"+"required"+"' , dataPath: (dataPath || '') + "+E.errorPath+" , schemaPath: "+E.util.toQuotedString(te)+" , params: { missingProperty: '"+_t+"' } ";if(E.opts.messages!==false){w+=" , message: '";if(E.opts._errorDataPathProperty){w+="is a required property"}else{w+="should have required property \\'"+_t+"\\'"}w+="' "}if(E.opts.verbose){w+=" , schema: validate.schema"+ee+" , parentSchema: validate.schema"+E.schemaPath+" , data: "+ae+" "}w+=" } "}else{w+=" {} "}var st=w;w=it.pop();if(!E.compositeRule&&ne){if(E.async){w+=" throw new ValidationError(["+st+"]); "}else{w+=" validate.errors = ["+st+"]; return false; "}}else{w+=" var err = "+st+"; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; "}te=rt;E.errorPath=tt;w+=" } else { "}else{if(ne){w+=" if ( "+yt+" === undefined ";if(Ge){w+=" || ! Object.prototype.hasOwnProperty.call("+ae+", '"+E.util.escapeQuotes(Ke)+"') "}w+=") { "+we+" = true; } else { "}else{w+=" if ("+yt+" !== undefined ";if(Ge){w+=" && Object.prototype.hasOwnProperty.call("+ae+", '"+E.util.escapeQuotes(Ke)+"') "}w+=" ) { "}}w+=" "+lt+" } "}}if(ne){w+=" if ("+we+") { ";Ee+="}"}}}}if(Ne.length){var vt=Ne;if(vt){var Ye,bt=-1,Et=vt.length-1;while(bt0||ht===false:E.util.schemaHasRules(ht,E.RULES.all)){ve.schema=ht;ve.schemaPath=E.schemaPath+".patternProperties"+E.util.getProperty(Ye);ve.errSchemaPath=E.errSchemaPath+"/patternProperties/"+E.util.escapeFragment(Ye);if(Ge){w+=" "+Oe+" = "+Oe+" || Object.keys("+ae+"); for (var "+Me+"=0; "+Me+"<"+Oe+".length; "+Me+"++) { var "+Ce+" = "+Oe+"["+Me+"]; "}else{w+=" for (var "+Ce+" in "+ae+") { "}w+=" if ("+E.usePattern(Ye)+".test("+Ce+")) { ";ve.errorPath=E.util.getPathExpr(E.errorPath,Ce,E.opts.jsonPointers);var ut=ae+"["+Ce+"]";ve.dataPathArr[Te]=Ce;var lt=E.validate(ve);ve.baseId=qe;if(E.util.varOccurences(lt,Ie)<2){w+=" "+E.util.varReplace(lt,Ie,ut)+" "}else{w+=" var "+Ie+" = "+ut+"; "+lt+" "}if(ne){w+=" if (!"+we+") break; "}w+=" } ";if(ne){w+=" else "+we+" = true; "}w+=" } ";if(ne){w+=" if ("+we+") { ";Ee+="}"}}}}}if(ne){w+=" "+Ee+" if ("+_e+" == errors) {"}return w}},28014:E=>{"use strict";E.exports=function generate_propertyNames(E,k,S){var w=" ";var N=E.level;var j=E.dataLevel;var q=E.schema[k];var ee=E.schemaPath+E.util.getProperty(k);var te=E.errSchemaPath+"/"+k;var ne=!E.opts.allErrors;var ae="data"+(j||"");var _e="errs__"+N;var ve=E.util.copy(E);var Ee="";ve.level++;var we="valid"+ve.level;w+="var "+_e+" = errors;";if(E.opts.strictKeywords?typeof q=="object"&&Object.keys(q).length>0||q===false:E.util.schemaHasRules(q,E.RULES.all)){ve.schema=q;ve.schemaPath=ee;ve.errSchemaPath=te;var Ce="key"+N,Me="idx"+N,Te="i"+N,Ie="' + "+Ce+" + '",Oe=ve.dataLevel=E.dataLevel+1,Re="data"+Oe,Fe="dataProperties"+N,Ne=E.opts.ownProperties,Be=E.baseId;if(Ne){w+=" var "+Fe+" = undefined; "}if(Ne){w+=" "+Fe+" = "+Fe+" || Object.keys("+ae+"); for (var "+Me+"=0; "+Me+"<"+Fe+".length; "+Me+"++) { var "+Ce+" = "+Fe+"["+Me+"]; "}else{w+=" for (var "+Ce+" in "+ae+") { "}w+=" var startErrs"+N+" = errors; ";var Le=Ce;var je=E.compositeRule;E.compositeRule=ve.compositeRule=true;var $e=E.validate(ve);ve.baseId=Be;if(E.util.varOccurences($e,Re)<2){w+=" "+E.util.varReplace($e,Re,Le)+" "}else{w+=" var "+Re+" = "+Le+"; "+$e+" "}E.compositeRule=ve.compositeRule=je;w+=" if (!"+we+") { for (var "+Te+"=startErrs"+N+"; "+Te+"{"use strict";E.exports=function generate_ref(E,k,S){var w=" ";var N=E.level;var j=E.dataLevel;var q=E.schema[k];var ee=E.errSchemaPath+"/"+k;var te=!E.opts.allErrors;var ne="data"+(j||"");var ae="valid"+N;var _e,ve;if(q=="#"||q=="#/"){if(E.isRoot){_e=E.async;ve="validate"}else{_e=E.root.schema.$async===true;ve="root.refVal[0]"}}else{var Ee=E.resolveRef(E.baseId,q,E.isRoot);if(Ee===undefined){var we=E.MissingRefError.message(E.baseId,q);if(E.opts.missingRefs=="fail"){E.logger.error(we);var Ce=Ce||[];Ce.push(w);w="";if(E.createErrors!==false){w+=" { keyword: '"+"$ref"+"' , dataPath: (dataPath || '') + "+E.errorPath+" , schemaPath: "+E.util.toQuotedString(ee)+" , params: { ref: '"+E.util.escapeQuotes(q)+"' } ";if(E.opts.messages!==false){w+=" , message: 'can\\'t resolve reference "+E.util.escapeQuotes(q)+"' "}if(E.opts.verbose){w+=" , schema: "+E.util.toQuotedString(q)+" , parentSchema: validate.schema"+E.schemaPath+" , data: "+ne+" "}w+=" } "}else{w+=" {} "}var Me=w;w=Ce.pop();if(!E.compositeRule&&te){if(E.async){w+=" throw new ValidationError(["+Me+"]); "}else{w+=" validate.errors = ["+Me+"]; return false; "}}else{w+=" var err = "+Me+"; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; "}if(te){w+=" if (false) { "}}else if(E.opts.missingRefs=="ignore"){E.logger.warn(we);if(te){w+=" if (true) { "}}else{throw new E.MissingRefError(E.baseId,q,we)}}else if(Ee.inline){var Te=E.util.copy(E);Te.level++;var Ie="valid"+Te.level;Te.schema=Ee.schema;Te.schemaPath="";Te.errSchemaPath=q;var Oe=E.validate(Te).replace(/validate\.schema/g,Ee.code);w+=" "+Oe+" ";if(te){w+=" if ("+Ie+") { "}}else{_e=Ee.$async===true||E.async&&Ee.$async!==false;ve=Ee.code}}if(ve){var Ce=Ce||[];Ce.push(w);w="";if(E.opts.passContext){w+=" "+ve+".call(this, "}else{w+=" "+ve+"( "}w+=" "+ne+", (dataPath || '')";if(E.errorPath!='""'){w+=" + "+E.errorPath}var Re=j?"data"+(j-1||""):"parentData",Fe=j?E.dataPathArr[j]:"parentDataProperty";w+=" , "+Re+" , "+Fe+", rootData) ";var Ne=w;w=Ce.pop();if(_e){if(!E.async)throw new Error("async schema referenced by sync schema");if(te){w+=" var "+ae+"; "}w+=" try { await "+Ne+"; ";if(te){w+=" "+ae+" = true; "}w+=" } catch (e) { if (!(e instanceof ValidationError)) throw e; if (vErrors === null) vErrors = e.errors; else vErrors = vErrors.concat(e.errors); errors = vErrors.length; ";if(te){w+=" "+ae+" = false; "}w+=" } ";if(te){w+=" if ("+ae+") { "}}else{w+=" if (!"+Ne+") { if (vErrors === null) vErrors = "+ve+".errors; else vErrors = vErrors.concat("+ve+".errors); errors = vErrors.length; } ";if(te){w+=" else { "}}}return w}},16372:E=>{"use strict";E.exports=function generate_required(E,k,S){var w=" ";var N=E.level;var j=E.dataLevel;var q=E.schema[k];var ee=E.schemaPath+E.util.getProperty(k);var te=E.errSchemaPath+"/"+k;var ne=!E.opts.allErrors;var ae="data"+(j||"");var _e="valid"+N;var ve=E.opts.$data&&q&&q.$data,Ee;if(ve){w+=" var schema"+N+" = "+E.util.getData(q.$data,j,E.dataPathArr)+"; ";Ee="schema"+N}else{Ee=q}var we="schema"+N;if(!ve){if(q.length0||Re===false:E.util.schemaHasRules(Re,E.RULES.all)))){Ce[Ce.length]=Te}}}}else{var Ce=q}}if(ve||Ce.length){var Fe=E.errorPath,Ne=ve||Ce.length>=E.opts.loopRequired,Be=E.opts.ownProperties;if(ne){w+=" var missing"+N+"; ";if(Ne){if(!ve){w+=" var "+we+" = validate.schema"+ee+"; "}var Le="i"+N,je="schema"+N+"["+Le+"]",$e="' + "+je+" + '";if(E.opts._errorDataPathProperty){E.errorPath=E.util.getPathExpr(Fe,je,E.opts.jsonPointers)}w+=" var "+_e+" = true; ";if(ve){w+=" if (schema"+N+" === undefined) "+_e+" = true; else if (!Array.isArray(schema"+N+")) "+_e+" = false; else {"}w+=" for (var "+Le+" = 0; "+Le+" < "+we+".length; "+Le+"++) { "+_e+" = "+ae+"["+we+"["+Le+"]] !== undefined ";if(Be){w+=" && Object.prototype.hasOwnProperty.call("+ae+", "+we+"["+Le+"]) "}w+="; if (!"+_e+") break; } ";if(ve){w+=" } "}w+=" if (!"+_e+") { ";var ze=ze||[];ze.push(w);w="";if(E.createErrors!==false){w+=" { keyword: '"+"required"+"' , dataPath: (dataPath || '') + "+E.errorPath+" , schemaPath: "+E.util.toQuotedString(te)+" , params: { missingProperty: '"+$e+"' } ";if(E.opts.messages!==false){w+=" , message: '";if(E.opts._errorDataPathProperty){w+="is a required property"}else{w+="should have required property \\'"+$e+"\\'"}w+="' "}if(E.opts.verbose){w+=" , schema: validate.schema"+ee+" , parentSchema: validate.schema"+E.schemaPath+" , data: "+ae+" "}w+=" } "}else{w+=" {} "}var Ue=w;w=ze.pop();if(!E.compositeRule&&ne){if(E.async){w+=" throw new ValidationError(["+Ue+"]); "}else{w+=" validate.errors = ["+Ue+"]; return false; "}}else{w+=" var err = "+Ue+"; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; "}w+=" } else { "}else{w+=" if ( ";var Ge=Ce;if(Ge){var qe,Le=-1,Ve=Ge.length-1;while(Le{"use strict";E.exports=function generate_uniqueItems(E,k,S){var w=" ";var N=E.level;var j=E.dataLevel;var q=E.schema[k];var ee=E.schemaPath+E.util.getProperty(k);var te=E.errSchemaPath+"/"+k;var ne=!E.opts.allErrors;var ae="data"+(j||"");var _e="valid"+N;var ve=E.opts.$data&&q&&q.$data,Ee;if(ve){w+=" var schema"+N+" = "+E.util.getData(q.$data,j,E.dataPathArr)+"; ";Ee="schema"+N}else{Ee=q}if((q||ve)&&E.opts.uniqueItems!==false){if(ve){w+=" var "+_e+"; if ("+Ee+" === false || "+Ee+" === undefined) "+_e+" = true; else if (typeof "+Ee+" != 'boolean') "+_e+" = false; else { "}w+=" var i = "+ae+".length , "+_e+" = true , j; if (i > 1) { ";var we=E.schema.items&&E.schema.items.type,Ce=Array.isArray(we);if(!we||we=="object"||we=="array"||Ce&&(we.indexOf("object")>=0||we.indexOf("array")>=0)){w+=" outer: for (;i--;) { for (j = i; j--;) { if (equal("+ae+"[i], "+ae+"[j])) { "+_e+" = false; break outer; } } } "}else{w+=" var itemIndices = {}, item; for (;i--;) { var item = "+ae+"[i]; ";var Me="checkDataType"+(Ce?"s":"");w+=" if ("+E.util[Me](we,"item",E.opts.strictNumbers,true)+") continue; ";if(Ce){w+=" if (typeof item == 'string') item = '\"' + item; "}w+=" if (typeof itemIndices[item] == 'number') { "+_e+" = false; j = itemIndices[item]; break; } itemIndices[item] = i; } "}w+=" } ";if(ve){w+=" } "}w+=" if (!"+_e+") { ";var Te=Te||[];Te.push(w);w="";if(E.createErrors!==false){w+=" { keyword: '"+"uniqueItems"+"' , dataPath: (dataPath || '') + "+E.errorPath+" , schemaPath: "+E.util.toQuotedString(te)+" , params: { i: i, j: j } ";if(E.opts.messages!==false){w+=" , message: 'should NOT have duplicate items (items ## ' + j + ' and ' + i + ' are identical)' "}if(E.opts.verbose){w+=" , schema: ";if(ve){w+="validate.schema"+ee}else{w+=""+q}w+=" , parentSchema: validate.schema"+E.schemaPath+" , data: "+ae+" "}w+=" } "}else{w+=" {} "}var Ie=w;w=Te.pop();if(!E.compositeRule&&ne){if(E.async){w+=" throw new ValidationError(["+Ie+"]); "}else{w+=" validate.errors = ["+Ie+"]; return false; "}}else{w+=" var err = "+Ie+"; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; "}w+=" } ";if(ne){w+=" else { "}}else{if(ne){w+=" if (true) { "}}return w}},85061:E=>{"use strict";E.exports=function generate_validate(E,k,S){var w="";var N=E.schema.$async===true,j=E.util.schemaHasRulesExcept(E.schema,E.RULES.all,"$ref"),q=E.self._getId(E.schema);if(E.opts.strictKeywords){var ee=E.util.schemaUnknownRules(E.schema,E.RULES.keywords);if(ee){var te="unknown keyword: "+ee;if(E.opts.strictKeywords==="log")E.logger.warn(te);else throw new Error(te)}}if(E.isTop){w+=" var validate = ";if(N){E.async=true;w+="async "}w+="function(data, dataPath, parentData, parentDataProperty, rootData) { 'use strict'; ";if(q&&(E.opts.sourceCode||E.opts.processCode)){w+=" "+("/*# sourceURL="+q+" */")+" "}}if(typeof E.schema=="boolean"||!(j||E.schema.$ref)){var k="false schema";var ne=E.level;var ae=E.dataLevel;var _e=E.schema[k];var ve=E.schemaPath+E.util.getProperty(k);var Ee=E.errSchemaPath+"/"+k;var we=!E.opts.allErrors;var Ce;var Me="data"+(ae||"");var Te="valid"+ne;if(E.schema===false){if(E.isTop){we=true}else{w+=" var "+Te+" = false; "}var Ie=Ie||[];Ie.push(w);w="";if(E.createErrors!==false){w+=" { keyword: '"+(Ce||"false schema")+"' , dataPath: (dataPath || '') + "+E.errorPath+" , schemaPath: "+E.util.toQuotedString(Ee)+" , params: {} ";if(E.opts.messages!==false){w+=" , message: 'boolean schema is false' "}if(E.opts.verbose){w+=" , schema: false , parentSchema: validate.schema"+E.schemaPath+" , data: "+Me+" "}w+=" } "}else{w+=" {} "}var Oe=w;w=Ie.pop();if(!E.compositeRule&&we){if(E.async){w+=" throw new ValidationError(["+Oe+"]); "}else{w+=" validate.errors = ["+Oe+"]; return false; "}}else{w+=" var err = "+Oe+"; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; "}}else{if(E.isTop){if(N){w+=" return data; "}else{w+=" validate.errors = null; return true; "}}else{w+=" var "+Te+" = true; "}}if(E.isTop){w+=" }; return validate; "}return w}if(E.isTop){var Re=E.isTop,ne=E.level=0,ae=E.dataLevel=0,Me="data";E.rootId=E.resolve.fullPath(E.self._getId(E.root.schema));E.baseId=E.baseId||E.rootId;delete E.isTop;E.dataPathArr=[""];if(E.schema.default!==undefined&&E.opts.useDefaults&&E.opts.strictDefaults){var Fe="default is ignored in the schema root";if(E.opts.strictDefaults==="log")E.logger.warn(Fe);else throw new Error(Fe)}w+=" var vErrors = null; ";w+=" var errors = 0; ";w+=" if (rootData === undefined) rootData = data; "}else{var ne=E.level,ae=E.dataLevel,Me="data"+(ae||"");if(q)E.baseId=E.resolve.url(E.baseId,q);if(N&&!E.async)throw new Error("async schema in sync schema");w+=" var errs_"+ne+" = errors;"}var Te="valid"+ne,we=!E.opts.allErrors,Ne="",Be="";var Ce;var Le=E.schema.type,je=Array.isArray(Le);if(Le&&E.opts.nullable&&E.schema.nullable===true){if(je){if(Le.indexOf("null")==-1)Le=Le.concat("null")}else if(Le!="null"){Le=[Le,"null"];je=true}}if(je&&Le.length==1){Le=Le[0];je=false}if(E.schema.$ref&&j){if(E.opts.extendRefs=="fail"){throw new Error('$ref: validation keywords used in schema at path "'+E.errSchemaPath+'" (see option extendRefs)')}else if(E.opts.extendRefs!==true){j=false;E.logger.warn('$ref: keywords ignored in schema at path "'+E.errSchemaPath+'"')}}if(E.schema.$comment&&E.opts.$comment){w+=" "+E.RULES.all.$comment.code(E,"$comment")}if(Le){if(E.opts.coerceTypes){var $e=E.util.coerceToTypes(E.opts.coerceTypes,Le)}var ze=E.RULES.types[Le];if($e||je||ze===true||ze&&!$shouldUseGroup(ze)){var ve=E.schemaPath+".type",Ee=E.errSchemaPath+"/type";var ve=E.schemaPath+".type",Ee=E.errSchemaPath+"/type",Ue=je?"checkDataTypes":"checkDataType";w+=" if ("+E.util[Ue](Le,Me,E.opts.strictNumbers,true)+") { ";if($e){var Ge="dataType"+ne,qe="coerced"+ne;w+=" var "+Ge+" = typeof "+Me+"; var "+qe+" = undefined; ";if(E.opts.coerceTypes=="array"){w+=" if ("+Ge+" == 'object' && Array.isArray("+Me+") && "+Me+".length == 1) { "+Me+" = "+Me+"[0]; "+Ge+" = typeof "+Me+"; if ("+E.util.checkDataType(E.schema.type,Me,E.opts.strictNumbers)+") "+qe+" = "+Me+"; } "}w+=" if ("+qe+" !== undefined) ; ";var Ve=$e;if(Ve){var He,We=-1,Ke=Ve.length-1;while(We{"use strict";var w=/^[a-z_$][a-z0-9_$-]*$/i;var N=S(99819);var j=S(86205);E.exports={add:addKeyword,get:getKeyword,remove:removeKeyword,validate:validateKeyword};function addKeyword(E,k){var S=this.RULES;if(S.keywords[E])throw new Error("Keyword "+E+" is already defined");if(!w.test(E))throw new Error("Keyword "+E+" is not a valid identifier");if(k){this.validateKeyword(k,true);var j=k.type;if(Array.isArray(j)){for(var q=0;q{function BrowserslistError(E){this.name="BrowserslistError";this.message=E;this.browserslist=true;if(Error.captureStackTrace){Error.captureStackTrace(this,BrowserslistError)}}BrowserslistError.prototype=Error.prototype;E.exports=BrowserslistError},69328:(E,k,S)=>{var w=S(83835);var N=S(92406).D;var j=S(85659);var q=S(85622);var ee=S(46233);var te=S(72464);var ne=S(81886);var ae=365.259641*24*60*60*1e3;var _e=37;var ve=1;var Ee=2;function isVersionsMatch(E,k){return(E+".").indexOf(k+".")===0}function isEolReleased(E){var k=E.slice(1);return w.some((function(E){return isVersionsMatch(E.version,k)}))}function normalize(E){return E.filter((function(E){return typeof E==="string"}))}function normalizeElectron(E){var k=E;if(E.split(".").length===3){k=E.split(".").slice(0,-1).join(".")}return k}function nameMapper(E){return function mapName(k){return E+" "+k}}function getMajor(E){return parseInt(E.split(".")[0])}function getMajorVersions(E,k){if(E.length===0)return[];var S=uniq(E.map(getMajor));var w=S[S.length-k];if(!w){return E}var N=[];for(var j=E.length-1;j>=0;j--){if(w>getMajor(E[j]))break;N.unshift(E[j])}return N}function uniq(E){var k=[];for(var S=0;S"){return function(E){return parseFloat(E)>k}}else if(E===">="){return function(E){return parseFloat(E)>=k}}else if(E==="<"){return function(E){return parseFloat(E)"){return function(E){E=E.split(".").map(parseSimpleInt);return compareSemver(E,k)>0}}else if(E===">="){return function(E){E=E.split(".").map(parseSimpleInt);return compareSemver(E,k)>=0}}else if(E==="<"){return function(E){E=E.split(".").map(parseSimpleInt);return compareSemver(k,E)>0}}else{return function(E){E=E.split(".").map(parseSimpleInt);return compareSemver(k,E)>=0}}}function parseSimpleInt(E){return parseInt(E)}function compare(E,k){if(Ek)return+1;return 0}function compareSemver(E,k){return compare(parseInt(E[0]),parseInt(k[0]))||compare(parseInt(E[1]||"0"),parseInt(k[1]||"0"))||compare(parseInt(E[2]||"0"),parseInt(k[2]||"0"))}function semverFilterLoose(E,k){k=k.split(".").map(parseSimpleInt);if(typeof k[1]==="undefined"){k[1]="x"}switch(E){case"<=":return function(E){E=E.split(".").map(parseSimpleInt);return compareSemverLoose(E,k)<=0};default:case">=":return function(E){E=E.split(".").map(parseSimpleInt);return compareSemverLoose(E,k)>=0}}}function compareSemverLoose(E,k){if(E[0]!==k[0]){return E[0]=E}));return S.concat(j.map(nameMapper(N.name)))}),[])}function cloneData(E){return{name:E.name,versions:E.versions,released:E.released,releaseDate:E.releaseDate}}function mapVersions(E,k){E.versions=E.versions.map((function(E){return k[E]||E}));E.released=E.versions.map((function(E){return k[E]||E}));var S={};for(var w in E.releaseDate){S[k[w]||w]=E.releaseDate[w]}E.releaseDate=S;return E}function byName(E,k){E=E.toLowerCase();E=browserslist.aliases[E]||E;if(k.mobileToDesktop&&browserslist.desktopNames[E]){var S=browserslist.data[browserslist.desktopNames[E]];if(E==="android"){return normalizeAndroidData(cloneData(browserslist.data[E]),S)}else{var w=cloneData(S);w.name=E;if(E==="op_mob"){w=mapVersions(w,{"10.0-10.1":"10"})}return w}}return browserslist.data[E]}function normalizeAndroidVersions(E,k){var S=_e;var w=k[k.length-1];return E.filter((function(E){return/^(?:[2-4]\.|[34]$)/.test(E)})).concat(k.slice(S-w-1))}function normalizeAndroidData(E,k){E.released=normalizeAndroidVersions(E.released,k.released);E.versions=normalizeAndroidVersions(E.versions,k.versions);return E}function checkName(E,k){var S=byName(E,k);if(!S)throw new te("Unknown browser "+E);return S}function unknownQuery(E){return new te("Unknown browser query `"+E+"`. "+"Maybe you are using old Browserslist or made typo in query.")}function filterAndroid(E,k,S){if(S.mobileToDesktop)return E;var w=browserslist.data.android.released;var N=w[w.length-1];var j=N-_e-k;if(j>0){return E.slice(-1)}else{return E.slice(j-1)}}function resolve(E,k){if(Array.isArray(E)){E=flatten(E.map(parse))}else{E=parse(E)}return E.reduce((function(E,S,w){var N=S.queryString;var j=N.indexOf("not ")===0;if(j){if(w===0){throw new te("Write any browsers query (for instance, `defaults`) "+"before `"+N+"`")}N=N.slice(4)}for(var q=0;q 0.5%","last 2 versions","Firefox ESR","not dead"];browserslist.aliases={fx:"firefox",ff:"firefox",ios:"ios_saf",explorer:"ie",blackberry:"bb",explorermobile:"ie_mob",operamini:"op_mini",operamobile:"op_mob",chromeandroid:"and_chr",firefoxandroid:"and_ff",ucandroid:"and_uc",qqandroid:"and_qq"};browserslist.desktopNames={and_chr:"chrome",and_ff:"firefox",ie_mob:"ie",op_mob:"opera",android:"chrome"};browserslist.versionAliases={};browserslist.clearCaches=ne.clearCaches;browserslist.parseConfig=ne.parseConfig;browserslist.readConfig=ne.readConfig;browserslist.findConfig=ne.findConfig;browserslist.loadConfig=ne.loadConfig;browserslist.coverage=function(E,k){var S;if(typeof k==="undefined"){S=browserslist.usage.global}else if(k==="my stats"){var w={};w.path=q.resolve?q.resolve("."):".";var N=ne.getStat(w);if(!N){throw new te("Custom usage statistics was not provided")}S={};for(var j in N){fillUsage(S,j,N[j])}}else if(typeof k==="string"){if(k.length>2){k=k.toLowerCase()}else{k=k.toUpperCase()}ne.loadCountry(browserslist.usage,k,browserslist.data);S=browserslist.usage[k]}else{if("dataByBrowser"in k){k=k.dataByBrowser}S={};for(var ee in k){for(var ae in k[ee]){S[ee+" "+ae]=k[ee][ae]}}}return E.reduce((function(E,k){var w=S[k];if(w===undefined){w=S[k.replace(/ \S+$/," 0")]}return E+(w||0)}),0)};var Ce=[{regexp:/^last\s+(\d+)\s+major\s+versions?$/i,select:function(E,k){return Object.keys(N).reduce((function(S,w){var N=byName(w,E);if(!N)return S;var j=getMajorVersions(N.released,k);j=j.map(nameMapper(N.name));if(N.name==="android"){j=filterAndroid(j,k,E)}return S.concat(j)}),[])}},{regexp:/^last\s+(\d+)\s+versions?$/i,select:function(E,k){return Object.keys(N).reduce((function(S,w){var N=byName(w,E);if(!N)return S;var j=N.released.slice(-k);j=j.map(nameMapper(N.name));if(N.name==="android"){j=filterAndroid(j,k,E)}return S.concat(j)}),[])}},{regexp:/^last\s+(\d+)\s+electron\s+major\s+versions?$/i,select:function(E,k){var S=getMajorVersions(Object.keys(ee),k);return S.map((function(E){return"chrome "+ee[E]}))}},{regexp:/^last\s+(\d+)\s+(\w+)\s+major\s+versions?$/i,select:function(E,k,S){var w=checkName(S,E);var N=getMajorVersions(w.released,k);var j=N.map(nameMapper(w.name));if(w.name==="android"){j=filterAndroid(j,k,E)}return j}},{regexp:/^last\s+(\d+)\s+electron\s+versions?$/i,select:function(E,k){return Object.keys(ee).slice(-k).map((function(E){return"chrome "+ee[E]}))}},{regexp:/^last\s+(\d+)\s+(\w+)\s+versions?$/i,select:function(E,k,S){var w=checkName(S,E);var N=w.released.slice(-k).map(nameMapper(w.name));if(w.name==="android"){N=filterAndroid(N,k,E)}return N}},{regexp:/^unreleased\s+versions$/i,select:function(E){return Object.keys(N).reduce((function(k,S){var w=byName(S,E);if(!w)return k;var N=w.versions.filter((function(E){return w.released.indexOf(E)===-1}));N=N.map(nameMapper(w.name));return k.concat(N)}),[])}},{regexp:/^unreleased\s+electron\s+versions?$/i,select:function(){return[]}},{regexp:/^unreleased\s+(\w+)\s+versions?$/i,select:function(E,k){var S=checkName(k,E);return S.versions.filter((function(E){return S.released.indexOf(E)===-1})).map(nameMapper(S.name))}},{regexp:/^last\s+(\d*.?\d+)\s+years?$/i,select:function(E,k){return filterByYear(Date.now()-ae*k,E)}},{regexp:/^since (\d+)(?:-(\d+))?(?:-(\d+))?$/i,select:function(E,k,S,w){k=parseInt(k);S=parseInt(S||"01")-1;w=parseInt(w||"01");return filterByYear(Date.UTC(k,S,w,0,0,0),E)}},{regexp:/^(>=?|<=?)\s*(\d*\.?\d+)%$/,select:function(E,k,S){S=parseFloat(S);var w=browserslist.usage.global;return Object.keys(w).reduce((function(E,N){if(k===">"){if(w[N]>S){E.push(N)}}else if(k==="<"){if(w[N]=S){E.push(N)}return E}),[])}},{regexp:/^(>=?|<=?)\s*(\d*\.?\d+)%\s+in\s+my\s+stats$/,select:function(E,k,S){S=parseFloat(S);if(!E.customUsage){throw new te("Custom usage statistics was not provided")}var w=E.customUsage;return Object.keys(w).reduce((function(E,N){if(k===">"){if(w[N]>S){E.push(N)}}else if(k==="<"){if(w[N]=S){E.push(N)}return E}),[])}},{regexp:/^(>=?|<=?)\s*(\d*\.?\d+)%\s+in\s+(\S+)\s+stats$/,select:function(E,k,S,w){S=parseFloat(S);var N=ne.loadStat(E,w,browserslist.data);if(N){E.customUsage={};for(var j in N){fillUsage(E.customUsage,j,N[j])}}if(!E.customUsage){throw new te("Custom usage statistics was not provided")}var q=E.customUsage;return Object.keys(q).reduce((function(E,w){if(k===">"){if(q[w]>S){E.push(w)}}else if(k==="<"){if(q[w]=S){E.push(w)}return E}),[])}},{regexp:/^(>=?|<=?)\s*(\d*\.?\d+)%\s+in\s+((alt-)?\w\w)$/,select:function(E,k,S,w){S=parseFloat(S);if(w.length===2){w=w.toUpperCase()}else{w=w.toLowerCase()}ne.loadCountry(browserslist.usage,w,browserslist.data);var N=browserslist.usage[w];return Object.keys(N).reduce((function(E,w){if(k===">"){if(N[w]>S){E.push(w)}}else if(k==="<"){if(N[w]=S){E.push(w)}return E}),[])}},{regexp:/^cover\s+(\d*\.?\d+)%(\s+in\s+(my\s+stats|(alt-)?\w\w))?$/,select:function(E,k,S){k=parseFloat(k);var w=browserslist.usage.global;if(S){if(S.match(/^\s+in\s+my\s+stats$/)){if(!E.customUsage){throw new te("Custom usage statistics was not provided")}w=E.customUsage}else{var N=S.match(/\s+in\s+((alt-)?\w\w)/);var j=N[1];if(j.length===2){j=j.toUpperCase()}else{j=j.toLowerCase()}ne.loadCountry(browserslist.usage,j,browserslist.data);w=browserslist.usage[j]}}var q=Object.keys(w).sort((function(E,k){return w[k]-w[E]}));var ee=0;var ae=[];var _e;for(var ve=0;ve<=q.length;ve++){_e=q[ve];if(w[_e]===0)break;ee+=w[_e];ae.push(_e);if(ee>=k)break}return ae}},{regexp:/^supports\s+([\w-]+)$/,select:function(E,k){ne.loadFeature(browserslist.cache,k);var S=browserslist.cache[k];return Object.keys(S).reduce((function(E,k){var w=S[k];if(w.indexOf("y")>=0||w.indexOf("a")>=0){E.push(k)}return E}),[])}},{regexp:/^electron\s+([\d.]+)\s*-\s*([\d.]+)$/i,select:function(E,k,S){var w=normalizeElectron(k);var N=normalizeElectron(S);if(!ee[w]){throw new te("Unknown version "+k+" of electron")}if(!ee[N]){throw new te("Unknown version "+S+" of electron")}k=parseFloat(k);S=parseFloat(S);return Object.keys(ee).filter((function(E){var w=parseFloat(E);return w>=k&&w<=S})).map((function(E){return"chrome "+ee[E]}))}},{regexp:/^node\s+([\d.]+)\s*-\s*([\d.]+)$/i,select:function(E,k,S){var N=w.filter((function(E){return E.name==="nodejs"})).map((function(E){return E.version}));var j=/^(0|[1-9]\d*)(\.(0|[1-9]\d*)){0,2}$/;if(!j.test(k)){throw new te("Unknown version "+k+" of Node.js")}if(!j.test(S)){throw new te("Unknown version "+S+" of Node.js")}return N.filter(semverFilterLoose(">=",k)).filter(semverFilterLoose("<=",S)).map((function(E){return"node "+E}))}},{regexp:/^(\w+)\s+([\d.]+)\s*-\s*([\d.]+)$/i,select:function(E,k,S,w){var N=checkName(k,E);S=parseFloat(normalizeVersion(N,S)||S);w=parseFloat(normalizeVersion(N,w)||w);function filter(E){var k=parseFloat(E);return k>=S&&k<=w}return N.released.filter(filter).map(nameMapper(N.name))}},{regexp:/^electron\s*(>=?|<=?)\s*([\d.]+)$/i,select:function(E,k,S){var w=normalizeElectron(S);return Object.keys(ee).filter(generateFilter(k,w)).map((function(E){return"chrome "+ee[E]}))}},{regexp:/^node\s*(>=?|<=?)\s*([\d.]+)$/i,select:function(E,k,S){var N=w.filter((function(E){return E.name==="nodejs"})).map((function(E){return E.version}));return N.filter(generateSemverFilter(k,S)).map((function(E){return"node "+E}))}},{regexp:/^(\w+)\s*(>=?|<=?)\s*([\d.]+)$/,select:function(E,k,S,w){var N=checkName(k,E);var j=browserslist.versionAliases[N.name][w];if(j){w=j}return N.released.filter(generateFilter(S,w)).map((function(E){return N.name+" "+E}))}},{regexp:/^(firefox|ff|fx)\s+esr$/i,select:function(){return["firefox 78"]}},{regexp:/(operamini|op_mini)\s+all/i,select:function(){return["op_mini all"]}},{regexp:/^electron\s+([\d.]+)$/i,select:function(E,k){var S=normalizeElectron(k);var w=ee[S];if(!w){throw new te("Unknown version "+k+" of electron")}return["chrome "+w]}},{regexp:/^node\s+(\d+(\.\d+)?(\.\d+)?)$/i,select:function(E,k){var S=w.filter((function(E){return E.name==="nodejs"}));var N=S.filter((function(E){return isVersionsMatch(E.version,k)}));if(N.length===0){if(E.ignoreUnknownVersions){return[]}else{throw new te("Unknown version "+k+" of Node.js")}}return["node "+N[N.length-1].version]}},{regexp:/^current\s+node$/i,select:function(E){return[ne.currentNode(resolve,E)]}},{regexp:/^maintained\s+node\s+versions$/i,select:function(E){var k=Date.now();var S=Object.keys(j).filter((function(E){return kDate.parse(j[E].start)&&isEolReleased(E)})).map((function(E){return"node "+E.slice(1)}));return resolve(S,E)}},{regexp:/^phantomjs\s+1.9$/i,select:function(){return["safari 5"]}},{regexp:/^phantomjs\s+2.1$/i,select:function(){return["safari 6"]}},{regexp:/^(\w+)\s+(tp|[\d.]+)$/i,select:function(E,k,S){if(/^tp$/i.test(S))S="TP";var w=checkName(k,E);var N=normalizeVersion(w,S);if(N){S=N}else{if(S.indexOf(".")===-1){N=S+".0"}else{N=S.replace(/\.0$/,"")}N=normalizeVersion(w,N);if(N){S=N}else if(E.ignoreUnknownVersions){return[]}else{throw new te("Unknown version "+S+" of "+k)}}return[w.name+" "+S]}},{regexp:/^browserslist config$/i,select:function(E){return browserslist(undefined,E)}},{regexp:/^extends (.+)$/i,select:function(E,k){return resolve(ne.loadQueries(E,k),E)}},{regexp:/^defaults$/i,select:function(E){return resolve(browserslist.defaults,E)}},{regexp:/^dead$/i,select:function(E){var k=["ie <= 10","ie_mob <= 11","bb <= 10","op_mob <= 12.1","samsung 4"];return resolve(k,E)}},{regexp:/^(\w+)$/i,select:function(E,k){if(byName(k,E)){throw new te("Specify versions in Browserslist query for browser "+k)}else{throw unknownQuery(k)}}}];(function(){for(var E in N){var k=N[E];browserslist.data[E]={name:E,versions:normalize(N[E].versions),released:normalize(N[E].versions.slice(0,-3)),releaseDate:N[E].release_date};fillUsage(browserslist.usage.global,E,k.usage_global);browserslist.versionAliases[E]={};for(var S=0;S{var w=S(30048).Z;var N=S(24356).Z;var j=S(85622);var q=S(35747);var ee=S(72464);var te=/^\s*\[(.+)]\s*$/;var ne=/^browserslist-config-/;var ae=/@[^/]+\/browserslist-config(-|$|\/)/;var _e=6*30*24*60*60*1e3;var ve="Browserslist config should be a string or an array "+"of strings with browser queries";var Ee=false;var we={};var Ce={};function checkExtend(E){var k=" Use `dangerousExtend` option to disable.";if(!ne.test(E)&&!ae.test(E)){throw new ee("Browserslist config needs `browserslist-config-` prefix. "+k)}if(E.replace(/^@[^/]+\//,"").indexOf(".")!==-1){throw new ee("`.` not allowed in Browserslist config name. "+k)}if(E.indexOf("node_modules")!==-1){throw new ee("`node_modules` not allowed in Browserslist config."+k)}}function isFile(E){if(E in we){return we[E]}var k=q.existsSync(E)&&q.statSync(E).isFile();if(!process.env.BROWSERSLIST_DISABLE_CACHE){we[E]=k}return k}function eachParent(E,k){var S=isFile(E)?j.dirname(E):E;var w=j.resolve(S);do{var N=k(w);if(typeof N!=="undefined")return N}while(w!==(w=j.dirname(w)));return undefined}function check(E){if(Array.isArray(E)){for(var k=0;k{E.exports={A:{A:{I:.00608274,D:.00621152,F:.024331,E:.103407,A:.024331,B:.985405,oB:.009298},B:"ms",C:["","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","oB","I","D","F","E","A","B","","",""],E:"IE",F:{oB:962323200,I:998870400,D:1161129600,F:1237420800,E:1300060800,A:1346716800,B:1381968e3}},B:{A:{C:.008534,O:.004267,H:.008534,Q:.008534,J:.008534,K:.034136,L:.157879,a:0,JB:.004267,MB:.00944,R:.00415,S:.008534,T:.017068,M:.025602,V:.089607,W:3.25145,N:0},B:"webkit",C:["","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","C","O","H","Q","J","K","L","a","JB","MB","R","S","T","M","V","W","N","","",""],E:"Edge",F:{C:1438128e3,O:1447286400,H:1470096e3,Q:1491868800,J:1508198400,K:1525046400,L:1542067200,a:1579046400,JB:1581033600,MB:1586736e3,R:1590019200,S:1594857600,T:1598486400,M:1602201600,V:1605830400,W:161136e4,N:1614816e3},D:{C:"ms",O:"ms",H:"ms",Q:"ms",J:"ms",K:"ms",L:"ms"}},C:{A:{0:.038403,1:.004267,2:.004267,3:.004525,4:.004267,5:.012801,6:.004538,7:.004267,8:.008534,9:.081073,nB:.008534,YB:.004538,G:.012801,b:.004879,I:.020136,D:.005725,F:.004525,E:.00533,A:.004283,B:.004267,C:.004471,O:.004486,H:.00453,Q:.008534,J:.004417,K:.004425,L:.008534,c:.004443,d:.004283,e:.008534,f:.013698,g:.008534,h:.008786,i:.012801,j:.004317,k:.004393,l:.004418,m:.008834,n:.008534,o:.008928,p:.004471,q:.009284,r:.004707,s:.009076,t:.004425,u:.004783,v:.00472,w:.004783,x:.00487,y:.005029,z:.0047,AB:.004335,BB:.0083,CB:.004425,DB:.017068,EB:.004425,FB:.008534,dB:.004267,HB:.008534,TB:.00472,P:.004425,KB:.012801,LB:.00415,X:.004267,NB:.008534,OB:.004267,PB:.017068,QB:.00415,RB:.004267,IB:.004425,GB:.012801,Z:.00415,UB:.00415,VB:.00415,WB:.004267,XB:.008534,SB:.153612,a:.012801,JB:.017068,MB:.021335,mB:.029869,R:.025602,S:.157879,T:2.35112,M:.264554,V:.004267,W:0,vB:.008786,yB:.00487},B:"moz",C:["nB","YB","vB","yB","G","b","I","D","F","E","A","B","C","O","H","Q","J","K","L","c","d","e","f","g","h","i","j","k","l","m","n","o","p","q","r","s","t","u","v","w","x","y","z","0","1","2","3","4","5","6","7","8","9","AB","BB","CB","DB","EB","FB","dB","HB","TB","P","KB","LB","X","NB","OB","PB","QB","RB","IB","GB","Z","UB","VB","WB","XB","SB","a","JB","MB","mB","R","S","T","M","V","W",""],E:"Firefox",F:{0:1450137600,1:1453852800,2:1457395200,3:1461628800,4:1465257600,5:1470096e3,6:1474329600,7:1479168e3,8:1485216e3,9:1488844800,nB:1161648e3,YB:1213660800,vB:124632e4,yB:1264032e3,G:1300752e3,b:1308614400,I:1313452800,D:1317081600,F:1317081600,E:1320710400,A:1324339200,B:1327968e3,C:1331596800,O:1335225600,H:1338854400,Q:1342483200,J:1346112e3,K:1349740800,L:1353628800,c:1357603200,d:1361232e3,e:1364860800,f:1368489600,g:1372118400,h:1375747200,i:1379376e3,j:1386633600,k:1391472e3,l:1395100800,m:1398729600,n:1402358400,o:1405987200,p:1409616e3,q:1413244800,r:1417392e3,s:1421107200,t:1424736e3,u:1428278400,v:1431475200,w:1435881600,x:1439251200,y:144288e4,z:1446508800,AB:149256e4,BB:1497312e3,CB:1502150400,DB:1506556800,EB:1510617600,FB:1516665600,dB:1520985600,HB:1525824e3,TB:1529971200,P:1536105600,KB:1540252800,LB:1544486400,X:154872e4,NB:1552953600,OB:1558396800,PB:1562630400,QB:1567468800,RB:1571788800,IB:1575331200,GB:1578355200,Z:1581379200,UB:1583798400,VB:1586304e3,WB:1588636800,XB:1591056e3,SB:1593475200,a:1595894400,JB:1598313600,MB:1600732800,mB:1603152e3,R:1605571200,S:1607990400,T:1611619200,M:1614038400,V:null,W:null}},D:{A:{0:.008534,1:.004465,2:.004642,3:.004891,4:.008534,5:.021335,6:.209083,7:.004267,8:.004267,9:.004267,G:.004706,b:.004879,I:.004879,D:.005591,F:.005591,E:.005591,A:.004534,B:.004464,C:.010424,O:.0083,H:.004706,Q:.015087,J:.004393,K:.004393,L:.008652,c:.008534,d:.004393,e:.004317,f:.008534,g:.008786,h:.021335,i:.004461,j:.004267,k:.004326,l:.0047,m:.004538,n:.008534,o:.008534,p:.004566,q:.008534,r:.008534,s:.017068,t:.004335,u:.004464,v:.029869,w:.004464,x:.012801,y:.0236,z:.004403,AB:.051204,BB:.012801,CB:.017068,DB:.059738,EB:.008534,FB:.012801,dB:.008534,HB:.012801,TB:.029869,P:.012801,KB:.025602,LB:.012801,X:.025602,NB:.021335,OB:.025602,PB:.038403,QB:.059738,RB:.04267,IB:.034136,GB:.046937,Z:.021335,UB:.081073,VB:.08534,WB:.072539,XB:.038403,SB:.064005,a:.162146,JB:.106675,MB:.106675,R:.140811,S:.183481,T:.281622,M:.413899,V:1.49345,W:22.8242,N:.034136,"0B":.025602,eB:0,fB:0},B:"webkit",C:["","","G","b","I","D","F","E","A","B","C","O","H","Q","J","K","L","c","d","e","f","g","h","i","j","k","l","m","n","o","p","q","r","s","t","u","v","w","x","y","z","0","1","2","3","4","5","6","7","8","9","AB","BB","CB","DB","EB","FB","dB","HB","TB","P","KB","LB","X","NB","OB","PB","QB","RB","IB","GB","Z","UB","VB","WB","XB","SB","a","JB","MB","R","S","T","M","V","W","N","0B","eB","fB"],E:"Chrome",F:{0:143208e4,1:1437523200,2:1441152e3,3:1444780800,4:1449014400,5:1453248e3,6:1456963200,7:1460592e3,8:1464134400,9:1469059200,G:1264377600,b:1274745600,I:1283385600,D:1287619200,F:1291248e3,E:1296777600,A:1299542400,B:1303862400,C:1307404800,O:1312243200,H:1316131200,Q:1316131200,J:1319500800,K:1323734400,L:1328659200,c:1332892800,d:133704e4,e:1340668800,f:1343692800,g:1348531200,h:1352246400,i:1357862400,j:1361404800,k:1364428800,l:1369094400,m:1374105600,n:1376956800,o:1384214400,p:1389657600,q:1392940800,r:1397001600,s:1400544e3,t:1405468800,u:1409011200,v:141264e4,w:1416268800,x:1421798400,y:1425513600,z:1429401600,AB:1472601600,BB:1476230400,CB:1480550400,DB:1485302400,EB:1489017600,FB:149256e4,dB:1496707200,HB:1500940800,TB:1504569600,P:1508198400,KB:1512518400,LB:1516752e3,X:1520294400,NB:1523923200,OB:1527552e3,PB:1532390400,QB:1536019200,RB:1539648e3,IB:1543968e3,GB:154872e4,Z:1552348800,UB:1555977600,VB:1559606400,WB:1564444800,XB:1568073600,SB:1571702400,a:1575936e3,JB:1580860800,MB:1586304e3,R:1589846400,S:1594684800,T:1598313600,M:1601942400,V:1605571200,W:1611014400,N:1614556800,"0B":null,eB:null,fB:null}},E:{A:{G:0,b:.008534,I:.004656,D:.004465,F:.200549,E:.004891,A:.004425,B:.008534,C:.017068,O:.123743,H:3.0125,gB:0,ZB:.008692,iB:.110942,jB:.00456,kB:.004283,lB:.021335,aB:.025602,Y:.076806,U:.119476,pB:.576045,qB:0},B:"webkit",C:["","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","gB","ZB","G","b","iB","I","jB","D","kB","F","E","lB","A","aB","B","Y","C","U","O","pB","H","qB","",""],E:"Safari",F:{gB:1205798400,ZB:1226534400,G:1244419200,b:1275868800,iB:131112e4,I:1343174400,jB:13824e5,D:13824e5,kB:1410998400,F:1413417600,E:1443657600,lB:1458518400,A:1474329600,aB:1490572800,B:1505779200,Y:1522281600,C:1537142400,U:1553472e3,O:1568851200,pB:1585008e3,H:1600214400,qB:null}},F:{A:{0:.008534,1:.004227,2:.004725,3:.004267,4:.008942,5:.004707,6:.004827,7:.004707,8:.004707,9:.004326,E:.0082,B:.016581,C:.004317,Q:.00685,J:.00685,K:.00685,L:.005014,c:.006015,d:.004879,e:.006597,f:.006597,g:.013434,h:.006702,i:.006015,j:.005595,k:.004393,l:.008652,m:.004879,n:.004879,o:.004711,p:.005152,q:.005014,r:.009758,s:.004879,t:.008534,u:.004283,v:.004367,w:.004534,x:.004267,y:.004227,z:.004418,AB:.008922,BB:.014349,CB:.004425,DB:.00472,EB:.004425,FB:.004425,HB:.00472,P:.004532,KB:.004566,LB:.02283,X:.00867,NB:.004656,OB:.004642,PB:.004267,QB:.00944,RB:.00415,IB:.004267,GB:.136544,Z:.576045,rB:.00685,sB:.004267,tB:.008392,uB:.004706,Y:.006229,bB:.004879,wB:.008786,U:.00472},B:"webkit",C:["","","","","","","","","","","","","","","","","","","","E","rB","sB","tB","uB","B","Y","bB","wB","C","U","Q","J","K","L","c","d","e","f","g","h","i","j","k","l","m","n","o","p","q","r","s","t","u","v","w","x","y","z","0","1","2","3","4","5","6","7","8","9","AB","BB","CB","DB","EB","FB","HB","P","KB","LB","X","NB","OB","PB","QB","RB","IB","GB","Z","","",""],E:"Opera",F:{0:1486425600,1:1490054400,2:1494374400,3:1498003200,4:1502236800,5:1506470400,6:1510099200,7:1515024e3,8:1517961600,9:1521676800,E:1150761600,rB:1223424e3,sB:1251763200,tB:1267488e3,uB:1277942400,B:1292457600,Y:1302566400,bB:1309219200,wB:1323129600,C:1323129600,U:1352073600,Q:1372723200,J:1377561600,K:1381104e3,L:1386288e3,c:1390867200,d:1393891200,e:1399334400,f:1401753600,g:1405987200,h:1409616e3,i:1413331200,j:1417132800,k:1422316800,l:1425945600,m:1430179200,n:1433808e3,o:1438646400,p:1442448e3,q:1445904e3,r:1449100800,s:1454371200,t:1457308800,u:146232e4,v:1465344e3,w:1470096e3,x:1474329600,y:1477267200,z:1481587200,AB:1525910400,BB:1530144e3,CB:1534982400,DB:1537833600,EB:1543363200,FB:1548201600,HB:1554768e3,P:1561593600,KB:1566259200,LB:1570406400,X:1573689600,NB:1578441600,OB:1583971200,PB:1587513600,QB:1592956800,RB:1595894400,IB:1600128e3,GB:1603238400,Z:161352e4},D:{E:"o",B:"o",C:"o",rB:"o",sB:"o",tB:"o",uB:"o",Y:"o",bB:"o",wB:"o",U:"o"}},G:{A:{F:.00147508,ZB:0,xB:0,cB:.00295016,zB:.00885049,YC:.137183,"1B":.0309767,"2B":.0221262,"3B":.0221262,"4B":.17996,"5B":.0531029,"6B":.17406,"7B":.091455,"8B":.0944052,"9B":.103256,AC:.45285,BC:.0826046,CC:.0413023,DC:.243388,EC:.942577,FC:11.5307},B:"webkit",C:["","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","ZB","xB","cB","zB","YC","1B","F","2B","3B","4B","5B","6B","7B","8B","9B","AC","BC","CC","DC","EC","FC","","",""],E:"Safari on iOS",F:{ZB:1270252800,xB:1283904e3,cB:1299628800,zB:1331078400,YC:1359331200,"1B":1394409600,F:1410912e3,"2B":1413763200,"3B":1442361600,"4B":1458518400,"5B":1473724800,"6B":1490572800,"7B":1505779200,"8B":1522281600,"9B":1537142400,AC:1553472e3,BC:1568851200,CC:1572220800,DC:1580169600,EC:1585008e3,FC:1600214400}},H:{A:{GC:1.02564},B:"o",C:["","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","GC","","",""],E:"Opera Mini",F:{GC:1426464e3}},I:{A:{YB:0,G:.00459893,N:0,HC:0,IC:0,JC:0,KC:.00536542,cB:.0229947,LC:0,MC:.098877},B:"webkit",C:["","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","HC","IC","JC","YB","G","KC","cB","LC","MC","N","","",""],E:"Android Browser",F:{HC:1256515200,IC:1274313600,JC:1291593600,YB:1298332800,G:1318896e3,KC:1341792e3,cB:1374624e3,LC:1386547200,MC:1401667200,N:1587427200}},J:{A:{D:0,A:0},B:"webkit",C:["","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","D","A","","",""],E:"Blackberry Browser",F:{D:1325376e3,A:1359504e3}},K:{A:{A:0,B:0,C:0,P:.0111391,Y:0,bB:0,U:0},B:"o",C:["","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","A","B","Y","bB","C","U","P","","",""],E:"Opera Mobile",F:{A:1287100800,B:1300752e3,Y:1314835200,bB:1318291200,C:1330300800,U:1349740800,P:1613433600},D:{P:"webkit"}},L:{A:{N:37.0343},B:"webkit",C:["","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","N","","",""],E:"Chrome for Android",F:{N:1615420800}},M:{A:{M:.292332},B:"moz",C:["","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","M","","",""],E:"Firefox for Android",F:{M:1614038400}},N:{A:{A:.0115934,B:.022664},B:"ms",C:["","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","A","B","","",""],E:"IE Mobile",F:{A:1340150400,B:1353456e3}},O:{A:{NC:1.54764},B:"webkit",C:["","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","NC","","",""],E:"UC Browser for Android",F:{NC:1471392e3},D:{NC:"webkit"}},P:{A:{G:.290036,OC:.0103543,PC:.010304,QC:.0725089,RC:.0103584,SC:.0828674,aB:.0414337,TC:.165735,UC:.186452,VC:2.6414},B:"webkit",C:["","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","G","OC","PC","QC","RC","SC","aB","TC","UC","VC","","",""],E:"Samsung Internet",F:{G:1461024e3,OC:1481846400,PC:1509408e3,QC:1528329600,RC:1546128e3,SC:1554163200,aB:1567900800,TC:1582588800,UC:1593475200,VC:1605657600}},Q:{A:{WC:.223548},B:"webkit",C:["","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","WC","","",""],E:"QQ Browser",F:{WC:1589846400}},R:{A:{XC:0},B:"webkit",C:["","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","XC","","",""],E:"Baidu Browser",F:{XC:1491004800}},S:{A:{hB:.080248},B:"moz",C:["","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","hB","","",""],E:"KaiOS Browser",F:{hB:1527811200}}}},5682:E=>{E.exports={0:"43",1:"44",2:"45",3:"46",4:"47",5:"48",6:"49",7:"50",8:"51",9:"52",A:"10",B:"11",C:"12",D:"7",E:"9",F:"8",G:"4",H:"14",I:"6",J:"16",K:"17",L:"18",M:"86",N:"89",O:"13",P:"62",Q:"15",R:"83",S:"84",T:"85",U:"12.1",V:"87",W:"88",X:"65",Y:"11.1",Z:"73",a:"79",b:"5",c:"19",d:"20",e:"21",f:"22",g:"23",h:"24",i:"25",j:"26",k:"27",l:"28",m:"29",n:"30",o:"31",p:"32",q:"33",r:"34",s:"35",t:"36",u:"37",v:"38",w:"39",x:"40",y:"41",z:"42",AB:"53",BB:"54",CB:"55",DB:"56",EB:"57",FB:"58",GB:"72",HB:"60",IB:"71",JB:"80",KB:"63",LB:"64",MB:"81",NB:"66",OB:"67",PB:"68",QB:"69",RB:"70",SB:"78",TB:"61",UB:"74",VB:"75",WB:"76",XB:"77",YB:"3",ZB:"3.2",aB:"10.1",bB:"11.5",cB:"4.2-4.3",dB:"59",eB:"91",fB:"92",gB:"3.1",hB:"2.5",iB:"5.1",jB:"6.1",kB:"7.1",lB:"9.1",mB:"82",nB:"2",oB:"5.5",pB:"13.1",qB:"TP",rB:"9.5-9.6",sB:"10.0-10.1",tB:"10.5",uB:"10.6",vB:"3.5",wB:"11.6",xB:"4.0-4.1",yB:"3.6",zB:"5.0-5.1","0B":"90","1B":"7.0-7.1","2B":"8.1-8.4","3B":"9.0-9.2","4B":"9.3","5B":"10.0-10.2","6B":"10.3","7B":"11.0-11.2","8B":"11.3-11.4","9B":"12.0-12.1",AC:"12.2-12.4",BC:"13.0-13.1",CC:"13.2",DC:"13.3",EC:"13.4-13.7",FC:"14.0-14.5",GC:"all",HC:"2.1",IC:"2.2",JC:"2.3",KC:"4.1",LC:"4.4",MC:"4.4.3-4.4.4",NC:"12.12",OC:"5.0-5.4",PC:"6.2-6.4",QC:"7.2-7.4",RC:"8.2",SC:"9.2",TC:"11.1-11.2",UC:"12.0",VC:"13.0",WC:"10.4",XC:"7.12",YC:"6.0-6.1"}},73238:E=>{E.exports={A:"ie",B:"edge",C:"firefox",D:"chrome",E:"safari",F:"opera",G:"ios_saf",H:"op_mini",I:"android",J:"bb",K:"op_mob",L:"and_chr",M:"and_ff",N:"ie_mob",O:"and_uc",P:"samsung",Q:"and_qq",R:"baidu",S:"kaios"}},54994:(E,k)=>{"use strict";Object.defineProperty(k,"__esModule",{value:true});k.default={1:"ls",2:"rec",3:"pr",4:"cr",5:"wd",6:"other",7:"unoff"}},44909:(E,k)=>{"use strict";Object.defineProperty(k,"__esModule",{value:true});k.default={y:1<<0,n:1<<1,a:1<<2,p:1<<3,u:1<<4,x:1<<5,d:1<<6}},92406:(E,k,S)=>{"use strict";var w;w={value:true};k.D=undefined;var N=S(59307);var j=S(57917);var q=S(12161);function unpackBrowserVersions(E){return Object.keys(E).reduce((function(k,S){k[j.browserVersions[S]]=E[S];return k}),{})}var ee=k.D=Object.keys(q).reduce((function(E,k){var S=q[k];E[N.browsers[k]]=Object.keys(S).reduce((function(E,k){if(k==="A"){E.usage_global=unpackBrowserVersions(S[k])}else if(k==="C"){E.versions=S[k].reduce((function(E,k){if(k===""){E.push(null)}else{E.push(j.browserVersions[k])}return E}),[])}else if(k==="D"){E.prefix_exceptions=unpackBrowserVersions(S[k])}else if(k==="E"){E.browser=S[k]}else if(k==="F"){E.release_date=Object.keys(S[k]).reduce((function(E,w){E[j.browserVersions[w]]=S[k][w];return E}),{})}else{E.prefix=S[k]}return E}),{});return E}),{})},57917:(E,k,S)=>{"use strict";Object.defineProperty(k,"__esModule",{value:true});var w=k.browserVersions=S(5682)},59307:(E,k,S)=>{"use strict";Object.defineProperty(k,"__esModule",{value:true});var w=k.browsers=S(73238)},30048:(E,k,S)=>{"use strict";var w;w={value:true};k.Z=unpackFeature;var N=S(54994);var j=_interopRequireDefault(N);var q=S(44909);var ee=_interopRequireDefault(q);var te=S(59307);var ne=S(57917);function _interopRequireDefault(E){return E&&E.__esModule?E:{default:E}}var ae=Math.log(2);function unpackSupport(E){var k=Object.keys(ee.default).reduce((function(k,S){if(E&ee.default[S])k.push(S);return k}),[]);var S=E>>7;var w=[];while(S){var N=Math.floor(Math.log(S)/ae)+1;w.unshift("#"+N);S-=Math.pow(2,N-1)}return k.concat(w).join(" ")}function unpackFeature(E){var k={status:j.default[E.B],title:E.C};k.stats=Object.keys(E.A).reduce((function(k,S){var w=E.A[S];k[te.browsers[S]]=Object.keys(w).reduce((function(E,k){var S=w[k].split(" ");var N=unpackSupport(k);S.forEach((function(k){return E[ne.browserVersions[k]]=N}));return E}),{});return k}),{});return k}},24356:(E,k,S)=>{"use strict";var w;w={value:true};k.Z=unpackRegion;var N=S(59307);function unpackRegion(E){return Object.keys(E).reduce((function(k,S){var w=E[S];k[N.browsers[S]]=Object.keys(w).reduce((function(E,k){var S=w[k];if(k==="_"){S.split(" ").forEach((function(k){return E[k]=null}))}else{E[k]=S}return E}),{});return k}),{})}},98136:(E,k,S)=>{"use strict";E=S.nmd(E);const wrapAnsi16=(E,k)=>(...S)=>{const w=E(...S);return`[${w+k}m`};const wrapAnsi256=(E,k)=>(...S)=>{const w=E(...S);return`[${38+k};5;${w}m`};const wrapAnsi16m=(E,k)=>(...S)=>{const w=E(...S);return`[${38+k};2;${w[0]};${w[1]};${w[2]}m`};const ansi2ansi=E=>E;const rgb2rgb=(E,k,S)=>[E,k,S];const setLazyProperty=(E,k,S)=>{Object.defineProperty(E,k,{get:()=>{const w=S();Object.defineProperty(E,k,{value:w,enumerable:true,configurable:true});return w},enumerable:true,configurable:true})};let w;const makeDynamicStyles=(E,k,N,j)=>{if(w===undefined){w=S(91672)}const q=j?10:0;const ee={};for(const[S,j]of Object.entries(w)){const w=S==="ansi16"?"ansi":S;if(S===k){ee[w]=E(N,q)}else if(typeof j==="object"){ee[w]=E(j[k],q)}}return ee};function assembleStyles(){const E=new Map;const k={modifier:{reset:[0,0],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],blackBright:[90,39],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],bgBlackBright:[100,49],bgRedBright:[101,49],bgGreenBright:[102,49],bgYellowBright:[103,49],bgBlueBright:[104,49],bgMagentaBright:[105,49],bgCyanBright:[106,49],bgWhiteBright:[107,49]}};k.color.gray=k.color.blackBright;k.bgColor.bgGray=k.bgColor.bgBlackBright;k.color.grey=k.color.blackBright;k.bgColor.bgGrey=k.bgColor.bgBlackBright;for(const[S,w]of Object.entries(k)){for(const[S,N]of Object.entries(w)){k[S]={open:`[${N[0]}m`,close:`[${N[1]}m`};w[S]=k[S];E.set(N[0],N[1])}Object.defineProperty(k,S,{value:w,enumerable:false})}Object.defineProperty(k,"codes",{value:E,enumerable:false});k.color.close="";k.bgColor.close="";setLazyProperty(k.color,"ansi",(()=>makeDynamicStyles(wrapAnsi16,"ansi16",ansi2ansi,false)));setLazyProperty(k.color,"ansi256",(()=>makeDynamicStyles(wrapAnsi256,"ansi256",ansi2ansi,false)));setLazyProperty(k.color,"ansi16m",(()=>makeDynamicStyles(wrapAnsi16m,"rgb",rgb2rgb,false)));setLazyProperty(k.bgColor,"ansi",(()=>makeDynamicStyles(wrapAnsi16,"ansi16",ansi2ansi,true)));setLazyProperty(k.bgColor,"ansi256",(()=>makeDynamicStyles(wrapAnsi256,"ansi256",ansi2ansi,true)));setLazyProperty(k.bgColor,"ansi16m",(()=>makeDynamicStyles(wrapAnsi16m,"rgb",rgb2rgb,true)));return k}Object.defineProperty(E,"exports",{enumerable:true,get:assembleStyles})},19347:(E,k,S)=>{const w=S(24253);const N={};for(const E of Object.keys(w)){N[w[E]]=E}const j={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"]}};E.exports=j;for(const E of Object.keys(j)){if(!("channels"in j[E])){throw new Error("missing channels property: "+E)}if(!("labels"in j[E])){throw new Error("missing channel labels property: "+E)}if(j[E].labels.length!==j[E].channels){throw new Error("channel and label counts mismatch: "+E)}const{channels:k,labels:S}=j[E];delete j[E].channels;delete j[E].labels;Object.defineProperty(j[E],"channels",{value:k});Object.defineProperty(j[E],"labels",{value:S})}j.rgb.hsl=function(E){const k=E[0]/255;const S=E[1]/255;const w=E[2]/255;const N=Math.min(k,S,w);const j=Math.max(k,S,w);const q=j-N;let ee;let te;if(j===N){ee=0}else if(k===j){ee=(S-w)/q}else if(S===j){ee=2+(w-k)/q}else if(w===j){ee=4+(k-S)/q}ee=Math.min(ee*60,360);if(ee<0){ee+=360}const ne=(N+j)/2;if(j===N){te=0}else if(ne<=.5){te=q/(j+N)}else{te=q/(2-j-N)}return[ee,te*100,ne*100]};j.rgb.hsv=function(E){let k;let S;let w;let N;let j;const q=E[0]/255;const ee=E[1]/255;const te=E[2]/255;const ne=Math.max(q,ee,te);const ae=ne-Math.min(q,ee,te);const diffc=function(E){return(ne-E)/6/ae+1/2};if(ae===0){N=0;j=0}else{j=ae/ne;k=diffc(q);S=diffc(ee);w=diffc(te);if(q===ne){N=w-S}else if(ee===ne){N=1/3+k-w}else if(te===ne){N=2/3+S-k}if(N<0){N+=1}else if(N>1){N-=1}}return[N*360,j*100,ne*100]};j.rgb.hwb=function(E){const k=E[0];const S=E[1];let w=E[2];const N=j.rgb.hsl(E)[0];const q=1/255*Math.min(k,Math.min(S,w));w=1-1/255*Math.max(k,Math.max(S,w));return[N,q*100,w*100]};j.rgb.cmyk=function(E){const k=E[0]/255;const S=E[1]/255;const w=E[2]/255;const N=Math.min(1-k,1-S,1-w);const j=(1-k-N)/(1-N)||0;const q=(1-S-N)/(1-N)||0;const ee=(1-w-N)/(1-N)||0;return[j*100,q*100,ee*100,N*100]};function comparativeDistance(E,k){return(E[0]-k[0])**2+(E[1]-k[1])**2+(E[2]-k[2])**2}j.rgb.keyword=function(E){const k=N[E];if(k){return k}let S=Infinity;let j;for(const k of Object.keys(w)){const N=w[k];const q=comparativeDistance(E,N);if(q.04045?((k+.055)/1.055)**2.4:k/12.92;S=S>.04045?((S+.055)/1.055)**2.4:S/12.92;w=w>.04045?((w+.055)/1.055)**2.4:w/12.92;const N=k*.4124+S*.3576+w*.1805;const j=k*.2126+S*.7152+w*.0722;const q=k*.0193+S*.1192+w*.9505;return[N*100,j*100,q*100]};j.rgb.lab=function(E){const k=j.rgb.xyz(E);let S=k[0];let w=k[1];let N=k[2];S/=95.047;w/=100;N/=108.883;S=S>.008856?S**(1/3):7.787*S+16/116;w=w>.008856?w**(1/3):7.787*w+16/116;N=N>.008856?N**(1/3):7.787*N+16/116;const q=116*w-16;const ee=500*(S-w);const te=200*(w-N);return[q,ee,te]};j.hsl.rgb=function(E){const k=E[0]/360;const S=E[1]/100;const w=E[2]/100;let N;let j;let q;if(S===0){q=w*255;return[q,q,q]}if(w<.5){N=w*(1+S)}else{N=w+S-w*S}const ee=2*w-N;const te=[0,0,0];for(let E=0;E<3;E++){j=k+1/3*-(E-1);if(j<0){j++}if(j>1){j--}if(6*j<1){q=ee+(N-ee)*6*j}else if(2*j<1){q=N}else if(3*j<2){q=ee+(N-ee)*(2/3-j)*6}else{q=ee}te[E]=q*255}return te};j.hsl.hsv=function(E){const k=E[0];let S=E[1]/100;let w=E[2]/100;let N=S;const j=Math.max(w,.01);w*=2;S*=w<=1?w:2-w;N*=j<=1?j:2-j;const q=(w+S)/2;const ee=w===0?2*N/(j+N):2*S/(w+S);return[k,ee*100,q*100]};j.hsv.rgb=function(E){const k=E[0]/60;const S=E[1]/100;let w=E[2]/100;const N=Math.floor(k)%6;const j=k-Math.floor(k);const q=255*w*(1-S);const ee=255*w*(1-S*j);const te=255*w*(1-S*(1-j));w*=255;switch(N){case 0:return[w,te,q];case 1:return[ee,w,q];case 2:return[q,w,te];case 3:return[q,ee,w];case 4:return[te,q,w];case 5:return[w,q,ee]}};j.hsv.hsl=function(E){const k=E[0];const S=E[1]/100;const w=E[2]/100;const N=Math.max(w,.01);let j;let q;q=(2-S)*w;const ee=(2-S)*N;j=S*N;j/=ee<=1?ee:2-ee;j=j||0;q/=2;return[k,j*100,q*100]};j.hwb.rgb=function(E){const k=E[0]/360;let S=E[1]/100;let w=E[2]/100;const N=S+w;let j;if(N>1){S/=N;w/=N}const q=Math.floor(6*k);const ee=1-w;j=6*k-q;if((q&1)!==0){j=1-j}const te=S+j*(ee-S);let ne;let ae;let _e;switch(q){default:case 6:case 0:ne=ee;ae=te;_e=S;break;case 1:ne=te;ae=ee;_e=S;break;case 2:ne=S;ae=ee;_e=te;break;case 3:ne=S;ae=te;_e=ee;break;case 4:ne=te;ae=S;_e=ee;break;case 5:ne=ee;ae=S;_e=te;break}return[ne*255,ae*255,_e*255]};j.cmyk.rgb=function(E){const k=E[0]/100;const S=E[1]/100;const w=E[2]/100;const N=E[3]/100;const j=1-Math.min(1,k*(1-N)+N);const q=1-Math.min(1,S*(1-N)+N);const ee=1-Math.min(1,w*(1-N)+N);return[j*255,q*255,ee*255]};j.xyz.rgb=function(E){const k=E[0]/100;const S=E[1]/100;const w=E[2]/100;let N;let j;let q;N=k*3.2406+S*-1.5372+w*-.4986;j=k*-.9689+S*1.8758+w*.0415;q=k*.0557+S*-.204+w*1.057;N=N>.0031308?1.055*N**(1/2.4)-.055:N*12.92;j=j>.0031308?1.055*j**(1/2.4)-.055:j*12.92;q=q>.0031308?1.055*q**(1/2.4)-.055:q*12.92;N=Math.min(Math.max(0,N),1);j=Math.min(Math.max(0,j),1);q=Math.min(Math.max(0,q),1);return[N*255,j*255,q*255]};j.xyz.lab=function(E){let k=E[0];let S=E[1];let w=E[2];k/=95.047;S/=100;w/=108.883;k=k>.008856?k**(1/3):7.787*k+16/116;S=S>.008856?S**(1/3):7.787*S+16/116;w=w>.008856?w**(1/3):7.787*w+16/116;const N=116*S-16;const j=500*(k-S);const q=200*(S-w);return[N,j,q]};j.lab.xyz=function(E){const k=E[0];const S=E[1];const w=E[2];let N;let j;let q;j=(k+16)/116;N=S/500+j;q=j-w/200;const ee=j**3;const te=N**3;const ne=q**3;j=ee>.008856?ee:(j-16/116)/7.787;N=te>.008856?te:(N-16/116)/7.787;q=ne>.008856?ne:(q-16/116)/7.787;N*=95.047;j*=100;q*=108.883;return[N,j,q]};j.lab.lch=function(E){const k=E[0];const S=E[1];const w=E[2];let N;const j=Math.atan2(w,S);N=j*360/2/Math.PI;if(N<0){N+=360}const q=Math.sqrt(S*S+w*w);return[k,q,N]};j.lch.lab=function(E){const k=E[0];const S=E[1];const w=E[2];const N=w/360*2*Math.PI;const j=S*Math.cos(N);const q=S*Math.sin(N);return[k,j,q]};j.rgb.ansi16=function(E,k=null){const[S,w,N]=E;let q=k===null?j.rgb.hsv(E)[2]:k;q=Math.round(q/50);if(q===0){return 30}let ee=30+(Math.round(N/255)<<2|Math.round(w/255)<<1|Math.round(S/255));if(q===2){ee+=60}return ee};j.hsv.ansi16=function(E){return j.rgb.ansi16(j.hsv.rgb(E),E[2])};j.rgb.ansi256=function(E){const k=E[0];const S=E[1];const w=E[2];if(k===S&&S===w){if(k<8){return 16}if(k>248){return 231}return Math.round((k-8)/247*24)+232}const N=16+36*Math.round(k/255*5)+6*Math.round(S/255*5)+Math.round(w/255*5);return N};j.ansi16.rgb=function(E){let k=E%10;if(k===0||k===7){if(E>50){k+=3.5}k=k/10.5*255;return[k,k,k]}const S=(~~(E>50)+1)*.5;const w=(k&1)*S*255;const N=(k>>1&1)*S*255;const j=(k>>2&1)*S*255;return[w,N,j]};j.ansi256.rgb=function(E){if(E>=232){const k=(E-232)*10+8;return[k,k,k]}E-=16;let k;const S=Math.floor(E/36)/5*255;const w=Math.floor((k=E%36)/6)/5*255;const N=k%6/5*255;return[S,w,N]};j.rgb.hex=function(E){const k=((Math.round(E[0])&255)<<16)+((Math.round(E[1])&255)<<8)+(Math.round(E[2])&255);const S=k.toString(16).toUpperCase();return"000000".substring(S.length)+S};j.hex.rgb=function(E){const k=E.toString(16).match(/[a-f0-9]{6}|[a-f0-9]{3}/i);if(!k){return[0,0,0]}let S=k[0];if(k[0].length===3){S=S.split("").map((E=>E+E)).join("")}const w=parseInt(S,16);const N=w>>16&255;const j=w>>8&255;const q=w&255;return[N,j,q]};j.rgb.hcg=function(E){const k=E[0]/255;const S=E[1]/255;const w=E[2]/255;const N=Math.max(Math.max(k,S),w);const j=Math.min(Math.min(k,S),w);const q=N-j;let ee;let te;if(q<1){ee=j/(1-q)}else{ee=0}if(q<=0){te=0}else if(N===k){te=(S-w)/q%6}else if(N===S){te=2+(w-k)/q}else{te=4+(k-S)/q}te/=6;te%=1;return[te*360,q*100,ee*100]};j.hsl.hcg=function(E){const k=E[1]/100;const S=E[2]/100;const w=S<.5?2*k*S:2*k*(1-S);let N=0;if(w<1){N=(S-.5*w)/(1-w)}return[E[0],w*100,N*100]};j.hsv.hcg=function(E){const k=E[1]/100;const S=E[2]/100;const w=k*S;let N=0;if(w<1){N=(S-w)/(1-w)}return[E[0],w*100,N*100]};j.hcg.rgb=function(E){const k=E[0]/360;const S=E[1]/100;const w=E[2]/100;if(S===0){return[w*255,w*255,w*255]}const N=[0,0,0];const j=k%1*6;const q=j%1;const ee=1-q;let te=0;switch(Math.floor(j)){case 0:N[0]=1;N[1]=q;N[2]=0;break;case 1:N[0]=ee;N[1]=1;N[2]=0;break;case 2:N[0]=0;N[1]=1;N[2]=q;break;case 3:N[0]=0;N[1]=ee;N[2]=1;break;case 4:N[0]=q;N[1]=0;N[2]=1;break;default:N[0]=1;N[1]=0;N[2]=ee}te=(1-S)*w;return[(S*N[0]+te)*255,(S*N[1]+te)*255,(S*N[2]+te)*255]};j.hcg.hsv=function(E){const k=E[1]/100;const S=E[2]/100;const w=k+S*(1-k);let N=0;if(w>0){N=k/w}return[E[0],N*100,w*100]};j.hcg.hsl=function(E){const k=E[1]/100;const S=E[2]/100;const w=S*(1-k)+.5*k;let N=0;if(w>0&&w<.5){N=k/(2*w)}else if(w>=.5&&w<1){N=k/(2*(1-w))}return[E[0],N*100,w*100]};j.hcg.hwb=function(E){const k=E[1]/100;const S=E[2]/100;const w=k+S*(1-k);return[E[0],(w-k)*100,(1-w)*100]};j.hwb.hcg=function(E){const k=E[1]/100;const S=E[2]/100;const w=1-S;const N=w-k;let j=0;if(N<1){j=(w-N)/(1-N)}return[E[0],N*100,j*100]};j.apple.rgb=function(E){return[E[0]/65535*255,E[1]/65535*255,E[2]/65535*255]};j.rgb.apple=function(E){return[E[0]/255*65535,E[1]/255*65535,E[2]/255*65535]};j.gray.rgb=function(E){return[E[0]/100*255,E[0]/100*255,E[0]/100*255]};j.gray.hsl=function(E){return[0,0,E[0]]};j.gray.hsv=j.gray.hsl;j.gray.hwb=function(E){return[0,100,E[0]]};j.gray.cmyk=function(E){return[0,0,0,E[0]]};j.gray.lab=function(E){return[E[0],0,0]};j.gray.hex=function(E){const k=Math.round(E[0]/100*255)&255;const S=(k<<16)+(k<<8)+k;const w=S.toString(16).toUpperCase();return"000000".substring(w.length)+w};j.rgb.gray=function(E){const k=(E[0]+E[1]+E[2])/3;return[k/255*100]}},91672:(E,k,S)=>{const w=S(19347);const N=S(5806);const j={};const q=Object.keys(w);function wrapRaw(E){const wrappedFn=function(...k){const S=k[0];if(S===undefined||S===null){return S}if(S.length>1){k=S}return E(k)};if("conversion"in E){wrappedFn.conversion=E.conversion}return wrappedFn}function wrapRounded(E){const wrappedFn=function(...k){const S=k[0];if(S===undefined||S===null){return S}if(S.length>1){k=S}const w=E(k);if(typeof w==="object"){for(let E=w.length,k=0;k{j[E]={};Object.defineProperty(j[E],"channels",{value:w[E].channels});Object.defineProperty(j[E],"labels",{value:w[E].labels});const k=N(E);const S=Object.keys(k);S.forEach((S=>{const w=k[S];j[E][S]=wrapRounded(w);j[E][S].raw=wrapRaw(w)}))}));E.exports=j},5806:(E,k,S)=>{const w=S(19347);function buildGraph(){const E={};const k=Object.keys(w);for(let S=k.length,w=0;w{"use strict";const w=S(98136);const{stdout:N,stderr:j}=S(96204);const{stringReplaceAll:q,stringEncaseCRLFWithFirstIndex:ee}=S(88445);const{isArray:te}=Array;const ne=["ansi","ansi","ansi256","ansi16m"];const ae=Object.create(null);const applyOptions=(E,k={})=>{if(k.level&&!(Number.isInteger(k.level)&&k.level>=0&&k.level<=3)){throw new Error("The `level` option should be an integer from 0 to 3")}const S=N?N.level:0;E.level=k.level===undefined?S:k.level};class ChalkClass{constructor(E){return chalkFactory(E)}}const chalkFactory=E=>{const k={};applyOptions(k,E);k.template=(...E)=>chalkTag(k.template,...E);Object.setPrototypeOf(k,Chalk.prototype);Object.setPrototypeOf(k.template,k);k.template.constructor=()=>{throw new Error("`chalk.constructor()` is deprecated. Use `new chalk.Instance()` instead.")};k.template.Instance=ChalkClass;return k.template};function Chalk(E){return chalkFactory(E)}for(const[E,k]of Object.entries(w)){ae[E]={get(){const S=createBuilder(this,createStyler(k.open,k.close,this._styler),this._isEmpty);Object.defineProperty(this,E,{value:S});return S}}}ae.visible={get(){const E=createBuilder(this,this._styler,true);Object.defineProperty(this,"visible",{value:E});return E}};const _e=["rgb","hex","keyword","hsl","hsv","hwb","ansi","ansi256"];for(const E of _e){ae[E]={get(){const{level:k}=this;return function(...S){const N=createStyler(w.color[ne[k]][E](...S),w.color.close,this._styler);return createBuilder(this,N,this._isEmpty)}}}}for(const E of _e){const k="bg"+E[0].toUpperCase()+E.slice(1);ae[k]={get(){const{level:k}=this;return function(...S){const N=createStyler(w.bgColor[ne[k]][E](...S),w.bgColor.close,this._styler);return createBuilder(this,N,this._isEmpty)}}}}const ve=Object.defineProperties((()=>{}),{...ae,level:{enumerable:true,get(){return this._generator.level},set(E){this._generator.level=E}}});const createStyler=(E,k,S)=>{let w;let N;if(S===undefined){w=E;N=k}else{w=S.openAll+E;N=k+S.closeAll}return{open:E,close:k,openAll:w,closeAll:N,parent:S}};const createBuilder=(E,k,S)=>{const builder=(...E)=>{if(te(E[0])&&te(E[0].raw)){return applyStyle(builder,chalkTag(builder,...E))}return applyStyle(builder,E.length===1?""+E[0]:E.join(" "))};Object.setPrototypeOf(builder,ve);builder._generator=E;builder._styler=k;builder._isEmpty=S;return builder};const applyStyle=(E,k)=>{if(E.level<=0||!k){return E._isEmpty?"":k}let S=E._styler;if(S===undefined){return k}const{openAll:w,closeAll:N}=S;if(k.indexOf("")!==-1){while(S!==undefined){k=q(k,S.close,S.open);S=S.parent}}const j=k.indexOf("\n");if(j!==-1){k=ee(k,N,w,j)}return w+k+N};let Ee;const chalkTag=(E,...k)=>{const[w]=k;if(!te(w)||!te(w.raw)){return k.join(" ")}const N=k.slice(1);const j=[w.raw[0]];for(let E=1;E{"use strict";const k=/(?:\\(u(?:[a-f\d]{4}|\{[a-f\d]{1,6}\})|x[a-f\d]{2}|.))|(?:\{(~)?(\w+(?:\([^)]*\))?(?:\.\w+(?:\([^)]*\))?)*)(?:[ \t]|(?=\r?\n)))|(\})|((?:.|[\r\n\f])+?)/gi;const S=/(?:^|\.)(\w+)(?:\(([^)]*)\))?/g;const w=/^(['"])((?:\\.|(?!\1)[^\\])*)\1$/;const N=/\\(u(?:[a-f\d]{4}|{[a-f\d]{1,6}})|x[a-f\d]{2}|.)|([^\\])/gi;const j=new Map([["n","\n"],["r","\r"],["t","\t"],["b","\b"],["f","\f"],["v","\v"],["0","\0"],["\\","\\"],["e",""],["a",""]]);function unescape(E){const k=E[0]==="u";const S=E[1]==="{";if(k&&!S&&E.length===5||E[0]==="x"&&E.length===3){return String.fromCharCode(parseInt(E.slice(1),16))}if(k&&S){return String.fromCodePoint(parseInt(E.slice(2,-1),16))}return j.get(E)||E}function parseArguments(E,k){const S=[];const j=k.trim().split(/\s*,\s*/g);let q;for(const k of j){const j=Number(k);if(!Number.isNaN(j)){S.push(j)}else if(q=k.match(w)){S.push(q[2].replace(N,((E,k,S)=>k?unescape(k):S)))}else{throw new Error(`Invalid Chalk template style argument: ${k} (in style '${E}')`)}}return S}function parseStyle(E){S.lastIndex=0;const k=[];let w;while((w=S.exec(E))!==null){const E=w[1];if(w[2]){const S=parseArguments(E,w[2]);k.push([E].concat(S))}else{k.push([E])}}return k}function buildStyle(E,k){const S={};for(const E of k){for(const k of E.styles){S[k[0]]=E.inverse?null:k.slice(1)}}let w=E;for(const[E,k]of Object.entries(S)){if(!Array.isArray(k)){continue}if(!(E in w)){throw new Error(`Unknown Chalk style: ${E}`)}w=k.length>0?w[E](...k):w[E]}return w}E.exports=(E,S)=>{const w=[];const N=[];let j=[];S.replace(k,((k,S,q,ee,te,ne)=>{if(S){j.push(unescape(S))}else if(ee){const k=j.join("");j=[];N.push(w.length===0?k:buildStyle(E,w)(k));w.push({inverse:q,styles:parseStyle(ee)})}else if(te){if(w.length===0){throw new Error("Found extraneous } in Chalk template literal")}N.push(buildStyle(E,w)(j.join("")));j=[];w.pop()}else{j.push(ne)}}));N.push(j.join(""));if(w.length>0){const E=`Chalk template literal is missing ${w.length} closing bracket${w.length===1?"":"s"} (\`}\`)`;throw new Error(E)}return N.join("")}},88445:E=>{"use strict";const stringReplaceAll=(E,k,S)=>{let w=E.indexOf(k);if(w===-1){return E}const N=k.length;let j=0;let q="";do{q+=E.substr(j,w-j)+k+S;j=w+N;w=E.indexOf(k,j)}while(w!==-1);q+=E.substr(j);return q};const stringEncaseCRLFWithFirstIndex=(E,k,S,w)=>{let N=0;let j="";do{const q=E[w-1]==="\r";j+=E.substr(N,(q?w-1:w)-N)+k+(q?"\r\n":"\n")+S;N=w+1;w=E.indexOf("\n",N)}while(w!==-1);j+=E.substr(N);return j};E.exports={stringReplaceAll:stringReplaceAll,stringEncaseCRLFWithFirstIndex:stringEncaseCRLFWithFirstIndex}},25954:(E,k,S)=>{"use strict";Object.defineProperty(k,"__esModule",{value:true});var w=S(5115);var N=S(92413);function evCommon(){var E=process.hrtime();var k=E[0]*1e6+Math.round(E[1]/1e3);return{ts:k,pid:process.pid,tid:process.pid}}var j=function(E){w.__extends(Tracer,E);function Tracer(k){if(k===void 0){k={}}var S=E.call(this)||this;S.noStream=false;S.events=[];if(typeof k!=="object"){throw new Error("Invalid options passed (must be an object)")}if(k.parent!=null&&typeof k.parent!=="object"){throw new Error("Invalid option (parent) passed (must be an object)")}if(k.fields!=null&&typeof k.fields!=="object"){throw new Error("Invalid option (fields) passed (must be an object)")}if(k.objectMode!=null&&(k.objectMode!==true&&k.objectMode!==false)){throw new Error("Invalid option (objectsMode) passed (must be a boolean)")}S.noStream=k.noStream||false;S.parent=k.parent;if(S.parent){S.fields=Object.assign({},k.parent&&k.parent.fields)}else{S.fields={}}if(k.fields){Object.assign(S.fields,k.fields)}if(!S.fields.cat){S.fields.cat="default"}else if(Array.isArray(S.fields.cat)){S.fields.cat=S.fields.cat.join(",")}if(!S.fields.args){S.fields.args={}}if(S.parent){S._push=S.parent._push.bind(S.parent)}else{S._objectMode=Boolean(k.objectMode);var w={objectMode:S._objectMode};if(S._objectMode){S._push=S.push}else{S._push=S._pushString;w.encoding="utf8"}N.Readable.call(S,w)}return S}Tracer.prototype.flush=function(){if(this.noStream===true){for(var E=0,k=this.events;E{"use strict";E.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]}},93349:(E,k)=>{function isArray(E){if(Array.isArray){return Array.isArray(E)}return objectToString(E)==="[object Array]"}k.isArray=isArray;function isBoolean(E){return typeof E==="boolean"}k.isBoolean=isBoolean;function isNull(E){return E===null}k.isNull=isNull;function isNullOrUndefined(E){return E==null}k.isNullOrUndefined=isNullOrUndefined;function isNumber(E){return typeof E==="number"}k.isNumber=isNumber;function isString(E){return typeof E==="string"}k.isString=isString;function isSymbol(E){return typeof E==="symbol"}k.isSymbol=isSymbol;function isUndefined(E){return E===void 0}k.isUndefined=isUndefined;function isRegExp(E){return objectToString(E)==="[object RegExp]"}k.isRegExp=isRegExp;function isObject(E){return typeof E==="object"&&E!==null}k.isObject=isObject;function isDate(E){return objectToString(E)==="[object Date]"}k.isDate=isDate;function isError(E){return objectToString(E)==="[object Error]"||E instanceof Error}k.isError=isError;function isFunction(E){return typeof E==="function"}k.isFunction=isFunction;function isPrimitive(E){return E===null||typeof E==="boolean"||typeof E==="number"||typeof E==="string"||typeof E==="symbol"||typeof E==="undefined"}k.isPrimitive=isPrimitive;k.isBuffer=Buffer.isBuffer;function objectToString(E){return Object.prototype.toString.call(E)}},46233:E=>{E.exports={"0.20":"39",.21:"41",.22:"41",.23:"41",.24:"41",.25:"42",.26:"42",.27:"43",.28:"43",.29:"43","0.30":"44",.31:"45",.32:"45",.33:"45",.34:"45",.35:"45",.36:"47",.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","12.0":"89","13.0":"90"}},49616:(E,k,S)=>{"use strict";const w=S(31669);E.exports=w.deprecate((function createInnerCallback(E,k,S,w){const N=k.log;if(!N){if(k.stack!==E.stack){const S=function callbackWrapper(){return E.apply(this,arguments)};S.stack=k.stack;S.missing=k.missing;return S}return E}function loggingCallbackWrapper(){return E.apply(this,arguments)}if(S){if(!w){N(S)}loggingCallbackWrapper.log=function writeLog(E){if(w){N(S);w=false}N(" "+E)}}else{loggingCallbackWrapper.log=function writeLog(E){N(E)}}loggingCallbackWrapper.stack=k.stack;loggingCallbackWrapper.missing=k.missing;return loggingCallbackWrapper}),"Pass resolveContext instead and use createInnerContext")},54448:(E,k,S)=>{var w=S(55757);function init(E,k,S){if(!!k&&typeof k!="string"){k=k.message||k.name}w(this,{type:E,name:E,cause:typeof k!="string"?k:S,message:k},"ewr")}function CustomError(E,k){Error.call(this);if(Error.captureStackTrace)Error.captureStackTrace(this,this.constructor);init.call(this,"CustomError",E,k)}CustomError.prototype=new Error;function createError(E,k,S){var err=function(S,w){init.call(this,k,S,w);if(k=="FilesystemError"){this.code=this.cause.code;this.path=this.cause.path;this.errno=this.cause.errno;this.message=(E.errno[this.cause.errno]?E.errno[this.cause.errno].description:this.cause.message)+(this.cause.path?" ["+this.cause.path+"]":"")}Error.call(this);if(Error.captureStackTrace)Error.captureStackTrace(this,err)};err.prototype=!!S?new S:new CustomError;return err}E.exports=function(E){var ce=function(k,S){return createError(E,k,S)};return{CustomError:CustomError,FilesystemError:ce("FilesystemError"),createError:ce}}},80713:(E,k,S)=>{var w=E.exports.all=[{errno:-2,code:"ENOENT",description:"no such file or directory"},{errno:-1,code:"UNKNOWN",description:"unknown error"},{errno:0,code:"OK",description:"success"},{errno:1,code:"EOF",description:"end of file"},{errno:2,code:"EADDRINFO",description:"getaddrinfo error"},{errno:3,code:"EACCES",description:"permission denied"},{errno:4,code:"EAGAIN",description:"resource temporarily unavailable"},{errno:5,code:"EADDRINUSE",description:"address already in use"},{errno:6,code:"EADDRNOTAVAIL",description:"address not available"},{errno:7,code:"EAFNOSUPPORT",description:"address family not supported"},{errno:8,code:"EALREADY",description:"connection already in progress"},{errno:9,code:"EBADF",description:"bad file descriptor"},{errno:10,code:"EBUSY",description:"resource busy or locked"},{errno:11,code:"ECONNABORTED",description:"software caused connection abort"},{errno:12,code:"ECONNREFUSED",description:"connection refused"},{errno:13,code:"ECONNRESET",description:"connection reset by peer"},{errno:14,code:"EDESTADDRREQ",description:"destination address required"},{errno:15,code:"EFAULT",description:"bad address in system call argument"},{errno:16,code:"EHOSTUNREACH",description:"host is unreachable"},{errno:17,code:"EINTR",description:"interrupted system call"},{errno:18,code:"EINVAL",description:"invalid argument"},{errno:19,code:"EISCONN",description:"socket is already connected"},{errno:20,code:"EMFILE",description:"too many open files"},{errno:21,code:"EMSGSIZE",description:"message too long"},{errno:22,code:"ENETDOWN",description:"network is down"},{errno:23,code:"ENETUNREACH",description:"network is unreachable"},{errno:24,code:"ENFILE",description:"file table overflow"},{errno:25,code:"ENOBUFS",description:"no buffer space available"},{errno:26,code:"ENOMEM",description:"not enough memory"},{errno:27,code:"ENOTDIR",description:"not a directory"},{errno:28,code:"EISDIR",description:"illegal operation on a directory"},{errno:29,code:"ENONET",description:"machine is not on the network"},{errno:31,code:"ENOTCONN",description:"socket is not connected"},{errno:32,code:"ENOTSOCK",description:"socket operation on non-socket"},{errno:33,code:"ENOTSUP",description:"operation not supported on socket"},{errno:34,code:"ENOENT",description:"no such file or directory"},{errno:35,code:"ENOSYS",description:"function not implemented"},{errno:36,code:"EPIPE",description:"broken pipe"},{errno:37,code:"EPROTO",description:"protocol error"},{errno:38,code:"EPROTONOSUPPORT",description:"protocol not supported"},{errno:39,code:"EPROTOTYPE",description:"protocol wrong type for socket"},{errno:40,code:"ETIMEDOUT",description:"connection timed out"},{errno:41,code:"ECHARSET",description:"invalid Unicode character"},{errno:42,code:"EAIFAMNOSUPPORT",description:"address family for hostname not supported"},{errno:44,code:"EAISERVICE",description:"servname not supported for ai_socktype"},{errno:45,code:"EAISOCKTYPE",description:"ai_socktype not supported"},{errno:46,code:"ESHUTDOWN",description:"cannot send after transport endpoint shutdown"},{errno:47,code:"EEXIST",description:"file already exists"},{errno:48,code:"ESRCH",description:"no such process"},{errno:49,code:"ENAMETOOLONG",description:"name too long"},{errno:50,code:"EPERM",description:"operation not permitted"},{errno:51,code:"ELOOP",description:"too many symbolic links encountered"},{errno:52,code:"EXDEV",description:"cross-device link not permitted"},{errno:53,code:"ENOTEMPTY",description:"directory not empty"},{errno:54,code:"ENOSPC",description:"no space left on device"},{errno:55,code:"EIO",description:"i/o error"},{errno:56,code:"EROFS",description:"read-only file system"},{errno:57,code:"ENODEV",description:"no such device"},{errno:58,code:"ESPIPE",description:"invalid seek"},{errno:59,code:"ECANCELED",description:"operation canceled"}];E.exports.errno={};E.exports.code={};w.forEach((function(k){E.exports.errno[k.errno]=k;E.exports.code[k.code]=k}));E.exports.custom=S(54448)(E.exports);E.exports.create=E.exports.custom.createError},16950:(E,k,S)=>{"use strict";const w=S(78120);class Definition{constructor(E,k,S,w,N,j){this.type=E;this.name=k;this.node=S;this.parent=w;this.index=N;this.kind=j}}class ParameterDefinition extends Definition{constructor(E,k,S,N){super(w.Parameter,E,k,null,S,null);this.rest=N}}E.exports={ParameterDefinition:ParameterDefinition,Definition:Definition}},19579:(E,k,S)=>{"use strict";const w=S(42357);const N=S(60018);const j=S(36337);const q=S(24552);const ee=S(78120);const te=S(98699).Scope;const ne=S(42245).i8;function defaultOptions(){return{optimistic:false,directive:false,nodejsScope:false,impliedStrict:false,sourceType:"script",ecmaVersion:5,childVisitorKeys:null,fallback:"iteration"}}function updateDeeply(E,k){function isHashObject(E){return typeof E==="object"&&E instanceof Object&&!(E instanceof Array)&&!(E instanceof RegExp)}for(const S in k){if(Object.prototype.hasOwnProperty.call(k,S)){const w=k[S];if(isHashObject(w)){if(isHashObject(E[S])){updateDeeply(E[S],w)}else{E[S]=updateDeeply({},w)}}else{E[S]=w}}}return E}function analyze(E,k){const S=updateDeeply(defaultOptions(),k);const q=new N(S);const ee=new j(S,q);ee.visit(E);w(q.__currentScope===null,"currentScope should be null.");return q}E.exports={version:ne,Reference:q,Variable:ee,Scope:te,ScopeManager:N,analyze:analyze}},29630:(E,k,S)=>{"use strict";const w=S(92105).Syntax;const N=S(49112);function getLast(E){return E[E.length-1]||null}class PatternVisitor extends N.Visitor{static isPattern(E){const k=E.type;return k===w.Identifier||k===w.ObjectPattern||k===w.ArrayPattern||k===w.SpreadElement||k===w.RestElement||k===w.AssignmentPattern}constructor(E,k,S){super(null,E);this.rootPattern=k;this.callback=S;this.assignments=[];this.rightHandNodes=[];this.restElements=[]}Identifier(E){const k=getLast(this.restElements);this.callback(E,{topLevel:E===this.rootPattern,rest:k!==null&&k!==undefined&&k.argument===E,assignments:this.assignments})}Property(E){if(E.computed){this.rightHandNodes.push(E.key)}this.visit(E.value)}ArrayPattern(E){for(let k=0,S=E.elements.length;k{this.rightHandNodes.push(E)}));this.visit(E.callee)}}E.exports=PatternVisitor},24552:E=>{"use strict";const k=1;const S=2;const w=k|S;class Reference{constructor(E,k,S,w,N,j,q){this.identifier=E;this.from=k;this.tainted=false;this.resolved=null;this.flag=S;if(this.isWrite()){this.writeExpr=w;this.partial=j;this.init=q}this.__maybeImplicitGlobal=N}isStatic(){return!this.tainted&&this.resolved&&this.resolved.scope.isStatic()}isWrite(){return!!(this.flag&Reference.WRITE)}isRead(){return!!(this.flag&Reference.READ)}isReadOnly(){return this.flag===Reference.READ}isWriteOnly(){return this.flag===Reference.WRITE}isReadWrite(){return this.flag===Reference.RW}}Reference.READ=k;Reference.WRITE=S;Reference.RW=w;E.exports=Reference},36337:(E,k,S)=>{"use strict";const w=S(92105).Syntax;const N=S(49112);const j=S(24552);const q=S(78120);const ee=S(29630);const te=S(16950);const ne=S(42357);const ae=te.ParameterDefinition;const _e=te.Definition;function traverseIdentifierInPattern(E,k,S,w){const N=new ee(E,k,w);N.visit(k);if(S!==null&&S!==undefined){N.rightHandNodes.forEach(S.visit,S)}}class Importer extends N.Visitor{constructor(E,k){super(null,k.options);this.declaration=E;this.referencer=k}visitImport(E,k){this.referencer.visitPattern(E,(E=>{this.referencer.currentScope().__define(E,new _e(q.ImportBinding,E,k,this.declaration,null,null))}))}ImportNamespaceSpecifier(E){const k=E.local||E.id;if(k){this.visitImport(k,E)}}ImportDefaultSpecifier(E){const k=E.local||E.id;this.visitImport(k,E)}ImportSpecifier(E){const k=E.local||E.id;if(E.name){this.visitImport(E.name,E)}else{this.visitImport(k,E)}}}class Referencer extends N.Visitor{constructor(E,k){super(null,E);this.options=E;this.scopeManager=k;this.parent=null;this.isInnerMethodDefinition=false}currentScope(){return this.scopeManager.__currentScope}close(E){while(this.currentScope()&&E===this.currentScope().block){this.scopeManager.__currentScope=this.currentScope().__close(this.scopeManager)}}pushInnerMethodDefinition(E){const k=this.isInnerMethodDefinition;this.isInnerMethodDefinition=E;return k}popInnerMethodDefinition(E){this.isInnerMethodDefinition=E}referencingDefaultValue(E,k,S,w){const N=this.currentScope();k.forEach((k=>{N.__referencing(E,j.WRITE,k.right,S,E!==k.left,w)}))}visitPattern(E,k,S){let w=k;let N=S;if(typeof k==="function"){N=k;w={processRightHandNodes:false}}traverseIdentifierInPattern(this.options,E,w.processRightHandNodes?this:null,N)}visitFunction(E){let k,S;if(E.type===w.FunctionDeclaration){this.currentScope().__define(E.id,new _e(q.FunctionName,E.id,E,null,null,null))}if(E.type===w.FunctionExpression&&E.id){this.scopeManager.__nestFunctionExpressionNameScope(E)}this.scopeManager.__nestFunctionScope(E,this.isInnerMethodDefinition);const N=this;function visitPatternCallback(S,w){N.currentScope().__define(S,new ae(S,E,k,w.rest));N.referencingDefaultValue(S,w.assignments,null,true)}for(k=0,S=E.params.length;k{this.currentScope().__define(k,new ae(k,E,E.params.length,true))}))}if(E.body){if(E.body.type===w.BlockStatement){this.visitChildren(E.body)}else{this.visit(E.body)}}this.close(E)}visitClass(E){if(E.type===w.ClassDeclaration){this.currentScope().__define(E.id,new _e(q.ClassName,E.id,E,null,null,null))}this.visit(E.superClass);this.scopeManager.__nestClassScope(E);if(E.id){this.currentScope().__define(E.id,new _e(q.ClassName,E.id,E))}this.visit(E.body);this.close(E)}visitProperty(E){let k;if(E.computed){this.visit(E.key)}const S=E.type===w.MethodDefinition;if(S){k=this.pushInnerMethodDefinition(true)}this.visit(E.value);if(S){this.popInnerMethodDefinition(k)}}visitForIn(E){if(E.left.type===w.VariableDeclaration&&E.left.kind!=="var"){this.scopeManager.__nestForScope(E)}if(E.left.type===w.VariableDeclaration){this.visit(E.left);this.visitPattern(E.left.declarations[0].id,(k=>{this.currentScope().__referencing(k,j.WRITE,E.right,null,true,true)}))}else{this.visitPattern(E.left,{processRightHandNodes:true},((k,S)=>{let w=null;if(!this.currentScope().isStrict){w={pattern:k,node:E}}this.referencingDefaultValue(k,S.assignments,w,false);this.currentScope().__referencing(k,j.WRITE,E.right,w,true,false)}))}this.visit(E.right);this.visit(E.body);this.close(E)}visitVariableDeclaration(E,k,S,w){const N=S.declarations[w];const q=N.init;this.visitPattern(N.id,{processRightHandNodes:true},((ee,te)=>{E.__define(ee,new _e(k,ee,N,S,w,S.kind));this.referencingDefaultValue(ee,te.assignments,null,true);if(q){this.currentScope().__referencing(ee,j.WRITE,q,null,!te.topLevel,true)}}))}AssignmentExpression(E){if(ee.isPattern(E.left)){if(E.operator==="="){this.visitPattern(E.left,{processRightHandNodes:true},((k,S)=>{let w=null;if(!this.currentScope().isStrict){w={pattern:k,node:E}}this.referencingDefaultValue(k,S.assignments,w,false);this.currentScope().__referencing(k,j.WRITE,E.right,w,!S.topLevel,false)}))}else{this.currentScope().__referencing(E.left,j.RW,E.right)}}else{this.visit(E.left)}this.visit(E.right)}CatchClause(E){this.scopeManager.__nestCatchScope(E);this.visitPattern(E.param,{processRightHandNodes:true},((k,S)=>{this.currentScope().__define(k,new _e(q.CatchClause,E.param,E,null,null,null));this.referencingDefaultValue(k,S.assignments,null,true)}));this.visit(E.body);this.close(E)}Program(E){this.scopeManager.__nestGlobalScope(E);if(this.scopeManager.__isNodejsScope()){this.currentScope().isStrict=false;this.scopeManager.__nestFunctionScope(E,false)}if(this.scopeManager.__isES6()&&this.scopeManager.isModule()){this.scopeManager.__nestModuleScope(E)}if(this.scopeManager.isStrictModeSupported()&&this.scopeManager.isImpliedStrict()){this.currentScope().isStrict=true}this.visitChildren(E);this.close(E)}Identifier(E){this.currentScope().__referencing(E)}UpdateExpression(E){if(ee.isPattern(E.argument)){this.currentScope().__referencing(E.argument,j.RW,null)}else{this.visitChildren(E)}}MemberExpression(E){this.visit(E.object);if(E.computed){this.visit(E.property)}}Property(E){this.visitProperty(E)}MethodDefinition(E){this.visitProperty(E)}BreakStatement(){}ContinueStatement(){}LabeledStatement(E){this.visit(E.body)}ForStatement(E){if(E.init&&E.init.type===w.VariableDeclaration&&E.init.kind!=="var"){this.scopeManager.__nestForScope(E)}this.visitChildren(E);this.close(E)}ClassExpression(E){this.visitClass(E)}ClassDeclaration(E){this.visitClass(E)}CallExpression(E){if(!this.scopeManager.__ignoreEval()&&E.callee.type===w.Identifier&&E.callee.name==="eval"){this.currentScope().variableScope.__detectEval()}this.visitChildren(E)}BlockStatement(E){if(this.scopeManager.__isES6()){this.scopeManager.__nestBlockScope(E)}this.visitChildren(E);this.close(E)}ThisExpression(){this.currentScope().variableScope.__detectThis()}WithStatement(E){this.visit(E.object);this.scopeManager.__nestWithScope(E);this.visit(E.body);this.close(E)}VariableDeclaration(E){const k=E.kind==="var"?this.currentScope().variableScope:this.currentScope();for(let S=0,w=E.declarations.length;S{"use strict";const w=S(98699);const N=S(42357);const j=w.GlobalScope;const q=w.CatchScope;const ee=w.WithScope;const te=w.ModuleScope;const ne=w.ClassScope;const ae=w.SwitchScope;const _e=w.FunctionScope;const ve=w.ForScope;const Ee=w.FunctionExpressionNameScope;const we=w.BlockScope;class ScopeManager{constructor(E){this.scopes=[];this.globalScope=null;this.__nodeToScope=new WeakMap;this.__currentScope=null;this.__options=E;this.__declaredVariables=new WeakMap}__useDirective(){return this.__options.directive}__isOptimistic(){return this.__options.optimistic}__ignoreEval(){return this.__options.ignoreEval}__isNodejsScope(){return this.__options.nodejsScope}isModule(){return this.__options.sourceType==="module"}isImpliedStrict(){return this.__options.impliedStrict}isStrictModeSupported(){return this.__options.ecmaVersion>=5}__get(E){return this.__nodeToScope.get(E)}getDeclaredVariables(E){return this.__declaredVariables.get(E)||[]}acquire(E,k){function predicate(E){if(E.type==="function"&&E.functionExpressionScope){return false}return true}const S=this.__get(E);if(!S||S.length===0){return null}if(S.length===1){return S[0]}if(k){for(let E=S.length-1;E>=0;--E){const k=S[E];if(predicate(k)){return k}}}else{for(let E=0,k=S.length;E=6}}E.exports=ScopeManager},98699:(E,k,S)=>{"use strict";const w=S(92105).Syntax;const N=S(24552);const j=S(78120);const q=S(16950).Definition;const ee=S(42357);function isStrictScope(E,k,S,N){let j;if(E.upper&&E.upper.isStrict){return true}if(S){return true}if(E.type==="class"||E.type==="module"){return true}if(E.type==="block"||E.type==="switch"){return false}if(E.type==="function"){if(k.type===w.ArrowFunctionExpression&&k.body.type!==w.BlockStatement){return false}if(k.type===w.Program){j=k}else{j=k.body}if(!j){return false}}else if(E.type==="global"){j=k}else{return false}if(N){for(let E=0,k=j.body.length;E0&&w.every(shouldBeStatically)}__staticCloseRef(E){if(!this.__resolve(E)){this.__delegateToUpperScope(E)}}__dynamicCloseRef(E){let k=this;do{k.through.push(E);k=k.upper}while(k)}__globalCloseRef(E){if(this.__shouldStaticallyCloseForGlobal(E)){this.__staticCloseRef(E)}else{this.__dynamicCloseRef(E)}}__close(E){let k;if(this.__shouldStaticallyClose(E)){k=this.__staticCloseRef}else if(this.type!=="global"){k=this.__dynamicCloseRef}else{k=this.__globalCloseRef}for(let E=0,S=this.__left.length;EE.name.range[0]>=S)))}}class ForScope extends Scope{constructor(E,k,S){super(E,"for",k,S,false)}}class ClassScope extends Scope{constructor(E,k,S){super(E,"class",k,S,false)}}E.exports={Scope:Scope,GlobalScope:GlobalScope,ModuleScope:ModuleScope,FunctionExpressionNameScope:FunctionExpressionNameScope,CatchScope:CatchScope,WithScope:WithScope,BlockScope:BlockScope,SwitchScope:SwitchScope,FunctionScope:FunctionScope,ForScope:ForScope,ClassScope:ClassScope}},78120:E=>{"use strict";class Variable{constructor(E,k){this.name=E;this.identifiers=[];this.references=[];this.defs=[];this.tainted=false;this.stack=true;this.scope=k}}Variable.CatchClause="CatchClause";Variable.Parameter="Parameter";Variable.FunctionName="FunctionName";Variable.ClassName="ClassName";Variable.Variable="Variable";Variable.ImportBinding="ImportBinding";Variable.ImplicitGlobalVariable="ImplicitGlobalVariable";E.exports=Variable},49112:(E,k,S)=>{(function(){"use strict";var E=S(99054);function isNode(E){if(E==null){return false}return typeof E==="object"&&typeof E.type==="string"}function isProperty(k,S){return(k===E.Syntax.ObjectExpression||k===E.Syntax.ObjectPattern)&&S==="properties"}function Visitor(k,S){S=S||{};this.__visitor=k||this;this.__childVisitorKeys=S.childVisitorKeys?Object.assign({},E.VisitorKeys,S.childVisitorKeys):E.VisitorKeys;if(S.fallback==="iteration"){this.__fallback=Object.keys}else if(typeof S.fallback==="function"){this.__fallback=S.fallback}}Visitor.prototype.visitChildren=function(k){var S,w,N,j,q,ee,te;if(k==null){return}S=k.type||E.Syntax.Property;w=this.__childVisitorKeys[S];if(!w){if(this.__fallback){w=this.__fallback(k)}else{throw new Error("Unknown node type "+S+".")}}for(N=0,j=w.length;N{(function clone(E){"use strict";var k,S,w,N,j,q;function deepCopy(E){var k={},S,w;for(S in E){if(E.hasOwnProperty(S)){w=E[S];if(typeof w==="object"&&w!==null){k[S]=deepCopy(w)}else{k[S]=w}}}return k}function upperBound(E,k){var S,w,N,j;w=E.length;N=0;while(w){S=w>>>1;j=N+S;if(k(E[j])){w=S}else{N=j+1;w-=S+1}}return N}k={AssignmentExpression:"AssignmentExpression",AssignmentPattern:"AssignmentPattern",ArrayExpression:"ArrayExpression",ArrayPattern:"ArrayPattern",ArrowFunctionExpression:"ArrowFunctionExpression",AwaitExpression:"AwaitExpression",BlockStatement:"BlockStatement",BinaryExpression:"BinaryExpression",BreakStatement:"BreakStatement",CallExpression:"CallExpression",CatchClause:"CatchClause",ChainExpression:"ChainExpression",ClassBody:"ClassBody",ClassDeclaration:"ClassDeclaration",ClassExpression:"ClassExpression",ComprehensionBlock:"ComprehensionBlock",ComprehensionExpression:"ComprehensionExpression",ConditionalExpression:"ConditionalExpression",ContinueStatement:"ContinueStatement",DebuggerStatement:"DebuggerStatement",DirectiveStatement:"DirectiveStatement",DoWhileStatement:"DoWhileStatement",EmptyStatement:"EmptyStatement",ExportAllDeclaration:"ExportAllDeclaration",ExportDefaultDeclaration:"ExportDefaultDeclaration",ExportNamedDeclaration:"ExportNamedDeclaration",ExportSpecifier:"ExportSpecifier",ExpressionStatement:"ExpressionStatement",ForStatement:"ForStatement",ForInStatement:"ForInStatement",ForOfStatement:"ForOfStatement",FunctionDeclaration:"FunctionDeclaration",FunctionExpression:"FunctionExpression",GeneratorExpression:"GeneratorExpression",Identifier:"Identifier",IfStatement:"IfStatement",ImportExpression:"ImportExpression",ImportDeclaration:"ImportDeclaration",ImportDefaultSpecifier:"ImportDefaultSpecifier",ImportNamespaceSpecifier:"ImportNamespaceSpecifier",ImportSpecifier:"ImportSpecifier",Literal:"Literal",LabeledStatement:"LabeledStatement",LogicalExpression:"LogicalExpression",MemberExpression:"MemberExpression",MetaProperty:"MetaProperty",MethodDefinition:"MethodDefinition",ModuleSpecifier:"ModuleSpecifier",NewExpression:"NewExpression",ObjectExpression:"ObjectExpression",ObjectPattern:"ObjectPattern",Program:"Program",Property:"Property",RestElement:"RestElement",ReturnStatement:"ReturnStatement",SequenceExpression:"SequenceExpression",SpreadElement:"SpreadElement",Super:"Super",SwitchStatement:"SwitchStatement",SwitchCase:"SwitchCase",TaggedTemplateExpression:"TaggedTemplateExpression",TemplateElement:"TemplateElement",TemplateLiteral:"TemplateLiteral",ThisExpression:"ThisExpression",ThrowStatement:"ThrowStatement",TryStatement:"TryStatement",UnaryExpression:"UnaryExpression",UpdateExpression:"UpdateExpression",VariableDeclaration:"VariableDeclaration",VariableDeclarator:"VariableDeclarator",WhileStatement:"WhileStatement",WithStatement:"WithStatement",YieldExpression:"YieldExpression"};w={AssignmentExpression:["left","right"],AssignmentPattern:["left","right"],ArrayExpression:["elements"],ArrayPattern:["elements"],ArrowFunctionExpression:["params","body"],AwaitExpression:["argument"],BlockStatement:["body"],BinaryExpression:["left","right"],BreakStatement:["label"],CallExpression:["callee","arguments"],CatchClause:["param","body"],ChainExpression:["expression"],ClassBody:["body"],ClassDeclaration:["id","superClass","body"],ClassExpression:["id","superClass","body"],ComprehensionBlock:["left","right"],ComprehensionExpression:["blocks","filter","body"],ConditionalExpression:["test","consequent","alternate"],ContinueStatement:["label"],DebuggerStatement:[],DirectiveStatement:[],DoWhileStatement:["body","test"],EmptyStatement:[],ExportAllDeclaration:["source"],ExportDefaultDeclaration:["declaration"],ExportNamedDeclaration:["declaration","specifiers","source"],ExportSpecifier:["exported","local"],ExpressionStatement:["expression"],ForStatement:["init","test","update","body"],ForInStatement:["left","right","body"],ForOfStatement:["left","right","body"],FunctionDeclaration:["id","params","body"],FunctionExpression:["id","params","body"],GeneratorExpression:["blocks","filter","body"],Identifier:[],IfStatement:["test","consequent","alternate"],ImportExpression:["source"],ImportDeclaration:["specifiers","source"],ImportDefaultSpecifier:["local"],ImportNamespaceSpecifier:["local"],ImportSpecifier:["imported","local"],Literal:[],LabeledStatement:["label","body"],LogicalExpression:["left","right"],MemberExpression:["object","property"],MetaProperty:["meta","property"],MethodDefinition:["key","value"],ModuleSpecifier:[],NewExpression:["callee","arguments"],ObjectExpression:["properties"],ObjectPattern:["properties"],Program:["body"],Property:["key","value"],RestElement:["argument"],ReturnStatement:["argument"],SequenceExpression:["expressions"],SpreadElement:["argument"],Super:[],SwitchStatement:["discriminant","cases"],SwitchCase:["test","consequent"],TaggedTemplateExpression:["tag","quasi"],TemplateElement:[],TemplateLiteral:["quasis","expressions"],ThisExpression:[],ThrowStatement:["argument"],TryStatement:["block","handler","finalizer"],UnaryExpression:["argument"],UpdateExpression:["argument"],VariableDeclaration:["declarations"],VariableDeclarator:["id","init"],WhileStatement:["test","body"],WithStatement:["object","body"],YieldExpression:["argument"]};N={};j={};q={};S={Break:N,Skip:j,Remove:q};function Reference(E,k){this.parent=E;this.key=k}Reference.prototype.replace=function replace(E){this.parent[this.key]=E};Reference.prototype.remove=function remove(){if(Array.isArray(this.parent)){this.parent.splice(this.key,1);return true}else{this.replace(null);return false}};function Element(E,k,S,w){this.node=E;this.path=k;this.wrap=S;this.ref=w}function Controller(){}Controller.prototype.path=function path(){var E,k,S,w,N,j;function addToPath(E,k){if(Array.isArray(k)){for(S=0,w=k.length;S=0;--S){if(E[S].node===k){return true}}return false}Controller.prototype.traverse=function traverse(E,k){var S,w,q,ee,te,ne,ae,_e,ve,Ee,we,Ce;this.__initialize(E,k);Ce={};S=this.__worklist;w=this.__leavelist;S.push(new Element(E,null,null,null));w.push(new Element(null,null,null,null));while(S.length){q=S.pop();if(q===Ce){q=w.pop();ne=this.__execute(k.leave,q);if(this.__state===N||ne===N){return}continue}if(q.node){ne=this.__execute(k.enter,q);if(this.__state===N||ne===N){return}S.push(Ce);w.push(q);if(this.__state===j||ne===j){continue}ee=q.node;te=ee.type||q.wrap;Ee=this.__keys[te];if(!Ee){if(this.__fallback){Ee=this.__fallback(ee)}else{throw new Error("Unknown node type "+te+".")}}_e=Ee.length;while((_e-=1)>=0){ae=Ee[_e];we=ee[ae];if(!we){continue}if(Array.isArray(we)){ve=we.length;while((ve-=1)>=0){if(!we[ve]){continue}if(candidateExistsInLeaveList(w,we[ve])){continue}if(isProperty(te,Ee[_e])){q=new Element(we[ve],[ae,ve],"Property",null)}else if(isNode(we[ve])){q=new Element(we[ve],[ae,ve],null,null)}else{continue}S.push(q)}}else if(isNode(we)){if(candidateExistsInLeaveList(w,we)){continue}S.push(new Element(we,ae,null,null))}}}}};Controller.prototype.replace=function replace(E,k){var S,w,ee,te,ne,ae,_e,ve,Ee,we,Ce,Me,Te;function removeElem(E){var k,w,N,j;if(E.ref.remove()){w=E.ref.key;j=E.ref.parent;k=S.length;while(k--){N=S[k];if(N.ref&&N.ref.parent===j){if(N.ref.key=0){Te=Ee[_e];we=ee[Te];if(!we){continue}if(Array.isArray(we)){ve=we.length;while((ve-=1)>=0){if(!we[ve]){continue}if(isProperty(te,Ee[_e])){ae=new Element(we[ve],[Te,ve],"Property",new Reference(we,ve))}else if(isNode(we[ve])){ae=new Element(we[ve],[Te,ve],null,new Reference(we,ve))}else{continue}S.push(ae)}}else if(isNode(we)){S.push(new Element(we,Te,null,new Reference(ee,Te)))}}}return Me.root};function traverse(E,k){var S=new Controller;return S.traverse(E,k)}function replace(E,k){var S=new Controller;return S.replace(E,k)}function extendCommentRange(E,k){var S;S=upperBound(k,(function search(k){return k.range[0]>E.range[0]}));E.extendedRange=[E.range[0],E.range[1]];if(S!==k.length){E.extendedRange[1]=k[S].range[0]}S-=1;if(S>=0){E.extendedRange[0]=k[S].range[1]}return E}function attachComments(E,k,w){var N=[],j,q,ee,te;if(!E.range){throw new Error("attachComments needs range information")}if(!w.length){if(k.length){for(ee=0,q=k.length;eeE.range[0]){break}if(k.extendedRange[1]===E.range[0]){if(!E.leadingComments){E.leadingComments=[]}E.leadingComments.push(k);N.splice(te,1)}else{te+=1}}if(te===N.length){return S.Break}if(N[te].extendedRange[0]>E.range[1]){return S.Skip}}});te=0;traverse(E,{leave:function(E){var k;while(teE.range[1]){return S.Skip}}});return E}E.Syntax=k;E.traverse=traverse;E.replace=replace;E.attachComments=attachComments;E.VisitorKeys=w;E.VisitorOption=S;E.Controller=Controller;E.cloneEnvironment=function(){return clone({})};return E})(k)},92105:(E,k,S)=>{(function clone(E){"use strict";var k,w,N,j,q,ee;function deepCopy(E){var k={},S,w;for(S in E){if(E.hasOwnProperty(S)){w=E[S];if(typeof w==="object"&&w!==null){k[S]=deepCopy(w)}else{k[S]=w}}}return k}function upperBound(E,k){var S,w,N,j;w=E.length;N=0;while(w){S=w>>>1;j=N+S;if(k(E[j])){w=S}else{N=j+1;w-=S+1}}return N}k={AssignmentExpression:"AssignmentExpression",AssignmentPattern:"AssignmentPattern",ArrayExpression:"ArrayExpression",ArrayPattern:"ArrayPattern",ArrowFunctionExpression:"ArrowFunctionExpression",AwaitExpression:"AwaitExpression",BlockStatement:"BlockStatement",BinaryExpression:"BinaryExpression",BreakStatement:"BreakStatement",CallExpression:"CallExpression",CatchClause:"CatchClause",ClassBody:"ClassBody",ClassDeclaration:"ClassDeclaration",ClassExpression:"ClassExpression",ComprehensionBlock:"ComprehensionBlock",ComprehensionExpression:"ComprehensionExpression",ConditionalExpression:"ConditionalExpression",ContinueStatement:"ContinueStatement",DebuggerStatement:"DebuggerStatement",DirectiveStatement:"DirectiveStatement",DoWhileStatement:"DoWhileStatement",EmptyStatement:"EmptyStatement",ExportAllDeclaration:"ExportAllDeclaration",ExportDefaultDeclaration:"ExportDefaultDeclaration",ExportNamedDeclaration:"ExportNamedDeclaration",ExportSpecifier:"ExportSpecifier",ExpressionStatement:"ExpressionStatement",ForStatement:"ForStatement",ForInStatement:"ForInStatement",ForOfStatement:"ForOfStatement",FunctionDeclaration:"FunctionDeclaration",FunctionExpression:"FunctionExpression",GeneratorExpression:"GeneratorExpression",Identifier:"Identifier",IfStatement:"IfStatement",ImportExpression:"ImportExpression",ImportDeclaration:"ImportDeclaration",ImportDefaultSpecifier:"ImportDefaultSpecifier",ImportNamespaceSpecifier:"ImportNamespaceSpecifier",ImportSpecifier:"ImportSpecifier",Literal:"Literal",LabeledStatement:"LabeledStatement",LogicalExpression:"LogicalExpression",MemberExpression:"MemberExpression",MetaProperty:"MetaProperty",MethodDefinition:"MethodDefinition",ModuleSpecifier:"ModuleSpecifier",NewExpression:"NewExpression",ObjectExpression:"ObjectExpression",ObjectPattern:"ObjectPattern",Program:"Program",Property:"Property",RestElement:"RestElement",ReturnStatement:"ReturnStatement",SequenceExpression:"SequenceExpression",SpreadElement:"SpreadElement",Super:"Super",SwitchStatement:"SwitchStatement",SwitchCase:"SwitchCase",TaggedTemplateExpression:"TaggedTemplateExpression",TemplateElement:"TemplateElement",TemplateLiteral:"TemplateLiteral",ThisExpression:"ThisExpression",ThrowStatement:"ThrowStatement",TryStatement:"TryStatement",UnaryExpression:"UnaryExpression",UpdateExpression:"UpdateExpression",VariableDeclaration:"VariableDeclaration",VariableDeclarator:"VariableDeclarator",WhileStatement:"WhileStatement",WithStatement:"WithStatement",YieldExpression:"YieldExpression"};N={AssignmentExpression:["left","right"],AssignmentPattern:["left","right"],ArrayExpression:["elements"],ArrayPattern:["elements"],ArrowFunctionExpression:["params","body"],AwaitExpression:["argument"],BlockStatement:["body"],BinaryExpression:["left","right"],BreakStatement:["label"],CallExpression:["callee","arguments"],CatchClause:["param","body"],ClassBody:["body"],ClassDeclaration:["id","superClass","body"],ClassExpression:["id","superClass","body"],ComprehensionBlock:["left","right"],ComprehensionExpression:["blocks","filter","body"],ConditionalExpression:["test","consequent","alternate"],ContinueStatement:["label"],DebuggerStatement:[],DirectiveStatement:[],DoWhileStatement:["body","test"],EmptyStatement:[],ExportAllDeclaration:["source"],ExportDefaultDeclaration:["declaration"],ExportNamedDeclaration:["declaration","specifiers","source"],ExportSpecifier:["exported","local"],ExpressionStatement:["expression"],ForStatement:["init","test","update","body"],ForInStatement:["left","right","body"],ForOfStatement:["left","right","body"],FunctionDeclaration:["id","params","body"],FunctionExpression:["id","params","body"],GeneratorExpression:["blocks","filter","body"],Identifier:[],IfStatement:["test","consequent","alternate"],ImportExpression:["source"],ImportDeclaration:["specifiers","source"],ImportDefaultSpecifier:["local"],ImportNamespaceSpecifier:["local"],ImportSpecifier:["imported","local"],Literal:[],LabeledStatement:["label","body"],LogicalExpression:["left","right"],MemberExpression:["object","property"],MetaProperty:["meta","property"],MethodDefinition:["key","value"],ModuleSpecifier:[],NewExpression:["callee","arguments"],ObjectExpression:["properties"],ObjectPattern:["properties"],Program:["body"],Property:["key","value"],RestElement:["argument"],ReturnStatement:["argument"],SequenceExpression:["expressions"],SpreadElement:["argument"],Super:[],SwitchStatement:["discriminant","cases"],SwitchCase:["test","consequent"],TaggedTemplateExpression:["tag","quasi"],TemplateElement:[],TemplateLiteral:["quasis","expressions"],ThisExpression:[],ThrowStatement:["argument"],TryStatement:["block","handler","finalizer"],UnaryExpression:["argument"],UpdateExpression:["argument"],VariableDeclaration:["declarations"],VariableDeclarator:["id","init"],WhileStatement:["test","body"],WithStatement:["object","body"],YieldExpression:["argument"]};j={};q={};ee={};w={Break:j,Skip:q,Remove:ee};function Reference(E,k){this.parent=E;this.key=k}Reference.prototype.replace=function replace(E){this.parent[this.key]=E};Reference.prototype.remove=function remove(){if(Array.isArray(this.parent)){this.parent.splice(this.key,1);return true}else{this.replace(null);return false}};function Element(E,k,S,w){this.node=E;this.path=k;this.wrap=S;this.ref=w}function Controller(){}Controller.prototype.path=function path(){var E,k,S,w,N,j;function addToPath(E,k){if(Array.isArray(k)){for(S=0,w=k.length;S=0){ae=Ee[_e];we=ee[ae];if(!we){continue}if(Array.isArray(we)){ve=we.length;while((ve-=1)>=0){if(!we[ve]){continue}if(isProperty(te,Ee[_e])){N=new Element(we[ve],[ae,ve],"Property",null)}else if(isNode(we[ve])){N=new Element(we[ve],[ae,ve],null,null)}else{continue}S.push(N)}}else if(isNode(we)){S.push(new Element(we,ae,null,null))}}}}};Controller.prototype.replace=function replace(E,k){var S,w,N,te,ne,ae,_e,ve,Ee,we,Ce,Me,Te;function removeElem(E){var k,w,N,j;if(E.ref.remove()){w=E.ref.key;j=E.ref.parent;k=S.length;while(k--){N=S[k];if(N.ref&&N.ref.parent===j){if(N.ref.key=0){Te=Ee[_e];we=N[Te];if(!we){continue}if(Array.isArray(we)){ve=we.length;while((ve-=1)>=0){if(!we[ve]){continue}if(isProperty(te,Ee[_e])){ae=new Element(we[ve],[Te,ve],"Property",new Reference(we,ve))}else if(isNode(we[ve])){ae=new Element(we[ve],[Te,ve],null,new Reference(we,ve))}else{continue}S.push(ae)}}else if(isNode(we)){S.push(new Element(we,Te,null,new Reference(N,Te)))}}}return Me.root};function traverse(E,k){var S=new Controller;return S.traverse(E,k)}function replace(E,k){var S=new Controller;return S.replace(E,k)}function extendCommentRange(E,k){var S;S=upperBound(k,(function search(k){return k.range[0]>E.range[0]}));E.extendedRange=[E.range[0],E.range[1]];if(S!==k.length){E.extendedRange[1]=k[S].range[0]}S-=1;if(S>=0){E.extendedRange[0]=k[S].range[1]}return E}function attachComments(E,k,S){var N=[],j,q,ee,te;if(!E.range){throw new Error("attachComments needs range information")}if(!S.length){if(k.length){for(ee=0,q=k.length;eeE.range[0]){break}if(k.extendedRange[1]===E.range[0]){if(!E.leadingComments){E.leadingComments=[]}E.leadingComments.push(k);N.splice(te,1)}else{te+=1}}if(te===N.length){return w.Break}if(N[te].extendedRange[0]>E.range[1]){return w.Skip}}});te=0;traverse(E,{leave:function(E){var k;while(teE.range[1]){return w.Skip}}});return E}E.version=S(82788).i8;E.Syntax=k;E.traverse=traverse;E.replace=replace;E.attachComments=attachComments;E.VisitorKeys=N;E.VisitorOption=w;E.Controller=Controller;E.cloneEnvironment=function(){return clone({})};return E})(k)},55245:E=>{"use strict";E.exports=function equal(E,k){if(E===k)return true;if(E&&k&&typeof E=="object"&&typeof k=="object"){if(E.constructor!==k.constructor)return false;var S,w,N;if(Array.isArray(E)){S=E.length;if(S!=k.length)return false;for(w=S;w--!==0;)if(!equal(E[w],k[w]))return false;return true}if(E.constructor===RegExp)return E.source===k.source&&E.flags===k.flags;if(E.valueOf!==Object.prototype.valueOf)return E.valueOf()===k.valueOf();if(E.toString!==Object.prototype.toString)return E.toString()===k.toString();N=Object.keys(E);S=N.length;if(S!==Object.keys(k).length)return false;for(w=S;w--!==0;)if(!Object.prototype.hasOwnProperty.call(k,N[w]))return false;for(w=S;w--!==0;){var j=N[w];if(!equal(E[j],k[j]))return false}return true}return E!==E&&k!==k}},75986:E=>{"use strict";E.exports=function(E,k){if(!k)k={};if(typeof k==="function")k={cmp:k};var S=typeof k.cycles==="boolean"?k.cycles:false;var w=k.cmp&&function(E){return function(k){return function(S,w){var N={key:S,value:k[S]};var j={key:w,value:k[w]};return E(N,j)}}}(k.cmp);var N=[];return function stringify(E){if(E&&E.toJSON&&typeof E.toJSON==="function"){E=E.toJSON()}if(E===undefined)return;if(typeof E=="number")return isFinite(E)?""+E:"null";if(typeof E!=="object")return JSON.stringify(E);var k,j;if(Array.isArray(E)){j="[";for(k=0;k{"use strict";var k="Function.prototype.bind called on incompatible ";var S=Array.prototype.slice;var w=Object.prototype.toString;var N="[object Function]";E.exports=function bind(E){var j=this;if(typeof j!=="function"||w.call(j)!==N){throw new TypeError(k+j)}var q=S.call(arguments,1);var ee;var binder=function(){if(this instanceof ee){var k=j.apply(this,q.concat(S.call(arguments)));if(Object(k)===k){return k}return this}else{return j.apply(E,q.concat(S.call(arguments)))}};var te=Math.max(0,j.length-q.length);var ne=[];for(var ae=0;ae{"use strict";var w=S(5426);E.exports=Function.prototype.bind||w},70554:E=>{E.exports=function(E,k){if(typeof E!=="string"){throw new TypeError("Expected a string")}var S=String(E);var w="";var N=k?!!k.extended:false;var j=k?!!k.globstar:false;var q=false;var ee=k&&typeof k.flags==="string"?k.flags:"";var te;for(var ne=0,ae=S.length;ne1&&(_e==="/"||_e===undefined)&&(Ee==="/"||Ee===undefined);if(we){w+="((?:[^/]*(?:/|$))*)";ne++}else{w+="([^/]*)"}}break;default:w+=te}}if(!ee||!~ee.indexOf("g")){w="^"+w+"$"}return new RegExp(w,ee)}},40858:E=>{"use strict";E.exports=clone;var k=Object.getPrototypeOf||function(E){return E.__proto__};function clone(E){if(E===null||typeof E!=="object")return E;if(E instanceof Object)var S={__proto__:k(E)};else var S=Object.create(null);Object.getOwnPropertyNames(E).forEach((function(k){Object.defineProperty(S,k,Object.getOwnPropertyDescriptor(E,k))}));return S}},15808:(E,k,S)=>{var w=S(35747);var N=S(82444);var j=S(94073);var q=S(40858);var ee=S(31669);var te;var ne;if(typeof Symbol==="function"&&typeof Symbol.for==="function"){te=Symbol.for("graceful-fs.queue");ne=Symbol.for("graceful-fs.previous")}else{te="___graceful-fs.queue";ne="___graceful-fs.previous"}function noop(){}function publishQueue(E,k){Object.defineProperty(E,te,{get:function(){return k}})}var ae=noop;if(ee.debuglog)ae=ee.debuglog("gfs4");else if(/\bgfs4\b/i.test(process.env.NODE_DEBUG||""))ae=function(){var E=ee.format.apply(ee,arguments);E="GFS4: "+E.split(/\n/).join("\nGFS4: ");console.error(E)};if(!w[te]){var _e=global[te]||[];publishQueue(w,_e);w.close=function(E){function close(k,S){return E.call(w,k,(function(E){if(!E){retry()}if(typeof S==="function")S.apply(this,arguments)}))}Object.defineProperty(close,ne,{value:E});return close}(w.close);w.closeSync=function(E){function closeSync(k){E.apply(w,arguments);retry()}Object.defineProperty(closeSync,ne,{value:E});return closeSync}(w.closeSync);if(/\bgfs4\b/i.test(process.env.NODE_DEBUG||"")){process.on("exit",(function(){ae(w[te]);S(42357).equal(w[te].length,0)}))}}if(!global[te]){publishQueue(global,w[te])}E.exports=patch(q(w));if(process.env.TEST_GRACEFUL_FS_GLOBAL_PATCH&&!w.__patched){E.exports=patch(w);w.__patched=true}function patch(E){N(E);E.gracefulify=patch;E.createReadStream=createReadStream;E.createWriteStream=createWriteStream;var k=E.readFile;E.readFile=readFile;function readFile(E,S,w){if(typeof S==="function")w=S,S=null;return go$readFile(E,S,w);function go$readFile(E,S,w){return k(E,S,(function(k){if(k&&(k.code==="EMFILE"||k.code==="ENFILE"))enqueue([go$readFile,[E,S,w]]);else{if(typeof w==="function")w.apply(this,arguments);retry()}}))}}var S=E.writeFile;E.writeFile=writeFile;function writeFile(E,k,w,N){if(typeof w==="function")N=w,w=null;return go$writeFile(E,k,w,N);function go$writeFile(E,k,w,N){return S(E,k,w,(function(S){if(S&&(S.code==="EMFILE"||S.code==="ENFILE"))enqueue([go$writeFile,[E,k,w,N]]);else{if(typeof N==="function")N.apply(this,arguments);retry()}}))}}var w=E.appendFile;if(w)E.appendFile=appendFile;function appendFile(E,k,S,N){if(typeof S==="function")N=S,S=null;return go$appendFile(E,k,S,N);function go$appendFile(E,k,S,N){return w(E,k,S,(function(w){if(w&&(w.code==="EMFILE"||w.code==="ENFILE"))enqueue([go$appendFile,[E,k,S,N]]);else{if(typeof N==="function")N.apply(this,arguments);retry()}}))}}var q=E.copyFile;if(q)E.copyFile=copyFile;function copyFile(E,k,S,w){if(typeof S==="function"){w=S;S=0}return q(E,k,S,(function(N){if(N&&(N.code==="EMFILE"||N.code==="ENFILE"))enqueue([q,[E,k,S,w]]);else{if(typeof w==="function")w.apply(this,arguments);retry()}}))}var ee=E.readdir;E.readdir=readdir;function readdir(E,k,S){var w=[E];if(typeof k!=="function"){w.push(k)}else{S=k}w.push(go$readdir$cb);return go$readdir(w);function go$readdir$cb(E,k){if(k&&k.sort)k.sort();if(E&&(E.code==="EMFILE"||E.code==="ENFILE"))enqueue([go$readdir,[w]]);else{if(typeof S==="function")S.apply(this,arguments);retry()}}}function go$readdir(k){return ee.apply(E,k)}if(process.version.substr(0,4)==="v0.8"){var te=j(E);ReadStream=te.ReadStream;WriteStream=te.WriteStream}var ne=E.ReadStream;if(ne){ReadStream.prototype=Object.create(ne.prototype);ReadStream.prototype.open=ReadStream$open}var ae=E.WriteStream;if(ae){WriteStream.prototype=Object.create(ae.prototype);WriteStream.prototype.open=WriteStream$open}Object.defineProperty(E,"ReadStream",{get:function(){return ReadStream},set:function(E){ReadStream=E},enumerable:true,configurable:true});Object.defineProperty(E,"WriteStream",{get:function(){return WriteStream},set:function(E){WriteStream=E},enumerable:true,configurable:true});var _e=ReadStream;Object.defineProperty(E,"FileReadStream",{get:function(){return _e},set:function(E){_e=E},enumerable:true,configurable:true});var ve=WriteStream;Object.defineProperty(E,"FileWriteStream",{get:function(){return ve},set:function(E){ve=E},enumerable:true,configurable:true});function ReadStream(E,k){if(this instanceof ReadStream)return ne.apply(this,arguments),this;else return ReadStream.apply(Object.create(ReadStream.prototype),arguments)}function ReadStream$open(){var E=this;open(E.path,E.flags,E.mode,(function(k,S){if(k){if(E.autoClose)E.destroy();E.emit("error",k)}else{E.fd=S;E.emit("open",S);E.read()}}))}function WriteStream(E,k){if(this instanceof WriteStream)return ae.apply(this,arguments),this;else return WriteStream.apply(Object.create(WriteStream.prototype),arguments)}function WriteStream$open(){var E=this;open(E.path,E.flags,E.mode,(function(k,S){if(k){E.destroy();E.emit("error",k)}else{E.fd=S;E.emit("open",S)}}))}function createReadStream(k,S){return new E.ReadStream(k,S)}function createWriteStream(k,S){return new E.WriteStream(k,S)}var Ee=E.open;E.open=open;function open(E,k,S,w){if(typeof S==="function")w=S,S=null;return go$open(E,k,S,w);function go$open(E,k,S,w){return Ee(E,k,S,(function(N,j){if(N&&(N.code==="EMFILE"||N.code==="ENFILE"))enqueue([go$open,[E,k,S,w]]);else{if(typeof w==="function")w.apply(this,arguments);retry()}}))}}return E}function enqueue(E){ae("ENQUEUE",E[0].name,E[1]);w[te].push(E)}function retry(){var E=w[te].shift();if(E){ae("RETRY",E[0].name,E[1]);E[0].apply(null,E[1])}}},94073:(E,k,S)=>{var w=S(92413).Stream;E.exports=legacy;function legacy(E){return{ReadStream:ReadStream,WriteStream:WriteStream};function ReadStream(k,S){if(!(this instanceof ReadStream))return new ReadStream(k,S);w.call(this);var N=this;this.path=k;this.fd=null;this.readable=true;this.paused=false;this.flags="r";this.mode=438;this.bufferSize=64*1024;S=S||{};var j=Object.keys(S);for(var q=0,ee=j.length;qthis.end){throw new Error("start must be <= end")}this.pos=this.start}if(this.fd!==null){process.nextTick((function(){N._read()}));return}E.open(this.path,this.flags,this.mode,(function(E,k){if(E){N.emit("error",E);N.readable=false;return}N.fd=k;N.emit("open",k);N._read()}))}function WriteStream(k,S){if(!(this instanceof WriteStream))return new WriteStream(k,S);w.call(this);this.path=k;this.fd=null;this.writable=true;this.flags="w";this.encoding="binary";this.mode=438;this.bytesWritten=0;S=S||{};var N=Object.keys(S);for(var j=0,q=N.length;j= zero")}this.pos=this.start}this.busy=false;this._queue=[];if(this.fd===null){this._open=E.open;this._queue.push([this._open,this.path,this.flags,this.mode,undefined]);this.flush()}}}},82444:(E,k,S)=>{var w=S(27619);var N=process.cwd;var j=null;var q=process.env.GRACEFUL_FS_PLATFORM||process.platform;process.cwd=function(){if(!j)j=N.call(process);return j};try{process.cwd()}catch(E){}if(typeof process.chdir==="function"){var ee=process.chdir;process.chdir=function(E){j=null;ee.call(process,E)};if(Object.setPrototypeOf)Object.setPrototypeOf(process.chdir,ee)}E.exports=patch;function patch(E){if(w.hasOwnProperty("O_SYMLINK")&&process.version.match(/^v0\.6\.[0-2]|^v0\.5\./)){patchLchmod(E)}if(!E.lutimes){patchLutimes(E)}E.chown=chownFix(E.chown);E.fchown=chownFix(E.fchown);E.lchown=chownFix(E.lchown);E.chmod=chmodFix(E.chmod);E.fchmod=chmodFix(E.fchmod);E.lchmod=chmodFix(E.lchmod);E.chownSync=chownFixSync(E.chownSync);E.fchownSync=chownFixSync(E.fchownSync);E.lchownSync=chownFixSync(E.lchownSync);E.chmodSync=chmodFixSync(E.chmodSync);E.fchmodSync=chmodFixSync(E.fchmodSync);E.lchmodSync=chmodFixSync(E.lchmodSync);E.stat=statFix(E.stat);E.fstat=statFix(E.fstat);E.lstat=statFix(E.lstat);E.statSync=statFixSync(E.statSync);E.fstatSync=statFixSync(E.fstatSync);E.lstatSync=statFixSync(E.lstatSync);if(!E.lchmod){E.lchmod=function(E,k,S){if(S)process.nextTick(S)};E.lchmodSync=function(){}}if(!E.lchown){E.lchown=function(E,k,S,w){if(w)process.nextTick(w)};E.lchownSync=function(){}}if(q==="win32"){E.rename=function(k){return function(S,w,N){var j=Date.now();var q=0;k(S,w,(function CB(ee){if(ee&&(ee.code==="EACCES"||ee.code==="EPERM")&&Date.now()-j<6e4){setTimeout((function(){E.stat(w,(function(E,j){if(E&&E.code==="ENOENT")k(S,w,CB);else N(ee)}))}),q);if(q<100)q+=10;return}if(N)N(ee)}))}}(E.rename)}E.read=function(k){function read(S,w,N,j,q,ee){var te;if(ee&&typeof ee==="function"){var ne=0;te=function(ae,_e,ve){if(ae&&ae.code==="EAGAIN"&&ne<10){ne++;return k.call(E,S,w,N,j,q,te)}ee.apply(this,arguments)}}return k.call(E,S,w,N,j,q,te)}if(Object.setPrototypeOf)Object.setPrototypeOf(read,k);return read}(E.read);E.readSync=function(k){return function(S,w,N,j,q){var ee=0;while(true){try{return k.call(E,S,w,N,j,q)}catch(E){if(E.code==="EAGAIN"&&ee<10){ee++;continue}throw E}}}}(E.readSync);function patchLchmod(E){E.lchmod=function(k,S,N){E.open(k,w.O_WRONLY|w.O_SYMLINK,S,(function(k,w){if(k){if(N)N(k);return}E.fchmod(w,S,(function(k){E.close(w,(function(E){if(N)N(k||E)}))}))}))};E.lchmodSync=function(k,S){var N=E.openSync(k,w.O_WRONLY|w.O_SYMLINK,S);var j=true;var q;try{q=E.fchmodSync(N,S);j=false}finally{if(j){try{E.closeSync(N)}catch(E){}}else{E.closeSync(N)}}return q}}function patchLutimes(E){if(w.hasOwnProperty("O_SYMLINK")){E.lutimes=function(k,S,N,j){E.open(k,w.O_SYMLINK,(function(k,w){if(k){if(j)j(k);return}E.futimes(w,S,N,(function(k){E.close(w,(function(E){if(j)j(k||E)}))}))}))};E.lutimesSync=function(k,S,N){var j=E.openSync(k,w.O_SYMLINK);var q;var ee=true;try{q=E.futimesSync(j,S,N);ee=false}finally{if(ee){try{E.closeSync(j)}catch(E){}}else{E.closeSync(j)}}return q}}else{E.lutimes=function(E,k,S,w){if(w)process.nextTick(w)};E.lutimesSync=function(){}}}function chmodFix(k){if(!k)return k;return function(S,w,N){return k.call(E,S,w,(function(E){if(chownErOk(E))E=null;if(N)N.apply(this,arguments)}))}}function chmodFixSync(k){if(!k)return k;return function(S,w){try{return k.call(E,S,w)}catch(E){if(!chownErOk(E))throw E}}}function chownFix(k){if(!k)return k;return function(S,w,N,j){return k.call(E,S,w,N,(function(E){if(chownErOk(E))E=null;if(j)j.apply(this,arguments)}))}}function chownFixSync(k){if(!k)return k;return function(S,w,N){try{return k.call(E,S,w,N)}catch(E){if(!chownErOk(E))throw E}}}function statFix(k){if(!k)return k;return function(S,w,N){if(typeof w==="function"){N=w;w=null}function callback(E,k){if(k){if(k.uid<0)k.uid+=4294967296;if(k.gid<0)k.gid+=4294967296}if(N)N.apply(this,arguments)}return w?k.call(E,S,w,callback):k.call(E,S,callback)}}function statFixSync(k){if(!k)return k;return function(S,w){var N=w?k.call(E,S,w):k.call(E,S);if(N.uid<0)N.uid+=4294967296;if(N.gid<0)N.gid+=4294967296;return N}}function chownErOk(E){if(!E)return true;if(E.code==="ENOSYS")return true;var k=!process.getuid||process.getuid()!==0;if(k){if(E.code==="EINVAL"||E.code==="EPERM")return true}return false}}},86811:E=>{"use strict";E.exports=(E,k=process.argv)=>{const S=E.startsWith("-")?"":E.length===1?"-":"--";const w=k.indexOf(S+E);const N=k.indexOf("--");return w!==-1&&(N===-1||w{"use strict";var w=S(9120);E.exports=w.call(Function.call,Object.prototype.hasOwnProperty)},28309:(E,k,S)=>{try{var w=S(31669);if(typeof w.inherits!=="function")throw"";E.exports=w.inherits}catch(k){E.exports=S(70474)}},70474:E=>{if(typeof Object.create==="function"){E.exports=function inherits(E,k){if(k){E.super_=k;E.prototype=Object.create(k.prototype,{constructor:{value:E,enumerable:false,writable:true,configurable:true}})}}}else{E.exports=function inherits(E,k){if(k){E.super_=k;var TempCtor=function(){};TempCtor.prototype=k.prototype;E.prototype=new TempCtor;E.prototype.constructor=E}}}},13747:(E,k,S)=>{"use strict";var w=S(79946);function specifierIncluded(E,k){var S=E.split(".");var w=k.split(" ");var N=w.length>1?w[0]:"=";var j=(w.length>1?w[1]:w[0]).split(".");for(var q=0;q<3;++q){var ee=parseInt(S[q]||0,10);var te=parseInt(j[q]||0,10);if(ee===te){continue}if(N==="<"){return ee="){return ee>=te}return false}return N===">="}function matchesRange(E,k){var S=k.split(/ ?&& ?/);if(S.length===0){return false}for(var w=0;w{var k={}.toString;E.exports=Array.isArray||function(E){return k.call(E)=="[object Array]"}},15986:(E,k,S)=>{"use strict";Object.defineProperty(k,"__esModule",{value:true});k.default=void 0;var w=_interopRequireDefault(S(62483));var N=S(42195);function _interopRequireDefault(E){return E&&E.__esModule?E:{default:E}}function _defineProperty(E,k,S){if(k in E){Object.defineProperty(E,k,{value:S,enumerable:true,configurable:true,writable:true})}else{E[k]=S}return E}class Farm{constructor(E,k,S={}){var N,j;this._numOfWorkers=E;this._callback=k;_defineProperty(this,"_computeWorkerKey",void 0);_defineProperty(this,"_workerSchedulingPolicy",void 0);_defineProperty(this,"_cacheKeys",Object.create(null));_defineProperty(this,"_locks",[]);_defineProperty(this,"_offset",0);_defineProperty(this,"_taskQueue",void 0);this._computeWorkerKey=S.computeWorkerKey;this._workerSchedulingPolicy=(N=S.workerSchedulingPolicy)!==null&&N!==void 0?N:"round-robin";this._taskQueue=(j=S.taskQueue)!==null&&j!==void 0?j:new w.default}doWork(E,...k){const S=new Set;const addCustomMessageListener=E=>{S.add(E);return()=>{S.delete(E)}};const onCustomMessage=E=>{S.forEach((k=>k(E)))};const w=new Promise(((k,w,j)=>{const q=this._computeWorkerKey;const ee=[N.CHILD_MESSAGE_CALL,false,E,k];let te=null;let ne=null;if(q){ne=q.call(this,E,...k);te=ne==null?null:this._cacheKeys[ne]}const onStart=E=>{if(ne!=null){this._cacheKeys[ne]=E}};const onEnd=(E,k)=>{S.clear();if(E){j(E)}else{w(k)}};const ae={onCustomMessage:onCustomMessage,onEnd:onEnd,onStart:onStart,request:ee};if(te){this._taskQueue.enqueue(ae,te.getWorkerId());this._process(te.getWorkerId())}else{this._push(ae)}}).bind(null,k));w.UNSTABLE_onCustomMessage=addCustomMessageListener;return w}_process(E){if(this._isLocked(E)){return this}const k=this._taskQueue.dequeue(E);if(!k){return this}if(k.request[1]){throw new Error("Queue implementation returned processed task")}const S=k.onEnd;const onEnd=(k,w)=>{S(k,w);this._unlock(E);this._process(E)};k.request[1]=true;this._lock(E);this._callback(E,k.request,k.onStart,onEnd,k.onCustomMessage);return this}_push(E){this._taskQueue.enqueue(E);const k=this._getNextWorkerOffset();for(let S=0;S{"use strict";Object.defineProperty(k,"__esModule",{value:true});k.default=void 0;function _defineProperty(E,k,S){if(k in E){Object.defineProperty(E,k,{value:S,enumerable:true,configurable:true,writable:true})}else{E[k]=S}return E}class FifoQueue{constructor(){_defineProperty(this,"_workerQueues",[]);_defineProperty(this,"_sharedQueue",new InternalQueue)}enqueue(E,k){if(k==null){this._sharedQueue.enqueue(E);return}let S=this._workerQueues[k];if(S==null){S=this._workerQueues[k]=new InternalQueue}const w=this._sharedQueue.peekLast();const N={previousSharedTask:w,task:E};S.enqueue(N)}dequeue(E){var k,S,w;const N=(k=this._workerQueues[E])===null||k===void 0?void 0:k.peek();const j=(S=N===null||N===void 0?void 0:(w=N.previousSharedTask)===null||w===void 0?void 0:w.request[1])!==null&&S!==void 0?S:true;if(N!=null&&j){var q,ee,te;return(q=(ee=this._workerQueues[E])===null||ee===void 0?void 0:(te=ee.dequeue())===null||te===void 0?void 0:te.task)!==null&&q!==void 0?q:null}return this._sharedQueue.dequeue()}}k.default=FifoQueue;class InternalQueue{constructor(){_defineProperty(this,"_head",null);_defineProperty(this,"_last",null)}enqueue(E){const k={next:null,value:E};if(this._last==null){this._head=k}else{this._last.next=k}this._last=k}dequeue(){if(this._head==null){return null}const E=this._head;this._head=E.next;if(this._head==null){this._last=null}return E.value}peek(){var E,k;return(E=(k=this._head)===null||k===void 0?void 0:k.value)!==null&&E!==void 0?E:null}peekLast(){var E,k;return(E=(k=this._last)===null||k===void 0?void 0:k.value)!==null&&E!==void 0?E:null}}},25739:(E,k)=>{"use strict";Object.defineProperty(k,"__esModule",{value:true});k.default=void 0;function _defineProperty(E,k,S){if(k in E){Object.defineProperty(E,k,{value:S,enumerable:true,configurable:true,writable:true})}else{E[k]=S}return E}class PriorityQueue{constructor(E){this._computePriority=E;_defineProperty(this,"_queue",[]);_defineProperty(this,"_sharedQueue",new MinHeap)}enqueue(E,k){if(k==null){this._enqueue(E,this._sharedQueue)}else{const S=this._getWorkerQueue(k);this._enqueue(E,S)}}_enqueue(E,k){const S={priority:this._computePriority(E.request[2],...E.request[3]),task:E};k.add(S)}dequeue(E){const k=this._getWorkerQueue(E);const S=k.peek();const w=this._sharedQueue.peek();if(w==null||S!=null&&S.priority<=w.priority){var N,j;return(N=(j=k.poll())===null||j===void 0?void 0:j.task)!==null&&N!==void 0?N:null}return this._sharedQueue.poll().task}_getWorkerQueue(E){let k=this._queue[E];if(k==null){k=this._queue[E]=new MinHeap}return k}}k.default=PriorityQueue;class MinHeap{constructor(){_defineProperty(this,"_heap",[])}peek(){var E;return(E=this._heap[0])!==null&&E!==void 0?E:null}add(E){const k=this._heap;k.push(E);if(k.length===1){return}let S=k.length-1;while(S>0){const w=Math.floor((S+1)/2)-1;const N=k[w];if(N.priority<=E.priority){break}k[S]=N;k[w]=E;S=w}}poll(){const E=this._heap;const k=E[0];const S=E.pop();if(k==null||E.length===0){return k!==null&&k!==void 0?k:null}let w=0;E[0]=S!==null&&S!==void 0?S:null;const N=E[0];while(true){let k=null;const S=(w+1)*2;const j=S-1;const q=E[S];const ee=E[j];if(ee!=null&&ee.priority{"use strict";Object.defineProperty(k,"__esModule",{value:true});k.default=void 0;var w=_interopRequireDefault(S(68189));function _interopRequireDefault(E){return E&&E.__esModule?E:{default:E}}const canUseWorkerThreads=()=>{try{S(65013);return true}catch{return false}};class WorkerPool extends w.default{send(E,k,S,w,N){this.getWorkerById(E).send(k,S,w,N)}createWorker(E){let k;if(this._options.enableWorkerThreads&&canUseWorkerThreads()){k=S(12295).Z}else{k=S(17164).Z}return new k(E)}}var N=WorkerPool;k.default=N},68189:(E,k,S)=>{"use strict";Object.defineProperty(k,"__esModule",{value:true});k.default=void 0;function path(){const E=_interopRequireWildcard(S(85622));path=function(){return E};return E}function _mergeStream(){const E=_interopRequireDefault(S(33089));_mergeStream=function(){return E};return E}function _types(){const E=S(42195);_types=function(){return E};return E}function _interopRequireDefault(E){return E&&E.__esModule?E:{default:E}}function _getRequireWildcardCache(E){if(typeof WeakMap!=="function")return null;var k=new WeakMap;var S=new WeakMap;return(_getRequireWildcardCache=function(E){return E?S:k})(E)}function _interopRequireWildcard(E,k){if(!k&&E&&E.__esModule){return E}if(E===null||typeof E!=="object"&&typeof E!=="function"){return{default:E}}var S=_getRequireWildcardCache(k);if(S&&S.has(E)){return S.get(E)}var w={};var N=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var j in E){if(j!=="default"&&Object.prototype.hasOwnProperty.call(E,j)){var q=N?Object.getOwnPropertyDescriptor(E,j):null;if(q&&(q.get||q.set)){Object.defineProperty(w,j,q)}else{w[j]=E[j]}}}w.default=E;if(S){S.set(E,w)}return w}function _defineProperty(E,k,S){if(k in E){Object.defineProperty(E,k,{value:S,enumerable:true,configurable:true,writable:true})}else{E[k]=S}return E}const w=500;const emptyMethod=()=>{};class BaseWorkerPool{constructor(E,k){_defineProperty(this,"_stderr",void 0);_defineProperty(this,"_stdout",void 0);_defineProperty(this,"_options",void 0);_defineProperty(this,"_workers",void 0);this._options=k;this._workers=new Array(k.numWorkers);if(!path().isAbsolute(E)){E=require.resolve(E)}const S=(0,_mergeStream().default)();const w=(0,_mergeStream().default)();const{forkOptions:N,maxRetries:j,resourceLimits:q,setupArgs:ee}=k;for(let te=0;te{E.send([_types().CHILD_MESSAGE_END,false],emptyMethod,emptyMethod,emptyMethod);let k=false;const S=setTimeout((()=>{E.forceExit();k=true}),w);await E.waitForExit();clearTimeout(S);return k}));const k=await Promise.all(E);return k.reduce(((E,k)=>({forceExited:E.forceExited||k})),{forceExited:false})}}k.default=BaseWorkerPool},69419:(E,k,S)=>{"use strict";Object.defineProperty(k,"__esModule",{value:true});Object.defineProperty(k,"PriorityQueue",{enumerable:true,get:function(){return j.default}});Object.defineProperty(k,"FifoQueue",{enumerable:true,get:function(){return q.default}});Object.defineProperty(k,"messageParent",{enumerable:true,get:function(){return ee.default}});k.Worker=void 0;function _os(){const E=S(12087);_os=function(){return E};return E}var w=_interopRequireDefault(S(15986));var N=_interopRequireDefault(S(61315));var j=_interopRequireDefault(S(25739));var q=_interopRequireDefault(S(62483));var ee=_interopRequireDefault(S(27008));function _interopRequireDefault(E){return E&&E.__esModule?E:{default:E}}function _defineProperty(E,k,S){if(k in E){Object.defineProperty(E,k,{value:S,enumerable:true,configurable:true,writable:true})}else{E[k]=S}return E}function getExposedMethods(E,k){let S=k.exposedMethods;if(!S){const k=require(E);S=Object.keys(k).filter((E=>typeof k[E]==="function"));if(typeof k==="function"){S=[...S,"default"]}}return S}class Worker{constructor(E,k){var S,j,q,ee,te,ne;_defineProperty(this,"_ending",void 0);_defineProperty(this,"_farm",void 0);_defineProperty(this,"_options",void 0);_defineProperty(this,"_workerPool",void 0);this._options={...k};this._ending=false;const ae={enableWorkerThreads:(S=this._options.enableWorkerThreads)!==null&&S!==void 0?S:false,forkOptions:(j=this._options.forkOptions)!==null&&j!==void 0?j:{},maxRetries:(q=this._options.maxRetries)!==null&&q!==void 0?q:3,numWorkers:(ee=this._options.numWorkers)!==null&&ee!==void 0?ee:Math.max((0,_os().cpus)().length-1,1),resourceLimits:(te=this._options.resourceLimits)!==null&&te!==void 0?te:{},setupArgs:(ne=this._options.setupArgs)!==null&&ne!==void 0?ne:[]};if(this._options.WorkerPool){this._workerPool=new this._options.WorkerPool(E,ae)}else{this._workerPool=new N.default(E,ae)}this._farm=new w.default(ae.numWorkers,this._workerPool.send.bind(this._workerPool),{computeWorkerKey:this._options.computeWorkerKey,taskQueue:this._options.taskQueue,workerSchedulingPolicy:this._options.workerSchedulingPolicy});this._bindExposedWorkerMethods(E,this._options)}_bindExposedWorkerMethods(E,k){getExposedMethods(E,k).forEach((E=>{if(E.startsWith("_")){return}if(this.constructor.prototype.hasOwnProperty(E)){throw new TypeError("Cannot define a method called "+E)}this[E]=this._callFunctionWithArgs.bind(this,E)}))}_callFunctionWithArgs(E,...k){if(this._ending){throw new Error("Farm is ended, no more calls can be done to it")}return this._farm.doWork(E,...k)}getStderr(){return this._workerPool.getStderr()}getStdout(){return this._workerPool.getStdout()}async end(){if(this._ending){throw new Error("Farm is ended, no more calls can be done to it")}this._ending=true;return this._workerPool.end()}}k.Worker=Worker},42195:(E,k)=>{"use strict";Object.defineProperty(k,"__esModule",{value:true});k.PARENT_MESSAGE_CUSTOM=k.PARENT_MESSAGE_SETUP_ERROR=k.PARENT_MESSAGE_CLIENT_ERROR=k.PARENT_MESSAGE_OK=k.CHILD_MESSAGE_END=k.CHILD_MESSAGE_CALL=k.CHILD_MESSAGE_INITIALIZE=void 0;const S=0;k.CHILD_MESSAGE_INITIALIZE=S;const w=1;k.CHILD_MESSAGE_CALL=w;const N=2;k.CHILD_MESSAGE_END=N;const j=0;k.PARENT_MESSAGE_OK=j;const q=1;k.PARENT_MESSAGE_CLIENT_ERROR=q;const ee=2;k.PARENT_MESSAGE_SETUP_ERROR=ee;const te=3;k.PARENT_MESSAGE_CUSTOM=te},17164:(E,k,S)=>{"use strict";var w;w={value:true};k.Z=void 0;function _child_process(){const E=S(63129);_child_process=function(){return E};return E}function _stream(){const E=S(92413);_stream=function(){return E};return E}function _mergeStream(){const E=_interopRequireDefault(S(33089));_mergeStream=function(){return E};return E}function _supportsColor(){const E=S(24467);_supportsColor=function(){return E};return E}function _types(){const E=S(42195);_types=function(){return E};return E}function _interopRequireDefault(E){return E&&E.__esModule?E:{default:E}}function _defineProperty(E,k,S){if(k in E){Object.defineProperty(E,k,{value:S,enumerable:true,configurable:true,writable:true})}else{E[k]=S}return E}const N=128;const j=N+9;const q=N+15;const ee=500;class ChildProcessWorker{constructor(E){_defineProperty(this,"_child",void 0);_defineProperty(this,"_options",void 0);_defineProperty(this,"_request",void 0);_defineProperty(this,"_retries",void 0);_defineProperty(this,"_onProcessEnd",void 0);_defineProperty(this,"_onCustomMessage",void 0);_defineProperty(this,"_fakeStream",void 0);_defineProperty(this,"_stdout",void 0);_defineProperty(this,"_stderr",void 0);_defineProperty(this,"_exitPromise",void 0);_defineProperty(this,"_resolveExitPromise",void 0);this._options=E;this._request=null;this._fakeStream=null;this._stdout=null;this._stderr=null;this._exitPromise=new Promise((E=>{this._resolveExitPromise=E}));this.initialize()}initialize(){const E=_supportsColor().stdout?{FORCE_COLOR:"1"}:{};const k=(0,_child_process().fork)(S.ab+"processChild.js",[],{cwd:process.cwd(),env:{...process.env,JEST_WORKER_ID:String(this._options.workerId+1),...E},execArgv:process.execArgv.filter((E=>!/^--(debug|inspect)/.test(E))),silent:true,...this._options.forkOptions});if(k.stdout){if(!this._stdout){this._stdout=(0,_mergeStream().default)(this._getFakeStream())}this._stdout.add(k.stdout)}if(k.stderr){if(!this._stderr){this._stderr=(0,_mergeStream().default)(this._getFakeStream())}this._stderr.add(k.stderr)}k.on("message",this._onMessage.bind(this));k.on("exit",this._onExit.bind(this));k.send([_types().CHILD_MESSAGE_INITIALIZE,false,this._options.workerPath,this._options.setupArgs]);this._child=k;this._retries++;if(this._retries>this._options.maxRetries){const E=new Error(`Jest worker encountered ${this._retries} child process exceptions, exceeding retry limit`);this._onMessage([_types().PARENT_MESSAGE_CLIENT_ERROR,E.name,E.message,E.stack,{type:"WorkerError"}])}}_shutdown(){if(this._fakeStream){this._fakeStream.end();this._fakeStream=null}this._resolveExitPromise()}_onMessage(E){let k;switch(E[0]){case _types().PARENT_MESSAGE_OK:this._onProcessEnd(null,E[1]);break;case _types().PARENT_MESSAGE_CLIENT_ERROR:k=E[4];if(k!=null&&typeof k==="object"){const S=k;const w=global[E[1]];const N=typeof w==="function"?w:Error;k=new N(E[2]);k.type=E[1];k.stack=E[3];for(const E in S){k[E]=S[E]}}this._onProcessEnd(k,null);break;case _types().PARENT_MESSAGE_SETUP_ERROR:k=new Error("Error when calling setup: "+E[2]);k.type=E[1];k.stack=E[3];this._onProcessEnd(k,null);break;case _types().PARENT_MESSAGE_CUSTOM:this._onCustomMessage(E[1]);break;default:throw new TypeError("Unexpected response from worker: "+E[0])}}_onExit(E){if(E!==0&&E!==null&&E!==q&&E!==j){this.initialize();if(this._request){this._child.send(this._request)}}else{this._shutdown()}}send(E,k,S,w){k(this);this._onProcessEnd=(...E)=>{this._request=null;return S(...E)};this._onCustomMessage=(...E)=>w(...E);this._request=E;this._retries=0;this._child.send(E,(()=>{}))}waitForExit(){return this._exitPromise}forceExit(){this._child.kill("SIGTERM");const E=setTimeout((()=>this._child.kill("SIGKILL")),ee);this._exitPromise.then((()=>clearTimeout(E)))}getWorkerId(){return this._options.workerId}getStdout(){return this._stdout}getStderr(){return this._stderr}_getFakeStream(){if(!this._fakeStream){this._fakeStream=new(_stream().PassThrough)}return this._fakeStream}}k.Z=ChildProcessWorker},12295:(E,k,S)=>{"use strict";var w;w={value:true};k.Z=void 0;function path(){const E=_interopRequireWildcard(S(85622));path=function(){return E};return E}function _stream(){const E=S(92413);_stream=function(){return E};return E}function _worker_threads(){const E=S(65013);_worker_threads=function(){return E};return E}function _mergeStream(){const E=_interopRequireDefault(S(33089));_mergeStream=function(){return E};return E}function _types(){const E=S(42195);_types=function(){return E};return E}function _interopRequireDefault(E){return E&&E.__esModule?E:{default:E}}function _getRequireWildcardCache(E){if(typeof WeakMap!=="function")return null;var k=new WeakMap;var S=new WeakMap;return(_getRequireWildcardCache=function(E){return E?S:k})(E)}function _interopRequireWildcard(E,k){if(!k&&E&&E.__esModule){return E}if(E===null||typeof E!=="object"&&typeof E!=="function"){return{default:E}}var S=_getRequireWildcardCache(k);if(S&&S.has(E)){return S.get(E)}var w={};var N=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var j in E){if(j!=="default"&&Object.prototype.hasOwnProperty.call(E,j)){var q=N?Object.getOwnPropertyDescriptor(E,j):null;if(q&&(q.get||q.set)){Object.defineProperty(w,j,q)}else{w[j]=E[j]}}}w.default=E;if(S){S.set(E,w)}return w}function _defineProperty(E,k,S){if(k in E){Object.defineProperty(E,k,{value:S,enumerable:true,configurable:true,writable:true})}else{E[k]=S}return E}class ExperimentalWorker{constructor(E){_defineProperty(this,"_worker",void 0);_defineProperty(this,"_options",void 0);_defineProperty(this,"_request",void 0);_defineProperty(this,"_retries",void 0);_defineProperty(this,"_onProcessEnd",void 0);_defineProperty(this,"_onCustomMessage",void 0);_defineProperty(this,"_fakeStream",void 0);_defineProperty(this,"_stdout",void 0);_defineProperty(this,"_stderr",void 0);_defineProperty(this,"_exitPromise",void 0);_defineProperty(this,"_resolveExitPromise",void 0);_defineProperty(this,"_forceExited",void 0);this._options=E;this._request=null;this._fakeStream=null;this._stdout=null;this._stderr=null;this._exitPromise=new Promise((E=>{this._resolveExitPromise=E}));this._forceExited=false;this.initialize()}initialize(){this._worker=new(_worker_threads().Worker)(path().resolve(__dirname,"./threadChild.js"),{eval:false,resourceLimits:this._options.resourceLimits,stderr:true,stdout:true,workerData:{cwd:process.cwd(),env:{...process.env,JEST_WORKER_ID:String(this._options.workerId+1)},execArgv:process.execArgv.filter((E=>!/^--(debug|inspect)/.test(E))),silent:true,...this._options.forkOptions}});if(this._worker.stdout){if(!this._stdout){this._stdout=(0,_mergeStream().default)(this._getFakeStream())}this._stdout.add(this._worker.stdout)}if(this._worker.stderr){if(!this._stderr){this._stderr=(0,_mergeStream().default)(this._getFakeStream())}this._stderr.add(this._worker.stderr)}this._worker.on("message",this._onMessage.bind(this));this._worker.on("exit",this._onExit.bind(this));this._worker.postMessage([_types().CHILD_MESSAGE_INITIALIZE,false,this._options.workerPath,this._options.setupArgs]);this._retries++;if(this._retries>this._options.maxRetries){const E=new Error("Call retries were exceeded");this._onMessage([_types().PARENT_MESSAGE_CLIENT_ERROR,E.name,E.message,E.stack,{type:"WorkerError"}])}}_shutdown(){if(this._fakeStream){this._fakeStream.end();this._fakeStream=null}this._resolveExitPromise()}_onMessage(E){let k;switch(E[0]){case _types().PARENT_MESSAGE_OK:this._onProcessEnd(null,E[1]);break;case _types().PARENT_MESSAGE_CLIENT_ERROR:k=E[4];if(k!=null&&typeof k==="object"){const S=k;const w=global[E[1]];const N=typeof w==="function"?w:Error;k=new N(E[2]);k.type=E[1];k.stack=E[3];for(const E in S){k[E]=S[E]}}this._onProcessEnd(k,null);break;case _types().PARENT_MESSAGE_SETUP_ERROR:k=new Error("Error when calling setup: "+E[2]);k.type=E[1];k.stack=E[3];this._onProcessEnd(k,null);break;case _types().PARENT_MESSAGE_CUSTOM:this._onCustomMessage(E[1]);break;default:throw new TypeError("Unexpected response from worker: "+E[0])}}_onExit(E){if(E!==0&&!this._forceExited){this.initialize();if(this._request){this._worker.postMessage(this._request)}}else{this._shutdown()}}waitForExit(){return this._exitPromise}forceExit(){this._forceExited=true;this._worker.terminate()}send(E,k,S,w){k(this);this._onProcessEnd=(...E)=>{var k;this._request=null;const w=(k=S)===null||k===void 0?void 0:k(...E);S=null;return w};this._onCustomMessage=(...E)=>w(...E);this._request=E;this._retries=0;this._worker.postMessage(E)}getWorkerId(){return this._options.workerId}getStdout(){return this._stdout}getStderr(){return this._stderr}_getFakeStream(){if(!this._fakeStream){this._fakeStream=new(_stream().PassThrough)}return this._fakeStream}}k.Z=ExperimentalWorker},27008:(E,k,S)=>{"use strict";Object.defineProperty(k,"__esModule",{value:true});k.default=messageParent;function _types(){const E=S(42195);_types=function(){return E};return E}const w=(()=>{try{const{isMainThread:E,parentPort:k}=S(65013);return!E&&k!=null}catch{return false}})();function messageParent(E,k=process){if(w){const{parentPort:k}=S(65013);k.postMessage([_types().PARENT_MESSAGE_CUSTOM,E])}else if(typeof k.send==="function"){k.send([_types().PARENT_MESSAGE_CUSTOM,E])}else{throw new Error('"messageParent" can only be used inside a worker')}}},24467:(E,k,S)=>{"use strict";const w=S(12087);const N=S(33867);const j=S(86811);const{env:q}=process;let ee;if(j("no-color")||j("no-colors")||j("color=false")||j("color=never")){ee=0}else if(j("color")||j("colors")||j("color=true")||j("color=always")){ee=1}function envForceColor(){if("FORCE_COLOR"in q){if(q.FORCE_COLOR==="true"){return 1}if(q.FORCE_COLOR==="false"){return 0}return q.FORCE_COLOR.length===0?1:Math.min(Number.parseInt(q.FORCE_COLOR,10),3)}}function translateLevel(E){if(E===0){return false}return{level:E,hasBasic:true,has256:E>=2,has16m:E>=3}}function supportsColor(E,{streamIsTTY:k,sniffFlags:S=true}={}){const N=envForceColor();if(N!==undefined){ee=N}const te=S?ee:N;if(te===0){return 0}if(S){if(j("color=16m")||j("color=full")||j("color=truecolor")){return 3}if(j("color=256")){return 2}}if(E&&!k&&te===undefined){return 0}const ne=te||0;if(q.TERM==="dumb"){return ne}if(process.platform==="win32"){const E=w.release().split(".");if(Number(E[0])>=10&&Number(E[2])>=10586){return Number(E[2])>=14931?3:2}return 1}if("CI"in q){if(["TRAVIS","CIRCLECI","APPVEYOR","GITLAB_CI","GITHUB_ACTIONS","BUILDKITE","DRONE"].some((E=>E in q))||q.CI_NAME==="codeship"){return 1}return ne}if("TEAMCITY_VERSION"in q){return/^(9\.(0*[1-9]\d*)\.|\d{2,}\.)/.test(q.TEAMCITY_VERSION)?1:0}if(q.COLORTERM==="truecolor"){return 3}if("TERM_PROGRAM"in q){const E=Number.parseInt((q.TERM_PROGRAM_VERSION||"").split(".")[0],10);switch(q.TERM_PROGRAM){case"iTerm.app":return E>=3?3:2;case"Apple_Terminal":return 2}}if(/-256(color)?$/i.test(q.TERM)){return 2}if(/^screen|^xterm|^vt100|^vt220|^rxvt|color|ansi|cygwin|linux/i.test(q.TERM)){return 1}if("COLORTERM"in q){return 1}return ne}function getSupportLevel(E,k={}){const S=supportsColor(E,{streamIsTTY:E&&E.isTTY,...k});return translateLevel(S)}E.exports={supportsColor:getSupportLevel,stdout:getSupportLevel({isTTY:N.isatty(1)}),stderr:getSupportLevel({isTTY:N.isatty(2)})}},78688:E=>{"use strict";E.exports=parseJson;function parseJson(E,k,S){S=S||20;try{return JSON.parse(E,k)}catch(k){if(typeof E!=="string"){const k=Array.isArray(E)&&E.length===0;const S="Cannot parse "+(k?"an empty array":String(E));throw new TypeError(S)}const w=k.message.match(/^Unexpected token.*position\s+(\d+)/i);const N=w?+w[1]:k.message.match(/^Unexpected end of JSON.*/i)?E.length-1:null;if(N!=null){const w=N<=S?0:N-S;const j=N+S>=E.length?E.length:N+S;k.message+=` while parsing near '${w===0?"":"..."}${E.slice(w,j)}${j===E.length?"":"..."}'`}else{k.message+=` while parsing '${E.slice(0,S*2)}'`}throw k}}},46833:E=>{"use strict";var k=E.exports=function(E,k,S){if(typeof k=="function"){S=k;k={}}S=k.cb||S;var w=typeof S=="function"?S:S.pre||function(){};var N=S.post||function(){};_traverse(k,w,N,E,"",E)};k.keywords={additionalItems:true,items:true,contains:true,additionalProperties:true,propertyNames:true,not:true};k.arrayKeywords={items:true,allOf:true,anyOf:true,oneOf:true};k.propsKeywords={definitions:true,properties:true,patternProperties:true,dependencies:true};k.skipKeywords={default:true,enum:true,const:true,required:true,maximum:true,minimum:true,exclusiveMaximum:true,exclusiveMinimum:true,multipleOf:true,maxLength:true,minLength:true,pattern:true,format:true,maxItems:true,minItems:true,uniqueItems:true,maxProperties:true,minProperties:true};function _traverse(E,S,w,N,j,q,ee,te,ne,ae){if(N&&typeof N=="object"&&!Array.isArray(N)){S(N,j,q,ee,te,ne,ae);for(var _e in N){var ve=N[_e];if(Array.isArray(ve)){if(_e in k.arrayKeywords){for(var Ee=0;Ee{"use strict";Object.defineProperty(k,"__esModule",{value:true});var S=function(){function ChunkIncludeExcludeTester(E){this.includeExcludeTest=E}ChunkIncludeExcludeTester.prototype.isIncluded=function(E){if(typeof this.includeExcludeTest==="function"){return this.includeExcludeTest(E)}if(this.includeExcludeTest.include&&!this.includeExcludeTest.exclude){return this.includeExcludeTest.include.indexOf(E)>-1}if(this.includeExcludeTest.exclude&&!this.includeExcludeTest.include){return!(this.includeExcludeTest.exclude.indexOf(E)>-1)}if(this.includeExcludeTest.include&&this.includeExcludeTest.exclude){return!(this.includeExcludeTest.exclude.indexOf(E)>-1)&&this.includeExcludeTest.include.indexOf(E)>-1}return true};return ChunkIncludeExcludeTester}();k.ChunkIncludeExcludeTester=S},50980:function(E,k){"use strict";var S=this&&this.__values||function(E){var k=typeof Symbol==="function"&&E[Symbol.iterator],S=0;if(k)return k.call(E);return{next:function(){if(E&&S>=E.length)E=void 0;return{value:E&&E[S++],done:!E}}}};Object.defineProperty(k,"__esModule",{value:true});var w=function(){function LicenseTextReader(E,k,S,w,N,j){this.logger=E;this.fileSystem=k;this.fileOverrides=S;this.textOverrides=w;this.templateDir=N;this.handleMissingLicenseText=j}LicenseTextReader.prototype.readLicense=function(E,k,S){if(this.textOverrides[k.name]){return this.textOverrides[k.name]}if(this.fileOverrides[k.name]){return this.readText(k.directory,this.fileOverrides[k.name])}if(S&&S.indexOf("SEE LICENSE IN ")===0){var w=S.split(" ")[3];return this.fileSystem.isFileInDirectory(w,k.directory)?this.readText(k.directory,w):null}var N=this.fileSystem.listPaths(k.directory);var j=this.guessLicenseFilename(N,k.directory);if(j!==null){return this.readText(k.directory,j)}if(this.templateDir){var q=S+".txt";var ee=this.fileSystem.join(this.templateDir,q);if(this.fileSystem.isFileInDirectory(ee,this.templateDir)){return this.fileSystem.readFileAsUtf8(ee).replace(/\r\n/g,"\n")}}this.logger.warn(E,"could not find any license file for "+k.name+". Use the licenseTextOverrides option to add the license text if desired.");return this.handleMissingLicenseText(k.name,S)};LicenseTextReader.prototype.readText=function(E,k){return this.fileSystem.readFileAsUtf8(this.fileSystem.join(E,k)).replace(/\r\n/g,"\n")};LicenseTextReader.prototype.guessLicenseFilename=function(E,k){try{for(var w=S(E),N=w.next();!N.done;N=w.next()){var j=N.value;var q=this.fileSystem.join(k,j);if(/^licen[cs]e/i.test(j)&&!this.fileSystem.isDirectory(q)){return j}}}catch(E){ee={error:E}}finally{try{if(N&&!N.done&&(te=w.return))te.call(w)}finally{if(ee)throw ee.error}}return null;var ee,te};return LicenseTextReader}();k.LicenseTextReader=w},85768:(E,k,S)=>{"use strict";Object.defineProperty(k,"__esModule",{value:true});var w=S(64055);var N=S(27519);var j=S(35183);var q=S(41728);var ee=S(55933);var te=S(50980);var ne=S(85777);var ae=S(98707);var _e=S(81778);var ve=S(13957);var Ee=S(2058);var we=S(29728);var Ce=S(99801);var Me=S(39225);var Te=function(){function LicenseWebpackPlugin(E){if(E===void 0){E={}}this.pluginOptions=E}LicenseWebpackPlugin.prototype.apply=function(E){var k=new q.WebpackFileSystem(E.inputFileSystem);var S=new Ce.PluginOptionsReader(E.context);var Te=S.readOptions(this.pluginOptions);var Ie=new Me.Logger(Te.stats);var Oe=new j.PluginFileHandler(k,Te.buildRoot,Te.modulesDirectories,Te.excludedPackageTest);var Re=new ee.PluginLicenseTypeIdentifier(Ie,Te.licenseTypeOverrides,Te.preferredLicenseTypes,Te.handleLicenseAmbiguity,Te.handleMissingLicenseType);var Fe=new te.LicenseTextReader(Ie,k,Te.licenseFileOverrides,Te.licenseTextOverrides,Te.licenseTemplateDir,Te.handleMissingLicenseText);var Ne=new we.PluginLicenseTestRunner(Te.licenseInclusionTest);var Be=new we.PluginLicenseTestRunner(Te.unacceptableLicenseTest);var Le=new Ee.PluginLicensePolicy(Ne,Be,Te.handleUnacceptableLicense,Te.handleMissingLicenseText);var je=new N.PluginChunkReadHandler(Ie,Oe,Re,Fe,Le,k);var $e=new ve.PluginLicensesRenderer(Te.renderLicenses,Te.renderBanner);var ze=new ae.PluginModuleCache;var Ue=new _e.WebpackAssetManager(Te.outputFilename,$e);var Ge=new w.ChunkIncludeExcludeTester(Te.chunkIncludeExcludeTest);var qe=new ne.WebpackCompilerHandler(Ge,je,Ue,ze,Te.addBanner,Te.perChunkOutput,Te.additionalChunkModules,Te.additionalModules,Te.skipChildCompilers);qe.handleCompiler(E)};return LicenseWebpackPlugin}();k.LicenseWebpackPlugin=Te},39225:(E,k)=>{"use strict";Object.defineProperty(k,"__esModule",{value:true});var S=function(){function Logger(E){this.stats=E}Logger.prototype.warn=function(E,k){if(this.stats.warnings){E.warnings.push(""+Logger.LOG_PREFIX+k)}};Logger.prototype.error=function(E,k){if(this.stats.errors){E.errors.push(""+Logger.LOG_PREFIX+k)}};Logger.LOG_PREFIX="license-webpack-plugin: ";return Logger}();k.Logger=S},27519:function(E,k,S){"use strict";var w=this&&this.__assign||Object.assign||function(E){for(var k,S=1,w=arguments.length;S=E.length)E=void 0;return{value:E&&E[S++],done:!E}}}};Object.defineProperty(k,"__esModule",{value:true});var w=function(){function PluginFileHandler(E,k,S,w){this.fileSystem=E;this.buildRoot=k;this.modulesDirectories=S;this.excludedPackageTest=w}PluginFileHandler.prototype.getModule=function(E){if(E===null||E===undefined){return null}if(this.modulesDirectories!==null){var k=false;try{for(var w=S(this.modulesDirectories),N=w.next();!N.done;N=w.next()){var j=N.value;if(this.fileSystem.isFileInDirectory(E,j)){k=true}}}catch(E){ee={error:E}}finally{try{if(N&&!N.done&&(te=w.return))te.call(w)}finally{if(ee)throw ee.error}}if(!k){return null}}var q=this.findModuleDir(E);if(q!==null&&this.excludedPackageTest(q.name)){return null}return q;var ee,te};PluginFileHandler.prototype.findModuleDir=function(E){var k=this.fileSystem.pathSeparator;var S=E.substring(0,E.lastIndexOf(k));var w=null;while(!this.dirContainsValidPackageJson(S)){w=S;S=this.fileSystem.resolvePath(""+S+k+".."+k);if(w===S){return null}}if(this.buildRoot===S){return null}var N=this.parsePackageJson(S);return{name:N.name,directory:S}};PluginFileHandler.prototype.parsePackageJson=function(E){var k=this.fileSystem.readFileAsUtf8(this.fileSystem.join(E,PluginFileHandler.PACKAGE_JSON));var S=JSON.parse(k);return S};PluginFileHandler.prototype.dirContainsValidPackageJson=function(E){if(!this.fileSystem.pathExists(this.fileSystem.join(E,PluginFileHandler.PACKAGE_JSON))){return false}var k=this.parsePackageJson(E);return!!k.name};PluginFileHandler.PACKAGE_JSON="package.json";return PluginFileHandler}();k.PluginFileHandler=w},2058:(E,k)=>{"use strict";Object.defineProperty(k,"__esModule",{value:true});var S=function(){function PluginLicensePolicy(E,k,S,w){this.licenseTester=E;this.unacceptableLicenseTester=k;this.unacceptableLicenseHandler=S;this.missingLicenseTextHandler=w}PluginLicensePolicy.prototype.isLicenseWrittenFor=function(E){return this.licenseTester.test(E)};PluginLicensePolicy.prototype.isLicenseUnacceptableFor=function(E){return this.unacceptableLicenseTester.test(E)};PluginLicensePolicy.prototype.handleUnacceptableLicense=function(E,k){this.unacceptableLicenseHandler(E,k)};PluginLicensePolicy.prototype.handleMissingLicenseText=function(E,k){this.missingLicenseTextHandler(E,k)};return PluginLicensePolicy}();k.PluginLicensePolicy=S},29728:(E,k)=>{"use strict";Object.defineProperty(k,"__esModule",{value:true});var S=function(){function PluginLicenseTestRunner(E){this.licenseTest=E}PluginLicenseTestRunner.prototype.test=function(E){return this.licenseTest(E)};return PluginLicenseTestRunner}();k.PluginLicenseTestRunner=S},55933:function(E,k){"use strict";var S=this&&this.__values||function(E){var k=typeof Symbol==="function"&&E[Symbol.iterator],S=0;if(k)return k.call(E);return{next:function(){if(E&&S>=E.length)E=void 0;return{value:E&&E[S++],done:!E}}}};Object.defineProperty(k,"__esModule",{value:true});var w=function(){function PluginLicenseTypeIdentifier(E,k,S,w,N){this.logger=E;this.licenseTypeOverrides=k;this.preferredLicenseTypes=S;this.handleLicenseAmbiguity=w;this.handleMissingLicenseType=N}PluginLicenseTypeIdentifier.prototype.findLicenseIdentifier=function(E,k,S){if(this.licenseTypeOverrides&&this.licenseTypeOverrides[k]){return this.licenseTypeOverrides[k]}var w=S.license;if(w){return typeof w==="string"?w:w.type}if(Array.isArray(S.licenses)&&S.licenses.length>0){if(S.licenses.length===1){return S.licenses[0].type}var N=S.licenses.map((function(E){return E.type}));var j=this.findPreferredLicense(N,this.preferredLicenseTypes);if(j!==null){return j}var q=this.handleLicenseAmbiguity(k,S.licenses);this.logger.warn(E,k+" specifies multiple licenses: "+N+". Automatically selected "+q+". Use the preferredLicenseTypes or the licenseTypeOverrides option to resolve this warning.");return q}this.logger.warn(E,"could not find any license type for "+k+" in its package.json");return this.handleMissingLicenseType(k)};PluginLicenseTypeIdentifier.prototype.findPreferredLicense=function(E,k){try{for(var w=S(k),N=w.next();!N.done;N=w.next()){var j=N.value;try{for(var q=S(E),ee=q.next();!ee.done;ee=q.next()){var te=ee.value;if(j===te){return j}}}catch(E){_e={error:E}}finally{try{if(ee&&!ee.done&&(ve=q.return))ve.call(q)}finally{if(_e)throw _e.error}}}}catch(E){ne={error:E}}finally{try{if(N&&!N.done&&(ae=w.return))ae.call(w)}finally{if(ne)throw ne.error}}return null;var ne,ae,_e,ve};return PluginLicenseTypeIdentifier}();k.PluginLicenseTypeIdentifier=w},13957:(E,k)=>{"use strict";Object.defineProperty(k,"__esModule",{value:true});var S=function(){function PluginLicensesRenderer(E,k){this.renderLicenses=E;this.renderBanner=k}return PluginLicensesRenderer}();k.PluginLicensesRenderer=S},98707:(E,k)=>{"use strict";Object.defineProperty(k,"__esModule",{value:true});var S=function(){function PluginModuleCache(){this.totalCache={};this.chunkCache={};this.chunkSeenCache={}}PluginModuleCache.prototype.registerModule=function(E,k){this.totalCache[k.name]=k;if(!this.chunkCache[E]){this.chunkCache[E]={}}this.chunkCache[E][k.name]=k};PluginModuleCache.prototype.getModule=function(E){return this.totalCache[E]||null};PluginModuleCache.prototype.markSeenForChunk=function(E,k){if(!this.chunkSeenCache[E]){this.chunkSeenCache[E]={}}this.chunkSeenCache[E][k]=true};PluginModuleCache.prototype.alreadySeenForChunk=function(E,k){return!!(this.chunkSeenCache[E]&&this.chunkSeenCache[E][k])};PluginModuleCache.prototype.getAllModulesForChunk=function(E){var k=[];var S=this.chunkCache[E];if(S){Object.keys(S).forEach((function(E){k.push(S[E])}))}return k};PluginModuleCache.prototype.getAllModules=function(){var E=this;var k=[];Object.keys(this.totalCache).forEach((function(S){k.push(E.totalCache[S])}));return k};return PluginModuleCache}();k.PluginModuleCache=S},99801:(E,k)=>{"use strict";Object.defineProperty(k,"__esModule",{value:true});var S=function(){function PluginOptionsReader(E){this.context=E}PluginOptionsReader.prototype.readOptions=function(E){var k=E.licenseInclusionTest||function(){return true};var S=E.unacceptableLicenseTest||function(){return false};var w=E.perChunkOutput===undefined||E.perChunkOutput;var N=E.licenseTemplateDir;var j=E.licenseTextOverrides||{};var q=E.licenseTypeOverrides||{};var ee=E.handleUnacceptableLicense||function(){};var te=E.handleMissingLicenseText||function(){return null};var ne=E.renderLicenses||function(E){return E.sort((function(E,k){return E.name{"use strict";Object.defineProperty(k,"__esModule",{value:true});var w=S(2991);var N=function(){function WebpackAssetManager(E,k){this.outputFilename=E;this.licensesRenderer=k}WebpackAssetManager.prototype.writeChunkLicenses=function(E,k,S){var N=this.licensesRenderer.renderLicenses(E);if(N&&N.trim()){var j=k.getPath(this.outputFilename,{chunk:S});k.assets[j]=new w.RawSource(N)}};WebpackAssetManager.prototype.writeChunkBanners=function(E,k,S){var N=k.getPath(this.outputFilename,{chunk:S});var j=this.licensesRenderer.renderBanner(N,E);if(j&&j.trim()){S.files.filter((function(E){return/\.js$/.test(E)})).forEach((function(E){k.assets[E]=new w.ConcatSource(j,k.assets[E])}))}};WebpackAssetManager.prototype.writeAllLicenses=function(E,k){var S=this.licensesRenderer.renderLicenses(E);if(S){var N=k.getPath(this.outputFilename,k);k.assets[N]=new w.RawSource(S)}};return WebpackAssetManager}();k.WebpackAssetManager=N},39900:function(E,k,S){"use strict";var w=this&&this.__values||function(E){var k=typeof Symbol==="function"&&E[Symbol.iterator],S=0;if(k)return k.call(E);return{next:function(){if(E&&S>=E.length)E=void 0;return{value:E&&E[S++],done:!E}}}};Object.defineProperty(k,"__esModule",{value:true});var N=S(7425);var j=function(){function WebpackChunkModuleIterator(){this.statsIterator=new N.WebpackStatsIterator}WebpackChunkModuleIterator.prototype.iterateModules=function(E,k,S,N){if(typeof E.chunkGraph!=="undefined"&&typeof S!=="undefined"){try{for(var j=w(E.chunkGraph.getChunkModulesIterable(k)),q=j.next();!q.done;q=j.next()){var ee=q.value;N(ee)}}catch(E){Ie={error:E}}finally{try{if(q&&!q.done&&(Oe=j.return))Oe.call(j)}finally{if(Ie)throw Ie.error}}var te=this.statsIterator.collectModules(S,k.name);try{for(var ne=w(te),ae=ne.next();!ae.done;ae=ne.next()){var _e=ae.value;N(_e)}}catch(E){Re={error:E}}finally{try{if(ae&&!ae.done&&(Fe=ne.return))Fe.call(ne)}finally{if(Re)throw Re.error}}}else if(typeof k.modulesIterable!=="undefined"){try{for(var ve=w(k.modulesIterable),Ee=ve.next();!Ee.done;Ee=ve.next()){var we=Ee.value;N(we)}}catch(E){Ne={error:E}}finally{try{if(Ee&&!Ee.done&&(Be=ve.return))Be.call(ve)}finally{if(Ne)throw Ne.error}}}else if(typeof k.forEachModule==="function"){k.forEachModule(N)}else if(Array.isArray(k.modules)){k.modules.forEach(N)}if(typeof E.chunkGraph!=="undefined"){try{for(var Ce=w(E.chunkGraph.getChunkEntryModulesIterable(k)),Me=Ce.next();!Me.done;Me=Ce.next()){var Te=Me.value;N(Te)}}catch(E){Le={error:E}}finally{try{if(Me&&!Me.done&&(je=Ce.return))je.call(Ce)}finally{if(Le)throw Le.error}}}else if(k.entryModule){N(k.entryModule)}var Ie,Oe,Re,Fe,Ne,Be,Le,je};return WebpackChunkModuleIterator}();k.WebpackChunkModuleIterator=j},85777:function(E,k){"use strict";var S=this&&this.__values||function(E){var k=typeof Symbol==="function"&&E[Symbol.iterator],S=0;if(k)return k.call(E);return{next:function(){if(E&&S>=E.length)E=void 0;return{value:E&&E[S++],done:!E}}}};Object.defineProperty(k,"__esModule",{value:true});var w=function(){function WebpackCompilerHandler(E,k,S,w,N,j,q,ee,te){this.chunkIncludeTester=E;this.chunkHandler=k;this.assetManager=S;this.moduleCache=w;this.addBanner=N;this.perChunkOutput=j;this.additionalChunkModules=q;this.additionalModules=ee;this.skipChildCompilers=te}WebpackCompilerHandler.prototype.handleCompiler=function(E){var k=this;if(typeof E.hooks!=="undefined"){var S=this.skipChildCompilers?"thisCompilation":"compilation";E.hooks[S].tap("LicenseWebpackPlugin",(function(E){if(typeof E.hooks.processAssets!=="undefined"){E.hooks.processAssets.tap({name:"LicenseWebpackPlugin",stage:WebpackCompilerHandler.PROCESS_ASSETS_STAGE_REPORT},(function(){var S=E.getStats().toJson();k.iterateChunks(E,E.chunks,S)}))}else{E.hooks.optimizeChunkAssets.tap("LicenseWebpackPlugin",(function(S){k.iterateChunks(E,S)}))}}));if(!this.perChunkOutput){E.hooks[S].tap("LicenseWebpackPlugin",(function(E){if(!E.compiler.isChild()){if(typeof E.hooks.processAssets!=="undefined"){E.hooks.processAssets.tap({name:"LicenseWebpackPlugin",stage:WebpackCompilerHandler.PROCESS_ASSETS_STAGE_REPORT+1},(function(){k.assetManager.writeAllLicenses(k.moduleCache.getAllModules(),E)}))}else{E.hooks.optimizeChunkAssets.tap("LicenseWebpackPlugin",(function(){k.assetManager.writeAllLicenses(k.moduleCache.getAllModules(),E)}))}}}))}}else if(typeof E.plugin!=="undefined"){E.plugin("compilation",(function(E){if(typeof E.plugin!=="undefined"){E.plugin("optimize-chunk-assets",(function(S,w){k.iterateChunks(E,S);w()}))}}))}};WebpackCompilerHandler.prototype.iterateChunks=function(E,k,w){var N=this;var _loop_1=function(k){if(j.chunkIncludeTester.isIncluded(k.name)){j.chunkHandler.processChunk(E,k,j.moduleCache,w);if(j.additionalChunkModules[k.name]){j.additionalChunkModules[k.name].forEach((function(S){return N.chunkHandler.processModule(E,k,N.moduleCache,S)}))}if(j.additionalModules.length>0){j.additionalModules.forEach((function(S){return N.chunkHandler.processModule(E,k,N.moduleCache,S)}))}if(j.perChunkOutput){j.assetManager.writeChunkLicenses(j.moduleCache.getAllModulesForChunk(k.name),E,k)}if(j.addBanner){if(typeof E.hooks.processAssets!=="undefined"){E.hooks.processAssets.tap({name:"LicenseWebpackPlugin",stage:WebpackCompilerHandler.PROCESS_ASSETS_STAGE_ADDITIONS},(function(){N.assetManager.writeChunkBanners(N.moduleCache.getAllModulesForChunk(k.name),E,k)}))}else{j.assetManager.writeChunkBanners(j.moduleCache.getAllModulesForChunk(k.name),E,k)}}}};var j=this;try{for(var q=S(k),ee=q.next();!ee.done;ee=q.next()){var te=ee.value;_loop_1(te)}}catch(E){ne={error:E}}finally{try{if(ee&&!ee.done&&(ae=q.return))ae.call(q)}finally{if(ne)throw ne.error}}var ne,ae};WebpackCompilerHandler.PROCESS_ASSETS_STAGE_ADDITIONS=-100;WebpackCompilerHandler.PROCESS_ASSETS_STAGE_REPORT=5e3;return WebpackCompilerHandler}();k.WebpackCompilerHandler=w},41728:function(E,k,S){"use strict";var w=this&&this.__read||function(E,k){var S=typeof Symbol==="function"&&E[Symbol.iterator];if(!S)return E;var w=S.call(E),N,j=[],q;try{while((k===void 0||k-- >0)&&!(N=w.next()).done)j.push(N.value)}catch(E){q={error:E}}finally{try{if(N&&!N.done&&(S=w["return"]))S.call(w)}finally{if(q)throw q.error}}return j};var N=this&&this.__spread||function(){for(var E=[],k=0;k{"use strict";Object.defineProperty(k,"__esModule",{value:true});var w=function(){function WebpackModuleFileIterator(){}WebpackModuleFileIterator.prototype.iterateFiles=function(E,k){var S=this.internalCallback.bind(this,k);S(E.resource||E.rootModule&&E.rootModule.resource);if(Array.isArray(E.fileDependencies)){var w=E.fileDependencies;w.forEach(S)}if(Array.isArray(E.dependencies)){E.dependencies.forEach((function(E){return S(E.originModule&&E.originModule.resource)}))}};WebpackModuleFileIterator.prototype.internalCallback=function(E,k){if(!k||k.indexOf("external ")===0){return}if(k.indexOf("webpack/runtime")===0){E(S.ab+"index1.js")}else{E(k)}};return WebpackModuleFileIterator}();k.WebpackModuleFileIterator=w},7425:function(E,k){"use strict";var S=this&&this.__values||function(E){var k=typeof Symbol==="function"&&E[Symbol.iterator],S=0;if(k)return k.call(E);return{next:function(){if(E&&S>=E.length)E=void 0;return{value:E&&E[S++],done:!E}}}};Object.defineProperty(k,"__esModule",{value:true});var w=function(){function WebpackStatsIterator(){}WebpackStatsIterator.prototype.collectModules=function(E,k){var w=[];try{for(var N=S(E.chunks),j=N.next();!j.done;j=N.next()){var q=j.value;if(q.names[0]===k){this.traverseModules(q.modules,w)}}}catch(E){ee={error:E}}finally{try{if(j&&!j.done&&(te=N.return))te.call(N)}finally{if(ee)throw ee.error}}return w;var ee,te};WebpackStatsIterator.prototype.traverseModules=function(E,k){if(!E){return}try{for(var w=S(E),N=w.next();!N.done;N=w.next()){var j=N.value;k.push({resource:j.identifier});this.traverseModules(j.modules,k)}}catch(E){q={error:E}}finally{try{if(N&&!N.done&&(ee=w.return))ee.call(w)}finally{if(q)throw q.error}}var q,ee};return WebpackStatsIterator}();k.WebpackStatsIterator=w},58907:(E,k,S)=>{"use strict";var w;w={value:true};var N=S(85768);k.s=N.LicenseWebpackPlugin},11638:E=>{"use strict";class LoadingLoaderError extends Error{constructor(E){super(E);this.name="LoaderRunnerError";Error.captureStackTrace(this,this.constructor)}}E.exports=LoadingLoaderError},60425:(E,k,S)=>{var w=S(35747);var N=w.readFile.bind(w);var j=S(45658);function utf8BufferToString(E){var k=E.toString("utf-8");if(k.charCodeAt(0)===65279){return k.substr(1)}else{return k}}const q=/^((?:\0.|[^?#\0])*)(\?(?:\0.|[^#\0])*)?(#.*)?$/;function parsePathQueryFragment(E){var k=q.exec(E);return{path:k[1].replace(/\0(.)/g,"$1"),query:k[2]?k[2].replace(/\0(.)/g,"$1"):"",fragment:k[3]||""}}function dirname(E){if(E==="/")return"/";var k=E.lastIndexOf("/");var S=E.lastIndexOf("\\");var w=E.indexOf("/");var N=E.indexOf("\\");var j=k>S?k:S;var q=k>S?w:N;if(j<0)return E;if(j===q)return E.substr(0,j+1);return E.substr(0,j)}function createLoaderObject(E){var k={path:null,query:null,fragment:null,options:null,ident:null,normal:null,pitch:null,raw:null,data:null,pitchExecuted:false,normalExecuted:false};Object.defineProperty(k,"request",{enumerable:true,get:function(){return k.path.replace(/#/g,"\0#")+k.query.replace(/#/g,"\0#")+k.fragment},set:function(E){if(typeof E==="string"){var S=parsePathQueryFragment(E);k.path=S.path;k.query=S.query;k.fragment=S.fragment;k.options=undefined;k.ident=undefined}else{if(!E.loader)throw new Error("request should be a string or object with loader and options ("+JSON.stringify(E)+")");k.path=E.loader;k.fragment=E.fragment||"";k.type=E.type;k.options=E.options;k.ident=E.ident;if(k.options===null)k.query="";else if(k.options===undefined)k.query="";else if(typeof k.options==="string")k.query="?"+k.options;else if(k.ident)k.query="??"+k.ident;else if(typeof k.options==="object"&&k.options.ident)k.query="??"+k.options.ident;else k.query="?"+JSON.stringify(k.options)}}});k.request=E;if(Object.preventExtensions){Object.preventExtensions(k)}return k}function runSyncOrAsync(E,k,S,w){var N=true;var j=false;var q=false;var ee=false;k.async=function async(){if(j){if(ee)return;throw new Error("async(): The callback was already called.")}N=false;return te};var te=k.callback=function(){if(j){if(ee)return;throw new Error("callback(): The callback was already called.")}j=true;N=false;try{w.apply(null,arguments)}catch(E){q=true;throw E}};try{var ne=function LOADER_EXECUTION(){return E.apply(k,S)}();if(N){j=true;if(ne===undefined)return w();if(ne&&typeof ne==="object"&&typeof ne.then==="function"){return ne.then((function(E){w(null,E)}),w)}return w(null,ne)}}catch(E){if(q)throw E;if(j){if(typeof E==="object"&&E.stack)console.error(E.stack);else console.error(E);return}j=true;ee=true;w(E)}}function convertArgs(E,k){if(!k&&Buffer.isBuffer(E[0]))E[0]=utf8BufferToString(E[0]);else if(k&&typeof E[0]==="string")E[0]=Buffer.from(E[0],"utf-8")}function iteratePitchingLoaders(E,k,S){if(k.loaderIndex>=k.loaders.length)return processResource(E,k,S);var w=k.loaders[k.loaderIndex];if(w.pitchExecuted){k.loaderIndex++;return iteratePitchingLoaders(E,k,S)}j(w,(function(N){if(N){k.cacheable(false);return S(N)}var j=w.pitch;w.pitchExecuted=true;if(!j)return iteratePitchingLoaders(E,k,S);runSyncOrAsync(j,k,[k.remainingRequest,k.previousRequest,w.data={}],(function(w){if(w)return S(w);var N=Array.prototype.slice.call(arguments,1);var j=N.some((function(E){return E!==undefined}));if(j){k.loaderIndex--;iterateNormalLoaders(E,k,N,S)}else{iteratePitchingLoaders(E,k,S)}}))}))}function processResource(E,k,S){k.loaderIndex=k.loaders.length-1;var w=k.resourcePath;if(w){E.processResource(k,w,(function(w,N){if(w)return S(w);E.resourceBuffer=N;iterateNormalLoaders(E,k,[N],S)}))}else{iterateNormalLoaders(E,k,[null],S)}}function iterateNormalLoaders(E,k,S,w){if(k.loaderIndex<0)return w(null,S);var N=k.loaders[k.loaderIndex];if(N.normalExecuted){k.loaderIndex--;return iterateNormalLoaders(E,k,S,w)}var j=N.normal;N.normalExecuted=true;if(!j){return iterateNormalLoaders(E,k,S,w)}convertArgs(S,N.raw);runSyncOrAsync(j,k,S,(function(S){if(S)return w(S);var N=Array.prototype.slice.call(arguments,1);iterateNormalLoaders(E,k,N,w)}))}k.getContext=function getContext(E){var k=parsePathQueryFragment(E).path;return dirname(k)};k.runLoaders=function runLoaders(E,k){var S=E.resource||"";var w=E.loaders||[];var j=E.context||{};var q=E.processResource||((E,k,S,w)=>{k.addDependency(S);E(S,w)}).bind(null,E.readResource||N);var ee=S&&parsePathQueryFragment(S);var te=ee?ee.path:undefined;var ne=ee?ee.query:undefined;var ae=ee?ee.fragment:undefined;var _e=te?dirname(te):null;var ve=true;var Ee=[];var we=[];var Ce=[];w=w.map(createLoaderObject);j.context=_e;j.loaderIndex=0;j.loaders=w;j.resourcePath=te;j.resourceQuery=ne;j.resourceFragment=ae;j.async=null;j.callback=null;j.cacheable=function cacheable(E){if(E===false){ve=false}};j.dependency=j.addDependency=function addDependency(E){Ee.push(E)};j.addContextDependency=function addContextDependency(E){we.push(E)};j.addMissingDependency=function addMissingDependency(E){Ce.push(E)};j.getDependencies=function getDependencies(){return Ee.slice()};j.getContextDependencies=function getContextDependencies(){return we.slice()};j.getMissingDependencies=function getMissingDependencies(){return Ce.slice()};j.clearDependencies=function clearDependencies(){Ee.length=0;we.length=0;Ce.length=0;ve=true};Object.defineProperty(j,"resource",{enumerable:true,get:function(){if(j.resourcePath===undefined)return undefined;return j.resourcePath.replace(/#/g,"\0#")+j.resourceQuery.replace(/#/g,"\0#")+j.resourceFragment},set:function(E){var k=E&&parsePathQueryFragment(E);j.resourcePath=k?k.path:undefined;j.resourceQuery=k?k.query:undefined;j.resourceFragment=k?k.fragment:undefined}});Object.defineProperty(j,"request",{enumerable:true,get:function(){return j.loaders.map((function(E){return E.request})).concat(j.resource||"").join("!")}});Object.defineProperty(j,"remainingRequest",{enumerable:true,get:function(){if(j.loaderIndex>=j.loaders.length-1&&!j.resource)return"";return j.loaders.slice(j.loaderIndex+1).map((function(E){return E.request})).concat(j.resource||"").join("!")}});Object.defineProperty(j,"currentRequest",{enumerable:true,get:function(){return j.loaders.slice(j.loaderIndex).map((function(E){return E.request})).concat(j.resource||"").join("!")}});Object.defineProperty(j,"previousRequest",{enumerable:true,get:function(){return j.loaders.slice(0,j.loaderIndex).map((function(E){return E.request})).join("!")}});Object.defineProperty(j,"query",{enumerable:true,get:function(){var E=j.loaders[j.loaderIndex];return E.options&&typeof E.options==="object"?E.options:E.query}});Object.defineProperty(j,"data",{enumerable:true,get:function(){return j.loaders[j.loaderIndex].data}});if(Object.preventExtensions){Object.preventExtensions(j)}var Me={resourceBuffer:null,processResource:q};iteratePitchingLoaders(Me,j,(function(E,S){if(E){return k(E,{cacheable:ve,fileDependencies:Ee,contextDependencies:we,missingDependencies:Ce})}k(null,{result:S,resourceBuffer:Me.resourceBuffer,cacheable:ve,fileDependencies:Ee,contextDependencies:we,missingDependencies:Ce})}))}},45658:(module,__unused_webpack_exports,__webpack_require__)=>{var LoaderLoadingError=__webpack_require__(11638);var url;module.exports=function loadLoader(loader,callback){if(loader.type==="module"){try{if(url===undefined)url=__webpack_require__(78835);var loaderUrl=url.pathToFileURL(loader.path);var modulePromise=eval("import("+JSON.stringify(loaderUrl.toString())+")");modulePromise.then((function(E){handleResult(loader,E,callback)}),callback);return}catch(E){callback(E)}}else{try{var module=require(loader.path)}catch(E){if(E instanceof Error&&E.code==="EMFILE"){var retry=loadLoader.bind(null,loader,callback);if(typeof setImmediate==="function"){return setImmediate(retry)}else{return process.nextTick(retry)}}return callback(E)}return handleResult(loader,module,callback)}};function handleResult(E,k,S){if(typeof k!=="function"&&typeof k!=="object"){return S(new LoaderLoadingError("Module '"+E.path+"' is not a loader (export function or es6 module)"))}E.normal=typeof k==="function"?k:k.default;E.pitch=k.pitch;E.raw=k.raw;if(typeof E.normal!=="function"&&typeof E.pitch!=="function"){return S(new LoaderLoadingError("Module '"+E.path+"' is not a loader (must have normal or pitch function)"))}S()}},56342:(E,k,S)=>{"use strict";const w=S(48333);const N=S(89987);const j=S(62680);const q=S(80713);const ee=S(32453);const te=ee.Readable;const ne=ee.Writable;function isDir(E){if(typeof E!=="object")return false;return E[""]===true}function isFile(E){if(typeof E!=="object")return false;return!E[""]}function pathToArray(E){E=w(E);const k=/^\//.test(E);if(!k){if(!/^[A-Za-z]:/.test(E)){throw new j(q.code.EINVAL,E)}E=E.replace(/[\\\/]+/g,"\\");E=E.split(/[\\\/]/);E[0]=E[0].toUpperCase()}else{E=E.replace(/\/+/g,"/");E=E.substr(1).split("/")}if(!E[E.length-1])E.pop();return E}function trueFn(){return true}function falseFn(){return false}class MemoryFileSystem{constructor(E){this.data=E||{};this.join=N;this.pathToArray=pathToArray;this.normalize=w}meta(E){const k=pathToArray(E);let S=this.data;let w=0;for(;w{S.push(k);w+=k.length;this.writeFile(E,Buffer.concat(S,w),j)};return k}exists(E,k){return k(this.existsSync(E))}writeFile(E,k,S,w){if(!w){w=S;S=undefined}try{this.writeFileSync(E,k,S)}catch(E){return w(E)}return w()}}["stat","readdir","mkdirp","rmdir","unlink","readlink"].forEach((function(E){MemoryFileSystem.prototype[E]=function(k,S){let w;try{w=this[E+"Sync"](k)}catch(E){setImmediate((function(){S(E)}));return}setImmediate((function(){S(null,w)}))}}));["mkdir","readFile"].forEach((function(E){MemoryFileSystem.prototype[E]=function(k,S,w){if(!w){w=S;S=undefined}let N;try{N=this[E+"Sync"](k,S)}catch(E){setImmediate((function(){w(E)}));return}setImmediate((function(){w(null,N)}))}}));E.exports=MemoryFileSystem},62680:E=>{"use strict";class MemoryFileSystemError extends Error{constructor(E,k,S){super(E,k);this.name=this.constructor.name;var w=[`${E.code}:`,`${E.description},`];if(S){w.push(S)}w.push(`'${k}'`);this.message=w.join(" ");this.code=E.code;this.errno=E.errno;this.path=k;this.operation=S;if(Error.captureStackTrace){Error.captureStackTrace(this,this.constructor)}}}E.exports=MemoryFileSystemError},89987:(E,k,S)=>{"use strict";const w=S(48333);const N=/^[A-Z]:([\\\/]|$)/i;const j=/^\//i;E.exports=function join(E,k){if(!k)return w(E);if(N.test(k))return w(k.replace(/\//g,"\\"));if(j.test(k))return w(k);if(E=="/")return w(E+k);if(N.test(E))return w(E.replace(/\//g,"\\")+"\\"+k.replace(/\//g,"\\"));if(j.test(E))return w(E+"/"+k);return w(E+"/"+k)}},48333:E=>{"use strict";E.exports=function normalize(E){var k=E.split(/(\\+|\/+)/);if(k.length===1)return E;var S=[];var w=0;for(var N=0,j=false;N{"use strict";const{PassThrough:w}=S(92413);E.exports=function(){var E=[];var k=new w({objectMode:true});k.setMaxListeners(0);k.add=add;k.isEmpty=isEmpty;k.on("unpipe",remove);Array.prototype.slice.call(arguments).forEach(add);return k;function add(S){if(Array.isArray(S)){S.forEach(add);return this}E.push(S);S.once("end",remove.bind(null,S));S.once("error",k.emit.bind(k,"error"));S.pipe(k,{end:false});return this}function isEmpty(){return E.length==0}function remove(S){E=E.filter((function(E){return E!==S}));if(!E.length&&k.readable){k.end()}}}},22198:(E,k,S)=>{ -/*! - * mime-db - * Copyright(c) 2014 Jonathan Ong - * MIT Licensed - */ -E.exports=S(73313)},50007:(E,k,S)=>{"use strict"; -/*! - * mime-types - * Copyright(c) 2014 Jonathan Ong - * Copyright(c) 2015 Douglas Christopher Wilson - * MIT Licensed - */var w=S(22198);var N=S(85622).extname;var j=/^\s*([^;\s]*)(?:;|\s|$)/;var q=/^text\//i;k.charset=charset;k.charsets={lookup:charset};k.contentType=contentType;k.extension=extension;k.extensions=Object.create(null);k.lookup=lookup;k.types=Object.create(null);populateMaps(k.extensions,k.types);function charset(E){if(!E||typeof E!=="string"){return false}var k=j.exec(E);var S=k&&w[k[1].toLowerCase()];if(S&&S.charset){return S.charset}if(k&&q.test(k[1])){return"UTF-8"}return false}function contentType(E){if(!E||typeof E!=="string"){return false}var S=E.indexOf("/")===-1?k.lookup(E):E;if(!S){return false}if(S.indexOf("charset")===-1){var w=k.charset(S);if(w)S+="; charset="+w.toLowerCase()}return S}function extension(E){if(!E||typeof E!=="string"){return false}var S=j.exec(E);var w=S&&k.extensions[S[1].toLowerCase()];if(!w||!w.length){return false}return w[0]}function lookup(E){if(!E||typeof E!=="string"){return false}var S=N("x."+E).toLowerCase().substr(1);if(!S){return false}return k.types[S]||false}function populateMaps(E,k){var S=["nginx","apache",undefined,"iana"];Object.keys(w).forEach((function forEachMimeType(N){var j=w[N];var q=j.extensions;if(!q||!q.length){return}E[N]=q;for(var ee=0;eeae||ne===ae&&k[te].substr(0,12)==="application/")){continue}}k[te]=N}}))}},40535:E=>{E.exports=function(E,k){if(!k)k={};var S={bools:{},strings:{},unknownFn:null};if(typeof k["unknown"]==="function"){S.unknownFn=k["unknown"]}if(typeof k["boolean"]==="boolean"&&k["boolean"]){S.allBools=true}else{[].concat(k["boolean"]).filter(Boolean).forEach((function(E){S.bools[E]=true}))}var w={};Object.keys(k.alias||{}).forEach((function(E){w[E]=[].concat(k.alias[E]);w[E].forEach((function(k){w[k]=[E].concat(w[E].filter((function(E){return k!==E})))}))}));[].concat(k.string).filter(Boolean).forEach((function(E){S.strings[E]=true;if(w[E]){S.strings[w[E]]=true}}));var N=k["default"]||{};var j={_:[]};Object.keys(S.bools).forEach((function(E){setArg(E,N[E]===undefined?false:N[E])}));var q=[];if(E.indexOf("--")!==-1){q=E.slice(E.indexOf("--")+1);E=E.slice(0,E.indexOf("--"))}function argDefined(E,k){return S.allBools&&/^--[^=]+$/.test(k)||S.strings[E]||S.bools[E]||w[E]}function setArg(E,k,N){if(N&&S.unknownFn&&!argDefined(E,N)){if(S.unknownFn(N)===false)return}var q=!S.strings[E]&&isNumber(k)?Number(k):k;setKey(j,E.split("."),q);(w[E]||[]).forEach((function(E){setKey(j,E.split("."),q)}))}function setKey(E,k,w){var N=E;for(var j=0;j=k&&E[q]>=w){q--}if(j>q){break}swap(E,N,j++,q--)}return j}function swap(E,k,S,w){var N=E[S];E[S]=E[w];E[w]=N;var j=k[S];k[S]=k[w];k[w]=j}function quickSort(E,k,S,w){if(k===S){return}var N=k;while(++N<=S&&E[k]===E[N]){var j=N-1;if(w[j]>w[N]){var q=w[j];w[j]=w[N];w[N]=q}}if(N>S){return}var ee=E[k]>E[N]?k:N;N=partition(E,k,S,E[ee],w);quickSort(E,k,N-1,w);quickSort(E,N,S,w)}function makeConcatResult(E){var S=[];arrayEachSync(E,(function(E){if(E===k){return}if(ee(E)){ne.apply(S,E)}else{S.push(E)}}));return S}function arrayEach(E,k,S){var w=-1;var N=E.length;if(k.length===3){while(++wve?ve:N,Oe);function arrayIterator(){Ee=Ne++;if(Eene?ne:w,Te);function arrayIterator(){if(Oene?ne:w,Ie);function arrayIterator(){ve=Re++;if(vene?ne:w,Te);function arrayIterator(){ve=Re++;if(veve?ve:N,Oe);function arrayIterator(){Ee=Fe++;if(Eeve?ve:N,Oe);function arrayIterator(){Ee=Ne++;if(Eene?ne:S,Te);function arrayIterator(){ve=Re++;if(vene?ne:w,Re);function arrayIterator(){if(Ne=2){ne.apply(Ie,slice(arguments,1))}if(E){N(E,Ie)}else if(++Oe===q){Me=S;N(null,Ie)}else if(Te){_e(Me)}else{Te=true;Me()}Te=false}}function concatLimit(E,w,N,q){q=q||k;var ne,ve,Ee,we,Ce,Me;var Te=false;var Ie=0;var Oe=0;if(ee(E)){ne=E.length;Ce=N.length===3?arrayIteratorWithIndex:arrayIterator}else if(!E){}else if(ae&&E[ae]){ne=Infinity;Me=[];Ee=E[ae]();Ce=N.length===3?symbolIteratorWithKey:symbolIterator}else if(typeof E===j){var Re=te(E);ne=Re.length;Ce=N.length===3?objectIteratorWithKey:objectIterator}if(!ne||isNaN(w)||w<1){return q(null,[])}Me=Me||Array(ne);timesSync(w>ne?ne:w,Ce);function arrayIterator(){if(Iene?ne:w,Ie);function arrayIterator(){if(Req?q:w,we);function arrayIterator(){ne=Me++;if(ne1){var w=slice(arguments,1);return go.apply(this,w)}else{return go}}}function DLL(){this.head=null;this.tail=null;this.length=0}DLL.prototype._removeLink=function(E){var k=E.prev;var S=E.next;if(k){k.next=S}else{this.head=S}if(S){S.prev=k}else{this.tail=k}E.prev=null;E.next=null;this.length--;return E};DLL.prototype.empty=DLL;DLL.prototype._setInitial=function(E){this.length=1;this.head=this.tail=E};DLL.prototype.insertBefore=function(E,k){k.prev=E.prev;k.next=E;if(E.prev){E.prev.next=k}else{this.head=k}E.prev=k;this.length++};DLL.prototype.unshift=function(E){if(this.head){this.insertBefore(this.head,E)}else{this._setInitial(E)}};DLL.prototype.push=function(E){var k=this.tail;if(k){E.prev=k;E.next=k.next;this.tail=E;k.next=E;this.length++}else{this._setInitial(E)}};DLL.prototype.shift=function(){return this.head&&this._removeLink(this.head)};DLL.prototype.splice=function(E){var k;var S=[];while(E--&&(k=this.shift())){S.push(k)}return S};DLL.prototype.remove=function(E){var k=this.head;while(k){if(E(k)){this._removeLink(k)}k=k.next}return this};function baseQueue(E,w,N,j){if(N===undefined){N=1}else if(isNaN(N)||N<1){throw new Error("Concurrency must not be zero")}var q=0;var te=[];var ae,ve;var Ee={_tasks:new DLL,concurrency:N,payload:j,saturated:k,unsaturated:k,buffer:N/4,empty:k,drain:k,error:k,started:false,paused:false,push:push,kill:kill,unshift:unshift,remove:remove,process:E?runQueue:runCargo,length:getLength,running:running,workersList:getWorkersList,idle:idle,pause:pause,resume:resume,_worker:w};return Ee;function push(E,k){_insert(E,k)}function unshift(E,k){_insert(E,k,true)}function _exec(E){var k={data:E,callback:ae};if(ve){Ee._tasks.unshift(k)}else{Ee._tasks.push(k)}_e(Ee.process)}function _insert(E,S,w){if(S==null){S=k}else if(typeof S!=="function"){throw new Error("task callback must be a function")}Ee.started=true;var N=ee(E)?E:[E];if(E===undefined||!N.length){if(Ee.idle()){_e(Ee.drain)}return}ve=w;ae=S;arrayEachSync(N,_exec);ae=undefined}function kill(){Ee.drain=k;Ee._tasks.empty()}function _next(E,k){var w=false;return function done(N,j){if(w){S()}w=true;q--;var ee;var ne=-1;var ae=te.length;var _e=-1;var ve=k.length;var Ee=arguments.length>2;var we=Ee&&createArray(arguments);while(++_e=ne.priority){ne=ne.next}while(te--){var ae={data:j[te],priority:S,callback:N};if(ne){w._tasks.insertBefore(ne,ae)}else{w._tasks.push(ae)}_e(w.process)}}}function cargo(E,k){return baseQueue(false,E,1,k)}function auto(E,w,N){if(typeof w===q){N=w;w=null}var j=te(E);var ne=j.length;var ae={};if(ne===0){return N(null,ae)}var _e=0;var ve=new DLL;var Ee=Object.create(null);N=onlyOnce(N||k);w=w||ne;baseEachSync(E,iterator,j);proceedQueue();function iterator(E,w){var q,te;if(!ee(E)){q=E;te=0;ve.push([q,te,done]);return}var we=E.length-1;q=E[we];te=we;if(we===0){ve.push([q,te,done]);return}var Ce=-1;while(++Ce=E){N(null,j);N=S}else if(q){_e(iterate)}else{q=true;iterate()}q=false}}function timesLimit(E,w,N,j){j=j||k;E=+E;if(isNaN(E)||E<1||isNaN(w)||w<1){return j(null,[])}var q=Array(E);var ee=false;var te=0;var ne=0;timesSync(w>E?E:w,iterate);function iterate(){var k=te++;if(k=E){j(null,q);j=S}else if(ee){_e(iterate)}else{ee=true;iterate()}ee=false}}}function race(E,S){S=once(S||k);var w,N;var q=-1;if(ee(E)){w=E.length;while(++q2){S=slice(arguments,1)}k(null,{value:S})}}}function reflectAll(E){var k,S;if(ee(E)){k=Array(E.length);arrayEachSync(E,iterate)}else if(E&&typeof E===j){S=te(E);k={};baseEachSync(E,iterate,S)}return k;function iterate(E,S){k[S]=reflect(E)}}function createLogger(E){return function(E){var k=slice(arguments,1);k.push(done);E.apply(null,k)};function done(k){if(typeof console===j){if(k){if(console.error){console.error(k)}return}if(console[E]){var S=slice(arguments,1);arrayEachSync(S,(function(k){console[E](k)}))}}}}function safe(){createImmediate();return E}function fast(){createImmediate(false);return E}}))},75522:E=>{"use strict";var k=process.platform==="win32";var S=/^([a-zA-Z]:|[\\\/]{2}[^\\\/]+[\\\/]+[^\\\/]+)?([\\\/])?([\s\S]*?)$/;var w=/^([\s\S]*?)((?:\.{1,2}|[^\\\/]+?|)(\.[^.\/\\]*|))(?:[\\\/]*)$/;var N={};function win32SplitPath(E){var k=S.exec(E),N=(k[1]||"")+(k[2]||""),j=k[3]||"";var q=w.exec(j),ee=q[1],te=q[2],ne=q[3];return[N,ee,te,ne]}N.parse=function(E){if(typeof E!=="string"){throw new TypeError("Parameter 'pathString' must be a string, not "+typeof E)}var k=win32SplitPath(E);if(!k||k.length!==4){throw new TypeError("Invalid path '"+E+"'")}return{root:k[0],dir:k[0]+k[1].slice(0,-1),base:k[2],ext:k[3],name:k[2].slice(0,k[2].length-k[3].length)}};var j=/^(\/?|)([\s\S]*?)((?:\.{1,2}|[^\/]+?|)(\.[^.\/]*|))(?:[\/]*)$/;var q={};function posixSplitPath(E){return j.exec(E).slice(1)}q.parse=function(E){if(typeof E!=="string"){throw new TypeError("Parameter 'pathString' must be a string, not "+typeof E)}var k=posixSplitPath(E);if(!k||k.length!==4){throw new TypeError("Invalid path '"+E+"'")}k[1]=k[1]||"";k[2]=k[2]||"";k[3]=k[3]||"";return{root:k[0],dir:k[0]+k[1].slice(0,-1),base:k[2],ext:k[3],name:k[2].slice(0,k[2].length-k[3].length)}};if(k)E.exports=N.parse;else E.exports=q.parse;E.exports.posix=q.parse;E.exports.win32=N.parse},50411:E=>{"use strict";if(typeof process==="undefined"||!process.version||process.version.indexOf("v0.")===0||process.version.indexOf("v1.")===0&&process.version.indexOf("v1.8.")!==0){E.exports={nextTick:nextTick}}else{E.exports=process}function nextTick(E,k,S,w){if(typeof E!=="function"){throw new TypeError('"callback" argument must be a function')}var N=arguments.length;var j,q;switch(N){case 0:case 1:return process.nextTick(E);case 2:return process.nextTick((function afterTickOne(){E.call(null,k)}));case 3:return process.nextTick((function afterTickTwo(){E.call(null,k,S)}));case 4:return process.nextTick((function afterTickThree(){E.call(null,k,S,w)}));default:j=new Array(N-1);q=0;while(q - * https://github.com/rvagg/prr - * License: MIT - */ -(function(k,S,w){if(true&&E.exports)E.exports=w();else S[k]=w()})("prr",this,(function(){var E=typeof Object.defineProperty=="function"?function(E,k,S){Object.defineProperty(E,k,S);return E}:function(E,k,S){E[k]=S.value;return E},makeOptions=function(E,k){var S=typeof k=="object",w=!S&&typeof k=="string",op=function(E){return S?!!k[E]:w?k.indexOf(E[0])>-1:false};return{enumerable:op("enumerable"),configurable:op("configurable"),writable:op("writable"),value:E}},prr=function(k,S,w,N){var j;N=makeOptions(w,N);if(typeof S=="object"){for(j in S){if(Object.hasOwnProperty.call(S,j)){N.value=S[j];E(k,j,N)}}return k}return E(k,S,N)};return prr}))},31998:(E,k,S)=>{E.exports=S(76417).randomBytes},81959:(E,k,S)=>{"use strict";var w=S(50411);var N=Object.keys||function(E){var k=[];for(var S in E){k.push(S)}return k};E.exports=Duplex;var j=Object.create(S(93349));j.inherits=S(28309);var q=S(97469);var ee=S(97867);j.inherits(Duplex,q);{var te=N(ee.prototype);for(var ne=0;ne{"use strict";E.exports=PassThrough;var w=S(77837);var N=Object.create(S(93349));N.inherits=S(28309);N.inherits(PassThrough,w);function PassThrough(E){if(!(this instanceof PassThrough))return new PassThrough(E);w.call(this,E)}PassThrough.prototype._transform=function(E,k,S){S(null,E)}},97469:(E,k,S)=>{"use strict";var w=S(50411);E.exports=Readable;var N=S(27523);var j;Readable.ReadableState=ReadableState;var q=S(28614).EventEmitter;var EElistenerCount=function(E,k){return E.listeners(k).length};var ee=S(99837);var te=S(22560).Buffer;var ne=global.Uint8Array||function(){};function _uint8ArrayToBuffer(E){return te.from(E)}function _isUint8Array(E){return te.isBuffer(E)||E instanceof ne}var ae=Object.create(S(93349));ae.inherits=S(28309);var _e=S(31669);var ve=void 0;if(_e&&_e.debuglog){ve=_e.debuglog("stream")}else{ve=function(){}}var Ee=S(24220);var we=S(22535);var Ce;ae.inherits(Readable,ee);var Me=["error","close","destroy","pause","resume"];function prependListener(E,k,S){if(typeof E.prependListener==="function")return E.prependListener(k,S);if(!E._events||!E._events[k])E.on(k,S);else if(N(E._events[k]))E._events[k].unshift(S);else E._events[k]=[S,E._events[k]]}function ReadableState(E,k){j=j||S(81959);E=E||{};var w=k instanceof j;this.objectMode=!!E.objectMode;if(w)this.objectMode=this.objectMode||!!E.readableObjectMode;var N=E.highWaterMark;var q=E.readableHighWaterMark;var ee=this.objectMode?16:16*1024;if(N||N===0)this.highWaterMark=N;else if(w&&(q||q===0))this.highWaterMark=q;else this.highWaterMark=ee;this.highWaterMark=Math.floor(this.highWaterMark);this.buffer=new Ee;this.length=0;this.pipes=null;this.pipesCount=0;this.flowing=null;this.ended=false;this.endEmitted=false;this.reading=false;this.sync=true;this.needReadable=false;this.emittedReadable=false;this.readableListening=false;this.resumeScheduled=false;this.destroyed=false;this.defaultEncoding=E.defaultEncoding||"utf8";this.awaitDrain=0;this.readingMore=false;this.decoder=null;this.encoding=null;if(E.encoding){if(!Ce)Ce=S(80147).s;this.decoder=new Ce(E.encoding);this.encoding=E.encoding}}function Readable(E){j=j||S(81959);if(!(this instanceof Readable))return new Readable(E);this._readableState=new ReadableState(E,this);this.readable=true;if(E){if(typeof E.read==="function")this._read=E.read;if(typeof E.destroy==="function")this._destroy=E.destroy}ee.call(this)}Object.defineProperty(Readable.prototype,"destroyed",{get:function(){if(this._readableState===undefined){return false}return this._readableState.destroyed},set:function(E){if(!this._readableState){return}this._readableState.destroyed=E}});Readable.prototype.destroy=we.destroy;Readable.prototype._undestroy=we.undestroy;Readable.prototype._destroy=function(E,k){this.push(null);k(E)};Readable.prototype.push=function(E,k){var S=this._readableState;var w;if(!S.objectMode){if(typeof E==="string"){k=k||S.defaultEncoding;if(k!==S.encoding){E=te.from(E,k);k=""}w=true}}else{w=true}return readableAddChunk(this,E,k,false,w)};Readable.prototype.unshift=function(E){return readableAddChunk(this,E,null,true,false)};function readableAddChunk(E,k,S,w,N){var j=E._readableState;if(k===null){j.reading=false;onEofChunk(E,j)}else{var q;if(!N)q=chunkInvalid(j,k);if(q){E.emit("error",q)}else if(j.objectMode||k&&k.length>0){if(typeof k!=="string"&&!j.objectMode&&Object.getPrototypeOf(k)!==te.prototype){k=_uint8ArrayToBuffer(k)}if(w){if(j.endEmitted)E.emit("error",new Error("stream.unshift() after end event"));else addChunk(E,j,k,true)}else if(j.ended){E.emit("error",new Error("stream.push() after EOF"))}else{j.reading=false;if(j.decoder&&!S){k=j.decoder.write(k);if(j.objectMode||k.length!==0)addChunk(E,j,k,false);else maybeReadMore(E,j)}else{addChunk(E,j,k,false)}}}else if(!w){j.reading=false}}return needMoreData(j)}function addChunk(E,k,S,w){if(k.flowing&&k.length===0&&!k.sync){E.emit("data",S);E.read(0)}else{k.length+=k.objectMode?1:S.length;if(w)k.buffer.unshift(S);else k.buffer.push(S);if(k.needReadable)emitReadable(E)}maybeReadMore(E,k)}function chunkInvalid(E,k){var S;if(!_isUint8Array(k)&&typeof k!=="string"&&k!==undefined&&!E.objectMode){S=new TypeError("Invalid non-string/buffer chunk")}return S}function needMoreData(E){return!E.ended&&(E.needReadable||E.length=Te){E=Te}else{E--;E|=E>>>1;E|=E>>>2;E|=E>>>4;E|=E>>>8;E|=E>>>16;E++}return E}function howMuchToRead(E,k){if(E<=0||k.length===0&&k.ended)return 0;if(k.objectMode)return 1;if(E!==E){if(k.flowing&&k.length)return k.buffer.head.data.length;else return k.length}if(E>k.highWaterMark)k.highWaterMark=computeNewHighWaterMark(E);if(E<=k.length)return E;if(!k.ended){k.needReadable=true;return 0}return k.length}Readable.prototype.read=function(E){ve("read",E);E=parseInt(E,10);var k=this._readableState;var S=E;if(E!==0)k.emittedReadable=false;if(E===0&&k.needReadable&&(k.length>=k.highWaterMark||k.ended)){ve("read: emitReadable",k.length,k.ended);if(k.length===0&&k.ended)endReadable(this);else emitReadable(this);return null}E=howMuchToRead(E,k);if(E===0&&k.ended){if(k.length===0)endReadable(this);return null}var w=k.needReadable;ve("need readable",w);if(k.length===0||k.length-E0)N=fromList(E,k);else N=null;if(N===null){k.needReadable=true;E=0}else{k.length-=E}if(k.length===0){if(!k.ended)k.needReadable=true;if(S!==E&&k.ended)endReadable(this)}if(N!==null)this.emit("data",N);return N};function onEofChunk(E,k){if(k.ended)return;if(k.decoder){var S=k.decoder.end();if(S&&S.length){k.buffer.push(S);k.length+=k.objectMode?1:S.length}}k.ended=true;emitReadable(E)}function emitReadable(E){var k=E._readableState;k.needReadable=false;if(!k.emittedReadable){ve("emitReadable",k.flowing);k.emittedReadable=true;if(k.sync)w.nextTick(emitReadable_,E);else emitReadable_(E)}}function emitReadable_(E){ve("emit readable");E.emit("readable");flow(E)}function maybeReadMore(E,k){if(!k.readingMore){k.readingMore=true;w.nextTick(maybeReadMore_,E,k)}}function maybeReadMore_(E,k){var S=k.length;while(!k.reading&&!k.flowing&&!k.ended&&k.length1&&indexOf(N.pipes,E)!==-1)&&!te){ve("false write response, pause",S._readableState.awaitDrain);S._readableState.awaitDrain++;ne=true}S.pause()}}function onerror(k){ve("onerror",k);unpipe();E.removeListener("error",onerror);if(EElistenerCount(E,"error")===0)E.emit("error",k)}prependListener(E,"error",onerror);function onclose(){E.removeListener("finish",onfinish);unpipe()}E.once("close",onclose);function onfinish(){ve("onfinish");E.removeListener("close",onclose);unpipe()}E.once("finish",onfinish);function unpipe(){ve("unpipe");S.unpipe(E)}E.emit("pipe",S);if(!N.flowing){ve("pipe resume");S.resume()}return E};function pipeOnDrain(E){return function(){var k=E._readableState;ve("pipeOnDrain",k.awaitDrain);if(k.awaitDrain)k.awaitDrain--;if(k.awaitDrain===0&&EElistenerCount(E,"data")){k.flowing=true;flow(E)}}}Readable.prototype.unpipe=function(E){var k=this._readableState;var S={hasUnpiped:false};if(k.pipesCount===0)return this;if(k.pipesCount===1){if(E&&E!==k.pipes)return this;if(!E)E=k.pipes;k.pipes=null;k.pipesCount=0;k.flowing=false;if(E)E.emit("unpipe",this,S);return this}if(!E){var w=k.pipes;var N=k.pipesCount;k.pipes=null;k.pipesCount=0;k.flowing=false;for(var j=0;j=k.length){if(k.decoder)S=k.buffer.join("");else if(k.buffer.length===1)S=k.buffer.head.data;else S=k.buffer.concat(k.length);k.buffer.clear()}else{S=fromListPartial(E,k.buffer,k.decoder)}return S}function fromListPartial(E,k,S){var w;if(Ej.length?j.length:E;if(q===j.length)N+=j;else N+=j.slice(0,E);E-=q;if(E===0){if(q===j.length){++w;if(S.next)k.head=S.next;else k.head=k.tail=null}else{k.head=S;S.data=j.slice(q)}break}++w}k.length-=w;return N}function copyFromBuffer(E,k){var S=te.allocUnsafe(E);var w=k.head;var N=1;w.data.copy(S);E-=w.data.length;while(w=w.next){var j=w.data;var q=E>j.length?j.length:E;j.copy(S,S.length-E,0,q);E-=q;if(E===0){if(q===j.length){++N;if(w.next)k.head=w.next;else k.head=k.tail=null}else{k.head=w;w.data=j.slice(q)}break}++N}k.length-=N;return S}function endReadable(E){var k=E._readableState;if(k.length>0)throw new Error('"endReadable()" called on non-empty stream');if(!k.endEmitted){k.ended=true;w.nextTick(endReadableNT,k,E)}}function endReadableNT(E,k){if(!E.endEmitted&&E.length===0){E.endEmitted=true;k.readable=false;k.emit("end")}}function indexOf(E,k){for(var S=0,w=E.length;S{"use strict";E.exports=Transform;var w=S(81959);var N=Object.create(S(93349));N.inherits=S(28309);N.inherits(Transform,w);function afterTransform(E,k){var S=this._transformState;S.transforming=false;var w=S.writecb;if(!w){return this.emit("error",new Error("write callback called multiple times"))}S.writechunk=null;S.writecb=null;if(k!=null)this.push(k);w(E);var N=this._readableState;N.reading=false;if(N.needReadable||N.length{"use strict";var w=S(50411);E.exports=Writable;function WriteReq(E,k,S){this.chunk=E;this.encoding=k;this.callback=S;this.next=null}function CorkedRequest(E){var k=this;this.next=null;this.entry=null;this.finish=function(){onCorkedFinish(k,E)}}var N=!process.browser&&["v0.10","v0.9."].indexOf(process.version.slice(0,5))>-1?setImmediate:w.nextTick;var j;Writable.WritableState=WritableState;var q=Object.create(S(93349));q.inherits=S(28309);var ee={deprecate:S(95791)};var te=S(99837);var ne=S(22560).Buffer;var ae=global.Uint8Array||function(){};function _uint8ArrayToBuffer(E){return ne.from(E)}function _isUint8Array(E){return ne.isBuffer(E)||E instanceof ae}var _e=S(22535);q.inherits(Writable,te);function nop(){}function WritableState(E,k){j=j||S(81959);E=E||{};var w=k instanceof j;this.objectMode=!!E.objectMode;if(w)this.objectMode=this.objectMode||!!E.writableObjectMode;var N=E.highWaterMark;var q=E.writableHighWaterMark;var ee=this.objectMode?16:16*1024;if(N||N===0)this.highWaterMark=N;else if(w&&(q||q===0))this.highWaterMark=q;else this.highWaterMark=ee;this.highWaterMark=Math.floor(this.highWaterMark);this.finalCalled=false;this.needDrain=false;this.ending=false;this.ended=false;this.finished=false;this.destroyed=false;var te=E.decodeStrings===false;this.decodeStrings=!te;this.defaultEncoding=E.defaultEncoding||"utf8";this.length=0;this.writing=false;this.corked=0;this.sync=true;this.bufferProcessing=false;this.onwrite=function(E){onwrite(k,E)};this.writecb=null;this.writelen=0;this.bufferedRequest=null;this.lastBufferedRequest=null;this.pendingcb=0;this.prefinished=false;this.errorEmitted=false;this.bufferedRequestCount=0;this.corkedRequestsFree=new CorkedRequest(this)}WritableState.prototype.getBuffer=function getBuffer(){var E=this.bufferedRequest;var k=[];while(E){k.push(E);E=E.next}return k};(function(){try{Object.defineProperty(WritableState.prototype,"buffer",{get:ee.deprecate((function(){return this.getBuffer()}),"_writableState.buffer is deprecated. Use _writableState.getBuffer "+"instead.","DEP0003")})}catch(E){}})();var ve;if(typeof Symbol==="function"&&Symbol.hasInstance&&typeof Function.prototype[Symbol.hasInstance]==="function"){ve=Function.prototype[Symbol.hasInstance];Object.defineProperty(Writable,Symbol.hasInstance,{value:function(E){if(ve.call(this,E))return true;if(this!==Writable)return false;return E&&E._writableState instanceof WritableState}})}else{ve=function(E){return E instanceof this}}function Writable(E){j=j||S(81959);if(!ve.call(Writable,this)&&!(this instanceof j)){return new Writable(E)}this._writableState=new WritableState(E,this);this.writable=true;if(E){if(typeof E.write==="function")this._write=E.write;if(typeof E.writev==="function")this._writev=E.writev;if(typeof E.destroy==="function")this._destroy=E.destroy;if(typeof E.final==="function")this._final=E.final}te.call(this)}Writable.prototype.pipe=function(){this.emit("error",new Error("Cannot pipe, not readable"))};function writeAfterEnd(E,k){var S=new Error("write after end");E.emit("error",S);w.nextTick(k,S)}function validChunk(E,k,S,N){var j=true;var q=false;if(S===null){q=new TypeError("May not write null values to stream")}else if(typeof S!=="string"&&S!==undefined&&!k.objectMode){q=new TypeError("Invalid non-string/buffer chunk")}if(q){E.emit("error",q);w.nextTick(N,q);j=false}return j}Writable.prototype.write=function(E,k,S){var w=this._writableState;var N=false;var j=!w.objectMode&&_isUint8Array(E);if(j&&!ne.isBuffer(E)){E=_uint8ArrayToBuffer(E)}if(typeof k==="function"){S=k;k=null}if(j)k="buffer";else if(!k)k=w.defaultEncoding;if(typeof S!=="function")S=nop;if(w.ended)writeAfterEnd(this,S);else if(j||validChunk(this,w,E,S)){w.pendingcb++;N=writeOrBuffer(this,w,j,E,k,S)}return N};Writable.prototype.cork=function(){var E=this._writableState;E.corked++};Writable.prototype.uncork=function(){var E=this._writableState;if(E.corked){E.corked--;if(!E.writing&&!E.corked&&!E.finished&&!E.bufferProcessing&&E.bufferedRequest)clearBuffer(this,E)}};Writable.prototype.setDefaultEncoding=function setDefaultEncoding(E){if(typeof E==="string")E=E.toLowerCase();if(!(["hex","utf8","utf-8","ascii","binary","base64","ucs2","ucs-2","utf16le","utf-16le","raw"].indexOf((E+"").toLowerCase())>-1))throw new TypeError("Unknown encoding: "+E);this._writableState.defaultEncoding=E;return this};function decodeChunk(E,k,S){if(!E.objectMode&&E.decodeStrings!==false&&typeof k==="string"){k=ne.from(k,S)}return k}Object.defineProperty(Writable.prototype,"writableHighWaterMark",{enumerable:false,get:function(){return this._writableState.highWaterMark}});function writeOrBuffer(E,k,S,w,N,j){if(!S){var q=decodeChunk(k,w,N);if(w!==q){S=true;N="buffer";w=q}}var ee=k.objectMode?1:w.length;k.length+=ee;var te=k.length{"use strict";function _classCallCheck(E,k){if(!(E instanceof k)){throw new TypeError("Cannot call a class as a function")}}var w=S(22560).Buffer;var N=S(31669);function copyBuffer(E,k,S){E.copy(k,S)}E.exports=function(){function BufferList(){_classCallCheck(this,BufferList);this.head=null;this.tail=null;this.length=0}BufferList.prototype.push=function push(E){var k={data:E,next:null};if(this.length>0)this.tail.next=k;else this.head=k;this.tail=k;++this.length};BufferList.prototype.unshift=function unshift(E){var k={data:E,next:this.head};if(this.length===0)this.tail=k;this.head=k;++this.length};BufferList.prototype.shift=function shift(){if(this.length===0)return;var E=this.head.data;if(this.length===1)this.head=this.tail=null;else this.head=this.head.next;--this.length;return E};BufferList.prototype.clear=function clear(){this.head=this.tail=null;this.length=0};BufferList.prototype.join=function join(E){if(this.length===0)return"";var k=this.head;var S=""+k.data;while(k=k.next){S+=E+k.data}return S};BufferList.prototype.concat=function concat(E){if(this.length===0)return w.alloc(0);if(this.length===1)return this.head.data;var k=w.allocUnsafe(E>>>0);var S=this.head;var N=0;while(S){copyBuffer(S.data,k,N);N+=S.data.length;S=S.next}return k};return BufferList}();if(N&&N.inspect&&N.inspect.custom){E.exports.prototype[N.inspect.custom]=function(){var E=N.inspect({length:this.length});return this.constructor.name+" "+E}}},22535:(E,k,S)=>{"use strict";var w=S(50411);function destroy(E,k){var S=this;var N=this._readableState&&this._readableState.destroyed;var j=this._writableState&&this._writableState.destroyed;if(N||j){if(k){k(E)}else if(E&&(!this._writableState||!this._writableState.errorEmitted)){w.nextTick(emitErrorNT,this,E)}return this}if(this._readableState){this._readableState.destroyed=true}if(this._writableState){this._writableState.destroyed=true}this._destroy(E||null,(function(E){if(!k&&E){w.nextTick(emitErrorNT,S,E);if(S._writableState){S._writableState.errorEmitted=true}}else if(k){k(E)}}));return this}function undestroy(){if(this._readableState){this._readableState.destroyed=false;this._readableState.reading=false;this._readableState.ended=false;this._readableState.endEmitted=false}if(this._writableState){this._writableState.destroyed=false;this._writableState.ended=false;this._writableState.ending=false;this._writableState.finished=false;this._writableState.errorEmitted=false}}function emitErrorNT(E,k){E.emit("error",k)}E.exports={destroy:destroy,undestroy:undestroy}},99837:(E,k,S)=>{E.exports=S(92413)},22560:(E,k,S)=>{var w=S(64293);var N=w.Buffer;function copyProps(E,k){for(var S in E){k[S]=E[S]}}if(N.from&&N.alloc&&N.allocUnsafe&&N.allocUnsafeSlow){E.exports=w}else{copyProps(w,k);k.Buffer=SafeBuffer}function SafeBuffer(E,k,S){return N(E,k,S)}copyProps(N,SafeBuffer);SafeBuffer.from=function(E,k,S){if(typeof E==="number"){throw new TypeError("Argument must not be a number")}return N(E,k,S)};SafeBuffer.alloc=function(E,k,S){if(typeof E!=="number"){throw new TypeError("Argument must be a number")}var w=N(E);if(k!==undefined){if(typeof S==="string"){w.fill(k,S)}else{w.fill(k)}}else{w.fill(0)}return w};SafeBuffer.allocUnsafe=function(E){if(typeof E!=="number"){throw new TypeError("Argument must be a number")}return N(E)};SafeBuffer.allocUnsafeSlow=function(E){if(typeof E!=="number"){throw new TypeError("Argument must be a number")}return w.SlowBuffer(E)}},80147:(E,k,S)=>{"use strict";var w=S(22560).Buffer;var N=w.isEncoding||function(E){E=""+E;switch(E&&E.toLowerCase()){case"hex":case"utf8":case"utf-8":case"ascii":case"binary":case"base64":case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":case"raw":return true;default:return false}};function _normalizeEncoding(E){if(!E)return"utf8";var k;while(true){switch(E){case"utf8":case"utf-8":return"utf8";case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return"utf16le";case"latin1":case"binary":return"latin1";case"base64":case"ascii":case"hex":return E;default:if(k)return;E=(""+E).toLowerCase();k=true}}}function normalizeEncoding(E){var k=_normalizeEncoding(E);if(typeof k!=="string"&&(w.isEncoding===N||!N(E)))throw new Error("Unknown encoding: "+E);return k||E}k.s=StringDecoder;function StringDecoder(E){this.encoding=normalizeEncoding(E);var k;switch(this.encoding){case"utf16le":this.text=utf16Text;this.end=utf16End;k=4;break;case"utf8":this.fillLast=utf8FillLast;k=4;break;case"base64":this.text=base64Text;this.end=base64End;k=3;break;default:this.write=simpleWrite;this.end=simpleEnd;return}this.lastNeed=0;this.lastTotal=0;this.lastChar=w.allocUnsafe(k)}StringDecoder.prototype.write=function(E){if(E.length===0)return"";var k;var S;if(this.lastNeed){k=this.fillLast(E);if(k===undefined)return"";S=this.lastNeed;this.lastNeed=0}else{S=0}if(S>5===6)return 2;else if(E>>4===14)return 3;else if(E>>3===30)return 4;return E>>6===2?-1:-2}function utf8CheckIncomplete(E,k,S){var w=k.length-1;if(w=0){if(N>0)E.lastNeed=N-1;return N}if(--w=0){if(N>0)E.lastNeed=N-2;return N}if(--w=0){if(N>0){if(N===2)N=0;else E.lastNeed=N-3}return N}return 0}function utf8CheckExtraBytes(E,k,S){if((k[0]&192)!==128){E.lastNeed=0;return"�"}if(E.lastNeed>1&&k.length>1){if((k[1]&192)!==128){E.lastNeed=1;return"�"}if(E.lastNeed>2&&k.length>2){if((k[2]&192)!==128){E.lastNeed=2;return"�"}}}}function utf8FillLast(E){var k=this.lastTotal-this.lastNeed;var S=utf8CheckExtraBytes(this,E,k);if(S!==undefined)return S;if(this.lastNeed<=E.length){E.copy(this.lastChar,k,0,this.lastNeed);return this.lastChar.toString(this.encoding,0,this.lastTotal)}E.copy(this.lastChar,k,0,E.length);this.lastNeed-=E.length}function utf8Text(E,k){var S=utf8CheckIncomplete(this,E,k);if(!this.lastNeed)return E.toString("utf8",k);this.lastTotal=S;var w=E.length-(S-this.lastNeed);E.copy(this.lastChar,0,w);return E.toString("utf8",k,w)}function utf8End(E){var k=E&&E.length?this.write(E):"";if(this.lastNeed)return k+"�";return k}function utf16Text(E,k){if((E.length-k)%2===0){var S=E.toString("utf16le",k);if(S){var w=S.charCodeAt(S.length-1);if(w>=55296&&w<=56319){this.lastNeed=2;this.lastTotal=4;this.lastChar[0]=E[E.length-2];this.lastChar[1]=E[E.length-1];return S.slice(0,-1)}}return S}this.lastNeed=1;this.lastTotal=2;this.lastChar[0]=E[E.length-1];return E.toString("utf16le",k,E.length-1)}function utf16End(E){var k=E&&E.length?this.write(E):"";if(this.lastNeed){var S=this.lastTotal-this.lastNeed;return k+this.lastChar.toString("utf16le",0,S)}return k}function base64Text(E,k){var S=(E.length-k)%3;if(S===0)return E.toString("base64",k);this.lastNeed=3-S;this.lastTotal=3;if(S===1){this.lastChar[0]=E[E.length-1]}else{this.lastChar[0]=E[E.length-2];this.lastChar[1]=E[E.length-1]}return E.toString("base64",k,E.length-S)}function base64End(E){var k=E&&E.length?this.write(E):"";if(this.lastNeed)return k+this.lastChar.toString("base64",0,3-this.lastNeed);return k}function simpleWrite(E){return E.toString(this.encoding)}function simpleEnd(E){return E&&E.length?this.write(E):""}},32453:(E,k,S)=>{var w=S(92413);if(process.env.READABLE_STREAM==="disable"&&w){E.exports=w;k=E.exports=w.Readable;k.Readable=w.Readable;k.Writable=w.Writable;k.Duplex=w.Duplex;k.Transform=w.Transform;k.PassThrough=w.PassThrough;k.Stream=w}else{k=E.exports=S(97469);k.Stream=w||k;k.Readable=k;k.Writable=S(97867);k.Duplex=S(81959);k.Transform=S(77837);k.PassThrough=S(54021)}},47030:(E,k,S)=>{var w=S(42911);w.core=S(54800);w.isCore=S(80280);w.sync=S(4893);E.exports=w},42911:(E,k,S)=>{var w=S(35747);var N=S(85622);var j=S(25297);var q=S(1680);var ee=S(83034);var te=S(13747);var ne=w.realpath&&typeof w.realpath.native==="function"?w.realpath.native:w.realpath;var ae=function isFile(E,k){w.stat(E,(function(E,S){if(!E){return k(null,S.isFile()||S.isFIFO())}if(E.code==="ENOENT"||E.code==="ENOTDIR")return k(null,false);return k(E)}))};var _e=function isDirectory(E,k){w.stat(E,(function(E,S){if(!E){return k(null,S.isDirectory())}if(E.code==="ENOENT"||E.code==="ENOTDIR")return k(null,false);return k(E)}))};var ve=function realpath(E,k){ne(E,(function(S,w){if(S&&S.code!=="ENOENT")k(S);else k(null,S?E:w)}))};var Ee=function maybeRealpath(E,k,S,w){if(S&&S.preserveSymlinks===false){E(k,w)}else{w(null,k)}};var we=function defaultReadPackage(E,k,S){E(k,(function(E,k){if(E)S(E);else{try{var w=JSON.parse(k);S(null,w)}catch(E){S(null)}}}))};var Ce=function getPackageCandidates(E,k,S){var w=q(k,S,E);for(var j=0;j{E.exports=function(){var E=Error.prepareStackTrace;Error.prepareStackTrace=function(E,k){return k};var k=(new Error).stack;Error.prepareStackTrace=E;return k[2].getFileName()}},54800:(E,k,S)=>{var w=process.versions&&process.versions.node&&process.versions.node.split(".")||[];function specifierIncluded(E){var k=E.split(" ");var S=k.length>1?k[0]:"=";var N=(k.length>1?k[1]:k[0]).split(".");for(var j=0;j<3;++j){var q=parseInt(w[j]||0,10);var ee=parseInt(N[j]||0,10);if(q===ee){continue}if(S==="<"){return q="){return q>=ee}else{return false}}return S===">="}function matchesRange(E){var k=E.split(/ ?&& ?/);if(k.length===0){return false}for(var S=0;S{var w=S(13747);E.exports=function isCore(E){return w(E)}},1680:(E,k,S)=>{var w=S(85622);var N=w.parse||S(75522);var j=function getNodeModulesDirs(E,k){var S="/";if(/^([A-Za-z]:)/.test(E)){S=""}else if(/^\\\\/.test(E)){S="\\\\"}var j=[E];var q=N(E);while(q.dir!==j[j.length-1]){j.push(q.dir);q=N(q.dir)}return j.reduce((function(E,N){return E.concat(k.map((function(E){return w.resolve(S,N,E)})))}),[])};E.exports=function nodeModulesPaths(E,k,S){var w=k&&k.moduleDirectory?[].concat(k.moduleDirectory):["node_modules"];if(k&&typeof k.paths==="function"){return k.paths(S,E,(function(){return j(E,w)}),k)}var N=j(E,w);return k&&k.paths?N.concat(k.paths):N}},83034:E=>{E.exports=function(E,k){return k||{}}},4893:(E,k,S)=>{var w=S(13747);var N=S(35747);var j=S(85622);var q=S(25297);var ee=S(1680);var te=S(83034);var ne=N.realpathSync&&typeof N.realpathSync.native==="function"?N.realpathSync.native:N.realpathSync;var ae=function isFile(E){try{var k=N.statSync(E)}catch(E){if(E&&(E.code==="ENOENT"||E.code==="ENOTDIR"))return false;throw E}return k.isFile()||k.isFIFO()};var _e=function isDirectory(E){try{var k=N.statSync(E)}catch(E){if(E&&(E.code==="ENOENT"||E.code==="ENOTDIR"))return false;throw E}return k.isDirectory()};var ve=function realpathSync(E){try{return ne(E)}catch(E){if(E.code!=="ENOENT"){throw E}}return E};var Ee=function maybeRealpathSync(E,k,S){if(S&&S.preserveSymlinks===false){return E(k)}return k};var we=function defaultReadPackageSync(E,k){var S=E(k);try{var w=JSON.parse(S);return w}catch(E){}};var Ce=function getPackageCandidates(E,k,S){var w=ee(k,S,E);for(var N=0;N{"use strict";Object.defineProperty(k,"__esModule",{value:true});k.default=void 0;const{stringHints:w,numberHints:N}=S(47961);const j={type:1,not:1,oneOf:1,anyOf:1,if:1,enum:1,const:1,instanceof:1,required:2,pattern:2,patternRequired:2,format:2,formatMinimum:2,formatMaximum:2,minimum:2,exclusiveMinimum:2,maximum:2,exclusiveMaximum:2,multipleOf:2,uniqueItems:2,contains:2,minLength:2,maxLength:2,minItems:2,maxItems:2,minProperties:2,maxProperties:2,dependencies:2,propertyNames:2,additionalItems:2,additionalProperties:2,absolutePath:2};function filterMax(E,k){const S=E.reduce(((E,S)=>Math.max(E,k(S))),0);return E.filter((E=>k(E)===S))}function filterChildren(E){let k=E;k=filterMax(k,(E=>E.dataPath?E.dataPath.length:0));k=filterMax(k,(E=>j[E.keyword]||2));return k}function findAllChildren(E,k){let S=E.length-1;const predicate=k=>E[S].schemaPath.indexOf(k)!==0;while(S>-1&&!k.every(predicate)){if(E[S].keyword==="anyOf"||E[S].keyword==="oneOf"){const k=extractRefs(E[S]);const w=findAllChildren(E.slice(0,S),k.concat(E[S].schemaPath));S=w-1}else{S-=1}}return S+1}function extractRefs(E){const{schema:k}=E;if(!Array.isArray(k)){return[]}return k.map((({$ref:E})=>E)).filter((E=>E))}function groupChildrenByFirstChild(E){const k=[];let S=E.length-1;while(S>0){const w=E[S];if(w.keyword==="anyOf"||w.keyword==="oneOf"){const N=extractRefs(w);const j=findAllChildren(E.slice(0,S),N.concat(w.schemaPath));if(j!==S){k.push(Object.assign({},w,{children:E.slice(j,S)}));S=j}else{k.push(w)}}else{k.push(w)}S-=1}if(S===0){k.push(E[S])}return k.reverse()}function indent(E,k){return E.replace(/\n(?!$)/g,`\n${k}`)}function hasNotInSchema(E){return!!E.not}function findFirstTypedSchema(E){if(hasNotInSchema(E)){return findFirstTypedSchema(E.not)}return E}function canApplyNot(E){const k=findFirstTypedSchema(E);return likeNumber(k)||likeInteger(k)||likeString(k)||likeNull(k)||likeBoolean(k)}function isObject(E){return typeof E==="object"&&E!==null}function likeNumber(E){return E.type==="number"||typeof E.minimum!=="undefined"||typeof E.exclusiveMinimum!=="undefined"||typeof E.maximum!=="undefined"||typeof E.exclusiveMaximum!=="undefined"||typeof E.multipleOf!=="undefined"}function likeInteger(E){return E.type==="integer"||typeof E.minimum!=="undefined"||typeof E.exclusiveMinimum!=="undefined"||typeof E.maximum!=="undefined"||typeof E.exclusiveMaximum!=="undefined"||typeof E.multipleOf!=="undefined"}function likeString(E){return E.type==="string"||typeof E.minLength!=="undefined"||typeof E.maxLength!=="undefined"||typeof E.pattern!=="undefined"||typeof E.format!=="undefined"||typeof E.formatMinimum!=="undefined"||typeof E.formatMaximum!=="undefined"}function likeBoolean(E){return E.type==="boolean"}function likeArray(E){return E.type==="array"||typeof E.minItems==="number"||typeof E.maxItems==="number"||typeof E.uniqueItems!=="undefined"||typeof E.items!=="undefined"||typeof E.additionalItems!=="undefined"||typeof E.contains!=="undefined"}function likeObject(E){return E.type==="object"||typeof E.minProperties!=="undefined"||typeof E.maxProperties!=="undefined"||typeof E.required!=="undefined"||typeof E.properties!=="undefined"||typeof E.patternProperties!=="undefined"||typeof E.additionalProperties!=="undefined"||typeof E.dependencies!=="undefined"||typeof E.propertyNames!=="undefined"||typeof E.patternRequired!=="undefined"}function likeNull(E){return E.type==="null"}function getArticle(E){if(/^[aeiou]/i.test(E)){return"an"}return"a"}function getSchemaNonTypes(E){if(!E){return""}if(!E.type){if(likeNumber(E)||likeInteger(E)){return" | should be any non-number"}if(likeString(E)){return" | should be any non-string"}if(likeArray(E)){return" | should be any non-array"}if(likeObject(E)){return" | should be any non-object"}}return""}function formatHints(E){return E.length>0?`(${E.join(", ")})`:""}function getHints(E,k){if(likeNumber(E)||likeInteger(E)){return N(E,k)}else if(likeString(E)){return w(E,k)}return[]}class ValidationError extends Error{constructor(E,k,S={}){super();this.name="ValidationError";this.errors=E;this.schema=k;let w;let N;if(k.title&&(!S.name||!S.baseDataPath)){const E=k.title.match(/^(.+) (.+)$/);if(E){if(!S.name){[,w]=E}if(!S.baseDataPath){[,,N]=E}}}this.headerName=S.name||w||"Object";this.baseDataPath=S.baseDataPath||N||"configuration";this.postFormatter=S.postFormatter||null;const j=`Invalid ${this.baseDataPath} object. ${this.headerName} has been initialized using ${getArticle(this.baseDataPath)} ${this.baseDataPath} object that does not match the API schema.\n`;this.message=`${j}${this.formatValidationErrors(E)}`;Error.captureStackTrace(this,this.constructor)}getSchemaPart(E){const k=E.split("/");let S=this.schema;for(let E=1;E{if(!N){return this.formatSchema(k,w,S)}if(S.includes(k)){return"(recursive)"}return this.formatSchema(k,w,S.concat(E))};if(hasNotInSchema(E)&&!likeObject(E)){if(canApplyNot(E.not)){w=!k;return formatInnerSchema(E.not)}const S=!E.not.not;const N=k?"":"non ";w=!k;return S?N+formatInnerSchema(E.not):formatInnerSchema(E.not)}if(E.instanceof){const{instanceof:k}=E;const S=!Array.isArray(k)?[k]:k;return S.map((E=>E==="Function"?"function":E)).join(" | ")}if(E.enum){return E.enum.map((E=>JSON.stringify(E))).join(" | ")}if(typeof E.const!=="undefined"){return JSON.stringify(E.const)}if(E.oneOf){return E.oneOf.map((E=>formatInnerSchema(E,true))).join(" | ")}if(E.anyOf){return E.anyOf.map((E=>formatInnerSchema(E,true))).join(" | ")}if(E.allOf){return E.allOf.map((E=>formatInnerSchema(E,true))).join(" & ")}if(E.if){const{if:k,then:S,else:w}=E;return`${k?`if ${formatInnerSchema(k)}`:""}${S?` then ${formatInnerSchema(S)}`:""}${w?` else ${formatInnerSchema(w)}`:""}`}if(E.$ref){return formatInnerSchema(this.getSchemaPart(E.$ref),true)}if(likeNumber(E)||likeInteger(E)){const[S,...w]=getHints(E,k);const N=`${S}${w.length>0?` ${formatHints(w)}`:""}`;return k?N:w.length>0?`non-${S} | ${N}`:`non-${S}`}if(likeString(E)){const[S,...w]=getHints(E,k);const N=`${S}${w.length>0?` ${formatHints(w)}`:""}`;return k?N:N==="string"?"non-string":`non-string | ${N}`}if(likeBoolean(E)){return`${k?"":"non-"}boolean`}if(likeArray(E)){w=true;const k=[];if(typeof E.minItems==="number"){k.push(`should not have fewer than ${E.minItems} item${E.minItems>1?"s":""}`)}if(typeof E.maxItems==="number"){k.push(`should not have more than ${E.maxItems} item${E.maxItems>1?"s":""}`)}if(E.uniqueItems){k.push("should not have duplicate items")}const S=typeof E.additionalItems==="undefined"||Boolean(E.additionalItems);let N="";if(E.items){if(Array.isArray(E.items)&&E.items.length>0){N=`${E.items.map((E=>formatInnerSchema(E))).join(", ")}`;if(S){if(E.additionalItems&&isObject(E.additionalItems)&&Object.keys(E.additionalItems).length>0){k.push(`additional items should be ${formatInnerSchema(E.additionalItems)}`)}}}else if(E.items&&Object.keys(E.items).length>0){N=`${formatInnerSchema(E.items)}`}else{N="any"}}else{N="any"}if(E.contains&&Object.keys(E.contains).length>0){k.push(`should contains at least one ${this.formatSchema(E.contains)} item`)}return`[${N}${S?", ...":""}]${k.length>0?` (${k.join(", ")})`:""}`}if(likeObject(E)){w=true;const k=[];if(typeof E.minProperties==="number"){k.push(`should not have fewer than ${E.minProperties} ${E.minProperties>1?"properties":"property"}`)}if(typeof E.maxProperties==="number"){k.push(`should not have more than ${E.maxProperties} ${E.minProperties&&E.minProperties>1?"properties":"property"}`)}if(E.patternProperties&&Object.keys(E.patternProperties).length>0){const S=Object.keys(E.patternProperties);k.push(`additional property names should match pattern${S.length>1?"s":""} ${S.map((E=>JSON.stringify(E))).join(" | ")}`)}const S=E.properties?Object.keys(E.properties):[];const N=E.required?E.required:[];const j=[...new Set([].concat(N).concat(S))];const q=j.map((E=>{const k=N.includes(E);return`${E}${k?"":"?"}`})).concat(typeof E.additionalProperties==="undefined"||Boolean(E.additionalProperties)?E.additionalProperties&&isObject(E.additionalProperties)?[`: ${formatInnerSchema(E.additionalProperties)}`]:["…"]:[]).join(", ");const{dependencies:ee,propertyNames:te,patternRequired:ne}=E;if(ee){Object.keys(ee).forEach((E=>{const S=ee[E];if(Array.isArray(S)){k.push(`should have ${S.length>1?"properties":"property"} ${S.map((E=>`'${E}'`)).join(", ")} when property '${E}' is present`)}else{k.push(`should be valid according to the schema ${formatInnerSchema(S)} when property '${E}' is present`)}}))}if(te&&Object.keys(te).length>0){k.push(`each property name should match format ${JSON.stringify(E.propertyNames.format)}`)}if(ne&&ne.length>0){k.push(`should have property matching pattern ${ne.map((E=>JSON.stringify(E)))}`)}return`object {${q?` ${q} `:""}}${k.length>0?` (${k.join(", ")})`:""}`}if(likeNull(E)){return`${k?"":"non-"}null`}if(Array.isArray(E.type)){return`${E.type.join(" | ")}`}return JSON.stringify(E,null,2)}getSchemaPartText(E,k,S=false,w=true){if(!E){return""}if(Array.isArray(k)){for(let S=0;S ${E.description}`}return N}getSchemaPartDescription(E){if(!E){return""}while(E.$ref){E=this.getSchemaPart(E.$ref)}if(E.description){return`\n-> ${E.description}`}return""}formatValidationError(E){const{keyword:k,dataPath:S}=E;const w=`${this.baseDataPath}${S}`;switch(k){case"type":{const{parentSchema:k,params:S}=E;switch(S.type){case"number":return`${w} should be a ${this.getSchemaPartText(k,false,true)}`;case"integer":return`${w} should be a ${this.getSchemaPartText(k,false,true)}`;case"string":return`${w} should be a ${this.getSchemaPartText(k,false,true)}`;case"boolean":return`${w} should be a ${this.getSchemaPartText(k,false,true)}`;case"array":return`${w} should be an array:\n${this.getSchemaPartText(k)}`;case"object":return`${w} should be an object:\n${this.getSchemaPartText(k)}`;case"null":return`${w} should be a ${this.getSchemaPartText(k,false,true)}`;default:return`${w} should be:\n${this.getSchemaPartText(k)}`}}case"instanceof":{const{parentSchema:k}=E;return`${w} should be an instance of ${this.getSchemaPartText(k,false,true)}`}case"pattern":{const{params:k,parentSchema:S}=E;const{pattern:N}=k;return`${w} should match pattern ${JSON.stringify(N)}${getSchemaNonTypes(S)}.${this.getSchemaPartDescription(S)}`}case"format":{const{params:k,parentSchema:S}=E;const{format:N}=k;return`${w} should match format ${JSON.stringify(N)}${getSchemaNonTypes(S)}.${this.getSchemaPartDescription(S)}`}case"formatMinimum":case"formatMaximum":{const{params:k,parentSchema:S}=E;const{comparison:N,limit:j}=k;return`${w} should be ${N} ${JSON.stringify(j)}${getSchemaNonTypes(S)}.${this.getSchemaPartDescription(S)}`}case"minimum":case"maximum":case"exclusiveMinimum":case"exclusiveMaximum":{const{parentSchema:k,params:S}=E;const{comparison:N,limit:j}=S;const[,...q]=getHints(k,true);if(q.length===0){q.push(`should be ${N} ${j}`)}return`${w} ${q.join(" ")}${getSchemaNonTypes(k)}.${this.getSchemaPartDescription(k)}`}case"multipleOf":{const{params:k,parentSchema:S}=E;const{multipleOf:N}=k;return`${w} should be multiple of ${N}${getSchemaNonTypes(S)}.${this.getSchemaPartDescription(S)}`}case"patternRequired":{const{params:k,parentSchema:S}=E;const{missingPattern:N}=k;return`${w} should have property matching pattern ${JSON.stringify(N)}${getSchemaNonTypes(S)}.${this.getSchemaPartDescription(S)}`}case"minLength":{const{params:k,parentSchema:S}=E;const{limit:N}=k;if(N===1){return`${w} should be an non-empty string${getSchemaNonTypes(S)}.${this.getSchemaPartDescription(S)}`}const j=N-1;return`${w} should be longer than ${j} character${j>1?"s":""}${getSchemaNonTypes(S)}.${this.getSchemaPartDescription(S)}`}case"minItems":{const{params:k,parentSchema:S}=E;const{limit:N}=k;if(N===1){return`${w} should be an non-empty array${getSchemaNonTypes(S)}.${this.getSchemaPartDescription(S)}`}return`${w} should not have fewer than ${N} items${getSchemaNonTypes(S)}.${this.getSchemaPartDescription(S)}`}case"minProperties":{const{params:k,parentSchema:S}=E;const{limit:N}=k;if(N===1){return`${w} should be an non-empty object${getSchemaNonTypes(S)}.${this.getSchemaPartDescription(S)}`}return`${w} should not have fewer than ${N} properties${getSchemaNonTypes(S)}.${this.getSchemaPartDescription(S)}`}case"maxLength":{const{params:k,parentSchema:S}=E;const{limit:N}=k;const j=N+1;return`${w} should be shorter than ${j} character${j>1?"s":""}${getSchemaNonTypes(S)}.${this.getSchemaPartDescription(S)}`}case"maxItems":{const{params:k,parentSchema:S}=E;const{limit:N}=k;return`${w} should not have more than ${N} items${getSchemaNonTypes(S)}.${this.getSchemaPartDescription(S)}`}case"maxProperties":{const{params:k,parentSchema:S}=E;const{limit:N}=k;return`${w} should not have more than ${N} properties${getSchemaNonTypes(S)}.${this.getSchemaPartDescription(S)}`}case"uniqueItems":{const{params:k,parentSchema:S}=E;const{i:N}=k;return`${w} should not contain the item '${E.data[N]}' twice${getSchemaNonTypes(S)}.${this.getSchemaPartDescription(S)}`}case"additionalItems":{const{params:k,parentSchema:S}=E;const{limit:N}=k;return`${w} should not have more than ${N} items${getSchemaNonTypes(S)}. These items are valid:\n${this.getSchemaPartText(S)}`}case"contains":{const{parentSchema:k}=E;return`${w} should contains at least one ${this.getSchemaPartText(k,["contains"])} item${getSchemaNonTypes(k)}.`}case"required":{const{parentSchema:k,params:S}=E;const N=S.missingProperty.replace(/^\./,"");const j=k&&Boolean(k.properties&&k.properties[N]);return`${w} misses the property '${N}'${getSchemaNonTypes(k)}.${j?` Should be:\n${this.getSchemaPartText(k,["properties",N])}`:this.getSchemaPartDescription(k)}`}case"additionalProperties":{const{params:k,parentSchema:S}=E;const{additionalProperty:N}=k;return`${w} has an unknown property '${N}'${getSchemaNonTypes(S)}. These properties are valid:\n${this.getSchemaPartText(S)}`}case"dependencies":{const{params:k,parentSchema:S}=E;const{property:N,deps:j}=k;const q=j.split(",").map((E=>`'${E.trim()}'`)).join(", ");return`${w} should have properties ${q} when property '${N}' is present${getSchemaNonTypes(S)}.${this.getSchemaPartDescription(S)}`}case"propertyNames":{const{params:k,parentSchema:S,schema:N}=E;const{propertyName:j}=k;return`${w} property name '${j}' is invalid${getSchemaNonTypes(S)}. Property names should be match format ${JSON.stringify(N.format)}.${this.getSchemaPartDescription(S)}`}case"enum":{const{parentSchema:k}=E;if(k&&k.enum&&k.enum.length===1){return`${w} should be ${this.getSchemaPartText(k,false,true)}`}return`${w} should be one of these:\n${this.getSchemaPartText(k)}`}case"const":{const{parentSchema:k}=E;return`${w} should be equal to constant ${this.getSchemaPartText(k,false,true)}`}case"not":{const k=likeObject(E.parentSchema)?`\n${this.getSchemaPartText(E.parentSchema)}`:"";const S=this.getSchemaPartText(E.schema,false,false,false);if(canApplyNot(E.schema)){return`${w} should be any ${S}${k}.`}const{schema:N,parentSchema:j}=E;return`${w} should not be ${this.getSchemaPartText(N,false,true)}${j&&likeObject(j)?`\n${this.getSchemaPartText(j)}`:""}`}case"oneOf":case"anyOf":{const{parentSchema:k,children:S}=E;if(S&&S.length>0){if(E.schema.length===1){const E=S[S.length-1];const w=S.slice(0,S.length-1);return this.formatValidationError(Object.assign({},E,{children:w,parentSchema:Object.assign({},k,E.parentSchema)}))}let N=filterChildren(S);if(N.length===1){return this.formatValidationError(N[0])}N=groupChildrenByFirstChild(N);return`${w} should be one of these:\n${this.getSchemaPartText(k)}\nDetails:\n${N.map((E=>` * ${indent(this.formatValidationError(E)," ")}`)).join("\n")}`}return`${w} should be one of these:\n${this.getSchemaPartText(k)}`}case"if":{const{params:k,parentSchema:S}=E;const{failingKeyword:N}=k;return`${w} should match "${N}" schema:\n${this.getSchemaPartText(S,[N])}`}case"absolutePath":{const{message:k,parentSchema:S}=E;return`${w}: ${k}${this.getSchemaPartDescription(S)}`}default:{const{message:k,parentSchema:S}=E;const N=JSON.stringify(E,null,2);return`${w} ${k} (${N}).\n${this.getSchemaPartText(S,false)}`}}}formatValidationErrors(E){return E.map((E=>{let k=this.formatValidationError(E);if(this.postFormatter){k=this.postFormatter(k,E)}return` - ${indent(k," ")}`})).join("\n")}}var q=ValidationError;k.default=q},15235:(E,k,S)=>{"use strict";const{validate:w,ValidationError:N}=S(18110);E.exports={validate:w,ValidationError:N}},77102:(E,k)=>{"use strict";Object.defineProperty(k,"__esModule",{value:true});k.default=void 0;function errorMessage(E,k,S){return{dataPath:undefined,schemaPath:undefined,keyword:"absolutePath",params:{absolutePath:S},message:E,parentSchema:k}}function getErrorFor(E,k,S){const w=E?`The provided value ${JSON.stringify(S)} is not an absolute path!`:`A relative path is expected. However, the provided value ${JSON.stringify(S)} is an absolute path!`;return errorMessage(w,k,S)}function addAbsolutePathKeyword(E){E.addKeyword("absolutePath",{errors:true,type:"string",compile(E,k){const callback=S=>{let w=true;const N=S.includes("!");if(N){callback.errors=[errorMessage(`The provided value ${JSON.stringify(S)} contains exclamation mark (!) which is not allowed because it's reserved for loader syntax.`,k,S)];w=false}const j=E===/^(?:[A-Za-z]:(\\|\/)|\\\\|\/)/.test(S);if(!j){callback.errors=[getErrorFor(E,k,S)];w=false}return w};callback.errors=[];return callback}});return E}var S=addAbsolutePathKeyword;k.default=S},95855:E=>{"use strict";class Range{static getOperator(E,k){if(E==="left"){return k?">":">="}return k?"<":"<="}static formatRight(E,k,S){if(k===false){return Range.formatLeft(E,!k,!S)}return`should be ${Range.getOperator("right",S)} ${E}`}static formatLeft(E,k,S){if(k===false){return Range.formatRight(E,!k,!S)}return`should be ${Range.getOperator("left",S)} ${E}`}static formatRange(E,k,S,w,N){let j="should be";j+=` ${Range.getOperator(N?"left":"right",N?S:!S)} ${E} `;j+=N?"and":"or";j+=` ${Range.getOperator(N?"right":"left",N?w:!w)} ${k}`;return j}static getRangeValue(E,k){let S=k?Infinity:-Infinity;let w=-1;const N=k?([E])=>E<=S:([E])=>E>=S;for(let k=0;k-1){return E[w]}return[Infinity,true]}constructor(){this._left=[];this._right=[]}left(E,k=false){this._left.push([E,k])}right(E,k=false){this._right.push([E,k])}format(E=true){const[k,S]=Range.getRangeValue(this._left,E);const[w,N]=Range.getRangeValue(this._right,!E);if(!Number.isFinite(k)&&!Number.isFinite(w)){return""}const j=S?k+1:k;const q=N?w-1:w;if(j===q){return`should be ${E?"":"!"}= ${j}`}if(Number.isFinite(k)&&!Number.isFinite(w)){return Range.formatLeft(k,E,S)}if(!Number.isFinite(k)&&Number.isFinite(w)){return Range.formatRight(w,E,N)}return Range.formatRange(k,w,S,N,E)}}E.exports=Range},47961:(E,k,S)=>{"use strict";const w=S(95855);E.exports.stringHints=function stringHints(E,k){const S=[];let w="string";const N={...E};if(!k){const E=N.minLength;const k=N.formatMinimum;const S=N.formatExclusiveMaximum;N.minLength=N.maxLength;N.maxLength=E;N.formatMinimum=N.formatMaximum;N.formatMaximum=k;N.formatExclusiveMaximum=!N.formatExclusiveMinimum;N.formatExclusiveMinimum=!S}if(typeof N.minLength==="number"){if(N.minLength===1){w="non-empty string"}else{const E=Math.max(N.minLength-1,0);S.push(`should be longer than ${E} character${E>1?"s":""}`)}}if(typeof N.maxLength==="number"){if(N.maxLength===0){w="empty string"}else{const E=N.maxLength+1;S.push(`should be shorter than ${E} character${E>1?"s":""}`)}}if(N.pattern){S.push(`should${k?"":" not"} match pattern ${JSON.stringify(N.pattern)}`)}if(N.format){S.push(`should${k?"":" not"} match format ${JSON.stringify(N.format)}`)}if(N.formatMinimum){S.push(`should be ${N.formatExclusiveMinimum?">":">="} ${JSON.stringify(N.formatMinimum)}`)}if(N.formatMaximum){S.push(`should be ${N.formatExclusiveMaximum?"<":"<="} ${JSON.stringify(N.formatMaximum)}`)}return[w].concat(S)};E.exports.numberHints=function numberHints(E,k){const S=[E.type==="integer"?"integer":"number"];const N=new w;if(typeof E.minimum==="number"){N.left(E.minimum)}if(typeof E.exclusiveMinimum==="number"){N.left(E.exclusiveMinimum,true)}if(typeof E.maximum==="number"){N.right(E.maximum)}if(typeof E.exclusiveMaximum==="number"){N.right(E.exclusiveMaximum,true)}const j=N.format(k);if(j){S.push(j)}if(typeof E.multipleOf==="number"){S.push(`should${k?"":" not"} be multiple of ${E.multipleOf}`)}return S}},18110:(E,k,S)=>{"use strict";Object.defineProperty(k,"__esModule",{value:true});k.validate=validate;Object.defineProperty(k,"ValidationError",{enumerable:true,get:function(){return N.default}});var w=_interopRequireDefault(S(77102));var N=_interopRequireDefault(S(24672));function _interopRequireDefault(E){return E&&E.__esModule?E:{default:E}}const j=S(33866);const q=S(35525);const ee=new j({allErrors:true,verbose:true,$data:true});q(ee,["instanceof","formatMinimum","formatMaximum","patternRequired"]);(0,w.default)(ee);function validate(E,k,S){let w=[];if(Array.isArray(k)){w=Array.from(k,(k=>validateObject(E,k)));w.forEach(((E,k)=>{const applyPrefix=E=>{E.dataPath=`[${k}]${E.dataPath}`;if(E.children){E.children.forEach(applyPrefix)}};E.forEach(applyPrefix)}));w=w.reduce(((E,k)=>{E.push(...k);return E}),[])}else{w=validateObject(E,k)}if(w.length>0){throw new N.default(w,E,S)}}function validateObject(E,k){const S=ee.compile(E);const w=S(k);if(w)return[];return S.errors?filterErrors(S.errors):[]}function filterErrors(E){let k=[];for(const S of E){const{dataPath:E}=S;let w=[];k=k.filter((k=>{if(k.dataPath.includes(E)){if(k.children){w=w.concat(k.children.slice(0))}k.children=undefined;w.push(k);return false}return true}));if(w.length){S.children=w}k.push(S)}return k}},27746:(E,k,S)=>{"use strict";const w=S(1226).y;const N=S(1226).P;class CodeNode{constructor(E){this.generatedCode=E}clone(){return new CodeNode(this.generatedCode)}getGeneratedCode(){return this.generatedCode}getMappings(E){const k=w(this.generatedCode);const S=Array(k+1).join(";");if(k>0){E.unfinishedGeneratedLine=N(this.generatedCode);if(E.unfinishedGeneratedLine>0){return S+"A"}else{return S}}else{const k=E.unfinishedGeneratedLine;E.unfinishedGeneratedLine+=N(this.generatedCode);if(k===0&&E.unfinishedGeneratedLine>0){return"A"}else{return""}}}addGeneratedCode(E){this.generatedCode+=E}mapGeneratedCode(E){const k=E(this.generatedCode);return new CodeNode(k)}getNormalizedNodes(){return[this]}merge(E){if(E instanceof CodeNode){this.generatedCode+=E.generatedCode;return this}return false}}E.exports=CodeNode},30047:E=>{"use strict";class MappingsContext{constructor(){this.sourcesIndices=new Map;this.sourcesContent=new Map;this.hasSourceContent=false;this.currentOriginalLine=1;this.currentSource=0;this.unfinishedGeneratedLine=false}ensureSource(E,k){let S=this.sourcesIndices.get(E);if(typeof S==="number"){return S}S=this.sourcesIndices.size;this.sourcesIndices.set(E,S);this.sourcesContent.set(E,k);if(typeof k==="string")this.hasSourceContent=true;return S}getArrays(){const E=[];const k=[];for(const S of this.sourcesContent){E.push(S[0]);k.push(S[1])}return{sources:E,sourcesContent:k}}}E.exports=MappingsContext},86979:(E,k,S)=>{"use strict";const w=S(37788);const N=S(1226).y;const j=S(1226).P;const q=";AAAA";class SingleLineNode{constructor(E,k,S,w){this.generatedCode=E;this.originalSource=S;this.source=k;this.line=w||1;this._numberOfLines=N(this.generatedCode);this._endsWithNewLine=E[E.length-1]==="\n"}clone(){return new SingleLineNode(this.generatedCode,this.source,this.originalSource,this.line)}getGeneratedCode(){return this.generatedCode}getMappings(E){if(!this.generatedCode)return"";const k=this._numberOfLines;const S=E.ensureSource(this.source,this.originalSource);let N="A";if(E.unfinishedGeneratedLine)N=","+w.encode(E.unfinishedGeneratedLine);N+=w.encode(S-E.currentSource);N+=w.encode(this.line-E.currentOriginalLine);N+="A";E.currentSource=S;E.currentOriginalLine=this.line;const ee=E.unfinishedGeneratedLine=j(this.generatedCode);N+=Array(k).join(q);if(ee===0){N+=";"}else{if(k!==0)N+=q}return N}getNormalizedNodes(){return[this]}mapGeneratedCode(E){const k=E(this.generatedCode);return new SingleLineNode(k,this.source,this.originalSource,this.line)}merge(E){if(E instanceof SingleLineNode){return this.mergeSingleLineNode(E)}return false}mergeSingleLineNode(E){if(this.source===E.source&&this.originalSource===E.originalSource){if(this.line===E.line){this.generatedCode+=E.generatedCode;this._numberOfLines+=E._numberOfLines;this._endsWithNewLine=E._endsWithNewLine;return this}else if(this.line+1===E.line&&this._endsWithNewLine&&this._numberOfLines===1&&E._numberOfLines<=1){return new ee(this.generatedCode+E.generatedCode,this.source,this.originalSource,this.line)}}return false}}E.exports=SingleLineNode;const ee=S(49043)},53273:(E,k,S)=>{"use strict";const w=S(27746);const N=S(49043);const j=S(30047);const q=S(1226).y;class SourceListMap{constructor(E,k,S){if(Array.isArray(E)){this.children=E}else{this.children=[];if(E||k)this.add(E,k,S)}}add(E,k,S){if(typeof E==="string"){if(k){this.children.push(new N(E,k,S))}else if(this.children.length>0&&this.children[this.children.length-1]instanceof w){this.children[this.children.length-1].addGeneratedCode(E)}else{this.children.push(new w(E))}}else if(E.getMappings&&E.getGeneratedCode){this.children.push(E)}else if(E.children){E.children.forEach((function(E){this.children.push(E)}),this)}else{throw new Error("Invalid arguments to SourceListMap.protfotype.add: Expected string, Node or SourceListMap")}}preprend(E,k,S){if(typeof E==="string"){if(k){this.children.unshift(new N(E,k,S))}else if(this.children.length>0&&this.children[this.children.length-1].preprendGeneratedCode){this.children[this.children.length-1].preprendGeneratedCode(E)}else{this.children.unshift(new w(E))}}else if(E.getMappings&&E.getGeneratedCode){this.children.unshift(E)}else if(E.children){E.children.slice().reverse().forEach((function(E){this.children.unshift(E)}),this)}else{throw new Error("Invalid arguments to SourceListMap.protfotype.prerend: Expected string, Node or SourceListMap")}}mapGeneratedCode(E){const k=[];this.children.forEach((function(E){E.getNormalizedNodes().forEach((function(E){k.push(E)}))}));const S=[];k.forEach((function(k){k=k.mapGeneratedCode(E);if(S.length===0){S.push(k)}else{const E=S[S.length-1];const w=E.merge(k);if(w){S[S.length-1]=w}else{S.push(k)}}}));return new SourceListMap(S)}toString(){return this.children.map((function(E){return E.getGeneratedCode()})).join("")}toStringWithSourceMap(E){const k=new j;const S=this.children.map((function(E){return E.getGeneratedCode()})).join("");const w=this.children.map((function(E){return E.getMappings(k)})).join("");const N=k.getArrays();return{source:S,map:{version:3,file:E&&E.file,sources:N.sources,sourcesContent:k.hasSourceContent?N.sourcesContent:undefined,mappings:w}}}}E.exports=SourceListMap},49043:(E,k,S)=>{"use strict";const w=S(37788);const N=S(1226).y;const j=S(1226).P;const q=";AACA";class SourceNode{constructor(E,k,S,w){this.generatedCode=E;this.originalSource=S;this.source=k;this.startingLine=w||1;this._numberOfLines=N(this.generatedCode);this._endsWithNewLine=E[E.length-1]==="\n"}clone(){return new SourceNode(this.generatedCode,this.source,this.originalSource,this.startingLine)}getGeneratedCode(){return this.generatedCode}addGeneratedCode(E){this.generatedCode+=E;this._numberOfLines+=N(E);this._endsWithNewLine=E[E.length-1]==="\n"}getMappings(E){if(!this.generatedCode)return"";const k=this._numberOfLines;const S=E.ensureSource(this.source,this.originalSource);let N="A";if(E.unfinishedGeneratedLine)N=","+w.encode(E.unfinishedGeneratedLine);N+=w.encode(S-E.currentSource);N+=w.encode(this.startingLine-E.currentOriginalLine);N+="A";E.currentSource=S;E.currentOriginalLine=this.startingLine+k-1;const ee=E.unfinishedGeneratedLine=j(this.generatedCode);N+=Array(k).join(q);if(ee===0){N+=";"}else{if(k!==0){N+=q}E.currentOriginalLine++}return N}mapGeneratedCode(E){throw new Error("Cannot map generated code on a SourceMap. Normalize to SingleLineNode first.")}getNormalizedNodes(){var E=[];var k=this.startingLine;var S=this.generatedCode;var w=0;var N=S.length;while(w{var S={};var w={};"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/".split("").forEach((function(E,k){S[E]=k;w[k]=E}));var N={};N.encode=function base64_encode(E){if(E in w){return w[E]}throw new TypeError("Must be between 0 and 63: "+E)};N.decode=function base64_decode(E){if(E in S){return S[E]}throw new TypeError("Not a valid base 64 digit: "+E)};var j=5;var q=1<>1;return k?-S:S}k.encode=function base64VLQ_encode(E){var k="";var S;var w=toVLQSigned(E);do{S=wⅇw>>>=j;if(w>0){S|=te}k+=N.encode(S)}while(w>0);return k};k.decode=function base64VLQ_decode(E,k){var S=0;var w=E.length;var q=0;var ne=0;var ae,_e;do{if(S>=w){throw new Error("Expected more digits in base 64 VLQ value.")}_e=N.decode(E.charAt(S++));ae=!!(_e&te);_e&=ee;q=q+(_e<{"use strict";const w=S(37788);const N=S(49043);const j=S(27746);const q=S(53273);E.exports=function fromStringWithSourceMap(E,k){const S=k.sources;const ee=k.sourcesContent;const te=k.mappings.split(";");const ne=E.split("\n");const ae=[];let _e=null;let ve=1;let Ee=0;let we;function addCode(E){if(_e&&_e instanceof j){_e.addGeneratedCode(E)}else if(_e&&_e instanceof N&&!E.trim()){_e.addGeneratedCode(E);we++}else{_e=new j(E);ae.push(_e)}}function addSource(E,k,S,w){if(_e&&_e instanceof N&&_e.source===k&&we===w){_e.addGeneratedCode(E);we++}else{_e=new N(E,k,S,w);we=w+1;ae.push(_e)}}te.forEach((function(E,k){let S=ne[k];if(typeof S==="undefined")return;if(k!==ne.length-1)S+="\n";if(!E)return addCode(S);E={value:0,rest:E};let w=false;while(E.rest)w=processMapping(E,S,w)||w;if(!w)addCode(S)}));if(te.length{"use strict";k.y=function getNumberOfLines(E){let k=-1;let S=-1;do{k++;S=E.indexOf("\n",S+1)}while(S>=0);return k};k.P=function getUnfinishedLine(E){const k=E.lastIndexOf("\n");if(k===-1)return E.length;else return E.length-k-1}},6900:(E,k,S)=>{k.SourceListMap=S(53273);k.SourceNode=S(49043);k.SingleLineNode=S(86979);k.CodeNode=S(27746);k.MappingsContext=S(30047);k.fromStringWithSourceMap=S(88494)},26837:(E,k,S)=>{var w=S(31983);var N=Object.prototype.hasOwnProperty;var j=typeof Map!=="undefined";function ArraySet(){this._array=[];this._set=j?new Map:Object.create(null)}ArraySet.fromArray=function ArraySet_fromArray(E,k){var S=new ArraySet;for(var w=0,N=E.length;w=0){return k}}else{var S=w.toSetString(E);if(N.call(this._set,S)){return this._set[S]}}throw new Error('"'+E+'" is not in the set.')};ArraySet.prototype.at=function ArraySet_at(E){if(E>=0&&E{var w=S(96537);var N=5;var j=1<>1;return k?-S:S}k.encode=function base64VLQ_encode(E){var k="";var S;var j=toVLQSigned(E);do{S=j&q;j>>>=N;if(j>0){S|=ee}k+=w.encode(S)}while(j>0);return k};k.decode=function base64VLQ_decode(E,k,S){var j=E.length;var te=0;var ne=0;var ae,_e;do{if(k>=j){throw new Error("Expected more digits in base 64 VLQ value.")}_e=w.decode(E.charCodeAt(k++));if(_e===-1){throw new Error("Invalid base64 digit: "+E.charAt(k-1))}ae=!!(_e&ee);_e&=q;te=te+(_e<{var S="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/".split("");k.encode=function(E){if(0<=E&&E{k.GREATEST_LOWER_BOUND=1;k.LEAST_UPPER_BOUND=2;function recursiveSearch(E,S,w,N,j,q){var ee=Math.floor((S-E)/2)+E;var te=j(w,N[ee],true);if(te===0){return ee}else if(te>0){if(S-ee>1){return recursiveSearch(ee,S,w,N,j,q)}if(q==k.LEAST_UPPER_BOUND){return S1){return recursiveSearch(E,ee,w,N,j,q)}if(q==k.LEAST_UPPER_BOUND){return ee}else{return E<0?-1:E}}}k.search=function search(E,S,w,N){if(S.length===0){return-1}var j=recursiveSearch(-1,S.length,E,S,w,N||k.GREATEST_LOWER_BOUND);if(j<0){return-1}while(j-1>=0){if(w(S[j],S[j-1],true)!==0){break}--j}return j}},91740:(E,k,S)=>{var w=S(31983);function generatedPositionAfter(E,k){var S=E.generatedLine;var N=k.generatedLine;var j=E.generatedColumn;var q=k.generatedColumn;return N>S||N==S&&q>=j||w.compareByGeneratedPositionsInflated(E,k)<=0}function MappingList(){this._array=[];this._sorted=true;this._last={generatedLine:-1,generatedColumn:0}}MappingList.prototype.unsortedForEach=function MappingList_forEach(E,k){this._array.forEach(E,k)};MappingList.prototype.add=function MappingList_add(E){if(generatedPositionAfter(this._last,E)){this._last=E;this._array.push(E)}else{this._sorted=false;this._array.push(E)}};MappingList.prototype.toArray=function MappingList_toArray(){if(!this._sorted){this._array.sort(w.compareByGeneratedPositionsInflated);this._sorted=true}return this._array};k.H=MappingList},68226:(E,k)=>{function swap(E,k,S){var w=E[k];E[k]=E[S];E[S]=w}function randomIntInRange(E,k){return Math.round(E+Math.random()*(k-E))}function doQuickSort(E,k,S,w){if(S{var w;var N=S(31983);var j=S(53164);var q=S(26837).I;var ee=S(4215);var te=S(68226).U;function SourceMapConsumer(E,k){var S=E;if(typeof E==="string"){S=N.parseSourceMapInput(E)}return S.sections!=null?new IndexedSourceMapConsumer(S,k):new BasicSourceMapConsumer(S,k)}SourceMapConsumer.fromSourceMap=function(E,k){return BasicSourceMapConsumer.fromSourceMap(E,k)};SourceMapConsumer.prototype._version=3;SourceMapConsumer.prototype.__generatedMappings=null;Object.defineProperty(SourceMapConsumer.prototype,"_generatedMappings",{configurable:true,enumerable:true,get:function(){if(!this.__generatedMappings){this._parseMappings(this._mappings,this.sourceRoot)}return this.__generatedMappings}});SourceMapConsumer.prototype.__originalMappings=null;Object.defineProperty(SourceMapConsumer.prototype,"_originalMappings",{configurable:true,enumerable:true,get:function(){if(!this.__originalMappings){this._parseMappings(this._mappings,this.sourceRoot)}return this.__originalMappings}});SourceMapConsumer.prototype._charIsMappingSeparator=function SourceMapConsumer_charIsMappingSeparator(E,k){var S=E.charAt(k);return S===";"||S===","};SourceMapConsumer.prototype._parseMappings=function SourceMapConsumer_parseMappings(E,k){throw new Error("Subclasses must implement _parseMappings")};SourceMapConsumer.GENERATED_ORDER=1;SourceMapConsumer.ORIGINAL_ORDER=2;SourceMapConsumer.GREATEST_LOWER_BOUND=1;SourceMapConsumer.LEAST_UPPER_BOUND=2;SourceMapConsumer.prototype.eachMapping=function SourceMapConsumer_eachMapping(E,k,S){var w=k||null;var j=S||SourceMapConsumer.GENERATED_ORDER;var q;switch(j){case SourceMapConsumer.GENERATED_ORDER:q=this._generatedMappings;break;case SourceMapConsumer.ORIGINAL_ORDER:q=this._originalMappings;break;default:throw new Error("Unknown order of iteration.")}var ee=this.sourceRoot;q.map((function(E){var k=E.source===null?null:this._sources.at(E.source);k=N.computeSourceURL(ee,k,this._sourceMapURL);return{source:k,generatedLine:E.generatedLine,generatedColumn:E.generatedColumn,originalLine:E.originalLine,originalColumn:E.originalColumn,name:E.name===null?null:this._names.at(E.name)}}),this).forEach(E,w)};SourceMapConsumer.prototype.allGeneratedPositionsFor=function SourceMapConsumer_allGeneratedPositionsFor(E){var k=N.getArg(E,"line");var S={source:N.getArg(E,"source"),originalLine:k,originalColumn:N.getArg(E,"column",0)};S.source=this._findSourceIndex(S.source);if(S.source<0){return[]}var w=[];var q=this._findMapping(S,this._originalMappings,"originalLine","originalColumn",N.compareByOriginalPositions,j.LEAST_UPPER_BOUND);if(q>=0){var ee=this._originalMappings[q];if(E.column===undefined){var te=ee.originalLine;while(ee&&ee.originalLine===te){w.push({line:N.getArg(ee,"generatedLine",null),column:N.getArg(ee,"generatedColumn",null),lastColumn:N.getArg(ee,"lastGeneratedColumn",null)});ee=this._originalMappings[++q]}}else{var ne=ee.originalColumn;while(ee&&ee.originalLine===k&&ee.originalColumn==ne){w.push({line:N.getArg(ee,"generatedLine",null),column:N.getArg(ee,"generatedColumn",null),lastColumn:N.getArg(ee,"lastGeneratedColumn",null)});ee=this._originalMappings[++q]}}}return w};k.SourceMapConsumer=SourceMapConsumer;function BasicSourceMapConsumer(E,k){var S=E;if(typeof E==="string"){S=N.parseSourceMapInput(E)}var w=N.getArg(S,"version");var j=N.getArg(S,"sources");var ee=N.getArg(S,"names",[]);var te=N.getArg(S,"sourceRoot",null);var ne=N.getArg(S,"sourcesContent",null);var ae=N.getArg(S,"mappings");var _e=N.getArg(S,"file",null);if(w!=this._version){throw new Error("Unsupported version: "+w)}if(te){te=N.normalize(te)}j=j.map(String).map(N.normalize).map((function(E){return te&&N.isAbsolute(te)&&N.isAbsolute(E)?N.relative(te,E):E}));this._names=q.fromArray(ee.map(String),true);this._sources=q.fromArray(j,true);this._absoluteSources=this._sources.toArray().map((function(E){return N.computeSourceURL(te,E,k)}));this.sourceRoot=te;this.sourcesContent=ne;this._mappings=ae;this._sourceMapURL=k;this.file=_e}BasicSourceMapConsumer.prototype=Object.create(SourceMapConsumer.prototype);BasicSourceMapConsumer.prototype.consumer=SourceMapConsumer;BasicSourceMapConsumer.prototype._findSourceIndex=function(E){var k=E;if(this.sourceRoot!=null){k=N.relative(this.sourceRoot,k)}if(this._sources.has(k)){return this._sources.indexOf(k)}var S;for(S=0;S1){Te.source=ne+Oe[1];ne+=Oe[1];Te.originalLine=j+Oe[2];j=Te.originalLine;Te.originalLine+=1;Te.originalColumn=q+Oe[3];q=Te.originalColumn;if(Oe.length>4){Te.name=ae+Oe[4];ae+=Oe[4]}}Me.push(Te);if(typeof Te.originalLine==="number"){Ce.push(Te)}}}te(Me,N.compareByGeneratedPositionsDeflated);this.__generatedMappings=Me;te(Ce,N.compareByOriginalPositions);this.__originalMappings=Ce};BasicSourceMapConsumer.prototype._findMapping=function SourceMapConsumer_findMapping(E,k,S,w,N,q){if(E[S]<=0){throw new TypeError("Line must be greater than or equal to 1, got "+E[S])}if(E[w]<0){throw new TypeError("Column must be greater than or equal to 0, got "+E[w])}return j.search(E,k,N,q)};BasicSourceMapConsumer.prototype.computeColumnSpans=function SourceMapConsumer_computeColumnSpans(){for(var E=0;E=0){var w=this._generatedMappings[S];if(w.generatedLine===k.generatedLine){var j=N.getArg(w,"source",null);if(j!==null){j=this._sources.at(j);j=N.computeSourceURL(this.sourceRoot,j,this._sourceMapURL)}var q=N.getArg(w,"name",null);if(q!==null){q=this._names.at(q)}return{source:j,line:N.getArg(w,"originalLine",null),column:N.getArg(w,"originalColumn",null),name:q}}}return{source:null,line:null,column:null,name:null}};BasicSourceMapConsumer.prototype.hasContentsOfAllSources=function BasicSourceMapConsumer_hasContentsOfAllSources(){if(!this.sourcesContent){return false}return this.sourcesContent.length>=this._sources.size()&&!this.sourcesContent.some((function(E){return E==null}))};BasicSourceMapConsumer.prototype.sourceContentFor=function SourceMapConsumer_sourceContentFor(E,k){if(!this.sourcesContent){return null}var S=this._findSourceIndex(E);if(S>=0){return this.sourcesContent[S]}var w=E;if(this.sourceRoot!=null){w=N.relative(this.sourceRoot,w)}var j;if(this.sourceRoot!=null&&(j=N.urlParse(this.sourceRoot))){var q=w.replace(/^file:\/\//,"");if(j.scheme=="file"&&this._sources.has(q)){return this.sourcesContent[this._sources.indexOf(q)]}if((!j.path||j.path=="/")&&this._sources.has("/"+w)){return this.sourcesContent[this._sources.indexOf("/"+w)]}}if(k){return null}else{throw new Error('"'+w+'" is not in the SourceMap.')}};BasicSourceMapConsumer.prototype.generatedPositionFor=function SourceMapConsumer_generatedPositionFor(E){var k=N.getArg(E,"source");k=this._findSourceIndex(k);if(k<0){return{line:null,column:null,lastColumn:null}}var S={source:k,originalLine:N.getArg(E,"line"),originalColumn:N.getArg(E,"column")};var w=this._findMapping(S,this._originalMappings,"originalLine","originalColumn",N.compareByOriginalPositions,N.getArg(E,"bias",SourceMapConsumer.GREATEST_LOWER_BOUND));if(w>=0){var j=this._originalMappings[w];if(j.source===S.source){return{line:N.getArg(j,"generatedLine",null),column:N.getArg(j,"generatedColumn",null),lastColumn:N.getArg(j,"lastGeneratedColumn",null)}}}return{line:null,column:null,lastColumn:null}};w=BasicSourceMapConsumer;function IndexedSourceMapConsumer(E,k){var S=E;if(typeof E==="string"){S=N.parseSourceMapInput(E)}var w=N.getArg(S,"version");var j=N.getArg(S,"sections");if(w!=this._version){throw new Error("Unsupported version: "+w)}this._sources=new q;this._names=new q;var ee={line:-1,column:0};this._sections=j.map((function(E){if(E.url){throw new Error("Support for url field in sections not implemented.")}var S=N.getArg(E,"offset");var w=N.getArg(S,"line");var j=N.getArg(S,"column");if(w{var w=S(4215);var N=S(31983);var j=S(26837).I;var q=S(91740).H;function SourceMapGenerator(E){if(!E){E={}}this._file=N.getArg(E,"file",null);this._sourceRoot=N.getArg(E,"sourceRoot",null);this._skipValidation=N.getArg(E,"skipValidation",false);this._sources=new j;this._names=new j;this._mappings=new q;this._sourcesContents=null}SourceMapGenerator.prototype._version=3;SourceMapGenerator.fromSourceMap=function SourceMapGenerator_fromSourceMap(E){var k=E.sourceRoot;var S=new SourceMapGenerator({file:E.file,sourceRoot:k});E.eachMapping((function(E){var w={generated:{line:E.generatedLine,column:E.generatedColumn}};if(E.source!=null){w.source=E.source;if(k!=null){w.source=N.relative(k,w.source)}w.original={line:E.originalLine,column:E.originalColumn};if(E.name!=null){w.name=E.name}}S.addMapping(w)}));E.sources.forEach((function(w){var j=w;if(k!==null){j=N.relative(k,w)}if(!S._sources.has(j)){S._sources.add(j)}var q=E.sourceContentFor(w);if(q!=null){S.setSourceContent(w,q)}}));return S};SourceMapGenerator.prototype.addMapping=function SourceMapGenerator_addMapping(E){var k=N.getArg(E,"generated");var S=N.getArg(E,"original",null);var w=N.getArg(E,"source",null);var j=N.getArg(E,"name",null);if(!this._skipValidation){this._validateMapping(k,S,w,j)}if(w!=null){w=String(w);if(!this._sources.has(w)){this._sources.add(w)}}if(j!=null){j=String(j);if(!this._names.has(j)){this._names.add(j)}}this._mappings.add({generatedLine:k.line,generatedColumn:k.column,originalLine:S!=null&&S.line,originalColumn:S!=null&&S.column,source:w,name:j})};SourceMapGenerator.prototype.setSourceContent=function SourceMapGenerator_setSourceContent(E,k){var S=E;if(this._sourceRoot!=null){S=N.relative(this._sourceRoot,S)}if(k!=null){if(!this._sourcesContents){this._sourcesContents=Object.create(null)}this._sourcesContents[N.toSetString(S)]=k}else if(this._sourcesContents){delete this._sourcesContents[N.toSetString(S)];if(Object.keys(this._sourcesContents).length===0){this._sourcesContents=null}}};SourceMapGenerator.prototype.applySourceMap=function SourceMapGenerator_applySourceMap(E,k,S){var w=k;if(k==null){if(E.file==null){throw new Error("SourceMapGenerator.prototype.applySourceMap requires either an explicit source file, "+'or the source map\'s "file" property. Both were omitted.')}w=E.file}var q=this._sourceRoot;if(q!=null){w=N.relative(q,w)}var ee=new j;var te=new j;this._mappings.unsortedForEach((function(k){if(k.source===w&&k.originalLine!=null){var j=E.originalPositionFor({line:k.originalLine,column:k.originalColumn});if(j.source!=null){k.source=j.source;if(S!=null){k.source=N.join(S,k.source)}if(q!=null){k.source=N.relative(q,k.source)}k.originalLine=j.line;k.originalColumn=j.column;if(j.name!=null){k.name=j.name}}}var ne=k.source;if(ne!=null&&!ee.has(ne)){ee.add(ne)}var ae=k.name;if(ae!=null&&!te.has(ae)){te.add(ae)}}),this);this._sources=ee;this._names=te;E.sources.forEach((function(k){var w=E.sourceContentFor(k);if(w!=null){if(S!=null){k=N.join(S,k)}if(q!=null){k=N.relative(q,k)}this.setSourceContent(k,w)}}),this)};SourceMapGenerator.prototype._validateMapping=function SourceMapGenerator_validateMapping(E,k,S,w){if(k&&typeof k.line!=="number"&&typeof k.column!=="number"){throw new Error("original.line and original.column are not numbers -- you probably meant to omit "+"the original mapping entirely and only map the generated position. If so, pass "+"null for the original mapping instead of an object with empty or null values.")}if(E&&"line"in E&&"column"in E&&E.line>0&&E.column>=0&&!k&&!S&&!w){return}else if(E&&"line"in E&&"column"in E&&k&&"line"in k&&"column"in k&&E.line>0&&E.column>=0&&k.line>0&&k.column>=0&&S){return}else{throw new Error("Invalid mapping: "+JSON.stringify({generated:E,source:S,original:k,name:w}))}};SourceMapGenerator.prototype._serializeMappings=function SourceMapGenerator_serializeMappings(){var E=0;var k=1;var S=0;var j=0;var q=0;var ee=0;var te="";var ne;var ae;var _e;var ve;var Ee=this._mappings.toArray();for(var we=0,Ce=Ee.length;we0){if(!N.compareByGeneratedPositionsInflated(ae,Ee[we-1])){continue}ne+=","}}ne+=w.encode(ae.generatedColumn-E);E=ae.generatedColumn;if(ae.source!=null){ve=this._sources.indexOf(ae.source);ne+=w.encode(ve-ee);ee=ve;ne+=w.encode(ae.originalLine-1-j);j=ae.originalLine-1;ne+=w.encode(ae.originalColumn-S);S=ae.originalColumn;if(ae.name!=null){_e=this._names.indexOf(ae.name);ne+=w.encode(_e-q);q=_e}}te+=ne}return te};SourceMapGenerator.prototype._generateSourcesContent=function SourceMapGenerator_generateSourcesContent(E,k){return E.map((function(E){if(!this._sourcesContents){return null}if(k!=null){E=N.relative(k,E)}var S=N.toSetString(E);return Object.prototype.hasOwnProperty.call(this._sourcesContents,S)?this._sourcesContents[S]:null}),this)};SourceMapGenerator.prototype.toJSON=function SourceMapGenerator_toJSON(){var E={version:this._version,sources:this._sources.toArray(),names:this._names.toArray(),mappings:this._serializeMappings()};if(this._file!=null){E.file=this._file}if(this._sourceRoot!=null){E.sourceRoot=this._sourceRoot}if(this._sourcesContents){E.sourcesContent=this._generateSourcesContent(E.sources,E.sourceRoot)}return E};SourceMapGenerator.prototype.toString=function SourceMapGenerator_toString(){return JSON.stringify(this.toJSON())};k.SourceMapGenerator=SourceMapGenerator},9990:(E,k,S)=>{var w=S(11341).SourceMapGenerator;var N=S(31983);var j=/(\r?\n)/;var q=10;var ee="$$$isSourceNode$$$";function SourceNode(E,k,S,w,N){this.children=[];this.sourceContents={};this.line=E==null?null:E;this.column=k==null?null:k;this.source=S==null?null:S;this.name=N==null?null:N;this[ee]=true;if(w!=null)this.add(w)}SourceNode.fromStringWithSourceMap=function SourceNode_fromStringWithSourceMap(E,k,S){var w=new SourceNode;var q=E.split(j);var ee=0;var shiftNextLine=function(){var E=getNextLine();var k=getNextLine()||"";return E+k;function getNextLine(){return ee=0;k--){this.prepend(E[k])}}else if(E[ee]||typeof E==="string"){this.children.unshift(E)}else{throw new TypeError("Expected a SourceNode, string, or an array of SourceNodes and strings. Got "+E)}return this};SourceNode.prototype.walk=function SourceNode_walk(E){var k;for(var S=0,w=this.children.length;S0){k=[];for(S=0;S{function getArg(E,k,S){if(k in E){return E[k]}else if(arguments.length===3){return S}else{throw new Error('"'+k+'" is a required argument.')}}k.getArg=getArg;var S=/^(?:([\w+\-.]+):)?\/\/(?:(\w+:\w+)@)?([\w.-]*)(?::(\d+))?(.*)$/;var w=/^data:.+\,.+$/;function urlParse(E){var k=E.match(S);if(!k){return null}return{scheme:k[1],auth:k[2],host:k[3],port:k[4],path:k[5]}}k.urlParse=urlParse;function urlGenerate(E){var k="";if(E.scheme){k+=E.scheme+":"}k+="//";if(E.auth){k+=E.auth+"@"}if(E.host){k+=E.host}if(E.port){k+=":"+E.port}if(E.path){k+=E.path}return k}k.urlGenerate=urlGenerate;function normalize(E){var S=E;var w=urlParse(E);if(w){if(!w.path){return E}S=w.path}var N=k.isAbsolute(S);var j=S.split(/\/+/);for(var q,ee=0,te=j.length-1;te>=0;te--){q=j[te];if(q==="."){j.splice(te,1)}else if(q===".."){ee++}else if(ee>0){if(q===""){j.splice(te+1,ee);ee=0}else{j.splice(te,2);ee--}}}S=j.join("/");if(S===""){S=N?"/":"."}if(w){w.path=S;return urlGenerate(w)}return S}k.normalize=normalize;function join(E,k){if(E===""){E="."}if(k===""){k="."}var S=urlParse(k);var N=urlParse(E);if(N){E=N.path||"/"}if(S&&!S.scheme){if(N){S.scheme=N.scheme}return urlGenerate(S)}if(S||k.match(w)){return k}if(N&&!N.host&&!N.path){N.host=k;return urlGenerate(N)}var j=k.charAt(0)==="/"?k:normalize(E.replace(/\/+$/,"")+"/"+k);if(N){N.path=j;return urlGenerate(N)}return j}k.join=join;k.isAbsolute=function(E){return E.charAt(0)==="/"||S.test(E)};function relative(E,k){if(E===""){E="."}E=E.replace(/\/$/,"");var S=0;while(k.indexOf(E+"/")!==0){var w=E.lastIndexOf("/");if(w<0){return k}E=E.slice(0,w);if(E.match(/^([^\/]+:\/)?\/*$/)){return k}++S}return Array(S+1).join("../")+k.substr(E.length+1)}k.relative=relative;var N=function(){var E=Object.create(null);return!("__proto__"in E)}();function identity(E){return E}function toSetString(E){if(isProtoString(E)){return"$"+E}return E}k.toSetString=N?identity:toSetString;function fromSetString(E){if(isProtoString(E)){return E.slice(1)}return E}k.fromSetString=N?identity:fromSetString;function isProtoString(E){if(!E){return false}var k=E.length;if(k<9){return false}if(E.charCodeAt(k-1)!==95||E.charCodeAt(k-2)!==95||E.charCodeAt(k-3)!==111||E.charCodeAt(k-4)!==116||E.charCodeAt(k-5)!==111||E.charCodeAt(k-6)!==114||E.charCodeAt(k-7)!==112||E.charCodeAt(k-8)!==95||E.charCodeAt(k-9)!==95){return false}for(var S=k-10;S>=0;S--){if(E.charCodeAt(S)!==36){return false}}return true}function compareByOriginalPositions(E,k,S){var w=strcmp(E.source,k.source);if(w!==0){return w}w=E.originalLine-k.originalLine;if(w!==0){return w}w=E.originalColumn-k.originalColumn;if(w!==0||S){return w}w=E.generatedColumn-k.generatedColumn;if(w!==0){return w}w=E.generatedLine-k.generatedLine;if(w!==0){return w}return strcmp(E.name,k.name)}k.compareByOriginalPositions=compareByOriginalPositions;function compareByGeneratedPositionsDeflated(E,k,S){var w=E.generatedLine-k.generatedLine;if(w!==0){return w}w=E.generatedColumn-k.generatedColumn;if(w!==0||S){return w}w=strcmp(E.source,k.source);if(w!==0){return w}w=E.originalLine-k.originalLine;if(w!==0){return w}w=E.originalColumn-k.originalColumn;if(w!==0){return w}return strcmp(E.name,k.name)}k.compareByGeneratedPositionsDeflated=compareByGeneratedPositionsDeflated;function strcmp(E,k){if(E===k){return 0}if(E===null){return 1}if(k===null){return-1}if(E>k){return 1}return-1}function compareByGeneratedPositionsInflated(E,k){var S=E.generatedLine-k.generatedLine;if(S!==0){return S}S=E.generatedColumn-k.generatedColumn;if(S!==0){return S}S=strcmp(E.source,k.source);if(S!==0){return S}S=E.originalLine-k.originalLine;if(S!==0){return S}S=E.originalColumn-k.originalColumn;if(S!==0){return S}return strcmp(E.name,k.name)}k.compareByGeneratedPositionsInflated=compareByGeneratedPositionsInflated;function parseSourceMapInput(E){return JSON.parse(E.replace(/^\)]}'[^\n]*\n/,""))}k.parseSourceMapInput=parseSourceMapInput;function computeSourceURL(E,k,S){k=k||"";if(E){if(E[E.length-1]!=="/"&&k[0]!=="/"){E+="/"}k=E+k}if(S){var w=urlParse(S);if(!w){throw new Error("sourceMapURL could not be parsed")}if(w.path){var N=w.path.lastIndexOf("/");if(N>=0){w.path=w.path.substring(0,N+1)}}k=join(urlGenerate(w),k)}return normalize(k)}k.computeSourceURL=computeSourceURL},99596:(E,k,S)=>{k.SourceMapGenerator=S(11341).SourceMapGenerator;k.SourceMapConsumer=S(86327).SourceMapConsumer;k.SourceNode=S(9990).SourceNode},72679:E=>{"use strict";E.exports=E=>{if(typeof E!=="string"){throw new TypeError("Expected a string, got "+typeof E)}if(E.charCodeAt(0)===65279){return E.slice(1)}return E}},96204:(E,k,S)=>{"use strict";const w=S(12087);const N=S(33867);const j=S(86811);const{env:q}=process;let ee;if(j("no-color")||j("no-colors")||j("color=false")||j("color=never")){ee=0}else if(j("color")||j("colors")||j("color=true")||j("color=always")){ee=1}if("FORCE_COLOR"in q){if(q.FORCE_COLOR==="true"){ee=1}else if(q.FORCE_COLOR==="false"){ee=0}else{ee=q.FORCE_COLOR.length===0?1:Math.min(parseInt(q.FORCE_COLOR,10),3)}}function translateLevel(E){if(E===0){return false}return{level:E,hasBasic:true,has256:E>=2,has16m:E>=3}}function supportsColor(E,k){if(ee===0){return 0}if(j("color=16m")||j("color=full")||j("color=truecolor")){return 3}if(j("color=256")){return 2}if(E&&!k&&ee===undefined){return 0}const S=ee||0;if(q.TERM==="dumb"){return S}if(process.platform==="win32"){const E=w.release().split(".");if(Number(E[0])>=10&&Number(E[2])>=10586){return Number(E[2])>=14931?3:2}return 1}if("CI"in q){if(["TRAVIS","CIRCLECI","APPVEYOR","GITLAB_CI","GITHUB_ACTIONS","BUILDKITE"].some((E=>E in q))||q.CI_NAME==="codeship"){return 1}return S}if("TEAMCITY_VERSION"in q){return/^(9\.(0*[1-9]\d*)\.|\d{2,}\.)/.test(q.TEAMCITY_VERSION)?1:0}if(q.COLORTERM==="truecolor"){return 3}if("TERM_PROGRAM"in q){const E=parseInt((q.TERM_PROGRAM_VERSION||"").split(".")[0],10);switch(q.TERM_PROGRAM){case"iTerm.app":return E>=3?3:2;case"Apple_Terminal":return 2}}if(/-256(color)?$/i.test(q.TERM)){return 2}if(/^screen|^xterm|^vt100|^vt220|^rxvt|color|ansi|cygwin|linux/i.test(q.TERM)){return 1}if("COLORTERM"in q){return 1}return S}function getSupportLevel(E){const k=supportsColor(E,E&&E.isTTY);return translateLevel(k)}E.exports={supportsColor:getSupportLevel,stdout:translateLevel(supportsColor(true,N.isatty(1))),stderr:translateLevel(supportsColor(true,N.isatty(2)))}},78802:(E,k,S)=>{"use strict";const w=S(67332);const N=S(91165);class AsyncParallelBailHookCodeFactory extends N{content({onError:E,onResult:k,onDone:S}){let w="";w+=`var _results = new Array(${this.options.taps.length});\n`;w+="var _checkDone = function() {\n";w+="for(var i = 0; i < _results.length; i++) {\n";w+="var item = _results[i];\n";w+="if(item === undefined) return false;\n";w+="if(item.result !== undefined) {\n";w+=k("item.result");w+="return true;\n";w+="}\n";w+="if(item.error) {\n";w+=E("item.error");w+="return true;\n";w+="}\n";w+="}\n";w+="return false;\n";w+="}\n";w+=this.callTapsParallel({onError:(E,k,S,w)=>{let N="";N+=`if(${E} < _results.length && ((_results.length = ${E+1}), (_results[${E}] = { error: ${k} }), _checkDone())) {\n`;N+=w(true);N+="} else {\n";N+=S();N+="}\n";return N},onResult:(E,k,S,w)=>{let N="";N+=`if(${E} < _results.length && (${k} !== undefined && (_results.length = ${E+1}), (_results[${E}] = { result: ${k} }), _checkDone())) {\n`;N+=w(true);N+="} else {\n";N+=S();N+="}\n";return N},onTap:(E,k,S,w)=>{let N="";if(E>0){N+=`if(${E} >= _results.length) {\n`;N+=S();N+="} else {\n"}N+=k();if(E>0)N+="}\n";return N},onDone:S});return w}}const j=new AsyncParallelBailHookCodeFactory;const COMPILE=function(E){j.setup(this,E);return j.create(E)};function AsyncParallelBailHook(E=[],k=undefined){const S=new w(E,k);S.constructor=AsyncParallelBailHook;S.compile=COMPILE;S._call=undefined;S.call=undefined;return S}AsyncParallelBailHook.prototype=null;E.exports=AsyncParallelBailHook},3350:(E,k,S)=>{"use strict";const w=S(67332);const N=S(91165);class AsyncParallelHookCodeFactory extends N{content({onError:E,onDone:k}){return this.callTapsParallel({onError:(k,S,w,N)=>E(S)+N(true),onDone:k})}}const j=new AsyncParallelHookCodeFactory;const COMPILE=function(E){j.setup(this,E);return j.create(E)};function AsyncParallelHook(E=[],k=undefined){const S=new w(E,k);S.constructor=AsyncParallelHook;S.compile=COMPILE;S._call=undefined;S.call=undefined;return S}AsyncParallelHook.prototype=null;E.exports=AsyncParallelHook},4953:(E,k,S)=>{"use strict";const w=S(67332);const N=S(91165);class AsyncSeriesBailHookCodeFactory extends N{content({onError:E,onResult:k,resultReturns:S,onDone:w}){return this.callTapsSeries({onError:(k,S,w,N)=>E(S)+N(true),onResult:(E,S,w)=>`if(${S} !== undefined) {\n${k(S)}\n} else {\n${w()}}\n`,resultReturns:S,onDone:w})}}const j=new AsyncSeriesBailHookCodeFactory;const COMPILE=function(E){j.setup(this,E);return j.create(E)};function AsyncSeriesBailHook(E=[],k=undefined){const S=new w(E,k);S.constructor=AsyncSeriesBailHook;S.compile=COMPILE;S._call=undefined;S.call=undefined;return S}AsyncSeriesBailHook.prototype=null;E.exports=AsyncSeriesBailHook},68152:(E,k,S)=>{"use strict";const w=S(67332);const N=S(91165);class AsyncSeriesHookCodeFactory extends N{content({onError:E,onDone:k}){return this.callTapsSeries({onError:(k,S,w,N)=>E(S)+N(true),onDone:k})}}const j=new AsyncSeriesHookCodeFactory;const COMPILE=function(E){j.setup(this,E);return j.create(E)};function AsyncSeriesHook(E=[],k=undefined){const S=new w(E,k);S.constructor=AsyncSeriesHook;S.compile=COMPILE;S._call=undefined;S.call=undefined;return S}AsyncSeriesHook.prototype=null;E.exports=AsyncSeriesHook},25810:(E,k,S)=>{"use strict";const w=S(67332);const N=S(91165);class AsyncSeriesLoopHookCodeFactory extends N{content({onError:E,onDone:k}){return this.callTapsLooping({onError:(k,S,w,N)=>E(S)+N(true),onDone:k})}}const j=new AsyncSeriesLoopHookCodeFactory;const COMPILE=function(E){j.setup(this,E);return j.create(E)};function AsyncSeriesLoopHook(E=[],k=undefined){const S=new w(E,k);S.constructor=AsyncSeriesLoopHook;S.compile=COMPILE;S._call=undefined;S.call=undefined;return S}AsyncSeriesLoopHook.prototype=null;E.exports=AsyncSeriesLoopHook},66760:(E,k,S)=>{"use strict";const w=S(67332);const N=S(91165);class AsyncSeriesWaterfallHookCodeFactory extends N{content({onError:E,onResult:k,onDone:S}){return this.callTapsSeries({onError:(k,S,w,N)=>E(S)+N(true),onResult:(E,k,S)=>{let w="";w+=`if(${k} !== undefined) {\n`;w+=`${this._args[0]} = ${k};\n`;w+=`}\n`;w+=S();return w},onDone:()=>k(this._args[0])})}}const j=new AsyncSeriesWaterfallHookCodeFactory;const COMPILE=function(E){j.setup(this,E);return j.create(E)};function AsyncSeriesWaterfallHook(E=[],k=undefined){if(E.length<1)throw new Error("Waterfall hooks must have at least one argument");const S=new w(E,k);S.constructor=AsyncSeriesWaterfallHook;S.compile=COMPILE;S._call=undefined;S.call=undefined;return S}AsyncSeriesWaterfallHook.prototype=null;E.exports=AsyncSeriesWaterfallHook},67332:(E,k,S)=>{"use strict";const w=S(31669);const N=w.deprecate((()=>{}),"Hook.context is deprecated and will be removed");const CALL_DELEGATE=function(...E){this.call=this._createCall("sync");return this.call(...E)};const CALL_ASYNC_DELEGATE=function(...E){this.callAsync=this._createCall("async");return this.callAsync(...E)};const PROMISE_DELEGATE=function(...E){this.promise=this._createCall("promise");return this.promise(...E)};class Hook{constructor(E=[],k=undefined){this._args=E;this.name=k;this.taps=[];this.interceptors=[];this._call=CALL_DELEGATE;this.call=CALL_DELEGATE;this._callAsync=CALL_ASYNC_DELEGATE;this.callAsync=CALL_ASYNC_DELEGATE;this._promise=PROMISE_DELEGATE;this.promise=PROMISE_DELEGATE;this._x=undefined;this.compile=this.compile;this.tap=this.tap;this.tapAsync=this.tapAsync;this.tapPromise=this.tapPromise}compile(E){throw new Error("Abstract: should be overridden")}_createCall(E){return this.compile({taps:this.taps,interceptors:this.interceptors,args:this._args,type:E})}_tap(E,k,S){if(typeof k==="string"){k={name:k.trim()}}else if(typeof k!=="object"||k===null){throw new Error("Invalid tap options")}if(typeof k.name!=="string"||k.name===""){throw new Error("Missing name for tap")}if(typeof k.context!=="undefined"){N()}k=Object.assign({type:E,fn:S},k);k=this._runRegisterInterceptors(k);this._insert(k)}tap(E,k){this._tap("sync",E,k)}tapAsync(E,k){this._tap("async",E,k)}tapPromise(E,k){this._tap("promise",E,k)}_runRegisterInterceptors(E){for(const k of this.interceptors){if(k.register){const S=k.register(E);if(S!==undefined){E=S}}}return E}withOptions(E){const mergeOptions=k=>Object.assign({},E,typeof k==="string"?{name:k}:k);return{name:this.name,tap:(E,k)=>this.tap(mergeOptions(E),k),tapAsync:(E,k)=>this.tapAsync(mergeOptions(E),k),tapPromise:(E,k)=>this.tapPromise(mergeOptions(E),k),intercept:E=>this.intercept(E),isUsed:()=>this.isUsed(),withOptions:E=>this.withOptions(mergeOptions(E))}}isUsed(){return this.taps.length>0||this.interceptors.length>0}intercept(E){this._resetCompilation();this.interceptors.push(Object.assign({},E));if(E.register){for(let k=0;k0){w--;const E=this.taps[w];this.taps[w+1]=E;const N=E.stage||0;if(k){if(k.has(E.name)){k.delete(E.name);continue}if(k.size>0){continue}}if(N>S){continue}w++;break}this.taps[w]=E}}Object.setPrototypeOf(Hook.prototype,null);E.exports=Hook},91165:E=>{"use strict";class HookCodeFactory{constructor(E){this.config=E;this.options=undefined;this._args=undefined}create(E){this.init(E);let k;switch(this.options.type){case"sync":k=new Function(this.args(),'"use strict";\n'+this.header()+this.contentWithInterceptors({onError:E=>`throw ${E};\n`,onResult:E=>`return ${E};\n`,resultReturns:true,onDone:()=>"",rethrowIfPossible:true}));break;case"async":k=new Function(this.args({after:"_callback"}),'"use strict";\n'+this.header()+this.contentWithInterceptors({onError:E=>`_callback(${E});\n`,onResult:E=>`_callback(null, ${E});\n`,onDone:()=>"_callback();\n"}));break;case"promise":let E=false;const S=this.contentWithInterceptors({onError:k=>{E=true;return`_error(${k});\n`},onResult:E=>`_resolve(${E});\n`,onDone:()=>"_resolve();\n"});let w="";w+='"use strict";\n';w+=this.header();w+="return new Promise((function(_resolve, _reject) {\n";if(E){w+="var _sync = true;\n";w+="function _error(_err) {\n";w+="if(_sync)\n";w+="_resolve(Promise.resolve().then((function() { throw _err; })));\n";w+="else\n";w+="_reject(_err);\n";w+="};\n"}w+=S;if(E){w+="_sync = false;\n"}w+="}));\n";k=new Function(this.args(),w);break}this.deinit();return k}setup(E,k){E._x=k.taps.map((E=>E.fn))}init(E){this.options=E;this._args=E.args.slice()}deinit(){this.options=undefined;this._args=undefined}contentWithInterceptors(E){if(this.options.interceptors.length>0){const k=E.onError;const S=E.onResult;const w=E.onDone;let N="";for(let E=0;E{let S="";for(let k=0;k{let k="";for(let S=0;S{let E="";for(let k=0;k0){E+="var _taps = this.taps;\n";E+="var _interceptors = this.interceptors;\n"}return E}needContext(){for(const E of this.options.taps)if(E.context)return true;return false}callTap(E,{onError:k,onResult:S,onDone:w,rethrowIfPossible:N}){let j="";let q=false;for(let k=0;kE.type!=="sync"));const ee=S||N;let te="";let ne=w;let ae=0;for(let S=this.options.taps.length-1;S>=0;S--){const N=S;const _e=ne!==w&&(this.options.taps[N].type!=="sync"||ae++>20);if(_e){ae=0;te+=`function _next${N}() {\n`;te+=ne();te+=`}\n`;ne=()=>`${ee?"return ":""}_next${N}();\n`}const ve=ne;const doneBreak=E=>{if(E)return"";return w()};const Ee=this.callTap(N,{onError:k=>E(N,k,ve,doneBreak),onResult:k&&(E=>k(N,E,ve,doneBreak)),onDone:!k&&ve,rethrowIfPossible:j&&(q<0||NEe}te+=ne();return te}callTapsLooping({onError:E,onDone:k,rethrowIfPossible:S}){if(this.options.taps.length===0)return k();const w=this.options.taps.every((E=>E.type==="sync"));let N="";if(!w){N+="var _looper = (function() {\n";N+="var _loopAsync = false;\n"}N+="var _loop;\n";N+="do {\n";N+="_loop = false;\n";for(let E=0;E{let j="";j+=`if(${k} !== undefined) {\n`;j+="_loop = true;\n";if(!w)j+="if(_loopAsync) _looper();\n";j+=N(true);j+=`} else {\n`;j+=S();j+=`}\n`;return j},onDone:k&&(()=>{let E="";E+="if(!_loop) {\n";E+=k();E+="}\n";return E}),rethrowIfPossible:S&&w});N+="} while(_loop);\n";if(!w){N+="_loopAsync = true;\n";N+="});\n";N+="_looper();\n"}return N}callTapsParallel({onError:E,onResult:k,onDone:S,rethrowIfPossible:w,onTap:N=((E,k)=>k())}){if(this.options.taps.length<=1){return this.callTapsSeries({onError:E,onResult:k,onDone:S,rethrowIfPossible:w})}let j="";j+="do {\n";j+=`var _counter = ${this.options.taps.length};\n`;if(S){j+="var _done = (function() {\n";j+=S();j+="});\n"}for(let q=0;q{if(S)return"if(--_counter === 0) _done();\n";else return"--_counter;"};const doneBreak=E=>{if(E||!S)return"_counter = 0;\n";else return"_counter = 0;\n_done();\n"};j+="if(_counter <= 0) break;\n";j+=N(q,(()=>this.callTap(q,{onError:k=>{let S="";S+="if(_counter > 0) {\n";S+=E(q,k,done,doneBreak);S+="}\n";return S},onResult:k&&(E=>{let S="";S+="if(_counter > 0) {\n";S+=k(q,E,done,doneBreak);S+="}\n";return S}),onDone:!k&&(()=>done()),rethrowIfPossible:w})),done,doneBreak)}j+="} while(false);\n";return j}args({before:E,after:k}={}){let S=this._args;if(E)S=[E].concat(S);if(k)S=S.concat(k);if(S.length===0){return""}else{return S.join(", ")}}getTapFn(E){return`_x[${E}]`}getTap(E){return`_taps[${E}]`}getInterceptor(E){return`_interceptors[${E}]`}}E.exports=HookCodeFactory},28636:(E,k,S)=>{"use strict";const w=S(31669);const defaultFactory=(E,k)=>k;class HookMap{constructor(E,k=undefined){this._map=new Map;this.name=k;this._factory=E;this._interceptors=[]}get(E){return this._map.get(E)}for(E){const k=this.get(E);if(k!==undefined){return k}let S=this._factory(E);const w=this._interceptors;for(let k=0;k{"use strict";const w=S(67332);class MultiHook{constructor(E,k=undefined){this.hooks=E;this.name=k}tap(E,k){for(const S of this.hooks){S.tap(E,k)}}tapAsync(E,k){for(const S of this.hooks){S.tapAsync(E,k)}}tapPromise(E,k){for(const S of this.hooks){S.tapPromise(E,k)}}isUsed(){for(const E of this.hooks){if(E.isUsed())return true}return false}intercept(E){for(const k of this.hooks){k.intercept(E)}}withOptions(E){return new MultiHook(this.hooks.map((k=>k.withOptions(E))),this.name)}}E.exports=MultiHook},3334:(E,k,S)=>{"use strict";const w=S(67332);const N=S(91165);class SyncBailHookCodeFactory extends N{content({onError:E,onResult:k,resultReturns:S,onDone:w,rethrowIfPossible:N}){return this.callTapsSeries({onError:(k,S)=>E(S),onResult:(E,S,w)=>`if(${S} !== undefined) {\n${k(S)};\n} else {\n${w()}}\n`,resultReturns:S,onDone:w,rethrowIfPossible:N})}}const j=new SyncBailHookCodeFactory;const TAP_ASYNC=()=>{throw new Error("tapAsync is not supported on a SyncBailHook")};const TAP_PROMISE=()=>{throw new Error("tapPromise is not supported on a SyncBailHook")};const COMPILE=function(E){j.setup(this,E);return j.create(E)};function SyncBailHook(E=[],k=undefined){const S=new w(E,k);S.constructor=SyncBailHook;S.tapAsync=TAP_ASYNC;S.tapPromise=TAP_PROMISE;S.compile=COMPILE;return S}SyncBailHook.prototype=null;E.exports=SyncBailHook},6728:(E,k,S)=>{"use strict";const w=S(67332);const N=S(91165);class SyncHookCodeFactory extends N{content({onError:E,onDone:k,rethrowIfPossible:S}){return this.callTapsSeries({onError:(k,S)=>E(S),onDone:k,rethrowIfPossible:S})}}const j=new SyncHookCodeFactory;const TAP_ASYNC=()=>{throw new Error("tapAsync is not supported on a SyncHook")};const TAP_PROMISE=()=>{throw new Error("tapPromise is not supported on a SyncHook")};const COMPILE=function(E){j.setup(this,E);return j.create(E)};function SyncHook(E=[],k=undefined){const S=new w(E,k);S.constructor=SyncHook;S.tapAsync=TAP_ASYNC;S.tapPromise=TAP_PROMISE;S.compile=COMPILE;return S}SyncHook.prototype=null;E.exports=SyncHook},52332:(E,k,S)=>{"use strict";const w=S(67332);const N=S(91165);class SyncLoopHookCodeFactory extends N{content({onError:E,onDone:k,rethrowIfPossible:S}){return this.callTapsLooping({onError:(k,S)=>E(S),onDone:k,rethrowIfPossible:S})}}const j=new SyncLoopHookCodeFactory;const TAP_ASYNC=()=>{throw new Error("tapAsync is not supported on a SyncLoopHook")};const TAP_PROMISE=()=>{throw new Error("tapPromise is not supported on a SyncLoopHook")};const COMPILE=function(E){j.setup(this,E);return j.create(E)};function SyncLoopHook(E=[],k=undefined){const S=new w(E,k);S.constructor=SyncLoopHook;S.tapAsync=TAP_ASYNC;S.tapPromise=TAP_PROMISE;S.compile=COMPILE;return S}SyncLoopHook.prototype=null;E.exports=SyncLoopHook},81934:(E,k,S)=>{"use strict";const w=S(67332);const N=S(91165);class SyncWaterfallHookCodeFactory extends N{content({onError:E,onResult:k,resultReturns:S,rethrowIfPossible:w}){return this.callTapsSeries({onError:(k,S)=>E(S),onResult:(E,k,S)=>{let w="";w+=`if(${k} !== undefined) {\n`;w+=`${this._args[0]} = ${k};\n`;w+=`}\n`;w+=S();return w},onDone:()=>k(this._args[0]),doneReturns:S,rethrowIfPossible:w})}}const j=new SyncWaterfallHookCodeFactory;const TAP_ASYNC=()=>{throw new Error("tapAsync is not supported on a SyncWaterfallHook")};const TAP_PROMISE=()=>{throw new Error("tapPromise is not supported on a SyncWaterfallHook")};const COMPILE=function(E){j.setup(this,E);return j.create(E)};function SyncWaterfallHook(E=[],k=undefined){if(E.length<1)throw new Error("Waterfall hooks must have at least one argument");const S=new w(E,k);S.constructor=SyncWaterfallHook;S.tapAsync=TAP_ASYNC;S.tapPromise=TAP_PROMISE;S.compile=COMPILE;return S}SyncWaterfallHook.prototype=null;E.exports=SyncWaterfallHook},92960:(E,k,S)=>{"use strict";k.__esModule=true;k.SyncHook=S(6728);k.SyncBailHook=S(3334);k.SyncWaterfallHook=S(81934);k.SyncLoopHook=S(52332);k.AsyncParallelHook=S(3350);k.AsyncParallelBailHook=S(78802);k.AsyncSeriesHook=S(68152);k.AsyncSeriesBailHook=S(4953);k.AsyncSeriesLoopHook=S(25810);k.AsyncSeriesWaterfallHook=S(66760);k.HookMap=S(28636);k.MultiHook=S(20937)},96013:(E,k,S)=>{"use strict";const w=S(98225);E.exports=w.default},98225:(E,k,S)=>{"use strict";Object.defineProperty(k,"__esModule",{value:true});k.default=void 0;var w=_interopRequireWildcard(S(85622));var N=_interopRequireWildcard(S(12087));var j=S(99596);var q=S(15235);var ee=_interopRequireDefault(S(35764));var te=_interopRequireWildcard(S(47667));var ne=_interopRequireDefault(S(97909));var ae=S(69419);var _e=_interopRequireWildcard(S(26068));var ve=S(6218);function _interopRequireDefault(E){return E&&E.__esModule?E:{default:E}}function _getRequireWildcardCache(E){if(typeof WeakMap!=="function")return null;var k=new WeakMap;var S=new WeakMap;return(_getRequireWildcardCache=function(E){return E?S:k})(E)}function _interopRequireWildcard(E,k){if(!k&&E&&E.__esModule){return E}if(E===null||typeof E!=="object"&&typeof E!=="function"){return{default:E}}var S=_getRequireWildcardCache(k);if(S&&S.has(E)){return S.get(E)}var w={};var N=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var j in E){if(j!=="default"&&Object.prototype.hasOwnProperty.call(E,j)){var q=N?Object.getOwnPropertyDescriptor(E,j):null;if(q&&(q.get||q.set)){Object.defineProperty(w,j,q)}else{w[j]=E[j]}}}w.default=E;if(S){S.set(E,w)}return w}class TerserPlugin{constructor(E={}){(0,q.validate)(_e,E,{name:"Terser Plugin",baseDataPath:"options"});const{minify:k,terserOptions:S={},test:w=/\.[cm]?js(\?.*)?$/i,extractComments:N=true,parallel:j=true,include:ee,exclude:te}=E;this.options={test:w,extractComments:N,parallel:j,include:ee,exclude:te,minify:k,terserOptions:S}}static isSourceMap(E){return Boolean(E&&E.version&&E.sources&&Array.isArray(E.sources)&&typeof E.mappings==="string")}static buildError(E,k,S,w){if(E.line){const N=w&&w.originalPositionFor({line:E.line,column:E.col});if(N&&N.source&&S){return new Error(`${k} from Terser\n${E.message} [${S.shorten(N.source)}:${N.line},${N.column}][${k}:${E.line},${E.col}]${E.stack?`\n${E.stack.split("\n").slice(1).join("\n")}`:""}`)}return new Error(`${k} from Terser\n${E.message} [${k}:${E.line},${E.col}]${E.stack?`\n${E.stack.split("\n").slice(1).join("\n")}`:""}`)}if(E.stack){return new Error(`${k} from Terser\n${E.stack}`)}return new Error(`${k} from Terser\n${E.message}`)}static getAvailableNumberOfCores(E){const k=N.cpus()||{length:1};return E===true?k.length-1:Math.min(Number(E)||0,k.length-1)}async optimize(E,k,N,q){const te=k.getCache("TerserWebpackPlugin");let _e=0;const Ee=await Promise.all(Object.keys(N).filter((S=>{const{info:w}=k.getAsset(S);if(w.minimized||w.extractedComments){return false}if(!E.webpack.ModuleFilenameHelpers.matchObject.bind(undefined,this.options)(S)){return false}return true})).map((async E=>{const{info:S,source:w}=k.getAsset(E);const N=te.getLazyHashedEtag(w);const j=te.getItemCache(E,N);const q=await j.getPromise();if(!q){_e+=1}return{name:E,info:S,inputSource:w,output:q,cacheItem:j}})));let we;let Ce;let Me;if(q.availableNumberOfCores>0){Me=Math.min(_e,q.availableNumberOfCores);we=()=>{if(Ce){return Ce}Ce=new ae.Worker(S.ab+"minify.js",{numWorkers:Me,enableWorkerThreads:true});const E=Ce.getStdout();if(E){E.on("data",(E=>process.stdout.write(E)))}const k=Ce.getStderr();if(k){k.on("data",(E=>process.stderr.write(E)))}return Ce}}const Te=(0,ne.default)(we&&_e>0?Me:Infinity);const{SourceMapSource:Ie,ConcatSource:Oe,RawSource:Re}=E.webpack.sources;const Fe=new Map;const Ne=[];for(const E of Ee){Ne.push(Te((async()=>{const{name:S,inputSource:N,info:q,cacheItem:te}=E;let{output:ne}=E;if(!ne){let E;let ae;const{source:_e,map:Ee}=N.sourceAndMap();E=_e;if(Ee){if(TerserPlugin.isSourceMap(Ee)){ae=Ee}else{ae=Ee;k.warnings.push(new Error(`${S} contains invalid source map`))}}if(Buffer.isBuffer(E)){E=E.toString()}const Ce={name:S,input:E,inputSourceMap:ae,minify:this.options.minify,minifyOptions:{...this.options.terserOptions},extractComments:this.options.extractComments};if(typeof Ce.minifyOptions.module==="undefined"){if(typeof q.javascriptModule!=="undefined"){Ce.minifyOptions.module=q.javascriptModule}else if(/\.mjs(\?.*)?$/i.test(S)){Ce.minifyOptions.module=true}else if(/\.cjs(\?.*)?$/i.test(S)){Ce.minifyOptions.module=false}}try{ne=await(we?we().transform((0,ee.default)(Ce)):(0,ve.minify)(Ce))}catch(E){const w=ae&&TerserPlugin.isSourceMap(ae);k.errors.push(TerserPlugin.buildError(E,S,w?k.requestShortener:undefined,w?new j.SourceMapConsumer(ae):undefined));return}let Me;if(this.options.extractComments.banner!==false&&ne.extractedComments&&ne.extractedComments.length>0&&ne.code.startsWith("#!")){const E=ne.code.indexOf("\n");Me=ne.code.substring(0,E);ne.code=ne.code.substring(E+1)}if(ne.map){ne.source=new Ie(ne.code,S,ne.map,E,ae,true)}else{ne.source=new Re(ne.code)}if(ne.extractedComments&&ne.extractedComments.length>0){const E=this.options.extractComments.filename||"[file].LICENSE.txt[query]";let N="";let j=S;const q=j.indexOf("?");if(q>=0){N=j.substr(q);j=j.substr(0,q)}const ee=j.lastIndexOf("/");const te=ee===-1?j:j.substr(ee+1);const ae={filename:j,basename:te,query:N};ne.commentsFilename=k.getPath(E,ae);let _e;if(this.options.extractComments.banner!==false){_e=this.options.extractComments.banner||`For license information please see ${w.relative(w.dirname(S),ne.commentsFilename).replace(/\\/g,"/")}`;if(typeof _e==="function"){_e=_e(ne.commentsFilename)}if(_e){ne.source=new Oe(Me?`${Me}\n`:"",`/*! ${_e} */\n`,ne.source)}}const ve=ne.extractedComments.sort().join("\n\n");ne.extractedCommentsSource=new Re(`${ve}\n`)}await te.storePromise({source:ne.source,commentsFilename:ne.commentsFilename,extractedCommentsSource:ne.extractedCommentsSource})}const ae={minimized:true};const{source:_e,extractedCommentsSource:Ee}=ne;if(Ee){const{commentsFilename:E}=ne;ae.related={license:E};Fe.set(S,{extractedCommentsSource:Ee,commentsFilename:E})}k.updateAsset(S,_e,ae)})))}await Promise.all(Ne);if(Ce){await Ce.end()}await Array.from(Fe).sort().reduce((async(E,[S,w])=>{const N=await E;const{commentsFilename:j,extractedCommentsSource:q}=w;if(N&&N.commentsFilename===j){const{from:E,source:w}=N;const ee=`${E}|${S}`;const ne=`${j}|${ee}`;const ae=[w,q].map((E=>te.getLazyHashedEtag(E))).reduce(((E,k)=>te.mergeEtags(E,k)));let _e=await te.getPromise(ne,ae);if(!_e){_e=new Oe(Array.from(new Set([...w.source().split("\n\n"),...q.source().split("\n\n")])).join("\n\n"));await te.storePromise(ne,ae,_e)}k.updateAsset(j,_e);return{source:_e,commentsFilename:j,from:ee}}const ee=k.getAsset(j);if(ee){return{source:ee.source,commentsFilename:j,from:j}}k.emitAsset(j,q,{extractedComments:true});return{source:q,commentsFilename:j,from:S}}),Promise.resolve())}static getEcmaVersion(E){if(E.arrowFunction||E.const||E.destructuring||E.forOf||E.module){return 2015}if(E.bigIntLiteral||E.dynamicImport){return 2020}return 5}apply(E){const{output:k}=E.options;if(typeof this.options.terserOptions.ecma==="undefined"){this.options.terserOptions.ecma=TerserPlugin.getEcmaVersion(k.environment||{})}const S=this.constructor.name;const w=TerserPlugin.getAvailableNumberOfCores(this.options.parallel);E.hooks.compilation.tap(S,(k=>{const N=E.webpack.javascript.JavascriptModulesPlugin.getCompilationHooks(k);const j=(0,ee.default)({terser:te.version,terserOptions:this.options.terserOptions});N.chunkHash.tap(S,((E,k)=>{k.update("TerserPlugin");k.update(j)}));k.hooks.processAssets.tapPromise({name:S,stage:E.webpack.Compilation.PROCESS_ASSETS_STAGE_OPTIMIZE_SIZE,additionalAssets:true},(S=>this.optimize(E,k,S,{availableNumberOfCores:w})));k.hooks.statsPrinter.tap(S,(E=>{E.hooks.print.for("asset.info.minimized").tap("terser-webpack-plugin",((E,{green:k,formatFlag:S})=>E?k(S("minimized")):""))}))}))}}var Ee=TerserPlugin;k.default=Ee},6218:(E,k,S)=>{"use strict";E=S.nmd(E);const{minify:w}=S(79304);function buildTerserOptions(E={}){return{...E,compress:typeof E.compress==="boolean"?E.compress:{...E.compress},mangle:E.mangle==null?true:typeof E.mangle==="boolean"?E.mangle:{...E.mangle},...E.format?{format:{beautify:false,...E.format}}:{output:{beautify:false,...E.output}},parse:{...E.parse},sourceMap:undefined}}function isObject(E){const k=typeof E;return E!=null&&(k==="object"||k==="function")}function buildComments(E,k,S){const w={};let N;if(k.format){({comments:N}=k.format)}else if(k.output){({comments:N}=k.output)}w.preserve=typeof N!=="undefined"?N:false;if(typeof E==="boolean"&&E){w.extract="some"}else if(typeof E==="string"||E instanceof RegExp){w.extract=E}else if(typeof E==="function"){w.extract=E}else if(E&&isObject(E)){w.extract=typeof E.condition==="boolean"&&E.condition?"some":typeof E.condition!=="undefined"?E.condition:"some"}else{w.preserve=typeof N!=="undefined"?N:"some";w.extract=false}["preserve","extract"].forEach((E=>{let k;let S;switch(typeof w[E]){case"boolean":w[E]=w[E]?()=>true:()=>false;break;case"function":break;case"string":if(w[E]==="all"){w[E]=()=>true;break}if(w[E]==="some"){w[E]=(E,k)=>(k.type==="comment2"||k.type==="comment1")&&/@preserve|@lic|@cc_on|^\**!/i.test(k.value);break}k=w[E];w[E]=(E,S)=>new RegExp(k).test(S.value);break;default:S=w[E];w[E]=(E,k)=>S.test(k.value)}}));return(E,k)=>{if(w.extract(E,k)){const E=k.type==="comment2"?`/*${k.value}*/`:`//${k.value}`;if(!S.includes(E)){S.push(E)}}return w.preserve(E,k)}}async function minify(E){const{name:k,input:S,inputSourceMap:N,minify:j,minifyOptions:q}=E;if(j){return j({[k]:S},N,q)}const ee=buildTerserOptions(q);if(N){ee.sourceMap={asObject:true}}const te=[];const{extractComments:ne}=E;if(ee.output){ee.output.comments=buildComments(ne,ee,te)}else if(ee.format){ee.format.comments=buildComments(ne,ee,te)}const ae=await w({[k]:S},ee);return{...ae,extractedComments:te}}function transform(S){const w=new Function("exports","require","module","__filename","__dirname",`'use strict'\nreturn ${S}`)(k,require,E,__filename,__dirname);return minify(w)}E.exports.minify=minify;E.exports.transform=transform},97909:(E,k,S)=>{"use strict";const w=S(74395);const pLimit=E=>{if(!((Number.isInteger(E)||E===Infinity)&&E>0)){throw new TypeError("Expected `concurrency` to be a number from 1 and up")}const k=new w;let S=0;const next=()=>{S--;if(k.size>0){k.dequeue()()}};const run=async(E,k,...w)=>{S++;const N=(async()=>E(...w))();k(N);try{await N}catch{}next()};const enqueue=(w,N,...j)=>{k.enqueue(run.bind(null,w,N,...j));(async()=>{await Promise.resolve();if(S0){k.dequeue()()}})()};const generator=(E,...k)=>new Promise((S=>{enqueue(E,S,...k)}));Object.defineProperties(generator,{activeCount:{get:()=>S},pendingCount:{get:()=>k.size},clearQueue:{value:()=>{k.clear()}}});return generator};E.exports=pLimit},35764:(E,k,S)=>{"use strict";var w=S(31998);var N=16;var j=generateUID();var q=new RegExp('(\\\\)?"@__(F|R|D|M|S|A|U|I|B|L)-'+j+'-(\\d+)__@"',"g");var ee=/\{\s*\[native code\]\s*\}/g;var te=/function.*?\(/;var ne=/.*?=>.*?/;var ae=/[<>\/\u2028\u2029]/g;var _e=["*","async"];var ve={"<":"\\u003C",">":"\\u003E","/":"\\u002F","\u2028":"\\u2028","\u2029":"\\u2029"};function escapeUnsafeChars(E){return ve[E]}function generateUID(){var E=w(N);var k="";for(var S=0;S0}));var N=w.filter((function(E){return _e.indexOf(E)===-1}));if(N.length>0){return(w.indexOf("async")>-1?"async ":"")+"function"+(w.join("").indexOf("*")>-1?"*":"")+k.substr(S)}return k}if(k.ignoreFunction&&typeof E==="function"){E=undefined}if(E===undefined){return String(E)}var Oe;if(k.isJSON&&!k.space){Oe=JSON.stringify(E)}else{Oe=JSON.stringify(E,k.isJSON?null:replacer,k.space)}if(typeof Oe!=="string"){return String(Oe)}if(k.unsafe!==true){Oe=Oe.replace(ae,escapeUnsafeChars)}if(S.length===0&&w.length===0&&N.length===0&&ve.length===0&&Ee.length===0&&we.length===0&&Ce.length===0&&Me.length===0&&Te.length===0&&Ie.length===0){return Oe}return Oe.replace(q,(function(E,j,q,ee){if(j){return E}if(q==="D"){return'new Date("'+N[ee].toISOString()+'")'}if(q==="R"){return"new RegExp("+serialize(w[ee].source)+', "'+w[ee].flags+'")'}if(q==="M"){return"new Map("+serialize(Array.from(ve[ee].entries()),k)+")"}if(q==="S"){return"new Set("+serialize(Array.from(Ee[ee].values()),k)+")"}if(q==="A"){return"Array.prototype.slice.call("+serialize(Object.assign({length:we[ee].length},we[ee]),k)+")"}if(q==="U"){return"undefined"}if(q==="I"){return Me[ee]}if(q==="B"){return'BigInt("'+Te[ee]+'")'}if(q==="L"){return'new URL("'+Ie[ee].toString()+'")'}var te=S[ee];return serializeFunc(te)}))}},79304:function(E,k,S){(function(E,w){true?w(k,S(86347)):0})(this,(function(E,k){"use strict";function _interopDefaultLegacy(E){return E&&typeof E==="object"&&"default"in E?E:{default:E}}var w=_interopDefaultLegacy(k);function characters(E){return E.split("")}function member(E,k){return k.includes(E)}class DefaultsError extends Error{constructor(E,k){super();this.name="DefaultsError";this.message=E;this.defs=k}}function defaults(E,k,S){if(E===true){E={}}else if(E!=null&&typeof E==="object"){E={...E}}const w=E||{};if(S)for(const E in w)if(HOP(w,E)&&!HOP(k,E)){throw new DefaultsError("`"+E+"` is not a supported option",k)}for(const S in k)if(HOP(k,S)){if(!E||!HOP(E,S)){w[S]=k[S]}else if(S==="ecma"){let k=E[S]|0;if(k>5&&k<2015)k+=2009;w[S]=k}else{w[S]=E&&HOP(E,S)?E[S]:k[S]}}return w}function noop(){}function return_false(){return false}function return_true(){return true}function return_this(){return this}function return_null(){return null}var N=function(){function MAP(k,S,w){var N=[],j=[],q;function doit(){var ee=S(k[q],q);var te=ee instanceof Last;if(te)ee=ee.v;if(ee instanceof AtTop){ee=ee.v;if(ee instanceof Splice){j.push.apply(j,w?ee.v.slice().reverse():ee.v)}else{j.push(ee)}}else if(ee!==E){if(ee instanceof Splice){N.push.apply(N,w?ee.v.slice().reverse():ee.v)}else{N.push(ee)}}return te}if(Array.isArray(k)){if(w){for(q=k.length;--q>=0;)if(doit())break;N.reverse();j.reverse()}else{for(q=0;q=0;){if(E[S]===k)E.splice(S,1)}}function mergeSort(E,k){if(E.length<2)return E.slice();function merge(E,S){var w=[],N=0,j=0,q=0;while(N{S+=E}))}return S}function has_annotation(E,k){return E._annotations&k}function set_annotation(E,k){E._annotations|=k}var ee="";var te=true;var ne="break case catch class const continue debugger default delete do else export extends finally for function if in instanceof let new return switch throw try typeof var void while with";var ae="false null true";var _e="enum implements import interface package private protected public static super this "+ae+" "+ne;var ve="return new delete throw else case yield await";ne=makePredicate(ne);_e=makePredicate(_e);ve=makePredicate(ve);ae=makePredicate(ae);var Ee=makePredicate(characters("+-*&%=<>!?|~^"));var we=/[0-9a-f]/i;var Ce=/^0x[0-9a-f]+$/i;var Me=/^0[0-7]+$/;var Te=/^0o[0-7]+$/i;var Ie=/^0b[01]+$/i;var Oe=/^\d*\.?\d*(?:e[+-]?\d*(?:\d\.?|\.?\d)\d*)?$/i;var Re=/^(0[xob])?[0-9a-f]+n$/i;var Fe=makePredicate(["in","instanceof","typeof","new","void","delete","++","--","+","-","!","~","&","|","^","*","**","/","%",">>","<<",">>>","<",">","<=",">=","==","===","!=","!==","?","=","+=","-=","||=","&&=","??=","/=","*=","**=","%=",">>=","<<=",">>>=","|=","^=","&=","&&","??","||"]);var Ne=makePredicate(characters("  \n\r\t\f\v​           \u2028\u2029   \ufeff"));var Be=makePredicate(characters("\n\r\u2028\u2029"));var Le=makePredicate(characters(";]),:"));var je=makePredicate(characters("[{(,;:"));var $e=makePredicate(characters("[]{}(),;:"));var ze={ID_Start:/[$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\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\u0C85-\u0C8C\u0C8E-\u0C90\u0C92-\u0CA8\u0CAA-\u0CB3\u0CB5-\u0CB9\u0CBD\u0CDE\u0CE0\u0CE1\u0CF1\u0CF2\u0D05-\u0D0C\u0D0E-\u0D10\u0D12-\u0D3A\u0D3D\u0D4E\u0D5F-\u0D61\u0D7A-\u0D7F\u0D85-\u0D96\u0D9A-\u0DB1\u0DB3-\u0DBB\u0DBD\u0DC0-\u0DC6\u0E01-\u0E30\u0E32\u0E33\u0E40-\u0E46\u0E81\u0E82\u0E84\u0E87\u0E88\u0E8A\u0E8D\u0E94-\u0E97\u0E99-\u0E9F\u0EA1-\u0EA3\u0EA5\u0EA7\u0EAA\u0EAB\u0EAD-\u0EB0\u0EB2\u0EB3\u0EBD\u0EC0-\u0EC4\u0EC6\u0EDC-\u0EDF\u0F00\u0F40-\u0F47\u0F49-\u0F6C\u0F88-\u0F8C\u1000-\u102A\u103F\u1050-\u1055\u105A-\u105D\u1061\u1065\u1066\u106E-\u1070\u1075-\u1081\u108E\u10A0-\u10C5\u10C7\u10CD\u10D0-\u10FA\u10FC-\u1248\u124A-\u124D\u1250-\u1256\u1258\u125A-\u125D\u1260-\u1288\u128A-\u128D\u1290-\u12B0\u12B2-\u12B5\u12B8-\u12BE\u12C0\u12C2-\u12C5\u12C8-\u12D6\u12D8-\u1310\u1312-\u1315\u1318-\u135A\u1380-\u138F\u13A0-\u13F5\u13F8-\u13FD\u1401-\u166C\u166F-\u167F\u1681-\u169A\u16A0-\u16EA\u16EE-\u16F8\u1700-\u170C\u170E-\u1711\u1720-\u1731\u1740-\u1751\u1760-\u176C\u176E-\u1770\u1780-\u17B3\u17D7\u17DC\u1820-\u1877\u1880-\u18A8\u18AA\u18B0-\u18F5\u1900-\u191E\u1950-\u196D\u1970-\u1974\u1980-\u19AB\u19B0-\u19C9\u1A00-\u1A16\u1A20-\u1A54\u1AA7\u1B05-\u1B33\u1B45-\u1B4B\u1B83-\u1BA0\u1BAE\u1BAF\u1BBA-\u1BE5\u1C00-\u1C23\u1C4D-\u1C4F\u1C5A-\u1C7D\u1CE9-\u1CEC\u1CEE-\u1CF1\u1CF5\u1CF6\u1D00-\u1DBF\u1E00-\u1F15\u1F18-\u1F1D\u1F20-\u1F45\u1F48-\u1F4D\u1F50-\u1F57\u1F59\u1F5B\u1F5D\u1F5F-\u1F7D\u1F80-\u1FB4\u1FB6-\u1FBC\u1FBE\u1FC2-\u1FC4\u1FC6-\u1FCC\u1FD0-\u1FD3\u1FD6-\u1FDB\u1FE0-\u1FEC\u1FF2-\u1FF4\u1FF6-\u1FFC\u2071\u207F\u2090-\u209C\u2102\u2107\u210A-\u2113\u2115\u2118-\u211D\u2124\u2126\u2128\u212A-\u2139\u213C-\u213F\u2145-\u2149\u214E\u2160-\u2188\u2C00-\u2C2E\u2C30-\u2C5E\u2C60-\u2CE4\u2CEB-\u2CEE\u2CF2\u2CF3\u2D00-\u2D25\u2D27\u2D2D\u2D30-\u2D67\u2D6F\u2D80-\u2D96\u2DA0-\u2DA6\u2DA8-\u2DAE\u2DB0-\u2DB6\u2DB8-\u2DBE\u2DC0-\u2DC6\u2DC8-\u2DCE\u2DD0-\u2DD6\u2DD8-\u2DDE\u3005-\u3007\u3021-\u3029\u3031-\u3035\u3038-\u303C\u3041-\u3096\u309B-\u309F\u30A1-\u30FA\u30FC-\u30FF\u3105-\u312D\u3131-\u318E\u31A0-\u31BA\u31F0-\u31FF\u3400-\u4DB5\u4E00-\u9FD5\uA000-\uA48C\uA4D0-\uA4FD\uA500-\uA60C\uA610-\uA61F\uA62A\uA62B\uA640-\uA66E\uA67F-\uA69D\uA6A0-\uA6EF\uA717-\uA71F\uA722-\uA788\uA78B-\uA7AD\uA7B0-\uA7B7\uA7F7-\uA801\uA803-\uA805\uA807-\uA80A\uA80C-\uA822\uA840-\uA873\uA882-\uA8B3\uA8F2-\uA8F7\uA8FB\uA8FD\uA90A-\uA925\uA930-\uA946\uA960-\uA97C\uA984-\uA9B2\uA9CF\uA9E0-\uA9E4\uA9E6-\uA9EF\uA9FA-\uA9FE\uAA00-\uAA28\uAA40-\uAA42\uAA44-\uAA4B\uAA60-\uAA76\uAA7A\uAA7E-\uAAAF\uAAB1\uAAB5\uAAB6\uAAB9-\uAABD\uAAC0\uAAC2\uAADB-\uAADD\uAAE0-\uAAEA\uAAF2-\uAAF4\uAB01-\uAB06\uAB09-\uAB0E\uAB11-\uAB16\uAB20-\uAB26\uAB28-\uAB2E\uAB30-\uAB5A\uAB5C-\uAB65\uAB70-\uABE2\uAC00-\uD7A3\uD7B0-\uD7C6\uD7CB-\uD7FB\uF900-\uFA6D\uFA70-\uFAD9\uFB00-\uFB06\uFB13-\uFB17\uFB1D\uFB1F-\uFB28\uFB2A-\uFB36\uFB38-\uFB3C\uFB3E\uFB40\uFB41\uFB43\uFB44\uFB46-\uFBB1\uFBD3-\uFD3D\uFD50-\uFD8F\uFD92-\uFDC7\uFDF0-\uFDFB\uFE70-\uFE74\uFE76-\uFEFC\uFF21-\uFF3A\uFF41-\uFF5A\uFF66-\uFFBE\uFFC2-\uFFC7\uFFCA-\uFFCF\uFFD2-\uFFD7\uFFDA-\uFFDC]|\uD800[\uDC00-\uDC0B\uDC0D-\uDC26\uDC28-\uDC3A\uDC3C\uDC3D\uDC3F-\uDC4D\uDC50-\uDC5D\uDC80-\uDCFA\uDD40-\uDD74\uDE80-\uDE9C\uDEA0-\uDED0\uDF00-\uDF1F\uDF30-\uDF4A\uDF50-\uDF75\uDF80-\uDF9D\uDFA0-\uDFC3\uDFC8-\uDFCF\uDFD1-\uDFD5]|\uD801[\uDC00-\uDC9D\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[\uDC80-\uDCAF\uDCC4\uDCC5\uDCC7\uDD80-\uDDAE\uDDD8-\uDDDB\uDE00-\uDE2F\uDE44\uDE80-\uDEAA\uDF00-\uDF19]|\uD806[\uDCA0-\uDCDF\uDCFF\uDEC0-\uDEF8]|\uD808[\uDC00-\uDF99]|\uD809[\uDC00-\uDC6E\uDC80-\uDD43]|[\uD80C\uD840-\uD868\uD86A-\uD86C\uD86F-\uD872][\uDC00-\uDFFF]|\uD80D[\uDC00-\uDC2E]|\uD811[\uDC00-\uDE46]|\uD81A[\uDC00-\uDE38\uDE40-\uDE5E\uDED0-\uDEED\uDF00-\uDF2F\uDF40-\uDF43\uDF63-\uDF77\uDF7D-\uDF8F]|\uD81B[\uDF00-\uDF44\uDF50\uDF93-\uDF9F]|\uD82C[\uDC00\uDC01]|\uD82F[\uDC00-\uDC6A\uDC70-\uDC7C\uDC80-\uDC88\uDC90-\uDC99]|\uD835[\uDC00-\uDC54\uDC56-\uDC9C\uDC9E\uDC9F\uDCA2\uDCA5\uDCA6\uDCA9-\uDCAC\uDCAE-\uDCB9\uDCBB\uDCBD-\uDCC3\uDCC5-\uDD05\uDD07-\uDD0A\uDD0D-\uDD14\uDD16-\uDD1C\uDD1E-\uDD39\uDD3B-\uDD3E\uDD40-\uDD44\uDD46\uDD4A-\uDD50\uDD52-\uDEA5\uDEA8-\uDEC0\uDEC2-\uDEDA\uDEDC-\uDEFA\uDEFC-\uDF14\uDF16-\uDF34\uDF36-\uDF4E\uDF50-\uDF6E\uDF70-\uDF88\uDF8A-\uDFA8\uDFAA-\uDFC2\uDFC4-\uDFCB]|\uD83A[\uDC00-\uDCC4]|\uD83B[\uDE00-\uDE03\uDE05-\uDE1F\uDE21\uDE22\uDE24\uDE27\uDE29-\uDE32\uDE34-\uDE37\uDE39\uDE3B\uDE42\uDE47\uDE49\uDE4B\uDE4D-\uDE4F\uDE51\uDE52\uDE54\uDE57\uDE59\uDE5B\uDE5D\uDE5F\uDE61\uDE62\uDE64\uDE67-\uDE6A\uDE6C-\uDE72\uDE74-\uDE77\uDE79-\uDE7C\uDE7E\uDE80-\uDE89\uDE8B-\uDE9B\uDEA1-\uDEA3\uDEA5-\uDEA9\uDEAB-\uDEBB]|\uD869[\uDC00-\uDED6\uDF00-\uDFFF]|\uD86D[\uDC00-\uDF34\uDF40-\uDFFF]|\uD86E[\uDC00-\uDC1D\uDC20-\uDFFF]|\uD873[\uDC00-\uDEA1]|\uD87E[\uDC00-\uDE1D]/,ID_Continue:/(?:[$0-9A-Z_a-z\xAA\xB5\xB7\xBA\xC0-\xD6\xD8-\xF6\xF8-\u02C1\u02C6-\u02D1\u02E0-\u02E4\u02EC\u02EE\u0300-\u0374\u0376\u0377\u037A-\u037D\u037F\u0386-\u038A\u038C\u038E-\u03A1\u03A3-\u03F5\u03F7-\u0481\u0483-\u0487\u048A-\u052F\u0531-\u0556\u0559\u0561-\u0587\u0591-\u05BD\u05BF\u05C1\u05C2\u05C4\u05C5\u05C7\u05D0-\u05EA\u05F0-\u05F2\u0610-\u061A\u0620-\u0669\u066E-\u06D3\u06D5-\u06DC\u06DF-\u06E8\u06EA-\u06FC\u06FF\u0710-\u074A\u074D-\u07B1\u07C0-\u07F5\u07FA\u0800-\u082D\u0840-\u085B\u08A0-\u08B4\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\u0C81-\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\u0D57\u0D5F-\u0D63\u0D66-\u0D6F\u0D7A-\u0D7F\u0D82\u0D83\u0D85-\u0D96\u0D9A-\u0DB1\u0DB3-\u0DBB\u0DBD\u0DC0-\u0DC6\u0DCA\u0DCF-\u0DD4\u0DD6\u0DD8-\u0DDF\u0DE6-\u0DEF\u0DF2\u0DF3\u0E01-\u0E3A\u0E40-\u0E4E\u0E50-\u0E59\u0E81\u0E82\u0E84\u0E87\u0E88\u0E8A\u0E8D\u0E94-\u0E97\u0E99-\u0E9F\u0EA1-\u0EA3\u0EA5\u0EA7\u0EAA\u0EAB\u0EAD-\u0EB9\u0EBB-\u0EBD\u0EC0-\u0EC4\u0EC6\u0EC8-\u0ECD\u0ED0-\u0ED9\u0EDC-\u0EDF\u0F00\u0F18\u0F19\u0F20-\u0F29\u0F35\u0F37\u0F39\u0F3E-\u0F47\u0F49-\u0F6C\u0F71-\u0F84\u0F86-\u0F97\u0F99-\u0FBC\u0FC6\u1000-\u1049\u1050-\u109D\u10A0-\u10C5\u10C7\u10CD\u10D0-\u10FA\u10FC-\u1248\u124A-\u124D\u1250-\u1256\u1258\u125A-\u125D\u1260-\u1288\u128A-\u128D\u1290-\u12B0\u12B2-\u12B5\u12B8-\u12BE\u12C0\u12C2-\u12C5\u12C8-\u12D6\u12D8-\u1310\u1312-\u1315\u1318-\u135A\u135D-\u135F\u1369-\u1371\u1380-\u138F\u13A0-\u13F5\u13F8-\u13FD\u1401-\u166C\u166F-\u167F\u1681-\u169A\u16A0-\u16EA\u16EE-\u16F8\u1700-\u170C\u170E-\u1714\u1720-\u1734\u1740-\u1753\u1760-\u176C\u176E-\u1770\u1772\u1773\u1780-\u17D3\u17D7\u17DC\u17DD\u17E0-\u17E9\u180B-\u180D\u1810-\u1819\u1820-\u1877\u1880-\u18AA\u18B0-\u18F5\u1900-\u191E\u1920-\u192B\u1930-\u193B\u1946-\u196D\u1970-\u1974\u1980-\u19AB\u19B0-\u19C9\u19D0-\u19DA\u1A00-\u1A1B\u1A20-\u1A5E\u1A60-\u1A7C\u1A7F-\u1A89\u1A90-\u1A99\u1AA7\u1AB0-\u1ABD\u1B00-\u1B4B\u1B50-\u1B59\u1B6B-\u1B73\u1B80-\u1BF3\u1C00-\u1C37\u1C40-\u1C49\u1C4D-\u1C7D\u1CD0-\u1CD2\u1CD4-\u1CF6\u1CF8\u1CF9\u1D00-\u1DF5\u1DFC-\u1F15\u1F18-\u1F1D\u1F20-\u1F45\u1F48-\u1F4D\u1F50-\u1F57\u1F59\u1F5B\u1F5D\u1F5F-\u1F7D\u1F80-\u1FB4\u1FB6-\u1FBC\u1FBE\u1FC2-\u1FC4\u1FC6-\u1FCC\u1FD0-\u1FD3\u1FD6-\u1FDB\u1FE0-\u1FEC\u1FF2-\u1FF4\u1FF6-\u1FFC\u200C\u200D\u203F\u2040\u2054\u2071\u207F\u2090-\u209C\u20D0-\u20DC\u20E1\u20E5-\u20F0\u2102\u2107\u210A-\u2113\u2115\u2118-\u211D\u2124\u2126\u2128\u212A-\u2139\u213C-\u213F\u2145-\u2149\u214E\u2160-\u2188\u2C00-\u2C2E\u2C30-\u2C5E\u2C60-\u2CE4\u2CEB-\u2CF3\u2D00-\u2D25\u2D27\u2D2D\u2D30-\u2D67\u2D6F\u2D7F-\u2D96\u2DA0-\u2DA6\u2DA8-\u2DAE\u2DB0-\u2DB6\u2DB8-\u2DBE\u2DC0-\u2DC6\u2DC8-\u2DCE\u2DD0-\u2DD6\u2DD8-\u2DDE\u2DE0-\u2DFF\u3005-\u3007\u3021-\u302F\u3031-\u3035\u3038-\u303C\u3041-\u3096\u3099-\u309F\u30A1-\u30FA\u30FC-\u30FF\u3105-\u312D\u3131-\u318E\u31A0-\u31BA\u31F0-\u31FF\u3400-\u4DB5\u4E00-\u9FD5\uA000-\uA48C\uA4D0-\uA4FD\uA500-\uA60C\uA610-\uA62B\uA640-\uA66F\uA674-\uA67D\uA67F-\uA6F1\uA717-\uA71F\uA722-\uA788\uA78B-\uA7AD\uA7B0-\uA7B7\uA7F7-\uA827\uA840-\uA873\uA880-\uA8C4\uA8D0-\uA8D9\uA8E0-\uA8F7\uA8FB\uA8FD\uA900-\uA92D\uA930-\uA953\uA960-\uA97C\uA980-\uA9C0\uA9CF-\uA9D9\uA9E0-\uA9FE\uAA00-\uAA36\uAA40-\uAA4D\uAA50-\uAA59\uAA60-\uAA76\uAA7A-\uAAC2\uAADB-\uAADD\uAAE0-\uAAEF\uAAF2-\uAAF6\uAB01-\uAB06\uAB09-\uAB0E\uAB11-\uAB16\uAB20-\uAB26\uAB28-\uAB2E\uAB30-\uAB5A\uAB5C-\uAB65\uAB70-\uABEA\uABEC\uABED\uABF0-\uABF9\uAC00-\uD7A3\uD7B0-\uD7C6\uD7CB-\uD7FB\uF900-\uFA6D\uFA70-\uFAD9\uFB00-\uFB06\uFB13-\uFB17\uFB1D-\uFB28\uFB2A-\uFB36\uFB38-\uFB3C\uFB3E\uFB40\uFB41\uFB43\uFB44\uFB46-\uFBB1\uFBD3-\uFD3D\uFD50-\uFD8F\uFD92-\uFDC7\uFDF0-\uFDFB\uFE00-\uFE0F\uFE20-\uFE2F\uFE33\uFE34\uFE4D-\uFE4F\uFE70-\uFE74\uFE76-\uFEFC\uFF10-\uFF19\uFF21-\uFF3A\uFF3F\uFF41-\uFF5A\uFF66-\uFFBE\uFFC2-\uFFC7\uFFCA-\uFFCF\uFFD2-\uFFD7\uFFDA-\uFFDC]|\uD800[\uDC00-\uDC0B\uDC0D-\uDC26\uDC28-\uDC3A\uDC3C\uDC3D\uDC3F-\uDC4D\uDC50-\uDC5D\uDC80-\uDCFA\uDD40-\uDD74\uDDFD\uDE80-\uDE9C\uDEA0-\uDED0\uDEE0\uDF00-\uDF1F\uDF30-\uDF4A\uDF50-\uDF7A\uDF80-\uDF9D\uDFA0-\uDFC3\uDFC8-\uDFCF\uDFD1-\uDFD5]|\uD801[\uDC00-\uDC9D\uDCA0-\uDCA9\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\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[\uDC80-\uDCC5\uDCC7\uDCD0-\uDCD9\uDD80-\uDDB5\uDDB8-\uDDC0\uDDD8-\uDDDD\uDE00-\uDE40\uDE44\uDE50-\uDE59\uDE80-\uDEB7\uDEC0-\uDEC9\uDF00-\uDF19\uDF1D-\uDF2B\uDF30-\uDF39]|\uD806[\uDCA0-\uDCE9\uDCFF\uDEC0-\uDEF8]|\uD808[\uDC00-\uDF99]|\uD809[\uDC00-\uDC6E\uDC80-\uDD43]|[\uD80C\uD840-\uD868\uD86A-\uD86C\uD86F-\uD872][\uDC00-\uDFFF]|\uD80D[\uDC00-\uDC2E]|\uD811[\uDC00-\uDE46]|\uD81A[\uDC00-\uDE38\uDE40-\uDE5E\uDE60-\uDE69\uDED0-\uDEED\uDEF0-\uDEF4\uDF00-\uDF36\uDF40-\uDF43\uDF50-\uDF59\uDF63-\uDF77\uDF7D-\uDF8F]|\uD81B[\uDF00-\uDF44\uDF50-\uDF7E\uDF8F-\uDF9F]|\uD82C[\uDC00\uDC01]|\uD82F[\uDC00-\uDC6A\uDC70-\uDC7C\uDC80-\uDC88\uDC90-\uDC99\uDC9D\uDC9E]|\uD834[\uDD65-\uDD69\uDD6D-\uDD72\uDD7B-\uDD82\uDD85-\uDD8B\uDDAA-\uDDAD\uDE42-\uDE44]|\uD835[\uDC00-\uDC54\uDC56-\uDC9C\uDC9E\uDC9F\uDCA2\uDCA5\uDCA6\uDCA9-\uDCAC\uDCAE-\uDCB9\uDCBB\uDCBD-\uDCC3\uDCC5-\uDD05\uDD07-\uDD0A\uDD0D-\uDD14\uDD16-\uDD1C\uDD1E-\uDD39\uDD3B-\uDD3E\uDD40-\uDD44\uDD46\uDD4A-\uDD50\uDD52-\uDEA5\uDEA8-\uDEC0\uDEC2-\uDEDA\uDEDC-\uDEFA\uDEFC-\uDF14\uDF16-\uDF34\uDF36-\uDF4E\uDF50-\uDF6E\uDF70-\uDF88\uDF8A-\uDFA8\uDFAA-\uDFC2\uDFC4-\uDFCB\uDFCE-\uDFFF]|\uD836[\uDE00-\uDE36\uDE3B-\uDE6C\uDE75\uDE84\uDE9B-\uDE9F\uDEA1-\uDEAF]|\uD83A[\uDC00-\uDCC4\uDCD0-\uDCD6]|\uD83B[\uDE00-\uDE03\uDE05-\uDE1F\uDE21\uDE22\uDE24\uDE27\uDE29-\uDE32\uDE34-\uDE37\uDE39\uDE3B\uDE42\uDE47\uDE49\uDE4B\uDE4D-\uDE4F\uDE51\uDE52\uDE54\uDE57\uDE59\uDE5B\uDE5D\uDE5F\uDE61\uDE62\uDE64\uDE67-\uDE6A\uDE6C-\uDE72\uDE74-\uDE77\uDE79-\uDE7C\uDE7E\uDE80-\uDE89\uDE8B-\uDE9B\uDEA1-\uDEA3\uDEA5-\uDEA9\uDEAB-\uDEBB]|\uD869[\uDC00-\uDED6\uDF00-\uDFFF]|\uD86D[\uDC00-\uDF34\uDF40-\uDFFF]|\uD86E[\uDC00-\uDC1D\uDC20-\uDFFF]|\uD873[\uDC00-\uDEA1]|\uD87E[\uDC00-\uDE1D]|\uDB40[\uDD00-\uDDEF])+/};function get_full_char(E,k){if(is_surrogate_pair_head(E.charCodeAt(k))){if(is_surrogate_pair_tail(E.charCodeAt(k+1))){return E.charAt(k)+E.charAt(k+1)}}else if(is_surrogate_pair_tail(E.charCodeAt(k))){if(is_surrogate_pair_head(E.charCodeAt(k-1))){return E.charAt(k-1)+E.charAt(k)}}return E.charAt(k)}function get_full_char_code(E,k){if(is_surrogate_pair_head(E.charCodeAt(k))){return 65536+(E.charCodeAt(k)-55296<<10)+E.charCodeAt(k+1)-56320}return E.charCodeAt(k)}function get_full_char_length(E){var k=0;for(var S=0;S65535){E-=65536;return String.fromCharCode((E>>10)+55296)+String.fromCharCode(E%1024+56320)}return String.fromCharCode(E)}function is_surrogate_pair_head(E){return E>=55296&&E<=56319}function is_surrogate_pair_tail(E){return E>=56320&&E<=57343}function is_digit(E){return E>=48&&E<=57}function is_identifier_start(E){return ze.ID_Start.test(E)}function is_identifier_char(E){return ze.ID_Continue.test(E)}const Ue=/^[a-z_$][a-z0-9_$]*$/i;function is_basic_identifier_string(E){return Ue.test(E)}function is_identifier_string(E,k){if(Ue.test(E)){return true}if(!k&&/[\ud800-\udfff]/.test(E)){return false}var S=ze.ID_Start.exec(E);if(!S||S.index!==0){return false}E=E.slice(S[0].length);if(!E){return true}S=ze.ID_Continue.exec(E);return!!S&&S[0].length===E.length}function parse_js_number(E,k=true){if(!k&&E.includes("e")){return NaN}if(Ce.test(E)){return parseInt(E.substr(2),16)}else if(Me.test(E)){return parseInt(E.substr(1),8)}else if(Te.test(E)){return parseInt(E.substr(2),8)}else if(Ie.test(E)){return parseInt(E.substr(2),2)}else if(Oe.test(E)){return parseFloat(E)}else{var S=parseFloat(E);if(S==E)return S}}class JS_Parse_Error extends Error{constructor(E,k,S,w,N){super();this.name="SyntaxError";this.message=E;this.filename=k;this.line=S;this.col=w;this.pos=N}}function js_error(E,k,S,w,N){throw new JS_Parse_Error(E,k,S,w,N)}function is_token(E,k,S){return E.type==k&&(S==null||E.value==S)}var Ge={};function tokenizer(E,k,S,w){var N={text:E,filename:k,pos:0,tokpos:0,line:1,tokline:0,col:0,tokcol:0,newline_before:false,regex_allowed:false,brace_counter:0,template_braces:[],comments_before:[],directives:{},directive_stack:[]};function peek(){return get_full_char(N.text,N.pos)}function is_option_chain_op(){const E=N.text.charCodeAt(N.pos+1)===46;if(!E)return false;const k=N.text.charCodeAt(N.pos+2);return k<48||k>57}function next(E,k){var S=get_full_char(N.text,N.pos++);if(E&&!S)throw Ge;if(Be.has(S)){N.newline_before=N.newline_before||!k;++N.line;N.col=0;if(S=="\r"&&peek()=="\n"){++N.pos;S="\n"}}else{if(S.length>1){++N.pos;++N.col}++N.col}return S}function forward(E){while(E--)next()}function looking_at(E){return N.text.substr(N.pos,E.length)==E}function find_eol(){var E=N.text;for(var k=N.pos,S=N.text.length;k="0"&&E<="7"}function read_escaped_char(E,k,S){var w=next(true,E);switch(w.charCodeAt(0)){case 110:return"\n";case 114:return"\r";case 116:return"\t";case 98:return"\b";case 118:return"\v";case 102:return"\f";case 120:return String.fromCharCode(hex_bytes(2,k));case 117:if(peek()=="{"){next(true);if(peek()==="}")parse_error("Expecting hex-character between {}");while(peek()=="0")next(true);var j,q=find("}",true)-N.pos;if(q>6||(j=hex_bytes(q,k))>1114111){parse_error("Unicode reference out of bounds")}next(true);return from_char_code(j)}return String.fromCharCode(hex_bytes(4,k));case 10:return"";case 13:if(peek()=="\n"){next(true,E);return""}}if(is_octal(w)){if(S&&k){const E=w==="0"&&!is_octal(peek());if(!E){parse_error("Octal escape sequences are not allowed in template strings")}}return read_octal_escape_sequence(w,k)}return w}function read_octal_escape_sequence(E,k){var S=peek();if(S>="0"&&S<="7"){E+=next(true);if(E[0]<="3"&&(S=peek())>="0"&&S<="7")E+=next(true)}if(E==="0")return"\0";if(E.length>0&&next_token.has_directive("use strict")&&k)parse_error("Legacy octal escape sequences are not allowed in strict mode");return String.fromCharCode(parseInt(E,8))}function hex_bytes(E,k){var S=0;for(;E>0;--E){if(!k&&isNaN(parseInt(peek(),16))){return parseInt(S,16)||""}var w=next(true);if(isNaN(parseInt(w,16)))parse_error("Invalid hex-character pattern in string");S+=w}return parseInt(S,16)}var Te=with_eof_error("Unterminated string constant",(function(){const E=N.pos;var k=next(),S=[];for(;;){var w=next(true,true);if(w=="\\")w=read_escaped_char(true,true);else if(w=="\r"||w=="\n")parse_error("Unterminated string constant");else if(w==k)break;S.push(w)}var j=token("string",S.join(""));ee=N.text.slice(E,N.pos);j.quote=k;return j}));var Ie=with_eof_error("Unterminated template",(function(E){if(E){N.template_braces.push(N.brace_counter)}var k="",S="",w,j;next(true,true);while((w=next(true,true))!="`"){if(w=="\r"){if(peek()=="\n")++N.pos;w="\n"}else if(w=="$"&&peek()=="{"){next(true,true);N.brace_counter++;j=token(E?"template_head":"template_substitution",k);ee=S;te=false;return j}S+=w;if(w=="\\"){var ne=N.pos;var ae=q&&(q.type==="name"||q.type==="punc"&&(q.value===")"||q.value==="]"));w=read_escaped_char(true,!ae,true);S+=N.text.substr(ne,N.pos-ne)}k+=w}N.template_braces.pop();j=token(E?"template_head":"template_substitution",k);ee=S;te=true;return j}));function skip_line_comment(E){var k=N.regex_allowed;var S=find_eol(),w;if(S==-1){w=N.text.substr(N.pos);N.pos=N.text.length}else{w=N.text.substring(N.pos,S);N.pos=S}N.col=N.tokcol+(N.pos-N.tokpos);N.comments_before.push(token(E,w,true));N.regex_allowed=k;return next_token}var Oe=with_eof_error("Unterminated multiline comment",(function(){var E=N.regex_allowed;var k=find("*/",true);var S=N.text.substring(N.pos,k).replace(/\r\n|\r|\u2028|\u2029/g,"\n");forward(get_full_char_length(S)+2);N.comments_before.push(token("comment2",S,true));N.newline_before=N.newline_before||S.includes("\n");N.regex_allowed=E;return next_token}));var Le=with_eof_error("Unterminated identifier name",(function(){var E=[],k,S=false;var read_escaped_identifier_char=function(){S=true;next();if(peek()!=="u"){parse_error("Expecting UnicodeEscapeSequence -- uXXXX or u{XXXX}")}return read_escaped_char(false,true)};if((k=peek())==="\\"){k=read_escaped_identifier_char();if(!is_identifier_start(k)){parse_error("First identifier char is an invalid identifier char")}}else if(is_identifier_start(k)){next()}else{return""}E.push(k);while((k=peek())!=null){if((k=peek())==="\\"){k=read_escaped_identifier_char();if(!is_identifier_char(k)){parse_error("Invalid escaped identifier char")}}else{if(!is_identifier_char(k)){break}next()}E.push(k)}const w=E.join("");if(_e.has(w)&&S){parse_error("Escaped characters are not allowed in keywords")}return w}));var ze=with_eof_error("Unterminated regular expression",(function(E){var k=false,S,w=false;while(S=next(true))if(Be.has(S)){parse_error("Unexpected line terminator")}else if(k){E+="\\"+S;k=false}else if(S=="["){w=true;E+=S}else if(S=="]"&&w){w=false;E+=S}else if(S=="/"&&!w){break}else if(S=="\\"){k=true}else{E+=S}const N=Le();return token("regexp","/"+E+"/"+N)}));function read_operator(E){function grow(E){if(!peek())return E;var k=E+peek();if(Fe.has(k)){next();return grow(k)}else{return E}}return token("operator",grow(E||next()))}function handle_slash(){next();switch(peek()){case"/":next();return skip_line_comment("comment1");case"*":next();return Oe()}return N.regex_allowed?ze(""):read_operator("/")}function handle_eq_sign(){next();if(peek()===">"){next();return token("arrow","=>")}else{return read_operator("=")}}function handle_dot(){next();if(is_digit(peek().charCodeAt(0))){return read_num(".")}if(peek()==="."){next();next();return token("expand","...")}return token("punc",".")}function read_word(){var E=Le();if(j)return token("name",E);return ae.has(E)?token("atom",E):!ne.has(E)?token("name",E):Fe.has(E)?token("operator",E):token("keyword",E)}function read_private_word(){next();return token("privatename",Le())}function with_eof_error(E,k){return function(S){try{return k(S)}catch(k){if(k===Ge)parse_error(E);else throw k}}}function next_token(E){if(E!=null)return ze(E);if(w&&N.pos==0&&looking_at("#!")){start_token();forward(2);skip_line_comment("comment5")}for(;;){skip_whitespace();start_token();if(S){if(looking_at("\x3c!--")){forward(4);skip_line_comment("comment3");continue}if(looking_at("--\x3e")&&N.newline_before){forward(3);skip_line_comment("comment4");continue}}var k=peek();if(!k)return token("eof");var j=k.charCodeAt(0);switch(j){case 34:case 39:return Te();case 46:return handle_dot();case 47:{var q=handle_slash();if(q===next_token)continue;return q}case 61:return handle_eq_sign();case 63:{if(!is_option_chain_op())break;next();next();return token("punc","?.")}case 96:return Ie(true);case 123:N.brace_counter++;break;case 125:N.brace_counter--;if(N.template_braces.length>0&&N.template_braces[N.template_braces.length-1]===N.brace_counter)return Ie(false);break}if(is_digit(j))return read_num();if($e.has(k))return token("punc",next());if(Ee.has(k))return read_operator();if(j==92||is_identifier_start(k))return read_word();if(j==35)return read_private_word();break}parse_error("Unexpected character '"+k+"'")}next_token.next=next;next_token.peek=peek;next_token.context=function(E){if(E)N=E;return N};next_token.add_directive=function(E){N.directive_stack[N.directive_stack.length-1].push(E);if(N.directives[E]===undefined){N.directives[E]=1}else{N.directives[E]++}};next_token.push_directives_stack=function(){N.directive_stack.push([])};next_token.pop_directives_stack=function(){var E=N.directive_stack[N.directive_stack.length-1];for(var k=0;k0};return next_token}var qe=makePredicate(["typeof","void","delete","--","++","!","~","-","+"]);var Ve=makePredicate(["--","++"]);var He=makePredicate(["=","+=","-=","??=","&&=","||=","/=","*=","**=","%=",">>=","<<=",">>>=","|=","^=","&="]);var We=makePredicate(["??=","&&=","||="]);var Ke=function(E,k){for(var S=0;S","<=",">=","in","instanceof"],[">>","<<",">>>"],["+","-"],["*","/","%"],["**"]],{});var Xe=makePredicate(["atom","num","big_int","string","regexp","name"]);function parse(E,k){const S=new WeakMap;k=defaults(k,{bare_returns:false,ecma:null,expression:false,filename:null,html5_comments:true,module:false,shebang:true,strict:false,toplevel:null},true);var w={input:typeof E=="string"?tokenizer(E,k.filename,k.html5_comments,k.shebang):E,token:null,prev:null,peeked:null,in_function:0,in_async:-1,in_generator:-1,in_directives:true,in_loop:0,labels:[]};w.token=next();function is(E,k){return is_token(w.token,E,k)}function peek(){return w.peeked||(w.peeked=w.input())}function next(){w.prev=w.token;if(!w.peeked)peek();w.token=w.peeked;w.peeked=null;w.in_directives=w.in_directives&&(w.token.type=="string"||is("punc",";"));return w.token}function prev(){return w.prev}function croak(E,k,S,N){var j=w.input.context();js_error(E,j.filename,k!=null?k:j.tokline,S!=null?S:j.tokcol,N!=null?N:j.tokpos)}function token_error(E,k){croak(k,E.line,E.col)}function unexpected(E){if(E==null)E=w.token;token_error(E,"Unexpected token: "+E.type+" ("+E.value+")")}function expect_token(E,k){if(is(E,k)){return next()}token_error(w.token,"Unexpected token "+w.token.type+" «"+w.token.value+"»"+", expected "+E+" «"+k+"»")}function expect(E){return expect_token("punc",E)}function has_newline_before(E){return E.nlb||!E.comments_before.every((E=>!E.nlb))}function can_insert_semicolon(){return!k.strict&&(is("eof")||is("punc","}")||has_newline_before(w.token))}function is_in_generator(){return w.in_generator===w.in_function}function is_in_async(){return w.in_async===w.in_function}function can_await(){return w.in_async===w.in_function||w.in_function===0&&w.input.has_directive("use strict")}function semicolon(E){if(is("punc",";"))next();else if(!E&&!can_insert_semicolon())unexpected()}function parenthesised(){expect("(");var E=expression(true);expect(")");return E}function embed_tokens(E){return function _embed_tokens_wrapper(...k){const S=w.token;const N=E(...k);N.start=S;N.end=prev();return N}}function handle_regexp(){if(is("operator","/")||is("operator","/=")){w.peeked=null;w.token=w.input(w.token.value.substr(1))}}var N=embed_tokens((function statement(E,S,N){handle_regexp();switch(w.token.type){case"string":if(w.in_directives){var j=peek();if(!ee.includes("\\")&&(is_token(j,"punc",";")||is_token(j,"punc","}")||has_newline_before(j)||is_token(j,"eof"))){w.input.add_directive(w.token.value)}else{w.in_directives=false}}var q=w.in_directives,te=simple_statement();return q&&te.body instanceof sr?new nt(te.body):te;case"template_head":case"num":case"big_int":case"regexp":case"operator":case"atom":return simple_statement();case"name":if(w.token.value=="async"&&is_token(peek(),"keyword","function")){next();next();if(S){croak("functions are not allowed as the body of a loop")}return function_(wt,false,true,E)}if(w.token.value=="import"&&!is_token(peek(),"punc","(")&&!is_token(peek(),"punc",".")){next();var ne=import_();semicolon();return ne}return is_token(peek(),"punc",":")?labeled_statement():simple_statement();case"punc":switch(w.token.value){case"{":return new st({start:w.token,body:block_(),end:prev()});case"[":case"(":return simple_statement();case";":w.in_directives=false;next();return new ot;default:unexpected()}case"keyword":switch(w.token.value){case"break":next();return break_cont(Ft);case"continue":next();return break_cont(Nt);case"debugger":next();semicolon();return new tt;case"do":next();var ae=in_loop(statement);expect_token("keyword","while");var _e=parenthesised();semicolon(true);return new ft({body:ae,condition:_e});case"while":next();return new dt({condition:parenthesised(),body:in_loop((function(){return statement(false,true)}))});case"for":next();return for_();case"class":next();if(S){croak("classes are not allowed as the body of a loop")}if(N){croak("classes are not allowed as the body of an if")}return class_(Pn,E);case"function":next();if(S){croak("functions are not allowed as the body of a loop")}return function_(wt,false,false,E);case"if":next();return if_();case"return":if(w.in_function==0&&!k.bare_returns)croak("'return' outside of function");next();var ve=null;if(is("punc",";")){next()}else if(!can_insert_semicolon()){ve=expression(true);semicolon()}return new Pt({value:ve});case"switch":next();return new $t({expression:parenthesised(),body:in_loop(switch_body_)});case"throw":next();if(has_newline_before(w.token))croak("Illegal newline after 'throw'");var ve=expression(true);semicolon();return new Ot({value:ve});case"try":next();return try_();case"var":next();var ne=var_();semicolon();return ne;case"let":next();var ne=let_();semicolon();return ne;case"const":next();var ne=const_();semicolon();return ne;case"with":if(w.input.has_directive("use strict")){croak("Strict mode may not include a with statement")}next();return new yt({expression:parenthesised(),body:statement()});case"export":if(!is_token(peek(),"punc","(")){next();var ne=export_();if(is("punc",";"))semicolon();return ne}}}unexpected()}));function labeled_statement(){var E=as_symbol(Jn);if(E.name==="await"&&is_in_async()){token_error(w.prev,"await cannot be used as label inside async function")}if(w.labels.some((k=>k.name===E.name))){croak("Label "+E.name+" defined twice")}expect(":");w.labels.push(E);var k=N();w.labels.pop();if(!(k instanceof ct)){E.references.forEach((function(k){if(k instanceof Nt){k=k.label.start;croak("Continue label `"+E.name+"` refers to non-IterationStatement.",k.line,k.col,k.pos)}}))}return new lt({body:k,label:E})}function simple_statement(E){return new rt({body:(E=expression(true),semicolon(),E)})}function break_cont(E){var k=null,S;if(!can_insert_semicolon()){k=as_symbol(tr,true)}if(k!=null){S=w.labels.find((E=>E.name===k.name));if(!S)croak("Undefined label "+k.name);k.thedef=S}else if(w.in_loop==0)croak(E.TYPE+" not inside a loop or switch");semicolon();var N=new E({label:k});if(S)S.references.push(N);return N}function for_(){var E="`for await` invalid in this context";var k=w.token;if(k.type=="name"&&k.value=="await"){if(!can_await()){token_error(k,E)}next()}else{k=false}expect("(");var S=null;if(!is("punc",";")){S=is("keyword","var")?(next(),var_(true)):is("keyword","let")?(next(),let_(true)):is("keyword","const")?(next(),const_(true)):expression(true,true);var N=is("operator","in");var j=is("name","of");if(k&&!j){token_error(k,E)}if(N||j){if(S instanceof Wt){if(S.definitions.length>1)token_error(S.start,"Only one variable declaration allowed in for..in loop")}else if(!(is_assignable(S)||(S=to_destructuring(S))instanceof At)){token_error(S.start,"Invalid left-hand side in for..in loop")}next();if(N){return for_in(S)}else{return for_of(S,!!k)}}}else if(k){token_error(k,E)}return regular_for(S)}function regular_for(E){expect(";");var k=is("punc",";")?null:expression(true);expect(";");var S=is("punc",")")?null:expression(true);expect(")");return new ht({init:E,condition:k,step:S,body:in_loop((function(){return N(false,true)}))})}function for_of(E,k){var S=E instanceof Wt?E.definitions[0].name:null;var w=expression(true);expect(")");return new gt({await:k,init:E,name:S,object:w,body:in_loop((function(){return N(false,true)}))})}function for_in(E){var k=expression(true);expect(")");return new mt({init:E,object:k,body:in_loop((function(){return N(false,true)}))})}var arrow_function=function(E,k,S){if(has_newline_before(w.token)){croak("Unexpected newline before arrow (=>)")}expect_token("arrow","=>");var N=_function_body(is("punc","{"),false,S);var j=N instanceof Array&&N.length?N[N.length-1].end:N instanceof Array?E:N.end;return new St({start:E,end:j,async:S,argnames:k,body:N})};var function_=function(E,k,S,w){var N=E===wt;var j=is("operator","*");if(j){next()}var q=is("name")?as_symbol(N?Un:Vn):null;if(N&&!q){if(w){E=xt}else{unexpected()}}if(q&&E!==kt&&!(q instanceof Nn))unexpected(prev());var ee=[];var te=_function_body(true,j||k,S,q,ee);return new E({start:ee.start,end:te.end,is_generator:j,async:S,name:q,argnames:ee,body:te})};function track_used_binding_identifiers(E,k){var S=new Set;var w=false;var N=false;var j=false;var q=!!k;var ee={add_parameter:function(k){if(S.has(k.value)){if(w===false){w=k}ee.check_strict()}else{S.add(k.value);if(E){switch(k.value){case"arguments":case"eval":case"yield":if(q){token_error(k,"Unexpected "+k.value+" identifier as parameter inside strict mode")}break;default:if(_e.has(k.value)){unexpected()}}}}},mark_default_assignment:function(E){if(N===false){N=E}},mark_spread:function(E){if(j===false){j=E}},mark_strict_mode:function(){q=true},is_strict:function(){return N!==false||j!==false||q},check_strict:function(){if(ee.is_strict()&&w!==false){token_error(w,"Parameter "+w.value+" was used already")}}};return ee}function parameters(E){var k=track_used_binding_identifiers(true,w.input.has_directive("use strict"));expect("(");while(!is("punc",")")){var S=parameter(k);E.push(S);if(!is("punc",")")){expect(",")}if(S instanceof bt){break}}next()}function parameter(E,k){var S;var N=false;if(E===undefined){E=track_used_binding_identifiers(true,w.input.has_directive("use strict"))}if(is("expand","...")){N=w.token;E.mark_spread(w.token);next()}S=binding_element(E,k);if(is("operator","=")&&N===false){E.mark_default_assignment(w.token);next();S=new _n({start:S.start,left:S,operator:"=",right:expression(false),end:w.token})}if(N!==false){if(!is("punc",")")){unexpected()}S=new bt({start:N,expression:S,end:N})}E.check_strict();return S}function binding_element(E,k){var S=[];var N=true;var j=false;var q;var ee=w.token;if(E===undefined){E=track_used_binding_identifiers(false,w.input.has_directive("use strict"))}k=k===undefined?zn:k;if(is("punc","[")){next();while(!is("punc","]")){if(N){N=false}else{expect(",")}if(is("expand","...")){j=true;q=w.token;E.mark_spread(w.token);next()}if(is("punc")){switch(w.token.value){case",":S.push(new hr({start:w.token,end:w.token}));continue;case"]":break;case"[":case"{":S.push(binding_element(E,k));break;default:unexpected()}}else if(is("name")){E.add_parameter(w.token);S.push(as_symbol(k))}else{croak("Invalid function parameter")}if(is("operator","=")&&j===false){E.mark_default_assignment(w.token);next();S[S.length-1]=new _n({start:S[S.length-1].start,left:S[S.length-1],operator:"=",right:expression(false),end:w.token})}if(j){if(!is("punc","]")){croak("Rest element must be last element")}S[S.length-1]=new bt({start:q,expression:S[S.length-1],end:q})}}expect("]");E.check_strict();return new At({start:ee,names:S,is_array:true,end:prev()})}else if(is("punc","{")){next();while(!is("punc","}")){if(N){N=false}else{expect(",")}if(is("expand","...")){j=true;q=w.token;E.mark_spread(w.token);next()}if(is("name")&&(is_token(peek(),"punc")||is_token(peek(),"operator"))&&[",","}","="].includes(peek().value)){E.add_parameter(w.token);var te=prev();var ne=as_symbol(k);if(j){S.push(new bt({start:q,expression:ne,end:ne.end}))}else{S.push(new kn({start:te,key:ne.name,value:ne,end:ne.end}))}}else if(is("punc","}")){continue}else{var ae=w.token;var _e=as_property_name();if(_e===null){unexpected(prev())}else if(prev().type==="name"&&!is("punc",":")){S.push(new kn({start:prev(),key:_e,value:new k({start:prev(),name:_e,end:prev()}),end:prev()}))}else{expect(":");S.push(new kn({start:ae,quote:ae.quote,key:_e,value:binding_element(E,k),end:prev()}))}}if(j){if(!is("punc","}")){croak("Rest element must be last element")}}else if(is("operator","=")){E.mark_default_assignment(w.token);next();S[S.length-1].value=new _n({start:S[S.length-1].value.start,left:S[S.length-1].value,operator:"=",right:expression(false),end:w.token})}}expect("}");E.check_strict();return new At({start:ee,names:S,is_array:false,end:prev()})}else if(is("name")){E.add_parameter(w.token);return as_symbol(k)}else{croak("Invalid function parameter")}}function params_or_seq_(E,k){var S;var N;var j;var q=[];expect("(");while(!is("punc",")")){if(S)unexpected(S);if(is("expand","...")){S=w.token;if(k)N=w.token;next();q.push(new bt({start:prev(),expression:expression(),end:w.token}))}else{q.push(expression())}if(!is("punc",")")){expect(",");if(is("punc",")")){j=prev();if(k)N=j}}}expect(")");if(E&&is("arrow","=>")){if(S&&j)unexpected(j)}else if(N){unexpected(N)}return q}function _function_body(E,k,S,N,j){var q=w.in_loop;var ee=w.labels;var te=w.in_generator;var ne=w.in_async;++w.in_function;if(k)w.in_generator=w.in_function;if(S)w.in_async=w.in_function;if(j)parameters(j);if(E)w.in_directives=true;w.in_loop=0;w.labels=[];if(E){w.input.push_directives_stack();var ae=block_();if(N)_verify_symbol(N);if(j)j.forEach(_verify_symbol);w.input.pop_directives_stack()}else{var ae=[new Pt({start:w.token,value:expression(false),end:w.token})]}--w.in_function;w.in_loop=q;w.labels=ee;w.in_generator=te;w.in_async=ne;return ae}function _await_expression(){if(!can_await()){croak("Unexpected await expression outside async function",w.prev.line,w.prev.col,w.prev.pos)}return new Bt({start:prev(),end:w.token,expression:maybe_unary(true)})}function _yield_expression(){if(!is_in_generator()){croak("Unexpected yield expression outside generator function",w.prev.line,w.prev.col,w.prev.pos)}var E=w.token;var k=false;var S=true;if(can_insert_semicolon()||is("punc")&&Le.has(w.token.value)){S=false}else if(is("operator","*")){k=true;next()}return new Lt({start:E,is_star:k,expression:S?expression():null,end:prev()})}function if_(){var E=parenthesised(),k=N(false,false,true),S=null;if(is("keyword","else")){next();S=N(false,false,true)}return new jt({condition:E,body:k,alternative:S})}function block_(){expect("{");var E=[];while(!is("punc","}")){if(is("eof"))unexpected();E.push(N())}next();return E}function switch_body_(){expect("{");var E=[],k=null,S=null,j;while(!is("punc","}")){if(is("eof"))unexpected();if(is("keyword","case")){if(S)S.end=prev();k=[];S=new Gt({start:(j=w.token,next(),j),expression:expression(true),body:k});E.push(S);expect(":")}else if(is("keyword","default")){if(S)S.end=prev();k=[];S=new Ut({start:(j=w.token,next(),expect(":"),j),body:k});E.push(S)}else{if(!k)unexpected();k.push(N())}}if(S)S.end=prev();next();return E}function try_(){var E=block_(),k=null,S=null;if(is("keyword","catch")){var N=w.token;next();if(is("punc","{")){var j=null}else{expect("(");var j=parameter(undefined,Kn);expect(")")}k=new Vt({start:N,argname:j,body:block_(),end:prev()})}if(is("keyword","finally")){var N=w.token;next();S=new Ht({start:N,body:block_(),end:prev()})}if(!k&&!S)croak("Missing catch/finally blocks");return new qt({body:E,bcatch:k,bfinally:S})}function vardefs(E,k){var S=[];var N;for(;;){var j=k==="var"?Bn:k==="const"?jn:k==="let"?$n:null;if(is("punc","{")||is("punc","[")){N=new Jt({start:w.token,name:binding_element(undefined,j),value:is("operator","=")?(expect_token("operator","="),expression(false,E)):null,end:prev()})}else{N=new Jt({start:w.token,name:as_symbol(j),value:is("operator","=")?(next(),expression(false,E)):!E&&k==="const"?croak("Missing initializer in const declaration"):null,end:prev()});if(N.name.name=="import")croak("Unexpected token: import")}S.push(N);if(!is("punc",","))break;next()}return S}var var_=function(E){return new Kt({start:prev(),definitions:vardefs(E,"var"),end:prev()})};var let_=function(E){return new Xt({start:prev(),definitions:vardefs(E,"let"),end:prev()})};var const_=function(E){return new Qt({start:prev(),definitions:vardefs(E,"const"),end:prev()})};var new_=function(E){var k=w.token;expect_token("operator","new");if(is("punc",".")){next();expect_token("name","target");return subscripts(new Fn({start:k,end:prev()}),E)}var S=expr_atom(false),N;if(is("punc","(")){next();N=expr_list(")",true)}else{N=[]}var j=new rn({start:k,expression:S,args:N,end:prev()});annotate(j);return subscripts(j,E)};function as_atom_node(){var E=w.token,k;switch(E.type){case"name":k=_make_symbol(Yn);break;case"num":k=new ar({start:E,end:E,value:E.value,raw:ee});break;case"big_int":k=new ur({start:E,end:E,value:E.value});break;case"string":k=new sr({start:E,end:E,value:E.value,quote:E.quote});break;case"regexp":const[S,w,N]=E.value.match(/^\/(.*)\/(\w*)$/);k=new lr({start:E,end:E,value:{source:w,flags:N}});break;case"atom":switch(E.value){case"false":k=new yr({start:E,end:E});break;case"true":k=new _r({start:E,end:E});break;case"null":k=new pr({start:E,end:E});break}break}next();return k}function to_fun_args(E,k){var insert_default=function(E,k){if(k){return new _n({start:E.start,left:E,operator:"=",right:k,end:k.end})}return E};if(E instanceof bn){return insert_default(new At({start:E.start,end:E.end,is_array:false,names:E.properties.map((E=>to_fun_args(E)))}),k)}else if(E instanceof kn){E.value=to_fun_args(E.value);return insert_default(E,k)}else if(E instanceof hr){return E}else if(E instanceof At){E.names=E.names.map((E=>to_fun_args(E)));return insert_default(E,k)}else if(E instanceof Yn){return insert_default(new zn({name:E.name,start:E.start,end:E.end}),k)}else if(E instanceof bt){E.expression=to_fun_args(E.expression);return insert_default(E,k)}else if(E instanceof vn){return insert_default(new At({start:E.start,end:E.end,is_array:true,names:E.elements.map((E=>to_fun_args(E)))}),k)}else if(E instanceof yn){return insert_default(to_fun_args(E.left,E.right),k)}else if(E instanceof _n){E.left=to_fun_args(E.left);return E}else{croak("Invalid function parameter",E.start.line,E.start.col)}}var expr_atom=function(E,k){if(is("operator","new")){return new_(E)}if(is("operator","import")){return import_meta()}var N=w.token;var q;var ee=is("name","async")&&(q=peek()).value!="["&&q.type!="arrow"&&as_atom_node();if(is("punc")){switch(w.token.value){case"(":if(ee&&!E)break;var te=params_or_seq_(k,!ee);if(k&&is("arrow","=>")){return arrow_function(N,te.map((E=>to_fun_args(E))),!!ee)}var ae=ee?new nn({expression:ee,args:te}):te.length==1?te[0]:new sn({expressions:te});if(ae.start){const E=N.comments_before.length;S.set(N,E);ae.start.comments_before.unshift(...N.comments_before);N.comments_before=ae.start.comments_before;if(E==0&&N.comments_before.length>0){var _e=N.comments_before[0];if(!_e.nlb){_e.nlb=N.nlb;N.nlb=false}}N.comments_after=ae.start.comments_after}ae.start=N;var ve=prev();if(ae.end){ve.comments_before=ae.end.comments_before;ae.end.comments_after.push(...ve.comments_after);ve.comments_after=ae.end.comments_after}ae.end=ve;if(ae instanceof nn)annotate(ae);return subscripts(ae,E);case"[":return subscripts(j(),E);case"{":return subscripts(ne(),E)}if(!ee)unexpected()}if(k&&is("name")&&is_token(peek(),"arrow")){var Ee=new zn({name:w.token.value,start:N,end:N});next();return arrow_function(N,[Ee],!!ee)}if(is("keyword","function")){next();var we=function_(xt,false,!!ee);we.start=N;we.end=prev();return subscripts(we,E)}if(ee)return subscripts(ee,E);if(is("keyword","class")){next();var Ce=class_(On);Ce.start=N;Ce.end=prev();return subscripts(Ce,E)}if(is("template_head")){return subscripts(template_string(),E)}if(Xe.has(w.token.type)){return subscripts(as_atom_node(),E)}unexpected()};function template_string(){var E=[],k=w.token;E.push(new Mt({start:w.token,raw:ee,value:w.token.value,end:w.token}));while(!te){next();handle_regexp();E.push(expression(true));E.push(new Mt({start:w.token,raw:ee,value:w.token.value,end:w.token}))}next();return new Dt({start:k,segments:E,end:w.token})}function expr_list(E,k,S){var N=true,j=[];while(!is("punc",E)){if(N)N=false;else expect(",");if(k&&is("punc",E))break;if(is("punc",",")&&S){j.push(new hr({start:w.token,end:w.token}))}else if(is("expand","...")){next();j.push(new bt({start:prev(),expression:expression(),end:w.token}))}else{j.push(expression(false))}}next();return j}var j=embed_tokens((function(){expect("[");return new vn({elements:expr_list("]",!k.strict,true)})}));var q=embed_tokens(((E,k)=>function_(kt,E,k)));var ne=embed_tokens((function object_or_destructuring_(){var E=w.token,S=true,N=[];expect("{");while(!is("punc","}")){if(S)S=false;else expect(",");if(!k.strict&&is("punc","}"))break;E=w.token;if(E.type=="expand"){next();N.push(new bt({start:E,expression:expression(false),end:prev()}));continue}var j=as_property_name();var q;if(!is("punc",":")){var ee=concise_method_or_getset(j,E);if(ee){N.push(ee);continue}q=new Yn({start:prev(),name:j,end:prev()})}else if(j===null){unexpected(prev())}else{next();q=expression(false)}if(is("operator","=")){next();q=new yn({start:E,left:q,operator:"=",right:expression(false),logical:false,end:prev()})}N.push(new kn({start:E,quote:E.quote,key:j instanceof Ze?j:""+j,value:q,end:prev()}))}next();return new bn({properties:N})}));function class_(E,k){var S,N,j,q,ee=[];w.input.push_directives_stack();w.input.add_directive("use strict");if(w.token.type=="name"&&w.token.value!="extends"){j=as_symbol(E===Pn?Hn:Wn)}if(E===Pn&&!j){if(k){E=On}else{unexpected()}}if(w.token.value=="extends"){next();q=expression(true)}expect("{");while(is("punc",";")){next()}while(!is("punc","}")){S=w.token;N=concise_method_or_getset(as_property_name(),S,true);if(!N){unexpected()}ee.push(N);while(is("punc",";")){next()}}w.input.pop_directives_stack();next();return new E({start:S,name:j,extends:q,properties:ee,end:prev()})}function concise_method_or_getset(E,k,S){const get_symbol_ast=(E,S=Gn)=>{if(typeof E==="string"||typeof E==="number"){return new S({start:k,name:""+E,end:prev()})}else if(E===null){unexpected()}return E};const is_not_method_start=()=>!is("punc","(")&&!is("punc",",")&&!is("punc","}")&&!is("operator","=");var w=false;var N=false;var j=false;var ee=false;var te=null;if(S&&E==="static"&&is_not_method_start()){N=true;E=as_property_name()}if(E==="async"&&is_not_method_start()){w=true;E=as_property_name()}if(prev().type==="operator"&&prev().value==="*"){j=true;E=as_property_name()}if((E==="get"||E==="set")&&is_not_method_start()){te=E;E=as_property_name()}if(prev().type==="privatename"){ee=true}const ne=prev();if(te!=null){if(!ee){const S=te==="get"?An:wn;E=get_symbol_ast(E);return new S({start:k,static:N,key:E,quote:E instanceof Gn?ne.quote:undefined,value:q(),end:prev()})}else{const S=te==="get"?Sn:xn;return new S({start:k,static:N,key:get_symbol_ast(E),value:q(),end:prev()})}}if(is("punc","(")){E=get_symbol_ast(E);const S=ee?Dn:Cn;var ae=new S({start:k,static:N,is_generator:j,async:w,key:E,quote:E instanceof Gn?ne.quote:undefined,value:q(j,w),end:prev()});return ae}if(S){const S=get_symbol_ast(E,qn);const w=S instanceof qn?ne.quote:undefined;const j=ee?In:Tn;if(is("operator","=")){next();return new j({start:k,static:N,quote:w,key:S,value:expression(false),end:prev()})}else if(is("name")||is("privatename")||is("operator","*")||is("punc",";")||is("punc","}")){return new j({start:k,static:N,quote:w,key:S,end:prev()})}}}function import_(){var E=prev();var k;var S;if(is("name")){k=as_symbol(Xn)}if(is("punc",",")){next()}S=map_names(true);if(S||k){expect_token("name","from")}var N=w.token;if(N.type!=="string"){unexpected()}next();return new Zt({start:E,imported_name:k,imported_names:S,module_name:new sr({start:N,value:N.value,quote:N.quote,end:N}),end:w.token})}function import_meta(){var E=w.token;expect_token("operator","import");expect_token("punc",".");expect_token("name","meta");return subscripts(new en({start:E,end:prev()}),false)}function map_name(E){function make_symbol(E){return new E({name:as_property_name(),start:prev(),end:prev()})}var k=E?Qn:er;var S=E?Xn:Zn;var N=w.token;var j;var q;if(E){j=make_symbol(k)}else{q=make_symbol(S)}if(is("name","as")){next();if(E){q=make_symbol(S)}else{j=make_symbol(k)}}else if(E){q=new S(j)}else{j=new k(q)}return new Yt({start:N,foreign_name:j,name:q,end:prev()})}function map_nameAsterisk(E,k){var S=E?Qn:er;var N=E?Xn:Zn;var j=w.token;var q;var ee=prev();k=k||new N({name:"*",start:j,end:ee});q=new S({name:"*",start:j,end:ee});return new Yt({start:j,foreign_name:q,name:k,end:ee})}function map_names(E){var k;if(is("punc","{")){next();k=[];while(!is("punc","}")){k.push(map_name(E));if(is("punc",",")){next()}}next()}else if(is("operator","*")){var S;next();if(E&&is("name","as")){next();S=as_symbol(E?Xn:er)}k=[map_nameAsterisk(E,S)]}return k}function export_(){var E=w.token;var k;var S;if(is("keyword","default")){k=true;next()}else if(S=map_names(false)){if(is("name","from")){next();var j=w.token;if(j.type!=="string"){unexpected()}next();return new tn({start:E,is_default:k,exported_names:S,module_name:new sr({start:j,value:j.value,quote:j.quote,end:j}),end:prev()})}else{return new tn({start:E,is_default:k,exported_names:S,end:prev()})}}var q;var ee;var te;if(is("punc","{")||k&&(is("keyword","class")||is("keyword","function"))&&is_token(peek(),"punc")){ee=expression(false);semicolon()}else if((q=N(k))instanceof Wt&&k){unexpected(q.start)}else if(q instanceof Wt||q instanceof wt||q instanceof Pn){te=q}else if(q instanceof On||q instanceof xt){ee=q}else if(q instanceof rt){ee=q.body}else{unexpected(q.start)}return new tn({start:E,is_default:k,exported_value:ee,exported_definition:te,end:prev()})}function as_property_name(){var E=w.token;switch(E.type){case"punc":if(E.value==="["){next();var k=expression(false);expect("]");return k}else unexpected(E);case"operator":if(E.value==="*"){next();return null}if(!["delete","in","instanceof","new","typeof","void"].includes(E.value)){unexpected(E)}case"name":case"privatename":case"string":case"num":case"big_int":case"keyword":case"atom":next();return E.value;default:unexpected(E)}}function as_name(){var E=w.token;if(E.type!="name"&&E.type!="privatename")unexpected();next();return E.value}function _make_symbol(E){var k=w.token.value;return new(k=="this"?nr:k=="super"?rr:E)({name:String(k),start:w.token,end:w.token})}function _verify_symbol(E){var k=E.name;if(is_in_generator()&&k=="yield"){token_error(E.start,"Yield cannot be used as identifier inside generators")}if(w.input.has_directive("use strict")){if(k=="yield"){token_error(E.start,"Unexpected yield identifier inside strict mode")}if(E instanceof Nn&&(k=="arguments"||k=="eval")){token_error(E.start,"Unexpected "+k+" in strict mode")}}}function as_symbol(E,k){if(!is("name")){if(!k)croak("Name expected");return null}var S=_make_symbol(E);_verify_symbol(S);next();return S}function annotate(E){var k=E.start;var w=k.comments_before;const N=S.get(k);var j=N!=null?N:w.length;while(--j>=0){var q=w[j];if(/[@#]__/.test(q.value)){if(/[@#]__PURE__/.test(q.value)){set_annotation(E,br);break}if(/[@#]__INLINE__/.test(q.value)){set_annotation(E,Er);break}if(/[@#]__NOINLINE__/.test(q.value)){set_annotation(E,kr);break}}}}var subscripts=function(E,k,S){var w=E.start;if(is("punc",".")){next();const N=is("privatename")?un:an;return subscripts(new N({start:w,expression:E,optional:false,property:as_name(),end:prev()}),k,S)}if(is("punc","[")){next();var N=expression(true);expect("]");return subscripts(new ln({start:w,expression:E,optional:false,property:N,end:prev()}),k,S)}if(k&&is("punc","(")){next();var j=new nn({start:w,expression:E,optional:false,args:call_args(),end:prev()});annotate(j);return subscripts(j,true,S)}if(is("punc","?.")){next();let S;if(k&&is("punc","(")){next();const k=new nn({start:w,optional:true,expression:E,args:call_args(),end:prev()});annotate(k);S=subscripts(k,true,true)}else if(is("name")||is("privatename")){const N=is("privatename")?un:an;S=subscripts(new N({start:w,expression:E,optional:true,property:as_name(),end:prev()}),k,true)}else if(is("punc","[")){next();const N=expression(true);expect("]");S=subscripts(new ln({start:w,expression:E,optional:true,property:N,end:prev()}),k,true)}if(!S)unexpected();if(S instanceof cn)return S;return new cn({start:w,expression:S,end:prev()})}if(is("template_head")){if(S){unexpected()}return subscripts(new Ct({start:w,prefix:E,template_string:template_string(),end:prev()}),k)}return E};function call_args(){var E=[];while(!is("punc",")")){if(is("expand","...")){next();E.push(new bt({start:prev(),expression:expression(false),end:prev()}))}else{E.push(expression(false))}if(!is("punc",")")){expect(",")}}next();return E}var maybe_unary=function(E,k){var S=w.token;if(S.type=="name"&&S.value=="await"&&can_await()){next();return _await_expression()}if(is("operator")&&qe.has(S.value)){next();handle_regexp();var N=make_unary(dn,S,maybe_unary(E));N.start=S;N.end=prev();return N}var j=expr_atom(E,k);while(is("operator")&&Ve.has(w.token.value)&&!has_newline_before(w.token)){if(j instanceof St)unexpected();j=make_unary(hn,w.token,j);j.start=S;j.end=w.token;next()}return j};function make_unary(E,k,S){var N=k.value;switch(N){case"++":case"--":if(!is_assignable(S))croak("Invalid use of "+N+" operator",k.line,k.col,k.pos);break;case"delete":if(S instanceof Yn&&w.input.has_directive("use strict"))croak("Calling delete on expression not allowed in strict mode",S.start.line,S.start.col,S.start.pos);break}return new E({operator:N,expression:S})}var expr_op=function(E,k,S){var N=is("operator")?w.token.value:null;if(N=="in"&&S)N=null;if(N=="**"&&E instanceof dn&&!is_token(E.start,"punc","(")&&E.operator!=="--"&&E.operator!=="++")unexpected(E.start);var j=N!=null?Ke[N]:null;if(j!=null&&(j>k||N==="**"&&k===j)){next();var q=expr_op(maybe_unary(true),j,S);return expr_op(new mn({start:E.start,left:E,operator:N,right:q,end:q.end}),k,S)}return E};function expr_ops(E){return expr_op(maybe_unary(true,true),0,E)}var maybe_conditional=function(E){var k=w.token;var S=expr_ops(E);if(is("operator","?")){next();var N=expression(false);expect(":");return new gn({start:k,condition:S,consequent:N,alternative:expression(false,E),end:prev()})}return S};function is_assignable(E){return E instanceof on||E instanceof Yn}function to_destructuring(E){if(E instanceof bn){E=new At({start:E.start,names:E.properties.map(to_destructuring),is_array:false,end:E.end})}else if(E instanceof vn){var k=[];for(var S=0;S=0;){j+="this."+k[q]+" = props."+k[q]+";"}const ee=w&&Object.create(w.prototype);if(ee&&ee.initialize||S&&S.initialize)j+="this.initialize();";j+="}";j+="this.flags = 0;";j+="}";var te=new Function(j)();if(ee){te.prototype=ee;te.BASE=w}if(w)w.SUBCLASSES.push(te);te.prototype.CTOR=te;te.prototype.constructor=te;te.PROPS=k||null;te.SELF_PROPS=N;te.SUBCLASSES=[];if(E){te.prototype.TYPE=te.TYPE=E}if(S)for(q in S)if(HOP(S,q)){if(q[0]==="$"){te[q.substr(1)]=S[q]}else{te.prototype[q]=S[q]}}te.DEFMETHOD=function(E,k){this.prototype[E]=k};return te}const has_tok_flag=(E,k)=>Boolean(E.flags&k);const set_tok_flag=(E,k,S)=>{if(S){E.flags|=k}else{E.flags&=~k}};const Qe=1;const Je=2;const Ye=4;class AST_Token{constructor(E,k,S,w,N,j,q,ee,te){this.flags=j?1:0;this.type=E;this.value=k;this.line=S;this.col=w;this.pos=N;this.comments_before=q;this.comments_after=ee;this.file=te;Object.seal(this)}get nlb(){return has_tok_flag(this,Qe)}set nlb(E){set_tok_flag(this,Qe,E)}get quote(){return!has_tok_flag(this,Ye)?"":has_tok_flag(this,Je)?"'":'"'}set quote(E){set_tok_flag(this,Je,E==="'");set_tok_flag(this,Ye,!!E)}}var Ze=DEFNODE("Node","start end",{_clone:function(E){if(E){var k=this.clone();return k.transform(new TreeTransformer((function(E){if(E!==k){return E.clone(true)}})))}return new this.CTOR(this)},clone:function(E){return this._clone(E)},$documentation:"Base class of all AST nodes",$propdoc:{start:"[AST_Token] The first token of this node",end:"[AST_Token] The last token of this node"},_walk:function(E){return E._visit(this)},walk:function(E){return this._walk(E)},_children_backwards:()=>{}},null);var et=DEFNODE("Statement",null,{$documentation:"Base class of all statements"});var tt=DEFNODE("Debugger",null,{$documentation:"Represents a debugger statement"},et);var nt=DEFNODE("Directive","value quote",{$documentation:'Represents a directive, like "use strict";',$propdoc:{value:"[string] The value of this directive as a plain string (it's not an AST_String!)",quote:"[string] the original quote character"}},et);var rt=DEFNODE("SimpleStatement","body",{$documentation:"A statement consisting of an expression, i.e. a = 1 + 2",$propdoc:{body:"[AST_Node] an expression node (should not be instanceof AST_Statement)"},_walk:function(E){return E._visit(this,(function(){this.body._walk(E)}))},_children_backwards(E){E(this.body)}},et);function walk_body(E,k){const S=E.body;for(var w=0,N=S.length;w SymbolDef for all variables/functions defined in this scope",uses_with:"[boolean/S] tells whether this scope uses the `with` statement",uses_eval:"[boolean/S] tells whether this scope contains a direct call to the global `eval`",parent_scope:"[AST_Scope?/S] link to the parent scope",enclosed:"[SymbolDef*/S] a list of all symbol definitions that are accessed from this scope or any subscopes",cname:"[integer/S] current index for mangling variables (used internally by the mangler)"},get_defun_scope:function(){var E=this;while(E.is_block_scope()){E=E.parent_scope}return E},clone:function(E,k){var S=this._clone(E);if(E&&this.variables&&k&&!this._block_scope){S.figure_out_scope({},{toplevel:k,parent_scope:this.parent_scope})}else{if(this.variables)S.variables=new Map(this.variables);if(this.enclosed)S.enclosed=this.enclosed.slice();if(this._block_scope)S._block_scope=this._block_scope}return S},pinned:function(){return this.uses_eval||this.uses_with}},it);var vt=DEFNODE("Toplevel","globals",{$documentation:"The toplevel scope",$propdoc:{globals:"[Map/S] a map of name -> SymbolDef for all undeclared names"},wrap_commonjs:function(E){var k=this.body;var S="(function(exports){'$ORIG';})(typeof "+E+"=='undefined'?("+E+"={}):"+E+");";S=parse(S);S=S.transform(new TreeTransformer((function(E){if(E instanceof nt&&E.value=="$ORIG"){return N.splice(k)}})));return S},wrap_enclose:function(E){if(typeof E!="string")E="";var k=E.indexOf(":");if(k<0)k=E.length;var S=this.body;return parse(["(function(",E.slice(0,k),'){"$ORIG"})(',E.slice(k+1),")"].join("")).transform(new TreeTransformer((function(E){if(E instanceof nt&&E.value=="$ORIG"){return N.splice(S)}})))}},_t);var bt=DEFNODE("Expansion","expression",{$documentation:"An expandible argument, such as ...rest, a splat, such as [1,2,...all], or an expansion in a variable declaration, such as var [first, ...rest] = list",$propdoc:{expression:"[AST_Node] the thing to be expanded"},_walk:function(E){return E._visit(this,(function(){this.expression.walk(E)}))},_children_backwards(E){E(this.expression)}});var Et=DEFNODE("Lambda","name argnames uses_arguments is_generator async",{$documentation:"Base class for functions",$propdoc:{name:"[AST_SymbolDeclaration?] the name of this function",argnames:"[AST_SymbolFunarg|AST_Destructuring|AST_Expansion|AST_DefaultAssign*] array of function arguments, destructurings, or expanding arguments",uses_arguments:"[boolean/S] tells whether this function accesses the arguments array",is_generator:"[boolean] is this a generator method",async:"[boolean] is this method async"},args_as_names:function(){var E=[];for(var k=0;k b)"},Et);var wt=DEFNODE("Defun",null,{$documentation:"A function definition"},Et);var At=DEFNODE("Destructuring","names is_array",{$documentation:"A destructuring of several names. Used in destructuring assignment and with destructuring function argument names",$propdoc:{names:"[AST_Node*] Array of properties or elements",is_array:"[Boolean] Whether the destructuring represents an object or array"},_walk:function(E){return E._visit(this,(function(){this.names.forEach((function(k){k._walk(E)}))}))},_children_backwards(E){let k=this.names.length;while(k--)E(this.names[k])},all_symbols:function(){var E=[];this.walk(new TreeWalker((function(k){if(k instanceof Rn){E.push(k)}})));return E}});var Ct=DEFNODE("PrefixedTemplateString","template_string prefix",{$documentation:"A templatestring with a prefix, such as String.raw`foobarbaz`",$propdoc:{template_string:"[AST_TemplateString] The template string",prefix:"[AST_Node] The prefix, which will get called."},_walk:function(E){return E._visit(this,(function(){this.prefix._walk(E);this.template_string._walk(E)}))},_children_backwards(E){E(this.template_string);E(this.prefix)}});var Dt=DEFNODE("TemplateString","segments",{$documentation:"A template string literal",$propdoc:{segments:"[AST_Node*] One or more segments, starting with AST_TemplateSegment. AST_Node may follow AST_TemplateSegment, but each AST_Node must be followed by AST_TemplateSegment."},_walk:function(E){return E._visit(this,(function(){this.segments.forEach((function(k){k._walk(E)}))}))},_children_backwards(E){let k=this.segments.length;while(k--)E(this.segments[k])}});var Mt=DEFNODE("TemplateSegment","value raw",{$documentation:"A segment of a template string literal",$propdoc:{value:"Content of the segment",raw:"Raw source of the segment"}});var Tt=DEFNODE("Jump",null,{$documentation:"Base class for “jumps” (for now that's `return`, `throw`, `break` and `continue`)"},et);var It=DEFNODE("Exit","value",{$documentation:"Base class for “exits” (`return` and `throw`)",$propdoc:{value:"[AST_Node?] the value returned or thrown by this statement; could be null for AST_Return"},_walk:function(E){return E._visit(this,this.value&&function(){this.value._walk(E)})},_children_backwards(E){if(this.value)E(this.value)}},Tt);var Pt=DEFNODE("Return",null,{$documentation:"A `return` statement"},It);var Ot=DEFNODE("Throw",null,{$documentation:"A `throw` statement"},It);var Rt=DEFNODE("LoopControl","label",{$documentation:"Base class for loop control statements (`break` and `continue`)",$propdoc:{label:"[AST_LabelRef?] the label, or null if none"},_walk:function(E){return E._visit(this,this.label&&function(){this.label._walk(E)})},_children_backwards(E){if(this.label)E(this.label)}},Tt);var Ft=DEFNODE("Break",null,{$documentation:"A `break` statement"},Rt);var Nt=DEFNODE("Continue",null,{$documentation:"A `continue` statement"},Rt);var Bt=DEFNODE("Await","expression",{$documentation:"An `await` statement",$propdoc:{expression:"[AST_Node] the mandatory expression being awaited"},_walk:function(E){return E._visit(this,(function(){this.expression._walk(E)}))},_children_backwards(E){E(this.expression)}});var Lt=DEFNODE("Yield","expression is_star",{$documentation:"A `yield` statement",$propdoc:{expression:"[AST_Node?] the value returned or thrown by this statement; could be null (representing undefined) but only when is_star is set to false",is_star:"[Boolean] Whether this is a yield or yield* statement"},_walk:function(E){return E._visit(this,this.expression&&function(){this.expression._walk(E)})},_children_backwards(E){if(this.expression)E(this.expression)}});var jt=DEFNODE("If","condition alternative",{$documentation:"A `if` statement",$propdoc:{condition:"[AST_Node] the `if` condition",alternative:"[AST_Statement?] the `else` part, or null if not present"},_walk:function(E){return E._visit(this,(function(){this.condition._walk(E);this.body._walk(E);if(this.alternative)this.alternative._walk(E)}))},_children_backwards(E){if(this.alternative){E(this.alternative)}E(this.body);E(this.condition)}},ut);var $t=DEFNODE("Switch","expression",{$documentation:"A `switch` statement",$propdoc:{expression:"[AST_Node] the `switch` “discriminant”"},_walk:function(E){return E._visit(this,(function(){this.expression._walk(E);walk_body(this,E)}))},_children_backwards(E){let k=this.body.length;while(k--)E(this.body[k]);E(this.expression)}},it);var zt=DEFNODE("SwitchBranch",null,{$documentation:"Base class for `switch` branches"},it);var Ut=DEFNODE("Default",null,{$documentation:"A `default` switch branch"},zt);var Gt=DEFNODE("Case","expression",{$documentation:"A `case` switch branch",$propdoc:{expression:"[AST_Node] the `case` expression"},_walk:function(E){return E._visit(this,(function(){this.expression._walk(E);walk_body(this,E)}))},_children_backwards(E){let k=this.body.length;while(k--)E(this.body[k]);E(this.expression)}},zt);var qt=DEFNODE("Try","bcatch bfinally",{$documentation:"A `try` statement",$propdoc:{bcatch:"[AST_Catch?] the catch block, or null if not present",bfinally:"[AST_Finally?] the finally block, or null if not present"},_walk:function(E){return E._visit(this,(function(){walk_body(this,E);if(this.bcatch)this.bcatch._walk(E);if(this.bfinally)this.bfinally._walk(E)}))},_children_backwards(E){if(this.bfinally)E(this.bfinally);if(this.bcatch)E(this.bcatch);let k=this.body.length;while(k--)E(this.body[k])}},it);var Vt=DEFNODE("Catch","argname",{$documentation:"A `catch` node; only makes sense as part of a `try` statement",$propdoc:{argname:"[AST_SymbolCatch|AST_Destructuring|AST_Expansion|AST_DefaultAssign] symbol for the exception"},_walk:function(E){return E._visit(this,(function(){if(this.argname)this.argname._walk(E);walk_body(this,E)}))},_children_backwards(E){let k=this.body.length;while(k--)E(this.body[k]);if(this.argname)E(this.argname)}},it);var Ht=DEFNODE("Finally",null,{$documentation:"A `finally` node; only makes sense as part of a `try` statement"},it);var Wt=DEFNODE("Definitions","definitions",{$documentation:"Base class for `var` or `const` nodes (variable declarations/initializations)",$propdoc:{definitions:"[AST_VarDef*] array of variable definitions"},_walk:function(E){return E._visit(this,(function(){var k=this.definitions;for(var S=0,w=k.length;S a`"},mn);var vn=DEFNODE("Array","elements",{$documentation:"An array literal",$propdoc:{elements:"[AST_Node*] array of elements"},_walk:function(E){return E._visit(this,(function(){var k=this.elements;for(var S=0,w=k.length;Sk._walk(E)))}))},_children_backwards(E){let k=this.properties.length;while(k--)E(this.properties[k]);if(this.extends)E(this.extends);if(this.name)E(this.name)}},_t);var Tn=DEFNODE("ClassProperty","static quote",{$documentation:"A class property",$propdoc:{static:"[boolean] whether this is a static key",quote:"[string] which quote is being used"},_walk:function(E){return E._visit(this,(function(){if(this.key instanceof Ze)this.key._walk(E);if(this.value instanceof Ze)this.value._walk(E)}))},_children_backwards(E){if(this.value instanceof Ze)E(this.value);if(this.key instanceof Ze)E(this.key)},computed_key(){return!(this.key instanceof qn)}},En);var In=DEFNODE("ClassProperty","",{$documentation:"A class property for a private property"},Tn);var Pn=DEFNODE("DefClass",null,{$documentation:"A class definition"},Mn);var On=DEFNODE("ClassExpression",null,{$documentation:"A class expression."},Mn);var Rn=DEFNODE("Symbol","scope name thedef",{$propdoc:{name:"[string] name of this symbol",scope:"[AST_Scope/S] the current scope (not necessarily the definition scope)",thedef:"[SymbolDef/S] the definition of this symbol"},$documentation:"Base class for all symbols"});var Fn=DEFNODE("NewTarget",null,{$documentation:"A reference to new.target"});var Nn=DEFNODE("SymbolDeclaration","init",{$documentation:"A declaration symbol (symbol in var/const, function name or argument, symbol in catch)"},Rn);var Bn=DEFNODE("SymbolVar",null,{$documentation:"Symbol defining a variable"},Nn);var Ln=DEFNODE("SymbolBlockDeclaration",null,{$documentation:"Base class for block-scoped declaration symbols"},Nn);var jn=DEFNODE("SymbolConst",null,{$documentation:"A constant declaration"},Ln);var $n=DEFNODE("SymbolLet",null,{$documentation:"A block-scoped `let` declaration"},Ln);var zn=DEFNODE("SymbolFunarg",null,{$documentation:"Symbol naming a function argument"},Bn);var Un=DEFNODE("SymbolDefun",null,{$documentation:"Symbol defining a function"},Nn);var Gn=DEFNODE("SymbolMethod",null,{$documentation:"Symbol in an object defining a method"},Rn);var qn=DEFNODE("SymbolClassProperty",null,{$documentation:"Symbol for a class property"},Rn);var Vn=DEFNODE("SymbolLambda",null,{$documentation:"Symbol naming a function expression"},Nn);var Hn=DEFNODE("SymbolDefClass",null,{$documentation:"Symbol naming a class's name in a class declaration. Lexically scoped to its containing scope, and accessible within the class."},Ln);var Wn=DEFNODE("SymbolClass",null,{$documentation:"Symbol naming a class's name. Lexically scoped to the class."},Nn);var Kn=DEFNODE("SymbolCatch",null,{$documentation:"Symbol naming the exception in catch"},Ln);var Xn=DEFNODE("SymbolImport",null,{$documentation:"Symbol referring to an imported name"},Ln);var Qn=DEFNODE("SymbolImportForeign",null,{$documentation:"A symbol imported from a module, but it is defined in the other module, and its real name is irrelevant for this module's purposes"},Rn);var Jn=DEFNODE("Label","references",{$documentation:"Symbol naming a label (declaration)",$propdoc:{references:"[AST_LoopControl*] a list of nodes referring to this label"},initialize:function(){this.references=[];this.thedef=this}},Rn);var Yn=DEFNODE("SymbolRef",null,{$documentation:"Reference to some symbol (not definition/declaration)"},Rn);var Zn=DEFNODE("SymbolExport",null,{$documentation:"Symbol referring to a name to export"},Yn);var er=DEFNODE("SymbolExportForeign",null,{$documentation:"A symbol exported from this module, but it is used in the other module, and its real name is irrelevant for this module's purposes"},Rn);var tr=DEFNODE("LabelRef",null,{$documentation:"Reference to a label symbol"},Rn);var nr=DEFNODE("This",null,{$documentation:"The `this` symbol"},Rn);var rr=DEFNODE("Super",null,{$documentation:"The `super` symbol"},nr);var ir=DEFNODE("Constant",null,{$documentation:"Base class for all constants",getValue:function(){return this.value}});var sr=DEFNODE("String","value quote",{$documentation:"A string literal",$propdoc:{value:"[string] the contents of this string",quote:"[string] the original quote character"}},ir);var ar=DEFNODE("Number","value raw",{$documentation:"A number literal",$propdoc:{value:"[number] the numeric value",raw:"[string] numeric value as string"}},ir);var ur=DEFNODE("BigInt","value",{$documentation:"A big int literal",$propdoc:{value:"[string] big int value"}},ir);var lr=DEFNODE("RegExp","value",{$documentation:"A regexp literal",$propdoc:{value:"[RegExp] the actual regexp"}},ir);var cr=DEFNODE("Atom",null,{$documentation:"Base class for atoms"},ir);var pr=DEFNODE("Null",null,{$documentation:"The `null` atom",value:null},cr);var fr=DEFNODE("NaN",null,{$documentation:"The impossible value",value:0/0},cr);var dr=DEFNODE("Undefined",null,{$documentation:"The `undefined` value",value:function(){}()},cr);var hr=DEFNODE("Hole",null,{$documentation:"A hole in an array",value:function(){}()},cr);var mr=DEFNODE("Infinity",null,{$documentation:"The `Infinity` value",value:1/0},cr);var gr=DEFNODE("Boolean",null,{$documentation:"Base class for booleans"},cr);var yr=DEFNODE("False",null,{$documentation:"The `false` atom",value:false},gr);var _r=DEFNODE("True",null,{$documentation:"The `true` atom",value:true},gr);function walk(E,k,S=[E]){const w=S.push.bind(S);while(S.length){const E=S.pop();const N=k(E,S);if(N){if(N===vr)return true;continue}E._children_backwards(w)}return false}function walk_parent(E,k,S){const w=[E];const N=w.push.bind(w);const j=S?S.slice():[];const q=[];let ee;const te={parent:(E=0)=>{if(E===-1){return ee}if(S&&E>=j.length){E-=j.length;return S[S.length-(E+1)]}return j[j.length-(1+E)]}};while(w.length){ee=w.pop();while(q.length&&w.length==q[q.length-1]){j.pop();q.pop()}const E=k(ee,te);if(E){if(E===vr)return true;continue}const S=w.length;ee._children_backwards(N);if(w.length>S){j.push(ee);q.push(S-1)}}return false}const vr=Symbol("abort walk");class TreeWalker{constructor(E){this.visit=E;this.stack=[];this.directives=Object.create(null)}_visit(E,k){this.push(E);var S=this.visit(E,k?function(){k.call(E)}:noop);if(!S&&k){k.call(E)}this.pop();return S}parent(E){return this.stack[this.stack.length-2-(E||0)]}push(E){if(E instanceof Et){this.directives=Object.create(this.directives)}else if(E instanceof nt&&!this.directives[E.value]){this.directives[E.value]=E}else if(E instanceof Mn){this.directives=Object.create(this.directives);if(!this.directives["use strict"]){this.directives["use strict"]=E}}this.stack.push(E)}pop(){var E=this.stack.pop();if(E instanceof Et||E instanceof Mn){this.directives=Object.getPrototypeOf(this.directives)}}self(){return this.stack[this.stack.length-1]}find_parent(E){var k=this.stack;for(var S=k.length;--S>=0;){var w=k[S];if(w instanceof E)return w}}has_directive(E){var k=this.directives[E];if(k)return k;var S=this.stack[this.stack.length-1];if(S instanceof _t&&S.body){for(var w=0;w=0;){var w=k[S];if(w instanceof lt&&w.label.name==E.label.name)return w.body}else for(var S=k.length;--S>=0;){var w=k[S];if(w instanceof ct||E instanceof Ft&&w instanceof $t)return w}}}class TreeTransformer extends TreeWalker{constructor(E,k){super();this.before=E;this.after=k}}const br=1;const Er=2;const kr=4;var xr=Object.freeze({__proto__:null,AST_Accessor:kt,AST_Array:vn,AST_Arrow:St,AST_Assign:yn,AST_Atom:cr,AST_Await:Bt,AST_BigInt:ur,AST_Binary:mn,AST_Block:it,AST_BlockStatement:st,AST_Boolean:gr,AST_Break:Ft,AST_Call:nn,AST_Case:Gt,AST_Catch:Vt,AST_Chain:cn,AST_Class:Mn,AST_ClassExpression:On,AST_ClassPrivateProperty:In,AST_ClassProperty:Tn,AST_ConciseMethod:Cn,AST_Conditional:gn,AST_Const:Qt,AST_Constant:ir,AST_Continue:Nt,AST_Debugger:tt,AST_Default:Ut,AST_DefaultAssign:_n,AST_DefClass:Pn,AST_Definitions:Wt,AST_Defun:wt,AST_Destructuring:At,AST_Directive:nt,AST_Do:ft,AST_Dot:an,AST_DotHash:un,AST_DWLoop:pt,AST_EmptyStatement:ot,AST_Exit:It,AST_Expansion:bt,AST_Export:tn,AST_False:yr,AST_Finally:Ht,AST_For:ht,AST_ForIn:mt,AST_ForOf:gt,AST_Function:xt,AST_Hole:hr,AST_If:jt,AST_Import:Zt,AST_ImportMeta:en,AST_Infinity:mr,AST_IterationStatement:ct,AST_Jump:Tt,AST_Label:Jn,AST_LabeledStatement:lt,AST_LabelRef:tr,AST_Lambda:Et,AST_Let:Xt,AST_LoopControl:Rt,AST_NameMapping:Yt,AST_NaN:fr,AST_New:rn,AST_NewTarget:Fn,AST_Node:Ze,AST_Null:pr,AST_Number:ar,AST_Object:bn,AST_ObjectGetter:An,AST_ObjectKeyVal:kn,AST_ObjectProperty:En,AST_ObjectSetter:wn,AST_PrefixedTemplateString:Ct,AST_PrivateGetter:Sn,AST_PrivateMethod:Dn,AST_PrivateSetter:xn,AST_PropAccess:on,AST_RegExp:lr,AST_Return:Pt,AST_Scope:_t,AST_Sequence:sn,AST_SimpleStatement:rt,AST_Statement:et,AST_StatementWithBody:ut,AST_String:sr,AST_Sub:ln,AST_Super:rr,AST_Switch:$t,AST_SwitchBranch:zt,AST_Symbol:Rn,AST_SymbolBlockDeclaration:Ln,AST_SymbolCatch:Kn,AST_SymbolClass:Wn,AST_SymbolClassProperty:qn,AST_SymbolConst:jn,AST_SymbolDeclaration:Nn,AST_SymbolDefClass:Hn,AST_SymbolDefun:Un,AST_SymbolExport:Zn,AST_SymbolExportForeign:er,AST_SymbolFunarg:zn,AST_SymbolImport:Xn,AST_SymbolImportForeign:Qn,AST_SymbolLambda:Vn,AST_SymbolLet:$n,AST_SymbolMethod:Gn,AST_SymbolRef:Yn,AST_SymbolVar:Bn,AST_TemplateSegment:Mt,AST_TemplateString:Dt,AST_This:nr,AST_Throw:Ot,AST_Token:AST_Token,AST_Toplevel:vt,AST_True:_r,AST_Try:qt,AST_Unary:pn,AST_UnaryPostfix:hn,AST_UnaryPrefix:dn,AST_Undefined:dr,AST_Var:Kt,AST_VarDef:Jt,AST_While:dt,AST_With:yt,AST_Yield:Lt,TreeTransformer:TreeTransformer,TreeWalker:TreeWalker,walk:walk,walk_abort:vr,walk_body:walk_body,walk_parent:walk_parent,_INLINE:Er,_NOINLINE:kr,_PURE:br});function def_transform(E,k){E.DEFMETHOD("transform",(function(E,S){let w=undefined;E.push(this);if(E.before)w=E.before(this,k,S);if(w===undefined){w=this;k(w,E);if(E.after){const k=E.after(w,S);if(k!==undefined)w=k}}E.pop();return w}))}function do_list(E,k){return N(E,(function(E){return E.transform(k,true)}))}def_transform(Ze,noop);def_transform(lt,(function(E,k){E.label=E.label.transform(k);E.body=E.body.transform(k)}));def_transform(rt,(function(E,k){E.body=E.body.transform(k)}));def_transform(it,(function(E,k){E.body=do_list(E.body,k)}));def_transform(ft,(function(E,k){E.body=E.body.transform(k);E.condition=E.condition.transform(k)}));def_transform(dt,(function(E,k){E.condition=E.condition.transform(k);E.body=E.body.transform(k)}));def_transform(ht,(function(E,k){if(E.init)E.init=E.init.transform(k);if(E.condition)E.condition=E.condition.transform(k);if(E.step)E.step=E.step.transform(k);E.body=E.body.transform(k)}));def_transform(mt,(function(E,k){E.init=E.init.transform(k);E.object=E.object.transform(k);E.body=E.body.transform(k)}));def_transform(yt,(function(E,k){E.expression=E.expression.transform(k);E.body=E.body.transform(k)}));def_transform(It,(function(E,k){if(E.value)E.value=E.value.transform(k)}));def_transform(Rt,(function(E,k){if(E.label)E.label=E.label.transform(k)}));def_transform(jt,(function(E,k){E.condition=E.condition.transform(k);E.body=E.body.transform(k);if(E.alternative)E.alternative=E.alternative.transform(k)}));def_transform($t,(function(E,k){E.expression=E.expression.transform(k);E.body=do_list(E.body,k)}));def_transform(Gt,(function(E,k){E.expression=E.expression.transform(k);E.body=do_list(E.body,k)}));def_transform(qt,(function(E,k){E.body=do_list(E.body,k);if(E.bcatch)E.bcatch=E.bcatch.transform(k);if(E.bfinally)E.bfinally=E.bfinally.transform(k)}));def_transform(Vt,(function(E,k){if(E.argname)E.argname=E.argname.transform(k);E.body=do_list(E.body,k)}));def_transform(Wt,(function(E,k){E.definitions=do_list(E.definitions,k)}));def_transform(Jt,(function(E,k){E.name=E.name.transform(k);if(E.value)E.value=E.value.transform(k)}));def_transform(At,(function(E,k){E.names=do_list(E.names,k)}));def_transform(Et,(function(E,k){if(E.name)E.name=E.name.transform(k);E.argnames=do_list(E.argnames,k);if(E.body instanceof Ze){E.body=E.body.transform(k)}else{E.body=do_list(E.body,k)}}));def_transform(nn,(function(E,k){E.expression=E.expression.transform(k);E.args=do_list(E.args,k)}));def_transform(sn,(function(E,k){const S=do_list(E.expressions,k);E.expressions=S.length?S:[new ar({value:0})]}));def_transform(an,(function(E,k){E.expression=E.expression.transform(k)}));def_transform(ln,(function(E,k){E.expression=E.expression.transform(k);E.property=E.property.transform(k)}));def_transform(cn,(function(E,k){E.expression=E.expression.transform(k)}));def_transform(Lt,(function(E,k){if(E.expression)E.expression=E.expression.transform(k)}));def_transform(Bt,(function(E,k){E.expression=E.expression.transform(k)}));def_transform(pn,(function(E,k){E.expression=E.expression.transform(k)}));def_transform(mn,(function(E,k){E.left=E.left.transform(k);E.right=E.right.transform(k)}));def_transform(gn,(function(E,k){E.condition=E.condition.transform(k);E.consequent=E.consequent.transform(k);E.alternative=E.alternative.transform(k)}));def_transform(vn,(function(E,k){E.elements=do_list(E.elements,k)}));def_transform(bn,(function(E,k){E.properties=do_list(E.properties,k)}));def_transform(En,(function(E,k){if(E.key instanceof Ze){E.key=E.key.transform(k)}if(E.value)E.value=E.value.transform(k)}));def_transform(Mn,(function(E,k){if(E.name)E.name=E.name.transform(k);if(E.extends)E.extends=E.extends.transform(k);E.properties=do_list(E.properties,k)}));def_transform(bt,(function(E,k){E.expression=E.expression.transform(k)}));def_transform(Yt,(function(E,k){E.foreign_name=E.foreign_name.transform(k);E.name=E.name.transform(k)}));def_transform(Zt,(function(E,k){if(E.imported_name)E.imported_name=E.imported_name.transform(k);if(E.imported_names)do_list(E.imported_names,k);E.module_name=E.module_name.transform(k)}));def_transform(tn,(function(E,k){if(E.exported_definition)E.exported_definition=E.exported_definition.transform(k);if(E.exported_value)E.exported_value=E.exported_value.transform(k);if(E.exported_names)do_list(E.exported_names,k);if(E.module_name)E.module_name=E.module_name.transform(k)}));def_transform(Dt,(function(E,k){E.segments=do_list(E.segments,k)}));def_transform(Ct,(function(E,k){E.prefix=E.prefix.transform(k);E.template_string=E.template_string.transform(k)}));(function(){var normalize_directives=function(E){var k=true;for(var S=0;S1||E.guardedHandlers&&E.guardedHandlers.length){throw new Error("Multiple catch clauses are not supported.")}return new qt({start:my_start_token(E),end:my_end_token(E),body:from_moz(E.block).body,bcatch:from_moz(k[0]),bfinally:E.finalizer?new Ht(from_moz(E.finalizer)):null})},Property:function(E){var k=E.key;var S={start:my_start_token(k||E.value),end:my_end_token(E.value),key:k.type=="Identifier"?k.name:k.value,value:from_moz(E.value)};if(E.computed){S.key=from_moz(E.key)}if(E.method){S.is_generator=E.value.generator;S.async=E.value.async;if(!E.computed){S.key=new Gn({name:S.key})}else{S.key=from_moz(E.key)}return new Cn(S)}if(E.kind=="init"){if(k.type!="Identifier"&&k.type!="Literal"){S.key=from_moz(k)}return new kn(S)}if(typeof S.key==="string"||typeof S.key==="number"){S.key=new Gn({name:S.key})}S.value=new kt(S.value);if(E.kind=="get")return new An(S);if(E.kind=="set")return new wn(S);if(E.kind=="method"){S.async=E.value.async;S.is_generator=E.value.generator;S.quote=E.computed?'"':null;return new Cn(S)}},MethodDefinition:function(E){var k={start:my_start_token(E),end:my_end_token(E),key:E.computed?from_moz(E.key):new Gn({name:E.key.name||E.key.value}),value:from_moz(E.value),static:E.static};if(E.kind=="get"){return new An(k)}if(E.kind=="set"){return new wn(k)}k.is_generator=E.value.generator;k.async=E.value.async;return new Cn(k)},FieldDefinition:function(E){let k;if(E.computed){k=from_moz(E.key)}else{if(E.key.type!=="Identifier")throw new Error("Non-Identifier key in FieldDefinition");k=from_moz(E.key)}return new Tn({start:my_start_token(E),end:my_end_token(E),key:k,value:from_moz(E.value),static:E.static})},PropertyDefinition:function(E){let k;if(E.computed){k=from_moz(E.key)}else{if(E.key.type!=="Identifier")throw new Error("Non-Identifier key in PropertyDefinition");k=from_moz(E.key)}return new Tn({start:my_start_token(E),end:my_end_token(E),key:k,value:from_moz(E.value),static:E.static})},ArrayExpression:function(E){return new vn({start:my_start_token(E),end:my_end_token(E),elements:E.elements.map((function(E){return E===null?new hr:from_moz(E)}))})},ObjectExpression:function(E){return new bn({start:my_start_token(E),end:my_end_token(E),properties:E.properties.map((function(E){if(E.type==="SpreadElement"){return from_moz(E)}E.type="Property";return from_moz(E)}))})},SequenceExpression:function(E){return new sn({start:my_start_token(E),end:my_end_token(E),expressions:E.expressions.map(from_moz)})},MemberExpression:function(E){return new(E.computed?ln:an)({start:my_start_token(E),end:my_end_token(E),property:E.computed?from_moz(E.property):E.property.name,expression:from_moz(E.object),optional:E.optional||false})},ChainExpression:function(E){return new cn({start:my_start_token(E),end:my_end_token(E),expression:from_moz(E.expression)})},SwitchCase:function(E){return new(E.test?Gt:Ut)({start:my_start_token(E),end:my_end_token(E),expression:from_moz(E.test),body:E.consequent.map(from_moz)})},VariableDeclaration:function(E){return new(E.kind==="const"?Qt:E.kind==="let"?Xt:Kt)({start:my_start_token(E),end:my_end_token(E),definitions:E.declarations.map(from_moz)})},ImportDeclaration:function(E){var k=null;var S=null;E.specifiers.forEach((function(E){if(E.type==="ImportSpecifier"){if(!S){S=[]}S.push(new Yt({start:my_start_token(E),end:my_end_token(E),foreign_name:from_moz(E.imported),name:from_moz(E.local)}))}else if(E.type==="ImportDefaultSpecifier"){k=from_moz(E.local)}else if(E.type==="ImportNamespaceSpecifier"){if(!S){S=[]}S.push(new Yt({start:my_start_token(E),end:my_end_token(E),foreign_name:new Qn({name:"*"}),name:from_moz(E.local)}))}}));return new Zt({start:my_start_token(E),end:my_end_token(E),imported_name:k,imported_names:S,module_name:from_moz(E.source)})},ExportAllDeclaration:function(E){return new tn({start:my_start_token(E),end:my_end_token(E),exported_names:[new Yt({name:new er({name:"*"}),foreign_name:new er({name:"*"})})],module_name:from_moz(E.source)})},ExportNamedDeclaration:function(E){return new tn({start:my_start_token(E),end:my_end_token(E),exported_definition:from_moz(E.declaration),exported_names:E.specifiers&&E.specifiers.length?E.specifiers.map((function(E){return new Yt({foreign_name:from_moz(E.exported),name:from_moz(E.local)})})):null,module_name:from_moz(E.source)})},ExportDefaultDeclaration:function(E){return new tn({start:my_start_token(E),end:my_end_token(E),exported_value:from_moz(E.declaration),is_default:true})},Literal:function(E){var k=E.value,S={start:my_start_token(E),end:my_end_token(E)};var w=E.regex;if(w&&w.pattern){S.value={source:w.pattern,flags:w.flags};return new lr(S)}else if(w){const w=E.raw||k;const N=w.match(/^\/(.*)\/(\w*)$/);if(!N)throw new Error("Invalid regex source "+w);const[j,q,ee]=N;S.value={source:q,flags:ee};return new lr(S)}if(k===null)return new pr(S);switch(typeof k){case"string":S.value=k;return new sr(S);case"number":S.value=k;S.raw=E.raw||k.toString();return new ar(S);case"boolean":return new(k?_r:yr)(S)}},MetaProperty:function(E){if(E.meta.name==="new"&&E.property.name==="target"){return new Fn({start:my_start_token(E),end:my_end_token(E)})}else if(E.meta.name==="import"&&E.property.name==="meta"){return new en({start:my_start_token(E),end:my_end_token(E)})}},Identifier:function(E){var S=k[k.length-2];return new(S.type=="LabeledStatement"?Jn:S.type=="VariableDeclarator"&&S.id===E?S.kind=="const"?jn:S.kind=="let"?$n:Bn:/Import.*Specifier/.test(S.type)?S.local===E?Xn:Qn:S.type=="ExportSpecifier"?S.local===E?Zn:er:S.type=="FunctionExpression"?S.id===E?Vn:zn:S.type=="FunctionDeclaration"?S.id===E?Un:zn:S.type=="ArrowFunctionExpression"?S.params.includes(E)?zn:Yn:S.type=="ClassExpression"?S.id===E?Wn:Yn:S.type=="Property"?S.key===E&&S.computed||S.value===E?Yn:Gn:S.type=="PropertyDefinition"||S.type==="FieldDefinition"?S.key===E&&S.computed||S.value===E?Yn:qn:S.type=="ClassDeclaration"?S.id===E?Hn:Yn:S.type=="MethodDefinition"?S.computed?Yn:Gn:S.type=="CatchClause"?Kn:S.type=="BreakStatement"||S.type=="ContinueStatement"?tr:Yn)({start:my_start_token(E),end:my_end_token(E),name:E.name})},BigIntLiteral(E){return new ur({start:my_start_token(E),end:my_end_token(E),value:E.value})}};E.UpdateExpression=E.UnaryExpression=function To_Moz_Unary(E){var k="prefix"in E?E.prefix:E.type=="UnaryExpression"?true:false;return new(k?dn:hn)({start:my_start_token(E),end:my_end_token(E),operator:E.operator,expression:from_moz(E.argument)})};E.ClassDeclaration=E.ClassExpression=function From_Moz_Class(E){return new(E.type==="ClassDeclaration"?Pn:On)({start:my_start_token(E),end:my_end_token(E),name:from_moz(E.id),extends:from_moz(E.superClass),properties:E.body.body.map(from_moz)})};map("EmptyStatement",ot);map("BlockStatement",st,"body@body");map("IfStatement",jt,"test>condition, consequent>body, alternate>alternative");map("LabeledStatement",lt,"label>label, body>body");map("BreakStatement",Ft,"label>label");map("ContinueStatement",Nt,"label>label");map("WithStatement",yt,"object>expression, body>body");map("SwitchStatement",$t,"discriminant>expression, cases@body");map("ReturnStatement",Pt,"argument>value");map("ThrowStatement",Ot,"argument>value");map("WhileStatement",dt,"test>condition, body>body");map("DoWhileStatement",ft,"test>condition, body>body");map("ForStatement",ht,"init>init, test>condition, update>step, body>body");map("ForInStatement",mt,"left>init, right>object, body>body");map("ForOfStatement",gt,"left>init, right>object, body>body, await=await");map("AwaitExpression",Bt,"argument>expression");map("YieldExpression",Lt,"argument>expression, delegate=is_star");map("DebuggerStatement",tt);map("VariableDeclarator",Jt,"id>name, init>value");map("CatchClause",Vt,"param>argname, body%body");map("ThisExpression",nr);map("Super",rr);map("BinaryExpression",mn,"operator=operator, left>left, right>right");map("LogicalExpression",mn,"operator=operator, left>left, right>right");map("AssignmentExpression",yn,"operator=operator, left>left, right>right");map("ConditionalExpression",gn,"test>condition, consequent>consequent, alternate>alternative");map("NewExpression",rn,"callee>expression, arguments@args");map("CallExpression",nn,"callee>expression, optional=optional, arguments@args");def_to_moz(vt,(function To_Moz_Program(E){return to_moz_scope("Program",E)}));def_to_moz(bt,(function To_Moz_Spread(E){return{type:to_moz_in_destructuring()?"RestElement":"SpreadElement",argument:to_moz(E.expression)}}));def_to_moz(Ct,(function To_Moz_TaggedTemplateExpression(E){return{type:"TaggedTemplateExpression",tag:to_moz(E.prefix),quasi:to_moz(E.template_string)}}));def_to_moz(Dt,(function To_Moz_TemplateLiteral(E){var k=[];var S=[];for(var w=0;w({type:"BigIntLiteral",value:E.value})));gr.DEFMETHOD("to_mozilla_ast",ir.prototype.to_mozilla_ast);pr.DEFMETHOD("to_mozilla_ast",ir.prototype.to_mozilla_ast);hr.DEFMETHOD("to_mozilla_ast",(function To_Moz_ArrayHole(){return null}));it.DEFMETHOD("to_mozilla_ast",st.prototype.to_mozilla_ast);Et.DEFMETHOD("to_mozilla_ast",xt.prototype.to_mozilla_ast);function my_start_token(E){var k=E.loc,S=k&&k.start;var w=E.range;return new AST_Token("","",S&&S.line||0,S&&S.column||0,w?w[0]:E.start,false,[],[],k&&k.source)}function my_end_token(E){var k=E.loc,S=k&&k.end;var w=E.range;return new AST_Token("","",S&&S.line||0,S&&S.column||0,w?w[0]:E.end,false,[],[],k&&k.source)}function map(k,S,w){var N="function From_Moz_"+k+"(M){\n";N+="return new U2."+S.name+"({\n"+"start: my_start_token(M),\n"+"end: my_end_token(M)";var j="function To_Moz_"+k+"(M){\n";j+="return {\n"+"type: "+JSON.stringify(k);if(w)w.split(/\s*,\s*/).forEach((function(E){var k=/([a-z0-9$_]+)([=@>%])([a-z0-9$_]+)/i.exec(E);if(!k)throw new Error("Can't understand property map: "+E);var S=k[1],w=k[2],q=k[3];N+=",\n"+q+": ";j+=",\n"+S+": ";switch(w){case"@":N+="M."+S+".map(from_moz)";j+="M."+q+".map(to_moz)";break;case">":N+="from_moz(M."+S+")";j+="to_moz(M."+q+")";break;case"=":N+="M."+S;j+="M."+q;break;case"%":N+="from_moz(M."+S+").body";j+="to_moz_block(M)";break;default:throw new Error("Can't understand operator in propmap: "+E)}}));N+="\n})\n}";j+="\n}\n}";N=new Function("U2","my_start_token","my_end_token","from_moz","return("+N+")")(xr,my_start_token,my_end_token,from_moz);j=new Function("to_moz","to_moz_block","to_moz_scope","return("+j+")")(to_moz,to_moz_block,to_moz_scope);E[k]=N;def_to_moz(S,j)}var k=null;function from_moz(S){k.push(S);var w=S!=null?E[S.type](S):null;k.pop();return w}Ze.from_mozilla_ast=function(E){var S=k;k=[];var w=from_moz(E);k=S;return w};function set_moz_loc(E,k){var S=E.start;var w=E.end;if(!(S&&w)){return k}if(S.pos!=null&&w.endpos!=null){k.range=[S.pos,w.endpos]}if(S.line){k.loc={start:{line:S.line,column:S.col},end:w.endline?{line:w.endline,column:w.endcol}:null};if(S.file){k.loc.source=S.file}}return k}function def_to_moz(E,k){E.DEFMETHOD("to_mozilla_ast",(function(E){return set_moz_loc(this,k(this,E))}))}var S=null;function to_moz(E){if(S===null){S=[]}S.push(E);var k=E!=null?E.to_mozilla_ast(S[S.length-2]):null;S.pop();if(S.length===0){S=null}return k}function to_moz_in_destructuring(){var E=S.length;while(E--){if(S[E]instanceof At){return true}}return false}function to_moz_block(E){return{type:"BlockStatement",body:E.body.map(to_moz)}}function to_moz_scope(E,k){var S=k.body.map(to_moz);if(k.body[0]instanceof rt&&k.body[0].body instanceof sr){S.unshift(to_moz(new ot(k.body[0])))}return{type:E,body:S}}})();function first_in_statement(E){let k=E.parent(-1);for(let S=0,w;w=E.parent(S);S++){if(w instanceof et&&w.body===k)return true;if(w instanceof sn&&w.expressions[0]===k||w.TYPE==="Call"&&w.expression===k||w instanceof Ct&&w.prefix===k||w instanceof an&&w.expression===k||w instanceof ln&&w.expression===k||w instanceof gn&&w.condition===k||w instanceof mn&&w.left===k||w instanceof hn&&w.expression===k){k=w}else{return false}}}function left_is_object(E){if(E instanceof bn)return true;if(E instanceof sn)return left_is_object(E.expressions[0]);if(E.TYPE==="Call")return left_is_object(E.expression);if(E instanceof Ct)return left_is_object(E.prefix);if(E instanceof an||E instanceof ln)return left_is_object(E.expression);if(E instanceof gn)return left_is_object(E.condition);if(E instanceof mn)return left_is_object(E.left);if(E instanceof hn)return left_is_object(E.expression);return false}const Sr=/^$|[;{][\s\n]*$/;const wr=10;const Ar=32;const Cr=/[@#]__(PURE|INLINE|NOINLINE)__/g;function is_some_comments(E){return(E.type==="comment2"||E.type==="comment1")&&/@preserve|@lic|@cc_on|^\**!/i.test(E.value)}function OutputStream(E){var k=!E;E=defaults(E,{ascii_only:false,beautify:false,braces:false,comments:"some",ecma:5,ie8:false,indent_level:4,indent_start:0,inline_script:true,keep_numbers:false,keep_quoted_props:false,max_line_len:false,preamble:null,preserve_annotations:false,quote_keys:false,quote_style:0,safari10:false,semicolons:true,shebang:true,shorthand:undefined,source_map:null,webkit:false,width:80,wrap_iife:false,wrap_func_args:true},true);if(E.shorthand===undefined)E.shorthand=E.ecma>5;var S=return_false;if(E.comments){let k=E.comments;if(typeof E.comments==="string"&&/^\/.*\/[a-zA-Z]*$/.test(E.comments)){var w=E.comments.lastIndexOf("/");k=new RegExp(E.comments.substr(1,w-1),E.comments.substr(w+1))}if(k instanceof RegExp){S=function(E){return E.type!="comment5"&&k.test(E.value)}}else if(typeof k==="function"){S=function(E){return E.type!="comment5"&&k(this,E)}}else if(k==="some"){S=is_some_comments}else{S=return_true}}var N=0;var j=0;var q=1;var ee=0;var te="";let ne=new Set;var ae=E.ascii_only?function(k,S){if(E.ecma>=2015&&!E.safari10){k=k.replace(/[\ud800-\udbff][\udc00-\udfff]/g,(function(E){var k=get_full_char_code(E,0).toString(16);return"\\u{"+k+"}"}))}return k.replace(/[\u0000-\u001f\u007f-\uffff]/g,(function(E){var k=E.charCodeAt(0).toString(16);if(k.length<=2&&!S){while(k.length<2)k="0"+k;return"\\x"+k}else{while(k.length<4)k="0"+k;return"\\u"+k}}))}:function(E){return E.replace(/[\ud800-\udbff][\udc00-\udfff]|([\ud800-\udbff]|[\udc00-\udfff])/g,(function(E,k){if(k){return"\\u"+k.charCodeAt(0).toString(16)}return E}))};function make_string(k,S){var w=0,N=0;k=k.replace(/[\\\b\f\n\r\v\t\x22\x27\u2028\u2029\0\ufeff]/g,(function(S,j){switch(S){case'"':++w;return'"';case"'":++N;return"'";case"\\":return"\\\\";case"\n":return"\\n";case"\r":return"\\r";case"\t":return"\\t";case"\b":return"\\b";case"\f":return"\\f";case"\v":return E.ie8?"\\x0B":"\\v";case"\u2028":return"\\u2028";case"\u2029":return"\\u2029";case"\ufeff":return"\\ufeff";case"\0":return/[0-9]/.test(get_full_char(k,j+1))?"\\x00":"\\0"}return S}));function quote_single(){return"'"+k.replace(/\x27/g,"\\'")+"'"}function quote_double(){return'"'+k.replace(/\x22/g,'\\"')+'"'}function quote_template(){return"`"+k.replace(/`/g,"\\`")+"`"}k=ae(k);if(S==="`")return quote_template();switch(E.quote_style){case 1:return quote_single();case 2:return quote_double();case 3:return S=="'"?quote_single():quote_double();default:return w>N?quote_single():quote_double()}}function encode_string(k,S){var w=make_string(k,S);if(E.inline_script){w=w.replace(/<\x2f(script)([>\/\t\n\f\r ])/gi,"<\\/$1$2");w=w.replace(/\x3c!--/g,"\\x3c!--");w=w.replace(/--\x3e/g,"--\\x3e")}return w}function make_name(E){E=E.toString();E=ae(E,true);return E}function make_indent(k){return" ".repeat(E.indent_start+N-k*E.indent_level)}var _e=false;var ve=false;var Ee=false;var we=0;var Ce=false;var Me=false;var Te=-1;var Ie="";var Oe,Re,Fe=E.source_map&&[];var Ne=Fe?function(){Fe.forEach((function(k){try{let S=!k.name&&k.token.type=="name"?k.token.value:k.name;if(S instanceof Rn){S=S.name}E.source_map.add(k.token.file,k.line,k.col,k.token.line,k.token.col,is_basic_identifier_string(S)?S:undefined)}catch(E){}}));Fe=[]}:noop;var Be=E.max_line_len?function(){if(j>E.max_line_len){if(we){var k=te.slice(0,we);var S=te.slice(we);if(Fe){var w=S.length-j;Fe.forEach((function(E){E.line++;E.col+=w}))}te=k+"\n"+S;q++;ee++;j=S.length}}if(we){we=0;Ne()}}:noop;var Le=makePredicate("( [ + * / - , . `");function print(k){k=String(k);var S=get_full_char(k,0);if(Ce&&S){Ce=false;if(S!=="\n"){print("\n");$e()}}if(Me&&S){Me=false;if(!/[\s;})]/.test(S)){je()}}Te=-1;var w=Ie.charAt(Ie.length-1);if(Ee){Ee=false;if(w===":"&&S==="}"||(!S||!";}".includes(S))&&w!==";"){if(E.semicolons||Le.has(S)){te+=";";j++;ee++}else{Be();if(j>0){te+="\n";ee++;q++;j=0}if(/^\s+$/.test(k)){Ee=true}}if(!E.beautify)ve=false}}if(ve){if(is_identifier_char(w)&&(is_identifier_char(S)||S=="\\")||S=="/"&&S==w||(S=="+"||S=="-")&&S==Ie){te+=" ";j++;ee++}ve=false}if(Oe){Fe.push({token:Oe,name:Re,line:q,col:j});Oe=false;if(!we)Ne()}te+=k;_e=k[k.length-1]=="(";ee+=k.length;var N=k.split(/\r?\n/),ne=N.length-1;q+=ne;j+=N[0].length;if(ne>0){Be();j=N[ne].length}Ie=k}var star=function(){print("*")};var je=E.beautify?function(){print(" ")}:function(){ve=true};var $e=E.beautify?function(k){if(E.beautify){print(make_indent(k?.5:0))}}:noop;var ze=E.beautify?function(E,k){if(E===true)E=next_indent();var S=N;N=E;var w=k();N=S;return w}:function(E,k){return k()};var Ue=E.beautify?function(){if(Te<0)return print("\n");if(te[Te]!="\n"){te=te.slice(0,Te)+"\n"+te.slice(Te);ee++;q++}Te++}:E.max_line_len?function(){Be();we=te.length}:noop;var Ge=E.beautify?function(){print(";")}:function(){Ee=true};function force_semicolon(){Ee=false;print(";")}function next_indent(){return N+E.indent_level}function with_block(E){var k;print("{");Ue();ze(next_indent(),(function(){k=E()}));$e();print("}");return k}function with_parens(E){print("(");var k=E();print(")");return k}function with_square(E){print("[");var k=E();print("]");return k}function comma(){print(",");je()}function colon(){print(":");je()}var qe=Fe?function(E,k){Oe=E;Re=k}:noop;function get(){if(we){Be()}return te}function has_nlb(){let E=te.length-1;while(E>=0){const k=te.charCodeAt(E);if(k===wr){return true}if(k!==Ar){return false}E--}return true}function filter_comment(k){if(!E.preserve_annotations){k=k.replace(Cr," ")}if(/^\s*$/.test(k)){return""}return k.replace(/(<\s*\/\s*)(script)/i,"<\\/$2")}function prepend_comments(k){var w=this;var N=k.start;if(!N)return;var j=w.printed_comments;const q=k instanceof It&&k.value;if(N.comments_before&&j.has(N.comments_before)){if(q){N.comments_before=[]}else{return}}var te=N.comments_before;if(!te){te=N.comments_before=[]}j.add(te);if(q){var ne=new TreeWalker((function(E){var k=ne.parent();if(k instanceof It||k instanceof mn&&k.left===E||k.TYPE=="Call"&&k.expression===E||k instanceof gn&&k.condition===E||k instanceof an&&k.expression===E||k instanceof sn&&k.expressions[0]===E||k instanceof ln&&k.expression===E||k instanceof hn){if(!E.start)return;var S=E.start.comments_before;if(S&&!j.has(S)){j.add(S);te=te.concat(S)}}else{return true}}));ne.push(k);k.value.walk(ne)}if(ee==0){if(te.length>0&&E.shebang&&te[0].type==="comment5"&&!j.has(te[0])){print("#!"+te.shift().value+"\n");$e()}var ae=E.preamble;if(ae){print(ae.replace(/\r\n?|[\n\u2028\u2029]|\s*$/g,"\n"))}}te=te.filter(S,k).filter((E=>!j.has(E)));if(te.length==0)return;var _e=has_nlb();te.forEach((function(E,k){j.add(E);if(!_e){if(E.nlb){print("\n");$e();_e=true}else if(k>0){je()}}if(/comment[134]/.test(E.type)){var S=filter_comment(E.value);if(S){print("//"+S+"\n");$e()}_e=true}else if(E.type=="comment2"){var S=filter_comment(E.value);if(S){print("/*"+S+"*/")}_e=false}}));if(!_e){if(N.nlb){print("\n");$e()}else{je()}}}function append_comments(E,k){var w=this;var N=E.end;if(!N)return;var j=w.printed_comments;var q=N[k?"comments_before":"comments_after"];if(!q||j.has(q))return;if(!(E instanceof et||q.every((E=>!/comment[134]/.test(E.type)))))return;j.add(q);var ee=te.length;q.filter(S,E).forEach((function(E,S){if(j.has(E))return;j.add(E);Me=false;if(Ce){print("\n");$e();Ce=false}else if(E.nlb&&(S>0||!has_nlb())){print("\n");$e()}else if(S>0||!k){je()}if(/comment[134]/.test(E.type)){const k=filter_comment(E.value);if(k){print("//"+k)}Ce=true}else if(E.type=="comment2"){const k=filter_comment(E.value);if(k){print("/*"+k+"*/")}Me=true}}));if(te.length>ee)Te=ee}var Ve=[];return{get:get,toString:get,indent:$e,in_directive:false,use_asm:null,active_scope:null,indentation:function(){return N},current_width:function(){return j-N},should_break:function(){return E.width&&this.current_width()>=E.width},has_parens:function(){return _e},newline:Ue,print:print,star:star,space:je,comma:comma,colon:colon,last:function(){return Ie},semicolon:Ge,force_semicolon:force_semicolon,to_utf8:ae,print_name:function(E){print(make_name(E))},print_string:function(E,k,S){var w=encode_string(E,k);if(S===true&&!w.includes("\\")){if(!Sr.test(te)){force_semicolon()}force_semicolon()}print(w)},print_template_string_chars:function(E){var k=encode_string(E,"`").replace(/\${/g,"\\${");return print(k.substr(1,k.length-2))},encode_string:encode_string,next_indent:next_indent,with_indent:ze,with_block:with_block,with_parens:with_parens,with_square:with_square,add_mapping:qe,option:function(k){return E[k]},printed_comments:ne,prepend_comments:k?noop:prepend_comments,append_comments:k||S===return_false?noop:append_comments,line:function(){return q},col:function(){return j},pos:function(){return ee},push_node:function(E){Ve.push(E)},pop_node:function(){return Ve.pop()},parent:function(E){return Ve[Ve.length-2-(E||0)]}}}(function(){function DEFPRINT(E,k){E.DEFMETHOD("_codegen",k)}Ze.DEFMETHOD("print",(function(E,k){var S=this,w=S._codegen;if(S instanceof _t){E.active_scope=S}else if(!E.use_asm&&S instanceof nt&&S.value=="use asm"){E.use_asm=E.active_scope}function doit(){E.prepend_comments(S);S.add_source_map(E);w(S,E);E.append_comments(S)}E.push_node(S);if(k||S.needs_parens(E)){E.with_parens(doit)}else{doit()}E.pop_node();if(S===E.use_asm){E.use_asm=null}}));Ze.DEFMETHOD("_print",Ze.prototype.print);Ze.DEFMETHOD("print_to_string",(function(E){var k=OutputStream(E);this.print(k);return k.get()}));function PARENS(E,k){if(Array.isArray(E)){E.forEach((function(E){PARENS(E,k)}))}else{E.DEFMETHOD("needs_parens",k)}}PARENS(Ze,return_false);PARENS(xt,(function(E){if(!E.has_parens()&&first_in_statement(E)){return true}if(E.option("webkit")){var k=E.parent();if(k instanceof on&&k.expression===this){return true}}if(E.option("wrap_iife")){var k=E.parent();if(k instanceof nn&&k.expression===this){return true}}if(E.option("wrap_func_args")){var k=E.parent();if(k instanceof nn&&k.args.includes(this)){return true}}return false}));PARENS(St,(function(E){var k=E.parent();if(E.option("wrap_func_args")&&k instanceof nn&&k.args.includes(this)){return true}return k instanceof on&&k.expression===this}));PARENS(bn,(function(E){return!E.has_parens()&&first_in_statement(E)}));PARENS(On,first_in_statement);PARENS(pn,(function(E){var k=E.parent();return k instanceof on&&k.expression===this||k instanceof nn&&k.expression===this||k instanceof mn&&k.operator==="**"&&this instanceof dn&&k.left===this&&this.operator!=="++"&&this.operator!=="--"}));PARENS(Bt,(function(E){var k=E.parent();return k instanceof on&&k.expression===this||k instanceof nn&&k.expression===this||k instanceof mn&&k.operator==="**"&&k.left===this||E.option("safari10")&&k instanceof dn}));PARENS(sn,(function(E){var k=E.parent();return k instanceof nn||k instanceof pn||k instanceof mn||k instanceof Jt||k instanceof on||k instanceof vn||k instanceof En||k instanceof gn||k instanceof St||k instanceof _n||k instanceof bt||k instanceof gt&&this===k.object||k instanceof Lt||k instanceof tn}));PARENS(mn,(function(E){var k=E.parent();if(k instanceof nn&&k.expression===this)return true;if(k instanceof pn)return true;if(k instanceof on&&k.expression===this)return true;if(k instanceof mn){const E=k.operator;const S=this.operator;if(S==="??"&&(E==="||"||E==="&&")){return true}if(E==="??"&&(S==="||"||S==="&&")){return true}const w=Ke[E];const N=Ke[S];if(w>N||w==N&&(this===k.right||E=="**")){return true}}}));PARENS(Lt,(function(E){var k=E.parent();if(k instanceof mn&&k.operator!=="=")return true;if(k instanceof nn&&k.expression===this)return true;if(k instanceof gn&&k.condition===this)return true;if(k instanceof pn)return true;if(k instanceof on&&k.expression===this)return true}));PARENS(on,(function(E){var k=E.parent();if(k instanceof rn&&k.expression===this){return walk(this,(E=>{if(E instanceof _t)return true;if(E instanceof nn){return vr}}))}}));PARENS(nn,(function(E){var k=E.parent(),S;if(k instanceof rn&&k.expression===this||k instanceof tn&&k.is_default&&this.expression instanceof xt)return true;return this.expression instanceof xt&&k instanceof on&&k.expression===this&&(S=E.parent(1))instanceof yn&&S.left===k}));PARENS(rn,(function(E){var k=E.parent();if(this.args.length===0&&(k instanceof on||k instanceof nn&&k.expression===this))return true}));PARENS(ar,(function(E){var k=E.parent();if(k instanceof on&&k.expression===this){var S=this.getValue();if(S<0||/^0/.test(make_num(S))){return true}}}));PARENS(ur,(function(E){var k=E.parent();if(k instanceof on&&k.expression===this){var S=this.getValue();if(S.startsWith("-")){return true}}}));PARENS([yn,gn],(function(E){var k=E.parent();if(k instanceof pn)return true;if(k instanceof mn&&!(k instanceof yn))return true;if(k instanceof nn&&k.expression===this)return true;if(k instanceof gn&&k.condition===this)return true;if(k instanceof on&&k.expression===this)return true;if(this instanceof yn&&this.left instanceof At&&this.left.is_array===false)return true}));DEFPRINT(nt,(function(E,k){k.print_string(E.value,E.quote);k.semicolon()}));DEFPRINT(bt,(function(E,k){k.print("...");E.expression.print(k)}));DEFPRINT(At,(function(E,k){k.print(E.is_array?"[":"{");var S=E.names.length;E.names.forEach((function(E,w){if(w>0)k.comma();E.print(k);if(w==S-1&&E instanceof hr)k.comma()}));k.print(E.is_array?"]":"}")}));DEFPRINT(tt,(function(E,k){k.print("debugger");k.semicolon()}));function display_body(E,k,S,w){var N=E.length-1;S.in_directive=w;E.forEach((function(E,w){if(S.in_directive===true&&!(E instanceof nt||E instanceof ot||E instanceof rt&&E.body instanceof sr)){S.in_directive=false}if(!(E instanceof ot)){S.indent();E.print(S);if(!(w==N&&k)){S.newline();if(k)S.newline()}}if(S.in_directive===true&&E instanceof rt&&E.body instanceof sr){S.in_directive=false}}));S.in_directive=false}ut.DEFMETHOD("_do_print_body",(function(E){force_statement(this.body,E)}));DEFPRINT(et,(function(E,k){E.body.print(k);k.semicolon()}));DEFPRINT(vt,(function(E,k){display_body(E.body,true,k,true);k.print("")}));DEFPRINT(lt,(function(E,k){E.label.print(k);k.colon();E.body.print(k)}));DEFPRINT(rt,(function(E,k){E.body.print(k);k.semicolon()}));function print_braced_empty(E,k){k.print("{");k.with_indent(k.next_indent(),(function(){k.append_comments(E,true)}));k.print("}")}function print_braced(E,k,S){if(E.body.length>0){k.with_block((function(){display_body(E.body,false,k,S)}))}else print_braced_empty(E,k)}DEFPRINT(st,(function(E,k){print_braced(E,k)}));DEFPRINT(ot,(function(E,k){k.semicolon()}));DEFPRINT(ft,(function(E,k){k.print("do");k.space();make_block(E.body,k);k.space();k.print("while");k.space();k.with_parens((function(){E.condition.print(k)}));k.semicolon()}));DEFPRINT(dt,(function(E,k){k.print("while");k.space();k.with_parens((function(){E.condition.print(k)}));k.space();E._do_print_body(k)}));DEFPRINT(ht,(function(E,k){k.print("for");k.space();k.with_parens((function(){if(E.init){if(E.init instanceof Wt){E.init.print(k)}else{parenthesize_for_noin(E.init,k,true)}k.print(";");k.space()}else{k.print(";")}if(E.condition){E.condition.print(k);k.print(";");k.space()}else{k.print(";")}if(E.step){E.step.print(k)}}));k.space();E._do_print_body(k)}));DEFPRINT(mt,(function(E,k){k.print("for");if(E.await){k.space();k.print("await")}k.space();k.with_parens((function(){E.init.print(k);k.space();k.print(E instanceof gt?"of":"in");k.space();E.object.print(k)}));k.space();E._do_print_body(k)}));DEFPRINT(yt,(function(E,k){k.print("with");k.space();k.with_parens((function(){E.expression.print(k)}));k.space();E._do_print_body(k)}));Et.DEFMETHOD("_do_print",(function(E,k){var S=this;if(!k){if(S.async){E.print("async");E.space()}E.print("function");if(S.is_generator){E.star()}if(S.name){E.space()}}if(S.name instanceof Rn){S.name.print(E)}else if(k&&S.name instanceof Ze){E.with_square((function(){S.name.print(E)}))}E.with_parens((function(){S.argnames.forEach((function(k,S){if(S)E.comma();k.print(E)}))}));E.space();print_braced(S,E,true)}));DEFPRINT(Et,(function(E,k){E._do_print(k)}));DEFPRINT(Ct,(function(E,k){var S=E.prefix;var w=S instanceof Et||S instanceof mn||S instanceof gn||S instanceof sn||S instanceof pn||S instanceof an&&S.expression instanceof bn;if(w)k.print("(");E.prefix.print(k);if(w)k.print(")");E.template_string.print(k)}));DEFPRINT(Dt,(function(E,k){var S=k.parent()instanceof Ct;k.print("`");for(var w=0;w");E.space();const N=k.body[0];if(k.body.length===1&&N instanceof Pt){const k=N.value;if(!k){E.print("{}")}else if(left_is_object(k)){E.print("(");k.print(E);E.print(")")}else{k.print(E)}}else{print_braced(k,E)}if(w){E.print(")")}}));It.DEFMETHOD("_do_print",(function(E,k){E.print(k);if(this.value){E.space();const k=this.value.start.comments_before;if(k&&k.length&&!E.printed_comments.has(k)){E.print("(");this.value.print(E);E.print(")")}else{this.value.print(E)}}E.semicolon()}));DEFPRINT(Pt,(function(E,k){E._do_print(k,"return")}));DEFPRINT(Ot,(function(E,k){E._do_print(k,"throw")}));DEFPRINT(Lt,(function(E,k){var S=E.is_star?"*":"";k.print("yield"+S);if(E.expression){k.space();E.expression.print(k)}}));DEFPRINT(Bt,(function(E,k){k.print("await");k.space();var S=E.expression;var w=!(S instanceof nn||S instanceof Yn||S instanceof on||S instanceof pn||S instanceof ir||S instanceof Bt||S instanceof bn);if(w)k.print("(");E.expression.print(k);if(w)k.print(")")}));Rt.DEFMETHOD("_do_print",(function(E,k){E.print(k);if(this.label){E.space();this.label.print(E)}E.semicolon()}));DEFPRINT(Ft,(function(E,k){E._do_print(k,"break")}));DEFPRINT(Nt,(function(E,k){E._do_print(k,"continue")}));function make_then(E,k){var S=E.body;if(k.option("braces")||k.option("ie8")&&S instanceof ft)return make_block(S,k);if(!S)return k.force_semicolon();while(true){if(S instanceof jt){if(!S.alternative){make_block(E.body,k);return}S=S.alternative}else if(S instanceof ut){S=S.body}else break}force_statement(E.body,k)}DEFPRINT(jt,(function(E,k){k.print("if");k.space();k.with_parens((function(){E.condition.print(k)}));k.space();if(E.alternative){make_then(E,k);k.space();k.print("else");k.space();if(E.alternative instanceof jt)E.alternative.print(k);else force_statement(E.alternative,k)}else{E._do_print_body(k)}}));DEFPRINT($t,(function(E,k){k.print("switch");k.space();k.with_parens((function(){E.expression.print(k)}));k.space();var S=E.body.length-1;if(S<0)print_braced_empty(E,k);else k.with_block((function(){E.body.forEach((function(E,w){k.indent(true);E.print(k);if(w0)k.newline()}))}))}));zt.DEFMETHOD("_do_print_body",(function(E){E.newline();this.body.forEach((function(k){E.indent();k.print(E);E.newline()}))}));DEFPRINT(Ut,(function(E,k){k.print("default:");E._do_print_body(k)}));DEFPRINT(Gt,(function(E,k){k.print("case");k.space();E.expression.print(k);k.print(":");E._do_print_body(k)}));DEFPRINT(qt,(function(E,k){k.print("try");k.space();print_braced(E,k);if(E.bcatch){k.space();E.bcatch.print(k)}if(E.bfinally){k.space();E.bfinally.print(k)}}));DEFPRINT(Vt,(function(E,k){k.print("catch");if(E.argname){k.space();k.with_parens((function(){E.argname.print(k)}))}k.space();print_braced(E,k)}));DEFPRINT(Ht,(function(E,k){k.print("finally");k.space();print_braced(E,k)}));Wt.DEFMETHOD("_do_print",(function(E,k){E.print(k);E.space();this.definitions.forEach((function(k,S){if(S)E.comma();k.print(E)}));var S=E.parent();var w=S instanceof ht||S instanceof mt;var N=!w||S&&S.init!==this;if(N)E.semicolon()}));DEFPRINT(Xt,(function(E,k){E._do_print(k,"let")}));DEFPRINT(Kt,(function(E,k){E._do_print(k,"var")}));DEFPRINT(Qt,(function(E,k){E._do_print(k,"const")}));DEFPRINT(Zt,(function(E,k){k.print("import");k.space();if(E.imported_name){E.imported_name.print(k)}if(E.imported_name&&E.imported_names){k.print(",");k.space()}if(E.imported_names){if(E.imported_names.length===1&&E.imported_names[0].foreign_name.name==="*"){E.imported_names[0].print(k)}else{k.print("{");E.imported_names.forEach((function(S,w){k.space();S.print(k);if(w{if(E instanceof _t)return true;if(E instanceof mn&&E.operator=="in"){return vr}}))}E.print(k,w)}DEFPRINT(Jt,(function(E,k){E.name.print(k);if(E.value){k.space();k.print("=");k.space();var S=k.parent(1);var w=S instanceof ht||S instanceof mt;parenthesize_for_noin(E.value,k,w)}}));DEFPRINT(nn,(function(E,k){E.expression.print(k);if(E instanceof rn&&E.args.length===0)return;if(E.expression instanceof nn||E.expression instanceof Et){k.add_mapping(E.start)}if(E.optional)k.print("?.");k.with_parens((function(){E.args.forEach((function(E,S){if(S)k.comma();E.print(k)}))}))}));DEFPRINT(rn,(function(E,k){k.print("new");k.space();nn.prototype._codegen(E,k)}));sn.DEFMETHOD("_do_print",(function(E){this.expressions.forEach((function(k,S){if(S>0){E.comma();if(E.should_break()){E.newline();E.indent()}}k.print(E)}))}));DEFPRINT(sn,(function(E,k){E._do_print(k)}));DEFPRINT(an,(function(E,k){var S=E.expression;S.print(k);var w=E.property;var N=_e.has(w)?k.option("ie8"):!is_identifier_string(w,k.option("ecma")>=2015||k.option("safari10"));if(E.optional)k.print("?.");if(N){k.print("[");k.add_mapping(E.end);k.print_string(w);k.print("]")}else{if(S instanceof ar&&S.getValue()>=0){if(!/[xa-f.)]/i.test(k.last())){k.print(".")}}if(!E.optional)k.print(".");k.add_mapping(E.end);k.print_name(w)}}));DEFPRINT(un,(function(E,k){var S=E.expression;S.print(k);var w=E.property;if(E.optional)k.print("?");k.print(".#");k.print_name(w)}));DEFPRINT(ln,(function(E,k){E.expression.print(k);if(E.optional)k.print("?.");k.print("[");E.property.print(k);k.print("]")}));DEFPRINT(cn,(function(E,k){E.expression.print(k)}));DEFPRINT(dn,(function(E,k){var S=E.operator;k.print(S);if(/^[a-z]/i.test(S)||/[+-]$/.test(S)&&E.expression instanceof dn&&/^[+-]/.test(E.expression.operator)){k.space()}E.expression.print(k)}));DEFPRINT(hn,(function(E,k){E.expression.print(k);k.print(E.operator)}));DEFPRINT(mn,(function(E,k){var S=E.operator;E.left.print(k);if(S[0]==">"&&E.left instanceof hn&&E.left.operator=="--"){k.print(" ")}else{k.space()}k.print(S);if((S=="<"||S=="<<")&&E.right instanceof dn&&E.right.operator=="!"&&E.right.expression instanceof dn&&E.right.expression.operator=="--"){k.print(" ")}else{k.space()}E.right.print(k)}));DEFPRINT(gn,(function(E,k){E.condition.print(k);k.space();k.print("?");k.space();E.consequent.print(k);k.space();k.colon();E.alternative.print(k)}));DEFPRINT(vn,(function(E,k){k.with_square((function(){var S=E.elements,w=S.length;if(w>0)k.space();S.forEach((function(E,S){if(S)k.comma();E.print(k);if(S===w-1&&E instanceof hr)k.comma()}));if(w>0)k.space()}))}));DEFPRINT(bn,(function(E,k){if(E.properties.length>0)k.with_block((function(){E.properties.forEach((function(E,S){if(S){k.print(",");k.newline()}k.indent();E.print(k)}));k.newline()}));else print_braced_empty(E,k)}));DEFPRINT(Mn,(function(E,k){k.print("class");k.space();if(E.name){E.name.print(k);k.space()}if(E.extends){var S=!(E.extends instanceof Yn)&&!(E.extends instanceof on)&&!(E.extends instanceof On)&&!(E.extends instanceof xt);k.print("extends");if(S){k.print("(")}else{k.space()}E.extends.print(k);if(S){k.print(")")}else{k.space()}}if(E.properties.length>0)k.with_block((function(){E.properties.forEach((function(E,S){if(S){k.newline()}k.indent();E.print(k)}));k.newline()}));else k.print("{}")}));DEFPRINT(Fn,(function(E,k){k.print("new.target")}));function print_property_name(E,k,S){if(S.option("quote_keys")){return S.print_string(E)}if(""+ +E==E&&E>=0){if(S.option("keep_numbers")){return S.print(E)}return S.print(make_num(E))}var w=_e.has(E)?S.option("ie8"):S.option("ecma")<2015||S.option("safari10")?!is_basic_identifier_string(E):!is_identifier_string(E,true);if(w||k&&S.option("keep_quoted_props")){return S.print_string(E,k)}return S.print_name(E)}DEFPRINT(kn,(function(E,k){function get_name(E){var k=E.definition();return k?k.mangled_name||k.name:E.name}var S=k.option("shorthand");if(S&&E.value instanceof Rn&&is_identifier_string(E.key,k.option("ecma")>=2015||k.option("safari10"))&&get_name(E.value)===E.key&&!_e.has(E.key)){print_property_name(E.key,E.quote,k)}else if(S&&E.value instanceof _n&&E.value.left instanceof Rn&&is_identifier_string(E.key,k.option("ecma")>=2015||k.option("safari10"))&&get_name(E.value.left)===E.key){print_property_name(E.key,E.quote,k);k.space();k.print("=");k.space();E.value.right.print(k)}else{if(!(E.key instanceof Ze)){print_property_name(E.key,E.quote,k)}else{k.with_square((function(){E.key.print(k)}))}k.colon();E.value.print(k)}}));DEFPRINT(In,((E,k)=>{if(E.static){k.print("static");k.space()}k.print("#");print_property_name(E.key.name,E.quote,k);if(E.value){k.print("=");E.value.print(k)}k.semicolon()}));DEFPRINT(Tn,((E,k)=>{if(E.static){k.print("static");k.space()}if(E.key instanceof qn){print_property_name(E.key.name,E.quote,k)}else{k.print("[");E.key.print(k);k.print("]")}if(E.value){k.print("=");E.value.print(k)}k.semicolon()}));En.DEFMETHOD("_print_getter_setter",(function(E,k,S){var w=this;if(w.static){S.print("static");S.space()}if(E){S.print(E);S.space()}if(w.key instanceof Gn){if(k)S.print("#");print_property_name(w.key.name,w.quote,S)}else{S.with_square((function(){w.key.print(S)}))}w.value._do_print(S,true)}));DEFPRINT(wn,(function(E,k){E._print_getter_setter("set",false,k)}));DEFPRINT(An,(function(E,k){E._print_getter_setter("get",false,k)}));DEFPRINT(xn,(function(E,k){E._print_getter_setter("set",true,k)}));DEFPRINT(Sn,(function(E,k){E._print_getter_setter("get",true,k)}));DEFPRINT(Dn,(function(E,k){var S;if(E.is_generator&&E.async){S="async*"}else if(E.is_generator){S="*"}else if(E.async){S="async"}E._print_getter_setter(S,true,k)}));DEFPRINT(Cn,(function(E,k){var S;if(E.is_generator&&E.async){S="async*"}else if(E.is_generator){S="*"}else if(E.async){S="async"}E._print_getter_setter(S,false,k)}));Rn.DEFMETHOD("_do_print",(function(E){var k=this.definition();E.print_name(k?k.mangled_name||k.name:this.name)}));DEFPRINT(Rn,(function(E,k){E._do_print(k)}));DEFPRINT(hr,noop);DEFPRINT(nr,(function(E,k){k.print("this")}));DEFPRINT(rr,(function(E,k){k.print("super")}));DEFPRINT(ir,(function(E,k){k.print(E.getValue())}));DEFPRINT(sr,(function(E,k){k.print_string(E.getValue(),E.quote,k.in_directive)}));DEFPRINT(ar,(function(E,k){if((k.option("keep_numbers")||k.use_asm)&&E.raw){k.print(E.raw)}else{k.print(make_num(E.getValue()))}}));DEFPRINT(ur,(function(E,k){k.print(E.getValue()+"n")}));const E=/(<\s*\/\s*script)/i;const slash_script_replace=(E,k)=>k.replace("/","\\/");DEFPRINT(lr,(function(k,S){let{source:w,flags:N}=k.getValue();w=regexp_source_fix(w);N=N?sort_regexp_flags(N):"";w=w.replace(E,slash_script_replace);S.print(S.to_utf8(`/${w}/${N}`));const j=S.parent();if(j instanceof mn&&/^\w/.test(j.operator)&&j.left===k){S.print(" ")}}));function force_statement(E,k){if(k.option("braces")){make_block(E,k)}else{if(!E||E instanceof ot)k.force_semicolon();else E.print(k)}}function best_of(E){var k=E[0],S=k.length;for(var w=1;wE===null&&k===null||E.TYPE===k.TYPE&&E.shallow_cmp(k);const equivalent_to=(E,k)=>{if(!shallow_cmp(E,k))return false;const S=[E];const w=[k];const N=S.push.bind(S);const j=w.push.bind(w);while(S.length&&w.length){const E=S.pop();const k=w.pop();if(!shallow_cmp(E,k))return false;E._children_backwards(N);k._children_backwards(j);if(S.length!==w.length){return false}}return S.length==0&&w.length==0};const mkshallow=E=>{const k=Object.keys(E).map((k=>{if(E[k]==="eq"){return`this.${k} === other.${k}`}else if(E[k]==="exist"){return`(this.${k} == null ? other.${k} == null : this.${k} === other.${k})`}else{throw new Error(`mkshallow: Unexpected instruction: ${E[k]}`)}})).join(" && ");return new Function("other","return "+k)};const pass_through=()=>true;Ze.prototype.shallow_cmp=function(){throw new Error("did not find a shallow_cmp function for "+this.constructor.name)};tt.prototype.shallow_cmp=pass_through;nt.prototype.shallow_cmp=mkshallow({value:"eq"});rt.prototype.shallow_cmp=pass_through;it.prototype.shallow_cmp=pass_through;ot.prototype.shallow_cmp=pass_through;lt.prototype.shallow_cmp=mkshallow({"label.name":"eq"});ft.prototype.shallow_cmp=pass_through;dt.prototype.shallow_cmp=pass_through;ht.prototype.shallow_cmp=mkshallow({init:"exist",condition:"exist",step:"exist"});mt.prototype.shallow_cmp=pass_through;gt.prototype.shallow_cmp=pass_through;yt.prototype.shallow_cmp=pass_through;vt.prototype.shallow_cmp=pass_through;bt.prototype.shallow_cmp=pass_through;Et.prototype.shallow_cmp=mkshallow({is_generator:"eq",async:"eq"});At.prototype.shallow_cmp=mkshallow({is_array:"eq"});Ct.prototype.shallow_cmp=pass_through;Dt.prototype.shallow_cmp=pass_through;Mt.prototype.shallow_cmp=mkshallow({value:"eq"});Tt.prototype.shallow_cmp=pass_through;Rt.prototype.shallow_cmp=pass_through;Bt.prototype.shallow_cmp=pass_through;Lt.prototype.shallow_cmp=mkshallow({is_star:"eq"});jt.prototype.shallow_cmp=mkshallow({alternative:"exist"});$t.prototype.shallow_cmp=pass_through;zt.prototype.shallow_cmp=pass_through;qt.prototype.shallow_cmp=mkshallow({bcatch:"exist",bfinally:"exist"});Vt.prototype.shallow_cmp=mkshallow({argname:"exist"});Ht.prototype.shallow_cmp=pass_through;Wt.prototype.shallow_cmp=pass_through;Jt.prototype.shallow_cmp=mkshallow({value:"exist"});Yt.prototype.shallow_cmp=pass_through;Zt.prototype.shallow_cmp=mkshallow({imported_name:"exist",imported_names:"exist"});en.prototype.shallow_cmp=pass_through;tn.prototype.shallow_cmp=mkshallow({exported_definition:"exist",exported_value:"exist",exported_names:"exist",module_name:"eq",is_default:"eq"});nn.prototype.shallow_cmp=pass_through;sn.prototype.shallow_cmp=pass_through;on.prototype.shallow_cmp=pass_through;cn.prototype.shallow_cmp=pass_through;an.prototype.shallow_cmp=mkshallow({property:"eq"});un.prototype.shallow_cmp=mkshallow({property:"eq"});pn.prototype.shallow_cmp=mkshallow({operator:"eq"});mn.prototype.shallow_cmp=mkshallow({operator:"eq"});gn.prototype.shallow_cmp=pass_through;vn.prototype.shallow_cmp=pass_through;bn.prototype.shallow_cmp=pass_through;En.prototype.shallow_cmp=pass_through;kn.prototype.shallow_cmp=mkshallow({key:"eq"});wn.prototype.shallow_cmp=mkshallow({static:"eq"});An.prototype.shallow_cmp=mkshallow({static:"eq"});Cn.prototype.shallow_cmp=mkshallow({static:"eq",is_generator:"eq",async:"eq"});Mn.prototype.shallow_cmp=mkshallow({name:"exist",extends:"exist"});Tn.prototype.shallow_cmp=mkshallow({static:"eq"});Rn.prototype.shallow_cmp=mkshallow({name:"eq"});Fn.prototype.shallow_cmp=pass_through;nr.prototype.shallow_cmp=pass_through;rr.prototype.shallow_cmp=pass_through;sr.prototype.shallow_cmp=mkshallow({value:"eq"});ar.prototype.shallow_cmp=mkshallow({value:"eq"});ur.prototype.shallow_cmp=mkshallow({value:"eq"});lr.prototype.shallow_cmp=function(E){return this.value.flags===E.value.flags&&this.value.source===E.value.source};cr.prototype.shallow_cmp=pass_through;const Dr=1<<0;const Mr=1<<1;let Tr=null;let Ir=null;class SymbolDef{constructor(E,k,S){this.name=k.name;this.orig=[k];this.init=S;this.eliminated=0;this.assignments=0;this.scope=E;this.replaced=0;this.global=false;this.export=0;this.mangled_name=null;this.undeclared=false;this.id=SymbolDef.next_id++;this.chained=false;this.direct_access=false;this.escaped=0;this.recursive_refs=0;this.references=[];this.should_replace=undefined;this.single_use=false;this.fixed=false;Object.seal(this)}fixed_value(){if(!this.fixed||this.fixed instanceof Ze)return this.fixed;return this.fixed()}unmangleable(E){if(!E)E={};if(Tr&&Tr.has(this.id)&&keep_name(E.keep_fnames,this.orig[0].name))return true;return this.global&&!E.toplevel||this.export&Dr||this.undeclared||!E.eval&&this.scope.pinned()||(this.orig[0]instanceof Vn||this.orig[0]instanceof Un)&&keep_name(E.keep_fnames,this.orig[0].name)||this.orig[0]instanceof Gn||(this.orig[0]instanceof Wn||this.orig[0]instanceof Hn)&&keep_name(E.keep_classnames,this.orig[0].name)}mangle(E){const k=E.cache&&E.cache.props;if(this.global&&k&&k.has(this.name)){this.mangled_name=k.get(this.name)}else if(!this.mangled_name&&!this.unmangleable(E)){var S=this.scope;var w=this.orig[0];if(E.ie8&&w instanceof Vn)S=S.parent_scope;const N=redefined_catch_def(this);this.mangled_name=N?N.mangled_name||N.name:S.next_mangled(E,this);if(this.global&&k){k.set(this.name,this.mangled_name)}}}}SymbolDef.next_id=1;function redefined_catch_def(E){if(E.orig[0]instanceof Kn&&E.scope.is_block_scope()){return E.scope.get_defun_scope().variables.get(E.name)}}_t.DEFMETHOD("figure_out_scope",(function(E,{parent_scope:k=null,toplevel:S=this}={}){E=defaults(E,{cache:null,ie8:false,safari10:false});if(!(S instanceof vt)){throw new Error("Invalid toplevel scope")}var w=this.parent_scope=k;var N=new Map;var j=null;var q=null;var ee=[];var te=new TreeWalker(((k,S)=>{if(k.is_block_scope()){const N=w;k.block_scope=w=new _t(k);w._block_scope=true;const j=k instanceof Vt?N.parent_scope:N;w.init_scope_vars(j);w.uses_with=N.uses_with;w.uses_eval=N.uses_eval;if(E.safari10){if(k instanceof ht||k instanceof mt){ee.push(w)}}if(k instanceof $t){const E=w;w=N;k.expression.walk(te);w=E;for(let E=0;E{if(E===k)return true;if(k instanceof Ln){return E instanceof Vn}return!(E instanceof $n||E instanceof jn)}))){js_error(`"${k.name}" is redeclared`,k.start.file,k.start.line,k.start.col,k.start.pos)}if(!(k instanceof zn))mark_export(we,2);if(j!==w){k.mark_enclosed();var we=w.find_variable(k);if(k.thedef!==we){k.thedef=we;k.reference()}}}else if(k instanceof tr){var Ce=N.get(k.name);if(!Ce)throw new Error(string_template("Undefined label {name} [{line},{col}]",{name:k.name,line:k.start.line,col:k.start.col}));k.thedef=Ce}if(!(w instanceof vt)&&(k instanceof tn||k instanceof Zt)){js_error(`"${k.TYPE}" statement may only appear at the top level`,k.start.file,k.start.line,k.start.col,k.start.pos)}}));this.walk(te);function mark_export(E,k){if(q){var S=0;do{k++}while(te.parent(S++)!==q)}var w=te.parent(k);if(E.export=w instanceof tn?Dr:0){var N=w.exported_definition;if((N instanceof wt||N instanceof Pn)&&w.is_default){E.export=Mr}}}const ne=this instanceof vt;if(ne){this.globals=new Map}var te=new TreeWalker((E=>{if(E instanceof Rt&&E.label){E.label.thedef.references.push(E);return true}if(E instanceof Yn){var k=E.name;if(k=="eval"&&te.parent()instanceof nn){for(var w=E.scope;w&&!w.uses_eval;w=w.parent_scope){w.uses_eval=true}}var N;if(te.parent()instanceof Yt&&te.parent(1).module_name||!(N=E.scope.find_variable(k))){N=S.def_global(E);if(E instanceof Zn)N.export=Dr}else if(N.scope instanceof Et&&k=="arguments"){N.scope.uses_arguments=true}E.thedef=N;E.reference();if(E.scope.is_block_scope()&&!(N.orig[0]instanceof Ln)){E.scope=E.scope.get_defun_scope()}return true}var j;if(E instanceof Kn&&(j=redefined_catch_def(E.definition()))){var w=E.scope;while(w){push_uniq(w.enclosed,j);if(w===j.scope)break;w=w.parent_scope}}}));this.walk(te);if(E.ie8||E.safari10){walk(this,(E=>{if(E instanceof Kn){var k=E.name;var w=E.thedef.references;var N=E.scope.get_defun_scope();var j=N.find_variable(k)||S.globals.get(k)||N.def_variable(E);w.forEach((function(E){E.thedef=j;E.reference()}));E.thedef=j;E.reference();return true}}))}if(E.safari10){for(const E of ee){E.parent_scope.variables.forEach((function(k){push_uniq(E.enclosed,k)}))}}}));vt.DEFMETHOD("def_global",(function(E){var k=this.globals,S=E.name;if(k.has(S)){return k.get(S)}else{var w=new SymbolDef(this,E);w.undeclared=true;w.global=true;k.set(S,w);return w}}));_t.DEFMETHOD("init_scope_vars",(function(E){this.variables=new Map;this.uses_with=false;this.uses_eval=false;this.parent_scope=E;this.enclosed=[];this.cname=-1}));_t.DEFMETHOD("conflicting_def",(function(E){return this.enclosed.find((k=>k.name===E))||this.variables.has(E)||this.parent_scope&&this.parent_scope.conflicting_def(E)}));_t.DEFMETHOD("conflicting_def_shallow",(function(E){return this.enclosed.find((k=>k.name===E))||this.variables.has(E)}));_t.DEFMETHOD("add_child_scope",(function(E){if(E.parent_scope===this)return;E.parent_scope=this;const k=(()=>{const E=[];let k=this;do{E.push(k)}while(k=k.parent_scope);E.reverse();return E})();const S=new Set(E.enclosed);const w=[];for(const E of k){w.forEach((k=>push_uniq(E.enclosed,k)));for(const k of E.variables.values()){if(S.has(k)){push_uniq(w,k);push_uniq(E.enclosed,k)}}}}));function find_scopes_visible_from(E){const k=new Set;for(const S of new Set(E)){(function bubble_up(E){if(E==null||k.has(E))return;k.add(E);bubble_up(E.parent_scope)})(S)}return[...k]}_t.DEFMETHOD("create_symbol",(function(E,{source:k,tentative_name:S,scope:w,conflict_scopes:N=[w],init:j=null}={}){let q;N=find_scopes_visible_from(N);if(S){S=q=S.replace(/(?:^[^a-z_$]|[^a-z0-9_$])/gi,"_");let E=0;while(N.find((E=>E.conflicting_def_shallow(q)))){q=S+"$"+E++}}if(!q){throw new Error("No symbol name could be generated in create_symbol()")}const ee=make_node(E,k,{name:q,scope:w});this.def_variable(ee,j||null);ee.mark_enclosed();return ee}));Ze.DEFMETHOD("is_block_scope",return_false);Mn.DEFMETHOD("is_block_scope",return_false);Et.DEFMETHOD("is_block_scope",return_false);vt.DEFMETHOD("is_block_scope",return_false);zt.DEFMETHOD("is_block_scope",return_false);it.DEFMETHOD("is_block_scope",return_true);_t.DEFMETHOD("is_block_scope",(function(){return this._block_scope||false}));ct.DEFMETHOD("is_block_scope",return_true);Et.DEFMETHOD("init_scope_vars",(function(){_t.prototype.init_scope_vars.apply(this,arguments);this.uses_arguments=false;this.def_variable(new zn({name:"arguments",start:this.start,end:this.end}))}));St.DEFMETHOD("init_scope_vars",(function(){_t.prototype.init_scope_vars.apply(this,arguments);this.uses_arguments=false}));Rn.DEFMETHOD("mark_enclosed",(function(){var E=this.definition();var k=this.scope;while(k){push_uniq(k.enclosed,E);if(k===E.scope)break;k=k.parent_scope}}));Rn.DEFMETHOD("reference",(function(){this.definition().references.push(this);this.mark_enclosed()}));_t.DEFMETHOD("find_variable",(function(E){if(E instanceof Rn)E=E.name;return this.variables.get(E)||this.parent_scope&&this.parent_scope.find_variable(E)}));_t.DEFMETHOD("def_function",(function(E,k){var S=this.def_variable(E,k);if(!S.init||S.init instanceof wt)S.init=k;return S}));_t.DEFMETHOD("def_variable",(function(E,k){var S=this.variables.get(E.name);if(S){S.orig.push(E);if(S.init&&(S.scope!==E.scope||S.init instanceof xt)){S.init=k}}else{S=new SymbolDef(this,E,k);this.variables.set(E.name,S);S.global=!this.parent_scope}return E.thedef=S}));function next_mangled(E,k){var S=E.enclosed;e:while(true){var w=Pr(++E.cname);if(_e.has(w))continue;if(k.reserved.has(w))continue;if(Ir&&Ir.has(w))continue e;for(let E=S.length;--E>=0;){const N=S[E];const j=N.mangled_name||N.unmangleable(k)&&N.name;if(w==j)continue e}return w}}_t.DEFMETHOD("next_mangled",(function(E){return next_mangled(this,E)}));vt.DEFMETHOD("next_mangled",(function(E){let k;const S=this.mangled_names;do{k=next_mangled(this,E)}while(S.has(k));return k}));xt.DEFMETHOD("next_mangled",(function(E,k){var S=k.orig[0]instanceof zn&&this.name&&this.name.definition();var w=S?S.mangled_name||S.name:null;while(true){var N=next_mangled(this,E);if(!w||w!=N)return N}}));Rn.DEFMETHOD("unmangleable",(function(E){var k=this.definition();return!k||k.unmangleable(E)}));Jn.DEFMETHOD("unmangleable",return_false);Rn.DEFMETHOD("unreferenced",(function(){return!this.definition().references.length&&!this.scope.pinned()}));Rn.DEFMETHOD("definition",(function(){return this.thedef}));Rn.DEFMETHOD("global",(function(){return this.thedef.global}));vt.DEFMETHOD("_default_mangler_options",(function(E){E=defaults(E,{eval:false,ie8:false,keep_classnames:false,keep_fnames:false,module:false,reserved:[],toplevel:false});if(E.module)E.toplevel=true;if(!Array.isArray(E.reserved)&&!(E.reserved instanceof Set)){E.reserved=[]}E.reserved=new Set(E.reserved);E.reserved.add("arguments");return E}));vt.DEFMETHOD("mangle_names",(function(E){E=this._default_mangler_options(E);var k=-1;var S=[];if(E.keep_fnames){Tr=new Set}const w=this.mangled_names=new Set;if(E.cache){this.globals.forEach(collect);if(E.cache.props){E.cache.props.forEach((function(E){w.add(E)}))}}var N=new TreeWalker((function(w,N){if(w instanceof lt){var j=k;N();k=j;return true}if(w instanceof _t){w.variables.forEach(collect);return}if(w.is_block_scope()){w.block_scope.variables.forEach(collect);return}if(Tr&&w instanceof Jt&&w.value instanceof Et&&!w.value.name&&keep_name(E.keep_fnames,w.name.name)){Tr.add(w.name.definition().id);return}if(w instanceof Jn){let E;do{E=Pr(++k)}while(_e.has(E));w.mangled_name=E;return true}if(!(E.ie8||E.safari10)&&w instanceof Kn){S.push(w.definition());return}}));this.walk(N);if(E.keep_fnames||E.keep_classnames){Ir=new Set;S.forEach((k=>{if(k.name.length<6&&k.unmangleable(E)){Ir.add(k.name)}}))}S.forEach((k=>{k.mangle(E)}));Tr=null;Ir=null;function collect(k){const w=!E.reserved.has(k.name)&&!(k.export&Dr);if(w){S.push(k)}}}));vt.DEFMETHOD("find_colliding_names",(function(E){const k=E.cache&&E.cache.props;const S=new Set;E.reserved.forEach(to_avoid);this.globals.forEach(add_def);this.walk(new TreeWalker((function(E){if(E instanceof _t)E.variables.forEach(add_def);if(E instanceof Kn)add_def(E.definition())})));return S;function to_avoid(E){S.add(E)}function add_def(S){var w=S.name;if(S.global&&k&&k.has(w))w=k.get(w);else if(!S.unmangleable(E))return;to_avoid(w)}}));vt.DEFMETHOD("expand_names",(function(E){Pr.reset();Pr.sort();E=this._default_mangler_options(E);var k=this.find_colliding_names(E);var S=0;this.globals.forEach(rename);this.walk(new TreeWalker((function(E){if(E instanceof _t)E.variables.forEach(rename);if(E instanceof Kn)rename(E.definition())})));function next_name(){var E;do{E=Pr(S++)}while(k.has(E)||_e.has(E));return E}function rename(k){if(k.global&&E.cache)return;if(k.unmangleable(E))return;if(E.reserved.has(k.name))return;const S=redefined_catch_def(k);const w=k.name=S?S.name:next_name();k.orig.forEach((function(E){E.name=w}));k.references.forEach((function(E){E.name=w}))}}));Ze.DEFMETHOD("tail_node",return_this);sn.DEFMETHOD("tail_node",(function(){return this.expressions[this.expressions.length-1]}));vt.DEFMETHOD("compute_char_frequency",(function(E){E=this._default_mangler_options(E);try{Ze.prototype.print=function(k,S){this._print(k,S);if(this instanceof Rn&&!this.unmangleable(E)){Pr.consider(this.name,-1)}else if(E.properties){if(this instanceof un){Pr.consider("#"+this.property,-1)}else if(this instanceof an){Pr.consider(this.property,-1)}else if(this instanceof ln){skip_string(this.property)}}};Pr.consider(this.print_to_string(),1)}finally{Ze.prototype.print=Ze.prototype._print}Pr.sort();function skip_string(E){if(E instanceof sr){Pr.consider(E.value,-1)}else if(E instanceof gn){skip_string(E.consequent);skip_string(E.alternative)}else if(E instanceof sn){skip_string(E.tail_node())}}}));const Pr=(()=>{const E="abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ$_".split("");const k="0123456789".split("");let S;let w;function reset(){w=new Map;E.forEach((function(E){w.set(E,0)}));k.forEach((function(E){w.set(E,0)}))}base54.consider=function(E,k){for(var S=E.length;--S>=0;){w.set(E[S],w.get(E[S])+k)}};function compare(E,k){return w.get(k)-w.get(E)}base54.sort=function(){S=mergeSort(E,compare).concat(mergeSort(k,compare))};base54.reset=reset;reset();function base54(E){var k="",w=54;E++;do{E--;k+=S[E%w];E=Math.floor(E/w);w=64}while(E>0);return k}return base54})();let Or=undefined;Ze.prototype.size=function(E,k){Or=E&&E.mangle_options;let S=0;walk_parent(this,((E,k)=>{S+=E._size(k);if(E instanceof St&&E.is_braceless()){S+=E.body[0].value._size(k);return true}}),k||E&&E.stack);Or=undefined;return S};Ze.prototype._size=()=>0;tt.prototype._size=()=>8;nt.prototype._size=function(){return 2+this.value.length};const list_overhead=E=>E.length&&E.length-1;it.prototype._size=function(){return 2+list_overhead(this.body)};vt.prototype._size=function(){return list_overhead(this.body)};ot.prototype._size=()=>1;lt.prototype._size=()=>2;ft.prototype._size=()=>9;dt.prototype._size=()=>7;ht.prototype._size=()=>8;mt.prototype._size=()=>8;yt.prototype._size=()=>6;bt.prototype._size=()=>3;const lambda_modifiers=E=>(E.is_generator?1:0)+(E.async?6:0);kt.prototype._size=function(){return lambda_modifiers(this)+4+list_overhead(this.argnames)+list_overhead(this.body)};xt.prototype._size=function(E){const k=!!first_in_statement(E);return k*2+lambda_modifiers(this)+12+list_overhead(this.argnames)+list_overhead(this.body)};wt.prototype._size=function(){return lambda_modifiers(this)+13+list_overhead(this.argnames)+list_overhead(this.body)};St.prototype._size=function(){let E=2+list_overhead(this.argnames);if(!(this.argnames.length===1&&this.argnames[0]instanceof Rn)){E+=2}const k=this.is_braceless()?0:list_overhead(this.body)+2;return lambda_modifiers(this)+E+k};At.prototype._size=()=>2;Dt.prototype._size=function(){return 2+Math.floor(this.segments.length/2)*3};Mt.prototype._size=function(){return this.value.length};Pt.prototype._size=function(){return this.value?7:6};Ot.prototype._size=()=>6;Ft.prototype._size=function(){return this.label?6:5};Nt.prototype._size=function(){return this.label?9:8};jt.prototype._size=()=>4;$t.prototype._size=function(){return 8+list_overhead(this.body)};Gt.prototype._size=function(){return 5+list_overhead(this.body)};Ut.prototype._size=function(){return 8+list_overhead(this.body)};qt.prototype._size=function(){return 3+list_overhead(this.body)};Vt.prototype._size=function(){let E=7+list_overhead(this.body);if(this.argname){E+=2}return E};Ht.prototype._size=function(){return 7+list_overhead(this.body)};const def_size=(E,k)=>E+list_overhead(k.definitions);Kt.prototype._size=function(){return def_size(4,this)};Xt.prototype._size=function(){return def_size(4,this)};Qt.prototype._size=function(){return def_size(6,this)};Jt.prototype._size=function(){return this.value?1:0};Yt.prototype._size=function(){return this.name?4:0};Zt.prototype._size=function(){let E=6;if(this.imported_name)E+=1;if(this.imported_name||this.imported_names)E+=5;if(this.imported_names){E+=2+list_overhead(this.imported_names)}return E};en.prototype._size=()=>11;tn.prototype._size=function(){let E=7+(this.is_default?8:0);if(this.exported_value){E+=this.exported_value._size()}if(this.exported_names){E+=2+list_overhead(this.exported_names)}if(this.module_name){E+=5}return E};nn.prototype._size=function(){if(this.optional){return 4+list_overhead(this.args)}return 2+list_overhead(this.args)};rn.prototype._size=function(){return 6+list_overhead(this.args)};sn.prototype._size=function(){return list_overhead(this.expressions)};an.prototype._size=function(){if(this.optional){return this.property.length+2}return this.property.length+1};un.prototype._size=function(){if(this.optional){return this.property.length+3}return this.property.length+2};ln.prototype._size=function(){return this.optional?4:2};pn.prototype._size=function(){if(this.operator==="typeof")return 7;if(this.operator==="void")return 5;return this.operator.length};mn.prototype._size=function(E){if(this.operator==="in")return 4;let k=this.operator.length;if((this.operator==="+"||this.operator==="-")&&this.right instanceof pn&&this.right.operator===this.operator){k+=1}if(this.needs_parens(E)){k+=2}return k};gn.prototype._size=()=>3;vn.prototype._size=function(){return 2+list_overhead(this.elements)};bn.prototype._size=function(E){let k=2;if(first_in_statement(E)){k+=2}return k+list_overhead(this.properties)};const key_size=E=>typeof E==="string"?E.length:0;kn.prototype._size=function(){return key_size(this.key)+1};const static_size=E=>E?7:0;An.prototype._size=function(){return 5+static_size(this.static)+key_size(this.key)};wn.prototype._size=function(){return 5+static_size(this.static)+key_size(this.key)};Cn.prototype._size=function(){return static_size(this.static)+key_size(this.key)+lambda_modifiers(this)};Dn.prototype._size=function(){return Cn.prototype._size.call(this)+1};Sn.prototype._size=xn.prototype._size=function(){return Cn.prototype._size.call(this)+4};Mn.prototype._size=function(){return(this.name?8:7)+(this.extends?8:0)};Tn.prototype._size=function(){return static_size(this.static)+(typeof this.key==="string"?this.key.length+2:0)+(this.value?1:0)};In.prototype._size=function(){return Tn.prototype._size.call(this)+1};Rn.prototype._size=function(){return!Or||this.definition().unmangleable(Or)?this.name.length:1};qn.prototype._size=function(){return this.name.length};Yn.prototype._size=Nn.prototype._size=function(){const{name:E,thedef:k}=this;if(k&&k.global)return E.length;if(E==="arguments")return 9;return Rn.prototype._size.call(this)};Fn.prototype._size=()=>10;Qn.prototype._size=function(){return this.name.length};er.prototype._size=function(){return this.name.length};nr.prototype._size=()=>4;rr.prototype._size=()=>5;sr.prototype._size=function(){return this.value.length+2};ar.prototype._size=function(){const{value:E}=this;if(E===0)return 1;if(E>0&&Math.floor(E)===E){return Math.floor(Math.log10(E)+1)}return E.toString().length};ur.prototype._size=function(){return this.value.length};lr.prototype._size=function(){return this.value.toString().length};pr.prototype._size=()=>4;fr.prototype._size=()=>3;dr.prototype._size=()=>6;hr.prototype._size=()=>0;mr.prototype._size=()=>8;_r.prototype._size=()=>4;yr.prototype._size=()=>5;Bt.prototype._size=()=>6;Lt.prototype._size=()=>6;const Rr=1;const Fr=2;const Nr=4;const Br=8;const Lr=16;const jr=32;const $r=256;const zr=512;const Ur=1024;const Gr=$r|zr|Ur;const has_flag=(E,k)=>E.flags&k;const set_flag=(E,k)=>{E.flags|=k};const clear_flag=(E,k)=>{E.flags&=~k};class Compressor extends TreeWalker{constructor(E,{false_by_default:k=false,mangle_options:S=false}){super();if(E.defaults!==undefined&&!E.defaults)k=true;this.options=defaults(E,{arguments:false,arrows:!k,booleans:!k,booleans_as_integers:false,collapse_vars:!k,comparisons:!k,computed_props:!k,conditionals:!k,dead_code:!k,defaults:true,directives:!k,drop_console:false,drop_debugger:!k,ecma:5,evaluate:!k,expression:false,global_defs:false,hoist_funs:false,hoist_props:!k,hoist_vars:false,ie8:false,if_return:!k,inline:!k,join_vars:!k,keep_classnames:false,keep_fargs:true,keep_fnames:false,keep_infinity:false,loops:!k,module:false,negate_iife:!k,passes:1,properties:!k,pure_getters:!k&&"strict",pure_funcs:null,reduce_funcs:!k,reduce_vars:!k,sequences:!k,side_effects:!k,switches:!k,top_retain:null,toplevel:!!(E&&E["top_retain"]),typeofs:!k,unsafe:false,unsafe_arrows:false,unsafe_comps:false,unsafe_Function:false,unsafe_math:false,unsafe_symbols:false,unsafe_methods:false,unsafe_proto:false,unsafe_regexp:false,unsafe_undefined:false,unused:!k,warnings:false},true);var w=this.options["global_defs"];if(typeof w=="object")for(var N in w){if(N[0]==="@"&&HOP(w,N)){w[N.slice(1)]=parse(w[N],{expression:true})}}if(this.options["inline"]===true)this.options["inline"]=3;var j=this.options["pure_funcs"];if(typeof j=="function"){this.pure_funcs=j}else{this.pure_funcs=j?function(E){return!j.includes(E.expression.print_to_string())}:return_true}var q=this.options["top_retain"];if(q instanceof RegExp){this.top_retain=function(E){return q.test(E.name)}}else if(typeof q=="function"){this.top_retain=q}else if(q){if(typeof q=="string"){q=q.split(/,/)}this.top_retain=function(E){return q.includes(E.name)}}if(this.options["module"]){this.directives["use strict"]=true;this.options["toplevel"]=true}var ee=this.options["toplevel"];this.toplevel=typeof ee=="string"?{funcs:/funcs/.test(ee),vars:/vars/.test(ee)}:{funcs:ee,vars:ee};var te=this.options["sequences"];this.sequences_limit=te==1?800:te|0;this.evaluated_regexps=new Map;this._toplevel=undefined;this.mangle_options=S}option(E){return this.options[E]}exposed(E){if(E.export)return true;if(E.global)for(var k=0,S=E.orig.length;k0||this.option("reduce_vars")){this._toplevel.reset_opt_flags(this)}this._toplevel=this._toplevel.transform(this);if(k>1){let E=0;walk(this._toplevel,(()=>{E++}));if(E=0){N.body[q]=N.body[q].transform(w)}}else if(N instanceof jt){N.body=N.body.transform(w);if(N.alternative){N.alternative=N.alternative.transform(w)}}else if(N instanceof yt){N.body=N.body.transform(w)}return N}));S.transform(w)}));function read_property(E,k){k=get_value(k);if(k instanceof Ze)return;var S;if(E instanceof vn){var w=E.elements;if(k=="length")return make_node_from_constant(w.length,E);if(typeof k=="number"&&k in w)S=w[k]}else if(E instanceof bn){k=""+k;var N=E.properties;for(var j=N.length;--j>=0;){var q=N[j];if(!(q instanceof kn))return;if(!S&&N[j].key===k)S=N[j].value}}return S instanceof Yn&&S.fixed_value()||S}function is_modified(E,k,S,w,N,j){var q=k.parent(N);var ee=is_lhs(S,q);if(ee)return ee;if(!j&&q instanceof nn&&q.expression===S&&!(w instanceof St)&&!(w instanceof Mn)&&!q.is_callee_pure(E)&&(!(w instanceof xt)||!(q instanceof rn)&&w.contains_this())){return true}if(q instanceof vn){return is_modified(E,k,q,q,N+1)}if(q instanceof kn&&S===q.value){var te=k.parent(N+1);return is_modified(E,k,te,te,N+2)}if(q instanceof on&&q.expression===S){var ne=read_property(w,q.property);return!j&&is_modified(E,k,q,ne,N+1)}}(function(E){E(Ze,noop);function reset_def(E,k){k.assignments=0;k.chained=false;k.direct_access=false;k.escaped=0;k.recursive_refs=0;k.references=[];k.single_use=undefined;if(k.scope.pinned()){k.fixed=false}else if(k.orig[0]instanceof jn||!E.exposed(k)){k.fixed=k.init}else{k.fixed=false}}function reset_variables(E,k,S){S.variables.forEach((function(S){reset_def(k,S);if(S.fixed===null){E.defs_to_safe_ids.set(S.id,E.safe_ids);mark(E,S,true)}else if(S.fixed){E.loop_ids.set(S.id,E.in_loop);mark(E,S,true)}}))}function reset_block_variables(E,k){if(k.block_scope)k.block_scope.variables.forEach((k=>{reset_def(E,k)}))}function push(E){E.safe_ids=Object.create(E.safe_ids)}function pop(E){E.safe_ids=Object.getPrototypeOf(E.safe_ids)}function mark(E,k,S){E.safe_ids[k.id]=S}function safe_to_read(E,k){if(k.single_use=="m")return false;if(E.safe_ids[k.id]){if(k.fixed==null){var S=k.orig[0];if(S instanceof zn||S.name=="arguments")return false;k.fixed=make_node(dr,S)}return true}return k.fixed instanceof wt}function safe_to_assign(E,k,S,w){if(k.fixed===undefined)return true;let N;if(k.fixed===null&&(N=E.defs_to_safe_ids.get(k.id))){N[k.id]=false;E.defs_to_safe_ids.delete(k.id);return true}if(!HOP(E.safe_ids,k.id))return false;if(!safe_to_read(E,k))return false;if(k.fixed===false)return false;if(k.fixed!=null&&(!w||k.references.length>k.assignments))return false;if(k.fixed instanceof wt){return w instanceof Ze&&k.fixed.parent_scope===S}return k.orig.every((E=>!(E instanceof jn||E instanceof Un||E instanceof Vn)))}function ref_once(E,k,S){return k.option("unused")&&!S.scope.pinned()&&S.references.length-S.recursive_refs==1&&E.loop_ids.get(S.id)===E.in_loop}function is_immutable(E){if(!E)return false;return E.is_constant()||E instanceof Et||E instanceof nr}function mark_escaped(E,k,S,w,N,j=0,q=1){var ee=E.parent(j);if(N){if(N.is_constant())return;if(N instanceof On)return}if(ee instanceof yn&&(ee.operator==="="||ee.logical)&&w===ee.right||ee instanceof nn&&(w!==ee.expression||ee instanceof rn)||ee instanceof It&&w===ee.value&&w.scope!==k.scope||ee instanceof Jt&&w===ee.value||ee instanceof Lt&&w===ee.value&&w.scope!==k.scope){if(q>1&&!(N&&N.is_constant_expression(S)))q=1;if(!k.escaped||k.escaped>q)k.escaped=q;return}else if(ee instanceof vn||ee instanceof Bt||ee instanceof mn&&Hr.has(ee.operator)||ee instanceof gn&&w!==ee.condition||ee instanceof bt||ee instanceof sn&&w===ee.tail_node()){mark_escaped(E,k,S,ee,ee,j+1,q)}else if(ee instanceof kn&&w===ee.value){var te=E.parent(j+1);mark_escaped(E,k,S,te,te,j+2,q)}else if(ee instanceof on&&w===ee.expression){N=read_property(N,ee.property);mark_escaped(E,k,S,ee,N,j+1,q+1);if(N)return}if(j>0)return;if(ee instanceof sn&&w!==ee.tail_node())return;if(ee instanceof rt)return;k.direct_access=true}const suppress=E=>walk(E,(E=>{if(!(E instanceof Rn))return;var k=E.definition();if(!k)return;if(E instanceof Yn)k.references.push(E);k.fixed=false}));E(kt,(function(E,k,S){push(E);reset_variables(E,S,this);k();pop(E);return true}));E(yn,(function(E,k,S){var w=this;if(w.left instanceof At){suppress(w.left);return}const finish_walk=()=>{if(w.logical){w.left.walk(E);push(E);w.right.walk(E);pop(E);return true}};var N=w.left;if(!(N instanceof Yn))return finish_walk();var j=N.definition();var q=safe_to_assign(E,j,N.scope,w.right);j.assignments++;if(!q)return finish_walk();var ee=j.fixed;if(!ee&&w.operator!="="&&!w.logical)return finish_walk();var te=w.operator=="=";var ne=te?w.right:w;if(is_modified(S,E,w,ne,0))return finish_walk();j.references.push(N);if(!w.logical){if(!te)j.chained=true;j.fixed=te?function(){return w.right}:function(){return make_node(mn,w,{operator:w.operator.slice(0,-1),left:ee instanceof Ze?ee:ee(),right:w.right})}}if(w.logical){mark(E,j,false);push(E);w.right.walk(E);pop(E);return true}mark(E,j,false);w.right.walk(E);mark(E,j,true);mark_escaped(E,j,N.scope,w,ne,0,1);return true}));E(mn,(function(E){if(!Hr.has(this.operator))return;this.left.walk(E);push(E);this.right.walk(E);pop(E);return true}));E(it,(function(E,k,S){reset_block_variables(S,this)}));E(Gt,(function(E){push(E);this.expression.walk(E);pop(E);push(E);walk_body(this,E);pop(E);return true}));E(Mn,(function(E,k){clear_flag(this,Lr);push(E);k();pop(E);return true}));E(gn,(function(E){this.condition.walk(E);push(E);this.consequent.walk(E);pop(E);push(E);this.alternative.walk(E);pop(E);return true}));E(cn,(function(E,k){const S=E.safe_ids;k();E.safe_ids=S;return true}));E(nn,(function(E){this.expression.walk(E);if(this.optional){push(E)}for(const k of this.args)k.walk(E);return true}));E(on,(function(E){if(!this.optional)return;this.expression.walk(E);push(E);if(this.property instanceof Ze)this.property.walk(E);return true}));E(Ut,(function(E,k){push(E);k();pop(E);return true}));function mark_lambda(E,k,S){clear_flag(this,Lr);push(E);reset_variables(E,S,this);if(this.uses_arguments){k();pop(E);return}var w;if(!this.name&&(w=E.parent())instanceof nn&&w.expression===this&&!w.args.some((E=>E instanceof bt))&&this.argnames.every((E=>E instanceof Rn))){this.argnames.forEach(((k,S)=>{if(!k.definition)return;var N=k.definition();if(N.orig.length>1)return;if(N.fixed===undefined&&(!this.uses_arguments||E.has_directive("use strict"))){N.fixed=function(){return w.args[S]||make_node(dr,w)};E.loop_ids.set(N.id,E.in_loop);mark(E,N,true)}else{N.fixed=false}}))}k();pop(E);return true}E(Et,mark_lambda);E(ft,(function(E,k,S){reset_block_variables(S,this);const w=E.in_loop;E.in_loop=this;push(E);this.body.walk(E);if(has_break_or_continue(this)){pop(E);push(E)}this.condition.walk(E);pop(E);E.in_loop=w;return true}));E(ht,(function(E,k,S){reset_block_variables(S,this);if(this.init)this.init.walk(E);const w=E.in_loop;E.in_loop=this;push(E);if(this.condition)this.condition.walk(E);this.body.walk(E);if(this.step){if(has_break_or_continue(this)){pop(E);push(E)}this.step.walk(E)}pop(E);E.in_loop=w;return true}));E(mt,(function(E,k,S){reset_block_variables(S,this);suppress(this.init);this.object.walk(E);const w=E.in_loop;E.in_loop=this;push(E);this.body.walk(E);pop(E);E.in_loop=w;return true}));E(jt,(function(E){this.condition.walk(E);push(E);this.body.walk(E);pop(E);if(this.alternative){push(E);this.alternative.walk(E);pop(E)}return true}));E(lt,(function(E){push(E);this.body.walk(E);pop(E);return true}));E(Kn,(function(){this.definition().fixed=false}));E(Yn,(function(E,k,S){var w=this.definition();w.references.push(this);if(w.references.length==1&&!w.fixed&&w.orig[0]instanceof Un){E.loop_ids.set(w.id,E.in_loop)}var N;if(w.fixed===undefined||!safe_to_read(E,w)){w.fixed=false}else if(w.fixed){N=this.fixed_value();if(N instanceof Et&&recursive_ref(E,w)){w.recursive_refs++}else if(N&&!S.exposed(w)&&ref_once(E,S,w)){w.single_use=N instanceof Et&&!N.pinned()||N instanceof Mn||w.scope===this.scope&&N.is_constant_expression()}else{w.single_use=false}if(is_modified(S,E,this,N,0,is_immutable(N))){if(w.single_use){w.single_use="m"}else{w.fixed=false}}}mark_escaped(E,w,this.scope,this,N,0,1)}));E(vt,(function(E,k,S){this.globals.forEach((function(E){reset_def(S,E)}));reset_variables(E,S,this)}));E(qt,(function(E,k,S){reset_block_variables(S,this);push(E);walk_body(this,E);pop(E);if(this.bcatch){push(E);this.bcatch.walk(E);pop(E)}if(this.bfinally)this.bfinally.walk(E);return true}));E(pn,(function(E){var k=this;if(k.operator!=="++"&&k.operator!=="--")return;var S=k.expression;if(!(S instanceof Yn))return;var w=S.definition();var N=safe_to_assign(E,w,S.scope,true);w.assignments++;if(!N)return;var j=w.fixed;if(!j)return;w.references.push(S);w.chained=true;w.fixed=function(){return make_node(mn,k,{operator:k.operator.slice(0,-1),left:make_node(dn,k,{operator:"+",expression:j instanceof Ze?j:j()}),right:make_node(ar,k,{value:1})})};mark(E,w,true);return true}));E(Jt,(function(E,k){var S=this;if(S.name instanceof At){suppress(S.name);return}var w=S.name.definition();if(S.value){if(safe_to_assign(E,w,S.name.scope,S.value)){w.fixed=function(){return S.value};E.loop_ids.set(w.id,E.in_loop);mark(E,w,false);k();mark(E,w,true);return true}else{w.fixed=false}}}));E(dt,(function(E,k,S){reset_block_variables(S,this);const w=E.in_loop;E.in_loop=this;push(E);k();pop(E);E.in_loop=w;return true}))})((function(E,k){E.DEFMETHOD("reduce_vars",k)}));vt.DEFMETHOD("reset_opt_flags",(function(E){const k=this;const S=E.option("reduce_vars");const w=new TreeWalker((function(N,j){clear_flag(N,Gr);if(S){if(E.top_retain&&N instanceof wt&&w.parent()===k){set_flag(N,Ur)}return N.reduce_vars(w,j,E)}}));w.safe_ids=Object.create(null);w.in_loop=null;w.loop_ids=new Map;w.defs_to_safe_ids=new Map;k.walk(w)}));Rn.DEFMETHOD("fixed_value",(function(){var E=this.thedef.fixed;if(!E||E instanceof Ze)return E;return E()}));Yn.DEFMETHOD("is_immutable",(function(){var E=this.definition().orig;return E.length==1&&E[0]instanceof Vn}));function is_func_expr(E){return E instanceof St||E instanceof xt}function is_lhs_read_only(E){if(E instanceof nr)return true;if(E instanceof Yn)return E.definition().orig[0]instanceof Vn;if(E instanceof on){E=E.expression;if(E instanceof Yn){if(E.is_immutable())return false;E=E.fixed_value()}if(!E)return true;if(E instanceof lr)return false;if(E instanceof ir)return true;return is_lhs_read_only(E)}return false}function is_ref_of(E,k){if(!(E instanceof Yn))return false;var S=E.definition().orig;for(var w=S.length;--w>=0;){if(S[w]instanceof k)return true}}function find_scope(E){for(let k=0;;k++){const S=E.parent(k);if(S instanceof vt)return S;if(S instanceof Et)return S;if(S.block_scope)return S.block_scope}}function find_variable(E,k){var S,w=0;while(S=E.parent(w++)){if(S instanceof _t)break;if(S instanceof Vt&&S.argname){S=S.argname.definition().scope;break}}return S.find_variable(k)}function make_sequence(E,k){if(k.length==1)return k[0];if(k.length==0)throw new Error("trying to create a sequence with length zero!");return make_node(sn,E,{expressions:k.reduce(merge_sequence,[])})}function make_node_from_constant(E,k){switch(typeof E){case"string":return make_node(sr,k,{value:E});case"number":if(isNaN(E))return make_node(fr,k);if(isFinite(E)){return 1/E<0?make_node(dn,k,{operator:"-",expression:make_node(ar,k,{value:-E})}):make_node(ar,k,{value:E})}return E<0?make_node(dn,k,{operator:"-",expression:make_node(mr,k)}):make_node(mr,k);case"boolean":return make_node(E?_r:yr,k);case"undefined":return make_node(dr,k);default:if(E===null){return make_node(pr,k,{value:null})}if(E instanceof RegExp){return make_node(lr,k,{value:{source:regexp_source_fix(E.source),flags:E.flags}})}throw new Error(string_template("Can't handle constant of type: {type}",{type:typeof E}))}}function maintain_this_binding(E,k,S){if(E instanceof dn&&E.operator=="delete"||E instanceof nn&&E.expression===k&&(S instanceof on||S instanceof Yn&&S.name=="eval")){return make_sequence(k,[make_node(ar,k,{value:0}),S])}return S}function merge_sequence(E,k){if(k instanceof sn){E.push(...k.expressions)}else{E.push(k)}return E}function as_statement_array(E){if(E===null)return[];if(E instanceof st)return E.body;if(E instanceof ot)return[];if(E instanceof et)return[E];throw new Error("Can't convert thing to statement array")}function is_empty(E){if(E===null)return true;if(E instanceof ot)return true;if(E instanceof st)return E.body.length==0;return false}function can_be_evicted_from_block(E){return!(E instanceof Pn||E instanceof wt||E instanceof Xt||E instanceof Qt||E instanceof tn||E instanceof Zt)}function loop_body(E){if(E instanceof ct){return E.body instanceof st?E.body:E}return E}function is_iife_call(E){if(E.TYPE!="Call")return false;return E.expression instanceof xt||is_iife_call(E.expression)}function is_undeclared_ref(E){return E instanceof Yn&&E.definition().undeclared}var qr=makePredicate("Array Boolean clearInterval clearTimeout console Date decodeURI decodeURIComponent encodeURI encodeURIComponent Error escape eval EvalError Function isFinite isNaN JSON Math Number parseFloat parseInt RangeError ReferenceError RegExp Object setInterval setTimeout String SyntaxError TypeError unescape URIError");Yn.DEFMETHOD("is_declared",(function(E){return!this.definition().undeclared||E.option("unsafe")&&qr.has(this.name)}));var Vr=makePredicate("Infinity NaN undefined");function is_identifier_atom(E){return E instanceof mr||E instanceof fr||E instanceof dr}function tighten_body(E,k){var S,w;var j=k.find_parent(_t).get_defun_scope();find_loop_scope_try();var q,ee=10;do{q=false;eliminate_spurious_blocks(E);if(k.option("dead_code")){eliminate_dead_code(E,k)}if(k.option("if_return")){handle_if_return(E,k)}if(k.sequences_limit>0){sequencesize(E,k);sequencesize_2(E,k)}if(k.option("join_vars")){join_consecutive_vars(E)}if(k.option("collapse_vars")){collapse(E,k)}}while(q&&ee-- >0);function find_loop_scope_try(){var E=k.self(),N=0;do{if(E instanceof Vt||E instanceof Ht){N++}else if(E instanceof ct){S=true}else if(E instanceof _t){j=E;break}else if(E instanceof qt){w=true}}while(E=k.parent(N++))}function collapse(E,k){if(j.pinned())return E;var ee;var te=[];var ne=E.length;var ae=new TreeTransformer((function(E){if($e)return E;if(!je){if(E!==ve[Ee])return E;Ee++;if(Ee1)||E instanceof ct&&!(E instanceof ht)||E instanceof Rt||E instanceof qt||E instanceof yt||E instanceof Lt||E instanceof tn||E instanceof Mn||S instanceof ht&&E!==S.init||!Ne&&(E instanceof Yn&&!E.is_declared(k)&&!Yr.has(E))||E instanceof Yn&&S instanceof nn&&has_annotation(S,kr)){$e=true;return E}if(!Te&&(!Re||!Ne)&&(S instanceof mn&&Hr.has(S.operator)&&S.left!==E||S instanceof gn&&S.condition!==E||S instanceof jt&&S.condition!==E)){Te=S}if(Ue&&!(E instanceof Nn)&&Ie.equivalent_to(E)){if(Te){$e=true;return E}if(is_lhs(E,S)){if(Ce)ze++;return E}else{ze++;if(Ce&&we instanceof Jt)return E}q=$e=true;if(we instanceof hn){return make_node(dn,we,we)}if(we instanceof Jt){var N=we.name.definition();var j=we.value;if(N.references.length-N.replaced==1&&!k.exposed(N)){N.replaced++;if(Le&&is_identifier_atom(j)){return j.transform(k)}else{return maintain_this_binding(S,E,j)}}return make_node(yn,we,{operator:"=",logical:false,left:make_node(Yn,we.name,we.name),right:j})}clear_flag(we,jr);return we}var ee;if(E instanceof nn||E instanceof It&&(Fe||Ie instanceof on||may_modify(Ie))||E instanceof on&&(Fe||E.expression.may_throw_on_access(k))||E instanceof Yn&&(Oe.get(E.name)||Fe&&may_modify(E))||E instanceof Jt&&E.value&&(Oe.has(E.name.name)||Fe&&may_modify(E.name))||(ee=is_lhs(E.left,E))&&(ee instanceof on||Oe.has(ee.name))||Be&&(w?E.has_side_effects(k):side_effects_external(E))){Me=E;if(E instanceof _t)$e=true}return handle_custom_scan_order(E)}),(function(E){if($e)return;if(Me===E)$e=true;if(Te===E)Te=null}));var _e=new TreeTransformer((function(E){if($e)return E;if(!je){if(E!==ve[Ee])return E;Ee++;if(Ee=0){if(ne==0&&k.option("unused"))extract_args();var ve=[];extract_candidates(E[ne]);while(te.length>0){ve=te.pop();var Ee=0;var we=ve[ve.length-1];var Ce=null;var Me=null;var Te=null;var Ie=get_lhs(we);if(!Ie||is_lhs_read_only(Ie)||Ie.has_side_effects(k))continue;var Oe=get_lvalues(we);var Re=is_lhs_local(Ie);if(Ie instanceof Yn)Oe.set(Ie.name,false);var Fe=value_has_side_effects(we);var Ne=replace_all_symbols();var Be=we.may_throw(k);var Le=we.name instanceof zn;var je=Le;var $e=false,ze=0,Ue=!ee||!je;if(!Ue){for(var Ge=k.self().argnames.lastIndexOf(we.name)+1;!$e&&Geze)ze=false;else{$e=false;Ee=0;je=Le;for(var qe=ne;!$e&&qe!(E instanceof bt)))){var w=k.has_directive("use strict");if(w&&!member(w,S.body))w=false;var N=S.argnames.length;ee=E.args.slice(N);var j=new Set;for(var q=N;--q>=0;){var ne=S.argnames[q];var ae=E.args[q];const N=ne.definition&&ne.definition();const ve=N&&N.orig.length>1;if(ve)continue;ee.unshift(make_node(Jt,ne,{name:ne,value:ae}));if(j.has(ne.name))continue;j.add(ne.name);if(ne instanceof bt){var _e=E.args.slice(q);if(_e.every((E=>!has_overlapping_symbol(S,E,w)))){te.unshift([make_node(Jt,ne,{name:ne.expression,value:make_node(vn,E,{elements:_e})})])}}else{if(!ae){ae=make_node(dr,ne).transform(k)}else if(ae instanceof Et&&ae.pinned()||has_overlapping_symbol(S,ae,w)){ae=null}if(ae)te.unshift([make_node(Jt,ne,{name:ne,value:ae})])}}}}function extract_candidates(E){ve.push(E);if(E instanceof yn){if(!E.left.has_side_effects(k)&&!(E.right instanceof cn)){te.push(ve.slice())}extract_candidates(E.right)}else if(E instanceof mn){extract_candidates(E.left);extract_candidates(E.right)}else if(E instanceof nn&&!has_annotation(E,kr)){extract_candidates(E.expression);E.args.forEach(extract_candidates)}else if(E instanceof Gt){extract_candidates(E.expression)}else if(E instanceof gn){extract_candidates(E.condition);extract_candidates(E.consequent);extract_candidates(E.alternative)}else if(E instanceof Wt){var S=E.definitions.length;var w=S-200;if(w<0)w=0;for(;w1&&!(E.name instanceof zn)||(w>1?mangleable_var(E):!k.exposed(S))){return make_node(Yn,E.name,E.name)}}else{const k=E instanceof yn?E.left:E.expression;return!is_ref_of(k,jn)&&!is_ref_of(k,$n)&&k}}function get_rvalue(E){if(E instanceof yn){return E.right}else{return E.value}}function get_lvalues(E){var S=new Map;if(E instanceof pn)return S;var w=new TreeWalker((function(E){var N=E;while(N instanceof on)N=N.expression;if(N instanceof Yn||N instanceof nr){S.set(N.name,S.get(N.name)||is_modified(k,w,E,E,0))}}));get_rvalue(E).walk(w);return S}function remove_candidate(S){if(S.name instanceof zn){var w=k.parent(),j=k.self().argnames;var q=j.indexOf(S.name);if(q<0){w.args.length=Math.min(w.args.length,j.length-1)}else{var ee=w.args;if(ee[q])ee[q]=make_node(ar,ee[q],{value:0})}return true}var te=false;return E[ne].transform(new TreeTransformer((function(E,k,w){if(te)return E;if(E===S||E.body===S){te=true;if(E instanceof Jt){E.value=E.name instanceof jn?make_node(dr,E.value):null;return E}return w?N.skip:null}}),(function(E){if(E instanceof sn)switch(E.expressions.length){case 0:return null;case 1:return E.expressions[0]}})))}function is_lhs_local(E){while(E instanceof on)E=E.expression;return E instanceof Yn&&E.definition().scope===j&&!(S&&(Oe.has(E.name)||we instanceof pn||we instanceof yn&&!we.logical&&we.operator!="="))}function value_has_side_effects(E){if(E instanceof pn)return Wr.has(E.operator);return get_rvalue(E).has_side_effects(k)}function replace_all_symbols(){if(Fe)return false;if(Ce)return true;if(Ie instanceof Yn){var E=Ie.definition();if(E.references.length-E.replaced==(we instanceof Jt?1:2)){return true}}return false}function may_modify(E){if(!E.definition)return true;var k=E.definition();if(k.orig.length==1&&k.orig[0]instanceof Un)return false;if(k.scope.get_defun_scope()!==j)return true;return!k.references.every((E=>{var k=E.scope.get_defun_scope();if(k.TYPE=="Scope")k=k.parent_scope;return k===j}))}function side_effects_external(E,k){if(E instanceof yn)return side_effects_external(E.left,true);if(E instanceof pn)return side_effects_external(E.expression,true);if(E instanceof Jt)return E.value&&side_effects_external(E.value);if(k){if(E instanceof an)return side_effects_external(E.expression,true);if(E instanceof ln)return side_effects_external(E.expression,true);if(E instanceof Yn)return E.definition().scope!==j}return false}}function eliminate_spurious_blocks(E){var k=[];for(var S=0;S=0;){var ee=E[j];var te=next_index(j);var ne=E[te];if(N&&!ne&&ee instanceof Pt){if(!ee.value){q=true;E.splice(j,1);continue}if(ee.value instanceof dn&&ee.value.operator=="void"){q=true;E[j]=make_node(rt,ee,{body:ee.value.expression});continue}}if(ee instanceof jt){var ae=aborts(ee.body);if(can_merge_flow(ae)){if(ae.label){remove(ae.label.thedef.references,ae)}q=true;ee=ee.clone();ee.condition=ee.condition.negate(k);var _e=as_statement_array_with_return(ee.body,ae);ee.body=make_node(st,ee,{body:as_statement_array(ee.alternative).concat(extract_functions())});ee.alternative=make_node(st,ee,{body:_e});E[j]=ee.transform(k);continue}var ae=aborts(ee.alternative);if(can_merge_flow(ae)){if(ae.label){remove(ae.label.thedef.references,ae)}q=true;ee=ee.clone();ee.body=make_node(st,ee.body,{body:as_statement_array(ee.body).concat(extract_functions())});var _e=as_statement_array_with_return(ee.alternative,ae);ee.alternative=make_node(st,ee.alternative,{body:_e});E[j]=ee.transform(k);continue}}if(ee instanceof jt&&ee.body instanceof Pt){var ve=ee.body.value;if(!ve&&!ee.alternative&&(N&&!ne||ne instanceof Pt&&!ne.value)){q=true;E[j]=make_node(rt,ee.condition,{body:ee.condition});continue}if(ve&&!ee.alternative&&ne instanceof Pt&&ne.value){q=true;ee=ee.clone();ee.alternative=ne;E[j]=ee.transform(k);E.splice(te,1);continue}if(ve&&!ee.alternative&&(!ne&&N&&w||ne instanceof Pt)){q=true;ee=ee.clone();ee.alternative=ne||make_node(Pt,ee,{value:null});E[j]=ee.transform(k);if(ne)E.splice(te,1);continue}var Ee=E[prev_index(j)];if(k.option("sequences")&&N&&!ee.alternative&&Ee instanceof jt&&Ee.body instanceof Pt&&next_index(te)==E.length&&ne instanceof rt){q=true;ee=ee.clone();ee.alternative=make_node(st,ne,{body:[ne,make_node(Pt,ne,{value:null})]});E[j]=ee.transform(k);E.splice(te,1);continue}}}function has_multiple_if_returns(E){var k=0;for(var S=E.length;--S>=0;){var w=E[S];if(w instanceof jt&&w.body instanceof Pt){if(++k>1)return true}}return false}function is_return_void(E){return!E||E instanceof dn&&E.operator=="void"}function can_merge_flow(w){if(!w)return false;for(var q=j+1,ee=E.length;q=0;){var w=E[S];if(!(w instanceof Kt&&declarations_only(w))){break}}return S}}function eliminate_dead_code(E,k){var S;var w=k.self();for(var N=0,j=0,ee=E.length;N!E.value))}function sequencesize(E,k){if(E.length<2)return;var S=[],w=0;function push_seq(){if(!S.length)return;var k=make_sequence(S[0],S);E[w++]=make_node(rt,k,{body:k});S=[]}for(var N=0,j=E.length;N=k.sequences_limit)push_seq();var te=ee.body;if(S.length>0)te=te.drop_side_effect_free(k);if(te)merge_sequence(S,te)}else if(ee instanceof Wt&&declarations_only(ee)||ee instanceof wt){E[w++]=ee}else{push_seq();E[w++]=ee}}push_seq();E.length=w;if(w!=j)q=true}function to_simple_statement(E,k){if(!(E instanceof st))return E;var S=null;for(var w=0,N=E.body.length;w{if(E instanceof _t)return true;if(E instanceof mn&&E.operator==="in"){return vr}}));if(!E){if(j.init)j.init=cons_seq(j.init);else{j.init=w.body;S--;q=true}}}}else if(j instanceof mt){if(!(j.init instanceof Qt)&&!(j.init instanceof Xt)){j.object=cons_seq(j.object)}}else if(j instanceof jt){j.condition=cons_seq(j.condition)}else if(j instanceof $t){j.expression=cons_seq(j.expression)}else if(j instanceof yt){j.expression=cons_seq(j.expression)}}if(k.option("conditionals")&&j instanceof jt){var ee=[];var te=to_simple_statement(j.body,ee);var ne=to_simple_statement(j.alternative,ee);if(te!==false&&ne!==false&&ee.length>0){var ae=ee.length;ee.push(make_node(jt,j,{condition:j.condition,body:te||make_node(ot,j.body),alternative:ne}));ee.unshift(S,1);[].splice.apply(E,ee);N+=ae;S+=ae+1;w=null;q=true;continue}}E[S++]=j;w=j instanceof rt?j:null}E.length=S}function join_object_assignments(E,S){if(!(E instanceof Wt))return;var w=E.definitions[E.definitions.length-1];if(!(w.value instanceof bn))return;var N;if(S instanceof yn&&!S.logical){N=[S]}else if(S instanceof sn){N=S.expressions.slice()}if(!N)return;var q=false;do{var ee=N[0];if(!(ee instanceof yn))break;if(ee.operator!="=")break;if(!(ee.left instanceof on))break;var te=ee.left.expression;if(!(te instanceof Yn))break;if(w.name.name!=te.name)break;if(!ee.right.is_constant_expression(j))break;var ne=ee.left.property;if(ne instanceof Ze){ne=ne.evaluate(k)}if(ne instanceof Ze)break;ne=""+ne;var ae=k.option("ecma")<2015&&k.has_directive("use strict")?function(E){return E.key!=ne&&(E.key&&E.key.name!=ne)}:function(E){return E.key&&E.key.name!=ne};if(!w.value.properties.every(ae))break;var _e=w.value.properties.filter((function(E){return E.key===ne}))[0];if(!_e){w.value.properties.push(make_node(kn,ee,{key:ne,value:ee.right}))}else{_e.value=new sn({start:_e.start,expressions:[_e.value.clone(),ee.right.clone()],end:_e.end})}N.shift();q=true}while(N.length);return q&&N}function join_consecutive_vars(E){var k;for(var S=0,w=-1,N=E.length;S{if(w instanceof Kt){w.remove_initializers();S.push(w);return true}if(w instanceof wt&&(w===k||!E.has_directive("use strict"))){S.push(w===k?w:make_node(Kt,w,{definitions:[make_node(Jt,w,{name:make_node(Bn,w.name,w.name),value:null})]}));return true}if(w instanceof tn||w instanceof Zt){S.push(w);return true}if(w instanceof _t){return true}}))}function get_value(E){if(E instanceof ir){return E.getValue()}if(E instanceof dn&&E.operator=="void"&&E.expression instanceof ir){return}return E}function is_undefined(E,k){return has_flag(E,Br)||E instanceof dr||E instanceof dn&&E.operator=="void"&&!E.expression.has_side_effects(k)}(function(E){Ze.DEFMETHOD("may_throw_on_access",(function(E){return!E.option("pure_getters")||this._dot_throw(E)}));function is_strict(E){return/strict/.test(E.option("pure_getters"))}E(Ze,is_strict);E(pr,return_true);E(dr,return_true);E(ir,return_false);E(vn,return_false);E(bn,(function(E){if(!is_strict(E))return false;for(var k=this.properties.length;--k>=0;)if(this.properties[k]._dot_throw(E))return true;return false}));E(Mn,return_false);E(En,return_false);E(An,return_true);E(bt,(function(E){return this.expression._dot_throw(E)}));E(xt,return_false);E(St,return_false);E(hn,return_false);E(dn,(function(){return this.operator=="void"}));E(mn,(function(E){return(this.operator=="&&"||this.operator=="||"||this.operator=="??")&&(this.left._dot_throw(E)||this.right._dot_throw(E))}));E(yn,(function(E){if(this.logical)return true;return this.operator=="="&&this.right._dot_throw(E)}));E(gn,(function(E){return this.consequent._dot_throw(E)||this.alternative._dot_throw(E)}));E(an,(function(E){if(!is_strict(E))return false;if(this.property=="prototype"){return!(this.expression instanceof xt||this.expression instanceof Mn)}return true}));E(cn,(function(E){return this.expression._dot_throw(E)}));E(sn,(function(E){return this.tail_node()._dot_throw(E)}));E(Yn,(function(E){if(this.name==="arguments")return false;if(has_flag(this,Br))return true;if(!is_strict(E))return false;if(is_undeclared_ref(this)&&this.is_declared(E))return false;if(this.is_immutable())return false;var k=this.fixed_value();return!k||k._dot_throw(E)}))})((function(E,k){E.DEFMETHOD("_dot_throw",k)}));(function(E){const k=makePredicate("! delete");const S=makePredicate("in instanceof == != === !== < <= >= >");E(Ze,return_false);E(dn,(function(){return k.has(this.operator)}));E(mn,(function(){return S.has(this.operator)||Hr.has(this.operator)&&this.left.is_boolean()&&this.right.is_boolean()}));E(gn,(function(){return this.consequent.is_boolean()&&this.alternative.is_boolean()}));E(yn,(function(){return this.operator=="="&&this.right.is_boolean()}));E(sn,(function(){return this.tail_node().is_boolean()}));E(_r,return_true);E(yr,return_true)})((function(E,k){E.DEFMETHOD("is_boolean",k)}));(function(E){E(Ze,return_false);E(ar,return_true);var k=makePredicate("+ - ~ ++ --");E(pn,(function(){return k.has(this.operator)}));var S=makePredicate("- * / % & | ^ << >> >>>");E(mn,(function(E){return S.has(this.operator)||this.operator=="+"&&this.left.is_number(E)&&this.right.is_number(E)}));E(yn,(function(E){return S.has(this.operator.slice(0,-1))||this.operator=="="&&this.right.is_number(E)}));E(sn,(function(E){return this.tail_node().is_number(E)}));E(gn,(function(E){return this.consequent.is_number(E)&&this.alternative.is_number(E)}))})((function(E,k){E.DEFMETHOD("is_number",k)}));(function(E){E(Ze,return_false);E(sr,return_true);E(Dt,return_true);E(dn,(function(){return this.operator=="typeof"}));E(mn,(function(E){return this.operator=="+"&&(this.left.is_string(E)||this.right.is_string(E))}));E(yn,(function(E){return(this.operator=="="||this.operator=="+=")&&this.right.is_string(E)}));E(sn,(function(E){return this.tail_node().is_string(E)}));E(gn,(function(E){return this.consequent.is_string(E)&&this.alternative.is_string(E)}))})((function(E,k){E.DEFMETHOD("is_string",k)}));var Hr=makePredicate("&& || ??");var Wr=makePredicate("delete ++ --");function is_lhs(E,k){if(k instanceof pn&&Wr.has(k.operator))return k.expression;if(k instanceof yn&&k.left===E)return E}(function(E){function to_node(E,k){if(E instanceof Ze)return make_node(E.CTOR,k,E);if(Array.isArray(E))return make_node(vn,k,{elements:E.map((function(E){return to_node(E,k)}))});if(E&&typeof E=="object"){var S=[];for(var w in E)if(HOP(E,w)){S.push(make_node(kn,k,{key:w,value:to_node(E[w],k)}))}return make_node(bn,k,{properties:S})}return make_node_from_constant(E,k)}vt.DEFMETHOD("resolve_defines",(function(E){if(!E.option("global_defs"))return this;this.figure_out_scope({ie8:E.option("ie8")});return this.transform(new TreeTransformer((function(k){var S=k._find_defs(E,"");if(!S)return;var w=0,N=k,j;while(j=this.parent(w++)){if(!(j instanceof on))break;if(j.expression!==N)break;N=j}if(is_lhs(N,j)){return}return S})))}));E(Ze,noop);E(cn,(function(E,k){return this.expression._find_defs(E,k)}));E(an,(function(E,k){return this.expression._find_defs(E,"."+this.property+k)}));E(Nn,(function(){if(!this.global())return}));E(Yn,(function(E,k){if(!this.global())return;var S=E.option("global_defs");var w=this.name+k;if(HOP(S,w))return to_node(S[w],this)}))})((function(E,k){E.DEFMETHOD("_find_defs",k)}));function best_of_expression(E,k){return E.size()>k.size()?k:E}function best_of_statement(E,k){return best_of_expression(make_node(rt,E,{body:E}),make_node(rt,k,{body:k})).body}function best_of(E,k,S){return(first_in_statement(E)?best_of_statement:best_of_expression)(k,S)}function convert_to_predicate(E){const k=new Map;for(var S of Object.keys(E)){k.set(S,makePredicate(E[S]))}return k}var Kr=["constructor","toString","valueOf"];var Xr=convert_to_predicate({Array:["indexOf","join","lastIndexOf","slice"].concat(Kr),Boolean:Kr,Function:Kr,Number:["toExponential","toFixed","toPrecision"].concat(Kr),Object:Kr,RegExp:["test"].concat(Kr),String:["charAt","charCodeAt","concat","indexOf","italics","lastIndexOf","match","replace","search","slice","split","substr","substring","toLowerCase","toUpperCase","trim"].concat(Kr)});var Qr=convert_to_predicate({Array:["isArray"],Math:["abs","acos","asin","atan","ceil","cos","exp","floor","log","round","sin","sqrt","tan","atan2","pow","max","min"],Number:["isFinite","isNaN"],Object:["create","getOwnPropertyDescriptor","getOwnPropertyNames","getPrototypeOf","isExtensible","isFrozen","isSealed","keys"],String:["fromCharCode"]});(function(E){Ze.DEFMETHOD("evaluate",(function(E){if(!E.option("evaluate"))return this;var k=this._eval(E,1);if(!k||k instanceof RegExp)return k;if(typeof k=="function"||typeof k=="object")return this;return k}));var k=makePredicate("! ~ - + void");Ze.DEFMETHOD("is_constant",(function(){if(this instanceof ir){return!(this instanceof lr)}else{return this instanceof dn&&this.expression instanceof ir&&k.has(this.operator)}}));E(et,(function(){throw new Error(string_template("Cannot evaluate a statement [{file}:{line},{col}]",this.start))}));E(Et,return_this);E(Mn,return_this);E(Ze,return_this);E(ir,(function(){return this.getValue()}));E(ur,return_this);E(lr,(function(E){let k=E.evaluated_regexps.get(this);if(k===undefined){try{k=(0,eval)(this.print_to_string())}catch(E){k=null}E.evaluated_regexps.set(this,k)}return k||this}));E(Dt,(function(){if(this.segments.length!==1)return this;return this.segments[0].value}));E(xt,(function(E){if(E.option("unsafe")){var fn=function(){};fn.node=this;fn.toString=()=>this.print_to_string();return fn}return this}));E(vn,(function(E,k){if(E.option("unsafe")){var S=[];for(var w=0,N=this.elements.length;wtypeof E==="object"||typeof E==="function"||typeof E==="symbol";E(mn,(function(E,k){if(!w.has(this.operator))k++;var S=this.left._eval(E,k);if(S===this.left)return this;var j=this.right._eval(E,k);if(j===this.right)return this;var q;if(S!=null&&j!=null&&N.has(this.operator)&&has_identity(S)&&has_identity(j)&&typeof S===typeof j){return this}switch(this.operator){case"&&":q=S&&j;break;case"||":q=S||j;break;case"??":q=S!=null?S:j;break;case"|":q=S|j;break;case"&":q=S&j;break;case"^":q=S^j;break;case"+":q=S+j;break;case"*":q=S*j;break;case"**":q=Math.pow(S,j);break;case"/":q=S/j;break;case"%":q=S%j;break;case"-":q=S-j;break;case"<<":q=S<>":q=S>>j;break;case">>>":q=S>>>j;break;case"==":q=S==j;break;case"===":q=S===j;break;case"!=":q=S!=j;break;case"!==":q=S!==j;break;case"<":q=S":q=S>j;break;case">=":q=S>=j;break;default:return this}if(isNaN(q)&&E.find_parent(yt)){return this}return q}));E(gn,(function(E,k){var S=this.condition._eval(E,k);if(S===this.condition)return this;var w=S?this.consequent:this.alternative;var N=w._eval(E,k);return N===w?this:N}));const j=new Set;E(Yn,(function(E,k){if(j.has(this))return this;var S=this.fixed_value();if(!S)return this;j.add(this);const w=S._eval(E,k);j.delete(this);if(w===S)return this;if(w&&typeof w=="object"){var N=this.definition().escaped;if(N&&k>N)return this}return w}));var q={Array:Array,Math:Math,Number:Number,Object:Object,String:String};var ee=convert_to_predicate({Math:["E","LN10","LN2","LOG2E","LOG10E","PI","SQRT1_2","SQRT2"],Number:["MAX_VALUE","MIN_VALUE","NaN","NEGATIVE_INFINITY","POSITIVE_INFINITY"]});const te=new Set(["dotAll","global","ignoreCase","multiline","sticky","unicode"]);E(on,(function(E,k){if(this.optional){const S=this.expression._eval(E,k);if(S==null)return undefined}if(E.option("unsafe")){var S=this.property;if(S instanceof Ze){S=S._eval(E,k);if(S===this.property)return this}var w=this.expression;var N;if(is_undeclared_ref(w)){var j;var ne=w.name==="hasOwnProperty"&&S==="call"&&(j=E.parent()&&E.parent().args)&&(j&&j[0]&&j[0].evaluate(E));ne=ne instanceof an?ne.expression:ne;if(ne==null||ne.thedef&&ne.thedef.undeclared){return this.clone()}var ae=ee.get(w.name);if(!ae||!ae.has(S))return this;N=q[w.name]}else{N=w._eval(E,k+1);if(N instanceof RegExp){if(S=="source"){return regexp_source_fix(N.source)}else if(S=="flags"||te.has(S)){return N[S]}}if(!N||N===w||!HOP(N,S))return this;if(typeof N=="function")switch(S){case"name":return N.node.name?N.node.name.name:"";case"length":return N.node.length_property();default:return this}}return N[S]}return this}));E(cn,(function(E,k){const S=this.expression._eval(E,k);return S===this.expression?this:S}));E(nn,(function(E,k){var S=this.expression;if(this.optional){const S=this.expression._eval(E,k);if(S==null)return undefined}if(E.option("unsafe")&&S instanceof on){var w=S.property;if(w instanceof Ze){w=w._eval(E,k);if(w===S.property)return this}var N;var j=S.expression;if(is_undeclared_ref(j)){var ee=j.name==="hasOwnProperty"&&w==="call"&&(this.args[0]&&this.args[0].evaluate(E));ee=ee instanceof an?ee.expression:ee;if(ee==null||ee.thedef&&ee.thedef.undeclared){return this.clone()}var te=Qr.get(j.name);if(!te||!te.has(w))return this;N=q[j.name]}else{N=j._eval(E,k+1);if(N===j||!N)return this;var ne=Xr.get(N.constructor.name);if(!ne||!ne.has(w))return this}var ae=[];for(var _e=0,ve=this.args.length;_e";return S;case"<":S.operator=">=";return S;case">=":S.operator="<";return S;case">":S.operator="<=";return S}}switch(w){case"==":S.operator="!=";return S;case"!=":S.operator="==";return S;case"===":S.operator="!==";return S;case"!==":S.operator="===";return S;case"&&":S.operator="||";S.left=S.left.negate(E,k);S.right=S.right.negate(E);return best(this,S,k);case"||":S.operator="&&";S.left=S.left.negate(E,k);S.right=S.right.negate(E);return best(this,S,k);case"??":S.right=S.right.negate(E);return best(this,S,k)}return basic_negation(this)}))})((function(E,k){E.DEFMETHOD("negate",(function(E,S){return k.call(this,E,S)}))}));var Jr=makePredicate("Boolean decodeURI decodeURIComponent Date encodeURI encodeURIComponent Error escape EvalError isFinite isNaN Number Object parseFloat parseInt RangeError ReferenceError String SyntaxError TypeError unescape URIError");nn.DEFMETHOD("is_callee_pure",(function(E){if(E.option("unsafe")){var k=this.expression;var S=this.args&&this.args[0]&&this.args[0].evaluate(E);if(k.expression&&k.expression.name==="hasOwnProperty"&&(S==null||S.thedef&&S.thedef.undeclared)){return false}if(is_undeclared_ref(k)&&Jr.has(k.name))return true;let w;if(k instanceof an&&is_undeclared_ref(k.expression)&&(w=Qr.get(k.expression.name))&&w.has(k.property)){return true}}return!!has_annotation(this,br)||!E.pure_funcs(this)}));Ze.DEFMETHOD("is_call_pure",return_false);an.DEFMETHOD("is_call_pure",(function(E){if(!E.option("unsafe"))return;const k=this.expression;let S;if(k instanceof vn){S=Xr.get("Array")}else if(k.is_boolean()){S=Xr.get("Boolean")}else if(k.is_number(E)){S=Xr.get("Number")}else if(k instanceof lr){S=Xr.get("RegExp")}else if(k.is_string(E)){S=Xr.get("String")}else if(!this.may_throw_on_access(E)){S=Xr.get("Object")}return S&&S.has(this.property)}));const Yr=new Set(["Number","String","Array","Object","Function","Promise"]);(function(E){E(Ze,return_true);E(ot,return_false);E(ir,return_false);E(nr,return_false);function any(E,k){for(var S=E.length;--S>=0;)if(E[S].has_side_effects(k))return true;return false}E(it,(function(E){return any(this.body,E)}));E(nn,(function(E){if(!this.is_callee_pure(E)&&(!this.expression.is_call_pure(E)||this.expression.has_side_effects(E))){return true}return any(this.args,E)}));E($t,(function(E){return this.expression.has_side_effects(E)||any(this.body,E)}));E(Gt,(function(E){return this.expression.has_side_effects(E)||any(this.body,E)}));E(qt,(function(E){return any(this.body,E)||this.bcatch&&this.bcatch.has_side_effects(E)||this.bfinally&&this.bfinally.has_side_effects(E)}));E(jt,(function(E){return this.condition.has_side_effects(E)||this.body&&this.body.has_side_effects(E)||this.alternative&&this.alternative.has_side_effects(E)}));E(lt,(function(E){return this.body.has_side_effects(E)}));E(rt,(function(E){return this.body.has_side_effects(E)}));E(Et,return_false);E(Mn,(function(E){if(this.extends&&this.extends.has_side_effects(E)){return true}return any(this.properties,E)}));E(mn,(function(E){return this.left.has_side_effects(E)||this.right.has_side_effects(E)}));E(yn,return_true);E(gn,(function(E){return this.condition.has_side_effects(E)||this.consequent.has_side_effects(E)||this.alternative.has_side_effects(E)}));E(pn,(function(E){return Wr.has(this.operator)||this.expression.has_side_effects(E)}));E(Yn,(function(E){return!this.is_declared(E)&&!Yr.has(this.name)}));E(qn,return_false);E(Nn,return_false);E(bn,(function(E){return any(this.properties,E)}));E(En,(function(E){return this.computed_key()&&this.key.has_side_effects(E)||this.value&&this.value.has_side_effects(E)}));E(Tn,(function(E){return this.computed_key()&&this.key.has_side_effects(E)||this.static&&this.value&&this.value.has_side_effects(E)}));E(Cn,(function(E){return this.computed_key()&&this.key.has_side_effects(E)}));E(An,(function(E){return this.computed_key()&&this.key.has_side_effects(E)}));E(wn,(function(E){return this.computed_key()&&this.key.has_side_effects(E)}));E(vn,(function(E){return any(this.elements,E)}));E(an,(function(E){return!this.optional&&this.expression.may_throw_on_access(E)||this.expression.has_side_effects(E)}));E(ln,(function(E){if(this.optional&&is_nullish(this.expression,E)){return false}return!this.optional&&this.expression.may_throw_on_access(E)||this.expression.has_side_effects(E)||this.property.has_side_effects(E)}));E(cn,(function(E){return this.expression.has_side_effects(E)}));E(sn,(function(E){return any(this.expressions,E)}));E(Wt,(function(E){return any(this.definitions,E)}));E(Jt,(function(){return this.value}));E(Mt,return_false);E(Dt,(function(E){return any(this.segments,E)}))})((function(E,k){E.DEFMETHOD("has_side_effects",k)}));(function(E){E(Ze,return_true);E(ir,return_false);E(ot,return_false);E(Et,return_false);E(Nn,return_false);E(nr,return_false);function any(E,k){for(var S=E.length;--S>=0;)if(E[S].may_throw(k))return true;return false}E(Mn,(function(E){if(this.extends&&this.extends.may_throw(E))return true;return any(this.properties,E)}));E(vn,(function(E){return any(this.elements,E)}));E(yn,(function(E){if(this.right.may_throw(E))return true;if(!E.has_directive("use strict")&&this.operator=="="&&this.left instanceof Yn){return false}return this.left.may_throw(E)}));E(mn,(function(E){return this.left.may_throw(E)||this.right.may_throw(E)}));E(it,(function(E){return any(this.body,E)}));E(nn,(function(E){if(this.optional&&is_nullish(this.expression,E))return false;if(any(this.args,E))return true;if(this.is_callee_pure(E))return false;if(this.expression.may_throw(E))return true;return!(this.expression instanceof Et)||any(this.expression.body,E)}));E(Gt,(function(E){return this.expression.may_throw(E)||any(this.body,E)}));E(gn,(function(E){return this.condition.may_throw(E)||this.consequent.may_throw(E)||this.alternative.may_throw(E)}));E(Wt,(function(E){return any(this.definitions,E)}));E(jt,(function(E){return this.condition.may_throw(E)||this.body&&this.body.may_throw(E)||this.alternative&&this.alternative.may_throw(E)}));E(lt,(function(E){return this.body.may_throw(E)}));E(bn,(function(E){return any(this.properties,E)}));E(En,(function(E){return this.value?this.value.may_throw(E):false}));E(Tn,(function(E){return this.computed_key()&&this.key.may_throw(E)||this.static&&this.value&&this.value.may_throw(E)}));E(Cn,(function(E){return this.computed_key()&&this.key.may_throw(E)}));E(An,(function(E){return this.computed_key()&&this.key.may_throw(E)}));E(wn,(function(E){return this.computed_key()&&this.key.may_throw(E)}));E(Pt,(function(E){return this.value&&this.value.may_throw(E)}));E(sn,(function(E){return any(this.expressions,E)}));E(rt,(function(E){return this.body.may_throw(E)}));E(an,(function(E){return!this.optional&&this.expression.may_throw_on_access(E)||this.expression.may_throw(E)}));E(ln,(function(E){if(this.optional&&is_nullish(this.expression,E))return false;return!this.optional&&this.expression.may_throw_on_access(E)||this.expression.may_throw(E)||this.property.may_throw(E)}));E(cn,(function(E){return this.expression.may_throw(E)}));E($t,(function(E){return this.expression.may_throw(E)||any(this.body,E)}));E(Yn,(function(E){return!this.is_declared(E)&&!Yr.has(this.name)}));E(qn,return_false);E(qt,(function(E){return this.bcatch?this.bcatch.may_throw(E):any(this.body,E)||this.bfinally&&this.bfinally.may_throw(E)}));E(pn,(function(E){if(this.operator=="typeof"&&this.expression instanceof Yn)return false;return this.expression.may_throw(E)}));E(Jt,(function(E){if(!this.value)return false;return this.value.may_throw(E)}))})((function(E,k){E.DEFMETHOD("may_throw",k)}));(function(E){function all_refs_local(E){let k=true;walk(this,(S=>{if(S instanceof Yn){if(has_flag(this,Lr)){k=false;return vr}var w=S.definition();if(member(w,this.enclosed)&&!this.variables.has(w.name)){if(E){var N=E.find_variable(S);if(w.undeclared?!N:N===w){k="f";return true}}k=false;return vr}return true}if(S instanceof nr&&this instanceof St){k=false;return vr}}));return k}E(Ze,return_false);E(ir,return_true);E(Mn,(function(E){if(this.extends&&!this.extends.is_constant_expression(E)){return false}for(const k of this.properties){if(k.computed_key()&&!k.key.is_constant_expression(E)){return false}if(k.static&&k.value&&!k.value.is_constant_expression(E)){return false}}return all_refs_local.call(this,E)}));E(Et,all_refs_local);E(pn,(function(){return this.expression.is_constant_expression()}));E(mn,(function(){return this.left.is_constant_expression()&&this.right.is_constant_expression()}));E(vn,(function(){return this.elements.every((E=>E.is_constant_expression()))}));E(bn,(function(){return this.properties.every((E=>E.is_constant_expression()))}));E(En,(function(){return!!(!(this.key instanceof Ze)&&this.value&&this.value.is_constant_expression())}))})((function(E,k){E.DEFMETHOD("is_constant_expression",k)}));function aborts(E){return E&&E.aborts()}(function(E){E(et,return_null);E(Tt,return_this);function block_aborts(){for(var E=0;E{if(E instanceof Nn){const S=E.definition();if((k||S.global)&&!q.has(S.id)){q.set(S.id,S)}}}))}if(S.value){if(S.name instanceof At){S.walk(_e)}else{var N=S.name.definition();map_add(ne,N.id,S.value);if(!N.chained&&S.name.fixed_value()===S.value){ee.set(N.id,S)}}if(S.value.has_side_effects(E)){S.value.walk(_e)}}}));return true}return scan_ref_scoped(N,j)}));k.walk(_e);_e=new TreeWalker(scan_ref_scoped);q.forEach((function(E){var k=ne.get(E.id);if(k)k.forEach((function(E){E.walk(_e)}))}));var ve=new TreeTransformer((function before(ne,_e,Ee){var we=ve.parent();if(w){const E=j(ne);if(E instanceof Yn){var Ce=E.definition();var Me=q.has(Ce.id);if(ne instanceof yn){if(!Me||ee.has(Ce.id)&&ee.get(Ce.id)!==ne){return maintain_this_binding(we,ne,ne.right.transform(ve))}}else if(!Me)return Ee?N.skip:make_node(ar,ne,{value:0})}}if(ae!==k)return;var Ce;if(ne.name&&(ne instanceof On&&!keep_name(E.option("keep_classnames"),(Ce=ne.name.definition()).name)||ne instanceof xt&&!keep_name(E.option("keep_fnames"),(Ce=ne.name.definition()).name))){if(!q.has(Ce.id)||Ce.orig.length>1)ne.name=null}if(ne instanceof Et&&!(ne instanceof kt)){var Te=!E.option("keep_fargs");for(var Ie=ne.argnames,Oe=Ie.length;--Oe>=0;){var Re=Ie[Oe];if(Re instanceof bt){Re=Re.expression}if(Re instanceof _n){Re=Re.left}if(!(Re instanceof At)&&!q.has(Re.definition().id)){set_flag(Re,Rr);if(Te){Ie.pop()}}else{Te=false}}}if((ne instanceof wt||ne instanceof Pn)&&ne!==k){const k=ne.name.definition();let w=k.global&&!S||q.has(k.id);if(!w){k.eliminated++;if(ne instanceof Pn){const k=ne.drop_side_effect_free(E);if(k){return make_node(rt,ne,{body:k})}}return Ee?N.skip:make_node(ot,ne)}}if(ne instanceof Wt&&!(we instanceof mt&&we.init===ne)){var Fe=!(we instanceof vt)&&!(ne instanceof Kt);var Ne=[],Be=[],Le=[];var je=[];ne.definitions.forEach((function(k){if(k.value)k.value=k.value.transform(ve);var S=k.name instanceof At;var N=S?new SymbolDef(null,{name:""}):k.name.definition();if(Fe&&N.global)return Le.push(k);if(!(w||Fe)||S&&(k.name.names.length||k.name.is_array||E.option("pure_getters")!=true)||q.has(N.id)){if(k.value&&ee.has(N.id)&&ee.get(N.id)!==k){k.value=k.value.drop_side_effect_free(E)}if(k.name instanceof Bn){var j=te.get(N.id);if(j.length>1&&(!k.value||N.orig.indexOf(k.name)>N.eliminated)){if(k.value){var ae=make_node(Yn,k.name,k.name);N.references.push(ae);var _e=make_node(yn,k,{operator:"=",logical:false,left:ae,right:k.value});if(ee.get(N.id)===k){ee.set(N.id,_e)}je.push(_e.transform(ve))}remove(j,k);N.eliminated++;return}}if(k.value){if(je.length>0){if(Le.length>0){je.push(k.value);k.value=make_sequence(k.value,je)}else{Ne.push(make_node(rt,ne,{body:make_sequence(ne,je)}))}je=[]}Le.push(k)}else{Be.push(k)}}else if(N.orig[0]instanceof Kn){var Ee=k.value&&k.value.drop_side_effect_free(E);if(Ee)je.push(Ee);k.value=null;Be.push(k)}else{var Ee=k.value&&k.value.drop_side_effect_free(E);if(Ee){je.push(Ee)}N.eliminated++}}));if(Be.length>0||Le.length>0){ne.definitions=Be.concat(Le);Ne.push(ne)}if(je.length>0){Ne.push(make_node(rt,ne,{body:make_sequence(ne,je)}))}switch(Ne.length){case 0:return Ee?N.skip:make_node(ot,ne);case 1:return Ne[0];default:return Ee?N.splice(Ne):make_node(st,ne,{body:Ne})}}if(ne instanceof ht){_e(ne,this);var $e;if(ne.init instanceof st){$e=ne.init;ne.init=$e.body.pop();$e.body.push(ne)}if(ne.init instanceof rt){ne.init=ne.init.body}else if(is_empty(ne.init)){ne.init=null}return!$e?ne:Ee?N.splice($e.body):$e}if(ne instanceof lt&&ne.body instanceof ht){_e(ne,this);if(ne.body instanceof st){var $e=ne.body;ne.body=$e.body.pop();$e.body.push(ne);return Ee?N.splice($e.body):$e}return ne}if(ne instanceof st){_e(ne,this);if(Ee&&ne.body.every(can_be_evicted_from_block)){return N.splice(ne.body)}return ne}if(ne instanceof _t){const E=ae;ae=ne;_e(ne,this);ae=E;return ne}}));k.transform(ve);function scan_ref_scoped(E,S){var w;const N=j(E);if(N instanceof Yn&&!is_ref_of(E.left,Ln)&&k.variables.get(N.name)===(w=N.definition())){if(E instanceof yn){E.right.walk(_e);if(!w.chained&&E.left.fixed_value()===E.right){ee.set(w.id,E)}}return true}if(E instanceof Yn){w=E.definition();if(!q.has(w.id)){q.set(w.id,w);if(w.orig[0]instanceof Kn){const E=w.scope.is_block_scope()&&w.scope.get_defun_scope().variables.get(w.name);if(E)q.set(E.id,E)}}return true}if(E instanceof _t){var te=ae;ae=E;S();ae=te;return true}}}));_t.DEFMETHOD("hoist_declarations",(function(E){var k=this;if(E.has_directive("use asm"))return k;if(!Array.isArray(k.body))return k;var S=E.option("hoist_funs");var w=E.option("hoist_vars");if(S||w){var N=[];var j=[];var q=new Map,ee=0,te=0;walk(k,(E=>{if(E instanceof _t&&E!==k)return true;if(E instanceof Kt){++te;return true}}));w=w&&te>1;var ne=new TreeTransformer((function before(te){if(te!==k){if(te instanceof nt){N.push(te);return make_node(ot,te)}if(S&&te instanceof wt&&!(ne.parent()instanceof tn)&&ne.parent()===k){j.push(te);return make_node(ot,te)}if(w&&te instanceof Kt&&!te.definitions.some((E=>E.name instanceof At))){te.definitions.forEach((function(E){q.set(E.name.name,E);++ee}));var ae=te.to_assignments(E);var _e=ne.parent();if(_e instanceof mt&&_e.init===te){if(ae==null){var ve=te.definitions[0].name;return make_node(Yn,ve,ve)}return ae}if(_e instanceof ht&&_e.init===te){return ae}if(!ae)return make_node(ot,te);return make_node(rt,te,{body:ae})}if(te instanceof _t)return te}}));k=k.transform(ne);if(ee>0){var ae=[];const E=k instanceof Et;const S=E?k.args_as_names():null;q.forEach(((k,w)=>{if(E&&S.some((E=>E.name===k.name.name))){q.delete(w)}else{k=k.clone();k.value=null;ae.push(k);q.set(w,k)}}));if(ae.length>0){for(var _e=0;_eE instanceof bt||E.computed_key()))){ee(q,this);const E=new Map;const S=[];ae.properties.forEach((({key:w,value:N})=>{const ee=find_scope(j);const ne=k.create_symbol(te.CTOR,{source:te,scope:ee,conflict_scopes:new Set([ee,...te.definition().references.map((E=>E.scope))]),tentative_name:te.name+"_"+w});E.set(String(w),ne.definition());S.push(make_node(Jt,q,{name:ne,value:N}))}));w.set(ne.id,E);return N.splice(S)}}else if(q instanceof on&&q.expression instanceof Yn){const E=w.get(q.expression.definition().id);if(E){const k=E.get(String(get_value(q.property)));const S=make_node(Yn,q,{name:k.name,scope:q.expression.scope,thedef:k});S.reference({});return S}}}));return k.transform(j)}));(function(E){function trim(E,k,S){var w=E.length;if(!w)return null;var N=[],j=false;for(var q=0;q0){q[0].body=j.concat(q[0].body)}E.body=q;while(S=q[q.length-1]){var we=S.body[S.body.length-1];if(we instanceof Ft&&k.loopcontrol_target(we)===E)S.body.pop();if(S.body.length||S instanceof Gt&&(ee||S.expression.has_side_effects(k)))break;if(q.pop()===ee)ee=null}if(q.length==0){return make_node(st,E,{body:j.concat(make_node(rt,E.expression,{body:E.expression}))}).optimize(k)}if(q.length==1&&(q[0]===te||q[0]===ee)){var Ce=false;var Me=new TreeWalker((function(k){if(Ce||k instanceof Et||k instanceof rt)return true;if(k instanceof Ft&&Me.loopcontrol_target(k)===E)Ce=true}));E.walk(Me);if(!Ce){var Te=q[0].body.slice();var _e=q[0].expression;if(_e)Te.unshift(make_node(rt,_e,{body:_e}));Te.unshift(make_node(rt,E.expression,{body:E.expression}));return make_node(st,E,{body:Te}).optimize(k)}}return E;function eliminate_branch(E,S){if(S&&!aborts(S)){S.body=S.body.concat(E.body)}else{trim_unreachable_code(k,E,j)}}}));def_optimize(qt,(function(E,k){tighten_body(E.body,k);if(E.bcatch&&E.bfinally&&E.bfinally.body.every(is_empty))E.bfinally=null;if(k.option("dead_code")&&E.body.every(is_empty)){var S=[];if(E.bcatch){trim_unreachable_code(k,E.bcatch,S)}if(E.bfinally)S.push(...E.bfinally.body);return make_node(st,E,{body:S}).optimize(k)}return E}));Wt.DEFMETHOD("remove_initializers",(function(){var E=[];this.definitions.forEach((function(k){if(k.name instanceof Nn){k.value=null;E.push(k)}else{walk(k.name,(S=>{if(S instanceof Nn){E.push(make_node(Jt,k,{name:S,value:null}))}}))}}));this.definitions=E}));Wt.DEFMETHOD("to_assignments",(function(E){var k=E.option("reduce_vars");var S=[];for(const E of this.definitions){if(E.value){var w=make_node(Yn,E.name,E.name);S.push(make_node(yn,E,{operator:"=",logical:false,left:w,right:E.value}));if(k)w.definition().fixed=false}else if(E.value){var N=make_node(Jt,E,{name:E.name,value:E.value});var j=make_node(Kt,E,{definitions:[N]});S.push(j)}const q=E.name.definition();q.eliminated++;q.replaced--}if(S.length==0)return null;return make_sequence(this,S)}));def_optimize(Wt,(function(E){if(E.definitions.length==0)return make_node(ot,E);return E}));def_optimize(Jt,(function(E,k){if(E.name instanceof $n&&E.value!=null&&is_undefined(E.value,k)){E.value=null}return E}));def_optimize(Zt,(function(E){return E}));function retain_top_func(E,k){return k.top_retain&&E instanceof wt&&has_flag(E,Ur)&&E.name&&k.top_retain(E.name)}def_optimize(nn,(function(E,k){var S=E.expression;var w=S;inline_array_like_spread(E.args);var N=E.args.every((E=>!(E instanceof bt)));if(k.option("reduce_vars")&&w instanceof Yn&&!has_annotation(E,kr)){const E=w.fixed_value();if(!retain_top_func(E,k)){w=E}}if(E.optional&&is_nullish(w,k)){return make_node(dr,E)}var j=w instanceof Et;if(j&&w.pinned())return E;if(k.option("unused")&&N&&j&&!w.uses_arguments){var q=0,ee=0;for(var te=0,ne=E.args.length;te=w.argnames.length;if(_e||has_flag(w.argnames[te],Rr)){var ae=E.args[te].drop_side_effect_free(k);if(ae){E.args[q++]=ae}else if(!_e){E.args[q++]=make_node(ar,E.args[te],{value:0});continue}}else{E.args[q++]=E.args[te]}ee=q}E.args.length=ee}if(k.option("unsafe")){if(is_undeclared_ref(S))switch(S.name){case"Array":if(E.args.length!=1){return make_node(vn,E,{elements:E.args}).optimize(k)}else if(E.args[0]instanceof ar&&E.args[0].value<=11){const k=[];for(let S=0;S=1&&E.args.length<=2&&E.args.every((E=>{var S=E.evaluate(k);ve.push(S);return E!==S}))){let[S,w]=ve;S=regexp_source_fix(new RegExp(S).source);const N=make_node(lr,E,{value:{source:S,flags:w}});if(N._eval(k)!==N){return N}}break}else if(S instanceof an)switch(S.property){case"toString":if(E.args.length==0&&!S.expression.may_throw_on_access(k)){return make_node(mn,E,{left:make_node(sr,E,{value:""}),operator:"+",right:S.expression}).optimize(k)}break;case"join":if(S.expression instanceof vn)e:{var Ee;if(E.args.length>0){Ee=E.args[0].evaluate(k);if(Ee===E.args[0])break e}var we=[];var Ce=[];for(var te=0,ne=S.expression.elements.length;te0){we.push(make_node(sr,E,{value:Ce.join(Ee)}));Ce.length=0}we.push(Me)}}if(Ce.length>0){we.push(make_node(sr,E,{value:Ce.join(Ee)}))}if(we.length==0)return make_node(sr,E,{value:""});if(we.length==1){if(we[0].is_string(k)){return we[0]}return make_node(mn,we[0],{operator:"+",left:make_node(sr,E,{value:""}),right:we[0]})}if(Ee==""){var Ie;if(we[0].is_string(k)||we[1].is_string(k)){Ie=we.shift()}else{Ie=make_node(sr,E,{value:""})}return we.reduce((function(E,k){return make_node(mn,k,{operator:"+",left:E,right:k})}),Ie).optimize(k)}var ae=E.clone();ae.expression=ae.expression.clone();ae.expression.expression=ae.expression.expression.clone();ae.expression.expression.elements=we;return best_of(k,E,ae)}break;case"charAt":if(S.expression.is_string(k)){var Oe=E.args[0];var Re=Oe?Oe.evaluate(k):0;if(Re!==Oe){return make_node(ln,S,{expression:S.expression,property:make_node_from_constant(Re|0,Oe||S)}).optimize(k)}}break;case"apply":if(E.args.length==2&&E.args[1]instanceof vn){var Fe=E.args[1].elements.slice();Fe.unshift(E.args[0]);return make_node(nn,E,{expression:make_node(an,S,{expression:S.expression,optional:false,property:"call"}),args:Fe}).optimize(k)}break;case"call":var Ne=S.expression;if(Ne instanceof Yn){Ne=Ne.fixed_value()}if(Ne instanceof Et&&!Ne.contains_this()){return(E.args.length?make_sequence(this,[E.args[0],make_node(nn,E,{expression:S.expression,args:E.args.slice(1)})]):make_node(nn,E,{expression:S.expression,args:[]})).optimize(k)}break}}if(k.option("unsafe_Function")&&is_undeclared_ref(S)&&S.name=="Function"){if(E.args.length==0)return make_node(xt,E,{argnames:[],body:[]}).optimize(k);if(E.args.every((E=>E instanceof sr))){try{var Be="n(function("+E.args.slice(0,-1).map((function(E){return E.value})).join(",")+"){"+E.args[E.args.length-1].value+"})";var Le=parse(Be);var je={ie8:k.option("ie8")};Le.figure_out_scope(je);var $e=new Compressor(k.options,{mangle_options:k.mangle_options});Le=Le.transform($e);Le.figure_out_scope(je);Pr.reset();Le.compute_char_frequency(je);Le.mangle_names(je);var ze;walk(Le,(E=>{if(is_func_expr(E)){ze=E;return vr}}));var Be=OutputStream();st.prototype._codegen.call(ze,ze,Be);E.args=[make_node(sr,E,{value:ze.argnames.map((function(E){return E.print_to_string()})).join(",")}),make_node(sr,E.args[E.args.length-1],{value:Be.get().replace(/^{|}$/g,"")})];return E}catch(E){if(!(E instanceof JS_Parse_Error)){throw E}}}}var Ue=j&&w.body[0];var Ge=j&&!w.is_generator&&!w.async;var qe=Ge&&k.option("inline")&&!E.is_callee_pure(k);if(qe&&Ue instanceof Pt){let S=Ue.value;if(!S||S.is_constant_expression()){if(S){S=S.clone(true)}else{S=make_node(dr,E)}const w=E.args.concat(S);return make_sequence(E,w).optimize(k)}if(w.argnames.length===1&&w.argnames[0]instanceof zn&&E.args.length<2&&S instanceof Yn&&S.name===w.argnames[0].name){const S=(E.args[0]||make_node(dr)).optimize(k);let w;if(S instanceof on&&(w=k.parent())instanceof nn&&w.expression===E){return make_sequence(E,[make_node(ar,E,{value:0}),S])}return S}}if(qe){var Ve,He,We=-1;let j;let q;let ee;if(N&&!w.uses_arguments&&!(k.parent()instanceof Mn)&&!(w.name&&w instanceof xt)&&(q=can_flatten_body(Ue))&&(S===w||has_annotation(E,Er)||k.option("unused")&&(j=S.definition()).references.length==1&&!recursive_ref(k,j)&&w.is_constant_expression(S.scope))&&!has_annotation(E,br|kr)&&!w.contains_this()&&can_inject_symbols()&&(ee=find_scope(k))&&!scope_encloses_variables_in_this_scope(ee,w)&&!function in_default_assign(){let E=0;let S;while(S=k.parent(E++)){if(S instanceof _n)return true;if(S instanceof it)break}return false}()&&!(Ve instanceof Mn)){set_flag(w,$r);ee.add_child_scope(w);return make_sequence(E,flatten_fn(q)).optimize(k)}}if(qe&&has_annotation(E,Er)){set_flag(w,$r);w=make_node(w.CTOR===wt?xt:w.CTOR,w,w);w.figure_out_scope({},{parent_scope:find_scope(k),toplevel:k.get_toplevel()});return make_node(nn,E,{expression:w,args:E.args}).optimize(k)}const Ke=Ge&&k.option("side_effects")&&w.body.every(is_empty);if(Ke){var Fe=E.args.concat(make_node(dr,E));return make_sequence(E,Fe).optimize(k)}if(k.option("negate_iife")&&k.parent()instanceof rt&&is_iife_call(E)){return E.negate(k,true)}var Xe=E.evaluate(k);if(Xe!==E){Xe=make_node_from_constant(Xe,E).optimize(k);return best_of(k,Xe,E)}return E;function return_value(k){if(!k)return make_node(dr,E);if(k instanceof Pt){if(!k.value)return make_node(dr,E);return k.value.clone(true)}if(k instanceof rt){return make_node(dn,k,{operator:"void",expression:k.body.clone(true)})}}function can_flatten_body(E){var S=w.body;var N=S.length;if(k.option("inline")<3){return N==1&&return_value(E)}E=null;for(var j=0;j!E.value))){return false}}else if(E){return false}else if(!(q instanceof ot)){E=q}}return return_value(E)}function can_inject_args(E,k){for(var S=0,N=w.argnames.length;S=0;){var ee=j.definitions[q].name;if(ee instanceof At||E.has(ee.name)||Vr.has(ee.name)||Ve.conflicting_def(ee.name)){return false}if(He)He.push(ee.definition())}}return true}function can_inject_symbols(){var E=new Set;do{Ve=k.parent(++We);if(Ve.is_block_scope()&&Ve.block_scope){Ve.block_scope.variables.forEach((function(k){E.add(k.name)}))}if(Ve instanceof Vt){if(Ve.argname){E.add(Ve.argname.name)}}else if(Ve instanceof ct){He=[]}else if(Ve instanceof Yn){if(Ve.fixed_value()instanceof _t)return false}}while(!(Ve instanceof _t));var S=!(Ve instanceof vt)||k.toplevel.vars;var N=k.option("inline");if(!can_inject_vars(E,N>=3&&S))return false;if(!can_inject_args(E,N>=2&&S))return false;return!He||He.length==0||!is_reachable(w,He)}function append_var(k,S,w,N){var j=w.definition();const q=Ve.variables.has(w.name);if(!q){Ve.variables.set(w.name,j);Ve.enclosed.push(j);k.push(make_node(Jt,w,{name:w,value:null}))}var ee=make_node(Yn,w,w);j.references.push(ee);if(N)S.push(make_node(yn,E,{operator:"=",logical:false,left:ee,right:N.clone()}))}function flatten_args(k,S){var N=w.argnames.length;for(var j=E.args.length;--j>=N;){S.push(E.args[j])}for(j=N;--j>=0;){var q=w.argnames[j];var ee=E.args[j];if(has_flag(q,Rr)||!q.name||Ve.conflicting_def(q.name)){if(ee)S.push(ee)}else{var te=make_node(Bn,q,q);q.definition().orig.push(te);if(!ee&&He)ee=make_node(dr,E);append_var(k,S,te,ee)}}k.reverse();S.reverse()}function flatten_vars(E,k){var S=k.length;for(var N=0,j=w.body.length;NE.name!=ae.name))){var _e=w.variables.get(ae.name);var ve=make_node(Yn,ae,ae);_e.references.push(ve);k.splice(S++,0,make_node(yn,ne,{operator:"=",logical:false,left:ve,right:make_node(dr,ae)}))}}}}function flatten_fn(E){var S=[];var N=[];flatten_args(S,N);flatten_vars(S,N);N.push(E);if(S.length){const E=Ve.body.indexOf(k.parent(We-1))+1;Ve.body.splice(E,0,make_node(Kt,w,{definitions:S}))}return N.map((E=>E.clone(true)))}}));def_optimize(rn,(function(E,k){if(k.option("unsafe")&&is_undeclared_ref(E.expression)&&["Object","RegExp","Function","Error","Array"].includes(E.expression.name))return make_node(nn,E,E).transform(k);return E}));def_optimize(sn,(function(E,k){if(!k.option("side_effects"))return E;var S=[];filter_for_side_effects();var w=S.length-1;trim_right_for_undefined();if(w==0){E=maintain_this_binding(k.parent(),k.self(),S[0]);if(!(E instanceof sn))E=E.optimize(k);return E}E.expressions=S;return E;function filter_for_side_effects(){var w=first_in_statement(k);var N=E.expressions.length-1;E.expressions.forEach((function(E,j){if(j0&&is_undefined(S[w],k))w--;if(w0){var S=this.clone();S.right=make_sequence(this.right,k.slice(j));k=k.slice(0,j);k.push(S);return make_sequence(this,k).optimize(E)}}}return this}));var ti=makePredicate("== === != !== * & | ^");function is_object(E){return E instanceof vn||E instanceof Et||E instanceof bn||E instanceof Mn}def_optimize(mn,(function(E,k){function reversible(){return E.left.is_constant()||E.right.is_constant()||!E.left.has_side_effects(k)&&!E.right.has_side_effects(k)}function reverse(k){if(reversible()){if(k)E.operator=k;var S=E.left;E.left=E.right;E.right=S}}if(ti.has(E.operator)){if(E.right.is_constant()&&!E.left.is_constant()){if(!(E.left instanceof mn&&Ke[E.left.operator]>=Ke[E.operator])){reverse()}}}E=E.lift_sequences(k);if(k.option("comparisons"))switch(E.operator){case"===":case"!==":var S=true;if(E.left.is_string(k)&&E.right.is_string(k)||E.left.is_number(k)&&E.right.is_number(k)||E.left.is_boolean()&&E.right.is_boolean()||E.left.equivalent_to(E.right)){E.operator=E.operator.substr(0,2)}case"==":case"!=":if(!S&&is_undefined(E.left,k)){E.left=make_node(pr,E.left)}else if(k.option("typeofs")&&E.left instanceof sr&&E.left.value=="undefined"&&E.right instanceof dn&&E.right.operator=="typeof"){var w=E.right.expression;if(w instanceof Yn?w.is_declared(k):!(w instanceof on&&k.option("ie8"))){E.right=w;E.left=make_node(dr,E.left).optimize(k);if(E.operator.length==2)E.operator+="="}}else if(E.left instanceof Yn&&E.right instanceof Yn&&E.left.definition()===E.right.definition()&&is_object(E.left.fixed_value())){return make_node(E.operator[0]=="="?_r:yr,E)}break;case"&&":case"||":var N=E.left;if(N.operator==E.operator){N=N.right}if(N instanceof mn&&N.operator==(E.operator=="&&"?"!==":"===")&&E.right instanceof mn&&N.operator==E.right.operator&&(is_undefined(N.left,k)&&E.right.left instanceof pr||N.left instanceof pr&&is_undefined(E.right.left,k))&&!N.right.has_side_effects(k)&&N.right.equivalent_to(E.right.right)){var j=make_node(mn,E,{operator:N.operator.slice(0,-1),left:make_node(pr,E),right:N.right});if(N!==E.left){j=make_node(mn,E,{operator:E.operator,left:E.left.left,right:j})}return j}break}if(E.operator=="+"&&k.in_boolean_context()){var q=E.left.evaluate(k);var ee=E.right.evaluate(k);if(q&&typeof q=="string"){return make_sequence(E,[E.right,make_node(_r,E)]).optimize(k)}if(ee&&typeof ee=="string"){return make_sequence(E,[E.left,make_node(_r,E)]).optimize(k)}}if(k.option("comparisons")&&E.is_boolean()){if(!(k.parent()instanceof mn)||k.parent()instanceof yn){var te=make_node(dn,E,{operator:"!",expression:E.negate(k,first_in_statement(k))});E=best_of(k,E,te)}if(k.option("unsafe_comps")){switch(E.operator){case"<":reverse(">");break;case"<=":reverse(">=");break}}}if(E.operator=="+"){if(E.right instanceof sr&&E.right.getValue()==""&&E.left.is_string(k)){return E.left}if(E.left instanceof sr&&E.left.getValue()==""&&E.right.is_string(k)){return E.right}if(E.left instanceof mn&&E.left.operator=="+"&&E.left.left instanceof sr&&E.left.left.getValue()==""&&E.right.is_string(k)){E.left=E.left.right;return E}}if(k.option("evaluate")){switch(E.operator){case"&&":var q=has_flag(E.left,Fr)?true:has_flag(E.left,Nr)?false:E.left.evaluate(k);if(!q){return maintain_this_binding(k.parent(),k.self(),E.left).optimize(k)}else if(!(q instanceof Ze)){return make_sequence(E,[E.left,E.right]).optimize(k)}var ee=E.right.evaluate(k);if(!ee){if(k.in_boolean_context()){return make_sequence(E,[E.left,make_node(yr,E)]).optimize(k)}else{set_flag(E,Nr)}}else if(!(ee instanceof Ze)){var ne=k.parent();if(ne.operator=="&&"&&ne.left===k.self()||k.in_boolean_context()){return E.left.optimize(k)}}if(E.left.operator=="||"){var ae=E.left.right.evaluate(k);if(!ae)return make_node(gn,E,{condition:E.left.left,consequent:E.right,alternative:E.left.right}).optimize(k)}break;case"||":var q=has_flag(E.left,Fr)?true:has_flag(E.left,Nr)?false:E.left.evaluate(k);if(!q){return make_sequence(E,[E.left,E.right]).optimize(k)}else if(!(q instanceof Ze)){return maintain_this_binding(k.parent(),k.self(),E.left).optimize(k)}var ee=E.right.evaluate(k);if(!ee){var ne=k.parent();if(ne.operator=="||"&&ne.left===k.self()||k.in_boolean_context()){return E.left.optimize(k)}}else if(!(ee instanceof Ze)){if(k.in_boolean_context()){return make_sequence(E,[E.left,make_node(_r,E)]).optimize(k)}else{set_flag(E,Fr)}}if(E.left.operator=="&&"){var ae=E.left.right.evaluate(k);if(ae&&!(ae instanceof Ze))return make_node(gn,E,{condition:E.left.left,consequent:E.left.right,alternative:E.right}).optimize(k)}break;case"??":if(is_nullish(E.left,k)){return E.right}var q=E.left.evaluate(k);if(!(q instanceof Ze)){return q==null?E.right:E.left}if(k.in_boolean_context()){const S=E.right.evaluate(k);if(!(S instanceof Ze)&&!S){return E.left}}}var _e=true;switch(E.operator){case"+":if(E.right instanceof ir&&E.left instanceof mn&&E.left.operator=="+"&&E.left.is_string(k)){var ve=make_node(mn,E,{operator:"+",left:E.left.right,right:E.right});var Ee=ve.optimize(k);if(ve!==Ee){E=make_node(mn,E,{operator:"+",left:E.left.left,right:Ee})}}if(E.left instanceof mn&&E.left.operator=="+"&&E.left.is_string(k)&&E.right instanceof mn&&E.right.operator=="+"&&E.right.is_string(k)){var ve=make_node(mn,E,{operator:"+",left:E.left.right,right:E.right.left});var we=ve.optimize(k);if(ve!==we){E=make_node(mn,E,{operator:"+",left:make_node(mn,E.left,{operator:"+",left:E.left.left,right:we}),right:E.right.right})}}if(E.right instanceof dn&&E.right.operator=="-"&&E.left.is_number(k)){E=make_node(mn,E,{operator:"-",left:E.left,right:E.right.expression});break}if(E.left instanceof dn&&E.left.operator=="-"&&reversible()&&E.right.is_number(k)){E=make_node(mn,E,{operator:"-",left:E.right,right:E.left.expression});break}if(E.left instanceof Dt){var Ce=E.left;var Ee=E.right.evaluate(k);if(Ee!=E.right){Ce.segments[Ce.segments.length-1].value+=String(Ee);return Ce}}if(E.right instanceof Dt){var Ee=E.right;var Ce=E.left.evaluate(k);if(Ce!=E.left){Ee.segments[0].value=String(Ce)+Ee.segments[0].value;return Ee}}if(E.left instanceof Dt&&E.right instanceof Dt){var Ce=E.left;var Me=Ce.segments;var Ee=E.right;Me[Me.length-1].value+=Ee.segments[0].value;for(var Te=1;Te=Ke[E.operator])){var Ie=make_node(mn,E,{operator:E.operator,left:E.right,right:E.left});if(E.right instanceof ir&&!(E.left instanceof ir)){E=best_of(k,Ie,E)}else{E=best_of(k,E,Ie)}}if(_e&&E.is_number(k)){if(E.right instanceof mn&&E.right.operator==E.operator){E=make_node(mn,E,{operator:E.operator,left:make_node(mn,E.left,{operator:E.operator,left:E.left,right:E.right.left,start:E.left.start,end:E.right.left.end}),right:E.right.right})}if(E.right instanceof ir&&E.left instanceof mn&&E.left.operator==E.operator){if(E.left.left instanceof ir){E=make_node(mn,E,{operator:E.operator,left:make_node(mn,E.left,{operator:E.operator,left:E.left.left,right:E.right,start:E.left.left.start,end:E.right.end}),right:E.left.right})}else if(E.left.right instanceof ir){E=make_node(mn,E,{operator:E.operator,left:make_node(mn,E.left,{operator:E.operator,left:E.left.right,right:E.right,start:E.left.right.start,end:E.right.end}),right:E.left.left})}}if(E.left instanceof mn&&E.left.operator==E.operator&&E.left.right instanceof ir&&E.right instanceof mn&&E.right.operator==E.operator&&E.right.left instanceof ir){E=make_node(mn,E,{operator:E.operator,left:make_node(mn,E.left,{operator:E.operator,left:make_node(mn,E.left.left,{operator:E.operator,left:E.left.right,right:E.right.left,start:E.left.right.start,end:E.right.left.end}),right:E.left.left}),right:E.right.right})}}}}if(E.right instanceof mn&&E.right.operator==E.operator&&(Hr.has(E.operator)||E.operator=="+"&&(E.right.left.is_string(k)||E.left.is_string(k)&&E.right.right.is_string(k)))){E.left=make_node(mn,E.left,{operator:E.operator,left:E.left.transform(k),right:E.right.left.transform(k)});E.right=E.right.right.transform(k);return E.transform(k)}var Oe=E.evaluate(k);if(Oe!==E){Oe=make_node_from_constant(Oe,E).optimize(k);return best_of(k,Oe,E)}return E}));def_optimize(Zn,(function(E){return E}));function recursive_ref(E,k){var S;for(var w=0;S=E.parent(w);w++){if(S instanceof Et||S instanceof Mn){var N=S.name;if(N&&N.definition()===k)break}}return S}function within_array_or_object_literal(E){var k,S=0;while(k=E.parent(S++)){if(k instanceof et)return false;if(k instanceof vn||k instanceof kn||k instanceof bn){return true}}return false}def_optimize(Yn,(function(E,k){if(!k.option("ie8")&&is_undeclared_ref(E)&&!k.find_parent(yt)){switch(E.name){case"undefined":return make_node(dr,E).optimize(k);case"NaN":return make_node(fr,E).optimize(k);case"Infinity":return make_node(mr,E).optimize(k)}}const S=k.parent();if(k.option("reduce_vars")&&is_lhs(E,S)!==E){const j=E.definition();const q=find_scope(k);if(k.top_retain&&j.global&&k.top_retain(j)){j.fixed=false;j.single_use=false;return E}let ee=E.fixed_value();let te=j.single_use&&!(S instanceof nn&&S.is_callee_pure(k)||has_annotation(S,kr))&&!(S instanceof tn&&ee instanceof Et&&ee.name);if(te&&ee instanceof Ze){te=!ee.has_side_effects(k)&&!ee.may_throw(k)}if(te&&(ee instanceof Et||ee instanceof Mn)){if(retain_top_func(ee,k)){te=false}else if(j.scope!==E.scope&&(j.escaped==1||has_flag(ee,Lr)||within_array_or_object_literal(k)||!k.option("reduce_funcs"))){te=false}else if(recursive_ref(k,j)){te=false}else if(j.scope!==E.scope||j.orig[0]instanceof zn){te=ee.is_constant_expression(E.scope);if(te=="f"){var w=E.scope;do{if(w instanceof wt||is_func_expr(w)){set_flag(w,Lr)}}while(w=w.parent_scope)}}}if(te&&ee instanceof Et){te=j.scope===E.scope&&!scope_encloses_variables_in_this_scope(q,ee)||S instanceof nn&&S.expression===E&&!scope_encloses_variables_in_this_scope(q,ee)&&!(ee.name&&ee.name.definition().recursive_refs>0)}if(te&&ee){if(ee instanceof Pn){set_flag(ee,$r);ee=make_node(On,ee,ee)}if(ee instanceof wt){set_flag(ee,$r);ee=make_node(xt,ee,ee)}if(j.recursive_refs>0&&ee.name instanceof Un){const E=ee.name.definition();let k=ee.variables.get(ee.name.name);let S=k&&k.orig[0];if(!(S instanceof Vn)){S=make_node(Vn,ee.name,ee.name);S.scope=ee;ee.name=S;k=ee.def_function(S)}walk(ee,(S=>{if(S instanceof Yn&&S.definition()===E){S.thedef=k;k.references.push(S)}}))}if((ee instanceof Et||ee instanceof Mn)&&ee.parent_scope!==q){ee=ee.clone(true,k.get_toplevel());q.add_child_scope(ee)}return ee.optimize(k)}if(ee){let S;if(ee instanceof nr){if(!(j.orig[0]instanceof zn)&&j.references.every((E=>j.scope===E.scope))){S=ee}}else{var N=ee.evaluate(k);if(N!==ee&&(k.option("unsafe_regexp")||!(N instanceof RegExp))){S=make_node_from_constant(N,ee)}}if(S){const w=E.size(k);const N=S.size(k);let q=0;if(k.option("unused")&&!k.exposed(j)){q=(w+2+N)/(j.references.length-j.assignments)}if(N<=w+q){return S}}}}return E}));function scope_encloses_variables_in_this_scope(E,k){for(const S of k.enclosed){if(k.variables.has(S.name)){continue}const w=E.find_variable(S.name);if(w){if(w===S)continue;return true}}return false}function is_atomic(E,k){return E instanceof Yn||E.TYPE===k.TYPE}def_optimize(dr,(function(E,k){if(k.option("unsafe_undefined")){var S=find_variable(k,"undefined");if(S){var w=make_node(Yn,E,{name:"undefined",scope:S.scope,thedef:S});set_flag(w,Br);return w}}var N=is_lhs(k.self(),k.parent());if(N&&is_atomic(N,E))return E;return make_node(dn,E,{operator:"void",expression:make_node(ar,E,{value:0})})}));def_optimize(mr,(function(E,k){var S=is_lhs(k.self(),k.parent());if(S&&is_atomic(S,E))return E;if(k.option("keep_infinity")&&!(S&&!is_atomic(S,E))&&!find_variable(k,"Infinity")){return E}return make_node(mn,E,{operator:"/",left:make_node(ar,E,{value:1}),right:make_node(ar,E,{value:0})})}));def_optimize(fr,(function(E,k){var S=is_lhs(k.self(),k.parent());if(S&&!is_atomic(S,E)||find_variable(k,"NaN")){return make_node(mn,E,{operator:"/",left:make_node(ar,E,{value:0}),right:make_node(ar,E,{value:0})})}return E}));function is_reachable(E,k){const find_ref=E=>{if(E instanceof Yn&&member(E.definition(),k)){return vr}};return walk_parent(E,((k,S)=>{if(k instanceof _t&&k!==E){var w=S.parent();if(w instanceof nn&&w.expression===k)return;if(walk(k,find_ref))return vr;return true}}))}const ni=makePredicate("+ - / * % >> << >>> | ^ &");const ri=makePredicate("* | ^ &");def_optimize(yn,(function(E,k){if(E.logical){return E.lift_sequences(k)}var S;if(k.option("dead_code")&&E.left instanceof Yn&&(S=E.left.definition()).scope===k.find_parent(Et)){var w=0,N,j=E;do{N=j;j=k.parent(w++);if(j instanceof It){if(in_try(w,j))break;if(is_reachable(S.scope,[S]))break;if(E.operator=="=")return E.right;S.fixed=false;return make_node(mn,E,{operator:E.operator.slice(0,-1),left:E.left,right:E.right}).optimize(k)}}while(j instanceof mn&&j.right===N||j instanceof sn&&j.tail_node()===N)}E=E.lift_sequences(k);if(E.operator=="="&&E.left instanceof Yn&&E.right instanceof mn){if(E.right.left instanceof Yn&&E.right.left.name==E.left.name&&ni.has(E.right.operator)){E.operator=E.right.operator+"=";E.right=E.right.right}else if(E.right.right instanceof Yn&&E.right.right.name==E.left.name&&ri.has(E.right.operator)&&!E.right.left.has_side_effects(k)){E.operator=E.right.operator+"=";E.right=E.right.left}}return E;function in_try(S,w){var N=E.right;E.right=make_node(pr,N);var j=w.may_throw(k);E.right=N;var q=E.left.definition().scope;var ee;while((ee=k.parent(S++))!==q){if(ee instanceof qt){if(ee.bfinally)return true;if(j&&ee.bcatch)return true}}}}));def_optimize(_n,(function(E,k){if(!k.option("evaluate")){return E}var S=E.right.evaluate(k);if(S===undefined){E=E.left}else if(S!==E.right){S=make_node_from_constant(S,E.right);E.right=best_of_expression(S,E.right)}return E}));function is_nullish(E,k){let S;return E instanceof pr||is_undefined(E,k)||E instanceof Yn&&(S=E.definition().fixed)instanceof Ze&&is_nullish(S,k)||E instanceof on&&E.optional&&is_nullish(E.expression,k)||E instanceof nn&&E.optional&&is_nullish(E.expression,k)||E instanceof cn&&is_nullish(E.expression,k)}function is_nullish_check(E,k,S){if(k.may_throw(S))return false;let w;if(E instanceof mn&&E.operator==="=="&&((w=is_nullish(E.left,S)&&E.left)||(w=is_nullish(E.right,S)&&E.right))&&(w===E.left?E.right:E.left).equivalent_to(k)){return true}if(E instanceof mn&&E.operator==="||"){let w;let N;const find_comparison=E=>{if(!(E instanceof mn&&(E.operator==="==="||E.operator==="=="))){return false}let j=0;let q;if(E.left instanceof pr){j++;w=E;q=E.right}if(E.right instanceof pr){j++;w=E;q=E.left}if(is_undefined(E.left,S)){j++;N=E;q=E.right}if(is_undefined(E.right,S)){j++;N=E;q=E.left}if(j!==1){return false}if(!q.equivalent_to(k)){return false}return true};if(!find_comparison(E.left))return false;if(!find_comparison(E.right))return false;if(w&&N&&w!==N){return true}}return false}def_optimize(gn,(function(E,k){if(!k.option("conditionals"))return E;if(E.condition instanceof sn){var S=E.condition.expressions.slice();E.condition=S.pop();S.push(E);return make_sequence(E,S)}var w=E.condition.evaluate(k);if(w!==E.condition){if(w){return maintain_this_binding(k.parent(),k.self(),E.consequent)}else{return maintain_this_binding(k.parent(),k.self(),E.alternative)}}var N=w.negate(k,first_in_statement(k));if(best_of(k,w,N)===N){E=make_node(gn,E,{condition:N,consequent:E.alternative,alternative:E.consequent})}var j=E.condition;var q=E.consequent;var ee=E.alternative;if(j instanceof Yn&&q instanceof Yn&&j.definition()===q.definition()){return make_node(mn,E,{operator:"||",left:j,right:ee})}if(q instanceof yn&&ee instanceof yn&&q.operator===ee.operator&&q.logical===ee.logical&&q.left.equivalent_to(ee.left)&&(!E.condition.has_side_effects(k)||q.operator=="="&&!q.left.has_side_effects(k))){return make_node(yn,E,{operator:q.operator,left:q.left,logical:q.logical,right:make_node(gn,E,{condition:E.condition,consequent:q.right,alternative:ee.right})})}var te;if(q instanceof nn&&ee.TYPE===q.TYPE&&q.args.length>0&&q.args.length==ee.args.length&&q.expression.equivalent_to(ee.expression)&&!E.condition.has_side_effects(k)&&!q.expression.has_side_effects(k)&&typeof(te=single_arg_diff())=="number"){var ne=q.clone();ne.args[te]=make_node(gn,E,{condition:E.condition,consequent:q.args[te],alternative:ee.args[te]});return ne}if(ee instanceof gn&&q.equivalent_to(ee.consequent)){return make_node(gn,E,{condition:make_node(mn,E,{operator:"||",left:j,right:ee.condition}),consequent:q,alternative:ee.alternative}).optimize(k)}if(k.option("ecma")>=2020&&is_nullish_check(j,ee,k)){return make_node(mn,E,{operator:"??",left:ee,right:q}).optimize(k)}if(ee instanceof sn&&q.equivalent_to(ee.expressions[ee.expressions.length-1])){return make_sequence(E,[make_node(mn,E,{operator:"||",left:j,right:make_sequence(E,ee.expressions.slice(0,-1))}),q]).optimize(k)}if(ee instanceof mn&&ee.operator=="&&"&&q.equivalent_to(ee.right)){return make_node(mn,E,{operator:"&&",left:make_node(mn,E,{operator:"||",left:j,right:ee.left}),right:q}).optimize(k)}if(q instanceof gn&&q.alternative.equivalent_to(ee)){return make_node(gn,E,{condition:make_node(mn,E,{left:E.condition,operator:"&&",right:q.condition}),consequent:q.consequent,alternative:ee})}if(q.equivalent_to(ee)){return make_sequence(E,[E.condition,q]).optimize(k)}if(q instanceof mn&&q.operator=="||"&&q.right.equivalent_to(ee)){return make_node(mn,E,{operator:"||",left:make_node(mn,E,{operator:"&&",left:E.condition,right:q.left}),right:ee}).optimize(k)}var ae=k.in_boolean_context();if(is_true(E.consequent)){if(is_false(E.alternative)){return booleanize(E.condition)}return make_node(mn,E,{operator:"||",left:booleanize(E.condition),right:E.alternative})}if(is_false(E.consequent)){if(is_true(E.alternative)){return booleanize(E.condition.negate(k))}return make_node(mn,E,{operator:"&&",left:booleanize(E.condition.negate(k)),right:E.alternative})}if(is_true(E.alternative)){return make_node(mn,E,{operator:"||",left:booleanize(E.condition.negate(k)),right:E.consequent})}if(is_false(E.alternative)){return make_node(mn,E,{operator:"&&",left:booleanize(E.condition),right:E.consequent})}return E;function booleanize(E){if(E.is_boolean())return E;return make_node(dn,E,{operator:"!",expression:E.negate(k)})}function is_true(E){return E instanceof _r||ae&&E instanceof ir&&E.getValue()||E instanceof dn&&E.operator=="!"&&E.expression instanceof ir&&!E.expression.getValue()}function is_false(E){return E instanceof yr||ae&&E instanceof ir&&!E.getValue()||E instanceof dn&&E.operator=="!"&&E.expression instanceof ir&&E.expression.getValue()}function single_arg_diff(){var E=q.args;var k=ee.args;for(var S=0,w=E.length;S=2015;var w=this.expression;if(w instanceof bn){var N=w.properties;for(var j=N.length;--j>=0;){var q=N[j];if(""+(q instanceof Cn?q.key.name:q.key)==E){const E=N.every((E=>(E instanceof kn||S&&E instanceof Cn&&!E.is_generator)&&!E.computed_key()));if(!E)return;if(!safe_to_flatten(q.value,k))return;return make_node(ln,this,{expression:make_node(vn,w,{elements:N.map((function(E){var k=E.value;if(k instanceof kt){k=make_node(xt,k,k)}var S=E.key;if(S instanceof Ze&&!(S instanceof Gn)){return make_sequence(E,[S,k])}return k}))}),property:make_node(ar,this,{value:j})})}}}}));def_optimize(ln,(function(E,k){var S=E.expression;var w=E.property;if(k.option("properties")){var N=w.evaluate(k);if(N!==w){if(typeof N=="string"){if(N=="undefined"){N=undefined}else{var j=parseFloat(N);if(j.toString()==N){N=j}}}w=E.property=best_of_expression(w,make_node_from_constant(N,w).transform(k));var q=""+N;if(is_basic_identifier_string(q)&&q.length<=w.size()+1){return make_node(an,E,{expression:S,optional:E.optional,property:q,quote:w.quote}).optimize(k)}}}var ee;e:if(k.option("arguments")&&S instanceof Yn&&S.name=="arguments"&&S.definition().orig.length==1&&(ee=S.scope)instanceof Et&&ee.uses_arguments&&!(ee instanceof St)&&w instanceof ar){var te=w.getValue();var ne=new Set;var ae=ee.argnames;for(var _e=0;_e1){Ee=null}}else if(!Ee&&!k.option("keep_fargs")&&te=ee.argnames.length){Ee=ee.create_symbol(zn,{source:ee,scope:ee,tentative_name:"argument_"+ee.argnames.length});ee.argnames.push(Ee)}}if(Ee){var Ce=make_node(Yn,E,Ee);Ce.reference({});clear_flag(Ee,Rr);return Ce}}if(is_lhs(E,k.parent()))return E;if(N!==w){var Me=E.flatten_object(q,k);if(Me){S=E.expression=Me.expression;w=E.property=Me.property}}if(k.option("properties")&&k.option("side_effects")&&w instanceof ar&&S instanceof vn){var te=w.getValue();var Te=S.elements;var Ie=Te[te];e:if(safe_to_flatten(Ie,k)){var Oe=true;var Re=[];for(var Fe=Te.length;--Fe>te;){var j=Te[Fe].drop_side_effect_free(k);if(j){Re.unshift(j);if(Oe&&j.has_side_effects(k))Oe=false}}if(Ie instanceof bt)break e;Ie=Ie instanceof hr?make_node(dr,Ie):Ie;if(!Oe)Re.unshift(Ie);while(--Fe>=0){var j=Te[Fe];if(j instanceof bt)break e;j=j.drop_side_effect_free(k);if(j)Re.unshift(j);else te--}if(Oe){Re.push(Ie);return make_sequence(E,Re).optimize(k)}else return make_node(ln,E,{expression:make_node(vn,S,{elements:Re}),property:make_node(ar,w,{value:te})})}}var Ne=E.evaluate(k);if(Ne!==E){Ne=make_node_from_constant(Ne,E).optimize(k);return best_of(k,Ne,E)}if(E.optional&&is_nullish(E.expression,k)){return make_node(dr,E)}return E}));def_optimize(cn,(function(E,k){E.expression=E.expression.optimize(k);return E}));Et.DEFMETHOD("contains_this",(function(){return walk(this,(E=>{if(E instanceof nr)return vr;if(E!==this&&E instanceof _t&&!(E instanceof St)){return true}}))}));def_optimize(an,(function(E,k){const S=k.parent();if(is_lhs(E,S))return E;if(k.option("unsafe_proto")&&E.expression instanceof an&&E.expression.property=="prototype"){var w=E.expression.expression;if(is_undeclared_ref(w))switch(w.name){case"Array":E.expression=make_node(vn,E.expression,{elements:[]});break;case"Function":E.expression=make_node(xt,E.expression,{argnames:[],body:[]});break;case"Number":E.expression=make_node(ar,E.expression,{value:0});break;case"Object":E.expression=make_node(bn,E.expression,{properties:[]});break;case"RegExp":E.expression=make_node(lr,E.expression,{value:{source:"t",flags:""}});break;case"String":E.expression=make_node(sr,E.expression,{value:""});break}}if(!(S instanceof nn)||!has_annotation(S,kr)){const S=E.flatten_object(E.property,k);if(S)return S.optimize(k)}let N=E.evaluate(k);if(N!==E){N=make_node_from_constant(N,E).optimize(k);return best_of(k,N,E)}if(E.optional&&is_nullish(E.expression,k)){return make_node(dr,E)}return E}));function literals_in_boolean_context(E,k){if(k.in_boolean_context()){return best_of(k,E,make_sequence(E,[E,make_node(_r,E)]).optimize(k))}return E}function inline_array_like_spread(E){for(var k=0;kE instanceof hr))){E.splice(k,1,...w.elements);k--}}}}def_optimize(vn,(function(E,k){var S=literals_in_boolean_context(E,k);if(S!==E){return S}inline_array_like_spread(E.elements);return E}));function inline_object_prop_spread(E,k){for(var S=0;SE instanceof kn))){E.splice(S,1,...N.properties);S--}else if(N instanceof ir&&!(N instanceof sr)){E.splice(S,1)}else if(is_nullish(N,k)){E.splice(S,1)}}}}def_optimize(bn,(function(E,k){var S=literals_in_boolean_context(E,k);if(S!==E){return S}inline_object_prop_spread(E.properties,k);return E}));def_optimize(lr,literals_in_boolean_context);def_optimize(Pt,(function(E,k){if(E.value&&is_undefined(E.value,k)){E.value=null}return E}));def_optimize(St,opt_AST_Lambda);def_optimize(xt,(function(E,k){E=opt_AST_Lambda(E,k);if(k.option("unsafe_arrows")&&k.option("ecma")>=2015&&!E.name&&!E.is_generator&&!E.uses_arguments&&!E.pinned()){const S=walk(E,(E=>{if(E instanceof nr)return vr}));if(!S)return make_node(St,E,E).optimize(k)}return E}));def_optimize(Mn,(function(E){return E}));def_optimize(Lt,(function(E,k){if(E.expression&&!E.is_star&&is_undefined(E.expression,k)){E.expression=null}return E}));def_optimize(Dt,(function(E,k){if(!k.option("evaluate")||k.parent()instanceof Ct){return E}var S=[];for(var w=0;w=2015&&(!(S instanceof RegExp)||S.test(E.key+""))){var w=E.key;var N=E.value;var j=N instanceof St&&Array.isArray(N.body)&&!N.contains_this();if((j||N instanceof xt)&&!N.name){return make_node(Cn,E,{async:N.async,is_generator:N.is_generator,key:w instanceof Ze?w:make_node(Gn,E,{name:w}),value:make_node(kt,N,N),quote:E.quote})}}return E}));def_optimize(At,(function(E,k){if(k.option("pure_getters")==true&&k.option("unused")&&!E.is_array&&Array.isArray(E.names)&&!is_destructuring_export_decl(k)&&!(E.names[E.names.length-1]instanceof bt)){var S=[];for(var w=0;w1)throw new Error("inline source map only works with singular input");k.sourceMap.content=read_source_map(E[j])}}}N=k.parse.toplevel}if(w&&k.mangle.properties.keep_quoted!=="strict"){reserve_quoted_keys(N,w)}if(k.wrap){N=N.wrap_commonjs(k.wrap)}if(k.enclose){N=N.wrap_enclose(k.enclose)}if(S)S.rename=Date.now();if(S)S.compress=Date.now();if(k.compress){N=new Compressor(k.compress,{mangle_options:k.mangle}).compress(N)}if(S)S.scope=Date.now();if(k.mangle)N.figure_out_scope(k.mangle);if(S)S.mangle=Date.now();if(k.mangle){Pr.reset();N.compute_char_frequency(k.mangle);N.mangle_names(k.mangle)}if(S)S.properties=Date.now();if(k.mangle&&k.mangle.properties){N=mangle_properties(N,k.mangle.properties)}if(S)S.format=Date.now();var q={};if(k.format.ast){q.ast=N}if(k.format.spidermonkey){q.ast=N.to_mozilla_ast()}if(!HOP(k.format,"code")||k.format.code){if(k.sourceMap){k.format.source_map=await SourceMap({file:k.sourceMap.filename,orig:k.sourceMap.content,root:k.sourceMap.root});if(k.sourceMap.includeSources){if(E instanceof vt){throw new Error("original source content unavailable")}else for(var j in E)if(HOP(E,j)){k.format.source_map.get().setSourceContent(j,E[j])}}}delete k.format.ast;delete k.format.code;delete k.format.spidermonkey;var ee=OutputStream(k.format);N.print(ee);q.code=ee.get();if(k.sourceMap){if(k.sourceMap.asObject){q.map=k.format.source_map.get().toJSON()}else{q.map=k.format.source_map.toString()}if(k.sourceMap.url=="inline"){var te=typeof q.map==="object"?JSON.stringify(q.map):q.map;q.code+="\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,"+oi(te)}else if(k.sourceMap.url){q.code+="\n//# sourceMappingURL="+k.sourceMap.url}}}if(k.nameCache&&k.mangle){if(k.mangle.cache)k.nameCache.vars=cache_to_json(k.mangle.cache);if(k.mangle.properties&&k.mangle.properties.cache){k.nameCache.props=cache_to_json(k.mangle.properties.cache)}}if(k.format&&k.format.source_map){k.format.source_map.destroy()}if(S){S.end=Date.now();q.timings={parse:.001*(S.rename-S.parse),rename:.001*(S.compress-S.rename),compress:.001*(S.scope-S.compress),scope:.001*(S.mangle-S.scope),mangle:.001*(S.properties-S.mangle),properties:.001*(S.format-S.properties),format:.001*(S.end-S.format),total:.001*(S.end-S.start)}}return q}async function run_cli({program:E,packageJson:k,fs:w,path:N}){const j=new Set(["cname","parent_scope","scope","uses_eval","uses_with"]);var q={};var ee={compress:false,mangle:false};const te=await _default_options();E.version(k.name+" "+k.version);E.parseArgv=E.parse;E.parse=undefined;if(process.argv.includes("ast"))E.helpInformation=describe_ast;else if(process.argv.includes("options"))E.helpInformation=function(){var E=[];for(var k in te){E.push("--"+(k==="sourceMap"?"source-map":k)+" options:");E.push(format_object(te[k]));E.push("")}return E.join("\n")};E.option("-p, --parse ","Specify parser options.",parse_js());E.option("-c, --compress [options]","Enable compressor/specify compressor options.",parse_js());E.option("-m, --mangle [options]","Mangle names/specify mangler options.",parse_js());E.option("--mangle-props [options]","Mangle properties/specify mangler options.",parse_js());E.option("-f, --format [options]","Format options.",parse_js());E.option("-b, --beautify [options]","Alias for --format.",parse_js());E.option("-o, --output ","Output file (default STDOUT).");E.option("--comments [filter]","Preserve copyright comments in the output.");E.option("--config-file ","Read minify() options from JSON file.");E.option("-d, --define [=value]","Global definitions.",parse_js("define"));E.option("--ecma ","Specify ECMAScript release: 5, 2015, 2016 or 2017...");E.option("-e, --enclose [arg[,...][:value[,...]]]","Embed output in a big function with configurable arguments and values.");E.option("--ie8","Support non-standard Internet Explorer 8.");E.option("--keep-classnames","Do not mangle/drop class names.");E.option("--keep-fnames","Do not mangle/drop function names. Useful for code relying on Function.prototype.name.");E.option("--module","Input is an ES6 module");E.option("--name-cache ","File to hold mangled name mappings.");E.option("--rename","Force symbol expansion.");E.option("--no-rename","Disable symbol expansion.");E.option("--safari10","Support non-standard Safari 10.");E.option("--source-map [options]","Enable source map/specify source map options.",parse_js());E.option("--timings","Display operations run time on STDERR.");E.option("--toplevel","Compress and/or mangle variables in toplevel scope.");E.option("--wrap ","Embed everything as a function with “exports” corresponding to “name” globally.");E.arguments("[files...]").parseArgv(process.argv);if(E.configFile){ee=JSON.parse(read_file(E.configFile))}if(!E.output&&E.sourceMap&&E.sourceMap.url!="inline"){fatal("ERROR: cannot write source map to STDOUT")}["compress","enclose","ie8","mangle","module","safari10","sourceMap","toplevel","wrap"].forEach((function(k){if(k in E){ee[k]=E[k]}}));if("ecma"in E){if(E.ecma!=(E.ecma|0))fatal("ERROR: ecma must be an integer");const k=E.ecma|0;if(k>5&&k<2015)ee.ecma=k+2009;else ee.ecma=k}if(E.format||E.beautify){const k=E.format||E.beautify;ee.format=typeof k==="object"?k:{}}if(E.comments){if(typeof ee.format!="object")ee.format={};ee.format.comments=typeof E.comments=="string"?E.comments=="false"?false:E.comments:"some"}if(E.define){if(typeof ee.compress!="object")ee.compress={};if(typeof ee.compress.global_defs!="object")ee.compress.global_defs={};for(var ne in E.define){ee.compress.global_defs[ne]=E.define[ne]}}if(E.keepClassnames){ee.keep_classnames=true}if(E.keepFnames){ee.keep_fnames=true}if(E.mangleProps){if(E.mangleProps.domprops){delete E.mangleProps.domprops}else{if(typeof E.mangleProps!="object")E.mangleProps={};if(!Array.isArray(E.mangleProps.reserved))E.mangleProps.reserved=[]}if(typeof ee.mangle!="object")ee.mangle={};ee.mangle.properties=E.mangleProps}if(E.nameCache){ee.nameCache=JSON.parse(read_file(E.nameCache,"{}"))}if(E.output=="ast"){ee.format={ast:true,code:false}}if(E.parse){if(!E.parse.acorn&&!E.parse.spidermonkey){ee.parse=E.parse}else if(E.sourceMap&&E.sourceMap.content=="inline"){fatal("ERROR: inline source map only works with built-in parser")}}if(~E.rawArgs.indexOf("--rename")){ee.rename=true}else if(!E.rename){ee.rename=false}let convert_path=E=>E;if(typeof E.sourceMap=="object"&&"base"in E.sourceMap){convert_path=function(){var k=E.sourceMap.base;delete ee.sourceMap.base;return function(E){return N.relative(k,E)}}()}let ae;if(ee.files&&ee.files.length){ae=ee.files;delete ee.files}else if(E.args.length){ae=E.args}if(ae){simple_glob(ae).forEach((function(E){q[convert_path(E)]=read_file(E)}))}else{await new Promise((E=>{var k=[];process.stdin.setEncoding("utf8");process.stdin.on("data",(function(E){k.push(E)})).on("end",(function(){q=[k.join("")];E()}));process.stdin.resume()}))}await run_cli();function convert_ast(E){return Ze.from_mozilla_ast(Object.keys(q).reduce(E,null))}async function run_cli(){var k=E.sourceMap&&E.sourceMap.content;if(k&&k!=="inline"){ee.sourceMap.content=read_file(k,k)}if(E.timings)ee.timings=true;try{if(E.parse){if(E.parse.acorn){q=convert_ast((function(k,w){return S(20976).parse(q[w],{ecmaVersion:2018,locations:true,program:k,sourceFile:w,sourceType:ee.module||E.parse.module?"module":"script"})}))}else if(E.parse.spidermonkey){q=convert_ast((function(E,k){var S=JSON.parse(q[k]);if(!E)return S;E.body=E.body.concat(S.body);return E}))}}}catch(E){fatal(E)}let N;try{N=await minify(q,ee)}catch(E){if(E.name=="SyntaxError"){print_error("Parse error at "+E.filename+":"+E.line+","+E.col);var te=E.col;var ne=q[E.filename].split(/\r?\n/);var ae=ne[E.line-1];if(!ae&&!te){ae=ne[E.line-2];te=ae.length}if(ae){var _e=70;if(te>_e){ae=ae.slice(te-_e);te=_e}print_error(ae.slice(0,80));print_error(ae.slice(0,te).replace(/\S/g," ")+"^")}}if(E.defs){print_error("Supported options:");print_error(format_object(E.defs))}fatal(E);return}if(E.output=="ast"){if(!ee.compress&&!ee.mangle){N.ast.figure_out_scope({})}console.log(JSON.stringify(N.ast,(function(E,k){if(k)switch(E){case"thedef":return symdef(k);case"enclosed":return k.length?k.map(symdef):undefined;case"variables":case"globals":return k.size?collect_from_map(k,symdef):undefined}if(j.has(E))return;if(k instanceof AST_Token)return;if(k instanceof Map)return;if(k instanceof Ze){var S={_class:"AST_"+k.TYPE};if(k.block_scope){S.variables=k.block_scope.variables;S.enclosed=k.block_scope.enclosed}k.CTOR.PROPS.forEach((function(E){S[E]=k[E]}));return S}return k}),2))}else if(E.output=="spidermonkey"){try{const E=await minify(N.code,{compress:false,mangle:false,format:{ast:true,code:false}});console.log(JSON.stringify(E.ast.to_mozilla_ast(),null,2))}catch(E){fatal(E);return}}else if(E.output){w.writeFileSync(E.output,N.code);if(ee.sourceMap&&ee.sourceMap.url!=="inline"&&N.map){w.writeFileSync(E.output+".map",N.map)}}else{console.log(N.code)}if(E.nameCache){w.writeFileSync(E.nameCache,JSON.stringify(ee.nameCache))}if(N.timings)for(var ve in N.timings){print_error("- "+ve+": "+N.timings[ve].toFixed(3)+"s")}}function fatal(E){if(E instanceof Error)E=E.stack.replace(/^\S*?Error:/,"ERROR:");print_error(E);process.exit(1)}function simple_glob(E){if(Array.isArray(E)){return[].concat.apply([],E.map(simple_glob))}if(E&&E.match(/[*?]/)){var k=N.dirname(E);try{var S=w.readdirSync(k)}catch(E){}if(S){var j="^"+N.basename(E).replace(/[.+^$[\]\\(){}]/g,"\\$&").replace(/\*/g,"[^/\\\\]*").replace(/\?/g,"[^/\\\\]")+"$";var q=process.platform==="win32"?"i":"";var ee=new RegExp(j,q);var te=S.filter((function(E){return ee.test(E)})).map((function(E){return N.join(k,E)}));if(te.length)return te}}return[E]}function read_file(E,k){try{return w.readFileSync(E,"utf8")}catch(E){if((E.code=="ENOENT"||E.code=="ENAMETOOLONG")&&k!=null)return k;fatal(E)}}function parse_js(E){return function(k,S){S=S||{};try{walk(parse(k,{expression:true}),(k=>{if(k instanceof yn){var w=k.left.print_to_string();var N=k.right;if(E){S[w]=N}else if(N instanceof vn){S[w]=N.elements.map(to_string)}else if(N instanceof lr){N=N.value;S[w]=new RegExp(N.source,N.flags)}else{S[w]=to_string(N)}return true}if(k instanceof Rn||k instanceof on){var w=k.print_to_string();S[w]=true;return true}if(!(k instanceof sn))throw k;function to_string(E){return E instanceof ir?E.getValue():E.print_to_string({quote_keys:true})}}))}catch(w){if(E){fatal("Error parsing arguments for '"+E+"': "+k)}else{S[k]=null}}return S}}function symdef(E){var k=1e6+E.id+" "+E.name;if(E.mangled_name)k+=" "+E.mangled_name;return k}function collect_from_map(E,k){var S=[];E.forEach((function(E){S.push(k(E))}));return S}function format_object(E){var k=[];var S="";Object.keys(E).map((function(k){if(S.length!/^\$/.test(E)));if(S.length>0){E.space();E.with_parens((function(){S.forEach((function(k,S){if(S)E.space();E.print(k)}))}))}if(k.documentation){E.space();E.print_string(k.documentation)}if(k.SUBCLASSES.length>0){E.space();E.with_block((function(){k.SUBCLASSES.forEach((function(k){E.indent();doitem(k);E.newline()}))}))}}doitem(Ze);return E+"\n"}}async function _default_options(){const E={};Object.keys(infer_options({0:0})).forEach((k=>{const S=infer_options({[k]:{0:0}});if(S)E[k]=S}));return E}async function infer_options(E){try{await minify("",E)}catch(E){return E.defs}}E._default_options=_default_options;E._run_cli=run_cli;E.minify=minify}))},18077:(E,k)=>{class ArraySet{constructor(){this._array=[];this._set=new Map}static fromArray(E,k){const S=new ArraySet;for(let w=0,N=E.length;w=0){return k}throw new Error('"'+E+'" is not in the set.')}at(E){if(E>=0&&E{const w=S(5584);const N=5;const j=1<>1;return k?-S:S}k.encode=function base64VLQ_encode(E){let k="";let S;let j=toVLQSigned(E);do{S=j&q;j>>>=N;if(j>0){S|=ee}k+=w.encode(S)}while(j>0);return k}},5584:(E,k)=>{const S="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/".split("");k.encode=function(E){if(0<=E&&E{k.GREATEST_LOWER_BOUND=1;k.LEAST_UPPER_BOUND=2;function recursiveSearch(E,S,w,N,j,q){const ee=Math.floor((S-E)/2)+E;const te=j(w,N[ee],true);if(te===0){return ee}else if(te>0){if(S-ee>1){return recursiveSearch(ee,S,w,N,j,q)}if(q==k.LEAST_UPPER_BOUND){return S1){return recursiveSearch(E,ee,w,N,j,q)}if(q==k.LEAST_UPPER_BOUND){return ee}return E<0?-1:E}k.search=function search(E,S,w,N){if(S.length===0){return-1}let j=recursiveSearch(-1,S.length,E,S,w,N||k.GREATEST_LOWER_BOUND);if(j<0){return-1}while(j-1>=0){if(w(S[j],S[j-1],true)!==0){break}--j}return j}},58893:(E,k,S)=>{const w=S(5641);function generatedPositionAfter(E,k){const S=E.generatedLine;const N=k.generatedLine;const j=E.generatedColumn;const q=k.generatedColumn;return N>S||N==S&&q>=j||w.compareByGeneratedPositionsInflated(E,k)<=0}class MappingList{constructor(){this._array=[];this._sorted=true;this._last={generatedLine:-1,generatedColumn:0}}unsortedForEach(E,k){this._array.forEach(E,k)}add(E){if(generatedPositionAfter(this._last,E)){this._last=E;this._array.push(E)}else{this._sorted=false;this._array.push(E)}}toArray(){if(!this._sorted){this._array.sort(w.compareByGeneratedPositionsInflated);this._sorted=true}return this._array}}k.H=MappingList},67416:(E,k,S)=>{if(typeof fetch==="function"){let k=null;E.exports=function readWasm(){if(typeof k!=="string"){throw new Error("You must provide the URL of lib/mappings.wasm by calling "+"SourceMapConsumer.initialize({ 'lib/mappings.wasm': ... }) "+"before using SourceMapConsumer")}return fetch(k).then((E=>E.arrayBuffer()))};E.exports.initialize=E=>k=E}else{const k=S(35747);const w=S(85622);E.exports=function readWasm(){return new Promise(((E,w)=>{const N=S.ab+"mappings1.wasm";k.readFile(S.ab+"mappings1.wasm",null,((k,S)=>{if(k){w(k);return}E(S.buffer)}))}))};E.exports.initialize=E=>{console.debug("SourceMapConsumer.initialize is a no-op when running in node.js")}}},79096:(E,k,S)=>{var w;const N=S(5641);const j=S(42706);const q=S(18077).I;const ee=S(48625);const te=S(67416);const ne=S(1967);const ae=Symbol("smcInternal");class SourceMapConsumer{constructor(E,k){if(E==ae){return Promise.resolve(this)}return _factory(E,k)}static initialize(E){te.initialize(E["lib/mappings.wasm"])}static fromSourceMap(E,k){return _factoryBSM(E,k)}static with(E,k,S){let w=null;const N=new SourceMapConsumer(E,k);return N.then((E=>{w=E;return S(E)})).then((E=>{if(w){w.destroy()}return E}),(E=>{if(w){w.destroy()}throw E}))}_parseMappings(E,k){throw new Error("Subclasses must implement _parseMappings")}eachMapping(E,k,S){throw new Error("Subclasses must implement eachMapping")}allGeneratedPositionsFor(E){throw new Error("Subclasses must implement allGeneratedPositionsFor")}destroy(){throw new Error("Subclasses must implement destroy")}}SourceMapConsumer.prototype._version=3;SourceMapConsumer.GENERATED_ORDER=1;SourceMapConsumer.ORIGINAL_ORDER=2;SourceMapConsumer.GREATEST_LOWER_BOUND=1;SourceMapConsumer.LEAST_UPPER_BOUND=2;k.SourceMapConsumer=SourceMapConsumer;class BasicSourceMapConsumer extends SourceMapConsumer{constructor(E,k){return super(ae).then((S=>{let w=E;if(typeof E==="string"){w=N.parseSourceMapInput(E)}const j=N.getArg(w,"version");let ee=N.getArg(w,"sources");const te=N.getArg(w,"names",[]);let ae=N.getArg(w,"sourceRoot",null);const _e=N.getArg(w,"sourcesContent",null);const ve=N.getArg(w,"mappings");const Ee=N.getArg(w,"file",null);if(j!=S._version){throw new Error("Unsupported version: "+j)}if(ae){ae=N.normalize(ae)}ee=ee.map(String).map(N.normalize).map((function(E){return ae&&N.isAbsolute(ae)&&N.isAbsolute(E)?N.relative(ae,E):E}));S._names=q.fromArray(te.map(String),true);S._sources=q.fromArray(ee,true);S._absoluteSources=S._sources.toArray().map((function(E){return N.computeSourceURL(ae,E,k)}));S.sourceRoot=ae;S.sourcesContent=_e;S._mappings=ve;S._sourceMapURL=k;S.file=Ee;S._computedColumnSpans=false;S._mappingsPtr=0;S._wasm=null;return ne().then((E=>{S._wasm=E;return S}))}))}_findSourceIndex(E){let k=E;if(this.sourceRoot!=null){k=N.relative(this.sourceRoot,k)}if(this._sources.has(k)){return this._sources.indexOf(k)}for(let k=0;k{if(k.source!==null){k.source=this._sources.at(k.source);k.source=N.computeSourceURL(q,k.source,this._sourceMapURL);if(k.name!==null){k.name=this._names.at(k.name)}}E.call(w,k)}),(()=>{switch(j){case SourceMapConsumer.GENERATED_ORDER:this._wasm.exports.by_generated_location(this._getMappingsPtr());break;case SourceMapConsumer.ORIGINAL_ORDER:this._wasm.exports.by_original_location(this._getMappingsPtr());break;default:throw new Error("Unknown order of iteration.")}}))}allGeneratedPositionsFor(E){let k=N.getArg(E,"source");const S=N.getArg(E,"line");const w=E.column||0;k=this._findSourceIndex(k);if(k<0){return[]}if(S<1){throw new Error("Line numbers must be >= 1")}if(w<0){throw new Error("Column numbers must be >= 0")}const j=[];this._wasm.withMappingCallback((E=>{let k=E.lastGeneratedColumn;if(this._computedColumnSpans&&k===null){k=Infinity}j.push({line:E.generatedLine,column:E.generatedColumn,lastColumn:k})}),(()=>{this._wasm.exports.all_generated_locations_for(this._getMappingsPtr(),k,S-1,"column"in E,w)}));return j}destroy(){if(this._mappingsPtr!==0){this._wasm.exports.free_mappings(this._mappingsPtr);this._mappingsPtr=0}}computeColumnSpans(){if(this._computedColumnSpans){return}this._wasm.exports.compute_column_spans(this._getMappingsPtr());this._computedColumnSpans=true}originalPositionFor(E){const k={generatedLine:N.getArg(E,"line"),generatedColumn:N.getArg(E,"column")};if(k.generatedLine<1){throw new Error("Line numbers must be >= 1")}if(k.generatedColumn<0){throw new Error("Column numbers must be >= 0")}let S=N.getArg(E,"bias",SourceMapConsumer.GREATEST_LOWER_BOUND);if(S==null){S=SourceMapConsumer.GREATEST_LOWER_BOUND}let w;this._wasm.withMappingCallback((E=>w=E),(()=>{this._wasm.exports.original_location_for(this._getMappingsPtr(),k.generatedLine-1,k.generatedColumn,S)}));if(w){if(w.generatedLine===k.generatedLine){let E=N.getArg(w,"source",null);if(E!==null){E=this._sources.at(E);E=N.computeSourceURL(this.sourceRoot,E,this._sourceMapURL)}let k=N.getArg(w,"name",null);if(k!==null){k=this._names.at(k)}return{source:E,line:N.getArg(w,"originalLine",null),column:N.getArg(w,"originalColumn",null),name:k}}}return{source:null,line:null,column:null,name:null}}hasContentsOfAllSources(){if(!this.sourcesContent){return false}return this.sourcesContent.length>=this._sources.size()&&!this.sourcesContent.some((function(E){return E==null}))}sourceContentFor(E,k){if(!this.sourcesContent){return null}const S=this._findSourceIndex(E);if(S>=0){return this.sourcesContent[S]}let w=E;if(this.sourceRoot!=null){w=N.relative(this.sourceRoot,w)}let j;if(this.sourceRoot!=null&&(j=N.urlParse(this.sourceRoot))){const E=w.replace(/^file:\/\//,"");if(j.scheme=="file"&&this._sources.has(E)){return this.sourcesContent[this._sources.indexOf(E)]}if((!j.path||j.path=="/")&&this._sources.has("/"+w)){return this.sourcesContent[this._sources.indexOf("/"+w)]}}if(k){return null}throw new Error('"'+w+'" is not in the SourceMap.')}generatedPositionFor(E){let k=N.getArg(E,"source");k=this._findSourceIndex(k);if(k<0){return{line:null,column:null,lastColumn:null}}const S={source:k,originalLine:N.getArg(E,"line"),originalColumn:N.getArg(E,"column")};if(S.originalLine<1){throw new Error("Line numbers must be >= 1")}if(S.originalColumn<0){throw new Error("Column numbers must be >= 0")}let w=N.getArg(E,"bias",SourceMapConsumer.GREATEST_LOWER_BOUND);if(w==null){w=SourceMapConsumer.GREATEST_LOWER_BOUND}let j;this._wasm.withMappingCallback((E=>j=E),(()=>{this._wasm.exports.generated_location_for(this._getMappingsPtr(),S.source,S.originalLine-1,S.originalColumn,w)}));if(j){if(j.source===S.source){let E=j.lastGeneratedColumn;if(this._computedColumnSpans&&E===null){E=Infinity}return{line:N.getArg(j,"generatedLine",null),column:N.getArg(j,"generatedColumn",null),lastColumn:E}}}return{line:null,column:null,lastColumn:null}}}BasicSourceMapConsumer.prototype.consumer=SourceMapConsumer;w=BasicSourceMapConsumer;class IndexedSourceMapConsumer extends SourceMapConsumer{constructor(E,k){return super(ae).then((S=>{let w=E;if(typeof E==="string"){w=N.parseSourceMapInput(E)}const j=N.getArg(w,"version");const ee=N.getArg(w,"sections");if(j!=S._version){throw new Error("Unsupported version: "+j)}S._sources=new q;S._names=new q;S.__generatedMappings=null;S.__originalMappings=null;S.__generatedMappingsUnsorted=null;S.__originalMappingsUnsorted=null;let te={line:-1,column:0};return Promise.all(ee.map((E=>{if(E.url){throw new Error("Support for url field in sections not implemented.")}const S=N.getArg(E,"offset");const w=N.getArg(S,"line");const j=N.getArg(S,"column");if(w({generatedOffset:{generatedLine:w+1,generatedColumn:j+1},consumer:E})))}))).then((E=>{S._sections=E;return S}))}))}get _generatedMappings(){if(!this.__generatedMappings){this._sortGeneratedMappings()}return this.__generatedMappings}get _originalMappings(){if(!this.__originalMappings){this._sortOriginalMappings()}return this.__originalMappings}get _generatedMappingsUnsorted(){if(!this.__generatedMappingsUnsorted){this._parseMappings(this._mappings,this.sourceRoot)}return this.__generatedMappingsUnsorted}get _originalMappingsUnsorted(){if(!this.__originalMappingsUnsorted){this._parseMappings(this._mappings,this.sourceRoot)}return this.__originalMappingsUnsorted}_sortGeneratedMappings(){const E=this._generatedMappingsUnsorted;E.sort(N.compareByGeneratedPositionsDeflated);this.__generatedMappings=E}_sortOriginalMappings(){const E=this._originalMappingsUnsorted;E.sort(N.compareByOriginalPositions);this.__originalMappings=E}get sources(){const E=[];for(let k=0;kj.push(E)));for(let E=0;E= 1")}if(S.originalColumn<0){throw new Error("Column numbers must be >= 0")}const w=[];let q=this._findMapping(S,this._originalMappings,"originalLine","originalColumn",N.compareByOriginalPositions,j.LEAST_UPPER_BOUND);if(q>=0){let S=this._originalMappings[q];if(E.column===undefined){const E=S.originalLine;while(S&&S.originalLine===E){let E=S.lastGeneratedColumn;if(this._computedColumnSpans&&E===null){E=Infinity}w.push({line:N.getArg(S,"generatedLine",null),column:N.getArg(S,"generatedColumn",null),lastColumn:E});S=this._originalMappings[++q]}}else{const E=S.originalColumn;while(S&&S.originalLine===k&&S.originalColumn==E){let E=S.lastGeneratedColumn;if(this._computedColumnSpans&&E===null){E=Infinity}w.push({line:N.getArg(S,"generatedLine",null),column:N.getArg(S,"generatedColumn",null),lastColumn:E});S=this._originalMappings[++q]}}}return w}destroy(){for(let E=0;E{const w=S(48625);const N=S(5641);const j=S(18077).I;const q=S(58893).H;class SourceMapGenerator{constructor(E){if(!E){E={}}this._file=N.getArg(E,"file",null);this._sourceRoot=N.getArg(E,"sourceRoot",null);this._skipValidation=N.getArg(E,"skipValidation",false);this._sources=new j;this._names=new j;this._mappings=new q;this._sourcesContents=null}static fromSourceMap(E){const k=E.sourceRoot;const S=new SourceMapGenerator({file:E.file,sourceRoot:k});E.eachMapping((function(E){const w={generated:{line:E.generatedLine,column:E.generatedColumn}};if(E.source!=null){w.source=E.source;if(k!=null){w.source=N.relative(k,w.source)}w.original={line:E.originalLine,column:E.originalColumn};if(E.name!=null){w.name=E.name}}S.addMapping(w)}));E.sources.forEach((function(w){let j=w;if(k!==null){j=N.relative(k,w)}if(!S._sources.has(j)){S._sources.add(j)}const q=E.sourceContentFor(w);if(q!=null){S.setSourceContent(w,q)}}));return S}addMapping(E){const k=N.getArg(E,"generated");const S=N.getArg(E,"original",null);let w=N.getArg(E,"source",null);let j=N.getArg(E,"name",null);if(!this._skipValidation){this._validateMapping(k,S,w,j)}if(w!=null){w=String(w);if(!this._sources.has(w)){this._sources.add(w)}}if(j!=null){j=String(j);if(!this._names.has(j)){this._names.add(j)}}this._mappings.add({generatedLine:k.line,generatedColumn:k.column,originalLine:S!=null&&S.line,originalColumn:S!=null&&S.column,source:w,name:j})}setSourceContent(E,k){let S=E;if(this._sourceRoot!=null){S=N.relative(this._sourceRoot,S)}if(k!=null){if(!this._sourcesContents){this._sourcesContents=Object.create(null)}this._sourcesContents[N.toSetString(S)]=k}else if(this._sourcesContents){delete this._sourcesContents[N.toSetString(S)];if(Object.keys(this._sourcesContents).length===0){this._sourcesContents=null}}}applySourceMap(E,k,S){let w=k;if(k==null){if(E.file==null){throw new Error("SourceMapGenerator.prototype.applySourceMap requires either an explicit source file, "+'or the source map\'s "file" property. Both were omitted.')}w=E.file}const q=this._sourceRoot;if(q!=null){w=N.relative(q,w)}const ee=this._mappings.toArray().length>0?new j:this._sources;const te=new j;this._mappings.unsortedForEach((function(k){if(k.source===w&&k.originalLine!=null){const w=E.originalPositionFor({line:k.originalLine,column:k.originalColumn});if(w.source!=null){k.source=w.source;if(S!=null){k.source=N.join(S,k.source)}if(q!=null){k.source=N.relative(q,k.source)}k.originalLine=w.line;k.originalColumn=w.column;if(w.name!=null){k.name=w.name}}}const j=k.source;if(j!=null&&!ee.has(j)){ee.add(j)}const ne=k.name;if(ne!=null&&!te.has(ne)){te.add(ne)}}),this);this._sources=ee;this._names=te;E.sources.forEach((function(k){const w=E.sourceContentFor(k);if(w!=null){if(S!=null){k=N.join(S,k)}if(q!=null){k=N.relative(q,k)}this.setSourceContent(k,w)}}),this)}_validateMapping(E,k,S,w){if(k&&typeof k.line!=="number"&&typeof k.column!=="number"){throw new Error("original.line and original.column are not numbers -- you probably meant to omit "+"the original mapping entirely and only map the generated position. If so, pass "+"null for the original mapping instead of an object with empty or null values.")}if(E&&"line"in E&&"column"in E&&E.line>0&&E.column>=0&&!k&&!S&&!w){}else if(E&&"line"in E&&"column"in E&&k&&"line"in k&&"column"in k&&E.line>0&&E.column>=0&&k.line>0&&k.column>=0&&S){}else{throw new Error("Invalid mapping: "+JSON.stringify({generated:E,source:S,original:k,name:w}))}}_serializeMappings(){let E=0;let k=1;let S=0;let j=0;let q=0;let ee=0;let te="";let ne;let ae;let _e;let ve;const Ee=this._mappings.toArray();for(let we=0,Ce=Ee.length;we0){if(!N.compareByGeneratedPositionsInflated(ae,Ee[we-1])){continue}ne+=","}ne+=w.encode(ae.generatedColumn-E);E=ae.generatedColumn;if(ae.source!=null){ve=this._sources.indexOf(ae.source);ne+=w.encode(ve-ee);ee=ve;ne+=w.encode(ae.originalLine-1-j);j=ae.originalLine-1;ne+=w.encode(ae.originalColumn-S);S=ae.originalColumn;if(ae.name!=null){_e=this._names.indexOf(ae.name);ne+=w.encode(_e-q);q=_e}}te+=ne}return te}_generateSourcesContent(E,k){return E.map((function(E){if(!this._sourcesContents){return null}if(k!=null){E=N.relative(k,E)}const S=N.toSetString(E);return Object.prototype.hasOwnProperty.call(this._sourcesContents,S)?this._sourcesContents[S]:null}),this)}toJSON(){const E={version:this._version,sources:this._sources.toArray(),names:this._names.toArray(),mappings:this._serializeMappings()};if(this._file!=null){E.file=this._file}if(this._sourceRoot!=null){E.sourceRoot=this._sourceRoot}if(this._sourcesContents){E.sourcesContent=this._generateSourcesContent(E.sources,E.sourceRoot)}return E}toString(){return JSON.stringify(this.toJSON())}}SourceMapGenerator.prototype._version=3;k.SourceMapGenerator=SourceMapGenerator},21583:(E,k,S)=>{const w=S(76).SourceMapGenerator;const N=S(5641);const j=/(\r?\n)/;const q=10;const ee="$$$isSourceNode$$$";class SourceNode{constructor(E,k,S,w,N){this.children=[];this.sourceContents={};this.line=E==null?null:E;this.column=k==null?null:k;this.source=S==null?null:S;this.name=N==null?null:N;this[ee]=true;if(w!=null)this.add(w)}static fromStringWithSourceMap(E,k,S){const w=new SourceNode;const q=E.split(j);let ee=0;const shiftNextLine=function(){const E=getNextLine();const k=getNextLine()||"";return E+k;function getNextLine(){return ee=0;k--){this.prepend(E[k])}}else if(E[ee]||typeof E==="string"){this.children.unshift(E)}else{throw new TypeError("Expected a SourceNode, string, or an array of SourceNodes and strings. Got "+E)}return this}walk(E){let k;for(let S=0,w=this.children.length;S0){k=[];for(S=0;S{function getArg(E,k,S){if(k in E){return E[k]}else if(arguments.length===3){return S}throw new Error('"'+k+'" is a required argument.')}k.getArg=getArg;const S=/^(?:([\w+\-.]+):)?\/\/(?:(\w+:\w+)@)?([\w.-]*)(?::(\d+))?(.*)$/;const w=/^data:.+\,.+$/;function urlParse(E){const k=E.match(S);if(!k){return null}return{scheme:k[1],auth:k[2],host:k[3],port:k[4],path:k[5]}}k.urlParse=urlParse;function urlGenerate(E){let k="";if(E.scheme){k+=E.scheme+":"}k+="//";if(E.auth){k+=E.auth+"@"}if(E.host){k+=E.host}if(E.port){k+=":"+E.port}if(E.path){k+=E.path}return k}k.urlGenerate=urlGenerate;const N=32;function lruMemoize(E){const k=[];return function(S){for(let E=0;EN){k.pop()}return w}}const j=lruMemoize((function normalize(E){let S=E;const w=urlParse(E);if(w){if(!w.path){return E}S=w.path}const N=k.isAbsolute(S);const j=[];let q=0;let ee=0;while(true){q=ee;ee=S.indexOf("/",q);if(ee===-1){j.push(S.slice(q));break}else{j.push(S.slice(q,ee));while(ee=0;ee--){const E=j[ee];if(E==="."){j.splice(ee,1)}else if(E===".."){te++}else if(te>0){if(E===""){j.splice(ee+1,te);te=0}else{j.splice(ee,2);te--}}}S=j.join("/");if(S===""){S=N?"/":"."}if(w){w.path=S;return urlGenerate(w)}return S}));k.normalize=j;function join(E,k){if(E===""){E="."}if(k===""){k="."}const S=urlParse(k);const N=urlParse(E);if(N){E=N.path||"/"}if(S&&!S.scheme){if(N){S.scheme=N.scheme}return urlGenerate(S)}if(S||k.match(w)){return k}if(N&&!N.host&&!N.path){N.host=k;return urlGenerate(N)}const q=k.charAt(0)==="/"?k:j(E.replace(/\/+$/,"")+"/"+k);if(N){N.path=q;return urlGenerate(N)}return q}k.join=join;k.isAbsolute=function(E){return E.charAt(0)==="/"||S.test(E)};function relative(E,k){if(E===""){E="."}E=E.replace(/\/$/,"");let S=0;while(k.indexOf(E+"/")!==0){const w=E.lastIndexOf("/");if(w<0){return k}E=E.slice(0,w);if(E.match(/^([^\/]+:\/)?\/*$/)){return k}++S}return Array(S+1).join("../")+k.substr(E.length+1)}k.relative=relative;const q=function(){const E=Object.create(null);return!("__proto__"in E)}();function identity(E){return E}function toSetString(E){if(isProtoString(E)){return"$"+E}return E}k.toSetString=q?identity:toSetString;function fromSetString(E){if(isProtoString(E)){return E.slice(1)}return E}k.fromSetString=q?identity:fromSetString;function isProtoString(E){if(!E){return false}const k=E.length;if(k<9){return false}if(E.charCodeAt(k-1)!==95||E.charCodeAt(k-2)!==95||E.charCodeAt(k-3)!==111||E.charCodeAt(k-4)!==116||E.charCodeAt(k-5)!==111||E.charCodeAt(k-6)!==114||E.charCodeAt(k-7)!==112||E.charCodeAt(k-8)!==95||E.charCodeAt(k-9)!==95){return false}for(let S=k-10;S>=0;S--){if(E.charCodeAt(S)!==36){return false}}return true}function compareByOriginalPositions(E,k,S){let w=strcmp(E.source,k.source);if(w!==0){return w}w=E.originalLine-k.originalLine;if(w!==0){return w}w=E.originalColumn-k.originalColumn;if(w!==0||S){return w}w=E.generatedColumn-k.generatedColumn;if(w!==0){return w}w=E.generatedLine-k.generatedLine;if(w!==0){return w}return strcmp(E.name,k.name)}k.compareByOriginalPositions=compareByOriginalPositions;function compareByGeneratedPositionsDeflated(E,k,S){let w=E.generatedLine-k.generatedLine;if(w!==0){return w}w=E.generatedColumn-k.generatedColumn;if(w!==0||S){return w}w=strcmp(E.source,k.source);if(w!==0){return w}w=E.originalLine-k.originalLine;if(w!==0){return w}w=E.originalColumn-k.originalColumn;if(w!==0){return w}return strcmp(E.name,k.name)}k.compareByGeneratedPositionsDeflated=compareByGeneratedPositionsDeflated;function strcmp(E,k){if(E===k){return 0}if(E===null){return 1}if(k===null){return-1}if(E>k){return 1}return-1}function compareByGeneratedPositionsInflated(E,k){let S=E.generatedLine-k.generatedLine;if(S!==0){return S}S=E.generatedColumn-k.generatedColumn;if(S!==0){return S}S=strcmp(E.source,k.source);if(S!==0){return S}S=E.originalLine-k.originalLine;if(S!==0){return S}S=E.originalColumn-k.originalColumn;if(S!==0){return S}return strcmp(E.name,k.name)}k.compareByGeneratedPositionsInflated=compareByGeneratedPositionsInflated;function parseSourceMapInput(E){return JSON.parse(E.replace(/^\)]}'[^\n]*\n/,""))}k.parseSourceMapInput=parseSourceMapInput;function computeSourceURL(E,k,S){k=k||"";if(E){if(E[E.length-1]!=="/"&&k[0]!=="/"){E+="/"}k=E+k}if(S){const E=urlParse(S);if(!E){throw new Error("sourceMapURL could not be parsed")}if(E.path){const k=E.path.lastIndexOf("/");if(k>=0){E.path=E.path.substring(0,k+1)}}k=join(urlGenerate(E),k)}return j(k)}k.computeSourceURL=computeSourceURL},1967:(E,k,S)=>{const w=S(67416);function Mapping(){this.generatedLine=0;this.generatedColumn=0;this.lastGeneratedColumn=null;this.source=null;this.originalLine=null;this.originalColumn=null;this.name=null}let N=null;E.exports=function wasm(){if(N){return N}const E=[];N=w().then((k=>WebAssembly.instantiate(k,{env:{mapping_callback(k,S,w,N,j,q,ee,te,ne,ae){const _e=new Mapping;_e.generatedLine=k+1;_e.generatedColumn=S;if(w){_e.lastGeneratedColumn=N-1}if(j){_e.source=q;_e.originalLine=ee+1;_e.originalColumn=te;if(ne){_e.name=ae}}E[E.length-1](_e)},start_all_generated_locations_for(){console.time("all_generated_locations_for")},end_all_generated_locations_for(){console.timeEnd("all_generated_locations_for")},start_compute_column_spans(){console.time("compute_column_spans")},end_compute_column_spans(){console.timeEnd("compute_column_spans")},start_generated_location_for(){console.time("generated_location_for")},end_generated_location_for(){console.timeEnd("generated_location_for")},start_original_location_for(){console.time("original_location_for")},end_original_location_for(){console.timeEnd("original_location_for")},start_parse_mappings(){console.time("parse_mappings")},end_parse_mappings(){console.timeEnd("parse_mappings")},start_sort_by_generated_location(){console.time("sort_by_generated_location")},end_sort_by_generated_location(){console.timeEnd("sort_by_generated_location")},start_sort_by_original_location(){console.time("sort_by_original_location")},end_sort_by_original_location(){console.timeEnd("sort_by_original_location")}}}))).then((k=>({exports:k.instance.exports,withMappingCallback:(k,S)=>{E.push(k);try{S()}finally{E.pop()}}}))).then(null,(E=>{N=null;throw E}));return N}},86347:(E,k,S)=>{k.SourceMapGenerator=S(76).SourceMapGenerator;k.SourceMapConsumer=S(79096).SourceMapConsumer;k.SourceNode=S(21583).SourceNode},57217:function(E,k,S){(function(E,w){true?w(k,S(37362)):0})(this,(function(E,k){"use strict";function _interopDefaultLegacy(E){return E&&typeof E==="object"&&"default"in E?E:{default:E}}var w=_interopDefaultLegacy(k);function characters(E){return E.split("")}function member(E,k){return k.includes(E)}class DefaultsError extends Error{constructor(E,k){super();this.name="DefaultsError";this.message=E;this.defs=k}}function defaults(E,k,S){if(E===true){E={}}if(E!=null&&typeof E==="object"){E=Object.assign({},E)}const w=E||{};if(S)for(const E in w)if(HOP(w,E)&&!HOP(k,E)){throw new DefaultsError("`"+E+"` is not a supported option",k)}for(const S in k)if(HOP(k,S)){if(!E||!HOP(E,S)){w[S]=k[S]}else if(S==="ecma"){let k=E[S]|0;if(k>5&&k<2015)k+=2009;w[S]=k}else{w[S]=E&&HOP(E,S)?E[S]:k[S]}}return w}function noop(){}function return_false(){return false}function return_true(){return true}function return_this(){return this}function return_null(){return null}var N=function(){function MAP(k,S,w){var N=[],j=[],q;function doit(){var ee=S(k[q],q);var te=ee instanceof Last;if(te)ee=ee.v;if(ee instanceof AtTop){ee=ee.v;if(ee instanceof Splice){j.push.apply(j,w?ee.v.slice().reverse():ee.v)}else{j.push(ee)}}else if(ee!==E){if(ee instanceof Splice){N.push.apply(N,w?ee.v.slice().reverse():ee.v)}else{N.push(ee)}}return te}if(Array.isArray(k)){if(w){for(q=k.length;--q>=0;)if(doit())break;N.reverse();j.reverse()}else{for(q=0;q=0;){if(E[S]===k)E.splice(S,1)}}function mergeSort(E,k){if(E.length<2)return E.slice();function merge(E,S){var w=[],N=0,j=0,q=0;while(N{S+=E}))}return S}function has_annotation(E,k){return E._annotations&k}function set_annotation(E,k){E._annotations|=k}var ee="";var te=true;var ne="break case catch class const continue debugger default delete do else export extends finally for function if in instanceof let new return switch throw try typeof var void while with";var ae="false null true";var _e="enum implements import interface package private protected public static super this "+ae+" "+ne;var ve="return new delete throw else case yield await";ne=makePredicate(ne);_e=makePredicate(_e);ve=makePredicate(ve);ae=makePredicate(ae);var Ee=makePredicate(characters("+-*&%=<>!?|~^"));var we=/[0-9a-f]/i;var Ce=/^0x[0-9a-f]+$/i;var Me=/^0[0-7]+$/;var Te=/^0o[0-7]+$/i;var Ie=/^0b[01]+$/i;var Oe=/^\d*\.?\d*(?:e[+-]?\d*(?:\d\.?|\.?\d)\d*)?$/i;var Re=/^(0[xob])?[0-9a-f]+n$/i;var Fe=makePredicate(["in","instanceof","typeof","new","void","delete","++","--","+","-","!","~","&","|","^","*","**","/","%",">>","<<",">>>","<",">","<=",">=","==","===","!=","!==","?","=","+=","-=","||=","&&=","??=","/=","*=","**=","%=",">>=","<<=",">>>=","|=","^=","&=","&&","??","||"]);var Ne=makePredicate(characters("  \n\r\t\f\v​           \u2028\u2029   \ufeff"));var Be=makePredicate(characters("\n\r\u2028\u2029"));var Le=makePredicate(characters(";]),:"));var je=makePredicate(characters("[{(,;:"));var $e=makePredicate(characters("[]{}(),;:"));var ze={ID_Start:/[$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\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\u0C85-\u0C8C\u0C8E-\u0C90\u0C92-\u0CA8\u0CAA-\u0CB3\u0CB5-\u0CB9\u0CBD\u0CDE\u0CE0\u0CE1\u0CF1\u0CF2\u0D05-\u0D0C\u0D0E-\u0D10\u0D12-\u0D3A\u0D3D\u0D4E\u0D5F-\u0D61\u0D7A-\u0D7F\u0D85-\u0D96\u0D9A-\u0DB1\u0DB3-\u0DBB\u0DBD\u0DC0-\u0DC6\u0E01-\u0E30\u0E32\u0E33\u0E40-\u0E46\u0E81\u0E82\u0E84\u0E87\u0E88\u0E8A\u0E8D\u0E94-\u0E97\u0E99-\u0E9F\u0EA1-\u0EA3\u0EA5\u0EA7\u0EAA\u0EAB\u0EAD-\u0EB0\u0EB2\u0EB3\u0EBD\u0EC0-\u0EC4\u0EC6\u0EDC-\u0EDF\u0F00\u0F40-\u0F47\u0F49-\u0F6C\u0F88-\u0F8C\u1000-\u102A\u103F\u1050-\u1055\u105A-\u105D\u1061\u1065\u1066\u106E-\u1070\u1075-\u1081\u108E\u10A0-\u10C5\u10C7\u10CD\u10D0-\u10FA\u10FC-\u1248\u124A-\u124D\u1250-\u1256\u1258\u125A-\u125D\u1260-\u1288\u128A-\u128D\u1290-\u12B0\u12B2-\u12B5\u12B8-\u12BE\u12C0\u12C2-\u12C5\u12C8-\u12D6\u12D8-\u1310\u1312-\u1315\u1318-\u135A\u1380-\u138F\u13A0-\u13F5\u13F8-\u13FD\u1401-\u166C\u166F-\u167F\u1681-\u169A\u16A0-\u16EA\u16EE-\u16F8\u1700-\u170C\u170E-\u1711\u1720-\u1731\u1740-\u1751\u1760-\u176C\u176E-\u1770\u1780-\u17B3\u17D7\u17DC\u1820-\u1877\u1880-\u18A8\u18AA\u18B0-\u18F5\u1900-\u191E\u1950-\u196D\u1970-\u1974\u1980-\u19AB\u19B0-\u19C9\u1A00-\u1A16\u1A20-\u1A54\u1AA7\u1B05-\u1B33\u1B45-\u1B4B\u1B83-\u1BA0\u1BAE\u1BAF\u1BBA-\u1BE5\u1C00-\u1C23\u1C4D-\u1C4F\u1C5A-\u1C7D\u1CE9-\u1CEC\u1CEE-\u1CF1\u1CF5\u1CF6\u1D00-\u1DBF\u1E00-\u1F15\u1F18-\u1F1D\u1F20-\u1F45\u1F48-\u1F4D\u1F50-\u1F57\u1F59\u1F5B\u1F5D\u1F5F-\u1F7D\u1F80-\u1FB4\u1FB6-\u1FBC\u1FBE\u1FC2-\u1FC4\u1FC6-\u1FCC\u1FD0-\u1FD3\u1FD6-\u1FDB\u1FE0-\u1FEC\u1FF2-\u1FF4\u1FF6-\u1FFC\u2071\u207F\u2090-\u209C\u2102\u2107\u210A-\u2113\u2115\u2118-\u211D\u2124\u2126\u2128\u212A-\u2139\u213C-\u213F\u2145-\u2149\u214E\u2160-\u2188\u2C00-\u2C2E\u2C30-\u2C5E\u2C60-\u2CE4\u2CEB-\u2CEE\u2CF2\u2CF3\u2D00-\u2D25\u2D27\u2D2D\u2D30-\u2D67\u2D6F\u2D80-\u2D96\u2DA0-\u2DA6\u2DA8-\u2DAE\u2DB0-\u2DB6\u2DB8-\u2DBE\u2DC0-\u2DC6\u2DC8-\u2DCE\u2DD0-\u2DD6\u2DD8-\u2DDE\u3005-\u3007\u3021-\u3029\u3031-\u3035\u3038-\u303C\u3041-\u3096\u309B-\u309F\u30A1-\u30FA\u30FC-\u30FF\u3105-\u312D\u3131-\u318E\u31A0-\u31BA\u31F0-\u31FF\u3400-\u4DB5\u4E00-\u9FD5\uA000-\uA48C\uA4D0-\uA4FD\uA500-\uA60C\uA610-\uA61F\uA62A\uA62B\uA640-\uA66E\uA67F-\uA69D\uA6A0-\uA6EF\uA717-\uA71F\uA722-\uA788\uA78B-\uA7AD\uA7B0-\uA7B7\uA7F7-\uA801\uA803-\uA805\uA807-\uA80A\uA80C-\uA822\uA840-\uA873\uA882-\uA8B3\uA8F2-\uA8F7\uA8FB\uA8FD\uA90A-\uA925\uA930-\uA946\uA960-\uA97C\uA984-\uA9B2\uA9CF\uA9E0-\uA9E4\uA9E6-\uA9EF\uA9FA-\uA9FE\uAA00-\uAA28\uAA40-\uAA42\uAA44-\uAA4B\uAA60-\uAA76\uAA7A\uAA7E-\uAAAF\uAAB1\uAAB5\uAAB6\uAAB9-\uAABD\uAAC0\uAAC2\uAADB-\uAADD\uAAE0-\uAAEA\uAAF2-\uAAF4\uAB01-\uAB06\uAB09-\uAB0E\uAB11-\uAB16\uAB20-\uAB26\uAB28-\uAB2E\uAB30-\uAB5A\uAB5C-\uAB65\uAB70-\uABE2\uAC00-\uD7A3\uD7B0-\uD7C6\uD7CB-\uD7FB\uF900-\uFA6D\uFA70-\uFAD9\uFB00-\uFB06\uFB13-\uFB17\uFB1D\uFB1F-\uFB28\uFB2A-\uFB36\uFB38-\uFB3C\uFB3E\uFB40\uFB41\uFB43\uFB44\uFB46-\uFBB1\uFBD3-\uFD3D\uFD50-\uFD8F\uFD92-\uFDC7\uFDF0-\uFDFB\uFE70-\uFE74\uFE76-\uFEFC\uFF21-\uFF3A\uFF41-\uFF5A\uFF66-\uFFBE\uFFC2-\uFFC7\uFFCA-\uFFCF\uFFD2-\uFFD7\uFFDA-\uFFDC]|\uD800[\uDC00-\uDC0B\uDC0D-\uDC26\uDC28-\uDC3A\uDC3C\uDC3D\uDC3F-\uDC4D\uDC50-\uDC5D\uDC80-\uDCFA\uDD40-\uDD74\uDE80-\uDE9C\uDEA0-\uDED0\uDF00-\uDF1F\uDF30-\uDF4A\uDF50-\uDF75\uDF80-\uDF9D\uDFA0-\uDFC3\uDFC8-\uDFCF\uDFD1-\uDFD5]|\uD801[\uDC00-\uDC9D\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[\uDC80-\uDCAF\uDCC4\uDCC5\uDCC7\uDD80-\uDDAE\uDDD8-\uDDDB\uDE00-\uDE2F\uDE44\uDE80-\uDEAA\uDF00-\uDF19]|\uD806[\uDCA0-\uDCDF\uDCFF\uDEC0-\uDEF8]|\uD808[\uDC00-\uDF99]|\uD809[\uDC00-\uDC6E\uDC80-\uDD43]|[\uD80C\uD840-\uD868\uD86A-\uD86C\uD86F-\uD872][\uDC00-\uDFFF]|\uD80D[\uDC00-\uDC2E]|\uD811[\uDC00-\uDE46]|\uD81A[\uDC00-\uDE38\uDE40-\uDE5E\uDED0-\uDEED\uDF00-\uDF2F\uDF40-\uDF43\uDF63-\uDF77\uDF7D-\uDF8F]|\uD81B[\uDF00-\uDF44\uDF50\uDF93-\uDF9F]|\uD82C[\uDC00\uDC01]|\uD82F[\uDC00-\uDC6A\uDC70-\uDC7C\uDC80-\uDC88\uDC90-\uDC99]|\uD835[\uDC00-\uDC54\uDC56-\uDC9C\uDC9E\uDC9F\uDCA2\uDCA5\uDCA6\uDCA9-\uDCAC\uDCAE-\uDCB9\uDCBB\uDCBD-\uDCC3\uDCC5-\uDD05\uDD07-\uDD0A\uDD0D-\uDD14\uDD16-\uDD1C\uDD1E-\uDD39\uDD3B-\uDD3E\uDD40-\uDD44\uDD46\uDD4A-\uDD50\uDD52-\uDEA5\uDEA8-\uDEC0\uDEC2-\uDEDA\uDEDC-\uDEFA\uDEFC-\uDF14\uDF16-\uDF34\uDF36-\uDF4E\uDF50-\uDF6E\uDF70-\uDF88\uDF8A-\uDFA8\uDFAA-\uDFC2\uDFC4-\uDFCB]|\uD83A[\uDC00-\uDCC4]|\uD83B[\uDE00-\uDE03\uDE05-\uDE1F\uDE21\uDE22\uDE24\uDE27\uDE29-\uDE32\uDE34-\uDE37\uDE39\uDE3B\uDE42\uDE47\uDE49\uDE4B\uDE4D-\uDE4F\uDE51\uDE52\uDE54\uDE57\uDE59\uDE5B\uDE5D\uDE5F\uDE61\uDE62\uDE64\uDE67-\uDE6A\uDE6C-\uDE72\uDE74-\uDE77\uDE79-\uDE7C\uDE7E\uDE80-\uDE89\uDE8B-\uDE9B\uDEA1-\uDEA3\uDEA5-\uDEA9\uDEAB-\uDEBB]|\uD869[\uDC00-\uDED6\uDF00-\uDFFF]|\uD86D[\uDC00-\uDF34\uDF40-\uDFFF]|\uD86E[\uDC00-\uDC1D\uDC20-\uDFFF]|\uD873[\uDC00-\uDEA1]|\uD87E[\uDC00-\uDE1D]/,ID_Continue:/(?:[$0-9A-Z_a-z\xAA\xB5\xB7\xBA\xC0-\xD6\xD8-\xF6\xF8-\u02C1\u02C6-\u02D1\u02E0-\u02E4\u02EC\u02EE\u0300-\u0374\u0376\u0377\u037A-\u037D\u037F\u0386-\u038A\u038C\u038E-\u03A1\u03A3-\u03F5\u03F7-\u0481\u0483-\u0487\u048A-\u052F\u0531-\u0556\u0559\u0561-\u0587\u0591-\u05BD\u05BF\u05C1\u05C2\u05C4\u05C5\u05C7\u05D0-\u05EA\u05F0-\u05F2\u0610-\u061A\u0620-\u0669\u066E-\u06D3\u06D5-\u06DC\u06DF-\u06E8\u06EA-\u06FC\u06FF\u0710-\u074A\u074D-\u07B1\u07C0-\u07F5\u07FA\u0800-\u082D\u0840-\u085B\u08A0-\u08B4\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\u0C81-\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\u0D57\u0D5F-\u0D63\u0D66-\u0D6F\u0D7A-\u0D7F\u0D82\u0D83\u0D85-\u0D96\u0D9A-\u0DB1\u0DB3-\u0DBB\u0DBD\u0DC0-\u0DC6\u0DCA\u0DCF-\u0DD4\u0DD6\u0DD8-\u0DDF\u0DE6-\u0DEF\u0DF2\u0DF3\u0E01-\u0E3A\u0E40-\u0E4E\u0E50-\u0E59\u0E81\u0E82\u0E84\u0E87\u0E88\u0E8A\u0E8D\u0E94-\u0E97\u0E99-\u0E9F\u0EA1-\u0EA3\u0EA5\u0EA7\u0EAA\u0EAB\u0EAD-\u0EB9\u0EBB-\u0EBD\u0EC0-\u0EC4\u0EC6\u0EC8-\u0ECD\u0ED0-\u0ED9\u0EDC-\u0EDF\u0F00\u0F18\u0F19\u0F20-\u0F29\u0F35\u0F37\u0F39\u0F3E-\u0F47\u0F49-\u0F6C\u0F71-\u0F84\u0F86-\u0F97\u0F99-\u0FBC\u0FC6\u1000-\u1049\u1050-\u109D\u10A0-\u10C5\u10C7\u10CD\u10D0-\u10FA\u10FC-\u1248\u124A-\u124D\u1250-\u1256\u1258\u125A-\u125D\u1260-\u1288\u128A-\u128D\u1290-\u12B0\u12B2-\u12B5\u12B8-\u12BE\u12C0\u12C2-\u12C5\u12C8-\u12D6\u12D8-\u1310\u1312-\u1315\u1318-\u135A\u135D-\u135F\u1369-\u1371\u1380-\u138F\u13A0-\u13F5\u13F8-\u13FD\u1401-\u166C\u166F-\u167F\u1681-\u169A\u16A0-\u16EA\u16EE-\u16F8\u1700-\u170C\u170E-\u1714\u1720-\u1734\u1740-\u1753\u1760-\u176C\u176E-\u1770\u1772\u1773\u1780-\u17D3\u17D7\u17DC\u17DD\u17E0-\u17E9\u180B-\u180D\u1810-\u1819\u1820-\u1877\u1880-\u18AA\u18B0-\u18F5\u1900-\u191E\u1920-\u192B\u1930-\u193B\u1946-\u196D\u1970-\u1974\u1980-\u19AB\u19B0-\u19C9\u19D0-\u19DA\u1A00-\u1A1B\u1A20-\u1A5E\u1A60-\u1A7C\u1A7F-\u1A89\u1A90-\u1A99\u1AA7\u1AB0-\u1ABD\u1B00-\u1B4B\u1B50-\u1B59\u1B6B-\u1B73\u1B80-\u1BF3\u1C00-\u1C37\u1C40-\u1C49\u1C4D-\u1C7D\u1CD0-\u1CD2\u1CD4-\u1CF6\u1CF8\u1CF9\u1D00-\u1DF5\u1DFC-\u1F15\u1F18-\u1F1D\u1F20-\u1F45\u1F48-\u1F4D\u1F50-\u1F57\u1F59\u1F5B\u1F5D\u1F5F-\u1F7D\u1F80-\u1FB4\u1FB6-\u1FBC\u1FBE\u1FC2-\u1FC4\u1FC6-\u1FCC\u1FD0-\u1FD3\u1FD6-\u1FDB\u1FE0-\u1FEC\u1FF2-\u1FF4\u1FF6-\u1FFC\u200C\u200D\u203F\u2040\u2054\u2071\u207F\u2090-\u209C\u20D0-\u20DC\u20E1\u20E5-\u20F0\u2102\u2107\u210A-\u2113\u2115\u2118-\u211D\u2124\u2126\u2128\u212A-\u2139\u213C-\u213F\u2145-\u2149\u214E\u2160-\u2188\u2C00-\u2C2E\u2C30-\u2C5E\u2C60-\u2CE4\u2CEB-\u2CF3\u2D00-\u2D25\u2D27\u2D2D\u2D30-\u2D67\u2D6F\u2D7F-\u2D96\u2DA0-\u2DA6\u2DA8-\u2DAE\u2DB0-\u2DB6\u2DB8-\u2DBE\u2DC0-\u2DC6\u2DC8-\u2DCE\u2DD0-\u2DD6\u2DD8-\u2DDE\u2DE0-\u2DFF\u3005-\u3007\u3021-\u302F\u3031-\u3035\u3038-\u303C\u3041-\u3096\u3099-\u309F\u30A1-\u30FA\u30FC-\u30FF\u3105-\u312D\u3131-\u318E\u31A0-\u31BA\u31F0-\u31FF\u3400-\u4DB5\u4E00-\u9FD5\uA000-\uA48C\uA4D0-\uA4FD\uA500-\uA60C\uA610-\uA62B\uA640-\uA66F\uA674-\uA67D\uA67F-\uA6F1\uA717-\uA71F\uA722-\uA788\uA78B-\uA7AD\uA7B0-\uA7B7\uA7F7-\uA827\uA840-\uA873\uA880-\uA8C4\uA8D0-\uA8D9\uA8E0-\uA8F7\uA8FB\uA8FD\uA900-\uA92D\uA930-\uA953\uA960-\uA97C\uA980-\uA9C0\uA9CF-\uA9D9\uA9E0-\uA9FE\uAA00-\uAA36\uAA40-\uAA4D\uAA50-\uAA59\uAA60-\uAA76\uAA7A-\uAAC2\uAADB-\uAADD\uAAE0-\uAAEF\uAAF2-\uAAF6\uAB01-\uAB06\uAB09-\uAB0E\uAB11-\uAB16\uAB20-\uAB26\uAB28-\uAB2E\uAB30-\uAB5A\uAB5C-\uAB65\uAB70-\uABEA\uABEC\uABED\uABF0-\uABF9\uAC00-\uD7A3\uD7B0-\uD7C6\uD7CB-\uD7FB\uF900-\uFA6D\uFA70-\uFAD9\uFB00-\uFB06\uFB13-\uFB17\uFB1D-\uFB28\uFB2A-\uFB36\uFB38-\uFB3C\uFB3E\uFB40\uFB41\uFB43\uFB44\uFB46-\uFBB1\uFBD3-\uFD3D\uFD50-\uFD8F\uFD92-\uFDC7\uFDF0-\uFDFB\uFE00-\uFE0F\uFE20-\uFE2F\uFE33\uFE34\uFE4D-\uFE4F\uFE70-\uFE74\uFE76-\uFEFC\uFF10-\uFF19\uFF21-\uFF3A\uFF3F\uFF41-\uFF5A\uFF66-\uFFBE\uFFC2-\uFFC7\uFFCA-\uFFCF\uFFD2-\uFFD7\uFFDA-\uFFDC]|\uD800[\uDC00-\uDC0B\uDC0D-\uDC26\uDC28-\uDC3A\uDC3C\uDC3D\uDC3F-\uDC4D\uDC50-\uDC5D\uDC80-\uDCFA\uDD40-\uDD74\uDDFD\uDE80-\uDE9C\uDEA0-\uDED0\uDEE0\uDF00-\uDF1F\uDF30-\uDF4A\uDF50-\uDF7A\uDF80-\uDF9D\uDFA0-\uDFC3\uDFC8-\uDFCF\uDFD1-\uDFD5]|\uD801[\uDC00-\uDC9D\uDCA0-\uDCA9\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\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[\uDC80-\uDCC5\uDCC7\uDCD0-\uDCD9\uDD80-\uDDB5\uDDB8-\uDDC0\uDDD8-\uDDDD\uDE00-\uDE40\uDE44\uDE50-\uDE59\uDE80-\uDEB7\uDEC0-\uDEC9\uDF00-\uDF19\uDF1D-\uDF2B\uDF30-\uDF39]|\uD806[\uDCA0-\uDCE9\uDCFF\uDEC0-\uDEF8]|\uD808[\uDC00-\uDF99]|\uD809[\uDC00-\uDC6E\uDC80-\uDD43]|[\uD80C\uD840-\uD868\uD86A-\uD86C\uD86F-\uD872][\uDC00-\uDFFF]|\uD80D[\uDC00-\uDC2E]|\uD811[\uDC00-\uDE46]|\uD81A[\uDC00-\uDE38\uDE40-\uDE5E\uDE60-\uDE69\uDED0-\uDEED\uDEF0-\uDEF4\uDF00-\uDF36\uDF40-\uDF43\uDF50-\uDF59\uDF63-\uDF77\uDF7D-\uDF8F]|\uD81B[\uDF00-\uDF44\uDF50-\uDF7E\uDF8F-\uDF9F]|\uD82C[\uDC00\uDC01]|\uD82F[\uDC00-\uDC6A\uDC70-\uDC7C\uDC80-\uDC88\uDC90-\uDC99\uDC9D\uDC9E]|\uD834[\uDD65-\uDD69\uDD6D-\uDD72\uDD7B-\uDD82\uDD85-\uDD8B\uDDAA-\uDDAD\uDE42-\uDE44]|\uD835[\uDC00-\uDC54\uDC56-\uDC9C\uDC9E\uDC9F\uDCA2\uDCA5\uDCA6\uDCA9-\uDCAC\uDCAE-\uDCB9\uDCBB\uDCBD-\uDCC3\uDCC5-\uDD05\uDD07-\uDD0A\uDD0D-\uDD14\uDD16-\uDD1C\uDD1E-\uDD39\uDD3B-\uDD3E\uDD40-\uDD44\uDD46\uDD4A-\uDD50\uDD52-\uDEA5\uDEA8-\uDEC0\uDEC2-\uDEDA\uDEDC-\uDEFA\uDEFC-\uDF14\uDF16-\uDF34\uDF36-\uDF4E\uDF50-\uDF6E\uDF70-\uDF88\uDF8A-\uDFA8\uDFAA-\uDFC2\uDFC4-\uDFCB\uDFCE-\uDFFF]|\uD836[\uDE00-\uDE36\uDE3B-\uDE6C\uDE75\uDE84\uDE9B-\uDE9F\uDEA1-\uDEAF]|\uD83A[\uDC00-\uDCC4\uDCD0-\uDCD6]|\uD83B[\uDE00-\uDE03\uDE05-\uDE1F\uDE21\uDE22\uDE24\uDE27\uDE29-\uDE32\uDE34-\uDE37\uDE39\uDE3B\uDE42\uDE47\uDE49\uDE4B\uDE4D-\uDE4F\uDE51\uDE52\uDE54\uDE57\uDE59\uDE5B\uDE5D\uDE5F\uDE61\uDE62\uDE64\uDE67-\uDE6A\uDE6C-\uDE72\uDE74-\uDE77\uDE79-\uDE7C\uDE7E\uDE80-\uDE89\uDE8B-\uDE9B\uDEA1-\uDEA3\uDEA5-\uDEA9\uDEAB-\uDEBB]|\uD869[\uDC00-\uDED6\uDF00-\uDFFF]|\uD86D[\uDC00-\uDF34\uDF40-\uDFFF]|\uD86E[\uDC00-\uDC1D\uDC20-\uDFFF]|\uD873[\uDC00-\uDEA1]|\uD87E[\uDC00-\uDE1D]|\uDB40[\uDD00-\uDDEF])+/};function get_full_char(E,k){if(is_surrogate_pair_head(E.charCodeAt(k))){if(is_surrogate_pair_tail(E.charCodeAt(k+1))){return E.charAt(k)+E.charAt(k+1)}}else if(is_surrogate_pair_tail(E.charCodeAt(k))){if(is_surrogate_pair_head(E.charCodeAt(k-1))){return E.charAt(k-1)+E.charAt(k)}}return E.charAt(k)}function get_full_char_code(E,k){if(is_surrogate_pair_head(E.charCodeAt(k))){return 65536+(E.charCodeAt(k)-55296<<10)+E.charCodeAt(k+1)-56320}return E.charCodeAt(k)}function get_full_char_length(E){var k=0;for(var S=0;S65535){E-=65536;return String.fromCharCode((E>>10)+55296)+String.fromCharCode(E%1024+56320)}return String.fromCharCode(E)}function is_surrogate_pair_head(E){return E>=55296&&E<=56319}function is_surrogate_pair_tail(E){return E>=56320&&E<=57343}function is_digit(E){return E>=48&&E<=57}function is_identifier_start(E){return ze.ID_Start.test(E)}function is_identifier_char(E){return ze.ID_Continue.test(E)}const Ue=/^[a-z_$][a-z0-9_$]*$/i;function is_basic_identifier_string(E){return Ue.test(E)}function is_identifier_string(E,k){if(Ue.test(E)){return true}if(!k&&/[\ud800-\udfff]/.test(E)){return false}var S=ze.ID_Start.exec(E);if(!S||S.index!==0){return false}E=E.slice(S[0].length);if(!E){return true}S=ze.ID_Continue.exec(E);return!!S&&S[0].length===E.length}function parse_js_number(E,k=true){if(!k&&E.includes("e")){return NaN}if(Ce.test(E)){return parseInt(E.substr(2),16)}else if(Me.test(E)){return parseInt(E.substr(1),8)}else if(Te.test(E)){return parseInt(E.substr(2),8)}else if(Ie.test(E)){return parseInt(E.substr(2),2)}else if(Oe.test(E)){return parseFloat(E)}else{var S=parseFloat(E);if(S==E)return S}}class JS_Parse_Error extends Error{constructor(E,k,S,w,N){super();this.name="SyntaxError";this.message=E;this.filename=k;this.line=S;this.col=w;this.pos=N}}function js_error(E,k,S,w,N){throw new JS_Parse_Error(E,k,S,w,N)}function is_token(E,k,S){return E.type==k&&(S==null||E.value==S)}var Ge={};function tokenizer(E,k,S,w){var N={text:E,filename:k,pos:0,tokpos:0,line:1,tokline:0,col:0,tokcol:0,newline_before:false,regex_allowed:false,brace_counter:0,template_braces:[],comments_before:[],directives:{},directive_stack:[]};function peek(){return get_full_char(N.text,N.pos)}function is_option_chain_op(){const E=N.text.charCodeAt(N.pos+1)===46;if(!E)return false;const k=N.text.charCodeAt(N.pos+2);return k<48||k>57}function next(E,k){var S=get_full_char(N.text,N.pos++);if(E&&!S)throw Ge;if(Be.has(S)){N.newline_before=N.newline_before||!k;++N.line;N.col=0;if(S=="\r"&&peek()=="\n"){++N.pos;S="\n"}}else{if(S.length>1){++N.pos;++N.col}++N.col}return S}function forward(E){while(E--)next()}function looking_at(E){return N.text.substr(N.pos,E.length)==E}function find_eol(){var E=N.text;for(var k=N.pos,S=N.text.length;k="0"&&E<="7"}function read_escaped_char(E,k,S){var w=next(true,E);switch(w.charCodeAt(0)){case 110:return"\n";case 114:return"\r";case 116:return"\t";case 98:return"\b";case 118:return"\v";case 102:return"\f";case 120:return String.fromCharCode(hex_bytes(2,k));case 117:if(peek()=="{"){next(true);if(peek()==="}")parse_error("Expecting hex-character between {}");while(peek()=="0")next(true);var j,q=find("}",true)-N.pos;if(q>6||(j=hex_bytes(q,k))>1114111){parse_error("Unicode reference out of bounds")}next(true);return from_char_code(j)}return String.fromCharCode(hex_bytes(4,k));case 10:return"";case 13:if(peek()=="\n"){next(true,E);return""}}if(is_octal(w)){if(S&&k){const E=w==="0"&&!is_octal(peek());if(!E){parse_error("Octal escape sequences are not allowed in template strings")}}return read_octal_escape_sequence(w,k)}return w}function read_octal_escape_sequence(E,k){var S=peek();if(S>="0"&&S<="7"){E+=next(true);if(E[0]<="3"&&(S=peek())>="0"&&S<="7")E+=next(true)}if(E==="0")return"\0";if(E.length>0&&next_token.has_directive("use strict")&&k)parse_error("Legacy octal escape sequences are not allowed in strict mode");return String.fromCharCode(parseInt(E,8))}function hex_bytes(E,k){var S=0;for(;E>0;--E){if(!k&&isNaN(parseInt(peek(),16))){return parseInt(S,16)||""}var w=next(true);if(isNaN(parseInt(w,16)))parse_error("Invalid hex-character pattern in string");S+=w}return parseInt(S,16)}var Te=with_eof_error("Unterminated string constant",(function(){const E=N.pos;var k=next(),S=[];for(;;){var w=next(true,true);if(w=="\\")w=read_escaped_char(true,true);else if(w=="\r"||w=="\n")parse_error("Unterminated string constant");else if(w==k)break;S.push(w)}var j=token("string",S.join(""));ee=N.text.slice(E,N.pos);j.quote=k;return j}));var Ie=with_eof_error("Unterminated template",(function(E){if(E){N.template_braces.push(N.brace_counter)}var k="",S="",w,j;next(true,true);while((w=next(true,true))!="`"){if(w=="\r"){if(peek()=="\n")++N.pos;w="\n"}else if(w=="$"&&peek()=="{"){next(true,true);N.brace_counter++;j=token(E?"template_head":"template_substitution",k);ee=S;te=false;return j}S+=w;if(w=="\\"){var ne=N.pos;var ae=q&&(q.type==="name"||q.type==="punc"&&(q.value===")"||q.value==="]"));w=read_escaped_char(true,!ae,true);S+=N.text.substr(ne,N.pos-ne)}k+=w}N.template_braces.pop();j=token(E?"template_head":"template_substitution",k);ee=S;te=true;return j}));function skip_line_comment(E){var k=N.regex_allowed;var S=find_eol(),w;if(S==-1){w=N.text.substr(N.pos);N.pos=N.text.length}else{w=N.text.substring(N.pos,S);N.pos=S}N.col=N.tokcol+(N.pos-N.tokpos);N.comments_before.push(token(E,w,true));N.regex_allowed=k;return next_token}var Oe=with_eof_error("Unterminated multiline comment",(function(){var E=N.regex_allowed;var k=find("*/",true);var S=N.text.substring(N.pos,k).replace(/\r\n|\r|\u2028|\u2029/g,"\n");forward(get_full_char_length(S)+2);N.comments_before.push(token("comment2",S,true));N.newline_before=N.newline_before||S.includes("\n");N.regex_allowed=E;return next_token}));var Le=with_eof_error("Unterminated identifier name",(function(){var E=[],k,S=false;var read_escaped_identifier_char=function(){S=true;next();if(peek()!=="u"){parse_error("Expecting UnicodeEscapeSequence -- uXXXX or u{XXXX}")}return read_escaped_char(false,true)};if((k=peek())==="\\"){k=read_escaped_identifier_char();if(!is_identifier_start(k)){parse_error("First identifier char is an invalid identifier char")}}else if(is_identifier_start(k)){next()}else{return""}E.push(k);while((k=peek())!=null){if((k=peek())==="\\"){k=read_escaped_identifier_char();if(!is_identifier_char(k)){parse_error("Invalid escaped identifier char")}}else{if(!is_identifier_char(k)){break}next()}E.push(k)}const w=E.join("");if(_e.has(w)&&S){parse_error("Escaped characters are not allowed in keywords")}return w}));var ze=with_eof_error("Unterminated regular expression",(function(E){var k=false,S,w=false;while(S=next(true))if(Be.has(S)){parse_error("Unexpected line terminator")}else if(k){E+="\\"+S;k=false}else if(S=="["){w=true;E+=S}else if(S=="]"&&w){w=false;E+=S}else if(S=="/"&&!w){break}else if(S=="\\"){k=true}else{E+=S}const N=Le();return token("regexp","/"+E+"/"+N)}));function read_operator(E){function grow(E){if(!peek())return E;var k=E+peek();if(Fe.has(k)){next();return grow(k)}else{return E}}return token("operator",grow(E||next()))}function handle_slash(){next();switch(peek()){case"/":next();return skip_line_comment("comment1");case"*":next();return Oe()}return N.regex_allowed?ze(""):read_operator("/")}function handle_eq_sign(){next();if(peek()===">"){next();return token("arrow","=>")}else{return read_operator("=")}}function handle_dot(){next();if(is_digit(peek().charCodeAt(0))){return read_num(".")}if(peek()==="."){next();next();return token("expand","...")}return token("punc",".")}function read_word(){var E=Le();if(j)return token("name",E);return ae.has(E)?token("atom",E):!ne.has(E)?token("name",E):Fe.has(E)?token("operator",E):token("keyword",E)}function read_private_word(){next();return token("privatename",Le())}function with_eof_error(E,k){return function(S){try{return k(S)}catch(k){if(k===Ge)parse_error(E);else throw k}}}function next_token(E){if(E!=null)return ze(E);if(w&&N.pos==0&&looking_at("#!")){start_token();forward(2);skip_line_comment("comment5")}for(;;){skip_whitespace();start_token();if(S){if(looking_at("\x3c!--")){forward(4);skip_line_comment("comment3");continue}if(looking_at("--\x3e")&&N.newline_before){forward(3);skip_line_comment("comment4");continue}}var k=peek();if(!k)return token("eof");var j=k.charCodeAt(0);switch(j){case 34:case 39:return Te();case 46:return handle_dot();case 47:{var q=handle_slash();if(q===next_token)continue;return q}case 61:return handle_eq_sign();case 63:{if(!is_option_chain_op())break;next();next();return token("punc","?.")}case 96:return Ie(true);case 123:N.brace_counter++;break;case 125:N.brace_counter--;if(N.template_braces.length>0&&N.template_braces[N.template_braces.length-1]===N.brace_counter)return Ie(false);break}if(is_digit(j))return read_num();if($e.has(k))return token("punc",next());if(Ee.has(k))return read_operator();if(j==92||is_identifier_start(k))return read_word();if(j==35)return read_private_word();break}parse_error("Unexpected character '"+k+"'")}next_token.next=next;next_token.peek=peek;next_token.context=function(E){if(E)N=E;return N};next_token.add_directive=function(E){N.directive_stack[N.directive_stack.length-1].push(E);if(N.directives[E]===undefined){N.directives[E]=1}else{N.directives[E]++}};next_token.push_directives_stack=function(){N.directive_stack.push([])};next_token.pop_directives_stack=function(){var E=N.directive_stack[N.directive_stack.length-1];for(var k=0;k0};return next_token}var qe=makePredicate(["typeof","void","delete","--","++","!","~","-","+"]);var Ve=makePredicate(["--","++"]);var He=makePredicate(["=","+=","-=","??=","&&=","||=","/=","*=","**=","%=",">>=","<<=",">>>=","|=","^=","&="]);var We=makePredicate(["??=","&&=","||="]);var Ke=function(E,k){for(var S=0;S","<=",">=","in","instanceof"],[">>","<<",">>>"],["+","-"],["*","/","%"],["**"]],{});var Xe=makePredicate(["atom","num","big_int","string","regexp","name"]);function parse(E,k){const S=new WeakMap;k=defaults(k,{bare_returns:false,ecma:null,expression:false,filename:null,html5_comments:true,module:false,shebang:true,strict:false,toplevel:null},true);var w={input:typeof E=="string"?tokenizer(E,k.filename,k.html5_comments,k.shebang):E,token:null,prev:null,peeked:null,in_function:0,in_async:-1,in_generator:-1,in_directives:true,in_loop:0,labels:[]};w.token=next();function is(E,k){return is_token(w.token,E,k)}function peek(){return w.peeked||(w.peeked=w.input())}function next(){w.prev=w.token;if(!w.peeked)peek();w.token=w.peeked;w.peeked=null;w.in_directives=w.in_directives&&(w.token.type=="string"||is("punc",";"));return w.token}function prev(){return w.prev}function croak(E,k,S,N){var j=w.input.context();js_error(E,j.filename,k!=null?k:j.tokline,S!=null?S:j.tokcol,N!=null?N:j.tokpos)}function token_error(E,k){croak(k,E.line,E.col)}function unexpected(E){if(E==null)E=w.token;token_error(E,"Unexpected token: "+E.type+" ("+E.value+")")}function expect_token(E,k){if(is(E,k)){return next()}token_error(w.token,"Unexpected token "+w.token.type+" «"+w.token.value+"»"+", expected "+E+" «"+k+"»")}function expect(E){return expect_token("punc",E)}function has_newline_before(E){return E.nlb||!E.comments_before.every((E=>!E.nlb))}function can_insert_semicolon(){return!k.strict&&(is("eof")||is("punc","}")||has_newline_before(w.token))}function is_in_generator(){return w.in_generator===w.in_function}function is_in_async(){return w.in_async===w.in_function}function can_await(){return w.in_async===w.in_function||w.in_function===0&&w.input.has_directive("use strict")}function semicolon(E){if(is("punc",";"))next();else if(!E&&!can_insert_semicolon())unexpected()}function parenthesised(){expect("(");var E=expression(true);expect(")");return E}function embed_tokens(E){return function _embed_tokens_wrapper(...k){const S=w.token;const N=E(...k);N.start=S;N.end=prev();return N}}function handle_regexp(){if(is("operator","/")||is("operator","/=")){w.peeked=null;w.token=w.input(w.token.value.substr(1))}}var N=embed_tokens((function statement(E,S,N){handle_regexp();switch(w.token.type){case"string":if(w.in_directives){var j=peek();if(!ee.includes("\\")&&(is_token(j,"punc",";")||is_token(j,"punc","}")||has_newline_before(j)||is_token(j,"eof"))){w.input.add_directive(w.token.value)}else{w.in_directives=false}}var q=w.in_directives,te=simple_statement();return q&&te.body instanceof sr?new nt(te.body):te;case"template_head":case"num":case"big_int":case"regexp":case"operator":case"atom":return simple_statement();case"name":if(w.token.value=="async"&&is_token(peek(),"keyword","function")){next();next();if(S){croak("functions are not allowed as the body of a loop")}return function_(wt,false,true,E)}if(w.token.value=="import"&&!is_token(peek(),"punc","(")&&!is_token(peek(),"punc",".")){next();var ne=import_();semicolon();return ne}return is_token(peek(),"punc",":")?labeled_statement():simple_statement();case"punc":switch(w.token.value){case"{":return new st({start:w.token,body:block_(),end:prev()});case"[":case"(":return simple_statement();case";":w.in_directives=false;next();return new ot;default:unexpected()}case"keyword":switch(w.token.value){case"break":next();return break_cont(Ft);case"continue":next();return break_cont(Nt);case"debugger":next();semicolon();return new tt;case"do":next();var ae=in_loop(statement);expect_token("keyword","while");var _e=parenthesised();semicolon(true);return new ft({body:ae,condition:_e});case"while":next();return new dt({condition:parenthesised(),body:in_loop((function(){return statement(false,true)}))});case"for":next();return for_();case"class":next();if(S){croak("classes are not allowed as the body of a loop")}if(N){croak("classes are not allowed as the body of an if")}return class_(Pn);case"function":next();if(S){croak("functions are not allowed as the body of a loop")}return function_(wt,false,false,E);case"if":next();return if_();case"return":if(w.in_function==0&&!k.bare_returns)croak("'return' outside of function");next();var ve=null;if(is("punc",";")){next()}else if(!can_insert_semicolon()){ve=expression(true);semicolon()}return new Pt({value:ve});case"switch":next();return new $t({expression:parenthesised(),body:in_loop(switch_body_)});case"throw":next();if(has_newline_before(w.token))croak("Illegal newline after 'throw'");var ve=expression(true);semicolon();return new Ot({value:ve});case"try":next();return try_();case"var":next();var ne=var_();semicolon();return ne;case"let":next();var ne=let_();semicolon();return ne;case"const":next();var ne=const_();semicolon();return ne;case"with":if(w.input.has_directive("use strict")){croak("Strict mode may not include a with statement")}next();return new yt({expression:parenthesised(),body:statement()});case"export":if(!is_token(peek(),"punc","(")){next();var ne=export_();if(is("punc",";"))semicolon();return ne}}}unexpected()}));function labeled_statement(){var E=as_symbol(Jn);if(E.name==="await"&&is_in_async()){token_error(w.prev,"await cannot be used as label inside async function")}if(w.labels.some((k=>k.name===E.name))){croak("Label "+E.name+" defined twice")}expect(":");w.labels.push(E);var k=N();w.labels.pop();if(!(k instanceof ct)){E.references.forEach((function(k){if(k instanceof Nt){k=k.label.start;croak("Continue label `"+E.name+"` refers to non-IterationStatement.",k.line,k.col,k.pos)}}))}return new lt({body:k,label:E})}function simple_statement(E){return new rt({body:(E=expression(true),semicolon(),E)})}function break_cont(E){var k=null,S;if(!can_insert_semicolon()){k=as_symbol(tr,true)}if(k!=null){S=w.labels.find((E=>E.name===k.name));if(!S)croak("Undefined label "+k.name);k.thedef=S}else if(w.in_loop==0)croak(E.TYPE+" not inside a loop or switch");semicolon();var N=new E({label:k});if(S)S.references.push(N);return N}function for_(){var E="`for await` invalid in this context";var k=w.token;if(k.type=="name"&&k.value=="await"){if(!can_await()){token_error(k,E)}next()}else{k=false}expect("(");var S=null;if(!is("punc",";")){S=is("keyword","var")?(next(),var_(true)):is("keyword","let")?(next(),let_(true)):is("keyword","const")?(next(),const_(true)):expression(true,true);var N=is("operator","in");var j=is("name","of");if(k&&!j){token_error(k,E)}if(N||j){if(S instanceof Wt){if(S.definitions.length>1)token_error(S.start,"Only one variable declaration allowed in for..in loop")}else if(!(is_assignable(S)||(S=to_destructuring(S))instanceof At)){token_error(S.start,"Invalid left-hand side in for..in loop")}next();if(N){return for_in(S)}else{return for_of(S,!!k)}}}else if(k){token_error(k,E)}return regular_for(S)}function regular_for(E){expect(";");var k=is("punc",";")?null:expression(true);expect(";");var S=is("punc",")")?null:expression(true);expect(")");return new ht({init:E,condition:k,step:S,body:in_loop((function(){return N(false,true)}))})}function for_of(E,k){var S=E instanceof Wt?E.definitions[0].name:null;var w=expression(true);expect(")");return new gt({await:k,init:E,name:S,object:w,body:in_loop((function(){return N(false,true)}))})}function for_in(E){var k=expression(true);expect(")");return new mt({init:E,object:k,body:in_loop((function(){return N(false,true)}))})}var arrow_function=function(E,k,S){if(has_newline_before(w.token)){croak("Unexpected newline before arrow (=>)")}expect_token("arrow","=>");var N=_function_body(is("punc","{"),false,S);var j=N instanceof Array&&N.length?N[N.length-1].end:N instanceof Array?E:N.end;return new St({start:E,end:j,async:S,argnames:k,body:N})};var function_=function(E,k,S,w){var N=E===wt;var j=is("operator","*");if(j){next()}var q=is("name")?as_symbol(N?Un:Vn):null;if(N&&!q){if(w){E=xt}else{unexpected()}}if(q&&E!==kt&&!(q instanceof Nn))unexpected(prev());var ee=[];var te=_function_body(true,j||k,S,q,ee);return new E({start:ee.start,end:te.end,is_generator:j,async:S,name:q,argnames:ee,body:te})};function track_used_binding_identifiers(E,k){var S=new Set;var w=false;var N=false;var j=false;var q=!!k;var ee={add_parameter:function(k){if(S.has(k.value)){if(w===false){w=k}ee.check_strict()}else{S.add(k.value);if(E){switch(k.value){case"arguments":case"eval":case"yield":if(q){token_error(k,"Unexpected "+k.value+" identifier as parameter inside strict mode")}break;default:if(_e.has(k.value)){unexpected()}}}}},mark_default_assignment:function(E){if(N===false){N=E}},mark_spread:function(E){if(j===false){j=E}},mark_strict_mode:function(){q=true},is_strict:function(){return N!==false||j!==false||q},check_strict:function(){if(ee.is_strict()&&w!==false){token_error(w,"Parameter "+w.value+" was used already")}}};return ee}function parameters(E){var k=track_used_binding_identifiers(true,w.input.has_directive("use strict"));expect("(");while(!is("punc",")")){var S=parameter(k);E.push(S);if(!is("punc",")")){expect(",")}if(S instanceof bt){break}}next()}function parameter(E,k){var S;var N=false;if(E===undefined){E=track_used_binding_identifiers(true,w.input.has_directive("use strict"))}if(is("expand","...")){N=w.token;E.mark_spread(w.token);next()}S=binding_element(E,k);if(is("operator","=")&&N===false){E.mark_default_assignment(w.token);next();S=new _n({start:S.start,left:S,operator:"=",right:expression(false),end:w.token})}if(N!==false){if(!is("punc",")")){unexpected()}S=new bt({start:N,expression:S,end:N})}E.check_strict();return S}function binding_element(E,k){var S=[];var N=true;var j=false;var q;var ee=w.token;if(E===undefined){E=track_used_binding_identifiers(false,w.input.has_directive("use strict"))}k=k===undefined?zn:k;if(is("punc","[")){next();while(!is("punc","]")){if(N){N=false}else{expect(",")}if(is("expand","...")){j=true;q=w.token;E.mark_spread(w.token);next()}if(is("punc")){switch(w.token.value){case",":S.push(new hr({start:w.token,end:w.token}));continue;case"]":break;case"[":case"{":S.push(binding_element(E,k));break;default:unexpected()}}else if(is("name")){E.add_parameter(w.token);S.push(as_symbol(k))}else{croak("Invalid function parameter")}if(is("operator","=")&&j===false){E.mark_default_assignment(w.token);next();S[S.length-1]=new _n({start:S[S.length-1].start,left:S[S.length-1],operator:"=",right:expression(false),end:w.token})}if(j){if(!is("punc","]")){croak("Rest element must be last element")}S[S.length-1]=new bt({start:q,expression:S[S.length-1],end:q})}}expect("]");E.check_strict();return new At({start:ee,names:S,is_array:true,end:prev()})}else if(is("punc","{")){next();while(!is("punc","}")){if(N){N=false}else{expect(",")}if(is("expand","...")){j=true;q=w.token;E.mark_spread(w.token);next()}if(is("name")&&(is_token(peek(),"punc")||is_token(peek(),"operator"))&&[",","}","="].includes(peek().value)){E.add_parameter(w.token);var te=prev();var ne=as_symbol(k);if(j){S.push(new bt({start:q,expression:ne,end:ne.end}))}else{S.push(new kn({start:te,key:ne.name,value:ne,end:ne.end}))}}else if(is("punc","}")){continue}else{var ae=w.token;var _e=as_property_name();if(_e===null){unexpected(prev())}else if(prev().type==="name"&&!is("punc",":")){S.push(new kn({start:prev(),key:_e,value:new k({start:prev(),name:_e,end:prev()}),end:prev()}))}else{expect(":");S.push(new kn({start:ae,quote:ae.quote,key:_e,value:binding_element(E,k),end:prev()}))}}if(j){if(!is("punc","}")){croak("Rest element must be last element")}}else if(is("operator","=")){E.mark_default_assignment(w.token);next();S[S.length-1].value=new _n({start:S[S.length-1].value.start,left:S[S.length-1].value,operator:"=",right:expression(false),end:w.token})}}expect("}");E.check_strict();return new At({start:ee,names:S,is_array:false,end:prev()})}else if(is("name")){E.add_parameter(w.token);return as_symbol(k)}else{croak("Invalid function parameter")}}function params_or_seq_(E,k){var S;var N;var j;var q=[];expect("(");while(!is("punc",")")){if(S)unexpected(S);if(is("expand","...")){S=w.token;if(k)N=w.token;next();q.push(new bt({start:prev(),expression:expression(),end:w.token}))}else{q.push(expression())}if(!is("punc",")")){expect(",");if(is("punc",")")){j=prev();if(k)N=j}}}expect(")");if(E&&is("arrow","=>")){if(S&&j)unexpected(j)}else if(N){unexpected(N)}return q}function _function_body(E,k,S,N,j){var q=w.in_loop;var ee=w.labels;var te=w.in_generator;var ne=w.in_async;++w.in_function;if(k)w.in_generator=w.in_function;if(S)w.in_async=w.in_function;if(j)parameters(j);if(E)w.in_directives=true;w.in_loop=0;w.labels=[];if(E){w.input.push_directives_stack();var ae=block_();if(N)_verify_symbol(N);if(j)j.forEach(_verify_symbol);w.input.pop_directives_stack()}else{var ae=[new Pt({start:w.token,value:expression(false),end:w.token})]}--w.in_function;w.in_loop=q;w.labels=ee;w.in_generator=te;w.in_async=ne;return ae}function _await_expression(){if(!can_await()){croak("Unexpected await expression outside async function",w.prev.line,w.prev.col,w.prev.pos)}return new Bt({start:prev(),end:w.token,expression:maybe_unary(true)})}function _yield_expression(){if(!is_in_generator()){croak("Unexpected yield expression outside generator function",w.prev.line,w.prev.col,w.prev.pos)}var E=w.token;var k=false;var S=true;if(can_insert_semicolon()||is("punc")&&Le.has(w.token.value)){S=false}else if(is("operator","*")){k=true;next()}return new Lt({start:E,is_star:k,expression:S?expression():null,end:prev()})}function if_(){var E=parenthesised(),k=N(false,false,true),S=null;if(is("keyword","else")){next();S=N(false,false,true)}return new jt({condition:E,body:k,alternative:S})}function block_(){expect("{");var E=[];while(!is("punc","}")){if(is("eof"))unexpected();E.push(N())}next();return E}function switch_body_(){expect("{");var E=[],k=null,S=null,j;while(!is("punc","}")){if(is("eof"))unexpected();if(is("keyword","case")){if(S)S.end=prev();k=[];S=new Gt({start:(j=w.token,next(),j),expression:expression(true),body:k});E.push(S);expect(":")}else if(is("keyword","default")){if(S)S.end=prev();k=[];S=new Ut({start:(j=w.token,next(),expect(":"),j),body:k});E.push(S)}else{if(!k)unexpected();k.push(N())}}if(S)S.end=prev();next();return E}function try_(){var E=block_(),k=null,S=null;if(is("keyword","catch")){var N=w.token;next();if(is("punc","{")){var j=null}else{expect("(");var j=parameter(undefined,Kn);expect(")")}k=new Vt({start:N,argname:j,body:block_(),end:prev()})}if(is("keyword","finally")){var N=w.token;next();S=new Ht({start:N,body:block_(),end:prev()})}if(!k&&!S)croak("Missing catch/finally blocks");return new qt({body:E,bcatch:k,bfinally:S})}function vardefs(E,k){var S=[];var N;for(;;){var j=k==="var"?Bn:k==="const"?jn:k==="let"?$n:null;if(is("punc","{")||is("punc","[")){N=new Jt({start:w.token,name:binding_element(undefined,j),value:is("operator","=")?(expect_token("operator","="),expression(false,E)):null,end:prev()})}else{N=new Jt({start:w.token,name:as_symbol(j),value:is("operator","=")?(next(),expression(false,E)):!E&&k==="const"?croak("Missing initializer in const declaration"):null,end:prev()});if(N.name.name=="import")croak("Unexpected token: import")}S.push(N);if(!is("punc",","))break;next()}return S}var var_=function(E){return new Kt({start:prev(),definitions:vardefs(E,"var"),end:prev()})};var let_=function(E){return new Xt({start:prev(),definitions:vardefs(E,"let"),end:prev()})};var const_=function(E){return new Qt({start:prev(),definitions:vardefs(E,"const"),end:prev()})};var new_=function(E){var k=w.token;expect_token("operator","new");if(is("punc",".")){next();expect_token("name","target");return subscripts(new Fn({start:k,end:prev()}),E)}var S=expr_atom(false),N;if(is("punc","(")){next();N=expr_list(")",true)}else{N=[]}var j=new rn({start:k,expression:S,args:N,end:prev()});annotate(j);return subscripts(j,E)};function as_atom_node(){var E=w.token,k;switch(E.type){case"name":k=_make_symbol(Yn);break;case"num":k=new ar({start:E,end:E,value:E.value,raw:ee});break;case"big_int":k=new ur({start:E,end:E,value:E.value});break;case"string":k=new sr({start:E,end:E,value:E.value,quote:E.quote});break;case"regexp":const[S,w,N]=E.value.match(/^\/(.*)\/(\w*)$/);k=new lr({start:E,end:E,value:{source:w,flags:N}});break;case"atom":switch(E.value){case"false":k=new yr({start:E,end:E});break;case"true":k=new _r({start:E,end:E});break;case"null":k=new pr({start:E,end:E});break}break}next();return k}function to_fun_args(E,k){var insert_default=function(E,k){if(k){return new _n({start:E.start,left:E,operator:"=",right:k,end:k.end})}return E};if(E instanceof bn){return insert_default(new At({start:E.start,end:E.end,is_array:false,names:E.properties.map((E=>to_fun_args(E)))}),k)}else if(E instanceof kn){E.value=to_fun_args(E.value);return insert_default(E,k)}else if(E instanceof hr){return E}else if(E instanceof At){E.names=E.names.map((E=>to_fun_args(E)));return insert_default(E,k)}else if(E instanceof Yn){return insert_default(new zn({name:E.name,start:E.start,end:E.end}),k)}else if(E instanceof bt){E.expression=to_fun_args(E.expression);return insert_default(E,k)}else if(E instanceof vn){return insert_default(new At({start:E.start,end:E.end,is_array:true,names:E.elements.map((E=>to_fun_args(E)))}),k)}else if(E instanceof yn){return insert_default(to_fun_args(E.left,E.right),k)}else if(E instanceof _n){E.left=to_fun_args(E.left);return E}else{croak("Invalid function parameter",E.start.line,E.start.col)}}var expr_atom=function(E,k){if(is("operator","new")){return new_(E)}if(is("operator","import")){return import_meta()}var N=w.token;var q;var ee=is("name","async")&&(q=peek()).value!="["&&q.type!="arrow"&&as_atom_node();if(is("punc")){switch(w.token.value){case"(":if(ee&&!E)break;var te=params_or_seq_(k,!ee);if(k&&is("arrow","=>")){return arrow_function(N,te.map((E=>to_fun_args(E))),!!ee)}var ae=ee?new nn({expression:ee,args:te}):te.length==1?te[0]:new sn({expressions:te});if(ae.start){const E=N.comments_before.length;S.set(N,E);ae.start.comments_before.unshift(...N.comments_before);N.comments_before=ae.start.comments_before;if(E==0&&N.comments_before.length>0){var _e=N.comments_before[0];if(!_e.nlb){_e.nlb=N.nlb;N.nlb=false}}N.comments_after=ae.start.comments_after}ae.start=N;var ve=prev();if(ae.end){ve.comments_before=ae.end.comments_before;ae.end.comments_after.push(...ve.comments_after);ve.comments_after=ae.end.comments_after}ae.end=ve;if(ae instanceof nn)annotate(ae);return subscripts(ae,E);case"[":return subscripts(j(),E);case"{":return subscripts(ne(),E)}if(!ee)unexpected()}if(k&&is("name")&&is_token(peek(),"arrow")){var Ee=new zn({name:w.token.value,start:N,end:N});next();return arrow_function(N,[Ee],!!ee)}if(is("keyword","function")){next();var we=function_(xt,false,!!ee);we.start=N;we.end=prev();return subscripts(we,E)}if(ee)return subscripts(ee,E);if(is("keyword","class")){next();var Ce=class_(On);Ce.start=N;Ce.end=prev();return subscripts(Ce,E)}if(is("template_head")){return subscripts(template_string(),E)}if(Xe.has(w.token.type)){return subscripts(as_atom_node(),E)}unexpected()};function template_string(){var E=[],k=w.token;E.push(new Mt({start:w.token,raw:ee,value:w.token.value,end:w.token}));while(!te){next();handle_regexp();E.push(expression(true));E.push(new Mt({start:w.token,raw:ee,value:w.token.value,end:w.token}))}next();return new Dt({start:k,segments:E,end:w.token})}function expr_list(E,k,S){var N=true,j=[];while(!is("punc",E)){if(N)N=false;else expect(",");if(k&&is("punc",E))break;if(is("punc",",")&&S){j.push(new hr({start:w.token,end:w.token}))}else if(is("expand","...")){next();j.push(new bt({start:prev(),expression:expression(),end:w.token}))}else{j.push(expression(false))}}next();return j}var j=embed_tokens((function(){expect("[");return new vn({elements:expr_list("]",!k.strict,true)})}));var q=embed_tokens(((E,k)=>function_(kt,E,k)));var ne=embed_tokens((function object_or_destructuring_(){var E=w.token,S=true,N=[];expect("{");while(!is("punc","}")){if(S)S=false;else expect(",");if(!k.strict&&is("punc","}"))break;E=w.token;if(E.type=="expand"){next();N.push(new bt({start:E,expression:expression(false),end:prev()}));continue}var j=as_property_name();var q;if(!is("punc",":")){var ee=concise_method_or_getset(j,E);if(ee){N.push(ee);continue}q=new Yn({start:prev(),name:j,end:prev()})}else if(j===null){unexpected(prev())}else{next();q=expression(false)}if(is("operator","=")){next();q=new yn({start:E,left:q,operator:"=",right:expression(false),logical:false,end:prev()})}N.push(new kn({start:E,quote:E.quote,key:j instanceof Ze?j:""+j,value:q,end:prev()}))}next();return new bn({properties:N})}));function class_(E){var k,S,N,j,q=[];w.input.push_directives_stack();w.input.add_directive("use strict");if(w.token.type=="name"&&w.token.value!="extends"){N=as_symbol(E===Pn?Hn:Wn)}if(E===Pn&&!N){unexpected()}if(w.token.value=="extends"){next();j=expression(true)}expect("{");while(is("punc",";")){next()}while(!is("punc","}")){k=w.token;S=concise_method_or_getset(as_property_name(),k,true);if(!S){unexpected()}q.push(S);while(is("punc",";")){next()}}w.input.pop_directives_stack();next();return new E({start:k,name:N,extends:j,properties:q,end:prev()})}function concise_method_or_getset(E,k,S){var get_method_name_ast=function(E,k){if(typeof E==="string"||typeof E==="number"){return new Gn({start:k,name:""+E,end:prev()})}else if(E===null){unexpected()}return E};const get_class_property_key_ast=E=>{if(typeof E==="string"||typeof E==="number"){return new qn({start:ne,end:ne,name:""+E})}else if(E===null){unexpected()}return E};var N=k.type=="privatename";var j=false;var ee=false;var te=false;var ne=k;if(S&&E==="static"&&!is("punc","(")){ee=true;ne=w.token;N=ne.type=="privatename";E=as_property_name()}if(E==="async"&&!is("punc","(")&&!is("punc",",")&&!is("punc","}")&&!is("operator","=")){j=true;ne=w.token;N=ne.type=="privatename";E=as_property_name()}if(E===null){te=true;ne=w.token;N=ne.type=="privatename";E=as_property_name();if(E===null){unexpected()}}if(is("punc","(")){E=get_method_name_ast(E,k);const S=N?Dn:Cn;var ae=new S({start:k,static:ee,is_generator:te,async:j,key:E,quote:E instanceof Gn?ne.quote:undefined,value:q(te,j),end:prev()});return ae}const _e=w.token;if((E==="get"||E==="set")&&_e.type==="privatename"){next();const S=E==="get"?Sn:xn;return new S({start:k,static:ee,key:get_method_name_ast(_e.value,k),value:q(),end:prev()})}if(E=="get"){if(!is("punc")||is("punc","[")){E=get_method_name_ast(as_property_name(),k);return new An({start:k,static:ee,key:E,quote:E instanceof Gn?_e.quote:undefined,value:q(),end:prev()})}}else if(E=="set"){if(!is("punc")||is("punc","[")){E=get_method_name_ast(as_property_name(),k);return new wn({start:k,static:ee,key:E,quote:E instanceof Gn?_e.quote:undefined,value:q(),end:prev()})}}if(S){const S=get_class_property_key_ast(E);const w=S instanceof qn?ne.quote:undefined;const j=N?In:Tn;if(is("operator","=")){next();return new j({start:k,static:ee,quote:w,key:S,value:expression(false),end:prev()})}else if(is("name")||is("privatename")||is("operator","*")||is("punc",";")||is("punc","}")){return new j({start:k,static:ee,quote:w,key:S,end:prev()})}}}function import_(){var E=prev();var k;var S;if(is("name")){k=as_symbol(Xn)}if(is("punc",",")){next()}S=map_names(true);if(S||k){expect_token("name","from")}var N=w.token;if(N.type!=="string"){unexpected()}next();return new Zt({start:E,imported_name:k,imported_names:S,module_name:new sr({start:N,value:N.value,quote:N.quote,end:N}),end:w.token})}function import_meta(){var E=w.token;expect_token("operator","import");expect_token("punc",".");expect_token("name","meta");return subscripts(new en({start:E,end:prev()}),false)}function map_name(E){function make_symbol(E){return new E({name:as_property_name(),start:prev(),end:prev()})}var k=E?Qn:er;var S=E?Xn:Zn;var N=w.token;var j;var q;if(E){j=make_symbol(k)}else{q=make_symbol(S)}if(is("name","as")){next();if(E){q=make_symbol(S)}else{j=make_symbol(k)}}else if(E){q=new S(j)}else{j=new k(q)}return new Yt({start:N,foreign_name:j,name:q,end:prev()})}function map_nameAsterisk(E,k){var S=E?Qn:er;var N=E?Xn:Zn;var j=w.token;var q;var ee=prev();k=k||new N({name:"*",start:j,end:ee});q=new S({name:"*",start:j,end:ee});return new Yt({start:j,foreign_name:q,name:k,end:ee})}function map_names(E){var k;if(is("punc","{")){next();k=[];while(!is("punc","}")){k.push(map_name(E));if(is("punc",",")){next()}}next()}else if(is("operator","*")){var S;next();if(E&&is("name","as")){next();S=as_symbol(E?Xn:er)}k=[map_nameAsterisk(E,S)]}return k}function export_(){var E=w.token;var k;var S;if(is("keyword","default")){k=true;next()}else if(S=map_names(false)){if(is("name","from")){next();var j=w.token;if(j.type!=="string"){unexpected()}next();return new tn({start:E,is_default:k,exported_names:S,module_name:new sr({start:j,value:j.value,quote:j.quote,end:j}),end:prev()})}else{return new tn({start:E,is_default:k,exported_names:S,end:prev()})}}var q;var ee;var te;if(is("punc","{")||k&&(is("keyword","class")||is("keyword","function"))&&is_token(peek(),"punc")){ee=expression(false);semicolon()}else if((q=N(k))instanceof Wt&&k){unexpected(q.start)}else if(q instanceof Wt||q instanceof Et||q instanceof Pn){te=q}else if(q instanceof rt){ee=q.body}else{unexpected(q.start)}return new tn({start:E,is_default:k,exported_value:ee,exported_definition:te,end:prev()})}function as_property_name(){var E=w.token;switch(E.type){case"punc":if(E.value==="["){next();var k=expression(false);expect("]");return k}else unexpected(E);case"operator":if(E.value==="*"){next();return null}if(!["delete","in","instanceof","new","typeof","void"].includes(E.value)){unexpected(E)}case"name":case"privatename":case"string":case"num":case"big_int":case"keyword":case"atom":next();return E.value;default:unexpected(E)}}function as_name(){var E=w.token;if(E.type!="name"&&E.type!="privatename")unexpected();next();return E.value}function _make_symbol(E){var k=w.token.value;return new(k=="this"?nr:k=="super"?rr:E)({name:String(k),start:w.token,end:w.token})}function _verify_symbol(E){var k=E.name;if(is_in_generator()&&k=="yield"){token_error(E.start,"Yield cannot be used as identifier inside generators")}if(w.input.has_directive("use strict")){if(k=="yield"){token_error(E.start,"Unexpected yield identifier inside strict mode")}if(E instanceof Nn&&(k=="arguments"||k=="eval")){token_error(E.start,"Unexpected "+k+" in strict mode")}}}function as_symbol(E,k){if(!is("name")){if(!k)croak("Name expected");return null}var S=_make_symbol(E);_verify_symbol(S);next();return S}function annotate(E){var k=E.start;var w=k.comments_before;const N=S.get(k);var j=N!=null?N:w.length;while(--j>=0){var q=w[j];if(/[@#]__/.test(q.value)){if(/[@#]__PURE__/.test(q.value)){set_annotation(E,br);break}if(/[@#]__INLINE__/.test(q.value)){set_annotation(E,Er);break}if(/[@#]__NOINLINE__/.test(q.value)){set_annotation(E,kr);break}}}}var subscripts=function(E,k,S){var w=E.start;if(is("punc",".")){next();const N=is("privatename")?un:an;return subscripts(new N({start:w,expression:E,optional:false,property:as_name(),end:prev()}),k,S)}if(is("punc","[")){next();var N=expression(true);expect("]");return subscripts(new ln({start:w,expression:E,optional:false,property:N,end:prev()}),k,S)}if(k&&is("punc","(")){next();var j=new nn({start:w,expression:E,optional:false,args:call_args(),end:prev()});annotate(j);return subscripts(j,true,S)}if(is("punc","?.")){next();let S;if(k&&is("punc","(")){next();const k=new nn({start:w,optional:true,expression:E,args:call_args(),end:prev()});annotate(k);S=subscripts(k,true,true)}else if(is("name")||is("privatename")){const N=is("privatename")?un:an;S=subscripts(new N({start:w,expression:E,optional:true,property:as_name(),end:prev()}),k,true)}else if(is("punc","[")){next();const N=expression(true);expect("]");S=subscripts(new ln({start:w,expression:E,optional:true,property:N,end:prev()}),k,true)}if(!S)unexpected();if(S instanceof cn)return S;return new cn({start:w,expression:S,end:prev()})}if(is("template_head")){if(S){unexpected()}return subscripts(new Ct({start:w,prefix:E,template_string:template_string(),end:prev()}),k)}return E};function call_args(){var E=[];while(!is("punc",")")){if(is("expand","...")){next();E.push(new bt({start:prev(),expression:expression(false),end:prev()}))}else{E.push(expression(false))}if(!is("punc",")")){expect(",")}}next();return E}var maybe_unary=function(E,k){var S=w.token;if(S.type=="name"&&S.value=="await"&&can_await()){next();return _await_expression()}if(is("operator")&&qe.has(S.value)){next();handle_regexp();var N=make_unary(dn,S,maybe_unary(E));N.start=S;N.end=prev();return N}var j=expr_atom(E,k);while(is("operator")&&Ve.has(w.token.value)&&!has_newline_before(w.token)){if(j instanceof St)unexpected();j=make_unary(hn,w.token,j);j.start=S;j.end=w.token;next()}return j};function make_unary(E,k,S){var N=k.value;switch(N){case"++":case"--":if(!is_assignable(S))croak("Invalid use of "+N+" operator",k.line,k.col,k.pos);break;case"delete":if(S instanceof Yn&&w.input.has_directive("use strict"))croak("Calling delete on expression not allowed in strict mode",S.start.line,S.start.col,S.start.pos);break}return new E({operator:N,expression:S})}var expr_op=function(E,k,S){var N=is("operator")?w.token.value:null;if(N=="in"&&S)N=null;if(N=="**"&&E instanceof dn&&!is_token(E.start,"punc","(")&&E.operator!=="--"&&E.operator!=="++")unexpected(E.start);var j=N!=null?Ke[N]:null;if(j!=null&&(j>k||N==="**"&&k===j)){next();var q=expr_op(maybe_unary(true),j,S);return expr_op(new mn({start:E.start,left:E,operator:N,right:q,end:q.end}),k,S)}return E};function expr_ops(E){return expr_op(maybe_unary(true,true),0,E)}var maybe_conditional=function(E){var k=w.token;var S=expr_ops(E);if(is("operator","?")){next();var N=expression(false);expect(":");return new gn({start:k,condition:S,consequent:N,alternative:expression(false,E),end:prev()})}return S};function is_assignable(E){return E instanceof on||E instanceof Yn}function to_destructuring(E){if(E instanceof bn){E=new At({start:E.start,names:E.properties.map(to_destructuring),is_array:false,end:E.end})}else if(E instanceof vn){var k=[];for(var S=0;S=0;){j+="this."+k[q]+" = props."+k[q]+";"}const ee=w&&Object.create(w.prototype);if(ee&&ee.initialize||S&&S.initialize)j+="this.initialize();";j+="}";j+="this.flags = 0;";j+="}";var te=new Function(j)();if(ee){te.prototype=ee;te.BASE=w}if(w)w.SUBCLASSES.push(te);te.prototype.CTOR=te;te.prototype.constructor=te;te.PROPS=k||null;te.SELF_PROPS=N;te.SUBCLASSES=[];if(E){te.prototype.TYPE=te.TYPE=E}if(S)for(q in S)if(HOP(S,q)){if(q[0]==="$"){te[q.substr(1)]=S[q]}else{te.prototype[q]=S[q]}}te.DEFMETHOD=function(E,k){this.prototype[E]=k};return te}const has_tok_flag=(E,k)=>Boolean(E.flags&k);const set_tok_flag=(E,k,S)=>{if(S){E.flags|=k}else{E.flags&=~k}};const Qe=1;const Je=2;const Ye=4;class AST_Token{constructor(E,k,S,w,N,j,q,ee,te){this.flags=j?1:0;this.type=E;this.value=k;this.line=S;this.col=w;this.pos=N;this.comments_before=q;this.comments_after=ee;this.file=te;Object.seal(this)}get nlb(){return has_tok_flag(this,Qe)}set nlb(E){set_tok_flag(this,Qe,E)}get quote(){return!has_tok_flag(this,Ye)?"":has_tok_flag(this,Je)?"'":'"'}set quote(E){set_tok_flag(this,Je,E==="'");set_tok_flag(this,Ye,!!E)}}var Ze=DEFNODE("Node","start end",{_clone:function(E){if(E){var k=this.clone();return k.transform(new TreeTransformer((function(E){if(E!==k){return E.clone(true)}})))}return new this.CTOR(this)},clone:function(E){return this._clone(E)},$documentation:"Base class of all AST nodes",$propdoc:{start:"[AST_Token] The first token of this node",end:"[AST_Token] The last token of this node"},_walk:function(E){return E._visit(this)},walk:function(E){return this._walk(E)},_children_backwards:()=>{}},null);var et=DEFNODE("Statement",null,{$documentation:"Base class of all statements"});var tt=DEFNODE("Debugger",null,{$documentation:"Represents a debugger statement"},et);var nt=DEFNODE("Directive","value quote",{$documentation:'Represents a directive, like "use strict";',$propdoc:{value:"[string] The value of this directive as a plain string (it's not an AST_String!)",quote:"[string] the original quote character"}},et);var rt=DEFNODE("SimpleStatement","body",{$documentation:"A statement consisting of an expression, i.e. a = 1 + 2",$propdoc:{body:"[AST_Node] an expression node (should not be instanceof AST_Statement)"},_walk:function(E){return E._visit(this,(function(){this.body._walk(E)}))},_children_backwards(E){E(this.body)}},et);function walk_body(E,k){const S=E.body;for(var w=0,N=S.length;w SymbolDef for all variables/functions defined in this scope",functions:"[Map/S] like `variables`, but only lists function declarations",uses_with:"[boolean/S] tells whether this scope uses the `with` statement",uses_eval:"[boolean/S] tells whether this scope contains a direct call to the global `eval`",parent_scope:"[AST_Scope?/S] link to the parent scope",enclosed:"[SymbolDef*/S] a list of all symbol definitions that are accessed from this scope or any subscopes",cname:"[integer/S] current index for mangling variables (used internally by the mangler)"},get_defun_scope:function(){var E=this;while(E.is_block_scope()){E=E.parent_scope}return E},clone:function(E,k){var S=this._clone(E);if(E&&this.variables&&k&&!this._block_scope){S.figure_out_scope({},{toplevel:k,parent_scope:this.parent_scope})}else{if(this.variables)S.variables=new Map(this.variables);if(this.functions)S.functions=new Map(this.functions);if(this.enclosed)S.enclosed=this.enclosed.slice();if(this._block_scope)S._block_scope=this._block_scope}return S},pinned:function(){return this.uses_eval||this.uses_with}},it);var vt=DEFNODE("Toplevel","globals",{$documentation:"The toplevel scope",$propdoc:{globals:"[Map/S] a map of name -> SymbolDef for all undeclared names"},wrap_commonjs:function(E){var k=this.body;var S="(function(exports){'$ORIG';})(typeof "+E+"=='undefined'?("+E+"={}):"+E+");";S=parse(S);S=S.transform(new TreeTransformer((function(E){if(E instanceof nt&&E.value=="$ORIG"){return N.splice(k)}})));return S},wrap_enclose:function(E){if(typeof E!="string")E="";var k=E.indexOf(":");if(k<0)k=E.length;var S=this.body;return parse(["(function(",E.slice(0,k),'){"$ORIG"})(',E.slice(k+1),")"].join("")).transform(new TreeTransformer((function(E){if(E instanceof nt&&E.value=="$ORIG"){return N.splice(S)}})))}},_t);var bt=DEFNODE("Expansion","expression",{$documentation:"An expandible argument, such as ...rest, a splat, such as [1,2,...all], or an expansion in a variable declaration, such as var [first, ...rest] = list",$propdoc:{expression:"[AST_Node] the thing to be expanded"},_walk:function(E){return E._visit(this,(function(){this.expression.walk(E)}))},_children_backwards(E){E(this.expression)}});var Et=DEFNODE("Lambda","name argnames uses_arguments is_generator async",{$documentation:"Base class for functions",$propdoc:{name:"[AST_SymbolDeclaration?] the name of this function",argnames:"[AST_SymbolFunarg|AST_Destructuring|AST_Expansion|AST_DefaultAssign*] array of function arguments, destructurings, or expanding arguments",uses_arguments:"[boolean/S] tells whether this function accesses the arguments array",is_generator:"[boolean] is this a generator method",async:"[boolean] is this method async"},args_as_names:function(){var E=[];for(var k=0;k b)"},Et);var wt=DEFNODE("Defun",null,{$documentation:"A function definition"},Et);var At=DEFNODE("Destructuring","names is_array",{$documentation:"A destructuring of several names. Used in destructuring assignment and with destructuring function argument names",$propdoc:{names:"[AST_Node*] Array of properties or elements",is_array:"[Boolean] Whether the destructuring represents an object or array"},_walk:function(E){return E._visit(this,(function(){this.names.forEach((function(k){k._walk(E)}))}))},_children_backwards(E){let k=this.names.length;while(k--)E(this.names[k])},all_symbols:function(){var E=[];this.walk(new TreeWalker((function(k){if(k instanceof Rn){E.push(k)}})));return E}});var Ct=DEFNODE("PrefixedTemplateString","template_string prefix",{$documentation:"A templatestring with a prefix, such as String.raw`foobarbaz`",$propdoc:{template_string:"[AST_TemplateString] The template string",prefix:"[AST_Node] The prefix, which will get called."},_walk:function(E){return E._visit(this,(function(){this.prefix._walk(E);this.template_string._walk(E)}))},_children_backwards(E){E(this.template_string);E(this.prefix)}});var Dt=DEFNODE("TemplateString","segments",{$documentation:"A template string literal",$propdoc:{segments:"[AST_Node*] One or more segments, starting with AST_TemplateSegment. AST_Node may follow AST_TemplateSegment, but each AST_Node must be followed by AST_TemplateSegment."},_walk:function(E){return E._visit(this,(function(){this.segments.forEach((function(k){k._walk(E)}))}))},_children_backwards(E){let k=this.segments.length;while(k--)E(this.segments[k])}});var Mt=DEFNODE("TemplateSegment","value raw",{$documentation:"A segment of a template string literal",$propdoc:{value:"Content of the segment",raw:"Raw source of the segment"}});var Tt=DEFNODE("Jump",null,{$documentation:"Base class for “jumps” (for now that's `return`, `throw`, `break` and `continue`)"},et);var It=DEFNODE("Exit","value",{$documentation:"Base class for “exits” (`return` and `throw`)",$propdoc:{value:"[AST_Node?] the value returned or thrown by this statement; could be null for AST_Return"},_walk:function(E){return E._visit(this,this.value&&function(){this.value._walk(E)})},_children_backwards(E){if(this.value)E(this.value)}},Tt);var Pt=DEFNODE("Return",null,{$documentation:"A `return` statement"},It);var Ot=DEFNODE("Throw",null,{$documentation:"A `throw` statement"},It);var Rt=DEFNODE("LoopControl","label",{$documentation:"Base class for loop control statements (`break` and `continue`)",$propdoc:{label:"[AST_LabelRef?] the label, or null if none"},_walk:function(E){return E._visit(this,this.label&&function(){this.label._walk(E)})},_children_backwards(E){if(this.label)E(this.label)}},Tt);var Ft=DEFNODE("Break",null,{$documentation:"A `break` statement"},Rt);var Nt=DEFNODE("Continue",null,{$documentation:"A `continue` statement"},Rt);var Bt=DEFNODE("Await","expression",{$documentation:"An `await` statement",$propdoc:{expression:"[AST_Node] the mandatory expression being awaited"},_walk:function(E){return E._visit(this,(function(){this.expression._walk(E)}))},_children_backwards(E){E(this.expression)}});var Lt=DEFNODE("Yield","expression is_star",{$documentation:"A `yield` statement",$propdoc:{expression:"[AST_Node?] the value returned or thrown by this statement; could be null (representing undefined) but only when is_star is set to false",is_star:"[Boolean] Whether this is a yield or yield* statement"},_walk:function(E){return E._visit(this,this.expression&&function(){this.expression._walk(E)})},_children_backwards(E){if(this.expression)E(this.expression)}});var jt=DEFNODE("If","condition alternative",{$documentation:"A `if` statement",$propdoc:{condition:"[AST_Node] the `if` condition",alternative:"[AST_Statement?] the `else` part, or null if not present"},_walk:function(E){return E._visit(this,(function(){this.condition._walk(E);this.body._walk(E);if(this.alternative)this.alternative._walk(E)}))},_children_backwards(E){if(this.alternative){E(this.alternative)}E(this.body);E(this.condition)}},ut);var $t=DEFNODE("Switch","expression",{$documentation:"A `switch` statement",$propdoc:{expression:"[AST_Node] the `switch` “discriminant”"},_walk:function(E){return E._visit(this,(function(){this.expression._walk(E);walk_body(this,E)}))},_children_backwards(E){let k=this.body.length;while(k--)E(this.body[k]);E(this.expression)}},it);var zt=DEFNODE("SwitchBranch",null,{$documentation:"Base class for `switch` branches"},it);var Ut=DEFNODE("Default",null,{$documentation:"A `default` switch branch"},zt);var Gt=DEFNODE("Case","expression",{$documentation:"A `case` switch branch",$propdoc:{expression:"[AST_Node] the `case` expression"},_walk:function(E){return E._visit(this,(function(){this.expression._walk(E);walk_body(this,E)}))},_children_backwards(E){let k=this.body.length;while(k--)E(this.body[k]);E(this.expression)}},zt);var qt=DEFNODE("Try","bcatch bfinally",{$documentation:"A `try` statement",$propdoc:{bcatch:"[AST_Catch?] the catch block, or null if not present",bfinally:"[AST_Finally?] the finally block, or null if not present"},_walk:function(E){return E._visit(this,(function(){walk_body(this,E);if(this.bcatch)this.bcatch._walk(E);if(this.bfinally)this.bfinally._walk(E)}))},_children_backwards(E){if(this.bfinally)E(this.bfinally);if(this.bcatch)E(this.bcatch);let k=this.body.length;while(k--)E(this.body[k])}},it);var Vt=DEFNODE("Catch","argname",{$documentation:"A `catch` node; only makes sense as part of a `try` statement",$propdoc:{argname:"[AST_SymbolCatch|AST_Destructuring|AST_Expansion|AST_DefaultAssign] symbol for the exception"},_walk:function(E){return E._visit(this,(function(){if(this.argname)this.argname._walk(E);walk_body(this,E)}))},_children_backwards(E){let k=this.body.length;while(k--)E(this.body[k]);if(this.argname)E(this.argname)}},it);var Ht=DEFNODE("Finally",null,{$documentation:"A `finally` node; only makes sense as part of a `try` statement"},it);var Wt=DEFNODE("Definitions","definitions",{$documentation:"Base class for `var` or `const` nodes (variable declarations/initializations)",$propdoc:{definitions:"[AST_VarDef*] array of variable definitions"},_walk:function(E){return E._visit(this,(function(){var k=this.definitions;for(var S=0,w=k.length;S a`"},mn);var vn=DEFNODE("Array","elements",{$documentation:"An array literal",$propdoc:{elements:"[AST_Node*] array of elements"},_walk:function(E){return E._visit(this,(function(){var k=this.elements;for(var S=0,w=k.length;Sk._walk(E)))}))},_children_backwards(E){let k=this.properties.length;while(k--)E(this.properties[k]);if(this.extends)E(this.extends);if(this.name)E(this.name)}},_t);var Tn=DEFNODE("ClassProperty","static quote",{$documentation:"A class property",$propdoc:{static:"[boolean] whether this is a static key",quote:"[string] which quote is being used"},_walk:function(E){return E._visit(this,(function(){if(this.key instanceof Ze)this.key._walk(E);if(this.value instanceof Ze)this.value._walk(E)}))},_children_backwards(E){if(this.value instanceof Ze)E(this.value);if(this.key instanceof Ze)E(this.key)},computed_key(){return!(this.key instanceof qn)}},En);var In=DEFNODE("ClassProperty","",{$documentation:"A class property for a private property"},Tn);var Pn=DEFNODE("DefClass",null,{$documentation:"A class definition"},Mn);var On=DEFNODE("ClassExpression",null,{$documentation:"A class expression."},Mn);var Rn=DEFNODE("Symbol","scope name thedef",{$propdoc:{name:"[string] name of this symbol",scope:"[AST_Scope/S] the current scope (not necessarily the definition scope)",thedef:"[SymbolDef/S] the definition of this symbol"},$documentation:"Base class for all symbols"});var Fn=DEFNODE("NewTarget",null,{$documentation:"A reference to new.target"});var Nn=DEFNODE("SymbolDeclaration","init",{$documentation:"A declaration symbol (symbol in var/const, function name or argument, symbol in catch)"},Rn);var Bn=DEFNODE("SymbolVar",null,{$documentation:"Symbol defining a variable"},Nn);var Ln=DEFNODE("SymbolBlockDeclaration",null,{$documentation:"Base class for block-scoped declaration symbols"},Nn);var jn=DEFNODE("SymbolConst",null,{$documentation:"A constant declaration"},Ln);var $n=DEFNODE("SymbolLet",null,{$documentation:"A block-scoped `let` declaration"},Ln);var zn=DEFNODE("SymbolFunarg",null,{$documentation:"Symbol naming a function argument"},Bn);var Un=DEFNODE("SymbolDefun",null,{$documentation:"Symbol defining a function"},Nn);var Gn=DEFNODE("SymbolMethod",null,{$documentation:"Symbol in an object defining a method"},Rn);var qn=DEFNODE("SymbolClassProperty",null,{$documentation:"Symbol for a class property"},Rn);var Vn=DEFNODE("SymbolLambda",null,{$documentation:"Symbol naming a function expression"},Nn);var Hn=DEFNODE("SymbolDefClass",null,{$documentation:"Symbol naming a class's name in a class declaration. Lexically scoped to its containing scope, and accessible within the class."},Ln);var Wn=DEFNODE("SymbolClass",null,{$documentation:"Symbol naming a class's name. Lexically scoped to the class."},Nn);var Kn=DEFNODE("SymbolCatch",null,{$documentation:"Symbol naming the exception in catch"},Ln);var Xn=DEFNODE("SymbolImport",null,{$documentation:"Symbol referring to an imported name"},Ln);var Qn=DEFNODE("SymbolImportForeign",null,{$documentation:"A symbol imported from a module, but it is defined in the other module, and its real name is irrelevant for this module's purposes"},Rn);var Jn=DEFNODE("Label","references",{$documentation:"Symbol naming a label (declaration)",$propdoc:{references:"[AST_LoopControl*] a list of nodes referring to this label"},initialize:function(){this.references=[];this.thedef=this}},Rn);var Yn=DEFNODE("SymbolRef",null,{$documentation:"Reference to some symbol (not definition/declaration)"},Rn);var Zn=DEFNODE("SymbolExport",null,{$documentation:"Symbol referring to a name to export"},Yn);var er=DEFNODE("SymbolExportForeign",null,{$documentation:"A symbol exported from this module, but it is used in the other module, and its real name is irrelevant for this module's purposes"},Rn);var tr=DEFNODE("LabelRef",null,{$documentation:"Reference to a label symbol"},Rn);var nr=DEFNODE("This",null,{$documentation:"The `this` symbol"},Rn);var rr=DEFNODE("Super",null,{$documentation:"The `super` symbol"},nr);var ir=DEFNODE("Constant",null,{$documentation:"Base class for all constants",getValue:function(){return this.value}});var sr=DEFNODE("String","value quote",{$documentation:"A string literal",$propdoc:{value:"[string] the contents of this string",quote:"[string] the original quote character"}},ir);var ar=DEFNODE("Number","value raw",{$documentation:"A number literal",$propdoc:{value:"[number] the numeric value",raw:"[string] numeric value as string"}},ir);var ur=DEFNODE("BigInt","value",{$documentation:"A big int literal",$propdoc:{value:"[string] big int value"}},ir);var lr=DEFNODE("RegExp","value",{$documentation:"A regexp literal",$propdoc:{value:"[RegExp] the actual regexp"}},ir);var cr=DEFNODE("Atom",null,{$documentation:"Base class for atoms"},ir);var pr=DEFNODE("Null",null,{$documentation:"The `null` atom",value:null},cr);var fr=DEFNODE("NaN",null,{$documentation:"The impossible value",value:0/0},cr);var dr=DEFNODE("Undefined",null,{$documentation:"The `undefined` value",value:function(){}()},cr);var hr=DEFNODE("Hole",null,{$documentation:"A hole in an array",value:function(){}()},cr);var mr=DEFNODE("Infinity",null,{$documentation:"The `Infinity` value",value:1/0},cr);var gr=DEFNODE("Boolean",null,{$documentation:"Base class for booleans"},cr);var yr=DEFNODE("False",null,{$documentation:"The `false` atom",value:false},gr);var _r=DEFNODE("True",null,{$documentation:"The `true` atom",value:true},gr);function walk(E,k,S=[E]){const w=S.push.bind(S);while(S.length){const E=S.pop();const N=k(E,S);if(N){if(N===vr)return true;continue}E._children_backwards(w)}return false}function walk_parent(E,k,S){const w=[E];const N=w.push.bind(w);const j=S?S.slice():[];const q=[];let ee;const te={parent:(E=0)=>{if(E===-1){return ee}if(S&&E>=j.length){E-=j.length;return S[S.length-(E+1)]}return j[j.length-(1+E)]}};while(w.length){ee=w.pop();while(q.length&&w.length==q[q.length-1]){j.pop();q.pop()}const E=k(ee,te);if(E){if(E===vr)return true;continue}const S=w.length;ee._children_backwards(N);if(w.length>S){j.push(ee);q.push(S-1)}}return false}const vr=Symbol("abort walk");class TreeWalker{constructor(E){this.visit=E;this.stack=[];this.directives=Object.create(null)}_visit(E,k){this.push(E);var S=this.visit(E,k?function(){k.call(E)}:noop);if(!S&&k){k.call(E)}this.pop();return S}parent(E){return this.stack[this.stack.length-2-(E||0)]}push(E){if(E instanceof Et){this.directives=Object.create(this.directives)}else if(E instanceof nt&&!this.directives[E.value]){this.directives[E.value]=E}else if(E instanceof Mn){this.directives=Object.create(this.directives);if(!this.directives["use strict"]){this.directives["use strict"]=E}}this.stack.push(E)}pop(){var E=this.stack.pop();if(E instanceof Et||E instanceof Mn){this.directives=Object.getPrototypeOf(this.directives)}}self(){return this.stack[this.stack.length-1]}find_parent(E){var k=this.stack;for(var S=k.length;--S>=0;){var w=k[S];if(w instanceof E)return w}}has_directive(E){var k=this.directives[E];if(k)return k;var S=this.stack[this.stack.length-1];if(S instanceof _t&&S.body){for(var w=0;w=0;){var w=k[S];if(w instanceof lt&&w.label.name==E.label.name)return w.body}else for(var S=k.length;--S>=0;){var w=k[S];if(w instanceof ct||E instanceof Ft&&w instanceof $t)return w}}}class TreeTransformer extends TreeWalker{constructor(E,k){super();this.before=E;this.after=k}}const br=1;const Er=2;const kr=4;var xr=Object.freeze({__proto__:null,AST_Accessor:kt,AST_Array:vn,AST_Arrow:St,AST_Assign:yn,AST_Atom:cr,AST_Await:Bt,AST_BigInt:ur,AST_Binary:mn,AST_Block:it,AST_BlockStatement:st,AST_Boolean:gr,AST_Break:Ft,AST_Call:nn,AST_Case:Gt,AST_Catch:Vt,AST_Chain:cn,AST_Class:Mn,AST_ClassExpression:On,AST_ClassPrivateProperty:In,AST_ClassProperty:Tn,AST_ConciseMethod:Cn,AST_Conditional:gn,AST_Const:Qt,AST_Constant:ir,AST_Continue:Nt,AST_Debugger:tt,AST_Default:Ut,AST_DefaultAssign:_n,AST_DefClass:Pn,AST_Definitions:Wt,AST_Defun:wt,AST_Destructuring:At,AST_Directive:nt,AST_Do:ft,AST_Dot:an,AST_DotHash:un,AST_DWLoop:pt,AST_EmptyStatement:ot,AST_Exit:It,AST_Expansion:bt,AST_Export:tn,AST_False:yr,AST_Finally:Ht,AST_For:ht,AST_ForIn:mt,AST_ForOf:gt,AST_Function:xt,AST_Hole:hr,AST_If:jt,AST_Import:Zt,AST_ImportMeta:en,AST_Infinity:mr,AST_IterationStatement:ct,AST_Jump:Tt,AST_Label:Jn,AST_LabeledStatement:lt,AST_LabelRef:tr,AST_Lambda:Et,AST_Let:Xt,AST_LoopControl:Rt,AST_NameMapping:Yt,AST_NaN:fr,AST_New:rn,AST_NewTarget:Fn,AST_Node:Ze,AST_Null:pr,AST_Number:ar,AST_Object:bn,AST_ObjectGetter:An,AST_ObjectKeyVal:kn,AST_ObjectProperty:En,AST_ObjectSetter:wn,AST_PrefixedTemplateString:Ct,AST_PrivateGetter:Sn,AST_PrivateMethod:Dn,AST_PrivateSetter:xn,AST_PropAccess:on,AST_RegExp:lr,AST_Return:Pt,AST_Scope:_t,AST_Sequence:sn,AST_SimpleStatement:rt,AST_Statement:et,AST_StatementWithBody:ut,AST_String:sr,AST_Sub:ln,AST_Super:rr,AST_Switch:$t,AST_SwitchBranch:zt,AST_Symbol:Rn,AST_SymbolBlockDeclaration:Ln,AST_SymbolCatch:Kn,AST_SymbolClass:Wn,AST_SymbolClassProperty:qn,AST_SymbolConst:jn,AST_SymbolDeclaration:Nn,AST_SymbolDefClass:Hn,AST_SymbolDefun:Un,AST_SymbolExport:Zn,AST_SymbolExportForeign:er,AST_SymbolFunarg:zn,AST_SymbolImport:Xn,AST_SymbolImportForeign:Qn,AST_SymbolLambda:Vn,AST_SymbolLet:$n,AST_SymbolMethod:Gn,AST_SymbolRef:Yn,AST_SymbolVar:Bn,AST_TemplateSegment:Mt,AST_TemplateString:Dt,AST_This:nr,AST_Throw:Ot,AST_Token:AST_Token,AST_Toplevel:vt,AST_True:_r,AST_Try:qt,AST_Unary:pn,AST_UnaryPostfix:hn,AST_UnaryPrefix:dn,AST_Undefined:dr,AST_Var:Kt,AST_VarDef:Jt,AST_While:dt,AST_With:yt,AST_Yield:Lt,TreeTransformer:TreeTransformer,TreeWalker:TreeWalker,walk:walk,walk_abort:vr,walk_body:walk_body,walk_parent:walk_parent,_INLINE:Er,_NOINLINE:kr,_PURE:br});function def_transform(E,k){E.DEFMETHOD("transform",(function(E,S){let w=undefined;E.push(this);if(E.before)w=E.before(this,k,S);if(w===undefined){w=this;k(w,E);if(E.after){const k=E.after(w,S);if(k!==undefined)w=k}}E.pop();return w}))}function do_list(E,k){return N(E,(function(E){return E.transform(k,true)}))}def_transform(Ze,noop);def_transform(lt,(function(E,k){E.label=E.label.transform(k);E.body=E.body.transform(k)}));def_transform(rt,(function(E,k){E.body=E.body.transform(k)}));def_transform(it,(function(E,k){E.body=do_list(E.body,k)}));def_transform(ft,(function(E,k){E.body=E.body.transform(k);E.condition=E.condition.transform(k)}));def_transform(dt,(function(E,k){E.condition=E.condition.transform(k);E.body=E.body.transform(k)}));def_transform(ht,(function(E,k){if(E.init)E.init=E.init.transform(k);if(E.condition)E.condition=E.condition.transform(k);if(E.step)E.step=E.step.transform(k);E.body=E.body.transform(k)}));def_transform(mt,(function(E,k){E.init=E.init.transform(k);E.object=E.object.transform(k);E.body=E.body.transform(k)}));def_transform(yt,(function(E,k){E.expression=E.expression.transform(k);E.body=E.body.transform(k)}));def_transform(It,(function(E,k){if(E.value)E.value=E.value.transform(k)}));def_transform(Rt,(function(E,k){if(E.label)E.label=E.label.transform(k)}));def_transform(jt,(function(E,k){E.condition=E.condition.transform(k);E.body=E.body.transform(k);if(E.alternative)E.alternative=E.alternative.transform(k)}));def_transform($t,(function(E,k){E.expression=E.expression.transform(k);E.body=do_list(E.body,k)}));def_transform(Gt,(function(E,k){E.expression=E.expression.transform(k);E.body=do_list(E.body,k)}));def_transform(qt,(function(E,k){E.body=do_list(E.body,k);if(E.bcatch)E.bcatch=E.bcatch.transform(k);if(E.bfinally)E.bfinally=E.bfinally.transform(k)}));def_transform(Vt,(function(E,k){if(E.argname)E.argname=E.argname.transform(k);E.body=do_list(E.body,k)}));def_transform(Wt,(function(E,k){E.definitions=do_list(E.definitions,k)}));def_transform(Jt,(function(E,k){E.name=E.name.transform(k);if(E.value)E.value=E.value.transform(k)}));def_transform(At,(function(E,k){E.names=do_list(E.names,k)}));def_transform(Et,(function(E,k){if(E.name)E.name=E.name.transform(k);E.argnames=do_list(E.argnames,k);if(E.body instanceof Ze){E.body=E.body.transform(k)}else{E.body=do_list(E.body,k)}}));def_transform(nn,(function(E,k){E.expression=E.expression.transform(k);E.args=do_list(E.args,k)}));def_transform(sn,(function(E,k){const S=do_list(E.expressions,k);E.expressions=S.length?S:[new ar({value:0})]}));def_transform(an,(function(E,k){E.expression=E.expression.transform(k)}));def_transform(ln,(function(E,k){E.expression=E.expression.transform(k);E.property=E.property.transform(k)}));def_transform(cn,(function(E,k){E.expression=E.expression.transform(k)}));def_transform(Lt,(function(E,k){if(E.expression)E.expression=E.expression.transform(k)}));def_transform(Bt,(function(E,k){E.expression=E.expression.transform(k)}));def_transform(pn,(function(E,k){E.expression=E.expression.transform(k)}));def_transform(mn,(function(E,k){E.left=E.left.transform(k);E.right=E.right.transform(k)}));def_transform(gn,(function(E,k){E.condition=E.condition.transform(k);E.consequent=E.consequent.transform(k);E.alternative=E.alternative.transform(k)}));def_transform(vn,(function(E,k){E.elements=do_list(E.elements,k)}));def_transform(bn,(function(E,k){E.properties=do_list(E.properties,k)}));def_transform(En,(function(E,k){if(E.key instanceof Ze){E.key=E.key.transform(k)}if(E.value)E.value=E.value.transform(k)}));def_transform(Mn,(function(E,k){if(E.name)E.name=E.name.transform(k);if(E.extends)E.extends=E.extends.transform(k);E.properties=do_list(E.properties,k)}));def_transform(bt,(function(E,k){E.expression=E.expression.transform(k)}));def_transform(Yt,(function(E,k){E.foreign_name=E.foreign_name.transform(k);E.name=E.name.transform(k)}));def_transform(Zt,(function(E,k){if(E.imported_name)E.imported_name=E.imported_name.transform(k);if(E.imported_names)do_list(E.imported_names,k);E.module_name=E.module_name.transform(k)}));def_transform(tn,(function(E,k){if(E.exported_definition)E.exported_definition=E.exported_definition.transform(k);if(E.exported_value)E.exported_value=E.exported_value.transform(k);if(E.exported_names)do_list(E.exported_names,k);if(E.module_name)E.module_name=E.module_name.transform(k)}));def_transform(Dt,(function(E,k){E.segments=do_list(E.segments,k)}));def_transform(Ct,(function(E,k){E.prefix=E.prefix.transform(k);E.template_string=E.template_string.transform(k)}));(function(){var normalize_directives=function(E){var k=true;for(var S=0;S1||E.guardedHandlers&&E.guardedHandlers.length){throw new Error("Multiple catch clauses are not supported.")}return new qt({start:my_start_token(E),end:my_end_token(E),body:from_moz(E.block).body,bcatch:from_moz(k[0]),bfinally:E.finalizer?new Ht(from_moz(E.finalizer)):null})},Property:function(E){var k=E.key;var S={start:my_start_token(k||E.value),end:my_end_token(E.value),key:k.type=="Identifier"?k.name:k.value,value:from_moz(E.value)};if(E.computed){S.key=from_moz(E.key)}if(E.method){S.is_generator=E.value.generator;S.async=E.value.async;if(!E.computed){S.key=new Gn({name:S.key})}else{S.key=from_moz(E.key)}return new Cn(S)}if(E.kind=="init"){if(k.type!="Identifier"&&k.type!="Literal"){S.key=from_moz(k)}return new kn(S)}if(typeof S.key==="string"||typeof S.key==="number"){S.key=new Gn({name:S.key})}S.value=new kt(S.value);if(E.kind=="get")return new An(S);if(E.kind=="set")return new wn(S);if(E.kind=="method"){S.async=E.value.async;S.is_generator=E.value.generator;S.quote=E.computed?'"':null;return new Cn(S)}},MethodDefinition:function(E){var k={start:my_start_token(E),end:my_end_token(E),key:E.computed?from_moz(E.key):new Gn({name:E.key.name||E.key.value}),value:from_moz(E.value),static:E.static};if(E.kind=="get"){return new An(k)}if(E.kind=="set"){return new wn(k)}k.is_generator=E.value.generator;k.async=E.value.async;return new Cn(k)},FieldDefinition:function(E){let k;if(E.computed){k=from_moz(E.key)}else{if(E.key.type!=="Identifier")throw new Error("Non-Identifier key in FieldDefinition");k=from_moz(E.key)}return new Tn({start:my_start_token(E),end:my_end_token(E),key:k,value:from_moz(E.value),static:E.static})},PropertyDefinition:function(E){let k;if(E.computed){k=from_moz(E.key)}else{if(E.key.type!=="Identifier")throw new Error("Non-Identifier key in PropertyDefinition");k=from_moz(E.key)}return new Tn({start:my_start_token(E),end:my_end_token(E),key:k,value:from_moz(E.value),static:E.static})},ArrayExpression:function(E){return new vn({start:my_start_token(E),end:my_end_token(E),elements:E.elements.map((function(E){return E===null?new hr:from_moz(E)}))})},ObjectExpression:function(E){return new bn({start:my_start_token(E),end:my_end_token(E),properties:E.properties.map((function(E){if(E.type==="SpreadElement"){return from_moz(E)}E.type="Property";return from_moz(E)}))})},SequenceExpression:function(E){return new sn({start:my_start_token(E),end:my_end_token(E),expressions:E.expressions.map(from_moz)})},MemberExpression:function(E){return new(E.computed?ln:an)({start:my_start_token(E),end:my_end_token(E),property:E.computed?from_moz(E.property):E.property.name,expression:from_moz(E.object),optional:E.optional||false})},ChainExpression:function(E){return new cn({start:my_start_token(E),end:my_end_token(E),expression:from_moz(E.expression)})},SwitchCase:function(E){return new(E.test?Gt:Ut)({start:my_start_token(E),end:my_end_token(E),expression:from_moz(E.test),body:E.consequent.map(from_moz)})},VariableDeclaration:function(E){return new(E.kind==="const"?Qt:E.kind==="let"?Xt:Kt)({start:my_start_token(E),end:my_end_token(E),definitions:E.declarations.map(from_moz)})},ImportDeclaration:function(E){var k=null;var S=null;E.specifiers.forEach((function(E){if(E.type==="ImportSpecifier"){if(!S){S=[]}S.push(new Yt({start:my_start_token(E),end:my_end_token(E),foreign_name:from_moz(E.imported),name:from_moz(E.local)}))}else if(E.type==="ImportDefaultSpecifier"){k=from_moz(E.local)}else if(E.type==="ImportNamespaceSpecifier"){if(!S){S=[]}S.push(new Yt({start:my_start_token(E),end:my_end_token(E),foreign_name:new Qn({name:"*"}),name:from_moz(E.local)}))}}));return new Zt({start:my_start_token(E),end:my_end_token(E),imported_name:k,imported_names:S,module_name:from_moz(E.source)})},ExportAllDeclaration:function(E){return new tn({start:my_start_token(E),end:my_end_token(E),exported_names:[new Yt({name:new er({name:"*"}),foreign_name:new er({name:"*"})})],module_name:from_moz(E.source)})},ExportNamedDeclaration:function(E){return new tn({start:my_start_token(E),end:my_end_token(E),exported_definition:from_moz(E.declaration),exported_names:E.specifiers&&E.specifiers.length?E.specifiers.map((function(E){return new Yt({foreign_name:from_moz(E.exported),name:from_moz(E.local)})})):null,module_name:from_moz(E.source)})},ExportDefaultDeclaration:function(E){return new tn({start:my_start_token(E),end:my_end_token(E),exported_value:from_moz(E.declaration),is_default:true})},Literal:function(E){var k=E.value,S={start:my_start_token(E),end:my_end_token(E)};var w=E.regex;if(w&&w.pattern){S.value={source:w.pattern,flags:w.flags};return new lr(S)}else if(w){const w=E.raw||k;const N=w.match(/^\/(.*)\/(\w*)$/);if(!N)throw new Error("Invalid regex source "+w);const[j,q,ee]=N;S.value={source:q,flags:ee};return new lr(S)}if(k===null)return new pr(S);switch(typeof k){case"string":S.value=k;return new sr(S);case"number":S.value=k;S.raw=E.raw||k.toString();return new ar(S);case"boolean":return new(k?_r:yr)(S)}},MetaProperty:function(E){if(E.meta.name==="new"&&E.property.name==="target"){return new Fn({start:my_start_token(E),end:my_end_token(E)})}else if(E.meta.name==="import"&&E.property.name==="meta"){return new en({start:my_start_token(E),end:my_end_token(E)})}},Identifier:function(E){var S=k[k.length-2];return new(S.type=="LabeledStatement"?Jn:S.type=="VariableDeclarator"&&S.id===E?S.kind=="const"?jn:S.kind=="let"?$n:Bn:/Import.*Specifier/.test(S.type)?S.local===E?Xn:Qn:S.type=="ExportSpecifier"?S.local===E?Zn:er:S.type=="FunctionExpression"?S.id===E?Vn:zn:S.type=="FunctionDeclaration"?S.id===E?Un:zn:S.type=="ArrowFunctionExpression"?S.params.includes(E)?zn:Yn:S.type=="ClassExpression"?S.id===E?Wn:Yn:S.type=="Property"?S.key===E&&S.computed||S.value===E?Yn:Gn:S.type=="PropertyDefinition"||S.type==="FieldDefinition"?S.key===E&&S.computed||S.value===E?Yn:qn:S.type=="ClassDeclaration"?S.id===E?Hn:Yn:S.type=="MethodDefinition"?S.computed?Yn:Gn:S.type=="CatchClause"?Kn:S.type=="BreakStatement"||S.type=="ContinueStatement"?tr:Yn)({start:my_start_token(E),end:my_end_token(E),name:E.name})},BigIntLiteral(E){return new ur({start:my_start_token(E),end:my_end_token(E),value:E.value})}};E.UpdateExpression=E.UnaryExpression=function To_Moz_Unary(E){var k="prefix"in E?E.prefix:E.type=="UnaryExpression"?true:false;return new(k?dn:hn)({start:my_start_token(E),end:my_end_token(E),operator:E.operator,expression:from_moz(E.argument)})};E.ClassDeclaration=E.ClassExpression=function From_Moz_Class(E){return new(E.type==="ClassDeclaration"?Pn:On)({start:my_start_token(E),end:my_end_token(E),name:from_moz(E.id),extends:from_moz(E.superClass),properties:E.body.body.map(from_moz)})};map("EmptyStatement",ot);map("BlockStatement",st,"body@body");map("IfStatement",jt,"test>condition, consequent>body, alternate>alternative");map("LabeledStatement",lt,"label>label, body>body");map("BreakStatement",Ft,"label>label");map("ContinueStatement",Nt,"label>label");map("WithStatement",yt,"object>expression, body>body");map("SwitchStatement",$t,"discriminant>expression, cases@body");map("ReturnStatement",Pt,"argument>value");map("ThrowStatement",Ot,"argument>value");map("WhileStatement",dt,"test>condition, body>body");map("DoWhileStatement",ft,"test>condition, body>body");map("ForStatement",ht,"init>init, test>condition, update>step, body>body");map("ForInStatement",mt,"left>init, right>object, body>body");map("ForOfStatement",gt,"left>init, right>object, body>body, await=await");map("AwaitExpression",Bt,"argument>expression");map("YieldExpression",Lt,"argument>expression, delegate=is_star");map("DebuggerStatement",tt);map("VariableDeclarator",Jt,"id>name, init>value");map("CatchClause",Vt,"param>argname, body%body");map("ThisExpression",nr);map("Super",rr);map("BinaryExpression",mn,"operator=operator, left>left, right>right");map("LogicalExpression",mn,"operator=operator, left>left, right>right");map("AssignmentExpression",yn,"operator=operator, left>left, right>right");map("ConditionalExpression",gn,"test>condition, consequent>consequent, alternate>alternative");map("NewExpression",rn,"callee>expression, arguments@args");map("CallExpression",nn,"callee>expression, optional=optional, arguments@args");def_to_moz(vt,(function To_Moz_Program(E){return to_moz_scope("Program",E)}));def_to_moz(bt,(function To_Moz_Spread(E){return{type:to_moz_in_destructuring()?"RestElement":"SpreadElement",argument:to_moz(E.expression)}}));def_to_moz(Ct,(function To_Moz_TaggedTemplateExpression(E){return{type:"TaggedTemplateExpression",tag:to_moz(E.prefix),quasi:to_moz(E.template_string)}}));def_to_moz(Dt,(function To_Moz_TemplateLiteral(E){var k=[];var S=[];for(var w=0;w({type:"BigIntLiteral",value:E.value})));gr.DEFMETHOD("to_mozilla_ast",ir.prototype.to_mozilla_ast);pr.DEFMETHOD("to_mozilla_ast",ir.prototype.to_mozilla_ast);hr.DEFMETHOD("to_mozilla_ast",(function To_Moz_ArrayHole(){return null}));it.DEFMETHOD("to_mozilla_ast",st.prototype.to_mozilla_ast);Et.DEFMETHOD("to_mozilla_ast",xt.prototype.to_mozilla_ast);function my_start_token(E){var k=E.loc,S=k&&k.start;var w=E.range;return new AST_Token("","",S&&S.line||0,S&&S.column||0,w?w[0]:E.start,false,[],[],k&&k.source)}function my_end_token(E){var k=E.loc,S=k&&k.end;var w=E.range;return new AST_Token("","",S&&S.line||0,S&&S.column||0,w?w[0]:E.end,false,[],[],k&&k.source)}function map(k,S,w){var N="function From_Moz_"+k+"(M){\n";N+="return new U2."+S.name+"({\n"+"start: my_start_token(M),\n"+"end: my_end_token(M)";var j="function To_Moz_"+k+"(M){\n";j+="return {\n"+"type: "+JSON.stringify(k);if(w)w.split(/\s*,\s*/).forEach((function(E){var k=/([a-z0-9$_]+)([=@>%])([a-z0-9$_]+)/i.exec(E);if(!k)throw new Error("Can't understand property map: "+E);var S=k[1],w=k[2],q=k[3];N+=",\n"+q+": ";j+=",\n"+S+": ";switch(w){case"@":N+="M."+S+".map(from_moz)";j+="M."+q+".map(to_moz)";break;case">":N+="from_moz(M."+S+")";j+="to_moz(M."+q+")";break;case"=":N+="M."+S;j+="M."+q;break;case"%":N+="from_moz(M."+S+").body";j+="to_moz_block(M)";break;default:throw new Error("Can't understand operator in propmap: "+E)}}));N+="\n})\n}";j+="\n}\n}";N=new Function("U2","my_start_token","my_end_token","from_moz","return("+N+")")(xr,my_start_token,my_end_token,from_moz);j=new Function("to_moz","to_moz_block","to_moz_scope","return("+j+")")(to_moz,to_moz_block,to_moz_scope);E[k]=N;def_to_moz(S,j)}var k=null;function from_moz(S){k.push(S);var w=S!=null?E[S.type](S):null;k.pop();return w}Ze.from_mozilla_ast=function(E){var S=k;k=[];var w=from_moz(E);k=S;return w};function set_moz_loc(E,k){var S=E.start;var w=E.end;if(!(S&&w)){return k}if(S.pos!=null&&w.endpos!=null){k.range=[S.pos,w.endpos]}if(S.line){k.loc={start:{line:S.line,column:S.col},end:w.endline?{line:w.endline,column:w.endcol}:null};if(S.file){k.loc.source=S.file}}return k}function def_to_moz(E,k){E.DEFMETHOD("to_mozilla_ast",(function(E){return set_moz_loc(this,k(this,E))}))}var S=null;function to_moz(E){if(S===null){S=[]}S.push(E);var k=E!=null?E.to_mozilla_ast(S[S.length-2]):null;S.pop();if(S.length===0){S=null}return k}function to_moz_in_destructuring(){var E=S.length;while(E--){if(S[E]instanceof At){return true}}return false}function to_moz_block(E){return{type:"BlockStatement",body:E.body.map(to_moz)}}function to_moz_scope(E,k){var S=k.body.map(to_moz);if(k.body[0]instanceof rt&&k.body[0].body instanceof sr){S.unshift(to_moz(new ot(k.body[0])))}return{type:E,body:S}}})();function first_in_statement(E){let k=E.parent(-1);for(let S=0,w;w=E.parent(S);S++){if(w instanceof et&&w.body===k)return true;if(w instanceof sn&&w.expressions[0]===k||w.TYPE==="Call"&&w.expression===k||w instanceof Ct&&w.prefix===k||w instanceof an&&w.expression===k||w instanceof ln&&w.expression===k||w instanceof gn&&w.condition===k||w instanceof mn&&w.left===k||w instanceof hn&&w.expression===k){k=w}else{return false}}}function left_is_object(E){if(E instanceof bn)return true;if(E instanceof sn)return left_is_object(E.expressions[0]);if(E.TYPE==="Call")return left_is_object(E.expression);if(E instanceof Ct)return left_is_object(E.prefix);if(E instanceof an||E instanceof ln)return left_is_object(E.expression);if(E instanceof gn)return left_is_object(E.condition);if(E instanceof mn)return left_is_object(E.left);if(E instanceof hn)return left_is_object(E.expression);return false}const Sr=/^$|[;{][\s\n]*$/;const wr=10;const Ar=32;const Cr=/[@#]__(PURE|INLINE|NOINLINE)__/g;function is_some_comments(E){return(E.type==="comment2"||E.type==="comment1")&&/@preserve|@lic|@cc_on|^\**!/i.test(E.value)}function OutputStream(E){var k=!E;E=defaults(E,{ascii_only:false,beautify:false,braces:false,comments:"some",ecma:5,ie8:false,indent_level:4,indent_start:0,inline_script:true,keep_numbers:false,keep_quoted_props:false,max_line_len:false,preamble:null,preserve_annotations:false,quote_keys:false,quote_style:0,safari10:false,semicolons:true,shebang:true,shorthand:undefined,source_map:null,webkit:false,width:80,wrap_iife:false,wrap_func_args:true},true);if(E.shorthand===undefined)E.shorthand=E.ecma>5;var S=return_false;if(E.comments){let k=E.comments;if(typeof E.comments==="string"&&/^\/.*\/[a-zA-Z]*$/.test(E.comments)){var w=E.comments.lastIndexOf("/");k=new RegExp(E.comments.substr(1,w-1),E.comments.substr(w+1))}if(k instanceof RegExp){S=function(E){return E.type!="comment5"&&k.test(E.value)}}else if(typeof k==="function"){S=function(E){return E.type!="comment5"&&k(this,E)}}else if(k==="some"){S=is_some_comments}else{S=return_true}}var N=0;var j=0;var q=1;var ee=0;var te="";let ne=new Set;var ae=E.ascii_only?function(k,S){if(E.ecma>=2015&&!E.safari10){k=k.replace(/[\ud800-\udbff][\udc00-\udfff]/g,(function(E){var k=get_full_char_code(E,0).toString(16);return"\\u{"+k+"}"}))}return k.replace(/[\u0000-\u001f\u007f-\uffff]/g,(function(E){var k=E.charCodeAt(0).toString(16);if(k.length<=2&&!S){while(k.length<2)k="0"+k;return"\\x"+k}else{while(k.length<4)k="0"+k;return"\\u"+k}}))}:function(E){return E.replace(/[\ud800-\udbff][\udc00-\udfff]|([\ud800-\udbff]|[\udc00-\udfff])/g,(function(E,k){if(k){return"\\u"+k.charCodeAt(0).toString(16)}return E}))};function make_string(k,S){var w=0,N=0;k=k.replace(/[\\\b\f\n\r\v\t\x22\x27\u2028\u2029\0\ufeff]/g,(function(S,j){switch(S){case'"':++w;return'"';case"'":++N;return"'";case"\\":return"\\\\";case"\n":return"\\n";case"\r":return"\\r";case"\t":return"\\t";case"\b":return"\\b";case"\f":return"\\f";case"\v":return E.ie8?"\\x0B":"\\v";case"\u2028":return"\\u2028";case"\u2029":return"\\u2029";case"\ufeff":return"\\ufeff";case"\0":return/[0-9]/.test(get_full_char(k,j+1))?"\\x00":"\\0"}return S}));function quote_single(){return"'"+k.replace(/\x27/g,"\\'")+"'"}function quote_double(){return'"'+k.replace(/\x22/g,'\\"')+'"'}function quote_template(){return"`"+k.replace(/`/g,"\\`")+"`"}k=ae(k);if(S==="`")return quote_template();switch(E.quote_style){case 1:return quote_single();case 2:return quote_double();case 3:return S=="'"?quote_single():quote_double();default:return w>N?quote_single():quote_double()}}function encode_string(k,S){var w=make_string(k,S);if(E.inline_script){w=w.replace(/<\x2f(script)([>\/\t\n\f\r ])/gi,"<\\/$1$2");w=w.replace(/\x3c!--/g,"\\x3c!--");w=w.replace(/--\x3e/g,"--\\x3e")}return w}function make_name(E){E=E.toString();E=ae(E,true);return E}function make_indent(k){return" ".repeat(E.indent_start+N-k*E.indent_level)}var _e=false;var ve=false;var Ee=false;var we=0;var Ce=false;var Me=false;var Te=-1;var Ie="";var Oe,Re,Fe=E.source_map&&[];var Ne=Fe?function(){Fe.forEach((function(k){try{E.source_map.add(k.token.file,k.line,k.col,k.token.line,k.token.col,!k.name&&k.token.type=="name"?k.token.value:k.name)}catch(E){}}));Fe=[]}:noop;var Be=E.max_line_len?function(){if(j>E.max_line_len){if(we){var k=te.slice(0,we);var S=te.slice(we);if(Fe){var w=S.length-j;Fe.forEach((function(E){E.line++;E.col+=w}))}te=k+"\n"+S;q++;ee++;j=S.length}}if(we){we=0;Ne()}}:noop;var Le=makePredicate("( [ + * / - , . `");function print(k){k=String(k);var S=get_full_char(k,0);if(Ce&&S){Ce=false;if(S!=="\n"){print("\n");$e()}}if(Me&&S){Me=false;if(!/[\s;})]/.test(S)){je()}}Te=-1;var w=Ie.charAt(Ie.length-1);if(Ee){Ee=false;if(w===":"&&S==="}"||(!S||!";}".includes(S))&&w!==";"){if(E.semicolons||Le.has(S)){te+=";";j++;ee++}else{Be();if(j>0){te+="\n";ee++;q++;j=0}if(/^\s+$/.test(k)){Ee=true}}if(!E.beautify)ve=false}}if(ve){if(is_identifier_char(w)&&(is_identifier_char(S)||S=="\\")||S=="/"&&S==w||(S=="+"||S=="-")&&S==Ie){te+=" ";j++;ee++}ve=false}if(Oe){Fe.push({token:Oe,name:Re,line:q,col:j});Oe=false;if(!we)Ne()}te+=k;_e=k[k.length-1]=="(";ee+=k.length;var N=k.split(/\r?\n/),ne=N.length-1;q+=ne;j+=N[0].length;if(ne>0){Be();j=N[ne].length}Ie=k}var star=function(){print("*")};var je=E.beautify?function(){print(" ")}:function(){ve=true};var $e=E.beautify?function(k){if(E.beautify){print(make_indent(k?.5:0))}}:noop;var ze=E.beautify?function(E,k){if(E===true)E=next_indent();var S=N;N=E;var w=k();N=S;return w}:function(E,k){return k()};var Ue=E.beautify?function(){if(Te<0)return print("\n");if(te[Te]!="\n"){te=te.slice(0,Te)+"\n"+te.slice(Te);ee++;q++}Te++}:E.max_line_len?function(){Be();we=te.length}:noop;var Ge=E.beautify?function(){print(";")}:function(){Ee=true};function force_semicolon(){Ee=false;print(";")}function next_indent(){return N+E.indent_level}function with_block(E){var k;print("{");Ue();ze(next_indent(),(function(){k=E()}));$e();print("}");return k}function with_parens(E){print("(");var k=E();print(")");return k}function with_square(E){print("[");var k=E();print("]");return k}function comma(){print(",");je()}function colon(){print(":");je()}var qe=Fe?function(E,k){Oe=E;Re=k}:noop;function get(){if(we){Be()}return te}function has_nlb(){let E=te.length-1;while(E>=0){const k=te.charCodeAt(E);if(k===wr){return true}if(k!==Ar){return false}E--}return true}function filter_comment(k){if(!E.preserve_annotations){k=k.replace(Cr," ")}if(/^\s*$/.test(k)){return""}return k.replace(/(<\s*\/\s*)(script)/i,"<\\/$2")}function prepend_comments(k){var w=this;var N=k.start;if(!N)return;var j=w.printed_comments;const q=k instanceof It&&k.value;if(N.comments_before&&j.has(N.comments_before)){if(q){N.comments_before=[]}else{return}}var te=N.comments_before;if(!te){te=N.comments_before=[]}j.add(te);if(q){var ne=new TreeWalker((function(E){var k=ne.parent();if(k instanceof It||k instanceof mn&&k.left===E||k.TYPE=="Call"&&k.expression===E||k instanceof gn&&k.condition===E||k instanceof an&&k.expression===E||k instanceof sn&&k.expressions[0]===E||k instanceof ln&&k.expression===E||k instanceof hn){if(!E.start)return;var S=E.start.comments_before;if(S&&!j.has(S)){j.add(S);te=te.concat(S)}}else{return true}}));ne.push(k);k.value.walk(ne)}if(ee==0){if(te.length>0&&E.shebang&&te[0].type==="comment5"&&!j.has(te[0])){print("#!"+te.shift().value+"\n");$e()}var ae=E.preamble;if(ae){print(ae.replace(/\r\n?|[\n\u2028\u2029]|\s*$/g,"\n"))}}te=te.filter(S,k).filter((E=>!j.has(E)));if(te.length==0)return;var _e=has_nlb();te.forEach((function(E,k){j.add(E);if(!_e){if(E.nlb){print("\n");$e();_e=true}else if(k>0){je()}}if(/comment[134]/.test(E.type)){var S=filter_comment(E.value);if(S){print("//"+S+"\n");$e()}_e=true}else if(E.type=="comment2"){var S=filter_comment(E.value);if(S){print("/*"+S+"*/")}_e=false}}));if(!_e){if(N.nlb){print("\n");$e()}else{je()}}}function append_comments(E,k){var w=this;var N=E.end;if(!N)return;var j=w.printed_comments;var q=N[k?"comments_before":"comments_after"];if(!q||j.has(q))return;if(!(E instanceof et||q.every((E=>!/comment[134]/.test(E.type)))))return;j.add(q);var ee=te.length;q.filter(S,E).forEach((function(E,S){if(j.has(E))return;j.add(E);Me=false;if(Ce){print("\n");$e();Ce=false}else if(E.nlb&&(S>0||!has_nlb())){print("\n");$e()}else if(S>0||!k){je()}if(/comment[134]/.test(E.type)){const k=filter_comment(E.value);if(k){print("//"+k)}Ce=true}else if(E.type=="comment2"){const k=filter_comment(E.value);if(k){print("/*"+k+"*/")}Me=true}}));if(te.length>ee)Te=ee}var Ve=[];return{get:get,toString:get,indent:$e,in_directive:false,use_asm:null,active_scope:null,indentation:function(){return N},current_width:function(){return j-N},should_break:function(){return E.width&&this.current_width()>=E.width},has_parens:function(){return _e},newline:Ue,print:print,star:star,space:je,comma:comma,colon:colon,last:function(){return Ie},semicolon:Ge,force_semicolon:force_semicolon,to_utf8:ae,print_name:function(E){print(make_name(E))},print_string:function(E,k,S){var w=encode_string(E,k);if(S===true&&!w.includes("\\")){if(!Sr.test(te)){force_semicolon()}force_semicolon()}print(w)},print_template_string_chars:function(E){var k=encode_string(E,"`").replace(/\${/g,"\\${");return print(k.substr(1,k.length-2))},encode_string:encode_string,next_indent:next_indent,with_indent:ze,with_block:with_block,with_parens:with_parens,with_square:with_square,add_mapping:qe,option:function(k){return E[k]},printed_comments:ne,prepend_comments:k?noop:prepend_comments,append_comments:k||S===return_false?noop:append_comments,line:function(){return q},col:function(){return j},pos:function(){return ee},push_node:function(E){Ve.push(E)},pop_node:function(){return Ve.pop()},parent:function(E){return Ve[Ve.length-2-(E||0)]}}}(function(){function DEFPRINT(E,k){E.DEFMETHOD("_codegen",k)}Ze.DEFMETHOD("print",(function(E,k){var S=this,w=S._codegen;if(S instanceof _t){E.active_scope=S}else if(!E.use_asm&&S instanceof nt&&S.value=="use asm"){E.use_asm=E.active_scope}function doit(){E.prepend_comments(S);S.add_source_map(E);w(S,E);E.append_comments(S)}E.push_node(S);if(k||S.needs_parens(E)){E.with_parens(doit)}else{doit()}E.pop_node();if(S===E.use_asm){E.use_asm=null}}));Ze.DEFMETHOD("_print",Ze.prototype.print);Ze.DEFMETHOD("print_to_string",(function(E){var k=OutputStream(E);this.print(k);return k.get()}));function PARENS(E,k){if(Array.isArray(E)){E.forEach((function(E){PARENS(E,k)}))}else{E.DEFMETHOD("needs_parens",k)}}PARENS(Ze,return_false);PARENS(xt,(function(E){if(!E.has_parens()&&first_in_statement(E)){return true}if(E.option("webkit")){var k=E.parent();if(k instanceof on&&k.expression===this){return true}}if(E.option("wrap_iife")){var k=E.parent();if(k instanceof nn&&k.expression===this){return true}}if(E.option("wrap_func_args")){var k=E.parent();if(k instanceof nn&&k.args.includes(this)){return true}}return false}));PARENS(St,(function(E){var k=E.parent();if(E.option("wrap_func_args")&&k instanceof nn&&k.args.includes(this)){return true}return k instanceof on&&k.expression===this}));PARENS(bn,(function(E){return!E.has_parens()&&first_in_statement(E)}));PARENS(On,first_in_statement);PARENS(pn,(function(E){var k=E.parent();return k instanceof on&&k.expression===this||k instanceof nn&&k.expression===this||k instanceof mn&&k.operator==="**"&&this instanceof dn&&k.left===this&&this.operator!=="++"&&this.operator!=="--"}));PARENS(Bt,(function(E){var k=E.parent();return k instanceof on&&k.expression===this||k instanceof nn&&k.expression===this||k instanceof mn&&k.operator==="**"&&k.left===this||E.option("safari10")&&k instanceof dn}));PARENS(sn,(function(E){var k=E.parent();return k instanceof nn||k instanceof pn||k instanceof mn||k instanceof Jt||k instanceof on||k instanceof vn||k instanceof En||k instanceof gn||k instanceof St||k instanceof _n||k instanceof bt||k instanceof gt&&this===k.object||k instanceof Lt||k instanceof tn}));PARENS(mn,(function(E){var k=E.parent();if(k instanceof nn&&k.expression===this)return true;if(k instanceof pn)return true;if(k instanceof on&&k.expression===this)return true;if(k instanceof mn){const E=k.operator;const S=this.operator;if(S==="??"&&(E==="||"||E==="&&")){return true}if(E==="??"&&(S==="||"||S==="&&")){return true}const w=Ke[E];const N=Ke[S];if(w>N||w==N&&(this===k.right||E=="**")){return true}}}));PARENS(Lt,(function(E){var k=E.parent();if(k instanceof mn&&k.operator!=="=")return true;if(k instanceof nn&&k.expression===this)return true;if(k instanceof gn&&k.condition===this)return true;if(k instanceof pn)return true;if(k instanceof on&&k.expression===this)return true}));PARENS(on,(function(E){var k=E.parent();if(k instanceof rn&&k.expression===this){return walk(this,(E=>{if(E instanceof _t)return true;if(E instanceof nn){return vr}}))}}));PARENS(nn,(function(E){var k=E.parent(),S;if(k instanceof rn&&k.expression===this||k instanceof tn&&k.is_default&&this.expression instanceof xt)return true;return this.expression instanceof xt&&k instanceof on&&k.expression===this&&(S=E.parent(1))instanceof yn&&S.left===k}));PARENS(rn,(function(E){var k=E.parent();if(this.args.length===0&&(k instanceof on||k instanceof nn&&k.expression===this))return true}));PARENS(ar,(function(E){var k=E.parent();if(k instanceof on&&k.expression===this){var S=this.getValue();if(S<0||/^0/.test(make_num(S))){return true}}}));PARENS(ur,(function(E){var k=E.parent();if(k instanceof on&&k.expression===this){var S=this.getValue();if(S.startsWith("-")){return true}}}));PARENS([yn,gn],(function(E){var k=E.parent();if(k instanceof pn)return true;if(k instanceof mn&&!(k instanceof yn))return true;if(k instanceof nn&&k.expression===this)return true;if(k instanceof gn&&k.condition===this)return true;if(k instanceof on&&k.expression===this)return true;if(this instanceof yn&&this.left instanceof At&&this.left.is_array===false)return true}));DEFPRINT(nt,(function(E,k){k.print_string(E.value,E.quote);k.semicolon()}));DEFPRINT(bt,(function(E,k){k.print("...");E.expression.print(k)}));DEFPRINT(At,(function(E,k){k.print(E.is_array?"[":"{");var S=E.names.length;E.names.forEach((function(E,w){if(w>0)k.comma();E.print(k);if(w==S-1&&E instanceof hr)k.comma()}));k.print(E.is_array?"]":"}")}));DEFPRINT(tt,(function(E,k){k.print("debugger");k.semicolon()}));function display_body(E,k,S,w){var N=E.length-1;S.in_directive=w;E.forEach((function(E,w){if(S.in_directive===true&&!(E instanceof nt||E instanceof ot||E instanceof rt&&E.body instanceof sr)){S.in_directive=false}if(!(E instanceof ot)){S.indent();E.print(S);if(!(w==N&&k)){S.newline();if(k)S.newline()}}if(S.in_directive===true&&E instanceof rt&&E.body instanceof sr){S.in_directive=false}}));S.in_directive=false}ut.DEFMETHOD("_do_print_body",(function(E){force_statement(this.body,E)}));DEFPRINT(et,(function(E,k){E.body.print(k);k.semicolon()}));DEFPRINT(vt,(function(E,k){display_body(E.body,true,k,true);k.print("")}));DEFPRINT(lt,(function(E,k){E.label.print(k);k.colon();E.body.print(k)}));DEFPRINT(rt,(function(E,k){E.body.print(k);k.semicolon()}));function print_braced_empty(E,k){k.print("{");k.with_indent(k.next_indent(),(function(){k.append_comments(E,true)}));k.print("}")}function print_braced(E,k,S){if(E.body.length>0){k.with_block((function(){display_body(E.body,false,k,S)}))}else print_braced_empty(E,k)}DEFPRINT(st,(function(E,k){print_braced(E,k)}));DEFPRINT(ot,(function(E,k){k.semicolon()}));DEFPRINT(ft,(function(E,k){k.print("do");k.space();make_block(E.body,k);k.space();k.print("while");k.space();k.with_parens((function(){E.condition.print(k)}));k.semicolon()}));DEFPRINT(dt,(function(E,k){k.print("while");k.space();k.with_parens((function(){E.condition.print(k)}));k.space();E._do_print_body(k)}));DEFPRINT(ht,(function(E,k){k.print("for");k.space();k.with_parens((function(){if(E.init){if(E.init instanceof Wt){E.init.print(k)}else{parenthesize_for_noin(E.init,k,true)}k.print(";");k.space()}else{k.print(";")}if(E.condition){E.condition.print(k);k.print(";");k.space()}else{k.print(";")}if(E.step){E.step.print(k)}}));k.space();E._do_print_body(k)}));DEFPRINT(mt,(function(E,k){k.print("for");if(E.await){k.space();k.print("await")}k.space();k.with_parens((function(){E.init.print(k);k.space();k.print(E instanceof gt?"of":"in");k.space();E.object.print(k)}));k.space();E._do_print_body(k)}));DEFPRINT(yt,(function(E,k){k.print("with");k.space();k.with_parens((function(){E.expression.print(k)}));k.space();E._do_print_body(k)}));Et.DEFMETHOD("_do_print",(function(E,k){var S=this;if(!k){if(S.async){E.print("async");E.space()}E.print("function");if(S.is_generator){E.star()}if(S.name){E.space()}}if(S.name instanceof Rn){S.name.print(E)}else if(k&&S.name instanceof Ze){E.with_square((function(){S.name.print(E)}))}E.with_parens((function(){S.argnames.forEach((function(k,S){if(S)E.comma();k.print(E)}))}));E.space();print_braced(S,E,true)}));DEFPRINT(Et,(function(E,k){E._do_print(k)}));DEFPRINT(Ct,(function(E,k){var S=E.prefix;var w=S instanceof Et||S instanceof mn||S instanceof gn||S instanceof sn||S instanceof pn||S instanceof an&&S.expression instanceof bn;if(w)k.print("(");E.prefix.print(k);if(w)k.print(")");E.template_string.print(k)}));DEFPRINT(Dt,(function(E,k){var S=k.parent()instanceof Ct;k.print("`");for(var w=0;w");E.space();const N=k.body[0];if(k.body.length===1&&N instanceof Pt){const k=N.value;if(!k){E.print("{}")}else if(left_is_object(k)){E.print("(");k.print(E);E.print(")")}else{k.print(E)}}else{print_braced(k,E)}if(w){E.print(")")}}));It.DEFMETHOD("_do_print",(function(E,k){E.print(k);if(this.value){E.space();const k=this.value.start.comments_before;if(k&&k.length&&!E.printed_comments.has(k)){E.print("(");this.value.print(E);E.print(")")}else{this.value.print(E)}}E.semicolon()}));DEFPRINT(Pt,(function(E,k){E._do_print(k,"return")}));DEFPRINT(Ot,(function(E,k){E._do_print(k,"throw")}));DEFPRINT(Lt,(function(E,k){var S=E.is_star?"*":"";k.print("yield"+S);if(E.expression){k.space();E.expression.print(k)}}));DEFPRINT(Bt,(function(E,k){k.print("await");k.space();var S=E.expression;var w=!(S instanceof nn||S instanceof Yn||S instanceof on||S instanceof pn||S instanceof ir||S instanceof Bt||S instanceof bn);if(w)k.print("(");E.expression.print(k);if(w)k.print(")")}));Rt.DEFMETHOD("_do_print",(function(E,k){E.print(k);if(this.label){E.space();this.label.print(E)}E.semicolon()}));DEFPRINT(Ft,(function(E,k){E._do_print(k,"break")}));DEFPRINT(Nt,(function(E,k){E._do_print(k,"continue")}));function make_then(E,k){var S=E.body;if(k.option("braces")||k.option("ie8")&&S instanceof ft)return make_block(S,k);if(!S)return k.force_semicolon();while(true){if(S instanceof jt){if(!S.alternative){make_block(E.body,k);return}S=S.alternative}else if(S instanceof ut){S=S.body}else break}force_statement(E.body,k)}DEFPRINT(jt,(function(E,k){k.print("if");k.space();k.with_parens((function(){E.condition.print(k)}));k.space();if(E.alternative){make_then(E,k);k.space();k.print("else");k.space();if(E.alternative instanceof jt)E.alternative.print(k);else force_statement(E.alternative,k)}else{E._do_print_body(k)}}));DEFPRINT($t,(function(E,k){k.print("switch");k.space();k.with_parens((function(){E.expression.print(k)}));k.space();var S=E.body.length-1;if(S<0)print_braced_empty(E,k);else k.with_block((function(){E.body.forEach((function(E,w){k.indent(true);E.print(k);if(w0)k.newline()}))}))}));zt.DEFMETHOD("_do_print_body",(function(E){E.newline();this.body.forEach((function(k){E.indent();k.print(E);E.newline()}))}));DEFPRINT(Ut,(function(E,k){k.print("default:");E._do_print_body(k)}));DEFPRINT(Gt,(function(E,k){k.print("case");k.space();E.expression.print(k);k.print(":");E._do_print_body(k)}));DEFPRINT(qt,(function(E,k){k.print("try");k.space();print_braced(E,k);if(E.bcatch){k.space();E.bcatch.print(k)}if(E.bfinally){k.space();E.bfinally.print(k)}}));DEFPRINT(Vt,(function(E,k){k.print("catch");if(E.argname){k.space();k.with_parens((function(){E.argname.print(k)}))}k.space();print_braced(E,k)}));DEFPRINT(Ht,(function(E,k){k.print("finally");k.space();print_braced(E,k)}));Wt.DEFMETHOD("_do_print",(function(E,k){E.print(k);E.space();this.definitions.forEach((function(k,S){if(S)E.comma();k.print(E)}));var S=E.parent();var w=S instanceof ht||S instanceof mt;var N=!w||S&&S.init!==this;if(N)E.semicolon()}));DEFPRINT(Xt,(function(E,k){E._do_print(k,"let")}));DEFPRINT(Kt,(function(E,k){E._do_print(k,"var")}));DEFPRINT(Qt,(function(E,k){E._do_print(k,"const")}));DEFPRINT(Zt,(function(E,k){k.print("import");k.space();if(E.imported_name){E.imported_name.print(k)}if(E.imported_name&&E.imported_names){k.print(",");k.space()}if(E.imported_names){if(E.imported_names.length===1&&E.imported_names[0].foreign_name.name==="*"){E.imported_names[0].print(k)}else{k.print("{");E.imported_names.forEach((function(S,w){k.space();S.print(k);if(w{if(E instanceof _t)return true;if(E instanceof mn&&E.operator=="in"){return vr}}))}E.print(k,w)}DEFPRINT(Jt,(function(E,k){E.name.print(k);if(E.value){k.space();k.print("=");k.space();var S=k.parent(1);var w=S instanceof ht||S instanceof mt;parenthesize_for_noin(E.value,k,w)}}));DEFPRINT(nn,(function(E,k){E.expression.print(k);if(E instanceof rn&&E.args.length===0)return;if(E.expression instanceof nn||E.expression instanceof Et){k.add_mapping(E.start)}if(E.optional)k.print("?.");k.with_parens((function(){E.args.forEach((function(E,S){if(S)k.comma();E.print(k)}))}))}));DEFPRINT(rn,(function(E,k){k.print("new");k.space();nn.prototype._codegen(E,k)}));sn.DEFMETHOD("_do_print",(function(E){this.expressions.forEach((function(k,S){if(S>0){E.comma();if(E.should_break()){E.newline();E.indent()}}k.print(E)}))}));DEFPRINT(sn,(function(E,k){E._do_print(k)}));DEFPRINT(an,(function(E,k){var S=E.expression;S.print(k);var w=E.property;var N=_e.has(w)?k.option("ie8"):!is_identifier_string(w,k.option("ecma")>=2015||k.option("safari10"));if(E.optional)k.print("?.");if(N){k.print("[");k.add_mapping(E.end);k.print_string(w);k.print("]")}else{if(S instanceof ar&&S.getValue()>=0){if(!/[xa-f.)]/i.test(k.last())){k.print(".")}}if(!E.optional)k.print(".");k.add_mapping(E.end);k.print_name(w)}}));DEFPRINT(un,(function(E,k){var S=E.expression;S.print(k);var w=E.property;if(E.optional)k.print("?");k.print(".#");k.print_name(w)}));DEFPRINT(ln,(function(E,k){E.expression.print(k);if(E.optional)k.print("?.");k.print("[");E.property.print(k);k.print("]")}));DEFPRINT(cn,(function(E,k){E.expression.print(k)}));DEFPRINT(dn,(function(E,k){var S=E.operator;k.print(S);if(/^[a-z]/i.test(S)||/[+-]$/.test(S)&&E.expression instanceof dn&&/^[+-]/.test(E.expression.operator)){k.space()}E.expression.print(k)}));DEFPRINT(hn,(function(E,k){E.expression.print(k);k.print(E.operator)}));DEFPRINT(mn,(function(E,k){var S=E.operator;E.left.print(k);if(S[0]==">"&&E.left instanceof hn&&E.left.operator=="--"){k.print(" ")}else{k.space()}k.print(S);if((S=="<"||S=="<<")&&E.right instanceof dn&&E.right.operator=="!"&&E.right.expression instanceof dn&&E.right.expression.operator=="--"){k.print(" ")}else{k.space()}E.right.print(k)}));DEFPRINT(gn,(function(E,k){E.condition.print(k);k.space();k.print("?");k.space();E.consequent.print(k);k.space();k.colon();E.alternative.print(k)}));DEFPRINT(vn,(function(E,k){k.with_square((function(){var S=E.elements,w=S.length;if(w>0)k.space();S.forEach((function(E,S){if(S)k.comma();E.print(k);if(S===w-1&&E instanceof hr)k.comma()}));if(w>0)k.space()}))}));DEFPRINT(bn,(function(E,k){if(E.properties.length>0)k.with_block((function(){E.properties.forEach((function(E,S){if(S){k.print(",");k.newline()}k.indent();E.print(k)}));k.newline()}));else print_braced_empty(E,k)}));DEFPRINT(Mn,(function(E,k){k.print("class");k.space();if(E.name){E.name.print(k);k.space()}if(E.extends){var S=!(E.extends instanceof Yn)&&!(E.extends instanceof on)&&!(E.extends instanceof On)&&!(E.extends instanceof xt);k.print("extends");if(S){k.print("(")}else{k.space()}E.extends.print(k);if(S){k.print(")")}else{k.space()}}if(E.properties.length>0)k.with_block((function(){E.properties.forEach((function(E,S){if(S){k.newline()}k.indent();E.print(k)}));k.newline()}));else k.print("{}")}));DEFPRINT(Fn,(function(E,k){k.print("new.target")}));function print_property_name(E,k,S){if(S.option("quote_keys")){return S.print_string(E)}if(""+ +E==E&&E>=0){if(S.option("keep_numbers")){return S.print(E)}return S.print(make_num(E))}var w=_e.has(E)?S.option("ie8"):S.option("ecma")<2015||S.option("safari10")?!is_basic_identifier_string(E):!is_identifier_string(E,true);if(w||k&&S.option("keep_quoted_props")){return S.print_string(E,k)}return S.print_name(E)}DEFPRINT(kn,(function(E,k){function get_name(E){var k=E.definition();return k?k.mangled_name||k.name:E.name}var S=k.option("shorthand");if(S&&E.value instanceof Rn&&is_identifier_string(E.key,k.option("ecma")>=2015||k.option("safari10"))&&get_name(E.value)===E.key&&!_e.has(E.key)){print_property_name(E.key,E.quote,k)}else if(S&&E.value instanceof _n&&E.value.left instanceof Rn&&is_identifier_string(E.key,k.option("ecma")>=2015||k.option("safari10"))&&get_name(E.value.left)===E.key){print_property_name(E.key,E.quote,k);k.space();k.print("=");k.space();E.value.right.print(k)}else{if(!(E.key instanceof Ze)){print_property_name(E.key,E.quote,k)}else{k.with_square((function(){E.key.print(k)}))}k.colon();E.value.print(k)}}));DEFPRINT(In,((E,k)=>{if(E.static){k.print("static");k.space()}k.print("#");print_property_name(E.key.name,E.quote,k);if(E.value){k.print("=");E.value.print(k)}k.semicolon()}));DEFPRINT(Tn,((E,k)=>{if(E.static){k.print("static");k.space()}if(E.key instanceof qn){print_property_name(E.key.name,E.quote,k)}else{k.print("[");E.key.print(k);k.print("]")}if(E.value){k.print("=");E.value.print(k)}k.semicolon()}));En.DEFMETHOD("_print_getter_setter",(function(E,k,S){var w=this;if(w.static){S.print("static");S.space()}if(E){S.print(E);S.space()}if(w.key instanceof Gn){if(k)S.print("#");print_property_name(w.key.name,w.quote,S)}else{S.with_square((function(){w.key.print(S)}))}w.value._do_print(S,true)}));DEFPRINT(wn,(function(E,k){E._print_getter_setter("set",false,k)}));DEFPRINT(An,(function(E,k){E._print_getter_setter("get",false,k)}));DEFPRINT(xn,(function(E,k){E._print_getter_setter("set",true,k)}));DEFPRINT(Sn,(function(E,k){E._print_getter_setter("get",true,k)}));DEFPRINT(Dn,(function(E,k){var S;if(E.is_generator&&E.async){S="async*"}else if(E.is_generator){S="*"}else if(E.async){S="async"}E._print_getter_setter(S,true,k)}));DEFPRINT(Cn,(function(E,k){var S;if(E.is_generator&&E.async){S="async*"}else if(E.is_generator){S="*"}else if(E.async){S="async"}E._print_getter_setter(S,false,k)}));Rn.DEFMETHOD("_do_print",(function(E){var k=this.definition();E.print_name(k?k.mangled_name||k.name:this.name)}));DEFPRINT(Rn,(function(E,k){E._do_print(k)}));DEFPRINT(hr,noop);DEFPRINT(nr,(function(E,k){k.print("this")}));DEFPRINT(rr,(function(E,k){k.print("super")}));DEFPRINT(ir,(function(E,k){k.print(E.getValue())}));DEFPRINT(sr,(function(E,k){k.print_string(E.getValue(),E.quote,k.in_directive)}));DEFPRINT(ar,(function(E,k){if((k.option("keep_numbers")||k.use_asm)&&E.raw){k.print(E.raw)}else{k.print(make_num(E.getValue()))}}));DEFPRINT(ur,(function(E,k){k.print(E.getValue()+"n")}));const E=/(<\s*\/\s*script)/i;const slash_script_replace=(E,k)=>k.replace("/","\\/");DEFPRINT(lr,(function(k,S){let{source:w,flags:N}=k.getValue();w=regexp_source_fix(w);N=N?sort_regexp_flags(N):"";w=w.replace(E,slash_script_replace);S.print(S.to_utf8(`/${w}/${N}`));const j=S.parent();if(j instanceof mn&&/^\w/.test(j.operator)&&j.left===k){S.print(" ")}}));function force_statement(E,k){if(k.option("braces")){make_block(E,k)}else{if(!E||E instanceof ot)k.force_semicolon();else E.print(k)}}function best_of(E){var k=E[0],S=k.length;for(var w=1;wE===null&&k===null||E.TYPE===k.TYPE&&E.shallow_cmp(k);const equivalent_to=(E,k)=>{if(!shallow_cmp(E,k))return false;const S=[E];const w=[k];const N=S.push.bind(S);const j=w.push.bind(w);while(S.length&&w.length){const E=S.pop();const k=w.pop();if(!shallow_cmp(E,k))return false;E._children_backwards(N);k._children_backwards(j);if(S.length!==w.length){return false}}return S.length==0&&w.length==0};const mkshallow=E=>{const k=Object.keys(E).map((k=>{if(E[k]==="eq"){return`this.${k} === other.${k}`}else if(E[k]==="exist"){return`(this.${k} == null ? other.${k} == null : this.${k} === other.${k})`}else{throw new Error(`mkshallow: Unexpected instruction: ${E[k]}`)}})).join(" && ");return new Function("other","return "+k)};const pass_through=()=>true;Ze.prototype.shallow_cmp=function(){throw new Error("did not find a shallow_cmp function for "+this.constructor.name)};tt.prototype.shallow_cmp=pass_through;nt.prototype.shallow_cmp=mkshallow({value:"eq"});rt.prototype.shallow_cmp=pass_through;it.prototype.shallow_cmp=pass_through;ot.prototype.shallow_cmp=pass_through;lt.prototype.shallow_cmp=mkshallow({"label.name":"eq"});ft.prototype.shallow_cmp=pass_through;dt.prototype.shallow_cmp=pass_through;ht.prototype.shallow_cmp=mkshallow({init:"exist",condition:"exist",step:"exist"});mt.prototype.shallow_cmp=pass_through;gt.prototype.shallow_cmp=pass_through;yt.prototype.shallow_cmp=pass_through;vt.prototype.shallow_cmp=pass_through;bt.prototype.shallow_cmp=pass_through;Et.prototype.shallow_cmp=mkshallow({is_generator:"eq",async:"eq"});At.prototype.shallow_cmp=mkshallow({is_array:"eq"});Ct.prototype.shallow_cmp=pass_through;Dt.prototype.shallow_cmp=pass_through;Mt.prototype.shallow_cmp=mkshallow({value:"eq"});Tt.prototype.shallow_cmp=pass_through;Rt.prototype.shallow_cmp=pass_through;Bt.prototype.shallow_cmp=pass_through;Lt.prototype.shallow_cmp=mkshallow({is_star:"eq"});jt.prototype.shallow_cmp=mkshallow({alternative:"exist"});$t.prototype.shallow_cmp=pass_through;zt.prototype.shallow_cmp=pass_through;qt.prototype.shallow_cmp=mkshallow({bcatch:"exist",bfinally:"exist"});Vt.prototype.shallow_cmp=mkshallow({argname:"exist"});Ht.prototype.shallow_cmp=pass_through;Wt.prototype.shallow_cmp=pass_through;Jt.prototype.shallow_cmp=mkshallow({value:"exist"});Yt.prototype.shallow_cmp=pass_through;Zt.prototype.shallow_cmp=mkshallow({imported_name:"exist",imported_names:"exist"});en.prototype.shallow_cmp=pass_through;tn.prototype.shallow_cmp=mkshallow({exported_definition:"exist",exported_value:"exist",exported_names:"exist",module_name:"eq",is_default:"eq"});nn.prototype.shallow_cmp=pass_through;sn.prototype.shallow_cmp=pass_through;on.prototype.shallow_cmp=pass_through;cn.prototype.shallow_cmp=pass_through;an.prototype.shallow_cmp=mkshallow({property:"eq"});pn.prototype.shallow_cmp=mkshallow({operator:"eq"});mn.prototype.shallow_cmp=mkshallow({operator:"eq"});gn.prototype.shallow_cmp=pass_through;vn.prototype.shallow_cmp=pass_through;bn.prototype.shallow_cmp=pass_through;En.prototype.shallow_cmp=pass_through;kn.prototype.shallow_cmp=mkshallow({key:"eq"});wn.prototype.shallow_cmp=mkshallow({static:"eq"});An.prototype.shallow_cmp=mkshallow({static:"eq"});Cn.prototype.shallow_cmp=mkshallow({static:"eq",is_generator:"eq",async:"eq"});Mn.prototype.shallow_cmp=mkshallow({name:"exist",extends:"exist"});Tn.prototype.shallow_cmp=mkshallow({static:"eq"});Rn.prototype.shallow_cmp=mkshallow({name:"eq"});Fn.prototype.shallow_cmp=pass_through;nr.prototype.shallow_cmp=pass_through;rr.prototype.shallow_cmp=pass_through;sr.prototype.shallow_cmp=mkshallow({value:"eq"});ar.prototype.shallow_cmp=mkshallow({value:"eq"});ur.prototype.shallow_cmp=mkshallow({value:"eq"});lr.prototype.shallow_cmp=function(E){return this.value.flags===E.value.flags&&this.value.source===E.value.source};cr.prototype.shallow_cmp=pass_through;const Dr=1<<0;const Mr=1<<1;let Tr=null;let Ir=null;class SymbolDef{constructor(E,k,S){this.name=k.name;this.orig=[k];this.init=S;this.eliminated=0;this.assignments=0;this.scope=E;this.replaced=0;this.global=false;this.export=0;this.mangled_name=null;this.undeclared=false;this.id=SymbolDef.next_id++;this.chained=false;this.direct_access=false;this.escaped=0;this.recursive_refs=0;this.references=[];this.should_replace=undefined;this.single_use=false;this.fixed=false;Object.seal(this)}fixed_value(){if(!this.fixed||this.fixed instanceof Ze)return this.fixed;return this.fixed()}unmangleable(E){if(!E)E={};if(Tr&&Tr.has(this.id)&&keep_name(E.keep_fnames,this.orig[0].name))return true;return this.global&&!E.toplevel||this.export&Dr||this.undeclared||!E.eval&&this.scope.pinned()||(this.orig[0]instanceof Vn||this.orig[0]instanceof Un)&&keep_name(E.keep_fnames,this.orig[0].name)||this.orig[0]instanceof Gn||(this.orig[0]instanceof Wn||this.orig[0]instanceof Hn)&&keep_name(E.keep_classnames,this.orig[0].name)}mangle(E){const k=E.cache&&E.cache.props;if(this.global&&k&&k.has(this.name)){this.mangled_name=k.get(this.name)}else if(!this.mangled_name&&!this.unmangleable(E)){var S=this.scope;var w=this.orig[0];if(E.ie8&&w instanceof Vn)S=S.parent_scope;const N=redefined_catch_def(this);this.mangled_name=N?N.mangled_name||N.name:S.next_mangled(E,this);if(this.global&&k){k.set(this.name,this.mangled_name)}}}}SymbolDef.next_id=1;function redefined_catch_def(E){if(E.orig[0]instanceof Kn&&E.scope.is_block_scope()){return E.scope.get_defun_scope().variables.get(E.name)}}_t.DEFMETHOD("figure_out_scope",(function(E,{parent_scope:k=null,toplevel:S=this}={}){E=defaults(E,{cache:null,ie8:false,safari10:false});if(!(S instanceof vt)){throw new Error("Invalid toplevel scope")}var w=this.parent_scope=k;var N=new Map;var j=null;var q=null;var ee=[];var te=new TreeWalker(((k,S)=>{if(k.is_block_scope()){const N=w;k.block_scope=w=new _t(k);w._block_scope=true;const j=k instanceof Vt?N.parent_scope:N;w.init_scope_vars(j);w.uses_with=N.uses_with;w.uses_eval=N.uses_eval;if(E.safari10){if(k instanceof ht||k instanceof mt){ee.push(w)}}if(k instanceof $t){const E=w;w=N;k.expression.walk(te);w=E;for(let E=0;E{if(E===k)return true;if(k instanceof Ln){return E instanceof Vn}return!(E instanceof $n||E instanceof jn)}))){js_error(`"${k.name}" is redeclared`,k.start.file,k.start.line,k.start.col,k.start.pos)}if(!(k instanceof zn))mark_export(we,2);if(j!==w){k.mark_enclosed();var we=w.find_variable(k);if(k.thedef!==we){k.thedef=we;k.reference()}}}else if(k instanceof tr){var Ce=N.get(k.name);if(!Ce)throw new Error(string_template("Undefined label {name} [{line},{col}]",{name:k.name,line:k.start.line,col:k.start.col}));k.thedef=Ce}if(!(w instanceof vt)&&(k instanceof tn||k instanceof Zt)){js_error(`"${k.TYPE}" statement may only appear at the top level`,k.start.file,k.start.line,k.start.col,k.start.pos)}}));this.walk(te);function mark_export(E,k){if(q){var S=0;do{k++}while(te.parent(S++)!==q)}var w=te.parent(k);if(E.export=w instanceof tn?Dr:0){var N=w.exported_definition;if((N instanceof wt||N instanceof Pn)&&w.is_default){E.export=Mr}}}const ne=this instanceof vt;if(ne){this.globals=new Map}var te=new TreeWalker((E=>{if(E instanceof Rt&&E.label){E.label.thedef.references.push(E);return true}if(E instanceof Yn){var k=E.name;if(k=="eval"&&te.parent()instanceof nn){for(var w=E.scope;w&&!w.uses_eval;w=w.parent_scope){w.uses_eval=true}}var N;if(te.parent()instanceof Yt&&te.parent(1).module_name||!(N=E.scope.find_variable(k))){N=S.def_global(E);if(E instanceof Zn)N.export=Dr}else if(N.scope instanceof Et&&k=="arguments"){N.scope.uses_arguments=true}E.thedef=N;E.reference();if(E.scope.is_block_scope()&&!(N.orig[0]instanceof Ln)){E.scope=E.scope.get_defun_scope()}return true}var j;if(E instanceof Kn&&(j=redefined_catch_def(E.definition()))){var w=E.scope;while(w){push_uniq(w.enclosed,j);if(w===j.scope)break;w=w.parent_scope}}}));this.walk(te);if(E.ie8||E.safari10){walk(this,(E=>{if(E instanceof Kn){var k=E.name;var w=E.thedef.references;var N=E.scope.get_defun_scope();var j=N.find_variable(k)||S.globals.get(k)||N.def_variable(E);w.forEach((function(E){E.thedef=j;E.reference()}));E.thedef=j;E.reference();return true}}))}if(E.safari10){for(const E of ee){E.parent_scope.variables.forEach((function(k){push_uniq(E.enclosed,k)}))}}}));vt.DEFMETHOD("def_global",(function(E){var k=this.globals,S=E.name;if(k.has(S)){return k.get(S)}else{var w=new SymbolDef(this,E);w.undeclared=true;w.global=true;k.set(S,w);return w}}));_t.DEFMETHOD("init_scope_vars",(function(E){this.variables=new Map;this.functions=new Map;this.uses_with=false;this.uses_eval=false;this.parent_scope=E;this.enclosed=[];this.cname=-1}));_t.DEFMETHOD("conflicting_def",(function(E){return this.enclosed.find((k=>k.name===E))||this.variables.has(E)||this.parent_scope&&this.parent_scope.conflicting_def(E)}));_t.DEFMETHOD("conflicting_def_shallow",(function(E){return this.enclosed.find((k=>k.name===E))||this.variables.has(E)}));_t.DEFMETHOD("add_child_scope",(function(E){if(E.parent_scope===this)return;E.parent_scope=this;const k=(()=>{const E=[];let k=this;do{E.push(k)}while(k=k.parent_scope);E.reverse();return E})();const S=new Set(E.enclosed);const w=[];for(const E of k){w.forEach((k=>push_uniq(E.enclosed,k)));for(const k of E.variables.values()){if(S.has(k)){push_uniq(w,k);push_uniq(E.enclosed,k)}}}}));function find_scopes_visible_from(E){const k=new Set;for(const S of new Set(E)){(function bubble_up(E){if(E==null||k.has(E))return;k.add(E);bubble_up(E.parent_scope)})(S)}return[...k]}_t.DEFMETHOD("create_symbol",(function(E,{source:k,tentative_name:S,scope:w,conflict_scopes:N=[w],init:j=null}={}){let q;N=find_scopes_visible_from(N);if(S){S=q=S.replace(/(?:^[^a-z_$]|[^a-z0-9_$])/gi,"_");let E=0;while(N.find((E=>E.conflicting_def_shallow(q)))){q=S+"$"+E++}}if(!q){throw new Error("No symbol name could be generated in create_symbol()")}const ee=make_node(E,k,{name:q,scope:w});this.def_variable(ee,j||null);ee.mark_enclosed();return ee}));Ze.DEFMETHOD("is_block_scope",return_false);Mn.DEFMETHOD("is_block_scope",return_false);Et.DEFMETHOD("is_block_scope",return_false);vt.DEFMETHOD("is_block_scope",return_false);zt.DEFMETHOD("is_block_scope",return_false);it.DEFMETHOD("is_block_scope",return_true);_t.DEFMETHOD("is_block_scope",(function(){return this._block_scope||false}));ct.DEFMETHOD("is_block_scope",return_true);Et.DEFMETHOD("init_scope_vars",(function(){_t.prototype.init_scope_vars.apply(this,arguments);this.uses_arguments=false;this.def_variable(new zn({name:"arguments",start:this.start,end:this.end}))}));St.DEFMETHOD("init_scope_vars",(function(){_t.prototype.init_scope_vars.apply(this,arguments);this.uses_arguments=false}));Rn.DEFMETHOD("mark_enclosed",(function(){var E=this.definition();var k=this.scope;while(k){push_uniq(k.enclosed,E);if(k===E.scope)break;k=k.parent_scope}}));Rn.DEFMETHOD("reference",(function(){this.definition().references.push(this);this.mark_enclosed()}));_t.DEFMETHOD("find_variable",(function(E){if(E instanceof Rn)E=E.name;return this.variables.get(E)||this.parent_scope&&this.parent_scope.find_variable(E)}));_t.DEFMETHOD("def_function",(function(E,k){var S=this.def_variable(E,k);if(!S.init||S.init instanceof wt)S.init=k;this.functions.set(E.name,S);return S}));_t.DEFMETHOD("def_variable",(function(E,k){var S=this.variables.get(E.name);if(S){S.orig.push(E);if(S.init&&(S.scope!==E.scope||S.init instanceof xt)){S.init=k}}else{S=new SymbolDef(this,E,k);this.variables.set(E.name,S);S.global=!this.parent_scope}return E.thedef=S}));function next_mangled(E,k){var S=E.enclosed;e:while(true){var w=Pr(++E.cname);if(_e.has(w))continue;if(k.reserved.has(w))continue;if(Ir&&Ir.has(w))continue e;for(let E=S.length;--E>=0;){const N=S[E];const j=N.mangled_name||N.unmangleable(k)&&N.name;if(w==j)continue e}return w}}_t.DEFMETHOD("next_mangled",(function(E){return next_mangled(this,E)}));vt.DEFMETHOD("next_mangled",(function(E){let k;const S=this.mangled_names;do{k=next_mangled(this,E)}while(S.has(k));return k}));xt.DEFMETHOD("next_mangled",(function(E,k){var S=k.orig[0]instanceof zn&&this.name&&this.name.definition();var w=S?S.mangled_name||S.name:null;while(true){var N=next_mangled(this,E);if(!w||w!=N)return N}}));Rn.DEFMETHOD("unmangleable",(function(E){var k=this.definition();return!k||k.unmangleable(E)}));Jn.DEFMETHOD("unmangleable",return_false);Rn.DEFMETHOD("unreferenced",(function(){return!this.definition().references.length&&!this.scope.pinned()}));Rn.DEFMETHOD("definition",(function(){return this.thedef}));Rn.DEFMETHOD("global",(function(){return this.thedef.global}));vt.DEFMETHOD("_default_mangler_options",(function(E){E=defaults(E,{eval:false,ie8:false,keep_classnames:false,keep_fnames:false,module:false,reserved:[],toplevel:false});if(E.module)E.toplevel=true;if(!Array.isArray(E.reserved)&&!(E.reserved instanceof Set)){E.reserved=[]}E.reserved=new Set(E.reserved);E.reserved.add("arguments");return E}));vt.DEFMETHOD("mangle_names",(function(E){E=this._default_mangler_options(E);var k=-1;var S=[];if(E.keep_fnames){Tr=new Set}const w=this.mangled_names=new Set;if(E.cache){this.globals.forEach(collect);if(E.cache.props){E.cache.props.forEach((function(E){w.add(E)}))}}var N=new TreeWalker((function(w,N){if(w instanceof lt){var j=k;N();k=j;return true}if(w instanceof _t){w.variables.forEach(collect);return}if(w.is_block_scope()){w.block_scope.variables.forEach(collect);return}if(Tr&&w instanceof Jt&&w.value instanceof Et&&!w.value.name&&keep_name(E.keep_fnames,w.name.name)){Tr.add(w.name.definition().id);return}if(w instanceof Jn){let E;do{E=Pr(++k)}while(_e.has(E));w.mangled_name=E;return true}if(!(E.ie8||E.safari10)&&w instanceof Kn){S.push(w.definition());return}}));this.walk(N);if(E.keep_fnames||E.keep_classnames){Ir=new Set;S.forEach((k=>{if(k.name.length<6&&k.unmangleable(E)){Ir.add(k.name)}}))}S.forEach((k=>{k.mangle(E)}));Tr=null;Ir=null;function collect(k){const w=!E.reserved.has(k.name)&&!(k.export&Dr);if(w){S.push(k)}}}));vt.DEFMETHOD("find_colliding_names",(function(E){const k=E.cache&&E.cache.props;const S=new Set;E.reserved.forEach(to_avoid);this.globals.forEach(add_def);this.walk(new TreeWalker((function(E){if(E instanceof _t)E.variables.forEach(add_def);if(E instanceof Kn)add_def(E.definition())})));return S;function to_avoid(E){S.add(E)}function add_def(S){var w=S.name;if(S.global&&k&&k.has(w))w=k.get(w);else if(!S.unmangleable(E))return;to_avoid(w)}}));vt.DEFMETHOD("expand_names",(function(E){Pr.reset();Pr.sort();E=this._default_mangler_options(E);var k=this.find_colliding_names(E);var S=0;this.globals.forEach(rename);this.walk(new TreeWalker((function(E){if(E instanceof _t)E.variables.forEach(rename);if(E instanceof Kn)rename(E.definition())})));function next_name(){var E;do{E=Pr(S++)}while(k.has(E)||_e.has(E));return E}function rename(k){if(k.global&&E.cache)return;if(k.unmangleable(E))return;if(E.reserved.has(k.name))return;const S=redefined_catch_def(k);const w=k.name=S?S.name:next_name();k.orig.forEach((function(E){E.name=w}));k.references.forEach((function(E){E.name=w}))}}));Ze.DEFMETHOD("tail_node",return_this);sn.DEFMETHOD("tail_node",(function(){return this.expressions[this.expressions.length-1]}));vt.DEFMETHOD("compute_char_frequency",(function(E){E=this._default_mangler_options(E);try{Ze.prototype.print=function(k,S){this._print(k,S);if(this instanceof Rn&&!this.unmangleable(E)){Pr.consider(this.name,-1)}else if(E.properties){if(this instanceof un){Pr.consider("#"+this.property,-1)}else if(this instanceof an){Pr.consider(this.property,-1)}else if(this instanceof ln){skip_string(this.property)}}};Pr.consider(this.print_to_string(),1)}finally{Ze.prototype.print=Ze.prototype._print}Pr.sort();function skip_string(E){if(E instanceof sr){Pr.consider(E.value,-1)}else if(E instanceof gn){skip_string(E.consequent);skip_string(E.alternative)}else if(E instanceof sn){skip_string(E.tail_node())}}}));const Pr=(()=>{const E="abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ$_".split("");const k="0123456789".split("");let S;let w;function reset(){w=new Map;E.forEach((function(E){w.set(E,0)}));k.forEach((function(E){w.set(E,0)}))}base54.consider=function(E,k){for(var S=E.length;--S>=0;){w.set(E[S],w.get(E[S])+k)}};function compare(E,k){return w.get(k)-w.get(E)}base54.sort=function(){S=mergeSort(E,compare).concat(mergeSort(k,compare))};base54.reset=reset;reset();function base54(E){var k="",w=54;E++;do{E--;k+=S[E%w];E=Math.floor(E/w);w=64}while(E>0);return k}return base54})();let Or=undefined;Ze.prototype.size=function(E,k){Or=E&&E.mangle_options;let S=0;walk_parent(this,((E,k)=>{S+=E._size(k);if(E instanceof St&&E.is_braceless()){S+=E.body[0].value._size(k);return true}}),k||E&&E.stack);Or=undefined;return S};Ze.prototype._size=()=>0;tt.prototype._size=()=>8;nt.prototype._size=function(){return 2+this.value.length};const list_overhead=E=>E.length&&E.length-1;it.prototype._size=function(){return 2+list_overhead(this.body)};vt.prototype._size=function(){return list_overhead(this.body)};ot.prototype._size=()=>1;lt.prototype._size=()=>2;ft.prototype._size=()=>9;dt.prototype._size=()=>7;ht.prototype._size=()=>8;mt.prototype._size=()=>8;yt.prototype._size=()=>6;bt.prototype._size=()=>3;const lambda_modifiers=E=>(E.is_generator?1:0)+(E.async?6:0);kt.prototype._size=function(){return lambda_modifiers(this)+4+list_overhead(this.argnames)+list_overhead(this.body)};xt.prototype._size=function(E){const k=!!first_in_statement(E);return k*2+lambda_modifiers(this)+12+list_overhead(this.argnames)+list_overhead(this.body)};wt.prototype._size=function(){return lambda_modifiers(this)+13+list_overhead(this.argnames)+list_overhead(this.body)};St.prototype._size=function(){let E=2+list_overhead(this.argnames);if(!(this.argnames.length===1&&this.argnames[0]instanceof Rn)){E+=2}const k=this.is_braceless()?0:list_overhead(this.body)+2;return lambda_modifiers(this)+E+k};At.prototype._size=()=>2;Dt.prototype._size=function(){return 2+Math.floor(this.segments.length/2)*3};Mt.prototype._size=function(){return this.value.length};Pt.prototype._size=function(){return this.value?7:6};Ot.prototype._size=()=>6;Ft.prototype._size=function(){return this.label?6:5};Nt.prototype._size=function(){return this.label?9:8};jt.prototype._size=()=>4;$t.prototype._size=function(){return 8+list_overhead(this.body)};Gt.prototype._size=function(){return 5+list_overhead(this.body)};Ut.prototype._size=function(){return 8+list_overhead(this.body)};qt.prototype._size=function(){return 3+list_overhead(this.body)};Vt.prototype._size=function(){let E=7+list_overhead(this.body);if(this.argname){E+=2}return E};Ht.prototype._size=function(){return 7+list_overhead(this.body)};const def_size=(E,k)=>E+list_overhead(k.definitions);Kt.prototype._size=function(){return def_size(4,this)};Xt.prototype._size=function(){return def_size(4,this)};Qt.prototype._size=function(){return def_size(6,this)};Jt.prototype._size=function(){return this.value?1:0};Yt.prototype._size=function(){return this.name?4:0};Zt.prototype._size=function(){let E=6;if(this.imported_name)E+=1;if(this.imported_name||this.imported_names)E+=5;if(this.imported_names){E+=2+list_overhead(this.imported_names)}return E};en.prototype._size=()=>11;tn.prototype._size=function(){let E=7+(this.is_default?8:0);if(this.exported_value){E+=this.exported_value._size()}if(this.exported_names){E+=2+list_overhead(this.exported_names)}if(this.module_name){E+=5}return E};nn.prototype._size=function(){if(this.optional){return 4+list_overhead(this.args)}return 2+list_overhead(this.args)};rn.prototype._size=function(){return 6+list_overhead(this.args)};sn.prototype._size=function(){return list_overhead(this.expressions)};an.prototype._size=function(){if(this.optional){return this.property.length+2}return this.property.length+1};un.prototype._size=function(){if(this.optional){return this.property.length+3}return this.property.length+2};ln.prototype._size=function(){return this.optional?4:2};pn.prototype._size=function(){if(this.operator==="typeof")return 7;if(this.operator==="void")return 5;return this.operator.length};mn.prototype._size=function(E){if(this.operator==="in")return 4;let k=this.operator.length;if((this.operator==="+"||this.operator==="-")&&this.right instanceof pn&&this.right.operator===this.operator){k+=1}if(this.needs_parens(E)){k+=2}return k};gn.prototype._size=()=>3;vn.prototype._size=function(){return 2+list_overhead(this.elements)};bn.prototype._size=function(E){let k=2;if(first_in_statement(E)){k+=2}return k+list_overhead(this.properties)};const key_size=E=>typeof E==="string"?E.length:0;kn.prototype._size=function(){return key_size(this.key)+1};const static_size=E=>E?7:0;An.prototype._size=function(){return 5+static_size(this.static)+key_size(this.key)};wn.prototype._size=function(){return 5+static_size(this.static)+key_size(this.key)};Cn.prototype._size=function(){return static_size(this.static)+key_size(this.key)+lambda_modifiers(this)};Dn.prototype._size=function(){return Cn.prototype._size.call(this)+1};Sn.prototype._size=xn.prototype._size=function(){return Cn.prototype._size.call(this)+4};Mn.prototype._size=function(){return(this.name?8:7)+(this.extends?8:0)};Tn.prototype._size=function(){return static_size(this.static)+(typeof this.key==="string"?this.key.length+2:0)+(this.value?1:0)};In.prototype._size=function(){return Tn.prototype._size.call(this)+1};Rn.prototype._size=function(){return!Or||this.definition().unmangleable(Or)?this.name.length:1};qn.prototype._size=function(){return this.name.length};Yn.prototype._size=Nn.prototype._size=function(){const{name:E,thedef:k}=this;if(k&&k.global)return E.length;if(E==="arguments")return 9;return Rn.prototype._size.call(this)};Fn.prototype._size=()=>10;Qn.prototype._size=function(){return this.name.length};er.prototype._size=function(){return this.name.length};nr.prototype._size=()=>4;rr.prototype._size=()=>5;sr.prototype._size=function(){return this.value.length+2};ar.prototype._size=function(){const{value:E}=this;if(E===0)return 1;if(E>0&&Math.floor(E)===E){return Math.floor(Math.log10(E)+1)}return E.toString().length};ur.prototype._size=function(){return this.value.length};lr.prototype._size=function(){return this.value.toString().length};pr.prototype._size=()=>4;fr.prototype._size=()=>3;dr.prototype._size=()=>6;hr.prototype._size=()=>0;mr.prototype._size=()=>8;_r.prototype._size=()=>4;yr.prototype._size=()=>5;Bt.prototype._size=()=>6;Lt.prototype._size=()=>6;const Rr=1;const Fr=2;const Nr=4;const Br=8;const Lr=16;const jr=32;const $r=256;const zr=512;const Ur=1024;const Gr=$r|zr|Ur;const has_flag=(E,k)=>E.flags&k;const set_flag=(E,k)=>{E.flags|=k};const clear_flag=(E,k)=>{E.flags&=~k};class Compressor extends TreeWalker{constructor(E,{false_by_default:k=false,mangle_options:S=false}){super();if(E.defaults!==undefined&&!E.defaults)k=true;this.options=defaults(E,{arguments:false,arrows:!k,booleans:!k,booleans_as_integers:false,collapse_vars:!k,comparisons:!k,computed_props:!k,conditionals:!k,dead_code:!k,defaults:true,directives:!k,drop_console:false,drop_debugger:!k,ecma:5,evaluate:!k,expression:false,global_defs:false,hoist_funs:false,hoist_props:!k,hoist_vars:false,ie8:false,if_return:!k,inline:!k,join_vars:!k,keep_classnames:false,keep_fargs:true,keep_fnames:false,keep_infinity:false,loops:!k,module:false,negate_iife:!k,passes:1,properties:!k,pure_getters:!k&&"strict",pure_funcs:null,reduce_funcs:null,reduce_vars:!k,sequences:!k,side_effects:!k,switches:!k,top_retain:null,toplevel:!!(E&&E["top_retain"]),typeofs:!k,unsafe:false,unsafe_arrows:false,unsafe_comps:false,unsafe_Function:false,unsafe_math:false,unsafe_symbols:false,unsafe_methods:false,unsafe_proto:false,unsafe_regexp:false,unsafe_undefined:false,unused:!k,warnings:false},true);var w=this.options["global_defs"];if(typeof w=="object")for(var N in w){if(N[0]==="@"&&HOP(w,N)){w[N.slice(1)]=parse(w[N],{expression:true})}}if(this.options["inline"]===true)this.options["inline"]=3;var j=this.options["pure_funcs"];if(typeof j=="function"){this.pure_funcs=j}else{this.pure_funcs=j?function(E){return!j.includes(E.expression.print_to_string())}:return_true}var q=this.options["top_retain"];if(q instanceof RegExp){this.top_retain=function(E){return q.test(E.name)}}else if(typeof q=="function"){this.top_retain=q}else if(q){if(typeof q=="string"){q=q.split(/,/)}this.top_retain=function(E){return q.includes(E.name)}}if(this.options["module"]){this.directives["use strict"]=true;this.options["toplevel"]=true}var ee=this.options["toplevel"];this.toplevel=typeof ee=="string"?{funcs:/funcs/.test(ee),vars:/vars/.test(ee)}:{funcs:ee,vars:ee};var te=this.options["sequences"];this.sequences_limit=te==1?800:te|0;this.evaluated_regexps=new Map;this._toplevel=undefined;this.mangle_options=S}option(E){return this.options[E]}exposed(E){if(E.export)return true;if(E.global)for(var k=0,S=E.orig.length;k0||this.option("reduce_vars")){this._toplevel.reset_opt_flags(this)}this._toplevel=this._toplevel.transform(this);if(k>1){let E=0;walk(this._toplevel,(()=>{E++}));if(E=0){N.body[q]=N.body[q].transform(w)}}else if(N instanceof jt){N.body=N.body.transform(w);if(N.alternative){N.alternative=N.alternative.transform(w)}}else if(N instanceof yt){N.body=N.body.transform(w)}return N}));S.transform(w)}));function read_property(E,k){k=get_value(k);if(k instanceof Ze)return;var S;if(E instanceof vn){var w=E.elements;if(k=="length")return make_node_from_constant(w.length,E);if(typeof k=="number"&&k in w)S=w[k]}else if(E instanceof bn){k=""+k;var N=E.properties;for(var j=N.length;--j>=0;){var q=N[j];if(!(q instanceof kn))return;if(!S&&N[j].key===k)S=N[j].value}}return S instanceof Yn&&S.fixed_value()||S}function is_modified(E,k,S,w,N,j){var q=k.parent(N);var ee=is_lhs(S,q);if(ee)return ee;if(!j&&q instanceof nn&&q.expression===S&&!(w instanceof St)&&!(w instanceof Mn)&&!q.is_expr_pure(E)&&(!(w instanceof xt)||!(q instanceof rn)&&w.contains_this())){return true}if(q instanceof vn){return is_modified(E,k,q,q,N+1)}if(q instanceof kn&&S===q.value){var te=k.parent(N+1);return is_modified(E,k,te,te,N+2)}if(q instanceof on&&q.expression===S){var ne=read_property(w,q.property);return!j&&is_modified(E,k,q,ne,N+1)}}(function(E){E(Ze,noop);function reset_def(E,k){k.assignments=0;k.chained=false;k.direct_access=false;k.escaped=0;k.recursive_refs=0;k.references=[];k.single_use=undefined;if(k.scope.pinned()){k.fixed=false}else if(k.orig[0]instanceof jn||!E.exposed(k)){k.fixed=k.init}else{k.fixed=false}}function reset_variables(E,k,S){S.variables.forEach((function(S){reset_def(k,S);if(S.fixed===null){E.defs_to_safe_ids.set(S.id,E.safe_ids);mark(E,S,true)}else if(S.fixed){E.loop_ids.set(S.id,E.in_loop);mark(E,S,true)}}))}function reset_block_variables(E,k){if(k.block_scope)k.block_scope.variables.forEach((k=>{reset_def(E,k)}))}function push(E){E.safe_ids=Object.create(E.safe_ids)}function pop(E){E.safe_ids=Object.getPrototypeOf(E.safe_ids)}function mark(E,k,S){E.safe_ids[k.id]=S}function safe_to_read(E,k){if(k.single_use=="m")return false;if(E.safe_ids[k.id]){if(k.fixed==null){var S=k.orig[0];if(S instanceof zn||S.name=="arguments")return false;k.fixed=make_node(dr,S)}return true}return k.fixed instanceof wt}function safe_to_assign(E,k,S,w){if(k.fixed===undefined)return true;let N;if(k.fixed===null&&(N=E.defs_to_safe_ids.get(k.id))){N[k.id]=false;E.defs_to_safe_ids.delete(k.id);return true}if(!HOP(E.safe_ids,k.id))return false;if(!safe_to_read(E,k))return false;if(k.fixed===false)return false;if(k.fixed!=null&&(!w||k.references.length>k.assignments))return false;if(k.fixed instanceof wt){return w instanceof Ze&&k.fixed.parent_scope===S}return k.orig.every((E=>!(E instanceof jn||E instanceof Un||E instanceof Vn)))}function ref_once(E,k,S){return k.option("unused")&&!S.scope.pinned()&&S.references.length-S.recursive_refs==1&&E.loop_ids.get(S.id)===E.in_loop}function is_immutable(E){if(!E)return false;return E.is_constant()||E instanceof Et||E instanceof nr}function mark_escaped(E,k,S,w,N,j=0,q=1){var ee=E.parent(j);if(N){if(N.is_constant())return;if(N instanceof On)return}if(ee instanceof yn&&(ee.operator==="="||ee.logical)&&w===ee.right||ee instanceof nn&&(w!==ee.expression||ee instanceof rn)||ee instanceof It&&w===ee.value&&w.scope!==k.scope||ee instanceof Jt&&w===ee.value||ee instanceof Lt&&w===ee.value&&w.scope!==k.scope){if(q>1&&!(N&&N.is_constant_expression(S)))q=1;if(!k.escaped||k.escaped>q)k.escaped=q;return}else if(ee instanceof vn||ee instanceof Bt||ee instanceof mn&&Hr.has(ee.operator)||ee instanceof gn&&w!==ee.condition||ee instanceof bt||ee instanceof sn&&w===ee.tail_node()){mark_escaped(E,k,S,ee,ee,j+1,q)}else if(ee instanceof kn&&w===ee.value){var te=E.parent(j+1);mark_escaped(E,k,S,te,te,j+2,q)}else if(ee instanceof on&&w===ee.expression){N=read_property(N,ee.property);mark_escaped(E,k,S,ee,N,j+1,q+1);if(N)return}if(j>0)return;if(ee instanceof sn&&w!==ee.tail_node())return;if(ee instanceof rt)return;k.direct_access=true}const suppress=E=>walk(E,(E=>{if(!(E instanceof Rn))return;var k=E.definition();if(!k)return;if(E instanceof Yn)k.references.push(E);k.fixed=false}));E(kt,(function(E,k,S){push(E);reset_variables(E,S,this);k();pop(E);return true}));E(yn,(function(E,k,S){var w=this;if(w.left instanceof At){suppress(w.left);return}const finish_walk=()=>{if(w.logical){w.left.walk(E);push(E);w.right.walk(E);pop(E);return true}};var N=w.left;if(!(N instanceof Yn))return finish_walk();var j=N.definition();var q=safe_to_assign(E,j,N.scope,w.right);j.assignments++;if(!q)return finish_walk();var ee=j.fixed;if(!ee&&w.operator!="="&&!w.logical)return finish_walk();var te=w.operator=="=";var ne=te?w.right:w;if(is_modified(S,E,w,ne,0))return finish_walk();j.references.push(N);if(!w.logical){if(!te)j.chained=true;j.fixed=te?function(){return w.right}:function(){return make_node(mn,w,{operator:w.operator.slice(0,-1),left:ee instanceof Ze?ee:ee(),right:w.right})}}if(w.logical){mark(E,j,false);push(E);w.right.walk(E);pop(E);return true}mark(E,j,false);w.right.walk(E);mark(E,j,true);mark_escaped(E,j,N.scope,w,ne,0,1);return true}));E(mn,(function(E){if(!Hr.has(this.operator))return;this.left.walk(E);push(E);this.right.walk(E);pop(E);return true}));E(it,(function(E,k,S){reset_block_variables(S,this)}));E(Gt,(function(E){push(E);this.expression.walk(E);pop(E);push(E);walk_body(this,E);pop(E);return true}));E(Mn,(function(E,k){clear_flag(this,Lr);push(E);k();pop(E);return true}));E(gn,(function(E){this.condition.walk(E);push(E);this.consequent.walk(E);pop(E);push(E);this.alternative.walk(E);pop(E);return true}));E(cn,(function(E,k){const S=E.safe_ids;k();E.safe_ids=S;return true}));E(nn,(function(E){this.expression.walk(E);if(this.optional){push(E)}for(const k of this.args)k.walk(E);return true}));E(on,(function(E){if(!this.optional)return;this.expression.walk(E);push(E);if(this.property instanceof Ze)this.property.walk(E);return true}));E(Ut,(function(E,k){push(E);k();pop(E);return true}));function mark_lambda(E,k,S){clear_flag(this,Lr);push(E);reset_variables(E,S,this);if(this.uses_arguments){k();pop(E);return}var w;if(!this.name&&(w=E.parent())instanceof nn&&w.expression===this&&!w.args.some((E=>E instanceof bt))&&this.argnames.every((E=>E instanceof Rn))){this.argnames.forEach(((k,S)=>{if(!k.definition)return;var N=k.definition();if(N.orig.length>1)return;if(N.fixed===undefined&&(!this.uses_arguments||E.has_directive("use strict"))){N.fixed=function(){return w.args[S]||make_node(dr,w)};E.loop_ids.set(N.id,E.in_loop);mark(E,N,true)}else{N.fixed=false}}))}k();pop(E);return true}E(Et,mark_lambda);E(ft,(function(E,k,S){reset_block_variables(S,this);const w=E.in_loop;E.in_loop=this;push(E);this.body.walk(E);if(has_break_or_continue(this)){pop(E);push(E)}this.condition.walk(E);pop(E);E.in_loop=w;return true}));E(ht,(function(E,k,S){reset_block_variables(S,this);if(this.init)this.init.walk(E);const w=E.in_loop;E.in_loop=this;push(E);if(this.condition)this.condition.walk(E);this.body.walk(E);if(this.step){if(has_break_or_continue(this)){pop(E);push(E)}this.step.walk(E)}pop(E);E.in_loop=w;return true}));E(mt,(function(E,k,S){reset_block_variables(S,this);suppress(this.init);this.object.walk(E);const w=E.in_loop;E.in_loop=this;push(E);this.body.walk(E);pop(E);E.in_loop=w;return true}));E(jt,(function(E){this.condition.walk(E);push(E);this.body.walk(E);pop(E);if(this.alternative){push(E);this.alternative.walk(E);pop(E)}return true}));E(lt,(function(E){push(E);this.body.walk(E);pop(E);return true}));E(Kn,(function(){this.definition().fixed=false}));E(Yn,(function(E,k,S){var w=this.definition();w.references.push(this);if(w.references.length==1&&!w.fixed&&w.orig[0]instanceof Un){E.loop_ids.set(w.id,E.in_loop)}var N;if(w.fixed===undefined||!safe_to_read(E,w)){w.fixed=false}else if(w.fixed){N=this.fixed_value();if(N instanceof Et&&recursive_ref(E,w)){w.recursive_refs++}else if(N&&!S.exposed(w)&&ref_once(E,S,w)){w.single_use=N instanceof Et&&!N.pinned()||N instanceof Mn||w.scope===this.scope&&N.is_constant_expression()}else{w.single_use=false}if(is_modified(S,E,this,N,0,is_immutable(N))){if(w.single_use){w.single_use="m"}else{w.fixed=false}}}mark_escaped(E,w,this.scope,this,N,0,1)}));E(vt,(function(E,k,S){this.globals.forEach((function(E){reset_def(S,E)}));reset_variables(E,S,this)}));E(qt,(function(E,k,S){reset_block_variables(S,this);push(E);walk_body(this,E);pop(E);if(this.bcatch){push(E);this.bcatch.walk(E);pop(E)}if(this.bfinally)this.bfinally.walk(E);return true}));E(pn,(function(E){var k=this;if(k.operator!=="++"&&k.operator!=="--")return;var S=k.expression;if(!(S instanceof Yn))return;var w=S.definition();var N=safe_to_assign(E,w,S.scope,true);w.assignments++;if(!N)return;var j=w.fixed;if(!j)return;w.references.push(S);w.chained=true;w.fixed=function(){return make_node(mn,k,{operator:k.operator.slice(0,-1),left:make_node(dn,k,{operator:"+",expression:j instanceof Ze?j:j()}),right:make_node(ar,k,{value:1})})};mark(E,w,true);return true}));E(Jt,(function(E,k){var S=this;if(S.name instanceof At){suppress(S.name);return}var w=S.name.definition();if(S.value){if(safe_to_assign(E,w,S.name.scope,S.value)){w.fixed=function(){return S.value};E.loop_ids.set(w.id,E.in_loop);mark(E,w,false);k();mark(E,w,true);return true}else{w.fixed=false}}}));E(dt,(function(E,k,S){reset_block_variables(S,this);const w=E.in_loop;E.in_loop=this;push(E);k();pop(E);E.in_loop=w;return true}))})((function(E,k){E.DEFMETHOD("reduce_vars",k)}));vt.DEFMETHOD("reset_opt_flags",(function(E){const k=this;const S=E.option("reduce_vars");const w=new TreeWalker((function(N,j){clear_flag(N,Gr);if(S){if(E.top_retain&&N instanceof wt&&w.parent()===k){set_flag(N,Ur)}return N.reduce_vars(w,j,E)}}));w.safe_ids=Object.create(null);w.in_loop=null;w.loop_ids=new Map;w.defs_to_safe_ids=new Map;k.walk(w)}));Rn.DEFMETHOD("fixed_value",(function(){var E=this.thedef.fixed;if(!E||E instanceof Ze)return E;return E()}));Yn.DEFMETHOD("is_immutable",(function(){var E=this.definition().orig;return E.length==1&&E[0]instanceof Vn}));function is_func_expr(E){return E instanceof St||E instanceof xt}function is_lhs_read_only(E){if(E instanceof nr)return true;if(E instanceof Yn)return E.definition().orig[0]instanceof Vn;if(E instanceof on){E=E.expression;if(E instanceof Yn){if(E.is_immutable())return false;E=E.fixed_value()}if(!E)return true;if(E instanceof lr)return false;if(E instanceof ir)return true;return is_lhs_read_only(E)}return false}function is_ref_of(E,k){if(!(E instanceof Yn))return false;var S=E.definition().orig;for(var w=S.length;--w>=0;){if(S[w]instanceof k)return true}}function find_scope(E){for(let k=0;;k++){const S=E.parent(k);if(S instanceof vt)return S;if(S instanceof Et)return S;if(S.block_scope)return S.block_scope}}function find_variable(E,k){var S,w=0;while(S=E.parent(w++)){if(S instanceof _t)break;if(S instanceof Vt&&S.argname){S=S.argname.definition().scope;break}}return S.find_variable(k)}function make_sequence(E,k){if(k.length==1)return k[0];if(k.length==0)throw new Error("trying to create a sequence with length zero!");return make_node(sn,E,{expressions:k.reduce(merge_sequence,[])})}function make_node_from_constant(E,k){switch(typeof E){case"string":return make_node(sr,k,{value:E});case"number":if(isNaN(E))return make_node(fr,k);if(isFinite(E)){return 1/E<0?make_node(dn,k,{operator:"-",expression:make_node(ar,k,{value:-E})}):make_node(ar,k,{value:E})}return E<0?make_node(dn,k,{operator:"-",expression:make_node(mr,k)}):make_node(mr,k);case"boolean":return make_node(E?_r:yr,k);case"undefined":return make_node(dr,k);default:if(E===null){return make_node(pr,k,{value:null})}if(E instanceof RegExp){return make_node(lr,k,{value:{source:regexp_source_fix(E.source),flags:E.flags}})}throw new Error(string_template("Can't handle constant of type: {type}",{type:typeof E}))}}function maintain_this_binding(E,k,S){if(E instanceof dn&&E.operator=="delete"||E instanceof nn&&E.expression===k&&(S instanceof on||S instanceof Yn&&S.name=="eval")){return make_sequence(k,[make_node(ar,k,{value:0}),S])}return S}function merge_sequence(E,k){if(k instanceof sn){E.push(...k.expressions)}else{E.push(k)}return E}function as_statement_array(E){if(E===null)return[];if(E instanceof st)return E.body;if(E instanceof ot)return[];if(E instanceof et)return[E];throw new Error("Can't convert thing to statement array")}function is_empty(E){if(E===null)return true;if(E instanceof ot)return true;if(E instanceof st)return E.body.length==0;return false}function can_be_evicted_from_block(E){return!(E instanceof Pn||E instanceof wt||E instanceof Xt||E instanceof Qt||E instanceof tn||E instanceof Zt)}function loop_body(E){if(E instanceof ct){return E.body instanceof st?E.body:E}return E}function is_iife_call(E){if(E.TYPE!="Call")return false;return E.expression instanceof xt||is_iife_call(E.expression)}function is_undeclared_ref(E){return E instanceof Yn&&E.definition().undeclared}var qr=makePredicate("Array Boolean clearInterval clearTimeout console Date decodeURI decodeURIComponent encodeURI encodeURIComponent Error escape eval EvalError Function isFinite isNaN JSON Math Number parseFloat parseInt RangeError ReferenceError RegExp Object setInterval setTimeout String SyntaxError TypeError unescape URIError");Yn.DEFMETHOD("is_declared",(function(E){return!this.definition().undeclared||E.option("unsafe")&&qr.has(this.name)}));var Vr=makePredicate("Infinity NaN undefined");function is_identifier_atom(E){return E instanceof mr||E instanceof fr||E instanceof dr}function tighten_body(E,k){var S,w;var j=k.find_parent(_t).get_defun_scope();find_loop_scope_try();var q,ee=10;do{q=false;eliminate_spurious_blocks(E);if(k.option("dead_code")){eliminate_dead_code(E,k)}if(k.option("if_return")){handle_if_return(E,k)}if(k.sequences_limit>0){sequencesize(E,k);sequencesize_2(E,k)}if(k.option("join_vars")){join_consecutive_vars(E)}if(k.option("collapse_vars")){collapse(E,k)}}while(q&&ee-- >0);function find_loop_scope_try(){var E=k.self(),N=0;do{if(E instanceof Vt||E instanceof Ht){N++}else if(E instanceof ct){S=true}else if(E instanceof _t){j=E;break}else if(E instanceof qt){w=true}}while(E=k.parent(N++))}function collapse(E,k){if(j.pinned())return E;var ee;var te=[];var ne=E.length;var ae=new TreeTransformer((function(E){if($e)return E;if(!je){if(E!==ve[Ee])return E;Ee++;if(Ee1)||E instanceof ct&&!(E instanceof ht)||E instanceof Rt||E instanceof qt||E instanceof yt||E instanceof Lt||E instanceof tn||E instanceof Mn||S instanceof ht&&E!==S.init||!Ne&&(E instanceof Yn&&!E.is_declared(k)&&!Yr.has(E))||E instanceof Yn&&S instanceof nn&&has_annotation(S,kr)){$e=true;return E}if(!Te&&(!Re||!Ne)&&(S instanceof mn&&Hr.has(S.operator)&&S.left!==E||S instanceof gn&&S.condition!==E||S instanceof jt&&S.condition!==E)){Te=S}if(Ue&&!(E instanceof Nn)&&Ie.equivalent_to(E)){if(Te){$e=true;return E}if(is_lhs(E,S)){if(Ce)ze++;return E}else{ze++;if(Ce&&we instanceof Jt)return E}q=$e=true;if(we instanceof hn){return make_node(dn,we,we)}if(we instanceof Jt){var N=we.name.definition();var j=we.value;if(N.references.length-N.replaced==1&&!k.exposed(N)){N.replaced++;if(Le&&is_identifier_atom(j)){return j.transform(k)}else{return maintain_this_binding(S,E,j)}}return make_node(yn,we,{operator:"=",logical:false,left:make_node(Yn,we.name,we.name),right:j})}clear_flag(we,jr);return we}var ee;if(E instanceof nn||E instanceof It&&(Fe||Ie instanceof on||may_modify(Ie))||E instanceof on&&(Fe||E.expression.may_throw_on_access(k))||E instanceof Yn&&(Oe.get(E.name)||Fe&&may_modify(E))||E instanceof Jt&&E.value&&(Oe.has(E.name.name)||Fe&&may_modify(E.name))||(ee=is_lhs(E.left,E))&&(ee instanceof on||Oe.has(ee.name))||Be&&(w?E.has_side_effects(k):side_effects_external(E))){Me=E;if(E instanceof _t)$e=true}return handle_custom_scan_order(E)}),(function(E){if($e)return;if(Me===E)$e=true;if(Te===E)Te=null}));var _e=new TreeTransformer((function(E){if($e)return E;if(!je){if(E!==ve[Ee])return E;Ee++;if(Ee=0){if(ne==0&&k.option("unused"))extract_args();var ve=[];extract_candidates(E[ne]);while(te.length>0){ve=te.pop();var Ee=0;var we=ve[ve.length-1];var Ce=null;var Me=null;var Te=null;var Ie=get_lhs(we);if(!Ie||is_lhs_read_only(Ie)||Ie.has_side_effects(k))continue;var Oe=get_lvalues(we);var Re=is_lhs_local(Ie);if(Ie instanceof Yn)Oe.set(Ie.name,false);var Fe=value_has_side_effects(we);var Ne=replace_all_symbols();var Be=we.may_throw(k);var Le=we.name instanceof zn;var je=Le;var $e=false,ze=0,Ue=!ee||!je;if(!Ue){for(var Ge=k.self().argnames.lastIndexOf(we.name)+1;!$e&&Geze)ze=false;else{$e=false;Ee=0;je=Le;for(var qe=ne;!$e&&qe!(E instanceof bt)))){var w=k.has_directive("use strict");if(w&&!member(w,S.body))w=false;var N=S.argnames.length;ee=E.args.slice(N);var j=new Set;for(var q=N;--q>=0;){var ne=S.argnames[q];var ae=E.args[q];const N=ne.definition&&ne.definition();const ve=N&&N.orig.length>1;if(ve)continue;ee.unshift(make_node(Jt,ne,{name:ne,value:ae}));if(j.has(ne.name))continue;j.add(ne.name);if(ne instanceof bt){var _e=E.args.slice(q);if(_e.every((E=>!has_overlapping_symbol(S,E,w)))){te.unshift([make_node(Jt,ne,{name:ne.expression,value:make_node(vn,E,{elements:_e})})])}}else{if(!ae){ae=make_node(dr,ne).transform(k)}else if(ae instanceof Et&&ae.pinned()||has_overlapping_symbol(S,ae,w)){ae=null}if(ae)te.unshift([make_node(Jt,ne,{name:ne,value:ae})])}}}}function extract_candidates(E){ve.push(E);if(E instanceof yn){if(!E.left.has_side_effects(k)){te.push(ve.slice())}extract_candidates(E.right)}else if(E instanceof mn){extract_candidates(E.left);extract_candidates(E.right)}else if(E instanceof nn&&!has_annotation(E,kr)){extract_candidates(E.expression);E.args.forEach(extract_candidates)}else if(E instanceof Gt){extract_candidates(E.expression)}else if(E instanceof gn){extract_candidates(E.condition);extract_candidates(E.consequent);extract_candidates(E.alternative)}else if(E instanceof Wt){var S=E.definitions.length;var w=S-200;if(w<0)w=0;for(;w1&&!(E.name instanceof zn)||(w>1?mangleable_var(E):!k.exposed(S))){return make_node(Yn,E.name,E.name)}}else{const k=E instanceof yn?E.left:E.expression;return!is_ref_of(k,jn)&&!is_ref_of(k,$n)&&k}}function get_rvalue(E){if(E instanceof yn){return E.right}else{return E.value}}function get_lvalues(E){var S=new Map;if(E instanceof pn)return S;var w=new TreeWalker((function(E){var N=E;while(N instanceof on)N=N.expression;if(N instanceof Yn||N instanceof nr){S.set(N.name,S.get(N.name)||is_modified(k,w,E,E,0))}}));get_rvalue(E).walk(w);return S}function remove_candidate(S){if(S.name instanceof zn){var w=k.parent(),j=k.self().argnames;var q=j.indexOf(S.name);if(q<0){w.args.length=Math.min(w.args.length,j.length-1)}else{var ee=w.args;if(ee[q])ee[q]=make_node(ar,ee[q],{value:0})}return true}var te=false;return E[ne].transform(new TreeTransformer((function(E,k,w){if(te)return E;if(E===S||E.body===S){te=true;if(E instanceof Jt){E.value=E.name instanceof jn?make_node(dr,E.value):null;return E}return w?N.skip:null}}),(function(E){if(E instanceof sn)switch(E.expressions.length){case 0:return null;case 1:return E.expressions[0]}})))}function is_lhs_local(E){while(E instanceof on)E=E.expression;return E instanceof Yn&&E.definition().scope===j&&!(S&&(Oe.has(E.name)||we instanceof pn||we instanceof yn&&!we.logical&&we.operator!="="))}function value_has_side_effects(E){if(E instanceof pn)return Wr.has(E.operator);return get_rvalue(E).has_side_effects(k)}function replace_all_symbols(){if(Fe)return false;if(Ce)return true;if(Ie instanceof Yn){var E=Ie.definition();if(E.references.length-E.replaced==(we instanceof Jt?1:2)){return true}}return false}function may_modify(E){if(!E.definition)return true;var k=E.definition();if(k.orig.length==1&&k.orig[0]instanceof Un)return false;if(k.scope.get_defun_scope()!==j)return true;return!k.references.every((E=>{var k=E.scope.get_defun_scope();if(k.TYPE=="Scope")k=k.parent_scope;return k===j}))}function side_effects_external(E,k){if(E instanceof yn)return side_effects_external(E.left,true);if(E instanceof pn)return side_effects_external(E.expression,true);if(E instanceof Jt)return E.value&&side_effects_external(E.value);if(k){if(E instanceof an)return side_effects_external(E.expression,true);if(E instanceof ln)return side_effects_external(E.expression,true);if(E instanceof Yn)return E.definition().scope!==j}return false}}function eliminate_spurious_blocks(E){var k=[];for(var S=0;S=0;){var ee=E[j];var te=next_index(j);var ne=E[te];if(N&&!ne&&ee instanceof Pt){if(!ee.value){q=true;E.splice(j,1);continue}if(ee.value instanceof dn&&ee.value.operator=="void"){q=true;E[j]=make_node(rt,ee,{body:ee.value.expression});continue}}if(ee instanceof jt){var ae=aborts(ee.body);if(can_merge_flow(ae)){if(ae.label){remove(ae.label.thedef.references,ae)}q=true;ee=ee.clone();ee.condition=ee.condition.negate(k);var _e=as_statement_array_with_return(ee.body,ae);ee.body=make_node(st,ee,{body:as_statement_array(ee.alternative).concat(extract_functions())});ee.alternative=make_node(st,ee,{body:_e});E[j]=ee.transform(k);continue}var ae=aborts(ee.alternative);if(can_merge_flow(ae)){if(ae.label){remove(ae.label.thedef.references,ae)}q=true;ee=ee.clone();ee.body=make_node(st,ee.body,{body:as_statement_array(ee.body).concat(extract_functions())});var _e=as_statement_array_with_return(ee.alternative,ae);ee.alternative=make_node(st,ee.alternative,{body:_e});E[j]=ee.transform(k);continue}}if(ee instanceof jt&&ee.body instanceof Pt){var ve=ee.body.value;if(!ve&&!ee.alternative&&(N&&!ne||ne instanceof Pt&&!ne.value)){q=true;E[j]=make_node(rt,ee.condition,{body:ee.condition});continue}if(ve&&!ee.alternative&&ne instanceof Pt&&ne.value){q=true;ee=ee.clone();ee.alternative=ne;E[j]=ee.transform(k);E.splice(te,1);continue}if(ve&&!ee.alternative&&(!ne&&N&&w||ne instanceof Pt)){q=true;ee=ee.clone();ee.alternative=ne||make_node(Pt,ee,{value:null});E[j]=ee.transform(k);if(ne)E.splice(te,1);continue}var Ee=E[prev_index(j)];if(k.option("sequences")&&N&&!ee.alternative&&Ee instanceof jt&&Ee.body instanceof Pt&&next_index(te)==E.length&&ne instanceof rt){q=true;ee=ee.clone();ee.alternative=make_node(st,ne,{body:[ne,make_node(Pt,ne,{value:null})]});E[j]=ee.transform(k);E.splice(te,1);continue}}}function has_multiple_if_returns(E){var k=0;for(var S=E.length;--S>=0;){var w=E[S];if(w instanceof jt&&w.body instanceof Pt){if(++k>1)return true}}return false}function is_return_void(E){return!E||E instanceof dn&&E.operator=="void"}function can_merge_flow(w){if(!w)return false;for(var q=j+1,ee=E.length;q=0;){var w=E[S];if(!(w instanceof Kt&&declarations_only(w))){break}}return S}}function eliminate_dead_code(E,k){var S;var w=k.self();for(var N=0,j=0,ee=E.length;N!E.value))}function sequencesize(E,k){if(E.length<2)return;var S=[],w=0;function push_seq(){if(!S.length)return;var k=make_sequence(S[0],S);E[w++]=make_node(rt,k,{body:k});S=[]}for(var N=0,j=E.length;N=k.sequences_limit)push_seq();var te=ee.body;if(S.length>0)te=te.drop_side_effect_free(k);if(te)merge_sequence(S,te)}else if(ee instanceof Wt&&declarations_only(ee)||ee instanceof wt){E[w++]=ee}else{push_seq();E[w++]=ee}}push_seq();E.length=w;if(w!=j)q=true}function to_simple_statement(E,k){if(!(E instanceof st))return E;var S=null;for(var w=0,N=E.body.length;w{if(E instanceof _t)return true;if(E instanceof mn&&E.operator==="in"){return vr}}));if(!E){if(j.init)j.init=cons_seq(j.init);else{j.init=w.body;S--;q=true}}}}else if(j instanceof mt){if(!(j.init instanceof Qt)&&!(j.init instanceof Xt)){j.object=cons_seq(j.object)}}else if(j instanceof jt){j.condition=cons_seq(j.condition)}else if(j instanceof $t){j.expression=cons_seq(j.expression)}else if(j instanceof yt){j.expression=cons_seq(j.expression)}}if(k.option("conditionals")&&j instanceof jt){var ee=[];var te=to_simple_statement(j.body,ee);var ne=to_simple_statement(j.alternative,ee);if(te!==false&&ne!==false&&ee.length>0){var ae=ee.length;ee.push(make_node(jt,j,{condition:j.condition,body:te||make_node(ot,j.body),alternative:ne}));ee.unshift(S,1);[].splice.apply(E,ee);N+=ae;S+=ae+1;w=null;q=true;continue}}E[S++]=j;w=j instanceof rt?j:null}E.length=S}function join_object_assignments(E,S){if(!(E instanceof Wt))return;var w=E.definitions[E.definitions.length-1];if(!(w.value instanceof bn))return;var N;if(S instanceof yn&&!S.logical){N=[S]}else if(S instanceof sn){N=S.expressions.slice()}if(!N)return;var q=false;do{var ee=N[0];if(!(ee instanceof yn))break;if(ee.operator!="=")break;if(!(ee.left instanceof on))break;var te=ee.left.expression;if(!(te instanceof Yn))break;if(w.name.name!=te.name)break;if(!ee.right.is_constant_expression(j))break;var ne=ee.left.property;if(ne instanceof Ze){ne=ne.evaluate(k)}if(ne instanceof Ze)break;ne=""+ne;var ae=k.option("ecma")<2015&&k.has_directive("use strict")?function(E){return E.key!=ne&&(E.key&&E.key.name!=ne)}:function(E){return E.key&&E.key.name!=ne};if(!w.value.properties.every(ae))break;var _e=w.value.properties.filter((function(E){return E.key===ne}))[0];if(!_e){w.value.properties.push(make_node(kn,ee,{key:ne,value:ee.right}))}else{_e.value=new sn({start:_e.start,expressions:[_e.value.clone(),ee.right.clone()],end:_e.end})}N.shift();q=true}while(N.length);return q&&N}function join_consecutive_vars(E){var k;for(var S=0,w=-1,N=E.length;S{if(w instanceof Kt){w.remove_initializers();S.push(w);return true}if(w instanceof wt&&(w===k||!E.has_directive("use strict"))){S.push(w===k?w:make_node(Kt,w,{definitions:[make_node(Jt,w,{name:make_node(Bn,w.name,w.name),value:null})]}));return true}if(w instanceof tn||w instanceof Zt){S.push(w);return true}if(w instanceof _t){return true}}))}function get_value(E){if(E instanceof ir){return E.getValue()}if(E instanceof dn&&E.operator=="void"&&E.expression instanceof ir){return}return E}function is_undefined(E,k){return has_flag(E,Br)||E instanceof dr||E instanceof dn&&E.operator=="void"&&!E.expression.has_side_effects(k)}(function(E){Ze.DEFMETHOD("may_throw_on_access",(function(E){return!E.option("pure_getters")||this._dot_throw(E)}));function is_strict(E){return/strict/.test(E.option("pure_getters"))}E(Ze,is_strict);E(pr,return_true);E(dr,return_true);E(ir,return_false);E(vn,return_false);E(bn,(function(E){if(!is_strict(E))return false;for(var k=this.properties.length;--k>=0;)if(this.properties[k]._dot_throw(E))return true;return false}));E(Mn,return_false);E(En,return_false);E(An,return_true);E(bt,(function(E){return this.expression._dot_throw(E)}));E(xt,return_false);E(St,return_false);E(hn,return_false);E(dn,(function(){return this.operator=="void"}));E(mn,(function(E){return(this.operator=="&&"||this.operator=="||"||this.operator=="??")&&(this.left._dot_throw(E)||this.right._dot_throw(E))}));E(yn,(function(E){if(this.logical)return true;return this.operator=="="&&this.right._dot_throw(E)}));E(gn,(function(E){return this.consequent._dot_throw(E)||this.alternative._dot_throw(E)}));E(an,(function(E){if(!is_strict(E))return false;if(this.property=="prototype"){return!(this.expression instanceof xt||this.expression instanceof Mn)}return true}));E(cn,(function(E){return this.expression._dot_throw(E)}));E(sn,(function(E){return this.tail_node()._dot_throw(E)}));E(Yn,(function(E){if(this.name==="arguments")return false;if(has_flag(this,Br))return true;if(!is_strict(E))return false;if(is_undeclared_ref(this)&&this.is_declared(E))return false;if(this.is_immutable())return false;var k=this.fixed_value();return!k||k._dot_throw(E)}))})((function(E,k){E.DEFMETHOD("_dot_throw",k)}));(function(E){const k=makePredicate("! delete");const S=makePredicate("in instanceof == != === !== < <= >= >");E(Ze,return_false);E(dn,(function(){return k.has(this.operator)}));E(mn,(function(){return S.has(this.operator)||Hr.has(this.operator)&&this.left.is_boolean()&&this.right.is_boolean()}));E(gn,(function(){return this.consequent.is_boolean()&&this.alternative.is_boolean()}));E(yn,(function(){return this.operator=="="&&this.right.is_boolean()}));E(sn,(function(){return this.tail_node().is_boolean()}));E(_r,return_true);E(yr,return_true)})((function(E,k){E.DEFMETHOD("is_boolean",k)}));(function(E){E(Ze,return_false);E(ar,return_true);var k=makePredicate("+ - ~ ++ --");E(pn,(function(){return k.has(this.operator)}));var S=makePredicate("- * / % & | ^ << >> >>>");E(mn,(function(E){return S.has(this.operator)||this.operator=="+"&&this.left.is_number(E)&&this.right.is_number(E)}));E(yn,(function(E){return S.has(this.operator.slice(0,-1))||this.operator=="="&&this.right.is_number(E)}));E(sn,(function(E){return this.tail_node().is_number(E)}));E(gn,(function(E){return this.consequent.is_number(E)&&this.alternative.is_number(E)}))})((function(E,k){E.DEFMETHOD("is_number",k)}));(function(E){E(Ze,return_false);E(sr,return_true);E(Dt,return_true);E(dn,(function(){return this.operator=="typeof"}));E(mn,(function(E){return this.operator=="+"&&(this.left.is_string(E)||this.right.is_string(E))}));E(yn,(function(E){return(this.operator=="="||this.operator=="+=")&&this.right.is_string(E)}));E(sn,(function(E){return this.tail_node().is_string(E)}));E(gn,(function(E){return this.consequent.is_string(E)&&this.alternative.is_string(E)}))})((function(E,k){E.DEFMETHOD("is_string",k)}));var Hr=makePredicate("&& || ??");var Wr=makePredicate("delete ++ --");function is_lhs(E,k){if(k instanceof pn&&Wr.has(k.operator))return k.expression;if(k instanceof yn&&k.left===E)return E}(function(E){function to_node(E,k){if(E instanceof Ze)return make_node(E.CTOR,k,E);if(Array.isArray(E))return make_node(vn,k,{elements:E.map((function(E){return to_node(E,k)}))});if(E&&typeof E=="object"){var S=[];for(var w in E)if(HOP(E,w)){S.push(make_node(kn,k,{key:w,value:to_node(E[w],k)}))}return make_node(bn,k,{properties:S})}return make_node_from_constant(E,k)}vt.DEFMETHOD("resolve_defines",(function(E){if(!E.option("global_defs"))return this;this.figure_out_scope({ie8:E.option("ie8")});return this.transform(new TreeTransformer((function(k){var S=k._find_defs(E,"");if(!S)return;var w=0,N=k,j;while(j=this.parent(w++)){if(!(j instanceof on))break;if(j.expression!==N)break;N=j}if(is_lhs(N,j)){return}return S})))}));E(Ze,noop);E(cn,(function(E,k){return this.expression._find_defs(E,k)}));E(an,(function(E,k){return this.expression._find_defs(E,"."+this.property+k)}));E(Nn,(function(){if(!this.global())return}));E(Yn,(function(E,k){if(!this.global())return;var S=E.option("global_defs");var w=this.name+k;if(HOP(S,w))return to_node(S[w],this)}))})((function(E,k){E.DEFMETHOD("_find_defs",k)}));function best_of_expression(E,k){return E.size()>k.size()?k:E}function best_of_statement(E,k){return best_of_expression(make_node(rt,E,{body:E}),make_node(rt,k,{body:k})).body}function best_of(E,k,S){return(first_in_statement(E)?best_of_statement:best_of_expression)(k,S)}function convert_to_predicate(E){const k=new Map;for(var S of Object.keys(E)){k.set(S,makePredicate(E[S]))}return k}var Kr=["constructor","toString","valueOf"];var Xr=convert_to_predicate({Array:["indexOf","join","lastIndexOf","slice"].concat(Kr),Boolean:Kr,Function:Kr,Number:["toExponential","toFixed","toPrecision"].concat(Kr),Object:Kr,RegExp:["test"].concat(Kr),String:["charAt","charCodeAt","concat","indexOf","italics","lastIndexOf","match","replace","search","slice","split","substr","substring","toLowerCase","toUpperCase","trim"].concat(Kr)});var Qr=convert_to_predicate({Array:["isArray"],Math:["abs","acos","asin","atan","ceil","cos","exp","floor","log","round","sin","sqrt","tan","atan2","pow","max","min"],Number:["isFinite","isNaN"],Object:["create","getOwnPropertyDescriptor","getOwnPropertyNames","getPrototypeOf","isExtensible","isFrozen","isSealed","keys"],String:["fromCharCode"]});(function(E){Ze.DEFMETHOD("evaluate",(function(E){if(!E.option("evaluate"))return this;var k=this._eval(E,1);if(!k||k instanceof RegExp)return k;if(typeof k=="function"||typeof k=="object")return this;return k}));var k=makePredicate("! ~ - + void");Ze.DEFMETHOD("is_constant",(function(){if(this instanceof ir){return!(this instanceof lr)}else{return this instanceof dn&&this.expression instanceof ir&&k.has(this.operator)}}));E(et,(function(){throw new Error(string_template("Cannot evaluate a statement [{file}:{line},{col}]",this.start))}));E(Et,return_this);E(Mn,return_this);E(Ze,return_this);E(ir,(function(){return this.getValue()}));E(ur,return_this);E(lr,(function(E){let k=E.evaluated_regexps.get(this);if(k===undefined){try{k=(0,eval)(this.print_to_string())}catch(E){k=null}E.evaluated_regexps.set(this,k)}return k||this}));E(Dt,(function(){if(this.segments.length!==1)return this;return this.segments[0].value}));E(xt,(function(E){if(E.option("unsafe")){var fn=function(){};fn.node=this;fn.toString=function(){return this.node.print_to_string()};return fn}return this}));E(vn,(function(E,k){if(E.option("unsafe")){var S=[];for(var w=0,N=this.elements.length;wtypeof E==="object"||typeof E==="function"||typeof E==="symbol";E(mn,(function(E,k){if(!w.has(this.operator))k++;var S=this.left._eval(E,k);if(S===this.left)return this;var j=this.right._eval(E,k);if(j===this.right)return this;var q;if(S!=null&&j!=null&&N.has(this.operator)&&has_identity(S)&&has_identity(j)&&typeof S===typeof j){return this}switch(this.operator){case"&&":q=S&&j;break;case"||":q=S||j;break;case"??":q=S!=null?S:j;break;case"|":q=S|j;break;case"&":q=S&j;break;case"^":q=S^j;break;case"+":q=S+j;break;case"*":q=S*j;break;case"**":q=Math.pow(S,j);break;case"/":q=S/j;break;case"%":q=S%j;break;case"-":q=S-j;break;case"<<":q=S<>":q=S>>j;break;case">>>":q=S>>>j;break;case"==":q=S==j;break;case"===":q=S===j;break;case"!=":q=S!=j;break;case"!==":q=S!==j;break;case"<":q=S":q=S>j;break;case">=":q=S>=j;break;default:return this}if(isNaN(q)&&E.find_parent(yt)){return this}return q}));E(gn,(function(E,k){var S=this.condition._eval(E,k);if(S===this.condition)return this;var w=S?this.consequent:this.alternative;var N=w._eval(E,k);return N===w?this:N}));const j=new Set;E(Yn,(function(E,k){if(j.has(this))return this;var S=this.fixed_value();if(!S)return this;j.add(this);const w=S._eval(E,k);j.delete(this);if(w===S)return this;if(w&&typeof w=="object"){var N=this.definition().escaped;if(N&&k>N)return this}return w}));var q={Array:Array,Math:Math,Number:Number,Object:Object,String:String};var ee=convert_to_predicate({Math:["E","LN10","LN2","LOG2E","LOG10E","PI","SQRT1_2","SQRT2"],Number:["MAX_VALUE","MIN_VALUE","NaN","NEGATIVE_INFINITY","POSITIVE_INFINITY"]});E(on,(function(E,k){if(this.optional){const S=this.expression._eval(E,k);if(S==null)return undefined}if(E.option("unsafe")){var S=this.property;if(S instanceof Ze){S=S._eval(E,k);if(S===this.property)return this}var w=this.expression;var N;if(is_undeclared_ref(w)){var j;var te=w.name==="hasOwnProperty"&&S==="call"&&(j=E.parent()&&E.parent().args)&&(j&&j[0]&&j[0].evaluate(E));te=te instanceof an?te.expression:te;if(te==null||te.thedef&&te.thedef.undeclared){return this.clone()}var ne=ee.get(w.name);if(!ne||!ne.has(S))return this;N=q[w.name]}else{N=w._eval(E,k+1);if(!N||N===w||!HOP(N,S))return this;if(typeof N=="function")switch(S){case"name":return N.node.name?N.node.name.name:"";case"length":return N.node.argnames.length;default:return this}}return N[S]}return this}));E(cn,(function(E,k){const S=this.expression._eval(E,k);return S===this.expression?this:S}));E(nn,(function(E,k){var S=this.expression;if(this.optional){const S=this.expression._eval(E,k);if(S==null)return undefined}if(E.option("unsafe")&&S instanceof on){var w=S.property;if(w instanceof Ze){w=w._eval(E,k);if(w===S.property)return this}var N;var j=S.expression;if(is_undeclared_ref(j)){var ee=j.name==="hasOwnProperty"&&w==="call"&&(this.args[0]&&this.args[0].evaluate(E));ee=ee instanceof an?ee.expression:ee;if(ee==null||ee.thedef&&ee.thedef.undeclared){return this.clone()}var te=Qr.get(j.name);if(!te||!te.has(w))return this;N=q[j.name]}else{N=j._eval(E,k+1);if(N===j||!N)return this;var ne=Xr.get(N.constructor.name);if(!ne||!ne.has(w))return this}var ae=[];for(var _e=0,ve=this.args.length;_e";return S;case"<":S.operator=">=";return S;case">=":S.operator="<";return S;case">":S.operator="<=";return S}}switch(w){case"==":S.operator="!=";return S;case"!=":S.operator="==";return S;case"===":S.operator="!==";return S;case"!==":S.operator="===";return S;case"&&":S.operator="||";S.left=S.left.negate(E,k);S.right=S.right.negate(E);return best(this,S,k);case"||":S.operator="&&";S.left=S.left.negate(E,k);S.right=S.right.negate(E);return best(this,S,k);case"??":S.right=S.right.negate(E);return best(this,S,k)}return basic_negation(this)}))})((function(E,k){E.DEFMETHOD("negate",(function(E,S){return k.call(this,E,S)}))}));var Jr=makePredicate("Boolean decodeURI decodeURIComponent Date encodeURI encodeURIComponent Error escape EvalError isFinite isNaN Number Object parseFloat parseInt RangeError ReferenceError String SyntaxError TypeError unescape URIError");nn.DEFMETHOD("is_expr_pure",(function(E){if(E.option("unsafe")){var k=this.expression;var S=this.args&&this.args[0]&&this.args[0].evaluate(E);if(k.expression&&k.expression.name==="hasOwnProperty"&&(S==null||S.thedef&&S.thedef.undeclared)){return false}if(is_undeclared_ref(k)&&Jr.has(k.name))return true;let w;if(k instanceof an&&is_undeclared_ref(k.expression)&&(w=Qr.get(k.expression.name))&&w.has(k.property)){return true}}return!!has_annotation(this,br)||!E.pure_funcs(this)}));Ze.DEFMETHOD("is_call_pure",return_false);an.DEFMETHOD("is_call_pure",(function(E){if(!E.option("unsafe"))return;const k=this.expression;let S;if(k instanceof vn){S=Xr.get("Array")}else if(k.is_boolean()){S=Xr.get("Boolean")}else if(k.is_number(E)){S=Xr.get("Number")}else if(k instanceof lr){S=Xr.get("RegExp")}else if(k.is_string(E)){S=Xr.get("String")}else if(!this.may_throw_on_access(E)){S=Xr.get("Object")}return S&&S.has(this.property)}));const Yr=new Set(["Number","String","Array","Object","Function","Promise"]);(function(E){E(Ze,return_true);E(ot,return_false);E(ir,return_false);E(nr,return_false);function any(E,k){for(var S=E.length;--S>=0;)if(E[S].has_side_effects(k))return true;return false}E(it,(function(E){return any(this.body,E)}));E(nn,(function(E){if(!this.is_expr_pure(E)&&(!this.expression.is_call_pure(E)||this.expression.has_side_effects(E))){return true}return any(this.args,E)}));E($t,(function(E){return this.expression.has_side_effects(E)||any(this.body,E)}));E(Gt,(function(E){return this.expression.has_side_effects(E)||any(this.body,E)}));E(qt,(function(E){return any(this.body,E)||this.bcatch&&this.bcatch.has_side_effects(E)||this.bfinally&&this.bfinally.has_side_effects(E)}));E(jt,(function(E){return this.condition.has_side_effects(E)||this.body&&this.body.has_side_effects(E)||this.alternative&&this.alternative.has_side_effects(E)}));E(lt,(function(E){return this.body.has_side_effects(E)}));E(rt,(function(E){return this.body.has_side_effects(E)}));E(Et,return_false);E(Mn,(function(E){if(this.extends&&this.extends.has_side_effects(E)){return true}return any(this.properties,E)}));E(mn,(function(E){return this.left.has_side_effects(E)||this.right.has_side_effects(E)}));E(yn,return_true);E(gn,(function(E){return this.condition.has_side_effects(E)||this.consequent.has_side_effects(E)||this.alternative.has_side_effects(E)}));E(pn,(function(E){return Wr.has(this.operator)||this.expression.has_side_effects(E)}));E(Yn,(function(E){return!this.is_declared(E)&&!Yr.has(this.name)}));E(qn,return_false);E(Nn,return_false);E(bn,(function(E){return any(this.properties,E)}));E(En,(function(E){return this.computed_key()&&this.key.has_side_effects(E)||this.value&&this.value.has_side_effects(E)}));E(Tn,(function(E){return this.computed_key()&&this.key.has_side_effects(E)||this.static&&this.value&&this.value.has_side_effects(E)}));E(Cn,(function(E){return this.computed_key()&&this.key.has_side_effects(E)}));E(An,(function(E){return this.computed_key()&&this.key.has_side_effects(E)}));E(wn,(function(E){return this.computed_key()&&this.key.has_side_effects(E)}));E(vn,(function(E){return any(this.elements,E)}));E(an,(function(E){return!this.optional&&this.expression.may_throw_on_access(E)||this.expression.has_side_effects(E)}));E(ln,(function(E){if(this.optional&&is_nullish(this.expression)){return false}return!this.optional&&this.expression.may_throw_on_access(E)||this.expression.has_side_effects(E)||this.property.has_side_effects(E)}));E(cn,(function(E){return this.expression.has_side_effects(E)}));E(sn,(function(E){return any(this.expressions,E)}));E(Wt,(function(E){return any(this.definitions,E)}));E(Jt,(function(){return this.value}));E(Mt,return_false);E(Dt,(function(E){return any(this.segments,E)}))})((function(E,k){E.DEFMETHOD("has_side_effects",k)}));(function(E){E(Ze,return_true);E(ir,return_false);E(ot,return_false);E(Et,return_false);E(Nn,return_false);E(nr,return_false);function any(E,k){for(var S=E.length;--S>=0;)if(E[S].may_throw(k))return true;return false}E(Mn,(function(E){if(this.extends&&this.extends.may_throw(E))return true;return any(this.properties,E)}));E(vn,(function(E){return any(this.elements,E)}));E(yn,(function(E){if(this.right.may_throw(E))return true;if(!E.has_directive("use strict")&&this.operator=="="&&this.left instanceof Yn){return false}return this.left.may_throw(E)}));E(mn,(function(E){return this.left.may_throw(E)||this.right.may_throw(E)}));E(it,(function(E){return any(this.body,E)}));E(nn,(function(E){if(this.optional&&is_nullish(this.expression))return false;if(any(this.args,E))return true;if(this.is_expr_pure(E))return false;if(this.expression.may_throw(E))return true;return!(this.expression instanceof Et)||any(this.expression.body,E)}));E(Gt,(function(E){return this.expression.may_throw(E)||any(this.body,E)}));E(gn,(function(E){return this.condition.may_throw(E)||this.consequent.may_throw(E)||this.alternative.may_throw(E)}));E(Wt,(function(E){return any(this.definitions,E)}));E(jt,(function(E){return this.condition.may_throw(E)||this.body&&this.body.may_throw(E)||this.alternative&&this.alternative.may_throw(E)}));E(lt,(function(E){return this.body.may_throw(E)}));E(bn,(function(E){return any(this.properties,E)}));E(En,(function(E){return this.value?this.value.may_throw(E):false}));E(Tn,(function(E){return this.computed_key()&&this.key.may_throw(E)||this.static&&this.value&&this.value.may_throw(E)}));E(Cn,(function(E){return this.computed_key()&&this.key.may_throw(E)}));E(An,(function(E){return this.computed_key()&&this.key.may_throw(E)}));E(wn,(function(E){return this.computed_key()&&this.key.may_throw(E)}));E(Pt,(function(E){return this.value&&this.value.may_throw(E)}));E(sn,(function(E){return any(this.expressions,E)}));E(rt,(function(E){return this.body.may_throw(E)}));E(an,(function(E){return!this.optional&&this.expression.may_throw_on_access(E)||this.expression.may_throw(E)}));E(ln,(function(E){if(this.optional&&is_nullish(this.expression))return false;return!this.optional&&this.expression.may_throw_on_access(E)||this.expression.may_throw(E)||this.property.may_throw(E)}));E(cn,(function(E){return this.expression.may_throw(E)}));E($t,(function(E){return this.expression.may_throw(E)||any(this.body,E)}));E(Yn,(function(E){return!this.is_declared(E)&&!Yr.has(this.name)}));E(qn,return_false);E(qt,(function(E){return this.bcatch?this.bcatch.may_throw(E):any(this.body,E)||this.bfinally&&this.bfinally.may_throw(E)}));E(pn,(function(E){if(this.operator=="typeof"&&this.expression instanceof Yn)return false;return this.expression.may_throw(E)}));E(Jt,(function(E){if(!this.value)return false;return this.value.may_throw(E)}))})((function(E,k){E.DEFMETHOD("may_throw",k)}));(function(E){function all_refs_local(E){let k=true;walk(this,(S=>{if(S instanceof Yn){if(has_flag(this,Lr)){k=false;return vr}var w=S.definition();if(member(w,this.enclosed)&&!this.variables.has(w.name)){if(E){var N=E.find_variable(S);if(w.undeclared?!N:N===w){k="f";return true}}k=false;return vr}return true}if(S instanceof nr&&this instanceof St){k=false;return vr}}));return k}E(Ze,return_false);E(ir,return_true);E(Mn,(function(E){if(this.extends&&!this.extends.is_constant_expression(E)){return false}for(const k of this.properties){if(k.computed_key()&&!k.key.is_constant_expression(E)){return false}if(k.static&&k.value&&!k.value.is_constant_expression(E)){return false}}return all_refs_local.call(this,E)}));E(Et,all_refs_local);E(pn,(function(){return this.expression.is_constant_expression()}));E(mn,(function(){return this.left.is_constant_expression()&&this.right.is_constant_expression()}));E(vn,(function(){return this.elements.every((E=>E.is_constant_expression()))}));E(bn,(function(){return this.properties.every((E=>E.is_constant_expression()))}));E(En,(function(){return!!(!(this.key instanceof Ze)&&this.value&&this.value.is_constant_expression())}))})((function(E,k){E.DEFMETHOD("is_constant_expression",k)}));function aborts(E){return E&&E.aborts()}(function(E){E(et,return_null);E(Tt,return_this);function block_aborts(){for(var E=0;E{if(E instanceof Nn){const S=E.definition();if((k||S.global)&&!q.has(S.id)){q.set(S.id,S)}}}))}if(S.value){if(S.name instanceof At){S.walk(_e)}else{var N=S.name.definition();map_add(ne,N.id,S.value);if(!N.chained&&S.name.fixed_value()===S.value){ee.set(N.id,S)}}if(S.value.has_side_effects(E)){S.value.walk(_e)}}}));return true}return scan_ref_scoped(N,j)}));k.walk(_e);_e=new TreeWalker(scan_ref_scoped);q.forEach((function(E){var k=ne.get(E.id);if(k)k.forEach((function(E){E.walk(_e)}))}));var ve=new TreeTransformer((function before(ne,_e,Ee){var we=ve.parent();if(w){const E=j(ne);if(E instanceof Yn){var Ce=E.definition();var Me=q.has(Ce.id);if(ne instanceof yn){if(!Me||ee.has(Ce.id)&&ee.get(Ce.id)!==ne){return maintain_this_binding(we,ne,ne.right.transform(ve))}}else if(!Me)return Ee?N.skip:make_node(ar,ne,{value:0})}}if(ae!==k)return;var Ce;if(ne.name&&(ne instanceof On&&!keep_name(E.option("keep_classnames"),(Ce=ne.name.definition()).name)||ne instanceof xt&&!keep_name(E.option("keep_fnames"),(Ce=ne.name.definition()).name))){if(!q.has(Ce.id)||Ce.orig.length>1)ne.name=null}if(ne instanceof Et&&!(ne instanceof kt)){var Te=!E.option("keep_fargs");for(var Ie=ne.argnames,Oe=Ie.length;--Oe>=0;){var Re=Ie[Oe];if(Re instanceof bt){Re=Re.expression}if(Re instanceof _n){Re=Re.left}if(!(Re instanceof At)&&!q.has(Re.definition().id)){set_flag(Re,Rr);if(Te){Ie.pop()}}else{Te=false}}}if((ne instanceof wt||ne instanceof Pn)&&ne!==k){const k=ne.name.definition();let w=k.global&&!S||q.has(k.id);if(!w){k.eliminated++;if(ne instanceof Pn){const k=ne.drop_side_effect_free(E);if(k){return make_node(rt,ne,{body:k})}}return Ee?N.skip:make_node(ot,ne)}}if(ne instanceof Wt&&!(we instanceof mt&&we.init===ne)){var Fe=!(we instanceof vt)&&!(ne instanceof Kt);var Ne=[],Be=[],Le=[];var je=[];ne.definitions.forEach((function(k){if(k.value)k.value=k.value.transform(ve);var S=k.name instanceof At;var N=S?new SymbolDef(null,{name:""}):k.name.definition();if(Fe&&N.global)return Le.push(k);if(!(w||Fe)||S&&(k.name.names.length||k.name.is_array||E.option("pure_getters")!=true)||q.has(N.id)){if(k.value&&ee.has(N.id)&&ee.get(N.id)!==k){k.value=k.value.drop_side_effect_free(E)}if(k.name instanceof Bn){var j=te.get(N.id);if(j.length>1&&(!k.value||N.orig.indexOf(k.name)>N.eliminated)){if(k.value){var ae=make_node(Yn,k.name,k.name);N.references.push(ae);var _e=make_node(yn,k,{operator:"=",logical:false,left:ae,right:k.value});if(ee.get(N.id)===k){ee.set(N.id,_e)}je.push(_e.transform(ve))}remove(j,k);N.eliminated++;return}}if(k.value){if(je.length>0){if(Le.length>0){je.push(k.value);k.value=make_sequence(k.value,je)}else{Ne.push(make_node(rt,ne,{body:make_sequence(ne,je)}))}je=[]}Le.push(k)}else{Be.push(k)}}else if(N.orig[0]instanceof Kn){var Ee=k.value&&k.value.drop_side_effect_free(E);if(Ee)je.push(Ee);k.value=null;Be.push(k)}else{var Ee=k.value&&k.value.drop_side_effect_free(E);if(Ee){je.push(Ee)}N.eliminated++}}));if(Be.length>0||Le.length>0){ne.definitions=Be.concat(Le);Ne.push(ne)}if(je.length>0){Ne.push(make_node(rt,ne,{body:make_sequence(ne,je)}))}switch(Ne.length){case 0:return Ee?N.skip:make_node(ot,ne);case 1:return Ne[0];default:return Ee?N.splice(Ne):make_node(st,ne,{body:Ne})}}if(ne instanceof ht){_e(ne,this);var $e;if(ne.init instanceof st){$e=ne.init;ne.init=$e.body.pop();$e.body.push(ne)}if(ne.init instanceof rt){ne.init=ne.init.body}else if(is_empty(ne.init)){ne.init=null}return!$e?ne:Ee?N.splice($e.body):$e}if(ne instanceof lt&&ne.body instanceof ht){_e(ne,this);if(ne.body instanceof st){var $e=ne.body;ne.body=$e.body.pop();$e.body.push(ne);return Ee?N.splice($e.body):$e}return ne}if(ne instanceof st){_e(ne,this);if(Ee&&ne.body.every(can_be_evicted_from_block)){return N.splice(ne.body)}return ne}if(ne instanceof _t){const E=ae;ae=ne;_e(ne,this);ae=E;return ne}}));k.transform(ve);function scan_ref_scoped(E,S){var w;const N=j(E);if(N instanceof Yn&&!is_ref_of(E.left,Ln)&&k.variables.get(N.name)===(w=N.definition())){if(E instanceof yn){E.right.walk(_e);if(!w.chained&&E.left.fixed_value()===E.right){ee.set(w.id,E)}}return true}if(E instanceof Yn){w=E.definition();if(!q.has(w.id)){q.set(w.id,w);if(w.orig[0]instanceof Kn){const E=w.scope.is_block_scope()&&w.scope.get_defun_scope().variables.get(w.name);if(E)q.set(E.id,E)}}return true}if(E instanceof _t){var te=ae;ae=E;S();ae=te;return true}}}));_t.DEFMETHOD("hoist_declarations",(function(E){var k=this;if(E.has_directive("use asm"))return k;if(!Array.isArray(k.body))return k;var S=E.option("hoist_funs");var w=E.option("hoist_vars");if(S||w){var N=[];var j=[];var q=new Map,ee=0,te=0;walk(k,(E=>{if(E instanceof _t&&E!==k)return true;if(E instanceof Kt){++te;return true}}));w=w&&te>1;var ne=new TreeTransformer((function before(te){if(te!==k){if(te instanceof nt){N.push(te);return make_node(ot,te)}if(S&&te instanceof wt&&!(ne.parent()instanceof tn)&&ne.parent()===k){j.push(te);return make_node(ot,te)}if(w&&te instanceof Kt&&!te.definitions.some((E=>E.name instanceof At))){te.definitions.forEach((function(E){q.set(E.name.name,E);++ee}));var ae=te.to_assignments(E);var _e=ne.parent();if(_e instanceof mt&&_e.init===te){if(ae==null){var ve=te.definitions[0].name;return make_node(Yn,ve,ve)}return ae}if(_e instanceof ht&&_e.init===te){return ae}if(!ae)return make_node(ot,te);return make_node(rt,te,{body:ae})}if(te instanceof _t)return te}}));k=k.transform(ne);if(ee>0){var ae=[];const E=k instanceof Et;const S=E?k.args_as_names():null;q.forEach(((k,w)=>{if(E&&S.some((E=>E.name===k.name.name))){q.delete(w)}else{k=k.clone();k.value=null;ae.push(k);q.set(w,k)}}));if(ae.length>0){for(var _e=0;_eE instanceof bt||E.computed_key()))){ee(q,this);const E=new Map;const S=[];ae.properties.forEach((({key:w,value:N})=>{const ee=find_scope(j);const ne=k.create_symbol(te.CTOR,{source:te,scope:ee,conflict_scopes:new Set([ee,...te.definition().references.map((E=>E.scope))]),tentative_name:te.name+"_"+w});E.set(String(w),ne.definition());S.push(make_node(Jt,q,{name:ne,value:N}))}));w.set(ne.id,E);return N.splice(S)}}else if(q instanceof on&&q.expression instanceof Yn){const E=w.get(q.expression.definition().id);if(E){const k=E.get(String(get_value(q.property)));const S=make_node(Yn,q,{name:k.name,scope:q.expression.scope,thedef:k});S.reference({});return S}}}));return k.transform(j)}));(function(E){function trim(E,k,S){var w=E.length;if(!w)return null;var N=[],j=false;for(var q=0;q0){q[0].body=j.concat(q[0].body)}E.body=q;while(S=q[q.length-1]){var we=S.body[S.body.length-1];if(we instanceof Ft&&k.loopcontrol_target(we)===E)S.body.pop();if(S.body.length||S instanceof Gt&&(ee||S.expression.has_side_effects(k)))break;if(q.pop()===ee)ee=null}if(q.length==0){return make_node(st,E,{body:j.concat(make_node(rt,E.expression,{body:E.expression}))}).optimize(k)}if(q.length==1&&(q[0]===te||q[0]===ee)){var Ce=false;var Me=new TreeWalker((function(k){if(Ce||k instanceof Et||k instanceof rt)return true;if(k instanceof Ft&&Me.loopcontrol_target(k)===E)Ce=true}));E.walk(Me);if(!Ce){var Te=q[0].body.slice();var _e=q[0].expression;if(_e)Te.unshift(make_node(rt,_e,{body:_e}));Te.unshift(make_node(rt,E.expression,{body:E.expression}));return make_node(st,E,{body:Te}).optimize(k)}}return E;function eliminate_branch(E,S){if(S&&!aborts(S)){S.body=S.body.concat(E.body)}else{trim_unreachable_code(k,E,j)}}}));def_optimize(qt,(function(E,k){tighten_body(E.body,k);if(E.bcatch&&E.bfinally&&E.bfinally.body.every(is_empty))E.bfinally=null;if(k.option("dead_code")&&E.body.every(is_empty)){var S=[];if(E.bcatch){trim_unreachable_code(k,E.bcatch,S)}if(E.bfinally)S.push(...E.bfinally.body);return make_node(st,E,{body:S}).optimize(k)}return E}));Wt.DEFMETHOD("remove_initializers",(function(){var E=[];this.definitions.forEach((function(k){if(k.name instanceof Nn){k.value=null;E.push(k)}else{walk(k.name,(S=>{if(S instanceof Nn){E.push(make_node(Jt,k,{name:S,value:null}))}}))}}));this.definitions=E}));Wt.DEFMETHOD("to_assignments",(function(E){var k=E.option("reduce_vars");var S=[];for(const E of this.definitions){if(E.value){var w=make_node(Yn,E.name,E.name);S.push(make_node(yn,E,{operator:"=",logical:false,left:w,right:E.value}));if(k)w.definition().fixed=false}else if(E.value){var N=make_node(Jt,E,{name:E.name,value:E.value});var j=make_node(Kt,E,{definitions:[N]});S.push(j)}const q=E.name.definition();q.eliminated++;q.replaced--}if(S.length==0)return null;return make_sequence(this,S)}));def_optimize(Wt,(function(E){if(E.definitions.length==0)return make_node(ot,E);return E}));def_optimize(Jt,(function(E){if(E.name instanceof $n&&E.value!=null&&is_undefined(E.value)){E.value=null}return E}));def_optimize(Zt,(function(E){return E}));function retain_top_func(E,k){return k.top_retain&&E instanceof wt&&has_flag(E,Ur)&&E.name&&k.top_retain(E.name)}def_optimize(nn,(function(E,k){var S=E.expression;var w=S;inline_array_like_spread(E.args);var N=E.args.every((E=>!(E instanceof bt)));if(k.option("reduce_vars")&&w instanceof Yn&&!has_annotation(E,kr)){const E=w.fixed_value();if(!retain_top_func(E,k)){w=E}}if(E.optional&&is_nullish(w)){return make_node(dr,E)}var j=w instanceof Et;if(j&&w.pinned())return E;if(k.option("unused")&&N&&j&&!w.uses_arguments){var q=0,ee=0;for(var te=0,ne=E.args.length;te=w.argnames.length;if(_e||has_flag(w.argnames[te],Rr)){var ae=E.args[te].drop_side_effect_free(k);if(ae){E.args[q++]=ae}else if(!_e){E.args[q++]=make_node(ar,E.args[te],{value:0});continue}}else{E.args[q++]=E.args[te]}ee=q}E.args.length=ee}if(k.option("unsafe")){if(is_undeclared_ref(S))switch(S.name){case"Array":if(E.args.length!=1){return make_node(vn,E,{elements:E.args}).optimize(k)}else if(E.args[0]instanceof ar&&E.args[0].value<=11){const k=[];for(let S=0;S=1&&E.args.length<=2&&E.args.every((E=>{var S=E.evaluate(k);ve.push(S);return E!==S}))){let[S,w]=ve;S=regexp_source_fix(new RegExp(S).source);const N=make_node(lr,E,{value:{source:S,flags:w}});if(N._eval(k)!==N){return N}}break}else if(S instanceof an)switch(S.property){case"toString":if(E.args.length==0&&!S.expression.may_throw_on_access(k)){return make_node(mn,E,{left:make_node(sr,E,{value:""}),operator:"+",right:S.expression}).optimize(k)}break;case"join":if(S.expression instanceof vn)e:{var Ee;if(E.args.length>0){Ee=E.args[0].evaluate(k);if(Ee===E.args[0])break e}var we=[];var Ce=[];for(var te=0,ne=S.expression.elements.length;te0){we.push(make_node(sr,E,{value:Ce.join(Ee)}));Ce.length=0}we.push(Me)}}if(Ce.length>0){we.push(make_node(sr,E,{value:Ce.join(Ee)}))}if(we.length==0)return make_node(sr,E,{value:""});if(we.length==1){if(we[0].is_string(k)){return we[0]}return make_node(mn,we[0],{operator:"+",left:make_node(sr,E,{value:""}),right:we[0]})}if(Ee==""){var Ie;if(we[0].is_string(k)||we[1].is_string(k)){Ie=we.shift()}else{Ie=make_node(sr,E,{value:""})}return we.reduce((function(E,k){return make_node(mn,k,{operator:"+",left:E,right:k})}),Ie).optimize(k)}var ae=E.clone();ae.expression=ae.expression.clone();ae.expression.expression=ae.expression.expression.clone();ae.expression.expression.elements=we;return best_of(k,E,ae)}break;case"charAt":if(S.expression.is_string(k)){var Oe=E.args[0];var Re=Oe?Oe.evaluate(k):0;if(Re!==Oe){return make_node(ln,S,{expression:S.expression,property:make_node_from_constant(Re|0,Oe||S)}).optimize(k)}}break;case"apply":if(E.args.length==2&&E.args[1]instanceof vn){var Fe=E.args[1].elements.slice();Fe.unshift(E.args[0]);return make_node(nn,E,{expression:make_node(an,S,{expression:S.expression,optional:false,property:"call"}),args:Fe}).optimize(k)}break;case"call":var Ne=S.expression;if(Ne instanceof Yn){Ne=Ne.fixed_value()}if(Ne instanceof Et&&!Ne.contains_this()){return(E.args.length?make_sequence(this,[E.args[0],make_node(nn,E,{expression:S.expression,args:E.args.slice(1)})]):make_node(nn,E,{expression:S.expression,args:[]})).optimize(k)}break}}if(k.option("unsafe_Function")&&is_undeclared_ref(S)&&S.name=="Function"){if(E.args.length==0)return make_node(xt,E,{argnames:[],body:[]}).optimize(k);if(E.args.every((E=>E instanceof sr))){try{var Be="n(function("+E.args.slice(0,-1).map((function(E){return E.value})).join(",")+"){"+E.args[E.args.length-1].value+"})";var Le=parse(Be);var je={ie8:k.option("ie8")};Le.figure_out_scope(je);var $e=new Compressor(k.options,{mangle_options:k.mangle_options});Le=Le.transform($e);Le.figure_out_scope(je);Pr.reset();Le.compute_char_frequency(je);Le.mangle_names(je);var ze;walk(Le,(E=>{if(is_func_expr(E)){ze=E;return vr}}));var Be=OutputStream();st.prototype._codegen.call(ze,ze,Be);E.args=[make_node(sr,E,{value:ze.argnames.map((function(E){return E.print_to_string()})).join(",")}),make_node(sr,E.args[E.args.length-1],{value:Be.get().replace(/^{|}$/g,"")})];return E}catch(E){if(!(E instanceof JS_Parse_Error)){throw E}}}}var Ue=j&&w.body[0];var Ge=j&&!w.is_generator&&!w.async;var qe=Ge&&k.option("inline")&&!E.is_expr_pure(k);if(qe&&Ue instanceof Pt){let S=Ue.value;if(!S||S.is_constant_expression()){if(S){S=S.clone(true)}else{S=make_node(dr,E)}const w=E.args.concat(S);return make_sequence(E,w).optimize(k)}if(w.argnames.length===1&&w.argnames[0]instanceof zn&&E.args.length<2&&S instanceof Yn&&S.name===w.argnames[0].name){const S=(E.args[0]||make_node(dr)).optimize(k);let w;if(S instanceof on&&(w=k.parent())instanceof nn&&w.expression===E){return make_sequence(E,[make_node(ar,E,{value:0}),S])}return S}}if(qe){var Ve,He,We=-1;let j;let q;let ee;if(N&&!w.uses_arguments&&!(k.parent()instanceof Mn)&&!(w.name&&w instanceof xt)&&(q=can_flatten_body(Ue))&&(S===w||has_annotation(E,Er)||k.option("unused")&&(j=S.definition()).references.length==1&&!recursive_ref(k,j)&&w.is_constant_expression(S.scope))&&!has_annotation(E,br|kr)&&!w.contains_this()&&can_inject_symbols()&&(ee=find_scope(k))&&!scope_encloses_variables_in_this_scope(ee,w)&&!function in_default_assign(){let E=0;let S;while(S=k.parent(E++)){if(S instanceof _n)return true;if(S instanceof it)break}return false}()&&!(Ve instanceof Mn)){set_flag(w,$r);ee.add_child_scope(w);return make_sequence(E,flatten_fn(q)).optimize(k)}}if(qe&&has_annotation(E,Er)){set_flag(w,$r);w=make_node(w.CTOR===wt?xt:w.CTOR,w,w);w.figure_out_scope({},{parent_scope:find_scope(k),toplevel:k.get_toplevel()});return make_node(nn,E,{expression:w,args:E.args}).optimize(k)}const Ke=Ge&&k.option("side_effects")&&w.body.every(is_empty);if(Ke){var Fe=E.args.concat(make_node(dr,E));return make_sequence(E,Fe).optimize(k)}if(k.option("negate_iife")&&k.parent()instanceof rt&&is_iife_call(E)){return E.negate(k,true)}var Xe=E.evaluate(k);if(Xe!==E){Xe=make_node_from_constant(Xe,E).optimize(k);return best_of(k,Xe,E)}return E;function return_value(k){if(!k)return make_node(dr,E);if(k instanceof Pt){if(!k.value)return make_node(dr,E);return k.value.clone(true)}if(k instanceof rt){return make_node(dn,k,{operator:"void",expression:k.body.clone(true)})}}function can_flatten_body(E){var S=w.body;var N=S.length;if(k.option("inline")<3){return N==1&&return_value(E)}E=null;for(var j=0;j!E.value))){return false}}else if(E){return false}else if(!(q instanceof ot)){E=q}}return return_value(E)}function can_inject_args(E,k){for(var S=0,N=w.argnames.length;S=0;){var ee=j.definitions[q].name;if(ee instanceof At||E.has(ee.name)||Vr.has(ee.name)||Ve.conflicting_def(ee.name)){return false}if(He)He.push(ee.definition())}}return true}function can_inject_symbols(){var E=new Set;do{Ve=k.parent(++We);if(Ve.is_block_scope()&&Ve.block_scope){Ve.block_scope.variables.forEach((function(k){E.add(k.name)}))}if(Ve instanceof Vt){if(Ve.argname){E.add(Ve.argname.name)}}else if(Ve instanceof ct){He=[]}else if(Ve instanceof Yn){if(Ve.fixed_value()instanceof _t)return false}}while(!(Ve instanceof _t));var S=!(Ve instanceof vt)||k.toplevel.vars;var N=k.option("inline");if(!can_inject_vars(E,N>=3&&S))return false;if(!can_inject_args(E,N>=2&&S))return false;return!He||He.length==0||!is_reachable(w,He)}function append_var(k,S,w,N){var j=w.definition();const q=Ve.variables.has(w.name);if(!q){Ve.variables.set(w.name,j);Ve.enclosed.push(j);k.push(make_node(Jt,w,{name:w,value:null}))}var ee=make_node(Yn,w,w);j.references.push(ee);if(N)S.push(make_node(yn,E,{operator:"=",logical:false,left:ee,right:N.clone()}))}function flatten_args(k,S){var N=w.argnames.length;for(var j=E.args.length;--j>=N;){S.push(E.args[j])}for(j=N;--j>=0;){var q=w.argnames[j];var ee=E.args[j];if(has_flag(q,Rr)||!q.name||Ve.conflicting_def(q.name)){if(ee)S.push(ee)}else{var te=make_node(Bn,q,q);q.definition().orig.push(te);if(!ee&&He)ee=make_node(dr,E);append_var(k,S,te,ee)}}k.reverse();S.reverse()}function flatten_vars(E,k){var S=k.length;for(var N=0,j=w.body.length;NE.name!=ae.name))){var _e=w.variables.get(ae.name);var ve=make_node(Yn,ae,ae);_e.references.push(ve);k.splice(S++,0,make_node(yn,ne,{operator:"=",logical:false,left:ve,right:make_node(dr,ae)}))}}}}function flatten_fn(E){var S=[];var N=[];flatten_args(S,N);flatten_vars(S,N);N.push(E);if(S.length){const E=Ve.body.indexOf(k.parent(We-1))+1;Ve.body.splice(E,0,make_node(Kt,w,{definitions:S}))}return N.map((E=>E.clone(true)))}}));def_optimize(rn,(function(E,k){if(k.option("unsafe")&&is_undeclared_ref(E.expression)&&["Object","RegExp","Function","Error","Array"].includes(E.expression.name))return make_node(nn,E,E).transform(k);return E}));def_optimize(sn,(function(E,k){if(!k.option("side_effects"))return E;var S=[];filter_for_side_effects();var w=S.length-1;trim_right_for_undefined();if(w==0){E=maintain_this_binding(k.parent(),k.self(),S[0]);if(!(E instanceof sn))E=E.optimize(k);return E}E.expressions=S;return E;function filter_for_side_effects(){var w=first_in_statement(k);var N=E.expressions.length-1;E.expressions.forEach((function(E,j){if(j0&&is_undefined(S[w],k))w--;if(w0){var S=this.clone();S.right=make_sequence(this.right,k.slice(j));k=k.slice(0,j);k.push(S);return make_sequence(this,k).optimize(E)}}}return this}));var ti=makePredicate("== === != !== * & | ^");function is_object(E){return E instanceof vn||E instanceof Et||E instanceof bn||E instanceof Mn}def_optimize(mn,(function(E,k){function reversible(){return E.left.is_constant()||E.right.is_constant()||!E.left.has_side_effects(k)&&!E.right.has_side_effects(k)}function reverse(k){if(reversible()){if(k)E.operator=k;var S=E.left;E.left=E.right;E.right=S}}if(ti.has(E.operator)){if(E.right.is_constant()&&!E.left.is_constant()){if(!(E.left instanceof mn&&Ke[E.left.operator]>=Ke[E.operator])){reverse()}}}E=E.lift_sequences(k);if(k.option("comparisons"))switch(E.operator){case"===":case"!==":var S=true;if(E.left.is_string(k)&&E.right.is_string(k)||E.left.is_number(k)&&E.right.is_number(k)||E.left.is_boolean()&&E.right.is_boolean()||E.left.equivalent_to(E.right)){E.operator=E.operator.substr(0,2)}case"==":case"!=":if(!S&&is_undefined(E.left,k)){E.left=make_node(pr,E.left)}else if(k.option("typeofs")&&E.left instanceof sr&&E.left.value=="undefined"&&E.right instanceof dn&&E.right.operator=="typeof"){var w=E.right.expression;if(w instanceof Yn?w.is_declared(k):!(w instanceof on&&k.option("ie8"))){E.right=w;E.left=make_node(dr,E.left).optimize(k);if(E.operator.length==2)E.operator+="="}}else if(E.left instanceof Yn&&E.right instanceof Yn&&E.left.definition()===E.right.definition()&&is_object(E.left.fixed_value())){return make_node(E.operator[0]=="="?_r:yr,E)}break;case"&&":case"||":var N=E.left;if(N.operator==E.operator){N=N.right}if(N instanceof mn&&N.operator==(E.operator=="&&"?"!==":"===")&&E.right instanceof mn&&N.operator==E.right.operator&&(is_undefined(N.left,k)&&E.right.left instanceof pr||N.left instanceof pr&&is_undefined(E.right.left,k))&&!N.right.has_side_effects(k)&&N.right.equivalent_to(E.right.right)){var j=make_node(mn,E,{operator:N.operator.slice(0,-1),left:make_node(pr,E),right:N.right});if(N!==E.left){j=make_node(mn,E,{operator:E.operator,left:E.left.left,right:j})}return j}break}if(E.operator=="+"&&k.in_boolean_context()){var q=E.left.evaluate(k);var ee=E.right.evaluate(k);if(q&&typeof q=="string"){return make_sequence(E,[E.right,make_node(_r,E)]).optimize(k)}if(ee&&typeof ee=="string"){return make_sequence(E,[E.left,make_node(_r,E)]).optimize(k)}}if(k.option("comparisons")&&E.is_boolean()){if(!(k.parent()instanceof mn)||k.parent()instanceof yn){var te=make_node(dn,E,{operator:"!",expression:E.negate(k,first_in_statement(k))});E=best_of(k,E,te)}if(k.option("unsafe_comps")){switch(E.operator){case"<":reverse(">");break;case"<=":reverse(">=");break}}}if(E.operator=="+"){if(E.right instanceof sr&&E.right.getValue()==""&&E.left.is_string(k)){return E.left}if(E.left instanceof sr&&E.left.getValue()==""&&E.right.is_string(k)){return E.right}if(E.left instanceof mn&&E.left.operator=="+"&&E.left.left instanceof sr&&E.left.left.getValue()==""&&E.right.is_string(k)){E.left=E.left.right;return E}}if(k.option("evaluate")){switch(E.operator){case"&&":var q=has_flag(E.left,Fr)?true:has_flag(E.left,Nr)?false:E.left.evaluate(k);if(!q){return maintain_this_binding(k.parent(),k.self(),E.left).optimize(k)}else if(!(q instanceof Ze)){return make_sequence(E,[E.left,E.right]).optimize(k)}var ee=E.right.evaluate(k);if(!ee){if(k.in_boolean_context()){return make_sequence(E,[E.left,make_node(yr,E)]).optimize(k)}else{set_flag(E,Nr)}}else if(!(ee instanceof Ze)){var ne=k.parent();if(ne.operator=="&&"&&ne.left===k.self()||k.in_boolean_context()){return E.left.optimize(k)}}if(E.left.operator=="||"){var ae=E.left.right.evaluate(k);if(!ae)return make_node(gn,E,{condition:E.left.left,consequent:E.right,alternative:E.left.right}).optimize(k)}break;case"||":var q=has_flag(E.left,Fr)?true:has_flag(E.left,Nr)?false:E.left.evaluate(k);if(!q){return make_sequence(E,[E.left,E.right]).optimize(k)}else if(!(q instanceof Ze)){return maintain_this_binding(k.parent(),k.self(),E.left).optimize(k)}var ee=E.right.evaluate(k);if(!ee){var ne=k.parent();if(ne.operator=="||"&&ne.left===k.self()||k.in_boolean_context()){return E.left.optimize(k)}}else if(!(ee instanceof Ze)){if(k.in_boolean_context()){return make_sequence(E,[E.left,make_node(_r,E)]).optimize(k)}else{set_flag(E,Fr)}}if(E.left.operator=="&&"){var ae=E.left.right.evaluate(k);if(ae&&!(ae instanceof Ze))return make_node(gn,E,{condition:E.left.left,consequent:E.left.right,alternative:E.right}).optimize(k)}break;case"??":if(is_nullish(E.left)){return E.right}var q=E.left.evaluate(k);if(!(q instanceof Ze)){return q==null?E.right:E.left}if(k.in_boolean_context()){const S=E.right.evaluate(k);if(!(S instanceof Ze)&&!S){return E.left}}}var _e=true;switch(E.operator){case"+":if(E.right instanceof ir&&E.left instanceof mn&&E.left.operator=="+"&&E.left.is_string(k)){var ve=make_node(mn,E,{operator:"+",left:E.left.right,right:E.right});var Ee=ve.optimize(k);if(ve!==Ee){E=make_node(mn,E,{operator:"+",left:E.left.left,right:Ee})}}if(E.left instanceof mn&&E.left.operator=="+"&&E.left.is_string(k)&&E.right instanceof mn&&E.right.operator=="+"&&E.right.is_string(k)){var ve=make_node(mn,E,{operator:"+",left:E.left.right,right:E.right.left});var we=ve.optimize(k);if(ve!==we){E=make_node(mn,E,{operator:"+",left:make_node(mn,E.left,{operator:"+",left:E.left.left,right:we}),right:E.right.right})}}if(E.right instanceof dn&&E.right.operator=="-"&&E.left.is_number(k)){E=make_node(mn,E,{operator:"-",left:E.left,right:E.right.expression});break}if(E.left instanceof dn&&E.left.operator=="-"&&reversible()&&E.right.is_number(k)){E=make_node(mn,E,{operator:"-",left:E.right,right:E.left.expression});break}if(E.left instanceof Dt){var Ce=E.left;var Ee=E.right.evaluate(k);if(Ee!=E.right){Ce.segments[Ce.segments.length-1].value+=String(Ee);return Ce}}if(E.right instanceof Dt){var Ee=E.right;var Ce=E.left.evaluate(k);if(Ce!=E.left){Ee.segments[0].value=String(Ce)+Ee.segments[0].value;return Ee}}if(E.left instanceof Dt&&E.right instanceof Dt){var Ce=E.left;var Me=Ce.segments;var Ee=E.right;Me[Me.length-1].value+=Ee.segments[0].value;for(var Te=1;Te=Ke[E.operator])){var Ie=make_node(mn,E,{operator:E.operator,left:E.right,right:E.left});if(E.right instanceof ir&&!(E.left instanceof ir)){E=best_of(k,Ie,E)}else{E=best_of(k,E,Ie)}}if(_e&&E.is_number(k)){if(E.right instanceof mn&&E.right.operator==E.operator){E=make_node(mn,E,{operator:E.operator,left:make_node(mn,E.left,{operator:E.operator,left:E.left,right:E.right.left,start:E.left.start,end:E.right.left.end}),right:E.right.right})}if(E.right instanceof ir&&E.left instanceof mn&&E.left.operator==E.operator){if(E.left.left instanceof ir){E=make_node(mn,E,{operator:E.operator,left:make_node(mn,E.left,{operator:E.operator,left:E.left.left,right:E.right,start:E.left.left.start,end:E.right.end}),right:E.left.right})}else if(E.left.right instanceof ir){E=make_node(mn,E,{operator:E.operator,left:make_node(mn,E.left,{operator:E.operator,left:E.left.right,right:E.right,start:E.left.right.start,end:E.right.end}),right:E.left.left})}}if(E.left instanceof mn&&E.left.operator==E.operator&&E.left.right instanceof ir&&E.right instanceof mn&&E.right.operator==E.operator&&E.right.left instanceof ir){E=make_node(mn,E,{operator:E.operator,left:make_node(mn,E.left,{operator:E.operator,left:make_node(mn,E.left.left,{operator:E.operator,left:E.left.right,right:E.right.left,start:E.left.right.start,end:E.right.left.end}),right:E.left.left}),right:E.right.right})}}}}if(E.right instanceof mn&&E.right.operator==E.operator&&(Hr.has(E.operator)||E.operator=="+"&&(E.right.left.is_string(k)||E.left.is_string(k)&&E.right.right.is_string(k)))){E.left=make_node(mn,E.left,{operator:E.operator,left:E.left.transform(k),right:E.right.left.transform(k)});E.right=E.right.right.transform(k);return E.transform(k)}var Oe=E.evaluate(k);if(Oe!==E){Oe=make_node_from_constant(Oe,E).optimize(k);return best_of(k,Oe,E)}return E}));def_optimize(Zn,(function(E){return E}));function recursive_ref(E,k){var S;for(var w=0;S=E.parent(w);w++){if(S instanceof Et||S instanceof Mn){var N=S.name;if(N&&N.definition()===k)break}}return S}function within_array_or_object_literal(E){var k,S=0;while(k=E.parent(S++)){if(k instanceof et)return false;if(k instanceof vn||k instanceof kn||k instanceof bn){return true}}return false}def_optimize(Yn,(function(E,k){if(!k.option("ie8")&&is_undeclared_ref(E)&&!k.find_parent(yt)){switch(E.name){case"undefined":return make_node(dr,E).optimize(k);case"NaN":return make_node(fr,E).optimize(k);case"Infinity":return make_node(mr,E).optimize(k)}}const S=k.parent();if(k.option("reduce_vars")&&is_lhs(E,S)!==E){const j=E.definition();const q=find_scope(k);if(k.top_retain&&j.global&&k.top_retain(j)){j.fixed=false;j.single_use=false;return E}let ee=E.fixed_value();let te=j.single_use&&!(S instanceof nn&&S.is_expr_pure(k)||has_annotation(S,kr))&&!(S instanceof tn&&ee instanceof Et&&ee.name);if(te&&(ee instanceof Et||ee instanceof Mn)){if(retain_top_func(ee,k)){te=false}else if(j.scope!==E.scope&&(j.escaped==1||has_flag(ee,Lr)||within_array_or_object_literal(k))){te=false}else if(recursive_ref(k,j)){te=false}else if(j.scope!==E.scope||j.orig[0]instanceof zn){te=ee.is_constant_expression(E.scope);if(te=="f"){var w=E.scope;do{if(w instanceof wt||is_func_expr(w)){set_flag(w,Lr)}}while(w=w.parent_scope)}}}if(te&&ee instanceof Et){te=j.scope===E.scope&&!scope_encloses_variables_in_this_scope(q,ee)||S instanceof nn&&S.expression===E&&!scope_encloses_variables_in_this_scope(q,ee)&&!(ee.name&&ee.name.definition().recursive_refs>0)}if(te&&ee instanceof Mn){const E=!ee.extends||!ee.extends.may_throw(k)&&!ee.extends.has_side_effects(k);te=E&&!ee.properties.some((E=>E.may_throw(k)||E.has_side_effects(k)))}if(te&&ee){if(ee instanceof Pn){set_flag(ee,$r);ee=make_node(On,ee,ee)}if(ee instanceof wt){set_flag(ee,$r);ee=make_node(xt,ee,ee)}if(j.recursive_refs>0&&ee.name instanceof Un){const E=ee.name.definition();let k=ee.variables.get(ee.name.name);let S=k&&k.orig[0];if(!(S instanceof Vn)){S=make_node(Vn,ee.name,ee.name);S.scope=ee;ee.name=S;k=ee.def_function(S)}walk(ee,(S=>{if(S instanceof Yn&&S.definition()===E){S.thedef=k;k.references.push(S)}}))}if((ee instanceof Et||ee instanceof Mn)&&ee.parent_scope!==q){ee=ee.clone(true,k.get_toplevel());q.add_child_scope(ee)}return ee.optimize(k)}if(ee){let S;if(ee instanceof nr){if(!(j.orig[0]instanceof zn)&&j.references.every((E=>j.scope===E.scope))){S=ee}}else{var N=ee.evaluate(k);if(N!==ee&&(k.option("unsafe_regexp")||!(N instanceof RegExp))){S=make_node_from_constant(N,ee)}}if(S){const w=E.size(k);const N=S.size(k);let q=0;if(k.option("unused")&&!k.exposed(j)){q=(w+2+N)/(j.references.length-j.assignments)}if(N<=w+q){return S}}}}return E}));function scope_encloses_variables_in_this_scope(E,k){for(const S of k.enclosed){if(k.variables.has(S.name)){continue}const w=E.find_variable(S.name);if(w){if(w===S)continue;return true}}return false}function is_atomic(E,k){return E instanceof Yn||E.TYPE===k.TYPE}def_optimize(dr,(function(E,k){if(k.option("unsafe_undefined")){var S=find_variable(k,"undefined");if(S){var w=make_node(Yn,E,{name:"undefined",scope:S.scope,thedef:S});set_flag(w,Br);return w}}var N=is_lhs(k.self(),k.parent());if(N&&is_atomic(N,E))return E;return make_node(dn,E,{operator:"void",expression:make_node(ar,E,{value:0})})}));def_optimize(mr,(function(E,k){var S=is_lhs(k.self(),k.parent());if(S&&is_atomic(S,E))return E;if(k.option("keep_infinity")&&!(S&&!is_atomic(S,E))&&!find_variable(k,"Infinity")){return E}return make_node(mn,E,{operator:"/",left:make_node(ar,E,{value:1}),right:make_node(ar,E,{value:0})})}));def_optimize(fr,(function(E,k){var S=is_lhs(k.self(),k.parent());if(S&&!is_atomic(S,E)||find_variable(k,"NaN")){return make_node(mn,E,{operator:"/",left:make_node(ar,E,{value:0}),right:make_node(ar,E,{value:0})})}return E}));function is_reachable(E,k){const find_ref=E=>{if(E instanceof Yn&&member(E.definition(),k)){return vr}};return walk_parent(E,((k,S)=>{if(k instanceof _t&&k!==E){var w=S.parent();if(w instanceof nn&&w.expression===k)return;if(walk(k,find_ref))return vr;return true}}))}const ni=makePredicate("+ - / * % >> << >>> | ^ &");const ri=makePredicate("* | ^ &");def_optimize(yn,(function(E,k){if(E.logical){return E.lift_sequences(k)}var S;if(k.option("dead_code")&&E.left instanceof Yn&&(S=E.left.definition()).scope===k.find_parent(Et)){var w=0,N,j=E;do{N=j;j=k.parent(w++);if(j instanceof It){if(in_try(w,j))break;if(is_reachable(S.scope,[S]))break;if(E.operator=="=")return E.right;S.fixed=false;return make_node(mn,E,{operator:E.operator.slice(0,-1),left:E.left,right:E.right}).optimize(k)}}while(j instanceof mn&&j.right===N||j instanceof sn&&j.tail_node()===N)}E=E.lift_sequences(k);if(E.operator=="="&&E.left instanceof Yn&&E.right instanceof mn){if(E.right.left instanceof Yn&&E.right.left.name==E.left.name&&ni.has(E.right.operator)){E.operator=E.right.operator+"=";E.right=E.right.right}else if(E.right.right instanceof Yn&&E.right.right.name==E.left.name&&ri.has(E.right.operator)&&!E.right.left.has_side_effects(k)){E.operator=E.right.operator+"=";E.right=E.right.left}}return E;function in_try(S,w){var N=E.right;E.right=make_node(pr,N);var j=w.may_throw(k);E.right=N;var q=E.left.definition().scope;var ee;while((ee=k.parent(S++))!==q){if(ee instanceof qt){if(ee.bfinally)return true;if(j&&ee.bcatch)return true}}}}));def_optimize(_n,(function(E,k){if(!k.option("evaluate")){return E}var S=E.right.evaluate(k);if(S===undefined){E=E.left}else if(S!==E.right){S=make_node_from_constant(S,E.right);E.right=best_of_expression(S,E.right)}return E}));function is_nullish(E){let k;return E instanceof pr||is_undefined(E)||E instanceof Yn&&(k=E.definition().fixed)instanceof Ze&&is_nullish(k)||E instanceof on&&E.optional&&is_nullish(E.expression)||E instanceof nn&&E.optional&&is_nullish(E.expression)||E instanceof cn&&is_nullish(E.expression)}function is_nullish_check(E,k,S){if(k.may_throw(S))return false;let w;if(E instanceof mn&&E.operator==="=="&&((w=is_nullish(E.left)&&E.left)||(w=is_nullish(E.right)&&E.right))&&(w===E.left?E.right:E.left).equivalent_to(k)){return true}if(E instanceof mn&&E.operator==="||"){let S;let w;const find_comparison=E=>{if(!(E instanceof mn&&(E.operator==="==="||E.operator==="=="))){return false}let N=0;let j;if(E.left instanceof pr){N++;S=E;j=E.right}if(E.right instanceof pr){N++;S=E;j=E.left}if(is_undefined(E.left)){N++;w=E;j=E.right}if(is_undefined(E.right)){N++;w=E;j=E.left}if(N!==1){return false}if(!j.equivalent_to(k)){return false}return true};if(!find_comparison(E.left))return false;if(!find_comparison(E.right))return false;if(S&&w&&S!==w){return true}}return false}def_optimize(gn,(function(E,k){if(!k.option("conditionals"))return E;if(E.condition instanceof sn){var S=E.condition.expressions.slice();E.condition=S.pop();S.push(E);return make_sequence(E,S)}var w=E.condition.evaluate(k);if(w!==E.condition){if(w){return maintain_this_binding(k.parent(),k.self(),E.consequent)}else{return maintain_this_binding(k.parent(),k.self(),E.alternative)}}var N=w.negate(k,first_in_statement(k));if(best_of(k,w,N)===N){E=make_node(gn,E,{condition:N,consequent:E.alternative,alternative:E.consequent})}var j=E.condition;var q=E.consequent;var ee=E.alternative;if(j instanceof Yn&&q instanceof Yn&&j.definition()===q.definition()){return make_node(mn,E,{operator:"||",left:j,right:ee})}if(q instanceof yn&&ee instanceof yn&&q.operator===ee.operator&&q.logical===ee.logical&&q.left.equivalent_to(ee.left)&&(!E.condition.has_side_effects(k)||q.operator=="="&&!q.left.has_side_effects(k))){return make_node(yn,E,{operator:q.operator,left:q.left,logical:q.logical,right:make_node(gn,E,{condition:E.condition,consequent:q.right,alternative:ee.right})})}var te;if(q instanceof nn&&ee.TYPE===q.TYPE&&q.args.length>0&&q.args.length==ee.args.length&&q.expression.equivalent_to(ee.expression)&&!E.condition.has_side_effects(k)&&!q.expression.has_side_effects(k)&&typeof(te=single_arg_diff())=="number"){var ne=q.clone();ne.args[te]=make_node(gn,E,{condition:E.condition,consequent:q.args[te],alternative:ee.args[te]});return ne}if(ee instanceof gn&&q.equivalent_to(ee.consequent)){return make_node(gn,E,{condition:make_node(mn,E,{operator:"||",left:j,right:ee.condition}),consequent:q,alternative:ee.alternative}).optimize(k)}if(k.option("ecma")>=2020&&is_nullish_check(j,ee,k)){return make_node(mn,E,{operator:"??",left:ee,right:q}).optimize(k)}if(ee instanceof sn&&q.equivalent_to(ee.expressions[ee.expressions.length-1])){return make_sequence(E,[make_node(mn,E,{operator:"||",left:j,right:make_sequence(E,ee.expressions.slice(0,-1))}),q]).optimize(k)}if(ee instanceof mn&&ee.operator=="&&"&&q.equivalent_to(ee.right)){return make_node(mn,E,{operator:"&&",left:make_node(mn,E,{operator:"||",left:j,right:ee.left}),right:q}).optimize(k)}if(q instanceof gn&&q.alternative.equivalent_to(ee)){return make_node(gn,E,{condition:make_node(mn,E,{left:E.condition,operator:"&&",right:q.condition}),consequent:q.consequent,alternative:ee})}if(q.equivalent_to(ee)){return make_sequence(E,[E.condition,q]).optimize(k)}if(q instanceof mn&&q.operator=="||"&&q.right.equivalent_to(ee)){return make_node(mn,E,{operator:"||",left:make_node(mn,E,{operator:"&&",left:E.condition,right:q.left}),right:ee}).optimize(k)}var ae=k.in_boolean_context();if(is_true(E.consequent)){if(is_false(E.alternative)){return booleanize(E.condition)}return make_node(mn,E,{operator:"||",left:booleanize(E.condition),right:E.alternative})}if(is_false(E.consequent)){if(is_true(E.alternative)){return booleanize(E.condition.negate(k))}return make_node(mn,E,{operator:"&&",left:booleanize(E.condition.negate(k)),right:E.alternative})}if(is_true(E.alternative)){return make_node(mn,E,{operator:"||",left:booleanize(E.condition.negate(k)),right:E.consequent})}if(is_false(E.alternative)){return make_node(mn,E,{operator:"&&",left:booleanize(E.condition),right:E.consequent})}return E;function booleanize(E){if(E.is_boolean())return E;return make_node(dn,E,{operator:"!",expression:E.negate(k)})}function is_true(E){return E instanceof _r||ae&&E instanceof ir&&E.getValue()||E instanceof dn&&E.operator=="!"&&E.expression instanceof ir&&!E.expression.getValue()}function is_false(E){return E instanceof yr||ae&&E instanceof ir&&!E.getValue()||E instanceof dn&&E.operator=="!"&&E.expression instanceof ir&&E.expression.getValue()}function single_arg_diff(){var E=q.args;var k=ee.args;for(var S=0,w=E.length;S=2015;var w=this.expression;if(w instanceof bn){var N=w.properties;for(var j=N.length;--j>=0;){var q=N[j];if(""+(q instanceof Cn?q.key.name:q.key)==E){if(!N.every((E=>E instanceof kn||S&&E instanceof Cn&&!E.is_generator)))break;if(!safe_to_flatten(q.value,k))break;return make_node(ln,this,{expression:make_node(vn,w,{elements:N.map((function(E){var k=E.value;if(k instanceof kt)k=make_node(xt,k,k);var S=E.key;if(S instanceof Ze&&!(S instanceof Gn)){return make_sequence(E,[S,k])}return k}))}),property:make_node(ar,this,{value:j})})}}}}));def_optimize(ln,(function(E,k){var S=E.expression;var w=E.property;if(k.option("properties")){var N=w.evaluate(k);if(N!==w){if(typeof N=="string"){if(N=="undefined"){N=undefined}else{var j=parseFloat(N);if(j.toString()==N){N=j}}}w=E.property=best_of_expression(w,make_node_from_constant(N,w).transform(k));var q=""+N;if(is_basic_identifier_string(q)&&q.length<=w.size()+1){return make_node(an,E,{expression:S,optional:E.optional,property:q,quote:w.quote}).optimize(k)}}}var ee;e:if(k.option("arguments")&&S instanceof Yn&&S.name=="arguments"&&S.definition().orig.length==1&&(ee=S.scope)instanceof Et&&ee.uses_arguments&&!(ee instanceof St)&&w instanceof ar){var te=w.getValue();var ne=new Set;var ae=ee.argnames;for(var _e=0;_e1){Ee=null}}else if(!Ee&&!k.option("keep_fargs")&&te=ee.argnames.length){Ee=ee.create_symbol(zn,{source:ee,scope:ee,tentative_name:"argument_"+ee.argnames.length});ee.argnames.push(Ee)}}if(Ee){var Ce=make_node(Yn,E,Ee);Ce.reference({});clear_flag(Ee,Rr);return Ce}}if(is_lhs(E,k.parent()))return E;if(N!==w){var Me=E.flatten_object(q,k);if(Me){S=E.expression=Me.expression;w=E.property=Me.property}}if(k.option("properties")&&k.option("side_effects")&&w instanceof ar&&S instanceof vn){var te=w.getValue();var Te=S.elements;var Ie=Te[te];e:if(safe_to_flatten(Ie,k)){var Oe=true;var Re=[];for(var Fe=Te.length;--Fe>te;){var j=Te[Fe].drop_side_effect_free(k);if(j){Re.unshift(j);if(Oe&&j.has_side_effects(k))Oe=false}}if(Ie instanceof bt)break e;Ie=Ie instanceof hr?make_node(dr,Ie):Ie;if(!Oe)Re.unshift(Ie);while(--Fe>=0){var j=Te[Fe];if(j instanceof bt)break e;j=j.drop_side_effect_free(k);if(j)Re.unshift(j);else te--}if(Oe){Re.push(Ie);return make_sequence(E,Re).optimize(k)}else return make_node(ln,E,{expression:make_node(vn,S,{elements:Re}),property:make_node(ar,w,{value:te})})}}var Ne=E.evaluate(k);if(Ne!==E){Ne=make_node_from_constant(Ne,E).optimize(k);return best_of(k,Ne,E)}if(E.optional&&is_nullish(E.expression)){return make_node(dr,E)}return E}));def_optimize(cn,(function(E,k){E.expression=E.expression.optimize(k);return E}));Et.DEFMETHOD("contains_this",(function(){return walk(this,(E=>{if(E instanceof nr)return vr;if(E!==this&&E instanceof _t&&!(E instanceof St)){return true}}))}));def_optimize(an,(function(E,k){const S=k.parent();if(is_lhs(E,S))return E;if(k.option("unsafe_proto")&&E.expression instanceof an&&E.expression.property=="prototype"){var w=E.expression.expression;if(is_undeclared_ref(w))switch(w.name){case"Array":E.expression=make_node(vn,E.expression,{elements:[]});break;case"Function":E.expression=make_node(xt,E.expression,{argnames:[],body:[]});break;case"Number":E.expression=make_node(ar,E.expression,{value:0});break;case"Object":E.expression=make_node(bn,E.expression,{properties:[]});break;case"RegExp":E.expression=make_node(lr,E.expression,{value:{source:"t",flags:""}});break;case"String":E.expression=make_node(sr,E.expression,{value:""});break}}if(!(S instanceof nn)||!has_annotation(S,kr)){const S=E.flatten_object(E.property,k);if(S)return S.optimize(k)}let N=E.evaluate(k);if(N!==E){N=make_node_from_constant(N,E).optimize(k);return best_of(k,N,E)}if(E.optional&&is_nullish(E.expression)){return make_node(dr,E)}return E}));function literals_in_boolean_context(E,k){if(k.in_boolean_context()){return best_of(k,E,make_sequence(E,[E,make_node(_r,E)]).optimize(k))}return E}function inline_array_like_spread(E){for(var k=0;kE instanceof hr))){E.splice(k,1,...w.elements);k--}}}}def_optimize(vn,(function(E,k){var S=literals_in_boolean_context(E,k);if(S!==E){return S}inline_array_like_spread(E.elements);return E}));function inline_object_prop_spread(E){for(var k=0;kE instanceof kn))){E.splice(k,1,...w.properties);k--}else if(w instanceof ir&&!(w instanceof sr)){E.splice(k,1)}}}}def_optimize(bn,(function(E,k){var S=literals_in_boolean_context(E,k);if(S!==E){return S}inline_object_prop_spread(E.properties);return E}));def_optimize(lr,literals_in_boolean_context);def_optimize(Pt,(function(E,k){if(E.value&&is_undefined(E.value,k)){E.value=null}return E}));def_optimize(St,opt_AST_Lambda);def_optimize(xt,(function(E,k){E=opt_AST_Lambda(E,k);if(k.option("unsafe_arrows")&&k.option("ecma")>=2015&&!E.name&&!E.is_generator&&!E.uses_arguments&&!E.pinned()){const S=walk(E,(E=>{if(E instanceof nr)return vr}));if(!S)return make_node(St,E,E).optimize(k)}return E}));def_optimize(Mn,(function(E){return E}));def_optimize(Lt,(function(E,k){if(E.expression&&!E.is_star&&is_undefined(E.expression,k)){E.expression=null}return E}));def_optimize(Dt,(function(E,k){if(!k.option("evaluate")||k.parent()instanceof Ct){return E}var S=[];for(var w=0;w=2015&&(!(S instanceof RegExp)||S.test(E.key+""))){var w=E.key;var N=E.value;var j=N instanceof St&&Array.isArray(N.body)&&!N.contains_this();if((j||N instanceof xt)&&!N.name){return make_node(Cn,E,{async:N.async,is_generator:N.is_generator,key:w instanceof Ze?w:make_node(Gn,E,{name:w}),value:make_node(kt,N,N),quote:E.quote})}}return E}));def_optimize(At,(function(E,k){if(k.option("pure_getters")==true&&k.option("unused")&&!E.is_array&&Array.isArray(E.names)&&!is_destructuring_export_decl(k)&&!(E.names[E.names.length-1]instanceof bt)){var S=[];for(var w=0;w1)throw new Error("inline source map only works with singular input");k.sourceMap.content=read_source_map(E[j])}}N=k.parse.toplevel}if(w&&k.mangle.properties.keep_quoted!=="strict"){reserve_quoted_keys(N,w)}if(k.wrap){N=N.wrap_commonjs(k.wrap)}if(k.enclose){N=N.wrap_enclose(k.enclose)}if(S)S.rename=Date.now();if(S)S.compress=Date.now();if(k.compress){N=new Compressor(k.compress,{mangle_options:k.mangle}).compress(N)}if(S)S.scope=Date.now();if(k.mangle)N.figure_out_scope(k.mangle);if(S)S.mangle=Date.now();if(k.mangle){Pr.reset();N.compute_char_frequency(k.mangle);N.mangle_names(k.mangle)}if(S)S.properties=Date.now();if(k.mangle&&k.mangle.properties){N=mangle_properties(N,k.mangle.properties)}if(S)S.format=Date.now();var q={};if(k.format.ast){q.ast=N}if(!HOP(k.format,"code")||k.format.code){if(k.sourceMap){k.format.source_map=await SourceMap({file:k.sourceMap.filename,orig:k.sourceMap.content,root:k.sourceMap.root});if(k.sourceMap.includeSources){if(E instanceof vt){throw new Error("original source content unavailable")}else for(var j in E)if(HOP(E,j)){k.format.source_map.get().setSourceContent(j,E[j])}}}delete k.format.ast;delete k.format.code;var ee=OutputStream(k.format);N.print(ee);q.code=ee.get();if(k.sourceMap){if(k.sourceMap.asObject){q.map=k.format.source_map.get().toJSON()}else{q.map=k.format.source_map.toString()}if(k.sourceMap.url=="inline"){var te=typeof q.map==="object"?JSON.stringify(q.map):q.map;q.code+="\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,"+oi(te)}else if(k.sourceMap.url){q.code+="\n//# sourceMappingURL="+k.sourceMap.url}}}if(k.nameCache&&k.mangle){if(k.mangle.cache)k.nameCache.vars=cache_to_json(k.mangle.cache);if(k.mangle.properties&&k.mangle.properties.cache){k.nameCache.props=cache_to_json(k.mangle.properties.cache)}}if(k.format&&k.format.source_map){k.format.source_map.destroy()}if(S){S.end=Date.now();q.timings={parse:.001*(S.rename-S.parse),rename:.001*(S.compress-S.rename),compress:.001*(S.scope-S.compress),scope:.001*(S.mangle-S.scope),mangle:.001*(S.properties-S.mangle),properties:.001*(S.format-S.properties),format:.001*(S.end-S.format),total:.001*(S.end-S.start)}}return q}async function run_cli({program:E,packageJson:k,fs:w,path:N}){const j=new Set(["cname","parent_scope","scope","uses_eval","uses_with"]);var q={};var ee={compress:false,mangle:false};const te=await _default_options();E.version(k.name+" "+k.version);E.parseArgv=E.parse;E.parse=undefined;if(process.argv.includes("ast"))E.helpInformation=describe_ast;else if(process.argv.includes("options"))E.helpInformation=function(){var E=[];for(var k in te){E.push("--"+(k==="sourceMap"?"source-map":k)+" options:");E.push(format_object(te[k]));E.push("")}return E.join("\n")};E.option("-p, --parse ","Specify parser options.",parse_js());E.option("-c, --compress [options]","Enable compressor/specify compressor options.",parse_js());E.option("-m, --mangle [options]","Mangle names/specify mangler options.",parse_js());E.option("--mangle-props [options]","Mangle properties/specify mangler options.",parse_js());E.option("-f, --format [options]","Format options.",parse_js());E.option("-b, --beautify [options]","Alias for --format.",parse_js());E.option("-o, --output ","Output file (default STDOUT).");E.option("--comments [filter]","Preserve copyright comments in the output.");E.option("--config-file ","Read minify() options from JSON file.");E.option("-d, --define [=value]","Global definitions.",parse_js("define"));E.option("--ecma ","Specify ECMAScript release: 5, 2015, 2016 or 2017...");E.option("-e, --enclose [arg[,...][:value[,...]]]","Embed output in a big function with configurable arguments and values.");E.option("--ie8","Support non-standard Internet Explorer 8.");E.option("--keep-classnames","Do not mangle/drop class names.");E.option("--keep-fnames","Do not mangle/drop function names. Useful for code relying on Function.prototype.name.");E.option("--module","Input is an ES6 module");E.option("--name-cache ","File to hold mangled name mappings.");E.option("--rename","Force symbol expansion.");E.option("--no-rename","Disable symbol expansion.");E.option("--safari10","Support non-standard Safari 10.");E.option("--source-map [options]","Enable source map/specify source map options.",parse_js());E.option("--timings","Display operations run time on STDERR.");E.option("--toplevel","Compress and/or mangle variables in toplevel scope.");E.option("--wrap ","Embed everything as a function with “exports” corresponding to “name” globally.");E.arguments("[files...]").parseArgv(process.argv);if(E.configFile){ee=JSON.parse(read_file(E.configFile))}if(!E.output&&E.sourceMap&&E.sourceMap.url!="inline"){fatal("ERROR: cannot write source map to STDOUT")}["compress","enclose","ie8","mangle","module","safari10","sourceMap","toplevel","wrap"].forEach((function(k){if(k in E){ee[k]=E[k]}}));if("ecma"in E){if(E.ecma!=(E.ecma|0))fatal("ERROR: ecma must be an integer");const k=E.ecma|0;if(k>5&&k<2015)ee.ecma=k+2009;else ee.ecma=k}if(E.format||E.beautify){const k=E.format||E.beautify;ee.format=typeof k==="object"?k:{}}if(E.comments){if(typeof ee.format!="object")ee.format={};ee.format.comments=typeof E.comments=="string"?E.comments=="false"?false:E.comments:"some"}if(E.define){if(typeof ee.compress!="object")ee.compress={};if(typeof ee.compress.global_defs!="object")ee.compress.global_defs={};for(var ne in E.define){ee.compress.global_defs[ne]=E.define[ne]}}if(E.keepClassnames){ee.keep_classnames=true}if(E.keepFnames){ee.keep_fnames=true}if(E.mangleProps){if(E.mangleProps.domprops){delete E.mangleProps.domprops}else{if(typeof E.mangleProps!="object")E.mangleProps={};if(!Array.isArray(E.mangleProps.reserved))E.mangleProps.reserved=[]}if(typeof ee.mangle!="object")ee.mangle={};ee.mangle.properties=E.mangleProps}if(E.nameCache){ee.nameCache=JSON.parse(read_file(E.nameCache,"{}"))}if(E.output=="ast"){ee.format={ast:true,code:false}}if(E.parse){if(!E.parse.acorn&&!E.parse.spidermonkey){ee.parse=E.parse}else if(E.sourceMap&&E.sourceMap.content=="inline"){fatal("ERROR: inline source map only works with built-in parser")}}if(~E.rawArgs.indexOf("--rename")){ee.rename=true}else if(!E.rename){ee.rename=false}let convert_path=E=>E;if(typeof E.sourceMap=="object"&&"base"in E.sourceMap){convert_path=function(){var k=E.sourceMap.base;delete ee.sourceMap.base;return function(E){return N.relative(k,E)}}()}let ae;if(ee.files&&ee.files.length){ae=ee.files;delete ee.files}else if(E.args.length){ae=E.args}if(ae){simple_glob(ae).forEach((function(E){q[convert_path(E)]=read_file(E)}))}else{await new Promise((E=>{var k=[];process.stdin.setEncoding("utf8");process.stdin.on("data",(function(E){k.push(E)})).on("end",(function(){q=[k.join("")];E()}));process.stdin.resume()}))}await run_cli();function convert_ast(E){return Ze.from_mozilla_ast(Object.keys(q).reduce(E,null))}async function run_cli(){var k=E.sourceMap&&E.sourceMap.content;if(k&&k!=="inline"){ee.sourceMap.content=read_file(k,k)}if(E.timings)ee.timings=true;try{if(E.parse){if(E.parse.acorn){q=convert_ast((function(k,w){return S(20976).parse(q[w],{ecmaVersion:2018,locations:true,program:k,sourceFile:w,sourceType:ee.module||E.parse.module?"module":"script"})}))}else if(E.parse.spidermonkey){q=convert_ast((function(E,k){var S=JSON.parse(q[k]);if(!E)return S;E.body=E.body.concat(S.body);return E}))}}}catch(E){fatal(E)}let N;try{N=await minify(q,ee)}catch(E){if(E.name=="SyntaxError"){print_error("Parse error at "+E.filename+":"+E.line+","+E.col);var te=E.col;var ne=q[E.filename].split(/\r?\n/);var ae=ne[E.line-1];if(!ae&&!te){ae=ne[E.line-2];te=ae.length}if(ae){var _e=70;if(te>_e){ae=ae.slice(te-_e);te=_e}print_error(ae.slice(0,80));print_error(ae.slice(0,te).replace(/\S/g," ")+"^")}}if(E.defs){print_error("Supported options:");print_error(format_object(E.defs))}fatal(E);return}if(E.output=="ast"){if(!ee.compress&&!ee.mangle){N.ast.figure_out_scope({})}console.log(JSON.stringify(N.ast,(function(E,k){if(k)switch(E){case"thedef":return symdef(k);case"enclosed":return k.length?k.map(symdef):undefined;case"variables":case"functions":case"globals":return k.size?collect_from_map(k,symdef):undefined}if(j.has(E))return;if(k instanceof AST_Token)return;if(k instanceof Map)return;if(k instanceof Ze){var S={_class:"AST_"+k.TYPE};if(k.block_scope){S.variables=k.block_scope.variables;S.functions=k.block_scope.functions;S.enclosed=k.block_scope.enclosed}k.CTOR.PROPS.forEach((function(E){S[E]=k[E]}));return S}return k}),2))}else if(E.output=="spidermonkey"){try{const E=await minify(N.code,{compress:false,mangle:false,format:{ast:true,code:false}});console.log(JSON.stringify(E.ast.to_mozilla_ast(),null,2))}catch(E){fatal(E);return}}else if(E.output){w.writeFileSync(E.output,N.code);if(ee.sourceMap&&ee.sourceMap.url!=="inline"&&N.map){w.writeFileSync(E.output+".map",N.map)}}else{console.log(N.code)}if(E.nameCache){w.writeFileSync(E.nameCache,JSON.stringify(ee.nameCache))}if(N.timings)for(var ve in N.timings){print_error("- "+ve+": "+N.timings[ve].toFixed(3)+"s")}}function fatal(E){if(E instanceof Error)E=E.stack.replace(/^\S*?Error:/,"ERROR:");print_error(E);process.exit(1)}function simple_glob(E){if(Array.isArray(E)){return[].concat.apply([],E.map(simple_glob))}if(E&&E.match(/[*?]/)){var k=N.dirname(E);try{var S=w.readdirSync(k)}catch(E){}if(S){var j="^"+N.basename(E).replace(/[.+^$[\]\\(){}]/g,"\\$&").replace(/\*/g,"[^/\\\\]*").replace(/\?/g,"[^/\\\\]")+"$";var q=process.platform==="win32"?"i":"";var ee=new RegExp(j,q);var te=S.filter((function(E){return ee.test(E)})).map((function(E){return N.join(k,E)}));if(te.length)return te}}return[E]}function read_file(E,k){try{return w.readFileSync(E,"utf8")}catch(E){if((E.code=="ENOENT"||E.code=="ENAMETOOLONG")&&k!=null)return k;fatal(E)}}function parse_js(E){return function(k,S){S=S||{};try{walk(parse(k,{expression:true}),(k=>{if(k instanceof yn){var w=k.left.print_to_string();var N=k.right;if(E){S[w]=N}else if(N instanceof vn){S[w]=N.elements.map(to_string)}else if(N instanceof lr){N=N.value;S[w]=new RegExp(N.source,N.flags)}else{S[w]=to_string(N)}return true}if(k instanceof Rn||k instanceof on){var w=k.print_to_string();S[w]=true;return true}if(!(k instanceof sn))throw k;function to_string(E){return E instanceof ir?E.getValue():E.print_to_string({quote_keys:true})}}))}catch(w){if(E){fatal("Error parsing arguments for '"+E+"': "+k)}else{S[k]=null}}return S}}function symdef(E){var k=1e6+E.id+" "+E.name;if(E.mangled_name)k+=" "+E.mangled_name;return k}function collect_from_map(E,k){var S=[];E.forEach((function(E){S.push(k(E))}));return S}function format_object(E){var k=[];var S="";Object.keys(E).map((function(k){if(S.length!/^\$/.test(E)));if(S.length>0){E.space();E.with_parens((function(){S.forEach((function(k,S){if(S)E.space();E.print(k)}))}))}if(k.documentation){E.space();E.print_string(k.documentation)}if(k.SUBCLASSES.length>0){E.space();E.with_block((function(){k.SUBCLASSES.forEach((function(k){E.indent();doitem(k);E.newline()}))}))}}doitem(Ze);return E+"\n"}}async function _default_options(){const E={};Object.keys(infer_options({0:0})).forEach((k=>{const S=infer_options({[k]:{0:0}});if(S)E[k]=S}));return E}async function infer_options(E){try{await minify("",E)}catch(E){return E.defs}}E._default_options=_default_options;E._run_cli=run_cli;E.minify=minify}))},85431:(E,k)=>{class ArraySet{constructor(){this._array=[];this._set=new Map}static fromArray(E,k){const S=new ArraySet;for(let w=0,N=E.length;w=0){return k}throw new Error('"'+E+'" is not in the set.')}at(E){if(E>=0&&E{const w=S(45210);const N=5;const j=1<>1;return k?-S:S}k.encode=function base64VLQ_encode(E){let k="";let S;let j=toVLQSigned(E);do{S=j&q;j>>>=N;if(j>0){S|=ee}k+=w.encode(S)}while(j>0);return k}},45210:(E,k)=>{const S="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/".split("");k.encode=function(E){if(0<=E&&E{k.GREATEST_LOWER_BOUND=1;k.LEAST_UPPER_BOUND=2;function recursiveSearch(E,S,w,N,j,q){const ee=Math.floor((S-E)/2)+E;const te=j(w,N[ee],true);if(te===0){return ee}else if(te>0){if(S-ee>1){return recursiveSearch(ee,S,w,N,j,q)}if(q==k.LEAST_UPPER_BOUND){return S1){return recursiveSearch(E,ee,w,N,j,q)}if(q==k.LEAST_UPPER_BOUND){return ee}return E<0?-1:E}k.search=function search(E,S,w,N){if(S.length===0){return-1}let j=recursiveSearch(-1,S.length,E,S,w,N||k.GREATEST_LOWER_BOUND);if(j<0){return-1}while(j-1>=0){if(w(S[j],S[j-1],true)!==0){break}--j}return j}},48935:(E,k,S)=>{const w=S(53033);function generatedPositionAfter(E,k){const S=E.generatedLine;const N=k.generatedLine;const j=E.generatedColumn;const q=k.generatedColumn;return N>S||N==S&&q>=j||w.compareByGeneratedPositionsInflated(E,k)<=0}class MappingList{constructor(){this._array=[];this._sorted=true;this._last={generatedLine:-1,generatedColumn:0}}unsortedForEach(E,k){this._array.forEach(E,k)}add(E){if(generatedPositionAfter(this._last,E)){this._last=E;this._array.push(E)}else{this._sorted=false;this._array.push(E)}}toArray(){if(!this._sorted){this._array.sort(w.compareByGeneratedPositionsInflated);this._sorted=true}return this._array}}k.H=MappingList},92256:(E,k,S)=>{if(typeof fetch==="function"){let k=null;E.exports=function readWasm(){if(typeof k!=="string"){throw new Error("You must provide the URL of lib/mappings.wasm by calling "+"SourceMapConsumer.initialize({ 'lib/mappings.wasm': ... }) "+"before using SourceMapConsumer")}return fetch(k).then((E=>E.arrayBuffer()))};E.exports.initialize=E=>k=E}else{const k=S(35747);const w=S(85622);E.exports=function readWasm(){return new Promise(((E,w)=>{const N=S.ab+"mappings.wasm";k.readFile(S.ab+"mappings.wasm",null,((k,S)=>{if(k){w(k);return}E(S.buffer)}))}))};E.exports.initialize=E=>{console.debug("SourceMapConsumer.initialize is a no-op when running in node.js")}}},47532:(E,k,S)=>{var w;const N=S(53033);const j=S(31850);const q=S(85431).I;const ee=S(2635);const te=S(92256);const ne=S(7059);const ae=Symbol("smcInternal");class SourceMapConsumer{constructor(E,k){if(E==ae){return Promise.resolve(this)}return _factory(E,k)}static initialize(E){te.initialize(E["lib/mappings.wasm"])}static fromSourceMap(E,k){return _factoryBSM(E,k)}static with(E,k,S){let w=null;const N=new SourceMapConsumer(E,k);return N.then((E=>{w=E;return S(E)})).then((E=>{if(w){w.destroy()}return E}),(E=>{if(w){w.destroy()}throw E}))}_parseMappings(E,k){throw new Error("Subclasses must implement _parseMappings")}eachMapping(E,k,S){throw new Error("Subclasses must implement eachMapping")}allGeneratedPositionsFor(E){throw new Error("Subclasses must implement allGeneratedPositionsFor")}destroy(){throw new Error("Subclasses must implement destroy")}}SourceMapConsumer.prototype._version=3;SourceMapConsumer.GENERATED_ORDER=1;SourceMapConsumer.ORIGINAL_ORDER=2;SourceMapConsumer.GREATEST_LOWER_BOUND=1;SourceMapConsumer.LEAST_UPPER_BOUND=2;k.SourceMapConsumer=SourceMapConsumer;class BasicSourceMapConsumer extends SourceMapConsumer{constructor(E,k){return super(ae).then((S=>{let w=E;if(typeof E==="string"){w=N.parseSourceMapInput(E)}const j=N.getArg(w,"version");let ee=N.getArg(w,"sources");const te=N.getArg(w,"names",[]);let ae=N.getArg(w,"sourceRoot",null);const _e=N.getArg(w,"sourcesContent",null);const ve=N.getArg(w,"mappings");const Ee=N.getArg(w,"file",null);if(j!=S._version){throw new Error("Unsupported version: "+j)}if(ae){ae=N.normalize(ae)}ee=ee.map(String).map(N.normalize).map((function(E){return ae&&N.isAbsolute(ae)&&N.isAbsolute(E)?N.relative(ae,E):E}));S._names=q.fromArray(te.map(String),true);S._sources=q.fromArray(ee,true);S._absoluteSources=S._sources.toArray().map((function(E){return N.computeSourceURL(ae,E,k)}));S.sourceRoot=ae;S.sourcesContent=_e;S._mappings=ve;S._sourceMapURL=k;S.file=Ee;S._computedColumnSpans=false;S._mappingsPtr=0;S._wasm=null;return ne().then((E=>{S._wasm=E;return S}))}))}_findSourceIndex(E){let k=E;if(this.sourceRoot!=null){k=N.relative(this.sourceRoot,k)}if(this._sources.has(k)){return this._sources.indexOf(k)}for(let k=0;k{if(k.source!==null){k.source=this._sources.at(k.source);k.source=N.computeSourceURL(q,k.source,this._sourceMapURL);if(k.name!==null){k.name=this._names.at(k.name)}}E.call(w,k)}),(()=>{switch(j){case SourceMapConsumer.GENERATED_ORDER:this._wasm.exports.by_generated_location(this._getMappingsPtr());break;case SourceMapConsumer.ORIGINAL_ORDER:this._wasm.exports.by_original_location(this._getMappingsPtr());break;default:throw new Error("Unknown order of iteration.")}}))}allGeneratedPositionsFor(E){let k=N.getArg(E,"source");const S=N.getArg(E,"line");const w=E.column||0;k=this._findSourceIndex(k);if(k<0){return[]}if(S<1){throw new Error("Line numbers must be >= 1")}if(w<0){throw new Error("Column numbers must be >= 0")}const j=[];this._wasm.withMappingCallback((E=>{let k=E.lastGeneratedColumn;if(this._computedColumnSpans&&k===null){k=Infinity}j.push({line:E.generatedLine,column:E.generatedColumn,lastColumn:k})}),(()=>{this._wasm.exports.all_generated_locations_for(this._getMappingsPtr(),k,S-1,"column"in E,w)}));return j}destroy(){if(this._mappingsPtr!==0){this._wasm.exports.free_mappings(this._mappingsPtr);this._mappingsPtr=0}}computeColumnSpans(){if(this._computedColumnSpans){return}this._wasm.exports.compute_column_spans(this._getMappingsPtr());this._computedColumnSpans=true}originalPositionFor(E){const k={generatedLine:N.getArg(E,"line"),generatedColumn:N.getArg(E,"column")};if(k.generatedLine<1){throw new Error("Line numbers must be >= 1")}if(k.generatedColumn<0){throw new Error("Column numbers must be >= 0")}let S=N.getArg(E,"bias",SourceMapConsumer.GREATEST_LOWER_BOUND);if(S==null){S=SourceMapConsumer.GREATEST_LOWER_BOUND}let w;this._wasm.withMappingCallback((E=>w=E),(()=>{this._wasm.exports.original_location_for(this._getMappingsPtr(),k.generatedLine-1,k.generatedColumn,S)}));if(w){if(w.generatedLine===k.generatedLine){let E=N.getArg(w,"source",null);if(E!==null){E=this._sources.at(E);E=N.computeSourceURL(this.sourceRoot,E,this._sourceMapURL)}let k=N.getArg(w,"name",null);if(k!==null){k=this._names.at(k)}return{source:E,line:N.getArg(w,"originalLine",null),column:N.getArg(w,"originalColumn",null),name:k}}}return{source:null,line:null,column:null,name:null}}hasContentsOfAllSources(){if(!this.sourcesContent){return false}return this.sourcesContent.length>=this._sources.size()&&!this.sourcesContent.some((function(E){return E==null}))}sourceContentFor(E,k){if(!this.sourcesContent){return null}const S=this._findSourceIndex(E);if(S>=0){return this.sourcesContent[S]}let w=E;if(this.sourceRoot!=null){w=N.relative(this.sourceRoot,w)}let j;if(this.sourceRoot!=null&&(j=N.urlParse(this.sourceRoot))){const E=w.replace(/^file:\/\//,"");if(j.scheme=="file"&&this._sources.has(E)){return this.sourcesContent[this._sources.indexOf(E)]}if((!j.path||j.path=="/")&&this._sources.has("/"+w)){return this.sourcesContent[this._sources.indexOf("/"+w)]}}if(k){return null}throw new Error('"'+w+'" is not in the SourceMap.')}generatedPositionFor(E){let k=N.getArg(E,"source");k=this._findSourceIndex(k);if(k<0){return{line:null,column:null,lastColumn:null}}const S={source:k,originalLine:N.getArg(E,"line"),originalColumn:N.getArg(E,"column")};if(S.originalLine<1){throw new Error("Line numbers must be >= 1")}if(S.originalColumn<0){throw new Error("Column numbers must be >= 0")}let w=N.getArg(E,"bias",SourceMapConsumer.GREATEST_LOWER_BOUND);if(w==null){w=SourceMapConsumer.GREATEST_LOWER_BOUND}let j;this._wasm.withMappingCallback((E=>j=E),(()=>{this._wasm.exports.generated_location_for(this._getMappingsPtr(),S.source,S.originalLine-1,S.originalColumn,w)}));if(j){if(j.source===S.source){let E=j.lastGeneratedColumn;if(this._computedColumnSpans&&E===null){E=Infinity}return{line:N.getArg(j,"generatedLine",null),column:N.getArg(j,"generatedColumn",null),lastColumn:E}}}return{line:null,column:null,lastColumn:null}}}BasicSourceMapConsumer.prototype.consumer=SourceMapConsumer;w=BasicSourceMapConsumer;class IndexedSourceMapConsumer extends SourceMapConsumer{constructor(E,k){return super(ae).then((S=>{let w=E;if(typeof E==="string"){w=N.parseSourceMapInput(E)}const j=N.getArg(w,"version");const ee=N.getArg(w,"sections");if(j!=S._version){throw new Error("Unsupported version: "+j)}S._sources=new q;S._names=new q;S.__generatedMappings=null;S.__originalMappings=null;S.__generatedMappingsUnsorted=null;S.__originalMappingsUnsorted=null;let te={line:-1,column:0};return Promise.all(ee.map((E=>{if(E.url){throw new Error("Support for url field in sections not implemented.")}const S=N.getArg(E,"offset");const w=N.getArg(S,"line");const j=N.getArg(S,"column");if(w({generatedOffset:{generatedLine:w+1,generatedColumn:j+1},consumer:E})))}))).then((E=>{S._sections=E;return S}))}))}get _generatedMappings(){if(!this.__generatedMappings){this._sortGeneratedMappings()}return this.__generatedMappings}get _originalMappings(){if(!this.__originalMappings){this._sortOriginalMappings()}return this.__originalMappings}get _generatedMappingsUnsorted(){if(!this.__generatedMappingsUnsorted){this._parseMappings(this._mappings,this.sourceRoot)}return this.__generatedMappingsUnsorted}get _originalMappingsUnsorted(){if(!this.__originalMappingsUnsorted){this._parseMappings(this._mappings,this.sourceRoot)}return this.__originalMappingsUnsorted}_sortGeneratedMappings(){const E=this._generatedMappingsUnsorted;E.sort(N.compareByGeneratedPositionsDeflated);this.__generatedMappings=E}_sortOriginalMappings(){const E=this._originalMappingsUnsorted;E.sort(N.compareByOriginalPositions);this.__originalMappings=E}get sources(){const E=[];for(let k=0;kj.push(E)));for(let E=0;E= 1")}if(S.originalColumn<0){throw new Error("Column numbers must be >= 0")}const w=[];let q=this._findMapping(S,this._originalMappings,"originalLine","originalColumn",N.compareByOriginalPositions,j.LEAST_UPPER_BOUND);if(q>=0){let S=this._originalMappings[q];if(E.column===undefined){const E=S.originalLine;while(S&&S.originalLine===E){let E=S.lastGeneratedColumn;if(this._computedColumnSpans&&E===null){E=Infinity}w.push({line:N.getArg(S,"generatedLine",null),column:N.getArg(S,"generatedColumn",null),lastColumn:E});S=this._originalMappings[++q]}}else{const E=S.originalColumn;while(S&&S.originalLine===k&&S.originalColumn==E){let E=S.lastGeneratedColumn;if(this._computedColumnSpans&&E===null){E=Infinity}w.push({line:N.getArg(S,"generatedLine",null),column:N.getArg(S,"generatedColumn",null),lastColumn:E});S=this._originalMappings[++q]}}}return w}destroy(){for(let E=0;E{const w=S(2635);const N=S(53033);const j=S(85431).I;const q=S(48935).H;class SourceMapGenerator{constructor(E){if(!E){E={}}this._file=N.getArg(E,"file",null);this._sourceRoot=N.getArg(E,"sourceRoot",null);this._skipValidation=N.getArg(E,"skipValidation",false);this._sources=new j;this._names=new j;this._mappings=new q;this._sourcesContents=null}static fromSourceMap(E){const k=E.sourceRoot;const S=new SourceMapGenerator({file:E.file,sourceRoot:k});E.eachMapping((function(E){const w={generated:{line:E.generatedLine,column:E.generatedColumn}};if(E.source!=null){w.source=E.source;if(k!=null){w.source=N.relative(k,w.source)}w.original={line:E.originalLine,column:E.originalColumn};if(E.name!=null){w.name=E.name}}S.addMapping(w)}));E.sources.forEach((function(w){let j=w;if(k!==null){j=N.relative(k,w)}if(!S._sources.has(j)){S._sources.add(j)}const q=E.sourceContentFor(w);if(q!=null){S.setSourceContent(w,q)}}));return S}addMapping(E){const k=N.getArg(E,"generated");const S=N.getArg(E,"original",null);let w=N.getArg(E,"source",null);let j=N.getArg(E,"name",null);if(!this._skipValidation){this._validateMapping(k,S,w,j)}if(w!=null){w=String(w);if(!this._sources.has(w)){this._sources.add(w)}}if(j!=null){j=String(j);if(!this._names.has(j)){this._names.add(j)}}this._mappings.add({generatedLine:k.line,generatedColumn:k.column,originalLine:S!=null&&S.line,originalColumn:S!=null&&S.column,source:w,name:j})}setSourceContent(E,k){let S=E;if(this._sourceRoot!=null){S=N.relative(this._sourceRoot,S)}if(k!=null){if(!this._sourcesContents){this._sourcesContents=Object.create(null)}this._sourcesContents[N.toSetString(S)]=k}else if(this._sourcesContents){delete this._sourcesContents[N.toSetString(S)];if(Object.keys(this._sourcesContents).length===0){this._sourcesContents=null}}}applySourceMap(E,k,S){let w=k;if(k==null){if(E.file==null){throw new Error("SourceMapGenerator.prototype.applySourceMap requires either an explicit source file, "+'or the source map\'s "file" property. Both were omitted.')}w=E.file}const q=this._sourceRoot;if(q!=null){w=N.relative(q,w)}const ee=this._mappings.toArray().length>0?new j:this._sources;const te=new j;this._mappings.unsortedForEach((function(k){if(k.source===w&&k.originalLine!=null){const w=E.originalPositionFor({line:k.originalLine,column:k.originalColumn});if(w.source!=null){k.source=w.source;if(S!=null){k.source=N.join(S,k.source)}if(q!=null){k.source=N.relative(q,k.source)}k.originalLine=w.line;k.originalColumn=w.column;if(w.name!=null){k.name=w.name}}}const j=k.source;if(j!=null&&!ee.has(j)){ee.add(j)}const ne=k.name;if(ne!=null&&!te.has(ne)){te.add(ne)}}),this);this._sources=ee;this._names=te;E.sources.forEach((function(k){const w=E.sourceContentFor(k);if(w!=null){if(S!=null){k=N.join(S,k)}if(q!=null){k=N.relative(q,k)}this.setSourceContent(k,w)}}),this)}_validateMapping(E,k,S,w){if(k&&typeof k.line!=="number"&&typeof k.column!=="number"){throw new Error("original.line and original.column are not numbers -- you probably meant to omit "+"the original mapping entirely and only map the generated position. If so, pass "+"null for the original mapping instead of an object with empty or null values.")}if(E&&"line"in E&&"column"in E&&E.line>0&&E.column>=0&&!k&&!S&&!w){}else if(E&&"line"in E&&"column"in E&&k&&"line"in k&&"column"in k&&E.line>0&&E.column>=0&&k.line>0&&k.column>=0&&S){}else{throw new Error("Invalid mapping: "+JSON.stringify({generated:E,source:S,original:k,name:w}))}}_serializeMappings(){let E=0;let k=1;let S=0;let j=0;let q=0;let ee=0;let te="";let ne;let ae;let _e;let ve;const Ee=this._mappings.toArray();for(let we=0,Ce=Ee.length;we0){if(!N.compareByGeneratedPositionsInflated(ae,Ee[we-1])){continue}ne+=","}ne+=w.encode(ae.generatedColumn-E);E=ae.generatedColumn;if(ae.source!=null){ve=this._sources.indexOf(ae.source);ne+=w.encode(ve-ee);ee=ve;ne+=w.encode(ae.originalLine-1-j);j=ae.originalLine-1;ne+=w.encode(ae.originalColumn-S);S=ae.originalColumn;if(ae.name!=null){_e=this._names.indexOf(ae.name);ne+=w.encode(_e-q);q=_e}}te+=ne}return te}_generateSourcesContent(E,k){return E.map((function(E){if(!this._sourcesContents){return null}if(k!=null){E=N.relative(k,E)}const S=N.toSetString(E);return Object.prototype.hasOwnProperty.call(this._sourcesContents,S)?this._sourcesContents[S]:null}),this)}toJSON(){const E={version:this._version,sources:this._sources.toArray(),names:this._names.toArray(),mappings:this._serializeMappings()};if(this._file!=null){E.file=this._file}if(this._sourceRoot!=null){E.sourceRoot=this._sourceRoot}if(this._sourcesContents){E.sourcesContent=this._generateSourcesContent(E.sources,E.sourceRoot)}return E}toString(){return JSON.stringify(this.toJSON())}}SourceMapGenerator.prototype._version=3;k.SourceMapGenerator=SourceMapGenerator},98160:(E,k,S)=>{const w=S(69010).SourceMapGenerator;const N=S(53033);const j=/(\r?\n)/;const q=10;const ee="$$$isSourceNode$$$";class SourceNode{constructor(E,k,S,w,N){this.children=[];this.sourceContents={};this.line=E==null?null:E;this.column=k==null?null:k;this.source=S==null?null:S;this.name=N==null?null:N;this[ee]=true;if(w!=null)this.add(w)}static fromStringWithSourceMap(E,k,S){const w=new SourceNode;const q=E.split(j);let ee=0;const shiftNextLine=function(){const E=getNextLine();const k=getNextLine()||"";return E+k;function getNextLine(){return ee=0;k--){this.prepend(E[k])}}else if(E[ee]||typeof E==="string"){this.children.unshift(E)}else{throw new TypeError("Expected a SourceNode, string, or an array of SourceNodes and strings. Got "+E)}return this}walk(E){let k;for(let S=0,w=this.children.length;S0){k=[];for(S=0;S{function getArg(E,k,S){if(k in E){return E[k]}else if(arguments.length===3){return S}throw new Error('"'+k+'" is a required argument.')}k.getArg=getArg;const S=/^(?:([\w+\-.]+):)?\/\/(?:(\w+:\w+)@)?([\w.-]*)(?::(\d+))?(.*)$/;const w=/^data:.+\,.+$/;function urlParse(E){const k=E.match(S);if(!k){return null}return{scheme:k[1],auth:k[2],host:k[3],port:k[4],path:k[5]}}k.urlParse=urlParse;function urlGenerate(E){let k="";if(E.scheme){k+=E.scheme+":"}k+="//";if(E.auth){k+=E.auth+"@"}if(E.host){k+=E.host}if(E.port){k+=":"+E.port}if(E.path){k+=E.path}return k}k.urlGenerate=urlGenerate;const N=32;function lruMemoize(E){const k=[];return function(S){for(let E=0;EN){k.pop()}return w}}const j=lruMemoize((function normalize(E){let S=E;const w=urlParse(E);if(w){if(!w.path){return E}S=w.path}const N=k.isAbsolute(S);const j=[];let q=0;let ee=0;while(true){q=ee;ee=S.indexOf("/",q);if(ee===-1){j.push(S.slice(q));break}else{j.push(S.slice(q,ee));while(ee=0;ee--){const E=j[ee];if(E==="."){j.splice(ee,1)}else if(E===".."){te++}else if(te>0){if(E===""){j.splice(ee+1,te);te=0}else{j.splice(ee,2);te--}}}S=j.join("/");if(S===""){S=N?"/":"."}if(w){w.path=S;return urlGenerate(w)}return S}));k.normalize=j;function join(E,k){if(E===""){E="."}if(k===""){k="."}const S=urlParse(k);const N=urlParse(E);if(N){E=N.path||"/"}if(S&&!S.scheme){if(N){S.scheme=N.scheme}return urlGenerate(S)}if(S||k.match(w)){return k}if(N&&!N.host&&!N.path){N.host=k;return urlGenerate(N)}const q=k.charAt(0)==="/"?k:j(E.replace(/\/+$/,"")+"/"+k);if(N){N.path=q;return urlGenerate(N)}return q}k.join=join;k.isAbsolute=function(E){return E.charAt(0)==="/"||S.test(E)};function relative(E,k){if(E===""){E="."}E=E.replace(/\/$/,"");let S=0;while(k.indexOf(E+"/")!==0){const w=E.lastIndexOf("/");if(w<0){return k}E=E.slice(0,w);if(E.match(/^([^\/]+:\/)?\/*$/)){return k}++S}return Array(S+1).join("../")+k.substr(E.length+1)}k.relative=relative;const q=function(){const E=Object.create(null);return!("__proto__"in E)}();function identity(E){return E}function toSetString(E){if(isProtoString(E)){return"$"+E}return E}k.toSetString=q?identity:toSetString;function fromSetString(E){if(isProtoString(E)){return E.slice(1)}return E}k.fromSetString=q?identity:fromSetString;function isProtoString(E){if(!E){return false}const k=E.length;if(k<9){return false}if(E.charCodeAt(k-1)!==95||E.charCodeAt(k-2)!==95||E.charCodeAt(k-3)!==111||E.charCodeAt(k-4)!==116||E.charCodeAt(k-5)!==111||E.charCodeAt(k-6)!==114||E.charCodeAt(k-7)!==112||E.charCodeAt(k-8)!==95||E.charCodeAt(k-9)!==95){return false}for(let S=k-10;S>=0;S--){if(E.charCodeAt(S)!==36){return false}}return true}function compareByOriginalPositions(E,k,S){let w=strcmp(E.source,k.source);if(w!==0){return w}w=E.originalLine-k.originalLine;if(w!==0){return w}w=E.originalColumn-k.originalColumn;if(w!==0||S){return w}w=E.generatedColumn-k.generatedColumn;if(w!==0){return w}w=E.generatedLine-k.generatedLine;if(w!==0){return w}return strcmp(E.name,k.name)}k.compareByOriginalPositions=compareByOriginalPositions;function compareByGeneratedPositionsDeflated(E,k,S){let w=E.generatedLine-k.generatedLine;if(w!==0){return w}w=E.generatedColumn-k.generatedColumn;if(w!==0||S){return w}w=strcmp(E.source,k.source);if(w!==0){return w}w=E.originalLine-k.originalLine;if(w!==0){return w}w=E.originalColumn-k.originalColumn;if(w!==0){return w}return strcmp(E.name,k.name)}k.compareByGeneratedPositionsDeflated=compareByGeneratedPositionsDeflated;function strcmp(E,k){if(E===k){return 0}if(E===null){return 1}if(k===null){return-1}if(E>k){return 1}return-1}function compareByGeneratedPositionsInflated(E,k){let S=E.generatedLine-k.generatedLine;if(S!==0){return S}S=E.generatedColumn-k.generatedColumn;if(S!==0){return S}S=strcmp(E.source,k.source);if(S!==0){return S}S=E.originalLine-k.originalLine;if(S!==0){return S}S=E.originalColumn-k.originalColumn;if(S!==0){return S}return strcmp(E.name,k.name)}k.compareByGeneratedPositionsInflated=compareByGeneratedPositionsInflated;function parseSourceMapInput(E){return JSON.parse(E.replace(/^\)]}'[^\n]*\n/,""))}k.parseSourceMapInput=parseSourceMapInput;function computeSourceURL(E,k,S){k=k||"";if(E){if(E[E.length-1]!=="/"&&k[0]!=="/"){E+="/"}k=E+k}if(S){const E=urlParse(S);if(!E){throw new Error("sourceMapURL could not be parsed")}if(E.path){const k=E.path.lastIndexOf("/");if(k>=0){E.path=E.path.substring(0,k+1)}}k=join(urlGenerate(E),k)}return j(k)}k.computeSourceURL=computeSourceURL},7059:(E,k,S)=>{const w=S(92256);function Mapping(){this.generatedLine=0;this.generatedColumn=0;this.lastGeneratedColumn=null;this.source=null;this.originalLine=null;this.originalColumn=null;this.name=null}let N=null;E.exports=function wasm(){if(N){return N}const E=[];N=w().then((k=>WebAssembly.instantiate(k,{env:{mapping_callback(k,S,w,N,j,q,ee,te,ne,ae){const _e=new Mapping;_e.generatedLine=k+1;_e.generatedColumn=S;if(w){_e.lastGeneratedColumn=N-1}if(j){_e.source=q;_e.originalLine=ee+1;_e.originalColumn=te;if(ne){_e.name=ae}}E[E.length-1](_e)},start_all_generated_locations_for(){console.time("all_generated_locations_for")},end_all_generated_locations_for(){console.timeEnd("all_generated_locations_for")},start_compute_column_spans(){console.time("compute_column_spans")},end_compute_column_spans(){console.timeEnd("compute_column_spans")},start_generated_location_for(){console.time("generated_location_for")},end_generated_location_for(){console.timeEnd("generated_location_for")},start_original_location_for(){console.time("original_location_for")},end_original_location_for(){console.timeEnd("original_location_for")},start_parse_mappings(){console.time("parse_mappings")},end_parse_mappings(){console.timeEnd("parse_mappings")},start_sort_by_generated_location(){console.time("sort_by_generated_location")},end_sort_by_generated_location(){console.timeEnd("sort_by_generated_location")},start_sort_by_original_location(){console.time("sort_by_original_location")},end_sort_by_original_location(){console.timeEnd("sort_by_original_location")}}}))).then((k=>({exports:k.instance.exports,withMappingCallback:(k,S)=>{E.push(k);try{S()}finally{E.pop()}}}))).then(null,(E=>{N=null;throw E}));return N}},37362:(E,k,S)=>{k.SourceMapGenerator=S(69010).SourceMapGenerator;k.SourceMapConsumer=S(47532).SourceMapConsumer;k.SourceNode=S(98160).SourceNode},96217:(E,k,S)=>{"use strict";Object.defineProperty(k,"__esModule",{value:true});k.TsconfigPathsPlugin=void 0;var w=S(2895);Object.defineProperty(k,"TsconfigPathsPlugin",{enumerable:true,get:function(){return w.TsconfigPathsPlugin}});const N=S(2895);k.default=N.TsconfigPathsPlugin;const j=S(2895).TsconfigPathsPlugin;j.TsconfigPathsPlugin=N.TsconfigPathsPlugin;j.default=N.TsconfigPathsPlugin;E.exports=j},96028:(E,k,S)=>{"use strict";Object.defineProperty(k,"__esModule",{value:true});k.makeLogger=void 0;const w=S(57082);var N;(function(E){E[E["INFO"]=1]="INFO";E[E["WARN"]=2]="WARN";E[E["ERROR"]=3]="ERROR"})(N||(N={}));const j=new w.Console(process.stderr);const q=new w.Console(process.stdout);const doNothingLogger=E=>{};const makeLoggerFunc=E=>E.silent?(E,k)=>{}:(E,k)=>E.log(k);const makeExternalLogger=(E,k)=>S=>k(E.logInfoToStdOut?q:j,S);const makeLogInfo=(E,k,S)=>N[E.logLevel]<=N.INFO?w=>k(E.logInfoToStdOut?q:j,S(w)):doNothingLogger;const makeLogError=(E,k,S)=>N[E.logLevel]<=N.ERROR?E=>k(j,S(E)):doNothingLogger;const makeLogWarning=(E,k,S)=>N[E.logLevel]<=N.WARN?E=>k(j,S(E)):doNothingLogger;function makeLogger(E,k){const S=makeLoggerFunc(E);return{log:makeExternalLogger(E,S),logInfo:makeLogInfo(E,S,k.green),logWarning:makeLogWarning(E,S,k.yellow),logError:makeLogError(E,S,k.red)}}k.makeLogger=makeLogger},59929:(E,k)=>{"use strict";Object.defineProperty(k,"__esModule",{value:true});k.getOptions=void 0;const S=["configFile","extensions","baseUrl","silent","logLevel","logInfoToStdOut","context","mainFields"];function getOptions(E){validateOptions(E);const k=makeOptions(E);return k}k.getOptions=getOptions;function validateOptions(E){const k=Object.keys(E);for(let E=0;E{"use strict";Object.defineProperty(k,"__esModule",{value:true});k.TsconfigPathsPlugin=void 0;const w=S(57347);const N=S(46543);const j=S(85622);const q=S(59929);const ee=S(96028);const te=S(79393);class TsconfigPathsPlugin{constructor(E={}){this.source="described-resolve";this.target="resolve";const k=q.getOptions(E);this.extensions=k.extensions;this.log=ee.makeLogger(k,new w.Instance({level:k.colors?undefined:0}));const S=k.context||process.cwd();const te=k.configFile||S;const ne=N.loadConfig(te);if(ne.resultType==="failed"){this.log.logError(`Failed to load ${te}: ${ne.message}`)}else{this.log.logInfo(`tsconfig-paths-webpack-plugin: Using config file at ${ne.configFileAbsolutePath}`);this.baseUrl=k.baseUrl||ne.baseUrl;this.absoluteBaseUrl=k.baseUrl?j.resolve(k.baseUrl):ne.absoluteBaseUrl;this.matchPath=N.createMatchPathAsync(this.absoluteBaseUrl,ne.paths,k.mainFields)}}apply(E){if(!E){this.log.logWarning("tsconfig-paths-webpack-plugin: Found no resolver, not applying tsconfig-paths-webpack-plugin");return}const{baseUrl:k}=this;if(!k){this.log.logWarning("tsconfig-paths-webpack-plugin: Found no baseUrl in tsconfig.json, not applying tsconfig-paths-webpack-plugin");return}if(!("fileSystem"in E)){this.log.logWarning("tsconfig-paths-webpack-plugin: No file system found on resolver."+" Please make sure you've placed the plugin in the correct part of the configuration."+" This plugin is a resolver plugin and should be placed in the resolve part of the Webpack configuration.");return}if("getHook"in E&&typeof E.getHook==="function"){E.getHook(this.source).tapAsync({name:"TsconfigPathsPlugin"},createPluginCallback(this.matchPath,E,this.absoluteBaseUrl,E.getHook(this.target),this.extensions))}else if("plugin"in E){const k=E;k.plugin(this.source,createPluginLegacy(this.matchPath,E,this.absoluteBaseUrl,this.target,this.extensions))}}}k.TsconfigPathsPlugin=TsconfigPathsPlugin;function createPluginCallback(E,k,w,N,j){const q=createFileExistAsync(k.fileSystem);const ee=createReadJsonAsync(k.fileSystem);return(ne,ae,_e)=>{const ve=te(k,ne);if(!ve||ve.startsWith(".")||ve.startsWith("..")){return _e()}E(ve,ee,q,j,((E,j)=>{if(E){return _e(E)}if(!j){return _e()}const q=Object.assign(Object.assign({},ne),{request:j,path:w});const ee=S(66186);return k.doResolve(N,q,`Resolved request '${ve}' to '${j}' using tsconfig.json paths mapping`,ee(Object.assign({},ae)),((E,k)=>{if(E){return _e(E)}if(k===undefined){return _e(undefined,undefined)}_e(undefined,k)}))}))}}function createPluginLegacy(E,k,w,N,j){const q=createFileExistAsync(k.fileSystem);const ee=createReadJsonAsync(k.fileSystem);return(ne,ae)=>{const _e=te(k,ne);if(!_e||_e.startsWith(".")||_e.startsWith("..")){return ae()}E(_e,ee,q,j,((E,j)=>{if(E){return ae(E)}if(!j){return ae()}const q=Object.assign(Object.assign({},ne),{request:j,path:w});const ee=S(49616);return k.doResolve(N,q,`Resolved request '${_e}' to '${j}' using tsconfig.json paths mapping`,ee((function(E,k){if(arguments.length>0){return ae(E,k)}ae(undefined,undefined)}),ae))}))}}function readJson(E,k,S){if("readJson"in E&&E.readJson){return E.readJson(k,S)}E.readFile(k,((E,k)=>{if(E){return S(E)}let w;try{w=JSON.parse(k.toString("utf-8"))}catch(E){return S(E)}return S(undefined,w)}))}function createReadJsonAsync(E){return(k,S)=>{readJson(E,k,((E,k)=>{if(E||!k){S();return}S(undefined,k)}))}}function createFileExistAsync(E){return(k,S)=>{E.stat(k,((E,k)=>{if(E){S(undefined,false);return}S(undefined,k?k.isFile():false)}))}}},66186:E=>{"use strict";E.exports=function createInnerContext(E,k,S){let w=false;let N=undefined;if(E.log){if(k){N=S=>{if(!w){E.log(k);w=true}E.log(" "+S)}}else{N=E.log}}const j={log:N,fileDependencies:E.fileDependencies,contextDependencies:E.contextDependencies,missingDependencies:E.missingDependencies,stack:E.stack};return j}},79393:E=>{"use strict";E.exports=function getInnerRequest(E,k){if(typeof k.__innerRequest==="string"&&k.__innerRequest_request===k.request&&k.__innerRequest_relativePath===k.relativePath)return k.__innerRequest;let S;if(k.request){S=k.request;if(/^\.\.?\//.test(S)&&k.relativePath){S=E.join(k.relativePath,S)}}else{S=k.relativePath}k.__innerRequest_request=k.request;k.__innerRequest_relativePath=k.relativePath;return k.__innerRequest=S}},36674:(E,k,S)=>{"use strict";Object.defineProperty(k,"__esModule",{value:true});var w=S(9492);var N=S(85622);var j=S(26872);function loadConfig(E){if(E===void 0){E=j.options.cwd}return configLoader({cwd:E})}k.loadConfig=loadConfig;function configLoader(E){var k=E.cwd,S=E.explicitParams,j=E.tsConfigLoader,q=j===void 0?w.tsConfigLoader:j;if(S){var ee=N.isAbsolute(S.baseUrl)?S.baseUrl:N.join(k,S.baseUrl);return{resultType:"success",configFileAbsolutePath:"",baseUrl:S.baseUrl,absoluteBaseUrl:ee,paths:S.paths,mainFields:S.mainFields,addMatchAll:S.addMatchAll}}var te=q({cwd:k,getEnv:function(E){return process.env[E]}});if(!te.tsConfigPath){return{resultType:"failed",message:"Couldn't find tsconfig.json"}}if(!te.baseUrl){return{resultType:"failed",message:"Missing baseUrl in compilerOptions"}}var ne=N.dirname(te.tsConfigPath);var ae=N.join(ne,te.baseUrl);return{resultType:"success",configFileAbsolutePath:te.tsConfigPath,baseUrl:te.baseUrl,absoluteBaseUrl:ae,paths:te.paths||{}}}k.configLoader=configLoader},89711:(E,k,S)=>{"use strict";Object.defineProperty(k,"__esModule",{value:true});var w=S(35747);function fileExistsSync(E){try{var k=w.statSync(E);return k.isFile()}catch(E){return false}}k.fileExistsSync=fileExistsSync;function readJsonFromDiskSync(E){if(!w.existsSync(E)){return undefined}return require(E)}k.readJsonFromDiskSync=readJsonFromDiskSync;function readJsonFromDiskAsync(E,k){w.readFile(E,"utf8",(function(E,S){if(E||!S){return k()}var w=JSON.parse(S);return k(undefined,w)}))}k.readJsonFromDiskAsync=readJsonFromDiskAsync;function fileExistsAsync(E,k){w.stat(E,(function(E,S){if(E){return k(undefined,false)}k(undefined,S?S.isFile():false)}))}k.fileExistsAsync=fileExistsAsync;function removeExtension(E){return E.substring(0,E.lastIndexOf("."))||E}k.removeExtension=removeExtension},46543:(E,k,S)=>{"use strict";Object.defineProperty(k,"__esModule",{value:true});var w=S(12317);k.createMatchPath=w.createMatchPath;k.matchFromAbsolutePaths=w.matchFromAbsolutePaths;var N=S(5339);k.createMatchPathAsync=N.createMatchPathAsync;k.matchFromAbsolutePathsAsync=N.matchFromAbsolutePathsAsync;var j=S(7897);k.register=j.register;var q=S(36674);k.loadConfig=q.loadConfig},98191:(E,k,S)=>{"use strict";Object.defineProperty(k,"__esModule",{value:true});var w=S(85622);function getAbsoluteMappingEntries(E,k,S){var N=sortByLongestPrefix(Object.keys(k));var j=[];for(var q=0,ee=N;q{"use strict";Object.defineProperty(k,"__esModule",{value:true});var w=S(85622);var N=S(58455);var j=S(98191);var q=S(89711);function createMatchPathAsync(E,k,S,w){if(S===void 0){S=["main"]}if(w===void 0){w=true}var N=j.getAbsoluteMappingEntries(E,k,w);return function(E,k,w,j,q){return matchFromAbsolutePathsAsync(N,E,k,w,j,q,S)}}k.createMatchPathAsync=createMatchPathAsync;function matchFromAbsolutePathsAsync(E,k,S,w,j,ee,te){if(S===void 0){S=q.readJsonFromDiskAsync}if(w===void 0){w=q.fileExistsAsync}if(j===void 0){j=Object.keys(require.extensions)}if(te===void 0){te=["main"]}var ne=N.getPathsToTry(j,E,k);if(!ne){return ee()}findFirstExistingPath(ne,S,w,ee,0,te)}k.matchFromAbsolutePathsAsync=matchFromAbsolutePathsAsync;function findFirstExistingMainFieldMappedFile(E,k,S,N,j,q){if(q===void 0){q=0}if(q>=k.length){return j(undefined,undefined)}var tryNext=function(){return findFirstExistingMainFieldMappedFile(E,k,S,N,j,q+1)};var ee=E[k[q]];if(typeof ee!=="string"){return tryNext()}var te=w.join(w.dirname(S),ee);N(te,(function(E,k){if(E){return j(E)}if(k){return j(undefined,te)}return tryNext()}))}function findFirstExistingPath(E,k,S,w,j,ee){if(j===void 0){j=0}if(ee===void 0){ee=["main"]}var te=E[j];if(te.type==="file"||te.type==="extension"||te.type==="index"){S(te.path,(function(q,ne){if(q){return w(q)}if(ne){return w(undefined,N.getStrippedPath(te))}if(j===E.length-1){return w()}return findFirstExistingPath(E,k,S,w,j+1,ee)}))}else if(te.type==="package"){k(te.path,(function(N,ne){if(N){return w(N)}if(ne){return findFirstExistingMainFieldMappedFile(ne,ee,te.path,S,(function(N,te){if(N){return w(N)}if(te){return w(undefined,q.removeExtension(te))}return findFirstExistingPath(E,k,S,w,j+1,ee)}))}return findFirstExistingPath(E,k,S,w,j+1,ee)}))}else{N.exhaustiveTypeException(te.type)}}},12317:(E,k,S)=>{"use strict";Object.defineProperty(k,"__esModule",{value:true});var w=S(85622);var N=S(89711);var j=S(98191);var q=S(58455);function createMatchPath(E,k,S,w){if(S===void 0){S=["main"]}if(w===void 0){w=true}var N=j.getAbsoluteMappingEntries(E,k,w);return function(E,k,w,j){return matchFromAbsolutePaths(N,E,k,w,j,S)}}k.createMatchPath=createMatchPath;function matchFromAbsolutePaths(E,k,S,w,j,ee){if(S===void 0){S=N.readJsonFromDiskSync}if(w===void 0){w=N.fileExistsSync}if(j===void 0){j=Object.keys(require.extensions)}if(ee===void 0){ee=["main"]}var te=q.getPathsToTry(j,E,k);if(!te){return undefined}return findFirstExistingPath(te,S,w,ee)}k.matchFromAbsolutePaths=matchFromAbsolutePaths;function findFirstExistingMainFieldMappedFile(E,k,S,N){for(var j=0;j{"use strict";Object.defineProperty(k,"__esModule",{value:true});var w=S(40535);var N=w(process.argv.slice(2),{string:["project"],alias:{project:["P"]}});var j=N&&N.project;k.options={cwd:j||process.cwd()}},7897:(E,k,S)=>{"use strict";Object.defineProperty(k,"__esModule",{value:true});var w=S(12317);var N=S(36674);var j=S(26872);var noOp=function(){return void 0};function getCoreModules(E){E=E||["assert","buffer","child_process","cluster","crypto","dgram","dns","domain","events","fs","http","https","net","os","path","punycode","querystring","readline","stream","string_decoder","tls","tty","url","util","v8","vm","zlib"];var k={};for(var S=0,w=E;S{"use strict";Object.defineProperty(k,"__esModule",{value:true});var w=S(85622);var N=S(85622);var j=S(89711);function getPathsToTry(E,k,S){if(!k||!S||S[0]==="."||S[0]===w.sep){return undefined}var N=[];for(var j=0,q=k;j{"use strict";Object.defineProperty(k,"__esModule",{value:true});var w=S(32721);var N=_interopRequireDefault(w);var j=S(34760);var q=_interopRequireDefault(j);function _interopRequireDefault(E){return E&&E.__esModule?E:{default:E}}k.default={parse:N.default,stringify:q.default};E.exports=k["default"]},32721:(E,k,S)=>{"use strict";Object.defineProperty(k,"__esModule",{value:true});var w=typeof Symbol==="function"&&typeof Symbol.iterator==="symbol"?function(E){return typeof E}:function(E){return E&&typeof Symbol==="function"&&E.constructor===Symbol&&E!==Symbol.prototype?"symbol":typeof E};k.default=parse;var N=S(69616);var j=_interopRequireWildcard(N);function _interopRequireWildcard(E){if(E&&E.__esModule){return E}else{var k={};if(E!=null){for(var S in E){if(Object.prototype.hasOwnProperty.call(E,S))k[S]=E[S]}}k.default=E;return k}}var q=void 0;var ee=void 0;var te=void 0;var ne=void 0;var ae=void 0;var _e=void 0;var ve=void 0;var Ee=void 0;var we=void 0;function parse(E,k){q=String(E);ee="start";te=[];ne=0;ae=1;_e=0;ve=undefined;Ee=undefined;we=undefined;do{ve=lex();Fe[ee]()}while(ve.type!=="eof");if(typeof k==="function"){return internalize({"":we},"",k)}return we}function internalize(E,k,S){var N=E[k];if(N!=null&&(typeof N==="undefined"?"undefined":w(N))==="object"){for(var j in N){var q=internalize(N,j,S);if(q===undefined){delete N[j]}else{N[j]=q}}}return S.call(E,k,N)}var Ce=void 0;var Me=void 0;var Te=void 0;var Ie=void 0;var Oe=void 0;function lex(){Ce="default";Me="";Te=false;Ie=1;for(;;){Oe=peek();var E=Re[Ce]();if(E){return E}}}function peek(){if(q[ne]){return String.fromCodePoint(q.codePointAt(ne))}}function read(){var E=peek();if(E==="\n"){ae++;_e=0}else if(E){_e+=E.length}else{_e++}if(E){ne+=E.length}return E}var Re={default:function _default(){switch(Oe){case"\t":case"\v":case"\f":case" ":case" ":case"\ufeff":case"\n":case"\r":case"\u2028":case"\u2029":read();return;case"/":read();Ce="comment";return;case undefined:read();return newToken("eof")}if(j.isSpaceSeparator(Oe)){read();return}return Re[ee]()},comment:function comment(){switch(Oe){case"*":read();Ce="multiLineComment";return;case"/":read();Ce="singleLineComment";return}throw invalidChar(read())},multiLineComment:function multiLineComment(){switch(Oe){case"*":read();Ce="multiLineCommentAsterisk";return;case undefined:throw invalidChar(read())}read()},multiLineCommentAsterisk:function multiLineCommentAsterisk(){switch(Oe){case"*":read();return;case"/":read();Ce="default";return;case undefined:throw invalidChar(read())}read();Ce="multiLineComment"},singleLineComment:function singleLineComment(){switch(Oe){case"\n":case"\r":case"\u2028":case"\u2029":read();Ce="default";return;case undefined:read();return newToken("eof")}read()},value:function value(){switch(Oe){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()==="-"){Ie=-1}Ce="sign";return;case".":Me=read();Ce="decimalPointLeading";return;case"0":Me=read();Ce="zero";return;case"1":case"2":case"3":case"4":case"5":case"6":case"7":case"8":case"9":Me=read();Ce="decimalInteger";return;case"I":read();literal("nfinity");return newToken("numeric",Infinity);case"N":read();literal("aN");return newToken("numeric",NaN);case'"':case"'":Te=read()==='"';Me="";Ce="string";return}throw invalidChar(read())},identifierNameStartEscape:function identifierNameStartEscape(){if(Oe!=="u"){throw invalidChar(read())}read();var E=unicodeEscape();switch(E){case"$":case"_":break;default:if(!j.isIdStartChar(E)){throw invalidIdentifier()}break}Me+=E;Ce="identifierName"},identifierName:function identifierName(){switch(Oe){case"$":case"_":case"‌":case"‍":Me+=read();return;case"\\":read();Ce="identifierNameEscape";return}if(j.isIdContinueChar(Oe)){Me+=read();return}return newToken("identifier",Me)},identifierNameEscape:function identifierNameEscape(){if(Oe!=="u"){throw invalidChar(read())}read();var E=unicodeEscape();switch(E){case"$":case"_":case"‌":case"‍":break;default:if(!j.isIdContinueChar(E)){throw invalidIdentifier()}break}Me+=E;Ce="identifierName"},sign:function sign(){switch(Oe){case".":Me=read();Ce="decimalPointLeading";return;case"0":Me=read();Ce="zero";return;case"1":case"2":case"3":case"4":case"5":case"6":case"7":case"8":case"9":Me=read();Ce="decimalInteger";return;case"I":read();literal("nfinity");return newToken("numeric",Ie*Infinity);case"N":read();literal("aN");return newToken("numeric",NaN)}throw invalidChar(read())},zero:function zero(){switch(Oe){case".":Me+=read();Ce="decimalPoint";return;case"e":case"E":Me+=read();Ce="decimalExponent";return;case"x":case"X":Me+=read();Ce="hexadecimal";return}return newToken("numeric",Ie*0)},decimalInteger:function decimalInteger(){switch(Oe){case".":Me+=read();Ce="decimalPoint";return;case"e":case"E":Me+=read();Ce="decimalExponent";return}if(j.isDigit(Oe)){Me+=read();return}return newToken("numeric",Ie*Number(Me))},decimalPointLeading:function decimalPointLeading(){if(j.isDigit(Oe)){Me+=read();Ce="decimalFraction";return}throw invalidChar(read())},decimalPoint:function decimalPoint(){switch(Oe){case"e":case"E":Me+=read();Ce="decimalExponent";return}if(j.isDigit(Oe)){Me+=read();Ce="decimalFraction";return}return newToken("numeric",Ie*Number(Me))},decimalFraction:function decimalFraction(){switch(Oe){case"e":case"E":Me+=read();Ce="decimalExponent";return}if(j.isDigit(Oe)){Me+=read();return}return newToken("numeric",Ie*Number(Me))},decimalExponent:function decimalExponent(){switch(Oe){case"+":case"-":Me+=read();Ce="decimalExponentSign";return}if(j.isDigit(Oe)){Me+=read();Ce="decimalExponentInteger";return}throw invalidChar(read())},decimalExponentSign:function decimalExponentSign(){if(j.isDigit(Oe)){Me+=read();Ce="decimalExponentInteger";return}throw invalidChar(read())},decimalExponentInteger:function decimalExponentInteger(){if(j.isDigit(Oe)){Me+=read();return}return newToken("numeric",Ie*Number(Me))},hexadecimal:function hexadecimal(){if(j.isHexDigit(Oe)){Me+=read();Ce="hexadecimalInteger";return}throw invalidChar(read())},hexadecimalInteger:function hexadecimalInteger(){if(j.isHexDigit(Oe)){Me+=read();return}return newToken("numeric",Ie*Number(Me))},string:function string(){switch(Oe){case"\\":read();Me+=escape();return;case'"':if(Te){read();return newToken("string",Me)}Me+=read();return;case"'":if(!Te){read();return newToken("string",Me)}Me+=read();return;case"\n":case"\r":throw invalidChar(read());case"\u2028":case"\u2029":separatorChar(Oe);break;case undefined:throw invalidChar(read())}Me+=read()},start:function start(){switch(Oe){case"{":case"[":return newToken("punctuator",read())}Ce="value"},beforePropertyName:function beforePropertyName(){switch(Oe){case"$":case"_":Me=read();Ce="identifierName";return;case"\\":read();Ce="identifierNameStartEscape";return;case"}":return newToken("punctuator",read());case'"':case"'":Te=read()==='"';Ce="string";return}if(j.isIdStartChar(Oe)){Me+=read();Ce="identifierName";return}throw invalidChar(read())},afterPropertyName:function afterPropertyName(){if(Oe===":"){return newToken("punctuator",read())}throw invalidChar(read())},beforePropertyValue:function beforePropertyValue(){Ce="value"},afterPropertyValue:function afterPropertyValue(){switch(Oe){case",":case"}":return newToken("punctuator",read())}throw invalidChar(read())},beforeArrayValue:function beforeArrayValue(){if(Oe==="]"){return newToken("punctuator",read())}Ce="value"},afterArrayValue:function afterArrayValue(){switch(Oe){case",":case"]":return newToken("punctuator",read())}throw invalidChar(read())},end:function end(){throw invalidChar(read())}};function newToken(E,k){return{type:E,value:k,line:ae,column:_e}}function literal(E){var k=true;var S=false;var w=undefined;try{for(var N=E[Symbol.iterator](),j;!(k=(j=N.next()).done);k=true){var q=j.value;var ee=peek();if(ee!==q){throw invalidChar(read())}read()}}catch(E){S=true;w=E}finally{try{if(!k&&N.return){N.return()}}finally{if(S){throw w}}}}function escape(){var E=peek();switch(E){case"b":read();return"\b";case"f":read();return"\f";case"n":read();return"\n";case"r":read();return"\r";case"t":read();return"\t";case"v":read();return"\v";case"0":read();if(j.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()}return"";case"1":case"2":case"3":case"4":case"5":case"6":case"7":case"8":case"9":throw invalidChar(read());case undefined:throw invalidChar(read())}return read()}function hexEscape(){var E="";var k=peek();if(!j.isHexDigit(k)){throw invalidChar(read())}E+=read();k=peek();if(!j.isHexDigit(k)){throw invalidChar(read())}E+=read();return String.fromCodePoint(parseInt(E,16))}function unicodeEscape(){var E="";var k=4;while(k-- >0){var S=peek();if(!j.isHexDigit(S)){throw invalidChar(read())}E+=read()}return String.fromCodePoint(parseInt(E,16))}var Fe={start:function start(){if(ve.type==="eof"){throw invalidEOF()}push()},beforePropertyName:function beforePropertyName(){switch(ve.type){case"identifier":case"string":Ee=ve.value;ee="afterPropertyName";return;case"punctuator":pop();return;case"eof":throw invalidEOF()}},afterPropertyName:function afterPropertyName(){if(ve.type==="eof"){throw invalidEOF()}ee="beforePropertyValue"},beforePropertyValue:function beforePropertyValue(){if(ve.type==="eof"){throw invalidEOF()}push()},beforeArrayValue:function beforeArrayValue(){if(ve.type==="eof"){throw invalidEOF()}if(ve.type==="punctuator"&&ve.value==="]"){pop();return}push()},afterPropertyValue:function afterPropertyValue(){if(ve.type==="eof"){throw invalidEOF()}switch(ve.value){case",":ee="beforePropertyName";return;case"}":pop()}},afterArrayValue:function afterArrayValue(){if(ve.type==="eof"){throw invalidEOF()}switch(ve.value){case",":ee="beforeArrayValue";return;case"]":pop()}},end:function end(){}};function push(){var E=void 0;switch(ve.type){case"punctuator":switch(ve.value){case"{":E={};break;case"[":E=[];break}break;case"null":case"boolean":case"numeric":case"string":E=ve.value;break}if(we===undefined){we=E}else{var k=te[te.length-1];if(Array.isArray(k)){k.push(E)}else{k[Ee]=E}}if(E!==null&&(typeof E==="undefined"?"undefined":w(E))==="object"){te.push(E);if(Array.isArray(E)){ee="beforeArrayValue"}else{ee="beforePropertyName"}}else{var S=te[te.length-1];if(S==null){ee="end"}else if(Array.isArray(S)){ee="afterArrayValue"}else{ee="afterPropertyValue"}}}function pop(){te.pop();var E=te[te.length-1];if(E==null){ee="end"}else if(Array.isArray(E)){ee="afterArrayValue"}else{ee="afterPropertyValue"}}function invalidChar(E){if(E===undefined){return syntaxError("JSON5: invalid end of input at "+ae+":"+_e)}return syntaxError("JSON5: invalid character '"+formatChar(E)+"' at "+ae+":"+_e)}function invalidEOF(){return syntaxError("JSON5: invalid end of input at "+ae+":"+_e)}function invalidIdentifier(){_e-=5;return syntaxError("JSON5: invalid identifier character at "+ae+":"+_e)}function separatorChar(E){console.warn("JSON5: '"+E+"' is not valid ECMAScript; consider escaping")}function formatChar(E){var k={"'":"\\'",'"':'\\"',"\\":"\\\\","\b":"\\b","\f":"\\f","\n":"\\n","\r":"\\r","\t":"\\t","\v":"\\v","\0":"\\0","\u2028":"\\u2028","\u2029":"\\u2029"};if(k[E]){return k[E]}if(E<" "){var S=E.charCodeAt(0).toString(16);return"\\x"+("00"+S).substring(S.length)}return E}function syntaxError(E){var k=new SyntaxError(E);k.lineNumber=ae;k.columnNumber=_e;return k}E.exports=k["default"]},34760:(E,k,S)=>{"use strict";Object.defineProperty(k,"__esModule",{value:true});var w=typeof Symbol==="function"&&typeof Symbol.iterator==="symbol"?function(E){return typeof E}:function(E){return E&&typeof Symbol==="function"&&E.constructor===Symbol&&E!==Symbol.prototype?"symbol":typeof E};k.default=stringify;var N=S(69616);var j=_interopRequireWildcard(N);function _interopRequireWildcard(E){if(E&&E.__esModule){return E}else{var k={};if(E!=null){for(var S in E){if(Object.prototype.hasOwnProperty.call(E,S))k[S]=E[S]}}k.default=E;return k}}function stringify(E,k,S){var N=[];var q="";var ee=void 0;var te=void 0;var ne="";var ae=void 0;if(k!=null&&(typeof k==="undefined"?"undefined":w(k))==="object"&&!Array.isArray(k)){S=k.space;ae=k.quote;k=k.replacer}if(typeof k==="function"){te=k}else if(Array.isArray(k)){ee=[];var _e=true;var ve=false;var Ee=undefined;try{for(var we=k[Symbol.iterator](),Ce;!(_e=(Ce=we.next()).done);_e=true){var Me=Ce.value;var Te=void 0;if(typeof Me==="string"){Te=Me}else if(typeof Me==="number"||Me instanceof String||Me instanceof Number){Te=String(Me)}if(Te!==undefined&&ee.indexOf(Te)<0){ee.push(Te)}}}catch(E){ve=true;Ee=E}finally{try{if(!_e&&we.return){we.return()}}finally{if(ve){throw Ee}}}}if(S instanceof Number){S=Number(S)}else if(S instanceof String){S=String(S)}if(typeof S==="number"){if(S>0){S=Math.min(10,Math.floor(S));ne=" ".substr(0,S)}}else if(typeof S==="string"){ne=S.substr(0,10)}return serializeProperty("",{"":E});function serializeProperty(E,k){var S=k[E];if(S!=null){if(typeof S.toJSON5==="function"){S=S.toJSON5(E)}else if(typeof S.toJSON==="function"){S=S.toJSON(E)}}if(te){S=te.call(k,E,S)}if(S instanceof Number){S=Number(S)}else if(S instanceof String){S=String(S)}else if(S instanceof Boolean){S=S.valueOf()}switch(S){case null:return"null";case true:return"true";case false:return"false"}if(typeof S==="string"){return quoteString(S,false)}if(typeof S==="number"){return String(S)}if((typeof S==="undefined"?"undefined":w(S))==="object"){return Array.isArray(S)?serializeArray(S):serializeObject(S)}return undefined}function quoteString(E){var k={"'":.1,'"':.2};var S={"'":"\\'",'"':'\\"',"\\":"\\\\","\b":"\\b","\f":"\\f","\n":"\\n","\r":"\\r","\t":"\\t","\v":"\\v","\0":"\\0","\u2028":"\\u2028","\u2029":"\\u2029"};var w="";var N=true;var j=false;var q=undefined;try{for(var ee=E[Symbol.iterator](),te;!(N=(te=ee.next()).done);N=true){var ne=te.value;switch(ne){case"'":case'"':k[ne]++;w+=ne;continue}if(S[ne]){w+=S[ne];continue}if(ne<" "){var _e=ne.charCodeAt(0).toString(16);w+="\\x"+("00"+_e).substring(_e.length);continue}w+=ne}}catch(E){j=true;q=E}finally{try{if(!N&&ee.return){ee.return()}}finally{if(j){throw q}}}var ve=ae||Object.keys(k).reduce((function(E,S){return k[E]=0){throw TypeError("Converting circular structure to JSON5")}N.push(E);var k=q;q=q+ne;var S=ee||Object.keys(E);var w=[];var j=true;var te=false;var ae=undefined;try{for(var _e=S[Symbol.iterator](),ve;!(j=(ve=_e.next()).done);j=true){var Ee=ve.value;var we=serializeProperty(Ee,E);if(we!==undefined){var Ce=serializeKey(Ee)+":";if(ne!==""){Ce+=" "}Ce+=we;w.push(Ce)}}}catch(E){te=true;ae=E}finally{try{if(!j&&_e.return){_e.return()}}finally{if(te){throw ae}}}var Me=void 0;if(w.length===0){Me="{}"}else{var Te=void 0;if(ne===""){Te=w.join(",");Me="{"+Te+"}"}else{var Ie=",\n"+q;Te=w.join(Ie);Me="{\n"+q+Te+",\n"+k+"}"}}N.pop();q=k;return Me}function serializeKey(E){if(E.length===0){return quoteString(E,true)}var k=String.fromCodePoint(E.codePointAt(0));if(!j.isIdStartChar(k)){return quoteString(E,true)}for(var S=k.length;S=0){throw TypeError("Converting circular structure to JSON5")}N.push(E);var k=q;q=q+ne;var S=[];for(var w=0;w{"use strict";Object.defineProperty(k,"__esModule",{value:true});var S=k.Space_Separator=/[\u1680\u2000-\u200A\u202F\u205F\u3000]/;var w=k.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\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]|\uD800[\uDC00-\uDC0B\uDC0D-\uDC26\uDC28-\uDC3A\uDC3C\uDC3D\uDC3F-\uDC4D\uDC50-\uDC5D\uDC80-\uDCFA\uDD40-\uDD74\uDE80-\uDE9C\uDEA0-\uDED0\uDF00-\uDF1F\uDF30-\uDF4A\uDF50-\uDF75\uDF80-\uDF9D\uDFA0-\uDFC3\uDFC8-\uDFCF\uDFD1-\uDFD5]|\uD801[\uDC00-\uDC9D\uDCB0-\uDCD3\uDCD8-\uDCFB\uDD00-\uDD27\uDD30-\uDD63\uDE00-\uDF36\uDF40-\uDF55\uDF60-\uDF67]|\uD802[\uDC00-\uDC05\uDC08\uDC0A-\uDC35\uDC37\uDC38\uDC3C\uDC3F-\uDC55\uDC60-\uDC76\uDC80-\uDC9E\uDCE0-\uDCF2\uDCF4\uDCF5\uDD00-\uDD15\uDD20-\uDD39\uDD80-\uDDB7\uDDBE\uDDBF\uDE00\uDE10-\uDE13\uDE15-\uDE17\uDE19-\uDE33\uDE60-\uDE7C\uDE80-\uDE9C\uDEC0-\uDEC7\uDEC9-\uDEE4\uDF00-\uDF35\uDF40-\uDF55\uDF60-\uDF72\uDF80-\uDF91]|\uD803[\uDC00-\uDC48\uDC80-\uDCB2\uDCC0-\uDCF2]|\uD804[\uDC03-\uDC37\uDC83-\uDCAF\uDCD0-\uDCE8\uDD03-\uDD26\uDD50-\uDD72\uDD76\uDD83-\uDDB2\uDDC1-\uDDC4\uDDDA\uDDDC\uDE00-\uDE11\uDE13-\uDE2B\uDE80-\uDE86\uDE88\uDE8A-\uDE8D\uDE8F-\uDE9D\uDE9F-\uDEA8\uDEB0-\uDEDE\uDF05-\uDF0C\uDF0F\uDF10\uDF13-\uDF28\uDF2A-\uDF30\uDF32\uDF33\uDF35-\uDF39\uDF3D\uDF50\uDF5D-\uDF61]|\uD805[\uDC00-\uDC34\uDC47-\uDC4A\uDC80-\uDCAF\uDCC4\uDCC5\uDCC7\uDD80-\uDDAE\uDDD8-\uDDDB\uDE00-\uDE2F\uDE44\uDE80-\uDEAA\uDF00-\uDF19]|\uD806[\uDCA0-\uDCDF\uDCFF\uDEC0-\uDEF8]|\uD807[\uDC00-\uDC08\uDC0A-\uDC2E\uDC40\uDC72-\uDC8F]|\uD808[\uDC00-\uDF99]|\uD809[\uDC00-\uDC6E\uDC80-\uDD43]|[\uD80C\uD81C-\uD820\uD840-\uD868\uD86A-\uD86C\uD86F-\uD872][\uDC00-\uDFFF]|\uD80D[\uDC00-\uDC2E]|\uD811[\uDC00-\uDE46]|\uD81A[\uDC00-\uDE38\uDE40-\uDE5E\uDED0-\uDEED\uDF00-\uDF2F\uDF40-\uDF43\uDF63-\uDF77\uDF7D-\uDF8F]|\uD81B[\uDF00-\uDF44\uDF50\uDF93-\uDF9F\uDFE0]|\uD821[\uDC00-\uDFEC]|\uD822[\uDC00-\uDEF2]|\uD82C[\uDC00\uDC01]|\uD82F[\uDC00-\uDC6A\uDC70-\uDC7C\uDC80-\uDC88\uDC90-\uDC99]|\uD835[\uDC00-\uDC54\uDC56-\uDC9C\uDC9E\uDC9F\uDCA2\uDCA5\uDCA6\uDCA9-\uDCAC\uDCAE-\uDCB9\uDCBB\uDCBD-\uDCC3\uDCC5-\uDD05\uDD07-\uDD0A\uDD0D-\uDD14\uDD16-\uDD1C\uDD1E-\uDD39\uDD3B-\uDD3E\uDD40-\uDD44\uDD46\uDD4A-\uDD50\uDD52-\uDEA5\uDEA8-\uDEC0\uDEC2-\uDEDA\uDEDC-\uDEFA\uDEFC-\uDF14\uDF16-\uDF34\uDF36-\uDF4E\uDF50-\uDF6E\uDF70-\uDF88\uDF8A-\uDFA8\uDFAA-\uDFC2\uDFC4-\uDFCB]|\uD83A[\uDC00-\uDCC4\uDD00-\uDD43]|\uD83B[\uDE00-\uDE03\uDE05-\uDE1F\uDE21\uDE22\uDE24\uDE27\uDE29-\uDE32\uDE34-\uDE37\uDE39\uDE3B\uDE42\uDE47\uDE49\uDE4B\uDE4D-\uDE4F\uDE51\uDE52\uDE54\uDE57\uDE59\uDE5B\uDE5D\uDE5F\uDE61\uDE62\uDE64\uDE67-\uDE6A\uDE6C-\uDE72\uDE74-\uDE77\uDE79-\uDE7C\uDE7E\uDE80-\uDE89\uDE8B-\uDE9B\uDEA1-\uDEA3\uDEA5-\uDEA9\uDEAB-\uDEBB]|\uD869[\uDC00-\uDED6\uDF00-\uDFFF]|\uD86D[\uDC00-\uDF34\uDF40-\uDFFF]|\uD86E[\uDC00-\uDC1D\uDC20-\uDFFF]|\uD873[\uDC00-\uDEA1]|\uD87E[\uDC00-\uDE1D]/;var N=k.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\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\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]|\uD800[\uDC00-\uDC0B\uDC0D-\uDC26\uDC28-\uDC3A\uDC3C\uDC3D\uDC3F-\uDC4D\uDC50-\uDC5D\uDC80-\uDCFA\uDD40-\uDD74\uDDFD\uDE80-\uDE9C\uDEA0-\uDED0\uDEE0\uDF00-\uDF1F\uDF30-\uDF4A\uDF50-\uDF7A\uDF80-\uDF9D\uDFA0-\uDFC3\uDFC8-\uDFCF\uDFD1-\uDFD5]|\uD801[\uDC00-\uDC9D\uDCA0-\uDCA9\uDCB0-\uDCD3\uDCD8-\uDCFB\uDD00-\uDD27\uDD30-\uDD63\uDE00-\uDF36\uDF40-\uDF55\uDF60-\uDF67]|\uD802[\uDC00-\uDC05\uDC08\uDC0A-\uDC35\uDC37\uDC38\uDC3C\uDC3F-\uDC55\uDC60-\uDC76\uDC80-\uDC9E\uDCE0-\uDCF2\uDCF4\uDCF5\uDD00-\uDD15\uDD20-\uDD39\uDD80-\uDDB7\uDDBE\uDDBF\uDE00-\uDE03\uDE05\uDE06\uDE0C-\uDE13\uDE15-\uDE17\uDE19-\uDE33\uDE38-\uDE3A\uDE3F\uDE60-\uDE7C\uDE80-\uDE9C\uDEC0-\uDEC7\uDEC9-\uDEE6\uDF00-\uDF35\uDF40-\uDF55\uDF60-\uDF72\uDF80-\uDF91]|\uD803[\uDC00-\uDC48\uDC80-\uDCB2\uDCC0-\uDCF2]|\uD804[\uDC00-\uDC46\uDC66-\uDC6F\uDC7F-\uDCBA\uDCD0-\uDCE8\uDCF0-\uDCF9\uDD00-\uDD34\uDD36-\uDD3F\uDD50-\uDD73\uDD76\uDD80-\uDDC4\uDDCA-\uDDCC\uDDD0-\uDDDA\uDDDC\uDE00-\uDE11\uDE13-\uDE37\uDE3E\uDE80-\uDE86\uDE88\uDE8A-\uDE8D\uDE8F-\uDE9D\uDE9F-\uDEA8\uDEB0-\uDEEA\uDEF0-\uDEF9\uDF00-\uDF03\uDF05-\uDF0C\uDF0F\uDF10\uDF13-\uDF28\uDF2A-\uDF30\uDF32\uDF33\uDF35-\uDF39\uDF3C-\uDF44\uDF47\uDF48\uDF4B-\uDF4D\uDF50\uDF57\uDF5D-\uDF63\uDF66-\uDF6C\uDF70-\uDF74]|\uD805[\uDC00-\uDC4A\uDC50-\uDC59\uDC80-\uDCC5\uDCC7\uDCD0-\uDCD9\uDD80-\uDDB5\uDDB8-\uDDC0\uDDD8-\uDDDD\uDE00-\uDE40\uDE44\uDE50-\uDE59\uDE80-\uDEB7\uDEC0-\uDEC9\uDF00-\uDF19\uDF1D-\uDF2B\uDF30-\uDF39]|\uD806[\uDCA0-\uDCE9\uDCFF\uDEC0-\uDEF8]|\uD807[\uDC00-\uDC08\uDC0A-\uDC36\uDC38-\uDC40\uDC50-\uDC59\uDC72-\uDC8F\uDC92-\uDCA7\uDCA9-\uDCB6]|\uD808[\uDC00-\uDF99]|\uD809[\uDC00-\uDC6E\uDC80-\uDD43]|[\uD80C\uD81C-\uD820\uD840-\uD868\uD86A-\uD86C\uD86F-\uD872][\uDC00-\uDFFF]|\uD80D[\uDC00-\uDC2E]|\uD811[\uDC00-\uDE46]|\uD81A[\uDC00-\uDE38\uDE40-\uDE5E\uDE60-\uDE69\uDED0-\uDEED\uDEF0-\uDEF4\uDF00-\uDF36\uDF40-\uDF43\uDF50-\uDF59\uDF63-\uDF77\uDF7D-\uDF8F]|\uD81B[\uDF00-\uDF44\uDF50-\uDF7E\uDF8F-\uDF9F\uDFE0]|\uD821[\uDC00-\uDFEC]|\uD822[\uDC00-\uDEF2]|\uD82C[\uDC00\uDC01]|\uD82F[\uDC00-\uDC6A\uDC70-\uDC7C\uDC80-\uDC88\uDC90-\uDC99\uDC9D\uDC9E]|\uD834[\uDD65-\uDD69\uDD6D-\uDD72\uDD7B-\uDD82\uDD85-\uDD8B\uDDAA-\uDDAD\uDE42-\uDE44]|\uD835[\uDC00-\uDC54\uDC56-\uDC9C\uDC9E\uDC9F\uDCA2\uDCA5\uDCA6\uDCA9-\uDCAC\uDCAE-\uDCB9\uDCBB\uDCBD-\uDCC3\uDCC5-\uDD05\uDD07-\uDD0A\uDD0D-\uDD14\uDD16-\uDD1C\uDD1E-\uDD39\uDD3B-\uDD3E\uDD40-\uDD44\uDD46\uDD4A-\uDD50\uDD52-\uDEA5\uDEA8-\uDEC0\uDEC2-\uDEDA\uDEDC-\uDEFA\uDEFC-\uDF14\uDF16-\uDF34\uDF36-\uDF4E\uDF50-\uDF6E\uDF70-\uDF88\uDF8A-\uDFA8\uDFAA-\uDFC2\uDFC4-\uDFCB\uDFCE-\uDFFF]|\uD836[\uDE00-\uDE36\uDE3B-\uDE6C\uDE75\uDE84\uDE9B-\uDE9F\uDEA1-\uDEAF]|\uD838[\uDC00-\uDC06\uDC08-\uDC18\uDC1B-\uDC21\uDC23\uDC24\uDC26-\uDC2A]|\uD83A[\uDC00-\uDCC4\uDCD0-\uDCD6\uDD00-\uDD4A\uDD50-\uDD59]|\uD83B[\uDE00-\uDE03\uDE05-\uDE1F\uDE21\uDE22\uDE24\uDE27\uDE29-\uDE32\uDE34-\uDE37\uDE39\uDE3B\uDE42\uDE47\uDE49\uDE4B\uDE4D-\uDE4F\uDE51\uDE52\uDE54\uDE57\uDE59\uDE5B\uDE5D\uDE5F\uDE61\uDE62\uDE64\uDE67-\uDE6A\uDE6C-\uDE72\uDE74-\uDE77\uDE79-\uDE7C\uDE7E\uDE80-\uDE89\uDE8B-\uDE9B\uDEA1-\uDEA3\uDEA5-\uDEA9\uDEAB-\uDEBB]|\uD869[\uDC00-\uDED6\uDF00-\uDFFF]|\uD86D[\uDC00-\uDF34\uDF40-\uDFFF]|\uD86E[\uDC00-\uDC1D\uDC20-\uDFFF]|\uD873[\uDC00-\uDEA1]|\uD87E[\uDC00-\uDE1D]|\uDB40[\uDD00-\uDDEF]/},69616:(E,k,S)=>{"use strict";Object.defineProperty(k,"__esModule",{value:true});k.isSpaceSeparator=isSpaceSeparator;k.isIdStartChar=isIdStartChar;k.isIdContinueChar=isIdContinueChar;k.isDigit=isDigit;k.isHexDigit=isHexDigit;var w=S(48330);var N=_interopRequireWildcard(w);function _interopRequireWildcard(E){if(E&&E.__esModule){return E}else{var k={};if(E!=null){for(var S in E){if(Object.prototype.hasOwnProperty.call(E,S))k[S]=E[S]}}k.default=E;return k}}function isSpaceSeparator(E){return N.Space_Separator.test(E)}function isIdStartChar(E){return E>="a"&&E<="z"||E>="A"&&E<="Z"||E==="$"||E==="_"||N.ID_Start.test(E)}function isIdContinueChar(E){return E>="a"&&E<="z"||E>="A"&&E<="Z"||E>="0"&&E<="9"||E==="$"||E==="_"||E==="‌"||E==="‍"||N.ID_Continue.test(E)}function isDigit(E){return/[0-9]/.test(E)}function isHexDigit(E){return/[0-9A-Fa-f]/.test(E)}},5115:E=>{ -/*! ***************************************************************************** -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. -***************************************************************************** */ -var k;var S;var w;var N;var j;var q;var ee;var te;var ne;var ae;var _e;var ve;var Ee;var we;var Ce;var Me;var Te;var Ie;var Oe;var Re;var Fe;var Ne;var Be;(function(k){var S=typeof global==="object"?global:typeof self==="object"?self:typeof this==="object"?this:{};if(typeof define==="function"&&define.amd){define("tslib",["exports"],(function(E){k(createExporter(S,createExporter(E)))}))}else if(true&&typeof E.exports==="object"){k(createExporter(S,createExporter(E.exports)))}else{k(createExporter(S))}function createExporter(E,k){if(E!==S){if(typeof Object.create==="function"){Object.defineProperty(E,"__esModule",{value:true})}else{E.__esModule=true}}return function(S,w){return E[S]=k?k(S,w):w}}})((function(E){var Le=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(E,k){E.__proto__=k}||function(E,k){for(var S in k)if(k.hasOwnProperty(S))E[S]=k[S]};k=function(E,k){Le(E,k);function __(){this.constructor=E}E.prototype=k===null?Object.create(k):(__.prototype=k.prototype,new __)};S=Object.assign||function(E){for(var k,S=1,w=arguments.length;S=0;ee--)if(q=E[ee])j=(N<3?q(j):N>3?q(k,S,j):q(k,S))||j;return N>3&&j&&Object.defineProperty(k,S,j),j};j=function(E,k){return function(S,w){k(S,w,E)}};q=function(E,k){if(typeof Reflect==="object"&&typeof Reflect.metadata==="function")return Reflect.metadata(E,k)};ee=function(E,k,S,w){function adopt(E){return E instanceof S?E:new S((function(k){k(E)}))}return new(S||(S=Promise))((function(S,N){function fulfilled(E){try{step(w.next(E))}catch(E){N(E)}}function rejected(E){try{step(w["throw"](E))}catch(E){N(E)}}function step(E){E.done?S(E.value):adopt(E.value).then(fulfilled,rejected)}step((w=w.apply(E,k||[])).next())}))};te=function(E,k){var S={label:0,sent:function(){if(j[0]&1)throw j[1];return j[1]},trys:[],ops:[]},w,N,j,q;return q={next:verb(0),throw:verb(1),return:verb(2)},typeof Symbol==="function"&&(q[Symbol.iterator]=function(){return this}),q;function verb(E){return function(k){return step([E,k])}}function step(q){if(w)throw new TypeError("Generator is already executing.");while(S)try{if(w=1,N&&(j=q[0]&2?N["return"]:q[0]?N["throw"]||((j=N["return"])&&j.call(N),0):N.next)&&!(j=j.call(N,q[1])).done)return j;if(N=0,j)q=[q[0]&2,j.value];switch(q[0]){case 0:case 1:j=q;break;case 4:S.label++;return{value:q[1],done:false};case 5:S.label++;N=q[1];q=[0];continue;case 7:q=S.ops.pop();S.trys.pop();continue;default:if(!(j=S.trys,j=j.length>0&&j[j.length-1])&&(q[0]===6||q[0]===2)){S=0;continue}if(q[0]===3&&(!j||q[1]>j[0]&&q[1]=E.length)E=void 0;return{value:E&&E[w++],done:!E}}};throw new TypeError(k?"Object is not iterable.":"Symbol.iterator is not defined.")};_e=function(E,k){var S=typeof Symbol==="function"&&E[Symbol.iterator];if(!S)return E;var w=S.call(E),N,j=[],q;try{while((k===void 0||k-- >0)&&!(N=w.next()).done)j.push(N.value)}catch(E){q={error:E}}finally{try{if(N&&!N.done&&(S=w["return"]))S.call(w)}finally{if(q)throw q.error}}return j};ve=function(){for(var E=[],k=0;k1||resume(E,k)}))}}function resume(E,k){try{step(w[E](k))}catch(E){settle(j[0][3],E)}}function step(E){E.value instanceof we?Promise.resolve(E.value.v).then(fulfill,reject):settle(j[0][2],E)}function fulfill(E){resume("next",E)}function reject(E){resume("throw",E)}function settle(E,k){if(E(k),j.shift(),j.length)resume(j[0][0],j[0][1])}};Me=function(E){var k,S;return k={},verb("next"),verb("throw",(function(E){throw E})),verb("return"),k[Symbol.iterator]=function(){return this},k;function verb(w,N){k[w]=E[w]?function(k){return(S=!S)?{value:we(E[w](k)),done:w==="return"}:N?N(k):k}:N}};Te=function(E){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var k=E[Symbol.asyncIterator],S;return k?k.call(E):(E=typeof ae==="function"?ae(E):E[Symbol.iterator](),S={},verb("next"),verb("throw"),verb("return"),S[Symbol.asyncIterator]=function(){return this},S);function verb(k){S[k]=E[k]&&function(S){return new Promise((function(w,N){S=E[k](S),settle(w,N,S.done,S.value)}))}}function settle(E,k,S,w){Promise.resolve(w).then((function(k){E({value:k,done:S})}),k)}};Ie=function(E,k){if(Object.defineProperty){Object.defineProperty(E,"raw",{value:k})}else{E.raw=k}return E};Oe=function(E){if(E&&E.__esModule)return E;var k={};if(E!=null)for(var S in E)if(Object.hasOwnProperty.call(E,S))k[S]=E[S];k["default"]=E;return k};Re=function(E){return E&&E.__esModule?E:{default:E}};Fe=function(E,k){if(!k.has(E)){throw new TypeError("attempted to get private field on non-instance")}return k.get(E)};Ne=function(E,k,S){if(!k.has(E)){throw new TypeError("attempted to set private field on non-instance")}k.set(E,S);return S};E("__extends",k);E("__assign",S);E("__rest",w);E("__decorate",N);E("__param",j);E("__metadata",q);E("__awaiter",ee);E("__generator",te);E("__exportStar",ne);E("__createBinding",Be);E("__values",ae);E("__read",_e);E("__spread",ve);E("__spreadArrays",Ee);E("__await",we);E("__asyncGenerator",Ce);E("__asyncDelegator",Me);E("__asyncValues",Te);E("__makeTemplateObject",Ie);E("__importStar",Oe);E("__importDefault",Re);E("__classPrivateFieldGet",Fe);E("__classPrivateFieldSet",Ne)}))},30823:function(E,k){ -/** @license URI.js v4.4.1 (c) 2011 Gary Court. License: http://github.com/garycourt/uri-js */ -(function(E,S){true?S(k):0})(this,(function(E){"use strict";function merge(){for(var E=arguments.length,k=Array(E),S=0;S1){k[0]=k[0].slice(0,-1);var w=k.length-1;for(var N=1;N= 0x80 (not a basic code point)","invalid-input":"Invalid input"};var Te=j-q;var Ie=Math.floor;var Oe=String.fromCharCode;function error$1(E){throw new RangeError(Me[E])}function map(E,k){var S=[];var w=E.length;while(w--){S[w]=k(E[w])}return S}function mapDomain(E,k){var S=E.split("@");var w="";if(S.length>1){w=S[0]+"@";E=S[1]}E=E.replace(Ce,".");var N=E.split(".");var j=map(N,k).join(".");return w+j}function ucs2decode(E){var k=[];var S=0;var w=E.length;while(S=55296&&N<=56319&&S>1;E+=Ie(E/k);for(;E>Te*ee>>1;w+=j){E=Ie(E/Te)}return Ie(w+(Te+1)*E/(E+te))};var Le=function decode(E){var k=[];var S=E.length;var w=0;var te=_e;var ne=ae;var Ee=E.lastIndexOf(ve);if(Ee<0){Ee=0}for(var we=0;we=128){error$1("not-basic")}k.push(E.charCodeAt(we))}for(var Ce=Ee>0?Ee+1:0;Ce=S){error$1("invalid-input")}var Re=Fe(E.charCodeAt(Ce++));if(Re>=j||Re>Ie((N-w)/Te)){error$1("overflow")}w+=Re*Te;var Ne=Oe<=ne?q:Oe>=ne+ee?ee:Oe-ne;if(ReIe(N/Le)){error$1("overflow")}Te*=Le}var je=k.length+1;ne=Be(w-Me,je,Me==0);if(Ie(w/je)>N-te){error$1("overflow")}te+=Ie(w/je);w%=je;k.splice(w++,0,te)}return String.fromCodePoint.apply(String,k)};var je=function encode(E){var k=[];E=ucs2decode(E);var S=E.length;var w=_e;var te=0;var ne=ae;var Ee=true;var we=false;var Ce=undefined;try{for(var Me=E[Symbol.iterator](),Te;!(Ee=(Te=Me.next()).done);Ee=true){var Re=Te.value;if(Re<128){k.push(Oe(Re))}}}catch(E){we=true;Ce=E}finally{try{if(!Ee&&Me.return){Me.return()}}finally{if(we){throw Ce}}}var Fe=k.length;var Le=Fe;if(Fe){k.push(ve)}while(Le=w&&VeIe((N-te)/He)){error$1("overflow")}te+=(je-w)*He;w=je;var We=true;var Ke=false;var Xe=undefined;try{for(var Qe=E[Symbol.iterator](),Je;!(We=(Je=Qe.next()).done);We=true){var Ye=Je.value;if(YeN){error$1("overflow")}if(Ye==w){var Ze=te;for(var et=j;;et+=j){var tt=et<=ne?q:et>=ne+ee?ee:et-ne;if(Ze>6|192).toString(16).toUpperCase()+"%"+(k&63|128).toString(16).toUpperCase();else S="%"+(k>>12|224).toString(16).toUpperCase()+"%"+(k>>6&63|128).toString(16).toUpperCase()+"%"+(k&63|128).toString(16).toUpperCase();return S}function pctDecChars(E){var k="";var S=0;var w=E.length;while(S=194&&N<224){if(w-S>=6){var j=parseInt(E.substr(S+4,2),16);k+=String.fromCharCode((N&31)<<6|j&63)}else{k+=E.substr(S,6)}S+=6}else if(N>=224){if(w-S>=9){var q=parseInt(E.substr(S+4,2),16);var ee=parseInt(E.substr(S+7,2),16);k+=String.fromCharCode((N&15)<<12|(q&63)<<6|ee&63)}else{k+=E.substr(S,9)}S+=9}else{k+=E.substr(S,3);S+=3}}return k}function _normalizeComponentEncoding(E,k){function decodeUnreserved(E){var S=pctDecChars(E);return!S.match(k.UNRESERVED)?E:S}if(E.scheme)E.scheme=String(E.scheme).replace(k.PCT_ENCODED,decodeUnreserved).toLowerCase().replace(k.NOT_SCHEME,"");if(E.userinfo!==undefined)E.userinfo=String(E.userinfo).replace(k.PCT_ENCODED,decodeUnreserved).replace(k.NOT_USERINFO,pctEncChar).replace(k.PCT_ENCODED,toUpperCase);if(E.host!==undefined)E.host=String(E.host).replace(k.PCT_ENCODED,decodeUnreserved).toLowerCase().replace(k.NOT_HOST,pctEncChar).replace(k.PCT_ENCODED,toUpperCase);if(E.path!==undefined)E.path=String(E.path).replace(k.PCT_ENCODED,decodeUnreserved).replace(E.scheme?k.NOT_PATH:k.NOT_PATH_NOSCHEME,pctEncChar).replace(k.PCT_ENCODED,toUpperCase);if(E.query!==undefined)E.query=String(E.query).replace(k.PCT_ENCODED,decodeUnreserved).replace(k.NOT_QUERY,pctEncChar).replace(k.PCT_ENCODED,toUpperCase);if(E.fragment!==undefined)E.fragment=String(E.fragment).replace(k.PCT_ENCODED,decodeUnreserved).replace(k.NOT_FRAGMENT,pctEncChar).replace(k.PCT_ENCODED,toUpperCase);return E}function _stripLeadingZeros(E){return E.replace(/^0*(.*)/,"$1")||"0"}function _normalizeIPv4(E,k){var S=E.match(k.IPV4ADDRESS)||[];var N=w(S,2),j=N[1];if(j){return j.split(".").map(_stripLeadingZeros).join(".")}else{return E}}function _normalizeIPv6(E,k){var S=E.match(k.IPV6ADDRESS)||[];var N=w(S,3),j=N[1],q=N[2];if(j){var ee=j.toLowerCase().split("::").reverse(),te=w(ee,2),ne=te[0],ae=te[1];var _e=ae?ae.split(":").map(_stripLeadingZeros):[];var ve=ne.split(":").map(_stripLeadingZeros);var Ee=k.IPV4ADDRESS.test(ve[ve.length-1]);var we=Ee?7:8;var Ce=ve.length-we;var Me=Array(we);for(var Te=0;Te1){var Fe=Me.slice(0,Oe.index);var Ne=Me.slice(Oe.index+Oe.length);Re=Fe.join(":")+"::"+Ne.join(":")}else{Re=Me.join(":")}if(q){Re+="%"+q}return Re}else{return E}}var qe=/^(?:([^:\/?#]+):)?(?:\/\/((?:([^\/?#@]*)@)?(\[[^\/?#\]]+\]|[^\/?#:]*)(?:\:(\d*))?))?([^?#]*)(?:\?([^#]*))?(?:#((?:.|\n|\r)*))?/i;var Ve="".match(/(){0}/)[1]===undefined;function parse(E){var w=arguments.length>1&&arguments[1]!==undefined?arguments[1]:{};var N={};var j=w.iri!==false?S:k;if(w.reference==="suffix")E=(w.scheme?w.scheme+":":"")+"//"+E;var q=E.match(qe);if(q){if(Ve){N.scheme=q[1];N.userinfo=q[3];N.host=q[4];N.port=parseInt(q[5],10);N.path=q[6]||"";N.query=q[7];N.fragment=q[8];if(isNaN(N.port)){N.port=q[5]}}else{N.scheme=q[1]||undefined;N.userinfo=E.indexOf("@")!==-1?q[3]:undefined;N.host=E.indexOf("//")!==-1?q[4]:undefined;N.port=parseInt(q[5],10);N.path=q[6]||"";N.query=E.indexOf("?")!==-1?q[7]:undefined;N.fragment=E.indexOf("#")!==-1?q[8]:undefined;if(isNaN(N.port)){N.port=E.match(/\/\/(?:.|\n)*\:(?:\/|\?|\#|$)/)?q[4]:undefined}}if(N.host){N.host=_normalizeIPv6(_normalizeIPv4(N.host,j),j)}if(N.scheme===undefined&&N.userinfo===undefined&&N.host===undefined&&N.port===undefined&&!N.path&&N.query===undefined){N.reference="same-document"}else if(N.scheme===undefined){N.reference="relative"}else if(N.fragment===undefined){N.reference="absolute"}else{N.reference="uri"}if(w.reference&&w.reference!=="suffix"&&w.reference!==N.reference){N.error=N.error||"URI is not a "+w.reference+" reference."}var ee=Ge[(w.scheme||N.scheme||"").toLowerCase()];if(!w.unicodeSupport&&(!ee||!ee.unicodeSupport)){if(N.host&&(w.domainHost||ee&&ee.domainHost)){try{N.host=Ue.toASCII(N.host.replace(j.PCT_ENCODED,pctDecChars).toLowerCase())}catch(E){N.error=N.error||"Host's domain name can not be converted to ASCII via punycode: "+E}}_normalizeComponentEncoding(N,k)}else{_normalizeComponentEncoding(N,j)}if(ee&&ee.parse){ee.parse(N,w)}}else{N.error=N.error||"URI can not be parsed."}return N}function _recomposeAuthority(E,w){var N=w.iri!==false?S:k;var j=[];if(E.userinfo!==undefined){j.push(E.userinfo);j.push("@")}if(E.host!==undefined){j.push(_normalizeIPv6(_normalizeIPv4(String(E.host),N),N).replace(N.IPV6ADDRESS,(function(E,k,S){return"["+k+(S?"%25"+S:"")+"]"})))}if(typeof E.port==="number"||typeof E.port==="string"){j.push(":");j.push(String(E.port))}return j.length?j.join(""):undefined}var He=/^\.\.?\//;var We=/^\/\.(\/|$)/;var Ke=/^\/\.\.(\/|$)/;var Xe=/^\/?(?:.|\n)*?(?=\/|$)/;function removeDotSegments(E){var k=[];while(E.length){if(E.match(He)){E=E.replace(He,"")}else if(E.match(We)){E=E.replace(We,"/")}else if(E.match(Ke)){E=E.replace(Ke,"/");k.pop()}else if(E==="."||E===".."){E=""}else{var S=E.match(Xe);if(S){var w=S[0];E=E.slice(w.length);k.push(w)}else{throw new Error("Unexpected dot segment condition")}}}return k.join("")}function serialize(E){var w=arguments.length>1&&arguments[1]!==undefined?arguments[1]:{};var N=w.iri?S:k;var j=[];var q=Ge[(w.scheme||E.scheme||"").toLowerCase()];if(q&&q.serialize)q.serialize(E,w);if(E.host){if(N.IPV6ADDRESS.test(E.host)){}else if(w.domainHost||q&&q.domainHost){try{E.host=!w.iri?Ue.toASCII(E.host.replace(N.PCT_ENCODED,pctDecChars).toLowerCase()):Ue.toUnicode(E.host)}catch(k){E.error=E.error||"Host's domain name can not be converted to "+(!w.iri?"ASCII":"Unicode")+" via punycode: "+k}}}_normalizeComponentEncoding(E,N);if(w.reference!=="suffix"&&E.scheme){j.push(E.scheme);j.push(":")}var ee=_recomposeAuthority(E,w);if(ee!==undefined){if(w.reference!=="suffix"){j.push("//")}j.push(ee);if(E.path&&E.path.charAt(0)!=="/"){j.push("/")}}if(E.path!==undefined){var te=E.path;if(!w.absolutePath&&(!q||!q.absolutePath)){te=removeDotSegments(te)}if(ee===undefined){te=te.replace(/^\/\//,"/%2F")}j.push(te)}if(E.query!==undefined){j.push("?");j.push(E.query)}if(E.fragment!==undefined){j.push("#");j.push(E.fragment)}return j.join("")}function resolveComponents(E,k){var S=arguments.length>2&&arguments[2]!==undefined?arguments[2]:{};var w=arguments[3];var N={};if(!w){E=parse(serialize(E,S),S);k=parse(serialize(k,S),S)}S=S||{};if(!S.tolerant&&k.scheme){N.scheme=k.scheme;N.userinfo=k.userinfo;N.host=k.host;N.port=k.port;N.path=removeDotSegments(k.path||"");N.query=k.query}else{if(k.userinfo!==undefined||k.host!==undefined||k.port!==undefined){N.userinfo=k.userinfo;N.host=k.host;N.port=k.port;N.path=removeDotSegments(k.path||"");N.query=k.query}else{if(!k.path){N.path=E.path;if(k.query!==undefined){N.query=k.query}else{N.query=E.query}}else{if(k.path.charAt(0)==="/"){N.path=removeDotSegments(k.path)}else{if((E.userinfo!==undefined||E.host!==undefined||E.port!==undefined)&&!E.path){N.path="/"+k.path}else if(!E.path){N.path=k.path}else{N.path=E.path.slice(0,E.path.lastIndexOf("/")+1)+k.path}N.path=removeDotSegments(N.path)}N.query=k.query}N.userinfo=E.userinfo;N.host=E.host;N.port=E.port}N.scheme=E.scheme}N.fragment=k.fragment;return N}function resolve(E,k,S){var w=assign({scheme:"null"},S);return serialize(resolveComponents(parse(E,w),parse(k,w),w,true),w)}function normalize(E,k){if(typeof E==="string"){E=serialize(parse(E,k),k)}else if(typeOf(E)==="object"){E=parse(serialize(E,k),k)}return E}function equal(E,k,S){if(typeof E==="string"){E=serialize(parse(E,S),S)}else if(typeOf(E)==="object"){E=serialize(E,S)}if(typeof k==="string"){k=serialize(parse(k,S),S)}else if(typeOf(k)==="object"){k=serialize(k,S)}return E===k}function escapeComponent(E,w){return E&&E.toString().replace(!w||!w.iri?k.ESCAPE:S.ESCAPE,pctEncChar)}function unescapeComponent(E,w){return E&&E.toString().replace(!w||!w.iri?k.PCT_ENCODED:S.PCT_ENCODED,pctDecChars)}var Qe={scheme:"http",domainHost:true,parse:function parse(E,k){if(!E.host){E.error=E.error||"HTTP URIs must have a host."}return E},serialize:function serialize(E,k){var S=String(E.scheme).toLowerCase()==="https";if(E.port===(S?443:80)||E.port===""){E.port=undefined}if(!E.path){E.path="/"}return E}};var Je={scheme:"https",domainHost:Qe.domainHost,parse:Qe.parse,serialize:Qe.serialize};function isSecure(E){return typeof E.secure==="boolean"?E.secure:String(E.scheme).toLowerCase()==="wss"}var Ye={scheme:"ws",domainHost:true,parse:function parse(E,k){var S=E;S.secure=isSecure(S);S.resourceName=(S.path||"/")+(S.query?"?"+S.query:"");S.path=undefined;S.query=undefined;return S},serialize:function serialize(E,k){if(E.port===(isSecure(E)?443:80)||E.port===""){E.port=undefined}if(typeof E.secure==="boolean"){E.scheme=E.secure?"wss":"ws";E.secure=undefined}if(E.resourceName){var S=E.resourceName.split("?"),N=w(S,2),j=N[0],q=N[1];E.path=j&&j!=="/"?j:undefined;E.query=q;E.resourceName=undefined}E.fragment=undefined;return E}};var Ze={scheme:"wss",domainHost:Ye.domainHost,parse:Ye.parse,serialize:Ye.serialize};var et={};var tt=true;var nt="[A-Za-z0-9\\-\\.\\_\\~"+(tt?"\\xA0-\\u200D\\u2010-\\u2029\\u202F-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFEF":"")+"]";var rt="[0-9A-Fa-f]";var it=subexp(subexp("%[EFef]"+rt+"%"+rt+rt+"%"+rt+rt)+"|"+subexp("%[89A-Fa-f]"+rt+"%"+rt+rt)+"|"+subexp("%"+rt+rt));var st="[A-Za-z0-9\\!\\$\\%\\'\\*\\+\\-\\^\\_\\`\\{\\|\\}\\~]";var ot="[\\!\\$\\%\\'\\(\\)\\*\\+\\,\\-\\.0-9\\<\\>A-Z\\x5E-\\x7E]";var ut=merge(ot,'[\\"\\\\]');var lt="[\\!\\$\\'\\(\\)\\*\\+\\,\\;\\:\\@]";var ct=new RegExp(nt,"g");var pt=new RegExp(it,"g");var ft=new RegExp(merge("[^]",st,"[\\.]",'[\\"]',ut),"g");var dt=new RegExp(merge("[^]",nt,lt),"g");var ht=dt;function decodeUnreserved(E){var k=pctDecChars(E);return!k.match(ct)?E:k}var mt={scheme:"mailto",parse:function parse$$1(E,k){var S=E;var w=S.to=S.path?S.path.split(","):[];S.path=undefined;if(S.query){var N=false;var j={};var q=S.query.split("&");for(var ee=0,te=q.length;ee{E.exports=S(31669).deprecate},56755:(E,k,S)=>{"use strict";const w=S(28614).EventEmitter;const N=S(15808);const j=S(85622);const q=S(68862);const ee=Object.freeze({});let te=1e3;const ne=S(12087).platform()==="darwin";const ae=process.env.WATCHPACK_POLLING;const _e=`${+ae}`===ae?+ae:!!ae&&ae!=="false";function withoutCase(E){return E.toLowerCase()}function needCalls(E,k){return function(){if(--E===0){return k()}}}class Watcher extends w{constructor(E,k,S){super();this.directoryWatcher=E;this.path=k;this.startTime=S&&+S;this._cachedTimeInfoEntries=undefined}checkStartTime(E,k){const S=this.startTime;if(typeof S!=="number")return!k;return S<=E}close(){this.emit("closed")}}class DirectoryWatcher extends w{constructor(E,k,S){super();if(_e){S.poll=_e}this.watcherManager=E;this.options=S;this.path=k;this.files=new Map;this.filesWithoutCase=new Map;this.directories=new Map;this.lastWatchEvent=0;this.initialScan=true;this.ignored=S.ignored;this.nestedWatching=false;this.polledWatching=typeof S.poll==="number"?S.poll:S.poll?5007:false;this.timeout=undefined;this.initialScanRemoved=new Set;this.initialScanFinished=undefined;this.watchers=new Map;this.parentWatcher=null;this.refs=0;this._activeEvents=new Map;this.closed=false;this.scanning=false;this.scanAgain=false;this.scanAgainInitial=false;this.createWatcher();this.doScan(true)}checkIgnore(E){if(!this.ignored)return false;E=E.replace(/\\/g,"/");return this.ignored.test(E)}createWatcher(){try{if(this.polledWatching){this.watcher={close:()=>{if(this.timeout){clearTimeout(this.timeout);this.timeout=undefined}}}}else{if(ne){this.watchInParentDirectory()}this.watcher=q.watch(this.path);this.watcher.on("change",this.onWatchEvent.bind(this));this.watcher.on("error",this.onWatcherError.bind(this))}}catch(E){this.onWatcherError(E)}}forEachWatcher(E,k){const S=this.watchers.get(withoutCase(E));if(S!==undefined){for(const E of S){k(E)}}}setMissing(E,k,S){this._cachedTimeInfoEntries=undefined;if(this.initialScan){this.initialScanRemoved.add(E)}const w=this.directories.get(E);if(w){if(this.nestedWatching)w.close();this.directories.delete(E);this.forEachWatcher(E,(E=>E.emit("remove",S)));if(!k){this.forEachWatcher(this.path,(w=>w.emit("change",E,null,S,k)))}}const N=this.files.get(E);if(N){this.files.delete(E);const w=withoutCase(E);const N=this.filesWithoutCase.get(w)-1;if(N<=0){this.filesWithoutCase.delete(w);this.forEachWatcher(E,(E=>E.emit("remove",S)))}else{this.filesWithoutCase.set(w,N)}if(!k){this.forEachWatcher(this.path,(w=>w.emit("change",E,null,S,k)))}}}setFileTime(E,k,S,w,N){const j=Date.now();if(this.checkIgnore(E))return;const q=this.files.get(E);let ee,ne;if(S){ee=Math.min(j,k)+te;ne=te}else{ee=j;ne=0;if(q&&q.timestamp===k&&k+te{if(!S||E.checkStartTime(ee,S)){E.emit("change",k,N)}}))}else if(!S){this.forEachWatcher(E,(E=>E.emit("change",k,N)))}this.forEachWatcher(this.path,(k=>{if(!S||k.checkStartTime(ee,S)){k.emit("change",E,ee,N,S)}}))}setDirectory(E,k,S,w){if(this.checkIgnore(E))return;if(E===this.path){if(!S){this.forEachWatcher(this.path,(N=>N.emit("change",E,k,w,S)))}}else{const N=this.directories.get(E);if(!N){const N=Date.now();this._cachedTimeInfoEntries=undefined;if(this.nestedWatching){this.createNestedWatcher(E)}else{this.directories.set(E,true)}let j;if(S){j=Math.min(N,k)+te}else{j=N}this.forEachWatcher(E,(E=>{if(!S||E.checkStartTime(j,false)){E.emit("change",k,w)}}));this.forEachWatcher(this.path,(k=>{if(!S||k.checkStartTime(j,S)){k.emit("change",E,j,w,S)}}))}}}createNestedWatcher(E){const k=this.watcherManager.watchDirectory(E,1);k.on("change",((E,k,S,w)=>{this._cachedTimeInfoEntries=undefined;this.forEachWatcher(this.path,(N=>{if(!w||N.checkStartTime(k,w)){N.emit("change",E,k,S,w)}}))}));this.directories.set(E,k)}setNestedWatching(E){if(this.nestedWatching!==!!E){this.nestedWatching=!!E;this._cachedTimeInfoEntries=undefined;if(this.nestedWatching){for(const E of this.directories.keys()){this.createNestedWatcher(E)}}else{for(const[E,k]of this.directories){k.close();this.directories.set(E,true)}}}}watch(E,k){const S=withoutCase(E);let w=this.watchers.get(S);if(w===undefined){w=new Set;this.watchers.set(S,w)}this.refs++;const N=new Watcher(this,E,k);N.on("closed",(()=>{if(--this.refs<=0){this.close();return}w.delete(N);if(w.size===0){this.watchers.delete(S);if(this.path===E)this.setNestedWatching(false)}}));w.add(N);let j;if(E===this.path){this.setNestedWatching(true);j=this.lastWatchEvent;for(const E of this.files.values()){fixupEntryAccuracy(E);j=Math.max(j,E.safeTime)}}else{const k=this.files.get(E);if(k){fixupEntryAccuracy(k);j=k.safeTime}else{j=0}}if(j){if(j>=k){process.nextTick((()=>{if(this.closed)return;if(E===this.path){N.emit("change",E,j,"watch (outdated on attach)",true)}else{N.emit("change",j,"watch (outdated on attach)",true)}}))}}else if(this.initialScan){if(this.initialScanRemoved.has(E)){process.nextTick((()=>{if(this.closed)return;N.emit("remove")}))}}else if(!this.directories.has(E)&&N.checkStartTime(this.initialScanFinished,false)){process.nextTick((()=>{if(this.closed)return;N.emit("initial-missing","watch (missing on attach)")}))}return N}onWatchEvent(E,k){if(this.closed)return;if(!k){this.doScan(false);return}const S=j.join(this.path,k);if(this.checkIgnore(S))return;if(this._activeEvents.get(k)===undefined){this._activeEvents.set(k,false);const checkStats=()=>{if(this.closed)return;this._activeEvents.set(k,false);N.lstat(S,((w,q)=>{if(this.closed)return;if(this._activeEvents.get(k)===true){process.nextTick(checkStats);return}this._activeEvents.delete(k);if(w){if(w.code!=="ENOENT"&&w.code!=="EPERM"&&w.code!=="EBUSY"){this.onStatsError(w)}else{if(k===j.basename(this.path)){if(!N.existsSync(this.path)){this.onDirectoryRemoved("stat failed")}}}}this.lastWatchEvent=Date.now();this._cachedTimeInfoEntries=undefined;if(!q){this.setMissing(S,false,E)}else if(q.isDirectory()){this.setDirectory(S,+q.birthtime||1,false,E)}else if(q.isFile()||q.isSymbolicLink()){if(q.mtime){ensureFsAccuracy(q.mtime)}this.setFileTime(S,+q.mtime||+q.ctime||1,false,false,E)}}))};process.nextTick(checkStats)}else{this._activeEvents.set(k,true)}}onWatcherError(E){if(this.closed)return;if(E){if(E.code!=="EPERM"&&E.code!=="ENOENT"){console.error("Watchpack Error (watcher): "+E)}this.onDirectoryRemoved("watch error")}}onStatsError(E){if(E){console.error("Watchpack Error (stats): "+E)}}onScanError(E){if(E){console.error("Watchpack Error (initial scan): "+E)}this.onScanFinished()}onScanFinished(){if(this.polledWatching){this.timeout=setTimeout((()=>{if(this.closed)return;this.doScan(false)}),this.polledWatching)}}onDirectoryRemoved(E){if(this.watcher){this.watcher.close();this.watcher=null}this.watchInParentDirectory();const k=`directory-removed (${E})`;for(const E of this.directories.keys()){this.setMissing(E,null,k)}for(const E of this.files.keys()){this.setMissing(E,null,k)}}watchInParentDirectory(){if(!this.parentWatcher){const E=j.dirname(this.path);if(j.dirname(E)===E)return;this.parentWatcher=this.watcherManager.watchFile(this.path,1);this.parentWatcher.on("change",((E,k)=>{if(this.closed)return;if((!ne||this.polledWatching)&&this.parentWatcher){this.parentWatcher.close();this.parentWatcher=null}if(!this.watcher){this.createWatcher();this.doScan(false);this.forEachWatcher(this.path,(S=>S.emit("change",this.path,E,k,false)))}}));this.parentWatcher.on("remove",(()=>{this.onDirectoryRemoved("parent directory removed")}))}}doScan(E){if(this.scanning){if(this.scanAgain){if(!E)this.scanAgainInitial=false}else{this.scanAgain=true;this.scanAgainInitial=E}return}this.scanning=true;if(this.timeout){clearTimeout(this.timeout);this.timeout=undefined}process.nextTick((()=>{if(this.closed)return;N.readdir(this.path,((k,S)=>{if(this.closed)return;if(k){if(k.code==="ENOENT"||k.code==="EPERM"){this.onDirectoryRemoved("scan readdir failed")}else{this.onScanError(k)}this.initialScan=false;this.initialScanFinished=Date.now();if(E){for(const E of this.watchers.values()){for(const k of E){if(k.checkStartTime(this.initialScanFinished,false)){k.emit("initial-missing","scan (parent directory missing in initial scan)")}}}}if(this.scanAgain){this.scanAgain=false;this.doScan(this.scanAgainInitial)}else{this.scanning=false}return}const w=new Set(S.map((E=>j.join(this.path,E.normalize("NFC")))));for(const k of this.files.keys()){if(!w.has(k)){this.setMissing(k,E,"scan (missing)")}}for(const k of this.directories.keys()){if(!w.has(k)){this.setMissing(k,E,"scan (missing)")}}if(this.scanAgain){this.scanAgain=false;this.doScan(E);return}const q=needCalls(w.size+1,(()=>{if(this.closed)return;this.initialScan=false;this.initialScanRemoved=null;this.initialScanFinished=Date.now();if(E){const E=new Map(this.watchers);E.delete(withoutCase(this.path));for(const k of w){E.delete(withoutCase(k))}for(const k of E.values()){for(const E of k){if(E.checkStartTime(this.initialScanFinished,false)){E.emit("initial-missing","scan (missing in initial scan)")}}}}if(this.scanAgain){this.scanAgain=false;this.doScan(this.scanAgainInitial)}else{this.scanning=false;this.onScanFinished()}}));for(const k of w){N.lstat(k,((S,w)=>{if(this.closed)return;if(S){if(S.code==="ENOENT"||S.code==="EPERM"||S.code==="EBUSY"){this.setMissing(k,E,"scan ("+S.code+")")}else{this.onScanError(S)}q();return}if(w.isFile()||w.isSymbolicLink()){if(w.mtime){ensureFsAccuracy(w.mtime)}this.setFileTime(k,+w.mtime||+w.ctime||1,E,true,"scan (file)")}else if(w.isDirectory()){if(!E||!this.directories.has(k))this.setDirectory(k,+w.birthtime||1,E,"scan (dir)")}q()}))}q()}))}))}getTimes(){const E=Object.create(null);let k=this.lastWatchEvent;for(const[S,w]of this.files){fixupEntryAccuracy(w);k=Math.max(k,w.safeTime);E[S]=Math.max(w.safeTime,w.timestamp)}if(this.nestedWatching){for(const S of this.directories.values()){const w=S.directoryWatcher.getTimes();for(const S of Object.keys(w)){const N=w[S];k=Math.max(k,N);E[S]=N}}E[this.path]=k}if(!this.initialScan){for(const k of this.watchers.values()){for(const S of k){const k=S.path;if(!Object.prototype.hasOwnProperty.call(E,k)){E[k]=null}}}}return E}getTimeInfoEntries(){if(this._cachedTimeInfoEntries!==undefined)return this._cachedTimeInfoEntries;const E=new Map;let k=this.lastWatchEvent;for(const[S,w]of this.files){fixupEntryAccuracy(w);k=Math.max(k,w.safeTime);E.set(S,w)}if(this.nestedWatching){for(const S of this.directories.values()){const w=S.directoryWatcher.getTimeInfoEntries();for(const[S,N]of w){if(N){k=Math.max(k,N.safeTime)}E.set(S,N)}}E.set(this.path,{safeTime:k})}else{for(const k of this.directories.keys()){E.set(k,ee)}E.set(this.path,ee)}if(!this.initialScan){for(const k of this.watchers.values()){for(const S of k){const k=S.path;if(!E.has(k)){E.set(k,null)}}}this._cachedTimeInfoEntries=E}return E}close(){this.closed=true;this.initialScan=false;if(this.watcher){this.watcher.close();this.watcher=null}if(this.nestedWatching){for(const E of this.directories.values()){E.close()}this.directories.clear()}if(this.parentWatcher){this.parentWatcher.close();this.parentWatcher=null}this.emit("closed")}}E.exports=DirectoryWatcher;E.exports.EXISTANCE_ONLY_TIME_ENTRY=ee;function fixupEntryAccuracy(E){if(E.accuracy>te){E.safeTime=E.safeTime-E.accuracy+te;E.accuracy=te}}function ensureFsAccuracy(E){if(!E)return;if(te>1&&E%1!==0)te=1;else if(te>10&&E%10!==0)te=10;else if(te>100&&E%100!==0)te=100}},99181:(E,k,S)=>{"use strict";const w=S(35747);const N=S(85622);const j=new Set(["EINVAL","ENOENT"]);if(process.platform==="win32")j.add("UNKNOWN");class LinkResolver{constructor(){this.cache=new Map}resolve(E){const k=this.cache.get(E);if(k!==undefined){return k}const S=N.dirname(E);if(S===E){const k=Object.freeze([E]);this.cache.set(E,k);return k}const q=this.resolve(S);let ee=E;if(q[0]!==S){const k=N.basename(E);ee=N.resolve(q[0],k)}try{const k=w.readlinkSync(ee);const S=N.resolve(q[0],k);const j=this.resolve(S);let te;if(j.length>1&&q.length>1){const E=new Set(j);E.add(ee);for(let k=1;k1){te=q.slice();te[0]=j[0];te.push(ee);Object.freeze(te)}else if(j.length>1){te=j.slice();te.push(ee);Object.freeze(te)}else{te=Object.freeze([j[0],ee])}this.cache.set(E,te);return te}catch(k){if(!j.has(k.code)){throw k}const S=q.slice();S[0]=ee;Object.freeze(S);this.cache.set(E,S);return S}}}E.exports=LinkResolver},53982:(E,k,S)=>{"use strict";const w=S(85622);const N=S(56755);class WatcherManager{constructor(E){this.options=E;this.directoryWatchers=new Map}getDirectoryWatcher(E){const k=this.directoryWatchers.get(E);if(k===undefined){const k=new N(this,E,this.options);this.directoryWatchers.set(E,k);k.on("closed",(()=>{this.directoryWatchers.delete(E)}));return k}return k}watchFile(E,k){const S=w.dirname(E);if(S===E)return null;return this.getDirectoryWatcher(S).watch(E,k)}watchDirectory(E,k){return this.getDirectoryWatcher(E).watch(E,k)}}const j=new WeakMap;E.exports=E=>{const k=j.get(E);if(k!==undefined)return k;const S=new WatcherManager(E);j.set(E,S);return S};E.exports.WatcherManager=WatcherManager},27601:(E,k,S)=>{"use strict";const w=S(85622);E.exports=(E,k)=>{const S=new Map;for(const[k,w]of E){S.set(k,{filePath:k,parent:undefined,children:undefined,entries:1,active:true,value:w})}let N=S.size;for(const E of S.values()){const k=w.dirname(E.filePath);if(k!==E.filePath){let w=S.get(k);if(w===undefined){w={filePath:k,parent:undefined,children:[E],entries:E.entries,active:false,value:undefined};S.set(k,w);E.parent=w}else{E.parent=w;if(w.children===undefined){w.children=[E]}else{w.children.push(E)}do{w.entries+=E.entries;w=w.parent}while(w)}}}while(N>k){const E=N-k;let w=undefined;let j=Infinity;for(const N of S.values()){if(N.entries<=1||!N.children||!N.parent)continue;if(N.children.length===0)continue;if(N.children.length===1&&!N.value)continue;const S=N.entries-1>=E?N.entries-1-E:E-N.entries+1+k*.3;if(S{"use strict";const w=S(35747);const N=S(85622);const{EventEmitter:j}=S(28614);const q=S(27601);const ee=S(12087).platform()==="darwin";const te=S(12087).platform()==="win32";const ne=ee||te;const ae=+process.env.WATCHPACK_WATCHER_LIMIT||(ee?2e3:1e4);const _e=!!process.env.WATCHPACK_RECURSIVE_WATCHER_LOGGING;let ve=false;let Ee=0;const we=new Map;const Ce=new Map;const Me=new Map;const Te=new Map;class DirectWatcher{constructor(E){this.filePath=E;this.watchers=new Set;this.watcher=undefined;try{const k=w.watch(E);this.watcher=k;k.on("change",((E,k)=>{for(const S of this.watchers){S.emit("change",E,k)}}));k.on("error",(E=>{for(const k of this.watchers){k.emit("error",E)}}))}catch(E){process.nextTick((()=>{for(const k of this.watchers){k.emit("error",E)}}))}Ee++}add(E){Te.set(E,this);this.watchers.add(E)}remove(E){this.watchers.delete(E);if(this.watchers.size===0){Me.delete(this.filePath);Ee--;if(this.watcher)this.watcher.close()}}getWatchers(){return this.watchers}}class RecursiveWatcher{constructor(E){this.rootPath=E;this.mapWatcherToPath=new Map;this.mapPathToWatchers=new Map;this.watcher=undefined;try{const k=w.watch(E,{recursive:true});this.watcher=k;k.on("change",((E,k)=>{if(!k){if(_e){process.stderr.write(`[watchpack] dispatch ${E} event in recursive watcher (${this.rootPath}) to all watchers\n`)}for(const k of this.mapWatcherToPath.keys()){k.emit("change",E)}}else{const S=N.dirname(k);const w=this.mapPathToWatchers.get(S);if(_e){process.stderr.write(`[watchpack] dispatch ${E} event in recursive watcher (${this.rootPath}) for '${k}' to ${w?w.size:0} watchers\n`)}if(w===undefined)return;for(const S of w){S.emit("change",E,N.basename(k))}}}));k.on("error",(E=>{for(const k of this.mapWatcherToPath.keys()){k.emit("error",E)}}))}catch(E){process.nextTick((()=>{for(const k of this.mapWatcherToPath.keys()){k.emit("error",E)}}))}Ee++;if(_e){process.stderr.write(`[watchpack] created recursive watcher at ${E}\n`)}}add(E,k){Te.set(k,this);const S=E.slice(this.rootPath.length+1)||".";this.mapWatcherToPath.set(k,S);const w=this.mapPathToWatchers.get(S);if(w===undefined){const E=new Set;E.add(k);this.mapPathToWatchers.set(S,E)}else{w.add(k)}}remove(E){const k=this.mapWatcherToPath.get(E);if(!k)return;this.mapWatcherToPath.delete(E);const S=this.mapPathToWatchers.get(k);S.delete(E);if(S.size===0){this.mapPathToWatchers.delete(k)}if(this.mapWatcherToPath.size===0){Ce.delete(this.rootPath);Ee--;if(this.watcher)this.watcher.close();if(_e){process.stderr.write(`[watchpack] closed recursive watcher at ${this.rootPath}\n`)}}}getWatchers(){return this.mapWatcherToPath}}class Watcher extends j{close(){if(we.has(this)){we.delete(this);return}const E=Te.get(this);E.remove(this);Te.delete(this)}}const createDirectWatcher=E=>{const k=Me.get(E);if(k!==undefined)return k;const S=new DirectWatcher(E);Me.set(E,S);return S};const createRecursiveWatcher=E=>{const k=Ce.get(E);if(k!==undefined)return k;const S=new RecursiveWatcher(E);Ce.set(E,S);return S};const execute=()=>{const E=new Map;const addWatcher=(k,S)=>{const w=E.get(S);if(w===undefined){E.set(S,k)}else if(Array.isArray(w)){w.push(k)}else{E.set(S,[w,k])}};for(const[E,k]of we){addWatcher(E,k)}we.clear();if(!ne||ae-Ee>=E.size){for(const[k,S]of E){const E=createDirectWatcher(k);if(Array.isArray(S)){for(const k of S)E.add(k)}else{E.add(S)}}return}for(const E of Ce.values()){for(const[k,S]of E.getWatchers()){addWatcher(k,N.join(E.rootPath,S))}}for(const E of Me.values()){for(const k of E.getWatchers()){addWatcher(k,E.filePath)}}const k=q(E,ae*.9);for(const[E,S]of k){if(S.size===1){for(const[E,k]of S){const S=createDirectWatcher(k);const w=Te.get(E);if(w===S)continue;S.add(E);if(w!==undefined)w.remove(E)}}else{const k=new Set(S.values());if(k.size>1){const k=createRecursiveWatcher(E);for(const[E,w]of S){const S=Te.get(E);if(S===k)continue;k.add(w,E);if(S!==undefined)S.remove(E)}}else{for(const E of k){const k=createDirectWatcher(E);for(const E of S.keys()){const S=Te.get(E);if(S===k)continue;k.add(E);if(S!==undefined)S.remove(E)}}}}}};k.watch=E=>{const k=new Watcher;const S=Me.get(E);if(S!==undefined){S.add(k);return k}let w=E;for(;;){const S=Ce.get(w);if(S!==undefined){S.add(E,k);return k}const j=N.dirname(w);if(j===w)break;w=j}we.set(k,E);if(!ve)execute();return k};k.batch=E=>{ve=true;try{E()}finally{ve=false;execute()}};k.getNumberOfWatchers=()=>Ee},92512:(E,k,S)=>{"use strict";const w=S(53982);const N=S(99181);const j=S(28614).EventEmitter;const q=S(70554);const ee=S(68862);let te;const ne=[];const ae={};function addWatchersToSet(E,k){for(const S of E){if(S!==true&&!k.has(S.directoryWatcher)){k.add(S.directoryWatcher);addWatchersToSet(S.directoryWatcher.directories.values(),k)}}}const stringToRegexp=E=>{const k=q(E,{globstar:true,extended:true}).source;const S=k.slice(0,k.length-1)+"(?:$|\\/)";return S};const ignoredToRegexp=E=>{if(Array.isArray(E)){return new RegExp(E.map((E=>stringToRegexp(E))).join("|"))}else if(typeof E==="string"){return new RegExp(stringToRegexp(E))}else if(E instanceof RegExp){return E}else if(E){throw new Error(`Invalid option for 'ignored': ${E}`)}else{return undefined}};const normalizeOptions=E=>({followSymlinks:!!E.followSymlinks,ignored:ignoredToRegexp(E.ignored),poll:E.poll});const _e=new WeakMap;const cachedNormalizeOptions=E=>{const k=_e.get(E);if(k!==undefined)return k;const S=normalizeOptions(E);_e.set(E,S);return S};class Watchpack extends j{constructor(E){super();if(!E)E=ae;this.options=E;this.aggregateTimeout=typeof E.aggregateTimeout==="number"?E.aggregateTimeout:200;this.watcherOptions=cachedNormalizeOptions(E);this.watcherManager=w(this.watcherOptions);this.fileWatchers=new Map;this.directoryWatchers=new Map;this.startTime=undefined;this.paused=false;this.aggregatedChanges=new Set;this.aggregatedRemovals=new Set;this.aggregateTimer=undefined;this._onTimeout=this._onTimeout.bind(this)}watch(E,k,S){let w,j,q,te;if(!k){({files:w=ne,directories:j=ne,missing:q=ne,startTime:te}=E)}else{w=E;j=k;q=ne;te=S}this.paused=false;const ae=this.fileWatchers;const _e=this.directoryWatchers;const ve=this.watcherOptions.ignored;const Ee=ve?E=>!ve.test(E.replace(/\\/g,"/")):()=>true;const addToMap=(E,k,S)=>{const w=E.get(k);if(w===undefined){E.set(k,[S])}else{w.push(S)}};const we=new Map;const Ce=new Map;const Me=new Set;if(this.watcherOptions.followSymlinks){const E=new N;for(const k of w){if(Ee(k)){for(const S of E.resolve(k)){if(k===S||Ee(S)){addToMap(we,S,k)}}}}for(const k of q){if(Ee(k)){for(const S of E.resolve(k)){if(k===S||Ee(S)){Me.add(k);addToMap(we,S,k)}}}}for(const k of j){if(Ee(k)){let S=true;for(const w of E.resolve(k)){if(Ee(w)){addToMap(S?Ce:we,w,k)}S=false}}}}else{for(const E of w){if(Ee(E)){addToMap(we,E,E)}}for(const E of q){if(Ee(E)){Me.add(E);addToMap(we,E,E)}}for(const E of j){if(Ee(E)){addToMap(Ce,E,E)}}}const Te=new Map;const Ie=new Map;const setupFileWatcher=(E,k,S)=>{E.on("initial-missing",(E=>{for(const k of S){if(!Me.has(k))this._onRemove(k,k,E)}}));E.on("change",((E,k)=>{for(const w of S){this._onChange(w,E,w,k)}}));E.on("remove",(E=>{for(const k of S){this._onRemove(k,k,E)}}));Te.set(k,E)};const setupDirectoryWatcher=(E,k,S)=>{E.on("initial-missing",(E=>{for(const k of S){this._onRemove(k,k,E)}}));E.on("change",((E,k,w)=>{for(const N of S){this._onChange(N,k,E,w)}}));E.on("remove",(E=>{for(const k of S){this._onRemove(k,k,E)}}));Ie.set(k,E)};const Oe=[];const Re=[];for(const[E,k]of ae){if(!we.has(E)){k.close()}else{Oe.push(k)}}for(const[E,k]of _e){if(!Ce.has(E)){k.close()}else{Re.push(k)}}ee.batch((()=>{for(const[E,k]of we){const S=this.watcherManager.watchFile(E,te);if(S){setupFileWatcher(S,E,k)}}for(const[E,k]of Ce){const S=this.watcherManager.watchDirectory(E,te);if(S){setupDirectoryWatcher(S,E,k)}}}));for(const E of Oe)E.close();for(const E of Re)E.close();this.fileWatchers=Te;this.directoryWatchers=Ie;this.startTime=te}close(){this.paused=true;if(this.aggregateTimer)clearTimeout(this.aggregateTimer);for(const E of this.fileWatchers.values())E.close();for(const E of this.directoryWatchers.values())E.close();this.fileWatchers.clear();this.directoryWatchers.clear()}pause(){this.paused=true;if(this.aggregateTimer)clearTimeout(this.aggregateTimer)}getTimes(){const E=new Set;addWatchersToSet(this.fileWatchers.values(),E);addWatchersToSet(this.directoryWatchers.values(),E);const k=Object.create(null);for(const S of E){const E=S.getTimes();for(const S of Object.keys(E))k[S]=E[S]}return k}getTimeInfoEntries(){if(te===undefined){te=S(56755).EXISTANCE_ONLY_TIME_ENTRY}const E=new Set;addWatchersToSet(this.fileWatchers.values(),E);addWatchersToSet(this.directoryWatchers.values(),E);const k=new Map;for(const S of E){const E=S.getTimeInfoEntries();for(const[S,w]of E){if(k.has(S)){if(w===te)continue;const E=k.get(S);if(E===w)continue;if(E!==te){k.set(S,Object.assign({},E,w));continue}}k.set(S,w)}}return k}getAggregated(){if(this.aggregateTimer){clearTimeout(this.aggregateTimer);this.aggregateTimer=undefined}const E=this.aggregatedChanges;const k=this.aggregatedRemovals;this.aggregatedChanges=new Set;this.aggregatedRemovals=new Set;return{changes:E,removals:k}}_onChange(E,k,S,w){S=S||E;if(!this.paused){this.emit("change",S,k,w);if(this.aggregateTimer)clearTimeout(this.aggregateTimer);this.aggregateTimer=setTimeout(this._onTimeout,this.aggregateTimeout)}this.aggregatedRemovals.delete(E);this.aggregatedChanges.add(E)}_onRemove(E,k,S){k=k||E;if(!this.paused){this.emit("remove",k,S);if(this.aggregateTimer)clearTimeout(this.aggregateTimer);this.aggregateTimer=setTimeout(this._onTimeout,this.aggregateTimeout)}this.aggregatedChanges.delete(E);this.aggregatedRemovals.add(E)}_onTimeout(){this.aggregateTimer=undefined;const E=this.aggregatedChanges;const k=this.aggregatedRemovals;this.aggregatedChanges=new Set;this.aggregatedRemovals=new Set;this.emit("aggregated",E,k)}}E.exports=Watchpack},70417:(E,k,S)=>{"use strict";const w=S(12112);class CachedSource extends w{constructor(E){super();this._source=E;this._cachedSource=undefined;this._cachedSize=undefined;this._cachedMaps={};if(E.node)this.node=function(E){return this._source.node(E)};if(E.listMap)this.listMap=function(E){return this._source.listMap(E)}}source(){if(typeof this._cachedSource!=="undefined")return this._cachedSource;return this._cachedSource=this._source.source()}size(){if(typeof this._cachedSize!=="undefined")return this._cachedSize;if(typeof this._cachedSource!=="undefined"){if(Buffer.from.length===1)return new Buffer(this._cachedSource).length;return this._cachedSize=Buffer.byteLength(this._cachedSource)}return this._cachedSize=this._source.size()}sourceAndMap(E){const k=JSON.stringify(E);if(typeof this._cachedSource!=="undefined"&&k in this._cachedMaps)return{source:this._cachedSource,map:this._cachedMaps[k]};else if(typeof this._cachedSource!=="undefined"){return{source:this._cachedSource,map:this._cachedMaps[k]=this._source.map(E)}}else if(k in this._cachedMaps){return{source:this._cachedSource=this._source.source(),map:this._cachedMaps[k]}}const S=this._source.sourceAndMap(E);this._cachedSource=S.source;this._cachedMaps[k]=S.map;return{source:this._cachedSource,map:this._cachedMaps[k]}}map(E){if(!E)E={};const k=JSON.stringify(E);if(k in this._cachedMaps)return this._cachedMaps[k];return this._cachedMaps[k]=this._source.map()}updateHash(E){this._source.updateHash(E)}}E.exports=CachedSource},52388:(E,k,S)=>{"use strict";const w=S(99596).SourceNode;const N=S(6900).SourceListMap;const j=S(12112);class ConcatSource extends j{constructor(){super();this.children=[];for(var E=0;E{"use strict";var w=S(99596).SourceNode;var N=S(99596).SourceMapConsumer;var j=S(6900).SourceListMap;var q=S(12112);class LineToLineMappedSource extends q{constructor(E,k,S){super();this._value=E;this._name=k;this._originalSource=S}source(){return this._value}node(E){var k=this._value;var S=this._name;var N=k.split("\n");var j=new w(null,null,null,N.map((function(E,k){return new w(k+1,0,S,E+(k!=N.length-1?"\n":""))})));j.setSourceContent(S,this._originalSource);return j}listMap(E){return new j(this._value,this._name,this._originalSource)}updateHash(E){E.update(this._value);E.update(this._originalSource)}}S(93020)(LineToLineMappedSource.prototype);E.exports=LineToLineMappedSource},57579:(E,k,S)=>{"use strict";var w=S(99596).SourceNode;var N=S(99596).SourceMapConsumer;var j=S(6900).SourceListMap;var q=S(12112);var ee=/(?!$)[^\n\r;{}]*[\n\r;{}]*/g;function _splitCode(E){return E.match(ee)||[]}class OriginalSource extends q{constructor(E,k){super();this._value=E;this._name=k}source(){return this._value}node(E){E=E||{};var k=this._sourceMap;var S=this._value;var N=this._name;var j=S.split("\n");var q=new w(null,null,null,j.map((function(k,S){var q=0;if(E.columns===false){var ee=k+(S!=j.length-1?"\n":"");return new w(S+1,0,N,ee)}return new w(null,null,null,_splitCode(k+(S!=j.length-1?"\n":"")).map((function(E){if(/^\s*$/.test(E)){q+=E.length;return E}var k=new w(S+1,q,N,E);q+=E.length;return k})))})));q.setSourceContent(N,S);return q}listMap(E){return new j(this._value,this._name,this._value)}updateHash(E){E.update(this._value)}}S(93020)(OriginalSource.prototype);E.exports=OriginalSource},69852:(E,k,S)=>{"use strict";var w=S(12112);var N=S(99596).SourceNode;var j=/\n(?=.|\s)/g;function cloneAndPrefix(E,k,S){if(typeof E==="string"){var w=E.replace(j,"\n"+k);if(S.length>0)w=S.pop()+w;if(/\n$/.test(E))S.push(k);return w}else{var q=new N(E.line,E.column,E.source,E.children.map((function(E){return cloneAndPrefix(E,k,S)})),E.name);q.sourceContents=E.sourceContents;return q}}class PrefixSource extends w{constructor(E,k){super();this._source=k;this._prefix=E}source(){var E=typeof this._source==="string"?this._source:this._source.source();var k=this._prefix;return k+E.replace(j,"\n"+k)}node(E){var k=this._source.node(E);var S=this._prefix;var w=[];var j=new N;k.walkSourceContents((function(E,k){j.setSourceContent(E,k)}));var q=true;k.walk((function(E,k){var j=E.split(/(\n)/);for(var ee=0;ee{"use strict";var w=S(12112);var N=S(99596).SourceNode;var j=S(6900).SourceListMap;class RawSource extends w{constructor(E){super();this._value=E}source(){return this._value}map(E){return null}node(E){return new N(null,null,null,this._value)}listMap(E){return new j(this._value)}updateHash(E){E.update(this._value)}}E.exports=RawSource},1324:(E,k,S)=>{"use strict";var w=S(12112);var N=S(99596).SourceNode;class Replacement{constructor(E,k,S,w,N){this.start=E;this.end=k;this.content=S;this.insertIndex=w;this.name=N}}class ReplaceSource extends w{constructor(E,k){super();this._source=E;this._name=k;this.replacements=[]}replace(E,k,S,w){if(typeof S!=="string")throw new Error("insertion must be a string, but is a "+typeof S);this.replacements.push(new Replacement(E,k,S,this.replacements.length,w))}insert(E,k,S){if(typeof k!=="string")throw new Error("insertion must be a string, but is a "+typeof k+": "+k);this.replacements.push(new Replacement(E,E-1,k,this.replacements.length,S))}source(E){return this._replaceString(this._source.source())}original(){return this._source}_sortReplacements(){this.replacements.sort((function(E,k){var S=k.end-E.end;if(S!==0)return S;S=k.start-E.start;if(S!==0)return S;return k.insertIndex-E.insertIndex}))}_replaceString(E){if(typeof E!=="string")throw new Error("str must be a string, but is a "+typeof E+": "+E);this._sortReplacements();var k=[E];this.replacements.forEach((function(E){var S=k.pop();var w=this._splitString(S,Math.floor(E.end+1));var N=this._splitString(w[0],Math.floor(E.start));k.push(w[1],E.content,N[0])}),this);let S="";for(let E=k.length-1;E>=0;--E){S+=k[E]}return S}node(E){var k=this._source.node(E);if(this.replacements.length===0){return k}this._sortReplacements();var S=new ReplacementEnumerator(this.replacements);var w=[];var j=0;var q=Object.create(null);var ee=Object.create(null);var te=new N;k.walkSourceContents((function(E,k){te.setSourceContent(E,k);q["$"+E]=k}));var ne=this._replaceInStringNode.bind(this,w,S,(function getOriginalSource(E){var k="$"+E.source;var S=ee[k];if(!S){var w=q[k];if(!w)return null;S=w.split("\n").map((function(E){return E+"\n"}));ee[k]=S}if(E.line>S.length)return null;var N=S[E.line-1];return N.substr(E.column)}));k.walk((function(E,k){j=ne(E,j,k)}));var ae=S.footer();if(ae){w.push(ae)}te.add(w);return te}listMap(E){this._sortReplacements();var k=this._source.listMap(E);var S=0;var w=this.replacements;var N=w.length-1;var j=0;k=k.mapGeneratedCode((function(E){var k=S+E.length;if(j>E.length){j-=E.length;E=""}else{if(j>0){E=E.substr(j);S+=j;j=0}var q="";while(N>=0&&w[N].start=0){q+=w[N].content;N--}if(q){k.add(q)}return k}_splitString(E,k){return k<=0?["",E]:[E.substr(0,k),E.substr(k)]}_replaceInStringNode(E,k,S,w,j,q){var ee=undefined;do{var te=k.position-j;if(te<0){te=0}if(te>=w.length||k.done){if(k.emit){var ne=new N(q.line,q.column,q.source,w,q.name);E.push(ne)}return j+w.length}var ae=q.column;var _e;if(te>0){_e=w.slice(0,te);if(ee===undefined){ee=S(q)}if(ee&&ee.length>=te&&ee.startsWith(_e)){q.column+=te;ee=ee.substr(te)}}var ve=k.next();if(!ve){if(te>0){var Ee=new N(q.line,ae,q.source,_e,q.name);E.push(Ee)}if(k.value){E.push(new N(q.line,q.column,q.source,k.value,q.name||k.name))}}w=w.substr(te);j+=te}while(true)}}class ReplacementEnumerator{constructor(E){this.replacements=E||[];this.index=this.replacements.length;this.done=false;this.emit=false;this.next()}next(){if(this.done)return true;if(this.emit){var E=this.replacements[this.index];var k=Math.floor(E.end+1);this.position=k;this.value=E.content;this.name=E.name}else{this.index--;if(this.index<0){this.done=true}else{var S=this.replacements[this.index];var w=Math.floor(S.start);this.position=w}}if(this.position<0)this.position=0;this.emit=!this.emit;return this.emit}footer(){if(!this.done&&!this.emit)this.next();if(this.done){return[]}else{var E="";for(var k=this.index;k>=0;k--){var S=this.replacements[k];E+=S.content}return E}}}S(93020)(ReplaceSource.prototype);E.exports=ReplaceSource},12112:(E,k,S)=>{"use strict";var w=S(99596).SourceNode;var N=S(99596).SourceMapConsumer;class Source{source(){throw new Error("Abstract")}size(){if(Buffer.from.length===1)return new Buffer(this.source()).length;return Buffer.byteLength(this.source())}map(E){return null}sourceAndMap(E){return{source:this.source(),map:this.map()}}node(){throw new Error("Abstract")}listNode(){throw new Error("Abstract")}updateHash(E){var k=this.source();E.update(k||"")}}E.exports=Source},93020:E=>{"use strict";E.exports=function mixinSourceAndMap(E){E.map=function(E){E=E||{};if(E.columns===false){return this.listMap(E).toStringWithSourceMap({file:"x"}).map}return this.node(E).toStringWithSourceMap({file:"x"}).map.toJSON()};E.sourceAndMap=function(E){E=E||{};if(E.columns===false){return this.listMap(E).toStringWithSourceMap({file:"x"})}var k=this.node(E).toStringWithSourceMap({file:"x"});return{source:k.code,map:k.map.toJSON()}}}},84172:(E,k,S)=>{"use strict";var w=S(99596).SourceNode;var N=S(99596).SourceMapConsumer;var j=S(99596).SourceMapGenerator;var q=S(6900).SourceListMap;var ee=S(6900).fromStringWithSourceMap;var te=S(12112);var ne=S(22368);class SourceMapSource extends te{constructor(E,k,S,w,N,j){super();this._value=E;this._name=k;this._sourceMap=S;this._originalSource=w;this._innerSourceMap=N;this._removeOriginalSource=j}source(){return this._value}node(E){var k=this._sourceMap;var S=w.fromStringWithSourceMap(this._value,new N(k));S.setSourceContent(this._name,this._originalSource);var j=this._innerSourceMap;if(j){S=ne(S,new N(j),this._name,this._removeOriginalSource)}return S}listMap(E){E=E||{};if(E.module===false)return new q(this._value,this._name,this._value);return ee(this._value,typeof this._sourceMap==="string"?JSON.parse(this._sourceMap):this._sourceMap)}updateHash(E){E.update(this._value);if(this._originalSource)E.update(this._originalSource)}}S(93020)(SourceMapSource.prototype);E.exports=SourceMapSource},22368:(E,k,S)=>{"use strict";var w=S(99596).SourceNode;var N=S(99596).SourceMapConsumer;var applySourceMap=function(E,k,S,j){var q=new w;var ee=[];var te={};var ne={};var ae={};var _e={};k.eachMapping((function(E){(ne[E.generatedLine]=ne[E.generatedLine]||[]).push(E)}),null,N.GENERATED_ORDER);E.walkSourceContents((function(E,k){te["$"+E]=k}));var ve=te["$"+S];var Ee=ve?ve.split("\n"):undefined;E.walk((function(E,N){var ve;if(N.source===S&&N.line&&ne[N.line]){var we;var Ce=ne[N.line];for(var Me=0;Me0){var Le=Ie.slice(we.generatedColumn,N.column);var je=Ne.slice(we.originalColumn,we.originalColumn+Be);if(Le===je){we=Object.assign({},we,{originalColumn:we.originalColumn+Be,generatedColumn:N.column})}}if(!we.name&&N.name){Te=Ne.slice(we.originalColumn,we.originalColumn+N.name.length)===N.name}}}ve=we.source;ee.push(new w(we.originalLine,we.originalColumn,ve,E,Te?N.name:we.name));if(!("$"+ve in ae)){ae["$"+ve]=true;var $e=k.sourceContentFor(ve,true);if($e){q.setSourceContent(ve,$e)}}return}}if(j&&N.source===S||!N.source){ee.push(E);return}ve=N.source;ee.push(new w(N.line,N.column,ve,E,N.name));if("$"+ve in te){if(!("$"+ve in ae)){q.setSourceContent(ve,te["$"+ve]);delete te["$"+ve]}}}));q.add(ee);return q};E.exports=applySourceMap},2991:(E,k,S)=>{k.Source=S(12112);k.RawSource=S(57902);k.OriginalSource=S(57579);k.SourceMapSource=S(84172);k.LineToLineMappedSource=S(32631);k.CachedSource=S(70417);k.ConcatSource=S(52388);k.ReplaceSource=S(1324);k.PrefixSource=S(69852)},32323:(E,k,S)=>{"use strict";const w=S(76150);const N=S(81627);const j=S(66298);const q=S(87250);const{toConstantDependency:ee,evaluateToString:te}=S(48472);const ne=S(64255);const ae=S(75948);const _e={__webpack_require__:{expr:w.require,req:[w.require],type:"function",assign:false},__webpack_public_path__:{expr:w.publicPath,req:[w.publicPath],type:"string",assign:true},__webpack_base_uri__:{expr:w.baseURI,req:[w.baseURI],type:"string",assign:true},__webpack_modules__:{expr:w.moduleFactories,req:[w.moduleFactories],type:"object",assign:false},__webpack_chunk_load__:{expr:w.ensureChunk,req:[w.ensureChunk],type:"function",assign:true},__non_webpack_require__:{expr:"require",req:null,type:undefined,assign:true},__webpack_nonce__:{expr:w.scriptNonce,req:[w.scriptNonce],type:"string",assign:true},__webpack_hash__:{expr:`${w.getFullHash}()`,req:[w.getFullHash],type:"string",assign:false},__webpack_chunkname__:{expr:w.chunkName,req:[w.chunkName],type:"string",assign:false},__webpack_get_script_filename__:{expr:w.getChunkScriptFilename,req:[w.getChunkScriptFilename],type:"function",assign:true},__webpack_runtime_id__:{expr:w.runtimeId,req:[w.runtimeId],assign:false},"require.onError":{expr:w.uncaughtErrorHandler,req:[w.uncaughtErrorHandler],type:undefined,assign:true},__system_context__:{expr:w.systemContext,req:[w.systemContext],type:"object",assign:false},__webpack_share_scopes__:{expr:w.shareScopeMap,req:[w.shareScopeMap],type:"object",assign:false},__webpack_init_sharing__:{expr:w.initializeSharing,req:[w.initializeSharing],type:"function",assign:true}};class APIPlugin{apply(E){E.hooks.compilation.tap("APIPlugin",((E,{normalModuleFactory:k})=>{E.dependencyTemplates.set(j,new j.Template);E.hooks.runtimeRequirementInTree.for(w.chunkName).tap("APIPlugin",(k=>{E.addRuntimeModule(k,new ne(k.name));return true}));E.hooks.runtimeRequirementInTree.for(w.getFullHash).tap("APIPlugin",((k,S)=>{E.addRuntimeModule(k,new ae);return true}));const handler=E=>{Object.keys(_e).forEach((k=>{const S=_e[k];E.hooks.expression.for(k).tap("APIPlugin",ee(E,S.expr,S.req));if(S.assign===false){E.hooks.assign.for(k).tap("APIPlugin",(E=>{const S=new N(`${k} must not be assigned`);S.loc=E.loc;throw S}))}if(S.type){E.hooks.evaluateTypeof.for(k).tap("APIPlugin",te(S.type))}}));E.hooks.expression.for("__webpack_layer__").tap("APIPlugin",(k=>{const S=new j(JSON.stringify(E.state.module.layer),k.range);S.loc=k.loc;E.state.module.addPresentationalDependency(S);return true}));E.hooks.evaluateIdentifier.for("__webpack_layer__").tap("APIPlugin",(k=>(E.state.module.layer===null?(new q).setNull():(new q).setString(E.state.module.layer)).setRange(k.range)));E.hooks.evaluateTypeof.for("__webpack_layer__").tap("APIPlugin",(k=>(new q).setString(E.state.module.layer===null?"object":"string").setRange(k.range)))};k.hooks.parser.for("javascript/auto").tap("APIPlugin",handler);k.hooks.parser.for("javascript/dynamic").tap("APIPlugin",handler);k.hooks.parser.for("javascript/esm").tap("APIPlugin",handler)}))}}E.exports=APIPlugin},75884:(E,k,S)=>{"use strict";const w=S(81627);const N=/at ([a-zA-Z0-9_.]*)/;function createMessage(E){return`Abstract method${E?" "+E:""}. Must be overridden.`}function Message(){this.stack=undefined;Error.captureStackTrace(this);const E=this.stack.split("\n")[3].match(N);this.message=E&&E[1]?createMessage(E[1]):createMessage()}class AbstractMethodError extends w{constructor(){super((new Message).message);this.name="AbstractMethodError"}}E.exports=AbstractMethodError},98221:(E,k,S)=>{"use strict";const w=S(32448);const N=S(56202);class AsyncDependenciesBlock extends w{constructor(E,k,S){super();if(typeof E==="string"){E={name:E}}else if(!E){E={name:undefined}}this.groupOptions=E;this.loc=k;this.request=S;this.parent=undefined}get chunkName(){return this.groupOptions.name}set chunkName(E){this.groupOptions.name=E}updateHash(E,k){const{chunkGraph:S}=k;E.update(JSON.stringify(this.groupOptions));const w=S.getBlockChunkGroup(this);E.update(w?w.id:"");super.updateHash(E,k)}serialize(E){const{write:k}=E;k(this.groupOptions);k(this.loc);k(this.request);super.serialize(E)}deserialize(E){const{read:k}=E;this.groupOptions=k();this.loc=k();this.request=k();super.deserialize(E)}}N(AsyncDependenciesBlock,"webpack/lib/AsyncDependenciesBlock");Object.defineProperty(AsyncDependenciesBlock.prototype,"module",{get(){throw new Error("module property was removed from AsyncDependenciesBlock (it's not needed)")},set(){throw new Error("module property was removed from AsyncDependenciesBlock (it's not needed)")}});E.exports=AsyncDependenciesBlock},21357:(E,k,S)=>{"use strict";const w=S(81627);class AsyncDependencyToInitialChunkError extends w{constructor(E,k,S){super(`It's not allowed to load an initial chunk on demand. The chunk name "${E}" is already used by an entrypoint.`);this.name="AsyncDependencyToInitialChunkError";this.module=k;this.loc=S}}E.exports=AsyncDependencyToInitialChunkError},20383:(E,k,S)=>{"use strict";const w=S(62355);const N=S(53520);const j=S(88281);class AutomaticPrefetchPlugin{apply(E){E.hooks.compilation.tap("AutomaticPrefetchPlugin",((E,{normalModuleFactory:k})=>{E.dependencyFactories.set(j,k)}));let k=null;E.hooks.afterCompile.tap("AutomaticPrefetchPlugin",(E=>{k=[];for(const S of E.modules){if(S instanceof N){k.push({context:S.context,request:S.request})}}}));E.hooks.make.tapAsync("AutomaticPrefetchPlugin",((S,N)=>{if(!k)return N();w.forEach(k,((k,w)=>{S.addModuleChain(k.context||E.context,new j(`!!${k.request}`),w)}),(E=>{k=null;N(E)}))}))}}E.exports=AutomaticPrefetchPlugin},58779:(E,k,S)=>{"use strict";const{ConcatSource:w}=S(48135);const N=S(3080);const j=S(70354);const q=S(58159);const ee=S(35817);const te=ee(S(50879),(()=>S(4837)),{name:"Banner Plugin",baseDataPath:"options"});const wrapComment=E=>{if(!E.includes("\n")){return q.toComment(E)}return`/*!\n * ${E.replace(/\*\//g,"* /").split("\n").join("\n * ").replace(/\s+\n/g,"\n").trimRight()}\n */`};class BannerPlugin{constructor(E){if(typeof E==="string"||typeof E==="function"){E={banner:E}}te(E);this.options=E;const k=E.banner;if(typeof k==="function"){const E=k;this.banner=this.options.raw?E:k=>wrapComment(E(k))}else{const E=this.options.raw?k:wrapComment(k);this.banner=()=>E}}apply(E){const k=this.options;const S=this.banner;const q=j.matchObject.bind(undefined,k);E.hooks.compilation.tap("BannerPlugin",(E=>{E.hooks.processAssets.tap({name:"BannerPlugin",stage:N.PROCESS_ASSETS_STAGE_ADDITIONS},(()=>{for(const N of E.chunks){if(k.entryOnly&&!N.canBeInitial()){continue}for(const k of N.files){if(!q(k)){continue}const j={chunk:N,filename:k};const ee=E.getPath(S,j);E.updateAsset(k,(E=>new w(ee,"\n",E)))}}}))}))}}E.exports=BannerPlugin},54725:(E,k,S)=>{"use strict";const{AsyncParallelHook:w,AsyncSeriesBailHook:N,SyncHook:j}=S(92960);const{makeWebpackError:q,makeWebpackErrorCallback:ee}=S(3728);const needCalls=(E,k)=>S=>{if(--E===0){return k(S)}if(S&&E>0){E=0;return k(S)}};class Cache{constructor(){this.hooks={get:new N(["identifier","etag","gotHandlers"]),store:new w(["identifier","etag","data"]),storeBuildDependencies:new w(["dependencies"]),beginIdle:new j([]),endIdle:new w([]),shutdown:new w([])}}get(E,k,S){const w=[];this.hooks.get.callAsync(E,k,w,((E,k)=>{if(E){S(q(E,"Cache.hooks.get"));return}if(k===null){k=undefined}if(w.length>1){const E=needCalls(w.length,(()=>S(null,k)));for(const S of w){S(k,E)}}else if(w.length===1){w[0](k,(()=>S(null,k)))}else{S(null,k)}}))}store(E,k,S,w){this.hooks.store.callAsync(E,k,S,ee(w,"Cache.hooks.store"))}storeBuildDependencies(E,k){this.hooks.storeBuildDependencies.callAsync(E,ee(k,"Cache.hooks.storeBuildDependencies"))}beginIdle(){this.hooks.beginIdle.call()}endIdle(E){this.hooks.endIdle.callAsync(ee(E,"Cache.hooks.endIdle"))}shutdown(E){this.hooks.shutdown.callAsync(ee(E,"Cache.hooks.shutdown"))}}Cache.STAGE_MEMORY=-10;Cache.STAGE_DEFAULT=0;Cache.STAGE_DISK=10;Cache.STAGE_NETWORK=20;E.exports=Cache},6503:(E,k,S)=>{"use strict";const w=S(62355);const N=S(77034);const j=S(10168);class MultiItemCache{constructor(E){this._items=E;if(E.length===1)return E[0]}get(E){const next=k=>{this._items[k].get(((S,w)=>{if(S)return E(S);if(w!==undefined)return E(null,w);if(++k>=this._items.length)return E();next(k)}))};next(0)}getPromise(){const next=E=>this._items[E].getPromise().then((k=>{if(k!==undefined)return k;if(++Ek.store(E,S)),k)}storePromise(E){return Promise.all(this._items.map((k=>k.storePromise(E)))).then((()=>{}))}}class ItemCacheFacade{constructor(E,k,S){this._cache=E;this._name=k;this._etag=S}get(E){this._cache.get(this._name,this._etag,E)}getPromise(){return new Promise(((E,k)=>{this._cache.get(this._name,this._etag,((S,w)=>{if(S){k(S)}else{E(w)}}))}))}store(E,k){this._cache.store(this._name,this._etag,E,k)}storePromise(E){return new Promise(((k,S)=>{this._cache.store(this._name,this._etag,E,(E=>{if(E){S(E)}else{k()}}))}))}provide(E,k){this.get(((S,w)=>{if(S)return k(S);if(w!==undefined)return w;E(((E,S)=>{if(E)return k(E);this.store(S,(E=>{if(E)return k(E);k(null,S)}))}))}))}async providePromise(E){const k=await this.getPromise();if(k!==undefined)return k;const S=await E();await this.storePromise(S);return S}}class CacheFacade{constructor(E,k){this._cache=E;this._name=k}getChildCache(E){return new CacheFacade(this._cache,`${this._name}|${E}`)}getItemCache(E,k){return new ItemCacheFacade(this._cache,`${this._name}|${E}`,k)}getLazyHashedEtag(E){return N(E)}mergeEtags(E,k){return j(E,k)}get(E,k,S){this._cache.get(`${this._name}|${E}`,k,S)}getPromise(E,k){return new Promise(((S,w)=>{this._cache.get(`${this._name}|${E}`,k,((E,k)=>{if(E){w(E)}else{S(k)}}))}))}store(E,k,S,w){this._cache.store(`${this._name}|${E}`,k,S,w)}storePromise(E,k,S){return new Promise(((w,N)=>{this._cache.store(`${this._name}|${E}`,k,S,(E=>{if(E){N(E)}else{w()}}))}))}provide(E,k,S,w){this.get(E,k,((N,j)=>{if(N)return w(N);if(j!==undefined)return j;S(((S,N)=>{if(S)return w(S);this.store(E,k,N,(E=>{if(E)return w(E);w(null,N)}))}))}))}async providePromise(E,k,S){const w=await this.getPromise(E,k);if(w!==undefined)return w;const N=await S();await this.storePromise(E,k,N);return N}}E.exports=CacheFacade;E.exports.ItemCacheFacade=ItemCacheFacade;E.exports.MultiItemCache=MultiItemCache},41673:(E,k,S)=>{"use strict";const w=S(81627);const sortModules=E=>E.sort(((E,k)=>{const S=E.identifier();const w=k.identifier();if(Sw)return 1;return 0}));const createModulesListMessage=(E,k)=>E.map((E=>{let S=`* ${E.identifier()}`;const w=Array.from(k.getIncomingConnectionsByOriginModule(E).keys()).filter((E=>E));if(w.length>0){S+=`\n Used by ${w.length} module(s), i. e.`;S+=`\n ${w[0].identifier()}`}return S})).join("\n");class CaseSensitiveModulesWarning extends w{constructor(E,k){const S=sortModules(Array.from(E));const w=createModulesListMessage(S,k);super(`There are multiple modules with names that only differ in casing.\nThis can lead to unexpected behavior when compiling on a filesystem with other case-semantic.\nUse equal casing. Compare these module identifiers:\n${w}`);this.name="CaseSensitiveModulesWarning";this.module=S[0]}}E.exports=CaseSensitiveModulesWarning},62433:(E,k,S)=>{"use strict";const w=S(45137);const N=S(71452);const{intersect:j}=S(26221);const q=S(16102);const ee=S(14146);const{compareModulesByIdentifier:te,compareChunkGroupsByIndex:ne,compareModulesById:ae}=S(68673);const{createArrayToSetDeprecationSet:_e}=S(16595);const{mergeRuntime:ve}=S(37416);const Ee=_e("chunk.files");let we=1e3;class Chunk{constructor(E){this.id=null;this.ids=null;this.debugId=we++;this.name=E;this.idNameHints=new q;this.preventIntegration=false;this.filenameTemplate=undefined;this._groups=new q(undefined,ne);this.runtime=undefined;this.files=new Ee;this.auxiliaryFiles=new Set;this.rendered=false;this.hash=undefined;this.contentHash=Object.create(null);this.renderedHash=undefined;this.chunkReason=undefined;this.extraAsync=false}get entryModule(){const E=Array.from(w.getChunkGraphForChunk(this,"Chunk.entryModule","DEP_WEBPACK_CHUNK_ENTRY_MODULE").getChunkEntryModulesIterable(this));if(E.length===0){return undefined}else if(E.length===1){return E[0]}else{throw new Error("Module.entryModule: Multiple entry modules are not supported by the deprecated API (Use the new ChunkGroup API)")}}hasEntryModule(){return w.getChunkGraphForChunk(this,"Chunk.hasEntryModule","DEP_WEBPACK_CHUNK_HAS_ENTRY_MODULE").getNumberOfEntryModules(this)>0}addModule(E){const k=w.getChunkGraphForChunk(this,"Chunk.addModule","DEP_WEBPACK_CHUNK_ADD_MODULE");if(k.isModuleInChunk(E,this))return false;k.connectChunkAndModule(this,E);return true}removeModule(E){w.getChunkGraphForChunk(this,"Chunk.removeModule","DEP_WEBPACK_CHUNK_REMOVE_MODULE").disconnectChunkAndModule(this,E)}getNumberOfModules(){return w.getChunkGraphForChunk(this,"Chunk.getNumberOfModules","DEP_WEBPACK_CHUNK_GET_NUMBER_OF_MODULES").getNumberOfChunkModules(this)}get modulesIterable(){const E=w.getChunkGraphForChunk(this,"Chunk.modulesIterable","DEP_WEBPACK_CHUNK_MODULES_ITERABLE");return E.getOrderedChunkModulesIterable(this,te)}compareTo(E){const k=w.getChunkGraphForChunk(this,"Chunk.compareTo","DEP_WEBPACK_CHUNK_COMPARE_TO");return k.compareChunks(this,E)}containsModule(E){return w.getChunkGraphForChunk(this,"Chunk.containsModule","DEP_WEBPACK_CHUNK_CONTAINS_MODULE").isModuleInChunk(E,this)}getModules(){return w.getChunkGraphForChunk(this,"Chunk.getModules","DEP_WEBPACK_CHUNK_GET_MODULES").getChunkModules(this)}remove(){const E=w.getChunkGraphForChunk(this,"Chunk.remove","DEP_WEBPACK_CHUNK_REMOVE");E.disconnectChunk(this);this.disconnectFromGroups()}moveModule(E,k){const S=w.getChunkGraphForChunk(this,"Chunk.moveModule","DEP_WEBPACK_CHUNK_MOVE_MODULE");S.disconnectChunkAndModule(this,E);S.connectChunkAndModule(k,E)}integrate(E){const k=w.getChunkGraphForChunk(this,"Chunk.integrate","DEP_WEBPACK_CHUNK_INTEGRATE");if(k.canChunksBeIntegrated(this,E)){k.integrateChunks(this,E);return true}else{return false}}canBeIntegrated(E){const k=w.getChunkGraphForChunk(this,"Chunk.canBeIntegrated","DEP_WEBPACK_CHUNK_CAN_BE_INTEGRATED");return k.canChunksBeIntegrated(this,E)}isEmpty(){const E=w.getChunkGraphForChunk(this,"Chunk.isEmpty","DEP_WEBPACK_CHUNK_IS_EMPTY");return E.getNumberOfChunkModules(this)===0}modulesSize(){const E=w.getChunkGraphForChunk(this,"Chunk.modulesSize","DEP_WEBPACK_CHUNK_MODULES_SIZE");return E.getChunkModulesSize(this)}size(E={}){const k=w.getChunkGraphForChunk(this,"Chunk.size","DEP_WEBPACK_CHUNK_SIZE");return k.getChunkSize(this,E)}integratedSize(E,k){const S=w.getChunkGraphForChunk(this,"Chunk.integratedSize","DEP_WEBPACK_CHUNK_INTEGRATED_SIZE");return S.getIntegratedChunksSize(this,E,k)}getChunkModuleMaps(E){const k=w.getChunkGraphForChunk(this,"Chunk.getChunkModuleMaps","DEP_WEBPACK_CHUNK_GET_CHUNK_MODULE_MAPS");const S=Object.create(null);const N=Object.create(null);for(const w of this.getAllAsyncChunks()){let j;for(const q of k.getOrderedChunkModulesIterable(w,ae(k))){if(E(q)){if(j===undefined){j=[];S[w.id]=j}const E=k.getModuleId(q);j.push(E);N[E]=k.getRenderedModuleHash(q,undefined)}}}return{id:S,hash:N}}hasModuleInGraph(E,k){const S=w.getChunkGraphForChunk(this,"Chunk.hasModuleInGraph","DEP_WEBPACK_CHUNK_HAS_MODULE_IN_GRAPH");return S.hasModuleInGraph(this,E,k)}getChunkMaps(E){const k=Object.create(null);const S=Object.create(null);const w=Object.create(null);for(const N of this.getAllAsyncChunks()){k[N.id]=E?N.hash:N.renderedHash;for(const E of Object.keys(N.contentHash)){if(!S[E]){S[E]=Object.create(null)}S[E][N.id]=N.contentHash[E]}if(N.name){w[N.id]=N.name}}return{hash:k,contentHash:S,name:w}}hasRuntime(){for(const E of this._groups){if(E instanceof N&&E.getRuntimeChunk()===this){return true}}return false}canBeInitial(){for(const E of this._groups){if(E.isInitial())return true}return false}isOnlyInitial(){if(this._groups.size<=0)return false;for(const E of this._groups){if(!E.isInitial())return false}return true}getEntryOptions(){for(const E of this._groups){if(E instanceof N){return E.options}}return undefined}addGroup(E){this._groups.add(E)}removeGroup(E){this._groups.delete(E)}isInGroup(E){return this._groups.has(E)}getNumberOfGroups(){return this._groups.size}get groupsIterable(){this._groups.sort();return this._groups}disconnectFromGroups(){for(const E of this._groups){E.removeChunk(this)}}split(E){for(const k of this._groups){k.insertChunk(E,this);E.addGroup(k)}for(const k of this.idNameHints){E.idNameHints.add(k)}E.runtime=ve(E.runtime,this.runtime)}updateHash(E,k){E.update(`${this.id} `);E.update(this.ids?this.ids.join(","):"");E.update(`${this.name||""} `);const S=new ee;for(const E of k.getChunkModulesIterable(this)){S.add(k.getModuleHash(E,this.runtime))}S.updateHash(E);const w=k.getChunkEntryModulesWithChunkGroupIterable(this);for(const[S,N]of w){E.update("entry");E.update(`${k.getModuleId(S)}`);E.update(N.id)}}getAllAsyncChunks(){const E=new Set;const k=new Set;const S=j(Array.from(this.groupsIterable,(E=>new Set(E.chunks))));const w=new Set(this.groupsIterable);for(const k of w){for(const S of k.childrenIterable){if(S instanceof N){w.add(S)}else{E.add(S)}}}for(const w of E){for(const E of w.chunks){if(!S.has(E)){k.add(E)}}for(const k of w.childrenIterable){E.add(k)}}return k}getAllInitialChunks(){const E=new Set;const k=new Set(this.groupsIterable);for(const S of k){if(S.isInitial()){for(const k of S.chunks)E.add(k);for(const E of S.childrenIterable)k.add(E)}}return E}getAllReferencedChunks(){const E=new Set(this.groupsIterable);const k=new Set;for(const S of E){for(const E of S.chunks){k.add(E)}for(const k of S.childrenIterable){E.add(k)}}return k}getAllReferencedAsyncEntrypoints(){const E=new Set(this.groupsIterable);const k=new Set;for(const S of E){for(const E of S.asyncEntrypointsIterable){k.add(E)}for(const k of S.childrenIterable){E.add(k)}}return k}hasAsyncChunks(){const E=new Set;const k=j(Array.from(this.groupsIterable,(E=>new Set(E.chunks))));for(const k of this.groupsIterable){for(const S of k.childrenIterable){E.add(S)}}for(const S of E){for(const E of S.chunks){if(!k.has(E)){return true}}for(const k of S.childrenIterable){E.add(k)}}return false}getChildIdsByOrders(E,k){const S=new Map;for(const E of this.groupsIterable){if(E.chunks[E.chunks.length-1]===this){for(const k of E.childrenIterable){for(const E of Object.keys(k.options)){if(E.endsWith("Order")){const w=E.substr(0,E.length-"Order".length);let N=S.get(w);if(N===undefined){N=[];S.set(w,N)}N.push({order:k.options[E],group:k})}}}}}const w=Object.create(null);for(const[N,j]of S){j.sort(((k,S)=>{const w=S.order-k.order;if(w!==0)return w;return k.group.compareTo(E,S.group)}));const S=new Set;for(const w of j){for(const N of w.group.chunks){if(k&&!k(N,E))continue;S.add(N.id)}}if(S.size>0){w[N]=Array.from(S)}}return w}getChildrenOfTypeInOrder(E,k){const S=[];for(const E of this.groupsIterable){for(const w of E.childrenIterable){const N=w.options[k];if(N===undefined)continue;S.push({order:N,group:E,childGroup:w})}}if(S.length===0)return undefined;S.sort(((k,S)=>{const w=S.order-k.order;if(w!==0)return w;return k.group.compareTo(E,S.group)}));const w=[];let N;for(const{group:E,childGroup:k}of S){if(N&&N.onChunks===E.chunks){for(const E of k.chunks){N.chunks.add(E)}}else{w.push(N={onChunks:E.chunks,chunks:new Set(k.chunks)})}}return w}getChildIdsByOrdersMap(E,k,S){const w=Object.create(null);const addChildIdsByOrdersToMap=k=>{const N=k.getChildIdsByOrders(E,S);for(const E of Object.keys(N)){let S=w[E];if(S===undefined){w[E]=S=Object.create(null)}S[k.id]=N[E]}};if(k){const E=new Set;for(const k of this.groupsIterable){for(const S of k.chunks){E.add(S)}}for(const k of E){addChildIdsByOrdersToMap(k)}}for(const E of this.getAllAsyncChunks()){addChildIdsByOrdersToMap(E)}return w}}E.exports=Chunk},45137:(E,k,S)=>{"use strict";const w=S(31669);const N=S(71452);const j=S(79900);const{first:q}=S(26221);const ee=S(16102);const{compareModulesById:te,compareIterables:ne,compareModulesByIdentifier:ae,concatComparators:_e,compareSelect:ve,compareIds:Ee}=S(68673);const we=S(35891);const Ce=S(62598);const{RuntimeSpecMap:Me,RuntimeSpecSet:Te,runtimeToString:Ie,mergeRuntime:Oe,forEachRuntime:Re}=S(37416);const Fe=new Set;const Ne=BigInt(0);const Be=ne(ae);class ModuleHashInfo{constructor(E,k){this.hash=E;this.renderedHash=k}}const getArray=E=>Array.from(E);const getModuleRuntimes=E=>{const k=new Te;for(const S of E){k.add(S.runtime)}return k};const modulesBySourceType=E=>{const k=new Map;for(const S of E){for(const E of S.getSourceTypes()){let w=k.get(E);if(w===undefined){w=new ee;k.set(E,w)}w.add(S)}}for(const[S,w]of k){if(w.size===E.size){k.set(S,E)}}return k};const Le=new WeakMap;const createOrderedArrayFunction=E=>{let k=Le.get(E);if(k!==undefined)return k;k=k=>{k.sortWith(E);return Array.from(k)};Le.set(E,k);return k};const getModulesSize=E=>{let k=0;for(const S of E){for(const E of S.getSourceTypes()){k+=S.size(E)}}return k};const getModulesSizes=E=>{let k=Object.create(null);for(const S of E){for(const E of S.getSourceTypes()){k[E]=(k[E]||0)+S.size(E)}}return k};const isAvailableChunk=(E,k)=>{const S=new Set(k.groupsIterable);for(const k of S){if(E.isInGroup(k))continue;if(k.isInitial())return false;for(const E of k.parentsIterable){S.add(E)}}return true};class ChunkGraphModule{constructor(){this.chunks=new ee;this.entryInChunks=undefined;this.runtimeInChunks=undefined;this.hashes=undefined;this.id=null;this.runtimeRequirements=undefined;this.graphHashes=undefined;this.graphHashesWithConnections=undefined}}class ChunkGraphChunk{constructor(){this.modules=new ee;this.entryModules=new Map;this.runtimeModules=new ee;this.fullHashModules=undefined;this.runtimeRequirements=undefined;this.runtimeRequirementsInTree=new Set}}class ChunkGraph{constructor(E){this._modules=new WeakMap;this._chunks=new WeakMap;this._blockChunkGroups=new WeakMap;this._runtimeIds=new Map;this.moduleGraph=E;this._getGraphRoots=this._getGraphRoots.bind(this);this._cacheChunkGraphModuleKey1=undefined;this._cacheChunkGraphModuleValue1=undefined;this._cacheChunkGraphModuleKey2=undefined;this._cacheChunkGraphModuleValue2=undefined;this._cacheChunkGraphChunkKey1=undefined;this._cacheChunkGraphChunkValue1=undefined;this._cacheChunkGraphChunkKey2=undefined;this._cacheChunkGraphChunkValue2=undefined}_getChunkGraphModule(E){if(this._cacheChunkGraphModuleKey1===E)return this._cacheChunkGraphModuleValue1;if(this._cacheChunkGraphModuleKey2===E)return this._cacheChunkGraphModuleValue2;let k=this._modules.get(E);if(k===undefined){k=new ChunkGraphModule;this._modules.set(E,k)}this._cacheChunkGraphModuleKey2=this._cacheChunkGraphModuleKey1;this._cacheChunkGraphModuleValue2=this._cacheChunkGraphModuleValue1;this._cacheChunkGraphModuleKey1=E;this._cacheChunkGraphModuleValue1=k;return k}_getChunkGraphChunk(E){if(this._cacheChunkGraphChunkKey1===E)return this._cacheChunkGraphChunkValue1;if(this._cacheChunkGraphChunkKey2===E)return this._cacheChunkGraphChunkValue2;let k=this._chunks.get(E);if(k===undefined){k=new ChunkGraphChunk;this._chunks.set(E,k)}this._cacheChunkGraphChunkKey2=this._cacheChunkGraphChunkKey1;this._cacheChunkGraphChunkValue2=this._cacheChunkGraphChunkValue1;this._cacheChunkGraphChunkKey1=E;this._cacheChunkGraphChunkValue1=k;return k}_getGraphRoots(E){const{moduleGraph:k}=this;return Array.from(Ce(E,(E=>{const S=new Set;const addDependencies=E=>{for(const w of k.getOutgoingConnections(E)){if(!w.module)continue;const E=w.getActiveState(undefined);if(E===false)continue;if(E===j.TRANSITIVE_ONLY){addDependencies(w.module);continue}S.add(w.module)}};addDependencies(E);return S}))).sort(ae)}connectChunkAndModule(E,k){const S=this._getChunkGraphModule(k);const w=this._getChunkGraphChunk(E);S.chunks.add(E);w.modules.add(k)}disconnectChunkAndModule(E,k){const S=this._getChunkGraphModule(k);const w=this._getChunkGraphChunk(E);w.modules.delete(k);S.chunks.delete(E)}disconnectChunk(E){const k=this._getChunkGraphChunk(E);for(const S of k.modules){const k=this._getChunkGraphModule(S);k.chunks.delete(E)}k.modules.clear();E.disconnectFromGroups();ChunkGraph.clearChunkGraphForChunk(E)}attachModules(E,k){const S=this._getChunkGraphChunk(E);for(const E of k){S.modules.add(E)}}attachRuntimeModules(E,k){const S=this._getChunkGraphChunk(E);for(const E of k){S.runtimeModules.add(E)}}attachFullHashModules(E,k){const S=this._getChunkGraphChunk(E);if(S.fullHashModules===undefined)S.fullHashModules=new Set;for(const E of k){S.fullHashModules.add(E)}}replaceModule(E,k){const S=this._getChunkGraphModule(E);const w=this._getChunkGraphModule(k);for(const N of S.chunks){const S=this._getChunkGraphChunk(N);S.modules.delete(E);S.modules.add(k);w.chunks.add(N)}S.chunks.clear();if(S.entryInChunks!==undefined){if(w.entryInChunks===undefined){w.entryInChunks=new Set}for(const N of S.entryInChunks){const S=this._getChunkGraphChunk(N);const j=S.entryModules.get(E);const q=new Map;for(const[w,N]of S.entryModules){if(w===E){q.set(k,j)}else{q.set(w,N)}}S.entryModules=q;w.entryInChunks.add(N)}S.entryInChunks=undefined}if(S.runtimeInChunks!==undefined){if(w.runtimeInChunks===undefined){w.runtimeInChunks=new Set}for(const N of S.runtimeInChunks){const S=this._getChunkGraphChunk(N);S.runtimeModules.delete(E);S.runtimeModules.add(k);w.runtimeInChunks.add(N);if(S.fullHashModules!==undefined&&S.fullHashModules.has(E)){S.fullHashModules.delete(E);S.fullHashModules.add(k)}}S.runtimeInChunks=undefined}}isModuleInChunk(E,k){const S=this._getChunkGraphChunk(k);return S.modules.has(E)}isModuleInChunkGroup(E,k){for(const S of k.chunks){if(this.isModuleInChunk(E,S))return true}return false}isEntryModule(E){const k=this._getChunkGraphModule(E);return k.entryInChunks!==undefined}getModuleChunksIterable(E){const k=this._getChunkGraphModule(E);return k.chunks}getOrderedModuleChunksIterable(E,k){const S=this._getChunkGraphModule(E);S.chunks.sortWith(k);return S.chunks}getModuleChunks(E){const k=this._getChunkGraphModule(E);return k.chunks.getFromCache(getArray)}getNumberOfModuleChunks(E){const k=this._getChunkGraphModule(E);return k.chunks.size}getModuleRuntimes(E){const k=this._getChunkGraphModule(E);return k.chunks.getFromUnorderedCache(getModuleRuntimes)}getNumberOfChunkModules(E){const k=this._getChunkGraphChunk(E);return k.modules.size}getChunkModulesIterable(E){const k=this._getChunkGraphChunk(E);return k.modules}getChunkModulesIterableBySourceType(E,k){const S=this._getChunkGraphChunk(E);const w=S.modules.getFromUnorderedCache(modulesBySourceType).get(k);return w}getOrderedChunkModulesIterable(E,k){const S=this._getChunkGraphChunk(E);S.modules.sortWith(k);return S.modules}getOrderedChunkModulesIterableBySourceType(E,k,S){const w=this._getChunkGraphChunk(E);const N=w.modules.getFromUnorderedCache(modulesBySourceType).get(k);if(N===undefined)return undefined;N.sortWith(S);return N}getChunkModules(E){const k=this._getChunkGraphChunk(E);return k.modules.getFromUnorderedCache(getArray)}getOrderedChunkModules(E,k){const S=this._getChunkGraphChunk(E);const w=createOrderedArrayFunction(k);return S.modules.getFromUnorderedCache(w)}getChunkModuleIdMap(E,k,S=false){const w=Object.create(null);for(const N of S?E.getAllReferencedChunks():E.getAllAsyncChunks()){let E;for(const S of this.getOrderedChunkModulesIterable(N,te(this))){if(k(S)){if(E===undefined){E=[];w[N.id]=E}const k=this.getModuleId(S);E.push(k)}}}return w}getChunkModuleRenderedHashMap(E,k,S=0,w=false){const N=Object.create(null);for(const j of w?E.getAllReferencedChunks():E.getAllAsyncChunks()){let E;for(const w of this.getOrderedChunkModulesIterable(j,te(this))){if(k(w)){if(E===undefined){E=Object.create(null);N[j.id]=E}const k=this.getModuleId(w);const q=this.getRenderedModuleHash(w,j.runtime);E[k]=S?q.slice(0,S):q}}}return N}getChunkConditionMap(E,k){const S=Object.create(null);for(const w of E.getAllReferencedChunks()){S[w.id]=k(w,this)}return S}hasModuleInGraph(E,k,S){const w=new Set(E.groupsIterable);const N=new Set;for(const E of w){for(const w of E.chunks){if(!N.has(w)){N.add(w);if(!S||S(w,this)){for(const E of this.getChunkModulesIterable(w)){if(k(E)){return true}}}}}for(const k of E.childrenIterable){w.add(k)}}return false}compareChunks(E,k){const S=this._getChunkGraphChunk(E);const w=this._getChunkGraphChunk(k);if(S.modules.size>w.modules.size)return-1;if(S.modules.size0||this.getNumberOfEntryModules(k)>0){return false}return true}integrateChunks(E,k){if(E.name&&k.name){if(this.getNumberOfEntryModules(E)>0===this.getNumberOfEntryModules(k)>0){if(E.name.length!==k.name.length){E.name=E.name.length0){E.name=k.name}}else if(k.name){E.name=k.name}for(const S of k.idNameHints){E.idNameHints.add(S)}E.runtime=Oe(E.runtime,k.runtime);for(const S of this.getChunkModules(k)){this.disconnectChunkAndModule(k,S);this.connectChunkAndModule(E,S)}for(const[S,w]of Array.from(this.getChunkEntryModulesWithChunkGroupIterable(k))){this.disconnectChunkAndEntryModule(k,S);this.connectChunkAndEntryModule(E,S,w)}for(const S of k.groupsIterable){S.replaceChunk(k,E);E.addGroup(S);k.removeGroup(S)}ChunkGraph.clearChunkGraphForChunk(k)}isEntryModuleInChunk(E,k){const S=this._getChunkGraphChunk(k);return S.entryModules.has(E)}connectChunkAndEntryModule(E,k,S){const w=this._getChunkGraphModule(k);const N=this._getChunkGraphChunk(E);if(w.entryInChunks===undefined){w.entryInChunks=new Set}w.entryInChunks.add(E);N.entryModules.set(k,S)}connectChunkAndRuntimeModule(E,k){const S=this._getChunkGraphModule(k);const w=this._getChunkGraphChunk(E);if(S.runtimeInChunks===undefined){S.runtimeInChunks=new Set}S.runtimeInChunks.add(E);w.runtimeModules.add(k)}addFullHashModuleToChunk(E,k){const S=this._getChunkGraphChunk(E);if(S.fullHashModules===undefined)S.fullHashModules=new Set;S.fullHashModules.add(k)}disconnectChunkAndEntryModule(E,k){const S=this._getChunkGraphModule(k);const w=this._getChunkGraphChunk(E);S.entryInChunks.delete(E);if(S.entryInChunks.size===0){S.entryInChunks=undefined}w.entryModules.delete(k)}disconnectChunkAndRuntimeModule(E,k){const S=this._getChunkGraphModule(k);const w=this._getChunkGraphChunk(E);S.runtimeInChunks.delete(E);if(S.runtimeInChunks.size===0){S.runtimeInChunks=undefined}w.runtimeModules.delete(k)}disconnectEntryModule(E){const k=this._getChunkGraphModule(E);for(const S of k.entryInChunks){const k=this._getChunkGraphChunk(S);k.entryModules.delete(E)}k.entryInChunks=undefined}disconnectEntries(E){const k=this._getChunkGraphChunk(E);for(const S of k.entryModules.keys()){const k=this._getChunkGraphModule(S);k.entryInChunks.delete(E);if(k.entryInChunks.size===0){k.entryInChunks=undefined}}k.entryModules.clear()}getNumberOfEntryModules(E){const k=this._getChunkGraphChunk(E);return k.entryModules.size}getNumberOfRuntimeModules(E){const k=this._getChunkGraphChunk(E);return k.runtimeModules.size}getChunkEntryModulesIterable(E){const k=this._getChunkGraphChunk(E);return k.entryModules.keys()}getChunkEntryDependentChunksIterable(E){const k=new Set;for(const S of E.groupsIterable){if(S instanceof N){const w=S.getEntrypointChunk();const N=this._getChunkGraphChunk(w);for(const S of N.entryModules.values()){for(const N of S.chunks){if(N!==E&&N!==w&&!N.hasRuntime()){k.add(N)}}}}}return k}hasChunkEntryDependentChunks(E){const k=this._getChunkGraphChunk(E);for(const S of k.entryModules.values()){for(const k of S.chunks){if(k!==E){return true}}}return false}getChunkRuntimeModulesIterable(E){const k=this._getChunkGraphChunk(E);return k.runtimeModules}getChunkRuntimeModulesInOrder(E){const k=this._getChunkGraphChunk(E);const S=Array.from(k.runtimeModules);S.sort(_e(ve((E=>E.stage),Ee),ae));return S}getChunkFullHashModulesIterable(E){const k=this._getChunkGraphChunk(E);return k.fullHashModules}getChunkFullHashModulesSet(E){const k=this._getChunkGraphChunk(E);return k.fullHashModules}getChunkEntryModulesWithChunkGroupIterable(E){const k=this._getChunkGraphChunk(E);return k.entryModules}getBlockChunkGroup(E){return this._blockChunkGroups.get(E)}connectBlockAndChunkGroup(E,k){this._blockChunkGroups.set(E,k);k.addBlock(E)}disconnectChunkGroup(E){for(const k of E.blocksIterable){this._blockChunkGroups.delete(k)}E._blocks.clear()}getModuleId(E){const k=this._getChunkGraphModule(E);return k.id}setModuleId(E,k){const S=this._getChunkGraphModule(E);S.id=k}getRuntimeId(E){return this._runtimeIds.get(E)}setRuntimeId(E,k){this._runtimeIds.set(E,k)}_getModuleHashInfo(E,k,S){if(!k){throw new Error(`Module ${E.identifier()} has no hash info for runtime ${Ie(S)} (hashes not set at all)`)}else if(S===undefined){const S=new Set(k.values());if(S.size!==1){throw new Error(`No unique hash info entry for unspecified runtime for ${E.identifier()} (existing runtimes: ${Array.from(k.keys(),(E=>Ie(E))).join(", ")}).\nCaller might not support runtime-dependent code generation (opt-out via optimization.usedExports: "global").`)}return q(S)}else{const w=k.get(S);if(!w){throw new Error(`Module ${E.identifier()} has no hash info for runtime ${Ie(S)} (available runtimes ${Array.from(k.keys(),Ie).join(", ")})`)}return w}}hasModuleHashes(E,k){const S=this._getChunkGraphModule(E);const w=S.hashes;return w&&w.has(k)}getModuleHash(E,k){const S=this._getChunkGraphModule(E);const w=S.hashes;return this._getModuleHashInfo(E,w,k).hash}getRenderedModuleHash(E,k){const S=this._getChunkGraphModule(E);const w=S.hashes;return this._getModuleHashInfo(E,w,k).renderedHash}setModuleHashes(E,k,S,w){const N=this._getChunkGraphModule(E);if(N.hashes===undefined){N.hashes=new Me}N.hashes.set(k,new ModuleHashInfo(S,w))}addModuleRuntimeRequirements(E,k,S){const w=this._getChunkGraphModule(E);const N=w.runtimeRequirements;if(N===undefined){const E=new Me;E.set(k,S);w.runtimeRequirements=E;return}N.update(k,(E=>{if(E===undefined){return S}else if(E.size>=S.size){for(const k of S)E.add(k);return E}else{for(const k of E)S.add(k);return S}}))}addChunkRuntimeRequirements(E,k){const S=this._getChunkGraphChunk(E);const w=S.runtimeRequirements;if(w===undefined){S.runtimeRequirements=k}else if(w.size>=k.size){for(const E of k)w.add(E)}else{for(const E of w)k.add(E);S.runtimeRequirements=k}}addTreeRuntimeRequirements(E,k){const S=this._getChunkGraphChunk(E);const w=S.runtimeRequirementsInTree;for(const E of k)w.add(E)}getModuleRuntimeRequirements(E,k){const S=this._getChunkGraphModule(E);const w=S.runtimeRequirements&&S.runtimeRequirements.get(k);return w===undefined?Fe:w}getChunkRuntimeRequirements(E){const k=this._getChunkGraphChunk(E);const S=k.runtimeRequirements;return S===undefined?Fe:S}getModuleGraphHash(E,k,S=true){const w=this._getChunkGraphModule(E);return S?this._getModuleGraphHashWithConnections(w,E,k):this._getModuleGraphHashBigInt(w,E,k).toString(16)}getModuleGraphHashBigInt(E,k,S=true){const w=this._getChunkGraphModule(E);return S?BigInt(`0x${this._getModuleGraphHashWithConnections(w,E,k)}`):this._getModuleGraphHashBigInt(w,E,k)}_getModuleGraphHashBigInt(E,k,S){if(E.graphHashes===undefined){E.graphHashes=new Me}const w=E.graphHashes.provide(S,(()=>{const w=we("md4");w.update(`${E.id}`);w.update(`${this.moduleGraph.isAsync(k)}`);this.moduleGraph.getExportsInfo(k).updateHash(w,S);return BigInt(`0x${w.digest("hex")}`)}));return w}_getModuleGraphHashWithConnections(E,k,S){if(E.graphHashesWithConnections===undefined){E.graphHashesWithConnections=new Me}const activeStateToString=E=>{if(E===false)return"F";if(E===true)return"T";if(E===j.TRANSITIVE_ONLY)return"O";throw new Error("Not implemented active state")};const w=k.buildMeta&&k.buildMeta.strictHarmonyModule;return E.graphHashesWithConnections.provide(S,(()=>{const N=this._getModuleGraphHashBigInt(E,k,S).toString(16);const j=this.moduleGraph.getOutgoingConnections(k);const ee=new Set;const te=new Map;const processConnection=(E,k)=>{const S=E.module;k+=S.getExportsType(this.moduleGraph,w);if(k==="Tnamespace")ee.add(S);else{const E=te.get(k);if(E===undefined){te.set(k,S)}else if(E instanceof Set){E.add(S)}else if(E!==S){te.set(k,new Set([E,S]))}}};if(S===undefined||typeof S==="string"){for(const E of j){const k=E.getActiveState(S);if(k===false)continue;processConnection(E,k===true?"T":"O")}}else{for(const E of j){const k=new Set;let w="";Re(S,(S=>{const N=E.getActiveState(S);k.add(N);w+=activeStateToString(N)+S}),true);if(k.size===1){const E=q(k);if(E===false)continue;w=activeStateToString(E)}processConnection(E,w)}}if(ee.size===0&&te.size===0)return N;const ne=te.size>1?Array.from(te).sort((([E],[k])=>E{ae.update(this._getModuleGraphHashBigInt(this._getChunkGraphModule(E),E,S).toString(16))};const addModulesToHash=E=>{let k=Ne;for(const w of E){k=k^this._getModuleGraphHashBigInt(this._getChunkGraphModule(w),w,S)}ae.update(k.toString(16))};if(ee.size===1)addModuleToHash(ee.values().next().value);else if(ee.size>1)addModulesToHash(ee);for(const[E,k]of ne){ae.update(E);if(k instanceof Set){addModulesToHash(k)}else{addModuleToHash(k)}}ae.update(N);return ae.digest("hex")}))}getTreeRuntimeRequirements(E){const k=this._getChunkGraphChunk(E);return k.runtimeRequirementsInTree}static getChunkGraphForModule(E,k,S){const N=ze.get(k);if(N)return N(E);const j=w.deprecate((E=>{const S=je.get(E);if(!S)throw new Error(k+": There was no ChunkGraph assigned to the Module for backward-compat (Use the new API)");return S}),k+": Use new ChunkGraph API",S);ze.set(k,j);return j(E)}static setChunkGraphForModule(E,k){je.set(E,k)}static clearChunkGraphForModule(E){je.delete(E)}static getChunkGraphForChunk(E,k,S){const N=Ue.get(k);if(N)return N(E);const j=w.deprecate((E=>{const S=$e.get(E);if(!S)throw new Error(k+"There was no ChunkGraph assigned to the Chunk for backward-compat (Use the new API)");return S}),k+": Use new ChunkGraph API",S);Ue.set(k,j);return j(E)}static setChunkGraphForChunk(E,k){$e.set(E,k)}static clearChunkGraphForChunk(E){$e.delete(E)}}const je=new WeakMap;const $e=new WeakMap;const ze=new Map;const Ue=new Map;E.exports=ChunkGraph},84558:(E,k,S)=>{"use strict";const w=S(31669);const N=S(16102);const{compareLocations:j,compareChunks:q,compareIterables:ee}=S(68673);let te=5e3;const getArray=E=>Array.from(E);const sortById=(E,k)=>{if(E.id{const S=E.module?E.module.identifier():"";const w=k.module?k.module.identifier():"";if(Sw)return 1;return j(E.loc,k.loc)};class ChunkGroup{constructor(E){if(typeof E==="string"){E={name:E}}else if(!E){E={name:undefined}}this.groupDebugId=te++;this.options=E;this._children=new N(undefined,sortById);this._parents=new N(undefined,sortById);this._asyncEntrypoints=new N(undefined,sortById);this._blocks=new N;this.chunks=[];this.origins=[];this._modulePreOrderIndices=new Map;this._modulePostOrderIndices=new Map;this.index=undefined}addOptions(E){for(const k of Object.keys(E)){if(this.options[k]===undefined){this.options[k]=E[k]}else if(this.options[k]!==E[k]){if(k.endsWith("Order")){this.options[k]=Math.max(this.options[k],E[k])}else{throw new Error(`ChunkGroup.addOptions: No option merge strategy for ${k}`)}}}}get name(){return this.options.name}set name(E){this.options.name=E}get debugId(){return Array.from(this.chunks,(E=>E.debugId)).join("+")}get id(){return Array.from(this.chunks,(E=>E.id)).join("+")}unshiftChunk(E){const k=this.chunks.indexOf(E);if(k>0){this.chunks.splice(k,1);this.chunks.unshift(E)}else if(k<0){this.chunks.unshift(E);return true}return false}insertChunk(E,k){const S=this.chunks.indexOf(E);const w=this.chunks.indexOf(k);if(w<0){throw new Error("before chunk not found")}if(S>=0&&S>w){this.chunks.splice(S,1);this.chunks.splice(w,0,E)}else if(S<0){this.chunks.splice(w,0,E);return true}return false}pushChunk(E){const k=this.chunks.indexOf(E);if(k>=0){return false}this.chunks.push(E);return true}replaceChunk(E,k){const S=this.chunks.indexOf(E);if(S<0)return false;const w=this.chunks.indexOf(k);if(w<0){this.chunks[S]=k;return true}if(w=0){this.chunks.splice(k,1);return true}return false}isInitial(){return false}addChild(E){const k=this._children.size;this._children.add(E);return k!==this._children.size}getChildren(){return this._children.getFromCache(getArray)}getNumberOfChildren(){return this._children.size}get childrenIterable(){return this._children}removeChild(E){if(!this._children.has(E)){return false}this._children.delete(E);E.removeParent(this);return true}addParent(E){if(!this._parents.has(E)){this._parents.add(E);return true}return false}getParents(){return this._parents.getFromCache(getArray)}getNumberOfParents(){return this._parents.size}hasParent(E){return this._parents.has(E)}get parentsIterable(){return this._parents}removeParent(E){if(this._parents.delete(E)){E.removeChild(this);return true}return false}addAsyncEntrypoint(E){const k=this._asyncEntrypoints.size;this._asyncEntrypoints.add(E);return k!==this._asyncEntrypoints.size}get asyncEntrypointsIterable(){return this._asyncEntrypoints}getBlocks(){return this._blocks.getFromCache(getArray)}getNumberOfBlocks(){return this._blocks.size}hasBlock(E){return this._blocks.has(E)}get blocksIterable(){return this._blocks}addBlock(E){if(!this._blocks.has(E)){this._blocks.add(E);return true}return false}addOrigin(E,k,S){this.origins.push({module:E,loc:k,request:S})}getFiles(){const E=new Set;for(const k of this.chunks){for(const S of k.files){E.add(S)}}return Array.from(E)}remove(){for(const E of this._parents){E._children.delete(this);for(const k of this._children){k.addParent(E);E.addChild(k)}}for(const E of this._children){E._parents.delete(this)}for(const E of this.chunks){E.removeGroup(this)}}sortItems(){this.origins.sort(sortOrigin)}compareTo(E,k){if(this.chunks.length>k.chunks.length)return-1;if(this.chunks.length{const w=S.order-E.order;if(w!==0)return w;return E.group.compareTo(k,S.group)}));w[E]=N.map((E=>E.group))}return w}setModulePreOrderIndex(E,k){this._modulePreOrderIndices.set(E,k)}getModulePreOrderIndex(E){return this._modulePreOrderIndices.get(E)}setModulePostOrderIndex(E,k){this._modulePostOrderIndices.set(E,k)}getModulePostOrderIndex(E){return this._modulePostOrderIndices.get(E)}checkConstraints(){const E=this;for(const k of E._children){if(!k._parents.has(E)){throw new Error(`checkConstraints: child missing parent ${E.debugId} -> ${k.debugId}`)}}for(const k of E._parents){if(!k._children.has(E)){throw new Error(`checkConstraints: parent missing child ${k.debugId} <- ${E.debugId}`)}}}}ChunkGroup.prototype.getModuleIndex=w.deprecate(ChunkGroup.prototype.getModulePreOrderIndex,"ChunkGroup.getModuleIndex was renamed to getModulePreOrderIndex","DEP_WEBPACK_CHUNK_GROUP_GET_MODULE_INDEX");ChunkGroup.prototype.getModuleIndex2=w.deprecate(ChunkGroup.prototype.getModulePostOrderIndex,"ChunkGroup.getModuleIndex2 was renamed to getModulePostOrderIndex","DEP_WEBPACK_CHUNK_GROUP_GET_MODULE_INDEX_2");E.exports=ChunkGroup},44445:(E,k,S)=>{"use strict";const w=S(81627);class ChunkRenderError extends w{constructor(E,k,S){super();this.name="ChunkRenderError";this.error=S;this.message=S.message;this.details=S.stack;this.file=k;this.chunk=E}}E.exports=ChunkRenderError},13454:(E,k,S)=>{"use strict";const w=S(31669);const N=S(91671);const j=N((()=>S(18161)));class ChunkTemplate{constructor(E,k){this._outputOptions=E||{};this.hooks=Object.freeze({renderManifest:{tap:w.deprecate(((E,S)=>{k.hooks.renderManifest.tap(E,((E,k)=>{if(k.chunk.hasRuntime())return E;return S(E,k)}))}),"ChunkTemplate.hooks.renderManifest is deprecated (use Compilation.hooks.renderManifest instead)","DEP_WEBPACK_CHUNK_TEMPLATE_RENDER_MANIFEST")},modules:{tap:w.deprecate(((E,S)=>{j().getCompilationHooks(k).renderChunk.tap(E,((E,w)=>S(E,k.moduleTemplates.javascript,w)))}),"ChunkTemplate.hooks.modules is deprecated (use JavascriptModulesPlugin.getCompilationHooks().renderChunk instead)","DEP_WEBPACK_CHUNK_TEMPLATE_MODULES")},render:{tap:w.deprecate(((E,S)=>{j().getCompilationHooks(k).renderChunk.tap(E,((E,w)=>S(E,k.moduleTemplates.javascript,w)))}),"ChunkTemplate.hooks.render is deprecated (use JavascriptModulesPlugin.getCompilationHooks().renderChunk instead)","DEP_WEBPACK_CHUNK_TEMPLATE_RENDER")},renderWithEntry:{tap:w.deprecate(((E,S)=>{j().getCompilationHooks(k).render.tap(E,((E,k)=>{if(k.chunkGraph.getNumberOfEntryModules(k.chunk)===0||k.chunk.hasRuntime()){return E}return S(E,k.chunk)}))}),"ChunkTemplate.hooks.renderWithEntry is deprecated (use JavascriptModulesPlugin.getCompilationHooks().render instead)","DEP_WEBPACK_CHUNK_TEMPLATE_RENDER_WITH_ENTRY")},hash:{tap:w.deprecate(((E,S)=>{k.hooks.fullHash.tap(E,S)}),"ChunkTemplate.hooks.hash is deprecated (use Compilation.hooks.fullHash instead)","DEP_WEBPACK_CHUNK_TEMPLATE_HASH")},hashForChunk:{tap:w.deprecate(((E,S)=>{j().getCompilationHooks(k).chunkHash.tap(E,((E,k,w)=>{if(E.hasRuntime())return;S(k,E,w)}))}),"ChunkTemplate.hooks.hashForChunk is deprecated (use JavascriptModulesPlugin.getCompilationHooks().chunkHash instead)","DEP_WEBPACK_CHUNK_TEMPLATE_HASH_FOR_CHUNK")}})}}Object.defineProperty(ChunkTemplate.prototype,"outputOptions",{get:w.deprecate((function(){return this._outputOptions}),"ChunkTemplate.outputOptions is deprecated (use Compilation.outputOptions instead)","DEP_WEBPACK_CHUNK_TEMPLATE_OUTPUT_OPTIONS")});E.exports=ChunkTemplate},61666:(E,k,S)=>{"use strict";const w=S(62355);const{SyncBailHook:N}=S(92960);const j=S(3080);const q=S(35817);const{join:ee}=S(95396);const te=S(2117);const ne=q(undefined,(()=>{const{definitions:E}=S(76518);return{definitions:E,oneOf:[{$ref:"#/definitions/CleanOptions"}]}}),{name:"Clean Plugin",baseDataPath:"options"});const getDiffToFs=(E,k,S,N)=>{const j=new Set;for(const E of S){j.add(E.replace(/(^|\/)[^/]*$/,""))}for(const E of j){j.add(E.replace(/(^|\/)[^/]*$/,""))}const q=new Set;w.forEachLimit(j,10,((w,N)=>{E.readdir(ee(E,k,w),((E,k)=>{if(E){if(E.code==="ENOENT")return N();if(E.code==="ENOTDIR"){q.add(w);return N()}return N(E)}for(const E of k){const k=E;const N=w?`${w}/${k}`:k;if(!j.has(N)&&!S.has(N)){q.add(N)}}N()}))}),(E=>{if(E)return N(E);N(null,q)}))};const getDiffToOldAssets=(E,k)=>{const S=new Set;for(const w of k){if(!E.has(w))S.add(w)}return S};const applyDiff=(E,k,S,w,N,j,q)=>{const log=E=>{if(S){w.info(E)}else{w.log(E)}};const ne=Array.from(N,(E=>({type:"check",filename:E,parent:undefined})));te(ne,10,(({type:N,filename:q,parent:te},ne,ae)=>{const handleError=E=>{if(E.code==="ENOENT"){log(`${q} was removed during cleaning by something else`);handleParent();return ae()}return ae(E)};const handleParent=()=>{if(te&&--te.remaining===0)ne(te.job)};const _e=ee(E,k,q);switch(N){case"check":if(j(q)){log(`${q} will be kept`);return process.nextTick(ae)}E.stat(_e,((k,S)=>{if(k)return handleError(k);if(!S.isDirectory()){ne({type:"unlink",filename:q,parent:te});return ae()}E.readdir(_e,((E,k)=>{if(E)return handleError(E);const S={type:"rmdir",filename:q,parent:te};if(k.length===0){ne(S)}else{const E={remaining:k.length,job:S};for(const S of k){const k=S;if(k.startsWith(".")){log(`${q} will be kept (dot-files will never be removed)`);continue}ne({type:"check",filename:`${q}/${k}`,parent:E})}}return ae()}))}));break;case"rmdir":log(`${q} will be removed`);if(S){handleParent();return process.nextTick(ae)}if(!E.rmdir){w.warn(`${q} can't be removed because output file system doesn't support removing directories (rmdir)`);return process.nextTick(ae)}E.rmdir(_e,(E=>{if(E)return handleError(E);handleParent();ae()}));break;case"unlink":log(`${q} will be removed`);if(S){handleParent();return process.nextTick(ae)}if(!E.unlink){w.warn(`${q} can't be removed because output file system doesn't support removing files (rmdir)`);return process.nextTick(ae)}E.unlink(_e,(E=>{if(E)return handleError(E);handleParent();ae()}));break}}),q)};const ae=new WeakMap;class CleanPlugin{static getCompilationHooks(E){if(!(E instanceof j)){throw new TypeError("The 'compilation' argument must be an instance of Compilation")}let k=ae.get(E);if(k===undefined){k={keep:new N(["ignore"])};ae.set(E,k)}return k}constructor(E={}){ne(E);this.options={dry:false,...E}}apply(E){const{dry:k,keep:S}=this.options;const w=typeof S==="function"?S:typeof S==="string"?E=>E.startsWith(S):typeof S==="object"&&S.test?E=>S.test(E):()=>false;let N;E.hooks.emit.tapAsync({name:"CleanPlugin",stage:100},((S,j)=>{const q=CleanPlugin.getCompilationHooks(S);const ee=S.getLogger("webpack.CleanPlugin");const te=E.outputFileSystem;if(!te.readdir){return j(new Error("CleanPlugin: Output filesystem doesn't support listing directories (readdir)"))}const ne=new Set;for(const E of Object.keys(S.assets)){if(/^[A-Za-z]:\\|^\/|^\\\\/.test(E))continue;let k;let S=E.replace(/\\/g,"/");do{k=S;S=k.replace(/(^|\/)(?!\.\.)[^/]+\/\.\.\//g,"$1")}while(S!==k);if(k.startsWith("../"))continue;ne.add(k)}const ae=S.getPath(E.outputPath,{});const isKept=E=>{const k=q.keep.call(E);if(k!==undefined)return k;return w(E)};const diffCallback=(E,S)=>{if(E){N=undefined;return j(E)}applyDiff(te,ae,k,ee,S,isKept,(E=>{if(E){N=undefined}else{N=ne}j(E)}))};if(N){diffCallback(null,getDiffToOldAssets(ne,N))}else{getDiffToFs(te,ae,ne,diffCallback)}}))}}E.exports=CleanPlugin},93010:(E,k,S)=>{"use strict";const w=S(81627);class CodeGenerationError extends w{constructor(E,k){super();this.name="CodeGenerationError";this.error=k;this.message=k.message;this.details=k.stack;this.module=E}}E.exports=CodeGenerationError},53840:(E,k,S)=>{"use strict";const{provide:w}=S(67585);const{first:N}=S(26221);const j=S(35891);const{runtimeToString:q,RuntimeSpecMap:ee}=S(37416);class CodeGenerationResults{constructor(){this.map=new Map}get(E,k){const S=this.map.get(E);if(S===undefined){throw new Error(`No code generation entry for ${E.identifier()} (existing entries: ${Array.from(this.map.keys(),(E=>E.identifier())).join(", ")})`)}if(k===undefined){if(S.size>1){const k=new Set(S.values());if(k.size!==1){throw new Error(`No unique code generation entry for unspecified runtime for ${E.identifier()} (existing runtimes: ${Array.from(S.keys(),(E=>q(E))).join(", ")}).\nCaller might not support runtime-dependent code generation (opt-out via optimization.usedExports: "global").`)}return N(k)}return S.values().next().value}const w=S.get(k);if(w===undefined){throw new Error(`No code generation entry for runtime ${q(k)} for ${E.identifier()} (existing runtimes: ${Array.from(S.keys(),(E=>q(E))).join(", ")})`)}return w}has(E,k){const S=this.map.get(E);if(S===undefined){return false}if(k!==undefined){return S.has(k)}else if(S.size>1){const E=new Set(S.values());return E.size===1}else{return S.size===1}}getSource(E,k,S){return this.get(E,k).sources.get(S)}getRuntimeRequirements(E,k){return this.get(E,k).runtimeRequirements}getData(E,k,S){const w=this.get(E,k).data;return w===undefined?undefined:w.get(S)}getHash(E,k){const S=this.get(E,k);if(S.hash!==undefined)return S.hash;const w=j("md4");for(const[E,k]of S.sources){w.update(E);k.updateHash(w)}if(S.runtimeRequirements){for(const E of S.runtimeRequirements)w.update(E)}return S.hash=w.digest("hex")}add(E,k,S){const N=w(this.map,E,(()=>new ee));N.set(k,S)}}E.exports=CodeGenerationResults},47207:(E,k,S)=>{"use strict";const w=S(81627);const N=S(56202);class CommentCompilationWarning extends w{constructor(E,k){super(E);this.name="CommentCompilationWarning";this.loc=k}}N(CommentCompilationWarning,"webpack/lib/CommentCompilationWarning");E.exports=CommentCompilationWarning},97489:(E,k,S)=>{"use strict";const w=S(66298);const N=Symbol("nested __webpack_require__");class CompatibilityPlugin{apply(E){E.hooks.compilation.tap("CompatibilityPlugin",((E,{normalModuleFactory:k})=>{E.dependencyTemplates.set(w,new w.Template);k.hooks.parser.for("javascript/auto").tap("CompatibilityPlugin",((E,k)=>{if(k.browserify!==undefined&&!k.browserify)return;E.hooks.call.for("require").tap("CompatibilityPlugin",(k=>{if(k.arguments.length!==2)return;const S=E.evaluateExpression(k.arguments[1]);if(!S.isBoolean())return;if(S.asBool()!==true)return;const N=new w("require",k.callee.range);N.loc=k.loc;if(E.state.current.dependencies.length>0){const k=E.state.current.dependencies[E.state.current.dependencies.length-1];if(k.critical&&k.options&&k.options.request==="."&&k.userRequest==="."&&k.options.recursive)E.state.current.dependencies.pop()}E.state.module.addPresentationalDependency(N);return true}))}));const nestedWebpackRequireHandler=E=>{E.hooks.preStatement.tap("CompatibilityPlugin",(k=>{if(k.type==="FunctionDeclaration"&&k.id&&k.id.name==="__webpack_require__"){const S=`__nested_webpack_require_${k.range[0]}__`;E.tagVariable(k.id.name,N,{name:S,declaration:{updated:false,loc:k.id.loc,range:k.id.range}});return true}}));E.hooks.pattern.for("__webpack_require__").tap("CompatibilityPlugin",(k=>{const S=`__nested_webpack_require_${k.range[0]}__`;E.tagVariable(k.name,N,{name:S,declaration:{updated:false,loc:k.loc,range:k.range}});return true}));E.hooks.expression.for(N).tap("CompatibilityPlugin",(k=>{const{name:S,declaration:N}=E.currentTagData;if(!N.updated){const k=new w(S,N.range);k.loc=N.loc;E.state.module.addPresentationalDependency(k);N.updated=true}const j=new w(S,k.range);j.loc=k.loc;E.state.module.addPresentationalDependency(j);return true}))};k.hooks.parser.for("javascript/auto").tap("CompatibilityPlugin",nestedWebpackRequireHandler);k.hooks.parser.for("javascript/dynamic").tap("CompatibilityPlugin",nestedWebpackRequireHandler);k.hooks.parser.for("javascript/esm").tap("CompatibilityPlugin",nestedWebpackRequireHandler)}))}}E.exports=CompatibilityPlugin},3080:(E,k,S)=>{"use strict";const w=S(62355);const{HookMap:N,SyncHook:j,SyncBailHook:q,SyncWaterfallHook:ee,AsyncSeriesHook:te,AsyncSeriesBailHook:ne,AsyncParallelHook:ae}=S(92960);const _e=S(31669);const{CachedSource:ve}=S(48135);const{MultiItemCache:Ee}=S(6503);const we=S(62433);const Ce=S(45137);const Me=S(84558);const Te=S(44445);const Ie=S(13454);const Oe=S(93010);const Re=S(53840);const Fe=S(46828);const Ne=S(71452);const Be=S(50717);const Le=S(22996);const{connectChunkGroupAndChunk:je,connectChunkGroupParentAndChild:$e}=S(4642);const{makeWebpackError:ze,tryRunOrWebpackError:Ue}=S(3728);const Ge=S(73694);const qe=S(53453);const Ve=S(82811);const He=S(23280);const We=S(75412);const Ke=S(54032);const Xe=S(99869);const Qe=S(2210);const Je=S(31467);const Ye=S(68661);const Ze=S(76150);const et=S(37130);const tt=S(10140);const nt=S(81627);const rt=S(25457);const it=S(44547);const{Logger:st,LogType:ot}=S(78539);const ut=S(87279);const lt=S(30533);const{equals:ct}=S(73910);const pt=S(9738);const ft=S(83379);const{provide:dt}=S(67585);const{cachedCleverMerge:ht}=S(90149);const{compareLocations:mt,concatComparators:gt,compareSelect:yt,compareIds:_t,compareStringsNumeric:vt,compareModulesByIdentifier:bt}=S(68673);const Et=S(35891);const{arrayToSetDeprecation:kt,soonFrozenObjectDeprecation:xt,createFakeHook:St}=S(16595);const wt=S(2117);const{getRuntimeKey:At}=S(37416);const{isSourceEqual:Ct}=S(13559);const Dt=Object.freeze({});const Mt="esm";const Tt=_e.deprecate((E=>S(53520).getCompilationHooks(E).loader),"Compilation.hooks.normalModuleLoader was moved to NormalModule.getCompilationHooks(compilation).loader","DEP_WEBPACK_COMPILATION_NORMAL_MODULE_LOADER_HOOK");const defineRemovedModuleTemplates=E=>{Object.defineProperties(E,{asset:{enumerable:false,configurable:false,get:()=>{throw new nt("Compilation.moduleTemplates.asset has been removed")}},webassembly:{enumerable:false,configurable:false,get:()=>{throw new nt("Compilation.moduleTemplates.webassembly has been removed")}}});E=undefined};const It=yt((E=>E.id),_t);const Pt=gt(yt((E=>E.name),_t),yt((E=>E.fullHash),_t));const Ot=yt((E=>`${E.message}`),vt);const Rt=yt((E=>E.module&&E.module.identifier()||""),vt);const Ft=yt((E=>E.loc),mt);const Nt=gt(Rt,Ft,Ot);class Compilation{constructor(E){const getNormalModuleLoader=()=>Tt(this);const k=new te(["assets"]);let S=new Set;const popNewAssets=E=>{let k=undefined;for(const w of Object.keys(E)){if(S.has(w))continue;if(k===undefined){k=Object.create(null)}k[w]=E[w];S.add(w)}return k};k.intercept({name:"Compilation",call:()=>{S=new Set(Object.keys(this.assets))},register:E=>{const{type:k,name:S}=E;const{fn:w,additionalAssets:N,...j}=E;const q=N===true?w:N;const ee=q?new WeakSet:undefined;switch(k){case"sync":if(q){this.hooks.processAdditionalAssets.tap(S,(E=>{if(ee.has(this.assets))q(E)}))}return{...j,type:"async",fn:(E,k)=>{try{w(E)}catch(E){return k(E)}if(ee!==undefined)ee.add(this.assets);const S=popNewAssets(E);if(S!==undefined){this.hooks.processAdditionalAssets.callAsync(S,k);return}k()}};case"async":if(q){this.hooks.processAdditionalAssets.tapAsync(S,((E,k)=>{if(ee.has(this.assets))return q(E,k);k()}))}return{...j,fn:(E,k)=>{w(E,(S=>{if(S)return k(S);if(ee!==undefined)ee.add(this.assets);const w=popNewAssets(E);if(w!==undefined){this.hooks.processAdditionalAssets.callAsync(w,k);return}k()}))}};case"promise":if(q){this.hooks.processAdditionalAssets.tapPromise(S,(E=>{if(ee.has(this.assets))return q(E);return Promise.resolve()}))}return{...j,fn:E=>{const k=w(E);if(!k||!k.then)return k;return k.then((()=>{if(ee!==undefined)ee.add(this.assets);const k=popNewAssets(E);if(k!==undefined){return this.hooks.processAdditionalAssets.promise(k)}}))}}}}});const w=new j(["assets"]);const createProcessAssetsHook=(E,S,w,N)=>{const errorMessage=k=>`Can't automatically convert plugin using Compilation.hooks.${E} to Compilation.hooks.processAssets because ${k}.\nBREAKING CHANGE: Asset processing hooks in Compilation has been merged into a single Compilation.hooks.processAssets hook.`;const getOptions=E=>{if(typeof E==="string")E={name:E};if(E.stage){throw new Error(errorMessage("it's using the 'stage' option"))}return{...E,stage:S}};return St({name:E,intercept(E){throw new Error(errorMessage("it's using 'intercept'"))},tap:(E,S)=>{k.tap(getOptions(E),(()=>S(...w())))},tapAsync:(E,S)=>{k.tapAsync(getOptions(E),((E,k)=>S(...w(),k)))},tapPromise:(E,S)=>{k.tapPromise(getOptions(E),(()=>S(...w())))}},`${E} is deprecated (use Compilation.hooks.processAssets instead and use one of Compilation.PROCESS_ASSETS_STAGE_* as stage option)`,N)};this.hooks=Object.freeze({buildModule:new j(["module"]),rebuildModule:new j(["module"]),failedModule:new j(["module","error"]),succeedModule:new j(["module"]),stillValidModule:new j(["module"]),addEntry:new j(["entry","options"]),failedEntry:new j(["entry","options","error"]),succeedEntry:new j(["entry","options","module"]),dependencyReferencedExports:new ee(["referencedExports","dependency","runtime"]),executeModule:new j(["options","context"]),prepareModuleExecution:new ae(["options","context"]),finishModules:new te(["modules"]),finishRebuildingModule:new te(["module"]),unseal:new j([]),seal:new j([]),beforeChunks:new j([]),afterChunks:new j(["chunks"]),optimizeDependencies:new q(["modules"]),afterOptimizeDependencies:new j(["modules"]),optimize:new j([]),optimizeModules:new q(["modules"]),afterOptimizeModules:new j(["modules"]),optimizeChunks:new q(["chunks","chunkGroups"]),afterOptimizeChunks:new j(["chunks","chunkGroups"]),optimizeTree:new te(["chunks","modules"]),afterOptimizeTree:new j(["chunks","modules"]),optimizeChunkModules:new ne(["chunks","modules"]),afterOptimizeChunkModules:new j(["chunks","modules"]),shouldRecord:new q([]),additionalChunkRuntimeRequirements:new j(["chunk","runtimeRequirements","context"]),runtimeRequirementInChunk:new N((()=>new q(["chunk","runtimeRequirements","context"]))),additionalModuleRuntimeRequirements:new j(["module","runtimeRequirements","context"]),runtimeRequirementInModule:new N((()=>new q(["module","runtimeRequirements","context"]))),additionalTreeRuntimeRequirements:new j(["chunk","runtimeRequirements","context"]),runtimeRequirementInTree:new N((()=>new q(["chunk","runtimeRequirements","context"]))),runtimeModule:new j(["module","chunk"]),reviveModules:new j(["modules","records"]),beforeModuleIds:new j(["modules"]),moduleIds:new j(["modules"]),optimizeModuleIds:new j(["modules"]),afterOptimizeModuleIds:new j(["modules"]),reviveChunks:new j(["chunks","records"]),beforeChunkIds:new j(["chunks"]),chunkIds:new j(["chunks"]),optimizeChunkIds:new j(["chunks"]),afterOptimizeChunkIds:new j(["chunks"]),recordModules:new j(["modules","records"]),recordChunks:new j(["chunks","records"]),optimizeCodeGeneration:new j(["modules"]),beforeModuleHash:new j([]),afterModuleHash:new j([]),beforeCodeGeneration:new j([]),afterCodeGeneration:new j([]),beforeRuntimeRequirements:new j([]),afterRuntimeRequirements:new j([]),beforeHash:new j([]),contentHash:new j(["chunk"]),afterHash:new j([]),recordHash:new j(["records"]),record:new j(["compilation","records"]),beforeModuleAssets:new j([]),shouldGenerateChunkAssets:new q([]),beforeChunkAssets:new j([]),additionalChunkAssets:createProcessAssetsHook("additionalChunkAssets",Compilation.PROCESS_ASSETS_STAGE_ADDITIONAL,(()=>[this.chunks]),"DEP_WEBPACK_COMPILATION_ADDITIONAL_CHUNK_ASSETS"),additionalAssets:createProcessAssetsHook("additionalAssets",Compilation.PROCESS_ASSETS_STAGE_ADDITIONAL,(()=>[])),optimizeChunkAssets:createProcessAssetsHook("optimizeChunkAssets",Compilation.PROCESS_ASSETS_STAGE_OPTIMIZE,(()=>[this.chunks]),"DEP_WEBPACK_COMPILATION_OPTIMIZE_CHUNK_ASSETS"),afterOptimizeChunkAssets:createProcessAssetsHook("afterOptimizeChunkAssets",Compilation.PROCESS_ASSETS_STAGE_OPTIMIZE+1,(()=>[this.chunks]),"DEP_WEBPACK_COMPILATION_AFTER_OPTIMIZE_CHUNK_ASSETS"),optimizeAssets:k,afterOptimizeAssets:w,processAssets:k,afterProcessAssets:w,processAdditionalAssets:new te(["assets"]),needAdditionalSeal:new q([]),afterSeal:new te([]),renderManifest:new ee(["result","options"]),fullHash:new j(["hash"]),chunkHash:new j(["chunk","chunkHash","ChunkHashContext"]),moduleAsset:new j(["module","filename"]),chunkAsset:new j(["chunk","filename"]),assetPath:new ee(["path","options","assetInfo"]),needAdditionalPass:new q([]),childCompiler:new j(["childCompiler","compilerName","compilerIndex"]),log:new q(["origin","logEntry"]),processWarnings:new ee(["warnings"]),processErrors:new ee(["errors"]),statsPreset:new N((()=>new j(["options","context"]))),statsNormalize:new j(["options","context"]),statsFactory:new j(["statsFactory","options"]),statsPrinter:new j(["statsPrinter","options"]),get normalModuleLoader(){return getNormalModuleLoader()}});this.name=undefined;this.startTime=undefined;this.endTime=undefined;this.compiler=E;this.resolverFactory=E.resolverFactory;this.inputFileSystem=E.inputFileSystem;this.fileSystemInfo=new Le(this.inputFileSystem,{managedPaths:E.managedPaths,immutablePaths:E.immutablePaths,logger:this.getLogger("webpack.FileSystemInfo")});if(E.fileTimestamps){this.fileSystemInfo.addFileTimestamps(E.fileTimestamps)}if(E.contextTimestamps){this.fileSystemInfo.addContextTimestamps(E.contextTimestamps)}this.valueCacheVersions=new Map;this.requestShortener=E.requestShortener;this.compilerPath=E.compilerPath;this.logger=this.getLogger("webpack.Compilation");const ve=E.options;this.options=ve;this.outputOptions=ve&&ve.output;this.bail=ve&&ve.bail||false;this.profile=ve&&ve.profile||false;this.mainTemplate=new Ge(this.outputOptions,this);this.chunkTemplate=new Ie(this.outputOptions,this);this.runtimeTemplate=new et(this,this.outputOptions,this.requestShortener);this.moduleTemplates={javascript:new Ye(this.runtimeTemplate,this)};defineRemovedModuleTemplates(this.moduleTemplates);this.moduleGraph=new We;this.chunkGraph=undefined;this.codeGenerationResults=undefined;this.processDependenciesQueue=new pt({name:"processDependencies",parallelism:ve.parallelism||100,processor:this._processModuleDependencies.bind(this)});this.addModuleQueue=new pt({name:"addModule",parent:this.processDependenciesQueue,getKey:E=>E.identifier(),processor:this._addModule.bind(this)});this.factorizeQueue=new pt({name:"factorize",parent:this.addModuleQueue,processor:this._factorizeModule.bind(this)});this.buildQueue=new pt({name:"build",parent:this.factorizeQueue,processor:this._buildModule.bind(this)});this.rebuildQueue=new pt({name:"rebuild",parallelism:ve.parallelism||100,processor:this._rebuildModule.bind(this)});this.creatingModuleDuringBuild=new WeakMap;this.entries=new Map;this.globalEntry={dependencies:[],includeDependencies:[],options:{name:undefined}};this.entrypoints=new Map;this.asyncEntrypoints=[];this.chunks=new Set;kt(this.chunks,"Compilation.chunks");this.chunkGroups=[];this.namedChunkGroups=new Map;this.namedChunks=new Map;this.modules=new Set;kt(this.modules,"Compilation.modules");this._modules=new Map;this.records=null;this.additionalChunkAssets=[];this.assets={};this.assetsInfo=new Map;this._assetsRelatedIn=new Map;this.errors=[];this.warnings=[];this.children=[];this.logging=new Map;this.dependencyFactories=new Map;this.dependencyTemplates=new Fe;this.childrenCounters={};this.usedChunkIds=null;this.usedModuleIds=null;this.needAdditionalPass=false;this.builtModules=new WeakSet;this.codeGeneratedModules=new WeakSet;this.buildTimeExecutedModules=new WeakSet;this._rebuildingModules=new Map;this.emittedAssets=new Set;this.comparedForEmitAssets=new Set;this.fileDependencies=new ft;this.contextDependencies=new ft;this.missingDependencies=new ft;this.buildDependencies=new ft;this.compilationDependencies={add:_e.deprecate((E=>this.fileDependencies.add(E)),"Compilation.compilationDependencies is deprecated (used Compilation.fileDependencies instead)","DEP_WEBPACK_COMPILATION_COMPILATION_DEPENDENCIES")};this._modulesCache=this.getCache("Compilation/modules");this._assetsCache=this.getCache("Compilation/assets");this._codeGenerationCache=this.getCache("Compilation/codeGeneration")}getStats(){return new tt(this)}createStatsOptions(E,k={}){if(typeof E==="boolean"||typeof E==="string"){E={preset:E}}if(typeof E==="object"&&E!==null){const S={};for(const k in E){S[k]=E[k]}if(S.preset!==undefined){this.hooks.statsPreset.for(S.preset).call(S,k)}this.hooks.statsNormalize.call(S,k);return S}else{const E={};this.hooks.statsNormalize.call(E,k);return E}}createStatsFactory(E){const k=new ut;this.hooks.statsFactory.call(k,E);return k}createStatsPrinter(E){const k=new lt;this.hooks.statsPrinter.call(k,E);return k}getCache(E){return this.compiler.getCache(E)}getLogger(E){if(!E){throw new TypeError("Compilation.getLogger(name) called without a name")}let k;return new st(((S,w)=>{if(typeof E==="function"){E=E();if(!E){throw new TypeError("Compilation.getLogger(name) called with a function not returning a name")}}let N;switch(S){case ot.warn:case ot.error:case ot.trace:N=Be.cutOffLoaderExecution(new Error("Trace").stack).split("\n").slice(3);break}const j={time:Date.now(),type:S,args:w,trace:N};if(this.hooks.log.call(E,j)===undefined){if(j.type===ot.profileEnd){if(typeof console.profileEnd==="function"){console.profileEnd(`[${E}] ${j.args[0]}`)}}if(k===undefined){k=this.logging.get(E);if(k===undefined){k=[];this.logging.set(E,k)}}k.push(j);if(j.type===ot.profile){if(typeof console.profile==="function"){console.profile(`[${E}] ${j.args[0]}`)}}}}),(k=>{if(typeof E==="function"){if(typeof k==="function"){return this.getLogger((()=>{if(typeof E==="function"){E=E();if(!E){throw new TypeError("Compilation.getLogger(name) called with a function not returning a name")}}if(typeof k==="function"){k=k();if(!k){throw new TypeError("Logger.getChildLogger(name) called with a function not returning a name")}}return`${E}/${k}`}))}else{return this.getLogger((()=>{if(typeof E==="function"){E=E();if(!E){throw new TypeError("Compilation.getLogger(name) called with a function not returning a name")}}return`${E}/${k}`}))}}else{if(typeof k==="function"){return this.getLogger((()=>{if(typeof k==="function"){k=k();if(!k){throw new TypeError("Logger.getChildLogger(name) called with a function not returning a name")}}return`${E}/${k}`}))}else{return this.getLogger(`${E}/${k}`)}}}))}addModule(E,k){this.addModuleQueue.add(E,k)}_addModule(E,k){const S=E.identifier();const w=this._modules.get(S);if(w){return k(null,w)}const N=this.profile?this.moduleGraph.getProfile(E):undefined;if(N!==undefined){N.markRestoringStart()}this._modulesCache.get(S,null,((w,j)=>{if(w)return k(new Qe(E,w));if(N!==undefined){N.markRestoringEnd();N.markIntegrationStart()}if(j){j.updateCacheModule(E);E=j}this._modules.set(S,E);this.modules.add(E);We.setModuleGraphForModule(E,this.moduleGraph);if(N!==undefined){N.markIntegrationEnd()}k(null,E)}))}getModule(E){const k=E.identifier();return this._modules.get(k)}findModule(E){return this._modules.get(E)}buildModule(E,k){this.buildQueue.add(E,k)}_buildModule(E,k){const S=this.profile?this.moduleGraph.getProfile(E):undefined;if(S!==undefined){S.markBuildingStart()}E.needBuild({fileSystemInfo:this.fileSystemInfo,valueCacheVersions:this.valueCacheVersions},((w,N)=>{if(w)return k(w);if(!N){if(S!==undefined){S.markBuildingEnd()}this.hooks.stillValidModule.call(E);return k()}this.hooks.buildModule.call(E);this.builtModules.add(E);E.build(this.options,this,this.resolverFactory.get("normal",E.resolveOptions),this.inputFileSystem,(w=>{if(S!==undefined){S.markBuildingEnd()}if(w){this.hooks.failedModule.call(E,w);return k(w)}if(S!==undefined){S.markStoringStart()}this._modulesCache.store(E.identifier(),null,E,(w=>{if(S!==undefined){S.markStoringEnd()}if(w){this.hooks.failedModule.call(E,w);return k(new Je(E,w))}this.hooks.succeedModule.call(E);return k()}))}))}))}processModuleDependencies(E,k){this.processDependenciesQueue.add(E,k)}processModuleDependenciesNonRecursive(E){const processDependenciesBlock=k=>{if(k.dependencies){for(const S of k.dependencies){this.moduleGraph.setParents(S,k,E)}}if(k.blocks){for(const E of k.blocks)processDependenciesBlock(E)}};processDependenciesBlock(E)}_processModuleDependencies(E,k){const S=[];let N;let j;let q;let ee;let te;let ne;let ae;let _e;const processDependency=k=>{this.moduleGraph.setParents(k,N,E);const w=k.getResourceIdentifier();if(w!==undefined&&w!==null){const N=k.category;const ve=k.constructor;if(q===ve){if(ne===N&&ae===w){_e.push(k);return}}else{const E=this.dependencyFactories.get(ve);if(E===undefined){throw new Error(`No module factory available for dependency type: ${ve.name}`)}if(ee===E){q=ve;if(ne===N&&ae===w){_e.push(k);return}}else{if(ee!==undefined){if(j===undefined)j=new Map;j.set(ee,te);te=j.get(E);if(te===undefined){te=new Map}}else{te=new Map}q=ve;ee=E}}const Ee=N===Mt?w:`${N}${w}`;let we=te.get(Ee);if(we===undefined){te.set(Ee,we=[]);S.push({factory:ee,dependencies:we,originModule:E})}we.push(k);ne=N;ae=w;_e=we}};try{const k=[E];do{const E=k.pop();if(E.dependencies){N=E;for(const k of E.dependencies)processDependency(k)}if(E.blocks){for(const S of E.blocks)k.push(S)}}while(k.length!==0)}catch(E){return k(E)}if(S.length===0){k();return}this.processDependenciesQueue.increaseParallelism();w.forEach(S,((E,k)=>{this.handleModuleCreation(E,(E=>{if(E&&this.bail){E.stack=E.stack;return k(E)}k()}))}),(E=>{this.processDependenciesQueue.decreaseParallelism();return k(E)}))}handleModuleCreation({factory:E,dependencies:k,originModule:S,contextInfo:w,context:N,recursive:j=true,connectOrigin:q=j},ee){const te=this.moduleGraph;const ne=this.profile?new Xe:undefined;this.factorizeModule({currentProfile:ne,factory:E,dependencies:k,originModule:S,contextInfo:w,context:N},((E,w)=>{if(E){if(k.every((E=>E.optional))){this.warnings.push(E)}else{this.errors.push(E)}return ee(E)}if(!w){return ee()}if(ne!==undefined){te.setProfile(w,ne)}this.addModule(w,((E,N)=>{if(E){if(!E.module){E.module=N}this.errors.push(E);return ee(E)}for(let E=0;E{if(ae!==undefined){ae.delete(N)}if(E){if(!E.module){E.module=N}this.errors.push(E);return ee(E)}if(!j){this.processModuleDependenciesNonRecursive(N);ee(null,N);return}if(this.processDependenciesQueue.isProcessing(N)){return ee()}this.processModuleDependencies(N,(E=>{if(E){return ee(E)}ee(null,N)}))}))}))}))}factorizeModule(E,k){this.factorizeQueue.add(E,k)}_factorizeModule({currentProfile:E,factory:k,dependencies:S,originModule:w,contextInfo:N,context:j},q){if(E!==undefined){E.markFactoryStart()}k.create({contextInfo:{issuer:w?w.nameForCondition():"",issuerLayer:w?w.layer:null,compiler:this.compiler.name,...N},resolveOptions:w?w.resolveOptions:undefined,context:j?j:w?w.context:this.compiler.context,dependencies:S},((k,N)=>{if(N){if(N.module===undefined&&N instanceof qe){N={module:N}}const{fileDependencies:E,contextDependencies:k,missingDependencies:S}=N;if(E){this.fileDependencies.addAll(E)}if(k){this.contextDependencies.addAll(k)}if(S){this.missingDependencies.addAll(S)}}if(k){const E=new Ke(w,k,S.map((E=>E.loc)).filter(Boolean)[0]);return q(E)}if(!N){return q()}const j=N.module;if(!j){return q()}if(E!==undefined){E.markFactoryEnd()}q(null,j)}))}addModuleChain(E,k,S){return this.addModuleTree({context:E,dependency:k},S)}addModuleTree({context:E,dependency:k,contextInfo:S},w){if(typeof k!=="object"||k===null||!k.constructor){return w(new nt("Parameter 'dependency' must be a Dependency"))}const N=k.constructor;const j=this.dependencyFactories.get(N);if(!j){return w(new nt(`No dependency factory available for this dependency type: ${k.constructor.name}`))}this.handleModuleCreation({factory:j,dependencies:[k],originModule:null,contextInfo:S,context:E},(E=>{if(E&&this.bail){w(E);this.buildQueue.stop();this.rebuildQueue.stop();this.processDependenciesQueue.stop();this.factorizeQueue.stop()}else{w()}}))}addEntry(E,k,S,w){const N=typeof S==="object"?S:{name:S};this._addEntryItem(E,k,"dependencies",N,w)}addInclude(E,k,S,w){this._addEntryItem(E,k,"includeDependencies",S,w)}_addEntryItem(E,k,S,w,N){const{name:j}=w;let q=j!==undefined?this.entries.get(j):this.globalEntry;if(q===undefined){q={dependencies:[],includeDependencies:[],options:{name:undefined,...w}};q[S].push(k);this.entries.set(j,q)}else{q[S].push(k);for(const E of Object.keys(w)){if(w[E]===undefined)continue;if(q.options[E]===w[E])continue;if(Array.isArray(q.options[E])&&Array.isArray(w[E])&&ct(q.options[E],w[E])){continue}if(q.options[E]===undefined){q.options[E]=w[E]}else{return N(new nt(`Conflicting entry option ${E} = ${q.options[E]} vs ${w[E]}`))}}}this.hooks.addEntry.call(k,w);this.addModuleTree({context:E,dependency:k,contextInfo:q.options.layer?{issuerLayer:q.options.layer}:undefined},((E,S)=>{if(E){this.hooks.failedEntry.call(k,w,E);return N(E)}this.hooks.succeedEntry.call(k,w,S);return N(null,S)}))}rebuildModule(E,k){this.rebuildQueue.add(E,k)}_rebuildModule(E,k){this.hooks.rebuildModule.call(E);const S=E.dependencies.slice();const w=E.blocks.slice();E.invalidateBuild();this.buildQueue.invalidate(E);this.buildModule(E,(N=>{if(N){return this.hooks.finishRebuildingModule.callAsync(E,(E=>{if(E){k(ze(E,"Compilation.hooks.finishRebuildingModule"));return}k(N)}))}this.processDependenciesQueue.invalidate(E);this.moduleGraph.unfreeze();this.processModuleDependencies(E,(N=>{if(N)return k(N);this.removeReasonsOfDependencyBlock(E,{dependencies:S,blocks:w});this.hooks.finishRebuildingModule.callAsync(E,(S=>{if(S){k(ze(S,"Compilation.hooks.finishRebuildingModule"));return}k(null,E)}))}))}))}finish(E){this.factorizeQueue.clear();if(this.profile){this.logger.time("finish module profiles");const E=S(382);const k=new E;const w=this.moduleGraph;const N=new Map;for(const E of this.modules){const S=w.getProfile(E);if(!S)continue;N.set(E,S);k.range(S.buildingStartTime,S.buildingEndTime,(E=>S.buildingParallelismFactor=E));k.range(S.factoryStartTime,S.factoryEndTime,(E=>S.factoryParallelismFactor=E));k.range(S.integrationStartTime,S.integrationEndTime,(E=>S.integrationParallelismFactor=E));k.range(S.storingStartTime,S.storingEndTime,(E=>S.storingParallelismFactor=E));k.range(S.restoringStartTime,S.restoringEndTime,(E=>S.restoringParallelismFactor=E));if(S.additionalFactoryTimes){for(const{start:E,end:w}of S.additionalFactoryTimes){const N=(w-E)/S.additionalFactories;k.range(E,w,(E=>S.additionalFactoriesParallelismFactor+=E*N))}}}k.calculate();const j=this.getLogger("webpack.Compilation.ModuleProfile");const logByValue=(E,k)=>{if(E>1e3){j.error(k)}else if(E>500){j.warn(k)}else if(E>200){j.info(k)}else if(E>30){j.log(k)}else{j.debug(k)}};const logNormalSummary=(E,k,S)=>{let w=0;let j=0;for(const[q,ee]of N){const N=S(ee);const te=k(ee);if(te===0||N===0)continue;const ne=te/N;w+=ne;if(ne<=10)continue;logByValue(ne,` | ${Math.round(ne)} ms${N>=1.1?` (parallelism ${Math.round(N*10)/10})`:""} ${E} > ${q.readableIdentifier(this.requestShortener)}`);j=Math.max(j,ne)}if(w<=10)return;logByValue(Math.max(w/10,j),`${Math.round(w)} ms ${E}`)};const logByLoadersSummary=(E,k,S)=>{const w=new Map;for(const[E,k]of N){const S=dt(w,E.type+"!"+E.identifier().replace(/(!|^)[^!]*$/,""),(()=>[]));S.push({module:E,profile:k})}let j=0;let q=0;for(const[N,ee]of w){let w=0;let te=0;for(const{module:N,profile:j}of ee){const q=S(j);const ee=k(j);if(ee===0||q===0)continue;const ne=ee/q;w+=ne;if(ne<=10)continue;logByValue(ne,` | | ${Math.round(ne)} ms${q>=1.1?` (parallelism ${Math.round(q*10)/10})`:""} ${E} > ${N.readableIdentifier(this.requestShortener)}`);te=Math.max(te,ne)}j+=w;if(w<=10)continue;const ne=N.indexOf("!");const ae=N.slice(ne+1);const _e=N.slice(0,ne);const ve=Math.max(w/10,te);logByValue(ve,` | ${Math.round(w)} ms ${E} > ${ae?`${ee.length} x ${_e} with ${this.requestShortener.shorten(ae)}`:`${ee.length} x ${_e}`}`);q=Math.max(q,ve)}if(j<=10)return;logByValue(Math.max(j/10,q),`${Math.round(j)} ms ${E}`)};logNormalSummary("resolve to new modules",(E=>E.factory),(E=>E.factoryParallelismFactor));logNormalSummary("resolve to existing modules",(E=>E.additionalFactories),(E=>E.additionalFactoriesParallelismFactor));logNormalSummary("integrate modules",(E=>E.restoring),(E=>E.restoringParallelismFactor));logByLoadersSummary("build modules",(E=>E.building),(E=>E.buildingParallelismFactor));logNormalSummary("store modules",(E=>E.storing),(E=>E.storingParallelismFactor));logNormalSummary("restore modules",(E=>E.restoring),(E=>E.restoringParallelismFactor));this.logger.timeEnd("finish module profiles")}this.logger.time("finish modules");const{modules:k}=this;this.hooks.finishModules.callAsync(k,(S=>{this.logger.timeEnd("finish modules");if(S)return E(S);this.logger.time("report dependency errors and warnings");this.moduleGraph.freeze();for(const E of k){this.reportDependencyErrorsAndWarnings(E,[E]);const k=E.getErrors();if(k!==undefined){for(const S of k){if(!S.module){S.module=E}this.errors.push(S)}}const S=E.getWarnings();if(S!==undefined){for(const k of S){if(!k.module){k.module=E}this.warnings.push(k)}}}this.moduleGraph.unfreeze();this.logger.timeEnd("report dependency errors and warnings");E()}))}unseal(){this.hooks.unseal.call();this.chunks.clear();this.chunkGroups.length=0;this.namedChunks.clear();this.namedChunkGroups.clear();this.entrypoints.clear();this.additionalChunkAssets.length=0;this.assets={};this.assetsInfo.clear();this.moduleGraph.removeAllModuleAttributes();this.moduleGraph.unfreeze()}seal(E){const finalCallback=k=>{this.factorizeQueue.clear();this.buildQueue.clear();this.rebuildQueue.clear();this.processDependenciesQueue.clear();this.addModuleQueue.clear();return E(k)};const k=new Ce(this.moduleGraph);this.chunkGraph=k;for(const E of this.modules){Ce.setChunkGraphForModule(E,k)}this.hooks.seal.call();this.logger.time("optimize dependencies");while(this.hooks.optimizeDependencies.call(this.modules)){}this.hooks.afterOptimizeDependencies.call(this.modules);this.logger.timeEnd("optimize dependencies");this.logger.time("create chunks");this.hooks.beforeChunks.call();this.moduleGraph.freeze();const S=new Map;for(const[E,{dependencies:w,includeDependencies:N,options:j}]of this.entries){const q=this.addChunk(E);if(j.filename){q.filenameTemplate=j.filename}const ee=new Ne(j);if(!j.dependOn&&!j.runtime){ee.setRuntimeChunk(q)}ee.setEntrypointChunk(q);this.namedChunkGroups.set(E,ee);this.entrypoints.set(E,ee);this.chunkGroups.push(ee);je(ee,q);for(const N of[...this.globalEntry.dependencies,...w]){ee.addOrigin(null,{name:E},N.request);const w=this.moduleGraph.getModule(N);if(w){k.connectChunkAndEntryModule(q,w,ee);this.assignDepth(w);const E=S.get(ee);if(E===undefined){S.set(ee,[w])}else{E.push(w)}}}const mapAndSort=E=>E.map((E=>this.moduleGraph.getModule(E))).filter(Boolean).sort(bt);const te=[...mapAndSort(this.globalEntry.includeDependencies),...mapAndSort(N)];let ne=S.get(ee);if(ne===undefined){S.set(ee,ne=[])}for(const E of te){this.assignDepth(E);ne.push(E)}}const w=new Set;e:for(const[E,{options:{dependOn:k,runtime:S}}]of this.entries){if(k&&S){const k=new nt(`Entrypoint '${E}' has 'dependOn' and 'runtime' specified. This is not valid.\nEntrypoints that depend on other entrypoints do not have their own runtime.\nThey will use the runtime(s) from referenced entrypoints instead.\nRemove the 'runtime' option from the entrypoint.`);const S=this.entrypoints.get(E);k.chunk=S.getEntrypointChunk();this.errors.push(k)}if(k){const S=this.entrypoints.get(E);const w=S.getEntrypointChunk().getAllReferencedChunks();const N=[];for(const j of k){const k=this.entrypoints.get(j);if(!k){throw new Error(`Entry ${E} depends on ${j}, but this entry was not found`)}if(w.has(k.getEntrypointChunk())){const k=new nt(`Entrypoints '${E}' and '${j}' use 'dependOn' to depend on each other in a circular way.`);const w=S.getEntrypointChunk();k.chunk=w;this.errors.push(k);S.setRuntimeChunk(w);continue e}N.push(k)}for(const E of N){$e(E,S)}}else if(S){const k=this.entrypoints.get(E);let N=this.namedChunks.get(S);if(N){if(!w.has(N)){const w=new nt(`Entrypoint '${E}' has a 'runtime' option which points to another entrypoint named '${S}'.\nIt's not valid to use other entrypoints as runtime chunk.\nDid you mean to use 'dependOn: ${JSON.stringify(S)}' instead to allow using entrypoint '${E}' within the runtime of entrypoint '${S}'? For this '${S}' must always be loaded when '${E}' is used.\nOr do you want to use the entrypoints '${E}' and '${S}' independently on the same page with a shared runtime? In this case give them both the same value for the 'runtime' option. It must be a name not already used by an entrypoint.`);const N=k.getEntrypointChunk();w.chunk=N;this.errors.push(w);k.setRuntimeChunk(N);continue}}else{N=this.addChunk(S);N.preventIntegration=true;w.add(N)}k.unshiftChunk(N);N.addGroup(k);k.setRuntimeChunk(N)}}rt(this,S);this.hooks.afterChunks.call(this.chunks);this.logger.timeEnd("create chunks");this.logger.time("optimize");this.hooks.optimize.call();while(this.hooks.optimizeModules.call(this.modules)){}this.hooks.afterOptimizeModules.call(this.modules);while(this.hooks.optimizeChunks.call(this.chunks,this.chunkGroups)){}this.hooks.afterOptimizeChunks.call(this.chunks,this.chunkGroups);this.hooks.optimizeTree.callAsync(this.chunks,this.modules,(k=>{if(k){return finalCallback(ze(k,"Compilation.hooks.optimizeTree"))}this.hooks.afterOptimizeTree.call(this.chunks,this.modules);this.hooks.optimizeChunkModules.callAsync(this.chunks,this.modules,(k=>{if(k){return finalCallback(ze(k,"Compilation.hooks.optimizeChunkModules"))}this.hooks.afterOptimizeChunkModules.call(this.chunks,this.modules);const S=this.hooks.shouldRecord.call()!==false;this.hooks.reviveModules.call(this.modules,this.records);this.hooks.beforeModuleIds.call(this.modules);this.hooks.moduleIds.call(this.modules);this.hooks.optimizeModuleIds.call(this.modules);this.hooks.afterOptimizeModuleIds.call(this.modules);this.hooks.reviveChunks.call(this.chunks,this.records);this.hooks.beforeChunkIds.call(this.chunks);this.hooks.chunkIds.call(this.chunks);this.hooks.optimizeChunkIds.call(this.chunks);this.hooks.afterOptimizeChunkIds.call(this.chunks);this.assignRuntimeIds();this.sortItemsWithChunkIds();if(S){this.hooks.recordModules.call(this.modules,this.records);this.hooks.recordChunks.call(this.chunks,this.records)}this.hooks.optimizeCodeGeneration.call(this.modules);this.logger.timeEnd("optimize");this.logger.time("module hashing");this.hooks.beforeModuleHash.call();this.createModuleHashes();this.hooks.afterModuleHash.call();this.logger.timeEnd("module hashing");this.logger.time("code generation");this.hooks.beforeCodeGeneration.call();this.codeGeneration((k=>{if(k){return finalCallback(k)}this.hooks.afterCodeGeneration.call();this.logger.timeEnd("code generation");this.logger.time("runtime requirements");this.hooks.beforeRuntimeRequirements.call();this.processRuntimeRequirements();this.hooks.afterRuntimeRequirements.call();this.logger.timeEnd("runtime requirements");this.logger.time("hashing");this.hooks.beforeHash.call();const w=this.createHash();this.hooks.afterHash.call();this.logger.timeEnd("hashing");this._runCodeGenerationJobs(w,(k=>{if(k){return finalCallback(k)}if(S){this.logger.time("record hash");this.hooks.recordHash.call(this.records);this.logger.timeEnd("record hash")}this.logger.time("module assets");this.clearAssets();this.hooks.beforeModuleAssets.call();this.createModuleAssets();this.logger.timeEnd("module assets");const cont=()=>{this.logger.time("process assets");this.hooks.processAssets.callAsync(this.assets,(k=>{if(k){return finalCallback(ze(k,"Compilation.hooks.processAssets"))}this.hooks.afterProcessAssets.call(this.assets);this.logger.timeEnd("process assets");this.assets=xt(this.assets,"Compilation.assets","DEP_WEBPACK_COMPILATION_ASSETS",`BREAKING CHANGE: No more changes should happen to Compilation.assets after sealing the Compilation.\n\tDo changes to assets earlier, e. g. in Compilation.hooks.processAssets.\n\tMake sure to select an appropriate stage from Compilation.PROCESS_ASSETS_STAGE_*.`);this.summarizeDependencies();if(S){this.hooks.record.call(this,this.records)}if(this.hooks.needAdditionalSeal.call()){this.unseal();return this.seal(E)}return this.hooks.afterSeal.callAsync((E=>{if(E){return finalCallback(ze(E,"Compilation.hooks.afterSeal"))}this.fileSystemInfo.logStatistics();finalCallback()}))}))};this.logger.time("create chunk assets");if(this.hooks.shouldGenerateChunkAssets.call()!==false){this.hooks.beforeChunkAssets.call();this.createChunkAssets((E=>{this.logger.timeEnd("create chunk assets");if(E){return finalCallback(E)}cont()}))}else{this.logger.timeEnd("create chunk assets");cont()}}))}))}))}))}reportDependencyErrorsAndWarnings(E,k){for(let S=0;S1){const N=new Map;for(const j of w){const w=k.getModuleHash(E,j);const q=N.get(w);if(q===undefined){const k={module:E,hash:w,runtime:j,runtimes:[j]};S.push(k);N.set(w,k)}else{q.runtimes.push(j)}}}}this._runCodeGenerationJobs(S,E)}_runCodeGenerationJobs(E,k){let S=0;let N=0;const{chunkGraph:j,moduleGraph:q,dependencyTemplates:ee,runtimeTemplate:te}=this;const ne=this.codeGenerationResults;const ae=[];w.eachLimit(E,this.options.parallelism,(({module:E,hash:k,runtime:w,runtimes:_e},ve)=>{this._codeGenerationModule(E,w,_e,k,ee,j,q,te,ae,ne,((E,k)=>{if(k)N++;else S++;ve(E)}))}),(E=>{if(E)return k(E);if(ae.length>0){ae.sort(yt((E=>E.module),bt));for(const E of ae){this.errors.push(E)}}this.logger.log(`${Math.round(100*N/(N+S))}% code generated (${N} generated, ${S} from cache)`);k()}))}_codeGenerationModule(E,k,S,w,N,j,q,ee,te,ne,ae){let _e=false;const ve=new Ee(S.map((k=>this._codeGenerationCache.getItemCache(`${E.identifier()}|${At(k)}`,`${w}|${N.getHash()}`))));ve.get(((w,Ee)=>{if(w)return ae(w);let we;if(!Ee){try{_e=true;this.codeGeneratedModules.add(E);we=E.codeGeneration({chunkGraph:j,moduleGraph:q,dependencyTemplates:N,runtimeTemplate:ee,runtime:k})}catch(w){te.push(new Oe(E,w));we=Ee={sources:new Map,runtimeRequirements:null}}}else{we=Ee}for(const k of S){ne.add(E,k,we)}if(!Ee){ve.store(we,(E=>ae(E,_e)))}else{ae(null,_e)}}))}_getChunkGraphEntries(){const E=new Set;for(const k of this.entrypoints.values()){const S=k.getRuntimeChunk();if(S)E.add(S)}for(const k of this.asyncEntrypoints){const S=k.getRuntimeChunk();if(S)E.add(S)}return E}processRuntimeRequirements({chunkGraph:E=this.chunkGraph,modules:k=this.modules,chunks:S=this.chunks,codeGenerationResults:w=this.codeGenerationResults,chunkGraphEntries:N=this._getChunkGraphEntries()}={}){const j={chunkGraph:E,codeGenerationResults:w};const q=this.hooks.additionalModuleRuntimeRequirements;const ee=this.hooks.runtimeRequirementInModule;for(const S of k){if(E.getNumberOfModuleChunks(S)>0){for(const k of E.getModuleRuntimes(S)){let N;const te=w.getRuntimeRequirements(S,k);if(te&&te.size>0){N=new Set(te)}else if(q.isUsed()){N=new Set}else{continue}q.call(S,N,j);for(const E of N){const k=ee.get(E);if(k!==undefined)k.call(S,N,j)}E.addModuleRuntimeRequirements(S,k,N)}}}for(const k of S){const S=new Set;for(const w of E.getChunkModulesIterable(k)){const N=E.getModuleRuntimeRequirements(w,k.runtime);for(const E of N)S.add(E)}this.hooks.additionalChunkRuntimeRequirements.call(k,S,j);for(const E of S){this.hooks.runtimeRequirementInChunk.for(E).call(k,S,j)}E.addChunkRuntimeRequirements(k,S)}for(const k of N){const S=new Set;for(const w of k.getAllReferencedChunks()){const k=E.getChunkRuntimeRequirements(w);for(const E of k)S.add(E)}this.hooks.additionalTreeRuntimeRequirements.call(k,S,j);for(const E of S){this.hooks.runtimeRequirementInTree.for(E).call(k,S,j)}E.addTreeRuntimeRequirements(k,S)}}addRuntimeModule(E,k,S=this.chunkGraph){We.setModuleGraphForModule(k,this.moduleGraph);this.modules.add(k);this._modules.set(k.identifier(),k);S.connectChunkAndModule(E,k);S.connectChunkAndRuntimeModule(E,k);if(k.fullHash){S.addFullHashModuleToChunk(E,k)}k.attach(this,E,S);const w=this.moduleGraph.getExportsInfo(k);w.setHasProvideInfo();if(typeof E.runtime==="string"){w.setUsedForSideEffectsOnly(E.runtime)}else if(E.runtime===undefined){w.setUsedForSideEffectsOnly(undefined)}else{for(const k of E.runtime){w.setUsedForSideEffectsOnly(k)}}S.addModuleRuntimeRequirements(k,E.runtime,new Set([Ze.requireScope]));S.setModuleId(k,"");this.hooks.runtimeModule.call(k,E)}addChunkInGroup(E,k,S,w){if(typeof E==="string"){E={name:E}}const N=E.name;if(N){const j=this.namedChunkGroups.get(N);if(j!==undefined){j.addOptions(E);if(k){j.addOrigin(k,S,w)}return j}}const j=new Me(E);if(k)j.addOrigin(k,S,w);const q=this.addChunk(N);je(j,q);this.chunkGroups.push(j);if(N){this.namedChunkGroups.set(N,j)}return j}addAsyncEntrypoint(E,k,S,w){const N=E.name;if(N){const E=this.namedChunkGroups.get(N);if(E instanceof Ne){if(E!==undefined){if(k){E.addOrigin(k,S,w)}return E}}else if(E){throw new Error(`Cannot add an async entrypoint with the name '${N}', because there is already an chunk group with this name`)}}const j=this.addChunk(N);if(E.filename){j.filenameTemplate=E.filename}const q=new Ne(E,false);q.setRuntimeChunk(j);q.setEntrypointChunk(j);if(N){this.namedChunkGroups.set(N,q)}this.chunkGroups.push(q);this.asyncEntrypoints.push(q);je(q,j);if(k){q.addOrigin(k,S,w)}return q}addChunk(E){if(E){const k=this.namedChunks.get(E);if(k!==undefined){return k}}const k=new we(E);this.chunks.add(k);Ce.setChunkGraphForChunk(k,this.chunkGraph);if(E){this.namedChunks.set(E,k)}return k}assignDepth(E){const k=this.moduleGraph;const S=new Set([E]);let w;k.setDepth(E,0);const processModule=E=>{if(!k.setDepthIfLower(E,w))return;S.add(E)};for(E of S){S.delete(E);w=k.getDepth(E)+1;for(const S of k.getOutgoingConnections(E)){const E=S.module;if(E){processModule(E)}}}}getDependencyReferencedExports(E,k){const S=E.getReferencedExports(this.moduleGraph,k);return this.hooks.dependencyReferencedExports.call(S,E,k)}removeReasonsOfDependencyBlock(E,k){if(k.blocks){for(const S of k.blocks){this.removeReasonsOfDependencyBlock(E,S)}}if(k.dependencies){for(const E of k.dependencies){const k=this.moduleGraph.getModule(E);if(k){this.moduleGraph.removeConnection(E);if(this.chunkGraph){for(const E of this.chunkGraph.getModuleChunks(k)){this.patchChunksAfterReasonRemoval(k,E)}}}}}}patchChunksAfterReasonRemoval(E,k){if(!E.hasReasons(this.moduleGraph,k.runtime)){this.removeReasonsOfDependencyBlock(E,E)}if(!E.hasReasonForChunk(k,this.moduleGraph,this.chunkGraph)){if(this.chunkGraph.isModuleInChunk(E,k)){this.chunkGraph.disconnectChunkAndModule(k,E);this.removeChunkFromDependencies(E,k)}}}removeChunkFromDependencies(E,k){const iteratorDependency=E=>{const S=this.moduleGraph.getModule(E);if(!S){return}this.patchChunksAfterReasonRemoval(S,k)};const S=E.blocks;for(let k=0;k{const S=k.options.runtime||k.name;const w=k.getRuntimeChunk();E.setRuntimeId(S,w.id)};for(const E of this.entrypoints.values()){processEntrypoint(E)}for(const E of this.asyncEntrypoints){processEntrypoint(E)}}sortItemsWithChunkIds(){for(const E of this.chunkGroups){E.sortItems()}this.errors.sort(Nt);this.warnings.sort(Nt);this.children.sort(Pt)}summarizeDependencies(){for(let E=0;E0){this.logger.time("hashing: hash child compilations");for(const E of this.children){q.update(E.hash)}this.logger.timeEnd("hashing: hash child compilations")}if(this.warnings.length>0){this.logger.time("hashing: hash warnings");for(const E of this.warnings){q.update(`${E.message}`)}this.logger.timeEnd("hashing: hash warnings")}if(this.errors.length>0){this.logger.time("hashing: hash errors");for(const E of this.errors){q.update(`${E.message}`)}this.logger.timeEnd("hashing: hash errors")}this.logger.time("hashing: sort chunks");const ee=[];const te=[];for(const E of this.chunks){if(E.hasRuntime()){ee.push(E)}else{te.push(E)}}ee.sort(It);te.sort(It);const ne=new Map;for(const E of ee){ne.set(E,{chunk:E,referencedBy:[],remaining:0})}let ae=0;for(const E of ne.values()){for(const k of new Set(Array.from(E.chunk.getAllReferencedAsyncEntrypoints()).map((E=>E.chunks[E.chunks.length-1])))){const S=ne.get(k);S.referencedBy.push(E);E.remaining++;ae++}}const _e=[];for(const E of ne.values()){if(E.remaining===0){_e.push(E.chunk)}}if(ae>0){const E=[];for(const k of _e){const S=ne.get(k);for(const k of S.referencedBy){ae--;if(--k.remaining===0){E.push(k.chunk)}}if(E.length>0){E.sort(It);for(const k of E)_e.push(k);E.length=0}}}if(ae>0){let E=[];for(const k of ne.values()){if(k.remaining!==0){E.push(k)}}E.sort(yt((E=>E.chunk),It));const k=new nt(`Circular dependency between chunks with runtime (${Array.from(E,(E=>E.chunk.name||E.chunk.id)).join(", ")})\nThis prevents using hashes of each other and should be avoided.`);k.chunk=E[0].chunk;this.warnings.push(k);for(const k of E)_e.push(k.chunk)}this.logger.timeEnd("hashing: sort chunks");const ve=new Set;const Ee=[];const we=new Map;const processChunk=ee=>{this.logger.time("hashing: hash runtime modules");const te=ee.runtime;for(const S of E.getChunkModulesIterable(ee)){if(!E.hasModuleHashes(S,te)){const q=this._createModuleHash(S,E,te,w,k,N,j);let ee=we.get(q);if(ee){const E=ee.get(S);if(E){E.runtimes.push(te);continue}}else{ee=new Map;we.set(q,ee)}const ne={module:S,hash:q,runtime:te,runtimes:[te]};ee.set(S,ne);Ee.push(ne)}}this.logger.timeAggregate("hashing: hash runtime modules");this.logger.time("hashing: hash chunks");const ne=Et(w);try{if(S.hashSalt){ne.update(S.hashSalt)}ee.updateHash(ne,E);this.hooks.chunkHash.call(ee,ne,{chunkGraph:E,moduleGraph:this.moduleGraph,runtimeTemplate:this.runtimeTemplate});const k=ne.digest(N);q.update(k);ee.hash=k;ee.renderedHash=ee.hash.substr(0,j);const w=E.getChunkFullHashModulesIterable(ee);if(w){ve.add(ee)}else{this.hooks.contentHash.call(ee)}}catch(E){this.errors.push(new Te(ee,"",E))}this.logger.timeAggregate("hashing: hash chunks")};te.forEach(processChunk);for(const E of _e)processChunk(E);this.logger.timeAggregateEnd("hashing: hash runtime modules");this.logger.timeAggregateEnd("hashing: hash chunks");this.logger.time("hashing: hash digest");this.hooks.fullHash.call(q);this.fullHash=q.digest(N);this.hash=this.fullHash.substr(0,j);this.logger.timeEnd("hashing: hash digest");this.logger.time("hashing: process full hash modules");for(const S of ve){for(const q of E.getChunkFullHashModulesIterable(S)){const ee=Et(w);q.updateHash(ee,{chunkGraph:E,runtime:S.runtime,runtimeTemplate:k});const te=ee.digest(N);const ne=E.getModuleHash(q,S.runtime);E.setModuleHashes(q,S.runtime,te,te.substr(0,j));we.get(ne).get(q).hash=te}const q=Et(w);q.update(S.hash);q.update(this.hash);const ee=q.digest(N);S.hash=ee;S.renderedHash=S.hash.substr(0,j);this.hooks.contentHash.call(S)}this.logger.timeEnd("hashing: process full hash modules");return Ee}emitAsset(E,k,S={}){if(this.assets[E]){if(!Ct(this.assets[E],k)){this.errors.push(new nt(`Conflict: Multiple assets emit different content to the same filename ${E}`));this.assets[E]=k;this._setAssetInfo(E,S);return}const w=this.assetsInfo.get(E);const N=Object.assign({},w,S);this._setAssetInfo(E,N,w);return}this.assets[E]=k;this._setAssetInfo(E,S,undefined)}_setAssetInfo(E,k,S=this.assetsInfo.get(E)){if(k===undefined){this.assetsInfo.delete(E)}else{this.assetsInfo.set(E,k)}const w=S&&S.related;const N=k&&k.related;if(w){for(const k of Object.keys(w)){const remove=S=>{const w=this._assetsRelatedIn.get(S);if(w===undefined)return;const N=w.get(k);if(N===undefined)return;N.delete(E);if(N.size!==0)return;w.delete(k);if(w.size===0)this._assetsRelatedIn.delete(S)};const S=w[k];if(Array.isArray(S)){S.forEach(remove)}else if(S){remove(S)}}}if(N){for(const k of Object.keys(N)){const add=S=>{let w=this._assetsRelatedIn.get(S);if(w===undefined){this._assetsRelatedIn.set(S,w=new Map)}let N=w.get(k);if(N===undefined){w.set(k,N=new Set)}N.add(E)};const S=N[k];if(Array.isArray(S)){S.forEach(add)}else if(S){add(S)}}}}updateAsset(E,k,S=undefined){if(!this.assets[E]){throw new Error(`Called Compilation.updateAsset for not existing filename ${E}`)}if(typeof k==="function"){this.assets[E]=k(this.assets[E])}else{this.assets[E]=k}if(S!==undefined){const k=this.assetsInfo.get(E)||Dt;if(typeof S==="function"){this._setAssetInfo(E,S(k),k)}else{this._setAssetInfo(E,ht(k,S),k)}}}renameAsset(E,k){const S=this.assets[E];if(!S){throw new Error(`Called Compilation.renameAsset for not existing filename ${E}`)}if(this.assets[k]){if(!Ct(this.assets[E],S)){this.errors.push(new nt(`Conflict: Called Compilation.renameAsset for already existing filename ${k} with different content`))}}const w=this.assetsInfo.get(E);const N=this._assetsRelatedIn.get(E);if(N){for(const[S,w]of N){for(const N of w){const w=this.assetsInfo.get(N);if(!w)continue;const j=w.related;if(!j)continue;const q=j[S];let ee;if(Array.isArray(q)){ee=q.map((S=>S===E?k:S))}else if(q===E){ee=k}else continue;this.assetsInfo.set(N,{...w,related:{...j,[S]:ee}})}}}this._setAssetInfo(E,undefined,w);this._setAssetInfo(k,w);delete this.assets[E];this.assets[k]=S;for(const S of this.chunks){{const w=S.files.size;S.files.delete(E);if(w!==S.files.size){S.files.add(k)}}{const w=S.auxiliaryFiles.size;S.auxiliaryFiles.delete(E);if(w!==S.auxiliaryFiles.size){S.auxiliaryFiles.add(k)}}}}deleteAsset(E){if(!this.assets[E]){return}delete this.assets[E];const k=this.assetsInfo.get(E);this._setAssetInfo(E,undefined,k);const S=k&&k.related;if(S){for(const E of Object.keys(S)){const checkUsedAndDelete=E=>{if(!this._assetsRelatedIn.has(E)){this.deleteAsset(E)}};const k=S[E];if(Array.isArray(k)){k.forEach(checkUsedAndDelete)}else if(k){checkUsedAndDelete(k)}}}for(const k of this.chunks){k.files.delete(E);k.auxiliaryFiles.delete(E)}}getAssets(){const E=[];for(const k of Object.keys(this.assets)){if(Object.prototype.hasOwnProperty.call(this.assets,k)){E.push({name:k,source:this.assets[k],info:this.assetsInfo.get(k)||Dt})}}return E}getAsset(E){if(!Object.prototype.hasOwnProperty.call(this.assets,E))return undefined;return{name:E,source:this.assets[E],info:this.assetsInfo.get(E)||Dt}}clearAssets(){for(const E of this.chunks){E.files.clear();E.auxiliaryFiles.clear()}}createModuleAssets(){const{chunkGraph:E}=this;for(const k of this.modules){if(k.buildInfo.assets){const S=k.buildInfo.assetsInfo;for(const w of Object.keys(k.buildInfo.assets)){const N=this.getPath(w,{chunkGraph:this.chunkGraph,module:k});for(const S of E.getModuleChunksIterable(k)){S.auxiliaryFiles.add(N)}this.emitAsset(N,k.buildInfo.assets[w],S?S.get(w):undefined);this.hooks.moduleAsset.call(k,N)}}}}getRenderManifest(E){return this.hooks.renderManifest.call([],E)}createChunkAssets(E){const k=this.outputOptions;const S=new WeakMap;const N=new Map;w.forEach(this.chunks,((E,j)=>{let q;try{q=this.getRenderManifest({chunk:E,hash:this.hash,fullHash:this.fullHash,outputOptions:k,codeGenerationResults:this.codeGenerationResults,moduleTemplates:this.moduleTemplates,dependencyTemplates:this.dependencyTemplates,chunkGraph:this.chunkGraph,moduleGraph:this.moduleGraph,runtimeTemplate:this.runtimeTemplate})}catch(k){this.errors.push(new Te(E,"",k));return j()}w.forEach(q,((k,w)=>{const j=k.identifier;const q=k.hash;const ee=this._assetsCache.getItemCache(j,q);ee.get(((j,te)=>{let ne;let ae;let _e;let Ee=true;const errorAndCallback=k=>{const S=ae||(typeof ae==="string"?ae:typeof ne==="string"?ne:"");this.errors.push(new Te(E,S,k));Ee=false;return w()};try{if("filename"in k){ae=k.filename;_e=k.info}else{ne=k.filenameTemplate;const E=this.getPathWithInfo(ne,k.pathOptions);ae=E.path;_e=k.info?{...E.info,...k.info}:E.info}if(j){return errorAndCallback(j)}let we=te;const Ce=N.get(ae);if(Ce!==undefined){if(Ce.hash!==q){Ee=false;return w(new nt(`Conflict: Multiple chunks emit assets to the same filename ${ae}`+` (chunks ${Ce.chunk.id} and ${E.id})`))}else{we=Ce.source}}else if(!we){we=k.render();if(!(we instanceof ve)){const E=S.get(we);if(E){we=E}else{const E=new ve(we);S.set(we,E);we=E}}}this.emitAsset(ae,we,_e);if(k.auxiliary){E.auxiliaryFiles.add(ae)}else{E.files.add(ae)}this.hooks.chunkAsset.call(E,ae);N.set(ae,{hash:q,source:we,chunk:E});if(we!==te){ee.store(we,(E=>{if(E)return errorAndCallback(E);Ee=false;return w()}))}else{Ee=false;w()}}catch(j){if(!Ee)throw j;errorAndCallback(j)}}))}),j)}),E)}getPath(E,k={}){if(!k.hash){k={hash:this.hash,...k}}return this.getAssetPath(E,k)}getPathWithInfo(E,k={}){if(!k.hash){k={hash:this.hash,...k}}return this.getAssetPathWithInfo(E,k)}getAssetPath(E,k){return this.hooks.assetPath.call(typeof E==="function"?E(k):E,k,undefined)}getAssetPathWithInfo(E,k){const S={};const w=this.hooks.assetPath.call(typeof E==="function"?E(k,S):E,k,S);return{path:w,info:S}}getWarnings(){return this.hooks.processWarnings.call(this.warnings)}getErrors(){return this.hooks.processErrors.call(this.errors)}createChildCompiler(E,k,S){const w=this.childrenCounters[E]||0;this.childrenCounters[E]=w+1;return this.compiler.createChildCompiler(this,E,w,k,S)}executeModule(E,k,S){const N=new Set([E]);wt(N,10,((E,k,S)=>{this.addModuleQueue.waitFor(E,(w=>{if(w)return S(w);this.buildQueue.waitFor(E,(w=>{if(w)return S(w);this.processDependenciesQueue.waitFor(E,(w=>{if(w)return S(w);for(const{module:S}of this.moduleGraph.getOutgoingConnections(E)){const E=N.size;N.add(S);if(N.size!==E)k(S)}S()}))}))}))}),(j=>{if(j)return S(j);const q=new Ce(this.moduleGraph);const ee="build time";const{hashFunction:te,hashDigest:ne,hashDigestLength:ae}=this.outputOptions;const _e=this.runtimeTemplate;const ve=new we("build time chunk");ve.id=ve.name;ve.ids=[ve.id];ve.runtime=ee;const Ee=new Ne({runtime:ee,chunkLoading:false,...k.entryOptions});q.connectChunkAndEntryModule(ve,E,Ee);je(Ee,ve);Ee.setRuntimeChunk(ve);Ee.setEntrypointChunk(ve);const Me=new Set([ve]);for(const E of N){const k=E.identifier();q.setModuleId(E,k);q.connectChunkAndModule(ve,E)}for(const E of N){this._createModuleHash(E,q,ee,te,_e,ne,ae)}const Te=new Re;const Ie=[];const codeGen=(E,k)=>{this._codeGenerationModule(E,ee,[ee],q.getModuleHash(E,ee),this.dependencyTemplates,q,this.moduleGraph,_e,Ie,Te,((E,S)=>{k(E)}))};const reportErrors=()=>{if(Ie.length>0){Ie.sort(yt((E=>E.module),bt));for(const E of Ie){this.errors.push(E)}Ie.length=0}};w.eachLimit(N,10,codeGen,(k=>{if(k)return S(k);reportErrors();const j=this.chunkGraph;this.chunkGraph=q;this.processRuntimeRequirements({chunkGraph:q,modules:N,chunks:Me,codeGenerationResults:Te,chunkGraphEntries:Me});this.chunkGraph=j;const Ee=q.getChunkRuntimeModulesIterable(ve);for(const E of Ee){N.add(E);this._createModuleHash(E,q,ee,te,_e,ne,ae)}w.eachLimit(Ee,10,codeGen,(k=>{if(k)return S(k);reportErrors();const j=new Map;const te=new Map;const ne=new ft;const ae=new ft;const _e=new ft;const Ee=new ft;const we=new Map;let Ce=true;const Me={assets:we,__webpack_require__:undefined,chunk:ve,chunkGraph:q};w.eachLimit(N,10,((E,k)=>{const S=Te.get(E,ee);const w={module:E,codeGenerationResult:S,preparedInfo:undefined,moduleObject:undefined};j.set(E,w);te.set(E.identifier(),w);E.addCacheDependencies(ne,ae,_e,Ee);if(E.buildInfo.cacheable===false){Ce=false}if(E.buildInfo&&E.buildInfo.assets){const{assets:k,assetsInfo:S}=E.buildInfo;for(const E of Object.keys(k)){we.set(E,{source:k[E],info:S?S.get(E):undefined})}}this.hooks.prepareModuleExecution.callAsync(w,Me,k)}),(k=>{if(k)return S(k);let w;try{const{strictModuleErrorHandling:k,strictModuleExceptionHandling:S}=this.outputOptions;const __nested_webpack_require_129646__=E=>{const k=ee[E];if(k!==undefined){if(k.error)throw k.error;return k.exports}const S=te.get(E);return __webpack_require_module__(S,E)};const N=__nested_webpack_require_129646__[Ze.interceptModuleExecution.replace("__webpack_require__.","")]=[];const ee=__nested_webpack_require_129646__[Ze.moduleCache.replace("__webpack_require__.","")]={};Me.__webpack_require__=__nested_webpack_require_129646__;const __webpack_require_module__=(E,w)=>{var j={id:w,module:{id:w,exports:{},loaded:false,error:undefined},require:__nested_webpack_require_129646__};N.forEach((E=>E(j)));const q=E.module;this.buildTimeExecutedModules.add(q);const te=j.module;E.moduleObject=te;try{if(w)ee[w]=te;Ue((()=>this.hooks.executeModule.call(E,Me)),"Compilation.hooks.executeModule");te.loaded=true;return te.exports}catch(E){if(S){if(w)delete ee[w]}else if(k){te.error=E}if(!E.module)E.module=q;throw E}};for(const E of q.getChunkRuntimeModulesInOrder(ve)){__webpack_require_module__(j.get(E))}w=__nested_webpack_require_129646__(E.identifier())}catch(k){const w=new nt(`Execution of module code from module graph (${E.readableIdentifier(this.requestShortener)}) failed: ${k.message}`);w.stack=k.stack;w.module=k.module;return S(w)}S(null,{exports:w,assets:we,cacheable:Ce,fileDependencies:ne,contextDependencies:ae,missingDependencies:_e,buildDependencies:Ee})}))}))}))}))}checkConstraints(){const E=this.chunkGraph;const k=new Set;for(const S of this.modules){if(S.type==="runtime")continue;const w=E.getModuleId(S);if(w===null)continue;if(k.has(w)){throw new Error(`checkConstraints: duplicate module id ${w}`)}k.add(w)}for(const k of this.chunks){for(const S of E.getChunkModulesIterable(k)){if(!this.modules.has(S)){throw new Error("checkConstraints: module in chunk but not in compilation "+` ${k.debugId} ${S.debugId}`)}}for(const S of E.getChunkEntryModulesIterable(k)){if(!this.modules.has(S)){throw new Error("checkConstraints: entry module in chunk but not in compilation "+` ${k.debugId} ${S.debugId}`)}}}for(const E of this.chunkGroups){E.checkConstraints()}}}const Bt=Compilation.prototype;Object.defineProperty(Bt,"modifyHash",{writable:false,enumerable:false,configurable:false,value:()=>{throw new Error("Compilation.modifyHash was removed in favor of Compilation.hooks.fullHash")}});Object.defineProperty(Bt,"cache",{enumerable:false,configurable:false,get:_e.deprecate((function(){return this.compiler.cache}),"Compilation.cache was removed in favor of Compilation.getCache()","DEP_WEBPACK_COMPILATION_CACHE"),set:_e.deprecate((E=>{}),"Compilation.cache was removed in favor of Compilation.getCache()","DEP_WEBPACK_COMPILATION_CACHE")});Compilation.PROCESS_ASSETS_STAGE_ADDITIONAL=-2e3;Compilation.PROCESS_ASSETS_STAGE_PRE_PROCESS=-1e3;Compilation.PROCESS_ASSETS_STAGE_DERIVED=-200;Compilation.PROCESS_ASSETS_STAGE_ADDITIONS=-100;Compilation.PROCESS_ASSETS_STAGE_OPTIMIZE=100;Compilation.PROCESS_ASSETS_STAGE_OPTIMIZE_COUNT=200;Compilation.PROCESS_ASSETS_STAGE_OPTIMIZE_COMPATIBILITY=300;Compilation.PROCESS_ASSETS_STAGE_OPTIMIZE_SIZE=400;Compilation.PROCESS_ASSETS_STAGE_DEV_TOOLING=500;Compilation.PROCESS_ASSETS_STAGE_OPTIMIZE_INLINE=700;Compilation.PROCESS_ASSETS_STAGE_SUMMARIZE=1e3;Compilation.PROCESS_ASSETS_STAGE_OPTIMIZE_HASH=2500;Compilation.PROCESS_ASSETS_STAGE_OPTIMIZE_TRANSFER=3e3;Compilation.PROCESS_ASSETS_STAGE_ANALYSE=4e3;Compilation.PROCESS_ASSETS_STAGE_REPORT=5e3;E.exports=Compilation},63076:(E,k,S)=>{"use strict";const w=S(78688);const N=S(62355);const{SyncHook:j,SyncBailHook:q,AsyncParallelHook:ee,AsyncSeriesHook:te}=S(92960);const{SizeOnlySource:ne}=S(48135);const ae=S(86443);const _e=S(54725);const ve=S(6503);const Ee=S(45137);const we=S(3080);const Ce=S(27310);const Me=S(89869);const Te=S(75412);const Ie=S(43229);const Oe=S(80910);const Re=S(1819);const Fe=S(10140);const Ne=S(84693);const Be=S(81627);const{Logger:Le}=S(78539);const{join:je,dirname:$e,mkdirp:ze}=S(95396);const{makePathsRelative:Ue}=S(49197);const{isSourceEqual:Ge}=S(13559);const isSorted=E=>{for(let k=1;kE[k])return false}return true};const sortObject=(E,k)=>{const S={};for(const w of k.sort()){S[w]=E[w]}return S};const includesHash=(E,k)=>{if(!k)return false;if(Array.isArray(k)){return k.some((k=>E.includes(k)))}else{return E.includes(k)}};class Compiler{constructor(E){this.hooks=Object.freeze({initialize:new j([]),shouldEmit:new q(["compilation"]),done:new te(["stats"]),afterDone:new j(["stats"]),additionalPass:new te([]),beforeRun:new te(["compiler"]),run:new te(["compiler"]),emit:new te(["compilation"]),assetEmitted:new te(["file","info"]),afterEmit:new te(["compilation"]),thisCompilation:new j(["compilation","params"]),compilation:new j(["compilation","params"]),normalModuleFactory:new j(["normalModuleFactory"]),contextModuleFactory:new j(["contextModuleFactory"]),beforeCompile:new te(["params"]),compile:new j(["params"]),make:new ee(["compilation"]),finishMake:new te(["compilation"]),afterCompile:new te(["compilation"]),watchRun:new te(["compiler"]),failed:new j(["error"]),invalid:new j(["filename","changeTime"]),watchClose:new j([]),shutdown:new te([]),infrastructureLog:new q(["origin","type","args"]),environment:new j([]),afterEnvironment:new j([]),afterPlugins:new j(["compiler"]),afterResolvers:new j(["compiler"]),entryOption:new q(["context","entry"])});this.webpack=ae;this.name=undefined;this.parentCompilation=undefined;this.root=this;this.outputPath="";this.watching=undefined;this.outputFileSystem=null;this.intermediateFileSystem=null;this.inputFileSystem=null;this.watchFileSystem=null;this.recordsInputPath=null;this.recordsOutputPath=null;this.records={};this.managedPaths=new Set;this.immutablePaths=new Set;this.modifiedFiles=undefined;this.removedFiles=undefined;this.fileTimestamps=undefined;this.contextTimestamps=undefined;this.fsStartTime=undefined;this.resolverFactory=new Re;this.infrastructureLogger=undefined;this.options={};this.context=E;this.requestShortener=new Oe(E,this.root);this.cache=new _e;this.compilerPath="";this.running=false;this.idle=false;this.watchMode=false;this._lastCompilation=undefined;this._lastNormalModuleFactory=undefined;this._assetEmittingSourceCache=new WeakMap;this._assetEmittingWrittenFiles=new Map;this._assetEmittingPreviousFiles=new Set}getCache(E){return new ve(this.cache,`${this.compilerPath}${E}`)}getInfrastructureLogger(E){if(!E){throw new TypeError("Compiler.getInfrastructureLogger(name) called without a name")}return new Le(((k,S)=>{if(typeof E==="function"){E=E();if(!E){throw new TypeError("Compiler.getInfrastructureLogger(name) called with a function not returning a name")}}if(this.hooks.infrastructureLog.call(E,k,S)===undefined){if(this.infrastructureLogger!==undefined){this.infrastructureLogger(E,k,S)}}}),(k=>{if(typeof E==="function"){if(typeof k==="function"){return this.getInfrastructureLogger((()=>{if(typeof E==="function"){E=E();if(!E){throw new TypeError("Compiler.getInfrastructureLogger(name) called with a function not returning a name")}}if(typeof k==="function"){k=k();if(!k){throw new TypeError("Logger.getChildLogger(name) called with a function not returning a name")}}return`${E}/${k}`}))}else{return this.getInfrastructureLogger((()=>{if(typeof E==="function"){E=E();if(!E){throw new TypeError("Compiler.getInfrastructureLogger(name) called with a function not returning a name")}}return`${E}/${k}`}))}}else{if(typeof k==="function"){return this.getInfrastructureLogger((()=>{if(typeof k==="function"){k=k();if(!k){throw new TypeError("Logger.getChildLogger(name) called with a function not returning a name")}}return`${E}/${k}`}))}else{return this.getInfrastructureLogger(`${E}/${k}`)}}}))}_cleanupLastCompilation(){if(this._lastCompilation!==undefined){for(const E of this._lastCompilation.modules){Ee.clearChunkGraphForModule(E);Te.clearModuleGraphForModule(E);E.cleanupForCache()}for(const E of this._lastCompilation.chunks){Ee.clearChunkGraphForChunk(E)}this._lastCompilation=undefined}}_cleanupLastNormalModuleFactory(){if(this._lastNormalModuleFactory!==undefined){this._lastNormalModuleFactory.cleanupForCache();this._lastNormalModuleFactory=undefined}}watch(E,k){if(this.running){return k(new Ce)}this.running=true;this.watchMode=true;this.watching=new Ne(this,E,k);return this.watching}run(E){if(this.running){return E(new Ce)}let k;const finalCallback=(S,w)=>{if(k)k.time("beginIdle");this.idle=true;this.cache.beginIdle();this.idle=true;if(k)k.timeEnd("beginIdle");this.running=false;if(S){this.hooks.failed.call(S)}if(E!==undefined)E(S,w);this.hooks.afterDone.call(w)};const S=Date.now();this.running=true;const onCompiled=(E,w)=>{if(E)return finalCallback(E);if(this.hooks.shouldEmit.call(w)===false){w.startTime=S;w.endTime=Date.now();const E=new Fe(w);this.hooks.done.callAsync(E,(k=>{if(k)return finalCallback(k);return finalCallback(null,E)}));return}process.nextTick((()=>{k=w.getLogger("webpack.Compiler");k.time("emitAssets");this.emitAssets(w,(E=>{k.timeEnd("emitAssets");if(E)return finalCallback(E);if(w.hooks.needAdditionalPass.call()){w.needAdditionalPass=true;w.startTime=S;w.endTime=Date.now();k.time("done hook");const E=new Fe(w);this.hooks.done.callAsync(E,(E=>{k.timeEnd("done hook");if(E)return finalCallback(E);this.hooks.additionalPass.callAsync((E=>{if(E)return finalCallback(E);this.compile(onCompiled)}))}));return}k.time("emitRecords");this.emitRecords((E=>{k.timeEnd("emitRecords");if(E)return finalCallback(E);w.startTime=S;w.endTime=Date.now();k.time("done hook");const N=new Fe(w);this.hooks.done.callAsync(N,(E=>{k.timeEnd("done hook");if(E)return finalCallback(E);this.cache.storeBuildDependencies(w.buildDependencies,(E=>{if(E)return finalCallback(E);return finalCallback(null,N)}))}))}))}))}))};const run=()=>{this.hooks.beforeRun.callAsync(this,(E=>{if(E)return finalCallback(E);this.hooks.run.callAsync(this,(E=>{if(E)return finalCallback(E);this.readRecords((E=>{if(E)return finalCallback(E);this.compile(onCompiled)}))}))}))};if(this.idle){this.cache.endIdle((E=>{if(E)return finalCallback(E);this.idle=false;run()}))}else{run()}}runAsChild(E){const k=Date.now();this.compile(((S,w)=>{if(S)return E(S);this.parentCompilation.children.push(w);for(const{name:E,source:k,info:S}of w.getAssets()){this.parentCompilation.emitAsset(E,k,S)}const N=[];for(const E of w.entrypoints.values()){N.push(...E.chunks)}w.startTime=k;w.endTime=Date.now();return E(null,N,w)}))}purgeInputFileSystem(){if(this.inputFileSystem&&this.inputFileSystem.purge){this.inputFileSystem.purge()}}emitAssets(E,k){let S;const emitFiles=w=>{if(w)return k(w);const j=E.getAssets();E.assets={...E.assets};const q=new Map;const ee=new Set;N.forEachLimit(j,15,(({name:k,source:w,info:N},j)=>{let te=k;let ae=N.immutable;const _e=te.indexOf("?");if(_e>=0){te=te.substr(0,_e);ae=ae&&(includesHash(te,N.contenthash)||includesHash(te,N.chunkhash)||includesHash(te,N.modulehash)||includesHash(te,N.fullhash))}const writeOut=N=>{if(N)return j(N);const _e=je(this.outputFileSystem,S,te);ee.add(_e);const ve=this._assetEmittingWrittenFiles.get(_e);let Ee=this._assetEmittingSourceCache.get(w);if(Ee===undefined){Ee={sizeOnlySource:undefined,writtenTo:new Map};this._assetEmittingSourceCache.set(w,Ee)}let we;const checkSimilarFile=()=>{const E=_e.toLowerCase();we=q.get(E);if(we!==undefined){const{path:E,source:S}=we;if(Ge(S,w)){if(we.size!==undefined){updateWithReplacementSource(we.size)}else{if(!we.waiting)we.waiting=[];we.waiting.push({file:k,cacheEntry:Ee})}alreadyWritten()}else{const S=new Be(`Prevent writing to file that only differs in casing or query string from already written file.\nThis will lead to a race-condition and corrupted files on case-insensitive file systems.\n${_e}\n${E}`);S.file=k;j(S)}return true}else{q.set(E,we={path:_e,source:w,size:undefined,waiting:undefined});return false}};const getContent=()=>{if(typeof w.buffer==="function"){return w.buffer()}else{const E=w.source();if(Buffer.isBuffer(E)){return E}else{return Buffer.from(E,"utf8")}}};const alreadyWritten=()=>{if(ve===undefined){const E=1;this._assetEmittingWrittenFiles.set(_e,E);Ee.writtenTo.set(_e,E)}else{Ee.writtenTo.set(_e,ve)}j()};const doWrite=N=>{this.outputFileSystem.writeFile(_e,N,(q=>{if(q)return j(q);E.emittedAssets.add(k);const ee=ve===undefined?1:ve+1;Ee.writtenTo.set(_e,ee);this._assetEmittingWrittenFiles.set(_e,ee);this.hooks.assetEmitted.callAsync(k,{content:N,source:w,outputPath:S,compilation:E,targetPath:_e},j)}))};const updateWithReplacementSource=E=>{updateFileWithReplacementSource(k,Ee,E);we.size=E;if(we.waiting!==undefined){for(const{file:k,cacheEntry:S}of we.waiting){updateFileWithReplacementSource(k,S,E)}}};const updateFileWithReplacementSource=(k,S,w)=>{if(!S.sizeOnlySource){S.sizeOnlySource=new ne(w)}E.updateAsset(k,S.sizeOnlySource,{size:w})};const processExistingFile=S=>{if(ae){updateWithReplacementSource(S.size);return alreadyWritten()}const w=getContent();updateWithReplacementSource(w.length);if(w.length===S.size){E.comparedForEmitAssets.add(k);return this.outputFileSystem.readFile(_e,((E,k)=>{if(E||!w.equals(k)){return doWrite(w)}else{return alreadyWritten()}}))}return doWrite(w)};const processMissingFile=()=>{const E=getContent();updateWithReplacementSource(E.length);return doWrite(E)};if(ve!==undefined){const S=Ee.writtenTo.get(_e);if(S===ve){if(this._assetEmittingPreviousFiles.has(_e)){E.updateAsset(k,Ee.sizeOnlySource,{size:Ee.sizeOnlySource.size()});return j()}else{ae=true}}else if(!ae){if(checkSimilarFile())return;return processMissingFile()}}if(checkSimilarFile())return;if(this.options.output.compareBeforeEmit){this.outputFileSystem.stat(_e,((E,k)=>{const S=!E&&k.isFile();if(S){processExistingFile(k)}else{processMissingFile()}}))}else{processMissingFile()}};if(te.match(/\/|\\/)){const E=this.outputFileSystem;const k=$e(E,je(E,S,te));ze(E,k,writeOut)}else{writeOut()}}),(S=>{q.clear();if(S){this._assetEmittingPreviousFiles.clear();return k(S)}this._assetEmittingPreviousFiles=ee;this.hooks.afterEmit.callAsync(E,(E=>{if(E)return k(E);return k()}))}))};this.hooks.emit.callAsync(E,(w=>{if(w)return k(w);S=E.getPath(this.outputPath,{});ze(this.outputFileSystem,S,emitFiles)}))}emitRecords(E){if(!this.recordsOutputPath)return E();const writeFile=()=>{this.outputFileSystem.writeFile(this.recordsOutputPath,JSON.stringify(this.records,((E,k)=>{if(typeof k==="object"&&k!==null&&!Array.isArray(k)){const E=Object.keys(k);if(!isSorted(E)){return sortObject(k,E)}}return k}),2),E)};const k=$e(this.outputFileSystem,this.recordsOutputPath);if(!k){return writeFile()}ze(this.outputFileSystem,k,(k=>{if(k)return E(k);writeFile()}))}readRecords(E){if(!this.recordsInputPath){this.records={};return E()}this.inputFileSystem.stat(this.recordsInputPath,(k=>{if(k)return E();this.inputFileSystem.readFile(this.recordsInputPath,((k,S)=>{if(k)return E(k);try{this.records=w(S.toString("utf-8"))}catch(k){k.message="Cannot parse records: "+k.message;return E(k)}return E()}))}))}createChildCompiler(E,k,S,w,N){const j=new Compiler(this.context);j.name=k;j.outputPath=this.outputPath;j.inputFileSystem=this.inputFileSystem;j.outputFileSystem=null;j.resolverFactory=this.resolverFactory;j.modifiedFiles=this.modifiedFiles;j.removedFiles=this.removedFiles;j.fileTimestamps=this.fileTimestamps;j.contextTimestamps=this.contextTimestamps;j.fsStartTime=this.fsStartTime;j.cache=this.cache;j.compilerPath=`${this.compilerPath}${k}|${S}|`;const q=Ue(this.context,k,this.root);if(!this.records[q]){this.records[q]=[]}if(this.records[q][S]){j.records=this.records[q][S]}else{this.records[q].push(j.records={})}j.options={...this.options,output:{...this.options.output,...w}};j.parentCompilation=E;j.root=this.root;if(Array.isArray(N)){for(const E of N){E.apply(j)}}for(const E in this.hooks){if(!["make","compile","emit","afterEmit","invalid","done","thisCompilation"].includes(E)){if(j.hooks[E]){j.hooks[E].taps=this.hooks[E].taps.slice()}}}E.hooks.childCompiler.call(j,k,S);return j}isChild(){return!!this.parentCompilation}createCompilation(){this._cleanupLastCompilation();return this._lastCompilation=new we(this)}newCompilation(E){const k=this.createCompilation();k.name=this.name;k.records=this.records;this.hooks.thisCompilation.call(k,E);this.hooks.compilation.call(k,E);return k}createNormalModuleFactory(){this._cleanupLastNormalModuleFactory();const E=new Ie({context:this.options.context,fs:this.inputFileSystem,resolverFactory:this.resolverFactory,options:this.options.module,associatedObjectForCache:this.root,layers:this.options.experiments.layers});this._lastNormalModuleFactory=E;this.hooks.normalModuleFactory.call(E);return E}createContextModuleFactory(){const E=new Me(this.resolverFactory);this.hooks.contextModuleFactory.call(E);return E}newCompilationParams(){const E={normalModuleFactory:this.createNormalModuleFactory(),contextModuleFactory:this.createContextModuleFactory()};return E}compile(E){const k=this.newCompilationParams();this.hooks.beforeCompile.callAsync(k,(S=>{if(S)return E(S);this.hooks.compile.call(k);const w=this.newCompilation(k);const N=w.getLogger("webpack.Compiler");N.time("make hook");this.hooks.make.callAsync(w,(k=>{N.timeEnd("make hook");if(k)return E(k);N.time("finish make hook");this.hooks.finishMake.callAsync(w,(k=>{N.timeEnd("finish make hook");if(k)return E(k);process.nextTick((()=>{N.time("finish compilation");w.finish((k=>{N.timeEnd("finish compilation");if(k)return E(k);N.time("seal compilation");w.seal((k=>{N.timeEnd("seal compilation");if(k)return E(k);N.time("afterCompile hook");this.hooks.afterCompile.callAsync(w,(k=>{N.timeEnd("afterCompile hook");if(k)return E(k);return E(null,w)}))}))}))}))}))}))}))}close(E){this.hooks.shutdown.callAsync((k=>{if(k)return E(k);this._lastCompilation=undefined;this._lastNormalModuleFactory=undefined;this.cache.shutdown(E)}))}}E.exports=Compiler},77294:E=>{"use strict";const k=/^__WEBPACK_MODULE_REFERENCE__(\d+)_([\da-f]+|ns)(_call)?(_directImport)?(?:_asiSafe(\d))?__$/;const S="__WEBPACK_DEFAULT_EXPORT__";const w="__WEBPACK_NAMESPACE_OBJECT__";class ConcatenationScope{constructor(E,k){this._currentModule=k;if(Array.isArray(E)){const k=new Map;for(const S of E){k.set(S.module,S)}E=k}this._modulesMap=E}isModuleInScope(E){return this._modulesMap.has(E)}registerExport(E,k){if(!this._currentModule.exportMap){this._currentModule.exportMap=new Map}if(!this._currentModule.exportMap.has(E)){this._currentModule.exportMap.set(E,k)}}registerRawExport(E,k){if(!this._currentModule.rawExportMap){this._currentModule.rawExportMap=new Map}if(!this._currentModule.rawExportMap.has(E)){this._currentModule.rawExportMap.set(E,k)}}registerNamespaceExport(E){this._currentModule.namespaceExportSymbol=E}createModuleReference(E,{ids:k=undefined,call:S=false,directImport:w=false,asiSafe:N=false}){const j=this._modulesMap.get(E);const q=S?"_call":"";const ee=w?"_directImport":"";const te=N?"_asiSafe1":N===false?"_asiSafe0":"";const ne=k?Buffer.from(JSON.stringify(k),"utf-8").toString("hex"):"ns";return`__WEBPACK_MODULE_REFERENCE__${j.index}_${ne}${q}${ee}${te}__._`}static isModuleReference(E){return k.test(E)}static matchModuleReference(E){const S=k.exec(E);if(!S)return null;const w=+S[1];const N=S[5];return{index:w,ids:S[2]==="ns"?[]:JSON.parse(Buffer.from(S[2],"hex").toString("utf-8")),call:!!S[3],directImport:!!S[4],asiSafe:N?N==="1":undefined}}}ConcatenationScope.DEFAULT_EXPORT=S;ConcatenationScope.NAMESPACE_OBJECT_EXPORT=w;E.exports=ConcatenationScope},27310:(E,k,S)=>{"use strict";const w=S(81627);E.exports=class ConcurrentCompilationError extends w{constructor(){super();this.name="ConcurrentCompilationError";this.message="You ran Webpack twice. Each instance only supports a single concurrent compilation at a time."}}},11518:(E,k,S)=>{"use strict";const{ConcatSource:w,PrefixSource:N}=S(48135);const j=S(63272);const q=S(58159);const{mergeRuntime:ee}=S(37416);const wrapInCondition=(E,k)=>{if(typeof k==="string"){return q.asString([`if (${E}) {`,q.indent(k),"}",""])}else{return new w(`if (${E}) {\n`,new N("\t",k),"}\n")}};class ConditionalInitFragment extends j{constructor(E,k,S,w,N=true,j){super(E,k,S,w,j);this.runtimeCondition=N}getContent(E){if(this.runtimeCondition===false||!this.content)return"";if(this.runtimeCondition===true)return this.content;const k=E.runtimeTemplate.runtimeConditionExpression({chunkGraph:E.chunkGraph,runtimeRequirements:E.runtimeRequirements,runtime:E.runtime,runtimeCondition:this.runtimeCondition});if(k==="true")return this.content;return wrapInCondition(k,this.content)}getEndContent(E){if(this.runtimeCondition===false||!this.endContent)return"";if(this.runtimeCondition===true)return this.endContent;const k=E.runtimeTemplate.runtimeConditionExpression({chunkGraph:E.chunkGraph,runtimeRequirements:E.runtimeRequirements,runtime:E.runtime,runtimeCondition:this.runtimeCondition});if(k==="true")return this.endContent;return wrapInCondition(k,this.endContent)}merge(E){if(this.runtimeCondition===true)return this;if(E.runtimeCondition===true)return E;if(this.runtimeCondition===false)return E;if(E.runtimeCondition===false)return this;const k=ee(this.runtimeCondition,E.runtimeCondition);return new ConditionalInitFragment(this.content,this.stage,this.position,this.key,k,this.endContent)}}E.exports=ConditionalInitFragment},40552:(E,k,S)=>{"use strict";const w=S(59455);const N=S(66298);const{evaluateToString:j}=S(48472);const{parseResource:q}=S(49197);const collectDeclaration=(E,k)=>{const S=[k];while(S.length>0){const k=S.pop();switch(k.type){case"Identifier":E.add(k.name);break;case"ArrayPattern":for(const E of k.elements){if(E){S.push(E)}}break;case"AssignmentPattern":S.push(k.left);break;case"ObjectPattern":for(const E of k.properties){S.push(E.value)}break;case"RestElement":S.push(k.argument);break}}};const getHoistedDeclarations=(E,k)=>{const S=new Set;const w=[E];while(w.length>0){const E=w.pop();if(!E)continue;switch(E.type){case"BlockStatement":for(const k of E.body){w.push(k)}break;case"IfStatement":w.push(E.consequent);w.push(E.alternate);break;case"ForStatement":w.push(E.init);w.push(E.body);break;case"ForInStatement":case"ForOfStatement":w.push(E.left);w.push(E.body);break;case"DoWhileStatement":case"WhileStatement":case"LabeledStatement":w.push(E.body);break;case"SwitchStatement":for(const k of E.cases){for(const E of k.consequent){w.push(E)}}break;case"TryStatement":w.push(E.block);if(E.handler){w.push(E.handler.body)}w.push(E.finalizer);break;case"FunctionDeclaration":if(k){collectDeclaration(S,E.id)}break;case"VariableDeclaration":if(E.kind==="var"){for(const k of E.declarations){collectDeclaration(S,k.id)}}break}}return Array.from(S)};class ConstPlugin{apply(E){const k=q.bindCache(E.root);E.hooks.compilation.tap("ConstPlugin",((E,{normalModuleFactory:S})=>{E.dependencyTemplates.set(N,new N.Template);E.dependencyTemplates.set(w,new w.Template);const handler=E=>{E.hooks.statementIf.tap("ConstPlugin",(k=>{if(E.scope.isAsmJs)return;const S=E.evaluateExpression(k.test);const w=S.asBool();if(typeof w==="boolean"){if(!S.couldHaveSideEffects()){const j=new N(`${w}`,S.range);j.loc=k.loc;E.state.module.addPresentationalDependency(j)}else{E.walkExpression(k.test)}const j=w?k.alternate:k.consequent;if(j){let k;if(E.scope.isStrict){k=getHoistedDeclarations(j,false)}else{k=getHoistedDeclarations(j,true)}let S;if(k.length>0){S=`{ var ${k.join(", ")}; }`}else{S="{}"}const w=new N(S,j.range);w.loc=j.loc;E.state.module.addPresentationalDependency(w)}return w}}));E.hooks.expressionConditionalOperator.tap("ConstPlugin",(k=>{if(E.scope.isAsmJs)return;const S=E.evaluateExpression(k.test);const w=S.asBool();if(typeof w==="boolean"){if(!S.couldHaveSideEffects()){const j=new N(` ${w}`,S.range);j.loc=k.loc;E.state.module.addPresentationalDependency(j)}else{E.walkExpression(k.test)}const j=w?k.alternate:k.consequent;const q=new N("0",j.range);q.loc=j.loc;E.state.module.addPresentationalDependency(q);return w}}));E.hooks.expressionLogicalOperator.tap("ConstPlugin",(k=>{if(E.scope.isAsmJs)return;if(k.operator==="&&"||k.operator==="||"){const S=E.evaluateExpression(k.left);const w=S.asBool();if(typeof w==="boolean"){const j=k.operator==="&&"&&w||k.operator==="||"&&!w;if(!S.couldHaveSideEffects()&&(S.isBoolean()||j)){const j=new N(` ${w}`,S.range);j.loc=k.loc;E.state.module.addPresentationalDependency(j)}else{E.walkExpression(k.left)}if(!j){const S=new N("0",k.right.range);S.loc=k.loc;E.state.module.addPresentationalDependency(S)}return j}}else if(k.operator==="??"){const S=E.evaluateExpression(k.left);const w=S&&S.asNullish();if(typeof w==="boolean"){if(!S.couldHaveSideEffects()&&w){const w=new N(" null",S.range);w.loc=k.loc;E.state.module.addPresentationalDependency(w)}else{const S=new N("0",k.right.range);S.loc=k.loc;E.state.module.addPresentationalDependency(S);E.walkExpression(k.left)}return w}}}));E.hooks.optionalChaining.tap("ConstPlugin",(k=>{const S=[];let w=k.expression;while(w.type==="MemberExpression"||w.type==="CallExpression"){if(w.type==="MemberExpression"){if(w.optional){S.push(w.object)}w=w.object}else{if(w.optional){S.push(w.callee)}w=w.callee}}while(S.length){const w=S.pop();const j=E.evaluateExpression(w);if(j&&j.asNullish()){const S=new N(" undefined",k.range);S.loc=k.loc;E.state.module.addPresentationalDependency(S);return true}}}));E.hooks.evaluateIdentifier.for("__resourceQuery").tap("ConstPlugin",(S=>{if(E.scope.isAsmJs)return;if(!E.state.module)return;return j(k(E.state.module.resource).query)(S)}));E.hooks.expression.for("__resourceQuery").tap("ConstPlugin",(S=>{if(E.scope.isAsmJs)return;if(!E.state.module)return;const N=new w(JSON.stringify(k(E.state.module.resource).query),S.range,"__resourceQuery");N.loc=S.loc;E.state.module.addPresentationalDependency(N);return true}));E.hooks.evaluateIdentifier.for("__resourceFragment").tap("ConstPlugin",(S=>{if(E.scope.isAsmJs)return;if(!E.state.module)return;return j(k(E.state.module.resource).fragment)(S)}));E.hooks.expression.for("__resourceFragment").tap("ConstPlugin",(S=>{if(E.scope.isAsmJs)return;if(!E.state.module)return;const N=new w(JSON.stringify(k(E.state.module.resource).fragment),S.range,"__resourceFragment");N.loc=S.loc;E.state.module.addPresentationalDependency(N);return true}))};S.hooks.parser.for("javascript/auto").tap("ConstPlugin",handler);S.hooks.parser.for("javascript/dynamic").tap("ConstPlugin",handler);S.hooks.parser.for("javascript/esm").tap("ConstPlugin",handler)}))}}E.exports=ConstPlugin},51709:E=>{"use strict";class ContextExclusionPlugin{constructor(E){this.negativeMatcher=E}apply(E){E.hooks.contextModuleFactory.tap("ContextExclusionPlugin",(E=>{E.hooks.contextModuleFiles.tap("ContextExclusionPlugin",(E=>E.filter((E=>!this.negativeMatcher.test(E)))))}))}}E.exports=ContextExclusionPlugin},58126:(E,k,S)=>{"use strict";const{OriginalSource:w,RawSource:N}=S(48135);const j=S(98221);const{makeWebpackError:q}=S(3728);const ee=S(53453);const te=S(76150);const ne=S(58159);const ae=S(81627);const{compareLocations:_e,concatComparators:ve,compareSelect:Ee,keepOriginalOrder:we,compareModulesById:Ce}=S(68673);const{contextify:Me,parseResource:Te}=S(49197);const Ie=S(56202);const Oe={timestamp:true};const Re=new Set(["javascript"]);class ContextModule extends ee{constructor(E,k){const S=Te(k?k.resource:"");const w=S.path;const N=k&&k.resourceQuery||S.query;const j=k&&k.resourceFragment||S.fragment;super("javascript/dynamic",w);this.resolveDependencies=E;this.options={...k,resource:w,resourceQuery:N,resourceFragment:j};if(k&&k.resolveOptions!==undefined){this.resolveOptions=k.resolveOptions}if(k&&typeof k.mode!=="string"){throw new Error("options.mode is a required option")}this._identifier=this._createIdentifier();this._forceBuild=true}getSourceTypes(){return Re}updateCacheModule(E){const k=E;this.resolveDependencies=k.resolveDependencies;this.options=k.options}cleanupForCache(){super.cleanupForCache();this.resolveDependencies=undefined}prettyRegExp(E){return E.substring(1,E.length-1).replace(/!/g,"%21")}_createIdentifier(){let E=this.context;if(this.options.resourceQuery){E+=`|${this.options.resourceQuery}`}if(this.options.resourceFragment){E+=`|${this.options.resourceFragment}`}if(this.options.mode){E+=`|${this.options.mode}`}if(!this.options.recursive){E+="|nonrecursive"}if(this.options.addon){E+=`|${this.options.addon}`}if(this.options.regExp){E+=`|${this.options.regExp}`}if(this.options.include){E+=`|include: ${this.options.include}`}if(this.options.exclude){E+=`|exclude: ${this.options.exclude}`}if(this.options.referencedExports){E+=`|referencedExports: ${JSON.stringify(this.options.referencedExports)}`}if(this.options.chunkName){E+=`|chunkName: ${this.options.chunkName}`}if(this.options.groupOptions){E+=`|groupOptions: ${JSON.stringify(this.options.groupOptions)}`}if(this.options.namespaceObject==="strict"){E+="|strict namespace object"}else if(this.options.namespaceObject){E+="|namespace object"}return E}identifier(){return this._identifier}readableIdentifier(E){let k=E.shorten(this.context)+"/";if(this.options.resourceQuery){k+=` ${this.options.resourceQuery}`}if(this.options.mode){k+=` ${this.options.mode}`}if(!this.options.recursive){k+=" nonrecursive"}if(this.options.addon){k+=` ${E.shorten(this.options.addon)}`}if(this.options.regExp){k+=` ${this.prettyRegExp(this.options.regExp+"")}`}if(this.options.include){k+=` include: ${this.prettyRegExp(this.options.include+"")}`}if(this.options.exclude){k+=` exclude: ${this.prettyRegExp(this.options.exclude+"")}`}if(this.options.referencedExports){k+=` referencedExports: ${this.options.referencedExports.map((E=>E.join("."))).join(", ")}`}if(this.options.chunkName){k+=` chunkName: ${this.options.chunkName}`}if(this.options.groupOptions){const E=this.options.groupOptions;for(const S of Object.keys(E)){k+=` ${S}: ${E[S]}`}}if(this.options.namespaceObject==="strict"){k+=" strict namespace object"}else if(this.options.namespaceObject){k+=" namespace object"}return k}libIdent(E){let k=Me(E.context,this.context,E.associatedObjectForCache);if(this.options.mode){k+=` ${this.options.mode}`}if(this.options.recursive){k+=" recursive"}if(this.options.addon){k+=` ${Me(E.context,this.options.addon,E.associatedObjectForCache)}`}if(this.options.regExp){k+=` ${this.prettyRegExp(this.options.regExp+"")}`}if(this.options.include){k+=` include: ${this.prettyRegExp(this.options.include+"")}`}if(this.options.exclude){k+=` exclude: ${this.prettyRegExp(this.options.exclude+"")}`}if(this.options.referencedExports){k+=` referencedExports: ${this.options.referencedExports.map((E=>E.join("."))).join(", ")}`}return k}invalidateBuild(){this._forceBuild=true}needBuild({fileSystemInfo:E},k){if(this._forceBuild)return k(null,true);if(!this.buildInfo.snapshot)return k(null,true);E.checkSnapshotValid(this.buildInfo.snapshot,((E,S)=>{k(E,!S)}))}build(E,k,S,w,N){this._forceBuild=false;this.buildMeta={exportsType:"default",defaultObject:"redirect-warn"};this.buildInfo={snapshot:undefined};this.dependencies.length=0;this.blocks.length=0;const ee=Date.now();this.resolveDependencies(w,this.options,((E,S)=>{if(E){return N(q(E,"ContextModule.resolveDependencies"))}if(!S){N();return}for(const E of S){E.loc={name:E.userRequest};E.request=this.options.addon+E.request}S.sort(ve(Ee((E=>E.loc),_e),we(this.dependencies)));if(this.options.mode==="sync"||this.options.mode==="eager"){this.dependencies=S}else if(this.options.mode==="lazy-once"){if(S.length>0){const E=new j({...this.options.groupOptions,name:this.options.chunkName});for(const k of S){E.addDependency(k)}this.addBlock(E)}}else if(this.options.mode==="weak"||this.options.mode==="async-weak"){for(const E of S){E.weak=true}this.dependencies=S}else if(this.options.mode==="lazy"){let E=0;for(const k of S){let S=this.options.chunkName;if(S){if(!/\[(index|request)\]/.test(S)){S+="[index]"}S=S.replace(/\[index\]/g,`${E++}`);S=S.replace(/\[request\]/g,ne.toPath(k.userRequest))}const w=new j({...this.options.groupOptions,name:S},k.loc,k.userRequest);w.addDependency(k);this.addBlock(w)}}else{N(new ae(`Unsupported mode "${this.options.mode}" in context`));return}k.fileSystemInfo.createSnapshot(ee,null,[this.context],null,Oe,((E,k)=>{if(E)return N(E);this.buildInfo.snapshot=k;N()}))}))}addCacheDependencies(E,k,S,w){k.add(this.context)}getUserRequestMap(E,k){const S=k.moduleGraph;const w=E.filter((E=>S.getModule(E))).sort(((E,k)=>{if(E.userRequest===k.userRequest){return 0}return E.userRequestS.getModule(E))).filter(Boolean).sort(N);const q=Object.create(null);for(const E of j){const N=E.getExportsType(S,this.options.namespaceObject==="strict");const j=k.getModuleId(E);switch(N){case"namespace":q[j]=9;w|=1;break;case"dynamic":q[j]=7;w|=2;break;case"default-only":q[j]=1;w|=4;break;case"default-with-named":q[j]=3;w|=8;break;default:throw new Error(`Unexpected exports type ${N}`)}}if(w===1){return 9}if(w===2){return 7}if(w===4){return 1}if(w===8){return 3}if(w===0){return 9}return q}getFakeMapInitStatement(E){return typeof E==="object"?`var fakeMap = ${JSON.stringify(E,null,"\t")};`:""}getReturn(E,k){if(E===9){return"__webpack_require__(id)"}return`${te.createFakeNamespaceObject}(id, ${E}${k?" | 16":""})`}getReturnModuleObjectSource(E,k,S="fakeMap[id]"){if(typeof E==="number"){return`return ${this.getReturn(E,k)};`}return`return ${te.createFakeNamespaceObject}(id, ${S}${k?" | 16":""})`}getSyncSource(E,k,S){const w=this.getUserRequestMap(E,S);const N=this.getFakeMap(E,S);const j=this.getReturnModuleObjectSource(N);return`var map = ${JSON.stringify(w,null,"\t")};\n${this.getFakeMapInitStatement(N)}\n\nfunction webpackContext(req) {\n\tvar id = webpackContextResolve(req);\n\t${j}\n}\nfunction webpackContextResolve(req) {\n\tif(!${te.hasOwnProperty}(map, req)) {\n\t\tvar e = new Error("Cannot find module '" + req + "'");\n\t\te.code = 'MODULE_NOT_FOUND';\n\t\tthrow e;\n\t}\n\treturn map[req];\n}\nwebpackContext.keys = function webpackContextKeys() {\n\treturn Object.keys(map);\n};\nwebpackContext.resolve = webpackContextResolve;\nmodule.exports = webpackContext;\nwebpackContext.id = ${JSON.stringify(k)};`}getWeakSyncSource(E,k,S){const w=this.getUserRequestMap(E,S);const N=this.getFakeMap(E,S);const j=this.getReturnModuleObjectSource(N);return`var map = ${JSON.stringify(w,null,"\t")};\n${this.getFakeMapInitStatement(N)}\n\nfunction webpackContext(req) {\n\tvar id = webpackContextResolve(req);\n\tif(!${te.moduleFactories}[id]) {\n\t\tvar e = new Error("Module '" + req + "' ('" + id + "') is not available (weak dependency)");\n\t\te.code = 'MODULE_NOT_FOUND';\n\t\tthrow e;\n\t}\n\t${j}\n}\nfunction webpackContextResolve(req) {\n\tif(!${te.hasOwnProperty}(map, req)) {\n\t\tvar e = new Error("Cannot find module '" + req + "'");\n\t\te.code = 'MODULE_NOT_FOUND';\n\t\tthrow e;\n\t}\n\treturn map[req];\n}\nwebpackContext.keys = function webpackContextKeys() {\n\treturn Object.keys(map);\n};\nwebpackContext.resolve = webpackContextResolve;\nwebpackContext.id = ${JSON.stringify(k)};\nmodule.exports = webpackContext;`}getAsyncWeakSource(E,k,{chunkGraph:S,runtimeTemplate:w}){const N=w.supportsArrowFunction();const j=this.getUserRequestMap(E,S);const q=this.getFakeMap(E,S);const ee=this.getReturnModuleObjectSource(q,true);return`var map = ${JSON.stringify(j,null,"\t")};\n${this.getFakeMapInitStatement(q)}\n\nfunction webpackAsyncContext(req) {\n\treturn webpackAsyncContextResolve(req).then(${N?"id =>":"function(id)"} {\n\t\tif(!${te.moduleFactories}[id]) {\n\t\t\tvar e = new Error("Module '" + req + "' ('" + id + "') is not available (weak dependency)");\n\t\t\te.code = 'MODULE_NOT_FOUND';\n\t\t\tthrow e;\n\t\t}\n\t\t${ee}\n\t});\n}\nfunction webpackAsyncContextResolve(req) {\n\t// Here Promise.resolve().then() is used instead of new Promise() to prevent\n\t// uncaught exception popping up in devtools\n\treturn Promise.resolve().then(${N?"() =>":"function()"} {\n\t\tif(!${te.hasOwnProperty}(map, req)) {\n\t\t\tvar e = new Error("Cannot find module '" + req + "'");\n\t\t\te.code = 'MODULE_NOT_FOUND';\n\t\t\tthrow e;\n\t\t}\n\t\treturn map[req];\n\t});\n}\nwebpackAsyncContext.keys = ${w.returningFunction("Object.keys(map)")};\nwebpackAsyncContext.resolve = webpackAsyncContextResolve;\nwebpackAsyncContext.id = ${JSON.stringify(k)};\nmodule.exports = webpackAsyncContext;`}getEagerSource(E,k,{chunkGraph:S,runtimeTemplate:w}){const N=w.supportsArrowFunction();const j=this.getUserRequestMap(E,S);const q=this.getFakeMap(E,S);const ee=q!==9?`${N?"id =>":"function(id)"} {\n\t\t${this.getReturnModuleObjectSource(q)}\n\t}`:"__webpack_require__";return`var map = ${JSON.stringify(j,null,"\t")};\n${this.getFakeMapInitStatement(q)}\n\nfunction webpackAsyncContext(req) {\n\treturn webpackAsyncContextResolve(req).then(${ee});\n}\nfunction webpackAsyncContextResolve(req) {\n\t// Here Promise.resolve().then() is used instead of new Promise() to prevent\n\t// uncaught exception popping up in devtools\n\treturn Promise.resolve().then(${N?"() =>":"function()"} {\n\t\tif(!${te.hasOwnProperty}(map, req)) {\n\t\t\tvar e = new Error("Cannot find module '" + req + "'");\n\t\t\te.code = 'MODULE_NOT_FOUND';\n\t\t\tthrow e;\n\t\t}\n\t\treturn map[req];\n\t});\n}\nwebpackAsyncContext.keys = ${w.returningFunction("Object.keys(map)")};\nwebpackAsyncContext.resolve = webpackAsyncContextResolve;\nwebpackAsyncContext.id = ${JSON.stringify(k)};\nmodule.exports = webpackAsyncContext;`}getLazyOnceSource(E,k,S,{runtimeTemplate:w,chunkGraph:N}){const j=w.blockPromise({chunkGraph:N,block:E,message:"lazy-once context",runtimeRequirements:new Set});const q=w.supportsArrowFunction();const ee=this.getUserRequestMap(k,N);const ne=this.getFakeMap(k,N);const ae=ne!==9?`${q?"id =>":"function(id)"} {\n\t\t${this.getReturnModuleObjectSource(ne,true)};\n\t}`:"__webpack_require__";return`var map = ${JSON.stringify(ee,null,"\t")};\n${this.getFakeMapInitStatement(ne)}\n\nfunction webpackAsyncContext(req) {\n\treturn webpackAsyncContextResolve(req).then(${ae});\n}\nfunction webpackAsyncContextResolve(req) {\n\treturn ${j}.then(${q?"() =>":"function()"} {\n\t\tif(!${te.hasOwnProperty}(map, req)) {\n\t\t\tvar e = new Error("Cannot find module '" + req + "'");\n\t\t\te.code = 'MODULE_NOT_FOUND';\n\t\t\tthrow e;\n\t\t}\n\t\treturn map[req];\n\t});\n}\nwebpackAsyncContext.keys = ${w.returningFunction("Object.keys(map)")};\nwebpackAsyncContext.resolve = webpackAsyncContextResolve;\nwebpackAsyncContext.id = ${JSON.stringify(S)};\nmodule.exports = webpackAsyncContext;`}getLazySource(E,k,{chunkGraph:S,runtimeTemplate:w}){const N=S.moduleGraph;const j=w.supportsArrowFunction();let q=false;let ee=true;const ne=this.getFakeMap(E.map((E=>E.dependencies[0])),S);const ae=typeof ne==="object";const _e=E.map((E=>{const k=E.dependencies[0];return{dependency:k,module:N.getModule(k),block:E,userRequest:k.userRequest,chunks:undefined}})).filter((E=>E.module));for(const E of _e){const k=S.getBlockChunkGroup(E.block);const w=k&&k.chunks||[];E.chunks=w;if(w.length>0){ee=false}if(w.length!==1){q=true}}const ve=ee&&!ae;const Ee=_e.sort(((E,k)=>{if(E.userRequest===k.userRequest)return 0;return E.userRequestE.id)))}}const Ce=ae?2:1;const Me=ee?"Promise.resolve()":q?`Promise.all(ids.slice(${Ce}).map(${te.ensureChunk}))`:`${te.ensureChunk}(ids[${Ce}])`;const Te=this.getReturnModuleObjectSource(ne,true,ve?"invalid":"ids[1]");const Ie=Me==="Promise.resolve()"?`\nfunction webpackAsyncContext(req) {\n\treturn Promise.resolve().then(${j?"() =>":"function()"} {\n\t\tif(!${te.hasOwnProperty}(map, req)) {\n\t\t\tvar e = new Error("Cannot find module '" + req + "'");\n\t\t\te.code = 'MODULE_NOT_FOUND';\n\t\t\tthrow e;\n\t\t}\n\n\t\t${ve?"var id = map[req];":"var ids = map[req], id = ids[0];"}\n\t\t${Te}\n\t});\n}`:`function webpackAsyncContext(req) {\n\tif(!${te.hasOwnProperty}(map, req)) {\n\t\treturn Promise.resolve().then(${j?"() =>":"function()"} {\n\t\t\tvar e = new Error("Cannot find module '" + req + "'");\n\t\t\te.code = 'MODULE_NOT_FOUND';\n\t\t\tthrow e;\n\t\t});\n\t}\n\n\tvar ids = map[req], id = ids[0];\n\treturn ${Me}.then(${j?"() =>":"function()"} {\n\t\t${Te}\n\t});\n}`;return`var map = ${JSON.stringify(we,null,"\t")};\n${Ie}\nwebpackAsyncContext.keys = ${w.returningFunction("Object.keys(map)")};\nwebpackAsyncContext.id = ${JSON.stringify(k)};\nmodule.exports = webpackAsyncContext;`}getSourceForEmptyContext(E,k){return`function webpackEmptyContext(req) {\n\tvar e = new Error("Cannot find module '" + req + "'");\n\te.code = 'MODULE_NOT_FOUND';\n\tthrow e;\n}\nwebpackEmptyContext.keys = ${k.returningFunction("[]")};\nwebpackEmptyContext.resolve = webpackEmptyContext;\nwebpackEmptyContext.id = ${JSON.stringify(E)};\nmodule.exports = webpackEmptyContext;`}getSourceForEmptyAsyncContext(E,k){const S=k.supportsArrowFunction();return`function webpackEmptyAsyncContext(req) {\n\t// Here Promise.resolve().then() is used instead of new Promise() to prevent\n\t// uncaught exception popping up in devtools\n\treturn Promise.resolve().then(${S?"() =>":"function()"} {\n\t\tvar e = new Error("Cannot find module '" + req + "'");\n\t\te.code = 'MODULE_NOT_FOUND';\n\t\tthrow e;\n\t});\n}\nwebpackEmptyAsyncContext.keys = ${k.returningFunction("[]")};\nwebpackEmptyAsyncContext.resolve = webpackEmptyAsyncContext;\nwebpackEmptyAsyncContext.id = ${JSON.stringify(E)};\nmodule.exports = webpackEmptyAsyncContext;`}getSourceString(E,{runtimeTemplate:k,chunkGraph:S}){const w=S.getModuleId(this);if(E==="lazy"){if(this.blocks&&this.blocks.length>0){return this.getLazySource(this.blocks,w,{runtimeTemplate:k,chunkGraph:S})}return this.getSourceForEmptyAsyncContext(w,k)}if(E==="eager"){if(this.dependencies&&this.dependencies.length>0){return this.getEagerSource(this.dependencies,w,{chunkGraph:S,runtimeTemplate:k})}return this.getSourceForEmptyAsyncContext(w,k)}if(E==="lazy-once"){const E=this.blocks[0];if(E){return this.getLazyOnceSource(E,E.dependencies,w,{runtimeTemplate:k,chunkGraph:S})}return this.getSourceForEmptyAsyncContext(w,k)}if(E==="async-weak"){if(this.dependencies&&this.dependencies.length>0){return this.getAsyncWeakSource(this.dependencies,w,{chunkGraph:S,runtimeTemplate:k})}return this.getSourceForEmptyAsyncContext(w,k)}if(E==="weak"){if(this.dependencies&&this.dependencies.length>0){return this.getWeakSyncSource(this.dependencies,w,S)}}if(this.dependencies&&this.dependencies.length>0){return this.getSyncSource(this.dependencies,w,S)}return this.getSourceForEmptyContext(w,k)}getSource(E){if(this.useSourceMap||this.useSimpleSourceMap){return new w(E,this.identifier())}return new N(E)}codeGeneration(E){const{chunkGraph:k}=E;const S=new Map;S.set("javascript",this.getSource(this.getSourceString(this.options.mode,E)));const w=new Set;const N=this.dependencies.concat(this.blocks.map((E=>E.dependencies[0])));w.add(te.module);w.add(te.hasOwnProperty);if(N.length>0){const E=this.options.mode;w.add(te.require);if(E==="weak"){w.add(te.moduleFactories)}else if(E==="async-weak"){w.add(te.moduleFactories);w.add(te.ensureChunk)}else if(E==="lazy"||E==="lazy-once"){w.add(te.ensureChunk)}if(this.getFakeMap(N,k)!==9){w.add(te.createFakeNamespaceObject)}}return{sources:S,runtimeRequirements:w}}size(E){let k=160;for(const E of this.dependencies){const S=E;k+=5+S.userRequest.length}return k}serialize(E){const{write:k}=E;k(this._identifier);k(this._forceBuild);super.serialize(E)}deserialize(E){const{read:k}=E;this._identifier=k();this._forceBuild=k();super.deserialize(E)}}Ie(ContextModule,"webpack/lib/ContextModule");E.exports=ContextModule},89869:(E,k,S)=>{"use strict";const w=S(62355);const{AsyncSeriesWaterfallHook:N,SyncWaterfallHook:j}=S(92960);const q=S(58126);const ee=S(40674);const te=S(90872);const ne=S(83379);const{cachedSetProperty:ae}=S(90149);const{createFakeHook:_e}=S(16595);const{join:ve}=S(95396);const Ee={};E.exports=class ContextModuleFactory extends ee{constructor(E){super();const k=new N(["modules","options"]);this.hooks=Object.freeze({beforeResolve:new N(["data"]),afterResolve:new N(["data"]),contextModuleFiles:new j(["files"]),alternatives:_e({name:"alternatives",intercept:E=>{throw new Error("Intercepting fake hook ContextModuleFactory.hooks.alternatives is not possible, use ContextModuleFactory.hooks.alternativeRequests instead")},tap:(E,S)=>{k.tap(E,S)},tapAsync:(E,S)=>{k.tapAsync(E,((E,k,w)=>S(E,w)))},tapPromise:(E,S)=>{k.tapPromise(E,S)}},"ContextModuleFactory.hooks.alternatives has deprecated in favor of ContextModuleFactory.hooks.alternativeRequests with an additional options argument.","DEP_WEBPACK_CONTEXT_MODULE_FACTORY_ALTERNATIVES"),alternativeRequests:k});this.resolverFactory=E}create(E,k){const S=E.context;const N=E.dependencies;const j=E.resolveOptions;const ee=N[0];const te=new ne;const _e=new ne;const ve=new ne;this.hooks.beforeResolve.callAsync({context:S,dependencies:N,resolveOptions:j,fileDependencies:te,missingDependencies:_e,contextDependencies:ve,...ee.options},((E,S)=>{if(E){return k(E,{fileDependencies:te,missingDependencies:_e,contextDependencies:ve})}if(!S){return k(null,{fileDependencies:te,missingDependencies:_e,contextDependencies:ve})}const j=S.context;const ee=S.request;const ne=S.resolveOptions;let we,Ce,Me="";const Te=ee.lastIndexOf("!");if(Te>=0){let E=ee.substr(0,Te+1);let k;for(k=0;k0?ae(ne||Ee,"dependencyType",N[0].category):ne);const Oe=this.resolverFactory.get("loader");w.parallel([E=>{Ie.resolve({},j,Ce,{fileDependencies:te,missingDependencies:_e,contextDependencies:ve},((k,S)=>{if(k)return E(k);E(null,S)}))},E=>{w.map(we,((E,k)=>{Oe.resolve({},j,E,{fileDependencies:te,missingDependencies:_e,contextDependencies:ve},((E,S)=>{if(E)return k(E);k(null,S)}))}),E)}],((E,w)=>{if(E){return k(E,{fileDependencies:te,missingDependencies:_e,contextDependencies:ve})}this.hooks.afterResolve.callAsync({addon:Me+w[1].join("!")+(w[1].length>0?"!":""),resource:w[0],resolveDependencies:this.resolveDependencies.bind(this),...S},((E,S)=>{if(E){return k(E,{fileDependencies:te,missingDependencies:_e,contextDependencies:ve})}if(!S){return k(null,{fileDependencies:te,missingDependencies:_e,contextDependencies:ve})}return k(null,{module:new q(S.resolveDependencies,S),fileDependencies:te,missingDependencies:_e,contextDependencies:ve})}))}))}))}resolveDependencies(E,k,S){const N=this;const{resource:j,resourceQuery:q,resourceFragment:ee,recursive:ne,regExp:ae,include:_e,exclude:Ee,referencedExports:we,category:Ce,typePrefix:Me}=k;if(!ae||!j)return S(null,[]);const addDirectoryChecked=(k,S,w)=>{E.realpath(k,((E,N)=>{if(E)return w(E);if(S.has(N))return w(null,[]);let j;addDirectory(k,((E,k)=>{if(j===undefined){j=new Set(S);j.add(N)}addDirectoryChecked(E,j,k)}),w)}))};const addDirectory=(S,Te,Ie)=>{E.readdir(S,((Oe,Re)=>{if(Oe)return Ie(Oe);const Fe=N.hooks.contextModuleFiles.call(Re.map((E=>E.normalize("NFC"))));if(!Fe||Fe.length===0)return Ie(null,[]);w.map(Fe.filter((E=>E.indexOf(".")!==0)),((w,N)=>{const Ie=ve(E,S,w);if(!Ee||!Ie.match(Ee)){E.stat(Ie,((E,S)=>{if(E){if(E.code==="ENOENT"){return N()}else{return N(E)}}if(S.isDirectory()){if(!ne)return N();Te(Ie,N)}else if(S.isFile()&&(!_e||Ie.match(_e))){const E={context:j,request:"."+Ie.substr(j.length).replace(/\\/g,"/")};this.hooks.alternativeRequests.callAsync([E],k,((E,k)=>{if(E)return N(E);k=k.filter((E=>ae.test(E.request))).map((E=>{const k=new te(E.request+q+ee,E.request,Me,Ce,we);k.optional=true;return k}));N(null,k)}))}else{N()}}))}else{N()}}),((E,k)=>{if(E)return Ie(E);if(!k)return Ie(null,[]);const S=[];for(const E of k){if(E)S.push(...E)}Ie(null,S)}))}))};if(typeof E.realpath==="function"){addDirectoryChecked(j,new Set,S)}else{const addSubDirectory=(E,k)=>addDirectory(E,addSubDirectory,k);addDirectory(j,addSubDirectory,S)}}}},26552:(E,k,S)=>{"use strict";const w=S(90872);const{join:N}=S(95396);class ContextReplacementPlugin{constructor(E,k,S,w){this.resourceRegExp=E;if(typeof k==="function"){this.newContentCallback=k}else if(typeof k==="string"&&typeof S==="object"){this.newContentResource=k;this.newContentCreateContextMap=(E,k)=>{k(null,S)}}else if(typeof k==="string"&&typeof S==="function"){this.newContentResource=k;this.newContentCreateContextMap=S}else{if(typeof k!=="string"){w=S;S=k;k=undefined}if(typeof S!=="boolean"){w=S;S=undefined}this.newContentResource=k;this.newContentRecursive=S;this.newContentRegExp=w}}apply(E){const k=this.resourceRegExp;const S=this.newContentCallback;const w=this.newContentResource;const j=this.newContentRecursive;const q=this.newContentRegExp;const ee=this.newContentCreateContextMap;E.hooks.contextModuleFactory.tap("ContextReplacementPlugin",(te=>{te.hooks.beforeResolve.tap("ContextReplacementPlugin",(E=>{if(!E)return;if(k.test(E.request)){if(w!==undefined){E.request=w}if(j!==undefined){E.recursive=j}if(q!==undefined){E.regExp=q}if(typeof S==="function"){S(E)}else{for(const k of E.dependencies){if(k.critical)k.critical=false}}}return E}));te.hooks.afterResolve.tap("ContextReplacementPlugin",(te=>{if(!te)return;if(k.test(te.resource)){if(w!==undefined){if(w.startsWith("/")||w.length>1&&w[1]===":"){te.resource=w}else{te.resource=N(E.inputFileSystem,te.resource,w)}}if(j!==undefined){te.recursive=j}if(q!==undefined){te.regExp=q}if(typeof ee==="function"){te.resolveDependencies=createResolveDependenciesFromContextMap(ee)}if(typeof S==="function"){const k=te.resource;S(te);if(te.resource!==k&&!te.resource.startsWith("/")&&(te.resource.length<=1||te.resource[1]!==":")){te.resource=N(E.inputFileSystem,k,te.resource)}}else{for(const E of te.dependencies){if(E.critical)E.critical=false}}}return te}))}))}}const createResolveDependenciesFromContextMap=E=>{const resolveDependenciesFromContextMap=(k,S,N)=>{E(k,((E,k)=>{if(E)return N(E);const j=Object.keys(k).map((E=>new w(k[E]+S.resourceQuery+S.resourceFragment,E,S.category,S.referencedExports)));N(null,j)}))};return resolveDependenciesFromContextMap};E.exports=ContextReplacementPlugin},24820:(E,k,S)=>{"use strict";const w=S(76150);const N=S(81627);const j=S(66298);const q=S(87250);const{evaluateToString:ee,toConstantDependency:te}=S(48472);const{provide:ne}=S(67585);class RuntimeValue{constructor(E,k){this.fn=E;if(Array.isArray(k)){k={fileDependencies:k}}this.options=k||{}}get fileDependencies(){return this.options===true?true:this.options.fileDependencies}exec(E,k,S){const w=E.state.module.buildInfo;if(this.options===true){w.cacheable=false}else{if(this.options.fileDependencies){for(const E of this.options.fileDependencies){w.fileDependencies.add(E)}}if(this.options.contextDependencies){for(const E of this.options.contextDependencies){w.contextDependencies.add(E)}}if(this.options.missingDependencies){for(const E of this.options.missingDependencies){w.missingDependencies.add(E)}}if(this.options.buildDependencies){for(const E of this.options.buildDependencies){w.buildDependencies.add(E)}}}return this.fn({module:E.state.module,key:S,get version(){return k.get(ae+S)}})}getCacheVersion(){return this.options===true?undefined:(typeof this.options.version==="function"?this.options.version():this.options.version)||"unset"}}const stringifyObj=(E,k,S,w,N,j)=>{let q;let ee=Array.isArray(E);if(ee){q=`[${E.map((E=>toCode(E,k,S,w,N,null))).join(",")}]`}else{q=`{${Object.keys(E).map((w=>{const j=E[w];return JSON.stringify(w)+":"+toCode(j,k,S,w,N,null)})).join(",")}}`}switch(j){case null:return q;case true:return ee?q:`(${q})`;case false:return ee?`;${q}`:`;(${q})`;default:return`Object(${q})`}};const toCode=(E,k,S,w,N,j)=>{if(E===null){return"null"}if(E===undefined){return"undefined"}if(Object.is(E,-0)){return"-0"}if(E instanceof RuntimeValue){return toCode(E.exec(k,S,w),k,S,w,N,j)}if(E instanceof RegExp&&E.toString){return E.toString()}if(typeof E==="function"&&E.toString){return"("+E.toString()+")"}if(typeof E==="object"){return stringifyObj(E,k,S,w,N,j)}if(typeof E==="bigint"){return N.supportsBigIntLiteral()?`${E}n`:`BigInt("${E}")`}return E+""};const toCacheVersion=E=>{if(E===null){return"null"}if(E===undefined){return"undefined"}if(Object.is(E,-0)){return"-0"}if(E instanceof RuntimeValue){return E.getCacheVersion()}if(E instanceof RegExp&&E.toString){return E.toString()}if(typeof E==="function"&&E.toString){return"("+E.toString()+")"}if(typeof E==="object"){const k=Object.keys(E).map((k=>({key:k,value:toCacheVersion(E[k])})));if(k.some((({value:E})=>E===undefined)))return undefined;return`{${k.map((({key:E,value:k})=>`${E}: ${k}`)).join(", ")}}`}if(typeof E==="bigint"){return`${E}n`}return E+""};const ae="webpack/DefinePlugin ";const _e="webpack/DefinePlugin";class DefinePlugin{constructor(E){this.definitions=E}static runtimeValue(E,k){return new RuntimeValue(E,k)}apply(E){const k=this.definitions;E.hooks.compilation.tap("DefinePlugin",((E,{normalModuleFactory:S})=>{E.dependencyTemplates.set(j,new j.Template);const{runtimeTemplate:ve}=E;const Ee=ne(E.valueCacheVersions,_e,(()=>new Set));const handler=S=>{S.hooks.program.tap("DefinePlugin",(()=>{const{buildInfo:E}=S.state.module;if(!E.valueDependencies)E.valueDependencies=new Map;E.valueDependencies.set(_e,Ee)}));const addValueDependency=k=>{const{buildInfo:w}=S.state.module;w.valueDependencies.set(ae+k,E.valueCacheVersions.get(ae+k))};const withValueDependency=(E,k)=>(...S)=>{addValueDependency(E);return k(...S)};const walkDefinitions=(E,k)=>{Object.keys(E).forEach((S=>{const w=E[S];if(w&&typeof w==="object"&&!(w instanceof RuntimeValue)&&!(w instanceof RegExp)){walkDefinitions(w,k+S+".");applyObjectDefine(k+S,w);return}applyDefineKey(k,S);applyDefine(k+S,w)}))};const applyDefineKey=(E,k)=>{const w=k.split(".");w.slice(1).forEach(((N,j)=>{const q=E+w.slice(0,j+1).join(".");S.hooks.canRename.for(q).tap("DefinePlugin",(()=>{addValueDependency(k);return true}))}))};const applyDefine=(k,N)=>{const j=k;const q=/^typeof\s+/.test(k);if(q)k=k.replace(/^typeof\s+/,"");let ee=false;let ne=false;if(!q){S.hooks.canRename.for(k).tap("DefinePlugin",(()=>{addValueDependency(j);return true}));S.hooks.evaluateIdentifier.for(k).tap("DefinePlugin",(w=>{if(ee)return;addValueDependency(j);ee=true;const q=S.evaluate(toCode(N,S,E.valueCacheVersions,k,ve,null));ee=false;q.setRange(w.range);return q}));S.hooks.expression.for(k).tap("DefinePlugin",(k=>{addValueDependency(j);const q=toCode(N,S,E.valueCacheVersions,j,ve,!S.isAsiPosition(k.range[0]));if(/__webpack_require__\s*(!?\.)/.test(q)){return te(S,q,[w.require])(k)}else if(/__webpack_require__/.test(q)){return te(S,q,[w.requireScope])(k)}else{return te(S,q)(k)}}))}S.hooks.evaluateTypeof.for(k).tap("DefinePlugin",(k=>{if(ne)return;ne=true;addValueDependency(j);const w=toCode(N,S,E.valueCacheVersions,j,ve,null);const ee=q?w:"typeof ("+w+")";const te=S.evaluate(ee);ne=false;te.setRange(k.range);return te}));S.hooks.typeof.for(k).tap("DefinePlugin",(k=>{addValueDependency(j);const w=toCode(N,S,E.valueCacheVersions,j,ve,null);const ee=q?w:"typeof ("+w+")";const ne=S.evaluate(ee);if(!ne.isString())return;return te(S,JSON.stringify(ne.string)).bind(S)(k)}))};const applyObjectDefine=(k,N)=>{S.hooks.canRename.for(k).tap("DefinePlugin",(()=>{addValueDependency(k);return true}));S.hooks.evaluateIdentifier.for(k).tap("DefinePlugin",(E=>{addValueDependency(k);return(new q).setTruthy().setSideEffects(false).setRange(E.range)}));S.hooks.evaluateTypeof.for(k).tap("DefinePlugin",withValueDependency(k,ee("object")));S.hooks.expression.for(k).tap("DefinePlugin",(j=>{addValueDependency(k);const q=stringifyObj(N,S,E.valueCacheVersions,k,ve,!S.isAsiPosition(j.range[0]));if(/__webpack_require__\s*(!?\.)/.test(q)){return te(S,q,[w.require])(j)}else if(/__webpack_require__/.test(q)){return te(S,q,[w.requireScope])(j)}else{return te(S,q)(j)}}));S.hooks.typeof.for(k).tap("DefinePlugin",withValueDependency(k,te(S,JSON.stringify("object"))))};walkDefinitions(k,"")};S.hooks.parser.for("javascript/auto").tap("DefinePlugin",handler);S.hooks.parser.for("javascript/dynamic").tap("DefinePlugin",handler);S.hooks.parser.for("javascript/esm").tap("DefinePlugin",handler);const walkDefinitionsForValues=(k,S)=>{Object.keys(k).forEach((w=>{const j=k[w];const q=toCacheVersion(j);const ee=ae+S+w;Ee.add(ee);const te=E.valueCacheVersions.get(ee);if(te===undefined){E.valueCacheVersions.set(ee,q)}else if(te!==q){const k=new N(`DefinePlugin\nConflicting values for '${S+w}'`);k.details=`'${te}' !== '${q}'`;k.hideStack=true;E.warnings.push(k)}if(j&&typeof j==="object"&&!(j instanceof RuntimeValue)&&!(j instanceof RegExp)){walkDefinitionsForValues(j,S+w+".")}}))};walkDefinitionsForValues(k,"")}))}}E.exports=DefinePlugin},3955:(E,k,S)=>{"use strict";const{OriginalSource:w,RawSource:N}=S(48135);const j=S(53453);const q=S(76150);const ee=S(49422);const te=S(96076);const ne=S(56202);const ae=new Set(["javascript"]);const _e=new Set([q.module,q.require]);class DelegatedModule extends j{constructor(E,k,S,w,N){super("javascript/dynamic",null);this.sourceRequest=E;this.request=k.id;this.delegationType=S;this.userRequest=w;this.originalRequest=N;this.delegateData=k;this.delegatedSourceDependency=undefined}getSourceTypes(){return ae}libIdent(E){return typeof this.originalRequest==="string"?this.originalRequest:this.originalRequest.libIdent(E)}identifier(){return`delegated ${JSON.stringify(this.request)} from ${this.sourceRequest}`}readableIdentifier(E){return`delegated ${this.userRequest} from ${this.sourceRequest}`}needBuild(E,k){return k(null,!this.buildMeta)}build(E,k,S,w,N){this.buildMeta={...this.delegateData.buildMeta};this.buildInfo={};this.dependencies.length=0;this.delegatedSourceDependency=new ee(this.sourceRequest);this.addDependency(this.delegatedSourceDependency);this.addDependency(new te(this.delegateData.exports||true,false));N()}codeGeneration({runtimeTemplate:E,moduleGraph:k,chunkGraph:S}){const j=this.dependencies[0];const q=k.getModule(j);let ee;if(!q){ee=E.throwMissingModuleErrorBlock({request:this.sourceRequest})}else{ee=`module.exports = (${E.moduleExports({module:q,chunkGraph:S,request:j.request,runtimeRequirements:new Set})})`;switch(this.delegationType){case"require":ee+=`(${JSON.stringify(this.request)})`;break;case"object":ee+=`[${JSON.stringify(this.request)}]`;break}ee+=";"}const te=new Map;if(this.useSourceMap||this.useSimpleSourceMap){te.set("javascript",new w(ee,this.identifier()))}else{te.set("javascript",new N(ee))}return{sources:te,runtimeRequirements:_e}}size(E){return 42}updateHash(E,k){E.update(this.delegationType);E.update(JSON.stringify(this.request));super.updateHash(E,k)}serialize(E){const{write:k}=E;k(this.sourceRequest);k(this.delegateData);k(this.delegationType);k(this.userRequest);k(this.originalRequest);super.serialize(E)}static deserialize(E){const{read:k}=E;const S=new DelegatedModule(k(),k(),k(),k(),k());S.deserialize(E);return S}updateCacheModule(E){super.updateCacheModule(E);const k=E;this.delegationType=k.delegationType;this.userRequest=k.userRequest;this.originalRequest=k.originalRequest;this.delegateData=k.delegateData}cleanupForCache(){super.cleanupForCache();this.delegateData=undefined}}ne(DelegatedModule,"webpack/lib/DelegatedModule");E.exports=DelegatedModule},56396:(E,k,S)=>{"use strict";const w=S(3955);class DelegatedModuleFactoryPlugin{constructor(E){this.options=E;E.type=E.type||"require";E.extensions=E.extensions||["",".js",".json",".wasm"]}apply(E){const k=this.options.scope;if(k){E.hooks.factorize.tapAsync("DelegatedModuleFactoryPlugin",((E,S)=>{const[N]=E.dependencies;const{request:j}=N;if(j&&j.startsWith(`${k}/`)){const E="."+j.substr(k.length);let N;if(E in this.options.content){N=this.options.content[E];return S(null,new w(this.options.source,N,this.options.type,E,j))}for(let k=0;k{const k=E.libIdent(this.options);if(k){if(k in this.options.content){const S=this.options.content[k];return new w(this.options.source,S,this.options.type,k,E)}}return E}))}}}E.exports=DelegatedModuleFactoryPlugin},82354:(E,k,S)=>{"use strict";const w=S(56396);const N=S(49422);class DelegatedPlugin{constructor(E){this.options=E}apply(E){E.hooks.compilation.tap("DelegatedPlugin",((E,{normalModuleFactory:k})=>{E.dependencyFactories.set(N,k)}));E.hooks.compile.tap("DelegatedPlugin",(({normalModuleFactory:k})=>{new w({associatedObjectForCache:E.root,...this.options}).apply(k)}))}}E.exports=DelegatedPlugin},32448:(E,k,S)=>{"use strict";const w=S(56202);class DependenciesBlock{constructor(){this.dependencies=[];this.blocks=[]}addBlock(E){this.blocks.push(E);E.parent=this}addDependency(E){this.dependencies.push(E)}removeDependency(E){const k=this.dependencies.indexOf(E);if(k>=0){this.dependencies.splice(k,1)}}clearDependenciesAndBlocks(){this.dependencies.length=0;this.blocks.length=0}updateHash(E,k){for(const S of this.dependencies){S.updateHash(E,k)}for(const S of this.blocks){S.updateHash(E,k)}}serialize({write:E}){E(this.dependencies);E(this.blocks)}deserialize({read:E}){this.dependencies=E();this.blocks=E();for(const E of this.blocks){E.parent=this}}}w(DependenciesBlock,"webpack/lib/DependenciesBlock");E.exports=DependenciesBlock},28706:(E,k,S)=>{"use strict";const w=S(91671);const N=w((()=>{const E=S(22804);return new E("/* (ignored) */",`ignored`,`(ignored)`)}));class Dependency{constructor(){this._parentModule=undefined;this._parentDependenciesBlock=undefined;this.weak=false;this.optional=false;this._locSL=0;this._locSC=0;this._locEL=0;this._locEC=0;this._locI=undefined;this._locN=undefined;this._loc=undefined}get type(){return"unknown"}get category(){return"unknown"}get loc(){if(this._loc!==undefined)return this._loc;const E={};if(this._locSL>0){E.start={line:this._locSL,column:this._locSC}}if(this._locEL>0){E.end={line:this._locEL,column:this._locEC}}if(this._locN!==undefined){E.name=this._locN}if(this._locI!==undefined){E.index=this._locI}return this._loc=E}set loc(E){if("start"in E&&typeof E.start==="object"){this._locSL=E.start.line||0;this._locSC=E.start.column||0}else{this._locSL=0;this._locSC=0}if("end"in E&&typeof E.end==="object"){this._locEL=E.end.line||0;this._locEC=E.end.column||0}else{this._locEL=0;this._locEC=0}if("index"in E){this._locI=E.index}else{this._locI=undefined}if("name"in E){this._locN=E.name}else{this._locN=undefined}this._loc=E}getResourceIdentifier(){return null}getReference(E){throw new Error("Dependency.getReference was removed in favor of Dependency.getReferencedExports, ModuleGraph.getModule and ModuleGraph.getConnection().active")}getReferencedExports(E,k){return Dependency.EXPORTS_OBJECT_REFERENCED}getCondition(E){return null}getExports(E){return undefined}getWarnings(E){return null}getErrors(E){return null}updateHash(E,k){}getNumberOfIdOccurrences(){return 1}getModuleEvaluationSideEffectsState(E){return true}createIgnoredModule(E){return N()}serialize({write:E}){E(this.weak);E(this.optional);E(this._locSL);E(this._locSC);E(this._locEL);E(this._locEC);E(this._locI);E(this._locN)}deserialize({read:E}){this.weak=E();this.optional=E();this._locSL=E();this._locSC=E();this._locEL=E();this._locEC=E();this._locI=E();this._locN=E()}}Dependency.NO_EXPORTS_REFERENCED=[];Dependency.EXPORTS_OBJECT_REFERENCED=[[]];Object.defineProperty(Dependency.prototype,"module",{get(){throw new Error("module property was removed from Dependency (use compilation.moduleGraph.getModule(dependency) instead)")},set(){throw new Error("module property was removed from Dependency (use compilation.moduleGraph.updateModule(dependency, module) instead)")}});Object.defineProperty(Dependency.prototype,"disconnect",{get(){throw new Error("disconnect was removed from Dependency (Dependency no longer carries graph specific information)")}});E.exports=Dependency},84304:(E,k,S)=>{"use strict";class DependencyTemplate{apply(E,k,w){const N=S(75884);throw new N}}E.exports=DependencyTemplate},46828:(E,k,S)=>{"use strict";const w=S(35891);class DependencyTemplates{constructor(){this._map=new Map;this._hash="31d6cfe0d16ae931b73c59d7e0c089c0"}get(E){return this._map.get(E)}set(E,k){this._map.set(E,k)}updateHash(E){const k=w("md4");k.update(this._hash);k.update(E);this._hash=k.digest("hex")}getHash(){return this._hash}clone(){const E=new DependencyTemplates;E._map=new Map(this._map);E._hash=this._hash;return E}}E.exports=DependencyTemplates},9013:(E,k,S)=>{"use strict";const w=S(80419);const N=S(95189);const j=S(66583);class DllEntryPlugin{constructor(E,k,S){this.context=E;this.entries=k;this.options=S}apply(E){E.hooks.compilation.tap("DllEntryPlugin",((E,{normalModuleFactory:k})=>{const S=new w;E.dependencyFactories.set(N,S);E.dependencyFactories.set(j,k)}));E.hooks.make.tapAsync("DllEntryPlugin",((E,k)=>{E.addEntry(this.context,new N(this.entries.map(((E,k)=>{const S=new j(E);S.loc={name:this.options.name,index:k};return S})),this.options.name),this.options,k)}))}}E.exports=DllEntryPlugin},44593:(E,k,S)=>{"use strict";const{RawSource:w}=S(48135);const N=S(53453);const j=S(76150);const q=S(56202);const ee=new Set(["javascript"]);const te=new Set([j.require,j.module]);class DllModule extends N{constructor(E,k,S){super("javascript/dynamic",E);this.dependencies=k;this.name=S}getSourceTypes(){return ee}identifier(){return`dll ${this.name}`}readableIdentifier(E){return`dll ${this.name}`}build(E,k,S,w,N){this.buildMeta={};this.buildInfo={};return N()}codeGeneration(E){const k=new Map;k.set("javascript",new w("module.exports = __webpack_require__;"));return{sources:k,runtimeRequirements:te}}needBuild(E,k){return k(null,!this.buildMeta)}size(E){return 12}updateHash(E,k){E.update("dll module");E.update(this.name||"");super.updateHash(E,k)}serialize(E){E.write(this.name);super.serialize(E)}deserialize(E){this.name=E.read();super.deserialize(E)}updateCacheModule(E){super.updateCacheModule(E);this.dependencies=E.dependencies}cleanupForCache(){super.cleanupForCache();this.dependencies=undefined}}q(DllModule,"webpack/lib/DllModule");E.exports=DllModule},80419:(E,k,S)=>{"use strict";const w=S(44593);const N=S(40674);class DllModuleFactory extends N{constructor(){super();this.hooks=Object.freeze({})}create(E,k){const S=E.dependencies[0];k(null,{module:new w(E.context,S.dependencies,S.name)})}}E.exports=DllModuleFactory},73887:(E,k,S)=>{"use strict";const w=S(9013);const N=S(6283);const j=S(77750);const q=S(35817);const ee=q(S(43548),(()=>S(39670)),{name:"Dll Plugin",baseDataPath:"options"});class DllPlugin{constructor(E){ee(E);this.options={...E,entryOnly:E.entryOnly!==false}}apply(E){E.hooks.entryOption.tap("DllPlugin",((k,S)=>{if(typeof S!=="function"){for(const N of Object.keys(S)){const j={name:N,filename:S.filename};new w(k,S[N].import,j).apply(E)}}else{throw new Error("DllPlugin doesn't support dynamic entry (function) yet")}return true}));new j(this.options).apply(E);if(!this.options.entryOnly){new N("DllPlugin").apply(E)}}}E.exports=DllPlugin},83515:(E,k,S)=>{"use strict";const w=S(78688);const N=S(56396);const j=S(59084);const q=S(81627);const ee=S(49422);const te=S(35817);const ne=S(49197).makePathsRelative;const ae=te(S(69744),(()=>S(53670)),{name:"Dll Reference Plugin",baseDataPath:"options"});class DllReferencePlugin{constructor(E){ae(E);this.options=E;this._compilationData=new WeakMap}apply(E){E.hooks.compilation.tap("DllReferencePlugin",((E,{normalModuleFactory:k})=>{E.dependencyFactories.set(ee,k)}));E.hooks.beforeCompile.tapAsync("DllReferencePlugin",((k,S)=>{if("manifest"in this.options){const N=this.options.manifest;if(typeof N==="string"){E.inputFileSystem.readFile(N,((j,q)=>{if(j)return S(j);const ee={path:N,data:undefined,error:undefined};try{ee.data=w(q.toString("utf-8"))}catch(k){const S=ne(E.options.context,N,E.root);ee.error=new DllManifestError(S,k.message)}this._compilationData.set(k,ee);return S()}));return}}return S()}));E.hooks.compile.tap("DllReferencePlugin",(k=>{let S=this.options.name;let w=this.options.sourceType;let q="content"in this.options?this.options.content:undefined;if("manifest"in this.options){let E=this.options.manifest;let N;if(typeof E==="string"){const E=this._compilationData.get(k);if(E.error){return}N=E.data}else{N=E}if(N){if(!S)S=N.name;if(!w)w=N.type;if(!q)q=N.content}}const ee={};const te="dll-reference "+S;ee[te]=S;const ne=k.normalModuleFactory;new j(w||"var",ee).apply(ne);new N({source:te,type:this.options.type,scope:this.options.scope,context:this.options.context||E.options.context,content:q,extensions:this.options.extensions,associatedObjectForCache:E.root}).apply(ne)}));E.hooks.compilation.tap("DllReferencePlugin",((E,k)=>{if("manifest"in this.options){let S=this.options.manifest;if(typeof S==="string"){const w=this._compilationData.get(k);if(w.error){E.errors.push(w.error)}E.fileDependencies.add(S)}}}))}}class DllManifestError extends q{constructor(E,k){super();this.name="DllManifestError";this.message=`Dll manifest ${E}\n${k}`}}E.exports=DllReferencePlugin},85227:(E,k,S)=>{"use strict";const w=S(64699);const N=S(59674);const j=S(66583);class DynamicEntryPlugin{constructor(E,k){this.context=E;this.entry=k}apply(E){E.hooks.compilation.tap("DynamicEntryPlugin",((E,{normalModuleFactory:k})=>{E.dependencyFactories.set(j,k)}));E.hooks.make.tapPromise("DynamicEntryPlugin",((k,S)=>Promise.resolve(this.entry()).then((S=>{const j=[];for(const q of Object.keys(S)){const ee=S[q];const te=w.entryDescriptionToOptions(E,q,ee);for(const E of ee.import){j.push(new Promise(((S,w)=>{k.addEntry(this.context,N.createDependency(E,te),te,(E=>{if(E)return w(E);S()}))})))}}return Promise.all(j)})).then((E=>{}))))}}E.exports=DynamicEntryPlugin},64699:(E,k,S)=>{"use strict";class EntryOptionPlugin{apply(E){E.hooks.entryOption.tap("EntryOptionPlugin",((k,S)=>{EntryOptionPlugin.applyEntryOption(E,k,S);return true}))}static applyEntryOption(E,k,w){if(typeof w==="function"){const N=S(85227);new N(k,w).apply(E)}else{const N=S(59674);for(const S of Object.keys(w)){const j=w[S];const q=EntryOptionPlugin.entryDescriptionToOptions(E,S,j);for(const S of j.import){new N(k,S,q).apply(E)}}}}static entryDescriptionToOptions(E,k,w){const N={name:k,filename:w.filename,runtime:w.runtime,layer:w.layer,dependOn:w.dependOn,publicPath:w.publicPath,chunkLoading:w.chunkLoading,wasmLoading:w.wasmLoading,library:w.library};if(w.layer!==undefined&&!E.options.experiments.layers){throw new Error("'entryOptions.layer' is only allowed when 'experiments.layers' is enabled")}if(w.chunkLoading){const k=S(50369);k.checkEnabled(E,w.chunkLoading)}if(w.wasmLoading){const k=S(69085);k.checkEnabled(E,w.wasmLoading)}if(w.library){const k=S(13984);k.checkEnabled(E,w.library.type)}return N}}E.exports=EntryOptionPlugin},59674:(E,k,S)=>{"use strict";const w=S(66583);class EntryPlugin{constructor(E,k,S){this.context=E;this.entry=k;this.options=S||""}apply(E){E.hooks.compilation.tap("EntryPlugin",((E,{normalModuleFactory:k})=>{E.dependencyFactories.set(w,k)}));const{entry:k,options:S,context:N}=this;const j=EntryPlugin.createDependency(k,S);E.hooks.make.tapAsync("EntryPlugin",((E,k)=>{E.addEntry(N,j,S,(E=>{k(E)}))}))}static createDependency(E,k){const S=new w(E);S.loc={name:typeof k==="object"?k.name:k};return S}}E.exports=EntryPlugin},71452:(E,k,S)=>{"use strict";const w=S(84558);class Entrypoint extends w{constructor(E,k=true){if(typeof E==="string"){E={name:E}}super({name:E.name});this.options=E;this._runtimeChunk=undefined;this._entrypointChunk=undefined;this._initial=k}isInitial(){return this._initial}setRuntimeChunk(E){this._runtimeChunk=E}getRuntimeChunk(){if(this._runtimeChunk)return this._runtimeChunk;for(const E of this.parentsIterable){if(E instanceof Entrypoint)return E.getRuntimeChunk()}return null}setEntrypointChunk(E){this._entrypointChunk=E}getEntrypointChunk(){return this._entrypointChunk}replaceChunk(E,k){if(this._runtimeChunk===E)this._runtimeChunk=k;if(this._entrypointChunk===E)this._entrypointChunk=k;return super.replaceChunk(E,k)}}E.exports=Entrypoint},64856:(E,k,S)=>{"use strict";const w=S(24820);const N=S(81627);class EnvironmentPlugin{constructor(...E){if(E.length===1&&Array.isArray(E[0])){this.keys=E[0];this.defaultValues={}}else if(E.length===1&&E[0]&&typeof E[0]==="object"){this.keys=Object.keys(E[0]);this.defaultValues=E[0]}else{this.keys=E;this.defaultValues={}}}apply(E){const k={};for(const S of this.keys){const w=process.env[S]!==undefined?process.env[S]:this.defaultValues[S];if(w===undefined){E.hooks.thisCompilation.tap("EnvironmentPlugin",(E=>{const k=new N(`EnvironmentPlugin - ${S} environment variable is undefined.\n\n`+"You can pass an object with default values to suppress this warning.\n"+"See https://webpack.js.org/plugins/environment-plugin for example.");k.name="EnvVariableNotDefinedError";E.errors.push(k)}))}k[`process.env.${S}`]=w===undefined?"undefined":JSON.stringify(w)}new w(k).apply(E)}}E.exports=EnvironmentPlugin},50717:(E,k)=>{"use strict";const S="LOADER_EXECUTION";const w="WEBPACK_OPTIONS";k.cutOffByFlag=(E,k)=>{E=E.split("\n");for(let S=0;Sk.cutOffByFlag(E,S);k.cutOffWebpackOptions=E=>k.cutOffByFlag(E,w);k.cutOffMultilineMessage=(E,k)=>{E=E.split("\n");k=k.split("\n");const S=[];E.forEach(((E,w)=>{if(!E.includes(k[w]))S.push(E)}));return S.join("\n")};k.cutOffMessage=(E,k)=>{const S=E.indexOf("\n");if(S===-1){return E===k?"":E}else{const w=E.substr(0,S);return w===k?E.substr(S+1):E}};k.cleanUp=(E,S)=>{E=k.cutOffLoaderExecution(E);E=k.cutOffMessage(E,S);return E};k.cleanUpWebpackOptions=(E,S)=>{E=k.cutOffWebpackOptions(E);E=k.cutOffMultilineMessage(E,S);return E}},91331:(E,k,S)=>{"use strict";const{ConcatSource:w,RawSource:N}=S(48135);const j=S(16734);const q=S(70354);const ee=S(18161);const te=new WeakMap;const ne=new N(`/*\n * ATTENTION: The "eval" devtool has been used (maybe by default in mode: "development").\n * This devtool is neither made for production nor for readable output files.\n * It uses "eval()" calls to create a separate source file in the browser devtools.\n * If you are trying to read the output file, select a different devtool (https://webpack.js.org/configuration/devtool/)\n * or disable the default devtool with "devtool: false".\n * If you are looking for production-ready output files, see mode: "production" (https://webpack.js.org/configuration/mode/).\n */\n`);class EvalDevToolModulePlugin{constructor(E){this.namespace=E.namespace||"";this.sourceUrlComment=E.sourceUrlComment||"\n//# sourceURL=[url]";this.moduleFilenameTemplate=E.moduleFilenameTemplate||"webpack://[namespace]/[resourcePath]?[loaders]"}apply(E){E.hooks.compilation.tap("EvalDevToolModulePlugin",(E=>{const k=ee.getCompilationHooks(E);k.renderModuleContent.tap("EvalDevToolModulePlugin",((E,k,{runtimeTemplate:S,chunkGraph:w})=>{const ee=te.get(E);if(ee!==undefined)return ee;if(k instanceof j){te.set(E,E);return E}const ne=E.source();const ae=q.createFilename(k,{moduleFilenameTemplate:this.moduleFilenameTemplate,namespace:this.namespace},{requestShortener:S.requestShortener,chunkGraph:w});const _e="\n"+this.sourceUrlComment.replace(/\[url\]/g,encodeURI(ae).replace(/%2F/g,"/").replace(/%20/g,"_").replace(/%5E/g,"^").replace(/%5C/g,"\\").replace(/^\//,""));const ve=new N(`eval(${JSON.stringify(ne+_e)});`);te.set(E,ve);return ve}));k.inlineInRuntimeBailout.tap("EvalDevToolModulePlugin",(()=>"the eval devtool is used."));k.render.tap("EvalDevToolModulePlugin",(E=>new w(ne,E)));k.chunkHash.tap("EvalDevToolModulePlugin",((E,k)=>{k.update("EvalDevToolModulePlugin");k.update("2")}))}))}}E.exports=EvalDevToolModulePlugin},23641:(E,k,S)=>{"use strict";const{ConcatSource:w,RawSource:N}=S(48135);const j=S(70354);const q=S(53520);const ee=S(26867);const te=S(18161);const ne=S(95734);const{absolutify:ae}=S(49197);const _e=new WeakMap;const ve=new N(`/*\n * ATTENTION: An "eval-source-map" devtool has been used.\n * This devtool is neither made for production nor for readable output files.\n * It uses "eval()" calls to create a separate source file with attached SourceMaps in the browser devtools.\n * If you are trying to read the output file, select a different devtool (https://webpack.js.org/configuration/devtool/)\n * or disable the default devtool with "devtool: false".\n * If you are looking for production-ready output files, see mode: "production" (https://webpack.js.org/configuration/mode/).\n */\n`);class EvalSourceMapDevToolPlugin{constructor(E){let k;if(typeof E==="string"){k={append:E}}else{k=E}this.sourceMapComment=k.append||"//# sourceURL=[module]\n//# sourceMappingURL=[url]";this.moduleFilenameTemplate=k.moduleFilenameTemplate||"webpack://[namespace]/[resource-path]?[hash]";this.namespace=k.namespace||"";this.options=k}apply(E){const k=this.options;E.hooks.compilation.tap("EvalSourceMapDevToolPlugin",(S=>{const Ee=te.getCompilationHooks(S);new ee(k).apply(S);const we=j.matchObject.bind(j,k);Ee.renderModuleContent.tap("EvalSourceMapDevToolPlugin",((w,ee,{runtimeTemplate:te,chunkGraph:ve})=>{const Ee=_e.get(w);if(Ee!==undefined){return Ee}const result=E=>{_e.set(w,E);return E};if(ee instanceof q){const E=ee;if(!we(E.resource)){return result(w)}}else if(ee instanceof ne){const E=ee;if(E.rootModule instanceof q){const k=E.rootModule;if(!we(k.resource)){return result(w)}}else{return result(w)}}else{return result(w)}let Ce;let Me;if(w.sourceAndMap){const E=w.sourceAndMap(k);Ce=E.map;Me=E.source}else{Ce=w.map(k);Me=w.source()}if(!Ce){return result(w)}Ce={...Ce};const Te=E.options.context;const Ie=E.root;const Oe=Ce.sources.map((E=>{if(!E.startsWith("webpack://"))return E;E=ae(Te,E.slice(10),Ie);const k=S.findModule(E);return k||E}));let Re=Oe.map((E=>j.createFilename(E,{moduleFilenameTemplate:this.moduleFilenameTemplate,namespace:this.namespace},{requestShortener:te.requestShortener,chunkGraph:ve})));Re=j.replaceDuplicates(Re,((E,k,S)=>{for(let k=0;k"the eval-source-map devtool is used."));Ee.render.tap("EvalSourceMapDevToolPlugin",(E=>new w(ve,E)));Ee.chunkHash.tap("EvalSourceMapDevToolPlugin",((E,k)=>{k.update("EvalSourceMapDevToolPlugin");k.update("2")}))}))}}E.exports=EvalSourceMapDevToolPlugin},76632:(E,k,S)=>{"use strict";const{equals:w}=S(73910);const N=S(16102);const j=S(56202);const{forEachRuntime:q}=S(37416);const ee=Object.freeze({Unused:0,OnlyPropertiesUsed:1,NoInfo:2,Unknown:3,Used:4});const RETURNS_TRUE=()=>true;const te=Symbol("circular target");class RestoreProvidedData{constructor(E,k,S,w){this.exports=E;this.otherProvided=k;this.otherCanMangleProvide=S;this.otherTerminalBinding=w}serialize({write:E}){E(this.exports);E(this.otherProvided);E(this.otherCanMangleProvide);E(this.otherTerminalBinding)}static deserialize({read:E}){return new RestoreProvidedData(E(),E(),E(),E())}}j(RestoreProvidedData,"webpack/lib/ModuleGraph","RestoreProvidedData");class ExportsInfo{constructor(){this._exports=new Map;this._otherExportsInfo=new ExportInfo(null);this._sideEffectsOnlyInfo=new ExportInfo("*side effects only*");this._exportsAreOrdered=false;this._redirectTo=undefined}get ownedExports(){return this._exports.values()}get orderedOwnedExports(){if(!this._exportsAreOrdered){this._sortExports()}return this._exports.values()}get exports(){if(this._redirectTo!==undefined){const E=new Map(this._redirectTo._exports);for(const[k,S]of this._exports){E.set(k,S)}return E.values()}return this._exports.values()}get orderedExports(){if(!this._exportsAreOrdered){this._sortExports()}if(this._redirectTo!==undefined){const E=new Map(Array.from(this._redirectTo.orderedExports,(E=>[E.name,E])));for(const[k,S]of this._exports){E.set(k,S)}this._sortExportsMap(E);return E.values()}return this._exports.values()}get otherExportsInfo(){if(this._redirectTo!==undefined)return this._redirectTo.otherExportsInfo;return this._otherExportsInfo}_sortExportsMap(E){if(E.size>1){const k=[];for(const S of E.values()){k.push(S.name)}k.sort();let S=0;for(const w of E.values()){const E=k[S];if(w.name!==E)break;S++}for(;S0){const k=this.getReadOnlyExportInfo(E[0]);if(!k.exportsInfo)return undefined;return k.exportsInfo.getNestedExportsInfo(E.slice(1))}return this}setUnknownExportsProvided(E,k,S,w,N){let j=false;if(k){for(const E of k){this.getExportInfo(E)}}for(const N of this._exports.values()){if(k&&k.has(N.name))continue;if(N.provided!==true&&N.provided!==null){N.provided=null;j=true}if(!E&&N.canMangleProvide!==false){N.canMangleProvide=false;j=true}if(S){N.setTarget(S,w,[N.name],-1)}}if(this._redirectTo!==undefined){if(this._redirectTo.setUnknownExportsProvided(E,k,S,w,N)){j=true}}else{if(this._otherExportsInfo.provided!==true&&this._otherExportsInfo.provided!==null){this._otherExportsInfo.provided=null;j=true}if(!E&&this._otherExportsInfo.canMangleProvide!==false){this._otherExportsInfo.canMangleProvide=false;j=true}if(S){this._otherExportsInfo.setTarget(S,w,undefined,N)}}return j}setUsedInUnknownWay(E){let k=false;for(const S of this._exports.values()){if(S.setUsedInUnknownWay(E)){k=true}}if(this._redirectTo!==undefined){if(this._redirectTo.setUsedInUnknownWay(E)){k=true}}else{if(this._otherExportsInfo.setUsedConditionally((E=>EE===ee.Unused),ee.Used,E)}isUsed(E){if(this._redirectTo!==undefined){if(this._redirectTo.isUsed(E)){return true}}else{if(this._otherExportsInfo.getUsed(E)!==ee.Unused){return true}}for(const k of this._exports.values()){if(k.getUsed(E)!==ee.Unused){return true}}return false}isModuleUsed(E){if(this.isUsed(E))return true;if(this._sideEffectsOnlyInfo.getUsed(E)!==ee.Unused)return true;return false}getUsedExports(E){if(!this._redirectTo!==undefined){switch(this._otherExportsInfo.getUsed(E)){case ee.NoInfo:return null;case ee.Unknown:case ee.OnlyPropertiesUsed:case ee.Used:return true}}const k=[];if(!this._exportsAreOrdered)this._sortExports();for(const S of this._exports.values()){switch(S.getUsed(E)){case ee.NoInfo:return null;case ee.Unknown:return true;case ee.OnlyPropertiesUsed:case ee.Used:k.push(S.name)}}if(this._redirectTo!==undefined){const S=this._redirectTo.getUsedExports(E);if(S===null)return null;if(S===true)return true;if(S!==false){for(const E of S){k.push(E)}}}if(k.length===0){switch(this._sideEffectsOnlyInfo.getUsed(E)){case ee.NoInfo:return null;case ee.Unused:return false}}return new N(k)}getProvidedExports(){if(!this._redirectTo!==undefined){switch(this._otherExportsInfo.provided){case undefined:return null;case null:return true;case true:return true}}const E=[];if(!this._exportsAreOrdered)this._sortExports();for(const k of this._exports.values()){switch(k.provided){case undefined:return null;case null:return true;case true:E.push(k.name)}}if(this._redirectTo!==undefined){const k=this._redirectTo.getProvidedExports();if(k===null)return null;if(k===true)return true;for(const S of k){if(!E.includes(S)){E.push(S)}}}return E}getRelevantExports(E){const k=[];for(const S of this._exports.values()){const w=S.getUsed(E);if(w===ee.Unused)continue;if(S.provided===false)continue;k.push(S)}if(this._redirectTo!==undefined){for(const S of this._redirectTo.getRelevantExports(E)){if(!this._exports.has(S.name))k.push(S)}}if(this._otherExportsInfo.provided!==false&&this._otherExportsInfo.getUsed(E)!==ee.Unused){k.push(this._otherExportsInfo)}return k}isExportProvided(E){if(Array.isArray(E)){const k=this.getReadOnlyExportInfo(E[0]);if(k.exportsInfo&&E.length>1){return k.exportsInfo.isExportProvided(E.slice(1))}return k.provided}const k=this.getReadOnlyExportInfo(E);return k.provided}getUsageKey(E){const k=[];if(this._redirectTo!==undefined){k.push(this._redirectTo.getUsageKey(E))}else{k.push(this._otherExportsInfo.getUsed(E))}k.push(this._sideEffectsOnlyInfo.getUsed(E));for(const S of this.orderedOwnedExports){k.push(S.getUsed(E))}return k.join("|")}isEquallyUsed(E,k){if(this._redirectTo!==undefined){if(!this._redirectTo.isEquallyUsed(E,k))return false}else{if(this._otherExportsInfo.getUsed(E)!==this._otherExportsInfo.getUsed(k)){return false}}if(this._sideEffectsOnlyInfo.getUsed(E)!==this._sideEffectsOnlyInfo.getUsed(k)){return false}for(const S of this.ownedExports){if(S.getUsed(E)!==S.getUsed(k))return false}return true}getUsed(E,k){if(Array.isArray(E)){if(E.length===0)return this.otherExportsInfo.getUsed(k);let S=this.getReadOnlyExportInfo(E[0]);if(S.exportsInfo&&E.length>1){return S.exportsInfo.getUsed(E.slice(1),k)}return S.getUsed(k)}let S=this.getReadOnlyExportInfo(E);return S.getUsed(k)}getUsedName(E,k){if(Array.isArray(E)){if(E.length===0){if(!this.isUsed(k))return false;return E}let S=this.getReadOnlyExportInfo(E[0]);const w=S.getUsedName(E[0],k);if(w===false)return false;const N=w===E[0]&&E.length===1?E:[w];if(E.length===1){return N}if(S.exportsInfo&&S.getUsed(k)===ee.OnlyPropertiesUsed){const w=S.exportsInfo.getUsedName(E.slice(1),k);if(!w)return false;return N.concat(w)}else{return N.concat(E.slice(1))}}else{let S=this.getReadOnlyExportInfo(E);const w=S.getUsedName(E,k);return w}}updateHash(E,k){this._updateHash(E,k,new Set)}_updateHash(E,k,S){const w=new Set(S);w.add(this);for(const S of this.orderedExports){if(S.hasInfo(this._otherExportsInfo,k)){S._updateHash(E,k,w)}}this._sideEffectsOnlyInfo._updateHash(E,k,w);this._otherExportsInfo._updateHash(E,k,w);if(this._redirectTo!==undefined){this._redirectTo._updateHash(E,k,w)}}getRestoreProvidedData(){const E=this._otherExportsInfo.provided;const k=this._otherExportsInfo.canMangleProvide;const S=this._otherExportsInfo.terminalBinding;const w=[];for(const N of this.orderedExports){if(N.provided!==E||N.canMangleProvide!==k||N.terminalBinding!==S||N.exportsInfoOwned){w.push({name:N.name,provided:N.provided,canMangleProvide:N.canMangleProvide,terminalBinding:N.terminalBinding,exportsInfo:N.exportsInfoOwned?N.exportsInfo.getRestoreProvidedData():undefined})}}return new RestoreProvidedData(w,E,k,S)}restoreProvided({otherProvided:E,otherCanMangleProvide:k,otherTerminalBinding:S,exports:w}){let N=true;for(const w of this._exports.values()){N=false;w.provided=E;w.canMangleProvide=k;w.terminalBinding=S}this._otherExportsInfo.provided=E;this._otherExportsInfo.canMangleProvide=k;this._otherExportsInfo.terminalBinding=S;for(const E of w){const k=this.getExportInfo(E.name);k.provided=E.provided;k.canMangleProvide=E.canMangleProvide;k.terminalBinding=E.terminalBinding;if(E.exportsInfo){const S=k.createNestedExportsInfo();S.restoreProvided(E.exportsInfo)}}if(N)this._exportsAreOrdered=true}}class ExportInfo{constructor(E,k){this.name=E;this._usedName=k?k._usedName:null;this._globalUsed=k?k._globalUsed:undefined;this._usedInRuntime=k&&k._usedInRuntime?new Map(k._usedInRuntime):undefined;this._hasUseInRuntimeInfo=k?k._hasUseInRuntimeInfo:false;this.provided=k?k.provided:undefined;this.terminalBinding=k?k.terminalBinding:false;this.canMangleProvide=k?k.canMangleProvide:undefined;this.canMangleUse=k?k.canMangleUse:undefined;this.exportsInfoOwned=false;this.exportsInfo=undefined;this._target=undefined;if(k&&k._target){this._target=new Map;for(const[S,w]of k._target){this._target.set(S,{connection:w.connection,export:w.export||[E],priority:w.priority})}}this._maxTarget=undefined}get used(){throw new Error("REMOVED")}get usedName(){throw new Error("REMOVED")}set used(E){throw new Error("REMOVED")}set usedName(E){throw new Error("REMOVED")}get canMangle(){switch(this.canMangleProvide){case undefined:return this.canMangleUse===false?false:undefined;case false:return false;case true:switch(this.canMangleUse){case undefined:return undefined;case false:return false;case true:return true}}throw new Error(`Unexpected flags for canMangle ${this.canMangleProvide} ${this.canMangleUse}`)}setUsedInUnknownWay(E){let k=false;if(this.setUsedConditionally((E=>Ethis._usedInRuntime.set(E,k)));return true}}else{let w=false;q(S,(S=>{let N=this._usedInRuntime.get(S);if(N===undefined)N=ee.Unused;if(k!==N&&E(N)){if(k===ee.Unused){this._usedInRuntime.delete(S)}else{this._usedInRuntime.set(S,k)}w=true}}));if(w){if(this._usedInRuntime.size===0)this._usedInRuntime=undefined;return true}}return false}setUsed(E,k){if(k===undefined){if(this._globalUsed!==E){this._globalUsed=E;return true}}else if(this._usedInRuntime===undefined){if(E!==ee.Unused){this._usedInRuntime=new Map;q(k,(k=>this._usedInRuntime.set(k,E)));return true}}else{let S=false;q(k,(k=>{let w=this._usedInRuntime.get(k);if(w===undefined)w=ee.Unused;if(E!==w){if(E===ee.Unused){this._usedInRuntime.delete(k)}else{this._usedInRuntime.set(k,E)}S=true}}));if(S){if(this._usedInRuntime.size===0)this._usedInRuntime=undefined;return true}}return false}unsetTarget(E){if(!this._target)return false;if(this._target.delete(E)){this._maxTarget=undefined;return true}return false}setTarget(E,k,S,N=0){if(S)S=[...S];if(!this._target){this._target=new Map;this._target.set(E,{connection:k,export:S,priority:N});return true}const j=this._target.get(E);if(!j){if(j===null&&!k)return false;this._target.set(E,{connection:k,export:S,priority:N});this._maxTarget=undefined;return true}if(j.connection!==k||j.priority!==N||(S?!j.export||!w(j.export,S):j.export)){j.connection=k;j.export=S;j.priority=N;this._maxTarget=undefined;return true}return false}getUsed(E){if(!this._hasUseInRuntimeInfo)return ee.NoInfo;if(this._globalUsed!==undefined)return this._globalUsed;if(this._usedInRuntime===undefined){return ee.Unused}else if(typeof E==="string"){const k=this._usedInRuntime.get(E);return k===undefined?ee.Unused:k}else if(E===undefined){let E=ee.Unused;for(const k of this._usedInRuntime.values()){if(k===ee.Used){return ee.Used}if(E!this._usedInRuntime.has(E)))){return false}}}}if(this._usedName!==null)return this._usedName;return this.name||E}hasUsedName(){return this._usedName!==null}setUsedName(E){this._usedName=E}getTerminalBinding(E,k=RETURNS_TRUE){if(this.terminalBinding)return this;const S=this.getTarget(E,k);if(!S)return undefined;const w=E.getExportsInfo(S.module);if(!S.export)return w;return w.getReadOnlyExportInfoRecursive(S.export)}isReexport(){return!this.terminalBinding&&this._target&&this._target.size>0}_getMaxTarget(){if(this._maxTarget!==undefined)return this._maxTarget;if(this._target.size<=1)return this._maxTarget=this._target;let E=-Infinity;let k=Infinity;for(const{priority:S}of this._target.values()){if(ES)k=S}if(E===k)return this._maxTarget=this._target;const S=new Map;for(const[k,w]of this._target){if(E===w.priority){S.set(k,w)}}this._maxTarget=S;return S}findTarget(E,k){return this._findTarget(E,k,new Set)}_findTarget(E,k,S){if(!this._target||this._target.size===0)return undefined;let w=this._getMaxTarget().values().next().value;if(!w)return undefined;let N={module:w.connection.module,export:w.export};for(;;){if(k(N.module))return N;const w=E.getExportsInfo(N.module);const j=w.getExportInfo(N.export[0]);if(S.has(j))return null;const q=j._findTarget(E,k,S);if(!q)return false;if(N.export.length===1){N=q}else{N={module:q.module,export:q.export?q.export.concat(N.export.slice(1)):N.export.slice(1)}}}}getTarget(E,k=RETURNS_TRUE){const S=this._getTarget(E,k,undefined);if(S===te)return undefined;return S}_getTarget(E,k,S){const resolveTarget=(S,w)=>{if(!S)return null;if(!S.export){return{module:S.connection.module,connection:S.connection,export:undefined}}let N={module:S.connection.module,connection:S.connection,export:S.export};if(!k(N))return N;let j=false;for(;;){const S=E.getExportsInfo(N.module);const q=S.getExportInfo(N.export[0]);if(!q)return N;if(w.has(q))return te;const ee=q._getTarget(E,k,w);if(ee===te)return te;if(!ee)return N;if(N.export.length===1){N=ee;if(!N.export)return N}else{N={module:ee.module,connection:ee.connection,export:ee.export?ee.export.concat(N.export.slice(1)):N.export.slice(1)}}if(!k(N))return N;if(!j){w=new Set(w);j=true}w.add(q)}};if(!this._target||this._target.size===0)return undefined;if(S&&S.has(this))return te;const N=new Set(S);N.add(this);const j=this._getMaxTarget().values();const q=resolveTarget(j.next().value,N);if(q===te)return te;if(q===null)return undefined;let ee=j.next();while(!ee.done){const E=resolveTarget(ee.value,N);if(E===te)return te;if(E===null)return undefined;if(E.module!==q.module)return undefined;if(!E.export!==!q.export)return undefined;if(q.export&&!w(E.export,q.export))return undefined;ee=j.next()}return q}moveTarget(E,k,S){const w=this._getTarget(E,k,undefined);if(w===te)return undefined;if(!w)return undefined;const N=this._getMaxTarget().values().next().value;if(N.connection===w.connection&&N.export===w.export){return undefined}this._target.clear();this._target.set(undefined,{connection:S?S(w):w.connection,export:w.export,priority:0});return w}createNestedExportsInfo(){if(this.exportsInfoOwned)return this.exportsInfo;this.exportsInfoOwned=true;const E=this.exportsInfo;this.exportsInfo=new ExportsInfo;this.exportsInfo.setHasProvideInfo();if(E){this.exportsInfo.setRedirectNamedTo(E)}return this.exportsInfo}getNestedExportsInfo(){return this.exportsInfo}hasInfo(E,k){return this._usedName&&this._usedName!==this.name||this.provided||this.terminalBinding||this.getUsed(k)!==E.getUsed(k)}updateHash(E,k){this._updateHash(E,k,new Set)}_updateHash(E,k,S){E.update(`${this._usedName||this.name}`);E.update(`${this.getUsed(k)}`);E.update(`${this.provided}`);E.update(`${this.terminalBinding}`);if(this.exportsInfo&&!S.has(this.exportsInfo)){this.exportsInfo._updateHash(E,k,S)}}getUsedInfo(){if(this._globalUsed!==undefined){switch(this._globalUsed){case ee.Unused:return"unused";case ee.NoInfo:return"no usage info";case ee.Unknown:return"maybe used (runtime-defined)";case ee.Used:return"used";case ee.OnlyPropertiesUsed:return"only properties used"}}else if(this._usedInRuntime!==undefined){const E=new Map;for(const[k,S]of this._usedInRuntime){const w=E.get(S);if(w!==undefined)w.push(k);else E.set(S,[k])}const k=Array.from(E,(([E,k])=>{switch(E){case ee.NoInfo:return`no usage info in ${k.join(", ")}`;case ee.Unknown:return`maybe used in ${k.join(", ")} (runtime-defined)`;case ee.Used:return`used in ${k.join(", ")}`;case ee.OnlyPropertiesUsed:return`only properties used in ${k.join(", ")}`}}));if(k.length>0){return k.join("; ")}}return this._hasUseInRuntimeInfo?"unused":"no usage info"}getProvidedInfo(){switch(this.provided){case undefined:return"no provided info";case null:return"maybe provided (runtime-defined)";case true:return"provided";case false:return"not provided"}}getRenameInfo(){if(this._usedName!==null&&this._usedName!==this.name){return`renamed to ${JSON.stringify(this._usedName).slice(1,-1)}`}switch(this.canMangleProvide){case undefined:switch(this.canMangleUse){case undefined:return"missing provision and use info prevents renaming";case false:return"usage prevents renaming (no provision info)";case true:return"missing provision info prevents renaming"}break;case true:switch(this.canMangleUse){case undefined:return"missing usage info prevents renaming";case false:return"usage prevents renaming";case true:return"could be renamed"}break;case false:switch(this.canMangleUse){case undefined:return"provision prevents renaming (no use info)";case false:return"usage and provision prevents renaming";case true:return"provision prevents renaming"}break}throw new Error(`Unexpected flags for getRenameInfo ${this.canMangleProvide} ${this.canMangleUse}`)}}E.exports=ExportsInfo;E.exports.ExportInfo=ExportInfo;E.exports.UsageState=ee},29672:(E,k,S)=>{"use strict";const w=S(66298);const N=S(51420);class ExportsInfoApiPlugin{apply(E){E.hooks.compilation.tap("ExportsInfoApiPlugin",((E,{normalModuleFactory:k})=>{E.dependencyTemplates.set(N,new N.Template);const handler=E=>{E.hooks.expressionMemberChain.for("__webpack_exports_info__").tap("ExportsInfoApiPlugin",((k,S)=>{const w=S.length>=2?new N(k.range,S.slice(0,-1),S[S.length-1]):new N(k.range,null,S[0]);w.loc=k.loc;E.state.module.addDependency(w);return true}));E.hooks.expression.for("__webpack_exports_info__").tap("ExportsInfoApiPlugin",(k=>{const S=new w("true",k.range);S.loc=k.loc;E.state.module.addPresentationalDependency(S);return true}))};k.hooks.parser.for("javascript/auto").tap("ExportsInfoApiPlugin",handler);k.hooks.parser.for("javascript/dynamic").tap("ExportsInfoApiPlugin",handler);k.hooks.parser.for("javascript/esm").tap("ExportsInfoApiPlugin",handler)}))}}E.exports=ExportsInfoApiPlugin},16734:(E,k,S)=>{"use strict";const{OriginalSource:w,RawSource:N}=S(48135);const j=S(77294);const{UsageState:q}=S(76632);const ee=S(63272);const te=S(53453);const ne=S(76150);const ae=S(58159);const _e=S(96076);const ve=S(10004);const Ee=S(56202);const we=S(68038);const{register:Ce}=S(24568);const Me=new Set(["javascript"]);const Te=new Set([ne.module]);const Ie=new Set([ne.loadScript]);const Oe=new Set([ne.definePropertyGetters]);const Re=new Set([]);const getSourceForGlobalVariableExternal=(E,k)=>{if(!Array.isArray(E)){E=[E]}const S=E.map((E=>`[${JSON.stringify(E)}]`)).join("");return{iife:k==="this",expression:`${k}${S}`}};const getSourceForCommonJsExternal=E=>{if(!Array.isArray(E)){return{expression:`require(${JSON.stringify(E)})`}}const k=E[0];return{expression:`require(${JSON.stringify(k)})${we(E,1)}`}};const getSourceForCommonJsExternalInNodeModule=E=>{const k=[new ee('import { createRequire as __WEBPACK_EXTERNAL_createRequire } from "module";\n',ee.STAGE_HARMONY_IMPORTS,0,"external module node-commonjs")];if(!Array.isArray(E)){return{expression:`__WEBPACK_EXTERNAL_createRequire(import.meta.url)(${JSON.stringify(E)})`,chunkInitFragments:k}}const S=E[0];return{expression:`__WEBPACK_EXTERNAL_createRequire(import.meta.url)(${JSON.stringify(S)})${we(E,1)}`,chunkInitFragments:k}};const getSourceForImportExternal=(E,k)=>{const S=k.outputOptions.importFunctionName;if(!k.supportsDynamicImport()&&S==="import"){throw new Error("The target environment doesn't support 'import()' so it's not possible to use external type 'import'")}if(!Array.isArray(E)){return{expression:`${S}(${JSON.stringify(E)});`}}if(E.length===1){return{expression:`${S}(${JSON.stringify(E[0])});`}}const w=E[0];return{expression:`${S}(${JSON.stringify(w)}).then(${k.returningFunction(`module${we(E,1)}`,"module")});`}};class ModuleExternalInitFragment extends ee{constructor(E,k){const S=`__WEBPACK_EXTERNAL_MODULE_${ae.toIdentifier(`${E}`)}__`;super(`import * as ${S} from ${JSON.stringify(k)};\n`,ee.STAGE_HARMONY_IMPORTS,0,`external module import ${E}`);this._identifier=S;this._id=E;this._request=k}getNamespaceIdentifier(){return this._identifier}}Ce(ModuleExternalInitFragment,"webpack/lib/ExternalModule","ModuleExternalInitFragment",{serialize(E,{write:k}){k(E._id);k(E._request)},deserialize({read:E}){return new ModuleExternalInitFragment(E(),E())}});const generateModuleRemapping=(E,k,S)=>{if(k.otherExportsInfo.getUsed(S)===q.Unused){const w=[];for(const N of k.orderedExports){const k=N.getUsedName(N.name,S);if(!k)continue;const j=N.getNestedExportsInfo();if(j){const S=generateModuleRemapping(`${E}${we([N.name])}`,j);if(S){w.push(`[${JSON.stringify(k)}]: y(${S})`);continue}}w.push(`[${JSON.stringify(k)}]: () => ${E}${we([N.name])}`)}return`x({ ${w.join(", ")} })`}};const getSourceForModuleExternal=(E,k,S,w)=>{if(!Array.isArray(k))k=[k];const N=new ModuleExternalInitFragment(E,k[0]);const j=`${N.getNamespaceIdentifier()}${we(k,1)}`;const q=generateModuleRemapping(j,S,w);let ee=q||j;return{expression:ee,init:`var x = y => { var x = {}; ${ne.definePropertyGetters}(x, y); return x; }\nvar y = x => () => x`,runtimeRequirements:q?Oe:undefined,chunkInitFragments:[N]}};const getSourceForScriptExternal=(E,k)=>{if(typeof E==="string"){E=ve(E)}const S=E[0];const w=E[1];return{init:"var __webpack_error__ = new Error();",expression:`new Promise(${k.basicFunction("resolve, reject",[`if(typeof ${w} !== "undefined") return resolve();`,`${ne.loadScript}(${JSON.stringify(S)}, ${k.basicFunction("event",[`if(typeof ${w} !== "undefined") return resolve();`,"var errorType = event && (event.type === 'load' ? 'missing' : event.type);","var realSrc = event && event.target && event.target.src;","__webpack_error__.message = 'Loading script failed.\\n(' + errorType + ': ' + realSrc + ')';","__webpack_error__.name = 'ScriptExternalLoadError';","__webpack_error__.type = errorType;","__webpack_error__.request = realSrc;","reject(__webpack_error__);"])}, ${JSON.stringify(w)});`])}).then(${k.returningFunction(`${w}${we(E,2)}`)})`,runtimeRequirements:Ie}};const checkExternalVariable=(E,k,S)=>`if(typeof ${E} === 'undefined') { ${S.throwMissingModuleErrorBlock({request:k})} }\n`;const getSourceForAmdOrUmdExternal=(E,k,S,w)=>{const N=`__WEBPACK_EXTERNAL_MODULE_${ae.toIdentifier(`${E}`)}__`;return{init:k?checkExternalVariable(N,Array.isArray(S)?S.join("."):S,w):undefined,expression:N}};const getSourceForDefaultCase=(E,k,S)=>{if(!Array.isArray(k)){k=[k]}const w=k[0];const N=we(k,1);return{init:E?checkExternalVariable(w,k.join("."),S):undefined,expression:`${w}${N}`}};class ExternalModule extends te{constructor(E,k,S){super("javascript/dynamic",null);this.request=E;this.externalType=k;this.userRequest=S}getSourceTypes(){return Me}libIdent(E){return this.userRequest}chunkCondition(E,{chunkGraph:k}){return k.getNumberOfEntryModules(E)>0}identifier(){return"external "+JSON.stringify(this.request)}readableIdentifier(E){return"external "+JSON.stringify(this.request)}needBuild(E,k){return k(null,!this.buildMeta)}build(E,k,S,w,N){this.buildMeta={async:false,exportsType:undefined};this.buildInfo={strict:true,topLevelDeclarations:new Set,module:k.outputOptions.module};const{request:j,externalType:q}=this._getRequestAndExternalType();this.buildMeta.exportsType="dynamic";let ee=false;this.clearDependenciesAndBlocks();switch(q){case"this":this.buildInfo.strict=false;break;case"system":if(!Array.isArray(j)||j.length===1){this.buildMeta.exportsType="namespace";ee=true}break;case"module":if(this.buildInfo.module){if(!Array.isArray(j)||j.length===1){this.buildMeta.exportsType="namespace";ee=true}}else{this.buildMeta.async=true;if(!Array.isArray(j)||j.length===1){this.buildMeta.exportsType="namespace";ee=false}}break;case"script":case"promise":this.buildMeta.async=true;break;case"import":this.buildMeta.async=true;if(!Array.isArray(j)||j.length===1){this.buildMeta.exportsType="namespace";ee=false}break}this.addDependency(new _e(true,ee));N()}getConcatenationBailoutReason({moduleGraph:E}){switch(this.externalType){case"amd":case"amd-require":case"umd":case"umd2":case"system":case"jsonp":return`${this.externalType} externals can't be concatenated`}return undefined}_getRequestAndExternalType(){let{request:E,externalType:k}=this;if(typeof E==="object"&&!Array.isArray(E))E=E[k];return{request:E,externalType:k}}_getSourceData(E,k,S,w){const{request:N,externalType:j}=this._getRequestAndExternalType();switch(j){case"this":case"window":case"self":return getSourceForGlobalVariableExternal(N,this.externalType);case"global":return getSourceForGlobalVariableExternal(N,E.outputOptions.globalObject);case"commonjs":case"commonjs2":case"commonjs-module":return getSourceForCommonJsExternal(N);case"node-commonjs":return this.buildInfo.module?getSourceForCommonJsExternalInNodeModule(N):getSourceForCommonJsExternal(N);case"amd":case"amd-require":case"umd":case"umd2":case"system":case"jsonp":return getSourceForAmdOrUmdExternal(S.getModuleId(this),this.isOptional(k),N,E);case"import":return getSourceForImportExternal(N,E);case"script":return getSourceForScriptExternal(N,E);case"module":if(!this.buildInfo.module){if(!E.supportsDynamicImport()){throw new Error("The target environment doesn't support dynamic import() syntax so it's not possible to use external type 'module' within a script"+(E.supportsEcmaScriptModuleSyntax()?"\nDid you mean to build a EcmaScript Module ('output.module: true')?":""))}return getSourceForImportExternal(N,E)}if(!E.supportsEcmaScriptModuleSyntax()){throw new Error("The target environment doesn't support EcmaScriptModule syntax so it's not possible to use external type 'module'")}return getSourceForModuleExternal(S.getModuleId(this),N,k.getExportsInfo(this),w);case"var":case"promise":case"const":case"let":case"assign":default:return getSourceForDefaultCase(this.isOptional(k),N,E)}}codeGeneration({runtimeTemplate:E,moduleGraph:k,chunkGraph:S,runtime:q,concatenationScope:ee}){const te=this._getSourceData(E,k,S,q);let ae=te.expression;if(te.iife)ae=`(function() { return ${ae}; }())`;if(ee){ae=`${E.supportsConst()?"const":"var"} ${j.NAMESPACE_OBJECT_EXPORT} = ${ae};`;ee.registerNamespaceExport(j.NAMESPACE_OBJECT_EXPORT)}else{ae=`module.exports = ${ae};`}if(te.init)ae=`${te.init}\n${ae}`;let _e=undefined;if(te.chunkInitFragments){_e=new Map;_e.set("chunkInitFragments",te.chunkInitFragments)}const ve=new Map;if(this.useSourceMap||this.useSimpleSourceMap){ve.set("javascript",new w(ae,this.identifier()))}else{ve.set("javascript",new N(ae))}let Ee=te.runtimeRequirements;if(!ee){if(!Ee){Ee=Te}else{const E=new Set(Ee);E.add(ne.module);Ee=E}}return{sources:ve,runtimeRequirements:Ee||Re,data:_e}}size(E){return 42}updateHash(E,k){const{chunkGraph:S}=k;E.update(this.externalType);E.update(JSON.stringify(this.request));E.update(JSON.stringify(Boolean(this.isOptional(S.moduleGraph))));super.updateHash(E,k)}serialize(E){const{write:k}=E;k(this.request);k(this.externalType);k(this.userRequest);super.serialize(E)}deserialize(E){const{read:k}=E;this.request=k();this.externalType=k();this.userRequest=k();super.deserialize(E)}}Ee(ExternalModule,"webpack/lib/ExternalModule");E.exports=ExternalModule},59084:(E,k,S)=>{"use strict";const w=S(31669);const N=S(16734);const{resolveByProperty:j,cachedSetProperty:q}=S(90149);const ee=/^[a-z0-9-]+ /;const te={};const ne=w.deprecate(((E,k,S,w)=>{E.call(null,k,S,w)}),"The externals-function should be defined like ({context, request}, cb) => { ... }","DEP_WEBPACK_EXTERNALS_FUNCTION_PARAMETERS");const ae=new WeakMap;const resolveLayer=(E,k)=>{let S=ae.get(E);if(S===undefined){S=new Map;ae.set(E,S)}else{const E=S.get(k);if(E!==undefined)return E}const w=j(E,"byLayer",k);S.set(k,w);return w};class ExternalModuleFactoryPlugin{constructor(E,k){this.type=E;this.externals=k}apply(E){const k=this.type;E.hooks.factorize.tapAsync("ExternalModuleFactoryPlugin",((S,w)=>{const j=S.context;const ae=S.contextInfo;const _e=S.dependencies[0];const handleExternal=(E,S,w)=>{if(E===false){return w()}let j;if(E===true){j=_e.request}else{j=E}if(S===undefined){if(typeof j==="string"&&ee.test(j)){const E=j.indexOf(" ");S=j.substr(0,E);j=j.substr(E+1)}else if(Array.isArray(j)&&j.length>0&&ee.test(j[0])){const E=j[0];const k=E.indexOf(" ");S=E.substr(0,k);j=[E.substr(k+1),...j.slice(1)]}}w(null,new N(j,S||k,_e.request))};const handleExternals=(k,w)=>{if(typeof k==="string"){if(k===_e.request){return handleExternal(_e.request,undefined,w)}}else if(Array.isArray(k)){let E=0;const next=()=>{let S;const handleExternalsAndCallback=(E,k)=>{if(E)return w(E);if(!k){if(S){S=false;return}return next()}w(null,k)};do{S=true;if(E>=k.length)return w();handleExternals(k[E++],handleExternalsAndCallback)}while(!S);S=false};next();return}else if(k instanceof RegExp){if(k.test(_e.request)){return handleExternal(_e.request,undefined,w)}}else if(typeof k==="function"){const cb=(E,k,S)=>{if(E)return w(E);if(k!==undefined){handleExternal(k,S,w)}else{w()}};if(k.length===3){ne(k,j,_e.request,cb)}else{const w=_e.category||"";const N=k({context:j,request:_e.request,dependencyType:w,contextInfo:ae,getResolve:k=>(N,j,ee)=>{const ne={fileDependencies:S.fileDependencies,missingDependencies:S.missingDependencies,contextDependencies:S.contextDependencies};let ae=E.getResolver("normal",w?q(S.resolveOptions||te,"dependencyType",w):S.resolveOptions);if(k)ae=ae.withOptions(k);if(ee){ae.resolve({},N,j,ne,ee)}else{return new Promise(((E,k)=>{ae.resolve({},N,j,ne,((S,w)=>{if(S)k(S);else E(w)}))}))}}},cb);if(N&&N.then)N.then((E=>cb(null,E)),cb)}return}else if(typeof k==="object"){const E=resolveLayer(k,ae.issuerLayer);if(Object.prototype.hasOwnProperty.call(E,_e.request)){return handleExternal(E[_e.request],undefined,w)}}w()};handleExternals(this.externals,w)}))}}E.exports=ExternalModuleFactoryPlugin},61050:(E,k,S)=>{"use strict";const w=S(59084);class ExternalsPlugin{constructor(E,k){this.type=E;this.externals=k}apply(E){E.hooks.compile.tap("ExternalsPlugin",(({normalModuleFactory:E})=>{new w(this.type,this.externals).apply(E)}))}}E.exports=ExternalsPlugin},22996:(E,k,S)=>{"use strict";const{create:w}=S(2357);const N=S(62355);const j=S(9738);const q=S(35891);const{join:ee,dirname:te,relative:ne}=S(95396);const ae=S(56202);const _e=S(2117);const ve=+process.versions.modules>=83;let Ee=2e3;const we=new Set;const Ce=0;const Me=1;const Te=2;const Ie=3;const Oe=4;const Re=5;const Fe=6;const Ne=7;const Be=8;const Le=9;const je=Symbol("invalid");const $e=(new Set).keys().next();class SnapshotIterator{constructor(E){this.next=E}}class SnapshotIterable{constructor(E,k){this.snapshot=E;this.getMaps=k}[Symbol.iterator](){let E=0;let k;let S;let w;let N;let j;return new SnapshotIterator((()=>{for(;;){switch(E){case 0:N=this.snapshot;S=this.getMaps;w=S(N);E=1;case 1:if(w.length>0){const S=w.pop();if(S!==undefined){k=S.keys();E=2}else{break}}else{E=3;break}case 2:{const S=k.next();if(!S.done)return S;E=1;break}case 3:{const k=N.children;if(k!==undefined){if(k.size===1){for(const E of k)N=E;w=S(N);E=1;break}if(j===undefined)j=[];for(const E of k){j.push(E)}}if(j!==undefined&&j.length>0){N=j.pop();w=S(N);E=1;break}else{E=4}}case 4:return $e}}}))}}class Snapshot{constructor(){this._flags=0;this.startTime=undefined;this.fileTimestamps=undefined;this.fileHashes=undefined;this.fileTshs=undefined;this.contextTimestamps=undefined;this.contextHashes=undefined;this.contextTshs=undefined;this.missingExistence=undefined;this.managedItemInfo=undefined;this.managedFiles=undefined;this.managedContexts=undefined;this.managedMissing=undefined;this.children=undefined}hasStartTime(){return(this._flags&1)!==0}setStartTime(E){this._flags=this._flags|1;this.startTime=E}setMergedStartTime(E,k){if(E){if(k.hasStartTime()){this.setStartTime(Math.min(E,k.startTime))}else{this.setStartTime(E)}}else{if(k.hasStartTime())this.setStartTime(k.startTime)}}hasFileTimestamps(){return(this._flags&2)!==0}setFileTimestamps(E){this._flags=this._flags|2;this.fileTimestamps=E}hasFileHashes(){return(this._flags&4)!==0}setFileHashes(E){this._flags=this._flags|4;this.fileHashes=E}hasFileTshs(){return(this._flags&8)!==0}setFileTshs(E){this._flags=this._flags|8;this.fileTshs=E}hasContextTimestamps(){return(this._flags&16)!==0}setContextTimestamps(E){this._flags=this._flags|16;this.contextTimestamps=E}hasContextHashes(){return(this._flags&32)!==0}setContextHashes(E){this._flags=this._flags|32;this.contextHashes=E}hasContextTshs(){return(this._flags&64)!==0}setContextTshs(E){this._flags=this._flags|64;this.contextTshs=E}hasMissingExistence(){return(this._flags&128)!==0}setMissingExistence(E){this._flags=this._flags|128;this.missingExistence=E}hasManagedItemInfo(){return(this._flags&256)!==0}setManagedItemInfo(E){this._flags=this._flags|256;this.managedItemInfo=E}hasManagedFiles(){return(this._flags&512)!==0}setManagedFiles(E){this._flags=this._flags|512;this.managedFiles=E}hasManagedContexts(){return(this._flags&1024)!==0}setManagedContexts(E){this._flags=this._flags|1024;this.managedContexts=E}hasManagedMissing(){return(this._flags&2048)!==0}setManagedMissing(E){this._flags=this._flags|2048;this.managedMissing=E}hasChildren(){return(this._flags&4096)!==0}setChildren(E){this._flags=this._flags|4096;this.children=E}addChild(E){if(!this.hasChildren()){this.setChildren(new Set)}this.children.add(E)}serialize({write:E}){E(this._flags);if(this.hasStartTime())E(this.startTime);if(this.hasFileTimestamps())E(this.fileTimestamps);if(this.hasFileHashes())E(this.fileHashes);if(this.hasFileTshs())E(this.fileTshs);if(this.hasContextTimestamps())E(this.contextTimestamps);if(this.hasContextHashes())E(this.contextHashes);if(this.hasContextTshs())E(this.contextTshs);if(this.hasMissingExistence())E(this.missingExistence);if(this.hasManagedItemInfo())E(this.managedItemInfo);if(this.hasManagedFiles())E(this.managedFiles);if(this.hasManagedContexts())E(this.managedContexts);if(this.hasManagedMissing())E(this.managedMissing);if(this.hasChildren())E(this.children)}deserialize({read:E}){this._flags=E();if(this.hasStartTime())this.startTime=E();if(this.hasFileTimestamps())this.fileTimestamps=E();if(this.hasFileHashes())this.fileHashes=E();if(this.hasFileTshs())this.fileTshs=E();if(this.hasContextTimestamps())this.contextTimestamps=E();if(this.hasContextHashes())this.contextHashes=E();if(this.hasContextTshs())this.contextTshs=E();if(this.hasMissingExistence())this.missingExistence=E();if(this.hasManagedItemInfo())this.managedItemInfo=E();if(this.hasManagedFiles())this.managedFiles=E();if(this.hasManagedContexts())this.managedContexts=E();if(this.hasManagedMissing())this.managedMissing=E();if(this.hasChildren())this.children=E()}_createIterable(E){return new SnapshotIterable(this,E)}getFileIterable(){return this._createIterable((E=>[E.fileTimestamps,E.fileHashes,E.fileTshs,E.managedFiles]))}getContextIterable(){return this._createIterable((E=>[E.contextTimestamps,E.contextHashes,E.contextTshs,E.managedContexts]))}getMissingIterable(){return this._createIterable((E=>[E.missingExistence,E.managedMissing]))}}ae(Snapshot,"webpack/lib/FileSystemInfo","Snapshot");const ze=3;class SnapshotOptimization{constructor(E,k,S,w=false){this._has=E;this._get=k;this._set=S;this._isSet=w;this._map=new Map;this._statItemsShared=0;this._statItemsUnshared=0;this._statSharedSnapshots=0;this._statReusedSharedSnapshots=0}getStatisticMessage(){const E=this._statItemsShared+this._statItemsUnshared;if(E===0)return undefined;return`${this._statItemsShared&&Math.round(this._statItemsShared*100/E)}% (${this._statItemsShared}/${E}) entries shared via ${this._statSharedSnapshots} shared snapshots (${this._statReusedSharedSnapshots+this._statSharedSnapshots} times referenced)`}clear(){this._map.clear();this._statItemsShared=0;this._statItemsUnshared=0;this._statSharedSnapshots=0;this._statReusedSharedSnapshots=0}storeUnsharedSnapshot(E,k){if(k===undefined)return;const S={snapshot:E,shared:0,snapshotContent:undefined,children:undefined};for(const E of k){this._map.set(E,S)}}optimize(E,k,S){const w=new Set;const N=new Set;const increaseSharedAndStoreOptimizationEntry=E=>{if(E.children!==undefined){E.children.forEach(increaseSharedAndStoreOptimizationEntry)}E.shared++;storeOptimizationEntry(E)};const storeOptimizationEntry=k=>{for(const S of k.snapshotContent){const w=this._map.get(S);if(w.shared0){if(k&&(!ee.startTime||ee.startTime>k)){continue}const w=new Set;const j=q.snapshotContent;const te=this._get(ee);for(const k of j){if(!E.has(k)){if(!te.has(k)){N.add(q);continue e}w.add(k);continue}}if(w.size===0){S.add(ee);increaseSharedAndStoreOptimizationEntry(q);this._statReusedSharedSnapshots++}else{const E=j.size-w.size;if(E{if(Ee>1&&E%2!==0)Ee=1;else if(Ee>10&&E%20!==0)Ee=10;else if(Ee>100&&E%200!==0)Ee=100;else if(Ee>1e3&&E%2e3!==0)Ee=1e3};const mergeMaps=(E,k)=>{if(!k||k.size===0)return E;if(!E||E.size===0)return k;const S=new Map(E);for(const[E,w]of k){S.set(E,w)}return S};const mergeSets=(E,k)=>{if(!k||k.size===0)return E;if(!E||E.size===0)return k;const S=new Set(E);for(const E of k){S.add(E)}return S};const getManagedItem=(E,k)=>{let S=E.length;let w=1;let N=true;e:while(S=S+13&&k.charCodeAt(S+1)===110&&k.charCodeAt(S+2)===111&&k.charCodeAt(S+3)===100&&k.charCodeAt(S+4)===101&&k.charCodeAt(S+5)===95&&k.charCodeAt(S+6)===109&&k.charCodeAt(S+7)===111&&k.charCodeAt(S+8)===100&&k.charCodeAt(S+9)===117&&k.charCodeAt(S+10)===108&&k.charCodeAt(S+11)===101&&k.charCodeAt(S+12)===115){if(k.length===S+13){return k}const E=k.charCodeAt(S+13);if(E===47||E===92){return getManagedItem(k.slice(0,S+14),k)}}return k.slice(0,S)};const toExistence=E=>Boolean(E);class FileSystemInfo{constructor(E,{managedPaths:k=[],immutablePaths:S=[],logger:w}={}){this.fs=E;this.logger=w;this._remainingLogs=w?40:0;this._loggedPaths=w?new Set:undefined;this._snapshotCache=new WeakMap;this._fileTimestampsOptimization=new SnapshotOptimization((E=>E.hasFileTimestamps()),(E=>E.fileTimestamps),((E,k)=>E.setFileTimestamps(k)));this._fileHashesOptimization=new SnapshotOptimization((E=>E.hasFileHashes()),(E=>E.fileHashes),((E,k)=>E.setFileHashes(k)));this._fileTshsOptimization=new SnapshotOptimization((E=>E.hasFileTshs()),(E=>E.fileTshs),((E,k)=>E.setFileTshs(k)));this._contextTimestampsOptimization=new SnapshotOptimization((E=>E.hasContextTimestamps()),(E=>E.contextTimestamps),((E,k)=>E.setContextTimestamps(k)));this._contextHashesOptimization=new SnapshotOptimization((E=>E.hasContextHashes()),(E=>E.contextHashes),((E,k)=>E.setContextHashes(k)));this._contextTshsOptimization=new SnapshotOptimization((E=>E.hasContextTshs()),(E=>E.contextTshs),((E,k)=>E.setContextTshs(k)));this._missingExistenceOptimization=new SnapshotOptimization((E=>E.hasMissingExistence()),(E=>E.missingExistence),((E,k)=>E.setMissingExistence(k)));this._managedItemInfoOptimization=new SnapshotOptimization((E=>E.hasManagedItemInfo()),(E=>E.managedItemInfo),((E,k)=>E.setManagedItemInfo(k)));this._managedFilesOptimization=new SnapshotOptimization((E=>E.hasManagedFiles()),(E=>E.managedFiles),((E,k)=>E.setManagedFiles(k)),true);this._managedContextsOptimization=new SnapshotOptimization((E=>E.hasManagedContexts()),(E=>E.managedContexts),((E,k)=>E.setManagedContexts(k)),true);this._managedMissingOptimization=new SnapshotOptimization((E=>E.hasManagedMissing()),(E=>E.managedMissing),((E,k)=>E.setManagedMissing(k)),true);this._fileTimestamps=new Map;this._fileHashes=new Map;this._fileTshs=new Map;this._contextTimestamps=new Map;this._contextHashes=new Map;this._contextTshs=new Map;this._managedItems=new Map;this.fileTimestampQueue=new j({name:"file timestamp",parallelism:30,processor:this._readFileTimestamp.bind(this)});this.fileHashQueue=new j({name:"file hash",parallelism:10,processor:this._readFileHash.bind(this)});this.contextTimestampQueue=new j({name:"context timestamp",parallelism:2,processor:this._readContextTimestamp.bind(this)});this.contextHashQueue=new j({name:"context hash",parallelism:2,processor:this._readContextHash.bind(this)});this.managedItemQueue=new j({name:"managed item info",parallelism:10,processor:this._getManagedItemInfo.bind(this)});this.managedItemDirectoryQueue=new j({name:"managed item directory info",parallelism:10,processor:this._getManagedItemDirectoryInfo.bind(this)});this.managedPaths=Array.from(k);this.managedPathsWithSlash=this.managedPaths.map((k=>ee(E,k,"_").slice(0,-1)));this.immutablePaths=Array.from(S);this.immutablePathsWithSlash=this.immutablePaths.map((k=>ee(E,k,"_").slice(0,-1)));this._cachedDeprecatedFileTimestamps=undefined;this._cachedDeprecatedContextTimestamps=undefined;this._warnAboutExperimentalEsmTracking=false;this._statCreatedSnapshots=0;this._statTestedSnapshotsCached=0;this._statTestedSnapshotsNotCached=0;this._statTestedChildrenCached=0;this._statTestedChildrenNotCached=0;this._statTestedEntries=0}logStatistics(){const logWhenMessage=(E,k)=>{if(k){this.logger.log(`${E}: ${k}`)}};this.logger.log(`${this._statCreatedSnapshots} new snapshots created`);this.logger.log(`${this._statTestedSnapshotsNotCached&&Math.round(this._statTestedSnapshotsNotCached*100/(this._statTestedSnapshotsCached+this._statTestedSnapshotsNotCached))}% root snapshot uncached (${this._statTestedSnapshotsNotCached} / ${this._statTestedSnapshotsCached+this._statTestedSnapshotsNotCached})`);this.logger.log(`${this._statTestedChildrenNotCached&&Math.round(this._statTestedChildrenNotCached*100/(this._statTestedChildrenCached+this._statTestedChildrenNotCached))}% children snapshot uncached (${this._statTestedChildrenNotCached} / ${this._statTestedChildrenCached+this._statTestedChildrenNotCached})`);this.logger.log(`${this._statTestedEntries} entries tested`);this.logger.log(`File info in cache: ${this._fileTimestamps.size} timestamps ${this._fileHashes.size} hashes ${this._fileTshs.size} timestamp hash combinations`);logWhenMessage(`File timestamp snapshot optimization`,this._fileTimestampsOptimization.getStatisticMessage());logWhenMessage(`File hash snapshot optimization`,this._fileHashesOptimization.getStatisticMessage());logWhenMessage(`File timestamp hash combination snapshot optimization`,this._fileTshsOptimization.getStatisticMessage());this.logger.log(`Directory info in cache: ${this._contextTimestamps.size} timestamps ${this._contextHashes.size} hashes ${this._contextTshs.size} timestamp hash combinations`);logWhenMessage(`Directory timestamp snapshot optimization`,this._contextTimestampsOptimization.getStatisticMessage());logWhenMessage(`Directory hash snapshot optimization`,this._contextHashesOptimization.getStatisticMessage());logWhenMessage(`Directory timestamp hash combination snapshot optimization`,this._contextTshsOptimization.getStatisticMessage());logWhenMessage(`Missing items snapshot optimization`,this._missingExistenceOptimization.getStatisticMessage());this.logger.log(`Managed items info in cache: ${this._managedItems.size} items`);logWhenMessage(`Managed items snapshot optimization`,this._managedItemInfoOptimization.getStatisticMessage());logWhenMessage(`Managed files snapshot optimization`,this._managedFilesOptimization.getStatisticMessage());logWhenMessage(`Managed contexts snapshot optimization`,this._managedContextsOptimization.getStatisticMessage());logWhenMessage(`Managed missing snapshot optimization`,this._managedMissingOptimization.getStatisticMessage())}_log(E,k,...S){const w=E+k;if(this._loggedPaths.has(w))return;this._loggedPaths.add(w);this.logger.debug(`${E} invalidated because ${k}`,...S);if(--this._remainingLogs===0){this.logger.debug("Logging limit has been reached and no further logging will be emitted by FileSystemInfo")}}clear(){this._remainingLogs=this.logger?40:0;if(this._loggedPaths!==undefined)this._loggedPaths.clear();this._snapshotCache=new WeakMap;this._fileTimestampsOptimization.clear();this._fileHashesOptimization.clear();this._fileTshsOptimization.clear();this._contextTimestampsOptimization.clear();this._contextHashesOptimization.clear();this._contextTshsOptimization.clear();this._missingExistenceOptimization.clear();this._managedItemInfoOptimization.clear();this._managedFilesOptimization.clear();this._managedContextsOptimization.clear();this._managedMissingOptimization.clear();this._fileTimestamps.clear();this._fileHashes.clear();this._fileTshs.clear();this._contextTimestamps.clear();this._contextHashes.clear();this._contextTshs.clear();this._managedItems.clear();this._managedItems.clear();this._cachedDeprecatedFileTimestamps=undefined;this._cachedDeprecatedContextTimestamps=undefined;this._statCreatedSnapshots=0;this._statTestedSnapshotsCached=0;this._statTestedSnapshotsNotCached=0;this._statTestedChildrenCached=0;this._statTestedChildrenNotCached=0;this._statTestedEntries=0}addFileTimestamps(E){for(const[k,S]of E){this._fileTimestamps.set(k,S)}this._cachedDeprecatedFileTimestamps=undefined}addContextTimestamps(E){for(const[k,S]of E){this._contextTimestamps.set(k,S)}this._cachedDeprecatedContextTimestamps=undefined}getFileTimestamp(E,k){const S=this._fileTimestamps.get(E);if(S!==undefined)return k(null,S);this.fileTimestampQueue.add(E,k)}getContextTimestamp(E,k){const S=this._contextTimestamps.get(E);if(S!==undefined)return k(null,S);this.contextTimestampQueue.add(E,k)}getFileHash(E,k){const S=this._fileHashes.get(E);if(S!==undefined)return k(null,S);this.fileHashQueue.add(E,k)}getContextHash(E,k){const S=this._contextHashes.get(E);if(S!==undefined)return k(null,S);this.contextHashQueue.add(E,k)}_createBuildDependenciesResolvers(){const E=w({resolveToContext:true,exportsFields:[],fileSystem:this.fs});const k=w({extensions:[".js",".json",".node"],conditionNames:["require","node"],exportsFields:["exports"],fileSystem:this.fs});const S=w({extensions:[".js",".json",".node"],conditionNames:["require","node"],exportsFields:[],fileSystem:this.fs});const N=w({extensions:[".js",".json",".node"],fullySpecified:true,conditionNames:["import","node"],exportsFields:["exports"],fileSystem:this.fs});return{resolveContext:E,resolveEsm:N,resolveCjs:k,resolveCjsAsChild:S}}resolveBuildDependencies(E,k,w){const{resolveContext:N,resolveEsm:j,resolveCjs:q,resolveCjsAsChild:ae}=this._createBuildDependenciesResolvers();const Ee=new Set;const we=new Set;const je=new Set;const $e=new Set;const ze=new Set;const Ue=new Set;const Ge=new Set;const qe=new Set;const Ve=new Map;const He=new Set;const We={fileDependencies:Ue,contextDependencies:Ge,missingDependencies:qe};const expectedToString=E=>E?` (expected ${E})`:"";const jobToString=E=>{switch(E.type){case Ce:return`resolve commonjs ${E.path}${expectedToString(E.expected)}`;case Me:return`resolve esm ${E.path}${expectedToString(E.expected)}`;case Te:return`resolve directory ${E.path}`;case Ie:return`resolve commonjs file ${E.path}${expectedToString(E.expected)}`;case Re:return`resolve esm file ${E.path}${expectedToString(E.expected)}`;case Fe:return`directory ${E.path}`;case Ne:return`file ${E.path}`;case Be:return`directory dependencies ${E.path}`;case Le:return`file dependencies ${E.path}`}return`unknown ${E.type} ${E.path}`};const pathToString=E=>{let k=` at ${jobToString(E)}`;E=E.issuer;while(E!==undefined){k+=`\n at ${jobToString(E)}`;E=E.issuer}return k};_e(Array.from(k,(k=>({type:Ce,context:E,path:k,expected:undefined,issuer:undefined}))),20,((E,k,w)=>{const{type:_e,context:ze,path:Ge,expected:Ke}=E;const resolveDirectory=S=>{const j=`d\n${ze}\n${S}`;if(Ve.has(j)){return w()}Ve.set(j,undefined);N(ze,S,We,((N,q,ee)=>{if(N){if(Ke===false){Ve.set(j,false);return w()}He.add(j);N.message+=`\nwhile resolving '${S}' in ${ze} to a directory`;return w(N)}const te=ee.path;Ve.set(j,te);k({type:Fe,context:undefined,path:te,expected:undefined,issuer:E});w()}))};const resolveFile=(S,N,j)=>{const q=`${N}\n${ze}\n${S}`;if(Ve.has(q)){return w()}Ve.set(q,undefined);j(ze,S,We,((N,j,ee)=>{if(typeof Ke==="string"){if(!N&&ee&&ee.path===Ke){Ve.set(q,ee.path)}else{He.add(q);this.logger.warn(`Resolving '${S}' in ${ze} for build dependencies doesn't lead to expected result '${Ke}', but to '${N||ee&&ee.path}' instead. Resolving dependencies are ignored for this path.\n${pathToString(E)}`)}}else{if(N){if(Ke===false){Ve.set(q,false);return w()}He.add(q);N.message+=`\nwhile resolving '${S}' in ${ze} as file\n${pathToString(E)}`;return w(N)}const j=ee.path;Ve.set(q,j);k({type:Ne,context:undefined,path:j,expected:undefined,issuer:E})}w()}))};switch(_e){case Ce:{const E=/[\\/]$/.test(Ge);if(E){resolveDirectory(Ge.slice(0,Ge.length-1))}else{resolveFile(Ge,"f",q)}break}case Me:{const E=/[\\/]$/.test(Ge);if(E){resolveDirectory(Ge.slice(0,Ge.length-1))}else{resolveFile(Ge)}break}case Te:{resolveDirectory(Ge);break}case Ie:{resolveFile(Ge,"f",q);break}case Oe:{resolveFile(Ge,"c",ae);break}case Re:{resolveFile(Ge,"e",j);break}case Ne:{if(Ee.has(Ge)){w();break}Ee.add(Ge);this.fs.realpath(Ge,((S,N)=>{if(S)return w(S);const j=N;if(j!==Ge){we.add(Ge);Ue.add(Ge);if(Ee.has(j))return w();Ee.add(j)}k({type:Le,context:undefined,path:j,expected:undefined,issuer:E});w()}));break}case Fe:{if(je.has(Ge)){w();break}je.add(Ge);this.fs.realpath(Ge,((S,N)=>{if(S)return w(S);const j=N;if(j!==Ge){$e.add(Ge);Ue.add(Ge);if(je.has(j))return w();je.add(j)}k({type:Be,context:undefined,path:j,expected:undefined,issuer:E});w()}));break}case Le:{if(/\.json5?$|\.yarn-integrity$|yarn\.lock$|\.ya?ml/.test(Ge)){process.nextTick(w);break}const N=require.cache[Ge];if(N&&Array.isArray(N.children)){e:for(const S of N.children){let w=S.filename;if(w){k({type:Ne,context:undefined,path:w,expected:undefined,issuer:E});const j=te(this.fs,Ge);for(const q of N.paths){if(w.startsWith(q)){let N=w.slice(q.length+1);const ee=/^(@[^\\/]+[\\/])[^\\/]+/.exec(N);if(ee){k({type:Ne,context:undefined,path:q+w[q.length]+ee[0]+w[q.length]+"package.json",expected:false,issuer:E})}let te=N.replace(/\\/g,"/");if(te.endsWith(".js"))te=te.slice(0,-3);k({type:Oe,context:j,path:te,expected:S.filename,issuer:E});continue e}}let q=ne(this.fs,j,w);if(q.endsWith(".js"))q=q.slice(0,-3);q=q.replace(/\\/g,"/");if(!q.startsWith("../"))q=`./${q}`;k({type:Ie,context:j,path:q,expected:S.filename,issuer:E})}}}else if(ve&&/\.m?js$/.test(Ge)){if(!this._warnAboutExperimentalEsmTracking){this.logger.log("Node.js doesn't offer a (nice) way to introspect the ESM dependency graph yet.\n"+"Until a full solution is available webpack uses an experimental ESM tracking based on parsing.\n"+"As best effort webpack parses the ESM files to guess dependencies. But this can lead to expensive and incorrect tracking.");this._warnAboutExperimentalEsmTracking=true}const N=S(30247);N.init.then((()=>{this.fs.readFile(Ge,((S,j)=>{if(S)return w(S);try{const S=te(this.fs,Ge);const w=j.toString();const[q]=N.parse(w);for(const N of q){try{let j;if(N.d===-1){j=JSON.parse(w.substring(N.s-1,N.e+1))}else if(N.d>-1){let E=w.substring(N.s,N.e).trim();if(E[0]==="'")E=`"${E.slice(1,-1).replace(/"/g,'\\"')}"`;j=JSON.parse(E)}else{continue}k({type:Re,context:S,path:j,expected:undefined,issuer:E})}catch(k){this.logger.warn(`Parsing of ${Ge} for build dependencies failed at 'import(${w.substring(N.s,N.e)})'.\n`+"Build dependencies behind this expression are ignored and might cause incorrect cache invalidation.");this.logger.debug(pathToString(E));this.logger.debug(k.stack)}}}catch(k){this.logger.warn(`Parsing of ${Ge} for build dependencies failed and all dependencies of this file are ignored, which might cause incorrect cache invalidation..`);this.logger.debug(pathToString(E));this.logger.debug(k.stack)}process.nextTick(w)}))}),w);break}else{this.logger.log(`Assuming ${Ge} has no dependencies as we were unable to assign it to any module system.`);this.logger.debug(pathToString(E))}process.nextTick(w);break}case Be:{const S=/(^.+[\\/]node_modules[\\/](?:@[^\\/]+[\\/])?[^\\/]+)/.exec(Ge);const N=S?S[1]:Ge;const j=ee(this.fs,N,"package.json");this.fs.readFile(j,((S,q)=>{if(S){if(S.code==="ENOENT"){qe.add(j);const S=te(this.fs,N);if(S!==N){k({type:Be,context:undefined,path:S,expected:undefined,issuer:E})}w();return}return w(S)}Ue.add(j);let ee;try{ee=JSON.parse(q.toString("utf-8"))}catch(E){return w(E)}const ne=ee.dependencies;const ae=ee.optionalDependencies;const _e=new Set;const ve=new Set;if(typeof ne==="object"&&ne){for(const E of Object.keys(ne)){_e.add(E)}}if(typeof ae==="object"&&ae){for(const E of Object.keys(ae)){_e.add(E);ve.add(E)}}for(const S of _e){k({type:Te,context:N,path:S,expected:!ve.has(S),issuer:E})}w()}));break}}}),(E=>{if(E)return w(E);for(const E of we)Ee.delete(E);for(const E of $e)je.delete(E);for(const E of He)Ve.delete(E);w(null,{files:Ee,directories:je,missing:ze,resolveResults:Ve,resolveDependencies:{files:Ue,directories:Ge,missing:qe}})}))}checkResolveResultsValid(E,k){const{resolveCjs:S,resolveCjsAsChild:w,resolveEsm:j,resolveContext:q}=this._createBuildDependenciesResolvers();N.eachLimit(E,20,(([E,k],N)=>{const[ee,te,ne]=E.split("\n");switch(ee){case"d":q(te,ne,{},((E,S,w)=>{if(k===false)return N(E?undefined:je);if(E)return N(E);const j=w.path;if(j!==k)return N(je);N()}));break;case"f":S(te,ne,{},((E,S,w)=>{if(k===false)return N(E?undefined:je);if(E)return N(E);const j=w.path;if(j!==k)return N(je);N()}));break;case"c":w(te,ne,{},((E,S,w)=>{if(k===false)return N(E?undefined:je);if(E)return N(E);const j=w.path;if(j!==k)return N(je);N()}));break;case"e":j(te,ne,{},((E,S,w)=>{if(k===false)return N(E?undefined:je);if(E)return N(E);const j=w.path;if(j!==k)return N(je);N()}));break;default:N(new Error("Unexpected type in resolve result key"));break}}),(E=>{if(E===je){return k(null,false)}if(E){return k(E)}return k(null,true)}))}createSnapshot(E,k,S,w,N,j){const q=new Map;const ee=new Map;const te=new Map;const ne=new Map;const ae=new Map;const _e=new Map;const ve=new Map;const Ee=new Map;const we=new Set;const Ce=new Set;const Me=new Set;const Te=new Set;let Ie;let Oe;let Re;let Fe;let Ne;let Be;let Le;let je;const $e=new Set;const ze=N&&N.hash?N.timestamp?3:2:1;let Ue=1;const jobDone=()=>{if(--Ue===0){const k=new Snapshot;if(E)k.setStartTime(E);if(q.size!==0){k.setFileTimestamps(q);this._fileTimestampsOptimization.storeUnsharedSnapshot(k,Ie)}if(ee.size!==0){k.setFileHashes(ee);this._fileHashesOptimization.storeUnsharedSnapshot(k,Oe)}if(te.size!==0){k.setFileTshs(te);this._fileTshsOptimization.storeUnsharedSnapshot(k,Re)}if(ne.size!==0){k.setContextTimestamps(ne);this._contextTimestampsOptimization.storeUnsharedSnapshot(k,Fe)}if(ae.size!==0){k.setContextHashes(ae);this._contextHashesOptimization.storeUnsharedSnapshot(k,Ne)}if(_e.size!==0){k.setContextTshs(_e);this._contextTshsOptimization.storeUnsharedSnapshot(k,Be)}if(ve.size!==0){k.setMissingExistence(ve);this._missingExistenceOptimization.storeUnsharedSnapshot(k,Le)}if(Ee.size!==0){k.setManagedItemInfo(Ee);this._managedItemInfoOptimization.storeUnsharedSnapshot(k,je)}const S=this._managedFilesOptimization.optimize(we,undefined,Te);if(we.size!==0){k.setManagedFiles(we);this._managedFilesOptimization.storeUnsharedSnapshot(k,S)}const w=this._managedContextsOptimization.optimize(Ce,undefined,Te);if(Ce.size!==0){k.setManagedContexts(Ce);this._managedContextsOptimization.storeUnsharedSnapshot(k,w)}const N=this._managedMissingOptimization.optimize(Me,undefined,Te);if(Me.size!==0){k.setManagedMissing(Me);this._managedMissingOptimization.storeUnsharedSnapshot(k,N)}if(Te.size!==0){k.setChildren(Te)}this._snapshotCache.set(k,true);this._statCreatedSnapshots++;j(null,k)}};const jobError=()=>{if(Ue>0){Ue=-1e8;j(null,null)}};const checkManaged=(E,k)=>{for(const S of this.immutablePathsWithSlash){if(E.startsWith(S)){k.add(E);return true}}for(const S of this.managedPathsWithSlash){if(E.startsWith(S)){const w=getManagedItem(S,E);if(w){$e.add(w);k.add(E);return true}}}return false};const captureNonManaged=(E,k)=>{const S=new Set;for(const w of E){if(!checkManaged(w,k))S.add(w)}return S};if(k){const S=captureNonManaged(k,we);switch(ze){case 3:Re=this._fileTshsOptimization.optimize(S,undefined,Te);for(const E of S){const k=this._fileTshs.get(E);if(k!==undefined){te.set(E,k)}else{Ue++;this._getFileTimestampAndHash(E,((k,S)=>{if(k){if(this.logger){this.logger.debug(`Error snapshotting file timestamp hash combination of ${E}: ${k.stack}`)}jobError()}else{te.set(E,S);jobDone()}}))}}break;case 2:Oe=this._fileHashesOptimization.optimize(S,undefined,Te);for(const E of S){const k=this._fileHashes.get(E);if(k!==undefined){ee.set(E,k)}else{Ue++;this.fileHashQueue.add(E,((k,S)=>{if(k){if(this.logger){this.logger.debug(`Error snapshotting file hash of ${E}: ${k.stack}`)}jobError()}else{ee.set(E,S);jobDone()}}))}}break;case 1:Ie=this._fileTimestampsOptimization.optimize(S,E,Te);for(const E of S){const k=this._fileTimestamps.get(E);if(k!==undefined){if(k!=="ignore"){q.set(E,k)}}else{Ue++;this.fileTimestampQueue.add(E,((k,S)=>{if(k){if(this.logger){this.logger.debug(`Error snapshotting file timestamp of ${E}: ${k.stack}`)}jobError()}else{q.set(E,S);jobDone()}}))}}break}}if(S){const k=captureNonManaged(S,Ce);switch(ze){case 3:Be=this._contextTshsOptimization.optimize(k,undefined,Te);for(const E of k){const k=this._contextTshs.get(E);if(k!==undefined){_e.set(E,k)}else{Ue++;this._getContextTimestampAndHash(E,((k,S)=>{if(k){if(this.logger){this.logger.debug(`Error snapshotting context timestamp hash combination of ${E}: ${k.stack}`)}jobError()}else{_e.set(E,S);jobDone()}}))}}break;case 2:Ne=this._contextHashesOptimization.optimize(k,undefined,Te);for(const E of k){const k=this._contextHashes.get(E);if(k!==undefined){ae.set(E,k)}else{Ue++;this.contextHashQueue.add(E,((k,S)=>{if(k){if(this.logger){this.logger.debug(`Error snapshotting context hash of ${E}: ${k.stack}`)}jobError()}else{ae.set(E,S);jobDone()}}))}}break;case 1:Fe=this._contextTimestampsOptimization.optimize(k,E,Te);for(const E of k){const k=this._contextTimestamps.get(E);if(k!==undefined){if(k!=="ignore"){ne.set(E,k)}}else{Ue++;this.contextTimestampQueue.add(E,((k,S)=>{if(k){if(this.logger){this.logger.debug(`Error snapshotting context timestamp of ${E}: ${k.stack}`)}jobError()}else{ne.set(E,S);jobDone()}}))}}break}}if(w){const k=captureNonManaged(w,Me);Le=this._missingExistenceOptimization.optimize(k,E,Te);for(const E of k){const k=this._fileTimestamps.get(E);if(k!==undefined){if(k!=="ignore"){ve.set(E,toExistence(k))}}else{Ue++;this.fileTimestampQueue.add(E,((k,S)=>{if(k){if(this.logger){this.logger.debug(`Error snapshotting missing timestamp of ${E}: ${k.stack}`)}jobError()}else{ve.set(E,toExistence(S));jobDone()}}))}}}je=this._managedItemInfoOptimization.optimize($e,undefined,Te);for(const E of $e){const k=this._managedItems.get(E);if(k!==undefined){Ee.set(E,k)}else{Ue++;this.managedItemQueue.add(E,((k,S)=>{if(k){if(this.logger){this.logger.debug(`Error snapshotting managed item ${E}: ${k.stack}`)}jobError()}else{Ee.set(E,S);jobDone()}}))}}jobDone()}mergeSnapshots(E,k){const S=new Snapshot;if(E.hasStartTime()&&k.hasStartTime())S.setStartTime(Math.min(E.startTime,k.startTime));else if(k.hasStartTime())S.startTime=k.startTime;else if(E.hasStartTime())S.startTime=E.startTime;if(E.hasFileTimestamps()||k.hasFileTimestamps()){S.setFileTimestamps(mergeMaps(E.fileTimestamps,k.fileTimestamps))}if(E.hasFileHashes()||k.hasFileHashes()){S.setFileHashes(mergeMaps(E.fileHashes,k.fileHashes))}if(E.hasFileTshs()||k.hasFileTshs()){S.setFileTshs(mergeMaps(E.fileTshs,k.fileTshs))}if(E.hasContextTimestamps()||k.hasContextTimestamps()){S.setContextTimestamps(mergeMaps(E.contextTimestamps,k.contextTimestamps))}if(E.hasContextHashes()||k.hasContextHashes()){S.setContextHashes(mergeMaps(E.contextHashes,k.contextHashes))}if(E.hasContextTshs()||k.hasContextTshs()){S.setContextTshs(mergeMaps(E.contextTshs,k.contextTshs))}if(E.hasMissingExistence()||k.hasMissingExistence()){S.setMissingExistence(mergeMaps(E.missingExistence,k.missingExistence))}if(E.hasManagedItemInfo()||k.hasManagedItemInfo()){S.setManagedItemInfo(mergeMaps(E.managedItemInfo,k.managedItemInfo))}if(E.hasManagedFiles()||k.hasManagedFiles()){S.setManagedFiles(mergeSets(E.managedFiles,k.managedFiles))}if(E.hasManagedContexts()||k.hasManagedContexts()){S.setManagedContexts(mergeSets(E.managedContexts,k.managedContexts))}if(E.hasManagedMissing()||k.hasManagedMissing()){S.setManagedMissing(mergeSets(E.managedMissing,k.managedMissing))}if(E.hasChildren()||k.hasChildren()){S.setChildren(mergeSets(E.children,k.children))}if(this._snapshotCache.get(E)===true&&this._snapshotCache.get(k)===true){this._snapshotCache.set(S,true)}return S}checkSnapshotValid(E,k){const S=this._snapshotCache.get(E);if(S!==undefined){this._statTestedSnapshotsCached++;if(typeof S==="boolean"){k(null,S)}else{S.push(k)}return}this._statTestedSnapshotsNotCached++;this._checkSnapshotValidNoCache(E,k)}_checkSnapshotValidNoCache(E,k){let S=undefined;if(E.hasStartTime()){S=E.startTime}let w=1;const jobDone=()=>{if(--w===0){this._snapshotCache.set(E,true);k(null,true)}};const invalid=()=>{if(w>0){w=-1e8;this._snapshotCache.set(E,false);k(null,false)}};const invalidWithError=(E,k)=>{if(this._remainingLogs>0){this._log(E,`error occurred: %s`,k)}invalid()};const checkHash=(E,k,S)=>{if(k!==S){if(this._remainingLogs>0){this._log(E,`hashes differ (%s != %s)`,k,S)}return false}return true};const checkExistence=(E,k,S)=>{if(!k!==!S){if(this._remainingLogs>0){this._log(E,k?"it didn't exist before":"it does no longer exist")}return false}return true};const checkFile=(E,k,w,N=true)=>{if(k===w)return true;if(!k!==!w){if(N&&this._remainingLogs>0){this._log(E,k?"it didn't exist before":"it does no longer exist")}return false}if(k){if(typeof S==="number"&&k.safeTime>S){if(N&&this._remainingLogs>0){this._log(E,`it may have changed (%d) after the start time of the snapshot (%d)`,k.safeTime,S)}return false}if(w.timestamp!==undefined&&k.timestamp!==w.timestamp){if(N&&this._remainingLogs>0){this._log(E,`timestamps differ (%d != %d)`,k.timestamp,w.timestamp)}return false}if(w.timestampHash!==undefined&&k.timestampHash!==w.timestampHash){if(N&&this._remainingLogs>0){this._log(E,`timestamps hashes differ (%s != %s)`,k.timestampHash,w.timestampHash)}return false}}return true};if(E.hasChildren()){const childCallback=(E,k)=>{if(E||!k)return invalid();else jobDone()};for(const k of E.children){const E=this._snapshotCache.get(k);if(E!==undefined){this._statTestedChildrenCached++;if(typeof E==="boolean"){if(E===false){invalid();return}}else{w++;E.push(childCallback)}}else{this._statTestedChildrenNotCached++;w++;this._checkSnapshotValidNoCache(k,childCallback)}}}if(E.hasFileTimestamps()){const{fileTimestamps:k}=E;this._statTestedEntries+=k.size;for(const[E,S]of k){const k=this._fileTimestamps.get(E);if(k!==undefined){if(k!=="ignore"&&!checkFile(E,k,S)){invalid();return}}else{w++;this.fileTimestampQueue.add(E,((k,w)=>{if(k)return invalidWithError(E,k);if(!checkFile(E,w,S)){invalid()}else{jobDone()}}))}}}const processFileHashSnapshot=(E,k)=>{const S=this._fileHashes.get(E);if(S!==undefined){if(S!=="ignore"&&!checkHash(E,S,k)){invalid();return}}else{w++;this.fileHashQueue.add(E,((S,w)=>{if(S)return invalidWithError(E,S);if(!checkHash(E,w,k)){invalid()}else{jobDone()}}))}};if(E.hasFileHashes()){const{fileHashes:k}=E;this._statTestedEntries+=k.size;for(const[E,S]of k){processFileHashSnapshot(E,S)}}if(E.hasFileTshs()){const{fileTshs:k}=E;this._statTestedEntries+=k.size;for(const[E,S]of k){if(typeof S==="string"){processFileHashSnapshot(E,S)}else{const k=this._fileTimestamps.get(E);if(k!==undefined){if(k==="ignore"||!checkFile(E,k,S,false)){processFileHashSnapshot(E,S.hash)}}else{w++;this.fileTimestampQueue.add(E,((k,w)=>{if(k)return invalidWithError(E,k);if(!checkFile(E,w,S,false)){processFileHashSnapshot(E,S.hash)}jobDone()}))}}}}if(E.hasContextTimestamps()){const{contextTimestamps:k}=E;this._statTestedEntries+=k.size;for(const[E,S]of k){const k=this._contextTimestamps.get(E);if(k!==undefined){if(k!=="ignore"&&!checkFile(E,k,S)){invalid();return}}else{w++;this.contextTimestampQueue.add(E,((k,w)=>{if(k)return invalidWithError(E,k);if(!checkFile(E,w,S)){invalid()}else{jobDone()}}))}}}const processContextHashSnapshot=(E,k)=>{const S=this._contextHashes.get(E);if(S!==undefined){if(S!=="ignore"&&!checkHash(E,S,k)){invalid();return}}else{w++;this.contextHashQueue.add(E,((S,w)=>{if(S)return invalidWithError(E,S);if(!checkHash(E,w,k)){invalid()}else{jobDone()}}))}};if(E.hasContextHashes()){const{contextHashes:k}=E;this._statTestedEntries+=k.size;for(const[E,S]of k){processContextHashSnapshot(E,S)}}if(E.hasContextTshs()){const{contextTshs:k}=E;this._statTestedEntries+=k.size;for(const[E,S]of k){if(typeof S==="string"){processContextHashSnapshot(E,S)}else{const k=this._contextTimestamps.get(E);if(k!==undefined){if(k==="ignore"||!checkFile(E,k,S,false)){processContextHashSnapshot(E,S.hash)}}else{w++;this.contextTimestampQueue.add(E,((k,w)=>{if(k)return invalidWithError(E,k);if(!checkFile(E,w,S,false)){processContextHashSnapshot(E,S.hash)}jobDone()}))}}}}if(E.hasMissingExistence()){const{missingExistence:k}=E;this._statTestedEntries+=k.size;for(const[E,S]of k){const k=this._fileTimestamps.get(E);if(k!==undefined){if(k!=="ignore"&&!checkExistence(E,toExistence(k),S)){invalid();return}}else{w++;this.fileTimestampQueue.add(E,((k,w)=>{if(k)return invalidWithError(E,k);if(!checkExistence(E,toExistence(w),S)){invalid()}else{jobDone()}}))}}}if(E.hasManagedItemInfo()){const{managedItemInfo:k}=E;this._statTestedEntries+=k.size;for(const[E,S]of k){const k=this._managedItems.get(E);if(k!==undefined){if(!checkHash(E,k,S)){invalid();return}}else{w++;this.managedItemQueue.add(E,((k,w)=>{if(k)return invalidWithError(E,k);if(!checkHash(E,w,S)){invalid()}else{jobDone()}}))}}}jobDone();if(w>0){const S=[k];k=(E,k)=>{for(const w of S)w(E,k)};this._snapshotCache.set(E,S)}}_readFileTimestamp(E,k){this.fs.stat(E,((S,w)=>{if(S){if(S.code==="ENOENT"){this._fileTimestamps.set(E,null);this._cachedDeprecatedFileTimestamps=undefined;return k(null,null)}return k(S)}let N;if(w.isDirectory()){N={safeTime:0,timestamp:undefined}}else{const E=+w.mtime;if(E)applyMtime(E);N={safeTime:E?E+Ee:Infinity,timestamp:E}}this._fileTimestamps.set(E,N);this._cachedDeprecatedFileTimestamps=undefined;k(null,N)}))}_readFileHash(E,k){this.fs.readFile(E,((S,w)=>{if(S){if(S.code==="EISDIR"){this._fileHashes.set(E,"directory");return k(null,"directory")}if(S.code==="ENOENT"){this._fileHashes.set(E,null);return k(null,null)}if(S.code==="ERR_FS_FILE_TOO_LARGE"){this.logger.warn(`Ignoring ${E} for hashing as it's very large`);this._fileHashes.set(E,"too large");return k(null,"too large")}return k(S)}const N=q("md4");N.update(w);const j=N.digest("hex");this._fileHashes.set(E,j);k(null,j)}))}_getFileTimestampAndHash(E,k){const continueWithHash=S=>{const w=this._fileTimestamps.get(E);if(w!==undefined){if(w!=="ignore"){const N={...w,hash:S};this._fileTshs.set(E,N);return k(null,N)}else{this._fileTshs.set(E,S);return k(null,S)}}else{this.fileTimestampQueue.add(E,((w,N)=>{if(w){return k(w)}const j={...N,hash:S};this._fileTshs.set(E,j);return k(null,j)}))}};const S=this._fileHashes.get(E);if(S!==undefined){continueWithHash(S)}else{this.fileHashQueue.add(E,((E,S)=>{if(E){return k(E)}continueWithHash(S)}))}}_readContextTimestamp(E,k){this.fs.readdir(E,((S,w)=>{if(S){if(S.code==="ENOENT"){this._contextTimestamps.set(E,null);this._cachedDeprecatedContextTimestamps=undefined;return k(null,null)}return k(S)}const j=w.map((E=>E.normalize("NFC"))).filter((E=>!/^\./.test(E))).sort();N.map(j,((k,S)=>{const w=ee(this.fs,E,k);this.fs.stat(w,((k,N)=>{if(k)return S(k);for(const k of this.immutablePathsWithSlash){if(E.startsWith(k)){return S(null,null)}}for(const k of this.managedPathsWithSlash){if(E.startsWith(k)){const E=getManagedItem(k,w);if(E){return this.managedItemQueue.add(E,((E,k)=>{if(E)return S(E);return S(null,{safeTime:0,timestampHash:k})}))}}}if(N.isFile()){return this.getFileTimestamp(w,S)}if(N.isDirectory()){this.contextTimestampQueue.increaseParallelism();this.getContextTimestamp(w,((E,k)=>{this.contextTimestampQueue.decreaseParallelism();S(E,k)}));return}S(null,null)}))}),((S,w)=>{if(S)return k(S);const N=q("md4");for(const E of j)N.update(E);let ee=0;for(const E of w){if(!E){N.update("n");continue}if(E.timestamp){N.update("f");N.update(`${E.timestamp}`)}else if(E.timestampHash){N.update("d");N.update(`${E.timestampHash}`)}if(E.safeTime){ee=Math.max(ee,E.safeTime)}}const te=N.digest("hex");const ne={safeTime:ee,timestampHash:te};this._contextTimestamps.set(E,ne);this._cachedDeprecatedContextTimestamps=undefined;k(null,ne)}))}))}_readContextHash(E,k){this.fs.readdir(E,((S,w)=>{if(S){if(S.code==="ENOENT"){this._contextHashes.set(E,null);return k(null,null)}return k(S)}const j=w.map((E=>E.normalize("NFC"))).filter((E=>!/^\./.test(E))).sort();N.map(j,((k,S)=>{const w=ee(this.fs,E,k);this.fs.stat(w,((k,N)=>{if(k)return S(k);for(const k of this.immutablePathsWithSlash){if(E.startsWith(k)){return S(null,"")}}for(const k of this.managedPathsWithSlash){if(E.startsWith(k)){const E=getManagedItem(k,w);if(E){return this.managedItemQueue.add(E,((E,k)=>{if(E)return S(E);S(null,k||"")}))}}}if(N.isFile()){return this.getFileHash(w,((E,k)=>{S(E,k||"")}))}if(N.isDirectory()){this.contextHashQueue.increaseParallelism();this.getContextHash(w,((E,k)=>{this.contextHashQueue.decreaseParallelism();S(E,k||"")}));return}S(null,"")}))}),((S,w)=>{if(S)return k(S);const N=q("md4");for(const E of j)N.update(E);for(const E of w)N.update(E);const ee=N.digest("hex");this._contextHashes.set(E,ee);k(null,ee)}))}))}_getContextTimestampAndHash(E,k){const continueWithHash=S=>{const w=this._contextTimestamps.get(E);if(w!==undefined){if(w!=="ignore"){const N={...w,hash:S};this._contextTshs.set(E,N);return k(null,N)}else{this._contextTshs.set(E,S);return k(null,S)}}else{this.contextTimestampQueue.add(E,((w,N)=>{if(w){return k(w)}const j={...N,hash:S};this._contextTshs.set(E,j);return k(null,j)}))}};const S=this._contextHashes.get(E);if(S!==undefined){continueWithHash(S)}else{this.contextHashQueue.add(E,((E,S)=>{if(E){return k(E)}continueWithHash(S)}))}}_getManagedItemDirectoryInfo(E,k){this.fs.readdir(E,((S,w)=>{if(S){if(S.code==="ENOENT"||S.code==="ENOTDIR"){return k(null,we)}return k(S)}const N=new Set(w.map((k=>ee(this.fs,E,k))));k(null,N)}))}_getManagedItemInfo(E,k){const S=te(this.fs,E);this.managedItemDirectoryQueue.add(S,((S,w)=>{if(S){return k(S)}if(!w.has(E)){this._managedItems.set(E,"missing");return k(null,"missing")}if(E.endsWith("node_modules")&&(E.endsWith("/node_modules")||E.endsWith("\\node_modules"))){this._managedItems.set(E,"exists");return k(null,"exists")}const N=ee(this.fs,E,"package.json");this.fs.readFile(N,((S,w)=>{if(S){if(S.code==="ENOENT"||S.code==="ENOTDIR"){this.fs.readdir(E,((S,w)=>{if(!S&&w.length===1&&w[0]==="node_modules"){this._managedItems.set(E,"nested");return k(null,"nested")}const N=`Managed item ${E} isn't a directory or doesn't contain a package.json`;this.logger.warn(N);return k(new Error(N))}));return}return k(S)}let N;try{N=JSON.parse(w.toString("utf-8"))}catch(E){return k(E)}const j=`${N.name||""}@${N.version||""}`;this._managedItems.set(E,j);k(null,j)}))}))}getDeprecatedFileTimestamps(){if(this._cachedDeprecatedFileTimestamps!==undefined)return this._cachedDeprecatedFileTimestamps;const E=new Map;for(const[k,S]of this._fileTimestamps){if(S)E.set(k,typeof S==="object"?S.safeTime:null)}return this._cachedDeprecatedFileTimestamps=E}getDeprecatedContextTimestamps(){if(this._cachedDeprecatedContextTimestamps!==undefined)return this._cachedDeprecatedContextTimestamps;const E=new Map;for(const[k,S]of this._contextTimestamps){if(S)E.set(k,typeof S==="object"?S.safeTime:null)}return this._cachedDeprecatedContextTimestamps=E}}E.exports=FileSystemInfo;E.exports.Snapshot=Snapshot},6283:(E,k,S)=>{"use strict";const{getEntryRuntime:w,mergeRuntimeOwned:N}=S(37416);class FlagAllModulesAsUsedPlugin{constructor(E){this.explanation=E}apply(E){E.hooks.compilation.tap("FlagAllModulesAsUsedPlugin",(E=>{const k=E.moduleGraph;E.hooks.optimizeDependencies.tap("FlagAllModulesAsUsedPlugin",(S=>{let j=undefined;for(const[k,{options:S}]of E.entries){j=N(j,w(E,k,S))}for(const E of S){const S=k.getExportsInfo(E);S.setUsedInUnknownWay(j);k.addExtraReason(E,this.explanation);if(E.factoryMeta===undefined){E.factoryMeta={}}E.factoryMeta.sideEffectFree=false}}))}))}}E.exports=FlagAllModulesAsUsedPlugin},95629:(E,k,S)=>{"use strict";const w=S(62355);const N=S(39541);class FlagDependencyExportsPlugin{apply(E){E.hooks.compilation.tap("FlagDependencyExportsPlugin",(E=>{const k=E.moduleGraph;const S=E.getCache("FlagDependencyExportsPlugin");E.hooks.finishModules.tapAsync("FlagDependencyExportsPlugin",((j,q)=>{const ee=E.getLogger("webpack.FlagDependencyExportsPlugin");let te=0;let ne=0;let ae=0;let _e=0;let ve=0;const Ee=new N;ee.time("restore cached provided exports");w.each(j,((E,w)=>{const N=k.getExportsInfo(E);if(!E.buildMeta||!E.buildMeta.exportsType){if(N.otherExportsInfo.provided!==null){ne++;N.setHasProvideInfo();N.setUnknownExportsProvided();return w()}}if(E.buildInfo.cacheable!==true||typeof E.buildInfo.hash!=="string"){ae++;Ee.enqueue(E);N.setHasProvideInfo();return w()}S.get(E.identifier(),E.buildInfo.hash,((S,j)=>{if(S)return w(S);if(j!==undefined){te++;k.getExportsInfo(E).restoreProvided(j)}else{_e++;Ee.enqueue(E);N.setHasProvideInfo()}w()}))}),(E=>{ee.timeEnd("restore cached provided exports");if(E)return q(E);const N=new Set;const j=new Map;let we;let Ce;const Me=new Map;let Te=true;let Ie=false;const processDependenciesBlock=E=>{for(const k of E.dependencies){processDependency(k)}for(const k of E.blocks){processDependenciesBlock(k)}};const processDependency=E=>{const S=E.getExports(k);if(!S)return;Me.set(E,S)};const processExportsSpec=(E,S)=>{const w=S.exports;const N=S.canMangle;const q=S.from;const ee=S.priority;const te=S.terminalBinding||false;const ne=S.dependencies;if(S.hideExports){for(const k of S.hideExports){const S=Ce.getExportInfo(k);S.unsetTarget(E)}}if(w===true){if(Ce.setUnknownExportsProvided(N,S.excludeExports,q&&E,q,ee)){Ie=true}}else if(Array.isArray(w)){const mergeExports=(S,w)=>{for(const ne of w){let w;let ae=N;let _e=te;let ve=undefined;let Ee=q;let Ce=undefined;let Me=ee;let Te=false;if(typeof ne==="string"){w=ne}else{w=ne.name;if(ne.canMangle!==undefined)ae=ne.canMangle;if(ne.export!==undefined)Ce=ne.export;if(ne.exports!==undefined)ve=ne.exports;if(ne.from!==undefined)Ee=ne.from;if(ne.priority!==undefined)Me=ne.priority;if(ne.terminalBinding!==undefined)_e=ne.terminalBinding;if(ne.hidden!==undefined)Te=ne.hidden}const Oe=S.getExportInfo(w);if(Oe.provided===false||Oe.provided===null){Oe.provided=true;Ie=true}if(Oe.canMangleProvide!==false&&ae===false){Oe.canMangleProvide=false;Ie=true}if(_e&&!Oe.terminalBinding){Oe.terminalBinding=true;Ie=true}if(ve){const E=Oe.createNestedExportsInfo();mergeExports(E,ve)}if(Ee&&(Te?Oe.unsetTarget(E):Oe.setTarget(E,Ee,Ce===undefined?[w]:Ce,Me))){Ie=true}const Re=Oe.getTarget(k);let Fe=undefined;if(Re){const E=k.getExportsInfo(Re.module);Fe=E.getNestedExportsInfo(Re.export);const S=j.get(Re.module);if(S===undefined){j.set(Re.module,new Set([we]))}else{S.add(we)}}if(Oe.exportsInfoOwned){if(Oe.exportsInfo.setRedirectNamedTo(Fe)){Ie=true}}else if(Oe.exportsInfo!==Fe){Oe.exportsInfo=Fe;Ie=true}}};mergeExports(Ce,w)}if(ne){Te=false;for(const E of ne){const k=j.get(E);if(k===undefined){j.set(E,new Set([we]))}else{k.add(we)}}}};const notifyDependencies=()=>{const E=j.get(we);if(E!==undefined){for(const k of E){Ee.enqueue(k)}}};ee.time("figure out provided exports");while(Ee.length>0){we=Ee.dequeue();ve++;Ce=k.getExportsInfo(we);Te=true;Ie=false;Me.clear();k.freeze();processDependenciesBlock(we);k.unfreeze();for(const[E,k]of Me){processExportsSpec(E,k)}if(Te){N.add(we)}if(Ie){notifyDependencies()}}ee.timeEnd("figure out provided exports");ee.log(`${Math.round(100*(ae+_e)/(te+_e+ae+ne))}% of exports of modules have been determined (${ne} no declared exports, ${_e} not cached, ${ae} flagged uncacheable, ${te} from cache, ${ve-_e-ae} additional calculations due to dependencies)`);ee.time("store provided exports into cache");w.each(N,((E,w)=>{if(E.buildInfo.cacheable!==true||typeof E.buildInfo.hash!=="string"){return w()}S.store(E.identifier(),E.buildInfo.hash,k.getExportsInfo(E).getRestoreProvidedData(),w)}),(E=>{ee.timeEnd("store provided exports into cache");q(E)}))}))}));const j=new WeakMap;E.hooks.rebuildModule.tap("FlagDependencyExportsPlugin",(E=>{j.set(E,k.getExportsInfo(E).getRestoreProvidedData())}));E.hooks.finishRebuildingModule.tap("FlagDependencyExportsPlugin",(E=>{k.getExportsInfo(E).restoreProvided(j.get(E))}))}))}}E.exports=FlagDependencyExportsPlugin},1596:(E,k,S)=>{"use strict";const w=S(28706);const{UsageState:N}=S(76632);const j=S(79900);const{STAGE_DEFAULT:q}=S(82414);const ee=S(56561);const te=S(34194);const{getEntryRuntime:ne,mergeRuntimeOwned:ae}=S(37416);const{NO_EXPORTS_REFERENCED:_e,EXPORTS_OBJECT_REFERENCED:ve}=w;class FlagDependencyUsagePlugin{constructor(E){this.global=E}apply(E){E.hooks.compilation.tap("FlagDependencyUsagePlugin",(E=>{const k=E.moduleGraph;E.hooks.optimizeDependencies.tap({name:"FlagDependencyUsagePlugin",stage:q},(S=>{const w=E.getLogger("webpack.FlagDependencyUsagePlugin");const q=new Map;const Ee=new te;const processReferencedModule=(E,S,w,j)=>{const ee=k.getExportsInfo(E);if(S.length>0){if(!E.buildMeta||!E.buildMeta.exportsType){if(ee.setUsedWithoutInfo(w)){Ee.enqueue(E,w)}return}for(const k of S){let S;let j=true;if(Array.isArray(k)){S=k}else{S=k.name;j=k.canMangle!==false}if(S.length===0){if(ee.setUsedInUnknownWay(w)){Ee.enqueue(E,w)}}else{let k=ee;for(let te=0;teE===N.Unused),N.OnlyPropertiesUsed,w)){const S=k===ee?E:q.get(k);if(S){Ee.enqueue(S,w)}}k=S;continue}}if(ne.setUsedConditionally((E=>E!==N.Used),N.Used,w)){const S=k===ee?E:q.get(k);if(S){Ee.enqueue(S,w)}}break}}}}else{if(!j&&E.factoryMeta!==undefined&&E.factoryMeta.sideEffectFree){return}if(ee.setUsedForSideEffectsOnly(w)){Ee.enqueue(E,w)}}};const processModule=(S,w,N)=>{const q=new Map;const te=new ee;te.enqueue(S);for(;;){const S=te.dequeue();if(S===undefined)break;for(const E of S.blocks){if(!this.global&&E.groupOptions&&E.groupOptions.entryOptions){processModule(E,E.groupOptions.entryOptions.runtime||undefined,true)}else{te.enqueue(E)}}for(const N of S.dependencies){const S=k.getConnection(N);if(!S||!S.module){continue}const ee=S.getActiveState(w);if(ee===false)continue;const{module:te}=S;if(ee===j.TRANSITIVE_ONLY){processModule(te,w,false);continue}const ne=q.get(te);if(ne===ve){continue}const ae=E.getDependencyReferencedExports(N,w);if(ne===undefined||ne===_e||ae===ve){q.set(te,ae)}else if(ne!==undefined&&ae===_e){continue}else{let E;if(Array.isArray(ne)){E=new Map;for(const k of ne){if(Array.isArray(k)){E.set(k.join("\n"),k)}else{E.set(k.name.join("\n"),k)}}q.set(te,E)}else{E=ne}for(const k of ae){if(Array.isArray(k)){const S=k.join("\n");const w=E.get(S);if(w===undefined){E.set(S,k)}}else{const S=k.name.join("\n");const w=E.get(S);if(w===undefined||Array.isArray(w)){E.set(S,k)}else{E.set(S,{name:k.name,canMangle:k.canMangle&&w.canMangle})}}}}}}for(const[E,k]of q){if(Array.isArray(k)){processReferencedModule(E,k,w,N)}else{processReferencedModule(E,Array.from(k.values()),w,N)}}};w.time("initialize exports usage");for(const E of S){const S=k.getExportsInfo(E);q.set(S,E);S.setHasUseInfo()}w.timeEnd("initialize exports usage");w.time("trace exports usage in graph");const processEntryDependency=(E,S)=>{const w=k.getModule(E);if(w){processReferencedModule(w,_e,S,true)}};let we=undefined;for(const[k,{dependencies:S,includeDependencies:w,options:N}]of E.entries){const j=this.global?undefined:ne(E,k,N);for(const E of S){processEntryDependency(E,j)}for(const E of w){processEntryDependency(E,j)}we=ae(we,j)}for(const k of E.globalEntry.dependencies){processEntryDependency(k,we)}for(const k of E.globalEntry.includeDependencies){processEntryDependency(k,we)}while(Ee.length){const[E,k]=Ee.dequeue();processModule(E,k,false)}w.timeEnd("trace exports usage in graph")}))}))}}E.exports=FlagDependencyUsagePlugin},36253:(E,k,S)=>{"use strict";class Generator{static byType(E){return new ByTypeGenerator(E)}getTypes(E){const k=S(75884);throw new k}getSize(E,k){const w=S(75884);throw new w}generate(E,{dependencyTemplates:k,runtimeTemplate:w,moduleGraph:N,type:j}){const q=S(75884);throw new q}getConcatenationBailoutReason(E,k){return`Module Concatenation is not implemented for ${this.constructor.name}`}updateHash(E,{module:k,runtime:S}){}}class ByTypeGenerator extends Generator{constructor(E){super();this.map=E;this._types=new Set(Object.keys(E))}getTypes(E){return this._types}getSize(E,k){const S=k||"javascript";const w=this.map[S];return w?w.getSize(E,S):0}generate(E,k){const S=k.type;const w=this.map[S];if(!w){throw new Error(`Generator.byType: no generator specified for ${S}`)}return w.generate(E,k)}}E.exports=Generator},4642:(E,k)=>{"use strict";const connectChunkGroupAndChunk=(E,k)=>{if(E.pushChunk(k)){k.addGroup(E)}};const connectChunkGroupParentAndChild=(E,k)=>{if(E.addChild(k)){k.addParent(E)}};k.connectChunkGroupAndChunk=connectChunkGroupAndChunk;k.connectChunkGroupParentAndChild=connectChunkGroupParentAndChild},36756:(E,k,S)=>{"use strict";const w=S(81627);E.exports=class HarmonyLinkingError extends w{constructor(E){super(E);this.name="HarmonyLinkingError";this.hideStack=true}}},3728:(E,k,S)=>{"use strict";const w=S(81627);class HookWebpackError extends w{constructor(E,k){super(E.message);this.name="HookWebpackError";this.hook=k;this.error=E;this.hideStack=true;this.details=`caused by plugins in ${k}\n${E.stack}`;this.stack+=`\n-- inner error --\n${E.stack}`}}E.exports=HookWebpackError;const makeWebpackError=(E,k)=>{if(E instanceof w)return E;return new HookWebpackError(E,k)};E.exports.makeWebpackError=makeWebpackError;const makeWebpackErrorCallback=(E,k)=>(S,N)=>{if(S){if(S instanceof w){E(S);return}E(new HookWebpackError(S,k));return}E(null,N)};E.exports.makeWebpackErrorCallback=makeWebpackErrorCallback;const tryRunOrWebpackError=(E,k)=>{let S;try{S=E()}catch(E){if(E instanceof w){throw E}throw new HookWebpackError(E,k)}return S};E.exports.tryRunOrWebpackError=tryRunOrWebpackError},79972:(E,k,S)=>{"use strict";const{SyncBailHook:w}=S(92960);const{RawSource:N}=S(48135);const j=S(45137);const q=S(3080);const ee=S(22352);const te=S(53520);const ne=S(76150);const ae=S(81627);const _e=S(66298);const ve=S(76302);const Ee=S(5389);const we=S(21809);const Ce=S(73158);const Me=S(79838);const Te=S(3711);const{evaluateToIdentifier:Ie}=S(48472);const{find:Oe,isSubset:Re}=S(26221);const Fe=S(86949);const{compareModulesById:Ne}=S(68673);const{getRuntimeKey:Be,keyToRuntime:Le,forEachRuntime:je,mergeRuntimeOwned:$e,subtractRuntime:ze,intersectRuntime:Ue}=S(37416);const Ge=new WeakMap;class HotModuleReplacementPlugin{static getParserHooks(E){if(!(E instanceof Te)){throw new TypeError("The 'parser' argument must be an instance of JavascriptParser")}let k=Ge.get(E);if(k===undefined){k={hotAcceptCallback:new w(["expression","requests"]),hotAcceptWithoutCallback:new w(["expression","requests"])};Ge.set(E,k)}return k}constructor(E){this.options=E||{}}apply(E){if(E.options.output.strictModuleErrorHandling===undefined)E.options.output.strictModuleErrorHandling=true;const k=[ne.module];const createAcceptHandler=(E,S)=>{const{hotAcceptCallback:w,hotAcceptWithoutCallback:N}=HotModuleReplacementPlugin.getParserHooks(E);return j=>{const q=E.state.module;const ee=new _e(`${q.moduleArgument}.hot.accept`,j.callee.range,k);ee.loc=j.loc;q.addPresentationalDependency(ee);q.buildInfo.moduleConcatenationBailout="Hot Module Replacement";if(j.arguments.length>=1){const k=E.evaluateExpression(j.arguments[0]);let ee=[];let te=[];if(k.isString()){ee=[k]}else if(k.isArray()){ee=k.items.filter((E=>E.isString()))}if(ee.length>0){ee.forEach(((E,k)=>{const w=E.string;const N=new S(w,E.range);N.optional=true;N.loc=Object.create(j.loc);N.loc.index=k;q.addDependency(N);te.push(w)}));if(j.arguments.length>1){w.call(j.arguments[1],te);for(let k=1;kw=>{const N=E.state.module;const j=new _e(`${N.moduleArgument}.hot.decline`,w.callee.range,k);j.loc=w.loc;N.addPresentationalDependency(j);N.buildInfo.moduleConcatenationBailout="Hot Module Replacement";if(w.arguments.length===1){const k=E.evaluateExpression(w.arguments[0]);let j=[];if(k.isString()){j=[k]}else if(k.isArray()){j=k.items.filter((E=>E.isString()))}j.forEach(((E,k)=>{const j=new S(E.string,E.range);j.optional=true;j.loc=Object.create(w.loc);j.loc.index=k;N.addDependency(j)}))}return true};const createHMRExpressionHandler=E=>S=>{const w=E.state.module;const N=new _e(`${w.moduleArgument}.hot`,S.range,k);N.loc=S.loc;w.addPresentationalDependency(N);w.buildInfo.moduleConcatenationBailout="Hot Module Replacement";return true};const applyModuleHot=E=>{E.hooks.evaluateIdentifier.for("module.hot").tap({name:"HotModuleReplacementPlugin",before:"NodeStuffPlugin"},(E=>Ie("module.hot","module",(()=>["hot"]),true)(E)));E.hooks.call.for("module.hot.accept").tap("HotModuleReplacementPlugin",createAcceptHandler(E,we));E.hooks.call.for("module.hot.decline").tap("HotModuleReplacementPlugin",createDeclineHandler(E,Ce));E.hooks.expression.for("module.hot").tap("HotModuleReplacementPlugin",createHMRExpressionHandler(E))};const applyImportMetaHot=E=>{E.hooks.evaluateIdentifier.for("import.meta.webpackHot").tap("HotModuleReplacementPlugin",(E=>Ie("import.meta.webpackHot","import.meta",(()=>["webpackHot"]),true)(E)));E.hooks.call.for("import.meta.webpackHot.accept").tap("HotModuleReplacementPlugin",createAcceptHandler(E,ve));E.hooks.call.for("import.meta.webpackHot.decline").tap("HotModuleReplacementPlugin",createDeclineHandler(E,Ee));E.hooks.expression.for("import.meta.webpackHot").tap("HotModuleReplacementPlugin",createHMRExpressionHandler(E))};E.hooks.compilation.tap("HotModuleReplacementPlugin",((k,{normalModuleFactory:S})=>{if(k.compiler!==E)return;k.dependencyFactories.set(we,S);k.dependencyTemplates.set(we,new we.Template);k.dependencyFactories.set(Ce,S);k.dependencyTemplates.set(Ce,new Ce.Template);k.dependencyFactories.set(ve,S);k.dependencyTemplates.set(ve,new ve.Template);k.dependencyFactories.set(Ee,S);k.dependencyTemplates.set(Ee,new Ee.Template);let w=0;const _e={};const Te={};k.hooks.record.tap("HotModuleReplacementPlugin",((E,k)=>{if(k.hash===E.hash)return;const S=E.chunkGraph;k.hash=E.hash;k.hotIndex=w;k.fullHashChunkModuleHashes=_e;k.chunkModuleHashes=Te;k.chunkHashs={};k.chunkRuntime={};for(const S of E.chunks){k.chunkHashs[S.id]=S.hash;k.chunkRuntime[S.id]=Be(S.runtime)}k.chunkModuleIds={};for(const w of E.chunks){k.chunkModuleIds[w.id]=Array.from(S.getOrderedChunkModulesIterable(w,Ne(S)),(E=>S.getModuleId(E)))}}));const Ie=new Fe;const Ge=new Fe;const qe=new Fe;k.hooks.fullHash.tap("HotModuleReplacementPlugin",(E=>{const S=k.chunkGraph;const N=k.records;for(const E of k.chunks){const getModuleHash=w=>{if(k.codeGenerationResults.has(w,E.runtime)){return k.codeGenerationResults.getHash(w,E.runtime)}else{qe.add(w,E.runtime);return S.getModuleHash(w,E.runtime)}};const w=S.getChunkFullHashModulesSet(E);if(w!==undefined){for(const k of w){Ge.add(k,E)}}const j=S.getChunkModulesIterable(E);if(j!==undefined){if(N.chunkModuleHashes){if(w!==undefined){for(const k of j){const S=`${E.id}|${k.identifier()}`;const j=getModuleHash(k);if(w.has(k)){if(N.fullHashChunkModuleHashes[S]!==j){Ie.add(k,E)}_e[S]=j}else{if(N.chunkModuleHashes[S]!==j){Ie.add(k,E)}Te[S]=j}}}else{for(const k of j){const S=`${E.id}|${k.identifier()}`;const w=getModuleHash(k);if(N.chunkModuleHashes[S]!==w){Ie.add(k,E)}Te[S]=w}}}else{if(w!==undefined){for(const k of j){const S=`${E.id}|${k.identifier()}`;const N=getModuleHash(k);if(w.has(k)){_e[S]=N}else{Te[S]=N}}}else{for(const k of j){const S=`${E.id}|${k.identifier()}`;const w=getModuleHash(k);Te[S]=w}}}}}w=N.hotIndex||0;if(Ie.size>0)w++;E.update(`${w}`)}));k.hooks.processAssets.tap({name:"HotModuleReplacementPlugin",stage:q.PROCESS_ASSETS_STAGE_ADDITIONAL},(()=>{const E=k.chunkGraph;const S=k.records;if(S.hash===k.hash)return;if(!S.chunkModuleHashes||!S.chunkHashs||!S.chunkModuleIds){return}for(const[w,N]of Ge){const j=`${N.id}|${w.identifier()}`;const q=qe.has(w,N.runtime)?E.getModuleHash(w,N.runtime):k.codeGenerationResults.getHash(w,N.runtime);if(S.chunkModuleHashes[j]!==q){Ie.add(w,N)}Te[j]=q}const w=new Map;let q;for(const E of Object.keys(S.chunkRuntime)){const k=Le(S.chunkRuntime[E]);q=$e(q,k)}je(q,(E=>{const{path:N,info:j}=k.getPathWithInfo(k.outputOptions.hotUpdateMainFilename,{hash:S.hash,runtime:E});w.set(E,{updatedChunkIds:new Set,removedChunkIds:new Set,removedModules:new Set,filename:N,assetInfo:j})}));if(w.size===0)return;const te=new Map;for(const S of k.modules){const k=E.getModuleId(S);te.set(k,S)}const ne=new Set;for(const N of Object.keys(S.chunkHashs)){const ae=Le(S.chunkRuntime[N]);const _e=[];for(const E of S.chunkModuleIds[N]){const k=te.get(E);if(k===undefined){ne.add(E)}else{_e.push(k)}}let ve;let Ee;let we;let Ce;let Me;let Te;const Re=Oe(k.chunks,(E=>`${E.id}`===N));if(Re){ve=Re.id;Me=Ue(Re.runtime,q);if(Me===undefined)continue;Ee=E.getChunkModules(Re).filter((E=>Ie.has(E,Re)));we=Array.from(E.getChunkRuntimeModulesIterable(Re)).filter((E=>Ie.has(E,Re)));const k=E.getChunkFullHashModulesIterable(Re);Ce=k&&Array.from(k).filter((E=>Ie.has(E,Re)));Te=ze(ae,Me)}else{ve=`${+N}`===N?+N:N;Te=ae;Me=ae}if(Te){je(Te,(E=>{w.get(E).removedChunkIds.add(ve)}));for(const j of _e){const q=`${N}|${j.identifier()}`;const ee=S.chunkModuleHashes[q];const te=E.getModuleRuntimes(j);if(ae===Me&&te.has(Me)){const S=qe.has(j,Me)?E.getModuleHash(j,Me):k.codeGenerationResults.getHash(j,Me);if(S!==ee){if(j.type==="runtime"){we=we||[];we.push(j)}else{Ee=Ee||[];Ee.push(j)}}}else{je(Te,(E=>{for(const k of te){if(typeof k==="string"){if(k===E)return}else if(k!==undefined){if(k.has(E))return}}w.get(E).removedModules.add(j)}))}}}if(Ee&&Ee.length>0||we&&we.length>0){const N=new ee;j.setChunkGraphForChunk(N,E);N.id=ve;N.runtime=Me;if(Re){for(const E of Re.groupsIterable)N.addGroup(E)}E.attachModules(N,Ee||[]);E.attachRuntimeModules(N,we||[]);if(Ce){E.attachFullHashModules(N,Ce)}const q=k.getRenderManifest({chunk:N,hash:S.hash,fullHash:S.hash,outputOptions:k.outputOptions,moduleTemplates:k.moduleTemplates,dependencyTemplates:k.dependencyTemplates,codeGenerationResults:k.codeGenerationResults,runtimeTemplate:k.runtimeTemplate,moduleGraph:k.moduleGraph,chunkGraph:E});for(const E of q){let S;let w;if("filename"in E){S=E.filename;w=E.info}else{({path:S,info:w}=k.getPathWithInfo(E.filenameTemplate,E.pathOptions))}const N=E.render();k.additionalChunkAssets.push(S);k.emitAsset(S,N,{hotModuleReplacement:true,...w});if(Re){Re.files.add(S);k.hooks.chunkAsset.call(Re,S)}}je(Me,(E=>{w.get(E).updatedChunkIds.add(ve)}))}}const _e=Array.from(ne);const ve=new Map;for(const{removedChunkIds:E,removedModules:S,updatedChunkIds:N,filename:j,assetInfo:q}of w.values()){const w=ve.get(j);if(w&&(!Re(w.removedChunkIds,E)||!Re(w.removedModules,S)||!Re(w.updatedChunkIds,N))){k.warnings.push(new ae(`HotModuleReplacementPlugin\nThe configured output.hotUpdateMainFilename doesn't lead to unique filenames per runtime and HMR update differs between runtimes.\nThis might lead to incorrect runtime behavior of the applied update.\nTo fix this, make sure to include [runtime] in the output.hotUpdateMainFilename option, or use the default config.`));for(const k of E)w.removedChunkIds.add(k);for(const E of S)w.removedModules.add(E);for(const E of N)w.updatedChunkIds.add(E);continue}ve.set(j,{removedChunkIds:E,removedModules:S,updatedChunkIds:N,assetInfo:q})}for(const[S,{removedChunkIds:w,removedModules:j,updatedChunkIds:q,assetInfo:ee}]of ve){const te={c:Array.from(q),r:Array.from(w),m:j.size===0?_e:_e.concat(Array.from(j,(k=>E.getModuleId(k))))};const ne=new N(JSON.stringify(te));k.emitAsset(S,ne,{hotModuleReplacement:true,...ee})}}));k.hooks.additionalTreeRuntimeRequirements.tap("HotModuleReplacementPlugin",((E,S)=>{S.add(ne.hmrDownloadManifest);S.add(ne.hmrDownloadUpdateHandlers);S.add(ne.interceptModuleExecution);S.add(ne.moduleCache);k.addRuntimeModule(E,new Me)}));S.hooks.parser.for("javascript/auto").tap("HotModuleReplacementPlugin",(E=>{applyModuleHot(E);applyImportMetaHot(E)}));S.hooks.parser.for("javascript/dynamic").tap("HotModuleReplacementPlugin",(E=>{applyModuleHot(E)}));S.hooks.parser.for("javascript/esm").tap("HotModuleReplacementPlugin",(E=>{applyImportMetaHot(E)}));te.getCompilationHooks(k).loader.tap("HotModuleReplacementPlugin",(E=>{E.hot=true}))}))}}E.exports=HotModuleReplacementPlugin},22352:(E,k,S)=>{"use strict";const w=S(62433);class HotUpdateChunk extends w{constructor(){super()}}E.exports=HotUpdateChunk},16761:(E,k,S)=>{"use strict";const w=S(40674);class IgnoreErrorModuleFactory extends w{constructor(E){super();this.normalModuleFactory=E}create(E,k){this.normalModuleFactory.create(E,((E,S)=>k(null,S)))}}E.exports=IgnoreErrorModuleFactory},69276:(E,k,S)=>{"use strict";const w=S(35817);const N=w(S(44194),(()=>S(24019)),{name:"Ignore Plugin",baseDataPath:"options"});class IgnorePlugin{constructor(E){N(E);this.options=E;this.checkIgnore=this.checkIgnore.bind(this)}checkIgnore(E){if("checkResource"in this.options&&this.options.checkResource&&this.options.checkResource(E.request,E.context)){return false}if("resourceRegExp"in this.options&&this.options.resourceRegExp&&this.options.resourceRegExp.test(E.request)){if("contextRegExp"in this.options&&this.options.contextRegExp){if(this.options.contextRegExp.test(E.context)){return false}}else{return false}}}apply(E){E.hooks.normalModuleFactory.tap("IgnorePlugin",(E=>{E.hooks.beforeResolve.tap("IgnorePlugin",this.checkIgnore)}));E.hooks.contextModuleFactory.tap("IgnorePlugin",(E=>{E.hooks.beforeResolve.tap("IgnorePlugin",this.checkIgnore)}))}}E.exports=IgnorePlugin},89056:E=>{"use strict";class IgnoreWarningsPlugin{constructor(E){this._ignoreWarnings=E}apply(E){E.hooks.compilation.tap("IgnoreWarningsPlugin",(E=>{E.hooks.processWarnings.tap("IgnoreWarningsPlugin",(k=>k.filter((k=>!this._ignoreWarnings.some((S=>S(k,E)))))))}))}}E.exports=IgnoreWarningsPlugin},63272:(E,k,S)=>{"use strict";const{ConcatSource:w}=S(48135);const extractFragmentIndex=(E,k)=>[E,k];const sortFragmentWithIndex=([E,k],[S,w])=>{const N=E.stage-S.stage;if(N!==0)return N;const j=E.position-S.position;if(j!==0)return j;return k-w};class InitFragment{constructor(E,k,S,w,N){this.content=E;this.stage=k;this.position=S;this.key=w;this.endContent=N}getContent(E){return this.content}getEndContent(E){return this.endContent}static addToSource(E,k,S){if(k.length>0){const N=k.map(extractFragmentIndex).sort(sortFragmentWithIndex);const j=new Map;for(const[E]of N){if(typeof E.mergeAll==="function"){if(!E.key){throw new Error(`InitFragment with mergeAll function must have a valid key: ${E.constructor.name}`)}const k=j.get(E.key);if(k===undefined){j.set(E.key,E)}else if(Array.isArray(k)){k.push(E)}else{j.set(E.key,[k,E])}continue}else if(typeof E.merge==="function"){const k=j.get(E.key);if(k!==undefined){j.set(E.key,E.merge(k));continue}}j.set(E.key||Symbol(),E)}const q=new w;const ee=[];for(let E of j.values()){if(Array.isArray(E)){E=E[0].mergeAll(E)}q.add(E.getContent(S));const k=E.getEndContent(S);if(k){ee.push(k)}}q.add(E);for(const E of ee.reverse()){q.add(E)}return q}else{return E}}}InitFragment.prototype.merge=undefined;InitFragment.STAGE_CONSTANTS=10;InitFragment.STAGE_ASYNC_BOUNDARY=20;InitFragment.STAGE_HARMONY_EXPORTS=30;InitFragment.STAGE_HARMONY_IMPORTS=40;InitFragment.STAGE_PROVIDES=50;InitFragment.STAGE_ASYNC_DEPENDENCIES=60;InitFragment.STAGE_ASYNC_HARMONY_IMPORTS=70;E.exports=InitFragment},49619:(E,k,S)=>{"use strict";const w=S(81627);const N=S(56202);class InvalidDependenciesModuleWarning extends w{constructor(E,k){const S=k?Array.from(k).sort():[];const w=S.map((E=>` * ${JSON.stringify(E)}`));super(`Invalid dependencies have been reported by plugins or loaders for this module. All reported dependencies need to be absolute paths.\nInvalid dependencies may lead to broken watching and caching.\nAs best effort we try to convert all invalid values to absolute paths and converting globs into context dependencies, but this is deprecated behavior.\nLoaders: Pass absolute paths to this.addDependency (existing files), this.addMissingDependency (not existing files), and this.addContextDependency (directories).\nPlugins: Pass absolute paths to fileDependencies (existing files), missingDependencies (not existing files), and contextDependencies (directories).\nGlobs: They are not supported. Pass absolute path to the directory as context dependencies.\nThe following invalid values have been reported:\n${w.slice(0,3).join("\n")}${w.length>3?"\n * and more ...":""}`);this.name="InvalidDependenciesModuleWarning";this.details=w.slice(3).join("\n");this.module=E}}N(InvalidDependenciesModuleWarning,"webpack/lib/InvalidDependenciesModuleWarning");E.exports=InvalidDependenciesModuleWarning},82527:(E,k,S)=>{"use strict";const w=S(58018);class JavascriptMetaInfoPlugin{apply(E){E.hooks.compilation.tap("JavascriptMetaInfoPlugin",((E,{normalModuleFactory:k})=>{const handler=E=>{E.hooks.call.for("eval").tap("JavascriptMetaInfoPlugin",(()=>{E.state.module.buildInfo.moduleConcatenationBailout="eval()";E.state.module.buildInfo.usingEval=true;w.bailout(E.state)}));E.hooks.finish.tap("JavascriptMetaInfoPlugin",(()=>{let k=E.state.module.buildInfo.topLevelDeclarations;if(k===undefined){k=E.state.module.buildInfo.topLevelDeclarations=new Set}for(const S of E.scope.definitions.asSet()){const w=E.getFreeInfoFromVariable(S);if(w===undefined){k.add(S)}}}))};k.hooks.parser.for("javascript/auto").tap("JavascriptMetaInfoPlugin",handler);k.hooks.parser.for("javascript/dynamic").tap("JavascriptMetaInfoPlugin",handler);k.hooks.parser.for("javascript/esm").tap("JavascriptMetaInfoPlugin",handler)}))}}E.exports=JavascriptMetaInfoPlugin},77750:(E,k,S)=>{"use strict";const w=S(62355);const N=S(66583);const{someInIterable:j}=S(11539);const{compareModulesById:q}=S(68673);const{dirname:ee,mkdirp:te}=S(95396);class LibManifestPlugin{constructor(E){this.options=E}apply(E){E.hooks.emit.tapAsync("LibManifestPlugin",((k,S)=>{const ne=k.moduleGraph;w.forEach(Array.from(k.chunks),((S,w)=>{if(!S.canBeInitial()){w();return}const ae=k.chunkGraph;const _e=k.getPath(this.options.path,{chunk:S});const ve=this.options.name&&k.getPath(this.options.name,{chunk:S});const Ee=Object.create(null);for(const k of ae.getOrderedChunkModulesIterable(S,q(ae))){if(this.options.entryOnly&&!j(ne.getIncomingConnections(k),(E=>E.dependency instanceof N))){continue}const S=k.libIdent({context:this.options.context||E.options.context,associatedObjectForCache:E.root});if(S){const E=ne.getExportsInfo(k);const w=E.getProvidedExports();const N={id:ae.getModuleId(k),buildMeta:k.buildMeta,exports:Array.isArray(w)?w:undefined};Ee[S]=N}}const we={name:ve,type:this.options.type,content:Ee};const Ce=this.options.format?JSON.stringify(we,null,2):JSON.stringify(we);const Me=Buffer.from(Ce,"utf8");te(E.intermediateFileSystem,ee(E.intermediateFileSystem,_e),(k=>{if(k)return w(k);E.intermediateFileSystem.writeFile(_e,Me,w)}))}),S)}))}}E.exports=LibManifestPlugin},43351:(E,k,S)=>{"use strict";const w=S(13984);class LibraryTemplatePlugin{constructor(E,k,S,w,N){this.library={type:k||"var",name:E,umdNamedDefine:S,auxiliaryComment:w,export:N}}apply(E){const{output:k}=E.options;k.library=this.library;new w(this.library.type).apply(E)}}E.exports=LibraryTemplatePlugin},19674:(E,k,S)=>{"use strict";const w=S(70354);const N=S(53520);const j=S(35817);const q=j(S(80274),(()=>S(6087)),{name:"Loader Options Plugin",baseDataPath:"options"});class LoaderOptionsPlugin{constructor(E={}){q(E);if(typeof E!=="object")E={};if(!E.test){E.test={test:()=>true}}this.options=E}apply(E){const k=this.options;E.hooks.compilation.tap("LoaderOptionsPlugin",(E=>{N.getCompilationHooks(E).loader.tap("LoaderOptionsPlugin",((E,S)=>{const N=S.resource;if(!N)return;const j=N.indexOf("?");if(w.matchObject(k,j<0?N:N.substr(0,j))){for(const S of Object.keys(k)){if(S==="include"||S==="exclude"||S==="test"){continue}E[S]=k[S]}}}))}))}}E.exports=LoaderOptionsPlugin},97736:(E,k,S)=>{"use strict";const w=S(53520);class LoaderTargetPlugin{constructor(E){this.target=E}apply(E){E.hooks.compilation.tap("LoaderTargetPlugin",(E=>{w.getCompilationHooks(E).loader.tap("LoaderTargetPlugin",(E=>{E.target=this.target}))}))}}E.exports=LoaderTargetPlugin},73694:(E,k,S)=>{"use strict";const{SyncWaterfallHook:w}=S(92960);const N=S(31669);const j=S(76150);const q=S(91671);const ee=q((()=>S(18161)));const te=q((()=>S(58421)));const ne=q((()=>S(67104)));class MainTemplate{constructor(E,k){this._outputOptions=E||{};this.hooks=Object.freeze({renderManifest:{tap:N.deprecate(((E,S)=>{k.hooks.renderManifest.tap(E,((E,k)=>{if(!k.chunk.hasRuntime())return E;return S(E,k)}))}),"MainTemplate.hooks.renderManifest is deprecated (use Compilation.hooks.renderManifest instead)","DEP_WEBPACK_MAIN_TEMPLATE_RENDER_MANIFEST")},modules:{tap:()=>{throw new Error("MainTemplate.hooks.modules has been removed (there is no replacement, please create an issue to request that)")}},moduleObj:{tap:()=>{throw new Error("MainTemplate.hooks.moduleObj has been removed (there is no replacement, please create an issue to request that)")}},require:{tap:N.deprecate(((E,S)=>{ee().getCompilationHooks(k).renderRequire.tap(E,S)}),"MainTemplate.hooks.require is deprecated (use JavascriptModulesPlugin.getCompilationHooks().renderRequire instead)","DEP_WEBPACK_MAIN_TEMPLATE_REQUIRE")},beforeStartup:{tap:()=>{throw new Error("MainTemplate.hooks.beforeStartup has been removed (use RuntimeGlobals.startupOnlyBefore instead)")}},startup:{tap:()=>{throw new Error("MainTemplate.hooks.startup has been removed (use RuntimeGlobals.startup instead)")}},afterStartup:{tap:()=>{throw new Error("MainTemplate.hooks.afterStartup has been removed (use RuntimeGlobals.startupOnlyAfter instead)")}},render:{tap:N.deprecate(((E,S)=>{ee().getCompilationHooks(k).render.tap(E,((E,w)=>{if(w.chunkGraph.getNumberOfEntryModules(w.chunk)===0||!w.chunk.hasRuntime()){return E}return S(E,w.chunk,k.hash,k.moduleTemplates.javascript,k.dependencyTemplates)}))}),"MainTemplate.hooks.render is deprecated (use JavascriptModulesPlugin.getCompilationHooks().render instead)","DEP_WEBPACK_MAIN_TEMPLATE_RENDER")},renderWithEntry:{tap:N.deprecate(((E,S)=>{ee().getCompilationHooks(k).render.tap(E,((E,w)=>{if(w.chunkGraph.getNumberOfEntryModules(w.chunk)===0||!w.chunk.hasRuntime()){return E}return S(E,w.chunk,k.hash)}))}),"MainTemplate.hooks.renderWithEntry is deprecated (use JavascriptModulesPlugin.getCompilationHooks().render instead)","DEP_WEBPACK_MAIN_TEMPLATE_RENDER_WITH_ENTRY")},assetPath:{tap:N.deprecate(((E,S)=>{k.hooks.assetPath.tap(E,S)}),"MainTemplate.hooks.assetPath is deprecated (use Compilation.hooks.assetPath instead)","DEP_WEBPACK_MAIN_TEMPLATE_ASSET_PATH"),call:N.deprecate(((E,S)=>k.getAssetPath(E,S)),"MainTemplate.hooks.assetPath is deprecated (use Compilation.hooks.assetPath instead)","DEP_WEBPACK_MAIN_TEMPLATE_ASSET_PATH")},hash:{tap:N.deprecate(((E,S)=>{k.hooks.fullHash.tap(E,S)}),"MainTemplate.hooks.hash is deprecated (use Compilation.hooks.fullHash instead)","DEP_WEBPACK_MAIN_TEMPLATE_HASH")},hashForChunk:{tap:N.deprecate(((E,S)=>{ee().getCompilationHooks(k).chunkHash.tap(E,((E,k)=>{if(!E.hasRuntime())return;return S(k,E)}))}),"MainTemplate.hooks.hashForChunk is deprecated (use JavascriptModulesPlugin.getCompilationHooks().chunkHash instead)","DEP_WEBPACK_MAIN_TEMPLATE_HASH_FOR_CHUNK")},globalHashPaths:{tap:N.deprecate((()=>{}),"MainTemplate.hooks.globalHashPaths has been removed (it's no longer needed)","DEP_WEBPACK_MAIN_TEMPLATE_HASH_FOR_CHUNK")},globalHash:{tap:N.deprecate((()=>{}),"MainTemplate.hooks.globalHash has been removed (it's no longer needed)","DEP_WEBPACK_MAIN_TEMPLATE_HASH_FOR_CHUNK")},hotBootstrap:{tap:()=>{throw new Error("MainTemplate.hooks.hotBootstrap has been removed (use your own RuntimeModule instead)")}},bootstrap:new w(["source","chunk","hash","moduleTemplate","dependencyTemplates"]),localVars:new w(["source","chunk","hash"]),requireExtensions:new w(["source","chunk","hash"]),requireEnsure:new w(["source","chunk","hash","chunkIdExpression"]),get jsonpScript(){const E=ne().getCompilationHooks(k);return E.createScript},get linkPrefetch(){const E=te().getCompilationHooks(k);return E.linkPrefetch},get linkPreload(){const E=te().getCompilationHooks(k);return E.linkPreload}});this.renderCurrentHashCode=N.deprecate(((E,k)=>{if(k){return`${j.getFullHash} ? ${j.getFullHash}().slice(0, ${k}) : ${E.slice(0,k)}`}return`${j.getFullHash} ? ${j.getFullHash}() : ${E}`}),"MainTemplate.renderCurrentHashCode is deprecated (use RuntimeGlobals.getFullHash runtime function instead)","DEP_WEBPACK_MAIN_TEMPLATE_RENDER_CURRENT_HASH_CODE");this.getPublicPath=N.deprecate((E=>k.getAssetPath(k.outputOptions.publicPath,E)),"MainTemplate.getPublicPath is deprecated (use Compilation.getAssetPath(compilation.outputOptions.publicPath, options) instead)","DEP_WEBPACK_MAIN_TEMPLATE_GET_PUBLIC_PATH");this.getAssetPath=N.deprecate(((E,S)=>k.getAssetPath(E,S)),"MainTemplate.getAssetPath is deprecated (use Compilation.getAssetPath instead)","DEP_WEBPACK_MAIN_TEMPLATE_GET_ASSET_PATH");this.getAssetPathWithInfo=N.deprecate(((E,S)=>k.getAssetPathWithInfo(E,S)),"MainTemplate.getAssetPathWithInfo is deprecated (use Compilation.getAssetPath instead)","DEP_WEBPACK_MAIN_TEMPLATE_GET_ASSET_PATH_WITH_INFO")}}Object.defineProperty(MainTemplate.prototype,"requireFn",{get:N.deprecate((()=>"__webpack_require__"),'MainTemplate.requireFn is deprecated (use "__webpack_require__")',"DEP_WEBPACK_MAIN_TEMPLATE_REQUIRE_FN")});Object.defineProperty(MainTemplate.prototype,"outputOptions",{get:N.deprecate((function(){return this._outputOptions}),"MainTemplate.outputOptions is deprecated (use Compilation.outputOptions instead)","DEP_WEBPACK_MAIN_TEMPLATE_OUTPUT_OPTIONS")});E.exports=MainTemplate},53453:(E,k,S)=>{"use strict";const w=S(31669);const N=S(45137);const j=S(32448);const q=S(75412);const ee=S(76150);const{first:te}=S(26221);const{compareChunksById:ne}=S(68673);const ae=S(56202);const _e={};let ve=1e3;const Ee=new Set(["unknown"]);const we=new Set(["javascript"]);const Ce=w.deprecate(((E,k)=>E.needRebuild(k.fileSystemInfo.getDeprecatedFileTimestamps(),k.fileSystemInfo.getDeprecatedContextTimestamps())),"Module.needRebuild is deprecated in favor of Module.needBuild","DEP_WEBPACK_MODULE_NEED_REBUILD");class Module extends j{constructor(E,k=null,S=null){super();this.type=E;this.context=k;this.layer=S;this.needId=true;this.debugId=ve++;this.resolveOptions=_e;this.factoryMeta=undefined;this.useSourceMap=false;this.useSimpleSourceMap=false;this._warnings=undefined;this._errors=undefined;this.buildMeta=undefined;this.buildInfo=undefined;this.presentationalDependencies=undefined}get id(){return N.getChunkGraphForModule(this,"Module.id","DEP_WEBPACK_MODULE_ID").getModuleId(this)}set id(E){if(E===""){this.needId=false;return}N.getChunkGraphForModule(this,"Module.id","DEP_WEBPACK_MODULE_ID").setModuleId(this,E)}get hash(){return N.getChunkGraphForModule(this,"Module.hash","DEP_WEBPACK_MODULE_HASH").getModuleHash(this,undefined)}get renderedHash(){return N.getChunkGraphForModule(this,"Module.renderedHash","DEP_WEBPACK_MODULE_RENDERED_HASH").getRenderedModuleHash(this,undefined)}get profile(){return q.getModuleGraphForModule(this,"Module.profile","DEP_WEBPACK_MODULE_PROFILE").getProfile(this)}set profile(E){q.getModuleGraphForModule(this,"Module.profile","DEP_WEBPACK_MODULE_PROFILE").setProfile(this,E)}get index(){return q.getModuleGraphForModule(this,"Module.index","DEP_WEBPACK_MODULE_INDEX").getPreOrderIndex(this)}set index(E){q.getModuleGraphForModule(this,"Module.index","DEP_WEBPACK_MODULE_INDEX").setPreOrderIndex(this,E)}get index2(){return q.getModuleGraphForModule(this,"Module.index2","DEP_WEBPACK_MODULE_INDEX2").getPostOrderIndex(this)}set index2(E){q.getModuleGraphForModule(this,"Module.index2","DEP_WEBPACK_MODULE_INDEX2").setPostOrderIndex(this,E)}get depth(){return q.getModuleGraphForModule(this,"Module.depth","DEP_WEBPACK_MODULE_DEPTH").getDepth(this)}set depth(E){q.getModuleGraphForModule(this,"Module.depth","DEP_WEBPACK_MODULE_DEPTH").setDepth(this,E)}get issuer(){return q.getModuleGraphForModule(this,"Module.issuer","DEP_WEBPACK_MODULE_ISSUER").getIssuer(this)}set issuer(E){q.getModuleGraphForModule(this,"Module.issuer","DEP_WEBPACK_MODULE_ISSUER").setIssuer(this,E)}get usedExports(){return q.getModuleGraphForModule(this,"Module.usedExports","DEP_WEBPACK_MODULE_USED_EXPORTS").getUsedExports(this,undefined)}get optimizationBailout(){return q.getModuleGraphForModule(this,"Module.optimizationBailout","DEP_WEBPACK_MODULE_OPTIMIZATION_BAILOUT").getOptimizationBailout(this)}get optional(){return this.isOptional(q.getModuleGraphForModule(this,"Module.optional","DEP_WEBPACK_MODULE_OPTIONAL"))}addChunk(E){const k=N.getChunkGraphForModule(this,"Module.addChunk","DEP_WEBPACK_MODULE_ADD_CHUNK");if(k.isModuleInChunk(this,E))return false;k.connectChunkAndModule(E,this);return true}removeChunk(E){return N.getChunkGraphForModule(this,"Module.removeChunk","DEP_WEBPACK_MODULE_REMOVE_CHUNK").disconnectChunkAndModule(E,this)}isInChunk(E){return N.getChunkGraphForModule(this,"Module.isInChunk","DEP_WEBPACK_MODULE_IS_IN_CHUNK").isModuleInChunk(this,E)}isEntryModule(){return N.getChunkGraphForModule(this,"Module.isEntryModule","DEP_WEBPACK_MODULE_IS_ENTRY_MODULE").isEntryModule(this)}getChunks(){return N.getChunkGraphForModule(this,"Module.getChunks","DEP_WEBPACK_MODULE_GET_CHUNKS").getModuleChunks(this)}getNumberOfChunks(){return N.getChunkGraphForModule(this,"Module.getNumberOfChunks","DEP_WEBPACK_MODULE_GET_NUMBER_OF_CHUNKS").getNumberOfModuleChunks(this)}get chunksIterable(){return N.getChunkGraphForModule(this,"Module.chunksIterable","DEP_WEBPACK_MODULE_CHUNKS_ITERABLE").getOrderedModuleChunksIterable(this,ne)}isProvided(E){return q.getModuleGraphForModule(this,"Module.usedExports","DEP_WEBPACK_MODULE_USED_EXPORTS").isExportProvided(this,E)}get exportsArgument(){return this.buildInfo&&this.buildInfo.exportsArgument||"exports"}get moduleArgument(){return this.buildInfo&&this.buildInfo.moduleArgument||"module"}getExportsType(E,k){switch(this.buildMeta&&this.buildMeta.exportsType){case"flagged":return k?"default-with-named":"namespace";case"namespace":return"namespace";case"default":switch(this.buildMeta.defaultObject){case"redirect":return"default-with-named";case"redirect-warn":return k?"default-only":"default-with-named";default:return"default-only"}case"dynamic":{if(k)return"default-with-named";const handleDefault=()=>{switch(this.buildMeta.defaultObject){case"redirect":case"redirect-warn":return"default-with-named";default:return"default-only"}};const S=E.getReadOnlyExportInfo(this,"__esModule");if(S.provided===false){return handleDefault()}const w=S.getTarget(E);if(!w||!w.export||w.export.length!==1||w.export[0]!=="__esModule"){return"dynamic"}switch(w.module.buildMeta&&w.module.buildMeta.exportsType){case"flagged":case"namespace":return"namespace";case"default":return handleDefault();default:return"dynamic"}}default:return k?"default-with-named":"dynamic"}}addPresentationalDependency(E){if(this.presentationalDependencies===undefined){this.presentationalDependencies=[]}this.presentationalDependencies.push(E)}clearDependenciesAndBlocks(){if(this.presentationalDependencies!==undefined){this.presentationalDependencies.length=0}super.clearDependenciesAndBlocks()}addWarning(E){if(this._warnings===undefined){this._warnings=[]}this._warnings.push(E)}getWarnings(){return this._warnings}getNumberOfWarnings(){return this._warnings!==undefined?this._warnings.length:0}addError(E){if(this._errors===undefined){this._errors=[]}this._errors.push(E)}getErrors(){return this._errors}getNumberOfErrors(){return this._errors!==undefined?this._errors.length:0}clearWarningsAndErrors(){if(this._warnings!==undefined){this._warnings.length=0}if(this._errors!==undefined){this._errors.length=0}}isOptional(E){let k=false;for(const S of E.getIncomingConnections(this)){if(!S.dependency||!S.dependency.optional||!S.isTargetActive(undefined)){return false}k=true}return k}isAccessibleInChunk(E,k,S){for(const S of k.groupsIterable){if(!this.isAccessibleInChunkGroup(E,S))return false}return true}isAccessibleInChunkGroup(E,k,S){const w=new Set([k]);e:for(const N of w){for(const k of N.chunks){if(k!==S&&E.isModuleInChunk(this,k))continue e}if(k.isInitial())return false;for(const E of k.parentsIterable)w.add(E)}return true}hasReasonForChunk(E,k,S){for(const[w,N]of k.getIncomingConnectionsByOriginModule(this)){if(!N.some((k=>k.isTargetActive(E.runtime))))continue;for(const k of S.getModuleChunksIterable(w)){if(!this.isAccessibleInChunk(S,k,E))return true}}return false}hasReasons(E,k){for(const S of E.getIncomingConnections(this)){if(S.isTargetActive(k))return true}return false}toString(){return`Module[${this.debugId}: ${this.identifier()}]`}needBuild(E,k){k(null,!this.buildMeta||this.needRebuild===Module.prototype.needRebuild||Ce(this,E))}needRebuild(E,k){return true}updateHash(E,k={chunkGraph:N.getChunkGraphForModule(this,"Module.updateHash","DEP_WEBPACK_MODULE_UPDATE_HASH"),runtime:undefined}){const{chunkGraph:S,runtime:w}=k;E.update(S.getModuleGraphHash(this,w));if(this.presentationalDependencies!==undefined){for(const S of this.presentationalDependencies){S.updateHash(E,k)}}super.updateHash(E,k)}invalidateBuild(){}identifier(){const E=S(75884);throw new E}readableIdentifier(E){const k=S(75884);throw new k}build(E,k,w,N,j){const q=S(75884);throw new q}getSourceTypes(){if(this.source===Module.prototype.source){return Ee}else{return we}}source(E,k,w="javascript"){if(this.codeGeneration===Module.prototype.codeGeneration){const E=S(75884);throw new E}const j=N.getChunkGraphForModule(this,"Module.source() is deprecated. Use Compilation.codeGenerationResults.getSource(module, runtime, type) instead","DEP_WEBPACK_MODULE_SOURCE");const q={dependencyTemplates:E,runtimeTemplate:k,moduleGraph:j.moduleGraph,chunkGraph:j,runtime:undefined};const ee=this.codeGeneration(q).sources;return w?ee.get(w):ee.get(te(this.getSourceTypes()))}size(E){const k=S(75884);throw new k}libIdent(E){return null}nameForCondition(){return null}getConcatenationBailoutReason(E){return`Module Concatenation is not implemented for ${this.constructor.name}`}getSideEffectsConnectionState(E){return true}codeGeneration(E){const k=new Map;for(const S of this.getSourceTypes()){if(S!=="unknown"){k.set(S,this.source(E.dependencyTemplates,E.runtimeTemplate,S))}}return{sources:k,runtimeRequirements:new Set([ee.module,ee.exports,ee.require])}}chunkCondition(E,k){return true}updateCacheModule(E){this.type=E.type;this.layer=E.layer;this.context=E.context;this.factoryMeta=E.factoryMeta;this.resolveOptions=E.resolveOptions}getUnsafeCacheData(){return{factoryMeta:this.factoryMeta,resolveOptions:this.resolveOptions}}_restoreFromUnsafeCache(E,k){this.factoryMeta=E.factoryMeta;this.resolveOptions=E.resolveOptions}cleanupForCache(){this.factoryMeta=undefined;this.resolveOptions=undefined}originalSource(){return null}addCacheDependencies(E,k,S,w){}serialize(E){const{write:k}=E;k(this.type);k(this.layer);k(this.context);k(this.resolveOptions);k(this.factoryMeta);k(this.useSourceMap);k(this.useSimpleSourceMap);k(this._warnings!==undefined&&this._warnings.length===0?undefined:this._warnings);k(this._errors!==undefined&&this._errors.length===0?undefined:this._errors);k(this.buildMeta);k(this.buildInfo);k(this.presentationalDependencies);super.serialize(E)}deserialize(E){const{read:k}=E;this.type=k();this.layer=k();this.context=k();this.resolveOptions=k();this.factoryMeta=k();this.useSourceMap=k();this.useSimpleSourceMap=k();this._warnings=k();this._errors=k();this.buildMeta=k();this.buildInfo=k();this.presentationalDependencies=k();super.deserialize(E)}}ae(Module,"webpack/lib/Module");Object.defineProperty(Module.prototype,"hasEqualsChunks",{get(){throw new Error("Module.hasEqualsChunks was renamed (use hasEqualChunks instead)")}});Object.defineProperty(Module.prototype,"isUsed",{get(){throw new Error("Module.isUsed was renamed (use getUsedName, isExportUsed or isModuleUsed instead)")}});Object.defineProperty(Module.prototype,"errors",{get:w.deprecate((function(){if(this._errors===undefined){this._errors=[]}return this._errors}),"Module.errors was removed (use getErrors instead)","DEP_WEBPACK_MODULE_ERRORS")});Object.defineProperty(Module.prototype,"warnings",{get:w.deprecate((function(){if(this._warnings===undefined){this._warnings=[]}return this._warnings}),"Module.warnings was removed (use getWarnings instead)","DEP_WEBPACK_MODULE_WARNINGS")});Object.defineProperty(Module.prototype,"used",{get(){throw new Error("Module.used was refactored (use ModuleGraph.getUsedExports instead)")},set(E){throw new Error("Module.used was refactored (use ModuleGraph.setUsedExports instead)")}});E.exports=Module},26509:(E,k,S)=>{"use strict";const{cutOffLoaderExecution:w}=S(50717);const N=S(81627);const j=S(56202);class ModuleBuildError extends N{constructor(E,{from:k=null}={}){let S="Module build failed";let N=undefined;if(k){S+=` (from ${k}):\n`}else{S+=": "}if(E!==null&&typeof E==="object"){if(typeof E.stack==="string"&&E.stack){const k=w(E.stack);if(!E.hideStack){S+=k}else{N=k;if(typeof E.message==="string"&&E.message){S+=E.message}else{S+=E}}}else if(typeof E.message==="string"&&E.message){S+=E.message}else{S+=String(E)}}else{S+=String(E)}super(S);this.name="ModuleBuildError";this.details=N;this.error=E}serialize(E){const{write:k}=E;k(this.error);super.serialize(E)}deserialize(E){const{read:k}=E;this.error=k();super.deserialize(E)}}j(ModuleBuildError,"webpack/lib/ModuleBuildError");E.exports=ModuleBuildError},82811:(E,k,S)=>{"use strict";const w=S(81627);class ModuleDependencyError extends w{constructor(E,k,S){super(k.message);this.name="ModuleDependencyError";this.details=k&&!k.hideStack?k.stack.split("\n").slice(1).join("\n"):undefined;this.module=E;this.loc=S;this.error=k;if(k&&k.hideStack){this.stack=k.stack.split("\n").slice(1).join("\n")+"\n\n"+this.stack}}}E.exports=ModuleDependencyError},23280:(E,k,S)=>{"use strict";const w=S(81627);const N=S(56202);class ModuleDependencyWarning extends w{constructor(E,k,S){super(k?k.message:"");this.name="ModuleDependencyWarning";this.details=k&&!k.hideStack?k.stack.split("\n").slice(1).join("\n"):undefined;this.module=E;this.loc=S;this.error=k;if(k&&k.hideStack){this.stack=k.stack.split("\n").slice(1).join("\n")+"\n\n"+this.stack}}}N(ModuleDependencyWarning,"webpack/lib/ModuleDependencyWarning");E.exports=ModuleDependencyWarning},91613:(E,k,S)=>{"use strict";const{cleanUp:w}=S(50717);const N=S(81627);const j=S(56202);class ModuleError extends N{constructor(E,{from:k=null}={}){let S="Module Error";if(k){S+=` (from ${k}):\n`}else{S+=": "}if(E&&typeof E==="object"&&E.message){S+=E.message}else if(E){S+=E}super(S);this.name="ModuleError";this.error=E;this.details=E&&typeof E==="object"&&E.stack?w(E.stack,this.message):undefined}serialize(E){const{write:k}=E;k(this.error);super.serialize(E)}deserialize(E){const{read:k}=E;this.error=k();super.deserialize(E)}}j(ModuleError,"webpack/lib/ModuleError");E.exports=ModuleError},40674:(E,k,S)=>{"use strict";class ModuleFactory{create(E,k){const w=S(75884);throw new w}}E.exports=ModuleFactory},70354:(E,k,S)=>{"use strict";const w=S(35891);const N=S(91671);const j=k;j.ALL_LOADERS_RESOURCE="[all-loaders][resource]";j.REGEXP_ALL_LOADERS_RESOURCE=/\[all-?loaders\]\[resource\]/gi;j.LOADERS_RESOURCE="[loaders][resource]";j.REGEXP_LOADERS_RESOURCE=/\[loaders\]\[resource\]/gi;j.RESOURCE="[resource]";j.REGEXP_RESOURCE=/\[resource\]/gi;j.ABSOLUTE_RESOURCE_PATH="[absolute-resource-path]";j.REGEXP_ABSOLUTE_RESOURCE_PATH=/\[abs(olute)?-?resource-?path\]/gi;j.RESOURCE_PATH="[resource-path]";j.REGEXP_RESOURCE_PATH=/\[resource-?path\]/gi;j.ALL_LOADERS="[all-loaders]";j.REGEXP_ALL_LOADERS=/\[all-?loaders\]/gi;j.LOADERS="[loaders]";j.REGEXP_LOADERS=/\[loaders\]/gi;j.QUERY="[query]";j.REGEXP_QUERY=/\[query\]/gi;j.ID="[id]";j.REGEXP_ID=/\[id\]/gi;j.HASH="[hash]";j.REGEXP_HASH=/\[hash\]/gi;j.NAMESPACE="[namespace]";j.REGEXP_NAMESPACE=/\[namespace\]/gi;const getAfter=(E,k)=>()=>{const S=E();const w=S.indexOf(k);return w<0?"":S.substr(w)};const getBefore=(E,k)=>()=>{const S=E();const w=S.lastIndexOf(k);return w<0?"":S.substr(0,w)};const getHash=E=>()=>{const k=w("md4");k.update(E());const S=k.digest("hex");return S.substr(0,4)};const asRegExp=E=>{if(typeof E==="string"){E=new RegExp("^"+E.replace(/[-[\]{}()*+?.,\\^$|#\s]/g,"\\$&"))}return E};const lazyObject=E=>{const k={};for(const S of Object.keys(E)){const w=E[S];Object.defineProperty(k,S,{get:()=>w(),set:E=>{Object.defineProperty(k,S,{value:E,enumerable:true,writable:true})},enumerable:true,configurable:true})}return k};const q=/\[\\*([\w-]+)\\*\]/gi;j.createFilename=(E,k,{requestShortener:S,chunkGraph:w})=>{const ee={namespace:"",moduleFilenameTemplate:"",...typeof k==="object"?k:{moduleFilenameTemplate:k}};let te;let ne;let ae;let _e;let ve;if(E===undefined)E="";if(typeof E==="string"){ve=N((()=>S.shorten(E)));ae=ve;_e=()=>"";te=()=>E.split("!").pop();ne=getHash(ae)}else{ve=N((()=>E.readableIdentifier(S)));ae=N((()=>S.shorten(E.identifier())));_e=()=>w.getModuleId(E);te=()=>E.identifier().split("!").pop();ne=getHash(ae)}const Ee=N((()=>ve().split("!").pop()));const we=getBefore(ve,"!");const Ce=getBefore(ae,"!");const Me=getAfter(Ee,"?");const resourcePath=()=>{const E=Me().length;return E===0?Ee():Ee().slice(0,-E)};if(typeof ee.moduleFilenameTemplate==="function"){return ee.moduleFilenameTemplate(lazyObject({identifier:ae,shortIdentifier:ve,resource:Ee,resourcePath:N(resourcePath),absoluteResourcePath:N(te),allLoaders:N(Ce),query:N(Me),moduleId:N(_e),hash:N(ne),namespace:()=>ee.namespace}))}const Te=new Map([["identifier",ae],["short-identifier",ve],["resource",Ee],["resource-path",resourcePath],["resourcepath",resourcePath],["absolute-resource-path",te],["abs-resource-path",te],["absoluteresource-path",te],["absresource-path",te],["absolute-resourcepath",te],["abs-resourcepath",te],["absoluteresourcepath",te],["absresourcepath",te],["all-loaders",Ce],["allloaders",Ce],["loaders",we],["query",Me],["id",_e],["hash",ne],["namespace",()=>ee.namespace]]);return ee.moduleFilenameTemplate.replace(j.REGEXP_ALL_LOADERS_RESOURCE,"[identifier]").replace(j.REGEXP_LOADERS_RESOURCE,"[short-identifier]").replace(q,((E,k)=>{if(k.length+2===E.length){const E=Te.get(k.toLowerCase());if(E!==undefined){return E()}}else if(E.startsWith("[\\")&&E.endsWith("\\]")){return`[${E.slice(2,-2)}]`}return E}))};j.replaceDuplicates=(E,k,S)=>{const w=Object.create(null);const N=Object.create(null);E.forEach(((E,k)=>{w[E]=w[E]||[];w[E].push(k);N[E]=0}));if(S){Object.keys(w).forEach((E=>{w[E].sort(S)}))}return E.map(((E,j)=>{if(w[E].length>1){if(S&&w[E][0]===j)return E;return k(E,j,N[E]++)}else{return E}}))};j.matchPart=(E,k)=>{if(!k)return true;k=asRegExp(k);if(Array.isArray(k)){return k.map(asRegExp).some((k=>k.test(E)))}else{return k.test(E)}};j.matchObject=(E,k)=>{if(E.test){if(!j.matchPart(k,E.test)){return false}}if(E.include){if(!j.matchPart(k,E.include)){return false}}if(E.exclude){if(j.matchPart(k,E.exclude)){return false}}return true}},75412:(E,k,S)=>{"use strict";const w=S(31669);const N=S(76632);const j=S(79900);const q=S(16102);const ee=S(4396);const te=new Set;const getConnectionsByOriginModule=E=>{const k=new Map;let S=0;let w=undefined;for(const N of E){const{originModule:E}=N;if(S===E){w.push(N)}else{S=E;const j=k.get(E);if(j!==undefined){w=j;j.push(N)}else{const S=[N];w=S;k.set(E,S)}}}return k};class ModuleGraphModule{constructor(){this.incomingConnections=new q;this.outgoingConnections=undefined;this.issuer=undefined;this.optimizationBailout=[];this.exports=new N;this.preOrderIndex=null;this.postOrderIndex=null;this.depth=null;this.profile=undefined;this.async=false}}class ModuleGraph{constructor(){this._dependencyMap=new Map;this._moduleMap=new Map;this._originMap=new Map;this._metaMap=new Map;this._cacheModuleGraphModuleKey1=undefined;this._cacheModuleGraphModuleValue1=undefined;this._cacheModuleGraphModuleKey2=undefined;this._cacheModuleGraphModuleValue2=undefined;this._cacheModuleGraphDependencyKey=undefined;this._cacheModuleGraphDependencyValue=undefined;this._cache=undefined}_getModuleGraphModule(E){if(this._cacheModuleGraphModuleKey1===E)return this._cacheModuleGraphModuleValue1;if(this._cacheModuleGraphModuleKey2===E)return this._cacheModuleGraphModuleValue2;let k=this._moduleMap.get(E);if(k===undefined){k=new ModuleGraphModule;this._moduleMap.set(E,k)}this._cacheModuleGraphModuleKey2=this._cacheModuleGraphModuleKey1;this._cacheModuleGraphModuleValue2=this._cacheModuleGraphModuleValue1;this._cacheModuleGraphModuleKey1=E;this._cacheModuleGraphModuleValue1=k;return k}setParents(E,k,S){E._parentDependenciesBlock=k;E._parentModule=S}getParentModule(E){return E._parentModule}getParentBlock(E){return E._parentDependenciesBlock}setResolvedModule(E,k,S){const w=new j(E,k,S,undefined,k.weak,k.getCondition(this));this._dependencyMap.set(k,w);const N=this._getModuleGraphModule(S).incomingConnections;N.add(w);const q=this._getModuleGraphModule(E);if(q.outgoingConnections===undefined){q.outgoingConnections=new Set}q.outgoingConnections.add(w)}updateModule(E,k){const S=this._dependencyMap.get(E);if(S.module===k)return;const w=S.clone();w.module=k;this._dependencyMap.set(E,w);S.setActive(false);const N=this._getModuleGraphModule(S.originModule);N.outgoingConnections.add(w);const j=this._getModuleGraphModule(k);j.incomingConnections.add(w)}removeConnection(E){const k=this._dependencyMap.get(E);const S=this._getModuleGraphModule(k.module);S.incomingConnections.delete(k);const w=this._getModuleGraphModule(k.originModule);w.outgoingConnections.delete(k);this._dependencyMap.delete(E)}addExplanation(E,k){const S=this._dependencyMap.get(E);S.addExplanation(k)}cloneModuleAttributes(E,k){const S=this._getModuleGraphModule(E);const w=this._getModuleGraphModule(k);w.postOrderIndex=S.postOrderIndex;w.preOrderIndex=S.preOrderIndex;w.depth=S.depth;w.exports=S.exports;w.async=S.async}removeModuleAttributes(E){const k=this._getModuleGraphModule(E);k.postOrderIndex=null;k.preOrderIndex=null;k.depth=null;k.async=false}removeAllModuleAttributes(){for(const E of this._moduleMap.values()){E.postOrderIndex=null;E.preOrderIndex=null;E.depth=null;E.async=false}}moveModuleConnections(E,k,S){if(E===k)return;const w=this._getModuleGraphModule(E);const N=this._getModuleGraphModule(k);const j=w.outgoingConnections;if(j!==undefined){if(N.outgoingConnections===undefined){N.outgoingConnections=new Set}const E=N.outgoingConnections;for(const w of j){if(S(w)){w.originModule=k;E.add(w);j.delete(w)}}}const q=w.incomingConnections;const ee=N.incomingConnections;for(const E of q){if(S(E)){E.module=k;ee.add(E);q.delete(E)}}}copyOutgoingModuleConnections(E,k,S){if(E===k)return;const w=this._getModuleGraphModule(E);const N=this._getModuleGraphModule(k);const j=w.outgoingConnections;if(j!==undefined){if(N.outgoingConnections===undefined){N.outgoingConnections=new Set}const E=N.outgoingConnections;for(const w of j){if(S(w)){const S=w.clone();S.originModule=k;E.add(S);if(S.module!==undefined){const E=this._getModuleGraphModule(S.module);E.incomingConnections.add(S)}}}}}addExtraReason(E,k){const S=this._getModuleGraphModule(E).incomingConnections;S.add(new j(null,null,E,k))}getResolvedModule(E){const k=this._dependencyMap.get(E);return k!==undefined?k.resolvedModule:null}getConnection(E){const k=this._dependencyMap.get(E);return k}getModule(E){const k=this._dependencyMap.get(E);return k!==undefined?k.module:null}getOrigin(E){const k=this._dependencyMap.get(E);return k!==undefined?k.originModule:null}getResolvedOrigin(E){const k=this._dependencyMap.get(E);return k!==undefined?k.resolvedOriginModule:null}getIncomingConnections(E){const k=this._getModuleGraphModule(E).incomingConnections;return k}getOutgoingConnections(E){const k=this._getModuleGraphModule(E).outgoingConnections;return k===undefined?te:k}getIncomingConnectionsByOriginModule(E){const k=this._getModuleGraphModule(E).incomingConnections;return k.getFromUnorderedCache(getConnectionsByOriginModule)}getProfile(E){const k=this._getModuleGraphModule(E);return k.profile}setProfile(E,k){const S=this._getModuleGraphModule(E);S.profile=k}getIssuer(E){const k=this._getModuleGraphModule(E);return k.issuer}setIssuer(E,k){const S=this._getModuleGraphModule(E);S.issuer=k}setIssuerIfUnset(E,k){const S=this._getModuleGraphModule(E);if(S.issuer===undefined)S.issuer=k}getOptimizationBailout(E){const k=this._getModuleGraphModule(E);return k.optimizationBailout}getProvidedExports(E){const k=this._getModuleGraphModule(E);return k.exports.getProvidedExports()}isExportProvided(E,k){const S=this._getModuleGraphModule(E);const w=S.exports.isExportProvided(k);return w===undefined?null:w}getExportsInfo(E){const k=this._getModuleGraphModule(E);return k.exports}getExportInfo(E,k){const S=this._getModuleGraphModule(E);return S.exports.getExportInfo(k)}getReadOnlyExportInfo(E,k){const S=this._getModuleGraphModule(E);return S.exports.getReadOnlyExportInfo(k)}getUsedExports(E,k){const S=this._getModuleGraphModule(E);return S.exports.getUsedExports(k)}getPreOrderIndex(E){const k=this._getModuleGraphModule(E);return k.preOrderIndex}getPostOrderIndex(E){const k=this._getModuleGraphModule(E);return k.postOrderIndex}setPreOrderIndex(E,k){const S=this._getModuleGraphModule(E);S.preOrderIndex=k}setPreOrderIndexIfUnset(E,k){const S=this._getModuleGraphModule(E);if(S.preOrderIndex===null){S.preOrderIndex=k;return true}return false}setPostOrderIndex(E,k){const S=this._getModuleGraphModule(E);S.postOrderIndex=k}setPostOrderIndexIfUnset(E,k){const S=this._getModuleGraphModule(E);if(S.postOrderIndex===null){S.postOrderIndex=k;return true}return false}getDepth(E){const k=this._getModuleGraphModule(E);return k.depth}setDepth(E,k){const S=this._getModuleGraphModule(E);S.depth=k}setDepthIfLower(E,k){const S=this._getModuleGraphModule(E);if(S.depth===null||S.depth>k){S.depth=k;return true}return false}isAsync(E){const k=this._getModuleGraphModule(E);return k.async}setAsync(E){const k=this._getModuleGraphModule(E);k.async=true}getMeta(E){let k=this._metaMap.get(E);if(k===undefined){k=Object.create(null);this._metaMap.set(E,k)}return k}getMetaIfExisting(E){return this._metaMap.get(E)}freeze(){this._cache=new ee}unfreeze(){this._cache=undefined}cached(E,...k){if(this._cache===undefined)return E(this,...k);return this._cache.provide(E,...k,(()=>E(this,...k)))}static getModuleGraphForModule(E,k,S){const N=ae.get(k);if(N)return N(E);const j=w.deprecate((E=>{const S=ne.get(E);if(!S)throw new Error(k+"There was no ModuleGraph assigned to the Module for backward-compat (Use the new API)");return S}),k+": Use new ModuleGraph API",S);ae.set(k,j);return j(E)}static setModuleGraphForModule(E,k){ne.set(E,k)}static clearModuleGraphForModule(E){ne.delete(E)}}const ne=new WeakMap;const ae=new Map;E.exports=ModuleGraph;E.exports.ModuleGraphConnection=j},79900:E=>{"use strict";const k=Symbol("transitive only");const S=Symbol("circular connection");const addConnectionStates=(E,S)=>{if(E===true||S===true)return true;if(E===false)return S;if(S===false)return E;if(E===k)return S;if(S===k)return E;return E};const intersectConnectionStates=(E,k)=>{if(E===false||k===false)return false;if(E===true)return k;if(k===true)return E;if(E===S)return k;if(k===S)return E;return E};class ModuleGraphConnection{constructor(E,k,S,w,N=false,j=undefined){this.originModule=E;this.resolvedOriginModule=E;this.dependency=k;this.resolvedModule=S;this.module=S;this.weak=N;this.conditional=!!j;this._active=j!==false;this.condition=j||undefined;this.explanations=undefined;if(w){this.explanations=new Set;this.explanations.add(w)}}clone(){const E=new ModuleGraphConnection(this.resolvedOriginModule,this.dependency,this.resolvedModule,undefined,this.weak,this.condition);E.originModule=this.originModule;E.module=this.module;E.conditional=this.conditional;E._active=this._active;if(this.explanations)E.explanations=new Set(this.explanations);return E}addCondition(E){if(this.conditional){const k=this.condition;this.condition=(S,w)=>intersectConnectionStates(k(S,w),E(S,w))}else if(this._active){this.conditional=true;this.condition=E}}addExplanation(E){if(this.explanations===undefined){this.explanations=new Set}this.explanations.add(E)}get explanation(){if(this.explanations===undefined)return"";return Array.from(this.explanations).join(" ")}get active(){throw new Error("Use getActiveState instead")}isActive(E){if(!this.conditional)return this._active;return this.condition(this,E)!==false}isTargetActive(E){if(!this.conditional)return this._active;return this.condition(this,E)===true}getActiveState(E){if(!this.conditional)return this._active;return this.condition(this,E)}setActive(E){this.conditional=false;this._active=E}set active(E){throw new Error("Use setActive instead")}}E.exports=ModuleGraphConnection;E.exports.addConnectionStates=addConnectionStates;E.exports.TRANSITIVE_ONLY=k;E.exports.CIRCULAR_CONNECTION=S},21542:(E,k,S)=>{"use strict";const{ConcatSource:w,RawSource:N,CachedSource:j}=S(48135);const{UsageState:q}=S(76632);const ee=S(58159);const te=S(18161);const joinIterableWithComma=E=>{let k="";let S=true;for(const w of E){if(S){S=false}else{k+=", "}k+=w}return k};const printExportsInfoToSource=(E,k,S,w,N,j=new Set)=>{const te=S.otherExportsInfo;let ne=0;const ae=[];for(const E of S.orderedExports){if(!j.has(E)){j.add(E);ae.push(E)}else{ne++}}let _e=false;if(!j.has(te)){j.add(te);_e=true}else{ne++}for(const S of ae){const q=S.getTarget(w);E.add(ee.toComment(`${k}export ${JSON.stringify(S.name).slice(1,-1)} [${S.getProvidedInfo()}] [${S.getUsedInfo()}] [${S.getRenameInfo()}]${q?` -> ${q.module.readableIdentifier(N)}${q.export?` .${q.export.map((E=>JSON.stringify(E).slice(1,-1))).join(".")}`:""}`:""}`)+"\n");if(S.exportsInfo){printExportsInfoToSource(E,k+" ",S.exportsInfo,w,N,j)}}if(ne){E.add(ee.toComment(`${k}... (${ne} already listed exports)`)+"\n")}if(_e){const S=te.getTarget(w);if(S||te.provided!==false||te.getUsed(undefined)!==q.Unused){const w=ae.length>0||ne>0?"other exports":"exports";E.add(ee.toComment(`${k}${w} [${te.getProvidedInfo()}] [${te.getUsedInfo()}]${S?` -> ${S.module.readableIdentifier(N)}`:""}`)+"\n")}}};const ne=new WeakMap;class ModuleInfoHeaderPlugin{constructor(E=true){this._verbose=E}apply(E){const{_verbose:k}=this;E.hooks.compilation.tap("ModuleInfoHeaderPlugin",(E=>{const S=te.getCompilationHooks(E);S.renderModulePackage.tap("ModuleInfoHeaderPlugin",((E,S,{chunk:q,chunkGraph:te,moduleGraph:ae,runtimeTemplate:_e})=>{const{requestShortener:ve}=_e;let Ee;let we=ne.get(ve);if(we===undefined){ne.set(ve,we=new WeakMap);we.set(S,Ee={header:undefined,full:new WeakMap})}else{Ee=we.get(S);if(Ee===undefined){we.set(S,Ee={header:undefined,full:new WeakMap})}else if(!k){const k=Ee.full.get(E);if(k!==undefined)return k}}const Ce=new w;let Me=Ee.header;if(Me===undefined){const E=S.readableIdentifier(ve);const k=E.replace(/\*\//g,"*_/");const w="*".repeat(k.length);const j=`/*!****${w}****!*\\\n !*** ${k} ***!\n \\****${w}****/\n`;Me=new N(j);Ee.header=Me}Ce.add(Me);if(k){const k=S.buildMeta.exportsType;Ce.add(ee.toComment(k?`${k} exports`:"unknown exports (runtime-defined)")+"\n");if(k){const E=ae.getExportsInfo(S);printExportsInfoToSource(Ce,"",E,ae,ve)}Ce.add(ee.toComment(`runtime requirements: ${joinIterableWithComma(te.getModuleRuntimeRequirements(S,q.runtime))}`)+"\n");const w=ae.getOptimizationBailout(S);if(w){for(const E of w){let k;if(typeof E==="function"){k=E(ve)}else{k=E}Ce.add(ee.toComment(`${k}`)+"\n")}}Ce.add(E);return Ce}else{Ce.add(E);const k=new j(Ce);Ee.full.set(E,k);return k}}));S.chunkHash.tap("ModuleInfoHeaderPlugin",((E,k)=>{k.update("ModuleInfoHeaderPlugin");k.update("1")}))}))}}E.exports=ModuleInfoHeaderPlugin},54032:(E,k,S)=>{"use strict";const w=S(81627);const N={assert:"assert/",buffer:"buffer/",console:"console-browserify",constants:"constants-browserify",crypto:"crypto-browserify",domain:"domain-browser",events:"events/",http:"stream-http",https:"https-browserify",os:"os-browserify/browser",path:"path-browserify",punycode:"punycode/",process:"process/browser",querystring:"querystring-es3",stream:"stream-browserify",_stream_duplex:"readable-stream/duplex",_stream_passthrough:"readable-stream/passthrough",_stream_readable:"readable-stream/readable",_stream_transform:"readable-stream/transform",_stream_writable:"readable-stream/writable",string_decoder:"string_decoder/",sys:"util/",timers:"timers-browserify",tty:"tty-browserify",url:"url/",util:"util/",vm:"vm-browserify",zlib:"browserify-zlib"};class ModuleNotFoundError extends w{constructor(E,k,S){let w=`Module not found: ${k.toString()}`;const j=k.message.match(/Can't resolve '([^']+)'/);if(j){const E=j[1];const k=N[E];if(k){const S=k.indexOf("/");const N=S>0?k.slice(0,S):k;w+="\n\n"+"BREAKING CHANGE: "+"webpack < 5 used to include polyfills for node.js core modules by default.\n"+"This is no longer the case. Verify if you need this module and configure a polyfill for it.\n\n";w+="If you want to include a polyfill, you need to:\n"+`\t- add a fallback 'resolve.fallback: { "${E}": require.resolve("${k}") }'\n`+`\t- install '${N}'\n`;w+="If you don't want to include a polyfill, you can use an empty module like this:\n"+`\tresolve.fallback: { "${E}": false }`}}super(w);this.name="ModuleNotFoundError";this.details=k.details;this.module=E;this.error=k;this.loc=S}}E.exports=ModuleNotFoundError},14489:(E,k,S)=>{"use strict";const w=S(81627);const N=S(56202);const j=Buffer.from([0,97,115,109]);class ModuleParseError extends w{constructor(E,k,S,w){let N="Module parse failed: "+(k&&k.message);let q=undefined;if((Buffer.isBuffer(E)&&E.slice(0,4).equals(j)||typeof E==="string"&&/^\0asm/.test(E))&&!w.startsWith("webassembly")){N+="\nThe module seem to be a WebAssembly module, but module is not flagged as WebAssembly module for webpack.";N+="\nBREAKING CHANGE: Since webpack 5 WebAssembly is not enabled by default and flagged as experimental feature.";N+="\nYou need to enable one of the WebAssembly experiments via 'experiments.asyncWebAssembly: true' (based on async modules) or 'experiments.syncWebAssembly: true' (like webpack 4, deprecated).";N+="\nFor files that transpile to WebAssembly, make sure to set the module type in the 'module.rules' section of the config (e. g. 'type: \"webassembly/async\"')."}else if(!S){N+="\nYou may need an appropriate loader to handle this file type."}else if(S.length>=1){N+=`\nFile was processed with these loaders:${S.map((E=>`\n * ${E}`)).join("")}`;N+="\nYou may need an additional loader to handle the result of these loaders."}else{N+="\nYou may need an appropriate loader to handle this file type, currently no loaders are configured to process this file. See https://webpack.js.org/concepts#loaders"}if(k&&k.loc&&typeof k.loc==="object"&&typeof k.loc.line==="number"){var ee=k.loc.line;if(Buffer.isBuffer(E)||/[\0\u0001\u0002\u0003\u0004\u0005\u0006\u0007]/.test(E)){N+="\n(Source code omitted for this binary file)"}else{const k=E.split(/\r?\n/);const S=Math.max(0,ee-3);const w=k.slice(S,ee-1);const j=k[ee-1];const q=k.slice(ee,ee+2);N+=w.map((E=>`\n| ${E}`)).join("")+`\n> ${j}`+q.map((E=>`\n| ${E}`)).join("")}q={start:k.loc}}else if(k&&k.stack){N+="\n"+k.stack}super(N);this.name="ModuleParseError";this.loc=q;this.error=k}serialize(E){const{write:k}=E;k(this.error);super.serialize(E)}deserialize(E){const{read:k}=E;this.error=k();super.deserialize(E)}}N(ModuleParseError,"webpack/lib/ModuleParseError");E.exports=ModuleParseError},99869:E=>{"use strict";class ModuleProfile{constructor(){this.startTime=Date.now();this.factoryStartTime=0;this.factoryEndTime=0;this.factory=0;this.factoryParallelismFactor=0;this.restoringStartTime=0;this.restoringEndTime=0;this.restoring=0;this.restoringParallelismFactor=0;this.integrationStartTime=0;this.integrationEndTime=0;this.integration=0;this.integrationParallelismFactor=0;this.buildingStartTime=0;this.buildingEndTime=0;this.building=0;this.buildingParallelismFactor=0;this.storingStartTime=0;this.storingEndTime=0;this.storing=0;this.storingParallelismFactor=0;this.additionalFactoryTimes=undefined;this.additionalFactories=0;this.additionalFactoriesParallelismFactor=0;this.additionalIntegration=0}markFactoryStart(){this.factoryStartTime=Date.now()}markFactoryEnd(){this.factoryEndTime=Date.now();this.factory=this.factoryEndTime-this.factoryStartTime}markRestoringStart(){this.restoringStartTime=Date.now()}markRestoringEnd(){this.restoringEndTime=Date.now();this.restoring=this.restoringEndTime-this.restoringStartTime}markIntegrationStart(){this.integrationStartTime=Date.now()}markIntegrationEnd(){this.integrationEndTime=Date.now();this.integration=this.integrationEndTime-this.integrationStartTime}markBuildingStart(){this.buildingStartTime=Date.now()}markBuildingEnd(){this.buildingEndTime=Date.now();this.building=this.buildingEndTime-this.buildingStartTime}markStoringStart(){this.storingStartTime=Date.now()}markStoringEnd(){this.storingEndTime=Date.now();this.storing=this.storingEndTime-this.storingStartTime}mergeInto(E){E.additionalFactories=this.factory;(E.additionalFactoryTimes=E.additionalFactoryTimes||[]).push({start:this.factoryStartTime,end:this.factoryEndTime})}}E.exports=ModuleProfile},2210:(E,k,S)=>{"use strict";const w=S(81627);class ModuleRestoreError extends w{constructor(E,k){let S="Module restore failed: ";let w=undefined;if(k!==null&&typeof k==="object"){if(typeof k.stack==="string"&&k.stack){const E=k.stack;S+=E}else if(typeof k.message==="string"&&k.message){S+=k.message}else{S+=k}}else{S+=String(k)}super(S);this.name="ModuleRestoreError";this.details=w;this.module=E;this.error=k}}E.exports=ModuleRestoreError},31467:(E,k,S)=>{"use strict";const w=S(81627);class ModuleStoreError extends w{constructor(E,k){let S="Module storing failed: ";let w=undefined;if(k!==null&&typeof k==="object"){if(typeof k.stack==="string"&&k.stack){const E=k.stack;S+=E}else if(typeof k.message==="string"&&k.message){S+=k.message}else{S+=k}}else{S+=String(k)}super(S);this.name="ModuleStoreError";this.details=w;this.module=E;this.error=k}}E.exports=ModuleStoreError},68661:(E,k,S)=>{"use strict";const w=S(31669);const N=S(91671);const j=N((()=>S(18161)));class ModuleTemplate{constructor(E,k){this._runtimeTemplate=E;this.type="javascript";this.hooks=Object.freeze({content:{tap:w.deprecate(((E,S)=>{j().getCompilationHooks(k).renderModuleContent.tap(E,((E,k,w)=>S(E,k,w,w.dependencyTemplates)))}),"ModuleTemplate.hooks.content is deprecated (use JavascriptModulesPlugin.getCompilationHooks().renderModuleContent instead)","DEP_MODULE_TEMPLATE_CONTENT")},module:{tap:w.deprecate(((E,S)=>{j().getCompilationHooks(k).renderModuleContent.tap(E,((E,k,w)=>S(E,k,w,w.dependencyTemplates)))}),"ModuleTemplate.hooks.module is deprecated (use JavascriptModulesPlugin.getCompilationHooks().renderModuleContent instead)","DEP_MODULE_TEMPLATE_MODULE")},render:{tap:w.deprecate(((E,S)=>{j().getCompilationHooks(k).renderModuleContainer.tap(E,((E,k,w)=>S(E,k,w,w.dependencyTemplates)))}),"ModuleTemplate.hooks.render is deprecated (use JavascriptModulesPlugin.getCompilationHooks().renderModuleContainer instead)","DEP_MODULE_TEMPLATE_RENDER")},package:{tap:w.deprecate(((E,S)=>{j().getCompilationHooks(k).renderModulePackage.tap(E,((E,k,w)=>S(E,k,w,w.dependencyTemplates)))}),"ModuleTemplate.hooks.package is deprecated (use JavascriptModulesPlugin.getCompilationHooks().renderModulePackage instead)","DEP_MODULE_TEMPLATE_PACKAGE")},hash:{tap:w.deprecate(((E,S)=>{k.hooks.fullHash.tap(E,S)}),"ModuleTemplate.hooks.hash is deprecated (use Compilation.hooks.fullHash instead)","DEP_MODULE_TEMPLATE_HASH")}})}}Object.defineProperty(ModuleTemplate.prototype,"runtimeTemplate",{get:w.deprecate((function(){return this._runtimeTemplate}),"ModuleTemplate.runtimeTemplate is deprecated (use Compilation.runtimeTemplate instead)","DEP_WEBPACK_CHUNK_TEMPLATE_OUTPUT_OPTIONS")});E.exports=ModuleTemplate},8893:(E,k,S)=>{"use strict";const{cleanUp:w}=S(50717);const N=S(81627);const j=S(56202);class ModuleWarning extends N{constructor(E,{from:k=null}={}){let S="Module Warning";if(k){S+=` (from ${k}):\n`}else{S+=": "}if(E&&typeof E==="object"&&E.message){S+=E.message}else if(E){S+=String(E)}super(S);this.name="ModuleWarning";this.warning=E;this.details=E&&typeof E==="object"&&E.stack?w(E.stack,this.message):undefined}serialize(E){const{write:k}=E;k(this.warning);super.serialize(E)}deserialize(E){const{read:k}=E;this.warning=k();super.deserialize(E)}}j(ModuleWarning,"webpack/lib/ModuleWarning");E.exports=ModuleWarning},63433:(E,k,S)=>{"use strict";const w=S(62355);const{SyncHook:N,MultiHook:j}=S(92960);const q=S(27310);const ee=S(34884);const te=S(10869);const ne=S(56561);E.exports=class MultiCompiler{constructor(E,k){if(!Array.isArray(E)){E=Object.keys(E).map((k=>{E[k].name=k;return E[k]}))}this.hooks=Object.freeze({done:new N(["stats"]),invalid:new j(E.map((E=>E.hooks.invalid))),run:new j(E.map((E=>E.hooks.run))),watchClose:new N([]),watchRun:new j(E.map((E=>E.hooks.watchRun))),infrastructureLog:new j(E.map((E=>E.hooks.infrastructureLog)))});this.compilers=E;this._options={parallelism:k.parallelism||Infinity};this.dependencies=new WeakMap;this.running=false;const S=this.compilers.map((()=>null));let w=0;for(let E=0;E{if(!j){j=true;w++}S[N]=E;if(w===this.compilers.length){this.hooks.done.call(new ee(S))}}));k.hooks.invalid.tap("MultiCompiler",(()=>{if(j){j=false;w--}}))}}get options(){return Object.assign(this.compilers.map((E=>E.options)),this._options)}get outputPath(){let E=this.compilers[0].outputPath;for(const k of this.compilers){while(k.outputPath.indexOf(E)!==0&&/[/\\]/.test(E)){E=E.replace(/[/\\][^/\\]*$/,"")}}if(!E&&this.compilers[0].outputPath[0]==="/")return"/";return E}get inputFileSystem(){throw new Error("Cannot read inputFileSystem of a MultiCompiler")}get outputFileSystem(){throw new Error("Cannot read outputFileSystem of a MultiCompiler")}get watchFileSystem(){throw new Error("Cannot read watchFileSystem of a MultiCompiler")}get intermediateFileSystem(){throw new Error("Cannot read outputFileSystem of a MultiCompiler")}set inputFileSystem(E){for(const k of this.compilers){k.inputFileSystem=E}}set outputFileSystem(E){for(const k of this.compilers){k.outputFileSystem=E}}set watchFileSystem(E){for(const k of this.compilers){k.watchFileSystem=E}}set intermediateFileSystem(E){for(const k of this.compilers){k.intermediateFileSystem=E}}getInfrastructureLogger(E){return this.compilers[0].getInfrastructureLogger(E)}setDependencies(E,k){this.dependencies.set(E,k)}validateDependencies(E){const k=new Set;const S=[];const targetFound=E=>{for(const S of k){if(S.target===E){return true}}return false};const sortEdges=(E,k)=>E.source.name.localeCompare(k.source.name)||E.target.name.localeCompare(k.target.name);for(const E of this.compilers){const w=this.dependencies.get(E);if(w){for(const N of w){const w=this.compilers.find((E=>E.name===N));if(!w){S.push(N)}else{k.add({source:E,target:w})}}}}const w=S.map((E=>`Compiler dependency \`${E}\` not found.`));const N=this.compilers.filter((E=>!targetFound(E)));while(N.length>0){const E=N.pop();for(const S of k){if(S.source===E){k.delete(S);const E=S.target;if(!targetFound(E)){N.push(E)}}}}if(k.size>0){const E=Array.from(k).sort(sortEdges).map((E=>`${E.source.name} -> ${E.target.name}`));E.unshift("Circular dependency found in compiler dependencies.");w.unshift(E.join("\n"))}if(w.length>0){const k=w.join("\n");E(new Error(k));return false}return true}runWithDependencies(E,k,S){const N=new Set;let j=E;const isDependencyFulfilled=E=>N.has(E);const getReadyCompilers=()=>{let E=[];let k=j;j=[];for(const S of k){const k=this.dependencies.get(S);const w=!k||k.every(isDependencyFulfilled);if(w){E.push(S)}else{j.push(S)}}return E};const runCompilers=E=>{if(j.length===0)return E();w.map(getReadyCompilers(),((E,S)=>{k(E,(k=>{if(k)return S(k);N.add(E.name);runCompilers(S)}))}),E)};runCompilers(S)}_runGraph(E,k,S){const N=this.compilers.map((E=>({compiler:E,result:undefined,state:"blocked",children:[],parents:[]})));const j=new Map;for(const E of N)j.set(E.compiler.name,E);for(const E of N){const k=this.dependencies.get(E.compiler);if(!k)continue;for(const S of k){const k=j.get(S);E.parents.push(k);k.children.push(E)}}const q=new ne;for(const E of N){if(E.parents.length===0){E.state="queued";q.enqueue(E)}}let te=false;let ae=0;const _e=this._options.parallelism;const nodeDone=(E,k,j)=>{if(te)return;if(k){te=true;return w.each(N,((E,k)=>{if(E.compiler.watching){E.compiler.watching.close(k)}else{k()}}),(()=>S(k)))}E.result=j;ae--;if(E.state==="running"){E.state="done";for(const k of E.children){if(k.state==="blocked")q.enqueue(k)}}else if(E.state==="running-outdated"){E.state="blocked";q.enqueue(E)}processQueue()};const nodeInvalidFromParent=E=>{if(E.state==="done"){E.state="blocked"}else if(E.state==="running"){E.state="running-outdated"}for(const k of E.children){nodeInvalidFromParent(k)}};const nodeInvalid=E=>{if(E.state==="done"){E.state="pending"}else if(E.state==="running"){E.state="running-outdated"}for(const k of E.children){nodeInvalidFromParent(k)}};const nodeChange=E=>{nodeInvalid(E);if(E.state==="pending"){E.state="blocked"}if(E.state==="blocked"){q.enqueue(E);processQueue()}};const ve=[];N.forEach(((k,S)=>{ve.push(E(k.compiler,S,nodeDone.bind(null,k),(()=>k.state!=="starting"&&k.state!=="running"),(()=>nodeChange(k)),(()=>nodeInvalid(k))))}));let Ee=true;const processQueue=()=>{if(Ee)return;Ee=true;process.nextTick(processQueueWorker)};const processQueueWorker=()=>{while(ae<_e&&q.length>0&&!te){const E=q.dequeue();if(E.state==="queued"||E.state==="blocked"&&E.parents.every((E=>E.state==="done"))){ae++;E.state="starting";k(E.compiler,nodeDone.bind(null,E));E.state="running"}}Ee=false;if(!te&&ae===0&&N.every((E=>E.state==="done"))){const E=[];for(const k of N){const S=k.result;if(S){k.result=undefined;E.push(S)}}if(E.length>0){S(null,new ee(E))}}};processQueueWorker();return ve}watch(E,k){if(this.running){return k(new q)}this.running=true;if(this.validateDependencies(k)){const S=this._runGraph(((k,S,w,N,j,q)=>{const ee=k.watch(Array.isArray(E)?E[S]:E,w);if(ee){ee._onInvalid=q;ee._onChange=j;ee._isBlocked=N}return ee}),((E,k,S)=>{if(!E.watching.running)E.watching.invalidate()}),k);return new te(S,this)}return new te([],this)}run(E){if(this.running){return E(new q)}this.running=true;if(this.validateDependencies(E)){this._runGraph((()=>{}),((E,k)=>E.run(k)),((k,S)=>{this.running=false;if(E!==undefined){return E(k,S)}}))}}purgeInputFileSystem(){for(const E of this.compilers){if(E.inputFileSystem&&E.inputFileSystem.purge){E.inputFileSystem.purge()}}}close(E){w.each(this.compilers,((E,k)=>{E.close(k)}),E)}}},34884:(E,k,S)=>{"use strict";const w=S(49197);const indent=(E,k)=>{const S=E.replace(/\n([^\n])/g,"\n"+k+"$1");return k+S};class MultiStats{constructor(E){this.stats=E}get hash(){return this.stats.map((E=>E.hash)).join("")}hasErrors(){return this.stats.some((E=>E.hasErrors()))}hasWarnings(){return this.stats.some((E=>E.hasWarnings()))}_createChildOptions(E,k){if(!E){E={}}const{children:S=undefined,...w}=typeof E==="string"?{preset:E}:E;const N=this.stats.map(((E,N)=>{const j=Array.isArray(S)?S[N]:S;return E.compilation.createStatsOptions({...w,...typeof j==="string"?{preset:j}:j&&typeof j==="object"?j:undefined},k)}));return{version:N.every((E=>E.version)),hash:N.every((E=>E.hash)),errorsCount:N.every((E=>E.errorsCount)),warningsCount:N.every((E=>E.warningsCount)),errors:N.every((E=>E.errors)),warnings:N.every((E=>E.warnings)),children:N}}toJson(E){E=this._createChildOptions(E,{forToString:false});const k={};k.children=this.stats.map(((k,S)=>{const N=k.toJson(E.children[S]);const j=k.compilation.name;const q=j&&w.makePathsRelative(E.context,j,k.compilation.compiler.root);N.name=q;return N}));if(E.version){k.version=k.children[0].version}if(E.hash){k.hash=k.children.map((E=>E.hash)).join("")}const mapError=(E,k)=>({...k,compilerPath:k.compilerPath?`${E.name}.${k.compilerPath}`:E.name});if(E.errors){k.errors=[];for(const E of k.children){for(const S of E.errors){k.errors.push(mapError(E,S))}}}if(E.warnings){k.warnings=[];for(const E of k.children){for(const S of E.warnings){k.warnings.push(mapError(E,S))}}}if(E.errorsCount){k.errorsCount=0;for(const E of k.children){k.errorsCount+=E.errorsCount}}if(E.warningsCount){k.warningsCount=0;for(const E of k.children){k.warningsCount+=E.warningsCount}}return k}toString(E){E=this._createChildOptions(E,{forToString:true});const k=this.stats.map(((k,S)=>{const N=k.toString(E.children[S]);const j=k.compilation.name;const q=j&&w.makePathsRelative(E.context,j,k.compilation.compiler.root).replace(/\|/g," ");if(!N)return N;return q?`${q}:\n${indent(N," ")}`:N}));return k.filter(Boolean).join("\n\n")}}E.exports=MultiStats},10869:(E,k,S)=>{"use strict";const w=S(62355);class MultiWatching{constructor(E,k){this.watchings=E;this.compiler=k}invalidate(E){if(E){w.each(this.watchings,((E,k)=>E.invalidate(k)),E)}else{for(const E of this.watchings){E.invalidate()}}}suspend(){for(const E of this.watchings){E.suspend()}}resume(){for(const E of this.watchings){E.resume()}}close(E){w.forEach(this.watchings,((E,k)=>{E.close(k)}),(k=>{this.compiler.hooks.watchClose.call();if(typeof E==="function"){this.compiler.running=false;E(k)}}))}}E.exports=MultiWatching},66962:E=>{"use strict";class NoEmitOnErrorsPlugin{apply(E){E.hooks.shouldEmit.tap("NoEmitOnErrorsPlugin",(E=>{if(E.getStats().hasErrors())return false}));E.hooks.compilation.tap("NoEmitOnErrorsPlugin",(E=>{E.hooks.shouldRecord.tap("NoEmitOnErrorsPlugin",(()=>{if(E.getStats().hasErrors())return false}))}))}}E.exports=NoEmitOnErrorsPlugin},24500:(E,k,S)=>{"use strict";const w=S(81627);E.exports=class NoModeWarning extends w{constructor(){super();this.name="NoModeWarning";this.message="configuration\n"+"The 'mode' option has not been set, webpack will fallback to 'production' for this value.\n"+"Set 'mode' option to 'development' or 'production' to enable defaults for each environment.\n"+"You can also set it to 'none' to disable any default behavior. "+"Learn more: https://webpack.js.org/configuration/mode/"}}},32125:(E,k,S)=>{"use strict";const w=S(76150);const N=S(59455);const j=S(66298);const{evaluateToString:q,expressionIsUnsupported:ee}=S(48472);const{relative:te}=S(95396);const{parseResource:ne}=S(49197);class NodeStuffPlugin{constructor(E){this.options=E}apply(E){const k=this.options;E.hooks.compilation.tap("NodeStuffPlugin",((S,{normalModuleFactory:ae})=>{const handler=(S,ae)=>{if(ae.node===false)return;let _e=k;if(ae.node){_e={..._e,...ae.node}}if(_e.global){S.hooks.expression.for("global").tap("NodeStuffPlugin",(E=>{const k=new j(w.global,E.range,[w.global]);k.loc=E.loc;S.state.module.addPresentationalDependency(k)}))}const setModuleConstant=(E,k)=>{S.hooks.expression.for(E).tap("NodeStuffPlugin",(w=>{const j=new N(JSON.stringify(k(S.state.module)),w.range,E);j.loc=w.loc;S.state.module.addPresentationalDependency(j);return true}))};const setConstant=(E,k)=>setModuleConstant(E,(()=>k));const ve=E.context;if(_e.__filename){if(_e.__filename==="mock"){setConstant("__filename","/index.js")}else if(_e.__filename===true){setModuleConstant("__filename",(k=>te(E.inputFileSystem,ve,k.resource)))}S.hooks.evaluateIdentifier.for("__filename").tap("NodeStuffPlugin",(E=>{if(!S.state.module)return;const k=ne(S.state.module.resource);return q(k.path)(E)}))}if(_e.__dirname){if(_e.__dirname==="mock"){setConstant("__dirname","/")}else if(_e.__dirname===true){setModuleConstant("__dirname",(k=>te(E.inputFileSystem,ve,k.context)))}S.hooks.evaluateIdentifier.for("__dirname").tap("NodeStuffPlugin",(E=>{if(!S.state.module)return;return q(S.state.module.context)(E)}))}S.hooks.expression.for("require.extensions").tap("NodeStuffPlugin",ee(S,"require.extensions is not supported by webpack. Use a loader instead."))};ae.hooks.parser.for("javascript/auto").tap("NodeStuffPlugin",handler);ae.hooks.parser.for("javascript/dynamic").tap("NodeStuffPlugin",handler)}))}}E.exports=NodeStuffPlugin},53520:(E,k,S)=>{"use strict";const w=S(78688);const{getContext:N,runLoaders:j}=S(60425);const q=S(71191);const{HookMap:ee,SyncHook:te,AsyncSeriesBailHook:ne}=S(92960);const{CachedSource:ae,OriginalSource:_e,RawSource:ve,SourceMapSource:Ee}=S(48135);const we=S(3080);const Ce=S(53453);const Me=S(26509);const Te=S(91613);const Ie=S(79900);const Oe=S(14489);const Re=S(8893);const Fe=S(76150);const Ne=S(77090);const Be=S(81627);const Le=S(72380);const je=S(83379);const{isSubset:$e}=S(26221);const{getScheme:ze}=S(45754);const{compareLocations:Ue,concatComparators:Ge,compareSelect:qe,keepOriginalOrder:Ve}=S(68673);const He=S(35891);const{join:We}=S(95396);const{contextify:Ke,absolutify:Xe}=S(49197);const Qe=S(56202);const Je=S(91671);const Ye=Je((()=>S(49619)));const Ze=Je((()=>S(15235).validate));const et=/^([a-zA-Z]:\\|\\\\|\/)/;const contextifySourceUrl=(E,k,S)=>{if(k.startsWith("webpack://"))return k;return`webpack://${Ke(E,k,S)}`};const contextifySourceMap=(E,k,S)=>{if(!Array.isArray(k.sources))return k;const{sourceRoot:w}=k;const N=!w?E=>E:w.endsWith("/")?E=>E.startsWith("/")?`${w.slice(0,-1)}${E}`:`${w}${E}`:E=>E.startsWith("/")?`${w}${E}`:`${w}/${E}`;const j=k.sources.map((k=>contextifySourceUrl(E,N(k),S)));return{...k,file:"x",sourceRoot:undefined,sources:j}};const asString=E=>{if(Buffer.isBuffer(E)){return E.toString("utf-8")}return E};const asBuffer=E=>{if(!Buffer.isBuffer(E)){return Buffer.from(E,"utf-8")}return E};class NonErrorEmittedError extends Be{constructor(E){super();this.name="NonErrorEmittedError";this.message="(Emitted value instead of an instance of Error) "+E}}Qe(NonErrorEmittedError,"webpack/lib/NormalModule","NonErrorEmittedError");const tt=new WeakMap;class NormalModule extends Ce{static getCompilationHooks(E){if(!(E instanceof we)){throw new TypeError("The 'compilation' argument must be an instance of Compilation")}let k=tt.get(E);if(k===undefined){k={loader:new te(["loaderContext","module"]),beforeLoaders:new te(["loaders","module","loaderContext"]),readResourceForScheme:new ee((()=>new ne(["resource","module"])))};tt.set(E,k)}return k}constructor({layer:E,type:k,request:S,userRequest:w,rawRequest:j,loaders:q,resource:ee,resourceResolveData:te,matchResource:ne,parser:ae,parserOptions:_e,generator:ve,generatorOptions:Ee,resolveOptions:we}){super(k,N(ee),E);this.request=S;this.userRequest=w;this.rawRequest=j;this.binary=/^(asset|webassembly)\b/.test(k);this.parser=ae;this.parserOptions=_e;this.generator=ve;this.generatorOptions=Ee;this.resource=ee;this.resourceResolveData=te;this.matchResource=ne;this.loaders=q;if(we!==undefined){this.resolveOptions=we}this.error=null;this._source=null;this._sourceSizes=undefined;this._sourceTypes=undefined;this._lastSuccessfulBuildMeta={};this._forceBuild=true;this._isEvaluatingSideEffects=false;this._addedSideEffectsBailout=undefined}identifier(){if(this.layer===null){return this.request}else{return`${this.request}|${this.layer}`}}readableIdentifier(E){return E.shorten(this.userRequest)}libIdent(E){return Ke(E.context,this.userRequest,E.associatedObjectForCache)}nameForCondition(){const E=this.matchResource||this.resource;const k=E.indexOf("?");if(k>=0)return E.substr(0,k);return E}updateCacheModule(E){super.updateCacheModule(E);const k=E;this.binary=k.binary;this.request=k.request;this.userRequest=k.userRequest;this.rawRequest=k.rawRequest;this.parser=k.parser;this.parserOptions=k.parserOptions;this.generator=k.generator;this.generatorOptions=k.generatorOptions;this.resource=k.resource;this.matchResource=k.matchResource;this.loaders=k.loaders;this._sourceTypes=k._sourceTypes;this._sourceSizes=k._sourceSizes}cleanupForCache(){if(this._sourceTypes===undefined)this.getSourceTypes();for(const E of this._sourceTypes){this.size(E)}super.cleanupForCache();this.parser=undefined;this.parserOptions=undefined;this.generator=undefined;this.generatorOptions=undefined}getUnsafeCacheData(){const E=super.getUnsafeCacheData();E.parserOptions=this.parserOptions;E.generatorOptions=this.generatorOptions;return E}restoreFromUnsafeCache(E,k){this._restoreFromUnsafeCache(E,k)}_restoreFromUnsafeCache(E,k){super._restoreFromUnsafeCache(E,k);this.parserOptions=E.parserOptions;this.parser=k.getParser(this.type,this.parserOptions);this.generatorOptions=E.generatorOptions;this.generator=k.getGenerator(this.type,this.generatorOptions)}createSourceForAsset(E,k,S,w,N){if(w){if(typeof w==="string"&&(this.useSourceMap||this.useSimpleSourceMap)){return new _e(S,contextifySourceUrl(E,w,N))}if(this.useSourceMap){return new Ee(S,k,contextifySourceMap(E,w,N))}}return new ve(S)}createLoaderContext(E,k,S,N){const{requestShortener:j}=S.runtimeTemplate;const getCurrentLoaderName=()=>{const E=this.getCurrentLoader(ve);if(!E)return"(not in loader scope)";return j.shorten(E.loader)};const getResolveContext=()=>({fileDependencies:{add:E=>ve.addDependency(E)},contextDependencies:{add:E=>ve.addContextDependency(E)},missingDependencies:{add:E=>ve.addMissingDependency(E)}});const ee=Je((()=>Xe.bindCache(S.compiler.root)));const te=Je((()=>Xe.bindContextCache(this.context,S.compiler.root)));const ne=Je((()=>Ke.bindCache(S.compiler.root)));const ae=Je((()=>Ke.bindContextCache(this.context,S.compiler.root)));const _e={absolutify:(E,k)=>E===this.context?te()(k):ee()(E,k),contextify:(E,k)=>E===this.context?ae()(k):ne()(E,k)};const ve={version:2,getOptions:E=>{const k=this.getCurrentLoader(ve);let{options:S}=k;if(typeof S==="string"){if(S.substr(0,1)==="{"&&S.substr(-1)==="}"){try{S=w(S)}catch(E){throw new Error(`Cannot parse string options: ${E.message}`)}}else{S=q.parse(S,"&","=",{maxKeys:0})}}if(S===null||S===undefined){S={}}if(E){let k="Loader";let w="options";let N;if(E.title&&(N=/^(.+) (.+)$/.exec(E.title))){[,k,w]=N}Ze()(E,S,{name:k,baseDataPath:w})}return S},emitWarning:E=>{if(!(E instanceof Error)){E=new NonErrorEmittedError(E)}this.addWarning(new Re(E,{from:getCurrentLoaderName()}))},emitError:E=>{if(!(E instanceof Error)){E=new NonErrorEmittedError(E)}this.addError(new Te(E,{from:getCurrentLoaderName()}))},getLogger:E=>{const k=this.getCurrentLoader(ve);return S.getLogger((()=>[k&&k.loader,E,this.identifier()].filter(Boolean).join("|")))},resolve(k,S,w){E.resolve({},k,S,getResolveContext(),w)},getResolve(k){const S=k?E.withOptions(k):E;return(E,k,w)=>{if(w){S.resolve({},E,k,getResolveContext(),w)}else{return new Promise(((w,N)=>{S.resolve({},E,k,getResolveContext(),((E,k)=>{if(E)N(E);else w(k)}))}))}}},emitFile:(E,w,N,j)=>{if(!this.buildInfo.assets){this.buildInfo.assets=Object.create(null);this.buildInfo.assetsInfo=new Map}this.buildInfo.assets[E]=this.createSourceForAsset(k.context,E,w,N,S.compiler.root);this.buildInfo.assetsInfo.set(E,j)},addBuildDependency:E=>{if(this.buildInfo.buildDependencies===undefined){this.buildInfo.buildDependencies=new je}this.buildInfo.buildDependencies.add(E)},utils:_e,rootContext:k.context,webpack:true,sourceMap:!!this.useSourceMap,mode:k.mode||"production",_module:this,_compilation:S,_compiler:S.compiler,fs:N};Object.assign(ve,k.loader);NormalModule.getCompilationHooks(S).loader.call(ve,this);return ve}getCurrentLoader(E,k=E.loaderIndex){if(this.loaders&&this.loaders.length&&k=0&&this.loaders[k]){return this.loaders[k]}return null}createSource(E,k,S,w){if(Buffer.isBuffer(k)){return new ve(k)}if(!this.identifier){return new ve(k)}const N=this.identifier();if(this.useSourceMap&&S){return new Ee(k,contextifySourceUrl(E,N,w),contextifySourceMap(E,S,w))}if(this.useSourceMap||this.useSimpleSourceMap){return new _e(k,contextifySourceUrl(E,N,w))}return new ve(k)}doBuild(E,k,S,w,N){const q=this.createLoaderContext(S,E,k,w);const processResult=(S,w)=>{if(S){if(!(S instanceof Error)){S=new NonErrorEmittedError(S)}const E=this.getCurrentLoader(q);const w=new Me(S,{from:E&&k.runtimeTemplate.requestShortener.shorten(E.loader)});return N(w)}const j=w[0];const ee=w.length>=1?w[1]:null;const te=w.length>=2?w[2]:null;if(!Buffer.isBuffer(j)&&typeof j!=="string"){const E=this.getCurrentLoader(q,0);const S=new Error(`Final loader (${E?k.runtimeTemplate.requestShortener.shorten(E.loader):"unknown"}) didn't return a Buffer or String`);const w=new Me(S);return N(w)}this._source=this.createSource(E.context,this.binary?asBuffer(j):asString(j),ee,k.compiler.root);if(this._sourceSizes!==undefined)this._sourceSizes.clear();this._ast=typeof te==="object"&&te!==null&&te.webpackAST!==undefined?te.webpackAST:null;return N()};const ee=NormalModule.getCompilationHooks(k);try{ee.beforeLoaders.call(this.loaders,this,q)}catch(E){processResult(E);return}j({resource:this.resource,loaders:this.loaders,context:q,processResource:(E,k,S)=>{const N=ze(k);if(N){ee.readResourceForScheme.for(N).callAsync(k,this,((E,w)=>{if(E)return S(E);if(typeof w!=="string"&&!w){return S(new Ne(N,k))}return S(null,w)}))}else{E.addDependency(k);w.readFile(k,S)}}},((E,k)=>{q._compilation=q._compiler=q._module=q.fs=undefined;if(!k){return processResult(E||new Error("No result from loader-runner processing"),null)}this.buildInfo.fileDependencies=new je;this.buildInfo.fileDependencies.addAll(k.fileDependencies);this.buildInfo.contextDependencies=new je;this.buildInfo.contextDependencies.addAll(k.contextDependencies);this.buildInfo.missingDependencies=new je;this.buildInfo.missingDependencies.addAll(k.missingDependencies);if(this.loaders.length>0&&this.buildInfo.buildDependencies===undefined){this.buildInfo.buildDependencies=new je}for(const E of this.loaders){this.buildInfo.buildDependencies.add(E.loader)}this.buildInfo.cacheable=k.cacheable;processResult(E,k.result)}))}markModuleAsErrored(E){this.buildMeta={...this._lastSuccessfulBuildMeta};this.error=E;this.addError(E)}applyNoParseRule(E,k){if(typeof E==="string"){return k.startsWith(E)}if(typeof E==="function"){return E(k)}return E.test(k)}shouldPreventParsing(E,k){if(!E){return false}if(!Array.isArray(E)){return this.applyNoParseRule(E,k)}for(let S=0;S{if(S){this.markModuleAsErrored(S);this._initBuildHash(k);return N()}const handleParseError=S=>{const w=this._source.source();const j=this.loaders.map((S=>Ke(E.context,S.loader,k.compiler.root)));const q=new Oe(w,S,j,this.type);this.markModuleAsErrored(q);this._initBuildHash(k);return N()};const handleParseResult=E=>{this.dependencies.sort(Ge(qe((E=>E.loc),Ue),Ve(this.dependencies)));this._initBuildHash(k);this._lastSuccessfulBuildMeta=this.buildMeta;return handleBuildDone()};const handleBuildDone=()=>{const E=k.options.snapshot.module;if(!this.buildInfo.cacheable||!E){return N()}let S=undefined;const checkDependencies=E=>{for(const w of E){if(!et.test(w)){if(S===undefined)S=new Set;S.add(w);E.delete(w);try{const S=w.replace(/[\\/]?\*.*$/,"");const N=We(k.fileSystemInfo.fs,this.context,S);if(N!==w&&et.test(N)){(S!==w?this.buildInfo.contextDependencies:E).add(N)}}catch(E){}}}};checkDependencies(this.buildInfo.fileDependencies);checkDependencies(this.buildInfo.missingDependencies);checkDependencies(this.buildInfo.contextDependencies);if(S!==undefined){const E=Ye();this.addWarning(new E(this,S))}k.fileSystemInfo.createSnapshot(j,this.buildInfo.fileDependencies,this.buildInfo.contextDependencies,this.buildInfo.missingDependencies,E,((E,k)=>{if(E){this.markModuleAsErrored(E);return}this.buildInfo.fileDependencies=undefined;this.buildInfo.contextDependencies=undefined;this.buildInfo.missingDependencies=undefined;this.buildInfo.snapshot=k;return N()}))};const w=E.module&&E.module.noParse;if(this.shouldPreventParsing(w,this.request)){this.buildInfo.parsed=false;this._initBuildHash(k);return handleBuildDone()}let q;try{q=this.parser.parse(this._ast||this._source.source(),{current:this,module:this,compilation:k,options:E})}catch(E){handleParseError(E);return}handleParseResult(q)}))}getConcatenationBailoutReason(E){return this.generator.getConcatenationBailoutReason(this,E)}getSideEffectsConnectionState(E){if(this.factoryMeta!==undefined){if(this.factoryMeta.sideEffectFree)return false;if(this.factoryMeta.sideEffectFree===false)return true}if(this.buildMeta!==undefined&&this.buildMeta.sideEffectFree){if(this._isEvaluatingSideEffects)return Ie.CIRCULAR_CONNECTION;this._isEvaluatingSideEffects=true;let k=false;for(const S of this.dependencies){const w=S.getModuleEvaluationSideEffectsState(E);if(w===true){if(this._addedSideEffectsBailout===undefined?(this._addedSideEffectsBailout=new WeakSet,true):!this._addedSideEffectsBailout.has(E)){this._addedSideEffectsBailout.add(E);E.getOptimizationBailout(this).push((()=>`Dependency (${S.type}) with side effects at ${Le(S.loc)}`))}this._isEvaluatingSideEffects=false;return true}else if(w!==Ie.CIRCULAR_CONNECTION){k=Ie.addConnectionStates(k,w)}}this._isEvaluatingSideEffects=false;return k}else{return true}}getSourceTypes(){if(this._sourceTypes===undefined){this._sourceTypes=this.generator.getTypes(this)}return this._sourceTypes}codeGeneration({dependencyTemplates:E,runtimeTemplate:k,moduleGraph:S,chunkGraph:w,runtime:N,concatenationScope:j}){const q=new Set;if(!this.buildInfo.parsed){q.add(Fe.module);q.add(Fe.exports);q.add(Fe.thisAsExports)}let ee;const getData=()=>{if(ee===undefined)ee=new Map;return ee};const te=new Map;for(const ee of this.generator.getTypes(this)){const ne=this.error?new ve("throw new Error("+JSON.stringify(this.error.message)+");"):this.generator.generate(this,{dependencyTemplates:E,runtimeTemplate:k,moduleGraph:S,chunkGraph:w,runtimeRequirements:q,runtime:N,concatenationScope:j,getData:getData,type:ee});if(ne){te.set(ee,new ae(ne))}}const ne={sources:te,runtimeRequirements:q,data:ee};return ne}originalSource(){return this._source}invalidateBuild(){this._forceBuild=true}needBuild({fileSystemInfo:E,valueCacheVersions:k},S){if(this._forceBuild)return S(null,true);if(this.error)return S(null,true);if(!this.buildInfo.cacheable)return S(null,true);if(!this.buildInfo.snapshot)return S(null,true);const w=this.buildInfo.valueDependencies;if(w){if(!k)return S(null,true);for(const[E,N]of w){if(N===undefined)return S(null,true);const w=k.get(E);if(N!==w&&(typeof N==="string"||typeof w==="string"||w===undefined||!$e(N,w))){return S(null,true)}}}E.checkSnapshotValid(this.buildInfo.snapshot,((E,k)=>{S(E,!k)}))}size(E){const k=this._sourceSizes===undefined?undefined:this._sourceSizes.get(E);if(k!==undefined){return k}const S=Math.max(1,this.generator.getSize(this,E));if(this._sourceSizes===undefined){this._sourceSizes=new Map}this._sourceSizes.set(E,S);return S}addCacheDependencies(E,k,S,w){const{snapshot:N,buildDependencies:j}=this.buildInfo;if(N){E.addAll(N.getFileIterable());k.addAll(N.getContextIterable());S.addAll(N.getMissingIterable())}else{const{fileDependencies:w,contextDependencies:N,missingDependencies:j}=this.buildInfo;if(w!==undefined)E.addAll(w);if(N!==undefined)k.addAll(N);if(j!==undefined)S.addAll(j)}if(j!==undefined){w.addAll(j)}}updateHash(E,k){E.update(this.buildInfo.hash);this.generator.updateHash(E,{module:this,...k});super.updateHash(E,k)}serialize(E){const{write:k}=E;k(this._source);k(this.error);k(this._lastSuccessfulBuildMeta);k(this._forceBuild);super.serialize(E)}static deserialize(E){const k=new NormalModule({layer:null,type:"",resource:"",request:null,userRequest:null,rawRequest:null,loaders:null,matchResource:null,parser:null,parserOptions:null,generator:null,generatorOptions:null,resolveOptions:null});k.deserialize(E);return k}deserialize(E){const{read:k}=E;this._source=k();this.error=k();this._lastSuccessfulBuildMeta=k();this._forceBuild=k();super.deserialize(E)}}Qe(NormalModule,"webpack/lib/NormalModule");E.exports=NormalModule},43229:(E,k,S)=>{"use strict";const w=S(62355);const{AsyncSeriesBailHook:N,SyncWaterfallHook:j,SyncBailHook:q,SyncHook:ee,HookMap:te}=S(92960);const ne=S(45137);const ae=S(53453);const _e=S(40674);const ve=S(75412);const Ee=S(53520);const we=S(94288);const Ce=S(1976);const Me=S(92299);const Te=S(73817);const Ie=S(19311);const Oe=S(83379);const{getScheme:Re}=S(45754);const{cachedCleverMerge:Fe,cachedSetProperty:Ne}=S(90149);const{join:Be}=S(95396);const{parseResource:Le}=S(49197);const je={};const $e={};const ze={};const Ue=/^([^!]+)!=!/;const loaderToIdent=E=>{if(!E.options){return E.loader}if(typeof E.options==="string"){return E.loader+"?"+E.options}if(typeof E.options!=="object"){throw new Error("loader options must be string or object")}if(E.ident){return E.loader+"??"+E.ident}return E.loader+"?"+JSON.stringify(E.options)};const stringifyLoadersAndResource=(E,k)=>{let S="";for(const k of E){S+=loaderToIdent(k)+"!"}return S+k};const identToLoaderRequest=E=>{const k=E.indexOf("?");if(k>=0){const S=E.substr(0,k);const w=E.substr(k+1);return{loader:S,options:w}}else{return{loader:E,options:undefined}}};const needCalls=(E,k)=>S=>{if(--E===0){return k(S)}if(S&&E>0){E=NaN;return k(S)}};const mergeGlobalOptions=(E,k,S)=>{const w=k.split("/");let N;let j="";for(const k of w){j=j?`${j}/${k}`:k;const S=E[j];if(typeof S==="object"){if(N===undefined){N=S}else{N=Fe(N,S)}}}if(N===undefined){return S}else{return Fe(N,S)}};const deprecationChangedHookMessage=(E,k)=>{const S=k.taps.map((E=>E.name)).join(", ");return`NormalModuleFactory.${E} (${S}) is no longer a waterfall hook, but a bailing hook instead. `+"Do not return the passed object, but modify it instead. "+"Returning false will ignore the request and results in no module created."};const Ge=new WeakMap;const qe=new WeakMap;const Ve=new Te([new Ce("test","resource"),new Ce("scheme"),new Ce("mimetype"),new Ce("dependency"),new Ce("include","resource"),new Ce("exclude","resource",true),new Ce("resource"),new Ce("resourceQuery"),new Ce("resourceFragment"),new Ce("realResource"),new Ce("issuer"),new Ce("compiler"),new Ce("issuerLayer"),new Me,new we("type"),new we("sideEffects"),new we("parser"),new we("resolve"),new we("generator"),new we("layer"),new Ie]);class NormalModuleFactory extends _e{constructor({context:E,fs:k,resolverFactory:S,options:w,associatedObjectForCache:ne,layers:_e=false}){super();this.hooks=Object.freeze({resolve:new N(["resolveData"]),resolveForScheme:new te((()=>new N(["resourceData","resolveData"]))),factorize:new N(["resolveData"]),beforeResolve:new N(["resolveData"]),afterResolve:new N(["resolveData"]),createModule:new N(["createData","resolveData"]),module:new j(["module","createData","resolveData"]),createParser:new te((()=>new q(["parserOptions"]))),parser:new te((()=>new ee(["parser","parserOptions"]))),createGenerator:new te((()=>new q(["generatorOptions"]))),generator:new te((()=>new ee(["generator","generatorOptions"])))});this.resolverFactory=S;this.ruleSet=Ve.compile([{rules:w.defaultRules},{rules:w.rules}]);this.unsafeCache=!!w.unsafeCache;this.cachePredicate=typeof w.unsafeCache==="function"?w.unsafeCache:()=>true;this.context=E||"";this.fs=k;this._globalParserOptions=w.parser;this._globalGeneratorOptions=w.generator;this.parserCache=new Map;this.generatorCache=new Map;this._restoredUnsafeCacheEntries=new Set;const ve=Le.bindCache(ne);this.hooks.factorize.tapAsync({name:"NormalModuleFactory",stage:100},((E,k)=>{this.hooks.resolve.callAsync(E,((S,w)=>{if(S)return k(S);if(w===false)return k();if(w instanceof ae)return k(null,w);if(typeof w==="object")throw new Error(deprecationChangedHookMessage("resolve",this.hooks.resolve)+" Returning a Module object will result in this module used as result.");this.hooks.afterResolve.callAsync(E,((S,w)=>{if(S)return k(S);if(typeof w==="object")throw new Error(deprecationChangedHookMessage("afterResolve",this.hooks.afterResolve));if(w===false)return k();const N=E.createData;this.hooks.createModule.callAsync(N,E,((S,w)=>{if(!w){if(!E.request){return k(new Error("Empty dependency (no request)"))}w=new Ee(N)}w=this.hooks.module.call(w,N,E);return k(null,w)}))}))}))}));this.hooks.resolve.tapAsync({name:"NormalModuleFactory",stage:100},((E,k)=>{const{contextInfo:S,context:w,dependencies:N,request:j,resolveOptions:q,fileDependencies:ee,missingDependencies:te,contextDependencies:ne}=E;const ae=N.length>0&&N[0].category||"";const Ee=this.getResolver("loader");let we=undefined;let Ce=j;const Me=Ue.exec(j);if(Me){let E=Me[1];if(E.charCodeAt(0)===46){const k=E.charCodeAt(1);if(k===47||k===46&&E.charCodeAt(2)===47){E=Be(this.fs,w,E)}}we={resource:E,...ve(E)};Ce=j.substr(Me[0].length)}const Te=Ce.charCodeAt(0);const Ie=Ce.charCodeAt(1);const Oe=Te===45&&Ie===33;const Le=Oe||Te===33;const $e=Te===33&&Ie===33;const ze=Ce.slice(Oe||$e?2:Le?1:0).split(/!+/);const Ge=ze.pop();const qe=ze.map(identToLoaderRequest);const Ve={fileDependencies:ee,missingDependencies:te,contextDependencies:ne};let He;const We=Re(Ge);let Ke;const Xe=needCalls(2,(q=>{if(q)return k(q);try{for(const E of Ke){if(typeof E.options==="string"&&E.options[0]==="?"){const k=E.options.substr(1);if(k==="[[missing ident]]"){throw new Error("No ident is provided by referenced loader. "+"When using a function for Rule.use in config you need to "+"provide an 'ident' property for referenced loader options.")}E.options=this.ruleSet.references.get(k);if(E.options===undefined){throw new Error("Invalid ident is provided by referenced loader")}E.ident=k}}}catch(E){return k(E)}if(!He){return k(null,N[0].createIgnoredModule(w))}const ee=(we!==undefined?`${we.resource}!=!`:"")+stringifyLoadersAndResource(Ke,He.resource);const te=we||He;const ne=this.ruleSet.exec({resource:te.path,realResource:He.path,resourceQuery:te.query,resourceFragment:te.fragment,scheme:We,mimetype:we?"":He.data.mimetype||"",dependency:ae,descriptionData:we?undefined:He.data.descriptionFileData,issuer:S.issuer,compiler:S.compiler,issuerLayer:S.issuerLayer||""});const ve={};const Ce=[];const Me=[];const Te=[];for(const E of ne){if(E.type==="use"){if(!Le&&!$e){Me.push(E.value)}}else if(E.type==="use-post"){if(!$e){Ce.push(E.value)}}else if(E.type==="use-pre"){if(!Oe&&!$e){Te.push(E.value)}}else if(typeof E.value==="object"&&E.value!==null&&typeof ve[E.type]==="object"&&ve[E.type]!==null){ve[E.type]=Fe(ve[E.type],E.value)}else{ve[E.type]=E.value}}let Ie,Re,Ne;const Be=needCalls(3,(w=>{if(w){return k(w)}const N=Ie;if(we===undefined){for(const E of Ke)N.push(E);for(const E of Re)N.push(E)}else{for(const E of Re)N.push(E);for(const E of Ke)N.push(E)}for(const E of Ne)N.push(E);let q=ve.type;if(!q){const E=we&&we.resource||He.resource;let k;if(typeof E==="string"&&(k=/\.webpack\[([^\]]+)\]$/.exec(E))){q=k[1]}else{q="javascript/auto"}}const te=ve.resolve;const ne=ve.layer;if(ne!==undefined&&!_e){return k(new Error("'Rule.layer' is only allowed when 'experiments.layers' is enabled"))}try{Object.assign(E.createData,{layer:ne===undefined?S.issuerLayer||null:ne,request:stringifyLoadersAndResource(N,He.resource),userRequest:ee,rawRequest:j,loaders:N,resource:He.resource,matchResource:we?we.resource:undefined,resourceResolveData:He.data,settings:ve,type:q,parser:this.getParser(q,ve.parser),parserOptions:ve.parser,generator:this.getGenerator(q,ve.generator),generatorOptions:ve.generator,resolveOptions:te})}catch(E){return k(E)}k()}));this.resolveRequestArray(S,this.context,Ce,Ee,Ve,((E,k)=>{Ie=k;Be(E)}));this.resolveRequestArray(S,this.context,Me,Ee,Ve,((E,k)=>{Re=k;Be(E)}));this.resolveRequestArray(S,this.context,Te,Ee,Ve,((E,k)=>{Ne=k;Be(E)}))}));this.resolveRequestArray(S,w,qe,Ee,Ve,((E,k)=>{if(E)return Xe(E);Ke=k;Xe()}));if(We){He={resource:Ge,data:{},path:undefined,query:undefined,fragment:undefined};this.hooks.resolveForScheme.for(We).callAsync(He,E,(E=>{if(E)return Xe(E);Xe()}))}else if(/^($|\?)/.test(Ge)){He={resource:Ge,data:{},...ve(Ge)};Xe()}else{const E=this.getResolver("normal",ae?Ne(q||je,"dependencyType",ae):q);this.resolveResource(S,w,Ge,E,Ve,((E,k,S)=>{if(E)return Xe(E);if(k!==false){He={resource:k,data:S,...ve(k)}}Xe()}))}}))}cleanupForCache(){for(const E of this._restoredUnsafeCacheEntries){ne.clearChunkGraphForModule(E);ve.clearModuleGraphForModule(E);E.cleanupForCache()}}create(E,k){const S=E.dependencies;if(this.unsafeCache){const E=Ge.get(S[0]);if(E){const{module:S}=E;if(!this._restoredUnsafeCacheEntries.has(S)){const E=qe.get(S);S.restoreFromUnsafeCache(E,this);this._restoredUnsafeCacheEntries.add(S)}return k(null,E)}}const w=E.context||this.context;const N=E.resolveOptions||je;const j=S[0];const q=j.request;const ee=E.contextInfo;const te=new Oe;const ne=new Oe;const ae=new Oe;const _e={contextInfo:ee,resolveOptions:N,context:w,request:q,dependencies:S,fileDependencies:te,missingDependencies:ne,contextDependencies:ae,createData:{},cacheable:true};this.hooks.beforeResolve.callAsync(_e,((E,w)=>{if(E){return k(E,{fileDependencies:te,missingDependencies:ne,contextDependencies:ae})}if(w===false){return k(null,{fileDependencies:te,missingDependencies:ne,contextDependencies:ae})}if(typeof w==="object")throw new Error(deprecationChangedHookMessage("beforeResolve",this.hooks.beforeResolve));this.hooks.factorize.callAsync(_e,((E,w)=>{if(E){return k(E,{fileDependencies:te,missingDependencies:ne,contextDependencies:ae})}const N={module:w,fileDependencies:te,missingDependencies:ne,contextDependencies:ae};if(this.unsafeCache&&_e.cacheable&&w&&w.restoreFromUnsafeCache&&this.cachePredicate(w)){for(const E of S){Ge.set(E,N)}if(!qe.has(w)){qe.set(w,w.getUnsafeCacheData())}this._restoredUnsafeCacheEntries.add(w)}k(null,N)}))}))}resolveResource(E,k,S,w,N,j){w.resolve(E,k,S,N,((q,ee,te)=>{if(q){return this._resolveResourceErrorHints(q,E,k,S,w,N,((E,k)=>{if(E){q.message+=`\nAn fatal error happened during resolving additional hints for this error: ${E.message}`;q.stack+=`\n\nAn fatal error happened during resolving additional hints for this error:\n${E.stack}`;return j(q)}if(k&&k.length>0){q.message+=`\n${k.join("\n\n")}`}j(q)}))}j(q,ee,te)}))}_resolveResourceErrorHints(E,k,S,N,j,q,ee){w.parallel([E=>{if(!j.options.fullySpecified)return E();j.withOptions({fullySpecified:false}).resolve(k,S,N,q,((k,S)=>{if(!k&&S){const k=Le(S).path.replace(/^.*[\\/]/,"");return E(null,`Did you mean '${k}'?\nBREAKING CHANGE: The request '${N}' failed to resolve only because it was resolved as fully specified\n(probably because the origin is a '*.mjs' file or a '*.js' file where the package.json contains '"type": "module"').\nThe extension in the request is mandatory for it to be fully specified.\nAdd the extension to the request.`)}E()}))},E=>{if(!j.options.enforceExtension)return E();j.withOptions({enforceExtension:false,extensions:[]}).resolve(k,S,N,q,((k,S)=>{if(!k&&S){let k="";const S=/(\.[^.]+)(\?|$)/.exec(N);if(S){const E=N.replace(/(\.[^.]+)(\?|$)/,"$2");if(j.options.extensions.has(S[1])){k=`Did you mean '${E}'?`}else{k=`Did you mean '${E}'? Also note that '${S[1]}' is not in 'resolve.extensions' yet and need to be added for this to work?`}}else{k=`Did you mean to omit the extension or to remove 'resolve.enforceExtension'?`}return E(null,`The request '${N}' failed to resolve only because 'resolve.enforceExtension' was specified.\n${k}\nIncluding the extension in the request is no longer possible. Did you mean to enforce including the extension in requests with 'resolve.extensions: []' instead?`)}E()}))},E=>{if(/^\.\.?\//.test(N)||j.options.preferRelative){return E()}j.resolve(k,S,`./${N}`,q,((k,S)=>{if(k||!S)return E();const w=j.options.modules.map((E=>Array.isArray(E)?E.join(", "):E)).join(", ");E(null,`Did you mean './${N}'?\nRequests that should resolve in the current directory need to start with './'.\nRequests that start with a name are treated as module requests and resolve within module directories (${w}).\nIf changing the source code is not an option there is also a resolve options called 'preferRelative' which tries to resolve these kind of requests in the current directory too.`)}))}],((E,k)=>{if(E)return ee(E);ee(null,k.filter(Boolean))}))}resolveRequestArray(E,k,S,N,j,q){if(S.length===0)return q(null,S);w.map(S,((S,w)=>{N.resolve(E,k,S.loader,j,((q,ee)=>{if(q&&/^[^/]*$/.test(S.loader)&&!/-loader$/.test(S.loader)){return N.resolve(E,k,S.loader+"-loader",j,(E=>{if(!E){q.message=q.message+"\n"+"BREAKING CHANGE: It's no longer allowed to omit the '-loader' suffix when using loaders.\n"+` You need to specify '${S.loader}-loader' instead of '${S.loader}',\n`+" see https://webpack.js.org/migrate/3/#automatic-loader-module-name-extension-removed"}w(q)}))}if(q)return w(q);const te=identToLoaderRequest(ee);const ne={loader:te.loader,options:S.options===undefined?te.options:S.options,ident:S.options===undefined?undefined:S.ident};return w(null,ne)}))}),q)}getParser(E,k=$e){let S=this.parserCache.get(E);if(S===undefined){S=new WeakMap;this.parserCache.set(E,S)}let w=S.get(k);if(w===undefined){w=this.createParser(E,k);S.set(k,w)}return w}createParser(E,k={}){k=mergeGlobalOptions(this._globalParserOptions,E,k);const S=this.hooks.createParser.for(E).call(k);if(!S){throw new Error(`No parser registered for ${E}`)}this.hooks.parser.for(E).call(S,k);return S}getGenerator(E,k=ze){let S=this.generatorCache.get(E);if(S===undefined){S=new WeakMap;this.generatorCache.set(E,S)}let w=S.get(k);if(w===undefined){w=this.createGenerator(E,k);S.set(k,w)}return w}createGenerator(E,k={}){k=mergeGlobalOptions(this._globalGeneratorOptions,E,k);const S=this.hooks.createGenerator.for(E).call(k);if(!S){throw new Error(`No generator registered for ${E}`)}this.hooks.generator.for(E).call(S,k);return S}getResolver(E,k){return this.resolverFactory.get(E,k)}}E.exports=NormalModuleFactory},92234:(E,k,S)=>{"use strict";const{join:w,dirname:N}=S(95396);class NormalModuleReplacementPlugin{constructor(E,k){this.resourceRegExp=E;this.newResource=k}apply(E){const k=this.resourceRegExp;const S=this.newResource;E.hooks.normalModuleFactory.tap("NormalModuleReplacementPlugin",(j=>{j.hooks.beforeResolve.tap("NormalModuleReplacementPlugin",(E=>{if(k.test(E.request)){if(typeof S==="function"){S(E)}else{E.request=S}}}));j.hooks.afterResolve.tap("NormalModuleReplacementPlugin",(j=>{const q=j.createData;if(k.test(q.resource)){if(typeof S==="function"){S(j)}else{const k=E.inputFileSystem;if(S.startsWith("/")||S.length>1&&S[1]===":"){q.resource=S}else{q.resource=w(k,N(k,q.resource),S)}}}}))}))}}E.exports=NormalModuleReplacementPlugin},82414:(E,k)=>{"use strict";k.STAGE_BASIC=-10;k.STAGE_DEFAULT=0;k.STAGE_ADVANCED=10},97614:E=>{"use strict";class OptionsApply{process(E,k){}}E.exports=OptionsApply},2172:(E,k,S)=>{"use strict";class Parser{parse(E,k){const w=S(75884);throw new w}}E.exports=Parser},13125:(E,k,S)=>{"use strict";const w=S(88281);class PrefetchPlugin{constructor(E,k){if(k){this.context=E;this.request=k}else{this.context=null;this.request=E}}apply(E){E.hooks.compilation.tap("PrefetchPlugin",((E,{normalModuleFactory:k})=>{E.dependencyFactories.set(w,k)}));E.hooks.make.tapAsync("PrefetchPlugin",((k,S)=>{k.addModuleChain(this.context||E.context,new w(this.request),(E=>{S(E)}))}))}}E.exports=PrefetchPlugin},52923:(E,k,S)=>{"use strict";const w=S(63076);const N=S(63433);const j=S(53520);const q=S(35817);const{contextify:ee}=S(49197);const te=q(S(73971),(()=>S(78760)),{name:"Progress Plugin",baseDataPath:"options"});const median3=(E,k,S)=>E+k+S-Math.max(E,k,S)-Math.min(E,k,S);const createDefaultHandler=(E,k)=>{const S=[];const defaultHandler=(w,N,...j)=>{if(E){if(w===0){S.length=0}const E=[N,...j];const q=E.map((E=>E.replace(/\d+\/\d+ /g,"")));const ee=Date.now();const te=Math.max(q.length,S.length);for(let E=te;E>=0;E--){const w=E0){w=S[E-1].value+" > "+w}const q=`${" | ".repeat(E)}${j} ms ${w}`;const ee=j;{if(ee>1e4){k.error(q)}else if(ee>1e3){k.warn(q)}else if(ee>10){k.info(q)}else if(ee>5){k.log(q)}else{k.debug(q)}}}if(w===undefined){S.length=E}else{N.value=w;N.time=ee;S.length=E+1}}}else{S[E]={value:w,time:ee}}}}k.status(`${Math.floor(w*100)}%`,N,...j);if(w===1||!N&&j.length===0)k.status()};return defaultHandler};const ne=new WeakMap;class ProgressPlugin{static getReporter(E){return ne.get(E)}constructor(E={}){if(typeof E==="function"){E={handler:E}}te(E);E={...ProgressPlugin.defaultOptions,...E};this.profile=E.profile;this.handler=E.handler;this.modulesCount=E.modulesCount;this.dependenciesCount=E.dependenciesCount;this.showEntries=E.entries;this.showModules=E.modules;this.showDependencies=E.dependencies;this.showActiveModules=E.activeModules;this.percentBy=E.percentBy}apply(E){const k=this.handler||createDefaultHandler(this.profile,E.getInfrastructureLogger("webpack.Progress"));if(E instanceof N){this._applyOnMultiCompiler(E,k)}else if(E instanceof w){this._applyOnCompiler(E,k)}}_applyOnMultiCompiler(E,k){const S=E.compilers.map((()=>[0]));E.compilers.forEach(((E,w)=>{new ProgressPlugin(((E,N,...j)=>{S[w]=[E,N,...j];let q=0;for(const[E]of S)q+=E;k(q/S.length,`[${w}] ${N}`,...j)})).apply(E)}))}_applyOnCompiler(E,k){const S=this.showEntries;const w=this.showModules;const N=this.showDependencies;const j=this.showActiveModules;let q="";let te="";let ae=0;let _e=0;let ve=0;let Ee=0;let we=0;let Ce=1;let Me=0;let Te=0;let Ie=0;const Oe=new Set;let Re=0;const updateThrottled=()=>{if(Re+500{const ne=[];const Fe=Me/Math.max(ae||this.modulesCount||1,Ee);const Ne=Ie/Math.max(ve||this.dependenciesCount||1,Ce);const Be=Te/Math.max(_e||1,we);let Le;switch(this.percentBy){case"entries":Le=Ne;break;case"dependencies":Le=Be;break;case"modules":Le=Fe;break;default:Le=median3(Fe,Ne,Be)}const je=.1+Le*.55;if(te){ne.push(`import loader ${ee(E.context,te,E.root)}`)}else{const E=[];if(S){E.push(`${Ie}/${Ce} entries`)}if(N){E.push(`${Te}/${we} dependencies`)}if(w){E.push(`${Me}/${Ee} modules`)}if(j){E.push(`${Oe.size} active`)}if(E.length>0){ne.push(E.join(" "))}if(j){ne.push(q)}}k(je,"building",...ne);Re=Date.now()};const factorizeAdd=()=>{we++;if(we<50||we%100===0)updateThrottled()};const factorizeDone=()=>{Te++;if(Te<50||Te%100===0)updateThrottled()};const moduleAdd=()=>{Ee++;if(Ee<50||Ee%100===0)updateThrottled()};const moduleBuild=E=>{const k=E.identifier();if(k){Oe.add(k);q=k;update()}};const entryAdd=(E,k)=>{Ce++;if(Ce<5||Ce%10===0)updateThrottled()};const moduleDone=E=>{Me++;if(j){const k=E.identifier();if(k){Oe.delete(k);if(q===k){q="";for(const E of Oe){q=E}update();return}}}if(Me<50||Me%100===0)updateThrottled()};const entryDone=(E,k)=>{Ie++;update()};const Fe=E.getCache("ProgressPlugin").getItemCache("counts",null);let Ne;E.hooks.beforeCompile.tap("ProgressPlugin",(()=>{if(!Ne){Ne=Fe.getPromise().then((E=>{if(E){ae=ae||E.modulesCount;_e=_e||E.dependenciesCount}return E}),(E=>{}))}}));E.hooks.afterCompile.tapPromise("ProgressPlugin",(E=>{if(E.compiler.isChild())return Promise.resolve();return Ne.then((async E=>{if(!E||E.modulesCount!==Ee||E.dependenciesCount!==we){await Fe.storePromise({modulesCount:Ee,dependenciesCount:we})}}))}));E.hooks.compilation.tap("ProgressPlugin",(S=>{if(S.compiler.isChild())return;ae=Ee;ve=Ce;_e=we;Ee=we=Ce=0;Me=Te=Ie=0;S.factorizeQueue.hooks.added.tap("ProgressPlugin",factorizeAdd);S.factorizeQueue.hooks.result.tap("ProgressPlugin",factorizeDone);S.addModuleQueue.hooks.added.tap("ProgressPlugin",moduleAdd);S.processDependenciesQueue.hooks.result.tap("ProgressPlugin",moduleDone);if(j){S.hooks.buildModule.tap("ProgressPlugin",moduleBuild)}S.hooks.addEntry.tap("ProgressPlugin",entryAdd);S.hooks.failedEntry.tap("ProgressPlugin",entryDone);S.hooks.succeedEntry.tap("ProgressPlugin",entryDone);if(false){}const w={finishModules:"finish module graph",seal:"plugins",optimizeDependencies:"dependencies optimization",afterOptimizeDependencies:"after dependencies optimization",beforeChunks:"chunk graph",afterChunks:"after chunk graph",optimize:"optimizing",optimizeModules:"module optimization",afterOptimizeModules:"after module optimization",optimizeChunks:"chunk optimization",afterOptimizeChunks:"after chunk optimization",optimizeTree:"module and chunk tree optimization",afterOptimizeTree:"after module and chunk tree optimization",optimizeChunkModules:"chunk modules optimization",afterOptimizeChunkModules:"after chunk modules optimization",reviveModules:"module reviving",beforeModuleIds:"before module ids",moduleIds:"module ids",optimizeModuleIds:"module id optimization",afterOptimizeModuleIds:"module id optimization",reviveChunks:"chunk reviving",beforeChunkIds:"before chunk ids",chunkIds:"chunk ids",optimizeChunkIds:"chunk id optimization",afterOptimizeChunkIds:"after chunk id optimization",recordModules:"record modules",recordChunks:"record chunks",beforeModuleHash:"module hashing",beforeCodeGeneration:"code generation",beforeRuntimeRequirements:"runtime requirements",beforeHash:"hashing",afterHash:"after hashing",recordHash:"record hash",beforeModuleAssets:"module assets processing",beforeChunkAssets:"chunk assets processing",processAssets:"asset processing",afterProcessAssets:"after asset optimization",record:"recording",afterSeal:"after seal"};const N=Object.keys(w).length;Object.keys(w).forEach(((j,q)=>{const ee=w[j];const te=q/N*.25+.7;S.hooks[j].intercept({name:"ProgressPlugin",call(){k(te,"sealing",ee)},done(){ne.set(E,undefined);k(te,"sealing",ee)},result(){k(te,"sealing",ee)},error(){k(te,"sealing",ee)},tap(E){ne.set(S.compiler,((S,...w)=>{k(te,"sealing",ee,E.name,...w)}));k(te,"sealing",ee,E.name)}})}))}));E.hooks.make.intercept({name:"ProgressPlugin",call(){k(.1,"building")},done(){k(.65,"building")}});const interceptHook=(S,w,N,j)=>{S.intercept({name:"ProgressPlugin",call(){k(w,N,j)},done(){ne.set(E,undefined);k(w,N,j)},result(){k(w,N,j)},error(){k(w,N,j)},tap(S){ne.set(E,((E,...q)=>{k(w,N,j,S.name,...q)}));k(w,N,j,S.name)}})};E.cache.hooks.endIdle.intercept({name:"ProgressPlugin",call(){k(0,"")}});interceptHook(E.cache.hooks.endIdle,.01,"cache","end idle");E.hooks.initialize.intercept({name:"ProgressPlugin",call(){k(0,"")}});interceptHook(E.hooks.initialize,.01,"setup","initialize");interceptHook(E.hooks.beforeRun,.02,"setup","before run");interceptHook(E.hooks.run,.03,"setup","run");interceptHook(E.hooks.watchRun,.03,"setup","watch run");interceptHook(E.hooks.normalModuleFactory,.04,"setup","normal module factory");interceptHook(E.hooks.contextModuleFactory,.05,"setup","context module factory");interceptHook(E.hooks.beforeCompile,.06,"setup","before compile");interceptHook(E.hooks.compile,.07,"setup","compile");interceptHook(E.hooks.thisCompilation,.08,"setup","compilation");interceptHook(E.hooks.compilation,.09,"setup","compilation");interceptHook(E.hooks.finishMake,.69,"building","finish");interceptHook(E.hooks.emit,.95,"emitting","emit");interceptHook(E.hooks.afterEmit,.98,"emitting","after emit");interceptHook(E.hooks.done,.99,"done","plugins");E.hooks.done.intercept({name:"ProgressPlugin",done(){k(.99,"")}});interceptHook(E.cache.hooks.storeBuildDependencies,.99,"cache","store build dependencies");interceptHook(E.cache.hooks.shutdown,.99,"cache","shutdown");interceptHook(E.cache.hooks.beginIdle,.99,"cache","begin idle");interceptHook(E.hooks.watchClose,.99,"end","closing watch compilation");E.cache.hooks.beginIdle.intercept({name:"ProgressPlugin",done(){k(1,"")}});E.cache.hooks.shutdown.intercept({name:"ProgressPlugin",done(){k(1,"")}})}}ProgressPlugin.defaultOptions={profile:false,modulesCount:5e3,dependenciesCount:1e4,modules:true,dependencies:true,activeModules:false,entries:true};E.exports=ProgressPlugin},40313:(E,k,S)=>{"use strict";const w=S(66298);const N=S(1335);const{approve:j}=S(48472);class ProvidePlugin{constructor(E){this.definitions=E}apply(E){const k=this.definitions;E.hooks.compilation.tap("ProvidePlugin",((E,{normalModuleFactory:S})=>{E.dependencyTemplates.set(w,new w.Template);E.dependencyFactories.set(N,S);E.dependencyTemplates.set(N,new N.Template);const handler=(E,S)=>{Object.keys(k).forEach((S=>{const w=[].concat(k[S]);const q=S.split(".");if(q.length>0){q.slice(1).forEach(((k,S)=>{const w=q.slice(0,S+1).join(".");E.hooks.canRename.for(w).tap("ProvidePlugin",j)}))}E.hooks.expression.for(S).tap("ProvidePlugin",(k=>{const j=S.includes(".")?`__webpack_provided_${S.replace(/\./g,"_dot_")}`:S;const q=new N(w[0],j,w.slice(1),k.range);q.loc=k.loc;E.state.module.addDependency(q);return true}));E.hooks.call.for(S).tap("ProvidePlugin",(k=>{const j=S.includes(".")?`__webpack_provided_${S.replace(/\./g,"_dot_")}`:S;const q=new N(w[0],j,w.slice(1),k.callee.range);q.loc=k.callee.loc;E.state.module.addDependency(q);E.walkExpressions(k.arguments);return true}))}))};S.hooks.parser.for("javascript/auto").tap("ProvidePlugin",handler);S.hooks.parser.for("javascript/dynamic").tap("ProvidePlugin",handler);S.hooks.parser.for("javascript/esm").tap("ProvidePlugin",handler)}))}}E.exports=ProvidePlugin},22804:(E,k,S)=>{"use strict";const{OriginalSource:w,RawSource:N}=S(48135);const j=S(53453);const q=S(56202);const ee=new Set(["javascript"]);class RawModule extends j{constructor(E,k,S,w){super("javascript/dynamic",null);this.sourceStr=E;this.identifierStr=k||this.sourceStr;this.readableIdentifierStr=S||this.identifierStr;this.runtimeRequirements=w||null}getSourceTypes(){return ee}identifier(){return this.identifierStr}size(E){return Math.max(1,this.sourceStr.length)}readableIdentifier(E){return E.shorten(this.readableIdentifierStr)}needBuild(E,k){return k(null,!this.buildMeta)}build(E,k,S,w,N){this.buildMeta={};this.buildInfo={cacheable:true};N()}codeGeneration(E){const k=new Map;if(this.useSourceMap||this.useSimpleSourceMap){k.set("javascript",new w(this.sourceStr,this.identifier()))}else{k.set("javascript",new N(this.sourceStr))}return{sources:k,runtimeRequirements:this.runtimeRequirements}}updateHash(E,k){E.update(this.sourceStr);super.updateHash(E,k)}serialize(E){const{write:k}=E;k(this.sourceStr);k(this.identifierStr);k(this.readableIdentifierStr);k(this.runtimeRequirements);super.serialize(E)}deserialize(E){const{read:k}=E;this.sourceStr=k();this.identifierStr=k();this.readableIdentifierStr=k();this.runtimeRequirements=k();super.deserialize(E)}}q(RawModule,"webpack/lib/RawModule");E.exports=RawModule},43806:(E,k,S)=>{"use strict";const{compareNumbers:w}=S(68673);const N=S(49197);class RecordIdsPlugin{constructor(E){this.options=E||{}}apply(E){const k=this.options.portableIds;const S=N.makePathsRelative.bindContextCache(E.context,E.root);const getModuleIdentifier=E=>{if(k){return S(E.identifier())}return E.identifier()};E.hooks.compilation.tap("RecordIdsPlugin",(E=>{E.hooks.recordModules.tap("RecordIdsPlugin",((k,S)=>{const N=E.chunkGraph;if(!S.modules)S.modules={};if(!S.modules.byIdentifier)S.modules.byIdentifier={};const j=new Set;for(const E of k){const k=N.getModuleId(E);if(typeof k!=="number")continue;const w=getModuleIdentifier(E);S.modules.byIdentifier[w]=k;j.add(k)}S.modules.usedIds=Array.from(j).sort(w)}));E.hooks.reviveModules.tap("RecordIdsPlugin",((k,S)=>{if(!S.modules)return;if(S.modules.byIdentifier){const w=E.chunkGraph;const N=new Set;for(const E of k){const k=w.getModuleId(E);if(k!==null)continue;const j=getModuleIdentifier(E);const q=S.modules.byIdentifier[j];if(q===undefined)continue;if(N.has(q))continue;N.add(q);w.setModuleId(E,q)}}if(Array.isArray(S.modules.usedIds)){E.usedModuleIds=new Set(S.modules.usedIds)}}));const getChunkSources=E=>{const k=[];for(const S of E.groupsIterable){const w=S.chunks.indexOf(E);if(S.name){k.push(`${w} ${S.name}`)}else{for(const E of S.origins){if(E.module){if(E.request){k.push(`${w} ${getModuleIdentifier(E.module)} ${E.request}`)}else if(typeof E.loc==="string"){k.push(`${w} ${getModuleIdentifier(E.module)} ${E.loc}`)}else if(E.loc&&typeof E.loc==="object"&&"start"in E.loc){k.push(`${w} ${getModuleIdentifier(E.module)} ${JSON.stringify(E.loc.start)}`)}}}}}return k};E.hooks.recordChunks.tap("RecordIdsPlugin",((E,k)=>{if(!k.chunks)k.chunks={};if(!k.chunks.byName)k.chunks.byName={};if(!k.chunks.bySource)k.chunks.bySource={};const S=new Set;for(const w of E){if(typeof w.id!=="number")continue;const E=w.name;if(E)k.chunks.byName[E]=w.id;const N=getChunkSources(w);for(const E of N){k.chunks.bySource[E]=w.id}S.add(w.id)}k.chunks.usedIds=Array.from(S).sort(w)}));E.hooks.reviveChunks.tap("RecordIdsPlugin",((k,S)=>{if(!S.chunks)return;const w=new Set;if(S.chunks.byName){for(const E of k){if(E.id!==null)continue;if(!E.name)continue;const k=S.chunks.byName[E.name];if(k===undefined)continue;if(w.has(k))continue;w.add(k);E.id=k;E.ids=[k]}}if(S.chunks.bySource){for(const E of k){if(E.id!==null)continue;const k=getChunkSources(E);for(const N of k){const k=S.chunks.bySource[N];if(k===undefined)continue;if(w.has(k))continue;w.add(k);E.id=k;E.ids=[k];break}}}if(Array.isArray(S.chunks.usedIds)){E.usedChunkIds=new Set(S.chunks.usedIds)}}))}))}}E.exports=RecordIdsPlugin},80910:(E,k,S)=>{"use strict";const{contextify:w}=S(49197);class RequestShortener{constructor(E,k){this.contextify=w.bindContextCache(E,k)}shorten(E){if(!E){return E}return this.contextify(E)}}E.exports=RequestShortener},10830:(E,k,S)=>{"use strict";const w=S(76150);const N=S(66298);const{toConstantDependency:j}=S(48472);E.exports=class RequireJsStuffPlugin{apply(E){E.hooks.compilation.tap("RequireJsStuffPlugin",((E,{normalModuleFactory:k})=>{E.dependencyTemplates.set(N,new N.Template);const handler=(E,k)=>{if(k.requireJs===undefined||!k.requireJs){return}E.hooks.call.for("require.config").tap("RequireJsStuffPlugin",j(E,"undefined"));E.hooks.call.for("requirejs.config").tap("RequireJsStuffPlugin",j(E,"undefined"));E.hooks.expression.for("require.version").tap("RequireJsStuffPlugin",j(E,JSON.stringify("0.0.0")));E.hooks.expression.for("requirejs.onError").tap("RequireJsStuffPlugin",j(E,w.uncaughtErrorHandler,[w.uncaughtErrorHandler]))};k.hooks.parser.for("javascript/auto").tap("RequireJsStuffPlugin",handler);k.hooks.parser.for("javascript/dynamic").tap("RequireJsStuffPlugin",handler)}))}}},1819:(E,k,S)=>{"use strict";const w=S(2357).ResolverFactory;const{HookMap:N,SyncHook:j,SyncWaterfallHook:q}=S(92960);const{cachedCleverMerge:ee,removeOperations:te,resolveByProperty:ne}=S(90149);const ae={};const convertToResolveOptions=E=>{const{dependencyType:k,plugins:S,...w}=E;const N={...w,plugins:S&&S.filter((E=>E!=="..."))};if(!N.fileSystem){throw new Error("fileSystem is missing in resolveOptions, but it's required for enhanced-resolve")}const j=N;return te(ne(j,"byDependency",k))};E.exports=class ResolverFactory{constructor(){this.hooks=Object.freeze({resolveOptions:new N((()=>new q(["resolveOptions"]))),resolver:new N((()=>new j(["resolver","resolveOptions","userResolveOptions"])))});this.cache=new Map}get(E,k=ae){let S=this.cache.get(E);if(!S){S={direct:new WeakMap,stringified:new Map};this.cache.set(E,S)}const w=S.direct.get(k);if(w){return w}const N=JSON.stringify(k);const j=S.stringified.get(N);if(j){S.direct.set(k,j);return j}const q=this._create(E,k);S.direct.set(k,q);S.stringified.set(N,q);return q}_create(E,k){const S={...k};const N=convertToResolveOptions(this.hooks.resolveOptions.for(E).call(k));const j=w.createResolver(N);if(!j){throw new Error("No resolver created")}const q=new WeakMap;j.withOptions=k=>{const w=q.get(k);if(w!==undefined)return w;const N=ee(S,k);const j=this.get(E,N);q.set(k,j);return j};this.hooks.resolver.for(E).call(j,N,S);return j}}},76150:(E,k)=>{"use strict";k.require="__webpack_require__";k.requireScope="__webpack_require__.*";k.exports="__webpack_exports__";k.thisAsExports="top-level-this-exports";k.returnExportsFromRuntime="return-exports-from-runtime";k.module="module";k.moduleId="module.id";k.moduleLoaded="module.loaded";k.publicPath="__webpack_require__.p";k.entryModuleId="__webpack_require__.s";k.moduleCache="__webpack_require__.c";k.moduleFactories="__webpack_require__.m";k.moduleFactoriesAddOnly="__webpack_require__.m (add only)";k.ensureChunk="__webpack_require__.e";k.ensureChunkHandlers="__webpack_require__.f";k.ensureChunkIncludeEntries="__webpack_require__.f (include entries)";k.prefetchChunk="__webpack_require__.E";k.prefetchChunkHandlers="__webpack_require__.F";k.preloadChunk="__webpack_require__.G";k.preloadChunkHandlers="__webpack_require__.H";k.definePropertyGetters="__webpack_require__.d";k.makeNamespaceObject="__webpack_require__.r";k.createFakeNamespaceObject="__webpack_require__.t";k.compatGetDefaultExport="__webpack_require__.n";k.harmonyModuleDecorator="__webpack_require__.hmd";k.nodeModuleDecorator="__webpack_require__.nmd";k.getFullHash="__webpack_require__.h";k.wasmInstances="__webpack_require__.w";k.instantiateWasm="__webpack_require__.v";k.uncaughtErrorHandler="__webpack_require__.oe";k.scriptNonce="__webpack_require__.nc";k.loadScript="__webpack_require__.l";k.createScriptUrl="__webpack_require__.tu";k.chunkName="__webpack_require__.cn";k.runtimeId="__webpack_require__.j";k.getChunkScriptFilename="__webpack_require__.u";k.getChunkUpdateScriptFilename="__webpack_require__.hu";k.startup="__webpack_require__.x";k.startupNoDefault="__webpack_require__.x (no default handler)";k.startupOnlyAfter="__webpack_require__.x (only after)";k.startupOnlyBefore="__webpack_require__.x (only before)";k.chunkCallback="webpackChunk";k.startupEntrypoint="__webpack_require__.X";k.onChunksLoaded="__webpack_require__.O";k.externalInstallChunk="__webpack_require__.C";k.interceptModuleExecution="__webpack_require__.i";k.global="__webpack_require__.g";k.shareScopeMap="__webpack_require__.S";k.initializeSharing="__webpack_require__.I";k.currentRemoteGetScope="__webpack_require__.R";k.getUpdateManifestFilename="__webpack_require__.hmrF";k.hmrDownloadManifest="__webpack_require__.hmrM";k.hmrDownloadUpdateHandlers="__webpack_require__.hmrC";k.hmrModuleData="__webpack_require__.hmrD";k.hmrInvalidateModuleHandlers="__webpack_require__.hmrI";k.amdDefine="__webpack_require__.amdD";k.amdOptions="__webpack_require__.amdO";k.system="__webpack_require__.System";k.hasOwnProperty="__webpack_require__.o";k.systemContext="__webpack_require__.y";k.baseURI="__webpack_require__.b";k.relativeUrl="__webpack_require__.U";k.asyncModule="__webpack_require__.a"},66804:(E,k,S)=>{"use strict";const{RawSource:w}=S(48135);const N=S(48135).OriginalSource;const j=S(53453);const q=new Set(["runtime"]);class RuntimeModule extends j{constructor(E,k=0){super("runtime");this.name=E;this.stage=k;this.buildMeta={};this.buildInfo={};this.compilation=undefined;this.chunk=undefined;this.chunkGraph=undefined;this.fullHash=false;this._cachedGeneratedCode=undefined}attach(E,k,S=E.chunkGraph){this.compilation=E;this.chunk=k;this.chunkGraph=S}identifier(){return`webpack/runtime/${this.name}`}readableIdentifier(E){return`webpack/runtime/${this.name}`}needBuild(E,k){return k(null,false)}build(E,k,S,w,N){N()}updateHash(E,k){E.update(this.name);E.update(`${this.stage}`);try{if(this.fullHash){E.update(this.generate())}else{E.update(this.getGeneratedCode())}}catch(k){E.update(k.message)}super.updateHash(E,k)}getSourceTypes(){return q}codeGeneration(E){const k=new Map;const S=this.getGeneratedCode();if(S){k.set("runtime",this.useSourceMap||this.useSimpleSourceMap?new N(S,this.identifier()):new w(S))}return{sources:k,runtimeRequirements:null}}size(E){try{const E=this.getGeneratedCode();return E?E.length:0}catch(E){return 0}}generate(){const E=S(75884);throw new E}getGeneratedCode(){if(this._cachedGeneratedCode){return this._cachedGeneratedCode}return this._cachedGeneratedCode=this.generate()}shouldIsolate(){return true}}RuntimeModule.STAGE_NORMAL=0;RuntimeModule.STAGE_BASIC=5;RuntimeModule.STAGE_ATTACH=10;RuntimeModule.STAGE_TRIGGER=20;E.exports=RuntimeModule},89818:(E,k,S)=>{"use strict";const w=S(76150);const N=S(35424);const j=S(18161);const q=S(84997);const ee=S(31164);const te=S(90202);const ne=S(16710);const ae=S(3236);const _e=S(44160);const ve=S(58957);const Ee=S(59179);const we=S(9609);const Ce=S(36100);const Me=S(13376);const Te=S(37522);const Ie=S(67104);const Oe=S(14676);const Re=S(8299);const Fe=S(48977);const Ne=S(21355);const Be=S(41982);const Le=S(76752);const je=S(54825);const $e=S(14146);const ze=[w.chunkName,w.runtimeId,w.compatGetDefaultExport,w.createFakeNamespaceObject,w.createScriptUrl,w.definePropertyGetters,w.ensureChunk,w.entryModuleId,w.getFullHash,w.global,w.makeNamespaceObject,w.moduleCache,w.moduleFactories,w.moduleFactoriesAddOnly,w.interceptModuleExecution,w.publicPath,w.baseURI,w.relativeUrl,w.scriptNonce,w.uncaughtErrorHandler,w.asyncModule,w.wasmInstances,w.instantiateWasm,w.shareScopeMap,w.initializeSharing,w.loadScript,w.systemContext,w.onChunksLoaded];const Ue={[w.moduleLoaded]:[w.module],[w.moduleId]:[w.module]};const Ge={[w.definePropertyGetters]:[w.hasOwnProperty],[w.compatGetDefaultExport]:[w.definePropertyGetters],[w.createFakeNamespaceObject]:[w.definePropertyGetters,w.makeNamespaceObject,w.require],[w.initializeSharing]:[w.shareScopeMap],[w.shareScopeMap]:[w.hasOwnProperty]};class RuntimePlugin{apply(E){E.hooks.compilation.tap("RuntimePlugin",(E=>{E.dependencyTemplates.set(N,new N.Template);for(const k of ze){E.hooks.runtimeRequirementInModule.for(k).tap("RuntimePlugin",((E,k)=>{k.add(w.requireScope)}));E.hooks.runtimeRequirementInTree.for(k).tap("RuntimePlugin",((E,k)=>{k.add(w.requireScope)}))}for(const k of Object.keys(Ge)){const S=Ge[k];E.hooks.runtimeRequirementInTree.for(k).tap("RuntimePlugin",((E,k)=>{for(const E of S)k.add(E)}))}for(const k of Object.keys(Ue)){const S=Ue[k];E.hooks.runtimeRequirementInModule.for(k).tap("RuntimePlugin",((E,k)=>{for(const E of S)k.add(E)}))}E.hooks.runtimeRequirementInTree.for(w.definePropertyGetters).tap("RuntimePlugin",(k=>{E.addRuntimeModule(k,new ve);return true}));E.hooks.runtimeRequirementInTree.for(w.makeNamespaceObject).tap("RuntimePlugin",(k=>{E.addRuntimeModule(k,new Oe);return true}));E.hooks.runtimeRequirementInTree.for(w.createFakeNamespaceObject).tap("RuntimePlugin",(k=>{E.addRuntimeModule(k,new ae);return true}));E.hooks.runtimeRequirementInTree.for(w.hasOwnProperty).tap("RuntimePlugin",(k=>{E.addRuntimeModule(k,new Te);return true}));E.hooks.runtimeRequirementInTree.for(w.compatGetDefaultExport).tap("RuntimePlugin",(k=>{E.addRuntimeModule(k,new te);return true}));E.hooks.runtimeRequirementInTree.for(w.runtimeId).tap("RuntimePlugin",(k=>{E.addRuntimeModule(k,new Be);return true}));E.hooks.runtimeRequirementInTree.for(w.publicPath).tap("RuntimePlugin",((k,S)=>{const{outputOptions:N}=E;const{publicPath:j,scriptType:q}=N;const te=k.getEntryOptions();const ne=te&&te.publicPath!==undefined?te.publicPath:j;if(ne==="auto"){const N=new ee;if(q!=="module")S.add(w.global);E.addRuntimeModule(k,N)}else{const S=new Fe(ne);if(typeof ne!=="string"||/\[(full)?hash\]/.test(ne)){S.fullHash=true}E.addRuntimeModule(k,S)}return true}));E.hooks.runtimeRequirementInTree.for(w.global).tap("RuntimePlugin",(k=>{E.addRuntimeModule(k,new Me);return true}));E.hooks.runtimeRequirementInTree.for(w.asyncModule).tap("RuntimePlugin",(k=>{E.addRuntimeModule(k,new q);return true}));E.hooks.runtimeRequirementInTree.for(w.systemContext).tap("RuntimePlugin",(k=>{if(E.outputOptions.library.type==="system"){E.addRuntimeModule(k,new Le)}return true}));E.hooks.runtimeRequirementInTree.for(w.getChunkScriptFilename).tap("RuntimePlugin",((k,S)=>{if(typeof E.outputOptions.chunkFilename==="string"&&/\[(full)?hash(:\d+)?\]/.test(E.outputOptions.chunkFilename)){S.add(w.getFullHash)}E.addRuntimeModule(k,new we("javascript","javascript",w.getChunkScriptFilename,(k=>k.filenameTemplate||(k.canBeInitial()?E.outputOptions.filename:E.outputOptions.chunkFilename)),false));return true}));E.hooks.runtimeRequirementInTree.for(w.getChunkUpdateScriptFilename).tap("RuntimePlugin",((k,S)=>{if(/\[(full)?hash(:\d+)?\]/.test(E.outputOptions.hotUpdateChunkFilename))S.add(w.getFullHash);E.addRuntimeModule(k,new we("javascript","javascript update",w.getChunkUpdateScriptFilename,(k=>E.outputOptions.hotUpdateChunkFilename),true));return true}));E.hooks.runtimeRequirementInTree.for(w.getUpdateManifestFilename).tap("RuntimePlugin",((k,S)=>{if(/\[(full)?hash(:\d+)?\]/.test(E.outputOptions.hotUpdateMainFilename)){S.add(w.getFullHash)}E.addRuntimeModule(k,new Ce("update manifest",w.getUpdateManifestFilename,E.outputOptions.hotUpdateMainFilename));return true}));E.hooks.runtimeRequirementInTree.for(w.ensureChunk).tap("RuntimePlugin",((k,S)=>{const N=k.hasAsyncChunks();if(N){S.add(w.ensureChunkHandlers)}E.addRuntimeModule(k,new Ee(S));return true}));E.hooks.runtimeRequirementInTree.for(w.ensureChunkIncludeEntries).tap("RuntimePlugin",((E,k)=>{k.add(w.ensureChunkHandlers)}));E.hooks.runtimeRequirementInTree.for(w.shareScopeMap).tap("RuntimePlugin",((k,S)=>{E.addRuntimeModule(k,new je);return true}));E.hooks.runtimeRequirementInTree.for(w.loadScript).tap("RuntimePlugin",((k,S)=>{const N=!!E.outputOptions.trustedTypes;if(N){S.add(w.createScriptUrl)}E.addRuntimeModule(k,new Ie(N));return true}));E.hooks.runtimeRequirementInTree.for(w.createScriptUrl).tap("RuntimePlugin",((k,S)=>{E.addRuntimeModule(k,new _e);return true}));E.hooks.runtimeRequirementInTree.for(w.relativeUrl).tap("RuntimePlugin",((k,S)=>{E.addRuntimeModule(k,new Ne);return true}));E.hooks.runtimeRequirementInTree.for(w.onChunksLoaded).tap("RuntimePlugin",((k,S)=>{E.addRuntimeModule(k,new Re);return true}));E.hooks.additionalTreeRuntimeRequirements.tap("RuntimePlugin",((k,S)=>{const{mainTemplate:w}=E;if(w.hooks.bootstrap.isUsed()||w.hooks.localVars.isUsed()||w.hooks.requireEnsure.isUsed()||w.hooks.requireExtensions.isUsed()){E.addRuntimeModule(k,new ne)}}));j.getCompilationHooks(E).chunkHash.tap("RuntimePlugin",((E,k,{chunkGraph:S})=>{const w=new $e;for(const k of S.getChunkRuntimeModulesIterable(E)){w.add(S.getModuleHash(k,E.runtime))}w.updateHash(k)}))}))}}E.exports=RuntimePlugin},37130:(E,k,S)=>{"use strict";const w=S(63272);const N=S(76150);const j=S(58159);const{equals:q}=S(73910);const ee=S(87274);const te=S(68038);const{forEachRuntime:ne,subtractRuntime:ae}=S(37416);const noModuleIdErrorMessage=(E,k)=>`Module ${E.identifier()} has no id assigned.\nThis should not happen.\nIt's in these chunks: ${Array.from(k.getModuleChunksIterable(E),(E=>E.name||E.id||E.debugId)).join(", ")||"none"} (If module is in no chunk this indicates a bug in some chunk/module optimization logic)\nModule has these incoming connections: ${Array.from(k.moduleGraph.getIncomingConnections(E),(E=>`\n - ${E.originModule&&E.originModule.identifier()} ${E.dependency&&E.dependency.type} ${E.explanations&&Array.from(E.explanations).join(", ")||""}`)).join("")}`;class RuntimeTemplate{constructor(E,k,S){this.compilation=E;this.outputOptions=k||{};this.requestShortener=S}isIIFE(){return this.outputOptions.iife}isModule(){return this.outputOptions.module}supportsConst(){return this.outputOptions.environment.const}supportsArrowFunction(){return this.outputOptions.environment.arrowFunction}supportsForOf(){return this.outputOptions.environment.forOf}supportsDestructuring(){return this.outputOptions.environment.destructuring}supportsBigIntLiteral(){return this.outputOptions.environment.bigIntLiteral}supportsDynamicImport(){return this.outputOptions.environment.dynamicImport}supportsEcmaScriptModuleSyntax(){return this.outputOptions.environment.module}supportTemplateLiteral(){return false}returningFunction(E,k=""){return this.supportsArrowFunction()?`(${k}) => (${E})`:`function(${k}) { return ${E}; }`}basicFunction(E,k){return this.supportsArrowFunction()?`(${E}) => {\n${j.indent(k)}\n}`:`function(${E}) {\n${j.indent(k)}\n}`}expressionFunction(E,k=""){return this.supportsArrowFunction()?`(${k}) => (${E})`:`function(${k}) { ${E}; }`}emptyFunction(){return this.supportsArrowFunction()?"x => {}":"function() {}"}destructureArray(E,k){return this.supportsDestructuring()?`var [${E.join(", ")}] = ${k};`:j.asString(E.map(((E,S)=>`var ${E} = ${k}[${S}];`)))}destructureObject(E,k){return this.supportsDestructuring()?`var {${E.join(", ")}} = ${k};`:j.asString(E.map((E=>`var ${E} = ${k}${te([E])};`)))}iife(E,k){return`(${this.basicFunction(E,k)})()`}forEach(E,k,S){return this.supportsForOf()?`for(const ${E} of ${k}) {\n${j.indent(S)}\n}`:`${k}.forEach(function(${E}) {\n${j.indent(S)}\n});`}comment({request:E,chunkName:k,chunkReason:S,message:w,exportName:N}){let q;if(this.outputOptions.pathinfo){q=[w,E,k,S].filter(Boolean).map((E=>this.requestShortener.shorten(E))).join(" | ")}else{q=[w,k,S].filter(Boolean).map((E=>this.requestShortener.shorten(E))).join(" | ")}if(!q)return"";if(this.outputOptions.pathinfo){return j.toComment(q)+" "}else{return j.toNormalComment(q)+" "}}throwMissingModuleErrorBlock({request:E}){const k=`Cannot find module '${E}'`;return`var e = new Error(${JSON.stringify(k)}); e.code = 'MODULE_NOT_FOUND'; throw e;`}throwMissingModuleErrorFunction({request:E}){return`function webpackMissingModule() { ${this.throwMissingModuleErrorBlock({request:E})} }`}missingModule({request:E}){return`Object(${this.throwMissingModuleErrorFunction({request:E})}())`}missingModuleStatement({request:E}){return`${this.missingModule({request:E})};\n`}missingModulePromise({request:E}){return`Promise.resolve().then(${this.throwMissingModuleErrorFunction({request:E})})`}weakError({module:E,chunkGraph:k,request:S,idExpr:w,type:N}){const q=k.getModuleId(E);const ee=q===null?JSON.stringify("Module is not available (weak dependency)"):w?`"Module '" + ${w} + "' is not available (weak dependency)"`:JSON.stringify(`Module '${q}' is not available (weak dependency)`);const te=S?j.toNormalComment(S)+" ":"";const ne=`var e = new Error(${ee}); `+te+"e.code = 'MODULE_NOT_FOUND'; throw e;";switch(N){case"statements":return ne;case"promise":return`Promise.resolve().then(${this.basicFunction("",ne)})`;case"expression":return this.iife("",ne)}}moduleId({module:E,chunkGraph:k,request:S,weak:w}){if(!E){return this.missingModule({request:S})}const N=k.getModuleId(E);if(N===null){if(w){return"null /* weak dependency, without id */"}throw new Error(`RuntimeTemplate.moduleId(): ${noModuleIdErrorMessage(E,k)}`)}return`${this.comment({request:S})}${JSON.stringify(N)}`}moduleRaw({module:E,chunkGraph:k,request:S,weak:w,runtimeRequirements:j}){if(!E){return this.missingModule({request:S})}const q=k.getModuleId(E);if(q===null){if(w){return this.weakError({module:E,chunkGraph:k,request:S,type:"expression"})}throw new Error(`RuntimeTemplate.moduleId(): ${noModuleIdErrorMessage(E,k)}`)}j.add(N.require);return`__webpack_require__(${this.moduleId({module:E,chunkGraph:k,request:S,weak:w})})`}moduleExports({module:E,chunkGraph:k,request:S,weak:w,runtimeRequirements:N}){return this.moduleRaw({module:E,chunkGraph:k,request:S,weak:w,runtimeRequirements:N})}moduleNamespace({module:E,chunkGraph:k,request:S,strict:w,weak:j,runtimeRequirements:q}){if(!E){return this.missingModule({request:S})}if(k.getModuleId(E)===null){if(j){return this.weakError({module:E,chunkGraph:k,request:S,type:"expression"})}throw new Error(`RuntimeTemplate.moduleNamespace(): ${noModuleIdErrorMessage(E,k)}`)}const ee=this.moduleId({module:E,chunkGraph:k,request:S,weak:j});const te=E.getExportsType(k.moduleGraph,w);switch(te){case"namespace":return this.moduleRaw({module:E,chunkGraph:k,request:S,weak:j,runtimeRequirements:q});case"default-with-named":q.add(N.createFakeNamespaceObject);return`${N.createFakeNamespaceObject}(${ee}, 3)`;case"default-only":q.add(N.createFakeNamespaceObject);return`${N.createFakeNamespaceObject}(${ee}, 1)`;case"dynamic":q.add(N.createFakeNamespaceObject);return`${N.createFakeNamespaceObject}(${ee}, 7)`}}moduleNamespacePromise({chunkGraph:E,block:k,module:S,request:w,message:j,strict:q,weak:ee,runtimeRequirements:te}){if(!S){return this.missingModulePromise({request:w})}const ne=E.getModuleId(S);if(ne===null){if(ee){return this.weakError({module:S,chunkGraph:E,request:w,type:"promise"})}throw new Error(`RuntimeTemplate.moduleNamespacePromise(): ${noModuleIdErrorMessage(S,E)}`)}const ae=this.blockPromise({chunkGraph:E,block:k,message:j,runtimeRequirements:te});let _e;let ve=JSON.stringify(E.getModuleId(S));const Ee=this.comment({request:w});let we="";if(ee){if(ve.length>8){we+=`var id = ${ve}; `;ve="id"}te.add(N.moduleFactories);we+=`if(!${N.moduleFactories}[${ve}]) { ${this.weakError({module:S,chunkGraph:E,request:w,idExpr:ve,type:"statements"})} } `}const Ce=this.moduleId({module:S,chunkGraph:E,request:w,weak:ee});const Me=S.getExportsType(E.moduleGraph,q);let Te=16;switch(Me){case"namespace":if(we){const k=this.moduleRaw({module:S,chunkGraph:E,request:w,weak:ee,runtimeRequirements:te});_e=`.then(${this.basicFunction("",`${we}return ${k};`)})`}else{te.add(N.require);_e=`.then(__webpack_require__.bind(__webpack_require__, ${Ee}${ve}))`}break;case"dynamic":Te|=4;case"default-with-named":Te|=2;case"default-only":te.add(N.createFakeNamespaceObject);if(E.moduleGraph.isAsync(S)){if(we){const k=this.moduleRaw({module:S,chunkGraph:E,request:w,weak:ee,runtimeRequirements:te});_e=`.then(${this.basicFunction("",`${we}return ${k};`)})`}else{te.add(N.require);_e=`.then(__webpack_require__.bind(__webpack_require__, ${Ee}${ve}))`}_e+=`.then(${this.returningFunction(`${N.createFakeNamespaceObject}(m, ${Te})`,"m")})`}else{Te|=1;if(we){const E=`${N.createFakeNamespaceObject}(${Ce}, ${Te})`;_e=`.then(${this.basicFunction("",`${we}return ${E};`)})`}else{_e=`.then(${N.createFakeNamespaceObject}.bind(__webpack_require__, ${Ee}${ve}, ${Te}))`}}break}return`${ae||"Promise.resolve()"}${_e}`}runtimeConditionExpression({chunkGraph:E,runtimeCondition:k,runtime:S,runtimeRequirements:w}){if(k===undefined)return"true";if(typeof k==="boolean")return`${k}`;const j=new Set;ne(k,(k=>j.add(`${E.getRuntimeId(k)}`)));const q=new Set;ne(ae(S,k),(k=>q.add(`${E.getRuntimeId(k)}`)));w.add(N.runtimeId);return ee.fromLists(Array.from(j),Array.from(q))(N.runtimeId)}importStatement({update:E,module:k,chunkGraph:S,request:w,importVar:j,originModule:q,weak:ee,runtimeRequirements:te}){if(!k){return[this.missingModuleStatement({request:w}),""]}if(S.getModuleId(k)===null){if(ee){return[this.weakError({module:k,chunkGraph:S,request:w,type:"statements"}),""]}throw new Error(`RuntimeTemplate.importStatement(): ${noModuleIdErrorMessage(k,S)}`)}const ne=this.moduleId({module:k,chunkGraph:S,request:w,weak:ee});const ae=E?"":"var ";const _e=k.getExportsType(S.moduleGraph,q.buildMeta.strictHarmonyModule);te.add(N.require);const ve=`/* harmony import */ ${ae}${j} = __webpack_require__(${ne});\n`;if(_e==="dynamic"){te.add(N.compatGetDefaultExport);return[ve,`/* harmony import */ ${ae}${j}_default = /*#__PURE__*/${N.compatGetDefaultExport}(${j});\n`]}return[ve,""]}exportFromImport({moduleGraph:E,module:k,request:S,exportName:ee,originModule:ne,asiSafe:ae,isCall:_e,callContext:ve,defaultInterop:Ee,importVar:we,initFragments:Ce,runtime:Me,runtimeRequirements:Te}){if(!k){return this.missingModule({request:S})}if(!Array.isArray(ee)){ee=ee?[ee]:[]}const Ie=k.getExportsType(E,ne.buildMeta.strictHarmonyModule);if(Ee){if(ee.length>0&&ee[0]==="default"){switch(Ie){case"dynamic":if(_e){return`${we}_default()${te(ee,1)}`}else{return ae?`(${we}_default()${te(ee,1)})`:ae===false?`;(${we}_default()${te(ee,1)})`:`${we}_default.a${te(ee,1)}`}case"default-only":case"default-with-named":ee=ee.slice(1);break}}else if(ee.length>0){if(Ie==="default-only"){return"/* non-default import from non-esm module */undefined"+te(ee,1)}else if(Ie!=="namespace"&&ee[0]==="__esModule"){return"/* __esModule */true"}}else if(Ie==="default-only"||Ie==="default-with-named"){Te.add(N.createFakeNamespaceObject);Ce.push(new w(`var ${we}_namespace_cache;\n`,w.STAGE_CONSTANTS,-1,`${we}_namespace_cache`));return`/*#__PURE__*/ ${ae?"":ae===false?";":"Object"}(${we}_namespace_cache || (${we}_namespace_cache = ${N.createFakeNamespaceObject}(${we}${Ie==="default-only"?"":", 2"})))`}}if(ee.length>0){const S=E.getExportsInfo(k);const w=S.getUsedName(ee,Me);if(!w){const E=j.toNormalComment(`unused export ${te(ee)}`);return`${E} undefined`}const N=q(w,ee)?"":j.toNormalComment(te(ee))+" ";const ne=`${we}${N}${te(w)}`;if(_e&&ve===false){return ae?`(0,${ne})`:ae===false?`;(0,${ne})`:`Object(${ne})`}return ne}else{return we}}blockPromise({block:E,message:k,chunkGraph:S,runtimeRequirements:w}){if(!E){const E=this.comment({message:k});return`Promise.resolve(${E.trim()})`}const j=S.getBlockChunkGroup(E);if(!j||j.chunks.length===0){const E=this.comment({message:k});return`Promise.resolve(${E.trim()})`}const q=j.chunks.filter((E=>!E.hasRuntime()&&E.id!==null));const ee=this.comment({message:k,chunkName:E.chunkName});if(q.length===1){const E=JSON.stringify(q[0].id);w.add(N.ensureChunk);return`${N.ensureChunk}(${ee}${E})`}else if(q.length>0){w.add(N.ensureChunk);const requireChunkId=E=>`${N.ensureChunk}(${JSON.stringify(E.id)})`;return`Promise.all(${ee.trim()}[${q.map(requireChunkId).join(", ")}])`}else{return`Promise.resolve(${ee.trim()})`}}asyncModuleFactory({block:E,chunkGraph:k,runtimeRequirements:S,request:w}){const N=E.dependencies[0];const j=k.moduleGraph.getModule(N);const q=this.blockPromise({block:E,message:"",chunkGraph:k,runtimeRequirements:S});const ee=this.returningFunction(this.moduleRaw({module:j,chunkGraph:k,request:w,runtimeRequirements:S}));return this.returningFunction(q.startsWith("Promise.resolve(")?`${ee}`:`${q}.then(${this.returningFunction(ee)})`)}syncModuleFactory({dependency:E,chunkGraph:k,runtimeRequirements:S,request:w}){const N=k.moduleGraph.getModule(E);const j=this.returningFunction(this.moduleRaw({module:N,chunkGraph:k,request:w,runtimeRequirements:S}));return this.returningFunction(j)}defineEsModuleFlagStatement({exportsArgument:E,runtimeRequirements:k}){k.add(N.makeNamespaceObject);k.add(N.exports);return`${N.makeNamespaceObject}(${E});\n`}}E.exports=RuntimeTemplate},31141:E=>{"use strict";class SelfModuleFactory{constructor(E){this.moduleGraph=E}create(E,k){const S=this.moduleGraph.getParentModule(E.dependencies[0]);k(null,{module:S})}}E.exports=SelfModuleFactory},9192:(E,k)=>{"use strict";k.formatSize=E=>{if(typeof E!=="number"||Number.isNaN(E)===true){return"unknown size"}if(E<=0){return"0 bytes"}const k=["bytes","KiB","MiB","GiB"];const S=Math.floor(Math.log(E)/Math.log(1024));return`${+(E/Math.pow(1024,S)).toPrecision(3)} ${k[S]}`}},26867:(E,k,S)=>{"use strict";const w=S(18161);class SourceMapDevToolModuleOptionsPlugin{constructor(E){this.options=E}apply(E){const k=this.options;if(k.module!==false){E.hooks.buildModule.tap("SourceMapDevToolModuleOptionsPlugin",(E=>{E.useSourceMap=true}));E.hooks.runtimeModule.tap("SourceMapDevToolModuleOptionsPlugin",(E=>{E.useSourceMap=true}))}else{E.hooks.buildModule.tap("SourceMapDevToolModuleOptionsPlugin",(E=>{E.useSimpleSourceMap=true}));E.hooks.runtimeModule.tap("SourceMapDevToolModuleOptionsPlugin",(E=>{E.useSimpleSourceMap=true}))}w.getCompilationHooks(E).useSourceMap.tap("SourceMapDevToolModuleOptionsPlugin",(()=>true))}}E.exports=SourceMapDevToolModuleOptionsPlugin},2e4:(E,k,S)=>{"use strict";const w=S(62355);const{ConcatSource:N,RawSource:j}=S(48135);const q=S(3080);const ee=S(70354);const te=S(52923);const ne=S(26867);const ae=S(35817);const _e=S(35891);const{relative:ve,dirname:Ee}=S(95396);const{absolutify:we}=S(49197);const Ce=ae(S(68337),(()=>S(82037)),{name:"SourceMap DevTool Plugin",baseDataPath:"options"});const quoteMeta=E=>E.replace(/[-[\]\\/{}()*+?.^$|]/g,"\\$&");const getTaskForFile=(E,k,S,w,N,j)=>{let q;let ee;if(k.sourceAndMap){const E=k.sourceAndMap(w);ee=E.map;q=E.source}else{ee=k.map(w);q=k.source()}if(!ee||typeof q!=="string")return;const te=N.options.context;const ne=N.compiler.root;const ae=we.bindContextCache(te,ne);const _e=ee.sources.map((E=>{if(!E.startsWith("webpack://"))return E;E=ae(E.slice(10));const k=N.findModule(E);return k||E}));return{file:E,asset:k,source:q,assetInfo:S,sourceMap:ee,modules:_e,cacheItem:j}};class SourceMapDevToolPlugin{constructor(E={}){Ce(E);this.sourceMapFilename=E.filename;this.sourceMappingURLComment=E.append===false?false:E.append||"\n//# source"+"MappingURL=[url]";this.moduleFilenameTemplate=E.moduleFilenameTemplate||"webpack://[namespace]/[resourcePath]";this.fallbackModuleFilenameTemplate=E.fallbackModuleFilenameTemplate||"webpack://[namespace]/[resourcePath]?[hash]";this.namespace=E.namespace||"";this.options=E}apply(E){const k=E.outputFileSystem;const S=this.sourceMapFilename;const ae=this.sourceMappingURLComment;const we=this.moduleFilenameTemplate;const Ce=this.namespace;const Me=this.fallbackModuleFilenameTemplate;const Te=E.requestShortener;const Ie=this.options;Ie.test=Ie.test||/\.(m?js|css)($|\?)/i;const Oe=ee.matchObject.bind(undefined,Ie);E.hooks.compilation.tap("SourceMapDevToolPlugin",(E=>{new ne(Ie).apply(E);E.hooks.processAssets.tapAsync({name:"SourceMapDevToolPlugin",stage:q.PROCESS_ASSETS_STAGE_DEV_TOOLING,additionalAssets:true},((q,ne)=>{const Re=E.chunkGraph;const Fe=E.getCache("SourceMapDevToolPlugin");const Ne=new Map;const Be=te.getReporter(E.compiler)||(()=>{});const Le=new Map;for(const k of E.chunks){for(const E of k.files){Le.set(E,k)}for(const E of k.auxiliaryFiles){Le.set(E,k)}}const je=[];for(const E of Object.keys(q)){if(Oe(E)){je.push(E)}}Be(0);const $e=[];let ze=0;w.each(je,((k,S)=>{const w=E.getAsset(k);if(w.info.related&&w.info.related.sourceMap){ze++;return S()}const N=Fe.getItemCache(k,Fe.mergeEtags(Fe.getLazyHashedEtag(w.source),Ce));N.get(((j,q)=>{if(j){return S(j)}if(q){const{assets:w,assetsInfo:N}=q;for(const S of Object.keys(w)){if(S===k){E.updateAsset(S,w[S],N[S])}else{E.emitAsset(S,w[S],N[S])}if(S!==k){const E=Le.get(k);if(E!==undefined)E.auxiliaryFiles.add(S)}}Be(.5*++ze/je.length,k,"restored cached SourceMap");return S()}Be(.5*ze/je.length,k,"generate SourceMap");const te=getTaskForFile(k,w.source,w.info,{module:Ie.module,columns:Ie.columns},E,N);if(te){const E=te.modules;for(let k=0;k{if(q){return ne(q)}Be(.5,"resolve sources");const te=new Set(Ne.values());const we=new Set;const Oe=Array.from(Ne.keys()).sort(((E,k)=>{const S=typeof E==="string"?E:E.identifier();const w=typeof k==="string"?k:k.identifier();return S.length-w.length}));for(let E=0;E{const ee=Object.create(null);const te=Object.create(null);const ne=w.file;const we=Le.get(ne);const Ce=w.sourceMap;const Me=w.source;const Te=w.modules;Be(.5+.5*Fe/$e.length,ne,"attach SourceMap");const Oe=Te.map((E=>Ne.get(E)));Ce.sources=Oe;if(Ie.noSources){Ce.sourcesContent=undefined}Ce.sourceRoot=Ie.sourceRoot||"";Ce.file=ne;const Re=S&&/\[contenthash(:\w+)?\]/.test(S);if(Re&&w.assetInfo.contenthash){const E=w.assetInfo.contenthash;let k;if(Array.isArray(E)){k=E.map(quoteMeta).join("|")}else{k=quoteMeta(E)}Ce.file=Ce.file.replace(new RegExp(k,"g"),(E=>"x".repeat(E.length)))}let je=ae;if(je!==false&&/\.css($|\?)/i.test(ne)){je=je.replace(/^\n\/\/(.*)$/,"\n/*$1*/")}const ze=JSON.stringify(Ce);if(S){let w=ne;const q=Re&&_e("md4").update(ze).digest("hex");const ae={chunk:we,filename:Ie.fileContext?ve(k,`/${Ie.fileContext}`,`/${w}`):w,contentHash:q};const{path:Ce,info:Te}=E.getPathWithInfo(S,ae);const Oe=Ie.publicPath?Ie.publicPath+Ce:ve(k,Ee(k,`/${ne}`),`/${Ce}`);let Fe=new j(Me);if(je!==false){Fe=new N(Fe,E.getPath(je,Object.assign({url:Oe},ae)))}const Ne={related:{sourceMap:Ce}};ee[ne]=Fe;te[ne]=Ne;E.updateAsset(ne,Fe,Ne);const Be=new j(ze);const Le={...Te,development:true};ee[Ce]=Be;te[Ce]=Le;E.emitAsset(Ce,Be,Le);if(we!==undefined)we.auxiliaryFiles.add(Ce)}else{if(je===false){throw new Error("SourceMapDevToolPlugin: append can't be false when no filename is provided")}const k=new N(new j(Me),je.replace(/\[map\]/g,(()=>ze)).replace(/\[url\]/g,(()=>`data:application/json;charset=utf-8;base64,${Buffer.from(ze,"utf-8").toString("base64")}`)));ee[ne]=k;te[ne]=undefined;E.updateAsset(ne,k)}w.cacheItem.store({assets:ee,assetsInfo:te},(E=>{Be(.5+.5*++Fe/$e.length,w.file,"attached SourceMap");if(E){return q(E)}q()}))}),(E=>{Be(1);ne(E)}))}))}))}))}}E.exports=SourceMapDevToolPlugin},10140:E=>{"use strict";class Stats{constructor(E){this.compilation=E}get hash(){return this.compilation.hash}get startTime(){return this.compilation.startTime}get endTime(){return this.compilation.endTime}hasWarnings(){return this.compilation.warnings.length>0||this.compilation.children.some((E=>E.getStats().hasWarnings()))}hasErrors(){return this.compilation.errors.length>0||this.compilation.children.some((E=>E.getStats().hasErrors()))}toJson(E){E=this.compilation.createStatsOptions(E,{forToString:false});const k=this.compilation.createStatsFactory(E);return k.create("compilation",this.compilation,{compilation:this.compilation})}toString(E){E=this.compilation.createStatsOptions(E,{forToString:true});const k=this.compilation.createStatsFactory(E);const S=this.compilation.createStatsPrinter(E);const w=k.create("compilation",this.compilation,{compilation:this.compilation});const N=S.print("compilation",w);return N===undefined?"":N}}E.exports=Stats},58159:(E,k,S)=>{"use strict";const{ConcatSource:w,PrefixSource:N}=S(48135);const j="a".charCodeAt(0);const q="A".charCodeAt(0);const ee="z".charCodeAt(0)-j+1;const te=ee*2+2;const ne=te+10;const ae=/^function\s?\(\)\s?\{\r?\n?|\r?\n?\}$/g;const _e=/^\t/gm;const ve=/\r?\n/g;const Ee=/^([^a-zA-Z$_])/;const we=/[^a-zA-Z0-9$]+/g;const Ce=/\*\//g;const Me=/[^a-zA-Z0-9_!§$()=\-^°]+/g;const Te=/^-|-$/g;class Template{static getFunctionContent(E){return E.toString().replace(ae,"").replace(_e,"").replace(ve,"\n")}static toIdentifier(E){if(typeof E!=="string")return"";return E.replace(Ee,"_$1").replace(we,"_")}static toComment(E){if(!E)return"";return`/*! ${E.replace(Ce,"* /")} */`}static toNormalComment(E){if(!E)return"";return`/* ${E.replace(Ce,"* /")} */`}static toPath(E){if(typeof E!=="string")return"";return E.replace(Me,"-").replace(Te,"")}static numberToIdentifier(E){if(E>=te){return Template.numberToIdentifier(E%te)+Template.numberToIdentifierContinuation(Math.floor(E/te))}if(E=ne){return Template.numberToIdentifierContinuation(E%ne)+Template.numberToIdentifierContinuation(Math.floor(E/ne))}if(EE)S=E}if(S<16+(""+S).length){S=0}let w=-1;for(const k of E){w+=`${k.id}`.length+2}const N=S===0?k:16+`${S}`.length+k;return N({id:j.getModuleId(E),source:S(E)||"false"})));const te=Template.getModulesArrayBounds(ee);if(te){const E=te[0];const k=te[1];if(E!==0){q.add(`Array(${E}).concat(`)}q.add("[\n");const S=new Map;for(const E of ee){S.set(E.id,E)}for(let w=E;w<=k;w++){const k=S.get(w);if(w!==E){q.add(",\n")}q.add(`/* ${w} */`);if(k){q.add("\n");q.add(k.source)}}q.add("\n"+N+"]");if(E!==0){q.add(")")}}else{q.add("{\n");for(let E=0;E {\n");if(k.useStrict)S.add('\t"use strict";\n');S.add(new N("\t",j));S.add("\n})();\n\n")}else{S.add("!function() {\n");if(k.useStrict)S.add('\t"use strict";\n');S.add(new N("\t",j));S.add("\n}();\n\n")}}}return S}static renderChunkRuntimeModules(E,k){return new N("/******/ ",new w("function(__webpack_require__) { // webpackRuntimeModules\n",'"use strict";\n\n',this.renderRuntimeModules(E,k),"}\n"))}}E.exports=Template;E.exports.NUMBER_OF_IDENTIFIER_START_CHARS=te;E.exports.NUMBER_OF_IDENTIFIER_CONTINUATION_CHARS=ne},30337:(E,k,S)=>{"use strict";const{basename:w,extname:N}=S(85622);const j=S(31669);const q=S(62433);const ee=S(53453);const{parseResource:te}=S(49197);const ne=/\[\\*([\w:]+)\\*\]/gi;const prepareId=E=>{if(typeof E!=="string")return E;if(/^"\s\+*.*\+\s*"$/.test(E)){const k=/^"\s\+*\s*(.*)\s*\+\s*"$/.exec(E);return`" + (${k[1]} + "").replace(/(^[.-]|[^a-zA-Z0-9_-])+/g, "_") + "`}return E.replace(/(^[.-]|[^a-zA-Z0-9_-])+/g,"_")};const hashLength=(E,k,S,w)=>{const fn=(N,j,q)=>{let ee;const te=j&&parseInt(j,10);if(te&&k){ee=k(te)}else{const k=E(N,j,q);ee=te?k.slice(0,te):k}if(S){S.immutable=true;if(Array.isArray(S[w])){S[w]=[...S[w],ee]}else if(S[w]){S[w]=[S[w],ee]}else{S[w]=ee}}return ee};return fn};const replacer=(E,k)=>{const fn=(S,w,N)=>{if(typeof E==="function"){E=E()}if(E===null||E===undefined){if(!k){throw new Error(`Path variable ${S} not implemented in this context: ${N}`)}return""}else{return`${E}`}};return fn};const ae=new Map;const _e=(()=>()=>{})();const deprecated=(E,k,S)=>{let w=ae.get(k);if(w===undefined){w=j.deprecate(_e,k,S);ae.set(k,w)}return(...k)=>{w();return E(...k)}};const replacePathVariables=(E,k,S)=>{const j=k.chunkGraph;const ae=new Map;if(typeof k.filename==="string"){const{path:E,query:S,fragment:j}=te(k.filename);const q=N(E);const ee=w(E);const ne=ee.slice(0,ee.length-q.length);const _e=E.slice(0,E.length-ee.length);ae.set("file",replacer(E));ae.set("query",replacer(S,true));ae.set("fragment",replacer(j,true));ae.set("path",replacer(_e,true));ae.set("base",replacer(ee));ae.set("name",replacer(ne));ae.set("ext",replacer(q,true));ae.set("filebase",deprecated(replacer(ee),"[filebase] is now [base]","DEP_WEBPACK_TEMPLATE_PATH_PLUGIN_REPLACE_PATH_VARIABLES_FILENAME"))}if(k.hash){const E=hashLength(replacer(k.hash),k.hashWithLength,S,"fullhash");ae.set("fullhash",E);ae.set("hash",deprecated(E,"[hash] is now [fullhash] (also consider using [chunkhash] or [contenthash], see documentation for details)","DEP_WEBPACK_TEMPLATE_PATH_PLUGIN_REPLACE_PATH_VARIABLES_HASH"))}if(k.chunk){const E=k.chunk;const w=k.contentHashType;const N=replacer(E.id);const j=replacer(E.name||E.id);const ee=hashLength(replacer(E instanceof q?E.renderedHash:E.hash),"hashWithLength"in E?E.hashWithLength:undefined,S,"chunkhash");const te=hashLength(replacer(k.contentHash||w&&E.contentHash&&E.contentHash[w]),k.contentHashWithLength||("contentHashWithLength"in E&&E.contentHashWithLength?E.contentHashWithLength[w]:undefined),S,"contenthash");ae.set("id",N);ae.set("name",j);ae.set("chunkhash",ee);ae.set("contenthash",te)}if(k.module){const E=k.module;const w=replacer((()=>prepareId(E instanceof ee?j.getModuleId(E):E.id)));const N=hashLength(replacer((()=>E instanceof ee?j.getRenderedModuleHash(E,k.runtime):E.hash)),"hashWithLength"in E?E.hashWithLength:undefined,S,"modulehash");const q=hashLength(replacer(k.contentHash),undefined,S,"contenthash");ae.set("id",w);ae.set("modulehash",N);ae.set("contenthash",q);ae.set("hash",k.contentHash?q:N);ae.set("moduleid",deprecated(w,"[moduleid] is now [id]","DEP_WEBPACK_TEMPLATE_PATH_PLUGIN_REPLACE_PATH_VARIABLES_MODULE_ID"))}if(k.url){ae.set("url",replacer(k.url))}if(typeof k.runtime==="string"){ae.set("runtime",replacer((()=>prepareId(k.runtime))))}else{ae.set("runtime",replacer("_"))}if(typeof E==="function"){E=E(k,S)}E=E.replace(ne,((k,S)=>{if(S.length+2===k.length){const w=/^(\w+)(?::(\w+))?$/.exec(S);if(!w)return k;const[,N,j]=w;const q=ae.get(N);if(q!==undefined){return q(k,j,E)}}else if(k.startsWith("[\\")&&k.endsWith("\\]")){return`[${k.slice(2,-2)}]`}return k}));return E};const ve="TemplatedPathPlugin";class TemplatedPathPlugin{apply(E){E.hooks.compilation.tap(ve,(E=>{E.hooks.assetPath.tap(ve,replacePathVariables)}))}}E.exports=TemplatedPathPlugin},77090:(E,k,S)=>{"use strict";const w=S(81627);const N=S(56202);class UnhandledSchemeError extends w{constructor(E,k){super(`Reading from "${k}" is not handled by plugins (Unhandled scheme).`+'\nWebpack supports "data:" and "file:" URIs by default.'+`\nYou may need an additional plugin to handle "${E}:" URIs.`);this.file=k;this.name="UnhandledSchemeError"}}N(UnhandledSchemeError,"webpack/lib/UnhandledSchemeError","UnhandledSchemeError");E.exports=UnhandledSchemeError},53558:(E,k,S)=>{"use strict";const w=S(81627);const N=S(56202);class UnsupportedFeatureWarning extends w{constructor(E,k){super(E);this.name="UnsupportedFeatureWarning";this.loc=k;this.hideStack=true}}N(UnsupportedFeatureWarning,"webpack/lib/UnsupportedFeatureWarning");E.exports=UnsupportedFeatureWarning},79050:(E,k,S)=>{"use strict";const w=S(66298);class UseStrictPlugin{apply(E){E.hooks.compilation.tap("UseStrictPlugin",((E,{normalModuleFactory:k})=>{const handler=E=>{E.hooks.program.tap("UseStrictPlugin",(k=>{const S=k.body[0];if(S&&S.type==="ExpressionStatement"&&S.expression.type==="Literal"&&S.expression.value==="use strict"){const k=new w("",S.range);k.loc=S.loc;E.state.module.addPresentationalDependency(k);E.state.module.buildInfo.strict=true}}))};k.hooks.parser.for("javascript/auto").tap("UseStrictPlugin",handler);k.hooks.parser.for("javascript/dynamic").tap("UseStrictPlugin",handler);k.hooks.parser.for("javascript/esm").tap("UseStrictPlugin",handler)}))}}E.exports=UseStrictPlugin},12510:(E,k,S)=>{"use strict";const w=S(41673);class WarnCaseSensitiveModulesPlugin{apply(E){E.hooks.compilation.tap("WarnCaseSensitiveModulesPlugin",(E=>{E.hooks.seal.tap("WarnCaseSensitiveModulesPlugin",(()=>{const k=new Map;for(const S of E.modules){const E=S.identifier();const w=E.toLowerCase();let N=k.get(w);if(N===undefined){N=new Map;k.set(w,N)}N.set(E,S)}for(const S of k){const k=S[1];if(k.size>1){E.warnings.push(new w(k.values(),E.moduleGraph))}}}))}))}}E.exports=WarnCaseSensitiveModulesPlugin},3571:(E,k,S)=>{"use strict";const w=S(81627);class WarnDeprecatedOptionPlugin{constructor(E,k,S){this.option=E;this.value=k;this.suggestion=S}apply(E){E.hooks.thisCompilation.tap("WarnDeprecatedOptionPlugin",(E=>{E.warnings.push(new DeprecatedOptionWarning(this.option,this.value,this.suggestion))}))}}class DeprecatedOptionWarning extends w{constructor(E,k,S){super();this.name="DeprecatedOptionWarning";this.message="configuration\n"+`The value '${k}' for option '${E}' is deprecated. `+`Use '${S}' instead.`}}E.exports=WarnDeprecatedOptionPlugin},67586:(E,k,S)=>{"use strict";const w=S(24500);class WarnNoModeSetPlugin{apply(E){E.hooks.thisCompilation.tap("WarnNoModeSetPlugin",(E=>{E.warnings.push(new w)}))}}E.exports=WarnNoModeSetPlugin},91265:(E,k,S)=>{"use strict";const w=S(35817);const N=w(S(12798),(()=>S(82997)),{name:"Watch Ignore Plugin",baseDataPath:"options"});const j="ignore";class IgnoringWatchFileSystem{constructor(E,k){this.wfs=E;this.paths=k}watch(E,k,S,w,N,q,ee){E=Array.from(E);k=Array.from(k);const ignored=E=>this.paths.some((k=>k instanceof RegExp?k.test(E):E.indexOf(k)===0));const notIgnored=E=>!ignored(E);const te=E.filter(ignored);const ne=k.filter(ignored);const ae=this.wfs.watch(E.filter(notIgnored),k.filter(notIgnored),S,w,N,((E,k,S,w,N)=>{if(E)return q(E);for(const E of te){k.set(E,j)}for(const E of ne){S.set(E,j)}q(E,k,S,w,N)}),ee);return{close:()=>ae.close(),pause:()=>ae.pause(),getContextTimeInfoEntries:()=>{const E=ae.getContextTimeInfoEntries();for(const k of ne){E.set(k,j)}return E},getFileTimeInfoEntries:()=>{const E=ae.getFileTimeInfoEntries();for(const k of te){E.set(k,j)}return E}}}}class WatchIgnorePlugin{constructor(E){N(E);this.paths=E.paths}apply(E){E.hooks.afterEnvironment.tap("WatchIgnorePlugin",(()=>{E.watchFileSystem=new IgnoringWatchFileSystem(E.watchFileSystem,this.paths)}))}}E.exports=WatchIgnorePlugin},84693:(E,k,S)=>{"use strict";const w=S(10140);class Watching{constructor(E,k,S){this.startTime=null;this.invalid=false;this.handler=S;this.callbacks=[];this._closeCallbacks=undefined;this.closed=false;this.suspended=false;this.blocked=false;this._isBlocked=()=>false;this._onChange=()=>{};this._onInvalid=()=>{};if(typeof k==="number"){this.watchOptions={aggregateTimeout:k}}else if(k&&typeof k==="object"){this.watchOptions={...k}}else{this.watchOptions={}}if(typeof this.watchOptions.aggregateTimeout!=="number"){this.watchOptions.aggregateTimeout=200}this.compiler=E;this.running=false;this._initial=true;this._invalidReported=true;this._needRecords=true;this.watcher=undefined;this.pausedWatcher=undefined;this._collectedChangedFiles=undefined;this._collectedRemovedFiles=undefined;this._done=this._done.bind(this);process.nextTick((()=>{if(this._initial)this._invalidate()}))}_mergeWithCollected(E,k){if(!E)return;if(!this._collectedChangedFiles){this._collectedChangedFiles=new Set(E);this._collectedRemovedFiles=new Set(k)}else{for(const k of E){this._collectedChangedFiles.add(k);this._collectedRemovedFiles.delete(k)}for(const E of k){this._collectedChangedFiles.delete(E);this._collectedRemovedFiles.add(E)}}}_go(E,k,S,N){this._initial=false;if(this.startTime===null)this.startTime=Date.now();this.running=true;if(this.watcher){this.pausedWatcher=this.watcher;this.lastWatcherStartTime=Date.now();this.watcher.pause();this.watcher=null}else if(!this.lastWatcherStartTime){this.lastWatcherStartTime=Date.now()}this.compiler.fsStartTime=Date.now();this._mergeWithCollected(S||this.pausedWatcher&&this.pausedWatcher.getAggregatedChanges&&this.pausedWatcher.getAggregatedChanges(),this.compiler.removedFiles=N||this.pausedWatcher&&this.pausedWatcher.getAggregatedRemovals&&this.pausedWatcher.getAggregatedRemovals());this.compiler.modifiedFiles=this._collectedChangedFiles;this._collectedChangedFiles=undefined;this.compiler.removedFiles=this._collectedRemovedFiles;this._collectedRemovedFiles=undefined;this.compiler.fileTimestamps=E||this.pausedWatcher&&this.pausedWatcher.getFileTimeInfoEntries();this.compiler.contextTimestamps=k||this.pausedWatcher&&this.pausedWatcher.getContextTimeInfoEntries();const run=()=>{if(this.compiler.idle){return this.compiler.cache.endIdle((E=>{if(E)return this._done(E);this.compiler.idle=false;run()}))}if(this._needRecords){return this.compiler.readRecords((E=>{if(E)return this._done(E);this._needRecords=false;run()}))}this.invalid=false;this._invalidReported=false;this.compiler.hooks.watchRun.callAsync(this.compiler,(E=>{if(E)return this._done(E);const onCompiled=(E,k)=>{if(E)return this._done(E,k);if(this.invalid)return this._done(null,k);if(this.compiler.hooks.shouldEmit.call(k)===false){return this._done(null,k)}process.nextTick((()=>{const E=k.getLogger("webpack.Compiler");E.time("emitAssets");this.compiler.emitAssets(k,(S=>{E.timeEnd("emitAssets");if(S)return this._done(S,k);if(this.invalid)return this._done(null,k);E.time("emitRecords");this.compiler.emitRecords((S=>{E.timeEnd("emitRecords");if(S)return this._done(S,k);if(k.hooks.needAdditionalPass.call()){k.needAdditionalPass=true;k.startTime=this.startTime;k.endTime=Date.now();E.time("done hook");const S=new w(k);this.compiler.hooks.done.callAsync(S,(S=>{E.timeEnd("done hook");if(S)return this._done(S,k);this.compiler.hooks.additionalPass.callAsync((E=>{if(E)return this._done(E,k);this.compiler.compile(onCompiled)}))}));return}return this._done(null,k)}))}))}))};this.compiler.compile(onCompiled)}))};run()}_getStats(E){const k=new w(E);return k}_done(E,k){this.running=false;const S=k&&k.getLogger("webpack.Watching");let N=null;const handleError=(E,k)=>{this.compiler.hooks.failed.call(E);this.compiler.cache.beginIdle();this.compiler.idle=true;this.handler(E,N);if(!k){k=this.callbacks;this.callbacks=[]}for(const S of k)S(E)};if(this.invalid&&!this.suspended&&!this.blocked&&!(this._isBlocked()&&(this.blocked=true))){if(k){S.time("storeBuildDependencies");this.compiler.cache.storeBuildDependencies(k.buildDependencies,(E=>{S.timeEnd("storeBuildDependencies");if(E)return handleError(E);this._go()}))}else{this._go()}return}if(k){k.startTime=this.startTime;k.endTime=Date.now();N=new w(k)}this.startTime=null;if(E)return handleError(E);const j=this.callbacks;this.callbacks=[];S.time("done hook");this.compiler.hooks.done.callAsync(N,(E=>{S.timeEnd("done hook");if(E)return handleError(E,j);this.handler(null,N);S.time("storeBuildDependencies");this.compiler.cache.storeBuildDependencies(k.buildDependencies,(E=>{S.timeEnd("storeBuildDependencies");if(E)return handleError(E,j);S.time("beginIdle");this.compiler.cache.beginIdle();this.compiler.idle=true;S.timeEnd("beginIdle");process.nextTick((()=>{if(!this.closed){this.watch(k.fileDependencies,k.contextDependencies,k.missingDependencies)}}));for(const E of j)E(null);this.compiler.hooks.afterDone.call(N)}))}))}watch(E,k,S){this.pausedWatcher=null;this.watcher=this.compiler.watchFileSystem.watch(E,k,S,this.lastWatcherStartTime,this.watchOptions,((E,k,S,w,N)=>{if(E){this.compiler.modifiedFiles=undefined;this.compiler.removedFiles=undefined;this.compiler.fileTimestamps=undefined;this.compiler.contextTimestamps=undefined;this.compiler.fsStartTime=undefined;return this.handler(E)}this._invalidate(k,S,w,N);this._onChange()}),((E,k)=>{if(!this._invalidReported){this._invalidReported=true;this.compiler.hooks.invalid.call(E,k)}this._onInvalid()}))}invalidate(E){if(E){this.callbacks.push(E)}if(!this._invalidReported){this._invalidReported=true;this.compiler.hooks.invalid.call(null,Date.now())}this._onChange();this._invalidate()}_invalidate(E,k,S,w){if(this.suspended||this._isBlocked()&&(this.blocked=true)){this._mergeWithCollected(S,w);return}if(this.running){this._mergeWithCollected(S,w);this.invalid=true}else{this._go(E,k,S,w)}}suspend(){this.suspended=true}resume(){if(this.suspended){this.suspended=false;this._invalidate()}}close(E){if(this._closeCallbacks){if(E){this._closeCallbacks.push(E)}return}const finalCallback=(E,k)=>{this.running=false;this.compiler.running=false;this.compiler.watching=undefined;this.compiler.watchMode=false;this.compiler.modifiedFiles=undefined;this.compiler.removedFiles=undefined;this.compiler.fileTimestamps=undefined;this.compiler.contextTimestamps=undefined;this.compiler.fsStartTime=undefined;const shutdown=()=>{this.compiler.cache.shutdown((E=>{this.compiler.hooks.watchClose.call();const k=this._closeCallbacks;this._closeCallbacks=undefined;for(const S of k)S(E)}))};if(k){const E=k.getLogger("webpack.Watching");E.time("storeBuildDependencies");this.compiler.cache.storeBuildDependencies(k.buildDependencies,(k=>{E.timeEnd("storeBuildDependencies");shutdown()}))}else{shutdown()}};this.closed=true;if(this.watcher){this.watcher.close();this.watcher=null}if(this.pausedWatcher){this.pausedWatcher.close();this.pausedWatcher=null}this._closeCallbacks=[];if(E){this._closeCallbacks.push(E)}if(this.running){this.invalid=true;this._done=finalCallback}else{finalCallback()}}}E.exports=Watching},81627:(E,k,S)=>{"use strict";const w=S(31669).inspect.custom;const N=S(56202);class WebpackError extends Error{constructor(E){super(E);this.details=undefined;this.module=undefined;this.loc=undefined;this.hideStack=undefined;this.chunk=undefined;this.file=undefined}[w](){return this.stack+(this.details?`\n${this.details}`:"")}serialize({write:E}){E(this.name);E(this.message);E(this.stack);E(this.details);E(this.loc);E(this.hideStack)}deserialize({read:E}){this.name=E();this.message=E();this.stack=E();this.details=E();this.loc=E();this.hideStack=E()}}N(WebpackError,"webpack/lib/WebpackError");E.exports=WebpackError},57694:(E,k,S)=>{"use strict";const w=S(16761);const N=S(46715);const{toConstantDependency:j}=S(48472);class WebpackIsIncludedPlugin{apply(E){E.hooks.compilation.tap("WebpackIsIncludedPlugin",((E,{normalModuleFactory:k})=>{E.dependencyFactories.set(N,new w(k));E.dependencyTemplates.set(N,new N.Template);const handler=E=>{E.hooks.call.for("__webpack_is_included__").tap("WebpackIsIncludedPlugin",(k=>{if(k.type!=="CallExpression"||k.arguments.length!==1||k.arguments[0].type==="SpreadElement")return;const S=E.evaluateExpression(k.arguments[0]);if(!S.isString())return;const w=new N(S.string,k.range);w.loc=k.loc;E.state.module.addDependency(w);return true}));E.hooks.typeof.for("__webpack_is_included__").tap("WebpackIsIncludedPlugin",j(E,JSON.stringify("function")))};k.hooks.parser.for("javascript/auto").tap("WebpackIsIncludedPlugin",handler);k.hooks.parser.for("javascript/dynamic").tap("WebpackIsIncludedPlugin",handler);k.hooks.parser.for("javascript/esm").tap("WebpackIsIncludedPlugin",handler)}))}}E.exports=WebpackIsIncludedPlugin},81721:(E,k,S)=>{"use strict";const w=S(97614);const N=S(75076);const j=S(18161);const q=S(9483);const ee=S(5538);const te=S(64699);const ne=S(43806);const ae=S(89818);const _e=S(32323);const ve=S(97489);const Ee=S(40552);const we=S(29672);const Ce=S(57694);const Me=S(30337);const Te=S(79050);const Ie=S(12510);const Oe=S(68495);const Re=S(99184);const Fe=S(13653);const Ne=S(91630);const Be=S(26165);const Le=S(38586);const je=S(54975);const $e=S(2451);const ze=S(67634);const Ue=S(51727);const Ge=S(3085);const qe=S(62630);const Ve=S(65577);const He=S(76373);const We=S(68778);const Ke=S(82527);const Xe=S(9054);const Qe=S(7391);const Je=S(61762);const{cleverMerge:Ye}=S(90149);class WebpackOptionsApply extends w{constructor(){super()}process(E,k){k.outputPath=E.output.path;k.recordsInputPath=E.recordsInputPath||null;k.recordsOutputPath=E.recordsOutputPath||null;k.name=E.name;if(E.externals){const w=S(61050);new w(E.externalsType,E.externals).apply(k)}if(E.externalsPresets.node){const E=S(84980);(new E).apply(k)}if(E.externalsPresets.electronMain){const E=S(25726);new E("main").apply(k)}if(E.externalsPresets.electronPreload){const E=S(25726);new E("preload").apply(k)}if(E.externalsPresets.electronRenderer){const E=S(25726);new E("renderer").apply(k)}if(E.externalsPresets.electron&&!E.externalsPresets.electronMain&&!E.externalsPresets.electronPreload&&!E.externalsPresets.electronRenderer){const E=S(25726);(new E).apply(k)}if(E.externalsPresets.nwjs){const E=S(61050);new E("node-commonjs","nw.gui").apply(k)}if(E.externalsPresets.webAsync){const E=S(61050);new E("import",/^(https?:\/\/|std:)/).apply(k)}else if(E.externalsPresets.web){const E=S(61050);new E("module",/^(https?:\/\/|std:)/).apply(k)}(new ee).apply(k);if(typeof E.output.chunkFormat==="string"){switch(E.output.chunkFormat){case"array-push":{const E=S(41113);(new E).apply(k);break}case"commonjs":{const E=S(77314);(new E).apply(k);break}case"module":{const E=S(57378);(new E).apply(k);break}default:throw new Error("Unsupported chunk format '"+E.output.chunkFormat+"'.")}}if(E.output.enabledChunkLoadingTypes.length>0){for(const w of E.output.enabledChunkLoadingTypes){const E=S(50369);new E(w).apply(k)}}if(E.output.enabledWasmLoadingTypes.length>0){for(const w of E.output.enabledWasmLoadingTypes){const E=S(69085);new E(w).apply(k)}}if(E.output.enabledLibraryTypes.length>0){for(const w of E.output.enabledLibraryTypes){const E=S(13984);new E(w).apply(k)}}if(E.output.pathinfo){const w=S(21542);new w(E.output.pathinfo!==true).apply(k)}if(E.output.clean){const w=S(61666);new w(E.output.clean===true?{}:E.output.clean).apply(k)}if(E.devtool){if(E.devtool.includes("source-map")){const w=E.devtool.includes("hidden");const N=E.devtool.includes("inline");const j=E.devtool.includes("eval");const q=E.devtool.includes("cheap");const ee=E.devtool.includes("module");const te=E.devtool.includes("nosources");const ne=j?S(23641):S(2e4);new ne({filename:N?null:E.output.sourceMapFilename,moduleFilenameTemplate:E.output.devtoolModuleFilenameTemplate,fallbackModuleFilenameTemplate:E.output.devtoolFallbackModuleFilenameTemplate,append:w?false:undefined,module:ee?true:q?false:true,columns:q?false:true,noSources:te,namespace:E.output.devtoolNamespace}).apply(k)}else if(E.devtool.includes("eval")){const w=S(91331);new w({moduleFilenameTemplate:E.output.devtoolModuleFilenameTemplate,namespace:E.output.devtoolNamespace}).apply(k)}}(new j).apply(k);(new q).apply(k);(new N).apply(k);if(!E.experiments.outputModule){if(E.output.module){throw new Error("'output.module: true' is only allowed when 'experiments.outputModule' is enabled")}if(E.output.enabledLibraryTypes.includes("module")){throw new Error("library type \"module\" is only allowed when 'experiments.outputModule' is enabled")}if(E.externalsType==="module"){throw new Error("'externalsType: \"module\"' is only allowed when 'experiments.outputModule' is enabled")}}if(E.experiments.syncWebAssembly){const w=S(84387);new w({mangleImports:E.optimization.mangleWasmImports}).apply(k)}if(E.experiments.asyncWebAssembly){const w=S(82422);new w({mangleImports:E.optimization.mangleWasmImports}).apply(k)}if(E.experiments.lazyCompilation){const w=S(10639);const N=typeof E.experiments.lazyCompilation==="object"?E.experiments.lazyCompilation:null;new w({backend:N&&N.backend||S(64244),client:N&&N.client||E.externalsPresets.node?S.ab+"lazy-compilation-node.js":S.ab+"lazy-compilation-web.js",entries:!N||N.entries!==false,imports:!N||N.imports!==false,test:N&&N.test||undefined}).apply(k)}(new te).apply(k);k.hooks.entryOption.call(E.context,E.entry);(new ae).apply(k);(new We).apply(k);(new Oe).apply(k);(new Re).apply(k);(new ve).apply(k);new Be({topLevelAwait:E.experiments.topLevelAwait}).apply(k);if(E.amd!==false){const w=S(19765);const N=S(10830);new w(E.amd||{}).apply(k);(new N).apply(k)}(new Ne).apply(k);new $e({enableExecuteModule:E.experiments.executeModule}).apply(k);if(E.node!==false){const w=S(32125);new w(E.node).apply(k)}(new _e).apply(k);(new we).apply(k);(new Ce).apply(k);(new Ee).apply(k);(new Te).apply(k);(new Ge).apply(k);(new Ue).apply(k);(new ze).apply(k);(new je).apply(k);(new qe).apply(k);(new Le).apply(k);(new Ve).apply(k);new He(E.output.workerChunkLoading,E.output.workerWasmLoading,E.output.module).apply(k);(new Xe).apply(k);(new Qe).apply(k);(new Je).apply(k);(new Ke).apply(k);if(typeof E.mode!=="string"){const E=S(67586);(new E).apply(k)}const w=S(38173);(new w).apply(k);if(E.optimization.removeAvailableModules){const E=S(78016);(new E).apply(k)}if(E.optimization.removeEmptyChunks){const E=S(62665);(new E).apply(k)}if(E.optimization.mergeDuplicateChunks){const E=S(70026);(new E).apply(k)}if(E.optimization.flagIncludedChunks){const E=S(76627);(new E).apply(k)}if(E.optimization.sideEffects){const w=S(63410);new w(E.optimization.sideEffects===true).apply(k)}if(E.optimization.providedExports){const E=S(95629);(new E).apply(k)}if(E.optimization.usedExports){const w=S(1596);new w(E.optimization.usedExports==="global").apply(k)}if(E.optimization.innerGraph){const E=S(10032);(new E).apply(k)}if(E.optimization.mangleExports){const w=S(41694);new w(E.optimization.mangleExports!=="size").apply(k)}if(E.optimization.concatenateModules){const E=S(35442);(new E).apply(k)}if(E.optimization.splitChunks){const w=S(40051);new w(E.optimization.splitChunks).apply(k)}if(E.optimization.runtimeChunk){const w=S(4674);new w(E.optimization.runtimeChunk).apply(k)}if(!E.optimization.emitOnErrors){const E=S(66962);(new E).apply(k)}if(E.optimization.realContentHash){const w=S(30699);new w({hashFunction:E.output.hashFunction,hashDigest:E.output.hashDigest}).apply(k)}if(E.optimization.checkWasmTypes){const E=S(8576);(new E).apply(k)}const Ze=E.optimization.moduleIds;if(Ze){switch(Ze){case"natural":{const E=S(97781);(new E).apply(k);break}case"named":{const E=S(9297);(new E).apply(k);break}case"hashed":{const E=S(3571);const w=S(35853);new E("optimization.moduleIds","hashed","deterministic").apply(k);(new w).apply(k);break}case"deterministic":{const E=S(35579);(new E).apply(k);break}case"size":{const E=S(76059);new E({prioritiseInitial:true}).apply(k);break}default:throw new Error(`webpack bug: moduleIds: ${Ze} is not implemented`)}}const et=E.optimization.chunkIds;if(et){switch(et){case"natural":{const E=S(18298);(new E).apply(k);break}case"named":{const E=S(64779);(new E).apply(k);break}case"deterministic":{const E=S(90444);(new E).apply(k);break}case"size":{const E=S(86169);new E({prioritiseInitial:true}).apply(k);break}case"total-size":{const E=S(86169);new E({prioritiseInitial:false}).apply(k);break}default:throw new Error(`webpack bug: chunkIds: ${et} is not implemented`)}}if(E.optimization.nodeEnv){const w=S(24820);new w({"process.env.NODE_ENV":JSON.stringify(E.optimization.nodeEnv)}).apply(k)}if(E.optimization.minimize){for(const S of E.optimization.minimizer){if(typeof S==="function"){S.call(k,k)}else if(S!=="..."){S.apply(k)}}}if(E.performance){const w=S(20625);new w(E.performance).apply(k)}(new Me).apply(k);new ne({portableIds:E.optimization.portableRecords}).apply(k);(new Ie).apply(k);const tt=S(46584);new tt(E.snapshot.managedPaths,E.snapshot.immutablePaths).apply(k);if(E.cache&&typeof E.cache==="object"){const w=E.cache;switch(w.type){case"memory":{if(isFinite(w.maxGenerations)){const E=S(71162);new E({maxGenerations:w.maxGenerations}).apply(k)}else{const E=S(47786);(new E).apply(k)}break}case"filesystem":{const N=S(38016);for(const E in w.buildDependencies){const S=w.buildDependencies[E];new N(S).apply(k)}if(!isFinite(w.maxMemoryGenerations)){const E=S(47786);(new E).apply(k)}else if(w.maxMemoryGenerations!==0){const E=S(71162);new E({maxGenerations:w.maxMemoryGenerations}).apply(k)}switch(w.store){case"pack":{const N=S(66620);const j=S(83793);new N(new j({compiler:k,fs:k.intermediateFileSystem,context:E.context,cacheLocation:w.cacheLocation,version:w.version,logger:k.getInfrastructureLogger("webpack.cache.PackFileCacheStrategy"),snapshot:E.snapshot,maxAge:w.maxAge,profile:w.profile,allowCollectingMemory:w.allowCollectingMemory,compression:w.compression}),w.idleTimeout,w.idleTimeoutForInitialStore,w.idleTimeoutAfterLargeChanges).apply(k);break}default:throw new Error("Unhandled value for cache.store")}break}default:throw new Error(`Unknown cache type ${w.type}`)}}(new Fe).apply(k);if(E.ignoreWarnings&&E.ignoreWarnings.length>0){const w=S(89056);new w(E.ignoreWarnings).apply(k)}k.hooks.afterPlugins.call(k);if(!k.inputFileSystem){throw new Error("No input filesystem provided")}k.resolverFactory.hooks.resolveOptions.for("normal").tap("WebpackOptionsApply",(S=>{S=Ye(E.resolve,S);S.fileSystem=k.inputFileSystem;return S}));k.resolverFactory.hooks.resolveOptions.for("context").tap("WebpackOptionsApply",(S=>{S=Ye(E.resolve,S);S.fileSystem=k.inputFileSystem;S.resolveToContext=true;return S}));k.resolverFactory.hooks.resolveOptions.for("loader").tap("WebpackOptionsApply",(S=>{S=Ye(E.resolveLoader,S);S.fileSystem=k.inputFileSystem;return S}));k.hooks.afterResolvers.call(k);return E}}E.exports=WebpackOptionsApply},94820:(E,k,S)=>{"use strict";const{applyWebpackOptionsDefaults:w}=S(54411);const{getNormalizedWebpackOptions:N}=S(96590);class WebpackOptionsDefaulter{process(E){E=N(E);w(E);return E}}E.exports=WebpackOptionsDefaulter},20882:(E,k,S)=>{"use strict";const w=S(50007);const N=S(85622);const{RawSource:j}=S(48135);const q=S(36253);const ee=S(76150);const te=S(35891);const{makePathsRelative:ne}=S(49197);const mergeMaybeArrays=(E,k)=>{const S=new Set;if(Array.isArray(E))for(const k of E)S.add(k);else S.add(E);if(Array.isArray(k))for(const E of k)S.add(E);else S.add(k);return Array.from(S)};const mergeAssetInfo=(E,k)=>{const S={...E,...k};for(const w of Object.keys(E)){if(w in k){if(E[w]===k[w])continue;switch(w){case"fullhash":case"chunkhash":case"modulehash":case"contenthash":S[w]=mergeMaybeArrays(E[w],k[w]);break;case"immutable":case"development":case"hotModuleReplacement":case"javascriptModule\t":S[w]=E[w]||k[w];break;case"related":S[w]=mergeRelatedInfo(E[w],k[w]);break;default:throw new Error(`Can't handle conflicting asset info for ${w}`)}}}return S};const mergeRelatedInfo=(E,k)=>{const S={...E,...k};for(const w of Object.keys(E)){if(w in k){if(E[w]===k[w])continue;S[w]=mergeMaybeArrays(E[w],k[w])}}return S};const ae=new Set(["javascript"]);const _e=new Set(["javascript","asset"]);class AssetGenerator extends q{constructor(E,k,S,w){super();this.dataUrlOptions=E;this.filename=k;this.publicPath=S;this.emit=w}generate(E,{runtime:k,chunkGraph:S,runtimeTemplate:q,runtimeRequirements:ae,type:_e,getData:ve}){switch(_e){case"asset":return E.originalSource();default:{ae.add(ee.module);const _e=E.originalSource();if(E.buildInfo.dataUrl){let k;if(typeof this.dataUrlOptions==="function"){k=this.dataUrlOptions.call(null,_e.source(),{filename:E.matchResource||E.resource,module:E})}else{let S=this.dataUrlOptions.encoding;if(S===undefined){if(E.resourceResolveData&&E.resourceResolveData.encoding!==undefined){S=E.resourceResolveData.encoding}}if(S===undefined){S="base64"}let j;let q=this.dataUrlOptions.mimetype;if(q===undefined){j=N.extname(E.nameForCondition());if(E.resourceResolveData&&E.resourceResolveData.mimetype!==undefined){q=E.resourceResolveData.mimetype}else if(j){q=w.lookup(j)}}if(typeof q!=="string"){throw new Error("DataUrl can't be generated automatically, "+`because there is no mimetype for "${j}" in mimetype database. `+'Either pass a mimetype via "generator.mimetype" or '+'use type: "asset/resource" to create a resource file instead of a DataUrl')}let ee;switch(S){case"base64":{ee=_e.buffer().toString("base64");break}case false:{const E=_e.source();if(typeof E==="string"){ee=encodeURI(E)}else{ee=encodeURI(E.toString("utf-8"))}break}default:throw new Error(`Unsupported encoding '${S}'`)}k=`data:${q}${S?`;${S}`:""},${ee}`}return new j(`${ee.module}.exports = ${JSON.stringify(k)};`)}else{const w=this.filename||q.outputOptions.assetModuleFilename;const N=te(q.outputOptions.hashFunction);if(q.outputOptions.hashSalt){N.update(q.outputOptions.hashSalt)}N.update(_e.buffer());const Ee=N.digest(q.outputOptions.hashDigest);const we=Ee.slice(0,q.outputOptions.hashDigestLength);E.buildInfo.fullContentHash=Ee;const Ce=ne(q.compilation.compiler.context,E.matchResource||E.resource,q.compilation.compiler.root).replace(/^\.\//,"");let{path:Me,info:Te}=q.compilation.getAssetPathWithInfo(w,{module:E,runtime:k,filename:Ce,chunkGraph:S,contentHash:we});let Ie;if(this.publicPath){const{path:w,info:N}=q.compilation.getAssetPathWithInfo(this.publicPath,{module:E,runtime:k,filename:Ce,chunkGraph:S,contentHash:we});Ie=JSON.stringify(w);Te=mergeAssetInfo(Te,N)}else{Ie=ee.publicPath;ae.add(ee.publicPath)}Te={sourceFilename:Ce,...Te};E.buildInfo.filename=Me;E.buildInfo.assetInfo=Te;if(ve){const E=ve();E.set("fullContentHash",Ee);E.set("filename",Me);E.set("assetInfo",Te)}return new j(`${ee.module}.exports = ${Ie} + ${JSON.stringify(Me)};`)}}}}getTypes(E){if(E.buildInfo&&E.buildInfo.dataUrl||this.emit===false){return ae}else{return _e}}getSize(E,k){switch(k){case"asset":{const k=E.originalSource();if(!k){return 0}return k.size()}default:if(E.buildInfo&&E.buildInfo.dataUrl){const k=E.originalSource();if(!k){return 0}return k.size()*1.34+36}else{return 42}}}updateHash(E,{module:k}){E.update(k.buildInfo.dataUrl?"data-url":"resource")}}E.exports=AssetGenerator},75076:(E,k,S)=>{"use strict";const{cleverMerge:w}=S(90149);const{compareModulesByIdentifier:N}=S(68673);const j=S(35817);const q=S(91671);const getSchema=E=>{const{definitions:k}=S(76518);return{definitions:k,oneOf:[{$ref:`#/definitions/${E}`}]}};const ee={name:"Asset Modules Plugin",baseDataPath:"generator"};const te={asset:j(S(68707),(()=>getSchema("AssetGeneratorOptions")),ee),"asset/resource":j(S(87441),(()=>getSchema("AssetResourceGeneratorOptions")),ee),"asset/inline":j(S(3720),(()=>getSchema("AssetInlineGeneratorOptions")),ee)};const ne=j(S(33605),(()=>getSchema("AssetParserOptions")),{name:"Asset Modules Plugin",baseDataPath:"parser"});const ae=q((()=>S(20882)));const _e=q((()=>S(74795)));const ve=q((()=>S(20139)));const Ee=q((()=>S(54685)));const we="asset";const Ce="AssetModulesPlugin";class AssetModulesPlugin{apply(E){E.hooks.compilation.tap(Ce,((k,{normalModuleFactory:S})=>{S.hooks.createParser.for("asset").tap(Ce,(k=>{ne(k);k=w(E.options.module.parser.asset,k);let S=k.dataUrlCondition;if(!S||typeof S==="object"){S={maxSize:8096,...S}}const N=_e();return new N(S)}));S.hooks.createParser.for("asset/inline").tap(Ce,(E=>{const k=_e();return new k(true)}));S.hooks.createParser.for("asset/resource").tap(Ce,(E=>{const k=_e();return new k(false)}));S.hooks.createParser.for("asset/source").tap(Ce,(E=>{const k=ve();return new k}));for(const E of["asset","asset/inline","asset/resource"]){S.hooks.createGenerator.for(E).tap(Ce,(k=>{te[E](k);let S=undefined;if(E!=="asset/resource"){S=k.dataUrl;if(!S||typeof S==="object"){S={encoding:undefined,mimetype:undefined,...S}}}let w=undefined;let N=undefined;if(E!=="asset/inline"){w=k.filename;N=k.publicPath}const j=ae();return new j(S,w,N,k.emit!==false)}))}S.hooks.createGenerator.for("asset/source").tap(Ce,(()=>{const E=Ee();return new E}));k.hooks.renderManifest.tap(Ce,((E,S)=>{const{chunkGraph:w}=k;const{chunk:j,codeGenerationResults:q}=S;const ee=w.getOrderedChunkModulesIterableBySourceType(j,"asset",N);if(ee){for(const k of ee){const S=q.get(k,j.runtime);E.push({render:()=>S.sources.get(we),filename:k.buildInfo.filename||S.data.get("filename"),info:k.buildInfo.assetInfo||S.data.get("assetInfo"),auxiliary:true,identifier:`assetModule${w.getModuleId(k)}`,hash:k.buildInfo.fullContentHash||S.data.get("fullContentHash")})}}return E}));k.hooks.prepareModuleExecution.tap("AssetModulesPlugin",((E,k)=>{const{codeGenerationResult:S}=E;const w=S.sources.get("asset");if(w===undefined)return;k.assets.set(S.data.get("filename"),{source:w,info:S.data.get("assetInfo")})}))}))}}E.exports=AssetModulesPlugin},74795:(E,k,S)=>{"use strict";const w=S(2172);class AssetParser extends w{constructor(E){super();this.dataUrlCondition=E}parse(E,k){if(typeof E==="object"&&!Buffer.isBuffer(E)){throw new Error("AssetParser doesn't accept preparsed AST")}k.module.buildInfo.strict=true;k.module.buildMeta.exportsType="default";if(typeof this.dataUrlCondition==="function"){k.module.buildInfo.dataUrl=this.dataUrlCondition(E,{filename:k.module.matchResource||k.module.resource,module:k.module})}else if(typeof this.dataUrlCondition==="boolean"){k.module.buildInfo.dataUrl=this.dataUrlCondition}else if(this.dataUrlCondition&&typeof this.dataUrlCondition==="object"){k.module.buildInfo.dataUrl=Buffer.byteLength(E)<=this.dataUrlCondition.maxSize}else{throw new Error("Unexpected dataUrlCondition type")}return k}}E.exports=AssetParser},54685:(E,k,S)=>{"use strict";const{RawSource:w}=S(48135);const N=S(36253);const j=S(76150);const q=new Set(["javascript"]);class AssetSourceGenerator extends N{generate(E,{chunkGraph:k,runtimeTemplate:S,runtimeRequirements:N}){N.add(j.module);const q=E.originalSource();if(!q){return new w("")}const ee=q.source();let te;if(typeof ee==="string"){te=ee}else{te=ee.toString("utf-8")}return new w(`${j.module}.exports = ${JSON.stringify(te)};`)}getTypes(E){return q}getSize(E,k){const S=E.originalSource();if(!S){return 0}return S.size()+12}}E.exports=AssetSourceGenerator},20139:(E,k,S)=>{"use strict";const w=S(2172);class AssetSourceParser extends w{parse(E,k){if(typeof E==="object"&&!Buffer.isBuffer(E)){throw new Error("AssetSourceParser doesn't accept preparsed AST")}const{module:S}=k;S.buildInfo.strict=true;S.buildMeta.exportsType="default";return k}}E.exports=AssetSourceParser},10813:(E,k,S)=>{"use strict";const w=S(63272);const N=S(76150);const j=S(58159);class AwaitDependenciesInitFragment extends w{constructor(E){super(undefined,w.STAGE_ASYNC_DEPENDENCIES,0,"await-dependencies");this.promises=E}merge(E){const k=new Set(this.promises);for(const S of E.promises){k.add(S)}return new AwaitDependenciesInitFragment(k)}getContent({runtimeRequirements:E}){E.add(N.module);const k=this.promises;if(k.size===0){return""}if(k.size===1){for(const E of k){return j.asString([`var __webpack_async_dependencies__ = __webpack_handle_async_dependencies__([${E}]);`,`${E} = (__webpack_async_dependencies__.then ? await __webpack_async_dependencies__ : __webpack_async_dependencies__)[0];`,""])}}const S=Array.from(k).join(", ");return j.asString([`var __webpack_async_dependencies__ = __webpack_handle_async_dependencies__([${S}]);`,`([${S}] = __webpack_async_dependencies__.then ? await __webpack_async_dependencies__ : __webpack_async_dependencies__);`,""])}}E.exports=AwaitDependenciesInitFragment},68778:(E,k,S)=>{"use strict";const w=S(37359);class InferAsyncModulesPlugin{apply(E){E.hooks.compilation.tap("InferAsyncModulesPlugin",(E=>{const{moduleGraph:k}=E;E.hooks.finishModules.tap("InferAsyncModulesPlugin",(E=>{const S=new Set;for(const k of E){if(k.buildMeta&&k.buildMeta.async){S.add(k)}}for(const E of S){k.setAsync(E);for(const[N,j]of k.getIncomingConnectionsByOriginModule(E)){if(j.some((E=>E.dependency instanceof w&&E.isTargetActive(undefined)))){S.add(N)}}}}))}))}}E.exports=InferAsyncModulesPlugin},25457:(E,k,S)=>{"use strict";const w=S(21357);const{connectChunkGroupParentAndChild:N}=S(4642);const j=S(79900);const{getEntryRuntime:q,mergeRuntime:ee}=S(37416);const te=new Set;te.plus=te;const bySetSize=(E,k)=>k.size+k.plus.size-E.size-E.plus.size;const getActiveStateOfConnections=(E,k)=>{let S=E[0].getActiveState(k);if(S===true)return true;for(let w=1;w{const{moduleGraph:k}=E;const S=new Map;const w=new Set;for(const N of E.modules){let E;for(const S of k.getOutgoingConnections(N)){const k=S.dependency;if(!k)continue;const w=S.module;if(!w)continue;if(S.weak)continue;const N=S.getActiveState(undefined);if(N===false)continue;if(E===undefined){E=new WeakMap}E.set(S.dependency,S)}w.clear();w.add(N);for(const k of w){let N;if(E!==undefined&&k.dependencies){for(const w of k.dependencies){const j=E.get(w);if(j!==undefined){const{module:E}=j;if(N===undefined){N=new Map;S.set(k,N)}const w=N.get(E);if(w!==undefined){w.push(j)}else{N.set(E,[j])}}}}if(k.blocks){for(const E of k.blocks){w.add(E)}}}}return S};const visitModules=(E,k,S,N,j,ne,ae)=>{const{moduleGraph:_e,chunkGraph:ve}=k;E.time("visitModules: prepare");const Ee=extractBlockModulesMap(k);let we=0;let Ce=0;let Me=0;let Te=0;let Ie=0;let Oe=0;let Re=0;let Fe=0;let Ne=0;let Be=0;let Le=0;let je=0;let $e=0;let ze=0;let Ue=0;let Ge=0;const qe=new Map;const Ve=new Map;const He=new Map;const We=0;const Ke=1;const Xe=2;const Qe=3;const Je=4;const Ye=5;let Ze=[];const et=new Map;const tt=new Set;for(const[E,w]of S){const S=q(k,E.name,E.options);const j={chunkGroup:E,runtime:S,minAvailableModules:undefined,minAvailableModulesOwned:false,availableModulesToBeMerged:[],skippedItems:undefined,resultingAvailableModules:undefined,children:undefined,availableSources:undefined,availableChildren:undefined,preOrderIndex:0,postOrderIndex:0};E.index=ze++;if(E.getNumberOfParents()>0){const E=new Set;for(const k of w){E.add(k)}j.skippedItems=E;tt.add(j)}else{j.minAvailableModules=te;const k=E.getEntrypointChunk();for(const S of w){Ze.push({action:Ke,block:S,module:S,chunk:k,chunkGroup:E,chunkGroupInfo:j})}}N.set(E,j);if(E.name){Ve.set(E.name,j)}}for(const E of tt){const{chunkGroup:k}=E;E.availableSources=new Set;for(const S of k.parentsIterable){const k=N.get(S);E.availableSources.add(k);if(k.availableChildren===undefined){k.availableChildren=new Set}k.availableChildren.add(E)}}Ze.reverse();const nt=new Set;const rt=new Set;let it=[];E.timeEnd("visitModules: prepare");const st=[];const ot=[];const ut=[];let lt;let ct;let pt;let ft;let dt;const iteratorBlock=E=>{let S=qe.get(E);let q;let ee;const ne=E.groupOptions&&E.groupOptions.entryOptions;if(S===undefined){const _e=E.groupOptions&&E.groupOptions.name||E.chunkName;if(ne){S=He.get(_e);if(!S){ee=k.addAsyncEntrypoint(ne,lt,E.loc,E.request);ee.index=ze++;S={chunkGroup:ee,runtime:ee.options.runtime||ee.name,minAvailableModules:te,minAvailableModulesOwned:false,availableModulesToBeMerged:[],skippedItems:undefined,resultingAvailableModules:undefined,children:undefined,availableSources:undefined,availableChildren:undefined,preOrderIndex:0,postOrderIndex:0};N.set(ee,S);ve.connectBlockAndChunkGroup(E,ee);if(_e){He.set(_e,S)}}else{ee=S.chunkGroup;ee.addOrigin(lt,E.loc,E.request);ve.connectBlockAndChunkGroup(E,ee)}it.push({action:Je,block:E,module:lt,chunk:ee.chunks[0],chunkGroup:ee,chunkGroupInfo:S})}else{S=Ve.get(_e);if(!S){q=k.addChunkInGroup(E.groupOptions||E.chunkName,lt,E.loc,E.request);q.index=ze++;S={chunkGroup:q,runtime:dt.runtime,minAvailableModules:undefined,minAvailableModulesOwned:undefined,availableModulesToBeMerged:[],skippedItems:undefined,resultingAvailableModules:undefined,children:undefined,availableSources:undefined,availableChildren:undefined,preOrderIndex:0,postOrderIndex:0};ae.add(q);N.set(q,S);if(_e){Ve.set(_e,S)}}else{q=S.chunkGroup;if(q.isInitial()){k.errors.push(new w(_e,lt,E.loc));q=pt}q.addOptions(E.groupOptions);q.addOrigin(lt,E.loc,E.request)}j.set(E,[])}qe.set(E,S)}else if(ne){ee=S.chunkGroup}else{q=S.chunkGroup}if(q!==undefined){j.get(E).push({originChunkGroupInfo:dt,chunkGroup:q});let k=et.get(dt);if(k===undefined){k=new Set;et.set(dt,k)}k.add(S);it.push({action:Qe,block:E,module:lt,chunk:q.chunks[0],chunkGroup:q,chunkGroupInfo:S})}else{dt.chunkGroup.addAsyncEntrypoint(ee)}};const processBlock=E=>{Ce++;const k=Ee.get(E);if(k!==undefined){const{minAvailableModules:E,runtime:S}=dt;for(const w of k){const[k,N]=w;if(ve.isModuleInChunk(k,ct)){continue}const j=getActiveStateOfConnections(N,S);if(j!==true){st.push(w);if(j===false)continue}if(j===true&&(E.has(k)||E.plus.has(k))){ot.push(k);continue}ut.push({action:j===true?Ke:Qe,block:k,module:k,chunk:ct,chunkGroup:pt,chunkGroupInfo:dt})}if(st.length>0){let{skippedModuleConnections:E}=dt;if(E===undefined){dt.skippedModuleConnections=E=new Set}for(let k=st.length-1;k>=0;k--){E.add(st[k])}st.length=0}if(ot.length>0){let{skippedItems:E}=dt;if(E===undefined){dt.skippedItems=E=new Set}for(let k=ot.length-1;k>=0;k--){E.add(ot[k])}ot.length=0}if(ut.length>0){for(let E=ut.length-1;E>=0;E--){Ze.push(ut[E])}ut.length=0}}for(const k of E.blocks){iteratorBlock(k)}if(E.blocks.length>0&<!==E){ne.add(E)}};const processEntryBlock=E=>{Ce++;const k=Ee.get(E);if(k!==undefined){for(const[E,S]of k){const k=getActiveStateOfConnections(S,undefined);ut.push({action:k===true?We:Qe,block:E,module:E,chunk:ct,chunkGroup:pt,chunkGroupInfo:dt})}if(ut.length>0){for(let E=ut.length-1;E>=0;E--){Ze.push(ut[E])}ut.length=0}}for(const k of E.blocks){iteratorBlock(k)}if(E.blocks.length>0&<!==E){ne.add(E)}};const processQueue=()=>{while(Ze.length){we++;const E=Ze.pop();lt=E.module;ft=E.block;ct=E.chunk;pt=E.chunkGroup;dt=E.chunkGroupInfo;switch(E.action){case We:ve.connectChunkAndEntryModule(ct,lt,pt);case Ke:{if(ve.isModuleInChunk(lt,ct)){break}ve.connectChunkAndModule(ct,lt)}case Xe:{const k=pt.getModulePreOrderIndex(lt);if(k===undefined){pt.setModulePreOrderIndex(lt,dt.preOrderIndex++)}if(_e.setPreOrderIndexIfUnset(lt,Ue)){Ue++}E.action=Ye;Ze.push(E)}case Qe:{processBlock(ft);break}case Je:{processEntryBlock(ft);break}case Ye:{const E=pt.getModulePostOrderIndex(lt);if(E===undefined){pt.setModulePostOrderIndex(lt,dt.postOrderIndex++)}if(_e.setPostOrderIndexIfUnset(lt,Ge)){Ge++}break}}}};const calculateResultingAvailableModules=E=>{if(E.resultingAvailableModules)return E.resultingAvailableModules;const k=E.minAvailableModules;let S;if(k.size>k.plus.size){S=new Set;for(const E of k.plus)k.add(E);k.plus=te;S.plus=k;E.minAvailableModulesOwned=false}else{S=new Set(k);S.plus=k.plus}for(const k of E.chunkGroup.chunks){for(const E of ve.getChunkModulesIterable(k)){S.add(E)}}return E.resultingAvailableModules=S};const processConnectQueue=()=>{for(const[E,k]of et){if(E.children===undefined){E.children=k}else{for(const S of k){E.children.add(S)}}const S=calculateResultingAvailableModules(E);const w=E.runtime;for(const E of k){E.availableModulesToBeMerged.push(S);rt.add(E);const k=E.runtime;const N=ee(k,w);if(k!==N){E.runtime=N;nt.add(E)}}Me+=k.size}et.clear()};const processChunkGroupsForMerging=()=>{Te+=rt.size;for(const E of rt){const k=E.availableModulesToBeMerged;let S=E.minAvailableModules;Ie+=k.length;if(k.length>1){k.sort(bySetSize)}let w=false;e:for(const N of k){if(S===undefined){S=N;E.minAvailableModules=S;E.minAvailableModulesOwned=false;w=true}else{if(E.minAvailableModulesOwned){if(S.plus===N.plus){for(const E of S){if(!N.has(E)){S.delete(E);w=true}}}else{for(const E of S){if(!N.has(E)&&!N.plus.has(E)){S.delete(E);w=true}}for(const E of S.plus){if(!N.has(E)&&!N.plus.has(E)){const k=S.plus[Symbol.iterator]();let j;while(!(j=k.next()).done){const k=j.value;if(k===E)break;S.add(k)}while(!(j=k.next()).done){const k=j.value;if(N.has(k)||N.plus.has(E)){S.add(k)}}S.plus=te;w=true;continue e}}}}else if(S.plus===N.plus){if(N.size{for(const E of tt){for(const k of E.availableSources){if(!k.minAvailableModules){tt.delete(E);break}}}for(const E of tt){const k=new Set;k.plus=te;const mergeSet=E=>{if(E.size>k.plus.size){for(const E of k.plus)k.add(E);k.plus=E}else{for(const S of E)k.add(S)}};for(const k of E.availableSources){const E=calculateResultingAvailableModules(k);mergeSet(E);mergeSet(E.plus)}E.minAvailableModules=k;E.minAvailableModulesOwned=false;E.resultingAvailableModules=undefined;nt.add(E)}tt.clear()};const processOutdatedChunkGroupInfo=()=>{je+=nt.size;for(const E of nt){if(E.skippedItems!==undefined){const{minAvailableModules:k}=E;for(const S of E.skippedItems){if(!k.has(S)&&!k.plus.has(S)){Ze.push({action:Ke,block:S,module:S,chunk:E.chunkGroup.chunks[0],chunkGroup:E.chunkGroup,chunkGroupInfo:E});E.skippedItems.delete(S)}}}if(E.skippedModuleConnections!==undefined){const{minAvailableModules:k,runtime:S}=E;for(const w of E.skippedModuleConnections){const[N,j]=w;const q=getActiveStateOfConnections(j,S);if(q===false)continue;if(q===true){E.skippedModuleConnections.delete(w)}if(q===true&&(k.has(N)||k.plus.has(N))){E.skippedItems.add(N);continue}Ze.push({action:q===true?Ke:Qe,block:N,module:N,chunk:E.chunkGroup.chunks[0],chunkGroup:E.chunkGroup,chunkGroupInfo:E})}}if(E.children!==undefined){$e+=E.children.size;for(const k of E.children){let S=et.get(E);if(S===undefined){S=new Set;et.set(E,S)}S.add(k)}}if(E.availableChildren!==undefined){for(const k of E.availableChildren){tt.add(k)}}}nt.clear()};while(Ze.length||et.size){E.time("visitModules: visiting");processQueue();E.timeEnd("visitModules: visiting");if(tt.size>0){E.time("visitModules: combine available modules");processChunkGroupsForCombining();E.timeEnd("visitModules: combine available modules")}if(et.size>0){E.time("visitModules: calculating available modules");processConnectQueue();E.timeEnd("visitModules: calculating available modules");if(rt.size>0){E.time("visitModules: merging available modules");processChunkGroupsForMerging();E.timeEnd("visitModules: merging available modules")}}if(nt.size>0){E.time("visitModules: check modules for revisit");processOutdatedChunkGroupInfo();E.timeEnd("visitModules: check modules for revisit")}if(Ze.length===0){const E=Ze;Ze=it.reverse();it=E}}E.log(`${we} queue items processed (${Ce} blocks)`);E.log(`${Me} chunk groups connected`);E.log(`${Te} chunk groups processed for merging (${Ie} module sets, ${Oe} forked, ${Re} + ${Fe} modules forked, ${Ne} + ${Be} modules merged into fork, ${Le} resulting modules)`);E.log(`${je} chunk group info updated (${$e} already connected chunk groups reconnected)`)};const connectChunkGroups=(E,k,S,w)=>{const{chunkGraph:j}=E;const areModulesAvailable=(E,k)=>{for(const S of E.chunks){for(const E of j.getChunkModulesIterable(S)){if(!k.has(E)&&!k.plus.has(E))return false}}return true};for(const[E,w]of S){if(!k.has(E)&&w.every((({chunkGroup:E,originChunkGroupInfo:k})=>areModulesAvailable(E,k.resultingAvailableModules)))){continue}for(let k=0;k{const{chunkGraph:S}=E;for(const w of k){if(w.getNumberOfParents()===0){for(const k of w.chunks){E.chunks.delete(k);S.disconnectChunk(k)}S.disconnectChunkGroup(w);w.remove()}}};const buildChunkGraph=(E,k)=>{const S=E.getLogger("webpack.buildChunkGraph");const w=new Map;const N=new Set;const j=new Map;const q=new Set;S.time("visitModules");visitModules(S,E,k,j,w,q,N);S.timeEnd("visitModules");S.time("connectChunkGroups");connectChunkGroups(E,q,w,j);S.timeEnd("connectChunkGroups");for(const[E,k]of j){for(const S of E.chunks)S.runtime=ee(S.runtime,k.runtime)}S.time("cleanup");cleanupUnconnectedGroups(E,N);S.timeEnd("cleanup")};E.exports=buildChunkGraph},38016:E=>{"use strict";class AddBuildDependenciesPlugin{constructor(E){this.buildDependencies=new Set(E)}apply(E){E.hooks.compilation.tap("AddBuildDependenciesPlugin",(E=>{E.buildDependencies.addAll(this.buildDependencies)}))}}E.exports=AddBuildDependenciesPlugin},46584:E=>{"use strict";class AddManagedPathsPlugin{constructor(E,k){this.managedPaths=new Set(E);this.immutablePaths=new Set(k)}apply(E){for(const k of this.managedPaths){E.managedPaths.add(k)}for(const k of this.immutablePaths){E.immutablePaths.add(k)}}}E.exports=AddManagedPathsPlugin},66620:(E,k,S)=>{"use strict";const w=S(54725);const N=S(52923);const j=Symbol();class IdleFileCachePlugin{constructor(E,k,S,w){this.strategy=E;this.idleTimeout=k;this.idleTimeoutForInitialStore=S;this.idleTimeoutAfterLargeChanges=w}apply(E){let k=this.strategy;const S=this.idleTimeout;const q=Math.min(S,this.idleTimeoutForInitialStore);const ee=this.idleTimeoutAfterLargeChanges;const te=Promise.resolve();let ne=0;let ae=0;let _e=0;const ve=new Map;E.cache.hooks.store.tap({name:"IdleFileCachePlugin",stage:w.STAGE_DISK},((E,S,w)=>{ve.set(E,(()=>k.store(E,S,w)))}));E.cache.hooks.get.tapPromise({name:"IdleFileCachePlugin",stage:w.STAGE_DISK},((E,S,w)=>{const restore=()=>k.restore(E,S).then((N=>{if(N===undefined){w.push(((w,N)=>{if(w!==undefined){ve.set(E,(()=>k.store(E,S,w)))}N()}))}else{return N}}));const N=ve.get(E);if(N!==undefined){ve.delete(E);return N().then(restore)}return restore()}));E.cache.hooks.storeBuildDependencies.tap({name:"IdleFileCachePlugin",stage:w.STAGE_DISK},(E=>{ve.set(j,(()=>k.storeBuildDependencies(E)))}));E.cache.hooks.shutdown.tapPromise({name:"IdleFileCachePlugin",stage:w.STAGE_DISK},(()=>{if(Me){clearTimeout(Me);Me=undefined}we=false;const S=N.getReporter(E);const w=Array.from(ve.values());if(S)S(0,"process pending cache items");const j=w.map((E=>E()));ve.clear();j.push(Ee);const q=Promise.all(j);Ee=q.then((()=>k.afterAllStored()));if(S){Ee=Ee.then((()=>{S(1,`stored`)}))}return Ee.then((()=>{if(k.clear)k.clear()}))}));let Ee=te;let we=false;let Ce=true;const processIdleTasks=()=>{if(we){const S=Date.now();if(ve.size>0){const E=[Ee];const k=S+100;let w=100;for(const[S,N]of ve){ve.delete(S);E.push(N());if(w--<=0||Date.now()>k)break}Ee=Promise.all(E);Ee.then((()=>{ae+=Date.now()-S;Me=setTimeout(processIdleTasks,0);Me.unref()}));return}Ee=Ee.then((async()=>{await k.afterAllStored();ae+=Date.now()-S;_e=Math.max(_e,ae)*.9+ae*.1;ae=0;ne=0})).catch((k=>{const S=E.getInfrastructureLogger("IdleFileCachePlugin");S.warn(`Background tasks during idle failed: ${k.message}`);S.debug(k.stack)}));Ce=false}};let Me=undefined;E.cache.hooks.beginIdle.tap({name:"IdleFileCachePlugin",stage:w.STAGE_DISK},(()=>{const k=ne>_e*2;if(Ce&&q{Me=undefined;we=true;te.then(processIdleTasks)}),Math.min(Ce?q:Infinity,k?ee:Infinity,S));Me.unref()}));E.cache.hooks.endIdle.tap({name:"IdleFileCachePlugin",stage:w.STAGE_DISK},(()=>{if(Me){clearTimeout(Me);Me=undefined}we=false}));E.hooks.done.tap("IdleFileCachePlugin",(E=>{ne*=.9;ne+=E.endTime-E.startTime}))}}E.exports=IdleFileCachePlugin},47786:(E,k,S)=>{"use strict";const w=S(54725);class MemoryCachePlugin{apply(E){const k=new Map;E.cache.hooks.store.tap({name:"MemoryCachePlugin",stage:w.STAGE_MEMORY},((E,S,w)=>{k.set(E,{etag:S,data:w})}));E.cache.hooks.get.tap({name:"MemoryCachePlugin",stage:w.STAGE_MEMORY},((E,S,w)=>{const N=k.get(E);if(N===null){return null}else if(N!==undefined){return N.etag===S?N.data:null}w.push(((w,N)=>{if(w===undefined){k.set(E,null)}else{k.set(E,{etag:S,data:w})}return N()}))}));E.cache.hooks.shutdown.tap({name:"MemoryCachePlugin",stage:w.STAGE_MEMORY},(()=>{k.clear()}))}}E.exports=MemoryCachePlugin},71162:(E,k,S)=>{"use strict";const w=S(54725);class MemoryWithGcCachePlugin{constructor({maxGenerations:E}){this._maxGenerations=E}apply(E){const k=this._maxGenerations;const S=new Map;const N=new Map;let j=0;let q=0;const ee=E.getInfrastructureLogger("MemoryWithGcCachePlugin");E.hooks.afterDone.tap("MemoryWithGcCachePlugin",(()=>{j++;let E=0;let w;for(const[k,q]of N){if(q.until>j)break;N.delete(k);if(S.get(k)===undefined){S.delete(k);E++;w=k}}if(E>0||N.size>0){ee.log(`${S.size-N.size} active entries, ${N.size} recently unused cached entries${E>0?`, ${E} old unused cache entries removed e. g. ${w}`:""}`)}let te=S.size/k|0;let ne=q>=S.size?0:q;q=ne+te;for(const[E,w]of S){if(ne!==0){ne--;continue}if(w!==undefined){S.set(E,undefined);N.delete(E);N.set(E,{entry:w,until:j+k});if(te--===0)break}}}));E.cache.hooks.store.tap({name:"MemoryWithGcCachePlugin",stage:w.STAGE_MEMORY},((E,k,w)=>{S.set(E,{etag:k,data:w})}));E.cache.hooks.get.tap({name:"MemoryWithGcCachePlugin",stage:w.STAGE_MEMORY},((E,k,w)=>{const j=S.get(E);if(j===null){return null}else if(j!==undefined){return j.etag===k?j.data:null}const q=N.get(E);if(q!==undefined){const w=q.entry;if(w===null){N.delete(E);S.set(E,w);return null}else{if(w.etag!==k)return null;N.delete(E);S.set(E,w);return w.data}}w.push(((w,N)=>{if(w===undefined){S.set(E,null)}else{S.set(E,{etag:k,data:w})}return N()}))}));E.cache.hooks.shutdown.tap({name:"MemoryWithGcCachePlugin",stage:w.STAGE_MEMORY},(()=>{S.clear();N.clear()}))}}E.exports=MemoryWithGcCachePlugin},83793:(E,k,S)=>{"use strict";const w=S(22996);const N=S(52923);const{formatSize:j}=S(9192);const q=S(43065);const ee=S(83379);const te=S(56202);const ne=S(91671);const{createFileSerializer:ae,NOT_SERIALIZABLE:_e}=S(24568);class PackContainer{constructor(E,k,S,w,N,j){this.data=E;this.version=k;this.buildSnapshot=S;this.buildDependencies=w;this.resolveResults=N;this.resolveBuildDependenciesSnapshot=j}serialize({write:E,writeLazy:k}){E(this.version);E(this.buildSnapshot);E(this.buildDependencies);E(this.resolveResults);E(this.resolveBuildDependenciesSnapshot);k(this.data)}deserialize({read:E}){this.version=E();this.buildSnapshot=E();this.buildDependencies=E();this.resolveResults=E();this.resolveBuildDependenciesSnapshot=E();this.data=E()}}te(PackContainer,"webpack/lib/cache/PackFileCacheStrategy","PackContainer");const ve=1024*1024;const Ee=10;const we=5e4;class PackItemInfo{constructor(E,k,S){this.identifier=E;this.etag=k;this.location=-1;this.lastAccess=Date.now();this.freshValue=S}}class Pack{constructor(E,k){this.itemInfo=new Map;this.requests=[];this.freshContent=new Map;this.content=[];this.invalid=false;this.logger=E;this.maxAge=k}get(E,k){const S=this.itemInfo.get(E);this.requests.push(E);if(S===undefined){return undefined}if(S.etag!==k)return null;S.lastAccess=Date.now();const w=S.location;if(w===-1){return S.freshValue}else{if(!this.content[w]){return undefined}return this.content[w].get(E)}}set(E,k,S){if(!this.invalid){this.invalid=true;this.logger.log(`Pack got invalid because of write to: ${E}`)}const w=this.itemInfo.get(E);if(w===undefined){const w=new PackItemInfo(E,k,S);this.itemInfo.set(E,w);this.requests.push(E);this.freshContent.set(E,w)}else{const N=w.location;if(N>=0){this.requests.push(E);this.freshContent.set(E,w);const k=this.content[N];k.delete(E);if(k.items.size===0){this.content[N]=undefined;this.logger.debug("Pack %d got empty and is removed",N)}}w.freshValue=S;w.lastAccess=Date.now();w.etag=k;w.location=-1}}getContentStats(){let E=0;let k=0;for(const S of this.content){if(S!==undefined){E++;const w=S.getSize();if(w>0){k+=w}}}return{count:E,size:k}}_findLocation(){let E;for(E=0;Ethis.maxAge){this.itemInfo.delete(q);E.delete(q);k.delete(q);w++;N=q}else{ee.location=S}}if(w>0){this.logger.log("Garbage Collected %d old items at pack %d (%d items remaining) e. g. %s",w,S,E.size,N)}}_persistFreshContent(){if(this.freshContent.size>0){const E=Math.ceil(this.freshContent.size/we);const k=Math.ceil(this.freshContent.size/E);this.logger.log(`${this.freshContent.size} fresh items in cache`);const S=Array.from({length:E},(()=>{const E=this._findLocation();this.content[E]=null;return{items:new Set,map:new Map,loc:E}}));let w=0;let N=S[0];let j=0;for(const E of this.requests){const q=this.freshContent.get(E);if(q===undefined)continue;N.items.add(E);N.map.set(E,q.freshValue);q.location=N.loc;q.freshValue=undefined;this.freshContent.delete(E);if(++w>k){w=0;N=S[++j]}}for(const E of S){this.content[E.loc]=new PackContent(E.items,new Set(E.items),new PackContentItems(E.map))}}}_optimizeSmallContent(){const E=[];let k=0;const S=[];let w=0;for(let N=0;Nve)continue;if(j.used.size>0){E.push(N);k+=q}else{S.push(N);w+=q}}let N;if(E.length>=Ee||k>ve){N=E}else if(S.length>=Ee||w>ve){N=S}else return;const j=[];for(const E of N){j.push(this.content[E]);this.content[E]=undefined}const q=new Set;const ee=new Set;const te=[];for(const E of j){for(const k of E.items){q.add(k)}for(const k of E.used){ee.add(k)}te.push((async k=>{await E.unpack();for(const[S,w]of E.content){k.set(S,w)}}))}const ae=this._findLocation();this._gcAndUpdateLocation(q,ee,ae);if(q.size>0){this.content[ae]=new PackContent(q,ee,ne((async()=>{const E=new Map;await Promise.all(te.map((k=>k(E))));return new PackContentItems(E)})));this.logger.log("Merged %d small files with %d cache items into pack %d",j.length,q.size,ae)}}_optimizeUnusedContent(){for(let E=0;E0&&w0){this.content[w]=new PackContent(S,new Set(S),(async()=>{await k.unpack();const E=new Map;for(const w of S){E.set(w,k.content.get(w))}return new PackContentItems(E)}))}const N=new Set(k.items);const j=new Set;for(const E of S){N.delete(E)}const q=this._findLocation();this._gcAndUpdateLocation(N,j,q);if(N.size>0){this.content[q]=new PackContent(N,j,(async()=>{await k.unpack();const E=new Map;for(const S of N){E.set(S,k.content.get(S))}return new PackContentItems(E)}))}this.logger.log("Split pack %d into pack %d with %d used items and pack %d with %d unused items",E,w,S.size,q,N.size);return}}}_gcOldestContent(){let E=undefined;for(const k of this.itemInfo.values()){if(E===undefined||k.lastAccessthis.maxAge){const k=E.location;if(k<0)return;const S=this.content[k];const w=new Set(S.items);const N=new Set(S.used);this._gcAndUpdateLocation(w,N,k);this.content[k]=w.size>0?new PackContent(w,N,(async()=>{await S.unpack();const E=new Map;for(const k of w){E.set(k,S.content.get(k))}return new PackContentItems(E)})):undefined}}serialize({write:E,writeSeparate:k}){this._persistFreshContent();this._optimizeSmallContent();this._optimizeUnusedContent();this._gcOldestContent();for(const k of this.itemInfo.keys()){E(k)}E(null);for(const k of this.itemInfo.values()){E(k.etag)}for(const k of this.itemInfo.values()){E(k.lastAccess)}for(let S=0;S{const k=new PackItemInfo(E,undefined,undefined);this.itemInfo.set(E,k);return k}));for(const k of w){k.etag=E()}for(const k of w){k.lastAccess=E()}}this.content.length=0;let S=E();while(S!==null){if(S===undefined){this.content.push(S)}else{const w=this.content.length;const N=E();this.content.push(new PackContent(S,new Set,N,k,`${this.content.length}`));for(const E of S){this.itemInfo.get(E).location=w}}S=E()}}}te(Pack,"webpack/lib/cache/PackFileCacheStrategy","Pack");class PackContentItems{constructor(E){this.map=E}serialize({write:E,snapshot:k,rollback:S,logger:w,profile:N}){if(N){E(false);for(const[N,j]of this.map){const q=k();try{E(N);const k=process.hrtime();E(j);const S=process.hrtime(k);const q=S[0]*1e3+S[1]/1e6;if(q>1){if(q>500)w.error(`Serialization of '${N}': ${q} ms`);else if(q>50)w.warn(`Serialization of '${N}': ${q} ms`);else if(q>10)w.info(`Serialization of '${N}': ${q} ms`);else if(q>5)w.log(`Serialization of '${N}': ${q} ms`);else w.debug(`Serialization of '${N}': ${q} ms`)}}catch(E){S(q);if(E===_e)continue;w.warn(`Skipped not serializable cache item '${N}': ${E.message}`);w.debug(E.stack)}}E(null);return}const j=k();try{E(true);E(this.map)}catch(N){S(j);E(false);for(const[N,j]of this.map){const q=k();try{E(N);E(j)}catch(E){S(q);if(E===_e)continue;w.warn(`Skipped not serializable cache item '${N}': ${E.message}`);w.debug(E.stack)}}E(null)}}deserialize({read:E,logger:k,profile:S}){if(E()){this.map=E()}else if(S){const S=new Map;let w=E();while(w!==null){const N=process.hrtime();const j=E();const q=process.hrtime(N);const ee=q[0]*1e3+q[1]/1e6;if(ee>1){if(ee>100)k.error(`Deserialization of '${w}': ${ee} ms`);else if(ee>20)k.warn(`Deserialization of '${w}': ${ee} ms`);else if(ee>5)k.info(`Deserialization of '${w}': ${ee} ms`);else if(ee>2)k.log(`Deserialization of '${w}': ${ee} ms`);else k.debug(`Deserialization of '${w}': ${ee} ms`)}S.set(w,j);w=E()}this.map=S}else{const k=new Map;let S=E();while(S!==null){k.set(S,E());S=E()}this.map=k}}}te(PackContentItems,"webpack/lib/cache/PackFileCacheStrategy","PackContentItems");class PackContent{constructor(E,k,S,w,N){this.items=E;this.lazy=typeof S==="function"?S:undefined;this.content=typeof S==="function"?undefined:S.map;this.outdated=false;this.used=k;this.logger=w;this.lazyName=N}get(E){this.used.add(E);if(this.content){return this.content.get(E)}const{lazyName:k}=this;let S;if(k){this.lazyName=undefined;S=`restore cache content ${k} (${j(this.getSize())})`;this.logger.log(`starting to restore cache content ${k} (${j(this.getSize())}) because of request to: ${E}`);this.logger.time(S)}const w=this.lazy();if(w instanceof Promise){return w.then((k=>{const w=k.map;if(S){this.logger.timeEnd(S)}this.content=w;this.lazy=q.unMemoizeLazy(this.lazy);return w.get(E)}))}else{const k=w.map;if(S){this.logger.timeEnd(S)}this.content=k;this.lazy=q.unMemoizeLazy(this.lazy);return k.get(E)}}unpack(){if(this.content)return;if(this.lazy){const{lazyName:E}=this;let k;if(E){this.lazyName=undefined;k=`unpack cache content ${E} (${j(this.getSize())})`;this.logger.time(k)}const S=this.lazy();if(S instanceof Promise){return S.then((E=>{if(k){this.logger.timeEnd(k)}this.content=E.map}))}else{if(k){this.logger.timeEnd(k)}this.content=S.map}}}getSize(){if(!this.lazy)return-1;const E=this.lazy.options;if(!E)return-1;const k=E.size;if(typeof k!=="number")return-1;return k}delete(E){this.items.delete(E);this.used.delete(E);this.outdated=true}getLazyContentItems(){if(!this.outdated&&this.lazy)return this.lazy;if(!this.outdated&&this.content){const E=new Map(this.content);return this.lazy=ne((()=>new PackContentItems(E)))}this.outdated=false;if(this.content){return this.lazy=ne((()=>{const E=new Map;for(const k of this.items){E.set(k,this.content.get(k))}return new PackContentItems(E)}))}const E=this.lazy;return this.lazy=()=>{const k=E();if(k instanceof Promise){return k.then((E=>{const k=E.map;const S=new Map;for(const E of this.items){S.set(E,k.get(E))}return new PackContentItems(S)}))}else{const E=k.map;const S=new Map;for(const k of this.items){S.set(k,E.get(k))}return new PackContentItems(S)}}}}const allowCollectingMemory=E=>{const k=E.buffer.byteLength-E.byteLength;if(k>8192&&(k>1048576||k>E.byteLength)){return Buffer.from(E)}return E};class PackFileCacheStrategy{constructor({compiler:E,fs:k,context:S,cacheLocation:N,version:j,logger:q,snapshot:te,maxAge:ne,profile:_e,allowCollectingMemory:ve,compression:Ee}){this.fileSerializer=ae(k);this.fileSystemInfo=new w(k,{managedPaths:te.managedPaths,immutablePaths:te.immutablePaths,logger:q.getChildLogger("webpack.FileSystemInfo")});this.compiler=E;this.context=S;this.cacheLocation=N;this.version=j;this.logger=q;this.maxAge=ne;this.profile=_e;this.allowCollectingMemory=ve;this.compression=Ee;this._extension=Ee==="brotli"?".pack.br":Ee==="gzip"?".pack.gz":".pack";this.snapshot=te;this.buildDependencies=new Set;this.newBuildDependencies=new ee;this.resolveBuildDependenciesSnapshot=undefined;this.resolveResults=undefined;this.buildSnapshot=undefined;this.packPromise=this._openPack();this.storePromise=Promise.resolve()}_getPack(){if(this.packPromise===undefined){this.packPromise=this.storePromise.then((()=>this._openPack()))}return this.packPromise}_openPack(){const{logger:E,profile:k,cacheLocation:S,version:w}=this;let N;let j;let q;let ee;let te;E.time("restore cache container");return this.fileSerializer.deserialize(null,{filename:`${S}/index${this._extension}`,extension:`${this._extension}`,logger:E,profile:k,retainedBuffer:this.allowCollectingMemory?allowCollectingMemory:undefined}).catch((k=>{if(k.code!=="ENOENT"){E.warn(`Restoring pack failed from ${S}${this._extension}: ${k}`);E.debug(k.stack)}else{E.debug(`No pack exists at ${S}${this._extension}: ${k}`)}return undefined})).then((k=>{E.timeEnd("restore cache container");if(!k)return undefined;if(!(k instanceof PackContainer)){E.warn(`Restored pack from ${S}${this._extension}, but contained content is unexpected.`,k);return undefined}if(k.version!==w){E.log(`Restored pack from ${S}${this._extension}, but version doesn't match.`);return undefined}E.time("check build dependencies");return Promise.all([new Promise(((w,j)=>{this.fileSystemInfo.checkSnapshotValid(k.buildSnapshot,((j,q)=>{if(j){E.log(`Restored pack from ${S}${this._extension}, but checking snapshot of build dependencies errored: ${j}.`);E.debug(j.stack);return w(false)}if(!q){E.log(`Restored pack from ${S}${this._extension}, but build dependencies have changed.`);return w(false)}N=k.buildSnapshot;return w(true)}))})),new Promise(((w,N)=>{this.fileSystemInfo.checkSnapshotValid(k.resolveBuildDependenciesSnapshot,((N,ne)=>{if(N){E.log(`Restored pack from ${S}${this._extension}, but checking snapshot of resolving of build dependencies errored: ${N}.`);E.debug(N.stack);return w(false)}if(ne){ee=k.resolveBuildDependenciesSnapshot;j=k.buildDependencies;te=k.resolveResults;return w(true)}E.log("resolving of build dependencies is invalid, will re-resolve build dependencies");this.fileSystemInfo.checkResolveResultsValid(k.resolveResults,((N,j)=>{if(N){E.log(`Restored pack from ${S}${this._extension}, but resolving of build dependencies errored: ${N}.`);E.debug(N.stack);return w(false)}if(j){q=k.buildDependencies;te=k.resolveResults;return w(true)}E.log(`Restored pack from ${S}${this._extension}, but build dependencies resolve to different locations.`);return w(false)}))}))}))]).catch((k=>{E.timeEnd("check build dependencies");throw k})).then((([S,w])=>{E.timeEnd("check build dependencies");if(S&&w){E.time("restore cache content metadata");const S=k.data();E.timeEnd("restore cache content metadata");return S}return undefined}))})).then((k=>{if(k){k.maxAge=this.maxAge;this.buildSnapshot=N;if(j)this.buildDependencies=j;if(q)this.newBuildDependencies.addAll(q);this.resolveResults=te;this.resolveBuildDependenciesSnapshot=ee;return k}return new Pack(E,this.maxAge)})).catch((k=>{this.logger.warn(`Restoring pack from ${S}${this._extension} failed: ${k}`);this.logger.debug(k.stack);return new Pack(E,this.maxAge)}))}store(E,k,S){return this._getPack().then((w=>{w.set(E,k===null?null:k.toString(),S)}))}restore(E,k){return this._getPack().then((S=>S.get(E,k===null?null:k.toString()))).catch((k=>{if(k&&k.code!=="ENOENT"){this.logger.warn(`Restoring failed for ${E} from pack: ${k}`);this.logger.debug(k.stack)}}))}storeBuildDependencies(E){this.newBuildDependencies.addAll(E)}afterAllStored(){const E=this.packPromise;if(E===undefined)return Promise.resolve();const k=N.getReporter(this.compiler);this.packPromise=undefined;return this.storePromise=E.then((E=>{if(!E.invalid)return;this.logger.log(`Storing pack...`);let S;const w=new Set;for(const E of this.newBuildDependencies){if(!this.buildDependencies.has(E)){w.add(E)}}if(w.size>0||!this.buildSnapshot){if(k)k(.5,"resolve build dependencies");this.logger.debug(`Capturing build dependencies... (${Array.from(w).join(", ")})`);S=new Promise(((E,S)=>{this.logger.time("resolve build dependencies");this.fileSystemInfo.resolveBuildDependencies(this.context,w,((w,N)=>{this.logger.timeEnd("resolve build dependencies");if(w)return S(w);this.logger.time("snapshot build dependencies");const{files:j,directories:q,missing:ee,resolveResults:te,resolveDependencies:ne}=N;if(this.resolveResults){for(const[E,k]of te){this.resolveResults.set(E,k)}}else{this.resolveResults=te}if(k){k(.6,"snapshot build dependencies","resolving")}this.fileSystemInfo.createSnapshot(undefined,ne.files,ne.directories,ne.missing,this.snapshot.resolveBuildDependencies,((w,N)=>{if(w){this.logger.timeEnd("snapshot build dependencies");return S(w)}if(!N){this.logger.timeEnd("snapshot build dependencies");return S(new Error("Unable to snapshot resolve dependencies"))}if(this.resolveBuildDependenciesSnapshot){this.resolveBuildDependenciesSnapshot=this.fileSystemInfo.mergeSnapshots(this.resolveBuildDependenciesSnapshot,N)}else{this.resolveBuildDependenciesSnapshot=N}if(k){k(.7,"snapshot build dependencies","modules")}this.fileSystemInfo.createSnapshot(undefined,j,q,ee,this.snapshot.buildDependencies,((k,w)=>{this.logger.timeEnd("snapshot build dependencies");if(k)return S(k);if(!w){return S(new Error("Unable to snapshot build dependencies"))}this.logger.debug("Captured build dependencies");if(this.buildSnapshot){this.buildSnapshot=this.fileSystemInfo.mergeSnapshots(this.buildSnapshot,w)}else{this.buildSnapshot=w}E()}))}))}))}))}else{S=Promise.resolve()}return S.then((()=>{if(k)k(.8,"serialize pack");this.logger.time(`store pack`);const S=new Set(this.buildDependencies);for(const E of w){S.add(E)}const N=new PackContainer(E,this.version,this.buildSnapshot,S,this.resolveResults,this.resolveBuildDependenciesSnapshot);return this.fileSerializer.serialize(N,{filename:`${this.cacheLocation}/index${this._extension}`,extension:`${this._extension}`,logger:this.logger,profile:this.profile}).then((()=>{for(const E of w){this.buildDependencies.add(E)}this.newBuildDependencies.clear();this.logger.timeEnd(`store pack`);const k=E.getContentStats();this.logger.log("Stored pack (%d items, %d files, %d MiB)",E.itemInfo.size,k.count,Math.round(k.size/1024/1024))})).catch((E=>{this.logger.timeEnd(`store pack`);this.logger.warn(`Caching failed for pack: ${E}`);this.logger.debug(E.stack)}))}))})).catch((E=>{this.logger.warn(`Caching failed for pack: ${E}`);this.logger.debug(E.stack)}))}clear(){this.fileSystemInfo.clear();this.buildDependencies.clear();this.newBuildDependencies.clear();this.resolveBuildDependenciesSnapshot=undefined;this.resolveResults=undefined;this.buildSnapshot=undefined;this.packPromise=undefined}}E.exports=PackFileCacheStrategy},13653:(E,k,S)=>{"use strict";const w=S(83379);const N=S(56202);class CacheEntry{constructor(E,k){this.result=E;this.snapshot=k}serialize({write:E}){E(this.result);E(this.snapshot)}deserialize({read:E}){this.result=E();this.snapshot=E()}}N(CacheEntry,"webpack/lib/cache/ResolverCachePlugin");const addAllToSet=(E,k)=>{if(E instanceof w){E.addAll(k)}else{for(const S of k){E.add(S)}}};const objectToString=(E,k)=>{let S="";for(const w in E){if(k&&w==="context")continue;const N=E[w];if(typeof N==="object"&&N!==null){S+=`|${w}=[${objectToString(N,false)}|]`}else{S+=`|${w}=|${N}`}}return S};class ResolverCachePlugin{apply(E){const k=E.getCache("ResolverCachePlugin");let S;let N;let j=0;let q=0;let ee=0;let te=0;E.hooks.thisCompilation.tap("ResolverCachePlugin",(E=>{N=E.options.snapshot.resolve;S=E.fileSystemInfo;E.hooks.finishModules.tap("ResolverCachePlugin",(()=>{if(j+q>0){const k=E.getLogger("webpack.ResolverCachePlugin");k.log(`${Math.round(100*j/(j+q))}% really resolved (${j} real resolves with ${ee} cached but invalid, ${q} cached valid, ${te} concurrent)`);j=0;q=0;ee=0;te=0}}))}));const doRealResolve=(E,k,q,ee,te)=>{j++;const ne={_ResolverCachePluginCacheMiss:true,...ee};const ae={...q,stack:new Set,missingDependencies:new w,fileDependencies:new w,contextDependencies:new w};const propagate=E=>{if(q[E]){addAllToSet(q[E],ae[E])}};const _e=Date.now();k.doResolve(k.hooks.resolve,ne,"Cache miss",ae,((k,w)=>{propagate("fileDependencies");propagate("contextDependencies");propagate("missingDependencies");if(k)return te(k);const j=ae.fileDependencies;const q=ae.contextDependencies;const ee=ae.missingDependencies;S.createSnapshot(_e,j,q,ee,N,((k,S)=>{if(k)return te(k);if(!S){if(w)return te(null,w);return te()}E.store(new CacheEntry(w,S),(E=>{if(E)return te(E);if(w)return te(null,w);te()}))}))}))};E.resolverFactory.hooks.resolver.intercept({factory(E,w){const N=new Map;w.tap("ResolverCachePlugin",((w,j,te)=>{if(j.cache!==true)return;const ne=objectToString(te,false);const ae=j.cacheWithContext!==undefined?j.cacheWithContext:false;w.hooks.resolve.tapAsync({name:"ResolverCachePlugin",stage:-100},((j,te,_e)=>{if(j._ResolverCachePluginCacheMiss||!S){return _e()}const ve=`${E}${ne}${objectToString(j,!ae)}`;const Ee=N.get(ve);if(Ee){Ee.push(_e);return}const we=k.getItemCache(ve,null);let Ce;const done=(E,k)=>{if(Ce===undefined){_e(E,k);Ce=false}else{for(const S of Ce){S(E,k)}N.delete(ve);Ce=false}};const processCacheResult=(E,k)=>{if(E)return done(E);if(k){const{snapshot:E,result:N}=k;S.checkSnapshotValid(E,((k,S)=>{if(k||!S){ee++;return doRealResolve(we,w,te,j,done)}q++;if(te.missingDependencies){addAllToSet(te.missingDependencies,E.getMissingIterable())}if(te.fileDependencies){addAllToSet(te.fileDependencies,E.getFileIterable())}if(te.contextDependencies){addAllToSet(te.contextDependencies,E.getContextIterable())}done(null,N)}))}else{doRealResolve(we,w,te,j,done)}};we.get(processCacheResult);if(Ce===undefined){Ce=[_e];N.set(ve,Ce)}}))}));return w}})}}E.exports=ResolverCachePlugin},77034:(E,k,S)=>{"use strict";const w=S(35891);class LazyHashedEtag{constructor(E){this._obj=E;this._hash=undefined}toString(){if(this._hash===undefined){const E=w("md4");this._obj.updateHash(E);this._hash=E.digest("base64")}return this._hash}}const N=new WeakMap;const getter=E=>{const k=N.get(E);if(k!==undefined)return k;const S=new LazyHashedEtag(E);N.set(E,S);return S};E.exports=getter},10168:E=>{"use strict";class MergedEtag{constructor(E,k){this.a=E;this.b=k}toString(){return`${this.a.toString()}|${this.b.toString()}`}}const k=new WeakMap;const S=new WeakMap;const mergeEtags=(E,w)=>{if(typeof E==="string"){if(typeof w==="string"){return`${E}|${w}`}else{const k=w;w=E;E=k}}else{if(typeof w!=="string"){let S=k.get(E);if(S===undefined){k.set(E,S=new WeakMap)}const N=S.get(w);if(N===undefined){const k=new MergedEtag(E,w);S.set(w,k);return k}else{return N}}}let N=S.get(E);if(N===undefined){S.set(E,N=new Map)}const j=N.get(w);if(j===undefined){const k=new MergedEtag(E,w);N.set(w,k);return k}else{return j}};E.exports=mergeEtags},61634:(E,k,S)=>{"use strict";const w=S(85622);const N=S(76518);const getArguments=(E=N)=>{const k={};const pathToArgumentName=E=>E.replace(/\./g,"-").replace(/\[\]/g,"").replace(/(\p{Uppercase_Letter}+|\p{Lowercase_Letter}|\d)(\p{Uppercase_Letter}+)/gu,"$1-$2").replace(/-?[^\p{Uppercase_Letter}\p{Lowercase_Letter}\d]+/gu,"-").toLowerCase();const getSchemaPart=k=>{const S=k.split("/");let w=E;for(let E=1;E{for(const{schema:k}of E){if(k.cli&&k.cli.helper)continue;if(k.description)return k.description}};const schemaToArgumentConfig=E=>{if(E.enum){return{type:"enum",values:E.enum}}switch(E.type){case"number":return{type:"number"};case"string":return{type:E.absolutePath?"path":"string"};case"boolean":return{type:"boolean"}}if(E.instanceof==="RegExp"){return{type:"RegExp"}}return undefined};const addResetFlag=E=>{const S=E[0].path;const w=pathToArgumentName(`${S}.reset`);const N=getDescription(E);k[w]={configs:[{type:"reset",multiple:false,description:`Clear all items provided in '${S}' configuration. ${N}`,path:S}],description:undefined,simpleType:undefined,multiple:undefined}};const addFlag=(E,S)=>{const w=schemaToArgumentConfig(E[0].schema);if(!w)return 0;const N=pathToArgumentName(E[0].path);const j={...w,multiple:S,description:getDescription(E),path:E[0].path};if(!k[N]){k[N]={configs:[],description:undefined,simpleType:undefined,multiple:undefined}}if(k[N].configs.some((E=>JSON.stringify(E)===JSON.stringify(j)))){return 0}if(k[N].configs.some((E=>E.type===j.type&&E.multiple!==S))){if(S){throw new Error(`Conflicting schema for ${E[0].path} with ${j.type} type (array type must be before single item type)`)}return 0}k[N].configs.push(j);return 1};const traverse=(E,k="",S=[],w=null)=>{while(E.$ref){E=getSchemaPart(E.$ref)}const N=S.filter((({schema:k})=>k===E));if(N.length>=2||N.some((({path:E})=>E===k))){return 0}if(E.cli&&E.cli.exclude)return 0;const j=[{schema:E,path:k},...S];let q=0;q+=addFlag(j,!!w);if(E.type==="object"){if(E.properties){for(const S of Object.keys(E.properties)){q+=traverse(E.properties[S],k?`${k}.${S}`:S,j,w)}}return q}if(E.type==="array"){if(w){return 0}if(Array.isArray(E.items)){let S=0;for(const w of E.items){q+=traverse(w,`${k}.${S}`,j,k)}return q}q+=traverse(E.items,`${k}[]`,j,k);if(q>0){addResetFlag(j);q++}return q}const ee=E.oneOf||E.anyOf||E.allOf;if(ee){const E=ee;for(let S=0;S{if(!E)return k;if(!k)return E;if(E.includes(k))return E;return`${E} ${k}`}),undefined);S.simpleType=S.configs.reduce(((E,k)=>{let S="string";switch(k.type){case"number":S="number";break;case"reset":case"boolean":S="boolean";break;case"enum":if(k.values.every((E=>typeof E==="boolean")))S="boolean";if(k.values.every((E=>typeof E==="number")))S="number";break}if(E===undefined)return S;return E===S?E:"string"}),undefined);S.multiple=S.configs.some((E=>E.multiple))}return k};const j=new WeakMap;const getObjectAndProperty=(E,k,S=0)=>{if(!k)return{value:E};const w=k.split(".");let N=w.pop();let q=E;let ee=0;for(const E of w){const k=E.endsWith("[]");const N=k?E.slice(0,-2):E;let te=q[N];if(k){if(te===undefined){te={};q[N]=[...Array.from({length:S}),te];j.set(q[N],S+1)}else if(!Array.isArray(te)){return{problem:{type:"unexpected-non-array-in-path",path:w.slice(0,ee).join(".")}}}else{let E=j.get(te)||0;while(E<=S){te.push(undefined);E++}j.set(te,E);const k=te.length-E+S;if(te[k]===undefined){te[k]={}}else if(te[k]===null||typeof te[k]!=="object"){return{problem:{type:"unexpected-non-object-in-path",path:w.slice(0,ee).join(".")}}}te=te[k]}}else{if(te===undefined){te=q[N]={}}else if(te===null||typeof te!=="object"){return{problem:{type:"unexpected-non-object-in-path",path:w.slice(0,ee).join(".")}}}}q=te;ee++}let te=q[N];if(N.endsWith("[]")){const E=N.slice(0,-2);const w=q[E];if(w===undefined){q[E]=[...Array.from({length:S}),undefined];j.set(q[E],S+1);return{object:q[E],property:S,value:undefined}}else if(!Array.isArray(w)){q[E]=[w,...Array.from({length:S}),undefined];j.set(q[E],S+1);return{object:q[E],property:S+1,value:undefined}}else{let E=j.get(w)||0;while(E<=S){w.push(undefined);E++}j.set(w,E);const N=w.length-E+S;if(w[N]===undefined){w[N]={}}else if(w[N]===null||typeof w[N]!=="object"){return{problem:{type:"unexpected-non-object-in-path",path:k}}}return{object:w,property:N,value:w[N]}}}return{object:q,property:N,value:te}};const setValue=(E,k,S,w)=>{const{problem:N,object:j,property:q}=getObjectAndProperty(E,k,w);if(N)return N;j[q]=S;return null};const processArgumentConfig=(E,k,S,w)=>{if(w!==undefined&&!E.multiple){return{type:"multiple-values-unexpected",path:E.path}}const N=parseValueForArgumentConfig(E,S);if(N===undefined){return{type:"invalid-value",path:E.path,expected:getExpectedValue(E)}}const j=setValue(k,E.path,N,w);if(j)return j;return null};const getExpectedValue=E=>{switch(E.type){default:return E.type;case"boolean":return"true | false";case"RegExp":return"regular expression (example: /ab?c*/)";case"enum":return E.values.map((E=>`${E}`)).join(" | ");case"reset":return"true (will reset the previous value to an empty array)"}};const parseValueForArgumentConfig=(E,k)=>{switch(E.type){case"string":if(typeof k==="string"){return k}break;case"path":if(typeof k==="string"){return w.resolve(k)}break;case"number":if(typeof k==="number")return k;if(typeof k==="string"&&/^[+-]?\d*(\.\d*)[eE]\d+$/){const E=+k;if(!isNaN(E))return E}break;case"boolean":if(typeof k==="boolean")return k;if(k==="true")return true;if(k==="false")return false;break;case"RegExp":if(k instanceof RegExp)return k;if(typeof k==="string"){const E=/^\/(.*)\/([yugi]*)$/.exec(k);if(E&&!/[^\\]\//.test(E[1]))return new RegExp(E[1],E[2])}break;case"enum":if(E.values.includes(k))return k;for(const S of E.values){if(`${S}`===k)return S}break;case"reset":if(k===true)return[];break}};const processArguments=(E,k,S)=>{const w=[];for(const N of Object.keys(S)){const j=E[N];if(!j){w.push({type:"unknown-argument",path:"",argument:N});continue}const processValue=(E,S)=>{const q=[];for(const w of j.configs){const j=processArgumentConfig(w,k,E,S);if(!j){return}q.push({...j,argument:N,value:E,index:S})}w.push(...q)};let q=S[N];if(Array.isArray(q)){for(let E=0;E{"use strict";const w=S(69328);const N=S(85622);const j=/^(?:((?:[A-Z]:)?[/\\].*?))?(?::(.+?))?$/i;const parse=(E,k)=>{if(!E){return{}}if(N.isAbsolute(E)){const[,k,S]=j.exec(E)||[];return{configPath:k,env:S}}const S=w.findConfig(k);if(S&&Object.keys(S).includes(E)){return{env:E}}return{query:E}};const load=(E,k)=>{const{configPath:S,env:N,query:j}=parse(E,k);const q=j?j:S?w.loadConfig({config:S,env:N}):w.loadConfig({path:k,env:N});if(!q)return null;return w(q)};const resolve=E=>{const rawChecker=k=>E.every((E=>{const[S,w]=E.split(" ");if(!S)return false;const N=k[S];if(!N)return false;const[j,q]=w==="TP"?[Infinity,Infinity]:w.split(".");if(typeof N==="number"){return+j>=N}return N[0]===+j?+q>=N[1]:+j>N[0]}));const k=E.some((E=>/^node /.test(E)));const S=E.some((E=>/^(?!node)/.test(E)));const w=!S?false:k?null:true;const N=!k?false:S?null:true;const j=rawChecker({chrome:63,and_chr:63,edge:79,firefox:67,and_ff:67,opera:50,op_mob:46,safari:[11,1],ios_saf:[11,3],samsung:[8,2],android:63,and_qq:[10,4],node:[13,14]});return{const:rawChecker({chrome:49,and_chr:49,edge:12,firefox:36,and_ff:36,opera:36,op_mob:36,safari:[10,0],ios_saf:[10,0],samsung:[5,0],android:37,and_qq:[10,4],and_uc:[12,12],kaios:[2,5],node:[6,0]}),arrowFunction:rawChecker({chrome:45,and_chr:45,edge:12,firefox:39,and_ff:39,opera:32,op_mob:32,safari:10,ios_saf:10,samsung:[5,0],android:45,and_qq:[10,4],baidu:[7,12],and_uc:[12,12],kaios:[2,5],node:[6,0]}),forOf:rawChecker({chrome:38,and_chr:38,edge:12,firefox:51,and_ff:51,opera:25,op_mob:25,safari:7,ios_saf:7,samsung:[3,0],android:38,node:[0,12]}),destructuring:rawChecker({chrome:49,and_chr:49,edge:14,firefox:41,and_ff:41,opera:36,op_mob:36,safari:8,ios_saf:8,samsung:[5,0],android:49,node:[6,0]}),bigIntLiteral:rawChecker({chrome:67,and_chr:67,edge:79,firefox:68,and_ff:68,opera:54,op_mob:48,safari:14,ios_saf:14,samsung:[9,2],android:67,node:[10,4]}),module:rawChecker({chrome:61,and_chr:61,edge:16,firefox:60,and_ff:60,opera:48,op_mob:45,safari:[10,1],ios_saf:[10,3],samsung:[8,0],android:61,and_qq:[10,4],node:[13,14]}),dynamicImport:j,dynamicImportInWorker:j&&!k,globalThis:rawChecker({chrome:71,and_chr:71,edge:79,firefox:65,and_ff:65,opera:58,op_mob:50,safari:[12,1],ios_saf:[12,2],samsung:[10,1],android:71,node:[12,0]}),browser:w,electron:false,node:N,nwjs:false,web:w,webworker:false,document:w,fetchWasm:w,global:N,importScripts:false,importScriptsInWorker:true,nodeBuiltins:N,require:N}};E.exports={resolve:resolve,load:load}},54411:(E,k,S)=>{"use strict";const w=S(35747);const N=S(85622);const j=S(58159);const{cleverMerge:q}=S(90149);const{getTargetsProperties:ee,getTargetProperties:te,getDefaultTarget:ne}=S(71322);const ae=/[\\/]node_modules[\\/]/i;const D=(E,k,S)=>{if(E[k]===undefined){E[k]=S}};const F=(E,k,S)=>{if(E[k]===undefined){E[k]=S()}};const A=(E,k,S)=>{const w=E[k];if(w===undefined){E[k]=S()}else if(Array.isArray(w)){let N=undefined;for(let j=0;j{F(E,"context",(()=>process.cwd()));applyInfrastructureLoggingDefaults(E.infrastructureLogging)};const applyWebpackOptionsDefaults=E=>{F(E,"context",(()=>process.cwd()));F(E,"target",(()=>ne(E.context)));const{mode:k,name:w,target:N}=E;let j=N===false?false:typeof N==="string"?te(N,E.context):ee(N,E.context);const ae=k==="development";const _e=k==="production"||!k;if(typeof E.entry!=="function"){for(const k of Object.keys(E.entry)){F(E.entry[k],"import",(()=>["./src"]))}}F(E,"devtool",(()=>ae?"eval":false));D(E,"watch",false);D(E,"profile",false);D(E,"parallelism",100);D(E,"recordsInputPath",false);D(E,"recordsOutputPath",false);F(E,"cache",(()=>ae?{type:"memory"}:false));applyCacheDefaults(E.cache,{name:w||"default",mode:k||"production",development:ae});const ve=!!E.cache;applySnapshotDefaults(E.snapshot,{production:_e});applyExperimentsDefaults(E.experiments);applyModuleDefaults(E.module,{cache:ve,syncWebAssembly:E.experiments.syncWebAssembly,asyncWebAssembly:E.experiments.asyncWebAssembly});applyOutputDefaults(E.output,{context:E.context,targetProperties:j,isAffectedByBrowserslist:N===undefined||typeof N==="string"&&N.startsWith("browserslist")||Array.isArray(N)&&N.some((E=>E.startsWith("browserslist"))),outputModule:E.experiments.outputModule,development:ae,entry:E.entry,module:E.module});applyExternalsPresetsDefaults(E.externalsPresets,{targetProperties:j});applyLoaderDefaults(E.loader,{targetProperties:j});F(E,"externalsType",(()=>{const k=S(76518).definitions.ExternalsType.enum;return E.output.library&&k.includes(E.output.library.type)?E.output.library.type:E.output.module?"module":"var"}));applyNodeDefaults(E.node,{targetProperties:j});F(E,"performance",(()=>_e&&j&&(j.browser||j.browser===null)?{}:false));applyPerformanceDefaults(E.performance,{production:_e});applyOptimizationDefaults(E.optimization,{development:ae,production:_e,records:!!(E.recordsInputPath||E.recordsOutputPath)});E.resolve=q(getResolveDefaults({cache:ve,context:E.context,targetProperties:j,mode:E.mode}),E.resolve);E.resolveLoader=q(getResolveLoaderDefaults({cache:ve}),E.resolveLoader)};const applyExperimentsDefaults=E=>{D(E,"topLevelAwait",false);D(E,"syncWebAssembly",false);D(E,"asyncWebAssembly",false);D(E,"outputModule",false)};const applyCacheDefaults=(E,{name:k,mode:S,development:j})=>{if(E===false)return;switch(E.type){case"filesystem":F(E,"name",(()=>k+"-"+S));D(E,"version","");F(E,"cacheDirectory",(()=>{const E=process.cwd();let k=E;for(;;){try{if(w.statSync(N.join(k,"package.json")).isFile())break}catch(E){}const E=N.dirname(k);if(k===E){k=undefined;break}k=E}if(!k){return N.resolve(E,".cache/webpack")}else if(process.versions.pnp==="1"){return N.resolve(k,".pnp/.cache/webpack")}else if(process.versions.pnp==="3"){return N.resolve(k,".yarn/.cache/webpack")}else{return N.resolve(k,"node_modules/.cache/webpack")}}));F(E,"cacheLocation",(()=>N.resolve(E.cacheDirectory,E.name)));D(E,"hashAlgorithm","md4");D(E,"store","pack");D(E,"compression",j?false:"gzip");D(E,"profile",false);D(E,"idleTimeout",6e4);D(E,"idleTimeoutForInitialStore",5e3);D(E,"idleTimeoutAfterLargeChanges",1e3);D(E,"maxMemoryGenerations",j?5:Infinity);D(E,"maxAge",1e3*60*60*24*60);D(E,"allowCollectingMemory",j);D(E.buildDependencies,"defaultWebpack",[N.resolve(__dirname,"..")+N.sep]);break;case"memory":D(E,"maxGenerations",Infinity);break}};const applySnapshotDefaults=(E,{production:k})=>{A(E,"managedPaths",(()=>{if(process.versions.pnp==="3"){const E=/^(.+?)[\\/]cache[\\/]watchpack-npm-[^\\/]+\.zip[\\/]node_modules[\\/]/.exec(92512);if(E){return[N.resolve(E[1],"unplugged")]}}else{const E=/^(.+?[\\/]node_modules)[\\/]/.exec(92512);if(E){return[E[1]]}}return[]}));A(E,"immutablePaths",(()=>{if(process.versions.pnp==="1"){const E=/^(.+?[\\/]v4)[\\/]npm-watchpack-[^\\/]+-[\da-f]{40}[\\/]node_modules[\\/]/.exec(92512);if(E){return[E[1]]}}else if(process.versions.pnp==="3"){const E=/^(.+?)[\\/]watchpack-npm-[^\\/]+\.zip[\\/]node_modules[\\/]/.exec(92512);if(E){return[E[1]]}}return[]}));F(E,"resolveBuildDependencies",(()=>({timestamp:true,hash:true})));F(E,"buildDependencies",(()=>({timestamp:true,hash:true})));F(E,"module",(()=>k?{timestamp:true,hash:true}:{timestamp:true}));F(E,"resolve",(()=>k?{timestamp:true,hash:true}:{timestamp:true}))};const applyJavascriptParserOptionsDefaults=E=>{D(E,"unknownContextRequest",".");D(E,"unknownContextRegExp",false);D(E,"unknownContextRecursive",true);D(E,"unknownContextCritical",true);D(E,"exprContextRequest",".");D(E,"exprContextRegExp",false);D(E,"exprContextRecursive",true);D(E,"exprContextCritical",true);D(E,"wrappedContextRegExp",/.*/);D(E,"wrappedContextRecursive",true);D(E,"wrappedContextCritical",false);D(E,"strictExportPresence",false);D(E,"strictThisContextOnImports",false)};const applyModuleDefaults=(E,{cache:k,syncWebAssembly:S,asyncWebAssembly:w})=>{if(k){D(E,"unsafeCache",(E=>{const k=E.nameForCondition();return k&&ae.test(k)}))}else{D(E,"unsafeCache",false)}F(E.parser,"asset",(()=>({})));F(E.parser.asset,"dataUrlCondition",(()=>({})));if(typeof E.parser.asset.dataUrlCondition==="object"){D(E.parser.asset.dataUrlCondition,"maxSize",8096)}F(E.parser,"javascript",(()=>({})));applyJavascriptParserOptionsDefaults(E.parser.javascript);A(E,"defaultRules",(()=>{const E={type:"javascript/esm",resolve:{byDependency:{esm:{fullySpecified:true}}}};const k={type:"javascript/dynamic"};const N=[{mimetype:"application/node",type:"javascript/auto"},{test:/\.json$/i,type:"json"},{mimetype:"application/json",type:"json"},{test:/\.mjs$/i,...E},{test:/\.js$/i,descriptionData:{type:"module"},...E},{test:/\.cjs$/i,...k},{test:/\.js$/i,descriptionData:{type:"commonjs"},...k},{mimetype:{or:["text/javascript","application/javascript"]},...E},{dependency:"url",oneOf:[{scheme:/^data$/,type:"asset/inline"},{type:"asset/resource"}]}];if(w){const E={type:"webassembly/async",rules:[{descriptionData:{type:"module"},resolve:{fullySpecified:true}}]};N.push({test:/\.wasm$/i,...E});N.push({mimetype:"application/wasm",...E})}else if(S){const E={type:"webassembly/sync",rules:[{descriptionData:{type:"module"},resolve:{fullySpecified:true}}]};N.push({test:/\.wasm$/i,...E});N.push({mimetype:"application/wasm",...E})}return N}))};const applyOutputDefaults=(E,{context:k,targetProperties:S,isAffectedByBrowserslist:q,outputModule:ee,development:te,entry:ne,module:ae})=>{const getLibraryName=E=>{const k=typeof E==="object"&&E&&!Array.isArray(E)&&"type"in E?E.name:E;if(Array.isArray(k)){return k.join(".")}else if(typeof k==="object"){return getLibraryName(k.root)}else if(typeof k==="string"){return k}return""};F(E,"uniqueName",(()=>{const S=getLibraryName(E.library);if(S)return S;const j=N.resolve(k,"package.json");try{const E=JSON.parse(w.readFileSync(j,"utf-8"));return E.name||""}catch(E){if(E.code!=="ENOENT"){E.message+=`\nwhile determining default 'output.uniqueName' from 'name' in ${j}`;throw E}return""}}));F(E,"module",(()=>!!ee));D(E,"filename",E.module?"[name].mjs":"[name].js");F(E,"iife",(()=>!E.module));D(E,"importFunctionName","import");D(E,"importMetaName","import.meta");F(E,"chunkFilename",(()=>{const k=E.filename;if(typeof k!=="function"){const E=k.includes("[name]");const S=k.includes("[id]");const w=k.includes("[chunkhash]");const N=k.includes("[contenthash]");if(w||N||E||S)return k;return k.replace(/(^|\/)([^/]*(?:\?|$))/,"$1[id].$2")}return E.module?"[id].mjs":"[id].js"}));D(E,"assetModuleFilename","[hash][ext][query]");D(E,"webassemblyModuleFilename","[hash].module.wasm");D(E,"compareBeforeEmit",true);D(E,"charset",true);F(E,"hotUpdateGlobal",(()=>j.toIdentifier("webpackHotUpdate"+j.toIdentifier(E.uniqueName))));F(E,"chunkLoadingGlobal",(()=>j.toIdentifier("webpackChunk"+j.toIdentifier(E.uniqueName))));F(E,"globalObject",(()=>{if(S){if(S.global)return"global";if(S.globalThis)return"globalThis"}return"self"}));F(E,"chunkFormat",(()=>{if(S){const k=q?"Make sure that your 'browserslist' includes only platforms that support these features or select an appropriate 'target' to allow selecting a chunk format by default. Alternatively specify the 'output.chunkFormat' directly.":"Select an appropriate 'target' to allow selecting one by default, or specify the 'output.chunkFormat' directly.";if(E.module){if(S.dynamicImport)return"module";if(S.document)return"array-push";throw new Error("For the selected environment is no default ESM chunk format available:\n"+"ESM exports can be chosen when 'import()' is available.\n"+"JSONP Array push can be chosen when 'document' is available.\n"+k)}else{if(S.document)return"array-push";if(S.require)return"commonjs";if(S.nodeBuiltins)return"commonjs";if(S.importScripts)return"array-push";throw new Error("For the selected environment is no default script chunk format available:\n"+"JSONP Array push can be chosen when 'document' or 'importScripts' is available.\n"+"CommonJs exports can be chosen when 'require' or node builtins are available.\n"+k)}}throw new Error("Chunk format can't be selected by default when no target is specified")}));F(E,"chunkLoading",(()=>{if(S){switch(E.chunkFormat){case"array-push":if(S.document)return"jsonp";if(S.importScripts)return"import-scripts";break;case"commonjs":if(S.require)return"require";if(S.nodeBuiltins)return"async-node";break;case"module":if(S.dynamicImport)return"import";break}if(S.require===null||S.nodeBuiltins===null||S.document===null||S.importScripts===null){return"universal"}}return false}));F(E,"workerChunkLoading",(()=>{if(S){switch(E.chunkFormat){case"array-push":if(S.importScriptsInWorker)return"import-scripts";break;case"commonjs":if(S.require)return"require";if(S.nodeBuiltins)return"async-node";break;case"module":if(S.dynamicImportInWorker)return"import";break}if(S.require===null||S.nodeBuiltins===null||S.importScriptsInWorker===null){return"universal"}}return false}));F(E,"wasmLoading",(()=>{if(S){if(S.fetchWasm)return"fetch";if(S.nodeBuiltins)return E.module?"async-node-module":"async-node";if(S.nodeBuiltins===null||S.fetchWasm===null){return"universal"}}return false}));F(E,"workerWasmLoading",(()=>E.wasmLoading));F(E,"devtoolNamespace",(()=>E.uniqueName));if(E.library){F(E.library,"type",(()=>E.module?"module":"var"))}F(E,"path",(()=>N.join(process.cwd(),"dist")));F(E,"pathinfo",(()=>te));D(E,"sourceMapFilename","[file].map[query]");D(E,"hotUpdateChunkFilename",`[id].[fullhash].hot-update.${E.module?"mjs":"js"}`);D(E,"hotUpdateMainFilename","[runtime].[fullhash].hot-update.json");D(E,"crossOriginLoading",false);F(E,"scriptType",(()=>E.module?"module":false));D(E,"publicPath",S&&(S.document||S.importScripts)||E.scriptType==="module"?"auto":"");D(E,"chunkLoadTimeout",12e4);D(E,"hashFunction","md4");D(E,"hashDigest","hex");D(E,"hashDigestLength",20);D(E,"strictModuleExceptionHandling",false);const optimistic=E=>E||E===undefined;F(E.environment,"arrowFunction",(()=>S&&optimistic(S.arrowFunction)));F(E.environment,"const",(()=>S&&optimistic(S.const)));F(E.environment,"destructuring",(()=>S&&optimistic(S.destructuring)));F(E.environment,"forOf",(()=>S&&optimistic(S.forOf)));F(E.environment,"bigIntLiteral",(()=>S&&S.bigIntLiteral));F(E.environment,"dynamicImport",(()=>S&&S.dynamicImport));F(E.environment,"module",(()=>S&&S.module));const{trustedTypes:_e}=E;if(_e){F(_e,"policyName",(()=>E.uniqueName.replace(/[^a-zA-Z0-9\-#=_/@.%]+/g,"_")||"webpack"))}const forEachEntry=E=>{for(const k of Object.keys(ne)){E(ne[k])}};A(E,"enabledLibraryTypes",(()=>{const k=[];if(E.library){k.push(E.library.type)}forEachEntry((E=>{if(E.library){k.push(E.library.type)}}));return k}));A(E,"enabledChunkLoadingTypes",(()=>{const k=new Set;if(E.chunkLoading){k.add(E.chunkLoading)}if(E.workerChunkLoading){k.add(E.workerChunkLoading)}forEachEntry((E=>{if(E.chunkLoading){k.add(E.chunkLoading)}}));return Array.from(k)}));A(E,"enabledWasmLoadingTypes",(()=>{const k=new Set;if(E.wasmLoading){k.add(E.wasmLoading)}if(E.workerWasmLoading){k.add(E.workerWasmLoading)}forEachEntry((E=>{if(E.wasmLoading){k.add(E.wasmLoading)}}));return Array.from(k)}))};const applyExternalsPresetsDefaults=(E,{targetProperties:k})=>{D(E,"web",k&&k.web);D(E,"node",k&&k.node);D(E,"nwjs",k&&k.nwjs);D(E,"electron",k&&k.electron);D(E,"electronMain",k&&k.electron&&k.electronMain);D(E,"electronPreload",k&&k.electron&&k.electronPreload);D(E,"electronRenderer",k&&k.electron&&k.electronRenderer)};const applyLoaderDefaults=(E,{targetProperties:k})=>{F(E,"target",(()=>{if(k){if(k.electron){if(k.electronMain)return"electron-main";if(k.electronPreload)return"electron-preload";if(k.electronRenderer)return"electron-renderer";return"electron"}if(k.nwjs)return"nwjs";if(k.node)return"node";if(k.web)return"web"}}))};const applyNodeDefaults=(E,{targetProperties:k})=>{if(E===false)return;F(E,"global",(()=>{if(k&&k.global)return false;return true}));F(E,"__filename",(()=>{if(k&&k.node)return"eval-only";return"mock"}));F(E,"__dirname",(()=>{if(k&&k.node)return"eval-only";return"mock"}))};const applyPerformanceDefaults=(E,{production:k})=>{if(E===false)return;D(E,"maxAssetSize",25e4);D(E,"maxEntrypointSize",25e4);F(E,"hints",(()=>k?"warning":false))};const applyOptimizationDefaults=(E,{production:k,development:w,records:N})=>{D(E,"removeAvailableModules",false);D(E,"removeEmptyChunks",true);D(E,"mergeDuplicateChunks",true);D(E,"flagIncludedChunks",k);F(E,"moduleIds",(()=>{if(k)return"deterministic";if(w)return"named";return"natural"}));F(E,"chunkIds",(()=>{if(k)return"deterministic";if(w)return"named";return"natural"}));F(E,"sideEffects",(()=>k?true:"flag"));D(E,"providedExports",true);D(E,"usedExports",k);D(E,"innerGraph",k);D(E,"mangleExports",k);D(E,"concatenateModules",k);D(E,"runtimeChunk",false);D(E,"emitOnErrors",!k);D(E,"checkWasmTypes",k);D(E,"mangleWasmImports",false);D(E,"portableRecords",N);D(E,"realContentHash",k);D(E,"minimize",k);A(E,"minimizer",(()=>[{apply:E=>{const k=S(96013);new k({terserOptions:{compress:{passes:2}}}).apply(E)}}]));F(E,"nodeEnv",(()=>{if(k)return"production";if(w)return"development";return false}));const{splitChunks:j}=E;if(j){A(j,"defaultSizeTypes",(()=>["javascript","unknown"]));D(j,"hidePathInfo",k);D(j,"chunks","async");D(j,"usedExports",E.usedExports===true);D(j,"minChunks",1);F(j,"minSize",(()=>k?2e4:1e4));F(j,"minRemainingSize",(()=>w?0:undefined));F(j,"enforceSizeThreshold",(()=>k?5e4:3e4));F(j,"maxAsyncRequests",(()=>k?30:Infinity));F(j,"maxInitialRequests",(()=>k?30:Infinity));D(j,"automaticNameDelimiter","-");const{cacheGroups:S}=j;F(S,"default",(()=>({idHint:"",reuseExistingChunk:true,minChunks:2,priority:-20})));F(S,"defaultVendors",(()=>({idHint:"vendors",reuseExistingChunk:true,test:ae,priority:-10})))}};const getResolveDefaults=({cache:E,context:k,targetProperties:S,mode:w})=>{const N=["webpack"];N.push(w==="development"?"development":"production");if(S){if(S.webworker)N.push("worker");if(S.node)N.push("node");if(S.web)N.push("browser");if(S.electron)N.push("electron");if(S.nwjs)N.push("nwjs")}const j=[".js",".json",".wasm"];const q=S;const ee=q&&q.web&&(!q.node||q.electron&&q.electronRenderer);const cjsDeps=()=>({aliasFields:ee?["browser"]:[],mainFields:ee?["browser","module","..."]:["module","..."],conditionNames:["require","module","..."],extensions:[...j]});const esmDeps=()=>({aliasFields:ee?["browser"]:[],mainFields:ee?["browser","module","..."]:["module","..."],conditionNames:["import","module","..."],extensions:[...j]});const te={cache:E,modules:["node_modules"],conditionNames:N,mainFiles:["index"],extensions:[],aliasFields:[],exportsFields:["exports"],roots:[k],mainFields:["main"],byDependency:{wasm:esmDeps(),esm:esmDeps(),loaderImport:esmDeps(),url:{preferRelative:true},worker:{...esmDeps(),preferRelative:true},commonjs:cjsDeps(),amd:cjsDeps(),loader:cjsDeps(),unknown:cjsDeps(),undefined:cjsDeps()}};return te};const getResolveLoaderDefaults=({cache:E})=>{const k={cache:E,conditionNames:["loader","require","node"],exportsFields:["exports"],mainFields:["loader","main"],extensions:[".js"],mainFiles:["index"]};return k};const applyInfrastructureLoggingDefaults=E=>{F(E,"stream",(()=>process.stderr));const k=E.stream.isTTY&&process.env.TERM!=="dumb";D(E,"level","info");D(E,"debug",false);D(E,"colors",k);D(E,"appendOnly",!k)};k.applyWebpackOptionsBaseDefaults=applyWebpackOptionsBaseDefaults;k.applyWebpackOptionsDefaults=applyWebpackOptionsDefaults},96590:(E,k,S)=>{"use strict";const w=S(31669);const N=w.deprecate(((E,k)=>{if(k!==undefined&&!E===!k){throw new Error("Conflicting use of 'optimization.noEmitOnErrors' and 'optimization.emitOnErrors'. Remove deprecated 'optimization.noEmitOnErrors' from config.")}return!E}),"optimization.noEmitOnErrors is deprecated in favor of optimization.emitOnErrors","DEP_WEBPACK_CONFIGURATION_OPTIMIZATION_NO_EMIT_ON_ERRORS");const nestedConfig=(E,k)=>E===undefined?k({}):k(E);const cloneObject=E=>({...E});const optionalNestedConfig=(E,k)=>E===undefined?undefined:k(E);const nestedArray=(E,k)=>Array.isArray(E)?k(E):k([]);const optionalNestedArray=(E,k)=>Array.isArray(E)?k(E):undefined;const keyedNestedConfig=(E,k,S)=>{const w=E===undefined?{}:Object.keys(E).reduce(((w,N)=>(w[N]=(S&&N in S?S[N]:k)(E[N]),w)),{});if(S){for(const E of Object.keys(S)){if(!(E in w)){w[E]=S[E]({})}}}return w};const getNormalizedWebpackOptions=E=>({amd:E.amd,bail:E.bail,cache:optionalNestedConfig(E.cache,(E=>{if(E===false)return false;if(E===true){return{type:"memory",maxGenerations:undefined}}switch(E.type){case"filesystem":return{type:"filesystem",allowCollectingMemory:E.allowCollectingMemory,maxMemoryGenerations:E.maxMemoryGenerations,maxAge:E.maxAge,profile:E.profile,buildDependencies:cloneObject(E.buildDependencies),cacheDirectory:E.cacheDirectory,cacheLocation:E.cacheLocation,hashAlgorithm:E.hashAlgorithm,compression:E.compression,idleTimeout:E.idleTimeout,idleTimeoutForInitialStore:E.idleTimeoutForInitialStore,idleTimeoutAfterLargeChanges:E.idleTimeoutAfterLargeChanges,name:E.name,store:E.store,version:E.version};case undefined:case"memory":return{type:"memory",maxGenerations:E.maxGenerations};default:throw new Error(`Not implemented cache.type ${E.type}`)}})),context:E.context,dependencies:E.dependencies,devServer:optionalNestedConfig(E.devServer,(E=>({...E}))),devtool:E.devtool,entry:E.entry===undefined?{main:{}}:typeof E.entry==="function"?(E=>()=>Promise.resolve().then(E).then(getNormalizedEntryStatic))(E.entry):getNormalizedEntryStatic(E.entry),experiments:cloneObject(E.experiments),externals:E.externals,externalsPresets:cloneObject(E.externalsPresets),externalsType:E.externalsType,ignoreWarnings:E.ignoreWarnings?E.ignoreWarnings.map((E=>{if(typeof E==="function")return E;const k=E instanceof RegExp?{message:E}:E;return(E,{requestShortener:S})=>{if(!k.message&&!k.module&&!k.file)return false;if(k.message&&!k.message.test(E.message)){return false}if(k.module&&(!E.module||!k.module.test(E.module.readableIdentifier(S)))){return false}if(k.file&&(!E.file||!k.file.test(E.file))){return false}return true}})):undefined,infrastructureLogging:cloneObject(E.infrastructureLogging),loader:cloneObject(E.loader),mode:E.mode,module:nestedConfig(E.module,(E=>({noParse:E.noParse,unsafeCache:E.unsafeCache,parser:keyedNestedConfig(E.parser,cloneObject,{javascript:k=>({unknownContextRequest:E.unknownContextRequest,unknownContextRegExp:E.unknownContextRegExp,unknownContextRecursive:E.unknownContextRecursive,unknownContextCritical:E.unknownContextCritical,exprContextRequest:E.exprContextRequest,exprContextRegExp:E.exprContextRegExp,exprContextRecursive:E.exprContextRecursive,exprContextCritical:E.exprContextCritical,wrappedContextRegExp:E.wrappedContextRegExp,wrappedContextRecursive:E.wrappedContextRecursive,wrappedContextCritical:E.wrappedContextCritical,strictExportPresence:E.strictExportPresence,strictThisContextOnImports:E.strictThisContextOnImports,...k})}),generator:cloneObject(E.generator),defaultRules:optionalNestedArray(E.defaultRules,(E=>[...E])),rules:nestedArray(E.rules,(E=>[...E]))}))),name:E.name,node:nestedConfig(E.node,(E=>E&&{...E})),optimization:nestedConfig(E.optimization,(E=>({...E,runtimeChunk:getNormalizedOptimizationRuntimeChunk(E.runtimeChunk),splitChunks:nestedConfig(E.splitChunks,(E=>E&&{...E,defaultSizeTypes:E.defaultSizeTypes?[...E.defaultSizeTypes]:["..."],cacheGroups:cloneObject(E.cacheGroups)})),emitOnErrors:E.noEmitOnErrors!==undefined?N(E.noEmitOnErrors,E.emitOnErrors):E.emitOnErrors}))),output:nestedConfig(E.output,(E=>{const{library:k}=E;const S=k;const w=typeof k==="object"&&k&&!Array.isArray(k)&&"type"in k?k:S||E.libraryTarget?{name:S}:undefined;const N={assetModuleFilename:E.assetModuleFilename,charset:E.charset,chunkFilename:E.chunkFilename,chunkFormat:E.chunkFormat,chunkLoading:E.chunkLoading,chunkLoadingGlobal:E.chunkLoadingGlobal,chunkLoadTimeout:E.chunkLoadTimeout,clean:E.clean,compareBeforeEmit:E.compareBeforeEmit,crossOriginLoading:E.crossOriginLoading,devtoolFallbackModuleFilenameTemplate:E.devtoolFallbackModuleFilenameTemplate,devtoolModuleFilenameTemplate:E.devtoolModuleFilenameTemplate,devtoolNamespace:E.devtoolNamespace,environment:cloneObject(E.environment),enabledChunkLoadingTypes:E.enabledChunkLoadingTypes?[...E.enabledChunkLoadingTypes]:["..."],enabledLibraryTypes:E.enabledLibraryTypes?[...E.enabledLibraryTypes]:["..."],enabledWasmLoadingTypes:E.enabledWasmLoadingTypes?[...E.enabledWasmLoadingTypes]:["..."],filename:E.filename,globalObject:E.globalObject,hashDigest:E.hashDigest,hashDigestLength:E.hashDigestLength,hashFunction:E.hashFunction,hashSalt:E.hashSalt,hotUpdateChunkFilename:E.hotUpdateChunkFilename,hotUpdateGlobal:E.hotUpdateGlobal,hotUpdateMainFilename:E.hotUpdateMainFilename,iife:E.iife,importFunctionName:E.importFunctionName,importMetaName:E.importMetaName,scriptType:E.scriptType,library:w&&{type:E.libraryTarget!==undefined?E.libraryTarget:w.type,auxiliaryComment:E.auxiliaryComment!==undefined?E.auxiliaryComment:w.auxiliaryComment,export:E.libraryExport!==undefined?E.libraryExport:w.export,name:w.name,umdNamedDefine:E.umdNamedDefine!==undefined?E.umdNamedDefine:w.umdNamedDefine},module:E.module,path:E.path,pathinfo:E.pathinfo,publicPath:E.publicPath,sourceMapFilename:E.sourceMapFilename,sourcePrefix:E.sourcePrefix,strictModuleExceptionHandling:E.strictModuleExceptionHandling,trustedTypes:optionalNestedConfig(E.trustedTypes,(E=>{if(E===true)return{};if(typeof E==="string")return{policyName:E};return{...E}})),uniqueName:E.uniqueName,wasmLoading:E.wasmLoading,webassemblyModuleFilename:E.webassemblyModuleFilename,workerChunkLoading:E.workerChunkLoading,workerWasmLoading:E.workerWasmLoading};return N})),parallelism:E.parallelism,performance:optionalNestedConfig(E.performance,(E=>{if(E===false)return false;return{...E}})),plugins:nestedArray(E.plugins,(E=>[...E])),profile:E.profile,recordsInputPath:E.recordsInputPath!==undefined?E.recordsInputPath:E.recordsPath,recordsOutputPath:E.recordsOutputPath!==undefined?E.recordsOutputPath:E.recordsPath,resolve:nestedConfig(E.resolve,(E=>({...E,byDependency:keyedNestedConfig(E.byDependency,cloneObject)}))),resolveLoader:cloneObject(E.resolveLoader),snapshot:nestedConfig(E.snapshot,(E=>({resolveBuildDependencies:optionalNestedConfig(E.resolveBuildDependencies,(E=>({timestamp:E.timestamp,hash:E.hash}))),buildDependencies:optionalNestedConfig(E.buildDependencies,(E=>({timestamp:E.timestamp,hash:E.hash}))),resolve:optionalNestedConfig(E.resolve,(E=>({timestamp:E.timestamp,hash:E.hash}))),module:optionalNestedConfig(E.module,(E=>({timestamp:E.timestamp,hash:E.hash}))),immutablePaths:optionalNestedArray(E.immutablePaths,(E=>[...E])),managedPaths:optionalNestedArray(E.managedPaths,(E=>[...E]))}))),stats:nestedConfig(E.stats,(E=>{if(E===false){return{preset:"none"}}if(E===true){return{preset:"normal"}}if(typeof E==="string"){return{preset:E}}return{...E}})),target:E.target,watch:E.watch,watchOptions:cloneObject(E.watchOptions)});const getNormalizedEntryStatic=E=>{if(typeof E==="string"){return{main:{import:[E]}}}if(Array.isArray(E)){return{main:{import:E}}}const k={};for(const S of Object.keys(E)){const w=E[S];if(typeof w==="string"){k[S]={import:[w]}}else if(Array.isArray(w)){k[S]={import:w}}else{k[S]={import:w.import&&(Array.isArray(w.import)?w.import:[w.import]),filename:w.filename,layer:w.layer,runtime:w.runtime,publicPath:w.publicPath,chunkLoading:w.chunkLoading,wasmLoading:w.wasmLoading,dependOn:w.dependOn&&(Array.isArray(w.dependOn)?w.dependOn:[w.dependOn]),library:w.library}}}return k};const getNormalizedOptimizationRuntimeChunk=E=>{if(E===undefined)return undefined;if(E===false)return false;if(E==="single"){return{name:()=>"runtime"}}if(E===true||E==="multiple"){return{name:E=>`runtime~${E.name}`}}const{name:k}=E;return{name:typeof k==="function"?k:()=>k}};k.getNormalizedWebpackOptions=getNormalizedWebpackOptions},71322:(E,k,S)=>{"use strict";const w=S(91671);const N=w((()=>S(27509)));const getDefaultTarget=E=>{const k=N().load(null,E);return k?"browserslist":"web"};const versionDependent=(E,k)=>{if(!E)return()=>undefined;E=+E;k=k?+k:0;return(S,w=0)=>E>S||E===S&&k>=w};const j=[["browserslist / browserslist:env / browserslist:query / browserslist:path-to-config / browserslist:path-to-config:env","Resolve features from browserslist. Will resolve browserslist config automatically. Only browser or node queries are supported (electron is not supported). Examples: 'browserslist:modern' to use 'modern' environment from browserslist config",/^browserslist(?::(.+))?$/,(E,k)=>{const S=N();const w=S.load(E?E.trim():null,k);if(!w){throw new Error(`No browserslist config found to handle the 'browserslist' target.\nSee https://github.com/browserslist/browserslist#queries for possible ways to provide a config.\nThe recommended way is to add a 'browserslist' key to your package.json and list supported browsers (resp. node.js versions).\nYou can also more options via the 'target' option: 'browserslist' / 'browserslist:env' / 'browserslist:query' / 'browserslist:path-to-config' / 'browserslist:path-to-config:env'`)}return S.resolve(w)}],["web","Web browser.",/^web$/,()=>({web:true,browser:true,webworker:null,node:false,electron:false,nwjs:false,document:true,importScriptsInWorker:true,fetchWasm:true,nodeBuiltins:false,importScripts:false,require:false,global:false})],["webworker","Web Worker, SharedWorker or Service Worker.",/^webworker$/,()=>({web:true,browser:true,webworker:true,node:false,electron:false,nwjs:false,importScripts:true,importScriptsInWorker:true,fetchWasm:true,nodeBuiltins:false,require:false,document:false,global:false})],["[async-]node[X[.Y]]","Node.js in version X.Y. The 'async-' prefix will load chunks asynchronously via 'fs' and 'vm' instead of 'require()'. Examples: node14.5, async-node10.",/^(async-)?node(\d+(?:\.(\d+))?)?$/,(E,k,S)=>{const w=versionDependent(k,S);return{node:true,electron:false,nwjs:false,web:false,webworker:false,browser:false,require:!E,nodeBuiltins:true,global:true,document:false,fetchWasm:false,importScripts:false,importScriptsInWorker:false,globalThis:w(12),const:w(6),arrowFunction:w(6),forOf:w(5),destructuring:w(6),bigIntLiteral:w(10,4),dynamicImport:w(12,17),dynamicImportInWorker:k?false:undefined,module:w(12,17)}}],["electron[X[.Y]]-main/preload/renderer","Electron in version X.Y. Script is running in main, preload resp. renderer context.",/^electron(\d+(?:\.(\d+))?)?-(main|preload|renderer)$/,(E,k,S)=>{const w=versionDependent(E,k);return{node:true,electron:true,web:S!=="main",webworker:false,browser:false,nwjs:false,electronMain:S==="main",electronPreload:S==="preload",electronRenderer:S==="renderer",global:true,nodeBuiltins:true,require:true,document:S==="renderer",fetchWasm:S==="renderer",importScripts:false,importScriptsInWorker:true,globalThis:w(5),const:w(1,1),arrowFunction:w(1,1),forOf:w(0,36),destructuring:w(1,1),bigIntLiteral:w(4),dynamicImport:w(11),dynamicImportInWorker:E?false:undefined,module:w(11)}}],["nwjs[X[.Y]] / node-webkit[X[.Y]]","NW.js in version X.Y.",/^(?:nwjs|node-webkit)(\d+(?:\.(\d+))?)?$/,(E,k)=>{const S=versionDependent(E,k);return{node:true,web:true,nwjs:true,webworker:null,browser:false,electron:false,global:true,nodeBuiltins:true,document:false,importScriptsInWorker:false,fetchWasm:false,importScripts:false,require:false,globalThis:S(0,43),const:S(0,15),arrowFunction:S(0,15),forOf:S(0,13),destructuring:S(0,15),bigIntLiteral:S(0,32),dynamicImport:S(0,43),dynamicImportInWorker:E?false:undefined,module:S(0,43)}}],["esX","EcmaScript in this version. Examples: es2020, es5.",/^es(\d+)$/,E=>{let k=+E;if(k<1e3)k=k+2009;return{const:k>=2015,arrowFunction:k>=2015,forOf:k>=2015,destructuring:k>=2015,module:k>=2015,globalThis:k>=2020,bigIntLiteral:k>=2020,dynamicImport:k>=2020,dynamicImportInWorker:k>=2020}}]];const getTargetProperties=(E,k)=>{for(const[,,S,w]of j){const N=S.exec(E);if(N){const[,...E]=N;const S=w(...E,k);if(S)return S}}throw new Error(`Unknown target '${E}'. The following targets are supported:\n${j.map((([E,k])=>`* ${E}: ${k}`)).join("\n")}`)};const mergeTargetProperties=E=>{const k=new Set;for(const S of E){for(const E of Object.keys(S)){k.add(E)}}const S={};for(const w of k){let k=false;let N=false;for(const S of E){const E=S[w];switch(E){case true:k=true;break;case false:N=true;break}}if(k||N)S[w]=N&&k?null:k?true:false}return S};const getTargetsProperties=(E,k)=>mergeTargetProperties(E.map((E=>getTargetProperties(E,k))));k.getDefaultTarget=getDefaultTarget;k.getTargetProperties=getTargetProperties;k.getTargetsProperties=getTargetsProperties},76041:(E,k,S)=>{"use strict";const w=S(28706);const N=S(56202);class ContainerEntryDependency extends w{constructor(E,k,S){super();this.name=E;this.exposes=k;this.shareScope=S}getResourceIdentifier(){return`container-entry-${this.name}`}get type(){return"container entry"}get category(){return"esm"}}N(ContainerEntryDependency,"webpack/lib/container/ContainerEntryDependency");E.exports=ContainerEntryDependency},89591:(E,k,S)=>{"use strict";const{OriginalSource:w,RawSource:N}=S(48135);const j=S(98221);const q=S(53453);const ee=S(76150);const te=S(58159);const ne=S(56202);const ae=S(4523);const _e=new Set(["javascript"]);class ContainerEntryModule extends q{constructor(E,k,S){super("javascript/dynamic",null);this._name=E;this._exposes=k;this._shareScope=S}getSourceTypes(){return _e}identifier(){return`container entry (${this._shareScope}) ${JSON.stringify(this._exposes)}`}readableIdentifier(E){return`container entry`}libIdent(E){return`webpack/container/entry/${this._name}`}needBuild(E,k){return k(null,!this.buildMeta)}build(E,k,S,w,N){this.buildMeta={};this.buildInfo={strict:true,topLevelDeclarations:new Set(["moduleMap","get","init"])};this.clearDependenciesAndBlocks();for(const[E,k]of this._exposes){const S=new j({name:k.name},{name:E},k.import[k.import.length-1]);let w=0;for(const N of k.import){const k=new ae(E,N);k.loc={name:E,index:w++};S.addDependency(k)}this.addBlock(S)}N()}codeGeneration({moduleGraph:E,chunkGraph:k,runtimeTemplate:S}){const j=new Map;const q=new Set([ee.definePropertyGetters,ee.hasOwnProperty,ee.exports]);const ne=[];for(const w of this.blocks){const{dependencies:N}=w;const j=N.map((k=>{const S=k;return{name:S.exposedName,module:E.getModule(S),request:S.userRequest}}));let ee;if(j.some((E=>!E.module))){ee=S.throwMissingModuleErrorBlock({request:j.map((E=>E.request)).join(", ")})}else{ee=`return ${S.blockPromise({block:w,message:"",chunkGraph:k,runtimeRequirements:q})}.then(${S.returningFunction(S.returningFunction(`(${j.map((({module:E,request:w})=>S.moduleRaw({module:E,chunkGraph:k,request:w,weak:false,runtimeRequirements:q}))).join(", ")})`))});`}ne.push(`${JSON.stringify(j[0].name)}: ${S.basicFunction("",ee)}`)}const ae=te.asString([`var moduleMap = {`,te.indent(ne.join(",\n")),"};",`var get = ${S.basicFunction("module, getScope",[`${ee.currentRemoteGetScope} = getScope;`,"getScope = (",te.indent([`${ee.hasOwnProperty}(moduleMap, module)`,te.indent(["? moduleMap[module]()",`: Promise.resolve().then(${S.basicFunction("","throw new Error('Module \"' + module + '\" does not exist in container.');")})`])]),");",`${ee.currentRemoteGetScope} = undefined;`,"return getScope;"])};`,`var init = ${S.basicFunction("shareScope, initScope",[`if (!${ee.shareScopeMap}) return;`,`var oldScope = ${ee.shareScopeMap}[${JSON.stringify(this._shareScope)}];`,`var name = ${JSON.stringify(this._shareScope)}`,`if(oldScope && oldScope !== shareScope) throw new Error("Container initialization failed as it has already been initialized with a different share scope");`,`${ee.shareScopeMap}[name] = shareScope;`,`return ${ee.initializeSharing}(name, initScope);`])};`,"","// This exports getters to disallow modifications",`${ee.definePropertyGetters}(exports, {`,te.indent([`get: ${S.returningFunction("get")},`,`init: ${S.returningFunction("init")}`]),"});"]);j.set("javascript",this.useSourceMap||this.useSimpleSourceMap?new w(ae,"webpack/container-entry"):new N(ae));return{sources:j,runtimeRequirements:q}}size(E){return 42}serialize(E){const{write:k}=E;k(this._name);k(this._exposes);k(this._shareScope);super.serialize(E)}static deserialize(E){const{read:k}=E;const S=new ContainerEntryModule(k(),k(),k());S.deserialize(E);return S}}ne(ContainerEntryModule,"webpack/lib/container/ContainerEntryModule");E.exports=ContainerEntryModule},76912:(E,k,S)=>{"use strict";const w=S(40674);const N=S(89591);E.exports=class ContainerEntryModuleFactory extends w{create({dependencies:[E]},k){const S=E;k(null,{module:new N(S.name,S.exposes,S.shareScope)})}}},4523:(E,k,S)=>{"use strict";const w=S(79983);const N=S(56202);class ContainerExposedDependency extends w{constructor(E,k){super(k);this.exposedName=E}get type(){return"container exposed"}get category(){return"esm"}getResourceIdentifier(){return`exposed dependency ${this.exposedName}=${this.request}`}serialize(E){E.write(this.exposedName);super.serialize(E)}deserialize(E){this.exposedName=E.read();super.deserialize(E)}}N(ContainerExposedDependency,"webpack/lib/container/ContainerExposedDependency");E.exports=ContainerExposedDependency},10419:(E,k,S)=>{"use strict";const w=S(35817);const N=S(76041);const j=S(76912);const q=S(4523);const{parseOptions:ee}=S(97264);const te=w(S(28633),(()=>S(19593)),{name:"Container Plugin",baseDataPath:"options"});const ne="ContainerPlugin";class ContainerPlugin{constructor(E){te(E);this._options={name:E.name,shareScope:E.shareScope||"default",library:E.library||{type:"var",name:E.name},runtime:E.runtime,filename:E.filename||undefined,exposes:ee(E.exposes,(E=>({import:Array.isArray(E)?E:[E],name:undefined})),(E=>({import:Array.isArray(E.import)?E.import:[E.import],name:E.name||undefined})))}}apply(E){const{name:k,exposes:S,shareScope:w,filename:ee,library:te,runtime:ae}=this._options;E.options.output.enabledLibraryTypes.push(te.type);E.hooks.make.tapAsync(ne,((E,j)=>{const q=new N(k,S,w);q.loc={name:k};E.addEntry(E.options.context,q,{name:k,filename:ee,runtime:ae,library:te},(E=>{if(E)return j(E);j()}))}));E.hooks.thisCompilation.tap(ne,((E,{normalModuleFactory:k})=>{E.dependencyFactories.set(N,new j);E.dependencyFactories.set(q,k)}))}}E.exports=ContainerPlugin},68839:(E,k,S)=>{"use strict";const w=S(61050);const N=S(76150);const j=S(35817);const q=S(50940);const ee=S(55525);const te=S(68005);const ne=S(68679);const ae=S(31122);const _e=S(44742);const{parseOptions:ve}=S(97264);const Ee=j(S(12e3),(()=>S(39101)),{name:"Container Reference Plugin",baseDataPath:"options"});const we="/".charCodeAt(0);class ContainerReferencePlugin{constructor(E){Ee(E);this._remoteType=E.remoteType;this._remotes=ve(E.remotes,(k=>({external:Array.isArray(k)?k:[k],shareScope:E.shareScope||"default"})),(k=>({external:Array.isArray(k.external)?k.external:[k.external],shareScope:k.shareScope||E.shareScope||"default"})))}apply(E){const{_remotes:k,_remoteType:S}=this;const j={};for(const[E,S]of k){let k=0;for(const w of S.external){if(w.startsWith("internal "))continue;j[`webpack/container/reference/${E}${k?`/fallback-${k}`:""}`]=w;k++}}new w(S,j).apply(E);E.hooks.compilation.tap("ContainerReferencePlugin",((E,{normalModuleFactory:S})=>{E.dependencyFactories.set(_e,S);E.dependencyFactories.set(ee,S);E.dependencyFactories.set(q,new te);S.hooks.factorize.tap("ContainerReferencePlugin",(E=>{if(!E.request.includes("!")){for(const[S,w]of k){if(E.request.startsWith(`${S}`)&&(E.request.length===S.length||E.request.charCodeAt(S.length)===we)){return new ne(E.request,w.external.map(((E,k)=>E.startsWith("internal ")?E.slice(9):`webpack/container/reference/${S}${k?`/fallback-${k}`:""}`)),`.${E.request.slice(S.length)}`,w.shareScope)}}}}));E.hooks.runtimeRequirementInTree.for(N.ensureChunkHandlers).tap("ContainerReferencePlugin",((k,S)=>{S.add(N.module);S.add(N.moduleFactoriesAddOnly);S.add(N.hasOwnProperty);S.add(N.initializeSharing);S.add(N.shareScopeMap);E.addRuntimeModule(k,new ae)}))}))}}E.exports=ContainerReferencePlugin},50940:(E,k,S)=>{"use strict";const w=S(28706);const N=S(56202);class FallbackDependency extends w{constructor(E){super();this.requests=E}getResourceIdentifier(){return`fallback ${this.requests.join(" ")}`}get type(){return"fallback"}get category(){return"esm"}serialize(E){const{write:k}=E;k(this.requests);super.serialize(E)}static deserialize(E){const{read:k}=E;const S=new FallbackDependency(k());S.deserialize(E);return S}}N(FallbackDependency,"webpack/lib/container/FallbackDependency");E.exports=FallbackDependency},55525:(E,k,S)=>{"use strict";const w=S(79983);const N=S(56202);class FallbackItemDependency extends w{constructor(E){super(E)}get type(){return"fallback item"}get category(){return"esm"}}N(FallbackItemDependency,"webpack/lib/container/FallbackItemDependency");E.exports=FallbackItemDependency},13386:(E,k,S)=>{"use strict";const{RawSource:w}=S(48135);const N=S(53453);const j=S(76150);const q=S(58159);const ee=S(56202);const te=S(55525);const ne=new Set(["javascript"]);const ae=new Set([j.module]);class FallbackModule extends N{constructor(E){super("fallback-module");this.requests=E;this._identifier=`fallback ${this.requests.join(" ")}`}identifier(){return this._identifier}readableIdentifier(E){return this._identifier}libIdent(E){return`webpack/container/fallback/${this.requests[0]}/and ${this.requests.length-1} more`}chunkCondition(E,{chunkGraph:k}){return k.getNumberOfEntryModules(E)>0}needBuild(E,k){k(null,!this.buildInfo)}build(E,k,S,w,N){this.buildMeta={};this.buildInfo={strict:true};this.clearDependenciesAndBlocks();for(const E of this.requests)this.addDependency(new te(E));N()}size(E){return this.requests.length*5+42}getSourceTypes(){return ne}codeGeneration({runtimeTemplate:E,moduleGraph:k,chunkGraph:S}){const N=this.dependencies.map((E=>S.getModuleId(k.getModule(E))));const j=q.asString([`var ids = ${JSON.stringify(N)};`,"var error, result, i = 0;",`var loop = ${E.basicFunction("next",["while(i < ids.length) {",q.indent(["try { next = __webpack_require__(ids[i++]); } catch(e) { return handleError(e); }","if(next) return next.then ? next.then(handleResult, handleError) : handleResult(next);"]),"}","if(error) throw error;"])}`,`var handleResult = ${E.basicFunction("result",["if(result) return result;","return loop();"])};`,`var handleError = ${E.basicFunction("e",["error = e;","return loop();"])};`,"module.exports = loop();"]);const ee=new Map;ee.set("javascript",new w(j));return{sources:ee,runtimeRequirements:ae}}serialize(E){const{write:k}=E;k(this.requests);super.serialize(E)}static deserialize(E){const{read:k}=E;const S=new FallbackModule(k());S.deserialize(E);return S}}ee(FallbackModule,"webpack/lib/container/FallbackModule");E.exports=FallbackModule},68005:(E,k,S)=>{"use strict";const w=S(40674);const N=S(13386);E.exports=class FallbackModuleFactory extends w{create({dependencies:[E]},k){const S=E;k(null,{module:new N(S.requests)})}}},8019:(E,k,S)=>{"use strict";const w=S(92483);const N=S(16471);const j=S(35817);const q=S(10419);const ee=S(68839);const te=j(S(43329),(()=>S(7265)),{name:"Module Federation Plugin",baseDataPath:"options"});class ModuleFederationPlugin{constructor(E){te(E);this._options=E}apply(E){const{_options:k}=this;const S=k.library||{type:"var",name:k.name};const j=k.remoteType||(k.library&&w(k.library.type)?k.library.type:"script");if(S&&!E.options.output.enabledLibraryTypes.includes(S.type)){E.options.output.enabledLibraryTypes.push(S.type)}E.hooks.afterPlugins.tap("ModuleFederationPlugin",(()=>{if(k.exposes&&(Array.isArray(k.exposes)?k.exposes.length>0:Object.keys(k.exposes).length>0)){new q({name:k.name,library:S,filename:k.filename,runtime:k.runtime,exposes:k.exposes}).apply(E)}if(k.remotes&&(Array.isArray(k.remotes)?k.remotes.length>0:Object.keys(k.remotes).length>0)){new ee({remoteType:j,remotes:k.remotes}).apply(E)}if(k.shared){new N({shared:k.shared,shareScope:k.shareScope}).apply(E)}}))}}E.exports=ModuleFederationPlugin},68679:(E,k,S)=>{"use strict";const{RawSource:w}=S(48135);const N=S(53453);const j=S(76150);const q=S(56202);const ee=S(50940);const te=S(44742);const ne=new Set(["remote","share-init"]);const ae=new Set([j.module]);class RemoteModule extends N{constructor(E,k,S,w){super("remote-module");this.request=E;this.externalRequests=k;this.internalRequest=S;this.shareScope=w;this._identifier=`remote (${w}) ${this.externalRequests.join(" ")} ${this.internalRequest}`}identifier(){return this._identifier}readableIdentifier(E){return`remote ${this.request}`}libIdent(E){return`webpack/container/remote/${this.request}`}needBuild(E,k){k(null,!this.buildInfo)}build(E,k,S,w,N){this.buildMeta={};this.buildInfo={strict:true};this.clearDependenciesAndBlocks();if(this.externalRequests.length===1){this.addDependency(new te(this.externalRequests[0]))}else{this.addDependency(new ee(this.externalRequests))}N()}size(E){return 6}getSourceTypes(){return ne}nameForCondition(){return this.request}codeGeneration({runtimeTemplate:E,moduleGraph:k,chunkGraph:S}){const N=k.getModule(this.dependencies[0]);const j=N&&S.getModuleId(N);const q=new Map;q.set("remote",new w(""));const ee=new Map;ee.set("share-init",[{shareScope:this.shareScope,initStage:20,init:j===undefined?"":`initExternal(${JSON.stringify(j)});`}]);return{sources:q,data:ee,runtimeRequirements:ae}}serialize(E){const{write:k}=E;k(this.request);k(this.externalRequests);k(this.internalRequest);k(this.shareScope);super.serialize(E)}static deserialize(E){const{read:k}=E;const S=new RemoteModule(k(),k(),k(),k());S.deserialize(E);return S}}q(RemoteModule,"webpack/lib/container/RemoteModule");E.exports=RemoteModule},31122:(E,k,S)=>{"use strict";const w=S(76150);const N=S(66804);const j=S(58159);class RemoteRuntimeModule extends N{constructor(){super("remotes loading")}generate(){const{compilation:E,chunkGraph:k}=this;const{runtimeTemplate:S,moduleGraph:N}=E;const q={};const ee={};for(const E of this.chunk.getAllAsyncChunks()){const S=k.getChunkModulesIterableBySourceType(E,"remote");if(!S)continue;const w=q[E.id]=[];for(const E of S){const S=E;const j=S.internalRequest;const q=k.getModuleId(S);const te=S.shareScope;const ne=S.dependencies[0];const ae=N.getModule(ne);const _e=ae&&k.getModuleId(ae);w.push(q);ee[q]=[te,j,_e]}}return j.asString([`var chunkMapping = ${JSON.stringify(q,null,"\t")};`,`var idToExternalAndNameMapping = ${JSON.stringify(ee,null,"\t")};`,`${w.ensureChunkHandlers}.remotes = ${S.basicFunction("chunkId, promises",[`if(${w.hasOwnProperty}(chunkMapping, chunkId)) {`,j.indent([`chunkMapping[chunkId].forEach(${S.basicFunction("id",[`var getScope = ${w.currentRemoteGetScope};`,"if(!getScope) getScope = [];","var data = idToExternalAndNameMapping[id];","if(getScope.indexOf(data) >= 0) return;","getScope.push(data);",`if(data.p) return promises.push(data.p);`,`var onError = ${S.basicFunction("error",['if(!error) error = new Error("Container missing");','if(typeof error.message === "string")',j.indent(`error.message += '\\nwhile loading "' + data[1] + '" from ' + data[2];`),`__webpack_modules__[id] = ${S.basicFunction("",["throw error;"])}`,"data.p = 0;"])};`,`var handleFunction = ${S.basicFunction("fn, arg1, arg2, d, next, first",["try {",j.indent(["var promise = fn(arg1, arg2);","if(promise && promise.then) {",j.indent([`var p = promise.then(${S.returningFunction("next(result, d)","result")}, onError);`,`if(first) promises.push(data.p = p); else return p;`]),"} else {",j.indent(["return next(promise, d, first);"]),"}"]),"} catch(error) {",j.indent(["onError(error);"]),"}"])}`,`var onExternal = ${S.returningFunction(`external ? handleFunction(${w.initializeSharing}, data[0], 0, external, onInitialized, first) : onError()`,"external, _, first")};`,`var onInitialized = ${S.returningFunction(`handleFunction(external.get, data[1], getScope, 0, onFactory, first)`,"_, external, first")};`,`var onFactory = ${S.basicFunction("factory",["data.p = 1;",`__webpack_modules__[id] = ${S.basicFunction("module",["module.exports = factory();"])}`])};`,"handleFunction(__webpack_require__, data[2], 0, 0, onExternal, 1);"])});`]),"}"])}`])}}E.exports=RemoteRuntimeModule},44742:(E,k,S)=>{"use strict";const w=S(79983);const N=S(56202);class RemoteToExternalDependency extends w{constructor(E){super(E)}get type(){return"remote to external"}get category(){return"esm"}}N(RemoteToExternalDependency,"webpack/lib/container/RemoteToExternalDependency");E.exports=RemoteToExternalDependency},97264:(E,k)=>{"use strict";const process=(E,k,S,w)=>{const array=E=>{for(const S of E){if(typeof S==="string"){w(S,k(S,S))}else if(S&&typeof S==="object"){object(S)}else{throw new Error("Unexpected options format")}}};const object=E=>{for(const[N,j]of Object.entries(E)){if(typeof j==="string"||Array.isArray(j)){w(N,k(j,N))}else{w(N,S(j,N))}}};if(!E){return}else if(Array.isArray(E)){array(E)}else if(typeof E==="object"){object(E)}else{throw new Error("Unexpected options format")}};const parseOptions=(E,k,S)=>{const w=[];process(E,k,S,((E,k)=>{w.push([E,k])}));return w};const scope=(E,k)=>{const S={};process(k,(E=>E),(E=>E),((k,w)=>{S[k.startsWith("./")?`${E}${k.slice(1)}`:`${E}/${k}`]=w}));return S};k.parseOptions=parseOptions;k.scope=scope},26802:(E,k,S)=>{"use strict";const{Tracer:w}=S(25954);const N=S(35817);const{dirname:j,mkdirpSync:q}=S(95396);const ee=N(S(2282),(()=>S(8462)),{name:"Profiling Plugin",baseDataPath:"options"});let te=undefined;try{te=S(57012)}catch(E){console.log("Unable to CPU profile in < node 8.0")}class Profiler{constructor(E){this.session=undefined;this.inspector=E;this._startTime=0}hasSession(){return this.session!==undefined}startProfiling(){if(this.inspector===undefined){return Promise.resolve()}try{this.session=new te.Session;this.session.connect()}catch(E){this.session=undefined;return Promise.resolve()}const E=process.hrtime();this._startTime=E[0]*1e6+Math.round(E[1]/1e3);return Promise.all([this.sendCommand("Profiler.setSamplingInterval",{interval:100}),this.sendCommand("Profiler.enable"),this.sendCommand("Profiler.start")])}sendCommand(E,k){if(this.hasSession()){return new Promise(((S,w)=>this.session.post(E,k,((E,k)=>{if(E!==null){w(E)}else{S(k)}}))))}else{return Promise.resolve()}}destroy(){if(this.hasSession()){this.session.disconnect()}return Promise.resolve()}stopProfiling(){return this.sendCommand("Profiler.stop").then((({profile:E})=>{const k=process.hrtime();const S=k[0]*1e6+Math.round(k[1]/1e3);if(E.startTimeS){const k=E.endTime-E.startTime;const w=S-this._startTime;const N=Math.max(0,w-k);E.startTime=this._startTime+N/2;E.endTime=S-N/2}return{profile:E}}))}}const createTrace=(E,k)=>{const S=new w({noStream:true});const N=new Profiler(te);if(/\/|\\/.test(k)){const S=j(E,k);q(E,S)}const ee=E.createWriteStream(k);let ne=0;S.pipe(ee);S.instantEvent({name:"TracingStartedInPage",id:++ne,cat:["disabled-by-default-devtools.timeline"],args:{data:{sessionId:"-1",page:"0xfff",frames:[{frame:"0xfff",url:"webpack",name:""}]}}});S.instantEvent({name:"TracingStartedInBrowser",id:++ne,cat:["disabled-by-default-devtools.timeline"],args:{data:{sessionId:"-1"}}});return{trace:S,counter:ne,profiler:N,end:E=>{ee.on("close",(()=>{E()}));S.push(null)}}};const ne="ProfilingPlugin";class ProfilingPlugin{constructor(E={}){ee(E);this.outputPath=E.outputPath||"events.json"}apply(E){const k=createTrace(E.intermediateFileSystem,this.outputPath);k.profiler.startProfiling();Object.keys(E.hooks).forEach((S=>{E.hooks[S].intercept(makeInterceptorFor("Compiler",k)(S))}));Object.keys(E.resolverFactory.hooks).forEach((S=>{E.resolverFactory.hooks[S].intercept(makeInterceptorFor("Resolver",k)(S))}));E.hooks.compilation.tap(ne,((E,{normalModuleFactory:S,contextModuleFactory:w})=>{interceptAllHooksFor(E,k,"Compilation");interceptAllHooksFor(S,k,"Normal Module Factory");interceptAllHooksFor(w,k,"Context Module Factory");interceptAllParserHooks(S,k);interceptAllJavascriptModulesPluginHooks(E,k)}));E.hooks.done.tapAsync({name:ne,stage:Infinity},((E,S)=>{k.profiler.stopProfiling().then((E=>{if(E===undefined){k.profiler.destroy();k.trace.flush();k.end(S);return}const w=E.profile.startTime;const N=E.profile.endTime;k.trace.completeEvent({name:"TaskQueueManager::ProcessTaskFromWorkQueue",id:++k.counter,cat:["toplevel"],ts:w,args:{src_file:"../../ipc/ipc_moji_bootstrap.cc",src_func:"Accept"}});k.trace.completeEvent({name:"EvaluateScript",id:++k.counter,cat:["devtools.timeline"],ts:w,dur:N-w,args:{data:{url:"webpack",lineNumber:1,columnNumber:1,frame:"0xFFF"}}});k.trace.instantEvent({name:"CpuProfile",id:++k.counter,cat:["disabled-by-default-devtools.timeline"],ts:N,args:{data:{cpuProfile:E.profile}}});k.profiler.destroy();k.trace.flush();k.end(S)}))}))}}const interceptAllHooksFor=(E,k,S)=>{if(Reflect.has(E,"hooks")){Object.keys(E.hooks).forEach((w=>{const N=E.hooks[w];if(!N._fakeHook){N.intercept(makeInterceptorFor(S,k)(w))}}))}};const interceptAllParserHooks=(E,k)=>{const S=["javascript/auto","javascript/dynamic","javascript/esm","json","webassembly/async","webassembly/sync"];S.forEach((S=>{E.hooks.parser.for(S).tap("ProfilingPlugin",((E,S)=>{interceptAllHooksFor(E,k,"Parser")}))}))};const interceptAllJavascriptModulesPluginHooks=(E,k)=>{interceptAllHooksFor({hooks:S(18161).getCompilationHooks(E)},k,"JavascriptModulesPlugin")};const makeInterceptorFor=(E,k)=>E=>({register:({name:S,type:w,context:N,fn:j})=>{const q=makeNewProfiledTapFn(E,k,{name:S,type:w,fn:j});return{name:S,type:w,context:N,fn:q}}});const makeNewProfiledTapFn=(E,k,{name:S,type:w,fn:N})=>{const j=["blink.user_timing"];switch(w){case"promise":return(...E)=>{const w=++k.counter;k.trace.begin({name:S,id:w,cat:j});const q=N(...E);return q.then((E=>{k.trace.end({name:S,id:w,cat:j});return E}))};case"async":return(...E)=>{const w=++k.counter;k.trace.begin({name:S,id:w,cat:j});const q=E.pop();N(...E,((...E)=>{k.trace.end({name:S,id:w,cat:j});q(...E)}))};case"sync":return(...E)=>{const w=++k.counter;if(S===ne){return N(...E)}k.trace.begin({name:S,id:w,cat:j});let q;try{q=N(...E)}catch(E){k.trace.end({name:S,id:w,cat:j});throw E}k.trace.end({name:S,id:w,cat:j});return q};default:break}};E.exports=ProfilingPlugin;E.exports.Profiler=Profiler},46960:(E,k,S)=>{"use strict";const w=S(76150);const N=S(56202);const j=S(12197);const q={f:{definition:"var __WEBPACK_AMD_DEFINE_RESULT__;",content:`!(__WEBPACK_AMD_DEFINE_RESULT__ = (#).call(exports, __webpack_require__, exports, module),\n\t\t__WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__))`,requests:[w.require,w.exports,w.module]},o:{definition:"",content:"!(module.exports = #)",requests:[w.module]},of:{definition:"var __WEBPACK_AMD_DEFINE_FACTORY__, __WEBPACK_AMD_DEFINE_RESULT__;",content:`!(__WEBPACK_AMD_DEFINE_FACTORY__ = (#),\n\t\t__WEBPACK_AMD_DEFINE_RESULT__ = (typeof __WEBPACK_AMD_DEFINE_FACTORY__ === 'function' ?\n\t\t(__WEBPACK_AMD_DEFINE_FACTORY__.call(exports, __webpack_require__, exports, module)) :\n\t\t__WEBPACK_AMD_DEFINE_FACTORY__),\n\t\t__WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__))`,requests:[w.require,w.exports,w.module]},af:{definition:"var __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_DEFINE_RESULT__;",content:`!(__WEBPACK_AMD_DEFINE_ARRAY__ = #, __WEBPACK_AMD_DEFINE_RESULT__ = (#).apply(exports, __WEBPACK_AMD_DEFINE_ARRAY__),\n\t\t__WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__))`,requests:[w.exports,w.module]},ao:{definition:"",content:"!(#, module.exports = #)",requests:[w.module]},aof:{definition:"var __WEBPACK_AMD_DEFINE_FACTORY__, __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_DEFINE_RESULT__;",content:`!(__WEBPACK_AMD_DEFINE_ARRAY__ = #, __WEBPACK_AMD_DEFINE_FACTORY__ = (#),\n\t\t__WEBPACK_AMD_DEFINE_RESULT__ = (typeof __WEBPACK_AMD_DEFINE_FACTORY__ === 'function' ?\n\t\t(__WEBPACK_AMD_DEFINE_FACTORY__.apply(exports, __WEBPACK_AMD_DEFINE_ARRAY__)) : __WEBPACK_AMD_DEFINE_FACTORY__),\n\t\t__WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__))`,requests:[w.exports,w.module]},lf:{definition:"var XXX, XXXmodule;",content:"!(XXXmodule = { id: YYY, exports: {}, loaded: false }, XXX = (#).call(XXXmodule.exports, __webpack_require__, XXXmodule.exports, XXXmodule), XXXmodule.loaded = true, XXX === undefined && (XXX = XXXmodule.exports))",requests:[w.require,w.module]},lo:{definition:"var XXX;",content:"!(XXX = #)",requests:[]},lof:{definition:"var XXX, XXXfactory, XXXmodule;",content:"!(XXXfactory = (#), (typeof XXXfactory === 'function' ? ((XXXmodule = { id: YYY, exports: {}, loaded: false }), (XXX = XXXfactory.call(XXXmodule.exports, __webpack_require__, XXXmodule.exports, XXXmodule)), (XXXmodule.loaded = true), XXX === undefined && (XXX = XXXmodule.exports)) : XXX = XXXfactory))",requests:[w.require,w.module]},laf:{definition:"var __WEBPACK_AMD_DEFINE_ARRAY__, XXX, XXXexports;",content:"!(__WEBPACK_AMD_DEFINE_ARRAY__ = #, XXX = (#).apply(XXXexports = {}, __WEBPACK_AMD_DEFINE_ARRAY__), XXX === undefined && (XXX = XXXexports))",requests:[]},lao:{definition:"var XXX;",content:"!(#, XXX = #)",requests:[]},laof:{definition:"var XXXarray, XXXfactory, XXXexports, XXX;",content:`!(XXXarray = #, XXXfactory = (#),\n\t\t(typeof XXXfactory === 'function' ?\n\t\t\t((XXX = XXXfactory.apply(XXXexports = {}, XXXarray)), XXX === undefined && (XXX = XXXexports)) :\n\t\t\t(XXX = XXXfactory)\n\t\t))`,requests:[]}};class AMDDefineDependency extends j{constructor(E,k,S,w,N){super();this.range=E;this.arrayRange=k;this.functionRange=S;this.objectRange=w;this.namedModule=N;this.localModule=null}get type(){return"amd define"}serialize(E){const{write:k}=E;k(this.range);k(this.arrayRange);k(this.functionRange);k(this.objectRange);k(this.namedModule);k(this.localModule);super.serialize(E)}deserialize(E){const{read:k}=E;this.range=k();this.arrayRange=k();this.functionRange=k();this.objectRange=k();this.namedModule=k();this.localModule=k();super.deserialize(E)}}N(AMDDefineDependency,"webpack/lib/dependencies/AMDDefineDependency");AMDDefineDependency.Template=class AMDDefineDependencyTemplate extends j.Template{apply(E,k,{runtimeRequirements:S}){const w=E;const N=this.branch(w);const{definition:j,content:ee,requests:te}=q[N];for(const E of te){S.add(E)}this.replace(w,k,j,ee)}localModuleVar(E){return E.localModule&&E.localModule.used&&E.localModule.variableName()}branch(E){const k=this.localModuleVar(E)?"l":"";const S=E.arrayRange?"a":"";const w=E.objectRange?"o":"";const N=E.functionRange?"f":"";return k+S+w+N}replace(E,k,S,w){const N=this.localModuleVar(E);if(N){w=w.replace(/XXX/g,N.replace(/\$/g,"$$$$"));S=S.replace(/XXX/g,N.replace(/\$/g,"$$$$"))}if(E.namedModule){w=w.replace(/YYY/g,JSON.stringify(E.namedModule))}const j=w.split("#");if(S)k.insert(0,S);let q=E.range[0];if(E.arrayRange){k.replace(q,E.arrayRange[0]-1,j.shift());q=E.arrayRange[1]}if(E.objectRange){k.replace(q,E.objectRange[0]-1,j.shift());q=E.objectRange[1]}else if(E.functionRange){k.replace(q,E.functionRange[0]-1,j.shift());q=E.functionRange[1]}k.replace(q,E.range[1]-1,j.shift());if(j.length>0)throw new Error("Implementation error")}};E.exports=AMDDefineDependency},98915:(E,k,S)=>{"use strict";const w=S(76150);const N=S(46960);const j=S(95715);const q=S(38145);const ee=S(29022);const te=S(66298);const ne=S(95601);const ae=S(28140);const _e=S(14229);const{addLocalModule:ve,getLocalModule:Ee}=S(61701);const isBoundFunctionExpression=E=>{if(E.type!=="CallExpression")return false;if(E.callee.type!=="MemberExpression")return false;if(E.callee.computed)return false;if(E.callee.object.type!=="FunctionExpression")return false;if(E.callee.property.type!=="Identifier")return false;if(E.callee.property.name!=="bind")return false;return true};const isUnboundFunctionExpression=E=>{if(E.type==="FunctionExpression")return true;if(E.type==="ArrowFunctionExpression")return true;return false};const isCallable=E=>{if(isUnboundFunctionExpression(E))return true;if(isBoundFunctionExpression(E))return true;return false};class AMDDefineDependencyParserPlugin{constructor(E){this.options=E}apply(E){E.hooks.call.for("define").tap("AMDDefineDependencyParserPlugin",this.processCallDefine.bind(this,E))}processArray(E,k,S,w,N){if(S.isArray()){S.items.forEach(((S,j)=>{if(S.isString()&&["require","module","exports"].includes(S.string))w[j]=S.string;const q=this.processItem(E,k,S,N);if(q===undefined){this.processContext(E,k,S)}}));return true}else if(S.isConstArray()){const N=[];S.array.forEach(((S,j)=>{let q;let ee;if(S==="require"){w[j]=S;q="__webpack_require__"}else if(["exports","module"].includes(S)){w[j]=S;q=S}else if(ee=Ee(E.state,S)){ee.flagUsed();q=new _e(ee,undefined,false);q.loc=k.loc;E.state.module.addPresentationalDependency(q)}else{q=this.newRequireItemDependency(S);q.loc=k.loc;q.optional=!!E.scope.inTry;E.state.current.addDependency(q)}N.push(q)}));const j=this.newRequireArrayDependency(N,S.range);j.loc=k.loc;j.optional=!!E.scope.inTry;E.state.module.addPresentationalDependency(j);return true}}processItem(E,k,S,N){if(S.isConditional()){S.options.forEach((S=>{const w=this.processItem(E,k,S);if(w===undefined){this.processContext(E,k,S)}}));return true}else if(S.isString()){let j,q;if(S.string==="require"){j=new te("__webpack_require__",S.range,[w.require])}else if(S.string==="exports"){j=new te("exports",S.range,[w.exports])}else if(S.string==="module"){j=new te("module",S.range,[w.module])}else if(q=Ee(E.state,S.string,N)){q.flagUsed();j=new _e(q,S.range,false)}else{j=this.newRequireItemDependency(S.string,S.range);j.optional=!!E.scope.inTry;E.state.current.addDependency(j);return true}j.loc=k.loc;E.state.module.addPresentationalDependency(j);return true}}processContext(E,k,S){const w=ne.create(q,S.range,S,k,this.options,{category:"amd"},E);if(!w)return;w.loc=k.loc;w.optional=!!E.scope.inTry;E.state.current.addDependency(w);return true}processCallDefine(E,k){let S,w,N,j;switch(k.arguments.length){case 1:if(isCallable(k.arguments[0])){w=k.arguments[0]}else if(k.arguments[0].type==="ObjectExpression"){N=k.arguments[0]}else{N=w=k.arguments[0]}break;case 2:if(k.arguments[0].type==="Literal"){j=k.arguments[0].value;if(isCallable(k.arguments[1])){w=k.arguments[1]}else if(k.arguments[1].type==="ObjectExpression"){N=k.arguments[1]}else{N=w=k.arguments[1]}}else{S=k.arguments[0];if(isCallable(k.arguments[1])){w=k.arguments[1]}else if(k.arguments[1].type==="ObjectExpression"){N=k.arguments[1]}else{N=w=k.arguments[1]}}break;case 3:j=k.arguments[0].value;S=k.arguments[1];if(isCallable(k.arguments[2])){w=k.arguments[2]}else if(k.arguments[2].type==="ObjectExpression"){N=k.arguments[2]}else{N=w=k.arguments[2]}break;default:return}ae.bailout(E.state);let q=null;let ee=0;if(w){if(isUnboundFunctionExpression(w)){q=w.params}else if(isBoundFunctionExpression(w)){q=w.callee.object.params;ee=w.arguments.length-1;if(ee<0){ee=0}}}let te=new Map;if(S){const w={};const N=E.evaluateExpression(S);const ne=this.processArray(E,k,N,w,j);if(!ne)return;if(q){q=q.slice(ee).filter(((k,S)=>{if(w[S]){te.set(k.name,E.getVariableInfo(w[S]));return false}return true}))}}else{const k=["require","exports","module"];if(q){q=q.slice(ee).filter(((S,w)=>{if(k[w]){te.set(S.name,E.getVariableInfo(k[w]));return false}return true}))}}let ne;if(w&&isUnboundFunctionExpression(w)){ne=E.scope.inTry;E.inScope(q,(()=>{for(const[k,S]of te){E.setVariable(k,S)}E.scope.inTry=ne;if(w.body.type==="BlockStatement"){E.detectMode(w.body.body);const k=E.prevStatement;E.preWalkStatement(w.body);E.prevStatement=k;E.walkStatement(w.body)}else{E.walkExpression(w.body)}}))}else if(w&&isBoundFunctionExpression(w)){ne=E.scope.inTry;E.inScope(w.callee.object.params.filter((E=>!["require","module","exports"].includes(E.name))),(()=>{for(const[k,S]of te){E.setVariable(k,S)}E.scope.inTry=ne;if(w.callee.object.body.type==="BlockStatement"){E.detectMode(w.callee.object.body.body);const k=E.prevStatement;E.preWalkStatement(w.callee.object.body);E.prevStatement=k;E.walkStatement(w.callee.object.body)}else{E.walkExpression(w.callee.object.body)}}));if(w.arguments){E.walkExpressions(w.arguments)}}else if(w||N){E.walkExpression(w||N)}const _e=this.newDefineDependency(k.range,S?S.range:null,w?w.range:null,N?N.range:null,j?j:null);_e.loc=k.loc;if(j){_e.localModule=ve(E.state,j)}E.state.module.addPresentationalDependency(_e);return true}newDefineDependency(E,k,S,w,j){return new N(E,k,S,w,j)}newRequireArrayDependency(E,k){return new j(E,k)}newRequireItemDependency(E,k){return new ee(E,k)}}E.exports=AMDDefineDependencyParserPlugin},19765:(E,k,S)=>{"use strict";const w=S(76150);const{approve:N,evaluateToIdentifier:j,evaluateToString:q,toConstantDependency:ee}=S(48472);const te=S(46960);const ne=S(98915);const ae=S(95715);const _e=S(38145);const ve=S(19041);const Ee=S(45167);const we=S(29022);const{AMDDefineRuntimeModule:Ce,AMDOptionsRuntimeModule:Me}=S(29035);const Te=S(66298);const Ie=S(14229);const Oe=S(12584);class AMDPlugin{constructor(E){this.amdOptions=E}apply(E){const k=this.amdOptions;E.hooks.compilation.tap("AMDPlugin",((E,{contextModuleFactory:S,normalModuleFactory:Re})=>{E.dependencyTemplates.set(Ee,new Ee.Template);E.dependencyFactories.set(we,Re);E.dependencyTemplates.set(we,new we.Template);E.dependencyTemplates.set(ae,new ae.Template);E.dependencyFactories.set(_e,S);E.dependencyTemplates.set(_e,new _e.Template);E.dependencyTemplates.set(te,new te.Template);E.dependencyTemplates.set(Oe,new Oe.Template);E.dependencyTemplates.set(Ie,new Ie.Template);E.hooks.runtimeRequirementInModule.for(w.amdDefine).tap("AMDPlugin",((E,k)=>{k.add(w.require)}));E.hooks.runtimeRequirementInModule.for(w.amdOptions).tap("AMDPlugin",((E,k)=>{k.add(w.requireScope)}));E.hooks.runtimeRequirementInTree.for(w.amdDefine).tap("AMDPlugin",((k,S)=>{E.addRuntimeModule(k,new Ce)}));E.hooks.runtimeRequirementInTree.for(w.amdOptions).tap("AMDPlugin",((S,w)=>{E.addRuntimeModule(S,new Me(k))}));const handler=(E,k)=>{if(k.amd!==undefined&&!k.amd)return;const tapOptionsHooks=(k,S,N)=>{E.hooks.expression.for(k).tap("AMDPlugin",ee(E,w.amdOptions,[w.amdOptions]));E.hooks.evaluateIdentifier.for(k).tap("AMDPlugin",j(k,S,N,true));E.hooks.evaluateTypeof.for(k).tap("AMDPlugin",q("object"));E.hooks.typeof.for(k).tap("AMDPlugin",ee(E,JSON.stringify("object")))};new ve(k).apply(E);new ne(k).apply(E);tapOptionsHooks("define.amd","define",(()=>"amd"));tapOptionsHooks("require.amd","require",(()=>["amd"]));tapOptionsHooks("__webpack_amd_options__","__webpack_amd_options__",(()=>[]));E.hooks.expression.for("define").tap("AMDPlugin",(k=>{const S=new Te(w.amdDefine,k.range,[w.amdDefine]);S.loc=k.loc;E.state.module.addPresentationalDependency(S);return true}));E.hooks.typeof.for("define").tap("AMDPlugin",ee(E,JSON.stringify("function")));E.hooks.evaluateTypeof.for("define").tap("AMDPlugin",q("function"));E.hooks.canRename.for("define").tap("AMDPlugin",N);E.hooks.rename.for("define").tap("AMDPlugin",(k=>{const S=new Te(w.amdDefine,k.range,[w.amdDefine]);S.loc=k.loc;E.state.module.addPresentationalDependency(S);return false}));E.hooks.typeof.for("require").tap("AMDPlugin",ee(E,JSON.stringify("function")));E.hooks.evaluateTypeof.for("require").tap("AMDPlugin",q("function"))};Re.hooks.parser.for("javascript/auto").tap("AMDPlugin",handler);Re.hooks.parser.for("javascript/dynamic").tap("AMDPlugin",handler)}))}}E.exports=AMDPlugin},95715:(E,k,S)=>{"use strict";const w=S(84304);const N=S(56202);const j=S(12197);class AMDRequireArrayDependency extends j{constructor(E,k){super();this.depsArray=E;this.range=k}get type(){return"amd require array"}get category(){return"amd"}serialize(E){const{write:k}=E;k(this.depsArray);k(this.range);super.serialize(E)}deserialize(E){const{read:k}=E;this.depsArray=k();this.range=k();super.deserialize(E)}}N(AMDRequireArrayDependency,"webpack/lib/dependencies/AMDRequireArrayDependency");AMDRequireArrayDependency.Template=class AMDRequireArrayDependencyTemplate extends w{apply(E,k,S){const w=E;const N=this.getContent(w,S);k.replace(w.range[0],w.range[1]-1,N)}getContent(E,k){const S=E.depsArray.map((E=>this.contentForDependency(E,k)));return`[${S.join(", ")}]`}contentForDependency(E,{runtimeTemplate:k,moduleGraph:S,chunkGraph:w,runtimeRequirements:N}){if(typeof E==="string"){return E}if(E.localModule){return E.localModule.variableName()}else{return k.moduleExports({module:S.getModule(E),chunkGraph:w,request:E.request,runtimeRequirements:N})}}};E.exports=AMDRequireArrayDependency},38145:(E,k,S)=>{"use strict";const w=S(56202);const N=S(400);class AMDRequireContextDependency extends N{constructor(E,k,S){super(E);this.range=k;this.valueRange=S}get type(){return"amd require context"}get category(){return"amd"}serialize(E){const{write:k}=E;k(this.range);k(this.valueRange);super.serialize(E)}deserialize(E){const{read:k}=E;this.range=k();this.valueRange=k();super.deserialize(E)}}w(AMDRequireContextDependency,"webpack/lib/dependencies/AMDRequireContextDependency");AMDRequireContextDependency.Template=S(42740);E.exports=AMDRequireContextDependency},83842:(E,k,S)=>{"use strict";const w=S(98221);const N=S(56202);class AMDRequireDependenciesBlock extends w{constructor(E,k){super(null,E,k)}}N(AMDRequireDependenciesBlock,"webpack/lib/dependencies/AMDRequireDependenciesBlock");E.exports=AMDRequireDependenciesBlock},19041:(E,k,S)=>{"use strict";const w=S(76150);const N=S(53558);const j=S(95715);const q=S(38145);const ee=S(83842);const te=S(45167);const ne=S(29022);const ae=S(66298);const _e=S(95601);const ve=S(14229);const{getLocalModule:Ee}=S(61701);const we=S(12584);const Ce=S(36134);class AMDRequireDependenciesBlockParserPlugin{constructor(E){this.options=E}processFunctionArgument(E,k){let S=true;const w=Ce(k);if(w){E.inScope(w.fn.params.filter((E=>!["require","module","exports"].includes(E.name))),(()=>{if(w.fn.body.type==="BlockStatement"){E.walkStatement(w.fn.body)}else{E.walkExpression(w.fn.body)}}));E.walkExpressions(w.expressions);if(w.needThis===false){S=false}}else{E.walkExpression(k)}return S}apply(E){E.hooks.call.for("require").tap("AMDRequireDependenciesBlockParserPlugin",this.processCallRequire.bind(this,E))}processArray(E,k,S){if(S.isArray()){for(const w of S.items){const S=this.processItem(E,k,w);if(S===undefined){this.processContext(E,k,w)}}return true}else if(S.isConstArray()){const w=[];for(const N of S.array){let S,j;if(N==="require"){S="__webpack_require__"}else if(["exports","module"].includes(N)){S=N}else if(j=Ee(E.state,N)){j.flagUsed();S=new ve(j,undefined,false);S.loc=k.loc;E.state.module.addPresentationalDependency(S)}else{S=this.newRequireItemDependency(N);S.loc=k.loc;S.optional=!!E.scope.inTry;E.state.current.addDependency(S)}w.push(S)}const N=this.newRequireArrayDependency(w,S.range);N.loc=k.loc;N.optional=!!E.scope.inTry;E.state.module.addPresentationalDependency(N);return true}}processItem(E,k,S){if(S.isConditional()){for(const w of S.options){const S=this.processItem(E,k,w);if(S===undefined){this.processContext(E,k,w)}}return true}else if(S.isString()){let N,j;if(S.string==="require"){N=new ae("__webpack_require__",S.string,[w.require])}else if(S.string==="module"){N=new ae(E.state.module.buildInfo.moduleArgument,S.range,[w.module])}else if(S.string==="exports"){N=new ae(E.state.module.buildInfo.exportsArgument,S.range,[w.exports])}else if(j=Ee(E.state,S.string)){j.flagUsed();N=new ve(j,S.range,false)}else{N=this.newRequireItemDependency(S.string,S.range);N.loc=k.loc;N.optional=!!E.scope.inTry;E.state.current.addDependency(N);return true}N.loc=k.loc;E.state.module.addPresentationalDependency(N);return true}}processContext(E,k,S){const w=_e.create(q,S.range,S,k,this.options,{category:"amd"},E);if(!w)return;w.loc=k.loc;w.optional=!!E.scope.inTry;E.state.current.addDependency(w);return true}processArrayForRequestString(E){if(E.isArray()){const k=E.items.map((E=>this.processItemForRequestString(E)));if(k.every(Boolean))return k.join(" ")}else if(E.isConstArray()){return E.array.join(" ")}}processItemForRequestString(E){if(E.isConditional()){const k=E.options.map((E=>this.processItemForRequestString(E)));if(k.every(Boolean))return k.join("|")}else if(E.isString()){return E.string}}processCallRequire(E,k){let S;let w;let j;let q;const ee=E.state.current;if(k.arguments.length>=1){S=E.evaluateExpression(k.arguments[0]);w=this.newRequireDependenciesBlock(k.loc,this.processArrayForRequestString(S));j=this.newRequireDependency(k.range,S.range,k.arguments.length>1?k.arguments[1].range:null,k.arguments.length>2?k.arguments[2].range:null);j.loc=k.loc;w.addDependency(j);E.state.current=w}if(k.arguments.length===1){E.inScope([],(()=>{q=this.processArray(E,k,S)}));E.state.current=ee;if(!q)return;E.state.current.addBlock(w);return true}if(k.arguments.length===2||k.arguments.length===3){try{E.inScope([],(()=>{q=this.processArray(E,k,S)}));if(!q){const S=new we("unsupported",k.range);ee.addPresentationalDependency(S);if(E.state.module){E.state.module.addError(new N("Cannot statically analyse 'require(…, …)' in line "+k.loc.start.line,k.loc))}w=null;return true}j.functionBindThis=this.processFunctionArgument(E,k.arguments[1]);if(k.arguments.length===3){j.errorCallbackBindThis=this.processFunctionArgument(E,k.arguments[2])}}finally{E.state.current=ee;if(w)E.state.current.addBlock(w)}return true}}newRequireDependenciesBlock(E,k){return new ee(E,k)}newRequireDependency(E,k,S,w){return new te(E,k,S,w)}newRequireItemDependency(E,k){return new ne(E,k)}newRequireArrayDependency(E,k){return new j(E,k)}}E.exports=AMDRequireDependenciesBlockParserPlugin},45167:(E,k,S)=>{"use strict";const w=S(76150);const N=S(56202);const j=S(12197);class AMDRequireDependency extends j{constructor(E,k,S,w){super();this.outerRange=E;this.arrayRange=k;this.functionRange=S;this.errorCallbackRange=w;this.functionBindThis=false;this.errorCallbackBindThis=false}get category(){return"amd"}serialize(E){const{write:k}=E;k(this.outerRange);k(this.arrayRange);k(this.functionRange);k(this.errorCallbackRange);k(this.functionBindThis);k(this.errorCallbackBindThis);super.serialize(E)}deserialize(E){const{read:k}=E;this.outerRange=k();this.arrayRange=k();this.functionRange=k();this.errorCallbackRange=k();this.functionBindThis=k();this.errorCallbackBindThis=k();super.deserialize(E)}}N(AMDRequireDependency,"webpack/lib/dependencies/AMDRequireDependency");AMDRequireDependency.Template=class AMDRequireDependencyTemplate extends j.Template{apply(E,k,{runtimeTemplate:S,moduleGraph:N,chunkGraph:j,runtimeRequirements:q}){const ee=E;const te=N.getParentBlock(ee);const ne=S.blockPromise({chunkGraph:j,block:te,message:"AMD require",runtimeRequirements:q});if(ee.arrayRange&&!ee.functionRange){const E=`${ne}.then(function() {`;const S=`;}).catch(${w.uncaughtErrorHandler})`;q.add(w.uncaughtErrorHandler);k.replace(ee.outerRange[0],ee.arrayRange[0]-1,E);k.replace(ee.arrayRange[1],ee.outerRange[1]-1,S);return}if(ee.functionRange&&!ee.arrayRange){const E=`${ne}.then((`;const S=`).bind(exports, __webpack_require__, exports, module)).catch(${w.uncaughtErrorHandler})`;q.add(w.uncaughtErrorHandler);k.replace(ee.outerRange[0],ee.functionRange[0]-1,E);k.replace(ee.functionRange[1],ee.outerRange[1]-1,S);return}if(ee.arrayRange&&ee.functionRange&&ee.errorCallbackRange){const E=`${ne}.then(function() { `;const S=`}${ee.functionBindThis?".bind(this)":""}).catch(`;const w=`${ee.errorCallbackBindThis?".bind(this)":""})`;k.replace(ee.outerRange[0],ee.arrayRange[0]-1,E);k.insert(ee.arrayRange[0]+.9,"var __WEBPACK_AMD_REQUIRE_ARRAY__ = ");k.replace(ee.arrayRange[1],ee.functionRange[0]-1,"; (");k.insert(ee.functionRange[1],").apply(null, __WEBPACK_AMD_REQUIRE_ARRAY__);");k.replace(ee.functionRange[1],ee.errorCallbackRange[0]-1,S);k.replace(ee.errorCallbackRange[1],ee.outerRange[1]-1,w);return}if(ee.arrayRange&&ee.functionRange){const E=`${ne}.then(function() { `;const S=`}${ee.functionBindThis?".bind(this)":""}).catch(${w.uncaughtErrorHandler})`;q.add(w.uncaughtErrorHandler);k.replace(ee.outerRange[0],ee.arrayRange[0]-1,E);k.insert(ee.arrayRange[0]+.9,"var __WEBPACK_AMD_REQUIRE_ARRAY__ = ");k.replace(ee.arrayRange[1],ee.functionRange[0]-1,"; (");k.insert(ee.functionRange[1],").apply(null, __WEBPACK_AMD_REQUIRE_ARRAY__);");k.replace(ee.functionRange[1],ee.outerRange[1]-1,S)}}};E.exports=AMDRequireDependency},29022:(E,k,S)=>{"use strict";const w=S(56202);const N=S(79983);const j=S(87283);class AMDRequireItemDependency extends N{constructor(E,k){super(E);this.range=k}get type(){return"amd require"}get category(){return"amd"}}w(AMDRequireItemDependency,"webpack/lib/dependencies/AMDRequireItemDependency");AMDRequireItemDependency.Template=j;E.exports=AMDRequireItemDependency},29035:(E,k,S)=>{"use strict";const w=S(76150);const N=S(66804);const j=S(58159);class AMDDefineRuntimeModule extends N{constructor(){super("amd define")}generate(){return j.asString([`${w.amdDefine} = function () {`,j.indent("throw new Error('define cannot be used indirect');"),"};"])}}class AMDOptionsRuntimeModule extends N{constructor(E){super("amd options");this.options=E}generate(){return j.asString([`${w.amdOptions} = ${JSON.stringify(this.options)};`])}}k.AMDDefineRuntimeModule=AMDDefineRuntimeModule;k.AMDOptionsRuntimeModule=AMDOptionsRuntimeModule},59455:(E,k,S)=>{"use strict";const w=S(84304);const N=S(63272);const j=S(56202);const q=S(12197);class CachedConstDependency extends q{constructor(E,k,S){super();this.expression=E;this.range=k;this.identifier=S}updateHash(E,k){E.update(this.identifier+"");E.update(this.range+"");E.update(this.expression+"")}serialize(E){const{write:k}=E;k(this.expression);k(this.range);k(this.identifier);super.serialize(E)}deserialize(E){const{read:k}=E;this.expression=k();this.range=k();this.identifier=k();super.deserialize(E)}}j(CachedConstDependency,"webpack/lib/dependencies/CachedConstDependency");CachedConstDependency.Template=class CachedConstDependencyTemplate extends w{apply(E,k,{runtimeTemplate:S,dependencyTemplates:w,initFragments:j}){const q=E;j.push(new N(`var ${q.identifier} = ${q.expression};\n`,N.STAGE_CONSTANTS,0,`const ${q.identifier}`));if(typeof q.range==="number"){k.insert(q.range,q.identifier);return}k.replace(q.range[0],q.range[1]-1,q.identifier)}};E.exports=CachedConstDependency},73456:(E,k,S)=>{"use strict";const w=S(76150);k.handleDependencyBase=(E,k,S)=>{let N=undefined;let j;switch(E){case"exports":S.add(w.exports);N=k.exportsArgument;j="expression";break;case"module.exports":S.add(w.module);N=`${k.moduleArgument}.exports`;j="expression";break;case"this":S.add(w.thisAsExports);N="this";j="expression";break;case"Object.defineProperty(exports)":S.add(w.exports);N=k.exportsArgument;j="Object.defineProperty";break;case"Object.defineProperty(module.exports)":S.add(w.module);N=`${k.moduleArgument}.exports`;j="Object.defineProperty";break;case"Object.defineProperty(this)":S.add(w.thisAsExports);N="this";j="Object.defineProperty";break;default:throw new Error(`Unsupported base ${E}`)}return[j,N]}},1248:(E,k,S)=>{"use strict";const w=S(28706);const{UsageState:N}=S(76632);const j=S(58159);const{equals:q}=S(73910);const ee=S(56202);const te=S(68038);const{handleDependencyBase:ne}=S(73456);const ae=S(79983);const _e=S(18971);const ve=Symbol("CommonJsExportRequireDependency.ids");const Ee={};class CommonJsExportRequireDependency extends ae{constructor(E,k,S,w,N,j,q){super(N);this.range=E;this.valueRange=k;this.base=S;this.names=w;this.ids=j;this.resultUsed=q;this.asiSafe=undefined}get type(){return"cjs export require"}getIds(E){return E.getMeta(this)[ve]||this.ids}setIds(E,k){E.getMeta(this)[ve]=k}getReferencedExports(E,k){const S=this.getIds(E);const getFullResult=()=>{if(S.length===0){return w.EXPORTS_OBJECT_REFERENCED}else{return[{name:S,canMangle:false}]}};if(this.resultUsed)return getFullResult();let j=E.getExportsInfo(E.getParentModule(this));for(const E of this.names){const S=j.getReadOnlyExportInfo(E);const q=S.getUsed(k);if(q===N.Unused)return w.NO_EXPORTS_REFERENCED;if(q!==N.OnlyPropertiesUsed)return getFullResult();j=S.exportsInfo;if(!j)return getFullResult()}if(j.otherExportsInfo.getUsed(k)!==N.Unused){return getFullResult()}const q=[];for(const E of j.orderedExports){_e(k,q,S.concat(E.name),E,false)}return q.map((E=>({name:E,canMangle:false})))}getExports(E){const k=this.getIds(E);if(this.names.length===1){const S=this.names[0];const w=E.getConnection(this);if(!w)return;return{exports:[{name:S,from:w,export:k.length===0?null:k,canMangle:!(S in Ee)&&false}],dependencies:[w.module]}}else if(this.names.length>0){const E=this.names[0];return{exports:[{name:E,canMangle:!(E in Ee)&&false}],dependencies:undefined}}else{const S=E.getConnection(this);if(!S)return;const w=this.getStarReexports(E,undefined,S.module);if(w){return{exports:Array.from(w.exports,(E=>({name:E,from:S,export:k.concat(E),canMangle:!(E in Ee)&&false}))),dependencies:[S.module]}}else{return{exports:true,from:k.length===0?S:undefined,canMangle:false,dependencies:[S.module]}}}}getStarReexports(E,k,S=E.getModule(this)){let w=E.getExportsInfo(S);const j=this.getIds(E);if(j.length>0)w=w.getNestedExportsInfo(j);let q=E.getExportsInfo(E.getParentModule(this));if(this.names.length>0)q=q.getNestedExportsInfo(this.names);const ee=w&&w.otherExportsInfo.provided===false;const te=q&&q.otherExportsInfo.getUsed(k)===N.Unused;if(!ee&&!te){return}const ne=S.getExportsType(E,false)==="namespace";const ae=new Set;const _e=new Set;if(te){for(const E of q.orderedExports){const S=E.name;if(E.getUsed(k)===N.Unused)continue;if(S==="__esModule"&&ne){ae.add(S)}else if(w){const E=w.getReadOnlyExportInfo(S);if(E.provided===false)continue;ae.add(S);if(E.provided===true)continue;_e.add(S)}else{ae.add(S);_e.add(S)}}}else if(ee){for(const E of w.orderedExports){const S=E.name;if(E.provided===false)continue;if(q){const E=q.getReadOnlyExportInfo(S);if(E.getUsed(k)===N.Unused)continue}ae.add(S);if(E.provided===true)continue;_e.add(S)}if(ne){ae.add("__esModule");_e.delete("__esModule")}}return{exports:ae,checked:_e}}serialize(E){const{write:k}=E;k(this.asiSafe);k(this.range);k(this.valueRange);k(this.base);k(this.names);k(this.ids);k(this.resultUsed);super.serialize(E)}deserialize(E){const{read:k}=E;this.asiSafe=k();this.range=k();this.valueRange=k();this.base=k();this.names=k();this.ids=k();this.resultUsed=k();super.deserialize(E)}}ee(CommonJsExportRequireDependency,"webpack/lib/dependencies/CommonJsExportRequireDependency");CommonJsExportRequireDependency.Template=class CommonJsExportRequireDependencyTemplate extends ae.Template{apply(E,k,{module:S,runtimeTemplate:w,chunkGraph:N,moduleGraph:ee,runtimeRequirements:ae,runtime:_e}){const ve=E;const Ee=ee.getExportsInfo(S).getUsedName(ve.names,_e);const[we,Ce]=ne(ve.base,S,ae);const Me=ee.getModule(ve);let Te=w.moduleExports({module:Me,chunkGraph:N,request:ve.request,weak:ve.weak,runtimeRequirements:ae});const Ie=ve.getIds(ee);const Oe=ee.getExportsInfo(Me).getUsedName(Ie,_e);if(Oe){const E=q(Oe,Ie)?"":j.toNormalComment(te(Ie))+" ";Te+=`${E}${te(Oe)}`}switch(we){case"expression":k.replace(ve.range[0],ve.range[1]-1,Ee?`${Ce}${te(Ee)} = ${Te}`:`/* unused reexport */ ${Te}`);return;case"Object.defineProperty":throw new Error("TODO");default:throw new Error("Unexpected type")}}};E.exports=CommonJsExportRequireDependency},26702:(E,k,S)=>{"use strict";const w=S(63272);const N=S(56202);const j=S(68038);const{handleDependencyBase:q}=S(73456);const ee=S(12197);const te={};class CommonJsExportsDependency extends ee{constructor(E,k,S,w){super();this.range=E;this.valueRange=k;this.base=S;this.names=w}get type(){return"cjs exports"}getExports(E){const k=this.names[0];return{exports:[{name:k,canMangle:!(k in te)}],dependencies:undefined}}serialize(E){const{write:k}=E;k(this.range);k(this.valueRange);k(this.base);k(this.names);super.serialize(E)}deserialize(E){const{read:k}=E;this.range=k();this.valueRange=k();this.base=k();this.names=k();super.deserialize(E)}}N(CommonJsExportsDependency,"webpack/lib/dependencies/CommonJsExportsDependency");CommonJsExportsDependency.Template=class CommonJsExportsDependencyTemplate extends ee.Template{apply(E,k,{module:S,moduleGraph:N,initFragments:ee,runtimeRequirements:te,runtime:ne}){const ae=E;const _e=N.getExportsInfo(S).getUsedName(ae.names,ne);const[ve,Ee]=q(ae.base,S,te);switch(ve){case"expression":if(!_e){ee.push(new w("var __webpack_unused_export__;\n",w.STAGE_CONSTANTS,0,"__webpack_unused_export__"));k.replace(ae.range[0],ae.range[1]-1,"__webpack_unused_export__");return}k.replace(ae.range[0],ae.range[1]-1,`${Ee}${j(_e)}`);return;case"Object.defineProperty":if(!_e){ee.push(new w("var __webpack_unused_export__;\n",w.STAGE_CONSTANTS,0,"__webpack_unused_export__"));k.replace(ae.range[0],ae.valueRange[0]-1,"__webpack_unused_export__ = (");k.replace(ae.valueRange[1],ae.range[1]-1,")");return}k.replace(ae.range[0],ae.valueRange[0]-1,`Object.defineProperty(${Ee}${j(_e.slice(0,-1))}, ${JSON.stringify(_e[_e.length-1])}, (`);k.replace(ae.valueRange[1],ae.range[1]-1,"))");return}}};E.exports=CommonJsExportsDependency},48235:(E,k,S)=>{"use strict";const w=S(76150);const N=S(72380);const{evaluateToString:j}=S(48472);const q=S(68038);const ee=S(1248);const te=S(26702);const ne=S(94147);const ae=S(28140);const _e=S(25702);const ve=S(2706);const getValueOfPropertyDescription=E=>{if(E.type!=="ObjectExpression")return;for(const k of E.properties){if(k.computed)continue;const E=k.key;if(E.type!=="Identifier"||E.name!=="value")continue;return k.value}};const isTruthyLiteral=E=>{switch(E.type){case"Literal":return!!E.value;case"UnaryExpression":if(E.operator==="!")return isFalsyLiteral(E.argument)}return false};const isFalsyLiteral=E=>{switch(E.type){case"Literal":return!E.value;case"UnaryExpression":if(E.operator==="!")return isTruthyLiteral(E.argument)}return false};const parseRequireCall=(E,k)=>{const S=[];while(k.type==="MemberExpression"){if(k.object.type==="Super")return;if(!k.property)return;const E=k.property;if(k.computed){if(E.type!=="Literal")return;S.push(`${E.value}`)}else{if(E.type!=="Identifier")return;S.push(E.name)}k=k.object}if(k.type!=="CallExpression"||k.arguments.length!==1)return;const w=k.callee;if(w.type!=="Identifier"||E.getVariableInfo(w.name)!=="require"){return}const N=k.arguments[0];if(N.type==="SpreadElement")return;const j=E.evaluateExpression(N);return{argument:j,ids:S.reverse()}};class CommonJsExportsParserPlugin{constructor(E){this.moduleGraph=E}apply(E){const enableStructuredExports=()=>{ae.enable(E.state)};const checkNamespace=(k,S,w)=>{if(!ae.isEnabled(E.state))return;if(S.length>0&&S[0]==="__esModule"){if(w&&isTruthyLiteral(w)&&k){ae.setFlagged(E.state)}else{ae.setDynamic(E.state)}}};const bailout=k=>{ae.bailout(E.state);if(k)bailoutHint(k)};const bailoutHint=k=>{this.moduleGraph.getOptimizationBailout(E.state.module).push(`CommonJS bailout: ${k}`)};E.hooks.evaluateTypeof.for("module").tap("CommonJsExportsParserPlugin",j("object"));E.hooks.evaluateTypeof.for("exports").tap("CommonJsPlugin",j("object"));const handleAssignExport=(k,S,w)=>{if(_e.isEnabled(E.state))return;const N=parseRequireCall(E,k.right);if(N&&N.argument.isString()&&(w.length===0||w[0]!=="__esModule")){enableStructuredExports();if(w.length===0)ae.setDynamic(E.state);const j=new ee(k.range,null,S,w,N.argument.string,N.ids,!E.isStatementLevelExpression(k));j.loc=k.loc;j.optional=!!E.scope.inTry;E.state.module.addDependency(j);return true}if(w.length===0)return;enableStructuredExports();const j=w;checkNamespace(E.statementPath.length===1&&E.isStatementLevelExpression(k),j,k.right);const q=new te(k.left.range,null,S,j);q.loc=k.loc;E.state.module.addDependency(q);E.walkExpression(k.right);return true};E.hooks.assignMemberChain.for("exports").tap("CommonJsExportsParserPlugin",((E,k)=>handleAssignExport(E,"exports",k)));E.hooks.assignMemberChain.for("this").tap("CommonJsExportsParserPlugin",((k,S)=>{if(!E.scope.topLevelScope)return;return handleAssignExport(k,"this",S)}));E.hooks.assignMemberChain.for("module").tap("CommonJsExportsParserPlugin",((E,k)=>{if(k[0]!=="exports")return;return handleAssignExport(E,"module.exports",k.slice(1))}));E.hooks.call.for("Object.defineProperty").tap("CommonJsExportsParserPlugin",(k=>{const S=k;if(!E.isStatementLevelExpression(S))return;if(S.arguments.length!==3)return;if(S.arguments[0].type==="SpreadElement")return;if(S.arguments[1].type==="SpreadElement")return;if(S.arguments[2].type==="SpreadElement")return;const w=E.evaluateExpression(S.arguments[0]);if(!w||!w.isIdentifier())return;if(w.identifier!=="exports"&&w.identifier!=="module.exports"&&(w.identifier!=="this"||!E.scope.topLevelScope)){return}const N=E.evaluateExpression(S.arguments[1]);if(!N)return;const j=N.asString();if(typeof j!=="string")return;enableStructuredExports();const q=S.arguments[2];checkNamespace(E.statementPath.length===1,[j],getValueOfPropertyDescription(q));const ee=new te(S.range,S.arguments[2].range,`Object.defineProperty(${w.identifier})`,[j]);ee.loc=S.loc;E.state.module.addDependency(ee);E.walkExpression(S.arguments[2]);return true}));const handleAccessExport=(k,S,w,j=undefined)=>{if(_e.isEnabled(E.state))return;if(w.length===0){bailout(`${S} is used directly at ${N(k.loc)}`)}if(j&&w.length===1){bailoutHint(`${S}${q(w)}(...) prevents optimization as ${S} is passed as call context at ${N(k.loc)}`)}const ee=new ne(k.range,S,w,!!j);ee.loc=k.loc;E.state.module.addDependency(ee);if(j){E.walkExpressions(j.arguments)}return true};E.hooks.callMemberChain.for("exports").tap("CommonJsExportsParserPlugin",((E,k)=>handleAccessExport(E.callee,"exports",k,E)));E.hooks.expressionMemberChain.for("exports").tap("CommonJsExportsParserPlugin",((E,k)=>handleAccessExport(E,"exports",k)));E.hooks.expression.for("exports").tap("CommonJsExportsParserPlugin",(E=>handleAccessExport(E,"exports",[])));E.hooks.callMemberChain.for("module").tap("CommonJsExportsParserPlugin",((E,k)=>{if(k[0]!=="exports")return;return handleAccessExport(E.callee,"module.exports",k.slice(1),E)}));E.hooks.expressionMemberChain.for("module").tap("CommonJsExportsParserPlugin",((E,k)=>{if(k[0]!=="exports")return;return handleAccessExport(E,"module.exports",k.slice(1))}));E.hooks.expression.for("module.exports").tap("CommonJsExportsParserPlugin",(E=>handleAccessExport(E,"module.exports",[])));E.hooks.callMemberChain.for("this").tap("CommonJsExportsParserPlugin",((k,S)=>{if(!E.scope.topLevelScope)return;return handleAccessExport(k.callee,"this",S,k)}));E.hooks.expressionMemberChain.for("this").tap("CommonJsExportsParserPlugin",((k,S)=>{if(!E.scope.topLevelScope)return;return handleAccessExport(k,"this",S)}));E.hooks.expression.for("this").tap("CommonJsExportsParserPlugin",(k=>{if(!E.scope.topLevelScope)return;return handleAccessExport(k,"this",[])}));E.hooks.expression.for("module").tap("CommonJsPlugin",(k=>{bailout();const S=_e.isEnabled(E.state);const N=new ve(S?w.harmonyModuleDecorator:w.nodeModuleDecorator,!S);N.loc=k.loc;E.state.module.addDependency(N);return true}))}}E.exports=CommonJsExportsParserPlugin},87519:(E,k,S)=>{"use strict";const w=S(58159);const{equals:N}=S(73910);const j=S(56202);const q=S(68038);const ee=S(79983);class CommonJsFullRequireDependency extends ee{constructor(E,k,S){super(E);this.range=k;this.names=S;this.call=false;this.asiSafe=undefined}getReferencedExports(E,k){if(this.call){const k=E.getModule(this);if(!k||k.getExportsType(E,false)!=="namespace"){return[this.names.slice(0,-1)]}}return[this.names]}serialize(E){const{write:k}=E;k(this.names);k(this.call);k(this.asiSafe);super.serialize(E)}deserialize(E){const{read:k}=E;this.names=k();this.call=k();this.asiSafe=k();super.deserialize(E)}get type(){return"cjs full require"}get category(){return"commonjs"}}CommonJsFullRequireDependency.Template=class CommonJsFullRequireDependencyTemplate extends ee.Template{apply(E,k,{module:S,runtimeTemplate:j,moduleGraph:ee,chunkGraph:te,runtimeRequirements:ne,runtime:ae,initFragments:_e}){const ve=E;if(!ve.range)return;const Ee=ee.getModule(ve);let we=j.moduleExports({module:Ee,chunkGraph:te,request:ve.request,weak:ve.weak,runtimeRequirements:ne});const Ce=ve.names;const Me=ee.getExportsInfo(Ee).getUsedName(Ce,ae);if(Me){const E=N(Me,Ce)?"":w.toNormalComment(q(Ce))+" ";we+=`${E}${q(Me)}`}k.replace(ve.range[0],ve.range[1]-1,we)}};j(CommonJsFullRequireDependency,"webpack/lib/dependencies/CommonJsFullRequireDependency");E.exports=CommonJsFullRequireDependency},42218:(E,k,S)=>{"use strict";const w=S(47207);const N=S(76150);const j=S(53558);const{evaluateToIdentifier:q,evaluateToString:ee,expressionIsUnsupported:te,toConstantDependency:ne}=S(48472);const ae=S(87519);const _e=S(51454);const ve=S(37313);const Ee=S(66298);const we=S(95601);const Ce=S(14229);const{getLocalModule:Me}=S(61701);const Te=S(70340);const Ie=S(84817);const Oe=S(76913);const Re=S(23380);class CommonJsImportsParserPlugin{constructor(E){this.options=E}apply(E){const k=this.options;const tapRequireExpression=(k,S)=>{E.hooks.typeof.for(k).tap("CommonJsPlugin",ne(E,JSON.stringify("function")));E.hooks.evaluateTypeof.for(k).tap("CommonJsPlugin",ee("function"));E.hooks.evaluateIdentifier.for(k).tap("CommonJsPlugin",q(k,"require",S,true))};tapRequireExpression("require",(()=>[]));tapRequireExpression("require.resolve",(()=>["resolve"]));tapRequireExpression("require.resolveWeak",(()=>["resolveWeak"]));E.hooks.assign.for("require").tap("CommonJsPlugin",(k=>{const S=new Ee("var require;",0);S.loc=k.loc;E.state.module.addPresentationalDependency(S);return true}));E.hooks.expression.for("require.main.require").tap("CommonJsPlugin",te(E,"require.main.require is not supported by webpack."));E.hooks.call.for("require.main.require").tap("CommonJsPlugin",te(E,"require.main.require is not supported by webpack."));E.hooks.expression.for("module.parent.require").tap("CommonJsPlugin",te(E,"module.parent.require is not supported by webpack."));E.hooks.call.for("module.parent.require").tap("CommonJsPlugin",te(E,"module.parent.require is not supported by webpack."));E.hooks.canRename.for("require").tap("CommonJsPlugin",(()=>true));E.hooks.rename.for("require").tap("CommonJsPlugin",(k=>{const S=new Ee("undefined",k.range);S.loc=k.loc;E.state.module.addPresentationalDependency(S);return false}));E.hooks.expression.for("require.cache").tap("CommonJsImportsParserPlugin",ne(E,N.moduleCache,[N.moduleCache,N.moduleId,N.moduleLoaded]));E.hooks.expression.for("require").tap("CommonJsImportsParserPlugin",(S=>{const w=new _e({request:k.unknownContextRequest,recursive:k.unknownContextRecursive,regExp:k.unknownContextRegExp,mode:"sync"},S.range);w.critical=k.unknownContextCritical&&"require function is used in a way in which dependencies cannot be statically extracted";w.loc=S.loc;w.optional=!!E.scope.inTry;E.state.current.addDependency(w);return true}));const processRequireItem=(k,S)=>{if(S.isString()){const w=new ve(S.string,S.range);w.loc=k.loc;w.optional=!!E.scope.inTry;E.state.current.addDependency(w);return true}};const processRequireContext=(S,w)=>{const N=we.create(_e,S.range,w,S,k,{category:"commonjs"},E);if(!N)return;N.loc=S.loc;N.optional=!!E.scope.inTry;E.state.current.addDependency(N);return true};const createRequireHandler=S=>N=>{if(k.commonjsMagicComments){const{options:k,errors:S}=E.parseCommentOptions(N.range);if(S){for(const k of S){const{comment:S}=k;E.state.module.addWarning(new w(`Compilation error while processing magic comment(-s): /*${S.value}*/: ${k.message}`,S.loc))}}if(k){if(k.webpackIgnore!==undefined){if(typeof k.webpackIgnore!=="boolean"){E.state.module.addWarning(new j(`\`webpackIgnore\` expected a boolean, but received: ${k.webpackIgnore}.`,N.loc))}else{if(k.webpackIgnore){return true}}}}}if(N.arguments.length!==1)return;let q;const ee=E.evaluateExpression(N.arguments[0]);if(ee.isConditional()){let k=false;for(const E of ee.options){const S=processRequireItem(N,E);if(S===undefined){k=true}}if(!k){const k=new Te(N.callee.range);k.loc=N.loc;E.state.module.addPresentationalDependency(k);return true}}if(ee.isString()&&(q=Me(E.state,ee.string))){q.flagUsed();const k=new Ce(q,N.range,S);k.loc=N.loc;E.state.module.addPresentationalDependency(k);return true}else{const k=processRequireItem(N,ee);if(k===undefined){processRequireContext(N,ee)}else{const k=new Te(N.callee.range);k.loc=N.loc;E.state.module.addPresentationalDependency(k)}return true}};E.hooks.call.for("require").tap("CommonJsImportsParserPlugin",createRequireHandler(false));E.hooks.new.for("require").tap("CommonJsImportsParserPlugin",createRequireHandler(true));E.hooks.call.for("module.require").tap("CommonJsImportsParserPlugin",createRequireHandler(false));E.hooks.new.for("module.require").tap("CommonJsImportsParserPlugin",createRequireHandler(true));const chainHandler=(k,S,w,N)=>{if(w.arguments.length!==1)return;const j=E.evaluateExpression(w.arguments[0]);if(j.isString()&&!Me(E.state,j.string)){const S=new ae(j.string,k.range,N);S.asiSafe=!E.isAsiPosition(k.range[0]);S.optional=!!E.scope.inTry;S.loc=k.loc;E.state.module.addDependency(S);return true}};const callChainHandler=(k,S,w,N)=>{if(w.arguments.length!==1)return;const j=E.evaluateExpression(w.arguments[0]);if(j.isString()&&!Me(E.state,j.string)){const S=new ae(j.string,k.callee.range,N);S.call=true;S.asiSafe=!E.isAsiPosition(k.range[0]);S.optional=!!E.scope.inTry;S.loc=k.callee.loc;E.state.module.addDependency(S);E.walkExpressions(k.arguments);return true}};E.hooks.memberChainOfCallMemberChain.for("require").tap("CommonJsImportsParserPlugin",chainHandler);E.hooks.memberChainOfCallMemberChain.for("module.require").tap("CommonJsImportsParserPlugin",chainHandler);E.hooks.callMemberChainOfCallMemberChain.for("require").tap("CommonJsImportsParserPlugin",callChainHandler);E.hooks.callMemberChainOfCallMemberChain.for("module.require").tap("CommonJsImportsParserPlugin",callChainHandler);const processResolve=(k,S)=>{if(k.arguments.length!==1)return;const w=E.evaluateExpression(k.arguments[0]);if(w.isConditional()){for(const E of w.options){const w=processResolveItem(k,E,S);if(w===undefined){processResolveContext(k,E,S)}}const N=new Re(k.callee.range);N.loc=k.loc;E.state.module.addPresentationalDependency(N);return true}else{const N=processResolveItem(k,w,S);if(N===undefined){processResolveContext(k,w,S)}const j=new Re(k.callee.range);j.loc=k.loc;E.state.module.addPresentationalDependency(j);return true}};const processResolveItem=(k,S,w)=>{if(S.isString()){const N=new Oe(S.string,S.range);N.loc=k.loc;N.optional=!!E.scope.inTry;N.weak=w;E.state.current.addDependency(N);return true}};const processResolveContext=(S,w,N)=>{const j=we.create(Ie,w.range,w,S,k,{category:"commonjs",mode:N?"weak":"sync"},E);if(!j)return;j.loc=S.loc;j.optional=!!E.scope.inTry;E.state.current.addDependency(j);return true};E.hooks.call.for("require.resolve").tap("RequireResolveDependencyParserPlugin",(E=>processResolve(E,false)));E.hooks.call.for("require.resolveWeak").tap("RequireResolveDependencyParserPlugin",(E=>processResolve(E,true)))}}E.exports=CommonJsImportsParserPlugin},91630:(E,k,S)=>{"use strict";const w=S(76150);const N=S(66804);const j=S(31141);const q=S(58159);const ee=S(26702);const te=S(87519);const ne=S(51454);const ae=S(37313);const _e=S(94147);const ve=S(2706);const Ee=S(70340);const we=S(84817);const Ce=S(76913);const Me=S(23380);const Te=S(35424);const Ie=S(48235);const Oe=S(42218);const{evaluateToIdentifier:Re,toConstantDependency:Fe}=S(48472);const Ne=S(1248);class CommonJsPlugin{apply(E){E.hooks.compilation.tap("CommonJsPlugin",((E,{contextModuleFactory:k,normalModuleFactory:S})=>{E.dependencyFactories.set(ae,S);E.dependencyTemplates.set(ae,new ae.Template);E.dependencyFactories.set(te,S);E.dependencyTemplates.set(te,new te.Template);E.dependencyFactories.set(ne,k);E.dependencyTemplates.set(ne,new ne.Template);E.dependencyFactories.set(Ce,S);E.dependencyTemplates.set(Ce,new Ce.Template);E.dependencyFactories.set(we,k);E.dependencyTemplates.set(we,new we.Template);E.dependencyTemplates.set(Me,new Me.Template);E.dependencyTemplates.set(Ee,new Ee.Template);E.dependencyTemplates.set(ee,new ee.Template);E.dependencyFactories.set(Ne,S);E.dependencyTemplates.set(Ne,new Ne.Template);const N=new j(E.moduleGraph);E.dependencyFactories.set(_e,N);E.dependencyTemplates.set(_e,new _e.Template);E.dependencyFactories.set(ve,N);E.dependencyTemplates.set(ve,new ve.Template);E.hooks.runtimeRequirementInModule.for(w.harmonyModuleDecorator).tap("CommonJsPlugin",((E,k)=>{k.add(w.module);k.add(w.requireScope)}));E.hooks.runtimeRequirementInModule.for(w.nodeModuleDecorator).tap("CommonJsPlugin",((E,k)=>{k.add(w.module);k.add(w.requireScope)}));E.hooks.runtimeRequirementInTree.for(w.harmonyModuleDecorator).tap("CommonJsPlugin",((k,S)=>{E.addRuntimeModule(k,new HarmonyModuleDecoratorRuntimeModule)}));E.hooks.runtimeRequirementInTree.for(w.nodeModuleDecorator).tap("CommonJsPlugin",((k,S)=>{E.addRuntimeModule(k,new NodeModuleDecoratorRuntimeModule)}));const handler=(k,S)=>{if(S.commonjs!==undefined&&!S.commonjs)return;k.hooks.typeof.for("module").tap("CommonJsPlugin",Fe(k,JSON.stringify("object")));k.hooks.expression.for("require.main").tap("CommonJsPlugin",Fe(k,`${w.moduleCache}[${w.entryModuleId}]`,[w.moduleCache,w.entryModuleId]));k.hooks.expression.for("module.loaded").tap("CommonJsPlugin",(E=>{k.state.module.buildInfo.moduleConcatenationBailout="module.loaded";const S=new Te([w.moduleLoaded]);S.loc=E.loc;k.state.module.addPresentationalDependency(S);return true}));k.hooks.expression.for("module.id").tap("CommonJsPlugin",(E=>{k.state.module.buildInfo.moduleConcatenationBailout="module.id";const S=new Te([w.moduleId]);S.loc=E.loc;k.state.module.addPresentationalDependency(S);return true}));k.hooks.evaluateIdentifier.for("module.hot").tap("CommonJsPlugin",Re("module.hot","module",(()=>["hot"]),null));new Oe(S).apply(k);new Ie(E.moduleGraph).apply(k)};S.hooks.parser.for("javascript/auto").tap("CommonJsPlugin",handler);S.hooks.parser.for("javascript/dynamic").tap("CommonJsPlugin",handler)}))}}class HarmonyModuleDecoratorRuntimeModule extends N{constructor(){super("harmony module decorator")}generate(){const{runtimeTemplate:E}=this.compilation;return q.asString([`${w.harmonyModuleDecorator} = ${E.basicFunction("module",["module = Object.create(module);","if (!module.children) module.children = [];","Object.defineProperty(module, 'exports', {",q.indent(["enumerable: true,",`set: ${E.basicFunction("",["throw new Error('ES Modules may not assign module.exports or exports.*, Use ESM export syntax, instead: ' + module.id);"])}`]),"});","return module;"])};`])}}class NodeModuleDecoratorRuntimeModule extends N{constructor(){super("node module decorator")}generate(){const{runtimeTemplate:E}=this.compilation;return q.asString([`${w.nodeModuleDecorator} = ${E.basicFunction("module",["module.paths = [];","if (!module.children) module.children = [];","return module;"])};`])}}E.exports=CommonJsPlugin},51454:(E,k,S)=>{"use strict";const w=S(56202);const N=S(400);const j=S(42740);class CommonJsRequireContextDependency extends N{constructor(E,k,S){super(E);this.range=k;this.valueRange=S}get type(){return"cjs require context"}serialize(E){const{write:k}=E;k(this.range);k(this.valueRange);super.serialize(E)}deserialize(E){const{read:k}=E;this.range=k();this.valueRange=k();super.deserialize(E)}}w(CommonJsRequireContextDependency,"webpack/lib/dependencies/CommonJsRequireContextDependency");CommonJsRequireContextDependency.Template=j;E.exports=CommonJsRequireContextDependency},37313:(E,k,S)=>{"use strict";const w=S(56202);const N=S(79983);const j=S(80791);class CommonJsRequireDependency extends N{constructor(E,k){super(E);this.range=k}get type(){return"cjs require"}get category(){return"commonjs"}}CommonJsRequireDependency.Template=j;w(CommonJsRequireDependency,"webpack/lib/dependencies/CommonJsRequireDependency");E.exports=CommonJsRequireDependency},94147:(E,k,S)=>{"use strict";const w=S(76150);const{equals:N}=S(73910);const j=S(56202);const q=S(68038);const ee=S(12197);class CommonJsSelfReferenceDependency extends ee{constructor(E,k,S,w){super();this.range=E;this.base=k;this.names=S;this.call=w}get type(){return"cjs self exports reference"}get category(){return"self"}getResourceIdentifier(){return`self`}getReferencedExports(E,k){return[this.call?this.names.slice(0,-1):this.names]}serialize(E){const{write:k}=E;k(this.range);k(this.base);k(this.names);k(this.call);super.serialize(E)}deserialize(E){const{read:k}=E;this.range=k();this.base=k();this.names=k();this.call=k();super.deserialize(E)}}j(CommonJsSelfReferenceDependency,"webpack/lib/dependencies/CommonJsSelfReferenceDependency");CommonJsSelfReferenceDependency.Template=class CommonJsSelfReferenceDependencyTemplate extends ee.Template{apply(E,k,{module:S,moduleGraph:j,runtime:ee,runtimeRequirements:te}){const ne=E;let ae;if(ne.names.length===0){ae=ne.names}else{ae=j.getExportsInfo(S).getUsedName(ne.names,ee)}if(!ae){throw new Error("Self-reference dependency has unused export name: This should not happen")}let _e=undefined;switch(ne.base){case"exports":te.add(w.exports);_e=S.exportsArgument;break;case"module.exports":te.add(w.module);_e=`${S.moduleArgument}.exports`;break;case"this":te.add(w.thisAsExports);_e="this";break;default:throw new Error(`Unsupported base ${ne.base}`)}if(_e===ne.base&&N(ae,ne.names)){return}k.replace(ne.range[0],ne.range[1]-1,`${_e}${q(ae)}`)}};E.exports=CommonJsSelfReferenceDependency},66298:(E,k,S)=>{"use strict";const w=S(56202);const N=S(12197);class ConstDependency extends N{constructor(E,k,S){super();this.expression=E;this.range=k;this.runtimeRequirements=S?new Set(S):null}updateHash(E,k){E.update(this.range+"");E.update(this.expression+"");if(this.runtimeRequirements)E.update(Array.from(this.runtimeRequirements).join()+"")}getModuleEvaluationSideEffectsState(E){return false}serialize(E){const{write:k}=E;k(this.expression);k(this.range);k(this.runtimeRequirements);super.serialize(E)}deserialize(E){const{read:k}=E;this.expression=k();this.range=k();this.runtimeRequirements=k();super.deserialize(E)}}w(ConstDependency,"webpack/lib/dependencies/ConstDependency");ConstDependency.Template=class ConstDependencyTemplate extends N.Template{apply(E,k,S){const w=E;if(w.runtimeRequirements){for(const E of w.runtimeRequirements){S.runtimeRequirements.add(E)}}if(typeof w.range==="number"){k.insert(w.range,w.expression);return}k.replace(w.range[0],w.range[1]-1,w.expression)}};E.exports=ConstDependency},400:(E,k,S)=>{"use strict";const w=S(28706);const N=S(84304);const j=S(56202);const q=S(91671);const ee=q((()=>S(75314)));const regExpToString=E=>E?E+"":"";class ContextDependency extends w{constructor(E){super();this.options=E;this.userRequest=this.options&&this.options.request;this.critical=false;this.hadGlobalOrStickyRegExp=false;if(this.options&&(this.options.regExp.global||this.options.regExp.sticky)){this.options={...this.options,regExp:null};this.hadGlobalOrStickyRegExp=true}this.request=undefined;this.range=undefined;this.valueRange=undefined;this.replaces=undefined}get category(){return"commonjs"}getResourceIdentifier(){return`context${this.options.request} ${this.options.recursive} `+`${regExpToString(this.options.regExp)} ${regExpToString(this.options.include)} ${regExpToString(this.options.exclude)} `+`${this.options.mode} ${this.options.chunkName} `+`${JSON.stringify(this.options.groupOptions)}`}getWarnings(E){let k=super.getWarnings(E);if(this.critical){if(!k)k=[];const E=ee();k.push(new E(this.critical))}if(this.hadGlobalOrStickyRegExp){if(!k)k=[];const E=ee();k.push(new E("Contexts can't use RegExps with the 'g' or 'y' flags."))}return k}serialize(E){const{write:k}=E;k(this.options);k(this.userRequest);k(this.critical);k(this.hadGlobalOrStickyRegExp);k(this.request);k(this.range);k(this.valueRange);k(this.prepend);k(this.replaces);super.serialize(E)}deserialize(E){const{read:k}=E;this.options=k();this.userRequest=k();this.critical=k();this.hadGlobalOrStickyRegExp=k();this.request=k();this.range=k();this.valueRange=k();this.prepend=k();this.replaces=k();super.deserialize(E)}}j(ContextDependency,"webpack/lib/dependencies/ContextDependency");ContextDependency.Template=N;E.exports=ContextDependency},95601:(E,k,S)=>{"use strict";const{parseResource:w}=S(49197);const quoteMeta=E=>E.replace(/[-[\]\\/{}()*+?.^$|]/g,"\\$&");const splitContextFromPrefix=E=>{const k=E.lastIndexOf("/");let S=".";if(k>=0){S=E.substr(0,k);E=`.${E.substr(k)}`}return{context:S,prefix:E}};k.create=(E,k,S,N,j,q,ee)=>{if(S.isTemplateString()){let te=S.quasis[0].string;let ne=S.quasis.length>1?S.quasis[S.quasis.length-1].string:"";const ae=S.range;const{context:_e,prefix:ve}=splitContextFromPrefix(te);const{path:Ee,query:we,fragment:Ce}=w(ne,ee);const Me=S.quasis.slice(1,S.quasis.length-1);const Te=j.wrappedContextRegExp.source+Me.map((E=>quoteMeta(E.string)+j.wrappedContextRegExp.source)).join("");const Ie=new RegExp(`^${quoteMeta(ve)}${Te}${quoteMeta(Ee)}$`);const Oe=new E({request:_e+we+Ce,recursive:j.wrappedContextRecursive,regExp:Ie,mode:"sync",...q},k,ae);Oe.loc=N.loc;const Re=[];S.parts.forEach(((E,k)=>{if(k%2===0){let w=E.range;let N=E.string;if(S.templateStringKind==="cooked"){N=JSON.stringify(N);N=N.slice(1,N.length-1)}if(k===0){N=ve;w=[S.range[0],E.range[1]];N=(S.templateStringKind==="cooked"?"`":"String.raw`")+N}else if(k===S.parts.length-1){N=Ee;w=[E.range[0],S.range[1]];N=N+"`"}else if(E.expression&&E.expression.type==="TemplateElement"&&E.expression.value.raw===N){return}Re.push({range:w,value:N})}else{ee.walkExpression(E.expression)}}));Oe.replaces=Re;Oe.critical=j.wrappedContextCritical&&"a part of the request of a dependency is an expression";return Oe}else if(S.isWrapped()&&(S.prefix&&S.prefix.isString()||S.postfix&&S.postfix.isString())){let te=S.prefix&&S.prefix.isString()?S.prefix.string:"";let ne=S.postfix&&S.postfix.isString()?S.postfix.string:"";const ae=S.prefix&&S.prefix.isString()?S.prefix.range:null;const _e=S.postfix&&S.postfix.isString()?S.postfix.range:null;const ve=S.range;const{context:Ee,prefix:we}=splitContextFromPrefix(te);const{path:Ce,query:Me,fragment:Te}=w(ne,ee);const Ie=new RegExp(`^${quoteMeta(we)}${j.wrappedContextRegExp.source}${quoteMeta(Ce)}$`);const Oe=new E({request:Ee+Me+Te,recursive:j.wrappedContextRecursive,regExp:Ie,mode:"sync",...q},k,ve);Oe.loc=N.loc;const Re=[];if(ae){Re.push({range:ae,value:JSON.stringify(we)})}if(_e){Re.push({range:_e,value:JSON.stringify(Ce)})}Oe.replaces=Re;Oe.critical=j.wrappedContextCritical&&"a part of the request of a dependency is an expression";if(ee&&S.wrappedInnerExpressions){for(const E of S.wrappedInnerExpressions){if(E.expression)ee.walkExpression(E.expression)}}return Oe}else{const w=new E({request:j.exprContextRequest,recursive:j.exprContextRecursive,regExp:j.exprContextRegExp,mode:"sync",...q},k,S.range);w.loc=N.loc;w.critical=j.exprContextCritical&&"the request of a dependency is an expression";ee.walkExpression(S.expression);return w}}},94148:(E,k,S)=>{"use strict";const w=S(400);class ContextDependencyTemplateAsId extends w.Template{apply(E,k,{runtimeTemplate:S,moduleGraph:w,chunkGraph:N,runtimeRequirements:j}){const q=E;const ee=S.moduleExports({module:w.getModule(q),chunkGraph:N,request:q.request,weak:q.weak,runtimeRequirements:j});if(w.getModule(q)){if(q.valueRange){if(Array.isArray(q.replaces)){for(let E=0;E{"use strict";const w=S(400);class ContextDependencyTemplateAsRequireCall extends w.Template{apply(E,k,{runtimeTemplate:S,moduleGraph:w,chunkGraph:N,runtimeRequirements:j}){const q=E;const ee=S.moduleExports({module:w.getModule(q),chunkGraph:N,request:q.request,runtimeRequirements:j});if(w.getModule(q)){if(q.valueRange){if(Array.isArray(q.replaces)){for(let E=0;E{"use strict";const w=S(28706);const N=S(56202);const j=S(79983);class ContextElementDependency extends j{constructor(E,k,S,w,N){super(E);this.referencedExports=N;this._typePrefix=S;this._category=w;if(k){this.userRequest=k}}get type(){if(this._typePrefix){return`${this._typePrefix} context element`}return"context element"}get category(){return this._category}getReferencedExports(E,k){return this.referencedExports?this.referencedExports.map((E=>({name:E,canMangle:false}))):w.EXPORTS_OBJECT_REFERENCED}serialize(E){E.write(this.referencedExports);super.serialize(E)}deserialize(E){this.referencedExports=E.read();super.deserialize(E)}}N(ContextElementDependency,"webpack/lib/dependencies/ContextElementDependency");E.exports=ContextElementDependency},7257:(E,k,S)=>{"use strict";const w=S(76150);const N=S(56202);const j=S(12197);class CreateScriptUrlDependency extends j{constructor(E){super();this.range=E}get type(){return"create script url"}}CreateScriptUrlDependency.Template=class CreateScriptUrlDependencyTemplate extends j.Template{apply(E,k,{runtimeRequirements:S}){const N=E;S.add(w.createScriptUrl);k.insert(N.range[0],`${w.createScriptUrl}(`);k.insert(N.range[1],")")}};N(CreateScriptUrlDependency,"webpack/lib/dependencies/CreateScriptUrlDependency");E.exports=CreateScriptUrlDependency},75314:(E,k,S)=>{"use strict";const w=S(81627);const N=S(56202);class CriticalDependencyWarning extends w{constructor(E){super();this.name="CriticalDependencyWarning";this.message="Critical dependency: "+E}}N(CriticalDependencyWarning,"webpack/lib/dependencies/CriticalDependencyWarning");E.exports=CriticalDependencyWarning},49422:(E,k,S)=>{"use strict";const w=S(56202);const N=S(79983);class DelegatedSourceDependency extends N{constructor(E){super(E)}get type(){return"delegated source"}get category(){return"esm"}}w(DelegatedSourceDependency,"webpack/lib/dependencies/DelegatedSourceDependency");E.exports=DelegatedSourceDependency},95189:(E,k,S)=>{"use strict";const w=S(28706);const N=S(56202);class DllEntryDependency extends w{constructor(E,k){super();this.dependencies=E;this.name=k}get type(){return"dll entry"}serialize(E){const{write:k}=E;k(this.dependencies);k(this.name);super.serialize(E)}deserialize(E){const{read:k}=E;this.dependencies=k();this.name=k();super.deserialize(E)}}N(DllEntryDependency,"webpack/lib/dependencies/DllEntryDependency");E.exports=DllEntryDependency},28140:(E,k)=>{"use strict";const S=new WeakMap;k.bailout=E=>{const k=S.get(E);S.set(E,false);if(k===true){E.module.buildMeta.exportsType=undefined;E.module.buildMeta.defaultObject=false}};k.enable=E=>{const k=S.get(E);if(k===false)return;S.set(E,true);if(k!==true){E.module.buildMeta.exportsType="default";E.module.buildMeta.defaultObject="redirect"}};k.setFlagged=E=>{const k=S.get(E);if(k!==true)return;const w=E.module.buildMeta;if(w.exportsType==="dynamic")return;w.exportsType="flagged"};k.setDynamic=E=>{const k=S.get(E);if(k!==true)return;E.module.buildMeta.exportsType="dynamic"};k.isEnabled=E=>{const k=S.get(E);return k===true}},66583:(E,k,S)=>{"use strict";const w=S(56202);const N=S(79983);class EntryDependency extends N{constructor(E){super(E)}get type(){return"entry"}get category(){return"esm"}}w(EntryDependency,"webpack/lib/dependencies/EntryDependency");E.exports=EntryDependency},51420:(E,k,S)=>{"use strict";const{UsageState:w}=S(76632);const N=S(56202);const j=S(12197);const getProperty=(E,k,S,N,j)=>{if(!S){switch(N){case"usedExports":{const S=E.getExportsInfo(k).getUsedExports(j);if(typeof S==="boolean"||S===undefined||S===null){return S}return Array.from(S).sort()}}}switch(N){case"used":return E.getExportsInfo(k).getUsed(S,j)!==w.Unused;case"useInfo":{const N=E.getExportsInfo(k).getUsed(S,j);switch(N){case w.Used:case w.OnlyPropertiesUsed:return true;case w.Unused:return false;case w.NoInfo:return undefined;case w.Unknown:return null;default:throw new Error(`Unexpected UsageState ${N}`)}}case"provideInfo":return E.getExportsInfo(k).isExportProvided(S)}return undefined};class ExportsInfoDependency extends j{constructor(E,k,S){super();this.range=E;this.exportName=k;this.property=S}serialize(E){const{write:k}=E;k(this.range);k(this.exportName);k(this.property);super.serialize(E)}static deserialize(E){const k=new ExportsInfoDependency(E.read(),E.read(),E.read());k.deserialize(E);return k}}N(ExportsInfoDependency,"webpack/lib/dependencies/ExportsInfoDependency");ExportsInfoDependency.Template=class ExportsInfoDependencyTemplate extends j.Template{apply(E,k,{module:S,moduleGraph:w,runtime:N}){const j=E;const q=getProperty(w,S,j.exportName,j.property,N);k.replace(j.range[0],j.range[1]-1,q===undefined?"undefined":JSON.stringify(q))}};E.exports=ExportsInfoDependency},27790:(E,k,S)=>{"use strict";const w=S(58159);const N=S(56202);const j=S(37359);const q=S(12197);class HarmonyAcceptDependency extends q{constructor(E,k,S){super();this.range=E;this.dependencies=k;this.hasCallback=S}get type(){return"accepted harmony modules"}serialize(E){const{write:k}=E;k(this.range);k(this.dependencies);k(this.hasCallback);super.serialize(E)}deserialize(E){const{read:k}=E;this.range=k();this.dependencies=k();this.hasCallback=k();super.deserialize(E)}}N(HarmonyAcceptDependency,"webpack/lib/dependencies/HarmonyAcceptDependency");HarmonyAcceptDependency.Template=class HarmonyAcceptDependencyTemplate extends q.Template{apply(E,k,S){const N=E;const{module:q,runtime:ee,runtimeRequirements:te,runtimeTemplate:ne,moduleGraph:ae,chunkGraph:_e}=S;const ve=N.dependencies.map((E=>{const k=ae.getModule(E);return{dependency:E,runtimeCondition:k?j.Template.getImportEmittedRuntime(q,k):false}})).filter((({runtimeCondition:E})=>E!==false)).map((({dependency:E,runtimeCondition:k})=>{const N=ne.runtimeConditionExpression({chunkGraph:_e,runtime:ee,runtimeCondition:k,runtimeRequirements:te});const j=E.getImportStatement(true,S);const q=j[0]+j[1];if(N!=="true"){return`if (${N}) {\n${w.indent(q)}\n}\n`}return q})).join("");if(N.hasCallback){if(ne.supportsArrowFunction()){k.insert(N.range[0],`__WEBPACK_OUTDATED_DEPENDENCIES__ => { ${ve}(`);k.insert(N.range[1],")(__WEBPACK_OUTDATED_DEPENDENCIES__); }")}else{k.insert(N.range[0],`function(__WEBPACK_OUTDATED_DEPENDENCIES__) { ${ve}(`);k.insert(N.range[1],")(__WEBPACK_OUTDATED_DEPENDENCIES__); }.bind(this)")}return}const Ee=ne.supportsArrowFunction();k.insert(N.range[1]-.5,`, ${Ee?"() =>":"function()"} { ${ve} }`)}};E.exports=HarmonyAcceptDependency},80654:(E,k,S)=>{"use strict";const w=S(56202);const N=S(37359);class HarmonyAcceptImportDependency extends N{constructor(E){super(E,NaN);this.weak=true}get type(){return"harmony accept"}}w(HarmonyAcceptImportDependency,"webpack/lib/dependencies/HarmonyAcceptImportDependency");HarmonyAcceptImportDependency.Template=class HarmonyAcceptImportDependencyTemplate extends N.Template{};E.exports=HarmonyAcceptImportDependency},54290:(E,k,S)=>{"use strict";const{UsageState:w}=S(76632);const N=S(63272);const j=S(76150);const q=S(56202);const ee=S(12197);class HarmonyCompatibilityDependency extends ee{get type(){return"harmony export header"}}q(HarmonyCompatibilityDependency,"webpack/lib/dependencies/HarmonyCompatibilityDependency");HarmonyCompatibilityDependency.Template=class HarmonyExportDependencyTemplate extends ee.Template{apply(E,k,{module:S,runtimeTemplate:q,moduleGraph:ee,initFragments:te,runtimeRequirements:ne,runtime:ae,concatenationScope:_e}){if(_e)return;const ve=ee.getExportsInfo(S);if(ve.getReadOnlyExportInfo("__esModule").getUsed(ae)!==w.Unused){const E=q.defineEsModuleFlagStatement({exportsArgument:S.exportsArgument,runtimeRequirements:ne});te.push(new N(E,N.STAGE_HARMONY_EXPORTS,0,"harmony compatibility"))}if(ee.isAsync(S)){ne.add(j.module);ne.add(j.asyncModule);te.push(new N(q.supportsArrowFunction()?`${j.asyncModule}(${S.moduleArgument}, async (__webpack_handle_async_dependencies__) => {\n`:`${j.asyncModule}(${S.moduleArgument}, async function (__webpack_handle_async_dependencies__) {\n`,N.STAGE_ASYNC_BOUNDARY,0,undefined,S.buildMeta.async?`\n__webpack_handle_async_dependencies__();\n}, 1);`:"\n});"))}}};E.exports=HarmonyCompatibilityDependency},11720:(E,k,S)=>{"use strict";const w=S(28140);const N=S(54290);const j=S(25702);E.exports=class HarmonyDetectionParserPlugin{constructor(E){const{topLevelAwait:k=false}=E||{};this.topLevelAwait=k}apply(E){E.hooks.program.tap("HarmonyDetectionParserPlugin",(k=>{const S=E.state.module.type==="javascript/esm";const q=S||k.body.some((E=>E.type==="ImportDeclaration"||E.type==="ExportDefaultDeclaration"||E.type==="ExportNamedDeclaration"||E.type==="ExportAllDeclaration"));if(q){const k=E.state.module;const q=new N;q.loc={start:{line:-1,column:0},end:{line:-1,column:0},index:-3};k.addPresentationalDependency(q);w.bailout(E.state);j.enable(E.state,S);E.scope.isStrict=true}}));E.hooks.topLevelAwait.tap("HarmonyDetectionParserPlugin",(()=>{const k=E.state.module;if(!this.topLevelAwait){throw new Error("The top-level-await experiment is not enabled (set experiments.topLevelAwait: true to enabled it)")}if(!j.isEnabled(E.state)){throw new Error("Top-level-await is only supported in EcmaScript Modules")}k.buildMeta.async=true}));const skipInHarmony=()=>{if(j.isEnabled(E.state)){return true}};const nullInHarmony=()=>{if(j.isEnabled(E.state)){return null}};const k=["define","exports"];for(const S of k){E.hooks.evaluateTypeof.for(S).tap("HarmonyDetectionParserPlugin",nullInHarmony);E.hooks.typeof.for(S).tap("HarmonyDetectionParserPlugin",skipInHarmony);E.hooks.evaluate.for(S).tap("HarmonyDetectionParserPlugin",nullInHarmony);E.hooks.expression.for(S).tap("HarmonyDetectionParserPlugin",skipInHarmony);E.hooks.call.for(S).tap("HarmonyDetectionParserPlugin",skipInHarmony)}}}},16081:(E,k,S)=>{"use strict";const w=S(58018);const N=S(66298);const j=S(55037);const q=S(48752);const ee=S(44576);const te=S(14696);const{harmonySpecifierTag:ne}=S(29381);const ae=S(69707);const{HarmonyStarExportsList:_e}=ee;E.exports=class HarmonyExportDependencyParserPlugin{constructor(E){this.strictExportPresence=E.strictExportPresence}apply(E){E.hooks.export.tap("HarmonyExportDependencyParserPlugin",(k=>{const S=new q(k.declaration&&k.declaration.range,k.range);S.loc=Object.create(k.loc);S.loc.index=-1;E.state.module.addPresentationalDependency(S);return true}));E.hooks.exportImport.tap("HarmonyExportDependencyParserPlugin",((k,S)=>{E.state.lastHarmonyImportOrder=(E.state.lastHarmonyImportOrder||0)+1;const w=new N("",k.range);w.loc=Object.create(k.loc);w.loc.index=-1;E.state.module.addPresentationalDependency(w);const j=new ae(S,E.state.lastHarmonyImportOrder);j.loc=Object.create(k.loc);j.loc.index=-1;E.state.current.addDependency(j);return true}));E.hooks.exportExpression.tap("HarmonyExportDependencyParserPlugin",((k,S)=>{const N=S.type==="FunctionDeclaration";const q=E.getComments([k.range[0],S.range[0]]);const ee=new j(S.range,k.range,q.map((E=>{switch(E.type){case"Block":return`/*${E.value}*/`;case"Line":return`//${E.value}\n`}return""})).join(""),S.type.endsWith("Declaration")&&S.id?S.id.name:N?{id:S.id?S.id.name:undefined,range:[S.range[0],S.params.length>0?S.params[0].range[0]:S.body.range[0]],prefix:`${S.async?"async ":""}function${S.generator?"*":""} `,suffix:`(${S.params.length>0?"":") "}`}:undefined);ee.loc=Object.create(k.loc);ee.loc.index=-1;E.state.current.addDependency(ee);w.addVariableUsage(E,S.type.endsWith("Declaration")&&S.id?S.id.name:"*default*","default");return true}));E.hooks.exportSpecifier.tap("HarmonyExportDependencyParserPlugin",((k,S,N,j)=>{const q=E.getTagData(S,ne);let ae;const _e=E.state.harmonyNamedExports=E.state.harmonyNamedExports||new Set;_e.add(N);w.addVariableUsage(E,S,N);if(q){ae=new ee(q.source,q.sourceOrder,q.ids,N,_e,null,this.strictExportPresence,null)}else{ae=new te(S,N)}ae.loc=Object.create(k.loc);ae.loc.index=j;E.state.current.addDependency(ae);return true}));E.hooks.exportImportSpecifier.tap("HarmonyExportDependencyParserPlugin",((k,S,w,N,j)=>{const q=E.state.harmonyNamedExports=E.state.harmonyNamedExports||new Set;let te=null;if(N){q.add(N)}else{te=E.state.harmonyStarExports=E.state.harmonyStarExports||new _e}const ne=new ee(S,E.state.lastHarmonyImportOrder,w?[w]:[],N,q,te&&te.slice(),this.strictExportPresence,te);if(te){te.push(ne)}ne.loc=Object.create(k.loc);ne.loc.index=j;E.state.current.addDependency(ne);return true}))}}},55037:(E,k,S)=>{"use strict";const w=S(77294);const N=S(76150);const j=S(56202);const q=S(82296);const ee=S(12197);class HarmonyExportExpressionDependency extends ee{constructor(E,k,S,w){super();this.range=E;this.rangeStatement=k;this.prefix=S;this.declarationId=w}get type(){return"harmony export expression"}getExports(E){return{exports:["default"],priority:1,terminalBinding:true,dependencies:undefined}}getModuleEvaluationSideEffectsState(E){return false}serialize(E){const{write:k}=E;k(this.range);k(this.rangeStatement);k(this.prefix);k(this.declarationId);super.serialize(E)}deserialize(E){const{read:k}=E;this.range=k();this.rangeStatement=k();this.prefix=k();this.declarationId=k();super.deserialize(E)}}j(HarmonyExportExpressionDependency,"webpack/lib/dependencies/HarmonyExportExpressionDependency");HarmonyExportExpressionDependency.Template=class HarmonyExportDependencyTemplate extends ee.Template{apply(E,k,{module:S,moduleGraph:j,runtimeTemplate:ee,runtimeRequirements:te,initFragments:ne,runtime:ae,concatenationScope:_e}){const ve=E;const{declarationId:Ee}=ve;const we=S.exportsArgument;if(Ee){let E;if(typeof Ee==="string"){E=Ee}else{E=w.DEFAULT_EXPORT;k.replace(Ee.range[0],Ee.range[1]-1,`${Ee.prefix}${E}${Ee.suffix}`)}if(_e){_e.registerExport("default",E)}else{const k=j.getExportsInfo(S).getUsedName("default",ae);if(k){const S=new Map;S.set(k,`/* export default binding */ ${E}`);ne.push(new q(we,S))}}k.replace(ve.rangeStatement[0],ve.range[0]-1,`/* harmony default export */ ${ve.prefix}`)}else{let E;const Ee=w.DEFAULT_EXPORT;if(ee.supportsConst()){E=`/* harmony default export */ const ${Ee} = `;if(_e){_e.registerExport("default",Ee)}else{const k=j.getExportsInfo(S).getUsedName("default",ae);if(k){te.add(N.exports);const E=new Map;E.set(k,Ee);ne.push(new q(we,E))}else{E=`/* unused harmony default export */ var ${Ee} = `}}}else if(_e){E=`/* harmony default export */ var ${Ee} = `;_e.registerExport("default",Ee)}else{const k=j.getExportsInfo(S).getUsedName("default",ae);if(k){te.add(N.exports);E=`/* harmony default export */ ${we}[${JSON.stringify(k)}] = `}else{E=`/* unused harmony default export */ var ${Ee} = `}}if(ve.range){k.replace(ve.rangeStatement[0],ve.range[0]-1,E+"("+ve.prefix);k.replace(ve.range[1],ve.rangeStatement[1]-.5,");");return}k.replace(ve.rangeStatement[0],ve.rangeStatement[1]-1,E)}}};E.exports=HarmonyExportExpressionDependency},48752:(E,k,S)=>{"use strict";const w=S(56202);const N=S(12197);class HarmonyExportHeaderDependency extends N{constructor(E,k){super();this.range=E;this.rangeStatement=k}get type(){return"harmony export header"}serialize(E){const{write:k}=E;k(this.range);k(this.rangeStatement);super.serialize(E)}deserialize(E){const{read:k}=E;this.range=k();this.rangeStatement=k();super.deserialize(E)}}w(HarmonyExportHeaderDependency,"webpack/lib/dependencies/HarmonyExportHeaderDependency");HarmonyExportHeaderDependency.Template=class HarmonyExportDependencyTemplate extends N.Template{apply(E,k,S){const w=E;const N="";const j=w.range?w.range[0]-1:w.rangeStatement[1]-1;k.replace(w.rangeStatement[0],j,N)}};E.exports=HarmonyExportHeaderDependency},44576:(E,k,S)=>{"use strict";const w=S(28706);const{UsageState:N}=S(76632);const j=S(36756);const q=S(63272);const ee=S(76150);const te=S(58159);const{countIterable:ne}=S(11539);const{first:ae,combine:_e}=S(26221);const ve=S(56202);const Ee=S(68038);const we=S(82296);const Ce=S(37359);const Me=S(18971);const Te=Symbol("HarmonyExportImportedSpecifierDependency.ids");class NormalReexportItem{constructor(E,k,S,w,N){this.name=E;this.ids=k;this.exportInfo=S;this.checked=w;this.hidden=N}}class ExportMode{constructor(E){this.type=E;this.items=null;this.name=null;this.partialNamespaceExportInfo=null;this.ignored=null;this.hidden=null;this.userRequest=null;this.fakeType=0}}const determineExportAssignments=(E,k,S)=>{const w=new Set;const N=[];if(S){k=k.concat(S)}for(const S of k){const k=N.length;N[k]=w.size;const j=E.getModule(S);if(j){const S=E.getExportsInfo(j);for(const E of S.exports){if(E.provided===true&&E.name!=="default"&&!w.has(E.name)){w.add(E.name);N[k]=w.size}}}}N.push(w.size);return{names:Array.from(w),dependencyIndices:N}};const findDependencyForName=({names:E,dependencyIndices:k},S,w)=>{const N=w[Symbol.iterator]();const j=k[Symbol.iterator]();let q=N.next();let ee=j.next();if(ee.done)return;for(let k=0;k=ee.value){q=N.next();ee=j.next();if(ee.done)return}if(E[k]===S)return q.value}return undefined};class HarmonyExportImportedSpecifierDependency extends Ce{constructor(E,k,S,w,N,j,q,ee){super(E,k);this.ids=S;this.name=w;this.activeExports=N;this.otherStarExports=j;this.strictExportPresence=q;this.allStarExports=ee;this._getMode=this._getMode.bind(this)}get id(){throw new Error("id was renamed to ids and type changed to string[]")}getId(){throw new Error("id was renamed to ids and type changed to string[]")}setId(){throw new Error("id was renamed to ids and type changed to string[]")}get type(){return"harmony export imported specifier"}getIds(E){return E.getMeta(this)[Te]||this.ids}setIds(E,k){E.getMeta(this)[Te]=k}getMode(E,k){return E.cached(this._getMode,k)}_getMode(E,k){const S=this.name;const w=this.getIds(E);const j=E.getParentModule(this);const q=E.getModule(this);const ee=E.getExportsInfo(j);if(!q){const E=new ExportMode("missing");E.userRequest=this.userRequest;return E}if(S?ee.getUsed(S,k)===N.Unused:ee.isUsed(k)===false){const E=new ExportMode("unused");E.name=S||"*";return E}const te=q.getExportsType(E,j.buildMeta.strictHarmonyModule);if(S&&w.length>0&&w[0]==="default"){switch(te){case"dynamic":{const E=new ExportMode("reexport-dynamic-default");E.name=S;return E}case"default-only":case"default-with-named":{const E=ee.getReadOnlyExportInfo(S);const k=new ExportMode("reexport-named-default");k.name=S;k.partialNamespaceExportInfo=E;return k}}}if(S){let E;const k=ee.getReadOnlyExportInfo(S);if(w.length>0){switch(te){case"default-only":E=new ExportMode("reexport-undefined");E.name=S;break;default:E=new ExportMode("normal-reexport");E.items=[new NormalReexportItem(S,w,k,false,false)];break}}else{switch(te){case"default-only":E=new ExportMode("reexport-fake-namespace-object");E.name=S;E.partialNamespaceExportInfo=k;E.fakeType=0;break;case"default-with-named":E=new ExportMode("reexport-fake-namespace-object");E.name=S;E.partialNamespaceExportInfo=k;E.fakeType=2;break;case"dynamic":default:E=new ExportMode("reexport-namespace-object");E.name=S;E.partialNamespaceExportInfo=k}}return E}const{ignoredExports:ne,exports:ae,checked:_e,hidden:ve}=this.getStarReexports(E,k,ee,q);if(!ae){const E=new ExportMode("dynamic-reexport");E.ignored=ne;E.hidden=ve;return E}if(ae.size===0){const E=new ExportMode("empty-star");E.hidden=ve;return E}const Ee=new ExportMode("normal-reexport");Ee.items=Array.from(ae,(E=>new NormalReexportItem(E,[E],ee.getReadOnlyExportInfo(E),_e.has(E),false)));if(ve!==undefined){for(const E of ve){Ee.items.push(new NormalReexportItem(E,[E],ee.getReadOnlyExportInfo(E),false,true))}}return Ee}getStarReexports(E,k,S=E.getExportsInfo(E.getParentModule(this)),w=E.getModule(this)){const j=E.getExportsInfo(w);const q=j.otherExportsInfo.provided===false;const ee=S.otherExportsInfo.getUsed(k)===N.Unused;const te=new Set(["default",...this.activeExports]);let ne=undefined;const ae=this._discoverActiveExportsFromOtherStarExports(E);if(ae!==undefined){ne=new Set;for(let E=0;E{const w=this.getMode(E,S);return w.type!=="unused"&&w.type!=="empty-star"}}getModuleEvaluationSideEffectsState(E){return false}getReferencedExports(E,k){const S=this.getMode(E,k);switch(S.type){case"missing":case"unused":case"empty-star":case"reexport-undefined":return w.NO_EXPORTS_REFERENCED;case"reexport-dynamic-default":return w.EXPORTS_OBJECT_REFERENCED;case"reexport-named-default":{if(!S.partialNamespaceExportInfo)return w.EXPORTS_OBJECT_REFERENCED;const E=[];Me(k,E,[],S.partialNamespaceExportInfo);return E}case"reexport-namespace-object":case"reexport-fake-namespace-object":{if(!S.partialNamespaceExportInfo)return w.EXPORTS_OBJECT_REFERENCED;const E=[];Me(k,E,[],S.partialNamespaceExportInfo,S.type==="reexport-fake-namespace-object");return E}case"dynamic-reexport":return w.EXPORTS_OBJECT_REFERENCED;case"normal-reexport":{const E=[];for(const{ids:w,exportInfo:N,hidden:j}of S.items){if(j)continue;Me(k,E,w,N,false)}return E}default:throw new Error(`Unknown mode ${S.type}`)}}_discoverActiveExportsFromOtherStarExports(E){if(!this.otherStarExports)return undefined;const k="length"in this.otherStarExports?this.otherStarExports.length:ne(this.otherStarExports);if(k===0)return undefined;if(this.allStarExports){const{names:S,dependencyIndices:w}=E.cached(determineExportAssignments,this.allStarExports.dependencies);return{names:S,namesSlice:w[k-1],dependencyIndices:w,dependencyIndex:k}}const{names:S,dependencyIndices:w}=E.cached(determineExportAssignments,this.otherStarExports,this);return{names:S,namesSlice:w[k-1],dependencyIndices:w,dependencyIndex:k}}getExports(E){const k=this.getMode(E,undefined);switch(k.type){case"missing":return undefined;case"dynamic-reexport":{const S=E.getConnection(this);return{exports:true,from:S,canMangle:false,excludeExports:k.hidden?_e(k.ignored,k.hidden):k.ignored,hideExports:k.hidden,dependencies:[S.module]}}case"empty-star":return{exports:[],hideExports:k.hidden,dependencies:[E.getModule(this)]};case"normal-reexport":{const S=E.getConnection(this);return{exports:Array.from(k.items,(E=>({name:E.name,from:S,export:E.ids,hidden:E.hidden}))),priority:1,dependencies:[S.module]}}case"reexport-dynamic-default":{{const S=E.getConnection(this);return{exports:[{name:k.name,from:S,export:["default"]}],priority:1,dependencies:[S.module]}}}case"reexport-undefined":return{exports:[k.name],dependencies:[E.getModule(this)]};case"reexport-fake-namespace-object":{const S=E.getConnection(this);return{exports:[{name:k.name,from:S,export:null,exports:[{name:"default",canMangle:false,from:S,export:null}]}],priority:1,dependencies:[S.module]}}case"reexport-namespace-object":{const S=E.getConnection(this);return{exports:[{name:k.name,from:S,export:null}],priority:1,dependencies:[S.module]}}case"reexport-named-default":{const S=E.getConnection(this);return{exports:[{name:k.name,from:S,export:["default"]}],priority:1,dependencies:[S.module]}}default:throw new Error(`Unknown mode ${k.type}`)}}getWarnings(E){if(this.strictExportPresence||E.getParentModule(this).buildMeta.strictHarmonyModule){return null}return this._getErrors(E)}getErrors(E){if(this.strictExportPresence||E.getParentModule(this).buildMeta.strictHarmonyModule){return this._getErrors(E)}return null}_getErrors(E){const k=this.getIds(E);let S=this.getLinkingErrors(E,k,`(reexported as '${this.name}')`);if(k.length===0&&this.name===null){const k=this._discoverActiveExportsFromOtherStarExports(E);if(k&&k.namesSlice>0){const w=new Set(k.names.slice(k.namesSlice,k.dependencyIndices[k.dependencyIndex]));const N=E.getModule(this);if(N){const q=E.getExportsInfo(N);const ee=new Map;for(const S of q.orderedExports){if(S.provided!==true)continue;if(S.name==="default")continue;if(this.activeExports.has(S.name))continue;if(w.has(S.name))continue;const j=findDependencyForName(k,S.name,this.allStarExports?this.allStarExports.dependencies:[...this.otherStarExports,this]);if(!j)continue;const q=S.getTerminalBinding(E);if(!q)continue;const te=E.getModule(j);if(te===N)continue;const ne=E.getExportInfo(te,S.name);const ae=ne.getTerminalBinding(E);if(!ae)continue;if(q===ae)continue;const _e=ee.get(j.request);if(_e===undefined){ee.set(j.request,[S.name])}else{_e.push(S.name)}}for(const[E,k]of ee){if(!S)S=[];S.push(new j(`The requested module '${this.request}' contains conflicting star exports for the ${k.length>1?"names":"name"} ${k.map((E=>`'${E}'`)).join(", ")} with the previous requested module '${E}'`))}}}}return S}serialize(E){const{write:k,setCircularReference:S}=E;S(this);k(this.ids);k(this.name);k(this.activeExports);k(this.otherStarExports);k(this.strictExportPresence);k(this.allStarExports);super.serialize(E)}deserialize(E){const{read:k,setCircularReference:S}=E;S(this);this.ids=k();this.name=k();this.activeExports=k();this.otherStarExports=k();this.strictExportPresence=k();this.allStarExports=k();super.deserialize(E)}}ve(HarmonyExportImportedSpecifierDependency,"webpack/lib/dependencies/HarmonyExportImportedSpecifierDependency");E.exports=HarmonyExportImportedSpecifierDependency;HarmonyExportImportedSpecifierDependency.Template=class HarmonyExportImportedSpecifierDependencyTemplate extends Ce.Template{apply(E,k,S){const{moduleGraph:w,runtime:N,concatenationScope:j}=S;const q=E;const ee=q.getMode(w,N);if(j){switch(ee.type){case"reexport-undefined":j.registerRawExport(ee.name,"/* reexport non-default export from non-harmony */ undefined")}return}if(ee.type!=="unused"&&ee.type!=="empty-star"){super.apply(E,k,S);this._addExportFragments(S.initFragments,q,ee,S.module,w,N,S.runtimeTemplate,S.runtimeRequirements)}}_addExportFragments(E,k,S,w,N,j,ne,ve){const Ee=N.getModule(k);const we=k.getImportVar(N);switch(S.type){case"missing":case"empty-star":E.push(new q("/* empty/unused harmony star reexport */\n",q.STAGE_HARMONY_EXPORTS,1));break;case"unused":E.push(new q(`${te.toNormalComment(`unused harmony reexport ${S.name}`)}\n`,q.STAGE_HARMONY_EXPORTS,1));break;case"reexport-dynamic-default":E.push(this.getReexportFragment(w,"reexport default from dynamic",N.getExportsInfo(w).getUsedName(S.name,j),we,null,ve));break;case"reexport-fake-namespace-object":E.push(...this.getReexportFakeNamespaceObjectFragments(w,N.getExportsInfo(w).getUsedName(S.name,j),we,S.fakeType,ve));break;case"reexport-undefined":E.push(this.getReexportFragment(w,"reexport non-default export from non-harmony",N.getExportsInfo(w).getUsedName(S.name,j),"undefined","",ve));break;case"reexport-named-default":E.push(this.getReexportFragment(w,"reexport default export from named module",N.getExportsInfo(w).getUsedName(S.name,j),we,"",ve));break;case"reexport-namespace-object":E.push(this.getReexportFragment(w,"reexport module object",N.getExportsInfo(w).getUsedName(S.name,j),we,"",ve));break;case"normal-reexport":for(const{name:ee,ids:te,checked:ne,hidden:ae}of S.items){if(ae)continue;if(ne){E.push(new q("/* harmony reexport (checked) */ "+this.getConditionalReexportStatement(w,ee,we,te,ve),q.STAGE_HARMONY_IMPORTS,k.sourceOrder))}else{E.push(this.getReexportFragment(w,"reexport safe",N.getExportsInfo(w).getUsedName(ee,j),we,N.getExportsInfo(Ee).getUsedName(te,j),ve))}}break;case"dynamic-reexport":{const N=S.hidden?_e(S.ignored,S.hidden):S.ignored;const j=ne.supportsConst()&&ne.supportsArrowFunction();let te="/* harmony reexport (unknown) */ var __WEBPACK_REEXPORT_OBJECT__ = {};\n"+`/* harmony reexport (unknown) */ for(${j?"const":"var"} __WEBPACK_IMPORT_KEY__ in ${we}) `;if(N.size>1){te+="if("+JSON.stringify(Array.from(N))+".indexOf(__WEBPACK_IMPORT_KEY__) < 0) "}else if(N.size===1){te+=`if(__WEBPACK_IMPORT_KEY__ !== ${JSON.stringify(ae(N))}) `}te+=`__WEBPACK_REEXPORT_OBJECT__[__WEBPACK_IMPORT_KEY__] = `;if(j){te+=`() => ${we}[__WEBPACK_IMPORT_KEY__]`}else{te+=`function(key) { return ${we}[key]; }.bind(0, __WEBPACK_IMPORT_KEY__)`}ve.add(ee.exports);ve.add(ee.definePropertyGetters);const Ee=w.exportsArgument;E.push(new q(`${te}\n/* harmony reexport (unknown) */ ${ee.definePropertyGetters}(${Ee}, __WEBPACK_REEXPORT_OBJECT__);\n`,q.STAGE_HARMONY_IMPORTS,k.sourceOrder));break}default:throw new Error(`Unknown mode ${S.type}`)}}getReexportFragment(E,k,S,w,N,j){const q=this.getReturnValue(w,N);j.add(ee.exports);j.add(ee.definePropertyGetters);const te=new Map;te.set(S,`/* ${k} */ ${q}`);return new we(E.exportsArgument,te)}getReexportFakeNamespaceObjectFragments(E,k,S,w,N){N.add(ee.exports);N.add(ee.definePropertyGetters);N.add(ee.createFakeNamespaceObject);const j=new Map;j.set(k,`/* reexport fake namespace object from non-harmony */ ${S}_namespace_cache || (${S}_namespace_cache = ${ee.createFakeNamespaceObject}(${S}${w?`, ${w}`:""}))`);return[new q(`var ${S}_namespace_cache;\n`,q.STAGE_CONSTANTS,-1,`${S}_namespace_cache`),new we(E.exportsArgument,j)]}getConditionalReexportStatement(E,k,S,w,N){if(w===false){return"/* unused export */\n"}const j=E.exportsArgument;const q=this.getReturnValue(S,w);N.add(ee.exports);N.add(ee.definePropertyGetters);N.add(ee.hasOwnProperty);return`if(${ee.hasOwnProperty}(${S}, ${JSON.stringify(w[0])})) ${ee.definePropertyGetters}(${j}, { ${JSON.stringify(k)}: function() { return ${q}; } });\n`}getReturnValue(E,k){if(k===null){return`${E}_default.a`}if(k===""){return E}if(k===false){return"/* unused export */ undefined"}return`${E}${Ee(k)}`}};class HarmonyStarExportsList{constructor(){this.dependencies=[]}push(E){this.dependencies.push(E)}slice(){return this.dependencies.slice()}serialize({write:E,setCircularReference:k}){k(this);E(this.dependencies)}deserialize({read:E,setCircularReference:k}){k(this);this.dependencies=E()}}ve(HarmonyStarExportsList,"webpack/lib/dependencies/HarmonyExportImportedSpecifierDependency","HarmonyStarExportsList");E.exports.HarmonyStarExportsList=HarmonyStarExportsList},82296:(E,k,S)=>{"use strict";const w=S(63272);const N=S(76150);const{first:j}=S(26221);const joinIterableWithComma=E=>{let k="";let S=true;for(const w of E){if(S){S=false}else{k+=", "}k+=w}return k};const q=new Map;const ee=new Set;class HarmonyExportInitFragment extends w{constructor(E,k=q,S=ee){super(undefined,w.STAGE_HARMONY_EXPORTS,1,"harmony-exports");this.exportsArgument=E;this.exportMap=k;this.unusedExports=S}mergeAll(E){let k;let S=false;let w;let N=false;for(const j of E){if(j.exportMap.size!==0){if(k===undefined){k=j.exportMap;S=false}else{if(!S){k=new Map(k);S=true}for(const[E,S]of j.exportMap){if(!k.has(E))k.set(E,S)}}}if(j.unusedExports.size!==0){if(w===undefined){w=j.unusedExports;N=false}else{if(!N){w=new Set(w);N=true}for(const E of j.unusedExports){w.add(E)}}}}return new HarmonyExportInitFragment(this.exportsArgument,k,w)}merge(E){let k;if(this.exportMap.size===0){k=E.exportMap}else if(E.exportMap.size===0){k=this.exportMap}else{k=new Map(E.exportMap);for(const[E,S]of this.exportMap){if(!k.has(E))k.set(E,S)}}let S;if(this.unusedExports.size===0){S=E.unusedExports}else if(E.unusedExports.size===0){S=this.unusedExports}else{S=new Set(E.unusedExports);for(const E of this.unusedExports){S.add(E)}}return new HarmonyExportInitFragment(this.exportsArgument,k,S)}getContent({runtimeTemplate:E,runtimeRequirements:k}){k.add(N.exports);k.add(N.definePropertyGetters);const S=this.unusedExports.size>1?`/* unused harmony exports ${joinIterableWithComma(this.unusedExports)} */\n`:this.unusedExports.size>0?`/* unused harmony export ${j(this.unusedExports)} */\n`:"";const w=[];for(const[k,S]of this.exportMap){w.push(`\n/* harmony export */ ${JSON.stringify(k)}: ${E.returningFunction(S)}`)}const q=this.exportMap.size>0?`/* harmony export */ ${N.definePropertyGetters}(${this.exportsArgument}, {${w.join(",")}\n/* harmony export */ });\n`:"";return`${q}${S}`}}E.exports=HarmonyExportInitFragment},14696:(E,k,S)=>{"use strict";const w=S(56202);const N=S(82296);const j=S(12197);class HarmonyExportSpecifierDependency extends j{constructor(E,k){super();this.id=E;this.name=k}get type(){return"harmony export specifier"}getExports(E){return{exports:[this.name],priority:1,terminalBinding:true,dependencies:undefined}}getModuleEvaluationSideEffectsState(E){return false}serialize(E){const{write:k}=E;k(this.id);k(this.name);super.serialize(E)}deserialize(E){const{read:k}=E;this.id=k();this.name=k();super.deserialize(E)}}w(HarmonyExportSpecifierDependency,"webpack/lib/dependencies/HarmonyExportSpecifierDependency");HarmonyExportSpecifierDependency.Template=class HarmonyExportSpecifierDependencyTemplate extends j.Template{apply(E,k,{module:S,moduleGraph:w,initFragments:j,runtime:q,concatenationScope:ee}){const te=E;if(ee){ee.registerExport(te.name,te.id);return}const ne=w.getExportsInfo(S).getUsedName(te.name,q);if(!ne){const E=new Set;E.add(te.name||"namespace");j.push(new N(S.exportsArgument,undefined,E));return}const ae=new Map;ae.set(ne,`/* binding */ ${te.id}`);j.push(new N(S.exportsArgument,ae,undefined))}};E.exports=HarmonyExportSpecifierDependency},25702:(E,k)=>{"use strict";const S=new WeakMap;k.enable=(E,k)=>{const w=S.get(E);if(w===false)return;S.set(E,true);if(w!==true){E.module.buildMeta.exportsType="namespace";E.module.buildInfo.strict=true;E.module.buildInfo.exportsArgument="__webpack_exports__";if(k){E.module.buildMeta.strictHarmonyModule=true;E.module.buildInfo.moduleArgument="__webpack_module__"}}};k.isEnabled=E=>{const k=S.get(E);return k===true}},37359:(E,k,S)=>{"use strict";const w=S(11518);const N=S(28706);const j=S(36756);const q=S(63272);const ee=S(58159);const te=S(10813);const{filterRuntime:ne,mergeRuntime:ae}=S(37416);const _e=S(79983);class HarmonyImportDependency extends _e{constructor(E,k){super(E);this.sourceOrder=k}get category(){return"esm"}getReferencedExports(E,k){return N.NO_EXPORTS_REFERENCED}getImportVar(E){const k=E.getParentModule(this);const S=E.getMeta(k);let w=S.importVarMap;if(!w)S.importVarMap=w=new Map;let N=w.get(E.getModule(this));if(N)return N;N=`${ee.toIdentifier(`${this.userRequest}`)}__WEBPACK_IMPORTED_MODULE_${w.size}__`;w.set(E.getModule(this),N);return N}getImportStatement(E,{runtimeTemplate:k,module:S,moduleGraph:w,chunkGraph:N,runtimeRequirements:j}){return k.importStatement({update:E,module:w.getModule(this),chunkGraph:N,importVar:this.getImportVar(w),request:this.request,originModule:S,runtimeRequirements:j})}getLinkingErrors(E,k,S){const w=E.getModule(this);if(!w||w.getNumberOfErrors()>0){return}const N=E.getParentModule(this);const q=w.getExportsType(E,N.buildMeta.strictHarmonyModule);if(q==="namespace"||q==="default-with-named"){if(k.length===0){return}if((q!=="default-with-named"||k[0]!=="default")&&E.isExportProvided(w,k)===false){let N=0;let q=E.getExportsInfo(w);while(N`'${E}'`)).join(".")} ${S} was not found in '${this.userRequest}'${w}`)]}q=w.getNestedExportsInfo()}return[new j(`export ${k.map((E=>`'${E}'`)).join(".")} ${S} was not found in '${this.userRequest}'`)]}}switch(q){case"default-only":if(k.length>0&&k[0]!=="default"){return[new j(`Can't import the named export ${k.map((E=>`'${E}'`)).join(".")} ${S} from default-exporting module (only default export is available)`)]}break;case"default-with-named":if(k.length>0&&k[0]!=="default"&&w.buildMeta.defaultObject==="redirect-warn"){return[new j(`Should not import the named export ${k.map((E=>`'${E}'`)).join(".")} ${S} from default-exporting module (only default export is available soon)`)]}break}}serialize(E){const{write:k}=E;k(this.sourceOrder);super.serialize(E)}deserialize(E){const{read:k}=E;this.sourceOrder=k();super.deserialize(E)}}E.exports=HarmonyImportDependency;const ve=new WeakMap;HarmonyImportDependency.Template=class HarmonyImportDependencyTemplate extends _e.Template{apply(E,k,S){const N=E;const{module:j,chunkGraph:ee,moduleGraph:_e,runtime:Ee}=S;const we=_e.getConnection(N);if(we&&!we.isTargetActive(Ee))return;const Ce=we&&we.module;if(we&&we.weak&&Ce&&ee.getModuleId(Ce)===null){return}const Me=Ce?Ce.identifier():N.request;const Te=`harmony import ${Me}`;const Ie=N.weak?false:we?ne(Ee,(E=>we.isTargetActive(E))):true;if(j&&Ce){let E=ve.get(j);if(E===undefined){E=new WeakMap;ve.set(j,E)}let k=Ie;const S=E.get(Ce)||false;if(S!==false&&k!==true){if(k===false||S===true){k=S}else{k=ae(S,k)}}E.set(Ce,k)}const Oe=N.getImportStatement(false,S);if(S.moduleGraph.isAsync(Ce)){S.initFragments.push(new w(Oe[0],q.STAGE_HARMONY_IMPORTS,N.sourceOrder,Te,Ie));S.initFragments.push(new te(new Set([N.getImportVar(S.moduleGraph)])));S.initFragments.push(new w(Oe[1],q.STAGE_ASYNC_HARMONY_IMPORTS,N.sourceOrder,Te+" compat",Ie))}else{S.initFragments.push(new w(Oe[0]+Oe[1],q.STAGE_HARMONY_IMPORTS,N.sourceOrder,Te,Ie))}}static getImportEmittedRuntime(E,k){const S=ve.get(E);if(S===undefined)return false;return S.get(k)||false}}},29381:(E,k,S)=>{"use strict";const w=S(79972);const N=S(58018);const j=S(66298);const q=S(27790);const ee=S(80654);const te=S(25702);const ne=S(69707);const ae=S(2230);const _e=Symbol("harmony import");E.exports=class HarmonyImportDependencyParserPlugin{constructor(E){this.strictExportPresence=E.strictExportPresence;this.strictThisContextOnImports=E.strictThisContextOnImports}apply(E){E.hooks.isPure.for("Identifier").tap("HarmonyImportDependencyParserPlugin",(k=>{const S=k;if(E.isVariableDefined(S.name)||E.getTagData(S.name,_e)){return true}}));E.hooks.import.tap("HarmonyImportDependencyParserPlugin",((k,S)=>{E.state.lastHarmonyImportOrder=(E.state.lastHarmonyImportOrder||0)+1;const w=new j(E.isAsiPosition(k.range[0])?";":"",k.range);w.loc=k.loc;E.state.module.addPresentationalDependency(w);E.unsetAsiPosition(k.range[1]);const N=new ne(S,E.state.lastHarmonyImportOrder);N.loc=k.loc;E.state.module.addDependency(N);return true}));E.hooks.importSpecifier.tap("HarmonyImportDependencyParserPlugin",((k,S,w,N)=>{const j=w===null?[]:[w];E.tagVariable(N,_e,{name:N,source:S,ids:j,sourceOrder:E.state.lastHarmonyImportOrder});return true}));E.hooks.expression.for(_e).tap("HarmonyImportDependencyParserPlugin",(k=>{const S=E.currentTagData;const w=new ae(S.source,S.sourceOrder,S.ids,S.name,k.range,this.strictExportPresence);w.shorthand=E.scope.inShorthand;w.directImport=true;w.asiSafe=!E.isAsiPosition(k.range[0]);w.loc=k.loc;E.state.module.addDependency(w);N.onUsage(E.state,(E=>w.usedByExports=E));return true}));E.hooks.expressionMemberChain.for(_e).tap("HarmonyImportDependencyParserPlugin",((k,S)=>{const w=E.currentTagData;const j=w.ids.concat(S);const q=new ae(w.source,w.sourceOrder,j,w.name,k.range,this.strictExportPresence);q.asiSafe=!E.isAsiPosition(k.range[0]);q.loc=k.loc;E.state.module.addDependency(q);N.onUsage(E.state,(E=>q.usedByExports=E));return true}));E.hooks.callMemberChain.for(_e).tap("HarmonyImportDependencyParserPlugin",((k,S)=>{const{arguments:w,callee:j}=k;const q=E.currentTagData;const ee=q.ids.concat(S);const te=new ae(q.source,q.sourceOrder,ee,q.name,j.range,this.strictExportPresence);te.directImport=S.length===0;te.call=true;te.asiSafe=!E.isAsiPosition(j.range[0]);te.namespaceObjectAsContext=S.length>0&&this.strictThisContextOnImports;te.loc=j.loc;E.state.module.addDependency(te);if(w)E.walkExpressions(w);N.onUsage(E.state,(E=>te.usedByExports=E));return true}));const{hotAcceptCallback:k,hotAcceptWithoutCallback:S}=w.getParserHooks(E);k.tap("HarmonyImportDependencyParserPlugin",((k,S)=>{if(!te.isEnabled(E.state)){return}const w=S.map((S=>{const w=new ee(S);w.loc=k.loc;E.state.module.addDependency(w);return w}));if(w.length>0){const S=new q(k.range,w,true);S.loc=k.loc;E.state.module.addDependency(S)}}));S.tap("HarmonyImportDependencyParserPlugin",((k,S)=>{if(!te.isEnabled(E.state)){return}const w=S.map((S=>{const w=new ee(S);w.loc=k.loc;E.state.module.addDependency(w);return w}));if(w.length>0){const S=new q(k.range,w,false);S.loc=k.loc;E.state.module.addDependency(S)}}))}};E.exports.harmonySpecifierTag=_e},69707:(E,k,S)=>{"use strict";const w=S(56202);const N=S(37359);class HarmonyImportSideEffectDependency extends N{constructor(E,k){super(E,k)}get type(){return"harmony side effect evaluation"}getCondition(E){return k=>{const S=k.resolvedModule;if(!S)return true;return S.getSideEffectsConnectionState(E)}}getModuleEvaluationSideEffectsState(E){const k=E.getModule(this);if(!k)return true;return k.getSideEffectsConnectionState(E)}}w(HarmonyImportSideEffectDependency,"webpack/lib/dependencies/HarmonyImportSideEffectDependency");HarmonyImportSideEffectDependency.Template=class HarmonyImportSideEffectDependencyTemplate extends N.Template{apply(E,k,S){const{moduleGraph:w,concatenationScope:N}=S;if(N){const k=w.getModule(E);if(N.isModuleInScope(k)){return}}super.apply(E,k,S)}};E.exports=HarmonyImportSideEffectDependency},2230:(E,k,S)=>{"use strict";const w=S(28706);const{getDependencyUsedByExportsCondition:N}=S(58018);const j=S(56202);const q=S(68038);const ee=S(37359);const te=Symbol("HarmonyImportSpecifierDependency.ids");class HarmonyImportSpecifierDependency extends ee{constructor(E,k,S,w,N,j){super(E,k);this.ids=S;this.name=w;this.range=N;this.strictExportPresence=j;this.namespaceObjectAsContext=false;this.call=undefined;this.directImport=undefined;this.shorthand=undefined;this.asiSafe=undefined;this.usedByExports=undefined}get id(){throw new Error("id was renamed to ids and type changed to string[]")}getId(){throw new Error("id was renamed to ids and type changed to string[]")}setId(){throw new Error("id was renamed to ids and type changed to string[]")}get type(){return"harmony import specifier"}getIds(E){const k=E.getMetaIfExisting(this);if(k===undefined)return this.ids;const S=k[te];return S!==undefined?S:this.ids}setIds(E,k){E.getMeta(this)[te]=k}getCondition(E){return N(this,this.usedByExports,E)}getModuleEvaluationSideEffectsState(E){return false}getReferencedExports(E,k){let S=this.getIds(E);if(S.length===0)return w.EXPORTS_OBJECT_REFERENCED;let N=this.namespaceObjectAsContext;if(S[0]==="default"){const k=E.getParentModule(this);const j=E.getModule(this);switch(j.getExportsType(E,k.buildMeta.strictHarmonyModule)){case"default-only":case"default-with-named":if(S.length===1)return w.EXPORTS_OBJECT_REFERENCED;S=S.slice(1);N=true;break;case"dynamic":return w.EXPORTS_OBJECT_REFERENCED}}if(this.call&&!this.directImport&&(N||S.length>1)){if(S.length===1)return w.EXPORTS_OBJECT_REFERENCED;S=S.slice(0,-1)}return[S]}getWarnings(E){if(this.strictExportPresence||E.getParentModule(this).buildMeta.strictHarmonyModule){return null}return this._getErrors(E)}getErrors(E){if(this.strictExportPresence||E.getParentModule(this).buildMeta.strictHarmonyModule){return this._getErrors(E)}return null}_getErrors(E){const k=this.getIds(E);return this.getLinkingErrors(E,k,`(imported as '${this.name}')`)}getNumberOfIdOccurrences(){return 0}serialize(E){const{write:k}=E;k(this.ids);k(this.name);k(this.range);k(this.strictExportPresence);k(this.namespaceObjectAsContext);k(this.call);k(this.directImport);k(this.shorthand);k(this.asiSafe);k(this.usedByExports);super.serialize(E)}deserialize(E){const{read:k}=E;this.ids=k();this.name=k();this.range=k();this.strictExportPresence=k();this.namespaceObjectAsContext=k();this.call=k();this.directImport=k();this.shorthand=k();this.asiSafe=k();this.usedByExports=k();super.deserialize(E)}}j(HarmonyImportSpecifierDependency,"webpack/lib/dependencies/HarmonyImportSpecifierDependency");HarmonyImportSpecifierDependency.Template=class HarmonyImportSpecifierDependencyTemplate extends ee.Template{apply(E,k,S){const w=E;const{moduleGraph:N,module:j,runtime:ee,concatenationScope:te}=S;const ne=N.getConnection(w);if(ne&&!ne.isTargetActive(ee))return;const ae=w.getIds(N);let _e;if(ne&&te&&te.isModuleInScope(ne.module)){if(ae.length===0){_e=te.createModuleReference(ne.module,{asiSafe:w.asiSafe})}else if(w.namespaceObjectAsContext&&ae.length===1){_e=te.createModuleReference(ne.module,{asiSafe:w.asiSafe})+q(ae)}else{_e=te.createModuleReference(ne.module,{ids:ae,call:w.call,directImport:w.directImport,asiSafe:w.asiSafe})}}else{super.apply(E,k,S);const{runtimeTemplate:q,initFragments:te,runtimeRequirements:ne}=S;_e=q.exportFromImport({moduleGraph:N,module:N.getModule(w),request:w.request,exportName:ae,originModule:j,asiSafe:w.shorthand?true:w.asiSafe,isCall:w.call,callContext:!w.directImport,defaultInterop:true,importVar:w.getImportVar(N),initFragments:te,runtime:ee,runtimeRequirements:ne})}if(w.shorthand){k.insert(w.range[1],`: ${_e}`)}else{k.replace(w.range[0],w.range[1]-1,_e)}}};E.exports=HarmonyImportSpecifierDependency},26165:(E,k,S)=>{"use strict";const w=S(27790);const N=S(80654);const j=S(54290);const q=S(55037);const ee=S(48752);const te=S(44576);const ne=S(14696);const ae=S(69707);const _e=S(2230);const ve=S(11720);const Ee=S(16081);const we=S(29381);const Ce=S(13197);class HarmonyModulesPlugin{constructor(E){this.options=E}apply(E){E.hooks.compilation.tap("HarmonyModulesPlugin",((E,{normalModuleFactory:k})=>{E.dependencyTemplates.set(j,new j.Template);E.dependencyFactories.set(ae,k);E.dependencyTemplates.set(ae,new ae.Template);E.dependencyFactories.set(_e,k);E.dependencyTemplates.set(_e,new _e.Template);E.dependencyTemplates.set(ee,new ee.Template);E.dependencyTemplates.set(q,new q.Template);E.dependencyTemplates.set(ne,new ne.Template);E.dependencyFactories.set(te,k);E.dependencyTemplates.set(te,new te.Template);E.dependencyTemplates.set(w,new w.Template);E.dependencyFactories.set(N,k);E.dependencyTemplates.set(N,new N.Template);const handler=(E,k)=>{if(k.harmony!==undefined&&!k.harmony)return;new ve(this.options).apply(E);new we(k).apply(E);new Ee(k).apply(E);(new Ce).apply(E)};k.hooks.parser.for("javascript/auto").tap("HarmonyModulesPlugin",handler);k.hooks.parser.for("javascript/esm").tap("HarmonyModulesPlugin",handler)}))}}E.exports=HarmonyModulesPlugin},13197:(E,k,S)=>{"use strict";const w=S(66298);const N=S(25702);class HarmonyTopLevelThisParserPlugin{apply(E){E.hooks.expression.for("this").tap("HarmonyTopLevelThisParserPlugin",(k=>{if(!E.scope.topLevelScope)return;if(N.isEnabled(E.state)){const S=new w("undefined",k.range,null);S.loc=k.loc;E.state.module.addPresentationalDependency(S);return this}}))}}E.exports=HarmonyTopLevelThisParserPlugin},4828:(E,k,S)=>{"use strict";const w=S(56202);const N=S(400);const j=S(42740);class ImportContextDependency extends N{constructor(E,k,S){super(E);this.range=k;this.valueRange=S}get type(){return`import() context ${this.options.mode}`}get category(){return"esm"}serialize(E){const{write:k}=E;k(this.range);k(this.valueRange);super.serialize(E)}deserialize(E){const{read:k}=E;this.range=k();this.valueRange=k();super.deserialize(E)}}w(ImportContextDependency,"webpack/lib/dependencies/ImportContextDependency");ImportContextDependency.Template=j;E.exports=ImportContextDependency},20013:(E,k,S)=>{"use strict";const w=S(28706);const N=S(56202);const j=S(79983);class ImportDependency extends j{constructor(E,k,S){super(E);this.range=k;this.referencedExports=S}get type(){return"import()"}get category(){return"esm"}getReferencedExports(E,k){return this.referencedExports?this.referencedExports.map((E=>({name:E,canMangle:false}))):w.EXPORTS_OBJECT_REFERENCED}serialize(E){E.write(this.range);E.write(this.referencedExports);super.serialize(E)}deserialize(E){this.range=E.read();this.referencedExports=E.read();super.deserialize(E)}}N(ImportDependency,"webpack/lib/dependencies/ImportDependency");ImportDependency.Template=class ImportDependencyTemplate extends j.Template{apply(E,k,{runtimeTemplate:S,module:w,moduleGraph:N,chunkGraph:j,runtimeRequirements:q}){const ee=E;const te=N.getParentBlock(ee);const ne=S.moduleNamespacePromise({chunkGraph:j,block:te,module:N.getModule(ee),request:ee.request,strict:w.buildMeta.strictHarmonyModule,message:"import()",runtimeRequirements:q});k.replace(ee.range[0],ee.range[1]-1,ne)}};E.exports=ImportDependency},75708:(E,k,S)=>{"use strict";const w=S(56202);const N=S(20013);class ImportEagerDependency extends N{constructor(E,k,S){super(E,k,S)}get type(){return"import() eager"}get category(){return"esm"}}w(ImportEagerDependency,"webpack/lib/dependencies/ImportEagerDependency");ImportEagerDependency.Template=class ImportEagerDependencyTemplate extends N.Template{apply(E,k,{runtimeTemplate:S,module:w,moduleGraph:N,chunkGraph:j,runtimeRequirements:q}){const ee=E;const te=S.moduleNamespacePromise({chunkGraph:j,module:N.getModule(ee),request:ee.request,strict:w.buildMeta.strictHarmonyModule,message:"import() eager",runtimeRequirements:q});k.replace(ee.range[0],ee.range[1]-1,te)}};E.exports=ImportEagerDependency},76302:(E,k,S)=>{"use strict";const w=S(56202);const N=S(79983);const j=S(80791);class ImportMetaHotAcceptDependency extends N{constructor(E,k){super(E);this.range=k;this.weak=true}get type(){return"import.meta.webpackHot.accept"}get category(){return"esm"}}w(ImportMetaHotAcceptDependency,"webpack/lib/dependencies/ImportMetaHotAcceptDependency");ImportMetaHotAcceptDependency.Template=j;E.exports=ImportMetaHotAcceptDependency},5389:(E,k,S)=>{"use strict";const w=S(56202);const N=S(79983);const j=S(80791);class ImportMetaHotDeclineDependency extends N{constructor(E,k){super(E);this.range=k;this.weak=true}get type(){return"import.meta.webpackHot.decline"}get category(){return"esm"}}w(ImportMetaHotDeclineDependency,"webpack/lib/dependencies/ImportMetaHotDeclineDependency");ImportMetaHotDeclineDependency.Template=j;E.exports=ImportMetaHotDeclineDependency},38586:(E,k,S)=>{"use strict";const{pathToFileURL:w}=S(78835);const N=S(23280);const j=S(58159);const q=S(87250);const{evaluateToIdentifier:ee,toConstantDependency:te,evaluateToString:ne,evaluateToNumber:ae}=S(48472);const _e=S(91671);const ve=S(68038);const Ee=S(66298);const we=_e((()=>S(75314)));class ImportMetaPlugin{apply(E){E.hooks.compilation.tap("ImportMetaPlugin",((E,{normalModuleFactory:k})=>{const getUrl=E=>w(E.resource).toString();const parserHandler=(E,k)=>{E.hooks.typeof.for("import.meta").tap("ImportMetaPlugin",te(E,JSON.stringify("object")));E.hooks.expression.for("import.meta").tap("ImportMetaPlugin",(k=>{const S=we();E.state.module.addWarning(new N(E.state.module,new S("Accessing import.meta directly is unsupported (only property access is supported)"),k.loc));const w=new Ee(`${E.isAsiPosition(k.range[0])?";":""}({})`,k.range);w.loc=k.loc;E.state.module.addPresentationalDependency(w);return true}));E.hooks.evaluateTypeof.for("import.meta").tap("ImportMetaPlugin",ne("object"));E.hooks.evaluateIdentifier.for("import.meta").tap("ImportMetaPlugin",ee("import.meta","import.meta",(()=>[]),true));E.hooks.typeof.for("import.meta.url").tap("ImportMetaPlugin",te(E,JSON.stringify("string")));E.hooks.expression.for("import.meta.url").tap("ImportMetaPlugin",(k=>{const S=new Ee(JSON.stringify(getUrl(E.state.module)),k.range);S.loc=k.loc;E.state.module.addPresentationalDependency(S);return true}));E.hooks.evaluateTypeof.for("import.meta.url").tap("ImportMetaPlugin",ne("string"));E.hooks.evaluateIdentifier.for("import.meta.url").tap("ImportMetaPlugin",(k=>(new q).setString(getUrl(E.state.module)).setRange(k.range)));const w=parseInt(S(61733).i8,10);E.hooks.typeof.for("import.meta.webpack").tap("ImportMetaPlugin",te(E,JSON.stringify("number")));E.hooks.expression.for("import.meta.webpack").tap("ImportMetaPlugin",te(E,JSON.stringify(w)));E.hooks.evaluateTypeof.for("import.meta.webpack").tap("ImportMetaPlugin",ne("number"));E.hooks.evaluateIdentifier.for("import.meta.webpack").tap("ImportMetaPlugin",ae(w));E.hooks.unhandledExpressionMemberChain.for("import.meta").tap("ImportMetaPlugin",((k,S)=>{const w=new Ee(`${j.toNormalComment("unsupported import.meta."+S.join("."))} undefined${ve(S,1)}`,k.range);w.loc=k.loc;E.state.module.addPresentationalDependency(w);return true}));E.hooks.evaluate.for("MemberExpression").tap("ImportMetaPlugin",(E=>{const k=E;if(k.object.type==="MetaProperty"&&k.object.meta.name==="import"&&k.object.property.name==="meta"&&k.property.type===(k.computed?"Literal":"Identifier")){return(new q).setUndefined().setRange(k.range)}}))};k.hooks.parser.for("javascript/auto").tap("ImportMetaPlugin",parserHandler);k.hooks.parser.for("javascript/esm").tap("ImportMetaPlugin",parserHandler)}))}}E.exports=ImportMetaPlugin},81467:(E,k,S)=>{"use strict";const w=S(98221);const N=S(47207);const j=S(53558);const q=S(95601);const ee=S(4828);const te=S(20013);const ne=S(75708);const ae=S(12849);class ImportParserPlugin{constructor(E){this.options=E}apply(E){E.hooks.importCall.tap("ImportParserPlugin",(k=>{const S=E.evaluateExpression(k.source);let _e=null;let ve="lazy";let Ee=null;let we=null;let Ce=null;const Me={};const{options:Te,errors:Ie}=E.parseCommentOptions(k.range);if(Ie){for(const k of Ie){const{comment:S}=k;E.state.module.addWarning(new N(`Compilation error while processing magic comment(-s): /*${S.value}*/: ${k.message}`,S.loc))}}if(Te){if(Te.webpackIgnore!==undefined){if(typeof Te.webpackIgnore!=="boolean"){E.state.module.addWarning(new j(`\`webpackIgnore\` expected a boolean, but received: ${Te.webpackIgnore}.`,k.loc))}else{if(Te.webpackIgnore){return false}}}if(Te.webpackChunkName!==undefined){if(typeof Te.webpackChunkName!=="string"){E.state.module.addWarning(new j(`\`webpackChunkName\` expected a string, but received: ${Te.webpackChunkName}.`,k.loc))}else{_e=Te.webpackChunkName}}if(Te.webpackMode!==undefined){if(typeof Te.webpackMode!=="string"){E.state.module.addWarning(new j(`\`webpackMode\` expected a string, but received: ${Te.webpackMode}.`,k.loc))}else{ve=Te.webpackMode}}if(Te.webpackPrefetch!==undefined){if(Te.webpackPrefetch===true){Me.prefetchOrder=0}else if(typeof Te.webpackPrefetch==="number"){Me.prefetchOrder=Te.webpackPrefetch}else{E.state.module.addWarning(new j(`\`webpackPrefetch\` expected true or a number, but received: ${Te.webpackPrefetch}.`,k.loc))}}if(Te.webpackPreload!==undefined){if(Te.webpackPreload===true){Me.preloadOrder=0}else if(typeof Te.webpackPreload==="number"){Me.preloadOrder=Te.webpackPreload}else{E.state.module.addWarning(new j(`\`webpackPreload\` expected true or a number, but received: ${Te.webpackPreload}.`,k.loc))}}if(Te.webpackInclude!==undefined){if(!Te.webpackInclude||Te.webpackInclude.constructor.name!=="RegExp"){E.state.module.addWarning(new j(`\`webpackInclude\` expected a regular expression, but received: ${Te.webpackInclude}.`,k.loc))}else{Ee=new RegExp(Te.webpackInclude)}}if(Te.webpackExclude!==undefined){if(!Te.webpackExclude||Te.webpackExclude.constructor.name!=="RegExp"){E.state.module.addWarning(new j(`\`webpackExclude\` expected a regular expression, but received: ${Te.webpackExclude}.`,k.loc))}else{we=new RegExp(Te.webpackExclude)}}if(Te.webpackExports!==undefined){if(!(typeof Te.webpackExports==="string"||Array.isArray(Te.webpackExports)&&Te.webpackExports.every((E=>typeof E==="string")))){E.state.module.addWarning(new j(`\`webpackExports\` expected a string or an array of strings, but received: ${Te.webpackExports}.`,k.loc))}else{if(typeof Te.webpackExports==="string"){Ce=[[Te.webpackExports]]}else{Ce=Array.from(Te.webpackExports,(E=>[E]))}}}}if(S.isString()){if(ve!=="lazy"&&ve!=="eager"&&ve!=="weak"){E.state.module.addWarning(new j(`\`webpackMode\` expected 'lazy', 'eager' or 'weak', but received: ${ve}.`,k.loc))}if(ve==="eager"){const w=new ne(S.string,k.range,Ce);E.state.current.addDependency(w)}else if(ve==="weak"){const w=new ae(S.string,k.range,Ce);E.state.current.addDependency(w)}else{const N=new w({...Me,name:_e},k.loc,S.string);const j=new te(S.string,k.range,Ce);j.loc=k.loc;N.addDependency(j);E.state.current.addBlock(N)}return true}else{if(ve!=="lazy"&&ve!=="lazy-once"&&ve!=="eager"&&ve!=="weak"){E.state.module.addWarning(new j(`\`webpackMode\` expected 'lazy', 'lazy-once', 'eager' or 'weak', but received: ${ve}.`,k.loc));ve="lazy"}if(ve==="weak"){ve="async-weak"}const w=q.create(ee,k.range,S,k,this.options,{chunkName:_e,groupOptions:Me,include:Ee,exclude:we,mode:ve,namespaceObject:E.state.module.buildMeta.strictHarmonyModule?"strict":true,typePrefix:"import()",category:"esm",referencedExports:Ce},E);if(!w)return;w.loc=k.loc;w.optional=!!E.scope.inTry;E.state.current.addDependency(w);return true}}))}}E.exports=ImportParserPlugin},54975:(E,k,S)=>{"use strict";const w=S(4828);const N=S(20013);const j=S(75708);const q=S(81467);const ee=S(12849);class ImportPlugin{apply(E){E.hooks.compilation.tap("ImportPlugin",((E,{contextModuleFactory:k,normalModuleFactory:S})=>{E.dependencyFactories.set(N,S);E.dependencyTemplates.set(N,new N.Template);E.dependencyFactories.set(j,S);E.dependencyTemplates.set(j,new j.Template);E.dependencyFactories.set(ee,S);E.dependencyTemplates.set(ee,new ee.Template);E.dependencyFactories.set(w,k);E.dependencyTemplates.set(w,new w.Template);const handler=(E,k)=>{if(k.import!==undefined&&!k.import)return;new q(k).apply(E)};S.hooks.parser.for("javascript/auto").tap("ImportPlugin",handler);S.hooks.parser.for("javascript/dynamic").tap("ImportPlugin",handler);S.hooks.parser.for("javascript/esm").tap("ImportPlugin",handler)}))}}E.exports=ImportPlugin},12849:(E,k,S)=>{"use strict";const w=S(56202);const N=S(20013);class ImportWeakDependency extends N{constructor(E,k,S){super(E,k,S);this.weak=true}get type(){return"import() weak"}}w(ImportWeakDependency,"webpack/lib/dependencies/ImportWeakDependency");ImportWeakDependency.Template=class ImportDependencyTemplate extends N.Template{apply(E,k,{runtimeTemplate:S,module:w,moduleGraph:N,chunkGraph:j,runtimeRequirements:q}){const ee=E;const te=S.moduleNamespacePromise({chunkGraph:j,module:N.getModule(ee),request:ee.request,strict:w.buildMeta.strictHarmonyModule,message:"import() weak",weak:true,runtimeRequirements:q});k.replace(ee.range[0],ee.range[1]-1,te)}};E.exports=ImportWeakDependency},38895:(E,k,S)=>{"use strict";const w=S(56202);const N=S(12197);const getExportsFromData=E=>{if(E&&typeof E==="object"){if(Array.isArray(E)){return E.map(((E,k)=>({name:`${k}`,canMangle:true,exports:getExportsFromData(E)})))}else{const k=[];for(const S of Object.keys(E)){k.push({name:S,canMangle:true,exports:getExportsFromData(E[S])})}return k}}return undefined};class JsonExportsDependency extends N{constructor(E){super();this.exports=E}get type(){return"json exports"}getExports(E){return{exports:this.exports,dependencies:undefined}}updateHash(E,k){E.update(this.exports?JSON.stringify(this.exports):"undefined")}serialize(E){const{write:k}=E;k(this.exports);super.serialize(E)}deserialize(E){const{read:k}=E;this.exports=k();super.deserialize(E)}}w(JsonExportsDependency,"webpack/lib/dependencies/JsonExportsDependency");E.exports=JsonExportsDependency;E.exports.getExportsFromData=getExportsFromData},32876:(E,k,S)=>{"use strict";const w=S(79983);class LoaderDependency extends w{constructor(E){super(E)}get type(){return"loader"}get category(){return"loader"}}E.exports=LoaderDependency},79486:(E,k,S)=>{"use strict";const w=S(79983);class LoaderImportDependency extends w{constructor(E){super(E);this.weak=true}get type(){return"loader import"}get category(){return"loaderImport"}}E.exports=LoaderImportDependency},2451:(E,k,S)=>{"use strict";const w=S(53520);const N=S(83379);const j=S(32876);const q=S(79486);class LoaderPlugin{constructor(E={}){this._enableExecuteModule=!!E.enableExecuteModule}apply(E){E.hooks.compilation.tap("LoaderPlugin",((E,{normalModuleFactory:k})=>{E.dependencyFactories.set(j,k);E.dependencyFactories.set(q,k)}));E.hooks.compilation.tap("LoaderPlugin",(E=>{const k=E.moduleGraph;w.getCompilationHooks(E).loader.tap("LoaderPlugin",(S=>{S.loadModule=(w,q)=>{const ee=new j(w);ee.loc={name:w};const te=E.dependencyFactories.get(ee.constructor);if(te===undefined){return q(new Error(`No module factory available for dependency type: ${ee.constructor.name}`))}E.buildQueue.increaseParallelism();E.handleModuleCreation({factory:te,dependencies:[ee],originModule:S._module,context:S.context,recursive:false},(w=>{E.buildQueue.decreaseParallelism();if(w){return q(w)}const j=k.getModule(ee);if(!j){return q(new Error("Cannot load the module"))}if(j.getNumberOfErrors()>0){return q(new Error("The loaded module contains errors"))}const te=j.originalSource();if(!te){return q(new Error("The module created for a LoaderDependency must have an original source"))}let ne,ae;if(te.sourceAndMap){const E=te.sourceAndMap();ae=E.map;ne=E.source}else{ae=te.map();ne=te.source()}const _e=new N;const ve=new N;const Ee=new N;const we=new N;j.addCacheDependencies(_e,ve,Ee,we);for(const E of _e){S.addDependency(E)}for(const E of ve){S.addContextDependency(E)}for(const E of Ee){S.addMissingDependency(E)}for(const E of we){S.addBuildDependency(E)}return q(null,ne,ae,j)}))};if(this._enableExecuteModule){const importModule=(w,N,j)=>{const ee=new q(w);ee.loc={name:w};const te=E.dependencyFactories.get(ee.constructor);if(te===undefined){return j(new Error(`No module factory available for dependency type: ${ee.constructor.name}`))}E.buildQueue.increaseParallelism();E.handleModuleCreation({factory:te,dependencies:[ee],originModule:S._module,contextInfo:{issuerLayer:N.layer},context:S.context,connectOrigin:false},(w=>{E.buildQueue.decreaseParallelism();if(w){return j(w)}const q=k.getModule(ee);if(!q){return j(new Error("Cannot load the module"))}E.executeModule(q,{entryOptions:{publicPath:N.publicPath}},((E,k)=>{if(E)return j(E);for(const E of k.fileDependencies){S.addDependency(E)}for(const E of k.contextDependencies){S.addContextDependency(E)}for(const E of k.missingDependencies){S.addMissingDependency(E)}for(const E of k.buildDependencies){S.addBuildDependency(E)}if(k.cacheable===false)S.cacheable(false);for(const[E,{source:w,info:N}]of k.assets){const{buildInfo:k}=S._module;if(!k.assets){k.assets=Object.create(null);k.assetsInfo=new Map}k.assets[E]=w;k.assetsInfo.set(E,N)}j(null,k.exports)}))}))};S.importModule=(E,k,S)=>{if(!S){return new Promise(((S,w)=>{importModule(E,k||{},((E,k)=>{if(E)w(E);else S(k)}))}))}return importModule(E,k||{},S)}}}))}))}}E.exports=LoaderPlugin},77230:(E,k,S)=>{"use strict";const w=S(56202);class LocalModule{constructor(E,k){this.name=E;this.idx=k;this.used=false}flagUsed(){this.used=true}variableName(){return"__WEBPACK_LOCAL_MODULE_"+this.idx+"__"}serialize(E){const{write:k}=E;k(this.name);k(this.idx);k(this.used)}deserialize(E){const{read:k}=E;this.name=k();this.idx=k();this.used=k()}}w(LocalModule,"webpack/lib/dependencies/LocalModule");E.exports=LocalModule},14229:(E,k,S)=>{"use strict";const w=S(56202);const N=S(12197);class LocalModuleDependency extends N{constructor(E,k,S){super();this.localModule=E;this.range=k;this.callNew=S}serialize(E){const{write:k}=E;k(this.localModule);k(this.range);k(this.callNew);super.serialize(E)}deserialize(E){const{read:k}=E;this.localModule=k();this.range=k();this.callNew=k();super.deserialize(E)}}w(LocalModuleDependency,"webpack/lib/dependencies/LocalModuleDependency");LocalModuleDependency.Template=class LocalModuleDependencyTemplate extends N.Template{apply(E,k,S){const w=E;if(!w.range)return;const N=w.callNew?`new (function () { return ${w.localModule.variableName()}; })()`:w.localModule.variableName();k.replace(w.range[0],w.range[1]-1,N)}};E.exports=LocalModuleDependency},61701:(E,k,S)=>{"use strict";const w=S(77230);const lookup=(E,k)=>{if(k.charAt(0)!==".")return k;var S=E.split("/");var w=k.split("/");S.pop();for(let E=0;E{if(!E.localModules){E.localModules=[]}const S=new w(k,E.localModules.length);E.localModules.push(S);return S};k.getLocalModule=(E,k,S)=>{if(!E.localModules)return null;if(S){k=lookup(S,k)}for(let S=0;S{"use strict";const w=S(28706);const N=S(63272);const j=S(76150);const q=S(56202);const ee=S(12197);class ModuleDecoratorDependency extends ee{constructor(E,k){super();this.decorator=E;this.allowExportsAccess=k}get type(){return"module decorator"}get category(){return"self"}getResourceIdentifier(){return`self`}getReferencedExports(E,k){return this.allowExportsAccess?w.EXPORTS_OBJECT_REFERENCED:w.NO_EXPORTS_REFERENCED}updateHash(E,k){E.update(this.decorator);E.update(`${this.allowExportsAccess}`)}serialize(E){const{write:k}=E;k(this.decorator);k(this.allowExportsAccess);super.serialize(E)}deserialize(E){const{read:k}=E;this.decorator=k();this.allowExportsAccess=k();super.deserialize(E)}}q(ModuleDecoratorDependency,"webpack/lib/dependencies/ModuleDecoratorDependency");ModuleDecoratorDependency.Template=class ModuleDecoratorDependencyTemplate extends ee.Template{apply(E,k,{module:S,chunkGraph:w,initFragments:q,runtimeRequirements:ee}){const te=E;ee.add(j.moduleLoaded);ee.add(j.moduleId);ee.add(j.module);ee.add(te.decorator);q.push(new N(`/* module decorator */ ${S.moduleArgument} = ${te.decorator}(${S.moduleArgument});\n`,N.STAGE_PROVIDES,0,`module decorator ${w.getModuleId(S)}`))}};E.exports=ModuleDecoratorDependency},79983:(E,k,S)=>{"use strict";const w=S(28706);const N=S(84304);const j=S(91671);const q=j((()=>S(22804)));class ModuleDependency extends w{constructor(E){super();this.request=E;this.userRequest=E;this.range=undefined}getResourceIdentifier(){return`module${this.request}`}createIgnoredModule(E){const k=q();return new k("/* (ignored) */",`ignored|${E}|${this.request}`,`${this.request} (ignored)`)}serialize(E){const{write:k}=E;k(this.request);k(this.userRequest);k(this.range);super.serialize(E)}deserialize(E){const{read:k}=E;this.request=k();this.userRequest=k();this.range=k();super.deserialize(E)}}ModuleDependency.Template=N;E.exports=ModuleDependency},80791:(E,k,S)=>{"use strict";const w=S(79983);class ModuleDependencyTemplateAsId extends w.Template{apply(E,k,{runtimeTemplate:S,moduleGraph:w,chunkGraph:N}){const j=E;if(!j.range)return;const q=S.moduleId({module:w.getModule(j),chunkGraph:N,request:j.request,weak:j.weak});k.replace(j.range[0],j.range[1]-1,q)}}E.exports=ModuleDependencyTemplateAsId},87283:(E,k,S)=>{"use strict";const w=S(79983);class ModuleDependencyTemplateAsRequireId extends w.Template{apply(E,k,{runtimeTemplate:S,moduleGraph:w,chunkGraph:N,runtimeRequirements:j}){const q=E;if(!q.range)return;const ee=S.moduleExports({module:w.getModule(q),chunkGraph:N,request:q.request,weak:q.weak,runtimeRequirements:j});k.replace(q.range[0],q.range[1]-1,ee)}}E.exports=ModuleDependencyTemplateAsRequireId},21809:(E,k,S)=>{"use strict";const w=S(56202);const N=S(79983);const j=S(80791);class ModuleHotAcceptDependency extends N{constructor(E,k){super(E);this.range=k;this.weak=true}get type(){return"module.hot.accept"}get category(){return"commonjs"}}w(ModuleHotAcceptDependency,"webpack/lib/dependencies/ModuleHotAcceptDependency");ModuleHotAcceptDependency.Template=j;E.exports=ModuleHotAcceptDependency},73158:(E,k,S)=>{"use strict";const w=S(56202);const N=S(79983);const j=S(80791);class ModuleHotDeclineDependency extends N{constructor(E,k){super(E);this.range=k;this.weak=true}get type(){return"module.hot.decline"}get category(){return"commonjs"}}w(ModuleHotDeclineDependency,"webpack/lib/dependencies/ModuleHotDeclineDependency");ModuleHotDeclineDependency.Template=j;E.exports=ModuleHotDeclineDependency},12197:(E,k,S)=>{"use strict";const w=S(28706);const N=S(84304);class NullDependency extends w{get type(){return"null"}}NullDependency.Template=class NullDependencyTemplate extends N{apply(E,k,S){}};E.exports=NullDependency},88281:(E,k,S)=>{"use strict";const w=S(79983);class PrefetchDependency extends w{constructor(E){super(E)}get type(){return"prefetch"}get category(){return"esm"}}E.exports=PrefetchDependency},1335:(E,k,S)=>{"use strict";const w=S(63272);const N=S(56202);const j=S(79983);const pathToString=E=>E!==null&&E.length>0?E.map((E=>`[${JSON.stringify(E)}]`)).join(""):"";class ProvidedDependency extends j{constructor(E,k,S,w){super(E);this.identifier=k;this.path=S;this.range=w}get type(){return"provided"}get category(){return"esm"}updateHash(E,k){E.update(this.identifier);E.update(this.path?this.path.join(","):"null")}serialize(E){const{write:k}=E;k(this.identifier);k(this.path);super.serialize(E)}deserialize(E){const{read:k}=E;this.identifier=k();this.path=k();super.deserialize(E)}}N(ProvidedDependency,"webpack/lib/dependencies/ProvidedDependency");class ProvidedDependencyTemplate extends j.Template{apply(E,k,{runtimeTemplate:S,moduleGraph:N,chunkGraph:j,initFragments:q,runtimeRequirements:ee}){const te=E;q.push(new w(`/* provided dependency */ var ${te.identifier} = ${S.moduleExports({module:N.getModule(te),chunkGraph:j,request:te.request,runtimeRequirements:ee})}${pathToString(te.path)};\n`,w.STAGE_PROVIDES,1,`provided ${te.identifier}`));k.replace(te.range[0],te.range[1]-1,te.identifier)}}ProvidedDependency.Template=ProvidedDependencyTemplate;E.exports=ProvidedDependency},53567:(E,k,S)=>{"use strict";const{UsageState:w}=S(76632);const N=S(56202);const{filterRuntime:j}=S(37416);const q=S(12197);class PureExpressionDependency extends q{constructor(E){super();this.range=E;this.usedByExports=false}updateHash(E,k){E.update(this.range+"")}getModuleEvaluationSideEffectsState(E){return false}serialize(E){const{write:k}=E;k(this.range);k(this.usedByExports);super.serialize(E)}deserialize(E){const{read:k}=E;this.range=k();this.usedByExports=k();super.deserialize(E)}}N(PureExpressionDependency,"webpack/lib/dependencies/PureExpressionDependency");PureExpressionDependency.Template=class PureExpressionDependencyTemplate extends q.Template{apply(E,k,{chunkGraph:S,moduleGraph:N,runtime:q,runtimeTemplate:ee,runtimeRequirements:te}){const ne=E;const ae=ne.usedByExports;if(ae!==false){const E=N.getParentModule(ne);const _e=N.getExportsInfo(E);const ve=j(q,(E=>{for(const k of ae){if(_e.getUsed(k,E)!==w.Unused){return true}}return false}));if(ve===true)return;if(ve!==false){const E=ee.runtimeConditionExpression({chunkGraph:S,runtime:q,runtimeCondition:ve,runtimeRequirements:te});k.insert(ne.range[0],`(/* runtime-dependent pure expression or super */ ${E} ? (`);k.insert(ne.range[1],") : null)");return}}k.insert(ne.range[0],`(/* unused pure expression or super */ null && (`);k.insert(ne.range[1],"))")}};E.exports=PureExpressionDependency},19204:(E,k,S)=>{"use strict";const w=S(56202);const N=S(400);const j=S(87283);class RequireContextDependency extends N{constructor(E,k){super(E);this.range=k}get type(){return"require.context"}serialize(E){const{write:k}=E;k(this.range);super.serialize(E)}deserialize(E){const{read:k}=E;this.range=k();super.deserialize(E)}}w(RequireContextDependency,"webpack/lib/dependencies/RequireContextDependency");RequireContextDependency.Template=j;E.exports=RequireContextDependency},38947:(E,k,S)=>{"use strict";const w=S(19204);E.exports=class RequireContextDependencyParserPlugin{apply(E){E.hooks.call.for("require.context").tap("RequireContextDependencyParserPlugin",(k=>{let S=/^\.\/.*$/;let N=true;let j="sync";switch(k.arguments.length){case 4:{const S=E.evaluateExpression(k.arguments[3]);if(!S.isString())return;j=S.string}case 3:{const w=E.evaluateExpression(k.arguments[2]);if(!w.isRegExp())return;S=w.regExp}case 2:{const S=E.evaluateExpression(k.arguments[1]);if(!S.isBoolean())return;N=S.bool}case 1:{const q=E.evaluateExpression(k.arguments[0]);if(!q.isString())return;const ee=new w({request:q.string,recursive:N,regExp:S,mode:j,category:"commonjs"},k.range);ee.loc=k.loc;ee.optional=!!E.scope.inTry;E.state.current.addDependency(ee);return true}}}))}}},67634:(E,k,S)=>{"use strict";const{cachedSetProperty:w}=S(90149);const N=S(90872);const j=S(19204);const q=S(38947);const ee={};class RequireContextPlugin{apply(E){E.hooks.compilation.tap("RequireContextPlugin",((k,{contextModuleFactory:S,normalModuleFactory:te})=>{k.dependencyFactories.set(j,S);k.dependencyTemplates.set(j,new j.Template);k.dependencyFactories.set(N,te);const handler=(E,k)=>{if(k.requireContext!==undefined&&!k.requireContext)return;(new q).apply(E)};te.hooks.parser.for("javascript/auto").tap("RequireContextPlugin",handler);te.hooks.parser.for("javascript/dynamic").tap("RequireContextPlugin",handler);S.hooks.alternativeRequests.tap("RequireContextPlugin",((k,S)=>{if(k.length===0)return k;const N=E.resolverFactory.get("normal",w(S.resolveOptions||ee,"dependencyType",S.category)).options;let j;if(!N.fullySpecified){j=[];for(const E of k){const{request:k,context:S}=E;for(const E of N.extensions){if(k.endsWith(E)){j.push({context:S,request:k.slice(0,-E.length)})}}if(!N.enforceExtension){j.push(E)}}k=j;j=[];for(const E of k){const{request:k,context:S}=E;for(const E of N.mainFiles){if(k.endsWith(`/${E}`)){j.push({context:S,request:k.slice(0,-E.length)});j.push({context:S,request:k.slice(0,-E.length-1)})}}j.push(E)}k=j}j=[];for(const E of k){let k=false;for(const S of N.modules){if(Array.isArray(S)){for(const w of S){if(E.request.startsWith(`./${w}/`)){j.push({context:E.context,request:E.request.slice(w.length+3)});k=true}}}else{const k=S.replace(/\\/g,"/");const w=E.context.replace(/\\/g,"/")+E.request.slice(1);if(w.startsWith(k)){j.push({context:E.context,request:w.slice(k.length+1)})}}}if(!k){j.push(E)}}return j}))}))}}E.exports=RequireContextPlugin},15196:(E,k,S)=>{"use strict";const w=S(98221);const N=S(56202);class RequireEnsureDependenciesBlock extends w{constructor(E,k){super(E,k,null)}}N(RequireEnsureDependenciesBlock,"webpack/lib/dependencies/RequireEnsureDependenciesBlock");E.exports=RequireEnsureDependenciesBlock},90616:(E,k,S)=>{"use strict";const w=S(15196);const N=S(15427);const j=S(81058);const q=S(36134);E.exports=class RequireEnsureDependenciesBlockParserPlugin{apply(E){E.hooks.call.for("require.ensure").tap("RequireEnsureDependenciesBlockParserPlugin",(k=>{let S=null;let ee=null;let te=null;switch(k.arguments.length){case 4:{const w=E.evaluateExpression(k.arguments[3]);if(!w.isString())return;S=w.string}case 3:{ee=k.arguments[2];te=q(ee);if(!te&&!S){const w=E.evaluateExpression(k.arguments[2]);if(!w.isString())return;S=w.string}}case 2:{const ne=E.evaluateExpression(k.arguments[0]);const ae=ne.isArray()?ne.items:[ne];const _e=k.arguments[1];const ve=q(_e);if(ve){E.walkExpressions(ve.expressions)}if(te){E.walkExpressions(te.expressions)}const Ee=new w(S,k.loc);const we=k.arguments.length===4||!S&&k.arguments.length===3;const Ce=new N(k.range,k.arguments[1].range,we&&k.arguments[2].range);Ce.loc=k.loc;Ee.addDependency(Ce);const Me=E.state.current;E.state.current=Ee;try{let S=false;E.inScope([],(()=>{for(const E of ae){if(E.isString()){const S=new j(E.string);S.loc=E.loc||k.loc;Ee.addDependency(S)}else{S=true}}}));if(S){return}if(ve){if(ve.fn.body.type==="BlockStatement"){E.walkStatement(ve.fn.body)}else{E.walkExpression(ve.fn.body)}}Me.addBlock(Ee)}finally{E.state.current=Me}if(!ve){E.walkExpression(_e)}if(te){if(te.fn.body.type==="BlockStatement"){E.walkStatement(te.fn.body)}else{E.walkExpression(te.fn.body)}}else if(ee){E.walkExpression(ee)}return true}}}))}}},15427:(E,k,S)=>{"use strict";const w=S(76150);const N=S(56202);const j=S(12197);class RequireEnsureDependency extends j{constructor(E,k,S){super();this.range=E;this.contentRange=k;this.errorHandlerRange=S}get type(){return"require.ensure"}serialize(E){const{write:k}=E;k(this.range);k(this.contentRange);k(this.errorHandlerRange);super.serialize(E)}deserialize(E){const{read:k}=E;this.range=k();this.contentRange=k();this.errorHandlerRange=k();super.deserialize(E)}}N(RequireEnsureDependency,"webpack/lib/dependencies/RequireEnsureDependency");RequireEnsureDependency.Template=class RequireEnsureDependencyTemplate extends j.Template{apply(E,k,{runtimeTemplate:S,moduleGraph:N,chunkGraph:j,runtimeRequirements:q}){const ee=E;const te=N.getParentBlock(ee);const ne=S.blockPromise({chunkGraph:j,block:te,message:"require.ensure",runtimeRequirements:q});const ae=ee.range;const _e=ee.contentRange;const ve=ee.errorHandlerRange;k.replace(ae[0],_e[0]-1,`${ne}.then((`);if(ve){k.replace(_e[1],ve[0]-1,").bind(null, __webpack_require__)).catch(");k.replace(ve[1],ae[1]-1,")")}else{k.replace(_e[1],ae[1]-1,`).bind(null, __webpack_require__)).catch(${w.uncaughtErrorHandler})`)}}};E.exports=RequireEnsureDependency},81058:(E,k,S)=>{"use strict";const w=S(56202);const N=S(79983);const j=S(12197);class RequireEnsureItemDependency extends N{constructor(E){super(E)}get type(){return"require.ensure item"}get category(){return"commonjs"}}w(RequireEnsureItemDependency,"webpack/lib/dependencies/RequireEnsureItemDependency");RequireEnsureItemDependency.Template=j.Template;E.exports=RequireEnsureItemDependency},51727:(E,k,S)=>{"use strict";const w=S(15427);const N=S(81058);const j=S(90616);const{evaluateToString:q,toConstantDependency:ee}=S(48472);class RequireEnsurePlugin{apply(E){E.hooks.compilation.tap("RequireEnsurePlugin",((E,{normalModuleFactory:k})=>{E.dependencyFactories.set(N,k);E.dependencyTemplates.set(N,new N.Template);E.dependencyTemplates.set(w,new w.Template);const handler=(E,k)=>{if(k.requireEnsure!==undefined&&!k.requireEnsure)return;(new j).apply(E);E.hooks.evaluateTypeof.for("require.ensure").tap("RequireEnsurePlugin",q("function"));E.hooks.typeof.for("require.ensure").tap("RequireEnsurePlugin",ee(E,JSON.stringify("function")))};k.hooks.parser.for("javascript/auto").tap("RequireEnsurePlugin",handler);k.hooks.parser.for("javascript/dynamic").tap("RequireEnsurePlugin",handler)}))}}E.exports=RequireEnsurePlugin},70340:(E,k,S)=>{"use strict";const w=S(76150);const N=S(56202);const j=S(12197);class RequireHeaderDependency extends j{constructor(E){super();if(!Array.isArray(E))throw new Error("range must be valid");this.range=E}serialize(E){const{write:k}=E;k(this.range);super.serialize(E)}static deserialize(E){const k=new RequireHeaderDependency(E.read());k.deserialize(E);return k}}N(RequireHeaderDependency,"webpack/lib/dependencies/RequireHeaderDependency");RequireHeaderDependency.Template=class RequireHeaderDependencyTemplate extends j.Template{apply(E,k,{runtimeRequirements:S}){const N=E;S.add(w.require);k.replace(N.range[0],N.range[1]-1,"__webpack_require__")}};E.exports=RequireHeaderDependency},63556:(E,k,S)=>{"use strict";const w=S(28706);const N=S(58159);const j=S(56202);const q=S(79983);class RequireIncludeDependency extends q{constructor(E,k){super(E);this.range=k}getReferencedExports(E,k){return w.NO_EXPORTS_REFERENCED}get type(){return"require.include"}get category(){return"commonjs"}}j(RequireIncludeDependency,"webpack/lib/dependencies/RequireIncludeDependency");RequireIncludeDependency.Template=class RequireIncludeDependencyTemplate extends q.Template{apply(E,k,{runtimeTemplate:S}){const w=E;const j=S.outputOptions.pathinfo?N.toComment(`require.include ${S.requestShortener.shorten(w.request)}`):"";k.replace(w.range[0],w.range[1]-1,`undefined${j}`)}};E.exports=RequireIncludeDependency},1913:(E,k,S)=>{"use strict";const w=S(81627);const{evaluateToString:N,toConstantDependency:j}=S(48472);const q=S(56202);const ee=S(63556);E.exports=class RequireIncludeDependencyParserPlugin{constructor(E){this.warn=E}apply(E){const{warn:k}=this;E.hooks.call.for("require.include").tap("RequireIncludeDependencyParserPlugin",(S=>{if(S.arguments.length!==1)return;const w=E.evaluateExpression(S.arguments[0]);if(!w.isString())return;if(k){E.state.module.addWarning(new RequireIncludeDeprecationWarning(S.loc))}const N=new ee(w.string,S.range);N.loc=S.loc;E.state.current.addDependency(N);return true}));E.hooks.evaluateTypeof.for("require.include").tap("RequireIncludePlugin",(S=>{if(k){E.state.module.addWarning(new RequireIncludeDeprecationWarning(S.loc))}return N("function")(S)}));E.hooks.typeof.for("require.include").tap("RequireIncludePlugin",(S=>{if(k){E.state.module.addWarning(new RequireIncludeDeprecationWarning(S.loc))}return j(E,JSON.stringify("function"))(S)}))}};class RequireIncludeDeprecationWarning extends w{constructor(E){super("require.include() is deprecated and will be removed soon.");this.name="RequireIncludeDeprecationWarning";this.loc=E}}q(RequireIncludeDeprecationWarning,"webpack/lib/dependencies/RequireIncludeDependencyParserPlugin","RequireIncludeDeprecationWarning")},3085:(E,k,S)=>{"use strict";const w=S(63556);const N=S(1913);class RequireIncludePlugin{apply(E){E.hooks.compilation.tap("RequireIncludePlugin",((E,{normalModuleFactory:k})=>{E.dependencyFactories.set(w,k);E.dependencyTemplates.set(w,new w.Template);const handler=(E,k)=>{if(k.requireInclude===false)return;const S=k.requireInclude===undefined;new N(S).apply(E)};k.hooks.parser.for("javascript/auto").tap("RequireIncludePlugin",handler);k.hooks.parser.for("javascript/dynamic").tap("RequireIncludePlugin",handler)}))}}E.exports=RequireIncludePlugin},84817:(E,k,S)=>{"use strict";const w=S(56202);const N=S(400);const j=S(94148);class RequireResolveContextDependency extends N{constructor(E,k,S){super(E);this.range=k;this.valueRange=S}get type(){return"amd require context"}serialize(E){const{write:k}=E;k(this.range);k(this.valueRange);super.serialize(E)}deserialize(E){const{read:k}=E;this.range=k();this.valueRange=k();super.deserialize(E)}}w(RequireResolveContextDependency,"webpack/lib/dependencies/RequireResolveContextDependency");RequireResolveContextDependency.Template=j;E.exports=RequireResolveContextDependency},76913:(E,k,S)=>{"use strict";const w=S(28706);const N=S(56202);const j=S(79983);const q=S(80791);class RequireResolveDependency extends j{constructor(E,k){super(E);this.range=k}get type(){return"require.resolve"}get category(){return"commonjs"}getReferencedExports(E,k){return w.NO_EXPORTS_REFERENCED}}N(RequireResolveDependency,"webpack/lib/dependencies/RequireResolveDependency");RequireResolveDependency.Template=q;E.exports=RequireResolveDependency},23380:(E,k,S)=>{"use strict";const w=S(56202);const N=S(12197);class RequireResolveHeaderDependency extends N{constructor(E){super();if(!Array.isArray(E))throw new Error("range must be valid");this.range=E}serialize(E){const{write:k}=E;k(this.range);super.serialize(E)}static deserialize(E){const k=new RequireResolveHeaderDependency(E.read());k.deserialize(E);return k}}w(RequireResolveHeaderDependency,"webpack/lib/dependencies/RequireResolveHeaderDependency");RequireResolveHeaderDependency.Template=class RequireResolveHeaderDependencyTemplate extends N.Template{apply(E,k,S){const w=E;k.replace(w.range[0],w.range[1]-1,"/*require.resolve*/")}applyAsTemplateArgument(E,k,S){S.replace(k.range[0],k.range[1]-1,"/*require.resolve*/")}};E.exports=RequireResolveHeaderDependency},35424:(E,k,S)=>{"use strict";const w=S(56202);const N=S(12197);class RuntimeRequirementsDependency extends N{constructor(E){super();this.runtimeRequirements=new Set(E)}updateHash(E,k){E.update(Array.from(this.runtimeRequirements).join()+"")}serialize(E){const{write:k}=E;k(this.runtimeRequirements);super.serialize(E)}deserialize(E){const{read:k}=E;this.runtimeRequirements=k();super.deserialize(E)}}w(RuntimeRequirementsDependency,"webpack/lib/dependencies/RuntimeRequirementsDependency");RuntimeRequirementsDependency.Template=class RuntimeRequirementsDependencyTemplate extends N.Template{apply(E,k,{runtimeRequirements:S}){const w=E;for(const E of w.runtimeRequirements){S.add(E)}}};E.exports=RuntimeRequirementsDependency},96076:(E,k,S)=>{"use strict";const w=S(56202);const N=S(12197);class StaticExportsDependency extends N{constructor(E,k){super();this.exports=E;this.canMangle=k}get type(){return"static exports"}getExports(E){return{exports:this.exports,canMangle:this.canMangle,dependencies:undefined}}serialize(E){const{write:k}=E;k(this.exports);k(this.canMangle);super.serialize(E)}deserialize(E){const{read:k}=E;this.exports=k();this.canMangle=k();super.deserialize(E)}}w(StaticExportsDependency,"webpack/lib/dependencies/StaticExportsDependency");E.exports=StaticExportsDependency},62630:(E,k,S)=>{"use strict";const w=S(76150);const N=S(81627);const{evaluateToString:j,expressionIsUnsupported:q,toConstantDependency:ee}=S(48472);const te=S(56202);const ne=S(66298);const ae=S(60125);class SystemPlugin{apply(E){E.hooks.compilation.tap("SystemPlugin",((E,{normalModuleFactory:k})=>{E.hooks.runtimeRequirementInModule.for(w.system).tap("SystemPlugin",((E,k)=>{k.add(w.requireScope)}));E.hooks.runtimeRequirementInTree.for(w.system).tap("SystemPlugin",((k,S)=>{E.addRuntimeModule(k,new ae)}));const handler=(E,k)=>{if(k.system===undefined||!k.system){return}const setNotSupported=k=>{E.hooks.evaluateTypeof.for(k).tap("SystemPlugin",j("undefined"));E.hooks.expression.for(k).tap("SystemPlugin",q(E,k+" is not supported by webpack."))};E.hooks.typeof.for("System.import").tap("SystemPlugin",ee(E,JSON.stringify("function")));E.hooks.evaluateTypeof.for("System.import").tap("SystemPlugin",j("function"));E.hooks.typeof.for("System").tap("SystemPlugin",ee(E,JSON.stringify("object")));E.hooks.evaluateTypeof.for("System").tap("SystemPlugin",j("object"));setNotSupported("System.set");setNotSupported("System.get");setNotSupported("System.register");E.hooks.expression.for("System").tap("SystemPlugin",(k=>{const S=new ne(w.system,k.range,[w.system]);S.loc=k.loc;E.state.module.addPresentationalDependency(S);return true}));E.hooks.call.for("System.import").tap("SystemPlugin",(k=>{E.state.module.addWarning(new SystemImportDeprecationWarning(k.loc));return E.hooks.importCall.call({type:"ImportExpression",source:k.arguments[0],loc:k.loc,range:k.range})}))};k.hooks.parser.for("javascript/auto").tap("SystemPlugin",handler);k.hooks.parser.for("javascript/dynamic").tap("SystemPlugin",handler)}))}}class SystemImportDeprecationWarning extends N{constructor(E){super("System.import() is deprecated and will be removed soon. Use import() instead.\n"+"For more info visit https://webpack.js.org/guides/code-splitting/");this.name="SystemImportDeprecationWarning";this.loc=E}}te(SystemImportDeprecationWarning,"webpack/lib/dependencies/SystemPlugin","SystemImportDeprecationWarning");E.exports=SystemPlugin;E.exports.SystemImportDeprecationWarning=SystemImportDeprecationWarning},60125:(E,k,S)=>{"use strict";const w=S(76150);const N=S(66804);const j=S(58159);class SystemRuntimeModule extends N{constructor(){super("system")}generate(){return j.asString([`${w.system} = {`,j.indent(["import: function () {",j.indent("throw new Error('System.import cannot be used indirectly');"),"}"]),"};"])}}E.exports=SystemRuntimeModule},66444:(E,k,S)=>{"use strict";const w=S(76150);const{getDependencyUsedByExportsCondition:N}=S(58018);const j=S(56202);const q=S(91671);const ee=S(79983);const te=q((()=>S(22804)));class URLDependency extends ee{constructor(E,k,S,w){super(E);this.range=k;this.outerRange=S;this.relative=w||false;this.usedByExports=undefined}get type(){return"new URL()"}get category(){return"url"}getCondition(E){return N(this,this.usedByExports,E)}createIgnoredModule(E){const k=te();return new k('module.exports = "data:,";',`ignored-asset`,`(ignored asset)`,new Set([w.module]))}serialize(E){const{write:k}=E;k(this.outerRange);k(this.relative);k(this.usedByExports);super.serialize(E)}deserialize(E){const{read:k}=E;this.outerRange=k();this.relative=k();this.usedByExports=k();super.deserialize(E)}}URLDependency.Template=class URLDependencyTemplate extends ee.Template{apply(E,k,S){const{chunkGraph:N,moduleGraph:j,runtimeRequirements:q,runtimeTemplate:ee,runtime:te}=S;const ne=E;const ae=j.getConnection(ne);if(ae&&!ae.isTargetActive(te)){k.replace(ne.outerRange[0],ne.outerRange[1]-1,"/* unused asset import */ undefined");return}q.add(w.require);if(ne.relative){q.add(w.relativeUrl);k.replace(ne.outerRange[0],ne.outerRange[1]-1,`/* asset import */ new ${w.relativeUrl}(${ee.moduleRaw({chunkGraph:N,module:j.getModule(ne),request:ne.request,runtimeRequirements:q,weak:false})})`)}else{q.add(w.baseURI);k.replace(ne.range[0],ne.range[1]-1,`/* asset import */ ${ee.moduleRaw({chunkGraph:N,module:j.getModule(ne),request:ne.request,runtimeRequirements:q,weak:false})}, ${w.baseURI}`)}}};j(URLDependency,"webpack/lib/dependencies/URLDependency");E.exports=URLDependency},65577:(E,k,S)=>{"use strict";const{approve:w}=S(48472);const N=S(58018);const j=S(66444);class URLPlugin{apply(E){E.hooks.compilation.tap("URLPlugin",((E,{normalModuleFactory:k})=>{E.dependencyFactories.set(j,k);E.dependencyTemplates.set(j,new j.Template);const parserCallback=(E,k)=>{if(k.url===false)return;const S=k.url==="relative";const getUrlRequest=k=>{if(k.arguments.length!==2)return;const[S,w]=k.arguments;if(w.type!=="MemberExpression"||S.type==="SpreadElement")return;const N=E.extractMemberExpressionChain(w);if(N.members.length!==1||N.object.type!=="MetaProperty"||N.object.meta.name!=="import"||N.object.property.name!=="meta"||N.members[0]!=="url")return;const j=E.evaluateExpression(S).asString();return j};E.hooks.canRename.for("URL").tap("URLPlugin",w);E.hooks.new.for("URL").tap("URLPlugin",(k=>{const w=k;const q=getUrlRequest(w);if(!q)return;const[ee,te]=w.arguments;const ne=new j(q,[ee.range[0],te.range[1]],w.range,S);ne.loc=w.loc;E.state.module.addDependency(ne);N.onUsage(E.state,(E=>ne.usedByExports=E));return true}));E.hooks.isPure.for("NewExpression").tap("URLPlugin",(k=>{const S=k;const{callee:w}=S;if(w.type!=="Identifier")return;const N=E.getFreeInfoFromVariable(w.name);if(!N||N.name!=="URL")return;const j=getUrlRequest(S);if(j)return true}))};k.hooks.parser.for("javascript/auto").tap("URLPlugin",parserCallback);k.hooks.parser.for("javascript/esm").tap("URLPlugin",parserCallback)}))}}E.exports=URLPlugin},12584:(E,k,S)=>{"use strict";const w=S(56202);const N=S(12197);class UnsupportedDependency extends N{constructor(E,k){super();this.request=E;this.range=k}serialize(E){const{write:k}=E;k(this.request);k(this.range);super.serialize(E)}deserialize(E){const{read:k}=E;this.request=k();this.range=k();super.deserialize(E)}}w(UnsupportedDependency,"webpack/lib/dependencies/UnsupportedDependency");UnsupportedDependency.Template=class UnsupportedDependencyTemplate extends N.Template{apply(E,k,{runtimeTemplate:S}){const w=E;k.replace(w.range[0],w.range[1],S.missingModule({request:w.request}))}};E.exports=UnsupportedDependency},30697:(E,k,S)=>{"use strict";const w=S(56202);const N=S(79983);class WebAssemblyExportImportedDependency extends N{constructor(E,k,S,w){super(k);this.exportName=E;this.name=S;this.valueType=w}getReferencedExports(E,k){return[[this.name]]}get type(){return"wasm export import"}get category(){return"wasm"}serialize(E){const{write:k}=E;k(this.exportName);k(this.name);k(this.valueType);super.serialize(E)}deserialize(E){const{read:k}=E;this.exportName=k();this.name=k();this.valueType=k();super.deserialize(E)}}w(WebAssemblyExportImportedDependency,"webpack/lib/dependencies/WebAssemblyExportImportedDependency");E.exports=WebAssemblyExportImportedDependency},33081:(E,k,S)=>{"use strict";const w=S(56202);const N=S(59422);const j=S(79983);class WebAssemblyImportDependency extends j{constructor(E,k,S,w){super(E);this.name=k;this.description=S;this.onlyDirectImport=w}get type(){return"wasm import"}get category(){return"wasm"}getReferencedExports(E,k){return[[this.name]]}getErrors(E){const k=E.getModule(this);if(this.onlyDirectImport&&k&&!k.type.startsWith("webassembly")){return[new N(`Import "${this.name}" from "${this.request}" with ${this.onlyDirectImport} can only be used for direct wasm to wasm dependencies`)]}}serialize(E){const{write:k}=E;k(this.name);k(this.description);k(this.onlyDirectImport);super.serialize(E)}deserialize(E){const{read:k}=E;this.name=k();this.description=k();this.onlyDirectImport=k();super.deserialize(E)}}w(WebAssemblyImportDependency,"webpack/lib/dependencies/WebAssemblyImportDependency");E.exports=WebAssemblyImportDependency},46715:(E,k,S)=>{"use strict";const w=S(28706);const N=S(58159);const j=S(56202);const q=S(79983);class WebpackIsIncludedDependency extends q{constructor(E,k){super(E);this.weak=true;this.range=k}getReferencedExports(E,k){return w.NO_EXPORTS_REFERENCED}get type(){return"__webpack_is_included__"}}j(WebpackIsIncludedDependency,"webpack/lib/dependencies/WebpackIsIncludedDependency");WebpackIsIncludedDependency.Template=class WebpackIsIncludedDependencyTemplate extends q.Template{apply(E,k,{runtimeTemplate:S,chunkGraph:w,moduleGraph:j}){const q=E;const ee=j.getConnection(q);const te=ee?w.getNumberOfModuleChunks(ee.module)>0:false;const ne=S.outputOptions.pathinfo?N.toComment(`__webpack_is_included__ ${S.requestShortener.shorten(q.request)}`):"";k.replace(q.range[0],q.range[1]-1,`${ne}${JSON.stringify(te)}`)}};E.exports=WebpackIsIncludedDependency},89017:(E,k,S)=>{"use strict";const w=S(28706);const N=S(76150);const j=S(56202);const q=S(79983);class WorkerDependency extends q{constructor(E,k){super(E);this.range=k}getReferencedExports(E,k){return w.NO_EXPORTS_REFERENCED}get type(){return"new Worker()"}get category(){return"worker"}}WorkerDependency.Template=class WorkerDependencyTemplate extends q.Template{apply(E,k,S){const{chunkGraph:w,moduleGraph:j,runtimeRequirements:q}=S;const ee=E;const te=j.getParentBlock(E);const ne=w.getBlockChunkGroup(te);const ae=ne.getEntrypointChunk();q.add(N.publicPath);q.add(N.baseURI);q.add(N.getChunkScriptFilename);k.replace(ee.range[0],ee.range[1]-1,`/* worker import */ ${N.publicPath} + ${N.getChunkScriptFilename}(${JSON.stringify(ae.id)}), ${N.baseURI}`)}};j(WorkerDependency,"webpack/lib/dependencies/WorkerDependency");E.exports=WorkerDependency},76373:(E,k,S)=>{"use strict";const{pathToFileURL:w}=S(78835);const N=S(98221);const j=S(47207);const q=S(53558);const ee=S(50369);const{equals:te}=S(73910);const ne=S(35891);const{contextify:ae}=S(49197);const _e=S(69085);const ve=S(66298);const Ee=S(7257);const{harmonySpecifierTag:we}=S(29381);const Ce=S(89017);const getUrl=E=>w(E.resource).toString();const Me=["Worker","SharedWorker","navigator.serviceWorker.register()","Worker from worker_threads"];const Te=new WeakMap;class WorkerPlugin{constructor(E,k,S){this._chunkLoading=E;this._wasmLoading=k;this._module=S}apply(E){if(this._chunkLoading){new ee(this._chunkLoading).apply(E)}if(this._wasmLoading){new _e(this._wasmLoading).apply(E)}const k=ae.bindContextCache(E.context,E.root);E.hooks.thisCompilation.tap("WorkerPlugin",((E,{normalModuleFactory:S})=>{E.dependencyFactories.set(Ce,S);E.dependencyTemplates.set(Ce,new Ce.Template);E.dependencyTemplates.set(Ee,new Ee.Template);const parseModuleUrl=(E,k)=>{if(k.type!=="NewExpression"||k.callee.type==="Super"||k.arguments.length!==2)return;const[S,w]=k.arguments;if(S.type==="SpreadElement")return;if(w.type==="SpreadElement")return;const N=E.evaluateExpression(k.callee);if(!N.isIdentifier()||N.identifier!=="URL")return;const j=E.evaluateExpression(w);if(!j.isString()||!j.string.startsWith("file://")||j.string!==getUrl(E.state.module)){return}const q=E.evaluateExpression(S);return[q,[S.range[0],w.range[1]]]};const parseObjectExpression=(E,k)=>{const S={};const w={};const N=[];let j=false;for(const q of k.properties){if(q.type==="SpreadElement"){j=true}else if(q.type==="Property"&&!q.method&&!q.computed&&q.key.type==="Identifier"){w[q.key.name]=q.value;if(!q.shorthand&&!q.value.type.endsWith("Pattern")){const k=E.evaluateExpression(q.value);if(k.isCompileTimeValue())S[q.key.name]=k.asCompileTimeValue()}}else{N.push(q)}}const q=k.properties.length>0?"comma":"single";const ee=k.properties[k.properties.length-1].range[1];return{expressions:w,otherElements:N,values:S,spread:j,insertType:q,insertLocation:ee}};const parserPlugin=(S,w)=>{if(w.worker===false)return;const ee=!Array.isArray(w.worker)?["..."]:w.worker;const handleNewWorker=w=>{if(w.arguments.length===0||w.arguments.length>2)return;const[ee,te]=w.arguments;if(ee.type==="SpreadElement")return;if(te&&te.type==="SpreadElement")return;const ae=parseModuleUrl(S,ee);if(!ae)return;const[_e,we]=ae;if(!_e.isString())return;const{expressions:Me,otherElements:Ie,values:Oe,spread:Re,insertType:Fe,insertLocation:Ne}=te&&te.type==="ObjectExpression"?parseObjectExpression(S,te):{expressions:{},otherElements:[],values:{},spread:false,insertType:te?"spread":"argument",insertLocation:te?te.range:ee.range[1]};const{options:Be,errors:Le}=S.parseCommentOptions(w.range);if(Le){for(const E of Le){const{comment:k}=E;S.state.module.addWarning(new j(`Compilation error while processing magic comment(-s): /*${k.value}*/: ${E.message}`,k.loc))}}let je={};if(Be){if(Be.webpackIgnore!==undefined){if(typeof Be.webpackIgnore!=="boolean"){S.state.module.addWarning(new q(`\`webpackIgnore\` expected a boolean, but received: ${Be.webpackIgnore}.`,w.loc))}else{if(Be.webpackIgnore){return false}}}if(Be.webpackEntryOptions!==undefined){if(typeof Be.webpackEntryOptions!=="object"||Be.webpackEntryOptions===null){S.state.module.addWarning(new q(`\`webpackEntryOptions\` expected a object, but received: ${Be.webpackEntryOptions}.`,w.loc))}else{Object.assign(je,Be.webpackEntryOptions)}}if(Be.webpackChunkName!==undefined){if(typeof Be.webpackChunkName!=="string"){S.state.module.addWarning(new q(`\`webpackChunkName\` expected a string, but received: ${Be.webpackChunkName}.`,w.loc))}else{je.name=Be.webpackChunkName}}}if(!Object.prototype.hasOwnProperty.call(je,"name")&&Oe&&typeof Oe.name==="string"){je.name=Oe.name}if(je.runtime===undefined){let w=Te.get(S.state)||0;Te.set(S.state,w+1);let N=`${k(S.state.module.identifier())}|${w}`;const j=ne(E.outputOptions.hashFunction);j.update(N);const q=j.digest(E.outputOptions.hashDigest);je.runtime=q.slice(0,E.outputOptions.hashDigestLength)}const $e=new N({name:je.name,entryOptions:{chunkLoading:this._chunkLoading,wasmLoading:this._wasmLoading,...je}});$e.loc=w.loc;const ze=new Ce(_e.string,we);ze.loc=w.loc;$e.addDependency(ze);S.state.module.addBlock($e);if(E.outputOptions.trustedTypes){const E=new Ee(w.arguments[0].range);E.loc=w.loc;S.state.module.addDependency(E)}if(Me.type){const E=Me.type;if(Oe.type!==false){const k=new ve(this._module?'"module"':"undefined",E.range);k.loc=E.loc;S.state.module.addPresentationalDependency(k);Me.type=undefined}}else if(Fe==="comma"){if(this._module||Re){const E=new ve(`, type: ${this._module?'"module"':"undefined"}`,Ne);E.loc=w.loc;S.state.module.addPresentationalDependency(E)}}else if(Fe==="spread"){const E=new ve("Object.assign({}, ",Ne[0]);const k=new ve(`, { type: ${this._module?'"module"':"undefined"} })`,Ne[1]);E.loc=w.loc;k.loc=w.loc;S.state.module.addPresentationalDependency(E);S.state.module.addPresentationalDependency(k)}else if(Fe==="argument"){if(this._module){const E=new ve(', { type: "module" }',Ne);E.loc=w.loc;S.state.module.addPresentationalDependency(E)}}S.walkExpression(w.callee);for(const E of Object.keys(Me)){if(Me[E])S.walkExpression(Me[E])}for(const E of Ie){S.walkProperty(E)}if(Fe==="spread"){S.walkExpression(te)}return true};const processItem=E=>{if(E.endsWith("()")){S.hooks.call.for(E.slice(0,-2)).tap("WorkerPlugin",handleNewWorker)}else{const k=/^(.+?)(\(\))?\s+from\s+(.+)$/.exec(E);if(k){const E=k[1].split(".");const w=k[2];const N=k[3];(w?S.hooks.call:S.hooks.new).for(we).tap("WorkerPlugin",(k=>{const w=S.currentTagData;if(!w||w.source!==N||!te(w.ids,E)){return}return handleNewWorker(k)}))}else{S.hooks.new.for(E).tap("WorkerPlugin",handleNewWorker)}}};for(const E of ee){if(E==="..."){Me.forEach(processItem)}else processItem(E)}};S.hooks.parser.for("javascript/auto").tap("WorkerPlugin",parserPlugin);S.hooks.parser.for("javascript/esm").tap("WorkerPlugin",parserPlugin)}))}}E.exports=WorkerPlugin},36134:E=>{"use strict";E.exports=E=>{if(E.type==="FunctionExpression"||E.type==="ArrowFunctionExpression"){return{fn:E,expressions:[],needThis:false}}if(E.type==="CallExpression"&&E.callee.type==="MemberExpression"&&E.callee.object.type==="FunctionExpression"&&E.callee.property.type==="Identifier"&&E.callee.property.name==="bind"&&E.arguments.length===1){return{fn:E.callee.object,expressions:[E.arguments[0]],needThis:undefined}}if(E.type==="CallExpression"&&E.callee.type==="FunctionExpression"&&E.callee.body.type==="BlockStatement"&&E.arguments.length===1&&E.arguments[0].type==="ThisExpression"&&E.callee.body.body&&E.callee.body.body.length===1&&E.callee.body.body[0].type==="ReturnStatement"&&E.callee.body.body[0].argument&&E.callee.body.body[0].argument.type==="FunctionExpression"){return{fn:E.callee.body.body[0].argument,expressions:[],needThis:true}}}},18971:(E,k,S)=>{"use strict";const{UsageState:w}=S(76632);const processExportInfo=(E,k,S,N,j=false,q=new Set)=>{if(!N){k.push(S);return}const ee=N.getUsed(E);if(ee===w.Unused)return;if(q.has(N)){k.push(S);return}q.add(N);if(ee!==w.OnlyPropertiesUsed||!N.exportsInfo||N.exportsInfo.otherExportsInfo.getUsed(E)!==w.Unused){q.delete(N);k.push(S);return}const te=N.exportsInfo;for(const w of te.orderedExports){processExportInfo(E,k,j&&w.name==="default"?S:S.concat(w.name),w,false,q)}q.delete(N)};E.exports=processExportInfo},25726:(E,k,S)=>{"use strict";const w=S(61050);class ElectronTargetPlugin{constructor(E){this._context=E}apply(E){new w("node-commonjs",["clipboard","crash-reporter","electron","ipc","native-image","original-fs","screen","shell"]).apply(E);switch(this._context){case"main":new w("node-commonjs",["app","auto-updater","browser-window","content-tracing","dialog","global-shortcut","ipc-main","menu","menu-item","power-monitor","power-save-blocker","protocol","session","tray","web-contents"]).apply(E);break;case"preload":case"renderer":new w("node-commonjs",["desktop-capturer","ipc-renderer","remote","web-frame"]).apply(E);break}}}E.exports=ElectronTargetPlugin},44547:(E,k,S)=>{"use strict";const w=S(81627);class BuildCycleError extends w{constructor(E){super("There is a circular build dependency, which makes it impossible to create this module");this.name="BuildCycleError";this.module=E}}E.exports=BuildCycleError},33228:(E,k,S)=>{"use strict";const w=S(66804);class ExportWebpackRequireRuntimeModule extends w{constructor(){super("export webpack runtime",w.STAGE_ATTACH)}shouldIsolate(){return false}generate(){return"export default __webpack_require__;"}}E.exports=ExportWebpackRequireRuntimeModule},57378:(E,k,S)=>{"use strict";const{ConcatSource:w,RawSource:N}=S(48135);const{RuntimeGlobals:j}=S(86443);const q=S(22352);const ee=S(58159);const{getCompilationHooks:te,getChunkFilenameTemplate:ne}=S(18161);const{generateEntryStartup:ae,updateHashForEntryStartup:_e}=S(13085);class ModuleChunkFormatPlugin{apply(E){E.hooks.thisCompilation.tap("ModuleChunkFormatPlugin",(E=>{E.hooks.additionalChunkRuntimeRequirements.tap("ModuleChunkFormatPlugin",((k,S)=>{if(k.hasRuntime())return;if(E.chunkGraph.getNumberOfEntryModules(k)>0){S.add(j.require);S.add(j.startupEntrypoint);S.add(j.externalInstallChunk)}}));const k=te(E);k.renderChunk.tap("ModuleChunkFormatPlugin",((S,te)=>{const{chunk:_e,chunkGraph:ve,runtimeTemplate:Ee}=te;const we=_e instanceof q?_e:null;const Ce=new w;if(we){throw new Error("HMR is not implemented for module chunk format yet")}else{Ce.add(`export const id = ${JSON.stringify(_e.id)};\n`);Ce.add(`export const ids = ${JSON.stringify(_e.ids)};\n`);Ce.add(`export const modules = `);Ce.add(S);Ce.add(`;\n`);const q=ve.getChunkRuntimeModulesInOrder(_e);if(q.length>0){Ce.add("export const runtime =\n");Ce.add(ee.renderChunkRuntimeModules(q,te))}const we=Array.from(ve.getChunkEntryModulesWithChunkGroupIterable(_e));if(we.length>0){const S=we[0][1].getRuntimeChunk();const q=E.getPath(ne(_e,E.outputOptions),{chunk:_e,contentHashType:"javascript"}).split("/");const ee=E.getPath(ne(S,E.outputOptions),{chunk:S,contentHashType:"javascript"}).split("/");const Me=q.pop();while(q.length>0&&ee.length>0&&q[0]===ee[0]){q.shift();ee.shift()}const Te=(q.length>0?"../".repeat(q.length):"./")+ee.join("/");const Ie=new w;Ie.add(Ce);Ie.add(";\n\n// load runtime\n");Ie.add(`import __webpack_require__ from ${JSON.stringify(Te)};\n`);Ie.add(`import * as __webpack_self_exports__ from ${JSON.stringify("./"+Me)};\n`);Ie.add(`${j.externalInstallChunk}(__webpack_self_exports__);\n`);const Oe=new N(ae(ve,Ee,we,_e,false));Ie.add(k.renderStartup.call(Oe,we[we.length-1][0],{...te,inlined:false}));return Ie}}return Ce}));k.chunkHash.tap("ModuleChunkFormatPlugin",((E,k,{chunkGraph:S,runtimeTemplate:w})=>{if(E.hasRuntime())return;k.update("ModuleChunkFormatPlugin");k.update("1");const N=Array.from(S.getChunkEntryModulesWithChunkGroupIterable(E));_e(k,S,N,E)}))}))}}E.exports=ModuleChunkFormatPlugin},90662:(E,k,S)=>{"use strict";const w=S(76150);const N=S(33228);const j=S(61451);class ModuleChunkLoadingPlugin{apply(E){E.hooks.thisCompilation.tap("ModuleChunkLoadingPlugin",(E=>{const k=E.outputOptions.chunkLoading;const isEnabledForChunk=E=>{const S=E.getEntryOptions();const w=S&&S.chunkLoading||k;return w==="import"};const S=new WeakSet;const handler=(k,N)=>{if(S.has(k))return;S.add(k);if(!isEnabledForChunk(k))return;N.add(w.moduleFactoriesAddOnly);N.add(w.hasOwnProperty);E.addRuntimeModule(k,new j(N))};E.hooks.runtimeRequirementInTree.for(w.ensureChunkHandlers).tap("ModuleChunkLoadingPlugin",handler);E.hooks.runtimeRequirementInTree.for(w.baseURI).tap("ModuleChunkLoadingPlugin",handler);E.hooks.runtimeRequirementInTree.for(w.externalInstallChunk).tap("ModuleChunkLoadingPlugin",handler);E.hooks.runtimeRequirementInTree.for(w.onChunksLoaded).tap("ModuleChunkLoadingPlugin",handler);E.hooks.runtimeRequirementInTree.for(w.externalInstallChunk).tap("ModuleChunkLoadingPlugin",((k,S)=>{if(!isEnabledForChunk(k))return;E.addRuntimeModule(k,new N)}));E.hooks.runtimeRequirementInTree.for(w.ensureChunkHandlers).tap("ModuleChunkLoadingPlugin",((E,k)=>{if(!isEnabledForChunk(E))return;k.add(w.getChunkScriptFilename)}))}))}}E.exports=ModuleChunkLoadingPlugin},61451:(E,k,S)=>{"use strict";const{SyncWaterfallHook:w}=S(92960);const N=S(3080);const j=S(76150);const q=S(66804);const ee=S(58159);const{getChunkFilenameTemplate:te,chunkHasJs:ne}=S(18161);const{getInitialChunkIds:ae}=S(13085);const _e=S(87274);const{getUndoPath:ve}=S(49197);const Ee=new WeakMap;class ModuleChunkLoadingRuntimeModule extends q{static getCompilationHooks(E){if(!(E instanceof N)){throw new TypeError("The 'compilation' argument must be an instance of Compilation")}let k=Ee.get(E);if(k===undefined){k={linkPreload:new w(["source","chunk"]),linkPrefetch:new w(["source","chunk"])};Ee.set(E,k)}return k}constructor(E){super("import chunk loading",q.STAGE_ATTACH);this._runtimeRequirements=E}generate(){const{compilation:E,chunk:k}=this;const{runtimeTemplate:S,chunkGraph:w,outputOptions:{importFunctionName:N,importMetaName:q}}=E;const Ee=j.ensureChunkHandlers;const we=this._runtimeRequirements.has(j.baseURI);const Ce=this._runtimeRequirements.has(j.externalInstallChunk);const Me=this._runtimeRequirements.has(j.ensureChunkHandlers);const Te=this._runtimeRequirements.has(j.onChunksLoaded);const Ie=w.getChunkConditionMap(k,ne);const Oe=_e(Ie);const Re=ae(k,w);const Fe=this.compilation.getPath(te(k,this.compilation.outputOptions),{chunk:k,contentHashType:"javascript"});const Ne=ve(Fe,this.compilation.outputOptions.path,true);return ee.asString([we?ee.asString([`${j.baseURI} = new URL(${JSON.stringify(Ne)}, ${q}.url);`]):"// no baseURI","","// object to store loaded and loading chunks","// undefined = chunk not loaded, null = chunk preloaded/prefetched","// [resolve, reject, Promise] = chunk loading, 0 = chunk loaded","var installedChunks = {",ee.indent(Array.from(Re,(E=>`${JSON.stringify(E)}: 0`)).join(",\n")),"};","",Me||Ce?`var installChunk = ${S.basicFunction("data",[S.destructureObject(["ids","modules","runtime"],"data"),'// add "modules" to the modules object,','// then flag all "ids" as loaded and fire callback',"var moduleId, chunkId, i = 0;","for(moduleId in modules) {",ee.indent([`if(${j.hasOwnProperty}(modules, moduleId)) {`,ee.indent(`${j.moduleFactories}[moduleId] = modules[moduleId];`),"}"]),"}","if(runtime) runtime(__webpack_require__);","for(;i < ids.length; i++) {",ee.indent(["chunkId = ids[i];",`if(${j.hasOwnProperty}(installedChunks, chunkId) && installedChunks[chunkId]) {`,ee.indent("installedChunks[chunkId][0]();"),"}","installedChunks[ids[i]] = 0;"]),"}",Te?`${j.onChunksLoaded}();`:""])}`:"// no install chunk","",Me?ee.asString([`${Ee}.j = ${S.basicFunction("chunkId, promises",Oe!==false?ee.indent(["// import() chunk loading for javascript",`var installedChunkData = ${j.hasOwnProperty}(installedChunks, chunkId) ? installedChunks[chunkId] : undefined;`,'if(installedChunkData !== 0) { // 0 means "already installed".',ee.indent(["",'// a Promise means "currently loading".',"if(installedChunkData) {",ee.indent(["promises.push(installedChunkData[1]);"]),"} else {",ee.indent([Oe===true?"if(true) { // all chunks have JS":`if(${Oe("chunkId")}) {`,ee.indent(["// setup Promise in chunk cache",`var promise = ${N}(${JSON.stringify(Ne)} + ${j.getChunkScriptFilename}(chunkId)).then(installChunk, ${S.basicFunction("e",["if(installedChunks[chunkId] !== 0) installedChunks[chunkId] = undefined;","throw e;"])});`,`var promise = Promise.race([promise, new Promise(${S.expressionFunction(`installedChunkData = installedChunks[chunkId] = [resolve]`,"resolve")})])`,`promises.push(installedChunkData[1] = promise);`]),"} else installedChunks[chunkId] = 0;"]),"}"]),"}"]):ee.indent(["installedChunks[chunkId] = 0;"]))};`]):"// no chunk on demand loading","",Ce?ee.asString([`${j.externalInstallChunk} = installChunk;`]):"// no external install chunk","",Te?`${j.onChunksLoaded}.j = ${S.returningFunction("installedChunks[chunkId] === 0","chunkId")};`:"// no on chunks loaded"])}}E.exports=ModuleChunkLoadingRuntimeModule},72380:E=>{"use strict";const formatPosition=E=>{if(E&&typeof E==="object"){if("line"in E&&"column"in E){return`${E.line}:${E.column}`}else if("line"in E){return`${E.line}:?`}}return""};const formatLocation=E=>{if(E&&typeof E==="object"){if("start"in E&&E.start&&"end"in E&&E.end){if(typeof E.start==="object"&&typeof E.start.line==="number"&&typeof E.end==="object"&&typeof E.end.line==="number"&&typeof E.end.column==="number"&&E.start.line===E.end.line){return`${formatPosition(E.start)}-${E.end.column}`}else if(typeof E.start==="object"&&typeof E.start.line==="number"&&typeof E.start.column!=="number"&&typeof E.end==="object"&&typeof E.end.line==="number"&&typeof E.end.column!=="number"){return`${E.start.line}-${E.end.line}`}else{return`${formatPosition(E.start)}-${formatPosition(E.end)}`}}if("start"in E&&E.start){return formatPosition(E.start)}if("name"in E&&"index"in E){return`${E.name}[${E.index}]`}if("name"in E){return E.name}}return""};E.exports=formatLocation},49464:E=>{"use strict";var k=undefined;var S=undefined;var w=undefined;var N=undefined;var j=undefined;var q=undefined;var ee=undefined;E.exports=function(){var E={};var te=S;var ne;var ae=[];var _e=[];var ve="idle";var Ee;var we;var Ce;w=E;k.push((function(E){var k=E.module;var S=createRequire(E.require,E.id);k.hot=createModuleHotObject(E.id,k);k.parents=ae;k.children=[];ae=[];E.require=S}));j={};q={};function createRequire(E,k){var S=te[k];if(!S)return E;var fn=function(w){if(S.hot.active){if(te[w]){var N=te[w].parents;if(N.indexOf(k)===-1){N.push(k)}}else{ae=[k];ne=w}if(S.children.indexOf(w)===-1){S.children.push(w)}}else{console.warn("[HMR] unexpected require("+w+") from disposed module "+k);ae=[]}return E(w)};var createPropertyDescriptor=function(k){return{configurable:true,enumerable:true,get:function(){return E[k]},set:function(S){E[k]=S}}};for(var w in E){if(Object.prototype.hasOwnProperty.call(E,w)&&w!=="e"){Object.defineProperty(fn,w,createPropertyDescriptor(w))}}fn.e=function(k){return trackBlockingPromise(E.e(k))};return fn}function createModuleHotObject(k,S){var w=ne!==k;var N={_acceptedDependencies:{},_acceptedErrorHandlers:{},_declinedDependencies:{},_selfAccepted:false,_selfDeclined:false,_selfInvalidated:false,_disposeHandlers:[],_main:w,_requireSelf:function(){ae=S.parents.slice();ne=w?undefined:k;ee(k)},active:true,accept:function(E,k,S){if(E===undefined)N._selfAccepted=true;else if(typeof E==="function")N._selfAccepted=E;else if(typeof E==="object"&&E!==null){for(var w=0;w=0)N._disposeHandlers.splice(k,1)},invalidate:function(){this._selfInvalidated=true;switch(ve){case"idle":we=[];Object.keys(q).forEach((function(E){q[E](k,we)}));setStatus("ready");break;case"ready":Object.keys(q).forEach((function(E){q[E](k,we)}));break;case"prepare":case"check":case"dispose":case"apply":(Ce=Ce||[]).push(k);break;default:break}},check:hotCheck,apply:hotApply,status:function(E){if(!E)return ve;_e.push(E)},addStatusHandler:function(E){_e.push(E)},removeStatusHandler:function(E){var k=_e.indexOf(E);if(k>=0)_e.splice(k,1)},data:E[k]};ne=undefined;return N}function setStatus(E){ve=E;for(var k=0;k<_e.length;k++)_e[k].call(null,E)}function trackBlockingPromise(E){switch(ve){case"ready":setStatus("prepare");Ee.push(E);waitForBlockingPromises((function(){setStatus("ready")}));return E;case"prepare":Ee.push(E);return E;default:return E}}function waitForBlockingPromises(E){if(Ee.length===0)return E();var k=Ee;Ee=[];return Promise.all(k).then((function(){return waitForBlockingPromises(E)}))}function hotCheck(E){if(ve!=="idle"){throw new Error("check() is only allowed in idle status")}setStatus("check");return N().then((function(k){if(!k){setStatus(applyInvalidatedModules()?"ready":"idle");return null}setStatus("prepare");var S=[];Ee=[];we=[];return Promise.all(Object.keys(j).reduce((function(E,w){j[w](k.c,k.r,k.m,E,we,S);return E}),[])).then((function(){return waitForBlockingPromises((function(){if(E){return internalApply(E)}else{setStatus("ready");return S}}))}))}))}function hotApply(E){if(ve!=="ready"){return Promise.resolve().then((function(){throw new Error("apply() is only allowed in ready status")}))}return internalApply(E)}function internalApply(E){E=E||{};applyInvalidatedModules();var k=we.map((function(k){return k(E)}));we=undefined;var S=k.map((function(E){return E.error})).filter(Boolean);if(S.length>0){setStatus("abort");return Promise.resolve().then((function(){throw S[0]}))}setStatus("dispose");k.forEach((function(E){if(E.dispose)E.dispose()}));setStatus("apply");var w;var reportError=function(E){if(!w)w=E};var N=[];k.forEach((function(E){if(E.apply){var k=E.apply(reportError);if(k){for(var S=0;S{"use strict";const w=S(76150);const N=S(66804);const j=S(58159);class HotModuleReplacementRuntimeModule extends N{constructor(){super("hot module replacement",N.STAGE_BASIC)}generate(){return j.getFunctionContent(S(49464)).replace(/\$getFullHash\$/g,w.getFullHash).replace(/\$interceptModuleExecution\$/g,w.interceptModuleExecution).replace(/\$moduleCache\$/g,w.moduleCache).replace(/\$hmrModuleData\$/g,w.hmrModuleData).replace(/\$hmrDownloadManifest\$/g,w.hmrDownloadManifest).replace(/\$hmrInvalidateModuleHandlers\$/g,w.hmrInvalidateModuleHandlers).replace(/\$hmrDownloadUpdateHandlers\$/g,w.hmrDownloadUpdateHandlers)}}E.exports=HotModuleReplacementRuntimeModule},22215:E=>{"use strict";var k=undefined;var S=undefined;var w=undefined;var N=undefined;var j=undefined;var q=undefined;var ee=undefined;var te=undefined;var ne=undefined;var ae=undefined;E.exports=function(){var E;var _e;var ve;var Ee;function applyHandler(S){if(j)delete j.$key$Hmr;E=undefined;function getAffectedModuleEffects(E){var k=[E];var S={};var N=k.map((function(E){return{chain:[E],id:E}}));while(N.length>0){var j=N.pop();var q=j.id;var ee=j.chain;var te=w[q];if(!te||te.hot._selfAccepted&&!te.hot._selfInvalidated)continue;if(te.hot._selfDeclined){return{type:"self-declined",chain:ee,moduleId:q}}if(te.hot._main){return{type:"unaccepted",chain:ee,moduleId:q}}for(var ne=0;ne ")}switch(Ie.type){case"self-declined":if(S.onDeclined)S.onDeclined(Ie);if(!S.ignoreDeclined)Oe=new Error("Aborted because of self decline: "+Ie.moduleId+Ne);break;case"declined":if(S.onDeclined)S.onDeclined(Ie);if(!S.ignoreDeclined)Oe=new Error("Aborted because of declined dependency: "+Ie.moduleId+" in "+Ie.parentId+Ne);break;case"unaccepted":if(S.onUnaccepted)S.onUnaccepted(Ie);if(!S.ignoreUnaccepted)Oe=new Error("Aborted because "+Me+" is not accepted"+Ne);break;case"accepted":if(S.onAccepted)S.onAccepted(Ie);Re=true;break;case"disposed":if(S.onDisposed)S.onDisposed(Ie);Fe=true;break;default:throw new Error("Unexception type "+Ie.type)}if(Oe){return{error:Oe}}if(Re){we[Me]=Te;addAllToSet(ne,Ie.outdatedModules);for(Me in Ie.outdatedDependencies){if(q(Ie.outdatedDependencies,Me)){if(!te[Me])te[Me]=[];addAllToSet(te[Me],Ie.outdatedDependencies[Me])}}}if(Fe){addAllToSet(ne,[Ie.moduleId]);we[Me]=Ce}}}_e=undefined;var Be=[];for(var Le=0;Le0){var N=S.pop();var j=w[N];if(!j)continue;var ae={};var _e=j.hot._disposeHandlers;for(Le=0;Le<_e.length;Le++){_e[Le].call(null,ae)}ee[N]=ae;j.hot.active=false;delete w[N];delete te[N];for(Le=0;Le=0){Ee.parents.splice(E,1)}}}var we;for(var Ce in te){if(q(te,Ce)){j=w[Ce];if(j){ze=te[Ce];for(Le=0;Le=0)j.children.splice(E,1)}}}}},apply:function(E){for(var k in we){if(q(we,k)){N[k]=we[k]}}for(var j=0;j{"use strict";const{RawSource:w}=S(48135);const N=S(98221);const j=S(28706);const q=S(53453);const ee=S(40674);const te=S(76150);const ne=S(58159);const ae=S(37313);const{registerNotSerializable:_e}=S(24568);const ve=new Set(["import.meta.webpackHot.accept","import.meta.webpackHot.decline","module.hot.accept","module.hot.decline"]);const checkTest=(E,k)=>{if(E===undefined)return true;if(typeof E==="function"){return E(k)}if(typeof E==="string"){const S=k.nameForCondition();return S&&S.startsWith(E)}if(E instanceof RegExp){const S=k.nameForCondition();return S&&E.test(S)}return false};const Ee=new Set(["javascript"]);class LazyCompilationDependency extends j{constructor(E){super();this.proxyModule=E}get category(){return"esm"}get type(){return"lazy import()"}getResourceIdentifier(){return this.proxyModule.originalModule.identifier()}}_e(LazyCompilationDependency);class LazyCompilationProxyModule extends q{constructor(E,k,S,w,N,j){super("lazy-compilation-proxy",E,k.layer);this.originalModule=k;this.request=S;this.client=w;this.data=N;this.active=j}identifier(){return`lazy-compilation-proxy|${this.originalModule.identifier()}`}readableIdentifier(E){return`lazy-compilation-proxy ${this.originalModule.readableIdentifier(E)}`}updateCacheModule(E){super.updateCacheModule(E);const k=E;this.originalModule=k.originalModule;this.request=k.request;this.client=k.client;this.data=k.data;this.active=k.active}libIdent(E){return`${this.originalModule.libIdent(E)}!lazy-compilation-proxy`}needBuild(E,k){k(null,!this.buildInfo||this.buildInfo.active!==this.active)}build(E,k,S,w,j){this.buildInfo={active:this.active};this.buildMeta={};this.clearDependenciesAndBlocks();const q=new ae(this.client);this.addDependency(q);if(this.active){const E=new LazyCompilationDependency(this);const k=new N({});k.addDependency(E);this.addBlock(k)}j()}getSourceTypes(){return Ee}size(E){return 200}codeGeneration({runtimeTemplate:E,chunkGraph:k,moduleGraph:S}){const N=new Map;const j=new Set;j.add(te.module);const q=this.dependencies[0];const ee=S.getModule(q);const ae=this.blocks[0];const _e=ne.asString([`var client = ${E.moduleExports({module:ee,chunkGraph:k,request:q.userRequest,runtimeRequirements:j})}`,`var data = ${JSON.stringify(this.data)};`]);const ve=ne.asString([`var dispose = client.keepAlive({ data: data, active: ${JSON.stringify(!!ae)}, module: module, onError: onError });`]);let Ee;if(ae){const w=ae.dependencies[0];const N=S.getModule(w);Ee=ne.asString([_e,`module.exports = ${E.moduleNamespacePromise({chunkGraph:k,block:ae,module:N,request:this.request,strict:false,message:"import()",runtimeRequirements:j})};`,"if (module.hot) {",ne.indent(["module.hot.accept();",`module.hot.accept(${JSON.stringify(k.getModuleId(N))}, function() { module.hot.invalidate(); });`,"module.hot.dispose(function(data) { delete data.resolveSelf; dispose(data); });","if (module.hot.data && module.hot.data.resolveSelf) module.hot.data.resolveSelf(module.exports);"]),"}","function onError() { /* ignore */ }",ve])}else{Ee=ne.asString([_e,"var resolveSelf, onError;",`module.exports = new Promise(function(resolve, reject) { resolveSelf = resolve; onError = reject; });`,"if (module.hot) {",ne.indent(["module.hot.accept();","if (module.hot.data && module.hot.data.resolveSelf) module.hot.data.resolveSelf(module.exports);","module.hot.dispose(function(data) { data.resolveSelf = resolveSelf; dispose(data); });"]),"}",ve])}N.set("javascript",new w(Ee));return{sources:N,runtimeRequirements:j}}updateHash(E,k){super.updateHash(E,k);E.update(this.active?"active":"");E.update(JSON.stringify(this.data))}}_e(LazyCompilationProxyModule);class LazyCompilationDependencyFactory extends ee{constructor(E){super();this._factory=E}create(E,k){const S=E.dependencies[0];k(null,{module:S.proxyModule.originalModule})}}class LazyCompilationPlugin{constructor({backend:E,client:k,entries:S,imports:w,test:N}){this.backend=E;this.client=k;this.entries=S;this.imports=w;this.test=N}apply(E){let k;E.hooks.beforeCompile.tapAsync("LazyCompilationPlugin",((S,w)=>{if(k!==undefined)return w();const N=this.backend(E,this.client,((E,S)=>{if(E)return w(E);k=S;w()}));if(N&&N.then){N.then((E=>{k=E;w()}),w)}}));E.hooks.thisCompilation.tap("LazyCompilationPlugin",((S,{normalModuleFactory:w})=>{w.hooks.module.tap("LazyCompilationPlugin",((S,w,N)=>{if(N.dependencies.every((E=>ve.has(E.type)||this.imports&&(E.type==="import()"||E.type==="import() context element")||this.entries&&E.type==="entry"))&&!/webpack[/\\]hot[/\\]|webpack-dev-server[/\\]client/.test(N.request)&&checkTest(this.test,S)){const w=k.module(S);if(!w)return;const{client:j,data:q,active:ee}=w;return new LazyCompilationProxyModule(E.context,S,N.request,j,q,ee)}}));S.dependencyFactories.set(LazyCompilationDependency,new LazyCompilationDependencyFactory)}));E.hooks.shutdown.tapAsync("LazyCompilationPlugin",(E=>{k.dispose(E)}))}}E.exports=LazyCompilationPlugin},64244:(E,k,S)=>{"use strict";const w=S(98605);E.exports=(E,k,S)=>{const N=E.getInfrastructureLogger("LazyCompilationBackend");const j=new Map;const q="/lazy-compilation-using-";const requestListener=(k,S)=>{const w=k.url.slice(q.length).split("@");k.socket.on("close",(()=>{setTimeout((()=>{for(const E of w){const k=j.get(E)||0;j.set(E,k-1);if(k===1){N.log(`${E} is no longer in use. Next compilation will skip this module.`)}}}),12e4)}));k.socket.setNoDelay(true);S.writeHead(200,{"content-type":"text/event-stream","Access-Control-Allow-Origin":"*"});S.write("\n");let ee=false;for(const E of w){const k=j.get(E)||0;j.set(E,k+1);if(k===0){N.log(`${E} is now in use and will be compiled.`);ee=true}}if(ee&&E.watching)E.watching.invalidate()};const ee=w.createServer(requestListener);let te=false;const ne=new Set;ee.on("connection",(E=>{ne.add(E);E.on("close",(()=>{ne.delete(E)}));if(te)E.destroy()}));ee.listen((E=>{if(E)return S(E);const w=ee.address();if(typeof w==="string")throw new Error("addr must not be a string");const ae=w.address==="::"||w.address==="0.0.0.0"?`http://localhost:${w.port}`:w.family==="IPv6"?`http://[${w.address}]:${w.port}`:`http://${w.address}:${w.port}`;N.log(`Server-Sent-Events server for lazy compilation open at ${ae}.`);S(null,{dispose(E){te=true;ee.off("request",requestListener);ee.close((k=>{E(k)}));for(const E of ne){E.destroy(new Error("Server is disposing"))}},module(E){const S=`${encodeURIComponent(E.identifier().replace(/\\/g,"/").replace(/@/g,"_")).replace(/%(2F|3A|24|26|2B|2C|3B|3D|3A)/g,decodeURIComponent)}`;const w=j.get(S)>0;return{client:`${k}?${encodeURIComponent(ae+q)}`,data:S,active:w}}})}))}},30484:(E,k,S)=>{"use strict";const{find:w}=S(26221);const{compareModulesByPreOrderIndexOrIdentifier:N,compareModulesByPostOrderIndexOrIdentifier:j}=S(68673);class ChunkModuleIdRangePlugin{constructor(E){this.options=E}apply(E){const k=this.options;E.hooks.compilation.tap("ChunkModuleIdRangePlugin",(E=>{const S=E.moduleGraph;E.hooks.moduleIds.tap("ChunkModuleIdRangePlugin",(q=>{const ee=E.chunkGraph;const te=w(E.chunks,(E=>E.name===k.name));if(!te){throw new Error(`ChunkModuleIdRangePlugin: Chunk with name '${k.name}"' was not found`)}let ne;if(k.order){let E;switch(k.order){case"index":case"preOrderIndex":E=N(S);break;case"index2":case"postOrderIndex":E=j(S);break;default:throw new Error("ChunkModuleIdRangePlugin: unexpected value of order")}ne=ee.getOrderedChunkModules(te,E)}else{ne=Array.from(q).filter((E=>ee.isModuleInChunk(E,te))).sort(N(S))}let ae=k.start||0;for(let E=0;Ek.end)break}}))}))}}E.exports=ChunkModuleIdRangePlugin},90444:(E,k,S)=>{"use strict";const{compareChunksNatural:w}=S(68673);const{getFullChunkName:N,getUsedChunkIds:j,assignDeterministicIds:q}=S(30328);class DeterministicChunkIdsPlugin{constructor(E){this.options=E||{}}apply(E){E.hooks.compilation.tap("DeterministicChunkIdsPlugin",(k=>{k.hooks.chunkIds.tap("DeterministicChunkIdsPlugin",(S=>{const ee=k.chunkGraph;const te=this.options.context?this.options.context:E.context;const ne=this.options.maxLength||3;const ae=w(ee);const _e=j(k);q(Array.from(S).filter((E=>E.id===null)),(k=>N(k,ee,te,E.root)),ae,((E,k)=>{const S=_e.size;_e.add(`${k}`);if(S===_e.size)return false;E.id=k;E.ids=[k];return true}),[Math.pow(10,ne)],10,_e.size)}))}))}}E.exports=DeterministicChunkIdsPlugin},35579:(E,k,S)=>{"use strict";const{compareModulesByPreOrderIndexOrIdentifier:w}=S(68673);const{getUsedModuleIds:N,getFullModuleName:j,assignDeterministicIds:q}=S(30328);class DeterministicModuleIdsPlugin{constructor(E){this.options=E||{}}apply(E){E.hooks.compilation.tap("DeterministicModuleIdsPlugin",(k=>{k.hooks.moduleIds.tap("DeterministicModuleIdsPlugin",(S=>{const ee=k.chunkGraph;const te=this.options.context?this.options.context:E.context;const ne=this.options.maxLength||3;const ae=N(k);q(Array.from(S).filter((E=>{if(!E.needId)return false;if(ee.getNumberOfModuleChunks(E)===0)return false;return ee.getModuleId(E)===null})),(k=>j(k,te,E.root)),w(k.moduleGraph),((E,k)=>{const S=ae.size;ae.add(`${k}`);if(S===ae.size)return false;ee.setModuleId(E,k);return true}),[Math.pow(10,ne)],10,ae.size)}))}))}}E.exports=DeterministicModuleIdsPlugin},35853:(E,k,S)=>{"use strict";E=S.nmd(E);const{compareModulesByPreOrderIndexOrIdentifier:w}=S(68673);const N=S(35817);const j=S(35891);const{getUsedModuleIds:q,getFullModuleName:ee}=S(30328);const te=N(S(42959),(()=>S(1842)),{name:"Hashed Module Ids Plugin",baseDataPath:"options"});class HashedModuleIdsPlugin{constructor(E={}){te(E);this.options={context:null,hashFunction:"md4",hashDigest:"base64",hashDigestLength:4,...E}}apply(k){const S=this.options;k.hooks.compilation.tap("HashedModuleIdsPlugin",(N=>{N.hooks.moduleIds.tap("HashedModuleIdsPlugin",(te=>{const ne=N.chunkGraph;const ae=this.options.context?this.options.context:k.context;const _e=q(N);const ve=Array.from(te).filter((k=>{if(!k.needId)return false;if(ne.getNumberOfModuleChunks(k)===0)return false;return ne.getModuleId(E)===null})).sort(w(N.moduleGraph));for(const E of ve){const w=ee(E,ae,k.root);const N=j(S.hashFunction);N.update(w||"");const q=N.digest(S.hashDigest);let te=S.hashDigestLength;while(_e.has(q.substr(0,te)))te++;const ve=q.substr(0,te);ne.setModuleId(E,ve);_e.add(ve)}}))}))}}E.exports=HashedModuleIdsPlugin},30328:(E,k,S)=>{"use strict";const w=S(35891);const{makePathsRelative:N}=S(49197);const j=S(12631);const getHash=(E,k)=>{const S=w("md4");S.update(E);const N=S.digest("hex");return N.substr(0,k)};const avoidNumber=E=>{if(E.length>21)return E;const k=E.charCodeAt(0);if(k<49){if(k!==45)return E}else if(k>57){return E}if(E===+E+""){return`_${E}`}return E};const requestToId=E=>E.replace(/^(\.\.?\/)+/,"").replace(/(^[.-]|[^a-zA-Z0-9_-])+/g,"_");k.requestToId=requestToId;const shortenLongString=(E,k)=>{if(E.length<100)return E;return E.slice(0,100-6-k.length)+k+getHash(E,6)};const getShortModuleName=(E,k,S)=>{const w=E.libIdent({context:k,associatedObjectForCache:S});if(w)return avoidNumber(w);const j=E.nameForCondition();if(j)return avoidNumber(N(k,j,S));return""};k.getShortModuleName=getShortModuleName;const getLongModuleName=(E,k,S,w)=>{const N=getFullModuleName(k,S,w);return`${E}?${getHash(N,4)}`};k.getLongModuleName=getLongModuleName;const getFullModuleName=(E,k,S)=>N(k,E.identifier(),S);k.getFullModuleName=getFullModuleName;const getShortChunkName=(E,k,S,w,N)=>{const j=k.getChunkRootModules(E);const q=j.map((E=>requestToId(getShortModuleName(E,S,N))));E.idNameHints.sort();const ee=Array.from(E.idNameHints).concat(q).filter(Boolean).join(w);return shortenLongString(ee,w)};k.getShortChunkName=getShortChunkName;const getLongChunkName=(E,k,S,w,N)=>{const j=k.getChunkRootModules(E);const q=j.map((E=>requestToId(getShortModuleName(E,S,N))));const ee=j.map((E=>requestToId(getLongModuleName("",E,S,N))));E.idNameHints.sort();const te=Array.from(E.idNameHints).concat(q,ee).filter(Boolean).join(w);return shortenLongString(te,w)};k.getLongChunkName=getLongChunkName;const getFullChunkName=(E,k,S,w)=>{if(E.name)return E.name;const j=k.getChunkRootModules(E);const q=j.map((E=>N(S,E.identifier(),w)));return q.join()};k.getFullChunkName=getFullChunkName;const addToMapOfItems=(E,k,S)=>{let w=E.get(k);if(w===undefined){w=[];E.set(k,w)}w.push(S)};const getUsedModuleIds=E=>{const k=E.chunkGraph;const S=new Set;if(E.usedModuleIds){for(const k of E.usedModuleIds){S.add(k+"")}}for(const w of E.modules){const E=k.getModuleId(w);if(E!==null){S.add(E+"")}}return S};k.getUsedModuleIds=getUsedModuleIds;const getUsedChunkIds=E=>{const k=new Set;if(E.usedChunkIds){for(const S of E.usedChunkIds){k.add(S+"")}}for(const S of E.chunks){const E=S.id;if(E!==null){k.add(E+"")}}return k};k.getUsedChunkIds=getUsedChunkIds;const assignNames=(E,k,S,w,N,j)=>{const q=new Map;for(const S of E){const E=k(S);addToMapOfItems(q,E,S)}const ee=new Map;for(const[E,k]of q){if(k.length>1||!E){for(const w of k){const k=S(w,E);addToMapOfItems(ee,k,w)}}else{addToMapOfItems(ee,E,k[0])}}const te=[];for(const[E,k]of ee){if(!E){for(const E of k){te.push(E)}}else if(k.length===1&&!N.has(E)){j(k[0],E);N.add(E)}else{k.sort(w);let S=0;for(const w of k){while(ee.has(E+S)&&N.has(E+S))S++;j(w,E+S);N.add(E+S);S++}}}te.sort(w);return te};k.assignNames=assignNames;const assignDeterministicIds=(E,k,S,w,N=[10],q=10,ee=0)=>{E.sort(S);const te=Math.min(Math.ceil(E.length*20)+ee,Number.MAX_SAFE_INTEGER);let ne=0;let ae=N[ne];while(ae{const S=k.chunkGraph;const w=getUsedModuleIds(k);let N=0;let j;if(w.size>0){j=E=>{if(S.getModuleId(E)===null){while(w.has(N+""))N++;S.setModuleId(E,N++)}}}else{j=E=>{if(S.getModuleId(E)===null){S.setModuleId(E,N++)}}}for(const k of E){j(k)}};k.assignAscendingModuleIds=assignAscendingModuleIds;const assignAscendingChunkIds=(E,k)=>{const S=getUsedChunkIds(k);let w=0;if(S.size>0){for(const k of E){if(k.id===null){while(S.has(w+""))w++;k.id=w;k.ids=[w];w++}}}else{for(const k of E){if(k.id===null){k.id=w;k.ids=[w];w++}}}};k.assignAscendingChunkIds=assignAscendingChunkIds},64779:(E,k,S)=>{"use strict";const{compareChunksNatural:w}=S(68673);const{getShortChunkName:N,getLongChunkName:j,assignNames:q,getUsedChunkIds:ee,assignAscendingChunkIds:te}=S(30328);class NamedChunkIdsPlugin{constructor(E){this.delimiter=E&&E.delimiter||"-";this.context=E&&E.context}apply(E){E.hooks.compilation.tap("NamedChunkIdsPlugin",(k=>{k.hooks.chunkIds.tap("NamedChunkIdsPlugin",(S=>{const ne=k.chunkGraph;const ae=this.context?this.context:E.context;const _e=this.delimiter;const ve=q(Array.from(S).filter((E=>{if(E.name){E.id=E.name;E.ids=[E.name]}return E.id===null})),(k=>N(k,ne,ae,_e,E.root)),(k=>j(k,ne,ae,_e,E.root)),w(ne),ee(k),((E,k)=>{E.id=k;E.ids=[k]}));if(ve.length>0){te(ve,k)}}))}))}}E.exports=NamedChunkIdsPlugin},9297:(E,k,S)=>{"use strict";const{compareModulesByIdentifier:w}=S(68673);const{getShortModuleName:N,getLongModuleName:j,assignNames:q,getUsedModuleIds:ee,assignAscendingModuleIds:te}=S(30328);class NamedModuleIdsPlugin{constructor(E){this.options=E||{}}apply(E){const{root:k}=E;E.hooks.compilation.tap("NamedModuleIdsPlugin",(S=>{S.hooks.moduleIds.tap("NamedModuleIdsPlugin",(ne=>{const ae=S.chunkGraph;const _e=this.options.context?this.options.context:E.context;const ve=q(Array.from(ne).filter((E=>{if(!E.needId)return false;if(ae.getNumberOfModuleChunks(E)===0)return false;return ae.getModuleId(E)===null})),(E=>N(E,_e,k)),((E,S)=>j(S,E,_e,k)),w,ee(S),((E,k)=>ae.setModuleId(E,k)));if(ve.length>0){te(ve,S)}}))}))}}E.exports=NamedModuleIdsPlugin},18298:(E,k,S)=>{"use strict";const{compareChunksNatural:w}=S(68673);const{assignAscendingChunkIds:N}=S(30328);class NaturalChunkIdsPlugin{apply(E){E.hooks.compilation.tap("NaturalChunkIdsPlugin",(E=>{E.hooks.chunkIds.tap("NaturalChunkIdsPlugin",(k=>{const S=E.chunkGraph;const j=w(S);const q=Array.from(k).sort(j);N(q,E)}))}))}}E.exports=NaturalChunkIdsPlugin},97781:(E,k,S)=>{"use strict";const{compareModulesByPreOrderIndexOrIdentifier:w}=S(68673);const{assignAscendingModuleIds:N}=S(30328);class NaturalModuleIdsPlugin{apply(E){E.hooks.compilation.tap("NaturalModuleIdsPlugin",(E=>{E.hooks.moduleIds.tap("NaturalModuleIdsPlugin",(k=>{const S=E.chunkGraph;const j=Array.from(k).filter((E=>E.needId&&S.getNumberOfModuleChunks(E)>0&&S.getModuleId(E)===null)).sort(w(E.moduleGraph));N(j,E)}))}))}}E.exports=NaturalModuleIdsPlugin},86169:(E,k,S)=>{"use strict";const{compareChunksNatural:w}=S(68673);const N=S(35817);const{assignAscendingChunkIds:j}=S(30328);const q=N(S(18511),(()=>S(66451)),{name:"Occurrence Order Chunk Ids Plugin",baseDataPath:"options"});class OccurrenceChunkIdsPlugin{constructor(E={}){q(E);this.options=E}apply(E){const k=this.options.prioritiseInitial;E.hooks.compilation.tap("OccurrenceChunkIdsPlugin",(E=>{E.hooks.chunkIds.tap("OccurrenceChunkIdsPlugin",(S=>{const N=E.chunkGraph;const q=new Map;const ee=w(N);for(const E of S){let k=0;for(const S of E.groupsIterable){for(const E of S.parentsIterable){if(E.isInitial())k++}}q.set(E,k)}const te=Array.from(S).sort(((E,S)=>{if(k){const k=q.get(E);const w=q.get(S);if(k>w)return-1;if(kN)return-1;if(w{"use strict";const{compareModulesByPreOrderIndexOrIdentifier:w}=S(68673);const N=S(35817);const{assignAscendingModuleIds:j}=S(30328);const q=N(S(52042),(()=>S(25049)),{name:"Occurrence Order Module Ids Plugin",baseDataPath:"options"});class OccurrenceModuleIdsPlugin{constructor(E={}){q(E);this.options=E}apply(E){const k=this.options.prioritiseInitial;E.hooks.compilation.tap("OccurrenceModuleIdsPlugin",(E=>{const S=E.moduleGraph;E.hooks.moduleIds.tap("OccurrenceModuleIdsPlugin",(N=>{const q=E.chunkGraph;const ee=Array.from(N).filter((E=>E.needId&&q.getNumberOfModuleChunks(E)>0&&q.getModuleId(E)===null));const te=new Map;const ne=new Map;const ae=new Map;const _e=new Map;for(const E of ee){let k=0;let S=0;for(const w of q.getModuleChunksIterable(E)){if(w.canBeInitial())k++;if(q.isEntryModuleInChunk(E,w))S++}ae.set(E,k);_e.set(E,S)}const countOccursInEntry=E=>{let k=0;for(const[w,N]of S.getIncomingConnectionsByOriginModule(E)){if(!w)continue;if(!N.some((E=>E.isTargetActive(undefined))))continue;k+=ae.get(w)}return k};const countOccurs=E=>{let k=0;for(const[w,N]of S.getIncomingConnectionsByOriginModule(E)){if(!w)continue;const E=q.getNumberOfModuleChunks(w);for(const S of N){if(!S.isTargetActive(undefined))continue;if(!S.dependency)continue;const w=S.dependency.getNumberOfIdOccurrences();if(w===0)continue;k+=w*E}}return k};if(k){for(const E of ee){const k=countOccursInEntry(E)+ae.get(E)+_e.get(E);te.set(E,k)}}for(const E of N){const k=countOccurs(E)+q.getNumberOfModuleChunks(E)+_e.get(E);ne.set(E,k)}const ve=w(E.moduleGraph);ee.sort(((E,S)=>{if(k){const k=te.get(E);const w=te.get(S);if(k>w)return-1;if(kN)return-1;if(w{"use strict";const w=S(31669);const N=S(91671);const lazyFunction=E=>{const k=N(E);const f=(...E)=>k()(...E);return f};const mergeExports=(E,k)=>{const S=Object.getOwnPropertyDescriptors(k);for(const k of Object.keys(S)){const w=S[k];if(w.get){const S=w.get;Object.defineProperty(E,k,{configurable:false,enumerable:true,get:N(S)})}else if(typeof w.value==="object"){Object.defineProperty(E,k,{configurable:false,enumerable:true,writable:false,value:mergeExports({},w.value)})}else{throw new Error("Exposed values must be either a getter or an nested object")}}return Object.freeze(E)};const j=lazyFunction((()=>S(2982)));E.exports=mergeExports(j,{get webpack(){return S(2982)},get validate(){const E=S(63221);const k=N((()=>{const E=S(33316);const k=S(76518);return S=>E(k,S)}));return S=>{if(!E(S))k()(S)}},get validateSchema(){const E=S(33316);return E},get version(){return S(61733).i8},get cli(){return S(61634)},get AutomaticPrefetchPlugin(){return S(20383)},get AsyncDependenciesBlock(){return S(98221)},get BannerPlugin(){return S(58779)},get Cache(){return S(54725)},get Chunk(){return S(62433)},get ChunkGraph(){return S(45137)},get CleanPlugin(){return S(61666)},get Compilation(){return S(3080)},get Compiler(){return S(63076)},get ConcatenationScope(){return S(77294)},get ContextExclusionPlugin(){return S(51709)},get ContextReplacementPlugin(){return S(26552)},get DefinePlugin(){return S(24820)},get DelegatedPlugin(){return S(82354)},get Dependency(){return S(28706)},get DllPlugin(){return S(73887)},get DllReferencePlugin(){return S(83515)},get DynamicEntryPlugin(){return S(85227)},get EntryOptionPlugin(){return S(64699)},get EntryPlugin(){return S(59674)},get EnvironmentPlugin(){return S(64856)},get EvalDevToolModulePlugin(){return S(91331)},get EvalSourceMapDevToolPlugin(){return S(23641)},get ExternalModule(){return S(16734)},get ExternalsPlugin(){return S(61050)},get Generator(){return S(36253)},get HotUpdateChunk(){return S(22352)},get HotModuleReplacementPlugin(){return S(79972)},get IgnorePlugin(){return S(69276)},get JavascriptModulesPlugin(){return w.deprecate((()=>S(18161)),"webpack.JavascriptModulesPlugin has moved to webpack.javascript.JavascriptModulesPlugin","DEP_WEBPACK_JAVASCRIPT_MODULES_PLUGIN")()},get LibManifestPlugin(){return S(77750)},get LibraryTemplatePlugin(){return w.deprecate((()=>S(43351)),"webpack.LibraryTemplatePlugin is deprecated and has been replaced by compilation.outputOptions.library or compilation.addEntry + passing a library option","DEP_WEBPACK_LIBRARY_TEMPLATE_PLUGIN")()},get LoaderOptionsPlugin(){return S(19674)},get LoaderTargetPlugin(){return S(97736)},get Module(){return S(53453)},get ModuleFilenameHelpers(){return S(70354)},get ModuleGraph(){return S(75412)},get ModuleGraphConnection(){return S(79900)},get NoEmitOnErrorsPlugin(){return S(66962)},get NormalModule(){return S(53520)},get NormalModuleReplacementPlugin(){return S(92234)},get MultiCompiler(){return S(63433)},get Parser(){return S(2172)},get PrefetchPlugin(){return S(13125)},get ProgressPlugin(){return S(52923)},get ProvidePlugin(){return S(40313)},get RuntimeGlobals(){return S(76150)},get RuntimeModule(){return S(66804)},get SingleEntryPlugin(){return w.deprecate((()=>S(59674)),"SingleEntryPlugin was renamed to EntryPlugin","DEP_WEBPACK_SINGLE_ENTRY_PLUGIN")()},get SourceMapDevToolPlugin(){return S(2e4)},get Stats(){return S(10140)},get Template(){return S(58159)},get UsageState(){return S(76632).UsageState},get WatchIgnorePlugin(){return S(91265)},get WebpackError(){return S(81627)},get WebpackOptionsApply(){return S(81721)},get WebpackOptionsDefaulter(){return w.deprecate((()=>S(94820)),"webpack.WebpackOptionsDefaulter is deprecated and has been replaced by webpack.config.getNormalizedWebpackOptions and webpack.config.applyWebpackOptionsDefaults","DEP_WEBPACK_OPTIONS_DEFAULTER")()},get WebpackOptionsValidationError(){return S(15235).ValidationError},get ValidationError(){return S(15235).ValidationError},cache:{get MemoryCachePlugin(){return S(47786)}},config:{get getNormalizedWebpackOptions(){return S(96590).getNormalizedWebpackOptions},get applyWebpackOptionsDefaults(){return S(54411).applyWebpackOptionsDefaults}},dependencies:{get ModuleDependency(){return S(79983)},get ConstDependency(){return S(66298)},get NullDependency(){return S(12197)}},ids:{get ChunkModuleIdRangePlugin(){return S(30484)},get NaturalModuleIdsPlugin(){return S(97781)},get OccurrenceModuleIdsPlugin(){return S(76059)},get NamedModuleIdsPlugin(){return S(9297)},get DeterministicChunkIdsPlugin(){return S(90444)},get DeterministicModuleIdsPlugin(){return S(35579)},get NamedChunkIdsPlugin(){return S(64779)},get OccurrenceChunkIdsPlugin(){return S(86169)},get HashedModuleIdsPlugin(){return S(35853)}},javascript:{get EnableChunkLoadingPlugin(){return S(50369)},get JavascriptModulesPlugin(){return S(18161)},get JavascriptParser(){return S(3711)}},optimize:{get AggressiveMergingPlugin(){return S(61332)},get AggressiveSplittingPlugin(){return w.deprecate((()=>S(94827)),"AggressiveSplittingPlugin is deprecated in favor of SplitChunksPlugin","DEP_WEBPACK_AGGRESSIVE_SPLITTING_PLUGIN")()},get LimitChunkCountPlugin(){return S(92922)},get MinChunkSizePlugin(){return S(52383)},get ModuleConcatenationPlugin(){return S(35442)},get RealContentHashPlugin(){return S(30699)},get RuntimeChunkPlugin(){return S(4674)},get SideEffectsFlagPlugin(){return S(63410)},get SplitChunksPlugin(){return S(40051)}},runtime:{get GetChunkFilenameRuntimeModule(){return S(9609)},get LoadScriptRuntimeModule(){return S(67104)}},prefetch:{get ChunkPrefetchPreloadPlugin(){return S(5538)}},web:{get FetchCompileAsyncWasmPlugin(){return S(52687)},get FetchCompileWasmPlugin(){return S(71100)},get JsonpChunkLoadingRuntimeModule(){return S(4038)},get JsonpTemplatePlugin(){return S(58421)}},webworker:{get WebWorkerTemplatePlugin(){return S(67439)}},node:{get NodeEnvironmentPlugin(){return S(93632)},get NodeSourcePlugin(){return S(92662)},get NodeTargetPlugin(){return S(84980)},get NodeTemplatePlugin(){return S(91591)},get ReadFileCompileWasmPlugin(){return S(71049)}},electron:{get ElectronTargetPlugin(){return S(25726)}},wasm:{get AsyncWebAssemblyModulesPlugin(){return S(82422)}},library:{get AbstractLibraryPlugin(){return S(9786)},get EnableLibraryPlugin(){return S(13984)}},container:{get ContainerPlugin(){return S(10419)},get ContainerReferencePlugin(){return S(68839)},get ModuleFederationPlugin(){return S(8019)},get scope(){return S(97264).scope}},sharing:{get ConsumeSharedPlugin(){return S(71968)},get ProvideSharedPlugin(){return S(48151)},get SharePlugin(){return S(16471)},get scope(){return S(97264).scope}},debug:{get ProfilingPlugin(){return S(26802)}},util:{get createHash(){return S(35891)},get comparators(){return S(68673)},get serialization(){return S(24568)},get cleverMerge(){return S(90149).cachedCleverMerge},get LazySet(){return S(83379)}},get sources(){return S(48135)},experiments:{schemes:{get HttpUriPlugin(){return S(7201)},get HttpsUriPlugin(){return S(1161)}}}})},41113:(E,k,S)=>{"use strict";const{ConcatSource:w,PrefixSource:N,RawSource:j}=S(48135);const{RuntimeGlobals:q}=S(86443);const ee=S(22352);const te=S(58159);const{getCompilationHooks:ne}=S(18161);const{generateEntryStartup:ae,updateHashForEntryStartup:_e}=S(13085);class ArrayPushCallbackChunkFormatPlugin{apply(E){E.hooks.thisCompilation.tap("ArrayPushCallbackChunkFormatPlugin",(E=>{E.hooks.additionalChunkRuntimeRequirements.tap("ArrayPushCallbackChunkFormatPlugin",((E,k,{chunkGraph:S})=>{if(E.hasRuntime())return;if(S.getNumberOfEntryModules(E)>0){k.add(q.onChunksLoaded);k.add(q.require)}k.add(q.chunkCallback)}));const k=ne(E);k.renderChunk.tap("ArrayPushCallbackChunkFormatPlugin",((S,ne)=>{const{chunk:_e,chunkGraph:ve,runtimeTemplate:Ee}=ne;const we=_e instanceof ee?_e:null;const Ce=Ee.outputOptions.globalObject;const Me=new w;const Te=ve.getChunkRuntimeModulesInOrder(_e);if(we){const E=Ee.outputOptions.hotUpdateGlobal;Me.add(`${Ce}[${JSON.stringify(E)}](`);Me.add(`${JSON.stringify(_e.id)},`);Me.add(S);if(Te.length>0){Me.add(",\n");const E=te.renderChunkRuntimeModules(Te,ne);Me.add(E)}Me.add(")")}else{const ee=Ee.outputOptions.chunkLoadingGlobal;Me.add(`(${Ce}[${JSON.stringify(ee)}] = ${Ce}[${JSON.stringify(ee)}] || []).push([`);Me.add(`${JSON.stringify(_e.ids)},`);Me.add(S);const we=Array.from(ve.getChunkEntryModulesWithChunkGroupIterable(_e));if(Te.length>0||we.length>0){const S=k.strictRuntimeBailout.call(ne);const ee=new w((Ee.supportsArrowFunction()?"__webpack_require__ =>":"function(__webpack_require__)")+" { // webpackRuntimeModules\n",S?`// runtime can't be in strict mode because ${S}.\n\n`:'"use strict";\n\n');if(Te.length>0){ee.add(te.renderRuntimeModules(Te,{...ne,codeGenerationResults:E.codeGenerationResults,useStrict:!!S}))}if(we.length>0){const E=new j(ae(ve,Ee,we,_e,true));ee.add(k.renderStartup.call(E,we[we.length-1][0],{...ne,inlined:false}));if(ve.getChunkRuntimeRequirements(_e).has(q.returnExportsFromRuntime)){ee.add("return __webpack_exports__;\n")}}ee.add("}\n");Me.add(",\n");Me.add(new N("/******/ ",ee))}Me.add("])")}return Me}));k.chunkHash.tap("ArrayPushCallbackChunkFormatPlugin",((E,k,{chunkGraph:S,runtimeTemplate:w})=>{if(E.hasRuntime())return;k.update("ArrayPushCallbackChunkFormatPlugin");k.update("1");k.update(`${w.outputOptions.chunkLoadingGlobal}`);k.update(`${w.outputOptions.hotUpdateGlobal}`);k.update(`${w.outputOptions.globalObject}`);const N=Array.from(S.getChunkEntryModulesWithChunkGroupIterable(E));_e(k,S,N,E)}))}))}}E.exports=ArrayPushCallbackChunkFormatPlugin},87250:E=>{"use strict";const k=0;const S=1;const w=2;const N=3;const j=4;const q=5;const ee=6;const te=7;const ne=8;const ae=9;const _e=10;const ve=11;const Ee=12;const we=13;class BasicEvaluatedExpression{constructor(){this.type=k;this.range=undefined;this.falsy=false;this.truthy=false;this.nullish=undefined;this.sideEffects=true;this.bool=undefined;this.number=undefined;this.bigint=undefined;this.regExp=undefined;this.string=undefined;this.quasis=undefined;this.parts=undefined;this.array=undefined;this.items=undefined;this.options=undefined;this.prefix=undefined;this.postfix=undefined;this.wrappedInnerExpressions=undefined;this.identifier=undefined;this.rootInfo=undefined;this.getMembers=undefined;this.expression=undefined}isUnknown(){return this.type===k}isNull(){return this.type===w}isUndefined(){return this.type===S}isString(){return this.type===N}isNumber(){return this.type===j}isBigInt(){return this.type===we}isBoolean(){return this.type===q}isRegExp(){return this.type===ee}isConditional(){return this.type===te}isArray(){return this.type===ne}isConstArray(){return this.type===ae}isIdentifier(){return this.type===_e}isWrapped(){return this.type===ve}isTemplateString(){return this.type===Ee}isPrimitiveType(){switch(this.type){case S:case w:case N:case j:case q:case we:case ve:case Ee:return true;case ee:case ne:case ae:return false;default:return undefined}}isCompileTimeValue(){switch(this.type){case S:case w:case N:case j:case q:case ee:case ae:case we:return true;default:return false}}asCompileTimeValue(){switch(this.type){case S:return undefined;case w:return null;case N:return this.string;case j:return this.number;case q:return this.bool;case ee:return this.regExp;case ae:return this.array;case we:return this.bigint;default:throw new Error("asCompileTimeValue must only be called for compile-time values")}}isTruthy(){return this.truthy}isFalsy(){return this.falsy}isNullish(){return this.nullish}couldHaveSideEffects(){return this.sideEffects}asBool(){if(this.truthy)return true;if(this.falsy||this.nullish)return false;if(this.isBoolean())return this.bool;if(this.isNull())return false;if(this.isUndefined())return false;if(this.isString())return this.string!=="";if(this.isNumber())return this.number!==0;if(this.isBigInt())return this.bigint!==BigInt(0);if(this.isRegExp())return true;if(this.isArray())return true;if(this.isConstArray())return true;if(this.isWrapped()){return this.prefix&&this.prefix.asBool()||this.postfix&&this.postfix.asBool()?true:undefined}if(this.isTemplateString()){const E=this.asString();if(typeof E==="string")return E!==""}return undefined}asNullish(){const E=this.isNullish();if(E===true||this.isNull()||this.isUndefined())return true;if(E===false)return false;if(this.isTruthy())return false;if(this.isBoolean())return false;if(this.isString())return false;if(this.isNumber())return false;if(this.isBigInt())return false;if(this.isRegExp())return false;if(this.isArray())return false;if(this.isConstArray())return false;if(this.isTemplateString())return false;if(this.isRegExp())return false;return undefined}asString(){if(this.isBoolean())return`${this.bool}`;if(this.isNull())return"null";if(this.isUndefined())return"undefined";if(this.isString())return this.string;if(this.isNumber())return`${this.number}`;if(this.isBigInt())return`${this.bigint}`;if(this.isRegExp())return`${this.regExp}`;if(this.isArray()){let E=[];for(const k of this.items){const S=k.asString();if(S===undefined)return undefined;E.push(S)}return`${E}`}if(this.isConstArray())return`${this.array}`;if(this.isTemplateString()){let E="";for(const k of this.parts){const S=k.asString();if(S===undefined)return undefined;E+=S}return E}return undefined}setString(E){this.type=N;this.string=E;this.sideEffects=false;return this}setUndefined(){this.type=S;this.sideEffects=false;return this}setNull(){this.type=w;this.sideEffects=false;return this}setNumber(E){this.type=j;this.number=E;this.sideEffects=false;return this}setBigInt(E){this.type=we;this.bigint=E;this.sideEffects=false;return this}setBoolean(E){this.type=q;this.bool=E;this.sideEffects=false;return this}setRegExp(E){this.type=ee;this.regExp=E;this.sideEffects=false;return this}setIdentifier(E,k,S){this.type=_e;this.identifier=E;this.rootInfo=k;this.getMembers=S;this.sideEffects=true;return this}setWrapped(E,k,S){this.type=ve;this.prefix=E;this.postfix=k;this.wrappedInnerExpressions=S;this.sideEffects=true;return this}setOptions(E){this.type=te;this.options=E;this.sideEffects=true;return this}addOptions(E){if(!this.options){this.type=te;this.options=[];this.sideEffects=true}for(const k of E){this.options.push(k)}return this}setItems(E){this.type=ne;this.items=E;this.sideEffects=E.some((E=>E.couldHaveSideEffects()));return this}setArray(E){this.type=ae;this.array=E;this.sideEffects=false;return this}setTemplateString(E,k,S){this.type=Ee;this.quasis=E;this.parts=k;this.templateStringKind=S;this.sideEffects=k.some((E=>E.sideEffects));return this}setTruthy(){this.falsy=false;this.truthy=true;this.nullish=false;return this}setFalsy(){this.falsy=true;this.truthy=false;return this}setNullish(E){this.nullish=E;return this}setRange(E){this.range=E;return this}setSideEffects(E=true){this.sideEffects=E;return this}setExpression(E){this.expression=E;return this}}BasicEvaluatedExpression.isValidRegExpFlags=E=>{const k=E.length;if(k===0)return true;if(k>4)return false;let S=0;for(let w=0;w{"use strict";const{ConcatSource:w,RawSource:N}=S(48135);const j=S(76150);const q=S(58159);const{getChunkFilenameTemplate:ee,getCompilationHooks:te}=S(18161);const{generateEntryStartup:ne,updateHashForEntryStartup:ae}=S(13085);class CommonJsChunkFormatPlugin{apply(E){E.hooks.thisCompilation.tap("CommonJsChunkFormatPlugin",(E=>{E.hooks.additionalChunkRuntimeRequirements.tap("CommonJsChunkLoadingPlugin",((E,k,{chunkGraph:S})=>{if(E.hasRuntime())return;if(S.getNumberOfEntryModules(E)>0){k.add(j.require);k.add(j.startupEntrypoint);k.add(j.externalInstallChunk)}}));const k=te(E);k.renderChunk.tap("CommonJsChunkFormatPlugin",((S,te)=>{const{chunk:ae,chunkGraph:_e,runtimeTemplate:ve}=te;const Ee=new w;Ee.add(`exports.id = ${JSON.stringify(ae.id)};\n`);Ee.add(`exports.ids = ${JSON.stringify(ae.ids)};\n`);Ee.add(`exports.modules = `);Ee.add(S);Ee.add(";\n");const we=_e.getChunkRuntimeModulesInOrder(ae);if(we.length>0){Ee.add("exports.runtime =\n");Ee.add(q.renderChunkRuntimeModules(we,te))}const Ce=Array.from(_e.getChunkEntryModulesWithChunkGroupIterable(ae));if(Ce.length>0){const S=Ce[0][1].getRuntimeChunk();const q=E.getPath(ee(ae,E.outputOptions),{chunk:ae,contentHashType:"javascript"}).split("/");const we=E.getPath(ee(S,E.outputOptions),{chunk:S,contentHashType:"javascript"}).split("/");q.pop();while(q.length>0&&we.length>0&&q[0]===we[0]){q.shift();we.shift()}const Me=(q.length>0?"../".repeat(q.length):"./")+we.join("/");const Te=new w;Te.add(`(${ve.supportsArrowFunction()?"() => ":"function() "}{\n`);Te.add("var exports = {};\n");Te.add(Ee);Te.add(";\n\n// load runtime\n");Te.add(`var __webpack_require__ = require(${JSON.stringify(Me)});\n`);Te.add(`${j.externalInstallChunk}(exports);\n`);const Ie=new N(ne(_e,ve,Ce,ae,false));Te.add(k.renderStartup.call(Ie,Ce[Ce.length-1][0],{...te,inlined:false}));Te.add("\n})()");return Te}return Ee}));k.chunkHash.tap("CommonJsChunkFormatPlugin",((E,k,{chunkGraph:S})=>{if(E.hasRuntime())return;k.update("CommonJsChunkFormatPlugin");k.update("1");const w=Array.from(S.getChunkEntryModulesWithChunkGroupIterable(E));ae(k,S,w,E)}))}))}}E.exports=CommonJsChunkFormatPlugin},50369:(E,k,S)=>{"use strict";const w=new WeakMap;const getEnabledTypes=E=>{let k=w.get(E);if(k===undefined){k=new Set;w.set(E,k)}return k};class EnableChunkLoadingPlugin{constructor(E){this.type=E}static setEnabled(E,k){getEnabledTypes(E).add(k)}static checkEnabled(E,k){if(!getEnabledTypes(E).has(k)){throw new Error(`Chunk loading type "${k}" is not enabled. `+"EnableChunkLoadingPlugin need to be used to enable this type of chunk loading. "+'This usually happens through the "output.enabledChunkLoadingTypes" option. '+'If you are using a function as entry which sets "chunkLoading", you need to add all potential chunk loading types to "output.enabledChunkLoadingTypes". '+"These types are enabled: "+Array.from(getEnabledTypes(E)).join(", "))}}apply(E){const{type:k}=this;const w=getEnabledTypes(E);if(w.has(k))return;w.add(k);if(typeof k==="string"){switch(k){case"jsonp":{const k=S(76853);(new k).apply(E);break}case"import-scripts":{const k=S(82779);(new k).apply(E);break}case"require":{const k=S(82827);new k({asyncChunkLoading:false}).apply(E);break}case"async-node":{const k=S(82827);new k({asyncChunkLoading:true}).apply(E);break}case"import":{const k=S(90662);(new k).apply(E);break}case"universal":throw new Error("Universal Chunk Loading is not implemented yet");default:throw new Error(`Unsupported chunk loading type ${k}.\nPlugins which provide custom chunk loading types must call EnableChunkLoadingPlugin.setEnabled(compiler, type) to disable this error.`)}}else{}}}E.exports=EnableChunkLoadingPlugin},99371:(E,k,S)=>{"use strict";const w=S(31669);const{RawSource:N,ReplaceSource:j}=S(48135);const q=S(36253);const ee=S(63272);const te=S(54290);const ne=w.deprecate(((E,k,S)=>E.getInitFragments(k,S)),"DependencyTemplate.getInitFragment is deprecated (use apply(dep, source, { initFragments }) instead)","DEP_WEBPACK_JAVASCRIPT_GENERATOR_GET_INIT_FRAGMENTS");const ae=new Set(["javascript"]);class JavascriptGenerator extends q{getTypes(E){return ae}getSize(E,k){const S=E.originalSource();if(!S){return 39}return S.size()}getConcatenationBailoutReason(E,k){if(!E.buildMeta||E.buildMeta.exportsType!=="namespace"||E.presentationalDependencies===undefined||!E.presentationalDependencies.some((E=>E instanceof te))){return"Module is not an ECMAScript module"}if(E.buildInfo&&E.buildInfo.moduleConcatenationBailout){return`Module uses ${E.buildInfo.moduleConcatenationBailout}`}}generate(E,k){const S=E.originalSource();if(!S){return new N("throw new Error('No source available');")}const w=new j(S);const q=[];this.sourceModule(E,q,w,k);return ee.addToSource(w,q,k)}sourceModule(E,k,S,w){for(const N of E.dependencies){this.sourceDependency(E,N,k,S,w)}if(E.presentationalDependencies!==undefined){for(const N of E.presentationalDependencies){this.sourceDependency(E,N,k,S,w)}}for(const N of E.blocks){this.sourceBlock(E,N,k,S,w)}}sourceBlock(E,k,S,w,N){for(const j of k.dependencies){this.sourceDependency(E,j,S,w,N)}for(const j of k.blocks){this.sourceBlock(E,j,S,w,N)}}sourceDependency(E,k,S,w,N){const j=k.constructor;const q=N.dependencyTemplates.get(j);if(!q){throw new Error("No template for dependency: "+k.constructor.name)}const ee={runtimeTemplate:N.runtimeTemplate,dependencyTemplates:N.dependencyTemplates,moduleGraph:N.moduleGraph,chunkGraph:N.chunkGraph,module:E,runtime:N.runtime,runtimeRequirements:N.runtimeRequirements,concatenationScope:N.concatenationScope,initFragments:S};q.apply(k,w,ee);if("getInitFragments"in q){const E=ne(q,k,ee);if(E){for(const k of E){S.push(k)}}}}}E.exports=JavascriptGenerator},18161:(E,k,S)=>{"use strict";const{SyncWaterfallHook:w,SyncHook:N,SyncBailHook:j}=S(92960);const q=S(92184);const{ConcatSource:ee,OriginalSource:te,PrefixSource:ne,RawSource:ae,CachedSource:_e}=S(48135);const ve=S(3080);const{tryRunOrWebpackError:Ee}=S(3728);const we=S(22352);const Ce=S(63272);const Me=S(76150);const Te=S(58159);const{last:Ie,someInIterable:Oe}=S(11539);const Re=S(14146);const{compareModulesByIdentifier:Fe}=S(68673);const Ne=S(35891);const{intersectRuntime:Be}=S(37416);const Le=S(99371);const je=S(3711);const chunkHasJs=(E,k)=>{if(k.getNumberOfEntryModules(E)>0)return true;return k.getChunkModulesIterableBySourceType(E,"javascript")?true:false};const printGeneratedCodeForStack=(E,k)=>{const S=k.split("\n");const w=`${S.length}`.length;return`\n\nGenerated code for ${E.identifier()}\n${S.map(((E,k,S)=>{const N=`${k+1}`;return`${" ".repeat(w-N.length)}${N} | ${E}`})).join("\n")}`};const $e=new WeakMap;class JavascriptModulesPlugin{static getCompilationHooks(E){if(!(E instanceof ve)){throw new TypeError("The 'compilation' argument must be an instance of Compilation")}let k=$e.get(E);if(k===undefined){k={renderModuleContent:new w(["source","module","renderContext"]),renderModuleContainer:new w(["source","module","renderContext"]),renderModulePackage:new w(["source","module","renderContext"]),render:new w(["source","renderContext"]),renderContent:new w(["source","renderContext"]),renderStartup:new w(["source","module","startupRenderContext"]),renderChunk:new w(["source","renderContext"]),renderMain:new w(["source","renderContext"]),renderRequire:new w(["code","renderContext"]),inlineInRuntimeBailout:new j(["module","renderContext"]),embedInRuntimeBailout:new j(["module","renderContext"]),strictRuntimeBailout:new j(["renderContext"]),chunkHash:new N(["chunk","hash","context"]),useSourceMap:new j(["chunk","renderContext"])};$e.set(E,k)}return k}constructor(E={}){this.options=E;this._moduleFactoryCache=new WeakMap}apply(E){E.hooks.compilation.tap("JavascriptModulesPlugin",((E,{normalModuleFactory:k})=>{const S=JavascriptModulesPlugin.getCompilationHooks(E);k.hooks.createParser.for("javascript/auto").tap("JavascriptModulesPlugin",(E=>new je("auto")));k.hooks.createParser.for("javascript/dynamic").tap("JavascriptModulesPlugin",(E=>new je("script")));k.hooks.createParser.for("javascript/esm").tap("JavascriptModulesPlugin",(E=>new je("module")));k.hooks.createGenerator.for("javascript/auto").tap("JavascriptModulesPlugin",(()=>new Le));k.hooks.createGenerator.for("javascript/dynamic").tap("JavascriptModulesPlugin",(()=>new Le));k.hooks.createGenerator.for("javascript/esm").tap("JavascriptModulesPlugin",(()=>new Le));E.hooks.renderManifest.tap("JavascriptModulesPlugin",((k,w)=>{const{hash:N,chunk:j,chunkGraph:q,moduleGraph:ee,runtimeTemplate:te,dependencyTemplates:ne,outputOptions:ae,codeGenerationResults:_e}=w;const ve=j instanceof we?j:null;let Ee;const Ce=JavascriptModulesPlugin.getChunkFilenameTemplate(j,ae);if(ve){Ee=()=>this.renderChunk({chunk:j,dependencyTemplates:ne,runtimeTemplate:te,moduleGraph:ee,chunkGraph:q,codeGenerationResults:_e},S)}else if(j.hasRuntime()){Ee=()=>this.renderMain({hash:N,chunk:j,dependencyTemplates:ne,runtimeTemplate:te,moduleGraph:ee,chunkGraph:q,codeGenerationResults:_e},S,E)}else{if(!chunkHasJs(j,q)){return k}Ee=()=>this.renderChunk({chunk:j,dependencyTemplates:ne,runtimeTemplate:te,moduleGraph:ee,chunkGraph:q,codeGenerationResults:_e},S)}k.push({render:Ee,filenameTemplate:Ce,pathOptions:{hash:N,runtime:j.runtime,chunk:j,contentHashType:"javascript"},info:{javascriptModule:E.runtimeTemplate.isModule()},identifier:ve?`hotupdatechunk${j.id}`:`chunk${j.id}`,hash:j.contentHash.javascript});return k}));E.hooks.chunkHash.tap("JavascriptModulesPlugin",((E,k,w)=>{S.chunkHash.call(E,k,w);if(E.hasRuntime()){this.updateHashWithBootstrap(k,{hash:"0000",chunk:E,chunkGraph:w.chunkGraph,moduleGraph:w.moduleGraph,runtimeTemplate:w.runtimeTemplate},S)}}));E.hooks.contentHash.tap("JavascriptModulesPlugin",(k=>{const{chunkGraph:w,moduleGraph:N,runtimeTemplate:j,outputOptions:{hashSalt:q,hashDigest:ee,hashDigestLength:te,hashFunction:ne}}=E;const ae=Ne(ne);if(q)ae.update(q);if(k.hasRuntime()){this.updateHashWithBootstrap(ae,{hash:"0000",chunk:k,chunkGraph:E.chunkGraph,moduleGraph:E.moduleGraph,runtimeTemplate:E.runtimeTemplate},S)}else{ae.update(`${k.id} `);ae.update(k.ids?k.ids.join(","):"")}S.chunkHash.call(k,ae,{chunkGraph:w,moduleGraph:N,runtimeTemplate:j});const _e=w.getChunkModulesIterableBySourceType(k,"javascript");if(_e){const E=new Re;for(const S of _e){E.add(w.getModuleHash(S,k.runtime))}E.updateHash(ae)}const ve=w.getChunkModulesIterableBySourceType(k,"runtime");if(ve){const E=new Re;for(const S of ve){E.add(w.getModuleHash(S,k.runtime))}E.updateHash(ae)}const Ee=ae.digest(ee);k.contentHash.javascript=Ee.substr(0,te)}));E.hooks.additionalTreeRuntimeRequirements.tap("JavascriptModulesPlugin",((E,k,{chunkGraph:S})=>{if(!k.has(Me.startupNoDefault)&&S.hasChunkEntryDependentChunks(E)){k.add(Me.onChunksLoaded);k.add(Me.require)}}));E.hooks.executeModule.tap("JavascriptModulesPlugin",((E,k)=>{const S=E.codeGenerationResult.sources.get("javascript");if(S===undefined)return;const{module:w,moduleObject:N}=E;const j=S.source();const ee=q.runInThisContext(`(function(${w.moduleArgument}, ${w.exportsArgument}, __webpack_require__) {\n${j}\n/**/})`,{filename:w.identifier(),lineOffset:-1});try{ee.call(N.exports,N,N.exports,k.__webpack_require__)}catch(k){k.stack+=printGeneratedCodeForStack(E.module,j);throw k}}));E.hooks.executeModule.tap("JavascriptModulesPlugin",((E,k)=>{const S=E.codeGenerationResult.sources.get("runtime");if(S===undefined)return;let w=S.source();if(typeof w!=="string")w=w.toString();const N=q.runInThisContext(`(function(__webpack_require__) {\n${w}\n/**/})`,{filename:E.module.identifier(),lineOffset:-1});try{N.call(null,k.__webpack_require__)}catch(k){k.stack+=printGeneratedCodeForStack(E.module,w);throw k}}))}))}static getChunkFilenameTemplate(E,k){if(E.filenameTemplate){return E.filenameTemplate}else if(E instanceof we){return k.hotUpdateChunkFilename}else if(E.canBeInitial()){return k.filename}else{return k.chunkFilename}}renderModule(E,k,S,w){const{chunk:N,chunkGraph:j,runtimeTemplate:q,codeGenerationResults:te}=k;try{const ne=te.get(E,N.runtime);const ae=ne.sources.get("javascript");if(!ae)return null;if(ne.data!==undefined){const E=ne.data.get("chunkInitFragments");if(E){for(const S of E)k.chunkInitFragments.push(S)}}const ve=Ee((()=>S.renderModuleContent.call(ae,E,k)),"JavascriptModulesPlugin.getCompilationHooks().renderModuleContent");let we;if(w){const te=j.getModuleRuntimeRequirements(E,N.runtime);const ne=te.has(Me.module);const ae=te.has(Me.exports);const Ce=te.has(Me.require)||te.has(Me.requireScope);const Te=te.has(Me.thisAsExports);const Ie=E.buildInfo.strict&&w!=="strict";const Oe=this._moduleFactoryCache.get(ve);let Re;if(Oe&&Oe.needModule===ne&&Oe.needExports===ae&&Oe.needRequire===Ce&&Oe.needThisAsExports===Te&&Oe.needStrict===Ie){Re=Oe.source}else{const k=new ee;const S=[];if(ae||Ce||ne)S.push(ne?E.moduleArgument:"__unused_webpack_"+E.moduleArgument);if(ae||Ce)S.push(ae?E.exportsArgument:"__unused_webpack_"+E.exportsArgument);if(Ce)S.push("__webpack_require__");if(!Te&&q.supportsArrowFunction()){k.add("/***/ (("+S.join(", ")+") => {\n\n")}else{k.add("/***/ (function("+S.join(", ")+") {\n\n")}if(Ie){k.add('"use strict";\n')}k.add(ve);k.add("\n\n/***/ })");Re=new _e(k);this._moduleFactoryCache.set(ve,{source:Re,needModule:ne,needExports:ae,needRequire:Ce,needThisAsExports:Te,needStrict:Ie})}we=Ee((()=>S.renderModuleContainer.call(Re,E,k)),"JavascriptModulesPlugin.getCompilationHooks().renderModuleContainer")}else{we=ve}return Ee((()=>S.renderModulePackage.call(we,E,k)),"JavascriptModulesPlugin.getCompilationHooks().renderModulePackage")}catch(k){k.module=E;throw k}}renderChunk(E,k){const{chunk:S,chunkGraph:w}=E;const N=w.getOrderedChunkModulesIterableBySourceType(S,"javascript",Fe);const j={...E,chunkInitFragments:[]};const q=Te.renderChunkModules(j,N?Array.from(N):[],(E=>this.renderModule(E,j,k,true)))||new ae("{}");let te=Ee((()=>k.renderChunk.call(q,j)),"JavascriptModulesPlugin.getCompilationHooks().renderChunk");te=Ee((()=>k.renderContent.call(te,j)),"JavascriptModulesPlugin.getCompilationHooks().renderContent");if(!te){throw new Error("JavascriptModulesPlugin error: JavascriptModulesPlugin.getCompilationHooks().renderContent plugins should return something")}te=Ce.addToSource(te,j.chunkInitFragments,j);te=Ee((()=>k.render.call(te,j)),"JavascriptModulesPlugin.getCompilationHooks().render");if(!te){throw new Error("JavascriptModulesPlugin error: JavascriptModulesPlugin.getCompilationHooks().render plugins should return something")}S.rendered=true;return new ee(te,";")}renderMain(E,k,S){const{chunk:w,chunkGraph:N,runtimeTemplate:j}=E;const q={...E,chunkInitFragments:[]};const _e=N.getTreeRuntimeRequirements(w);const ve=j.isIIFE();const we=this.renderBootstrap(E,k);const Oe=k.useSourceMap.call(w,E);const Re=Array.from(N.getOrderedChunkModulesIterableBySourceType(w,"javascript",Fe)||[]);const Ne=N.getNumberOfEntryModules(w)>0;let Be;if(we.allowInlineStartup&&Ne){Be=new Set(N.getChunkEntryModulesIterable(w))}let Le=new ee;let je;if(ve){if(j.supportsArrowFunction()){Le.add("/******/ (() => { // webpackBootstrap\n")}else{Le.add("/******/ (function() { // webpackBootstrap\n")}je="/******/ \t"}else{je="/******/ "}let $e=false;if(Re.every((E=>E.buildInfo.strict))){const S=k.strictRuntimeBailout.call(E);if(S){Le.add(je+`// runtime can't be in strict mode because ${S}.\n`)}else{$e=true;Le.add(je+'"use strict";\n')}}const ze=Te.renderChunkModules(q,Be?Re.filter((E=>!Be.has(E))):Re,(E=>this.renderModule(E,q,k,$e?"strict":true)),je);if(ze||_e.has(Me.moduleFactories)||_e.has(Me.moduleFactoriesAddOnly)||_e.has(Me.require)){Le.add(je+"var __webpack_modules__ = (");Le.add(ze||"{}");Le.add(");\n");Le.add("/************************************************************************/\n")}if(we.header.length>0){const E=Te.asString(we.header)+"\n";Le.add(new ne(je,Oe?new te(E,"webpack/bootstrap"):new ae(E)));Le.add("/************************************************************************/\n")}const Ue=E.chunkGraph.getChunkRuntimeModulesInOrder(w);if(Ue.length>0){Le.add(new ne(je,Te.renderRuntimeModules(Ue,E)));Le.add("/************************************************************************/\n");for(const E of Ue){S.codeGeneratedModules.add(E)}}if(Be){if(we.beforeStartup.length>0){const E=Te.asString(we.beforeStartup)+"\n";Le.add(new ne(je,Oe?new te(E,"webpack/before-startup"):new ae(E)))}const S=Ie(Be);const ve=new ee;ve.add(`var __webpack_exports__ = {};\n`);for(const ee of Be){const te=this.renderModule(ee,q,k,false);if(te){const q=!$e&&ee.buildInfo.strict;const ne=N.getModuleRuntimeRequirements(ee,w.runtime);const ae=ne.has(Me.exports);const _e=ae&&ee.exportsArgument==="__webpack_exports__";let Ee=q?"it need to be in strict mode.":Be.size>1?"it need to be isolated against other entry modules.":ze?"it need to be isolated against other modules in the chunk.":ae&&!_e?`it uses a non-standard name for the exports (${ee.exportsArgument}).`:k.embedInRuntimeBailout.call(ee,E);let we;if(Ee!==undefined){ve.add(`// This entry need to be wrapped in an IIFE because ${Ee}\n`);const E=j.supportsArrowFunction();if(E){ve.add("(() => {\n");we="\n})();\n\n"}else{ve.add("!function() {\n");we="\n}();\n"}if(q)ve.add('"use strict";\n')}else{we="\n"}if(ae){if(ee!==S)ve.add(`var ${ee.exportsArgument} = {};\n`);else if(ee.exportsArgument!=="__webpack_exports__")ve.add(`var ${ee.exportsArgument} = __webpack_exports__;\n`)}ve.add(te);ve.add(we)}}if(_e.has(Me.onChunksLoaded)){ve.add(`${Me.onChunksLoaded}();\n`)}Le.add(k.renderStartup.call(ve,S,{...E,inlined:true}));if(we.afterStartup.length>0){const E=Te.asString(we.afterStartup)+"\n";Le.add(new ne(je,Oe?new te(E,"webpack/after-startup"):new ae(E)))}}else{const S=Ie(N.getChunkEntryModulesIterable(w));const j=Oe?(E,k)=>new te(Te.asString(E),k):E=>new ae(Te.asString(E));Le.add(new ne(je,new ee(j(we.beforeStartup,"webpack/before-startup"),"\n",k.renderStartup.call(j(we.startup.concat(""),"webpack/startup"),S,{...E,inlined:false}),j(we.afterStartup,"webpack/after-startup"),"\n")))}if(Ne&&_e.has(Me.returnExportsFromRuntime)){Le.add(`${je}return __webpack_exports__;\n`)}if(ve){Le.add("/******/ })()\n")}let Ge=Ee((()=>k.renderMain.call(Le,E)),"JavascriptModulesPlugin.getCompilationHooks().renderMain");if(!Ge){throw new Error("JavascriptModulesPlugin error: JavascriptModulesPlugin.getCompilationHooks().renderMain plugins should return something")}Ge=Ee((()=>k.renderContent.call(Ge,E)),"JavascriptModulesPlugin.getCompilationHooks().renderContent");if(!Ge){throw new Error("JavascriptModulesPlugin error: JavascriptModulesPlugin.getCompilationHooks().renderContent plugins should return something")}Ge=Ce.addToSource(Ge,q.chunkInitFragments,q);Ge=Ee((()=>k.render.call(Ge,E)),"JavascriptModulesPlugin.getCompilationHooks().render");if(!Ge){throw new Error("JavascriptModulesPlugin error: JavascriptModulesPlugin.getCompilationHooks().render plugins should return something")}w.rendered=true;return ve?new ee(Ge,";"):Ge}updateHashWithBootstrap(E,k,S){const w=this.renderBootstrap(k,S);for(const k of Object.keys(w)){E.update(k);if(Array.isArray(w[k])){for(const S of w[k]){E.update(S)}}else{E.update(JSON.stringify(w[k]))}}}renderBootstrap(E,k){const{chunkGraph:S,moduleGraph:w,chunk:N,runtimeTemplate:j}=E;const q=S.getTreeRuntimeRequirements(N);const ee=q.has(Me.require);const te=q.has(Me.moduleCache);const ne=q.has(Me.moduleFactories);const ae=q.has(Me.module);const _e=q.has(Me.requireScope);const ve=q.has(Me.interceptModuleExecution);const Ee=ee||ve||ae;const we={header:[],beforeStartup:[],startup:[],afterStartup:[],allowInlineStartup:true};let{header:Ce,startup:Ie,beforeStartup:Re,afterStartup:Fe}=we;if(we.allowInlineStartup&&ne){Ie.push("// module factories are used so entry inlining is disabled");we.allowInlineStartup=false}if(we.allowInlineStartup&&te){Ie.push("// module cache are used so entry inlining is disabled");we.allowInlineStartup=false}if(we.allowInlineStartup&&ve){Ie.push("// module execution is intercepted so entry inlining is disabled");we.allowInlineStartup=false}if(Ee||te){Ce.push("// The module cache");Ce.push("var __webpack_module_cache__ = {};");Ce.push("")}if(Ee){Ce.push("// The require function");Ce.push(`function __webpack_require__(moduleId) {`);Ce.push(Te.indent(this.renderRequire(E,k)));Ce.push("}");Ce.push("")}else if(q.has(Me.requireScope)){Ce.push("// The require scope");Ce.push("var __webpack_require__ = {};");Ce.push("")}if(ne||q.has(Me.moduleFactoriesAddOnly)){Ce.push("// expose the modules object (__webpack_modules__)");Ce.push(`${Me.moduleFactories} = __webpack_modules__;`);Ce.push("")}if(te){Ce.push("// expose the module cache");Ce.push(`${Me.moduleCache} = __webpack_module_cache__;`);Ce.push("")}if(ve){Ce.push("// expose the module execution interceptor");Ce.push(`${Me.interceptModuleExecution} = [];`);Ce.push("")}if(!q.has(Me.startupNoDefault)){if(S.getNumberOfEntryModules(N)>0){const q=[];const ee=S.getTreeRuntimeRequirements(N);q.push("// Load entry module and return exports");let te=S.getNumberOfEntryModules(N);for(const[ne,ae]of S.getChunkEntryModulesWithChunkGroupIterable(N)){const ve=ae.chunks.filter((E=>E!==N));if(we.allowInlineStartup&&ve.length>0){q.push("// This entry module depends on other loaded chunks and execution need to be delayed");we.allowInlineStartup=false}if(we.allowInlineStartup&&Oe(w.getIncomingConnectionsByOriginModule(ne),(([E,k])=>E&&k.some((E=>E.isTargetActive(N.runtime)))&&Oe(S.getModuleRuntimes(E),(E=>Be(E,N.runtime)!==undefined))))){q.push("// This entry module is referenced by other modules so it can't be inlined");we.allowInlineStartup=false}if(we.allowInlineStartup&&(!ne.buildInfo||!ne.buildInfo.topLevelDeclarations)){q.push("// This entry module doesn't tell about it's top-level declarations so it can't be inlined");we.allowInlineStartup=false}if(we.allowInlineStartup){const S=k.inlineInRuntimeBailout.call(ne,E);if(S!==undefined){q.push(`// This entry module can't be inlined because ${S}`);we.allowInlineStartup=false}}te--;const Ce=S.getModuleId(ne);const Te=S.getModuleRuntimeRequirements(ne,N.runtime);let Ie=JSON.stringify(Ce);if(ee.has(Me.entryModuleId)){Ie=`${Me.entryModuleId} = ${Ie}`}if(we.allowInlineStartup&&Te.has(Me.module)){we.allowInlineStartup=false;q.push("// This entry module used 'module' so it can't be inlined")}if(ve.length>0){q.push(`${te===0?"var __webpack_exports__ = ":""}${Me.onChunksLoaded}(undefined, ${JSON.stringify(ve.map((E=>E.id)))}, ${j.returningFunction(`__webpack_require__(${Ie})`)})`)}else if(Ee){q.push(`${te===0?"var __webpack_exports__ = ":""}__webpack_require__(${Ie});`)}else{if(te===0)q.push("var __webpack_exports__ = {};");if(_e){q.push(`__webpack_modules__[${Ie}](0, ${te===0?"__webpack_exports__":"{}"}, __webpack_require__);`)}else if(Te.has(Me.exports)){q.push(`__webpack_modules__[${Ie}](0, ${te===0?"__webpack_exports__":"{}"});`)}else{q.push(`__webpack_modules__[${Ie}]();`)}}}if(ee.has(Me.onChunksLoaded)){q.push(`__webpack_exports__ = ${Me.onChunksLoaded}(__webpack_exports__);`)}if(ee.has(Me.startup)||ee.has(Me.startupOnlyBefore)&&ee.has(Me.startupOnlyAfter)){we.allowInlineStartup=false;Ce.push("// the startup function");Ce.push(`${Me.startup} = ${j.basicFunction("",[...q,"return __webpack_exports__;"])};`);Ce.push("");Ie.push("// run startup");Ie.push(`var __webpack_exports__ = ${Me.startup}();`)}else if(ee.has(Me.startupOnlyBefore)){Ce.push("// the startup function");Ce.push(`${Me.startup} = ${j.emptyFunction()};`);Re.push("// run runtime startup");Re.push(`${Me.startup}();`);Ie.push("// startup");Ie.push(Te.asString(q))}else if(ee.has(Me.startupOnlyAfter)){Ce.push("// the startup function");Ce.push(`${Me.startup} = ${j.emptyFunction()};`);Ie.push("// startup");Ie.push(Te.asString(q));Fe.push("// run runtime startup");Fe.push(`${Me.startup}();`)}else{Ie.push("// startup");Ie.push(Te.asString(q))}}else if(q.has(Me.startup)||q.has(Me.startupOnlyBefore)||q.has(Me.startupOnlyAfter)){Ce.push("// the startup function","// It's empty as no entry modules are in this chunk",`${Me.startup} = ${j.emptyFunction()};`,"")}}else if(q.has(Me.startup)||q.has(Me.startupOnlyBefore)||q.has(Me.startupOnlyAfter)){we.allowInlineStartup=false;Ce.push("// the startup function","// It's empty as some runtime module handles the default behavior",`${Me.startup} = ${j.emptyFunction()};`);Ie.push("// run startup");Ie.push(`var __webpack_exports__ = ${Me.startup}();`)}return we}renderRequire(E,k){const{chunk:S,chunkGraph:w,runtimeTemplate:{outputOptions:N}}=E;const j=w.getTreeRuntimeRequirements(S);const q=j.has(Me.interceptModuleExecution)?Te.asString(["var execOptions = { id: moduleId, module: module, factory: __webpack_modules__[moduleId], require: __webpack_require__ };",`${Me.interceptModuleExecution}.forEach(function(handler) { handler(execOptions); });`,"module = execOptions.module;","execOptions.factory.call(module.exports, module, module.exports, execOptions.require);"]):j.has(Me.thisAsExports)?Te.asString(["__webpack_modules__[moduleId].call(module.exports, module, module.exports, __webpack_require__);"]):Te.asString(["__webpack_modules__[moduleId](module, module.exports, __webpack_require__);"]);const ee=j.has(Me.moduleId);const te=j.has(Me.moduleLoaded);const ne=Te.asString(["// Check if module is in cache","var cachedModule = __webpack_module_cache__[moduleId];","if (cachedModule !== undefined) {",N.strictModuleErrorHandling?Te.indent(["if (cachedModule.error !== undefined) throw cachedModule.error;","return cachedModule.exports;"]):Te.indent("return cachedModule.exports;"),"}","// Create a new module (and put it into the cache)","var module = __webpack_module_cache__[moduleId] = {",Te.indent([ee?"id: moduleId,":"// no module.id needed",te?"loaded: false,":"// no module.loaded needed","exports: {}"]),"};","",N.strictModuleExceptionHandling?Te.asString(["// Execute the module function","var threw = true;","try {",Te.indent([q,"threw = false;"]),"} finally {",Te.indent(["if(threw) delete __webpack_module_cache__[moduleId];"]),"}"]):N.strictModuleErrorHandling?Te.asString(["// Execute the module function","try {",Te.indent(q),"} catch(e) {",Te.indent(["module.error = e;","throw e;"]),"}"]):Te.asString(["// Execute the module function",q]),te?Te.asString(["","// Flag the module as loaded","module.loaded = true;",""]):"","// Return the exports of the module","return module.exports;"]);return Ee((()=>k.renderRequire.call(ne,E)),"JavascriptModulesPlugin.getCompilationHooks().renderRequire")}}E.exports=JavascriptModulesPlugin;E.exports.chunkHasJs=chunkHasJs},3711:(E,k,S)=>{"use strict";const{Parser:w}=S(14150);const{SyncBailHook:N,HookMap:j}=S(92960);const q=S(92184);const ee=S(2172);const te=S(80371);const ne=S(31017);const ae=S(91671);const _e=S(87250);const ve=[];const Ee=1;const we=2;const Ce=3;const Me=w;class VariableInfo{constructor(E,k,S){this.declaredScope=E;this.freeName=k;this.tagInfo=S}}const joinRanges=(E,k)=>{if(!k)return E;if(!E)return k;return[E[0],k[1]]};const objectAndMembersToName=(E,k)=>{let S=E;for(let E=k.length-1;E>=0;E--){S=S+"."+k[E]}return S};const getRootName=E=>{switch(E.type){case"Identifier":return E.name;case"ThisExpression":return"this";case"MetaProperty":return`${E.meta.name}.${E.property.name}`;default:return undefined}};const Te={ranges:true,locations:true,ecmaVersion:"latest",sourceType:"module",onComment:null};const Ie=new RegExp(/(^|\W)webpack[A-Z]{1,}[A-Za-z]{1,}:/);const Oe={options:null,errors:null};class JavascriptParser extends ee{constructor(E="auto"){super();this.hooks=Object.freeze({evaluateTypeof:new j((()=>new N(["expression"]))),evaluate:new j((()=>new N(["expression"]))),evaluateIdentifier:new j((()=>new N(["expression"]))),evaluateDefinedIdentifier:new j((()=>new N(["expression"]))),evaluateCallExpressionMember:new j((()=>new N(["expression","param"]))),isPure:new j((()=>new N(["expression","commentsStartPosition"]))),preStatement:new N(["statement"]),blockPreStatement:new N(["declaration"]),statement:new N(["statement"]),statementIf:new N(["statement"]),classExtendsExpression:new N(["expression","classDefinition"]),classBodyElement:new N(["element","classDefinition"]),classBodyValue:new N(["expression","element","classDefinition"]),label:new j((()=>new N(["statement"]))),import:new N(["statement","source"]),importSpecifier:new N(["statement","source","exportName","identifierName"]),export:new N(["statement"]),exportImport:new N(["statement","source"]),exportDeclaration:new N(["statement","declaration"]),exportExpression:new N(["statement","declaration"]),exportSpecifier:new N(["statement","identifierName","exportName","index"]),exportImportSpecifier:new N(["statement","source","identifierName","exportName","index"]),preDeclarator:new N(["declarator","statement"]),declarator:new N(["declarator","statement"]),varDeclaration:new j((()=>new N(["declaration"]))),varDeclarationLet:new j((()=>new N(["declaration"]))),varDeclarationConst:new j((()=>new N(["declaration"]))),varDeclarationVar:new j((()=>new N(["declaration"]))),pattern:new j((()=>new N(["pattern"]))),canRename:new j((()=>new N(["initExpression"]))),rename:new j((()=>new N(["initExpression"]))),assign:new j((()=>new N(["expression"]))),assignMemberChain:new j((()=>new N(["expression","members"]))),typeof:new j((()=>new N(["expression"]))),importCall:new N(["expression"]),topLevelAwait:new N(["expression"]),call:new j((()=>new N(["expression"]))),callMemberChain:new j((()=>new N(["expression","members"]))),memberChainOfCallMemberChain:new j((()=>new N(["expression","calleeMembers","callExpression","members"]))),callMemberChainOfCallMemberChain:new j((()=>new N(["expression","calleeMembers","innerCallExpression","members"]))),optionalChaining:new N(["optionalChaining"]),new:new j((()=>new N(["expression"]))),expression:new j((()=>new N(["expression"]))),expressionMemberChain:new j((()=>new N(["expression","members"]))),unhandledExpressionMemberChain:new j((()=>new N(["expression","members"]))),expressionConditionalOperator:new N(["expression"]),expressionLogicalOperator:new N(["expression"]),program:new N(["ast","comments"]),finish:new N(["ast","comments"])});this.sourceType=E;this.scope=undefined;this.state=undefined;this.comments=undefined;this.semicolons=undefined;this.statementPath=undefined;this.prevStatement=undefined;this.currentTagData=undefined;this._initializeEvaluating()}_initializeEvaluating(){this.hooks.evaluate.for("Literal").tap("JavascriptParser",(E=>{const k=E;switch(typeof k.value){case"number":return(new _e).setNumber(k.value).setRange(k.range);case"bigint":return(new _e).setBigInt(k.value).setRange(k.range);case"string":return(new _e).setString(k.value).setRange(k.range);case"boolean":return(new _e).setBoolean(k.value).setRange(k.range)}if(k.value===null){return(new _e).setNull().setRange(k.range)}if(k.value instanceof RegExp){return(new _e).setRegExp(k.value).setRange(k.range)}}));this.hooks.evaluate.for("NewExpression").tap("JavascriptParser",(E=>{const k=E;const S=k.callee;if(S.type!=="Identifier"||S.name!=="RegExp"||k.arguments.length>2||this.getVariableInfo("RegExp")!=="RegExp")return;let w,N;const j=k.arguments[0];if(j){if(j.type==="SpreadElement")return;const E=this.evaluateExpression(j);if(!E)return;w=E.asString();if(!w)return}else{return(new _e).setRegExp(new RegExp("")).setRange(k.range)}const q=k.arguments[1];if(q){if(q.type==="SpreadElement")return;const E=this.evaluateExpression(q);if(!E)return;if(!E.isUndefined()){N=E.asString();if(N===undefined||!_e.isValidRegExpFlags(N))return}}return(new _e).setRegExp(N?new RegExp(w,N):new RegExp(w)).setRange(k.range)}));this.hooks.evaluate.for("LogicalExpression").tap("JavascriptParser",(E=>{const k=E;const S=this.evaluateExpression(k.left);if(!S)return;if(k.operator==="&&"){const E=S.asBool();if(E===false)return S.setRange(k.range);if(E!==true)return}else if(k.operator==="||"){const E=S.asBool();if(E===true)return S.setRange(k.range);if(E!==false)return}else if(k.operator==="??"){const E=S.asNullish();if(E===false)return S.setRange(k.range);if(E!==true)return}else return;const w=this.evaluateExpression(k.right);if(!w)return;if(S.couldHaveSideEffects())w.setSideEffects();return w.setRange(k.range)}));const valueAsExpression=(E,k,S)=>{switch(typeof E){case"boolean":return(new _e).setBoolean(E).setSideEffects(S).setRange(k.range);case"number":return(new _e).setNumber(E).setSideEffects(S).setRange(k.range);case"bigint":return(new _e).setBigInt(E).setSideEffects(S).setRange(k.range);case"string":return(new _e).setString(E).setSideEffects(S).setRange(k.range)}};this.hooks.evaluate.for("BinaryExpression").tap("JavascriptParser",(E=>{const k=E;const handleConstOperation=E=>{const S=this.evaluateExpression(k.left);if(!S||!S.isCompileTimeValue())return;const w=this.evaluateExpression(k.right);if(!w||!w.isCompileTimeValue())return;const N=E(S.asCompileTimeValue(),w.asCompileTimeValue());return valueAsExpression(N,k,S.couldHaveSideEffects()||w.couldHaveSideEffects())};const isAlwaysDifferent=(E,k)=>E===true&&k===false||E===false&&k===true;const handleTemplateStringCompare=(E,k,S,w)=>{const getPrefix=E=>{let k="";for(const S of E){const E=S.asString();if(E!==undefined)k+=E;else break}return k};const getSuffix=E=>{let k="";for(let S=E.length-1;S>=0;S--){const w=E[S].asString();if(w!==undefined)k=w+k;else break}return k};const N=getPrefix(E.parts);const j=getPrefix(k.parts);const q=getSuffix(E.parts);const ee=getSuffix(k.parts);const te=Math.min(N.length,j.length);const ne=Math.min(q.length,ee.length);if(N.slice(0,te)!==j.slice(0,te)||q.slice(-ne)!==ee.slice(-ne)){return S.setBoolean(!w).setSideEffects(E.couldHaveSideEffects()||k.couldHaveSideEffects())}};const handleStrictEqualityComparison=E=>{const S=this.evaluateExpression(k.left);if(!S)return;const w=this.evaluateExpression(k.right);if(!w)return;const N=new _e;N.setRange(k.range);const j=S.isCompileTimeValue();const q=w.isCompileTimeValue();if(j&&q){return N.setBoolean(E===(S.asCompileTimeValue()===w.asCompileTimeValue())).setSideEffects(S.couldHaveSideEffects()||w.couldHaveSideEffects())}if(S.isArray()&&w.isArray()){return N.setBoolean(!E).setSideEffects(S.couldHaveSideEffects()||w.couldHaveSideEffects())}if(S.isTemplateString()&&w.isTemplateString()){return handleTemplateStringCompare(S,w,N,E)}const ee=S.isPrimitiveType();const te=w.isPrimitiveType();if(ee===false&&(j||te===true)||te===false&&(q||ee===true)||isAlwaysDifferent(S.asBool(),w.asBool())||isAlwaysDifferent(S.asNullish(),w.asNullish())){return N.setBoolean(!E).setSideEffects(S.couldHaveSideEffects()||w.couldHaveSideEffects())}};const handleAbstractEqualityComparison=E=>{const S=this.evaluateExpression(k.left);if(!S)return;const w=this.evaluateExpression(k.right);if(!w)return;const N=new _e;N.setRange(k.range);const j=S.isCompileTimeValue();const q=w.isCompileTimeValue();if(j&&q){return N.setBoolean(E===(S.asCompileTimeValue()==w.asCompileTimeValue())).setSideEffects(S.couldHaveSideEffects()||w.couldHaveSideEffects())}if(S.isArray()&&w.isArray()){return N.setBoolean(!E).setSideEffects(S.couldHaveSideEffects()||w.couldHaveSideEffects())}if(S.isTemplateString()&&w.isTemplateString()){return handleTemplateStringCompare(S,w,N,E)}};if(k.operator==="+"){const E=this.evaluateExpression(k.left);if(!E)return;const S=this.evaluateExpression(k.right);if(!S)return;const w=new _e;if(E.isString()){if(S.isString()){w.setString(E.string+S.string)}else if(S.isNumber()){w.setString(E.string+S.number)}else if(S.isWrapped()&&S.prefix&&S.prefix.isString()){w.setWrapped((new _e).setString(E.string+S.prefix.string).setRange(joinRanges(E.range,S.prefix.range)),S.postfix,S.wrappedInnerExpressions)}else if(S.isWrapped()){w.setWrapped(E,S.postfix,S.wrappedInnerExpressions)}else{w.setWrapped(E,null,[S])}}else if(E.isNumber()){if(S.isString()){w.setString(E.number+S.string)}else if(S.isNumber()){w.setNumber(E.number+S.number)}else{return}}else if(E.isBigInt()){if(S.isBigInt()){w.setBigInt(E.bigint+S.bigint)}}else if(E.isWrapped()){if(E.postfix&&E.postfix.isString()&&S.isString()){w.setWrapped(E.prefix,(new _e).setString(E.postfix.string+S.string).setRange(joinRanges(E.postfix.range,S.range)),E.wrappedInnerExpressions)}else if(E.postfix&&E.postfix.isString()&&S.isNumber()){w.setWrapped(E.prefix,(new _e).setString(E.postfix.string+S.number).setRange(joinRanges(E.postfix.range,S.range)),E.wrappedInnerExpressions)}else if(S.isString()){w.setWrapped(E.prefix,S,E.wrappedInnerExpressions)}else if(S.isNumber()){w.setWrapped(E.prefix,(new _e).setString(S.number+"").setRange(S.range),E.wrappedInnerExpressions)}else if(S.isWrapped()){w.setWrapped(E.prefix,S.postfix,E.wrappedInnerExpressions&&S.wrappedInnerExpressions&&E.wrappedInnerExpressions.concat(E.postfix?[E.postfix]:[]).concat(S.prefix?[S.prefix]:[]).concat(S.wrappedInnerExpressions))}else{w.setWrapped(E.prefix,null,E.wrappedInnerExpressions&&E.wrappedInnerExpressions.concat(E.postfix?[E.postfix,S]:[S]))}}else{if(S.isString()){w.setWrapped(null,S,[E])}else if(S.isWrapped()){w.setWrapped(null,S.postfix,S.wrappedInnerExpressions&&(S.prefix?[E,S.prefix]:[E]).concat(S.wrappedInnerExpressions))}else{return}}if(E.couldHaveSideEffects()||S.couldHaveSideEffects())w.setSideEffects();w.setRange(k.range);return w}else if(k.operator==="-"){return handleConstOperation(((E,k)=>E-k))}else if(k.operator==="*"){return handleConstOperation(((E,k)=>E*k))}else if(k.operator==="/"){return handleConstOperation(((E,k)=>E/k))}else if(k.operator==="**"){return handleConstOperation(((E,k)=>E**k))}else if(k.operator==="==="){return handleStrictEqualityComparison(true)}else if(k.operator==="=="){return handleAbstractEqualityComparison(true)}else if(k.operator==="!=="){return handleStrictEqualityComparison(false)}else if(k.operator==="!="){return handleAbstractEqualityComparison(false)}else if(k.operator==="&"){return handleConstOperation(((E,k)=>E&k))}else if(k.operator==="|"){return handleConstOperation(((E,k)=>E|k))}else if(k.operator==="^"){return handleConstOperation(((E,k)=>E^k))}else if(k.operator===">>>"){return handleConstOperation(((E,k)=>E>>>k))}else if(k.operator===">>"){return handleConstOperation(((E,k)=>E>>k))}else if(k.operator==="<<"){return handleConstOperation(((E,k)=>E<E"){return handleConstOperation(((E,k)=>E>k))}else if(k.operator==="<="){return handleConstOperation(((E,k)=>E<=k))}else if(k.operator===">="){return handleConstOperation(((E,k)=>E>=k))}}));this.hooks.evaluate.for("UnaryExpression").tap("JavascriptParser",(E=>{const k=E;const handleConstOperation=E=>{const S=this.evaluateExpression(k.argument);if(!S||!S.isCompileTimeValue())return;const w=E(S.asCompileTimeValue());return valueAsExpression(w,k,S.couldHaveSideEffects())};if(k.operator==="typeof"){switch(k.argument.type){case"Identifier":{const E=this.callHooksForName(this.hooks.evaluateTypeof,k.argument.name,k);if(E!==undefined)return E;break}case"MetaProperty":{const E=this.callHooksForName(this.hooks.evaluateTypeof,getRootName(k.argument),k);if(E!==undefined)return E;break}case"MemberExpression":{const E=this.callHooksForExpression(this.hooks.evaluateTypeof,k.argument,k);if(E!==undefined)return E;break}case"ChainExpression":{const E=this.callHooksForExpression(this.hooks.evaluateTypeof,k.argument.expression,k);if(E!==undefined)return E;break}case"FunctionExpression":{return(new _e).setString("function").setRange(k.range)}}const E=this.evaluateExpression(k.argument);if(E.isUnknown())return;if(E.isString()){return(new _e).setString("string").setRange(k.range)}if(E.isWrapped()){return(new _e).setString("string").setSideEffects().setRange(k.range)}if(E.isUndefined()){return(new _e).setString("undefined").setRange(k.range)}if(E.isNumber()){return(new _e).setString("number").setRange(k.range)}if(E.isBigInt()){return(new _e).setString("bigint").setRange(k.range)}if(E.isBoolean()){return(new _e).setString("boolean").setRange(k.range)}if(E.isConstArray()||E.isRegExp()||E.isNull()){return(new _e).setString("object").setRange(k.range)}if(E.isArray()){return(new _e).setString("object").setSideEffects(E.couldHaveSideEffects()).setRange(k.range)}}else if(k.operator==="!"){const E=this.evaluateExpression(k.argument);if(!E)return;const S=E.asBool();if(typeof S!=="boolean")return;return(new _e).setBoolean(!S).setSideEffects(E.couldHaveSideEffects()).setRange(k.range)}else if(k.operator==="~"){return handleConstOperation((E=>~E))}else if(k.operator==="+"){return handleConstOperation((E=>+E))}else if(k.operator==="-"){return handleConstOperation((E=>-E))}}));this.hooks.evaluateTypeof.for("undefined").tap("JavascriptParser",(E=>(new _e).setString("undefined").setRange(E.range)));const tapEvaluateWithVariableInfo=(E,k)=>{let S=undefined;let w=undefined;this.hooks.evaluate.for(E).tap("JavascriptParser",(E=>{const N=E;const j=k(E);if(j!==undefined){return this.callHooksForInfoWithFallback(this.hooks.evaluateIdentifier,j.name,(E=>{S=N;w=j}),(E=>{const k=this.hooks.evaluateDefinedIdentifier.get(E);if(k!==undefined){return k.call(N)}}),N)}}));this.hooks.evaluate.for(E).tap({name:"JavascriptParser",stage:100},(E=>{const N=S===E?w:k(E);if(N!==undefined){return(new _e).setIdentifier(N.name,N.rootInfo,N.getMembers).setRange(E.range)}}));this.hooks.finish.tap("JavascriptParser",(()=>{S=w=undefined}))};tapEvaluateWithVariableInfo("Identifier",(E=>{const k=this.getVariableInfo(E.name);if(typeof k==="string"||k instanceof VariableInfo&&typeof k.freeName==="string"){return{name:k,rootInfo:k,getMembers:()=>[]}}}));tapEvaluateWithVariableInfo("ThisExpression",(E=>{const k=this.getVariableInfo("this");if(typeof k==="string"||k instanceof VariableInfo&&typeof k.freeName==="string"){return{name:k,rootInfo:k,getMembers:()=>[]}}}));this.hooks.evaluate.for("MetaProperty").tap("JavascriptParser",(E=>{const k=E;return this.callHooksForName(this.hooks.evaluateIdentifier,getRootName(E),k)}));tapEvaluateWithVariableInfo("MemberExpression",(E=>this.getMemberExpressionInfo(E,we)));this.hooks.evaluate.for("CallExpression").tap("JavascriptParser",(E=>{const k=E;if(k.callee.type!=="MemberExpression"||k.callee.property.type!==(k.callee.computed?"Literal":"Identifier")){return}const S=this.evaluateExpression(k.callee.object);if(!S)return;const w=k.callee.property.type==="Literal"?`${k.callee.property.value}`:k.callee.property.name;const N=this.hooks.evaluateCallExpressionMember.get(w);if(N!==undefined){return N.call(k,S)}}));this.hooks.evaluateCallExpressionMember.for("indexOf").tap("JavascriptParser",((E,k)=>{if(!k.isString())return;if(E.arguments.length===0)return;const[S,w]=E.arguments;if(S.type==="SpreadElement")return;const N=this.evaluateExpression(S);if(!N.isString())return;const j=N.string;let q;if(w){if(w.type==="SpreadElement")return;const E=this.evaluateExpression(w);if(!E.isNumber())return;q=k.string.indexOf(j,E.number)}else{q=k.string.indexOf(j)}return(new _e).setNumber(q).setSideEffects(k.couldHaveSideEffects()).setRange(E.range)}));this.hooks.evaluateCallExpressionMember.for("replace").tap("JavascriptParser",((E,k)=>{if(!k.isString())return;if(E.arguments.length!==2)return;if(E.arguments[0].type==="SpreadElement")return;if(E.arguments[1].type==="SpreadElement")return;let S=this.evaluateExpression(E.arguments[0]);let w=this.evaluateExpression(E.arguments[1]);if(!S.isString()&&!S.isRegExp())return;const N=S.regExp||S.string;if(!w.isString())return;const j=w.string;return(new _e).setString(k.string.replace(N,j)).setSideEffects(k.couldHaveSideEffects()).setRange(E.range)}));["substr","substring","slice"].forEach((E=>{this.hooks.evaluateCallExpressionMember.for(E).tap("JavascriptParser",((k,S)=>{if(!S.isString())return;let w;let N,j=S.string;switch(k.arguments.length){case 1:if(k.arguments[0].type==="SpreadElement")return;w=this.evaluateExpression(k.arguments[0]);if(!w.isNumber())return;N=j[E](w.number);break;case 2:{if(k.arguments[0].type==="SpreadElement")return;if(k.arguments[1].type==="SpreadElement")return;w=this.evaluateExpression(k.arguments[0]);const S=this.evaluateExpression(k.arguments[1]);if(!w.isNumber())return;if(!S.isNumber())return;N=j[E](w.number,S.number);break}default:return}return(new _e).setString(N).setSideEffects(S.couldHaveSideEffects()).setRange(k.range)}))}));const getSimplifiedTemplateResult=(E,k)=>{const S=[];const w=[];for(let N=0;N0){const E=w[w.length-1];const S=this.evaluateExpression(k.expressions[N-1]);const ee=S.asString();if(typeof ee==="string"&&!S.couldHaveSideEffects()){E.setString(E.string+ee+q);E.setRange([E.range[0],j.range[1]]);E.setExpression(undefined);continue}w.push(S)}const ee=(new _e).setString(q).setRange(j.range).setExpression(j);S.push(ee);w.push(ee)}return{quasis:S,parts:w}};this.hooks.evaluate.for("TemplateLiteral").tap("JavascriptParser",(E=>{const k=E;const{quasis:S,parts:w}=getSimplifiedTemplateResult("cooked",k);if(w.length===1){return w[0].setRange(k.range)}return(new _e).setTemplateString(S,w,"cooked").setRange(k.range)}));this.hooks.evaluate.for("TaggedTemplateExpression").tap("JavascriptParser",(E=>{const k=E;const S=this.evaluateExpression(k.tag);if(S.isIdentifier()&&S.identifier!=="String.raw")return;const{quasis:w,parts:N}=getSimplifiedTemplateResult("raw",k.quasi);return(new _e).setTemplateString(w,N,"raw").setRange(k.range)}));this.hooks.evaluateCallExpressionMember.for("concat").tap("JavascriptParser",((E,k)=>{if(!k.isString()&&!k.isWrapped())return;let S=null;let w=false;const N=[];for(let k=E.arguments.length-1;k>=0;k--){const j=E.arguments[k];if(j.type==="SpreadElement")return;const q=this.evaluateExpression(j);if(w||!q.isString()&&!q.isNumber()){w=true;N.push(q);continue}const ee=q.isString()?q.string:""+q.number;const te=ee+(S?S.string:"");const ne=[q.range[0],(S||q).range[1]];S=(new _e).setString(te).setSideEffects(S&&S.couldHaveSideEffects()||q.couldHaveSideEffects()).setRange(ne)}if(w){const w=k.isString()?k:k.prefix;const j=k.isWrapped()&&k.wrappedInnerExpressions?k.wrappedInnerExpressions.concat(N.reverse()):N.reverse();return(new _e).setWrapped(w,S,j).setRange(E.range)}else if(k.isWrapped()){const w=S||k.postfix;const j=k.wrappedInnerExpressions?k.wrappedInnerExpressions.concat(N.reverse()):N.reverse();return(new _e).setWrapped(k.prefix,w,j).setRange(E.range)}else{const w=k.string+(S?S.string:"");return(new _e).setString(w).setSideEffects(S&&S.couldHaveSideEffects()||k.couldHaveSideEffects()).setRange(E.range)}}));this.hooks.evaluateCallExpressionMember.for("split").tap("JavascriptParser",((E,k)=>{if(!k.isString())return;if(E.arguments.length!==1)return;if(E.arguments[0].type==="SpreadElement")return;let S;const w=this.evaluateExpression(E.arguments[0]);if(w.isString()){S=k.string.split(w.string)}else if(w.isRegExp()){S=k.string.split(w.regExp)}else{return}return(new _e).setArray(S).setSideEffects(k.couldHaveSideEffects()).setRange(E.range)}));this.hooks.evaluate.for("ConditionalExpression").tap("JavascriptParser",(E=>{const k=E;const S=this.evaluateExpression(k.test);const w=S.asBool();let N;if(w===undefined){const E=this.evaluateExpression(k.consequent);const S=this.evaluateExpression(k.alternate);if(!E||!S)return;N=new _e;if(E.isConditional()){N.setOptions(E.options)}else{N.setOptions([E])}if(S.isConditional()){N.addOptions(S.options)}else{N.addOptions([S])}}else{N=this.evaluateExpression(w?k.consequent:k.alternate);if(S.couldHaveSideEffects())N.setSideEffects()}N.setRange(k.range);return N}));this.hooks.evaluate.for("ArrayExpression").tap("JavascriptParser",(E=>{const k=E;const S=k.elements.map((E=>E!==null&&E.type!=="SpreadElement"&&this.evaluateExpression(E)));if(!S.every(Boolean))return;return(new _e).setItems(S).setRange(k.range)}));this.hooks.evaluate.for("ChainExpression").tap("JavascriptParser",(E=>{const k=E;const S=[];let w=k.expression;while(w.type==="MemberExpression"||w.type==="CallExpression"){if(w.type==="MemberExpression"){if(w.optional){S.push(w.object)}w=w.object}else{if(w.optional){S.push(w.callee)}w=w.callee}}while(S.length>0){const k=S.pop();const w=this.evaluateExpression(k);if(w&&w.asNullish()){return w.setRange(E.range)}}return this.evaluateExpression(k.expression)}))}getRenameIdentifier(E){const k=this.evaluateExpression(E);if(k&&k.isIdentifier()){return k.identifier}}walkClass(E){if(E.superClass){if(!this.hooks.classExtendsExpression.call(E.superClass,E)){this.walkExpression(E.superClass)}}if(E.body&&E.body.type==="ClassBody"){for(const k of E.body.body){if(!this.hooks.classBodyElement.call(k,E)){if(k.computed&&k.key){this.walkExpression(k.key)}if(k.value){if(!this.hooks.classBodyValue.call(k.value,k,E)){const E=this.scope.topLevelScope;this.scope.topLevelScope=false;this.walkExpression(k.value);this.scope.topLevelScope=E}}}}}}preWalkStatements(E){for(let k=0,S=E.length;k{const k=E.body;const S=this.prevStatement;this.blockPreWalkStatements(k);this.prevStatement=S;this.walkStatements(k)}))}walkExpressionStatement(E){this.walkExpression(E.expression)}preWalkIfStatement(E){this.preWalkStatement(E.consequent);if(E.alternate){this.preWalkStatement(E.alternate)}}walkIfStatement(E){const k=this.hooks.statementIf.call(E);if(k===undefined){this.walkExpression(E.test);this.walkNestedStatement(E.consequent);if(E.alternate){this.walkNestedStatement(E.alternate)}}else{if(k){this.walkNestedStatement(E.consequent)}else if(E.alternate){this.walkNestedStatement(E.alternate)}}}preWalkLabeledStatement(E){this.preWalkStatement(E.body)}walkLabeledStatement(E){const k=this.hooks.label.get(E.label.name);if(k!==undefined){const S=k.call(E);if(S===true)return}this.walkNestedStatement(E.body)}preWalkWithStatement(E){this.preWalkStatement(E.body)}walkWithStatement(E){this.walkExpression(E.object);this.walkNestedStatement(E.body)}preWalkSwitchStatement(E){this.preWalkSwitchCases(E.cases)}walkSwitchStatement(E){this.walkExpression(E.discriminant);this.walkSwitchCases(E.cases)}walkTerminatingStatement(E){if(E.argument)this.walkExpression(E.argument)}walkReturnStatement(E){this.walkTerminatingStatement(E)}walkThrowStatement(E){this.walkTerminatingStatement(E)}preWalkTryStatement(E){this.preWalkStatement(E.block);if(E.handler)this.preWalkCatchClause(E.handler);if(E.finializer)this.preWalkStatement(E.finializer)}walkTryStatement(E){if(this.scope.inTry){this.walkStatement(E.block)}else{this.scope.inTry=true;this.walkStatement(E.block);this.scope.inTry=false}if(E.handler)this.walkCatchClause(E.handler);if(E.finalizer)this.walkStatement(E.finalizer)}preWalkWhileStatement(E){this.preWalkStatement(E.body)}walkWhileStatement(E){this.walkExpression(E.test);this.walkNestedStatement(E.body)}preWalkDoWhileStatement(E){this.preWalkStatement(E.body)}walkDoWhileStatement(E){this.walkNestedStatement(E.body);this.walkExpression(E.test)}preWalkForStatement(E){if(E.init){if(E.init.type==="VariableDeclaration"){this.preWalkStatement(E.init)}}this.preWalkStatement(E.body)}walkForStatement(E){this.inBlockScope((()=>{if(E.init){if(E.init.type==="VariableDeclaration"){this.blockPreWalkVariableDeclaration(E.init);this.prevStatement=undefined;this.walkStatement(E.init)}else{this.walkExpression(E.init)}}if(E.test){this.walkExpression(E.test)}if(E.update){this.walkExpression(E.update)}const k=E.body;if(k.type==="BlockStatement"){const E=this.prevStatement;this.blockPreWalkStatements(k.body);this.prevStatement=E;this.walkStatements(k.body)}else{this.walkNestedStatement(k)}}))}preWalkForInStatement(E){if(E.left.type==="VariableDeclaration"){this.preWalkVariableDeclaration(E.left)}this.preWalkStatement(E.body)}walkForInStatement(E){this.inBlockScope((()=>{if(E.left.type==="VariableDeclaration"){this.blockPreWalkVariableDeclaration(E.left);this.walkVariableDeclaration(E.left)}else{this.walkPattern(E.left)}this.walkExpression(E.right);const k=E.body;if(k.type==="BlockStatement"){const E=this.prevStatement;this.blockPreWalkStatements(k.body);this.prevStatement=E;this.walkStatements(k.body)}else{this.walkNestedStatement(k)}}))}preWalkForOfStatement(E){if(E.await&&this.scope.topLevelScope===true){this.hooks.topLevelAwait.call(E)}if(E.left.type==="VariableDeclaration"){this.preWalkVariableDeclaration(E.left)}this.preWalkStatement(E.body)}walkForOfStatement(E){this.inBlockScope((()=>{if(E.left.type==="VariableDeclaration"){this.blockPreWalkVariableDeclaration(E.left);this.walkVariableDeclaration(E.left)}else{this.walkPattern(E.left)}this.walkExpression(E.right);const k=E.body;if(k.type==="BlockStatement"){const E=this.prevStatement;this.blockPreWalkStatements(k.body);this.prevStatement=E;this.walkStatements(k.body)}else{this.walkNestedStatement(k)}}))}preWalkFunctionDeclaration(E){if(E.id){this.defineVariable(E.id.name)}}walkFunctionDeclaration(E){const k=this.scope.topLevelScope;this.scope.topLevelScope=false;this.inFunctionScope(true,E.params,(()=>{for(const k of E.params){this.walkPattern(k)}if(E.body.type==="BlockStatement"){this.detectMode(E.body.body);const k=this.prevStatement;this.preWalkStatement(E.body);this.prevStatement=k;this.walkStatement(E.body)}else{this.walkExpression(E.body)}}));this.scope.topLevelScope=k}blockPreWalkImportDeclaration(E){const k=E.source.value;this.hooks.import.call(E,k);for(const S of E.specifiers){const w=S.local.name;switch(S.type){case"ImportDefaultSpecifier":if(!this.hooks.importSpecifier.call(E,k,"default",w)){this.defineVariable(w)}break;case"ImportSpecifier":if(!this.hooks.importSpecifier.call(E,k,S.imported.name,w)){this.defineVariable(w)}break;case"ImportNamespaceSpecifier":if(!this.hooks.importSpecifier.call(E,k,null,w)){this.defineVariable(w)}break;default:this.defineVariable(w)}}}enterDeclaration(E,k){switch(E.type){case"VariableDeclaration":for(const S of E.declarations){switch(S.type){case"VariableDeclarator":{this.enterPattern(S.id,k);break}}}break;case"FunctionDeclaration":this.enterPattern(E.id,k);break;case"ClassDeclaration":this.enterPattern(E.id,k);break}}blockPreWalkExportNamedDeclaration(E){let k;if(E.source){k=E.source.value;this.hooks.exportImport.call(E,k)}else{this.hooks.export.call(E)}if(E.declaration){if(!this.hooks.exportDeclaration.call(E,E.declaration)){const k=this.prevStatement;this.preWalkStatement(E.declaration);this.prevStatement=k;this.blockPreWalkStatement(E.declaration);let S=0;this.enterDeclaration(E.declaration,(k=>{this.hooks.exportSpecifier.call(E,k,k,S++)}))}}if(E.specifiers){for(let S=0;S{let w=k.get(E);if(w===undefined||!w.call(S)){w=this.hooks.varDeclaration.get(E);if(w===undefined||!w.call(S)){this.defineVariable(E)}}}))}break}}}}walkVariableDeclaration(E){for(const k of E.declarations){switch(k.type){case"VariableDeclarator":{const S=k.init&&this.getRenameIdentifier(k.init);if(S&&k.id.type==="Identifier"){const E=this.hooks.canRename.get(S);if(E!==undefined&&E.call(k.init)){const E=this.hooks.rename.get(S);if(E===undefined||!E.call(k.init)){this.setVariable(k.id.name,S)}break}}if(!this.hooks.declarator.call(k,E)){this.walkPattern(k.id);if(k.init)this.walkExpression(k.init)}break}}}}blockPreWalkClassDeclaration(E){if(E.id){this.defineVariable(E.id.name)}}walkClassDeclaration(E){this.walkClass(E)}preWalkSwitchCases(E){for(let k=0,S=E.length;k{const k=E.length;for(let S=0;S0){const E=this.prevStatement;this.blockPreWalkStatements(k.consequent);this.prevStatement=E}}for(let S=0;S0){this.walkStatements(k.consequent)}}}))}preWalkCatchClause(E){this.preWalkStatement(E.body)}walkCatchClause(E){this.inBlockScope((()=>{if(E.param!==null){this.enterPattern(E.param,(E=>{this.defineVariable(E)}));this.walkPattern(E.param)}const k=this.prevStatement;this.blockPreWalkStatement(E.body);this.prevStatement=k;this.walkStatement(E.body)}))}walkPattern(E){switch(E.type){case"ArrayPattern":this.walkArrayPattern(E);break;case"AssignmentPattern":this.walkAssignmentPattern(E);break;case"MemberExpression":this.walkMemberExpression(E);break;case"ObjectPattern":this.walkObjectPattern(E);break;case"RestElement":this.walkRestElement(E);break}}walkAssignmentPattern(E){this.walkExpression(E.right);this.walkPattern(E.left)}walkObjectPattern(E){for(let k=0,S=E.properties.length;k{for(const k of E.params){this.walkPattern(k)}if(E.body.type==="BlockStatement"){this.detectMode(E.body.body);const k=this.prevStatement;this.preWalkStatement(E.body);this.prevStatement=k;this.walkStatement(E.body)}else{this.walkExpression(E.body)}}));this.scope.topLevelScope=k}walkArrowFunctionExpression(E){const k=this.scope.topLevelScope;this.scope.topLevelScope=k?"arrow":false;this.inFunctionScope(false,E.params,(()=>{for(const k of E.params){this.walkPattern(k)}if(E.body.type==="BlockStatement"){this.detectMode(E.body.body);const k=this.prevStatement;this.preWalkStatement(E.body);this.prevStatement=k;this.walkStatement(E.body)}else{this.walkExpression(E.body)}}));this.scope.topLevelScope=k}walkSequenceExpression(E){if(!E.expressions)return;const k=this.statementPath[this.statementPath.length-1];if(k===E||k.type==="ExpressionStatement"&&k.expression===E){const k=this.statementPath.pop();for(const k of E.expressions){this.statementPath.push(k);this.walkExpression(k);this.statementPath.pop()}this.statementPath.push(k)}else{this.walkExpressions(E.expressions)}}walkUpdateExpression(E){this.walkExpression(E.argument)}walkUnaryExpression(E){if(E.operator==="typeof"){const k=this.callHooksForExpression(this.hooks.typeof,E.argument,E);if(k===true)return;if(E.argument.type==="ChainExpression"){const k=this.callHooksForExpression(this.hooks.typeof,E.argument.expression,E);if(k===true)return}}this.walkExpression(E.argument)}walkLeftRightExpression(E){this.walkExpression(E.left);this.walkExpression(E.right)}walkBinaryExpression(E){this.walkLeftRightExpression(E)}walkLogicalExpression(E){const k=this.hooks.expressionLogicalOperator.call(E);if(k===undefined){this.walkLeftRightExpression(E)}else{if(k){this.walkExpression(E.right)}}}walkAssignmentExpression(E){if(E.left.type==="Identifier"){const k=this.getRenameIdentifier(E.right);if(k){if(this.callHooksForInfo(this.hooks.canRename,k,E.right)){if(!this.callHooksForInfo(this.hooks.rename,k,E.right)){this.setVariable(E.left.name,this.getVariableInfo(k))}return}}this.walkExpression(E.right);this.enterPattern(E.left,((k,S)=>{if(!this.callHooksForName(this.hooks.assign,k,E)){this.walkExpression(E.left)}}));return}if(E.left.type.endsWith("Pattern")){this.walkExpression(E.right);this.enterPattern(E.left,((k,S)=>{if(!this.callHooksForName(this.hooks.assign,k,E)){this.defineVariable(k)}}));this.walkPattern(E.left)}else if(E.left.type==="MemberExpression"){const k=this.getMemberExpressionInfo(E.left,we);if(k){if(this.callHooksForInfo(this.hooks.assignMemberChain,k.rootInfo,E,k.getMembers())){return}}this.walkExpression(E.right);this.walkExpression(E.left)}else{this.walkExpression(E.right);this.walkExpression(E.left)}}walkConditionalExpression(E){const k=this.hooks.expressionConditionalOperator.call(E);if(k===undefined){this.walkExpression(E.test);this.walkExpression(E.consequent);if(E.alternate){this.walkExpression(E.alternate)}}else{if(k){this.walkExpression(E.consequent)}else if(E.alternate){this.walkExpression(E.alternate)}}}walkNewExpression(E){const k=this.callHooksForExpression(this.hooks.new,E.callee,E);if(k===true)return;this.walkExpression(E.callee);if(E.arguments){this.walkExpressions(E.arguments)}}walkYieldExpression(E){if(E.argument){this.walkExpression(E.argument)}}walkTemplateLiteral(E){if(E.expressions){this.walkExpressions(E.expressions)}}walkTaggedTemplateExpression(E){if(E.tag){this.walkExpression(E.tag)}if(E.quasi&&E.quasi.expressions){this.walkExpressions(E.quasi.expressions)}}walkClassExpression(E){this.walkClass(E)}walkChainExpression(E){const k=this.hooks.optionalChaining.call(E);if(k===undefined){if(E.expression.type==="CallExpression"){this.walkCallExpression(E.expression)}else{this.walkMemberExpression(E.expression)}}}_walkIIFE(E,k,S){const getVarInfo=E=>{const k=this.getRenameIdentifier(E);if(k){if(this.callHooksForInfo(this.hooks.canRename,k,E)){if(!this.callHooksForInfo(this.hooks.rename,k,E)){return this.getVariableInfo(k)}}}this.walkExpression(E)};const{params:w,type:N}=E;const j=N==="ArrowFunctionExpression";const q=S?getVarInfo(S):null;const ee=k.map(getVarInfo);const te=this.scope.topLevelScope;this.scope.topLevelScope=te&&j?"arrow":false;const ne=w.filter(((E,k)=>!ee[k]));if(E.id){ne.push(E.id.name)}this.inFunctionScope(true,ne,(()=>{if(q&&!j){this.setVariable("this",q)}for(let E=0;EE.params.every((E=>E.type==="Identifier"));if(E.callee.type==="MemberExpression"&&E.callee.object.type.endsWith("FunctionExpression")&&!E.callee.computed&&(E.callee.property.name==="call"||E.callee.property.name==="bind")&&E.arguments.length>0&&isSimpleFunction(E.callee.object)){this._walkIIFE(E.callee.object,E.arguments.slice(1),E.arguments[0])}else if(E.callee.type.endsWith("FunctionExpression")&&isSimpleFunction(E.callee)){this._walkIIFE(E.callee,E.arguments,null)}else{if(E.callee.type==="MemberExpression"){const k=this.getMemberExpressionInfo(E.callee,Ee);if(k&&k.type==="call"){const S=this.callHooksForInfo(this.hooks.callMemberChainOfCallMemberChain,k.rootInfo,E,k.getCalleeMembers(),k.call,k.getMembers());if(S===true)return}}const k=this.evaluateExpression(E.callee);if(k.isIdentifier()){const S=this.callHooksForInfo(this.hooks.callMemberChain,k.rootInfo,E,k.getMembers());if(S===true)return;const w=this.callHooksForInfo(this.hooks.call,k.identifier,E);if(w===true)return}if(E.callee){if(E.callee.type==="MemberExpression"){this.walkExpression(E.callee.object);if(E.callee.computed===true)this.walkExpression(E.callee.property)}else{this.walkExpression(E.callee)}}if(E.arguments)this.walkExpressions(E.arguments)}}walkMemberExpression(E){const k=this.getMemberExpressionInfo(E,Ce);if(k){switch(k.type){case"expression":{const S=this.callHooksForInfo(this.hooks.expression,k.name,E);if(S===true)return;const w=k.getMembers();const N=this.callHooksForInfo(this.hooks.expressionMemberChain,k.rootInfo,E,w);if(N===true)return;this.walkMemberExpressionWithExpressionName(E,k.name,k.rootInfo,w.slice(),(()=>this.callHooksForInfo(this.hooks.unhandledExpressionMemberChain,k.rootInfo,E,w)));return}case"call":{const S=this.callHooksForInfo(this.hooks.memberChainOfCallMemberChain,k.rootInfo,E,k.getCalleeMembers(),k.call,k.getMembers());if(S===true)return;this.walkExpression(k.call);return}}}this.walkExpression(E.object);if(E.computed===true)this.walkExpression(E.property)}walkMemberExpressionWithExpressionName(E,k,S,w,N){if(E.object.type==="MemberExpression"){const j=E.property.name||`${E.property.value}`;k=k.slice(0,-j.length-1);w.pop();const q=this.callHooksForInfo(this.hooks.expression,k,E.object);if(q===true)return;this.walkMemberExpressionWithExpressionName(E.object,k,S,w,N)}else if(!N||!N()){this.walkExpression(E.object)}if(E.computed===true)this.walkExpression(E.property)}walkThisExpression(E){this.callHooksForName(this.hooks.expression,"this",E)}walkIdentifier(E){this.callHooksForName(this.hooks.expression,E.name,E)}walkMetaProperty(E){this.hooks.expression.for(getRootName(E)).call(E)}callHooksForExpression(E,k,...S){return this.callHooksForExpressionWithFallback(E,k,undefined,undefined,...S)}callHooksForExpressionWithFallback(E,k,S,w,...N){const j=this.getMemberExpressionInfo(k,we);if(j!==undefined){const k=j.getMembers();return this.callHooksForInfoWithFallback(E,k.length===0?j.rootInfo:j.name,S&&(E=>S(E,j.rootInfo,j.getMembers)),w&&(()=>w(j.name)),...N)}}callHooksForName(E,k,...S){return this.callHooksForNameWithFallback(E,k,undefined,undefined,...S)}callHooksForInfo(E,k,...S){return this.callHooksForInfoWithFallback(E,k,undefined,undefined,...S)}callHooksForInfoWithFallback(E,k,S,w,...N){let j;if(typeof k==="string"){j=k}else{if(!(k instanceof VariableInfo)){if(w!==undefined){return w()}return}let S=k.tagInfo;while(S!==undefined){const k=E.get(S.tag);if(k!==undefined){this.currentTagData=S.data;const E=k.call(...N);this.currentTagData=undefined;if(E!==undefined)return E}S=S.next}if(k.freeName===true){if(w!==undefined){return w()}return}j=k.freeName}const q=E.get(j);if(q!==undefined){const E=q.call(...N);if(E!==undefined)return E}if(S!==undefined){return S(j)}}callHooksForNameWithFallback(E,k,S,w,...N){return this.callHooksForInfoWithFallback(E,this.getVariableInfo(k),S,w,...N)}inScope(E,k){const S=this.scope;this.scope={topLevelScope:S.topLevelScope,inTry:false,inShorthand:false,isStrict:S.isStrict,isAsmJs:S.isAsmJs,definitions:S.definitions.createChild()};this.undefineVariable("this");this.enterPatterns(E,((E,k)=>{this.defineVariable(E)}));k();this.scope=S}inFunctionScope(E,k,S){const w=this.scope;this.scope={topLevelScope:w.topLevelScope,inTry:false,inShorthand:false,isStrict:w.isStrict,isAsmJs:w.isAsmJs,definitions:w.definitions.createChild()};if(E){this.undefineVariable("this")}this.enterPatterns(k,((E,k)=>{this.defineVariable(E)}));S();this.scope=w}inBlockScope(E){const k=this.scope;this.scope={topLevelScope:k.topLevelScope,inTry:k.inTry,inShorthand:false,isStrict:k.isStrict,isAsmJs:k.isAsmJs,definitions:k.definitions.createChild()};E();this.scope=k}detectMode(E){const k=E.length>=1&&E[0].type==="ExpressionStatement"&&E[0].expression.type==="Literal";if(k&&E[0].expression.value==="use strict"){this.scope.isStrict=true}if(k&&E[0].expression.value==="use asm"){this.scope.isAsmJs=true}}enterPatterns(E,k){for(const S of E){if(typeof S!=="string"){this.enterPattern(S,k)}else if(S){k(S)}}}enterPattern(E,k){if(!E)return;switch(E.type){case"ArrayPattern":this.enterArrayPattern(E,k);break;case"AssignmentPattern":this.enterAssignmentPattern(E,k);break;case"Identifier":this.enterIdentifier(E,k);break;case"ObjectPattern":this.enterObjectPattern(E,k);break;case"RestElement":this.enterRestElement(E,k);break;case"Property":if(E.shorthand&&E.value.type==="Identifier"){this.scope.inShorthand=E.value.name;this.enterIdentifier(E.value,k);this.scope.inShorthand=false}else{this.enterPattern(E.value,k)}break}}enterIdentifier(E,k){if(!this.callHooksForName(this.hooks.pattern,E.name,E)){k(E.name,E)}}enterObjectPattern(E,k){for(let S=0,w=E.properties.length;SN.add(E)})}const j=this.scope;const q=this.state;const ee=this.comments;const ne=this.semicolons;const ae=this.statementPath;const _e=this.prevStatement;this.scope={topLevelScope:true,inTry:false,inShorthand:false,isStrict:false,isAsmJs:false,definitions:new te};this.state=k;this.comments=w;this.semicolons=N;this.statementPath=[];this.prevStatement=undefined;if(this.hooks.program.call(S,w)===undefined){this.detectMode(S.body);this.preWalkStatements(S.body);this.prevStatement=undefined;this.blockPreWalkStatements(S.body);this.prevStatement=undefined;this.walkStatements(S.body)}this.hooks.finish.call(S,w);this.scope=j;this.state=q;this.comments=ee;this.semicolons=ne;this.statementPath=ae;this.prevStatement=_e;return k}evaluate(E){const k=JavascriptParser._parse("("+E+")",{sourceType:this.sourceType,locations:false});if(k.body.length!==1||k.body[0].type!=="ExpressionStatement"){throw new Error("evaluate: Source is not a expression")}return this.evaluateExpression(k.body[0].expression)}isPure(E,k){if(!E)return true;const S=this.hooks.isPure.for(E.type).call(E,k);if(typeof S==="boolean")return S;switch(E.type){case"ClassDeclaration":case"ClassExpression":{if(E.body.type!=="ClassBody")return false;if(E.superClass&&!this.isPure(E.superClass,E.range[0])){return false}const k=E.body.body;return k.every((E=>(!E.computed||!E.key||this.isPure(E.key,E.range[0]))&&(!E.static||!E.value||this.isPure(E.value,E.key?E.key.range[1]:E.range[0]))))}case"FunctionDeclaration":case"FunctionExpression":case"ArrowFunctionExpression":case"Literal":case"PrivateIdentifier":return true;case"VariableDeclaration":return E.declarations.every((E=>this.isPure(E.init,E.range[0])));case"ConditionalExpression":return this.isPure(E.test,k)&&this.isPure(E.consequent,E.test.range[1])&&this.isPure(E.alternate,E.consequent.range[1]);case"SequenceExpression":return E.expressions.every((E=>{const S=this.isPure(E,k);k=E.range[1];return S}));case"CallExpression":{const S=E.range[0]-k>12&&this.getComments([k,E.range[0]]).some((E=>E.type==="Block"&&/^\s*(#|@)__PURE__\s*$/.test(E.value)));if(!S)return false;k=E.callee.range[1];return E.arguments.every((E=>{if(E.type==="SpreadElement")return false;const S=this.isPure(E,k);k=E.range[1];return S}))}}const w=this.evaluateExpression(E);return!w.couldHaveSideEffects()}getComments(E){const[k,S]=E;const compare=(E,k)=>E.range[0]-k;let w=ne.ge(this.comments,k,compare);let N=[];while(this.comments[w]&&this.comments[w].range[1]<=S){N.push(this.comments[w]);w++}return N}isAsiPosition(E){const k=this.statementPath[this.statementPath.length-1];if(k===undefined)throw new Error("Not in statement");return k.range[1]===E&&this.semicolons.has(E)||k.range[0]===E&&this.prevStatement!==undefined&&this.semicolons.has(this.prevStatement.range[1])}unsetAsiPosition(E){this.semicolons.delete(E)}isStatementLevelExpression(E){const k=this.statementPath[this.statementPath.length-1];return E===k||k.type==="ExpressionStatement"&&k.expression===E}getTagData(E,k){const S=this.scope.definitions.get(E);if(S instanceof VariableInfo){let E=S.tagInfo;while(E!==undefined){if(E.tag===k)return E.data;E=E.next}}}tagVariable(E,k,S){const w=this.scope.definitions.get(E);let N;if(w===undefined){N=new VariableInfo(this.scope,E,{tag:k,data:S,next:undefined})}else if(w instanceof VariableInfo){N=new VariableInfo(w.declaredScope,w.freeName,{tag:k,data:S,next:w.tagInfo})}else{N=new VariableInfo(w,true,{tag:k,data:S,next:undefined})}this.scope.definitions.set(E,N)}defineVariable(E){const k=this.scope.definitions.get(E);if(k instanceof VariableInfo&&k.declaredScope===this.scope)return;this.scope.definitions.set(E,this.scope)}undefineVariable(E){this.scope.definitions.delete(E)}isVariableDefined(E){const k=this.scope.definitions.get(E);if(k===undefined)return false;if(k instanceof VariableInfo){return k.freeName===true}return true}getVariableInfo(E){const k=this.scope.definitions.get(E);if(k===undefined){return E}else{return k}}setVariable(E,k){if(typeof k==="string"){if(k===E){this.scope.definitions.delete(E)}else{this.scope.definitions.set(E,new VariableInfo(this.scope,k,undefined))}}else{this.scope.definitions.set(E,k)}}parseCommentOptions(E){const k=this.getComments(E);if(k.length===0){return Oe}let S={};let w=[];for(const E of k){const{value:k}=E;if(k&&Ie.test(k)){try{const E=q.runInNewContext(`(function(){return {${k}};})()`);Object.assign(S,E)}catch(k){k.comment=E;w.push(k)}}}return{options:S,errors:w}}extractMemberExpressionChain(E){let k=E;const S=[];while(k.type==="MemberExpression"){if(k.computed){if(k.property.type!=="Literal")break;S.push(`${k.property.value}`)}else{if(k.property.type!=="Identifier")break;S.push(k.property.name)}k=k.object}return{members:S,object:k}}getFreeInfoFromVariable(E){const k=this.getVariableInfo(E);let S;if(k instanceof VariableInfo){S=k.freeName;if(typeof S!=="string")return undefined}else if(typeof k!=="string"){return undefined}else{S=k}return{info:k,name:S}}getMemberExpressionInfo(E,k){const{object:S,members:w}=this.extractMemberExpressionChain(E);switch(S.type){case"CallExpression":{if((k&Ee)===0)return undefined;let E=S.callee;let N=ve;if(E.type==="MemberExpression"){({object:E,members:N}=this.extractMemberExpressionChain(E))}const j=getRootName(E);if(!j)return undefined;const q=this.getFreeInfoFromVariable(j);if(!q)return undefined;const{info:ee,name:te}=q;const ne=objectAndMembersToName(te,N);return{type:"call",call:S,calleeName:ne,rootInfo:ee,getCalleeMembers:ae((()=>N.reverse())),name:objectAndMembersToName(`${ne}()`,w),getMembers:ae((()=>w.reverse()))}}case"Identifier":case"MetaProperty":case"ThisExpression":{if((k&we)===0)return undefined;const E=getRootName(S);if(!E)return undefined;const N=this.getFreeInfoFromVariable(E);if(!N)return undefined;const{info:j,name:q}=N;return{type:"expression",name:objectAndMembersToName(q,w),rootInfo:j,getMembers:ae((()=>w.reverse()))}}}}getNameForExpression(E){return this.getMemberExpressionInfo(E,we)}static _parse(E,k){const S=k?k.sourceType:"module";const w={...Te,allowReturnOutsideFunction:S==="script",...k,sourceType:S==="auto"?"module":S};let N;let j;let q=false;try{N=Me.parse(E,w)}catch(E){j=E;q=true}if(q&&S==="auto"){w.sourceType="script";if(!("allowReturnOutsideFunction"in k)){w.allowReturnOutsideFunction=true}if(Array.isArray(w.onComment)){w.onComment.length=0}try{N=Me.parse(E,w);q=false}catch(E){}}if(q){throw j}return N}}E.exports=JavascriptParser;E.exports.ALLOWED_MEMBER_TYPES_ALL=Ce;E.exports.ALLOWED_MEMBER_TYPES_EXPRESSION=we;E.exports.ALLOWED_MEMBER_TYPES_CALL_EXPRESSION=Ee},48472:(E,k,S)=>{"use strict";const w=S(53558);const N=S(66298);const j=S(87250);k.toConstantDependency=(E,k,S)=>function constDependency(w){const j=new N(k,w.range,S);j.loc=w.loc;E.state.module.addPresentationalDependency(j);return true};k.evaluateToString=E=>function stringExpression(k){return(new j).setString(E).setRange(k.range)};k.evaluateToNumber=E=>function stringExpression(k){return(new j).setNumber(E).setRange(k.range)};k.evaluateToBoolean=E=>function booleanExpression(k){return(new j).setBoolean(E).setRange(k.range)};k.evaluateToIdentifier=(E,k,S,w)=>function identifierExpression(N){let q=(new j).setIdentifier(E,k,S).setSideEffects(false).setRange(N.range);switch(w){case true:q.setTruthy();q.setNullish(false);break;case null:q.setFalsy();q.setNullish(true);break;case false:q.setFalsy();break}return q};k.expressionIsUnsupported=(E,k)=>function unsupportedExpression(S){const j=new N("(void 0)",S.range,null);j.loc=S.loc;E.state.module.addPresentationalDependency(j);if(!E.state.module)return;E.state.module.addWarning(new w(k,S.loc));return true};k.skipTraversal=()=>true;k.approve=()=>true},13085:(E,k,S)=>{"use strict";const w=S(71452);const N=S(76150);const j=S(58159);const{isSubset:q}=S(26221);const{chunkHasJs:ee}=S(18161);const getAllChunks=(E,k,S)=>{const N=new Set([E]);const j=new Set;for(const E of N){for(const w of E.chunks){if(w===k)continue;if(w===S)continue;j.add(w)}for(const k of E.parentsIterable){if(k instanceof w)N.add(k)}}return j};const te="var __webpack_exports__ = ";k.generateEntryStartup=(E,k,S,w,ee)=>{const ne=[`var __webpack_exec__ = ${k.returningFunction(`__webpack_require__(${N.entryModuleId} = moduleId)`,"moduleId")}`];const runModule=E=>`__webpack_exec__(${JSON.stringify(E)})`;const outputCombination=(E,S,w)=>{if(E.size===0){ne.push(`${w?te:""}(${S.map(runModule).join(", ")});`)}else{const j=k.returningFunction(S.map(runModule).join(", "));ne.push(`${w&&!ee?te:""}${ee?N.onChunksLoaded:N.startupEntrypoint}(0, ${JSON.stringify(Array.from(E,(E=>E.id)))}, ${j});`);if(w&&ee){ne.push(`${te}${N.onChunksLoaded}();`)}}};let ae=undefined;let _e=undefined;for(const[k,N]of S){const S=N.getRuntimeChunk();const j=E.getModuleId(k);const ee=getAllChunks(N,w,S);if(ae&&ae.size===ee.size&&q(ae,ee)){_e.push(j)}else{if(ae){outputCombination(ae,_e)}ae=ee;_e=[j]}}if(ae){outputCombination(ae,_e,true)}ne.push("");return j.asString(ne)};k.updateHashForEntryStartup=(E,k,S,w)=>{for(const[N,j]of S){const S=j.getRuntimeChunk();const q=k.getModuleId(N);E.update(`${q}`);for(const k of getAllChunks(j,w,S))E.update(`${k.id}`)}};k.getInitialChunkIds=(E,k)=>{const S=new Set(E.ids);for(const w of E.getAllInitialChunks()){if(w===E||ee(w,k))continue;for(const E of w.ids)S.add(E)}return S}},72055:(E,k,S)=>{"use strict";const{register:w}=S(24568);class JsonData{constructor(E){this._buffer=undefined;this._data=undefined;if(Buffer.isBuffer(E)){this._buffer=E}else{this._data=E}}get(){if(this._data===undefined&&this._buffer!==undefined){this._data=JSON.parse(this._buffer.toString())}return this._data}}w(JsonData,"webpack/lib/json/JsonData",null,{serialize(E,{write:k}){if(E._buffer===undefined&&E._data!==undefined){E._buffer=Buffer.from(JSON.stringify(E._data))}k(E._buffer)},deserialize({read:E}){return new JsonData(E())}});E.exports=JsonData},79279:(E,k,S)=>{"use strict";const{RawSource:w}=S(48135);const N=S(77294);const{UsageState:j}=S(76632);const q=S(36253);const ee=S(76150);const stringifySafe=E=>{const k=JSON.stringify(E);if(!k){return undefined}return k.replace(/\u2028|\u2029/g,(E=>E==="\u2029"?"\\u2029":"\\u2028"))};const createObjectForExportsInfo=(E,k,S)=>{if(k.otherExportsInfo.getUsed(S)!==j.Unused)return E;const w=Array.isArray(E);const N=w?[]:{};for(const w of Object.keys(E)){const q=k.getReadOnlyExportInfo(w);const ee=q.getUsed(S);if(ee===j.Unused)continue;let te;if(ee===j.OnlyPropertiesUsed&&q.exportsInfo){te=createObjectForExportsInfo(E[w],q.exportsInfo,S)}else{te=E[w]}const ne=q.getUsedName(w,S);N[ne]=te}if(w){let w=k.getReadOnlyExportInfo("length").getUsed(S)!==j.Unused?E.length:undefined;let q=0;for(let E=0;E20&&typeof ve==="object"?`JSON.parse('${Ee.replace(/[\\']/g,"\\$&")}')`:Ee;let Ce;if(ne){Ce=`${S.supportsConst()?"const":"var"} ${N.NAMESPACE_OBJECT_EXPORT} = ${we};`;ne.registerNamespaceExport(N.NAMESPACE_OBJECT_EXPORT)}else{q.add(ee.module);Ce=`${E.moduleArgument}.exports = ${we};`}return new w(Ce)}}E.exports=JsonGenerator},9483:(E,k,S)=>{"use strict";const w=S(35817);const N=S(79279);const j=S(79232);const q=w(S(71633),(()=>S(18496)),{name:"Json Modules Plugin",baseDataPath:"parser"});class JsonModulesPlugin{apply(E){E.hooks.compilation.tap("JsonModulesPlugin",((E,{normalModuleFactory:k})=>{k.hooks.createParser.for("json").tap("JsonModulesPlugin",(E=>{q(E);return new j(E)}));k.hooks.createGenerator.for("json").tap("JsonModulesPlugin",(()=>new N))}))}}E.exports=JsonModulesPlugin},79232:(E,k,S)=>{"use strict";const w=S(78688);const N=S(2172);const j=S(38895);const q=S(72055);class JsonParser extends N{constructor(E){super();this.options=E||{}}parse(E,k){if(Buffer.isBuffer(E)){E=E.toString("utf-8")}const S=typeof this.options.parse==="function"?this.options.parse:w;const N=typeof E==="object"?E:S(E[0]==="\ufeff"?E.slice(1):E);k.module.buildInfo.jsonData=new q(N);k.module.buildInfo.strict=true;k.module.buildMeta.exportsType="default";k.module.buildMeta.defaultObject=typeof N==="object"?"redirect-warn":false;k.module.addDependency(new j(j.getExportsFromData(N)));return k}}E.exports=JsonParser},9786:(E,k,S)=>{"use strict";const w=S(76150);const N=S(18161);const j="Common configuration options that specific library names are 'output.library[.name]', 'entry.xyz.library[.name]', 'ModuleFederationPlugin.name' and 'ModuleFederationPlugin.library[.name]'.";class AbstractLibraryPlugin{constructor({pluginName:E,type:k}){this._pluginName=E;this._type=k;this._parseCache=new WeakMap}apply(E){const{_pluginName:k}=this;E.hooks.thisCompilation.tap(k,(E=>{E.hooks.finishModules.tap({name:k,stage:10},(()=>{for(const[k,{dependencies:S,options:{library:w}}]of E.entries){const N=this._parseOptionsCached(w!==undefined?w:E.outputOptions.library);if(N!==false){const w=S[S.length-1];if(w){const S=E.moduleGraph.getModule(w);if(S){this.finishEntryModule(S,k,{options:N,compilation:E,chunkGraph:E.chunkGraph})}}}}}));const getOptionsForChunk=k=>{if(E.chunkGraph.getNumberOfEntryModules(k)===0)return false;const S=k.getEntryOptions();const w=S&&S.library;return this._parseOptionsCached(w!==undefined?w:E.outputOptions.library)};if(this.render!==AbstractLibraryPlugin.prototype.render||this.runtimeRequirements!==AbstractLibraryPlugin.prototype.runtimeRequirements){E.hooks.additionalChunkRuntimeRequirements.tap(k,((k,S,{chunkGraph:w})=>{const N=getOptionsForChunk(k);if(N!==false){this.runtimeRequirements(k,S,{options:N,compilation:E,chunkGraph:w})}}))}const S=N.getCompilationHooks(E);if(this.render!==AbstractLibraryPlugin.prototype.render){S.render.tap(k,((k,S)=>{const w=getOptionsForChunk(S.chunk);if(w===false)return k;return this.render(k,S,{options:w,compilation:E,chunkGraph:E.chunkGraph})}))}if(this.embedInRuntimeBailout!==AbstractLibraryPlugin.prototype.embedInRuntimeBailout){S.embedInRuntimeBailout.tap(k,((k,S)=>{const w=getOptionsForChunk(S.chunk);if(w===false)return;return this.embedInRuntimeBailout(k,S,{options:w,compilation:E,chunkGraph:E.chunkGraph})}))}if(this.strictRuntimeBailout!==AbstractLibraryPlugin.prototype.strictRuntimeBailout){S.strictRuntimeBailout.tap(k,(k=>{const S=getOptionsForChunk(k.chunk);if(S===false)return;return this.strictRuntimeBailout(k,{options:S,compilation:E,chunkGraph:E.chunkGraph})}))}if(this.renderStartup!==AbstractLibraryPlugin.prototype.renderStartup){S.renderStartup.tap(k,((k,S,w)=>{const N=getOptionsForChunk(w.chunk);if(N===false)return k;return this.renderStartup(k,S,w,{options:N,compilation:E,chunkGraph:E.chunkGraph})}))}S.chunkHash.tap(k,((k,S,w)=>{const N=getOptionsForChunk(k);if(N===false)return;this.chunkHash(k,S,w,{options:N,compilation:E,chunkGraph:E.chunkGraph})}))}))}_parseOptionsCached(E){if(!E)return false;if(E.type!==this._type)return false;const k=this._parseCache.get(E);if(k!==undefined)return k;const S=this.parseOptions(E);this._parseCache.set(E,S);return S}parseOptions(E){const k=S(75884);throw new k}finishEntryModule(E,k,S){}embedInRuntimeBailout(E,k,S){return undefined}strictRuntimeBailout(E,k){return undefined}runtimeRequirements(E,k,S){if(this.render!==AbstractLibraryPlugin.prototype.render)k.add(w.returnExportsFromRuntime)}render(E,k,S){return E}renderStartup(E,k,S,w){return E}chunkHash(E,k,S,w){const N=this._parseOptionsCached(w.compilation.outputOptions.library);k.update(this._pluginName);k.update(JSON.stringify(N))}}AbstractLibraryPlugin.COMMON_LIBRARY_NAME_MESSAGE=j;E.exports=AbstractLibraryPlugin},17982:(E,k,S)=>{"use strict";const{ConcatSource:w}=S(48135);const N=S(16734);const j=S(58159);const q=S(9786);class AmdLibraryPlugin extends q{constructor(E){super({pluginName:"AmdLibraryPlugin",type:E.type});this.requireAsWrapper=E.requireAsWrapper}parseOptions(E){const{name:k}=E;if(this.requireAsWrapper){if(k){throw new Error(`AMD library name must be unset. ${q.COMMON_LIBRARY_NAME_MESSAGE}`)}}else{if(k&&typeof k!=="string"){throw new Error(`AMD library name must be a simple string or unset. ${q.COMMON_LIBRARY_NAME_MESSAGE}`)}}return{name:k}}render(E,{chunkGraph:k,chunk:S,runtimeTemplate:q},{options:ee,compilation:te}){const ne=q.supportsArrowFunction();const ae=k.getChunkModules(S).filter((E=>E instanceof N));const _e=ae;const ve=JSON.stringify(_e.map((E=>typeof E.request==="object"&&!Array.isArray(E.request)?E.request.amd:E.request)));const Ee=_e.map((E=>`__WEBPACK_EXTERNAL_MODULE_${j.toIdentifier(`${k.getModuleId(E)}`)}__`)).join(", ");const we=q.isIIFE();const Ce=(ne?`(${Ee}) => {`:`function(${Ee}) {`)+(we||!S.hasRuntime()?" return ":"\n");const Me=we?";\n}":"\n}";if(this.requireAsWrapper){return new w(`require(${ve}, ${Ce}`,E,`${Me});`)}else if(ee.name){const k=te.getPath(ee.name,{chunk:S});return new w(`define(${JSON.stringify(k)}, ${ve}, ${Ce}`,E,`${Me});`)}else if(Ee){return new w(`define(${ve}, ${Ce}`,E,`${Me});`)}else{return new w(`define(${Ce}`,E,`${Me});`)}}chunkHash(E,k,S,{options:w,compilation:N}){k.update("AmdLibraryPlugin");if(this.requireAsWrapper){k.update("requireAsWrapper")}else if(w.name){k.update("named");const S=N.getPath(w.name,{chunk:E});k.update(S)}}}E.exports=AmdLibraryPlugin},69444:(E,k,S)=>{"use strict";const{ConcatSource:w}=S(48135);const{UsageState:N}=S(76632);const j=S(58159);const q=S(68038);const{getEntryRuntime:ee}=S(37416);const te=S(9786);const ne=/^(await|break|case|catch|class|const|continue|debugger|default|delete|do|else|enum|export|extends|false|finally|for|function|if|implements|import|in|instanceof|interface|let|new|null|package|private|protected|public|return|super|switch|static|this|throw|try|true|typeof|var|void|while|with|yield)$/;const ae=/^[\p{L}\p{Nl}$_][\p{L}\p{Nl}$\p{Mn}\p{Mc}\p{Nd}\p{Pc}]*$/iu;const isNameValid=E=>!ne.test(E)&&ae.test(E);const accessWithInit=(E,k,S=false)=>{const w=E[0];if(E.length===1&&!S)return w;let N=k>0?w:`(${w} = typeof ${w} === "undefined" ? {} : ${w})`;let j=1;let ee;if(k>j){ee=E.slice(1,k);j=k;N+=q(ee)}else{ee=[]}const te=S?E.length:E.length-1;for(;jS.getPath(E,{chunk:k})))}render(E,{chunk:k},{options:S,compilation:N}){const q=this._getResolvedFullName(S,k,N);if(this.declare){const k=q[0];if(!isNameValid(k)){throw new Error(`Library name base (${k}) must be a valid identifier when using a var declaring library type. Either use a valid identifier (e. g. ${j.toIdentifier(k)}) or use a different library type (e. g. 'type: "global"', which assign a property on the global scope instead of declaring a variable). ${te.COMMON_LIBRARY_NAME_MESSAGE}`)}E=new w(`${this.declare} ${k};\n`,E)}return E}embedInRuntimeBailout(E,{chunk:k},{options:S,compilation:w}){const N=E.buildInfo&&E.buildInfo.topLevelDeclarations;if(!N)return"it doesn't tell about top level declarations.";const j=this._getResolvedFullName(S,k,w);const q=j[0];if(N.has(q))return`it declares '${q}' on top-level, which conflicts with the current library output.`}strictRuntimeBailout({chunk:E},{options:k,compilation:S}){if(this.declare||this.prefix==="global"||this.prefix.length>0||!k.name){return}return"a global variable is assign and maybe created"}renderStartup(E,k,{chunk:S},{options:N,compilation:j}){const ee=this._getResolvedFullName(N,S,j);const te=N.export?q(Array.isArray(N.export)?N.export:[N.export]):"";const ne=new w(E);if(N.name?this.named==="copy":this.unnamed==="copy"){ne.add(`var __webpack_export_target__ = ${accessWithInit(ee,this._getPrefix(j).length,true)};\n`);let E="__webpack_exports__";if(te){ne.add(`var __webpack_exports_export__ = __webpack_exports__${te};\n`);E="__webpack_exports_export__"}ne.add(`for(var i in ${E}) __webpack_export_target__[i] = ${E}[i];\n`);ne.add(`if(${E}.__esModule) Object.defineProperty(__webpack_export_target__, "__esModule", { value: true });\n`)}else{ne.add(`${accessWithInit(ee,this._getPrefix(j).length,false)} = __webpack_exports__${te};\n`)}return ne}runtimeRequirements(E,k,S){}chunkHash(E,k,S,{options:w,compilation:N}){k.update("AssignLibraryPlugin");const j=this.prefix==="global"?[N.outputOptions.globalObject]:this.prefix;const q=w.name?j.concat(w.name):j;const ee=q.map((k=>N.getPath(k,{chunk:E})));if(w.name?this.named==="copy":this.unnamed==="copy"){k.update("copy")}if(this.declare){k.update(this.declare)}k.update(ee.join("."));if(w.export){k.update(`${w.export}`)}}}E.exports=AssignLibraryPlugin},13984:(E,k,S)=>{"use strict";const w=new WeakMap;const getEnabledTypes=E=>{let k=w.get(E);if(k===undefined){k=new Set;w.set(E,k)}return k};class EnableLibraryPlugin{constructor(E){this.type=E}static setEnabled(E,k){getEnabledTypes(E).add(k)}static checkEnabled(E,k){if(!getEnabledTypes(E).has(k)){throw new Error(`Library type "${k}" is not enabled. `+"EnableLibraryPlugin need to be used to enable this type of library. "+'This usually happens through the "output.enabledLibraryTypes" option. '+'If you are using a function as entry which sets "library", you need to add all potential library types to "output.enabledLibraryTypes". '+"These types are enabled: "+Array.from(getEnabledTypes(E)).join(", "))}}apply(E){const{type:k}=this;const w=getEnabledTypes(E);if(w.has(k))return;w.add(k);if(typeof k==="string"){const enableExportProperty=()=>{const w=S(97140);new w({type:k,nsObjectUsed:k!=="module"}).apply(E)};switch(k){case"var":{const w=S(69444);new w({type:k,prefix:[],declare:"var",unnamed:"error"}).apply(E);break}case"assign-properties":{const w=S(69444);new w({type:k,prefix:[],declare:false,unnamed:"error",named:"copy"}).apply(E);break}case"assign":{const w=S(69444);new w({type:k,prefix:[],declare:false,unnamed:"error"}).apply(E);break}case"this":{const w=S(69444);new w({type:k,prefix:["this"],declare:false,unnamed:"copy"}).apply(E);break}case"window":{const w=S(69444);new w({type:k,prefix:["window"],declare:false,unnamed:"copy"}).apply(E);break}case"self":{const w=S(69444);new w({type:k,prefix:["self"],declare:false,unnamed:"copy"}).apply(E);break}case"global":{const w=S(69444);new w({type:k,prefix:"global",declare:false,unnamed:"copy"}).apply(E);break}case"commonjs":{const w=S(69444);new w({type:k,prefix:["exports"],declare:false,unnamed:"copy"}).apply(E);break}case"commonjs2":case"commonjs-module":{const w=S(69444);new w({type:k,prefix:["module","exports"],declare:false,unnamed:"assign"}).apply(E);break}case"amd":case"amd-require":{enableExportProperty();const w=S(17982);new w({type:k,requireAsWrapper:k==="amd-require"}).apply(E);break}case"umd":case"umd2":{enableExportProperty();const w=S(76456);new w({type:k,optionalAmdExternalAsGlobal:k==="umd2"}).apply(E);break}case"system":{enableExportProperty();const w=S(59405);new w({type:k}).apply(E);break}case"jsonp":{enableExportProperty();const w=S(63154);new w({type:k}).apply(E);break}case"module":{enableExportProperty();const w=S(68111);new w({type:k}).apply(E);break}default:throw new Error(`Unsupported library type ${k}.\nPlugins which provide custom library types must call EnableLibraryPlugin.setEnabled(compiler, type) to disable this error.`)}}else{}}}E.exports=EnableLibraryPlugin},97140:(E,k,S)=>{"use strict";const{ConcatSource:w}=S(48135);const{UsageState:N}=S(76632);const j=S(68038);const{getEntryRuntime:q}=S(37416);const ee=S(9786);class ExportPropertyLibraryPlugin extends ee{constructor({type:E,nsObjectUsed:k}){super({pluginName:"ExportPropertyLibraryPlugin",type:E});this.nsObjectUsed=k}parseOptions(E){return{export:E.export}}finishEntryModule(E,k,{options:S,compilation:w,compilation:{moduleGraph:j}}){const ee=q(w,k);if(S.export){const k=j.getExportInfo(E,Array.isArray(S.export)?S.export[0]:S.export);k.setUsed(N.Used,ee);k.canMangleUse=false}else{const k=j.getExportsInfo(E);if(this.nsObjectUsed){k.setUsedInUnknownWay(ee)}else{k.setAllKnownExportsUsed(ee)}}j.addExtraReason(E,"used as library export")}runtimeRequirements(E,k,S){}renderStartup(E,k,S,{options:N}){if(!N.export)return E;const q=`__webpack_exports__ = __webpack_exports__${j(Array.isArray(N.export)?N.export:[N.export])};\n`;return new w(E,q)}}E.exports=ExportPropertyLibraryPlugin},63154:(E,k,S)=>{"use strict";const{ConcatSource:w}=S(48135);const N=S(9786);class JsonpLibraryPlugin extends N{constructor(E){super({pluginName:"JsonpLibraryPlugin",type:E.type})}parseOptions(E){const{name:k}=E;if(typeof k!=="string"){throw new Error(`Jsonp library name must be a simple string. ${N.COMMON_LIBRARY_NAME_MESSAGE}`)}return{name:k}}render(E,{chunk:k},{options:S,compilation:N}){const j=N.getPath(S.name,{chunk:k});return new w(`${j}(`,E,")")}chunkHash(E,k,S,{options:w,compilation:N}){k.update("JsonpLibraryPlugin");k.update(N.getPath(w.name,{chunk:E}))}}E.exports=JsonpLibraryPlugin},68111:(E,k,S)=>{"use strict";const{ConcatSource:w}=S(48135);const N=S(58159);const j=S(68038);const q=S(9786);class ModuleLibraryPlugin extends q{constructor(E){super({pluginName:"ModuleLibraryPlugin",type:E.type})}parseOptions(E){const{name:k}=E;if(k){throw new Error(`Library name must be unset. ${q.COMMON_LIBRARY_NAME_MESSAGE}`)}return{name:k}}renderStartup(E,k,{moduleGraph:S,chunk:q},{options:ee,compilation:te}){const ne=new w(E);const ae=S.getExportsInfo(k);const _e=[];for(const E of ae.orderedExports){if(!E.provided)continue;const k=`__webpack_exports__${N.toIdentifier(E.name)}`;ne.add(`var ${k} = __webpack_exports__${j([E.getUsedName(E.name,q.runtime)])};\n`);_e.push(`${k} as ${E.name}`)}if(_e.length>0){ne.add(`export { ${_e.join(", ")} };\n`)}return ne}}E.exports=ModuleLibraryPlugin},59405:(E,k,S)=>{"use strict";const{ConcatSource:w}=S(48135);const{UsageState:N}=S(76632);const j=S(16734);const q=S(58159);const ee=S(68038);const te=S(9786);class SystemLibraryPlugin extends te{constructor(E){super({pluginName:"SystemLibraryPlugin",type:E.type})}parseOptions(E){const{name:k}=E;if(k&&typeof k!=="string"){throw new Error(`System.js library name must be a simple string or unset. ${te.COMMON_LIBRARY_NAME_MESSAGE}`)}return{name:k}}render(E,{chunkGraph:k,moduleGraph:S,chunk:te},{options:ne,compilation:ae}){const _e=k.getChunkModules(te).filter((E=>E instanceof j));const ve=_e;const Ee=ne.name?`${JSON.stringify(ae.getPath(ne.name,{chunk:te}))}, `:"";const we=JSON.stringify(ve.map((E=>typeof E.request==="object"&&!Array.isArray(E.request)?E.request.amd:E.request)));const Ce="__WEBPACK_DYNAMIC_EXPORT__";const Me=ve.map((E=>`__WEBPACK_EXTERNAL_MODULE_${q.toIdentifier(`${k.getModuleId(E)}`)}__`));const Te=Me.map((E=>`var ${E} = {};`)).join("\n");const Ie=[];const Oe=Me.length===0?"":q.asString(["setters: [",q.indent(ve.map(((E,k)=>{const w=Me[k];const j=S.getExportsInfo(E);const ne=j.otherExportsInfo.getUsed(te.runtime)===N.Unused;const ae=[];const _e=[];for(const E of j.orderedExports){const k=E.getUsedName(undefined,te.runtime);if(k){if(ne||k!==E.name){ae.push(`${w}${ee([k])} = module${ee([E.name])};`);_e.push(E.name)}}else{_e.push(E.name)}}if(!ne){if(!Array.isArray(E.request)||E.request.length===1){Ie.push(`Object.defineProperty(${w}, "__esModule", { value: true });`)}if(_e.length>0){const E=`${w}handledNames`;Ie.push(`var ${E} = ${JSON.stringify(_e)};`);ae.push(q.asString(["Object.keys(module).forEach(function(key) {",q.indent([`if(${E}.indexOf(key) >= 0)`,q.indent(`${w}[key] = module[key];`)]),"});"]))}else{ae.push(q.asString(["Object.keys(module).forEach(function(key) {",q.indent([`${w}[key] = module[key];`]),"});"]))}}if(ae.length===0)return"function() {}";return q.asString(["function(module) {",q.indent(ae),"}"])})).join(",\n")),"],"]);return new w(q.asString([`System.register(${Ee}${we}, function(${Ce}, __system_context__) {`,q.indent([Te,q.asString(Ie),"return {",q.indent([Oe,"execute: function() {",q.indent(`${Ce}(`)])]),""]),E,q.asString(["",q.indent([q.indent([q.indent([");"]),"}"]),"};"]),"})"]))}chunkHash(E,k,S,{options:w,compilation:N}){k.update("SystemLibraryPlugin");if(w.name){k.update(N.getPath(w.name,{chunk:E}))}}}E.exports=SystemLibraryPlugin},76456:(E,k,S)=>{"use strict";const{ConcatSource:w,OriginalSource:N}=S(48135);const j=S(16734);const q=S(58159);const ee=S(9786);const accessorToObjectAccess=E=>E.map((E=>`[${JSON.stringify(E)}]`)).join("");const accessorAccess=(E,k,S=", ")=>{const w=Array.isArray(k)?k:[k];return w.map(((k,S)=>{const N=E?E+accessorToObjectAccess(w.slice(0,S+1)):w[0]+accessorToObjectAccess(w.slice(1,S+1));if(S===w.length-1)return N;if(S===0&&E===undefined)return`${N} = typeof ${N} === "object" ? ${N} : {}`;return`${N} = ${N} || {}`})).join(S)};class UmdLibraryPlugin extends ee{constructor(E){super({pluginName:"UmdLibraryPlugin",type:E.type});this.optionalAmdExternalAsGlobal=E.optionalAmdExternalAsGlobal}parseOptions(E){let k;let S;if(typeof E.name==="object"&&!Array.isArray(E.name)){k=E.name.root||E.name.amd||E.name.commonjs;S=E.name}else{k=E.name;const w=Array.isArray(k)?k[0]:k;S={commonjs:w,root:E.name,amd:w}}return{name:k,names:S,auxiliaryComment:E.auxiliaryComment,namedDefine:E.umdNamedDefine}}render(E,{chunkGraph:k,runtimeTemplate:S,chunk:ee,moduleGraph:te},{options:ne,compilation:ae}){const _e=k.getChunkModules(ee).filter((E=>E instanceof j&&(E.externalType==="umd"||E.externalType==="umd2")));let ve=_e;const Ee=[];let we=[];if(this.optionalAmdExternalAsGlobal){for(const E of ve){if(E.isOptional(te)){Ee.push(E)}else{we.push(E)}}ve=we.concat(Ee)}else{we=ve}const replaceKeys=E=>ae.getPath(E,{chunk:ee});const externalsDepsArray=E=>`[${replaceKeys(E.map((E=>JSON.stringify(typeof E.request==="object"?E.request.amd:E.request))).join(", "))}]`;const externalsRootArray=E=>replaceKeys(E.map((E=>{let k=E.request;if(typeof k==="object")k=k.root;return`root${accessorToObjectAccess([].concat(k))}`})).join(", "));const externalsRequireArray=E=>replaceKeys(ve.map((k=>{let S;let w=k.request;if(typeof w==="object"){w=w[E]}if(w===undefined){throw new Error("Missing external configuration for type:"+E)}if(Array.isArray(w)){S=`require(${JSON.stringify(w[0])})${accessorToObjectAccess(w.slice(1))}`}else{S=`require(${JSON.stringify(w)})`}if(k.isOptional(te)){S=`(function webpackLoadOptionalExternalModule() { try { return ${S}; } catch(e) {} }())`}return S})).join(", "));const externalsArguments=E=>E.map((E=>`__WEBPACK_EXTERNAL_MODULE_${q.toIdentifier(`${k.getModuleId(E)}`)}__`)).join(", ");const libraryName=E=>JSON.stringify(replaceKeys([].concat(E).pop()));let Ce;if(Ee.length>0){const E=externalsArguments(we);const k=we.length>0?externalsArguments(we)+", "+externalsRootArray(Ee):externalsRootArray(Ee);Ce=`function webpackLoadOptionalExternalModuleAmd(${E}) {\n`+`\t\t\treturn factory(${k});\n`+"\t\t}"}else{Ce="factory"}const{auxiliaryComment:Me,namedDefine:Te,names:Ie}=ne;const getAuxiliaryComment=E=>{if(Me){if(typeof Me==="string")return"\t//"+Me+"\n";if(Me[E])return"\t//"+Me[E]+"\n"}return""};return new w(new N("(function webpackUniversalModuleDefinition(root, factory) {\n"+getAuxiliaryComment("commonjs2")+"\tif(typeof exports === 'object' && typeof module === 'object')\n"+"\t\tmodule.exports = factory("+externalsRequireArray("commonjs2")+");\n"+getAuxiliaryComment("amd")+"\telse if(typeof define === 'function' && define.amd)\n"+(we.length>0?Ie.amd&&Te===true?"\t\tdefine("+libraryName(Ie.amd)+", "+externalsDepsArray(we)+", "+Ce+");\n":"\t\tdefine("+externalsDepsArray(we)+", "+Ce+");\n":Ie.amd&&Te===true?"\t\tdefine("+libraryName(Ie.amd)+", [], "+Ce+");\n":"\t\tdefine([], "+Ce+");\n")+(Ie.root||Ie.commonjs?getAuxiliaryComment("commonjs")+"\telse if(typeof exports === 'object')\n"+"\t\texports["+libraryName(Ie.commonjs||Ie.root)+"] = factory("+externalsRequireArray("commonjs")+");\n"+getAuxiliaryComment("root")+"\telse\n"+"\t\t"+replaceKeys(accessorAccess("root",Ie.root||Ie.commonjs))+" = factory("+externalsRootArray(ve)+");\n":"\telse {\n"+(ve.length>0?"\t\tvar a = typeof exports === 'object' ? factory("+externalsRequireArray("commonjs")+") : factory("+externalsRootArray(ve)+");\n":"\t\tvar a = factory();\n")+"\t\tfor(var i in a) (typeof exports === 'object' ? exports : root)[i] = a[i];\n"+"\t}\n")+`})(${S.outputOptions.globalObject}, function(${externalsArguments(ve)}) {\nreturn `,"webpack/universalModuleDefinition"),E,";\n})")}}E.exports=UmdLibraryPlugin},78539:(E,k)=>{"use strict";const S=Object.freeze({error:"error",warn:"warn",info:"info",log:"log",debug:"debug",trace:"trace",group:"group",groupCollapsed:"groupCollapsed",groupEnd:"groupEnd",profile:"profile",profileEnd:"profileEnd",time:"time",clear:"clear",status:"status"});k.LogType=S;const w=Symbol("webpack logger raw log method");const N=Symbol("webpack logger times");const j=Symbol("webpack logger aggregated times");class WebpackLogger{constructor(E,k){this[w]=E;this.getChildLogger=k}error(...E){this[w](S.error,E)}warn(...E){this[w](S.warn,E)}info(...E){this[w](S.info,E)}log(...E){this[w](S.log,E)}debug(...E){this[w](S.debug,E)}assert(E,...k){if(!E){this[w](S.error,k)}}trace(){this[w](S.trace,["Trace"])}clear(){this[w](S.clear)}status(...E){this[w](S.status,E)}group(...E){this[w](S.group,E)}groupCollapsed(...E){this[w](S.groupCollapsed,E)}groupEnd(...E){this[w](S.groupEnd,E)}profile(E){this[w](S.profile,[E])}profileEnd(E){this[w](S.profileEnd,[E])}time(E){this[N]=this[N]||new Map;this[N].set(E,process.hrtime())}timeLog(E){const k=this[N]&&this[N].get(E);if(!k){throw new Error(`No such label '${E}' for WebpackLogger.timeLog()`)}const j=process.hrtime(k);this[w](S.time,[E,...j])}timeEnd(E){const k=this[N]&&this[N].get(E);if(!k){throw new Error(`No such label '${E}' for WebpackLogger.timeEnd()`)}const j=process.hrtime(k);this[N].delete(E);this[w](S.time,[E,...j])}timeAggregate(E){const k=this[N]&&this[N].get(E);if(!k){throw new Error(`No such label '${E}' for WebpackLogger.timeAggregate()`)}const S=process.hrtime(k);this[N].delete(E);this[j]=this[j]||new Map;const w=this[j].get(E);if(w!==undefined){if(S[1]+w[1]>1e9){S[0]+=w[0]+1;S[1]=S[1]-1e9+w[1]}else{S[0]+=w[0];S[1]+=w[1]}}this[j].set(E,S)}timeAggregateEnd(E){if(this[j]===undefined)return;const k=this[j].get(E);if(k===undefined)return;this[w](S.time,[E,...k])}}k.Logger=WebpackLogger},70108:(E,k,S)=>{"use strict";const{LogType:w}=S(78539);const filterToFunction=E=>{if(typeof E==="string"){const k=new RegExp(`[\\\\/]${E.replace(/[-[\]{}()*+?.\\^$|]/g,"\\$&")}([\\\\/]|$|!|\\?)`);return E=>k.test(E)}if(E&&typeof E==="object"&&typeof E.test==="function"){return k=>E.test(k)}if(typeof E==="function"){return E}if(typeof E==="boolean"){return()=>E}};const N={none:6,false:6,error:5,warn:4,info:3,log:2,true:2,verbose:1};E.exports=({level:E="info",debug:k=false,console:S})=>{const j=typeof k==="boolean"?[()=>k]:[].concat(k).map(filterToFunction);const q=N[`${E}`]||0;const logger=(E,k,ee)=>{const labeledArgs=()=>{if(Array.isArray(ee)){if(ee.length>0&&typeof ee[0]==="string"){return[`[${E}] ${ee[0]}`,...ee.slice(1)]}else{return[`[${E}]`,...ee]}}else{return[]}};const te=j.some((k=>k(E)));switch(k){case w.debug:if(!te)return;if(typeof S.debug==="function"){S.debug(...labeledArgs())}else{S.log(...labeledArgs())}break;case w.log:if(!te&&q>N.log)return;S.log(...labeledArgs());break;case w.info:if(!te&&q>N.info)return;S.info(...labeledArgs());break;case w.warn:if(!te&&q>N.warn)return;S.warn(...labeledArgs());break;case w.error:if(!te&&q>N.error)return;S.error(...labeledArgs());break;case w.trace:if(!te)return;S.trace();break;case w.groupCollapsed:if(!te&&q>N.log)return;if(!te&&q>N.verbose){if(typeof S.groupCollapsed==="function"){S.groupCollapsed(...labeledArgs())}else{S.log(...labeledArgs())}break}case w.group:if(!te&&q>N.log)return;if(typeof S.group==="function"){S.group(...labeledArgs())}else{S.log(...labeledArgs())}break;case w.groupEnd:if(!te&&q>N.log)return;if(typeof S.groupEnd==="function"){S.groupEnd()}break;case w.time:{if(!te&&q>N.log)return;const k=ee[1]*1e3+ee[2]/1e6;const w=`[${E}] ${ee[0]}: ${k} ms`;if(typeof S.logTime==="function"){S.logTime(w)}else{S.log(w)}break}case w.profile:if(typeof S.profile==="function"){S.profile(...labeledArgs())}break;case w.profileEnd:if(typeof S.profileEnd==="function"){S.profileEnd(...labeledArgs())}break;case w.clear:if(!te&&q>N.log)return;if(typeof S.clear==="function"){S.clear()}break;case w.status:if(!te&&q>N.info)return;if(typeof S.status==="function"){if(ee.length===0){S.status()}else{S.status(...labeledArgs())}}else{if(ee.length!==0){S.info(...labeledArgs())}}break;default:throw new Error(`Unexpected LogType ${k}`)}};return logger}},50595:E=>{"use strict";const arraySum=E=>{let k=0;for(const S of E)k+=S;return k};const truncateArgs=(E,k)=>{const S=E.map((E=>`${E}`.length));const w=k-S.length+1;if(w>0&&E.length===1){if(w>=E[0].length){return E}else if(w>3){return["..."+E[0].slice(-w+3)]}else{return[E[0].slice(-w)]}}if(wMath.min(E,6))))){if(E.length>1)return truncateArgs(E.slice(0,E.length-1),k);return[]}let N=arraySum(S);if(N<=w)return E;while(N>w){const E=Math.max(...S);const k=S.filter((k=>k!==E));const j=k.length>0?Math.max(...k):0;const q=E-j;let ee=S.length-k.length;let te=N-w;for(let k=0;k{const w=`${E}`;const N=S[k];if(w.length===N){return w}else if(N>5){return"..."+w.slice(-N+3)}else if(N>0){return w.slice(-N)}else{return""}}))};E.exports=truncateArgs},82827:(E,k,S)=>{"use strict";const w=S(76150);const N=S(64997);class CommonJsChunkLoadingPlugin{constructor(E){E=E||{};this._asyncChunkLoading=E.asyncChunkLoading}apply(E){const k=this._asyncChunkLoading?S(26020):S(75491);const j=this._asyncChunkLoading?"async-node":"require";new N({chunkLoading:j,asyncChunkLoading:this._asyncChunkLoading}).apply(E);E.hooks.thisCompilation.tap("CommonJsChunkLoadingPlugin",(E=>{const S=E.outputOptions.chunkLoading;const isEnabledForChunk=E=>{const k=E.getEntryOptions();const w=k&&k.chunkLoading!==undefined?k.chunkLoading:S;return w===j};const N=new WeakSet;const handler=(S,j)=>{if(N.has(S))return;N.add(S);if(!isEnabledForChunk(S))return;j.add(w.moduleFactoriesAddOnly);j.add(w.hasOwnProperty);E.addRuntimeModule(S,new k(j))};E.hooks.runtimeRequirementInTree.for(w.ensureChunkHandlers).tap("CommonJsChunkLoadingPlugin",handler);E.hooks.runtimeRequirementInTree.for(w.hmrDownloadUpdateHandlers).tap("CommonJsChunkLoadingPlugin",handler);E.hooks.runtimeRequirementInTree.for(w.hmrDownloadManifest).tap("CommonJsChunkLoadingPlugin",handler);E.hooks.runtimeRequirementInTree.for(w.baseURI).tap("CommonJsChunkLoadingPlugin",handler);E.hooks.runtimeRequirementInTree.for(w.externalInstallChunk).tap("CommonJsChunkLoadingPlugin",handler);E.hooks.runtimeRequirementInTree.for(w.onChunksLoaded).tap("CommonJsChunkLoadingPlugin",handler);E.hooks.runtimeRequirementInTree.for(w.ensureChunkHandlers).tap("CommonJsChunkLoadingPlugin",((E,k)=>{if(!isEnabledForChunk(E))return;k.add(w.getChunkScriptFilename)}));E.hooks.runtimeRequirementInTree.for(w.hmrDownloadUpdateHandlers).tap("CommonJsChunkLoadingPlugin",((E,k)=>{if(!isEnabledForChunk(E))return;k.add(w.getChunkUpdateScriptFilename);k.add(w.moduleCache);k.add(w.hmrModuleData);k.add(w.moduleFactoriesAddOnly)}));E.hooks.runtimeRequirementInTree.for(w.hmrDownloadManifest).tap("CommonJsChunkLoadingPlugin",((E,k)=>{if(!isEnabledForChunk(E))return;k.add(w.getUpdateManifestFilename)}))}))}}E.exports=CommonJsChunkLoadingPlugin},93632:(E,k,S)=>{"use strict";const w=S(76537);const N=S(15808);const j=S(70108);const q=S(2255);const ee=S(56642);class NodeEnvironmentPlugin{constructor(E){this.options=E}apply(E){const{infrastructureLogging:k}=this.options;E.infrastructureLogger=j({level:k.level||"info",debug:k.debug||false,console:k.console||ee({colors:k.colors,appendOnly:k.appendOnly,stream:k.stream})});E.inputFileSystem=new w(N,6e4);const S=E.inputFileSystem;E.outputFileSystem=N;E.intermediateFileSystem=N;E.watchFileSystem=new q(E.inputFileSystem);E.hooks.beforeRun.tap("NodeEnvironmentPlugin",(E=>{if(E.inputFileSystem===S){E.fsStartTime=Date.now();S.purge()}}))}}E.exports=NodeEnvironmentPlugin},92662:E=>{"use strict";class NodeSourcePlugin{apply(E){}}E.exports=NodeSourcePlugin},84980:(E,k,S)=>{"use strict";const w=S(61050);const N=["assert","async_hooks","buffer","child_process","cluster","console","constants","crypto","dgram","dns","dns/promises","domain","events","fs","fs/promises","http","http2","https","inspector","module","net","os","path","perf_hooks","process","punycode","querystring","readline","repl","stream","stream/promises","string_decoder","sys","timers","timers/promises","tls","trace_events","tty","url","util","v8","vm","wasi","worker_threads","zlib",/^node:/,"pnpapi"];class NodeTargetPlugin{apply(E){new w("node-commonjs",N).apply(E)}}E.exports=NodeTargetPlugin},91591:(E,k,S)=>{"use strict";const w=S(77314);const N=S(50369);class NodeTemplatePlugin{constructor(E){this._options=E||{}}apply(E){const k=this._options.asyncChunkLoading?"async-node":"require";E.options.output.chunkLoading=k;(new w).apply(E);new N(k).apply(E)}}E.exports=NodeTemplatePlugin},2255:(E,k,S)=>{"use strict";const w=S(92512);class NodeWatchFileSystem{constructor(E){this.inputFileSystem=E;this.watcherOptions={aggregateTimeout:0};this.watcher=new w(this.watcherOptions)}watch(E,k,S,N,j,q,ee){if(!E||typeof E[Symbol.iterator]!=="function"){throw new Error("Invalid arguments: 'files'")}if(!k||typeof k[Symbol.iterator]!=="function"){throw new Error("Invalid arguments: 'directories'")}if(!S||typeof S[Symbol.iterator]!=="function"){throw new Error("Invalid arguments: 'missing'")}if(typeof q!=="function"){throw new Error("Invalid arguments: 'callback'")}if(typeof N!=="number"&&N){throw new Error("Invalid arguments: 'startTime'")}if(typeof j!=="object"){throw new Error("Invalid arguments: 'options'")}if(typeof ee!=="function"&&ee){throw new Error("Invalid arguments: 'callbackUndelayed'")}const te=this.watcher;this.watcher=new w(j);if(ee){this.watcher.once("change",ee)}this.watcher.once("aggregated",((E,k)=>{if(this.inputFileSystem&&this.inputFileSystem.purge){const S=this.inputFileSystem;for(const k of E){S.purge(k)}for(const E of k){S.purge(E)}}const S=this.watcher.getTimeInfoEntries();q(null,S,S,E,k)}));this.watcher.watch({files:E,directories:k,missing:S,startTime:N});if(te){te.close()}return{close:()=>{if(this.watcher){this.watcher.close();this.watcher=null}},pause:()=>{if(this.watcher){this.watcher.pause()}},getAggregatedRemovals:()=>{const E=this.watcher&&this.watcher.aggregatedRemovals;if(E&&this.inputFileSystem&&this.inputFileSystem.purge){const k=this.inputFileSystem;for(const S of E){k.purge(S)}}return E},getAggregatedChanges:()=>{const E=this.watcher&&this.watcher.aggregatedChanges;if(E&&this.inputFileSystem&&this.inputFileSystem.purge){const k=this.inputFileSystem;for(const S of E){k.purge(S)}}return E},getFileTimeInfoEntries:()=>{if(this.watcher){return this.watcher.getTimeInfoEntries()}else{return new Map}},getContextTimeInfoEntries:()=>{if(this.watcher){return this.watcher.getTimeInfoEntries()}else{return new Map}}}}}E.exports=NodeWatchFileSystem},26020:(E,k,S)=>{"use strict";const w=S(76150);const N=S(66804);const j=S(58159);const{chunkHasJs:q,getChunkFilenameTemplate:ee}=S(18161);const{getInitialChunkIds:te}=S(13085);const ne=S(87274);const{getUndoPath:ae}=S(49197);class ReadFileChunkLoadingRuntimeModule extends N{constructor(E){super("readFile chunk loading",N.STAGE_ATTACH);this.runtimeRequirements=E}generate(){const{chunkGraph:E,chunk:k}=this;const{runtimeTemplate:N}=this.compilation;const _e=w.ensureChunkHandlers;const ve=this.runtimeRequirements.has(w.baseURI);const Ee=this.runtimeRequirements.has(w.externalInstallChunk);const we=this.runtimeRequirements.has(w.onChunksLoaded);const Ce=this.runtimeRequirements.has(w.ensureChunkHandlers);const Me=this.runtimeRequirements.has(w.hmrDownloadUpdateHandlers);const Te=this.runtimeRequirements.has(w.hmrDownloadManifest);const Ie=E.getChunkConditionMap(k,q);const Oe=ne(Ie);const Re=te(k,E);const Fe=this.compilation.getPath(ee(k,this.compilation.outputOptions),{chunk:k,contentHashType:"javascript"});const Ne=ae(Fe,this.compilation.outputOptions.path,false);return j.asString([ve?j.asString([`${w.baseURI} = require("url").pathToFileURL(${Ne?`__dirname + ${JSON.stringify("/"+Ne)}`:"__filename"});`]):"// no baseURI","","// object to store loaded chunks",'// "0" means "already loaded", Promise means loading',"var installedChunks = {",j.indent(Array.from(Re,(E=>`${JSON.stringify(E)}: 0`)).join(",\n")),"};","",we?`${w.onChunksLoaded}.readFileVm = ${N.returningFunction("installedChunks[chunkId] === 0","chunkId")};`:"// no on chunks loaded","",Ce||Ee?`var installChunk = ${N.basicFunction("chunk",["var moreModules = chunk.modules, chunkIds = chunk.ids, runtime = chunk.runtime;","for(var moduleId in moreModules) {",j.indent([`if(${w.hasOwnProperty}(moreModules, moduleId)) {`,j.indent([`${w.moduleFactories}[moduleId] = moreModules[moduleId];`]),"}"]),"}",`if(runtime) runtime(__webpack_require__);`,"for(var i = 0; i < chunkIds.length; i++) {",j.indent(["if(installedChunks[chunkIds[i]]) {",j.indent(["installedChunks[chunkIds[i]][0]();"]),"}","installedChunks[chunkIds[i]] = 0;"]),"}",we?`${w.onChunksLoaded}();`:""])};`:"// no chunk install function needed","",Ce?j.asString(["// ReadFile + VM.run chunk loading for javascript",`${_e}.readFileVm = function(chunkId, promises) {`,Oe!==false?j.indent(["","var installedChunkData = installedChunks[chunkId];",'if(installedChunkData !== 0) { // 0 means "already installed".',j.indent(['// array of [resolve, reject, promise] means "currently loading"',"if(installedChunkData) {",j.indent(["promises.push(installedChunkData[2]);"]),"} else {",j.indent([Oe===true?"if(true) { // all chunks have JS":`if(${Oe("chunkId")}) {`,j.indent(["// load the chunk and return promise to it","var promise = new Promise(function(resolve, reject) {",j.indent(["installedChunkData = installedChunks[chunkId] = [resolve, reject];",`var filename = require('path').join(__dirname, ${JSON.stringify(Ne)} + ${w.getChunkScriptFilename}(chunkId));`,"require('fs').readFile(filename, 'utf-8', function(err, content) {",j.indent(["if(err) return reject(err);","var chunk = {};","require('vm').runInThisContext('(function(exports, require, __dirname, __filename) {' + content + '\\n})', filename)"+"(chunk, require, require('path').dirname(filename), filename);","installChunk(chunk);"]),"});"]),"});","promises.push(installedChunkData[2] = promise);"]),"} else installedChunks[chunkId] = 0;"]),"}"]),"}"]):j.indent(["installedChunks[chunkId] = 0;"]),"};"]):"// no chunk loading","",Ee?j.asString(["module.exports = __webpack_require__;",`${w.externalInstallChunk} = installChunk;`]):"// no external install chunk","",Me?j.asString(["function loadUpdateChunk(chunkId, updatedModulesList) {",j.indent(["return new Promise(function(resolve, reject) {",j.indent([`var filename = require('path').join(__dirname, ${JSON.stringify(Ne)} + ${w.getChunkUpdateScriptFilename}(chunkId));`,"require('fs').readFile(filename, 'utf-8', function(err, content) {",j.indent(["if(err) return reject(err);","var update = {};","require('vm').runInThisContext('(function(exports, require, __dirname, __filename) {' + content + '\\n})', filename)"+"(update, require, require('path').dirname(filename), filename);","var updatedModules = update.modules;","var runtime = update.runtime;","for(var moduleId in updatedModules) {",j.indent([`if(${w.hasOwnProperty}(updatedModules, moduleId)) {`,j.indent([`currentUpdate[moduleId] = updatedModules[moduleId];`,"if(updatedModulesList) updatedModulesList.push(moduleId);"]),"}"]),"}","if(runtime) currentUpdateRuntime.push(runtime);","resolve();"]),"});"]),"});"]),"}","",j.getFunctionContent(S(22215)).replace(/\$key\$/g,"readFileVm").replace(/\$installedChunks\$/g,"installedChunks").replace(/\$loadUpdateChunk\$/g,"loadUpdateChunk").replace(/\$moduleCache\$/g,w.moduleCache).replace(/\$moduleFactories\$/g,w.moduleFactories).replace(/\$ensureChunkHandlers\$/g,w.ensureChunkHandlers).replace(/\$hasOwnProperty\$/g,w.hasOwnProperty).replace(/\$hmrModuleData\$/g,w.hmrModuleData).replace(/\$hmrDownloadUpdateHandlers\$/g,w.hmrDownloadUpdateHandlers).replace(/\$hmrInvalidateModuleHandlers\$/g,w.hmrInvalidateModuleHandlers)]):"// no HMR","",Te?j.asString([`${w.hmrDownloadManifest} = function() {`,j.indent(["return new Promise(function(resolve, reject) {",j.indent([`var filename = require('path').join(__dirname, ${JSON.stringify(Ne)} + ${w.getUpdateManifestFilename}());`,"require('fs').readFile(filename, 'utf-8', function(err, content) {",j.indent(["if(err) {",j.indent(['if(err.code === "ENOENT") return resolve();',"return reject(err);"]),"}","try { resolve(JSON.parse(content)); }","catch(e) { reject(e); }"]),"});"]),"});"]),"}"]):"// no HMR manifest"])}}E.exports=ReadFileChunkLoadingRuntimeModule},21273:(E,k,S)=>{"use strict";const w=S(76150);const N=S(58159);const j=S(21941);class ReadFileCompileAsyncWasmPlugin{constructor({type:E="async-node",import:k=false}={}){this._type=E;this._import=k}apply(E){E.hooks.thisCompilation.tap("ReadFileCompileAsyncWasmPlugin",(E=>{const k=E.outputOptions.wasmLoading;const isEnabledForChunk=E=>{const S=E.getEntryOptions();const w=S&&S.wasmLoading!==undefined?S.wasmLoading:k;return w===this._type};const S=this._import?E=>N.asString(["Promise.all([import('fs'), import('url')]).then(([{ readFile }, { URL }]) => new Promise((resolve, reject) => {",N.indent([`readFile(new URL(${E}, import.meta.url), (err, buffer) => {`,N.indent(["if (err) return reject(err);","","// Fake fetch response","resolve({",N.indent(["arrayBuffer() { return buffer; }"]),"});"]),"});"]),"}))"]):E=>N.asString(["new Promise(function (resolve, reject) {",N.indent(["try {",N.indent(["var { readFile } = require('fs');","var { join } = require('path');","",`readFile(join(__dirname, ${E}), function(err, buffer){`,N.indent(["if (err) return reject(err);","","// Fake fetch response","resolve({",N.indent(["arrayBuffer() { return buffer; }"]),"});"]),"});"]),"} catch (err) { reject(err); }"]),"})"]);E.hooks.runtimeRequirementInTree.for(w.instantiateWasm).tap("ReadFileCompileAsyncWasmPlugin",((k,N)=>{if(!isEnabledForChunk(k))return;const q=E.chunkGraph;if(!q.hasModuleInGraph(k,(E=>E.type==="webassembly/async"))){return}N.add(w.publicPath);E.addRuntimeModule(k,new j({generateLoadBinaryCode:S,supportsStreaming:false}))}))}))}}E.exports=ReadFileCompileAsyncWasmPlugin},71049:(E,k,S)=>{"use strict";const w=S(76150);const N=S(58159);const j=S(61006);class ReadFileCompileWasmPlugin{constructor(E){this.options=E||{}}apply(E){E.hooks.thisCompilation.tap("ReadFileCompileWasmPlugin",(E=>{const k=E.outputOptions.wasmLoading;const isEnabledForChunk=E=>{const S=E.getEntryOptions();const w=S&&S.wasmLoading!==undefined?S.wasmLoading:k;return w==="async-node"};const generateLoadBinaryCode=E=>N.asString(["new Promise(function (resolve, reject) {",N.indent(["var { readFile } = require('fs');","var { join } = require('path');","","try {",N.indent([`readFile(join(__dirname, ${E}), function(err, buffer){`,N.indent(["if (err) return reject(err);","","// Fake fetch response","resolve({",N.indent(["arrayBuffer() { return buffer; }"]),"});"]),"});"]),"} catch (err) { reject(err); }"]),"})"]);E.hooks.runtimeRequirementInTree.for(w.ensureChunkHandlers).tap("ReadFileCompileWasmPlugin",((k,S)=>{if(!isEnabledForChunk(k))return;const N=E.chunkGraph;if(!N.hasModuleInGraph(k,(E=>E.type==="webassembly/sync"))){return}S.add(w.moduleCache);E.addRuntimeModule(k,new j({generateLoadBinaryCode:generateLoadBinaryCode,supportsStreaming:false,mangleImports:this.options.mangleImports}))}))}))}}E.exports=ReadFileCompileWasmPlugin},75491:(E,k,S)=>{"use strict";const w=S(76150);const N=S(66804);const j=S(58159);const{chunkHasJs:q,getChunkFilenameTemplate:ee}=S(18161);const{getInitialChunkIds:te}=S(13085);const ne=S(87274);const{getUndoPath:ae}=S(49197);class RequireChunkLoadingRuntimeModule extends N{constructor(E){super("require chunk loading",N.STAGE_ATTACH);this.runtimeRequirements=E}generate(){const{chunkGraph:E,chunk:k}=this;const{runtimeTemplate:N}=this.compilation;const _e=w.ensureChunkHandlers;const ve=this.runtimeRequirements.has(w.baseURI);const Ee=this.runtimeRequirements.has(w.externalInstallChunk);const we=this.runtimeRequirements.has(w.onChunksLoaded);const Ce=this.runtimeRequirements.has(w.ensureChunkHandlers);const Me=this.runtimeRequirements.has(w.hmrDownloadUpdateHandlers);const Te=this.runtimeRequirements.has(w.hmrDownloadManifest);const Ie=E.getChunkConditionMap(k,q);const Oe=ne(Ie);const Re=te(k,E);const Fe=this.compilation.getPath(ee(k,this.compilation.outputOptions),{chunk:k,contentHashType:"javascript"});const Ne=ae(Fe,this.compilation.outputOptions.path,true);return j.asString([ve?j.asString([`${w.baseURI} = require("url").pathToFileURL(${Ne!=="./"?`__dirname + ${JSON.stringify("/"+Ne)}`:"__filename"});`]):"// no baseURI","","// object to store loaded chunks",'// "1" means "loaded", otherwise not loaded yet',"var installedChunks = {",j.indent(Array.from(Re,(E=>`${JSON.stringify(E)}: 1`)).join(",\n")),"};","",we?`${w.onChunksLoaded}.require = ${N.returningFunction("installedChunks[chunkId]","chunkId")};`:"// no on chunks loaded","",Ce||Ee?`var installChunk = ${N.basicFunction("chunk",["var moreModules = chunk.modules, chunkIds = chunk.ids, runtime = chunk.runtime;","for(var moduleId in moreModules) {",j.indent([`if(${w.hasOwnProperty}(moreModules, moduleId)) {`,j.indent([`${w.moduleFactories}[moduleId] = moreModules[moduleId];`]),"}"]),"}",`if(runtime) runtime(__webpack_require__);`,"for(var i = 0; i < chunkIds.length; i++)",j.indent("installedChunks[chunkIds[i]] = 1;"),we?`${w.onChunksLoaded}();`:""])};`:"// no chunk install function needed","",Ce?j.asString(["// require() chunk loading for javascript",`${_e}.require = ${N.basicFunction("chunkId, promises",Oe!==false?['// "1" is the signal for "already loaded"',"if(!installedChunks[chunkId]) {",j.indent([Oe===true?"if(true) { // all chunks have JS":`if(${Oe("chunkId")}) {`,j.indent([`installChunk(require(${JSON.stringify(Ne)} + ${w.getChunkScriptFilename}(chunkId)));`]),"} else installedChunks[chunkId] = 1;",""]),"}"]:"installedChunks[chunkId] = 1;")};`]):"// no chunk loading","",Ee?j.asString(["module.exports = __webpack_require__;",`${w.externalInstallChunk} = installChunk;`]):"// no external install chunk","",Me?j.asString(["function loadUpdateChunk(chunkId, updatedModulesList) {",j.indent([`var update = require(${JSON.stringify(Ne)} + ${w.getChunkUpdateScriptFilename}(chunkId));`,"var updatedModules = update.modules;","var runtime = update.runtime;","for(var moduleId in updatedModules) {",j.indent([`if(${w.hasOwnProperty}(updatedModules, moduleId)) {`,j.indent([`currentUpdate[moduleId] = updatedModules[moduleId];`,"if(updatedModulesList) updatedModulesList.push(moduleId);"]),"}"]),"}","if(runtime) currentUpdateRuntime.push(runtime);"]),"}","",j.getFunctionContent(S(22215)).replace(/\$key\$/g,"require").replace(/\$installedChunks\$/g,"installedChunks").replace(/\$loadUpdateChunk\$/g,"loadUpdateChunk").replace(/\$moduleCache\$/g,w.moduleCache).replace(/\$moduleFactories\$/g,w.moduleFactories).replace(/\$ensureChunkHandlers\$/g,w.ensureChunkHandlers).replace(/\$hasOwnProperty\$/g,w.hasOwnProperty).replace(/\$hmrModuleData\$/g,w.hmrModuleData).replace(/\$hmrDownloadUpdateHandlers\$/g,w.hmrDownloadUpdateHandlers).replace(/\$hmrInvalidateModuleHandlers\$/g,w.hmrInvalidateModuleHandlers)]):"// no HMR","",Te?j.asString([`${w.hmrDownloadManifest} = function() {`,j.indent(["return Promise.resolve().then(function() {",j.indent([`return require(${JSON.stringify(Ne)} + ${w.getUpdateManifestFilename}());`]),'}).catch(function(err) { if(err.code !== "MODULE_NOT_FOUND") throw err; });']),"}"]):"// no HMR manifest"])}}E.exports=RequireChunkLoadingRuntimeModule},56642:(E,k,S)=>{"use strict";const w=S(31669);const N=S(50595);E.exports=({colors:E,appendOnly:k,stream:S})=>{let j=undefined;let q=false;let ee="";let te=0;const indent=(k,S,w,N)=>{if(k==="")return k;S=ee+S;if(E){return S+w+k.replace(/\n/g,N+"\n"+S+w)+N}else{return S+k.replace(/\n/g,"\n"+S)}};const clearStatusMessage=()=>{if(q){S.write("\r");q=false}};const writeStatusMessage=()=>{if(!j)return;const E=S.columns;const k=E?N(j,E-1):j;const w=k.join(" ");const ee=`${w}`;S.write(`\r${ee}`);q=true};const writeColored=(E,k,N)=>(...j)=>{if(te>0)return;clearStatusMessage();const q=indent(w.format(...j),E,k,N);S.write(q+"\n");writeStatusMessage()};const ne=writeColored("<-> ","","");const ae=writeColored("<+> ","","");return{log:writeColored(" ","",""),debug:writeColored(" ","",""),trace:writeColored(" ","",""),info:writeColored(" ","",""),warn:writeColored(" ","",""),error:writeColored(" ","",""),logTime:writeColored(" ","",""),group:(...E)=>{ne(...E);if(te>0){te++}else{ee+=" "}},groupCollapsed:(...E)=>{ae(...E);te++},groupEnd:()=>{if(te>0)te--;else if(ee.length>=2)ee=ee.slice(0,ee.length-2)},profile:console.profile&&(E=>console.profile(E)),profileEnd:console.profileEnd&&(E=>console.profileEnd(E)),clear:!k&&console.clear&&(()=>{clearStatusMessage();console.clear();writeStatusMessage()}),status:k?writeColored(" ","",""):(E,...k)=>{k=k.filter(Boolean);if(E===undefined&&k.length===0){clearStatusMessage();j=undefined}else if(typeof E==="string"&&E.startsWith("[webpack.Progress] ")){j=[E.slice(19),...k];writeStatusMessage()}else if(E==="[webpack.Progress]"){j=[...k];writeStatusMessage()}else{j=[E,...k];writeStatusMessage()}}}}},61332:(E,k,S)=>{"use strict";const{STAGE_ADVANCED:w}=S(82414);class AggressiveMergingPlugin{constructor(E){if(E!==undefined&&typeof E!=="object"||Array.isArray(E)){throw new Error("Argument should be an options object. To use defaults, pass in nothing.\nFor more info on options, see https://webpack.js.org/plugins/")}this.options=E||{}}apply(E){const k=this.options;const S=k.minSizeReduce||1.5;E.hooks.thisCompilation.tap("AggressiveMergingPlugin",(E=>{E.hooks.optimizeChunks.tap({name:"AggressiveMergingPlugin",stage:w},(k=>{const w=E.chunkGraph;let N=[];for(const E of k){if(E.canBeInitial())continue;for(const S of k){if(S.canBeInitial())continue;if(S===E)break;if(!w.canChunksBeIntegrated(E,S)){continue}const k=w.getChunkSize(S,{chunkOverhead:0});const j=w.getChunkSize(E,{chunkOverhead:0});const q=w.getIntegratedChunksSize(S,E,{chunkOverhead:0});const ee=(k+j)/q;N.push({a:E,b:S,improvement:ee})}}N.sort(((E,k)=>k.improvement-E.improvement));const j=N[0];if(!j)return;if(j.improvement{"use strict";const{STAGE_ADVANCED:w}=S(82414);const{intersect:N}=S(26221);const{compareModulesByIdentifier:j,compareChunks:q}=S(68673);const ee=S(35817);const te=S(49197);const ne=ee(S(77593),(()=>S(69127)),{name:"Aggressive Splitting Plugin",baseDataPath:"options"});const moveModuleBetween=(E,k,S)=>w=>{E.disconnectChunkAndModule(k,w);E.connectChunkAndModule(S,w)};const isNotAEntryModule=(E,k)=>S=>!E.isEntryModuleInChunk(S,k);const ae=new WeakSet;class AggressiveSplittingPlugin{constructor(E={}){ne(E);this.options=E;if(typeof this.options.minSize!=="number"){this.options.minSize=30*1024}if(typeof this.options.maxSize!=="number"){this.options.maxSize=50*1024}if(typeof this.options.chunkOverhead!=="number"){this.options.chunkOverhead=0}if(typeof this.options.entryChunkMultiplicator!=="number"){this.options.entryChunkMultiplicator=1}}static wasChunkRecorded(E){return ae.has(E)}apply(E){E.hooks.thisCompilation.tap("AggressiveSplittingPlugin",(k=>{let S=false;let ee;let ne;let _e;k.hooks.optimize.tap("AggressiveSplittingPlugin",(()=>{ee=[];ne=new Set;_e=new Map}));k.hooks.optimizeChunks.tap({name:"AggressiveSplittingPlugin",stage:w},(S=>{const w=k.chunkGraph;const ae=new Map;const ve=new Map;const Ee=te.makePathsRelative.bindContextCache(E.context,E.root);for(const E of k.modules){const k=Ee(E.identifier());ae.set(k,E);ve.set(E,k)}const we=new Set;for(const E of S){we.add(E.id)}const Ce=k.records&&k.records.aggressiveSplits||[];const Me=ee?Ce.concat(ee):Ce;const Te=this.options.minSize;const Ie=this.options.maxSize;const applySplit=E=>{if(E.id!==undefined&&we.has(E.id)){return false}const S=E.modules.map((E=>ae.get(E)));if(!S.every(Boolean))return false;let j=0;for(const E of S)j+=E.size();if(j!==E.size)return false;const q=N(S.map((E=>new Set(w.getModuleChunksIterable(E)))));if(q.size===0)return false;if(q.size===1&&w.getNumberOfChunkModules(Array.from(q)[0])===S.length){const k=Array.from(q)[0];if(ne.has(k))return false;ne.add(k);_e.set(k,E);return true}const ee=k.addChunk();ee.chunkReason="aggressive splitted";for(const E of q){S.forEach(moveModuleBetween(w,E,ee));E.split(ee);E.name=null}ne.add(ee);_e.set(ee,E);if(E.id!==null&&E.id!==undefined){ee.id=E.id;ee.ids=[E.id]}return true};let Oe=false;for(let E=0;E{const S=w.getChunkModulesSize(k)-w.getChunkModulesSize(E);if(S)return S;const N=w.getNumberOfChunkModules(E)-w.getNumberOfChunkModules(k);if(N)return N;return Re(E,k)}));for(const E of Fe){if(ne.has(E))continue;const k=w.getChunkModulesSize(E);if(k>Ie&&w.getNumberOfChunkModules(E)>1){const k=w.getOrderedChunkModules(E,j).filter(isNotAEntryModule(w,E));const S=[];let N=0;for(let E=0;EIe&&N>=Te){break}N=j;S.push(w)}if(S.length===0)continue;const q={modules:S.map((E=>ve.get(E))).sort(),size:N};if(applySplit(q)){ee=(ee||[]).concat(q);Oe=true}}}if(Oe)return true}));k.hooks.recordHash.tap("AggressiveSplittingPlugin",(E=>{const w=new Set;const N=new Set;for(const E of k.chunks){const k=_e.get(E);if(k!==undefined){if(k.hash&&E.hash!==k.hash){N.add(k)}}}if(N.size>0){E.aggressiveSplits=E.aggressiveSplits.filter((E=>!N.has(E)));S=true}else{for(const E of k.chunks){const k=_e.get(E);if(k!==undefined){k.hash=E.hash;k.id=E.id;w.add(k);ae.add(E)}}const j=k.records&&k.records.aggressiveSplits;if(j){for(const E of j){if(!N.has(E))w.add(E)}}E.aggressiveSplits=Array.from(w);S=false}}));k.hooks.needAdditionalSeal.tap("AggressiveSplittingPlugin",(()=>{if(S){S=false;return true}}))}))}}E.exports=AggressiveSplittingPlugin},95734:(E,k,S)=>{"use strict";const w=S(19579);const N=S(36337);const{CachedSource:j,ConcatSource:q,ReplaceSource:ee}=S(48135);const te=S(77294);const{UsageState:ne}=S(76632);const ae=S(53453);const _e=S(76150);const ve=S(58159);const Ee=S(37359);const we=S(3711);const{equals:Ce}=S(73910);const Me=S(83379);const{concatComparators:Te,keepOriginalOrder:Ie}=S(68673);const Oe=S(35891);const Re=S(49197).contextify;const Fe=S(56202);const Ne=S(68038);const{filterRuntime:Be,intersectRuntime:Le,mergeRuntimeCondition:je,mergeRuntimeConditionNonFalse:$e,runtimeConditionToString:ze,subtractRuntimeCondition:Ue}=S(37416);const Ge=N;if(!Ge.prototype.PropertyDefinition){Ge.prototype.PropertyDefinition=Ge.prototype.Property}const qe=new Set([te.DEFAULT_EXPORT,te.NAMESPACE_OBJECT_EXPORT,"abstract,arguments,async,await,boolean,break,byte,case,catch,char,class,const,continue","debugger,default,delete,do,double,else,enum,eval,export,extends,false,final,finally,float","for,function,goto,if,implements,import,in,instanceof,int,interface,let,long,native,new,null","package,private,protected,public,return,short,static,super,switch,synchronized,this,throw","throws,transient,true,try,typeof,var,void,volatile,while,with,yield","module,__dirname,__filename,exports,require,define","Array,Date,eval,function,hasOwnProperty,Infinity,isFinite,isNaN,isPrototypeOf,length,Math","NaN,name,Number,Object,prototype,String,toString,undefined,valueOf","alert,all,anchor,anchors,area,assign,blur,button,checkbox,clearInterval,clearTimeout","clientInformation,close,closed,confirm,constructor,crypto,decodeURI,decodeURIComponent","defaultStatus,document,element,elements,embed,embeds,encodeURI,encodeURIComponent,escape","event,fileUpload,focus,form,forms,frame,innerHeight,innerWidth,layer,layers,link,location","mimeTypes,navigate,navigator,frames,frameRate,hidden,history,image,images,offscreenBuffering","open,opener,option,outerHeight,outerWidth,packages,pageXOffset,pageYOffset,parent,parseFloat","parseInt,password,pkcs11,plugin,prompt,propertyIsEnum,radio,reset,screenX,screenY,scroll","secure,select,self,setInterval,setTimeout,status,submit,taint,text,textarea,top,unescape","untaint,window","onblur,onclick,onerror,onfocus,onkeydown,onkeypress,onkeyup,onmouseover,onload,onmouseup,onmousedown,onsubmit"].join(",").split(","));const bySourceOrder=(E,k)=>{const S=E.sourceOrder;const w=k.sourceOrder;if(isNaN(S)){if(!isNaN(w)){return 1}}else{if(isNaN(w)){return-1}if(S!==w){return S{let k="";let S=true;for(const w of E){if(S){S=false}else{k+=", "}k+=w}return k};const getFinalBinding=(E,k,S,w,N,j,q,ee,te,ne,ae,_e=new Set)=>{const Ee=k.module.getExportsType(E,ne);if(S.length===0){switch(Ee){case"default-only":k.interopNamespaceObject2Used=true;return{info:k,rawName:k.interopNamespaceObject2Name,ids:S,exportName:S};case"default-with-named":k.interopNamespaceObjectUsed=true;return{info:k,rawName:k.interopNamespaceObjectName,ids:S,exportName:S};case"namespace":case"dynamic":break;default:throw new Error(`Unexpected exportsType ${Ee}`)}}else{switch(Ee){case"namespace":break;case"default-with-named":switch(S[0]){case"default":S=S.slice(1);break;case"__esModule":return{info:k,rawName:"/* __esModule */true",ids:S.slice(1),exportName:S}}break;case"default-only":{const E=S[0];if(E==="__esModule"){return{info:k,rawName:"/* __esModule */true",ids:S.slice(1),exportName:S}}S=S.slice(1);if(E!=="default"){return{info:k,rawName:"/* non-default import from default-exporting module */undefined",ids:S,exportName:S}}break}case"dynamic":switch(S[0]){case"default":{S=S.slice(1);k.interopDefaultAccessUsed=true;const E=te?`${k.interopDefaultAccessName}()`:ae?`(${k.interopDefaultAccessName}())`:ae===false?`;(${k.interopDefaultAccessName}())`:`${k.interopDefaultAccessName}.a`;return{info:k,rawName:E,ids:S,exportName:S}}case"__esModule":return{info:k,rawName:"/* __esModule */true",ids:S.slice(1),exportName:S}}break;default:throw new Error(`Unexpected exportsType ${Ee}`)}}if(S.length===0){switch(k.type){case"concatenated":ee.add(k);return{info:k,rawName:k.namespaceObjectName,ids:S,exportName:S};case"external":return{info:k,rawName:k.name,ids:S,exportName:S}}}const we=E.getExportsInfo(k.module);const Me=we.getExportInfo(S[0]);if(_e.has(Me)){return{info:k,rawName:"/* circular reexport */ Object(function x() { x() }())",ids:[],exportName:S}}_e.add(Me);switch(k.type){case"concatenated":{const ne=S[0];if(Me.provided===false){ee.add(k);return{info:k,rawName:k.namespaceObjectName,ids:S,exportName:S}}const ve=k.exportMap&&k.exportMap.get(ne);if(ve){const E=we.getUsedName(S,N);if(!E){return{info:k,rawName:"/* unused export */ undefined",ids:S.slice(1),exportName:S}}return{info:k,name:ve,ids:E.slice(1),exportName:S}}const Ee=k.rawExportMap&&k.rawExportMap.get(ne);if(Ee){return{info:k,rawName:Ee,ids:S.slice(1),exportName:S}}const Ce=Me.findTarget(E,(E=>w.has(E)));if(Ce===false){throw new Error(`Target module of reexport from '${k.module.readableIdentifier(j)}' is not part of the concatenation (export '${ne}')\nModules in the concatenation:\n${Array.from(w,(([E,k])=>` * ${k.type} ${E.readableIdentifier(j)}`)).join("\n")}`)}if(Ce){const ne=w.get(Ce.module);return getFinalBinding(E,ne,Ce.export?[...Ce.export,...S.slice(1)]:S.slice(1),w,N,j,q,ee,te,k.module.buildMeta.strictHarmonyModule,ae,_e)}if(k.namespaceExportSymbol){const E=we.getUsedName(S,N);return{info:k,rawName:k.namespaceObjectName,ids:E,exportName:S}}throw new Error(`Cannot get final name for export '${S.join(".")}' of ${k.module.readableIdentifier(j)}`)}case"external":{const E=we.getUsedName(S,N);if(!E){return{info:k,rawName:"/* unused export */ undefined",ids:S.slice(1),exportName:S}}const w=Ce(E,S)?"":ve.toNormalComment(`${S.join(".")}`);return{info:k,rawName:k.name+w,ids:E,exportName:S}}}};const getFinalName=(E,k,S,w,N,j,q,ee,te,ne,ae,_e)=>{const ve=getFinalBinding(E,k,S,w,N,j,q,ee,te,ae,_e);{const{ids:E,comment:k}=ve;let S;let w;if("rawName"in ve){S=`${ve.rawName}${k||""}${Ne(E)}`;w=E.length>0}else{const{info:N,name:q}=ve;const ee=N.internalNames.get(q);if(!ee){throw new Error(`The export "${q}" in "${N.module.readableIdentifier(j)}" has no internal name (existing names: ${Array.from(N.internalNames,(([E,k])=>`${E}: ${k}`)).join(", ")||"none"})`)}S=`${ee}${k||""}${Ne(E)}`;w=E.length>1}if(w&&te&&ne===false){return _e?`(0,${S})`:_e===false?`;(0,${S})`:`Object(${S})`}return S}};const addScopeSymbols=(E,k,S,w)=>{let N=E;while(N){if(S.has(N))break;if(w.has(N))break;S.add(N);for(const E of N.variables){k.add(E.name)}N=N.upper}};const getAllReferences=E=>{let k=E.references;const S=new Set(E.identifiers);for(const w of E.scope.childScopes){for(const E of w.variables){if(E.identifiers.some((E=>S.has(E)))){k=k.concat(E.references);break}}}return k};const getPathInAst=(E,k)=>{if(E===k){return[]}const S=k.range;const enterNode=E=>{if(!E)return undefined;const w=E.range;if(w){if(w[0]<=S[0]&&w[1]>=S[1]){const S=getPathInAst(E,k);if(S){S.push(E);return S}}}return undefined};if(Array.isArray(E)){for(let k=0;k!(E instanceof Ee)||!this._modules.has(k.moduleGraph.getModule(E))))){this.dependencies.push(S)}for(const k of E.blocks){this.blocks.push(k)}const S=E.getWarnings();if(S!==undefined){for(const E of S){this.addWarning(E)}}const w=E.getErrors();if(w!==undefined){for(const E of w){this.addError(E)}}if(E.buildInfo.topLevelDeclarations){const k=this.buildInfo.topLevelDeclarations;if(k!==undefined){for(const S of E.buildInfo.topLevelDeclarations){if(qe.has(S))continue;k.add(S)}}}else{this.buildInfo.topLevelDeclarations=undefined}if(E.buildInfo.assets){if(this.buildInfo.assets===undefined){this.buildInfo.assets=Object.create(null)}Object.assign(this.buildInfo.assets,E.buildInfo.assets)}if(E.buildInfo.assetsInfo){if(this.buildInfo.assetsInfo===undefined){this.buildInfo.assetsInfo=new Map}for(const[k,S]of E.buildInfo.assetsInfo){this.buildInfo.assetsInfo.set(k,S)}}}N()}size(E){let k=0;for(const S of this._modules){k+=S.size(E)}return k}_createConcatenationList(E,k,S,w){const N=[];const j=new Map;const getConcatenatedImports=k=>{let N=Array.from(w.getOutgoingConnections(k));if(k===E){for(const E of w.getOutgoingConnections(this))N.push(E)}const j=N.filter((E=>{if(!(E.dependency instanceof Ee))return false;return E&&E.resolvedOriginModule===k&&E.module&&E.isTargetActive(S)})).map((E=>({connection:E,sourceOrder:E.dependency.sourceOrder})));j.sort(Te(bySourceOrder,Ie(j)));const q=new Map;for(const{connection:E}of j){const k=Be(S,(k=>E.isTargetActive(k)));if(k===false)continue;const w=E.module;const N=q.get(w);if(N===undefined){q.set(w,{connection:E,runtimeCondition:k});continue}N.runtimeCondition=$e(N.runtimeCondition,k,S)}return q.values()};const enterModule=(E,w)=>{const q=E.module;if(!q)return;const ee=j.get(q);if(ee===true){return}if(k.has(q)){j.set(q,true);if(w!==true){throw new Error(`Cannot runtime-conditional concatenate a module (${q.identifier()} in ${this.rootModule.identifier()}, ${ze(w)}). This should not happen.`)}const k=getConcatenatedImports(q);for(const{connection:E,runtimeCondition:S}of k)enterModule(E,S);N.push({type:"concatenated",module:E.module,runtimeCondition:w})}else{if(ee!==undefined){const k=Ue(w,ee,S);if(k===false)return;w=k;j.set(E.module,$e(ee,w,S))}else{j.set(E.module,w)}if(N.length>0){const k=N[N.length-1];if(k.type==="external"&&k.module===E.module){k.runtimeCondition=je(k.runtimeCondition,w,S);return}}N.push({type:"external",get module(){return E.module},runtimeCondition:w})}};j.set(E,true);const q=getConcatenatedImports(E);for(const{connection:E,runtimeCondition:k}of q)enterModule(E,k);N.push({type:"concatenated",module:E,runtimeCondition:true});return N}static _createIdentifier(E,k,S){const w=Re.bindContextCache(E.context,S);let N=[];for(const E of k){N.push(w(E.identifier()))}N.sort();const j=Oe("md4");j.update(N.join(" "));return E.identifier()+"|"+j.digest("hex")}addCacheDependencies(E,k,S,w){for(const N of this._modules){N.addCacheDependencies(E,k,S,w)}}codeGeneration({dependencyTemplates:E,runtimeTemplate:k,moduleGraph:S,chunkGraph:w,runtime:N}){const ee=new Set;const ae=Le(N,this._runtime);const ve=k.requestShortener;const[Ee,we]=this._getModulesWithInfo(S,ae);const Ce=new Set;for(const N of we.values()){this._analyseModule(we,N,E,k,S,w,ae)}const Me=new Set(qe);const Te=new Map;const getUsedNamesInScopeInfo=(E,k)=>{const S=`${E}-${k}`;let w=Te.get(S);if(w===undefined){w={usedNames:new Set,alreadyCheckedScopes:new Set};Te.set(S,w)}return w};const Ie=new Set;for(const E of Ee){if(E.type==="concatenated"){if(E.moduleScope){Ie.add(E.moduleScope)}const w=new WeakMap;const getSuperClassExpressions=E=>{const k=w.get(E);if(k!==undefined)return k;const S=[];for(const k of E.childScopes){if(k.type!=="class")continue;const E=k.block;if((E.type==="ClassDeclaration"||E.type==="ClassExpression")&&E.superClass){S.push({range:E.superClass.range,variables:k.variables})}}w.set(E,S);return S};if(E.globalScope){for(const w of E.globalScope.through){const N=w.identifier.name;if(te.isModuleReference(N)){const j=te.matchModuleReference(N);if(!j)continue;const q=Ee[j.index];if(q.type==="reference")throw new Error("Module reference can't point to a reference");const ee=getFinalBinding(S,q,j.ids,we,ae,ve,k,Ce,false,E.module.buildMeta.strictHarmonyModule,true);if(!ee.ids)continue;const{usedNames:ne,alreadyCheckedScopes:_e}=getUsedNamesInScopeInfo(ee.info.module.identifier(),"name"in ee?ee.name:"");for(const E of getSuperClassExpressions(w.from)){if(E.range[0]<=w.identifier.range[0]&&E.range[1]>=w.identifier.range[1]){for(const k of E.variables){ne.add(k.name)}}}addScopeSymbols(w.from,ne,_e,Ie)}else{Me.add(N)}}}}}for(const E of we.values()){const{usedNames:k}=getUsedNamesInScopeInfo(E.module.identifier(),"");switch(E.type){case"concatenated":{for(const k of E.moduleScope.variables){const S=k.name;const{usedNames:w,alreadyCheckedScopes:N}=getUsedNamesInScopeInfo(E.module.identifier(),S);if(Me.has(S)||w.has(S)){const j=getAllReferences(k);for(const E of j){addScopeSymbols(E.from,w,N,Ie)}const q=this.findNewName(S,Me,w,E.module.readableIdentifier(ve));Me.add(q);E.internalNames.set(S,q);const ee=E.source;const te=new Set(j.map((E=>E.identifier)).concat(k.identifiers));for(const k of te){const S=k.range;const w=getPathInAst(E.ast,k);if(w&&w.length>1){const E=w[1].type==="AssignmentPattern"&&w[1].left===w[0]?w[2]:w[1];if(E.type==="Property"&&E.shorthand){ee.insert(S[1],`: ${q}`);continue}}ee.replace(S[0],S[1]-1,q)}}else{Me.add(S);E.internalNames.set(S,S)}}let S;if(E.namespaceExportSymbol){S=E.internalNames.get(E.namespaceExportSymbol)}else{S=this.findNewName("namespaceObject",Me,k,E.module.readableIdentifier(ve));Me.add(S)}E.namespaceObjectName=S;break}case"external":{const S=this.findNewName("",Me,k,E.module.readableIdentifier(ve));Me.add(S);E.name=S;break}}if(E.module.buildMeta.exportsType!=="namespace"){const S=this.findNewName("namespaceObject",Me,k,E.module.readableIdentifier(ve));Me.add(S);E.interopNamespaceObjectName=S}if(E.module.buildMeta.exportsType==="default"&&E.module.buildMeta.defaultObject!=="redirect"){const S=this.findNewName("namespaceObject2",Me,k,E.module.readableIdentifier(ve));Me.add(S);E.interopNamespaceObject2Name=S}if(E.module.buildMeta.exportsType==="dynamic"||!E.module.buildMeta.exportsType){const S=this.findNewName("default",Me,k,E.module.readableIdentifier(ve));Me.add(S);E.interopDefaultAccessName=S}}for(const E of we.values()){if(E.type==="concatenated"){for(const w of E.globalScope.through){const N=w.identifier.name;const j=te.matchModuleReference(N);if(j){const N=Ee[j.index];if(N.type==="reference")throw new Error("Module reference can't point to a reference");const q=getFinalName(S,N,j.ids,we,ae,ve,k,Ce,j.call,!j.directImport,E.module.buildMeta.strictHarmonyModule,j.asiSafe);const ee=w.identifier.range;const te=E.source;te.replace(ee[0],ee[1]+1,q)}}}}const Oe=new Map;const Re=new Set;const Fe=we.get(this.rootModule);const Ne=Fe.module.buildMeta.strictHarmonyModule;const Be=S.getExportsInfo(Fe.module);for(const E of Be.orderedExports){const w=E.name;if(E.provided===false)continue;const N=E.getUsedName(undefined,ae);if(!N){Re.add(w);continue}Oe.set(N,(j=>{try{const N=getFinalName(S,Fe,[w],we,ae,j,k,Ce,false,false,Ne,true);return`/* ${E.isReexport()?"reexport":"binding"} */ ${N}`}catch(E){E.message+=`\nwhile generating the root export '${w}' (used name: '${N}')`;throw E}}))}const je=new q;if(S.getExportsInfo(this).otherExportsInfo.getUsed(ae)!==ne.Unused){je.add(`// ESM COMPAT FLAG\n`);je.add(k.defineEsModuleFlagStatement({exportsArgument:this.exportsArgument,runtimeRequirements:ee}))}if(Oe.size>0){ee.add(_e.exports);ee.add(_e.definePropertyGetters);const E=[];for(const[S,w]of Oe){E.push(`\n ${JSON.stringify(S)}: ${k.returningFunction(w(ve))}`)}je.add(`\n// EXPORTS\n`);je.add(`${_e.definePropertyGetters}(${this.exportsArgument}, {${E.join(",")}\n});\n`)}if(Re.size>0){je.add(`\n// UNUSED EXPORTS: ${joinIterableWithComma(Re)}\n`)}const $e=new Map;for(const E of Ce){if(E.namespaceExportSymbol)continue;const w=[];const N=S.getExportsInfo(E.module);for(const j of N.orderedExports){if(j.provided===false)continue;const N=j.getUsedName(undefined,ae);if(N){const q=getFinalName(S,E,[j.name],we,ae,ve,k,Ce,false,undefined,E.module.buildMeta.strictHarmonyModule,true);w.push(`\n ${JSON.stringify(N)}: ${k.returningFunction(q)}`)}}const j=E.namespaceObjectName;const q=w.length>0?`${_e.definePropertyGetters}(${j}, {${w.join(",")}\n});\n`:"";if(w.length>0)ee.add(_e.definePropertyGetters);$e.set(E,`\n// NAMESPACE OBJECT: ${E.module.readableIdentifier(ve)}\nvar ${j} = {};\n${_e.makeNamespaceObject}(${j});\n${q}`);ee.add(_e.makeNamespaceObject)}for(const E of Ee){if(E.type==="concatenated"){const k=$e.get(E);if(!k)continue;je.add(k)}}const ze=[];for(const E of Ee){let S;let N=false;const j=E.type==="reference"?E.target:E;switch(j.type){case"concatenated":{je.add(`\n;// CONCATENATED MODULE: ${j.module.readableIdentifier(ve)}\n`);je.add(j.source);if(j.chunkInitFragments){for(const E of j.chunkInitFragments)ze.push(E)}if(j.runtimeRequirements){for(const E of j.runtimeRequirements){ee.add(E)}}S=j.namespaceObjectName;break}case"external":{je.add(`\n// EXTERNAL MODULE: ${j.module.readableIdentifier(ve)}\n`);ee.add(_e.require);const{runtimeCondition:q}=E;const te=k.runtimeConditionExpression({chunkGraph:w,runtimeCondition:q,runtime:ae,runtimeRequirements:ee});if(te!=="true"){N=true;je.add(`if (${te}) {\n`)}je.add(`var ${j.name} = __webpack_require__(${JSON.stringify(w.getModuleId(j.module))});`);S=j.name;break}default:throw new Error(`Unsupported concatenation entry type ${j.type}`)}if(j.interopNamespaceObjectUsed){ee.add(_e.createFakeNamespaceObject);je.add(`\nvar ${j.interopNamespaceObjectName} = /*#__PURE__*/${_e.createFakeNamespaceObject}(${S}, 2);`)}if(j.interopNamespaceObject2Used){ee.add(_e.createFakeNamespaceObject);je.add(`\nvar ${j.interopNamespaceObject2Name} = /*#__PURE__*/${_e.createFakeNamespaceObject}(${S});`)}if(j.interopDefaultAccessUsed){ee.add(_e.compatGetDefaultExport);je.add(`\nvar ${j.interopDefaultAccessName} = /*#__PURE__*/${_e.compatGetDefaultExport}(${S});`)}if(N){je.add("\n}")}}const Ue=new Map;if(ze.length>0)Ue.set("chunkInitFragments",ze);const Ge={sources:new Map([["javascript",new j(je)]]),data:Ue,runtimeRequirements:ee};return Ge}_analyseModule(E,k,S,N,j,q,ne){if(k.type==="concatenated"){const ae=k.module;try{const _e=new te(E,k);const ve=ae.codeGeneration({dependencyTemplates:S,runtimeTemplate:N,moduleGraph:j,chunkGraph:q,runtime:ne,concatenationScope:_e});const Ee=ve.sources.get("javascript");const Ce=ve.data;const Me=Ce&&Ce.get("chunkInitFragments");const Te=Ee.source().toString();let Ie;try{Ie=we._parse(Te,{sourceType:"module"})}catch(E){if(E.loc&&typeof E.loc==="object"&&typeof E.loc.line==="number"){const k=E.loc.line;const S=Te.split("\n");E.message+="\n| "+S.slice(Math.max(0,k-3),k+2).join("\n| ")}throw E}const Oe=w.analyze(Ie,{ecmaVersion:6,sourceType:"module",optimistic:true,ignoreEval:true,impliedStrict:true});const Re=Oe.acquire(Ie);const Fe=Re.childScopes[0];const Ne=new ee(Ee);k.runtimeRequirements=ve.runtimeRequirements;k.ast=Ie;k.internalSource=Ee;k.source=Ne;k.chunkInitFragments=Me;k.globalScope=Re;k.moduleScope=Fe}catch(E){E.message+=`\nwhile analysing module ${ae.identifier()} for concatenation`;throw E}}}_getModulesWithInfo(E,k){const S=this._createConcatenationList(this.rootModule,this._modules,k,E);const w=new Map;const N=S.map(((E,k)=>{let S=w.get(E.module);if(S===undefined){switch(E.type){case"concatenated":S={type:"concatenated",module:E.module,index:k,ast:undefined,internalSource:undefined,runtimeRequirements:undefined,source:undefined,globalScope:undefined,moduleScope:undefined,internalNames:new Map,exportMap:undefined,rawExportMap:undefined,namespaceExportSymbol:undefined,namespaceObjectName:undefined,interopNamespaceObjectUsed:false,interopNamespaceObjectName:undefined,interopNamespaceObject2Used:false,interopNamespaceObject2Name:undefined,interopDefaultAccessUsed:false,interopDefaultAccessName:undefined};break;case"external":S={type:"external",module:E.module,runtimeCondition:E.runtimeCondition,index:k,name:undefined,interopNamespaceObjectUsed:false,interopNamespaceObjectName:undefined,interopNamespaceObject2Used:false,interopNamespaceObject2Name:undefined,interopDefaultAccessUsed:false,interopDefaultAccessName:undefined};break;default:throw new Error(`Unsupported concatenation entry type ${E.type}`)}w.set(S.module,S);return S}else{const k={type:"reference",runtimeCondition:E.runtimeCondition,target:S};return k}}));return[N,w]}findNewName(E,k,S,w){let N=E;if(N===te.DEFAULT_EXPORT){N=""}if(N===te.NAMESPACE_OBJECT_EXPORT){N="namespaceObject"}w=w.replace(/\.+\/|(\/index)?\.([a-zA-Z0-9]{1,4})($|\s|\?)|\s*\+\s*\d+\s*modules/g,"");const j=w.split("/");while(j.length){N=j.pop()+(N?"_"+N:"");const E=ve.toIdentifier(N);if(!k.has(E)&&(!S||!S.has(E)))return E}let q=0;let ee=ve.toIdentifier(`${N}_${q}`);while(k.has(ee)||S&&S.has(ee)){q++;ee=ve.toIdentifier(`${N}_${q}`)}return ee}updateHash(E,k){const{chunkGraph:S,runtime:w}=k;for(const N of this._createConcatenationList(this.rootModule,this._modules,Le(w,this._runtime),S.moduleGraph)){switch(N.type){case"concatenated":N.module.updateHash(E,k);break;case"external":E.update(`${S.getModuleId(N.module)}`);break}}super.updateHash(E,k)}static deserialize(E){const k=new ConcatenatedModule({identifier:undefined,rootModule:undefined,modules:undefined,runtime:undefined});k.deserialize(E);return k}}Fe(ConcatenatedModule,"webpack/lib/optimize/ConcatenatedModule");E.exports=ConcatenatedModule},38173:(E,k,S)=>{"use strict";const{STAGE_BASIC:w}=S(82414);class EnsureChunkConditionsPlugin{apply(E){E.hooks.compilation.tap("EnsureChunkConditionsPlugin",(E=>{const handler=k=>{const S=E.chunkGraph;const w=new Set;const N=new Set;for(const k of E.modules){for(const j of S.getModuleChunksIterable(k)){if(!k.chunkCondition(j,E)){w.add(j);for(const E of j.groupsIterable){N.add(E)}}}if(w.size===0)continue;const j=new Set;e:for(const S of N){for(const w of S.chunks){if(k.chunkCondition(w,E)){j.add(w);continue e}}if(S.isInitial()){throw new Error("Cannot fullfil chunk condition of "+k.identifier())}for(const E of S.parentsIterable){N.add(E)}}for(const E of w){S.disconnectChunkAndModule(E,k)}for(const E of j){S.connectChunkAndModule(E,k)}w.clear();N.clear()}};E.hooks.optimizeChunks.tap({name:"EnsureChunkConditionsPlugin",stage:w},handler)}))}}E.exports=EnsureChunkConditionsPlugin},76627:E=>{"use strict";class FlagIncludedChunksPlugin{apply(E){E.hooks.compilation.tap("FlagIncludedChunksPlugin",(E=>{E.hooks.optimizeChunkIds.tap("FlagIncludedChunksPlugin",(k=>{const S=E.chunkGraph;const w=new WeakMap;const N=E.modules.size;const j=1/Math.pow(1/N,1/31);const q=Array.from({length:31},((E,k)=>Math.pow(j,k)|0));let ee=0;for(const k of E.modules){let E=30;while(ee%q[E]!==0){E--}w.set(k,1<S.getNumberOfModuleChunks(k))N=k}e:for(const j of S.getModuleChunksIterable(N)){if(E===j)continue;const N=S.getNumberOfChunkModules(j);if(N===0)continue;if(w>N)continue;const q=te.get(j);if((q&k)!==k)continue;for(const k of S.getChunkModulesIterable(E)){if(!S.isModuleInChunk(k,j))continue e}j.ids.push(E.id)}}}))}))}}E.exports=FlagIncludedChunksPlugin},58018:(E,k,S)=>{"use strict";const{UsageState:w}=S(76632);const N=new WeakMap;const j=Symbol("top level symbol");function getState(E){return N.get(E)}k.bailout=E=>{N.set(E,false)};k.enable=E=>{const k=N.get(E);if(k===false){return}N.set(E,{innerGraph:new Map,currentTopLevelSymbol:undefined,usageCallbackMap:new Map})};k.isEnabled=E=>{const k=N.get(E);return!!k};k.addUsage=(E,k,S)=>{const w=getState(E);if(w){const{innerGraph:E}=w;const N=E.get(k);if(S===true){E.set(k,true)}else if(N===undefined){E.set(k,new Set([S]))}else if(N!==true){N.add(S)}}};k.addVariableUsage=(E,S,w)=>{const N=E.getTagData(S,j)||k.tagTopLevelSymbol(E,S);if(N){k.addUsage(E.state,N,w)}};k.inferDependencyUsage=E=>{const k=getState(E);if(!k){return}const{innerGraph:S,usageCallbackMap:w}=k;const N=new Map;const j=new Set(S.keys());while(j.size>0){for(const E of j){let k=new Set;let w=true;const q=S.get(E);let ee=N.get(E);if(ee===undefined){ee=new Set;N.set(E,ee)}if(q!==true&&q!==undefined){for(const E of q){ee.add(E)}for(const N of q){if(typeof N==="string"){k.add(N)}else{const j=S.get(N);if(j===true){k=true;break}if(j!==undefined){for(const S of j){if(S===E)continue;if(ee.has(S))continue;k.add(S);if(typeof S!=="string"){w=false}}}}}if(k===true){S.set(E,true)}else if(k.size===0){S.set(E,undefined)}else{S.set(E,k)}}if(w){j.delete(E)}}}for(const[E,k]of w){const w=S.get(E);for(const E of k){E(w===undefined?false:w)}}};k.onUsage=(E,k)=>{const S=getState(E);if(S){const{usageCallbackMap:E,currentTopLevelSymbol:w}=S;if(w){let S=E.get(w);if(S===undefined){S=new Set;E.set(w,S)}S.add(k)}else{k(true)}}else{k(undefined)}};k.setTopLevelSymbol=(E,k)=>{const S=getState(E);if(S){S.currentTopLevelSymbol=k}};k.getTopLevelSymbol=E=>{const k=getState(E);if(k){return k.currentTopLevelSymbol}};k.tagTopLevelSymbol=(E,k)=>{const S=getState(E.state);if(!S)return;E.defineVariable(k);const w=E.getTagData(k,j);if(w){return w}const N=new TopLevelSymbol(k);E.tagVariable(k,j,N);return N};k.isDependencyUsedByExports=(E,k,S,N)=>{if(k===false)return false;if(k!==true&&k!==undefined){const j=S.getParentModule(E);const q=S.getExportsInfo(j);let ee=false;for(const E of k){if(q.getUsed(E,N)!==w.Unused)ee=true}if(!ee)return false}return true};k.getDependencyUsedByExportsCondition=(E,k,S)=>{if(k===false)return false;if(k!==true&&k!==undefined){const N=S.getParentModule(E);const j=S.getExportsInfo(N);return(E,S)=>{for(const E of k){if(j.getUsed(E,S)!==w.Unused)return true}return false}}return null};class TopLevelSymbol{constructor(E){this.name=E}}k.TopLevelSymbol=TopLevelSymbol;k.topLevelSymbolTag=j},10032:(E,k,S)=>{"use strict";const w=S(53567);const N=S(58018);const{topLevelSymbolTag:j}=N;class InnerGraphPlugin{apply(E){E.hooks.compilation.tap("InnerGraphPlugin",((E,{normalModuleFactory:k})=>{const S=E.getLogger("webpack.InnerGraphPlugin");E.dependencyTemplates.set(w,new w.Template);const handler=(E,k)=>{const onUsageSuper=k=>{N.onUsage(E.state,(S=>{switch(S){case undefined:case true:return;default:{const N=new w(k.range);N.loc=k.loc;N.usedByExports=S;E.state.module.addDependency(N);break}}}))};E.hooks.program.tap("InnerGraphPlugin",(()=>{N.enable(E.state)}));E.hooks.finish.tap("InnerGraphPlugin",(()=>{if(!N.isEnabled(E.state))return;S.time("infer dependency usage");N.inferDependencyUsage(E.state);S.timeAggregate("infer dependency usage")}));const q=new WeakMap;const ee=new WeakMap;const te=new WeakMap;const ne=new WeakMap;const ae=new WeakSet;E.hooks.preStatement.tap("InnerGraphPlugin",(k=>{if(!N.isEnabled(E.state))return;if(E.scope.topLevelScope===true){if(k.type==="FunctionDeclaration"){const S=k.id?k.id.name:"*default*";const w=N.tagTopLevelSymbol(E,S);q.set(k,w);return true}}}));E.hooks.blockPreStatement.tap("InnerGraphPlugin",(k=>{if(!N.isEnabled(E.state))return;if(E.scope.topLevelScope===true){if(k.type==="ClassDeclaration"){const S=k.id?k.id.name:"*default*";const w=N.tagTopLevelSymbol(E,S);te.set(k,w);return true}if(k.type==="ExportDefaultDeclaration"){const S="*default*";const w=N.tagTopLevelSymbol(E,S);const j=k.declaration;if(j.type==="ClassExpression"||j.type==="ClassDeclaration"){te.set(j,w)}else if(E.isPure(j,k.range[0])){q.set(k,w);if(!j.type.endsWith("FunctionExpression")&&!j.type.endsWith("Declaration")&&j.type!=="Literal"){ee.set(k,j)}}}}}));E.hooks.preDeclarator.tap("InnerGraphPlugin",((k,S)=>{if(!N.isEnabled(E.state))return;if(E.scope.topLevelScope===true&&k.init&&k.id.type==="Identifier"){const S=k.id.name;if(k.init.type==="ClassExpression"){const w=N.tagTopLevelSymbol(E,S);te.set(k.init,w)}else if(E.isPure(k.init,k.id.range[1])){const w=N.tagTopLevelSymbol(E,S);ne.set(k,w);if(!k.init.type.endsWith("FunctionExpression")&&k.init.type!=="Literal"){ae.add(k)}return true}}}));E.hooks.statement.tap("InnerGraphPlugin",(k=>{if(!N.isEnabled(E.state))return;if(E.scope.topLevelScope===true){N.setTopLevelSymbol(E.state,undefined);const S=q.get(k);if(S){N.setTopLevelSymbol(E.state,S);const j=ee.get(k);if(j){N.onUsage(E.state,(S=>{switch(S){case undefined:case true:return;default:{const N=new w(j.range);N.loc=k.loc;N.usedByExports=S;E.state.module.addDependency(N);break}}}))}}}}));E.hooks.classExtendsExpression.tap("InnerGraphPlugin",((k,S)=>{if(!N.isEnabled(E.state))return;if(E.scope.topLevelScope===true){const w=te.get(S);if(w&&E.isPure(k,S.id?S.id.range[1]:S.range[0])){N.setTopLevelSymbol(E.state,w);onUsageSuper(k)}}}));E.hooks.classBodyElement.tap("InnerGraphPlugin",((k,S)=>{if(!N.isEnabled(E.state))return;if(E.scope.topLevelScope===true){const k=te.get(S);if(k){N.setTopLevelSymbol(E.state,undefined)}}}));E.hooks.classBodyValue.tap("InnerGraphPlugin",((k,S,j)=>{if(!N.isEnabled(E.state))return;if(E.scope.topLevelScope===true){const q=te.get(j);if(q){if(!S.static||E.isPure(k,S.key?S.key.range[1]:S.range[0])){N.setTopLevelSymbol(E.state,q);if(S.type!=="MethodDefinition"&&S.static){N.onUsage(E.state,(S=>{switch(S){case undefined:case true:return;default:{const N=new w(k.range);N.loc=k.loc;N.usedByExports=S;E.state.module.addDependency(N);break}}}))}}else{N.setTopLevelSymbol(E.state,undefined)}}}}));E.hooks.declarator.tap("InnerGraphPlugin",((k,S)=>{if(!N.isEnabled(E.state))return;const j=ne.get(k);if(j){N.setTopLevelSymbol(E.state,j);if(ae.has(k)){if(k.init.type==="ClassExpression"){if(k.init.superClass){onUsageSuper(k.init.superClass)}}else{N.onUsage(E.state,(S=>{switch(S){case undefined:case true:return;default:{const N=new w(k.init.range);N.loc=k.loc;N.usedByExports=S;E.state.module.addDependency(N);break}}}))}}E.walkExpression(k.init);N.setTopLevelSymbol(E.state,undefined);return true}}));E.hooks.expression.for(j).tap("InnerGraphPlugin",(()=>{const k=E.currentTagData;const S=N.getTopLevelSymbol(E.state);N.addUsage(E.state,k,S||true)}));E.hooks.assign.for(j).tap("InnerGraphPlugin",(k=>{if(!N.isEnabled(E.state))return;if(k.operator==="=")return true}))};k.hooks.parser.for("javascript/auto").tap("InnerGraphPlugin",handler);k.hooks.parser.for("javascript/esm").tap("InnerGraphPlugin",handler);E.hooks.finishModules.tap("InnerGraphPlugin",(()=>{S.timeAggregateEnd("infer dependency usage")}))}))}}E.exports=InnerGraphPlugin},92922:(E,k,S)=>{"use strict";const{STAGE_ADVANCED:w}=S(82414);const N=S(37496);const{compareChunks:j}=S(68673);const q=S(35817);const ee=q(S(72713),(()=>S(97350)),{name:"Limit Chunk Count Plugin",baseDataPath:"options"});const addToSetMap=(E,k,S)=>{const w=E.get(k);if(w===undefined){E.set(k,new Set([S]))}else{w.add(S)}};class LimitChunkCountPlugin{constructor(E){ee(E);this.options=E}apply(E){const k=this.options;E.hooks.compilation.tap("LimitChunkCountPlugin",(E=>{E.hooks.optimizeChunks.tap({name:"LimitChunkCountPlugin",stage:w},(S=>{const w=E.chunkGraph;const q=k.maxChunks;if(!q)return;if(q<1)return;if(E.chunks.size<=q)return;let ee=E.chunks.size-q;const te=j(w);const ne=Array.from(S).sort(te);const ae=new N((E=>E.sizeDiff),((E,k)=>k-E),(E=>E.integratedSize),((E,k)=>E-k),(E=>E.bIdx-E.aIdx),((E,k)=>E-k),((E,k)=>E.bIdx-k.bIdx));const _e=new Map;ne.forEach(((E,S)=>{for(let N=0;N0){const E=new Set(N.groupsIterable);for(const k of j.groupsIterable){E.add(k)}for(const k of E){for(const E of ve){if(E!==N&&E!==j&&E.isInGroup(k)){ee--;if(ee<=0)break e;ve.add(N);ve.add(j);continue e}}for(const S of k.parentsIterable){E.add(S)}}}if(w.canChunksBeIntegrated(N,j)){w.integrateChunks(N,j);E.chunks.delete(j);ve.add(N);Ee=true;ee--;if(ee<=0)break;for(const E of _e.get(N)){if(E.deleted)continue;E.deleted=true;ae.delete(E)}for(const E of _e.get(j)){if(E.deleted)continue;if(E.a===j){if(!w.canChunksBeIntegrated(N,E.b)){E.deleted=true;ae.delete(E);continue}const S=w.getIntegratedChunksSize(N,E.b,k);const j=ae.startUpdate(E);E.a=N;E.integratedSize=S;E.aSize=q;E.sizeDiff=E.bSize+q-S;j()}else if(E.b===j){if(!w.canChunksBeIntegrated(E.a,N)){E.deleted=true;ae.delete(E);continue}const S=w.getIntegratedChunksSize(E.a,N,k);const j=ae.startUpdate(E);E.b=N;E.integratedSize=S;E.bSize=q;E.sizeDiff=q+E.aSize-S;j()}}_e.set(N,_e.get(j));_e.delete(j)}}if(Ee)return true}))}))}}E.exports=LimitChunkCountPlugin},41694:(E,k,S)=>{"use strict";const{UsageState:w}=S(76632);const{numberToIdentifier:N,NUMBER_OF_IDENTIFIER_START_CHARS:j,NUMBER_OF_IDENTIFIER_CONTINUATION_CHARS:q}=S(58159);const{assignDeterministicIds:ee}=S(30328);const{compareSelect:te,compareStringsNumeric:ne}=S(68673);const canMangle=E=>{if(E.otherExportsInfo.getUsed(undefined)!==w.Unused)return false;let k=false;for(const S of E.exports){if(S.canMangle===true){k=true}}return k};const ae=te((E=>E.name),ne);const mangleExportsInfo=(E,k)=>{if(!canMangle(k))return;const S=new Set;const te=[];for(const N of k.ownedExports){const k=N.name;if(!N.hasUsedName()){if(N.canMangle!==true||k.length===1&&/^[a-zA-Z0-9_$]/.test(k)||E&&k.length===2&&/^[a-zA-Z_$][a-zA-Z0-9_$]|^[1-9][0-9]/.test(k)||N.provided!==true){N.setUsedName(k);S.add(k)}else{te.push(N)}}if(N.exportsInfoOwned){const k=N.getUsed(undefined);if(k===w.OnlyPropertiesUsed||k===w.Unused){mangleExportsInfo(E,N.exportsInfo)}}}if(E){ee(te,(E=>E.name),ae,((E,k)=>{const w=N(k);const j=S.size;S.add(w);if(j===S.size)return false;E.setUsedName(w);return true}),[j,j*q],q,S.size)}else{const E=[];const k=[];for(const S of te){if(S.getUsed(undefined)===w.Unused){k.push(S)}else{E.push(S)}}E.sort(ae);k.sort(ae);let j=0;for(const w of[E,k]){for(const E of w){let k;do{k=N(j++)}while(S.has(k));E.setUsedName(k)}}}};class MangleExportsPlugin{constructor(E){this._deterministic=E}apply(E){const{_deterministic:k}=this;E.hooks.compilation.tap("MangleExportsPlugin",(E=>{const S=E.moduleGraph;E.hooks.optimizeCodeGeneration.tap("MangleExportsPlugin",(E=>{for(const w of E){const E=S.getExportsInfo(w);mangleExportsInfo(k,E)}}))}))}}E.exports=MangleExportsPlugin},70026:(E,k,S)=>{"use strict";const{STAGE_BASIC:w}=S(82414);const{runtimeEqual:N}=S(37416);class MergeDuplicateChunksPlugin{apply(E){E.hooks.compilation.tap("MergeDuplicateChunksPlugin",(E=>{E.hooks.optimizeChunks.tap({name:"MergeDuplicateChunksPlugin",stage:w},(k=>{const{chunkGraph:S,moduleGraph:w}=E;const j=new Set;for(const q of k){let k;for(const E of S.getChunkModulesIterable(q)){if(k===undefined){for(const w of S.getModuleChunksIterable(E)){if(w!==q&&S.getNumberOfChunkModules(q)===S.getNumberOfChunkModules(w)&&!j.has(w)){if(k===undefined){k=new Set}k.add(w)}}if(k===undefined)break}else{for(const w of k){if(!S.isModuleInChunk(E,w)){k.delete(w)}}if(k.size===0)break}}if(k!==undefined&&k.size>0){e:for(const j of k){if(j.hasRuntime()!==q.hasRuntime())continue;if(S.getNumberOfEntryModules(q)>0)continue;if(S.getNumberOfEntryModules(j)>0)continue;if(!N(q.runtime,j.runtime)){for(const E of S.getChunkModulesIterable(q)){const k=w.getExportsInfo(E);if(!k.isEquallyUsed(q.runtime,j.runtime)){continue e}}}if(S.canChunksBeIntegrated(q,j)){S.integrateChunks(q,j);E.chunks.delete(j)}}}j.add(q)}}))}))}}E.exports=MergeDuplicateChunksPlugin},52383:(E,k,S)=>{"use strict";const{STAGE_ADVANCED:w}=S(82414);const N=S(35817);const j=N(S(83889),(()=>S(84796)),{name:"Min Chunk Size Plugin",baseDataPath:"options"});class MinChunkSizePlugin{constructor(E){j(E);this.options=E}apply(E){const k=this.options;const S=k.minChunkSize;E.hooks.compilation.tap("MinChunkSizePlugin",(E=>{E.hooks.optimizeChunks.tap({name:"MinChunkSizePlugin",stage:w},(w=>{const N=E.chunkGraph;const j={chunkOverhead:1,entryChunkMultiplicator:1};const q=new Map;const ee=[];const te=[];const ne=[];for(const E of w){if(N.getChunkSize(E,j){const S=q.get(E[0]);const w=q.get(E[1]);const j=N.getIntegratedChunksSize(E[0],E[1],k);const ee=[S+w-j,j,E[0],E[1]];return ee})).sort(((E,k)=>{const S=k[0]-E[0];if(S!==0)return S;return E[1]-k[1]}));if(ae.length===0)return;const _e=ae[0];N.integrateChunks(_e[2],_e[3]);E.chunks.delete(_e[3]);return true}))}))}}E.exports=MinChunkSizePlugin},1697:(E,k,S)=>{"use strict";const w=S(9192);const N=S(81627);class MinMaxSizeWarning extends N{constructor(E,k,S){let N="Fallback cache group";if(E){N=E.length>1?`Cache groups ${E.sort().join(", ")}`:`Cache group ${E[0]}`}super(`SplitChunksPlugin\n`+`${N}\n`+`Configured minSize (${w.formatSize(k)}) is `+`bigger than maxSize (${w.formatSize(S)}).\n`+"This seem to be a invalid optimization.splitChunks configuration.")}}E.exports=MinMaxSizeWarning},35442:(E,k,S)=>{"use strict";const w=S(62355);const N=S(45137);const j=S(75412);const{STAGE_DEFAULT:q}=S(82414);const ee=S(37359);const{compareModulesByIdentifier:te}=S(68673);const{intersectRuntime:ne,mergeRuntimeOwned:ae,filterRuntime:_e,runtimeToString:ve,mergeRuntime:Ee}=S(37416);const we=S(95734);const formatBailoutReason=E=>"ModuleConcatenation bailout: "+E;class ModuleConcatenationPlugin{constructor(E){if(typeof E!=="object")E={};this.options=E}apply(E){E.hooks.compilation.tap("ModuleConcatenationPlugin",(k=>{const S=k.moduleGraph;const te=new Map;const setBailoutReason=(E,k)=>{setInnerBailoutReason(E,k);S.getOptimizationBailout(E).push(typeof k==="function"?E=>formatBailoutReason(k(E)):formatBailoutReason(k))};const setInnerBailoutReason=(E,k)=>{te.set(E,k)};const getInnerBailoutReason=(E,k)=>{const S=te.get(E);if(typeof S==="function")return S(k);return S};const formatBailoutWarning=(E,k)=>S=>{if(typeof k==="function"){return formatBailoutReason(`Cannot concat with ${E.readableIdentifier(S)}: ${k(S)}`)}const w=getInnerBailoutReason(E,S);const N=w?`: ${w}`:"";if(E===k){return formatBailoutReason(`Cannot concat with ${E.readableIdentifier(S)}${N}`)}else{return formatBailoutReason(`Cannot concat with ${E.readableIdentifier(S)} because of ${k.readableIdentifier(S)}${N}`)}};k.hooks.optimizeChunkModules.tapAsync({name:"ModuleConcatenationPlugin",stage:q},((S,q,te)=>{const ne=k.getLogger("webpack.ModuleConcatenationPlugin");const{chunkGraph:ve,moduleGraph:Ee}=k;const Ce=[];const Me=new Set;const Te={chunkGraph:ve,moduleGraph:Ee};ne.time("select relevant modules");for(const E of q){let k=true;let S=true;const w=E.getConcatenationBailoutReason(Te);if(w){setBailoutReason(E,w);continue}if(Ee.isAsync(E)){setBailoutReason(E,`Module is async`);continue}if(!E.buildInfo.strict){setBailoutReason(E,`Module is not in strict mode`);continue}if(ve.getNumberOfModuleChunks(E)===0){setBailoutReason(E,"Module is not in any chunk");continue}const N=Ee.getExportsInfo(E);const j=N.getRelevantExports(undefined);const q=j.filter((E=>E.isReexport()&&!E.getTarget(Ee)));if(q.length>0){setBailoutReason(E,`Reexports in this module do not have a static target (${Array.from(q,(E=>`${E.name||"other exports"}: ${E.getUsedInfo()}`)).join(", ")})`);continue}const ee=j.filter((E=>E.provided!==true));if(ee.length>0){setBailoutReason(E,`List of module exports is dynamic (${Array.from(ee,(E=>`${E.name||"other exports"}: ${E.getProvidedInfo()} and ${E.getUsedInfo()}`)).join(", ")})`);k=false}if(ve.isEntryModule(E)){setInnerBailoutReason(E,"Module is an entry point");S=false}if(k)Ce.push(E);if(S)Me.add(E)}ne.timeEnd("select relevant modules");ne.debug(`${Ce.length} potential root modules, ${Me.size} potential inner modules`);ne.time("sort relevant modules");Ce.sort(((E,k)=>Ee.getDepth(E)-Ee.getDepth(k)));ne.timeEnd("sort relevant modules");const Ie={cached:0,alreadyInConfig:0,invalidModule:0,incorrectChunks:0,incorrectDependency:0,incorrectModuleDependency:0,incorrectChunksOfImporter:0,incorrectRuntimeCondition:0,importerFailed:0,added:0};let Oe=0;let Re=0;let Fe=0;ne.time("find modules to concatenate");const Ne=[];const Be=new Set;for(const E of Ce){if(Be.has(E))continue;let S=undefined;for(const k of ve.getModuleRuntimes(E)){S=ae(S,k)}const w=Ee.getExportsInfo(E);const N=_e(S,(E=>w.isModuleUsed(E)));const j=N===true?S:N===false?undefined:N;const q=new ConcatConfiguration(E,j);const ee=new Map;const te=new Set;for(const S of this._getImports(k,E,j)){te.add(S)}for(const E of te){const w=new Set;const N=this._tryToAdd(k,q,E,S,j,Me,w,ee,ve,true,Ie);if(N){ee.set(E,N);q.addWarning(E,N)}else{for(const E of w){te.add(E)}}}Oe+=te.size;if(!q.isEmpty()){const E=q.getModules();Re+=E.size;Ne.push(q);for(const k of E){if(k!==q.rootModule){Be.add(k)}}}else{Fe++;const k=Ee.getOptimizationBailout(E);for(const E of q.getWarningsSorted()){k.push(formatBailoutWarning(E[0],E[1]))}}}ne.timeEnd("find modules to concatenate");ne.debug(`${Ne.length} successful concat configurations (avg size: ${Re/Ne.length}), ${Fe} bailed out completely`);ne.debug(`${Oe} candidates were considered for adding (${Ie.cached} cached failure, ${Ie.alreadyInConfig} already in config, ${Ie.invalidModule} invalid module, ${Ie.incorrectChunks} incorrect chunks, ${Ie.incorrectDependency} incorrect dependency, ${Ie.incorrectChunksOfImporter} incorrect chunks of importer, ${Ie.incorrectModuleDependency} incorrect module dependency, ${Ie.incorrectRuntimeCondition} incorrect runtime condition, ${Ie.importerFailed} importer failed, ${Ie.added} added)`);ne.time(`sort concat configurations`);Ne.sort(((E,k)=>k.modules.size-E.modules.size));ne.timeEnd(`sort concat configurations`);const Le=new Set;ne.time("create concatenated modules");w.each(Ne,((S,w)=>{const q=S.rootModule;if(Le.has(q))return w();const te=S.getModules();for(const E of te){Le.add(E)}let ne=we.create(q,te,S.runtime,E.root);const build=()=>{ne.build(E.options,k,null,null,(E=>{if(E){if(!E.module){E.module=ne}return w(E)}integrate()}))};const integrate=()=>{N.setChunkGraphForModule(ne,ve);j.setModuleGraphForModule(ne,Ee);for(const E of S.getWarningsSorted()){Ee.getOptimizationBailout(ne).push(formatBailoutWarning(E[0],E[1]))}Ee.cloneModuleAttributes(q,ne);for(const E of te){if(k.builtModules.has(E)){k.builtModules.add(ne)}if(E!==q){Ee.copyOutgoingModuleConnections(E,ne,(k=>k.originModule===E&&!(k.dependency instanceof ee&&te.has(k.module))));for(const k of ve.getModuleChunksIterable(q)){ve.disconnectChunkAndModule(k,E)}}}k.modules.delete(q);N.clearChunkGraphForModule(q);j.clearModuleGraphForModule(q);ve.replaceModule(q,ne);Ee.moveModuleConnections(q,ne,(E=>{const k=E.module===q?E.originModule:E.module;const S=E.dependency instanceof ee&&te.has(k);return!S}));k.modules.add(ne);w()};build()}),(E=>{ne.timeEnd("create concatenated modules");process.nextTick(te.bind(null,E))}))}))}))}_getImports(E,k,S){const w=E.moduleGraph;const N=new Set;for(const j of k.dependencies){if(!(j instanceof ee))continue;const q=w.getConnection(j);if(!q||!q.module||!q.isTargetActive(S)){continue}const te=E.getDependencyReferencedExports(j,undefined);if(te.every((E=>Array.isArray(E)?E.length>0:E.name.length>0))||Array.isArray(w.getProvidedExports(k))){N.add(q.module)}}return N}_tryToAdd(E,k,S,w,N,j,q,we,Ce,Me,Te){const Ie=we.get(S);if(Ie){Te.cached++;return Ie}if(k.has(S)){Te.alreadyInConfig++;return null}if(!j.has(S)){Te.invalidModule++;we.set(S,S);return S}const Oe=Array.from(Ce.getModuleChunksIterable(k.rootModule)).filter((E=>!Ce.isModuleInChunk(S,E)));if(Oe.length>0){const problem=E=>{const k=Array.from(new Set(Oe.map((E=>E.name||"unnamed chunk(s)")))).sort();const w=Array.from(new Set(Array.from(Ce.getModuleChunksIterable(S)).map((E=>E.name||"unnamed chunk(s)")))).sort();return`Module ${S.readableIdentifier(E)} is not in the same chunk(s) (expected in chunk(s) ${k.join(", ")}, module is in chunk(s) ${w.join(", ")})`};Te.incorrectChunks++;we.set(S,problem);return problem}const Re=E.moduleGraph;const Fe=Re.getIncomingConnectionsByOriginModule(S);const Ne=Fe.get(null)||Fe.get(undefined);if(Ne){const E=Ne.filter((E=>E.isActive(w)||E.dependency));if(E.length>0){const problem=k=>{const w=new Set(E.map((E=>E.explanation)).filter(Boolean));const N=Array.from(w).sort();return`Module ${S.readableIdentifier(k)} is referenced ${N.length>0?`by: ${N.join(", ")}`:"in an unsupported way"}`};Te.incorrectDependency++;we.set(S,problem);return problem}}const Be=new Map;for(const[E,k]of Fe){if(E){if(Ce.getNumberOfModuleChunks(E)===0)continue;let S=undefined;for(const k of Ce.getModuleRuntimes(E)){S=ae(S,k)}if(!ne(w,S))continue;const N=k.filter((E=>E.isActive(w)));if(N.length>0)Be.set(E,N)}}const Le=Array.from(Be.keys());const je=Le.filter((E=>{for(const S of Ce.getModuleChunksIterable(k.rootModule)){if(!Ce.isModuleInChunk(E,S)){return true}}return false}));if(je.length>0){const problem=E=>{const k=je.map((k=>k.readableIdentifier(E))).sort();return`Module ${S.readableIdentifier(E)} is referenced from different chunks by these modules: ${k.join(", ")}`};Te.incorrectChunksOfImporter++;we.set(S,problem);return problem}const $e=new Map;for(const[E,k]of Be){const S=k.filter((E=>!E.dependency||!(E.dependency instanceof ee)));if(S.length>0)$e.set(E,k)}if($e.size>0){const problem=E=>{const k=Array.from($e).map((([k,S])=>`${k.readableIdentifier(E)} (referenced with ${Array.from(new Set(S.map((E=>E.dependency&&E.dependency.type)).filter(Boolean))).sort().join(", ")})`)).sort();return`Module ${S.readableIdentifier(E)} is referenced from these modules with unsupported syntax: ${k.join(", ")}`};Te.incorrectModuleDependency++;we.set(S,problem);return problem}if(w!==undefined&&typeof w!=="string"){const E=[];e:for(const[k,S]of Be){let N=false;for(const E of S){const k=_e(w,(k=>E.isTargetActive(k)));if(k===false)continue;if(k===true)continue e;if(N!==false){N=Ee(N,k)}else{N=k}}if(N!==false){E.push({originModule:k,runtimeCondition:N})}}if(E.length>0){const problem=k=>`Module ${S.readableIdentifier(k)} is runtime-dependent referenced by these modules: ${Array.from(E,(({originModule:E,runtimeCondition:S})=>`${E.readableIdentifier(k)} (expected runtime ${ve(w)}, module is only referenced in ${ve(S)})`)).join(", ")}`;Te.incorrectRuntimeCondition++;we.set(S,problem);return problem}}let ze;if(Me){ze=k.snapshot()}k.add(S);Le.sort(te);for(const ee of Le){const te=this._tryToAdd(E,k,ee,w,N,j,q,we,Ce,false,Te);if(te){if(ze!==undefined)k.rollback(ze);Te.importerFailed++;we.set(S,te);return te}}for(const k of this._getImports(E,S,w)){q.add(k)}Te.added++;return null}}class ConcatConfiguration{constructor(E,k){this.rootModule=E;this.runtime=k;this.modules=new Set;this.modules.add(E);this.warnings=new Map}add(E){this.modules.add(E)}has(E){return this.modules.has(E)}isEmpty(){return this.modules.size===1}addWarning(E,k){this.warnings.set(E,k)}getWarningsSorted(){return new Map(Array.from(this.warnings).sort(((E,k)=>{const S=E[0].identifier();const w=k[0].identifier();if(Sw)return 1;return 0})))}getModules(){return this.modules}snapshot(){return this.modules.size}rollback(E){const k=this.modules;for(const S of k){if(E===0){k.delete(S)}else{E--}}}}E.exports=ModuleConcatenationPlugin},30699:(E,k,S)=>{"use strict";const{SyncBailHook:w}=S(92960);const{RawSource:N,CachedSource:j,CompatSource:q}=S(48135);const ee=S(3080);const te=S(81627);const{compareSelect:ne,compareStrings:ae}=S(68673);const _e=S(35891);const ve=new Set;const addToList=(E,k)=>{if(Array.isArray(E)){for(const S of E){k.add(S)}}else if(E){k.add(E)}};const mapAndDeduplicateBuffers=(E,k)=>{const S=[];e:for(const w of E){const E=k(w);for(const k of S){if(E.equals(k))continue e}S.push(E)}return S};const quoteMeta=E=>E.replace(/[-[\]\\/{}()*+?.^$|]/g,"\\$&");const Ee=new WeakMap;const toCachedSource=E=>{if(E instanceof j){return E}const k=Ee.get(E);if(k!==undefined)return k;const S=new j(q.from(E));Ee.set(E,S);return S};const we=new WeakMap;class RealContentHashPlugin{static getCompilationHooks(E){if(!(E instanceof ee)){throw new TypeError("The 'compilation' argument must be an instance of Compilation")}let k=we.get(E);if(k===undefined){k={updateHash:new w(["content","oldHash"])};we.set(E,k)}return k}constructor({hashFunction:E,hashDigest:k}){this._hashFunction=E;this._hashDigest=k}apply(E){E.hooks.compilation.tap("RealContentHashPlugin",(E=>{const k=E.getCache("RealContentHashPlugin|analyse");const S=E.getCache("RealContentHashPlugin|generate");const w=RealContentHashPlugin.getCompilationHooks(E);E.hooks.processAssets.tapPromise({name:"RealContentHashPlugin",stage:ee.PROCESS_ASSETS_STAGE_OPTIMIZE_HASH},(async()=>{const j=E.getAssets();const q=[];const ee=new Map;for(const{source:E,info:k,name:S}of j){const w=toCachedSource(E);const N=w.source();const j=new Set;addToList(k.contenthash,j);const te={name:S,info:k,source:w,newSource:undefined,newSourceWithoutOwn:undefined,content:N,ownHashes:undefined,contentComputePromise:undefined,contentComputeWithoutOwnPromise:undefined,referencedHashes:undefined,hashes:j};q.push(te);for(const E of j){const k=ee.get(E);if(k===undefined){ee.set(E,[te])}else{k.push(te)}}}if(ee.size===0)return;const Ee=new RegExp(Array.from(ee.keys(),quoteMeta).join("|"),"g");await Promise.all(q.map((async E=>{const{name:S,source:w,content:N,hashes:j}=E;if(Buffer.isBuffer(N)){E.referencedHashes=ve;E.ownHashes=ve;return}const q=k.mergeEtags(k.getLazyHashedEtag(w),Array.from(j).join("|"));[E.referencedHashes,E.ownHashes]=await k.providePromise(S,q,(()=>{const E=new Set;let k=new Set;const S=N.match(Ee);if(S){for(const w of S){if(j.has(w)){k.add(w);continue}E.add(w)}}return[E,k]}))})));const getDependencies=k=>{const S=ee.get(k);if(!S){const S=q.filter((E=>E.referencedHashes.has(k)));const w=new te(`RealContentHashPlugin\nSome kind of unexpected caching problem occurred.\nAn asset was cached with a reference to another asset (${k}) that's not in the compilation anymore.\nEither the asset was incorrectly cached, or the referenced asset should also be restored from cache.\nReferenced by:\n${S.map((E=>{const S=new RegExp(`.{0,20}${quoteMeta(k)}.{0,20}`).exec(E.content);return` - ${E.name}: ...${S?S[0]:"???"}...`})).join("\n")}`);E.errors.push(w);return undefined}const w=new Set;for(const{referencedHashes:E,ownHashes:N}of S){if(!N.has(k)){for(const E of N){w.add(E)}}for(const k of E){w.add(k)}}return w};const hashInfo=E=>{const k=ee.get(E);return`${E} (${Array.from(k,(E=>E.name))})`};const we=new Set;for(const E of ee.keys()){const add=(E,k)=>{const S=getDependencies(E);if(!S)return;k.add(E);for(const E of S){if(we.has(E))continue;if(k.has(E)){throw new Error(`Circular hash dependency ${Array.from(k,hashInfo).join(" -> ")} -> ${hashInfo(E)}`)}add(E,k)}we.add(E);k.delete(E)};if(we.has(E))continue;add(E,new Set)}const Ce=new Map;const getEtag=E=>S.mergeEtags(S.getLazyHashedEtag(E.source),Array.from(E.referencedHashes,(E=>Ce.get(E))).join("|"));const computeNewContent=E=>{if(E.contentComputePromise)return E.contentComputePromise;return E.contentComputePromise=(async()=>{if(E.ownHashes.size>0||Array.from(E.referencedHashes).some((E=>Ce.get(E)!==E))){const k=E.name;const w=getEtag(E);E.newSource=await S.providePromise(k,w,(()=>{const k=E.content.replace(Ee,(E=>Ce.get(E)));return new N(k)}))}})()};const computeNewContentWithoutOwn=E=>{if(E.contentComputeWithoutOwnPromise)return E.contentComputeWithoutOwnPromise;return E.contentComputeWithoutOwnPromise=(async()=>{if(E.ownHashes.size>0||Array.from(E.referencedHashes).some((E=>Ce.get(E)!==E))){const k=E.name+"|without-own";const w=getEtag(E);E.newSourceWithoutOwn=await S.providePromise(k,w,(()=>{const k=E.content.replace(Ee,(k=>{if(E.ownHashes.has(k)){return""}return Ce.get(k)}));return new N(k)}))}})()};const Me=ne((E=>E.name),ae);for(const E of we){const k=ee.get(E);k.sort(Me);const S=_e(this._hashFunction);await Promise.all(k.map((k=>k.ownHashes.has(E)?computeNewContentWithoutOwn(k):computeNewContent(k))));const N=mapAndDeduplicateBuffers(k,(k=>{if(k.ownHashes.has(E)){return k.newSourceWithoutOwn?k.newSourceWithoutOwn.buffer():k.source.buffer()}else{return k.newSource?k.newSource.buffer():k.source.buffer()}}));let j=w.updateHash.call(N,E);if(!j){for(const E of N){S.update(E)}const k=S.digest(this._hashDigest);j=k.slice(0,E.length)}Ce.set(E,j)}await Promise.all(q.map((async k=>{await computeNewContent(k);const S=k.name.replace(Ee,(E=>Ce.get(E)));const w={};const N=k.info.contenthash;w.contenthash=Array.isArray(N)?N.map((E=>Ce.get(E))):Ce.get(N);if(k.newSource!==undefined){E.updateAsset(k.name,k.newSource,w)}else{E.updateAsset(k.name,k.source,w)}if(k.name!==S){E.renameAsset(k.name,S)}})))}))}))}}E.exports=RealContentHashPlugin},62665:(E,k,S)=>{"use strict";const{STAGE_BASIC:w,STAGE_ADVANCED:N}=S(82414);class RemoveEmptyChunksPlugin{apply(E){E.hooks.compilation.tap("RemoveEmptyChunksPlugin",(E=>{const handler=k=>{const S=E.chunkGraph;for(const w of k){if(S.getNumberOfChunkModules(w)===0&&!w.hasRuntime()&&S.getNumberOfEntryModules(w)===0){E.chunkGraph.disconnectChunk(w);E.chunks.delete(w)}}};E.hooks.optimizeChunks.tap({name:"RemoveEmptyChunksPlugin",stage:w},handler);E.hooks.optimizeChunks.tap({name:"RemoveEmptyChunksPlugin",stage:N},handler)}))}}E.exports=RemoveEmptyChunksPlugin},78016:(E,k,S)=>{"use strict";const{STAGE_BASIC:w}=S(82414);const N=S(39541);const{intersect:j}=S(26221);class RemoveParentModulesPlugin{apply(E){E.hooks.compilation.tap("RemoveParentModulesPlugin",(E=>{const handler=(k,S)=>{const w=E.chunkGraph;const q=new N;const ee=new WeakMap;for(const k of E.entrypoints.values()){ee.set(k,new Set);for(const E of k.childrenIterable){q.enqueue(E)}}for(const k of E.asyncEntrypoints){ee.set(k,new Set);for(const E of k.childrenIterable){q.enqueue(E)}}while(q.length>0){const E=q.dequeue();let k=ee.get(E);let S=false;for(const N of E.parentsIterable){const j=ee.get(N);if(j!==undefined){if(k===undefined){k=new Set(j);for(const E of N.chunks){for(const S of w.getChunkModulesIterable(E)){k.add(S)}}ee.set(E,k);S=true}else{for(const E of k){if(!w.isModuleInChunkGroup(E,N)&&!j.has(E)){k.delete(E);S=true}}}}}if(S){for(const k of E.childrenIterable){q.enqueue(k)}}}for(const E of k){const k=Array.from(E.groupsIterable,(E=>ee.get(E)));if(k.some((E=>E===undefined)))continue;const S=k.length===1?k[0]:j(k);const N=w.getNumberOfChunkModules(E);const q=new Set;if(N{"use strict";class RuntimeChunkPlugin{constructor(E){this.options={name:E=>`runtime~${E.name}`,...E}}apply(E){E.hooks.thisCompilation.tap("RuntimeChunkPlugin",(E=>{E.hooks.addEntry.tap("RuntimeChunkPlugin",((k,{name:S})=>{if(S===undefined)return;const w=E.entries.get(S);if(w.options.runtime===undefined&&!w.options.dependOn){let E=this.options.name;if(typeof E==="function"){E=E({name:S})}w.options.runtime=E}}))}))}}E.exports=RuntimeChunkPlugin},63410:(E,k,S)=>{"use strict";const w=S(70554);const{STAGE_DEFAULT:N}=S(82414);const j=S(44576);const q=S(2230);const ee=S(72380);const te=new WeakMap;const globToRegexp=(E,k)=>{const S=k.get(E);if(S!==undefined)return S;if(!E.includes("/")){E=`**/${E}`}const N=w(E,{globstar:true,extended:true});const j=N.source;const q=new RegExp("^(\\./)?"+j.slice(1));k.set(E,q);return q};class SideEffectsFlagPlugin{constructor(E=true){this._analyseSource=E}apply(E){let k=te.get(E.root);if(k===undefined){k=new Map;te.set(E.root,k)}E.hooks.compilation.tap("SideEffectsFlagPlugin",((E,{normalModuleFactory:S})=>{const w=E.moduleGraph;S.hooks.module.tap("SideEffectsFlagPlugin",((E,S)=>{const w=S.resourceResolveData;if(w&&w.descriptionFileData&&w.relativePath){const S=w.descriptionFileData.sideEffects;if(S!==undefined){if(E.factoryMeta===undefined){E.factoryMeta={}}const N=SideEffectsFlagPlugin.moduleHasSideEffects(w.relativePath,S,k);E.factoryMeta.sideEffectFree=!N}}return E}));S.hooks.module.tap("SideEffectsFlagPlugin",((E,k)=>{if(typeof k.settings.sideEffects==="boolean"){if(E.factoryMeta===undefined){E.factoryMeta={}}E.factoryMeta.sideEffectFree=!k.settings.sideEffects}return E}));if(this._analyseSource){const parserHandler=E=>{let k;E.hooks.program.tap("SideEffectsFlagPlugin",(()=>{k=undefined}));E.hooks.statement.tap({name:"SideEffectsFlagPlugin",stage:-100},(S=>{if(k)return;if(E.scope.topLevelScope!==true)return;switch(S.type){case"ExpressionStatement":if(!E.isPure(S.expression,S.range[0])){k=S}break;case"IfStatement":case"WhileStatement":case"DoWhileStatement":if(!E.isPure(S.test,S.range[0])){k=S}break;case"ForStatement":if(!E.isPure(S.init,S.range[0])||!E.isPure(S.test,S.init?S.init.range[1]:S.range[0])||!E.isPure(S.update,S.test?S.test.range[1]:S.init?S.init.range[1]:S.range[0])){k=S}break;case"SwitchStatement":if(!E.isPure(S.discriminant,S.range[0])){k=S}break;case"VariableDeclaration":case"ClassDeclaration":case"FunctionDeclaration":if(!E.isPure(S,S.range[0])){k=S}break;case"ExportNamedDeclaration":case"ExportDefaultDeclaration":if(!E.isPure(S.declaration,S.range[0])){k=S}break;case"LabeledStatement":case"BlockStatement":break;case"EmptyStatement":break;case"ExportAllDeclaration":case"ImportDeclaration":break;default:k=S;break}}));E.hooks.finish.tap("SideEffectsFlagPlugin",(()=>{if(k===undefined){E.state.module.buildMeta.sideEffectFree=true}else{const{loc:S,type:N}=k;w.getOptimizationBailout(E.state.module).push((()=>`Statement (${N}) with side effects in source code at ${ee(S)}`))}}))};for(const E of["javascript/auto","javascript/esm","javascript/dynamic"]){S.hooks.parser.for(E).tap("SideEffectsFlagPlugin",parserHandler)}}E.hooks.optimizeDependencies.tap({name:"SideEffectsFlagPlugin",stage:N},(k=>{const S=E.getLogger("webpack.SideEffectsFlagPlugin");S.time("update dependencies");for(const E of k){if(E.getSideEffectsConnectionState(w)===false){const k=w.getExportsInfo(E);for(const S of w.getIncomingConnections(E)){const E=S.dependency;let N;if((N=E instanceof j)||E instanceof q&&!E.namespaceObjectAsContext){if(N&&E.name){const k=w.getExportInfo(S.originModule,E.name);k.moveTarget(w,(({module:E})=>E.getSideEffectsConnectionState(w)===false),(({module:k,export:S})=>{w.updateModule(E,k);w.addExplanation(E,"(skipped side-effect-free modules)");const N=E.getIds(w);E.setIds(w,S?[...S,...N.slice(1)]:N.slice(1));return w.getConnection(E)}));continue}const j=E.getIds(w);if(j.length>0){const S=k.getExportInfo(j[0]);const N=S.getTarget(w,(({module:E})=>E.getSideEffectsConnectionState(w)===false));if(!N)continue;w.updateModule(E,N.module);w.addExplanation(E,"(skipped side-effect-free modules)");E.setIds(w,N.export?[...N.export,...j.slice(1)]:j.slice(1))}}}}}S.timeEnd("update dependencies")}))}))}static moduleHasSideEffects(E,k,S){switch(typeof k){case"undefined":return true;case"boolean":return k;case"string":return globToRegexp(k,S).test(E);case"object":return k.some((k=>SideEffectsFlagPlugin.moduleHasSideEffects(E,k,S)))}}}E.exports=SideEffectsFlagPlugin},40051:(E,k,S)=>{"use strict";const w=S(62433);const{STAGE_ADVANCED:N}=S(82414);const j=S(81627);const{requestToId:q}=S(30328);const{isSubset:ee}=S(26221);const te=S(16102);const{compareModulesByIdentifier:ne,compareIterables:ae}=S(68673);const _e=S(35891);const ve=S(44648);const Ee=S(49197).contextify;const we=S(91671);const Ce=S(1697);const defaultGetName=()=>{};const Me=ve;const Te=new WeakMap;const hashFilename=(E,k)=>{const S=_e(k.hashFunction).update(E).digest(k.hashDigest);return S.slice(0,8)};const getRequests=E=>{let k=0;for(const S of E.groupsIterable){k=Math.max(k,S.chunks.length)}return k};const mapObject=(E,k)=>{const S=Object.create(null);for(const w of Object.keys(E)){S[w]=k(E[w],w)}return S};const isOverlap=(E,k)=>{for(const S of E){if(k.has(S))return true}return false};const Ie=ae(ne);const compareEntries=(E,k)=>{const S=E.cacheGroup.priority-k.cacheGroup.priority;if(S)return S;const w=E.chunks.size-k.chunks.size;if(w)return w;const N=totalSize(E.sizes)*(E.chunks.size-1);const j=totalSize(k.sizes)*(k.chunks.size-1);const q=N-j;if(q)return q;const ee=k.cacheGroupIndex-E.cacheGroupIndex;if(ee)return ee;const te=E.modules;const ne=k.modules;const ae=te.size-ne.size;if(ae)return ae;te.sort();ne.sort();return Ie(te,ne)};const INITIAL_CHUNK_FILTER=E=>E.canBeInitial();const ASYNC_CHUNK_FILTER=E=>!E.canBeInitial();const ALL_CHUNK_FILTER=E=>true;const normalizeSizes=(E,k)=>{if(typeof E==="number"){const S={};for(const w of k)S[w]=E;return S}else if(typeof E==="object"&&E!==null){return{...E}}else{return{}}};const mergeSizes=(...E)=>{let k={};for(let S=E.length-1;S>=0;S--){k=Object.assign(k,E[S])}return k};const hasNonZeroSizes=E=>{for(const k of Object.keys(E)){if(E[k]>0)return true}return false};const combineSizes=(E,k,S)=>{const w=new Set(Object.keys(E));const N=new Set(Object.keys(k));const j={};for(const q of w){if(N.has(q)){j[q]=S(E[q],k[q])}else{j[q]=E[q]}}for(const E of N){if(!w.has(E)){j[E]=k[E]}}return j};const checkMinSize=(E,k)=>{for(const S of Object.keys(k)){const w=E[S];if(w===undefined||w===0)continue;if(w{let S;for(const w of Object.keys(k)){const N=E[w];if(N===undefined||N===0)continue;if(N{let k=0;for(const S of Object.keys(E)){k+=E[S]}return k};const normalizeName=E=>{if(typeof E==="string"){return()=>E}if(typeof E==="function"){return E}};const normalizeChunksFilter=E=>{if(E==="initial"){return INITIAL_CHUNK_FILTER}if(E==="async"){return ASYNC_CHUNK_FILTER}if(E==="all"){return ALL_CHUNK_FILTER}if(typeof E==="function"){return E}};const normalizeCacheGroups=(E,k)=>{if(typeof E==="function"){return E}if(typeof E==="object"&&E!==null){const S=[];for(const w of Object.keys(E)){const N=E[w];if(N===false){continue}if(typeof N==="string"||N instanceof RegExp){const E=createCacheGroupSource({},w,k);S.push(((k,S,w)=>{if(checkTest(N,k,S)){w.push(E)}}))}else if(typeof N==="function"){const E=new WeakMap;S.push(((S,j,q)=>{const ee=N(S);if(ee){const S=Array.isArray(ee)?ee:[ee];for(const N of S){const S=E.get(N);if(S!==undefined){q.push(S)}else{const S=createCacheGroupSource(N,w,k);E.set(N,S);q.push(S)}}}}))}else{const E=createCacheGroupSource(N,w,k);S.push(((k,S,w)=>{if(checkTest(N.test,k,S)&&checkModuleType(N.type,k)&&checkModuleLayer(N.layer,k)){w.push(E)}}))}}const fn=(E,k)=>{let w=[];for(const N of S){N(E,k,w)}return w};return fn}return()=>null};const checkTest=(E,k,S)=>{if(E===undefined)return true;if(typeof E==="function"){return E(k,S)}if(typeof E==="boolean")return E;if(typeof E==="string"){const S=k.nameForCondition();return S&&S.startsWith(E)}if(E instanceof RegExp){const S=k.nameForCondition();return S&&E.test(S)}return false};const checkModuleType=(E,k)=>{if(E===undefined)return true;if(typeof E==="function"){return E(k.type)}if(typeof E==="string"){const S=k.type;return E===S}if(E instanceof RegExp){const S=k.type;return E.test(S)}return false};const checkModuleLayer=(E,k)=>{if(E===undefined)return true;if(typeof E==="function"){return E(k.layer)}if(typeof E==="string"){const S=k.layer;return E===""?!S:S&&S.startsWith(E)}if(E instanceof RegExp){const S=k.layer;return E.test(S)}return false};const createCacheGroupSource=(E,k,S)=>{const w=normalizeSizes(E.minSize,S);const N=normalizeSizes(E.maxSize,S);return{key:k,priority:E.priority,getName:normalizeName(E.name),chunksFilter:normalizeChunksFilter(E.chunks),enforce:E.enforce,minSize:w,minRemainingSize:mergeSizes(normalizeSizes(E.minRemainingSize,S),w),enforceSizeThreshold:normalizeSizes(E.enforceSizeThreshold,S),maxAsyncSize:mergeSizes(normalizeSizes(E.maxAsyncSize,S),N),maxInitialSize:mergeSizes(normalizeSizes(E.maxInitialSize,S),N),minChunks:E.minChunks,maxAsyncRequests:E.maxAsyncRequests,maxInitialRequests:E.maxInitialRequests,filename:E.filename,idHint:E.idHint,automaticNameDelimiter:E.automaticNameDelimiter,reuseExistingChunk:E.reuseExistingChunk,usedExports:E.usedExports}};E.exports=class SplitChunksPlugin{constructor(E={}){const k=E.defaultSizeTypes||["javascript","unknown"];const S=E.fallbackCacheGroup||{};const w=normalizeSizes(E.minSize,k);const N=normalizeSizes(E.maxSize,k);this.options={chunksFilter:normalizeChunksFilter(E.chunks||"all"),defaultSizeTypes:k,minSize:w,minRemainingSize:mergeSizes(normalizeSizes(E.minRemainingSize,k),w),enforceSizeThreshold:normalizeSizes(E.enforceSizeThreshold,k),maxAsyncSize:mergeSizes(normalizeSizes(E.maxAsyncSize,k),N),maxInitialSize:mergeSizes(normalizeSizes(E.maxInitialSize,k),N),minChunks:E.minChunks||1,maxAsyncRequests:E.maxAsyncRequests||1,maxInitialRequests:E.maxInitialRequests||1,hidePathInfo:E.hidePathInfo||false,filename:E.filename||undefined,getCacheGroups:normalizeCacheGroups(E.cacheGroups,k),getName:E.name?normalizeName(E.name):defaultGetName,automaticNameDelimiter:E.automaticNameDelimiter,usedExports:E.usedExports,fallbackCacheGroup:{minSize:mergeSizes(normalizeSizes(S.minSize,k),w),maxAsyncSize:mergeSizes(normalizeSizes(S.maxAsyncSize,k),normalizeSizes(S.maxSize,k),normalizeSizes(E.maxAsyncSize,k),normalizeSizes(E.maxSize,k)),maxInitialSize:mergeSizes(normalizeSizes(S.maxInitialSize,k),normalizeSizes(S.maxSize,k),normalizeSizes(E.maxInitialSize,k),normalizeSizes(E.maxSize,k)),automaticNameDelimiter:S.automaticNameDelimiter||E.automaticNameDelimiter||"~"}};this._cacheGroupCache=new WeakMap}_getCacheGroup(E){const k=this._cacheGroupCache.get(E);if(k!==undefined)return k;const S=mergeSizes(E.minSize,E.enforce?undefined:this.options.minSize);const w=mergeSizes(E.minRemainingSize,E.enforce?undefined:this.options.minRemainingSize);const N=mergeSizes(E.enforceSizeThreshold,E.enforce?undefined:this.options.enforceSizeThreshold);const j={key:E.key,priority:E.priority||0,chunksFilter:E.chunksFilter||this.options.chunksFilter,minSize:S,minRemainingSize:w,enforceSizeThreshold:N,maxAsyncSize:mergeSizes(E.maxAsyncSize,E.enforce?undefined:this.options.maxAsyncSize),maxInitialSize:mergeSizes(E.maxInitialSize,E.enforce?undefined:this.options.maxInitialSize),minChunks:E.minChunks!==undefined?E.minChunks:E.enforce?1:this.options.minChunks,maxAsyncRequests:E.maxAsyncRequests!==undefined?E.maxAsyncRequests:E.enforce?Infinity:this.options.maxAsyncRequests,maxInitialRequests:E.maxInitialRequests!==undefined?E.maxInitialRequests:E.enforce?Infinity:this.options.maxInitialRequests,getName:E.getName!==undefined?E.getName:this.options.getName,usedExports:E.usedExports!==undefined?E.usedExports:this.options.usedExports,filename:E.filename!==undefined?E.filename:this.options.filename,automaticNameDelimiter:E.automaticNameDelimiter!==undefined?E.automaticNameDelimiter:this.options.automaticNameDelimiter,idHint:E.idHint!==undefined?E.idHint:E.key,reuseExistingChunk:E.reuseExistingChunk||false,_validateSize:hasNonZeroSizes(S),_validateRemainingSize:hasNonZeroSizes(w),_minSizeForMaxSize:mergeSizes(E.minSize,this.options.minSize),_conditionalEnforce:hasNonZeroSizes(N)};this._cacheGroupCache.set(E,j);return j}apply(E){const k=Ee.bindContextCache(E.context,E.root);E.hooks.thisCompilation.tap("SplitChunksPlugin",(E=>{const S=E.getLogger("webpack.SplitChunksPlugin");let ae=false;E.hooks.unseal.tap("SplitChunksPlugin",(()=>{ae=false}));E.hooks.optimizeChunks.tap({name:"SplitChunksPlugin",stage:N},(N=>{if(ae)return;ae=true;S.time("prepare");const _e=E.chunkGraph;const ve=E.moduleGraph;const Ee=new Map;const Ie=BigInt("0");const Oe=BigInt("1");let Re=Oe;for(const E of N){Ee.set(E,Re);Re=Re<{const k=E[Symbol.iterator]();let S=k.next();if(S.done)return Ie;const w=S.value;S=k.next();if(S.done)return w;let N=Ee.get(w)|Ee.get(S.value);while(!(S=k.next()).done){N=N|Ee.get(S.value)}return N};const keyToString=E=>{if(typeof E==="bigint")return E.toString(16);return Ee.get(E).toString(16)};const Fe=we((()=>{const k=new Map;const S=new Set;for(const w of E.modules){const E=_e.getModuleChunksIterable(w);const N=getKey(E);if(typeof N==="bigint"){if(!k.has(N)){k.set(N,new Set(E))}}else{S.add(N)}}return{chunkSetsInGraph:k,singleChunkSets:S}}));const groupChunksByExports=E=>{const k=ve.getExportsInfo(E);const S=new Map;for(const w of _e.getModuleChunksIterable(E)){const E=k.getUsageKey(w.runtime);const N=S.get(E);if(N!==undefined){N.push(w)}else{S.set(E,[w])}}return S.values()};const Ne=new Map;const Be=we((()=>{const k=new Map;const S=new Set;for(const w of E.modules){const E=Array.from(groupChunksByExports(w));Ne.set(w,E);for(const w of E){if(w.length===1){S.add(w[0])}else{const E=getKey(w);if(!k.has(E)){k.set(E,new Set(w))}}}}return{chunkSetsInGraph:k,singleChunkSets:S}}));const groupChunkSetsByCount=E=>{const k=new Map;for(const S of E){const E=S.size;let w=k.get(E);if(w===undefined){w=[];k.set(E,w)}w.push(S)}return k};const Le=we((()=>groupChunkSetsByCount(Fe().chunkSetsInGraph.values())));const je=we((()=>groupChunkSetsByCount(Be().chunkSetsInGraph.values())));const createGetCombinations=(E,k,S)=>{const N=new Map;return j=>{const q=N.get(j);if(q!==undefined)return q;if(j instanceof w){const E=[j];N.set(j,E);return E}const te=E.get(j);const ne=[te];for(const[E,k]of S){if(E{const{chunkSetsInGraph:E,singleChunkSets:k}=Fe();return createGetCombinations(E,k,Le())}));const getCombinations=E=>$e()(E);const ze=we((()=>{const{chunkSetsInGraph:E,singleChunkSets:k}=Be();return createGetCombinations(E,k,je())}));const getExportsCombinations=E=>ze()(E);const Ue=new WeakMap;const getSelectedChunks=(E,k)=>{let S=Ue.get(E);if(S===undefined){S=new WeakMap;Ue.set(E,S)}let N=S.get(k);if(N===undefined){const j=[];if(E instanceof w){if(k(E))j.push(E)}else{for(const S of E){if(k(S))j.push(S)}}N={chunks:j,key:getKey(j)};S.set(k,N)}return N};const Ge=new Map;const qe=new Set;const Ve=new Map;const addModuleToChunksInfoMap=(k,S,w,N,q)=>{if(w.length{const E=_e.getModuleChunksIterable(k);const S=getKey(E);return getCombinations(S)}));const N=we((()=>{Be();const E=new Set;const S=Ne.get(k);for(const k of S){const S=getKey(k);for(const k of getExportsCombinations(S))E.add(k)}return E}));let j=0;for(const q of E){const E=this._getCacheGroup(q);const ee=E.usedExports?N():S();for(const S of ee){const N=S instanceof w?1:S.size;if(N{for(const S of E.modules){const w=S.getSourceTypes();if(k.some((E=>w.has(E)))){E.modules.delete(S);for(const k of w){E.sizes[k]-=S.size(k)}}}};const removeMinSizeViolatingModules=E=>{if(!E.cacheGroup._validateSize)return false;const k=getViolatingMinSizes(E.sizes,E.cacheGroup.minSize);if(k===undefined)return false;removeModulesWithSourceType(E,k);return E.modules.size===0};for(const[E,k]of Ve){if(removeMinSizeViolatingModules(k)){Ve.delete(E)}}const We=new Map;while(Ve.size>0){let k;let S;for(const E of Ve){const w=E[0];const N=E[1];if(S===undefined||compareEntries(S,N)<0){S=N;k=w}}const w=S;Ve.delete(k);let N=w.name;let j;let q=false;let ee=false;if(N){const k=E.namedChunks.get(N);if(k!==undefined){j=k;const E=w.chunks.size;w.chunks.delete(j);q=w.chunks.size!==E}}else if(w.cacheGroup.reuseExistingChunk){e:for(const E of w.chunks){if(_e.getNumberOfChunkModules(E)!==w.modules.size){continue}if(w.chunks.size>1&&_e.getNumberOfEntryModules(E)>0){continue}for(const k of w.modules){if(!_e.isModuleInChunk(k,E)){continue e}}if(!j||!j.name){j=E}else if(E.name&&E.name.length=k){ne.delete(E)}}}e:for(const E of ne){for(const k of w.modules){if(_e.isModuleInChunk(k,E))continue e}ne.delete(E)}if(ne.size=w.cacheGroup.minChunks){const E=Array.from(ne);for(const k of w.modules){addModuleToChunksInfoMap(w.cacheGroup,w.cacheGroupIndex,E,getKey(ne),k)}}continue}if(!te&&w.cacheGroup._validateRemainingSize&&ne.size===1){const[E]=ne;let S=Object.create(null);for(const k of _e.getChunkModulesIterable(E)){if(!w.modules.has(k)){for(const E of k.getSourceTypes()){S[E]=(S[E]||0)+k.size(E)}}}const N=getViolatingMinSizes(S,w.cacheGroup.minRemainingSize);if(N!==undefined){const E=w.modules.size;removeModulesWithSourceType(w,N);if(w.modules.size>0&&w.modules.size!==E){Ve.set(k,w)}continue}}if(j===undefined){j=E.addChunk(N)}for(const E of ne){E.split(j)}j.chunkReason=(j.chunkReason?j.chunkReason+", ":"")+(ee?"reused as split chunk":"split chunk");if(w.cacheGroup.key){j.chunkReason+=` (cache group: ${w.cacheGroup.key})`}if(N){j.chunkReason+=` (name: ${N})`}if(w.cacheGroup.filename){j.filenameTemplate=w.cacheGroup.filename}if(w.cacheGroup.idHint){j.idNameHints.add(w.cacheGroup.idHint)}if(!ee){for(const k of w.modules){if(!k.chunkCondition(j,E))continue;_e.connectChunkAndModule(j,k);for(const E of ne){_e.disconnectChunkAndModule(E,k)}}}else{for(const E of w.modules){for(const k of ne){_e.disconnectChunkAndModule(k,E)}}}if(Object.keys(w.cacheGroup.maxAsyncSize).length>0||Object.keys(w.cacheGroup.maxInitialSize).length>0){const E=We.get(j);We.set(j,{minSize:E?combineSizes(E.minSize,w.cacheGroup._minSizeForMaxSize,Math.max):w.cacheGroup.minSize,maxAsyncSize:E?combineSizes(E.maxAsyncSize,w.cacheGroup.maxAsyncSize,Math.min):w.cacheGroup.maxAsyncSize,maxInitialSize:E?combineSizes(E.maxInitialSize,w.cacheGroup.maxInitialSize,Math.min):w.cacheGroup.maxInitialSize,automaticNameDelimiter:w.cacheGroup.automaticNameDelimiter,keys:E?E.keys.concat(w.cacheGroup.key):[w.cacheGroup.key]})}for(const[E,k]of Ve){if(isOverlap(k.chunks,ne)){let S=false;for(const E of w.modules){if(k.modules.has(E)){k.modules.delete(E);for(const S of E.getSourceTypes()){k.sizes[S]-=E.size(S)}S=true}}if(S){if(k.modules.size===0){Ve.delete(E);continue}if(removeMinSizeViolatingModules(k)){Ve.delete(E);continue}}}}}S.timeEnd("queue");S.time("maxSize");const Ke=new Set;const{outputOptions:Xe}=E;for(const S of Array.from(E.chunks)){const w=We.get(S);const{minSize:N,maxAsyncSize:j,maxInitialSize:ee,automaticNameDelimiter:te}=w||this.options.fallbackCacheGroup;let ne;if(S.isOnlyInitial()){ne=ee}else if(S.canBeInitial()){ne=combineSizes(j,ee,Math.min)}else{ne=j}if(Object.keys(ne).length===0){continue}for(const k of Object.keys(ne)){const S=ne[k];const j=N[k];if(typeof j==="number"&&j>S){const k=w&&w.keys;const N=`${k&&k.join()} ${j} ${S}`;if(!Ke.has(N)){Ke.add(N);E.warnings.push(new Ce(k,j,S))}}}const ae=Me({minSize:N,maxSize:mapObject(ne,((E,k)=>{const S=N[k];return typeof S==="number"?Math.max(E,S):E})),items:_e.getChunkModulesIterable(S),getKey(E){const S=Te.get(E);if(S!==undefined)return S;const w=k(E.identifier());const N=E.nameForCondition&&E.nameForCondition();const j=N?k(N):w.replace(/^.*!|\?[^?!]*$/g,"");const ee=j+te+hashFilename(w,Xe);const ne=q(ee);Te.set(E,ne);return ne},getSize(E){const k=Object.create(null);for(const S of E.getSourceTypes()){k[S]=E.size(S)}return k}});if(ae.length<=1){continue}for(let k=0;k100){j=j.slice(0,100)+te+hashFilename(j,Xe)}if(k!==ae.length-1){const k=E.addChunk(j);S.split(k);k.chunkReason=S.chunkReason;for(const N of w.items){if(!N.chunkCondition(k,E)){continue}_e.connectChunkAndModule(k,N);_e.disconnectChunkAndModule(S,N)}}else{S.name=j}}}S.timeEnd("maxSize")}))}))}}},15787:(E,k,S)=>{"use strict";const{formatSize:w}=S(9192);const N=S(81627);E.exports=class AssetsOverSizeLimitWarning extends N{constructor(E,k){const S=E.map((E=>`\n ${E.name} (${w(E.size)})`)).join("");super(`asset size limit: The following asset(s) exceed the recommended size limit (${w(k)}).\nThis can impact web performance.\nAssets: ${S}`);this.name="AssetsOverSizeLimitWarning";this.assets=E}}},84116:(E,k,S)=>{"use strict";const{formatSize:w}=S(9192);const N=S(81627);E.exports=class EntrypointsOverSizeLimitWarning extends N{constructor(E,k){const S=E.map((E=>`\n ${E.name} (${w(E.size)})\n${E.files.map((E=>` ${E}`)).join("\n")}`)).join("");super(`entrypoint size limit: The following entrypoint(s) combined asset size exceeds the recommended limit (${w(k)}). This can impact web performance.\nEntrypoints:${S}\n`);this.name="EntrypointsOverSizeLimitWarning";this.entrypoints=E}}},23529:(E,k,S)=>{"use strict";const w=S(81627);E.exports=class NoAsyncChunksWarning extends w{constructor(){super("webpack performance recommendations: \n"+"You can limit the size of your bundles by using import() or require.ensure to lazy load some parts of your application.\n"+"For more info visit https://webpack.js.org/guides/code-splitting/");this.name="NoAsyncChunksWarning"}}},20625:(E,k,S)=>{"use strict";const{find:w}=S(26221);const N=S(15787);const j=S(84116);const q=S(23529);const ee=new WeakSet;const excludeSourceMap=(E,k,S)=>!S.development;E.exports=class SizeLimitsPlugin{constructor(E){this.hints=E.hints;this.maxAssetSize=E.maxAssetSize;this.maxEntrypointSize=E.maxEntrypointSize;this.assetFilter=E.assetFilter}static isOverSizeLimit(E){return ee.has(E)}apply(E){const k=this.maxEntrypointSize;const S=this.maxAssetSize;const te=this.hints;const ne=this.assetFilter||excludeSourceMap;E.hooks.afterEmit.tap("SizeLimitsPlugin",(E=>{const ae=[];const getEntrypointSize=k=>{let S=0;for(const w of k.getFiles()){const k=E.getAsset(w);if(k&&ne(k.name,k.source,k.info)&&k.source){S+=k.info.size||k.source.size()}}return S};const _e=[];for(const{name:k,source:w,info:N}of E.getAssets()){if(!ne(k,w,N)||!w){continue}const E=N.size||w.size();if(E>S){_e.push({name:k,size:E});ee.add(w)}}const fileFilter=k=>{const S=E.getAsset(k);return S&&ne(S.name,S.source,S.info)};const ve=[];for(const[S,w]of E.entrypoints){const E=getEntrypointSize(w);if(E>k){ve.push({name:S,size:E,files:w.getFiles().filter(fileFilter)});ee.add(w)}}if(te){if(_e.length>0){ae.push(new N(_e,S))}if(ve.length>0){ae.push(new j(ve,k))}if(ae.length>0){const k=w(E.chunks,(E=>!E.canBeInitial()));if(!k){ae.push(new q)}if(te==="error"){E.errors.push(...ae)}else{E.warnings.push(...ae)}}}}))}}},63890:(E,k,S)=>{"use strict";const w=S(66804);const N=S(58159);class ChunkPrefetchFunctionRuntimeModule extends w{constructor(E,k,S){super(`chunk ${E} function`);this.childType=E;this.runtimeFunction=k;this.runtimeHandlers=S}generate(){const{runtimeFunction:E,runtimeHandlers:k}=this;const{runtimeTemplate:S}=this.compilation;return N.asString([`${k} = {};`,`${E} = ${S.basicFunction("chunkId",[`Object.keys(${k}).map(${S.basicFunction("key",`${k}[key](chunkId);`)});`])}`])}}E.exports=ChunkPrefetchFunctionRuntimeModule},5538:(E,k,S)=>{"use strict";const w=S(76150);const N=S(63890);const j=S(2235);const q=S(86400);const ee=S(37536);class ChunkPrefetchPreloadPlugin{apply(E){E.hooks.compilation.tap("ChunkPrefetchPreloadPlugin",(E=>{E.hooks.additionalChunkRuntimeRequirements.tap("ChunkPrefetchPreloadPlugin",((k,S,{chunkGraph:N})=>{if(N.getNumberOfEntryModules(k)===0)return;const q=k.getChildrenOfTypeInOrder(N,"prefetchOrder");if(q){S.add(w.prefetchChunk);S.add(w.onChunksLoaded);E.addRuntimeModule(k,new j(q))}}));E.hooks.additionalTreeRuntimeRequirements.tap("ChunkPrefetchPreloadPlugin",((k,S,{chunkGraph:N})=>{const j=k.getChildIdsByOrdersMap(N,false);if(j.prefetch){S.add(w.prefetchChunk);E.addRuntimeModule(k,new q(j.prefetch))}if(j.preload){S.add(w.preloadChunk);E.addRuntimeModule(k,new ee(j.preload))}}));E.hooks.runtimeRequirementInTree.for(w.prefetchChunk).tap("ChunkPrefetchPreloadPlugin",((k,S)=>{E.addRuntimeModule(k,new N("prefetch",w.prefetchChunk,w.prefetchChunkHandlers));S.add(w.prefetchChunkHandlers)}));E.hooks.runtimeRequirementInTree.for(w.preloadChunk).tap("ChunkPrefetchPreloadPlugin",((k,S)=>{E.addRuntimeModule(k,new N("preload",w.preloadChunk,w.preloadChunkHandlers));S.add(w.preloadChunkHandlers)}))}))}}E.exports=ChunkPrefetchPreloadPlugin},2235:(E,k,S)=>{"use strict";const w=S(76150);const N=S(66804);const j=S(58159);class ChunkPrefetchStartupRuntimeModule extends N{constructor(E){super("startup prefetch",N.STAGE_TRIGGER);this.startupChunks=E}generate(){const{startupChunks:E,chunk:k}=this;const{runtimeTemplate:S}=this.compilation;return j.asString(E.map((({onChunks:E,chunks:N})=>`${w.onChunksLoaded}(0, ${JSON.stringify(E.filter((E=>E===k)).map((E=>E.id)))}, ${S.expressionFunction(N.size<3?Array.from(N,(E=>`${w.prefetchChunk}(${JSON.stringify(E.id)})`)).join(", "):`${JSON.stringify(Array.from(N,(E=>E.id)))}.map(${w.prefetchChunk})`)}, 5);`)))}}E.exports=ChunkPrefetchStartupRuntimeModule},86400:(E,k,S)=>{"use strict";const w=S(76150);const N=S(66804);const j=S(58159);class ChunkPrefetchTriggerRuntimeModule extends N{constructor(E){super(`chunk prefetch trigger`,N.STAGE_TRIGGER);this.chunkMap=E}generate(){const{chunkMap:E}=this;const{runtimeTemplate:k}=this.compilation;const S=["var chunks = chunkToChildrenMap[chunkId];",`Array.isArray(chunks) && chunks.map(${w.prefetchChunk});`];return j.asString([j.asString([`var chunkToChildrenMap = ${JSON.stringify(E,null,"\t")};`,`${w.ensureChunkHandlers}.prefetch = ${k.expressionFunction(`Promise.all(promises).then(${k.basicFunction("",S)})`,"chunkId, promises")};`])])}}E.exports=ChunkPrefetchTriggerRuntimeModule},37536:(E,k,S)=>{"use strict";const w=S(76150);const N=S(66804);const j=S(58159);class ChunkPreloadTriggerRuntimeModule extends N{constructor(E){super(`chunk preload trigger`,N.STAGE_TRIGGER);this.chunkMap=E}generate(){const{chunkMap:E}=this;const{runtimeTemplate:k}=this.compilation;const S=["var chunks = chunkToChildrenMap[chunkId];",`Array.isArray(chunks) && chunks.map(${w.preloadChunk});`];return j.asString([j.asString([`var chunkToChildrenMap = ${JSON.stringify(E,null,"\t")};`,`${w.ensureChunkHandlers}.preload = ${k.basicFunction("chunkId",S)};`])])}}E.exports=ChunkPreloadTriggerRuntimeModule},94288:E=>{"use strict";class BasicEffectRulePlugin{constructor(E,k){this.ruleProperty=E;this.effectType=k||E}apply(E){E.hooks.rule.tap("BasicEffectRulePlugin",((E,k,S,w,N)=>{if(S.has(this.ruleProperty)){S.delete(this.ruleProperty);const E=k[this.ruleProperty];w.effects.push({type:this.effectType,value:E})}}))}}E.exports=BasicEffectRulePlugin},1976:E=>{"use strict";class BasicMatcherRulePlugin{constructor(E,k,S){this.ruleProperty=E;this.dataProperty=k||E;this.invert=S||false}apply(E){E.hooks.rule.tap("BasicMatcherRulePlugin",((k,S,w,N)=>{if(w.has(this.ruleProperty)){w.delete(this.ruleProperty);const j=S[this.ruleProperty];const q=E.compileCondition(`${k}.${this.ruleProperty}`,j);const ee=q.fn;N.conditions.push({property:this.dataProperty,matchWhenEmpty:this.invert?!q.matchWhenEmpty:q.matchWhenEmpty,fn:this.invert?E=>!ee(E):ee})}}))}}E.exports=BasicMatcherRulePlugin},92299:E=>{"use strict";const k="descriptionData";class DescriptionDataMatcherRulePlugin{apply(E){E.hooks.rule.tap("DescriptionDataMatcherRulePlugin",((S,w,N,j)=>{if(N.has(k)){N.delete(k);const q=w[k];for(const w of Object.keys(q)){const N=w.split(".");const ee=E.compileCondition(`${S}.${k}.${w}`,q[w]);j.conditions.push({property:["descriptionData",...N],matchWhenEmpty:ee.matchWhenEmpty,fn:ee.fn})}}}))}}E.exports=DescriptionDataMatcherRulePlugin},73817:(E,k,S)=>{"use strict";const{SyncHook:w}=S(92960);class RuleSetCompiler{constructor(E){this.hooks=Object.freeze({rule:new w(["path","rule","unhandledProperties","compiledRule","references"])});if(E){for(const k of E){k.apply(this)}}}compile(E){const k=new Map;const S=this.compileRules("ruleSet",E,k);const execRule=(E,k,S)=>{for(const S of k.conditions){const k=S.property;if(Array.isArray(k)){let w=E;for(const E of k){if(w&&typeof w==="object"&&Object.prototype.hasOwnProperty.call(w,E)){w=w[E]}else{w=undefined;break}}if(w!==undefined){if(!S.fn(w))return false;continue}}else if(k in E){const w=E[k];if(w!==undefined){if(!S.fn(w))return false;continue}}if(!S.matchWhenEmpty){return false}}for(const w of k.effects){if(typeof w==="function"){const k=w(E);for(const E of k){S.push(E)}}else{S.push(w)}}if(k.rules){for(const w of k.rules){execRule(E,w,S)}}if(k.oneOf){for(const w of k.oneOf){if(execRule(E,w,S)){break}}}return true};return{references:k,exec:E=>{const k=[];for(const w of S){execRule(E,w,k)}return k}}}compileRules(E,k,S){return k.map(((k,w)=>this.compileRule(`${E}[${w}]`,k,S)))}compileRule(E,k,S){const w=new Set(Object.keys(k).filter((E=>k[E]!==undefined)));const N={conditions:[],effects:[],rules:undefined,oneOf:undefined};this.hooks.rule.call(E,k,w,N,S);if(w.has("rules")){w.delete("rules");const j=k.rules;if(!Array.isArray(j))throw this.error(E,j,"Rule.rules must be an array of rules");N.rules=this.compileRules(`${E}.rules`,j,S)}if(w.has("oneOf")){w.delete("oneOf");const j=k.oneOf;if(!Array.isArray(j))throw this.error(E,j,"Rule.oneOf must be an array of rules");N.oneOf=this.compileRules(`${E}.oneOf`,j,S)}if(w.size>0){throw this.error(E,k,`Properties ${Array.from(w).join(", ")} are unknown`)}return N}compileCondition(E,k){if(k===""){return{matchWhenEmpty:true,fn:E=>E===""}}if(!k){throw this.error(E,k,"Expected condition but got falsy value")}if(typeof k==="string"){return{matchWhenEmpty:k.length===0,fn:E=>typeof E==="string"&&E.startsWith(k)}}if(typeof k==="function"){try{return{matchWhenEmpty:k(""),fn:k}}catch(S){throw this.error(E,k,"Evaluation of condition function threw error")}}if(k instanceof RegExp){return{matchWhenEmpty:k.test(""),fn:E=>typeof E==="string"&&k.test(E)}}if(Array.isArray(k)){const S=k.map(((k,S)=>this.compileCondition(`${E}[${S}]`,k)));return this.combineConditionsOr(S)}if(typeof k!=="object"){throw this.error(E,k,`Unexpected ${typeof k} when condition was expected`)}const S=[];for(const w of Object.keys(k)){const N=k[w];switch(w){case"or":if(N){if(!Array.isArray(N)){throw this.error(`${E}.or`,k.and,"Expected array of conditions")}S.push(this.compileCondition(`${E}.or`,N))}break;case"and":if(N){if(!Array.isArray(N)){throw this.error(`${E}.and`,k.and,"Expected array of conditions")}let w=0;for(const k of N){S.push(this.compileCondition(`${E}.and[${w}]`,k));w++}}break;case"not":if(N){const k=this.compileCondition(`${E}.not`,N);const w=k.fn;S.push({matchWhenEmpty:!k.matchWhenEmpty,fn:E=>!w(E)})}break;default:throw this.error(`${E}.${w}`,k[w],`Unexpected property ${w} in condition`)}}if(S.length===0){throw this.error(E,k,"Expected condition, but got empty thing")}return this.combineConditionsAnd(S)}combineConditionsOr(E){if(E.length===0){return{matchWhenEmpty:false,fn:()=>false}}else if(E.length===1){return E[0]}else{return{matchWhenEmpty:E.some((E=>E.matchWhenEmpty)),fn:k=>E.some((E=>E.fn(k)))}}}combineConditionsAnd(E){if(E.length===0){return{matchWhenEmpty:false,fn:()=>false}}else if(E.length===1){return E[0]}else{return{matchWhenEmpty:E.every((E=>E.matchWhenEmpty)),fn:k=>E.every((E=>E.fn(k)))}}}error(E,k,S){return new Error(`Compiling RuleSet failed: ${S} (at ${E}: ${k})`)}}E.exports=RuleSetCompiler},19311:(E,k,S)=>{"use strict";const w=S(31669);class UseEffectRulePlugin{apply(E){E.hooks.rule.tap("UseEffectRulePlugin",((k,S,N,j,q)=>{const conflictWith=(w,j)=>{if(N.has(w)){throw E.error(`${k}.${w}`,S[w],`A Rule must not have a '${w}' property when it has a '${j}' property`)}};if(N.has("use")){N.delete("use");N.delete("enforce");conflictWith("loader","use");conflictWith("options","use");const E=S.use;const ee=S.enforce;const te=ee?`use-${ee}`:"use";const useToEffect=(E,k,S)=>{if(typeof S==="function"){return k=>useToEffectsWithoutIdent(E,S(k))}else{return useToEffectRaw(E,k,S)}};const useToEffectRaw=(E,k,S)=>{if(typeof S==="string"){return{type:te,value:{loader:S,options:undefined,ident:undefined}}}else{const N=S.loader;const j=S.options;let te=S.ident;if(j&&typeof j==="object"){if(!te)te=k;q.set(te,j)}if(typeof j==="string"){w.deprecate((()=>{}),`Using a string as loader options is deprecated (${E}.options)`,"DEP_WEBPACK_RULE_LOADER_OPTIONS_STRING")()}return{type:ee?`use-${ee}`:"use",value:{loader:N,options:j,ident:te}}}};const useToEffectsWithoutIdent=(E,k)=>{if(Array.isArray(k)){return k.map(((k,S)=>useToEffectRaw(`${E}[${S}]`,"[[missing ident]]",k)))}return[useToEffectRaw(E,"[[missing ident]]",k)]};const useToEffects=(E,k)=>{if(Array.isArray(k)){return k.map(((k,S)=>{const w=`${E}[${S}]`;return useToEffect(w,w,k)}))}return[useToEffect(E,E,k)]};if(typeof E==="function"){j.effects.push((S=>useToEffectsWithoutIdent(`${k}.use`,E(S))))}else{for(const S of useToEffects(`${k}.use`,E)){j.effects.push(S)}}}if(N.has("loader")){N.delete("loader");N.delete("options");N.delete("enforce");const ee=S.loader;const te=S.options;const ne=S.enforce;if(ee.includes("!")){throw E.error(`${k}.loader`,ee,"Exclamation mark separated loader lists has been removed in favor of the 'use' property with arrays")}if(ee.includes("?")){throw E.error(`${k}.loader`,ee,"Query arguments on 'loader' has been removed in favor of the 'options' property")}if(typeof te==="string"){w.deprecate((()=>{}),`Using a string as loader options is deprecated (${k}.options)`,"DEP_WEBPACK_RULE_LOADER_OPTIONS_STRING")()}const ae=te&&typeof te==="object"?k:undefined;q.set(ae,te);j.effects.push({type:ne?`use-${ne}`:"use",value:{loader:ee,options:te,ident:ae}})}}))}useItemToEffects(E,k){}}E.exports=UseEffectRulePlugin},84997:(E,k,S)=>{"use strict";const w=S(76150);const N=S(58159);const j=S(9851);class AsyncModuleRuntimeModule extends j{constructor(){super("async module")}generate(){const{runtimeTemplate:E}=this.compilation;const k=w.asyncModule;return N.asString(['var webpackThen = typeof Symbol === "function" ? Symbol("webpack then") : "__webpack_then__";','var webpackExports = typeof Symbol === "function" ? Symbol("webpack exports") : "__webpack_exports__";',`var completeQueue = ${E.basicFunction("queue",["if(queue) {",N.indent([`queue.forEach(${E.expressionFunction("fn.r--","fn")});`,`queue.forEach(${E.expressionFunction("fn.r-- ? fn.r++ : fn()","fn")});`]),"}"])}`,`var completeFunction = ${E.expressionFunction("!--fn.r && fn()","fn")};`,`var queueFunction = ${E.expressionFunction("queue ? queue.push(fn) : completeFunction(fn)","queue, fn")};`,`var wrapDeps = ${E.returningFunction(`deps.map(${E.basicFunction("dep",['if(dep !== null && typeof dep === "object") {',N.indent(["if(dep[webpackThen]) return dep;","if(dep.then) {",N.indent(["var queue = [];",`dep.then(${E.basicFunction("r",["obj[webpackExports] = r;","completeQueue(queue);","queue = 0;"])});`,`var obj = {};\n\t\t\t\t\t\t\tobj[webpackThen] = ${E.expressionFunction("queueFunction(queue, fn), dep.catch(reject)","fn, reject")};`,"return obj;"]),"}"]),"}",`var ret = {};\n\t\t\t\t\tret[webpackThen] = ${E.expressionFunction("completeFunction(fn)","fn")};\n\t\t\t\t\tret[webpackExports] = dep;\n\t\t\t\t\treturn ret;`])})`,"deps")};`,`${k} = ${E.basicFunction("module, body, hasAwait",["var queue = hasAwait && [];","var exports = module.exports;","var currentDeps;","var outerResolve;","var reject;","var isEvaluating = true;","var nested = false;",`var whenAll = ${E.basicFunction("deps, onResolve, onReject",["if (nested) return;","nested = true;","onResolve.r += deps.length;",`deps.map(${E.expressionFunction("dep[webpackThen](onResolve, onReject)","dep, i")});`,"nested = false;"])};`,`var promise = new Promise(${E.basicFunction("resolve, rej",["reject = rej;",`outerResolve = ${E.expressionFunction("resolve(exports), completeQueue(queue), queue = 0")};`])});`,"promise[webpackExports] = exports;",`promise[webpackThen] = ${E.basicFunction("fn, rejectFn",["if (isEvaluating) { return completeFunction(fn); }","if (currentDeps) whenAll(currentDeps, fn, rejectFn);","queueFunction(queue, fn);","promise.catch(rejectFn);"])};`,"module.exports = promise;",`body(${E.basicFunction("deps",["if(!deps) return outerResolve();","currentDeps = wrapDeps(deps);","var fn, result;",`var promise = new Promise(${E.basicFunction("resolve, reject",[`fn = ${E.expressionFunction(`resolve(result = currentDeps.map(${E.returningFunction("d[webpackExports]","d")}))`)};`,"fn.r = 0;","whenAll(currentDeps, fn, reject);"])});`,"return fn.r ? promise : result;"])}).then(outerResolve, reject);`,"isEvaluating = false;"])};`])}}E.exports=AsyncModuleRuntimeModule},31164:(E,k,S)=>{"use strict";const w=S(76150);const N=S(66804);const j=S(58159);const q=S(18161);const{getUndoPath:ee}=S(49197);class AutoPublicPathRuntimeModule extends N{constructor(){super("publicPath",N.STAGE_BASIC)}generate(){const{compilation:E}=this;const{scriptType:k,importMetaName:S,path:N}=E.outputOptions;const te=E.getPath(q.getChunkFilenameTemplate(this.chunk,E.outputOptions),{chunk:this.chunk,contentHashType:"javascript"});const ne=ee(te,N,false);return j.asString(["var scriptUrl;",k==="module"?`if (typeof ${S}.url === "string") scriptUrl = ${S}.url`:j.asString([`if (${w.global}.importScripts) scriptUrl = ${w.global}.location + "";`,`var document = ${w.global}.document;`,"if (!scriptUrl && document) {",j.indent([`if (document.currentScript)`,j.indent(`scriptUrl = document.currentScript.src`),"if (!scriptUrl) {",j.indent(['var scripts = document.getElementsByTagName("script");',"if(scripts.length) scriptUrl = scripts[scripts.length - 1].src"]),"}"]),"}"]),"// When supporting browsers where an automatic publicPath is not supported you must specify an output.publicPath manually via configuration",'// or pass an empty string ("") and set the __webpack_public_path__ variable from your code to use your own logic.','if (!scriptUrl) throw new Error("Automatic publicPath is not supported in this browser");','scriptUrl = scriptUrl.replace(/#.*$/, "").replace(/\\?.*$/, "").replace(/\\/[^\\/]+$/, "/");',!ne?`${w.publicPath} = scriptUrl;`:`${w.publicPath} = scriptUrl + ${JSON.stringify(ne)};`])}}E.exports=AutoPublicPathRuntimeModule},64255:(E,k,S)=>{"use strict";const w=S(76150);const N=S(66804);class ChunkNameRuntimeModule extends N{constructor(E){super("chunkName");this.chunkName=E}generate(){return`${w.chunkName} = ${JSON.stringify(this.chunkName)};`}}E.exports=ChunkNameRuntimeModule},90202:(E,k,S)=>{"use strict";const w=S(76150);const N=S(58159);const j=S(9851);class CompatGetDefaultExportRuntimeModule extends j{constructor(){super("compat get default export")}generate(){const{runtimeTemplate:E}=this.compilation;const k=w.compatGetDefaultExport;return N.asString(["// getDefaultExport function for compatibility with non-harmony modules",`${k} = ${E.basicFunction("module",["var getter = module && module.__esModule ?",N.indent([`${E.returningFunction("module['default']")} :`,`${E.returningFunction("module")};`]),`${w.definePropertyGetters}(getter, { a: getter });`,"return getter;"])};`])}}E.exports=CompatGetDefaultExportRuntimeModule},16710:(E,k,S)=>{"use strict";const w=S(76150);const N=S(66804);class CompatRuntimeModule extends N{constructor(){super("compat",N.STAGE_ATTACH);this.fullHash=true}generate(){const{chunkGraph:E,chunk:k,compilation:S}=this;const{runtimeTemplate:N,mainTemplate:j,moduleTemplates:q,dependencyTemplates:ee}=S;const te=j.hooks.bootstrap.call("",k,S.hash||"XXXX",q.javascript,ee);const ne=j.hooks.localVars.call("",k,S.hash||"XXXX");const ae=j.hooks.requireExtensions.call("",k,S.hash||"XXXX");const _e=E.getTreeRuntimeRequirements(k);let ve="";if(_e.has(w.ensureChunk)){const E=j.hooks.requireEnsure.call("",k,S.hash||"XXXX","chunkId");if(E){ve=`${w.ensureChunkHandlers}.compat = ${N.basicFunction("chunkId, promises",E)};`}}return[te,ne,ve,ae].filter(Boolean).join("\n")}shouldIsolate(){return false}}E.exports=CompatRuntimeModule},3236:(E,k,S)=>{"use strict";const w=S(76150);const N=S(58159);const j=S(9851);class CreateFakeNamespaceObjectRuntimeModule extends j{constructor(){super("create fake namespace object")}generate(){const{runtimeTemplate:E}=this.compilation;const k=w.createFakeNamespaceObject;return N.asString([`var getProto = Object.getPrototypeOf ? ${E.returningFunction("Object.getPrototypeOf(obj)","obj")} : ${E.returningFunction("obj.__proto__","obj")};`,"var leafPrototypes;","// create a fake namespace object","// mode & 1: value is a module id, require it","// mode & 2: merge all properties of value into the ns","// mode & 4: return value when already ns object","// mode & 16: return value when it's Promise-like","// mode & 8|1: behave like require",`${k} = function(value, mode) {`,N.indent([`if(mode & 1) value = this(value);`,`if(mode & 8) return value;`,"if(typeof value === 'object' && value) {",N.indent(["if((mode & 4) && value.__esModule) return value;","if((mode & 16) && typeof value.then === 'function') return value;"]),"}","var ns = Object.create(null);",`${w.makeNamespaceObject}(ns);`,"var def = {};","leafPrototypes = leafPrototypes || [null, getProto({}), getProto([]), getProto(getProto)];","for(var current = mode & 2 && value; typeof current == 'object' && !~leafPrototypes.indexOf(current); current = getProto(current)) {",N.indent([`Object.getOwnPropertyNames(current).forEach(${E.expressionFunction(`def[key] = ${E.returningFunction("value[key]","")}`,"key")});`]),"}",`def['default'] = ${E.returningFunction("value","")};`,`${w.definePropertyGetters}(ns, def);`,"return ns;"]),"};"])}}E.exports=CreateFakeNamespaceObjectRuntimeModule},44160:(E,k,S)=>{"use strict";const w=S(76150);const N=S(58159);const j=S(9851);class CreateScriptUrlRuntimeModule extends j{constructor(){super("trusted types")}generate(){const{compilation:E}=this;const{runtimeTemplate:k,outputOptions:S}=E;const{trustedTypes:j}=S;const q=w.createScriptUrl;if(!j){return N.asString([`${q} = ${k.returningFunction("url","url")};`])}return N.asString(["var policy;",`${q} = ${k.basicFunction("url",["// Create Trusted Type policy if Trusted Types are available and the policy doesn't exist yet.","if (policy === undefined) {",N.indent(["policy = {",N.indent([`createScriptURL: ${k.returningFunction("url","url")}`]),"};",'if (typeof trustedTypes !== "undefined" && trustedTypes.createPolicy) {',N.indent([`policy = trustedTypes.createPolicy(${JSON.stringify(j.policyName)}, policy);`]),"}"]),"}","return policy.createScriptURL(url);"])};`])}}E.exports=CreateScriptUrlRuntimeModule},58957:(E,k,S)=>{"use strict";const w=S(76150);const N=S(58159);const j=S(9851);class DefinePropertyGettersRuntimeModule extends j{constructor(){super("define property getters")}generate(){const{runtimeTemplate:E}=this.compilation;const k=w.definePropertyGetters;return N.asString(["// define getter functions for harmony exports",`${k} = ${E.basicFunction("exports, definition",[`for(var key in definition) {`,N.indent([`if(${w.hasOwnProperty}(definition, key) && !${w.hasOwnProperty}(exports, key)) {`,N.indent(["Object.defineProperty(exports, key, { enumerable: true, get: definition[key] });"]),"}"]),"}"])};`])}}E.exports=DefinePropertyGettersRuntimeModule},59179:(E,k,S)=>{"use strict";const w=S(76150);const N=S(66804);const j=S(58159);class EnsureChunkRuntimeModule extends N{constructor(E){super("ensure chunk");this.runtimeRequirements=E}generate(){const{runtimeTemplate:E}=this.compilation;if(this.runtimeRequirements.has(w.ensureChunkHandlers)){const k=w.ensureChunkHandlers;return j.asString([`${k} = {};`,"// This file contains only the entry chunk.","// The chunk loading function for additional chunks",`${w.ensureChunk} = ${E.basicFunction("chunkId",[`return Promise.all(Object.keys(${k}).reduce(${E.basicFunction("promises, key",[`${k}[key](chunkId, promises);`,"return promises;"])}, []));`])};`])}else{return j.asString(["// The chunk loading function for additional chunks","// Since all referenced chunks are already included","// in this file, this function is empty here.",`${w.ensureChunk} = ${E.returningFunction("Promise.resolve()")};`])}}}E.exports=EnsureChunkRuntimeModule},9609:(E,k,S)=>{"use strict";const w=S(76150);const N=S(66804);const j=S(58159);const{first:q}=S(26221);class GetChunkFilenameRuntimeModule extends N{constructor(E,k,S,w,N){super(`get ${k} chunk filename`);this.contentType=E;this.global=S;this.getFilenameForChunk=w;this.allChunks=N}generate(){const{global:E,chunk:k,chunkGraph:S,contentType:N,getFilenameForChunk:ee,allChunks:te,compilation:ne}=this;const{runtimeTemplate:ae}=ne;const _e=new Map;let ve=0;let Ee;const addChunk=E=>{const k=ee(E);if(k){let S=_e.get(k);if(S===undefined){_e.set(k,S=new Set)}S.add(E);if(typeof k==="string"){if(S.size{const unquotedStringify=k=>{const S=`${k}`;if(S.length>=5&&S===`${E.id}`){return'" + chunkId + "'}const w=JSON.stringify(S);return w.slice(1,w.length-1)};const unquotedStringifyWithLength=E=>k=>unquotedStringify(`${E}`.slice(0,k));const S=typeof k==="function"?JSON.stringify(k({chunk:E,contentHashType:N})):JSON.stringify(k);const j=ne.getPath(S,{hash:`" + ${w.getFullHash}() + "`,hashWithLength:E=>`" + ${w.getFullHash}().slice(0, ${E}) + "`,chunk:{id:unquotedStringify(E.id),hash:unquotedStringify(E.renderedHash),hashWithLength:unquotedStringifyWithLength(E.renderedHash),name:unquotedStringify(E.name||E.id),contentHash:{[N]:unquotedStringify(E.contentHash[N])},contentHashWithLength:{[N]:unquotedStringifyWithLength(E.contentHash[N])}},contentHashType:N});let q=Ce.get(j);if(q===undefined){Ce.set(j,q=new Set)}q.add(E.id)};for(const[E,k]of _e){if(E!==Ee){for(const S of k)addStaticUrl(S,E)}else{for(const E of k)Me.add(E)}}const createMap=E=>{const k={};let S=false;let w;let N=0;for(const j of Me){const q=E(j);if(q===j.id){S=true}else{k[j.id]=q;w=j.id;N++}}if(N===0)return"chunkId";if(N===1){return S?`(chunkId === ${JSON.stringify(w)} ? ${JSON.stringify(k[w])} : chunkId)`:JSON.stringify(k[w])}return S?`(${JSON.stringify(k)}[chunkId] || chunkId)`:`${JSON.stringify(k)}[chunkId]`};const mapExpr=E=>`" + ${createMap(E)} + "`;const mapExprWithLength=E=>k=>`" + ${createMap((S=>`${E(S)}`.slice(0,k)))} + "`;const Te=Ee&&ne.getPath(JSON.stringify(Ee),{hash:`" + ${w.getFullHash}() + "`,hashWithLength:E=>`" + ${w.getFullHash}().slice(0, ${E}) + "`,chunk:{id:`" + chunkId + "`,hash:mapExpr((E=>E.renderedHash)),hashWithLength:mapExprWithLength((E=>E.renderedHash)),name:mapExpr((E=>E.name||E.id)),contentHash:{[N]:mapExpr((E=>E.contentHash[N]))},contentHashWithLength:{[N]:mapExprWithLength((E=>E.contentHash[N]))}},contentHashType:N});return j.asString([`// This function allow to reference ${we.join(" and ")}`,`${E} = ${ae.basicFunction("chunkId",Ce.size>0?["// return url for filenames not based on template",j.asString(Array.from(Ce,(([E,k])=>{const S=k.size===1?`chunkId === ${JSON.stringify(q(k))}`:`{${Array.from(k,(E=>`${JSON.stringify(E)}:1`)).join(",")}}[chunkId]`;return`if (${S}) return ${E};`}))),"// return url for filenames based on template",`return ${Te};`]:["// return url for filenames based on template",`return ${Te};`])};`])}}E.exports=GetChunkFilenameRuntimeModule},75948:(E,k,S)=>{"use strict";const w=S(76150);const N=S(66804);class GetFullHashRuntimeModule extends N{constructor(){super("getFullHash");this.fullHash=true}generate(){const{runtimeTemplate:E}=this.compilation;return`${w.getFullHash} = ${E.returningFunction(JSON.stringify(this.compilation.hash||"XXXX"))}`}}E.exports=GetFullHashRuntimeModule},36100:(E,k,S)=>{"use strict";const w=S(76150);const N=S(66804);const j=S(58159);class GetMainFilenameRuntimeModule extends N{constructor(E,k,S){super(`get ${E} filename`);this.global=k;this.filename=S}generate(){const{global:E,filename:k,compilation:S,chunk:N}=this;const{runtimeTemplate:q}=S;const ee=S.getPath(JSON.stringify(k),{hash:`" + ${w.getFullHash}() + "`,hashWithLength:E=>`" + ${w.getFullHash}().slice(0, ${E}) + "`,chunk:N,runtime:N.runtime});return j.asString([`${E} = ${q.returningFunction(ee)};`])}}E.exports=GetMainFilenameRuntimeModule},13376:(E,k,S)=>{"use strict";const w=S(76150);const N=S(66804);const j=S(58159);class GlobalRuntimeModule extends N{constructor(){super("global")}generate(){return j.asString([`${w.global} = (function() {`,j.indent(["if (typeof globalThis === 'object') return globalThis;","try {",j.indent("return this || new Function('return this')();"),"} catch (e) {",j.indent("if (typeof window === 'object') return window;"),"}"]),"})();"])}}E.exports=GlobalRuntimeModule},37522:(E,k,S)=>{"use strict";const w=S(76150);const N=S(66804);const j=S(58159);class HasOwnPropertyRuntimeModule extends N{constructor(){super("hasOwnProperty shorthand")}generate(){const{runtimeTemplate:E}=this.compilation;return j.asString([`${w.hasOwnProperty} = ${E.returningFunction("Object.prototype.hasOwnProperty.call(obj, prop)","obj, prop")}`])}}E.exports=HasOwnPropertyRuntimeModule},9851:(E,k,S)=>{"use strict";const w=S(66804);class HelperRuntimeModule extends w{constructor(E){super(E)}}E.exports=HelperRuntimeModule},67104:(E,k,S)=>{"use strict";const{SyncWaterfallHook:w}=S(92960);const N=S(3080);const j=S(76150);const q=S(58159);const ee=S(9851);const te=new WeakMap;class LoadScriptRuntimeModule extends ee{static getCompilationHooks(E){if(!(E instanceof N)){throw new TypeError("The 'compilation' argument must be an instance of Compilation")}let k=te.get(E);if(k===undefined){k={createScript:new w(["source","chunk"])};te.set(E,k)}return k}constructor(E){super("load script");this._withCreateScriptUrl=E}generate(){const{compilation:E}=this;const{runtimeTemplate:k,outputOptions:S}=E;const{scriptType:w,chunkLoadTimeout:N,crossOriginLoading:ee,uniqueName:te,charset:ne}=S;const ae=j.loadScript;const{createScript:_e}=LoadScriptRuntimeModule.getCompilationHooks(E);const ve=q.asString(["script = document.createElement('script');",w?`script.type = ${JSON.stringify(w)};`:"",ne?"script.charset = 'utf-8';":"",`script.timeout = ${N/1e3};`,`if (${j.scriptNonce}) {`,q.indent(`script.setAttribute("nonce", ${j.scriptNonce});`),"}",te?'script.setAttribute("data-webpack", dataWebpackPrefix + key);':"",`script.src = ${this._withCreateScriptUrl?`${j.createScriptUrl}(url)`:"url"};`,ee?q.asString(["if (script.src.indexOf(window.location.origin + '/') !== 0) {",q.indent(`script.crossOrigin = ${JSON.stringify(ee)};`),"}"]):""]);return q.asString(["var inProgress = {};",te?`var dataWebpackPrefix = ${JSON.stringify(te+":")};`:"// data-webpack is not used as build has no uniqueName","// loadScript function to load a script via script tag",`${ae} = ${k.basicFunction("url, done, key, chunkId",["if(inProgress[url]) { inProgress[url].push(done); return; }","var script, needAttach;","if(key !== undefined) {",q.indent(['var scripts = document.getElementsByTagName("script");',"for(var i = 0; i < scripts.length; i++) {",q.indent(["var s = scripts[i];",`if(s.getAttribute("src") == url${te?' || s.getAttribute("data-webpack") == dataWebpackPrefix + key':""}) { script = s; break; }`]),"}"]),"}","if(!script) {",q.indent(["needAttach = true;",_e.call(ve,this.chunk)]),"}","inProgress[url] = [done];","var onScriptComplete = "+k.basicFunction("prev, event",q.asString(["// avoid mem leaks in IE.","script.onerror = script.onload = null;","clearTimeout(timeout);","var doneFns = inProgress[url];","delete inProgress[url];","script.parentNode && script.parentNode.removeChild(script);",`doneFns && doneFns.forEach(${k.returningFunction("fn(event)","fn")});`,"if(prev) return prev(event);"])),";",`var timeout = setTimeout(onScriptComplete.bind(null, undefined, { type: 'timeout', target: script }), ${N});`,"script.onerror = onScriptComplete.bind(null, script.onerror);","script.onload = onScriptComplete.bind(null, script.onload);","needAttach && document.head.appendChild(script);"])};`])}}E.exports=LoadScriptRuntimeModule},14676:(E,k,S)=>{"use strict";const w=S(76150);const N=S(58159);const j=S(9851);class MakeNamespaceObjectRuntimeModule extends j{constructor(){super("make namespace object")}generate(){const{runtimeTemplate:E}=this.compilation;const k=w.makeNamespaceObject;return N.asString(["// define __esModule on exports",`${k} = ${E.basicFunction("exports",["if(typeof Symbol !== 'undefined' && Symbol.toStringTag) {",N.indent(["Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });"]),"}","Object.defineProperty(exports, '__esModule', { value: true });"])};`])}}E.exports=MakeNamespaceObjectRuntimeModule},8299:(E,k,S)=>{"use strict";const w=S(76150);const N=S(66804);const j=S(58159);class OnChunksLoadedRuntimeModule extends N{constructor(){super("chunk loaded")}generate(){const{compilation:E}=this;const{runtimeTemplate:k}=E;return j.asString(["var deferred = [];",`${w.onChunksLoaded} = ${k.basicFunction("result, chunkIds, fn, priority",["if(chunkIds) {",j.indent(["priority = priority || 0;","for(var i = deferred.length; i > 0 && deferred[i - 1][2] > priority; i--) deferred[i] = deferred[i - 1];","deferred[i] = [chunkIds, fn, priority];","return;"]),"}","var notFulfilled = Infinity;","for (var i = 0; i < deferred.length; i++) {",j.indent([k.destructureArray(["chunkIds","fn","priority"],"deferred[i]"),"var fulfilled = true;","for (var j = 0; j < chunkIds.length; j++) {",j.indent([`if ((priority & 1 === 0 || notFulfilled >= priority) && Object.keys(${w.onChunksLoaded}).every(${k.returningFunction(`${w.onChunksLoaded}[key](chunkIds[j])`,"key")})) {`,j.indent(["chunkIds.splice(j--, 1);"]),"} else {",j.indent(["fulfilled = false;","if(priority < notFulfilled) notFulfilled = priority;"]),"}"]),"}","if(fulfilled) {",j.indent(["deferred.splice(i--, 1)","result = fn();"]),"}"]),"}","return result;"])};`])}}E.exports=OnChunksLoadedRuntimeModule},48977:(E,k,S)=>{"use strict";const w=S(76150);const N=S(66804);class PublicPathRuntimeModule extends N{constructor(E){super("publicPath",N.STAGE_BASIC);this.publicPath=E}generate(){const{compilation:E,publicPath:k}=this;return`${w.publicPath} = ${JSON.stringify(E.getPath(k||"",{hash:E.hash||"XXXX"}))};`}}E.exports=PublicPathRuntimeModule},21355:(E,k,S)=>{"use strict";const w=S(76150);const N=S(58159);const j=S(9851);class RelativeUrlRuntimeModule extends j{constructor(){super("relative url")}generate(){const{runtimeTemplate:E}=this.compilation;return N.asString([`${w.relativeUrl} = function RelativeURL(url) {`,N.indent(['var realUrl = new URL(url, "x:/");',"var values = {};","for (var key in realUrl) values[key] = realUrl[key];","values.href = url;",'values.pathname = url.replace(/[?#].*/, "");','values.origin = values.protocol = "";',`values.toString = values.toJSON = ${E.returningFunction("url")};`,"for (var key in values) Object.defineProperty(this, key, Object.assign({ enumerable: true, configurable: true, value: values[key] }));"]),"};",`${w.relativeUrl}.prototype = URL.prototype;`])}}E.exports=RelativeUrlRuntimeModule},41982:(E,k,S)=>{"use strict";const w=S(76150);const N=S(66804);class RuntimeIdRuntimeModule extends N{constructor(){super("runtimeId")}generate(){const{chunkGraph:E,chunk:k}=this;const S=k.runtime;if(typeof S!=="string")throw new Error("RuntimeIdRuntimeModule must be in a single runtime");const N=E.getRuntimeId(S);return`${w.runtimeId} = ${JSON.stringify(N)};`}}E.exports=RuntimeIdRuntimeModule},64997:(E,k,S)=>{"use strict";const w=S(76150);const N=S(55616);const j=S(34487);class StartupChunkDependenciesPlugin{constructor(E){this.chunkLoading=E.chunkLoading;this.asyncChunkLoading=typeof E.asyncChunkLoading==="boolean"?E.asyncChunkLoading:true}apply(E){E.hooks.thisCompilation.tap("StartupChunkDependenciesPlugin",(E=>{const k=E.outputOptions.chunkLoading;const isEnabledForChunk=E=>{const S=E.getEntryOptions();const w=S&&S.chunkLoading!==undefined?S.chunkLoading:k;return w===this.chunkLoading};E.hooks.additionalTreeRuntimeRequirements.tap("StartupChunkDependenciesPlugin",((k,S,{chunkGraph:j})=>{if(!isEnabledForChunk(k))return;if(j.hasChunkEntryDependentChunks(k)){S.add(w.startup);S.add(w.ensureChunk);S.add(w.ensureChunkIncludeEntries);E.addRuntimeModule(k,new N(this.asyncChunkLoading))}}));E.hooks.runtimeRequirementInTree.for(w.startupEntrypoint).tap("StartupChunkDependenciesPlugin",((k,S)=>{if(!isEnabledForChunk(k))return;S.add(w.require);S.add(w.ensureChunk);S.add(w.ensureChunkIncludeEntries);E.addRuntimeModule(k,new j(this.asyncChunkLoading))}))}))}}E.exports=StartupChunkDependenciesPlugin},55616:(E,k,S)=>{"use strict";const w=S(76150);const N=S(66804);const j=S(58159);class StartupChunkDependenciesRuntimeModule extends N{constructor(E){super("startup chunk dependencies",N.STAGE_TRIGGER);this.asyncChunkLoading=E}generate(){const{chunkGraph:E,chunk:k,compilation:S}=this;const{runtimeTemplate:N}=S;const q=Array.from(E.getChunkEntryDependentChunksIterable(k)).map((E=>E.id));return j.asString([`var next = ${w.startup};`,`${w.startup} = ${N.basicFunction("",!this.asyncChunkLoading?q.map((E=>`${w.ensureChunk}(${JSON.stringify(E)});`)).concat("return next();"):q.length===1?`return ${w.ensureChunk}(${JSON.stringify(q[0])}).then(next);`:q.length>2?[`return Promise.all(${JSON.stringify(q)}.map(${w.ensureChunk}, __webpack_require__)).then(next);`]:["return Promise.all([",j.indent(q.map((E=>`${w.ensureChunk}(${JSON.stringify(E)})`)).join(",\n")),"]).then(next);"])};`])}}E.exports=StartupChunkDependenciesRuntimeModule},34487:(E,k,S)=>{"use strict";const w=S(76150);const N=S(66804);class StartupEntrypointRuntimeModule extends N{constructor(E){super("startup entrypoint");this.asyncChunkLoading=E}generate(){const{compilation:E}=this;const{runtimeTemplate:k}=E;return`${w.startupEntrypoint} = ${k.basicFunction("result, chunkIds, fn",["// arguments: chunkIds, moduleId are deprecated","var moduleId = chunkIds;",`if(!fn) chunkIds = result, fn = ${k.returningFunction(`__webpack_require__(${w.entryModuleId} = moduleId)`)};`,...this.asyncChunkLoading?[`return Promise.all(chunkIds.map(${w.ensureChunk}, __webpack_require__)).then(${k.basicFunction("",["var r = fn();","return r === undefined ? result : r;"])})`]:[`chunkIds.map(${w.ensureChunk}, __webpack_require__)`,"var r = fn();","return r === undefined ? result : r;"]])}`}}E.exports=StartupEntrypointRuntimeModule},76752:(E,k,S)=>{"use strict";const w=S(76150);const N=S(66804);class SystemContextRuntimeModule extends N{constructor(){super("__system_context__")}generate(){return`${w.systemContext} = __system_context__;`}}E.exports=SystemContextRuntimeModule},68495:(E,k,S)=>{"use strict";const w=S(53520);const N=/^data:(?:[^;,]+)?(?:(?:;[^;,]+)*?)(;base64)?,(.*)$/i;const j=/^data:([^;,]+)?(?:(?:;[^;,]+)*?)(?:;(base64))?,/i;const decodeDataURI=E=>{const k=N.exec(E);if(!k)return null;const S=k[1];const w=k[2];return S?Buffer.from(w,"base64"):Buffer.from(decodeURIComponent(w),"ascii")};class DataUriPlugin{apply(E){E.hooks.compilation.tap("DataUriPlugin",((E,{normalModuleFactory:k})=>{k.hooks.resolveForScheme.for("data").tap("DataUriPlugin",(E=>{const k=j.exec(E.resource);if(k){E.data.mimetype=k[1]||"";E.data.encoding=k[2]||false}}));w.getCompilationHooks(E).readResourceForScheme.for("data").tap("DataUriPlugin",(E=>decodeDataURI(E)))}))}}E.exports=DataUriPlugin},99184:(E,k,S)=>{"use strict";const{URL:w,fileURLToPath:N}=S(78835);class FileUriPlugin{apply(E){E.hooks.compilation.tap("FileUriPlugin",((E,{normalModuleFactory:k})=>{k.hooks.resolveForScheme.for("file").tap("FileUriPlugin",(E=>{const k=new w(E.resource);const S=N(k);const j=k.search;const q=k.hash;E.path=S;E.query=j;E.fragment=q;E.resource=S+j+q;return true}))}))}}E.exports=FileUriPlugin},7201:(E,k,S)=>{"use strict";const{URL:w}=S(78835);const N=S(53520);class HttpUriPlugin{apply(E){E.hooks.compilation.tap("HttpUriPlugin",((E,{normalModuleFactory:k})=>{k.hooks.resolveForScheme.for("http").tap("HttpUriPlugin",(E=>{const k=new w(E.resource);E.path=k.origin+k.pathname;E.query=k.search;E.fragment=k.hash;return true}));N.getCompilationHooks(E).readResourceForScheme.for("http").tapAsync("HttpUriPlugin",((E,k,N)=>S(98605).get(new w(E),(E=>{if(E.statusCode!==200){E.destroy();return N(new Error(`http request status code = ${E.statusCode}`))}const k=[];E.on("data",(E=>{k.push(E)}));E.on("end",(()=>{if(!E.complete){return N(new Error("http request was terminated"))}N(null,Buffer.concat(k))}))}))))}))}}E.exports=HttpUriPlugin},1161:(E,k,S)=>{"use strict";const{URL:w}=S(78835);const N=S(53520);class HttpsUriPlugin{apply(E){E.hooks.compilation.tap("HttpsUriPlugin",((E,{normalModuleFactory:k})=>{k.hooks.resolveForScheme.for("https").tap("HttpsUriPlugin",(E=>{const k=new w(E.resource);E.path=k.origin+k.pathname;E.query=k.search;E.fragment=k.hash;return true}));N.getCompilationHooks(E).readResourceForScheme.for("https").tapAsync("HttpsUriPlugin",((E,k,N)=>S(57211).get(new w(E),(E=>{if(E.statusCode!==200){E.destroy();return N(new Error(`https request status code = ${E.statusCode}`))}const k=[];E.on("data",(E=>{k.push(E)}));E.on("end",(()=>{if(!E.complete){return N(new Error("https request was terminated"))}N(null,Buffer.concat(k))}))}))))}))}}E.exports=HttpsUriPlugin},22324:E=>{"use strict";class ArraySerializer{serialize(E,{write:k}){k(E.length);for(const S of E)k(S)}deserialize({read:E}){const k=E();const S=[];for(let w=0;w{"use strict";const w=S(91671);const N=S(43065);const j=11;const q=12;const ee=13;const te=14;const ne=16;const ae=17;const _e=18;const ve=19;const Ee=20;const we=21;const Ce=22;const Me=23;const Te=24;const Ie=30;const Oe=31;const Re=96;const Fe=64;const Ne=32;const Be=128;const Le=224;const je=31;const $e=127;const ze=1;const Ue=1;const Ge=4;const qe=8;const Ve=Symbol("MEASURE_START_OPERATION");const He=Symbol("MEASURE_END_OPERATION");const identifyNumber=E=>{if(E===(E|0)){if(E<=127&&E>=-128)return 0;if(E<=2147483647&&E>=-2147483648)return 1}return 2};class BinaryMiddleware extends N{serialize(E,k){return this._serialize(E,k)}_serializeLazy(E,k){return N.serializeLazy(E,(E=>this._serialize(E,k)))}_serialize(E,k){let S=null;let w=null;let Le=0;let je=[];let $e=0;const allocate=E=>{if(S!==null){if(S.length-Le>=E)return;flush()}if(w&&w.length>=E){S=w;w=null}else{S=Buffer.allocUnsafe(Math.max(E,Math.min(Math.max($e,1024),16384)))}};const flush=()=>{if(S!==null){je.push(Buffer.from(S.buffer,S.byteOffset,Le));if(!w||w.length{S.writeUInt8(E,Le++)};const writeU32=E=>{S.writeUInt32LE(E,Le);Le+=4};const We=[];const measureStart=()=>{We.push(je.length,Le)};const measureEnd=()=>{const E=We.pop();const k=We.pop();let S=Le-E;for(let E=k;E{for(let w=0;w0&&(E=k[k.length-1])!==0){const w=4294967295-E;if(w>=S.length){k[k.length-1]+=S.length}else{k.push(S.length-w);k[k.length-2]=4294967295}}else{k.push(S.length)}}allocate(5+k.length*4);writeU8(j);writeU32(k.length);for(const E of k){writeU32(E)}flush();for(const k of E){je.push(k)}}break}case"string":{const E=Buffer.byteLength($e);if(E>=128||E!==$e.length){allocate(E+ze+Ge);writeU8(Ie);writeU32(E);S.write($e,Le)}else{allocate(E+ze);writeU8(Be|E);S.write($e,Le,"latin1")}Le+=E;break}case"number":{const k=identifyNumber($e);if(k===0&&$e>=0&&$e<=10){allocate(Ue);writeU8($e);break}let N=1;for(;N<32&&w+N0){S.writeInt8(E[w],Le);Le+=Ue;N--;w++}break;case 1:allocate(ze+Ge*N);writeU8(Fe|N-1);while(N>0){S.writeInt32LE(E[w],Le);Le+=Ge;N--;w++}break;case 2:allocate(ze+qe*N);writeU8(Ne|N-1);while(N>0){S.writeDoubleLE(E[w],Le);Le+=qe;N--;w++}break}w--;break}case"boolean":{let k=$e===true?1:0;const S=[];let N=1;let j;for(j=1;j<4294967295&&w+jthis._deserialize(E,k))),this,undefined,E)}_deserializeLazy(E,k){return N.deserializeLazy(E,(E=>this._deserialize(E,k)))}_deserialize(E,k){let S=0;let w=E[0];let N=Buffer.isBuffer(w);let ze=0;const Ve=k.retainedBuffer||(E=>E);const checkOverflow=()=>{if(ze>=w.length){ze=0;S++;w=SN&&E+ze<=w.length;const ensureBuffer=()=>{if(!N){throw new Error(w===null?"Unexpected end of stream":"Unexpected lazy element in stream")}};const read=k=>{ensureBuffer();const j=w.length-ze;if(j{ensureBuffer();const k=w.length-ze;if(k{ensureBuffer();const E=w.readUInt8(ze);ze+=Ue;checkOverflow();return E};const readU32=()=>read(Ge).readUInt32LE(0);const readBits=(E,k)=>{let S=1;while(k!==0){We.push((E&S)!==0);S=S<<1;k--}};const He=Array.from({length:256}).map(((He,Ke)=>{switch(Ke){case j:return()=>{const j=readU32();const q=Array.from({length:j}).map((()=>readU32()));const ee=[];for(let k of q){if(k===0){if(typeof w!=="function"){throw new Error("Unexpected non-lazy element in stream")}ee.push(w);S++;w=S0)}}We.push(this._createLazyDeserialized(ee,k))};case Oe:return()=>{const E=readU32();We.push(Ve(read(E)))};case q:return()=>We.push(true);case ee:return()=>We.push(false);case _e:return()=>We.push(null,null,null);case ae:return()=>We.push(null,null);case ne:return()=>We.push(null);case Me:return()=>We.push(null,true);case Te:return()=>We.push(null,false);case we:return()=>{if(N){We.push(null,w.readInt8(ze));ze+=Ue;checkOverflow()}else{We.push(null,read(Ue).readInt8(0))}};case Ce:return()=>{We.push(null);if(isInCurrentBuffer(Ge)){We.push(w.readInt32LE(ze));ze+=Ge;checkOverflow()}else{We.push(read(Ge).readInt32LE(0))}};case ve:return()=>{const E=readU8()+4;for(let k=0;k{const E=readU32()+260;for(let k=0;k{const E=readU8();if((E&240)===0){readBits(E,3)}else if((E&224)===0){readBits(E,4)}else if((E&192)===0){readBits(E,5)}else if((E&128)===0){readBits(E,6)}else if(E!==255){let k=(E&127)+7;while(k>8){readBits(readU8(),8);k-=8}readBits(readU8(),k)}else{let E=readU32();while(E>8){readBits(readU8(),8);E-=8}readBits(readU8(),E)}};case Ie:return()=>{const E=readU32();if(isInCurrentBuffer(E)&&ze+E<2147483647){We.push(w.toString(undefined,ze,ze+E));ze+=E;checkOverflow()}else{We.push(read(E).toString())}};case Be:return()=>We.push("");case Be|1:return()=>{if(N&&ze<2147483646){We.push(w.toString("latin1",ze,ze+1));ze++;checkOverflow()}else{We.push(read(1).toString("latin1"))}};case Re:return()=>{if(N){We.push(w.readInt8(ze));ze++;checkOverflow()}else{We.push(read(1).readInt8(0))}};default:if(Ke<=10){return()=>We.push(Ke)}else if((Ke&Be)===Be){const E=Ke&$e;return()=>{if(isInCurrentBuffer(E)&&ze+E<2147483647){We.push(w.toString("latin1",ze,ze+E));ze+=E;checkOverflow()}else{We.push(read(E).toString("latin1"))}}}else if((Ke&Le)===Ne){const E=(Ke&je)+1;return()=>{const k=qe*E;if(isInCurrentBuffer(k)){for(let k=0;k{const k=Ge*E;if(isInCurrentBuffer(k)){for(let k=0;k{const k=Ue*E;if(isInCurrentBuffer(k)){for(let k=0;k{throw new Error(`Unexpected header byte 0x${Ke.toString(16)}`)}}}}));let We=[];while(w!==null){if(typeof w==="function"){We.push(this._deserializeLazy(w,k));S++;w=S{"use strict";class DateObjectSerializer{serialize(E,{write:k}){k(E.getTime())}deserialize({read:E}){return new Date(E())}}E.exports=DateObjectSerializer},12020:E=>{"use strict";class ErrorObjectSerializer{constructor(E){this.Type=E}serialize(E,{write:k}){k(E.message);k(E.stack)}deserialize({read:E}){const k=new this.Type;k.message=E();k.stack=E();return k}}E.exports=ErrorObjectSerializer},13829:(E,k,S)=>{"use strict";const{constants:w}=S(64293);const{pipeline:N}=S(92413);const{createBrotliCompress:j,createBrotliDecompress:q,createGzip:ee,createGunzip:te,constants:ne}=S(78761);const ae=S(35891);const{dirname:_e,join:ve,mkdirp:Ee}=S(95396);const we=S(91671);const Ce=S(43065);const Me=23294071;const hashForName=E=>{const k=ae("md4");for(const S of E)k.update(S);return k.digest("hex")};const Te=100*1024*1024;const Ie=100*1024*1024;const Oe=Buffer.prototype.writeBigUInt64LE?(E,k,S)=>{E.writeBigUInt64LE(BigInt(k),S)}:(E,k,S)=>{const w=k%4294967296;const N=(k-w)/4294967296;E.writeUInt32LE(w,S);E.writeUInt32LE(N,S+4)};const Re=Buffer.prototype.readBigUInt64LE?(E,k)=>Number(E.readBigUInt64LE(k)):(E,k)=>{const S=E.readUInt32LE(k);const w=E.readUInt32LE(k+4);return w*4294967296+S};const serialize=async(E,k,S,w)=>{const N=[];const j=new WeakMap;let q=undefined;for(const S of await k){if(typeof S==="function"){if(!Ce.isLazy(S))throw new Error("Unexpected function");if(!Ce.isLazy(S,E)){throw new Error("Unexpected lazy value with non-this target (can't pass through lazy values)")}q=undefined;const k=Ce.getLazySerializedValue(S);if(k){if(typeof k==="function"){throw new Error("Unexpected lazy value with non-this target (can't pass through lazy values)")}else{N.push(k)}}else{const k=S();if(k){const q=Ce.getLazyOptions(S);N.push(serialize(E,k,q&&q.name||true,w).then((E=>{S.options.size=E.size;j.set(E,S);return E})))}else{throw new Error("Unexpected falsy value returned by lazy value function")}}}else if(S){if(q){q.push(S)}else{q=[S];N.push(q)}}else{throw new Error("Unexpected falsy value in items array")}}const ee=[];const te=(await Promise.all(N)).map((E=>{if(Array.isArray(E)||Buffer.isBuffer(E))return E;ee.push(E.backgroundJob);const k=E.name;const S=Buffer.from(k);const w=Buffer.allocUnsafe(8+S.length);Oe(w,E.size,0);S.copy(w,8,0);const N=j.get(E);Ce.setLazySerializedValue(N,w);return w}));const ne=[];for(const E of te){if(Array.isArray(E)){let k=0;for(const S of E)k+=S.length;while(k>2147483647){ne.push(2147483647);k-=2147483647}ne.push(k)}else if(E){ne.push(-E.length)}else{throw new Error("Unexpected falsy value in resolved data "+E)}}const ae=Buffer.allocUnsafe(8+ne.length*4);ae.writeUInt32LE(Me,0);ae.writeUInt32LE(ne.length,4);for(let E=0;E{const w=await S(k);if(w.length===0)throw new Error("Empty file "+k);let N=0;let j=w[0];let q=j.length;let ee=0;if(q===0)throw new Error("Empty file "+k);const nextContent=()=>{N++;j=w[N];q=j.length;ee=0};const ensureData=E=>{if(ee===q){nextContent()}while(q-eeS){te.push(w[E].slice(0,S));w[E]=w[E].slice(S);S=0;break}else{te.push(w[E]);N=E;S-=k}}if(S>0)throw new Error("Unexpected end of data");j=Buffer.concat(te,E);q=E;ee=0}};const readUInt32LE=()=>{ensureData(4);const E=j.readUInt32LE(ee);ee+=4;return E};const readInt32LE=()=>{ensureData(4);const E=j.readInt32LE(ee);ee+=4;return E};const readSlice=E=>{ensureData(E);if(ee===0&&q===E){const k=j;if(N+1=0;if(_e&&k){ae[ae.length-1]+=E}else{ae.push(E);_e=k}}const ve=[];for(let k of ae){if(k<0){const w=readSlice(-k);const N=Number(Re(w,0));const j=w.slice(8);const q=j.toString();ve.push(Ce.createLazy(we((()=>deserialize(E,q,S))),E,{name:q,size:N},w))}else{if(ee===q){nextContent()}else if(ee!==0){if(k<=q-ee){ve.push(Buffer.from(j.buffer,j.byteOffset+ee,k));ee+=k;k=0}else{const E=q-ee;ve.push(Buffer.from(j.buffer,j.byteOffset+ee,E));k-=E;ee=q}}else{if(k>=q){ve.push(j);k-=q;ee=q}else{ve.push(Buffer.from(j.buffer,j.byteOffset,k));ee+=k;k=0}}while(k>0){nextContent();if(k>=q){ve.push(j);k-=q;ee=q}else{ve.push(Buffer.from(j.buffer,j.byteOffset,k));ee+=k;k=0}}}}return ve};class FileMiddleware extends Ce{constructor(E){super();this.fs=E}serialize(E,k){const{filename:S,extension:w=""}=k;return new Promise(((k,q)=>{Ee(this.fs,_e(this.fs,S),(te=>{if(te)return q(te);const ae=new Set;const writeFile=async(E,k)=>{const q=E?ve(this.fs,S,`../${E}${w}`):S;await new Promise(((E,S)=>{let w=this.fs.createWriteStream(q+"_");let te;if(q.endsWith(".gz")){te=ee({chunkSize:Te,level:ne.Z_BEST_SPEED})}else if(q.endsWith(".br")){te=j({chunkSize:Te,params:{[ne.BROTLI_PARAM_MODE]:ne.BROTLI_MODE_TEXT,[ne.BROTLI_PARAM_QUALITY]:2,[ne.BROTLI_PARAM_DISABLE_LITERAL_CONTEXT_MODELING]:true,[ne.BROTLI_PARAM_SIZE_HINT]:k.reduce(((E,k)=>E+k.length),0)}})}if(te){N(te,w,S);w=te;w.on("finish",(()=>E()))}else{w.on("error",(E=>S(E)));w.on("finish",(()=>E()))}for(const E of k)w.write(E);w.end()}));if(E)ae.add(q)};k(serialize(this,E,false,writeFile).then((async({backgroundJob:E})=>{await E;await new Promise((E=>this.fs.rename(S,S+".old",(k=>{E()}))));await Promise.all(Array.from(ae,(E=>new Promise(((k,S)=>{this.fs.rename(E+"_",E,(E=>{if(E)return S(E);k()}))})))));await new Promise((E=>{this.fs.rename(S+"_",S,(k=>{if(k)return q(k);E()}))}));return true})))}))}))}deserialize(E,k){const{filename:S,extension:N=""}=k;const readFile=E=>new Promise(((k,j)=>{const ee=E?ve(this.fs,S,`../${E}${N}`):S;this.fs.stat(ee,((E,S)=>{if(E){j(E);return}let N=S.size;let ne;let ae;const _e=[];let ve;if(ee.endsWith(".gz")){ve=te({chunkSize:Ie})}else if(ee.endsWith(".br")){ve=q({chunkSize:Ie})}if(ve){let E,S;k(Promise.all([new Promise(((k,w)=>{E=k;S=w})),new Promise(((E,k)=>{ve.on("data",(E=>_e.push(E)));ve.on("end",(()=>E()));ve.on("error",(E=>k(E)))}))]).then((()=>_e)));k=E;j=S}this.fs.open(ee,"r",((E,S)=>{if(E){j(E);return}const read=()=>{if(ne===undefined){ne=Buffer.allocUnsafeSlow(Math.min(w.MAX_LENGTH,N,ve?Ie:Infinity));ae=0}let E=ne;let q=ae;let ee=ne.length-ae;if(q>2147483647){E=ne.slice(q);q=0}if(ee>2147483647){ee=2147483647}this.fs.read(S,E,q,ee,null,((E,w)=>{if(E){this.fs.close(S,(()=>{j(E)}));return}ae+=w;N-=w;if(ae===ne.length){if(ve){ve.write(ne)}else{_e.push(ne)}ne=undefined;if(N===0){if(ve){ve.end()}this.fs.close(S,(E=>{if(E){j(E);return}k(_e)}));return}}read()}))};read()}))}))}));return deserialize(this,false,readFile)}}E.exports=FileMiddleware},58461:E=>{"use strict";class MapObjectSerializer{serialize(E,{write:k}){k(E.size);for(const S of E.keys()){k(S)}for(const S of E.values()){k(S)}}deserialize({read:E}){let k=E();const S=new Map;const w=[];for(let S=0;S{"use strict";class NullPrototypeObjectSerializer{serialize(E,{write:k}){const S=Object.keys(E);for(const E of S){k(E)}k(null);for(const w of S){k(E[w])}}deserialize({read:E}){const k=Object.create(null);const S=[];let w=E();while(w!==null){S.push(w);w=E()}for(const w of S){k[w]=E()}return k}}E.exports=NullPrototypeObjectSerializer},30991:(E,k,S)=>{"use strict";const w=S(35891);const N=S(22324);const j=S(93524);const q=S(12020);const ee=S(58461);const te=S(78176);const ne=S(11900);const ae=S(46690);const _e=S(43065);const ve=S(25402);const setSetSize=(E,k)=>{let S=0;for(const w of E){if(S++>=k){E.delete(w)}}};const setMapSize=(E,k)=>{let S=0;for(const w of E.keys()){if(S++>=k){E.delete(w)}}};const toHash=E=>{const k=w("md4");k.update(E);return k.digest("latin1")};const Ee=null;const we=null;const Ce=true;const Me=false;const Te=2;const Ie=new Map;const Oe=new Map;const Re=new Set;const Fe={};const Ne=new Map;Ne.set(Object,new ne);Ne.set(Array,new N);Ne.set(null,new te);Ne.set(Map,new ee);Ne.set(Set,new ve);Ne.set(Date,new j);Ne.set(RegExp,new ae);Ne.set(Error,new q(Error));Ne.set(EvalError,new q(EvalError));Ne.set(RangeError,new q(RangeError));Ne.set(ReferenceError,new q(ReferenceError));Ne.set(SyntaxError,new q(SyntaxError));Ne.set(TypeError,new q(TypeError));if(k.constructor!==Object){const E=k.constructor;const S=E.constructor;for(const[E,k]of Array.from(Ne)){if(E){const w=new S(`return ${E.name};`)();Ne.set(w,k)}}}{let E=1;for(const[k,S]of Ne){Ie.set(k,{request:"",name:E++,serializer:S})}}for(const{request:E,name:k,serializer:S}of Ie.values()){Oe.set(`${E}/${k}`,S)}const Be=new Map;class ObjectMiddleware extends _e{constructor(E){super();this.extendContext=E}static registerLoader(E,k){Be.set(E,k)}static register(E,k,S,w){const N=k+"/"+S;if(Ie.has(E)){throw new Error(`ObjectMiddleware.register: serializer for ${E.name} is already registered`)}if(Oe.has(N)){throw new Error(`ObjectMiddleware.register: serializer for ${N} is already registered`)}Ie.set(E,{request:k,name:S,serializer:w});Oe.set(N,w)}static registerNotSerializable(E){if(Ie.has(E)){throw new Error(`ObjectMiddleware.registerNotSerializable: serializer for ${E.name} is already registered`)}Ie.set(E,Fe)}static getSerializerFor(E){const k=Object.getPrototypeOf(E);let S;if(k===null){S=null}else{S=k.constructor;if(!S){throw new Error("Serialization of objects with prototype without valid constructor property not possible")}}const w=Ie.get(S);if(!w)throw new Error(`No serializer registered for ${S.name}`);if(w===Fe)throw Fe;return w}static getDeserializerFor(E,k){const S=E+"/"+k;const w=Oe.get(S);if(w===undefined){throw new Error(`No deserializer registered for ${S}`)}return w}static _getDeserializerForWithoutError(E,k){const S=E+"/"+k;const w=Oe.get(S);return w}serialize(E,k){let S=[Te];let w=0;let N=new Map;const addReferenceable=E=>{N.set(E,w++)};let j=new Map;const dedupeBuffer=E=>{const k=E.length;const S=j.get(k);if(S===undefined){j.set(k,E);return E}if(Buffer.isBuffer(S)){if(k<32){if(E.equals(S)){return S}j.set(k,[S,E]);return E}else{const w=toHash(S);const N=new Map;N.set(w,S);j.set(k,N);const q=toHash(E);if(w===q){return S}return E}}else if(Array.isArray(S)){if(S.length<16){for(const k of S){if(E.equals(k)){return k}}S.push(E);return E}else{const w=new Map;const N=toHash(E);let q;for(const E of S){const k=toHash(E);w.set(k,E);if(q===undefined&&k===N)q=E}j.set(k,w);if(q===undefined){w.set(N,E);return E}else{return q}}}else{const k=toHash(E);const w=S.get(k);if(w!==undefined){return w}S.set(k,E);return E}};let q=0;let ee=new Map;const te=new Set;const stackToString=E=>{const k=Array.from(te);k.push(E);return k.map((E=>{if(typeof E==="string"){if(E.length>100){return`String ${JSON.stringify(E.slice(0,100)).slice(0,-1)}..."`}return`String ${JSON.stringify(E)}`}try{const{request:k,name:S}=ObjectMiddleware.getSerializerFor(E);if(k){return`${k}${S?`.${S}`:""}`}}catch(E){}if(typeof E==="object"&&E!==null){if(E.constructor){if(E.constructor===Object)return`Object { ${Object.keys(E).join(", ")} }`;if(E.constructor===Map)return`Map { ${E.size} items }`;if(E.constructor===Array)return`Array { ${E.length} items }`;if(E.constructor===Set)return`Set { ${E.size} items }`;if(E.constructor===RegExp)return E.toString();return`${E.constructor.name}`}return`Object [null prototype] { ${Object.keys(E).join(", ")} }`}try{return`${E}`}catch(E){return`(${E.message})`}})).join(" -> ")};let ne;let ae={write(E,k){try{process(E)}catch(k){if(k!==Fe){if(ne===undefined)ne=new WeakSet;if(!ne.has(k)){k.message+=`\nwhile serializing ${stackToString(E)}`;ne.add(k)}}throw k}},setCircularReference(E){addReferenceable(E)},snapshot(){return{length:S.length,cycleStackSize:te.size,referenceableSize:N.size,currentPos:w,objectTypeLookupSize:ee.size,currentPosTypeLookup:q}},rollback(E){S.length=E.length;setSetSize(te,E.cycleStackSize);setMapSize(N,E.referenceableSize);w=E.currentPos;setMapSize(ee,E.objectTypeLookupSize);q=E.currentPosTypeLookup},...k};this.extendContext(ae);const process=E=>{if(Buffer.isBuffer(E)){const k=N.get(E);if(k!==undefined){S.push(Ee,k-w);return}const j=dedupeBuffer(E);if(j!==E){const k=N.get(j);if(k!==undefined){N.set(E,k);S.push(Ee,k-w);return}E=j}addReferenceable(E);S.push(E)}else if(E===Ee){S.push(Ee,we)}else if(typeof E==="object"){const k=N.get(E);if(k!==undefined){S.push(Ee,k-w);return}if(te.has(E)){throw new Error(`This is a circular references. To serialize circular references use 'setCircularReference' somewhere in the circle during serialize and deserialize.`)}const{request:j,name:ne,serializer:_e}=ObjectMiddleware.getSerializerFor(E);const ve=`${j}/${ne}`;const we=ee.get(ve);if(we===undefined){ee.set(ve,q++);S.push(Ee,j,ne)}else{S.push(Ee,q-we)}te.add(E);try{_e.serialize(E,ae)}finally{te.delete(E)}S.push(Ee,Ce);addReferenceable(E)}else if(typeof E==="string"){if(E.length>1){const k=N.get(E);if(k!==undefined){S.push(Ee,k-w);return}addReferenceable(E)}if(E.length>102400&&k.logger){k.logger.warn(`Serializing big strings (${Math.round(E.length/1024)}kiB) impacts deserialization performance (consider using Buffer instead and decode when needed)`)}S.push(E)}else if(typeof E==="function"){if(!_e.isLazy(E))throw new Error("Unexpected function "+E);const w=_e.getLazySerializedValue(E);if(w!==undefined){if(typeof w==="function"){S.push(w)}else{throw new Error("Not implemented")}}else if(_e.isLazy(E,this)){throw new Error("Not implemented")}else{S.push(_e.serializeLazy(E,(E=>this.serialize([E],k))))}}else if(E===undefined){S.push(Ee,Me)}else{S.push(E)}};try{for(const k of E){process(k)}return S}catch(E){if(E===Fe)return null;throw E}finally{E=S=N=j=ee=ae=undefined}}deserialize(E,k){let S=0;const read=()=>{if(S>=E.length)throw new Error("Unexpected end of stream");return E[S++]};if(read()!==Te)throw new Error("Version mismatch, serializer changed");let w=0;let N=[];const addReferenceable=E=>{N.push(E);w++};let j=0;let q=[];let ee=[];let te={read(){return decodeValue()},setCircularReference(E){addReferenceable(E)},...k};this.extendContext(te);const decodeValue=()=>{const E=read();if(E===Ee){const E=read();if(E===we){return Ee}else if(E===Me){return undefined}else if(E===Ce){throw new Error(`Unexpected end of object at position ${S-1}`)}else{const k=E;let ee;if(typeof k==="number"){if(k<0){return N[w+k]}ee=q[j-k]}else{if(typeof k!=="string"){throw new Error(`Unexpected type (${typeof k}) of request `+`at position ${S-1}`)}const E=read();ee=ObjectMiddleware._getDeserializerForWithoutError(k,E);if(ee===undefined){if(k&&!Re.has(k)){let E=false;for(const[S,w]of Be){if(S.test(k)){if(w(k)){E=true;break}}}if(!E){require(k)}Re.add(k)}ee=ObjectMiddleware.getDeserializerFor(k,E)}q.push(ee);j++}try{const E=ee.deserialize(te);const k=read();if(k!==Ee){throw new Error("Expected end of object")}const S=read();if(S!==Ce){throw new Error("Expected end of object")}addReferenceable(E);return E}catch(E){let k;for(const E of Ie){if(E[1].serializer===ee){k=E;break}}const S=!k?"unknown":!k[1].request?k[0].name:k[1].name?`${k[1].request} ${k[1].name}`:k[1].request;E.message+=`\n(during deserialization of ${S})`;throw E}}}else if(typeof E==="string"){if(E.length>1){addReferenceable(E)}return E}else if(Buffer.isBuffer(E)){addReferenceable(E);return E}else if(typeof E==="function"){return _e.deserializeLazy(E,(E=>this.deserialize(E,k)[0]))}else{return E}};try{while(S{"use strict";const k=new WeakMap;class ObjectStructure{constructor(){this.keys=undefined;this.children=undefined}getKeys(E){if(this.keys===undefined)this.keys=E;return this.keys}key(E){if(this.children===undefined)this.children=new Map;const k=this.children.get(E);if(k!==undefined)return k;const S=new ObjectStructure;this.children.set(E,S);return S}}const getCachedKeys=(E,S)=>{let w=k.get(S);if(w===undefined){w=new ObjectStructure;k.set(S,w)}let N=w;for(const k of E){N=N.key(k)}return N.getKeys(E)};class PlainObjectSerializer{serialize(E,{write:k}){const S=Object.keys(E);if(S.length>128){k(S);for(const w of S){k(E[w])}}else if(S.length>1){k(getCachedKeys(S,k));for(const w of S){k(E[w])}}else if(S.length===1){const w=S[0];k(w);k(E[w])}else{k(null)}}deserialize({read:E}){const k=E();const S={};if(Array.isArray(k)){for(const w of k){S[w]=E()}}else if(k!==null){S[k]=E()}return S}}E.exports=PlainObjectSerializer},46690:E=>{"use strict";class RegExpObjectSerializer{serialize(E,{write:k}){k(E.source);k(E.flags)}deserialize({read:E}){return new RegExp(E(),E())}}E.exports=RegExpObjectSerializer},15261:E=>{"use strict";class Serializer{constructor(E,k){this.serializeMiddlewares=E.slice();this.deserializeMiddlewares=E.slice().reverse();this.context=k}serialize(E,k){const S={...k,...this.context};let w=E;for(const E of this.serializeMiddlewares){if(w&&typeof w.then==="function"){w=w.then((S=>S&&E.serialize(S,k)))}else if(w){try{w=E.serialize(w,S)}catch(E){w=Promise.reject(E)}}else break}return w}deserialize(E,k){const S={...k,...this.context};let w=E;for(const E of this.deserializeMiddlewares){if(w&&typeof w.then==="function"){w=w.then((S=>E.deserialize(S,k)))}else{w=E.deserialize(w,S)}}return w}}E.exports=Serializer},43065:(E,k,S)=>{"use strict";const w=S(91671);const N=Symbol("lazy serialization target");const j=Symbol("lazy serialization data");class SerializerMiddleware{serialize(E,k){const w=S(75884);throw new w}deserialize(E,k){const w=S(75884);throw new w}static createLazy(E,k,S={},w){if(SerializerMiddleware.isLazy(E,k))return E;const q=typeof E==="function"?E:()=>E;q[N]=k;q.options=S;q[j]=w;return q}static isLazy(E,k){if(typeof E!=="function")return false;const S=E[N];return k?S===k:!!S}static getLazyOptions(E){if(typeof E!=="function")return undefined;return E.options}static getLazySerializedValue(E){if(typeof E!=="function")return undefined;return E[j]}static setLazySerializedValue(E,k){E[j]=k}static serializeLazy(E,k){const S=w((()=>{const S=E();if(S&&typeof S.then==="function"){return S.then((E=>E&&k(E)))}return k(S)}));S[N]=E[N];S.options=E.options;E[j]=S;return S}static deserializeLazy(E,k){const S=w((()=>{const S=E();if(S&&typeof S.then==="function"){return S.then((E=>k(E)))}return k(S)}));S[N]=E[N];S.options=E.options;S[j]=E;return S}static unMemoizeLazy(E){if(!SerializerMiddleware.isLazy(E))return E;const fn=()=>{throw new Error("A lazy value that has been unmemorized can't be called again")};fn[j]=SerializerMiddleware.unMemoizeLazy(E[j]);fn[N]=E[N];fn.options=E.options;return fn}}E.exports=SerializerMiddleware},25402:E=>{"use strict";class SetObjectSerializer{serialize(E,{write:k}){k(E.size);for(const S of E){k(S)}}deserialize({read:E}){let k=E();const S=new Set;for(let w=0;w{"use strict";const w=S(43065);class SingleItemMiddleware extends w{serialize(E,k){return[E]}deserialize(E,k){return E[0]}}E.exports=SingleItemMiddleware},86827:(E,k,S)=>{"use strict";const w=S(79983);const N=S(56202);class ConsumeSharedFallbackDependency extends w{constructor(E){super(E)}get type(){return"consume shared fallback"}get category(){return"esm"}}N(ConsumeSharedFallbackDependency,"webpack/lib/sharing/ConsumeSharedFallbackDependency");E.exports=ConsumeSharedFallbackDependency},21606:(E,k,S)=>{"use strict";const{RawSource:w}=S(48135);const N=S(98221);const j=S(53453);const q=S(76150);const ee=S(56202);const{rangeToString:te,stringifyHoley:ne}=S(9293);const ae=S(86827);const _e=new Set(["consume-shared"]);class ConsumeSharedModule extends j{constructor(E,k){super("consume-shared-module",E);this.options=k}identifier(){const{shareKey:E,shareScope:k,importResolved:S,requiredVersion:w,strictVersion:N,singleton:j,eager:q}=this.options;return`consume-shared-module|${k}|${E}|${w&&te(w)}|${N}|${S}|${j}|${q}`}readableIdentifier(E){const{shareKey:k,shareScope:S,importResolved:w,requiredVersion:N,strictVersion:j,singleton:q,eager:ee}=this.options;return`consume shared module (${S}) ${k}@${N?te(N):"*"}${j?" (strict)":""}${q?" (singleton)":""}${w?` (fallback: ${E.shorten(w)})`:""}${ee?" (eager)":""}`}libIdent(E){const{shareKey:k,shareScope:S,import:w}=this.options;return`webpack/sharing/consume/${S}/${k}${w?`/${w}`:""}`}needBuild(E,k){k(null,!this.buildInfo)}build(E,k,S,w,j){this.buildMeta={};this.buildInfo={};if(this.options.import){const E=new ae(this.options.import);if(this.options.eager){this.addDependency(E)}else{const k=new N({});k.addDependency(E);this.addBlock(k)}}j()}getSourceTypes(){return _e}size(E){return 42}updateHash(E,k){E.update(JSON.stringify(this.options));super.updateHash(E,k)}codeGeneration({chunkGraph:E,moduleGraph:k,runtimeTemplate:S}){const N=new Set([q.shareScopeMap]);const{shareScope:j,shareKey:ee,strictVersion:te,requiredVersion:ae,import:_e,singleton:ve,eager:Ee}=this.options;let we;if(_e){if(Ee){const k=this.dependencies[0];we=S.syncModuleFactory({dependency:k,chunkGraph:E,runtimeRequirements:N,request:this.options.import})}else{const k=this.blocks[0];we=S.asyncModuleFactory({block:k,chunkGraph:E,runtimeRequirements:N,request:this.options.import})}}let Ce="load";const Me=[JSON.stringify(j),JSON.stringify(ee)];if(ae){if(te){Ce+="Strict"}if(ve){Ce+="Singleton"}Me.push(ne(ae));Ce+="VersionCheck"}if(we){Ce+="Fallback";Me.push(we)}const Te=S.returningFunction(`${Ce}(${Me.join(", ")})`);const Ie=new Map;Ie.set("consume-shared",new w(Te));return{runtimeRequirements:N,sources:Ie}}serialize(E){const{write:k}=E;k(this.options);super.serialize(E)}deserialize(E){const{read:k}=E;this.options=k();super.deserialize(E)}}ee(ConsumeSharedModule,"webpack/lib/sharing/ConsumeSharedModule");E.exports=ConsumeSharedModule},71968:(E,k,S)=>{"use strict";const w=S(54032);const N=S(76150);const j=S(81627);const{parseOptions:q}=S(97264);const ee=S(83379);const te=S(35817);const{parseRange:ne}=S(9293);const ae=S(86827);const _e=S(21606);const ve=S(20428);const Ee=S(31095);const{resolveMatchedConfigs:we}=S(57870);const{isRequiredVersion:Ce,getDescriptionFile:Me,getRequiredVersionFromDescriptionFile:Te}=S(37650);const Ie=te(S(37411),(()=>S(16308)),{name:"Consume Shared Plugin",baseDataPath:"options"});const Oe={dependencyType:"esm"};const Re="ConsumeSharedPlugin";class ConsumeSharedPlugin{constructor(E){if(typeof E!=="string"){Ie(E)}this._consumes=q(E.consumes,((k,S)=>{if(Array.isArray(k))throw new Error("Unexpected array in options");let w=k===S||!Ce(k)?{import:S,shareScope:E.shareScope||"default",shareKey:S,requiredVersion:undefined,packageName:undefined,strictVersion:false,singleton:false,eager:false}:{import:S,shareScope:E.shareScope||"default",shareKey:S,requiredVersion:ne(k),strictVersion:true,packageName:undefined,singleton:false,eager:false};return w}),((k,S)=>({import:k.import===false?undefined:k.import||S,shareScope:k.shareScope||E.shareScope||"default",shareKey:k.shareKey||S,requiredVersion:typeof k.requiredVersion==="string"?ne(k.requiredVersion):k.requiredVersion,strictVersion:typeof k.strictVersion==="boolean"?k.strictVersion:k.import!==false&&!k.singleton,packageName:k.packageName,singleton:!!k.singleton,eager:!!k.eager})))}apply(E){E.hooks.thisCompilation.tap(Re,((k,{normalModuleFactory:S})=>{k.dependencyFactories.set(ae,S);let q,te,Ce;const Ie=we(k,this._consumes).then((({resolved:E,unresolved:k,prefixed:S})=>{te=E;q=k;Ce=S}));const Fe=k.resolverFactory.get("normal",Oe);const createConsumeSharedModule=(S,N,q)=>{const requiredVersionWarning=E=>{const S=new j(`No required version specified and unable to automatically determine one. ${E}`);S.file=`shared module ${N}`;k.warnings.push(S)};const te=q.import&&/^(\.\.?(\/|$)|\/|[A-Za-z]:|\\\\)/.test(q.import);return Promise.all([new Promise((j=>{if(!q.import)return j();const ne={fileDependencies:new ee,contextDependencies:new ee,missingDependencies:new ee};Fe.resolve({},te?E.context:S,q.import,ne,((E,S)=>{k.contextDependencies.addAll(ne.contextDependencies);k.fileDependencies.addAll(ne.fileDependencies);k.missingDependencies.addAll(ne.missingDependencies);if(E){k.errors.push(new w(null,E,{name:`resolving fallback for shared module ${N}`}));return j()}j(S)}))})),new Promise((E=>{if(q.requiredVersion!==undefined)return E(q.requiredVersion);let w=q.packageName;if(w===undefined){if(/^(\/|[A-Za-z]:|\\\\)/.test(N)){return E()}const k=/^((?:@[^\\/]+[\\/])?[^\\/]+)/.exec(N);if(!k){requiredVersionWarning("Unable to extract the package name from request.");return E()}w=k[0]}Me(k.inputFileSystem,S,["package.json"],((k,N)=>{if(k){requiredVersionWarning(`Unable to read description file: ${k}`);return E()}const{data:j,path:q}=N;if(!j){requiredVersionWarning(`Unable to find description file in ${S}.`);return E()}const ee=Te(j,w);if(typeof ee!=="string"){requiredVersionWarning(`Unable to find required version for "${w}" in description file (${q}). It need to be in dependencies, devDependencies or peerDependencies.`);return E()}E(ne(ee))}))}))]).then((([k,w])=>new _e(te?E.context:S,{...q,importResolved:k,import:k?q.import:undefined,requiredVersion:w})))};S.hooks.factorize.tapPromise(Re,(({context:E,request:k,dependencies:S})=>Ie.then((()=>{if(S[0]instanceof ae||S[0]instanceof Ee){return}const w=q.get(k);if(w!==undefined){return createConsumeSharedModule(E,k,w)}for(const[S,w]of Ce){if(k.startsWith(S)){const N=k.slice(S.length);return createConsumeSharedModule(E,k,{...w,import:w.import?w.import+N:undefined,shareKey:w.shareKey+N})}}}))));S.hooks.createModule.tapPromise(Re,(({resource:E},{context:k,dependencies:S})=>{if(S[0]instanceof ae||S[0]instanceof Ee){return Promise.resolve()}const w=te.get(E);if(w!==undefined){return createConsumeSharedModule(k,E,w)}return Promise.resolve()}));k.hooks.additionalTreeRuntimeRequirements.tap(Re,((E,S)=>{S.add(N.module);S.add(N.moduleCache);S.add(N.moduleFactoriesAddOnly);S.add(N.shareScopeMap);S.add(N.initializeSharing);S.add(N.hasOwnProperty);k.addRuntimeModule(E,new ve(S))}))}))}}E.exports=ConsumeSharedPlugin},20428:(E,k,S)=>{"use strict";const w=S(76150);const N=S(66804);const j=S(58159);const{parseVersionRuntimeCode:q,versionLtRuntimeCode:ee,rangeToStringRuntimeCode:te,satisfyRuntimeCode:ne}=S(9293);class ConsumeSharedRuntimeModule extends N{constructor(E){super("consumes",N.STAGE_ATTACH);this._runtimeRequirements=E}generate(){const{compilation:E,chunkGraph:k}=this;const{runtimeTemplate:S,codeGenerationResults:N}=E;const ae={};const _e=new Map;const ve=[];const addModules=(E,S,w)=>{for(const j of E){const E=j;const q=k.getModuleId(E);w.push(q);_e.set(q,N.getSource(E,S.runtime,"consume-shared"))}};for(const E of this.chunk.getAllAsyncChunks()){const S=k.getChunkModulesIterableBySourceType(E,"consume-shared");if(!S)continue;addModules(S,E,ae[E.id]=[])}for(const E of this.chunk.getAllInitialChunks()){const S=k.getChunkModulesIterableBySourceType(E,"consume-shared");if(!S)continue;addModules(S,E,ve)}if(_e.size===0)return null;return j.asString([q(S),ee(S),te(S),ne(S),`var ensureExistence = ${S.basicFunction("scopeName, key",[`var scope = ${w.shareScopeMap}[scopeName];`,`if(!scope || !${w.hasOwnProperty}(scope, key)) throw new Error("Shared module " + key + " doesn't exist in shared scope " + scopeName);`,"return scope;"])};`,`var findVersion = ${S.basicFunction("scope, key",["var versions = scope[key];",`var key = Object.keys(versions).reduce(${S.basicFunction("a, b",["return !a || versionLt(a, b) ? b : a;"])}, 0);`,"return key && versions[key]"])};`,`var findSingletonVersionKey = ${S.basicFunction("scope, key",["var versions = scope[key];",`return Object.keys(versions).reduce(${S.basicFunction("a, b",["return !a || (!versions[a].loaded && versionLt(a, b)) ? b : a;"])}, 0);`])};`,`var getInvalidSingletonVersionMessage = ${S.basicFunction("key, version, requiredVersion",[`return "Unsatisfied version " + version + " of shared singleton module " + key + " (required " + rangeToString(requiredVersion) + ")"`])};`,`var getSingletonVersion = ${S.basicFunction("scope, scopeName, key, requiredVersion",["var version = findSingletonVersionKey(scope, key);","if (!satisfy(requiredVersion, version)) "+'typeof console !== "undefined" && console.warn && console.warn(getInvalidSingletonVersionMessage(key, version, requiredVersion));',"return get(scope[key][version]);"])};`,`var getStrictSingletonVersion = ${S.basicFunction("scope, scopeName, key, requiredVersion",["var version = findSingletonVersionKey(scope, key);","if (!satisfy(requiredVersion, version)) "+"throw new Error(getInvalidSingletonVersionMessage(key, version, requiredVersion));","return get(scope[key][version]);"])};`,`var findValidVersion = ${S.basicFunction("scope, key, requiredVersion",["var versions = scope[key];",`var key = Object.keys(versions).reduce(${S.basicFunction("a, b",["if (!satisfy(requiredVersion, b)) return a;","return !a || versionLt(a, b) ? b : a;"])}, 0);`,"return key && versions[key]"])};`,`var getInvalidVersionMessage = ${S.basicFunction("scope, scopeName, key, requiredVersion",["var versions = scope[key];",'return "No satisfying version (" + rangeToString(requiredVersion) + ") of shared module " + key + " found in shared scope " + scopeName + ".\\n" +',`\t"Available versions: " + Object.keys(versions).map(${S.basicFunction("key",['return key + " from " + versions[key].from;'])}).join(", ");`])};`,`var getValidVersion = ${S.basicFunction("scope, scopeName, key, requiredVersion",["var entry = findValidVersion(scope, key, requiredVersion);","if(entry) return get(entry);","throw new Error(getInvalidVersionMessage(scope, scopeName, key, requiredVersion));"])};`,`var warnInvalidVersion = ${S.basicFunction("scope, scopeName, key, requiredVersion",['typeof console !== "undefined" && console.warn && console.warn(getInvalidVersionMessage(scope, scopeName, key, requiredVersion));'])};`,`var get = ${S.basicFunction("entry",["entry.loaded = 1;","return entry.get()"])};`,`var init = ${S.returningFunction(j.asString(["function(scopeName, a, b, c) {",j.indent([`var promise = ${w.initializeSharing}(scopeName);`,`if (promise && promise.then) return promise.then(fn.bind(fn, scopeName, ${w.shareScopeMap}[scopeName], a, b, c));`,`return fn(scopeName, ${w.shareScopeMap}[scopeName], a, b, c);`]),"}"]),"fn")};`,"",`var load = /*#__PURE__*/ init(${S.basicFunction("scopeName, scope, key",["ensureExistence(scopeName, key);","return get(findVersion(scope, key));"])});`,`var loadFallback = /*#__PURE__*/ init(${S.basicFunction("scopeName, scope, key, fallback",[`return scope && ${w.hasOwnProperty}(scope, key) ? get(findVersion(scope, key)) : fallback();`])});`,`var loadVersionCheck = /*#__PURE__*/ init(${S.basicFunction("scopeName, scope, key, version",["ensureExistence(scopeName, key);","return get(findValidVersion(scope, key, version) || warnInvalidVersion(scope, scopeName, key, version) || findVersion(scope, key));"])});`,`var loadSingletonVersionCheck = /*#__PURE__*/ init(${S.basicFunction("scopeName, scope, key, version",["ensureExistence(scopeName, key);","return getSingletonVersion(scope, scopeName, key, version);"])});`,`var loadStrictVersionCheck = /*#__PURE__*/ init(${S.basicFunction("scopeName, scope, key, version",["ensureExistence(scopeName, key);","return getValidVersion(scope, scopeName, key, version);"])});`,`var loadStrictSingletonVersionCheck = /*#__PURE__*/ init(${S.basicFunction("scopeName, scope, key, version",["ensureExistence(scopeName, key);","return getStrictSingletonVersion(scope, scopeName, key, version);"])});`,`var loadVersionCheckFallback = /*#__PURE__*/ init(${S.basicFunction("scopeName, scope, key, version, fallback",[`if(!scope || !${w.hasOwnProperty}(scope, key)) return fallback();`,"return get(findValidVersion(scope, key, version) || warnInvalidVersion(scope, scopeName, key, version) || findVersion(scope, key));"])});`,`var loadSingletonVersionCheckFallback = /*#__PURE__*/ init(${S.basicFunction("scopeName, scope, key, version, fallback",[`if(!scope || !${w.hasOwnProperty}(scope, key)) return fallback();`,"return getSingletonVersion(scope, scopeName, key, version);"])});`,`var loadStrictVersionCheckFallback = /*#__PURE__*/ init(${S.basicFunction("scopeName, scope, key, version, fallback",[`var entry = scope && ${w.hasOwnProperty}(scope, key) && findValidVersion(scope, key, version);`,`return entry ? get(entry) : fallback();`])});`,`var loadStrictSingletonVersionCheckFallback = /*#__PURE__*/ init(${S.basicFunction("scopeName, scope, key, version, fallback",[`if(!scope || !${w.hasOwnProperty}(scope, key)) return fallback();`,"return getStrictSingletonVersion(scope, scopeName, key, version);"])});`,"var installedModules = {};","var moduleToHandlerMapping = {",j.indent(Array.from(_e,(([E,k])=>`${JSON.stringify(E)}: ${k.source()}`)).join(",\n")),"};",ve.length>0?j.asString([`var initialConsumes = ${JSON.stringify(ve)};`,`initialConsumes.forEach(${S.basicFunction("id",[`${w.moduleFactories}[id] = ${S.basicFunction("module",["// Handle case when module is used sync","installedModules[id] = 0;",`delete ${w.moduleCache}[id];`,"var factory = moduleToHandlerMapping[id]();",'if(typeof factory !== "function") throw new Error("Shared module is not available for eager consumption: " + id);',`module.exports = factory();`])}`])});`]):"// no consumes in initial chunks",this._runtimeRequirements.has(w.ensureChunkHandlers)?j.asString([`var chunkMapping = ${JSON.stringify(ae,null,"\t")};`,`${w.ensureChunkHandlers}.consumes = ${S.basicFunction("chunkId, promises",[`if(${w.hasOwnProperty}(chunkMapping, chunkId)) {`,j.indent([`chunkMapping[chunkId].forEach(${S.basicFunction("id",[`if(${w.hasOwnProperty}(installedModules, id)) return promises.push(installedModules[id]);`,`var onFactory = ${S.basicFunction("factory",["installedModules[id] = 0;",`${w.moduleFactories}[id] = ${S.basicFunction("module",[`delete ${w.moduleCache}[id];`,"module.exports = factory();"])}`])};`,`var onError = ${S.basicFunction("error",["delete installedModules[id];",`${w.moduleFactories}[id] = ${S.basicFunction("module",[`delete ${w.moduleCache}[id];`,"throw error;"])}`])};`,"try {",j.indent(["var promise = moduleToHandlerMapping[id]();","if(promise.then) {",j.indent(`promises.push(installedModules[id] = promise.then(onFactory).catch(onError));`),"} else onFactory(promise);"]),"} catch(e) { onError(e); }"])});`]),"}"])}`]):"// no chunk loading of consumes"])}}E.exports=ConsumeSharedRuntimeModule},31095:(E,k,S)=>{"use strict";const w=S(79983);const N=S(56202);class ProvideForSharedDependency extends w{constructor(E){super(E)}get type(){return"provide module for shared"}get category(){return"esm"}}N(ProvideForSharedDependency,"webpack/lib/sharing/ProvideForSharedDependency");E.exports=ProvideForSharedDependency},56049:(E,k,S)=>{"use strict";const w=S(28706);const N=S(56202);class ProvideSharedDependency extends w{constructor(E,k,S,w,N){super();this.shareScope=E;this.name=k;this.version=S;this.request=w;this.eager=N}get type(){return"provide shared module"}getResourceIdentifier(){return`provide module (${this.shareScope}) ${this.request} as ${this.name} @ ${this.version}${this.eager?" (eager)":""}`}serialize(E){E.write(this.shareScope);E.write(this.name);E.write(this.request);E.write(this.version);E.write(this.eager);super.serialize(E)}static deserialize(E){const{read:k}=E;const S=new ProvideSharedDependency(k(),k(),k(),k(),k());this.shareScope=E.read();S.deserialize(E);return S}}N(ProvideSharedDependency,"webpack/lib/sharing/ProvideSharedDependency");E.exports=ProvideSharedDependency},99114:(E,k,S)=>{"use strict";const w=S(98221);const N=S(53453);const j=S(76150);const q=S(56202);const ee=S(31095);const te=new Set(["share-init"]);class ProvideSharedModule extends N{constructor(E,k,S,w,N){super("provide-module");this._shareScope=E;this._name=k;this._version=S;this._request=w;this._eager=N}identifier(){return`provide module (${this._shareScope}) ${this._name}@${this._version} = ${this._request}`}readableIdentifier(E){return`provide shared module (${this._shareScope}) ${this._name}@${this._version} = ${E.shorten(this._request)}`}libIdent(E){return`webpack/sharing/provide/${this._shareScope}/${this._name}`}needBuild(E,k){k(null,!this.buildInfo)}build(E,k,S,N,j){this.buildMeta={};this.buildInfo={strict:true};this.clearDependenciesAndBlocks();const q=new ee(this._request);if(this._eager){this.addDependency(q)}else{const E=new w({});E.addDependency(q);this.addBlock(E)}j()}size(E){return 42}getSourceTypes(){return te}codeGeneration({runtimeTemplate:E,moduleGraph:k,chunkGraph:S}){const w=new Set([j.initializeSharing]);const N=`register(${JSON.stringify(this._name)}, ${JSON.stringify(this._version||"0")}, ${this._eager?E.syncModuleFactory({dependency:this.dependencies[0],chunkGraph:S,request:this._request,runtimeRequirements:w}):E.asyncModuleFactory({block:this.blocks[0],chunkGraph:S,request:this._request,runtimeRequirements:w})}${this._eager?", 1":""});`;const q=new Map;const ee=new Map;ee.set("share-init",[{shareScope:this._shareScope,initStage:10,init:N}]);return{sources:q,data:ee,runtimeRequirements:w}}serialize(E){const{write:k}=E;k(this._shareScope);k(this._name);k(this._version);k(this._request);k(this._eager);super.serialize(E)}static deserialize(E){const{read:k}=E;const S=new ProvideSharedModule(k(),k(),k(),k(),k());S.deserialize(E);return S}}q(ProvideSharedModule,"webpack/lib/sharing/ProvideSharedModule");E.exports=ProvideSharedModule},96295:(E,k,S)=>{"use strict";const w=S(40674);const N=S(99114);class ProvideSharedModuleFactory extends w{create(E,k){const S=E.dependencies[0];k(null,{module:new N(S.shareScope,S.name,S.version,S.request,S.eager)})}}E.exports=ProvideSharedModuleFactory},48151:(E,k,S)=>{"use strict";const w=S(81627);const{parseOptions:N}=S(97264);const j=S(35817);const q=S(31095);const ee=S(56049);const te=S(96295);const ne=j(S(95435),(()=>S(23288)),{name:"Provide Shared Plugin",baseDataPath:"options"});class ProvideSharedPlugin{constructor(E){ne(E);this._provides=N(E.provides,(k=>{if(Array.isArray(k))throw new Error("Unexpected array of provides");const S={shareKey:k,version:undefined,shareScope:E.shareScope||"default",eager:false};return S}),(k=>({shareKey:k.shareKey,version:k.version,shareScope:k.shareScope||E.shareScope||"default",eager:!!k.eager})));this._provides.sort((([E],[k])=>{if(E{const N=new Map;const j=new Map;const q=new Map;for(const[E,k]of this._provides){if(/^(\/|[A-Za-z]:\\|\\\\|\.\.?(\/|$))/.test(E)){N.set(E,{config:k,version:k.version})}else if(/^(\/|[A-Za-z]:\\|\\\\)/.test(E)){N.set(E,{config:k,version:k.version})}else if(E.endsWith("/")){q.set(E,k)}else{j.set(E,k)}}k.set(E,N);const provideSharedModule=(k,S,j,q)=>{let ee=S.version;if(ee===undefined){let S="";if(!q){S=`No resolve data provided from resolver.`}else{const E=q.descriptionFileData;if(!E){S="No description file (usually package.json) found. Add description file with name and version, or manually specify version in shared config."}else if(!E.version){S="No version in description file (usually package.json). Add version to description file, or manually specify version in shared config."}else{ee=E.version}}if(!ee){const N=new w(`No version specified and unable to automatically determine one. ${S}`);N.file=`shared module ${k} -> ${j}`;E.warnings.push(N)}}N.set(j,{config:S,version:ee})};S.hooks.module.tap("ProvideSharedPlugin",((E,{resource:k,resourceResolveData:S},w)=>{if(N.has(k)){return E}const{request:ee}=w;{const E=j.get(ee);if(E!==undefined){provideSharedModule(ee,E,k,S);w.cacheable=false}}for(const[E,N]of q){if(ee.startsWith(E)){const j=ee.slice(E.length);provideSharedModule(k,{...N,shareKey:N.shareKey+j},k,S);w.cacheable=false}}return E}))}));E.hooks.finishMake.tapPromise("ProvideSharedPlugin",(S=>{const w=k.get(S);if(!w)return Promise.resolve();return Promise.all(Array.from(w,(([k,{config:w,version:N}])=>new Promise(((j,q)=>{S.addInclude(E.context,new ee(w.shareScope,w.shareKey,N||false,k,w.eager),{name:undefined},(E=>{if(E)return q(E);j()}))}))))).then((()=>{}))}));E.hooks.compilation.tap("ProvideSharedPlugin",((E,{normalModuleFactory:k})=>{E.dependencyFactories.set(q,k);E.dependencyFactories.set(ee,new te)}))}}E.exports=ProvideSharedPlugin},16471:(E,k,S)=>{"use strict";const{parseOptions:w}=S(97264);const N=S(71968);const j=S(48151);const{isRequiredVersion:q}=S(37650);class SharePlugin{constructor(E){const k=w(E.shared,((E,k)=>{if(typeof E!=="string")throw new Error("Unexpected array in shared");const S=E===k||!q(E)?{import:E}:{import:k,requiredVersion:E};return S}),(E=>E));const S=k.map((([E,k])=>({[E]:{import:k.import,shareKey:k.shareKey||E,shareScope:k.shareScope,requiredVersion:k.requiredVersion,strictVersion:k.strictVersion,singleton:k.singleton,packageName:k.packageName,eager:k.eager}})));const N=k.filter((([,E])=>E.import!==false)).map((([E,k])=>({[k.import||E]:{shareKey:k.shareKey||E,shareScope:k.shareScope,version:k.version,eager:k.eager}})));this._shareScope=E.shareScope;this._consumes=S;this._provides=N}apply(E){new N({shareScope:this._shareScope,consumes:this._consumes}).apply(E);new j({shareScope:this._shareScope,provides:this._provides}).apply(E)}}E.exports=SharePlugin},54825:(E,k,S)=>{"use strict";const w=S(76150);const N=S(66804);const j=S(58159);const{compareModulesByIdentifier:q,compareStrings:ee}=S(68673);class ShareRuntimeModule extends N{constructor(){super("sharing")}generate(){const{compilation:E,chunkGraph:k}=this;const{runtimeTemplate:S,codeGenerationResults:N,outputOptions:{uniqueName:te}}=E;const ne=new Map;for(const E of this.chunk.getAllReferencedChunks()){const S=k.getOrderedChunkModulesIterableBySourceType(E,"share-init",q);if(!S)continue;for(const k of S){const S=N.getData(k,E.runtime,"share-init");if(!S)continue;for(const E of S){const{shareScope:k,initStage:S,init:w}=E;let N=ne.get(k);if(N===undefined){ne.set(k,N=new Map)}let j=N.get(S||0);if(j===undefined){N.set(S||0,j=new Set)}j.add(w)}}}return j.asString([`${w.shareScopeMap} = {};`,"var initPromises = {};","var initTokens = {};",`${w.initializeSharing} = ${S.basicFunction("name, initScope",["if(!initScope) initScope = [];","// handling circular init calls","var initToken = initTokens[name];","if(!initToken) initToken = initTokens[name] = {};","if(initScope.indexOf(initToken) >= 0) return;","initScope.push(initToken);","// only runs once","if(initPromises[name]) return initPromises[name];","// creates a new share scope if needed",`if(!${w.hasOwnProperty}(${w.shareScopeMap}, name)) ${w.shareScopeMap}[name] = {};`,"// runs all init snippets from all modules reachable",`var scope = ${w.shareScopeMap}[name];`,`var warn = ${S.returningFunction('typeof console !== "undefined" && console.warn && console.warn(msg)',"msg")};`,`var uniqueName = ${JSON.stringify(te||undefined)};`,`var register = ${S.basicFunction("name, version, factory, eager",["var versions = scope[name] = scope[name] || {};","var activeVersion = versions[version];","if(!activeVersion || (!activeVersion.loaded && (!eager != !activeVersion.eager ? eager : uniqueName > activeVersion.from))) versions[version] = { get: factory, from: uniqueName, eager: !!eager };"])};`,`var initExternal = ${S.basicFunction("id",[`var handleError = ${S.expressionFunction('warn("Initialization of sharing external failed: " + err)',"err")};`,"try {",j.indent(["var module = __webpack_require__(id);","if(!module) return;",`var initFn = ${S.returningFunction(`module && module.init && module.init(${w.shareScopeMap}[name], initScope)`,"module")}`,"if(module.then) return promises.push(module.then(initFn, handleError));","var initResult = initFn(module);","if(initResult && initResult.then) return promises.push(initResult.catch(handleError));"]),"} catch(err) { handleError(err); }"])}`,"var promises = [];","switch(name) {",...Array.from(ne).sort((([E],[k])=>ee(E,k))).map((([E,k])=>j.indent([`case ${JSON.stringify(E)}: {`,j.indent(Array.from(k).sort((([E],[k])=>E-k)).map((([,E])=>j.asString(Array.from(E))))),"}","break;"]))),"}","if(!promises.length) return initPromises[name] = 1;",`return initPromises[name] = Promise.all(promises).then(${S.returningFunction("initPromises[name] = 1")});`])};`])}}E.exports=ShareRuntimeModule},57870:(E,k,S)=>{"use strict";const w=S(54032);const N=S(83379);const j={dependencyType:"esm"};k.resolveMatchedConfigs=(E,k)=>{const S=new Map;const q=new Map;const ee=new Map;const te={fileDependencies:new N,contextDependencies:new N,missingDependencies:new N};const ne=E.resolverFactory.get("normal",j);const ae=E.compiler.context;return Promise.all(k.map((([k,N])=>{if(/^\.\.?(\/|$)/.test(k)){return new Promise((j=>{ne.resolve({},ae,k,te,((q,ee)=>{if(q||ee===false){q=q||new Error(`Can't resolve ${k}`);E.errors.push(new w(null,q,{name:`shared module ${k}`}));return j()}S.set(ee,N);j()}))}))}else if(/^(\/|[A-Za-z]:\\|\\\\)/.test(k)){S.set(k,N)}else if(k.endsWith("/")){ee.set(k,N)}else{q.set(k,N)}}))).then((()=>{E.contextDependencies.addAll(te.contextDependencies);E.fileDependencies.addAll(te.fileDependencies);E.missingDependencies.addAll(te.missingDependencies);return{resolved:S,unresolved:q,prefixed:ee}}))}},37650:(E,k,S)=>{"use strict";const{join:w,dirname:N,readJson:j}=S(95396);k.isRequiredVersion=E=>/^([\d^=v<>~]|[*xX]$)/.test(E);const getDescriptionFile=(E,k,S,q)=>{let ee=0;const tryLoadCurrent=()=>{if(ee>=S.length){const w=N(E,k);if(!w||w===k)return q();return getDescriptionFile(E,w,S,q)}const te=w(E,k,S[ee]);j(E,te,((E,k)=>{if(E){if("code"in E&&E.code==="ENOENT"){ee++;return tryLoadCurrent()}return q(E)}if(!k||typeof k!=="object"||Array.isArray(k)){return q(new Error(`Description file ${te} is not an object`))}q(null,{data:k,path:te})}))};tryLoadCurrent()};k.getDescriptionFile=getDescriptionFile;k.getRequiredVersionFromDescriptionFile=(E,k)=>{if(E.optionalDependencies&&typeof E.optionalDependencies==="object"&&k in E.optionalDependencies){return E.optionalDependencies[k]}if(E.dependencies&&typeof E.dependencies==="object"&&k in E.dependencies){return E.dependencies[k]}if(E.peerDependencies&&typeof E.peerDependencies==="object"&&k in E.peerDependencies){return E.peerDependencies[k]}if(E.devDependencies&&typeof E.devDependencies==="object"&&k in E.devDependencies){return E.devDependencies[k]}}},9054:(E,k,S)=>{"use strict";const w=S(31669);const N=S(79983);const j=S(72380);const{LogType:q}=S(78539);const ee=S(94827);const te=S(20625);const{countIterable:ne}=S(11539);const{compareLocations:ae,compareChunksById:_e,compareNumbers:ve,compareIds:Ee,concatComparators:we,compareSelect:Ce,compareModulesByIdentifier:Me}=S(68673);const{makePathsRelative:Te,parseResource:Ie}=S(49197);const uniqueArray=(E,k)=>{const S=new Set;for(const w of E){for(const E of k(w)){S.add(E)}}return Array.from(S)};const uniqueOrderedArray=(E,k,S)=>uniqueArray(E,k).sort(S);const mapObject=(E,k)=>{const S=Object.create(null);for(const w of Object.keys(E)){S[w]=k(E[w],w)}return S};const countWithChildren=(E,k)=>{let S=k(E,"").length;for(const w of E.children){S+=countWithChildren(w,((E,S)=>k(E,`.children[].compilation${S}`)))}return S};const Oe={_:(E,k,S,{requestShortener:w})=>{if(typeof k==="string"){E.message=k}else{if(k.chunk){E.chunkName=k.chunk.name;E.chunkEntry=k.chunk.hasRuntime();E.chunkInitial=k.chunk.canBeInitial()}if(k.file){E.file=k.file}if(k.module){E.moduleIdentifier=k.module.identifier();E.moduleName=k.module.readableIdentifier(w)}if(k.loc){E.loc=j(k.loc)}E.message=k.message}},ids:(E,k,{compilation:{chunkGraph:S}})=>{if(typeof k!=="string"){if(k.chunk){E.chunkId=k.chunk.id}if(k.module){E.moduleId=S.getModuleId(k.module)}}},moduleTrace:(E,k,S,w,N)=>{if(typeof k!=="string"&&k.module){const{type:w,compilation:{moduleGraph:j}}=S;const q=new Set;const ee=[];let te=k.module;while(te){if(q.has(te))break;q.add(te);const E=j.getIssuer(te);if(!E)break;ee.push({origin:E,module:te});te=E}E.moduleTrace=N.create(`${w}.moduleTrace`,ee,S)}},errorDetails:(E,k,{type:S,compilation:w,cachedGetErrors:N,cachedGetWarnings:j},{errorDetails:q})=>{if(typeof k!=="string"&&(q===true||S.endsWith(".error")&&N(w).length<3)){E.details=k.details}},errorStack:(E,k)=>{if(typeof k!=="string"){E.stack=k.stack}}};const Re={compilation:{_:(E,k,w,N)=>{if(!w.makePathsRelative){w.makePathsRelative=Te.bindContextCache(k.compiler.context,k.compiler.root)}if(!w.cachedGetErrors){const E=new WeakMap;w.cachedGetErrors=k=>E.get(k)||(S=>(E.set(k,S),S))(k.getErrors())}if(!w.cachedGetWarnings){const E=new WeakMap;w.cachedGetWarnings=k=>E.get(k)||(S=>(E.set(k,S),S))(k.getWarnings())}if(k.name){E.name=k.name}if(k.needAdditionalPass){E.needAdditionalPass=true}const{logging:j,loggingDebug:ee,loggingTrace:te}=N;if(j||ee&&ee.length>0){const w=S(31669);E.logging={};let ne;let ae=false;switch(j){default:ne=new Set;break;case"error":ne=new Set([q.error]);break;case"warn":ne=new Set([q.error,q.warn]);break;case"info":ne=new Set([q.error,q.warn,q.info]);break;case"log":ne=new Set([q.error,q.warn,q.info,q.log,q.group,q.groupEnd,q.groupCollapsed,q.clear]);break;case"verbose":ne=new Set([q.error,q.warn,q.info,q.log,q.group,q.groupEnd,q.groupCollapsed,q.profile,q.profileEnd,q.time,q.status,q.clear]);ae=true;break}const _e=Te.bindContextCache(N.context,k.compiler.root);let ve=0;for(const[S,N]of k.logging){const k=ee.some((E=>E(S)));if(j===false&&!k)continue;const Ee=[];const we=[];let Ce=we;let Me=0;for(const E of N){let S=E.type;if(!k&&!ne.has(S))continue;if(S===q.groupCollapsed&&(k||ae))S=q.group;if(ve===0){Me++}if(S===q.groupEnd){Ee.pop();if(Ee.length>0){Ce=Ee[Ee.length-1].children}else{Ce=we}if(ve>0)ve--;continue}let N=undefined;if(E.type===q.time){N=`${E.args[0]}: ${E.args[1]*1e3+E.args[2]/1e6} ms`}else if(E.args&&E.args.length>0){N=w.format(E.args[0],...E.args.slice(1))}const j={...E,type:S,message:N,trace:te?E.trace:undefined,children:S===q.group||S===q.groupCollapsed?[]:undefined};Ce.push(j);if(j.children){Ee.push(j);Ce=j.children;if(ve>0){ve++}else if(S===q.groupCollapsed){ve=1}}}let Te=_e(S).replace(/\|/g," ");if(Te in E.logging){let k=1;while(`${Te}#${k}`in E.logging){k++}Te=`${Te}#${k}`}E.logging[Te]={entries:we,filteredEntries:N.length-Me,debug:k}}}},hash:(E,k)=>{E.hash=k.hash},version:E=>{E.version=S(61733).i8},env:(E,k,S,{_env:w})=>{E.env=w},timings:(E,k)=>{E.time=k.endTime-k.startTime},builtAt:(E,k)=>{E.builtAt=k.endTime},publicPath:(E,k)=>{E.publicPath=k.getPath(k.outputOptions.publicPath)},outputPath:(E,k)=>{E.outputPath=k.outputOptions.path},assets:(E,k,S,w,N)=>{const{type:j}=S;const q=new Map;const ee=new Map;for(const E of k.chunks){for(const k of E.files){let S=q.get(k);if(S===undefined){S=[];q.set(k,S)}S.push(E)}for(const k of E.auxiliaryFiles){let S=ee.get(k);if(S===undefined){S=[];ee.set(k,S)}S.push(E)}}const te=new Map;const ne=new Set;for(const E of k.getAssets()){const k={...E,type:"asset",related:undefined};ne.add(k);te.set(E.name,k)}for(const E of te.values()){const k=E.info.related;if(!k)continue;for(const S of Object.keys(k)){const w=k[S];const N=Array.isArray(w)?w:[w];for(const k of N){const w=te.get(k);if(!w)continue;ne.delete(w);w.type=S;E.related=E.related||[];E.related.push(w)}}}E.assetsByChunkName={};for(const[k,S]of q){for(const w of S){const S=w.name;if(!S)continue;if(!Object.prototype.hasOwnProperty.call(E.assetsByChunkName,S)){E.assetsByChunkName[S]=[]}E.assetsByChunkName[S].push(k)}}const ae=N.create(`${j}.assets`,Array.from(ne),{...S,compilationFileToChunks:q,compilationAuxiliaryFileToChunks:ee});const _e=spaceLimited(ae,w.assetsSpace);E.assets=_e.children;E.filteredAssets=_e.filteredChildren},chunks:(E,k,S,w,N)=>{const{type:j}=S;E.chunks=N.create(`${j}.chunks`,Array.from(k.chunks),S)},modules:(E,k,S,w,N)=>{const{type:j}=S;const q=Array.from(k.modules);const ee=N.create(`${j}.modules`,q,S);const te=spaceLimited(ee,w.modulesSpace);E.modules=te.children;E.filteredModules=te.filteredChildren},entrypoints:(E,k,S,{entrypoints:w,chunkGroups:N,chunkGroupAuxiliary:j,chunkGroupChildren:q},ee)=>{const{type:te}=S;const ne=Array.from(k.entrypoints,(([E,k])=>({name:E,chunkGroup:k})));if(w==="auto"&&!N){if(ne.length>5)return;if(!q&&ne.every((({chunkGroup:E})=>{if(E.chunks.length!==1)return false;const k=E.chunks[0];return k.files.size===1&&(!j||k.auxiliaryFiles.size===0)}))){return}}E.entrypoints=ee.create(`${te}.entrypoints`,ne,S)},chunkGroups:(E,k,S,w,N)=>{const{type:j}=S;const q=Array.from(k.namedChunkGroups,(([E,k])=>({name:E,chunkGroup:k})));E.namedChunkGroups=N.create(`${j}.namedChunkGroups`,q,S)},errors:(E,k,S,w,N)=>{const{type:j,cachedGetErrors:q}=S;E.errors=N.create(`${j}.errors`,q(k),S)},errorsCount:(E,k,{cachedGetErrors:S})=>{E.errorsCount=countWithChildren(k,(E=>S(E)))},warnings:(E,k,S,w,N)=>{const{type:j,cachedGetWarnings:q}=S;E.warnings=N.create(`${j}.warnings`,q(k),S)},warningsCount:(E,k,S,{warningsFilter:w},N)=>{const{type:j,cachedGetWarnings:q}=S;E.warningsCount=countWithChildren(k,((E,k)=>{if(!w&&w.length===0)return q(E);return N.create(`${j}${k}.warnings`,q(E),S).filter((E=>{const k=Object.keys(E).map((k=>`${E[k]}`)).join("\n");return!w.some((S=>S(E,k)))}))}))},errorDetails:(E,k,{cachedGetErrors:S,cachedGetWarnings:w},{errorDetails:N,errors:j,warnings:q})=>{if(N==="auto"){if(q){const S=w(k);E.filteredWarningDetailsCount=S.map((E=>typeof E!=="string"&&E.details)).filter(Boolean).length}if(j){const w=S(k);if(w.length>=3){E.filteredErrorDetailsCount=w.map((E=>typeof E!=="string"&&E.details)).filter(Boolean).length}}}},children:(E,k,S,w,N)=>{const{type:j}=S;E.children=N.create(`${j}.children`,k.children,S)}},asset:{_:(E,k,S,w,N)=>{const{compilation:j}=S;E.type=k.type;E.name=k.name;E.size=k.source.size();E.emitted=j.emittedAssets.has(k.name);E.comparedForEmit=j.comparedForEmitAssets.has(k.name);const q=!E.emitted&&!E.comparedForEmit;E.cached=q;E.info=k.info;if(!q||w.cachedAssets){Object.assign(E,N.create(`${S.type}$visible`,k,S))}}},asset$visible:{_:(E,k,{compilation:S,compilationFileToChunks:w,compilationAuxiliaryFileToChunks:N})=>{const j=w.get(k.name)||[];const q=N.get(k.name)||[];E.chunkNames=uniqueOrderedArray(j,(E=>E.name?[E.name]:[]),Ee);E.chunkIdHints=uniqueOrderedArray(j,(E=>Array.from(E.idNameHints)),Ee);E.auxiliaryChunkNames=uniqueOrderedArray(q,(E=>E.name?[E.name]:[]),Ee);E.auxiliaryChunkIdHints=uniqueOrderedArray(q,(E=>Array.from(E.idNameHints)),Ee);E.filteredRelated=k.related?k.related.length:undefined},relatedAssets:(E,k,S,w,N)=>{const{type:j}=S;E.related=N.create(`${j.slice(0,-8)}.related`,k.related,S);E.filteredRelated=k.related?k.related.length-E.related.length:undefined},ids:(E,k,{compilationFileToChunks:S,compilationAuxiliaryFileToChunks:w})=>{const N=S.get(k.name)||[];const j=w.get(k.name)||[];E.chunks=uniqueOrderedArray(N,(E=>E.ids),Ee);E.auxiliaryChunks=uniqueOrderedArray(j,(E=>E.ids),Ee)},performance:(E,k)=>{E.isOverSizeLimit=te.isOverSizeLimit(k.source)}},chunkGroup:{_:(E,{name:k,chunkGroup:S},{compilation:w,compilation:{moduleGraph:N,chunkGraph:j}},{ids:q,chunkGroupAuxiliary:ee,chunkGroupChildren:te,chunkGroupMaxAssets:ne})=>{const ae=te&&S.getChildrenByOrders(N,j);const toAsset=E=>{const k=w.getAsset(E);return{name:E,size:k?k.info.size:-1}};const sizeReducer=(E,{size:k})=>E+k;const _e=uniqueArray(S.chunks,(E=>E.files)).map(toAsset);const ve=uniqueOrderedArray(S.chunks,(E=>E.auxiliaryFiles),Ee).map(toAsset);const we=_e.reduce(sizeReducer,0);const Ce=ve.reduce(sizeReducer,0);const Me={name:k,chunks:q?S.chunks.map((E=>E.id)):undefined,assets:_e.length<=ne?_e:undefined,filteredAssets:_e.length<=ne?0:_e.length,assetsSize:we,auxiliaryAssets:ee&&ve.length<=ne?ve:undefined,filteredAuxiliaryAssets:ee&&ve.length<=ne?0:ve.length,auxiliaryAssetsSize:Ce,children:ae?mapObject(ae,(E=>E.map((E=>{const k=uniqueArray(E.chunks,(E=>E.files)).map(toAsset);const S=uniqueOrderedArray(E.chunks,(E=>E.auxiliaryFiles),Ee).map(toAsset);const w={name:E.name,chunks:q?E.chunks.map((E=>E.id)):undefined,assets:k.length<=ne?k:undefined,filteredAssets:k.length<=ne?0:k.length,auxiliaryAssets:ee&&S.length<=ne?S:undefined,filteredAuxiliaryAssets:ee&&S.length<=ne?0:S.length};return w})))):undefined,childAssets:ae?mapObject(ae,(E=>{const k=new Set;for(const S of E){for(const E of S.chunks){for(const S of E.files){k.add(S)}}}return Array.from(k)})):undefined};Object.assign(E,Me)},performance:(E,{chunkGroup:k})=>{E.isOverSizeLimit=te.isOverSizeLimit(k)}},module:{_:(E,k,S,w,N)=>{const{compilation:j,type:q}=S;const ee=j.builtModules.has(k);const te=j.codeGeneratedModules.has(k);const ne=j.buildTimeExecutedModules.has(k);const ae={};for(const E of k.getSourceTypes()){ae[E]=k.size(E)}const _e={type:"module",moduleType:k.type,layer:k.layer,size:k.size(),sizes:ae,built:ee,codeGenerated:te,buildTimeExecuted:ne,cached:!ee&&!te};Object.assign(E,_e);if(ee||te||w.cachedModules){Object.assign(E,N.create(`${q}$visible`,k,S))}}},module$visible:{_:(E,k,S,{requestShortener:w},N)=>{const{compilation:j,type:q,rootModules:ee}=S;const{moduleGraph:te}=j;const ae=[];const _e=te.getIssuer(k);let ve=_e;while(ve){ae.push(ve);ve=te.getIssuer(ve)}ae.reverse();const Ee=te.getProfile(k);const we=k.getErrors();const Ce=we!==undefined?ne(we):0;const Me=k.getWarnings();const Te=Me!==undefined?ne(Me):0;const Ie={};for(const E of k.getSourceTypes()){Ie[E]=k.size(E)}const Oe={identifier:k.identifier(),name:k.readableIdentifier(w),nameForCondition:k.nameForCondition(),index:te.getPreOrderIndex(k),preOrderIndex:te.getPreOrderIndex(k),index2:te.getPostOrderIndex(k),postOrderIndex:te.getPostOrderIndex(k),cacheable:k.buildInfo.cacheable,optional:k.isOptional(te),orphan:!q.endsWith("module.modules[].module$visible")&&j.chunkGraph.getNumberOfModuleChunks(k)===0,dependent:ee?!ee.has(k):undefined,issuer:_e&&_e.identifier(),issuerName:_e&&_e.readableIdentifier(w),issuerPath:_e&&N.create(`${q.slice(0,-8)}.issuerPath`,ae,S),failed:Ce>0,errors:Ce,warnings:Te};Object.assign(E,Oe);if(Ee){E.profile=N.create(`${q.slice(0,-8)}.profile`,Ee,S)}},ids:(E,k,{compilation:{chunkGraph:S,moduleGraph:w}})=>{E.id=S.getModuleId(k);const N=w.getIssuer(k);E.issuerId=N&&S.getModuleId(N);E.chunks=Array.from(S.getOrderedModuleChunksIterable(k,_e),(E=>E.id))},moduleAssets:(E,k)=>{E.assets=k.buildInfo.assets?Object.keys(k.buildInfo.assets):[]},reasons:(E,k,S,w,N)=>{const{type:j,compilation:{moduleGraph:q}}=S;E.reasons=N.create(`${j.slice(0,-8)}.reasons`,Array.from(q.getIncomingConnections(k)),S)},usedExports:(E,k,{runtime:S,compilation:{moduleGraph:w}})=>{const N=w.getUsedExports(k,S);if(N===null){E.usedExports=null}else if(typeof N==="boolean"){E.usedExports=N}else{E.usedExports=Array.from(N)}},providedExports:(E,k,{compilation:{moduleGraph:S}})=>{const w=S.getProvidedExports(k);E.providedExports=Array.isArray(w)?w:null},optimizationBailout:(E,k,{compilation:{moduleGraph:S}},{requestShortener:w})=>{E.optimizationBailout=S.getOptimizationBailout(k).map((E=>{if(typeof E==="function")return E(w);return E}))},depth:(E,k,{compilation:{moduleGraph:S}})=>{E.depth=S.getDepth(k)},nestedModules:(E,k,S,w,N)=>{const{type:j}=S;const q=k.modules;if(Array.isArray(q)){const k=N.create(`${j.slice(0,-8)}.modules`,q,S);const ee=spaceLimited(k,w.nestedModulesSpace);E.modules=ee.children;E.filteredModules=ee.filteredChildren}},source:(E,k)=>{const S=k.originalSource();if(S){E.source=S.source()}}},profile:{_:(E,k)=>{const S={total:k.factory+k.restoring+k.integration+k.building+k.storing,resolving:k.factory,restoring:k.restoring,building:k.building,integration:k.integration,storing:k.storing,additionalResolving:k.additionalFactories,additionalIntegration:k.additionalIntegration,factory:k.factory,dependencies:k.additionalFactories};Object.assign(E,S)}},moduleIssuer:{_:(E,k,S,{requestShortener:w},N)=>{const{compilation:j,type:q}=S;const{moduleGraph:ee}=j;const te=ee.getProfile(k);const ne={identifier:k.identifier(),name:k.readableIdentifier(w)};Object.assign(E,ne);if(te){E.profile=N.create(`${q}.profile`,te,S)}},ids:(E,k,{compilation:{chunkGraph:S}})=>{E.id=S.getModuleId(k)}},moduleReason:{_:(E,k,{runtime:S},{requestShortener:w})=>{const q=k.dependency;const ee=q&&q instanceof N?q:undefined;const te={moduleIdentifier:k.originModule?k.originModule.identifier():null,module:k.originModule?k.originModule.readableIdentifier(w):null,moduleName:k.originModule?k.originModule.readableIdentifier(w):null,resolvedModuleIdentifier:k.resolvedOriginModule?k.resolvedOriginModule.identifier():null,resolvedModule:k.resolvedOriginModule?k.resolvedOriginModule.readableIdentifier(w):null,type:k.dependency?k.dependency.type:null,active:k.isActive(S),explanation:k.explanation,userRequest:ee&&ee.userRequest||null};Object.assign(E,te);if(k.dependency){const S=j(k.dependency.loc);if(S){E.loc=S}}},ids:(E,k,{compilation:{chunkGraph:S}})=>{E.moduleId=k.originModule?S.getModuleId(k.originModule):null;E.resolvedModuleId=k.resolvedOriginModule?S.getModuleId(k.resolvedOriginModule):null}},chunk:{_:(E,k,{makePathsRelative:S,compilation:{chunkGraph:w}})=>{const N=k.getChildIdsByOrders(w);const j={rendered:k.rendered,initial:k.canBeInitial(),entry:k.hasRuntime(),recorded:ee.wasChunkRecorded(k),reason:k.chunkReason,size:w.getChunkModulesSize(k),sizes:w.getChunkModulesSizes(k),names:k.name?[k.name]:[],idHints:Array.from(k.idNameHints),runtime:k.runtime===undefined?undefined:typeof k.runtime==="string"?[S(k.runtime)]:Array.from(k.runtime.sort(),S),files:Array.from(k.files),auxiliaryFiles:Array.from(k.auxiliaryFiles).sort(Ee),hash:k.renderedHash,childrenByOrder:N};Object.assign(E,j)},ids:(E,k)=>{E.id=k.id},chunkRelations:(E,k,{compilation:{chunkGraph:S}})=>{const w=new Set;const N=new Set;const j=new Set;for(const E of k.groupsIterable){for(const k of E.parentsIterable){for(const E of k.chunks){w.add(E.id)}}for(const k of E.childrenIterable){for(const E of k.chunks){N.add(E.id)}}for(const S of E.chunks){if(S!==k)j.add(S.id)}}E.siblings=Array.from(j).sort(Ee);E.parents=Array.from(w).sort(Ee);E.children=Array.from(N).sort(Ee)},chunkModules:(E,k,S,w,N)=>{const{type:j,compilation:{chunkGraph:q}}=S;const ee=q.getChunkModules(k);const te=N.create(`${j}.modules`,ee,{...S,runtime:k.runtime,rootModules:new Set(q.getChunkRootModules(k))});const ne=spaceLimited(te,w.chunkModulesSpace);E.modules=ne.children;E.filteredModules=ne.filteredChildren},chunkOrigins:(E,k,S,w,N)=>{const{type:q,compilation:{chunkGraph:ee}}=S;const te=new Set;const ne=[];for(const E of k.groupsIterable){ne.push(...E.origins)}const ae=ne.filter((E=>{const k=[E.module?ee.getModuleId(E.module):undefined,j(E.loc),E.request].join();if(te.has(k))return false;te.add(k);return true}));E.origins=N.create(`${q}.origins`,ae,S)}},chunkOrigin:{_:(E,k,S,{requestShortener:w})=>{const N={module:k.module?k.module.identifier():"",moduleIdentifier:k.module?k.module.identifier():"",moduleName:k.module?k.module.readableIdentifier(w):"",loc:j(k.loc),request:k.request};Object.assign(E,N)},ids:(E,k,{compilation:{chunkGraph:S}})=>{E.moduleId=k.module?S.getModuleId(k.module):undefined}},error:Oe,warning:Oe,moduleTraceItem:{_:(E,{origin:k,module:S},w,{requestShortener:N},j)=>{const{type:q,compilation:{moduleGraph:ee}}=w;E.originIdentifier=k.identifier();E.originName=k.readableIdentifier(N);E.moduleIdentifier=S.identifier();E.moduleName=S.readableIdentifier(N);const te=Array.from(ee.getIncomingConnections(S)).filter((E=>E.resolvedOriginModule===k&&E.dependency)).map((E=>E.dependency));E.dependencies=j.create(`${q}.dependencies`,Array.from(new Set(te)),w)},ids:(E,{origin:k,module:S},{compilation:{chunkGraph:w}})=>{E.originId=w.getModuleId(k);E.moduleId=w.getModuleId(S)}},moduleTraceDependency:{_:(E,k)=>{E.loc=j(k.loc)}}};const Fe={"module.reasons":{"!orphanModules":(E,{compilation:{chunkGraph:k}})=>{if(E.originModule&&k.getNumberOfModuleChunks(E.originModule)===0){return false}}}};const Ne={"compilation.warnings":{warningsFilter:w.deprecate(((E,k,{warningsFilter:S})=>{const w=Object.keys(E).map((k=>`${E[k]}`)).join("\n");return!S.some((k=>k(E,w)))}),"config.stats.warningsFilter is deprecated in favor of config.ignoreWarnings","DEP_WEBPACK_STATS_WARNINGS_FILTER")}};const Be={_:(E,{compilation:{moduleGraph:k}})=>{E.push(Ce((E=>k.getDepth(E)),ve),Ce((E=>k.getPreOrderIndex(E)),ve),Ce((E=>E.identifier()),Ee))}};const Le={"compilation.chunks":{_:E=>{E.push(Ce((E=>E.id),Ee))}},"compilation.modules":Be,"chunk.rootModules":Be,"chunk.modules":Be,"module.modules":Be,"module.reasons":{_:(E,{compilation:{chunkGraph:k}})=>{E.push(Ce((E=>E.originModule),Me));E.push(Ce((E=>E.resolvedOriginModule),Me));E.push(Ce((E=>E.dependency),we(Ce((E=>E.loc),ae),Ce((E=>E.type),Ee))))}},"chunk.origins":{_:(E,{compilation:{chunkGraph:k}})=>{E.push(Ce((E=>E.module?k.getModuleId(E.module):undefined),Ee),Ce((E=>j(E.loc)),Ee),Ce((E=>E.request),Ee))}}};const getItemSize=E=>!E.children?1:E.filteredChildren?2+getTotalSize(E.children):1+getTotalSize(E.children);const getTotalSize=E=>{let k=0;for(const S of E){k+=getItemSize(S)}return k};const getTotalItems=E=>{let k=0;for(const S of E){if(!S.children&&!S.filteredChildren){k++}else{if(S.children)k+=getTotalItems(S.children);if(S.filteredChildren)k+=S.filteredChildren}}return k};const collapse=E=>{const k=[];for(const S of E){if(S.children){let E=S.filteredChildren||0;E+=getTotalItems(S.children);k.push({...S,children:undefined,filteredChildren:E})}else{k.push(S)}}return k};const spaceLimited=(E,k)=>{let S=undefined;let w=undefined;const N=E.filter((E=>E.children||E.filteredChildren));const j=N.map((E=>getItemSize(E)));const q=E.filter((E=>!E.children&&!E.filteredChildren));let ee=j.reduce(((E,k)=>E+k),0);if(ee+q.length<=k){S=N.concat(q)}else if(N.length>0&&N.length+Math.min(1,q.length)k){const E=q.length+ee+(w?1:0)-k;const S=Math.max(...j);if(S0&&N.length+Math.min(1,q.length)<=k){S=N.length?collapse(N):undefined;w=q.length}else{w=getTotalItems(E)}return{children:S,filteredChildren:w}};const assetGroup=(E,k)=>{let S=0;for(const k of E){S+=k.size}return{size:S}};const moduleGroup=(E,k)=>{let S=0;const w={};for(const k of E){S+=k.size;for(const E of Object.keys(k.sizes)){w[E]=(w[E]||0)+k.sizes[E]}}return{size:S,sizes:w}};const je={_:(E,k,S)=>{const groupByFlag=(k,S)=>{E.push({getKeys:E=>E[k]?["1"]:undefined,getOptions:()=>({groupChildren:!S,force:S}),createGroup:(E,w,N)=>S?{type:"assets by status",[k]:!!E,filteredChildren:N.length,...assetGroup(w,N)}:{type:"assets by status",[k]:!!E,children:w,...assetGroup(w,N)}})};const{groupAssetsByEmitStatus:w,groupAssetsByPath:N,groupAssetsByExtension:j}=S;if(w){groupByFlag("emitted");groupByFlag("comparedForEmit");groupByFlag("isOverSizeLimit")}if(w||!S.cachedAssets){groupByFlag("cached",!S.cachedAssets)}if(N||j){E.push({getKeys:E=>{const k=j&&/(\.[^.]+)(?:\?.*|$)/.exec(E.name);const S=k?k[1]:"";const w=N&&/(.+)[/\\][^/\\]+(?:\?.*|$)/.exec(E.name);const q=w?w[1].split(/[/\\]/):[];const ee=[];if(N){ee.push(".");if(S)ee.push(q.length?`${q.join("/")}/*${S}`:`*${S}`);while(q.length>0){ee.push(q.join("/")+"/");q.pop()}}else{if(S)ee.push(`*${S}`)}return ee},createGroup:(E,k,S)=>({type:N?"assets by path":"assets by extension",name:E,children:k,...assetGroup(k,S)})})}},groupAssetsByInfo:(E,k,S)=>{const groupByAssetInfoFlag=k=>{E.push({getKeys:E=>E.info&&E.info[k]?["1"]:undefined,createGroup:(E,S,w)=>({type:"assets by info",info:{[k]:!!E},children:S,...assetGroup(S,w)})})};groupByAssetInfoFlag("immutable");groupByAssetInfoFlag("development");groupByAssetInfoFlag("hotModuleReplacement")},groupAssetsByChunk:(E,k,S)=>{const groupByNames=k=>{E.push({getKeys:E=>E[k],createGroup:(E,S,w)=>({type:"assets by chunk",[k]:[E],children:S,...assetGroup(S,w)})})};groupByNames("chunkNames");groupByNames("auxiliaryChunkNames");groupByNames("chunkIdHints");groupByNames("auxiliaryChunkIdHints")},excludeAssets:(E,k,{excludeAssets:S})=>{E.push({getKeys:E=>{const k=E.name;const w=S.some((S=>S(k,E)));if(w)return["excluded"]},getOptions:()=>({groupChildren:false,force:true}),createGroup:(E,k,S)=>({type:"hidden assets",filteredChildren:S.length,...assetGroup(k,S)})})}};const MODULES_GROUPERS=E=>({_:(E,k,S)=>{const groupByFlag=(k,S,w)=>{E.push({getKeys:E=>E[k]?["1"]:undefined,getOptions:()=>({groupChildren:!w,force:w}),createGroup:(E,N,j)=>({type:S,[k]:!!E,...w?{filteredChildren:j.length}:{children:N},...moduleGroup(N,j)})})};const{groupModulesByCacheStatus:w,groupModulesByLayer:N,groupModulesByAttributes:j,groupModulesByType:q,groupModulesByPath:ee,groupModulesByExtension:te}=S;if(j){groupByFlag("errors","modules with errors");groupByFlag("warnings","modules with warnings");groupByFlag("assets","modules with assets");groupByFlag("optional","optional modules")}if(w){groupByFlag("cacheable","cacheable modules");groupByFlag("built","built modules");groupByFlag("codeGenerated","code generated modules")}if(w||!S.cachedModules){groupByFlag("cached","cached modules",!S.cachedModules)}if(j||!S.orphanModules){groupByFlag("orphan","orphan modules",!S.orphanModules)}if(j||!S.dependentModules){groupByFlag("dependent","dependent modules",!S.dependentModules)}if(q||!S.runtimeModules){E.push({getKeys:E=>{if(!E.moduleType)return;if(q){return[E.moduleType.split("/",1)[0]]}else if(E.moduleType==="runtime"){return["runtime"]}},getOptions:E=>{const k=E==="runtime"&&!S.runtimeModules;return{groupChildren:!k,force:k}},createGroup:(E,k,w)=>{const N=E==="runtime"&&!S.runtimeModules;return{type:`${E} modules`,moduleType:E,...N?{filteredChildren:w.length}:{children:k},...moduleGroup(k,w)}}})}if(N){E.push({getKeys:E=>[E.layer],createGroup:(E,k,S)=>({type:"modules by layer",layer:E,children:k,...moduleGroup(k,S)})})}if(ee||te){E.push({getKeys:E=>{if(!E.name)return;const k=Ie(E.name.split("!").pop()).path;const S=te&&/(\.[^.]+)(?:\?.*|$)/.exec(k);const w=S?S[1]:"";const N=ee&&/(.+)[/\\][^/\\]+(?:\?.*|$)/.exec(k);const j=N?N[1].split(/[/\\]/):[];const q=[];if(ee){if(w)q.push(j.length?`${j.join("/")}/*${w}`:`*${w}`);while(j.length>0){q.push(j.join("/")+"/");j.pop()}}else{if(w)q.push(`*${w}`)}return q},createGroup:(E,k,S)=>({type:ee?"modules by path":"modules by extension",name:E,children:k,...moduleGroup(k,S)})})}},excludeModules:(k,S,{excludeModules:w})=>{k.push({getKeys:k=>{const S=k.name;if(S){const N=w.some((w=>w(S,k,E)));if(N)return["1"]}},getOptions:()=>({groupChildren:false,force:true}),createGroup:(E,k,S)=>({type:"hidden modules",filteredChildren:k.length,...moduleGroup(k,S)})})}});const $e={"compilation.assets":je,"asset.related":je,"compilation.modules":MODULES_GROUPERS("module"),"chunk.modules":MODULES_GROUPERS("chunk"),"chunk.rootModules":MODULES_GROUPERS("root-of-chunk"),"module.modules":MODULES_GROUPERS("nested")};const normalizeFieldKey=E=>{if(E[0]==="!"){return E.substr(1)}return E};const sortOrderRegular=E=>{if(E[0]==="!"){return false}return true};const sortByField=E=>{if(!E){const noSort=(E,k)=>0;return noSort}const k=normalizeFieldKey(E);let S=Ce((E=>E[k]),Ee);const w=sortOrderRegular(E);if(!w){const E=S;S=(k,S)=>E(S,k)}return S};const ze={assetsSort:(E,k,{assetsSort:S})=>{E.push(sortByField(S))},_:E=>{E.push(Ce((E=>E.name),Ee))}};const Ue={"compilation.chunks":{chunksSort:(E,k,{chunksSort:S})=>{E.push(sortByField(S))}},"compilation.modules":{modulesSort:(E,k,{modulesSort:S})=>{E.push(sortByField(S))}},"chunk.modules":{chunkModulesSort:(E,k,{chunkModulesSort:S})=>{E.push(sortByField(S))}},"module.modules":{nestedModulesSort:(E,k,{nestedModulesSort:S})=>{E.push(sortByField(S))}},"compilation.assets":ze,"asset.related":ze};const iterateConfig=(E,k,S)=>{for(const w of Object.keys(E)){const N=E[w];for(const E of Object.keys(N)){if(E!=="_"){if(E.startsWith("!")){if(k[E.slice(1)])continue}else{const S=k[E];if(S===false||S===undefined||Array.isArray(S)&&S.length===0)continue}}S(w,N[E])}}};const Ge={"compilation.children[]":"compilation","compilation.modules[]":"module","compilation.entrypoints[]":"chunkGroup","compilation.namedChunkGroups[]":"chunkGroup","compilation.errors[]":"error","compilation.warnings[]":"warning","chunk.modules[]":"module","chunk.rootModules[]":"module","chunk.origins[]":"chunkOrigin","compilation.chunks[]":"chunk","compilation.assets[]":"asset","asset.related[]":"asset","module.issuerPath[]":"moduleIssuer","module.reasons[]":"moduleReason","module.modules[]":"module","module.children[]":"module","moduleTrace[]":"moduleTraceItem","moduleTraceItem.dependencies[]":"moduleTraceDependency"};const mergeToObject=E=>{const k=Object.create(null);for(const S of E){k[S.name]=S}return k};const qe={"compilation.entrypoints":mergeToObject,"compilation.namedChunkGroups":mergeToObject};class DefaultStatsFactoryPlugin{apply(E){E.hooks.compilation.tap("DefaultStatsFactoryPlugin",(E=>{E.hooks.statsFactory.tap("DefaultStatsFactoryPlugin",((k,S,w)=>{iterateConfig(Re,S,((E,w)=>{k.hooks.extract.for(E).tap("DefaultStatsFactoryPlugin",((E,N,j)=>w(E,N,j,S,k)))}));iterateConfig(Fe,S,((E,w)=>{k.hooks.filter.for(E).tap("DefaultStatsFactoryPlugin",((E,k,N,j)=>w(E,k,S,N,j)))}));iterateConfig(Ne,S,((E,w)=>{k.hooks.filterResults.for(E).tap("DefaultStatsFactoryPlugin",((E,k,N,j)=>w(E,k,S,N,j)))}));iterateConfig(Le,S,((E,w)=>{k.hooks.sort.for(E).tap("DefaultStatsFactoryPlugin",((E,k)=>w(E,k,S)))}));iterateConfig(Ue,S,((E,w)=>{k.hooks.sortResults.for(E).tap("DefaultStatsFactoryPlugin",((E,k)=>w(E,k,S)))}));iterateConfig($e,S,((E,w)=>{k.hooks.groupResults.for(E).tap("DefaultStatsFactoryPlugin",((E,k)=>w(E,k,S)))}));for(const E of Object.keys(Ge)){const S=Ge[E];k.hooks.getItemName.for(E).tap("DefaultStatsFactoryPlugin",(()=>S))}for(const E of Object.keys(qe)){const S=qe[E];k.hooks.merge.for(E).tap("DefaultStatsFactoryPlugin",S)}if(S.children){if(Array.isArray(S.children)){k.hooks.getItemFactory.for("compilation.children[].compilation").tap("DefaultStatsFactoryPlugin",((k,{_index:N})=>{if(NN))}}}))}))}}E.exports=DefaultStatsFactoryPlugin},7391:(E,k,S)=>{"use strict";const w=S(80910);const applyDefaults=(E,k)=>{for(const S of Object.keys(k)){if(typeof E[S]==="undefined"){E[S]=k[S]}}};const N={verbose:{hash:true,builtAt:true,relatedAssets:true,entrypoints:true,chunkGroups:true,ids:true,modules:false,chunks:true,chunkRelations:true,chunkModules:true,dependentModules:true,chunkOrigins:true,depth:true,env:true,reasons:true,usedExports:true,providedExports:true,optimizationBailout:true,errorDetails:true,errorStack:true,publicPath:true,logging:"verbose",orphanModules:true,runtimeModules:true,exclude:false,modulesSpace:Infinity,chunkModulesSpace:Infinity,assetsSpace:Infinity,children:true},detailed:{hash:true,builtAt:true,relatedAssets:true,entrypoints:true,chunkGroups:true,ids:true,chunks:true,chunkRelations:true,chunkModules:false,chunkOrigins:true,depth:true,usedExports:true,providedExports:true,optimizationBailout:true,errorDetails:true,publicPath:true,logging:true,runtimeModules:true,exclude:false,modulesSpace:Infinity,assetsSpace:Infinity},minimal:{all:false,version:true,timings:true,modules:true,modulesSpace:0,assets:true,assetsSpace:0,errors:true,errorsCount:true,warnings:true,warningsCount:true,logging:"warn"},"errors-only":{all:false,errors:true,errorsCount:true,moduleTrace:true,logging:"error"},"errors-warnings":{all:false,errors:true,errorsCount:true,warnings:true,warningsCount:true,logging:"warn"},summary:{all:false,version:true,errorsCount:true,warningsCount:true},none:{all:false}};const NORMAL_ON=({all:E})=>E!==false;const NORMAL_OFF=({all:E})=>E===true;const ON_FOR_TO_STRING=({all:E},{forToString:k})=>k?E!==false:E===true;const OFF_FOR_TO_STRING=({all:E},{forToString:k})=>k?E===true:E!==false;const AUTO_FOR_TO_STRING=({all:E},{forToString:k})=>{if(E===false)return false;if(E===true)return true;if(k)return"auto";return true};const j={context:(E,k,S)=>S.compiler.context,requestShortener:(E,k,S)=>S.compiler.context===E.context?S.requestShortener:new w(E.context,S.compiler.root),performance:NORMAL_ON,hash:OFF_FOR_TO_STRING,env:NORMAL_OFF,version:NORMAL_ON,timings:NORMAL_ON,builtAt:OFF_FOR_TO_STRING,assets:NORMAL_ON,entrypoints:AUTO_FOR_TO_STRING,chunkGroups:OFF_FOR_TO_STRING,chunkGroupAuxiliary:OFF_FOR_TO_STRING,chunkGroupChildren:OFF_FOR_TO_STRING,chunkGroupMaxAssets:(E,{forToString:k})=>k?5:Infinity,chunks:OFF_FOR_TO_STRING,chunkRelations:OFF_FOR_TO_STRING,chunkModules:({all:E,modules:k})=>{if(E===false)return false;if(E===true)return true;if(k)return false;return true},dependentModules:OFF_FOR_TO_STRING,chunkOrigins:OFF_FOR_TO_STRING,ids:OFF_FOR_TO_STRING,modules:({all:E,chunks:k,chunkModules:S},{forToString:w})=>{if(E===false)return false;if(E===true)return true;if(w&&k&&S)return false;return true},nestedModules:OFF_FOR_TO_STRING,groupModulesByType:ON_FOR_TO_STRING,groupModulesByCacheStatus:ON_FOR_TO_STRING,groupModulesByLayer:ON_FOR_TO_STRING,groupModulesByAttributes:ON_FOR_TO_STRING,groupModulesByPath:ON_FOR_TO_STRING,groupModulesByExtension:ON_FOR_TO_STRING,modulesSpace:(E,{forToString:k})=>k?15:Infinity,chunkModulesSpace:(E,{forToString:k})=>k?10:Infinity,nestedModulesSpace:(E,{forToString:k})=>k?10:Infinity,relatedAssets:OFF_FOR_TO_STRING,groupAssetsByEmitStatus:ON_FOR_TO_STRING,groupAssetsByInfo:ON_FOR_TO_STRING,groupAssetsByPath:ON_FOR_TO_STRING,groupAssetsByExtension:ON_FOR_TO_STRING,groupAssetsByChunk:ON_FOR_TO_STRING,assetsSpace:(E,{forToString:k})=>k?15:Infinity,orphanModules:OFF_FOR_TO_STRING,runtimeModules:({all:E,runtime:k},{forToString:S})=>k!==undefined?k:S?E===true:E!==false,cachedModules:({all:E,cached:k},{forToString:S})=>k!==undefined?k:S?E===true:E!==false,moduleAssets:OFF_FOR_TO_STRING,depth:OFF_FOR_TO_STRING,cachedAssets:OFF_FOR_TO_STRING,reasons:OFF_FOR_TO_STRING,usedExports:OFF_FOR_TO_STRING,providedExports:OFF_FOR_TO_STRING,optimizationBailout:OFF_FOR_TO_STRING,children:OFF_FOR_TO_STRING,source:NORMAL_OFF,moduleTrace:NORMAL_ON,errors:NORMAL_ON,errorsCount:NORMAL_ON,errorDetails:AUTO_FOR_TO_STRING,errorStack:OFF_FOR_TO_STRING,warnings:NORMAL_ON,warningsCount:NORMAL_ON,publicPath:OFF_FOR_TO_STRING,logging:({all:E},{forToString:k})=>k&&E!==false?"info":false,loggingDebug:()=>[],loggingTrace:OFF_FOR_TO_STRING,excludeModules:()=>[],excludeAssets:()=>[],modulesSort:()=>"depth",chunkModulesSort:()=>"name",nestedModulesSort:()=>false,chunksSort:()=>false,assetsSort:()=>"!size",outputPath:OFF_FOR_TO_STRING,colors:()=>false};const normalizeFilter=E=>{if(typeof E==="string"){const k=new RegExp(`[\\\\/]${E.replace(/[-[\]{}()*+?.\\^$|]/g,"\\$&")}([\\\\/]|$|!|\\?)`);return E=>k.test(E)}if(E&&typeof E==="object"&&typeof E.test==="function"){return k=>E.test(k)}if(typeof E==="function"){return E}if(typeof E==="boolean"){return()=>E}};const q={excludeModules:E=>{if(!Array.isArray(E)){E=E?[E]:[]}return E.map(normalizeFilter)},excludeAssets:E=>{if(!Array.isArray(E)){E=E?[E]:[]}return E.map(normalizeFilter)},warningsFilter:E=>{if(!Array.isArray(E)){E=E?[E]:[]}return E.map((E=>{if(typeof E==="string"){return(k,S)=>S.includes(E)}if(E instanceof RegExp){return(k,S)=>E.test(S)}if(typeof E==="function"){return E}throw new Error(`Can only filter warnings with Strings or RegExps. (Given: ${E})`)}))},logging:E=>{if(E===true)E="log";return E},loggingDebug:E=>{if(!Array.isArray(E)){E=E?[E]:[]}return E.map(normalizeFilter)}};class DefaultStatsPresetPlugin{apply(E){E.hooks.compilation.tap("DefaultStatsPresetPlugin",(E=>{for(const k of Object.keys(N)){const S=N[k];E.hooks.statsPreset.for(k).tap("DefaultStatsPresetPlugin",((E,k)=>{applyDefaults(E,S)}))}E.hooks.statsNormalize.tap("DefaultStatsPresetPlugin",((k,S)=>{for(const w of Object.keys(j)){if(k[w]===undefined)k[w]=j[w](k,S,E)}for(const E of Object.keys(q)){k[E]=q[E](k[E])}}))}))}}E.exports=DefaultStatsPresetPlugin},61762:(E,k,S)=>{"use strict";const plural=(E,k,S)=>E===1?k:S;const printSizes=(E,{formatSize:k=(E=>`${E}`)})=>{const S=Object.keys(E);if(S.length>1){return S.map((S=>`${k(E[S])} (${S})`)).join(" ")}else if(S.length===1){return k(E[S[0]])}};const mapLines=(E,k)=>E.split("\n").map(k).join("\n");const twoDigit=E=>E>=10?`${E}`:`0${E}`;const isValidId=E=>typeof E==="number"||E;const w={"compilation.summary!":(E,{type:k,bold:S,green:w,red:N,yellow:j,formatDateTime:q,formatTime:ee,compilation:{name:te,hash:ne,version:ae,time:_e,builtAt:ve,errorsCount:Ee,warningsCount:we}})=>{const Ce=k==="compilation.summary!";const Me=we>0?j(`${we} ${plural(we,"warning","warnings")}`):"";const Te=Ee>0?N(`${Ee} ${plural(Ee,"error","errors")}`):"";const Ie=Ce&&_e?` in ${ee(_e)}`:"";const Oe=ne?` (${ne})`:"";const Re=Ce&&ve?`${q(ve)}: `:"";const Fe=Ce&&ae?`webpack ${ae}`:"";const Ne=Ce&&te?S(te):te?`Child ${S(te)}`:Ce?"":"Child";const Be=Ne&&Fe?`${Ne} (${Fe})`:Fe||Ne||"webpack";let Le;if(Te&&Me){Le=`compiled with ${Te} and ${Me}`}else if(Te){Le=`compiled with ${Te}`}else if(Me){Le=`compiled with ${Me}`}else if(Ee===0&&we===0){Le=`compiled ${w("successfully")}`}else{Le=`compiled`}if(Re||Fe||Te||Me||Ee===0&&we===0||Ie||Oe)return`${Re}${Be} ${Le}${Ie}${Oe}`},"compilation.filteredWarningDetailsCount":E=>E?`${E} ${plural(E,"warning has","warnings have")} detailed information that is not shown.\nUse 'stats.errorDetails: true' resp. '--stats-error-details' to show it.`:undefined,"compilation.filteredErrorDetailsCount":(E,{yellow:k})=>E?k(`${E} ${plural(E,"error has","errors have")} detailed information that is not shown.\nUse 'stats.errorDetails: true' resp. '--stats-error-details' to show it.`):undefined,"compilation.env":(E,{bold:k})=>E?`Environment (--env): ${k(JSON.stringify(E,null,2))}`:undefined,"compilation.publicPath":(E,{bold:k})=>`PublicPath: ${k(E||"(none)")}`,"compilation.entrypoints":(E,k,S)=>Array.isArray(E)?undefined:S.print(k.type,Object.values(E),{...k,chunkGroupKind:"Entrypoint"}),"compilation.namedChunkGroups":(E,k,S)=>{if(!Array.isArray(E)){const{compilation:{entrypoints:w}}=k;let N=Object.values(E);if(w){N=N.filter((E=>!Object.prototype.hasOwnProperty.call(w,E.name)))}return S.print(k.type,N,{...k,chunkGroupKind:"Chunk Group"})}},"compilation.assetsByChunkName":()=>"","compilation.filteredModules":E=>E>0?`${E} ${plural(E,"module","modules")}`:undefined,"compilation.filteredAssets":(E,{compilation:{assets:k}})=>E>0?`${E} ${plural(E,"asset","assets")}`:undefined,"compilation.logging":(E,k,S)=>Array.isArray(E)?undefined:S.print(k.type,Object.entries(E).map((([E,k])=>({...k,name:E}))),k),"compilation.warningsInChildren!":(E,{yellow:k,compilation:S})=>{if(!S.children&&S.warningsCount>0&&S.warnings){const E=S.warningsCount-S.warnings.length;if(E>0){return k(`${E} ${plural(E,"WARNING","WARNINGS")} in child compilations${S.children?"":" (Use 'stats.children: true' resp. '--stats-children' for more details)"}`)}}},"compilation.errorsInChildren!":(E,{red:k,compilation:S})=>{if(!S.children&&S.errorsCount>0&&S.errors){const E=S.errorsCount-S.errors.length;if(E>0){return k(`${E} ${plural(E,"ERROR","ERRORS")} in child compilations${S.children?"":" (Use 'stats.children: true' resp. '--stats-children' for more details)"}`)}}},"asset.type":E=>E,"asset.name":(E,{formatFilename:k,asset:{isOverSizeLimit:S}})=>k(E,S),"asset.size":(E,{asset:{isOverSizeLimit:k},yellow:S,green:w,formatSize:N})=>k?S(N(E)):N(E),"asset.emitted":(E,{green:k,formatFlag:S})=>E?k(S("emitted")):undefined,"asset.comparedForEmit":(E,{yellow:k,formatFlag:S})=>E?k(S("compared for emit")):undefined,"asset.cached":(E,{green:k,formatFlag:S})=>E?k(S("cached")):undefined,"asset.isOverSizeLimit":(E,{yellow:k,formatFlag:S})=>E?k(S("big")):undefined,"asset.info.immutable":(E,{green:k,formatFlag:S})=>E?k(S("immutable")):undefined,"asset.info.javascriptModule":(E,{formatFlag:k})=>E?k("javascript module"):undefined,"asset.info.sourceFilename":(E,{formatFlag:k})=>E?k(E===true?"from source file":`from: ${E}`):undefined,"asset.info.development":(E,{green:k,formatFlag:S})=>E?k(S("dev")):undefined,"asset.info.hotModuleReplacement":(E,{green:k,formatFlag:S})=>E?k(S("hmr")):undefined,"asset.separator!":()=>"\n","asset.filteredRelated":(E,{asset:{related:k}})=>E>0?`${E} related ${plural(E,"asset","assets")}`:undefined,"asset.filteredChildren":E=>E>0?`${E} ${plural(E,"asset","assets")}`:undefined,assetChunk:(E,{formatChunkId:k})=>k(E),assetChunkName:E=>E,assetChunkIdHint:E=>E,"module.type":E=>E!=="module"?E:undefined,"module.id":(E,{formatModuleId:k})=>isValidId(E)?k(E):undefined,"module.name":(E,{bold:k})=>{const[,S,w]=/^(.*!)?([^!]*)$/.exec(E);return(S||"")+k(w)},"module.identifier":E=>undefined,"module.layer":(E,{formatLayer:k})=>E?k(E):undefined,"module.sizes":printSizes,"module.chunks[]":(E,{formatChunkId:k})=>k(E),"module.depth":(E,{formatFlag:k})=>E!==null?k(`depth ${E}`):undefined,"module.cacheable":(E,{formatFlag:k,red:S})=>E===false?S(k("not cacheable")):undefined,"module.orphan":(E,{formatFlag:k,yellow:S})=>E?S(k("orphan")):undefined,"module.runtime":(E,{formatFlag:k,yellow:S})=>E?S(k("runtime")):undefined,"module.optional":(E,{formatFlag:k,yellow:S})=>E?S(k("optional")):undefined,"module.dependent":(E,{formatFlag:k,cyan:S})=>E?S(k("dependent")):undefined,"module.built":(E,{formatFlag:k,yellow:S})=>E?S(k("built")):undefined,"module.codeGenerated":(E,{formatFlag:k,yellow:S})=>E?S(k("code generated")):undefined,"module.buildTimeExecuted":(E,{formatFlag:k,green:S})=>E?S(k("build time executed")):undefined,"module.cached":(E,{formatFlag:k,green:S})=>E?S(k("cached")):undefined,"module.assets":(E,{formatFlag:k,magenta:S})=>E&&E.length?S(k(`${E.length} ${plural(E.length,"asset","assets")}`)):undefined,"module.warnings":(E,{formatFlag:k,yellow:S})=>E===true?S(k("warnings")):E?S(k(`${E} ${plural(E,"warning","warnings")}`)):undefined,"module.errors":(E,{formatFlag:k,red:S})=>E===true?S(k("errors")):E?S(k(`${E} ${plural(E,"error","errors")}`)):undefined,"module.providedExports":(E,{formatFlag:k,cyan:S})=>{if(Array.isArray(E)){if(E.length===0)return S(k("no exports"));return S(k(`exports: ${E.join(", ")}`))}},"module.usedExports":(E,{formatFlag:k,cyan:S,module:w})=>{if(E!==true){if(E===null)return S(k("used exports unknown"));if(E===false)return S(k("module unused"));if(Array.isArray(E)){if(E.length===0)return S(k("no exports used"));const N=Array.isArray(w.providedExports)?w.providedExports.length:null;if(N!==null&&N===E.length){return S(k("all exports used"))}else{return S(k(`only some exports used: ${E.join(", ")}`))}}}},"module.optimizationBailout[]":(E,{yellow:k})=>k(E),"module.issuerPath":(E,{module:k})=>k.profile?undefined:"","module.profile":E=>undefined,"module.filteredModules":E=>E>0?`${E} nested ${plural(E,"module","modules")}`:undefined,"module.filteredChildren":E=>E>0?`${E} ${plural(E,"module","modules")}`:undefined,"module.separator!":()=>"\n","moduleIssuer.id":(E,{formatModuleId:k})=>k(E),"moduleIssuer.profile.total":(E,{formatTime:k})=>k(E),"moduleReason.type":E=>E,"moduleReason.userRequest":(E,{cyan:k})=>k(E),"moduleReason.moduleId":(E,{formatModuleId:k})=>isValidId(E)?k(E):undefined,"moduleReason.module":(E,{magenta:k})=>k(E),"moduleReason.loc":E=>E,"moduleReason.explanation":(E,{cyan:k})=>k(E),"moduleReason.active":(E,{formatFlag:k})=>E?undefined:k("inactive"),"moduleReason.resolvedModule":(E,{magenta:k})=>k(E),"module.profile.total":(E,{formatTime:k})=>k(E),"module.profile.resolving":(E,{formatTime:k})=>`resolving: ${k(E)}`,"module.profile.restoring":(E,{formatTime:k})=>`restoring: ${k(E)}`,"module.profile.integration":(E,{formatTime:k})=>`integration: ${k(E)}`,"module.profile.building":(E,{formatTime:k})=>`building: ${k(E)}`,"module.profile.storing":(E,{formatTime:k})=>`storing: ${k(E)}`,"module.profile.additionalResolving":(E,{formatTime:k})=>E?`additional resolving: ${k(E)}`:undefined,"module.profile.additionalIntegration":(E,{formatTime:k})=>E?`additional integration: ${k(E)}`:undefined,"chunkGroup.kind!":(E,{chunkGroupKind:k})=>k,"chunkGroup.separator!":()=>"\n","chunkGroup.name":(E,{bold:k})=>k(E),"chunkGroup.isOverSizeLimit":(E,{formatFlag:k,yellow:S})=>E?S(k("big")):undefined,"chunkGroup.assetsSize":(E,{formatSize:k})=>E?k(E):undefined,"chunkGroup.auxiliaryAssetsSize":(E,{formatSize:k})=>E?`(${k(E)})`:undefined,"chunkGroup.filteredAssets":E=>E>0?`${E} ${plural(E,"asset","assets")}`:undefined,"chunkGroup.filteredAuxiliaryAssets":E=>E>0?`${E} auxiliary ${plural(E,"asset","assets")}`:undefined,"chunkGroup.is!":()=>"=","chunkGroupAsset.name":(E,{green:k})=>k(E),"chunkGroupAsset.size":(E,{formatSize:k,chunkGroup:S})=>S.assets.length>1||S.auxiliaryAssets&&S.auxiliaryAssets.length>0?k(E):undefined,"chunkGroup.children":(E,k,S)=>Array.isArray(E)?undefined:S.print(k.type,Object.keys(E).map((k=>({type:k,children:E[k]}))),k),"chunkGroupChildGroup.type":E=>`${E}:`,"chunkGroupChild.assets[]":(E,{formatFilename:k})=>k(E),"chunkGroupChild.chunks[]":(E,{formatChunkId:k})=>k(E),"chunkGroupChild.name":E=>E?`(name: ${E})`:undefined,"chunk.id":(E,{formatChunkId:k})=>k(E),"chunk.files[]":(E,{formatFilename:k})=>k(E),"chunk.names[]":E=>E,"chunk.idHints[]":E=>E,"chunk.runtime[]":E=>E,"chunk.sizes":(E,k)=>printSizes(E,k),"chunk.parents[]":(E,k)=>k.formatChunkId(E,"parent"),"chunk.siblings[]":(E,k)=>k.formatChunkId(E,"sibling"),"chunk.children[]":(E,k)=>k.formatChunkId(E,"child"),"chunk.childrenByOrder":(E,k,S)=>Array.isArray(E)?undefined:S.print(k.type,Object.keys(E).map((k=>({type:k,children:E[k]}))),k),"chunk.childrenByOrder[].type":E=>`${E}:`,"chunk.childrenByOrder[].children[]":(E,{formatChunkId:k})=>isValidId(E)?k(E):undefined,"chunk.entry":(E,{formatFlag:k,yellow:S})=>E?S(k("entry")):undefined,"chunk.initial":(E,{formatFlag:k,yellow:S})=>E?S(k("initial")):undefined,"chunk.rendered":(E,{formatFlag:k,green:S})=>E?S(k("rendered")):undefined,"chunk.recorded":(E,{formatFlag:k,green:S})=>E?S(k("recorded")):undefined,"chunk.reason":(E,{yellow:k})=>E?k(E):undefined,"chunk.filteredModules":E=>E>0?`${E} chunk ${plural(E,"module","modules")}`:undefined,"chunk.separator!":()=>"\n","chunkOrigin.request":E=>E,"chunkOrigin.moduleId":(E,{formatModuleId:k})=>isValidId(E)?k(E):undefined,"chunkOrigin.moduleName":(E,{bold:k})=>k(E),"chunkOrigin.loc":E=>E,"error.compilerPath":(E,{bold:k})=>E?k(`(${E})`):undefined,"error.chunkId":(E,{formatChunkId:k})=>isValidId(E)?k(E):undefined,"error.chunkEntry":(E,{formatFlag:k})=>E?k("entry"):undefined,"error.chunkInitial":(E,{formatFlag:k})=>E?k("initial"):undefined,"error.file":(E,{bold:k})=>k(E),"error.moduleName":(E,{bold:k})=>E.includes("!")?`${k(E.replace(/^(\s|\S)*!/,""))} (${E})`:`${k(E)}`,"error.loc":(E,{green:k})=>k(E),"error.message":(E,{bold:k,formatError:S})=>E.includes("[")?E:k(S(E)),"error.details":(E,{formatError:k})=>k(E),"error.stack":E=>E,"error.moduleTrace":E=>undefined,"error.separator!":()=>"\n","loggingEntry(error).loggingEntry.message":(E,{red:k})=>mapLines(E,(E=>` ${k(E)}`)),"loggingEntry(warn).loggingEntry.message":(E,{yellow:k})=>mapLines(E,(E=>` ${k(E)}`)),"loggingEntry(info).loggingEntry.message":(E,{green:k})=>mapLines(E,(E=>` ${k(E)}`)),"loggingEntry(log).loggingEntry.message":(E,{bold:k})=>mapLines(E,(E=>` ${k(E)}`)),"loggingEntry(debug).loggingEntry.message":E=>mapLines(E,(E=>` ${E}`)),"loggingEntry(trace).loggingEntry.message":E=>mapLines(E,(E=>` ${E}`)),"loggingEntry(status).loggingEntry.message":(E,{magenta:k})=>mapLines(E,(E=>` ${k(E)}`)),"loggingEntry(profile).loggingEntry.message":(E,{magenta:k})=>mapLines(E,(E=>`

${k(E)}`)),"loggingEntry(profileEnd).loggingEntry.message":(E,{magenta:k})=>mapLines(E,(E=>`

${k(E)}`)),"loggingEntry(time).loggingEntry.message":(E,{magenta:k})=>mapLines(E,(E=>` ${k(E)}`)),"loggingEntry(group).loggingEntry.message":(E,{cyan:k})=>mapLines(E,(E=>`<-> ${k(E)}`)),"loggingEntry(groupCollapsed).loggingEntry.message":(E,{cyan:k})=>mapLines(E,(E=>`<+> ${k(E)}`)),"loggingEntry(clear).loggingEntry":()=>" -------","loggingEntry(groupCollapsed).loggingEntry.children":()=>"","loggingEntry.trace[]":E=>E?mapLines(E,(E=>`| ${E}`)):undefined,"moduleTraceItem.originName":E=>E,loggingGroup:E=>E.entries.length===0?"":undefined,"loggingGroup.debug":(E,{red:k})=>E?k("DEBUG"):undefined,"loggingGroup.name":(E,{bold:k})=>k(`LOG from ${E}`),"loggingGroup.separator!":()=>"\n","loggingGroup.filteredEntries":E=>E>0?`+ ${E} hidden lines`:undefined,"moduleTraceDependency.loc":E=>E};const N={"compilation.assets[]":"asset","compilation.modules[]":"module","compilation.chunks[]":"chunk","compilation.entrypoints[]":"chunkGroup","compilation.namedChunkGroups[]":"chunkGroup","compilation.errors[]":"error","compilation.warnings[]":"error","compilation.logging[]":"loggingGroup","compilation.children[]":"compilation","asset.related[]":"asset","asset.children[]":"asset","asset.chunks[]":"assetChunk","asset.auxiliaryChunks[]":"assetChunk","asset.chunkNames[]":"assetChunkName","asset.chunkIdHints[]":"assetChunkIdHint","asset.auxiliaryChunkNames[]":"assetChunkName","asset.auxiliaryChunkIdHints[]":"assetChunkIdHint","chunkGroup.assets[]":"chunkGroupAsset","chunkGroup.auxiliaryAssets[]":"chunkGroupAsset","chunkGroupChild.assets[]":"chunkGroupAsset","chunkGroupChild.auxiliaryAssets[]":"chunkGroupAsset","chunkGroup.children[]":"chunkGroupChildGroup","chunkGroupChildGroup.children[]":"chunkGroupChild","module.modules[]":"module","module.children[]":"module","module.reasons[]":"moduleReason","module.issuerPath[]":"moduleIssuer","chunk.origins[]":"chunkOrigin","chunk.modules[]":"module","loggingGroup.entries[]":E=>`loggingEntry(${E.type}).loggingEntry`,"loggingEntry.children[]":E=>`loggingEntry(${E.type}).loggingEntry`,"error.moduleTrace[]":"moduleTraceItem","moduleTraceItem.dependencies[]":"moduleTraceDependency"};const j=["compilerPath","chunkId","chunkEntry","chunkInitial","file","separator!","moduleName","loc","separator!","message","separator!","details","separator!","stack","separator!","missing","separator!","moduleTrace"];const q={compilation:["name","hash","version","time","builtAt","env","publicPath","assets","filteredAssets","entrypoints","namedChunkGroups","chunks","modules","filteredModules","children","logging","warnings","warningsInChildren!","filteredWarningDetailsCount","errors","errorsInChildren!","filteredErrorDetailsCount","summary!","needAdditionalPass"],asset:["type","name","size","chunks","auxiliaryChunks","emitted","comparedForEmit","cached","info","isOverSizeLimit","chunkNames","auxiliaryChunkNames","chunkIdHints","auxiliaryChunkIdHints","related","filteredRelated","children","filteredChildren"],"asset.info":["immutable","sourceFilename","javascriptModule","development","hotModuleReplacement"],chunkGroup:["kind!","name","isOverSizeLimit","assetsSize","auxiliaryAssetsSize","is!","assets","filteredAssets","auxiliaryAssets","filteredAuxiliaryAssets","separator!","children"],chunkGroupAsset:["name","size"],chunkGroupChildGroup:["type","children"],chunkGroupChild:["assets","chunks","name"],module:["type","name","identifier","id","layer","sizes","chunks","depth","cacheable","orphan","runtime","optional","dependent","built","codeGenerated","cached","assets","failed","warnings","errors","children","filteredChildren","providedExports","usedExports","optimizationBailout","reasons","issuerPath","profile","modules","filteredModules"],moduleReason:["active","type","userRequest","moduleId","module","resolvedModule","loc","explanation"],"module.profile":["total","separator!","resolving","restoring","integration","building","storing","additionalResolving","additionalIntegration"],chunk:["id","runtime","files","names","idHints","sizes","parents","siblings","children","childrenByOrder","entry","initial","rendered","recorded","reason","separator!","origins","separator!","modules","separator!","filteredModules"],chunkOrigin:["request","moduleId","moduleName","loc"],error:j,warning:j,"chunk.childrenByOrder[]":["type","children"],loggingGroup:["debug","name","separator!","entries","separator!","filteredEntries"],loggingEntry:["message","trace","children"]};const itemsJoinOneLine=E=>E.filter(Boolean).join(" ");const itemsJoinOneLineBrackets=E=>E.length>0?`(${E.filter(Boolean).join(" ")})`:undefined;const itemsJoinMoreSpacing=E=>E.filter(Boolean).join("\n\n");const itemsJoinComma=E=>E.filter(Boolean).join(", ");const itemsJoinCommaBrackets=E=>E.length>0?`(${E.filter(Boolean).join(", ")})`:undefined;const itemsJoinCommaBracketsWithName=E=>k=>k.length>0?`(${E}: ${k.filter(Boolean).join(", ")})`:undefined;const ee={"chunk.parents":itemsJoinOneLine,"chunk.siblings":itemsJoinOneLine,"chunk.children":itemsJoinOneLine,"chunk.names":itemsJoinCommaBrackets,"chunk.idHints":itemsJoinCommaBracketsWithName("id hint"),"chunk.runtime":itemsJoinCommaBracketsWithName("runtime"),"chunk.files":itemsJoinComma,"chunk.childrenByOrder":itemsJoinOneLine,"chunk.childrenByOrder[].children":itemsJoinOneLine,"chunkGroup.assets":itemsJoinOneLine,"chunkGroup.auxiliaryAssets":itemsJoinOneLineBrackets,"chunkGroupChildGroup.children":itemsJoinComma,"chunkGroupChild.assets":itemsJoinOneLine,"chunkGroupChild.auxiliaryAssets":itemsJoinOneLineBrackets,"asset.chunks":itemsJoinComma,"asset.auxiliaryChunks":itemsJoinCommaBrackets,"asset.chunkNames":itemsJoinCommaBracketsWithName("name"),"asset.auxiliaryChunkNames":itemsJoinCommaBracketsWithName("auxiliary name"),"asset.chunkIdHints":itemsJoinCommaBracketsWithName("id hint"),"asset.auxiliaryChunkIdHints":itemsJoinCommaBracketsWithName("auxiliary id hint"),"module.chunks":itemsJoinOneLine,"module.issuerPath":E=>E.filter(Boolean).map((E=>`${E} ->`)).join(" "),"compilation.errors":itemsJoinMoreSpacing,"compilation.warnings":itemsJoinMoreSpacing,"compilation.logging":itemsJoinMoreSpacing,"compilation.children":E=>indent(itemsJoinMoreSpacing(E)," "),"moduleTraceItem.dependencies":itemsJoinOneLine,"loggingEntry.children":E=>indent(E.filter(Boolean).join("\n")," ",false)};const joinOneLine=E=>E.map((E=>E.content)).filter(Boolean).join(" ");const joinInBrackets=E=>{const k=[];let S=0;for(const w of E){if(w.element==="separator!"){switch(S){case 0:case 1:S+=2;break;case 4:k.push(")");S=3;break}}if(!w.content)continue;switch(S){case 0:S=1;break;case 1:k.push(" ");break;case 2:k.push("(");S=4;break;case 3:k.push(" (");S=4;break;case 4:k.push(", ");break}k.push(w.content)}if(S===4)k.push(")");return k.join("")};const indent=(E,k,S)=>{const w=E.replace(/\n([^\n])/g,"\n"+k+"$1");if(S)return w;const N=E[0]==="\n"?"":k;return N+w};const joinExplicitNewLine=(E,k)=>{let S=true;let w=true;return E.map((E=>{if(!E||!E.content)return;let N=indent(E.content,w?"":k,!S);if(S){N=N.replace(/^\n+/,"")}if(!N)return;w=false;const j=S||N.startsWith("\n");S=N.endsWith("\n");return j?N:" "+N})).filter(Boolean).join("").trim()};const joinError=E=>(k,{red:S,yellow:w})=>`${E?S("ERROR"):w("WARNING")} in ${joinExplicitNewLine(k,"")}`;const te={compilation:E=>{const k=[];let S=false;for(const w of E){if(!w.content)continue;const E=w.element==="warnings"||w.element==="filteredWarningDetailsCount"||w.element==="errors"||w.element==="filteredErrorDetailsCount"||w.element==="logging";if(k.length!==0){k.push(E||S?"\n\n":"\n")}k.push(w.content);S=E}if(S)k.push("\n");return k.join("")},asset:E=>joinExplicitNewLine(E.map((E=>{if((E.element==="related"||E.element==="children")&&E.content){return{...E,content:`\n${E.content}\n`}}return E}))," "),"asset.info":joinOneLine,module:(E,{module:k})=>{let S=false;return joinExplicitNewLine(E.map((E=>{switch(E.element){case"id":if(k.id===k.name){if(S)return false;if(E.content)S=true}break;case"name":if(S)return false;if(E.content)S=true;break;case"providedExports":case"usedExports":case"optimizationBailout":case"reasons":case"issuerPath":case"profile":case"children":case"modules":if(E.content){return{...E,content:`\n${E.content}\n`}}break}return E}))," ")},chunk:E=>{let k=false;return"chunk "+joinExplicitNewLine(E.filter((E=>{switch(E.element){case"entry":if(E.content)k=true;break;case"initial":if(k)return false;break}return true}))," ")},"chunk.childrenByOrder[]":E=>`(${joinOneLine(E)})`,chunkGroup:E=>joinExplicitNewLine(E," "),chunkGroupAsset:joinOneLine,chunkGroupChildGroup:joinOneLine,chunkGroupChild:joinOneLine,moduleReason:(E,{moduleReason:k})=>{let S=false;return joinOneLine(E.filter((E=>{switch(E.element){case"moduleId":if(k.moduleId===k.module&&E.content)S=true;break;case"module":if(S)return false;break;case"resolvedModule":return k.module!==k.resolvedModule&&E.content}return true})))},"module.profile":joinInBrackets,moduleIssuer:joinOneLine,chunkOrigin:E=>"> "+joinOneLine(E),"errors[].error":joinError(true),"warnings[].error":joinError(false),loggingGroup:E=>joinExplicitNewLine(E,"").trimRight(),moduleTraceItem:E=>" @ "+joinOneLine(E),moduleTraceDependency:joinOneLine};const ne={bold:"",yellow:"",red:"",green:"",cyan:"",magenta:""};const ae={formatChunkId:(E,{yellow:k},S)=>{switch(S){case"parent":return`<{${k(E)}}>`;case"sibling":return`={${k(E)}}=`;case"child":return`>{${k(E)}}<`;default:return`{${k(E)}}`}},formatModuleId:E=>`[${E}]`,formatFilename:(E,{green:k,yellow:S},w)=>(w?S:k)(E),formatFlag:E=>`[${E}]`,formatLayer:E=>`(in ${E})`,formatSize:S(9192).formatSize,formatDateTime:(E,{bold:k})=>{const S=new Date(E);const w=twoDigit;const N=`${S.getFullYear()}-${w(S.getMonth()+1)}-${w(S.getDate())}`;const j=`${w(S.getHours())}:${w(S.getMinutes())}:${w(S.getSeconds())}`;return`${N} ${k(j)}`},formatTime:(E,{timeReference:k,bold:S,green:w,yellow:N,red:j},q)=>{const ee=" ms";if(k&&E!==k){const q=[k/2,k/4,k/8,k/16];if(E{if(E.includes("["))return E;const N=[{regExp:/(Did you mean .+)/g,format:k},{regExp:/(Set 'mode' option to 'development' or 'production')/g,format:k},{regExp:/(\(module has no exports\))/g,format:w},{regExp:/\(possible exports: (.+)\)/g,format:k},{regExp:/\s*(.+ doesn't exist)/g,format:w},{regExp:/('\w+' option has not been set)/g,format:w},{regExp:/(Emitted value instead of an instance of Error)/g,format:S},{regExp:/(Used? .+ instead)/gi,format:S},{regExp:/\b(deprecated|must|required)\b/g,format:S},{regExp:/\b(BREAKING CHANGE)\b/gi,format:w},{regExp:/\b(error|failed|unexpected|invalid|not found|not supported|not available|not possible|not implemented|doesn't support|conflict|conflicting|not existing|duplicate)\b/gi,format:w}];for(const{regExp:k,format:S}of N){E=E.replace(k,((E,k)=>E.replace(k,S(k))))}return E}};const _e={"module.modules":E=>indent(E,"| ")};const createOrder=(E,k)=>{const S=E.slice();const w=new Set(E);const N=new Set;E.length=0;for(const S of k){if(S.endsWith("!")||w.has(S)){E.push(S);N.add(S)}}for(const k of S){if(!N.has(k)){E.push(k)}}return E};class DefaultStatsPrinterPlugin{apply(E){E.hooks.compilation.tap("DefaultStatsPrinterPlugin",(E=>{E.hooks.statsPrinter.tap("DefaultStatsPrinterPlugin",((E,k,S)=>{E.hooks.print.for("compilation").tap("DefaultStatsPrinterPlugin",((E,S)=>{for(const E of Object.keys(ne)){let w;if(k.colors){if(typeof k.colors==="object"&&typeof k.colors[E]==="string"){w=k.colors[E]}else{w=ne[E]}}if(w){S[E]=E=>`${w}${typeof E==="string"?E.replace(/((\u001b\[39m|\u001b\[22m|\u001b\[0m)+)/g,`$1${w}`):E}`}else{S[E]=E=>E}}for(const E of Object.keys(ae)){S[E]=(k,...w)=>ae[E](k,S,...w)}S.timeReference=E.time}));for(const k of Object.keys(w)){E.hooks.print.for(k).tap("DefaultStatsPrinterPlugin",((S,N)=>w[k](S,N,E)))}for(const k of Object.keys(q)){const S=q[k];E.hooks.sortElements.for(k).tap("DefaultStatsPrinterPlugin",((E,k)=>{createOrder(E,S)}))}for(const k of Object.keys(N)){const S=N[k];E.hooks.getItemName.for(k).tap("DefaultStatsPrinterPlugin",typeof S==="string"?()=>S:S)}for(const k of Object.keys(ee)){const S=ee[k];E.hooks.printItems.for(k).tap("DefaultStatsPrinterPlugin",S)}for(const k of Object.keys(te)){const S=te[k];E.hooks.printElements.for(k).tap("DefaultStatsPrinterPlugin",S)}for(const k of Object.keys(_e)){const S=_e[k];E.hooks.result.for(k).tap("DefaultStatsPrinterPlugin",S)}}))}))}}E.exports=DefaultStatsPrinterPlugin},87279:(E,k,S)=>{"use strict";const{HookMap:w,SyncBailHook:N,SyncWaterfallHook:j}=S(92960);const{concatComparators:q,keepOriginalOrder:ee}=S(68673);const te=S(93695);class StatsFactory{constructor(){this.hooks=Object.freeze({extract:new w((()=>new N(["object","data","context"]))),filter:new w((()=>new N(["item","context","index","unfilteredIndex"]))),sort:new w((()=>new N(["comparators","context"]))),filterSorted:new w((()=>new N(["item","context","index","unfilteredIndex"]))),groupResults:new w((()=>new N(["groupConfigs","context"]))),sortResults:new w((()=>new N(["comparators","context"]))),filterResults:new w((()=>new N(["item","context","index","unfilteredIndex"]))),merge:new w((()=>new N(["items","context"]))),result:new w((()=>new j(["result","context"]))),getItemName:new w((()=>new N(["item","context"]))),getItemFactory:new w((()=>new N(["item","context"])))});const E=this.hooks;this._caches={};for(const k of Object.keys(E)){this._caches[k]=new Map}this._inCreate=false}_getAllLevelHooks(E,k,S){const w=k.get(S);if(w!==undefined){return w}const N=[];const j=S.split(".");for(let k=0;k{for(const S of q){const w=N(S,E,k,ee);if(w!==undefined){if(w)ee++;return w}}ee++;return true}))}create(E,k,S){if(this._inCreate){return this._create(E,k,S)}else{try{this._inCreate=true;return this._create(E,k,S)}finally{for(const E of Object.keys(this._caches))this._caches[E].clear();this._inCreate=false}}}_create(E,k,S){const w={...S,type:E,[E]:k};if(Array.isArray(k)){const S=this._forEachLevelFilter(this.hooks.filter,this._caches.filter,E,k,((E,k,S,N)=>E.call(k,w,S,N)),true);const N=[];this._forEachLevel(this.hooks.sort,this._caches.sort,E,(E=>E.call(N,w)));if(N.length>0){S.sort(q(...N,ee(S)))}const j=this._forEachLevelFilter(this.hooks.filterSorted,this._caches.filterSorted,E,S,((E,k,S,N)=>E.call(k,w,S,N)),false);let ne=j.map(((k,S)=>{const N={...w,_index:S};const j=this._forEachLevel(this.hooks.getItemName,this._caches.getItemName,`${E}[]`,(E=>E.call(k,N)));if(j)N[j]=k;const q=j?`${E}[].${j}`:`${E}[]`;const ee=this._forEachLevel(this.hooks.getItemFactory,this._caches.getItemFactory,q,(E=>E.call(k,N)))||this;return ee.create(q,k,N)}));const ae=[];this._forEachLevel(this.hooks.sortResults,this._caches.sortResults,E,(E=>E.call(ae,w)));if(ae.length>0){ne.sort(q(...ae,ee(ne)))}const _e=[];this._forEachLevel(this.hooks.groupResults,this._caches.groupResults,E,(E=>E.call(_e,w)));if(_e.length>0){ne=te(ne,_e)}const ve=this._forEachLevelFilter(this.hooks.filterResults,this._caches.filterResults,E,ne,((E,k,S,N)=>E.call(k,w,S,N)),false);let Ee=this._forEachLevel(this.hooks.merge,this._caches.merge,E,(E=>E.call(ve,w)));if(Ee===undefined)Ee=ve;return this._forEachLevelWaterfall(this.hooks.result,this._caches.result,E,Ee,((E,k)=>E.call(k,w)))}else{const S={};this._forEachLevel(this.hooks.extract,this._caches.extract,E,(E=>E.call(S,k,w)));return this._forEachLevelWaterfall(this.hooks.result,this._caches.result,E,S,((E,k)=>E.call(k,w)))}}}E.exports=StatsFactory},30533:(E,k,S)=>{"use strict";const{HookMap:w,SyncWaterfallHook:N,SyncBailHook:j}=S(92960);class StatsPrinter{constructor(){this.hooks=Object.freeze({sortElements:new w((()=>new j(["elements","context"]))),printElements:new w((()=>new j(["printedElements","context"]))),sortItems:new w((()=>new j(["items","context"]))),getItemName:new w((()=>new j(["item","context"]))),printItems:new w((()=>new j(["printedItems","context"]))),print:new w((()=>new j(["object","context"]))),result:new w((()=>new N(["result","context"])))});this._levelHookCache=new Map;this._inPrint=false}_getAllLevelHooks(E,k){let S=this._levelHookCache.get(E);if(S===undefined){S=new Map;this._levelHookCache.set(E,S)}const w=S.get(k);if(w!==undefined){return w}const N=[];const j=k.split(".");for(let k=0;kE.call(k,w)));if(N===undefined){if(Array.isArray(k)){const S=k.slice();this._forEachLevel(this.hooks.sortItems,E,(E=>E.call(S,w)));const j=S.map(((k,S)=>{const N={...w,_index:S};const j=this._forEachLevel(this.hooks.getItemName,`${E}[]`,(E=>E.call(k,N)));if(j)N[j]=k;return this.print(j?`${E}[].${j}`:`${E}[]`,k,N)}));N=this._forEachLevel(this.hooks.printItems,E,(E=>E.call(j,w)));if(N===undefined){const E=j.filter(Boolean);if(E.length>0)N=E.join("\n")}}else if(k!==null&&typeof k==="object"){const S=Object.keys(k).filter((E=>k[E]!==undefined));this._forEachLevel(this.hooks.sortElements,E,(E=>E.call(S,w)));const j=S.map((S=>{const N=this.print(`${E}.${S}`,k[S],{...w,_parent:k,_element:S,[S]:k[S]});return{element:S,content:N}}));N=this._forEachLevel(this.hooks.printElements,E,(E=>E.call(j,w)));if(N===undefined){const E=j.map((E=>E.content)).filter(Boolean);if(E.length>0)N=E.join("\n")}}}return this._forEachLevelWaterfall(this.hooks.result,E,N,((E,k)=>E.call(k,w)))}}E.exports=StatsPrinter},73910:(E,k)=>{"use strict";k.equals=(E,k)=>{if(E.length!==k.length)return false;for(let S=0;S{"use strict";class ArrayQueue{constructor(E){this._list=E?Array.from(E):[];this._listReversed=[]}get length(){return this._list.length+this._listReversed.length}clear(){this._list.length=0;this._listReversed.length=0}enqueue(E){this._list.push(E)}dequeue(){if(this._listReversed.length===0){if(this._list.length===0)return undefined;if(this._list.length===1)return this._list.pop();if(this._list.length<16)return this._list.shift();const E=this._listReversed;this._listReversed=this._list;this._listReversed.reverse();this._list=E}return this._listReversed.pop()}delete(E){const k=this._list.indexOf(E);if(k>=0){this._list.splice(k,1)}else{const k=this._listReversed.indexOf(E);if(k>=0)this._listReversed.splice(k,1)}}[Symbol.iterator](){let E=-1;let k=false;return{next:()=>{if(!k){E++;if(E{"use strict";const{SyncHook:w,AsyncSeriesHook:N}=S(92960);const{makeWebpackError:j}=S(3728);const q=S(81627);const ee=S(56561);const te=0;const ne=1;const ae=2;let _e=0;class AsyncQueueEntry{constructor(E,k){this.item=E;this.state=te;this.callback=k;this.callbacks=undefined;this.result=undefined;this.error=undefined}}class AsyncQueue{constructor({name:E,parallelism:k,parent:S,processor:j,getKey:q}){this._name=E;this._parallelism=k||1;this._processor=j;this._getKey=q||(E=>E);this._entries=new Map;this._queued=new ee;this._children=undefined;this._activeTasks=0;this._willEnsureProcessing=false;this._needProcessing=false;this._stopped=false;this._root=S?S._root:this;if(S){if(this._root._children===undefined){this._root._children=[this]}else{this._root._children.push(this)}}this.hooks={beforeAdd:new N(["item"]),added:new w(["item"]),beforeStart:new N(["item"]),started:new w(["item"]),result:new w(["item","error","result"])};this._ensureProcessing=this._ensureProcessing.bind(this)}add(E,k){if(this._stopped)return k(new q("Queue was stopped"));this.hooks.beforeAdd.callAsync(E,(S=>{if(S){k(j(S,`AsyncQueue(${this._name}).hooks.beforeAdd`));return}const w=this._getKey(E);const N=this._entries.get(w);if(N!==undefined){if(N.state===ae){if(_e++>3){process.nextTick((()=>k(N.error,N.result)))}else{k(N.error,N.result)}_e--}else if(N.callbacks===undefined){N.callbacks=[k]}else{N.callbacks.push(k)}return}const ee=new AsyncQueueEntry(E,k);if(this._stopped){this.hooks.added.call(E);this._root._activeTasks++;process.nextTick((()=>this._handleResult(ee,new q("Queue was stopped"))))}else{this._entries.set(w,ee);this._queued.enqueue(ee);const k=this._root;k._needProcessing=true;if(k._willEnsureProcessing===false){k._willEnsureProcessing=true;setImmediate(k._ensureProcessing)}this.hooks.added.call(E)}}))}invalidate(E){const k=this._getKey(E);const S=this._entries.get(k);this._entries.delete(k);if(S.state===te){this._queued.delete(S)}}waitFor(E,k){const S=this._getKey(E);const w=this._entries.get(S);if(w===undefined){return k(new q("waitFor can only be called for an already started item"))}if(w.state===ae){process.nextTick((()=>k(w.error,w.result)))}else if(w.callbacks===undefined){w.callbacks=[k]}else{w.callbacks.push(k)}}stop(){this._stopped=true;const E=this._queued;this._queued=new ee;const k=this._root;for(const S of E){this._entries.delete(this._getKey(S.item));k._activeTasks++;this._handleResult(S,new q("Queue was stopped"))}}increaseParallelism(){const E=this._root;E._parallelism++;if(E._willEnsureProcessing===false&&E._needProcessing){E._willEnsureProcessing=true;setImmediate(E._ensureProcessing)}}decreaseParallelism(){const E=this._root;E._parallelism--}isProcessing(E){const k=this._getKey(E);const S=this._entries.get(k);return S!==undefined&&S.state===ne}isQueued(E){const k=this._getKey(E);const S=this._entries.get(k);return S!==undefined&&S.state===te}isDone(E){const k=this._getKey(E);const S=this._entries.get(k);return S!==undefined&&S.state===ae}_ensureProcessing(){while(this._activeTasks0)return;if(this._children!==undefined){for(const E of this._children){while(this._activeTasks0)return}}if(!this._willEnsureProcessing)this._needProcessing=false}_startProcessing(E){this.hooks.beforeStart.callAsync(E.item,(k=>{if(k){this._handleResult(E,j(k,`AsyncQueue(${this._name}).hooks.beforeStart`));return}let S=false;try{this._processor(E.item,((k,w)=>{S=true;this._handleResult(E,k,w)}))}catch(k){if(S)throw k;this._handleResult(E,k,null)}this.hooks.started.call(E.item)}))}_handleResult(E,k,S){this.hooks.result.callAsync(E.item,k,S,(w=>{const N=w?j(w,`AsyncQueue(${this._name}).hooks.result`):k;const q=E.callback;const ee=E.callbacks;E.state=ae;E.callback=undefined;E.callbacks=undefined;E.result=S;E.error=N;const te=this._root;te._activeTasks--;if(te._willEnsureProcessing===false&&te._needProcessing){te._willEnsureProcessing=true;setImmediate(te._ensureProcessing)}if(_e++>3){process.nextTick((()=>{q(N,S);if(ee!==undefined){for(const E of ee){E(N,S)}}}))}else{q(N,S);if(ee!==undefined){for(const E of ee){E(N,S)}}}_e--}))}clear(){this._entries.clear();this._queued.clear();this._activeTasks=0;this._willEnsureProcessing=false;this._needProcessing=false;this._stopped=false}}E.exports=AsyncQueue},75066:(E,k,S)=>{"use strict";class Hash{update(E,k){const w=S(75884);throw new w}digest(E){const k=S(75884);throw new k}}E.exports=Hash},11539:(E,k)=>{"use strict";const last=E=>{let k;for(const S of E)k=S;return k};const someInIterable=(E,k)=>{for(const S of E){if(k(S))return true}return false};const countIterable=E=>{let k=0;for(const S of E)k++;return k};k.last=last;k.someInIterable=someInIterable;k.countIterable=countIterable},37496:(E,k,S)=>{"use strict";const{first:w}=S(26221);const N=S(16102);class LazyBucketSortedSet{constructor(E,k,...S){this._getKey=E;this._innerArgs=S;this._leaf=S.length<=1;this._keys=new N(undefined,k);this._map=new Map;this._unsortedItems=new Set;this.size=0}add(E){this.size++;this._unsortedItems.add(E)}_addInternal(E,k){let S=this._map.get(E);if(S===undefined){S=this._leaf?new N(undefined,this._innerArgs[0]):new LazyBucketSortedSet(...this._innerArgs);this._keys.add(E);this._map.set(E,S)}S.add(k)}delete(E){this.size--;if(this._unsortedItems.has(E)){this._unsortedItems.delete(E);return}const k=this._getKey(E);const S=this._map.get(k);S.delete(E);if(S.size===0){this._deleteKey(k)}}_deleteKey(E){this._keys.delete(E);this._map.delete(E)}popFirst(){if(this.size===0)return undefined;this.size--;if(this._unsortedItems.size>0){for(const E of this._unsortedItems){const k=this._getKey(E);this._addInternal(k,E)}this._unsortedItems.clear()}this._keys.sort();const E=w(this._keys);const k=this._map.get(E);if(this._leaf){const S=k;S.sort();const N=w(S);S.delete(N);if(S.size===0){this._deleteKey(E)}return N}else{const S=k;const w=S.popFirst();if(S.size===0){this._deleteKey(E)}return w}}startUpdate(E){if(this._unsortedItems.has(E)){return k=>{if(k){this._unsortedItems.delete(E);this.size--;return}}}const k=this._getKey(E);if(this._leaf){const S=this._map.get(k);return w=>{if(w){this.size--;S.delete(E);if(S.size===0){this._deleteKey(k)}return}const N=this._getKey(E);if(k===N){S.add(E)}else{S.delete(E);if(S.size===0){this._deleteKey(k)}this._addInternal(N,E)}}}else{const S=this._map.get(k);const w=S.startUpdate(E);return N=>{if(N){this.size--;w(true);if(S.size===0){this._deleteKey(k)}return}const j=this._getKey(E);if(k===j){w()}else{w(true);if(S.size===0){this._deleteKey(k)}this._addInternal(j,E)}}}}_appendIterators(E){if(this._unsortedItems.size>0)E.push(this._unsortedItems[Symbol.iterator]());for(const k of this._keys){const S=this._map.get(k);if(this._leaf){const k=S;const w=k[Symbol.iterator]();E.push(w)}else{const k=S;k._appendIterators(E)}}}[Symbol.iterator](){const E=[];this._appendIterators(E);E.reverse();let k=E.pop();return{next:()=>{const S=k.next();if(S.done){if(E.length===0)return S;k=E.pop();return k.next()}return S}}}}E.exports=LazyBucketSortedSet},83379:(E,k,S)=>{"use strict";const w=S(56202);const merge=(E,k)=>{for(const S of k){for(const k of S){E.add(k)}}};const flatten=(E,k)=>{for(const S of k){if(S._set.size>0)E.add(S._set);if(S._needMerge){for(const k of S._toMerge){E.add(k)}flatten(E,S._toDeepMerge)}}};class LazySet{constructor(E){this._set=new Set(E);this._toMerge=new Set;this._toDeepMerge=[];this._needMerge=false;this._deopt=false}_flatten(){flatten(this._toMerge,this._toDeepMerge);this._toDeepMerge.length=0}_merge(){this._flatten();merge(this._set,this._toMerge);this._toMerge.clear();this._needMerge=false}_isEmpty(){return this._set.size===0&&this._toMerge.size===0&&this._toDeepMerge.length===0}get size(){if(this._needMerge)this._merge();return this._set.size}add(E){this._set.add(E);return this}addAll(E){if(this._deopt){const k=this._set;for(const S of E){k.add(S)}}else{if(E instanceof LazySet){if(E._isEmpty())return this;this._toDeepMerge.push(E);this._needMerge=true;if(this._toDeepMerge.length>1e5){this._flatten()}}else{this._toMerge.add(E);this._needMerge=true}if(this._toMerge.size>1e5)this._merge()}return this}clear(){this._set.clear();this._toMerge.clear();this._toDeepMerge.length=0;this._needMerge=false;this._deopt=false}delete(E){if(this._needMerge)this._merge();return this._set.delete(E)}entries(){this._deopt=true;if(this._needMerge)this._merge();return this._set.entries()}forEach(E,k){this._deopt=true;if(this._needMerge)this._merge();this._set.forEach(E,k)}has(E){if(this._needMerge)this._merge();return this._set.has(E)}keys(){this._deopt=true;if(this._needMerge)this._merge();return this._set.keys()}values(){this._deopt=true;if(this._needMerge)this._merge();return this._set.values()}[Symbol.iterator](){this._deopt=true;if(this._needMerge)this._merge();return this._set[Symbol.iterator]()}get[Symbol.toStringTag](){return"LazySet"}serialize({write:E}){if(this._needMerge)this._merge();E(this._set.size);for(const k of this._set)E(k)}static deserialize({read:E}){const k=E();const S=[];for(let w=0;w{"use strict";k.provide=(E,k,S)=>{const w=E.get(k);if(w!==undefined)return w;const N=S();E.set(k,N);return N}},382:(E,k,S)=>{"use strict";const w=S(31017);class ParallelismFactorCalculator{constructor(){this._rangePoints=[];this._rangeCallbacks=[]}range(E,k,S){if(E===k)return S(1);this._rangePoints.push(E);this._rangePoints.push(k);this._rangeCallbacks.push(S)}calculate(){const E=Array.from(new Set(this._rangePoints)).sort(((E,k)=>E0));const S=[];for(let N=0;N{"use strict";class Queue{constructor(E){this._set=new Set(E);this._iterator=this._set[Symbol.iterator]()}get length(){return this._set.size}enqueue(E){this._set.add(E)}dequeue(){const E=this._iterator.next();if(E.done)return undefined;this._set.delete(E.value);return E.value}}E.exports=Queue},26221:(E,k)=>{"use strict";const intersect=E=>{if(E.length===0)return new Set;if(E.length===1)return new Set(E[0]);let k=Infinity;let S=-1;for(let w=0;w{if(E.size{for(const S of E){if(k(S))return S}};const first=E=>{const k=E.values().next();return k.done?undefined:k.value};const combine=(E,k)=>{if(k.size===0)return E;if(E.size===0)return k;const S=new Set(E);for(const E of k)S.add(E);return S};k.intersect=intersect;k.isSubset=isSubset;k.find=find;k.first=first;k.combine=combine},16102:E=>{"use strict";const k=Symbol("not sorted");class SortableSet extends Set{constructor(E,S){super(E);this._sortFn=S;this._lastActiveSortFn=k;this._cache=undefined;this._cacheOrderIndependent=undefined}add(E){this._lastActiveSortFn=k;this._invalidateCache();this._invalidateOrderedCache();super.add(E);return this}delete(E){this._invalidateCache();this._invalidateOrderedCache();return super.delete(E)}clear(){this._invalidateCache();this._invalidateOrderedCache();return super.clear()}sortWith(E){if(this.size<=1||E===this._lastActiveSortFn){return}const k=Array.from(this).sort(E);super.clear();for(let E=0;E{"use strict";const k=Symbol("tombstone");const S=Symbol("undefined");const extractPair=E=>{const w=E[0];const N=E[1];if(N===S||N===k){return[w,undefined]}else{return E}};class StackedMap{constructor(E){this.map=new Map;this.stack=E===undefined?[]:E.slice();this.stack.push(this.map)}set(E,k){this.map.set(E,k===undefined?S:k)}delete(E){if(this.stack.length>1){this.map.set(E,k)}else{this.map.delete(E)}}has(E){const S=this.map.get(E);if(S!==undefined){return S!==k}if(this.stack.length>1){for(let S=this.stack.length-2;S>=0;S--){const w=this.stack[S].get(E);if(w!==undefined){this.map.set(E,w);return w!==k}}this.map.set(E,k)}return false}get(E){const w=this.map.get(E);if(w!==undefined){return w===k||w===S?undefined:w}if(this.stack.length>1){for(let w=this.stack.length-2;w>=0;w--){const N=this.stack[w].get(E);if(N!==undefined){this.map.set(E,N);return N===k||N===S?undefined:N}}this.map.set(E,k)}return undefined}_compress(){if(this.stack.length===1)return;this.map=new Map;for(const E of this.stack){for(const S of E){if(S[1]===k){this.map.delete(S[0])}else{this.map.set(S[0],S[1])}}}this.stack=[this.map]}asArray(){this._compress();return Array.from(this.map.keys())}asSet(){this._compress();return new Set(this.map.keys())}asPairArray(){this._compress();return Array.from(this.map.entries(),extractPair)}asMap(){return new Map(this.asPairArray())}get size(){this._compress();return this.map.size}createChild(){return new StackedMap(this.stack)}}E.exports=StackedMap},14146:E=>{"use strict";class StringXor{constructor(){this._value=undefined;this._buffer=undefined}add(E){let k=this._buffer;let S;if(k===undefined){k=this._buffer=Buffer.from(E,"latin1");this._value=Buffer.from(k);return}else if(k.length!==E.length){S=this._value;k=this._buffer=Buffer.from(E,"latin1");if(S.length{"use strict";const w=S(86949);class TupleQueue{constructor(E){this._set=new w(E);this._iterator=this._set[Symbol.iterator]()}get length(){return this._set.size}enqueue(...E){this._set.add(...E)}dequeue(){const E=this._iterator.next();if(E.done){if(this._set.size>0){this._iterator=this._set[Symbol.iterator]();const E=this._iterator.next().value;this._set.delete(...E);return E}return undefined}this._set.delete(...E.value);return E.value}}E.exports=TupleQueue},86949:E=>{"use strict";class TupleSet{constructor(E){this._map=new Map;this.size=0;if(E){for(const k of E){this.add(...k)}}}add(...E){let k=this._map;for(let S=0;S{const N=w.next();if(N.done){if(E.length===0)return false;k.pop();return next(E.pop())}const[j,q]=N.value;E.push(w);k.push(j);if(q instanceof Set){S=q[Symbol.iterator]();return true}else{return next(q[Symbol.iterator]())}};next(this._map[Symbol.iterator]());return{next(){while(S){const w=S.next();if(w.done){k.pop();if(!next(E.pop())){S=undefined}}else{return{done:false,value:k.concat(w.value)}}}return{done:true,value:undefined}}}}}E.exports=TupleSet},45754:(E,k)=>{"use strict";const S="\\".charCodeAt(0);const w="/".charCodeAt(0);const N="a".charCodeAt(0);const j="z".charCodeAt(0);const q="A".charCodeAt(0);const ee="Z".charCodeAt(0);const te="0".charCodeAt(0);const ne="9".charCodeAt(0);const ae="+".charCodeAt(0);const _e="-".charCodeAt(0);const ve=":".charCodeAt(0);const Ee="#".charCodeAt(0);const we="?".charCodeAt(0);function getScheme(E){const k=E.charCodeAt(0);if((kj)&&(kee)){return undefined}let Ce=1;let Me=E.charCodeAt(Ce);while(Me>=N&&Me<=j||Me>=q&&Me<=ee||Me>=te&&Me<=ne||Me===ae||Me===_e){if(++Ce===E.length)return undefined;Me=E.charCodeAt(Ce)}if(Me!==ve)return undefined;if(Ce===1){const k=Ce+1{"use strict";const isWeakKey=E=>typeof E==="object"&&E!==null;class WeakTupleNode{constructor(){this.f=0;this.v=undefined;this.m=undefined;this.w=undefined}getValue(){return this.v}hasValue(){return(this.f&1)===1}setValue(E){this.f|=1;this.v=E}deleteValue(){this.f&=6;this.v=undefined}peek(E){if(isWeakKey(E)){if((this.f&4)!==4)return undefined;return this.w.get(E)}else{if((this.f&2)!==2)return undefined;return this.m.get(E)}}get(E){if(isWeakKey(E)){if((this.f&4)!==4){const k=new WeakMap;this.f|=4;const S=new WeakTupleNode;(this.w=k).set(E,S);return S}const k=this.w.get(E);if(k!==undefined){return k}const S=new WeakTupleNode;this.w.set(E,S);return S}else{if((this.f&2)!==2){const k=new Map;this.f|=2;const S=new WeakTupleNode;(this.m=k).set(E,S);return S}const k=this.m.get(E);if(k!==undefined){return k}const S=new WeakTupleNode;this.m.set(E,S);return S}}}class WeakTupleMap{constructor(){this._node=new WeakTupleNode}set(...E){let k=this._node;for(let S=0;S{"use strict";const compileSearch=(E,k,S,w,N)=>{const j=["function ",E,"(a,l,h,",w.join(","),"){",N?"":"var i=",S?"l-1":"h+1",";while(l<=h){var m=(l+h)>>>1,x=a[m]"];if(N){if(k.indexOf("c")<0){j.push(";if(x===y){return m}else if(x<=y){")}else{j.push(";var p=c(x,y);if(p===0){return m}else if(p<=0){")}}else{j.push(";if(",k,"){i=m;")}if(S){j.push("l=m+1}else{h=m-1}")}else{j.push("h=m-1}else{l=m+1}")}j.push("}");if(N){j.push("return -1};")}else{j.push("return i};")}return j.join("")};const compileBoundsSearch=(E,k,S,w)=>{const N=compileSearch("A","x"+E+"y",k,["y"],w);const j=compileSearch("P","c(x,y)"+E+"0",k,["y","c"],w);const q="function dispatchBinarySearch";const ee="(a,y,c,l,h){if(typeof(c)==='function'){return P(a,(l===void 0)?0:l|0,(h===void 0)?a.length-1:h|0,y,c)}else{return A(a,(c===void 0)?0:c|0,(l===void 0)?a.length-1:l|0,y)}}return dispatchBinarySearch";const te=[N,j,q,S,ee,S];const ne=te.join("");const ae=new Function(ne);return ae()};E.exports={ge:compileBoundsSearch(">=",false,"GE"),gt:compileBoundsSearch(">",false,"GT"),lt:compileBoundsSearch("<",true,"LT"),le:compileBoundsSearch("<=",true,"LE"),eq:compileBoundsSearch("-",true,"EQ",true)}},90149:(E,k)=>{"use strict";const S=new WeakMap;const w=new WeakMap;const N=Symbol("DELETE");const j=Symbol("cleverMerge dynamic info");const cachedCleverMerge=(E,k)=>{if(k===undefined)return E;if(E===undefined)return k;if(typeof k!=="object"||k===null)return k;if(typeof E!=="object"||E===null)return E;let w=S.get(E);if(w===undefined){w=new WeakMap;S.set(E,w)}const N=w.get(k);if(N!==undefined)return N;const j=_cleverMerge(E,k,true);w.set(k,j);return j};const cachedSetProperty=(E,k,S)=>{let N=w.get(E);if(N===undefined){N=new Map;w.set(E,N)}let j=N.get(k);if(j===undefined){j=new Map;N.set(k,j)}let q=j.get(S);if(q)return q;q={...E,[k]:S};j.set(S,q);return q};const q=new WeakMap;const cachedParseObject=E=>{const k=q.get(E);if(k!==undefined)return k;const S=parseObject(E);q.set(E,S);return S};const parseObject=E=>{const k=new Map;let S;const getInfo=E=>{const S=k.get(E);if(S!==undefined)return S;const w={base:undefined,byProperty:undefined,byValues:undefined};k.set(E,w);return w};for(const k of Object.keys(E)){if(k.startsWith("by")){const w=k;const N=E[w];if(typeof N==="object"){for(const E of Object.keys(N)){const k=N[E];for(const S of Object.keys(k)){const j=getInfo(S);if(j.byProperty===undefined){j.byProperty=w;j.byValues=new Map}else if(j.byProperty!==w){throw new Error(`${w} and ${j.byProperty} for a single property is not supported`)}j.byValues.set(E,k[S]);if(E==="default"){for(const E of Object.keys(N)){if(!j.byValues.has(E))j.byValues.set(E,undefined)}}}}}else if(typeof N==="function"){if(S===undefined){S={byProperty:k,fn:N}}else{throw new Error(`${k} and ${S.byProperty} when both are functions is not supported`)}}else{const S=getInfo(k);S.base=E[k]}}else{const S=getInfo(k);S.base=E[k]}}return{static:k,dynamic:S}};const serializeObject=(E,k)=>{const S={};for(const k of E.values()){if(k.byProperty!==undefined){const E=S[k.byProperty]=S[k.byProperty]||{};for(const S of k.byValues.keys()){E[S]=E[S]||{}}}}for(const[k,w]of E){if(w.base!==undefined){S[k]=w.base}if(w.byProperty!==undefined){const E=S[w.byProperty]=S[w.byProperty]||{};for(const S of Object.keys(E)){const N=getFromByValues(w.byValues,S);if(N!==undefined)E[S][k]=N}}}if(k!==undefined){S[k.byProperty]=k.fn}return S};const ee=0;const te=1;const ne=2;const ae=3;const _e=4;const getValueType=E=>{if(E===undefined){return ee}else if(E===N){return _e}else if(Array.isArray(E)){if(E.lastIndexOf("...")!==-1)return ne;return te}else if(typeof E==="object"&&E!==null&&(!E.constructor||E.constructor===Object)){return ae}return te};const cleverMerge=(E,k)=>{if(k===undefined)return E;if(E===undefined)return k;if(typeof k!=="object"||k===null)return k;if(typeof E!=="object"||E===null)return E;return _cleverMerge(E,k,false)};const _cleverMerge=(E,k,S=false)=>{const w=S?cachedParseObject(E):parseObject(E);const{static:N,dynamic:q}=w;if(q!==undefined){let{byProperty:E,fn:N}=q;const ee=N[j];if(ee){k=S?cachedCleverMerge(ee[1],k):cleverMerge(ee[1],k);N=ee[0]}const newFn=(...E)=>{const w=N(...E);return S?cachedCleverMerge(w,k):cleverMerge(w,k)};newFn[j]=[N,k];return serializeObject(w.static,{byProperty:E,fn:newFn})}const ee=S?cachedParseObject(k):parseObject(k);const{static:te,dynamic:ne}=ee;const ae=new Map;for(const[E,k]of N){const w=te.get(E);const N=w!==undefined?mergeEntries(k,w,S):k;ae.set(E,N)}for(const[E,k]of te){if(!N.has(E)){ae.set(E,k)}}return serializeObject(ae,ne)};const mergeEntries=(E,k,S)=>{switch(getValueType(k.base)){case te:case _e:return k;case ee:if(!E.byProperty){return{base:E.base,byProperty:k.byProperty,byValues:k.byValues}}else if(E.byProperty!==k.byProperty){throw new Error(`${E.byProperty} and ${k.byProperty} for a single property is not supported`)}else{const w=new Map(E.byValues);for(const[N,j]of k.byValues){const k=getFromByValues(E.byValues,N);w.set(N,mergeSingleValue(k,j,S))}return{base:E.base,byProperty:E.byProperty,byValues:w}}default:{if(!E.byProperty){return{base:mergeSingleValue(E.base,k.base,S),byProperty:k.byProperty,byValues:k.byValues}}let w;const N=new Map(E.byValues);for(const[E,w]of N){N.set(E,mergeSingleValue(w,k.base,S))}if(Array.from(E.byValues.values()).every((E=>{const k=getValueType(E);return k===te||k===_e}))){w=mergeSingleValue(E.base,k.base,S)}else{w=E.base;if(!N.has("default"))N.set("default",k.base)}if(!k.byProperty){return{base:w,byProperty:E.byProperty,byValues:N}}else if(E.byProperty!==k.byProperty){throw new Error(`${E.byProperty} and ${k.byProperty} for a single property is not supported`)}const j=new Map(N);for(const[E,w]of k.byValues){const k=getFromByValues(N,E);j.set(E,mergeSingleValue(k,w,S))}return{base:w,byProperty:E.byProperty,byValues:j}}}};const getFromByValues=(E,k)=>{if(k!=="default"&&E.has(k)){return E.get(k)}return E.get("default")};const mergeSingleValue=(E,k,S)=>{const w=getValueType(k);const N=getValueType(E);switch(w){case _e:case te:return k;case ae:{return N!==ae?k:S?cachedCleverMerge(E,k):cleverMerge(E,k)}case ee:return E;case ne:switch(N!==te?N:Array.isArray(E)?ne:ae){case ee:return k;case _e:return k.filter((E=>E!=="..."));case ne:{const S=[];for(const w of k){if(w==="..."){for(const k of E){S.push(k)}}else{S.push(w)}}return S}case ae:return k.map((k=>k==="..."?E:k));default:throw new Error("Not implemented")}default:throw new Error("Not implemented")}};const removeOperations=E=>{const k={};for(const S of Object.keys(E)){const w=E[S];const N=getValueType(w);switch(N){case ee:case _e:break;case ae:k[S]=removeOperations(w);break;case ne:k[S]=w.filter((E=>E!=="..."));break;default:k[S]=w;break}}return k};const resolveByProperty=(E,k,...S)=>{if(typeof E!=="object"||E===null||!(k in E)){return E}const{[k]:w,...N}=E;const j=N;const q=w;if(typeof q==="object"){const E=S[0];if(E in q){return cachedCleverMerge(j,q[E])}else if("default"in q){return cachedCleverMerge(j,q.default)}else{return j}}else if(typeof q==="function"){const E=q.apply(null,S);return cachedCleverMerge(j,resolveByProperty(E,k,...S))}};k.cachedSetProperty=cachedSetProperty;k.cachedCleverMerge=cachedCleverMerge;k.cleverMerge=cleverMerge;k.resolveByProperty=resolveByProperty;k.removeOperations=removeOperations;k.DELETE=N},68673:(E,k,S)=>{"use strict";const{compareRuntime:w}=S(37416);const createCachedParameterizedComparator=E=>{const k=new WeakMap;return S=>{const w=k.get(S);if(w!==undefined)return w;const N=E.bind(null,S);k.set(S,N);return N}};k.compareChunksById=(E,k)=>compareIds(E.id,k.id);k.compareModulesByIdentifier=(E,k)=>compareIds(E.identifier(),k.identifier());const compareModulesById=(E,k,S)=>compareIds(E.getModuleId(k),E.getModuleId(S));k.compareModulesById=createCachedParameterizedComparator(compareModulesById);const compareNumbers=(E,k)=>{if(typeof E!==typeof k){return typeof Ek)return 1;return 0};k.compareNumbers=compareNumbers;const compareStringsNumeric=(E,k)=>{const S=E.split(/(\d+)/);const w=k.split(/(\d+)/);const N=Math.min(S.length,w.length);for(let E=0;EN.length){if(k.slice(0,N.length)>N)return 1;return-1}else if(N.length>k.length){if(N.slice(0,k.length)>k)return-1;return 1}else{if(kN)return 1}}else{const E=+k;const S=+N;if(ES)return 1}}if(w.lengthS.length)return-1;return 0};k.compareStringsNumeric=compareStringsNumeric;const compareModulesByPostOrderIndexOrIdentifier=(E,k,S)=>{const w=compareNumbers(E.getPostOrderIndex(k),E.getPostOrderIndex(S));if(w!==0)return w;return compareIds(k.identifier(),S.identifier())};k.compareModulesByPostOrderIndexOrIdentifier=createCachedParameterizedComparator(compareModulesByPostOrderIndexOrIdentifier);const compareModulesByPreOrderIndexOrIdentifier=(E,k,S)=>{const w=compareNumbers(E.getPreOrderIndex(k),E.getPreOrderIndex(S));if(w!==0)return w;return compareIds(k.identifier(),S.identifier())};k.compareModulesByPreOrderIndexOrIdentifier=createCachedParameterizedComparator(compareModulesByPreOrderIndexOrIdentifier);const compareModulesByIdOrIdentifier=(E,k,S)=>{const w=compareIds(E.getModuleId(k),E.getModuleId(S));if(w!==0)return w;return compareIds(k.identifier(),S.identifier())};k.compareModulesByIdOrIdentifier=createCachedParameterizedComparator(compareModulesByIdOrIdentifier);const compareChunks=(E,k,S)=>E.compareChunks(k,S);k.compareChunks=createCachedParameterizedComparator(compareChunks);const compareIds=(E,k)=>{if(typeof E!==typeof k){return typeof Ek)return 1;return 0};k.compareIds=compareIds;const compareStrings=(E,k)=>{if(Ek)return 1;return 0};k.compareStrings=compareStrings;const compareChunkGroupsByIndex=(E,k)=>E.index{if(S.length>0){const[w,...N]=S;return concatComparators(E,concatComparators(k,w,...N))}const w=N.get(E,k);if(w!==undefined)return w;const result=(S,w)=>{const N=E(S,w);if(N!==0)return N;return k(S,w)};N.set(E,k,result);return result};k.concatComparators=concatComparators;const j=new TwoKeyWeakMap;const compareSelect=(E,k)=>{const S=j.get(E,k);if(S!==undefined)return S;const result=(S,w)=>{const N=E(S);const j=E(w);if(N!==undefined&&N!==null){if(j!==undefined&&j!==null){return k(N,j)}return-1}else{if(j!==undefined&&j!==null){return 1}return 0}};j.set(E,k,result);return result};k.compareSelect=compareSelect;const q=new WeakMap;const compareIterables=E=>{const k=q.get(E);if(k!==undefined)return k;const result=(k,S)=>{const w=k[Symbol.iterator]();const N=S[Symbol.iterator]();while(true){const k=w.next();const S=N.next();if(k.done){return S.done?0:-1}else if(S.done){return 1}const j=E(k.value,S.value);if(j!==0)return j}};q.set(E,result);return result};k.compareIterables=compareIterables;k.keepOriginalOrder=E=>{const k=new Map;let S=0;for(const w of E){k.set(w,S++)}return(E,S)=>compareNumbers(k.get(E),k.get(S))};k.compareChunksNatural=E=>{const S=k.compareModulesById(E);const N=compareIterables(S);return concatComparators(compareSelect((E=>E.name),compareIds),compareSelect((E=>E.runtime),w),compareSelect((k=>E.getOrderedChunkModulesIterable(k,S)),N))};k.compareLocations=(E,k)=>{let S=typeof E==="object"&&E!==null;let w=typeof k==="object"&&k!==null;if(!S||!w){if(S)return 1;if(w)return-1;return 0}if("start"in E){if("start"in k){const S=E.start;const w=k.start;if(S.linew.line)return 1;if(S.columnw.column)return 1}else return-1}else if("start"in k)return 1;if("name"in E){if("name"in k){if(E.namek.name)return 1}else return-1}else if("name"in k)return 1;if("index"in E){if("index"in k){if(E.indexk.index)return 1}else return-1}else if("index"in k)return 1;return 0}},87274:E=>{"use strict";const quoteMeta=E=>E.replace(/[-[\]\\/{}()*+?.^$|]/g,"\\$&");const toSimpleString=E=>{if(`${+E}`===E){return E}return JSON.stringify(E)};const compileBooleanMatcher=E=>{const k=Object.keys(E).filter((k=>E[k]));const S=Object.keys(E).filter((k=>!E[k]));if(k.length===0)return false;if(S.length===0)return true;return compileBooleanMatcherFromLists(k,S)};const compileBooleanMatcherFromLists=(E,k)=>{if(E.length===0)return()=>"false";if(k.length===0)return()=>"true";if(E.length===1)return k=>`${toSimpleString(E[0])} == ${k}`;if(k.length===1)return E=>`${toSimpleString(k[0])} != ${E}`;const S=itemsToRegexp(E);const w=itemsToRegexp(k);if(S.length<=w.length){return E=>`/^${S}$/.test(${E})`}else{return E=>`!/^${w}$/.test(${E})`}};const popCommonItems=(E,k,S)=>{const w=new Map;for(const S of E){const E=k(S);if(E){let k=w.get(E);if(k===undefined){k=[];w.set(E,k)}k.push(S)}}const N=[];for(const k of w.values()){if(S(k)){for(const S of k){E.delete(S)}N.push(k)}}return N};const getCommonPrefix=E=>{let k=E[0];for(let S=1;S{let k=E[0];for(let S=1;S=0;E--,S--){if(w[E]!==k[S]){k=k.slice(S+1);break}}}return k};const itemsToRegexp=E=>{if(E.length===1){return quoteMeta(E[0])}const k=[];let S=0;for(const k of E){if(k.length===1){S++}}if(S===E.length){return`[${quoteMeta(E.sort().join(""))}]`}const w=new Set(E.sort());if(S>2){let E="";for(const k of w){if(k.length===1){E+=k;w.delete(k)}}k.push(`[${quoteMeta(E)}]`)}if(k.length===0&&w.size===2){const k=getCommonPrefix(E);const S=getCommonSuffix(E.map((E=>E.slice(k.length))));if(k.length>0||S.length>0){return`${quoteMeta(k)}${itemsToRegexp(E.map((E=>E.slice(k.length,-S.length||undefined))))}${quoteMeta(S)}`}}if(k.length===0&&w.size===2){const E=w[Symbol.iterator]();const k=E.next().value;const S=E.next().value;if(k.length>0&&S.length>0&&k.slice(-1)===S.slice(-1)){return`${itemsToRegexp([k.slice(0,-1),S.slice(0,-1)])}${quoteMeta(k.slice(-1))}`}}const N=popCommonItems(w,(E=>E.length>=1?E[0]:false),(E=>{if(E.length>=3)return true;if(E.length<=1)return false;return E[0][1]===E[1][1]}));for(const E of N){const S=getCommonPrefix(E);k.push(`${quoteMeta(S)}${itemsToRegexp(E.map((E=>E.slice(S.length))))}`)}const j=popCommonItems(w,(E=>E.length>=1?E.slice(-1):false),(E=>{if(E.length>=3)return true;if(E.length<=1)return false;return E[0].slice(-2)===E[1].slice(-2)}));for(const E of j){const S=getCommonSuffix(E);k.push(`${itemsToRegexp(E.map((E=>E.slice(0,-S.length))))}${quoteMeta(S)}`)}const q=k.concat(Array.from(w,quoteMeta));if(q.length===1)return q[0];return`(${q.join("|")})`};compileBooleanMatcher.fromLists=compileBooleanMatcherFromLists;compileBooleanMatcher.itemsToRegexp=itemsToRegexp;E.exports=compileBooleanMatcher},35817:(E,k,S)=>{"use strict";const w=S(91671);const N=w((()=>S(15235).validate));const createSchemaValidation=(E=(E=>false),k,S)=>{k=w(k);return w=>{if(!E(w)){N()(k(),w,S)}}};E.exports=createSchemaValidation},35891:(E,k,S)=>{"use strict";const w=S(75066);const N=2e3;const j={};class BulkUpdateDecorator extends w{constructor(E,k){super();this.hashKey=k;if(typeof E==="function"){this.hashFactory=E;this.hash=undefined}else{this.hashFactory=undefined;this.hash=E}this.buffer=""}update(E,k){if(k!==undefined||typeof E!=="string"||E.length>N){if(this.hash===undefined)this.hash=this.hashFactory();if(this.buffer.length>0){this.hash.update(this.buffer);this.buffer=""}this.hash.update(E,k)}else{this.buffer+=E;if(this.buffer.length>N){if(this.hash===undefined)this.hash=this.hashFactory();this.hash.update(this.buffer);this.buffer=""}}return this}digest(E){let k;const S=this.buffer;if(this.hash===undefined){const w=`${this.hashKey}-${E}`;k=j[w];if(k===undefined){k=j[w]=new Map}const N=k.get(S);if(N!==undefined)return N;this.hash=this.hashFactory()}if(S.length>0){this.hash.update(S)}const w=this.hash.digest(E);const N=typeof w==="string"?w:w.toString();if(k!==undefined){k.set(S,N)}return N}}class DebugHash extends w{constructor(){super();this.string=""}update(E,k){if(typeof E!=="string")E=E.toString("utf-8");if(E.startsWith("debug-digest-")){E=Buffer.from(E.slice("debug-digest-".length),"hex").toString()}this.string+=`[${E}](${(new Error).stack.split("\n",3)[2]})\n`;return this}digest(E){return"debug-digest-"+Buffer.from(this.string).toString("hex")}}let q=undefined;E.exports=E=>{if(typeof E==="function"){return new BulkUpdateDecorator((()=>new E))}switch(E){case"debug":return new DebugHash;default:if(q===undefined)q=S(76417);return new BulkUpdateDecorator((()=>q.createHash(E)),E)}}},16595:(E,k,S)=>{"use strict";const w=S(31669);const N=new Map;const createDeprecation=(E,k)=>{const S=N.get(E);if(S!==undefined)return S;const j=w.deprecate((()=>{}),E,"DEP_WEBPACK_DEPRECATION_"+k);N.set(E,j);return j};const j=["concat","entry","filter","find","findIndex","includes","indexOf","join","lastIndexOf","map","reduce","reduceRight","slice","some"];const q=["copyWithin","entries","fill","keys","pop","reverse","shift","splice","sort","unshift"];k.arrayToSetDeprecation=(E,k)=>{for(const S of j){if(E[S])continue;const w=createDeprecation(`${k} was changed from Array to Set (using Array method '${S}' is deprecated)`,"ARRAY_TO_SET");E[S]=function(){w();const E=Array.from(this);return Array.prototype[S].apply(E,arguments)}}const S=createDeprecation(`${k} was changed from Array to Set (using Array method 'push' is deprecated)`,"ARRAY_TO_SET_PUSH");const w=createDeprecation(`${k} was changed from Array to Set (using Array property 'length' is deprecated)`,"ARRAY_TO_SET_LENGTH");const N=createDeprecation(`${k} was changed from Array to Set (indexing Array is deprecated)`,"ARRAY_TO_SET_INDEXER");E.push=function(){S();for(const E of Array.from(arguments)){this.add(E)}return this.size};for(const S of q){if(E[S])continue;E[S]=()=>{throw new Error(`${k} was changed from Array to Set (using Array method '${S}' is not possible)`)}}const createIndexGetter=E=>{const fn=function(){N();let k=0;for(const S of this){if(k++===E)return S}return undefined};return fn};const defineIndexGetter=S=>{Object.defineProperty(E,S,{get:createIndexGetter(S),set(E){throw new Error(`${k} was changed from Array to Set (indexing Array with write is not possible)`)}})};defineIndexGetter(0);let ee=1;Object.defineProperty(E,"length",{get(){w();const E=this.size;for(ee;ee{class SetDeprecatedArray extends Set{}k.arrayToSetDeprecation(SetDeprecatedArray.prototype,E);return SetDeprecatedArray};k.soonFrozenObjectDeprecation=(E,k,S,N="")=>{const j=`${k} will be frozen in future, all modifications are deprecated.${N&&`\n${N}`}`;return new Proxy(E,{set:w.deprecate(((E,k,S,w)=>Reflect.set(E,k,S,w)),j,S),defineProperty:w.deprecate(((E,k,S)=>Reflect.defineProperty(E,k,S)),j,S),deleteProperty:w.deprecate(((E,k)=>Reflect.deleteProperty(E,k)),j,S),setPrototypeOf:w.deprecate(((E,k)=>Reflect.setPrototypeOf(E,k)),j,S)})};const deprecateAllProperties=(E,k,S)=>{const N={};const j=Object.getOwnPropertyDescriptors(E);for(const E of Object.keys(j)){const q=j[E];if(typeof q.value==="function"){Object.defineProperty(N,E,{...q,value:w.deprecate(q.value,k,S)})}else if(q.get||q.set){Object.defineProperty(N,E,{...q,get:q.get&&w.deprecate(q.get,k,S),set:q.set&&w.deprecate(q.set,k,S)})}else{let j=q.value;Object.defineProperty(N,E,{configurable:q.configurable,enumerable:q.enumerable,get:w.deprecate((()=>j),k,S),set:q.writable?w.deprecate((E=>j=E),k,S):undefined})}}return N};k.deprecateAllProperties=deprecateAllProperties;k.createFakeHook=(E,k,S)=>{if(k&&S){E=deprecateAllProperties(E,k,S)}return Object.freeze(Object.assign(E,{_fakeHook:true}))}},44648:E=>{"use strict";const similarity=(E,k)=>{const S=Math.min(E.length,k.length);let w=0;for(let N=0;N{const w=Math.min(E.length,k.length);let N=0;while(N{for(const S of Object.keys(k)){E[S]=(E[S]||0)+k[S]}};const subtractSizeFrom=(E,k)=>{for(const S of Object.keys(k)){E[S]-=k[S]}};const sumSize=E=>{const k=Object.create(null);for(const S of E){addSizeTo(k,S.size)}return k};const isTooBig=(E,k)=>{for(const S of Object.keys(E)){const w=E[S];if(w===0)continue;const N=k[S];if(typeof N==="number"){if(w>N)return true}}return false};const isTooSmall=(E,k)=>{for(const S of Object.keys(E)){const w=E[S];if(w===0)continue;const N=k[S];if(typeof N==="number"){if(w{const S=new Set;for(const w of Object.keys(E)){const N=E[w];if(N===0)continue;const j=k[w];if(typeof j==="number"){if(N{let S=0;for(const w of Object.keys(E)){if(E[w]!==0&&k.has(w))S++}return S};const selectiveSizeSum=(E,k)=>{let S=0;for(const w of Object.keys(E)){if(E[w]!==0&&k.has(w))S+=E[w]}return S};class Node{constructor(E,k,S){this.item=E;this.key=k;this.size=S}}class Group{constructor(E,k,S){this.nodes=E;this.similarities=k;this.size=S||sumSize(E);this.key=undefined}popNodes(E){const k=[];const S=[];const w=[];let N;for(let j=0;j0){S.push(N===this.nodes[j-1]?this.similarities[j-1]:similarity(N.key,q.key))}k.push(q);N=q}}if(w.length===this.nodes.length)return undefined;this.nodes=k;this.similarities=S;this.size=sumSize(k);return w}}const getSimilarities=E=>{const k=[];let S=undefined;for(const w of E){if(S!==undefined){k.push(similarity(S.key,w.key))}S=w}return k};E.exports=({maxSize:E,minSize:k,items:S,getSize:w,getKey:N})=>{const j=[];const q=Array.from(S,(E=>new Node(E,N(E),w(E))));const ee=[];q.sort(((E,k)=>{if(E.keyk.key)return 1;return 0}));for(const S of q){if(isTooBig(S.size,E)&&!isTooSmall(S.size,k)){j.push(new Group([S],[]))}else{ee.push(S)}}if(ee.length>0){const S=new Group(ee,getSimilarities(ee));const removeProblematicNodes=(E,S=E.size)=>{const w=getTooSmallTypes(S,k);if(w.size>0){const k=E.popNodes((E=>getNumberOfMatchingSizeTypes(E.size,w)>0));if(k===undefined)return false;const S=j.filter((E=>getNumberOfMatchingSizeTypes(E.size,w)>0));if(S.length>0){const E=S.reduce(((E,k)=>{const S=getNumberOfMatchingSizeTypes(E,w);const N=getNumberOfMatchingSizeTypes(k,w);if(S!==N)return SselectiveSizeSum(k.size,w))return k;return E}));for(const S of k)E.nodes.push(S);E.nodes.sort(((E,k)=>{if(E.keyk.key)return 1;return 0}))}else{j.push(new Group(k,null))}return true}else{return false}};if(S.nodes.length>0){const w=[S];while(w.length){const S=w.pop();if(!isTooBig(S.size,E)){j.push(S);continue}if(removeProblematicNodes(S)){w.push(S);continue}let N=1;let q=Object.create(null);addSizeTo(q,S.nodes[0].size);while(N=0&&isTooSmall(te,k)){addSizeTo(te,S.nodes[ee].size);ee--}if(N-1>ee){let E;if(ee{if(E.nodes[0].keyk.nodes[0].key)return 1;return 0}));const te=new Set;for(let E=0;E({key:E.key,items:E.nodes.map((E=>E.item)),size:E.size})))}},10004:E=>{"use strict";E.exports=function extractUrlAndGlobal(E){const k=E.indexOf("@");return[E.substring(k+1),E.substring(0,k)]}},62598:E=>{"use strict";const k=0;const S=1;const w=2;const N=3;const j=4;class Node{constructor(E){this.item=E;this.dependencies=new Set;this.marker=k;this.cycle=undefined;this.incoming=0}}class Cycle{constructor(){this.nodes=new Set}}E.exports=(E,q)=>{const ee=new Map;for(const k of E){const E=new Node(k);ee.set(k,E)}if(ee.size<=1)return E;for(const E of ee.values()){for(const k of q(E.item)){const S=ee.get(k);if(S!==undefined){E.dependencies.add(S)}}}const te=new Set;const ne=new Set;for(const E of ee.values()){if(E.marker===k){E.marker=S;const q=[{node:E,openEdges:Array.from(E.dependencies)}];while(q.length>0){const E=q[q.length-1];if(E.openEdges.length>0){const ee=E.openEdges.pop();switch(ee.marker){case k:q.push({node:ee,openEdges:Array.from(ee.dependencies)});ee.marker=S;break;case S:{let E=ee.cycle;if(!E){E=new Cycle;E.nodes.add(ee);ee.cycle=E}for(let k=q.length-1;q[k].node!==ee;k--){const S=q[k].node;if(S.cycle){if(S.cycle!==E){for(const k of S.cycle.nodes){k.cycle=E;E.nodes.add(k)}}}else{S.cycle=E;E.nodes.add(S)}}break}case j:ee.marker=w;te.delete(ee);break;case N:ne.delete(ee.cycle);ee.marker=w;break}}else{q.pop();E.node.marker=w}}const ee=E.cycle;if(ee){for(const E of ee.nodes){E.marker=N}ne.add(ee)}else{E.marker=j;te.add(E)}}}for(const E of ne){let k=0;const S=new Set;const w=E.nodes;for(const E of w){for(const N of E.dependencies){if(w.has(N)){N.incoming++;if(N.incomingk){S.clear();k=N.incoming}S.add(N)}}}for(const E of S){te.add(E)}}if(te.size>0){return Array.from(te,(E=>E.item))}else{throw new Error("Implementation of findGraphRoots is broken")}}},95396:(E,k,S)=>{"use strict";const w=S(85622);const relative=(E,k,S)=>{if(E&&E.relative){return E.relative(k,S)}else if(w.posix.isAbsolute(k)){return w.posix.relative(k,S)}else if(w.win32.isAbsolute(k)){return w.win32.relative(k,S)}else{throw new Error(`${k} is neither a posix nor a windows path, and there is no 'relative' method defined in the file system`)}};k.relative=relative;const join=(E,k,S)=>{if(E&&E.join){return E.join(k,S)}else if(w.posix.isAbsolute(k)){return w.posix.join(k,S)}else if(w.win32.isAbsolute(k)){return w.win32.join(k,S)}else{throw new Error(`${k} is neither a posix nor a windows path, and there is no 'join' method defined in the file system`)}};k.join=join;const dirname=(E,k)=>{if(E&&E.dirname){return E.dirname(k)}else if(w.posix.isAbsolute(k)){return w.posix.dirname(k)}else if(w.win32.isAbsolute(k)){return w.win32.dirname(k)}else{throw new Error(`${k} is neither a posix nor a windows path, and there is no 'dirname' method defined in the file system`)}};k.dirname=dirname;const mkdirp=(E,k,S)=>{E.mkdir(k,(w=>{if(w){if(w.code==="ENOENT"){const N=dirname(E,k);if(N===k){S(w);return}mkdirp(E,N,(w=>{if(w){S(w);return}E.mkdir(k,(E=>{if(E){if(E.code==="EEXIST"){S();return}S(E);return}S()}))}));return}else if(w.code==="EEXIST"){S();return}S(w);return}S()}))};k.mkdirp=mkdirp;const mkdirpSync=(E,k)=>{try{E.mkdirSync(k)}catch(S){if(S){if(S.code==="ENOENT"){const w=dirname(E,k);if(w===k){throw S}mkdirpSync(E,w);E.mkdirSync(k);return}else if(S.code==="EEXIST"){return}throw S}}};k.mkdirpSync=mkdirpSync;const readJson=(E,k,S)=>{if("readJson"in E)return E.readJson(k,S);E.readFile(k,((E,k)=>{if(E)return S(E);let w;try{w=JSON.parse(k.toString("utf-8"))}catch(E){return S(E)}return S(null,w)}))};k.readJson=readJson},49197:(E,k,S)=>{"use strict";const w=S(85622);const N=/^[a-zA-Z]:[\\/]/;const j=/([|!])/;const q=/\\/g;const absoluteToRequest=(E,k)=>{if(k[0]==="/"){if(k.length>1&&k[k.length-1]==="/"){return k}const S=k.indexOf("?");let N=S===-1?k:k.slice(0,S);N=w.posix.relative(E,N);if(!N.startsWith("../")){N="./"+N}return S===-1?N:N+k.slice(S)}if(N.test(k)){const S=k.indexOf("?");let j=S===-1?k:k.slice(0,S);j=w.win32.relative(E,j);if(!N.test(j)){j=j.replace(q,"/");if(!j.startsWith("../")){j="./"+j}}return S===-1?j:j+k.slice(S)}return k};const requestToAbsolute=(E,k)=>{if(k.startsWith("./")||k.startsWith("../"))return w.join(E,k);return k};const makeCacheable=E=>{const k=new WeakMap;const cachedFn=(S,w,N)=>{if(!N)return E(S,w);let j=k.get(N);if(j===undefined){j=new Map;k.set(N,j)}let q;let ee=j.get(S);if(ee===undefined){j.set(S,ee=new Map)}else{q=ee.get(w)}if(q!==undefined){return q}else{const k=E(S,w);ee.set(w,k);return k}};cachedFn.bindCache=S=>{let w;if(S){w=k.get(S);if(w===undefined){w=new Map;k.set(S,w)}}else{w=new Map}const boundFn=(k,S)=>{let N;let j=w.get(k);if(j===undefined){w.set(k,j=new Map)}else{N=j.get(S)}if(N!==undefined){return N}else{const w=E(k,S);j.set(S,w);return w}};return boundFn};cachedFn.bindContextCache=(S,w)=>{let N;if(w){let E=k.get(w);if(E===undefined){E=new Map;k.set(w,E)}N=E.get(S);if(N===undefined){E.set(S,N=new Map)}}else{N=new Map}const boundFn=k=>{const w=N.get(k);if(w!==undefined){return w}else{const w=E(S,k);N.set(k,w);return w}};return boundFn};return cachedFn};const _makePathsRelative=(E,k)=>k.split(j).map((k=>absoluteToRequest(E,k))).join("");k.makePathsRelative=makeCacheable(_makePathsRelative);const _contextify=(E,k)=>k.split("!").map((k=>absoluteToRequest(E,k))).join("!");const ee=makeCacheable(_contextify);k.contextify=ee;const _absolutify=(E,k)=>k.split("!").map((k=>requestToAbsolute(E,k))).join("!");const te=makeCacheable(_absolutify);k.absolutify=te;const ne=/^((?:\0.|[^?#\0])*)(\?(?:\0.|[^#\0])*)?(#.*)?$/;const _parseResource=E=>{const k=ne.exec(E);return{resource:E,path:k[1].replace(/\0(.)/g,"$1"),query:k[2]?k[2].replace(/\0(.)/g,"$1"):"",fragment:k[3]||""}};k.parseResource=(E=>{const k=new WeakMap;const getCache=E=>{const S=k.get(E);if(S!==undefined)return S;const w=new Map;k.set(E,w);return w};const fn=(k,S)=>{if(!S)return E(k);const w=getCache(S);const N=w.get(k);if(N!==undefined)return N;const j=E(k);w.set(k,j);return j};fn.bindCache=k=>{const S=getCache(k);return k=>{const w=S.get(k);if(w!==undefined)return w;const N=E(k);S.set(k,N);return N}};return fn})(_parseResource);k.getUndoPath=(E,k,S)=>{let w=-1;let N="";k=k.replace(/[\\/]$/,"");for(const S of E.split(/[/\\]+/)){if(S===".."){if(w>-1){w--}else{const E=k.lastIndexOf("/");const S=k.lastIndexOf("\\");const w=E<0?S:S<0?E:Math.max(E,S);if(w<0)return k+"/";N=k.slice(w+1)+"/"+N;k=k.slice(0,w)}}else if(S!=="."){w++}}return w>0?`${"../".repeat(w)}${N}`:S?`./${N}`:N}},90331:(E,k,S)=>{"use strict";E.exports={AsyncDependenciesBlock:()=>S(98221),CommentCompilationWarning:()=>S(47207),ContextModule:()=>S(58126),"cache/PackFileCacheStrategy":()=>S(83793),"cache/ResolverCachePlugin":()=>S(13653),"container/ContainerEntryDependency":()=>S(76041),"container/ContainerEntryModule":()=>S(89591),"container/ContainerExposedDependency":()=>S(4523),"container/FallbackDependency":()=>S(50940),"container/FallbackItemDependency":()=>S(55525),"container/FallbackModule":()=>S(13386),"container/RemoteModule":()=>S(68679),"container/RemoteToExternalDependency":()=>S(44742),"dependencies/AMDDefineDependency":()=>S(46960),"dependencies/AMDRequireArrayDependency":()=>S(95715),"dependencies/AMDRequireContextDependency":()=>S(38145),"dependencies/AMDRequireDependenciesBlock":()=>S(83842),"dependencies/AMDRequireDependency":()=>S(45167),"dependencies/AMDRequireItemDependency":()=>S(29022),"dependencies/CachedConstDependency":()=>S(59455),"dependencies/CreateScriptUrlDependency":()=>S(7257),"dependencies/CommonJsRequireContextDependency":()=>S(51454),"dependencies/CommonJsExportRequireDependency":()=>S(1248),"dependencies/CommonJsExportsDependency":()=>S(26702),"dependencies/CommonJsFullRequireDependency":()=>S(87519),"dependencies/CommonJsRequireDependency":()=>S(37313),"dependencies/CommonJsSelfReferenceDependency":()=>S(94147),"dependencies/ConstDependency":()=>S(66298),"dependencies/ContextDependency":()=>S(400),"dependencies/ContextElementDependency":()=>S(90872),"dependencies/CriticalDependencyWarning":()=>S(75314),"dependencies/DelegatedSourceDependency":()=>S(49422),"dependencies/DllEntryDependency":()=>S(95189),"dependencies/EntryDependency":()=>S(66583),"dependencies/ExportsInfoDependency":()=>S(51420),"dependencies/HarmonyAcceptDependency":()=>S(27790),"dependencies/HarmonyAcceptImportDependency":()=>S(80654),"dependencies/HarmonyCompatibilityDependency":()=>S(54290),"dependencies/HarmonyExportExpressionDependency":()=>S(55037),"dependencies/HarmonyExportHeaderDependency":()=>S(48752),"dependencies/HarmonyExportImportedSpecifierDependency":()=>S(44576),"dependencies/HarmonyExportSpecifierDependency":()=>S(14696),"dependencies/HarmonyImportSideEffectDependency":()=>S(69707),"dependencies/HarmonyImportSpecifierDependency":()=>S(2230),"dependencies/ImportContextDependency":()=>S(4828),"dependencies/ImportDependency":()=>S(20013),"dependencies/ImportEagerDependency":()=>S(75708),"dependencies/ImportWeakDependency":()=>S(12849),"dependencies/JsonExportsDependency":()=>S(38895),"dependencies/LocalModule":()=>S(77230),"dependencies/LocalModuleDependency":()=>S(14229),"dependencies/ModuleDecoratorDependency":()=>S(2706),"dependencies/ModuleHotAcceptDependency":()=>S(21809),"dependencies/ModuleHotDeclineDependency":()=>S(73158),"dependencies/ImportMetaHotAcceptDependency":()=>S(76302),"dependencies/ImportMetaHotDeclineDependency":()=>S(5389),"dependencies/ProvidedDependency":()=>S(1335),"dependencies/PureExpressionDependency":()=>S(53567),"dependencies/RequireContextDependency":()=>S(19204),"dependencies/RequireEnsureDependenciesBlock":()=>S(15196),"dependencies/RequireEnsureDependency":()=>S(15427),"dependencies/RequireEnsureItemDependency":()=>S(81058),"dependencies/RequireHeaderDependency":()=>S(70340),"dependencies/RequireIncludeDependency":()=>S(63556),"dependencies/RequireIncludeDependencyParserPlugin":()=>S(1913),"dependencies/RequireResolveContextDependency":()=>S(84817),"dependencies/RequireResolveDependency":()=>S(76913),"dependencies/RequireResolveHeaderDependency":()=>S(23380),"dependencies/RuntimeRequirementsDependency":()=>S(35424),"dependencies/StaticExportsDependency":()=>S(96076),"dependencies/SystemPlugin":()=>S(62630),"dependencies/UnsupportedDependency":()=>S(12584),"dependencies/URLDependency":()=>S(66444),"dependencies/WebAssemblyExportImportedDependency":()=>S(30697),"dependencies/WebAssemblyImportDependency":()=>S(33081),"dependencies/WebpackIsIncludedDependency":()=>S(46715),"dependencies/WorkerDependency":()=>S(89017),"json/JsonData":()=>S(72055),"optimize/ConcatenatedModule":()=>S(95734),DelegatedModule:()=>S(3955),DependenciesBlock:()=>S(32448),DllModule:()=>S(44593),ExternalModule:()=>S(16734),FileSystemInfo:()=>S(22996),InvalidDependenciesModuleWarning:()=>S(49619),Module:()=>S(53453),ModuleBuildError:()=>S(26509),ModuleDependencyWarning:()=>S(23280),ModuleError:()=>S(91613),ModuleGraph:()=>S(75412),ModuleParseError:()=>S(14489),ModuleWarning:()=>S(8893),NormalModule:()=>S(53520),RawModule:()=>S(22804),"sharing/ConsumeSharedModule":()=>S(21606),"sharing/ConsumeSharedFallbackDependency":()=>S(86827),"sharing/ProvideSharedModule":()=>S(99114),"sharing/ProvideSharedDependency":()=>S(56049),"sharing/ProvideForSharedDependency":()=>S(31095),UnsupportedFeatureWarning:()=>S(53558),"util/LazySet":()=>S(83379),UnhandledSchemeError:()=>S(77090),WebpackError:()=>S(81627),"util/registerExternalSerializer":()=>{}}},56202:(E,k,S)=>{"use strict";const{register:w}=S(24568);class ClassSerializer{constructor(E){this.Constructor=E}serialize(E,k){E.serialize(k)}deserialize(E){if(typeof this.Constructor.deserialize==="function"){return this.Constructor.deserialize(E)}const k=new this.Constructor;k.deserialize(E);return k}}E.exports=(E,k,S=null)=>{w(E,k,S,new ClassSerializer(E))}},91671:E=>{"use strict";const memoize=E=>{let k=false;let S=undefined;return()=>{if(k){return S}else{S=E();k=true;E=undefined;return S}}};E.exports=memoize},12631:E=>{"use strict";const k=2147483648;const S=k-1;const w=4;const N=[0,0,0,0,0];const j=[3,7,17,19];E.exports=(E,q)=>{N.fill(0);for(let k=0;k>1}}if(q<=S){let E=0;for(let k=0;k{"use strict";const processAsyncTree=(E,k,S,w)=>{const N=Array.from(E);if(N.length===0)return w();let j=0;let q=false;let ee=true;const push=E=>{N.push(E);if(!ee&&j{j--;if(E&&!q){q=true;w(E);return}if(!ee){ee=true;process.nextTick(processQueue)}};const processQueue=()=>{if(q)return;while(j0){j++;const E=N.pop();S(E,push,processorCallback)}ee=false;if(N.length===0&&j===0&&!q){q=true;w()}};processQueue()};E.exports=processAsyncTree},68038:E=>{"use strict";const k=/^[_a-zA-Z$][_a-zA-Z$0-9]*$/;const propertyAccess=(E,S=0)=>{let w="";for(let N=S;N{"use strict";const{register:w}=S(24568);const N=S(14150).Position;const j=S(14150).SourceLocation;const q=S(24672).default;const{CachedSource:ee,ConcatSource:te,OriginalSource:ne,PrefixSource:ae,RawSource:_e,ReplaceSource:ve,SourceMapSource:Ee}=S(48135);const we="webpack/lib/util/registerExternalSerializer";w(ee,we,"webpack-sources/CachedSource",new class CachedSourceSerializer{serialize(E,{write:k,writeLazy:S}){if(S){S(E.originalLazy())}else{k(E.original())}k(E.getCachedData())}deserialize({read:E}){const k=E();const S=E();return new ee(k,S)}});w(_e,we,"webpack-sources/RawSource",new class RawSourceSerializer{serialize(E,{write:k}){k(E.buffer());k(!E.isBuffer())}deserialize({read:E}){const k=E();const S=E();return new _e(k,S)}});w(te,we,"webpack-sources/ConcatSource",new class ConcatSourceSerializer{serialize(E,{write:k}){k(E.getChildren())}deserialize({read:E}){const k=new te;k.addAllSkipOptimizing(E());return k}});w(ae,we,"webpack-sources/PrefixSource",new class PrefixSourceSerializer{serialize(E,{write:k}){k(E.getPrefix());k(E.original())}deserialize({read:E}){return new ae(E(),E())}});w(ve,we,"webpack-sources/ReplaceSource",new class ReplaceSourceSerializer{serialize(E,{write:k}){k(E.original());k(E.getName());const S=E.getReplacements();k(S.length);for(const E of S){k(E.start);k(E.end)}for(const E of S){k(E.content);k(E.name)}}deserialize({read:E}){const k=new ve(E(),E());const S=E();const w=[];for(let k=0;k{"use strict";const w=S(16102);k.getEntryRuntime=(E,k,S)=>{let w;let N;if(S){({dependOn:w,runtime:N}=S)}else{const S=E.entries.get(k);if(!S)return k;({dependOn:w,runtime:N}=S.options)}if(w){let S=undefined;const N=new Set(w);for(const k of N){const w=E.entries.get(k);if(!w)continue;const{dependOn:j,runtime:q}=w.options;if(j){for(const E of j){N.add(E)}}else{S=mergeRuntimeOwned(S,q||k)}}return S||k}else{return N||k}};k.forEachRuntime=(E,k,S=false)=>{if(E===undefined){k(undefined)}else if(typeof E==="string"){k(E)}else{if(S)E.sort();for(const S of E){k(S)}}};const getRuntimesKey=E=>{E.sort();return Array.from(E).join("\n")};const getRuntimeKey=E=>{if(E===undefined)return"*";if(typeof E==="string")return E;return E.getFromUnorderedCache(getRuntimesKey)};k.getRuntimeKey=getRuntimeKey;const keyToRuntime=E=>{if(E==="*")return undefined;const k=E.split("\n");if(k.length===1)return k[0];return new w(k)};k.keyToRuntime=keyToRuntime;const getRuntimesString=E=>{E.sort();return Array.from(E).join("+")};const runtimeToString=E=>{if(E===undefined)return"*";if(typeof E==="string")return E;return E.getFromUnorderedCache(getRuntimesString)};k.runtimeToString=runtimeToString;k.runtimeConditionToString=E=>{if(E===true)return"true";if(E===false)return"false";return runtimeToString(E)};const runtimeEqual=(E,k)=>{if(E===k){return true}else if(E===undefined||k===undefined||typeof E==="string"||typeof k==="string"){return false}else if(E.size!==k.size){return false}else{E.sort();k.sort();const S=E[Symbol.iterator]();const w=k[Symbol.iterator]();for(;;){const E=S.next();if(E.done)return true;const k=w.next();if(E.value!==k.value)return false}}};k.runtimeEqual=runtimeEqual;k.compareRuntime=(E,k)=>{if(E===k){return 0}else if(E===undefined){return-1}else if(k===undefined){return 1}else{const S=getRuntimeKey(E);const w=getRuntimeKey(k);if(Sw)return 1;return 0}};const mergeRuntime=(E,k)=>{if(E===undefined){return k}else if(k===undefined){return E}else if(E===k){return E}else if(typeof E==="string"){if(typeof k==="string"){const S=new w;S.add(E);S.add(k);return S}else if(k.has(E)){return k}else{const S=new w(k);S.add(E);return S}}else{if(typeof k==="string"){if(E.has(k))return E;const S=new w(E);S.add(k);return S}else{const S=new w(E);for(const E of k)S.add(E);if(S.size===E.size)return E;return S}}};k.mergeRuntime=mergeRuntime;k.mergeRuntimeCondition=(E,k,S)=>{if(E===false)return k;if(k===false)return E;if(E===true||k===true)return true;const w=mergeRuntime(E,k);if(w===undefined)return undefined;if(typeof w==="string"){if(typeof S==="string"&&w===S)return true;return w}if(typeof S==="string"||S===undefined)return w;if(w.size===S.size)return true;return w};k.mergeRuntimeConditionNonFalse=(E,k,S)=>{if(E===true||k===true)return true;const w=mergeRuntime(E,k);if(w===undefined)return undefined;if(typeof w==="string"){if(typeof S==="string"&&w===S)return true;return w}if(typeof S==="string"||S===undefined)return w;if(w.size===S.size)return true;return w};const mergeRuntimeOwned=(E,k)=>{if(k===undefined){return E}else if(E===k){return E}else if(E===undefined){if(typeof k==="string"){return k}else{return new w(k)}}else if(typeof E==="string"){if(typeof k==="string"){const S=new w;S.add(E);S.add(k);return S}else{const S=new w(k);S.add(E);return S}}else{if(typeof k==="string"){E.add(k);return E}else{for(const S of k)E.add(S);return E}}};k.mergeRuntimeOwned=mergeRuntimeOwned;k.intersectRuntime=(E,k)=>{if(E===undefined){return k}else if(k===undefined){return E}else if(E===k){return E}else if(typeof E==="string"){if(typeof k==="string"){return undefined}else if(k.has(E)){return E}else{return undefined}}else{if(typeof k==="string"){if(E.has(k))return k;return undefined}else{const S=new w;for(const w of k){if(E.has(w))S.add(w)}if(S.size===0)return undefined;if(S.size===1)for(const E of S)return E;return S}}};const subtractRuntime=(E,k)=>{if(E===undefined){return undefined}else if(k===undefined){return E}else if(E===k){return undefined}else if(typeof E==="string"){if(typeof k==="string"){return E}else if(k.has(E)){return undefined}else{return E}}else{if(typeof k==="string"){if(!E.has(k))return E;if(E.size===2){for(const S of E){if(S!==k)return S}}const S=new w(E);S.delete(k)}else{const S=new w;for(const w of E){if(!k.has(w))S.add(w)}if(S.size===0)return undefined;if(S.size===1)for(const E of S)return E;return S}}};k.subtractRuntime=subtractRuntime;k.subtractRuntimeCondition=(E,k,S)=>{if(k===true)return false;if(k===false)return E;if(E===false)return false;const w=subtractRuntime(E===true?S:E,k);return w===undefined?false:w};k.filterRuntime=(E,k)=>{if(E===undefined)return k(undefined);if(typeof E==="string")return k(E);let S=false;let w=true;let N=undefined;for(const j of E){const E=k(j);if(E){S=true;N=mergeRuntimeOwned(N,j)}else{w=false}}if(!S)return false;if(w)return true;return N};class RuntimeSpecMap{constructor(E){this._mode=E?E._mode:0;this._singleRuntime=E?E._singleRuntime:undefined;this._singleValue=E?E._singleValue:undefined;this._map=E&&E._map?new Map(E._map):undefined}get(E){switch(this._mode){case 0:return undefined;case 1:return runtimeEqual(this._singleRuntime,E)?this._singleValue:undefined;default:return this._map.get(getRuntimeKey(E))}}has(E){switch(this._mode){case 0:return false;case 1:return runtimeEqual(this._singleRuntime,E);default:return this._map.has(getRuntimeKey(E))}}set(E,k){switch(this._mode){case 0:this._mode=1;this._singleRuntime=E;this._singleValue=k;break;case 1:if(runtimeEqual(this._singleRuntime,E)){this._singleValue=k;break}this._mode=2;this._map=new Map;this._map.set(getRuntimeKey(this._singleRuntime),this._singleValue);this._singleRuntime=undefined;this._singleValue=undefined;default:this._map.set(getRuntimeKey(E),k)}}provide(E,k){switch(this._mode){case 0:this._mode=1;this._singleRuntime=E;return this._singleValue=k();case 1:{if(runtimeEqual(this._singleRuntime,E)){return this._singleValue}this._mode=2;this._map=new Map;this._map.set(getRuntimeKey(this._singleRuntime),this._singleValue);this._singleRuntime=undefined;this._singleValue=undefined;const S=k();this._map.set(getRuntimeKey(E),S);return S}default:{const S=getRuntimeKey(E);const w=this._map.get(S);if(w!==undefined)return w;const N=k();this._map.set(S,N);return N}}}delete(E){switch(this._mode){case 0:return;case 1:if(runtimeEqual(this._singleRuntime,E)){this._mode=0;this._singleRuntime=undefined;this._singleValue=undefined}return;default:this._map.delete(getRuntimeKey(E))}}update(E,k){switch(this._mode){case 0:throw new Error("runtime passed to update must exist");case 1:{if(runtimeEqual(this._singleRuntime,E)){this._singleValue=k(this._singleValue);break}const S=k(undefined);if(S!==undefined){this._mode=2;this._map=new Map;this._map.set(getRuntimeKey(this._singleRuntime),this._singleValue);this._singleRuntime=undefined;this._singleValue=undefined;this._map.set(getRuntimeKey(E),S)}break}default:{const S=getRuntimeKey(E);const w=this._map.get(S);const N=k(w);if(N!==w)this._map.set(S,N)}}}keys(){switch(this._mode){case 0:return[];case 1:return[this._singleRuntime];default:return Array.from(this._map.keys(),keyToRuntime)}}values(){switch(this._mode){case 0:return[][Symbol.iterator]();case 1:return[this._singleValue][Symbol.iterator]();default:return this._map.values()}}get size(){if(this._mode<=1)return this._mode;return this._map.size}}k.RuntimeSpecMap=RuntimeSpecMap;class RuntimeSpecSet{constructor(E){this._map=new Map;if(E){for(const k of E){this.add(k)}}}add(E){this._map.set(getRuntimeKey(E),E)}has(E){return this._map.has(getRuntimeKey(E))}[Symbol.iterator](){return this._map.values()}get size(){return this._map.size}}k.RuntimeSpecSet=RuntimeSpecSet},9293:function(E,k){"use strict";const parseVersion=E=>{var splitAndConvert=function(E){return E.split(".").map((function(E){return+E==E?+E:E}))};var k=/^([^-+]+)?(?:-([^+]+))?(?:\+(.+))?$/.exec(E);var S=k[1]?splitAndConvert(k[1]):[];if(k[2]){S.length++;S.push.apply(S,splitAndConvert(k[2]))}if(k[3]){S.push([]);S.push.apply(S,splitAndConvert(k[3]))}return S};k.parseVersion=parseVersion;const versionLt=(E,k)=>{E=parseVersion(E);k=parseVersion(k);var S=0;for(;;){if(S>=E.length)return S=k.length)return N=="u";var j=k[S];var q=(typeof j)[0];if(N==q){if(N!="o"&&N!="u"&&w!=j){return w{const splitAndConvert=E=>E.split(".").map((E=>`${+E}`===E?+E:E));const parsePartial=E=>{const k=/^([^-+]+)?(?:-([^+]+))?(?:\+(.+))?$/.exec(E);const S=k[1]?[0,...splitAndConvert(k[1])]:[0];if(k[2]){S.length++;S.push.apply(S,splitAndConvert(k[2]))}let w=S[S.length-1];while(S.length&&(w===undefined||/^[*xX]$/.test(w))){S.pop();w=S[S.length-1]}return S};const toFixed=E=>{if(E.length===1){return[0]}else if(E.length===2){return[1,...E.slice(1)]}else if(E.length===3){return[2,...E.slice(1)]}else{return[E.length,...E.slice(1)]}};const negate=E=>[-E[0]-1,...E.slice(1)];const parseSimple=E=>{const k=/^(\^|~|<=|<|>=|>|=|v|!)/.exec(E);const S=k?k[0]:"";const w=parsePartial(E.slice(S.length));switch(S){case"^":if(w.length>1&&w[1]===0){if(w.length>2&&w[2]===0){return[3,...w.slice(1)]}return[2,...w.slice(1)]}return[1,...w.slice(1)];case"~":return[2,...w.slice(1)];case">=":return w;case"=":case"v":case"":return toFixed(w);case"<":return negate(w);case">":{const E=toFixed(w);return[,E,0,w,2]}case"<=":return[,toFixed(w),negate(w),1];case"!":{const E=toFixed(w);return[,E,0]}default:throw new Error("Unexpected start value")}};const combine=(E,k)=>{if(E.length===1)return E[0];const S=[];for(const k of E.slice().reverse()){if(0 in k){S.push(k)}else{S.push(...k.slice(1))}}return[,...S,...E.slice(1).map((()=>k))]};const parseRange=E=>{const k=E.split(" - ");if(k.length===1){const k=E.trim().split(/\s+/g).map(parseSimple);return combine(k,2)}const S=parsePartial(k[0]);const w=parsePartial(k[1]);return[,toFixed(w),negate(w),1,S,2]};const parseLogicalOr=E=>{const k=E.split(/\s*\|\|\s*/).map(parseRange);return combine(k,1)};return parseLogicalOr(E)};const rangeToString=E=>{var k=E[0];var S="";if(E.length===1){return"*"}else if(k+.5){S+=k==0?">=":k==-1?"<":k==1?"^":k==2?"~":k>0?"=":"!=";var w=1;for(var N=1;N0?".":"")+(w=2,j)}return S}else{var ee=[];for(var N=1;N{if(0 in E){k=parseVersion(k);var S=E[0];var w=S<0;if(w)S=-S-1;for(var N=0,j=1,q=true;;j++,N++){var ee=j=k.length||(te=k[N],(ne=(typeof te)[0])=="o")){if(!q)return true;if(ee=="u")return j>S&&!w;return ee==""!=w}if(ne=="u"){if(!q||ee!="u"){return false}}else if(q){if(ee==ne){if(j<=S){if(te!=E[j]){return false}}else{if(w?te>E[j]:te{switch(typeof E){case"undefined":return"";case"object":if(Array.isArray(E)){let k="[";for(let S=0;S`var parseVersion = ${E.basicFunction("str",["// see webpack/lib/util/semver.js for original code",`var p=${E.supportsArrowFunction()?"p=>":"function(p)"}{return p.split(".").map((${E.supportsArrowFunction()?"p=>":"function(p)"}{return+p==p?+p:p}))},n=/^([^-+]+)?(?:-([^+]+))?(?:\\+(.+))?$/.exec(str),r=n[1]?p(n[1]):[];return n[2]&&(r.length++,r.push.apply(r,p(n[2]))),n[3]&&(r.push([]),r.push.apply(r,p(n[3]))),r;`])}`;k.versionLtRuntimeCode=E=>`var versionLt = ${E.basicFunction("a, b",["// see webpack/lib/util/semver.js for original code",'a=parseVersion(a),b=parseVersion(b);for(var r=0;;){if(r>=a.length)return r=b.length)return"u"==n;var t=b[r],f=(typeof t)[0];if(n!=f)return"o"==n&&"n"==f||("s"==f||"u"==n);if("o"!=n&&"u"!=n&&e!=t)return e`var rangeToString = ${E.basicFunction("range",["// see webpack/lib/util/semver.js for original code",'var r=range[0],n="";if(1===range.length)return"*";if(r+.5){n+=0==r?">=":-1==r?"<":1==r?"^":2==r?"~":r>0?"=":"!=";for(var e=1,a=1;a0?".":"")+(e=2,t)}return n}var g=[];for(a=1;a`var satisfy = ${E.basicFunction("range, version",["// see webpack/lib/util/semver.js for original code",'if(0 in range){version=parseVersion(version);var e=range[0],r=e<0;r&&(e=-e-1);for(var n=0,i=1,a=!0;;i++,n++){var f,s,g=i=version.length||"o"==(s=(typeof(f=version[n]))[0]))return!a||("u"==g?i>e&&!r:""==g!=r);if("u"==s){if(!a||"u"!=g)return!1}else if(a)if(g==s)if(i<=e){if(f!=range[i])return!1}else{if(r?f>range[i]:f{"use strict";const w=S(91671);const N=w((()=>S(88692)));const j=w((()=>S(30991)));const q=w((()=>S(79308)));const ee=w((()=>S(15261)));const te=w((()=>S(43065)));const ne=w((()=>new(N())));const ae=w((()=>{S(48077);const E=S(90331);j().registerLoader(/^webpack\/lib\//,(k=>{const S=E[k.slice("webpack/lib/".length)];if(S){S()}else{console.warn(`${k} not found in internalSerializables`)}return true}))}));let _e;E.exports={get register(){return j().register},get registerLoader(){return j().registerLoader},get registerNotSerializable(){return j().registerNotSerializable},get NOT_SERIALIZABLE(){return j().NOT_SERIALIZABLE},get MEASURE_START_OPERATION(){return N().MEASURE_START_OPERATION},get MEASURE_END_OPERATION(){return N().MEASURE_END_OPERATION},get buffersSerializer(){if(_e!==undefined)return _e;ae();const E=ee();const k=ne();const S=te();const w=q();return _e=new E([new w,new(j())((E=>{if(E.write){E.writeLazy=w=>{E.write(S.createLazy(w,k))}}})),k])},createFileSerializer:E=>{ae();const k=ee();const w=S(13829);const N=new w(E);const _e=ne();const ve=te();const Ee=q();return new k([new Ee,new(j())((E=>{if(E.write){E.writeLazy=k=>{E.write(ve.createLazy(k,_e))};E.writeSeparate=(k,S)=>{E.write(ve.createLazy(k,N,S))}}})),_e,N])}}},93695:E=>{"use strict";const smartGrouping=(E,k)=>{const S=new Set;const w=new Map;for(const N of E){const E=new Set;for(let S=0;S{const k=E.size;for(const k of E){for(const E of k.groups){if(E.alreadyGrouped)continue;const S=E.items;if(S===undefined){E.items=new Set([k])}else{S.add(k)}}}const S=new Map;for(const E of w.values()){if(E.items){const k=E.items;E.items=undefined;S.set(E,{items:k,options:undefined,used:false})}}const N=[];for(;;){let w=undefined;let j=-1;let q=undefined;let ee=undefined;for(const[N,te]of S){const{items:S,used:ne}=te;let ae=te.options;if(ae===undefined){const E=N.config;te.options=ae=E.getOptions&&E.getOptions(N.name,Array.from(S,(({item:E})=>E)))||false}const _e=ae&&ae.force;if(!_e){if(ee&&ee.force)continue;if(ne)continue;if(S.size<=1||k-S.size<=1){continue}}const ve=ae&&ae.targetGroupCount||4;let Ee=_e?S.size:Math.min(S.size,k*2/ve+E.size-S.size);if(Ee>j||_e&&(!ee||!ee.force)){w=N;j=Ee;q=S;ee=ae}}if(w===undefined){break}const te=new Set(q);const ne=ee;const ae=!ne||ne.groupChildren!==false;for(const k of te){E.delete(k);for(const E of k.groups){const w=S.get(E);if(w!==undefined){w.items.delete(k);if(w.items.size===0){S.delete(E)}else{w.options=undefined;if(ae){w.used=true}}}}}S.delete(w);const _e=w.name;const ve=w.config;const Ee=Array.from(te,(({item:E})=>E));w.alreadyGrouped=true;const we=ae?runGrouping(te):Ee;w.alreadyGrouped=false;N.push(ve.createGroup(_e,we,Ee))}for(const{item:k}of E){N.push(k)}return N};return runGrouping(S)};E.exports=smartGrouping},13559:(E,k)=>{"use strict";const S=new WeakMap;const _isSourceEqual=(E,k)=>{let S=typeof E.buffer==="function"?E.buffer():E.source();let w=typeof k.buffer==="function"?k.buffer():k.source();if(S===w)return true;if(typeof S==="string"&&typeof w==="string")return false;if(!Buffer.isBuffer(S))S=Buffer.from(S,"utf-8");if(!Buffer.isBuffer(w))w=Buffer.from(w,"utf-8");return S.equals(w)};const isSourceEqual=(E,k)=>{if(E===k)return true;const w=S.get(E);if(w!==undefined){const E=w.get(k);if(E!==undefined)return E}const N=_isSourceEqual(E,k);if(w!==undefined){w.set(k,N)}else{const w=new WeakMap;w.set(k,N);S.set(E,w)}const j=S.get(k);if(j!==undefined){j.set(E,N)}else{const w=new WeakMap;w.set(E,N);S.set(k,w)}return N};k.isSourceEqual=isSourceEqual},33316:(E,k,S)=>{"use strict";const{validate:w}=S(15235);const N={rules:"module.rules",loaders:"module.rules or module.rules.*.use",query:"module.rules.*.options (BREAKING CHANGE since webpack 5)",noParse:"module.noParse",filename:"output.filename or module.rules.*.generator.filename",file:"output.filename",chunkFilename:"output.chunkFilename",chunkfilename:"output.chunkFilename",ecmaVersion:"output.environment (output.ecmaVersion was a temporary configuration option during webpack 5 beta)",ecmaversion:"output.environment (output.ecmaVersion was a temporary configuration option during webpack 5 beta)",ecma:"output.environment (output.ecmaVersion was a temporary configuration option during webpack 5 beta)",path:"output.path",pathinfo:"output.pathinfo",pathInfo:"output.pathinfo",jsonpFunction:"output.chunkLoadingGlobal (BREAKING CHANGE since webpack 5)",chunkCallbackName:"output.chunkLoadingGlobal (BREAKING CHANGE since webpack 5)",jsonpScriptType:"output.scriptType (BREAKING CHANGE since webpack 5)",hotUpdateFunction:"output.hotUpdateGlobal (BREAKING CHANGE since webpack 5)",splitChunks:"optimization.splitChunks",immutablePaths:"snapshot.immutablePaths",managedPaths:"snapshot.managedPaths",maxModules:"stats.modulesSpace (BREAKING CHANGE since webpack 5)",hashedModuleIds:'optimization.moduleIds: "hashed" (BREAKING CHANGE since webpack 5)',namedChunks:'optimization.chunkIds: "named" (BREAKING CHANGE since webpack 5)',namedModules:'optimization.moduleIds: "named" (BREAKING CHANGE since webpack 5)',occurrenceOrder:'optimization.chunkIds: "size" and optimization.moduleIds: "size" (BREAKING CHANGE since webpack 5)',automaticNamePrefix:"optimization.splitChunks.[cacheGroups.*].idHint (BREAKING CHANGE since webpack 5)",noEmitOnErrors:"optimization.emitOnErrors (BREAKING CHANGE since webpack 5: logic is inverted to avoid negative flags)",Buffer:"to use the ProvidePlugin to process the Buffer variable to modules as polyfill\n"+"BREAKING CHANGE: webpack 5 no longer provided Node.js polyfills by default.\n"+"Note: if you are using 'node.Buffer: false', you can just remove that as this is the default behavior now.\n"+"To provide a polyfill to modules use:\n"+'new ProvidePlugin({ Buffer: ["buffer", "Buffer"] }) and npm install buffer.',process:"to use the ProvidePlugin to process the process variable to modules as polyfill\n"+"BREAKING CHANGE: webpack 5 no longer provided Node.js polyfills by default.\n"+"Note: if you are using 'node.process: false', you can just remove that as this is the default behavior now.\n"+"To provide a polyfill to modules use:\n"+'new ProvidePlugin({ process: "process" }) and npm install buffer.'};const j={concord:"BREAKING CHANGE: resolve.concord has been removed and is no longer available.",devtoolLineToLine:"BREAKING CHANGE: output.devtoolLineToLine has been removed and is no longer available."};const validateSchema=(E,k,S)=>{w(E,k,S||{name:"Webpack",postFormatter:(E,k)=>{const S=k.children;if(S&&S.some((E=>E.keyword==="absolutePath"&&E.dataPath===".output.filename"))){return`${E}\nPlease use output.path to specify absolute path and output.filename for the file name.`}if(S&&S.some((E=>E.keyword==="pattern"&&E.dataPath===".devtool"))){return`${E}\n`+"BREAKING CHANGE since webpack 5: The devtool option is more strict.\n"+"Please strictly follow the order of the keywords in the pattern."}if(k.keyword==="additionalProperties"){const S=k.params;if(Object.prototype.hasOwnProperty.call(N,S.additionalProperty)){return`${E}\nDid you mean ${N[S.additionalProperty]}?`}if(Object.prototype.hasOwnProperty.call(j,S.additionalProperty)){return`${E}\n${j[S.additionalProperty]}?`}if(!k.dataPath){if(S.additionalProperty==="debug"){return`${E}\n`+"The 'debug' property was removed in webpack 2.0.0.\n"+"Loaders should be updated to allow passing this option via loader options in module.rules.\n"+"Until loaders are updated one can use the LoaderOptionsPlugin to switch loaders into debug mode:\n"+"plugins: [\n"+" new webpack.LoaderOptionsPlugin({\n"+" debug: true\n"+" })\n"+"]"}if(S.additionalProperty){return`${E}\n`+"For typos: please correct them.\n"+"For loader options: webpack >= v2.0.0 no longer allows custom properties in configuration.\n"+" Loaders should be updated to allow passing options via loader options in module.rules.\n"+" Until loaders are updated one can use the LoaderOptionsPlugin to pass these options to the loader:\n"+" plugins: [\n"+" new webpack.LoaderOptionsPlugin({\n"+" // test: /\\.xxx$/, // may apply this only for some modules\n"+" options: {\n"+` ${S.additionalProperty}: …\n`+" }\n"+" })\n"+" ]"}}}return E}})};E.exports=validateSchema},21941:(E,k,S)=>{"use strict";const w=S(76150);const N=S(66804);const j=S(58159);class AsyncWasmChunkLoadingRuntimeModule extends N{constructor({generateLoadBinaryCode:E,supportsStreaming:k}){super("wasm chunk loading",N.STAGE_ATTACH);this.generateLoadBinaryCode=E;this.supportsStreaming=k}generate(){const{compilation:E,chunk:k}=this;const{outputOptions:S,runtimeTemplate:N}=E;const q=w.instantiateWasm;const ee=E.getPath(JSON.stringify(S.webassemblyModuleFilename),{hash:`" + ${w.getFullHash}() + "`,hashWithLength:E=>`" + ${w.getFullHash}}().slice(0, ${E}) + "`,module:{id:'" + wasmModuleId + "',hash:`" + wasmModuleHash + "`,hashWithLength(E){return`" + wasmModuleHash.slice(0, ${E}) + "`}},runtime:k.runtime});return`${q} = ${N.basicFunction("exports, wasmModuleId, wasmModuleHash, importsObj",[`var req = ${this.generateLoadBinaryCode(ee)};`,this.supportsStreaming?j.asString(["if (typeof WebAssembly.instantiateStreaming === 'function') {",j.indent(["return WebAssembly.instantiateStreaming(req, importsObj)",j.indent([`.then(${N.returningFunction("Object.assign(exports, res.instance.exports)","res")});`])]),"}"]):"// no support for streaming compilation","return req",j.indent([`.then(${N.returningFunction("x.arrayBuffer()","x")})`,`.then(${N.returningFunction("WebAssembly.instantiate(bytes, importsObj)","bytes")})`,`.then(${N.returningFunction("Object.assign(exports, res.instance.exports)","res")});`])])};`}}E.exports=AsyncWasmChunkLoadingRuntimeModule},10136:(E,k,S)=>{"use strict";const w=S(36253);const N=new Set(["webassembly"]);class AsyncWebAssemblyGenerator extends w{constructor(E){super();this.options=E}getTypes(E){return N}getSize(E,k){const S=E.originalSource();if(!S){return 0}return S.size()}generate(E,k){return E.originalSource()}}E.exports=AsyncWebAssemblyGenerator},75462:(E,k,S)=>{"use strict";const{RawSource:w}=S(48135);const N=S(36253);const j=S(63272);const q=S(76150);const ee=S(58159);const te=S(33081);const ne=new Set(["webassembly"]);class AsyncWebAssemblyJavascriptGenerator extends N{constructor(E){super();this.filenameTemplate=E}getTypes(E){return ne}getSize(E,k){return 40+E.dependencies.length*10}generate(E,k){const{runtimeTemplate:S,chunkGraph:N,moduleGraph:ne,runtimeRequirements:ae,runtime:_e}=k;ae.add(q.module);ae.add(q.moduleId);ae.add(q.exports);ae.add(q.instantiateWasm);const ve=[];const Ee=new Map;const we=new Map;for(const k of E.dependencies){if(k instanceof te){const E=ne.getModule(k);if(!Ee.has(E)){Ee.set(E,{request:k.request,importVar:`WEBPACK_IMPORTED_MODULE_${Ee.size}`})}let S=we.get(k.request);if(S===undefined){S=[];we.set(k.request,S)}S.push(k)}}const Ce=[];const Me=Array.from(Ee,(([k,{request:w,importVar:j}])=>{if(ne.isAsync(k)){Ce.push(j)}return S.importStatement({update:false,module:k,chunkGraph:N,request:w,originModule:E,importVar:j,runtimeRequirements:ae})}));const Te=Me.map((([E])=>E)).join("");const Ie=Me.map((([E,k])=>k)).join("");const Oe=Array.from(we,(([k,w])=>{const N=w.map((w=>{const N=ne.getModule(w);const j=Ee.get(N).importVar;return`${JSON.stringify(w.name)}: ${S.exportFromImport({moduleGraph:ne,module:N,request:k,exportName:w.name,originModule:E,asiSafe:true,isCall:false,callContext:false,defaultInterop:true,importVar:j,initFragments:ve,runtime:_e,runtimeRequirements:ae})}`}));return ee.asString([`${JSON.stringify(k)}: {`,ee.indent(N.join(",\n")),"}"])}));const Re=Oe.length>0?ee.asString(["{",ee.indent(Oe.join(",\n")),"}"]):undefined;const Fe=`${q.instantiateWasm}(${E.exportsArgument}, ${E.moduleArgument}.id, ${JSON.stringify(N.getRenderedModuleHash(E,_e))}`+(Re?`, ${Re})`:`)`);if(Ce.length>0)ae.add(q.asyncModule);const Ne=new w(Ce.length>0?ee.asString([`var __webpack_instantiate__ = ${S.basicFunction(`[${Ce.join(", ")}]`,`${Ie}return ${Fe};`)}`,`${q.asyncModule}(${E.moduleArgument}, ${S.basicFunction("__webpack_handle_async_dependencies__",[Te,`var __webpack_async_dependencies__ = __webpack_handle_async_dependencies__([${Ce.join(", ")}]);`,"return __webpack_async_dependencies__.then ? __webpack_async_dependencies__.then(__webpack_instantiate__) : __webpack_instantiate__(__webpack_async_dependencies__);"])}, 1);`]):`${Te}${Ie}module.exports = ${Fe};`);return j.addToSource(Ne,ve,k)}}E.exports=AsyncWebAssemblyJavascriptGenerator},82422:(E,k,S)=>{"use strict";const{SyncWaterfallHook:w}=S(92960);const N=S(3080);const j=S(36253);const{tryRunOrWebpackError:q}=S(3728);const ee=S(33081);const{compareModulesByIdentifier:te}=S(68673);const ne=S(91671);const ae=ne((()=>S(10136)));const _e=ne((()=>S(75462)));const ve=ne((()=>S(96263)));const Ee=new WeakMap;class AsyncWebAssemblyModulesPlugin{static getCompilationHooks(E){if(!(E instanceof N)){throw new TypeError("The 'compilation' argument must be an instance of Compilation")}let k=Ee.get(E);if(k===undefined){k={renderModuleContent:new w(["source","module","renderContext"])};Ee.set(E,k)}return k}constructor(E){this.options=E}apply(E){E.hooks.compilation.tap("AsyncWebAssemblyModulesPlugin",((E,{normalModuleFactory:k})=>{const S=AsyncWebAssemblyModulesPlugin.getCompilationHooks(E);E.dependencyFactories.set(ee,k);k.hooks.createParser.for("webassembly/async").tap("AsyncWebAssemblyModulesPlugin",(()=>{const E=ve();return new E}));k.hooks.createGenerator.for("webassembly/async").tap("AsyncWebAssemblyModulesPlugin",(()=>{const k=_e();const S=ae();return j.byType({javascript:new k(E.outputOptions.webassemblyModuleFilename),webassembly:new S(this.options)})}));E.hooks.renderManifest.tap("WebAssemblyModulesPlugin",((k,w)=>{const{moduleGraph:N,chunkGraph:j,runtimeTemplate:q}=E;const{chunk:ee,outputOptions:ne,dependencyTemplates:ae,codeGenerationResults:_e}=w;for(const E of j.getOrderedChunkModulesIterable(ee,te)){if(E.type==="webassembly/async"){const w=ne.webassemblyModuleFilename;k.push({render:()=>this.renderModule(E,{chunk:ee,dependencyTemplates:ae,runtimeTemplate:q,moduleGraph:N,chunkGraph:j,codeGenerationResults:_e},S),filenameTemplate:w,pathOptions:{module:E,runtime:ee.runtime,chunkGraph:j},auxiliary:true,identifier:`webassemblyAsyncModule${j.getModuleId(E)}`,hash:j.getModuleHash(E,ee.runtime)})}}return k}))}))}renderModule(E,k,S){const{codeGenerationResults:w,chunk:N}=k;try{const j=w.getSource(E,N.runtime,"webassembly");return q((()=>S.renderModuleContent.call(j,E,k)),"AsyncWebAssemblyModulesPlugin.getCompilationHooks().renderModuleContent")}catch(k){k.module=E;throw k}}}E.exports=AsyncWebAssemblyModulesPlugin},96263:(E,k,S)=>{"use strict";const w=S(98093);const{decode:N}=S(73432);const j=S(2172);const q=S(96076);const ee=S(33081);const te={ignoreCodeSection:true,ignoreDataSection:true,ignoreCustomNameSection:true};class WebAssemblyParser extends j{constructor(E){super();this.hooks=Object.freeze({});this.options=E}parse(E,k){if(!Buffer.isBuffer(E)){throw new Error("WebAssemblyParser input must be a Buffer")}k.module.buildInfo.strict=true;k.module.buildMeta.exportsType="namespace";k.module.buildMeta.async=true;const S=N(E,te);const j=S.body[0];const ne=[];w.traverse(j,{ModuleExport({node:E}){ne.push(E.name)},ModuleImport({node:E}){const S=new ee(E.module,E.name,E.descr,false);k.module.addDependency(S)}});k.module.addDependency(new q(ne,false));return k}}E.exports=WebAssemblyParser},59422:(E,k,S)=>{"use strict";const w=S(81627);E.exports=class UnsupportedWebAssemblyFeatureError extends w{constructor(E){super(E);this.name="UnsupportedWebAssemblyFeatureError";this.hideStack=true}}},61006:(E,k,S)=>{"use strict";const w=S(76150);const N=S(66804);const j=S(58159);const{compareModulesByIdentifier:q}=S(68673);const ee=S(20612);const getAllWasmModules=(E,k,S)=>{const w=S.getAllAsyncChunks();const N=[];for(const E of w){for(const S of k.getOrderedChunkModulesIterable(E,q)){if(S.type.startsWith("webassembly")){N.push(S)}}}return N};const generateImportObject=(E,k,S,N,q)=>{const te=E.moduleGraph;const ne=new Map;const ae=[];const _e=ee.getUsedDependencies(te,k,S);for(const k of _e){const S=k.dependency;const ee=te.getModule(S);const _e=S.name;const ve=ee&&te.getExportsInfo(ee).getUsedName(_e,q);const Ee=S.description;const we=S.onlyDirectImport;const Ce=k.module;const Me=k.name;if(we){const k=`m${ne.size}`;ne.set(k,E.getModuleId(ee));ae.push({module:Ce,name:Me,value:`${k}[${JSON.stringify(ve)}]`})}else{const k=Ee.signature.params.map(((E,k)=>"p"+k+E.valtype));const S=`${w.moduleCache}[${JSON.stringify(E.getModuleId(ee))}]`;const q=`${S}.exports`;const te=`wasmImportedFuncCache${N.length}`;N.push(`var ${te};`);ae.push({module:Ce,name:Me,value:j.asString([(ee.type.startsWith("webassembly")?`${S} ? ${q}[${JSON.stringify(ve)}] : `:"")+`function(${k}) {`,j.indent([`if(${te} === undefined) ${te} = ${q};`,`return ${te}[${JSON.stringify(ve)}](${k});`]),"}"])})}}let ve;if(S){ve=["return {",j.indent([ae.map((E=>`${JSON.stringify(E.name)}: ${E.value}`)).join(",\n")]),"};"]}else{const E=new Map;for(const k of ae){let S=E.get(k.module);if(S===undefined){E.set(k.module,S=[])}S.push(k)}ve=["return {",j.indent([Array.from(E,(([E,k])=>j.asString([`${JSON.stringify(E)}: {`,j.indent([k.map((E=>`${JSON.stringify(E.name)}: ${E.value}`)).join(",\n")]),"}"]))).join(",\n")]),"};"]}const Ee=JSON.stringify(E.getModuleId(k));if(ne.size===1){const E=Array.from(ne.values())[0];const k=`installedWasmModules[${JSON.stringify(E)}]`;const S=Array.from(ne.keys())[0];return j.asString([`${Ee}: function() {`,j.indent([`return promiseResolve().then(function() { return ${k}; }).then(function(${S}) {`,j.indent(ve),"});"]),"},"])}else if(ne.size>0){const E=Array.from(ne.values(),(E=>`installedWasmModules[${JSON.stringify(E)}]`)).join(", ");const k=Array.from(ne.keys(),((E,k)=>`${E} = array[${k}]`)).join(", ");return j.asString([`${Ee}: function() {`,j.indent([`return promiseResolve().then(function() { return Promise.all([${E}]); }).then(function(array) {`,j.indent([`var ${k};`,...ve]),"});"]),"},"])}else{return j.asString([`${Ee}: function() {`,j.indent(ve),"},"])}};class WasmChunkLoadingRuntimeModule extends N{constructor({generateLoadBinaryCode:E,supportsStreaming:k,mangleImports:S}){super("wasm chunk loading",N.STAGE_ATTACH);this.generateLoadBinaryCode=E;this.supportsStreaming=k;this.mangleImports=S}generate(){const{chunkGraph:E,compilation:k,chunk:S,mangleImports:N}=this;const{moduleGraph:q,outputOptions:te}=k;const ne=w.ensureChunkHandlers;const ae=getAllWasmModules(q,E,S);const _e=[];const ve=ae.map((k=>generateImportObject(E,k,this.mangleImports,_e,S.runtime)));const Ee=E.getChunkModuleIdMap(S,(E=>E.type.startsWith("webassembly")));const createImportObject=E=>N?`{ ${JSON.stringify(ee.MANGLED_MODULE)}: ${E} }`:E;const we=k.getPath(JSON.stringify(te.webassemblyModuleFilename),{hash:`" + ${w.getFullHash}() + "`,hashWithLength:E=>`" + ${w.getFullHash}}().slice(0, ${E}) + "`,module:{id:'" + wasmModuleId + "',hash:`" + ${JSON.stringify(E.getChunkModuleRenderedHashMap(S,(E=>E.type.startsWith("webassembly"))))}[chunkId][wasmModuleId] + "`,hashWithLength(k){return`" + ${JSON.stringify(E.getChunkModuleRenderedHashMap(S,(E=>E.type.startsWith("webassembly")),k))}[chunkId][wasmModuleId] + "`}},runtime:S.runtime});return j.asString(["// object to store loaded and loading wasm modules","var installedWasmModules = {};","","function promiseResolve() { return Promise.resolve(); }","",j.asString(_e),"var wasmImportObjects = {",j.indent(ve),"};","",`var wasmModuleMap = ${JSON.stringify(Ee,undefined,"\t")};`,"","// object with all WebAssembly.instance exports",`${w.wasmInstances} = {};`,"","// Fetch + compile chunk loading for webassembly",`${ne}.wasm = function(chunkId, promises) {`,j.indent(["",`var wasmModules = wasmModuleMap[chunkId] || [];`,"","wasmModules.forEach(function(wasmModuleId, idx) {",j.indent(["var installedWasmModuleData = installedWasmModules[wasmModuleId];","",'// a Promise means "currently loading" or "already loaded".',"if(installedWasmModuleData)",j.indent(["promises.push(installedWasmModuleData);"]),"else {",j.indent([`var importObject = wasmImportObjects[wasmModuleId]();`,`var req = ${this.generateLoadBinaryCode(we)};`,"var promise;",this.supportsStreaming?j.asString(["if(importObject && typeof importObject.then === 'function' && typeof WebAssembly.compileStreaming === 'function') {",j.indent(["promise = Promise.all([WebAssembly.compileStreaming(req), importObject]).then(function(items) {",j.indent([`return WebAssembly.instantiate(items[0], ${createImportObject("items[1]")});`]),"});"]),"} else if(typeof WebAssembly.instantiateStreaming === 'function') {",j.indent([`promise = WebAssembly.instantiateStreaming(req, ${createImportObject("importObject")});`])]):j.asString(["if(importObject && typeof importObject.then === 'function') {",j.indent(["var bytesPromise = req.then(function(x) { return x.arrayBuffer(); });","promise = Promise.all([",j.indent(["bytesPromise.then(function(bytes) { return WebAssembly.compile(bytes); }),","importObject"]),"]).then(function(items) {",j.indent([`return WebAssembly.instantiate(items[0], ${createImportObject("items[1]")});`]),"});"])]),"} else {",j.indent(["var bytesPromise = req.then(function(x) { return x.arrayBuffer(); });","promise = bytesPromise.then(function(bytes) {",j.indent([`return WebAssembly.instantiate(bytes, ${createImportObject("importObject")});`]),"});"]),"}","promises.push(installedWasmModules[wasmModuleId] = promise.then(function(res) {",j.indent([`return ${w.wasmInstances}[wasmModuleId] = (res.instance || res).exports;`]),"}));"]),"}"]),"});"]),"};"])}}E.exports=WasmChunkLoadingRuntimeModule},8576:(E,k,S)=>{"use strict";const w=S(72380);const N=S(59422);class WasmFinalizeExportsPlugin{apply(E){E.hooks.compilation.tap("WasmFinalizeExportsPlugin",(E=>{E.hooks.finishModules.tap("WasmFinalizeExportsPlugin",(k=>{for(const S of k){if(S.type.startsWith("webassembly")===true){const k=S.buildMeta.jsIncompatibleExports;if(k===undefined){continue}for(const j of E.moduleGraph.getIncomingConnections(S)){if(j.isTargetActive(undefined)&&j.originModule.type.startsWith("webassembly")===false){const q=E.getDependencyReferencedExports(j.dependency,undefined);for(const ee of q){const q=Array.isArray(ee)?ee:ee.name;if(q.length===0)continue;const te=q[0];if(typeof te==="object")continue;if(Object.prototype.hasOwnProperty.call(k,te)){const q=new N(`Export "${te}" with ${k[te]} can only be used for direct wasm to wasm dependencies\n`+`It's used from ${j.originModule.readableIdentifier(E.requestShortener)} at ${w(j.dependency.loc)}.`);q.module=S;E.errors.push(q)}}}}}}}))}))}}E.exports=WasmFinalizeExportsPlugin},56419:(E,k,S)=>{"use strict";const{RawSource:w}=S(48135);const N=S(36253);const j=S(20612);const q=S(98093);const{moduleContextFromModuleAST:ee}=S(98093);const{editWithAST:te,addWithAST:ne}=S(226);const{decode:ae}=S(73432);const _e=S(30697);const compose=(...E)=>E.reduce(((E,k)=>S=>k(E(S))),(E=>E));const removeStartFunc=E=>k=>te(E.ast,k,{Start(E){E.remove()}});const getImportedGlobals=E=>{const k=[];q.traverse(E,{ModuleImport({node:E}){if(q.isGlobalType(E.descr)){k.push(E)}}});return k};const getCountImportedFunc=E=>{let k=0;q.traverse(E,{ModuleImport({node:E}){if(q.isFuncImportDescr(E.descr)){k++}}});return k};const getNextTypeIndex=E=>{const k=q.getSectionMetadata(E,"type");if(k===undefined){return q.indexLiteral(0)}return q.indexLiteral(k.vectorOfSize.value)};const getNextFuncIndex=(E,k)=>{const S=q.getSectionMetadata(E,"func");if(S===undefined){return q.indexLiteral(0+k)}const w=S.vectorOfSize.value;return q.indexLiteral(w+k)};const createDefaultInitForGlobal=E=>{if(E.valtype[0]==="i"){return q.objectInstruction("const",E.valtype,[q.numberLiteralFromRaw(66)])}else if(E.valtype[0]==="f"){return q.objectInstruction("const",E.valtype,[q.floatLiteral(66,false,false,"66")])}else{throw new Error("unknown type: "+E.valtype)}};const rewriteImportedGlobals=E=>k=>{const S=E.additionalInitCode;const w=[];k=te(E.ast,k,{ModuleImport(E){if(q.isGlobalType(E.node.descr)){const k=E.node.descr;k.mutability="var";const S=[createDefaultInitForGlobal(k),q.instruction("end")];w.push(q.global(k,S));E.remove()}},Global(E){const{node:k}=E;const[N]=k.init;if(N.id==="get_global"){k.globalType.mutability="var";const E=N.args[0];k.init=[createDefaultInitForGlobal(k.globalType),q.instruction("end")];S.push(q.instruction("get_local",[E]),q.instruction("set_global",[q.indexLiteral(w.length)]))}w.push(k);E.remove()}});return ne(E.ast,k,w)};const rewriteExportNames=({ast:E,moduleGraph:k,module:S,externalExports:w,runtime:N})=>j=>te(E,j,{ModuleExport(E){const j=w.has(E.node.name);if(j){E.remove();return}const q=k.getExportsInfo(S).getUsedName(E.node.name,N);if(!q){E.remove();return}E.node.name=q}});const rewriteImports=({ast:E,usedDependencyMap:k})=>S=>te(E,S,{ModuleImport(E){const S=k.get(E.node.module+":"+E.node.name);if(S!==undefined){E.node.module=S.module;E.node.name=S.name}}});const addInitFunction=({ast:E,initFuncId:k,startAtFuncOffset:S,importedGlobals:w,additionalInitCode:N,nextFuncIndex:j,nextTypeIndex:ee})=>te=>{const ae=w.map((E=>{const k=q.identifier(`${E.module}.${E.name}`);return q.funcParam(E.descr.valtype,k)}));const _e=[];w.forEach(((E,k)=>{const S=[q.indexLiteral(k)];const w=[q.instruction("get_local",S),q.instruction("set_global",S)];_e.push(...w)}));if(typeof S==="number"){_e.push(q.callInstruction(q.numberLiteralFromRaw(S)))}for(const E of N){_e.push(E)}_e.push(q.instruction("end"));const ve=[];const Ee=q.signature(ae,ve);const we=q.func(k,Ee,_e);const Ce=q.typeInstruction(undefined,Ee);const Me=q.indexInFuncSection(ee);const Te=q.moduleExport(k.value,q.moduleExportDescr("Func",j));return ne(E,te,[we,Te,Me,Ce])};const getUsedDependencyMap=(E,k,S)=>{const w=new Map;for(const N of j.getUsedDependencies(E,k,S)){const E=N.dependency;const k=E.request;const S=E.name;w.set(k+":"+S,N)}return w};const ve=new Set(["webassembly"]);class WebAssemblyGenerator extends N{constructor(E){super();this.options=E}getTypes(E){return ve}getSize(E,k){const S=E.originalSource();if(!S){return 0}return S.size()}generate(E,{moduleGraph:k,runtime:S}){const N=E.originalSource().source();const j=q.identifier("");const te=ae(N,{ignoreDataSection:true,ignoreCodeSection:true,ignoreCustomNameSection:true});const ne=ee(te.body[0]);const ve=getImportedGlobals(te);const Ee=getCountImportedFunc(te);const we=ne.getStart();const Ce=getNextFuncIndex(te,Ee);const Me=getNextTypeIndex(te);const Te=getUsedDependencyMap(k,E,this.options.mangleImports);const Ie=new Set(E.dependencies.filter((E=>E instanceof _e)).map((E=>{const k=E;return k.exportName})));const Oe=[];const Re=compose(rewriteExportNames({ast:te,moduleGraph:k,module:E,externalExports:Ie,runtime:S}),removeStartFunc({ast:te}),rewriteImportedGlobals({ast:te,additionalInitCode:Oe}),rewriteImports({ast:te,usedDependencyMap:Te}),addInitFunction({ast:te,initFuncId:j,importedGlobals:ve,additionalInitCode:Oe,startAtFuncOffset:we,nextFuncIndex:Ce,nextTypeIndex:Me}));const Fe=Re(N);const Ne=Buffer.from(Fe);return new w(Ne)}}E.exports=WebAssemblyGenerator},74167:(E,k,S)=>{"use strict";const w=S(81627);const getInitialModuleChains=(E,k,S,w)=>{const N=[{head:E,message:E.readableIdentifier(w)}];const j=new Set;const q=new Set;const ee=new Set;for(const E of N){const{head:te,message:ne}=E;let ae=true;const _e=new Set;for(const E of k.getIncomingConnections(te)){const k=E.originModule;if(k){if(!S.getModuleChunks(k).some((E=>E.canBeInitial())))continue;ae=false;if(_e.has(k))continue;_e.add(k);const j=k.readableIdentifier(w);const te=E.explanation?` (${E.explanation})`:"";const ve=`${j}${te} --\x3e ${ne}`;if(ee.has(k)){q.add(`... --\x3e ${ve}`);continue}ee.add(k);N.push({head:k,message:ve})}else{ae=false;const k=E.explanation?`(${E.explanation}) --\x3e ${ne}`:ne;j.add(k)}}if(ae){j.add(ne)}}for(const E of q){j.add(E)}return Array.from(j)};E.exports=class WebAssemblyInInitialChunkError extends w{constructor(E,k,S,w){const N=getInitialModuleChains(E,k,S,w);const j=`WebAssembly module is included in initial chunk.\nThis is not allowed, because WebAssembly download and compilation must happen asynchronous.\nAdd an async split point (i. e. import()) somewhere between your entrypoint and the WebAssembly module:\n${N.map((E=>`* ${E}`)).join("\n")}`;super(j);this.name="WebAssemblyInInitialChunkError";this.hideStack=true;this.module=E}}},59363:(E,k,S)=>{"use strict";const{RawSource:w}=S(48135);const{UsageState:N}=S(76632);const j=S(36253);const q=S(63272);const ee=S(76150);const te=S(58159);const ne=S(79983);const ae=S(30697);const _e=S(33081);const ve=new Set(["webassembly"]);class WebAssemblyJavascriptGenerator extends j{getTypes(E){return ve}getSize(E,k){return 95+E.dependencies.length*5}generate(E,k){const{runtimeTemplate:S,moduleGraph:j,chunkGraph:ve,runtimeRequirements:Ee,runtime:we}=k;const Ce=[];const Me=j.getExportsInfo(E);let Te=false;const Ie=new Map;const Oe=[];let Re=0;for(const k of E.dependencies){const w=k&&k instanceof ne?k:undefined;if(j.getModule(k)){let N=Ie.get(j.getModule(k));if(N===undefined){Ie.set(j.getModule(k),N={importVar:`m${Re}`,index:Re,request:w&&w.userRequest||undefined,names:new Set,reexports:[]});Re++}if(k instanceof _e){N.names.add(k.name);if(k.description.type==="GlobalType"){const w=k.name;const q=j.getModule(k);if(q){const ee=j.getExportsInfo(q).getUsedName(w,we);if(ee){Oe.push(S.exportFromImport({moduleGraph:j,module:q,request:k.request,importVar:N.importVar,originModule:E,exportName:k.name,asiSafe:true,isCall:false,callContext:null,defaultInterop:true,initFragments:Ce,runtime:we,runtimeRequirements:Ee}))}}}}if(k instanceof ae){N.names.add(k.name);const w=j.getExportsInfo(E).getUsedName(k.exportName,we);if(w){Ee.add(ee.exports);const q=`${E.exportsArgument}[${JSON.stringify(w)}]`;const ne=te.asString([`${q} = ${S.exportFromImport({moduleGraph:j,module:j.getModule(k),request:k.request,importVar:N.importVar,originModule:E,exportName:k.name,asiSafe:true,isCall:false,callContext:null,defaultInterop:true,initFragments:Ce,runtime:we,runtimeRequirements:Ee})};`,`if(WebAssembly.Global) ${q} = `+`new WebAssembly.Global({ value: ${JSON.stringify(k.valueType)} }, ${q});`]);N.reexports.push(ne);Te=true}}}}const Fe=te.asString(Array.from(Ie,(([E,{importVar:k,request:w,reexports:N}])=>{const j=S.importStatement({module:E,chunkGraph:ve,request:w,importVar:k,originModule:E,runtimeRequirements:Ee});return j[0]+j[1]+N.join("\n")})));const Ne=Me.otherExportsInfo.getUsed(we)===N.Unused&&!Te;Ee.add(ee.module);Ee.add(ee.moduleId);Ee.add(ee.wasmInstances);if(Me.otherExportsInfo.getUsed(we)!==N.Unused){Ee.add(ee.makeNamespaceObject);Ee.add(ee.exports)}if(!Ne){Ee.add(ee.exports)}const Be=new w(['"use strict";',"// Instantiate WebAssembly module",`var wasmExports = ${ee.wasmInstances}[${E.moduleArgument}.id];`,Me.otherExportsInfo.getUsed(we)!==N.Unused?`${ee.makeNamespaceObject}(${E.exportsArgument});`:"","// export exports from WebAssembly module",Ne?`${E.moduleArgument}.exports = wasmExports;`:"for(var name in wasmExports) "+`if(name) `+`${E.exportsArgument}[name] = wasmExports[name];`,"// exec imports from WebAssembly module (for esm order)",Fe,"","// exec wasm module",`wasmExports[""](${Oe.join(", ")})`].join("\n"));return q.addToSource(Be,Ce,k)}}E.exports=WebAssemblyJavascriptGenerator},84387:(E,k,S)=>{"use strict";const w=S(36253);const N=S(30697);const j=S(33081);const{compareModulesByIdentifier:q}=S(68673);const ee=S(91671);const te=S(74167);const ne=ee((()=>S(56419)));const ae=ee((()=>S(59363)));const _e=ee((()=>S(10342)));class WebAssemblyModulesPlugin{constructor(E){this.options=E}apply(E){E.hooks.compilation.tap("WebAssemblyModulesPlugin",((E,{normalModuleFactory:k})=>{E.dependencyFactories.set(j,k);E.dependencyFactories.set(N,k);k.hooks.createParser.for("webassembly/sync").tap("WebAssemblyModulesPlugin",(()=>{const E=_e();return new E}));k.hooks.createGenerator.for("webassembly/sync").tap("WebAssemblyModulesPlugin",(()=>{const E=ae();const k=ne();return w.byType({javascript:new E,webassembly:new k(this.options)})}));E.hooks.renderManifest.tap("WebAssemblyModulesPlugin",((k,S)=>{const{chunkGraph:w}=E;const{chunk:N,outputOptions:j,codeGenerationResults:ee}=S;for(const E of w.getOrderedChunkModulesIterable(N,q)){if(E.type==="webassembly/sync"){const S=j.webassemblyModuleFilename;k.push({render:()=>ee.getSource(E,N.runtime,"webassembly"),filenameTemplate:S,pathOptions:{module:E,runtime:N.runtime,chunkGraph:w},auxiliary:true,identifier:`webassemblyModule${w.getModuleId(E)}`,hash:w.getModuleHash(E,N.runtime)})}}return k}));E.hooks.afterChunks.tap("WebAssemblyModulesPlugin",(()=>{const k=E.chunkGraph;const S=new Set;for(const w of E.chunks){if(w.canBeInitial()){for(const E of k.getChunkModulesIterable(w)){if(E.type==="webassembly/sync"){S.add(E)}}}}for(const k of S){E.errors.push(new te(k,E.moduleGraph,E.chunkGraph,E.requestShortener))}}))}))}}E.exports=WebAssemblyModulesPlugin},10342:(E,k,S)=>{"use strict";const w=S(98093);const{moduleContextFromModuleAST:N}=S(98093);const{decode:j}=S(73432);const q=S(2172);const ee=S(96076);const te=S(30697);const ne=S(33081);const ae=new Set(["i32","f32","f64"]);const getJsIncompatibleType=E=>{for(const k of E.params){if(!ae.has(k.valtype)){return`${k.valtype} as parameter`}}for(const k of E.results){if(!ae.has(k))return`${k} as result`}return null};const getJsIncompatibleTypeOfFuncSignature=E=>{for(const k of E.args){if(!ae.has(k)){return`${k} as parameter`}}for(const k of E.result){if(!ae.has(k))return`${k} as result`}return null};const _e={ignoreCodeSection:true,ignoreDataSection:true,ignoreCustomNameSection:true};class WebAssemblyParser extends q{constructor(E){super();this.hooks=Object.freeze({});this.options=E}parse(E,k){if(!Buffer.isBuffer(E)){throw new Error("WebAssemblyParser input must be a Buffer")}k.module.buildInfo.strict=true;k.module.buildMeta.exportsType="namespace";const S=j(E,_e);const q=S.body[0];const ve=N(q);const Ee=[];let we=k.module.buildMeta.jsIncompatibleExports=undefined;const Ce=[];w.traverse(q,{ModuleExport({node:E}){const S=E.descr;if(S.exportType==="Func"){const w=S.id.value;const N=ve.getFunction(w);const j=getJsIncompatibleTypeOfFuncSignature(N);if(j){if(we===undefined){we=k.module.buildMeta.jsIncompatibleExports={}}we[E.name]=j}}Ee.push(E.name);if(E.descr&&E.descr.exportType==="Global"){const S=Ce[E.descr.id.value];if(S){const w=new te(E.name,S.module,S.name,S.descr.valtype);k.module.addDependency(w)}}},Global({node:E}){const k=E.init[0];let S=null;if(k.id==="get_global"){const E=k.args[0].value;if(E{"use strict";const w=S(58159);const N=S(33081);const j="a";const getUsedDependencies=(E,k,S)=>{const q=[];let ee=0;for(const te of k.dependencies){if(te instanceof N){if(te.description.type==="GlobalType"||E.getModule(te)===null){continue}const k=te.name;if(S){q.push({dependency:te,name:w.numberToIdentifier(ee++),module:j})}else{q.push({dependency:te,name:k,module:te.request})}}}return q};k.getUsedDependencies=getUsedDependencies;k.MANGLED_MODULE=j},69085:(E,k,S)=>{"use strict";const w=new WeakMap;const getEnabledTypes=E=>{let k=w.get(E);if(k===undefined){k=new Set;w.set(E,k)}return k};class EnableWasmLoadingPlugin{constructor(E){this.type=E}static setEnabled(E,k){getEnabledTypes(E).add(k)}static checkEnabled(E,k){if(!getEnabledTypes(E).has(k)){throw new Error(`Library type "${k}" is not enabled. `+"EnableWasmLoadingPlugin need to be used to enable this type of wasm loading. "+'This usually happens through the "output.enabledWasmLoadingTypes" option. '+'If you are using a function as entry which sets "wasmLoading", you need to add all potential library types to "output.enabledWasmLoadingTypes". '+"These types are enabled: "+Array.from(getEnabledTypes(E)).join(", "))}}apply(E){const{type:k}=this;const w=getEnabledTypes(E);if(w.has(k))return;w.add(k);if(typeof k==="string"){switch(k){case"fetch":{const k=S(71100);const w=S(52687);new k({mangleImports:E.options.optimization.mangleWasmImports}).apply(E);(new w).apply(E);break}case"async-node":{const w=S(71049);const N=S(21273);new w({mangleImports:E.options.optimization.mangleWasmImports}).apply(E);new N({type:k}).apply(E);break}case"async-node-module":{const w=S(21273);new w({type:k,import:true}).apply(E);break}case"universal":throw new Error("Universal WebAssembly Loading is not implemented yet");default:throw new Error(`Unsupported wasm loading type ${k}.\nPlugins which provide custom wasm loading types must call EnableWasmLoadingPlugin.setEnabled(compiler, type) to disable this error.`)}}else{}}}E.exports=EnableWasmLoadingPlugin},52687:(E,k,S)=>{"use strict";const w=S(76150);const N=S(21941);class FetchCompileAsyncWasmPlugin{apply(E){E.hooks.thisCompilation.tap("FetchCompileAsyncWasmPlugin",(E=>{const k=E.outputOptions.wasmLoading;const isEnabledForChunk=E=>{const S=E.getEntryOptions();const w=S&&S.wasmLoading!==undefined?S.wasmLoading:k;return w==="fetch"};const generateLoadBinaryCode=E=>`fetch(${w.publicPath} + ${E})`;E.hooks.runtimeRequirementInTree.for(w.instantiateWasm).tap("FetchCompileAsyncWasmPlugin",((k,S)=>{if(!isEnabledForChunk(k))return;const j=E.chunkGraph;if(!j.hasModuleInGraph(k,(E=>E.type==="webassembly/async"))){return}S.add(w.publicPath);E.addRuntimeModule(k,new N({generateLoadBinaryCode:generateLoadBinaryCode,supportsStreaming:true}))}))}))}}E.exports=FetchCompileAsyncWasmPlugin},71100:(E,k,S)=>{"use strict";const w=S(76150);const N=S(61006);class FetchCompileWasmPlugin{constructor(E){this.options=E||{}}apply(E){E.hooks.thisCompilation.tap("FetchCompileWasmPlugin",(E=>{const k=E.outputOptions.wasmLoading;const isEnabledForChunk=E=>{const S=E.getEntryOptions();const w=S&&S.wasmLoading!==undefined?S.wasmLoading:k;return w==="fetch"};const generateLoadBinaryCode=E=>`fetch(${w.publicPath} + ${E})`;E.hooks.runtimeRequirementInTree.for(w.ensureChunkHandlers).tap("FetchCompileWasmPlugin",((k,S)=>{if(!isEnabledForChunk(k))return;const j=E.chunkGraph;if(!j.hasModuleInGraph(k,(E=>E.type==="webassembly/sync"))){return}S.add(w.moduleCache);S.add(w.publicPath);E.addRuntimeModule(k,new N({generateLoadBinaryCode:generateLoadBinaryCode,supportsStreaming:true,mangleImports:this.options.mangleImports}))}))}))}}E.exports=FetchCompileWasmPlugin},76853:(E,k,S)=>{"use strict";const w=S(76150);const N=S(4038);class JsonpChunkLoadingPlugin{apply(E){E.hooks.thisCompilation.tap("JsonpChunkLoadingPlugin",(E=>{const k=E.outputOptions.chunkLoading;const isEnabledForChunk=E=>{const S=E.getEntryOptions();const w=S&&S.chunkLoading!==undefined?S.chunkLoading:k;return w==="jsonp"};const S=new WeakSet;const handler=(k,j)=>{if(S.has(k))return;S.add(k);if(!isEnabledForChunk(k))return;j.add(w.moduleFactoriesAddOnly);j.add(w.hasOwnProperty);E.addRuntimeModule(k,new N(j))};E.hooks.runtimeRequirementInTree.for(w.ensureChunkHandlers).tap("JsonpChunkLoadingPlugin",handler);E.hooks.runtimeRequirementInTree.for(w.hmrDownloadUpdateHandlers).tap("JsonpChunkLoadingPlugin",handler);E.hooks.runtimeRequirementInTree.for(w.hmrDownloadManifest).tap("JsonpChunkLoadingPlugin",handler);E.hooks.runtimeRequirementInTree.for(w.baseURI).tap("JsonpChunkLoadingPlugin",handler);E.hooks.runtimeRequirementInTree.for(w.onChunksLoaded).tap("JsonpChunkLoadingPlugin",handler);E.hooks.runtimeRequirementInTree.for(w.ensureChunkHandlers).tap("JsonpChunkLoadingPlugin",((E,k)=>{if(!isEnabledForChunk(E))return;k.add(w.publicPath);k.add(w.loadScript);k.add(w.getChunkScriptFilename)}));E.hooks.runtimeRequirementInTree.for(w.hmrDownloadUpdateHandlers).tap("JsonpChunkLoadingPlugin",((E,k)=>{if(!isEnabledForChunk(E))return;k.add(w.publicPath);k.add(w.loadScript);k.add(w.getChunkUpdateScriptFilename);k.add(w.moduleCache);k.add(w.hmrModuleData);k.add(w.moduleFactoriesAddOnly)}));E.hooks.runtimeRequirementInTree.for(w.hmrDownloadManifest).tap("JsonpChunkLoadingPlugin",((E,k)=>{if(!isEnabledForChunk(E))return;k.add(w.publicPath);k.add(w.getUpdateManifestFilename)}))}))}}E.exports=JsonpChunkLoadingPlugin},4038:(E,k,S)=>{"use strict";const{SyncWaterfallHook:w}=S(92960);const N=S(3080);const j=S(76150);const q=S(66804);const ee=S(58159);const te=S(18161).chunkHasJs;const{getInitialChunkIds:ne}=S(13085);const ae=S(87274);const _e=new WeakMap;class JsonpChunkLoadingRuntimeModule extends q{static getCompilationHooks(E){if(!(E instanceof N)){throw new TypeError("The 'compilation' argument must be an instance of Compilation")}let k=_e.get(E);if(k===undefined){k={linkPreload:new w(["source","chunk"]),linkPrefetch:new w(["source","chunk"])};_e.set(E,k)}return k}constructor(E){super("jsonp chunk loading",q.STAGE_ATTACH);this._runtimeRequirements=E}generate(){const{chunkGraph:E,compilation:k,chunk:w}=this;const{runtimeTemplate:N,outputOptions:{globalObject:q,chunkLoadingGlobal:_e,hotUpdateGlobal:ve,crossOriginLoading:Ee,scriptType:we}}=k;const{linkPreload:Ce,linkPrefetch:Me}=JsonpChunkLoadingRuntimeModule.getCompilationHooks(k);const Te=j.ensureChunkHandlers;const Ie=this._runtimeRequirements.has(j.baseURI);const Oe=this._runtimeRequirements.has(j.ensureChunkHandlers);const Re=this._runtimeRequirements.has(j.chunkCallback);const Fe=this._runtimeRequirements.has(j.onChunksLoaded);const Ne=this._runtimeRequirements.has(j.hmrDownloadUpdateHandlers);const Be=this._runtimeRequirements.has(j.hmrDownloadManifest);const Le=this._runtimeRequirements.has(j.prefetchChunkHandlers);const je=this._runtimeRequirements.has(j.preloadChunkHandlers);const $e=`${q}[${JSON.stringify(_e)}]`;const ze=E.getChunkConditionMap(w,te);const Ue=ae(ze);const Ge=ne(w,E);return ee.asString([Ie?ee.asString([`${j.baseURI} = document.baseURI || self.location.href;`]):"// no baseURI","","// object to store loaded and loading chunks","// undefined = chunk not loaded, null = chunk preloaded/prefetched","// [resolve, reject, Promise] = chunk loading, 0 = chunk loaded","var installedChunks = {",ee.indent(Array.from(Ge,(E=>`${JSON.stringify(E)}: 0`)).join(",\n")),"};","",Oe?ee.asString([`${Te}.j = ${N.basicFunction("chunkId, promises",Ue!==false?ee.indent(["// JSONP chunk loading for javascript",`var installedChunkData = ${j.hasOwnProperty}(installedChunks, chunkId) ? installedChunks[chunkId] : undefined;`,'if(installedChunkData !== 0) { // 0 means "already installed".',ee.indent(["",'// a Promise means "currently loading".',"if(installedChunkData) {",ee.indent(["promises.push(installedChunkData[2]);"]),"} else {",ee.indent([Ue===true?"if(true) { // all chunks have JS":`if(${Ue("chunkId")}) {`,ee.indent(["// setup Promise in chunk cache",`var promise = new Promise(${N.expressionFunction(`installedChunkData = installedChunks[chunkId] = [resolve, reject]`,"resolve, reject")});`,"promises.push(installedChunkData[2] = promise);","","// start chunk loading",`var url = ${j.publicPath} + ${j.getChunkScriptFilename}(chunkId);`,"// create error before stack unwound to get useful stacktrace later","var error = new Error();",`var loadingEnded = ${N.basicFunction("event",[`if(${j.hasOwnProperty}(installedChunks, chunkId)) {`,ee.indent(["installedChunkData = installedChunks[chunkId];","if(installedChunkData !== 0) installedChunks[chunkId] = undefined;","if(installedChunkData) {",ee.indent(["var errorType = event && (event.type === 'load' ? 'missing' : event.type);","var realSrc = event && event.target && event.target.src;","error.message = 'Loading chunk ' + chunkId + ' failed.\\n(' + errorType + ': ' + realSrc + ')';","error.name = 'ChunkLoadError';","error.type = errorType;","error.request = realSrc;","installedChunkData[1](error);"]),"}"]),"}"])};`,`${j.loadScript}(url, loadingEnded, "chunk-" + chunkId, chunkId);`]),"} else installedChunks[chunkId] = 0;"]),"}"]),"}"]):ee.indent(["installedChunks[chunkId] = 0;"]))};`]):"// no chunk on demand loading","",Le&&Ue!==false?`${j.prefetchChunkHandlers}.j = ${N.basicFunction("chunkId",[`if((!${j.hasOwnProperty}(installedChunks, chunkId) || installedChunks[chunkId] === undefined) && ${Ue===true?"true":Ue("chunkId")}) {`,ee.indent(["installedChunks[chunkId] = null;",Me.call(ee.asString(["var link = document.createElement('link');",Ee?`link.crossOrigin = ${JSON.stringify(Ee)};`:"",`if (${j.scriptNonce}) {`,ee.indent(`link.setAttribute("nonce", ${j.scriptNonce});`),"}",'link.rel = "prefetch";','link.as = "script";',`link.href = ${j.publicPath} + ${j.getChunkScriptFilename}(chunkId);`]),w),"document.head.appendChild(link);"]),"}"])};`:"// no prefetching","",je&&Ue!==false?`${j.preloadChunkHandlers}.j = ${N.basicFunction("chunkId",[`if((!${j.hasOwnProperty}(installedChunks, chunkId) || installedChunks[chunkId] === undefined) && ${Ue===true?"true":Ue("chunkId")}) {`,ee.indent(["installedChunks[chunkId] = null;",Ce.call(ee.asString(["var link = document.createElement('link');",we?`link.type = ${JSON.stringify(we)};`:"","link.charset = 'utf-8';",`if (${j.scriptNonce}) {`,ee.indent(`link.setAttribute("nonce", ${j.scriptNonce});`),"}",'link.rel = "preload";','link.as = "script";',`link.href = ${j.publicPath} + ${j.getChunkScriptFilename}(chunkId);`,Ee?ee.asString(["if (link.href.indexOf(window.location.origin + '/') !== 0) {",ee.indent(`link.crossOrigin = ${JSON.stringify(Ee)};`),"}"]):""]),w),"document.head.appendChild(link);"]),"}"])};`:"// no preloaded","",Ne?ee.asString(["var currentUpdatedModulesList;","var waitingUpdateResolves = {};","function loadUpdateChunk(chunkId) {",ee.indent([`return new Promise(${N.basicFunction("resolve, reject",["waitingUpdateResolves[chunkId] = resolve;","// start update chunk loading",`var url = ${j.publicPath} + ${j.getChunkUpdateScriptFilename}(chunkId);`,"// create error before stack unwound to get useful stacktrace later","var error = new Error();",`var loadingEnded = ${N.basicFunction("event",["if(waitingUpdateResolves[chunkId]) {",ee.indent(["waitingUpdateResolves[chunkId] = undefined","var errorType = event && (event.type === 'load' ? 'missing' : event.type);","var realSrc = event && event.target && event.target.src;","error.message = 'Loading hot update chunk ' + chunkId + ' failed.\\n(' + errorType + ': ' + realSrc + ')';","error.name = 'ChunkLoadError';","error.type = errorType;","error.request = realSrc;","reject(error);"]),"}"])};`,`${j.loadScript}(url, loadingEnded);`])});`]),"}","",`${q}[${JSON.stringify(ve)}] = ${N.basicFunction("chunkId, moreModules, runtime",["for(var moduleId in moreModules) {",ee.indent([`if(${j.hasOwnProperty}(moreModules, moduleId)) {`,ee.indent(["currentUpdate[moduleId] = moreModules[moduleId];","if(currentUpdatedModulesList) currentUpdatedModulesList.push(moduleId);"]),"}"]),"}","if(runtime) currentUpdateRuntime.push(runtime);","if(waitingUpdateResolves[chunkId]) {",ee.indent(["waitingUpdateResolves[chunkId]();","waitingUpdateResolves[chunkId] = undefined;"]),"}"])};`,"",ee.getFunctionContent(S(22215)).replace(/\$key\$/g,"jsonp").replace(/\$installedChunks\$/g,"installedChunks").replace(/\$loadUpdateChunk\$/g,"loadUpdateChunk").replace(/\$moduleCache\$/g,j.moduleCache).replace(/\$moduleFactories\$/g,j.moduleFactories).replace(/\$ensureChunkHandlers\$/g,j.ensureChunkHandlers).replace(/\$hasOwnProperty\$/g,j.hasOwnProperty).replace(/\$hmrModuleData\$/g,j.hmrModuleData).replace(/\$hmrDownloadUpdateHandlers\$/g,j.hmrDownloadUpdateHandlers).replace(/\$hmrInvalidateModuleHandlers\$/g,j.hmrInvalidateModuleHandlers)]):"// no HMR","",Be?ee.asString([`${j.hmrDownloadManifest} = ${N.basicFunction("",['if (typeof fetch === "undefined") throw new Error("No browser support: need fetch API");',`return fetch(${j.publicPath} + ${j.getUpdateManifestFilename}()).then(${N.basicFunction("response",["if(response.status === 404) return; // no update available",'if(!response.ok) throw new Error("Failed to fetch update manifest " + response.statusText);',"return response.json();"])});`])};`]):"// no HMR manifest","",Fe?`${j.onChunksLoaded}.j = ${N.returningFunction("installedChunks[chunkId] === 0","chunkId")};`:"// no on chunks loaded","",Re||Oe?ee.asString(["// install a JSONP callback for chunk loading",`var webpackJsonpCallback = ${N.basicFunction("parentChunkLoadingFunction, data",[N.destructureArray(["chunkIds","moreModules","runtime"],"data"),'// add "moreModules" to the modules object,','// then flag all "chunkIds" as loaded and fire callback',"var moduleId, chunkId, i = 0;","for(moduleId in moreModules) {",ee.indent([`if(${j.hasOwnProperty}(moreModules, moduleId)) {`,ee.indent(`${j.moduleFactories}[moduleId] = moreModules[moduleId];`),"}"]),"}","if(runtime) var result = runtime(__webpack_require__);","if(parentChunkLoadingFunction) parentChunkLoadingFunction(data);","for(;i < chunkIds.length; i++) {",ee.indent(["chunkId = chunkIds[i];",`if(${j.hasOwnProperty}(installedChunks, chunkId) && installedChunks[chunkId]) {`,ee.indent("installedChunks[chunkId][0]();"),"}","installedChunks[chunkIds[i]] = 0;"]),"}",Fe?`return ${j.onChunksLoaded}(result);`:""])}`,"",`var chunkLoadingGlobal = ${$e} = ${$e} || [];`,"chunkLoadingGlobal.forEach(webpackJsonpCallback.bind(null, 0));","chunkLoadingGlobal.push = webpackJsonpCallback.bind(null, chunkLoadingGlobal.push.bind(chunkLoadingGlobal));"]):"// no jsonp function"])}}E.exports=JsonpChunkLoadingRuntimeModule},58421:(E,k,S)=>{"use strict";const w=S(41113);const N=S(50369);const j=S(4038);class JsonpTemplatePlugin{static getCompilationHooks(E){return j.getCompilationHooks(E)}apply(E){E.options.output.chunkLoading="jsonp";(new w).apply(E);new N("jsonp").apply(E)}}E.exports=JsonpTemplatePlugin},2982:(E,k,S)=>{"use strict";const w=S(31669);const N=S(63221);const j=S(76518);const q=S(63076);const ee=S(63433);const te=S(81721);const{applyWebpackOptionsDefaults:ne,applyWebpackOptionsBaseDefaults:ae}=S(54411);const{getNormalizedWebpackOptions:_e}=S(96590);const ve=S(93632);const Ee=S(91671);const we=Ee((()=>S(33316)));const createMultiCompiler=(E,k)=>{const S=E.map((E=>createCompiler(E)));const w=new ee(S,k);for(const E of S){if(E.options.dependencies){w.setDependencies(E,E.options.dependencies)}}return w};const createCompiler=E=>{const k=_e(E);ae(k);const S=new q(k.context);S.options=k;new ve({infrastructureLogging:k.infrastructureLogging}).apply(S);if(Array.isArray(k.plugins)){for(const E of k.plugins){if(typeof E==="function"){E.call(S,S)}else{E.apply(S)}}}ne(k);S.hooks.environment.call();S.hooks.afterEnvironment.call();(new te).process(k,S);S.hooks.initialize.call();return S};const webpack=(E,k)=>{const create=()=>{if(!N(E)){we()(j,E)}let k;let S=false;let w;if(Array.isArray(E)){k=createMultiCompiler(E,E);S=E.some((E=>E.watch));w=E.map((E=>E.watchOptions||{}))}else{const N=E;k=createCompiler(N);S=N.watch;w=N.watchOptions||{}}return{compiler:k,watch:S,watchOptions:w}};if(k){try{const{compiler:E,watch:S,watchOptions:w}=create();if(S){E.watch(w,k)}else{E.run(((S,w)=>{E.close((E=>{k(S||E,w)}))}))}return E}catch(E){process.nextTick((()=>k(E)));return null}}else{const{compiler:E,watch:k}=create();if(k){w.deprecate((()=>{}),"A 'callback' argument need to be provided to the 'webpack(options, callback)' function when the 'watch' option is set. There is no way to handle the 'watch' option without a callback.","DEP_WEBPACK_WATCH_WITHOUT_CALLBACK")()}return E}};E.exports=webpack},82779:(E,k,S)=>{"use strict";const w=S(76150);const N=S(44160);const j=S(64997);const q=S(92208);class ImportScriptsChunkLoadingPlugin{apply(E){new j({chunkLoading:"import-scripts",asyncChunkLoading:true}).apply(E);E.hooks.thisCompilation.tap("ImportScriptsChunkLoadingPlugin",(E=>{const k=E.outputOptions.chunkLoading;const isEnabledForChunk=E=>{const S=E.getEntryOptions();const w=S&&S.chunkLoading!==undefined?S.chunkLoading:k;return w==="import-scripts"};const S=new WeakSet;const handler=(k,N)=>{if(S.has(k))return;S.add(k);if(!isEnabledForChunk(k))return;const j=!!E.outputOptions.trustedTypes;N.add(w.moduleFactoriesAddOnly);N.add(w.hasOwnProperty);if(j)N.add(w.createScriptUrl);E.addRuntimeModule(k,new q(N,j))};E.hooks.runtimeRequirementInTree.for(w.ensureChunkHandlers).tap("ImportScriptsChunkLoadingPlugin",handler);E.hooks.runtimeRequirementInTree.for(w.hmrDownloadUpdateHandlers).tap("ImportScriptsChunkLoadingPlugin",handler);E.hooks.runtimeRequirementInTree.for(w.hmrDownloadManifest).tap("ImportScriptsChunkLoadingPlugin",handler);E.hooks.runtimeRequirementInTree.for(w.baseURI).tap("ImportScriptsChunkLoadingPlugin",handler);E.hooks.runtimeRequirementInTree.for(w.createScriptUrl).tap("RuntimePlugin",((k,S)=>{E.addRuntimeModule(k,new N);return true}));E.hooks.runtimeRequirementInTree.for(w.ensureChunkHandlers).tap("ImportScriptsChunkLoadingPlugin",((E,k)=>{if(!isEnabledForChunk(E))return;k.add(w.publicPath);k.add(w.getChunkScriptFilename)}));E.hooks.runtimeRequirementInTree.for(w.hmrDownloadUpdateHandlers).tap("ImportScriptsChunkLoadingPlugin",((E,k)=>{if(!isEnabledForChunk(E))return;k.add(w.publicPath);k.add(w.getChunkUpdateScriptFilename);k.add(w.moduleCache);k.add(w.hmrModuleData);k.add(w.moduleFactoriesAddOnly)}));E.hooks.runtimeRequirementInTree.for(w.hmrDownloadManifest).tap("ImportScriptsChunkLoadingPlugin",((E,k)=>{if(!isEnabledForChunk(E))return;k.add(w.publicPath);k.add(w.getUpdateManifestFilename)}))}))}}E.exports=ImportScriptsChunkLoadingPlugin},92208:(E,k,S)=>{"use strict";const w=S(76150);const N=S(66804);const j=S(58159);const{getChunkFilenameTemplate:q,chunkHasJs:ee}=S(18161);const{getInitialChunkIds:te}=S(13085);const ne=S(87274);const{getUndoPath:ae}=S(49197);class ImportScriptsChunkLoadingRuntimeModule extends N{constructor(E,k){super("importScripts chunk loading",N.STAGE_ATTACH);this.runtimeRequirements=E;this._withCreateScriptUrl=k}generate(){const{chunk:E,chunkGraph:k,compilation:{runtimeTemplate:N,outputOptions:{globalObject:_e,chunkLoadingGlobal:ve,hotUpdateGlobal:Ee}},_withCreateScriptUrl:we}=this;const Ce=w.ensureChunkHandlers;const Me=this.runtimeRequirements.has(w.baseURI);const Te=this.runtimeRequirements.has(w.ensureChunkHandlers);const Ie=this.runtimeRequirements.has(w.hmrDownloadUpdateHandlers);const Oe=this.runtimeRequirements.has(w.hmrDownloadManifest);const Re=`${_e}[${JSON.stringify(ve)}]`;const Fe=ne(k.getChunkConditionMap(E,ee));const Ne=te(E,k);const Be=this.compilation.getPath(q(E,this.compilation.outputOptions),{chunk:E,contentHashType:"javascript"});const Le=ae(Be,this.compilation.outputOptions.path,false);return j.asString([Me?j.asString([`${w.baseURI} = self.location + ${JSON.stringify(Le?"/../"+Le:"")};`]):"// no baseURI","","// object to store loaded chunks",'// "1" means "already loaded"',"var installedChunks = {",j.indent(Array.from(Ne,(E=>`${JSON.stringify(E)}: 1`)).join(",\n")),"};","",Te?j.asString(["// importScripts chunk loading",`var installChunk = ${N.basicFunction("data",[N.destructureArray(["chunkIds","moreModules","runtime"],"data"),"for(var moduleId in moreModules) {",j.indent([`if(${w.hasOwnProperty}(moreModules, moduleId)) {`,j.indent(`${w.moduleFactories}[moduleId] = moreModules[moduleId];`),"}"]),"}","if(runtime) runtime(__webpack_require__);","while(chunkIds.length)",j.indent("installedChunks[chunkIds.pop()] = 1;"),"parentChunkLoadingFunction(data);"])};`]):"// no chunk install function needed",Te?j.asString([`${Ce}.i = ${N.basicFunction("chunkId, promises",Fe!==false?['// "1" is the signal for "already loaded"',"if(!installedChunks[chunkId]) {",j.indent([Fe===true?"if(true) { // all chunks have JS":`if(${Fe("chunkId")}) {`,j.indent(`importScripts(${we?`${w.createScriptUrl}(${w.publicPath} + ${w.getChunkScriptFilename}(chunkId))`:`${w.publicPath} + ${w.getChunkScriptFilename}(chunkId)`});`),"}"]),"}"]:"installedChunks[chunkId] = 1;")};`,"",`var chunkLoadingGlobal = ${Re} = ${Re} || [];`,"var parentChunkLoadingFunction = chunkLoadingGlobal.push.bind(chunkLoadingGlobal);","chunkLoadingGlobal.push = installChunk;"]):"// no chunk loading","",Ie?j.asString(["function loadUpdateChunk(chunkId, updatedModulesList) {",j.indent(["var success = false;",`${_e}[${JSON.stringify(Ee)}] = ${N.basicFunction("_, moreModules, runtime",["for(var moduleId in moreModules) {",j.indent([`if(${w.hasOwnProperty}(moreModules, moduleId)) {`,j.indent(["currentUpdate[moduleId] = moreModules[moduleId];","if(updatedModulesList) updatedModulesList.push(moduleId);"]),"}"]),"}","if(runtime) currentUpdateRuntime.push(runtime);","success = true;"])};`,"// start update chunk loading",`importScripts(${we?`${w.createScriptUrl}(${w.publicPath} + ${w.getChunkUpdateScriptFilename}(chunkId))`:`${w.publicPath} + ${w.getChunkUpdateScriptFilename}(chunkId)`});`,'if(!success) throw new Error("Loading update chunk failed for unknown reason");']),"}","",j.getFunctionContent(S(22215)).replace(/\$key\$/g,"importScrips").replace(/\$installedChunks\$/g,"installedChunks").replace(/\$loadUpdateChunk\$/g,"loadUpdateChunk").replace(/\$moduleCache\$/g,w.moduleCache).replace(/\$moduleFactories\$/g,w.moduleFactories).replace(/\$ensureChunkHandlers\$/g,w.ensureChunkHandlers).replace(/\$hasOwnProperty\$/g,w.hasOwnProperty).replace(/\$hmrModuleData\$/g,w.hmrModuleData).replace(/\$hmrDownloadUpdateHandlers\$/g,w.hmrDownloadUpdateHandlers).replace(/\$hmrInvalidateModuleHandlers\$/g,w.hmrInvalidateModuleHandlers)]):"// no HMR","",Oe?j.asString([`${w.hmrDownloadManifest} = ${N.basicFunction("",['if (typeof fetch === "undefined") throw new Error("No browser support: need fetch API");',`return fetch(${w.publicPath} + ${w.getUpdateManifestFilename}()).then(${N.basicFunction("response",["if(response.status === 404) return; // no update available",'if(!response.ok) throw new Error("Failed to fetch update manifest " + response.statusText);',"return response.json();"])});`])};`]):"// no HMR manifest"])}}E.exports=ImportScriptsChunkLoadingRuntimeModule},67439:(E,k,S)=>{"use strict";const w=S(41113);const N=S(50369);class WebWorkerTemplatePlugin{apply(E){E.options.output.chunkLoading="import-scripts";(new w).apply(E);new N("import-scripts").apply(E)}}E.exports=WebWorkerTemplatePlugin},14150:function(E,k){(function(E,S){true?S(k):0})(this,(function(E){"use strict";var k={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"};var S="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";var w={5:S,"5module":S+" export import",6:S+" const class extends export import super"};var N=/^in(stanceof)?$/;var j="ªµºÀ-ÖØ-öø-ˁˆ-ˑˠ-ˤˬˮͰ-ʹͶͷͺ-ͽͿΆΈ-ΊΌΎ-ΡΣ-ϵϷ-ҁҊ-ԯԱ-Ֆՙՠ-ֈא-תׯ-ײؠ-يٮٯٱ-ۓەۥۦۮۯۺ-ۼۿܐܒ-ܯݍ-ޥޱߊ-ߪߴߵߺࠀ-ࠕࠚࠤࠨࡀ-ࡘࡠ-ࡪࢠ-ࢴࢶ-ࣇऄ-हऽॐक़-ॡॱ-ঀঅ-ঌএঐও-নপ-রলশ-হঽৎড়ঢ়য়-ৡৰৱৼਅ-ਊਏਐਓ-ਨਪ-ਰਲਲ਼ਵਸ਼ਸਹਖ਼-ੜਫ਼ੲ-ੴઅ-ઍએ-ઑઓ-નપ-રલળવ-હઽૐૠૡૹଅ-ଌଏଐଓ-ନପ-ରଲଳଵ-ହଽଡ଼ଢ଼ୟ-ୡୱஃஅ-ஊஎ-ஐஒ-கஙசஜஞடணதந-பம-ஹௐఅ-ఌఎ-ఐఒ-నప-హఽౘ-ౚౠౡಀಅ-ಌಎ-ಐಒ-ನಪ-ಳವ-ಹಽೞೠೡೱೲഄ-ഌഎ-ഐഒ-ഺഽൎൔ-ൖൟ-ൡൺ-ൿඅ-ඖක-නඳ-රලව-ෆก-ะาำเ-ๆກຂຄຆ-ຊຌ-ຣລວ-ະາຳຽເ-ໄໆໜ-ໟༀཀ-ཇཉ-ཬྈ-ྌက-ဪဿၐ-ၕၚ-ၝၡၥၦၮ-ၰၵ-ႁႎႠ-ჅჇჍა-ჺჼ-ቈቊ-ቍቐ-ቖቘቚ-ቝበ-ኈኊ-ኍነ-ኰኲ-ኵኸ-ኾዀዂ-ዅወ-ዖዘ-ጐጒ-ጕጘ-ፚᎀ-ᎏᎠ-Ᏽᏸ-ᏽᐁ-ᙬᙯ-ᙿᚁ-ᚚᚠ-ᛪᛮ-ᛸᜀ-ᜌᜎ-ᜑᜠ-ᜱᝀ-ᝑᝠ-ᝬᝮ-ᝰក-ឳៗៜᠠ-ᡸᢀ-ᢨᢪᢰ-ᣵᤀ-ᤞᥐ-ᥭᥰ-ᥴᦀ-ᦫᦰ-ᧉᨀ-ᨖᨠ-ᩔᪧᬅ-ᬳᭅ-ᭋᮃ-ᮠᮮᮯᮺ-ᯥᰀ-ᰣᱍ-ᱏᱚ-ᱽᲀ-ᲈᲐ-ᲺᲽ-Ჿᳩ-ᳬᳮ-ᳳᳵᳶᳺᴀ-ᶿḀ-ἕἘ-Ἕἠ-ὅὈ-Ὅὐ-ὗὙὛὝὟ-ώᾀ-ᾴᾶ-ᾼιῂ-ῄῆ-ῌῐ-ΐῖ-Ίῠ-Ῥῲ-ῴῶ-ῼⁱⁿₐ-ₜℂℇℊ-ℓℕ℘-ℝℤΩℨK-ℹℼ-ℿⅅ-ⅉⅎⅠ-ↈⰀ-Ⱞⰰ-ⱞⱠ-ⳤⳫ-ⳮⳲⳳⴀ-ⴥⴧⴭⴰ-ⵧⵯⶀ-ⶖⶠ-ⶦⶨ-ⶮⶰ-ⶶⶸ-ⶾⷀ-ⷆⷈ-ⷎⷐ-ⷖⷘ-ⷞ々-〇〡-〩〱-〵〸-〼ぁ-ゖ゛-ゟァ-ヺー-ヿㄅ-ㄯㄱ-ㆎㆠ-ㆿㇰ-ㇿ㐀-䶿一-鿼ꀀ-ꒌꓐ-ꓽꔀ-ꘌꘐ-ꘟꘪꘫꙀ-ꙮꙿ-ꚝꚠ-ꛯꜗ-ꜟꜢ-ꞈꞋ-ꞿꟂ-ꟊꟵ-ꠁꠃ-ꠅꠇ-ꠊꠌ-ꠢꡀ-ꡳꢂ-ꢳꣲ-ꣷꣻꣽꣾꤊ-ꤥꤰ-ꥆꥠ-ꥼꦄ-ꦲꧏꧠ-ꧤꧦ-ꧯꧺ-ꧾꨀ-ꨨꩀ-ꩂꩄ-ꩋꩠ-ꩶꩺꩾ-ꪯꪱꪵꪶꪹ-ꪽꫀꫂꫛ-ꫝꫠ-ꫪꫲ-ꫴꬁ-ꬆꬉ-ꬎꬑ-ꬖꬠ-ꬦꬨ-ꬮꬰ-ꭚꭜ-ꭩꭰ-ꯢ가-힣ힰ-ퟆퟋ-ퟻ豈-舘並-龎ff-stﬓ-ﬗיִײַ-ﬨשׁ-זּטּ-לּמּנּסּףּפּצּ-ﮱﯓ-ﴽﵐ-ﶏﶒ-ﷇﷰ-ﷻﹰ-ﹴﹶ-ﻼA-Za-zヲ-하-ᅦᅧ-ᅬᅭ-ᅲᅳ-ᅵ";var q="‌‍·̀-ͯ·҃-֑҇-ׇֽֿׁׂׅׄؐ-ًؚ-٩ٰۖ-ۜ۟-۪ۤۧۨ-ۭ۰-۹ܑܰ-݊ަ-ް߀-߉߫-߽߳ࠖ-࠙ࠛ-ࠣࠥ-ࠧࠩ-࡙࠭-࡛࣓-ࣣ࣡-ःऺ-़ा-ॏ॑-ॗॢॣ०-९ঁ-ঃ়া-ৄেৈো-্ৗৢৣ০-৯৾ਁ-ਃ਼ਾ-ੂੇੈੋ-੍ੑ੦-ੱੵઁ-ઃ઼ા-ૅે-ૉો-્ૢૣ૦-૯ૺ-૿ଁ-ଃ଼ା-ୄେୈୋ-୍୕-ୗୢୣ୦-୯ஂா-ூெ-ைொ-்ௗ௦-௯ఀ-ఄా-ౄె-ైొ-్ౕౖౢౣ౦-౯ಁ-ಃ಼ಾ-ೄೆ-ೈೊ-್ೕೖೢೣ೦-೯ഀ-ഃ഻഼ാ-ൄെ-ൈൊ-്ൗൢൣ൦-൯ඁ-ඃ්ා-ුූෘ-ෟ෦-෯ෲෳัิ-ฺ็-๎๐-๙ັິ-ຼ່-ໍ໐-໙༘༙༠-༩༹༵༷༾༿ཱ-྄྆྇ྍ-ྗྙ-ྼ࿆ါ-ှ၀-၉ၖ-ၙၞ-ၠၢ-ၤၧ-ၭၱ-ၴႂ-ႍႏ-ႝ፝-፟፩-፱ᜒ-᜔ᜲ-᜴ᝒᝓᝲᝳ឴-៓៝០-៩᠋-᠍᠐-᠙ᢩᤠ-ᤫᤰ-᤻᥆-᥏᧐-᧚ᨗ-ᨛᩕ-ᩞ᩠-᩿᩼-᪉᪐-᪙᪰-᪽ᪿᫀᬀ-ᬄ᬴-᭄᭐-᭙᭫-᭳ᮀ-ᮂᮡ-ᮭ᮰-᮹᯦-᯳ᰤ-᰷᱀-᱉᱐-᱙᳐-᳔᳒-᳨᳭᳴᳷-᳹᷀-᷹᷻-᷿‿⁀⁔⃐-⃥⃜⃡-⃰⳯-⵿⳱ⷠ-〪ⷿ-゙゚〯꘠-꘩꙯ꙴ-꙽ꚞꚟ꛰꛱ꠂ꠆ꠋꠣ-ꠧ꠬ꢀꢁꢴ-ꣅ꣐-꣙꣠-꣱ꣿ-꤉ꤦ-꤭ꥇ-꥓ꦀ-ꦃ꦳-꧀꧐-꧙ꧥ꧰-꧹ꨩ-ꨶꩃꩌꩍ꩐-꩙ꩻ-ꩽꪰꪲ-ꪴꪷꪸꪾ꪿꫁ꫫ-ꫯꫵ꫶ꯣ-ꯪ꯬꯭꯰-꯹ﬞ︀-️︠-︯︳︴﹍-﹏0-9_";var ee=new RegExp("["+j+"]");var te=new RegExp("["+j+q+"]");j=q=null;var ne=[0,11,2,25,2,18,2,1,2,14,3,13,35,122,70,52,268,28,4,48,48,31,14,29,6,37,11,29,3,35,5,7,2,4,43,157,19,35,5,35,5,39,9,51,157,310,10,21,11,7,153,5,3,0,2,43,2,1,4,0,3,22,11,22,10,30,66,18,2,1,11,21,11,25,71,55,7,1,65,0,16,3,2,2,2,28,43,28,4,28,36,7,2,27,28,53,11,21,11,18,14,17,111,72,56,50,14,50,14,35,349,41,7,1,79,28,11,0,9,21,107,20,28,22,13,52,76,44,33,24,27,35,30,0,3,0,9,34,4,0,13,47,15,3,22,0,2,0,36,17,2,24,85,6,2,0,2,3,2,14,2,9,8,46,39,7,3,1,3,21,2,6,2,1,2,4,4,0,19,0,13,4,159,52,19,3,21,2,31,47,21,1,2,0,185,46,42,3,37,47,21,0,60,42,14,0,72,26,230,43,117,63,32,7,3,0,3,7,2,1,2,23,16,0,2,0,95,7,3,38,17,0,2,0,29,0,11,39,8,0,22,0,12,45,20,0,35,56,264,8,2,36,18,0,50,29,113,6,2,1,2,37,22,0,26,5,2,1,2,31,15,0,328,18,190,0,80,921,103,110,18,195,2749,1070,4050,582,8634,568,8,30,114,29,19,47,17,3,32,20,6,18,689,63,129,74,6,0,67,12,65,1,2,0,29,6135,9,1237,43,8,8952,286,50,2,18,3,9,395,2309,106,6,12,4,8,8,9,5991,84,2,70,2,1,3,0,3,1,3,3,2,11,2,0,2,6,2,64,2,3,3,7,2,6,2,27,2,3,2,4,2,0,4,6,2,339,3,24,2,24,2,30,2,24,2,30,2,24,2,30,2,24,2,30,2,24,2,7,2357,44,11,6,17,0,370,43,1301,196,60,67,8,0,1205,3,2,26,2,1,2,0,3,0,2,9,2,3,2,0,2,0,7,0,5,0,2,0,2,0,2,2,2,1,2,0,3,0,2,0,2,0,2,0,2,0,2,1,2,0,3,3,2,6,2,3,2,3,2,0,2,9,2,16,6,2,2,4,2,16,4421,42717,35,4148,12,221,3,5761,15,7472,3104,541,1507,4938];var ae=[509,0,227,0,150,4,294,9,1368,2,2,1,6,3,41,2,5,0,166,1,574,3,9,9,370,1,154,10,176,2,54,14,32,9,16,3,46,10,54,9,7,2,37,13,2,9,6,1,45,0,13,2,49,13,9,3,2,11,83,11,7,0,161,11,6,9,7,3,56,1,2,6,3,1,3,2,10,0,11,1,3,6,4,4,193,17,10,9,5,0,82,19,13,9,214,6,3,8,28,1,83,16,16,9,82,12,9,9,84,14,5,9,243,14,166,9,71,5,2,1,3,3,2,0,2,1,13,9,120,6,3,6,4,0,29,9,41,6,2,3,9,0,10,10,47,15,406,7,2,7,17,9,57,21,2,13,123,5,4,0,2,1,2,6,2,0,9,9,49,4,2,1,2,4,9,9,330,3,19306,9,135,4,60,6,26,9,1014,0,2,54,8,3,82,0,12,1,19628,1,5319,4,4,5,9,7,3,6,31,3,149,2,1418,49,513,54,5,49,9,0,15,0,23,4,2,14,1361,6,2,16,3,6,2,1,2,4,262,6,10,9,419,13,1495,6,110,6,6,9,4759,9,787719,239];function isInAstralSet(E,k){var S=65536;for(var w=0;wE){return false}S+=k[w+1];if(S>=E){return true}}}function isIdentifierStart(E,k){if(E<65){return E===36}if(E<91){return true}if(E<97){return E===95}if(E<123){return true}if(E<=65535){return E>=170&&ee.test(String.fromCharCode(E))}if(k===false){return false}return isInAstralSet(E,ne)}function isIdentifierChar(E,k){if(E<48){return E===36}if(E<58){return true}if(E<65){return false}if(E<91){return true}if(E<97){return E===95}if(E<123){return true}if(E<=65535){return E>=170&&te.test(String.fromCharCode(E))}if(k===false){return false}return isInAstralSet(E,ne)||isInAstralSet(E,ae)}var _e=function TokenType(E,k){if(k===void 0)k={};this.label=E;this.keyword=k.keyword;this.beforeExpr=!!k.beforeExpr;this.startsExpr=!!k.startsExpr;this.isLoop=!!k.isLoop;this.isAssign=!!k.isAssign;this.prefix=!!k.prefix;this.postfix=!!k.postfix;this.binop=k.binop||null;this.updateContext=null};function binop(E,k){return new _e(E,{beforeExpr:true,binop:k})}var ve={beforeExpr:true},Ee={startsExpr:true};var we={};function kw(E,k){if(k===void 0)k={};k.keyword=E;return we[E]=new _e(E,k)}var Ce={num:new _e("num",Ee),regexp:new _e("regexp",Ee),string:new _e("string",Ee),name:new _e("name",Ee),privateId:new _e("privateId",Ee),eof:new _e("eof"),bracketL:new _e("[",{beforeExpr:true,startsExpr:true}),bracketR:new _e("]"),braceL:new _e("{",{beforeExpr:true,startsExpr:true}),braceR:new _e("}"),parenL:new _e("(",{beforeExpr:true,startsExpr:true}),parenR:new _e(")"),comma:new _e(",",ve),semi:new _e(";",ve),colon:new _e(":",ve),dot:new _e("."),question:new _e("?",ve),questionDot:new _e("?."),arrow:new _e("=>",ve),template:new _e("template"),invalidTemplate:new _e("invalidTemplate"),ellipsis:new _e("...",ve),backQuote:new _e("`",Ee),dollarBraceL:new _e("${",{beforeExpr:true,startsExpr:true}),eq:new _e("=",{beforeExpr:true,isAssign:true}),assign:new _e("_=",{beforeExpr:true,isAssign:true}),incDec:new _e("++/--",{prefix:true,postfix:true,startsExpr:true}),prefix:new _e("!/~",{beforeExpr:true,prefix:true,startsExpr:true}),logicalOR:binop("||",1),logicalAND:binop("&&",2),bitwiseOR:binop("|",3),bitwiseXOR:binop("^",4),bitwiseAND:binop("&",5),equality:binop("==/!=/===/!==",6),relational:binop("/<=/>=",7),bitShift:binop("<>/>>>",8),plusMin:new _e("+/-",{beforeExpr:true,binop:9,prefix:true,startsExpr:true}),modulo:binop("%",10),star:binop("*",10),slash:binop("/",10),starstar:new _e("**",{beforeExpr:true}),coalesce:binop("??",1),_break:kw("break"),_case:kw("case",ve),_catch:kw("catch"),_continue:kw("continue"),_debugger:kw("debugger"),_default:kw("default",ve),_do:kw("do",{isLoop:true,beforeExpr:true}),_else:kw("else",ve),_finally:kw("finally"),_for:kw("for",{isLoop:true}),_function:kw("function",Ee),_if:kw("if"),_return:kw("return",ve),_switch:kw("switch"),_throw:kw("throw",ve),_try:kw("try"),_var:kw("var"),_const:kw("const"),_while:kw("while",{isLoop:true}),_with:kw("with"),_new:kw("new",{beforeExpr:true,startsExpr:true}),_this:kw("this",Ee),_super:kw("super",Ee),_class:kw("class",Ee),_extends:kw("extends",ve),_export:kw("export"),_import:kw("import",Ee),_null:kw("null",Ee),_true:kw("true",Ee),_false:kw("false",Ee),_in:kw("in",{beforeExpr:true,binop:7}),_instanceof:kw("instanceof",{beforeExpr:true,binop:7}),_typeof:kw("typeof",{beforeExpr:true,prefix:true,startsExpr:true}),_void:kw("void",{beforeExpr:true,prefix:true,startsExpr:true}),_delete:kw("delete",{beforeExpr:true,prefix:true,startsExpr:true})};var Me=/\r\n?|\n|\u2028|\u2029/;var Te=new RegExp(Me.source,"g");function isNewLine(E,k){return E===10||E===13||!k&&(E===8232||E===8233)}var Ie=/[\u1680\u2000-\u200a\u202f\u205f\u3000\ufeff]/;var Oe=/(?:\s|\/\/.*|\/\*[^]*?\*\/)*/g;var Re=Object.prototype;var Fe=Re.hasOwnProperty;var Ne=Re.toString;function has(E,k){return Fe.call(E,k)}var Be=Array.isArray||function(E){return Ne.call(E)==="[object Array]"};function wordsRegexp(E){return new RegExp("^(?:"+E.replace(/ /g,"|")+")$")}var Le=function Position(E,k){this.line=E;this.column=k};Le.prototype.offset=function offset(E){return new Le(this.line,this.column+E)};var je=function SourceLocation(E,k,S){this.start=k;this.end=S;if(E.sourceFile!==null){this.source=E.sourceFile}};function getLineInfo(E,k){for(var S=1,w=0;;){Te.lastIndex=w;var N=Te.exec(E);if(N&&N.index=2015){k.ecmaVersion-=2009}if(k.allowReserved==null){k.allowReserved=k.ecmaVersion<5}if(Be(k.onToken)){var w=k.onToken;k.onToken=function(E){return w.push(E)}}if(Be(k.onComment)){k.onComment=pushComment(k,k.onComment)}return k}function pushComment(E,k){return function(S,w,N,j,q,ee){var te={type:S?"Block":"Line",value:w,start:N,end:j};if(E.locations){te.loc=new je(this,q,ee)}if(E.ranges){te.range=[N,j]}k.push(te)}}var Ue=1,Ge=2,qe=Ue|Ge,Ve=4,He=8,We=16,Ke=32,Xe=64,Qe=128;function functionFlags(E,k){return Ge|(E?Ve:0)|(k?He:0)}var Je=0,Ye=1,Ze=2,et=3,tt=4,nt=5;var rt=function Parser(E,S,N){this.options=E=getOptions(E);this.sourceFile=E.sourceFile;this.keywords=wordsRegexp(w[E.ecmaVersion>=6?6:E.sourceType==="module"?"5module":5]);var j="";if(E.allowReserved!==true){j=k[E.ecmaVersion>=6?6:E.ecmaVersion===5?5:3];if(E.sourceType==="module"){j+=" await"}}this.reservedWords=wordsRegexp(j);var q=(j?j+" ":"")+k.strict;this.reservedWordsStrict=wordsRegexp(q);this.reservedWordsStrictBind=wordsRegexp(q+" "+k.strictBind);this.input=String(S);this.containsEsc=false;if(N){this.pos=N;this.lineStart=this.input.lastIndexOf("\n",N-1)+1;this.curLine=this.input.slice(0,this.lineStart).split(Me).length}else{this.pos=this.lineStart=0;this.curLine=1}this.type=Ce.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=true;this.inModule=E.sourceType==="module";this.strict=this.inModule||this.strictDirective(this.pos);this.potentialArrowAt=-1;this.potentialArrowInForAwait=false;this.yieldPos=this.awaitPos=this.awaitIdentPos=0;this.labels=[];this.undefinedExports=Object.create(null);if(this.pos===0&&E.allowHashBang&&this.input.slice(0,2)==="#!"){this.skipLineComment(2)}this.scopeStack=[];this.enterScope(Ue);this.regexpState=null;this.privateNameStack=[]};var it={inFunction:{configurable:true},inGenerator:{configurable:true},inAsync:{configurable:true},canAwait:{configurable:true},allowSuper:{configurable:true},allowDirectSuper:{configurable:true},treatFunctionsAsVar:{configurable:true},inNonArrowFunction:{configurable:true}};rt.prototype.parse=function parse(){var E=this.options.program||this.startNode();this.nextToken();return this.parseTopLevel(E)};it.inFunction.get=function(){return(this.currentVarScope().flags&Ge)>0};it.inGenerator.get=function(){return(this.currentVarScope().flags&He)>0&&!this.currentVarScope().inClassFieldInit};it.inAsync.get=function(){return(this.currentVarScope().flags&Ve)>0&&!this.currentVarScope().inClassFieldInit};it.canAwait.get=function(){for(var E=this.scopeStack.length-1;E>=0;E--){var k=this.scopeStack[E];if(k.inClassFieldInit){return false}if(k.flags&Ge){return(k.flags&Ve)>0}}return this.inModule&&this.options.ecmaVersion>=13||this.options.allowAwaitOutsideFunction};it.allowSuper.get=function(){var E=this.currentThisScope();var k=E.flags;var S=E.inClassFieldInit;return(k&Xe)>0||S||this.options.allowSuperOutsideMethod};it.allowDirectSuper.get=function(){return(this.currentThisScope().flags&Qe)>0};it.treatFunctionsAsVar.get=function(){return this.treatFunctionsAsVarInScope(this.currentScope())};it.inNonArrowFunction.get=function(){var E=this.currentThisScope();var k=E.flags;var S=E.inClassFieldInit;return(k&Ge)>0||S};rt.extend=function extend(){var E=[],k=arguments.length;while(k--)E[k]=arguments[k];var S=this;for(var w=0;w=,?^&]/.test(N)||N==="!"&&this.input.charAt(w+1)==="=")}E+=k[0].length;Oe.lastIndex=E;E+=Oe.exec(this.input)[0].length;if(this.input[E]===";"){E++}}};st.eat=function(E){if(this.type===E){this.next();return true}else{return false}};st.isContextual=function(E){return this.type===Ce.name&&this.value===E&&!this.containsEsc};st.eatContextual=function(E){if(!this.isContextual(E)){return false}this.next();return true};st.expectContextual=function(E){if(!this.eatContextual(E)){this.unexpected()}};st.canInsertSemicolon=function(){return this.type===Ce.eof||this.type===Ce.braceR||Me.test(this.input.slice(this.lastTokEnd,this.start))};st.insertSemicolon=function(){if(this.canInsertSemicolon()){if(this.options.onInsertedSemicolon){this.options.onInsertedSemicolon(this.lastTokEnd,this.lastTokEndLoc)}return true}};st.semicolon=function(){if(!this.eat(Ce.semi)&&!this.insertSemicolon()){this.unexpected()}};st.afterTrailingComma=function(E,k){if(this.type===E){if(this.options.onTrailingComma){this.options.onTrailingComma(this.lastTokStart,this.lastTokStartLoc)}if(!k){this.next()}return true}};st.expect=function(E){this.eat(E)||this.unexpected()};st.unexpected=function(E){this.raise(E!=null?E:this.start,"Unexpected token")};function DestructuringErrors(){this.shorthandAssign=this.trailingComma=this.parenthesizedAssign=this.parenthesizedBind=this.doubleProto=-1}st.checkPatternErrors=function(E,k){if(!E){return}if(E.trailingComma>-1){this.raiseRecoverable(E.trailingComma,"Comma is not permitted after the rest element")}var S=k?E.parenthesizedAssign:E.parenthesizedBind;if(S>-1){this.raiseRecoverable(S,"Parenthesized pattern")}};st.checkExpressionErrors=function(E,k){if(!E){return false}var S=E.shorthandAssign;var w=E.doubleProto;if(!k){return S>=0||w>=0}if(S>=0){this.raise(S,"Shorthand property assignments are valid only in destructuring patterns")}if(w>=0){this.raiseRecoverable(w,"Redefinition of __proto__ property")}};st.checkYieldAwaitInDefaultParams=function(){if(this.yieldPos&&(!this.awaitPos||this.yieldPos55295&&w<56320){return true}if(E){return false}if(w===123){return true}if(isIdentifierStart(w,true)){var j=S+1;while(isIdentifierChar(w=this.input.charCodeAt(j),true)){++j}if(w===92||w>55295&&w<56320){return true}var q=this.input.slice(S,j);if(!N.test(q)){return true}}return false};ut.isAsyncFunction=function(){if(this.options.ecmaVersion<8||!this.isContextual("async")){return false}Oe.lastIndex=this.pos;var E=Oe.exec(this.input);var k=this.pos+E[0].length,S;return!Me.test(this.input.slice(this.pos,k))&&this.input.slice(k,k+8)==="function"&&(k+8===this.input.length||!(isIdentifierChar(S=this.input.charCodeAt(k+8))||S>55295&&S<56320))};ut.parseStatement=function(E,k,S){var w=this.type,N=this.startNode(),j;if(this.isLet(E)){w=Ce._var;j="let"}switch(w){case Ce._break:case Ce._continue:return this.parseBreakContinueStatement(N,w.keyword);case Ce._debugger:return this.parseDebuggerStatement(N);case Ce._do:return this.parseDoStatement(N);case Ce._for:return this.parseForStatement(N);case Ce._function:if(E&&(this.strict||E!=="if"&&E!=="label")&&this.options.ecmaVersion>=6){this.unexpected()}return this.parseFunctionStatement(N,false,!E);case Ce._class:if(E){this.unexpected()}return this.parseClass(N,true);case Ce._if:return this.parseIfStatement(N);case Ce._return:return this.parseReturnStatement(N);case Ce._switch:return this.parseSwitchStatement(N);case Ce._throw:return this.parseThrowStatement(N);case Ce._try:return this.parseTryStatement(N);case Ce._const:case Ce._var:j=j||this.value;if(E&&j!=="var"){this.unexpected()}return this.parseVarStatement(N,j);case Ce._while:return this.parseWhileStatement(N);case Ce._with:return this.parseWithStatement(N);case Ce.braceL:return this.parseBlock(true,N);case Ce.semi:return this.parseEmptyStatement(N);case Ce._export:case Ce._import:if(this.options.ecmaVersion>10&&w===Ce._import){Oe.lastIndex=this.pos;var q=Oe.exec(this.input);var ee=this.pos+q[0].length,te=this.input.charCodeAt(ee);if(te===40||te===46){return this.parseExpressionStatement(N,this.parseExpression())}}if(!this.options.allowImportExportEverywhere){if(!k){this.raise(this.start,"'import' and 'export' may only appear at the top level")}if(!this.inModule){this.raise(this.start,"'import' and 'export' may appear only with 'sourceType: module'")}}return w===Ce._import?this.parseImport(N):this.parseExport(N,S);default:if(this.isAsyncFunction()){if(E){this.unexpected()}this.next();return this.parseFunctionStatement(N,true,!E)}var ne=this.value,ae=this.parseExpression();if(w===Ce.name&&ae.type==="Identifier"&&this.eat(Ce.colon)){return this.parseLabeledStatement(N,ne,ae,E)}else{return this.parseExpressionStatement(N,ae)}}};ut.parseBreakContinueStatement=function(E,k){var S=k==="break";this.next();if(this.eat(Ce.semi)||this.insertSemicolon()){E.label=null}else if(this.type!==Ce.name){this.unexpected()}else{E.label=this.parseIdent();this.semicolon()}var w=0;for(;w=6){this.eat(Ce.semi)}else{this.semicolon()}return this.finishNode(E,"DoWhileStatement")};ut.parseForStatement=function(E){this.next();var k=this.options.ecmaVersion>=9&&this.canAwait&&this.eatContextual("await")?this.lastTokStart:-1;this.labels.push(lt);this.enterScope(0);this.expect(Ce.parenL);if(this.type===Ce.semi){if(k>-1){this.unexpected(k)}return this.parseFor(E,null)}var S=this.isLet();if(this.type===Ce._var||this.type===Ce._const||S){var w=this.startNode(),N=S?"let":this.value;this.next();this.parseVar(w,true,N);this.finishNode(w,"VariableDeclaration");if((this.type===Ce._in||this.options.ecmaVersion>=6&&this.isContextual("of"))&&w.declarations.length===1){if(this.options.ecmaVersion>=9){if(this.type===Ce._in){if(k>-1){this.unexpected(k)}}else{E.await=k>-1}}return this.parseForIn(E,w)}if(k>-1){this.unexpected(k)}return this.parseFor(E,w)}var j=new DestructuringErrors;var q=this.parseExpression(k>-1?"await":true,j);if(this.type===Ce._in||this.options.ecmaVersion>=6&&this.isContextual("of")){if(this.options.ecmaVersion>=9){if(this.type===Ce._in){if(k>-1){this.unexpected(k)}}else{E.await=k>-1}}this.toAssignable(q,false,j);this.checkLValPattern(q);return this.parseForIn(E,q)}else{this.checkExpressionErrors(j,true)}if(k>-1){this.unexpected(k)}return this.parseFor(E,q)};ut.parseFunctionStatement=function(E,k,S){this.next();return this.parseFunction(E,ft|(S?0:dt),false,k)};ut.parseIfStatement=function(E){this.next();E.test=this.parseParenExpression();E.consequent=this.parseStatement("if");E.alternate=this.eat(Ce._else)?this.parseStatement("if"):null;return this.finishNode(E,"IfStatement")};ut.parseReturnStatement=function(E){if(!this.inFunction&&!this.options.allowReturnOutsideFunction){this.raise(this.start,"'return' outside of function")}this.next();if(this.eat(Ce.semi)||this.insertSemicolon()){E.argument=null}else{E.argument=this.parseExpression();this.semicolon()}return this.finishNode(E,"ReturnStatement")};ut.parseSwitchStatement=function(E){this.next();E.discriminant=this.parseParenExpression();E.cases=[];this.expect(Ce.braceL);this.labels.push(ct);this.enterScope(0);var k;for(var S=false;this.type!==Ce.braceR;){if(this.type===Ce._case||this.type===Ce._default){var w=this.type===Ce._case;if(k){this.finishNode(k,"SwitchCase")}E.cases.push(k=this.startNode());k.consequent=[];this.next();if(w){k.test=this.parseExpression()}else{if(S){this.raiseRecoverable(this.lastTokStart,"Multiple default clauses")}S=true;k.test=null}this.expect(Ce.colon)}else{if(!k){this.unexpected()}k.consequent.push(this.parseStatement(null))}}this.exitScope();if(k){this.finishNode(k,"SwitchCase")}this.next();this.labels.pop();return this.finishNode(E,"SwitchStatement")};ut.parseThrowStatement=function(E){this.next();if(Me.test(this.input.slice(this.lastTokEnd,this.start))){this.raise(this.lastTokEnd,"Illegal newline after throw")}E.argument=this.parseExpression();this.semicolon();return this.finishNode(E,"ThrowStatement")};var pt=[];ut.parseTryStatement=function(E){this.next();E.block=this.parseBlock();E.handler=null;if(this.type===Ce._catch){var k=this.startNode();this.next();if(this.eat(Ce.parenL)){k.param=this.parseBindingAtom();var S=k.param.type==="Identifier";this.enterScope(S?Ke:0);this.checkLValPattern(k.param,S?tt:Ze);this.expect(Ce.parenR)}else{if(this.options.ecmaVersion<10){this.unexpected()}k.param=null;this.enterScope(0)}k.body=this.parseBlock(false);this.exitScope();E.handler=this.finishNode(k,"CatchClause")}E.finalizer=this.eat(Ce._finally)?this.parseBlock():null;if(!E.handler&&!E.finalizer){this.raise(E.start,"Missing catch or finally clause")}return this.finishNode(E,"TryStatement")};ut.parseVarStatement=function(E,k){this.next();this.parseVar(E,false,k);this.semicolon();return this.finishNode(E,"VariableDeclaration")};ut.parseWhileStatement=function(E){this.next();E.test=this.parseParenExpression();this.labels.push(lt);E.body=this.parseStatement("while");this.labels.pop();return this.finishNode(E,"WhileStatement")};ut.parseWithStatement=function(E){if(this.strict){this.raise(this.start,"'with' in strict mode")}this.next();E.object=this.parseParenExpression();E.body=this.parseStatement("with");return this.finishNode(E,"WithStatement")};ut.parseEmptyStatement=function(E){this.next();return this.finishNode(E,"EmptyStatement")};ut.parseLabeledStatement=function(E,k,S,w){for(var N=0,j=this.labels;N=0;te--){var ne=this.labels[te];if(ne.statementStart===E.start){ne.statementStart=this.start;ne.kind=ee}else{break}}this.labels.push({name:k,kind:ee,statementStart:this.start});E.body=this.parseStatement(w?w.indexOf("label")===-1?w+"label":w:"label");this.labels.pop();E.label=S;return this.finishNode(E,"LabeledStatement")};ut.parseExpressionStatement=function(E,k){E.expression=k;this.semicolon();return this.finishNode(E,"ExpressionStatement")};ut.parseBlock=function(E,k,S){if(E===void 0)E=true;if(k===void 0)k=this.startNode();k.body=[];this.expect(Ce.braceL);if(E){this.enterScope(0)}while(this.type!==Ce.braceR){var w=this.parseStatement(null);k.body.push(w)}if(S){this.strict=false}this.next();if(E){this.exitScope()}return this.finishNode(k,"BlockStatement")};ut.parseFor=function(E,k){E.init=k;this.expect(Ce.semi);E.test=this.type===Ce.semi?null:this.parseExpression();this.expect(Ce.semi);E.update=this.type===Ce.parenR?null:this.parseExpression();this.expect(Ce.parenR);E.body=this.parseStatement("for");this.exitScope();this.labels.pop();return this.finishNode(E,"ForStatement")};ut.parseForIn=function(E,k){var S=this.type===Ce._in;this.next();if(k.type==="VariableDeclaration"&&k.declarations[0].init!=null&&(!S||this.options.ecmaVersion<8||this.strict||k.kind!=="var"||k.declarations[0].id.type!=="Identifier")){this.raise(k.start,(S?"for-in":"for-of")+" loop variable declaration may not have an initializer")}E.left=k;E.right=S?this.parseExpression():this.parseMaybeAssign();this.expect(Ce.parenR);E.body=this.parseStatement("for");this.exitScope();this.labels.pop();return this.finishNode(E,S?"ForInStatement":"ForOfStatement")};ut.parseVar=function(E,k,S){E.declarations=[];E.kind=S;for(;;){var w=this.startNode();this.parseVarId(w,S);if(this.eat(Ce.eq)){w.init=this.parseMaybeAssign(k)}else if(S==="const"&&!(this.type===Ce._in||this.options.ecmaVersion>=6&&this.isContextual("of"))){this.unexpected()}else if(w.id.type!=="Identifier"&&!(k&&(this.type===Ce._in||this.isContextual("of")))){this.raise(this.lastTokEnd,"Complex binding patterns require an initialization value")}else{w.init=null}E.declarations.push(this.finishNode(w,"VariableDeclarator"));if(!this.eat(Ce.comma)){break}}return E};ut.parseVarId=function(E,k){E.id=this.parseBindingAtom();this.checkLValPattern(E.id,k==="var"?Ye:Ze,false)};var ft=1,dt=2,ht=4;ut.parseFunction=function(E,k,S,w){this.initFunction(E);if(this.options.ecmaVersion>=9||this.options.ecmaVersion>=6&&!w){if(this.type===Ce.star&&k&dt){this.unexpected()}E.generator=this.eat(Ce.star)}if(this.options.ecmaVersion>=8){E.async=!!w}if(k&ft){E.id=k&ht&&this.type!==Ce.name?null:this.parseIdent();if(E.id&&!(k&dt)){this.checkLValSimple(E.id,this.strict||E.generator||E.async?this.treatFunctionsAsVar?Ye:Ze:et)}}var N=this.yieldPos,j=this.awaitPos,q=this.awaitIdentPos;this.yieldPos=0;this.awaitPos=0;this.awaitIdentPos=0;this.enterScope(functionFlags(E.async,E.generator));if(!(k&ft)){E.id=this.type===Ce.name?this.parseIdent():null}this.parseFunctionParams(E);this.parseFunctionBody(E,S,false);this.yieldPos=N;this.awaitPos=j;this.awaitIdentPos=q;return this.finishNode(E,k&ft?"FunctionDeclaration":"FunctionExpression")};ut.parseFunctionParams=function(E){this.expect(Ce.parenL);E.params=this.parseBindingList(Ce.parenR,false,this.options.ecmaVersion>=8);this.checkYieldAwaitInDefaultParams()};ut.parseClass=function(E,k){this.next();var S=this.strict;this.strict=true;this.parseClassId(E,k);this.parseClassSuper(E);var w=this.enterClassBody();var N=this.startNode();var j=false;N.body=[];this.expect(Ce.braceL);while(this.type!==Ce.braceR){var q=this.parseClassElement(E.superClass!==null);if(q){N.body.push(q);if(q.type==="MethodDefinition"&&q.kind==="constructor"){if(j){this.raise(q.start,"Duplicate constructor in the same class")}j=true}else if(q.key.type==="PrivateIdentifier"&&isPrivateNameConflicted(w,q)){this.raiseRecoverable(q.key.start,"Identifier '#"+q.key.name+"' has already been declared")}}}this.strict=S;this.next();E.body=this.finishNode(N,"ClassBody");this.exitClassBody();return this.finishNode(E,k?"ClassDeclaration":"ClassExpression")};ut.parseClassElement=function(E){if(this.eat(Ce.semi)){return null}var k=this.options.ecmaVersion;var S=this.startNode();var w="";var N=false;var j=false;var q="method";S.static=false;if(this.eatContextual("static")){if(this.isClassElementNameStart()||this.type===Ce.star){S.static=true}else{w="static"}}if(!w&&k>=8&&this.eatContextual("async")){if((this.isClassElementNameStart()||this.type===Ce.star)&&!this.canInsertSemicolon()){j=true}else{w="async"}}if(!w&&(k>=9||!j)&&this.eat(Ce.star)){N=true}if(!w&&!j&&!N){var ee=this.value;if(this.eatContextual("get")||this.eatContextual("set")){if(this.isClassElementNameStart()){q=ee}else{w=ee}}}if(w){S.computed=false;S.key=this.startNodeAt(this.lastTokStart,this.lastTokStartLoc);S.key.name=w;this.finishNode(S.key,"Identifier")}else{this.parseClassElementName(S)}if(k<13||this.type===Ce.parenL||q!=="method"||N||j){var te=!S.static&&checkKeyName(S,"constructor");var ne=te&&E;if(te&&q!=="method"){this.raise(S.key.start,"Constructor can't have get/set modifier")}S.kind=te?"constructor":q;this.parseClassMethod(S,N,j,ne)}else{this.parseClassField(S)}return S};ut.isClassElementNameStart=function(){return this.type===Ce.name||this.type===Ce.privateId||this.type===Ce.num||this.type===Ce.string||this.type===Ce.bracketL||this.type.keyword};ut.parseClassElementName=function(E){if(this.type===Ce.privateId){if(this.value==="constructor"){this.raise(this.start,"Classes can't have an element named '#constructor'")}E.computed=false;E.key=this.parsePrivateIdent()}else{this.parsePropertyName(E)}};ut.parseClassMethod=function(E,k,S,w){var N=E.key;if(E.kind==="constructor"){if(k){this.raise(N.start,"Constructor can't be a generator")}if(S){this.raise(N.start,"Constructor can't be an async method")}}else if(E.static&&checkKeyName(E,"prototype")){this.raise(N.start,"Classes may not have a static property named prototype")}var j=E.value=this.parseMethod(k,S,w);if(E.kind==="get"&&j.params.length!==0){this.raiseRecoverable(j.start,"getter should have no params")}if(E.kind==="set"&&j.params.length!==1){this.raiseRecoverable(j.start,"setter should have exactly one param")}if(E.kind==="set"&&j.params[0].type==="RestElement"){this.raiseRecoverable(j.params[0].start,"Setter cannot use rest params")}return this.finishNode(E,"MethodDefinition")};ut.parseClassField=function(E){if(checkKeyName(E,"constructor")){this.raise(E.key.start,"Classes can't have a field named 'constructor'")}else if(E.static&&checkKeyName(E,"prototype")){this.raise(E.key.start,"Classes can't have a static field named 'prototype'")}if(this.eat(Ce.eq)){var k=this.currentThisScope();var S=k.inClassFieldInit;k.inClassFieldInit=true;E.value=this.parseMaybeAssign();k.inClassFieldInit=S}else{E.value=null}this.semicolon();return this.finishNode(E,"PropertyDefinition")};ut.parseClassId=function(E,k){if(this.type===Ce.name){E.id=this.parseIdent();if(k){this.checkLValSimple(E.id,Ze,false)}}else{if(k===true){this.unexpected()}E.id=null}};ut.parseClassSuper=function(E){E.superClass=this.eat(Ce._extends)?this.parseExprSubscripts():null};ut.enterClassBody=function(){var E={declared:Object.create(null),used:[]};this.privateNameStack.push(E);return E.declared};ut.exitClassBody=function(){var E=this.privateNameStack.pop();var k=E.declared;var S=E.used;var w=this.privateNameStack.length;var N=w===0?null:this.privateNameStack[w-1];for(var j=0;j=11){if(this.eatContextual("as")){E.exported=this.parseIdent(true);this.checkExport(k,E.exported.name,this.lastTokStart)}else{E.exported=null}}this.expectContextual("from");if(this.type!==Ce.string){this.unexpected()}E.source=this.parseExprAtom();this.semicolon();return this.finishNode(E,"ExportAllDeclaration")}if(this.eat(Ce._default)){this.checkExport(k,"default",this.lastTokStart);var S;if(this.type===Ce._function||(S=this.isAsyncFunction())){var w=this.startNode();this.next();if(S){this.next()}E.declaration=this.parseFunction(w,ft|ht,false,S)}else if(this.type===Ce._class){var N=this.startNode();E.declaration=this.parseClass(N,"nullableID")}else{E.declaration=this.parseMaybeAssign();this.semicolon()}return this.finishNode(E,"ExportDefaultDeclaration")}if(this.shouldParseExportStatement()){E.declaration=this.parseStatement(null);if(E.declaration.type==="VariableDeclaration"){this.checkVariableExport(k,E.declaration.declarations)}else{this.checkExport(k,E.declaration.id.name,E.declaration.id.start)}E.specifiers=[];E.source=null}else{E.declaration=null;E.specifiers=this.parseExportSpecifiers(k);if(this.eatContextual("from")){if(this.type!==Ce.string){this.unexpected()}E.source=this.parseExprAtom()}else{for(var j=0,q=E.specifiers;j=6&&E){switch(E.type){case"Identifier":if(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";if(S){this.checkPatternErrors(S,true)}for(var w=0,N=E.properties;w=8&&!j&&q.name==="async"&&!this.canInsertSemicolon()&&this.eat(Ce._function)){return this.parseFunction(this.startNodeAt(w,N),0,false,true)}if(S&&!this.canInsertSemicolon()){if(this.eat(Ce.arrow)){return this.parseArrowExpression(this.startNodeAt(w,N),[q],false)}if(this.options.ecmaVersion>=8&&q.name==="async"&&this.type===Ce.name&&!j&&(!this.potentialArrowInForAwait||this.value!=="of"||this.containsEsc)){q=this.parseIdent(false);if(this.canInsertSemicolon()||!this.eat(Ce.arrow)){this.unexpected()}return this.parseArrowExpression(this.startNodeAt(w,N),[q],true)}}return q;case Ce.regexp:var ee=this.value;k=this.parseLiteral(ee.value);k.regex={pattern:ee.pattern,flags:ee.flags};return k;case Ce.num:case Ce.string:return this.parseLiteral(this.value);case Ce._null:case Ce._true:case Ce._false:k=this.startNode();k.value=this.type===Ce._null?null:this.type===Ce._true;k.raw=this.type.keyword;this.next();return this.finishNode(k,"Literal");case Ce.parenL:var te=this.start,ne=this.parseParenAndDistinguishExpression(S);if(E){if(E.parenthesizedAssign<0&&!this.isSimpleAssignTarget(ne)){E.parenthesizedAssign=te}if(E.parenthesizedBind<0){E.parenthesizedBind=te}}return ne;case Ce.bracketL:k=this.startNode();this.next();k.elements=this.parseExprList(Ce.bracketR,true,true,E);return this.finishNode(k,"ArrayExpression");case Ce.braceL:return this.parseObj(false,E);case Ce._function:k=this.startNode();this.next();return this.parseFunction(k,0);case Ce._class:return this.parseClass(this.startNode(),false);case Ce._new:return this.parseNew();case Ce.backQuote:return this.parseTemplate();case Ce._import:if(this.options.ecmaVersion>=11){return this.parseExprImport()}else{return this.unexpected()}default:this.unexpected()}};gt.parseExprImport=function(){var E=this.startNode();if(this.containsEsc){this.raiseRecoverable(this.start,"Escape sequence in keyword import")}var k=this.parseIdent(true);switch(this.type){case Ce.parenL:return this.parseDynamicImport(E);case Ce.dot:E.meta=k;return this.parseImportMeta(E);default:this.unexpected()}};gt.parseDynamicImport=function(E){this.next();E.source=this.parseMaybeAssign();if(!this.eat(Ce.parenR)){var k=this.start;if(this.eat(Ce.comma)&&this.eat(Ce.parenR)){this.raiseRecoverable(k,"Trailing comma is not allowed in import()")}else{this.unexpected(k)}}return this.finishNode(E,"ImportExpression")};gt.parseImportMeta=function(E){this.next();var k=this.containsEsc;E.property=this.parseIdent(true);if(E.property.name!=="meta"){this.raiseRecoverable(E.property.start,"The only valid meta property for import is 'import.meta'")}if(k){this.raiseRecoverable(E.start,"'import.meta' must not contain escaped characters")}if(this.options.sourceType!=="module"&&!this.options.allowImportExportEverywhere){this.raiseRecoverable(E.start,"Cannot use 'import.meta' outside a module")}return this.finishNode(E,"MetaProperty")};gt.parseLiteral=function(E){var k=this.startNode();k.value=E;k.raw=this.input.slice(this.start,this.end);if(k.raw.charCodeAt(k.raw.length-1)===110){k.bigint=k.raw.slice(0,-1).replace(/_/g,"")}this.next();return this.finishNode(k,"Literal")};gt.parseParenExpression=function(){this.expect(Ce.parenL);var E=this.parseExpression();this.expect(Ce.parenR);return E};gt.parseParenAndDistinguishExpression=function(E){var k=this.start,S=this.startLoc,w,N=this.options.ecmaVersion>=8;if(this.options.ecmaVersion>=6){this.next();var j=this.start,q=this.startLoc;var ee=[],te=true,ne=false;var ae=new DestructuringErrors,_e=this.yieldPos,ve=this.awaitPos,Ee;this.yieldPos=0;this.awaitPos=0;while(this.type!==Ce.parenR){te?te=false:this.expect(Ce.comma);if(N&&this.afterTrailingComma(Ce.parenR,true)){ne=true;break}else if(this.type===Ce.ellipsis){Ee=this.start;ee.push(this.parseParenItem(this.parseRestBinding()));if(this.type===Ce.comma){this.raise(this.start,"Comma is not permitted after the rest element")}break}else{ee.push(this.parseMaybeAssign(false,ae,this.parseParenItem))}}var we=this.start,Me=this.startLoc;this.expect(Ce.parenR);if(E&&!this.canInsertSemicolon()&&this.eat(Ce.arrow)){this.checkPatternErrors(ae,false);this.checkYieldAwaitInDefaultParams();this.yieldPos=_e;this.awaitPos=ve;return this.parseParenArrowList(k,S,ee)}if(!ee.length||ne){this.unexpected(this.lastTokStart)}if(Ee){this.unexpected(Ee)}this.checkExpressionErrors(ae,true);this.yieldPos=_e||this.yieldPos;this.awaitPos=ve||this.awaitPos;if(ee.length>1){w=this.startNodeAt(j,q);w.expressions=ee;this.finishNodeAt(w,"SequenceExpression",we,Me)}else{w=ee[0]}}else{w=this.parseParenExpression()}if(this.options.preserveParens){var Te=this.startNodeAt(k,S);Te.expression=w;return this.finishNode(Te,"ParenthesizedExpression")}else{return w}};gt.parseParenItem=function(E){return E};gt.parseParenArrowList=function(E,k,S){return this.parseArrowExpression(this.startNodeAt(E,k),S)};var yt=[];gt.parseNew=function(){if(this.containsEsc){this.raiseRecoverable(this.start,"Escape sequence in keyword new")}var E=this.startNode();var k=this.parseIdent(true);if(this.options.ecmaVersion>=6&&this.eat(Ce.dot)){E.meta=k;var S=this.containsEsc;E.property=this.parseIdent(true);if(E.property.name!=="target"){this.raiseRecoverable(E.property.start,"The only valid meta property for new is 'new.target'")}if(S){this.raiseRecoverable(E.start,"'new.target' must not contain escaped characters")}if(!this.inNonArrowFunction){this.raiseRecoverable(E.start,"'new.target' can only be used in functions")}return this.finishNode(E,"MetaProperty")}var w=this.start,N=this.startLoc,j=this.type===Ce._import;E.callee=this.parseSubscripts(this.parseExprAtom(),w,N,true);if(j&&E.callee.type==="ImportExpression"){this.raise(w,"Cannot use new with import()")}if(this.eat(Ce.parenL)){E.arguments=this.parseExprList(Ce.parenR,this.options.ecmaVersion>=8,false)}else{E.arguments=yt}return this.finishNode(E,"NewExpression")};gt.parseTemplateElement=function(E){var k=E.isTagged;var S=this.startNode();if(this.type===Ce.invalidTemplate){if(!k){this.raiseRecoverable(this.start,"Bad escape sequence in untagged template literal")}S.value={raw:this.value,cooked:null}}else{S.value={raw:this.input.slice(this.start,this.end).replace(/\r\n?/g,"\n"),cooked:this.value}}this.next();S.tail=this.type===Ce.backQuote;return this.finishNode(S,"TemplateElement")};gt.parseTemplate=function(E){if(E===void 0)E={};var k=E.isTagged;if(k===void 0)k=false;var S=this.startNode();this.next();S.expressions=[];var w=this.parseTemplateElement({isTagged:k});S.quasis=[w];while(!w.tail){if(this.type===Ce.eof){this.raise(this.pos,"Unterminated template literal")}this.expect(Ce.dollarBraceL);S.expressions.push(this.parseExpression());this.expect(Ce.braceR);S.quasis.push(w=this.parseTemplateElement({isTagged:k}))}this.next();return this.finishNode(S,"TemplateLiteral")};gt.isAsyncProp=function(E){return!E.computed&&E.key.type==="Identifier"&&E.key.name==="async"&&(this.type===Ce.name||this.type===Ce.num||this.type===Ce.string||this.type===Ce.bracketL||this.type.keyword||this.options.ecmaVersion>=9&&this.type===Ce.star)&&!Me.test(this.input.slice(this.lastTokEnd,this.start))};gt.parseObj=function(E,k){var S=this.startNode(),w=true,N={};S.properties=[];this.next();while(!this.eat(Ce.braceR)){if(!w){this.expect(Ce.comma);if(this.options.ecmaVersion>=5&&this.afterTrailingComma(Ce.braceR)){break}}else{w=false}var j=this.parseProperty(E,k);if(!E){this.checkPropClash(j,N,k)}S.properties.push(j)}return this.finishNode(S,E?"ObjectPattern":"ObjectExpression")};gt.parseProperty=function(E,k){var S=this.startNode(),w,N,j,q;if(this.options.ecmaVersion>=9&&this.eat(Ce.ellipsis)){if(E){S.argument=this.parseIdent(false);if(this.type===Ce.comma){this.raise(this.start,"Comma is not permitted after the rest element")}return this.finishNode(S,"RestElement")}if(this.type===Ce.parenL&&k){if(k.parenthesizedAssign<0){k.parenthesizedAssign=this.start}if(k.parenthesizedBind<0){k.parenthesizedBind=this.start}}S.argument=this.parseMaybeAssign(false,k);if(this.type===Ce.comma&&k&&k.trailingComma<0){k.trailingComma=this.start}return this.finishNode(S,"SpreadElement")}if(this.options.ecmaVersion>=6){S.method=false;S.shorthand=false;if(E||k){j=this.start;q=this.startLoc}if(!E){w=this.eat(Ce.star)}}var ee=this.containsEsc;this.parsePropertyName(S);if(!E&&!ee&&this.options.ecmaVersion>=8&&!w&&this.isAsyncProp(S)){N=true;w=this.options.ecmaVersion>=9&&this.eat(Ce.star);this.parsePropertyName(S,k)}else{N=false}this.parsePropertyValue(S,E,w,N,j,q,k,ee);return this.finishNode(S,"Property")};gt.parsePropertyValue=function(E,k,S,w,N,j,q,ee){if((S||w)&&this.type===Ce.colon){this.unexpected()}if(this.eat(Ce.colon)){E.value=k?this.parseMaybeDefault(this.start,this.startLoc):this.parseMaybeAssign(false,q);E.kind="init"}else if(this.options.ecmaVersion>=6&&this.type===Ce.parenL){if(k){this.unexpected()}E.kind="init";E.method=true;E.value=this.parseMethod(S,w)}else if(!k&&!ee&&this.options.ecmaVersion>=5&&!E.computed&&E.key.type==="Identifier"&&(E.key.name==="get"||E.key.name==="set")&&(this.type!==Ce.comma&&this.type!==Ce.braceR&&this.type!==Ce.eq)){if(S||w){this.unexpected()}E.kind=E.key.name;this.parsePropertyName(E);E.value=this.parseMethod(false);var te=E.kind==="get"?0:1;if(E.value.params.length!==te){var ne=E.value.start;if(E.kind==="get"){this.raiseRecoverable(ne,"getter should have no params")}else{this.raiseRecoverable(ne,"setter should have exactly one param")}}else{if(E.kind==="set"&&E.value.params[0].type==="RestElement"){this.raiseRecoverable(E.value.params[0].start,"Setter cannot use rest params")}}}else if(this.options.ecmaVersion>=6&&!E.computed&&E.key.type==="Identifier"){if(S||w){this.unexpected()}this.checkUnreserved(E.key);if(E.key.name==="await"&&!this.awaitIdentPos){this.awaitIdentPos=N}E.kind="init";if(k){E.value=this.parseMaybeDefault(N,j,this.copyNode(E.key))}else if(this.type===Ce.eq&&q){if(q.shorthandAssign<0){q.shorthandAssign=this.start}E.value=this.parseMaybeDefault(N,j,this.copyNode(E.key))}else{E.value=this.copyNode(E.key)}E.shorthand=true}else{this.unexpected()}};gt.parsePropertyName=function(E){if(this.options.ecmaVersion>=6){if(this.eat(Ce.bracketL)){E.computed=true;E.key=this.parseMaybeAssign();this.expect(Ce.bracketR);return E.key}else{E.computed=false}}return E.key=this.type===Ce.num||this.type===Ce.string?this.parseExprAtom():this.parseIdent(this.options.allowReserved!=="never")};gt.initFunction=function(E){E.id=null;if(this.options.ecmaVersion>=6){E.generator=E.expression=false}if(this.options.ecmaVersion>=8){E.async=false}};gt.parseMethod=function(E,k,S){var w=this.startNode(),N=this.yieldPos,j=this.awaitPos,q=this.awaitIdentPos;this.initFunction(w);if(this.options.ecmaVersion>=6){w.generator=E}if(this.options.ecmaVersion>=8){w.async=!!k}this.yieldPos=0;this.awaitPos=0;this.awaitIdentPos=0;this.enterScope(functionFlags(k,w.generator)|Xe|(S?Qe:0));this.expect(Ce.parenL);w.params=this.parseBindingList(Ce.parenR,false,this.options.ecmaVersion>=8);this.checkYieldAwaitInDefaultParams();this.parseFunctionBody(w,false,true);this.yieldPos=N;this.awaitPos=j;this.awaitIdentPos=q;return this.finishNode(w,"FunctionExpression")};gt.parseArrowExpression=function(E,k,S){var w=this.yieldPos,N=this.awaitPos,j=this.awaitIdentPos;this.enterScope(functionFlags(S,false)|We);this.initFunction(E);if(this.options.ecmaVersion>=8){E.async=!!S}this.yieldPos=0;this.awaitPos=0;this.awaitIdentPos=0;E.params=this.toAssignableList(k,true);this.parseFunctionBody(E,true,false);this.yieldPos=w;this.awaitPos=N;this.awaitIdentPos=j;return this.finishNode(E,"ArrowFunctionExpression")};gt.parseFunctionBody=function(E,k,S){var w=k&&this.type!==Ce.braceL;var N=this.strict,j=false;if(w){E.body=this.parseMaybeAssign();E.expression=true;this.checkParams(E,false)}else{var q=this.options.ecmaVersion>=7&&!this.isSimpleParamList(E.params);if(!N||q){j=this.strictDirective(this.end);if(j&&q){this.raiseRecoverable(E.start,"Illegal 'use strict' directive in function with non-simple parameter list")}}var ee=this.labels;this.labels=[];if(j){this.strict=true}this.checkParams(E,!N&&!j&&!k&&!S&&this.isSimpleParamList(E.params));if(this.strict&&E.id){this.checkLValSimple(E.id,nt)}E.body=this.parseBlock(false,undefined,j&&!N);E.expression=false;this.adaptDirectivePrologue(E.body.body);this.labels=ee}this.exitScope()};gt.isSimpleParamList=function(E){for(var k=0,S=E;k-1||N.functions.indexOf(E)>-1||N.var.indexOf(E)>-1;N.lexical.push(E);if(this.inModule&&N.flags&Ue){delete this.undefinedExports[E]}}else if(k===tt){var j=this.currentScope();j.lexical.push(E)}else if(k===et){var q=this.currentScope();if(this.treatFunctionsAsVar){w=q.lexical.indexOf(E)>-1}else{w=q.lexical.indexOf(E)>-1||q.var.indexOf(E)>-1}q.functions.push(E)}else{for(var ee=this.scopeStack.length-1;ee>=0;--ee){var te=this.scopeStack[ee];if(te.lexical.indexOf(E)>-1&&!(te.flags&Ke&&te.lexical[0]===E)||!this.treatFunctionsAsVarInScope(te)&&te.functions.indexOf(E)>-1){w=true;break}te.var.push(E);if(this.inModule&&te.flags&Ue){delete this.undefinedExports[E]}if(te.flags&qe){break}}}if(w){this.raiseRecoverable(S,"Identifier '"+E+"' has already been declared")}};vt.checkLocalExport=function(E){if(this.scopeStack[0].lexical.indexOf(E.name)===-1&&this.scopeStack[0].var.indexOf(E.name)===-1){this.undefinedExports[E.name]=E}};vt.currentScope=function(){return this.scopeStack[this.scopeStack.length-1]};vt.currentVarScope=function(){for(var E=this.scopeStack.length-1;;E--){var k=this.scopeStack[E];if(k.flags&qe){return k}}};vt.currentThisScope=function(){for(var E=this.scopeStack.length-1;;E--){var k=this.scopeStack[E];if(k.flags&qe&&!(k.flags&We)){return k}}};var Et=function Node(E,k,S){this.type="";this.start=k;this.end=0;if(E.options.locations){this.loc=new je(E,S)}if(E.options.directSourceFile){this.sourceFile=E.options.directSourceFile}if(E.options.ranges){this.range=[k,0]}};var kt=rt.prototype;kt.startNode=function(){return new Et(this,this.start,this.startLoc)};kt.startNodeAt=function(E,k){return new Et(this,E,k)};function finishNodeAt(E,k,S,w){E.type=k;E.end=S;if(this.options.locations){E.loc.end=w}if(this.options.ranges){E.range[1]=S}return E}kt.finishNode=function(E,k){return finishNodeAt.call(this,E,k,this.lastTokEnd,this.lastTokEndLoc)};kt.finishNodeAt=function(E,k,S,w){return finishNodeAt.call(this,E,k,S,w)};kt.copyNode=function(E){var k=new Et(this,E.start,this.startLoc);for(var S in E){k[S]=E[S]}return k};var xt=function TokContext(E,k,S,w,N){this.token=E;this.isExpr=!!k;this.preserveSpace=!!S;this.override=w;this.generator=!!N};var St={b_stat:new xt("{",false),b_expr:new xt("{",true),b_tmpl:new xt("${",false),p_stat:new xt("(",false),p_expr:new xt("(",true),q_tmpl:new xt("`",true,true,(function(E){return E.tryReadTemplateToken()})),f_stat:new xt("function",false),f_expr:new xt("function",true),f_expr_gen:new xt("function",true,false,null,true),f_gen:new xt("function",false,false,null,true)};var wt=rt.prototype;wt.initialContext=function(){return[St.b_stat]};wt.braceIsBlock=function(E){var k=this.curContext();if(k===St.f_expr||k===St.f_stat){return true}if(E===Ce.colon&&(k===St.b_stat||k===St.b_expr)){return!k.isExpr}if(E===Ce._return||E===Ce.name&&this.exprAllowed){return Me.test(this.input.slice(this.lastTokEnd,this.start))}if(E===Ce._else||E===Ce.semi||E===Ce.eof||E===Ce.parenR||E===Ce.arrow){return true}if(E===Ce.braceL){return k===St.b_stat}if(E===Ce._var||E===Ce._const||E===Ce.name){return false}return!this.exprAllowed};wt.inGeneratorContext=function(){for(var E=this.context.length-1;E>=1;E--){var k=this.context[E];if(k.token==="function"){return k.generator}}return false};wt.updateContext=function(E){var k,S=this.type;if(S.keyword&&E===Ce.dot){this.exprAllowed=false}else if(k=S.updateContext){k.call(this,E)}else{this.exprAllowed=S.beforeExpr}};Ce.parenR.updateContext=Ce.braceR.updateContext=function(){if(this.context.length===1){this.exprAllowed=true;return}var E=this.context.pop();if(E===St.b_stat&&this.curContext().token==="function"){E=this.context.pop()}this.exprAllowed=!E.isExpr};Ce.braceL.updateContext=function(E){this.context.push(this.braceIsBlock(E)?St.b_stat:St.b_expr);this.exprAllowed=true};Ce.dollarBraceL.updateContext=function(){this.context.push(St.b_tmpl);this.exprAllowed=true};Ce.parenL.updateContext=function(E){var k=E===Ce._if||E===Ce._for||E===Ce._with||E===Ce._while;this.context.push(k?St.p_stat:St.p_expr);this.exprAllowed=true};Ce.incDec.updateContext=function(){};Ce._function.updateContext=Ce._class.updateContext=function(E){if(E.beforeExpr&&E!==Ce._else&&!(E===Ce.semi&&this.curContext()!==St.p_stat)&&!(E===Ce._return&&Me.test(this.input.slice(this.lastTokEnd,this.start)))&&!((E===Ce.colon||E===Ce.braceL)&&this.curContext()===St.b_stat)){this.context.push(St.f_expr)}else{this.context.push(St.f_stat)}this.exprAllowed=false};Ce.backQuote.updateContext=function(){if(this.curContext()===St.q_tmpl){this.context.pop()}else{this.context.push(St.q_tmpl)}this.exprAllowed=false};Ce.star.updateContext=function(E){if(E===Ce._function){var k=this.context.length-1;if(this.context[k]===St.f_expr){this.context[k]=St.f_expr_gen}else{this.context[k]=St.f_gen}}this.exprAllowed=true};Ce.name.updateContext=function(E){var k=false;if(this.options.ecmaVersion>=6&&E!==Ce.dot){if(this.value==="of"&&!this.exprAllowed||this.value==="yield"&&this.inGeneratorContext()){k=true}}this.exprAllowed=k};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";var Ct=At+" Extended_Pictographic";var Dt=Ct;var Mt=Dt+" EBase EComp EMod EPres ExtPict";var Tt={9:At,10:Ct,11:Dt,12:Mt};var It="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";var Pt="Adlam Adlm Ahom 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 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";var Ot=Pt+" Dogra Dogr Gunjala_Gondi Gong Hanifi_Rohingya Rohg Makasar Maka Medefaidrin Medf Old_Sogdian Sogo Sogdian Sogd";var Rt=Ot+" Elymaic Elym Nandinagari Nand Nyiakeng_Puachue_Hmong Hmnp Wancho Wcho";var Ft=Rt+" Chorasmian Chrs Diak Dives_Akuru Khitan_Small_Script Kits Yezi Yezidi";var Nt={9:Pt,10:Ot,11:Rt,12:Ft};var Bt={};function buildUnicodeData(E){var k=Bt[E]={binary:wordsRegexp(Tt[E]+" "+It),nonBinary:{General_Category:wordsRegexp(It),Script:wordsRegexp(Nt[E])}};k.nonBinary.Script_Extensions=k.nonBinary.Script;k.nonBinary.gc=k.nonBinary.General_Category;k.nonBinary.sc=k.nonBinary.Script;k.nonBinary.scx=k.nonBinary.Script_Extensions}buildUnicodeData(9);buildUnicodeData(10);buildUnicodeData(11);buildUnicodeData(12);var Lt=rt.prototype;var jt=function RegExpValidationState(E){this.parser=E;this.validFlags="gim"+(E.options.ecmaVersion>=6?"uy":"")+(E.options.ecmaVersion>=9?"s":"")+(E.options.ecmaVersion>=13?"d":"");this.unicodeProperties=Bt[E.options.ecmaVersion>=12?12:E.options.ecmaVersion];this.source="";this.flags="";this.start=0;this.switchU=false;this.switchN=false;this.pos=0;this.lastIntValue=0;this.lastStringValue="";this.lastAssertionIsQuantifiable=false;this.numCapturingParens=0;this.maxBackReference=0;this.groupNames=[];this.backReferenceNames=[]};jt.prototype.reset=function reset(E,k,S){var w=S.indexOf("u")!==-1;this.start=E|0;this.source=k+"";this.flags=S;this.switchU=w&&this.parser.options.ecmaVersion>=6;this.switchN=w&&this.parser.options.ecmaVersion>=9};jt.prototype.raise=function raise(E){this.parser.raiseRecoverable(this.start,"Invalid regular expression: /"+this.source+"/: "+E)};jt.prototype.at=function at(E,k){if(k===void 0)k=false;var S=this.source;var w=S.length;if(E>=w){return-1}var N=S.charCodeAt(E);if(!(k||this.switchU)||N<=55295||N>=57344||E+1>=w){return N}var j=S.charCodeAt(E+1);return j>=56320&&j<=57343?(N<<10)+j-56613888:N};jt.prototype.nextIndex=function nextIndex(E,k){if(k===void 0)k=false;var S=this.source;var w=S.length;if(E>=w){return w}var N=S.charCodeAt(E),j;if(!(k||this.switchU)||N<=55295||N>=57344||E+1>=w||(j=S.charCodeAt(E+1))<56320||j>57343){return E+1}return E+2};jt.prototype.current=function current(E){if(E===void 0)E=false;return this.at(this.pos,E)};jt.prototype.lookahead=function lookahead(E){if(E===void 0)E=false;return this.at(this.nextIndex(this.pos,E),E)};jt.prototype.advance=function advance(E){if(E===void 0)E=false;this.pos=this.nextIndex(this.pos,E)};jt.prototype.eat=function eat(E,k){if(k===void 0)k=false;if(this.current(k)===E){this.advance(k);return true}return false};function codePointToString(E){if(E<=65535){return String.fromCharCode(E)}E-=65536;return String.fromCharCode((E>>10)+55296,(E&1023)+56320)}Lt.validateRegExpFlags=function(E){var k=E.validFlags;var S=E.flags;for(var w=0;w-1){this.raise(E.start,"Duplicate regular expression flag")}}};Lt.validateRegExpPattern=function(E){this.regexp_pattern(E);if(!E.switchN&&this.options.ecmaVersion>=9&&E.groupNames.length>0){E.switchN=true;this.regexp_pattern(E)}};Lt.regexp_pattern=function(E){E.pos=0;E.lastIntValue=0;E.lastStringValue="";E.lastAssertionIsQuantifiable=false;E.numCapturingParens=0;E.maxBackReference=0;E.groupNames.length=0;E.backReferenceNames.length=0;this.regexp_disjunction(E);if(E.pos!==E.source.length){if(E.eat(41)){E.raise("Unmatched ')'")}if(E.eat(93)||E.eat(125)){E.raise("Lone quantifier brackets")}}if(E.maxBackReference>E.numCapturingParens){E.raise("Invalid escape")}for(var k=0,S=E.backReferenceNames;k=9){S=E.eat(60)}if(E.eat(61)||E.eat(33)){this.regexp_disjunction(E);if(!E.eat(41)){E.raise("Unterminated group")}E.lastAssertionIsQuantifiable=!S;return true}}E.pos=k;return false};Lt.regexp_eatQuantifier=function(E,k){if(k===void 0)k=false;if(this.regexp_eatQuantifierPrefix(E,k)){E.eat(63);return true}return false};Lt.regexp_eatQuantifierPrefix=function(E,k){return E.eat(42)||E.eat(43)||E.eat(63)||this.regexp_eatBracedQuantifier(E,k)};Lt.regexp_eatBracedQuantifier=function(E,k){var S=E.pos;if(E.eat(123)){var w=0,N=-1;if(this.regexp_eatDecimalDigits(E)){w=E.lastIntValue;if(E.eat(44)&&this.regexp_eatDecimalDigits(E)){N=E.lastIntValue}if(E.eat(125)){if(N!==-1&&N=9){this.regexp_groupSpecifier(E)}else if(E.current()===63){E.raise("Invalid group")}this.regexp_disjunction(E);if(E.eat(41)){E.numCapturingParens+=1;return true}E.raise("Unterminated group")}return false};Lt.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)};Lt.regexp_eatInvalidBracedQuantifier=function(E){if(this.regexp_eatBracedQuantifier(E,true)){E.raise("Nothing to repeat")}return false};Lt.regexp_eatSyntaxCharacter=function(E){var k=E.current();if(isSyntaxCharacter(k)){E.lastIntValue=k;E.advance();return true}return false};function isSyntaxCharacter(E){return E===36||E>=40&&E<=43||E===46||E===63||E>=91&&E<=94||E>=123&&E<=125}Lt.regexp_eatPatternCharacters=function(E){var k=E.pos;var S=0;while((S=E.current())!==-1&&!isSyntaxCharacter(S)){E.advance()}return E.pos!==k};Lt.regexp_eatExtendedPatternCharacter=function(E){var k=E.current();if(k!==-1&&k!==36&&!(k>=40&&k<=43)&&k!==46&&k!==63&&k!==91&&k!==94&&k!==124){E.advance();return true}return false};Lt.regexp_groupSpecifier=function(E){if(E.eat(63)){if(this.regexp_eatGroupName(E)){if(E.groupNames.indexOf(E.lastStringValue)!==-1){E.raise("Duplicate capture group name")}E.groupNames.push(E.lastStringValue);return}E.raise("Invalid group")}};Lt.regexp_eatGroupName=function(E){E.lastStringValue="";if(E.eat(60)){if(this.regexp_eatRegExpIdentifierName(E)&&E.eat(62)){return true}E.raise("Invalid capture group name")}return false};Lt.regexp_eatRegExpIdentifierName=function(E){E.lastStringValue="";if(this.regexp_eatRegExpIdentifierStart(E)){E.lastStringValue+=codePointToString(E.lastIntValue);while(this.regexp_eatRegExpIdentifierPart(E)){E.lastStringValue+=codePointToString(E.lastIntValue)}return true}return false};Lt.regexp_eatRegExpIdentifierStart=function(E){var k=E.pos;var S=this.options.ecmaVersion>=11;var w=E.current(S);E.advance(S);if(w===92&&this.regexp_eatRegExpUnicodeEscapeSequence(E,S)){w=E.lastIntValue}if(isRegExpIdentifierStart(w)){E.lastIntValue=w;return true}E.pos=k;return false};function isRegExpIdentifierStart(E){return isIdentifierStart(E,true)||E===36||E===95}Lt.regexp_eatRegExpIdentifierPart=function(E){var k=E.pos;var S=this.options.ecmaVersion>=11;var w=E.current(S);E.advance(S);if(w===92&&this.regexp_eatRegExpUnicodeEscapeSequence(E,S)){w=E.lastIntValue}if(isRegExpIdentifierPart(w)){E.lastIntValue=w;return true}E.pos=k;return false};function isRegExpIdentifierPart(E){return isIdentifierChar(E,true)||E===36||E===95||E===8204||E===8205}Lt.regexp_eatAtomEscape=function(E){if(this.regexp_eatBackReference(E)||this.regexp_eatCharacterClassEscape(E)||this.regexp_eatCharacterEscape(E)||E.switchN&&this.regexp_eatKGroupName(E)){return true}if(E.switchU){if(E.current()===99){E.raise("Invalid unicode escape")}E.raise("Invalid escape")}return false};Lt.regexp_eatBackReference=function(E){var k=E.pos;if(this.regexp_eatDecimalEscape(E)){var S=E.lastIntValue;if(E.switchU){if(S>E.maxBackReference){E.maxBackReference=S}return true}if(S<=E.numCapturingParens){return true}E.pos=k}return false};Lt.regexp_eatKGroupName=function(E){if(E.eat(107)){if(this.regexp_eatGroupName(E)){E.backReferenceNames.push(E.lastStringValue);return true}E.raise("Invalid named reference")}return false};Lt.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,false)||!E.switchU&&this.regexp_eatLegacyOctalEscapeSequence(E)||this.regexp_eatIdentityEscape(E)};Lt.regexp_eatCControlLetter=function(E){var k=E.pos;if(E.eat(99)){if(this.regexp_eatControlLetter(E)){return true}E.pos=k}return false};Lt.regexp_eatZero=function(E){if(E.current()===48&&!isDecimalDigit(E.lookahead())){E.lastIntValue=0;E.advance();return true}return false};Lt.regexp_eatControlEscape=function(E){var k=E.current();if(k===116){E.lastIntValue=9;E.advance();return true}if(k===110){E.lastIntValue=10;E.advance();return true}if(k===118){E.lastIntValue=11;E.advance();return true}if(k===102){E.lastIntValue=12;E.advance();return true}if(k===114){E.lastIntValue=13;E.advance();return true}return false};Lt.regexp_eatControlLetter=function(E){var k=E.current();if(isControlLetter(k)){E.lastIntValue=k%32;E.advance();return true}return false};function isControlLetter(E){return E>=65&&E<=90||E>=97&&E<=122}Lt.regexp_eatRegExpUnicodeEscapeSequence=function(E,k){if(k===void 0)k=false;var S=E.pos;var w=k||E.switchU;if(E.eat(117)){if(this.regexp_eatFixedHexDigits(E,4)){var N=E.lastIntValue;if(w&&N>=55296&&N<=56319){var j=E.pos;if(E.eat(92)&&E.eat(117)&&this.regexp_eatFixedHexDigits(E,4)){var q=E.lastIntValue;if(q>=56320&&q<=57343){E.lastIntValue=(N-55296)*1024+(q-56320)+65536;return true}}E.pos=j;E.lastIntValue=N}return true}if(w&&E.eat(123)&&this.regexp_eatHexDigits(E)&&E.eat(125)&&isValidUnicode(E.lastIntValue)){return true}if(w){E.raise("Invalid unicode escape")}E.pos=S}return false};function isValidUnicode(E){return E>=0&&E<=1114111}Lt.regexp_eatIdentityEscape=function(E){if(E.switchU){if(this.regexp_eatSyntaxCharacter(E)){return true}if(E.eat(47)){E.lastIntValue=47;return true}return false}var k=E.current();if(k!==99&&(!E.switchN||k!==107)){E.lastIntValue=k;E.advance();return true}return false};Lt.regexp_eatDecimalEscape=function(E){E.lastIntValue=0;var k=E.current();if(k>=49&&k<=57){do{E.lastIntValue=10*E.lastIntValue+(k-48);E.advance()}while((k=E.current())>=48&&k<=57);return true}return false};Lt.regexp_eatCharacterClassEscape=function(E){var k=E.current();if(isCharacterClassEscape(k)){E.lastIntValue=-1;E.advance();return true}if(E.switchU&&this.options.ecmaVersion>=9&&(k===80||k===112)){E.lastIntValue=-1;E.advance();if(E.eat(123)&&this.regexp_eatUnicodePropertyValueExpression(E)&&E.eat(125)){return true}E.raise("Invalid property name")}return false};function isCharacterClassEscape(E){return E===100||E===68||E===115||E===83||E===119||E===87}Lt.regexp_eatUnicodePropertyValueExpression=function(E){var k=E.pos;if(this.regexp_eatUnicodePropertyName(E)&&E.eat(61)){var S=E.lastStringValue;if(this.regexp_eatUnicodePropertyValue(E)){var w=E.lastStringValue;this.regexp_validateUnicodePropertyNameAndValue(E,S,w);return true}}E.pos=k;if(this.regexp_eatLoneUnicodePropertyNameOrValue(E)){var N=E.lastStringValue;this.regexp_validateUnicodePropertyNameOrValue(E,N);return true}return false};Lt.regexp_validateUnicodePropertyNameAndValue=function(E,k,S){if(!has(E.unicodeProperties.nonBinary,k)){E.raise("Invalid property name")}if(!E.unicodeProperties.nonBinary[k].test(S)){E.raise("Invalid property value")}};Lt.regexp_validateUnicodePropertyNameOrValue=function(E,k){if(!E.unicodeProperties.binary.test(k)){E.raise("Invalid property name")}};Lt.regexp_eatUnicodePropertyName=function(E){var k=0;E.lastStringValue="";while(isUnicodePropertyNameCharacter(k=E.current())){E.lastStringValue+=codePointToString(k);E.advance()}return E.lastStringValue!==""};function isUnicodePropertyNameCharacter(E){return isControlLetter(E)||E===95}Lt.regexp_eatUnicodePropertyValue=function(E){var k=0;E.lastStringValue="";while(isUnicodePropertyValueCharacter(k=E.current())){E.lastStringValue+=codePointToString(k);E.advance()}return E.lastStringValue!==""};function isUnicodePropertyValueCharacter(E){return isUnicodePropertyNameCharacter(E)||isDecimalDigit(E)}Lt.regexp_eatLoneUnicodePropertyNameOrValue=function(E){return this.regexp_eatUnicodePropertyValue(E)};Lt.regexp_eatCharacterClass=function(E){if(E.eat(91)){E.eat(94);this.regexp_classRanges(E);if(E.eat(93)){return true}E.raise("Unterminated character class")}return false};Lt.regexp_classRanges=function(E){while(this.regexp_eatClassAtom(E)){var k=E.lastIntValue;if(E.eat(45)&&this.regexp_eatClassAtom(E)){var S=E.lastIntValue;if(E.switchU&&(k===-1||S===-1)){E.raise("Invalid character class")}if(k!==-1&&S!==-1&&k>S){E.raise("Range out of order in character class")}}}};Lt.regexp_eatClassAtom=function(E){var k=E.pos;if(E.eat(92)){if(this.regexp_eatClassEscape(E)){return true}if(E.switchU){var S=E.current();if(S===99||isOctalDigit(S)){E.raise("Invalid class escape")}E.raise("Invalid escape")}E.pos=k}var w=E.current();if(w!==93){E.lastIntValue=w;E.advance();return true}return false};Lt.regexp_eatClassEscape=function(E){var k=E.pos;if(E.eat(98)){E.lastIntValue=8;return true}if(E.switchU&&E.eat(45)){E.lastIntValue=45;return true}if(!E.switchU&&E.eat(99)){if(this.regexp_eatClassControlLetter(E)){return true}E.pos=k}return this.regexp_eatCharacterClassEscape(E)||this.regexp_eatCharacterEscape(E)};Lt.regexp_eatClassControlLetter=function(E){var k=E.current();if(isDecimalDigit(k)||k===95){E.lastIntValue=k%32;E.advance();return true}return false};Lt.regexp_eatHexEscapeSequence=function(E){var k=E.pos;if(E.eat(120)){if(this.regexp_eatFixedHexDigits(E,2)){return true}if(E.switchU){E.raise("Invalid escape")}E.pos=k}return false};Lt.regexp_eatDecimalDigits=function(E){var k=E.pos;var S=0;E.lastIntValue=0;while(isDecimalDigit(S=E.current())){E.lastIntValue=10*E.lastIntValue+(S-48);E.advance()}return E.pos!==k};function isDecimalDigit(E){return E>=48&&E<=57}Lt.regexp_eatHexDigits=function(E){var k=E.pos;var S=0;E.lastIntValue=0;while(isHexDigit(S=E.current())){E.lastIntValue=16*E.lastIntValue+hexToInt(S);E.advance()}return E.pos!==k};function isHexDigit(E){return E>=48&&E<=57||E>=65&&E<=70||E>=97&&E<=102}function hexToInt(E){if(E>=65&&E<=70){return 10+(E-65)}if(E>=97&&E<=102){return 10+(E-97)}return E-48}Lt.regexp_eatLegacyOctalEscapeSequence=function(E){if(this.regexp_eatOctalDigit(E)){var k=E.lastIntValue;if(this.regexp_eatOctalDigit(E)){var S=E.lastIntValue;if(k<=3&&this.regexp_eatOctalDigit(E)){E.lastIntValue=k*64+S*8+E.lastIntValue}else{E.lastIntValue=k*8+S}}else{E.lastIntValue=k}return true}return false};Lt.regexp_eatOctalDigit=function(E){var k=E.current();if(isOctalDigit(k)){E.lastIntValue=k-48;E.advance();return true}E.lastIntValue=0;return false};function isOctalDigit(E){return E>=48&&E<=55}Lt.regexp_eatFixedHexDigits=function(E,k){var S=E.pos;E.lastIntValue=0;for(var w=0;w=this.input.length){return this.finishToken(Ce.eof)}if(E.override){return E.override(this)}else{this.readToken(this.fullCharCodeAtPos())}};zt.readToken=function(E){if(isIdentifierStart(E,this.options.ecmaVersion>=6)||E===92){return this.readWord()}return this.getTokenFromCode(E)};zt.fullCharCodeAtPos=function(){var E=this.input.charCodeAt(this.pos);if(E<=55295||E>=56320){return E}var k=this.input.charCodeAt(this.pos+1);return k<=56319||k>=57344?E:(E<<10)+k-56613888};zt.skipBlockComment=function(){var E=this.options.onComment&&this.curPosition();var k=this.pos,S=this.input.indexOf("*/",this.pos+=2);if(S===-1){this.raise(this.pos-2,"Unterminated comment")}this.pos=S+2;if(this.options.locations){Te.lastIndex=k;var w;while((w=Te.exec(this.input))&&w.index8&&E<14||E>=5760&&Ie.test(String.fromCharCode(E))){++this.pos}else{break e}}}};zt.finishToken=function(E,k){this.end=this.pos;if(this.options.locations){this.endLoc=this.curPosition()}var S=this.type;this.type=E;this.value=k;this.updateContext(S)};zt.readToken_dot=function(){var E=this.input.charCodeAt(this.pos+1);if(E>=48&&E<=57){return this.readNumber(true)}var k=this.input.charCodeAt(this.pos+2);if(this.options.ecmaVersion>=6&&E===46&&k===46){this.pos+=3;return this.finishToken(Ce.ellipsis)}else{++this.pos;return this.finishToken(Ce.dot)}};zt.readToken_slash=function(){var E=this.input.charCodeAt(this.pos+1);if(this.exprAllowed){++this.pos;return this.readRegexp()}if(E===61){return this.finishOp(Ce.assign,2)}return this.finishOp(Ce.slash,1)};zt.readToken_mult_modulo_exp=function(E){var k=this.input.charCodeAt(this.pos+1);var S=1;var w=E===42?Ce.star:Ce.modulo;if(this.options.ecmaVersion>=7&&E===42&&k===42){++S;w=Ce.starstar;k=this.input.charCodeAt(this.pos+2)}if(k===61){return this.finishOp(Ce.assign,S+1)}return this.finishOp(w,S)};zt.readToken_pipe_amp=function(E){var k=this.input.charCodeAt(this.pos+1);if(k===E){if(this.options.ecmaVersion>=12){var S=this.input.charCodeAt(this.pos+2);if(S===61){return this.finishOp(Ce.assign,3)}}return this.finishOp(E===124?Ce.logicalOR:Ce.logicalAND,2)}if(k===61){return this.finishOp(Ce.assign,2)}return this.finishOp(E===124?Ce.bitwiseOR:Ce.bitwiseAND,1)};zt.readToken_caret=function(){var E=this.input.charCodeAt(this.pos+1);if(E===61){return this.finishOp(Ce.assign,2)}return this.finishOp(Ce.bitwiseXOR,1)};zt.readToken_plus_min=function(E){var k=this.input.charCodeAt(this.pos+1);if(k===E){if(k===45&&!this.inModule&&this.input.charCodeAt(this.pos+2)===62&&(this.lastTokEnd===0||Me.test(this.input.slice(this.lastTokEnd,this.pos)))){this.skipLineComment(3);this.skipSpace();return this.nextToken()}return this.finishOp(Ce.incDec,2)}if(k===61){return this.finishOp(Ce.assign,2)}return this.finishOp(Ce.plusMin,1)};zt.readToken_lt_gt=function(E){var k=this.input.charCodeAt(this.pos+1);var S=1;if(k===E){S=E===62&&this.input.charCodeAt(this.pos+2)===62?3:2;if(this.input.charCodeAt(this.pos+S)===61){return this.finishOp(Ce.assign,S+1)}return this.finishOp(Ce.bitShift,S)}if(k===33&&E===60&&!this.inModule&&this.input.charCodeAt(this.pos+2)===45&&this.input.charCodeAt(this.pos+3)===45){this.skipLineComment(4);this.skipSpace();return this.nextToken()}if(k===61){S=2}return this.finishOp(Ce.relational,S)};zt.readToken_eq_excl=function(E){var k=this.input.charCodeAt(this.pos+1);if(k===61){return this.finishOp(Ce.equality,this.input.charCodeAt(this.pos+2)===61?3:2)}if(E===61&&k===62&&this.options.ecmaVersion>=6){this.pos+=2;return this.finishToken(Ce.arrow)}return this.finishOp(E===61?Ce.eq:Ce.prefix,1)};zt.readToken_question=function(){var E=this.options.ecmaVersion;if(E>=11){var k=this.input.charCodeAt(this.pos+1);if(k===46){var S=this.input.charCodeAt(this.pos+2);if(S<48||S>57){return this.finishOp(Ce.questionDot,2)}}if(k===63){if(E>=12){var w=this.input.charCodeAt(this.pos+2);if(w===61){return this.finishOp(Ce.assign,3)}}return this.finishOp(Ce.coalesce,2)}}return this.finishOp(Ce.question,1)};zt.readToken_numberSign=function(){var E=this.options.ecmaVersion;var k=35;if(E>=13){++this.pos;k=this.fullCharCodeAtPos();if(isIdentifierStart(k,true)||k===92){return this.finishToken(Ce.privateId,this.readWord1())}}this.raise(this.pos,"Unexpected character '"+codePointToString$1(k)+"'")};zt.getTokenFromCode=function(E){switch(E){case 46:return this.readToken_dot();case 40:++this.pos;return this.finishToken(Ce.parenL);case 41:++this.pos;return this.finishToken(Ce.parenR);case 59:++this.pos;return this.finishToken(Ce.semi);case 44:++this.pos;return this.finishToken(Ce.comma);case 91:++this.pos;return this.finishToken(Ce.bracketL);case 93:++this.pos;return this.finishToken(Ce.bracketR);case 123:++this.pos;return this.finishToken(Ce.braceL);case 125:++this.pos;return this.finishToken(Ce.braceR);case 58:++this.pos;return this.finishToken(Ce.colon);case 96:if(this.options.ecmaVersion<6){break}++this.pos;return this.finishToken(Ce.backQuote);case 48:var k=this.input.charCodeAt(this.pos+1);if(k===120||k===88){return this.readRadixNumber(16)}if(this.options.ecmaVersion>=6){if(k===111||k===79){return this.readRadixNumber(8)}if(k===98||k===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(false);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(Ce.prefix,1);case 35:return this.readToken_numberSign()}this.raise(this.pos,"Unexpected character '"+codePointToString$1(E)+"'")};zt.finishOp=function(E,k){var S=this.input.slice(this.pos,this.pos+k);this.pos+=k;return this.finishToken(E,S)};zt.readRegexp=function(){var E,k,S=this.pos;for(;;){if(this.pos>=this.input.length){this.raise(S,"Unterminated regular expression")}var w=this.input.charAt(this.pos);if(Me.test(w)){this.raise(S,"Unterminated regular expression")}if(!E){if(w==="["){k=true}else if(w==="]"&&k){k=false}else if(w==="/"&&!k){break}E=w==="\\"}else{E=false}++this.pos}var N=this.input.slice(S,this.pos);++this.pos;var j=this.pos;var q=this.readWord1();if(this.containsEsc){this.unexpected(j)}var ee=this.regexpState||(this.regexpState=new jt(this));ee.reset(S,N,q);this.validateRegExpFlags(ee);this.validateRegExpPattern(ee);var te=null;try{te=new RegExp(N,q)}catch(E){}return this.finishToken(Ce.regexp,{pattern:N,flags:q,value:te})};zt.readInt=function(E,k,S){var w=this.options.ecmaVersion>=12&&k===undefined;var N=S&&this.input.charCodeAt(this.pos)===48;var j=this.pos,q=0,ee=0;for(var te=0,ne=k==null?Infinity:k;te=97){_e=ae-97+10}else if(ae>=65){_e=ae-65+10}else if(ae>=48&&ae<=57){_e=ae-48}else{_e=Infinity}if(_e>=E){break}ee=ae;q=q*E+_e}if(w&&ee===95){this.raiseRecoverable(this.pos-1,"Numeric separator is not allowed at the last of digits")}if(this.pos===j||k!=null&&this.pos-j!==k){return null}return q};function stringToNumber(E,k){if(k){return parseInt(E,8)}return parseFloat(E.replace(/_/g,""))}function stringToBigInt(E){if(typeof BigInt!=="function"){return null}return BigInt(E.replace(/_/g,""))}zt.readRadixNumber=function(E){var k=this.pos;this.pos+=2;var S=this.readInt(E);if(S==null){this.raise(this.start+2,"Expected number in radix "+E)}if(this.options.ecmaVersion>=11&&this.input.charCodeAt(this.pos)===110){S=stringToBigInt(this.input.slice(k,this.pos));++this.pos}else if(isIdentifierStart(this.fullCharCodeAtPos())){this.raise(this.pos,"Identifier directly after number")}return this.finishToken(Ce.num,S)};zt.readNumber=function(E){var k=this.pos;if(!E&&this.readInt(10,undefined,true)===null){this.raise(k,"Invalid number")}var S=this.pos-k>=2&&this.input.charCodeAt(k)===48;if(S&&this.strict){this.raise(k,"Invalid number")}var w=this.input.charCodeAt(this.pos);if(!S&&!E&&this.options.ecmaVersion>=11&&w===110){var N=stringToBigInt(this.input.slice(k,this.pos));++this.pos;if(isIdentifierStart(this.fullCharCodeAtPos())){this.raise(this.pos,"Identifier directly after number")}return this.finishToken(Ce.num,N)}if(S&&/[89]/.test(this.input.slice(k,this.pos))){S=false}if(w===46&&!S){++this.pos;this.readInt(10);w=this.input.charCodeAt(this.pos)}if((w===69||w===101)&&!S){w=this.input.charCodeAt(++this.pos);if(w===43||w===45){++this.pos}if(this.readInt(10)===null){this.raise(k,"Invalid number")}}if(isIdentifierStart(this.fullCharCodeAtPos())){this.raise(this.pos,"Identifier directly after number")}var j=stringToNumber(this.input.slice(k,this.pos),S);return this.finishToken(Ce.num,j)};zt.readCodePoint=function(){var E=this.input.charCodeAt(this.pos),k;if(E===123){if(this.options.ecmaVersion<6){this.unexpected()}var S=++this.pos;k=this.readHexChar(this.input.indexOf("}",this.pos)-this.pos);++this.pos;if(k>1114111){this.invalidStringToken(S,"Code point out of bounds")}}else{k=this.readHexChar(4)}return k};function codePointToString$1(E){if(E<=65535){return String.fromCharCode(E)}E-=65536;return String.fromCharCode((E>>10)+55296,(E&1023)+56320)}zt.readString=function(E){var k="",S=++this.pos;for(;;){if(this.pos>=this.input.length){this.raise(this.start,"Unterminated string constant")}var w=this.input.charCodeAt(this.pos);if(w===E){break}if(w===92){k+=this.input.slice(S,this.pos);k+=this.readEscapedChar(false);S=this.pos}else{if(isNewLine(w,this.options.ecmaVersion>=10)){this.raise(this.start,"Unterminated string constant")}++this.pos}}k+=this.input.slice(S,this.pos++);return this.finishToken(Ce.string,k)};var Ut={};zt.tryReadTemplateToken=function(){this.inTemplateElement=true;try{this.readTmplToken()}catch(E){if(E===Ut){this.readInvalidTemplateToken()}else{throw E}}this.inTemplateElement=false};zt.invalidStringToken=function(E,k){if(this.inTemplateElement&&this.options.ecmaVersion>=9){throw Ut}else{this.raise(E,k)}};zt.readTmplToken=function(){var E="",k=this.pos;for(;;){if(this.pos>=this.input.length){this.raise(this.start,"Unterminated template")}var S=this.input.charCodeAt(this.pos);if(S===96||S===36&&this.input.charCodeAt(this.pos+1)===123){if(this.pos===this.start&&(this.type===Ce.template||this.type===Ce.invalidTemplate)){if(S===36){this.pos+=2;return this.finishToken(Ce.dollarBraceL)}else{++this.pos;return this.finishToken(Ce.backQuote)}}E+=this.input.slice(k,this.pos);return this.finishToken(Ce.template,E)}if(S===92){E+=this.input.slice(k,this.pos);E+=this.readEscapedChar(true);k=this.pos}else if(isNewLine(S)){E+=this.input.slice(k,this.pos);++this.pos;switch(S){case 13:if(this.input.charCodeAt(this.pos)===10){++this.pos}case 10:E+="\n";break;default:E+=String.fromCharCode(S);break}if(this.options.locations){++this.curLine;this.lineStart=this.pos}k=this.pos}else{++this.pos}}};zt.readInvalidTemplateToken=function(){for(;this.pos=48&&k<=55){var w=this.input.substr(this.pos-1,3).match(/^[0-7]+/)[0];var N=parseInt(w,8);if(N>255){w=w.slice(0,-1);N=parseInt(w,8)}this.pos+=w.length-1;k=this.input.charCodeAt(this.pos);if((w!=="0"||k===56||k===57)&&(this.strict||E)){this.invalidStringToken(this.pos-1-w.length,E?"Octal literal in template string":"Octal literal in strict mode")}return String.fromCharCode(N)}if(isNewLine(k)){return""}return String.fromCharCode(k)}};zt.readHexChar=function(E){var k=this.pos;var S=this.readInt(16,E);if(S===null){this.invalidStringToken(k,"Bad character escape sequence")}return S};zt.readWord1=function(){this.containsEsc=false;var E="",k=true,S=this.pos;var w=this.options.ecmaVersion>=6;while(this.pos{"use strict";const w=S(73154);const N=S(43040);E.exports=class AliasFieldPlugin{constructor(E,k,S){this.source=E;this.field=k;this.target=S}apply(E){const k=E.ensureHook(this.target);E.getHook(this.source).tapAsync("AliasFieldPlugin",((S,j,q)=>{if(!S.descriptionFileData)return q();const ee=N(E,S);if(!ee)return q();const te=w.getField(S.descriptionFileData,this.field);if(te===null||typeof te!=="object"){if(j.log)j.log("Field '"+this.field+"' doesn't contain a valid alias configuration");return q()}const ne=te[ee];const ae=te[ee.replace(/^\.\//,"")];const _e=typeof ne!=="undefined"?ne:ae;if(_e===ee)return q();if(_e===undefined)return q();if(_e===false){const E={...S,path:false};return q(null,E)}const ve={...S,path:S.descriptionFileRoot,request:_e,fullySpecified:false};E.doResolve(k,ve,"aliased from description file "+S.descriptionFilePath+" with mapping '"+ee+"' to '"+_e+"'",j,((E,k)=>{if(E)return q(E);if(k===undefined)return q(null,null);q(null,k)}))}))}}},1037:(E,k,S)=>{"use strict";const w=S(86373);E.exports=class AliasPlugin{constructor(E,k,S){this.source=E;this.options=Array.isArray(k)?k:[k];this.target=S}apply(E){const k=E.ensureHook(this.target);E.getHook(this.source).tapAsync("AliasPlugin",((S,N,j)=>{const q=S.request||S.path;if(!q)return j();w(this.options,((j,ee)=>{let te=false;if(q===j.name||!j.onlyModule&&q.startsWith(j.name+"/")){const ne=q.substr(j.name.length);const resolveWithAlias=(w,ee)=>{if(w===false){const E={...S,path:false};return ee(null,E)}if(q!==w&&!q.startsWith(w+"/")){te=true;const q=w+ne;const ae={...S,request:q,fullySpecified:false};return E.doResolve(k,ae,"aliased with mapping '"+j.name+"': '"+w+"' to '"+q+"'",N,((E,k)=>{if(E)return ee(E);if(k)return ee(null,k);return ee()}))}return ee()};const stoppingCallback=(E,k)=>{if(E)return ee(E);if(k)return ee(null,k);if(te)return ee(null,null);return ee()};if(Array.isArray(j.alias)){return w(j.alias,resolveWithAlias,stoppingCallback)}else{return resolveWithAlias(j.alias,stoppingCallback)}}return ee()}),j)}))}}},44296:E=>{"use strict";E.exports=class AppendPlugin{constructor(E,k,S){this.source=E;this.appending=k;this.target=S}apply(E){const k=E.ensureHook(this.target);E.getHook(this.source).tapAsync("AppendPlugin",((S,w,N)=>{const j={...S,path:S.path+this.appending,relativePath:S.relativePath&&S.relativePath+this.appending};E.doResolve(k,j,this.appending,w,N)}))}}},76537:(E,k,S)=>{"use strict";const w=S(61765).nextTick;const dirname=E=>{let k=E.length-1;while(k>=0){const S=E.charCodeAt(k);if(S===47||S===92)break;k--}if(k<0)return"";return E.slice(0,k)};const runCallbacks=(E,k,S)=>{if(E.length===1){E[0](k,S);E.length=0;return}let w;for(const N of E){try{N(k,S)}catch(E){if(!w)w=E}}E.length=0;if(w)throw w};class OperationMergerBackend{constructor(E,k,S){this._provider=E;this._syncProvider=k;this._providerContext=S;this._activeAsyncOperations=new Map;this.provide=this._provider?(k,S,w)=>{if(typeof S==="function"){w=S;S=undefined}if(S){return this._provider.call(this._providerContext,k,S,w)}if(typeof k!=="string"){w(new TypeError("path must be a string"));return}let N=this._activeAsyncOperations.get(k);if(N){N.push(w);return}this._activeAsyncOperations.set(k,N=[w]);E(k,((E,S)=>{this._activeAsyncOperations.delete(k);runCallbacks(N,E,S)}))}:null;this.provideSync=this._syncProvider?(E,k)=>this._syncProvider.call(this._providerContext,E,k):null}purge(){}purgeParent(){}}const N=0;const j=1;const q=2;class CacheBackend{constructor(E,k,S,w){this._duration=E;this._provider=k;this._syncProvider=S;this._providerContext=w;this._activeAsyncOperations=new Map;this._data=new Map;this._levels=[];for(let E=0;E<10;E++)this._levels.push(new Set);for(let k=5e3;k{this._activeAsyncOperations.delete(E);this._storeResult(E,k,S);this._enterAsyncMode();runCallbacks(q,k,S)}))}provideSync(E,k){if(typeof E!=="string"){throw new TypeError("path must be a string")}if(k){return this._syncProvider.call(this._providerContext,E,k)}if(this._mode===j){this._runDecays()}let S=this._data.get(E);if(S!==undefined){if(S.err)throw S.err;return S.result}const w=this._activeAsyncOperations.get(E);this._activeAsyncOperations.delete(E);let N;try{N=this._syncProvider.call(this._providerContext,E)}catch(k){this._storeResult(E,k,undefined);this._enterSyncModeWhenIdle();if(w)runCallbacks(w,k,undefined);throw k}this._storeResult(E,undefined,N);this._enterSyncModeWhenIdle();if(w)runCallbacks(w,undefined,N);return N}purge(E){if(!E){if(this._mode!==N){this._data.clear();for(const E of this._levels){E.clear()}this._enterIdleMode()}}else if(typeof E==="string"){for(let[k,S]of this._data){if(k.startsWith(E)){this._data.delete(k);S.level.delete(k)}}if(this._data.size===0){this._enterIdleMode()}}else{for(let[k,S]of this._data){for(const w of E){if(k.startsWith(w)){this._data.delete(k);S.level.delete(k);break}}}if(this._data.size===0){this._enterIdleMode()}}}purgeParent(E){if(!E){this.purge()}else if(typeof E==="string"){this.purge(dirname(E))}else{const k=new Set;for(const S of E){k.add(dirname(S))}this.purge(k)}}_storeResult(E,k,S){if(this._data.has(E))return;const w=this._levels[this._currentLevel];this._data.set(E,{err:k,result:S,level:w});w.add(E)}_decayLevel(){const E=(this._currentLevel+1)%this._levels.length;const k=this._levels[E];this._currentLevel=E;for(let E of k){this._data.delete(E)}k.clear();if(this._data.size===0){this._enterIdleMode()}else{this._nextDecay+=this._tickInterval}}_runDecays(){while(this._nextDecay<=Date.now()&&this._mode!==N){this._decayLevel()}}_enterAsyncMode(){let E=0;switch(this._mode){case q:return;case N:this._nextDecay=Date.now()+this._tickInterval;E=this._tickInterval;break;case j:this._runDecays();if(this._mode===N)return;E=Math.max(0,this._nextDecay-Date.now());break}this._mode=q;const k=setTimeout((()=>{this._mode=j;this._runDecays()}),E);if(k.unref)k.unref();this._timeout=k}_enterSyncModeWhenIdle(){if(this._mode===N){this._mode=j;this._nextDecay=Date.now()+this._tickInterval}}_enterIdleMode(){this._mode=N;this._nextDecay=undefined;if(this._timeout)clearTimeout(this._timeout)}}const createBackend=(E,k,S,w)=>{if(E>0){return new CacheBackend(E,k,S,w)}return new OperationMergerBackend(k,S,w)};E.exports=class CachedInputFileSystem{constructor(E,k){this.fileSystem=E;this._lstatBackend=createBackend(k,this.fileSystem.lstat,this.fileSystem.lstatSync,this.fileSystem);const S=this._lstatBackend.provide;this.lstat=S;const w=this._lstatBackend.provideSync;this.lstatSync=w;this._statBackend=createBackend(k,this.fileSystem.stat,this.fileSystem.statSync,this.fileSystem);const N=this._statBackend.provide;this.stat=N;const j=this._statBackend.provideSync;this.statSync=j;this._readdirBackend=createBackend(k,this.fileSystem.readdir,this.fileSystem.readdirSync,this.fileSystem);const q=this._readdirBackend.provide;this.readdir=q;const ee=this._readdirBackend.provideSync;this.readdirSync=ee;this._readFileBackend=createBackend(k,this.fileSystem.readFile,this.fileSystem.readFileSync,this.fileSystem);const te=this._readFileBackend.provide;this.readFile=te;const ne=this._readFileBackend.provideSync;this.readFileSync=ne;this._readJsonBackend=createBackend(k,this.fileSystem.readJson||this.readFile&&((E,k)=>{this.readFile(E,((E,S)=>{if(E)return k(E);if(!S||S.length===0)return k(new Error("No file content"));let w;try{w=JSON.parse(S.toString("utf-8"))}catch(E){return k(E)}k(null,w)}))}),this.fileSystem.readJsonSync||this.readFileSync&&(E=>{const k=this.readFileSync(E);const S=JSON.parse(k.toString("utf-8"));return S}),this.fileSystem);const ae=this._readJsonBackend.provide;this.readJson=ae;const _e=this._readJsonBackend.provideSync;this.readJsonSync=_e;this._readlinkBackend=createBackend(k,this.fileSystem.readlink,this.fileSystem.readlinkSync,this.fileSystem);const ve=this._readlinkBackend.provide;this.readlink=ve;const Ee=this._readlinkBackend.provideSync;this.readlinkSync=Ee}purge(E){this._statBackend.purge(E);this._lstatBackend.purge(E);this._readdirBackend.purgeParent(E);this._readFileBackend.purge(E);this._readlinkBackend.purge(E);this._readJsonBackend.purge(E)}}},35142:(E,k,S)=>{"use strict";const w=S(62848).basename;E.exports=class CloneBasenamePlugin{constructor(E,k){this.source=E;this.target=k}apply(E){const k=E.ensureHook(this.target);E.getHook(this.source).tapAsync("CloneBasenamePlugin",((S,N,j)=>{const q=w(S.path);const ee=E.join(S.path,q);const te={...S,path:ee,relativePath:S.relativePath&&E.join(S.relativePath,q)};E.doResolve(k,te,"using path: "+ee,N,j)}))}}},74636:E=>{"use strict";E.exports=class ConditionalPlugin{constructor(E,k,S,w,N){this.source=E;this.test=k;this.message=S;this.allowAlternatives=w;this.target=N}apply(E){const k=E.ensureHook(this.target);const{test:S,message:w,allowAlternatives:N}=this;const j=Object.keys(S);E.getHook(this.source).tapAsync("ConditionalPlugin",((q,ee,te)=>{for(const E of j){if(q[E]!==S[E])return te()}E.doResolve(k,q,w,ee,N?te:(E,k)=>{if(E)return te(E);if(k===undefined)return te(null,null);te(null,k)})}))}}},71929:(E,k,S)=>{"use strict";const w=S(73154);E.exports=class DescriptionFilePlugin{constructor(E,k,S,w){this.source=E;this.filenames=k;this.pathIsFile=S;this.target=w}apply(E){const k=E.ensureHook(this.target);E.getHook(this.source).tapAsync("DescriptionFilePlugin",((S,N,j)=>{const q=S.path;if(!q)return j();const ee=this.pathIsFile?w.cdUp(q):q;if(!ee)return j();w.loadDescriptionFile(E,ee,this.filenames,S.descriptionFilePath?{path:S.descriptionFilePath,content:S.descriptionFileData,directory:S.descriptionFileRoot}:undefined,N,((w,te)=>{if(w)return j(w);if(!te){if(N.log)N.log(`No description file found in ${ee} or above`);return j()}const ne="."+q.substr(te.directory.length).replace(/\\/g,"/");const ae={...S,descriptionFilePath:te.path,descriptionFileData:te.content,descriptionFileRoot:te.directory,relativePath:ne};E.doResolve(k,ae,"using description file: "+te.path+" (relative path: "+ne+")",N,((E,k)=>{if(E)return j(E);if(k===undefined)return j(null,null);j(null,k)}))}))}))}}},73154:(E,k,S)=>{"use strict";const w=S(86373);function loadDescriptionFile(E,k,S,N,j,q){(function findDescriptionFile(){if(N&&N.directory===k){return q(null,N)}w(S,((S,w)=>{const N=E.join(k,S);if(E.fileSystem.readJson){E.fileSystem.readJson(N,((E,k)=>{if(E){if(typeof E.code!=="undefined"){if(j.missingDependencies){j.missingDependencies.add(N)}return w()}if(j.fileDependencies){j.fileDependencies.add(N)}return onJson(E)}if(j.fileDependencies){j.fileDependencies.add(N)}onJson(null,k)}))}else{E.fileSystem.readFile(N,((E,k)=>{if(E){if(j.missingDependencies){j.missingDependencies.add(N)}return w()}if(j.fileDependencies){j.fileDependencies.add(N)}let S;if(k){try{S=JSON.parse(k.toString())}catch(E){return onJson(E)}}else{return onJson(new Error("No content in file"))}onJson(null,S)}))}function onJson(E,S){if(E){if(j.log)j.log(N+" (directory description file): "+E);else E.message=N+" (directory description file): "+E;return w(E)}w(null,{content:S,directory:k,path:N})}}),((E,S)=>{if(E)return q(E);if(S){return q(null,S)}else{const E=cdUp(k);if(!E){return q()}else{k=E;return findDescriptionFile()}}}))})()}function getField(E,k){if(!E)return undefined;if(Array.isArray(k)){let S=E;for(let E=0;E{"use strict";E.exports=class DirectoryExistsPlugin{constructor(E,k){this.source=E;this.target=k}apply(E){const k=E.ensureHook(this.target);E.getHook(this.source).tapAsync("DirectoryExistsPlugin",((S,w,N)=>{const j=E.fileSystem;const q=S.path;if(!q)return N();j.stat(q,((j,ee)=>{if(j||!ee){if(w.missingDependencies)w.missingDependencies.add(q);if(w.log)w.log(q+" doesn't exist");return N()}if(!ee.isDirectory()){if(w.missingDependencies)w.missingDependencies.add(q);if(w.log)w.log(q+" is not a directory");return N()}if(w.fileDependencies)w.fileDependencies.add(q);E.doResolve(k,S,`existing directory ${q}`,w,N)}))}))}}},92410:(E,k,S)=>{"use strict";const w=S(85622);const N=S(73154);const j=S(86373);const{processExportsField:q}=S(97826);const{parseIdentifier:ee}=S(40413);const{checkExportsFieldTarget:te}=S(35461);E.exports=class ExportsFieldPlugin{constructor(E,k,S,w){this.source=E;this.target=w;this.conditionNames=k;this.fieldName=S;this.fieldProcessorCache=new WeakMap}apply(E){const k=E.ensureHook(this.target);E.getHook(this.source).tapAsync("ExportsFieldPlugin",((S,ne,ae)=>{if(!S.descriptionFilePath)return ae();if(S.relativePath!=="."||S.request===undefined)return ae();const _e=S.query||S.fragment?(S.request==="."?"./":S.request)+S.query+S.fragment:S.request;const ve=N.getField(S.descriptionFileData,this.fieldName);if(!ve)return ae();if(S.directory){return ae(new Error(`Resolving to directories is not possible with the exports field (request was ${_e}/)`))}let Ee;try{let E=this.fieldProcessorCache.get(S.descriptionFileData);if(E===undefined){E=q(ve);this.fieldProcessorCache.set(S.descriptionFileData,E)}Ee=E(_e,this.conditionNames)}catch(E){if(ne.log){ne.log(`Exports field in ${S.descriptionFilePath} can't be processed: ${E}`)}return ae(E)}if(Ee.length===0){return ae(new Error(`Package path ${_e} is not exported from package ${S.descriptionFileRoot} (see exports field in ${S.descriptionFilePath})`))}j(Ee,((N,j)=>{const q=ee(N);if(!q)return j();const[ae,_e,ve]=q;const Ee=te(ae);if(Ee){return j(Ee)}const we={...S,request:undefined,path:w.join(S.descriptionFileRoot,ae),relativePath:ae,query:_e,fragment:ve};E.doResolve(k,we,"using exports field: "+N,ne,j)}),((E,k)=>ae(E,k||null)))}))}}},27426:E=>{"use strict";E.exports=class FileExistsPlugin{constructor(E,k){this.source=E;this.target=k}apply(E){const k=E.ensureHook(this.target);const S=E.fileSystem;E.getHook(this.source).tapAsync("FileExistsPlugin",((w,N,j)=>{const q=w.path;if(!q)return j();S.stat(q,((S,ee)=>{if(S||!ee){if(N.missingDependencies)N.missingDependencies.add(q);if(N.log)N.log(q+" doesn't exist");return j()}if(!ee.isFile()){if(N.missingDependencies)N.missingDependencies.add(q);if(N.log)N.log(q+" is not a file");return j()}if(N.fileDependencies)N.fileDependencies.add(q);E.doResolve(k,w,"existing file: "+q,N,j)}))}))}}},70877:(E,k,S)=>{"use strict";const w=S(85622);const N=S(73154);const j=S(86373);const{processImportsField:q}=S(97826);const{parseIdentifier:ee}=S(40413);const te=".".charCodeAt(0);E.exports=class ImportsFieldPlugin{constructor(E,k,S,w,N){this.source=E;this.targetFile=w;this.targetPackage=N;this.conditionNames=k;this.fieldName=S;this.fieldProcessorCache=new WeakMap}apply(E){const k=E.ensureHook(this.targetFile);const S=E.ensureHook(this.targetPackage);E.getHook(this.source).tapAsync("ImportsFieldPlugin",((ne,ae,_e)=>{if(!ne.descriptionFilePath)return _e();if(ne.relativePath!=="."||ne.request===undefined)return _e();const ve=ne.request+ne.query+ne.fragment;const Ee=N.getField(ne.descriptionFileData,this.fieldName);if(!Ee)return _e();if(ne.directory){return _e(new Error(`Resolving to directories is not possible with the imports field (request was ${ve}/)`))}let we;try{let E=this.fieldProcessorCache.get(ne.descriptionFileData);if(E===undefined){E=q(Ee);this.fieldProcessorCache.set(ne.descriptionFileData,E)}we=E(ve,this.conditionNames)}catch(E){if(ae.log){ae.log(`Imports field in ${ne.descriptionFilePath} can't be processed: ${E}`)}return _e(E)}if(we.length===0){return _e(new Error(`Package import ${ve} is not imported from package ${ne.descriptionFileRoot} (see imports field in ${ne.descriptionFilePath})`))}j(we,((N,j)=>{const q=ee(N);if(!q)return j();const[_e,ve,Ee]=q;switch(_e.charCodeAt(0)){case te:{const S={...ne,request:undefined,path:w.join(ne.descriptionFileRoot,_e),relativePath:_e,query:ve,fragment:Ee};E.doResolve(k,S,"using imports field: "+N,ae,j);break}default:{const k={...ne,request:_e,relativePath:_e,fullySpecified:true,query:ve,fragment:Ee};E.doResolve(S,k,"using imports field: "+N,ae,j)}}}),((E,k)=>_e(E,k||null)))}))}}},24587:E=>{"use strict";const k="@".charCodeAt(0);E.exports=class JoinRequestPartPlugin{constructor(E,k){this.source=E;this.target=k}apply(E){const S=E.ensureHook(this.target);E.getHook(this.source).tapAsync("JoinRequestPartPlugin",((w,N,j)=>{const q=w.request||"";let ee=q.indexOf("/",3);if(ee>=0&&q.charCodeAt(2)===k){ee=q.indexOf("/",ee+1)}let te,ne,ae;if(ee<0){te=q;ne=".";ae=false}else{te=q.slice(0,ee);ne="."+q.slice(ee);ae=w.fullySpecified}const _e={...w,path:E.join(w.path,te),relativePath:w.relativePath&&E.join(w.relativePath,te),request:ne,fullySpecified:ae};E.doResolve(S,_e,null,N,j)}))}}},15241:E=>{"use strict";E.exports=class JoinRequestPlugin{constructor(E,k){this.source=E;this.target=k}apply(E){const k=E.ensureHook(this.target);E.getHook(this.source).tapAsync("JoinRequestPlugin",((S,w,N)=>{const j={...S,path:E.join(S.path,S.request),relativePath:S.relativePath&&E.join(S.relativePath,S.request),request:undefined};E.doResolve(k,j,null,w,N)}))}}},41529:E=>{"use strict";E.exports=class LogInfoPlugin{constructor(E){this.source=E}apply(E){const k=this.source;E.getHook(this.source).tapAsync("LogInfoPlugin",((E,S,w)=>{if(!S.log)return w();const N=S.log;const j="["+k+"] ";if(E.path)N(j+"Resolving in directory: "+E.path);if(E.request)N(j+"Resolving request: "+E.request);if(E.module)N(j+"Request is an module request.");if(E.directory)N(j+"Request is a directory request.");if(E.query)N(j+"Resolving request query: "+E.query);if(E.fragment)N(j+"Resolving request fragment: "+E.fragment);if(E.descriptionFilePath)N(j+"Has description data from "+E.descriptionFilePath);if(E.relativePath)N(j+"Relative path from description file is: "+E.relativePath);w()}))}}},78253:(E,k,S)=>{"use strict";const w=S(85622);const N=S(73154);const j=Symbol("alreadyTriedMainField");E.exports=class MainFieldPlugin{constructor(E,k,S){this.source=E;this.options=k;this.target=S}apply(E){const k=E.ensureHook(this.target);E.getHook(this.source).tapAsync("MainFieldPlugin",((S,q,ee)=>{if(S.path!==S.descriptionFileRoot||S[j]===S.descriptionFilePath||!S.descriptionFilePath)return ee();const te=w.basename(S.descriptionFilePath);let ne=N.getField(S.descriptionFileData,this.options.name);if(!ne||typeof ne!=="string"||ne==="."||ne==="./"){return ee()}if(this.options.forceRelative&&!/^\.\.?\//.test(ne))ne="./"+ne;const ae={...S,request:ne,module:false,directory:ne.endsWith("/"),[j]:S.descriptionFilePath};return E.doResolve(k,ae,"use "+ne+" from "+this.options.name+" in "+te,q,ee)}))}}},25535:(E,k,S)=>{"use strict";const w=S(86373);const N=S(62848);E.exports=class ModulesInHierachicDirectoriesPlugin{constructor(E,k,S){this.source=E;this.directories=[].concat(k);this.target=S}apply(E){const k=E.ensureHook(this.target);E.getHook(this.source).tapAsync("ModulesInHierachicDirectoriesPlugin",((S,j,q)=>{const ee=E.fileSystem;const te=N(S.path).paths.map((k=>this.directories.map((S=>E.join(k,S))))).reduce(((E,k)=>{E.push.apply(E,k);return E}),[]);w(te,((w,N)=>{ee.stat(w,((q,ee)=>{if(!q&&ee&&ee.isDirectory()){const q={...S,path:w,request:"./"+S.request,module:false};const ee="looking for modules in "+w;return E.doResolve(k,q,ee,j,N)}if(j.log)j.log(w+" doesn't exist or is not a directory");if(j.missingDependencies)j.missingDependencies.add(w);return N()}))}),q)}))}}},90435:E=>{"use strict";E.exports=class ModulesInRootPlugin{constructor(E,k,S){this.source=E;this.path=k;this.target=S}apply(E){const k=E.ensureHook(this.target);E.getHook(this.source).tapAsync("ModulesInRootPlugin",((S,w,N)=>{const j={...S,path:this.path,request:"./"+S.request,module:false};E.doResolve(k,j,"looking for modules in "+this.path,w,N)}))}}},24561:E=>{"use strict";E.exports=class NextPlugin{constructor(E,k){this.source=E;this.target=k}apply(E){const k=E.ensureHook(this.target);E.getHook(this.source).tapAsync("NextPlugin",((S,w,N)=>{E.doResolve(k,S,null,w,N)}))}}},19749:E=>{"use strict";E.exports=class ParsePlugin{constructor(E,k,S){this.source=E;this.requestOptions=k;this.target=S}apply(E){const k=E.ensureHook(this.target);E.getHook(this.source).tapAsync("ParsePlugin",((S,w,N)=>{const j=E.parse(S.request);const q={...S,...j,...this.requestOptions};if(S.query&&!j.query){q.query=S.query}if(S.fragment&&!j.fragment){q.fragment=S.fragment}if(j&&w.log){if(j.module)w.log("Parsed request is a module");if(j.directory)w.log("Parsed request is a directory")}if(q.request&&!q.query&&q.fragment){const S=q.fragment.endsWith("/");const j={...q,directory:S,request:q.request+(q.directory?"/":"")+(S?q.fragment.slice(0,-1):q.fragment),fragment:""};E.doResolve(k,j,null,w,((S,j)=>{if(S)return N(S);if(j)return N(null,j);E.doResolve(k,q,null,w,N)}));return}E.doResolve(k,q,null,w,N)}))}}},33014:E=>{"use strict";E.exports=class PnpPlugin{constructor(E,k,S){this.source=E;this.pnpApi=k;this.target=S}apply(E){const k=E.ensureHook(this.target);E.getHook(this.source).tapAsync("PnpPlugin",((S,w,N)=>{const j=S.request;if(!j)return N();const q=`${S.path}/`;const ee=/^(@[^/]+\/)?[^/]+/.exec(j);if(!ee)return N();const te=ee[0];const ne=`.${j.slice(te.length)}`;let ae;let _e;try{ae=this.pnpApi.resolveToUnqualified(te,q,{considerBuiltins:false});if(w.fileDependencies){_e=this.pnpApi.resolveToUnqualified("pnpapi",q,{considerBuiltins:false})}}catch(E){if(E.code==="MODULE_NOT_FOUND"&&E.pnpCode==="UNDECLARED_DEPENDENCY"){if(w.log){w.log(`request is not managed by the pnpapi`);for(const k of E.message.split("\n").filter(Boolean))w.log(` ${k}`)}return N()}return N(E)}if(ae===te)return N();if(_e&&w.fileDependencies){w.fileDependencies.add(_e)}const ve={...S,path:ae,request:ne,ignoreSymlinks:true,fullySpecified:S.fullySpecified&&ne!=="."};E.doResolve(k,ve,`resolved by pnp to ${ae}`,w,((E,k)=>{if(E)return N(E);if(k)return N(null,k);return N(null,null)}))}))}}},67230:(E,k,S)=>{"use strict";const{AsyncSeriesBailHook:w,AsyncSeriesHook:N,SyncHook:j}=S(92960);const q=S(2828);const{parseIdentifier:ee}=S(40413);const{normalize:te,cachedJoin:ne,getType:ae,PathType:_e}=S(35461);function toCamelCase(E){return E.replace(/-([a-z])/g,(E=>E.substr(1).toUpperCase()))}class Resolver{static createStackEntry(E,k){return E.name+": ("+k.path+") "+(k.request||"")+(k.query||"")+(k.fragment||"")+(k.directory?" directory":"")+(k.module?" module":"")}constructor(E,k){this.fileSystem=E;this.options=k;this.hooks={resolveStep:new j(["hook","request"],"resolveStep"),noResolve:new j(["request","error"],"noResolve"),resolve:new w(["request","resolveContext"],"resolve"),result:new N(["result","resolveContext"],"result")}}ensureHook(E){if(typeof E!=="string"){return E}E=toCamelCase(E);if(/^before/.test(E)){return this.ensureHook(E[6].toLowerCase()+E.substr(7)).withOptions({stage:-10})}if(/^after/.test(E)){return this.ensureHook(E[5].toLowerCase()+E.substr(6)).withOptions({stage:10})}const k=this.hooks[E];if(!k){return this.hooks[E]=new w(["request","resolveContext"],E)}return k}getHook(E){if(typeof E!=="string"){return E}E=toCamelCase(E);if(/^before/.test(E)){return this.getHook(E[6].toLowerCase()+E.substr(7)).withOptions({stage:-10})}if(/^after/.test(E)){return this.getHook(E[5].toLowerCase()+E.substr(6)).withOptions({stage:10})}const k=this.hooks[E];if(!k){throw new Error(`Hook ${E} doesn't exist`)}return k}resolveSync(E,k,S){let w=undefined;let N=undefined;let j=false;this.resolve(E,k,S,{},((E,k)=>{w=E;N=k;j=true}));if(!j){throw new Error("Cannot 'resolveSync' because the fileSystem is not sync. Use 'resolve'!")}if(w)throw w;if(N===undefined)throw new Error("No result");return N}resolve(E,k,S,w,N){if(!E||typeof E!=="object")return N(new Error("context argument is not an object"));if(typeof k!=="string")return N(new Error("path argument is not a string"));if(typeof S!=="string")return N(new Error("path argument is not a string"));if(!w)return N(new Error("resolveContext argument is not set"));const j={context:E,path:k,request:S};const q=`resolve '${S}' in '${k}'`;const finishResolved=E=>N(null,E.path===false?false:`${E.path.replace(/#/g,"\0#")}${E.query?E.query.replace(/#/g,"\0#"):""}${E.fragment||""}`,E);const finishWithoutResolve=E=>{const k=new Error("Can't "+q);k.details=E.join("\n");this.hooks.noResolve.call(j,k);return N(k)};if(w.log){const E=w.log;const k=[];return this.doResolve(this.hooks.resolve,j,q,{log:S=>{E(S);k.push(S)},fileDependencies:w.fileDependencies,contextDependencies:w.contextDependencies,missingDependencies:w.missingDependencies,stack:w.stack},((E,S)=>{if(E)return N(E);if(S)return finishResolved(S);return finishWithoutResolve(k)}))}else{return this.doResolve(this.hooks.resolve,j,q,{log:undefined,fileDependencies:w.fileDependencies,contextDependencies:w.contextDependencies,missingDependencies:w.missingDependencies,stack:w.stack},((E,k)=>{if(E)return N(E);if(k)return finishResolved(k);const S=[];return this.doResolve(this.hooks.resolve,j,q,{log:E=>S.push(E),stack:w.stack},((E,k)=>{if(E)return N(E);return finishWithoutResolve(S)}))}))}}doResolve(E,k,S,w,N){const j=Resolver.createStackEntry(E,k);let ee;if(w.stack){ee=new Set(w.stack);if(w.stack.has(j)){const E=new Error("Recursion in resolving\nStack:\n "+Array.from(ee).join("\n "));E.recursion=true;if(w.log)w.log("abort resolving because of recursion");return N(E)}ee.add(j)}else{ee=new Set([j])}this.hooks.resolveStep.call(E,k);if(E.isUsed()){const j=q({log:w.log,fileDependencies:w.fileDependencies,contextDependencies:w.contextDependencies,missingDependencies:w.missingDependencies,stack:ee},S);return E.callAsync(k,j,((E,k)=>{if(E)return N(E);if(k)return N(null,k);N()}))}else{N()}}parse(E){const k={request:"",query:"",fragment:"",module:false,directory:false,file:false,internal:false};const S=ee(E);if(!S)return k;[k.request,k.query,k.fragment]=S;if(k.request.length>0){k.internal=this.isPrivate(E);k.module=this.isModule(k.request);k.directory=this.isDirectory(k.request);if(k.directory){k.request=k.request.substr(0,k.request.length-1)}}return k}isModule(E){return ae(E)===_e.Normal}isPrivate(E){return ae(E)===_e.Internal}isDirectory(E){return E.endsWith("/")}join(E,k){return ne(E,k)}normalize(E){return te(E)}}E.exports=Resolver},34739:(E,k,S)=>{"use strict";const w=S(61765).versions;const N=S(67230);const{getType:j,PathType:q}=S(35461);const ee=S(82728);const te=S(22170);const ne=S(1037);const ae=S(44296);const _e=S(74636);const ve=S(71929);const Ee=S(78613);const we=S(92410);const Ce=S(27426);const Me=S(70877);const Te=S(24587);const Ie=S(15241);const Oe=S(78253);const Re=S(25535);const Fe=S(90435);const Ne=S(24561);const Be=S(19749);const Le=S(33014);const je=S(31801);const $e=S(51078);const ze=S(70821);const Ue=S(63888);const Ge=S(86293);const qe=S(91434);const Ve=S(16004);const He=S(36142);function processPnpApiOption(E){if(E===undefined&&w.pnp){return S(3498)}return E||null}function normalizeAlias(E){return typeof E==="object"&&!Array.isArray(E)&&E!==null?Object.keys(E).map((k=>{const S={name:k,onlyModule:false,alias:E[k]};if(/\$$/.test(k)){S.onlyModule=true;S.name=k.substr(0,k.length-1)}return S})):E||[]}function createOptions(E){const k=new Set(E.mainFields||["main"]);const S=[];for(const E of k){if(typeof E==="string"){S.push({name:[E],forceRelative:true})}else if(Array.isArray(E)){S.push({name:E,forceRelative:true})}else{S.push({name:Array.isArray(E.name)?E.name:[E.name],forceRelative:E.forceRelative})}}return{alias:normalizeAlias(E.alias),fallback:normalizeAlias(E.fallback),aliasFields:new Set(E.aliasFields),cachePredicate:E.cachePredicate||function(){return true},cacheWithContext:typeof E.cacheWithContext!=="undefined"?E.cacheWithContext:true,exportsFields:new Set(E.exportsFields||["exports"]),importsFields:new Set(E.importsFields||["imports"]),conditionNames:new Set(E.conditionNames),descriptionFiles:Array.from(new Set(E.descriptionFiles||["package.json"])),enforceExtension:E.enforceExtension===undefined?E.extensions&&E.extensions.includes("")?true:false:E.enforceExtension,extensions:new Set(E.extensions||[".js",".json",".node"]),fileSystem:E.useSyncFileSystemCalls?new ee(E.fileSystem):E.fileSystem,unsafeCache:E.unsafeCache&&typeof E.unsafeCache!=="object"?{}:E.unsafeCache||false,symlinks:typeof E.symlinks!=="undefined"?E.symlinks:true,resolver:E.resolver,modules:mergeFilteredToArray(Array.isArray(E.modules)?E.modules:E.modules?[E.modules]:["node_modules"],(E=>{const k=j(E);return k===q.Normal||k===q.Relative})),mainFields:S,mainFiles:new Set(E.mainFiles||["index"]),plugins:E.plugins||[],pnpApi:processPnpApiOption(E.pnpApi),roots:new Set(E.roots||undefined),fullySpecified:E.fullySpecified||false,resolveToContext:E.resolveToContext||false,preferRelative:E.preferRelative||false,preferAbsolute:E.preferAbsolute||false,restrictions:new Set(E.restrictions)}}k.createResolver=function(E){const k=createOptions(E);const{alias:S,fallback:w,aliasFields:j,cachePredicate:q,cacheWithContext:ee,conditionNames:We,descriptionFiles:Ke,enforceExtension:Xe,exportsFields:Qe,importsFields:Je,extensions:Ye,fileSystem:Ze,fullySpecified:et,mainFields:tt,mainFiles:nt,modules:rt,plugins:it,pnpApi:st,resolveToContext:ot,preferRelative:ut,preferAbsolute:lt,symlinks:ct,unsafeCache:pt,resolver:ft,restrictions:dt,roots:ht}=k;const mt=it.slice();const gt=ft?ft:new N(Ze,k);gt.ensureHook("resolve");gt.ensureHook("internalResolve");gt.ensureHook("newInteralResolve");gt.ensureHook("parsedResolve");gt.ensureHook("describedResolve");gt.ensureHook("internal");gt.ensureHook("rawModule");gt.ensureHook("module");gt.ensureHook("resolveAsModule");gt.ensureHook("undescribedResolveInPackage");gt.ensureHook("resolveInPackage");gt.ensureHook("resolveInExistingDirectory");gt.ensureHook("relative");gt.ensureHook("describedRelative");gt.ensureHook("directory");gt.ensureHook("undescribedExistingDirectory");gt.ensureHook("existingDirectory");gt.ensureHook("undescribedRawFile");gt.ensureHook("rawFile");gt.ensureHook("file");gt.ensureHook("finalFile");gt.ensureHook("existingFile");gt.ensureHook("resolved");for(const{source:E,resolveOptions:k}of[{source:"resolve",resolveOptions:{fullySpecified:et}},{source:"internal-resolve",resolveOptions:{fullySpecified:false}}]){if(pt){mt.push(new Ve(E,q,pt,ee,`new-${E}`));mt.push(new Be(`new-${E}`,k,"parsed-resolve"))}else{mt.push(new Be(E,k,"parsed-resolve"))}}mt.push(new ve("parsed-resolve",Ke,false,"described-resolve"));mt.push(new Ne("after-parsed-resolve","described-resolve"));mt.push(new Ne("described-resolve","normal-resolve"));if(w.length>0){mt.push(new ne("described-resolve",w,"internal-resolve"))}if(S.length>0)mt.push(new ne("normal-resolve",S,"internal-resolve"));j.forEach((E=>{mt.push(new te("normal-resolve",E,"internal-resolve"))}));if(ut){mt.push(new Ie("after-normal-resolve","relative"))}mt.push(new _e("after-normal-resolve",{module:true},"resolve as module",false,"raw-module"));mt.push(new _e("after-normal-resolve",{internal:true},"resolve as internal import",false,"internal"));if(lt){mt.push(new Ie("after-normal-resolve","relative"))}if(ht.size>0){mt.push(new ze("after-normal-resolve",ht,"relative"))}if(!ut&&!lt){mt.push(new Ie("after-normal-resolve","relative"))}Je.forEach((E=>{mt.push(new Me("internal",We,E,"relative","internal-resolve"))}));Qe.forEach((E=>{mt.push(new Ue("raw-module",E,"resolve-as-module"))}));rt.forEach((E=>{if(Array.isArray(E)){if(E.includes("node_modules")&&st){mt.push(new Re("raw-module",E.filter((E=>E!=="node_modules")),"module"));mt.push(new Le("raw-module",st,"undescribed-resolve-in-package"))}else{mt.push(new Re("raw-module",E,"module"))}}else{mt.push(new Fe("raw-module",E,"module"))}}));mt.push(new Te("module","resolve-as-module"));if(!ot){mt.push(new _e("resolve-as-module",{directory:false,request:"."},"single file module",true,"undescribed-raw-file"))}mt.push(new Ee("resolve-as-module","undescribed-resolve-in-package"));mt.push(new ve("undescribed-resolve-in-package",Ke,false,"resolve-in-package"));mt.push(new Ne("after-undescribed-resolve-in-package","resolve-in-package"));Qe.forEach((E=>{mt.push(new we("resolve-in-package",We,E,"relative"))}));mt.push(new Ne("resolve-in-package","resolve-in-existing-directory"));mt.push(new Ie("resolve-in-existing-directory","relative"));mt.push(new ve("relative",Ke,true,"described-relative"));mt.push(new Ne("after-relative","described-relative"));if(ot){mt.push(new Ne("described-relative","directory"))}else{mt.push(new _e("described-relative",{directory:false},null,true,"raw-file"));mt.push(new _e("described-relative",{fullySpecified:false},"as directory",true,"directory"))}mt.push(new Ee("directory","undescribed-existing-directory"));if(ot){mt.push(new Ne("undescribed-existing-directory","resolved"))}else{mt.push(new ve("undescribed-existing-directory",Ke,false,"existing-directory"));nt.forEach((E=>{mt.push(new He("undescribed-existing-directory",E,"undescribed-raw-file"))}));tt.forEach((E=>{mt.push(new Oe("existing-directory",E,"resolve-in-existing-directory"))}));nt.forEach((E=>{mt.push(new He("existing-directory",E,"undescribed-raw-file"))}));mt.push(new ve("undescribed-raw-file",Ke,true,"raw-file"));mt.push(new Ne("after-undescribed-raw-file","raw-file"));mt.push(new _e("raw-file",{fullySpecified:true},null,false,"file"));if(!Xe){mt.push(new qe("raw-file","no extension","file"))}Ye.forEach((E=>{mt.push(new ae("raw-file",E,"file"))}));if(S.length>0)mt.push(new ne("file",S,"internal-resolve"));j.forEach((E=>{mt.push(new te("file",E,"internal-resolve"))}));mt.push(new Ne("file","final-file"));mt.push(new Ce("final-file","existing-file"));if(ct)mt.push(new Ge("existing-file","existing-file"));mt.push(new Ne("existing-file","resolved"))}if(dt.size>0){mt.push(new je(gt.hooks.resolved,dt))}mt.push(new $e(gt.hooks.resolved));for(const E of mt){if(typeof E==="function"){E.call(gt,gt)}else{E.apply(gt)}}return gt};function mergeFilteredToArray(E,k){const S=[];const w=new Set(E);for(const E of w){if(k(E)){const k=S.length>0?S[S.length-1]:undefined;if(Array.isArray(k)){k.push(E)}else{S.push([E])}}else{S.push(E)}}return S}},31801:E=>{"use strict";const k="/".charCodeAt(0);const S="\\".charCodeAt(0);const isInside=(E,w)=>{if(!E.startsWith(w))return false;if(E.length===w.length)return true;const N=E.charCodeAt(w.length);return N===k||N===S};E.exports=class RestrictionsPlugin{constructor(E,k){this.source=E;this.restrictions=k}apply(E){E.getHook(this.source).tapAsync("RestrictionsPlugin",((E,k,S)=>{if(typeof E.path==="string"){const w=E.path;for(const E of this.restrictions){if(typeof E==="string"){if(!isInside(w,E)){if(k.log){k.log(`${w} is not inside of the restriction ${E}`)}return S(null,null)}}else if(!E.test(w)){if(k.log){k.log(`${w} doesn't match the restriction ${E}`)}return S(null,null)}}}S()}))}}},51078:E=>{"use strict";E.exports=class ResultPlugin{constructor(E){this.source=E}apply(E){this.source.tapAsync("ResultPlugin",((k,S,w)=>{const N={...k};if(S.log)S.log("reporting result "+N.path);E.hooks.result.callAsync(N,S,(E=>{if(E)return w(E);w(null,N)}))}))}}},70821:(E,k,S)=>{"use strict";const w=S(86373);class RootsPlugin{constructor(E,k,S){this.roots=Array.from(k);this.source=E;this.target=S}apply(E){const k=E.ensureHook(this.target);E.getHook(this.source).tapAsync("RootsPlugin",((S,N,j)=>{const q=S.request;if(!q)return j();if(!q.startsWith("/"))return j();w(this.roots,((w,j)=>{const ee=E.join(w,q.slice(1));const te={...S,path:ee,relativePath:S.relativePath&&ee};E.doResolve(k,te,`root path ${w}`,N,j)}),j)}))}}E.exports=RootsPlugin},63888:(E,k,S)=>{"use strict";const w=S(73154);const N="/".charCodeAt(0);E.exports=class SelfReferencePlugin{constructor(E,k,S){this.source=E;this.target=S;this.fieldName=k}apply(E){const k=E.ensureHook(this.target);E.getHook(this.source).tapAsync("SelfReferencePlugin",((S,j,q)=>{if(!S.descriptionFilePath)return q();const ee=S.request;if(!ee)return q();const te=w.getField(S.descriptionFileData,this.fieldName);if(!te)return q();const ne=w.getField(S.descriptionFileData,"name");if(typeof ne!=="string")return q();if(ee.startsWith(ne)&&(ee.length===ne.length||ee.charCodeAt(ne.length)===N)){const w=`.${ee.slice(ne.length)}`;const N={...S,request:w,path:S.descriptionFileRoot,relativePath:"."};E.doResolve(k,N,"self reference",j,q)}else{return q()}}))}}},86293:(E,k,S)=>{"use strict";const w=S(86373);const N=S(62848);const{getType:j,PathType:q}=S(35461);E.exports=class SymlinkPlugin{constructor(E,k){this.source=E;this.target=k}apply(E){const k=E.ensureHook(this.target);const S=E.fileSystem;E.getHook(this.source).tapAsync("SymlinkPlugin",((ee,te,ne)=>{if(ee.ignoreSymlinks)return ne();const ae=N(ee.path);const _e=ae.seqments;const ve=ae.paths;let Ee=false;let we=-1;w(ve,((E,k)=>{we++;if(te.fileDependencies)te.fileDependencies.add(E);S.readlink(E,((E,S)=>{if(!E&&S){_e[we]=S;Ee=true;const E=j(S.toString());if(E===q.AbsoluteWin||E===q.AbsolutePosix){return k(null,we)}}k()}))}),((S,w)=>{if(!Ee)return ne();const N=typeof w==="number"?_e.slice(0,w+1):_e.slice();const j=N.reduceRight(((k,S)=>E.join(k,S)));const q={...ee,path:j};E.doResolve(k,q,"resolved symlink to "+j,te,ne)}))}))}}},82728:E=>{"use strict";function SyncAsyncFileSystemDecorator(E){this.fs=E;this.lstat=undefined;this.lstatSync=undefined;const k=E.lstatSync;if(k){this.lstat=(S,w,N)=>{let j;try{j=k.call(E,S)}catch(E){return(N||w)(E)}(N||w)(null,j)};this.lstatSync=(S,w)=>k.call(E,S,w)}this.stat=(k,S,w)=>{let N;try{N=E.statSync(k,S)}catch(E){return(w||S)(E)}(w||S)(null,N)};this.statSync=(k,S)=>E.statSync(k,S);this.readdir=(k,S,w)=>{let N;try{N=E.readdirSync(k)}catch(E){return(w||S)(E)}(w||S)(null,N)};this.readdirSync=(k,S)=>E.readdirSync(k,S);this.readFile=(k,S,w)=>{let N;try{N=E.readFileSync(k)}catch(E){return(w||S)(E)}(w||S)(null,N)};this.readFileSync=(k,S)=>E.readFileSync(k,S);this.readlink=(k,S,w)=>{let N;try{N=E.readlinkSync(k)}catch(E){return(w||S)(E)}(w||S)(null,N)};this.readlinkSync=(k,S)=>E.readlinkSync(k,S);this.readJson=undefined;this.readJsonSync=undefined;const S=E.readJsonSync;if(S){this.readJson=(k,w,N)=>{let j;try{j=S.call(E,k)}catch(E){return(N||w)(E)}(N||w)(null,j)};this.readJsonSync=(k,w)=>S.call(E,k,w)}}E.exports=SyncAsyncFileSystemDecorator},91434:E=>{"use strict";E.exports=class TryNextPlugin{constructor(E,k,S){this.source=E;this.message=k;this.target=S}apply(E){const k=E.ensureHook(this.target);E.getHook(this.source).tapAsync("TryNextPlugin",((S,w,N)=>{E.doResolve(k,S,this.message,w,N)}))}}},16004:E=>{"use strict";function getCacheId(E,k){return JSON.stringify({context:k?E.context:"",path:E.path,query:E.query,fragment:E.fragment,request:E.request})}E.exports=class UnsafeCachePlugin{constructor(E,k,S,w,N){this.source=E;this.filterPredicate=k;this.withContext=w;this.cache=S;this.target=N}apply(E){const k=E.ensureHook(this.target);E.getHook(this.source).tapAsync("UnsafeCachePlugin",((S,w,N)=>{if(!this.filterPredicate(S))return N();const j=getCacheId(S,this.withContext);const q=this.cache[j];if(q){return N(null,q)}E.doResolve(k,S,null,w,((E,k)=>{if(E)return N(E);if(k)return N(null,this.cache[j]=k);N()}))}))}}},36142:E=>{"use strict";E.exports=class UseFilePlugin{constructor(E,k,S){this.source=E;this.filename=k;this.target=S}apply(E){const k=E.ensureHook(this.target);E.getHook(this.source).tapAsync("UseFilePlugin",((S,w,N)=>{const j=E.join(S.path,this.filename);const q={...S,path:j,relativePath:S.relativePath&&E.join(S.relativePath,this.filename)};E.doResolve(k,q,"using path: "+j,w,N)}))}}},2828:E=>{"use strict";E.exports=function createInnerContext(E,k,S){let w=false;let N=undefined;if(E.log){if(k){N=S=>{if(!w){E.log(k);w=true}E.log(" "+S)}}else{N=E.log}}const j={log:N,fileDependencies:E.fileDependencies,contextDependencies:E.contextDependencies,missingDependencies:E.missingDependencies,stack:E.stack};return j}},86373:E=>{"use strict";E.exports=function forEachBail(E,k,S){if(E.length===0)return S();let w=0;const next=()=>{let N=undefined;k(E[w++],((k,j)=>{if(k||j!==undefined||w>=E.length){return S(k,j)}if(N===false)while(next());N=true}));if(!N)N=false;return N};while(next());}},43040:E=>{"use strict";E.exports=function getInnerRequest(E,k){if(typeof k.__innerRequest==="string"&&k.__innerRequest_request===k.request&&k.__innerRequest_relativePath===k.relativePath)return k.__innerRequest;let S;if(k.request){S=k.request;if(/^\.\.?\//.test(S)&&k.relativePath){S=E.join(k.relativePath,S)}}else{S=k.relativePath}k.__innerRequest_request=k.request;k.__innerRequest_relativePath=k.relativePath;return k.__innerRequest=S}},62848:E=>{"use strict";E.exports=function getPaths(E){const k=E.split(/(.*?[\\/]+)/);const S=[E];const w=[k[k.length-1]];let N=k[k.length-1];E=E.substr(0,E.length-N.length-1);for(let j=k.length-2;j>2;j-=2){S.push(E);N=k[j];E=E.substr(0,E.length-N.length)||"/";w.push(N.substr(0,N.length-1))}N=k[1];w.push(N);S.push(N);return{paths:S,seqments:w}};E.exports.basename=function basename(E){const k=E.lastIndexOf("/"),S=E.lastIndexOf("\\");const w=k<0?S:S<0?k:k{"use strict";const w=S(15808);const N=S(76537);const j=S(34739);const q=new N(w,4e3);const ee={environments:["node+es3+es5+process+native"]};const te=j.createResolver({conditionNames:["node"],extensions:[".js",".json",".node"],fileSystem:q});function resolve(E,k,S,w,N){if(typeof E==="string"){N=w;w=S;S=k;k=E;E=ee}if(typeof N!=="function"){N=w}te.resolve(E,k,S,w,N)}const ne=j.createResolver({conditionNames:["node"],extensions:[".js",".json",".node"],useSyncFileSystemCalls:true,fileSystem:q});function resolveSync(E,k,S){if(typeof E==="string"){S=k;k=E;E=ee}return ne.resolveSync(E,k,S)}function create(E){E={fileSystem:q,...E};const k=j.createResolver(E);return function(E,S,w,N,j){if(typeof E==="string"){j=N;N=w;w=S;S=E;E=ee}if(typeof j!=="function"){j=N}k.resolve(E,S,w,N,j)}}function createSync(E){E={useSyncFileSystemCalls:true,fileSystem:q,...E};const k=j.createResolver(E);return function(E,S,w){if(typeof E==="string"){w=S;S=E;E=ee}return k.resolveSync(E,S,w)}}const mergeExports=(E,k)=>{const S=Object.getOwnPropertyDescriptors(k);Object.defineProperties(E,S);return Object.freeze(E)};E.exports=mergeExports(resolve,{get sync(){return resolveSync},create:mergeExports(create,{get sync(){return createSync}}),ResolverFactory:j,CachedInputFileSystem:N,get CloneBasenamePlugin(){return S(35142)},get LogInfoPlugin(){return S(41529)},get forEachBail(){return S(86373)}})},97826:E=>{"use strict";const k="/".charCodeAt(0);const S=".".charCodeAt(0);const w="#".charCodeAt(0);E.exports.processExportsField=function processExportsField(E){return createFieldProcessor(buildExportsFieldPathTree(E),assertExportsFieldRequest,assertExportTarget)};E.exports.processImportsField=function processImportsField(E){return createFieldProcessor(buildImportsFieldPathTree(E),assertImportsFieldRequest,assertImportTarget)};function createFieldProcessor(E,k,S){return function fieldProcessor(w,N){w=k(w);const j=findMatch(w,E);if(j===null)return[];const[q,ee]=j;let te=null;if(isConditionalMapping(q)){te=conditionalMapping(q,N);if(te===null)return[]}else{te=q}const ne=ee===w.length+1?undefined:ee<0?w.slice(-ee-1):w.slice(ee);return directMapping(ne,ee<0,te,N,S)}}function assertExportsFieldRequest(E){if(E.charCodeAt(0)!==S){throw new Error('Request should be relative path and start with "."')}if(E.length===1)return"";if(E.charCodeAt(1)!==k){throw new Error('Request should be relative path and start with "./"')}if(E.charCodeAt(E.length-1)===k){throw new Error("Only requesting file allowed")}return E.slice(2)}function assertImportsFieldRequest(E){if(E.charCodeAt(0)!==w){throw new Error('Request should start with "#"')}if(E.length===1){throw new Error("Request should have at least 2 characters")}if(E.charCodeAt(1)===k){throw new Error('Request should not start with "#/"')}if(E.charCodeAt(E.length-1)===k){throw new Error("Only requesting file allowed")}return E.slice(1)}function assertExportTarget(E,w){if(E.charCodeAt(0)===k||E.charCodeAt(0)===S&&E.charCodeAt(1)!==k){throw new Error(`Export should be relative path and start with "./", got ${JSON.stringify(E)}.`)}const N=E.charCodeAt(E.length-1)===k;if(N!==w){throw new Error(w?`Expecting folder to folder mapping. ${JSON.stringify(E)} should end with "/"`:`Expecting file to file mapping. ${JSON.stringify(E)} should not end with "/"`)}}function assertImportTarget(E,S){const w=E.charCodeAt(E.length-1)===k;if(w!==S){throw new Error(S?`Expecting folder to folder mapping. ${JSON.stringify(E)} should end with "/"`:`Expecting file to file mapping. ${JSON.stringify(E)} should not end with "/"`)}}function findMatch(E,k){if(E.length===0){const E=k.files.get("");return E?[E,1]:null}if(k.children===null&&k.folder===null&&k.wildcards===null){const S=k.files.get(E);return S?[S,E.length+1]:null}let S=k;let w=0;let N=E.indexOf("/",0);let j=null;const applyFolderMapping=()=>{const E=S.folder;if(E){if(j){j[0]=E;j[1]=-w-1}else{j=[E,-w-1]}}};const applyWildcardMappings=(E,k)=>{if(E){for(const[S,N]of E){if(k.startsWith(S)){if(!j){j=[N,w+S.length]}else if(j[1]0?E.slice(w):E;const ee=S.files.get(q);if(ee){return[ee,E.length+1]}applyFolderMapping();applyWildcardMappings(S.wildcards,q);return j}function isConditionalMapping(E){return E!==null&&typeof E==="object"&&!Array.isArray(E)}function directMapping(E,k,S,w,N){if(S===null)return[];if(typeof S==="string"){return[targetMapping(E,k,S,N)]}const j=[];for(const q of S){if(typeof q==="string"){j.push(targetMapping(E,k,q,N));continue}const S=conditionalMapping(q,w);if(!S)continue;const ee=directMapping(E,k,S,w,N);for(const E of ee){j.push(E)}}return j}function targetMapping(E,k,S,w){if(E===undefined){w(S,false);return S}if(k){w(S,true);return S+E}w(S,false);return S.replace(/\*/g,E.replace(/\$/g,"$$"))}function conditionalMapping(E,k){let S=[[E,Object.keys(E),0]];e:while(S.length>0){const[E,w,N]=S[S.length-1];const j=w.length-1;for(let q=N;q=k.length){w.folder=S}else{const E=N>0?k.slice(N):k;if(E.endsWith("*")){if(w.wildcards===null)w.wildcards=new Map;w.wildcards.set(E.slice(0,-1),S)}else{w.files.set(E,S)}}}function buildExportsFieldPathTree(E){const w=createNode();if(typeof E==="string"){w.files.set("",E);return w}else if(Array.isArray(E)){w.files.set("",E.slice());return w}const N=Object.keys(E);for(let j=0;j{"use strict";const k=/^(#?(?:\0.|[^?#\0])*)(\?(?:\0.|[^#\0])*)?(#.*)?$/;function parseIdentifier(E){const S=k.exec(E);if(!S)return null;return[S[1].replace(/\0(.)/g,"$1"),S[2]?S[2].replace(/\0(.)/g,"$1"):"",S[3]||""]}E.exports.parseIdentifier=parseIdentifier},35461:(E,k,S)=>{"use strict";const w=S(85622);const N="#".charCodeAt(0);const j="/".charCodeAt(0);const q="\\".charCodeAt(0);const ee="A".charCodeAt(0);const te="Z".charCodeAt(0);const ne="a".charCodeAt(0);const ae="z".charCodeAt(0);const _e=".".charCodeAt(0);const ve=":".charCodeAt(0);const Ee=w.posix.normalize;const we=w.win32.normalize;const Ce=Object.freeze({Empty:0,Normal:1,Relative:2,AbsoluteWin:3,AbsolutePosix:4,Internal:5});k.PathType=Ce;const getType=E=>{switch(E.length){case 0:return Ce.Empty;case 1:{const k=E.charCodeAt(0);switch(k){case _e:return Ce.Relative;case j:return Ce.AbsolutePosix;case N:return Ce.Internal}return Ce.Normal}case 2:{const k=E.charCodeAt(0);switch(k){case _e:{const k=E.charCodeAt(1);switch(k){case _e:case j:return Ce.Relative}return Ce.Normal}case j:return Ce.AbsolutePosix;case N:return Ce.Internal}const S=E.charCodeAt(1);if(S===ve){if(k>=ee&&k<=te||k>=ne&&k<=ae){return Ce.AbsoluteWin}}return Ce.Normal}}const k=E.charCodeAt(0);switch(k){case _e:{const k=E.charCodeAt(1);switch(k){case j:return Ce.Relative;case _e:{const k=E.charCodeAt(2);if(k===j)return Ce.Relative;return Ce.Normal}}return Ce.Normal}case j:return Ce.AbsolutePosix;case N:return Ce.Internal}const S=E.charCodeAt(1);if(S===ve){const S=E.charCodeAt(2);if((S===q||S===j)&&(k>=ee&&k<=te||k>=ne&&k<=ae)){return Ce.AbsoluteWin}}return Ce.Normal};k.getType=getType;const normalize=E=>{switch(getType(E)){case Ce.Empty:return E;case Ce.AbsoluteWin:return we(E);case Ce.Relative:{const k=Ee(E);return getType(k)===Ce.Relative?k:`./${k}`}}return Ee(E)};k.normalize=normalize;const join=(E,k)=>{if(!k)return normalize(E);const S=getType(k);switch(S){case Ce.AbsolutePosix:return Ee(k);case Ce.AbsoluteWin:return we(k)}switch(getType(E)){case Ce.Normal:case Ce.Relative:case Ce.AbsolutePosix:return Ee(`${E}/${k}`);case Ce.AbsoluteWin:return we(`${E}\\${k}`)}switch(S){case Ce.Empty:return E;case Ce.Relative:{const k=Ee(E);return getType(k)===Ce.Relative?k:`./${k}`}}return Ee(E)};k.join=join;const Me=new Map;const cachedJoin=(E,k)=>{let S;let w=Me.get(E);if(w===undefined){Me.set(E,w=new Map)}else{S=w.get(k);if(S!==undefined)return S}S=join(E,k);w.set(k,S);return S};k.cachedJoin=cachedJoin;const checkExportsFieldTarget=E=>{let k=2;let S=E.indexOf("/",2);let w=0;while(S!==-1){const N=E.slice(k,S);switch(N){case"..":{w--;if(w<0)return new Error(`Trying to access out of package scope. Requesting ${E}`);break}default:w++;break}k=S+1;S=E.indexOf("/",k)}};k.checkExportsFieldTarget=checkExportsFieldTarget},76185:(E,k,S)=>{"use strict";const w=S(33839);const{SourceMapConsumer:N,SourceNode:j}=S(99596);const{SourceListMap:q,fromStringWithSourceMap:ee}=S(6900);const te={columns:false};const mapToBufferedMap=E=>{if(typeof E!=="object"||!E)return E;const k=Object.assign({},E);if(E.mappings){k.mappings=Buffer.from(E.mappings,"utf-8")}if(E.sourcesContent){k.sourcesContent=E.sourcesContent.map((E=>E&&Buffer.from(E,"utf-8")))}return k};const bufferedMapToMap=E=>{if(typeof E!=="object"||!E)return E;const k=Object.assign({},E);if(E.mappings){k.mappings=E.mappings.toString("utf-8")}if(E.sourcesContent){k.sourcesContent=E.sourcesContent.map((E=>E&&E.toString("utf-8")))}return k};const sourceAndMapToNode=(E,k)=>{if(k){return j.fromStringWithSourceMap(E,new N(k))}else{return new j(null,null,null,E)}};const sourceAndMapToListMap=(E,k)=>{if(k){return ee(E,k)}else{return new q(E)}};class CachedSource extends w{constructor(E,k){super();this._source=E;this._cachedSourceType=k?k.source:undefined;this._cachedSource=undefined;this._cachedBuffer=k?k.buffer:undefined;this._cachedSize=k?k.size:undefined;this._cachedMaps=k?k.maps:new Map;this._cachedHashUpdate=k?k.hash:undefined}getCachedData(){const E=new Map;for(const k of this._cachedMaps){let S=k[1];if(S.bufferedMap===undefined){S.bufferedMap=mapToBufferedMap(this._getMapFromCacheEntry(S))}E.set(k[0],{map:undefined,node:undefined,listMap:undefined,bufferedMap:S.bufferedMap})}if(this._cachedSource){this.buffer()}return{buffer:this._cachedBuffer,source:this._cachedSourceType!==undefined?this._cachedSourceType:typeof this._cachedSource==="string"?true:Buffer.isBuffer(this._cachedSource)?false:undefined,size:this._cachedSize,maps:E,hash:this._cachedHashUpdate}}originalLazy(){return this._source}original(){if(typeof this._source==="function")this._source=this._source();return this._source}source(){const E=this._getCachedSource();if(E!==undefined)return E;return this._cachedSource=this.original().source()}_getMapFromCacheEntry(E){if(E.map!==undefined){return E.map}else if(E.bufferedMap!==undefined){return E.map=bufferedMapToMap(E.bufferedMap)}else if(E.node!==undefined){const k=E.node.toStringWithSourceMap({file:"x"});if(this._cachedSource===undefined)this._cachedSource=k.code;return E.map=k.map.toJSON()}else if(E.listMap!==undefined){const k=E.listMap.toStringWithSourceMap({file:"x"});if(this._cachedSource===undefined)this._cachedSource=k.source;return E.map=k.map}}_getCachedSource(){if(this._cachedSource!==undefined)return this._cachedSource;if(this._cachedBuffer&&this._cachedSourceType!==undefined){return this._cachedSource=this._cachedSourceType?this._cachedBuffer.toString("utf-8"):this._cachedBuffer}for(const E of this._cachedMaps.values()){if(E.node!==undefined){return this._cachedSource=E.node.toString()}if(E.listMap!==undefined){return this._cachedSource=E.listMap.toString()}}}buffer(){if(this._cachedBuffer!==undefined)return this._cachedBuffer;if(this._cachedSource!==undefined){if(Buffer.isBuffer(this._cachedSource)){return this._cachedBuffer=this._cachedSource}return this._cachedBuffer=Buffer.from(this._cachedSource,"utf-8")}if(typeof this.original().buffer==="function"){return this._cachedBuffer=this.original().buffer()}const E=this.source();if(Buffer.isBuffer(E)){return this._cachedBuffer=E}return this._cachedBuffer=Buffer.from(E,"utf-8")}size(){if(this._cachedSize!==undefined)return this._cachedSize;if(this._cachedBuffer!==undefined){return this._cachedSize=this._cachedBuffer.length}const E=this._getCachedSource();if(E!==undefined){return this._cachedSize=Buffer.byteLength(E)}return this._cachedSize=this.original().size()}sourceAndMap(E){const k=E?JSON.stringify(E):"{}";const S=this._cachedMaps.get(k);if(S!==undefined){const E=this._getMapFromCacheEntry(S);return{source:this.source(),map:E}}let w=this._getCachedSource();let N;if(w!==undefined){N=this.original().map(E)}else{const k=this.original().sourceAndMap(E);w=k.source;N=k.map;this._cachedSource=w}this._cachedMaps.set(k,{map:N,node:undefined,listMap:undefined,bufferedMap:undefined});return{source:w,map:N}}node(E){const k=E?JSON.stringify(E):"{}";let S=this._cachedMaps.get(k);if(S!==undefined){if(S.node)return S.node;const E=this._getMapFromCacheEntry(S);const k=this.source();const w=sourceAndMapToNode(k,E);S.node=w;return w}let w;const N=this.original();if(typeof N.node==="function"){w=N.node(E);this._cachedMaps.set(k,{map:undefined,node:w,listMap:undefined,bufferedMap:undefined})}else{const S=this.sourceAndMap(E);w=sourceAndMapToNode(S.source,S.map);this._cachedMaps.get(k).node=w}return w}listMap(E){let k;if(!E){k='{"columns":false}';E=te}else{if(E.columns!==false){E=Object.assign({},E,te)}k=JSON.stringify(E)}let S=this._cachedMaps.get(k);if(S!==undefined){if(S.listMap)return S.listMap;const E=this._getMapFromCacheEntry(S);const k=this.source();const w=sourceAndMapToListMap(k,E);S.listMap=w;return w}let w;const N=this.original();if(typeof N.listMap==="function"){w=N.listMap(E);this._cachedMaps.set(k,{map:undefined,node:undefined,listMap:w,bufferedMap:undefined})}else{const S=this.sourceAndMap(E);w=sourceAndMapToListMap(S.source,S.map);this._cachedMaps.get(k).listMap=w}return w}map(E){const k=E?JSON.stringify(E):"{}";const S=this._cachedMaps.get(k);if(S!==undefined){return this._getMapFromCacheEntry(S)}const w=this.original().map(E);this._cachedMaps.set(k,{map:w,node:undefined,listMap:undefined,bufferedMap:undefined});return w}updateHash(E){if(this._cachedHashUpdate!==undefined){for(const k of this._cachedHashUpdate)E.update(k);return}const k=[];let S=undefined;const w={update:E=>{if(typeof E==="string"&&E.length<10240){if(S===undefined){S=E}else{S+=E;if(S>102400){k.push(Buffer.from(S));S=undefined}}}else{if(S!==undefined){k.push(Buffer.from(S));S=undefined}k.push(E)}}};this.original().updateHash(w);if(S!==undefined){k.push(Buffer.from(S))}for(const S of k)E.update(S);this._cachedHashUpdate=k}}E.exports=CachedSource},7961:(E,k,S)=>{"use strict";const w=S(33839);class CompatSource extends w{static from(E){return E instanceof w?E:new CompatSource(E)}constructor(E){super();this._sourceLike=E}source(){return this._sourceLike.source()}buffer(){if(typeof this._sourceLike.buffer==="function"){return this._sourceLike.buffer()}return super.buffer()}size(){if(typeof this._sourceLike.size==="function"){return this._sourceLike.size()}return super.size()}map(E){if(typeof this._sourceLike.map==="function"){return this._sourceLike.map(E)}return super.map(E)}sourceAndMap(E){if(typeof this._sourceLike.sourceAndMap==="function"){return this._sourceLike.sourceAndMap(E)}return super.sourceAndMap(E)}updateHash(E){if(typeof this._sourceLike.updateHash==="function"){return this._sourceLike.updateHash(E)}if(typeof this._sourceLike.map==="function"){throw new Error("A Source-like object with a 'map' method must also provide an 'updateHash' method")}E.update(this.buffer())}}E.exports=CompatSource},96123:(E,k,S)=>{"use strict";const w=S(33839);const N=S(76274);const{SourceNode:j,SourceMapConsumer:q}=S(99596);const{SourceListMap:ee,fromStringWithSourceMap:te}=S(6900);const{getSourceAndMap:ne,getMap:ae}=S(89588);const _e=new WeakSet;class ConcatSource extends w{constructor(){super();this._children=[];for(let E=0;E{if(S===undefined){S=E}else if(Array.isArray(S)){S.push(E)}else{S=[typeof S==="string"?S:S.source(),E]}};const addSourceToRawSources=E=>{if(S===undefined){S=E}else if(Array.isArray(S)){S.push(E.source())}else{S=[typeof S==="string"?S:S.source(),E.source()]}};const mergeRawSources=()=>{if(Array.isArray(S)){const k=new N(S.join(""));_e.add(k);E.push(k)}else if(typeof S==="string"){const k=new N(S);_e.add(k);E.push(k)}else{E.push(S)}};for(const w of this._children){if(typeof w==="string"){if(k===undefined){k=w}else{k+=w}}else{if(k!==undefined){addStringToRawSources(k);k=undefined}if(_e.has(w)){addSourceToRawSources(w)}else{if(S!==undefined){mergeRawSources();S=undefined}E.push(w)}}}if(k!==undefined){addStringToRawSources(k)}if(S!==undefined){mergeRawSources()}this._children=E;this._isOptimized=true}}E.exports=ConcatSource},11176:(E,k,S)=>{"use strict";const w=S(33839);const{SourceNode:N}=S(99596);const{SourceListMap:j}=S(6900);const{getSourceAndMap:q,getMap:ee}=S(89588);const te=/(?!$)[^\n\r;{}]*[\n\r;{}]*/g;function _splitCode(E){return E.match(te)||[]}class OriginalSource extends w{constructor(E,k){super();const S=Buffer.isBuffer(E);this._value=S?undefined:E;this._valueAsBuffer=S?E:undefined;this._name=k}getName(){return this._name}source(){if(this._value===undefined){this._value=this._valueAsBuffer.toString("utf-8")}return this._value}buffer(){if(this._valueAsBuffer===undefined){this._valueAsBuffer=Buffer.from(this._value,"utf-8")}return this._valueAsBuffer}map(E){return ee(this,E)}sourceAndMap(E){return q(this,E)}node(E){if(this._value===undefined){this._value=this._valueAsBuffer.toString("utf-8")}const k=this._value;const S=this._name;const w=k.split("\n");const j=new N(null,null,null,w.map((function(k,j){let q=0;if(E&&E.columns===false){const E=k+(j!==w.length-1?"\n":"");return new N(j+1,0,S,E)}return new N(null,null,null,_splitCode(k+(j!==w.length-1?"\n":"")).map((function(E){if(/^\s*$/.test(E)){q+=E.length;return E}const k=new N(j+1,q,S,E);q+=E.length;return k})))})));j.setSourceContent(S,k);return j}listMap(E){if(this._value===undefined){this._value=this._valueAsBuffer.toString("utf-8")}return new j(this._value,this._name,this._value)}updateHash(E){if(this._valueAsBuffer===undefined){this._valueAsBuffer=Buffer.from(this._value,"utf-8")}E.update("OriginalSource");E.update(this._valueAsBuffer);E.update(this._name||"")}}E.exports=OriginalSource},96276:(E,k,S)=>{"use strict";const w=S(33839);const N=S(76274);const{SourceNode:j}=S(99596);const{getSourceAndMap:q,getMap:ee}=S(89588);const te=/\n(?=.|\s)/g;class PrefixSource extends w{constructor(E,k){super();this._source=typeof k==="string"||Buffer.isBuffer(k)?new N(k,true):k;this._prefix=E}getPrefix(){return this._prefix}original(){return this._source}source(){const E=this._source.source();const k=this._prefix;return k+E.replace(te,"\n"+k)}map(E){return ee(this,E)}sourceAndMap(E){return q(this,E)}node(E){const k=this._source.node(E);const S=this._prefix;const w=[];const N=new j;k.walkSourceContents((function(E,k){N.setSourceContent(E,k)}));let q=true;k.walk((function(E,k){const N=E.split(/(\n)/);for(let E=0;E{"use strict";const w=S(33839);const{SourceNode:N}=S(99596);const{SourceListMap:j}=S(6900);class RawSource extends w{constructor(E,k=false){super();const S=Buffer.isBuffer(E);if(!S&&typeof E!=="string"){throw new TypeError("argument 'value' must be either string of Buffer")}this._valueIsBuffer=!k&&S;this._value=k&&S?undefined:E;this._valueAsBuffer=S?E:undefined}isBuffer(){return this._valueIsBuffer}source(){if(this._value===undefined){this._value=this._valueAsBuffer.toString("utf-8")}return this._value}buffer(){if(this._valueAsBuffer===undefined){this._valueAsBuffer=Buffer.from(this._value,"utf-8")}return this._valueAsBuffer}map(E){return null}node(E){if(this._value===undefined){this._value=this._valueAsBuffer.toString("utf-8")}return new N(null,null,null,this._value)}listMap(E){if(this._value===undefined){this._value=this._valueAsBuffer.toString("utf-8")}return new j(this._value)}updateHash(E){if(this._valueAsBuffer===undefined){this._valueAsBuffer=Buffer.from(this._value,"utf-8")}E.update("RawSource");E.update(this._valueAsBuffer)}}E.exports=RawSource},79722:(E,k,S)=>{"use strict";const w=S(33839);const{SourceNode:N}=S(99596);const{getSourceAndMap:j,getMap:q,getNode:ee,getListMap:te}=S(89588);class Replacement{constructor(E,k,S,w,N){this.start=E;this.end=k;this.content=S;this.insertIndex=w;this.name=N}}class ReplaceSource extends w{constructor(E,k){super();this._source=E;this._name=k;this._replacements=[];this._isSorted=true}getName(){return this._name}getReplacements(){const E=Array.from(this._replacements);E.sort(((E,k)=>E.insertIndex-k.insertIndex));return E}replace(E,k,S,w){if(typeof S!=="string")throw new Error("insertion must be a string, but is a "+typeof S);this._replacements.push(new Replacement(E,k,S,this._replacements.length,w));this._isSorted=false}insert(E,k,S){if(typeof k!=="string")throw new Error("insertion must be a string, but is a "+typeof k+": "+k);this._replacements.push(new Replacement(E,E-1,k,this._replacements.length,S));this._isSorted=false}source(){return this._replaceString(this._source.source())}map(E){if(this._replacements.length===0){return this._source.map(E)}return q(this,E)}sourceAndMap(E){if(this._replacements.length===0){return this._source.sourceAndMap(E)}return j(this,E)}original(){return this._source}_sortReplacements(){if(this._isSorted)return;this._replacements.sort((function(E,k){const S=k.end-E.end;if(S!==0)return S;const w=k.start-E.start;if(w!==0)return w;return k.insertIndex-E.insertIndex}));this._isSorted=true}_replaceString(E){if(typeof E!=="string")throw new Error("str must be a string, but is a "+typeof E+": "+E);this._sortReplacements();const k=[E];this._replacements.forEach((function(E){const S=k.pop();const w=this._splitString(S,Math.floor(E.end+1));const N=this._splitString(w[0],Math.floor(E.start));k.push(w[1],E.content,N[0])}),this);let S="";for(let E=k.length-1;E>=0;--E){S+=k[E]}return S}node(E){const k=ee(this._source,E);if(this._replacements.length===0){return k}this._sortReplacements();const S=new ReplacementEnumerator(this._replacements);const w=[];let j=0;const q=Object.create(null);const te=Object.create(null);const ne=new N;k.walkSourceContents((function(E,k){ne.setSourceContent(E,k);q["$"+E]=k}));const ae=this._replaceInStringNode.bind(this,w,S,(function getOriginalSource(E){const k="$"+E.source;let S=te[k];if(!S){const E=q[k];if(!E)return null;S=E.split("\n").map((function(E){return E+"\n"}));te[k]=S}if(E.line>S.length)return null;const w=S[E.line-1];return w.substr(E.column)}));k.walk((function(E,k){j=ae(E,j,k)}));const _e=S.footer();if(_e){w.push(_e)}ne.add(w);return ne}listMap(E){let k=te(this._source,E);this._sortReplacements();let S=0;const w=this._replacements;let N=w.length-1;let j=0;k=k.mapGeneratedCode((function(E){const k=S+E.length;if(j>E.length){j-=E.length;E=""}else{if(j>0){E=E.substr(j);S+=j;j=0}let q="";while(N>=0&&w[N].start=0){q+=w[N].content;N--}if(q){k.add(q)}return k}_splitString(E,k){return k<=0?["",E]:[E.substr(0,k),E.substr(k)]}_replaceInStringNode(E,k,S,w,j,q){let ee=undefined;do{let te=k.position-j;if(te<0){te=0}if(te>=w.length||k.done){if(k.emit){const k=new N(q.line,q.column,q.source,w,q.name);E.push(k)}return j+w.length}const ne=q.column;let ae;if(te>0){ae=w.slice(0,te);if(ee===undefined){ee=S(q)}if(ee&&ee.length>=te&&ee.startsWith(ae)){q.column+=te;ee=ee.substr(te)}}const _e=k.next();if(!_e){if(te>0){const k=new N(q.line,ne,q.source,ae,q.name);E.push(k)}if(k.value){E.push(new N(q.line,q.column,q.source,k.value,q.name||k.name))}}w=w.substr(te);j+=te}while(true)}updateHash(E){this._sortReplacements();E.update("ReplaceSource");this._source.updateHash(E);E.update(this._name||"");for(const k of this._replacements){E.update(`${k.start}`);E.update(`${k.end}`);E.update(`${k.content}`);E.update(`${k.insertIndex}`);E.update(`${k.name}`)}}}class ReplacementEnumerator{constructor(E){this.replacements=E||[];this.index=this.replacements.length;this.done=false;this.emit=false;this.next()}next(){if(this.done)return true;if(this.emit){const E=this.replacements[this.index];const k=Math.floor(E.end+1);this.position=k;this.value=E.content;this.name=E.name}else{this.index--;if(this.index<0){this.done=true}else{const E=this.replacements[this.index];const k=Math.floor(E.start);this.position=k}}if(this.position<0)this.position=0;this.emit=!this.emit;return this.emit}footer(){if(!this.done&&!this.emit)this.next();if(this.done){return[]}else{let E="";for(let k=this.index;k>=0;k--){const S=this.replacements[k];E+=S.content}return E}}}E.exports=ReplaceSource},93883:(E,k,S)=>{"use strict";const w=S(33839);class SizeOnlySource extends w{constructor(E){super();this._size=E}_error(){return new Error("Content and Map of this Source is not available (only size() is supported)")}size(){return this._size}source(){throw this._error()}buffer(){throw this._error()}map(E){throw this._error()}updateHash(){throw this._error()}}E.exports=SizeOnlySource},33839:E=>{"use strict";class Source{source(){throw new Error("Abstract")}buffer(){const E=this.source();if(Buffer.isBuffer(E))return E;return Buffer.from(E,"utf-8")}size(){return this.buffer().length}map(E){return null}sourceAndMap(E){return{source:this.source(),map:this.map(E)}}updateHash(E){throw new Error("Abstract")}}E.exports=Source},82340:(E,k,S)=>{"use strict";const w=S(33839);const{SourceNode:N,SourceMapConsumer:j}=S(99596);const{SourceListMap:q,fromStringWithSourceMap:ee}=S(6900);const{getSourceAndMap:te,getMap:ne}=S(89588);const ae=S(70701);class SourceMapSource extends w{constructor(E,k,S,w,N,j){super();const q=Buffer.isBuffer(E);this._valueAsString=q?undefined:E;this._valueAsBuffer=q?E:undefined;this._name=k;this._hasSourceMap=!!S;const ee=Buffer.isBuffer(S);const te=typeof S==="string";this._sourceMapAsObject=ee||te?undefined:S;this._sourceMapAsString=te?S:undefined;this._sourceMapAsBuffer=ee?S:undefined;this._hasOriginalSource=!!w;const ne=Buffer.isBuffer(w);this._originalSourceAsString=ne?undefined:w;this._originalSourceAsBuffer=ne?w:undefined;this._hasInnerSourceMap=!!N;const ae=Buffer.isBuffer(N);const _e=typeof N==="string";this._innerSourceMapAsObject=ae||_e?undefined:N;this._innerSourceMapAsString=_e?N:undefined;this._innerSourceMapAsBuffer=ae?N:undefined;this._removeOriginalSource=j}_ensureValueBuffer(){if(this._valueAsBuffer===undefined){this._valueAsBuffer=Buffer.from(this._valueAsString,"utf-8")}}_ensureValueString(){if(this._valueAsString===undefined){this._valueAsString=this._valueAsBuffer.toString("utf-8")}}_ensureOriginalSourceBuffer(){if(this._originalSourceAsBuffer===undefined&&this._hasOriginalSource){this._originalSourceAsBuffer=Buffer.from(this._originalSourceAsString,"utf-8")}}_ensureOriginalSourceString(){if(this._originalSourceAsString===undefined&&this._hasOriginalSource){this._originalSourceAsString=this._originalSourceAsBuffer.toString("utf-8")}}_ensureInnerSourceMapObject(){if(this._innerSourceMapAsObject===undefined&&this._hasInnerSourceMap){this._ensureInnerSourceMapString();this._innerSourceMapAsObject=JSON.parse(this._innerSourceMapAsString)}}_ensureInnerSourceMapBuffer(){if(this._innerSourceMapAsBuffer===undefined&&this._hasInnerSourceMap){this._ensureInnerSourceMapString();this._innerSourceMapAsBuffer=Buffer.from(this._innerSourceMapAsString,"utf-8")}}_ensureInnerSourceMapString(){if(this._innerSourceMapAsString===undefined&&this._hasInnerSourceMap){if(this._innerSourceMapAsBuffer!==undefined){this._innerSourceMapAsString=this._innerSourceMapAsBuffer.toString("utf-8")}else{this._innerSourceMapAsString=JSON.stringify(this._innerSourceMapAsObject)}}}_ensureSourceMapObject(){if(this._sourceMapAsObject===undefined){this._ensureSourceMapString();this._sourceMapAsObject=JSON.parse(this._sourceMapAsString)}}_ensureSourceMapBuffer(){if(this._sourceMapAsBuffer===undefined){this._ensureSourceMapString();this._sourceMapAsBuffer=Buffer.from(this._sourceMapAsString,"utf-8")}}_ensureSourceMapString(){if(this._sourceMapAsString===undefined){if(this._sourceMapAsBuffer!==undefined){this._sourceMapAsString=this._sourceMapAsBuffer.toString("utf-8")}else{this._sourceMapAsString=JSON.stringify(this._sourceMapAsObject)}}}getArgsAsBuffers(){this._ensureValueBuffer();this._ensureSourceMapBuffer();this._ensureOriginalSourceBuffer();this._ensureInnerSourceMapBuffer();return[this._valueAsBuffer,this._name,this._sourceMapAsBuffer,this._originalSourceAsBuffer,this._innerSourceMapAsBuffer,this._removeOriginalSource]}source(){this._ensureValueString();return this._valueAsString}map(E){if(!this._hasInnerSourceMap){this._ensureSourceMapObject();return this._sourceMapAsObject}return ne(this,E)}sourceAndMap(E){if(!this._hasInnerSourceMap){this._ensureValueString();this._ensureSourceMapObject();return{source:this._valueAsString,map:this._sourceMapAsObject}}return te(this,E)}node(E){this._ensureValueString();this._ensureSourceMapObject();this._ensureOriginalSourceString();let k=N.fromStringWithSourceMap(this._valueAsString,new j(this._sourceMapAsObject));k.setSourceContent(this._name,this._originalSourceAsString);if(this._hasInnerSourceMap){this._ensureInnerSourceMapObject();k=ae(k,new j(this._innerSourceMapAsObject),this._name,this._removeOriginalSource)}return k}listMap(E){this._ensureValueString();this._ensureSourceMapObject();E=E||{};if(E.module===false)return new q(this._valueAsString,this._name,this._valueAsString);return ee(this._valueAsString,this._sourceMapAsObject)}updateHash(E){this._ensureValueBuffer();this._ensureSourceMapBuffer();this._ensureOriginalSourceBuffer();this._ensureInnerSourceMapBuffer();E.update("SourceMapSource");E.update(this._valueAsBuffer);E.update(this._sourceMapAsBuffer);if(this._hasOriginalSource){E.update(this._originalSourceAsBuffer)}if(this._hasInnerSourceMap){E.update(this._innerSourceMapAsBuffer)}E.update(this._removeOriginalSource?"true":"false")}}E.exports=SourceMapSource},70701:(E,k,S)=>{"use strict";const w=S(99596).SourceNode;const N=S(99596).SourceMapConsumer;const applySourceMap=function(E,k,S,j){const q=new w;const ee=[];const te={};const ne={};const ae={};const _e={};k.eachMapping((function(E){(ne[E.generatedLine]=ne[E.generatedLine]||[]).push(E)}),null,N.GENERATED_ORDER);const findM2rMapping=(E,k)=>{const S=ne[E];let w=0;let N=S.length;while(w>1;if(S[E].generatedColumn<=k){w=E+1}else{N=E}}if(w===0)return undefined;return S[w-1]};E.walkSourceContents((function(E,k){te["$"+E]=k}));const ve=te["$"+S];const Ee=ve?ve.split("\n"):undefined;E.walk((function(E,N){if(N.source===S&&N.line&&ne[N.line]){let S=findM2rMapping(N.line,N.column);if(S){let j=false;let te;let ne;let ve;const we=S.source;if(Ee&&we&&(te=Ee[S.generatedLine-1])&&((ve=_e[we])||(ne=k.sourceContentFor(we,true)))){if(!ve){ve=_e[we]=ne.split("\n")}const E=ve[S.originalLine-1];if(E){const k=N.column-S.generatedColumn;if(k>0){const w=te.slice(S.generatedColumn,N.column);const j=E.slice(S.originalColumn,S.originalColumn+k);if(w===j){S=Object.assign({},S,{originalColumn:S.originalColumn+k,generatedColumn:N.column,name:undefined})}}if(!S.name&&N.name){j=E.slice(S.originalColumn,S.originalColumn+N.name.length)===N.name}}}let Ce=S.source;if(Ce&&Ce!=="."){ee.push(new w(S.originalLine,S.originalColumn,Ce,E,j?N.name:S.name));if(!("$"+Ce in ae)){ae["$"+Ce]=true;const E=k.sourceContentFor(Ce,true);if(E){q.setSourceContent(Ce,E)}}return}}}if(j&&N.source===S||!N.source){ee.push(E);return}const ve=N.source;ee.push(new w(N.line,N.column,ve,E,N.name));if("$"+ve in te){if(!("$"+ve in ae)){q.setSourceContent(ve,te["$"+ve]);delete te["$"+ve]}}}));q.add(ee);return q};E.exports=applySourceMap},89588:(E,k,S)=>{"use strict";const{SourceNode:w,SourceMapConsumer:N}=S(99596);const{SourceListMap:j,fromStringWithSourceMap:q}=S(6900);k.getSourceAndMap=(E,k)=>{let S;let w;if(k&&k.columns===false){const N=E.listMap(k).toStringWithSourceMap({file:"x"});S=N.source;w=N.map}else{const N=E.node(k).toStringWithSourceMap({file:"x"});S=N.code;w=N.map.toJSON()}if(!w||!w.sources||w.sources.length===0)w=null;return{source:S,map:w}};k.getMap=(E,k)=>{let S;if(k&&k.columns===false){S=E.listMap(k).toStringWithSourceMap({file:"x"}).map}else{S=E.node(k).toStringWithSourceMap({file:"x"}).map.toJSON()}if(!S||!S.sources||S.sources.length===0)return null;return S};k.getNode=(E,k)=>{if(typeof E.node==="function"){return E.node(k)}else{const S=E.sourceAndMap(k);if(S.map){return w.fromStringWithSourceMap(S.source,new N(S.map))}else{return new w(null,null,null,S.source)}}};k.getListMap=(E,k)=>{if(typeof E.listMap==="function"){return E.listMap(k)}else{const S=E.sourceAndMap(k);if(S.map){return q(S.source,S.map)}else{return new j(S.source)}}}},48135:(E,k,S)=>{const defineExport=(E,S)=>{let w;Object.defineProperty(k,E,{get:()=>{if(S!==undefined){w=S();S=undefined}return w},configurable:true})};defineExport("Source",(()=>S(33839)));defineExport("RawSource",(()=>S(76274)));defineExport("OriginalSource",(()=>S(11176)));defineExport("SourceMapSource",(()=>S(82340)));defineExport("CachedSource",(()=>S(76185)));defineExport("ConcatSource",(()=>S(96123)));defineExport("ReplaceSource",(()=>S(79722)));defineExport("PrefixSource",(()=>S(96276)));defineExport("SizeOnlySource",(()=>S(93883)));defineExport("CompatSource",(()=>S(7961)))},63221:E=>{const k=/^(?:[A-Za-z]:[\\/]|\\\\|\/)/;E.exports=Se,E.exports.default=Se;const S={amd:{$ref:"#/definitions/Amd"},bail:{$ref:"#/definitions/Bail"},cache:{$ref:"#/definitions/CacheOptions"},context:{$ref:"#/definitions/Context"},dependencies:{$ref:"#/definitions/Dependencies"},devServer:{$ref:"#/definitions/DevServer"},devtool:{$ref:"#/definitions/DevTool"},entry:{$ref:"#/definitions/Entry"},experiments:{$ref:"#/definitions/Experiments"},externals:{$ref:"#/definitions/Externals"},externalsPresets:{$ref:"#/definitions/ExternalsPresets"},externalsType:{$ref:"#/definitions/ExternalsType"},ignoreWarnings:{$ref:"#/definitions/IgnoreWarnings"},infrastructureLogging:{$ref:"#/definitions/InfrastructureLogging"},loader:{$ref:"#/definitions/Loader"},mode:{$ref:"#/definitions/Mode"},module:{$ref:"#/definitions/ModuleOptions"},name:{$ref:"#/definitions/Name"},node:{$ref:"#/definitions/Node"},optimization:{$ref:"#/definitions/Optimization"},output:{$ref:"#/definitions/Output"},parallelism:{$ref:"#/definitions/Parallelism"},performance:{$ref:"#/definitions/Performance"},plugins:{$ref:"#/definitions/Plugins"},profile:{$ref:"#/definitions/Profile"},recordsInputPath:{$ref:"#/definitions/RecordsInputPath"},recordsOutputPath:{$ref:"#/definitions/RecordsOutputPath"},recordsPath:{$ref:"#/definitions/RecordsPath"},resolve:{$ref:"#/definitions/Resolve"},resolveLoader:{$ref:"#/definitions/ResolveLoader"},snapshot:{$ref:"#/definitions/SnapshotOptions"},stats:{$ref:"#/definitions/StatsValue"},target:{$ref:"#/definitions/Target"},watch:{$ref:"#/definitions/Watch"},watchOptions:{$ref:"#/definitions/WatchOptions"}},w=Object.prototype.hasOwnProperty,N={allowCollectingMemory:{type:"boolean"},buildDependencies:{type:"object",additionalProperties:{type:"array",items:{type:"string",minLength:1}}},cacheDirectory:{type:"string",absolutePath:!0},cacheLocation:{type:"string",absolutePath:!0},compression:{enum:[!1,"gzip","brotli"]},hashAlgorithm:{type:"string"},idleTimeout:{type:"number",minimum:0},idleTimeoutAfterLargeChanges:{type:"number",minimum:0},idleTimeoutForInitialStore:{type:"number",minimum:0},immutablePaths:{type:"array",items:{type:"string",absolutePath:!0,minLength:1}},managedPaths:{type:"array",items:{type:"string",absolutePath:!0,minLength:1}},maxAge:{type:"number",minimum:0},maxMemoryGenerations:{type:"number",minimum:0},name:{type:"string"},profile:{type:"boolean"},store:{enum:["pack"]},type:{enum:["filesystem"]},version:{type:"string"}};function s(E,{instancePath:S="",parentData:j,parentDataProperty:q,rootData:ee=E}={}){let te=null,ne=0;const ae=ne;let _e=!1;const ve=ne;if(!1!==E){const E={params:{}};null===te?te=[E]:te.push(E),ne++}var Ee=ve===ne;if(_e=_e||Ee,!_e){const S=ne;if(ne==ne)if(E&&"object"==typeof E&&!Array.isArray(E)){let k;if(void 0===E.type&&(k="type")){const E={params:{missingProperty:k}};null===te?te=[E]:te.push(E),ne++}else{const k=ne;for(const k in E)if("maxGenerations"!==k&&"type"!==k){const E={params:{additionalProperty:k}};null===te?te=[E]:te.push(E),ne++;break}if(k===ne){if(void 0!==E.maxGenerations){let k=E.maxGenerations;const S=ne;if(ne===S)if("number"==typeof k&&isFinite(k)){if(k<1||isNaN(k)){const E={params:{comparison:">=",limit:1}};null===te?te=[E]:te.push(E),ne++}}else{const E={params:{type:"number"}};null===te?te=[E]:te.push(E),ne++}var we=S===ne}else we=!0;if(we)if(void 0!==E.type){const k=ne;if("memory"!==E.type){const E={params:{}};null===te?te=[E]:te.push(E),ne++}we=k===ne}else we=!0}}}else{const E={params:{type:"object"}};null===te?te=[E]:te.push(E),ne++}if(Ee=S===ne,_e=_e||Ee,!_e){const S=ne;if(ne==ne)if(E&&"object"==typeof E&&!Array.isArray(E)){let S;if(void 0===E.type&&(S="type")){const E={params:{missingProperty:S}};null===te?te=[E]:te.push(E),ne++}else{const S=ne;for(const k in E)if(!w.call(N,k)){const E={params:{additionalProperty:k}};null===te?te=[E]:te.push(E),ne++;break}if(S===ne){if(void 0!==E.allowCollectingMemory){const k=ne;if("boolean"!=typeof E.allowCollectingMemory){const E={params:{type:"boolean"}};null===te?te=[E]:te.push(E),ne++}var Ce=k===ne}else Ce=!0;if(Ce){if(void 0!==E.buildDependencies){let k=E.buildDependencies;const S=ne;if(ne===S)if(k&&"object"==typeof k&&!Array.isArray(k))for(const E in k){let S=k[E];const w=ne;if(ne===w)if(Array.isArray(S)){const E=S.length;for(let k=0;k=",limit:0}};null===te?te=[E]:te.push(E),ne++}}else{const E={params:{type:"number"}};null===te?te=[E]:te.push(E),ne++}Ce=S===ne}else Ce=!0;if(Ce){if(void 0!==E.idleTimeoutAfterLargeChanges){let k=E.idleTimeoutAfterLargeChanges;const S=ne;if(ne===S)if("number"==typeof k&&isFinite(k)){if(k<0||isNaN(k)){const E={params:{comparison:">=",limit:0}};null===te?te=[E]:te.push(E),ne++}}else{const E={params:{type:"number"}};null===te?te=[E]:te.push(E),ne++}Ce=S===ne}else Ce=!0;if(Ce){if(void 0!==E.idleTimeoutForInitialStore){let k=E.idleTimeoutForInitialStore;const S=ne;if(ne===S)if("number"==typeof k&&isFinite(k)){if(k<0||isNaN(k)){const E={params:{comparison:">=",limit:0}};null===te?te=[E]:te.push(E),ne++}}else{const E={params:{type:"number"}};null===te?te=[E]:te.push(E),ne++}Ce=S===ne}else Ce=!0;if(Ce){if(void 0!==E.immutablePaths){let S=E.immutablePaths;const w=ne;if(ne===w)if(Array.isArray(S)){const E=S.length;for(let w=0;w=",limit:0}};null===te?te=[E]:te.push(E),ne++}}else{const E={params:{type:"number"}};null===te?te=[E]:te.push(E),ne++}Ce=S===ne}else Ce=!0;if(Ce){if(void 0!==E.maxMemoryGenerations){let k=E.maxMemoryGenerations;const S=ne;if(ne===S)if("number"==typeof k&&isFinite(k)){if(k<0||isNaN(k)){const E={params:{comparison:">=",limit:0}};null===te?te=[E]:te.push(E),ne++}}else{const E={params:{type:"number"}};null===te?te=[E]:te.push(E),ne++}Ce=S===ne}else Ce=!0;if(Ce){if(void 0!==E.name){const k=ne;if("string"!=typeof E.name){const E={params:{type:"string"}};null===te?te=[E]:te.push(E),ne++}Ce=k===ne}else Ce=!0;if(Ce){if(void 0!==E.profile){const k=ne;if("boolean"!=typeof E.profile){const E={params:{type:"boolean"}};null===te?te=[E]:te.push(E),ne++}Ce=k===ne}else Ce=!0;if(Ce){if(void 0!==E.store){const k=ne;if("pack"!==E.store){const E={params:{}};null===te?te=[E]:te.push(E),ne++}Ce=k===ne}else Ce=!0;if(Ce){if(void 0!==E.type){const k=ne;if("filesystem"!==E.type){const E={params:{}};null===te?te=[E]:te.push(E),ne++}Ce=k===ne}else Ce=!0;if(Ce)if(void 0!==E.version){const k=ne;if("string"!=typeof E.version){const E={params:{type:"string"}};null===te?te=[E]:te.push(E),ne++}Ce=k===ne}else Ce=!0}}}}}}}}}}}}}}}}}}}else{const E={params:{type:"object"}};null===te?te=[E]:te.push(E),ne++}Ee=S===ne,_e=_e||Ee}}if(!_e){const E={params:{}};return null===te?te=[E]:te.push(E),ne++,s.errors=te,!1}return ne=ae,null!==te&&(ae?te.length=ae:te=null),s.errors=te,0===ne}function o(E,{instancePath:k="",parentData:S,parentDataProperty:w,rootData:N=E}={}){let j=null,q=0;const ee=q;let te=!1;const ne=q;if(!0!==E){const E={params:{}};null===j?j=[E]:j.push(E),q++}var ae=ne===q;if(te=te||ae,!te){const ee=q;s(E,{instancePath:k,parentData:S,parentDataProperty:w,rootData:N})||(j=null===j?s.errors:j.concat(s.errors),q=j.length),ae=ee===q,te=te||ae}if(!te){const E={params:{}};return null===j?j=[E]:j.push(E),q++,o.errors=j,!1}return q=ee,null!==j&&(ee?j.length=ee:j=null),o.errors=j,0===q}const j={chunkLoading:{$ref:"#/definitions/ChunkLoading"},dependOn:{anyOf:[{type:"array",items:{type:"string",minLength:1},minItems:1,uniqueItems:!0},{type:"string",minLength:1}]},filename:{$ref:"#/definitions/EntryFilename"},import:{$ref:"#/definitions/EntryItem"},layer:{$ref:"#/definitions/Layer"},library:{$ref:"#/definitions/LibraryOptions"},publicPath:{$ref:"#/definitions/PublicPath"},runtime:{$ref:"#/definitions/EntryRuntime"},wasmLoading:{$ref:"#/definitions/WasmLoading"}};function i(E,{instancePath:k="",parentData:S,parentDataProperty:w,rootData:N=E}={}){let j=null,q=0;const ee=q;let te=!1;const ne=q;if(!1!==E){const E={params:{}};null===j?j=[E]:j.push(E),q++}var ae=ne===q;if(te=te||ae,!te){const k=q,S=q;let w=!1;const N=q;if("jsonp"!==E&&"import-scripts"!==E&&"require"!==E&&"async-node"!==E&&"import"!==E){const E={params:{}};null===j?j=[E]:j.push(E),q++}var _e=N===q;if(w=w||_e,!w){const k=q;if("string"!=typeof E){const E={params:{type:"string"}};null===j?j=[E]:j.push(E),q++}_e=k===q,w=w||_e}if(w)q=S,null!==j&&(S?j.length=S:j=null);else{const E={params:{}};null===j?j=[E]:j.push(E),q++}ae=k===q,te=te||ae}if(!te){const E={params:{}};return null===j?j=[E]:j.push(E),q++,i.errors=j,!1}return q=ee,null!==j&&(ee?j.length=ee:j=null),i.errors=j,0===q}function l(E,{instancePath:S="",parentData:w,parentDataProperty:N,rootData:j=E}={}){let q=null,ee=0;const te=ee;let ne=!1,ae=null;const _e=ee,ve=ee;let Ee=!1;const we=ee;if(ee===we)if("string"==typeof E){if(E.includes("!")||!1!==k.test(E)){const E={params:{}};null===q?q=[E]:q.push(E),ee++}else if(E.length<1){const E={params:{}};null===q?q=[E]:q.push(E),ee++}}else{const E={params:{type:"string"}};null===q?q=[E]:q.push(E),ee++}var Ce=we===ee;if(Ee=Ee||Ce,!Ee){const k=ee;if(!(E instanceof Function)){const E={params:{}};null===q?q=[E]:q.push(E),ee++}Ce=k===ee,Ee=Ee||Ce}if(Ee)ee=ve,null!==q&&(ve?q.length=ve:q=null);else{const E={params:{}};null===q?q=[E]:q.push(E),ee++}if(_e===ee&&(ne=!0,ae=0),!ne){const E={params:{passingSchemas:ae}};return null===q?q=[E]:q.push(E),ee++,l.errors=q,!1}return ee=te,null!==q&&(te?q.length=te:q=null),l.errors=q,0===ee}function p(E,{instancePath:k="",parentData:S,parentDataProperty:w,rootData:N=E}={}){let j=null,q=0;const ee=q;let te=!1;const ne=q;if("string"!=typeof E){const E={params:{type:"string"}};null===j?j=[E]:j.push(E),q++}var ae=ne===q;if(te=te||ae,!te){const k=q;if(q==q)if(E&&"object"==typeof E&&!Array.isArray(E)){const k=q;for(const k in E)if("amd"!==k&&"commonjs"!==k&&"commonjs2"!==k&&"root"!==k){const E={params:{additionalProperty:k}};null===j?j=[E]:j.push(E),q++;break}if(k===q){if(void 0!==E.amd){const k=q;if("string"!=typeof E.amd){const E={params:{type:"string"}};null===j?j=[E]:j.push(E),q++}var _e=k===q}else _e=!0;if(_e){if(void 0!==E.commonjs){const k=q;if("string"!=typeof E.commonjs){const E={params:{type:"string"}};null===j?j=[E]:j.push(E),q++}_e=k===q}else _e=!0;if(_e){if(void 0!==E.commonjs2){const k=q;if("string"!=typeof E.commonjs2){const E={params:{type:"string"}};null===j?j=[E]:j.push(E),q++}_e=k===q}else _e=!0;if(_e)if(void 0!==E.root){const k=q;if("string"!=typeof E.root){const E={params:{type:"string"}};null===j?j=[E]:j.push(E),q++}_e=k===q}else _e=!0}}}}else{const E={params:{type:"object"}};null===j?j=[E]:j.push(E),q++}ae=k===q,te=te||ae}if(!te){const E={params:{}};return null===j?j=[E]:j.push(E),q++,p.errors=j,!1}return q=ee,null!==j&&(ee?j.length=ee:j=null),p.errors=j,0===q}function f(E,{instancePath:k="",parentData:S,parentDataProperty:w,rootData:N=E}={}){let j=null,q=0;const ee=q;let te=!1;const ne=q;if(q===ne)if(Array.isArray(E))if(E.length<1){const E={params:{limit:1}};null===j?j=[E]:j.push(E),q++}else{const k=E.length;for(let S=0;S1){const w={};for(;S--;){let N=k[S];if("string"==typeof N){if("number"==typeof w[N]){E=w[N];const k={params:{i:S,j:E}};null===ee?ee=[k]:ee.push(k),te++;break}w[N]=S}}}}}else{const E={params:{type:"array"}};null===ee?ee=[E]:ee.push(E),te++}var _e=j===te;if(N=N||_e,!N){const E=te;if(te===E)if("string"==typeof k){if(k.length<1){const E={params:{}};null===ee?ee=[E]:ee.push(E),te++}}else{const E={params:{type:"string"}};null===ee?ee=[E]:ee.push(E),te++}_e=E===te,N=N||_e}if(!N){const E={params:{}};return null===ee?ee=[E]:ee.push(E),te++,y.errors=ee,!1}te=w,null!==ee&&(w?ee.length=w:ee=null),ne=S===te}else ne=!0;if(ne){if(void 0!==E.filename){const S=te;l(E.filename,{instancePath:k+"/filename",parentData:E,parentDataProperty:"filename",rootData:q})||(ee=null===ee?l.errors:ee.concat(l.errors),te=ee.length),ne=S===te}else ne=!0;if(ne){if(void 0!==E.import){let k=E.import;const S=te,w=te;let N=!1;const j=te;if(te===j)if(Array.isArray(k))if(k.length<1){const E={params:{limit:1}};null===ee?ee=[E]:ee.push(E),te++}else{var ve=!0;const E=k.length;for(let S=0;S1){const w={};for(;S--;){let N=k[S];if("string"==typeof N){if("number"==typeof w[N]){E=w[N];const k={params:{i:S,j:E}};null===ee?ee=[k]:ee.push(k),te++;break}w[N]=S}}}}}else{const E={params:{type:"array"}};null===ee?ee=[E]:ee.push(E),te++}var Ee=j===te;if(N=N||Ee,!N){const E=te;if(te===E)if("string"==typeof k){if(k.length<1){const E={params:{}};null===ee?ee=[E]:ee.push(E),te++}}else{const E={params:{type:"string"}};null===ee?ee=[E]:ee.push(E),te++}Ee=E===te,N=N||Ee}if(!N){const E={params:{}};return null===ee?ee=[E]:ee.push(E),te++,y.errors=ee,!1}te=w,null!==ee&&(w?ee.length=w:ee=null),ne=S===te}else ne=!0;if(ne){if(void 0!==E.layer){let k=E.layer;const S=te,w=te;let N=!1;const j=te;if(null!==k){const E={params:{}};null===ee?ee=[E]:ee.push(E),te++}var we=j===te;if(N=N||we,!N){const E=te;if(te===E)if("string"==typeof k){if(k.length<1){const E={params:{}};null===ee?ee=[E]:ee.push(E),te++}}else{const E={params:{type:"string"}};null===ee?ee=[E]:ee.push(E),te++}we=E===te,N=N||we}if(!N){const E={params:{}};return null===ee?ee=[E]:ee.push(E),te++,y.errors=ee,!1}te=w,null!==ee&&(w?ee.length=w:ee=null),ne=S===te}else ne=!0;if(ne){if(void 0!==E.library){const S=te;u(E.library,{instancePath:k+"/library",parentData:E,parentDataProperty:"library",rootData:q})||(ee=null===ee?u.errors:ee.concat(u.errors),te=ee.length),ne=S===te}else ne=!0;if(ne){if(void 0!==E.publicPath){const S=te;c(E.publicPath,{instancePath:k+"/publicPath",parentData:E,parentDataProperty:"publicPath",rootData:q})||(ee=null===ee?c.errors:ee.concat(c.errors),te=ee.length),ne=S===te}else ne=!0;if(ne){if(void 0!==E.runtime){let k=E.runtime;const S=te,w=te;let N=!1;const j=te;if(!1!==k){const E={params:{}};null===ee?ee=[E]:ee.push(E),te++}var Ce=j===te;if(N=N||Ce,!N){const E=te;if(te===E)if("string"==typeof k){if(k.length<1){const E={params:{}};null===ee?ee=[E]:ee.push(E),te++}}else{const E={params:{type:"string"}};null===ee?ee=[E]:ee.push(E),te++}Ce=E===te,N=N||Ce}if(!N){const E={params:{}};return null===ee?ee=[E]:ee.push(E),te++,y.errors=ee,!1}te=w,null!==ee&&(w?ee.length=w:ee=null),ne=S===te}else ne=!0;if(ne)if(void 0!==E.wasmLoading){const S=te;m(E.wasmLoading,{instancePath:k+"/wasmLoading",parentData:E,parentDataProperty:"wasmLoading",rootData:q})||(ee=null===ee?m.errors:ee.concat(m.errors),te=ee.length),ne=S===te}else ne=!0}}}}}}}}}}}return y.errors=ee,0===te}function h(E,{instancePath:k="",parentData:S,parentDataProperty:w,rootData:N=E}={}){let j=null,q=0;if(0===q){if(!E||"object"!=typeof E||Array.isArray(E))return h.errors=[{params:{type:"object"}}],!1;for(const S in E){let w=E[S];const ae=q,_e=q;let ve=!1;const Ee=q,we=q;let Ce=!1;const Me=q;if(q===Me)if(Array.isArray(w))if(w.length<1){const E={params:{limit:1}};null===j?j=[E]:j.push(E),q++}else{var ee=!0;const E=w.length;for(let k=0;k1){const S={};for(;k--;){let N=w[k];if("string"==typeof N){if("number"==typeof S[N]){E=S[N];const w={params:{i:k,j:E}};null===j?j=[w]:j.push(w),q++;break}S[N]=k}}}}}else{const E={params:{type:"array"}};null===j?j=[E]:j.push(E),q++}var te=Me===q;if(Ce=Ce||te,!Ce){const E=q;if(q===E)if("string"==typeof w){if(w.length<1){const E={params:{}};null===j?j=[E]:j.push(E),q++}}else{const E={params:{type:"string"}};null===j?j=[E]:j.push(E),q++}te=E===q,Ce=Ce||te}if(Ce)q=we,null!==j&&(we?j.length=we:j=null);else{const E={params:{}};null===j?j=[E]:j.push(E),q++}var ne=Ee===q;if(ve=ve||ne,!ve){const ee=q;y(w,{instancePath:k+"/"+S.replace(/~/g,"~0").replace(/\//g,"~1"),parentData:E,parentDataProperty:S,rootData:N})||(j=null===j?y.errors:j.concat(y.errors),q=j.length),ne=ee===q,ve=ve||ne}if(!ve){const E={params:{}};return null===j?j=[E]:j.push(E),q++,h.errors=j,!1}if(q=_e,null!==j&&(_e?j.length=_e:j=null),ae!==q)break}}return h.errors=j,0===q}function d(E,{instancePath:k="",parentData:S,parentDataProperty:w,rootData:N=E}={}){let j=null,q=0;const ee=q;let te=!1,ne=null;const ae=q,_e=q;let ve=!1;const Ee=q;if(q===Ee)if(Array.isArray(E))if(E.length<1){const E={params:{limit:1}};null===j?j=[E]:j.push(E),q++}else{var we=!0;const k=E.length;for(let S=0;S1){const w={};for(;S--;){let N=E[S];if("string"==typeof N){if("number"==typeof w[N]){k=w[N];const E={params:{i:S,j:k}};null===j?j=[E]:j.push(E),q++;break}w[N]=S}}}}}else{const E={params:{type:"array"}};null===j?j=[E]:j.push(E),q++}var Ce=Ee===q;if(ve=ve||Ce,!ve){const k=q;if(q===k)if("string"==typeof E){if(E.length<1){const E={params:{}};null===j?j=[E]:j.push(E),q++}}else{const E={params:{type:"string"}};null===j?j=[E]:j.push(E),q++}Ce=k===q,ve=ve||Ce}if(ve)q=_e,null!==j&&(_e?j.length=_e:j=null);else{const E={params:{}};null===j?j=[E]:j.push(E),q++}if(ae===q&&(te=!0,ne=0),!te){const E={params:{passingSchemas:ne}};return null===j?j=[E]:j.push(E),q++,d.errors=j,!1}return q=ee,null!==j&&(ee?j.length=ee:j=null),d.errors=j,0===q}function g(E,{instancePath:k="",parentData:S,parentDataProperty:w,rootData:N=E}={}){let j=null,q=0;const ee=q;let te=!1;const ne=q;h(E,{instancePath:k,parentData:S,parentDataProperty:w,rootData:N})||(j=null===j?h.errors:j.concat(h.errors),q=j.length);var ae=ne===q;if(te=te||ae,!te){const ee=q;d(E,{instancePath:k,parentData:S,parentDataProperty:w,rootData:N})||(j=null===j?d.errors:j.concat(d.errors),q=j.length),ae=ee===q,te=te||ae}if(!te){const E={params:{}};return null===j?j=[E]:j.push(E),q++,g.errors=j,!1}return q=ee,null!==j&&(ee?j.length=ee:j=null),g.errors=j,0===q}function b(E,{instancePath:k="",parentData:S,parentDataProperty:w,rootData:N=E}={}){let j=null,q=0;const ee=q;let te=!1;const ne=q;if(!(E instanceof Function)){const E={params:{}};null===j?j=[E]:j.push(E),q++}var ae=ne===q;if(te=te||ae,!te){const ee=q;g(E,{instancePath:k,parentData:S,parentDataProperty:w,rootData:N})||(j=null===j?g.errors:j.concat(g.errors),q=j.length),ae=ee===q,te=te||ae}if(!te){const E={params:{}};return null===j?j=[E]:j.push(E),q++,b.errors=j,!1}return q=ee,null!==j&&(ee?j.length=ee:j=null),b.errors=j,0===q}const q={validate:D};function D(E,{instancePath:k="",parentData:S,parentDataProperty:w,rootData:N=E}={}){let j=null,ee=0;const te=ee;let ne=!1;const ae=ee;if(!(E instanceof RegExp)){const E={params:{}};null===j?j=[E]:j.push(E),ee++}var _e=ae===ee;if(ne=ne||_e,!ne){const S=ee;if("string"!=typeof E){const E={params:{type:"string"}};null===j?j=[E]:j.push(E),ee++}if(_e=S===ee,ne=ne||_e,!ne){const S=ee;if(ee===S)if(E&&"object"==typeof E&&!Array.isArray(E)){const S=ee;for(const k in E)if("byLayer"!==k){let S=E[k];const w=ee,N=ee;let q=!1;const te=ee;if(ee===te)if(Array.isArray(S)){const E=S.length;for(let k=0;k=",limit:0}};null===ee?ee=[E]:ee.push(E),te++}}else{const E={params:{type:"number"}};null===ee?ee=[E]:ee.push(E),te++}var _e=Ee===te;if(ve=ve||_e,!ve){const E=te;if(te===E)if(k&&"object"==typeof k&&!Array.isArray(k))for(const E in k){let S=k[E];const w=te;if("number"!=typeof S||!isFinite(S)){const E={params:{type:"number"}};null===ee?ee=[E]:ee.push(E),te++}if(w!==te)break}else{const E={params:{type:"object"}};null===ee?ee=[E]:ee.push(E),te++}_e=E===te,ve=ve||_e}if(ve)te=ae,null!==ee&&(ae?ee.length=ae:ee=null);else{const E={params:{}};null===ee?ee=[E]:ee.push(E),te++}if(q===te&&(N=!0,j=0),!N){const E={params:{passingSchemas:j}};return null===ee?ee=[E]:ee.push(E),te++,re.errors=ee,!1}te=w,null!==ee&&(w?ee.length=w:ee=null),ne=S===te}else ne=!0;if(ne){if(void 0!==E.filename){let S=E.filename;const w=te,N=te;let j=!1;const q=te;if(te===q)if("string"==typeof S){if(S.includes("!")||!1!==k.test(S)){const E={params:{}};null===ee?ee=[E]:ee.push(E),te++}else if(S.length<1){const E={params:{}};null===ee?ee=[E]:ee.push(E),te++}}else{const E={params:{type:"string"}};null===ee?ee=[E]:ee.push(E),te++}var ve=q===te;if(j=j||ve,!j){const E=te;if(!(S instanceof Function)){const E={params:{}};null===ee?ee=[E]:ee.push(E),te++}ve=E===te,j=j||ve}if(!j){const E={params:{}};return null===ee?ee=[E]:ee.push(E),te++,re.errors=ee,!1}te=N,null!==ee&&(N?ee.length=N:ee=null),ne=w===te}else ne=!0;if(ne){if(void 0!==E.idHint){const k=te;if("string"!=typeof E.idHint)return re.errors=[{params:{type:"string"}}],!1;ne=k===te}else ne=!0;if(ne){if(void 0!==E.layer){let k=E.layer;const S=te,w=te;let N=!1;const j=te;if(!(k instanceof RegExp)){const E={params:{}};null===ee?ee=[E]:ee.push(E),te++}var Ee=j===te;if(N=N||Ee,!N){const E=te;if("string"!=typeof k){const E={params:{type:"string"}};null===ee?ee=[E]:ee.push(E),te++}if(Ee=E===te,N=N||Ee,!N){const E=te;if(!(k instanceof Function)){const E={params:{}};null===ee?ee=[E]:ee.push(E),te++}Ee=E===te,N=N||Ee}}if(!N){const E={params:{}};return null===ee?ee=[E]:ee.push(E),te++,re.errors=ee,!1}te=w,null!==ee&&(w?ee.length=w:ee=null),ne=S===te}else ne=!0;if(ne){if(void 0!==E.maxAsyncRequests){let k=E.maxAsyncRequests;const S=te;if(te===S){if("number"!=typeof k||!isFinite(k))return re.errors=[{params:{type:"number"}}],!1;if(k<1||isNaN(k))return re.errors=[{params:{comparison:">=",limit:1}}],!1}ne=S===te}else ne=!0;if(ne){if(void 0!==E.maxAsyncSize){let k=E.maxAsyncSize;const S=te,w=te;let N=!1,j=null;const q=te,ae=te;let _e=!1;const ve=te;if(te===ve)if("number"==typeof k&&isFinite(k)){if(k<0||isNaN(k)){const E={params:{comparison:">=",limit:0}};null===ee?ee=[E]:ee.push(E),te++}}else{const E={params:{type:"number"}};null===ee?ee=[E]:ee.push(E),te++}var we=ve===te;if(_e=_e||we,!_e){const E=te;if(te===E)if(k&&"object"==typeof k&&!Array.isArray(k))for(const E in k){let S=k[E];const w=te;if("number"!=typeof S||!isFinite(S)){const E={params:{type:"number"}};null===ee?ee=[E]:ee.push(E),te++}if(w!==te)break}else{const E={params:{type:"object"}};null===ee?ee=[E]:ee.push(E),te++}we=E===te,_e=_e||we}if(_e)te=ae,null!==ee&&(ae?ee.length=ae:ee=null);else{const E={params:{}};null===ee?ee=[E]:ee.push(E),te++}if(q===te&&(N=!0,j=0),!N){const E={params:{passingSchemas:j}};return null===ee?ee=[E]:ee.push(E),te++,re.errors=ee,!1}te=w,null!==ee&&(w?ee.length=w:ee=null),ne=S===te}else ne=!0;if(ne){if(void 0!==E.maxInitialRequests){let k=E.maxInitialRequests;const S=te;if(te===S){if("number"!=typeof k||!isFinite(k))return re.errors=[{params:{type:"number"}}],!1;if(k<1||isNaN(k))return re.errors=[{params:{comparison:">=",limit:1}}],!1}ne=S===te}else ne=!0;if(ne){if(void 0!==E.maxInitialSize){let k=E.maxInitialSize;const S=te,w=te;let N=!1,j=null;const q=te,ae=te;let _e=!1;const ve=te;if(te===ve)if("number"==typeof k&&isFinite(k)){if(k<0||isNaN(k)){const E={params:{comparison:">=",limit:0}};null===ee?ee=[E]:ee.push(E),te++}}else{const E={params:{type:"number"}};null===ee?ee=[E]:ee.push(E),te++}var Ce=ve===te;if(_e=_e||Ce,!_e){const E=te;if(te===E)if(k&&"object"==typeof k&&!Array.isArray(k))for(const E in k){let S=k[E];const w=te;if("number"!=typeof S||!isFinite(S)){const E={params:{type:"number"}};null===ee?ee=[E]:ee.push(E),te++}if(w!==te)break}else{const E={params:{type:"object"}};null===ee?ee=[E]:ee.push(E),te++}Ce=E===te,_e=_e||Ce}if(_e)te=ae,null!==ee&&(ae?ee.length=ae:ee=null);else{const E={params:{}};null===ee?ee=[E]:ee.push(E),te++}if(q===te&&(N=!0,j=0),!N){const E={params:{passingSchemas:j}};return null===ee?ee=[E]:ee.push(E),te++,re.errors=ee,!1}te=w,null!==ee&&(w?ee.length=w:ee=null),ne=S===te}else ne=!0;if(ne){if(void 0!==E.maxSize){let k=E.maxSize;const S=te,w=te;let N=!1,j=null;const q=te,ae=te;let _e=!1;const ve=te;if(te===ve)if("number"==typeof k&&isFinite(k)){if(k<0||isNaN(k)){const E={params:{comparison:">=",limit:0}};null===ee?ee=[E]:ee.push(E),te++}}else{const E={params:{type:"number"}};null===ee?ee=[E]:ee.push(E),te++}var Te=ve===te;if(_e=_e||Te,!_e){const E=te;if(te===E)if(k&&"object"==typeof k&&!Array.isArray(k))for(const E in k){let S=k[E];const w=te;if("number"!=typeof S||!isFinite(S)){const E={params:{type:"number"}};null===ee?ee=[E]:ee.push(E),te++}if(w!==te)break}else{const E={params:{type:"object"}};null===ee?ee=[E]:ee.push(E),te++}Te=E===te,_e=_e||Te}if(_e)te=ae,null!==ee&&(ae?ee.length=ae:ee=null);else{const E={params:{}};null===ee?ee=[E]:ee.push(E),te++}if(q===te&&(N=!0,j=0),!N){const E={params:{passingSchemas:j}};return null===ee?ee=[E]:ee.push(E),te++,re.errors=ee,!1}te=w,null!==ee&&(w?ee.length=w:ee=null),ne=S===te}else ne=!0;if(ne){if(void 0!==E.minChunks){let k=E.minChunks;const S=te;if(te===S){if("number"!=typeof k||!isFinite(k))return re.errors=[{params:{type:"number"}}],!1;if(k<1||isNaN(k))return re.errors=[{params:{comparison:">=",limit:1}}],!1}ne=S===te}else ne=!0;if(ne){if(void 0!==E.minRemainingSize){let k=E.minRemainingSize;const S=te,w=te;let N=!1,j=null;const q=te,ae=te;let _e=!1;const ve=te;if(te===ve)if("number"==typeof k&&isFinite(k)){if(k<0||isNaN(k)){const E={params:{comparison:">=",limit:0}};null===ee?ee=[E]:ee.push(E),te++}}else{const E={params:{type:"number"}};null===ee?ee=[E]:ee.push(E),te++}var Ie=ve===te;if(_e=_e||Ie,!_e){const E=te;if(te===E)if(k&&"object"==typeof k&&!Array.isArray(k))for(const E in k){let S=k[E];const w=te;if("number"!=typeof S||!isFinite(S)){const E={params:{type:"number"}};null===ee?ee=[E]:ee.push(E),te++}if(w!==te)break}else{const E={params:{type:"object"}};null===ee?ee=[E]:ee.push(E),te++}Ie=E===te,_e=_e||Ie}if(_e)te=ae,null!==ee&&(ae?ee.length=ae:ee=null);else{const E={params:{}};null===ee?ee=[E]:ee.push(E),te++}if(q===te&&(N=!0,j=0),!N){const E={params:{passingSchemas:j}};return null===ee?ee=[E]:ee.push(E),te++,re.errors=ee,!1}te=w,null!==ee&&(w?ee.length=w:ee=null),ne=S===te}else ne=!0;if(ne){if(void 0!==E.minSize){let k=E.minSize;const S=te,w=te;let N=!1,j=null;const q=te,ae=te;let _e=!1;const ve=te;if(te===ve)if("number"==typeof k&&isFinite(k)){if(k<0||isNaN(k)){const E={params:{comparison:">=",limit:0}};null===ee?ee=[E]:ee.push(E),te++}}else{const E={params:{type:"number"}};null===ee?ee=[E]:ee.push(E),te++}var Oe=ve===te;if(_e=_e||Oe,!_e){const E=te;if(te===E)if(k&&"object"==typeof k&&!Array.isArray(k))for(const E in k){let S=k[E];const w=te;if("number"!=typeof S||!isFinite(S)){const E={params:{type:"number"}};null===ee?ee=[E]:ee.push(E),te++}if(w!==te)break}else{const E={params:{type:"object"}};null===ee?ee=[E]:ee.push(E),te++}Oe=E===te,_e=_e||Oe}if(_e)te=ae,null!==ee&&(ae?ee.length=ae:ee=null);else{const E={params:{}};null===ee?ee=[E]:ee.push(E),te++}if(q===te&&(N=!0,j=0),!N){const E={params:{passingSchemas:j}};return null===ee?ee=[E]:ee.push(E),te++,re.errors=ee,!1}te=w,null!==ee&&(w?ee.length=w:ee=null),ne=S===te}else ne=!0;if(ne){if(void 0!==E.name){let k=E.name;const S=te,w=te;let N=!1;const j=te;if(!1!==k){const E={params:{}};null===ee?ee=[E]:ee.push(E),te++}var Re=j===te;if(N=N||Re,!N){const E=te;if("string"!=typeof k){const E={params:{type:"string"}};null===ee?ee=[E]:ee.push(E),te++}if(Re=E===te,N=N||Re,!N){const E=te;if(!(k instanceof Function)){const E={params:{}};null===ee?ee=[E]:ee.push(E),te++}Re=E===te,N=N||Re}}if(!N){const E={params:{}};return null===ee?ee=[E]:ee.push(E),te++,re.errors=ee,!1}te=w,null!==ee&&(w?ee.length=w:ee=null),ne=S===te}else ne=!0;if(ne){if(void 0!==E.priority){let k=E.priority;const S=te;if("number"!=typeof k||!isFinite(k))return re.errors=[{params:{type:"number"}}],!1;ne=S===te}else ne=!0;if(ne){if(void 0!==E.reuseExistingChunk){const k=te;if("boolean"!=typeof E.reuseExistingChunk)return re.errors=[{params:{type:"boolean"}}],!1;ne=k===te}else ne=!0;if(ne){if(void 0!==E.test){let k=E.test;const S=te,w=te;let N=!1;const j=te;if(!(k instanceof RegExp)){const E={params:{}};null===ee?ee=[E]:ee.push(E),te++}var Fe=j===te;if(N=N||Fe,!N){const E=te;if("string"!=typeof k){const E={params:{type:"string"}};null===ee?ee=[E]:ee.push(E),te++}if(Fe=E===te,N=N||Fe,!N){const E=te;if(!(k instanceof Function)){const E={params:{}};null===ee?ee=[E]:ee.push(E),te++}Fe=E===te,N=N||Fe}}if(!N){const E={params:{}};return null===ee?ee=[E]:ee.push(E),te++,re.errors=ee,!1}te=w,null!==ee&&(w?ee.length=w:ee=null),ne=S===te}else ne=!0;if(ne){if(void 0!==E.type){let k=E.type;const S=te,w=te;let N=!1;const j=te;if(!(k instanceof RegExp)){const E={params:{}};null===ee?ee=[E]:ee.push(E),te++}var Ne=j===te;if(N=N||Ne,!N){const E=te;if("string"!=typeof k){const E={params:{type:"string"}};null===ee?ee=[E]:ee.push(E),te++}if(Ne=E===te,N=N||Ne,!N){const E=te;if(!(k instanceof Function)){const E={params:{}};null===ee?ee=[E]:ee.push(E),te++}Ne=E===te,N=N||Ne}}if(!N){const E={params:{}};return null===ee?ee=[E]:ee.push(E),te++,re.errors=ee,!1}te=w,null!==ee&&(w?ee.length=w:ee=null),ne=S===te}else ne=!0;if(ne)if(void 0!==E.usedExports){const k=te;if("boolean"!=typeof E.usedExports)return re.errors=[{params:{type:"boolean"}}],!1;ne=k===te}else ne=!0}}}}}}}}}}}}}}}}}}}}}}return re.errors=ee,0===te}function se(E,{instancePath:S="",parentData:N,parentDataProperty:j,rootData:q=E}={}){let ee=null,te=0;if(0===te){if(!E||"object"!=typeof E||Array.isArray(E))return se.errors=[{params:{type:"object"}}],!1;{const N=te;for(const k in E)if(!w.call(Ce,k))return se.errors=[{params:{additionalProperty:k}}],!1;if(N===te){if(void 0!==E.automaticNameDelimiter){let k=E.automaticNameDelimiter;const S=te;if(te===S){if("string"!=typeof k)return se.errors=[{params:{type:"string"}}],!1;if(k.length<1)return se.errors=[{params:{}}],!1}var ne=S===te}else ne=!0;if(ne){if(void 0!==E.cacheGroups){let k=E.cacheGroups;const w=te,N=te,j=te;if(te===j)if(k&&"object"==typeof k&&!Array.isArray(k)){let E;if(void 0===k.test&&(E="test")){const E={};null===ee?ee=[E]:ee.push(E),te++}else if(void 0!==k.test){let E=k.test;const S=te;let w=!1;const N=te;if(!(E instanceof RegExp)){const E={};null===ee?ee=[E]:ee.push(E),te++}var ae=N===te;if(w=w||ae,!w){const k=te;if("string"!=typeof E){const E={};null===ee?ee=[E]:ee.push(E),te++}if(ae=k===te,w=w||ae,!w){const k=te;if(!(E instanceof Function)){const E={};null===ee?ee=[E]:ee.push(E),te++}ae=k===te,w=w||ae}}if(w)te=S,null!==ee&&(S?ee.length=S:ee=null);else{const E={};null===ee?ee=[E]:ee.push(E),te++}}}else{const E={};null===ee?ee=[E]:ee.push(E),te++}if(j===te)return se.errors=[{params:{}}],!1;if(te=N,null!==ee&&(N?ee.length=N:ee=null),te===w){if(!k||"object"!=typeof k||Array.isArray(k))return se.errors=[{params:{type:"object"}}],!1;for(const E in k){let w=k[E];const N=te,j=te;let ne=!1;const ae=te;if(!1!==w){const E={params:{}};null===ee?ee=[E]:ee.push(E),te++}var _e=ae===te;if(ne=ne||_e,!ne){const N=te;if(!(w instanceof RegExp)){const E={params:{}};null===ee?ee=[E]:ee.push(E),te++}if(_e=N===te,ne=ne||_e,!ne){const N=te;if("string"!=typeof w){const E={params:{type:"string"}};null===ee?ee=[E]:ee.push(E),te++}if(_e=N===te,ne=ne||_e,!ne){const N=te;if(!(w instanceof Function)){const E={params:{}};null===ee?ee=[E]:ee.push(E),te++}if(_e=N===te,ne=ne||_e,!ne){const N=te;re(w,{instancePath:S+"/cacheGroups/"+E.replace(/~/g,"~0").replace(/\//g,"~1"),parentData:k,parentDataProperty:E,rootData:q})||(ee=null===ee?re.errors:ee.concat(re.errors),te=ee.length),_e=N===te,ne=ne||_e}}}}if(!ne){const E={params:{}};return null===ee?ee=[E]:ee.push(E),te++,se.errors=ee,!1}if(te=j,null!==ee&&(j?ee.length=j:ee=null),N!==te)break}}ne=w===te}else ne=!0;if(ne){if(void 0!==E.chunks){let k=E.chunks;const S=te,w=te;let N=!1;const j=te;if("initial"!==k&&"async"!==k&&"all"!==k){const E={params:{}};null===ee?ee=[E]:ee.push(E),te++}var ve=j===te;if(N=N||ve,!N){const E=te;if(!(k instanceof Function)){const E={params:{}};null===ee?ee=[E]:ee.push(E),te++}ve=E===te,N=N||ve}if(!N){const E={params:{}};return null===ee?ee=[E]:ee.push(E),te++,se.errors=ee,!1}te=w,null!==ee&&(w?ee.length=w:ee=null),ne=S===te}else ne=!0;if(ne){if(void 0!==E.defaultSizeTypes){let k=E.defaultSizeTypes;const S=te;if(te===S){if(!Array.isArray(k))return se.errors=[{params:{type:"array"}}],!1;if(k.length<1)return se.errors=[{params:{limit:1}}],!1;{const E=k.length;for(let S=0;S=",limit:0}};null===ee?ee=[E]:ee.push(E),te++}}else{const E={params:{type:"number"}};null===ee?ee=[E]:ee.push(E),te++}var Ee=ve===te;if(_e=_e||Ee,!_e){const E=te;if(te===E)if(k&&"object"==typeof k&&!Array.isArray(k))for(const E in k){let S=k[E];const w=te;if("number"!=typeof S||!isFinite(S)){const E={params:{type:"number"}};null===ee?ee=[E]:ee.push(E),te++}if(w!==te)break}else{const E={params:{type:"object"}};null===ee?ee=[E]:ee.push(E),te++}Ee=E===te,_e=_e||Ee}if(_e)te=ae,null!==ee&&(ae?ee.length=ae:ee=null);else{const E={params:{}};null===ee?ee=[E]:ee.push(E),te++}if(q===te&&(N=!0,j=0),!N){const E={params:{passingSchemas:j}};return null===ee?ee=[E]:ee.push(E),te++,se.errors=ee,!1}te=w,null!==ee&&(w?ee.length=w:ee=null),ne=S===te}else ne=!0;if(ne){if(void 0!==E.fallbackCacheGroup){let k=E.fallbackCacheGroup;const S=te;if(te===S){if(!k||"object"!=typeof k||Array.isArray(k))return se.errors=[{params:{type:"object"}}],!1;{const E=te;for(const E in k)if("automaticNameDelimiter"!==E&&"maxAsyncSize"!==E&&"maxInitialSize"!==E&&"maxSize"!==E&&"minSize"!==E)return se.errors=[{params:{additionalProperty:E}}],!1;if(E===te){if(void 0!==k.automaticNameDelimiter){let E=k.automaticNameDelimiter;const S=te;if(te===S){if("string"!=typeof E)return se.errors=[{params:{type:"string"}}],!1;if(E.length<1)return se.errors=[{params:{}}],!1}var we=S===te}else we=!0;if(we){if(void 0!==k.maxAsyncSize){let E=k.maxAsyncSize;const S=te,w=te;let N=!1,j=null;const q=te,ne=te;let ae=!1;const _e=te;if(te===_e)if("number"==typeof E&&isFinite(E)){if(E<0||isNaN(E)){const E={params:{comparison:">=",limit:0}};null===ee?ee=[E]:ee.push(E),te++}}else{const E={params:{type:"number"}};null===ee?ee=[E]:ee.push(E),te++}var Me=_e===te;if(ae=ae||Me,!ae){const k=te;if(te===k)if(E&&"object"==typeof E&&!Array.isArray(E))for(const k in E){let S=E[k];const w=te;if("number"!=typeof S||!isFinite(S)){const E={params:{type:"number"}};null===ee?ee=[E]:ee.push(E),te++}if(w!==te)break}else{const E={params:{type:"object"}};null===ee?ee=[E]:ee.push(E),te++}Me=k===te,ae=ae||Me}if(ae)te=ne,null!==ee&&(ne?ee.length=ne:ee=null);else{const E={params:{}};null===ee?ee=[E]:ee.push(E),te++}if(q===te&&(N=!0,j=0),!N){const E={params:{passingSchemas:j}};return null===ee?ee=[E]:ee.push(E),te++,se.errors=ee,!1}te=w,null!==ee&&(w?ee.length=w:ee=null),we=S===te}else we=!0;if(we){if(void 0!==k.maxInitialSize){let E=k.maxInitialSize;const S=te,w=te;let N=!1,j=null;const q=te,ne=te;let ae=!1;const _e=te;if(te===_e)if("number"==typeof E&&isFinite(E)){if(E<0||isNaN(E)){const E={params:{comparison:">=",limit:0}};null===ee?ee=[E]:ee.push(E),te++}}else{const E={params:{type:"number"}};null===ee?ee=[E]:ee.push(E),te++}var Te=_e===te;if(ae=ae||Te,!ae){const k=te;if(te===k)if(E&&"object"==typeof E&&!Array.isArray(E))for(const k in E){let S=E[k];const w=te;if("number"!=typeof S||!isFinite(S)){const E={params:{type:"number"}};null===ee?ee=[E]:ee.push(E),te++}if(w!==te)break}else{const E={params:{type:"object"}};null===ee?ee=[E]:ee.push(E),te++}Te=k===te,ae=ae||Te}if(ae)te=ne,null!==ee&&(ne?ee.length=ne:ee=null);else{const E={params:{}};null===ee?ee=[E]:ee.push(E),te++}if(q===te&&(N=!0,j=0),!N){const E={params:{passingSchemas:j}};return null===ee?ee=[E]:ee.push(E),te++,se.errors=ee,!1}te=w,null!==ee&&(w?ee.length=w:ee=null),we=S===te}else we=!0;if(we){if(void 0!==k.maxSize){let E=k.maxSize;const S=te,w=te;let N=!1,j=null;const q=te,ne=te;let ae=!1;const _e=te;if(te===_e)if("number"==typeof E&&isFinite(E)){if(E<0||isNaN(E)){const E={params:{comparison:">=",limit:0}};null===ee?ee=[E]:ee.push(E),te++}}else{const E={params:{type:"number"}};null===ee?ee=[E]:ee.push(E),te++}var Ie=_e===te;if(ae=ae||Ie,!ae){const k=te;if(te===k)if(E&&"object"==typeof E&&!Array.isArray(E))for(const k in E){let S=E[k];const w=te;if("number"!=typeof S||!isFinite(S)){const E={params:{type:"number"}};null===ee?ee=[E]:ee.push(E),te++}if(w!==te)break}else{const E={params:{type:"object"}};null===ee?ee=[E]:ee.push(E),te++}Ie=k===te,ae=ae||Ie}if(ae)te=ne,null!==ee&&(ne?ee.length=ne:ee=null);else{const E={params:{}};null===ee?ee=[E]:ee.push(E),te++}if(q===te&&(N=!0,j=0),!N){const E={params:{passingSchemas:j}};return null===ee?ee=[E]:ee.push(E),te++,se.errors=ee,!1}te=w,null!==ee&&(w?ee.length=w:ee=null),we=S===te}else we=!0;if(we)if(void 0!==k.minSize){let E=k.minSize;const S=te,w=te;let N=!1,j=null;const q=te,ne=te;let ae=!1;const _e=te;if(te===_e)if("number"==typeof E&&isFinite(E)){if(E<0||isNaN(E)){const E={params:{comparison:">=",limit:0}};null===ee?ee=[E]:ee.push(E),te++}}else{const E={params:{type:"number"}};null===ee?ee=[E]:ee.push(E),te++}var Oe=_e===te;if(ae=ae||Oe,!ae){const k=te;if(te===k)if(E&&"object"==typeof E&&!Array.isArray(E))for(const k in E){let S=E[k];const w=te;if("number"!=typeof S||!isFinite(S)){const E={params:{type:"number"}};null===ee?ee=[E]:ee.push(E),te++}if(w!==te)break}else{const E={params:{type:"object"}};null===ee?ee=[E]:ee.push(E),te++}Oe=k===te,ae=ae||Oe}if(ae)te=ne,null!==ee&&(ne?ee.length=ne:ee=null);else{const E={params:{}};null===ee?ee=[E]:ee.push(E),te++}if(q===te&&(N=!0,j=0),!N){const E={params:{passingSchemas:j}};return null===ee?ee=[E]:ee.push(E),te++,se.errors=ee,!1}te=w,null!==ee&&(w?ee.length=w:ee=null),we=S===te}else we=!0}}}}}}ne=S===te}else ne=!0;if(ne){if(void 0!==E.filename){let S=E.filename;const w=te,N=te;let j=!1;const q=te;if(te===q)if("string"==typeof S){if(S.includes("!")||!1!==k.test(S)){const E={params:{}};null===ee?ee=[E]:ee.push(E),te++}else if(S.length<1){const E={params:{}};null===ee?ee=[E]:ee.push(E),te++}}else{const E={params:{type:"string"}};null===ee?ee=[E]:ee.push(E),te++}var Re=q===te;if(j=j||Re,!j){const E=te;if(!(S instanceof Function)){const E={params:{}};null===ee?ee=[E]:ee.push(E),te++}Re=E===te,j=j||Re}if(!j){const E={params:{}};return null===ee?ee=[E]:ee.push(E),te++,se.errors=ee,!1}te=N,null!==ee&&(N?ee.length=N:ee=null),ne=w===te}else ne=!0;if(ne){if(void 0!==E.hidePathInfo){const k=te;if("boolean"!=typeof E.hidePathInfo)return se.errors=[{params:{type:"boolean"}}],!1;ne=k===te}else ne=!0;if(ne){if(void 0!==E.maxAsyncRequests){let k=E.maxAsyncRequests;const S=te;if(te===S){if("number"!=typeof k||!isFinite(k))return se.errors=[{params:{type:"number"}}],!1;if(k<1||isNaN(k))return se.errors=[{params:{comparison:">=",limit:1}}],!1}ne=S===te}else ne=!0;if(ne){if(void 0!==E.maxAsyncSize){let k=E.maxAsyncSize;const S=te,w=te;let N=!1,j=null;const q=te,ae=te;let _e=!1;const ve=te;if(te===ve)if("number"==typeof k&&isFinite(k)){if(k<0||isNaN(k)){const E={params:{comparison:">=",limit:0}};null===ee?ee=[E]:ee.push(E),te++}}else{const E={params:{type:"number"}};null===ee?ee=[E]:ee.push(E),te++}var Fe=ve===te;if(_e=_e||Fe,!_e){const E=te;if(te===E)if(k&&"object"==typeof k&&!Array.isArray(k))for(const E in k){let S=k[E];const w=te;if("number"!=typeof S||!isFinite(S)){const E={params:{type:"number"}};null===ee?ee=[E]:ee.push(E),te++}if(w!==te)break}else{const E={params:{type:"object"}};null===ee?ee=[E]:ee.push(E),te++}Fe=E===te,_e=_e||Fe}if(_e)te=ae,null!==ee&&(ae?ee.length=ae:ee=null);else{const E={params:{}};null===ee?ee=[E]:ee.push(E),te++}if(q===te&&(N=!0,j=0),!N){const E={params:{passingSchemas:j}};return null===ee?ee=[E]:ee.push(E),te++,se.errors=ee,!1}te=w,null!==ee&&(w?ee.length=w:ee=null),ne=S===te}else ne=!0;if(ne){if(void 0!==E.maxInitialRequests){let k=E.maxInitialRequests;const S=te;if(te===S){if("number"!=typeof k||!isFinite(k))return se.errors=[{params:{type:"number"}}],!1;if(k<1||isNaN(k))return se.errors=[{params:{comparison:">=",limit:1}}],!1}ne=S===te}else ne=!0;if(ne){if(void 0!==E.maxInitialSize){let k=E.maxInitialSize;const S=te,w=te;let N=!1,j=null;const q=te,ae=te;let _e=!1;const ve=te;if(te===ve)if("number"==typeof k&&isFinite(k)){if(k<0||isNaN(k)){const E={params:{comparison:">=",limit:0}};null===ee?ee=[E]:ee.push(E),te++}}else{const E={params:{type:"number"}};null===ee?ee=[E]:ee.push(E),te++}var Ne=ve===te;if(_e=_e||Ne,!_e){const E=te;if(te===E)if(k&&"object"==typeof k&&!Array.isArray(k))for(const E in k){let S=k[E];const w=te;if("number"!=typeof S||!isFinite(S)){const E={params:{type:"number"}};null===ee?ee=[E]:ee.push(E),te++}if(w!==te)break}else{const E={params:{type:"object"}};null===ee?ee=[E]:ee.push(E),te++}Ne=E===te,_e=_e||Ne}if(_e)te=ae,null!==ee&&(ae?ee.length=ae:ee=null);else{const E={params:{}};null===ee?ee=[E]:ee.push(E),te++}if(q===te&&(N=!0,j=0),!N){const E={params:{passingSchemas:j}};return null===ee?ee=[E]:ee.push(E),te++,se.errors=ee,!1}te=w,null!==ee&&(w?ee.length=w:ee=null),ne=S===te}else ne=!0;if(ne){if(void 0!==E.maxSize){let k=E.maxSize;const S=te,w=te;let N=!1,j=null;const q=te,ae=te;let _e=!1;const ve=te;if(te===ve)if("number"==typeof k&&isFinite(k)){if(k<0||isNaN(k)){const E={params:{comparison:">=",limit:0}};null===ee?ee=[E]:ee.push(E),te++}}else{const E={params:{type:"number"}};null===ee?ee=[E]:ee.push(E),te++}var Be=ve===te;if(_e=_e||Be,!_e){const E=te;if(te===E)if(k&&"object"==typeof k&&!Array.isArray(k))for(const E in k){let S=k[E];const w=te;if("number"!=typeof S||!isFinite(S)){const E={params:{type:"number"}};null===ee?ee=[E]:ee.push(E),te++}if(w!==te)break}else{const E={params:{type:"object"}};null===ee?ee=[E]:ee.push(E),te++}Be=E===te,_e=_e||Be}if(_e)te=ae,null!==ee&&(ae?ee.length=ae:ee=null);else{const E={params:{}};null===ee?ee=[E]:ee.push(E),te++}if(q===te&&(N=!0,j=0),!N){const E={params:{passingSchemas:j}};return null===ee?ee=[E]:ee.push(E),te++,se.errors=ee,!1}te=w,null!==ee&&(w?ee.length=w:ee=null),ne=S===te}else ne=!0;if(ne){if(void 0!==E.minChunks){let k=E.minChunks;const S=te;if(te===S){if("number"!=typeof k||!isFinite(k))return se.errors=[{params:{type:"number"}}],!1;if(k<1||isNaN(k))return se.errors=[{params:{comparison:">=",limit:1}}],!1}ne=S===te}else ne=!0;if(ne){if(void 0!==E.minRemainingSize){let k=E.minRemainingSize;const S=te,w=te;let N=!1,j=null;const q=te,ae=te;let _e=!1;const ve=te;if(te===ve)if("number"==typeof k&&isFinite(k)){if(k<0||isNaN(k)){const E={params:{comparison:">=",limit:0}};null===ee?ee=[E]:ee.push(E),te++}}else{const E={params:{type:"number"}};null===ee?ee=[E]:ee.push(E),te++}var Le=ve===te;if(_e=_e||Le,!_e){const E=te;if(te===E)if(k&&"object"==typeof k&&!Array.isArray(k))for(const E in k){let S=k[E];const w=te;if("number"!=typeof S||!isFinite(S)){const E={params:{type:"number"}};null===ee?ee=[E]:ee.push(E),te++}if(w!==te)break}else{const E={params:{type:"object"}};null===ee?ee=[E]:ee.push(E),te++}Le=E===te,_e=_e||Le}if(_e)te=ae,null!==ee&&(ae?ee.length=ae:ee=null);else{const E={params:{}};null===ee?ee=[E]:ee.push(E),te++}if(q===te&&(N=!0,j=0),!N){const E={params:{passingSchemas:j}};return null===ee?ee=[E]:ee.push(E),te++,se.errors=ee,!1}te=w,null!==ee&&(w?ee.length=w:ee=null),ne=S===te}else ne=!0;if(ne){if(void 0!==E.minSize){let k=E.minSize;const S=te,w=te;let N=!1,j=null;const q=te,ae=te;let _e=!1;const ve=te;if(te===ve)if("number"==typeof k&&isFinite(k)){if(k<0||isNaN(k)){const E={params:{comparison:">=",limit:0}};null===ee?ee=[E]:ee.push(E),te++}}else{const E={params:{type:"number"}};null===ee?ee=[E]:ee.push(E),te++}var je=ve===te;if(_e=_e||je,!_e){const E=te;if(te===E)if(k&&"object"==typeof k&&!Array.isArray(k))for(const E in k){let S=k[E];const w=te;if("number"!=typeof S||!isFinite(S)){const E={params:{type:"number"}};null===ee?ee=[E]:ee.push(E),te++}if(w!==te)break}else{const E={params:{type:"object"}};null===ee?ee=[E]:ee.push(E),te++}je=E===te,_e=_e||je}if(_e)te=ae,null!==ee&&(ae?ee.length=ae:ee=null);else{const E={params:{}};null===ee?ee=[E]:ee.push(E),te++}if(q===te&&(N=!0,j=0),!N){const E={params:{passingSchemas:j}};return null===ee?ee=[E]:ee.push(E),te++,se.errors=ee,!1}te=w,null!==ee&&(w?ee.length=w:ee=null),ne=S===te}else ne=!0;if(ne){if(void 0!==E.name){let k=E.name;const S=te,w=te;let N=!1;const j=te;if(!1!==k){const E={params:{}};null===ee?ee=[E]:ee.push(E),te++}var $e=j===te;if(N=N||$e,!N){const E=te;if("string"!=typeof k){const E={params:{type:"string"}};null===ee?ee=[E]:ee.push(E),te++}if($e=E===te,N=N||$e,!N){const E=te;if(!(k instanceof Function)){const E={params:{}};null===ee?ee=[E]:ee.push(E),te++}$e=E===te,N=N||$e}}if(!N){const E={params:{}};return null===ee?ee=[E]:ee.push(E),te++,se.errors=ee,!1}te=w,null!==ee&&(w?ee.length=w:ee=null),ne=S===te}else ne=!0;if(ne)if(void 0!==E.usedExports){const k=te;if("boolean"!=typeof E.usedExports)return se.errors=[{params:{type:"boolean"}}],!1;ne=k===te}else ne=!0}}}}}}}}}}}}}}}}}}}return se.errors=ee,0===te}function oe(E,{instancePath:k="",parentData:S,parentDataProperty:N,rootData:j=E}={}){let q=null,ee=0;if(0===ee){if(!E||"object"!=typeof E||Array.isArray(E))return oe.errors=[{params:{type:"object"}}],!1;{const S=ee;for(const k in E)if(!w.call(we,k))return oe.errors=[{params:{additionalProperty:k}}],!1;if(S===ee){if(void 0!==E.checkWasmTypes){const k=ee;if("boolean"!=typeof E.checkWasmTypes)return oe.errors=[{params:{type:"boolean"}}],!1;var te=k===ee}else te=!0;if(te){if(void 0!==E.chunkIds){let k=E.chunkIds;const S=ee;if("natural"!==k&&"named"!==k&&"deterministic"!==k&&"size"!==k&&"total-size"!==k&&!1!==k)return oe.errors=[{params:{}}],!1;te=S===ee}else te=!0;if(te){if(void 0!==E.concatenateModules){const k=ee;if("boolean"!=typeof E.concatenateModules)return oe.errors=[{params:{type:"boolean"}}],!1;te=k===ee}else te=!0;if(te){if(void 0!==E.emitOnErrors){const k=ee;if("boolean"!=typeof E.emitOnErrors)return oe.errors=[{params:{type:"boolean"}}],!1;te=k===ee}else te=!0;if(te){if(void 0!==E.flagIncludedChunks){const k=ee;if("boolean"!=typeof E.flagIncludedChunks)return oe.errors=[{params:{type:"boolean"}}],!1;te=k===ee}else te=!0;if(te){if(void 0!==E.innerGraph){const k=ee;if("boolean"!=typeof E.innerGraph)return oe.errors=[{params:{type:"boolean"}}],!1;te=k===ee}else te=!0;if(te){if(void 0!==E.mangleExports){let k=E.mangleExports;const S=ee,w=ee;let N=!1;const j=ee;if("size"!==k&&"deterministic"!==k){const E={params:{}};null===q?q=[E]:q.push(E),ee++}var ne=j===ee;if(N=N||ne,!N){const E=ee;if("boolean"!=typeof k){const E={params:{type:"boolean"}};null===q?q=[E]:q.push(E),ee++}ne=E===ee,N=N||ne}if(!N){const E={params:{}};return null===q?q=[E]:q.push(E),ee++,oe.errors=q,!1}ee=w,null!==q&&(w?q.length=w:q=null),te=S===ee}else te=!0;if(te){if(void 0!==E.mangleWasmImports){const k=ee;if("boolean"!=typeof E.mangleWasmImports)return oe.errors=[{params:{type:"boolean"}}],!1;te=k===ee}else te=!0;if(te){if(void 0!==E.mergeDuplicateChunks){const k=ee;if("boolean"!=typeof E.mergeDuplicateChunks)return oe.errors=[{params:{type:"boolean"}}],!1;te=k===ee}else te=!0;if(te){if(void 0!==E.minimize){const k=ee;if("boolean"!=typeof E.minimize)return oe.errors=[{params:{type:"boolean"}}],!1;te=k===ee}else te=!0;if(te){if(void 0!==E.minimizer){let k=E.minimizer;const S=ee;if(ee===S){if(!Array.isArray(k))return oe.errors=[{params:{type:"array"}}],!1;{const E=k.length;for(let S=0;S=",limit:1}}],!1}ae=S===te}else ae=!0;if(ae){if(void 0!==E.hashFunction){let k=E.hashFunction;const S=te,w=te;let N=!1;const j=te;if(te===j)if("string"==typeof k){if(k.length<1){const E={params:{}};null===ee?ee=[E]:ee.push(E),te++}}else{const E={params:{type:"string"}};null===ee?ee=[E]:ee.push(E),te++}var Ce=j===te;if(N=N||Ce,!N){const E=te;if(!(k instanceof Function)){const E={params:{}};null===ee?ee=[E]:ee.push(E),te++}Ce=E===te,N=N||Ce}if(!N){const E={params:{}};return null===ee?ee=[E]:ee.push(E),te++,ye.errors=ee,!1}te=w,null!==ee&&(w?ee.length=w:ee=null),ae=S===te}else ae=!0;if(ae){if(void 0!==E.hashSalt){let k=E.hashSalt;const S=te;if(te==te){if("string"!=typeof k)return ye.errors=[{params:{type:"string"}}],!1;if(k.length<1)return ye.errors=[{params:{}}],!1}ae=S===te}else ae=!0;if(ae){if(void 0!==E.hotUpdateChunkFilename){let S=E.hotUpdateChunkFilename;const w=te;if(te==te){if("string"!=typeof S)return ye.errors=[{params:{type:"string"}}],!1;if(S.includes("!")||!1!==k.test(S))return ye.errors=[{params:{}}],!1}ae=w===te}else ae=!0;if(ae){if(void 0!==E.hotUpdateGlobal){const k=te;if("string"!=typeof E.hotUpdateGlobal)return ye.errors=[{params:{type:"string"}}],!1;ae=k===te}else ae=!0;if(ae){if(void 0!==E.hotUpdateMainFilename){let S=E.hotUpdateMainFilename;const w=te;if(te==te){if("string"!=typeof S)return ye.errors=[{params:{type:"string"}}],!1;if(S.includes("!")||!1!==k.test(S))return ye.errors=[{params:{}}],!1}ae=w===te}else ae=!0;if(ae){if(void 0!==E.iife){const k=te;if("boolean"!=typeof E.iife)return ye.errors=[{params:{type:"boolean"}}],!1;ae=k===te}else ae=!0;if(ae){if(void 0!==E.importFunctionName){const k=te;if("string"!=typeof E.importFunctionName)return ye.errors=[{params:{type:"string"}}],!1;ae=k===te}else ae=!0;if(ae){if(void 0!==E.importMetaName){const k=te;if("string"!=typeof E.importMetaName)return ye.errors=[{params:{type:"string"}}],!1;ae=k===te}else ae=!0;if(ae){if(void 0!==E.library){const k=te;me(E.library,{instancePath:S+"/library",parentData:E,parentDataProperty:"library",rootData:q})||(ee=null===ee?me.errors:ee.concat(me.errors),te=ee.length),ae=k===te}else ae=!0;if(ae){if(void 0!==E.libraryExport){let k=E.libraryExport;const S=te,w=te;let N=!1,j=null;const q=te,ne=te;let _e=!1;const ve=te;if(te===ve)if(Array.isArray(k)){const E=k.length;for(let S=0;S=",limit:1}}],!1}_e=S===ne}else _e=!0;if(_e){if(void 0!==E.performance){const k=ne;he(E.performance,{instancePath:N+"/performance",parentData:E,parentDataProperty:"performance",rootData:ee})||(te=null===te?he.errors:te.concat(he.errors),ne=te.length),_e=k===ne}else _e=!0;if(_e){if(void 0!==E.plugins){const k=ne;de(E.plugins,{instancePath:N+"/plugins",parentData:E,parentDataProperty:"plugins",rootData:ee})||(te=null===te?de.errors:te.concat(de.errors),ne=te.length),_e=k===ne}else _e=!0;if(_e){if(void 0!==E.profile){const k=ne;if("boolean"!=typeof E.profile)return Se.errors=[{params:{type:"boolean"}}],!1;_e=k===ne}else _e=!0;if(_e){if(void 0!==E.recordsInputPath){let S=E.recordsInputPath;const w=ne,N=ne;let j=!1;const q=ne;if(!1!==S){const E={params:{}};null===te?te=[E]:te.push(E),ne++}var Fe=q===ne;if(j=j||Fe,!j){const E=ne;if(ne===E)if("string"==typeof S){if(S.includes("!")||!0!==k.test(S)){const E={params:{}};null===te?te=[E]:te.push(E),ne++}}else{const E={params:{type:"string"}};null===te?te=[E]:te.push(E),ne++}Fe=E===ne,j=j||Fe}if(!j){const E={params:{}};return null===te?te=[E]:te.push(E),ne++,Se.errors=te,!1}ne=N,null!==te&&(N?te.length=N:te=null),_e=w===ne}else _e=!0;if(_e){if(void 0!==E.recordsOutputPath){let S=E.recordsOutputPath;const w=ne,N=ne;let j=!1;const q=ne;if(!1!==S){const E={params:{}};null===te?te=[E]:te.push(E),ne++}var Ne=q===ne;if(j=j||Ne,!j){const E=ne;if(ne===E)if("string"==typeof S){if(S.includes("!")||!0!==k.test(S)){const E={params:{}};null===te?te=[E]:te.push(E),ne++}}else{const E={params:{type:"string"}};null===te?te=[E]:te.push(E),ne++}Ne=E===ne,j=j||Ne}if(!j){const E={params:{}};return null===te?te=[E]:te.push(E),ne++,Se.errors=te,!1}ne=N,null!==te&&(N?te.length=N:te=null),_e=w===ne}else _e=!0;if(_e){if(void 0!==E.recordsPath){let S=E.recordsPath;const w=ne,N=ne;let j=!1;const q=ne;if(!1!==S){const E={params:{}};null===te?te=[E]:te.push(E),ne++}var Be=q===ne;if(j=j||Be,!j){const E=ne;if(ne===E)if("string"==typeof S){if(S.includes("!")||!0!==k.test(S)){const E={params:{}};null===te?te=[E]:te.push(E),ne++}}else{const E={params:{type:"string"}};null===te?te=[E]:te.push(E),ne++}Be=E===ne,j=j||Be}if(!j){const E={params:{}};return null===te?te=[E]:te.push(E),ne++,Se.errors=te,!1}ne=N,null!==te&&(N?te.length=N:te=null),_e=w===ne}else _e=!0;if(_e){if(void 0!==E.resolve){const k=ne;ge(E.resolve,{instancePath:N+"/resolve",parentData:E,parentDataProperty:"resolve",rootData:ee})||(te=null===te?ge.errors:te.concat(ge.errors),ne=te.length),_e=k===ne}else _e=!0;if(_e){if(void 0!==E.resolveLoader){const k=ne;be(E.resolveLoader,{instancePath:N+"/resolveLoader",parentData:E,parentDataProperty:"resolveLoader",rootData:ee})||(te=null===te?be.errors:te.concat(be.errors),ne=te.length),_e=k===ne}else _e=!0;if(_e){if(void 0!==E.snapshot){let S=E.snapshot;const w=ne;if(ne==ne){if(!S||"object"!=typeof S||Array.isArray(S))return Se.errors=[{params:{type:"object"}}],!1;{const E=ne;for(const E in S)if("buildDependencies"!==E&&"immutablePaths"!==E&&"managedPaths"!==E&&"module"!==E&&"resolve"!==E&&"resolveBuildDependencies"!==E)return Se.errors=[{params:{additionalProperty:E}}],!1;if(E===ne){if(void 0!==S.buildDependencies){let E=S.buildDependencies;const k=ne;if(ne===k){if(!E||"object"!=typeof E||Array.isArray(E))return Se.errors=[{params:{type:"object"}}],!1;{const k=ne;for(const k in E)if("hash"!==k&&"timestamp"!==k)return Se.errors=[{params:{additionalProperty:k}}],!1;if(k===ne){if(void 0!==E.hash){const k=ne;if("boolean"!=typeof E.hash)return Se.errors=[{params:{type:"boolean"}}],!1;var Le=k===ne}else Le=!0;if(Le)if(void 0!==E.timestamp){const k=ne;if("boolean"!=typeof E.timestamp)return Se.errors=[{params:{type:"boolean"}}],!1;Le=k===ne}else Le=!0}}}var je=k===ne}else je=!0;if(je){if(void 0!==S.immutablePaths){let E=S.immutablePaths;const w=ne;if(ne===w){if(!Array.isArray(E))return Se.errors=[{params:{type:"array"}}],!1;{const S=E.length;for(let w=0;w{"use strict";function n(E,{instancePath:k="",parentData:S,parentDataProperty:w,rootData:N=E}={}){let j=null,q=0;const ee=q;let te=!1;const ne=q;if(q===ne)if(Array.isArray(E)){const k=E.length;for(let S=0;S{"use strict";function r(E,{instancePath:k="",parentData:S,parentDataProperty:w,rootData:N=E}={}){if(!E||"object"!=typeof E||Array.isArray(E))return r.errors=[{params:{type:"object"}}],!1;{let k;if(void 0===E.path&&(k="path"))return r.errors=[{params:{missingProperty:k}}],!1;{const k=0;for(const k in E)if("context"!==k&&"entryOnly"!==k&&"format"!==k&&"name"!==k&&"path"!==k&&"type"!==k)return r.errors=[{params:{additionalProperty:k}}],!1;if(0===k){if(void 0!==E.context){let k=E.context;const S=0;if(0===S){if("string"!=typeof k)return r.errors=[{params:{type:"string"}}],!1;if(k.length<1)return r.errors=[{params:{}}],!1}var j=0===S}else j=!0;if(j){if(void 0!==E.entryOnly){const k=0;if("boolean"!=typeof E.entryOnly)return r.errors=[{params:{type:"boolean"}}],!1;j=0===k}else j=!0;if(j){if(void 0!==E.format){const k=0;if("boolean"!=typeof E.format)return r.errors=[{params:{type:"boolean"}}],!1;j=0===k}else j=!0;if(j){if(void 0!==E.name){let k=E.name;const S=0;if(0===S){if("string"!=typeof k)return r.errors=[{params:{type:"string"}}],!1;if(k.length<1)return r.errors=[{params:{}}],!1}j=0===S}else j=!0;if(j){if(void 0!==E.path){let k=E.path;const S=0;if(0===S){if("string"!=typeof k)return r.errors=[{params:{type:"string"}}],!1;if(k.length<1)return r.errors=[{params:{}}],!1}j=0===S}else j=!0;if(j)if(void 0!==E.type){let k=E.type;const S=0;if(0===S){if("string"!=typeof k)return r.errors=[{params:{type:"string"}}],!1;if(k.length<1)return r.errors=[{params:{}}],!1}j=0===S}else j=!0}}}}}}}return r.errors=null,!0}E.exports=r,E.exports.default=r},69744:E=>{const k=/^(?:[A-Za-z]:[\\/]|\\\\|\/)/;function t(E,{instancePath:k="",parentData:S,parentDataProperty:w,rootData:N=E}={}){let j=null,q=0;if(0===q){if(!E||"object"!=typeof E||Array.isArray(E))return t.errors=[{params:{type:"object"}}],!1;{let k;if(void 0===E.content&&(k="content"))return t.errors=[{params:{missingProperty:k}}],!1;{const k=q;for(const k in E)if("content"!==k&&"name"!==k&&"type"!==k)return t.errors=[{params:{additionalProperty:k}}],!1;if(k===q){if(void 0!==E.content){let k=E.content;const S=q,w=q;let N=!1,_e=null;const ve=q;if(q==q)if(k&&"object"==typeof k&&!Array.isArray(k))if(Object.keys(k).length<1){const E={params:{limit:1}};null===j?j=[E]:j.push(E),q++}else for(const E in k){let S=k[E];const w=q;if(q===w)if(S&&"object"==typeof S&&!Array.isArray(S)){let E;if(void 0===S.id&&(E="id")){const k={params:{missingProperty:E}};null===j?j=[k]:j.push(k),q++}else{const E=q;for(const E in S)if("buildMeta"!==E&&"exports"!==E&&"id"!==E){const k={params:{additionalProperty:E}};null===j?j=[k]:j.push(k),q++;break}if(E===q){if(void 0!==S.buildMeta){let E=S.buildMeta;const k=q;if(!E||"object"!=typeof E||Array.isArray(E)){const E={params:{type:"object"}};null===j?j=[E]:j.push(E),q++}var ee=k===q}else ee=!0;if(ee){if(void 0!==S.exports){let E=S.exports;const k=q,w=q;let N=!1;const ne=q;if(q===ne)if(Array.isArray(E)){const k=E.length;for(let S=0;S{const k=/^(?:[A-Za-z]:[\\/]|\\\\|\/)/;function t(E,{instancePath:S="",parentData:w,parentDataProperty:N,rootData:j=E}={}){if(!E||"object"!=typeof E||Array.isArray(E))return t.errors=[{params:{type:"object"}}],!1;{const S=0;for(const k in E)if("context"!==k&&"hashDigest"!==k&&"hashDigestLength"!==k&&"hashFunction"!==k)return t.errors=[{params:{additionalProperty:k}}],!1;if(0===S){if(void 0!==E.context){let S=E.context;const w=0;if(0===w){if("string"!=typeof S)return t.errors=[{params:{type:"string"}}],!1;if(S.includes("!")||!0!==k.test(S))return t.errors=[{params:{}}],!1}var q=0===w}else q=!0;if(q){if(void 0!==E.hashDigest){let k=E.hashDigest;const S=0;if("hex"!==k&&"latin1"!==k&&"base64"!==k)return t.errors=[{params:{}}],!1;q=0===S}else q=!0;if(q){if(void 0!==E.hashDigestLength){let k=E.hashDigestLength;const S=0;if(0===S){if("number"!=typeof k||!isFinite(k))return t.errors=[{params:{type:"number"}}],!1;if(k<1||isNaN(k))return t.errors=[{params:{comparison:">=",limit:1}}],!1}q=0===S}else q=!0;if(q)if(void 0!==E.hashFunction){let k=E.hashFunction;const S=0;if(0===S){if("string"!=typeof k)return t.errors=[{params:{type:"string"}}],!1;if(k.length<1)return t.errors=[{params:{}}],!1}q=0===S}else q=!0}}}}return t.errors=null,!0}E.exports=t,E.exports.default=t},44194:E=>{"use strict";function e(E,{instancePath:k="",parentData:S,parentDataProperty:w,rootData:N=E}={}){let j=null,q=0;const ee=q;let te=!1;const ne=q;if(q===ne)if(E&&"object"==typeof E&&!Array.isArray(E)){const k=q;for(const k in E)if("contextRegExp"!==k&&"resourceRegExp"!==k){const E={params:{additionalProperty:k}};null===j?j=[E]:j.push(E),q++;break}if(k===q){if(void 0!==E.contextRegExp){const k=q;if(!(E.contextRegExp instanceof RegExp)){const E={params:{}};null===j?j=[E]:j.push(E),q++}var ae=k===q}else ae=!0;if(ae)if(void 0!==E.resourceRegExp){const k=q;if(!(E.resourceRegExp instanceof RegExp)){const E={params:{}};null===j?j=[E]:j.push(E),q++}ae=k===q}else ae=!0}}else{const E={params:{type:"object"}};null===j?j=[E]:j.push(E),q++}var _e=ne===q;if(te=te||_e,!te){const k=q;if(q===k)if(E&&"object"==typeof E&&!Array.isArray(E)){const k=q;for(const k in E)if("checkResource"!==k){const E={params:{additionalProperty:k}};null===j?j=[E]:j.push(E),q++;break}if(k===q&&void 0!==E.checkResource&&!(E.checkResource instanceof Function)){const E={params:{}};null===j?j=[E]:j.push(E),q++}}else{const E={params:{type:"object"}};null===j?j=[E]:j.push(E),q++}_e=k===q,te=te||_e}if(!te){const E={params:{}};return null===j?j=[E]:j.push(E),q++,e.errors=j,!1}return q=ee,null!==j&&(ee?j.length=ee:j=null),e.errors=j,0===q}E.exports=e,E.exports.default=e},71633:E=>{"use strict";function r(E,{instancePath:k="",parentData:S,parentDataProperty:w,rootData:N=E}={}){if(!E||"object"!=typeof E||Array.isArray(E))return r.errors=[{params:{type:"object"}}],!1;{const k=0;for(const k in E)if("parse"!==k)return r.errors=[{params:{additionalProperty:k}}],!1;if(0===k&&void 0!==E.parse&&!(E.parse instanceof Function))return r.errors=[{params:{}}],!1}return r.errors=null,!0}E.exports=r,E.exports.default=r},80274:E=>{const k=/^(?:[A-Za-z]:[\\/]|\\\\|\/)/;function e(E,{instancePath:S="",parentData:w,parentDataProperty:N,rootData:j=E}={}){if(!E||"object"!=typeof E||Array.isArray(E))return e.errors=[{params:{type:"object"}}],!1;if(void 0!==E.debug){const k=0;if("boolean"!=typeof E.debug)return e.errors=[{params:{type:"boolean"}}],!1;var q=0===k}else q=!0;if(q){if(void 0!==E.minimize){const k=0;if("boolean"!=typeof E.minimize)return e.errors=[{params:{type:"boolean"}}],!1;q=0===k}else q=!0;if(q)if(void 0!==E.options){let S=E.options;const w=0;if(0===w){if(!S||"object"!=typeof S||Array.isArray(S))return e.errors=[{params:{type:"object"}}],!1;if(void 0!==S.context){let E=S.context;if("string"!=typeof E)return e.errors=[{params:{type:"string"}}],!1;if(E.includes("!")||!0!==k.test(E))return e.errors=[{params:{}}],!1}}q=0===w}else q=!0}return e.errors=null,!0}E.exports=e,E.exports.default=e},73971:E=>{"use strict";E.exports=t,E.exports.default=t;const k={activeModules:{type:"boolean"},dependencies:{type:"boolean"},dependenciesCount:{type:"number"},entries:{type:"boolean"},handler:{oneOf:[{$ref:"#/definitions/HandlerFunction"}]},modules:{type:"boolean"},modulesCount:{type:"number"},percentBy:{enum:["entries","modules","dependencies",null]},profile:{enum:[!0,!1,null]}},S=Object.prototype.hasOwnProperty;function r(E,{instancePath:w="",parentData:N,parentDataProperty:j,rootData:q=E}={}){let ee=null,te=0;if(0===te){if(!E||"object"!=typeof E||Array.isArray(E))return r.errors=[{params:{type:"object"}}],!1;{const w=te;for(const w in E)if(!S.call(k,w))return r.errors=[{params:{additionalProperty:w}}],!1;if(w===te){if(void 0!==E.activeModules){const k=te;if("boolean"!=typeof E.activeModules)return r.errors=[{params:{type:"boolean"}}],!1;var ne=k===te}else ne=!0;if(ne){if(void 0!==E.dependencies){const k=te;if("boolean"!=typeof E.dependencies)return r.errors=[{params:{type:"boolean"}}],!1;ne=k===te}else ne=!0;if(ne){if(void 0!==E.dependenciesCount){let k=E.dependenciesCount;const S=te;if("number"!=typeof k||!isFinite(k))return r.errors=[{params:{type:"number"}}],!1;ne=S===te}else ne=!0;if(ne){if(void 0!==E.entries){const k=te;if("boolean"!=typeof E.entries)return r.errors=[{params:{type:"boolean"}}],!1;ne=k===te}else ne=!0;if(ne){if(void 0!==E.handler){const k=te,S=te;let w=!1,N=null;const j=te;if(!(E.handler instanceof Function)){const E={params:{}};null===ee?ee=[E]:ee.push(E),te++}if(j===te&&(w=!0,N=0),!w){const E={params:{passingSchemas:N}};return null===ee?ee=[E]:ee.push(E),te++,r.errors=ee,!1}te=S,null!==ee&&(S?ee.length=S:ee=null),ne=k===te}else ne=!0;if(ne){if(void 0!==E.modules){const k=te;if("boolean"!=typeof E.modules)return r.errors=[{params:{type:"boolean"}}],!1;ne=k===te}else ne=!0;if(ne){if(void 0!==E.modulesCount){let k=E.modulesCount;const S=te;if("number"!=typeof k||!isFinite(k))return r.errors=[{params:{type:"number"}}],!1;ne=S===te}else ne=!0;if(ne){if(void 0!==E.percentBy){let k=E.percentBy;const S=te;if("entries"!==k&&"modules"!==k&&"dependencies"!==k&&null!==k)return r.errors=[{params:{}}],!1;ne=S===te}else ne=!0;if(ne)if(void 0!==E.profile){let k=E.profile;const S=te;if(!0!==k&&!1!==k&&null!==k)return r.errors=[{params:{}}],!1;ne=S===te}else ne=!0}}}}}}}}}}return r.errors=ee,0===te}function t(E,{instancePath:k="",parentData:S,parentDataProperty:w,rootData:N=E}={}){let j=null,q=0;const ee=q;let te=!1;const ne=q;r(E,{instancePath:k,parentData:S,parentDataProperty:w,rootData:N})||(j=null===j?r.errors:j.concat(r.errors),q=j.length);var ae=ne===q;if(te=te||ae,!te){const k=q;if(!(E instanceof Function)){const E={params:{}};null===j?j=[E]:j.push(E),q++}ae=k===q,te=te||ae}if(!te){const E={params:{}};return null===j?j=[E]:j.push(E),q++,t.errors=j,!1}return q=ee,null!==j&&(ee?j.length=ee:j=null),t.errors=j,0===q}},68337:E=>{const k=/^(?:[A-Za-z]:[\\/]|\\\\|\/)/;E.exports=l,E.exports.default=l;const S={append:{anyOf:[{enum:[!1,null]},{type:"string",minLength:1}]},columns:{type:"boolean"},exclude:{oneOf:[{$ref:"#/definitions/rules"}]},fallbackModuleFilenameTemplate:{anyOf:[{type:"string",minLength:1},{instanceof:"Function"}]},fileContext:{type:"string"},filename:{anyOf:[{enum:[!1,null]},{type:"string",absolutePath:!1,minLength:1}]},include:{oneOf:[{$ref:"#/definitions/rules"}]},module:{type:"boolean"},moduleFilenameTemplate:{anyOf:[{type:"string",minLength:1},{instanceof:"Function"}]},namespace:{type:"string"},noSources:{type:"boolean"},publicPath:{type:"string"},sourceRoot:{type:"string"},test:{$ref:"#/definitions/rules"}},w=Object.prototype.hasOwnProperty;function s(E,{instancePath:k="",parentData:S,parentDataProperty:w,rootData:N=E}={}){let j=null,q=0;const ee=q;let te=!1;const ne=q;if(q===ne)if(Array.isArray(E)){const k=E.length;for(let S=0;S{"use strict";function r(E,{instancePath:k="",parentData:S,parentDataProperty:w,rootData:N=E}={}){let j=null,q=0;if(0===q){if(!E||"object"!=typeof E||Array.isArray(E))return r.errors=[{params:{type:"object"}}],!1;{let k;if(void 0===E.paths&&(k="paths"))return r.errors=[{params:{missingProperty:k}}],!1;{const k=q;for(const k in E)if("paths"!==k)return r.errors=[{params:{additionalProperty:k}}],!1;if(k===q&&void 0!==E.paths){let k=E.paths;if(q==q){if(!Array.isArray(k))return r.errors=[{params:{type:"array"}}],!1;if(k.length<1)return r.errors=[{params:{limit:1}}],!1;{const E=k.length;for(let S=0;S{const k=/^(?:[A-Za-z]:[\\/]|\\\\|\/)/;function n(E,{instancePath:k="",parentData:S,parentDataProperty:w,rootData:N=E}={}){let j=null,q=0;const ee=q;let te=!1;const ne=q;if(q==q)if(E&&"object"==typeof E&&!Array.isArray(E)){const k=q;for(const k in E)if("encoding"!==k&&"mimetype"!==k){const E={params:{additionalProperty:k}};null===j?j=[E]:j.push(E),q++;break}if(k===q){if(void 0!==E.encoding){let k=E.encoding;const S=q;if(!1!==k&&"base64"!==k){const E={params:{}};null===j?j=[E]:j.push(E),q++}var ae=S===q}else ae=!0;if(ae)if(void 0!==E.mimetype){const k=q;if("string"!=typeof E.mimetype){const E={params:{type:"string"}};null===j?j=[E]:j.push(E),q++}ae=k===q}else ae=!0}}else{const E={params:{type:"object"}};null===j?j=[E]:j.push(E),q++}var _e=ne===q;if(te=te||_e,!te){const k=q;if(!(E instanceof Function)){const E={params:{}};null===j?j=[E]:j.push(E),q++}_e=k===q,te=te||_e}if(!te){const E={params:{}};return null===j?j=[E]:j.push(E),q++,n.errors=j,!1}return q=ee,null!==j&&(ee?j.length=ee:j=null),n.errors=j,0===q}function r(E,{instancePath:S="",parentData:w,parentDataProperty:N,rootData:j=E}={}){let q=null,ee=0;if(0===ee){if(!E||"object"!=typeof E||Array.isArray(E))return r.errors=[{params:{type:"object"}}],!1;{const w=ee;for(const k in E)if("dataUrl"!==k&&"emit"!==k&&"filename"!==k&&"publicPath"!==k)return r.errors=[{params:{additionalProperty:k}}],!1;if(w===ee){if(void 0!==E.dataUrl){const k=ee;n(E.dataUrl,{instancePath:S+"/dataUrl",parentData:E,parentDataProperty:"dataUrl",rootData:j})||(q=null===q?n.errors:q.concat(n.errors),ee=q.length);var te=k===ee}else te=!0;if(te){if(void 0!==E.emit){const k=ee;if("boolean"!=typeof E.emit)return r.errors=[{params:{type:"boolean"}}],!1;te=k===ee}else te=!0;if(te){if(void 0!==E.filename){let S=E.filename;const w=ee,N=ee;let j=!1;const ae=ee;if(ee===ae)if("string"==typeof S){if(S.includes("!")||!1!==k.test(S)){const E={params:{}};null===q?q=[E]:q.push(E),ee++}else if(S.length<1){const E={params:{}};null===q?q=[E]:q.push(E),ee++}}else{const E={params:{type:"string"}};null===q?q=[E]:q.push(E),ee++}var ne=ae===ee;if(j=j||ne,!j){const E=ee;if(!(S instanceof Function)){const E={params:{}};null===q?q=[E]:q.push(E),ee++}ne=E===ee,j=j||ne}if(!j){const E={params:{}};return null===q?q=[E]:q.push(E),ee++,r.errors=q,!1}ee=N,null!==q&&(N?q.length=N:q=null),te=w===ee}else te=!0;if(te)if(void 0!==E.publicPath){let k=E.publicPath;const S=ee,w=ee;let N=!1;const j=ee;if("string"!=typeof k){const E={params:{type:"string"}};null===q?q=[E]:q.push(E),ee++}var ae=j===ee;if(N=N||ae,!N){const E=ee;if(!(k instanceof Function)){const E={params:{}};null===q?q=[E]:q.push(E),ee++}ae=E===ee,N=N||ae}if(!N){const E={params:{}};return null===q?q=[E]:q.push(E),ee++,r.errors=q,!1}ee=w,null!==q&&(w?q.length=w:q=null),te=S===ee}else te=!0}}}}}return r.errors=q,0===ee}function e(E,{instancePath:k="",parentData:S,parentDataProperty:w,rootData:N=E}={}){let j=null,q=0;return r(E,{instancePath:k,parentData:S,parentDataProperty:w,rootData:N})||(j=null===j?r.errors:j.concat(r.errors),q=j.length),e.errors=j,0===q}E.exports=e,E.exports.default=e},3720:E=>{"use strict";function t(E,{instancePath:k="",parentData:S,parentDataProperty:w,rootData:N=E}={}){let j=null,q=0;const ee=q;let te=!1;const ne=q;if(q==q)if(E&&"object"==typeof E&&!Array.isArray(E)){const k=q;for(const k in E)if("encoding"!==k&&"mimetype"!==k){const E={params:{additionalProperty:k}};null===j?j=[E]:j.push(E),q++;break}if(k===q){if(void 0!==E.encoding){let k=E.encoding;const S=q;if(!1!==k&&"base64"!==k){const E={params:{}};null===j?j=[E]:j.push(E),q++}var ae=S===q}else ae=!0;if(ae)if(void 0!==E.mimetype){const k=q;if("string"!=typeof E.mimetype){const E={params:{type:"string"}};null===j?j=[E]:j.push(E),q++}ae=k===q}else ae=!0}}else{const E={params:{type:"object"}};null===j?j=[E]:j.push(E),q++}var _e=ne===q;if(te=te||_e,!te){const k=q;if(!(E instanceof Function)){const E={params:{}};null===j?j=[E]:j.push(E),q++}_e=k===q,te=te||_e}if(!te){const E={params:{}};return null===j?j=[E]:j.push(E),q++,t.errors=j,!1}return q=ee,null!==j&&(ee?j.length=ee:j=null),t.errors=j,0===q}function r(E,{instancePath:k="",parentData:S,parentDataProperty:w,rootData:N=E}={}){let j=null,q=0;if(0===q){if(!E||"object"!=typeof E||Array.isArray(E))return r.errors=[{params:{type:"object"}}],!1;{const S=q;for(const k in E)if("dataUrl"!==k)return r.errors=[{params:{additionalProperty:k}}],!1;S===q&&void 0!==E.dataUrl&&(t(E.dataUrl,{instancePath:k+"/dataUrl",parentData:E,parentDataProperty:"dataUrl",rootData:N})||(j=null===j?t.errors:j.concat(t.errors),q=j.length))}}return r.errors=j,0===q}function a(E,{instancePath:k="",parentData:S,parentDataProperty:w,rootData:N=E}={}){let j=null,q=0;return r(E,{instancePath:k,parentData:S,parentDataProperty:w,rootData:N})||(j=null===j?r.errors:j.concat(r.errors),q=j.length),a.errors=j,0===q}E.exports=a,E.exports.default=a},33605:E=>{"use strict";function t(E,{instancePath:k="",parentData:S,parentDataProperty:w,rootData:N=E}={}){let j=null,q=0;if(0===q){if(!E||"object"!=typeof E||Array.isArray(E))return t.errors=[{params:{type:"object"}}],!1;{const k=q;for(const k in E)if("dataUrlCondition"!==k)return t.errors=[{params:{additionalProperty:k}}],!1;if(k===q&&void 0!==E.dataUrlCondition){let k=E.dataUrlCondition;const S=q;let w=!1;const N=q;if(q==q)if(k&&"object"==typeof k&&!Array.isArray(k)){const E=q;for(const E in k)if("maxSize"!==E){const k={params:{additionalProperty:E}};null===j?j=[k]:j.push(k),q++;break}if(E===q&&void 0!==k.maxSize){let E=k.maxSize;if("number"!=typeof E||!isFinite(E)){const E={params:{type:"number"}};null===j?j=[E]:j.push(E),q++}}}else{const E={params:{type:"object"}};null===j?j=[E]:j.push(E),q++}var ee=N===q;if(w=w||ee,!w){const E=q;if(!(k instanceof Function)){const E={params:{}};null===j?j=[E]:j.push(E),q++}ee=E===q,w=w||ee}if(!w){const E={params:{}};return null===j?j=[E]:j.push(E),q++,t.errors=j,!1}q=S,null!==j&&(S?j.length=S:j=null)}}}return t.errors=j,0===q}function r(E,{instancePath:k="",parentData:S,parentDataProperty:w,rootData:N=E}={}){let j=null,q=0;return t(E,{instancePath:k,parentData:S,parentDataProperty:w,rootData:N})||(j=null===j?t.errors:j.concat(t.errors),q=j.length),r.errors=j,0===q}E.exports=r,E.exports.default=r},87441:E=>{const k=/^(?:[A-Za-z]:[\\/]|\\\\|\/)/;function r(E,{instancePath:S="",parentData:w,parentDataProperty:N,rootData:j=E}={}){let q=null,ee=0;if(0===ee){if(!E||"object"!=typeof E||Array.isArray(E))return r.errors=[{params:{type:"object"}}],!1;{const S=ee;for(const k in E)if("emit"!==k&&"filename"!==k&&"publicPath"!==k)return r.errors=[{params:{additionalProperty:k}}],!1;if(S===ee){if(void 0!==E.emit){const k=ee;if("boolean"!=typeof E.emit)return r.errors=[{params:{type:"boolean"}}],!1;var te=k===ee}else te=!0;if(te){if(void 0!==E.filename){let S=E.filename;const w=ee,N=ee;let j=!1;const ae=ee;if(ee===ae)if("string"==typeof S){if(S.includes("!")||!1!==k.test(S)){const E={params:{}};null===q?q=[E]:q.push(E),ee++}else if(S.length<1){const E={params:{}};null===q?q=[E]:q.push(E),ee++}}else{const E={params:{type:"string"}};null===q?q=[E]:q.push(E),ee++}var ne=ae===ee;if(j=j||ne,!j){const E=ee;if(!(S instanceof Function)){const E={params:{}};null===q?q=[E]:q.push(E),ee++}ne=E===ee,j=j||ne}if(!j){const E={params:{}};return null===q?q=[E]:q.push(E),ee++,r.errors=q,!1}ee=N,null!==q&&(N?q.length=N:q=null),te=w===ee}else te=!0;if(te)if(void 0!==E.publicPath){let k=E.publicPath;const S=ee,w=ee;let N=!1;const j=ee;if("string"!=typeof k){const E={params:{type:"string"}};null===q?q=[E]:q.push(E),ee++}var ae=j===ee;if(N=N||ae,!N){const E=ee;if(!(k instanceof Function)){const E={params:{}};null===q?q=[E]:q.push(E),ee++}ae=E===ee,N=N||ae}if(!N){const E={params:{}};return null===q?q=[E]:q.push(E),ee++,r.errors=q,!1}ee=w,null!==q&&(w?q.length=w:q=null),te=S===ee}else te=!0}}}}return r.errors=q,0===ee}function n(E,{instancePath:k="",parentData:S,parentDataProperty:w,rootData:N=E}={}){let j=null,q=0;return r(E,{instancePath:k,parentData:S,parentDataProperty:w,rootData:N})||(j=null===j?r.errors:j.concat(r.errors),q=j.length),n.errors=j,0===q}E.exports=n,E.exports.default=n},28633:E=>{const k=/^(?:[A-Za-z]:[\\/]|\\\\|\/)/;function t(E,{instancePath:k="",parentData:S,parentDataProperty:w,rootData:N=E}={}){if(!Array.isArray(E))return t.errors=[{params:{type:"array"}}],!1;{const k=E.length;for(let S=0;S{"use strict";function r(E,{instancePath:k="",parentData:S,parentDataProperty:w,rootData:N=E}={}){if(!Array.isArray(E))return r.errors=[{params:{type:"array"}}],!1;{const k=E.length;for(let S=0;S{"use strict";function o(E,{instancePath:k="",parentData:S,parentDataProperty:w,rootData:N=E}={}){return"var"!==E&&"module"!==E&&"assign"!==E&&"this"!==E&&"window"!==E&&"self"!==E&&"global"!==E&&"commonjs"!==E&&"commonjs2"!==E&&"commonjs-module"!==E&&"amd"!==E&&"amd-require"!==E&&"umd"!==E&&"umd2"!==E&&"jsonp"!==E&&"system"!==E&&"promise"!==E&&"import"!==E&&"script"!==E&&"node-commonjs"!==E?(o.errors=[{params:{}}],!1):(o.errors=null,!0)}E.exports=o,E.exports.default=o},43329:E=>{const k=/^(?:[A-Za-z]:[\\/]|\\\\|\/)/;E.exports=d,E.exports.default=d;const S={exposes:{$ref:"#/definitions/Exposes"},filename:{type:"string",absolutePath:!1},library:{$ref:"#/definitions/LibraryOptions"},name:{type:"string"},remoteType:{oneOf:[{$ref:"#/definitions/ExternalsType"}]},remotes:{$ref:"#/definitions/Remotes"},runtime:{$ref:"#/definitions/EntryRuntime"},shareScope:{type:"string",minLength:1},shared:{$ref:"#/definitions/Shared"}},w=Object.prototype.hasOwnProperty;function n(E,{instancePath:k="",parentData:S,parentDataProperty:w,rootData:N=E}={}){if(!Array.isArray(E))return n.errors=[{params:{type:"array"}}],!1;{const k=E.length;for(let S=0;S{const k=/^(?:[A-Za-z]:[\\/]|\\\\|\/)/;function t(E,{instancePath:S="",parentData:w,parentDataProperty:N,rootData:j=E}={}){if(!E||"object"!=typeof E||Array.isArray(E))return t.errors=[{params:{type:"object"}}],!1;{const S=0;for(const k in E)if("outputPath"!==k)return t.errors=[{params:{additionalProperty:k}}],!1;if(0===S&&void 0!==E.outputPath){let S=E.outputPath;if("string"!=typeof S)return t.errors=[{params:{type:"string"}}],!1;if(S.includes("!")||!0!==k.test(S))return t.errors=[{params:{}}],!1}}return t.errors=null,!0}E.exports=t,E.exports.default=t},18511:E=>{"use strict";function r(E,{instancePath:k="",parentData:S,parentDataProperty:w,rootData:N=E}={}){if(!E||"object"!=typeof E||Array.isArray(E))return r.errors=[{params:{type:"object"}}],!1;{const k=0;for(const k in E)if("prioritiseInitial"!==k)return r.errors=[{params:{additionalProperty:k}}],!1;if(0===k&&void 0!==E.prioritiseInitial&&"boolean"!=typeof E.prioritiseInitial)return r.errors=[{params:{type:"boolean"}}],!1}return r.errors=null,!0}E.exports=r,E.exports.default=r},52042:E=>{"use strict";function r(E,{instancePath:k="",parentData:S,parentDataProperty:w,rootData:N=E}={}){if(!E||"object"!=typeof E||Array.isArray(E))return r.errors=[{params:{type:"object"}}],!1;{const k=0;for(const k in E)if("prioritiseInitial"!==k)return r.errors=[{params:{additionalProperty:k}}],!1;if(0===k&&void 0!==E.prioritiseInitial&&"boolean"!=typeof E.prioritiseInitial)return r.errors=[{params:{type:"boolean"}}],!1}return r.errors=null,!0}E.exports=r,E.exports.default=r},77593:E=>{"use strict";function e(E,{instancePath:k="",parentData:S,parentDataProperty:w,rootData:N=E}={}){if(!E||"object"!=typeof E||Array.isArray(E))return e.errors=[{params:{type:"object"}}],!1;{const k=0;for(const k in E)if("chunkOverhead"!==k&&"entryChunkMultiplicator"!==k&&"maxSize"!==k&&"minSize"!==k)return e.errors=[{params:{additionalProperty:k}}],!1;if(0===k){if(void 0!==E.chunkOverhead){let k=E.chunkOverhead;const S=0;if("number"!=typeof k||!isFinite(k))return e.errors=[{params:{type:"number"}}],!1;var j=0===S}else j=!0;if(j){if(void 0!==E.entryChunkMultiplicator){let k=E.entryChunkMultiplicator;const S=0;if("number"!=typeof k||!isFinite(k))return e.errors=[{params:{type:"number"}}],!1;j=0===S}else j=!0;if(j){if(void 0!==E.maxSize){let k=E.maxSize;const S=0;if("number"!=typeof k||!isFinite(k))return e.errors=[{params:{type:"number"}}],!1;j=0===S}else j=!0;if(j)if(void 0!==E.minSize){let k=E.minSize;const S=0;if("number"!=typeof k||!isFinite(k))return e.errors=[{params:{type:"number"}}],!1;j=0===S}else j=!0}}}}return e.errors=null,!0}E.exports=e,E.exports.default=e},72713:E=>{"use strict";function r(E,{instancePath:k="",parentData:S,parentDataProperty:w,rootData:N=E}={}){if(!E||"object"!=typeof E||Array.isArray(E))return r.errors=[{params:{type:"object"}}],!1;{let k;if(void 0===E.maxChunks&&(k="maxChunks"))return r.errors=[{params:{missingProperty:k}}],!1;{const k=0;for(const k in E)if("chunkOverhead"!==k&&"entryChunkMultiplicator"!==k&&"maxChunks"!==k)return r.errors=[{params:{additionalProperty:k}}],!1;if(0===k){if(void 0!==E.chunkOverhead){let k=E.chunkOverhead;const S=0;if("number"!=typeof k||!isFinite(k))return r.errors=[{params:{type:"number"}}],!1;var j=0===S}else j=!0;if(j){if(void 0!==E.entryChunkMultiplicator){let k=E.entryChunkMultiplicator;const S=0;if("number"!=typeof k||!isFinite(k))return r.errors=[{params:{type:"number"}}],!1;j=0===S}else j=!0;if(j)if(void 0!==E.maxChunks){let k=E.maxChunks;const S=0;if(0===S){if("number"!=typeof k||!isFinite(k))return r.errors=[{params:{type:"number"}}],!1;if(k<1||isNaN(k))return r.errors=[{params:{comparison:">=",limit:1}}],!1}j=0===S}else j=!0}}}}return r.errors=null,!0}E.exports=r,E.exports.default=r},83889:E=>{"use strict";function r(E,{instancePath:k="",parentData:S,parentDataProperty:w,rootData:N=E}={}){if(!E||"object"!=typeof E||Array.isArray(E))return r.errors=[{params:{type:"object"}}],!1;{let k;if(void 0===E.minChunkSize&&(k="minChunkSize"))return r.errors=[{params:{missingProperty:k}}],!1;{const k=0;for(const k in E)if("chunkOverhead"!==k&&"entryChunkMultiplicator"!==k&&"minChunkSize"!==k)return r.errors=[{params:{additionalProperty:k}}],!1;if(0===k){if(void 0!==E.chunkOverhead){let k=E.chunkOverhead;const S=0;if("number"!=typeof k||!isFinite(k))return r.errors=[{params:{type:"number"}}],!1;var j=0===S}else j=!0;if(j){if(void 0!==E.entryChunkMultiplicator){let k=E.entryChunkMultiplicator;const S=0;if("number"!=typeof k||!isFinite(k))return r.errors=[{params:{type:"number"}}],!1;j=0===S}else j=!0;if(j)if(void 0!==E.minChunkSize){let k=E.minChunkSize;const S=0;if("number"!=typeof k||!isFinite(k))return r.errors=[{params:{type:"number"}}],!1;j=0===S}else j=!0}}}}return r.errors=null,!0}E.exports=r,E.exports.default=r},37411:E=>{"use strict";function r(E,{instancePath:k="",parentData:S,parentDataProperty:w,rootData:N=E}={}){let j=null,q=0;if(0===q){if(!E||"object"!=typeof E||Array.isArray(E))return r.errors=[{params:{type:"object"}}],!1;{const k=q;for(const k in E)if("eager"!==k&&"import"!==k&&"packageName"!==k&&"requiredVersion"!==k&&"shareKey"!==k&&"shareScope"!==k&&"singleton"!==k&&"strictVersion"!==k)return r.errors=[{params:{additionalProperty:k}}],!1;if(k===q){if(void 0!==E.eager){const k=q;if("boolean"!=typeof E.eager)return r.errors=[{params:{type:"boolean"}}],!1;var ee=k===q}else ee=!0;if(ee){if(void 0!==E.import){let k=E.import;const S=q,w=q;let N=!1;const ne=q;if(!1!==k){const E={params:{}};null===j?j=[E]:j.push(E),q++}var te=ne===q;if(N=N||te,!N){const E=q;if(q==q)if("string"==typeof k){if(k.length<1){const E={params:{}};null===j?j=[E]:j.push(E),q++}}else{const E={params:{type:"string"}};null===j?j=[E]:j.push(E),q++}te=E===q,N=N||te}if(!N){const E={params:{}};return null===j?j=[E]:j.push(E),q++,r.errors=j,!1}q=w,null!==j&&(w?j.length=w:j=null),ee=S===q}else ee=!0;if(ee){if(void 0!==E.packageName){let k=E.packageName;const S=q;if(q===S){if("string"!=typeof k)return r.errors=[{params:{type:"string"}}],!1;if(k.length<1)return r.errors=[{params:{}}],!1}ee=S===q}else ee=!0;if(ee){if(void 0!==E.requiredVersion){let k=E.requiredVersion;const S=q,w=q;let N=!1;const te=q;if(!1!==k){const E={params:{}};null===j?j=[E]:j.push(E),q++}var ne=te===q;if(N=N||ne,!N){const E=q;if("string"!=typeof k){const E={params:{type:"string"}};null===j?j=[E]:j.push(E),q++}ne=E===q,N=N||ne}if(!N){const E={params:{}};return null===j?j=[E]:j.push(E),q++,r.errors=j,!1}q=w,null!==j&&(w?j.length=w:j=null),ee=S===q}else ee=!0;if(ee){if(void 0!==E.shareKey){let k=E.shareKey;const S=q;if(q===S){if("string"!=typeof k)return r.errors=[{params:{type:"string"}}],!1;if(k.length<1)return r.errors=[{params:{}}],!1}ee=S===q}else ee=!0;if(ee){if(void 0!==E.shareScope){let k=E.shareScope;const S=q;if(q===S){if("string"!=typeof k)return r.errors=[{params:{type:"string"}}],!1;if(k.length<1)return r.errors=[{params:{}}],!1}ee=S===q}else ee=!0;if(ee){if(void 0!==E.singleton){const k=q;if("boolean"!=typeof E.singleton)return r.errors=[{params:{type:"boolean"}}],!1;ee=k===q}else ee=!0;if(ee)if(void 0!==E.strictVersion){const k=q;if("boolean"!=typeof E.strictVersion)return r.errors=[{params:{type:"boolean"}}],!1;ee=k===q}else ee=!0}}}}}}}}}return r.errors=j,0===q}function e(E,{instancePath:k="",parentData:S,parentDataProperty:w,rootData:N=E}={}){let j=null,q=0;if(0===q){if(!E||"object"!=typeof E||Array.isArray(E))return e.errors=[{params:{type:"object"}}],!1;for(const S in E){let w=E[S];const te=q,ne=q;let ae=!1;const _e=q;r(w,{instancePath:k+"/"+S.replace(/~/g,"~0").replace(/\//g,"~1"),parentData:E,parentDataProperty:S,rootData:N})||(j=null===j?r.errors:j.concat(r.errors),q=j.length);var ee=_e===q;if(ae=ae||ee,!ae){const E=q;if(q==q)if("string"==typeof w){if(w.length<1){const E={params:{}};null===j?j=[E]:j.push(E),q++}}else{const E={params:{type:"string"}};null===j?j=[E]:j.push(E),q++}ee=E===q,ae=ae||ee}if(!ae){const E={params:{}};return null===j?j=[E]:j.push(E),q++,e.errors=j,!1}if(q=ne,null!==j&&(ne?j.length=ne:j=null),te!==q)break}}return e.errors=j,0===q}function t(E,{instancePath:k="",parentData:S,parentDataProperty:w,rootData:N=E}={}){let j=null,q=0;const ee=q;let te=!1;const ne=q;if(q===ne)if(Array.isArray(E)){const S=E.length;for(let w=0;w{"use strict";function r(E,{instancePath:k="",parentData:S,parentDataProperty:w,rootData:N=E}={}){let j=null,q=0;if(0===q){if(!E||"object"!=typeof E||Array.isArray(E))return r.errors=[{params:{type:"object"}}],!1;for(const k in E){let S=E[k];const w=q,N=q;let ae=!1;const _e=q;if(q==q)if(S&&"object"==typeof S&&!Array.isArray(S)){const E=q;for(const E in S)if("eager"!==E&&"shareKey"!==E&&"shareScope"!==E&&"version"!==E){const k={params:{additionalProperty:E}};null===j?j=[k]:j.push(k),q++;break}if(E===q){if(void 0!==S.eager){const E=q;if("boolean"!=typeof S.eager){const E={params:{type:"boolean"}};null===j?j=[E]:j.push(E),q++}var ee=E===q}else ee=!0;if(ee){if(void 0!==S.shareKey){let E=S.shareKey;const k=q;if(q===k)if("string"==typeof E){if(E.length<1){const E={params:{}};null===j?j=[E]:j.push(E),q++}}else{const E={params:{type:"string"}};null===j?j=[E]:j.push(E),q++}ee=k===q}else ee=!0;if(ee){if(void 0!==S.shareScope){let E=S.shareScope;const k=q;if(q===k)if("string"==typeof E){if(E.length<1){const E={params:{}};null===j?j=[E]:j.push(E),q++}}else{const E={params:{type:"string"}};null===j?j=[E]:j.push(E),q++}ee=k===q}else ee=!0;if(ee)if(void 0!==S.version){let E=S.version;const k=q,w=q;let N=!1;const ne=q;if(!1!==E){const E={params:{}};null===j?j=[E]:j.push(E),q++}var te=ne===q;if(N=N||te,!N){const k=q;if("string"!=typeof E){const E={params:{type:"string"}};null===j?j=[E]:j.push(E),q++}te=k===q,N=N||te}if(N)q=w,null!==j&&(w?j.length=w:j=null);else{const E={params:{}};null===j?j=[E]:j.push(E),q++}ee=k===q}else ee=!0}}}}else{const E={params:{type:"object"}};null===j?j=[E]:j.push(E),q++}var ne=_e===q;if(ae=ae||ne,!ae){const E=q;if(q==q)if("string"==typeof S){if(S.length<1){const E={params:{}};null===j?j=[E]:j.push(E),q++}}else{const E={params:{type:"string"}};null===j?j=[E]:j.push(E),q++}ne=E===q,ae=ae||ne}if(!ae){const E={params:{}};return null===j?j=[E]:j.push(E),q++,r.errors=j,!1}if(q=N,null!==j&&(N?j.length=N:j=null),w!==q)break}}return r.errors=j,0===q}function t(E,{instancePath:k="",parentData:S,parentDataProperty:w,rootData:N=E}={}){let j=null,q=0;const ee=q;let te=!1;const ne=q;if(q===ne)if(Array.isArray(E)){const S=E.length;for(let w=0;w{class Node{constructor(E){this.value=E;this.next=undefined}}class Queue{constructor(){this.clear()}enqueue(E){const k=new Node(E);if(this._head){this._tail.next=k;this._tail=k}else{this._head=k;this._tail=k}this._size++}dequeue(){const E=this._head;if(!E){return}this._head=this._head.next;this._size--;return E.value}clear(){this._head=undefined;this._tail=undefined;this._size=0}get size(){return this._size}*[Symbol.iterator](){let E=this._head;while(E){yield E.value;E=E.next}}}E.exports=Queue},77086:(module,__unused_webpack_exports,__webpack_require__)=>{const resolve=__webpack_require__(47030);const fs=__webpack_require__(15808);const crypto=__webpack_require__(76417);const{join:join,dirname:dirname,extname:extname,relative:relative,resolve:pathResolve}=__webpack_require__(85622);const webpack=__webpack_require__(86443);const MemoryFS=__webpack_require__(56342);const terser=__webpack_require__(57217);const tsconfigPaths=__webpack_require__(46543);const{loadTsconfig:loadTsconfig}=__webpack_require__(9492);const TsconfigPathsPlugin=__webpack_require__(96217);const shebangRegEx=__webpack_require__(89681);const nccCacheDir=__webpack_require__(13946);const LicenseWebpackPlugin=__webpack_require__(58907).s;const{version:nccVersion}=__webpack_require__(60306);const{hasTypeModule:hasTypeModule}=__webpack_require__(62664);fs.gracefulify(__webpack_require__(35747));const SUPPORTED_EXTENSIONS=[".js",".json",".node",".mjs",".ts",".tsx"];const hashOf=E=>crypto.createHash("md4").update(E).digest("hex").slice(0,10);const defaultPermissions=438;const relocateLoader=eval('require(__dirname + "/loaders/relocate-loader.js")');module.exports=ncc;function ncc(entry,{cache:cache,customEmit:customEmit=undefined,esm:esm=entry.endsWith(".mjs")||!entry.endsWith(".cjs")&&hasTypeModule(entry),externals:externals=[],filename:filename="index"+(!esm&&entry.endsWith(".cjs")?".cjs":esm&&(entry.endsWith(".mjs")||!hasTypeModule(entry))?".mjs":".js"),minify:minify=false,sourceMap:sourceMap=false,sourceMapRegister:sourceMapRegister=true,sourceMapBasePrefix:sourceMapBasePrefix="../",noAssetBuilds:noAssetBuilds=false,watch:watch=false,v8cache:v8cache=false,filterAssetBase:filterAssetBase=process.cwd(),existingAssetNames:existingAssetNames=[],quiet:quiet=false,debugLog:debugLog=false,transpileOnly:transpileOnly=false,license:license="",target:target,production:production=true}={}){if(esm)v8cache=false;const cjsDeps=()=>({mainFields:["main"],extensions:SUPPORTED_EXTENSIONS,exportsFields:["exports"],importsFields:["imports"],conditionNames:["require","node",production?"production":"development"]});const esmDeps=()=>({mainFields:["main"],extensions:SUPPORTED_EXTENSIONS,exportsFields:["exports"],importsFields:["imports"],conditionNames:["import","node",production?"production":"development"]});const ext=extname(filename);if(!quiet){console.log(`ncc: Version ${nccVersion}`);console.log(`ncc: Compiling file ${filename} into ${esm?"ESM":"CJS"}`)}if(target&&!target.startsWith("es")){throw new Error(`Invalid "target" value provided ${target}, value must be es version e.g. es2015`)}const resolvedEntry=resolve.sync(entry);process.env.__NCC_OPTS=JSON.stringify({quiet:quiet,typescriptLookupPath:resolvedEntry});const shebangMatch=fs.readFileSync(resolvedEntry).toString().match(shebangRegEx);const mfs=new MemoryFS;existingAssetNames.push(filename);if(sourceMap){existingAssetNames.push(`${filename}.map`);existingAssetNames.push(`sourcemap-register${ext}`)}if(v8cache){existingAssetNames.push(`${filename}.cache`);existingAssetNames.push(`${filename}.cache${ext}`)}const resolvePlugins=[];let fullTsconfig;try{const E=tsconfigPaths.loadConfig();fullTsconfig=loadTsconfig(E.configFileAbsolutePath)||{compilerOptions:{}};const k={silent:true};if(fullTsconfig.compilerOptions.allowJs){k.extensions=SUPPORTED_EXTENSIONS}resolvePlugins.push(new TsconfigPathsPlugin(k));if(E.resultType==="success"){tsconfigMatchPath=tsconfigPaths.createMatchPath(E.absoluteBaseUrl,E.paths)}}catch(E){}resolvePlugins.push({apply(E){const k=E.resolve;E.resolve=function(E,S,w,N,j){const q=this;k.call(q,E,S,w,N,(function(ee,te,ne){if(ne)return j(null,te,ne);if(ee&&!ee.message.startsWith("Can't resolve"))return j(ee);if(w.endsWith(".js")&&E.issuer&&(E.issuer.endsWith(".ts")||E.issuer.endsWith(".tsx"))){return k.call(q,E,S,w.slice(0,-3),N,(function(E,k,S){if(S)return j(null,k,S);if(E&&!E.message.startsWith("Can't resolve"))return j(E);j(null,__dirname+"/@@notfound.js?"+(externalMap.get(w)||w),w)}))}j(null,__dirname+"/@@notfound.js?"+(externalMap.get(w)||w),w)}))}}});const externalMap=(()=>{const E=[];const k=new Map;function set(S,w){if(S instanceof RegExp)E.push(S);k.set(S,w)}function get(S){if(k.has(S))return k.get(S);const w=E.find((E=>E.test(S)));return w!==null?k.get(w):null}return{get:get,set:set}})();if(Array.isArray(externals))externals.forEach((E=>externalMap.set(E,E)));else if(typeof externals==="object")Object.keys(externals).forEach((E=>externalMap.set(E[0]==="/"&&E[E.length-1]==="/"?new RegExp(E.slice(1,-1)):E,externals[E])));let watcher,watchHandler,rebuildHandler;const compilationStack=[];var plugins=[{apply(E){E.hooks.compilation.tap("relocate-loader",(E=>{compilationStack.push(E);relocateLoader.initAssetCache(E)}));E.hooks.watchRun.tap("ncc",(()=>{if(rebuildHandler)rebuildHandler()}));E.hooks.normalModuleFactory.tap("ncc",(E=>{function handler(E){E.hooks.assign.for("require").intercept({register:E=>{if(E.name!=="CommonJsPlugin"){return E}E.fn=()=>{};return E}})}E.hooks.parser.for("javascript/auto").tap("ncc",handler);E.hooks.parser.for("javascript/dynamic").tap("ncc",handler);return E}))}}];if(typeof license==="string"&&license.length>0){plugins.push(new LicenseWebpackPlugin({outputFilename:license}))}const compiler=webpack({entry:entry,cache:cache===false?undefined:{type:"filesystem",cacheDirectory:typeof cache==="string"?cache:nccCacheDir,name:`ncc_${hashOf(entry)}`,version:nccVersion},snapshot:{managedPaths:[],module:{hash:true}},amd:false,experiments:{topLevelAwait:true,outputModule:esm},optimization:{nodeEnv:false,minimize:false,moduleIds:"deterministic",chunkIds:"deterministic",mangleExports:true,concatenateModules:true,innerGraph:true,sideEffects:true},devtool:sourceMap?"cheap-module-source-map":false,mode:"production",target:target?["node14",target]:"node14",stats:{logging:"error"},infrastructureLogging:{level:"error"},output:{path:"/",filename:ext===".cjs"?filename+".js":filename,libraryTarget:esm?"module":"commonjs2",strictModuleExceptionHandling:true,module:esm},resolve:{extensions:SUPPORTED_EXTENSIONS,exportsFields:["exports"],importsFields:["imports"],byDependency:{wasm:esmDeps(),esm:esmDeps(),url:{preferRelative:true},worker:{...esmDeps(),preferRelative:true},commonjs:cjsDeps(),amd:cjsDeps(),loader:cjsDeps(),unknown:cjsDeps(),undefined:cjsDeps()},mainFields:["main"],plugins:resolvePlugins},node:false,externals({context:E,request:k,dependencyType:S},w){const N=externalMap.get(k);if(N)return w(null,`${S==="esm"&&esm?"module":"node-commonjs"} ${N}`);return w()},module:{rules:[{test:/@@notfound\.js$/,use:[{loader:eval('__dirname + "/loaders/notfound-loader.js"')}]},{test:/\.(js|mjs|tsx?|node)$/,use:[{loader:eval('__dirname + "/loaders/empty-loader.js"')},{loader:eval('__dirname + "/loaders/relocate-loader.js"'),options:{customEmit:customEmit,filterAssetBase:filterAssetBase,existingAssetNames:existingAssetNames,escapeNonAnalyzableRequires:true,wrapperCompatibility:true,debugLog:debugLog}}]},{test:/\.tsx?$/,use:[{loader:eval('__dirname + "/loaders/uncacheable.js"')},{loader:eval('__dirname + "/loaders/ts-loader.js"'),options:{transpileOnly:transpileOnly,compiler:eval('__dirname + "/typescript.js"'),compilerOptions:{allowSyntheticDefaultImports:true,module:"esnext",outDir:"//",...fullTsconfig&&fullTsconfig.compilerOptions&&fullTsconfig.compilerOptions.incremental?{incremental:false}:{},noEmit:false}}}]},{parser:{amd:false},exclude:/\.(node|json)$/,use:[{loader:eval('__dirname + "/loaders/shebang-loader.js"')}]}]},plugins:plugins});compiler.outputFileSystem=mfs;if(!watch){return new Promise(((E,k)=>{compiler.run(((S,w)=>{if(S)return k(S);compiler.close((S=>{if(S)return k(S);if(w.hasErrors()){const E=[...w.compilation.errors].map((E=>E.message)).join("\n");return k(new Error(E))}E(w)}))}))})).then(finalizeHandler,(function(E){compilationStack.pop();throw E}))}else{if(typeof watch==="object"){if(!watch.watch)throw new Error("Watcher class must be a valid Webpack WatchFileSystem class instance (https://github.com/webpack/webpack/blob/master/lib/node/NodeWatchFileSystem.js)");compiler.watchFileSystem=watch;watch.inputFileSystem=compiler.inputFileSystem}let E;watcher=compiler.watch({},(async(k,S)=>{if(k){compilationStack.pop();return watchHandler({err:k})}if(S.hasErrors()){compilationStack.pop();return watchHandler({err:S.toString()})}const w=await finalizeHandler(S);if(watchHandler)watchHandler(w);else E=w}));let k=false;return{close(){if(!watcher)throw new Error("No watcher to close.");if(k)throw new Error("Watcher already closed.");k=true;watcher.close()},handler(k){if(watchHandler)throw new Error("Watcher handler already provided.");watchHandler=k;if(E){k(E);E=null}},rebuild(E){if(rebuildHandler)throw new Error("Rebuild handler already provided.");rebuildHandler=E}}}async function finalizeHandler(E){const k=Object.create(null);getFlatFiles(mfs.data,k,relocateLoader.getAssetMeta,fullTsconfig);const S=Object.create(null);for(const[E,w]of Object.entries(relocateLoader.getSymlinks())){const N=join(dirname(E),w);if(N in k)S[E]=w}delete k[filename+(ext===".cjs"?".js":"")];delete k[`${filename}${ext===".cjs"?".js":""}.map`];let w=mfs.readFileSync(`/${filename}${ext===".cjs"?".js":""}`,"utf8");let N=sourceMap?mfs.readFileSync(`/${filename}${ext===".cjs"?".js":""}.map`,"utf8"):null;if(N){N=JSON.parse(N);N.sources=N.sources.map((E=>{while(E.startsWith("webpack:///"))E=E.slice(11);if(E.startsWith("//"))E=E.slice(1);if(E.startsWith("/"))E=relative(process.cwd(),E).replace(/\\/g,"/");if(E.startsWith("external "))E="node:"+E.slice(9);if(E.startsWith("./"))E=E.slice(2);if(E.startsWith("(webpack)"))E="webpack"+E.slice(9);if(E.startsWith("webpack/"))return"/webpack/"+E.slice(8);return sourceMapBasePrefix+E}))}if(minify){let E;try{E=await terser.minify(w,{module:esm,compress:false,mangle:{keep_classnames:true,keep_fnames:true},sourceMap:N?{content:N,filename:filename,url:`${filename}.map`}:false});if(!E||E.code===undefined)throw null;({code:w,map:N}={code:E.code,map:N?JSON.parse(E.map):undefined})}catch(E){console.log("An error occurred while minifying. The result will not be minified.")}}if(v8cache){const{Script:E}=__webpack_require__(92184);k[`${filename}.cache`]={source:new E(w).createCachedData(),permissions:defaultPermissions};k[`${filename}.cache${ext}`]={source:w,permissions:defaultPermissions};if(N){k[filename+".map"]={source:JSON.stringify(N),permissions:defaultPermissions};N=undefined}const S=-"(function (exports, require, module, __filename, __dirname) { ".length;w=`const { readFileSync, writeFileSync } = require('fs'), { Script } = require('vm'), { wrap } = require('module');\n`+`const basename = __dirname + '/${filename}';\n`+`const source = readFileSync(basename + '.cache${ext}', 'utf-8');\n`+`const cachedData = !process.pkg && require('process').platform !== 'win32' && readFileSync(basename + '.cache');\n`+`const scriptOpts = { filename: basename + '.cache${ext}', columnOffset: ${S} }\n`+`const script = new Script(wrap(source), cachedData ? Object.assign({ cachedData }, scriptOpts) : scriptOpts);\n`+`(script.runInThisContext())(exports, require, module, __filename, __dirname);\n`+`if (cachedData) process.on('exit', () => { try { writeFileSync(basename + '.cache', script.createCachedData()); } catch(e) {} });\n`}if(N&&sourceMapRegister){const E=esm?".cjs":ext;w=(esm?`import './sourcemap-register${E}';`:`require('./sourcemap-register${E}');`)+w;k[`sourcemap-register${E}`]={source:fs.readFileSync(`${__dirname}/sourcemap-register.js.cache.js`),permissions:defaultPermissions}}if(esm&&!filename.endsWith(".mjs")){const E=dirname(filename);const S=(E==="."?"":E)+"package.json";if(k[S])k[S].source=JSON.stringify(Object.assign(JSON.parse(S.source.toString()),{type:"module"}));else k[S]={source:JSON.stringify({type:"module"},null,2)+"\n",permissions:defaultPermissions}}if(shebangMatch){w=shebangMatch[0]+w;if(N)N.mappings=";"+N.mappings}if(w.indexOf('"__webpack_require__"')===-1)w=w.replace(/__webpack_require__/g,"__nccwpck_require__");if(!noAssetBuilds){const w=compilationStack[compilationStack.length-1];let N=Object.keys(k);N.push(`${filename}${ext===".cjs"?".js":""}`);const j=[];for(const E of Object.keys(k)){if(!E.endsWith(".js")&&!E.endsWith(".cjs")&&!E.endsWith(".ts")&&!E.endsWith(".mjs")||E.endsWith(".cache.js")||E.endsWith(".cache.cjs")||E.endsWith(".cache.ts")||E.endsWith(".cache.mjs")||E.endsWith(".d.ts")){N.push(E);continue}const k=relocateLoader.getAssetMeta(E,w);if(!k||!k.path){N.push(E);continue}j.push(E)}for(const q of j){const j=relocateLoader.getAssetMeta(q,w);const ee=j.path;const{code:te,assets:ne,symlinks:ae,stats:_e}=await ncc(ee,{cache:cache,externals:externals,filename:q,minify:minify,sourceMap:sourceMap,sourceMapRegister:sourceMapRegister,sourceMapBasePrefix:sourceMapBasePrefix,noAssetBuilds:true,v8cache:v8cache,filterAssetBase:filterAssetBase,existingAssetNames:N,quiet:quiet,debugLog:debugLog,transpileOnly:true,license:license,target:target});Object.assign(S,ae);Object.assign(E,_e);for(const E of Object.keys(ne)){k[E]=ne[E];if(!N.includes(E))N.push(E)}k[q]={source:te,permissions:j.permissions}}}compilationStack.pop();return{code:w,map:N?JSON.stringify(N):undefined,assets:k,symlinks:S,stats:E}}}function getFlatFiles(E,k,S,w,N=""){for(const j of Object.keys(E)){const q=E[j];let ee=`${N}/${j}`;if(q[""]===true)getFlatFiles(q,k,S,w,ee);else if(!ee.endsWith("/")){const N=S(ee.substr(1))||{};if(ee.endsWith(".d.ts")){const E=w.compilerOptions.outDir?pathResolve(w.compilerOptions.outDir):__webpack_require__.ab+"dist";ee=ee.replace(E,"").replace(process.cwd(),"")}k[ee.substr(1)]={source:E[j],permissions:N.permissions}}}}},62664:(__unused_webpack_module,exports,__webpack_require__)=>{const{resolve:resolve}=__webpack_require__(85622);const{readFileSync:readFileSync}=__webpack_require__(35747);exports.hasTypeModule=function hasTypeModule(path){while(path!==(path=resolve(path,".."))){try{return JSON.parse(readFileSync(eval("resolve")(path,"package.json")).toString()).type==="module"}catch(E){if(E.code==="ENOENT")continue;throw E}}}},13946:(E,k,S)=>{E.exports=S(12087).tmpdir()+"/ncc-cache"},89681:E=>{E.exports=/^#![^\n\r]*[\r\n]/},30247:(E,k)=>{"use strict";k.parse=parse;k.init=void 0;const S=1===new Uint8Array(new Uint16Array([1]).buffer)[0];function parse(E,k="@"){if(!w)return N.then((()=>parse(E)));const j=E.length+1,q=(w.__heap_base.value||w.__heap_base)+4*j-w.memory.buffer.byteLength;q>0&&w.memory.grow(Math.ceil(q/65536));const ee=w.sa(j-1);if((S?B:Q)(E,new Uint16Array(w.memory.buffer,ee,j)),!w.parse())throw Object.assign(new Error(`Parse error ${k}:${E.slice(0,w.e()).split("\n").length}:${w.e()-E.lastIndexOf("\n",w.e()-1)}`),{idx:w.e()});const te=[],ne=[];for(;w.ri();){const k=w.is(),S=w.ie(),N=w.ai(),j=w.id(),q=w.ss(),ee=w.se();let ne;w.ip()&&(ne=o(E.slice(-1===j?k-1:k,-1===j?S+1:S))),te.push({n:ne,s:k,e:S,ss:q,se:ee,d:j,a:N})}for(;w.re();)ne.push(E.slice(w.es(),w.ee()));function o(E){try{return(0,eval)(E)}catch{}}return[te,ne,!!w.f()]}function Q(E,k){const S=E.length;let w=0;for(;w>>8}}function B(E,k){const S=E.length;let w=0;for(;wE.charCodeAt(0))))).then(WebAssembly.instantiate).then((({exports:E})=>{w=E}));k.init=N;var j},42357:E=>{"use strict";E.exports=require("assert")},64293:E=>{"use strict";E.exports=require("buffer")},63129:E=>{"use strict";E.exports=require("child_process")},57082:E=>{"use strict";E.exports=require("console")},27619:E=>{"use strict";E.exports=require("constants")},76417:E=>{"use strict";E.exports=require("crypto")},28614:E=>{"use strict";E.exports=require("events")},35747:E=>{"use strict";E.exports=require("fs")},98605:E=>{"use strict";E.exports=require("http")},57211:E=>{"use strict";E.exports=require("https")},57012:E=>{"use strict";E.exports=require("inspector")},32282:E=>{"use strict";E.exports=require("module")},12087:E=>{"use strict";E.exports=require("os")},85622:E=>{"use strict";E.exports=require("path")},3498:E=>{"use strict";E.exports=require("pnpapi")},61765:E=>{"use strict";E.exports=require("process")},71191:E=>{"use strict";E.exports=require("querystring")},92413:E=>{"use strict";E.exports=require("stream")},33867:E=>{"use strict";E.exports=require("tty")},78835:E=>{"use strict";E.exports=require("url")},31669:E=>{"use strict";E.exports=require("util")},92184:E=>{"use strict";E.exports=require("vm")},65013:E=>{"use strict";E.exports=require("worker_threads")},78761:E=>{"use strict";E.exports=require("zlib")}};var __webpack_module_cache__={};function __webpack_require__(E){var k=__webpack_module_cache__[E];if(k!==undefined){return k.exports}var S=__webpack_module_cache__[E]={id:E,loaded:false,exports:{}};var w=true;try{__webpack_modules__[E].call(S.exports,S,S.exports,__webpack_require__);w=false}finally{if(w)delete __webpack_module_cache__[E]}S.loaded=true;return S.exports}(()=>{__webpack_require__.o=(E,k)=>Object.prototype.hasOwnProperty.call(E,k)})();(()=>{__webpack_require__.nmd=E=>{E.paths=[];if(!E.children)E.children=[];return E}})();if(typeof __webpack_require__!=="undefined")__webpack_require__.ab=__dirname+"/";var __webpack_exports__=__webpack_require__(77086);module.exports=__webpack_exports__})(); \ No newline at end of file diff --git a/node_modules/@vercel/ncc/dist/ncc/loaders/empty-loader.js b/node_modules/@vercel/ncc/dist/ncc/loaders/empty-loader.js deleted file mode 100644 index d6926e3..0000000 --- a/node_modules/@vercel/ncc/dist/ncc/loaders/empty-loader.js +++ /dev/null @@ -1,31 +0,0 @@ -// returns the base-level package folder based on detecting "node_modules" -// package name boundaries -const pkgNameRegEx = /^(@[^\\\/]+[\\\/])?[^\\\/]+/; -function getPackageBase(id) { - const pkgIndex = id.lastIndexOf('node_modules'); - if (pkgIndex !== -1 && - (id[pkgIndex - 1] === '/' || id[pkgIndex - 1] === '\\') && - (id[pkgIndex + 12] === '/' || id[pkgIndex + 12] === '\\')) { - const pkgNameMatch = id.substr(pkgIndex + 13).match(pkgNameRegEx); - if (pkgNameMatch) - return id.substr(0, pkgIndex + 13 + pkgNameMatch[0].length); - } -} - -const emptyModules = { 'uglify-js': true, 'uglify-es': true }; - -module.exports = function (input, map) { - const id = this.resourcePath; - const pkgBase = getPackageBase(id); - if (pkgBase) { - const baseParts = pkgBase.split('/'); - if (baseParts[baseParts.length - 2] === 'node_modules') { - const pkgName = baseParts[baseParts.length - 1]; - if (pkgName in emptyModules) { - console.warn(`ncc: Ignoring build of ${pkgName}, as it is not statically analyzable. Build with "--external ${pkgName}" if this package is needed.`); - return ''; - } - } - } - this.callback(null, input, map); -}; diff --git a/node_modules/@vercel/ncc/dist/ncc/loaders/notfound-loader.js b/node_modules/@vercel/ncc/dist/ncc/loaders/notfound-loader.js deleted file mode 100644 index 5b925fa..0000000 --- a/node_modules/@vercel/ncc/dist/ncc/loaders/notfound-loader.js +++ /dev/null @@ -1,7 +0,0 @@ -module.exports = function (input, map) { - if (this.cacheable) - this.cacheable(); - const id = this.resourceQuery.substr(1); - input = input.replace('\'UNKNOWN\'', JSON.stringify(id)); - this.callback(null, input, map); -}; diff --git a/node_modules/@vercel/ncc/dist/ncc/loaders/readme.md b/node_modules/@vercel/ncc/dist/ncc/loaders/readme.md deleted file mode 100644 index 98cad61..0000000 --- a/node_modules/@vercel/ncc/dist/ncc/loaders/readme.md +++ /dev/null @@ -1,11 +0,0 @@ -# About this directory - -This directory will contain: - -- `relocate-loader.js` the ncc loader for handling CommonJS asset and reference relocations -- `shebang-loader.js` the ncc loader to ensure proper hash bang support in Node.js CLI files -- `ts-loader.js` the ncc loader for handling TypeScript - -These are generated by the `build` step defined in `../../../package.json`. - -These files are published to npm. diff --git a/node_modules/@vercel/ncc/dist/ncc/loaders/relocate-loader.js b/node_modules/@vercel/ncc/dist/ncc/loaders/relocate-loader.js deleted file mode 100644 index e6e9f73..0000000 --- a/node_modules/@vercel/ncc/dist/ncc/loaders/relocate-loader.js +++ /dev/null @@ -1,8 +0,0 @@ -const { readFileSync, writeFileSync } = require('fs'), { Script } = require('vm'), { wrap } = require('module'); -const basename = __dirname + '/relocate-loader.js'; -const source = readFileSync(basename + '.cache.js', 'utf-8'); -const cachedData = !process.pkg && require('process').platform !== 'win32' && readFileSync(basename + '.cache'); -const scriptOpts = { filename: basename + '.cache.js', columnOffset: -62 } -const script = new Script(wrap(source), cachedData ? Object.assign({ cachedData }, scriptOpts) : scriptOpts); -(script.runInThisContext())(exports, require, module, __filename, __dirname); -if (cachedData) process.on('exit', () => { try { writeFileSync(basename + '.cache', script.createCachedData()); } catch(e) {} }); diff --git a/node_modules/@vercel/ncc/dist/ncc/loaders/relocate-loader.js.cache b/node_modules/@vercel/ncc/dist/ncc/loaders/relocate-loader.js.cache deleted file mode 100644 index ccc56df..0000000 Binary files a/node_modules/@vercel/ncc/dist/ncc/loaders/relocate-loader.js.cache and /dev/null differ diff --git a/node_modules/@vercel/ncc/dist/ncc/loaders/relocate-loader.js.cache.js b/node_modules/@vercel/ncc/dist/ncc/loaders/relocate-loader.js.cache.js deleted file mode 100644 index 2a689f1..0000000 --- a/node_modules/@vercel/ncc/dist/ncc/loaders/relocate-loader.js.cache.js +++ /dev/null @@ -1,12 +0,0 @@ -(()=>{var __webpack_modules__={901:(module,__unused_webpack_exports,__webpack_require__)=>{module.exports=(()=>{var __webpack_modules__={4259:(e,t,r)=>{"use strict";const s=r(9406);e.exports=function(e){const t=e.acorn||r(390);const a=t.tokTypes;e=s(e);return class extends e{_maybeParseFieldValue(e){if(this.eat(a.eq)){const t=this._inFieldValue;this._inFieldValue=true;if(this.type===a.name&&this.value==="await"&&(this.inAsync||this.options.allowAwaitOutsideFunction)){e.value=this.parseAwait()}else e.value=this.parseExpression();this._inFieldValue=t}else e.value=null}parseClassElement(e){if(this.options.ecmaVersion>=8&&(this.type==a.name||this.type.keyword||this.type==this.privateIdentifierToken||this.type==a.bracketL||this.type==a.string||this.type==a.num)){const e=this._branch();if(e.type==a.bracketL){let t=0;do{if(e.eat(a.bracketL))++t;else if(e.eat(a.bracketR))--t;else e.next()}while(t>0)}else e.next(true);let t=e.type==a.eq||e.type==a.semi;if(!t&&e.canInsertSemicolon()){t=e.type!=a.parenL}if(t){const e=this.startNode();if(this.type==this.privateIdentifierToken){this.parsePrivateClassElementName(e)}else{this.parsePropertyName(e)}if(e.key.type==="Identifier"&&e.key.name==="constructor"||e.key.type==="Literal"&&e.key.value==="constructor"){this.raise(e.key.start,"Classes may not have a field called constructor")}this.enterScope(64|2|1);this._maybeParseFieldValue(e);this.exitScope();this.finishNode(e,"PropertyDefinition");this.semicolon();return e}}return super.parseClassElement.apply(this,arguments)}parseIdent(e,t){const r=super.parseIdent(e,t);if(this._inFieldValue&&r.name=="arguments")this.raise(r.start,"A class field initializer may not contain arguments");return r}}}},9406:(e,t,r)=>{"use strict";const s=Object.getPrototypeOf||(e=>e.__proto__);const getAcorn=e=>{if(e.acorn)return e.acorn;const t=r(390);if(t.version.indexOf("6.")!=0&&t.version.indexOf("6.0.")==0&&t.version.indexOf("7.")!=0){throw new Error(`acorn-private-class-elements requires acorn@^6.1.0 or acorn@7.0.0, not ${t.version}`)}for(let r=e;r&&r!==t.Parser;r=s(r)){if(r!==t.Parser){throw new Error("acorn-private-class-elements does not support mixing different acorn copies")}}return t};e.exports=function(e){if(e.prototype.parsePrivateName){return e}const t=getAcorn(e);e=class extends e{_branch(){this.__branch=this.__branch||new e({ecmaVersion:this.options.ecmaVersion},this.input);this.__branch.end=this.end;this.__branch.pos=this.pos;this.__branch.type=this.type;this.__branch.value=this.value;this.__branch.containsEsc=this.containsEsc;return this.__branch}parsePrivateClassElementName(e){e.computed=false;e.key=this.parsePrivateName();if(e.key.name=="constructor")this.raise(e.key.start,"Classes may not have a private element named constructor");const t={get:"set",set:"get"}[e.kind];const r=this._privateBoundNames;if(Object.prototype.hasOwnProperty.call(r,e.key.name)&&r[e.key.name]!==t){this.raise(e.start,"Duplicate private element")}r[e.key.name]=e.kind||true;delete this._unresolvedPrivateNames[e.key.name];return e.key}parsePrivateName(){const e=this.startNode();e.name=this.value;this.next();this.finishNode(e,"PrivateIdentifier");if(this.options.allowReserved=="never")this.checkUnreserved(e);return e}getTokenFromCode(e){if(e===35){++this.pos;const e=this.readWord1();return this.finishToken(this.privateIdentifierToken,e)}return super.getTokenFromCode(e)}parseClass(e,t){const r=this._outerPrivateBoundNames;this._outerPrivateBoundNames=this._privateBoundNames;this._privateBoundNames=Object.create(this._privateBoundNames||null);const s=this._outerUnresolvedPrivateNames;this._outerUnresolvedPrivateNames=this._unresolvedPrivateNames;this._unresolvedPrivateNames=Object.create(null);const a=super.parseClass(e,t);const o=this._unresolvedPrivateNames;this._privateBoundNames=this._outerPrivateBoundNames;this._outerPrivateBoundNames=r;this._unresolvedPrivateNames=this._outerUnresolvedPrivateNames;this._outerUnresolvedPrivateNames=s;if(!this._unresolvedPrivateNames){const e=Object.keys(o);if(e.length){e.sort(((e,t)=>o[e]-o[t]));this.raise(o[e[0]],"Usage of undeclared private name")}}else Object.assign(this._unresolvedPrivateNames,o);return a}parseClassSuper(e){const t=this._privateBoundNames;this._privateBoundNames=this._outerPrivateBoundNames;const r=this._unresolvedPrivateNames;this._unresolvedPrivateNames=this._outerUnresolvedPrivateNames;const s=super.parseClassSuper(e);this._privateBoundNames=t;this._unresolvedPrivateNames=r;return s}parseSubscript(e,r,s,a,o,u){const c=this.options.ecmaVersion>=11&&t.tokTypes.questionDot;const h=this._branch();if(!((h.eat(t.tokTypes.dot)||c&&h.eat(t.tokTypes.questionDot))&&h.type==this.privateIdentifierToken)){return super.parseSubscript.apply(this,arguments)}let p=false;if(!this.eat(t.tokTypes.dot)){this.expect(t.tokTypes.questionDot);p=true}let d=this.startNodeAt(r,s);d.object=e;d.computed=false;if(c){d.optional=p}if(this.type==this.privateIdentifierToken){if(e.type=="Super"){this.raise(this.start,"Cannot access private element on super")}d.property=this.parsePrivateName();if(!this._privateBoundNames||!this._privateBoundNames[d.property.name]){if(!this._unresolvedPrivateNames){this.raise(d.property.start,"Usage of undeclared private name")}this._unresolvedPrivateNames[d.property.name]=d.property.start}}else{d.property=this.parseIdent(true)}return this.finishNode(d,"MemberExpression")}parseMaybeUnary(e,t){const r=super.parseMaybeUnary(e,t);if(r.operator=="delete"){if(r.argument.type=="MemberExpression"&&r.argument.property.type=="PrivateIdentifier"){this.raise(r.start,"Private elements may not be deleted")}}return r}};e.prototype.privateIdentifierToken=new t.TokenType("privateIdentifier");return e}},104:(e,t,r)=>{"use strict";const s=r(9406);e.exports=function(e){const t=s(e);const a=e.acorn||r(390);const o=a.tokTypes;return class extends t{_maybeParseFieldValue(e){if(this.eat(o.eq)){const t=this._inStaticFieldScope;this._inStaticFieldScope=this.currentThisScope();e.value=this.parseExpression();this._inStaticFieldScope=t}else e.value=null}parseClassElement(e){if(this.options.ecmaVersion<8||!this.isContextual("static")){return super.parseClassElement.apply(this,arguments)}const t=this._branch();t.next();if([o.name,o.bracketL,o.string,o.num,this.privateIdentifierToken].indexOf(t.type)==-1&&!t.type.keyword){return super.parseClassElement.apply(this,arguments)}if(t.type==o.bracketL){let e=0;do{if(t.eat(o.bracketL))++e;else if(t.eat(o.bracketR))--e;else t.next()}while(e>0)}else t.next();if(t.type!=o.eq&&!t.canInsertSemicolon()&&t.type!=o.semi){return super.parseClassElement.apply(this,arguments)}const r=this.startNode();r.static=this.eatContextual("static");if(this.type==this.privateIdentifierToken){this.parsePrivateClassElementName(r)}else{this.parsePropertyName(r)}if(r.key.type==="Identifier"&&r.key.name==="constructor"||r.key.type==="Literal"&&!r.computed&&r.key.value==="constructor"){this.raise(r.key.start,"Classes may not have a field called constructor")}if((r.key.name||r.key.value)==="prototype"&&!r.computed){this.raise(r.key.start,"Classes may not have a static property named prototype")}this.enterScope(64|2|1);this._maybeParseFieldValue(r);this.exitScope();this.finishNode(r,"PropertyDefinition");this.semicolon();return r}parsePropertyName(e){if(e.static&&this.type==this.privateIdentifierToken){this.parsePrivateClassElementName(e)}else{super.parsePropertyName(e)}}parseIdent(e,t){const r=super.parseIdent(e,t);if(this._inStaticFieldScope&&this.currentThisScope()===this._inStaticFieldScope&&r.name=="arguments"){this.raise(r.start,"A static class field initializer may not contain arguments")}return r}}}},390:function(e,t){(function(e,r){true?r(t):0})(this,(function(e){"use strict";var t={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"};var r="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";var s={5:r,"5module":r+" export import",6:r+" const class extends export import super"};var a=/^in(stanceof)?$/;var o="ªµºÀ-ÖØ-öø-ˁˆ-ˑˠ-ˤˬˮͰ-ʹͶͷͺ-ͽͿΆΈ-ΊΌΎ-ΡΣ-ϵϷ-ҁҊ-ԯԱ-Ֆՙՠ-ֈא-תׯ-ײؠ-يٮٯٱ-ۓەۥۦۮۯۺ-ۼۿܐܒ-ܯݍ-ޥޱߊ-ߪߴߵߺࠀ-ࠕࠚࠤࠨࡀ-ࡘࡠ-ࡪࢠ-ࢴࢶ-ࣇऄ-हऽॐक़-ॡॱ-ঀঅ-ঌএঐও-নপ-রলশ-হঽৎড়ঢ়য়-ৡৰৱৼਅ-ਊਏਐਓ-ਨਪ-ਰਲਲ਼ਵਸ਼ਸਹਖ਼-ੜਫ਼ੲ-ੴઅ-ઍએ-ઑઓ-નપ-રલળવ-હઽૐૠૡૹଅ-ଌଏଐଓ-ନପ-ରଲଳଵ-ହଽଡ଼ଢ଼ୟ-ୡୱஃஅ-ஊஎ-ஐஒ-கஙசஜஞடணதந-பம-ஹௐఅ-ఌఎ-ఐఒ-నప-హఽౘ-ౚౠౡಀಅ-ಌಎ-ಐಒ-ನಪ-ಳವ-ಹಽೞೠೡೱೲഄ-ഌഎ-ഐഒ-ഺഽൎൔ-ൖൟ-ൡൺ-ൿඅ-ඖක-නඳ-රලව-ෆก-ะาำเ-ๆກຂຄຆ-ຊຌ-ຣລວ-ະາຳຽເ-ໄໆໜ-ໟༀཀ-ཇཉ-ཬྈ-ྌက-ဪဿၐ-ၕၚ-ၝၡၥၦၮ-ၰၵ-ႁႎႠ-ჅჇჍა-ჺჼ-ቈቊ-ቍቐ-ቖቘቚ-ቝበ-ኈኊ-ኍነ-ኰኲ-ኵኸ-ኾዀዂ-ዅወ-ዖዘ-ጐጒ-ጕጘ-ፚᎀ-ᎏᎠ-Ᏽᏸ-ᏽᐁ-ᙬᙯ-ᙿᚁ-ᚚᚠ-ᛪᛮ-ᛸᜀ-ᜌᜎ-ᜑᜠ-ᜱᝀ-ᝑᝠ-ᝬᝮ-ᝰក-ឳៗៜᠠ-ᡸᢀ-ᢨᢪᢰ-ᣵᤀ-ᤞᥐ-ᥭᥰ-ᥴᦀ-ᦫᦰ-ᧉᨀ-ᨖᨠ-ᩔᪧᬅ-ᬳᭅ-ᭋᮃ-ᮠᮮᮯᮺ-ᯥᰀ-ᰣᱍ-ᱏᱚ-ᱽᲀ-ᲈᲐ-ᲺᲽ-Ჿᳩ-ᳬᳮ-ᳳᳵᳶᳺᴀ-ᶿḀ-ἕἘ-Ἕἠ-ὅὈ-Ὅὐ-ὗὙὛὝὟ-ώᾀ-ᾴᾶ-ᾼιῂ-ῄῆ-ῌῐ-ΐῖ-Ίῠ-Ῥῲ-ῴῶ-ῼⁱⁿₐ-ₜℂℇℊ-ℓℕ℘-ℝℤΩℨK-ℹℼ-ℿⅅ-ⅉⅎⅠ-ↈⰀ-Ⱞⰰ-ⱞⱠ-ⳤⳫ-ⳮⳲⳳⴀ-ⴥⴧⴭⴰ-ⵧⵯⶀ-ⶖⶠ-ⶦⶨ-ⶮⶰ-ⶶⶸ-ⶾⷀ-ⷆⷈ-ⷎⷐ-ⷖⷘ-ⷞ々-〇〡-〩〱-〵〸-〼ぁ-ゖ゛-ゟァ-ヺー-ヿㄅ-ㄯㄱ-ㆎㆠ-ㆿㇰ-ㇿ㐀-䶿一-鿼ꀀ-ꒌꓐ-ꓽꔀ-ꘌꘐ-ꘟꘪꘫꙀ-ꙮꙿ-ꚝꚠ-ꛯꜗ-ꜟꜢ-ꞈꞋ-ꞿꟂ-ꟊꟵ-ꠁꠃ-ꠅꠇ-ꠊꠌ-ꠢꡀ-ꡳꢂ-ꢳꣲ-ꣷꣻꣽꣾꤊ-ꤥꤰ-ꥆꥠ-ꥼꦄ-ꦲꧏꧠ-ꧤꧦ-ꧯꧺ-ꧾꨀ-ꨨꩀ-ꩂꩄ-ꩋꩠ-ꩶꩺꩾ-ꪯꪱꪵꪶꪹ-ꪽꫀꫂꫛ-ꫝꫠ-ꫪꫲ-ꫴꬁ-ꬆꬉ-ꬎꬑ-ꬖꬠ-ꬦꬨ-ꬮꬰ-ꭚꭜ-ꭩꭰ-ꯢ가-힣ힰ-ퟆퟋ-ퟻ豈-舘並-龎ff-stﬓ-ﬗיִײַ-ﬨשׁ-זּטּ-לּמּנּסּףּפּצּ-ﮱﯓ-ﴽﵐ-ﶏﶒ-ﷇﷰ-ﷻﹰ-ﹴﹶ-ﻼA-Za-zヲ-하-ᅦᅧ-ᅬᅭ-ᅲᅳ-ᅵ";var u="‌‍·̀-ͯ·҃-֑҇-ׇֽֿׁׂׅׄؐ-ًؚ-٩ٰۖ-ۜ۟-۪ۤۧۨ-ۭ۰-۹ܑܰ-݊ަ-ް߀-߉߫-߽߳ࠖ-࠙ࠛ-ࠣࠥ-ࠧࠩ-࡙࠭-࡛࣓-ࣣ࣡-ःऺ-़ा-ॏ॑-ॗॢॣ०-९ঁ-ঃ়া-ৄেৈো-্ৗৢৣ০-৯৾ਁ-ਃ਼ਾ-ੂੇੈੋ-੍ੑ੦-ੱੵઁ-ઃ઼ા-ૅે-ૉો-્ૢૣ૦-૯ૺ-૿ଁ-ଃ଼ା-ୄେୈୋ-୍୕-ୗୢୣ୦-୯ஂா-ூெ-ைொ-்ௗ௦-௯ఀ-ఄా-ౄె-ైొ-్ౕౖౢౣ౦-౯ಁ-ಃ಼ಾ-ೄೆ-ೈೊ-್ೕೖೢೣ೦-೯ഀ-ഃ഻഼ാ-ൄെ-ൈൊ-്ൗൢൣ൦-൯ඁ-ඃ්ා-ුූෘ-ෟ෦-෯ෲෳัิ-ฺ็-๎๐-๙ັິ-ຼ່-ໍ໐-໙༘༙༠-༩༹༵༷༾༿ཱ-྄྆྇ྍ-ྗྙ-ྼ࿆ါ-ှ၀-၉ၖ-ၙၞ-ၠၢ-ၤၧ-ၭၱ-ၴႂ-ႍႏ-ႝ፝-፟፩-፱ᜒ-᜔ᜲ-᜴ᝒᝓᝲᝳ឴-៓៝០-៩᠋-᠍᠐-᠙ᢩᤠ-ᤫᤰ-᤻᥆-᥏᧐-᧚ᨗ-ᨛᩕ-ᩞ᩠-᩿᩼-᪉᪐-᪙᪰-᪽ᪿᫀᬀ-ᬄ᬴-᭄᭐-᭙᭫-᭳ᮀ-ᮂᮡ-ᮭ᮰-᮹᯦-᯳ᰤ-᰷᱀-᱉᱐-᱙᳐-᳔᳒-᳨᳭᳴᳷-᳹᷀-᷹᷻-᷿‿⁀⁔⃐-⃥⃜⃡-⃰⳯-⵿⳱ⷠ-〪ⷿ-゙゚〯꘠-꘩꙯ꙴ-꙽ꚞꚟ꛰꛱ꠂ꠆ꠋꠣ-ꠧ꠬ꢀꢁꢴ-ꣅ꣐-꣙꣠-꣱ꣿ-꤉ꤦ-꤭ꥇ-꥓ꦀ-ꦃ꦳-꧀꧐-꧙ꧥ꧰-꧹ꨩ-ꨶꩃꩌꩍ꩐-꩙ꩻ-ꩽꪰꪲ-ꪴꪷꪸꪾ꪿꫁ꫫ-ꫯꫵ꫶ꯣ-ꯪ꯬꯭꯰-꯹ﬞ︀-️︠-︯︳︴﹍-﹏0-9_";var c=new RegExp("["+o+"]");var h=new RegExp("["+o+u+"]");o=u=null;var p=[0,11,2,25,2,18,2,1,2,14,3,13,35,122,70,52,268,28,4,48,48,31,14,29,6,37,11,29,3,35,5,7,2,4,43,157,19,35,5,35,5,39,9,51,157,310,10,21,11,7,153,5,3,0,2,43,2,1,4,0,3,22,11,22,10,30,66,18,2,1,11,21,11,25,71,55,7,1,65,0,16,3,2,2,2,28,43,28,4,28,36,7,2,27,28,53,11,21,11,18,14,17,111,72,56,50,14,50,14,35,349,41,7,1,79,28,11,0,9,21,107,20,28,22,13,52,76,44,33,24,27,35,30,0,3,0,9,34,4,0,13,47,15,3,22,0,2,0,36,17,2,24,85,6,2,0,2,3,2,14,2,9,8,46,39,7,3,1,3,21,2,6,2,1,2,4,4,0,19,0,13,4,159,52,19,3,21,2,31,47,21,1,2,0,185,46,42,3,37,47,21,0,60,42,14,0,72,26,230,43,117,63,32,7,3,0,3,7,2,1,2,23,16,0,2,0,95,7,3,38,17,0,2,0,29,0,11,39,8,0,22,0,12,45,20,0,35,56,264,8,2,36,18,0,50,29,113,6,2,1,2,37,22,0,26,5,2,1,2,31,15,0,328,18,190,0,80,921,103,110,18,195,2749,1070,4050,582,8634,568,8,30,114,29,19,47,17,3,32,20,6,18,689,63,129,74,6,0,67,12,65,1,2,0,29,6135,9,1237,43,8,8952,286,50,2,18,3,9,395,2309,106,6,12,4,8,8,9,5991,84,2,70,2,1,3,0,3,1,3,3,2,11,2,0,2,6,2,64,2,3,3,7,2,6,2,27,2,3,2,4,2,0,4,6,2,339,3,24,2,24,2,30,2,24,2,30,2,24,2,30,2,24,2,30,2,24,2,7,2357,44,11,6,17,0,370,43,1301,196,60,67,8,0,1205,3,2,26,2,1,2,0,3,0,2,9,2,3,2,0,2,0,7,0,5,0,2,0,2,0,2,2,2,1,2,0,3,0,2,0,2,0,2,0,2,0,2,1,2,0,3,3,2,6,2,3,2,3,2,0,2,9,2,16,6,2,2,4,2,16,4421,42717,35,4148,12,221,3,5761,15,7472,3104,541,1507,4938];var d=[509,0,227,0,150,4,294,9,1368,2,2,1,6,3,41,2,5,0,166,1,574,3,9,9,370,1,154,10,176,2,54,14,32,9,16,3,46,10,54,9,7,2,37,13,2,9,6,1,45,0,13,2,49,13,9,3,2,11,83,11,7,0,161,11,6,9,7,3,56,1,2,6,3,1,3,2,10,0,11,1,3,6,4,4,193,17,10,9,5,0,82,19,13,9,214,6,3,8,28,1,83,16,16,9,82,12,9,9,84,14,5,9,243,14,166,9,71,5,2,1,3,3,2,0,2,1,13,9,120,6,3,6,4,0,29,9,41,6,2,3,9,0,10,10,47,15,406,7,2,7,17,9,57,21,2,13,123,5,4,0,2,1,2,6,2,0,9,9,49,4,2,1,2,4,9,9,330,3,19306,9,135,4,60,6,26,9,1014,0,2,54,8,3,82,0,12,1,19628,1,5319,4,4,5,9,7,3,6,31,3,149,2,1418,49,513,54,5,49,9,0,15,0,23,4,2,14,1361,6,2,16,3,6,2,1,2,4,262,6,10,9,419,13,1495,6,110,6,6,9,4759,9,787719,239];function isInAstralSet(e,t){var r=65536;for(var s=0;se){return false}r+=t[s+1];if(r>=e){return true}}}function isIdentifierStart(e,t){if(e<65){return e===36}if(e<91){return true}if(e<97){return e===95}if(e<123){return true}if(e<=65535){return e>=170&&c.test(String.fromCharCode(e))}if(t===false){return false}return isInAstralSet(e,p)}function isIdentifierChar(e,t){if(e<48){return e===36}if(e<58){return true}if(e<65){return false}if(e<91){return true}if(e<97){return e===95}if(e<123){return true}if(e<=65535){return e>=170&&h.test(String.fromCharCode(e))}if(t===false){return false}return isInAstralSet(e,p)||isInAstralSet(e,d)}var v=function TokenType(e,t){if(t===void 0)t={};this.label=e;this.keyword=t.keyword;this.beforeExpr=!!t.beforeExpr;this.startsExpr=!!t.startsExpr;this.isLoop=!!t.isLoop;this.isAssign=!!t.isAssign;this.prefix=!!t.prefix;this.postfix=!!t.postfix;this.binop=t.binop||null;this.updateContext=null};function binop(e,t){return new v(e,{beforeExpr:true,binop:t})}var m={beforeExpr:true},g={startsExpr:true};var y={};function kw(e,t){if(t===void 0)t={};t.keyword=e;return y[e]=new v(e,t)}var _={num:new v("num",g),regexp:new v("regexp",g),string:new v("string",g),name:new v("name",g),privateId:new v("privateId",g),eof:new v("eof"),bracketL:new v("[",{beforeExpr:true,startsExpr:true}),bracketR:new v("]"),braceL:new v("{",{beforeExpr:true,startsExpr:true}),braceR:new v("}"),parenL:new v("(",{beforeExpr:true,startsExpr:true}),parenR:new v(")"),comma:new v(",",m),semi:new v(";",m),colon:new v(":",m),dot:new v("."),question:new v("?",m),questionDot:new v("?."),arrow:new v("=>",m),template:new v("template"),invalidTemplate:new v("invalidTemplate"),ellipsis:new v("...",m),backQuote:new v("`",g),dollarBraceL:new v("${",{beforeExpr:true,startsExpr:true}),eq:new v("=",{beforeExpr:true,isAssign:true}),assign:new v("_=",{beforeExpr:true,isAssign:true}),incDec:new v("++/--",{prefix:true,postfix:true,startsExpr:true}),prefix:new v("!/~",{beforeExpr:true,prefix:true,startsExpr:true}),logicalOR:binop("||",1),logicalAND:binop("&&",2),bitwiseOR:binop("|",3),bitwiseXOR:binop("^",4),bitwiseAND:binop("&",5),equality:binop("==/!=/===/!==",6),relational:binop("/<=/>=",7),bitShift:binop("<>/>>>",8),plusMin:new v("+/-",{beforeExpr:true,binop:9,prefix:true,startsExpr:true}),modulo:binop("%",10),star:binop("*",10),slash:binop("/",10),starstar:new v("**",{beforeExpr:true}),coalesce:binop("??",1),_break:kw("break"),_case:kw("case",m),_catch:kw("catch"),_continue:kw("continue"),_debugger:kw("debugger"),_default:kw("default",m),_do:kw("do",{isLoop:true,beforeExpr:true}),_else:kw("else",m),_finally:kw("finally"),_for:kw("for",{isLoop:true}),_function:kw("function",g),_if:kw("if"),_return:kw("return",m),_switch:kw("switch"),_throw:kw("throw",m),_try:kw("try"),_var:kw("var"),_const:kw("const"),_while:kw("while",{isLoop:true}),_with:kw("with"),_new:kw("new",{beforeExpr:true,startsExpr:true}),_this:kw("this",g),_super:kw("super",g),_class:kw("class",g),_extends:kw("extends",m),_export:kw("export"),_import:kw("import",g),_null:kw("null",g),_true:kw("true",g),_false:kw("false",g),_in:kw("in",{beforeExpr:true,binop:7}),_instanceof:kw("instanceof",{beforeExpr:true,binop:7}),_typeof:kw("typeof",{beforeExpr:true,prefix:true,startsExpr:true}),_void:kw("void",{beforeExpr:true,prefix:true,startsExpr:true}),_delete:kw("delete",{beforeExpr:true,prefix:true,startsExpr:true})};var E=/\r\n?|\n|\u2028|\u2029/;var x=new RegExp(E.source,"g");function isNewLine(e,t){return e===10||e===13||!t&&(e===8232||e===8233)}var w=/[\u1680\u2000-\u200a\u202f\u205f\u3000\ufeff]/;var D=/(?:\s|\/\/.*|\/\*[^]*?\*\/)*/g;var C=Object.prototype;var A=C.hasOwnProperty;var S=C.toString;function has(e,t){return A.call(e,t)}var k=Array.isArray||function(e){return S.call(e)==="[object Array]"};function wordsRegexp(e){return new RegExp("^(?:"+e.replace(/ /g,"|")+")$")}var F=function Position(e,t){this.line=e;this.column=t};F.prototype.offset=function offset(e){return new F(this.line,this.column+e)};var R=function SourceLocation(e,t,r){this.start=t;this.end=r;if(e.sourceFile!==null){this.source=e.sourceFile}};function getLineInfo(e,t){for(var r=1,s=0;;){x.lastIndex=s;var a=x.exec(e);if(a&&a.index=2015){t.ecmaVersion-=2009}if(t.allowReserved==null){t.allowReserved=t.ecmaVersion<5}if(t.allowAwaitOutsideFunction==null){t.allowAwaitOutsideFunction=t.ecmaVersion>=13}if(k(t.onToken)){var s=t.onToken;t.onToken=function(e){return s.push(e)}}if(k(t.onComment)){t.onComment=pushComment(t,t.onComment)}return t}function pushComment(e,t){return function(r,s,a,o,u,c){var h={type:r?"Block":"Line",value:s,start:a,end:o};if(e.locations){h.loc=new R(this,u,c)}if(e.ranges){h.range=[a,o]}t.push(h)}}var B=1,N=2,O=B|N,P=4,L=8,j=16,M=32,V=64,q=128;function functionFlags(e,t){return N|(e?P:0)|(t?L:0)}var U=0,$=1,H=2,G=3,W=4,z=5;var K=function Parser(e,r,a){this.options=e=getOptions(e);this.sourceFile=e.sourceFile;this.keywords=wordsRegexp(s[e.ecmaVersion>=6?6:e.sourceType==="module"?"5module":5]);var o="";if(e.allowReserved!==true){o=t[e.ecmaVersion>=6?6:e.ecmaVersion===5?5:3];if(e.sourceType==="module"){o+=" await"}}this.reservedWords=wordsRegexp(o);var u=(o?o+" ":"")+t.strict;this.reservedWordsStrict=wordsRegexp(u);this.reservedWordsStrictBind=wordsRegexp(u+" "+t.strictBind);this.input=String(r);this.containsEsc=false;if(a){this.pos=a;this.lineStart=this.input.lastIndexOf("\n",a-1)+1;this.curLine=this.input.slice(0,this.lineStart).split(E).length}else{this.pos=this.lineStart=0;this.curLine=1}this.type=_.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=true;this.inModule=e.sourceType==="module";this.strict=this.inModule||this.strictDirective(this.pos);this.potentialArrowAt=-1;this.potentialArrowInForAwait=false;this.yieldPos=this.awaitPos=this.awaitIdentPos=0;this.labels=[];this.undefinedExports=Object.create(null);if(this.pos===0&&e.allowHashBang&&this.input.slice(0,2)==="#!"){this.skipLineComment(2)}this.scopeStack=[];this.enterScope(B);this.regexpState=null;this.privateNameStack=[]};var Q={inFunction:{configurable:true},inGenerator:{configurable:true},inAsync:{configurable:true},allowSuper:{configurable:true},allowDirectSuper:{configurable:true},treatFunctionsAsVar:{configurable:true},inNonArrowFunction:{configurable:true}};K.prototype.parse=function parse(){var e=this.options.program||this.startNode();this.nextToken();return this.parseTopLevel(e)};Q.inFunction.get=function(){return(this.currentVarScope().flags&N)>0};Q.inGenerator.get=function(){return(this.currentVarScope().flags&L)>0&&!this.currentVarScope().inClassFieldInit};Q.inAsync.get=function(){return(this.currentVarScope().flags&P)>0&&!this.currentVarScope().inClassFieldInit};Q.allowSuper.get=function(){var e=this.currentThisScope();var t=e.flags;var r=e.inClassFieldInit;return(t&V)>0||r};Q.allowDirectSuper.get=function(){return(this.currentThisScope().flags&q)>0};Q.treatFunctionsAsVar.get=function(){return this.treatFunctionsAsVarInScope(this.currentScope())};Q.inNonArrowFunction.get=function(){var e=this.currentThisScope();var t=e.flags;var r=e.inClassFieldInit;return(t&N)>0||r};K.extend=function extend(){var e=[],t=arguments.length;while(t--)e[t]=arguments[t];var r=this;for(var s=0;s=,?^&]/.test(a)||a==="!"&&this.input.charAt(s+1)==="=")}e+=t[0].length;D.lastIndex=e;e+=D.exec(this.input)[0].length;if(this.input[e]===";"){e++}}};X.eat=function(e){if(this.type===e){this.next();return true}else{return false}};X.isContextual=function(e){return this.type===_.name&&this.value===e&&!this.containsEsc};X.eatContextual=function(e){if(!this.isContextual(e)){return false}this.next();return true};X.expectContextual=function(e){if(!this.eatContextual(e)){this.unexpected()}};X.canInsertSemicolon=function(){return this.type===_.eof||this.type===_.braceR||E.test(this.input.slice(this.lastTokEnd,this.start))};X.insertSemicolon=function(){if(this.canInsertSemicolon()){if(this.options.onInsertedSemicolon){this.options.onInsertedSemicolon(this.lastTokEnd,this.lastTokEndLoc)}return true}};X.semicolon=function(){if(!this.eat(_.semi)&&!this.insertSemicolon()){this.unexpected()}};X.afterTrailingComma=function(e,t){if(this.type===e){if(this.options.onTrailingComma){this.options.onTrailingComma(this.lastTokStart,this.lastTokStartLoc)}if(!t){this.next()}return true}};X.expect=function(e){this.eat(e)||this.unexpected()};X.unexpected=function(e){this.raise(e!=null?e:this.start,"Unexpected token")};function DestructuringErrors(){this.shorthandAssign=this.trailingComma=this.parenthesizedAssign=this.parenthesizedBind=this.doubleProto=-1}X.checkPatternErrors=function(e,t){if(!e){return}if(e.trailingComma>-1){this.raiseRecoverable(e.trailingComma,"Comma is not permitted after the rest element")}var r=t?e.parenthesizedAssign:e.parenthesizedBind;if(r>-1){this.raiseRecoverable(r,"Parenthesized pattern")}};X.checkExpressionErrors=function(e,t){if(!e){return false}var r=e.shorthandAssign;var s=e.doubleProto;if(!t){return r>=0||s>=0}if(r>=0){this.raise(r,"Shorthand property assignments are valid only in destructuring patterns")}if(s>=0){this.raiseRecoverable(s,"Redefinition of __proto__ property")}};X.checkYieldAwaitInDefaultParams=function(){if(this.yieldPos&&(!this.awaitPos||this.yieldPos55295&&s<56320){return true}if(e){return false}if(s===123){return true}if(isIdentifierStart(s,true)){var o=r+1;while(isIdentifierChar(s=this.input.charCodeAt(o),true)){++o}if(s===92||s>55295&&s<56320){return true}var u=this.input.slice(r,o);if(!a.test(u)){return true}}return false};Z.isAsyncFunction=function(){if(this.options.ecmaVersion<8||!this.isContextual("async")){return false}D.lastIndex=this.pos;var e=D.exec(this.input);var t=this.pos+e[0].length,r;return!E.test(this.input.slice(this.pos,t))&&this.input.slice(t,t+8)==="function"&&(t+8===this.input.length||!(isIdentifierChar(r=this.input.charCodeAt(t+8))||r>55295&&r<56320))};Z.parseStatement=function(e,t,r){var s=this.type,a=this.startNode(),o;if(this.isLet(e)){s=_._var;o="let"}switch(s){case _._break:case _._continue:return this.parseBreakContinueStatement(a,s.keyword);case _._debugger:return this.parseDebuggerStatement(a);case _._do:return this.parseDoStatement(a);case _._for:return this.parseForStatement(a);case _._function:if(e&&(this.strict||e!=="if"&&e!=="label")&&this.options.ecmaVersion>=6){this.unexpected()}return this.parseFunctionStatement(a,false,!e);case _._class:if(e){this.unexpected()}return this.parseClass(a,true);case _._if:return this.parseIfStatement(a);case _._return:return this.parseReturnStatement(a);case _._switch:return this.parseSwitchStatement(a);case _._throw:return this.parseThrowStatement(a);case _._try:return this.parseTryStatement(a);case _._const:case _._var:o=o||this.value;if(e&&o!=="var"){this.unexpected()}return this.parseVarStatement(a,o);case _._while:return this.parseWhileStatement(a);case _._with:return this.parseWithStatement(a);case _.braceL:return this.parseBlock(true,a);case _.semi:return this.parseEmptyStatement(a);case _._export:case _._import:if(this.options.ecmaVersion>10&&s===_._import){D.lastIndex=this.pos;var u=D.exec(this.input);var c=this.pos+u[0].length,h=this.input.charCodeAt(c);if(h===40||h===46){return this.parseExpressionStatement(a,this.parseExpression())}}if(!this.options.allowImportExportEverywhere){if(!t){this.raise(this.start,"'import' and 'export' may only appear at the top level")}if(!this.inModule){this.raise(this.start,"'import' and 'export' may appear only with 'sourceType: module'")}}return s===_._import?this.parseImport(a):this.parseExport(a,r);default:if(this.isAsyncFunction()){if(e){this.unexpected()}this.next();return this.parseFunctionStatement(a,true,!e)}var p=this.value,d=this.parseExpression();if(s===_.name&&d.type==="Identifier"&&this.eat(_.colon)){return this.parseLabeledStatement(a,p,d,e)}else{return this.parseExpressionStatement(a,d)}}};Z.parseBreakContinueStatement=function(e,t){var r=t==="break";this.next();if(this.eat(_.semi)||this.insertSemicolon()){e.label=null}else if(this.type!==_.name){this.unexpected()}else{e.label=this.parseIdent();this.semicolon()}var s=0;for(;s=6){this.eat(_.semi)}else{this.semicolon()}return this.finishNode(e,"DoWhileStatement")};Z.parseForStatement=function(e){this.next();var t=this.options.ecmaVersion>=9&&(this.inAsync||!this.inFunction&&this.options.allowAwaitOutsideFunction)&&this.eatContextual("await")?this.lastTokStart:-1;this.labels.push(Y);this.enterScope(0);this.expect(_.parenL);if(this.type===_.semi){if(t>-1){this.unexpected(t)}return this.parseFor(e,null)}var r=this.isLet();if(this.type===_._var||this.type===_._const||r){var s=this.startNode(),a=r?"let":this.value;this.next();this.parseVar(s,true,a);this.finishNode(s,"VariableDeclaration");if((this.type===_._in||this.options.ecmaVersion>=6&&this.isContextual("of"))&&s.declarations.length===1){if(this.options.ecmaVersion>=9){if(this.type===_._in){if(t>-1){this.unexpected(t)}}else{e.await=t>-1}}return this.parseForIn(e,s)}if(t>-1){this.unexpected(t)}return this.parseFor(e,s)}var o=new DestructuringErrors;var u=this.parseExpression(t>-1?"await":true,o);if(this.type===_._in||this.options.ecmaVersion>=6&&this.isContextual("of")){if(this.options.ecmaVersion>=9){if(this.type===_._in){if(t>-1){this.unexpected(t)}}else{e.await=t>-1}}this.toAssignable(u,false,o);this.checkLValPattern(u);return this.parseForIn(e,u)}else{this.checkExpressionErrors(o,true)}if(t>-1){this.unexpected(t)}return this.parseFor(e,u)};Z.parseFunctionStatement=function(e,t,r){this.next();return this.parseFunction(e,re|(r?0:ie),false,t)};Z.parseIfStatement=function(e){this.next();e.test=this.parseParenExpression();e.consequent=this.parseStatement("if");e.alternate=this.eat(_._else)?this.parseStatement("if"):null;return this.finishNode(e,"IfStatement")};Z.parseReturnStatement=function(e){if(!this.inFunction&&!this.options.allowReturnOutsideFunction){this.raise(this.start,"'return' outside of function")}this.next();if(this.eat(_.semi)||this.insertSemicolon()){e.argument=null}else{e.argument=this.parseExpression();this.semicolon()}return this.finishNode(e,"ReturnStatement")};Z.parseSwitchStatement=function(e){this.next();e.discriminant=this.parseParenExpression();e.cases=[];this.expect(_.braceL);this.labels.push(ee);this.enterScope(0);var t;for(var r=false;this.type!==_.braceR;){if(this.type===_._case||this.type===_._default){var s=this.type===_._case;if(t){this.finishNode(t,"SwitchCase")}e.cases.push(t=this.startNode());t.consequent=[];this.next();if(s){t.test=this.parseExpression()}else{if(r){this.raiseRecoverable(this.lastTokStart,"Multiple default clauses")}r=true;t.test=null}this.expect(_.colon)}else{if(!t){this.unexpected()}t.consequent.push(this.parseStatement(null))}}this.exitScope();if(t){this.finishNode(t,"SwitchCase")}this.next();this.labels.pop();return this.finishNode(e,"SwitchStatement")};Z.parseThrowStatement=function(e){this.next();if(E.test(this.input.slice(this.lastTokEnd,this.start))){this.raise(this.lastTokEnd,"Illegal newline after throw")}e.argument=this.parseExpression();this.semicolon();return this.finishNode(e,"ThrowStatement")};var te=[];Z.parseTryStatement=function(e){this.next();e.block=this.parseBlock();e.handler=null;if(this.type===_._catch){var t=this.startNode();this.next();if(this.eat(_.parenL)){t.param=this.parseBindingAtom();var r=t.param.type==="Identifier";this.enterScope(r?M:0);this.checkLValPattern(t.param,r?W:H);this.expect(_.parenR)}else{if(this.options.ecmaVersion<10){this.unexpected()}t.param=null;this.enterScope(0)}t.body=this.parseBlock(false);this.exitScope();e.handler=this.finishNode(t,"CatchClause")}e.finalizer=this.eat(_._finally)?this.parseBlock():null;if(!e.handler&&!e.finalizer){this.raise(e.start,"Missing catch or finally clause")}return this.finishNode(e,"TryStatement")};Z.parseVarStatement=function(e,t){this.next();this.parseVar(e,false,t);this.semicolon();return this.finishNode(e,"VariableDeclaration")};Z.parseWhileStatement=function(e){this.next();e.test=this.parseParenExpression();this.labels.push(Y);e.body=this.parseStatement("while");this.labels.pop();return this.finishNode(e,"WhileStatement")};Z.parseWithStatement=function(e){if(this.strict){this.raise(this.start,"'with' in strict mode")}this.next();e.object=this.parseParenExpression();e.body=this.parseStatement("with");return this.finishNode(e,"WithStatement")};Z.parseEmptyStatement=function(e){this.next();return this.finishNode(e,"EmptyStatement")};Z.parseLabeledStatement=function(e,t,r,s){for(var a=0,o=this.labels;a=0;h--){var p=this.labels[h];if(p.statementStart===e.start){p.statementStart=this.start;p.kind=c}else{break}}this.labels.push({name:t,kind:c,statementStart:this.start});e.body=this.parseStatement(s?s.indexOf("label")===-1?s+"label":s:"label");this.labels.pop();e.label=r;return this.finishNode(e,"LabeledStatement")};Z.parseExpressionStatement=function(e,t){e.expression=t;this.semicolon();return this.finishNode(e,"ExpressionStatement")};Z.parseBlock=function(e,t,r){if(e===void 0)e=true;if(t===void 0)t=this.startNode();t.body=[];this.expect(_.braceL);if(e){this.enterScope(0)}while(this.type!==_.braceR){var s=this.parseStatement(null);t.body.push(s)}if(r){this.strict=false}this.next();if(e){this.exitScope()}return this.finishNode(t,"BlockStatement")};Z.parseFor=function(e,t){e.init=t;this.expect(_.semi);e.test=this.type===_.semi?null:this.parseExpression();this.expect(_.semi);e.update=this.type===_.parenR?null:this.parseExpression();this.expect(_.parenR);e.body=this.parseStatement("for");this.exitScope();this.labels.pop();return this.finishNode(e,"ForStatement")};Z.parseForIn=function(e,t){var r=this.type===_._in;this.next();if(t.type==="VariableDeclaration"&&t.declarations[0].init!=null&&(!r||this.options.ecmaVersion<8||this.strict||t.kind!=="var"||t.declarations[0].id.type!=="Identifier")){this.raise(t.start,(r?"for-in":"for-of")+" loop variable declaration may not have an initializer")}e.left=t;e.right=r?this.parseExpression():this.parseMaybeAssign();this.expect(_.parenR);e.body=this.parseStatement("for");this.exitScope();this.labels.pop();return this.finishNode(e,r?"ForInStatement":"ForOfStatement")};Z.parseVar=function(e,t,r){e.declarations=[];e.kind=r;for(;;){var s=this.startNode();this.parseVarId(s,r);if(this.eat(_.eq)){s.init=this.parseMaybeAssign(t)}else if(r==="const"&&!(this.type===_._in||this.options.ecmaVersion>=6&&this.isContextual("of"))){this.unexpected()}else if(s.id.type!=="Identifier"&&!(t&&(this.type===_._in||this.isContextual("of")))){this.raise(this.lastTokEnd,"Complex binding patterns require an initialization value")}else{s.init=null}e.declarations.push(this.finishNode(s,"VariableDeclarator"));if(!this.eat(_.comma)){break}}return e};Z.parseVarId=function(e,t){e.id=this.parseBindingAtom();this.checkLValPattern(e.id,t==="var"?$:H,false)};var re=1,ie=2,ne=4;Z.parseFunction=function(e,t,r,s){this.initFunction(e);if(this.options.ecmaVersion>=9||this.options.ecmaVersion>=6&&!s){if(this.type===_.star&&t&ie){this.unexpected()}e.generator=this.eat(_.star)}if(this.options.ecmaVersion>=8){e.async=!!s}if(t&re){e.id=t&ne&&this.type!==_.name?null:this.parseIdent();if(e.id&&!(t&ie)){this.checkLValSimple(e.id,this.strict||e.generator||e.async?this.treatFunctionsAsVar?$:H:G)}}var a=this.yieldPos,o=this.awaitPos,u=this.awaitIdentPos;this.yieldPos=0;this.awaitPos=0;this.awaitIdentPos=0;this.enterScope(functionFlags(e.async,e.generator));if(!(t&re)){e.id=this.type===_.name?this.parseIdent():null}this.parseFunctionParams(e);this.parseFunctionBody(e,r,false);this.yieldPos=a;this.awaitPos=o;this.awaitIdentPos=u;return this.finishNode(e,t&re?"FunctionDeclaration":"FunctionExpression")};Z.parseFunctionParams=function(e){this.expect(_.parenL);e.params=this.parseBindingList(_.parenR,false,this.options.ecmaVersion>=8);this.checkYieldAwaitInDefaultParams()};Z.parseClass=function(e,t){this.next();var r=this.strict;this.strict=true;this.parseClassId(e,t);this.parseClassSuper(e);var s=this.enterClassBody();var a=this.startNode();var o=false;a.body=[];this.expect(_.braceL);while(this.type!==_.braceR){var u=this.parseClassElement(e.superClass!==null);if(u){a.body.push(u);if(u.type==="MethodDefinition"&&u.kind==="constructor"){if(o){this.raise(u.start,"Duplicate constructor in the same class")}o=true}else if(u.key.type==="PrivateIdentifier"&&isPrivateNameConflicted(s,u)){this.raiseRecoverable(u.key.start,"Identifier '#"+u.key.name+"' has already been declared")}}}this.strict=r;this.next();e.body=this.finishNode(a,"ClassBody");this.exitClassBody();return this.finishNode(e,t?"ClassDeclaration":"ClassExpression")};Z.parseClassElement=function(e){if(this.eat(_.semi)){return null}var t=this.options.ecmaVersion;var r=this.startNode();var s="";var a=false;var o=false;var u="method";r.static=false;if(this.eatContextual("static")){if(this.isClassElementNameStart()||this.type===_.star){r.static=true}else{s="static"}}if(!s&&t>=8&&this.eatContextual("async")){if((this.isClassElementNameStart()||this.type===_.star)&&!this.canInsertSemicolon()){o=true}else{s="async"}}if(!s&&(t>=9||!o)&&this.eat(_.star)){a=true}if(!s&&!o&&!a){var c=this.value;if(this.eatContextual("get")||this.eatContextual("set")){if(this.isClassElementNameStart()){u=c}else{s=c}}}if(s){r.computed=false;r.key=this.startNodeAt(this.lastTokStart,this.lastTokStartLoc);r.key.name=s;this.finishNode(r.key,"Identifier")}else{this.parseClassElementName(r)}if(t<13||this.type===_.parenL||u!=="method"||a||o){var h=!r.static&&checkKeyName(r,"constructor");var p=h&&e;if(h&&u!=="method"){this.raise(r.key.start,"Constructor can't have get/set modifier")}r.kind=h?"constructor":u;this.parseClassMethod(r,a,o,p)}else{this.parseClassField(r)}return r};Z.isClassElementNameStart=function(){return this.type===_.name||this.type===_.privateId||this.type===_.num||this.type===_.string||this.type===_.bracketL||this.type.keyword};Z.parseClassElementName=function(e){if(this.type===_.privateId){if(this.value==="constructor"){this.raise(this.start,"Classes can't have an element named '#constructor'")}e.computed=false;e.key=this.parsePrivateIdent()}else{this.parsePropertyName(e)}};Z.parseClassMethod=function(e,t,r,s){var a=e.key;if(e.kind==="constructor"){if(t){this.raise(a.start,"Constructor can't be a generator")}if(r){this.raise(a.start,"Constructor can't be an async method")}}else if(e.static&&checkKeyName(e,"prototype")){this.raise(a.start,"Classes may not have a static property named prototype")}var o=e.value=this.parseMethod(t,r,s);if(e.kind==="get"&&o.params.length!==0){this.raiseRecoverable(o.start,"getter should have no params")}if(e.kind==="set"&&o.params.length!==1){this.raiseRecoverable(o.start,"setter should have exactly one param")}if(e.kind==="set"&&o.params[0].type==="RestElement"){this.raiseRecoverable(o.params[0].start,"Setter cannot use rest params")}return this.finishNode(e,"MethodDefinition")};Z.parseClassField=function(e){if(checkKeyName(e,"constructor")){this.raise(e.key.start,"Classes can't have a field named 'constructor'")}else if(e.static&&checkKeyName(e,"prototype")){this.raise(e.key.start,"Classes can't have a static field named 'prototype'")}if(this.eat(_.eq)){var t=this.currentThisScope();var r=t.inClassFieldInit;t.inClassFieldInit=true;e.value=this.parseMaybeAssign();t.inClassFieldInit=r}else{e.value=null}this.semicolon();return this.finishNode(e,"PropertyDefinition")};Z.parseClassId=function(e,t){if(this.type===_.name){e.id=this.parseIdent();if(t){this.checkLValSimple(e.id,H,false)}}else{if(t===true){this.unexpected()}e.id=null}};Z.parseClassSuper=function(e){e.superClass=this.eat(_._extends)?this.parseExprSubscripts():null};Z.enterClassBody=function(){var e={declared:Object.create(null),used:[]};this.privateNameStack.push(e);return e.declared};Z.exitClassBody=function(){var e=this.privateNameStack.pop();var t=e.declared;var r=e.used;var s=this.privateNameStack.length;var a=s===0?null:this.privateNameStack[s-1];for(var o=0;o=11){if(this.eatContextual("as")){e.exported=this.parseIdent(true);this.checkExport(t,e.exported.name,this.lastTokStart)}else{e.exported=null}}this.expectContextual("from");if(this.type!==_.string){this.unexpected()}e.source=this.parseExprAtom();this.semicolon();return this.finishNode(e,"ExportAllDeclaration")}if(this.eat(_._default)){this.checkExport(t,"default",this.lastTokStart);var r;if(this.type===_._function||(r=this.isAsyncFunction())){var s=this.startNode();this.next();if(r){this.next()}e.declaration=this.parseFunction(s,re|ne,false,r)}else if(this.type===_._class){var a=this.startNode();e.declaration=this.parseClass(a,"nullableID")}else{e.declaration=this.parseMaybeAssign();this.semicolon()}return this.finishNode(e,"ExportDefaultDeclaration")}if(this.shouldParseExportStatement()){e.declaration=this.parseStatement(null);if(e.declaration.type==="VariableDeclaration"){this.checkVariableExport(t,e.declaration.declarations)}else{this.checkExport(t,e.declaration.id.name,e.declaration.id.start)}e.specifiers=[];e.source=null}else{e.declaration=null;e.specifiers=this.parseExportSpecifiers(t);if(this.eatContextual("from")){if(this.type!==_.string){this.unexpected()}e.source=this.parseExprAtom()}else{for(var o=0,u=e.specifiers;o=6&&e){switch(e.type){case"Identifier":if(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";if(r){this.checkPatternErrors(r,true)}for(var s=0,a=e.properties;s=8&&!o&&u.name==="async"&&!this.canInsertSemicolon()&&this.eat(_._function)){return this.parseFunction(this.startNodeAt(s,a),0,false,true)}if(r&&!this.canInsertSemicolon()){if(this.eat(_.arrow)){return this.parseArrowExpression(this.startNodeAt(s,a),[u],false)}if(this.options.ecmaVersion>=8&&u.name==="async"&&this.type===_.name&&!o&&(!this.potentialArrowInForAwait||this.value!=="of"||this.containsEsc)){u=this.parseIdent(false);if(this.canInsertSemicolon()||!this.eat(_.arrow)){this.unexpected()}return this.parseArrowExpression(this.startNodeAt(s,a),[u],true)}}return u;case _.regexp:var c=this.value;t=this.parseLiteral(c.value);t.regex={pattern:c.pattern,flags:c.flags};return t;case _.num:case _.string:return this.parseLiteral(this.value);case _._null:case _._true:case _._false:t=this.startNode();t.value=this.type===_._null?null:this.type===_._true;t.raw=this.type.keyword;this.next();return this.finishNode(t,"Literal");case _.parenL:var h=this.start,p=this.parseParenAndDistinguishExpression(r);if(e){if(e.parenthesizedAssign<0&&!this.isSimpleAssignTarget(p)){e.parenthesizedAssign=h}if(e.parenthesizedBind<0){e.parenthesizedBind=h}}return p;case _.bracketL:t=this.startNode();this.next();t.elements=this.parseExprList(_.bracketR,true,true,e);return this.finishNode(t,"ArrayExpression");case _.braceL:return this.parseObj(false,e);case _._function:t=this.startNode();this.next();return this.parseFunction(t,0);case _._class:return this.parseClass(this.startNode(),false);case _._new:return this.parseNew();case _.backQuote:return this.parseTemplate();case _._import:if(this.options.ecmaVersion>=11){return this.parseExprImport()}else{return this.unexpected()}default:this.unexpected()}};ae.parseExprImport=function(){var e=this.startNode();if(this.containsEsc){this.raiseRecoverable(this.start,"Escape sequence in keyword import")}var t=this.parseIdent(true);switch(this.type){case _.parenL:return this.parseDynamicImport(e);case _.dot:e.meta=t;return this.parseImportMeta(e);default:this.unexpected()}};ae.parseDynamicImport=function(e){this.next();e.source=this.parseMaybeAssign();if(!this.eat(_.parenR)){var t=this.start;if(this.eat(_.comma)&&this.eat(_.parenR)){this.raiseRecoverable(t,"Trailing comma is not allowed in import()")}else{this.unexpected(t)}}return this.finishNode(e,"ImportExpression")};ae.parseImportMeta=function(e){this.next();var t=this.containsEsc;e.property=this.parseIdent(true);if(e.property.name!=="meta"){this.raiseRecoverable(e.property.start,"The only valid meta property for import is 'import.meta'")}if(t){this.raiseRecoverable(e.start,"'import.meta' must not contain escaped characters")}if(this.options.sourceType!=="module"&&!this.options.allowImportExportEverywhere){this.raiseRecoverable(e.start,"Cannot use 'import.meta' outside a module")}return this.finishNode(e,"MetaProperty")};ae.parseLiteral=function(e){var t=this.startNode();t.value=e;t.raw=this.input.slice(this.start,this.end);if(t.raw.charCodeAt(t.raw.length-1)===110){t.bigint=t.raw.slice(0,-1).replace(/_/g,"")}this.next();return this.finishNode(t,"Literal")};ae.parseParenExpression=function(){this.expect(_.parenL);var e=this.parseExpression();this.expect(_.parenR);return e};ae.parseParenAndDistinguishExpression=function(e){var t=this.start,r=this.startLoc,s,a=this.options.ecmaVersion>=8;if(this.options.ecmaVersion>=6){this.next();var o=this.start,u=this.startLoc;var c=[],h=true,p=false;var d=new DestructuringErrors,v=this.yieldPos,m=this.awaitPos,g;this.yieldPos=0;this.awaitPos=0;while(this.type!==_.parenR){h?h=false:this.expect(_.comma);if(a&&this.afterTrailingComma(_.parenR,true)){p=true;break}else if(this.type===_.ellipsis){g=this.start;c.push(this.parseParenItem(this.parseRestBinding()));if(this.type===_.comma){this.raise(this.start,"Comma is not permitted after the rest element")}break}else{c.push(this.parseMaybeAssign(false,d,this.parseParenItem))}}var y=this.start,E=this.startLoc;this.expect(_.parenR);if(e&&!this.canInsertSemicolon()&&this.eat(_.arrow)){this.checkPatternErrors(d,false);this.checkYieldAwaitInDefaultParams();this.yieldPos=v;this.awaitPos=m;return this.parseParenArrowList(t,r,c)}if(!c.length||p){this.unexpected(this.lastTokStart)}if(g){this.unexpected(g)}this.checkExpressionErrors(d,true);this.yieldPos=v||this.yieldPos;this.awaitPos=m||this.awaitPos;if(c.length>1){s=this.startNodeAt(o,u);s.expressions=c;this.finishNodeAt(s,"SequenceExpression",y,E)}else{s=c[0]}}else{s=this.parseParenExpression()}if(this.options.preserveParens){var x=this.startNodeAt(t,r);x.expression=s;return this.finishNode(x,"ParenthesizedExpression")}else{return s}};ae.parseParenItem=function(e){return e};ae.parseParenArrowList=function(e,t,r){return this.parseArrowExpression(this.startNodeAt(e,t),r)};var oe=[];ae.parseNew=function(){if(this.containsEsc){this.raiseRecoverable(this.start,"Escape sequence in keyword new")}var e=this.startNode();var t=this.parseIdent(true);if(this.options.ecmaVersion>=6&&this.eat(_.dot)){e.meta=t;var r=this.containsEsc;e.property=this.parseIdent(true);if(e.property.name!=="target"){this.raiseRecoverable(e.property.start,"The only valid meta property for new is 'new.target'")}if(r){this.raiseRecoverable(e.start,"'new.target' must not contain escaped characters")}if(!this.inNonArrowFunction){this.raiseRecoverable(e.start,"'new.target' can only be used in functions")}return this.finishNode(e,"MetaProperty")}var s=this.start,a=this.startLoc,o=this.type===_._import;e.callee=this.parseSubscripts(this.parseExprAtom(),s,a,true);if(o&&e.callee.type==="ImportExpression"){this.raise(s,"Cannot use new with import()")}if(this.eat(_.parenL)){e.arguments=this.parseExprList(_.parenR,this.options.ecmaVersion>=8,false)}else{e.arguments=oe}return this.finishNode(e,"NewExpression")};ae.parseTemplateElement=function(e){var t=e.isTagged;var r=this.startNode();if(this.type===_.invalidTemplate){if(!t){this.raiseRecoverable(this.start,"Bad escape sequence in untagged template literal")}r.value={raw:this.value,cooked:null}}else{r.value={raw:this.input.slice(this.start,this.end).replace(/\r\n?/g,"\n"),cooked:this.value}}this.next();r.tail=this.type===_.backQuote;return this.finishNode(r,"TemplateElement")};ae.parseTemplate=function(e){if(e===void 0)e={};var t=e.isTagged;if(t===void 0)t=false;var r=this.startNode();this.next();r.expressions=[];var s=this.parseTemplateElement({isTagged:t});r.quasis=[s];while(!s.tail){if(this.type===_.eof){this.raise(this.pos,"Unterminated template literal")}this.expect(_.dollarBraceL);r.expressions.push(this.parseExpression());this.expect(_.braceR);r.quasis.push(s=this.parseTemplateElement({isTagged:t}))}this.next();return this.finishNode(r,"TemplateLiteral")};ae.isAsyncProp=function(e){return!e.computed&&e.key.type==="Identifier"&&e.key.name==="async"&&(this.type===_.name||this.type===_.num||this.type===_.string||this.type===_.bracketL||this.type.keyword||this.options.ecmaVersion>=9&&this.type===_.star)&&!E.test(this.input.slice(this.lastTokEnd,this.start))};ae.parseObj=function(e,t){var r=this.startNode(),s=true,a={};r.properties=[];this.next();while(!this.eat(_.braceR)){if(!s){this.expect(_.comma);if(this.options.ecmaVersion>=5&&this.afterTrailingComma(_.braceR)){break}}else{s=false}var o=this.parseProperty(e,t);if(!e){this.checkPropClash(o,a,t)}r.properties.push(o)}return this.finishNode(r,e?"ObjectPattern":"ObjectExpression")};ae.parseProperty=function(e,t){var r=this.startNode(),s,a,o,u;if(this.options.ecmaVersion>=9&&this.eat(_.ellipsis)){if(e){r.argument=this.parseIdent(false);if(this.type===_.comma){this.raise(this.start,"Comma is not permitted after the rest element")}return this.finishNode(r,"RestElement")}if(this.type===_.parenL&&t){if(t.parenthesizedAssign<0){t.parenthesizedAssign=this.start}if(t.parenthesizedBind<0){t.parenthesizedBind=this.start}}r.argument=this.parseMaybeAssign(false,t);if(this.type===_.comma&&t&&t.trailingComma<0){t.trailingComma=this.start}return this.finishNode(r,"SpreadElement")}if(this.options.ecmaVersion>=6){r.method=false;r.shorthand=false;if(e||t){o=this.start;u=this.startLoc}if(!e){s=this.eat(_.star)}}var c=this.containsEsc;this.parsePropertyName(r);if(!e&&!c&&this.options.ecmaVersion>=8&&!s&&this.isAsyncProp(r)){a=true;s=this.options.ecmaVersion>=9&&this.eat(_.star);this.parsePropertyName(r,t)}else{a=false}this.parsePropertyValue(r,e,s,a,o,u,t,c);return this.finishNode(r,"Property")};ae.parsePropertyValue=function(e,t,r,s,a,o,u,c){if((r||s)&&this.type===_.colon){this.unexpected()}if(this.eat(_.colon)){e.value=t?this.parseMaybeDefault(this.start,this.startLoc):this.parseMaybeAssign(false,u);e.kind="init"}else if(this.options.ecmaVersion>=6&&this.type===_.parenL){if(t){this.unexpected()}e.kind="init";e.method=true;e.value=this.parseMethod(r,s)}else if(!t&&!c&&this.options.ecmaVersion>=5&&!e.computed&&e.key.type==="Identifier"&&(e.key.name==="get"||e.key.name==="set")&&(this.type!==_.comma&&this.type!==_.braceR&&this.type!==_.eq)){if(r||s){this.unexpected()}e.kind=e.key.name;this.parsePropertyName(e);e.value=this.parseMethod(false);var h=e.kind==="get"?0:1;if(e.value.params.length!==h){var p=e.value.start;if(e.kind==="get"){this.raiseRecoverable(p,"getter should have no params")}else{this.raiseRecoverable(p,"setter should have exactly one param")}}else{if(e.kind==="set"&&e.value.params[0].type==="RestElement"){this.raiseRecoverable(e.value.params[0].start,"Setter cannot use rest params")}}}else if(this.options.ecmaVersion>=6&&!e.computed&&e.key.type==="Identifier"){if(r||s){this.unexpected()}this.checkUnreserved(e.key);if(e.key.name==="await"&&!this.awaitIdentPos){this.awaitIdentPos=a}e.kind="init";if(t){e.value=this.parseMaybeDefault(a,o,this.copyNode(e.key))}else if(this.type===_.eq&&u){if(u.shorthandAssign<0){u.shorthandAssign=this.start}e.value=this.parseMaybeDefault(a,o,this.copyNode(e.key))}else{e.value=this.copyNode(e.key)}e.shorthand=true}else{this.unexpected()}};ae.parsePropertyName=function(e){if(this.options.ecmaVersion>=6){if(this.eat(_.bracketL)){e.computed=true;e.key=this.parseMaybeAssign();this.expect(_.bracketR);return e.key}else{e.computed=false}}return e.key=this.type===_.num||this.type===_.string?this.parseExprAtom():this.parseIdent(this.options.allowReserved!=="never")};ae.initFunction=function(e){e.id=null;if(this.options.ecmaVersion>=6){e.generator=e.expression=false}if(this.options.ecmaVersion>=8){e.async=false}};ae.parseMethod=function(e,t,r){var s=this.startNode(),a=this.yieldPos,o=this.awaitPos,u=this.awaitIdentPos;this.initFunction(s);if(this.options.ecmaVersion>=6){s.generator=e}if(this.options.ecmaVersion>=8){s.async=!!t}this.yieldPos=0;this.awaitPos=0;this.awaitIdentPos=0;this.enterScope(functionFlags(t,s.generator)|V|(r?q:0));this.expect(_.parenL);s.params=this.parseBindingList(_.parenR,false,this.options.ecmaVersion>=8);this.checkYieldAwaitInDefaultParams();this.parseFunctionBody(s,false,true);this.yieldPos=a;this.awaitPos=o;this.awaitIdentPos=u;return this.finishNode(s,"FunctionExpression")};ae.parseArrowExpression=function(e,t,r){var s=this.yieldPos,a=this.awaitPos,o=this.awaitIdentPos;this.enterScope(functionFlags(r,false)|j);this.initFunction(e);if(this.options.ecmaVersion>=8){e.async=!!r}this.yieldPos=0;this.awaitPos=0;this.awaitIdentPos=0;e.params=this.toAssignableList(t,true);this.parseFunctionBody(e,true,false);this.yieldPos=s;this.awaitPos=a;this.awaitIdentPos=o;return this.finishNode(e,"ArrowFunctionExpression")};ae.parseFunctionBody=function(e,t,r){var s=t&&this.type!==_.braceL;var a=this.strict,o=false;if(s){e.body=this.parseMaybeAssign();e.expression=true;this.checkParams(e,false)}else{var u=this.options.ecmaVersion>=7&&!this.isSimpleParamList(e.params);if(!a||u){o=this.strictDirective(this.end);if(o&&u){this.raiseRecoverable(e.start,"Illegal 'use strict' directive in function with non-simple parameter list")}}var c=this.labels;this.labels=[];if(o){this.strict=true}this.checkParams(e,!a&&!o&&!t&&!r&&this.isSimpleParamList(e.params));if(this.strict&&e.id){this.checkLValSimple(e.id,z)}e.body=this.parseBlock(false,undefined,o&&!a);e.expression=false;this.adaptDirectivePrologue(e.body.body);this.labels=c}this.exitScope()};ae.isSimpleParamList=function(e){for(var t=0,r=e;t-1||a.functions.indexOf(e)>-1||a.var.indexOf(e)>-1;a.lexical.push(e);if(this.inModule&&a.flags&B){delete this.undefinedExports[e]}}else if(t===W){var o=this.currentScope();o.lexical.push(e)}else if(t===G){var u=this.currentScope();if(this.treatFunctionsAsVar){s=u.lexical.indexOf(e)>-1}else{s=u.lexical.indexOf(e)>-1||u.var.indexOf(e)>-1}u.functions.push(e)}else{for(var c=this.scopeStack.length-1;c>=0;--c){var h=this.scopeStack[c];if(h.lexical.indexOf(e)>-1&&!(h.flags&M&&h.lexical[0]===e)||!this.treatFunctionsAsVarInScope(h)&&h.functions.indexOf(e)>-1){s=true;break}h.var.push(e);if(this.inModule&&h.flags&B){delete this.undefinedExports[e]}if(h.flags&O){break}}}if(s){this.raiseRecoverable(r,"Identifier '"+e+"' has already been declared")}};le.checkLocalExport=function(e){if(this.scopeStack[0].lexical.indexOf(e.name)===-1&&this.scopeStack[0].var.indexOf(e.name)===-1){this.undefinedExports[e.name]=e}};le.currentScope=function(){return this.scopeStack[this.scopeStack.length-1]};le.currentVarScope=function(){for(var e=this.scopeStack.length-1;;e--){var t=this.scopeStack[e];if(t.flags&O){return t}}};le.currentThisScope=function(){for(var e=this.scopeStack.length-1;;e--){var t=this.scopeStack[e];if(t.flags&O&&!(t.flags&j)){return t}}};var fe=function Node(e,t,r){this.type="";this.start=t;this.end=0;if(e.options.locations){this.loc=new R(e,r)}if(e.options.directSourceFile){this.sourceFile=e.options.directSourceFile}if(e.options.ranges){this.range=[t,0]}};var he=K.prototype;he.startNode=function(){return new fe(this,this.start,this.startLoc)};he.startNodeAt=function(e,t){return new fe(this,e,t)};function finishNodeAt(e,t,r,s){e.type=t;e.end=r;if(this.options.locations){e.loc.end=s}if(this.options.ranges){e.range[1]=r}return e}he.finishNode=function(e,t){return finishNodeAt.call(this,e,t,this.lastTokEnd,this.lastTokEndLoc)};he.finishNodeAt=function(e,t,r,s){return finishNodeAt.call(this,e,t,r,s)};he.copyNode=function(e){var t=new fe(this,e.start,this.startLoc);for(var r in e){t[r]=e[r]}return t};var pe=function TokContext(e,t,r,s,a){this.token=e;this.isExpr=!!t;this.preserveSpace=!!r;this.override=s;this.generator=!!a};var de={b_stat:new pe("{",false),b_expr:new pe("{",true),b_tmpl:new pe("${",false),p_stat:new pe("(",false),p_expr:new pe("(",true),q_tmpl:new pe("`",true,true,(function(e){return e.tryReadTemplateToken()})),f_stat:new pe("function",false),f_expr:new pe("function",true),f_expr_gen:new pe("function",true,false,null,true),f_gen:new pe("function",false,false,null,true)};var ve=K.prototype;ve.initialContext=function(){return[de.b_stat]};ve.braceIsBlock=function(e){var t=this.curContext();if(t===de.f_expr||t===de.f_stat){return true}if(e===_.colon&&(t===de.b_stat||t===de.b_expr)){return!t.isExpr}if(e===_._return||e===_.name&&this.exprAllowed){return E.test(this.input.slice(this.lastTokEnd,this.start))}if(e===_._else||e===_.semi||e===_.eof||e===_.parenR||e===_.arrow){return true}if(e===_.braceL){return t===de.b_stat}if(e===_._var||e===_._const||e===_.name){return false}return!this.exprAllowed};ve.inGeneratorContext=function(){for(var e=this.context.length-1;e>=1;e--){var t=this.context[e];if(t.token==="function"){return t.generator}}return false};ve.updateContext=function(e){var t,r=this.type;if(r.keyword&&e===_.dot){this.exprAllowed=false}else if(t=r.updateContext){t.call(this,e)}else{this.exprAllowed=r.beforeExpr}};_.parenR.updateContext=_.braceR.updateContext=function(){if(this.context.length===1){this.exprAllowed=true;return}var e=this.context.pop();if(e===de.b_stat&&this.curContext().token==="function"){e=this.context.pop()}this.exprAllowed=!e.isExpr};_.braceL.updateContext=function(e){this.context.push(this.braceIsBlock(e)?de.b_stat:de.b_expr);this.exprAllowed=true};_.dollarBraceL.updateContext=function(){this.context.push(de.b_tmpl);this.exprAllowed=true};_.parenL.updateContext=function(e){var t=e===_._if||e===_._for||e===_._with||e===_._while;this.context.push(t?de.p_stat:de.p_expr);this.exprAllowed=true};_.incDec.updateContext=function(){};_._function.updateContext=_._class.updateContext=function(e){if(e.beforeExpr&&e!==_._else&&!(e===_.semi&&this.curContext()!==de.p_stat)&&!(e===_._return&&E.test(this.input.slice(this.lastTokEnd,this.start)))&&!((e===_.colon||e===_.braceL)&&this.curContext()===de.b_stat)){this.context.push(de.f_expr)}else{this.context.push(de.f_stat)}this.exprAllowed=false};_.backQuote.updateContext=function(){if(this.curContext()===de.q_tmpl){this.context.pop()}else{this.context.push(de.q_tmpl)}this.exprAllowed=false};_.star.updateContext=function(e){if(e===_._function){var t=this.context.length-1;if(this.context[t]===de.f_expr){this.context[t]=de.f_expr_gen}else{this.context[t]=de.f_gen}}this.exprAllowed=true};_.name.updateContext=function(e){var t=false;if(this.options.ecmaVersion>=6&&e!==_.dot){if(this.value==="of"&&!this.exprAllowed||this.value==="yield"&&this.inGeneratorContext()){t=true}}this.exprAllowed=t};var me="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";var ge=me+" Extended_Pictographic";var be=ge;var ye=be+" EBase EComp EMod EPres ExtPict";var _e={9:me,10:ge,11:be,12:ye};var Ee="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";var xe="Adlam Adlm Ahom 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 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";var we=xe+" Dogra Dogr Gunjala_Gondi Gong Hanifi_Rohingya Rohg Makasar Maka Medefaidrin Medf Old_Sogdian Sogo Sogdian Sogd";var De=we+" Elymaic Elym Nandinagari Nand Nyiakeng_Puachue_Hmong Hmnp Wancho Wcho";var Ce=De+" Chorasmian Chrs Diak Dives_Akuru Khitan_Small_Script Kits Yezi Yezidi";var Ae={9:xe,10:we,11:De,12:Ce};var Se={};function buildUnicodeData(e){var t=Se[e]={binary:wordsRegexp(_e[e]+" "+Ee),nonBinary:{General_Category:wordsRegexp(Ee),Script:wordsRegexp(Ae[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}buildUnicodeData(9);buildUnicodeData(10);buildUnicodeData(11);buildUnicodeData(12);var ke=K.prototype;var Fe=function RegExpValidationState(e){this.parser=e;this.validFlags="gim"+(e.options.ecmaVersion>=6?"uy":"")+(e.options.ecmaVersion>=9?"s":"")+(e.options.ecmaVersion>=13?"d":"");this.unicodeProperties=Se[e.options.ecmaVersion>=12?12:e.options.ecmaVersion];this.source="";this.flags="";this.start=0;this.switchU=false;this.switchN=false;this.pos=0;this.lastIntValue=0;this.lastStringValue="";this.lastAssertionIsQuantifiable=false;this.numCapturingParens=0;this.maxBackReference=0;this.groupNames=[];this.backReferenceNames=[]};Fe.prototype.reset=function reset(e,t,r){var s=r.indexOf("u")!==-1;this.start=e|0;this.source=t+"";this.flags=r;this.switchU=s&&this.parser.options.ecmaVersion>=6;this.switchN=s&&this.parser.options.ecmaVersion>=9};Fe.prototype.raise=function raise(e){this.parser.raiseRecoverable(this.start,"Invalid regular expression: /"+this.source+"/: "+e)};Fe.prototype.at=function at(e,t){if(t===void 0)t=false;var r=this.source;var s=r.length;if(e>=s){return-1}var a=r.charCodeAt(e);if(!(t||this.switchU)||a<=55295||a>=57344||e+1>=s){return a}var o=r.charCodeAt(e+1);return o>=56320&&o<=57343?(a<<10)+o-56613888:a};Fe.prototype.nextIndex=function nextIndex(e,t){if(t===void 0)t=false;var r=this.source;var s=r.length;if(e>=s){return s}var a=r.charCodeAt(e),o;if(!(t||this.switchU)||a<=55295||a>=57344||e+1>=s||(o=r.charCodeAt(e+1))<56320||o>57343){return e+1}return e+2};Fe.prototype.current=function current(e){if(e===void 0)e=false;return this.at(this.pos,e)};Fe.prototype.lookahead=function lookahead(e){if(e===void 0)e=false;return this.at(this.nextIndex(this.pos,e),e)};Fe.prototype.advance=function advance(e){if(e===void 0)e=false;this.pos=this.nextIndex(this.pos,e)};Fe.prototype.eat=function eat(e,t){if(t===void 0)t=false;if(this.current(t)===e){this.advance(t);return true}return false};function codePointToString(e){if(e<=65535){return String.fromCharCode(e)}e-=65536;return String.fromCharCode((e>>10)+55296,(e&1023)+56320)}ke.validateRegExpFlags=function(e){var t=e.validFlags;var r=e.flags;for(var s=0;s-1){this.raise(e.start,"Duplicate regular expression flag")}}};ke.validateRegExpPattern=function(e){this.regexp_pattern(e);if(!e.switchN&&this.options.ecmaVersion>=9&&e.groupNames.length>0){e.switchN=true;this.regexp_pattern(e)}};ke.regexp_pattern=function(e){e.pos=0;e.lastIntValue=0;e.lastStringValue="";e.lastAssertionIsQuantifiable=false;e.numCapturingParens=0;e.maxBackReference=0;e.groupNames.length=0;e.backReferenceNames.length=0;this.regexp_disjunction(e);if(e.pos!==e.source.length){if(e.eat(41)){e.raise("Unmatched ')'")}if(e.eat(93)||e.eat(125)){e.raise("Lone quantifier brackets")}}if(e.maxBackReference>e.numCapturingParens){e.raise("Invalid escape")}for(var t=0,r=e.backReferenceNames;t=9){r=e.eat(60)}if(e.eat(61)||e.eat(33)){this.regexp_disjunction(e);if(!e.eat(41)){e.raise("Unterminated group")}e.lastAssertionIsQuantifiable=!r;return true}}e.pos=t;return false};ke.regexp_eatQuantifier=function(e,t){if(t===void 0)t=false;if(this.regexp_eatQuantifierPrefix(e,t)){e.eat(63);return true}return false};ke.regexp_eatQuantifierPrefix=function(e,t){return e.eat(42)||e.eat(43)||e.eat(63)||this.regexp_eatBracedQuantifier(e,t)};ke.regexp_eatBracedQuantifier=function(e,t){var r=e.pos;if(e.eat(123)){var s=0,a=-1;if(this.regexp_eatDecimalDigits(e)){s=e.lastIntValue;if(e.eat(44)&&this.regexp_eatDecimalDigits(e)){a=e.lastIntValue}if(e.eat(125)){if(a!==-1&&a=9){this.regexp_groupSpecifier(e)}else if(e.current()===63){e.raise("Invalid group")}this.regexp_disjunction(e);if(e.eat(41)){e.numCapturingParens+=1;return true}e.raise("Unterminated group")}return false};ke.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)};ke.regexp_eatInvalidBracedQuantifier=function(e){if(this.regexp_eatBracedQuantifier(e,true)){e.raise("Nothing to repeat")}return false};ke.regexp_eatSyntaxCharacter=function(e){var t=e.current();if(isSyntaxCharacter(t)){e.lastIntValue=t;e.advance();return true}return false};function isSyntaxCharacter(e){return e===36||e>=40&&e<=43||e===46||e===63||e>=91&&e<=94||e>=123&&e<=125}ke.regexp_eatPatternCharacters=function(e){var t=e.pos;var r=0;while((r=e.current())!==-1&&!isSyntaxCharacter(r)){e.advance()}return e.pos!==t};ke.regexp_eatExtendedPatternCharacter=function(e){var t=e.current();if(t!==-1&&t!==36&&!(t>=40&&t<=43)&&t!==46&&t!==63&&t!==91&&t!==94&&t!==124){e.advance();return true}return false};ke.regexp_groupSpecifier=function(e){if(e.eat(63)){if(this.regexp_eatGroupName(e)){if(e.groupNames.indexOf(e.lastStringValue)!==-1){e.raise("Duplicate capture group name")}e.groupNames.push(e.lastStringValue);return}e.raise("Invalid group")}};ke.regexp_eatGroupName=function(e){e.lastStringValue="";if(e.eat(60)){if(this.regexp_eatRegExpIdentifierName(e)&&e.eat(62)){return true}e.raise("Invalid capture group name")}return false};ke.regexp_eatRegExpIdentifierName=function(e){e.lastStringValue="";if(this.regexp_eatRegExpIdentifierStart(e)){e.lastStringValue+=codePointToString(e.lastIntValue);while(this.regexp_eatRegExpIdentifierPart(e)){e.lastStringValue+=codePointToString(e.lastIntValue)}return true}return false};ke.regexp_eatRegExpIdentifierStart=function(e){var t=e.pos;var r=this.options.ecmaVersion>=11;var s=e.current(r);e.advance(r);if(s===92&&this.regexp_eatRegExpUnicodeEscapeSequence(e,r)){s=e.lastIntValue}if(isRegExpIdentifierStart(s)){e.lastIntValue=s;return true}e.pos=t;return false};function isRegExpIdentifierStart(e){return isIdentifierStart(e,true)||e===36||e===95}ke.regexp_eatRegExpIdentifierPart=function(e){var t=e.pos;var r=this.options.ecmaVersion>=11;var s=e.current(r);e.advance(r);if(s===92&&this.regexp_eatRegExpUnicodeEscapeSequence(e,r)){s=e.lastIntValue}if(isRegExpIdentifierPart(s)){e.lastIntValue=s;return true}e.pos=t;return false};function isRegExpIdentifierPart(e){return isIdentifierChar(e,true)||e===36||e===95||e===8204||e===8205}ke.regexp_eatAtomEscape=function(e){if(this.regexp_eatBackReference(e)||this.regexp_eatCharacterClassEscape(e)||this.regexp_eatCharacterEscape(e)||e.switchN&&this.regexp_eatKGroupName(e)){return true}if(e.switchU){if(e.current()===99){e.raise("Invalid unicode escape")}e.raise("Invalid escape")}return false};ke.regexp_eatBackReference=function(e){var t=e.pos;if(this.regexp_eatDecimalEscape(e)){var r=e.lastIntValue;if(e.switchU){if(r>e.maxBackReference){e.maxBackReference=r}return true}if(r<=e.numCapturingParens){return true}e.pos=t}return false};ke.regexp_eatKGroupName=function(e){if(e.eat(107)){if(this.regexp_eatGroupName(e)){e.backReferenceNames.push(e.lastStringValue);return true}e.raise("Invalid named reference")}return false};ke.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,false)||!e.switchU&&this.regexp_eatLegacyOctalEscapeSequence(e)||this.regexp_eatIdentityEscape(e)};ke.regexp_eatCControlLetter=function(e){var t=e.pos;if(e.eat(99)){if(this.regexp_eatControlLetter(e)){return true}e.pos=t}return false};ke.regexp_eatZero=function(e){if(e.current()===48&&!isDecimalDigit(e.lookahead())){e.lastIntValue=0;e.advance();return true}return false};ke.regexp_eatControlEscape=function(e){var t=e.current();if(t===116){e.lastIntValue=9;e.advance();return true}if(t===110){e.lastIntValue=10;e.advance();return true}if(t===118){e.lastIntValue=11;e.advance();return true}if(t===102){e.lastIntValue=12;e.advance();return true}if(t===114){e.lastIntValue=13;e.advance();return true}return false};ke.regexp_eatControlLetter=function(e){var t=e.current();if(isControlLetter(t)){e.lastIntValue=t%32;e.advance();return true}return false};function isControlLetter(e){return e>=65&&e<=90||e>=97&&e<=122}ke.regexp_eatRegExpUnicodeEscapeSequence=function(e,t){if(t===void 0)t=false;var r=e.pos;var s=t||e.switchU;if(e.eat(117)){if(this.regexp_eatFixedHexDigits(e,4)){var a=e.lastIntValue;if(s&&a>=55296&&a<=56319){var o=e.pos;if(e.eat(92)&&e.eat(117)&&this.regexp_eatFixedHexDigits(e,4)){var u=e.lastIntValue;if(u>=56320&&u<=57343){e.lastIntValue=(a-55296)*1024+(u-56320)+65536;return true}}e.pos=o;e.lastIntValue=a}return true}if(s&&e.eat(123)&&this.regexp_eatHexDigits(e)&&e.eat(125)&&isValidUnicode(e.lastIntValue)){return true}if(s){e.raise("Invalid unicode escape")}e.pos=r}return false};function isValidUnicode(e){return e>=0&&e<=1114111}ke.regexp_eatIdentityEscape=function(e){if(e.switchU){if(this.regexp_eatSyntaxCharacter(e)){return true}if(e.eat(47)){e.lastIntValue=47;return true}return false}var t=e.current();if(t!==99&&(!e.switchN||t!==107)){e.lastIntValue=t;e.advance();return true}return false};ke.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 true}return false};ke.regexp_eatCharacterClassEscape=function(e){var t=e.current();if(isCharacterClassEscape(t)){e.lastIntValue=-1;e.advance();return true}if(e.switchU&&this.options.ecmaVersion>=9&&(t===80||t===112)){e.lastIntValue=-1;e.advance();if(e.eat(123)&&this.regexp_eatUnicodePropertyValueExpression(e)&&e.eat(125)){return true}e.raise("Invalid property name")}return false};function isCharacterClassEscape(e){return e===100||e===68||e===115||e===83||e===119||e===87}ke.regexp_eatUnicodePropertyValueExpression=function(e){var t=e.pos;if(this.regexp_eatUnicodePropertyName(e)&&e.eat(61)){var r=e.lastStringValue;if(this.regexp_eatUnicodePropertyValue(e)){var s=e.lastStringValue;this.regexp_validateUnicodePropertyNameAndValue(e,r,s);return true}}e.pos=t;if(this.regexp_eatLoneUnicodePropertyNameOrValue(e)){var a=e.lastStringValue;this.regexp_validateUnicodePropertyNameOrValue(e,a);return true}return false};ke.regexp_validateUnicodePropertyNameAndValue=function(e,t,r){if(!has(e.unicodeProperties.nonBinary,t)){e.raise("Invalid property name")}if(!e.unicodeProperties.nonBinary[t].test(r)){e.raise("Invalid property value")}};ke.regexp_validateUnicodePropertyNameOrValue=function(e,t){if(!e.unicodeProperties.binary.test(t)){e.raise("Invalid property name")}};ke.regexp_eatUnicodePropertyName=function(e){var t=0;e.lastStringValue="";while(isUnicodePropertyNameCharacter(t=e.current())){e.lastStringValue+=codePointToString(t);e.advance()}return e.lastStringValue!==""};function isUnicodePropertyNameCharacter(e){return isControlLetter(e)||e===95}ke.regexp_eatUnicodePropertyValue=function(e){var t=0;e.lastStringValue="";while(isUnicodePropertyValueCharacter(t=e.current())){e.lastStringValue+=codePointToString(t);e.advance()}return e.lastStringValue!==""};function isUnicodePropertyValueCharacter(e){return isUnicodePropertyNameCharacter(e)||isDecimalDigit(e)}ke.regexp_eatLoneUnicodePropertyNameOrValue=function(e){return this.regexp_eatUnicodePropertyValue(e)};ke.regexp_eatCharacterClass=function(e){if(e.eat(91)){e.eat(94);this.regexp_classRanges(e);if(e.eat(93)){return true}e.raise("Unterminated character class")}return false};ke.regexp_classRanges=function(e){while(this.regexp_eatClassAtom(e)){var t=e.lastIntValue;if(e.eat(45)&&this.regexp_eatClassAtom(e)){var r=e.lastIntValue;if(e.switchU&&(t===-1||r===-1)){e.raise("Invalid character class")}if(t!==-1&&r!==-1&&t>r){e.raise("Range out of order in character class")}}}};ke.regexp_eatClassAtom=function(e){var t=e.pos;if(e.eat(92)){if(this.regexp_eatClassEscape(e)){return true}if(e.switchU){var r=e.current();if(r===99||isOctalDigit(r)){e.raise("Invalid class escape")}e.raise("Invalid escape")}e.pos=t}var s=e.current();if(s!==93){e.lastIntValue=s;e.advance();return true}return false};ke.regexp_eatClassEscape=function(e){var t=e.pos;if(e.eat(98)){e.lastIntValue=8;return true}if(e.switchU&&e.eat(45)){e.lastIntValue=45;return true}if(!e.switchU&&e.eat(99)){if(this.regexp_eatClassControlLetter(e)){return true}e.pos=t}return this.regexp_eatCharacterClassEscape(e)||this.regexp_eatCharacterEscape(e)};ke.regexp_eatClassControlLetter=function(e){var t=e.current();if(isDecimalDigit(t)||t===95){e.lastIntValue=t%32;e.advance();return true}return false};ke.regexp_eatHexEscapeSequence=function(e){var t=e.pos;if(e.eat(120)){if(this.regexp_eatFixedHexDigits(e,2)){return true}if(e.switchU){e.raise("Invalid escape")}e.pos=t}return false};ke.regexp_eatDecimalDigits=function(e){var t=e.pos;var r=0;e.lastIntValue=0;while(isDecimalDigit(r=e.current())){e.lastIntValue=10*e.lastIntValue+(r-48);e.advance()}return e.pos!==t};function isDecimalDigit(e){return e>=48&&e<=57}ke.regexp_eatHexDigits=function(e){var t=e.pos;var r=0;e.lastIntValue=0;while(isHexDigit(r=e.current())){e.lastIntValue=16*e.lastIntValue+hexToInt(r);e.advance()}return e.pos!==t};function isHexDigit(e){return e>=48&&e<=57||e>=65&&e<=70||e>=97&&e<=102}function hexToInt(e){if(e>=65&&e<=70){return 10+(e-65)}if(e>=97&&e<=102){return 10+(e-97)}return e-48}ke.regexp_eatLegacyOctalEscapeSequence=function(e){if(this.regexp_eatOctalDigit(e)){var t=e.lastIntValue;if(this.regexp_eatOctalDigit(e)){var r=e.lastIntValue;if(t<=3&&this.regexp_eatOctalDigit(e)){e.lastIntValue=t*64+r*8+e.lastIntValue}else{e.lastIntValue=t*8+r}}else{e.lastIntValue=t}return true}return false};ke.regexp_eatOctalDigit=function(e){var t=e.current();if(isOctalDigit(t)){e.lastIntValue=t-48;e.advance();return true}e.lastIntValue=0;return false};function isOctalDigit(e){return e>=48&&e<=55}ke.regexp_eatFixedHexDigits=function(e,t){var r=e.pos;e.lastIntValue=0;for(var s=0;s=this.input.length){return this.finishToken(_.eof)}if(e.override){return e.override(this)}else{this.readToken(this.fullCharCodeAtPos())}};Te.readToken=function(e){if(isIdentifierStart(e,this.options.ecmaVersion>=6)||e===92){return this.readWord()}return this.getTokenFromCode(e)};Te.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};Te.skipBlockComment=function(){var e=this.options.onComment&&this.curPosition();var t=this.pos,r=this.input.indexOf("*/",this.pos+=2);if(r===-1){this.raise(this.pos-2,"Unterminated comment")}this.pos=r+2;if(this.options.locations){x.lastIndex=t;var s;while((s=x.exec(this.input))&&s.index8&&e<14||e>=5760&&w.test(String.fromCharCode(e))){++this.pos}else{break e}}}};Te.finishToken=function(e,t){this.end=this.pos;if(this.options.locations){this.endLoc=this.curPosition()}var r=this.type;this.type=e;this.value=t;this.updateContext(r)};Te.readToken_dot=function(){var e=this.input.charCodeAt(this.pos+1);if(e>=48&&e<=57){return this.readNumber(true)}var t=this.input.charCodeAt(this.pos+2);if(this.options.ecmaVersion>=6&&e===46&&t===46){this.pos+=3;return this.finishToken(_.ellipsis)}else{++this.pos;return this.finishToken(_.dot)}};Te.readToken_slash=function(){var e=this.input.charCodeAt(this.pos+1);if(this.exprAllowed){++this.pos;return this.readRegexp()}if(e===61){return this.finishOp(_.assign,2)}return this.finishOp(_.slash,1)};Te.readToken_mult_modulo_exp=function(e){var t=this.input.charCodeAt(this.pos+1);var r=1;var s=e===42?_.star:_.modulo;if(this.options.ecmaVersion>=7&&e===42&&t===42){++r;s=_.starstar;t=this.input.charCodeAt(this.pos+2)}if(t===61){return this.finishOp(_.assign,r+1)}return this.finishOp(s,r)};Te.readToken_pipe_amp=function(e){var t=this.input.charCodeAt(this.pos+1);if(t===e){if(this.options.ecmaVersion>=12){var r=this.input.charCodeAt(this.pos+2);if(r===61){return this.finishOp(_.assign,3)}}return this.finishOp(e===124?_.logicalOR:_.logicalAND,2)}if(t===61){return this.finishOp(_.assign,2)}return this.finishOp(e===124?_.bitwiseOR:_.bitwiseAND,1)};Te.readToken_caret=function(){var e=this.input.charCodeAt(this.pos+1);if(e===61){return this.finishOp(_.assign,2)}return this.finishOp(_.bitwiseXOR,1)};Te.readToken_plus_min=function(e){var t=this.input.charCodeAt(this.pos+1);if(t===e){if(t===45&&!this.inModule&&this.input.charCodeAt(this.pos+2)===62&&(this.lastTokEnd===0||E.test(this.input.slice(this.lastTokEnd,this.pos)))){this.skipLineComment(3);this.skipSpace();return this.nextToken()}return this.finishOp(_.incDec,2)}if(t===61){return this.finishOp(_.assign,2)}return this.finishOp(_.plusMin,1)};Te.readToken_lt_gt=function(e){var t=this.input.charCodeAt(this.pos+1);var r=1;if(t===e){r=e===62&&this.input.charCodeAt(this.pos+2)===62?3:2;if(this.input.charCodeAt(this.pos+r)===61){return this.finishOp(_.assign,r+1)}return this.finishOp(_.bitShift,r)}if(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();return this.nextToken()}if(t===61){r=2}return this.finishOp(_.relational,r)};Te.readToken_eq_excl=function(e){var t=this.input.charCodeAt(this.pos+1);if(t===61){return this.finishOp(_.equality,this.input.charCodeAt(this.pos+2)===61?3:2)}if(e===61&&t===62&&this.options.ecmaVersion>=6){this.pos+=2;return this.finishToken(_.arrow)}return this.finishOp(e===61?_.eq:_.prefix,1)};Te.readToken_question=function(){var e=this.options.ecmaVersion;if(e>=11){var t=this.input.charCodeAt(this.pos+1);if(t===46){var r=this.input.charCodeAt(this.pos+2);if(r<48||r>57){return this.finishOp(_.questionDot,2)}}if(t===63){if(e>=12){var s=this.input.charCodeAt(this.pos+2);if(s===61){return this.finishOp(_.assign,3)}}return this.finishOp(_.coalesce,2)}}return this.finishOp(_.question,1)};Te.readToken_numberSign=function(){var e=this.options.ecmaVersion;var t=35;if(e>=13){++this.pos;t=this.fullCharCodeAtPos();if(isIdentifierStart(t,true)||t===92){return this.finishToken(_.privateId,this.readWord1())}}this.raise(this.pos,"Unexpected character '"+codePointToString$1(t)+"'")};Te.getTokenFromCode=function(e){switch(e){case 46:return this.readToken_dot();case 40:++this.pos;return this.finishToken(_.parenL);case 41:++this.pos;return this.finishToken(_.parenR);case 59:++this.pos;return this.finishToken(_.semi);case 44:++this.pos;return this.finishToken(_.comma);case 91:++this.pos;return this.finishToken(_.bracketL);case 93:++this.pos;return this.finishToken(_.bracketR);case 123:++this.pos;return this.finishToken(_.braceL);case 125:++this.pos;return this.finishToken(_.braceR);case 58:++this.pos;return this.finishToken(_.colon);case 96:if(this.options.ecmaVersion<6){break}++this.pos;return this.finishToken(_.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(false);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(_.prefix,1);case 35:return this.readToken_numberSign()}this.raise(this.pos,"Unexpected character '"+codePointToString$1(e)+"'")};Te.finishOp=function(e,t){var r=this.input.slice(this.pos,this.pos+t);this.pos+=t;return this.finishToken(e,r)};Te.readRegexp=function(){var e,t,r=this.pos;for(;;){if(this.pos>=this.input.length){this.raise(r,"Unterminated regular expression")}var s=this.input.charAt(this.pos);if(E.test(s)){this.raise(r,"Unterminated regular expression")}if(!e){if(s==="["){t=true}else if(s==="]"&&t){t=false}else if(s==="/"&&!t){break}e=s==="\\"}else{e=false}++this.pos}var a=this.input.slice(r,this.pos);++this.pos;var o=this.pos;var u=this.readWord1();if(this.containsEsc){this.unexpected(o)}var c=this.regexpState||(this.regexpState=new Fe(this));c.reset(r,a,u);this.validateRegExpFlags(c);this.validateRegExpPattern(c);var h=null;try{h=new RegExp(a,u)}catch(e){}return this.finishToken(_.regexp,{pattern:a,flags:u,value:h})};Te.readInt=function(e,t,r){var s=this.options.ecmaVersion>=12&&t===undefined;var a=r&&this.input.charCodeAt(this.pos)===48;var o=this.pos,u=0,c=0;for(var h=0,p=t==null?Infinity:t;h=97){v=d-97+10}else if(d>=65){v=d-65+10}else if(d>=48&&d<=57){v=d-48}else{v=Infinity}if(v>=e){break}c=d;u=u*e+v}if(s&&c===95){this.raiseRecoverable(this.pos-1,"Numeric separator is not allowed at the last of digits")}if(this.pos===o||t!=null&&this.pos-o!==t){return null}return u};function stringToNumber(e,t){if(t){return parseInt(e,8)}return parseFloat(e.replace(/_/g,""))}function stringToBigInt(e){if(typeof BigInt!=="function"){return null}return BigInt(e.replace(/_/g,""))}Te.readRadixNumber=function(e){var t=this.pos;this.pos+=2;var r=this.readInt(e);if(r==null){this.raise(this.start+2,"Expected number in radix "+e)}if(this.options.ecmaVersion>=11&&this.input.charCodeAt(this.pos)===110){r=stringToBigInt(this.input.slice(t,this.pos));++this.pos}else if(isIdentifierStart(this.fullCharCodeAtPos())){this.raise(this.pos,"Identifier directly after number")}return this.finishToken(_.num,r)};Te.readNumber=function(e){var t=this.pos;if(!e&&this.readInt(10,undefined,true)===null){this.raise(t,"Invalid number")}var r=this.pos-t>=2&&this.input.charCodeAt(t)===48;if(r&&this.strict){this.raise(t,"Invalid number")}var s=this.input.charCodeAt(this.pos);if(!r&&!e&&this.options.ecmaVersion>=11&&s===110){var a=stringToBigInt(this.input.slice(t,this.pos));++this.pos;if(isIdentifierStart(this.fullCharCodeAtPos())){this.raise(this.pos,"Identifier directly after number")}return this.finishToken(_.num,a)}if(r&&/[89]/.test(this.input.slice(t,this.pos))){r=false}if(s===46&&!r){++this.pos;this.readInt(10);s=this.input.charCodeAt(this.pos)}if((s===69||s===101)&&!r){s=this.input.charCodeAt(++this.pos);if(s===43||s===45){++this.pos}if(this.readInt(10)===null){this.raise(t,"Invalid number")}}if(isIdentifierStart(this.fullCharCodeAtPos())){this.raise(this.pos,"Identifier directly after number")}var o=stringToNumber(this.input.slice(t,this.pos),r);return this.finishToken(_.num,o)};Te.readCodePoint=function(){var e=this.input.charCodeAt(this.pos),t;if(e===123){if(this.options.ecmaVersion<6){this.unexpected()}var r=++this.pos;t=this.readHexChar(this.input.indexOf("}",this.pos)-this.pos);++this.pos;if(t>1114111){this.invalidStringToken(r,"Code point out of bounds")}}else{t=this.readHexChar(4)}return t};function codePointToString$1(e){if(e<=65535){return String.fromCharCode(e)}e-=65536;return String.fromCharCode((e>>10)+55296,(e&1023)+56320)}Te.readString=function(e){var t="",r=++this.pos;for(;;){if(this.pos>=this.input.length){this.raise(this.start,"Unterminated string constant")}var s=this.input.charCodeAt(this.pos);if(s===e){break}if(s===92){t+=this.input.slice(r,this.pos);t+=this.readEscapedChar(false);r=this.pos}else{if(isNewLine(s,this.options.ecmaVersion>=10)){this.raise(this.start,"Unterminated string constant")}++this.pos}}t+=this.input.slice(r,this.pos++);return this.finishToken(_.string,t)};var Ie={};Te.tryReadTemplateToken=function(){this.inTemplateElement=true;try{this.readTmplToken()}catch(e){if(e===Ie){this.readInvalidTemplateToken()}else{throw e}}this.inTemplateElement=false};Te.invalidStringToken=function(e,t){if(this.inTemplateElement&&this.options.ecmaVersion>=9){throw Ie}else{this.raise(e,t)}};Te.readTmplToken=function(){var e="",t=this.pos;for(;;){if(this.pos>=this.input.length){this.raise(this.start,"Unterminated template")}var r=this.input.charCodeAt(this.pos);if(r===96||r===36&&this.input.charCodeAt(this.pos+1)===123){if(this.pos===this.start&&(this.type===_.template||this.type===_.invalidTemplate)){if(r===36){this.pos+=2;return this.finishToken(_.dollarBraceL)}else{++this.pos;return this.finishToken(_.backQuote)}}e+=this.input.slice(t,this.pos);return this.finishToken(_.template,e)}if(r===92){e+=this.input.slice(t,this.pos);e+=this.readEscapedChar(true);t=this.pos}else if(isNewLine(r)){e+=this.input.slice(t,this.pos);++this.pos;switch(r){case 13:if(this.input.charCodeAt(this.pos)===10){++this.pos}case 10:e+="\n";break;default:e+=String.fromCharCode(r);break}if(this.options.locations){++this.curLine;this.lineStart=this.pos}t=this.pos}else{++this.pos}}};Te.readInvalidTemplateToken=function(){for(;this.pos=48&&t<=55){var s=this.input.substr(this.pos-1,3).match(/^[0-7]+/)[0];var a=parseInt(s,8);if(a>255){s=s.slice(0,-1);a=parseInt(s,8)}this.pos+=s.length-1;t=this.input.charCodeAt(this.pos);if((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")}return String.fromCharCode(a)}if(isNewLine(t)){return""}return String.fromCharCode(t)}};Te.readHexChar=function(e){var t=this.pos;var r=this.readInt(16,e);if(r===null){this.invalidStringToken(t,"Bad character escape sequence")}return r};Te.readWord1=function(){this.containsEsc=false;var e="",t=true,r=this.pos;var s=this.options.ecmaVersion>=6;while(this.pos{"use strict";t.TrackerGroup=r(660);t.Tracker=r(8074);t.TrackerStream=r(1375)},165:(e,t,r)=>{"use strict";var s=r(8614).EventEmitter;var a=r(1669);var o=0;var u=e.exports=function(e){s.call(this);this.id=++o;this.name=e};a.inherits(u,s)},660:(e,t,r)=>{"use strict";var s=r(1669);var a=r(165);var o=r(8074);var u=r(1375);var c=e.exports=function(e){a.call(this,e);this.parentGroup=null;this.trackers=[];this.completion={};this.weight={};this.totalWeight=0;this.finished=false;this.bubbleChange=bubbleChange(this)};s.inherits(c,a);function bubbleChange(e){return function(t,r,s){e.completion[s.id]=r;if(e.finished)return;e.emit("change",t||e.name,e.completed(),e)}}c.prototype.nameInTree=function(){var e=[];var t=this;while(t){e.unshift(t.name);t=t.parentGroup}return e.join("/")};c.prototype.addUnit=function(e,t){if(e.addUnit){var r=this;while(r){if(e===r){throw new Error("Attempted to add tracker group "+e.name+" to tree that already includes it "+this.nameInTree(this))}r=r.parentGroup}e.parentGroup=this}this.weight[e.id]=t||1;this.totalWeight+=this.weight[e.id];this.trackers.push(e);this.completion[e.id]=e.completed();e.on("change",this.bubbleChange);if(!this.finished)this.emit("change",e.name,this.completion[e.id],e);return e};c.prototype.completed=function(){if(this.trackers.length===0)return 0;var e=1/this.totalWeight;var t=0;for(var r=0;r{"use strict";var s=r(1669);var a=r(1642);var o=r(1318);var u=r(8074);var c=e.exports=function(e,t,r){a.Transform.call(this,r);this.tracker=new u(e,t);this.name=e;this.id=this.tracker.id;this.tracker.on("change",delegateChange(this))};s.inherits(c,a.Transform);function delegateChange(e){return function(t,r,s){e.emit("change",t,r,e)}}c.prototype._transform=function(e,t,r){this.tracker.completeWork(e.length?e.length:1);this.push(e);r()};c.prototype._flush=function(e){this.tracker.finish();e()};o(c.prototype,"tracker").method("completed").method("addWork").method("finish")},8074:(e,t,r)=>{"use strict";var s=r(1669);var a=r(165);var o=e.exports=function(e,t){a.call(this,e);this.workDone=0;this.workTodo=t||0};s.inherits(o,a);o.prototype.completed=function(){return this.workTodo===0?0:this.workDone/this.workTodo};o.prototype.addWork=function(e){this.workTodo+=e;this.emit("change",this.name,this.completed(),this)};o.prototype.completeWork=function(e){this.workDone+=e;if(this.workDone>this.workTodo)this.workDone=this.workTodo;this.emit("change",this.name,this.completed(),this)};o.prototype.finish=function(){this.workTodo=this.workDone=1;this.emit("change",this.name,1,this)}},9417:e=>{"use strict";e.exports=balanced;function balanced(e,t,r){if(e instanceof RegExp)e=maybeMatch(e,r);if(t instanceof RegExp)t=maybeMatch(t,r);var s=range(e,t,r);return s&&{start:s[0],end:s[1],pre:r.slice(0,s[0]),body:r.slice(s[0]+e.length,s[1]),post:r.slice(s[1]+t.length)}}function maybeMatch(e,t){var r=t.match(e);return r?r[0]:null}balanced.range=range;function range(e,t,r){var s,a,o,u,c;var h=r.indexOf(e);var p=r.indexOf(t,h+1);var d=h;if(h>=0&&p>0){s=[];o=r.length;while(d>=0&&!c){if(d==h){s.push(d);h=r.indexOf(e,d+1)}else if(s.length==1){c=[s.pop(),p]}else{a=s.pop();if(a=0?h:p}if(s.length){c=[o,u]}}return c}},8738:function(e){(function(t){"use strict";var r,s=20,a=1,o=1e6,u=1e6,c=-7,h=21,p="[big.js] ",d=p+"Invalid ",v=d+"decimal places",m=d+"rounding mode",g=p+"Division by zero",y={},_=void 0,E=/^-?(\d+(\.\d*)?|\.\d+)(e[+-]?\d+)?$/i;function _Big_(){function Big(e){var t=this;if(!(t instanceof Big))return e===_?_Big_():new Big(e);if(e instanceof Big){t.s=e.s;t.e=e.e;t.c=e.c.slice()}else{parse(t,e)}t.constructor=Big}Big.prototype=y;Big.DP=s;Big.RM=a;Big.NE=c;Big.PE=h;Big.version="5.2.2";return Big}function parse(e,t){var r,s,a;if(t===0&&1/t<0)t="-0";else if(!E.test(t+=""))throw Error(d+"number");e.s=t.charAt(0)=="-"?(t=t.slice(1),-1):1;if((r=t.indexOf("."))>-1)t=t.replace(".","");if((s=t.search(/e/i))>0){if(r<0)r=s;r+=+t.slice(s+1);t=t.substring(0,s)}else if(r<0){r=t.length}a=t.length;for(s=0;s0&&t.charAt(--a)=="0";);e.e=r-s-1;e.c=[];for(r=0;s<=a;)e.c[r++]=+t.charAt(s++)}return e}function round(e,t,r,s){var a=e.c,o=e.e+t+1;if(o=5}else if(r===2){s=a[o]>5||a[o]==5&&(s||o<0||a[o+1]!==_||a[o-1]&1)}else if(r===3){s=s||!!a[0]}else{s=false;if(r!==0)throw Error(m)}if(o<1){a.length=1;if(s){e.e=-t;a[0]=1}else{a[0]=e.e=0}}else{a.length=o--;if(s){for(;++a[o]>9;){a[o]=0;if(!o--){++e.e;a.unshift(1)}}}for(o=a.length;!a[--o];)a.pop()}}else if(r<0||r>3||r!==~~r){throw Error(m)}return e}function stringify(e,t,r,s){var a,u,c=e.constructor,h=!e.c[0];if(r!==_){if(r!==~~r||r<(t==3)||r>o){throw Error(t==3?d+"precision":v)}e=new c(e);r=s-e.e;if(e.c.length>++s)round(e,r,c.RM);if(t==2)s=e.e+r+1;for(;e.c.length=c.PE)){u=u.charAt(0)+(r>1?"."+u.slice(1):"")+(a<0?"e":"e+")+a}else if(a<0){for(;++a;)u="0"+u;u="0."+u}else if(a>0){if(++a>r)for(a-=r;a--;)u+="0";else if(a1){u=u.charAt(0)+"."+u.slice(1)}return e.s<0&&(!h||t==4)?"-"+u:u}y.abs=function(){var e=new this.constructor(this);e.s=1;return e};y.cmp=function(e){var t,r=this,s=r.c,a=(e=new r.constructor(e)).c,o=r.s,u=e.s,c=r.e,h=e.e;if(!s[0]||!a[0])return!s[0]?!a[0]?0:-u:o;if(o!=u)return o;t=o<0;if(c!=h)return c>h^t?1:-1;u=(c=s.length)<(h=a.length)?c:h;for(o=-1;++oa[o]^t?1:-1}return c==h?0:c>h^t?1:-1};y.div=function(e){var t=this,r=t.constructor,s=t.c,a=(e=new r(e)).c,u=t.s==e.s?1:-1,c=r.DP;if(c!==~~c||c<0||c>o)throw Error(v);if(!a[0])throw Error(g);if(!s[0])return new r(u*0);var h,p,d,m,y,E=a.slice(),x=h=a.length,w=s.length,D=s.slice(0,h),C=D.length,A=e,S=A.c=[],k=0,F=c+(A.e=t.e-e.e)+1;A.s=u;u=F<0?0:F;E.unshift(0);for(;C++C?1:-1}else{for(y=-1,m=0;++yD[y]?1:-1;break}}}if(m<0){for(p=C==h?a:E;C;){if(D[--C]F)round(A,c,r.RM,D[0]!==_);return A};y.eq=function(e){return!this.cmp(e)};y.gt=function(e){return this.cmp(e)>0};y.gte=function(e){return this.cmp(e)>-1};y.lt=function(e){return this.cmp(e)<0};y.lte=function(e){return this.cmp(e)<1};y.minus=y.sub=function(e){var t,r,s,a,o=this,u=o.constructor,c=o.s,h=(e=new u(e)).s;if(c!=h){e.s=-h;return o.plus(e)}var p=o.c.slice(),d=o.e,v=e.c,m=e.e;if(!p[0]||!v[0]){return v[0]?(e.s=-h,e):new u(p[0]?o:0)}if(c=d-m){if(a=c<0){c=-c;s=p}else{m=d;s=v}s.reverse();for(h=c;h--;)s.push(0);s.reverse()}else{r=((a=p.length0)for(;h--;)p[t++]=0;for(h=t;r>c;){if(p[--r]0){h=u;t=p}else{a=-a;t=c}t.reverse();for(;a--;)t.push(0);t.reverse()}if(c.length-p.length<0){t=p;p=c;c=t}a=p.length;for(o=0;a;c[a]%=10)o=(c[--a]=c[a]+p[a]+o)/10|0;if(o){c.unshift(o);++h}for(a=c.length;c[--a]===0;)c.pop();e.c=c;e.e=h;return e};y.pow=function(e){var t=this,r=new t.constructor(1),s=r,a=e<0;if(e!==~~e||e<-u||e>u)throw Error(d+"exponent");if(a)e=-e;for(;;){if(e&1)s=s.times(t);e>>=1;if(!e)break;t=t.times(t)}return a?r.div(s):s};y.round=function(e,t){var r=this.constructor;if(e===_)e=0;else if(e!==~~e||e<-o||e>o)throw Error(v);return round(new r(this),e,t===_?r.RM:t)};y.sqrt=function(){var e,t,r,s=this,a=s.constructor,o=s.s,u=s.e,c=new a(.5);if(!s.c[0])return new a(s);if(o<0)throw Error(p+"No square root");o=Math.sqrt(s+"");if(o===0||o===1/0){t=s.c.join("");if(!(t.length+u&1))t+="0";o=Math.sqrt(t);u=((u+1)/2|0)-(u<0||u&1);e=new a((o==1/0?"1e":(o=o.toExponential()).slice(0,o.indexOf("e")+1))+u)}else{e=new a(o)}u=e.e+(a.DP+=4);do{r=e;e=c.times(r.plus(s.div(r)))}while(r.c.slice(0,u).join("")!==e.c.slice(0,u).join(""));return round(e,a.DP-=4,a.RM)};y.times=y.mul=function(e){var t,r=this,s=r.constructor,a=r.c,o=(e=new s(e)).c,u=a.length,c=o.length,h=r.e,p=e.e;e.s=r.s==e.s?1:-1;if(!a[0]||!o[0])return new s(e.s*0);e.e=h+p;if(uh;){c=t[p]+o[h]*a[p-h-1]+c;t[p--]=c%10;c=c/10|0}t[p]=(t[p]+c)%10}if(c)++e.e;else t.shift();for(h=t.length;!t[--h];)t.pop();e.c=t;return e};y.toExponential=function(e){return stringify(this,1,e,e)};y.toFixed=function(e){return stringify(this,2,e,this.e+e)};y.toPrecision=function(e){return stringify(this,3,e,e-1)};y.toString=function(){return stringify(this)};y.valueOf=y.toJSON=function(){return stringify(this,4)};r=_Big_();r["default"]=r.Big=r;if(typeof define==="function"&&define.amd){define((function(){return r}))}else if(true&&e.exports){e.exports=r}else{t.Big=r}})(this)},8384:(module,exports,__nested_webpack_require_255586__)=>{var fs=__nested_webpack_require_255586__(5747),path=__nested_webpack_require_255586__(5622),fileURLToPath=__nested_webpack_require_255586__(912),join=path.join,dirname=path.dirname,exists=fs.accessSync&&function(e){try{fs.accessSync(e)}catch(e){return false}return true}||fs.existsSync||path.existsSync,defaults={arrow:process.env.NODE_BINDINGS_ARROW||" → ",compiled:process.env.NODE_BINDINGS_COMPILED_DIR||"compiled",platform:process.platform,arch:process.arch,nodePreGyp:"node-v"+process.versions.modules+"-"+process.platform+"-"+process.arch,version:process.versions.node,bindings:"bindings.node",try:[["module_root","build","bindings"],["module_root","build","Debug","bindings"],["module_root","build","Release","bindings"],["module_root","out","Debug","bindings"],["module_root","Debug","bindings"],["module_root","out","Release","bindings"],["module_root","Release","bindings"],["module_root","build","default","bindings"],["module_root","compiled","version","platform","arch","bindings"],["module_root","addon-build","release","install-root","bindings"],["module_root","addon-build","debug","install-root","bindings"],["module_root","addon-build","default","install-root","bindings"],["module_root","lib","binding","nodePreGyp","bindings"]]};function bindings(opts){if(typeof opts=="string"){opts={bindings:opts}}else if(!opts){opts={}}Object.keys(defaults).map((function(e){if(!(e in opts))opts[e]=defaults[e]}));if(!opts.module_root){opts.module_root=exports.getRoot(exports.getFileName())}if(path.extname(opts.bindings)!=".node"){opts.bindings+=".node"}var requireFunc=true?eval("require"):0;var tries=[],i=0,l=opts.try.length,n,b,err;for(;i{var s=r(6891);var a=r(9417);e.exports=expandTop;var o="\0SLASH"+Math.random()+"\0";var u="\0OPEN"+Math.random()+"\0";var c="\0CLOSE"+Math.random()+"\0";var h="\0COMMA"+Math.random()+"\0";var p="\0PERIOD"+Math.random()+"\0";function numeric(e){return parseInt(e,10)==e?parseInt(e,10):e.charCodeAt(0)}function escapeBraces(e){return e.split("\\\\").join(o).split("\\{").join(u).split("\\}").join(c).split("\\,").join(h).split("\\.").join(p)}function unescapeBraces(e){return e.split(o).join("\\").split(u).join("{").split(c).join("}").split(h).join(",").split(p).join(".")}function parseCommaParts(e){if(!e)return[""];var t=[];var r=a("{","}",e);if(!r)return e.split(",");var s=r.pre;var o=r.body;var u=r.post;var c=s.split(",");c[c.length-1]+="{"+o+"}";var h=parseCommaParts(u);if(u.length){c[c.length-1]+=h.shift();c.push.apply(c,h)}t.push.apply(t,c);return t}function expandTop(e){if(!e)return[];if(e.substr(0,2)==="{}"){e="\\{\\}"+e.substr(2)}return expand(escapeBraces(e),true).map(unescapeBraces)}function identity(e){return e}function embrace(e){return"{"+e+"}"}function isPadded(e){return/^-?0\d/.test(e)}function lte(e,t){return e<=t}function gte(e,t){return e>=t}function expand(e,t){var r=[];var o=a("{","}",e);if(!o||/\$$/.test(o.pre))return[e];var u=/^-?\d+\.\.-?\d+(?:\.\.-?\d+)?$/.test(o.body);var h=/^[a-zA-Z]\.\.[a-zA-Z](?:\.\.-?\d+)?$/.test(o.body);var p=u||h;var d=o.body.indexOf(",")>=0;if(!p&&!d){if(o.post.match(/,.*\}/)){e=o.pre+"{"+o.body+c+o.post;return expand(e)}return[e]}var v;if(p){v=o.body.split(/\.\./)}else{v=parseCommaParts(o.body);if(v.length===1){v=expand(v[0],false).map(embrace);if(v.length===1){var m=o.post.length?expand(o.post,false):[""];return m.map((function(e){return o.pre+v[0]+e}))}}}var g=o.pre;var m=o.post.length?expand(o.post,false):[""];var y;if(p){var _=numeric(v[0]);var E=numeric(v[1]);var x=Math.max(v[0].length,v[1].length);var w=v.length==3?Math.abs(numeric(v[2])):1;var D=lte;var C=E<_;if(C){w*=-1;D=gte}var A=v.some(isPadded);y=[];for(var S=_;D(S,E);S+=w){var k;if(h){k=String.fromCharCode(S);if(k==="\\")k=""}else{k=String(S);if(A){var F=x-k.length;if(F>0){var R=new Array(F+1).join("0");if(S<0)k="-"+R+k.slice(1);else k=R+k}}}y.push(k)}}else{y=s(v,(function(e){return expand(e,false)}))}for(var T=0;T{"use strict";e.exports=function(e,t){if(e===null||e===undefined){throw TypeError()}e=String(e);var r=e.length;var s=t?Number(t):0;if(Number.isNaN(s)){s=0}if(s<0||s>=r){return undefined}var a=e.charCodeAt(s);if(a>=55296&&a<=56319&&r>s+1){var o=e.charCodeAt(s+1);if(o>=56320&&o<=57343){return(a-55296)*1024+o-56320+65536}}return a}},6891:e=>{e.exports=function(e,r){var s=[];for(var a=0;a{"use strict";var r="[";t.up=function up(e){return r+(e||"")+"A"};t.down=function down(e){return r+(e||"")+"B"};t.forward=function forward(e){return r+(e||"")+"C"};t.back=function back(e){return r+(e||"")+"D"};t.nextLine=function nextLine(e){return r+(e||"")+"E"};t.previousLine=function previousLine(e){return r+(e||"")+"F"};t.horizontalAbsolute=function horizontalAbsolute(e){if(e==null)throw new Error("horizontalAboslute requires a column to position to");return r+e+"G"};t.eraseData=function eraseData(){return r+"J"};t.eraseLine=function eraseLine(){return r+"K"};t.goto=function(e,t){return r+t+";"+e+"H"};t.gotoSOL=function(){return"\r"};t.beep=function(){return""};t.hideCursor=function hideCursor(){return r+"?25l"};t.showCursor=function showCursor(){return r+"?25h"};var s={reset:0,bold:1,italic:3,underline:4,inverse:7,stopBold:22,stopItalic:23,stopUnderline:24,stopInverse:27,white:37,black:30,blue:34,cyan:36,green:32,magenta:35,red:31,yellow:33,bgWhite:47,bgBlack:40,bgBlue:44,bgCyan:46,bgGreen:42,bgMagenta:45,bgRed:41,bgYellow:43,grey:90,brightBlack:90,brightRed:91,brightGreen:92,brightYellow:93,brightBlue:94,brightMagenta:95,brightCyan:96,brightWhite:97,bgGrey:100,bgBrightBlack:100,bgBrightRed:101,bgBrightGreen:102,bgBrightYellow:103,bgBrightBlue:104,bgBrightMagenta:105,bgBrightCyan:106,bgBrightWhite:107};t.color=function color(e){if(arguments.length!==1||!Array.isArray(e)){e=Array.prototype.slice.call(arguments)}return r+e.map(colorNameToCode).join(";")+"m"};function colorNameToCode(e){if(s[e]!=null)return s[e];throw new Error("Unknown color or style name: "+e)}},5898:(e,t)=>{function isArray(e){if(Array.isArray){return Array.isArray(e)}return objectToString(e)==="[object Array]"}t.isArray=isArray;function isBoolean(e){return typeof e==="boolean"}t.isBoolean=isBoolean;function isNull(e){return e===null}t.isNull=isNull;function isNullOrUndefined(e){return e==null}t.isNullOrUndefined=isNullOrUndefined;function isNumber(e){return typeof e==="number"}t.isNumber=isNumber;function isString(e){return typeof e==="string"}t.isString=isString;function isSymbol(e){return typeof e==="symbol"}t.isSymbol=isSymbol;function isUndefined(e){return e===void 0}t.isUndefined=isUndefined;function isRegExp(e){return objectToString(e)==="[object RegExp]"}t.isRegExp=isRegExp;function isObject(e){return typeof e==="object"&&e!==null}t.isObject=isObject;function isDate(e){return objectToString(e)==="[object Date]"}t.isDate=isDate;function isError(e){return objectToString(e)==="[object Error]"||e instanceof Error}t.isError=isError;function isFunction(e){return typeof e==="function"}t.isFunction=isFunction;function isPrimitive(e){return e===null||typeof e==="boolean"||typeof e==="number"||typeof e==="string"||typeof e==="symbol"||typeof e==="undefined"}t.isPrimitive=isPrimitive;t.isBuffer=Buffer.isBuffer;function objectToString(e){return Object.prototype.toString.call(e)}},1318:e=>{e.exports=Delegator;function Delegator(e,t){if(!(this instanceof Delegator))return new Delegator(e,t);this.proto=e;this.target=t;this.methods=[];this.getters=[];this.setters=[];this.fluents=[]}Delegator.prototype.method=function(e){var t=this.proto;var r=this.target;this.methods.push(e);t[e]=function(){return this[r][e].apply(this[r],arguments)};return this};Delegator.prototype.access=function(e){return this.getter(e).setter(e)};Delegator.prototype.getter=function(e){var t=this.proto;var r=this.target;this.getters.push(e);t.__defineGetter__(e,(function(){return this[r][e]}));return this};Delegator.prototype.setter=function(e){var t=this.proto;var r=this.target;this.setters.push(e);t.__defineSetter__(e,(function(t){return this[r][e]=t}));return this};Delegator.prototype.fluent=function(e){var t=this.proto;var r=this.target;this.fluents.push(e);t[e]=function(t){if("undefined"!=typeof t){this[r][e]=t;return this}else{return this[r][e]}};return this}},4889:(e,t,r)=>{"use strict";var s=r(2087).platform();var a=r(3129).spawnSync;var o=r(5747).readdirSync;var u="glibc";var c="musl";var h={encoding:"utf8",env:process.env};if(!a){a=function(){return{status:126,stdout:"",stderr:""}}}function contains(e){return function(t){return t.indexOf(e)!==-1}}function versionFromMuslLdd(e){return e.split(/[\r\n]+/)[1].trim().split(/\s/)[1]}function safeReaddirSync(e){try{return o(e)}catch(e){}return[]}var p="";var d="";var v="";if(s==="linux"){var m=a("getconf",["GNU_LIBC_VERSION"],h);if(m.status===0){p=u;d=m.stdout.trim().split(" ")[1];v="getconf"}else{var g=a("ldd",["--version"],h);if(g.status===0&&g.stdout.indexOf(c)!==-1){p=c;d=versionFromMuslLdd(g.stdout);v="ldd"}else if(g.status===1&&g.stderr.indexOf(c)!==-1){p=c;d=versionFromMuslLdd(g.stderr);v="ldd"}else{var y=safeReaddirSync("/lib");if(y.some(contains("-linux-gnu"))){p=u;v="filesystem"}else if(y.some(contains("libc.musl-"))){p=c;v="filesystem"}else if(y.some(contains("ld-musl-"))){p=c;v="filesystem"}else{var _=safeReaddirSync("/usr/sbin");if(_.some(contains("glibc"))){p=u;v="filesystem"}}}}}var E=p!==""&&p!==u;e.exports={GLIBC:u,MUSL:c,family:p,version:d,method:v,isNonGlibcLinux:E}},3887:e=>{e.exports=["🀄","🃏","🅰","🅱","🅾","🅿","🆎","🆑","🆒","🆓","🆔","🆕","🆖","🆗","🆘","🆙","🆚","🇦🇨","🇦🇩","🇦🇪","🇦🇫","🇦🇬","🇦🇮","🇦🇱","🇦🇲","🇦🇴","🇦🇶","🇦🇷","🇦🇸","🇦🇹","🇦🇺","🇦🇼","🇦🇽","🇦🇿","🇦","🇧🇦","🇧🇧","🇧🇩","🇧🇪","🇧🇫","🇧🇬","🇧🇭","🇧🇮","🇧🇯","🇧🇱","🇧🇲","🇧🇳","🇧🇴","🇧🇶","🇧🇷","🇧🇸","🇧🇹","🇧🇻","🇧🇼","🇧🇾","🇧🇿","🇧","🇨🇦","🇨🇨","🇨🇩","🇨🇫","🇨🇬","🇨🇭","🇨🇮","🇨🇰","🇨🇱","🇨🇲","🇨🇳","🇨🇴","🇨🇵","🇨🇷","🇨🇺","🇨🇻","🇨🇼","🇨🇽","🇨🇾","🇨🇿","🇨","🇩🇪","🇩🇬","🇩🇯","🇩🇰","🇩🇲","🇩🇴","🇩🇿","🇩","🇪🇦","🇪🇨","🇪🇪","🇪🇬","🇪🇭","🇪🇷","🇪🇸","🇪🇹","🇪🇺","🇪","🇫🇮","🇫🇯","🇫🇰","🇫🇲","🇫🇴","🇫🇷","🇫","🇬🇦","🇬🇧","🇬🇩","🇬🇪","🇬🇫","🇬🇬","🇬🇭","🇬🇮","🇬🇱","🇬🇲","🇬🇳","🇬🇵","🇬🇶","🇬🇷","🇬🇸","🇬🇹","🇬🇺","🇬🇼","🇬🇾","🇬","🇭🇰","🇭🇲","🇭🇳","🇭🇷","🇭🇹","🇭🇺","🇭","🇮🇨","🇮🇩","🇮🇪","🇮🇱","🇮🇲","🇮🇳","🇮🇴","🇮🇶","🇮🇷","🇮🇸","🇮🇹","🇮","🇯🇪","🇯🇲","🇯🇴","🇯🇵","🇯","🇰🇪","🇰🇬","🇰🇭","🇰🇮","🇰🇲","🇰🇳","🇰🇵","🇰🇷","🇰🇼","🇰🇾","🇰🇿","🇰","🇱🇦","🇱🇧","🇱🇨","🇱🇮","🇱🇰","🇱🇷","🇱🇸","🇱🇹","🇱🇺","🇱🇻","🇱🇾","🇱","🇲🇦","🇲🇨","🇲🇩","🇲🇪","🇲🇫","🇲🇬","🇲🇭","🇲🇰","🇲🇱","🇲🇲","🇲🇳","🇲🇴","🇲🇵","🇲🇶","🇲🇷","🇲🇸","🇲🇹","🇲🇺","🇲🇻","🇲🇼","🇲🇽","🇲🇾","🇲🇿","🇲","🇳🇦","🇳🇨","🇳🇪","🇳🇫","🇳🇬","🇳🇮","🇳🇱","🇳🇴","🇳🇵","🇳🇷","🇳🇺","🇳🇿","🇳","🇴🇲","🇴","🇵🇦","🇵🇪","🇵🇫","🇵🇬","🇵🇭","🇵🇰","🇵🇱","🇵🇲","🇵🇳","🇵🇷","🇵🇸","🇵🇹","🇵🇼","🇵🇾","🇵","🇶🇦","🇶","🇷🇪","🇷🇴","🇷🇸","🇷🇺","🇷🇼","🇷","🇸🇦","🇸🇧","🇸🇨","🇸🇩","🇸🇪","🇸🇬","🇸🇭","🇸🇮","🇸🇯","🇸🇰","🇸🇱","🇸🇲","🇸🇳","🇸🇴","🇸🇷","🇸🇸","🇸🇹","🇸🇻","🇸🇽","🇸🇾","🇸🇿","🇸","🇹🇦","🇹🇨","🇹🇩","🇹🇫","🇹🇬","🇹🇭","🇹🇯","🇹🇰","🇹🇱","🇹🇲","🇹🇳","🇹🇴","🇹🇷","🇹🇹","🇹🇻","🇹🇼","🇹🇿","🇹","🇺🇦","🇺🇬","🇺🇲","🇺🇳","🇺🇸","🇺🇾","🇺🇿","🇺","🇻🇦","🇻🇨","🇻🇪","🇻🇬","🇻🇮","🇻🇳","🇻🇺","🇻","🇼🇫","🇼🇸","🇼","🇽🇰","🇽","🇾🇪","🇾🇹","🇾","🇿🇦","🇿🇲","🇿🇼","🇿","🈁","🈂","🈚","🈯","🈲","🈳","🈴","🈵","🈶","🈷","🈸","🈹","🈺","🉐","🉑","🌀","🌁","🌂","🌃","🌄","🌅","🌆","🌇","🌈","🌉","🌊","🌋","🌌","🌍","🌎","🌏","🌐","🌑","🌒","🌓","🌔","🌕","🌖","🌗","🌘","🌙","🌚","🌛","🌜","🌝","🌞","🌟","🌠","🌡","🌤","🌥","🌦","🌧","🌨","🌩","🌪","🌫","🌬","🌭","🌮","🌯","🌰","🌱","🌲","🌳","🌴","🌵","🌶","🌷","🌸","🌹","🌺","🌻","🌼","🌽","🌾","🌿","🍀","🍁","🍂","🍃","🍄","🍅","🍆","🍇","🍈","🍉","🍊","🍋","🍌","🍍","🍎","🍏","🍐","🍑","🍒","🍓","🍔","🍕","🍖","🍗","🍘","🍙","🍚","🍛","🍜","🍝","🍞","🍟","🍠","🍡","🍢","🍣","🍤","🍥","🍦","🍧","🍨","🍩","🍪","🍫","🍬","🍭","🍮","🍯","🍰","🍱","🍲","🍳","🍴","🍵","🍶","🍷","🍸","🍹","🍺","🍻","🍼","🍽","🍾","🍿","🎀","🎁","🎂","🎃","🎄","🎅🏻","🎅🏼","🎅🏽","🎅🏾","🎅🏿","🎅","🎆","🎇","🎈","🎉","🎊","🎋","🎌","🎍","🎎","🎏","🎐","🎑","🎒","🎓","🎖","🎗","🎙","🎚","🎛","🎞","🎟","🎠","🎡","🎢","🎣","🎤","🎥","🎦","🎧","🎨","🎩","🎪","🎫","🎬","🎭","🎮","🎯","🎰","🎱","🎲","🎳","🎴","🎵","🎶","🎷","🎸","🎹","🎺","🎻","🎼","🎽","🎾","🎿","🏀","🏁","🏂🏻","🏂🏼","🏂🏽","🏂🏾","🏂🏿","🏂","🏃🏻‍♀️","🏃🏻‍♂️","🏃🏻","🏃🏼‍♀️","🏃🏼‍♂️","🏃🏼","🏃🏽‍♀️","🏃🏽‍♂️","🏃🏽","🏃🏾‍♀️","🏃🏾‍♂️","🏃🏾","🏃🏿‍♀️","🏃🏿‍♂️","🏃🏿","🏃‍♀️","🏃‍♂️","🏃","🏄🏻‍♀️","🏄🏻‍♂️","🏄🏻","🏄🏼‍♀️","🏄🏼‍♂️","🏄🏼","🏄🏽‍♀️","🏄🏽‍♂️","🏄🏽","🏄🏾‍♀️","🏄🏾‍♂️","🏄🏾","🏄🏿‍♀️","🏄🏿‍♂️","🏄🏿","🏄‍♀️","🏄‍♂️","🏄","🏅","🏆","🏇🏻","🏇🏼","🏇🏽","🏇🏾","🏇🏿","🏇","🏈","🏉","🏊🏻‍♀️","🏊🏻‍♂️","🏊🏻","🏊🏼‍♀️","🏊🏼‍♂️","🏊🏼","🏊🏽‍♀️","🏊🏽‍♂️","🏊🏽","🏊🏾‍♀️","🏊🏾‍♂️","🏊🏾","🏊🏿‍♀️","🏊🏿‍♂️","🏊🏿","🏊‍♀️","🏊‍♂️","🏊","🏋🏻‍♀️","🏋🏻‍♂️","🏋🏻","🏋🏼‍♀️","🏋🏼‍♂️","🏋🏼","🏋🏽‍♀️","🏋🏽‍♂️","🏋🏽","🏋🏾‍♀️","🏋🏾‍♂️","🏋🏾","🏋🏿‍♀️","🏋🏿‍♂️","🏋🏿","🏋️‍♀️","🏋️‍♂️","🏋","🏌🏻‍♀️","🏌🏻‍♂️","🏌🏻","🏌🏼‍♀️","🏌🏼‍♂️","🏌🏼","🏌🏽‍♀️","🏌🏽‍♂️","🏌🏽","🏌🏾‍♀️","🏌🏾‍♂️","🏌🏾","🏌🏿‍♀️","🏌🏿‍♂️","🏌🏿","🏌️‍♀️","🏌️‍♂️","🏌","🏍","🏎","🏏","🏐","🏑","🏒","🏓","🏔","🏕","🏖","🏗","🏘","🏙","🏚","🏛","🏜","🏝","🏞","🏟","🏠","🏡","🏢","🏣","🏤","🏥","🏦","🏧","🏨","🏩","🏪","🏫","🏬","🏭","🏮","🏯","🏰","🏳️‍🌈","🏳","🏴‍☠️","🏴","🏵","🏷","🏸","🏹","🏺","🏻","🏼","🏽","🏾","🏿","🐀","🐁","🐂","🐃","🐄","🐅","🐆","🐇","🐈","🐉","🐊","🐋","🐌","🐍","🐎","🐏","🐐","🐑","🐒","🐓","🐔","🐕","🐖","🐗","🐘","🐙","🐚","🐛","🐜","🐝","🐞","🐟","🐠","🐡","🐢","🐣","🐤","🐥","🐦","🐧","🐨","🐩","🐪","🐫","🐬","🐭","🐮","🐯","🐰","🐱","🐲","🐳","🐴","🐵","🐶","🐷","🐸","🐹","🐺","🐻","🐼","🐽","🐾","🐿","👀","👁‍🗨","👁","👂🏻","👂🏼","👂🏽","👂🏾","👂🏿","👂","👃🏻","👃🏼","👃🏽","👃🏾","👃🏿","👃","👄","👅","👆🏻","👆🏼","👆🏽","👆🏾","👆🏿","👆","👇🏻","👇🏼","👇🏽","👇🏾","👇🏿","👇","👈🏻","👈🏼","👈🏽","👈🏾","👈🏿","👈","👉🏻","👉🏼","👉🏽","👉🏾","👉🏿","👉","👊🏻","👊🏼","👊🏽","👊🏾","👊🏿","👊","👋🏻","👋🏼","👋🏽","👋🏾","👋🏿","👋","👌🏻","👌🏼","👌🏽","👌🏾","👌🏿","👌","👍🏻","👍🏼","👍🏽","👍🏾","👍🏿","👍","👎🏻","👎🏼","👎🏽","👎🏾","👎🏿","👎","👏🏻","👏🏼","👏🏽","👏🏾","👏🏿","👏","👐🏻","👐🏼","👐🏽","👐🏾","👐🏿","👐","👑","👒","👓","👔","👕","👖","👗","👘","👙","👚","👛","👜","👝","👞","👟","👠","👡","👢","👣","👤","👥","👦🏻","👦🏼","👦🏽","👦🏾","👦🏿","👦","👧🏻","👧🏼","👧🏽","👧🏾","👧🏿","👧","👨🏻‍🌾","👨🏻‍🍳","👨🏻‍🎓","👨🏻‍🎤","👨🏻‍🎨","👨🏻‍🏫","👨🏻‍🏭","👨🏻‍💻","👨🏻‍💼","👨🏻‍🔧","👨🏻‍🔬","👨🏻‍🚀","👨🏻‍🚒","👨🏻‍⚕️","👨🏻‍⚖️","👨🏻‍✈️","👨🏻","👨🏼‍🌾","👨🏼‍🍳","👨🏼‍🎓","👨🏼‍🎤","👨🏼‍🎨","👨🏼‍🏫","👨🏼‍🏭","👨🏼‍💻","👨🏼‍💼","👨🏼‍🔧","👨🏼‍🔬","👨🏼‍🚀","👨🏼‍🚒","👨🏼‍⚕️","👨🏼‍⚖️","👨🏼‍✈️","👨🏼","👨🏽‍🌾","👨🏽‍🍳","👨🏽‍🎓","👨🏽‍🎤","👨🏽‍🎨","👨🏽‍🏫","👨🏽‍🏭","👨🏽‍💻","👨🏽‍💼","👨🏽‍🔧","👨🏽‍🔬","👨🏽‍🚀","👨🏽‍🚒","👨🏽‍⚕️","👨🏽‍⚖️","👨🏽‍✈️","👨🏽","👨🏾‍🌾","👨🏾‍🍳","👨🏾‍🎓","👨🏾‍🎤","👨🏾‍🎨","👨🏾‍🏫","👨🏾‍🏭","👨🏾‍💻","👨🏾‍💼","👨🏾‍🔧","👨🏾‍🔬","👨🏾‍🚀","👨🏾‍🚒","👨🏾‍⚕️","👨🏾‍⚖️","👨🏾‍✈️","👨🏾","👨🏿‍🌾","👨🏿‍🍳","👨🏿‍🎓","👨🏿‍🎤","👨🏿‍🎨","👨🏿‍🏫","👨🏿‍🏭","👨🏿‍💻","👨🏿‍💼","👨🏿‍🔧","👨🏿‍🔬","👨🏿‍🚀","👨🏿‍🚒","👨🏿‍⚕️","👨🏿‍⚖️","👨🏿‍✈️","👨🏿","👨‍🌾","👨‍🍳","👨‍🎓","👨‍🎤","👨‍🎨","👨‍🏫","👨‍🏭","👨‍👦‍👦","👨‍👦","👨‍👧‍👦","👨‍👧‍👧","👨‍👧","👨‍👨‍👦‍👦","👨‍👨‍👦","👨‍👨‍👧‍👦","👨‍👨‍👧‍👧","👨‍👨‍👧","👨‍👩‍👦‍👦","👨‍👩‍👦","👨‍👩‍👧‍👦","👨‍👩‍👧‍👧","👨‍👩‍👧","👨‍💻","👨‍💼","👨‍🔧","👨‍🔬","👨‍🚀","👨‍🚒","👨‍⚕️","👨‍⚖️","👨‍✈️","👨‍❤️‍👨","👨‍❤️‍💋‍👨","👨","👩🏻‍🌾","👩🏻‍🍳","👩🏻‍🎓","👩🏻‍🎤","👩🏻‍🎨","👩🏻‍🏫","👩🏻‍🏭","👩🏻‍💻","👩🏻‍💼","👩🏻‍🔧","👩🏻‍🔬","👩🏻‍🚀","👩🏻‍🚒","👩🏻‍⚕️","👩🏻‍⚖️","👩🏻‍✈️","👩🏻","👩🏼‍🌾","👩🏼‍🍳","👩🏼‍🎓","👩🏼‍🎤","👩🏼‍🎨","👩🏼‍🏫","👩🏼‍🏭","👩🏼‍💻","👩🏼‍💼","👩🏼‍🔧","👩🏼‍🔬","👩🏼‍🚀","👩🏼‍🚒","👩🏼‍⚕️","👩🏼‍⚖️","👩🏼‍✈️","👩🏼","👩🏽‍🌾","👩🏽‍🍳","👩🏽‍🎓","👩🏽‍🎤","👩🏽‍🎨","👩🏽‍🏫","👩🏽‍🏭","👩🏽‍💻","👩🏽‍💼","👩🏽‍🔧","👩🏽‍🔬","👩🏽‍🚀","👩🏽‍🚒","👩🏽‍⚕️","👩🏽‍⚖️","👩🏽‍✈️","👩🏽","👩🏾‍🌾","👩🏾‍🍳","👩🏾‍🎓","👩🏾‍🎤","👩🏾‍🎨","👩🏾‍🏫","👩🏾‍🏭","👩🏾‍💻","👩🏾‍💼","👩🏾‍🔧","👩🏾‍🔬","👩🏾‍🚀","👩🏾‍🚒","👩🏾‍⚕️","👩🏾‍⚖️","👩🏾‍✈️","👩🏾","👩🏿‍🌾","👩🏿‍🍳","👩🏿‍🎓","👩🏿‍🎤","👩🏿‍🎨","👩🏿‍🏫","👩🏿‍🏭","👩🏿‍💻","👩🏿‍💼","👩🏿‍🔧","👩🏿‍🔬","👩🏿‍🚀","👩🏿‍🚒","👩🏿‍⚕️","👩🏿‍⚖️","👩🏿‍✈️","👩🏿","👩‍🌾","👩‍🍳","👩‍🎓","👩‍🎤","👩‍🎨","👩‍🏫","👩‍🏭","👩‍👦‍👦","👩‍👦","👩‍👧‍👦","👩‍👧‍👧","👩‍👧","👩‍👩‍👦‍👦","👩‍👩‍👦","👩‍👩‍👧‍👦","👩‍👩‍👧‍👧","👩‍👩‍👧","👩‍💻","👩‍💼","👩‍🔧","👩‍🔬","👩‍🚀","👩‍🚒","👩‍⚕️","👩‍⚖️","👩‍✈️","👩‍❤️‍👨","👩‍❤️‍👩","👩‍❤️‍💋‍👨","👩‍❤️‍💋‍👩","👩","👪🏻","👪🏼","👪🏽","👪🏾","👪🏿","👪","👫🏻","👫🏼","👫🏽","👫🏾","👫🏿","👫","👬🏻","👬🏼","👬🏽","👬🏾","👬🏿","👬","👭🏻","👭🏼","👭🏽","👭🏾","👭🏿","👭","👮🏻‍♀️","👮🏻‍♂️","👮🏻","👮🏼‍♀️","👮🏼‍♂️","👮🏼","👮🏽‍♀️","👮🏽‍♂️","👮🏽","👮🏾‍♀️","👮🏾‍♂️","👮🏾","👮🏿‍♀️","👮🏿‍♂️","👮🏿","👮‍♀️","👮‍♂️","👮","👯🏻‍♀️","👯🏻‍♂️","👯🏻","👯🏼‍♀️","👯🏼‍♂️","👯🏼","👯🏽‍♀️","👯🏽‍♂️","👯🏽","👯🏾‍♀️","👯🏾‍♂️","👯🏾","👯🏿‍♀️","👯🏿‍♂️","👯🏿","👯‍♀️","👯‍♂️","👯","👰🏻","👰🏼","👰🏽","👰🏾","👰🏿","👰","👱🏻‍♀️","👱🏻‍♂️","👱🏻","👱🏼‍♀️","👱🏼‍♂️","👱🏼","👱🏽‍♀️","👱🏽‍♂️","👱🏽","👱🏾‍♀️","👱🏾‍♂️","👱🏾","👱🏿‍♀️","👱🏿‍♂️","👱🏿","👱‍♀️","👱‍♂️","👱","👲🏻","👲🏼","👲🏽","👲🏾","👲🏿","👲","👳🏻‍♀️","👳🏻‍♂️","👳🏻","👳🏼‍♀️","👳🏼‍♂️","👳🏼","👳🏽‍♀️","👳🏽‍♂️","👳🏽","👳🏾‍♀️","👳🏾‍♂️","👳🏾","👳🏿‍♀️","👳🏿‍♂️","👳🏿","👳‍♀️","👳‍♂️","👳","👴🏻","👴🏼","👴🏽","👴🏾","👴🏿","👴","👵🏻","👵🏼","👵🏽","👵🏾","👵🏿","👵","👶🏻","👶🏼","👶🏽","👶🏾","👶🏿","👶","👷🏻‍♀️","👷🏻‍♂️","👷🏻","👷🏼‍♀️","👷🏼‍♂️","👷🏼","👷🏽‍♀️","👷🏽‍♂️","👷🏽","👷🏾‍♀️","👷🏾‍♂️","👷🏾","👷🏿‍♀️","👷🏿‍♂️","👷🏿","👷‍♀️","👷‍♂️","👷","👸🏻","👸🏼","👸🏽","👸🏾","👸🏿","👸","👹","👺","👻","👼🏻","👼🏼","👼🏽","👼🏾","👼🏿","👼","👽","👾","👿","💀","💁🏻‍♀️","💁🏻‍♂️","💁🏻","💁🏼‍♀️","💁🏼‍♂️","💁🏼","💁🏽‍♀️","💁🏽‍♂️","💁🏽","💁🏾‍♀️","💁🏾‍♂️","💁🏾","💁🏿‍♀️","💁🏿‍♂️","💁🏿","💁‍♀️","💁‍♂️","💁","💂🏻‍♀️","💂🏻‍♂️","💂🏻","💂🏼‍♀️","💂🏼‍♂️","💂🏼","💂🏽‍♀️","💂🏽‍♂️","💂🏽","💂🏾‍♀️","💂🏾‍♂️","💂🏾","💂🏿‍♀️","💂🏿‍♂️","💂🏿","💂‍♀️","💂‍♂️","💂","💃🏻","💃🏼","💃🏽","💃🏾","💃🏿","💃","💄","💅🏻","💅🏼","💅🏽","💅🏾","💅🏿","💅","💆🏻‍♀️","💆🏻‍♂️","💆🏻","💆🏼‍♀️","💆🏼‍♂️","💆🏼","💆🏽‍♀️","💆🏽‍♂️","💆🏽","💆🏾‍♀️","💆🏾‍♂️","💆🏾","💆🏿‍♀️","💆🏿‍♂️","💆🏿","💆‍♀️","💆‍♂️","💆","💇🏻‍♀️","💇🏻‍♂️","💇🏻","💇🏼‍♀️","💇🏼‍♂️","💇🏼","💇🏽‍♀️","💇🏽‍♂️","💇🏽","💇🏾‍♀️","💇🏾‍♂️","💇🏾","💇🏿‍♀️","💇🏿‍♂️","💇🏿","💇‍♀️","💇‍♂️","💇","💈","💉","💊","💋","💌","💍","💎","💏","💐","💑","💒","💓","💔","💕","💖","💗","💘","💙","💚","💛","💜","💝","💞","💟","💠","💡","💢","💣","💤","💥","💦","💧","💨","💩","💪🏻","💪🏼","💪🏽","💪🏾","💪🏿","💪","💫","💬","💭","💮","💯","💰","💱","💲","💳","💴","💵","💶","💷","💸","💹","💺","💻","💼","💽","💾","💿","📀","📁","📂","📃","📄","📅","📆","📇","📈","📉","📊","📋","📌","📍","📎","📏","📐","📑","📒","📓","📔","📕","📖","📗","📘","📙","📚","📛","📜","📝","📞","📟","📠","📡","📢","📣","📤","📥","📦","📧","📨","📩","📪","📫","📬","📭","📮","📯","📰","📱","📲","📳","📴","📵","📶","📷","📸","📹","📺","📻","📼","📽","📿","🔀","🔁","🔂","🔃","🔄","🔅","🔆","🔇","🔈","🔉","🔊","🔋","🔌","🔍","🔎","🔏","🔐","🔑","🔒","🔓","🔔","🔕","🔖","🔗","🔘","🔙","🔚","🔛","🔜","🔝","🔞","🔟","🔠","🔡","🔢","🔣","🔤","🔥","🔦","🔧","🔨","🔩","🔪","🔫","🔬","🔭","🔮","🔯","🔰","🔱","🔲","🔳","🔴","🔵","🔶","🔷","🔸","🔹","🔺","🔻","🔼","🔽","🕉","🕊","🕋","🕌","🕍","🕎","🕐","🕑","🕒","🕓","🕔","🕕","🕖","🕗","🕘","🕙","🕚","🕛","🕜","🕝","🕞","🕟","🕠","🕡","🕢","🕣","🕤","🕥","🕦","🕧","🕯","🕰","🕳","🕴🏻","🕴🏼","🕴🏽","🕴🏾","🕴🏿","🕴","🕵🏻‍♀️","🕵🏻‍♂️","🕵🏻","🕵🏼‍♀️","🕵🏼‍♂️","🕵🏼","🕵🏽‍♀️","🕵🏽‍♂️","🕵🏽","🕵🏾‍♀️","🕵🏾‍♂️","🕵🏾","🕵🏿‍♀️","🕵🏿‍♂️","🕵🏿","🕵️‍♀️","🕵️‍♂️","🕵","🕶","🕷","🕸","🕹","🕺🏻","🕺🏼","🕺🏽","🕺🏾","🕺🏿","🕺","🖇","🖊","🖋","🖌","🖍","🖐🏻","🖐🏼","🖐🏽","🖐🏾","🖐🏿","🖐","🖕🏻","🖕🏼","🖕🏽","🖕🏾","🖕🏿","🖕","🖖🏻","🖖🏼","🖖🏽","🖖🏾","🖖🏿","🖖","🖤","🖥","🖨","🖱","🖲","🖼","🗂","🗃","🗄","🗑","🗒","🗓","🗜","🗝","🗞","🗡","🗣","🗨","🗯","🗳","🗺","🗻","🗼","🗽","🗾","🗿","😀","😁","😂","😃","😄","😅","😆","😇","😈","😉","😊","😋","😌","😍","😎","😏","😐","😑","😒","😓","😔","😕","😖","😗","😘","😙","😚","😛","😜","😝","😞","😟","😠","😡","😢","😣","😤","😥","😦","😧","😨","😩","😪","😫","😬","😭","😮","😯","😰","😱","😲","😳","😴","😵","😶","😷","😸","😹","😺","😻","😼","😽","😾","😿","🙀","🙁","🙂","🙃","🙄","🙅🏻‍♀️","🙅🏻‍♂️","🙅🏻","🙅🏼‍♀️","🙅🏼‍♂️","🙅🏼","🙅🏽‍♀️","🙅🏽‍♂️","🙅🏽","🙅🏾‍♀️","🙅🏾‍♂️","🙅🏾","🙅🏿‍♀️","🙅🏿‍♂️","🙅🏿","🙅‍♀️","🙅‍♂️","🙅","🙆🏻‍♀️","🙆🏻‍♂️","🙆🏻","🙆🏼‍♀️","🙆🏼‍♂️","🙆🏼","🙆🏽‍♀️","🙆🏽‍♂️","🙆🏽","🙆🏾‍♀️","🙆🏾‍♂️","🙆🏾","🙆🏿‍♀️","🙆🏿‍♂️","🙆🏿","🙆‍♀️","🙆‍♂️","🙆","🙇🏻‍♀️","🙇🏻‍♂️","🙇🏻","🙇🏼‍♀️","🙇🏼‍♂️","🙇🏼","🙇🏽‍♀️","🙇🏽‍♂️","🙇🏽","🙇🏾‍♀️","🙇🏾‍♂️","🙇🏾","🙇🏿‍♀️","🙇🏿‍♂️","🙇🏿","🙇‍♀️","🙇‍♂️","🙇","🙈","🙉","🙊","🙋🏻‍♀️","🙋🏻‍♂️","🙋🏻","🙋🏼‍♀️","🙋🏼‍♂️","🙋🏼","🙋🏽‍♀️","🙋🏽‍♂️","🙋🏽","🙋🏾‍♀️","🙋🏾‍♂️","🙋🏾","🙋🏿‍♀️","🙋🏿‍♂️","🙋🏿","🙋‍♀️","🙋‍♂️","🙋","🙌🏻","🙌🏼","🙌🏽","🙌🏾","🙌🏿","🙌","🙍🏻‍♀️","🙍🏻‍♂️","🙍🏻","🙍🏼‍♀️","🙍🏼‍♂️","🙍🏼","🙍🏽‍♀️","🙍🏽‍♂️","🙍🏽","🙍🏾‍♀️","🙍🏾‍♂️","🙍🏾","🙍🏿‍♀️","🙍🏿‍♂️","🙍🏿","🙍‍♀️","🙍‍♂️","🙍","🙎🏻‍♀️","🙎🏻‍♂️","🙎🏻","🙎🏼‍♀️","🙎🏼‍♂️","🙎🏼","🙎🏽‍♀️","🙎🏽‍♂️","🙎🏽","🙎🏾‍♀️","🙎🏾‍♂️","🙎🏾","🙎🏿‍♀️","🙎🏿‍♂️","🙎🏿","🙎‍♀️","🙎‍♂️","🙎","🙏🏻","🙏🏼","🙏🏽","🙏🏾","🙏🏿","🙏","🚀","🚁","🚂","🚃","🚄","🚅","🚆","🚇","🚈","🚉","🚊","🚋","🚌","🚍","🚎","🚏","🚐","🚑","🚒","🚓","🚔","🚕","🚖","🚗","🚘","🚙","🚚","🚛","🚜","🚝","🚞","🚟","🚠","🚡","🚢","🚣🏻‍♀️","🚣🏻‍♂️","🚣🏻","🚣🏼‍♀️","🚣🏼‍♂️","🚣🏼","🚣🏽‍♀️","🚣🏽‍♂️","🚣🏽","🚣🏾‍♀️","🚣🏾‍♂️","🚣🏾","🚣🏿‍♀️","🚣🏿‍♂️","🚣🏿","🚣‍♀️","🚣‍♂️","🚣","🚤","🚥","🚦","🚧","🚨","🚩","🚪","🚫","🚬","🚭","🚮","🚯","🚰","🚱","🚲","🚳","🚴🏻‍♀️","🚴🏻‍♂️","🚴🏻","🚴🏼‍♀️","🚴🏼‍♂️","🚴🏼","🚴🏽‍♀️","🚴🏽‍♂️","🚴🏽","🚴🏾‍♀️","🚴🏾‍♂️","🚴🏾","🚴🏿‍♀️","🚴🏿‍♂️","🚴🏿","🚴‍♀️","🚴‍♂️","🚴","🚵🏻‍♀️","🚵🏻‍♂️","🚵🏻","🚵🏼‍♀️","🚵🏼‍♂️","🚵🏼","🚵🏽‍♀️","🚵🏽‍♂️","🚵🏽","🚵🏾‍♀️","🚵🏾‍♂️","🚵🏾","🚵🏿‍♀️","🚵🏿‍♂️","🚵🏿","🚵‍♀️","🚵‍♂️","🚵","🚶🏻‍♀️","🚶🏻‍♂️","🚶🏻","🚶🏼‍♀️","🚶🏼‍♂️","🚶🏼","🚶🏽‍♀️","🚶🏽‍♂️","🚶🏽","🚶🏾‍♀️","🚶🏾‍♂️","🚶🏾","🚶🏿‍♀️","🚶🏿‍♂️","🚶🏿","🚶‍♀️","🚶‍♂️","🚶","🚷","🚸","🚹","🚺","🚻","🚼","🚽","🚾","🚿","🛀🏻","🛀🏼","🛀🏽","🛀🏾","🛀🏿","🛀","🛁","🛂","🛃","🛄","🛅","🛋","🛌🏻","🛌🏼","🛌🏽","🛌🏾","🛌🏿","🛌","🛍","🛎","🛏","🛐","🛑","🛒","🛠","🛡","🛢","🛣","🛤","🛥","🛩","🛫","🛬","🛰","🛳","🛴","🛵","🛶","🤐","🤑","🤒","🤓","🤔","🤕","🤖","🤗","🤘🏻","🤘🏼","🤘🏽","🤘🏾","🤘🏿","🤘","🤙🏻","🤙🏼","🤙🏽","🤙🏾","🤙🏿","🤙","🤚🏻","🤚🏼","🤚🏽","🤚🏾","🤚🏿","🤚","🤛🏻","🤛🏼","🤛🏽","🤛🏾","🤛🏿","🤛","🤜🏻","🤜🏼","🤜🏽","🤜🏾","🤜🏿","🤜","🤝🏻","🤝🏼","🤝🏽","🤝🏾","🤝🏿","🤝","🤞🏻","🤞🏼","🤞🏽","🤞🏾","🤞🏿","🤞","🤠","🤡","🤢","🤣","🤤","🤥","🤦🏻‍♀️","🤦🏻‍♂️","🤦🏻","🤦🏼‍♀️","🤦🏼‍♂️","🤦🏼","🤦🏽‍♀️","🤦🏽‍♂️","🤦🏽","🤦🏾‍♀️","🤦🏾‍♂️","🤦🏾","🤦🏿‍♀️","🤦🏿‍♂️","🤦🏿","🤦‍♀️","🤦‍♂️","🤦","🤧","🤰🏻","🤰🏼","🤰🏽","🤰🏾","🤰🏿","🤰","🤳🏻","🤳🏼","🤳🏽","🤳🏾","🤳🏿","🤳","🤴🏻","🤴🏼","🤴🏽","🤴🏾","🤴🏿","🤴","🤵🏻","🤵🏼","🤵🏽","🤵🏾","🤵🏿","🤵","🤶🏻","🤶🏼","🤶🏽","🤶🏾","🤶🏿","🤶","🤷🏻‍♀️","🤷🏻‍♂️","🤷🏻","🤷🏼‍♀️","🤷🏼‍♂️","🤷🏼","🤷🏽‍♀️","🤷🏽‍♂️","🤷🏽","🤷🏾‍♀️","🤷🏾‍♂️","🤷🏾","🤷🏿‍♀️","🤷🏿‍♂️","🤷🏿","🤷‍♀️","🤷‍♂️","🤷","🤸🏻‍♀️","🤸🏻‍♂️","🤸🏻","🤸🏼‍♀️","🤸🏼‍♂️","🤸🏼","🤸🏽‍♀️","🤸🏽‍♂️","🤸🏽","🤸🏾‍♀️","🤸🏾‍♂️","🤸🏾","🤸🏿‍♀️","🤸🏿‍♂️","🤸🏿","🤸‍♀️","🤸‍♂️","🤸","🤹🏻‍♀️","🤹🏻‍♂️","🤹🏻","🤹🏼‍♀️","🤹🏼‍♂️","🤹🏼","🤹🏽‍♀️","🤹🏽‍♂️","🤹🏽","🤹🏾‍♀️","🤹🏾‍♂️","🤹🏾","🤹🏿‍♀️","🤹🏿‍♂️","🤹🏿","🤹‍♀️","🤹‍♂️","🤹","🤺","🤼🏻‍♀️","🤼🏻‍♂️","🤼🏻","🤼🏼‍♀️","🤼🏼‍♂️","🤼🏼","🤼🏽‍♀️","🤼🏽‍♂️","🤼🏽","🤼🏾‍♀️","🤼🏾‍♂️","🤼🏾","🤼🏿‍♀️","🤼🏿‍♂️","🤼🏿","🤼‍♀️","🤼‍♂️","🤼","🤽🏻‍♀️","🤽🏻‍♂️","🤽🏻","🤽🏼‍♀️","🤽🏼‍♂️","🤽🏼","🤽🏽‍♀️","🤽🏽‍♂️","🤽🏽","🤽🏾‍♀️","🤽🏾‍♂️","🤽🏾","🤽🏿‍♀️","🤽🏿‍♂️","🤽🏿","🤽‍♀️","🤽‍♂️","🤽","🤾🏻‍♀️","🤾🏻‍♂️","🤾🏻","🤾🏼‍♀️","🤾🏼‍♂️","🤾🏼","🤾🏽‍♀️","🤾🏽‍♂️","🤾🏽","🤾🏾‍♀️","🤾🏾‍♂️","🤾🏾","🤾🏿‍♀️","🤾🏿‍♂️","🤾🏿","🤾‍♀️","🤾‍♂️","🤾","🥀","🥁","🥂","🥃","🥄","🥅","🥇","🥈","🥉","🥊","🥋","🥐","🥑","🥒","🥓","🥔","🥕","🥖","🥗","🥘","🥙","🥚","🥛","🥜","🥝","🥞","🦀","🦁","🦂","🦃","🦄","🦅","🦆","🦇","🦈","🦉","🦊","🦋","🦌","🦍","🦎","🦏","🦐","🦑","🧀","‼","⁉","™","ℹ","↔","↕","↖","↗","↘","↙","↩","↪","#⃣","⌚","⌛","⌨","⏏","⏩","⏪","⏫","⏬","⏭","⏮","⏯","⏰","⏱","⏲","⏳","⏸","⏹","⏺","Ⓜ","▪","▫","▶","◀","◻","◼","◽","◾","☀","☁","☂","☃","☄","☎","☑","☔","☕","☘","☝🏻","☝🏼","☝🏽","☝🏾","☝🏿","☝","☠","☢","☣","☦","☪","☮","☯","☸","☹","☺","♀","♂","♈","♉","♊","♋","♌","♍","♎","♏","♐","♑","♒","♓","♠","♣","♥","♦","♨","♻","♿","⚒","⚓","⚔","⚕","⚖","⚗","⚙","⚛","⚜","⚠","⚡","⚪","⚫","⚰","⚱","⚽","⚾","⛄","⛅","⛈","⛎","⛏","⛑","⛓","⛔","⛩","⛪","⛰","⛱","⛲","⛳","⛴","⛵","⛷🏻","⛷🏼","⛷🏽","⛷🏾","⛷🏿","⛷","⛸","⛹🏻‍♀️","⛹🏻‍♂️","⛹🏻","⛹🏼‍♀️","⛹🏼‍♂️","⛹🏼","⛹🏽‍♀️","⛹🏽‍♂️","⛹🏽","⛹🏾‍♀️","⛹🏾‍♂️","⛹🏾","⛹🏿‍♀️","⛹🏿‍♂️","⛹🏿","⛹️‍♀️","⛹️‍♂️","⛹","⛺","⛽","✂","✅","✈","✉","✊🏻","✊🏼","✊🏽","✊🏾","✊🏿","✊","✋🏻","✋🏼","✋🏽","✋🏾","✋🏿","✋","✌🏻","✌🏼","✌🏽","✌🏾","✌🏿","✌","✍🏻","✍🏼","✍🏽","✍🏾","✍🏿","✍","✏","✒","✔","✖","✝","✡","✨","✳","✴","❄","❇","❌","❎","❓","❔","❕","❗","❣","❤","➕","➖","➗","➡","➰","➿","⤴","⤵","*⃣","⬅","⬆","⬇","⬛","⬜","⭐","⭕","0⃣","〰","〽","1⃣","2⃣","㊗","㊙","3⃣","4⃣","5⃣","6⃣","7⃣","8⃣","9⃣","©","®",""]},6465:function(e,t){(function(e,r){true?r(t):0})(this,(function(e){"use strict";function walk(e,{enter:t,leave:r}){visit(e,null,t,r)}let t=false;const r={skip:()=>t=true};const s={};const a=Object.prototype.toString;function isArray(e){return a.call(e)==="[object Array]"}function visit(e,a,o,u,c,h){if(!e)return;if(o){const s=t;t=false;o.call(r,e,a,c,h);const u=t;t=s;if(u)return}const p=e.type&&s[e.type]||(s[e.type]=Object.keys(e).filter((t=>typeof e[t]==="object")));for(let t=0;t{var s=r(5622).sep||"/";e.exports=fileUriToPath;function fileUriToPath(e){if("string"!=typeof e||e.length<=7||"file://"!=e.substring(0,7)){throw new TypeError("must pass in a file:// URI to convert to a file path")}var t=decodeURI(e.substring(7));var r=t.indexOf("/");var a=t.substring(0,r);var o=t.substring(r+1);if("localhost"==a)a="";if(a){a=s+s+a}o=o.replace(/^(.+)\|/,"$1:");if(s=="\\"){o=o.replace(/\//g,"\\")}if(/^.+\:/.test(o)){}else{o=s+o}return a+o}},6863:(e,t,r)=>{e.exports=realpath;realpath.realpath=realpath;realpath.sync=realpathSync;realpath.realpathSync=realpathSync;realpath.monkeypatch=monkeypatch;realpath.unmonkeypatch=unmonkeypatch;var s=r(5747);var a=s.realpath;var o=s.realpathSync;var u=process.version;var c=/^v[0-5]\./.test(u);var h=r(1734);function newError(e){return e&&e.syscall==="realpath"&&(e.code==="ELOOP"||e.code==="ENOMEM"||e.code==="ENAMETOOLONG")}function realpath(e,t,r){if(c){return a(e,t,r)}if(typeof t==="function"){r=t;t=null}a(e,t,(function(s,a){if(newError(s)){h.realpath(e,t,r)}else{r(s,a)}}))}function realpathSync(e,t){if(c){return o(e,t)}try{return o(e,t)}catch(r){if(newError(r)){return h.realpathSync(e,t)}else{throw r}}}function monkeypatch(){s.realpath=realpath;s.realpathSync=realpathSync}function unmonkeypatch(){s.realpath=a;s.realpathSync=o}},1734:(e,t,r)=>{var s=r(5622);var a=process.platform==="win32";var o=r(5747);var u=process.env.NODE_DEBUG&&/fs/.test(process.env.NODE_DEBUG);function rethrow(){var e;if(u){var t=new Error;e=debugCallback}else e=missingCallback;return e;function debugCallback(e){if(e){t.message=e.message;e=t;missingCallback(e)}}function missingCallback(e){if(e){if(process.throwDeprecation)throw e;else if(!process.noDeprecation){var t="fs: missing callback "+(e.stack||e.message);if(process.traceDeprecation)console.trace(t);else console.error(t)}}}}function maybeCallback(e){return typeof e==="function"?e:rethrow()}var c=s.normalize;if(a){var h=/(.*?)(?:[\/\\]+|$)/g}else{var h=/(.*?)(?:[\/]+|$)/g}if(a){var p=/^(?:[a-zA-Z]:|[\\\/]{2}[^\\\/]+[\\\/][^\\\/]+)?[\\\/]*/}else{var p=/^[\/]*/}t.realpathSync=function realpathSync(e,t){e=s.resolve(e);if(t&&Object.prototype.hasOwnProperty.call(t,e)){return t[e]}var r=e,u={},c={};var d;var v;var m;var g;start();function start(){var t=p.exec(e);d=t[0].length;v=t[0];m=t[0];g="";if(a&&!c[m]){o.lstatSync(m);c[m]=true}}while(d=e.length){if(t)t[u]=e;return r(null,e)}h.lastIndex=v;var s=h.exec(e);y=m;m+=s[0];g=y+s[1];v=h.lastIndex;if(d[g]||t&&t[g]===g){return process.nextTick(LOOP)}if(t&&Object.prototype.hasOwnProperty.call(t,g)){return gotResolvedLink(t[g])}return o.lstat(g,gotStat)}function gotStat(e,s){if(e)return r(e);if(!s.isSymbolicLink()){d[g]=true;if(t)t[g]=g;return process.nextTick(LOOP)}if(!a){var u=s.dev.toString(32)+":"+s.ino.toString(32);if(c.hasOwnProperty(u)){return gotTarget(null,c[u],g)}}o.stat(g,(function(e){if(e)return r(e);o.readlink(g,(function(e,t){if(!a)c[u]=t;gotTarget(e,t)}))}))}function gotTarget(e,a,o){if(e)return r(e);var u=s.resolve(y,a);if(t)t[o]=u;gotResolvedLink(u)}function gotResolvedLink(t){e=s.resolve(t,e.slice(v));start()}}},4369:(e,t,r)=>{"use strict";var s=r(5543);var a=r(6834);e.exports={activityIndicator:function(e,t,r){if(e.spun==null)return;return s(t,e.spun)},progressbar:function(e,t,r){if(e.completed==null)return;return a(t,r,e.completed)}}},7291:(e,t,r)=>{"use strict";var s=r(1669);var a=t.User=function User(e){var t=new Error(e);Error.captureStackTrace(t,User);t.code="EGAUGE";return t};t.MissingTemplateValue=function MissingTemplateValue(e,t){var r=new a(s.format('Missing template value "%s"',e.type));Error.captureStackTrace(r,MissingTemplateValue);r.template=e;r.values=t;return r};t.Internal=function Internal(e){var t=new Error(e);Error.captureStackTrace(t,Internal);t.code="EGAUGEINTERNAL";return t}},5586:e=>{"use strict";e.exports=isWin32()||isColorTerm();function isWin32(){return process.platform==="win32"}function isColorTerm(){var e=/^screen|^xterm|^vt100|color|ansi|cygwin|linux/i;return!!process.env.COLORTERM||e.test(process.env.TERM)}},1800:(e,t,r)=>{"use strict";var s=r(7305);var a=r(5885);var o=r(5586);var u=r(4931);var c=r(6605);var h=r(5121);var p=r(9279);var d=r(6806);e.exports=Gauge;function callWith(e,t){return function(){return t.call(e)}}function Gauge(e,t){var r,a;if(e&&e.write){a=e;r=t||{}}else if(t&&t.write){a=t;r=e||{}}else{a=p.stderr;r=e||t||{}}this._status={spun:0,section:"",subsection:""};this._paused=false;this._disabled=true;this._showing=false;this._onScreen=false;this._needsRedraw=false;this._hideCursor=r.hideCursor==null?true:r.hideCursor;this._fixedFramerate=r.fixedFramerate==null?!/^v0\.8\./.test(p.version):r.fixedFramerate;this._lastUpdateAt=null;this._updateInterval=r.updateInterval==null?50:r.updateInterval;this._themes=r.themes||c;this._theme=r.theme;var o=this._computeTheme(r.theme);var u=r.template||[{type:"progressbar",length:20},{type:"activityIndicator",kerning:1,length:1},{type:"section",kerning:1,default:""},{type:"subsection",kerning:1,default:""}];this.setWriteTo(a,r.tty);var h=r.Plumbing||s;this._gauge=new h(o,u,this.getWidth());this._$$doRedraw=callWith(this,this._doRedraw);this._$$handleSizeChange=callWith(this,this._handleSizeChange);this._cleanupOnExit=r.cleanupOnExit==null||r.cleanupOnExit;this._removeOnExit=null;if(r.enabled||r.enabled==null&&this._tty&&this._tty.isTTY){this.enable()}else{this.disable()}}Gauge.prototype={};Gauge.prototype.isEnabled=function(){return!this._disabled};Gauge.prototype.setTemplate=function(e){this._gauge.setTemplate(e);if(this._showing)this._requestRedraw()};Gauge.prototype._computeTheme=function(e){if(!e)e={};if(typeof e==="string"){e=this._themes.getTheme(e)}else if(e&&(Object.keys(e).length===0||e.hasUnicode!=null||e.hasColor!=null)){var t=e.hasUnicode==null?a():e.hasUnicode;var r=e.hasColor==null?o:e.hasColor;e=this._themes.getDefault({hasUnicode:t,hasColor:r,platform:e.platform})}return e};Gauge.prototype.setThemeset=function(e){this._themes=e;this.setTheme(this._theme)};Gauge.prototype.setTheme=function(e){this._gauge.setTheme(this._computeTheme(e));if(this._showing)this._requestRedraw();this._theme=e};Gauge.prototype._requestRedraw=function(){this._needsRedraw=true;if(!this._fixedFramerate)this._doRedraw()};Gauge.prototype.getWidth=function(){return(this._tty&&this._tty.columns||80)-1};Gauge.prototype.setWriteTo=function(e,t){var r=!this._disabled;if(r)this.disable();this._writeTo=e;this._tty=t||e===p.stderr&&p.stdout.isTTY&&p.stdout||e.isTTY&&e||this._tty;if(this._gauge)this._gauge.setWidth(this.getWidth());if(r)this.enable()};Gauge.prototype.enable=function(){if(!this._disabled)return;this._disabled=false;if(this._tty)this._enableEvents();if(this._showing)this.show()};Gauge.prototype.disable=function(){if(this._disabled)return;if(this._showing){this._lastUpdateAt=null;this._showing=false;this._doRedraw();this._showing=true}this._disabled=true;if(this._tty)this._disableEvents()};Gauge.prototype._enableEvents=function(){if(this._cleanupOnExit){this._removeOnExit=u(callWith(this,this.disable))}this._tty.on("resize",this._$$handleSizeChange);if(this._fixedFramerate){this.redrawTracker=h(this._$$doRedraw,this._updateInterval);if(this.redrawTracker.unref)this.redrawTracker.unref()}};Gauge.prototype._disableEvents=function(){this._tty.removeListener("resize",this._$$handleSizeChange);if(this._fixedFramerate)clearInterval(this.redrawTracker);if(this._removeOnExit)this._removeOnExit()};Gauge.prototype.hide=function(e){if(this._disabled)return e&&p.nextTick(e);if(!this._showing)return e&&p.nextTick(e);this._showing=false;this._doRedraw();e&&d(e)};Gauge.prototype.show=function(e,t){this._showing=true;if(typeof e==="string"){this._status.section=e}else if(typeof e==="object"){var r=Object.keys(e);for(var s=0;s{"use strict";function isArguments(e){return e!=null&&typeof e==="object"&&e.hasOwnProperty("callee")}var t={"*":{label:"any",check:function(){return true}},A:{label:"array",check:function(e){return Array.isArray(e)||isArguments(e)}},S:{label:"string",check:function(e){return typeof e==="string"}},N:{label:"number",check:function(e){return typeof e==="number"}},F:{label:"function",check:function(e){return typeof e==="function"}},O:{label:"object",check:function(e){return typeof e==="object"&&e!=null&&!t.A.check(e)&&!t.E.check(e)}},B:{label:"boolean",check:function(e){return typeof e==="boolean"}},E:{label:"error",check:function(e){return e instanceof Error}},Z:{label:"null",check:function(e){return e==null}}};function addSchema(e,t){var r=t[e.length]=t[e.length]||[];if(r.indexOf(e)===-1)r.push(e)}var r=e.exports=function(e,r){if(arguments.length!==2)throw wrongNumberOfArgs(["SA"],arguments.length);if(!e)throw missingRequiredArg(0,"rawSchemas");if(!r)throw missingRequiredArg(1,"args");if(!t.S.check(e))throw invalidType(0,["string"],e);if(!t.A.check(r))throw invalidType(1,["array"],r);var s=e.split("|");var a={};s.forEach((function(e){for(var r=0;r{"use strict";var s=r(6325);e.exports=function(e){if(s(e)){return false}if(e>=4352&&(e<=4447||9001===e||9002===e||11904<=e&&e<=12871&&e!==12351||12880<=e&&e<=19903||19968<=e&&e<=42182||43360<=e&&e<=43388||44032<=e&&e<=55203||63744<=e&&e<=64255||65040<=e&&e<=65049||65072<=e&&e<=65131||65281<=e&&e<=65376||65504<=e&&e<=65510||110592<=e&&e<=110593||127488<=e&&e<=127569||131072<=e&&e<=262141)){return true}return false}},6529:(e,t,r)=>{"use strict";var s=r(5591);var a=r(8929);var o=r(3737);e.exports=function(e){if(typeof e!=="string"||e.length===0){return 0}var t=0;e=s(e);for(var r=0;r=127&&u<=159){continue}if(u>=65536){r++}if(o(u)){t+=2}else{t++}}return t}},7305:(e,t,r)=>{"use strict";var s=r(3645);var a=r(3444);var o=r(4186);var u=e.exports=function(e,t,r){if(!r)r=80;o("OAN",[e,t,r]);this.showing=false;this.theme=e;this.width=r;this.template=t};u.prototype={};u.prototype.setTheme=function(e){o("O",[e]);this.theme=e};u.prototype.setTemplate=function(e){o("A",[e]);this.template=e};u.prototype.setWidth=function(e){o("N",[e]);this.width=e};u.prototype.hide=function(){return s.gotoSOL()+s.eraseLine()};u.prototype.hideCursor=s.hideCursor;u.prototype.showCursor=s.showCursor;u.prototype.show=function(e){var t=Object.create(this.theme);for(var r in e){t[r]=e[r]}return a(this.width,this.template,t).trim()+s.color("reset")+s.eraseLine()+s.gotoSOL()}},9279:e=>{"use strict";e.exports=process},6834:(e,t,r)=>{"use strict";var s=r(4186);var a=r(3444);var o=r(8413);var u=r(6529);e.exports=function(e,t,r){s("ONN",[e,t,r]);if(r<0)r=0;if(r>1)r=1;if(t<=0)return"";var o=Math.round(t*r);var u=t-o;var c=[{type:"complete",value:repeat(e.complete,o),length:o},{type:"remaining",value:repeat(e.remaining,u),length:u}];return a(t,c,e)};function repeat(e,t){var r="";var s=t;do{if(s%2){r+=e}s=Math.floor(s/2);e+=e}while(s&&u(r){"use strict";var s=r(8034);var a=r(4186);var o=r(7426);var u=r(8413);var c=r(7291);var h=r(2131);function renderValueWithValues(e){return function(t){return renderValue(t,e)}}var p=e.exports=function(e,t,r){var a=prepareItems(e,t,r);var o=a.map(renderValueWithValues(r)).join("");return s.left(u(o,e),e)};function preType(e){var t=e.type[0].toUpperCase()+e.type.slice(1);return"pre"+t}function postType(e){var t=e.type[0].toUpperCase()+e.type.slice(1);return"post"+t}function hasPreOrPost(e,t){if(!e.type)return;return t[preType(e)]||t[postType(e)]}function generatePreAndPost(e,t){var r=o({},e);var s=Object.create(t);var a=[];var u=preType(r);var c=postType(r);if(s[u]){a.push({value:s[u]});s[u]=null}r.minLength=null;r.length=null;r.maxLength=null;a.push(r);s[r.type]=s[r.type];if(s[c]){a.push({value:s[c]});s[c]=null}return function(e,t,r){return p(r,a,s)}}function prepareItems(e,t,r){function cloneAndObjectify(t,s,a){var o=new h(t,e);var u=o.type;if(o.value==null){if(!(u in r)){if(o.default==null){throw new c.MissingTemplateValue(o,r)}else{o.value=o.default}}else{o.value=r[u]}}if(o.value==null||o.value==="")return null;o.index=s;o.first=s===0;o.last=s===a.length-1;if(hasPreOrPost(o,r))o.value=generatePreAndPost(o,r);return o}var s=t.map(cloneAndObjectify).filter((function(e){return e!=null}));var a=0;var o=e;var u=s.length;function consumeSpace(e){if(e>o)e=o;a+=e;o-=e}function finishSizing(e,t){if(e.finished)throw new c.Internal("Tried to finish template item that was already finished");if(t===Infinity)throw new c.Internal("Length of template item cannot be infinity");if(t!=null)e.length=t;e.minLength=null;e.maxLength=null;--u;e.finished=true;if(e.length==null)e.length=e.getBaseLength();if(e.length==null)throw new c.Internal("Finished template items must have a length");consumeSpace(e.getLength())}s.forEach((function(e){if(!e.kerning)return;var t=e.first?0:s[e.index-1].padRight;if(!e.first&&t=v){finishSizing(e,e.minLength);d=true}}))}while(d&&p++{"use strict";var s=r(9279);try{e.exports=setImmediate}catch(t){e.exports=s.nextTick}},5121:e=>{"use strict";e.exports=setInterval},5543:e=>{"use strict";e.exports=function spin(e,t){return e[t%e.length]}},2131:(e,t,r)=>{"use strict";var s=r(6529);e.exports=TemplateItem;function isPercent(e){if(typeof e!=="string")return false;return e.slice(-1)==="%"}function percent(e){return Number(e.slice(0,-1))/100}function TemplateItem(e,t){this.overallOutputLength=t;this.finished=false;this.type=null;this.value=null;this.length=null;this.maxLength=null;this.minLength=null;this.kerning=null;this.align="left";this.padLeft=0;this.padRight=0;this.index=null;this.first=null;this.last=null;if(typeof e==="string"){this.value=e}else{for(var r in e)this[r]=e[r]}if(isPercent(this.length)){this.length=Math.round(this.overallOutputLength*percent(this.length))}if(isPercent(this.minLength)){this.minLength=Math.round(this.overallOutputLength*percent(this.minLength))}if(isPercent(this.maxLength)){this.maxLength=Math.round(this.overallOutputLength*percent(this.maxLength))}return this}TemplateItem.prototype={};TemplateItem.prototype.getBaseLength=function(){var e=this.length;if(e==null&&typeof this.value==="string"&&this.maxLength==null&&this.minLength==null){e=s(this.value)}return e};TemplateItem.prototype.getLength=function(){var e=this.getBaseLength();if(e==null)return null;return e+this.padLeft+this.padRight};TemplateItem.prototype.getMaxLength=function(){if(this.maxLength==null)return null;return this.maxLength+this.padLeft+this.padRight};TemplateItem.prototype.getMinLength=function(){if(this.minLength==null)return null;return this.minLength+this.padLeft+this.padRight}},1519:(e,t,r)=>{"use strict";var s=r(7426);e.exports=function(){return a.newThemeSet()};var a={};a.baseTheme=r(4369);a.newTheme=function(e,t){if(!t){t=e;e=this.baseTheme}return s({},e,t)};a.getThemeNames=function(){return Object.keys(this.themes)};a.addTheme=function(e,t,r){this.themes[e]=this.newTheme(t,r)};a.addToAllThemes=function(e){var t=this.themes;Object.keys(t).forEach((function(r){s(t[r],e)}));s(this.baseTheme,e)};a.getTheme=function(e){if(!this.themes[e])throw this.newMissingThemeError(e);return this.themes[e]};a.setDefault=function(e,t){if(t==null){t=e;e={}}var r=e.platform==null?"fallback":e.platform;var s=!!e.hasUnicode;var a=!!e.hasColor;if(!this.defaults[r])this.defaults[r]={true:{},false:{}};this.defaults[r][s][a]=t};a.getDefault=function(e){if(!e)e={};var t=e.platform||process.platform;var r=this.defaults[t]||this.defaults.fallback;var a=!!e.hasUnicode;var o=!!e.hasColor;if(!r)throw this.newMissingDefaultThemeError(t,a,o);if(!r[a][o]){if(a&&o&&r[!a][o]){a=false}else if(a&&o&&r[a][!o]){o=false}else if(a&&o&&r[!a][!o]){a=false;o=false}else if(a&&!o&&r[!a][o]){a=false}else if(!a&&o&&r[a][!o]){o=false}else if(r===this.defaults.fallback){throw this.newMissingDefaultThemeError(t,a,o)}}if(r[a][o]){return this.getTheme(r[a][o])}else{return this.getDefault(s({},e,{platform:"fallback"}))}};a.newMissingThemeError=function newMissingThemeError(e){var t=new Error('Could not find a gauge theme named "'+e+'"');Error.captureStackTrace.call(t,newMissingThemeError);t.theme=e;t.code="EMISSINGTHEME";return t};a.newMissingDefaultThemeError=function newMissingDefaultThemeError(e,t,r){var s=new Error("Could not find a gauge theme for your platform/unicode/color use combo:\n"+" platform = "+e+"\n"+" hasUnicode = "+t+"\n"+" hasColor = "+r);Error.captureStackTrace.call(s,newMissingDefaultThemeError);s.platform=e;s.hasUnicode=t;s.hasColor=r;s.code="EMISSINGTHEME";return s};a.newThemeSet=function(){var themeset=function(e){return themeset.getDefault(e)};return s(themeset,a,{themes:s({},this.themes),baseTheme:s({},this.baseTheme),defaults:JSON.parse(JSON.stringify(this.defaults||{}))})}},6605:(e,t,r)=>{"use strict";var s=r(3645);var a=r(1519);var o=e.exports=new a;o.addTheme("ASCII",{preProgressbar:"[",postProgressbar:"]",progressbarTheme:{complete:"#",remaining:"."},activityIndicatorTheme:"-\\|/",preSubsection:">"});o.addTheme("colorASCII",o.getTheme("ASCII"),{progressbarTheme:{preComplete:s.color("inverse"),complete:" ",postComplete:s.color("stopInverse"),preRemaining:s.color("brightBlack"),remaining:".",postRemaining:s.color("reset")}});o.addTheme("brailleSpinner",{preProgressbar:"⸨",postProgressbar:"⸩",progressbarTheme:{complete:"░",remaining:"⠂"},activityIndicatorTheme:"⠋⠙⠹⠸⠼⠴⠦⠧⠇⠏",preSubsection:">"});o.addTheme("colorBrailleSpinner",o.getTheme("brailleSpinner"),{progressbarTheme:{preComplete:s.color("inverse"),complete:" ",postComplete:s.color("stopInverse"),preRemaining:s.color("brightBlack"),remaining:"░",postRemaining:s.color("reset")}});o.setDefault({},"ASCII");o.setDefault({hasColor:true},"colorASCII");o.setDefault({platform:"darwin",hasUnicode:true},"brailleSpinner");o.setDefault({platform:"darwin",hasUnicode:true,hasColor:true},"colorBrailleSpinner")},8413:(e,t,r)=>{"use strict";var s=r(6529);var a=r(5591);e.exports=wideTruncate;function wideTruncate(e,t){if(s(e)===0)return e;if(t<=0)return"";if(s(e)<=t)return e;var r=a(e);var o=e.length+r.length;var u=e.slice(0,t+o);while(s(u)>t){u=u.slice(0,-1)}return u}},7625:(e,t,r)=>{t.alphasort=alphasort;t.alphasorti=alphasorti;t.setopts=setopts;t.ownProp=ownProp;t.makeAbs=makeAbs;t.finish=finish;t.mark=mark;t.isIgnored=isIgnored;t.childrenIgnored=childrenIgnored;function ownProp(e,t){return Object.prototype.hasOwnProperty.call(e,t)}var s=r(5622);var a=r(3973);var o=r(8714);var u=a.Minimatch;function alphasorti(e,t){return e.toLowerCase().localeCompare(t.toLowerCase())}function alphasort(e,t){return e.localeCompare(t)}function setupIgnores(e,t){e.ignore=t.ignore||[];if(!Array.isArray(e.ignore))e.ignore=[e.ignore];if(e.ignore.length){e.ignore=e.ignore.map(ignoreMap)}}function ignoreMap(e){var t=null;if(e.slice(-3)==="/**"){var r=e.replace(/(\/\*\*)+$/,"");t=new u(r,{dot:true})}return{matcher:new u(e,{dot:true}),gmatcher:t}}function setopts(e,t,r){if(!r)r={};if(r.matchBase&&-1===t.indexOf("/")){if(r.noglobstar){throw new Error("base matching requires globstar")}t="**/"+t}e.silent=!!r.silent;e.pattern=t;e.strict=r.strict!==false;e.realpath=!!r.realpath;e.realpathCache=r.realpathCache||Object.create(null);e.follow=!!r.follow;e.dot=!!r.dot;e.mark=!!r.mark;e.nodir=!!r.nodir;if(e.nodir)e.mark=true;e.sync=!!r.sync;e.nounique=!!r.nounique;e.nonull=!!r.nonull;e.nosort=!!r.nosort;e.nocase=!!r.nocase;e.stat=!!r.stat;e.noprocess=!!r.noprocess;e.absolute=!!r.absolute;e.maxLength=r.maxLength||Infinity;e.cache=r.cache||Object.create(null);e.statCache=r.statCache||Object.create(null);e.symlinks=r.symlinks||Object.create(null);setupIgnores(e,r);e.changedCwd=false;var a=process.cwd();if(!ownProp(r,"cwd"))e.cwd=a;else{e.cwd=s.resolve(r.cwd);e.changedCwd=e.cwd!==a}e.root=r.root||s.resolve(e.cwd,"/");e.root=s.resolve(e.root);if(process.platform==="win32")e.root=e.root.replace(/\\/g,"/");e.cwdAbs=o(e.cwd)?e.cwd:makeAbs(e,e.cwd);if(process.platform==="win32")e.cwdAbs=e.cwdAbs.replace(/\\/g,"/");e.nomount=!!r.nomount;r.nonegate=true;r.nocomment=true;e.minimatch=new u(t,r);e.options=e.minimatch.options}function finish(e){var t=e.nounique;var r=t?[]:Object.create(null);for(var s=0,a=e.matches.length;s{e.exports=glob;var s=r(5747);var a=r(6863);var o=r(3973);var u=o.Minimatch;var c=r(4124);var h=r(8614).EventEmitter;var p=r(5622);var d=r(2357);var v=r(8714);var m=r(9010);var g=r(7625);var y=g.alphasort;var _=g.alphasorti;var E=g.setopts;var x=g.ownProp;var w=r(2492);var D=r(1669);var C=g.childrenIgnored;var A=g.isIgnored;var S=r(1223);function glob(e,t,r){if(typeof t==="function")r=t,t={};if(!t)t={};if(t.sync){if(r)throw new TypeError("callback provided to sync glob");return m(e,t)}return new Glob(e,t,r)}glob.sync=m;var k=glob.GlobSync=m.GlobSync;glob.glob=glob;function extend(e,t){if(t===null||typeof t!=="object"){return e}var r=Object.keys(t);var s=r.length;while(s--){e[r[s]]=t[r[s]]}return e}glob.hasMagic=function(e,t){var r=extend({},t);r.noprocess=true;var s=new Glob(e,r);var a=s.minimatch.set;if(!e)return false;if(a.length>1)return true;for(var o=0;othis.maxLength)return t();if(!this.stat&&x(this.cache,r)){var o=this.cache[r];if(Array.isArray(o))o="DIR";if(!a||o==="DIR")return t(null,o);if(a&&o==="FILE")return t()}var u;var c=this.statCache[r];if(c!==undefined){if(c===false)return t(null,c);else{var h=c.isDirectory()?"DIR":"FILE";if(a&&h==="FILE")return t();else return t(null,h,c)}}var p=this;var d=w("stat\0"+r,lstatcb_);if(d)s.lstat(r,d);function lstatcb_(a,o){if(o&&o.isSymbolicLink()){return s.stat(r,(function(s,a){if(s)p._stat2(e,r,null,o,t);else p._stat2(e,r,s,a,t)}))}else{p._stat2(e,r,a,o,t)}}};Glob.prototype._stat2=function(e,t,r,s,a){if(r&&(r.code==="ENOENT"||r.code==="ENOTDIR")){this.statCache[t]=false;return a()}var o=e.slice(-1)==="/";this.statCache[t]=s;if(t.slice(-1)==="/"&&s&&!s.isDirectory())return a(null,false,s);var u=true;if(s)u=s.isDirectory()?"DIR":"FILE";this.cache[t]=this.cache[t]||u;if(o&&u==="FILE")return a();return a(null,u,s)}},9010:(e,t,r)=>{e.exports=globSync;globSync.GlobSync=GlobSync;var s=r(5747);var a=r(6863);var o=r(3973);var u=o.Minimatch;var c=r(1957).Glob;var h=r(1669);var p=r(5622);var d=r(2357);var v=r(8714);var m=r(7625);var g=m.alphasort;var y=m.alphasorti;var _=m.setopts;var E=m.ownProp;var x=m.childrenIgnored;var w=m.isIgnored;function globSync(e,t){if(typeof t==="function"||arguments.length===3)throw new TypeError("callback provided to sync glob\n"+"See: https://github.com/isaacs/node-glob/issues/167");return new GlobSync(e,t).found}function GlobSync(e,t){if(!e)throw new Error("must provide pattern");if(typeof t==="function"||arguments.length===3)throw new TypeError("callback provided to sync glob\n"+"See: https://github.com/isaacs/node-glob/issues/167");if(!(this instanceof GlobSync))return new GlobSync(e,t);_(this,e,t);if(this.noprocess)return this;var r=this.minimatch.set.length;this.matches=new Array(r);for(var s=0;sthis.maxLength)return false;if(!this.stat&&E(this.cache,t)){var a=this.cache[t];if(Array.isArray(a))a="DIR";if(!r||a==="DIR")return a;if(r&&a==="FILE")return false}var o;var u=this.statCache[t];if(!u){var c;try{c=s.lstatSync(t)}catch(e){if(e&&(e.code==="ENOENT"||e.code==="ENOTDIR")){this.statCache[t]=false;return false}}if(c&&c.isSymbolicLink()){try{u=s.statSync(t)}catch(e){u=c}}else{u=c}}this.statCache[t]=u;var a=true;if(u)a=u.isDirectory()?"DIR":"FILE";this.cache[t]=this.cache[t]||a;if(r&&a==="FILE")return false;return a};GlobSync.prototype._mark=function(e){return m.mark(this,e)};GlobSync.prototype._makeAbs=function(e){return m.makeAbs(this,e)}},7356:e=>{"use strict";e.exports=clone;function clone(e){if(e===null||typeof e!=="object")return e;if(e instanceof Object)var t={__proto__:e.__proto__};else var t=Object.create(null);Object.getOwnPropertyNames(e).forEach((function(r){Object.defineProperty(t,r,Object.getOwnPropertyDescriptor(e,r))}));return t}},7758:(e,t,r)=>{var s=r(5747);var a=r(263);var o=r(3086);var u=r(7356);var c=[];var h=r(1669);function noop(){}var p=noop;if(h.debuglog)p=h.debuglog("gfs4");else if(/\bgfs4\b/i.test(process.env.NODE_DEBUG||""))p=function(){var e=h.format.apply(h,arguments);e="GFS4: "+e.split(/\n/).join("\nGFS4: ");console.error(e)};if(/\bgfs4\b/i.test(process.env.NODE_DEBUG||"")){process.on("exit",(function(){p(c);r(2357).equal(c.length,0)}))}e.exports=patch(u(s));if(process.env.TEST_GRACEFUL_FS_GLOBAL_PATCH&&!s.__patched){e.exports=patch(s);s.__patched=true}e.exports.close=function(e){return function(t,r){return e.call(s,t,(function(e){if(!e)retry();if(typeof r==="function")r.apply(this,arguments)}))}}(s.close);e.exports.closeSync=function(e){return function(t){var r=e.apply(s,arguments);retry();return r}}(s.closeSync);if(!/\bgraceful-fs\b/.test(s.closeSync.toString())){s.closeSync=e.exports.closeSync;s.close=e.exports.close}function patch(e){a(e);e.gracefulify=patch;e.FileReadStream=ReadStream;e.FileWriteStream=WriteStream;e.createReadStream=createReadStream;e.createWriteStream=createWriteStream;var t=e.readFile;e.readFile=readFile;function readFile(e,r,s){if(typeof r==="function")s=r,r=null;return go$readFile(e,r,s);function go$readFile(e,r,s){return t(e,r,(function(t){if(t&&(t.code==="EMFILE"||t.code==="ENFILE"))enqueue([go$readFile,[e,r,s]]);else{if(typeof s==="function")s.apply(this,arguments);retry()}}))}}var r=e.writeFile;e.writeFile=writeFile;function writeFile(e,t,s,a){if(typeof s==="function")a=s,s=null;return go$writeFile(e,t,s,a);function go$writeFile(e,t,s,a){return r(e,t,s,(function(r){if(r&&(r.code==="EMFILE"||r.code==="ENFILE"))enqueue([go$writeFile,[e,t,s,a]]);else{if(typeof a==="function")a.apply(this,arguments);retry()}}))}}var s=e.appendFile;if(s)e.appendFile=appendFile;function appendFile(e,t,r,a){if(typeof r==="function")a=r,r=null;return go$appendFile(e,t,r,a);function go$appendFile(e,t,r,a){return s(e,t,r,(function(s){if(s&&(s.code==="EMFILE"||s.code==="ENFILE"))enqueue([go$appendFile,[e,t,r,a]]);else{if(typeof a==="function")a.apply(this,arguments);retry()}}))}}var u=e.readdir;e.readdir=readdir;function readdir(e,t,r){var s=[e];if(typeof t!=="function"){s.push(t)}else{r=t}s.push(go$readdir$cb);return go$readdir(s);function go$readdir$cb(e,t){if(t&&t.sort)t.sort();if(e&&(e.code==="EMFILE"||e.code==="ENFILE"))enqueue([go$readdir,[s]]);else{if(typeof r==="function")r.apply(this,arguments);retry()}}}function go$readdir(t){return u.apply(e,t)}if(process.version.substr(0,4)==="v0.8"){var c=o(e);ReadStream=c.ReadStream;WriteStream=c.WriteStream}var h=e.ReadStream;if(h){ReadStream.prototype=Object.create(h.prototype);ReadStream.prototype.open=ReadStream$open}var p=e.WriteStream;if(p){WriteStream.prototype=Object.create(p.prototype);WriteStream.prototype.open=WriteStream$open}e.ReadStream=ReadStream;e.WriteStream=WriteStream;function ReadStream(e,t){if(this instanceof ReadStream)return h.apply(this,arguments),this;else return ReadStream.apply(Object.create(ReadStream.prototype),arguments)}function ReadStream$open(){var e=this;open(e.path,e.flags,e.mode,(function(t,r){if(t){if(e.autoClose)e.destroy();e.emit("error",t)}else{e.fd=r;e.emit("open",r);e.read()}}))}function WriteStream(e,t){if(this instanceof WriteStream)return p.apply(this,arguments),this;else return WriteStream.apply(Object.create(WriteStream.prototype),arguments)}function WriteStream$open(){var e=this;open(e.path,e.flags,e.mode,(function(t,r){if(t){e.destroy();e.emit("error",t)}else{e.fd=r;e.emit("open",r)}}))}function createReadStream(e,t){return new ReadStream(e,t)}function createWriteStream(e,t){return new WriteStream(e,t)}var d=e.open;e.open=open;function open(e,t,r,s){if(typeof r==="function")s=r,r=null;return go$open(e,t,r,s);function go$open(e,t,r,s){return d(e,t,r,(function(a,o){if(a&&(a.code==="EMFILE"||a.code==="ENFILE"))enqueue([go$open,[e,t,r,s]]);else{if(typeof s==="function")s.apply(this,arguments);retry()}}))}}return e}function enqueue(e){p("ENQUEUE",e[0].name,e[1]);c.push(e)}function retry(){var e=c.shift();if(e){p("RETRY",e[0].name,e[1]);e[0].apply(null,e[1])}}},3086:(e,t,r)=>{var s=r(2413).Stream;e.exports=legacy;function legacy(e){return{ReadStream:ReadStream,WriteStream:WriteStream};function ReadStream(t,r){if(!(this instanceof ReadStream))return new ReadStream(t,r);s.call(this);var a=this;this.path=t;this.fd=null;this.readable=true;this.paused=false;this.flags="r";this.mode=438;this.bufferSize=64*1024;r=r||{};var o=Object.keys(r);for(var u=0,c=o.length;uthis.end){throw new Error("start must be <= end")}this.pos=this.start}if(this.fd!==null){process.nextTick((function(){a._read()}));return}e.open(this.path,this.flags,this.mode,(function(e,t){if(e){a.emit("error",e);a.readable=false;return}a.fd=t;a.emit("open",t);a._read()}))}function WriteStream(t,r){if(!(this instanceof WriteStream))return new WriteStream(t,r);s.call(this);this.path=t;this.fd=null;this.writable=true;this.flags="w";this.encoding="binary";this.mode=438;this.bytesWritten=0;r=r||{};var a=Object.keys(r);for(var o=0,u=a.length;o= zero")}this.pos=this.start}this.busy=false;this._queue=[];if(this.fd===null){this._open=e.open;this._queue.push([this._open,this.path,this.flags,this.mode,undefined]);this.flush()}}}},263:(e,t,r)=>{var s=r(7619);var a=process.cwd;var o=null;var u=process.env.GRACEFUL_FS_PLATFORM||process.platform;process.cwd=function(){if(!o)o=a.call(process);return o};try{process.cwd()}catch(e){}var c=process.chdir;process.chdir=function(e){o=null;c.call(process,e)};e.exports=patch;function patch(e){if(s.hasOwnProperty("O_SYMLINK")&&process.version.match(/^v0\.6\.[0-2]|^v0\.5\./)){patchLchmod(e)}if(!e.lutimes){patchLutimes(e)}e.chown=chownFix(e.chown);e.fchown=chownFix(e.fchown);e.lchown=chownFix(e.lchown);e.chmod=chmodFix(e.chmod);e.fchmod=chmodFix(e.fchmod);e.lchmod=chmodFix(e.lchmod);e.chownSync=chownFixSync(e.chownSync);e.fchownSync=chownFixSync(e.fchownSync);e.lchownSync=chownFixSync(e.lchownSync);e.chmodSync=chmodFixSync(e.chmodSync);e.fchmodSync=chmodFixSync(e.fchmodSync);e.lchmodSync=chmodFixSync(e.lchmodSync);e.stat=statFix(e.stat);e.fstat=statFix(e.fstat);e.lstat=statFix(e.lstat);e.statSync=statFixSync(e.statSync);e.fstatSync=statFixSync(e.fstatSync);e.lstatSync=statFixSync(e.lstatSync);if(!e.lchmod){e.lchmod=function(e,t,r){if(r)process.nextTick(r)};e.lchmodSync=function(){}}if(!e.lchown){e.lchown=function(e,t,r,s){if(s)process.nextTick(s)};e.lchownSync=function(){}}if(u==="win32"){e.rename=function(t){return function(r,s,a){var o=Date.now();var u=0;t(r,s,(function CB(c){if(c&&(c.code==="EACCES"||c.code==="EPERM")&&Date.now()-o<6e4){setTimeout((function(){e.stat(s,(function(e,o){if(e&&e.code==="ENOENT")t(r,s,CB);else a(c)}))}),u);if(u<100)u+=10;return}if(a)a(c)}))}}(e.rename)}e.read=function(t){return function(r,s,a,o,u,c){var h;if(c&&typeof c==="function"){var p=0;h=function(d,v,m){if(d&&d.code==="EAGAIN"&&p<10){p++;return t.call(e,r,s,a,o,u,h)}c.apply(this,arguments)}}return t.call(e,r,s,a,o,u,h)}}(e.read);e.readSync=function(t){return function(r,s,a,o,u){var c=0;while(true){try{return t.call(e,r,s,a,o,u)}catch(e){if(e.code==="EAGAIN"&&c<10){c++;continue}throw e}}}}(e.readSync);function patchLchmod(e){e.lchmod=function(t,r,a){e.open(t,s.O_WRONLY|s.O_SYMLINK,r,(function(t,s){if(t){if(a)a(t);return}e.fchmod(s,r,(function(t){e.close(s,(function(e){if(a)a(t||e)}))}))}))};e.lchmodSync=function(t,r){var a=e.openSync(t,s.O_WRONLY|s.O_SYMLINK,r);var o=true;var u;try{u=e.fchmodSync(a,r);o=false}finally{if(o){try{e.closeSync(a)}catch(e){}}else{e.closeSync(a)}}return u}}function patchLutimes(e){if(s.hasOwnProperty("O_SYMLINK")){e.lutimes=function(t,r,a,o){e.open(t,s.O_SYMLINK,(function(t,s){if(t){if(o)o(t);return}e.futimes(s,r,a,(function(t){e.close(s,(function(e){if(o)o(t||e)}))}))}))};e.lutimesSync=function(t,r,a){var o=e.openSync(t,s.O_SYMLINK);var u;var c=true;try{u=e.futimesSync(o,r,a);c=false}finally{if(c){try{e.closeSync(o)}catch(e){}}else{e.closeSync(o)}}return u}}else{e.lutimes=function(e,t,r,s){if(s)process.nextTick(s)};e.lutimesSync=function(){}}}function chmodFix(t){if(!t)return t;return function(r,s,a){return t.call(e,r,s,(function(e){if(chownErOk(e))e=null;if(a)a.apply(this,arguments)}))}}function chmodFixSync(t){if(!t)return t;return function(r,s){try{return t.call(e,r,s)}catch(e){if(!chownErOk(e))throw e}}}function chownFix(t){if(!t)return t;return function(r,s,a,o){return t.call(e,r,s,a,(function(e){if(chownErOk(e))e=null;if(o)o.apply(this,arguments)}))}}function chownFixSync(t){if(!t)return t;return function(r,s,a){try{return t.call(e,r,s,a)}catch(e){if(!chownErOk(e))throw e}}}function statFix(t){if(!t)return t;return function(r,s){return t.call(e,r,(function(e,t){if(!t)return s.apply(this,arguments);if(t.uid<0)t.uid+=4294967296;if(t.gid<0)t.gid+=4294967296;if(s)s.apply(this,arguments)}))}}function statFixSync(t){if(!t)return t;return function(r){var s=t.call(e,r);if(s.uid<0)s.uid+=4294967296;if(s.gid<0)s.gid+=4294967296;return s}}function chownErOk(e){if(!e)return true;if(e.code==="ENOSYS")return true;var t=!process.getuid||process.getuid()!==0;if(t){if(e.code==="EINVAL"||e.code==="EPERM")return true}return false}}},5885:(e,t,r)=>{"use strict";var s=r(2087);var a=e.exports=function(){if(s.type()=="Windows_NT"){return false}var e=/UTF-?8$/i;var t=process.env.LC_ALL||process.env.LC_CTYPE||process.env.LANG;return e.test(t)}},2492:(e,t,r)=>{var s=r(2940);var a=Object.create(null);var o=r(1223);e.exports=s(inflight);function inflight(e,t){if(a[e]){a[e].push(t);return null}else{a[e]=[t];return makeres(e)}}function makeres(e){return o((function RES(){var t=a[e];var r=t.length;var s=slice(arguments);try{for(var o=0;or){t.splice(0,r);process.nextTick((function(){RES.apply(null,s)}))}else{delete a[e]}}}))}function slice(e){var t=e.length;var r=[];for(var s=0;s{try{var s=r(1669);if(typeof s.inherits!=="function")throw"";e.exports=s.inherits}catch(t){e.exports=r(8544)}},8544:e=>{if(typeof Object.create==="function"){e.exports=function inherits(e,t){if(t){e.super_=t;e.prototype=Object.create(t.prototype,{constructor:{value:e,enumerable:false,writable:true,configurable:true}})}}}else{e.exports=function inherits(e,t){if(t){e.super_=t;var TempCtor=function(){};TempCtor.prototype=t.prototype;e.prototype=new TempCtor;e.prototype.constructor=e}}}},4882:e=>{"use strict";e.exports=e=>{if(Number.isNaN(e)){return false}if(e>=4352&&(e<=4447||e===9001||e===9002||11904<=e&&e<=12871&&e!==12351||12880<=e&&e<=19903||19968<=e&&e<=42182||43360<=e&&e<=43388||44032<=e&&e<=55203||63744<=e&&e<=64255||65040<=e&&e<=65049||65072<=e&&e<=65131||65281<=e&&e<=65376||65504<=e&&e<=65510||110592<=e&&e<=110593||127488<=e&&e<=127569||131072<=e&&e<=262141)){return true}return false}},893:e=>{var t={}.toString;e.exports=Array.isArray||function(e){return t.call(e)=="[object Array]"}},6904:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});var s=r(7583);var a=_interopRequireDefault(s);var o=r(749);var u=_interopRequireDefault(o);function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}t.default={parse:a.default,stringify:u.default};e.exports=t["default"]},7583:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});var s=typeof Symbol==="function"&&typeof Symbol.iterator==="symbol"?function(e){return typeof e}:function(e){return e&&typeof Symbol==="function"&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e};t.default=parse;var a=r(7393);var o=_interopRequireWildcard(a);function _interopRequireWildcard(e){if(e&&e.__esModule){return e}else{var t={};if(e!=null){for(var r in e){if(Object.prototype.hasOwnProperty.call(e,r))t[r]=e[r]}}t.default=e;return t}}var u=void 0;var c=void 0;var h=void 0;var p=void 0;var d=void 0;var v=void 0;var m=void 0;var g=void 0;var y=void 0;function parse(e,t){u=String(e);c="start";h=[];p=0;d=1;v=0;m=undefined;g=undefined;y=undefined;do{m=lex();A[c]()}while(m.type!=="eof");if(typeof t==="function"){return internalize({"":y},"",t)}return y}function internalize(e,t,r){var a=e[t];if(a!=null&&(typeof a==="undefined"?"undefined":s(a))==="object"){for(var o in a){var u=internalize(a,o,r);if(u===undefined){delete a[o]}else{a[o]=u}}}return r.call(e,t,a)}var _=void 0;var E=void 0;var x=void 0;var w=void 0;var D=void 0;function lex(){_="default";E="";x=false;w=1;for(;;){D=peek();var e=C[_]();if(e){return e}}}function peek(){if(u[p]){return String.fromCodePoint(u.codePointAt(p))}}function read(){var e=peek();if(e==="\n"){d++;v=0}else if(e){v+=e.length}else{v++}if(e){p+=e.length}return e}var C={default:function _default(){switch(D){case"\t":case"\v":case"\f":case" ":case" ":case"\ufeff":case"\n":case"\r":case"\u2028":case"\u2029":read();return;case"/":read();_="comment";return;case undefined:read();return newToken("eof")}if(o.isSpaceSeparator(D)){read();return}return C[c]()},comment:function comment(){switch(D){case"*":read();_="multiLineComment";return;case"/":read();_="singleLineComment";return}throw invalidChar(read())},multiLineComment:function multiLineComment(){switch(D){case"*":read();_="multiLineCommentAsterisk";return;case undefined:throw invalidChar(read())}read()},multiLineCommentAsterisk:function multiLineCommentAsterisk(){switch(D){case"*":read();return;case"/":read();_="default";return;case undefined:throw invalidChar(read())}read();_="multiLineComment"},singleLineComment:function singleLineComment(){switch(D){case"\n":case"\r":case"\u2028":case"\u2029":read();_="default";return;case undefined:read();return newToken("eof")}read()},value:function value(){switch(D){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()==="-"){w=-1}_="sign";return;case".":E=read();_="decimalPointLeading";return;case"0":E=read();_="zero";return;case"1":case"2":case"3":case"4":case"5":case"6":case"7":case"8":case"9":E=read();_="decimalInteger";return;case"I":read();literal("nfinity");return newToken("numeric",Infinity);case"N":read();literal("aN");return newToken("numeric",NaN);case'"':case"'":x=read()==='"';E="";_="string";return}throw invalidChar(read())},identifierNameStartEscape:function identifierNameStartEscape(){if(D!=="u"){throw invalidChar(read())}read();var e=unicodeEscape();switch(e){case"$":case"_":break;default:if(!o.isIdStartChar(e)){throw invalidIdentifier()}break}E+=e;_="identifierName"},identifierName:function identifierName(){switch(D){case"$":case"_":case"‌":case"‍":E+=read();return;case"\\":read();_="identifierNameEscape";return}if(o.isIdContinueChar(D)){E+=read();return}return newToken("identifier",E)},identifierNameEscape:function identifierNameEscape(){if(D!=="u"){throw invalidChar(read())}read();var e=unicodeEscape();switch(e){case"$":case"_":case"‌":case"‍":break;default:if(!o.isIdContinueChar(e)){throw invalidIdentifier()}break}E+=e;_="identifierName"},sign:function sign(){switch(D){case".":E=read();_="decimalPointLeading";return;case"0":E=read();_="zero";return;case"1":case"2":case"3":case"4":case"5":case"6":case"7":case"8":case"9":E=read();_="decimalInteger";return;case"I":read();literal("nfinity");return newToken("numeric",w*Infinity);case"N":read();literal("aN");return newToken("numeric",NaN)}throw invalidChar(read())},zero:function zero(){switch(D){case".":E+=read();_="decimalPoint";return;case"e":case"E":E+=read();_="decimalExponent";return;case"x":case"X":E+=read();_="hexadecimal";return}return newToken("numeric",w*0)},decimalInteger:function decimalInteger(){switch(D){case".":E+=read();_="decimalPoint";return;case"e":case"E":E+=read();_="decimalExponent";return}if(o.isDigit(D)){E+=read();return}return newToken("numeric",w*Number(E))},decimalPointLeading:function decimalPointLeading(){if(o.isDigit(D)){E+=read();_="decimalFraction";return}throw invalidChar(read())},decimalPoint:function decimalPoint(){switch(D){case"e":case"E":E+=read();_="decimalExponent";return}if(o.isDigit(D)){E+=read();_="decimalFraction";return}return newToken("numeric",w*Number(E))},decimalFraction:function decimalFraction(){switch(D){case"e":case"E":E+=read();_="decimalExponent";return}if(o.isDigit(D)){E+=read();return}return newToken("numeric",w*Number(E))},decimalExponent:function decimalExponent(){switch(D){case"+":case"-":E+=read();_="decimalExponentSign";return}if(o.isDigit(D)){E+=read();_="decimalExponentInteger";return}throw invalidChar(read())},decimalExponentSign:function decimalExponentSign(){if(o.isDigit(D)){E+=read();_="decimalExponentInteger";return}throw invalidChar(read())},decimalExponentInteger:function decimalExponentInteger(){if(o.isDigit(D)){E+=read();return}return newToken("numeric",w*Number(E))},hexadecimal:function hexadecimal(){if(o.isHexDigit(D)){E+=read();_="hexadecimalInteger";return}throw invalidChar(read())},hexadecimalInteger:function hexadecimalInteger(){if(o.isHexDigit(D)){E+=read();return}return newToken("numeric",w*Number(E))},string:function string(){switch(D){case"\\":read();E+=escape();return;case'"':if(x){read();return newToken("string",E)}E+=read();return;case"'":if(!x){read();return newToken("string",E)}E+=read();return;case"\n":case"\r":throw invalidChar(read());case"\u2028":case"\u2029":separatorChar(D);break;case undefined:throw invalidChar(read())}E+=read()},start:function start(){switch(D){case"{":case"[":return newToken("punctuator",read())}_="value"},beforePropertyName:function beforePropertyName(){switch(D){case"$":case"_":E=read();_="identifierName";return;case"\\":read();_="identifierNameStartEscape";return;case"}":return newToken("punctuator",read());case'"':case"'":x=read()==='"';_="string";return}if(o.isIdStartChar(D)){E+=read();_="identifierName";return}throw invalidChar(read())},afterPropertyName:function afterPropertyName(){if(D===":"){return newToken("punctuator",read())}throw invalidChar(read())},beforePropertyValue:function beforePropertyValue(){_="value"},afterPropertyValue:function afterPropertyValue(){switch(D){case",":case"}":return newToken("punctuator",read())}throw invalidChar(read())},beforeArrayValue:function beforeArrayValue(){if(D==="]"){return newToken("punctuator",read())}_="value"},afterArrayValue:function afterArrayValue(){switch(D){case",":case"]":return newToken("punctuator",read())}throw invalidChar(read())},end:function end(){throw invalidChar(read())}};function newToken(e,t){return{type:e,value:t,line:d,column:v}}function literal(e){var t=true;var r=false;var s=undefined;try{for(var a=e[Symbol.iterator](),o;!(t=(o=a.next()).done);t=true){var u=o.value;var c=peek();if(c!==u){throw invalidChar(read())}read()}}catch(e){r=true;s=e}finally{try{if(!t&&a.return){a.return()}}finally{if(r){throw s}}}}function escape(){var e=peek();switch(e){case"b":read();return"\b";case"f":read();return"\f";case"n":read();return"\n";case"r":read();return"\r";case"t":read();return"\t";case"v":read();return"\v";case"0":read();if(o.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()}return"";case"1":case"2":case"3":case"4":case"5":case"6":case"7":case"8":case"9":throw invalidChar(read());case undefined:throw invalidChar(read())}return read()}function hexEscape(){var e="";var t=peek();if(!o.isHexDigit(t)){throw invalidChar(read())}e+=read();t=peek();if(!o.isHexDigit(t)){throw invalidChar(read())}e+=read();return String.fromCodePoint(parseInt(e,16))}function unicodeEscape(){var e="";var t=4;while(t-- >0){var r=peek();if(!o.isHexDigit(r)){throw invalidChar(read())}e+=read()}return String.fromCodePoint(parseInt(e,16))}var A={start:function start(){if(m.type==="eof"){throw invalidEOF()}push()},beforePropertyName:function beforePropertyName(){switch(m.type){case"identifier":case"string":g=m.value;c="afterPropertyName";return;case"punctuator":pop();return;case"eof":throw invalidEOF()}},afterPropertyName:function afterPropertyName(){if(m.type==="eof"){throw invalidEOF()}c="beforePropertyValue"},beforePropertyValue:function beforePropertyValue(){if(m.type==="eof"){throw invalidEOF()}push()},beforeArrayValue:function beforeArrayValue(){if(m.type==="eof"){throw invalidEOF()}if(m.type==="punctuator"&&m.value==="]"){pop();return}push()},afterPropertyValue:function afterPropertyValue(){if(m.type==="eof"){throw invalidEOF()}switch(m.value){case",":c="beforePropertyName";return;case"}":pop()}},afterArrayValue:function afterArrayValue(){if(m.type==="eof"){throw invalidEOF()}switch(m.value){case",":c="beforeArrayValue";return;case"]":pop()}},end:function end(){}};function push(){var e=void 0;switch(m.type){case"punctuator":switch(m.value){case"{":e={};break;case"[":e=[];break}break;case"null":case"boolean":case"numeric":case"string":e=m.value;break}if(y===undefined){y=e}else{var t=h[h.length-1];if(Array.isArray(t)){t.push(e)}else{t[g]=e}}if(e!==null&&(typeof e==="undefined"?"undefined":s(e))==="object"){h.push(e);if(Array.isArray(e)){c="beforeArrayValue"}else{c="beforePropertyName"}}else{var r=h[h.length-1];if(r==null){c="end"}else if(Array.isArray(r)){c="afterArrayValue"}else{c="afterPropertyValue"}}}function pop(){h.pop();var e=h[h.length-1];if(e==null){c="end"}else if(Array.isArray(e)){c="afterArrayValue"}else{c="afterPropertyValue"}}function invalidChar(e){if(e===undefined){return syntaxError("JSON5: invalid end of input at "+d+":"+v)}return syntaxError("JSON5: invalid character '"+formatChar(e)+"' at "+d+":"+v)}function invalidEOF(){return syntaxError("JSON5: invalid end of input at "+d+":"+v)}function invalidIdentifier(){v-=5;return syntaxError("JSON5: invalid identifier character at "+d+":"+v)}function separatorChar(e){console.warn("JSON5: '"+e+"' is not valid ECMAScript; consider escaping")}function formatChar(e){var t={"'":"\\'",'"':'\\"',"\\":"\\\\","\b":"\\b","\f":"\\f","\n":"\\n","\r":"\\r","\t":"\\t","\v":"\\v","\0":"\\0","\u2028":"\\u2028","\u2029":"\\u2029"};if(t[e]){return t[e]}if(e<" "){var r=e.charCodeAt(0).toString(16);return"\\x"+("00"+r).substring(r.length)}return e}function syntaxError(e){var t=new SyntaxError(e);t.lineNumber=d;t.columnNumber=v;return t}e.exports=t["default"]},749:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});var s=typeof Symbol==="function"&&typeof Symbol.iterator==="symbol"?function(e){return typeof e}:function(e){return e&&typeof Symbol==="function"&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e};t.default=stringify;var a=r(7393);var o=_interopRequireWildcard(a);function _interopRequireWildcard(e){if(e&&e.__esModule){return e}else{var t={};if(e!=null){for(var r in e){if(Object.prototype.hasOwnProperty.call(e,r))t[r]=e[r]}}t.default=e;return t}}function stringify(e,t,r){var a=[];var u="";var c=void 0;var h=void 0;var p="";var d=void 0;if(t!=null&&(typeof t==="undefined"?"undefined":s(t))==="object"&&!Array.isArray(t)){r=t.space;d=t.quote;t=t.replacer}if(typeof t==="function"){h=t}else if(Array.isArray(t)){c=[];var v=true;var m=false;var g=undefined;try{for(var y=t[Symbol.iterator](),_;!(v=(_=y.next()).done);v=true){var E=_.value;var x=void 0;if(typeof E==="string"){x=E}else if(typeof E==="number"||E instanceof String||E instanceof Number){x=String(E)}if(x!==undefined&&c.indexOf(x)<0){c.push(x)}}}catch(e){m=true;g=e}finally{try{if(!v&&y.return){y.return()}}finally{if(m){throw g}}}}if(r instanceof Number){r=Number(r)}else if(r instanceof String){r=String(r)}if(typeof r==="number"){if(r>0){r=Math.min(10,Math.floor(r));p=" ".substr(0,r)}}else if(typeof r==="string"){p=r.substr(0,10)}return serializeProperty("",{"":e});function serializeProperty(e,t){var r=t[e];if(r!=null){if(typeof r.toJSON5==="function"){r=r.toJSON5(e)}else if(typeof r.toJSON==="function"){r=r.toJSON(e)}}if(h){r=h.call(t,e,r)}if(r instanceof Number){r=Number(r)}else if(r instanceof String){r=String(r)}else if(r instanceof Boolean){r=r.valueOf()}switch(r){case null:return"null";case true:return"true";case false:return"false"}if(typeof r==="string"){return quoteString(r,false)}if(typeof r==="number"){return String(r)}if((typeof r==="undefined"?"undefined":s(r))==="object"){return Array.isArray(r)?serializeArray(r):serializeObject(r)}return undefined}function quoteString(e){var t={"'":.1,'"':.2};var r={"'":"\\'",'"':'\\"',"\\":"\\\\","\b":"\\b","\f":"\\f","\n":"\\n","\r":"\\r","\t":"\\t","\v":"\\v","\0":"\\0","\u2028":"\\u2028","\u2029":"\\u2029"};var s="";var a=true;var o=false;var u=undefined;try{for(var c=e[Symbol.iterator](),h;!(a=(h=c.next()).done);a=true){var p=h.value;switch(p){case"'":case'"':t[p]++;s+=p;continue}if(r[p]){s+=r[p];continue}if(p<" "){var v=p.charCodeAt(0).toString(16);s+="\\x"+("00"+v).substring(v.length);continue}s+=p}}catch(e){o=true;u=e}finally{try{if(!a&&c.return){c.return()}}finally{if(o){throw u}}}var m=d||Object.keys(t).reduce((function(e,r){return t[e]=0){throw TypeError("Converting circular structure to JSON5")}a.push(e);var t=u;u=u+p;var r=c||Object.keys(e);var s=[];var o=true;var h=false;var d=undefined;try{for(var v=r[Symbol.iterator](),m;!(o=(m=v.next()).done);o=true){var g=m.value;var y=serializeProperty(g,e);if(y!==undefined){var _=serializeKey(g)+":";if(p!==""){_+=" "}_+=y;s.push(_)}}}catch(e){h=true;d=e}finally{try{if(!o&&v.return){v.return()}}finally{if(h){throw d}}}var E=void 0;if(s.length===0){E="{}"}else{var x=void 0;if(p===""){x=s.join(",");E="{"+x+"}"}else{var w=",\n"+u;x=s.join(w);E="{\n"+u+x+",\n"+t+"}"}}a.pop();u=t;return E}function serializeKey(e){if(e.length===0){return quoteString(e,true)}var t=String.fromCodePoint(e.codePointAt(0));if(!o.isIdStartChar(t)){return quoteString(e,true)}for(var r=t.length;r=0){throw TypeError("Converting circular structure to JSON5")}a.push(e);var t=u;u=u+p;var r=[];for(var s=0;s{"use strict";Object.defineProperty(t,"__esModule",{value:true});var r=t.Space_Separator=/[\u1680\u2000-\u200A\u202F\u205F\u3000]/;var s=t.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\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]|\uD800[\uDC00-\uDC0B\uDC0D-\uDC26\uDC28-\uDC3A\uDC3C\uDC3D\uDC3F-\uDC4D\uDC50-\uDC5D\uDC80-\uDCFA\uDD40-\uDD74\uDE80-\uDE9C\uDEA0-\uDED0\uDF00-\uDF1F\uDF30-\uDF4A\uDF50-\uDF75\uDF80-\uDF9D\uDFA0-\uDFC3\uDFC8-\uDFCF\uDFD1-\uDFD5]|\uD801[\uDC00-\uDC9D\uDCB0-\uDCD3\uDCD8-\uDCFB\uDD00-\uDD27\uDD30-\uDD63\uDE00-\uDF36\uDF40-\uDF55\uDF60-\uDF67]|\uD802[\uDC00-\uDC05\uDC08\uDC0A-\uDC35\uDC37\uDC38\uDC3C\uDC3F-\uDC55\uDC60-\uDC76\uDC80-\uDC9E\uDCE0-\uDCF2\uDCF4\uDCF5\uDD00-\uDD15\uDD20-\uDD39\uDD80-\uDDB7\uDDBE\uDDBF\uDE00\uDE10-\uDE13\uDE15-\uDE17\uDE19-\uDE33\uDE60-\uDE7C\uDE80-\uDE9C\uDEC0-\uDEC7\uDEC9-\uDEE4\uDF00-\uDF35\uDF40-\uDF55\uDF60-\uDF72\uDF80-\uDF91]|\uD803[\uDC00-\uDC48\uDC80-\uDCB2\uDCC0-\uDCF2]|\uD804[\uDC03-\uDC37\uDC83-\uDCAF\uDCD0-\uDCE8\uDD03-\uDD26\uDD50-\uDD72\uDD76\uDD83-\uDDB2\uDDC1-\uDDC4\uDDDA\uDDDC\uDE00-\uDE11\uDE13-\uDE2B\uDE80-\uDE86\uDE88\uDE8A-\uDE8D\uDE8F-\uDE9D\uDE9F-\uDEA8\uDEB0-\uDEDE\uDF05-\uDF0C\uDF0F\uDF10\uDF13-\uDF28\uDF2A-\uDF30\uDF32\uDF33\uDF35-\uDF39\uDF3D\uDF50\uDF5D-\uDF61]|\uD805[\uDC00-\uDC34\uDC47-\uDC4A\uDC80-\uDCAF\uDCC4\uDCC5\uDCC7\uDD80-\uDDAE\uDDD8-\uDDDB\uDE00-\uDE2F\uDE44\uDE80-\uDEAA\uDF00-\uDF19]|\uD806[\uDCA0-\uDCDF\uDCFF\uDEC0-\uDEF8]|\uD807[\uDC00-\uDC08\uDC0A-\uDC2E\uDC40\uDC72-\uDC8F]|\uD808[\uDC00-\uDF99]|\uD809[\uDC00-\uDC6E\uDC80-\uDD43]|[\uD80C\uD81C-\uD820\uD840-\uD868\uD86A-\uD86C\uD86F-\uD872][\uDC00-\uDFFF]|\uD80D[\uDC00-\uDC2E]|\uD811[\uDC00-\uDE46]|\uD81A[\uDC00-\uDE38\uDE40-\uDE5E\uDED0-\uDEED\uDF00-\uDF2F\uDF40-\uDF43\uDF63-\uDF77\uDF7D-\uDF8F]|\uD81B[\uDF00-\uDF44\uDF50\uDF93-\uDF9F\uDFE0]|\uD821[\uDC00-\uDFEC]|\uD822[\uDC00-\uDEF2]|\uD82C[\uDC00\uDC01]|\uD82F[\uDC00-\uDC6A\uDC70-\uDC7C\uDC80-\uDC88\uDC90-\uDC99]|\uD835[\uDC00-\uDC54\uDC56-\uDC9C\uDC9E\uDC9F\uDCA2\uDCA5\uDCA6\uDCA9-\uDCAC\uDCAE-\uDCB9\uDCBB\uDCBD-\uDCC3\uDCC5-\uDD05\uDD07-\uDD0A\uDD0D-\uDD14\uDD16-\uDD1C\uDD1E-\uDD39\uDD3B-\uDD3E\uDD40-\uDD44\uDD46\uDD4A-\uDD50\uDD52-\uDEA5\uDEA8-\uDEC0\uDEC2-\uDEDA\uDEDC-\uDEFA\uDEFC-\uDF14\uDF16-\uDF34\uDF36-\uDF4E\uDF50-\uDF6E\uDF70-\uDF88\uDF8A-\uDFA8\uDFAA-\uDFC2\uDFC4-\uDFCB]|\uD83A[\uDC00-\uDCC4\uDD00-\uDD43]|\uD83B[\uDE00-\uDE03\uDE05-\uDE1F\uDE21\uDE22\uDE24\uDE27\uDE29-\uDE32\uDE34-\uDE37\uDE39\uDE3B\uDE42\uDE47\uDE49\uDE4B\uDE4D-\uDE4F\uDE51\uDE52\uDE54\uDE57\uDE59\uDE5B\uDE5D\uDE5F\uDE61\uDE62\uDE64\uDE67-\uDE6A\uDE6C-\uDE72\uDE74-\uDE77\uDE79-\uDE7C\uDE7E\uDE80-\uDE89\uDE8B-\uDE9B\uDEA1-\uDEA3\uDEA5-\uDEA9\uDEAB-\uDEBB]|\uD869[\uDC00-\uDED6\uDF00-\uDFFF]|\uD86D[\uDC00-\uDF34\uDF40-\uDFFF]|\uD86E[\uDC00-\uDC1D\uDC20-\uDFFF]|\uD873[\uDC00-\uDEA1]|\uD87E[\uDC00-\uDE1D]/;var a=t.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\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\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]|\uD800[\uDC00-\uDC0B\uDC0D-\uDC26\uDC28-\uDC3A\uDC3C\uDC3D\uDC3F-\uDC4D\uDC50-\uDC5D\uDC80-\uDCFA\uDD40-\uDD74\uDDFD\uDE80-\uDE9C\uDEA0-\uDED0\uDEE0\uDF00-\uDF1F\uDF30-\uDF4A\uDF50-\uDF7A\uDF80-\uDF9D\uDFA0-\uDFC3\uDFC8-\uDFCF\uDFD1-\uDFD5]|\uD801[\uDC00-\uDC9D\uDCA0-\uDCA9\uDCB0-\uDCD3\uDCD8-\uDCFB\uDD00-\uDD27\uDD30-\uDD63\uDE00-\uDF36\uDF40-\uDF55\uDF60-\uDF67]|\uD802[\uDC00-\uDC05\uDC08\uDC0A-\uDC35\uDC37\uDC38\uDC3C\uDC3F-\uDC55\uDC60-\uDC76\uDC80-\uDC9E\uDCE0-\uDCF2\uDCF4\uDCF5\uDD00-\uDD15\uDD20-\uDD39\uDD80-\uDDB7\uDDBE\uDDBF\uDE00-\uDE03\uDE05\uDE06\uDE0C-\uDE13\uDE15-\uDE17\uDE19-\uDE33\uDE38-\uDE3A\uDE3F\uDE60-\uDE7C\uDE80-\uDE9C\uDEC0-\uDEC7\uDEC9-\uDEE6\uDF00-\uDF35\uDF40-\uDF55\uDF60-\uDF72\uDF80-\uDF91]|\uD803[\uDC00-\uDC48\uDC80-\uDCB2\uDCC0-\uDCF2]|\uD804[\uDC00-\uDC46\uDC66-\uDC6F\uDC7F-\uDCBA\uDCD0-\uDCE8\uDCF0-\uDCF9\uDD00-\uDD34\uDD36-\uDD3F\uDD50-\uDD73\uDD76\uDD80-\uDDC4\uDDCA-\uDDCC\uDDD0-\uDDDA\uDDDC\uDE00-\uDE11\uDE13-\uDE37\uDE3E\uDE80-\uDE86\uDE88\uDE8A-\uDE8D\uDE8F-\uDE9D\uDE9F-\uDEA8\uDEB0-\uDEEA\uDEF0-\uDEF9\uDF00-\uDF03\uDF05-\uDF0C\uDF0F\uDF10\uDF13-\uDF28\uDF2A-\uDF30\uDF32\uDF33\uDF35-\uDF39\uDF3C-\uDF44\uDF47\uDF48\uDF4B-\uDF4D\uDF50\uDF57\uDF5D-\uDF63\uDF66-\uDF6C\uDF70-\uDF74]|\uD805[\uDC00-\uDC4A\uDC50-\uDC59\uDC80-\uDCC5\uDCC7\uDCD0-\uDCD9\uDD80-\uDDB5\uDDB8-\uDDC0\uDDD8-\uDDDD\uDE00-\uDE40\uDE44\uDE50-\uDE59\uDE80-\uDEB7\uDEC0-\uDEC9\uDF00-\uDF19\uDF1D-\uDF2B\uDF30-\uDF39]|\uD806[\uDCA0-\uDCE9\uDCFF\uDEC0-\uDEF8]|\uD807[\uDC00-\uDC08\uDC0A-\uDC36\uDC38-\uDC40\uDC50-\uDC59\uDC72-\uDC8F\uDC92-\uDCA7\uDCA9-\uDCB6]|\uD808[\uDC00-\uDF99]|\uD809[\uDC00-\uDC6E\uDC80-\uDD43]|[\uD80C\uD81C-\uD820\uD840-\uD868\uD86A-\uD86C\uD86F-\uD872][\uDC00-\uDFFF]|\uD80D[\uDC00-\uDC2E]|\uD811[\uDC00-\uDE46]|\uD81A[\uDC00-\uDE38\uDE40-\uDE5E\uDE60-\uDE69\uDED0-\uDEED\uDEF0-\uDEF4\uDF00-\uDF36\uDF40-\uDF43\uDF50-\uDF59\uDF63-\uDF77\uDF7D-\uDF8F]|\uD81B[\uDF00-\uDF44\uDF50-\uDF7E\uDF8F-\uDF9F\uDFE0]|\uD821[\uDC00-\uDFEC]|\uD822[\uDC00-\uDEF2]|\uD82C[\uDC00\uDC01]|\uD82F[\uDC00-\uDC6A\uDC70-\uDC7C\uDC80-\uDC88\uDC90-\uDC99\uDC9D\uDC9E]|\uD834[\uDD65-\uDD69\uDD6D-\uDD72\uDD7B-\uDD82\uDD85-\uDD8B\uDDAA-\uDDAD\uDE42-\uDE44]|\uD835[\uDC00-\uDC54\uDC56-\uDC9C\uDC9E\uDC9F\uDCA2\uDCA5\uDCA6\uDCA9-\uDCAC\uDCAE-\uDCB9\uDCBB\uDCBD-\uDCC3\uDCC5-\uDD05\uDD07-\uDD0A\uDD0D-\uDD14\uDD16-\uDD1C\uDD1E-\uDD39\uDD3B-\uDD3E\uDD40-\uDD44\uDD46\uDD4A-\uDD50\uDD52-\uDEA5\uDEA8-\uDEC0\uDEC2-\uDEDA\uDEDC-\uDEFA\uDEFC-\uDF14\uDF16-\uDF34\uDF36-\uDF4E\uDF50-\uDF6E\uDF70-\uDF88\uDF8A-\uDFA8\uDFAA-\uDFC2\uDFC4-\uDFCB\uDFCE-\uDFFF]|\uD836[\uDE00-\uDE36\uDE3B-\uDE6C\uDE75\uDE84\uDE9B-\uDE9F\uDEA1-\uDEAF]|\uD838[\uDC00-\uDC06\uDC08-\uDC18\uDC1B-\uDC21\uDC23\uDC24\uDC26-\uDC2A]|\uD83A[\uDC00-\uDCC4\uDCD0-\uDCD6\uDD00-\uDD4A\uDD50-\uDD59]|\uD83B[\uDE00-\uDE03\uDE05-\uDE1F\uDE21\uDE22\uDE24\uDE27\uDE29-\uDE32\uDE34-\uDE37\uDE39\uDE3B\uDE42\uDE47\uDE49\uDE4B\uDE4D-\uDE4F\uDE51\uDE52\uDE54\uDE57\uDE59\uDE5B\uDE5D\uDE5F\uDE61\uDE62\uDE64\uDE67-\uDE6A\uDE6C-\uDE72\uDE74-\uDE77\uDE79-\uDE7C\uDE7E\uDE80-\uDE89\uDE8B-\uDE9B\uDEA1-\uDEA3\uDEA5-\uDEA9\uDEAB-\uDEBB]|\uD869[\uDC00-\uDED6\uDF00-\uDFFF]|\uD86D[\uDC00-\uDF34\uDF40-\uDFFF]|\uD86E[\uDC00-\uDC1D\uDC20-\uDFFF]|\uD873[\uDC00-\uDEA1]|\uD87E[\uDC00-\uDE1D]|\uDB40[\uDD00-\uDDEF]/},7393:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.isSpaceSeparator=isSpaceSeparator;t.isIdStartChar=isIdStartChar;t.isIdContinueChar=isIdContinueChar;t.isDigit=isDigit;t.isHexDigit=isHexDigit;var s=r(1927);var a=_interopRequireWildcard(s);function _interopRequireWildcard(e){if(e&&e.__esModule){return e}else{var t={};if(e!=null){for(var r in e){if(Object.prototype.hasOwnProperty.call(e,r))t[r]=e[r]}}t.default=e;return t}}function isSpaceSeparator(e){return a.Space_Separator.test(e)}function isIdStartChar(e){return e>="a"&&e<="z"||e>="A"&&e<="Z"||e==="$"||e==="_"||a.ID_Start.test(e)}function isIdContinueChar(e){return e>="a"&&e<="z"||e>="A"&&e<="Z"||e>="0"&&e<="9"||e==="$"||e==="_"||e==="‌"||e==="‍"||a.ID_Continue.test(e)}function isDigit(e){return/[0-9]/.test(e)}function isHexDigit(e){return/[0-9A-Fa-f]/.test(e)}},2821:e=>{"use strict";function getCurrentRequest(e){if(e.currentRequest){return e.currentRequest}const t=e.loaders.slice(e.loaderIndex).map((e=>e.request)).concat([e.resource]);return t.join("!")}e.exports=getCurrentRequest},3567:(e,t,r)=>{"use strict";const s={26:"abcdefghijklmnopqrstuvwxyz",32:"123456789abcdefghjkmnpqrstuvwxyz",36:"0123456789abcdefghijklmnopqrstuvwxyz",49:"abcdefghijkmnopqrstuvwxyzABCDEFGHJKLMNPQRSTUVWXYZ",52:"abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ",58:"123456789abcdefghijkmnopqrstuvwxyzABCDEFGHJKLMNPQRSTUVWXYZ",62:"0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ",64:"0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ-_"};function encodeBufferToBase(e,t){const a=s[t];if(!a){throw new Error("Unknown encoding base"+t)}const o=e.length;const u=r(8738);u.RM=u.DP=0;let c=new u(0);for(let t=o-1;t>=0;t--){c=c.times(256).plus(e[t])}let h="";while(c.gt(0)){h=a[c.mod(t)]+h;c=c.div(t)}u.DP=20;u.RM=1;return h}function getHashDigest(e,t,s,a){t=t||"md5";a=a||9999;const o=r(6417).createHash(t);o.update(e);if(s==="base26"||s==="base32"||s==="base36"||s==="base49"||s==="base52"||s==="base58"||s==="base62"||s==="base64"){return encodeBufferToBase(o.digest(),s.substr(4)).substr(0,a)}else{return o.digest(s||"hex").substr(0,a)}}e.exports=getHashDigest},6445:(e,t,r)=>{"use strict";const s=r(5867);function getOptions(e){const t=e.query;if(typeof t==="string"&&t!==""){return s(e.query)}if(!t||typeof t!=="object"){return null}return t}e.exports=getOptions},8715:e=>{"use strict";function getRemainingRequest(e){if(e.remainingRequest){return e.remainingRequest}const t=e.loaders.slice(e.loaderIndex+1).map((e=>e.request)).concat([e.resource]);return t.join("!")}e.exports=getRemainingRequest},3432:(e,t,r)=>{"use strict";const s=r(6445);const a=r(5867);const o=r(4252);const u=r(8715);const c=r(2821);const h=r(507);const p=r(2685);const d=r(5784);const v=r(3567);const m=r(939);t.getOptions=s;t.parseQuery=a;t.stringifyRequest=o;t.getRemainingRequest=u;t.getCurrentRequest=c;t.isUrlRequest=h;t.urlToRequest=p;t.parseString=d;t.getHashDigest=v;t.interpolateName=m},939:(e,t,r)=>{"use strict";const s=r(5622);const a=r(3887);const o=r(3567);const u=/[\uD800-\uDFFF]./;const c=a.filter((e=>u.test(e)));const h={};function encodeStringToEmoji(e,t){if(h[e]){return h[e]}t=t||1;const r=[];do{if(!c.length){throw new Error("Ran out of emoji")}const e=Math.floor(Math.random()*c.length);r.push(c[e]);c.splice(e,1)}while(--t>0);const s=r.join("");h[e]=s;return s}function interpolateName(e,t,r){let a;if(typeof t==="function"){a=t(e.resourcePath)}else{a=t||"[hash].[ext]"}const u=r.context;const c=r.content;const h=r.regExp;let p="bin";let d="file";let v="";let m="";if(e.resourcePath){const t=s.parse(e.resourcePath);let r=e.resourcePath;if(t.ext){p=t.ext.substr(1)}if(t.dir){d=t.name;r=t.dir+s.sep}if(typeof u!=="undefined"){v=s.relative(u,r+"_").replace(/\\/g,"/").replace(/\.\.(\/)?/g,"_$1");v=v.substr(0,v.length-1)}else{v=r.replace(/\\/g,"/").replace(/\.\.(\/)?/g,"_$1")}if(v.length===1){v=""}else if(v.length>1){m=s.basename(v)}}let g=a;if(c){g=g.replace(/\[(?:([^:\]]+):)?(?:hash|contenthash)(?::([a-z]+\d*))?(?::(\d+))?\]/gi,((e,t,r,s)=>o(c,t,r,parseInt(s,10)))).replace(/\[emoji(?::(\d+))?\]/gi,((e,t)=>encodeStringToEmoji(c,parseInt(t,10))))}g=g.replace(/\[ext\]/gi,(()=>p)).replace(/\[name\]/gi,(()=>d)).replace(/\[path\]/gi,(()=>v)).replace(/\[folder\]/gi,(()=>m));if(h&&e.resourcePath){const t=e.resourcePath.match(new RegExp(h));t&&t.forEach(((e,t)=>{g=g.replace(new RegExp("\\["+t+"\\]","ig"),e)}))}if(typeof e.options==="object"&&typeof e.options.customInterpolateName==="function"){g=e.options.customInterpolateName.call(e,g,t,r)}return g}e.exports=interpolateName},507:(e,t,r)=>{"use strict";const s=r(5622);function isUrlRequest(e,t){if(/^[a-z][a-z0-9+.-]*:/i.test(e)&&!s.win32.isAbsolute(e)){return false}if(/^\/\//.test(e)){return false}if(/^[{}[\]#*;,'§$%&(=?`´^°<>]/.test(e)){return false}if((t===undefined||t===false)&&/^\//.test(e)){return false}return true}e.exports=isUrlRequest},5867:(e,t,r)=>{"use strict";const s=r(6904);const a={null:null,true:true,false:false};function parseQuery(e){if(e.substr(0,1)!=="?"){throw new Error("A valid query string passed to parseQuery should begin with '?'")}e=e.substr(1);if(!e){return{}}if(e.substr(0,1)==="{"&&e.substr(-1)==="}"){return s.parse(e)}const t=e.split(/[,&]/g);const r={};t.forEach((e=>{const t=e.indexOf("=");if(t>=0){let s=e.substr(0,t);let o=decodeURIComponent(e.substr(t+1));if(a.hasOwnProperty(o)){o=a[o]}if(s.substr(-2)==="[]"){s=decodeURIComponent(s.substr(0,s.length-2));if(!Array.isArray(r[s])){r[s]=[]}r[s].push(o)}else{s=decodeURIComponent(s);r[s]=o}}else{if(e.substr(0,1)==="-"){r[decodeURIComponent(e.substr(1))]=false}else if(e.substr(0,1)==="+"){r[decodeURIComponent(e.substr(1))]=true}else{r[decodeURIComponent(e)]=true}}}));return r}e.exports=parseQuery},5784:e=>{"use strict";function parseString(e){try{if(e[0]==='"'){return JSON.parse(e)}if(e[0]==="'"&&e.substr(e.length-1)==="'"){return parseString(e.replace(/\\.|"/g,(e=>e==='"'?'\\"':e)).replace(/^'|'$/g,'"'))}return JSON.parse('"'+e+'"')}catch(t){return e}}e.exports=parseString},4252:(e,t,r)=>{"use strict";const s=r(5622);const a=/^\.\.?[/\\]/;function isAbsolutePath(e){return s.posix.isAbsolute(e)||s.win32.isAbsolute(e)}function isRelativePath(e){return a.test(e)}function stringifyRequest(e,t){const r=t.split("!");const a=e.context||e.options&&e.options.context;return JSON.stringify(r.map((e=>{const t=e.match(/^(.*?)(\?.*)/);const r=t?t[2]:"";let o=t?t[1]:e;if(isAbsolutePath(o)&&a){o=s.relative(a,o);if(isAbsolutePath(o)){return o+r}if(isRelativePath(o)===false){o="./"+o}}return o.replace(/\\/g,"/")+r})).join("!"))}e.exports=stringifyRequest},2685:e=>{"use strict";const t=/^[A-Z]:[/\\]|^\\\\/i;function urlToRequest(e,r){if(e===""){return""}const s=/^[^?]*~/;let a;if(t.test(e)){a=e}else if(r!==undefined&&r!==false&&/^\//.test(e)){switch(typeof r){case"string":if(s.test(r)){a=r.replace(/([^~/])$/,"$1/")+e.slice(1)}else{a=r+e}break;case"boolean":a=e;break;default:throw new Error("Unexpected parameters to loader-utils 'urlToRequest': url = "+e+", root = "+r+".")}}else if(/^\.\.?\//.test(e)){a=e}else{a="./"+e}if(s.test(a)){a=a.replace(s,"")}return a}e.exports=urlToRequest},5734:(e,t,r)=>{"use strict";var s=r(4957);var a=function Chunk(e,t,r){this.start=e;this.end=t;this.original=r;this.intro="";this.outro="";this.content=r;this.storeName=false;this.edited=false;Object.defineProperties(this,{previous:{writable:true,value:null},next:{writable:true,value:null}})};a.prototype.appendLeft=function appendLeft(e){this.outro+=e};a.prototype.appendRight=function appendRight(e){this.intro=this.intro+e};a.prototype.clone=function clone(){var e=new a(this.start,this.end,this.original);e.intro=this.intro;e.outro=this.outro;e.content=this.content;e.storeName=this.storeName;e.edited=this.edited;return e};a.prototype.contains=function contains(e){return this.start=s.length){return"\t"}var a=s.reduce((function(e,t){var r=/^ +/.exec(t)[0].length;return Math.min(r,e)}),Infinity);return new Array(a+1).join(" ")}function getRelativePath(e,t){var r=e.split(/[/\\]/);var s=t.split(/[/\\]/);r.pop();while(r[0]===s[0]){r.shift();s.shift()}if(r.length){var a=r.length;while(a--){r[a]=".."}}return r.concat(s).join("/")}var u=Object.prototype.toString;function isObject(e){return u.call(e)==="[object Object]"}function getLocator(e){var t=e.split("\n");var r=[];for(var s=0,a=0;s>1;if(e=0){a.push(s)}this.rawSegments.push(a)}else if(this.pending){this.rawSegments.push(this.pending)}this.advance(t);this.pending=null};c.prototype.addUneditedChunk=function addUneditedChunk(e,t,r,s,a){var o=t.start;var u=true;while(o1){for(var r=0;r=e&&r<=t){throw new Error("Cannot move a selection inside itself")}this._split(e);this._split(t);this._split(r);var s=this.byStart[e];var a=this.byEnd[t];var o=s.previous;var u=a.next;var c=this.byStart[r];if(!c&&a===this.lastChunk){return this}var h=c?c.previous:this.lastChunk;if(o){o.next=u}if(u){u.previous=o}if(h){h.next=s}if(c){c.previous=a}if(!s.previous){this.firstChunk=a.next}if(!a.next){this.lastChunk=s.previous;this.lastChunk.next=null}s.previous=h;a.next=c||null;if(!h){this.firstChunk=s}if(!c){this.lastChunk=a}return this};d.prototype.overwrite=function overwrite(e,t,r,s){if(typeof r!=="string"){throw new TypeError("replacement content must be a string")}while(e<0){e+=this.original.length}while(t<0){t+=this.original.length}if(t>this.original.length){throw new Error("end is out of bounds")}if(e===t){throw new Error("Cannot overwrite a zero-length range – use appendLeft or prependRight instead")}this._split(e);this._split(t);if(s===true){if(!p.storeName){console.warn("The final argument to magicString.overwrite(...) should be an options object. See https://github.com/rich-harris/magic-string");p.storeName=true}s={storeName:true}}var o=s!==undefined?s.storeName:false;var u=s!==undefined?s.contentOnly:false;if(o){var c=this.original.slice(e,t);this.storedNames[c]=true}var h=this.byStart[e];var d=this.byEnd[t];if(h){if(t>h.end&&h.next!==this.byStart[h.end]){throw new Error("Cannot overwrite across a split point")}h.edit(r,o,u);if(h!==d){var v=h.next;while(v!==d){v.edit("",false);v=v.next}v.edit("",false)}}else{var m=new a(e,t,"").edit(r,o);d.next=m;m.previous=d}return this};d.prototype.prepend=function prepend(e){if(typeof e!=="string"){throw new TypeError("outro content must be a string")}this.intro=e+this.intro;return this};d.prototype.prependLeft=function prependLeft(e,t){if(typeof t!=="string"){throw new TypeError("inserted content must be a string")}this._split(e);var r=this.byEnd[e];if(r){r.prependLeft(t)}else{this.intro=t+this.intro}return this};d.prototype.prependRight=function prependRight(e,t){if(typeof t!=="string"){throw new TypeError("inserted content must be a string")}this._split(e);var r=this.byStart[e];if(r){r.prependRight(t)}else{this.outro=t+this.outro}return this};d.prototype.remove=function remove(e,t){while(e<0){e+=this.original.length}while(t<0){t+=this.original.length}if(e===t){return this}if(e<0||t>this.original.length){throw new Error("Character is out of bounds")}if(e>t){throw new Error("end must be greater than start")}this._split(e);this._split(t);var r=this.byStart[e];while(r){r.intro="";r.outro="";r.edit("");r=t>r.end?this.byStart[r.end]:null}return this};d.prototype.lastChar=function lastChar(){if(this.outro.length){return this.outro[this.outro.length-1]}var e=this.lastChunk;do{if(e.outro.length){return e.outro[e.outro.length-1]}if(e.content.length){return e.content[e.content.length-1]}if(e.intro.length){return e.intro[e.intro.length-1]}}while(e=e.previous);if(this.intro.length){return this.intro[this.intro.length-1]}return""};d.prototype.lastLine=function lastLine(){var e=this.outro.lastIndexOf(h);if(e!==-1){return this.outro.substr(e+1)}var t=this.outro;var r=this.lastChunk;do{if(r.outro.length>0){e=r.outro.lastIndexOf(h);if(e!==-1){return r.outro.substr(e+1)+t}t=r.outro+t}if(r.content.length>0){e=r.content.lastIndexOf(h);if(e!==-1){return r.content.substr(e+1)+t}t=r.content+t}if(r.intro.length>0){e=r.intro.lastIndexOf(h);if(e!==-1){return r.intro.substr(e+1)+t}t=r.intro+t}}while(r=r.previous);e=this.intro.lastIndexOf(h);if(e!==-1){return this.intro.substr(e+1)+t}return this.intro+t};d.prototype.slice=function slice(e,t){if(e===void 0)e=0;if(t===void 0)t=this.original.length;while(e<0){e+=this.original.length}while(t<0){t+=this.original.length}var r="";var s=this.firstChunk;while(s&&(s.start>e||s.end<=e)){if(s.start=t){return r}s=s.next}if(s&&s.edited&&s.start!==e){throw new Error("Cannot use replaced character "+e+" as slice start anchor.")}var a=s;while(s){if(s.intro&&(a!==s||s.start===e)){r+=s.intro}var o=s.start=t;if(o&&s.edited&&s.end!==t){throw new Error("Cannot use replaced character "+t+" as slice end anchor.")}var u=a===s?e-s.start:0;var c=o?s.content.length+t-s.end:s.content.length;r+=s.content.slice(u,c);if(s.outro&&(!o||s.end===t)){r+=s.outro}if(o){break}s=s.next}return r};d.prototype.snip=function snip(e,t){var r=this.clone();r.remove(0,e);r.remove(t,r.original.length);return r};d.prototype._split=function _split(e){if(this.byStart[e]||this.byEnd[e]){return}var t=this.lastSearchedChunk;var r=e>t.end;while(t){if(t.contains(e)){return this._splitChunk(t,e)}t=r?this.byStart[t.end]:this.byEnd[t.start]}};d.prototype._splitChunk=function _splitChunk(e,t){if(e.edited&&e.content.length){var r=getLocator(this.original)(t);throw new Error("Cannot split a chunk that has already been edited ("+r.line+":"+r.column+' – "'+e.original+'")')}var s=e.split(t);this.byEnd[t]=e;this.byStart[t]=s;this.byEnd[s.end]=s;if(e===this.lastChunk){this.lastChunk=s}this.lastSearchedChunk=e;return true};d.prototype.toString=function toString(){var e=this.intro;var t=this.firstChunk;while(t){e+=t.toString();t=t.next}return e+this.outro};d.prototype.isEmpty=function isEmpty(){var e=this.firstChunk;do{if(e.intro.length&&e.intro.trim()||e.content.length&&e.content.trim()||e.outro.length&&e.outro.trim()){return false}}while(e=e.next);return true};d.prototype.length=function length(){var e=this.firstChunk;var length=0;do{length+=e.intro.length+e.content.length+e.outro.length}while(e=e.next);return length};d.prototype.trimLines=function trimLines(){return this.trim("[\\r\\n]")};d.prototype.trim=function trim(e){return this.trimStart(e).trimEnd(e)};d.prototype.trimEndAborted=function trimEndAborted(e){var t=new RegExp((e||"\\s")+"+$");this.outro=this.outro.replace(t,"");if(this.outro.length){return true}var r=this.lastChunk;do{var s=r.end;var a=r.trimEnd(t);if(r.end!==s){if(this.lastChunk===r){this.lastChunk=r.next}this.byEnd[r.end]=r;this.byStart[r.next.start]=r.next;this.byEnd[r.next.end]=r.next}if(a){return true}r=r.previous}while(r);return false};d.prototype.trimEnd=function trimEnd(e){this.trimEndAborted(e);return this};d.prototype.trimStartAborted=function trimStartAborted(e){var t=new RegExp("^"+(e||"\\s")+"+");this.intro=this.intro.replace(t,"");if(this.intro.length){return true}var r=this.firstChunk;do{var s=r.end;var a=r.trimStart(t);if(r.end!==s){if(r===this.lastChunk){this.lastChunk=r.next}this.byEnd[r.end]=r;this.byStart[r.next.start]=r.next;this.byEnd[r.next.end]=r.next}if(a){return true}r=r.next}while(r);return false};d.prototype.trimStart=function trimStart(e){this.trimStartAborted(e);return this};var v=Object.prototype.hasOwnProperty;var m=function Bundle(e){if(e===void 0)e={};this.intro=e.intro||"";this.separator=e.separator!==undefined?e.separator:"\n";this.sources=[];this.uniqueSources=[];this.uniqueSourceIndexByFilename={}};m.prototype.addSource=function addSource(e){if(e instanceof d){return this.addSource({content:e,filename:e.filename,separator:this.separator})}if(!isObject(e)||!e.content){throw new Error("bundle.addSource() takes an object with a `content` property, which should be an instance of MagicString, and an optional `filename`")}["filename","indentExclusionRanges","separator"].forEach((function(t){if(!v.call(e,t)){e[t]=e.content[t]}}));if(e.separator===undefined){e.separator=this.separator}if(e.filename){if(!v.call(this.uniqueSourceIndexByFilename,e.filename)){this.uniqueSourceIndexByFilename[e.filename]=this.uniqueSources.length;this.uniqueSources.push({filename:e.filename,content:e.content.original})}else{var t=this.uniqueSources[this.uniqueSourceIndexByFilename[e.filename]];if(e.content.original!==t.content){throw new Error("Illegal source: same filename ("+e.filename+"), different contents")}}}this.sources.push(e);return this};m.prototype.append=function append(e,t){this.addSource({content:new d(e),separator:t&&t.separator||""});return this};m.prototype.clone=function clone(){var e=new m({intro:this.intro,separator:this.separator});this.sources.forEach((function(t){e.addSource({filename:t.filename,content:t.content.clone(),separator:t.separator})}));return e};m.prototype.generateDecodedMap=function generateDecodedMap(e){var t=this;if(e===void 0)e={};var r=[];this.sources.forEach((function(e){Object.keys(e.content.storedNames).forEach((function(e){if(!~r.indexOf(e)){r.push(e)}}))}));var s=new c(e.hires);if(this.intro){s.advance(this.intro)}this.sources.forEach((function(e,a){if(a>0){s.advance(t.separator)}var o=e.filename?t.uniqueSourceIndexByFilename[e.filename]:-1;var u=e.content;var c=getLocator(u.original);if(u.intro){s.advance(u.intro)}u.firstChunk.eachNext((function(t){var a=c(t.start);if(t.intro.length){s.advance(t.intro)}if(e.filename){if(t.edited){s.addEdit(o,t.content,a,t.storeName?r.indexOf(t.original):-1)}else{s.addUneditedChunk(o,t,u.original,a,u.sourcemapLocations)}}else{s.advance(t.content)}if(t.outro.length){s.advance(t.outro)}}));if(u.outro){s.advance(u.outro)}}));return{file:e.file?e.file.split(/[/\\]/).pop():null,sources:this.uniqueSources.map((function(t){return e.file?getRelativePath(e.file,t.filename):t.filename})),sourcesContent:this.uniqueSources.map((function(t){return e.includeContent?t.content:null})),names:r,mappings:s.raw}};m.prototype.generateMap=function generateMap(e){return new o(this.generateDecodedMap(e))};m.prototype.getIndentString=function getIndentString(){var e={};this.sources.forEach((function(t){var r=t.content.indentStr;if(r===null){return}if(!e[r]){e[r]=0}e[r]+=1}));return Object.keys(e).sort((function(t,r){return e[t]-e[r]}))[0]||"\t"};m.prototype.indent=function indent(e){var t=this;if(!arguments.length){e=this.getIndentString()}if(e===""){return this}var r=!this.intro||this.intro.slice(-1)==="\n";this.sources.forEach((function(s,a){var o=s.separator!==undefined?s.separator:t.separator;var u=r||a>0&&/\r?\n$/.test(o);s.content.indent(e,{exclude:s.indentExclusionRanges,indentStart:u});r=s.content.lastChar()==="\n"}));if(this.intro){this.intro=e+this.intro.replace(/^[^\n]/gm,(function(t,r){return r>0?e+t:t}))}return this};m.prototype.prepend=function prepend(e){this.intro=e+this.intro;return this};m.prototype.toString=function toString(){var e=this;var t=this.sources.map((function(t,r){var s=t.separator!==undefined?t.separator:e.separator;var a=(r>0?s:"")+t.content.toString();return a})).join("");return this.intro+t};m.prototype.isEmpty=function isEmpty(){if(this.intro.length&&this.intro.trim()){return false}if(this.sources.some((function(e){return!e.content.isEmpty()}))){return false}return true};m.prototype.length=function length(){return this.sources.reduce((function(e,t){return e+t.content.length()}),this.intro.length)};m.prototype.trimLines=function trimLines(){return this.trim("[\\r\\n]")};m.prototype.trim=function trim(e){return this.trimStart(e).trimEnd(e)};m.prototype.trimStart=function trimStart(e){var t=new RegExp("^"+(e||"\\s")+"+");this.intro=this.intro.replace(t,"");if(!this.intro){var r;var s=0;do{r=this.sources[s++];if(!r){break}}while(!r.content.trimStartAborted(e))}return this};m.prototype.trimEnd=function trimEnd(e){var t=new RegExp((e||"\\s")+"+$");var r;var s=this.sources.length-1;do{r=this.sources[s--];if(!r){this.intro=this.intro.replace(t,"");break}}while(!r.content.trimEndAborted(e));return this};d.Bundle=m;d.default=d;e.exports=d},3973:(e,t,r)=>{e.exports=minimatch;minimatch.Minimatch=Minimatch;var s={sep:"/"};try{s=r(5622)}catch(e){}var a=minimatch.GLOBSTAR=Minimatch.GLOBSTAR={};var o=r(3717);var u={"!":{open:"(?:(?!(?:",close:"))[^/]*?)"},"?":{open:"(?:",close:")?"},"+":{open:"(?:",close:")+"},"*":{open:"(?:",close:")*"},"@":{open:"(?:",close:")"}};var c="[^/]";var h=c+"*?";var p="(?:(?!(?:\\/|^)(?:\\.{1,2})($|\\/)).)*?";var d="(?:(?!(?:\\/|^)\\.).)*?";var v=charSet("().*{}+?[]^$\\!");function charSet(e){return e.split("").reduce((function(e,t){e[t]=true;return e}),{})}var m=/\/+/;minimatch.filter=filter;function filter(e,t){t=t||{};return function(r,s,a){return minimatch(r,e,t)}}function ext(e,t){e=e||{};t=t||{};var r={};Object.keys(t).forEach((function(e){r[e]=t[e]}));Object.keys(e).forEach((function(t){r[t]=e[t]}));return r}minimatch.defaults=function(e){if(!e||!Object.keys(e).length)return minimatch;var t=minimatch;var r=function minimatch(r,s,a){return t.minimatch(r,s,ext(e,a))};r.Minimatch=function Minimatch(r,s){return new t.Minimatch(r,ext(e,s))};return r};Minimatch.defaults=function(e){if(!e||!Object.keys(e).length)return Minimatch;return minimatch.defaults(e).Minimatch};function minimatch(e,t,r){if(typeof t!=="string"){throw new TypeError("glob pattern string required")}if(!r)r={};if(!r.nocomment&&t.charAt(0)==="#"){return false}if(t.trim()==="")return e==="";return new Minimatch(t,r).match(e)}function Minimatch(e,t){if(!(this instanceof Minimatch)){return new Minimatch(e,t)}if(typeof e!=="string"){throw new TypeError("glob pattern string required")}if(!t)t={};e=e.trim();if(s.sep!=="/"){e=e.split(s.sep).join("/")}this.options=t;this.set=[];this.pattern=e;this.regexp=null;this.negate=false;this.comment=false;this.empty=false;this.make()}Minimatch.prototype.debug=function(){};Minimatch.prototype.make=make;function make(){if(this._made)return;var e=this.pattern;var t=this.options;if(!t.nocomment&&e.charAt(0)==="#"){this.comment=true;return}if(!e){this.empty=true;return}this.parseNegate();var r=this.globSet=this.braceExpand();if(t.debug)this.debug=console.error;this.debug(this.pattern,r);r=this.globParts=r.map((function(e){return e.split(m)}));this.debug(this.pattern,r);r=r.map((function(e,t,r){return e.map(this.parse,this)}),this);this.debug(this.pattern,r);r=r.filter((function(e){return e.indexOf(false)===-1}));this.debug(this.pattern,r);this.set=r}Minimatch.prototype.parseNegate=parseNegate;function parseNegate(){var e=this.pattern;var t=false;var r=this.options;var s=0;if(r.nonegate)return;for(var a=0,o=e.length;a1024*64){throw new TypeError("pattern is too long")}var r=this.options;if(!r.noglobstar&&e==="**")return a;if(e==="")return"";var s="";var o=!!r.nocase;var p=false;var d=[];var m=[];var y;var _=false;var E=-1;var x=-1;var w=e.charAt(0)==="."?"":r.dot?"(?!(?:^|\\/)\\.{1,2}(?:$|\\/))":"(?!\\.)";var D=this;function clearStateChar(){if(y){switch(y){case"*":s+=h;o=true;break;case"?":s+=c;o=true;break;default:s+="\\"+y;break}D.debug("clearStateChar %j %j",y,s);y=false}}for(var C=0,A=e.length,S;C-1;N--){var O=m[N];var P=s.slice(0,O.reStart);var L=s.slice(O.reStart,O.reEnd-8);var j=s.slice(O.reEnd-8,O.reEnd);var M=s.slice(O.reEnd);j+=M;var V=P.split("(").length-1;var q=M;for(C=0;C=0;u--){o=e[u];if(o)break}for(u=0;u>> no match, partial?",e,v,t,m);if(v===c)return true}return false}var y;if(typeof p==="string"){if(s.nocase){y=d.toLowerCase()===p.toLowerCase()}else{y=d===p}this.debug("string match",p,d,y)}else{y=d.match(p);this.debug("pattern match",p,d,y)}if(!y)return false}if(o===c&&u===h){return true}else if(o===c){return r}else if(u===h){var _=o===c-1&&e[o]==="";return _}throw new Error("wtf?")};function globUnescape(e){return e.replace(/\\(.)/g,"$1")}function regExpEscape(e){return e.replace(/[-[\]{}()*+?.,\\^$|#\s]/g,"\\$&")}},4090:(module,__unused_webpack_exports,__nested_webpack_require_520315__)=>{var fs=__nested_webpack_require_520315__(5747);var path=__nested_webpack_require_520315__(5622);var os=__nested_webpack_require_520315__(2087);var runtimeRequire=true?eval("require"):0;var vars=process.config&&process.config.variables||{};var prebuildsOnly=!!process.env.PREBUILDS_ONLY;var abi=process.versions.modules;var runtime=isElectron()?"electron":"node";var arch=os.arch();var platform=os.platform();var libc=process.env.LIBC||(isAlpine(platform)?"musl":"glibc");var armv=process.env.ARM_VERSION||(arch==="arm64"?"8":vars.arm_version)||"";var uv=(process.versions.uv||"").split(".")[0];module.exports=load;function load(e){return runtimeRequire(load.path(e))}load.path=function(e){e=path.resolve(e||".");try{var t=runtimeRequire(path.join(e,"package.json")).name.toUpperCase().replace(/-/g,"_");if(process.env[t+"_PREBUILD"])e=process.env[t+"_PREBUILD"]}catch(e){}if(!prebuildsOnly){var r=getFirst(path.join(e,"build/Release"),matchBuild);if(r)return r;var s=getFirst(path.join(e,"build/Debug"),matchBuild);if(s)return s}var a=resolve(e);if(a)return a;var o=resolve(path.dirname(process.execPath));if(o)return o;var u=["platform="+platform,"arch="+arch,"runtime="+runtime,"abi="+abi,"uv="+uv,armv?"armv="+armv:"","libc="+libc].filter(Boolean).join(" ");throw new Error("No native build was found for "+u);function resolve(e){var t=path.join(e,"prebuilds",platform+"-"+arch);var r=readdirSync(t).map(parseTags);var s=r.filter(matchTags(runtime,abi));var a=s.sort(compareTags(runtime))[0];if(a)return path.join(t,a.file)}};function readdirSync(e){try{return fs.readdirSync(e)}catch(e){return[]}}function getFirst(e,t){var r=readdirSync(e).filter(t);return r[0]&&path.join(e,r[0])}function matchBuild(e){return/\.node$/.test(e)}function parseTags(e){var t=e.split(".");var r=t.pop();var s={file:e,specificity:0};if(r!=="node")return;for(var a=0;ar.specificity?-1:1}else{return 0}}}function isElectron(){if(process.versions&&process.versions.electron)return true;if(process.env.ELECTRON_RUN_AS_NODE)return true;return typeof window!=="undefined"&&window.process&&window.process.type==="renderer"}function isAlpine(e){return e==="linux"&&fs.existsSync("/etc/alpine-release")}load.parseTags=parseTags;load.matchTags=matchTags;load.compareTags=compareTags},480:(e,t,r)=>{"use strict";var s=r(5747);var a=r(4959);var o=r(4314);e.exports=t;var u=process.version.substr(1).replace(/-.*$/,"").split(".").map((function(e){return+e}));var c=["build","clean","configure","package","publish","reveal","testbinary","testpackage","unpublish"];var h="napi_build_version=";e.exports.get_napi_version=function(e){var t=process.versions.napi;if(!t){if(u[0]===9&&u[1]>=3)t=2;else if(u[0]===8)t=1}return t};e.exports.get_napi_version_as_string=function(t){var r=e.exports.get_napi_version(t);return r?""+r:""};e.exports.validate_package_json=function(t,r){var s=t.binary;var a=pathOK(s.module_path);var o=pathOK(s.remote_path);var u=pathOK(s.package_name);var c=e.exports.get_napi_build_versions(t,r,true);var h=e.exports.get_napi_build_versions_raw(t);if(c){c.forEach((function(e){if(!(parseInt(e,10)===e&&e>0)){throw new Error("All values specified in napi_versions must be positive integers.")}}))}if(c&&(!a||!o&&!u)){throw new Error("When napi_versions is specified; module_path and either remote_path or "+"package_name must contain the substitution string '{napi_build_version}`.")}if((a||o||u)&&!h){throw new Error("When the substitution string '{napi_build_version}` is specified in "+"module_path, remote_path, or package_name; napi_versions must also be specified.")}if(c&&!e.exports.get_best_napi_build_version(t,r)&&e.exports.build_napi_only(t)){throw new Error("The N-API version of this Node instance is "+e.exports.get_napi_version(r?r.target:undefined)+". "+"This module supports N-API version(s) "+e.exports.get_napi_build_versions_raw(t)+". "+"This Node instance cannot run this module.")}if(h&&!c&&e.exports.build_napi_only(t)){throw new Error("The N-API version of this Node instance is "+e.exports.get_napi_version(r?r.target:undefined)+". "+"This module supports N-API version(s) "+e.exports.get_napi_build_versions_raw(t)+". "+"This Node instance cannot run this module.")}};function pathOK(e){return e&&(e.indexOf("{napi_build_version}")!==-1||e.indexOf("{node_napi_label}")!==-1)}e.exports.expand_commands=function(t,r,s){var a=[];var o=e.exports.get_napi_build_versions(t,r);s.forEach((function(s){if(o&&s.name==="install"){var u=e.exports.get_best_napi_build_version(t,r);var p=u?[h+u]:[];a.push({name:s.name,args:p})}else if(o&&c.indexOf(s.name)!==-1){o.forEach((function(e){var t=s.args.slice();t.push(h+e);a.push({name:s.name,args:t})}))}else{a.push(s)}}));return a};e.exports.get_napi_build_versions=function(t,r,s){var a=[];var u=e.exports.get_napi_version(r?r.target:undefined);if(t.binary&&t.binary.napi_versions){t.binary.napi_versions.forEach((function(e){var t=a.indexOf(e)!==-1;if(!t&&u&&e<=u){a.push(e)}else if(s&&!t&&u){o.info("This Node instance does not support builds for N-API version",e)}}))}if(r&&r["build-latest-napi-version-only"]){var c=0;a.forEach((function(e){if(e>c)c=e}));a=c?[c]:[]}return a.length?a:undefined};e.exports.get_napi_build_versions_raw=function(e){var t=[];if(e.binary&&e.binary.napi_versions){e.binary.napi_versions.forEach((function(e){if(t.indexOf(e)===-1){t.push(e)}}))}return t.length?t:undefined};e.exports.get_command_arg=function(e){return h+e};e.exports.get_napi_build_version_from_command_args=function(e){for(var t=0;ts&&e<=o){s=e}}))}return s===0?undefined:s};e.exports.build_napi_only=function(e){return e.binary&&e.binary.package_name&&e.binary.package_name.indexOf("{node_napi_label}")===-1}},887:(e,t,r)=>{"use strict";e.exports=t;var s=r(5622);var a=r(5911);var o=r(8835);var u=r(4889);var c=r(480);var h;if(process.env.NODE_PRE_GYP_ABI_CROSSWALK){h=require(process.env.NODE_PRE_GYP_ABI_CROSSWALK)}else{h=r(282)}var p={};Object.keys(h).forEach((function(e){var t=e.split(".")[0];if(!p[t]){p[t]=e}}));function get_electron_abi(e,t){if(!e){throw new Error("get_electron_abi requires valid runtime arg")}if(typeof t==="undefined"){throw new Error("Empty target version is not supported if electron is the target.")}var r=a.parse(t);return e+"-v"+r.major+"."+r.minor}e.exports.get_electron_abi=get_electron_abi;function get_node_webkit_abi(e,t){if(!e){throw new Error("get_node_webkit_abi requires valid runtime arg")}if(typeof t==="undefined"){throw new Error("Empty target version is not supported if node-webkit is the target.")}return e+"-v"+t}e.exports.get_node_webkit_abi=get_node_webkit_abi;function get_node_abi(e,t){if(!e){throw new Error("get_node_abi requires valid runtime arg")}if(!t){throw new Error("get_node_abi requires valid process.versions object")}var r=a.parse(t.node);if(r.major===0&&r.minor%2){return e+"-v"+t.node}else{return t.modules?e+"-v"+ +t.modules:"v8-"+t.v8.split(".").slice(0,2).join(".")}}e.exports.get_node_abi=get_node_abi;function get_runtime_abi(e,t){if(!e){throw new Error("get_runtime_abi requires valid runtime arg")}if(e==="node-webkit"){return get_node_webkit_abi(e,t||process.versions["node-webkit"])}else if(e==="electron"){return get_electron_abi(e,t||process.versions.electron)}else{if(e!="node"){throw new Error("Unknown Runtime: '"+e+"'")}if(!t){return get_node_abi(e,process.versions)}else{var r;if(h[t]){r=h[t]}else{var s=t.split(".").map((function(e){return+e}));if(s.length!=3){throw new Error("Unknown target version: "+t)}var a=s[0];var o=s[1];var u=s[2];if(a===1){while(true){if(o>0)--o;if(u>0)--u;var c=""+a+"."+o+"."+u;if(h[c]){r=h[c];console.log("Warning: node-pre-gyp could not find exact match for "+t);console.log("Warning: but node-pre-gyp successfully choose "+c+" as ABI compatible target");break}if(o===0&&u===0){break}}}else if(a>=2){if(p[a]){r=h[p[a]];console.log("Warning: node-pre-gyp could not find exact match for "+t);console.log("Warning: but node-pre-gyp successfully choose "+p[a]+" as ABI compatible target")}}else if(a===0){if(s[1]%2===0){while(--u>0){var d=""+a+"."+o+"."+u;if(h[d]){r=h[d];console.log("Warning: node-pre-gyp could not find exact match for "+t);console.log("Warning: but node-pre-gyp successfully choose "+d+" as ABI compatible target");break}}}}}if(!r){throw new Error("Unsupported target version: "+t)}var v={node:t,v8:r.v8+".0",modules:r.node_abi>1?r.node_abi:undefined};return get_node_abi(e,v)}}}e.exports.get_runtime_abi=get_runtime_abi;var d=["module_name","module_path","host"];function validate_config(e,t){var r=e.name+" package.json is not node-pre-gyp ready:\n";var s=[];if(!e.main){s.push("main")}if(!e.version){s.push("version")}if(!e.name){s.push("name")}if(!e.binary){s.push("binary")}var a=e.binary;d.forEach((function(e){if(s.indexOf("binary")>-1){s.pop("binary")}if(!a||a[e]===undefined||a[e]===""){s.push("binary."+e)}}));if(s.length>=1){throw new Error(r+"package.json must declare these properties: \n"+s.join("\n"))}if(a){var u=o.parse(a.host).protocol;if(u==="http:"){throw new Error("'host' protocol ("+u+") is invalid - only 'https:' is accepted")}}c.validate_package_json(e,t)}e.exports.validate_config=validate_config;function eval_template(e,t){Object.keys(t).forEach((function(r){var s="{"+r+"}";while(e.indexOf(s)>-1){e=e.replace(s,t[r])}}));return e}function fix_slashes(e){if(e.slice(-1)!="/"){return e+"/"}return e}function drop_double_slashes(e){return e.replace(/\/\//g,"/")}function get_process_runtime(e){var t="node";if(e["node-webkit"]){t="node-webkit"}else if(e.electron){t="electron"}return t}e.exports.get_process_runtime=get_process_runtime;var v="{module_name}-v{version}-{node_abi}-{platform}-{arch}.tar.gz";var m="";e.exports.evaluate=function(e,t,r){t=t||{};validate_config(e,t);var h=e.version;var p=a.parse(h);var d=t.runtime||get_process_runtime(process.versions);var g={name:e.name,configuration:Boolean(t.debug)?"Debug":"Release",debug:t.debug,module_name:e.binary.module_name,version:p.version,prerelease:p.prerelease.length?p.prerelease.join("."):"",build:p.build.length?p.build.join("."):"",major:p.major,minor:p.minor,patch:p.patch,runtime:d,node_abi:get_runtime_abi(d,t.target),node_abi_napi:c.get_napi_version(t.target)?"napi":get_runtime_abi(d,t.target),napi_version:c.get_napi_version(t.target),napi_build_version:r||"",node_napi_label:r?"napi-v"+r:get_runtime_abi(d,t.target),target:t.target||"",platform:t.target_platform||process.platform,target_platform:t.target_platform||process.platform,arch:t.target_arch||process.arch,target_arch:t.target_arch||process.arch,libc:t.target_libc||u.family||"unknown",module_main:e.main,toolset:t.toolset||""};var y=process.env["npm_config_"+g.module_name+"_binary_host_mirror"]||e.binary.host;g.host=fix_slashes(eval_template(y,g));g.module_path=eval_template(e.binary.module_path,g);if(t.module_root){g.module_path=s.join(t.module_root,g.module_path)}else{g.module_path=s.resolve(g.module_path)}g.module=s.join(g.module_path,g.module_name+".node");g.remote_path=e.binary.remote_path?drop_double_slashes(fix_slashes(eval_template(e.binary.remote_path,g))):m;var _=e.binary.package_name?e.binary.package_name:v;g.package_name=eval_template(_,g);g.staged_tarball=s.join("build/stage",g.remote_path,g.package_name);g.hosted_path=o.resolve(g.host,g.remote_path);g.hosted_tarball=o.resolve(g.hosted_path,g.package_name);return g}},4314:(e,t,r)=>{"use strict";var s=r(1083);var a=r(1800);var o=r(8614).EventEmitter;var u=t=e.exports=new o;var c=r(1669);var h=r(9344);var p=r(3645);h(true);var d=process.stderr;Object.defineProperty(u,"stream",{set:function(e){d=e;if(this.gauge)this.gauge.setWriteTo(d,d)},get:function(){return d}});var v;u.useColor=function(){return v!=null?v:d.isTTY};u.enableColor=function(){v=true;this.gauge.setTheme({hasColor:v,hasUnicode:m})};u.disableColor=function(){v=false;this.gauge.setTheme({hasColor:v,hasUnicode:m})};u.level="info";u.gauge=new a(d,{enabled:false,theme:{hasColor:u.useColor()},template:[{type:"progressbar",length:20},{type:"activityIndicator",kerning:1,length:1},{type:"section",default:""},":",{type:"logline",kerning:1,default:""}]});u.tracker=new s.TrackerGroup;u.progressEnabled=u.gauge.isEnabled();var m;u.enableUnicode=function(){m=true;this.gauge.setTheme({hasColor:this.useColor(),hasUnicode:m})};u.disableUnicode=function(){m=false;this.gauge.setTheme({hasColor:this.useColor(),hasUnicode:m})};u.setGaugeThemeset=function(e){this.gauge.setThemeset(e)};u.setGaugeTemplate=function(e){this.gauge.setTemplate(e)};u.enableProgress=function(){if(this.progressEnabled)return;this.progressEnabled=true;this.tracker.on("change",this.showProgress);if(this._pause)return;this.gauge.enable()};u.disableProgress=function(){if(!this.progressEnabled)return;this.progressEnabled=false;this.tracker.removeListener("change",this.showProgress);this.gauge.disable()};var g=["newGroup","newItem","newStream"];var mixinLog=function(e){Object.keys(u).forEach((function(t){if(t[0]==="_")return;if(g.filter((function(e){return e===t})).length)return;if(e[t])return;if(typeof u[t]!=="function")return;var r=u[t];e[t]=function(){return r.apply(u,arguments)}}));if(e instanceof s.TrackerGroup){g.forEach((function(t){var r=e[t];e[t]=function(){return mixinLog(r.apply(e,arguments))}}))}return e};g.forEach((function(e){u[e]=function(){return mixinLog(this.tracker[e].apply(this.tracker,arguments))}}));u.clearProgress=function(e){if(!this.progressEnabled)return e&&process.nextTick(e);this.gauge.hide(e)};u.showProgress=function(e,t){if(!this.progressEnabled)return;var r={};if(e)r.section=e;var s=u.record[u.record.length-1];if(s){r.subsection=s.prefix;var a=u.disp[s.level]||s.level;var o=this._format(a,u.style[s.level]);if(s.prefix)o+=" "+this._format(s.prefix,this.prefixStyle);o+=" "+s.message.split(/\r?\n/)[0];r.logline=o}r.completed=t||this.tracker.completed();this.gauge.show(r)}.bind(u);u.pause=function(){this._paused=true;if(this.progressEnabled)this.gauge.disable()};u.resume=function(){if(!this._paused)return;this._paused=false;var e=this._buffer;this._buffer=[];e.forEach((function(e){this.emitLog(e)}),this);if(this.progressEnabled)this.gauge.enable()};u._buffer=[];var y=0;u.record=[];u.maxRecordSize=1e4;u.log=function(e,t,r){var s=this.levels[e];if(s===undefined){return this.emit("error",new Error(c.format("Undefined log level: %j",e)))}var a=new Array(arguments.length-2);var o=null;for(var u=2;ud/10){var m=Math.floor(d*.9);this.record=this.record.slice(-1*m)}this.emitLog(p)}.bind(u);u.emitLog=function(e){if(this._paused){this._buffer.push(e);return}if(this.progressEnabled)this.gauge.pulse(e.prefix);var t=this.levels[e.level];if(t===undefined)return;if(t0&&!isFinite(t))return;var r=u.disp[e.level]!=null?u.disp[e.level]:e.level;this.clearProgress();e.message.split(/\r?\n/).forEach((function(t){if(this.heading){this.write(this.heading,this.headingStyle);this.write(" ")}this.write(r,u.style[e.level]);var s=e.prefix||"";if(s)this.write(" ");this.write(s,this.prefixStyle);this.write(" "+t+"\n")}),this);this.showProgress()};u._format=function(e,t){if(!d)return;var r="";if(this.useColor()){t=t||{};var s=[];if(t.fg)s.push(t.fg);if(t.bg)s.push("bg"+t.bg[0].toUpperCase()+t.bg.slice(1));if(t.bold)s.push("bold");if(t.underline)s.push("underline");if(t.inverse)s.push("inverse");if(s.length)r+=p.color(s);if(t.beep)r+=p.beep()}r+=e;if(this.useColor()){r+=p.color("reset")}return r};u.write=function(e,t){if(!d)return;d.write(this._format(e,t))};u.addLevel=function(e,t,r,s){if(s==null)s=e;this.levels[e]=t;this.style[e]=r;if(!this[e]){this[e]=function(){var t=new Array(arguments.length+1);t[0]=e;for(var r=0;r{"use strict";e.exports=Number.isNaN||function(e){return e!==e}},7426:e=>{"use strict"; -/* -object-assign -(c) Sindre Sorhus -@license MIT -*/var t=Object.getOwnPropertySymbols;var r=Object.prototype.hasOwnProperty;var s=Object.prototype.propertyIsEnumerable;function toObject(e){if(e===null||e===undefined){throw new TypeError("Object.assign cannot be called with null or undefined")}return Object(e)}function shouldUseNative(){try{if(!Object.assign){return false}var e=new String("abc");e[5]="de";if(Object.getOwnPropertyNames(e)[0]==="5"){return false}var t={};for(var r=0;r<10;r++){t["_"+String.fromCharCode(r)]=r}var s=Object.getOwnPropertyNames(t).map((function(e){return t[e]}));if(s.join("")!=="0123456789"){return false}var a={};"abcdefghijklmnopqrst".split("").forEach((function(e){a[e]=e}));if(Object.keys(Object.assign({},a)).join("")!=="abcdefghijklmnopqrst"){return false}return true}catch(e){return false}}e.exports=shouldUseNative()?Object.assign:function(e,a){var o;var u=toObject(e);var c;for(var h=1;h{var s=r(2940);e.exports=s(once);e.exports.strict=s(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(e){var f=function(){if(f.called)return f.value;f.called=true;return f.value=e.apply(this,arguments)};f.called=false;return f}function onceStrict(e){var f=function(){if(f.called)throw new Error(f.onceError);f.called=true;return f.value=e.apply(this,arguments)};var t=e.name||"Function wrapped with `once`";f.onceError=t+" shouldn't be called more than once";f.called=false;return f}},8714:e=>{"use strict";function posix(e){return e.charAt(0)==="/"}function win32(e){var t=/^([a-zA-Z]:|[\\\/]{2}[^\\\/]+[\\\/]+[^\\\/]+)?([\\\/])?([\s\S]*?)$/;var r=t.exec(e);var s=r[1]||"";var a=Boolean(s&&s.charAt(1)!==":");return Boolean(r[2]||a)}e.exports=process.platform==="win32"?win32:posix;e.exports.posix=posix;e.exports.win32=win32},5980:e=>{"use strict";var t=process.platform==="win32";var r=/^([a-zA-Z]:|[\\\/]{2}[^\\\/]+[\\\/]+[^\\\/]+)?([\\\/])?([\s\S]*?)$/;var s=/^([\s\S]*?)((?:\.{1,2}|[^\\\/]+?|)(\.[^.\/\\]*|))(?:[\\\/]*)$/;var a={};function win32SplitPath(e){var t=r.exec(e),a=(t[1]||"")+(t[2]||""),o=t[3]||"";var u=s.exec(o),c=u[1],h=u[2],p=u[3];return[a,c,h,p]}a.parse=function(e){if(typeof e!=="string"){throw new TypeError("Parameter 'pathString' must be a string, not "+typeof e)}var t=win32SplitPath(e);if(!t||t.length!==4){throw new TypeError("Invalid path '"+e+"'")}return{root:t[0],dir:t[0]+t[1].slice(0,-1),base:t[2],ext:t[3],name:t[2].slice(0,t[2].length-t[3].length)}};var o=/^(\/?|)([\s\S]*?)((?:\.{1,2}|[^\/]+?|)(\.[^.\/]*|))(?:[\/]*)$/;var u={};function posixSplitPath(e){return o.exec(e).slice(1)}u.parse=function(e){if(typeof e!=="string"){throw new TypeError("Parameter 'pathString' must be a string, not "+typeof e)}var t=posixSplitPath(e);if(!t||t.length!==4){throw new TypeError("Invalid path '"+e+"'")}t[1]=t[1]||"";t[2]=t[2]||"";t[3]=t[3]||"";return{root:t[0],dir:t[0]+t[1].slice(0,-1),base:t[2],ext:t[3],name:t[2].slice(0,t[2].length-t[3].length)}};if(t)e.exports=a.parse;else e.exports=u.parse;e.exports.posix=u.parse;e.exports.win32=a.parse},7810:e=>{"use strict";if(!process.version||process.version.indexOf("v0.")===0||process.version.indexOf("v1.")===0&&process.version.indexOf("v1.8.")!==0){e.exports={nextTick:nextTick}}else{e.exports=process}function nextTick(e,t,r,s){if(typeof e!=="function"){throw new TypeError('"callback" argument must be a function')}var a=arguments.length;var o,u;switch(a){case 0:case 1:return process.nextTick(e);case 2:return process.nextTick((function afterTickOne(){e.call(null,t)}));case 3:return process.nextTick((function afterTickTwo(){e.call(null,t,r)}));case 4:return process.nextTick((function afterTickThree(){e.call(null,t,r,s)}));default:o=new Array(a-1);u=0;while(u{"use strict";var s=r(7810);var a=Object.keys||function(e){var t=[];for(var r in e){t.push(r)}return t};e.exports=Duplex;var o=r(5898);o.inherits=r(4124);var u=r(1433);var c=r(6993);o.inherits(Duplex,u);{var h=a(c.prototype);for(var p=0;p{"use strict";e.exports=PassThrough;var s=r(4415);var a=r(5898);a.inherits=r(4124);a.inherits(PassThrough,s);function PassThrough(e){if(!(this instanceof PassThrough))return new PassThrough(e);s.call(this,e)}PassThrough.prototype._transform=function(e,t,r){r(null,e)}},1433:(e,t,r)=>{"use strict";var s=r(7810);e.exports=Readable;var a=r(893);var o;Readable.ReadableState=ReadableState;var u=r(8614).EventEmitter;var EElistenerCount=function(e,t){return e.listeners(t).length};var c=r(2387);var h=r(1867).Buffer;var p=global.Uint8Array||function(){};function _uint8ArrayToBuffer(e){return h.from(e)}function _isUint8Array(e){return h.isBuffer(e)||e instanceof p}var d=r(5898);d.inherits=r(4124);var v=r(1669);var m=void 0;if(v&&v.debuglog){m=v.debuglog("stream")}else{m=function(){}}var g=r(7053);var y=r(7049);var _;d.inherits(Readable,c);var E=["error","close","destroy","pause","resume"];function prependListener(e,t,r){if(typeof e.prependListener==="function")return e.prependListener(t,r);if(!e._events||!e._events[t])e.on(t,r);else if(a(e._events[t]))e._events[t].unshift(r);else e._events[t]=[r,e._events[t]]}function ReadableState(e,t){o=o||r(1359);e=e||{};var s=t instanceof o;this.objectMode=!!e.objectMode;if(s)this.objectMode=this.objectMode||!!e.readableObjectMode;var a=e.highWaterMark;var u=e.readableHighWaterMark;var c=this.objectMode?16:16*1024;if(a||a===0)this.highWaterMark=a;else if(s&&(u||u===0))this.highWaterMark=u;else this.highWaterMark=c;this.highWaterMark=Math.floor(this.highWaterMark);this.buffer=new g;this.length=0;this.pipes=null;this.pipesCount=0;this.flowing=null;this.ended=false;this.endEmitted=false;this.reading=false;this.sync=true;this.needReadable=false;this.emittedReadable=false;this.readableListening=false;this.resumeScheduled=false;this.destroyed=false;this.defaultEncoding=e.defaultEncoding||"utf8";this.awaitDrain=0;this.readingMore=false;this.decoder=null;this.encoding=null;if(e.encoding){if(!_)_=r(4841).s;this.decoder=new _(e.encoding);this.encoding=e.encoding}}function Readable(e){o=o||r(1359);if(!(this instanceof Readable))return new Readable(e);this._readableState=new ReadableState(e,this);this.readable=true;if(e){if(typeof e.read==="function")this._read=e.read;if(typeof e.destroy==="function")this._destroy=e.destroy}c.call(this)}Object.defineProperty(Readable.prototype,"destroyed",{get:function(){if(this._readableState===undefined){return false}return this._readableState.destroyed},set:function(e){if(!this._readableState){return}this._readableState.destroyed=e}});Readable.prototype.destroy=y.destroy;Readable.prototype._undestroy=y.undestroy;Readable.prototype._destroy=function(e,t){this.push(null);t(e)};Readable.prototype.push=function(e,t){var r=this._readableState;var s;if(!r.objectMode){if(typeof e==="string"){t=t||r.defaultEncoding;if(t!==r.encoding){e=h.from(e,t);t=""}s=true}}else{s=true}return readableAddChunk(this,e,t,false,s)};Readable.prototype.unshift=function(e){return readableAddChunk(this,e,null,true,false)};function readableAddChunk(e,t,r,s,a){var o=e._readableState;if(t===null){o.reading=false;onEofChunk(e,o)}else{var u;if(!a)u=chunkInvalid(o,t);if(u){e.emit("error",u)}else if(o.objectMode||t&&t.length>0){if(typeof t!=="string"&&!o.objectMode&&Object.getPrototypeOf(t)!==h.prototype){t=_uint8ArrayToBuffer(t)}if(s){if(o.endEmitted)e.emit("error",new Error("stream.unshift() after end event"));else addChunk(e,o,t,true)}else if(o.ended){e.emit("error",new Error("stream.push() after EOF"))}else{o.reading=false;if(o.decoder&&!r){t=o.decoder.write(t);if(o.objectMode||t.length!==0)addChunk(e,o,t,false);else maybeReadMore(e,o)}else{addChunk(e,o,t,false)}}}else if(!s){o.reading=false}}return needMoreData(o)}function addChunk(e,t,r,s){if(t.flowing&&t.length===0&&!t.sync){e.emit("data",r);e.read(0)}else{t.length+=t.objectMode?1:r.length;if(s)t.buffer.unshift(r);else t.buffer.push(r);if(t.needReadable)emitReadable(e)}maybeReadMore(e,t)}function chunkInvalid(e,t){var r;if(!_isUint8Array(t)&&typeof t!=="string"&&t!==undefined&&!e.objectMode){r=new TypeError("Invalid non-string/buffer chunk")}return r}function needMoreData(e){return!e.ended&&(e.needReadable||e.length=x){e=x}else{e--;e|=e>>>1;e|=e>>>2;e|=e>>>4;e|=e>>>8;e|=e>>>16;e++}return e}function howMuchToRead(e,t){if(e<=0||t.length===0&&t.ended)return 0;if(t.objectMode)return 1;if(e!==e){if(t.flowing&&t.length)return t.buffer.head.data.length;else return t.length}if(e>t.highWaterMark)t.highWaterMark=computeNewHighWaterMark(e);if(e<=t.length)return e;if(!t.ended){t.needReadable=true;return 0}return t.length}Readable.prototype.read=function(e){m("read",e);e=parseInt(e,10);var t=this._readableState;var r=e;if(e!==0)t.emittedReadable=false;if(e===0&&t.needReadable&&(t.length>=t.highWaterMark||t.ended)){m("read: emitReadable",t.length,t.ended);if(t.length===0&&t.ended)endReadable(this);else emitReadable(this);return null}e=howMuchToRead(e,t);if(e===0&&t.ended){if(t.length===0)endReadable(this);return null}var s=t.needReadable;m("need readable",s);if(t.length===0||t.length-e0)a=fromList(e,t);else a=null;if(a===null){t.needReadable=true;e=0}else{t.length-=e}if(t.length===0){if(!t.ended)t.needReadable=true;if(r!==e&&t.ended)endReadable(this)}if(a!==null)this.emit("data",a);return a};function onEofChunk(e,t){if(t.ended)return;if(t.decoder){var r=t.decoder.end();if(r&&r.length){t.buffer.push(r);t.length+=t.objectMode?1:r.length}}t.ended=true;emitReadable(e)}function emitReadable(e){var t=e._readableState;t.needReadable=false;if(!t.emittedReadable){m("emitReadable",t.flowing);t.emittedReadable=true;if(t.sync)s.nextTick(emitReadable_,e);else emitReadable_(e)}}function emitReadable_(e){m("emit readable");e.emit("readable");flow(e)}function maybeReadMore(e,t){if(!t.readingMore){t.readingMore=true;s.nextTick(maybeReadMore_,e,t)}}function maybeReadMore_(e,t){var r=t.length;while(!t.reading&&!t.flowing&&!t.ended&&t.length1&&indexOf(a.pipes,e)!==-1)&&!h){m("false write response, pause",r._readableState.awaitDrain);r._readableState.awaitDrain++;p=true}r.pause()}}function onerror(t){m("onerror",t);unpipe();e.removeListener("error",onerror);if(EElistenerCount(e,"error")===0)e.emit("error",t)}prependListener(e,"error",onerror);function onclose(){e.removeListener("finish",onfinish);unpipe()}e.once("close",onclose);function onfinish(){m("onfinish");e.removeListener("close",onclose);unpipe()}e.once("finish",onfinish);function unpipe(){m("unpipe");r.unpipe(e)}e.emit("pipe",r);if(!a.flowing){m("pipe resume");r.resume()}return e};function pipeOnDrain(e){return function(){var t=e._readableState;m("pipeOnDrain",t.awaitDrain);if(t.awaitDrain)t.awaitDrain--;if(t.awaitDrain===0&&EElistenerCount(e,"data")){t.flowing=true;flow(e)}}}Readable.prototype.unpipe=function(e){var t=this._readableState;var r={hasUnpiped:false};if(t.pipesCount===0)return this;if(t.pipesCount===1){if(e&&e!==t.pipes)return this;if(!e)e=t.pipes;t.pipes=null;t.pipesCount=0;t.flowing=false;if(e)e.emit("unpipe",this,r);return this}if(!e){var s=t.pipes;var a=t.pipesCount;t.pipes=null;t.pipesCount=0;t.flowing=false;for(var o=0;o=t.length){if(t.decoder)r=t.buffer.join("");else if(t.buffer.length===1)r=t.buffer.head.data;else r=t.buffer.concat(t.length);t.buffer.clear()}else{r=fromListPartial(e,t.buffer,t.decoder)}return r}function fromListPartial(e,t,r){var s;if(eo.length?o.length:e;if(u===o.length)a+=o;else a+=o.slice(0,e);e-=u;if(e===0){if(u===o.length){++s;if(r.next)t.head=r.next;else t.head=t.tail=null}else{t.head=r;r.data=o.slice(u)}break}++s}t.length-=s;return a}function copyFromBuffer(e,t){var r=h.allocUnsafe(e);var s=t.head;var a=1;s.data.copy(r);e-=s.data.length;while(s=s.next){var o=s.data;var u=e>o.length?o.length:e;o.copy(r,r.length-e,0,u);e-=u;if(e===0){if(u===o.length){++a;if(s.next)t.head=s.next;else t.head=t.tail=null}else{t.head=s;s.data=o.slice(u)}break}++a}t.length-=a;return r}function endReadable(e){var t=e._readableState;if(t.length>0)throw new Error('"endReadable()" called on non-empty stream');if(!t.endEmitted){t.ended=true;s.nextTick(endReadableNT,t,e)}}function endReadableNT(e,t){if(!e.endEmitted&&e.length===0){e.endEmitted=true;t.readable=false;t.emit("end")}}function indexOf(e,t){for(var r=0,s=e.length;r{"use strict";e.exports=Transform;var s=r(1359);var a=r(5898);a.inherits=r(4124);a.inherits(Transform,s);function afterTransform(e,t){var r=this._transformState;r.transforming=false;var s=r.writecb;if(!s){return this.emit("error",new Error("write callback called multiple times"))}r.writechunk=null;r.writecb=null;if(t!=null)this.push(t);s(e);var a=this._readableState;a.reading=false;if(a.needReadable||a.length{"use strict";var s=r(7810);e.exports=Writable;function WriteReq(e,t,r){this.chunk=e;this.encoding=t;this.callback=r;this.next=null}function CorkedRequest(e){var t=this;this.next=null;this.entry=null;this.finish=function(){onCorkedFinish(t,e)}}var a=!process.browser&&["v0.10","v0.9."].indexOf(process.version.slice(0,5))>-1?setImmediate:s.nextTick;var o;Writable.WritableState=WritableState;var u=r(5898);u.inherits=r(4124);var c={deprecate:r(5278)};var h=r(2387);var p=r(1867).Buffer;var d=global.Uint8Array||function(){};function _uint8ArrayToBuffer(e){return p.from(e)}function _isUint8Array(e){return p.isBuffer(e)||e instanceof d}var v=r(7049);u.inherits(Writable,h);function nop(){}function WritableState(e,t){o=o||r(1359);e=e||{};var s=t instanceof o;this.objectMode=!!e.objectMode;if(s)this.objectMode=this.objectMode||!!e.writableObjectMode;var a=e.highWaterMark;var u=e.writableHighWaterMark;var c=this.objectMode?16:16*1024;if(a||a===0)this.highWaterMark=a;else if(s&&(u||u===0))this.highWaterMark=u;else this.highWaterMark=c;this.highWaterMark=Math.floor(this.highWaterMark);this.finalCalled=false;this.needDrain=false;this.ending=false;this.ended=false;this.finished=false;this.destroyed=false;var h=e.decodeStrings===false;this.decodeStrings=!h;this.defaultEncoding=e.defaultEncoding||"utf8";this.length=0;this.writing=false;this.corked=0;this.sync=true;this.bufferProcessing=false;this.onwrite=function(e){onwrite(t,e)};this.writecb=null;this.writelen=0;this.bufferedRequest=null;this.lastBufferedRequest=null;this.pendingcb=0;this.prefinished=false;this.errorEmitted=false;this.bufferedRequestCount=0;this.corkedRequestsFree=new CorkedRequest(this)}WritableState.prototype.getBuffer=function getBuffer(){var e=this.bufferedRequest;var t=[];while(e){t.push(e);e=e.next}return t};(function(){try{Object.defineProperty(WritableState.prototype,"buffer",{get:c.deprecate((function(){return this.getBuffer()}),"_writableState.buffer is deprecated. Use _writableState.getBuffer "+"instead.","DEP0003")})}catch(e){}})();var m;if(typeof Symbol==="function"&&Symbol.hasInstance&&typeof Function.prototype[Symbol.hasInstance]==="function"){m=Function.prototype[Symbol.hasInstance];Object.defineProperty(Writable,Symbol.hasInstance,{value:function(e){if(m.call(this,e))return true;if(this!==Writable)return false;return e&&e._writableState instanceof WritableState}})}else{m=function(e){return e instanceof this}}function Writable(e){o=o||r(1359);if(!m.call(Writable,this)&&!(this instanceof o)){return new Writable(e)}this._writableState=new WritableState(e,this);this.writable=true;if(e){if(typeof e.write==="function")this._write=e.write;if(typeof e.writev==="function")this._writev=e.writev;if(typeof e.destroy==="function")this._destroy=e.destroy;if(typeof e.final==="function")this._final=e.final}h.call(this)}Writable.prototype.pipe=function(){this.emit("error",new Error("Cannot pipe, not readable"))};function writeAfterEnd(e,t){var r=new Error("write after end");e.emit("error",r);s.nextTick(t,r)}function validChunk(e,t,r,a){var o=true;var u=false;if(r===null){u=new TypeError("May not write null values to stream")}else if(typeof r!=="string"&&r!==undefined&&!t.objectMode){u=new TypeError("Invalid non-string/buffer chunk")}if(u){e.emit("error",u);s.nextTick(a,u);o=false}return o}Writable.prototype.write=function(e,t,r){var s=this._writableState;var a=false;var o=!s.objectMode&&_isUint8Array(e);if(o&&!p.isBuffer(e)){e=_uint8ArrayToBuffer(e)}if(typeof t==="function"){r=t;t=null}if(o)t="buffer";else if(!t)t=s.defaultEncoding;if(typeof r!=="function")r=nop;if(s.ended)writeAfterEnd(this,r);else if(o||validChunk(this,s,e,r)){s.pendingcb++;a=writeOrBuffer(this,s,o,e,t,r)}return a};Writable.prototype.cork=function(){var e=this._writableState;e.corked++};Writable.prototype.uncork=function(){var e=this._writableState;if(e.corked){e.corked--;if(!e.writing&&!e.corked&&!e.finished&&!e.bufferProcessing&&e.bufferedRequest)clearBuffer(this,e)}};Writable.prototype.setDefaultEncoding=function setDefaultEncoding(e){if(typeof e==="string")e=e.toLowerCase();if(!(["hex","utf8","utf-8","ascii","binary","base64","ucs2","ucs-2","utf16le","utf-16le","raw"].indexOf((e+"").toLowerCase())>-1))throw new TypeError("Unknown encoding: "+e);this._writableState.defaultEncoding=e;return this};function decodeChunk(e,t,r){if(!e.objectMode&&e.decodeStrings!==false&&typeof t==="string"){t=p.from(t,r)}return t}Object.defineProperty(Writable.prototype,"writableHighWaterMark",{enumerable:false,get:function(){return this._writableState.highWaterMark}});function writeOrBuffer(e,t,r,s,a,o){if(!r){var u=decodeChunk(t,s,a);if(s!==u){r=true;a="buffer";s=u}}var c=t.objectMode?1:s.length;t.length+=c;var h=t.length{"use strict";function _classCallCheck(e,t){if(!(e instanceof t)){throw new TypeError("Cannot call a class as a function")}}var s=r(1867).Buffer;var a=r(1669);function copyBuffer(e,t,r){e.copy(t,r)}e.exports=function(){function BufferList(){_classCallCheck(this,BufferList);this.head=null;this.tail=null;this.length=0}BufferList.prototype.push=function push(e){var t={data:e,next:null};if(this.length>0)this.tail.next=t;else this.head=t;this.tail=t;++this.length};BufferList.prototype.unshift=function unshift(e){var t={data:e,next:this.head};if(this.length===0)this.tail=t;this.head=t;++this.length};BufferList.prototype.shift=function shift(){if(this.length===0)return;var e=this.head.data;if(this.length===1)this.head=this.tail=null;else this.head=this.head.next;--this.length;return e};BufferList.prototype.clear=function clear(){this.head=this.tail=null;this.length=0};BufferList.prototype.join=function join(e){if(this.length===0)return"";var t=this.head;var r=""+t.data;while(t=t.next){r+=e+t.data}return r};BufferList.prototype.concat=function concat(e){if(this.length===0)return s.alloc(0);if(this.length===1)return this.head.data;var t=s.allocUnsafe(e>>>0);var r=this.head;var a=0;while(r){copyBuffer(r.data,t,a);a+=r.data.length;r=r.next}return t};return BufferList}();if(a&&a.inspect&&a.inspect.custom){e.exports.prototype[a.inspect.custom]=function(){var e=a.inspect({length:this.length});return this.constructor.name+" "+e}}},7049:(e,t,r)=>{"use strict";var s=r(7810);function destroy(e,t){var r=this;var a=this._readableState&&this._readableState.destroyed;var o=this._writableState&&this._writableState.destroyed;if(a||o){if(t){t(e)}else if(e&&(!this._writableState||!this._writableState.errorEmitted)){s.nextTick(emitErrorNT,this,e)}return this}if(this._readableState){this._readableState.destroyed=true}if(this._writableState){this._writableState.destroyed=true}this._destroy(e||null,(function(e){if(!t&&e){s.nextTick(emitErrorNT,r,e);if(r._writableState){r._writableState.errorEmitted=true}}else if(t){t(e)}}));return this}function undestroy(){if(this._readableState){this._readableState.destroyed=false;this._readableState.reading=false;this._readableState.ended=false;this._readableState.endEmitted=false}if(this._writableState){this._writableState.destroyed=false;this._writableState.ended=false;this._writableState.ending=false;this._writableState.finished=false;this._writableState.errorEmitted=false}}function emitErrorNT(e,t){e.emit("error",t)}e.exports={destroy:destroy,undestroy:undestroy}},2387:(e,t,r)=>{e.exports=r(2413)},1642:(e,t,r)=>{var s=r(2413);if(process.env.READABLE_STREAM==="disable"&&s){e.exports=s;t=e.exports=s.Readable;t.Readable=s.Readable;t.Writable=s.Writable;t.Duplex=s.Duplex;t.Transform=s.Transform;t.PassThrough=s.PassThrough;t.Stream=s}else{t=e.exports=r(1433);t.Stream=s||t;t.Readable=t;t.Writable=r(6993);t.Duplex=r(1359);t.Transform=r(4415);t.PassThrough=r(1542)}},9283:(e,t,r)=>{var s=r(6226);var a=r(2125);a.core=s;a.isCore=function isCore(e){return s[e]};a.sync=r(5284);t=a;e.exports=a},2125:(e,t,r)=>{var s=r(6226);var a=r(5747);var o=r(5622);var u=r(6155);var c=r(3265);var h=r(7990);var p=function isFile(e,t){a.stat(e,(function(e,r){if(!e){return t(null,r.isFile()||r.isFIFO())}if(e.code==="ENOENT"||e.code==="ENOTDIR")return t(null,false);return t(e)}))};e.exports=function resolve(e,t,r){var d=r;var v=t;if(typeof t==="function"){d=v;v={}}if(typeof e!=="string"){var m=new TypeError("Path must be a string.");return process.nextTick((function(){d(m)}))}v=h(e,v);var g=v.isFile||p;var y=v.readFile||a.readFile;var _=v.extensions||[".js"];var E=v.basedir||o.dirname(u());var x=v.filename||E;v.paths=v.paths||[];var w=o.resolve(E);if(v.preserveSymlinks===false){a.realpath(w,(function(e,t){if(e&&e.code!=="ENOENT")d(m);else init(e?w:t)}))}else{init(w)}var D;function init(t){if(/^(?:\.\.?(?:\/|$)|\/|([A-Za-z]:)?[/\\])/.test(e)){D=o.resolve(t,e);if(e===".."||e.slice(-1)==="/")D+="/";if(/\/$/.test(e)&&D===t){loadAsDirectory(D,v.package,onfile)}else loadAsFile(D,v.package,onfile)}else loadNodeModules(e,t,(function(t,r,a){if(t)d(t);else if(r)d(null,r,a);else if(s[e])return d(null,e);else{var o=new Error("Cannot find module '"+e+"' from '"+x+"'");o.code="MODULE_NOT_FOUND";d(o)}}))}function onfile(t,r,s){if(t)d(t);else if(r)d(null,r,s);else loadAsDirectory(D,(function(t,r,s){if(t)d(t);else if(r)d(null,r,s);else{var a=new Error("Cannot find module '"+e+"' from '"+x+"'");a.code="MODULE_NOT_FOUND";d(a)}}))}function loadAsFile(e,t,r){var s=t;var a=r;if(typeof s==="function"){a=s;s=undefined}var u=[""].concat(_);load(u,e,s);function load(e,t,r){if(e.length===0)return a(null,undefined,r);var s=t+e[0];var u=r;if(u)onpkg(null,u);else loadpkg(o.dirname(s),onpkg);function onpkg(r,c,h){u=c;if(r)return a(r);if(h&&u&&v.pathFilter){var p=o.relative(h,s);var d=p.slice(0,p.length-e[0].length);var m=v.pathFilter(u,t,d);if(m)return load([""].concat(_.slice()),o.resolve(h,m),u)}g(s,onex)}function onex(r,o){if(r)return a(r);if(o)return a(null,s,u);load(e.slice(1),t,u)}}}function loadpkg(e,t){if(e===""||e==="/")return t(null);if(process.platform==="win32"&&/^\w:[/\\]*$/.test(e)){return t(null)}if(/[/\\]node_modules[/\\]*$/.test(e))return t(null);var r=o.join(e,"package.json");g(r,(function(s,a){if(!a)return loadpkg(o.dirname(e),t);y(r,(function(s,a){if(s)t(s);try{var o=JSON.parse(a)}catch(e){}if(o&&v.packageFilter){o=v.packageFilter(o,r)}t(null,o,e)}))}))}function loadAsDirectory(e,t,r){var s=r;var a=t;if(typeof a==="function"){s=a;a=v.package}var u=o.join(e,"package.json");g(u,(function(t,r){if(t)return s(t);if(!r)return loadAsFile(o.join(e,"index"),a,s);y(u,(function(t,r){if(t)return s(t);try{var a=JSON.parse(r)}catch(e){}if(v.packageFilter){a=v.packageFilter(a,u)}if(a.main){if(typeof a.main!=="string"){var c=new TypeError("package “"+a.name+"” `main` must be a string");c.code="INVALID_PACKAGE_MAIN";return s(c)}if(a.main==="."||a.main==="./"){a.main="index"}loadAsFile(o.resolve(e,a.main),a,(function(t,r,a){if(t)return s(t);if(r)return s(null,r,a);if(!a)return loadAsFile(o.join(e,"index"),a,s);var u=o.resolve(e,a.main);loadAsDirectory(u,a,(function(t,r,a){if(t)return s(t);if(r)return s(null,r,a);loadAsFile(o.join(e,"index"),a,s)}))}));return}loadAsFile(o.join(e,"/index"),a,s)}))}))}function processDirs(t,r){if(r.length===0)return t(null,undefined);var s=r[0];var a=o.join(s,e);loadAsFile(a,v.package,onfile);function onfile(r,a,u){if(r)return t(r);if(a)return t(null,a,u);loadAsDirectory(o.join(s,e),v.package,ondir)}function ondir(e,s,a){if(e)return t(e);if(s)return t(null,s,a);processDirs(t,r.slice(1))}}function loadNodeModules(e,t,r){processDirs(r,c(t,v,e))}}},6155:e=>{e.exports=function(){var e=Error.prepareStackTrace;Error.prepareStackTrace=function(e,t){return t};var t=(new Error).stack;Error.prepareStackTrace=e;return t[2].getFileName()}},6226:(e,t,r)=>{var s=process.versions&&process.versions.node&&process.versions.node.split(".")||[];function specifierIncluded(e){var t=e.split(" ");var r=t.length>1?t[0]:"=";var a=(t.length>1?t[1]:t[0]).split(".");for(var o=0;o<3;++o){var u=Number(s[o]||0);var c=Number(a[o]||0);if(u===c){continue}if(r==="<"){return u="){return u>=c}else{return false}}return r===">="}function matchesRange(e){var t=e.split(/ ?&& ?/);if(t.length===0){return false}for(var r=0;r{var s=r(5622);var a=s.parse||r(5980);var o=function getNodeModulesDirs(e,t){var r="/";if(/^([A-Za-z]:)/.test(e)){r=""}else if(/^\\\\/.test(e)){r="\\\\"}var o=[e];var u=a(e);while(u.dir!==o[o.length-1]){o.push(u.dir);u=a(u.dir)}return o.reduce((function(e,a){return e.concat(t.map((function(e){return s.join(r,a,e)})))}),[])};e.exports=function nodeModulesPaths(e,t,r){var s=t&&t.moduleDirectory?[].concat(t.moduleDirectory):["node_modules"];if(t&&typeof t.paths==="function"){return t.paths(r,e,(function(){return o(e,s)}),t)}var a=o(e,s);return t&&t.paths?a.concat(t.paths):a}},7990:e=>{e.exports=function(e,t){return t||{}}},5284:(e,t,r)=>{var s=r(6226);var a=r(5747);var o=r(5622);var u=r(6155);var c=r(3265);var h=r(7990);var p=function isFile(e){try{var t=a.statSync(e)}catch(e){if(e&&(e.code==="ENOENT"||e.code==="ENOTDIR"))return false;throw e}return t.isFile()||t.isFIFO()};e.exports=function(e,t){if(typeof e!=="string"){throw new TypeError("Path must be a string.")}var r=h(e,t);var d=r.isFile||p;var v=r.readFileSync||a.readFileSync;var m=r.extensions||[".js"];var g=r.basedir||o.dirname(u());var y=r.filename||g;r.paths=r.paths||[];var _=o.resolve(g);if(r.preserveSymlinks===false){try{_=a.realpathSync(_)}catch(e){if(e.code!=="ENOENT"){throw e}}}if(/^(?:\.\.?(?:\/|$)|\/|([A-Za-z]:)?[/\\])/.test(e)){var E=o.resolve(_,e);if(e===".."||e.slice(-1)==="/")E+="/";var x=loadAsFileSync(E)||loadAsDirectorySync(E);if(x)return x}else{var w=loadNodeModulesSync(e,_);if(w)return w}if(s[e])return e;var D=new Error("Cannot find module '"+e+"' from '"+y+"'");D.code="MODULE_NOT_FOUND";throw D;function loadAsFileSync(e){var t=loadpkg(o.dirname(e));if(t&&t.dir&&t.pkg&&r.pathFilter){var s=o.relative(t.dir,e);var a=r.pathFilter(t.pkg,e,s);if(a){e=o.resolve(t.dir,a)}}if(d(e)){return e}for(var u=0;u{e.exports=rimraf;rimraf.sync=rimrafSync;var s=r(2357);var a=r(5622);var o=r(5747);var u=r(1957);var c=parseInt("666",8);var h={nosort:true,silent:true};var p=0;var d=process.platform==="win32";function defaults(e){var t=["unlink","chmod","stat","lstat","rmdir","readdir"];t.forEach((function(t){e[t]=e[t]||o[t];t=t+"Sync";e[t]=e[t]||o[t]}));e.maxBusyTries=e.maxBusyTries||3;e.emfileWait=e.emfileWait||1e3;if(e.glob===false){e.disableGlob=true}e.disableGlob=e.disableGlob||false;e.glob=e.glob||h}function rimraf(e,t,r){if(typeof t==="function"){r=t;t={}}s(e,"rimraf: missing path");s.equal(typeof e,"string","rimraf: path should be a string");s.equal(typeof r,"function","rimraf: callback function required");s(t,"rimraf: invalid options argument provided");s.equal(typeof t,"object","rimraf: options should be object");defaults(t);var a=0;var o=null;var c=0;if(t.disableGlob||!u.hasMagic(e))return afterGlob(null,[e]);t.lstat(e,(function(r,s){if(!r)return afterGlob(null,[e]);u(e,t.glob,afterGlob)}));function next(e){o=o||e;if(--c===0)r(o)}function afterGlob(e,s){if(e)return r(e);c=s.length;if(c===0)return r();s.forEach((function(e){rimraf_(e,t,(function CB(r){if(r){if((r.code==="EBUSY"||r.code==="ENOTEMPTY"||r.code==="EPERM")&&a{"use strict";Object.defineProperty(t,"__esModule",{value:true});function _interopDefault(e){return e&&typeof e==="object"&&"default"in e?e["default"]:e}var s=r(5622);var a=_interopDefault(s);var o=r(6465);var u=_interopDefault(r(1669));const c=function addExtension(e,t=".js"){if(!s.extname(e))e+=t;return e};const h={ArrayPattern(e,t){for(const r of t.elements){if(r)h[r.type](e,r)}},AssignmentPattern(e,t){h[t.left.type](e,t.left)},Identifier(e,t){e.push(t.name)},MemberExpression(){},ObjectPattern(e,t){for(const r of t.properties){if(r.type==="RestElement"){h.RestElement(e,r)}else{h[r.value.type](e,r.value)}}},RestElement(e,t){h[t.argument.type](e,t.argument)}};const p=function extractAssignedNames(e){const t=[];h[e.type](t,e);return t};const d={const:true,let:true};class Scope{constructor(e={}){this.parent=e.parent;this.isBlockScope=!!e.block;this.declarations=Object.create(null);if(e.params){e.params.forEach((e=>{p(e).forEach((e=>{this.declarations[e]=true}))}))}}addDeclaration(e,t,r){if(!t&&this.isBlockScope){this.parent.addDeclaration(e,t,r)}else if(e.id){p(e.id).forEach((e=>{this.declarations[e]=true}))}}contains(e){return this.declarations[e]||(this.parent?this.parent.contains(e):false)}}const v=function attachScopes(e,t="scope"){let r=new Scope;o.walk(e,{enter(e,s){if(/(Function|Class)Declaration/.test(e.type)){r.addDeclaration(e,false,false)}if(e.type==="VariableDeclaration"){const t=e.kind;const s=d[t];e.declarations.forEach((e=>{r.addDeclaration(e,s,true)}))}let a;if(/Function/.test(e.type)){a=new Scope({parent:r,block:false,params:e.params});if(e.type==="FunctionExpression"&&e.id){a.addDeclaration(e,false,false)}}if(e.type==="BlockStatement"&&!/Function/.test(s.type)){a=new Scope({parent:r,block:true})}if(e.type==="CatchClause"){a=new Scope({parent:r,params:e.param?[e.param]:[],block:true})}if(a){Object.defineProperty(e,t,{value:a,configurable:true});r=a}},leave(e){if(e[t])r=r.parent}});return r};function createCommonjsModule(e,t){return t={exports:{}},e(t,t.exports),t.exports}var m=createCommonjsModule((function(e,t){t.isInteger=e=>{if(typeof e==="number"){return Number.isInteger(e)}if(typeof e==="string"&&e.trim()!==""){return Number.isInteger(Number(e))}return false};t.find=(e,t)=>e.nodes.find((e=>e.type===t));t.exceedsLimit=(e,r,s=1,a)=>{if(a===false)return false;if(!t.isInteger(e)||!t.isInteger(r))return false;return(Number(r)-Number(e))/Number(s)>=a};t.escapeNode=(e,t=0,r)=>{let s=e.nodes[t];if(!s)return;if(r&&s.type===r||s.type==="open"||s.type==="close"){if(s.escaped!==true){s.value="\\"+s.value;s.escaped=true}}};t.encloseBrace=e=>{if(e.type!=="brace")return false;if(e.commas>>0+e.ranges>>0===0){e.invalid=true;return true}return false};t.isInvalidBrace=e=>{if(e.type!=="brace")return false;if(e.invalid===true||e.dollar)return true;if(e.commas>>0+e.ranges>>0===0){e.invalid=true;return true}if(e.open!==true||e.close!==true){e.invalid=true;return true}return false};t.isOpenOrClose=e=>{if(e.type==="open"||e.type==="close"){return true}return e.open===true||e.close===true};t.reduce=e=>e.reduce(((e,t)=>{if(t.type==="text")e.push(t.value);if(t.type==="range")t.type="text";return e}),[]);t.flatten=(...e)=>{const t=[];const flat=e=>{for(let r=0;r{let stringify=(e,r={})=>{let s=t.escapeInvalid&&m.isInvalidBrace(r);let a=e.invalid===true&&t.escapeInvalid===true;let o="";if(e.value){if((s||a)&&m.isOpenOrClose(e)){return"\\"+e.value}return e.value}if(e.value){return e.value}if(e.nodes){for(let t of e.nodes){o+=stringify(t)}}return o};return stringify(e)}; -/*! - * is-number - * - * Copyright (c) 2014-present, Jon Schlinkert. - * Released under the MIT License. - */var isNumber=function(e){if(typeof e==="number"){return e-e===0}if(typeof e==="string"&&e.trim()!==""){return Number.isFinite?Number.isFinite(+e):isFinite(+e)}return false};const toRegexRange=(e,t,r)=>{if(isNumber(e)===false){throw new TypeError("toRegexRange: expected the first argument to be a number")}if(t===void 0||e===t){return String(e)}if(isNumber(t)===false){throw new TypeError("toRegexRange: expected the second argument to be a number.")}let s=Object.assign({relaxZeros:true},r);if(typeof s.strictZeros==="boolean"){s.relaxZeros=s.strictZeros===false}let a=String(s.relaxZeros);let o=String(s.shorthand);let u=String(s.capture);let c=String(s.wrap);let h=e+":"+t+"="+a+o+u+c;if(toRegexRange.cache.hasOwnProperty(h)){return toRegexRange.cache[h].result}let p=Math.min(e,t);let d=Math.max(e,t);if(Math.abs(p-d)===1){let r=e+"|"+t;if(s.capture){return`(${r})`}if(s.wrap===false){return r}return`(?:${r})`}let v=hasPadding(e)||hasPadding(t);let m={min:e,max:t,a:p,b:d};let g=[];let y=[];if(v){m.isPadded=v;m.maxLen=String(m.max).length}if(p<0){let e=d<0?Math.abs(d):1;y=splitToPatterns(e,Math.abs(p),m,s);p=m.a=0}if(d>=0){g=splitToPatterns(p,d,m,s)}m.negatives=y;m.positives=g;m.result=collatePatterns(y,g,s);if(s.capture===true){m.result=`(${m.result})`}else if(s.wrap!==false&&g.length+y.length>1){m.result=`(?:${m.result})`}toRegexRange.cache[h]=m;return m.result};function collatePatterns(e,t,r){let s=filterPatterns(e,t,"-",false,r)||[];let a=filterPatterns(t,e,"",false,r)||[];let o=filterPatterns(e,t,"-?",true,r)||[];let u=s.concat(o).concat(a);return u.join("|")}function splitToRanges(e,t){let r=1;let s=1;let a=countNines(e,r);let o=new Set([t]);while(e<=a&&a<=t){o.add(a);r+=1;a=countNines(e,r)}a=countZeros(t+1,s)-1;while(e1){c.count.pop()}c.count.push(h.count[0]);c.string=c.pattern+toQuantifier(c.count);u=t+1;continue}if(r.isPadded){p=padZeros(t,r,s)}h.string=p+h.pattern+toQuantifier(h.count);o.push(h);u=t+1;c=h}return o}function filterPatterns(e,t,r,s,a){let o=[];for(let a of e){let{string:e}=a;if(!s&&!contains(t,"string",e)){o.push(r+e)}if(s&&contains(t,"string",e)){o.push(r+e)}}return o}function zip(e,t){let r=[];for(let s=0;st?1:t>e?-1:0}function contains(e,t,r){return e.some((e=>e[t]===r))}function countNines(e,t){return Number(String(e).slice(0,-t)+"9".repeat(t))}function countZeros(e,t){return e-e%Math.pow(10,t)}function toQuantifier(e){let[t=0,r=""]=e;if(r||t>1){return`{${t+(r?","+r:"")}}`}return""}function toCharacterClass(e,t,r){return`[${e}${t-e===1?"":"-"}${t}]`}function hasPadding(e){return/^-?(0+)\d/.test(e)}function padZeros(e,t,r){if(!t.isPadded){return e}let s=Math.abs(t.maxLen-String(e).length);let a=r.relaxZeros!==false;switch(s){case 0:return"";case 1:return a?"0?":"0";case 2:return a?"0{0,2}":"00";default:{return a?`0{0,${s}}`:`0{${s}}`}}}toRegexRange.cache={};toRegexRange.clearCache=()=>toRegexRange.cache={};var S=toRegexRange;const isObject=e=>e!==null&&typeof e==="object"&&!Array.isArray(e);const transform=e=>t=>e===true?Number(t):String(t);const isValidValue=e=>typeof e==="number"||typeof e==="string"&&e!=="";const isNumber$1=e=>Number.isInteger(+e);const zeros=e=>{let t=`${e}`;let r=-1;if(t[0]==="-")t=t.slice(1);if(t==="0")return false;while(t[++r]==="0");return r>0};const stringify$1=(e,t,r)=>{if(typeof e==="string"||typeof t==="string"){return true}return r.stringify===true};const pad=(e,t,r)=>{if(t>0){let r=e[0]==="-"?"-":"";if(r)e=e.slice(1);e=r+e.padStart(r?t-1:t,"0")}if(r===false){return String(e)}return e};const toMaxLen=(e,t)=>{let r=e[0]==="-"?"-":"";if(r){e=e.slice(1);t--}while(e.length{e.negatives.sort(((e,t)=>et?1:0));e.positives.sort(((e,t)=>et?1:0));let r=t.capture?"":"?:";let s="";let a="";let o;if(e.positives.length){s=e.positives.join("|")}if(e.negatives.length){a=`-(${r}${e.negatives.join("|")})`}if(s&&a){o=`${s}|${a}`}else{o=s||a}if(t.wrap){return`(${r}${o})`}return o};const toRange=(e,t,r,s)=>{if(r){return S(e,t,Object.assign({wrap:false},s))}let a=String.fromCharCode(e);if(e===t)return a;let o=String.fromCharCode(t);return`[${a}-${o}]`};const toRegex=(e,t,r)=>{if(Array.isArray(e)){let t=r.wrap===true;let s=r.capture?"":"?:";return t?`(${s}${e.join("|")})`:e.join("|")}return S(e,t,r)};const rangeError=(...e)=>new RangeError("Invalid range arguments: "+u.inspect(...e));const invalidRange=(e,t,r)=>{if(r.strictRanges===true)throw rangeError([e,t]);return[]};const invalidStep=(e,t)=>{if(t.strictRanges===true){throw new TypeError(`Expected step "${e}" to be a number`)}return[]};const fillNumbers=(e,t,r=1,s={})=>{let a=Number(e);let o=Number(t);if(!Number.isInteger(a)||!Number.isInteger(o)){if(s.strictRanges===true)throw rangeError([e,t]);return[]}if(a===0)a=0;if(o===0)o=0;let u=a>o;let c=String(e);let h=String(t);let p=String(r);r=Math.max(Math.abs(r),1);let d=zeros(c)||zeros(h)||zeros(p);let v=d?Math.max(c.length,h.length,p.length):0;let m=d===false&&stringify$1(e,t,s)===false;let g=s.transform||transform(m);if(s.toRegex&&r===1){return toRange(toMaxLen(e,v),toMaxLen(t,v),true,s)}let y={negatives:[],positives:[]};let push=e=>y[e<0?"negatives":"positives"].push(Math.abs(e));let _=[];let E=0;while(u?a>=o:a<=o){if(s.toRegex===true&&r>1){push(a)}else{_.push(pad(g(a,E),v,m))}a=u?a-r:a+r;E++}if(s.toRegex===true){return r>1?toSequence(y,s):toRegex(_,null,Object.assign({wrap:false},s))}return _};const fillLetters=(e,t,r=1,s={})=>{if(!isNumber$1(e)&&e.length>1||!isNumber$1(t)&&t.length>1){return invalidRange(e,t,s)}let a=s.transform||(e=>String.fromCharCode(e));let o=`${e}`.charCodeAt(0);let u=`${t}`.charCodeAt(0);let c=o>u;let h=Math.min(o,u);let p=Math.max(o,u);if(s.toRegex&&r===1){return toRange(h,p,false,s)}let d=[];let v=0;while(c?o>=u:o<=u){d.push(a(o,v));o=c?o-r:o+r;v++}if(s.toRegex===true){return toRegex(d,null,{wrap:false,options:s})}return d};const fill=(e,t,r,s={})=>{if(t==null&&isValidValue(e)){return[e]}if(!isValidValue(e)||!isValidValue(t)){return invalidRange(e,t,s)}if(typeof r==="function"){return fill(e,t,1,{transform:r})}if(isObject(r)){return fill(e,t,0,r)}let a=Object.assign({},s);if(a.capture===true)a.wrap=true;r=r||a.step||1;if(!isNumber$1(r)){if(r!=null&&!isObject(r))return invalidStep(r,a);return fill(e,t,1,r)}if(isNumber$1(e)&&isNumber$1(t)){return fillNumbers(e,t,r,a)}return fillLetters(e,t,Math.max(Math.abs(r),1),a)};var k=fill;const compile=(e,t={})=>{let walk=(e,r={})=>{let s=m.isInvalidBrace(r);let a=e.invalid===true&&t.escapeInvalid===true;let o=s===true||a===true;let u=t.escapeInvalid===true?"\\":"";let c="";if(e.isOpen===true){return u+e.value}if(e.isClose===true){return u+e.value}if(e.type==="open"){return o?u+e.value:"("}if(e.type==="close"){return o?u+e.value:")"}if(e.type==="comma"){return e.prev.type==="comma"?"":o?e.value:"|"}if(e.value){return e.value}if(e.nodes&&e.ranges>0){let r=m.reduce(e.nodes);let s=k(...r,Object.assign({},t,{wrap:false,toRegex:true}));if(s.length!==0){return r.length>1&&s.length>1?`(${s})`:s}}if(e.nodes){for(let t of e.nodes){c+=walk(t,e)}}return c};return walk(e)};var F=compile;const append=(e="",t="",r=false)=>{let s=[];e=[].concat(e);t=[].concat(t);if(!t.length)return e;if(!e.length){return r?m.flatten(t).map((e=>`{${e}}`)):t}for(let a of e){if(Array.isArray(a)){for(let e of a){s.push(append(e,t,r))}}else{for(let e of t){if(r===true&&typeof e==="string")e=`{${e}}`;s.push(Array.isArray(e)?append(a,e,r):a+e)}}}return m.flatten(s)};const expand=(e,t={})=>{let r=t.rangeLimit===void 0?1e3:t.rangeLimit;let walk=(e,s={})=>{e.queue=[];let a=s;let o=s.queue;while(a.type!=="brace"&&a.type!=="root"&&a.parent){a=a.parent;o=a.queue}if(e.invalid||e.dollar){o.push(append(o.pop(),stringify(e,t)));return}if(e.type==="brace"&&e.invalid!==true&&e.nodes.length===2){o.push(append(o.pop(),["{}"]));return}if(e.nodes&&e.ranges>0){let s=m.reduce(e.nodes);if(m.exceedsLimit(...s,t.step,r)){throw new RangeError("expanded array length exceeds range limit. Use options.rangeLimit to increase or disable the limit.")}let a=k(...s,t);if(a.length===0){a=stringify(e,t)}o.push(append(o.pop(),a));e.nodes=[];return}let u=m.encloseBrace(e);let c=e.queue;let h=e;while(h.type!=="brace"&&h.type!=="root"&&h.parent){h=h.parent;c=h.queue}for(let t=0;t",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"};const{MAX_LENGTH:I,CHAR_BACKSLASH:B,CHAR_BACKTICK:N,CHAR_COMMA:O,CHAR_DOT:P,CHAR_LEFT_PARENTHESES:L,CHAR_RIGHT_PARENTHESES:j,CHAR_LEFT_CURLY_BRACE:M,CHAR_RIGHT_CURLY_BRACE:V,CHAR_LEFT_SQUARE_BRACKET:q,CHAR_RIGHT_SQUARE_BRACKET:U,CHAR_DOUBLE_QUOTE:$,CHAR_SINGLE_QUOTE:H,CHAR_NO_BREAK_SPACE:G,CHAR_ZERO_WIDTH_NOBREAK_SPACE:W}=T;const parse=(e,t={})=>{if(typeof e!=="string"){throw new TypeError("Expected a string")}let r=t||{};let s=typeof r.maxLength==="number"?Math.min(I,r.maxLength):I;if(e.length>s){throw new SyntaxError(`Input length (${e.length}), exceeds max characters (${s})`)}let a={type:"root",input:e,nodes:[]};let o=[a];let u=a;let c=a;let h=0;let p=e.length;let d=0;let v=0;let m;const advance=()=>e[d++];const push=e=>{if(e.type==="text"&&c.type==="dot"){c.type="text"}if(c&&c.type==="text"&&e.type==="text"){c.value+=e.value;return}u.nodes.push(e);e.parent=u;e.prev=c;c=e;return e};push({type:"bos"});while(d0){if(u.ranges>0){u.ranges=0;let e=u.nodes.shift();u.nodes=[e,{type:"text",value:stringify(u)}]}push({type:"comma",value:m});u.commas++;continue}if(m===P&&v>0&&u.commas===0){let e=u.nodes;if(v===0||e.length===0){push({type:"text",value:m});continue}if(c.type==="dot"){u.range=[];c.value+=m;c.type="range";if(u.nodes.length!==3&&u.nodes.length!==5){u.invalid=true;u.ranges=0;c.type="text";continue}u.ranges++;u.args=[];continue}if(c.type==="range"){e.pop();let t=e[e.length-1];t.value+=c.value+m;c=t;u.ranges--;continue}push({type:"dot",value:m});continue}push({type:"text",value:m})}do{u=o.pop();if(u.type!=="root"){u.nodes.forEach((e=>{if(!e.nodes){if(e.type==="open")e.isOpen=true;if(e.type==="close")e.isClose=true;if(!e.nodes)e.type="text";e.invalid=true}}));let e=o[o.length-1];let t=e.nodes.indexOf(u);e.nodes.splice(t,1,...u.nodes)}}while(o.length>0);push({type:"eos"});return a};var z=parse;const braces=(e,t={})=>{let r=[];if(Array.isArray(e)){for(let s of e){let e=braces.create(s,t);if(Array.isArray(e)){r.push(...e)}else{r.push(e)}}}else{r=[].concat(braces.create(e,t))}if(t&&t.expand===true&&t.nodupes===true){r=[...new Set(r)]}return r};braces.parse=(e,t={})=>z(e,t);braces.stringify=(e,t={})=>{if(typeof e==="string"){return stringify(braces.parse(e,t),t)}return stringify(e,t)};braces.compile=(e,t={})=>{if(typeof e==="string"){e=braces.parse(e,t)}return F(e,t)};braces.expand=(e,t={})=>{if(typeof e==="string"){e=braces.parse(e,t)}let r=R(e,t);if(t.noempty===true){r=r.filter(Boolean)}if(t.nodupes===true){r=[...new Set(r)]}return r};braces.create=(e,t={})=>{if(e===""||e.length<3){return[e]}return t.expand!==true?braces.compile(e,t):braces.expand(e,t)};var K=braces;const Q="\\\\/";const X=`[^${Q}]`;const J="\\.";const Z="\\+";const Y="\\?";const ee="\\/";const te="(?=.)";const re="[^/]";const ie=`(?:${ee}|$)`;const ne=`(?:^|${ee})`;const se=`${J}{1,2}${ie}`;const ae=`(?!${J})`;const oe=`(?!${ne}${se})`;const ue=`(?!${J}{0,1}${ie})`;const le=`(?!${se})`;const ce=`[^.${ee}]`;const fe=`${re}*?`;const he={DOT_LITERAL:J,PLUS_LITERAL:Z,QMARK_LITERAL:Y,SLASH_LITERAL:ee,ONE_CHAR:te,QMARK:re,END_ANCHOR:ie,DOTS_SLASH:se,NO_DOT:ae,NO_DOTS:oe,NO_DOT_SLASH:ue,NO_DOTS_SLASH:le,QMARK_NO_DOT:ce,STAR:fe,START_ANCHOR:ne};const pe=Object.assign({},he,{SLASH_LITERAL:`[${Q}]`,QMARK:X,STAR:`${X}*?`,DOTS_SLASH:`${J}{1,2}(?:[${Q}]|$)`,NO_DOT:`(?!${J})`,NO_DOTS:`(?!(?:^|[${Q}])${J}{1,2}(?:[${Q}]|$))`,NO_DOT_SLASH:`(?!${J}{0,1}(?:[${Q}]|$))`,NO_DOTS_SLASH:`(?!${J}{1,2}(?:[${Q}]|$))`,QMARK_NO_DOT:`[^.${Q}]`,START_ANCHOR:`(?:^|[${Q}])`,END_ANCHOR:`(?:[${Q}]|$)`});const de={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 ve={MAX_LENGTH:1024*64,POSIX_REGEX_SOURCE:de,REGEX_BACKSLASH:/\\(?![*+?^${}(|)[\]])/g,REGEX_NON_SPECIAL_CHAR:/^[^@![\].,$*+?^{}()|\\/]+/,REGEX_SPECIAL_CHARS:/[-*+?.^${}(|)[\]]/,REGEX_SPECIAL_CHARS_BACKREF:/(\\?)((\W)(\3*))/g,REGEX_SPECIAL_CHARS_GLOBAL:/([-*+?.^${}(|)[\]])/g,REGEX_REMOVE_BACKSLASH:/(?:\[.*?[^\\]\]|\\(?=.))/g,REPLACEMENTS:{"***":"*","**/**":"**","**/**/**":"**"},CHAR_0:48,CHAR_9:57,CHAR_UPPERCASE_A:65,CHAR_LOWERCASE_A:97,CHAR_UPPERCASE_Z:90,CHAR_LOWERCASE_Z:122,CHAR_LEFT_PARENTHESES:40,CHAR_RIGHT_PARENTHESES:41,CHAR_ASTERISK:42,CHAR_AMPERSAND:38,CHAR_AT:64,CHAR_BACKWARD_SLASH:92,CHAR_CARRIAGE_RETURN:13,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,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,CHAR_NO_BREAK_SPACE:160,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,CHAR_UNDERSCORE:95,CHAR_VERTICAL_LINE:124,CHAR_ZERO_WIDTH_NOBREAK_SPACE:65279,SEP:a.sep,extglobChars(e){return{"!":{type:"negate",open:"(?:(?!(?:",close:`))${e.STAR})`},"?":{type:"qmark",open:"(?:",close:")?"},"+":{type:"plus",open:"(?:",close:")+"},"*":{type:"star",open:"(?:",close:")*"},"@":{type:"at",open:"(?:",close:")"}}},globChars(e){return e===true?pe:he}};var me=createCommonjsModule((function(e,t){const r=process.platform==="win32";const{REGEX_SPECIAL_CHARS:s,REGEX_SPECIAL_CHARS_GLOBAL:o,REGEX_REMOVE_BACKSLASH:u}=ve;t.isObject=e=>e!==null&&typeof e==="object"&&!Array.isArray(e);t.hasRegexChars=e=>s.test(e);t.isRegexChar=e=>e.length===1&&t.hasRegexChars(e);t.escapeRegex=e=>e.replace(o,"\\$1");t.toPosixSlashes=e=>e.replace(/\\/g,"/");t.removeBackslashes=e=>e.replace(u,(e=>e==="\\"?"":e));t.supportsLookbehinds=()=>{let e=process.version.slice(1).split(".");if(e.length===3&&+e[0]>=9||+e[0]===8&&+e[1]>=10){return true}return false};t.isWindows=e=>{if(e&&typeof e.windows==="boolean"){return e.windows}return r===true||a.sep==="\\"};t.escapeLast=(e,r,s)=>{let a=e.lastIndexOf(r,s);if(a===-1)return e;if(e[a-1]==="\\")return t.escapeLast(e,r,a-1);return e.slice(0,a)+"\\"+e.slice(a)}}));var ge=me.isObject;var be=me.hasRegexChars;var ye=me.isRegexChar;var _e=me.escapeRegex;var Ee=me.toPosixSlashes;var xe=me.removeBackslashes;var we=me.supportsLookbehinds;var De=me.isWindows;var Ce=me.escapeLast;const{CHAR_ASTERISK:Ae,CHAR_AT:Se,CHAR_BACKWARD_SLASH:ke,CHAR_COMMA:Fe,CHAR_DOT:Re,CHAR_EXCLAMATION_MARK:Te,CHAR_FORWARD_SLASH:Ie,CHAR_LEFT_CURLY_BRACE:Be,CHAR_LEFT_PARENTHESES:Ne,CHAR_LEFT_SQUARE_BRACKET:Oe,CHAR_PLUS:Pe,CHAR_QUESTION_MARK:Le,CHAR_RIGHT_CURLY_BRACE:je,CHAR_RIGHT_PARENTHESES:Me,CHAR_RIGHT_SQUARE_BRACKET:Ve}=ve;const isPathSeparator=e=>e===Ie||e===ke;var scan=(e,t)=>{let r=t||{};let s=e.length-1;let a=-1;let o=0;let u=0;let c=false;let h=false;let p=false;let d=0;let v;let m;let g=false;let eos=()=>a>=s;let advance=()=>{v=m;return e.charCodeAt(++a)};while(a0){y=e.slice(0,o);e=e.slice(o);u-=o}if(E&&c===true&&u>0){E=e.slice(0,u);x=e.slice(u)}else if(c===true){E="";x=e}else{E=e}if(E&&E!==""&&E!=="/"&&E!==e){if(isPathSeparator(E.charCodeAt(E.length-1))){E=E.slice(0,-1)}}if(r.unescape===true){if(x)x=me.removeBackslashes(x);if(E&&h===true){E=me.removeBackslashes(E)}}return{prefix:y,input:_,base:E,glob:x,negated:p,isGlob:c}};const{MAX_LENGTH:qe,POSIX_REGEX_SOURCE:Ue,REGEX_NON_SPECIAL_CHAR:$e,REGEX_SPECIAL_CHARS_BACKREF:He,REPLACEMENTS:Ge}=ve;const expandRange=(e,t)=>{if(typeof t.expandRange==="function"){return t.expandRange(...e,t)}e.sort();let r=`[${e.join("-")}]`;try{}catch(t){return e.map((e=>me.escapeRegex(e))).join("..")}return r};const negate=e=>{let t=1;while(e.peek()==="!"&&(e.peek(2)!=="("||e.peek(3)==="?")){e.advance();e.start++;t++}if(t%2===0){return false}e.negated=true;e.start++;return true};const syntaxError=(e,t)=>`Missing ${e}: "${t}" - use "\\\\${t}" to match literal characters`;const parse$1=(e,t)=>{if(typeof e!=="string"){throw new TypeError("Expected a string")}e=Ge[e]||e;let r=Object.assign({},t);let s=typeof r.maxLength==="number"?Math.min(qe,r.maxLength):qe;let a=e.length;if(a>s){throw new SyntaxError(`Input length: ${a}, exceeds maximum allowed length: ${s}`)}let o={type:"bos",value:"",output:r.prepend||""};let u=[o];let c=r.capture?"":"?:";let h=me.isWindows(t);const p=ve.globChars(h);const d=ve.extglobChars(p);const{DOT_LITERAL:v,PLUS_LITERAL:m,SLASH_LITERAL:g,ONE_CHAR:y,DOTS_SLASH:_,NO_DOT:E,NO_DOT_SLASH:x,NO_DOTS_SLASH:w,QMARK:D,QMARK_NO_DOT:C,STAR:A,START_ANCHOR:S}=p;const globstar=e=>`(${c}(?:(?!${S}${e.dot?_:v}).)*?)`;let k=r.dot?"":E;let F=r.bash===true?globstar(r):A;let R=r.dot?D:C;if(r.capture){F=`(${F})`}if(typeof r.noext==="boolean"){r.noextglob=r.noext}let T={index:-1,start:0,consumed:"",output:"",backtrack:false,brackets:0,braces:0,parens:0,quotes:0,tokens:u};let I=[];let B=[];let N=o;let O;const eos=()=>T.index===a-1;const P=T.peek=(t=1)=>e[T.index+t];const L=T.advance=()=>e[++T.index];const append=e=>{T.output+=e.output!=null?e.output:e.value;T.consumed+=e.value||""};const increment=e=>{T[e]++;B.push(e)};const decrement=e=>{T[e]--;B.pop()};const push=e=>{if(N.type==="globstar"){let t=T.braces>0&&(e.type==="comma"||e.type==="brace");let r=I.length&&(e.type==="pipe"||e.type==="paren");if(e.type!=="slash"&&e.type!=="paren"&&!t&&!r){T.output=T.output.slice(0,-N.output.length);N.type="star";N.value="*";N.output=F;T.output+=N.output}}if(I.length&&e.type!=="paren"&&!d[e.value]){I[I.length-1].inner+=e.value}if(e.value||e.output)append(e);if(N&&N.type==="text"&&e.type==="text"){N.value+=e.value;return}e.prev=N;u.push(e);N=e};const extglobOpen=(e,t)=>{let s=Object.assign({},d[t],{conditions:1,inner:""});s.prev=N;s.parens=T.parens;s.output=T.output;let a=(r.capture?"(":"")+s.open;push({type:e,value:t,output:T.output?"":y});push({type:"paren",extglob:true,value:L(),output:a});increment("parens");I.push(s)};const extglobClose=t=>{let s=t.close+(r.capture?")":"");if(t.type==="negate"){let a=F;if(t.inner&&t.inner.length>1&&t.inner.includes("/")){a=globstar(r)}if(a!==F||eos()||/^\)+$/.test(e.slice(T.index+1))){s=t.close=")$))"+a}if(t.prev.type==="bos"&&eos()){T.negatedExtglob=true}}push({type:"paren",extglob:true,value:O,output:s});decrement("parens")};if(r.fastpaths!==false&&!/(^[*!]|[/{[()\]}"])/.test(e)){let t=false;let s=e.replace(He,((e,r,s,a,o,u)=>{if(a==="\\"){t=true;return e}if(a==="?"){if(r){return r+a+(o?D.repeat(o.length):"")}if(u===0){return R+(o?D.repeat(o.length):"")}return D.repeat(s.length)}if(a==="."){return v.repeat(s.length)}if(a==="*"){if(r){return r+a+(o?F:"")}return F}return r?e:"\\"+e}));if(t===true){if(r.unescape===true){s=s.replace(/\\/g,"")}else{s=s.replace(/\\+/g,(e=>e.length%2===0?"\\\\":e?"\\":""))}}T.output=s;return T}while(!eos()){O=L();if(O==="\0"){continue}if(O==="\\"){let t=P();if(t==="/"&&r.bash!==true){continue}if(t==="."||t===";"){continue}if(!t){O+="\\";push({type:"text",value:O});continue}let s=/^\\+/.exec(e.slice(T.index+1));let a=0;if(s&&s[0].length>2){a=s[0].length;T.index+=a;if(a%2!==0){O+="\\"}}if(r.unescape===true){O=L()||""}else{O+=L()||""}if(T.brackets===0){push({type:"text",value:O});continue}}if(T.brackets>0&&(O!=="]"||N.value==="["||N.value==="[^")){if(r.posix!==false&&O===":"){let e=N.value.slice(1);if(e.includes("[")){N.posix=true;if(e.includes(":")){let e=N.value.lastIndexOf("[");let t=N.value.slice(0,e);let r=N.value.slice(e+2);let s=Ue[r];if(s){N.value=t+s;T.backtrack=true;L();if(!o.output&&u.indexOf(N)===1){o.output=y}continue}}}}if(O==="["&&P()!==":"||O==="-"&&P()==="]"){O="\\"+O}if(O==="]"&&(N.value==="["||N.value==="[^")){O="\\"+O}if(r.posix===true&&O==="!"&&N.value==="["){O="^"}N.value+=O;append({value:O});continue}if(T.quotes===1&&O!=='"'){O=me.escapeRegex(O);N.value+=O;append({value:O});continue}if(O==='"'){T.quotes=T.quotes===1?0:1;if(r.keepQuotes===true){push({type:"text",value:O})}continue}if(O==="("){push({type:"paren",value:O});increment("parens");continue}if(O===")"){if(T.parens===0&&r.strictBrackets===true){throw new SyntaxError(syntaxError("opening","("))}let e=I[I.length-1];if(e&&T.parens===e.parens+1){extglobClose(I.pop());continue}push({type:"paren",value:O,output:T.parens?")":"\\)"});decrement("parens");continue}if(O==="["){if(r.nobracket===true||!e.slice(T.index+1).includes("]")){if(r.nobracket!==true&&r.strictBrackets===true){throw new SyntaxError(syntaxError("closing","]"))}O="\\"+O}else{increment("brackets")}push({type:"bracket",value:O});continue}if(O==="]"){if(r.nobracket===true||N&&N.type==="bracket"&&N.value.length===1){push({type:"text",value:O,output:"\\"+O});continue}if(T.brackets===0){if(r.strictBrackets===true){throw new SyntaxError(syntaxError("opening","["))}push({type:"text",value:O,output:"\\"+O});continue}decrement("brackets");let e=N.value.slice(1);if(N.posix!==true&&e[0]==="^"&&!e.includes("/")){O="/"+O}N.value+=O;append({value:O});if(r.literalBrackets===false||me.hasRegexChars(e)){continue}let t=me.escapeRegex(N.value);T.output=T.output.slice(0,-N.value.length);if(r.literalBrackets===true){T.output+=t;N.value=t;continue}N.value=`(${c}${t}|${N.value})`;T.output+=N.value;continue}if(O==="{"&&r.nobrace!==true){push({type:"brace",value:O,output:"("});increment("braces");continue}if(O==="}"){if(r.nobrace===true||T.braces===0){push({type:"text",value:O,output:"\\"+O});continue}let e=")";if(T.dots===true){let t=u.slice();let s=[];for(let e=t.length-1;e>=0;e--){u.pop();if(t[e].type==="brace"){break}if(t[e].type!=="dots"){s.unshift(t[e].value)}}e=expandRange(s,r);T.backtrack=true}push({type:"brace",value:O,output:e});decrement("braces");continue}if(O==="|"){if(I.length>0){I[I.length-1].conditions++}push({type:"text",value:O});continue}if(O===","){let e=O;if(T.braces>0&&B[B.length-1]==="braces"){e="|"}push({type:"comma",value:O,output:e});continue}if(O==="/"){if(N.type==="dot"&&T.index===1){T.start=T.index+1;T.consumed="";T.output="";u.pop();N=o;continue}push({type:"slash",value:O,output:g});continue}if(O==="."){if(T.braces>0&&N.type==="dot"){if(N.value===".")N.output=v;N.type="dots";N.output+=O;N.value+=O;T.dots=true;continue}push({type:"dot",value:O,output:v});continue}if(O==="?"){if(N&&N.type==="paren"){let e=P();let t=O;if(e==="<"&&!me.supportsLookbehinds()){throw new Error("Node.js v10 or higher is required for regex lookbehinds")}if(N.value==="("&&!/[!=<:]/.test(e)||e==="<"&&!/[!=]/.test(P(2))){t="\\"+O}push({type:"text",value:O,output:t});continue}if(r.noextglob!==true&&P()==="("&&P(2)!=="?"){extglobOpen("qmark",O);continue}if(r.dot!==true&&(N.type==="slash"||N.type==="bos")){push({type:"qmark",value:O,output:C});continue}push({type:"qmark",value:O,output:D});continue}if(O==="!"){if(r.noextglob!==true&&P()==="("){if(P(2)!=="?"||!/[!=<:]/.test(P(3))){extglobOpen("negate",O);continue}}if(r.nonegate!==true&&T.index===0){negate(T);continue}}if(O==="+"){if(r.noextglob!==true&&P()==="("&&P(2)!=="?"){extglobOpen("plus",O);continue}if(N&&(N.type==="bracket"||N.type==="paren"||N.type==="brace")){let e=N.extglob===true?"\\"+O:O;push({type:"plus",value:O,output:e});continue}if(T.parens>0&&r.regex!==false){push({type:"plus",value:O});continue}push({type:"plus",value:m});continue}if(O==="@"){if(r.noextglob!==true&&P()==="("&&P(2)!=="?"){push({type:"at",value:O,output:""});continue}push({type:"text",value:O});continue}if(O!=="*"){if(O==="$"||O==="^"){O="\\"+O}let t=$e.exec(e.slice(T.index+1));if(t){O+=t[0];T.index+=t[0].length}push({type:"text",value:O});continue}if(N&&(N.type==="globstar"||N.star===true)){N.type="star";N.star=true;N.value+=O;N.output=F;T.backtrack=true;T.consumed+=O;continue}if(r.noextglob!==true&&P()==="("&&P(2)!=="?"){extglobOpen("star",O);continue}if(N.type==="star"){if(r.noglobstar===true){T.consumed+=O;continue}let t=N.prev;let s=t.prev;let a=t.type==="slash"||t.type==="bos";let o=s&&(s.type==="star"||s.type==="globstar");if(r.bash===true&&(!a||!eos()&&P()!=="/")){push({type:"star",value:O,output:""});continue}let u=T.braces>0&&(t.type==="comma"||t.type==="brace");let c=I.length&&(t.type==="pipe"||t.type==="paren");if(!a&&t.type!=="paren"&&!u&&!c){push({type:"star",value:O,output:""});continue}while(e.slice(T.index+1,T.index+4)==="/**"){let t=e[T.index+4];if(t&&t!=="/"){break}T.consumed+="/**";T.index+=3}if(t.type==="bos"&&eos()){N.type="globstar";N.value+=O;N.output=globstar(r);T.output=N.output;T.consumed+=O;continue}if(t.type==="slash"&&t.prev.type!=="bos"&&!o&&eos()){T.output=T.output.slice(0,-(t.output+N.output).length);t.output="(?:"+t.output;N.type="globstar";N.output=globstar(r)+"|$)";N.value+=O;T.output+=t.output+N.output;T.consumed+=O;continue}let h=P();if(t.type==="slash"&&t.prev.type!=="bos"&&h==="/"){let e=P(2)!==void 0?"|$":"";T.output=T.output.slice(0,-(t.output+N.output).length);t.output="(?:"+t.output;N.type="globstar";N.output=`${globstar(r)}${g}|${g}${e})`;N.value+=O;T.output+=t.output+N.output;T.consumed+=O+L();push({type:"slash",value:O,output:""});continue}if(t.type==="bos"&&h==="/"){N.type="globstar";N.value+=O;N.output=`(?:^|${g}|${globstar(r)}${g})`;T.output=N.output;T.consumed+=O+L();push({type:"slash",value:O,output:""});continue}T.output=T.output.slice(0,-N.output.length);N.type="globstar";N.output=globstar(r);N.value+=O;T.output+=N.output;T.consumed+=O;continue}let t={type:"star",value:O,output:F};if(r.bash===true){t.output=".*?";if(N.type==="bos"||N.type==="slash"){t.output=k+t.output}push(t);continue}if(N&&(N.type==="bracket"||N.type==="paren")&&r.regex===true){t.output=O;push(t);continue}if(T.index===T.start||N.type==="slash"||N.type==="dot"){if(N.type==="dot"){T.output+=x;N.output+=x}else if(r.dot===true){T.output+=w;N.output+=w}else{T.output+=k;N.output+=k}if(P()!=="*"){T.output+=y;N.output+=y}}push(t)}while(T.brackets>0){if(r.strictBrackets===true)throw new SyntaxError(syntaxError("closing","]"));T.output=me.escapeLast(T.output,"[");decrement("brackets")}while(T.parens>0){if(r.strictBrackets===true)throw new SyntaxError(syntaxError("closing",")"));T.output=me.escapeLast(T.output,"(");decrement("parens")}while(T.braces>0){if(r.strictBrackets===true)throw new SyntaxError(syntaxError("closing","}"));T.output=me.escapeLast(T.output,"{");decrement("braces")}if(r.strictSlashes!==true&&(N.type==="star"||N.type==="bracket")){push({type:"maybe_slash",value:"",output:`${g}?`})}if(T.backtrack===true){T.output="";for(let e of T.tokens){T.output+=e.output!=null?e.output:e.value;if(e.suffix){T.output+=e.suffix}}}return T};parse$1.fastpaths=(e,t)=>{let r=Object.assign({},t);let s=typeof r.maxLength==="number"?Math.min(qe,r.maxLength):qe;let a=e.length;if(a>s){throw new SyntaxError(`Input length: ${a}, exceeds maximum allowed length: ${s}`)}e=Ge[e]||e;let o=me.isWindows(t);const{DOT_LITERAL:u,SLASH_LITERAL:c,ONE_CHAR:h,DOTS_SLASH:p,NO_DOT:d,NO_DOTS:v,NO_DOTS_SLASH:m,STAR:g,START_ANCHOR:y}=ve.globChars(o);let _=r.capture?"":"?:";let E=r.bash===true?".*?":g;let x=r.dot?v:d;let w=r.dot?m:d;if(r.capture){E=`(${E})`}const globstar=e=>`(${_}(?:(?!${y}${e.dot?p:u}).)*?)`;const create=e=>{switch(e){case"*":return`${x}${h}${E}`;case".*":return`${u}${h}${E}`;case"*.*":return`${x}${E}${u}${h}${E}`;case"*/*":return`${x}${E}${c}${h}${w}${E}`;case"**":return x+globstar(r);case"**/*":return`(?:${x}${globstar(r)}${c})?${w}${h}${E}`;case"**/*.*":return`(?:${x}${globstar(r)}${c})?${w}${E}${u}${h}${E}`;case"**/.*":return`(?:${x}${globstar(r)}${c})?${u}${h}${E}`;default:{let r=/^(.*?)\.(\w+)$/.exec(e);if(!r)return;let s=create(r[1],t);if(!s)return;return s+u+r[2]}}};let D=create(e);if(D&&r.strictSlashes!==true){D+=`${c}?`}return D};var We=parse$1;const picomatch=(e,t,r=false)=>{if(Array.isArray(e)){let s=e.map((e=>picomatch(e,t,r)));return e=>{for(let t of s){let r=t(e);if(r)return r}return false}}if(typeof e!=="string"||e===""){throw new TypeError("Expected pattern to be a non-empty string")}let s=t||{};let a=me.isWindows(t);let o=picomatch.makeRe(e,t,false,true);let u=o.state;delete o.state;let isIgnored=()=>false;if(s.ignore){let e=Object.assign({},t,{ignore:null,onMatch:null,onResult:null});isIgnored=picomatch(s.ignore,e,r)}const matcher=(r,c=false)=>{let{isMatch:h,match:p,output:d}=picomatch.test(r,o,t,{glob:e,posix:a});let v={glob:e,state:u,regex:o,posix:a,input:r,output:d,match:p,isMatch:h};if(typeof s.onResult==="function"){s.onResult(v)}if(h===false){v.isMatch=false;return c?v:false}if(isIgnored(r)){if(typeof s.onIgnore==="function"){s.onIgnore(v)}v.isMatch=false;return c?v:false}if(typeof s.onMatch==="function"){s.onMatch(v)}return c?v:true};if(r){matcher.state=u}return matcher};picomatch.test=(e,t,r,{glob:s,posix:a}={})=>{if(typeof e!=="string"){throw new TypeError("Expected input to be a string")}if(e===""){return{isMatch:false,output:""}}let o=r||{};let u=o.format||(a?me.toPosixSlashes:null);let c=e===s;let h=c&&u?u(e):e;if(c===false){h=u?u(e):e;c=h===s}if(c===false||o.capture===true){if(o.matchBase===true||o.basename===true){c=picomatch.matchBase(e,t,r,a)}else{c=t.exec(h)}}return{isMatch:!!c,match:c,output:h}};picomatch.matchBase=(e,t,r,s=me.isWindows(r))=>{let o=t instanceof RegExp?t:picomatch.makeRe(t,r);return o.test(a.basename(e))};picomatch.isMatch=(e,t,r)=>picomatch(t,r)(e);picomatch.parse=(e,t)=>We(e,t);picomatch.scan=(e,t)=>scan(e,t);picomatch.makeRe=(e,t,r=false,s=false)=>{if(!e||typeof e!=="string"){throw new TypeError("Expected a non-empty string")}let a=t||{};let o=a.contains?"":"^";let u=a.contains?"":"$";let c={negated:false,fastpaths:true};let h="";let p;if(e.startsWith("./")){e=e.slice(2);h=c.prefix="./"}if(a.fastpaths!==false&&(e[0]==="."||e[0]==="*")){p=We.fastpaths(e,t)}if(p===void 0){c=picomatch.parse(e,t);c.prefix=h+(c.prefix||"");p=c.output}if(r===true){return p}let d=`${o}(?:${p})${u}`;if(c&&c.negated===true){d=`^(?!${d}).*$`}let v=picomatch.toRegex(d,t);if(s===true){v.state=c}return v};picomatch.toRegex=(e,t)=>{try{let r=t||{};return new RegExp(e,r.flags||(r.nocase?"i":""))}catch(e){if(t&&t.debug===true)throw e;return/$^/}};picomatch.constants=ve;var ze=picomatch;var Ke=ze;const isEmptyString=e=>typeof e==="string"&&(e===""||e==="./");const micromatch=(e,t,r)=>{t=[].concat(t);e=[].concat(e);let s=new Set;let a=new Set;let o=new Set;let u=0;let onResult=e=>{o.add(e.output);if(r&&r.onResult){r.onResult(e)}};for(let o=0;o!s.has(e)));if(r&&h.length===0){if(r.failglob===true){throw new Error(`No matches found for "${t.join(", ")}"`)}if(r.nonull===true||r.nullglob===true){return r.unescape?t.map((e=>e.replace(/\\/g,""))):t}}return h};micromatch.match=micromatch;micromatch.matcher=(e,t)=>Ke(e,t);micromatch.isMatch=(e,t,r)=>Ke(t,r)(e);micromatch.any=micromatch.isMatch;micromatch.not=(e,t,r={})=>{t=[].concat(t).map(String);let s=new Set;let a=[];let onResult=e=>{if(r.onResult)r.onResult(e);a.push(e.output)};let o=micromatch(e,t,Object.assign({},r,{onResult:onResult}));for(let e of a){if(!o.includes(e)){s.add(e)}}return[...s]};micromatch.contains=(e,t,r)=>{if(typeof e!=="string"){throw new TypeError(`Expected a string: "${u.inspect(e)}"`)}if(Array.isArray(t)){return t.some((t=>micromatch.contains(e,t,r)))}if(typeof t==="string"){if(isEmptyString(e)||isEmptyString(t)){return false}if(e.includes(t)||e.startsWith("./")&&e.slice(2).includes(t)){return true}}return micromatch.isMatch(e,t,Object.assign({},r,{contains:true}))};micromatch.matchKeys=(e,t,r)=>{if(!me.isObject(e)){throw new TypeError("Expected the first argument to be an object")}let s=micromatch(Object.keys(e),t,r);let a={};for(let t of s)a[t]=e[t];return a};micromatch.some=(e,t,r)=>{let s=[].concat(e);for(let e of[].concat(t)){let t=Ke(String(e),r);if(s.some((e=>t(e)))){return true}}return false};micromatch.every=(e,t,r)=>{let s=[].concat(e);for(let e of[].concat(t)){let t=Ke(String(e),r);if(!s.every((e=>t(e)))){return false}}return true};micromatch.all=(e,t,r)=>{if(typeof e!=="string"){throw new TypeError(`Expected a string: "${u.inspect(e)}"`)}return[].concat(t).every((t=>Ke(t,r)(e)))};micromatch.capture=(e,t,r)=>{let s=me.isWindows(r);let a=Ke.makeRe(String(e),Object.assign({},r,{capture:true}));let o=a.exec(s?me.toPosixSlashes(t):t);if(o){return o.slice(1).map((e=>e===void 0?"":e))}};micromatch.makeRe=(...e)=>Ke.makeRe(...e);micromatch.scan=(...e)=>Ke.scan(...e);micromatch.parse=(e,t)=>{let r=[];for(let s of[].concat(e||[])){for(let e of K(String(s),t)){r.push(Ke.parse(e,t))}}return r};micromatch.braces=(e,t)=>{if(typeof e!=="string")throw new TypeError("Expected a string");if(t&&t.nobrace===true||!/\{.*\}/.test(e)){return[e]}return K(e,t)};micromatch.braceExpand=(e,t)=>{if(typeof e!=="string")throw new TypeError("Expected a string");return micromatch.braces(e,Object.assign({},t,{expand:true}))};var Qe=micromatch;function ensureArray(e){if(Array.isArray(e))return e;if(e==undefined)return[];return[e]}function getMatcherString(e,t){if(t===false){return e}return s.resolve(...typeof t==="string"?[t,e]:[e])}const Xe=function createFilter(e,t,r){const a=r&&r.resolve;const getMatcher=e=>e instanceof RegExp?e:{test:Qe.matcher(getMatcherString(e,a).split(s.sep).join("/"),{dot:true})};const o=ensureArray(e).map(getMatcher);const u=ensureArray(t).map(getMatcher);return function(e){if(typeof e!=="string")return false;if(/\0/.test(e))return false;e=e.split(s.sep).join("/");for(let t=0;tt.toUpperCase())).replace(/[^$_a-zA-Z0-9]/g,"_");if(/\d/.test(e[0])||Ye.has(e)){e=`_${e}`}return e||"_"};function stringify$2(e){return(JSON.stringify(e)||"undefined").replace(/[\u2028\u2029]/g,(e=>`\\u${("000"+e.charCodeAt(0).toString(16)).slice(-4)}`))}function serializeArray(e,t,r){let s="[";const a=t?"\n"+r+t:"";for(let o=0;o0?",":""}${a}${serialize(u,t,r+t)}`}return s+`${t?"\n"+r:""}]`}function serializeObject(e,t,r){let s="{";const a=t?"\n"+r+t:"";const o=Object.keys(e);for(let u=0;u0?",":""}${a}${h}:${t?" ":""}${serialize(e[c],t,r+t)}`}return s+`${t?"\n"+r:""}}`}function serialize(e,t,r){if(e===Infinity)return"Infinity";if(e===-Infinity)return"-Infinity";if(e===0&&1/e===-Infinity)return"-0";if(e instanceof Date)return"new Date("+e.getTime()+")";if(e instanceof RegExp)return e.toString();if(e!==e)return"NaN";if(Array.isArray(e))return serializeArray(e,t,r);if(e===null)return"null";if(typeof e==="object")return serializeObject(e,t,r);return stringify$2(e)}const tt=function dataToEsm(e,t={}){const r=t.compact?"":"indent"in t?t.indent:"\t";const s=t.compact?"":" ";const a=t.compact?"":"\n";const o=t.preferConst?"const":"var";if(t.namedExports===false||typeof e!=="object"||Array.isArray(e)||e instanceof Date||e instanceof RegExp||e===null){const a=serialize(e,t.compact?null:r,"");const o=s||(/^[{[\-\/]/.test(a)?"":" ");return`export default${o}${a};`}let u="";const c=[];const h=Object.keys(e);for(let p=0;p{var s=r(4293);var a=s.Buffer;function copyProps(e,t){for(var r in e){t[r]=e[r]}}if(a.from&&a.alloc&&a.allocUnsafe&&a.allocUnsafeSlow){e.exports=s}else{copyProps(s,t);t.Buffer=SafeBuffer}function SafeBuffer(e,t,r){return a(e,t,r)}copyProps(a,SafeBuffer);SafeBuffer.from=function(e,t,r){if(typeof e==="number"){throw new TypeError("Argument must not be a number")}return a(e,t,r)};SafeBuffer.alloc=function(e,t,r){if(typeof e!=="number"){throw new TypeError("Argument must be a number")}var s=a(e);if(t!==undefined){if(typeof r==="string"){s.fill(t,r)}else{s.fill(t)}}else{s.fill(0)}return s};SafeBuffer.allocUnsafe=function(e){if(typeof e!=="number"){throw new TypeError("Argument must be a number")}return a(e)};SafeBuffer.allocUnsafeSlow=function(e){if(typeof e!=="number"){throw new TypeError("Argument must be a number")}return s.SlowBuffer(e)}},5911:(e,t)=>{t=e.exports=SemVer;var r;if(typeof process==="object"&&process.env&&process.env.NODE_DEBUG&&/\bsemver\b/i.test(process.env.NODE_DEBUG)){r=function(){var e=Array.prototype.slice.call(arguments,0);e.unshift("SEMVER");console.log.apply(console,e)}}else{r=function(){}}t.SEMVER_SPEC_VERSION="2.0.0";var s=256;var a=Number.MAX_SAFE_INTEGER||9007199254740991;var o=16;var u=t.re=[];var c=t.src=[];var h=0;var p=h++;c[p]="0|[1-9]\\d*";var d=h++;c[d]="[0-9]+";var v=h++;c[v]="\\d*[a-zA-Z-][a-zA-Z0-9-]*";var m=h++;c[m]="("+c[p]+")\\."+"("+c[p]+")\\."+"("+c[p]+")";var g=h++;c[g]="("+c[d]+")\\."+"("+c[d]+")\\."+"("+c[d]+")";var y=h++;c[y]="(?:"+c[p]+"|"+c[v]+")";var _=h++;c[_]="(?:"+c[d]+"|"+c[v]+")";var E=h++;c[E]="(?:-("+c[y]+"(?:\\."+c[y]+")*))";var x=h++;c[x]="(?:-?("+c[_]+"(?:\\."+c[_]+")*))";var w=h++;c[w]="[0-9A-Za-z-]+";var D=h++;c[D]="(?:\\+("+c[w]+"(?:\\."+c[w]+")*))";var C=h++;var A="v?"+c[m]+c[E]+"?"+c[D]+"?";c[C]="^"+A+"$";var S="[v=\\s]*"+c[g]+c[x]+"?"+c[D]+"?";var k=h++;c[k]="^"+S+"$";var F=h++;c[F]="((?:<|>)?=?)";var R=h++;c[R]=c[d]+"|x|X|\\*";var T=h++;c[T]=c[p]+"|x|X|\\*";var I=h++;c[I]="[v=\\s]*("+c[T]+")"+"(?:\\.("+c[T]+")"+"(?:\\.("+c[T]+")"+"(?:"+c[E]+")?"+c[D]+"?"+")?)?";var B=h++;c[B]="[v=\\s]*("+c[R]+")"+"(?:\\.("+c[R]+")"+"(?:\\.("+c[R]+")"+"(?:"+c[x]+")?"+c[D]+"?"+")?)?";var N=h++;c[N]="^"+c[F]+"\\s*"+c[I]+"$";var O=h++;c[O]="^"+c[F]+"\\s*"+c[B]+"$";var P=h++;c[P]="(?:^|[^\\d])"+"(\\d{1,"+o+"})"+"(?:\\.(\\d{1,"+o+"}))?"+"(?:\\.(\\d{1,"+o+"}))?"+"(?:$|[^\\d])";var L=h++;c[L]="(?:~>?)";var j=h++;c[j]="(\\s*)"+c[L]+"\\s+";u[j]=new RegExp(c[j],"g");var M="$1~";var V=h++;c[V]="^"+c[L]+c[I]+"$";var q=h++;c[q]="^"+c[L]+c[B]+"$";var U=h++;c[U]="(?:\\^)";var $=h++;c[$]="(\\s*)"+c[U]+"\\s+";u[$]=new RegExp(c[$],"g");var H="$1^";var G=h++;c[G]="^"+c[U]+c[I]+"$";var W=h++;c[W]="^"+c[U]+c[B]+"$";var z=h++;c[z]="^"+c[F]+"\\s*("+S+")$|^$";var K=h++;c[K]="^"+c[F]+"\\s*("+A+")$|^$";var Q=h++;c[Q]="(\\s*)"+c[F]+"\\s*("+S+"|"+c[I]+")";u[Q]=new RegExp(c[Q],"g");var X="$1$2$3";var J=h++;c[J]="^\\s*("+c[I]+")"+"\\s+-\\s+"+"("+c[I]+")"+"\\s*$";var Z=h++;c[Z]="^\\s*("+c[B]+")"+"\\s+-\\s+"+"("+c[B]+")"+"\\s*$";var Y=h++;c[Y]="(<|>)?=?\\s*\\*";for(var ee=0;ees){return null}var r=t.loose?u[k]:u[C];if(!r.test(e)){return null}try{return new SemVer(e,t)}catch(e){return null}}t.valid=valid;function valid(e,t){var r=parse(e,t);return r?r.version:null}t.clean=clean;function clean(e,t){var r=parse(e.trim().replace(/^[=v]+/,""),t);return r?r.version:null}t.SemVer=SemVer;function SemVer(e,t){if(!t||typeof t!=="object"){t={loose:!!t,includePrerelease:false}}if(e instanceof SemVer){if(e.loose===t.loose){return e}else{e=e.version}}else if(typeof e!=="string"){throw new TypeError("Invalid Version: "+e)}if(e.length>s){throw new TypeError("version is longer than "+s+" characters")}if(!(this instanceof SemVer)){return new SemVer(e,t)}r("SemVer",e,t);this.options=t;this.loose=!!t.loose;var o=e.trim().match(t.loose?u[k]:u[C]);if(!o){throw new TypeError("Invalid Version: "+e)}this.raw=e;this.major=+o[1];this.minor=+o[2];this.patch=+o[3];if(this.major>a||this.major<0){throw new TypeError("Invalid major version")}if(this.minor>a||this.minor<0){throw new TypeError("Invalid minor version")}if(this.patch>a||this.patch<0){throw new TypeError("Invalid patch version")}if(!o[4]){this.prerelease=[]}else{this.prerelease=o[4].split(".").map((function(e){if(/^[0-9]+$/.test(e)){var t=+e;if(t>=0&&t=0){if(typeof this.prerelease[r]==="number"){this.prerelease[r]++;r=-2}}if(r===-1){this.prerelease.push(0)}}if(t){if(this.prerelease[0]===t){if(isNaN(this.prerelease[1])){this.prerelease=[t,0]}}else{this.prerelease=[t,0]}}break;default:throw new Error("invalid increment argument: "+e)}this.format();this.raw=this.version;return this};t.inc=inc;function inc(e,t,r,s){if(typeof r==="string"){s=r;r=undefined}try{return new SemVer(e,r).inc(t,s).version}catch(e){return null}}t.diff=diff;function diff(e,t){if(eq(e,t)){return null}else{var r=parse(e);var s=parse(t);var a="";if(r.prerelease.length||s.prerelease.length){a="pre";var o="prerelease"}for(var u in r){if(u==="major"||u==="minor"||u==="patch"){if(r[u]!==s[u]){return a+u}}}return o}}t.compareIdentifiers=compareIdentifiers;var te=/^[0-9]+$/;function compareIdentifiers(e,t){var r=te.test(e);var s=te.test(t);if(r&&s){e=+e;t=+t}return e===t?0:r&&!s?-1:s&&!r?1:e0}t.lt=lt;function lt(e,t,r){return compare(e,t,r)<0}t.eq=eq;function eq(e,t,r){return compare(e,t,r)===0}t.neq=neq;function neq(e,t,r){return compare(e,t,r)!==0}t.gte=gte;function gte(e,t,r){return compare(e,t,r)>=0}t.lte=lte;function lte(e,t,r){return compare(e,t,r)<=0}t.cmp=cmp;function cmp(e,t,r,s){switch(t){case"===":if(typeof e==="object")e=e.version;if(typeof r==="object")r=r.version;return e===r;case"!==":if(typeof e==="object")e=e.version;if(typeof r==="object")r=r.version;return e!==r;case"":case"=":case"==":return eq(e,r,s);case"!=":return neq(e,r,s);case">":return gt(e,r,s);case">=":return gte(e,r,s);case"<":return lt(e,r,s);case"<=":return lte(e,r,s);default:throw new TypeError("Invalid operator: "+t)}}t.Comparator=Comparator;function Comparator(e,t){if(!t||typeof t!=="object"){t={loose:!!t,includePrerelease:false}}if(e instanceof Comparator){if(e.loose===!!t.loose){return e}else{e=e.value}}if(!(this instanceof Comparator)){return new Comparator(e,t)}r("comparator",e,t);this.options=t;this.loose=!!t.loose;this.parse(e);if(this.semver===re){this.value=""}else{this.value=this.operator+this.semver.version}r("comp",this)}var re={};Comparator.prototype.parse=function(e){var t=this.options.loose?u[z]:u[K];var r=e.match(t);if(!r){throw new TypeError("Invalid comparator: "+e)}this.operator=r[1];if(this.operator==="="){this.operator=""}if(!r[2]){this.semver=re}else{this.semver=new SemVer(r[2],this.options.loose)}};Comparator.prototype.toString=function(){return this.value};Comparator.prototype.test=function(e){r("Comparator.test",e,this.options.loose);if(this.semver===re){return true}if(typeof e==="string"){e=new SemVer(e,this.options)}return cmp(e,this.operator,this.semver,this.options)};Comparator.prototype.intersects=function(e,t){if(!(e instanceof Comparator)){throw new TypeError("a Comparator is required")}if(!t||typeof t!=="object"){t={loose:!!t,includePrerelease:false}}var r;if(this.operator===""){r=new Range(e.value,t);return satisfies(this.value,r,t)}else if(e.operator===""){r=new Range(this.value,t);return satisfies(e.semver,r,t)}var s=(this.operator===">="||this.operator===">")&&(e.operator===">="||e.operator===">");var a=(this.operator==="<="||this.operator==="<")&&(e.operator==="<="||e.operator==="<");var o=this.semver.version===e.semver.version;var u=(this.operator===">="||this.operator==="<=")&&(e.operator===">="||e.operator==="<=");var c=cmp(this.semver,"<",e.semver,t)&&((this.operator===">="||this.operator===">")&&(e.operator==="<="||e.operator==="<"));var h=cmp(this.semver,">",e.semver,t)&&((this.operator==="<="||this.operator==="<")&&(e.operator===">="||e.operator===">"));return s||a||o&&u||c||h};t.Range=Range;function Range(e,t){if(!t||typeof t!=="object"){t={loose:!!t,includePrerelease:false}}if(e instanceof Range){if(e.loose===!!t.loose&&e.includePrerelease===!!t.includePrerelease){return e}else{return new Range(e.raw,t)}}if(e instanceof Comparator){return new Range(e.value,t)}if(!(this instanceof Range)){return new Range(e,t)}this.options=t;this.loose=!!t.loose;this.includePrerelease=!!t.includePrerelease;this.raw=e;this.set=e.split(/\s*\|\|\s*/).map((function(e){return this.parseRange(e.trim())}),this).filter((function(e){return e.length}));if(!this.set.length){throw new TypeError("Invalid SemVer Range: "+e)}this.format()}Range.prototype.format=function(){this.range=this.set.map((function(e){return e.join(" ").trim()})).join("||").trim();return this.range};Range.prototype.toString=function(){return this.range};Range.prototype.parseRange=function(e){var t=this.options.loose;e=e.trim();var s=t?u[Z]:u[J];e=e.replace(s,hyphenReplace);r("hyphen replace",e);e=e.replace(u[Q],X);r("comparator trim",e,u[Q]);e=e.replace(u[j],M);e=e.replace(u[$],H);e=e.split(/\s+/).join(" ");var a=t?u[z]:u[K];var o=e.split(" ").map((function(e){return parseComparator(e,this.options)}),this).join(" ").split(/\s+/);if(this.options.loose){o=o.filter((function(e){return!!e.match(a)}))}o=o.map((function(e){return new Comparator(e,this.options)}),this);return o};Range.prototype.intersects=function(e,t){if(!(e instanceof Range)){throw new TypeError("a Range is required")}return this.set.some((function(r){return r.every((function(r){return e.set.some((function(e){return e.every((function(e){return r.intersects(e,t)}))}))}))}))};t.toComparators=toComparators;function toComparators(e,t){return new Range(e,t).set.map((function(e){return e.map((function(e){return e.value})).join(" ").trim().split(" ")}))}function parseComparator(e,t){r("comp",e,t);e=replaceCarets(e,t);r("caret",e);e=replaceTildes(e,t);r("tildes",e);e=replaceXRanges(e,t);r("xrange",e);e=replaceStars(e,t);r("stars",e);return e}function isX(e){return!e||e.toLowerCase()==="x"||e==="*"}function replaceTildes(e,t){return e.trim().split(/\s+/).map((function(e){return replaceTilde(e,t)})).join(" ")}function replaceTilde(e,t){var s=t.loose?u[q]:u[V];return e.replace(s,(function(t,s,a,o,u){r("tilde",e,t,s,a,o,u);var c;if(isX(s)){c=""}else if(isX(a)){c=">="+s+".0.0 <"+(+s+1)+".0.0"}else if(isX(o)){c=">="+s+"."+a+".0 <"+s+"."+(+a+1)+".0"}else if(u){r("replaceTilde pr",u);c=">="+s+"."+a+"."+o+"-"+u+" <"+s+"."+(+a+1)+".0"}else{c=">="+s+"."+a+"."+o+" <"+s+"."+(+a+1)+".0"}r("tilde return",c);return c}))}function replaceCarets(e,t){return e.trim().split(/\s+/).map((function(e){return replaceCaret(e,t)})).join(" ")}function replaceCaret(e,t){r("caret",e,t);var s=t.loose?u[W]:u[G];return e.replace(s,(function(t,s,a,o,u){r("caret",e,t,s,a,o,u);var c;if(isX(s)){c=""}else if(isX(a)){c=">="+s+".0.0 <"+(+s+1)+".0.0"}else if(isX(o)){if(s==="0"){c=">="+s+"."+a+".0 <"+s+"."+(+a+1)+".0"}else{c=">="+s+"."+a+".0 <"+(+s+1)+".0.0"}}else if(u){r("replaceCaret pr",u);if(s==="0"){if(a==="0"){c=">="+s+"."+a+"."+o+"-"+u+" <"+s+"."+a+"."+(+o+1)}else{c=">="+s+"."+a+"."+o+"-"+u+" <"+s+"."+(+a+1)+".0"}}else{c=">="+s+"."+a+"."+o+"-"+u+" <"+(+s+1)+".0.0"}}else{r("no pr");if(s==="0"){if(a==="0"){c=">="+s+"."+a+"."+o+" <"+s+"."+a+"."+(+o+1)}else{c=">="+s+"."+a+"."+o+" <"+s+"."+(+a+1)+".0"}}else{c=">="+s+"."+a+"."+o+" <"+(+s+1)+".0.0"}}r("caret return",c);return c}))}function replaceXRanges(e,t){r("replaceXRanges",e,t);return e.split(/\s+/).map((function(e){return replaceXRange(e,t)})).join(" ")}function replaceXRange(e,t){e=e.trim();var s=t.loose?u[O]:u[N];return e.replace(s,(function(t,s,a,o,u,c){r("xRange",e,t,s,a,o,u,c);var h=isX(a);var p=h||isX(o);var d=p||isX(u);var v=d;if(s==="="&&v){s=""}if(h){if(s===">"||s==="<"){t="<0.0.0"}else{t="*"}}else if(s&&v){if(p){o=0}u=0;if(s===">"){s=">=";if(p){a=+a+1;o=0;u=0}else{o=+o+1;u=0}}else if(s==="<="){s="<";if(p){a=+a+1}else{o=+o+1}}t=s+a+"."+o+"."+u}else if(p){t=">="+a+".0.0 <"+(+a+1)+".0.0"}else if(d){t=">="+a+"."+o+".0 <"+a+"."+(+o+1)+".0"}r("xRange return",t);return t}))}function replaceStars(e,t){r("replaceStars",e,t);return e.trim().replace(u[Y],"")}function hyphenReplace(e,t,r,s,a,o,u,c,h,p,d,v,m){if(isX(r)){t=""}else if(isX(s)){t=">="+r+".0.0"}else if(isX(a)){t=">="+r+"."+s+".0"}else{t=">="+t}if(isX(h)){c=""}else if(isX(p)){c="<"+(+h+1)+".0.0"}else if(isX(d)){c="<"+h+"."+(+p+1)+".0"}else if(v){c="<="+h+"."+p+"."+d+"-"+v}else{c="<="+c}return(t+" "+c).trim()}Range.prototype.test=function(e){if(!e){return false}if(typeof e==="string"){e=new SemVer(e,this.options)}for(var t=0;t0){var o=e[a].semver;if(o.major===t.major&&o.minor===t.minor&&o.patch===t.patch){return true}}}return false}return true}t.satisfies=satisfies;function satisfies(e,t,r){try{t=new Range(t,r)}catch(e){return false}return t.test(e)}t.maxSatisfying=maxSatisfying;function maxSatisfying(e,t,r){var s=null;var a=null;try{var o=new Range(t,r)}catch(e){return null}e.forEach((function(e){if(o.test(e)){if(!s||a.compare(e)===-1){s=e;a=new SemVer(s,r)}}}));return s}t.minSatisfying=minSatisfying;function minSatisfying(e,t,r){var s=null;var a=null;try{var o=new Range(t,r)}catch(e){return null}e.forEach((function(e){if(o.test(e)){if(!s||a.compare(e)===1){s=e;a=new SemVer(s,r)}}}));return s}t.minVersion=minVersion;function minVersion(e,t){e=new Range(e,t);var r=new SemVer("0.0.0");if(e.test(r)){return r}r=new SemVer("0.0.0-0");if(e.test(r)){return r}r=null;for(var s=0;s":if(t.prerelease.length===0){t.patch++}else{t.prerelease.push(0)}t.raw=t.format();case"":case">=":if(!r||gt(r,t)){r=t}break;case"<":case"<=":break;default:throw new Error("Unexpected operation: "+e.operator)}}))}if(r&&e.test(r)){return r}return null}t.validRange=validRange;function validRange(e,t){try{return new Range(e,t).range||"*"}catch(e){return null}}t.ltr=ltr;function ltr(e,t,r){return outside(e,t,"<",r)}t.gtr=gtr;function gtr(e,t,r){return outside(e,t,">",r)}t.outside=outside;function outside(e,t,r,s){e=new SemVer(e,s);t=new Range(t,s);var a,o,u,c,h;switch(r){case">":a=gt;o=lte;u=lt;c=">";h=">=";break;case"<":a=lt;o=gte;u=gt;c="<";h="<=";break;default:throw new TypeError('Must provide a hilo val of "<" or ">"')}if(satisfies(e,t,s)){return false}for(var p=0;p=0.0.0")}v=v||e;m=m||e;if(a(e.semver,v.semver,s)){v=e}else if(u(e.semver,m.semver,s)){m=e}}));if(v.operator===c||v.operator===h){return false}if((!m.operator||m.operator===c)&&o(e,m.semver)){return false}else if(m.operator===h&&u(e,m.semver)){return false}}return true}t.prerelease=prerelease;function prerelease(e,t){var r=parse(e,t);return r&&r.prerelease.length?r.prerelease:null}t.intersects=intersects;function intersects(e,t,r){e=new Range(e,r);t=new Range(t,r);return e.intersects(t)}t.coerce=coerce;function coerce(e){if(e instanceof SemVer){return e}if(typeof e!=="string"){return null}var t=e.match(u[P]);if(t==null){return null}return parse(t[1]+"."+(t[2]||"0")+"."+(t[3]||"0"))}},9344:e=>{e.exports=function(e){[process.stdout,process.stderr].forEach((function(t){if(t._handle&&t.isTTY&&typeof t._handle.setBlocking==="function"){t._handle.setBlocking(e)}}))}},4931:(e,t,r)=>{var s=r(2357);var a=r(3710);var o=r(8614);if(typeof o!=="function"){o=o.EventEmitter}var u;if(process.__signal_exit_emitter__){u=process.__signal_exit_emitter__}else{u=process.__signal_exit_emitter__=new o;u.count=0;u.emitted={}}if(!u.infinite){u.setMaxListeners(Infinity);u.infinite=true}e.exports=function(e,t){s.equal(typeof e,"function","a callback must be provided for exit handler");if(h===false){load()}var r="exit";if(t&&t.alwaysLast){r="afterexit"}var remove=function(){u.removeListener(r,e);if(u.listeners("exit").length===0&&u.listeners("afterexit").length===0){unload()}};u.on(r,e);return remove};e.exports.unload=unload;function unload(){if(!h){return}h=false;a.forEach((function(e){try{process.removeListener(e,c[e])}catch(e){}}));process.emit=d;process.reallyExit=p;u.count-=1}function emit(e,t,r){if(u.emitted[e]){return}u.emitted[e]=true;u.emit(e,t,r)}var c={};a.forEach((function(e){c[e]=function listener(){var t=process.listeners(e);if(t.length===u.count){unload();emit("exit",null,e);emit("afterexit",null,e);process.kill(process.pid,e)}}}));e.exports.signals=function(){return a};e.exports.load=load;var h=false;function load(){if(h){return}h=true;u.count+=1;a=a.filter((function(e){try{process.on(e,c[e]);return true}catch(e){return false}}));process.emit=processEmit;process.reallyExit=processReallyExit}var p=process.reallyExit;function processReallyExit(e){process.exitCode=e||0;emit("exit",process.exitCode,null);emit("afterexit",process.exitCode,null);p.call(process,process.exitCode)}var d=process.emit;function processEmit(e,t){if(e==="exit"){if(t!==undefined){process.exitCode=t}var r=d.apply(this,arguments);emit("exit",process.exitCode,null);emit("afterexit",process.exitCode,null);return r}else{return d.apply(this,arguments)}}},3710:e=>{e.exports=["SIGABRT","SIGALRM","SIGHUP","SIGINT","SIGTERM"];if(process.platform!=="win32"){e.exports.push("SIGVTALRM","SIGXCPU","SIGXFSZ","SIGUSR2","SIGTRAP","SIGSYS","SIGQUIT","SIGIOT")}if(process.platform==="linux"){e.exports.push("SIGIO","SIGPOLL","SIGPWR","SIGSTKFLT","SIGUNUSED")}},4957:function(e,t){(function(e,r){true?r(t):0})(this,(function(e){"use strict";var t={};var r="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=";for(var s=0;s>=1;var D=w?-g:g;if(v==0){r+=D;p.push(r)}else if(v===1){s+=D;p.push(s)}else if(v===2){a+=D;p.push(a)}else if(v===3){o+=D;p.push(o)}else if(v===4){u+=D;p.push(u)}v++;g=m=0}}}if(p.length)h.push(new Int32Array(p));c.push(h);return c}function encode(e){var t=0;var r=0;var s=0;var a=0;var o="";for(var u=0;u0)o+=";";if(c.length===0)continue;var h=0;var p=[];for(var d=0,v=c;d1){g+=encodeInteger(m[1]-t)+encodeInteger(m[2]-r)+encodeInteger(m[3]-s);t=m[1];r=m[2];s=m[3]}if(m.length===5){g+=encodeInteger(m[4]-a);a=m[4]}p.push(g)}o+=p.join(",")}return o}function encodeInteger(e){var t="";e=e<0?-e<<1|1:e<<1;do{var s=e&31;e>>=5;if(e>0){s|=32}t+=r[s]}while(e>0);return t}e.decode=decode;e.encode=encode;Object.defineProperty(e,"__esModule",{value:true})}))},2577:(e,t,r)=>{"use strict";const s=r(3520);const a=r(4882);e.exports=e=>{if(typeof e!=="string"||e.length===0){return 0}e=s(e);let t=0;for(let r=0;r=127&&s<=159){continue}if(s>=768&&s<=879){continue}if(s>65535){r++}t+=a(s)?2:1}return t}},9139:e=>{"use strict";e.exports=()=>{const e=["[\\u001B\\u009B][[\\]()#;?]*(?:(?:(?:[a-zA-Z\\d]*(?:;[a-zA-Z\\d]*)*)?\\u0007)","(?:(?:\\d{1,4}(?:;\\d{0,4})*)?[\\dA-PRZcf-ntqry=><~]))"].join("|");return new RegExp(e,"g")}},3520:(e,t,r)=>{"use strict";const s=r(9139);e.exports=e=>typeof e==="string"?e.replace(s(),""):e},4841:(e,t,r)=>{"use strict";var s=r(1867).Buffer;var a=s.isEncoding||function(e){e=""+e;switch(e&&e.toLowerCase()){case"hex":case"utf8":case"utf-8":case"ascii":case"binary":case"base64":case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":case"raw":return true;default:return false}};function _normalizeEncoding(e){if(!e)return"utf8";var t;while(true){switch(e){case"utf8":case"utf-8":return"utf8";case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return"utf16le";case"latin1":case"binary":return"latin1";case"base64":case"ascii":case"hex":return e;default:if(t)return;e=(""+e).toLowerCase();t=true}}}function normalizeEncoding(e){var t=_normalizeEncoding(e);if(typeof t!=="string"&&(s.isEncoding===a||!a(e)))throw new Error("Unknown encoding: "+e);return t||e}t.s=StringDecoder;function StringDecoder(e){this.encoding=normalizeEncoding(e);var t;switch(this.encoding){case"utf16le":this.text=utf16Text;this.end=utf16End;t=4;break;case"utf8":this.fillLast=utf8FillLast;t=4;break;case"base64":this.text=base64Text;this.end=base64End;t=3;break;default:this.write=simpleWrite;this.end=simpleEnd;return}this.lastNeed=0;this.lastTotal=0;this.lastChar=s.allocUnsafe(t)}StringDecoder.prototype.write=function(e){if(e.length===0)return"";var t;var r;if(this.lastNeed){t=this.fillLast(e);if(t===undefined)return"";r=this.lastNeed;this.lastNeed=0}else{r=0}if(r>5===6)return 2;else if(e>>4===14)return 3;else if(e>>3===30)return 4;return e>>6===2?-1:-2}function utf8CheckIncomplete(e,t,r){var s=t.length-1;if(s=0){if(a>0)e.lastNeed=a-1;return a}if(--s=0){if(a>0)e.lastNeed=a-2;return a}if(--s=0){if(a>0){if(a===2)a=0;else e.lastNeed=a-3}return a}return 0}function utf8CheckExtraBytes(e,t,r){if((t[0]&192)!==128){e.lastNeed=0;return"�"}if(e.lastNeed>1&&t.length>1){if((t[1]&192)!==128){e.lastNeed=1;return"�"}if(e.lastNeed>2&&t.length>2){if((t[2]&192)!==128){e.lastNeed=2;return"�"}}}}function utf8FillLast(e){var t=this.lastTotal-this.lastNeed;var r=utf8CheckExtraBytes(this,e,t);if(r!==undefined)return r;if(this.lastNeed<=e.length){e.copy(this.lastChar,t,0,this.lastNeed);return this.lastChar.toString(this.encoding,0,this.lastTotal)}e.copy(this.lastChar,t,0,e.length);this.lastNeed-=e.length}function utf8Text(e,t){var r=utf8CheckIncomplete(this,e,t);if(!this.lastNeed)return e.toString("utf8",t);this.lastTotal=r;var s=e.length-(r-this.lastNeed);e.copy(this.lastChar,0,s);return e.toString("utf8",t,s)}function utf8End(e){var t=e&&e.length?this.write(e):"";if(this.lastNeed)return t+"�";return t}function utf16Text(e,t){if((e.length-t)%2===0){var r=e.toString("utf16le",t);if(r){var s=r.charCodeAt(r.length-1);if(s>=55296&&s<=56319){this.lastNeed=2;this.lastTotal=4;this.lastChar[0]=e[e.length-2];this.lastChar[1]=e[e.length-1];return r.slice(0,-1)}}return r}this.lastNeed=1;this.lastTotal=2;this.lastChar[0]=e[e.length-1];return e.toString("utf16le",t,e.length-1)}function utf16End(e){var t=e&&e.length?this.write(e):"";if(this.lastNeed){var r=this.lastTotal-this.lastNeed;return t+this.lastChar.toString("utf16le",0,r)}return t}function base64Text(e,t){var r=(e.length-t)%3;if(r===0)return e.toString("base64",t);this.lastNeed=3-r;this.lastTotal=3;if(r===1){this.lastChar[0]=e[e.length-1]}else{this.lastChar[0]=e[e.length-2];this.lastChar[1]=e[e.length-1]}return e.toString("base64",t,e.length-r)}function base64End(e){var t=e&&e.length?this.write(e):"";if(this.lastNeed)return t+this.lastChar.toString("base64",0,3-this.lastNeed);return t}function simpleWrite(e){return e.toString(this.encoding)}function simpleEnd(e){return e&&e.length?this.write(e):""}},5591:(e,t,r)=>{"use strict";var s=r(5465)();e.exports=function(e){return typeof e==="string"?e.replace(s,""):e}},5465:e=>{"use strict";e.exports=function(){return/[\u001b\u009b][[()#;?]*(?:[0-9]{1,4}(?:;[0-9]{0,4})*)?[0-9A-PRZcf-nqry=><]/g}},5278:(e,t,r)=>{e.exports=r(1669).deprecate},8034:(e,t,r)=>{"use strict";var s=r(2577);t.center=alignCenter;t.left=alignLeft;t.right=alignRight;function createPadding(e){var t="";var r=" ";var s=e;do{if(s%2){t+=r}s=Math.floor(s/2);r+=r}while(s);return t}function alignLeft(e,t){var r=e.trimRight();if(r.length===0&&e.length>=t)return e;var a="";var o=s(r);if(o=t)return e;var a="";var o=s(r);if(o=t)return e;var a="";var o="";var u=s(r);if(u{e.exports=wrappy;function wrappy(e,t){if(e&&t)return wrappy(e)(t);if(typeof e!=="function")throw new TypeError("need wrapper function");Object.keys(e).forEach((function(t){wrapper[t]=e[t]}));return wrapper;function wrapper(){var t=new Array(arguments.length);for(var r=0;r{const s=r(5622);const{readFileSync:a,readFile:o,stat:u,lstat:c,readlink:h,statSync:p}=r(7758);const{walk:d}=r(6465);const v=r(5734);const{attachScopes:m}=r(5648);const g=r(798);let y=r(390);const _=r(8384);const E=r(8357);const x=r(1331);const w=r(1957);const D=r(8011);const C=r(3953);const{pregyp:A,nbind:S}=r(5277);const k=r(9646);const{getOptions:F}=r(3432);const R=r(9283);const T=r(4723);const I=r(2087);const B=r(4090);const{pathToFileURL:N,fileURLToPath:O}=r(8835);y=y.Parser.extend(r(4259),r(104),r(9406));const P=[".js",".json",".node"];const{UNKNOWN:L,FUNCTION:j,WILDCARD:M,wildcardRegEx:V}=g;function isIdentifierRead(e,t){switch(t.type){case"ObjectPattern":case"ArrayPattern":return false;case"AssignmentExpression":return t.right===e;case"MemberExpression":return t.computed||e===t.object;case"Property":return e===t.value;case"MethodDefinition":return false;case"VariableDeclarator":return t.id!==e;case"ExportSpecifier":return false;case"FunctionExpression":case"FunctionDeclaration":case"ArrowFunctionExpression":return false;default:return true}}function isVarLoop(e){return e.type==="ForStatement"||e.type==="ForInStatement"||e.type==="ForOfStatement"}function isLoop(e){return e.type==="ForStatement"||e.type==="ForInStatement"||e.type==="ForOfStatement"||e.type==="WhileStatement"||e.type==="DoWhileStatement"}const q=new Map;let U;let $=0;function getAssetState(e,t){let r=q.get(t);if(!r){q.set(t,r={stateId:++$,entryIds:getEntryIds(t),assets:Object.create(null),assetNames:Object.create(null),assetMeta:Object.create(null),assetSymlinks:Object.create(null),hadOptions:false})}if(!r.hadOptions){r.hadOptions=true;if(e&&e.existingAssetNames){e.existingAssetNames.forEach((e=>{r.assetNames[e]=true}))}}return U=r}const flattenArray=e=>Array.prototype.concat.apply([],e);function getEntryIds(e){if(e.options.entry){if(typeof e.options.entry==="string"){try{return[R.sync(e.options.entry,{extensions:P})]}catch(e){return}}else if(typeof e.options.entry==="object"){try{return flattenArray(Object.values(e.options.entry).map((e=>{if(typeof e==="string"){return[e]}if(e&&Array.isArray(e.import)){return e.import}return[]}))).map((e=>R.sync(e,{extensions:P})))}catch(e){return}}}}function assetBase(e){if(!e)return"";if(e.endsWith("/")||e.endsWith("\\"))return e;return e+"/"}const H={cwd:()=>se,env:{NODE_ENV:L,[L]:true},[L]:true};const G=Symbol();const W=Symbol();const z=Symbol();const K=Symbol();const Q=Symbol();const X=Symbol();const J=Symbol();const Z={access:K,accessSync:K,createReadStream:K,exists:K,existsSync:K,fstat:K,fstatSync:K,lstat:K,lstatSync:K,open:K,readFile:K,readFileSync:K,stat:K,statSync:K};const Y=Object.assign(Object.create(null),{bindings:{default:X},express:{default:function(){return{[L]:true,set:G,engine:W}}},fs:{default:Z,...Z},process:{default:H,...H},path:{default:{}},os:{default:I,...I},"node-pre-gyp":A,"node-pre-gyp/lib/pre-binding":A,"node-pre-gyp/lib/pre-binding.js":A,"@mapbox/node-pre-gyp":A,"@mapbox/node-pre-gyp/lib/pre-binding":A,"@mapbox/node-pre-gyp/lib/pre-binding.js":A,"node-gyp-build":{default:J},nbind:{init:z,default:{init:z}},"resolve-from":{default:Q}});const ee={MONGOOSE_DRIVER_PATH:undefined,URL:URL};ee.global=ee.GLOBAL=ee.globalThis=ee;const te=Symbol();A.find[te]=true;const re=Y.path;Object.keys(s).forEach((e=>{const t=s[e];if(typeof t==="function"){const fn=function(){return t.apply(this,arguments)};fn[te]=true;re[e]=re.default[e]=fn}else{re[e]=re.default[e]=t}}));re.resolve=re.default.resolve=function(...e){return s.resolve.apply(this,[se,...e])};re.resolve[te]=true;const ie=new Set([".h",".cmake",".c",".cpp"]);const ne=new Set(["CHANGELOG.md","README.md","readme.md","changelog.md"]);let se;function backtrack(e,t){if(!t||t.type!=="ArrayExpression")return e.skip()}const ae=/^\/[^\/]+|^[a-z]:[\\/][^\\/]+/i;function isAbsolutePathOrUrl(e){if(e instanceof URL)return e.protocol==="file:";if(typeof e==="string"){if(e.startsWith("file:")){try{new URL(e);return true}catch{return false}}return ae.test(e)}return false}const oe=Symbol();function generateWildcardRequire(e,t,r,a,o){const u=a.length;const c=t.endsWith(M);const h=t.indexOf(M);const p=t.substr(0,h);const d=t.substr(h+1);const v=d?"?(.@(js|json|node))":".@(js|json|node)";if(o)console.log("Generating wildcard requires for "+t.replace(M,"*"));let m=w.sync(p+"**"+d+v,{mark:true,ignore:"node_modules/**/*"});if(!m.length)return;const g=m.map(((t,r)=>{const a=JSON.stringify(t.substring(p.length,t.lastIndexOf(d)));let o=s.relative(e,t).replace(/\\/g,"/");if(!o.startsWith("../"))o="./"+o;let u=r===0?" ":" else ";if(c&&a.endsWith('.js"'))u+=`if (arg === ${a} || arg === ${a.substr(0,a.length-4)}")`;else if(c&&a.endsWith('.json"'))u+=`if (arg === ${a} || arg === ${a.substr(0,a.length-6)}")`;else if(c&&a.endsWith('.node"'))u+=`if (arg === ${a} || arg === ${a.substr(0,a.length-6)}")`;else u+=`if (arg === ${a})`;u+=` return require(${JSON.stringify(o)});`;return u})).join("\n");a.push(`function __ncc_wildcard$${u} (arg) {\n${g}\n}`);return`__ncc_wildcard$${u}(${r})`}const ue=new WeakSet;function injectPathHook(e,t){const r=e.outputOptions.module;const{mainTemplate:a}=e;if(!ue.has(a)){ue.add(a);a.hooks.requireExtensions.tap("asset-relocator-loader",((e,a)=>{let o="";if(a.name){o=s.relative(s.dirname(a.name),".").replace(/\\/g,"/");if(o.length)o="/"+o}return`${e}\nif (typeof __webpack_require__ !== 'undefined') __webpack_require__.ab = ${r?"new URL('.', import.meta.url).pathname.slice(import.meta.url.match(/^file:\\/\\/\\/\\w:/) ? 1 : 0, -1)":"__dirname"} + ${JSON.stringify(o+"/"+assetBase(t))};`}))}}e.exports=async function(e,t){if(this.cacheable)this.cacheable();this.async();const r=this.resourcePath;const A=s.dirname(r);const T=F(this);injectPathHook(this._compilation,T.outputAssetBase);if(r.endsWith(".node")){const t=getAssetState(T,this._compilation);const s=D(this.resourcePath)||A;await x(s,t,assetBase(T.outputAssetBase),this.emitFile);let a;if(!(a=t.assets[r]))a=t.assets[r]=E(r.substr(s.length+1).replace(/\\/g,"/"),r,t.assetNames);const o=await new Promise(((e,t)=>u(r,((r,s)=>r?t(r):e(s.mode)))));t.assetMeta[a]={path:r,permissions:o};this.emitFile(assetBase(T.outputAssetBase)+a,e);this.callback(null,"module.exports = __non_webpack_require__(__webpack_require__.ab + "+JSON.stringify(a)+")");return}if(r.endsWith(".json"))return this.callback(null,I,t);let I=e.toString();if(typeof T.production==="boolean"&&H.env.NODE_ENV===L){H.env.NODE_ENV=T.production?"production":"dev"}if(!se){if(typeof T.cwd==="string")se=s.resolve(T.cwd);else se=process.cwd()}const q=getAssetState(T,this._compilation);const U=q.entryIds;const $=D(r);const emitAsset=e=>{let t=s.basename(e);if(e.endsWith(".node")){if($)t=e.substr($.length+1).replace(/\\/g,"/");const r=x($,q,assetBase(T.outputAssetBase),this.emitFile);Z=Z.then((()=>r))}let a;if(!(a=q.assets[e])){a=q.assets[e]=E(t,e,q.assetNames);if(T.debugLog)console.log("Emitting "+e+" for static use in module "+r)}Z=Z.then((async()=>{const[t,r]=await Promise.all([new Promise(((t,r)=>o(e,((e,s)=>e?r(e):t(s))))),await new Promise(((t,r)=>c(e,((e,s)=>e?r(e):t(s)))))]);if(r.isSymbolicLink()){const t=await new Promise(((t,r)=>{h(e,((e,s)=>e?r(e):t(s)))}));const r=s.dirname(e);q.assetSymlinks[assetBase(T.outputAssetBase)+a]=s.relative(r,s.resolve(r,t))}else{q.assetMeta[assetBase(T.outputAssetBase)+a]={path:e,permissions:r.mode};this.addDependency(e);this.emitFile(assetBase(T.outputAssetBase)+a,t)}}));return"__webpack_require__.ab + "+JSON.stringify(a).replace(/\\/g,"/")};const emitAssetDirectory=(e,t)=>{const a=e.indexOf(M);const u=a===-1?e.length:e.lastIndexOf(s.sep,a);const p=e.substr(0,u);const d=e.substr(u);const v=d.replace(V,((e,t)=>d[t-1]===s.sep?"**/*":"*/**/*"))||"/**/*";if(T.debugLog)console.log("Emitting directory "+p+v+" for static use in module "+r);const m=s.basename(p);const g=q.assets[p]||(q.assets[p]=E(m,p,q.assetNames,true));q.assets[p]=g;const y=w.sync(p+v,{mark:true,ignore:"node_modules/**/*"}).filter((e=>!ie.has(s.extname(e))&&!ne.has(s.basename(e))&&!e.endsWith("/")));if(!y.length)return;Z=Z.then((async()=>{await Promise.all(y.map((async e=>{const[t,r]=await Promise.all([new Promise(((t,r)=>o(e,((e,s)=>e?r(e):t(s))))),await new Promise(((t,r)=>c(e,((e,s)=>e?r(e):t(s)))))]);if(r.isSymbolicLink()){const t=await new Promise(((t,r)=>{h(e,((e,s)=>e?r(e):t(s)))}));const r=s.dirname(e);q.assetSymlinks[assetBase(T.outputAssetBase)+g+e.substr(p.length)]=s.relative(r,s.resolve(r,t)).replace(/\\/g,"/")}else{q.assetMeta[assetBase(T.outputAssetBase)+g+e.substr(p.length)]={path:e,permissions:r.mode};this.addDependency(e);this.emitFile(assetBase(T.outputAssetBase)+g+e.substr(p.length),t)}})))}));let _="";let x="";if(t){let e=d;let r=true;for(const s of t){const t=e.indexOf(M);const a=e.substr(0,t);e=e.substr(t+1);if(r){x=a;r=false}else{_+=" + '"+JSON.stringify(a).slice(1,-1)+"'"}if(s.type==="SpreadElement")_+=" + "+I.substring(s.argument.start,s.argument.end)+".join('/')";else _+=" + "+I.substring(s.start,s.end)}if(e.length){_+=" + '"+JSON.stringify(e).replace(/\\/g,"/").slice(1,-1)+"'"}}return"__webpack_require__.ab + "+JSON.stringify((g+x).replace(/\\/g,"/"))+_};let Z=Promise.resolve();const re=new v(I);let ue,le;try{ue=y.parse(I,{allowReturnOutsideFunction:true,ecmaVersion:2020});le=false}catch(e){}if(!ue){try{ue=y.parse(I,{sourceType:"module",ecmaVersion:2020,allowAwaitOutsideFunction:true});le=true}catch(e){return this.callback(null,I,t)}}let ce=m(ue,"scope");let fe=false;const he=N(r).href;const pe=Object.assign(Object.create(null),{__dirname:{shadowDepth:0,value:s.resolve(r,"..")},__filename:{shadowDepth:0,value:r},process:{shadowDepth:0,value:H}});if(!le){pe.require={shadowDepth:0,value:{[j](e){const t=Y[e];return t.default},resolve(e){return R.sync(e,{basedir:A,extensions:P})}}};pe.require.value.resolve[te]=true}let de=[];function setKnownBinding(e,t){if(e==="require")return;pe[e]={shadowDepth:0,value:t}}function getKnownBinding(e){const t=pe[e];if(t){if(t.shadowDepth===0){return t.value}}}if(le){for(const e of ue.body){if(e.type==="ImportDeclaration"){const t=e.source.value;const r=Y[t];if(r){for(const t of e.specifiers){if(t.type==="ImportNamespaceSpecifier")setKnownBinding(t.local.name,r);else if(t.type==="ImportDefaultSpecifier"&&"default"in r)setKnownBinding(t.local.name,r.default);else if(t.type==="ImportSpecifier"&&t.imported.name in r)setKnownBinding(t.local.name,r[t.imported.name])}}}}}function computePureStaticValue(e,t=true){const r=Object.create(null);Object.keys(pe).forEach((e=>{r[e]=getKnownBinding(e)}));Object.keys(ee).forEach((e=>{r[e]=ee[e]}));r["import.meta"]={url:he};const s=g(e,r,t);return s}let ve,me;let ge=false;let be;function isStaticRequire(e){return e&&e.type==="CallExpression"&&e.callee.type==="Identifier"&&e.callee.name==="require"&&pe.require.shadowDepth===0&&e.arguments.length===1&&e.arguments[0].type==="Literal"}({ast:ue=ue,scope:ce=ce,transformed:fe=fe}=k({id:r,ast:ue,scope:ce,pkgBase:$,magicString:re,options:T,emitAsset:emitAsset,emitAssetDirectory:emitAssetDirectory})||{});d(ue,{enter(e,t){if(e.scope){ce=e.scope;for(const t in e.scope.declarations){if(t in pe)pe[t].shadowDepth++}}if(ve)return backtrack(this,t);if(e.type==="Identifier"){if(isIdentifierRead(e,t)){let r;if(typeof(r=getKnownBinding(e.name))==="string"&&r.match(ae)||r&&(typeof r==="function"||typeof r==="object")&&r[te]){me={value:typeof r==="string"?r:undefined};ve=e;return this.skip()}else if(!le&&e.name==="require"&&pe.require.shadowDepth===0&&t.type!=="UnaryExpression"){re.overwrite(e.start,e.end,"__non_webpack_require__");fe=true;return this.skip()}else if(!le&&e.name==="__non_webpack_require__"&&t.type!=="UnaryExpression"){re.overwrite(e.start,e.end,'eval("require")');fe=true;return this.skip()}}}else if(e.type==="MemberExpression"&&e.object.type==="MetaProperty"&&e.object.meta.name==="import"&&e.object.property.name==="meta"&&(e.property.computed?e.property.value:e.property.name)==="url"){me={value:he};ve=e;return this.skip()}else if(!le&&e.type==="CallExpression"&&e.callee.type==="Identifier"&&e.callee.name==="require"&&pe.require.shadowDepth===0&&e.arguments.length){const c=e.arguments[0];const{result:h,sawIdentifier:p}=computePureStaticValue(c,true);if(!h){if(c.type==="LogicalExpression"&&c.operator==="||"&&c.left.type==="Identifier"){fe=true;re.overwrite(c.start,c.end,I.substring(c.right.start,c.right.end));return this.skip()}fe=true;re.overwrite(e.callee.start,e.callee.end,"__non_webpack_require__");return this.skip()}else if(typeof h.value==="string"&&p){if(h.wildcards){const t=s.resolve(A,h.value);if(h.wildcards.length===1&&validAssetEmission(t)){const r=generateWildcardRequire(A,t,I.substring(h.wildcards[0].start,h.wildcards[0].end),de,T.debugLog);if(r){re.overwrite(e.start,e.end,r);fe=true;return this.skip()}}}else if(h.value){let e;if(T.customEmit)e=T.customEmit(h.value,true);if(e===undefined)e=JSON.stringify(h.value);if(e!==false){re.overwrite(c.start,c.end,e);fe=true;return this.skip()}}}else if(h&&typeof h.then==="string"&&typeof h.else==="string"&&p){const e=computePureStaticValue(h.test,true).result;if(e&&"value"in e){if(e){fe=true;re.overwrite(c.start,c.end,JSON.stringify(h.then));return this.skip()}else{fe=true;re.overwrite(c.start,c.end,JSON.stringify(h.else));return this.skip()}}else{const e=I.substring(h.test.start,h.test.end);fe=true;re.overwrite(c.start,c.end,`${e} ? ${JSON.stringify(h.then)} : ${JSON.stringify(h.else)}`);return this.skip()}}else if(t.type==="CallExpression"&&t.callee===e){if(h.value==="pkginfo"&&t.arguments.length&&t.arguments[0].type==="Identifier"&&t.arguments[0].name==="module"){let e=new Set;for(let r=1;re.id.type==="Identifier"&&e.init&&e.init.type==="CallExpression"&&e.init.callee.type==="Identifier"&&e.init.callee.name==="require"&&pe.require.shadowDepth===0&&e.init.arguments[0]&&e.init.arguments[0].type==="Identifier"&&e.init.arguments[0].name===s[0].name));if(a)o=e.body.body[t]}if(a&&e.body.body[t].type==="ReturnStatement"&&e.body.body[t].argument&&e.body.body[t].argument.type==="Identifier"&&e.body.body[t].argument.name===a.id.name){u=true;break}}if(u){let u=";";const c=e.type==="ArrowFunctionExpression"&&e.params[0].start===e.start;if(e.type==="FunctionExpression"||e.type==="ArrowFunctionExpression"){e=t;u=","}be=r.name+"$$mod";setKnownBinding(r.name,oe);const h=u+I.substring(e.start,r.start)+be+I.substring(r.end,s[0].start+!c)+(c?"(":"")+a.id.name+", "+I.substring(s[0].start,s[s.length-1].end+!c)+(c?")":"")+I.substring(s[0].end+!c,o.start)+I.substring(o.end,e.end);re.appendRight(e.end,h)}}}},leave(e,t){if(e.scope){ce=ce.parent;for(const t in e.scope.declarations){if(t in pe){if(pe[t].shadowDepth>0)pe[t].shadowDepth--;else delete pe[t]}}}if(ve){const t=computePureStaticValue(e,true).result;if(t){if("value"in t&&typeof t.value!=="symbol"||typeof t.then!=="symbol"&&typeof t.else!=="symbol"){me=t;ve=e;return}}emitStaticChildAsset()}}});if(!fe)return this.callback(null,I,t);Z.then((()=>{if(de.length)re.appendLeft(ue.body[0].start,de.join("\n")+"\n");I=re.toString();t=t||re.generateMap();if(t){t.sources=[r]}this.callback(null,I,t)}));function validAssetEmission(e){if(!e)return;if(e===r)return;let t="";if(e.endsWith(s.sep))t=s.sep;else if(e.endsWith(s.sep+M))t=s.sep+M;else if(e.endsWith(M))t=M;if(!T.emitDirnameAll&&e===A+t)return;if(!T.emitFilterAssetBaseAll&&e===(T.filterAssetBase||se)+t)return;if(e.endsWith(s.sep+"node_modules"+t))return;if(A.startsWith(e.substr(0,e.length-t.length)+s.sep))return;if($){const t=r.substr(0,r.indexOf(s.sep+"node_modules"))+s.sep+"node_modules"+s.sep;if(!e.startsWith(t)){if(T.debugLog){if(assetEmission(e))console.log("Skipping asset emission of "+e.replace(V,"*")+" for "+r+" as it is outside the package base "+$)}return}}else if(!e.startsWith(T.filterAssetBase||se)){if(T.debugLog){if(assetEmission(e))console.log("Skipping asset emission of "+e.replace(V,"*")+" for "+r+" as it is outside the filterAssetBase directory "+(T.filterAssetBase||se))}return}if(T.customEmit){const t=T.customEmit(e,{id:r,isRequire:false});if(t===false)return;if(typeof t==="string")return()=>t}return assetEmission(e)}function assetEmission(e){const t=e.indexOf(M);const r=t===-1?e.length:e.lastIndexOf(s.sep,t);const a=e.substr(0,r);try{const e=p(a);if(t!==-1&&e.isFile())return;if(e.isFile())return emitAsset;if(e.isDirectory())return emitAssetDirectory}catch(e){return}}function resolveAbsolutePathOrUrl(e){return e instanceof URL?O(e):e.startsWith("file:")?O(new URL(e)):s.resolve(e)}function emitStaticChildAsset(e=false){if(isAbsolutePathOrUrl(me.value)){let t;try{t=resolveAbsolutePathOrUrl(me.value)}catch(e){}let r;if(r=validAssetEmission(t)){let s=r(t,me.wildcards);if(s){if(e)s="__non_webpack_require__("+s+")";re.overwrite(ve.start,ve.end,s);fe=true}}}else if(isAbsolutePathOrUrl(me.then)&&isAbsolutePathOrUrl(me.else)){let t;try{t=resolveAbsolutePathOrUrl(me.then)}catch(e){}let r;try{r=resolveAbsolutePathOrUrl(me.else)}catch(e){}let s;if(!e&&(s=validAssetEmission(t))&&s===validAssetEmission(r)){const e=s(t);const a=s(r);if(e&&a){re.overwrite(ve.start,ve.end,`${I.substring(me.test.start,me.test.end)} ? ${e} : ${a}`);fe=true}}}else if(ve.type==="ArrayExpression"&&me.value instanceof Array){for(let t=0;t{if(e)console.error(e);if(t){const e=JSON.parse(t);if(e.assetMeta)s.assetMeta=e.assetMeta;if(e.assetSymlinks)s.assetSymlinks=e.assetSymlinks}}));e.compiler.hooks.afterCompile.tap("relocate-loader",(e=>{const t=e.getCache?e.getCache():e.cache;if(t)t.store("/RelocateLoader/AssetState/"+JSON.stringify(r),null,JSON.stringify({assetMeta:s.assetMeta,assetSymlinks:s.assetSymlinks}),(e=>{if(e)console.error(e)}))}))}},5277:(__unused_webpack_module,exports,__nested_webpack_require_892507__)=>{const path=__nested_webpack_require_892507__(5622);const fs=__nested_webpack_require_892507__(5747);const versioning=__nested_webpack_require_892507__(887);const napi=__nested_webpack_require_892507__(480);const pregypFind=(e,t)=>{const r=JSON.parse(fs.readFileSync(e).toString());versioning.validate_config(r,t);var s;if(napi.get_napi_build_versions(r,t)){s=napi.get_best_napi_build_version(r,t)}t=t||{};if(!t.module_root)t.module_root=path.dirname(e);var a=versioning.evaluate(r,t,s);return a.module};exports.pregyp={default:{find:pregypFind},find:pregypFind};function makeModulePathList(e,t){return[[e,t],[e,"build",t],[e,"build","Debug",t],[e,"build","Release",t],[e,"out","Debug",t],[e,"Debug",t],[e,"out","Release",t],[e,"Release",t],[e,"build","default",t],[e,process.env["NODE_BINDINGS_COMPILED_DIR"]||"compiled",process.versions.node,process.platform,process.arch,t]]}function findCompiledModule(basePath,specList){var resolvedList=[];var ext=path.extname(basePath);for(var _i=0,specList_1=specList;_i{const s=r(5622);e.exports=getUniqueAssetName;function getUniqueAssetName(e,t,r,a){const o=s.extname(e);let u=e,c=0;while((u in r||a&&Object.keys(r).some((e=>e.startsWith(u+s.sep))))&&r[u]!==t){u=e.substr(0,e.length-o.length)+ ++c+o}r[u]=t;return u}},8011:e=>{const t=/^(@[^\\\/]+[\\\/])?[^\\\/]+/;e.exports=function(e){const r=e.lastIndexOf("node_modules");if(r!==-1&&(e[r-1]==="/"||e[r-1]==="\\")&&(e[r+12]==="/"||e[r+12]==="\\")){const s=e.substr(r+13).match(t);if(s)return e.substr(0,r+13+s[0].length)}};e.exports.pkgNameRegEx=t},3953:(e,t,r)=>{const{existsSync:s}=r(5747);const{dirname:a}=r(5622);e.exports=function getPackageScope(e){let t=a(e);do{e=t;t=a(e);if(s(e+"/package.json"))return e}while(e!==t)}},4723:(e,t,r)=>{const{encode:s,decode:a}=r(4957);function traceSegment(e,t,r,s,a){const o=t[r];if(!o)return null;let u=0;let c=o.length-1;while(u<=c){const t=u+c>>1;const r=o[t];if(r[0]===s){return{source:r[1],line:r[2],column:r[3],name:e.names[r[4]]||a}}if(r[0]>s)c=t-1;else u=t+1}return null}e.exports=function(e,t){const r=[];const o=[];const u=[];const c=[];const h=a(e.mappings);for(const s of a(t.mappings)){const a=[];for(const c of s){const s=traceSegment(e,h,c[2],c[3],t.names[c[4]]);if(s){const t=e.sources[s.source];let h=r.lastIndexOf(t);if(h===-1){h=r.length;r.push(t);o[h]=e.sourcesContent[s.source]}else if(o[h]==null){o[h]=e.sourcesContent[s.source]}const p=[c[0],h,s.line,s.column];if(s.name){let e=u.indexOf(s.name);if(e===-1){e=u.length;u.push(s.name)}p[4]=e}a.push(p)}}c.push(a)}return{version:3,file:null,sources:r,mappings:s(c),names:u,sourcesContent:o}}},1331:(e,t,r)=>{const s=r(2087);const a=r(7758);const o=r(1957);const u=r(5622);let c;switch(s.platform()){case"darwin":c="/**/*.@(dylib|so?(.*))";break;case"win32":c="/**/*.dll";break;default:c="/**/*.so?(.*)"}e.exports=async function(e,t,r,s,h){const p=await new Promise(((t,r)=>o(e+c,{ignore:"node_modules/**/*"},((e,s)=>e?r(e):t(s)))));await Promise.all(p.map((async o=>{const[c,p]=await Promise.all([new Promise(((e,t)=>a.readFile(o,((r,s)=>r?t(r):e(s))))),await new Promise(((e,t)=>a.lstat(o,((r,s)=>r?t(r):e(s)))))]);if(p.isSymbolicLink()){const s=await new Promise(((e,t)=>{a.readlink(o,((r,s)=>r?t(r):e(s)))}));const c=u.dirname(o);t.assetSymlinks[r+o.substr(e.length+1)]=u.relative(c,u.resolve(c,s))}else{t.assetMeta[o.substr(e.length)]={path:o,permissions:p.mode};if(h)console.log("Emitting "+o+" for shared library support in "+e);s(r+o.substr(e.length+1),c)}})))}},9646:(e,t,r)=>{const s=r(5622);const a=r(9283);const o=r(5747);const u=r(5094);e.exports=function({id:e,code:t,pkgBase:r,ast:c,scope:h,magicString:p,emitAssetDirectory:d}){let v;({transformed:v,ast:c,scope:h}=u(c,h,p));if(v)return{transformed:v,ast:c,scope:h};if(e.endsWith("google-gax/build/src/grpc.js")||global._unit&&e.includes("google-gax")){for(const t of c.body){if(t.type==="VariableDeclaration"&&t.declarations[0].id.type==="Identifier"&&t.declarations[0].id.name==="googleProtoFilesDir"){const r=d(s.resolve(s.dirname(e),global._unit?"./":"../../../google-proto-files"));if(r){p.overwrite(t.declarations[0].init.start,t.declarations[0].init.end,r);t.declarations[0].init=null;return{transformed:true}}}}}else if(e.endsWith("socket.io/lib/index.js")||global._unit&&e.includes("socket.io")){function replaceResolvePathStatement(t){if(t.type==="ExpressionStatement"&&t.expression.type==="AssignmentExpression"&&t.expression.operator==="="&&t.expression.right.type==="CallExpression"&&t.expression.right.callee.type==="Identifier"&&t.expression.right.callee.name==="read"&&t.expression.right.arguments.length>=1&&t.expression.right.arguments[0].type==="CallExpression"&&t.expression.right.arguments[0].callee.type==="Identifier"&&t.expression.right.arguments[0].callee.name==="resolvePath"&&t.expression.right.arguments[0].arguments.length===1&&t.expression.right.arguments[0].arguments[0].type==="Literal"){const o=t.expression.right.arguments[0].arguments[0].value;try{var r=a.sync(o,{basedir:s.dirname(e)})}catch(e){return{transformed:false}}const u="/"+s.relative(s.dirname(e),r);t.expression.right.arguments[0]={type:"BinaryExpression",start:t.expression.right.arguments[0].start,end:t.expression.right.arguments[0].end,operator:"+",left:{type:"Identifier",name:"__dirname"},right:{type:"Literal",value:u,raw:JSON.stringify(u)}};return{transformed:true}}return{transformed:false}}for(const e of c.body){if(e.type==="ExpressionStatement"&&e.expression.type==="AssignmentExpression"&&e.expression.operator==="="&&e.expression.left.type==="MemberExpression"&&e.expression.left.object.type==="MemberExpression"&&e.expression.left.object.object.type==="Identifier"&&e.expression.left.object.object.name==="Server"&&e.expression.left.object.property.type==="Identifier"&&e.expression.left.object.property.name==="prototype"&&e.expression.left.property.type==="Identifier"&&e.expression.left.property.name==="serveClient"&&e.expression.right.type==="FunctionExpression"){let t;for(const r of e.expression.right.body.body)if(r.type==="IfStatement")t=r;const r=t&&t.consequent.body;let s=false;if(r&&r[0]&&r[0].type==="ExpressionStatement")s=replaceResolvePathStatement(r[0]);const a=r&&r[1]&&r[1].type==="TryStatement"&&r[1].block.body;if(a&&a[0])s=replaceResolvePathStatement(a[0])||s;return{transformed:s}}}}else if(e.endsWith("oracledb/lib/oracledb.js")||global._unit&&e.includes("oracledb")){for(const t of c.body){if(t.type==="ForStatement"&&t.body.body&&t.body.body[0]&&t.body.body[0].type==="TryStatement"&&t.body.body[0].block.body[0]&&t.body.body[0].block.body[0].type==="ExpressionStatement"&&t.body.body[0].block.body[0].expression.type==="AssignmentExpression"&&t.body.body[0].block.body[0].expression.operator==="="&&t.body.body[0].block.body[0].expression.left.type==="Identifier"&&t.body.body[0].block.body[0].expression.left.name==="oracledbCLib"&&t.body.body[0].block.body[0].expression.right.type==="CallExpression"&&t.body.body[0].block.body[0].expression.right.callee.type==="Identifier"&&t.body.body[0].block.body[0].expression.right.callee.name==="require"&&t.body.body[0].block.body[0].expression.right.arguments.length===1&&t.body.body[0].block.body[0].expression.right.arguments[0].type==="MemberExpression"&&t.body.body[0].block.body[0].expression.right.arguments[0].computed===true&&t.body.body[0].block.body[0].expression.right.arguments[0].object.type==="Identifier"&&t.body.body[0].block.body[0].expression.right.arguments[0].object.name==="binaryLocations"&&t.body.body[0].block.body[0].expression.right.arguments[0].property.type==="Identifier"&&t.body.body[0].block.body[0].expression.right.arguments[0].property.name==="i"){const r=t.body.body[0].block.body[0].expression.right.arguments[0];t.body.body[0].block.body[0].expression.right.arguments=[{type:"Literal",value:"_"}];const s=global._unit?"3.0.0":JSON.parse(o.readFileSync(e.slice(0,-15)+"package.json")).version;const a=Number(s.slice(0,s.indexOf(".")))>=4;const u="oracledb-"+(a?s:"abi"+process.versions.modules)+"-"+process.platform+"-"+process.arch+".node";p.overwrite(r.start,r.end,global._unit?"'./oracledb.js'":"'../build/Release/"+u+"'");return{transformed:true}}}}return{transformed:false}}},798:e=>{e.exports=function(e,t={},r=true){const s={computeBranches:r,sawIdentifier:false,vars:t};const a=walk(e);return{result:a,sawIdentifier:s.sawIdentifier};function walk(e){const t=o[e.type];if(t)return t.call(s,e,walk)}};const t=e.exports.UNKNOWN=Symbol();const r=e.exports.FUNCTION=Symbol();const s=e.exports.WILDCARD="";const a=e.exports.wildcardRegEx=/\x1a/g;function countWildcards(e){a.lastIndex=0;let t=0;while(a.exec(e))t++;return t}const o={ArrayExpression(e,t){const r=[];for(let s=0,a=e.elements.length;s")return{test:a.test,then:a.then>o,else:a.else>o};if(r===">=")return{test:a.test,then:a.then>=o,else:a.else>=o};if(r==="|")return{test:a.test,then:a.then|o,else:a.else|o};if(r==="&")return{test:a.test,then:a.then&o,else:a.else&o};if(r==="^")return{test:a.test,then:a.then^o,else:a.else^o};if(r==="&&")return{test:a.test,then:a.then&&o,else:a.else&&o};if(r==="||")return{test:a.test,then:a.then||o,else:a.else||o}}else if("test"in o){a=a.value;if(r==="==")return{test:o.test,then:a==o.then,else:a==o.else};if(r==="===")return{test:o.test,then:a===o.then,else:a===o.else};if(r==="!=")return{test:o.test,then:a!=o.then,else:a!=o.else};if(r==="!==")return{test:o.test,then:a!==o.then,else:a!==o.else};if(r==="+")return{test:o.test,then:a+o.then,else:a+o.else};if(r==="-")return{test:o.test,then:a-o.then,else:a-o.else};if(r==="*")return{test:o.test,then:a*o.then,else:a*o.else};if(r==="/")return{test:o.test,then:a/o.then,else:a/o.else};if(r==="%")return{test:o.test,then:a%o.then,else:a%o.else};if(r==="<")return{test:o.test,then:a")return{test:o.test,then:a>o.then,else:a>o.else};if(r===">=")return{test:o.test,then:a>=o.then,else:a>=o.else};if(r==="|")return{test:o.test,then:a|o.then,else:a|o.else};if(r==="&")return{test:o.test,then:a&o.then,else:a&o.else};if(r==="^")return{test:o.test,then:a^o.then,else:a^o.else};if(r==="&&")return{test:o.test,then:a&&o.then,else:a&&o.else};if(r==="||")return{test:o.test,then:a||o.then,else:a||o.else}}else{if(r==="==")return{value:a.value==o.value};if(r==="===")return{value:a.value===o.value};if(r==="!=")return{value:a.value!=o.value};if(r==="!==")return{value:a.value!==o.value};if(r==="+"){const e={value:a.value+o.value};if(a.wildcards||o.wildcards)e.wildcards=[...a.wildcards||[],...o.wildcards||[]];return e}if(r==="-")return{value:a.value-o.value};if(r==="*")return{value:a.value*o.value};if(r==="/")return{value:a.value/o.value};if(r==="%")return{value:a.value%o.value};if(r==="<")return{value:a.value")return{value:a.value>o.value};if(r===">=")return{value:a.value>=o.value};if(r==="|")return{value:a.value|o.value};if(r==="&")return{value:a.value&o.value};if(r==="^")return{value:a.value^o.value};if(r==="&&")return{value:a.value&&o.value};if(r==="||")return{value:a.value||o.value}}return},CallExpression(e,a){const o=a(e.callee);if(!o||"test"in o)return;let u=o.value;if(typeof u==="object"&&u!==null)u=u[r];if(typeof u!=="function")return;const c=e.callee.object&&a(e.callee.object).value||null;let h;let p=[];let d;let v=e.arguments.length>0;const m=[];for(let t=0,r=e.arguments.length;tm.push(e)))}else{if(!this.computeBranches)return;r={value:s};m.push(e.arguments[t])}if("test"in r){if(m.length)return;if(h)return;h=r.test;d=p.concat([]);p.push(r.then);d.push(r.else)}else{p.push(r.value);if(d)d.push(r.value)}}if(v)return;try{const e=u.apply(c,p);if(e===t)return;if(!h){if(m.length){if(typeof e!=="string"||countWildcards(e)!==m.length)return;return{value:e,wildcards:m}}return{value:e}}const r=u.apply(c,d);if(e===t)return;return{test:h,then:e,else:r}}catch(e){return}},ConditionalExpression(e,t){const r=t(e.test);if(r&&"value"in r)return r.value?t(e.consequent):t(e.alternate);if(!this.computeBranches)return;const s=t(e.consequent);if(!s||"wildcards"in s||"test"in s)return;const a=t(e.alternate);if(!a||"wildcards"in a||"test"in a)return;return{test:e.test,then:s.value,else:a.value}},ExpressionStatement(e,t){return t(e.expression)},Identifier(e){this.sawIdentifier=true;if(Object.hasOwnProperty.call(this.vars,e.name)){const r=this.vars[e.name];if(r===t)return;return{value:r}}return},Literal(e){return{value:e.value}},MemberExpression(e,r){const s=r(e.object);if(!s||"test"in s||typeof s.value==="function")return;if(e.property.type==="Identifier"){if(typeof s.value==="object"&&s.value!==null){if(e.property.name in s.value){const r=s.value[e.property.name];if(r===t)return;return{value:r}}else if(s.value[t])return}else{return{value:undefined}}}const a=r(e.property);if(!a||"test"in a)return;if(typeof s.value==="object"&&s.value!==null){if(a.value in s.value){const e=s.value[a.value];if(e===t)return;return{value:e}}else if(s.value[t]){return}}else{return{value:undefined}}},MetaProperty:function MetaProperty(e){if(e.meta.name==="import"&&e.property.name==="meta"){return{value:this.vars["import.meta"]}}return undefined},NewExpression:function NewExpression(e,t){const r=t(e.callee);if(r&&"value"in r&&r.value===URL&&e.arguments.length){const r=t(e.arguments[0]);if(!r)return undefined;let s=null;if(e.arguments[1]){s=t(e.arguments[1]);if(!s||!("value"in s))return undefined}if("value"in r){if(s){try{return{value:new URL(r.value,s.value)}}catch{return undefined}}try{return{value:new URL(r.value)}}catch{return undefined}}else{const e=r.test;if(s){try{return{test:e,then:new URL(r.then,s.value),else:new URL(r.else,s.value)}}catch{return undefined}}try{return{test:e,then:new URL(r.then),else:new URL(r.else)}}catch{return undefined}}}return undefined},ObjectExpression(e,r){const s={};for(let a=0;a{const{walk:s}=r(6465);function isUndefinedOrVoid(e){return e.type==="Identifier"&&e.name==="undefined"||e.type==="UnaryExpression"&&e.operator==="void"&&e.argument.type==="Literal"&&e.argument.value===0}function handleWrappers(e,t,r){let a=false;let o;if(e.body.length===1&&e.body[0].type==="ExpressionStatement"&&e.body[0].expression.type==="UnaryExpression"&&e.body[0].expression.operator==="!"&&e.body[0].expression.argument.type==="CallExpression"&&e.body[0].expression.argument.callee.type==="FunctionExpression"&&e.body[0].expression.argument.arguments.length===1)o=e.body[0].expression.argument;else if(e.body.length===1&&e.body[0].type==="ExpressionStatement"&&e.body[0].expression.type==="CallExpression"&&e.body[0].expression.callee.type==="FunctionExpression"&&e.body[0].expression.arguments.length===1)o=e.body[0].expression;else if(e.body.length===1&&e.body[0].type==="ExpressionStatement"&&e.body[0].expression.type==="AssgnmentExpression"&&e.body[0].expression.left.type==="MemberExpression"&&e.body[0].expression.left.object.type==="Identifier"&&e.body[0].expression.left.object.name==="module"&&e.body[0].expression.left.property.type==="Identifier"&&e.body[0].expression.left.property.name==="exports"&&e.body[0].expression.right.type==="CallExpression"&&e.body[0].expression.right.callee.type==="FunctionExpression"&&e.body[0].expression.right.arguments.length===1)o=e.body[0].expression.right;if(o){if(o.arguments[0].type==="ConditionalExpression"&&o.arguments[0].test.type==="LogicalExpression"&&o.arguments[0].test.operator==="&&"&&o.arguments[0].test.left.type==="BinaryExpression"&&o.arguments[0].test.left.operator==="==="&&o.arguments[0].test.left.left.type==="UnaryExpression"&&o.arguments[0].test.left.left.operator==="typeof"&&o.arguments[0].test.left.left.argument.name==="define"&&o.arguments[0].test.left.right.type==="Literal"&&o.arguments[0].test.left.right.value==="function"&&o.arguments[0].test.right.type==="MemberExpression"&&o.arguments[0].test.right.object.type==="Identifier"&&o.arguments[0].test.right.property.type==="Identifier"&&o.arguments[0].test.right.property.name==="amd"&&o.arguments[0].test.right.computed===false&&o.arguments[0].alternate.type==="FunctionExpression"&&o.arguments[0].alternate.params.length===1&&o.arguments[0].alternate.params[0].type==="Identifier"&&o.arguments[0].alternate.body.body.length===1&&o.arguments[0].alternate.body.body[0].type==="ExpressionStatement"&&o.arguments[0].alternate.body.body[0].expression.type==="AssignmentExpression"&&o.arguments[0].alternate.body.body[0].expression.left.type==="MemberExpression"&&o.arguments[0].alternate.body.body[0].expression.left.object.type==="Identifier"&&o.arguments[0].alternate.body.body[0].expression.left.object.name==="module"&&o.arguments[0].alternate.body.body[0].expression.left.property.type==="Identifier"&&o.arguments[0].alternate.body.body[0].expression.left.property.name==="exports"&&o.arguments[0].alternate.body.body[0].expression.left.computed===false&&o.arguments[0].alternate.body.body[0].expression.right.type==="CallExpression"&&o.arguments[0].alternate.body.body[0].expression.right.callee.type==="Identifier"&&o.arguments[0].alternate.body.body[0].expression.right.callee.name===o.arguments[0].alternate.params[0].name&&o.arguments[0].alternate.body.body[0].expression.right.arguments.length===1&&o.arguments[0].alternate.body.body[0].expression.right.arguments[0].type==="Identifier"&&o.arguments[0].alternate.body.body[0].expression.right.arguments[0].name==="require"){let e=o.callee.body.body;if(e[0].type==="ExpressionStatement"&&e[0].expression.type==="Literal"&&e[0].expression.value==="use strict"){e=e.slice(1)}if(e.length===1&&e[0].type==="ExpressionStatement"&&e[0].expression.type==="CallExpression"&&e[0].expression.callee.type==="Identifier"&&e[0].expression.callee.name===o.arguments[0].test.right.object.name&&e[0].expression.arguments.length===1&&e[0].expression.arguments[0].type==="FunctionExpression"&&e[0].expression.arguments[0].params.length===1&&e[0].expression.arguments[0].params[0].type==="Identifier"&&e[0].expression.arguments[0].params[0].name==="require"){r.remove(e[0].expression.arguments[0].params[0].start,e[0].expression.arguments[0].params[0].end);a=true}}else if(o.arguments[0].type==="FunctionExpression"&&o.arguments[0].params.length===0&&(o.arguments[0].body.body.length===1||o.arguments[0].body.body.length===2&&o.arguments[0].body.body[0].type==="VariableDeclaration"&&o.arguments[0].body.body[0].declarations.length===3&&o.arguments[0].body.body[0].declarations.every((e=>e.init===null&&e.id.type==="Identifier")))&&o.arguments[0].body.body[o.arguments[0].body.body.length-1].type==="ReturnStatement"&&o.arguments[0].body.body[o.arguments[0].body.body.length-1].argument.type==="CallExpression"&&o.arguments[0].body.body[o.arguments[0].body.body.length-1].argument.callee.type==="CallExpression"&&o.arguments[0].body.body[o.arguments[0].body.body.length-1].argument.arguments.length&&o.arguments[0].body.body[o.arguments[0].body.body.length-1].argument.arguments.every((e=>e.type==="Literal"&&typeof e.value==="number"))&&(o.arguments[0].body.body[o.arguments[0].body.body.length-1].argument.callee.callee.type==="FunctionExpression"||o.arguments[0].body.body[o.arguments[0].body.body.length-1].argument.callee.callee.type==="CallExpression"&&o.arguments[0].body.body[o.arguments[0].body.body.length-1].argument.callee.callee.callee.type==="FunctionExpression"&&o.arguments[0].body.body[o.arguments[0].body.body.length-1].argument.callee.callee.arguments.length===0)&&o.arguments[0].body.body[o.arguments[0].body.body.length-1].argument.callee.arguments.length===3&&o.arguments[0].body.body[o.arguments[0].body.body.length-1].argument.callee.arguments[0].type==="ObjectExpression"&&o.arguments[0].body.body[o.arguments[0].body.body.length-1].argument.callee.arguments[1].type==="ObjectExpression"&&o.arguments[0].body.body[o.arguments[0].body.body.length-1].argument.callee.arguments[2].type==="ArrayExpression"){const e=o.arguments[0].body.body[o.arguments[0].body.body.length-1].argument.callee.arguments[0].properties;const t=o.arguments[0].body.body[o.arguments[0].body.body.length-1].argument.callee.callee.type==="FunctionExpression"?o.arguments[0].body.body[o.arguments[0].body.body.length-1].argument.callee.callee:o.arguments[0].body.body[o.arguments[0].body.body.length-1].argument.callee.callee.callee.body.body[0];let s;if(t.type==="FunctionDeclaration")s=t.body;else if(t.type==="ReturnStatement")s=t.argument.body;if(s){const e=s.body[0].body.body[0].consequent.body[0].consequent.body[0].declarations[0].init;const t=s.body[1].init.declarations[0].init;e.right.name="_";t.right.name="_";r.overwrite(e.start,e.end,"__non_webpack_require__");r.overwrite(t.start,t.end,"__non_webpack_require__");a=true}const u={};if(e.every((e=>{if(e.type!=="Property"||e.computed!==false||e.key.type!=="Literal"||typeof e.key.value!=="number"||e.value.type!=="ArrayExpression"||e.value.elements.length!==2||e.value.elements[0].type!=="FunctionExpression"||e.value.elements[1].type!=="ObjectExpression")return false;const t=e.value.elements[1].properties;for(const e of t){if(e.type!=="Property"||e.value.type!=="Identifier"&&e.value.type!=="Literal"&&!isUndefinedOrVoid(e.value)||!(e.key.type==="Literal"&&typeof e.key.value==="string"||e.key.type==="Identifier")||e.computed)return false;if(isUndefinedOrVoid(e.value))u[e.key.value||e.key.name]=true}return true}))){const e=Object.keys(u);if(e.length){const t=(o.arguments[0].body.body[1]||o.arguments[0].body.body[0]).argument.callee.arguments[1];const s=e.map((e=>`"${e}": { exports: require("${e}") }`)).join(",\n ");r.appendRight(t.end-1,s);a=true}}}else if(o.arguments[0].type==="FunctionExpression"&&o.arguments[0].params.length===2&&o.arguments[0].params[0].type==="Identifier"&&o.arguments[0].params[1].type==="Identifier"&&o.callee.body.body.length===1){const e=o.callee.body.body[0];if(e.type==="IfStatement"&&e.test.type==="LogicalExpression"&&e.test.operator==="&&"&&e.test.left.type==="BinaryExpression"&&e.test.left.left.type==="UnaryExpression"&&e.test.left.left.operator==="typeof"&&e.test.left.left.argument.type==="Identifier"&&e.test.left.left.argument.name==="module"&&e.test.left.right.type==="Literal"&&e.test.left.right.value==="object"&&e.test.right.type==="BinaryExpression"&&e.test.right.left.type==="UnaryExpression"&&e.test.right.left.operator==="typeof"&&e.test.right.left.argument.type==="MemberExpression"&&e.test.right.left.argument.object.type==="Identifier"&&e.test.right.left.argument.object.name==="module"&&e.test.right.left.argument.property.type==="Identifier"&&e.test.right.left.argument.property.name==="exports"&&e.test.right.right.type==="Literal"&&e.test.right.right.value==="object"&&e.consequent.type==="BlockStatement"&&e.consequent.body.length>0){let t;if(e.consequent.body[0].type==="VariableDeclaration"&&e.consequent.body[0].declarations[0].init&&e.consequent.body[0].declarations[0].init.type==="CallExpression")t=e.consequent.body[0].declarations[0].init;else if(e.consequent.body[0].type==="ExpressionStatement"&&e.consequent.body[0].expression.type==="CallExpression")t=e.consequent.body[0].expression;else if(e.consequent.body[0].type==="ExpressionStatement"&&e.consequent.body[0].expression.type==="AssignmentExpression"&&e.consequent.body[0].expression.right.type==="CallExpression")t=e.consequent.body[0].expression.right;if(t&&t.callee.type==="Identifier"&&t.callee.name===o.callee.params[0].name&&t.arguments.length===2&&t.arguments[0].type==="Identifier"&&t.arguments[0].name==="require"&&t.arguments[1].type==="Identifier"&&t.arguments[1].name==="exports"){r.remove(o.arguments[0].params[0].start,o.arguments[0].params[o.arguments[0].params.length-1].end);a=true}}}else if(o.callee.type==="FunctionExpression"&&o.callee.params.length===1&&o.callee.body.body.length>2&&o.callee.body.body[0].type==="VariableDeclaration"&&o.callee.body.body[0].declarations.length===1&&o.callee.body.body[0].declarations[0].type==="VariableDeclarator"&&o.callee.body.body[0].declarations[0].id.type==="Identifier"&&o.callee.body.body[0].declarations[0].init.type==="ObjectExpression"&&o.callee.body.body[0].declarations[0].init.properties.length===0&&o.callee.body.body[1].type==="FunctionDeclaration"&&o.callee.body.body[1].params.length===1&&o.callee.body.body[1].body.body.length===3&&o.arguments[0].type==="ArrayExpression"&&o.arguments[0].elements.length>0&&o.arguments[0].elements.every((e=>e.type==="FunctionExpression"))){const e=new Map;for(let t=0;te===t)))s.arguments=s.arguments.map((r=>r===t?e:r));else if(s.init===t)s.init=e}}}})}}}}return{ast:e,scope:t,transformed:a}}e.exports=handleWrappers},282:e=>{"use strict";e.exports=JSON.parse('{"0.1.14":{"node_abi":null,"v8":"1.3"},"0.1.15":{"node_abi":null,"v8":"1.3"},"0.1.16":{"node_abi":null,"v8":"1.3"},"0.1.17":{"node_abi":null,"v8":"1.3"},"0.1.18":{"node_abi":null,"v8":"1.3"},"0.1.19":{"node_abi":null,"v8":"2.0"},"0.1.20":{"node_abi":null,"v8":"2.0"},"0.1.21":{"node_abi":null,"v8":"2.0"},"0.1.22":{"node_abi":null,"v8":"2.0"},"0.1.23":{"node_abi":null,"v8":"2.0"},"0.1.24":{"node_abi":null,"v8":"2.0"},"0.1.25":{"node_abi":null,"v8":"2.0"},"0.1.26":{"node_abi":null,"v8":"2.0"},"0.1.27":{"node_abi":null,"v8":"2.1"},"0.1.28":{"node_abi":null,"v8":"2.1"},"0.1.29":{"node_abi":null,"v8":"2.1"},"0.1.30":{"node_abi":null,"v8":"2.1"},"0.1.31":{"node_abi":null,"v8":"2.1"},"0.1.32":{"node_abi":null,"v8":"2.1"},"0.1.33":{"node_abi":null,"v8":"2.1"},"0.1.90":{"node_abi":null,"v8":"2.2"},"0.1.91":{"node_abi":null,"v8":"2.2"},"0.1.92":{"node_abi":null,"v8":"2.2"},"0.1.93":{"node_abi":null,"v8":"2.2"},"0.1.94":{"node_abi":null,"v8":"2.2"},"0.1.95":{"node_abi":null,"v8":"2.2"},"0.1.96":{"node_abi":null,"v8":"2.2"},"0.1.97":{"node_abi":null,"v8":"2.2"},"0.1.98":{"node_abi":null,"v8":"2.2"},"0.1.99":{"node_abi":null,"v8":"2.2"},"0.1.100":{"node_abi":null,"v8":"2.2"},"0.1.101":{"node_abi":null,"v8":"2.3"},"0.1.102":{"node_abi":null,"v8":"2.3"},"0.1.103":{"node_abi":null,"v8":"2.3"},"0.1.104":{"node_abi":null,"v8":"2.3"},"0.2.0":{"node_abi":1,"v8":"2.3"},"0.2.1":{"node_abi":1,"v8":"2.3"},"0.2.2":{"node_abi":1,"v8":"2.3"},"0.2.3":{"node_abi":1,"v8":"2.3"},"0.2.4":{"node_abi":1,"v8":"2.3"},"0.2.5":{"node_abi":1,"v8":"2.3"},"0.2.6":{"node_abi":1,"v8":"2.3"},"0.3.0":{"node_abi":1,"v8":"2.5"},"0.3.1":{"node_abi":1,"v8":"2.5"},"0.3.2":{"node_abi":1,"v8":"3.0"},"0.3.3":{"node_abi":1,"v8":"3.0"},"0.3.4":{"node_abi":1,"v8":"3.0"},"0.3.5":{"node_abi":1,"v8":"3.0"},"0.3.6":{"node_abi":1,"v8":"3.0"},"0.3.7":{"node_abi":1,"v8":"3.0"},"0.3.8":{"node_abi":1,"v8":"3.1"},"0.4.0":{"node_abi":1,"v8":"3.1"},"0.4.1":{"node_abi":1,"v8":"3.1"},"0.4.2":{"node_abi":1,"v8":"3.1"},"0.4.3":{"node_abi":1,"v8":"3.1"},"0.4.4":{"node_abi":1,"v8":"3.1"},"0.4.5":{"node_abi":1,"v8":"3.1"},"0.4.6":{"node_abi":1,"v8":"3.1"},"0.4.7":{"node_abi":1,"v8":"3.1"},"0.4.8":{"node_abi":1,"v8":"3.1"},"0.4.9":{"node_abi":1,"v8":"3.1"},"0.4.10":{"node_abi":1,"v8":"3.1"},"0.4.11":{"node_abi":1,"v8":"3.1"},"0.4.12":{"node_abi":1,"v8":"3.1"},"0.5.0":{"node_abi":1,"v8":"3.1"},"0.5.1":{"node_abi":1,"v8":"3.4"},"0.5.2":{"node_abi":1,"v8":"3.4"},"0.5.3":{"node_abi":1,"v8":"3.4"},"0.5.4":{"node_abi":1,"v8":"3.5"},"0.5.5":{"node_abi":1,"v8":"3.5"},"0.5.6":{"node_abi":1,"v8":"3.6"},"0.5.7":{"node_abi":1,"v8":"3.6"},"0.5.8":{"node_abi":1,"v8":"3.6"},"0.5.9":{"node_abi":1,"v8":"3.6"},"0.5.10":{"node_abi":1,"v8":"3.7"},"0.6.0":{"node_abi":1,"v8":"3.6"},"0.6.1":{"node_abi":1,"v8":"3.6"},"0.6.2":{"node_abi":1,"v8":"3.6"},"0.6.3":{"node_abi":1,"v8":"3.6"},"0.6.4":{"node_abi":1,"v8":"3.6"},"0.6.5":{"node_abi":1,"v8":"3.6"},"0.6.6":{"node_abi":1,"v8":"3.6"},"0.6.7":{"node_abi":1,"v8":"3.6"},"0.6.8":{"node_abi":1,"v8":"3.6"},"0.6.9":{"node_abi":1,"v8":"3.6"},"0.6.10":{"node_abi":1,"v8":"3.6"},"0.6.11":{"node_abi":1,"v8":"3.6"},"0.6.12":{"node_abi":1,"v8":"3.6"},"0.6.13":{"node_abi":1,"v8":"3.6"},"0.6.14":{"node_abi":1,"v8":"3.6"},"0.6.15":{"node_abi":1,"v8":"3.6"},"0.6.16":{"node_abi":1,"v8":"3.6"},"0.6.17":{"node_abi":1,"v8":"3.6"},"0.6.18":{"node_abi":1,"v8":"3.6"},"0.6.19":{"node_abi":1,"v8":"3.6"},"0.6.20":{"node_abi":1,"v8":"3.6"},"0.6.21":{"node_abi":1,"v8":"3.6"},"0.7.0":{"node_abi":1,"v8":"3.8"},"0.7.1":{"node_abi":1,"v8":"3.8"},"0.7.2":{"node_abi":1,"v8":"3.8"},"0.7.3":{"node_abi":1,"v8":"3.9"},"0.7.4":{"node_abi":1,"v8":"3.9"},"0.7.5":{"node_abi":1,"v8":"3.9"},"0.7.6":{"node_abi":1,"v8":"3.9"},"0.7.7":{"node_abi":1,"v8":"3.9"},"0.7.8":{"node_abi":1,"v8":"3.9"},"0.7.9":{"node_abi":1,"v8":"3.11"},"0.7.10":{"node_abi":1,"v8":"3.9"},"0.7.11":{"node_abi":1,"v8":"3.11"},"0.7.12":{"node_abi":1,"v8":"3.11"},"0.8.0":{"node_abi":1,"v8":"3.11"},"0.8.1":{"node_abi":1,"v8":"3.11"},"0.8.2":{"node_abi":1,"v8":"3.11"},"0.8.3":{"node_abi":1,"v8":"3.11"},"0.8.4":{"node_abi":1,"v8":"3.11"},"0.8.5":{"node_abi":1,"v8":"3.11"},"0.8.6":{"node_abi":1,"v8":"3.11"},"0.8.7":{"node_abi":1,"v8":"3.11"},"0.8.8":{"node_abi":1,"v8":"3.11"},"0.8.9":{"node_abi":1,"v8":"3.11"},"0.8.10":{"node_abi":1,"v8":"3.11"},"0.8.11":{"node_abi":1,"v8":"3.11"},"0.8.12":{"node_abi":1,"v8":"3.11"},"0.8.13":{"node_abi":1,"v8":"3.11"},"0.8.14":{"node_abi":1,"v8":"3.11"},"0.8.15":{"node_abi":1,"v8":"3.11"},"0.8.16":{"node_abi":1,"v8":"3.11"},"0.8.17":{"node_abi":1,"v8":"3.11"},"0.8.18":{"node_abi":1,"v8":"3.11"},"0.8.19":{"node_abi":1,"v8":"3.11"},"0.8.20":{"node_abi":1,"v8":"3.11"},"0.8.21":{"node_abi":1,"v8":"3.11"},"0.8.22":{"node_abi":1,"v8":"3.11"},"0.8.23":{"node_abi":1,"v8":"3.11"},"0.8.24":{"node_abi":1,"v8":"3.11"},"0.8.25":{"node_abi":1,"v8":"3.11"},"0.8.26":{"node_abi":1,"v8":"3.11"},"0.8.27":{"node_abi":1,"v8":"3.11"},"0.8.28":{"node_abi":1,"v8":"3.11"},"0.9.0":{"node_abi":1,"v8":"3.11"},"0.9.1":{"node_abi":10,"v8":"3.11"},"0.9.2":{"node_abi":10,"v8":"3.11"},"0.9.3":{"node_abi":10,"v8":"3.13"},"0.9.4":{"node_abi":10,"v8":"3.13"},"0.9.5":{"node_abi":10,"v8":"3.13"},"0.9.6":{"node_abi":10,"v8":"3.15"},"0.9.7":{"node_abi":10,"v8":"3.15"},"0.9.8":{"node_abi":10,"v8":"3.15"},"0.9.9":{"node_abi":11,"v8":"3.15"},"0.9.10":{"node_abi":11,"v8":"3.15"},"0.9.11":{"node_abi":11,"v8":"3.14"},"0.9.12":{"node_abi":11,"v8":"3.14"},"0.10.0":{"node_abi":11,"v8":"3.14"},"0.10.1":{"node_abi":11,"v8":"3.14"},"0.10.2":{"node_abi":11,"v8":"3.14"},"0.10.3":{"node_abi":11,"v8":"3.14"},"0.10.4":{"node_abi":11,"v8":"3.14"},"0.10.5":{"node_abi":11,"v8":"3.14"},"0.10.6":{"node_abi":11,"v8":"3.14"},"0.10.7":{"node_abi":11,"v8":"3.14"},"0.10.8":{"node_abi":11,"v8":"3.14"},"0.10.9":{"node_abi":11,"v8":"3.14"},"0.10.10":{"node_abi":11,"v8":"3.14"},"0.10.11":{"node_abi":11,"v8":"3.14"},"0.10.12":{"node_abi":11,"v8":"3.14"},"0.10.13":{"node_abi":11,"v8":"3.14"},"0.10.14":{"node_abi":11,"v8":"3.14"},"0.10.15":{"node_abi":11,"v8":"3.14"},"0.10.16":{"node_abi":11,"v8":"3.14"},"0.10.17":{"node_abi":11,"v8":"3.14"},"0.10.18":{"node_abi":11,"v8":"3.14"},"0.10.19":{"node_abi":11,"v8":"3.14"},"0.10.20":{"node_abi":11,"v8":"3.14"},"0.10.21":{"node_abi":11,"v8":"3.14"},"0.10.22":{"node_abi":11,"v8":"3.14"},"0.10.23":{"node_abi":11,"v8":"3.14"},"0.10.24":{"node_abi":11,"v8":"3.14"},"0.10.25":{"node_abi":11,"v8":"3.14"},"0.10.26":{"node_abi":11,"v8":"3.14"},"0.10.27":{"node_abi":11,"v8":"3.14"},"0.10.28":{"node_abi":11,"v8":"3.14"},"0.10.29":{"node_abi":11,"v8":"3.14"},"0.10.30":{"node_abi":11,"v8":"3.14"},"0.10.31":{"node_abi":11,"v8":"3.14"},"0.10.32":{"node_abi":11,"v8":"3.14"},"0.10.33":{"node_abi":11,"v8":"3.14"},"0.10.34":{"node_abi":11,"v8":"3.14"},"0.10.35":{"node_abi":11,"v8":"3.14"},"0.10.36":{"node_abi":11,"v8":"3.14"},"0.10.37":{"node_abi":11,"v8":"3.14"},"0.10.38":{"node_abi":11,"v8":"3.14"},"0.10.39":{"node_abi":11,"v8":"3.14"},"0.10.40":{"node_abi":11,"v8":"3.14"},"0.10.41":{"node_abi":11,"v8":"3.14"},"0.10.42":{"node_abi":11,"v8":"3.14"},"0.10.43":{"node_abi":11,"v8":"3.14"},"0.10.44":{"node_abi":11,"v8":"3.14"},"0.10.45":{"node_abi":11,"v8":"3.14"},"0.10.46":{"node_abi":11,"v8":"3.14"},"0.10.47":{"node_abi":11,"v8":"3.14"},"0.10.48":{"node_abi":11,"v8":"3.14"},"0.11.0":{"node_abi":12,"v8":"3.17"},"0.11.1":{"node_abi":12,"v8":"3.18"},"0.11.2":{"node_abi":12,"v8":"3.19"},"0.11.3":{"node_abi":12,"v8":"3.19"},"0.11.4":{"node_abi":12,"v8":"3.20"},"0.11.5":{"node_abi":12,"v8":"3.20"},"0.11.6":{"node_abi":12,"v8":"3.20"},"0.11.7":{"node_abi":12,"v8":"3.20"},"0.11.8":{"node_abi":13,"v8":"3.21"},"0.11.9":{"node_abi":13,"v8":"3.22"},"0.11.10":{"node_abi":13,"v8":"3.22"},"0.11.11":{"node_abi":14,"v8":"3.22"},"0.11.12":{"node_abi":14,"v8":"3.22"},"0.11.13":{"node_abi":14,"v8":"3.25"},"0.11.14":{"node_abi":14,"v8":"3.26"},"0.11.15":{"node_abi":14,"v8":"3.28"},"0.11.16":{"node_abi":14,"v8":"3.28"},"0.12.0":{"node_abi":14,"v8":"3.28"},"0.12.1":{"node_abi":14,"v8":"3.28"},"0.12.2":{"node_abi":14,"v8":"3.28"},"0.12.3":{"node_abi":14,"v8":"3.28"},"0.12.4":{"node_abi":14,"v8":"3.28"},"0.12.5":{"node_abi":14,"v8":"3.28"},"0.12.6":{"node_abi":14,"v8":"3.28"},"0.12.7":{"node_abi":14,"v8":"3.28"},"0.12.8":{"node_abi":14,"v8":"3.28"},"0.12.9":{"node_abi":14,"v8":"3.28"},"0.12.10":{"node_abi":14,"v8":"3.28"},"0.12.11":{"node_abi":14,"v8":"3.28"},"0.12.12":{"node_abi":14,"v8":"3.28"},"0.12.13":{"node_abi":14,"v8":"3.28"},"0.12.14":{"node_abi":14,"v8":"3.28"},"0.12.15":{"node_abi":14,"v8":"3.28"},"0.12.16":{"node_abi":14,"v8":"3.28"},"0.12.17":{"node_abi":14,"v8":"3.28"},"0.12.18":{"node_abi":14,"v8":"3.28"},"1.0.0":{"node_abi":42,"v8":"3.31"},"1.0.1":{"node_abi":42,"v8":"3.31"},"1.0.2":{"node_abi":42,"v8":"3.31"},"1.0.3":{"node_abi":42,"v8":"4.1"},"1.0.4":{"node_abi":42,"v8":"4.1"},"1.1.0":{"node_abi":43,"v8":"4.1"},"1.2.0":{"node_abi":43,"v8":"4.1"},"1.3.0":{"node_abi":43,"v8":"4.1"},"1.4.1":{"node_abi":43,"v8":"4.1"},"1.4.2":{"node_abi":43,"v8":"4.1"},"1.4.3":{"node_abi":43,"v8":"4.1"},"1.5.0":{"node_abi":43,"v8":"4.1"},"1.5.1":{"node_abi":43,"v8":"4.1"},"1.6.0":{"node_abi":43,"v8":"4.1"},"1.6.1":{"node_abi":43,"v8":"4.1"},"1.6.2":{"node_abi":43,"v8":"4.1"},"1.6.3":{"node_abi":43,"v8":"4.1"},"1.6.4":{"node_abi":43,"v8":"4.1"},"1.7.1":{"node_abi":43,"v8":"4.1"},"1.8.1":{"node_abi":43,"v8":"4.1"},"1.8.2":{"node_abi":43,"v8":"4.1"},"1.8.3":{"node_abi":43,"v8":"4.1"},"1.8.4":{"node_abi":43,"v8":"4.1"},"2.0.0":{"node_abi":44,"v8":"4.2"},"2.0.1":{"node_abi":44,"v8":"4.2"},"2.0.2":{"node_abi":44,"v8":"4.2"},"2.1.0":{"node_abi":44,"v8":"4.2"},"2.2.0":{"node_abi":44,"v8":"4.2"},"2.2.1":{"node_abi":44,"v8":"4.2"},"2.3.0":{"node_abi":44,"v8":"4.2"},"2.3.1":{"node_abi":44,"v8":"4.2"},"2.3.2":{"node_abi":44,"v8":"4.2"},"2.3.3":{"node_abi":44,"v8":"4.2"},"2.3.4":{"node_abi":44,"v8":"4.2"},"2.4.0":{"node_abi":44,"v8":"4.2"},"2.5.0":{"node_abi":44,"v8":"4.2"},"3.0.0":{"node_abi":45,"v8":"4.4"},"3.1.0":{"node_abi":45,"v8":"4.4"},"3.2.0":{"node_abi":45,"v8":"4.4"},"3.3.0":{"node_abi":45,"v8":"4.4"},"3.3.1":{"node_abi":45,"v8":"4.4"},"4.0.0":{"node_abi":46,"v8":"4.5"},"4.1.0":{"node_abi":46,"v8":"4.5"},"4.1.1":{"node_abi":46,"v8":"4.5"},"4.1.2":{"node_abi":46,"v8":"4.5"},"4.2.0":{"node_abi":46,"v8":"4.5"},"4.2.1":{"node_abi":46,"v8":"4.5"},"4.2.2":{"node_abi":46,"v8":"4.5"},"4.2.3":{"node_abi":46,"v8":"4.5"},"4.2.4":{"node_abi":46,"v8":"4.5"},"4.2.5":{"node_abi":46,"v8":"4.5"},"4.2.6":{"node_abi":46,"v8":"4.5"},"4.3.0":{"node_abi":46,"v8":"4.5"},"4.3.1":{"node_abi":46,"v8":"4.5"},"4.3.2":{"node_abi":46,"v8":"4.5"},"4.4.0":{"node_abi":46,"v8":"4.5"},"4.4.1":{"node_abi":46,"v8":"4.5"},"4.4.2":{"node_abi":46,"v8":"4.5"},"4.4.3":{"node_abi":46,"v8":"4.5"},"4.4.4":{"node_abi":46,"v8":"4.5"},"4.4.5":{"node_abi":46,"v8":"4.5"},"4.4.6":{"node_abi":46,"v8":"4.5"},"4.4.7":{"node_abi":46,"v8":"4.5"},"4.5.0":{"node_abi":46,"v8":"4.5"},"4.6.0":{"node_abi":46,"v8":"4.5"},"4.6.1":{"node_abi":46,"v8":"4.5"},"4.6.2":{"node_abi":46,"v8":"4.5"},"4.7.0":{"node_abi":46,"v8":"4.5"},"4.7.1":{"node_abi":46,"v8":"4.5"},"4.7.2":{"node_abi":46,"v8":"4.5"},"4.7.3":{"node_abi":46,"v8":"4.5"},"4.8.0":{"node_abi":46,"v8":"4.5"},"4.8.1":{"node_abi":46,"v8":"4.5"},"4.8.2":{"node_abi":46,"v8":"4.5"},"4.8.3":{"node_abi":46,"v8":"4.5"},"4.8.4":{"node_abi":46,"v8":"4.5"},"4.8.5":{"node_abi":46,"v8":"4.5"},"4.8.6":{"node_abi":46,"v8":"4.5"},"4.8.7":{"node_abi":46,"v8":"4.5"},"4.9.0":{"node_abi":46,"v8":"4.5"},"4.9.1":{"node_abi":46,"v8":"4.5"},"5.0.0":{"node_abi":47,"v8":"4.6"},"5.1.0":{"node_abi":47,"v8":"4.6"},"5.1.1":{"node_abi":47,"v8":"4.6"},"5.2.0":{"node_abi":47,"v8":"4.6"},"5.3.0":{"node_abi":47,"v8":"4.6"},"5.4.0":{"node_abi":47,"v8":"4.6"},"5.4.1":{"node_abi":47,"v8":"4.6"},"5.5.0":{"node_abi":47,"v8":"4.6"},"5.6.0":{"node_abi":47,"v8":"4.6"},"5.7.0":{"node_abi":47,"v8":"4.6"},"5.7.1":{"node_abi":47,"v8":"4.6"},"5.8.0":{"node_abi":47,"v8":"4.6"},"5.9.0":{"node_abi":47,"v8":"4.6"},"5.9.1":{"node_abi":47,"v8":"4.6"},"5.10.0":{"node_abi":47,"v8":"4.6"},"5.10.1":{"node_abi":47,"v8":"4.6"},"5.11.0":{"node_abi":47,"v8":"4.6"},"5.11.1":{"node_abi":47,"v8":"4.6"},"5.12.0":{"node_abi":47,"v8":"4.6"},"6.0.0":{"node_abi":48,"v8":"5.0"},"6.1.0":{"node_abi":48,"v8":"5.0"},"6.2.0":{"node_abi":48,"v8":"5.0"},"6.2.1":{"node_abi":48,"v8":"5.0"},"6.2.2":{"node_abi":48,"v8":"5.0"},"6.3.0":{"node_abi":48,"v8":"5.0"},"6.3.1":{"node_abi":48,"v8":"5.0"},"6.4.0":{"node_abi":48,"v8":"5.0"},"6.5.0":{"node_abi":48,"v8":"5.1"},"6.6.0":{"node_abi":48,"v8":"5.1"},"6.7.0":{"node_abi":48,"v8":"5.1"},"6.8.0":{"node_abi":48,"v8":"5.1"},"6.8.1":{"node_abi":48,"v8":"5.1"},"6.9.0":{"node_abi":48,"v8":"5.1"},"6.9.1":{"node_abi":48,"v8":"5.1"},"6.9.2":{"node_abi":48,"v8":"5.1"},"6.9.3":{"node_abi":48,"v8":"5.1"},"6.9.4":{"node_abi":48,"v8":"5.1"},"6.9.5":{"node_abi":48,"v8":"5.1"},"6.10.0":{"node_abi":48,"v8":"5.1"},"6.10.1":{"node_abi":48,"v8":"5.1"},"6.10.2":{"node_abi":48,"v8":"5.1"},"6.10.3":{"node_abi":48,"v8":"5.1"},"6.11.0":{"node_abi":48,"v8":"5.1"},"6.11.1":{"node_abi":48,"v8":"5.1"},"6.11.2":{"node_abi":48,"v8":"5.1"},"6.11.3":{"node_abi":48,"v8":"5.1"},"6.11.4":{"node_abi":48,"v8":"5.1"},"6.11.5":{"node_abi":48,"v8":"5.1"},"6.12.0":{"node_abi":48,"v8":"5.1"},"6.12.1":{"node_abi":48,"v8":"5.1"},"6.12.2":{"node_abi":48,"v8":"5.1"},"6.12.3":{"node_abi":48,"v8":"5.1"},"6.13.0":{"node_abi":48,"v8":"5.1"},"6.13.1":{"node_abi":48,"v8":"5.1"},"6.14.0":{"node_abi":48,"v8":"5.1"},"6.14.1":{"node_abi":48,"v8":"5.1"},"6.14.2":{"node_abi":48,"v8":"5.1"},"6.14.3":{"node_abi":48,"v8":"5.1"},"6.14.4":{"node_abi":48,"v8":"5.1"},"7.0.0":{"node_abi":51,"v8":"5.4"},"7.1.0":{"node_abi":51,"v8":"5.4"},"7.2.0":{"node_abi":51,"v8":"5.4"},"7.2.1":{"node_abi":51,"v8":"5.4"},"7.3.0":{"node_abi":51,"v8":"5.4"},"7.4.0":{"node_abi":51,"v8":"5.4"},"7.5.0":{"node_abi":51,"v8":"5.4"},"7.6.0":{"node_abi":51,"v8":"5.5"},"7.7.0":{"node_abi":51,"v8":"5.5"},"7.7.1":{"node_abi":51,"v8":"5.5"},"7.7.2":{"node_abi":51,"v8":"5.5"},"7.7.3":{"node_abi":51,"v8":"5.5"},"7.7.4":{"node_abi":51,"v8":"5.5"},"7.8.0":{"node_abi":51,"v8":"5.5"},"7.9.0":{"node_abi":51,"v8":"5.5"},"7.10.0":{"node_abi":51,"v8":"5.5"},"7.10.1":{"node_abi":51,"v8":"5.5"},"8.0.0":{"node_abi":57,"v8":"5.8"},"8.1.0":{"node_abi":57,"v8":"5.8"},"8.1.1":{"node_abi":57,"v8":"5.8"},"8.1.2":{"node_abi":57,"v8":"5.8"},"8.1.3":{"node_abi":57,"v8":"5.8"},"8.1.4":{"node_abi":57,"v8":"5.8"},"8.2.0":{"node_abi":57,"v8":"5.8"},"8.2.1":{"node_abi":57,"v8":"5.8"},"8.3.0":{"node_abi":57,"v8":"6.0"},"8.4.0":{"node_abi":57,"v8":"6.0"},"8.5.0":{"node_abi":57,"v8":"6.0"},"8.6.0":{"node_abi":57,"v8":"6.0"},"8.7.0":{"node_abi":57,"v8":"6.1"},"8.8.0":{"node_abi":57,"v8":"6.1"},"8.8.1":{"node_abi":57,"v8":"6.1"},"8.9.0":{"node_abi":57,"v8":"6.1"},"8.9.1":{"node_abi":57,"v8":"6.1"},"8.9.2":{"node_abi":57,"v8":"6.1"},"8.9.3":{"node_abi":57,"v8":"6.1"},"8.9.4":{"node_abi":57,"v8":"6.1"},"8.10.0":{"node_abi":57,"v8":"6.2"},"8.11.0":{"node_abi":57,"v8":"6.2"},"8.11.1":{"node_abi":57,"v8":"6.2"},"8.11.2":{"node_abi":57,"v8":"6.2"},"8.11.3":{"node_abi":57,"v8":"6.2"},"8.11.4":{"node_abi":57,"v8":"6.2"},"8.12.0":{"node_abi":57,"v8":"6.2"},"9.0.0":{"node_abi":59,"v8":"6.2"},"9.1.0":{"node_abi":59,"v8":"6.2"},"9.2.0":{"node_abi":59,"v8":"6.2"},"9.2.1":{"node_abi":59,"v8":"6.2"},"9.3.0":{"node_abi":59,"v8":"6.2"},"9.4.0":{"node_abi":59,"v8":"6.2"},"9.5.0":{"node_abi":59,"v8":"6.2"},"9.6.0":{"node_abi":59,"v8":"6.2"},"9.6.1":{"node_abi":59,"v8":"6.2"},"9.7.0":{"node_abi":59,"v8":"6.2"},"9.7.1":{"node_abi":59,"v8":"6.2"},"9.8.0":{"node_abi":59,"v8":"6.2"},"9.9.0":{"node_abi":59,"v8":"6.2"},"9.10.0":{"node_abi":59,"v8":"6.2"},"9.10.1":{"node_abi":59,"v8":"6.2"},"9.11.0":{"node_abi":59,"v8":"6.2"},"9.11.1":{"node_abi":59,"v8":"6.2"},"9.11.2":{"node_abi":59,"v8":"6.2"},"10.0.0":{"node_abi":64,"v8":"6.6"},"10.1.0":{"node_abi":64,"v8":"6.6"},"10.2.0":{"node_abi":64,"v8":"6.6"},"10.2.1":{"node_abi":64,"v8":"6.6"},"10.3.0":{"node_abi":64,"v8":"6.6"},"10.4.0":{"node_abi":64,"v8":"6.7"},"10.4.1":{"node_abi":64,"v8":"6.7"},"10.5.0":{"node_abi":64,"v8":"6.7"},"10.6.0":{"node_abi":64,"v8":"6.7"},"10.7.0":{"node_abi":64,"v8":"6.7"},"10.8.0":{"node_abi":64,"v8":"6.7"},"10.9.0":{"node_abi":64,"v8":"6.8"},"10.10.0":{"node_abi":64,"v8":"6.8"},"10.11.0":{"node_abi":64,"v8":"6.8"},"10.12.0":{"node_abi":64,"v8":"6.8"},"10.13.0":{"node_abi":64,"v8":"6.8"},"11.0.0":{"node_abi":67,"v8":"7.0"},"11.1.0":{"node_abi":67,"v8":"7.0"}}')},5537:e=>{"use strict";e.exports=JSON.parse('{"assert":true,"async_hooks":">= 8","buffer_ieee754":"< 0.9.7","buffer":true,"child_process":true,"cluster":true,"console":true,"constants":true,"crypto":true,"_debugger":"< 8","dgram":true,"dns":true,"domain":true,"events":true,"freelist":"< 6","fs":true,"fs/promises":">= 10 && < 10.1","_http_agent":">= 0.11.1","_http_client":">= 0.11.1","_http_common":">= 0.11.1","_http_incoming":">= 0.11.1","_http_outgoing":">= 0.11.1","_http_server":">= 0.11.1","http":true,"http2":">= 8.8","https":true,"inspector":">= 8.0.0","_linklist":"< 8","module":true,"net":true,"node-inspect/lib/_inspect":">= 7.6.0","node-inspect/lib/internal/inspect_client":">= 7.6.0","node-inspect/lib/internal/inspect_repl":">= 7.6.0","os":true,"path":true,"perf_hooks":">= 8.5","process":">= 1","punycode":true,"querystring":true,"readline":true,"repl":true,"smalloc":">= 0.11.5 && < 3","_stream_duplex":">= 0.9.4","_stream_transform":">= 0.9.4","_stream_wrap":">= 1.4.1","_stream_passthrough":">= 0.9.4","_stream_readable":">= 0.9.4","_stream_writable":">= 0.9.4","stream":true,"string_decoder":true,"sys":true,"timers":true,"_tls_common":">= 0.11.13","_tls_legacy":">= 0.11.3 && < 10","_tls_wrap":">= 0.11.3","tls":true,"trace_events":">= 10","tty":true,"url":true,"util":true,"v8/tools/arguments":">= 10","v8/tools/codemap":[">= 4.4.0 && < 5",">= 5.2.0"],"v8/tools/consarray":[">= 4.4.0 && < 5",">= 5.2.0"],"v8/tools/csvparser":[">= 4.4.0 && < 5",">= 5.2.0"],"v8/tools/logreader":[">= 4.4.0 && < 5",">= 5.2.0"],"v8/tools/profile_view":[">= 4.4.0 && < 5",">= 5.2.0"],"v8/tools/splaytree":[">= 4.4.0 && < 5",">= 5.2.0"],"v8":">= 1","vm":true,"worker_threads":">= 11.7","zlib":true}')},2357:e=>{"use strict";e.exports=__webpack_require__(357)},4293:e=>{"use strict";e.exports=__webpack_require__(293)},3129:e=>{"use strict";e.exports=__webpack_require__(129)},7619:e=>{"use strict";e.exports=__webpack_require__(619)},6417:e=>{"use strict";e.exports=__webpack_require__(417)},8614:e=>{"use strict";e.exports=__webpack_require__(614)},5747:e=>{"use strict";e.exports=__webpack_require__(747)},2087:e=>{"use strict";e.exports=__webpack_require__(87)},5622:e=>{"use strict";e.exports=__webpack_require__(622)},2413:e=>{"use strict";e.exports=__webpack_require__(413)},8835:e=>{"use strict";e.exports=__webpack_require__(835)},1669:e=>{"use strict";e.exports=__webpack_require__(669)}};var __webpack_module_cache__={};function __nested_webpack_require_970479__(e){if(__webpack_module_cache__[e]){return __webpack_module_cache__[e].exports}var t=__webpack_module_cache__[e]={exports:{}};var r=true;try{__webpack_modules__[e].call(t.exports,t,t.exports,__nested_webpack_require_970479__);r=false}finally{if(r)delete __webpack_module_cache__[e]}return t.exports}__nested_webpack_require_970479__.ab=__dirname+"/";return __nested_webpack_require_970479__(6265)})()},300:(e,t,r)=>{e.exports=r(901)},357:e=>{"use strict";e.exports=require("assert")},293:e=>{"use strict";e.exports=require("buffer")},129:e=>{"use strict";e.exports=require("child_process")},619:e=>{"use strict";e.exports=require("constants")},417:e=>{"use strict";e.exports=require("crypto")},614:e=>{"use strict";e.exports=require("events")},747:e=>{"use strict";e.exports=require("fs")},87:e=>{"use strict";e.exports=require("os")},622:e=>{"use strict";e.exports=require("path")},413:e=>{"use strict";e.exports=require("stream")},835:e=>{"use strict";e.exports=require("url")},669:e=>{"use strict";e.exports=require("util")}};var __webpack_module_cache__={};function __webpack_require__(e){var t=__webpack_module_cache__[e];if(t!==undefined){return t.exports}var r=__webpack_module_cache__[e]={exports:{}};var s=true;try{__webpack_modules__[e](r,r.exports,__webpack_require__);s=false}finally{if(s)delete __webpack_module_cache__[e]}return r.exports}if(typeof __webpack_require__!=="undefined")__webpack_require__.ab=__dirname+"/";var __webpack_exports__=__webpack_require__(300);module.exports=__webpack_exports__})(); \ No newline at end of file diff --git a/node_modules/@vercel/ncc/dist/ncc/loaders/shebang-loader.js b/node_modules/@vercel/ncc/dist/ncc/loaders/shebang-loader.js deleted file mode 100644 index a904f52..0000000 --- a/node_modules/@vercel/ncc/dist/ncc/loaders/shebang-loader.js +++ /dev/null @@ -1,8 +0,0 @@ -const { readFileSync, writeFileSync } = require('fs'), { Script } = require('vm'), { wrap } = require('module'); -const basename = __dirname + '/shebang-loader.js'; -const source = readFileSync(basename + '.cache.js', 'utf-8'); -const cachedData = !process.pkg && require('process').platform !== 'win32' && readFileSync(basename + '.cache'); -const scriptOpts = { filename: basename + '.cache.js', columnOffset: -62 } -const script = new Script(wrap(source), cachedData ? Object.assign({ cachedData }, scriptOpts) : scriptOpts); -(script.runInThisContext())(exports, require, module, __filename, __dirname); -if (cachedData) process.on('exit', () => { try { writeFileSync(basename + '.cache', script.createCachedData()); } catch(e) {} }); diff --git a/node_modules/@vercel/ncc/dist/ncc/loaders/shebang-loader.js.cache b/node_modules/@vercel/ncc/dist/ncc/loaders/shebang-loader.js.cache deleted file mode 100644 index f2f4323..0000000 Binary files a/node_modules/@vercel/ncc/dist/ncc/loaders/shebang-loader.js.cache and /dev/null differ diff --git a/node_modules/@vercel/ncc/dist/ncc/loaders/shebang-loader.js.cache.js b/node_modules/@vercel/ncc/dist/ncc/loaders/shebang-loader.js.cache.js deleted file mode 100644 index 1a66cd1..0000000 --- a/node_modules/@vercel/ncc/dist/ncc/loaders/shebang-loader.js.cache.js +++ /dev/null @@ -1 +0,0 @@ -(()=>{var e={170:e=>{e.exports=function(e){this.cacheable&&this.cacheable();if(typeof e==="string"&&/^#!/.test(e)){e=e.replace(/^#![^\n\r]*[\r\n]/,"")}return e}},431:(e,r,_)=>{e.exports=_(170)}};var r={};function __webpack_require__(_){var t=r[_];if(t!==undefined){return t.exports}var a=r[_]={exports:{}};var i=true;try{e[_](a,a.exports,__webpack_require__);i=false}finally{if(i)delete r[_]}return a.exports}if(typeof __webpack_require__!=="undefined")__webpack_require__.ab=__dirname+"/";var _=__webpack_require__(431);module.exports=_})(); \ No newline at end of file diff --git a/node_modules/@vercel/ncc/dist/ncc/loaders/ts-loader.js b/node_modules/@vercel/ncc/dist/ncc/loaders/ts-loader.js deleted file mode 100644 index d8cb47f..0000000 --- a/node_modules/@vercel/ncc/dist/ncc/loaders/ts-loader.js +++ /dev/null @@ -1,8 +0,0 @@ -const { readFileSync, writeFileSync } = require('fs'), { Script } = require('vm'), { wrap } = require('module'); -const basename = __dirname + '/ts-loader.js'; -const source = readFileSync(basename + '.cache.js', 'utf-8'); -const cachedData = !process.pkg && require('process').platform !== 'win32' && readFileSync(basename + '.cache'); -const scriptOpts = { filename: basename + '.cache.js', columnOffset: -62 } -const script = new Script(wrap(source), cachedData ? Object.assign({ cachedData }, scriptOpts) : scriptOpts); -(script.runInThisContext())(exports, require, module, __filename, __dirname); -if (cachedData) process.on('exit', () => { try { writeFileSync(basename + '.cache', script.createCachedData()); } catch(e) {} }); diff --git a/node_modules/@vercel/ncc/dist/ncc/loaders/ts-loader.js.cache b/node_modules/@vercel/ncc/dist/ncc/loaders/ts-loader.js.cache deleted file mode 100644 index f535505..0000000 Binary files a/node_modules/@vercel/ncc/dist/ncc/loaders/ts-loader.js.cache and /dev/null differ diff --git a/node_modules/@vercel/ncc/dist/ncc/loaders/ts-loader.js.cache.js b/node_modules/@vercel/ncc/dist/ncc/loaders/ts-loader.js.cache.js deleted file mode 100644 index 7f6189b..0000000 --- a/node_modules/@vercel/ncc/dist/ncc/loaders/ts-loader.js.cache.js +++ /dev/null @@ -1,62 +0,0 @@ -(()=>{var __webpack_modules__={66835:S=>{"use strict";S.exports=JSON.parse('{"$schema":"http://json-schema.org/draft-07/schema#","$id":"https://raw.githubusercontent.com/ajv-validator/ajv/master/lib/refs/data.json#","description":"Meta-schema for $data reference (JSON Schema extension proposal)","type":"object","required":["$data"],"properties":{"$data":{"type":"string","anyOf":[{"format":"relative-json-pointer"},{"format":"json-pointer"}]}},"additionalProperties":false}')},40038:S=>{"use strict";S.exports=JSON.parse('{"$schema":"http://json-schema.org/draft-07/schema#","$id":"http://json-schema.org/draft-07/schema#","title":"Core schema meta-schema","definitions":{"schemaArray":{"type":"array","minItems":1,"items":{"$ref":"#"}},"nonNegativeInteger":{"type":"integer","minimum":0},"nonNegativeIntegerDefault0":{"allOf":[{"$ref":"#/definitions/nonNegativeInteger"},{"default":0}]},"simpleTypes":{"enum":["array","boolean","integer","null","number","object","string"]},"stringArray":{"type":"array","items":{"type":"string"},"uniqueItems":true,"default":[]}},"type":["object","boolean"],"properties":{"$id":{"type":"string","format":"uri-reference"},"$schema":{"type":"string","format":"uri"},"$ref":{"type":"string","format":"uri-reference"},"$comment":{"type":"string"},"title":{"type":"string"},"description":{"type":"string"},"default":true,"readOnly":{"type":"boolean","default":false},"examples":{"type":"array","items":true},"multipleOf":{"type":"number","exclusiveMinimum":0},"maximum":{"type":"number"},"exclusiveMaximum":{"type":"number"},"minimum":{"type":"number"},"exclusiveMinimum":{"type":"number"},"maxLength":{"$ref":"#/definitions/nonNegativeInteger"},"minLength":{"$ref":"#/definitions/nonNegativeIntegerDefault0"},"pattern":{"type":"string","format":"regex"},"additionalItems":{"$ref":"#"},"items":{"anyOf":[{"$ref":"#"},{"$ref":"#/definitions/schemaArray"}],"default":true},"maxItems":{"$ref":"#/definitions/nonNegativeInteger"},"minItems":{"$ref":"#/definitions/nonNegativeIntegerDefault0"},"uniqueItems":{"type":"boolean","default":false},"contains":{"$ref":"#"},"maxProperties":{"$ref":"#/definitions/nonNegativeInteger"},"minProperties":{"$ref":"#/definitions/nonNegativeIntegerDefault0"},"required":{"$ref":"#/definitions/stringArray"},"additionalProperties":{"$ref":"#"},"definitions":{"type":"object","additionalProperties":{"$ref":"#"},"default":{}},"properties":{"type":"object","additionalProperties":{"$ref":"#"},"default":{}},"patternProperties":{"type":"object","additionalProperties":{"$ref":"#"},"propertyNames":{"format":"regex"},"default":{}},"dependencies":{"type":"object","additionalProperties":{"anyOf":[{"$ref":"#"},{"$ref":"#/definitions/stringArray"}]}},"propertyNames":{"$ref":"#"},"const":true,"enum":{"type":"array","items":true,"minItems":1,"uniqueItems":true},"type":{"anyOf":[{"$ref":"#/definitions/simpleTypes"},{"type":"array","items":{"$ref":"#/definitions/simpleTypes"},"minItems":1,"uniqueItems":true}]},"format":{"type":"string"},"contentMediaType":{"type":"string"},"contentEncoding":{"type":"string"},"if":{"$ref":"#"},"then":{"$ref":"#"},"else":{"$ref":"#"},"allOf":{"$ref":"#/definitions/schemaArray"},"anyOf":{"$ref":"#/definitions/schemaArray"},"oneOf":{"$ref":"#/definitions/schemaArray"},"not":{"$ref":"#"}},"default":true}')},28440:S=>{function webpackEmptyContext(S){var E=new Error("Cannot find module '"+S+"'");E.code="MODULE_NOT_FOUND";throw E}webpackEmptyContext.keys=()=>[];webpackEmptyContext.resolve=webpackEmptyContext;webpackEmptyContext.id=28440;S.exports=webpackEmptyContext},75564:S=>{"use strict";S.exports={i8:"5.1.1"}},18492:S=>{"use strict";S.exports={version:"4.3.0"}},82788:S=>{"use strict";S.exports={i8:"4.3.0"}},73313:S=>{"use strict";S.exports=JSON.parse('{"application/1d-interleaved-parityfec":{"source":"iana"},"application/3gpdash-qoe-report+xml":{"source":"iana","charset":"UTF-8","compressible":true},"application/3gpp-ims+xml":{"source":"iana","compressible":true},"application/a2l":{"source":"iana"},"application/activemessage":{"source":"iana"},"application/activity+json":{"source":"iana","compressible":true},"application/alto-costmap+json":{"source":"iana","compressible":true},"application/alto-costmapfilter+json":{"source":"iana","compressible":true},"application/alto-directory+json":{"source":"iana","compressible":true},"application/alto-endpointcost+json":{"source":"iana","compressible":true},"application/alto-endpointcostparams+json":{"source":"iana","compressible":true},"application/alto-endpointprop+json":{"source":"iana","compressible":true},"application/alto-endpointpropparams+json":{"source":"iana","compressible":true},"application/alto-error+json":{"source":"iana","compressible":true},"application/alto-networkmap+json":{"source":"iana","compressible":true},"application/alto-networkmapfilter+json":{"source":"iana","compressible":true},"application/alto-updatestreamcontrol+json":{"source":"iana","compressible":true},"application/alto-updatestreamparams+json":{"source":"iana","compressible":true},"application/aml":{"source":"iana"},"application/andrew-inset":{"source":"iana","extensions":["ez"]},"application/applefile":{"source":"iana"},"application/applixware":{"source":"apache","extensions":["aw"]},"application/atf":{"source":"iana"},"application/atfx":{"source":"iana"},"application/atom+xml":{"source":"iana","compressible":true,"extensions":["atom"]},"application/atomcat+xml":{"source":"iana","compressible":true,"extensions":["atomcat"]},"application/atomdeleted+xml":{"source":"iana","compressible":true,"extensions":["atomdeleted"]},"application/atomicmail":{"source":"iana"},"application/atomsvc+xml":{"source":"iana","compressible":true,"extensions":["atomsvc"]},"application/atsc-dwd+xml":{"source":"iana","compressible":true,"extensions":["dwd"]},"application/atsc-dynamic-event-message":{"source":"iana"},"application/atsc-held+xml":{"source":"iana","compressible":true,"extensions":["held"]},"application/atsc-rdt+json":{"source":"iana","compressible":true},"application/atsc-rsat+xml":{"source":"iana","compressible":true,"extensions":["rsat"]},"application/atxml":{"source":"iana"},"application/auth-policy+xml":{"source":"iana","compressible":true},"application/bacnet-xdd+zip":{"source":"iana","compressible":false},"application/batch-smtp":{"source":"iana"},"application/bdoc":{"compressible":false,"extensions":["bdoc"]},"application/beep+xml":{"source":"iana","charset":"UTF-8","compressible":true},"application/calendar+json":{"source":"iana","compressible":true},"application/calendar+xml":{"source":"iana","compressible":true,"extensions":["xcs"]},"application/call-completion":{"source":"iana"},"application/cals-1840":{"source":"iana"},"application/captive+json":{"source":"iana","compressible":true},"application/cbor":{"source":"iana"},"application/cbor-seq":{"source":"iana"},"application/cccex":{"source":"iana"},"application/ccmp+xml":{"source":"iana","compressible":true},"application/ccxml+xml":{"source":"iana","compressible":true,"extensions":["ccxml"]},"application/cdfx+xml":{"source":"iana","compressible":true,"extensions":["cdfx"]},"application/cdmi-capability":{"source":"iana","extensions":["cdmia"]},"application/cdmi-container":{"source":"iana","extensions":["cdmic"]},"application/cdmi-domain":{"source":"iana","extensions":["cdmid"]},"application/cdmi-object":{"source":"iana","extensions":["cdmio"]},"application/cdmi-queue":{"source":"iana","extensions":["cdmiq"]},"application/cdni":{"source":"iana"},"application/cea":{"source":"iana"},"application/cea-2018+xml":{"source":"iana","compressible":true},"application/cellml+xml":{"source":"iana","compressible":true},"application/cfw":{"source":"iana"},"application/clr":{"source":"iana"},"application/clue+xml":{"source":"iana","compressible":true},"application/clue_info+xml":{"source":"iana","compressible":true},"application/cms":{"source":"iana"},"application/cnrp+xml":{"source":"iana","compressible":true},"application/coap-group+json":{"source":"iana","compressible":true},"application/coap-payload":{"source":"iana"},"application/commonground":{"source":"iana"},"application/conference-info+xml":{"source":"iana","compressible":true},"application/cose":{"source":"iana"},"application/cose-key":{"source":"iana"},"application/cose-key-set":{"source":"iana"},"application/cpl+xml":{"source":"iana","compressible":true},"application/csrattrs":{"source":"iana"},"application/csta+xml":{"source":"iana","compressible":true},"application/cstadata+xml":{"source":"iana","compressible":true},"application/csvm+json":{"source":"iana","compressible":true},"application/cu-seeme":{"source":"apache","extensions":["cu"]},"application/cwt":{"source":"iana"},"application/cybercash":{"source":"iana"},"application/dart":{"compressible":true},"application/dash+xml":{"source":"iana","compressible":true,"extensions":["mpd"]},"application/dashdelta":{"source":"iana"},"application/davmount+xml":{"source":"iana","compressible":true,"extensions":["davmount"]},"application/dca-rft":{"source":"iana"},"application/dcd":{"source":"iana"},"application/dec-dx":{"source":"iana"},"application/dialog-info+xml":{"source":"iana","compressible":true},"application/dicom":{"source":"iana"},"application/dicom+json":{"source":"iana","compressible":true},"application/dicom+xml":{"source":"iana","compressible":true},"application/dii":{"source":"iana"},"application/dit":{"source":"iana"},"application/dns":{"source":"iana"},"application/dns+json":{"source":"iana","compressible":true},"application/dns-message":{"source":"iana"},"application/docbook+xml":{"source":"apache","compressible":true,"extensions":["dbk"]},"application/dots+cbor":{"source":"iana"},"application/dskpp+xml":{"source":"iana","compressible":true},"application/dssc+der":{"source":"iana","extensions":["dssc"]},"application/dssc+xml":{"source":"iana","compressible":true,"extensions":["xdssc"]},"application/dvcs":{"source":"iana"},"application/ecmascript":{"source":"iana","compressible":true,"extensions":["ecma","es"]},"application/edi-consent":{"source":"iana"},"application/edi-x12":{"source":"iana","compressible":false},"application/edifact":{"source":"iana","compressible":false},"application/efi":{"source":"iana"},"application/elm+json":{"source":"iana","charset":"UTF-8","compressible":true},"application/elm+xml":{"source":"iana","compressible":true},"application/emergencycalldata.cap+xml":{"source":"iana","charset":"UTF-8","compressible":true},"application/emergencycalldata.comment+xml":{"source":"iana","compressible":true},"application/emergencycalldata.control+xml":{"source":"iana","compressible":true},"application/emergencycalldata.deviceinfo+xml":{"source":"iana","compressible":true},"application/emergencycalldata.ecall.msd":{"source":"iana"},"application/emergencycalldata.providerinfo+xml":{"source":"iana","compressible":true},"application/emergencycalldata.serviceinfo+xml":{"source":"iana","compressible":true},"application/emergencycalldata.subscriberinfo+xml":{"source":"iana","compressible":true},"application/emergencycalldata.veds+xml":{"source":"iana","compressible":true},"application/emma+xml":{"source":"iana","compressible":true,"extensions":["emma"]},"application/emotionml+xml":{"source":"iana","compressible":true,"extensions":["emotionml"]},"application/encaprtp":{"source":"iana"},"application/epp+xml":{"source":"iana","compressible":true},"application/epub+zip":{"source":"iana","compressible":false,"extensions":["epub"]},"application/eshop":{"source":"iana"},"application/exi":{"source":"iana","extensions":["exi"]},"application/expect-ct-report+json":{"source":"iana","compressible":true},"application/fastinfoset":{"source":"iana"},"application/fastsoap":{"source":"iana"},"application/fdt+xml":{"source":"iana","compressible":true,"extensions":["fdt"]},"application/fhir+json":{"source":"iana","charset":"UTF-8","compressible":true},"application/fhir+xml":{"source":"iana","charset":"UTF-8","compressible":true},"application/fido.trusted-apps+json":{"compressible":true},"application/fits":{"source":"iana"},"application/flexfec":{"source":"iana"},"application/font-sfnt":{"source":"iana"},"application/font-tdpfr":{"source":"iana","extensions":["pfr"]},"application/font-woff":{"source":"iana","compressible":false},"application/framework-attributes+xml":{"source":"iana","compressible":true},"application/geo+json":{"source":"iana","compressible":true,"extensions":["geojson"]},"application/geo+json-seq":{"source":"iana"},"application/geopackage+sqlite3":{"source":"iana"},"application/geoxacml+xml":{"source":"iana","compressible":true},"application/gltf-buffer":{"source":"iana"},"application/gml+xml":{"source":"iana","compressible":true,"extensions":["gml"]},"application/gpx+xml":{"source":"apache","compressible":true,"extensions":["gpx"]},"application/gxf":{"source":"apache","extensions":["gxf"]},"application/gzip":{"source":"iana","compressible":false,"extensions":["gz"]},"application/h224":{"source":"iana"},"application/held+xml":{"source":"iana","compressible":true},"application/hjson":{"extensions":["hjson"]},"application/http":{"source":"iana"},"application/hyperstudio":{"source":"iana","extensions":["stk"]},"application/ibe-key-request+xml":{"source":"iana","compressible":true},"application/ibe-pkg-reply+xml":{"source":"iana","compressible":true},"application/ibe-pp-data":{"source":"iana"},"application/iges":{"source":"iana"},"application/im-iscomposing+xml":{"source":"iana","charset":"UTF-8","compressible":true},"application/index":{"source":"iana"},"application/index.cmd":{"source":"iana"},"application/index.obj":{"source":"iana"},"application/index.response":{"source":"iana"},"application/index.vnd":{"source":"iana"},"application/inkml+xml":{"source":"iana","compressible":true,"extensions":["ink","inkml"]},"application/iotp":{"source":"iana"},"application/ipfix":{"source":"iana","extensions":["ipfix"]},"application/ipp":{"source":"iana"},"application/isup":{"source":"iana"},"application/its+xml":{"source":"iana","compressible":true,"extensions":["its"]},"application/java-archive":{"source":"apache","compressible":false,"extensions":["jar","war","ear"]},"application/java-serialized-object":{"source":"apache","compressible":false,"extensions":["ser"]},"application/java-vm":{"source":"apache","compressible":false,"extensions":["class"]},"application/javascript":{"source":"iana","charset":"UTF-8","compressible":true,"extensions":["js","mjs"]},"application/jf2feed+json":{"source":"iana","compressible":true},"application/jose":{"source":"iana"},"application/jose+json":{"source":"iana","compressible":true},"application/jrd+json":{"source":"iana","compressible":true},"application/jscalendar+json":{"source":"iana","compressible":true},"application/json":{"source":"iana","charset":"UTF-8","compressible":true,"extensions":["json","map"]},"application/json-patch+json":{"source":"iana","compressible":true},"application/json-seq":{"source":"iana"},"application/json5":{"extensions":["json5"]},"application/jsonml+json":{"source":"apache","compressible":true,"extensions":["jsonml"]},"application/jwk+json":{"source":"iana","compressible":true},"application/jwk-set+json":{"source":"iana","compressible":true},"application/jwt":{"source":"iana"},"application/kpml-request+xml":{"source":"iana","compressible":true},"application/kpml-response+xml":{"source":"iana","compressible":true},"application/ld+json":{"source":"iana","compressible":true,"extensions":["jsonld"]},"application/lgr+xml":{"source":"iana","compressible":true,"extensions":["lgr"]},"application/link-format":{"source":"iana"},"application/load-control+xml":{"source":"iana","compressible":true},"application/lost+xml":{"source":"iana","compressible":true,"extensions":["lostxml"]},"application/lostsync+xml":{"source":"iana","compressible":true},"application/lpf+zip":{"source":"iana","compressible":false},"application/lxf":{"source":"iana"},"application/mac-binhex40":{"source":"iana","extensions":["hqx"]},"application/mac-compactpro":{"source":"apache","extensions":["cpt"]},"application/macwriteii":{"source":"iana"},"application/mads+xml":{"source":"iana","compressible":true,"extensions":["mads"]},"application/manifest+json":{"charset":"UTF-8","compressible":true,"extensions":["webmanifest"]},"application/marc":{"source":"iana","extensions":["mrc"]},"application/marcxml+xml":{"source":"iana","compressible":true,"extensions":["mrcx"]},"application/mathematica":{"source":"iana","extensions":["ma","nb","mb"]},"application/mathml+xml":{"source":"iana","compressible":true,"extensions":["mathml"]},"application/mathml-content+xml":{"source":"iana","compressible":true},"application/mathml-presentation+xml":{"source":"iana","compressible":true},"application/mbms-associated-procedure-description+xml":{"source":"iana","compressible":true},"application/mbms-deregister+xml":{"source":"iana","compressible":true},"application/mbms-envelope+xml":{"source":"iana","compressible":true},"application/mbms-msk+xml":{"source":"iana","compressible":true},"application/mbms-msk-response+xml":{"source":"iana","compressible":true},"application/mbms-protection-description+xml":{"source":"iana","compressible":true},"application/mbms-reception-report+xml":{"source":"iana","compressible":true},"application/mbms-register+xml":{"source":"iana","compressible":true},"application/mbms-register-response+xml":{"source":"iana","compressible":true},"application/mbms-schedule+xml":{"source":"iana","compressible":true},"application/mbms-user-service-description+xml":{"source":"iana","compressible":true},"application/mbox":{"source":"iana","extensions":["mbox"]},"application/media-policy-dataset+xml":{"source":"iana","compressible":true},"application/media_control+xml":{"source":"iana","compressible":true},"application/mediaservercontrol+xml":{"source":"iana","compressible":true,"extensions":["mscml"]},"application/merge-patch+json":{"source":"iana","compressible":true},"application/metalink+xml":{"source":"apache","compressible":true,"extensions":["metalink"]},"application/metalink4+xml":{"source":"iana","compressible":true,"extensions":["meta4"]},"application/mets+xml":{"source":"iana","compressible":true,"extensions":["mets"]},"application/mf4":{"source":"iana"},"application/mikey":{"source":"iana"},"application/mipc":{"source":"iana"},"application/mmt-aei+xml":{"source":"iana","compressible":true,"extensions":["maei"]},"application/mmt-usd+xml":{"source":"iana","compressible":true,"extensions":["musd"]},"application/mods+xml":{"source":"iana","compressible":true,"extensions":["mods"]},"application/moss-keys":{"source":"iana"},"application/moss-signature":{"source":"iana"},"application/mosskey-data":{"source":"iana"},"application/mosskey-request":{"source":"iana"},"application/mp21":{"source":"iana","extensions":["m21","mp21"]},"application/mp4":{"source":"iana","extensions":["mp4s","m4p"]},"application/mpeg4-generic":{"source":"iana"},"application/mpeg4-iod":{"source":"iana"},"application/mpeg4-iod-xmt":{"source":"iana"},"application/mrb-consumer+xml":{"source":"iana","compressible":true,"extensions":["xdf"]},"application/mrb-publish+xml":{"source":"iana","compressible":true,"extensions":["xdf"]},"application/msc-ivr+xml":{"source":"iana","charset":"UTF-8","compressible":true},"application/msc-mixer+xml":{"source":"iana","charset":"UTF-8","compressible":true},"application/msword":{"source":"iana","compressible":false,"extensions":["doc","dot"]},"application/mud+json":{"source":"iana","compressible":true},"application/multipart-core":{"source":"iana"},"application/mxf":{"source":"iana","extensions":["mxf"]},"application/n-quads":{"source":"iana","extensions":["nq"]},"application/n-triples":{"source":"iana","extensions":["nt"]},"application/nasdata":{"source":"iana"},"application/news-checkgroups":{"source":"iana","charset":"US-ASCII"},"application/news-groupinfo":{"source":"iana","charset":"US-ASCII"},"application/news-transmission":{"source":"iana"},"application/nlsml+xml":{"source":"iana","compressible":true},"application/node":{"source":"iana","extensions":["cjs"]},"application/nss":{"source":"iana"},"application/ocsp-request":{"source":"iana"},"application/ocsp-response":{"source":"iana"},"application/octet-stream":{"source":"iana","compressible":false,"extensions":["bin","dms","lrf","mar","so","dist","distz","pkg","bpk","dump","elc","deploy","exe","dll","deb","dmg","iso","img","msi","msp","msm","buffer"]},"application/oda":{"source":"iana","extensions":["oda"]},"application/odm+xml":{"source":"iana","compressible":true},"application/odx":{"source":"iana"},"application/oebps-package+xml":{"source":"iana","compressible":true,"extensions":["opf"]},"application/ogg":{"source":"iana","compressible":false,"extensions":["ogx"]},"application/omdoc+xml":{"source":"apache","compressible":true,"extensions":["omdoc"]},"application/onenote":{"source":"apache","extensions":["onetoc","onetoc2","onetmp","onepkg"]},"application/opc-nodeset+xml":{"source":"iana","compressible":true},"application/oscore":{"source":"iana"},"application/oxps":{"source":"iana","extensions":["oxps"]},"application/p2p-overlay+xml":{"source":"iana","compressible":true,"extensions":["relo"]},"application/parityfec":{"source":"iana"},"application/passport":{"source":"iana"},"application/patch-ops-error+xml":{"source":"iana","compressible":true,"extensions":["xer"]},"application/pdf":{"source":"iana","compressible":false,"extensions":["pdf"]},"application/pdx":{"source":"iana"},"application/pem-certificate-chain":{"source":"iana"},"application/pgp-encrypted":{"source":"iana","compressible":false,"extensions":["pgp"]},"application/pgp-keys":{"source":"iana"},"application/pgp-signature":{"source":"iana","extensions":["asc","sig"]},"application/pics-rules":{"source":"apache","extensions":["prf"]},"application/pidf+xml":{"source":"iana","charset":"UTF-8","compressible":true},"application/pidf-diff+xml":{"source":"iana","charset":"UTF-8","compressible":true},"application/pkcs10":{"source":"iana","extensions":["p10"]},"application/pkcs12":{"source":"iana"},"application/pkcs7-mime":{"source":"iana","extensions":["p7m","p7c"]},"application/pkcs7-signature":{"source":"iana","extensions":["p7s"]},"application/pkcs8":{"source":"iana","extensions":["p8"]},"application/pkcs8-encrypted":{"source":"iana"},"application/pkix-attr-cert":{"source":"iana","extensions":["ac"]},"application/pkix-cert":{"source":"iana","extensions":["cer"]},"application/pkix-crl":{"source":"iana","extensions":["crl"]},"application/pkix-pkipath":{"source":"iana","extensions":["pkipath"]},"application/pkixcmp":{"source":"iana","extensions":["pki"]},"application/pls+xml":{"source":"iana","compressible":true,"extensions":["pls"]},"application/poc-settings+xml":{"source":"iana","charset":"UTF-8","compressible":true},"application/postscript":{"source":"iana","compressible":true,"extensions":["ai","eps","ps"]},"application/ppsp-tracker+json":{"source":"iana","compressible":true},"application/problem+json":{"source":"iana","compressible":true},"application/problem+xml":{"source":"iana","compressible":true},"application/provenance+xml":{"source":"iana","compressible":true,"extensions":["provx"]},"application/prs.alvestrand.titrax-sheet":{"source":"iana"},"application/prs.cww":{"source":"iana","extensions":["cww"]},"application/prs.cyn":{"source":"iana","charset":"7-BIT"},"application/prs.hpub+zip":{"source":"iana","compressible":false},"application/prs.nprend":{"source":"iana"},"application/prs.plucker":{"source":"iana"},"application/prs.rdf-xml-crypt":{"source":"iana"},"application/prs.xsf+xml":{"source":"iana","compressible":true},"application/pskc+xml":{"source":"iana","compressible":true,"extensions":["pskcxml"]},"application/pvd+json":{"source":"iana","compressible":true},"application/qsig":{"source":"iana"},"application/raml+yaml":{"compressible":true,"extensions":["raml"]},"application/raptorfec":{"source":"iana"},"application/rdap+json":{"source":"iana","compressible":true},"application/rdf+xml":{"source":"iana","compressible":true,"extensions":["rdf","owl"]},"application/reginfo+xml":{"source":"iana","compressible":true,"extensions":["rif"]},"application/relax-ng-compact-syntax":{"source":"iana","extensions":["rnc"]},"application/remote-printing":{"source":"iana"},"application/reputon+json":{"source":"iana","compressible":true},"application/resource-lists+xml":{"source":"iana","compressible":true,"extensions":["rl"]},"application/resource-lists-diff+xml":{"source":"iana","compressible":true,"extensions":["rld"]},"application/rfc+xml":{"source":"iana","compressible":true},"application/riscos":{"source":"iana"},"application/rlmi+xml":{"source":"iana","compressible":true},"application/rls-services+xml":{"source":"iana","compressible":true,"extensions":["rs"]},"application/route-apd+xml":{"source":"iana","compressible":true,"extensions":["rapd"]},"application/route-s-tsid+xml":{"source":"iana","compressible":true,"extensions":["sls"]},"application/route-usd+xml":{"source":"iana","compressible":true,"extensions":["rusd"]},"application/rpki-ghostbusters":{"source":"iana","extensions":["gbr"]},"application/rpki-manifest":{"source":"iana","extensions":["mft"]},"application/rpki-publication":{"source":"iana"},"application/rpki-roa":{"source":"iana","extensions":["roa"]},"application/rpki-updown":{"source":"iana"},"application/rsd+xml":{"source":"apache","compressible":true,"extensions":["rsd"]},"application/rss+xml":{"source":"apache","compressible":true,"extensions":["rss"]},"application/rtf":{"source":"iana","compressible":true,"extensions":["rtf"]},"application/rtploopback":{"source":"iana"},"application/rtx":{"source":"iana"},"application/samlassertion+xml":{"source":"iana","compressible":true},"application/samlmetadata+xml":{"source":"iana","compressible":true},"application/sarif+json":{"source":"iana","compressible":true},"application/sbe":{"source":"iana"},"application/sbml+xml":{"source":"iana","compressible":true,"extensions":["sbml"]},"application/scaip+xml":{"source":"iana","compressible":true},"application/scim+json":{"source":"iana","compressible":true},"application/scvp-cv-request":{"source":"iana","extensions":["scq"]},"application/scvp-cv-response":{"source":"iana","extensions":["scs"]},"application/scvp-vp-request":{"source":"iana","extensions":["spq"]},"application/scvp-vp-response":{"source":"iana","extensions":["spp"]},"application/sdp":{"source":"iana","extensions":["sdp"]},"application/secevent+jwt":{"source":"iana"},"application/senml+cbor":{"source":"iana"},"application/senml+json":{"source":"iana","compressible":true},"application/senml+xml":{"source":"iana","compressible":true,"extensions":["senmlx"]},"application/senml-etch+cbor":{"source":"iana"},"application/senml-etch+json":{"source":"iana","compressible":true},"application/senml-exi":{"source":"iana"},"application/sensml+cbor":{"source":"iana"},"application/sensml+json":{"source":"iana","compressible":true},"application/sensml+xml":{"source":"iana","compressible":true,"extensions":["sensmlx"]},"application/sensml-exi":{"source":"iana"},"application/sep+xml":{"source":"iana","compressible":true},"application/sep-exi":{"source":"iana"},"application/session-info":{"source":"iana"},"application/set-payment":{"source":"iana"},"application/set-payment-initiation":{"source":"iana","extensions":["setpay"]},"application/set-registration":{"source":"iana"},"application/set-registration-initiation":{"source":"iana","extensions":["setreg"]},"application/sgml":{"source":"iana"},"application/sgml-open-catalog":{"source":"iana"},"application/shf+xml":{"source":"iana","compressible":true,"extensions":["shf"]},"application/sieve":{"source":"iana","extensions":["siv","sieve"]},"application/simple-filter+xml":{"source":"iana","compressible":true},"application/simple-message-summary":{"source":"iana"},"application/simplesymbolcontainer":{"source":"iana"},"application/sipc":{"source":"iana"},"application/slate":{"source":"iana"},"application/smil":{"source":"iana"},"application/smil+xml":{"source":"iana","compressible":true,"extensions":["smi","smil"]},"application/smpte336m":{"source":"iana"},"application/soap+fastinfoset":{"source":"iana"},"application/soap+xml":{"source":"iana","compressible":true},"application/sparql-query":{"source":"iana","extensions":["rq"]},"application/sparql-results+xml":{"source":"iana","compressible":true,"extensions":["srx"]},"application/spirits-event+xml":{"source":"iana","compressible":true},"application/sql":{"source":"iana"},"application/srgs":{"source":"iana","extensions":["gram"]},"application/srgs+xml":{"source":"iana","compressible":true,"extensions":["grxml"]},"application/sru+xml":{"source":"iana","compressible":true,"extensions":["sru"]},"application/ssdl+xml":{"source":"apache","compressible":true,"extensions":["ssdl"]},"application/ssml+xml":{"source":"iana","compressible":true,"extensions":["ssml"]},"application/stix+json":{"source":"iana","compressible":true},"application/swid+xml":{"source":"iana","compressible":true,"extensions":["swidtag"]},"application/tamp-apex-update":{"source":"iana"},"application/tamp-apex-update-confirm":{"source":"iana"},"application/tamp-community-update":{"source":"iana"},"application/tamp-community-update-confirm":{"source":"iana"},"application/tamp-error":{"source":"iana"},"application/tamp-sequence-adjust":{"source":"iana"},"application/tamp-sequence-adjust-confirm":{"source":"iana"},"application/tamp-status-query":{"source":"iana"},"application/tamp-status-response":{"source":"iana"},"application/tamp-update":{"source":"iana"},"application/tamp-update-confirm":{"source":"iana"},"application/tar":{"compressible":true},"application/taxii+json":{"source":"iana","compressible":true},"application/td+json":{"source":"iana","compressible":true},"application/tei+xml":{"source":"iana","compressible":true,"extensions":["tei","teicorpus"]},"application/tetra_isi":{"source":"iana"},"application/thraud+xml":{"source":"iana","compressible":true,"extensions":["tfi"]},"application/timestamp-query":{"source":"iana"},"application/timestamp-reply":{"source":"iana"},"application/timestamped-data":{"source":"iana","extensions":["tsd"]},"application/tlsrpt+gzip":{"source":"iana"},"application/tlsrpt+json":{"source":"iana","compressible":true},"application/tnauthlist":{"source":"iana"},"application/toml":{"compressible":true,"extensions":["toml"]},"application/trickle-ice-sdpfrag":{"source":"iana"},"application/trig":{"source":"iana"},"application/ttml+xml":{"source":"iana","compressible":true,"extensions":["ttml"]},"application/tve-trigger":{"source":"iana"},"application/tzif":{"source":"iana"},"application/tzif-leap":{"source":"iana"},"application/ubjson":{"compressible":false,"extensions":["ubj"]},"application/ulpfec":{"source":"iana"},"application/urc-grpsheet+xml":{"source":"iana","compressible":true},"application/urc-ressheet+xml":{"source":"iana","compressible":true,"extensions":["rsheet"]},"application/urc-targetdesc+xml":{"source":"iana","compressible":true,"extensions":["td"]},"application/urc-uisocketdesc+xml":{"source":"iana","compressible":true},"application/vcard+json":{"source":"iana","compressible":true},"application/vcard+xml":{"source":"iana","compressible":true},"application/vemmi":{"source":"iana"},"application/vividence.scriptfile":{"source":"apache"},"application/vnd.1000minds.decision-model+xml":{"source":"iana","compressible":true,"extensions":["1km"]},"application/vnd.3gpp-prose+xml":{"source":"iana","compressible":true},"application/vnd.3gpp-prose-pc3ch+xml":{"source":"iana","compressible":true},"application/vnd.3gpp-v2x-local-service-information":{"source":"iana"},"application/vnd.3gpp.access-transfer-events+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.bsf+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.gmop+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.interworking-data":{"source":"iana"},"application/vnd.3gpp.mc-signalling-ear":{"source":"iana"},"application/vnd.3gpp.mcdata-affiliation-command+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.mcdata-info+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.mcdata-payload":{"source":"iana"},"application/vnd.3gpp.mcdata-service-config+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.mcdata-signalling":{"source":"iana"},"application/vnd.3gpp.mcdata-ue-config+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.mcdata-user-profile+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.mcptt-affiliation-command+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.mcptt-floor-request+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.mcptt-info+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.mcptt-location-info+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.mcptt-mbms-usage-info+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.mcptt-service-config+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.mcptt-signed+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.mcptt-ue-config+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.mcptt-ue-init-config+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.mcptt-user-profile+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.mcvideo-affiliation-command+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.mcvideo-affiliation-info+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.mcvideo-info+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.mcvideo-location-info+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.mcvideo-mbms-usage-info+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.mcvideo-service-config+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.mcvideo-transmission-request+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.mcvideo-ue-config+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.mcvideo-user-profile+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.mid-call+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.pic-bw-large":{"source":"iana","extensions":["plb"]},"application/vnd.3gpp.pic-bw-small":{"source":"iana","extensions":["psb"]},"application/vnd.3gpp.pic-bw-var":{"source":"iana","extensions":["pvb"]},"application/vnd.3gpp.sms":{"source":"iana"},"application/vnd.3gpp.sms+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.srvcc-ext+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.srvcc-info+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.state-and-event-info+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.ussd+xml":{"source":"iana","compressible":true},"application/vnd.3gpp2.bcmcsinfo+xml":{"source":"iana","compressible":true},"application/vnd.3gpp2.sms":{"source":"iana"},"application/vnd.3gpp2.tcap":{"source":"iana","extensions":["tcap"]},"application/vnd.3lightssoftware.imagescal":{"source":"iana"},"application/vnd.3m.post-it-notes":{"source":"iana","extensions":["pwn"]},"application/vnd.accpac.simply.aso":{"source":"iana","extensions":["aso"]},"application/vnd.accpac.simply.imp":{"source":"iana","extensions":["imp"]},"application/vnd.acucobol":{"source":"iana","extensions":["acu"]},"application/vnd.acucorp":{"source":"iana","extensions":["atc","acutc"]},"application/vnd.adobe.air-application-installer-package+zip":{"source":"apache","compressible":false,"extensions":["air"]},"application/vnd.adobe.flash.movie":{"source":"iana"},"application/vnd.adobe.formscentral.fcdt":{"source":"iana","extensions":["fcdt"]},"application/vnd.adobe.fxp":{"source":"iana","extensions":["fxp","fxpl"]},"application/vnd.adobe.partial-upload":{"source":"iana"},"application/vnd.adobe.xdp+xml":{"source":"iana","compressible":true,"extensions":["xdp"]},"application/vnd.adobe.xfdf":{"source":"iana","extensions":["xfdf"]},"application/vnd.aether.imp":{"source":"iana"},"application/vnd.afpc.afplinedata":{"source":"iana"},"application/vnd.afpc.afplinedata-pagedef":{"source":"iana"},"application/vnd.afpc.cmoca-cmresource":{"source":"iana"},"application/vnd.afpc.foca-charset":{"source":"iana"},"application/vnd.afpc.foca-codedfont":{"source":"iana"},"application/vnd.afpc.foca-codepage":{"source":"iana"},"application/vnd.afpc.modca":{"source":"iana"},"application/vnd.afpc.modca-cmtable":{"source":"iana"},"application/vnd.afpc.modca-formdef":{"source":"iana"},"application/vnd.afpc.modca-mediummap":{"source":"iana"},"application/vnd.afpc.modca-objectcontainer":{"source":"iana"},"application/vnd.afpc.modca-overlay":{"source":"iana"},"application/vnd.afpc.modca-pagesegment":{"source":"iana"},"application/vnd.ah-barcode":{"source":"iana"},"application/vnd.ahead.space":{"source":"iana","extensions":["ahead"]},"application/vnd.airzip.filesecure.azf":{"source":"iana","extensions":["azf"]},"application/vnd.airzip.filesecure.azs":{"source":"iana","extensions":["azs"]},"application/vnd.amadeus+json":{"source":"iana","compressible":true},"application/vnd.amazon.ebook":{"source":"apache","extensions":["azw"]},"application/vnd.amazon.mobi8-ebook":{"source":"iana"},"application/vnd.americandynamics.acc":{"source":"iana","extensions":["acc"]},"application/vnd.amiga.ami":{"source":"iana","extensions":["ami"]},"application/vnd.amundsen.maze+xml":{"source":"iana","compressible":true},"application/vnd.android.ota":{"source":"iana"},"application/vnd.android.package-archive":{"source":"apache","compressible":false,"extensions":["apk"]},"application/vnd.anki":{"source":"iana"},"application/vnd.anser-web-certificate-issue-initiation":{"source":"iana","extensions":["cii"]},"application/vnd.anser-web-funds-transfer-initiation":{"source":"apache","extensions":["fti"]},"application/vnd.antix.game-component":{"source":"iana","extensions":["atx"]},"application/vnd.apache.thrift.binary":{"source":"iana"},"application/vnd.apache.thrift.compact":{"source":"iana"},"application/vnd.apache.thrift.json":{"source":"iana"},"application/vnd.api+json":{"source":"iana","compressible":true},"application/vnd.aplextor.warrp+json":{"source":"iana","compressible":true},"application/vnd.apothekende.reservation+json":{"source":"iana","compressible":true},"application/vnd.apple.installer+xml":{"source":"iana","compressible":true,"extensions":["mpkg"]},"application/vnd.apple.keynote":{"source":"iana","extensions":["key"]},"application/vnd.apple.mpegurl":{"source":"iana","extensions":["m3u8"]},"application/vnd.apple.numbers":{"source":"iana","extensions":["numbers"]},"application/vnd.apple.pages":{"source":"iana","extensions":["pages"]},"application/vnd.apple.pkpass":{"compressible":false,"extensions":["pkpass"]},"application/vnd.arastra.swi":{"source":"iana"},"application/vnd.aristanetworks.swi":{"source":"iana","extensions":["swi"]},"application/vnd.artisan+json":{"source":"iana","compressible":true},"application/vnd.artsquare":{"source":"iana"},"application/vnd.astraea-software.iota":{"source":"iana","extensions":["iota"]},"application/vnd.audiograph":{"source":"iana","extensions":["aep"]},"application/vnd.autopackage":{"source":"iana"},"application/vnd.avalon+json":{"source":"iana","compressible":true},"application/vnd.avistar+xml":{"source":"iana","compressible":true},"application/vnd.balsamiq.bmml+xml":{"source":"iana","compressible":true,"extensions":["bmml"]},"application/vnd.balsamiq.bmpr":{"source":"iana"},"application/vnd.banana-accounting":{"source":"iana"},"application/vnd.bbf.usp.error":{"source":"iana"},"application/vnd.bbf.usp.msg":{"source":"iana"},"application/vnd.bbf.usp.msg+json":{"source":"iana","compressible":true},"application/vnd.bekitzur-stech+json":{"source":"iana","compressible":true},"application/vnd.bint.med-content":{"source":"iana"},"application/vnd.biopax.rdf+xml":{"source":"iana","compressible":true},"application/vnd.blink-idb-value-wrapper":{"source":"iana"},"application/vnd.blueice.multipass":{"source":"iana","extensions":["mpm"]},"application/vnd.bluetooth.ep.oob":{"source":"iana"},"application/vnd.bluetooth.le.oob":{"source":"iana"},"application/vnd.bmi":{"source":"iana","extensions":["bmi"]},"application/vnd.bpf":{"source":"iana"},"application/vnd.bpf3":{"source":"iana"},"application/vnd.businessobjects":{"source":"iana","extensions":["rep"]},"application/vnd.byu.uapi+json":{"source":"iana","compressible":true},"application/vnd.cab-jscript":{"source":"iana"},"application/vnd.canon-cpdl":{"source":"iana"},"application/vnd.canon-lips":{"source":"iana"},"application/vnd.capasystems-pg+json":{"source":"iana","compressible":true},"application/vnd.cendio.thinlinc.clientconf":{"source":"iana"},"application/vnd.century-systems.tcp_stream":{"source":"iana"},"application/vnd.chemdraw+xml":{"source":"iana","compressible":true,"extensions":["cdxml"]},"application/vnd.chess-pgn":{"source":"iana"},"application/vnd.chipnuts.karaoke-mmd":{"source":"iana","extensions":["mmd"]},"application/vnd.ciedi":{"source":"iana"},"application/vnd.cinderella":{"source":"iana","extensions":["cdy"]},"application/vnd.cirpack.isdn-ext":{"source":"iana"},"application/vnd.citationstyles.style+xml":{"source":"iana","compressible":true,"extensions":["csl"]},"application/vnd.claymore":{"source":"iana","extensions":["cla"]},"application/vnd.cloanto.rp9":{"source":"iana","extensions":["rp9"]},"application/vnd.clonk.c4group":{"source":"iana","extensions":["c4g","c4d","c4f","c4p","c4u"]},"application/vnd.cluetrust.cartomobile-config":{"source":"iana","extensions":["c11amc"]},"application/vnd.cluetrust.cartomobile-config-pkg":{"source":"iana","extensions":["c11amz"]},"application/vnd.coffeescript":{"source":"iana"},"application/vnd.collabio.xodocuments.document":{"source":"iana"},"application/vnd.collabio.xodocuments.document-template":{"source":"iana"},"application/vnd.collabio.xodocuments.presentation":{"source":"iana"},"application/vnd.collabio.xodocuments.presentation-template":{"source":"iana"},"application/vnd.collabio.xodocuments.spreadsheet":{"source":"iana"},"application/vnd.collabio.xodocuments.spreadsheet-template":{"source":"iana"},"application/vnd.collection+json":{"source":"iana","compressible":true},"application/vnd.collection.doc+json":{"source":"iana","compressible":true},"application/vnd.collection.next+json":{"source":"iana","compressible":true},"application/vnd.comicbook+zip":{"source":"iana","compressible":false},"application/vnd.comicbook-rar":{"source":"iana"},"application/vnd.commerce-battelle":{"source":"iana"},"application/vnd.commonspace":{"source":"iana","extensions":["csp"]},"application/vnd.contact.cmsg":{"source":"iana","extensions":["cdbcmsg"]},"application/vnd.coreos.ignition+json":{"source":"iana","compressible":true},"application/vnd.cosmocaller":{"source":"iana","extensions":["cmc"]},"application/vnd.crick.clicker":{"source":"iana","extensions":["clkx"]},"application/vnd.crick.clicker.keyboard":{"source":"iana","extensions":["clkk"]},"application/vnd.crick.clicker.palette":{"source":"iana","extensions":["clkp"]},"application/vnd.crick.clicker.template":{"source":"iana","extensions":["clkt"]},"application/vnd.crick.clicker.wordbank":{"source":"iana","extensions":["clkw"]},"application/vnd.criticaltools.wbs+xml":{"source":"iana","compressible":true,"extensions":["wbs"]},"application/vnd.cryptii.pipe+json":{"source":"iana","compressible":true},"application/vnd.crypto-shade-file":{"source":"iana"},"application/vnd.ctc-posml":{"source":"iana","extensions":["pml"]},"application/vnd.ctct.ws+xml":{"source":"iana","compressible":true},"application/vnd.cups-pdf":{"source":"iana"},"application/vnd.cups-postscript":{"source":"iana"},"application/vnd.cups-ppd":{"source":"iana","extensions":["ppd"]},"application/vnd.cups-raster":{"source":"iana"},"application/vnd.cups-raw":{"source":"iana"},"application/vnd.curl":{"source":"iana"},"application/vnd.curl.car":{"source":"apache","extensions":["car"]},"application/vnd.curl.pcurl":{"source":"apache","extensions":["pcurl"]},"application/vnd.cyan.dean.root+xml":{"source":"iana","compressible":true},"application/vnd.cybank":{"source":"iana"},"application/vnd.cyclonedx+json":{"source":"iana","compressible":true},"application/vnd.cyclonedx+xml":{"source":"iana","compressible":true},"application/vnd.d2l.coursepackage1p0+zip":{"source":"iana","compressible":false},"application/vnd.d3m-dataset":{"source":"iana"},"application/vnd.d3m-problem":{"source":"iana"},"application/vnd.dart":{"source":"iana","compressible":true,"extensions":["dart"]},"application/vnd.data-vision.rdz":{"source":"iana","extensions":["rdz"]},"application/vnd.datapackage+json":{"source":"iana","compressible":true},"application/vnd.dataresource+json":{"source":"iana","compressible":true},"application/vnd.dbf":{"source":"iana","extensions":["dbf"]},"application/vnd.debian.binary-package":{"source":"iana"},"application/vnd.dece.data":{"source":"iana","extensions":["uvf","uvvf","uvd","uvvd"]},"application/vnd.dece.ttml+xml":{"source":"iana","compressible":true,"extensions":["uvt","uvvt"]},"application/vnd.dece.unspecified":{"source":"iana","extensions":["uvx","uvvx"]},"application/vnd.dece.zip":{"source":"iana","extensions":["uvz","uvvz"]},"application/vnd.denovo.fcselayout-link":{"source":"iana","extensions":["fe_launch"]},"application/vnd.desmume.movie":{"source":"iana"},"application/vnd.dir-bi.plate-dl-nosuffix":{"source":"iana"},"application/vnd.dm.delegation+xml":{"source":"iana","compressible":true},"application/vnd.dna":{"source":"iana","extensions":["dna"]},"application/vnd.document+json":{"source":"iana","compressible":true},"application/vnd.dolby.mlp":{"source":"apache","extensions":["mlp"]},"application/vnd.dolby.mobile.1":{"source":"iana"},"application/vnd.dolby.mobile.2":{"source":"iana"},"application/vnd.doremir.scorecloud-binary-document":{"source":"iana"},"application/vnd.dpgraph":{"source":"iana","extensions":["dpg"]},"application/vnd.dreamfactory":{"source":"iana","extensions":["dfac"]},"application/vnd.drive+json":{"source":"iana","compressible":true},"application/vnd.ds-keypoint":{"source":"apache","extensions":["kpxx"]},"application/vnd.dtg.local":{"source":"iana"},"application/vnd.dtg.local.flash":{"source":"iana"},"application/vnd.dtg.local.html":{"source":"iana"},"application/vnd.dvb.ait":{"source":"iana","extensions":["ait"]},"application/vnd.dvb.dvbisl+xml":{"source":"iana","compressible":true},"application/vnd.dvb.dvbj":{"source":"iana"},"application/vnd.dvb.esgcontainer":{"source":"iana"},"application/vnd.dvb.ipdcdftnotifaccess":{"source":"iana"},"application/vnd.dvb.ipdcesgaccess":{"source":"iana"},"application/vnd.dvb.ipdcesgaccess2":{"source":"iana"},"application/vnd.dvb.ipdcesgpdd":{"source":"iana"},"application/vnd.dvb.ipdcroaming":{"source":"iana"},"application/vnd.dvb.iptv.alfec-base":{"source":"iana"},"application/vnd.dvb.iptv.alfec-enhancement":{"source":"iana"},"application/vnd.dvb.notif-aggregate-root+xml":{"source":"iana","compressible":true},"application/vnd.dvb.notif-container+xml":{"source":"iana","compressible":true},"application/vnd.dvb.notif-generic+xml":{"source":"iana","compressible":true},"application/vnd.dvb.notif-ia-msglist+xml":{"source":"iana","compressible":true},"application/vnd.dvb.notif-ia-registration-request+xml":{"source":"iana","compressible":true},"application/vnd.dvb.notif-ia-registration-response+xml":{"source":"iana","compressible":true},"application/vnd.dvb.notif-init+xml":{"source":"iana","compressible":true},"application/vnd.dvb.pfr":{"source":"iana"},"application/vnd.dvb.service":{"source":"iana","extensions":["svc"]},"application/vnd.dxr":{"source":"iana"},"application/vnd.dynageo":{"source":"iana","extensions":["geo"]},"application/vnd.dzr":{"source":"iana"},"application/vnd.easykaraoke.cdgdownload":{"source":"iana"},"application/vnd.ecdis-update":{"source":"iana"},"application/vnd.ecip.rlp":{"source":"iana"},"application/vnd.ecowin.chart":{"source":"iana","extensions":["mag"]},"application/vnd.ecowin.filerequest":{"source":"iana"},"application/vnd.ecowin.fileupdate":{"source":"iana"},"application/vnd.ecowin.series":{"source":"iana"},"application/vnd.ecowin.seriesrequest":{"source":"iana"},"application/vnd.ecowin.seriesupdate":{"source":"iana"},"application/vnd.efi.img":{"source":"iana"},"application/vnd.efi.iso":{"source":"iana"},"application/vnd.emclient.accessrequest+xml":{"source":"iana","compressible":true},"application/vnd.enliven":{"source":"iana","extensions":["nml"]},"application/vnd.enphase.envoy":{"source":"iana"},"application/vnd.eprints.data+xml":{"source":"iana","compressible":true},"application/vnd.epson.esf":{"source":"iana","extensions":["esf"]},"application/vnd.epson.msf":{"source":"iana","extensions":["msf"]},"application/vnd.epson.quickanime":{"source":"iana","extensions":["qam"]},"application/vnd.epson.salt":{"source":"iana","extensions":["slt"]},"application/vnd.epson.ssf":{"source":"iana","extensions":["ssf"]},"application/vnd.ericsson.quickcall":{"source":"iana"},"application/vnd.espass-espass+zip":{"source":"iana","compressible":false},"application/vnd.eszigno3+xml":{"source":"iana","compressible":true,"extensions":["es3","et3"]},"application/vnd.etsi.aoc+xml":{"source":"iana","compressible":true},"application/vnd.etsi.asic-e+zip":{"source":"iana","compressible":false},"application/vnd.etsi.asic-s+zip":{"source":"iana","compressible":false},"application/vnd.etsi.cug+xml":{"source":"iana","compressible":true},"application/vnd.etsi.iptvcommand+xml":{"source":"iana","compressible":true},"application/vnd.etsi.iptvdiscovery+xml":{"source":"iana","compressible":true},"application/vnd.etsi.iptvprofile+xml":{"source":"iana","compressible":true},"application/vnd.etsi.iptvsad-bc+xml":{"source":"iana","compressible":true},"application/vnd.etsi.iptvsad-cod+xml":{"source":"iana","compressible":true},"application/vnd.etsi.iptvsad-npvr+xml":{"source":"iana","compressible":true},"application/vnd.etsi.iptvservice+xml":{"source":"iana","compressible":true},"application/vnd.etsi.iptvsync+xml":{"source":"iana","compressible":true},"application/vnd.etsi.iptvueprofile+xml":{"source":"iana","compressible":true},"application/vnd.etsi.mcid+xml":{"source":"iana","compressible":true},"application/vnd.etsi.mheg5":{"source":"iana"},"application/vnd.etsi.overload-control-policy-dataset+xml":{"source":"iana","compressible":true},"application/vnd.etsi.pstn+xml":{"source":"iana","compressible":true},"application/vnd.etsi.sci+xml":{"source":"iana","compressible":true},"application/vnd.etsi.simservs+xml":{"source":"iana","compressible":true},"application/vnd.etsi.timestamp-token":{"source":"iana"},"application/vnd.etsi.tsl+xml":{"source":"iana","compressible":true},"application/vnd.etsi.tsl.der":{"source":"iana"},"application/vnd.eudora.data":{"source":"iana"},"application/vnd.evolv.ecig.profile":{"source":"iana"},"application/vnd.evolv.ecig.settings":{"source":"iana"},"application/vnd.evolv.ecig.theme":{"source":"iana"},"application/vnd.exstream-empower+zip":{"source":"iana","compressible":false},"application/vnd.exstream-package":{"source":"iana"},"application/vnd.ezpix-album":{"source":"iana","extensions":["ez2"]},"application/vnd.ezpix-package":{"source":"iana","extensions":["ez3"]},"application/vnd.f-secure.mobile":{"source":"iana"},"application/vnd.fastcopy-disk-image":{"source":"iana"},"application/vnd.fdf":{"source":"iana","extensions":["fdf"]},"application/vnd.fdsn.mseed":{"source":"iana","extensions":["mseed"]},"application/vnd.fdsn.seed":{"source":"iana","extensions":["seed","dataless"]},"application/vnd.ffsns":{"source":"iana"},"application/vnd.ficlab.flb+zip":{"source":"iana","compressible":false},"application/vnd.filmit.zfc":{"source":"iana"},"application/vnd.fints":{"source":"iana"},"application/vnd.firemonkeys.cloudcell":{"source":"iana"},"application/vnd.flographit":{"source":"iana","extensions":["gph"]},"application/vnd.fluxtime.clip":{"source":"iana","extensions":["ftc"]},"application/vnd.font-fontforge-sfd":{"source":"iana"},"application/vnd.framemaker":{"source":"iana","extensions":["fm","frame","maker","book"]},"application/vnd.frogans.fnc":{"source":"iana","extensions":["fnc"]},"application/vnd.frogans.ltf":{"source":"iana","extensions":["ltf"]},"application/vnd.fsc.weblaunch":{"source":"iana","extensions":["fsc"]},"application/vnd.fujitsu.oasys":{"source":"iana","extensions":["oas"]},"application/vnd.fujitsu.oasys2":{"source":"iana","extensions":["oa2"]},"application/vnd.fujitsu.oasys3":{"source":"iana","extensions":["oa3"]},"application/vnd.fujitsu.oasysgp":{"source":"iana","extensions":["fg5"]},"application/vnd.fujitsu.oasysprs":{"source":"iana","extensions":["bh2"]},"application/vnd.fujixerox.art-ex":{"source":"iana"},"application/vnd.fujixerox.art4":{"source":"iana"},"application/vnd.fujixerox.ddd":{"source":"iana","extensions":["ddd"]},"application/vnd.fujixerox.docuworks":{"source":"iana","extensions":["xdw"]},"application/vnd.fujixerox.docuworks.binder":{"source":"iana","extensions":["xbd"]},"application/vnd.fujixerox.docuworks.container":{"source":"iana"},"application/vnd.fujixerox.hbpl":{"source":"iana"},"application/vnd.fut-misnet":{"source":"iana"},"application/vnd.futoin+cbor":{"source":"iana"},"application/vnd.futoin+json":{"source":"iana","compressible":true},"application/vnd.fuzzysheet":{"source":"iana","extensions":["fzs"]},"application/vnd.genomatix.tuxedo":{"source":"iana","extensions":["txd"]},"application/vnd.gentics.grd+json":{"source":"iana","compressible":true},"application/vnd.geo+json":{"source":"iana","compressible":true},"application/vnd.geocube+xml":{"source":"iana","compressible":true},"application/vnd.geogebra.file":{"source":"iana","extensions":["ggb"]},"application/vnd.geogebra.slides":{"source":"iana"},"application/vnd.geogebra.tool":{"source":"iana","extensions":["ggt"]},"application/vnd.geometry-explorer":{"source":"iana","extensions":["gex","gre"]},"application/vnd.geonext":{"source":"iana","extensions":["gxt"]},"application/vnd.geoplan":{"source":"iana","extensions":["g2w"]},"application/vnd.geospace":{"source":"iana","extensions":["g3w"]},"application/vnd.gerber":{"source":"iana"},"application/vnd.globalplatform.card-content-mgt":{"source":"iana"},"application/vnd.globalplatform.card-content-mgt-response":{"source":"iana"},"application/vnd.gmx":{"source":"iana","extensions":["gmx"]},"application/vnd.google-apps.document":{"compressible":false,"extensions":["gdoc"]},"application/vnd.google-apps.presentation":{"compressible":false,"extensions":["gslides"]},"application/vnd.google-apps.spreadsheet":{"compressible":false,"extensions":["gsheet"]},"application/vnd.google-earth.kml+xml":{"source":"iana","compressible":true,"extensions":["kml"]},"application/vnd.google-earth.kmz":{"source":"iana","compressible":false,"extensions":["kmz"]},"application/vnd.gov.sk.e-form+xml":{"source":"iana","compressible":true},"application/vnd.gov.sk.e-form+zip":{"source":"iana","compressible":false},"application/vnd.gov.sk.xmldatacontainer+xml":{"source":"iana","compressible":true},"application/vnd.grafeq":{"source":"iana","extensions":["gqf","gqs"]},"application/vnd.gridmp":{"source":"iana"},"application/vnd.groove-account":{"source":"iana","extensions":["gac"]},"application/vnd.groove-help":{"source":"iana","extensions":["ghf"]},"application/vnd.groove-identity-message":{"source":"iana","extensions":["gim"]},"application/vnd.groove-injector":{"source":"iana","extensions":["grv"]},"application/vnd.groove-tool-message":{"source":"iana","extensions":["gtm"]},"application/vnd.groove-tool-template":{"source":"iana","extensions":["tpl"]},"application/vnd.groove-vcard":{"source":"iana","extensions":["vcg"]},"application/vnd.hal+json":{"source":"iana","compressible":true},"application/vnd.hal+xml":{"source":"iana","compressible":true,"extensions":["hal"]},"application/vnd.handheld-entertainment+xml":{"source":"iana","compressible":true,"extensions":["zmm"]},"application/vnd.hbci":{"source":"iana","extensions":["hbci"]},"application/vnd.hc+json":{"source":"iana","compressible":true},"application/vnd.hcl-bireports":{"source":"iana"},"application/vnd.hdt":{"source":"iana"},"application/vnd.heroku+json":{"source":"iana","compressible":true},"application/vnd.hhe.lesson-player":{"source":"iana","extensions":["les"]},"application/vnd.hp-hpgl":{"source":"iana","extensions":["hpgl"]},"application/vnd.hp-hpid":{"source":"iana","extensions":["hpid"]},"application/vnd.hp-hps":{"source":"iana","extensions":["hps"]},"application/vnd.hp-jlyt":{"source":"iana","extensions":["jlt"]},"application/vnd.hp-pcl":{"source":"iana","extensions":["pcl"]},"application/vnd.hp-pclxl":{"source":"iana","extensions":["pclxl"]},"application/vnd.httphone":{"source":"iana"},"application/vnd.hydrostatix.sof-data":{"source":"iana","extensions":["sfd-hdstx"]},"application/vnd.hyper+json":{"source":"iana","compressible":true},"application/vnd.hyper-item+json":{"source":"iana","compressible":true},"application/vnd.hyperdrive+json":{"source":"iana","compressible":true},"application/vnd.hzn-3d-crossword":{"source":"iana"},"application/vnd.ibm.afplinedata":{"source":"iana"},"application/vnd.ibm.electronic-media":{"source":"iana"},"application/vnd.ibm.minipay":{"source":"iana","extensions":["mpy"]},"application/vnd.ibm.modcap":{"source":"iana","extensions":["afp","listafp","list3820"]},"application/vnd.ibm.rights-management":{"source":"iana","extensions":["irm"]},"application/vnd.ibm.secure-container":{"source":"iana","extensions":["sc"]},"application/vnd.iccprofile":{"source":"iana","extensions":["icc","icm"]},"application/vnd.ieee.1905":{"source":"iana"},"application/vnd.igloader":{"source":"iana","extensions":["igl"]},"application/vnd.imagemeter.folder+zip":{"source":"iana","compressible":false},"application/vnd.imagemeter.image+zip":{"source":"iana","compressible":false},"application/vnd.immervision-ivp":{"source":"iana","extensions":["ivp"]},"application/vnd.immervision-ivu":{"source":"iana","extensions":["ivu"]},"application/vnd.ims.imsccv1p1":{"source":"iana"},"application/vnd.ims.imsccv1p2":{"source":"iana"},"application/vnd.ims.imsccv1p3":{"source":"iana"},"application/vnd.ims.lis.v2.result+json":{"source":"iana","compressible":true},"application/vnd.ims.lti.v2.toolconsumerprofile+json":{"source":"iana","compressible":true},"application/vnd.ims.lti.v2.toolproxy+json":{"source":"iana","compressible":true},"application/vnd.ims.lti.v2.toolproxy.id+json":{"source":"iana","compressible":true},"application/vnd.ims.lti.v2.toolsettings+json":{"source":"iana","compressible":true},"application/vnd.ims.lti.v2.toolsettings.simple+json":{"source":"iana","compressible":true},"application/vnd.informedcontrol.rms+xml":{"source":"iana","compressible":true},"application/vnd.informix-visionary":{"source":"iana"},"application/vnd.infotech.project":{"source":"iana"},"application/vnd.infotech.project+xml":{"source":"iana","compressible":true},"application/vnd.innopath.wamp.notification":{"source":"iana"},"application/vnd.insors.igm":{"source":"iana","extensions":["igm"]},"application/vnd.intercon.formnet":{"source":"iana","extensions":["xpw","xpx"]},"application/vnd.intergeo":{"source":"iana","extensions":["i2g"]},"application/vnd.intertrust.digibox":{"source":"iana"},"application/vnd.intertrust.nncp":{"source":"iana"},"application/vnd.intu.qbo":{"source":"iana","extensions":["qbo"]},"application/vnd.intu.qfx":{"source":"iana","extensions":["qfx"]},"application/vnd.iptc.g2.catalogitem+xml":{"source":"iana","compressible":true},"application/vnd.iptc.g2.conceptitem+xml":{"source":"iana","compressible":true},"application/vnd.iptc.g2.knowledgeitem+xml":{"source":"iana","compressible":true},"application/vnd.iptc.g2.newsitem+xml":{"source":"iana","compressible":true},"application/vnd.iptc.g2.newsmessage+xml":{"source":"iana","compressible":true},"application/vnd.iptc.g2.packageitem+xml":{"source":"iana","compressible":true},"application/vnd.iptc.g2.planningitem+xml":{"source":"iana","compressible":true},"application/vnd.ipunplugged.rcprofile":{"source":"iana","extensions":["rcprofile"]},"application/vnd.irepository.package+xml":{"source":"iana","compressible":true,"extensions":["irp"]},"application/vnd.is-xpr":{"source":"iana","extensions":["xpr"]},"application/vnd.isac.fcs":{"source":"iana","extensions":["fcs"]},"application/vnd.iso11783-10+zip":{"source":"iana","compressible":false},"application/vnd.jam":{"source":"iana","extensions":["jam"]},"application/vnd.japannet-directory-service":{"source":"iana"},"application/vnd.japannet-jpnstore-wakeup":{"source":"iana"},"application/vnd.japannet-payment-wakeup":{"source":"iana"},"application/vnd.japannet-registration":{"source":"iana"},"application/vnd.japannet-registration-wakeup":{"source":"iana"},"application/vnd.japannet-setstore-wakeup":{"source":"iana"},"application/vnd.japannet-verification":{"source":"iana"},"application/vnd.japannet-verification-wakeup":{"source":"iana"},"application/vnd.jcp.javame.midlet-rms":{"source":"iana","extensions":["rms"]},"application/vnd.jisp":{"source":"iana","extensions":["jisp"]},"application/vnd.joost.joda-archive":{"source":"iana","extensions":["joda"]},"application/vnd.jsk.isdn-ngn":{"source":"iana"},"application/vnd.kahootz":{"source":"iana","extensions":["ktz","ktr"]},"application/vnd.kde.karbon":{"source":"iana","extensions":["karbon"]},"application/vnd.kde.kchart":{"source":"iana","extensions":["chrt"]},"application/vnd.kde.kformula":{"source":"iana","extensions":["kfo"]},"application/vnd.kde.kivio":{"source":"iana","extensions":["flw"]},"application/vnd.kde.kontour":{"source":"iana","extensions":["kon"]},"application/vnd.kde.kpresenter":{"source":"iana","extensions":["kpr","kpt"]},"application/vnd.kde.kspread":{"source":"iana","extensions":["ksp"]},"application/vnd.kde.kword":{"source":"iana","extensions":["kwd","kwt"]},"application/vnd.kenameaapp":{"source":"iana","extensions":["htke"]},"application/vnd.kidspiration":{"source":"iana","extensions":["kia"]},"application/vnd.kinar":{"source":"iana","extensions":["kne","knp"]},"application/vnd.koan":{"source":"iana","extensions":["skp","skd","skt","skm"]},"application/vnd.kodak-descriptor":{"source":"iana","extensions":["sse"]},"application/vnd.las":{"source":"iana"},"application/vnd.las.las+json":{"source":"iana","compressible":true},"application/vnd.las.las+xml":{"source":"iana","compressible":true,"extensions":["lasxml"]},"application/vnd.laszip":{"source":"iana"},"application/vnd.leap+json":{"source":"iana","compressible":true},"application/vnd.liberty-request+xml":{"source":"iana","compressible":true},"application/vnd.llamagraphics.life-balance.desktop":{"source":"iana","extensions":["lbd"]},"application/vnd.llamagraphics.life-balance.exchange+xml":{"source":"iana","compressible":true,"extensions":["lbe"]},"application/vnd.logipipe.circuit+zip":{"source":"iana","compressible":false},"application/vnd.loom":{"source":"iana"},"application/vnd.lotus-1-2-3":{"source":"iana","extensions":["123"]},"application/vnd.lotus-approach":{"source":"iana","extensions":["apr"]},"application/vnd.lotus-freelance":{"source":"iana","extensions":["pre"]},"application/vnd.lotus-notes":{"source":"iana","extensions":["nsf"]},"application/vnd.lotus-organizer":{"source":"iana","extensions":["org"]},"application/vnd.lotus-screencam":{"source":"iana","extensions":["scm"]},"application/vnd.lotus-wordpro":{"source":"iana","extensions":["lwp"]},"application/vnd.macports.portpkg":{"source":"iana","extensions":["portpkg"]},"application/vnd.mapbox-vector-tile":{"source":"iana"},"application/vnd.marlin.drm.actiontoken+xml":{"source":"iana","compressible":true},"application/vnd.marlin.drm.conftoken+xml":{"source":"iana","compressible":true},"application/vnd.marlin.drm.license+xml":{"source":"iana","compressible":true},"application/vnd.marlin.drm.mdcf":{"source":"iana"},"application/vnd.mason+json":{"source":"iana","compressible":true},"application/vnd.maxmind.maxmind-db":{"source":"iana"},"application/vnd.mcd":{"source":"iana","extensions":["mcd"]},"application/vnd.medcalcdata":{"source":"iana","extensions":["mc1"]},"application/vnd.mediastation.cdkey":{"source":"iana","extensions":["cdkey"]},"application/vnd.meridian-slingshot":{"source":"iana"},"application/vnd.mfer":{"source":"iana","extensions":["mwf"]},"application/vnd.mfmp":{"source":"iana","extensions":["mfm"]},"application/vnd.micro+json":{"source":"iana","compressible":true},"application/vnd.micrografx.flo":{"source":"iana","extensions":["flo"]},"application/vnd.micrografx.igx":{"source":"iana","extensions":["igx"]},"application/vnd.microsoft.portable-executable":{"source":"iana"},"application/vnd.microsoft.windows.thumbnail-cache":{"source":"iana"},"application/vnd.miele+json":{"source":"iana","compressible":true},"application/vnd.mif":{"source":"iana","extensions":["mif"]},"application/vnd.minisoft-hp3000-save":{"source":"iana"},"application/vnd.mitsubishi.misty-guard.trustweb":{"source":"iana"},"application/vnd.mobius.daf":{"source":"iana","extensions":["daf"]},"application/vnd.mobius.dis":{"source":"iana","extensions":["dis"]},"application/vnd.mobius.mbk":{"source":"iana","extensions":["mbk"]},"application/vnd.mobius.mqy":{"source":"iana","extensions":["mqy"]},"application/vnd.mobius.msl":{"source":"iana","extensions":["msl"]},"application/vnd.mobius.plc":{"source":"iana","extensions":["plc"]},"application/vnd.mobius.txf":{"source":"iana","extensions":["txf"]},"application/vnd.mophun.application":{"source":"iana","extensions":["mpn"]},"application/vnd.mophun.certificate":{"source":"iana","extensions":["mpc"]},"application/vnd.motorola.flexsuite":{"source":"iana"},"application/vnd.motorola.flexsuite.adsi":{"source":"iana"},"application/vnd.motorola.flexsuite.fis":{"source":"iana"},"application/vnd.motorola.flexsuite.gotap":{"source":"iana"},"application/vnd.motorola.flexsuite.kmr":{"source":"iana"},"application/vnd.motorola.flexsuite.ttc":{"source":"iana"},"application/vnd.motorola.flexsuite.wem":{"source":"iana"},"application/vnd.motorola.iprm":{"source":"iana"},"application/vnd.mozilla.xul+xml":{"source":"iana","compressible":true,"extensions":["xul"]},"application/vnd.ms-3mfdocument":{"source":"iana"},"application/vnd.ms-artgalry":{"source":"iana","extensions":["cil"]},"application/vnd.ms-asf":{"source":"iana"},"application/vnd.ms-cab-compressed":{"source":"iana","extensions":["cab"]},"application/vnd.ms-color.iccprofile":{"source":"apache"},"application/vnd.ms-excel":{"source":"iana","compressible":false,"extensions":["xls","xlm","xla","xlc","xlt","xlw"]},"application/vnd.ms-excel.addin.macroenabled.12":{"source":"iana","extensions":["xlam"]},"application/vnd.ms-excel.sheet.binary.macroenabled.12":{"source":"iana","extensions":["xlsb"]},"application/vnd.ms-excel.sheet.macroenabled.12":{"source":"iana","extensions":["xlsm"]},"application/vnd.ms-excel.template.macroenabled.12":{"source":"iana","extensions":["xltm"]},"application/vnd.ms-fontobject":{"source":"iana","compressible":true,"extensions":["eot"]},"application/vnd.ms-htmlhelp":{"source":"iana","extensions":["chm"]},"application/vnd.ms-ims":{"source":"iana","extensions":["ims"]},"application/vnd.ms-lrm":{"source":"iana","extensions":["lrm"]},"application/vnd.ms-office.activex+xml":{"source":"iana","compressible":true},"application/vnd.ms-officetheme":{"source":"iana","extensions":["thmx"]},"application/vnd.ms-opentype":{"source":"apache","compressible":true},"application/vnd.ms-outlook":{"compressible":false,"extensions":["msg"]},"application/vnd.ms-package.obfuscated-opentype":{"source":"apache"},"application/vnd.ms-pki.seccat":{"source":"apache","extensions":["cat"]},"application/vnd.ms-pki.stl":{"source":"apache","extensions":["stl"]},"application/vnd.ms-playready.initiator+xml":{"source":"iana","compressible":true},"application/vnd.ms-powerpoint":{"source":"iana","compressible":false,"extensions":["ppt","pps","pot"]},"application/vnd.ms-powerpoint.addin.macroenabled.12":{"source":"iana","extensions":["ppam"]},"application/vnd.ms-powerpoint.presentation.macroenabled.12":{"source":"iana","extensions":["pptm"]},"application/vnd.ms-powerpoint.slide.macroenabled.12":{"source":"iana","extensions":["sldm"]},"application/vnd.ms-powerpoint.slideshow.macroenabled.12":{"source":"iana","extensions":["ppsm"]},"application/vnd.ms-powerpoint.template.macroenabled.12":{"source":"iana","extensions":["potm"]},"application/vnd.ms-printdevicecapabilities+xml":{"source":"iana","compressible":true},"application/vnd.ms-printing.printticket+xml":{"source":"apache","compressible":true},"application/vnd.ms-printschematicket+xml":{"source":"iana","compressible":true},"application/vnd.ms-project":{"source":"iana","extensions":["mpp","mpt"]},"application/vnd.ms-tnef":{"source":"iana"},"application/vnd.ms-windows.devicepairing":{"source":"iana"},"application/vnd.ms-windows.nwprinting.oob":{"source":"iana"},"application/vnd.ms-windows.printerpairing":{"source":"iana"},"application/vnd.ms-windows.wsd.oob":{"source":"iana"},"application/vnd.ms-wmdrm.lic-chlg-req":{"source":"iana"},"application/vnd.ms-wmdrm.lic-resp":{"source":"iana"},"application/vnd.ms-wmdrm.meter-chlg-req":{"source":"iana"},"application/vnd.ms-wmdrm.meter-resp":{"source":"iana"},"application/vnd.ms-word.document.macroenabled.12":{"source":"iana","extensions":["docm"]},"application/vnd.ms-word.template.macroenabled.12":{"source":"iana","extensions":["dotm"]},"application/vnd.ms-works":{"source":"iana","extensions":["wps","wks","wcm","wdb"]},"application/vnd.ms-wpl":{"source":"iana","extensions":["wpl"]},"application/vnd.ms-xpsdocument":{"source":"iana","compressible":false,"extensions":["xps"]},"application/vnd.msa-disk-image":{"source":"iana"},"application/vnd.mseq":{"source":"iana","extensions":["mseq"]},"application/vnd.msign":{"source":"iana"},"application/vnd.multiad.creator":{"source":"iana"},"application/vnd.multiad.creator.cif":{"source":"iana"},"application/vnd.music-niff":{"source":"iana"},"application/vnd.musician":{"source":"iana","extensions":["mus"]},"application/vnd.muvee.style":{"source":"iana","extensions":["msty"]},"application/vnd.mynfc":{"source":"iana","extensions":["taglet"]},"application/vnd.ncd.control":{"source":"iana"},"application/vnd.ncd.reference":{"source":"iana"},"application/vnd.nearst.inv+json":{"source":"iana","compressible":true},"application/vnd.nervana":{"source":"iana"},"application/vnd.netfpx":{"source":"iana"},"application/vnd.neurolanguage.nlu":{"source":"iana","extensions":["nlu"]},"application/vnd.nimn":{"source":"iana"},"application/vnd.nintendo.nitro.rom":{"source":"iana"},"application/vnd.nintendo.snes.rom":{"source":"iana"},"application/vnd.nitf":{"source":"iana","extensions":["ntf","nitf"]},"application/vnd.noblenet-directory":{"source":"iana","extensions":["nnd"]},"application/vnd.noblenet-sealer":{"source":"iana","extensions":["nns"]},"application/vnd.noblenet-web":{"source":"iana","extensions":["nnw"]},"application/vnd.nokia.catalogs":{"source":"iana"},"application/vnd.nokia.conml+wbxml":{"source":"iana"},"application/vnd.nokia.conml+xml":{"source":"iana","compressible":true},"application/vnd.nokia.iptv.config+xml":{"source":"iana","compressible":true},"application/vnd.nokia.isds-radio-presets":{"source":"iana"},"application/vnd.nokia.landmark+wbxml":{"source":"iana"},"application/vnd.nokia.landmark+xml":{"source":"iana","compressible":true},"application/vnd.nokia.landmarkcollection+xml":{"source":"iana","compressible":true},"application/vnd.nokia.n-gage.ac+xml":{"source":"iana","compressible":true,"extensions":["ac"]},"application/vnd.nokia.n-gage.data":{"source":"iana","extensions":["ngdat"]},"application/vnd.nokia.n-gage.symbian.install":{"source":"iana","extensions":["n-gage"]},"application/vnd.nokia.ncd":{"source":"iana"},"application/vnd.nokia.pcd+wbxml":{"source":"iana"},"application/vnd.nokia.pcd+xml":{"source":"iana","compressible":true},"application/vnd.nokia.radio-preset":{"source":"iana","extensions":["rpst"]},"application/vnd.nokia.radio-presets":{"source":"iana","extensions":["rpss"]},"application/vnd.novadigm.edm":{"source":"iana","extensions":["edm"]},"application/vnd.novadigm.edx":{"source":"iana","extensions":["edx"]},"application/vnd.novadigm.ext":{"source":"iana","extensions":["ext"]},"application/vnd.ntt-local.content-share":{"source":"iana"},"application/vnd.ntt-local.file-transfer":{"source":"iana"},"application/vnd.ntt-local.ogw_remote-access":{"source":"iana"},"application/vnd.ntt-local.sip-ta_remote":{"source":"iana"},"application/vnd.ntt-local.sip-ta_tcp_stream":{"source":"iana"},"application/vnd.oasis.opendocument.chart":{"source":"iana","extensions":["odc"]},"application/vnd.oasis.opendocument.chart-template":{"source":"iana","extensions":["otc"]},"application/vnd.oasis.opendocument.database":{"source":"iana","extensions":["odb"]},"application/vnd.oasis.opendocument.formula":{"source":"iana","extensions":["odf"]},"application/vnd.oasis.opendocument.formula-template":{"source":"iana","extensions":["odft"]},"application/vnd.oasis.opendocument.graphics":{"source":"iana","compressible":false,"extensions":["odg"]},"application/vnd.oasis.opendocument.graphics-template":{"source":"iana","extensions":["otg"]},"application/vnd.oasis.opendocument.image":{"source":"iana","extensions":["odi"]},"application/vnd.oasis.opendocument.image-template":{"source":"iana","extensions":["oti"]},"application/vnd.oasis.opendocument.presentation":{"source":"iana","compressible":false,"extensions":["odp"]},"application/vnd.oasis.opendocument.presentation-template":{"source":"iana","extensions":["otp"]},"application/vnd.oasis.opendocument.spreadsheet":{"source":"iana","compressible":false,"extensions":["ods"]},"application/vnd.oasis.opendocument.spreadsheet-template":{"source":"iana","extensions":["ots"]},"application/vnd.oasis.opendocument.text":{"source":"iana","compressible":false,"extensions":["odt"]},"application/vnd.oasis.opendocument.text-master":{"source":"iana","extensions":["odm"]},"application/vnd.oasis.opendocument.text-template":{"source":"iana","extensions":["ott"]},"application/vnd.oasis.opendocument.text-web":{"source":"iana","extensions":["oth"]},"application/vnd.obn":{"source":"iana"},"application/vnd.ocf+cbor":{"source":"iana"},"application/vnd.oci.image.manifest.v1+json":{"source":"iana","compressible":true},"application/vnd.oftn.l10n+json":{"source":"iana","compressible":true},"application/vnd.oipf.contentaccessdownload+xml":{"source":"iana","compressible":true},"application/vnd.oipf.contentaccessstreaming+xml":{"source":"iana","compressible":true},"application/vnd.oipf.cspg-hexbinary":{"source":"iana"},"application/vnd.oipf.dae.svg+xml":{"source":"iana","compressible":true},"application/vnd.oipf.dae.xhtml+xml":{"source":"iana","compressible":true},"application/vnd.oipf.mippvcontrolmessage+xml":{"source":"iana","compressible":true},"application/vnd.oipf.pae.gem":{"source":"iana"},"application/vnd.oipf.spdiscovery+xml":{"source":"iana","compressible":true},"application/vnd.oipf.spdlist+xml":{"source":"iana","compressible":true},"application/vnd.oipf.ueprofile+xml":{"source":"iana","compressible":true},"application/vnd.oipf.userprofile+xml":{"source":"iana","compressible":true},"application/vnd.olpc-sugar":{"source":"iana","extensions":["xo"]},"application/vnd.oma-scws-config":{"source":"iana"},"application/vnd.oma-scws-http-request":{"source":"iana"},"application/vnd.oma-scws-http-response":{"source":"iana"},"application/vnd.oma.bcast.associated-procedure-parameter+xml":{"source":"iana","compressible":true},"application/vnd.oma.bcast.drm-trigger+xml":{"source":"iana","compressible":true},"application/vnd.oma.bcast.imd+xml":{"source":"iana","compressible":true},"application/vnd.oma.bcast.ltkm":{"source":"iana"},"application/vnd.oma.bcast.notification+xml":{"source":"iana","compressible":true},"application/vnd.oma.bcast.provisioningtrigger":{"source":"iana"},"application/vnd.oma.bcast.sgboot":{"source":"iana"},"application/vnd.oma.bcast.sgdd+xml":{"source":"iana","compressible":true},"application/vnd.oma.bcast.sgdu":{"source":"iana"},"application/vnd.oma.bcast.simple-symbol-container":{"source":"iana"},"application/vnd.oma.bcast.smartcard-trigger+xml":{"source":"iana","compressible":true},"application/vnd.oma.bcast.sprov+xml":{"source":"iana","compressible":true},"application/vnd.oma.bcast.stkm":{"source":"iana"},"application/vnd.oma.cab-address-book+xml":{"source":"iana","compressible":true},"application/vnd.oma.cab-feature-handler+xml":{"source":"iana","compressible":true},"application/vnd.oma.cab-pcc+xml":{"source":"iana","compressible":true},"application/vnd.oma.cab-subs-invite+xml":{"source":"iana","compressible":true},"application/vnd.oma.cab-user-prefs+xml":{"source":"iana","compressible":true},"application/vnd.oma.dcd":{"source":"iana"},"application/vnd.oma.dcdc":{"source":"iana"},"application/vnd.oma.dd2+xml":{"source":"iana","compressible":true,"extensions":["dd2"]},"application/vnd.oma.drm.risd+xml":{"source":"iana","compressible":true},"application/vnd.oma.group-usage-list+xml":{"source":"iana","compressible":true},"application/vnd.oma.lwm2m+cbor":{"source":"iana"},"application/vnd.oma.lwm2m+json":{"source":"iana","compressible":true},"application/vnd.oma.lwm2m+tlv":{"source":"iana"},"application/vnd.oma.pal+xml":{"source":"iana","compressible":true},"application/vnd.oma.poc.detailed-progress-report+xml":{"source":"iana","compressible":true},"application/vnd.oma.poc.final-report+xml":{"source":"iana","compressible":true},"application/vnd.oma.poc.groups+xml":{"source":"iana","compressible":true},"application/vnd.oma.poc.invocation-descriptor+xml":{"source":"iana","compressible":true},"application/vnd.oma.poc.optimized-progress-report+xml":{"source":"iana","compressible":true},"application/vnd.oma.push":{"source":"iana"},"application/vnd.oma.scidm.messages+xml":{"source":"iana","compressible":true},"application/vnd.oma.xcap-directory+xml":{"source":"iana","compressible":true},"application/vnd.omads-email+xml":{"source":"iana","charset":"UTF-8","compressible":true},"application/vnd.omads-file+xml":{"source":"iana","charset":"UTF-8","compressible":true},"application/vnd.omads-folder+xml":{"source":"iana","charset":"UTF-8","compressible":true},"application/vnd.omaloc-supl-init":{"source":"iana"},"application/vnd.onepager":{"source":"iana"},"application/vnd.onepagertamp":{"source":"iana"},"application/vnd.onepagertamx":{"source":"iana"},"application/vnd.onepagertat":{"source":"iana"},"application/vnd.onepagertatp":{"source":"iana"},"application/vnd.onepagertatx":{"source":"iana"},"application/vnd.openblox.game+xml":{"source":"iana","compressible":true,"extensions":["obgx"]},"application/vnd.openblox.game-binary":{"source":"iana"},"application/vnd.openeye.oeb":{"source":"iana"},"application/vnd.openofficeorg.extension":{"source":"apache","extensions":["oxt"]},"application/vnd.openstreetmap.data+xml":{"source":"iana","compressible":true,"extensions":["osm"]},"application/vnd.openxmlformats-officedocument.custom-properties+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.customxmlproperties+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.drawing+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.drawingml.chart+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.drawingml.chartshapes+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.drawingml.diagramcolors+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.drawingml.diagramdata+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.drawingml.diagramlayout+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.drawingml.diagramstyle+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.extended-properties+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.presentationml.commentauthors+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.presentationml.comments+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.presentationml.handoutmaster+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.presentationml.notesmaster+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.presentationml.notesslide+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.presentationml.presentation":{"source":"iana","compressible":false,"extensions":["pptx"]},"application/vnd.openxmlformats-officedocument.presentationml.presentation.main+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.presentationml.presprops+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.presentationml.slide":{"source":"iana","extensions":["sldx"]},"application/vnd.openxmlformats-officedocument.presentationml.slide+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.presentationml.slidelayout+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.presentationml.slidemaster+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.presentationml.slideshow":{"source":"iana","extensions":["ppsx"]},"application/vnd.openxmlformats-officedocument.presentationml.slideshow.main+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.presentationml.slideupdateinfo+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.presentationml.tablestyles+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.presentationml.tags+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.presentationml.template":{"source":"iana","extensions":["potx"]},"application/vnd.openxmlformats-officedocument.presentationml.template.main+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.presentationml.viewprops+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.spreadsheetml.calcchain+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.spreadsheetml.chartsheet+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.spreadsheetml.comments+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.spreadsheetml.connections+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.spreadsheetml.dialogsheet+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.spreadsheetml.externallink+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.spreadsheetml.pivotcachedefinition+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.spreadsheetml.pivotcacherecords+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.spreadsheetml.pivottable+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.spreadsheetml.querytable+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.spreadsheetml.revisionheaders+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.spreadsheetml.revisionlog+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.spreadsheetml.sharedstrings+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.spreadsheetml.sheet":{"source":"iana","compressible":false,"extensions":["xlsx"]},"application/vnd.openxmlformats-officedocument.spreadsheetml.sheet.main+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.spreadsheetml.sheetmetadata+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.spreadsheetml.styles+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.spreadsheetml.table+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.spreadsheetml.tablesinglecells+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.spreadsheetml.template":{"source":"iana","extensions":["xltx"]},"application/vnd.openxmlformats-officedocument.spreadsheetml.template.main+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.spreadsheetml.usernames+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.spreadsheetml.volatiledependencies+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.spreadsheetml.worksheet+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.theme+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.themeoverride+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.vmldrawing":{"source":"iana"},"application/vnd.openxmlformats-officedocument.wordprocessingml.comments+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.wordprocessingml.document":{"source":"iana","compressible":false,"extensions":["docx"]},"application/vnd.openxmlformats-officedocument.wordprocessingml.document.glossary+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.wordprocessingml.document.main+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.wordprocessingml.endnotes+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.wordprocessingml.fonttable+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.wordprocessingml.footer+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.wordprocessingml.footnotes+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.wordprocessingml.numbering+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.wordprocessingml.settings+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.wordprocessingml.styles+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.wordprocessingml.template":{"source":"iana","extensions":["dotx"]},"application/vnd.openxmlformats-officedocument.wordprocessingml.template.main+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.wordprocessingml.websettings+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-package.core-properties+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-package.digital-signature-xmlsignature+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-package.relationships+xml":{"source":"iana","compressible":true},"application/vnd.oracle.resource+json":{"source":"iana","compressible":true},"application/vnd.orange.indata":{"source":"iana"},"application/vnd.osa.netdeploy":{"source":"iana"},"application/vnd.osgeo.mapguide.package":{"source":"iana","extensions":["mgp"]},"application/vnd.osgi.bundle":{"source":"iana"},"application/vnd.osgi.dp":{"source":"iana","extensions":["dp"]},"application/vnd.osgi.subsystem":{"source":"iana","extensions":["esa"]},"application/vnd.otps.ct-kip+xml":{"source":"iana","compressible":true},"application/vnd.oxli.countgraph":{"source":"iana"},"application/vnd.pagerduty+json":{"source":"iana","compressible":true},"application/vnd.palm":{"source":"iana","extensions":["pdb","pqa","oprc"]},"application/vnd.panoply":{"source":"iana"},"application/vnd.paos.xml":{"source":"iana"},"application/vnd.patentdive":{"source":"iana"},"application/vnd.patientecommsdoc":{"source":"iana"},"application/vnd.pawaafile":{"source":"iana","extensions":["paw"]},"application/vnd.pcos":{"source":"iana"},"application/vnd.pg.format":{"source":"iana","extensions":["str"]},"application/vnd.pg.osasli":{"source":"iana","extensions":["ei6"]},"application/vnd.piaccess.application-licence":{"source":"iana"},"application/vnd.picsel":{"source":"iana","extensions":["efif"]},"application/vnd.pmi.widget":{"source":"iana","extensions":["wg"]},"application/vnd.poc.group-advertisement+xml":{"source":"iana","compressible":true},"application/vnd.pocketlearn":{"source":"iana","extensions":["plf"]},"application/vnd.powerbuilder6":{"source":"iana","extensions":["pbd"]},"application/vnd.powerbuilder6-s":{"source":"iana"},"application/vnd.powerbuilder7":{"source":"iana"},"application/vnd.powerbuilder7-s":{"source":"iana"},"application/vnd.powerbuilder75":{"source":"iana"},"application/vnd.powerbuilder75-s":{"source":"iana"},"application/vnd.preminet":{"source":"iana"},"application/vnd.previewsystems.box":{"source":"iana","extensions":["box"]},"application/vnd.proteus.magazine":{"source":"iana","extensions":["mgz"]},"application/vnd.psfs":{"source":"iana"},"application/vnd.publishare-delta-tree":{"source":"iana","extensions":["qps"]},"application/vnd.pvi.ptid1":{"source":"iana","extensions":["ptid"]},"application/vnd.pwg-multiplexed":{"source":"iana"},"application/vnd.pwg-xhtml-print+xml":{"source":"iana","compressible":true},"application/vnd.qualcomm.brew-app-res":{"source":"iana"},"application/vnd.quarantainenet":{"source":"iana"},"application/vnd.quark.quarkxpress":{"source":"iana","extensions":["qxd","qxt","qwd","qwt","qxl","qxb"]},"application/vnd.quobject-quoxdocument":{"source":"iana"},"application/vnd.radisys.moml+xml":{"source":"iana","compressible":true},"application/vnd.radisys.msml+xml":{"source":"iana","compressible":true},"application/vnd.radisys.msml-audit+xml":{"source":"iana","compressible":true},"application/vnd.radisys.msml-audit-conf+xml":{"source":"iana","compressible":true},"application/vnd.radisys.msml-audit-conn+xml":{"source":"iana","compressible":true},"application/vnd.radisys.msml-audit-dialog+xml":{"source":"iana","compressible":true},"application/vnd.radisys.msml-audit-stream+xml":{"source":"iana","compressible":true},"application/vnd.radisys.msml-conf+xml":{"source":"iana","compressible":true},"application/vnd.radisys.msml-dialog+xml":{"source":"iana","compressible":true},"application/vnd.radisys.msml-dialog-base+xml":{"source":"iana","compressible":true},"application/vnd.radisys.msml-dialog-fax-detect+xml":{"source":"iana","compressible":true},"application/vnd.radisys.msml-dialog-fax-sendrecv+xml":{"source":"iana","compressible":true},"application/vnd.radisys.msml-dialog-group+xml":{"source":"iana","compressible":true},"application/vnd.radisys.msml-dialog-speech+xml":{"source":"iana","compressible":true},"application/vnd.radisys.msml-dialog-transform+xml":{"source":"iana","compressible":true},"application/vnd.rainstor.data":{"source":"iana"},"application/vnd.rapid":{"source":"iana"},"application/vnd.rar":{"source":"iana","extensions":["rar"]},"application/vnd.realvnc.bed":{"source":"iana","extensions":["bed"]},"application/vnd.recordare.musicxml":{"source":"iana","extensions":["mxl"]},"application/vnd.recordare.musicxml+xml":{"source":"iana","compressible":true,"extensions":["musicxml"]},"application/vnd.renlearn.rlprint":{"source":"iana"},"application/vnd.restful+json":{"source":"iana","compressible":true},"application/vnd.rig.cryptonote":{"source":"iana","extensions":["cryptonote"]},"application/vnd.rim.cod":{"source":"apache","extensions":["cod"]},"application/vnd.rn-realmedia":{"source":"apache","extensions":["rm"]},"application/vnd.rn-realmedia-vbr":{"source":"apache","extensions":["rmvb"]},"application/vnd.route66.link66+xml":{"source":"iana","compressible":true,"extensions":["link66"]},"application/vnd.rs-274x":{"source":"iana"},"application/vnd.ruckus.download":{"source":"iana"},"application/vnd.s3sms":{"source":"iana"},"application/vnd.sailingtracker.track":{"source":"iana","extensions":["st"]},"application/vnd.sar":{"source":"iana"},"application/vnd.sbm.cid":{"source":"iana"},"application/vnd.sbm.mid2":{"source":"iana"},"application/vnd.scribus":{"source":"iana"},"application/vnd.sealed.3df":{"source":"iana"},"application/vnd.sealed.csf":{"source":"iana"},"application/vnd.sealed.doc":{"source":"iana"},"application/vnd.sealed.eml":{"source":"iana"},"application/vnd.sealed.mht":{"source":"iana"},"application/vnd.sealed.net":{"source":"iana"},"application/vnd.sealed.ppt":{"source":"iana"},"application/vnd.sealed.tiff":{"source":"iana"},"application/vnd.sealed.xls":{"source":"iana"},"application/vnd.sealedmedia.softseal.html":{"source":"iana"},"application/vnd.sealedmedia.softseal.pdf":{"source":"iana"},"application/vnd.seemail":{"source":"iana","extensions":["see"]},"application/vnd.seis+json":{"source":"iana","compressible":true},"application/vnd.sema":{"source":"iana","extensions":["sema"]},"application/vnd.semd":{"source":"iana","extensions":["semd"]},"application/vnd.semf":{"source":"iana","extensions":["semf"]},"application/vnd.shade-save-file":{"source":"iana"},"application/vnd.shana.informed.formdata":{"source":"iana","extensions":["ifm"]},"application/vnd.shana.informed.formtemplate":{"source":"iana","extensions":["itp"]},"application/vnd.shana.informed.interchange":{"source":"iana","extensions":["iif"]},"application/vnd.shana.informed.package":{"source":"iana","extensions":["ipk"]},"application/vnd.shootproof+json":{"source":"iana","compressible":true},"application/vnd.shopkick+json":{"source":"iana","compressible":true},"application/vnd.shp":{"source":"iana"},"application/vnd.shx":{"source":"iana"},"application/vnd.sigrok.session":{"source":"iana"},"application/vnd.simtech-mindmapper":{"source":"iana","extensions":["twd","twds"]},"application/vnd.siren+json":{"source":"iana","compressible":true},"application/vnd.smaf":{"source":"iana","extensions":["mmf"]},"application/vnd.smart.notebook":{"source":"iana"},"application/vnd.smart.teacher":{"source":"iana","extensions":["teacher"]},"application/vnd.snesdev-page-table":{"source":"iana"},"application/vnd.software602.filler.form+xml":{"source":"iana","compressible":true,"extensions":["fo"]},"application/vnd.software602.filler.form-xml-zip":{"source":"iana"},"application/vnd.solent.sdkm+xml":{"source":"iana","compressible":true,"extensions":["sdkm","sdkd"]},"application/vnd.spotfire.dxp":{"source":"iana","extensions":["dxp"]},"application/vnd.spotfire.sfs":{"source":"iana","extensions":["sfs"]},"application/vnd.sqlite3":{"source":"iana"},"application/vnd.sss-cod":{"source":"iana"},"application/vnd.sss-dtf":{"source":"iana"},"application/vnd.sss-ntf":{"source":"iana"},"application/vnd.stardivision.calc":{"source":"apache","extensions":["sdc"]},"application/vnd.stardivision.draw":{"source":"apache","extensions":["sda"]},"application/vnd.stardivision.impress":{"source":"apache","extensions":["sdd"]},"application/vnd.stardivision.math":{"source":"apache","extensions":["smf"]},"application/vnd.stardivision.writer":{"source":"apache","extensions":["sdw","vor"]},"application/vnd.stardivision.writer-global":{"source":"apache","extensions":["sgl"]},"application/vnd.stepmania.package":{"source":"iana","extensions":["smzip"]},"application/vnd.stepmania.stepchart":{"source":"iana","extensions":["sm"]},"application/vnd.street-stream":{"source":"iana"},"application/vnd.sun.wadl+xml":{"source":"iana","compressible":true,"extensions":["wadl"]},"application/vnd.sun.xml.calc":{"source":"apache","extensions":["sxc"]},"application/vnd.sun.xml.calc.template":{"source":"apache","extensions":["stc"]},"application/vnd.sun.xml.draw":{"source":"apache","extensions":["sxd"]},"application/vnd.sun.xml.draw.template":{"source":"apache","extensions":["std"]},"application/vnd.sun.xml.impress":{"source":"apache","extensions":["sxi"]},"application/vnd.sun.xml.impress.template":{"source":"apache","extensions":["sti"]},"application/vnd.sun.xml.math":{"source":"apache","extensions":["sxm"]},"application/vnd.sun.xml.writer":{"source":"apache","extensions":["sxw"]},"application/vnd.sun.xml.writer.global":{"source":"apache","extensions":["sxg"]},"application/vnd.sun.xml.writer.template":{"source":"apache","extensions":["stw"]},"application/vnd.sus-calendar":{"source":"iana","extensions":["sus","susp"]},"application/vnd.svd":{"source":"iana","extensions":["svd"]},"application/vnd.swiftview-ics":{"source":"iana"},"application/vnd.sycle+xml":{"source":"iana","compressible":true},"application/vnd.symbian.install":{"source":"apache","extensions":["sis","sisx"]},"application/vnd.syncml+xml":{"source":"iana","charset":"UTF-8","compressible":true,"extensions":["xsm"]},"application/vnd.syncml.dm+wbxml":{"source":"iana","charset":"UTF-8","extensions":["bdm"]},"application/vnd.syncml.dm+xml":{"source":"iana","charset":"UTF-8","compressible":true,"extensions":["xdm"]},"application/vnd.syncml.dm.notification":{"source":"iana"},"application/vnd.syncml.dmddf+wbxml":{"source":"iana"},"application/vnd.syncml.dmddf+xml":{"source":"iana","charset":"UTF-8","compressible":true,"extensions":["ddf"]},"application/vnd.syncml.dmtnds+wbxml":{"source":"iana"},"application/vnd.syncml.dmtnds+xml":{"source":"iana","charset":"UTF-8","compressible":true},"application/vnd.syncml.ds.notification":{"source":"iana"},"application/vnd.tableschema+json":{"source":"iana","compressible":true},"application/vnd.tao.intent-module-archive":{"source":"iana","extensions":["tao"]},"application/vnd.tcpdump.pcap":{"source":"iana","extensions":["pcap","cap","dmp"]},"application/vnd.think-cell.ppttc+json":{"source":"iana","compressible":true},"application/vnd.tmd.mediaflex.api+xml":{"source":"iana","compressible":true},"application/vnd.tml":{"source":"iana"},"application/vnd.tmobile-livetv":{"source":"iana","extensions":["tmo"]},"application/vnd.tri.onesource":{"source":"iana"},"application/vnd.trid.tpt":{"source":"iana","extensions":["tpt"]},"application/vnd.triscape.mxs":{"source":"iana","extensions":["mxs"]},"application/vnd.trueapp":{"source":"iana","extensions":["tra"]},"application/vnd.truedoc":{"source":"iana"},"application/vnd.ubisoft.webplayer":{"source":"iana"},"application/vnd.ufdl":{"source":"iana","extensions":["ufd","ufdl"]},"application/vnd.uiq.theme":{"source":"iana","extensions":["utz"]},"application/vnd.umajin":{"source":"iana","extensions":["umj"]},"application/vnd.unity":{"source":"iana","extensions":["unityweb"]},"application/vnd.uoml+xml":{"source":"iana","compressible":true,"extensions":["uoml"]},"application/vnd.uplanet.alert":{"source":"iana"},"application/vnd.uplanet.alert-wbxml":{"source":"iana"},"application/vnd.uplanet.bearer-choice":{"source":"iana"},"application/vnd.uplanet.bearer-choice-wbxml":{"source":"iana"},"application/vnd.uplanet.cacheop":{"source":"iana"},"application/vnd.uplanet.cacheop-wbxml":{"source":"iana"},"application/vnd.uplanet.channel":{"source":"iana"},"application/vnd.uplanet.channel-wbxml":{"source":"iana"},"application/vnd.uplanet.list":{"source":"iana"},"application/vnd.uplanet.list-wbxml":{"source":"iana"},"application/vnd.uplanet.listcmd":{"source":"iana"},"application/vnd.uplanet.listcmd-wbxml":{"source":"iana"},"application/vnd.uplanet.signal":{"source":"iana"},"application/vnd.uri-map":{"source":"iana"},"application/vnd.valve.source.material":{"source":"iana"},"application/vnd.vcx":{"source":"iana","extensions":["vcx"]},"application/vnd.vd-study":{"source":"iana"},"application/vnd.vectorworks":{"source":"iana"},"application/vnd.vel+json":{"source":"iana","compressible":true},"application/vnd.verimatrix.vcas":{"source":"iana"},"application/vnd.veryant.thin":{"source":"iana"},"application/vnd.ves.encrypted":{"source":"iana"},"application/vnd.vidsoft.vidconference":{"source":"iana"},"application/vnd.visio":{"source":"iana","extensions":["vsd","vst","vss","vsw"]},"application/vnd.visionary":{"source":"iana","extensions":["vis"]},"application/vnd.vividence.scriptfile":{"source":"iana"},"application/vnd.vsf":{"source":"iana","extensions":["vsf"]},"application/vnd.wap.sic":{"source":"iana"},"application/vnd.wap.slc":{"source":"iana"},"application/vnd.wap.wbxml":{"source":"iana","charset":"UTF-8","extensions":["wbxml"]},"application/vnd.wap.wmlc":{"source":"iana","extensions":["wmlc"]},"application/vnd.wap.wmlscriptc":{"source":"iana","extensions":["wmlsc"]},"application/vnd.webturbo":{"source":"iana","extensions":["wtb"]},"application/vnd.wfa.dpp":{"source":"iana"},"application/vnd.wfa.p2p":{"source":"iana"},"application/vnd.wfa.wsc":{"source":"iana"},"application/vnd.windows.devicepairing":{"source":"iana"},"application/vnd.wmc":{"source":"iana"},"application/vnd.wmf.bootstrap":{"source":"iana"},"application/vnd.wolfram.mathematica":{"source":"iana"},"application/vnd.wolfram.mathematica.package":{"source":"iana"},"application/vnd.wolfram.player":{"source":"iana","extensions":["nbp"]},"application/vnd.wordperfect":{"source":"iana","extensions":["wpd"]},"application/vnd.wqd":{"source":"iana","extensions":["wqd"]},"application/vnd.wrq-hp3000-labelled":{"source":"iana"},"application/vnd.wt.stf":{"source":"iana","extensions":["stf"]},"application/vnd.wv.csp+wbxml":{"source":"iana"},"application/vnd.wv.csp+xml":{"source":"iana","compressible":true},"application/vnd.wv.ssp+xml":{"source":"iana","compressible":true},"application/vnd.xacml+json":{"source":"iana","compressible":true},"application/vnd.xara":{"source":"iana","extensions":["xar"]},"application/vnd.xfdl":{"source":"iana","extensions":["xfdl"]},"application/vnd.xfdl.webform":{"source":"iana"},"application/vnd.xmi+xml":{"source":"iana","compressible":true},"application/vnd.xmpie.cpkg":{"source":"iana"},"application/vnd.xmpie.dpkg":{"source":"iana"},"application/vnd.xmpie.plan":{"source":"iana"},"application/vnd.xmpie.ppkg":{"source":"iana"},"application/vnd.xmpie.xlim":{"source":"iana"},"application/vnd.yamaha.hv-dic":{"source":"iana","extensions":["hvd"]},"application/vnd.yamaha.hv-script":{"source":"iana","extensions":["hvs"]},"application/vnd.yamaha.hv-voice":{"source":"iana","extensions":["hvp"]},"application/vnd.yamaha.openscoreformat":{"source":"iana","extensions":["osf"]},"application/vnd.yamaha.openscoreformat.osfpvg+xml":{"source":"iana","compressible":true,"extensions":["osfpvg"]},"application/vnd.yamaha.remote-setup":{"source":"iana"},"application/vnd.yamaha.smaf-audio":{"source":"iana","extensions":["saf"]},"application/vnd.yamaha.smaf-phrase":{"source":"iana","extensions":["spf"]},"application/vnd.yamaha.through-ngn":{"source":"iana"},"application/vnd.yamaha.tunnel-udpencap":{"source":"iana"},"application/vnd.yaoweme":{"source":"iana"},"application/vnd.yellowriver-custom-menu":{"source":"iana","extensions":["cmp"]},"application/vnd.youtube.yt":{"source":"iana"},"application/vnd.zul":{"source":"iana","extensions":["zir","zirz"]},"application/vnd.zzazz.deck+xml":{"source":"iana","compressible":true,"extensions":["zaz"]},"application/voicexml+xml":{"source":"iana","compressible":true,"extensions":["vxml"]},"application/voucher-cms+json":{"source":"iana","compressible":true},"application/vq-rtcpxr":{"source":"iana"},"application/wasm":{"compressible":true,"extensions":["wasm"]},"application/watcherinfo+xml":{"source":"iana","compressible":true},"application/webpush-options+json":{"source":"iana","compressible":true},"application/whoispp-query":{"source":"iana"},"application/whoispp-response":{"source":"iana"},"application/widget":{"source":"iana","extensions":["wgt"]},"application/winhlp":{"source":"apache","extensions":["hlp"]},"application/wita":{"source":"iana"},"application/wordperfect5.1":{"source":"iana"},"application/wsdl+xml":{"source":"iana","compressible":true,"extensions":["wsdl"]},"application/wspolicy+xml":{"source":"iana","compressible":true,"extensions":["wspolicy"]},"application/x-7z-compressed":{"source":"apache","compressible":false,"extensions":["7z"]},"application/x-abiword":{"source":"apache","extensions":["abw"]},"application/x-ace-compressed":{"source":"apache","extensions":["ace"]},"application/x-amf":{"source":"apache"},"application/x-apple-diskimage":{"source":"apache","extensions":["dmg"]},"application/x-arj":{"compressible":false,"extensions":["arj"]},"application/x-authorware-bin":{"source":"apache","extensions":["aab","x32","u32","vox"]},"application/x-authorware-map":{"source":"apache","extensions":["aam"]},"application/x-authorware-seg":{"source":"apache","extensions":["aas"]},"application/x-bcpio":{"source":"apache","extensions":["bcpio"]},"application/x-bdoc":{"compressible":false,"extensions":["bdoc"]},"application/x-bittorrent":{"source":"apache","extensions":["torrent"]},"application/x-blorb":{"source":"apache","extensions":["blb","blorb"]},"application/x-bzip":{"source":"apache","compressible":false,"extensions":["bz"]},"application/x-bzip2":{"source":"apache","compressible":false,"extensions":["bz2","boz"]},"application/x-cbr":{"source":"apache","extensions":["cbr","cba","cbt","cbz","cb7"]},"application/x-cdlink":{"source":"apache","extensions":["vcd"]},"application/x-cfs-compressed":{"source":"apache","extensions":["cfs"]},"application/x-chat":{"source":"apache","extensions":["chat"]},"application/x-chess-pgn":{"source":"apache","extensions":["pgn"]},"application/x-chrome-extension":{"extensions":["crx"]},"application/x-cocoa":{"source":"nginx","extensions":["cco"]},"application/x-compress":{"source":"apache"},"application/x-conference":{"source":"apache","extensions":["nsc"]},"application/x-cpio":{"source":"apache","extensions":["cpio"]},"application/x-csh":{"source":"apache","extensions":["csh"]},"application/x-deb":{"compressible":false},"application/x-debian-package":{"source":"apache","extensions":["deb","udeb"]},"application/x-dgc-compressed":{"source":"apache","extensions":["dgc"]},"application/x-director":{"source":"apache","extensions":["dir","dcr","dxr","cst","cct","cxt","w3d","fgd","swa"]},"application/x-doom":{"source":"apache","extensions":["wad"]},"application/x-dtbncx+xml":{"source":"apache","compressible":true,"extensions":["ncx"]},"application/x-dtbook+xml":{"source":"apache","compressible":true,"extensions":["dtb"]},"application/x-dtbresource+xml":{"source":"apache","compressible":true,"extensions":["res"]},"application/x-dvi":{"source":"apache","compressible":false,"extensions":["dvi"]},"application/x-envoy":{"source":"apache","extensions":["evy"]},"application/x-eva":{"source":"apache","extensions":["eva"]},"application/x-font-bdf":{"source":"apache","extensions":["bdf"]},"application/x-font-dos":{"source":"apache"},"application/x-font-framemaker":{"source":"apache"},"application/x-font-ghostscript":{"source":"apache","extensions":["gsf"]},"application/x-font-libgrx":{"source":"apache"},"application/x-font-linux-psf":{"source":"apache","extensions":["psf"]},"application/x-font-pcf":{"source":"apache","extensions":["pcf"]},"application/x-font-snf":{"source":"apache","extensions":["snf"]},"application/x-font-speedo":{"source":"apache"},"application/x-font-sunos-news":{"source":"apache"},"application/x-font-type1":{"source":"apache","extensions":["pfa","pfb","pfm","afm"]},"application/x-font-vfont":{"source":"apache"},"application/x-freearc":{"source":"apache","extensions":["arc"]},"application/x-futuresplash":{"source":"apache","extensions":["spl"]},"application/x-gca-compressed":{"source":"apache","extensions":["gca"]},"application/x-glulx":{"source":"apache","extensions":["ulx"]},"application/x-gnumeric":{"source":"apache","extensions":["gnumeric"]},"application/x-gramps-xml":{"source":"apache","extensions":["gramps"]},"application/x-gtar":{"source":"apache","extensions":["gtar"]},"application/x-gzip":{"source":"apache"},"application/x-hdf":{"source":"apache","extensions":["hdf"]},"application/x-httpd-php":{"compressible":true,"extensions":["php"]},"application/x-install-instructions":{"source":"apache","extensions":["install"]},"application/x-iso9660-image":{"source":"apache","extensions":["iso"]},"application/x-java-archive-diff":{"source":"nginx","extensions":["jardiff"]},"application/x-java-jnlp-file":{"source":"apache","compressible":false,"extensions":["jnlp"]},"application/x-javascript":{"compressible":true},"application/x-keepass2":{"extensions":["kdbx"]},"application/x-latex":{"source":"apache","compressible":false,"extensions":["latex"]},"application/x-lua-bytecode":{"extensions":["luac"]},"application/x-lzh-compressed":{"source":"apache","extensions":["lzh","lha"]},"application/x-makeself":{"source":"nginx","extensions":["run"]},"application/x-mie":{"source":"apache","extensions":["mie"]},"application/x-mobipocket-ebook":{"source":"apache","extensions":["prc","mobi"]},"application/x-mpegurl":{"compressible":false},"application/x-ms-application":{"source":"apache","extensions":["application"]},"application/x-ms-shortcut":{"source":"apache","extensions":["lnk"]},"application/x-ms-wmd":{"source":"apache","extensions":["wmd"]},"application/x-ms-wmz":{"source":"apache","extensions":["wmz"]},"application/x-ms-xbap":{"source":"apache","extensions":["xbap"]},"application/x-msaccess":{"source":"apache","extensions":["mdb"]},"application/x-msbinder":{"source":"apache","extensions":["obd"]},"application/x-mscardfile":{"source":"apache","extensions":["crd"]},"application/x-msclip":{"source":"apache","extensions":["clp"]},"application/x-msdos-program":{"extensions":["exe"]},"application/x-msdownload":{"source":"apache","extensions":["exe","dll","com","bat","msi"]},"application/x-msmediaview":{"source":"apache","extensions":["mvb","m13","m14"]},"application/x-msmetafile":{"source":"apache","extensions":["wmf","wmz","emf","emz"]},"application/x-msmoney":{"source":"apache","extensions":["mny"]},"application/x-mspublisher":{"source":"apache","extensions":["pub"]},"application/x-msschedule":{"source":"apache","extensions":["scd"]},"application/x-msterminal":{"source":"apache","extensions":["trm"]},"application/x-mswrite":{"source":"apache","extensions":["wri"]},"application/x-netcdf":{"source":"apache","extensions":["nc","cdf"]},"application/x-ns-proxy-autoconfig":{"compressible":true,"extensions":["pac"]},"application/x-nzb":{"source":"apache","extensions":["nzb"]},"application/x-perl":{"source":"nginx","extensions":["pl","pm"]},"application/x-pilot":{"source":"nginx","extensions":["prc","pdb"]},"application/x-pkcs12":{"source":"apache","compressible":false,"extensions":["p12","pfx"]},"application/x-pkcs7-certificates":{"source":"apache","extensions":["p7b","spc"]},"application/x-pkcs7-certreqresp":{"source":"apache","extensions":["p7r"]},"application/x-pki-message":{"source":"iana"},"application/x-rar-compressed":{"source":"apache","compressible":false,"extensions":["rar"]},"application/x-redhat-package-manager":{"source":"nginx","extensions":["rpm"]},"application/x-research-info-systems":{"source":"apache","extensions":["ris"]},"application/x-sea":{"source":"nginx","extensions":["sea"]},"application/x-sh":{"source":"apache","compressible":true,"extensions":["sh"]},"application/x-shar":{"source":"apache","extensions":["shar"]},"application/x-shockwave-flash":{"source":"apache","compressible":false,"extensions":["swf"]},"application/x-silverlight-app":{"source":"apache","extensions":["xap"]},"application/x-sql":{"source":"apache","extensions":["sql"]},"application/x-stuffit":{"source":"apache","compressible":false,"extensions":["sit"]},"application/x-stuffitx":{"source":"apache","extensions":["sitx"]},"application/x-subrip":{"source":"apache","extensions":["srt"]},"application/x-sv4cpio":{"source":"apache","extensions":["sv4cpio"]},"application/x-sv4crc":{"source":"apache","extensions":["sv4crc"]},"application/x-t3vm-image":{"source":"apache","extensions":["t3"]},"application/x-tads":{"source":"apache","extensions":["gam"]},"application/x-tar":{"source":"apache","compressible":true,"extensions":["tar"]},"application/x-tcl":{"source":"apache","extensions":["tcl","tk"]},"application/x-tex":{"source":"apache","extensions":["tex"]},"application/x-tex-tfm":{"source":"apache","extensions":["tfm"]},"application/x-texinfo":{"source":"apache","extensions":["texinfo","texi"]},"application/x-tgif":{"source":"apache","extensions":["obj"]},"application/x-ustar":{"source":"apache","extensions":["ustar"]},"application/x-virtualbox-hdd":{"compressible":true,"extensions":["hdd"]},"application/x-virtualbox-ova":{"compressible":true,"extensions":["ova"]},"application/x-virtualbox-ovf":{"compressible":true,"extensions":["ovf"]},"application/x-virtualbox-vbox":{"compressible":true,"extensions":["vbox"]},"application/x-virtualbox-vbox-extpack":{"compressible":false,"extensions":["vbox-extpack"]},"application/x-virtualbox-vdi":{"compressible":true,"extensions":["vdi"]},"application/x-virtualbox-vhd":{"compressible":true,"extensions":["vhd"]},"application/x-virtualbox-vmdk":{"compressible":true,"extensions":["vmdk"]},"application/x-wais-source":{"source":"apache","extensions":["src"]},"application/x-web-app-manifest+json":{"compressible":true,"extensions":["webapp"]},"application/x-www-form-urlencoded":{"source":"iana","compressible":true},"application/x-x509-ca-cert":{"source":"iana","extensions":["der","crt","pem"]},"application/x-x509-ca-ra-cert":{"source":"iana"},"application/x-x509-next-ca-cert":{"source":"iana"},"application/x-xfig":{"source":"apache","extensions":["fig"]},"application/x-xliff+xml":{"source":"apache","compressible":true,"extensions":["xlf"]},"application/x-xpinstall":{"source":"apache","compressible":false,"extensions":["xpi"]},"application/x-xz":{"source":"apache","extensions":["xz"]},"application/x-zmachine":{"source":"apache","extensions":["z1","z2","z3","z4","z5","z6","z7","z8"]},"application/x400-bp":{"source":"iana"},"application/xacml+xml":{"source":"iana","compressible":true},"application/xaml+xml":{"source":"apache","compressible":true,"extensions":["xaml"]},"application/xcap-att+xml":{"source":"iana","compressible":true,"extensions":["xav"]},"application/xcap-caps+xml":{"source":"iana","compressible":true,"extensions":["xca"]},"application/xcap-diff+xml":{"source":"iana","compressible":true,"extensions":["xdf"]},"application/xcap-el+xml":{"source":"iana","compressible":true,"extensions":["xel"]},"application/xcap-error+xml":{"source":"iana","compressible":true,"extensions":["xer"]},"application/xcap-ns+xml":{"source":"iana","compressible":true,"extensions":["xns"]},"application/xcon-conference-info+xml":{"source":"iana","compressible":true},"application/xcon-conference-info-diff+xml":{"source":"iana","compressible":true},"application/xenc+xml":{"source":"iana","compressible":true,"extensions":["xenc"]},"application/xhtml+xml":{"source":"iana","compressible":true,"extensions":["xhtml","xht"]},"application/xhtml-voice+xml":{"source":"apache","compressible":true},"application/xliff+xml":{"source":"iana","compressible":true,"extensions":["xlf"]},"application/xml":{"source":"iana","compressible":true,"extensions":["xml","xsl","xsd","rng"]},"application/xml-dtd":{"source":"iana","compressible":true,"extensions":["dtd"]},"application/xml-external-parsed-entity":{"source":"iana"},"application/xml-patch+xml":{"source":"iana","compressible":true},"application/xmpp+xml":{"source":"iana","compressible":true},"application/xop+xml":{"source":"iana","compressible":true,"extensions":["xop"]},"application/xproc+xml":{"source":"apache","compressible":true,"extensions":["xpl"]},"application/xslt+xml":{"source":"iana","compressible":true,"extensions":["xsl","xslt"]},"application/xspf+xml":{"source":"apache","compressible":true,"extensions":["xspf"]},"application/xv+xml":{"source":"iana","compressible":true,"extensions":["mxml","xhvml","xvml","xvm"]},"application/yang":{"source":"iana","extensions":["yang"]},"application/yang-data+json":{"source":"iana","compressible":true},"application/yang-data+xml":{"source":"iana","compressible":true},"application/yang-patch+json":{"source":"iana","compressible":true},"application/yang-patch+xml":{"source":"iana","compressible":true},"application/yin+xml":{"source":"iana","compressible":true,"extensions":["yin"]},"application/zip":{"source":"iana","compressible":false,"extensions":["zip"]},"application/zlib":{"source":"iana"},"application/zstd":{"source":"iana"},"audio/1d-interleaved-parityfec":{"source":"iana"},"audio/32kadpcm":{"source":"iana"},"audio/3gpp":{"source":"iana","compressible":false,"extensions":["3gpp"]},"audio/3gpp2":{"source":"iana"},"audio/aac":{"source":"iana"},"audio/ac3":{"source":"iana"},"audio/adpcm":{"source":"apache","extensions":["adp"]},"audio/amr":{"source":"iana","extensions":["amr"]},"audio/amr-wb":{"source":"iana"},"audio/amr-wb+":{"source":"iana"},"audio/aptx":{"source":"iana"},"audio/asc":{"source":"iana"},"audio/atrac-advanced-lossless":{"source":"iana"},"audio/atrac-x":{"source":"iana"},"audio/atrac3":{"source":"iana"},"audio/basic":{"source":"iana","compressible":false,"extensions":["au","snd"]},"audio/bv16":{"source":"iana"},"audio/bv32":{"source":"iana"},"audio/clearmode":{"source":"iana"},"audio/cn":{"source":"iana"},"audio/dat12":{"source":"iana"},"audio/dls":{"source":"iana"},"audio/dsr-es201108":{"source":"iana"},"audio/dsr-es202050":{"source":"iana"},"audio/dsr-es202211":{"source":"iana"},"audio/dsr-es202212":{"source":"iana"},"audio/dv":{"source":"iana"},"audio/dvi4":{"source":"iana"},"audio/eac3":{"source":"iana"},"audio/encaprtp":{"source":"iana"},"audio/evrc":{"source":"iana"},"audio/evrc-qcp":{"source":"iana"},"audio/evrc0":{"source":"iana"},"audio/evrc1":{"source":"iana"},"audio/evrcb":{"source":"iana"},"audio/evrcb0":{"source":"iana"},"audio/evrcb1":{"source":"iana"},"audio/evrcnw":{"source":"iana"},"audio/evrcnw0":{"source":"iana"},"audio/evrcnw1":{"source":"iana"},"audio/evrcwb":{"source":"iana"},"audio/evrcwb0":{"source":"iana"},"audio/evrcwb1":{"source":"iana"},"audio/evs":{"source":"iana"},"audio/flexfec":{"source":"iana"},"audio/fwdred":{"source":"iana"},"audio/g711-0":{"source":"iana"},"audio/g719":{"source":"iana"},"audio/g722":{"source":"iana"},"audio/g7221":{"source":"iana"},"audio/g723":{"source":"iana"},"audio/g726-16":{"source":"iana"},"audio/g726-24":{"source":"iana"},"audio/g726-32":{"source":"iana"},"audio/g726-40":{"source":"iana"},"audio/g728":{"source":"iana"},"audio/g729":{"source":"iana"},"audio/g7291":{"source":"iana"},"audio/g729d":{"source":"iana"},"audio/g729e":{"source":"iana"},"audio/gsm":{"source":"iana"},"audio/gsm-efr":{"source":"iana"},"audio/gsm-hr-08":{"source":"iana"},"audio/ilbc":{"source":"iana"},"audio/ip-mr_v2.5":{"source":"iana"},"audio/isac":{"source":"apache"},"audio/l16":{"source":"iana"},"audio/l20":{"source":"iana"},"audio/l24":{"source":"iana","compressible":false},"audio/l8":{"source":"iana"},"audio/lpc":{"source":"iana"},"audio/melp":{"source":"iana"},"audio/melp1200":{"source":"iana"},"audio/melp2400":{"source":"iana"},"audio/melp600":{"source":"iana"},"audio/mhas":{"source":"iana"},"audio/midi":{"source":"apache","extensions":["mid","midi","kar","rmi"]},"audio/mobile-xmf":{"source":"iana","extensions":["mxmf"]},"audio/mp3":{"compressible":false,"extensions":["mp3"]},"audio/mp4":{"source":"iana","compressible":false,"extensions":["m4a","mp4a"]},"audio/mp4a-latm":{"source":"iana"},"audio/mpa":{"source":"iana"},"audio/mpa-robust":{"source":"iana"},"audio/mpeg":{"source":"iana","compressible":false,"extensions":["mpga","mp2","mp2a","mp3","m2a","m3a"]},"audio/mpeg4-generic":{"source":"iana"},"audio/musepack":{"source":"apache"},"audio/ogg":{"source":"iana","compressible":false,"extensions":["oga","ogg","spx","opus"]},"audio/opus":{"source":"iana"},"audio/parityfec":{"source":"iana"},"audio/pcma":{"source":"iana"},"audio/pcma-wb":{"source":"iana"},"audio/pcmu":{"source":"iana"},"audio/pcmu-wb":{"source":"iana"},"audio/prs.sid":{"source":"iana"},"audio/qcelp":{"source":"iana"},"audio/raptorfec":{"source":"iana"},"audio/red":{"source":"iana"},"audio/rtp-enc-aescm128":{"source":"iana"},"audio/rtp-midi":{"source":"iana"},"audio/rtploopback":{"source":"iana"},"audio/rtx":{"source":"iana"},"audio/s3m":{"source":"apache","extensions":["s3m"]},"audio/scip":{"source":"iana"},"audio/silk":{"source":"apache","extensions":["sil"]},"audio/smv":{"source":"iana"},"audio/smv-qcp":{"source":"iana"},"audio/smv0":{"source":"iana"},"audio/sofa":{"source":"iana"},"audio/sp-midi":{"source":"iana"},"audio/speex":{"source":"iana"},"audio/t140c":{"source":"iana"},"audio/t38":{"source":"iana"},"audio/telephone-event":{"source":"iana"},"audio/tetra_acelp":{"source":"iana"},"audio/tetra_acelp_bb":{"source":"iana"},"audio/tone":{"source":"iana"},"audio/tsvcis":{"source":"iana"},"audio/uemclip":{"source":"iana"},"audio/ulpfec":{"source":"iana"},"audio/usac":{"source":"iana"},"audio/vdvi":{"source":"iana"},"audio/vmr-wb":{"source":"iana"},"audio/vnd.3gpp.iufp":{"source":"iana"},"audio/vnd.4sb":{"source":"iana"},"audio/vnd.audiokoz":{"source":"iana"},"audio/vnd.celp":{"source":"iana"},"audio/vnd.cisco.nse":{"source":"iana"},"audio/vnd.cmles.radio-events":{"source":"iana"},"audio/vnd.cns.anp1":{"source":"iana"},"audio/vnd.cns.inf1":{"source":"iana"},"audio/vnd.dece.audio":{"source":"iana","extensions":["uva","uvva"]},"audio/vnd.digital-winds":{"source":"iana","extensions":["eol"]},"audio/vnd.dlna.adts":{"source":"iana"},"audio/vnd.dolby.heaac.1":{"source":"iana"},"audio/vnd.dolby.heaac.2":{"source":"iana"},"audio/vnd.dolby.mlp":{"source":"iana"},"audio/vnd.dolby.mps":{"source":"iana"},"audio/vnd.dolby.pl2":{"source":"iana"},"audio/vnd.dolby.pl2x":{"source":"iana"},"audio/vnd.dolby.pl2z":{"source":"iana"},"audio/vnd.dolby.pulse.1":{"source":"iana"},"audio/vnd.dra":{"source":"iana","extensions":["dra"]},"audio/vnd.dts":{"source":"iana","extensions":["dts"]},"audio/vnd.dts.hd":{"source":"iana","extensions":["dtshd"]},"audio/vnd.dts.uhd":{"source":"iana"},"audio/vnd.dvb.file":{"source":"iana"},"audio/vnd.everad.plj":{"source":"iana"},"audio/vnd.hns.audio":{"source":"iana"},"audio/vnd.lucent.voice":{"source":"iana","extensions":["lvp"]},"audio/vnd.ms-playready.media.pya":{"source":"iana","extensions":["pya"]},"audio/vnd.nokia.mobile-xmf":{"source":"iana"},"audio/vnd.nortel.vbk":{"source":"iana"},"audio/vnd.nuera.ecelp4800":{"source":"iana","extensions":["ecelp4800"]},"audio/vnd.nuera.ecelp7470":{"source":"iana","extensions":["ecelp7470"]},"audio/vnd.nuera.ecelp9600":{"source":"iana","extensions":["ecelp9600"]},"audio/vnd.octel.sbc":{"source":"iana"},"audio/vnd.presonus.multitrack":{"source":"iana"},"audio/vnd.qcelp":{"source":"iana"},"audio/vnd.rhetorex.32kadpcm":{"source":"iana"},"audio/vnd.rip":{"source":"iana","extensions":["rip"]},"audio/vnd.rn-realaudio":{"compressible":false},"audio/vnd.sealedmedia.softseal.mpeg":{"source":"iana"},"audio/vnd.vmx.cvsd":{"source":"iana"},"audio/vnd.wave":{"compressible":false},"audio/vorbis":{"source":"iana","compressible":false},"audio/vorbis-config":{"source":"iana"},"audio/wav":{"compressible":false,"extensions":["wav"]},"audio/wave":{"compressible":false,"extensions":["wav"]},"audio/webm":{"source":"apache","compressible":false,"extensions":["weba"]},"audio/x-aac":{"source":"apache","compressible":false,"extensions":["aac"]},"audio/x-aiff":{"source":"apache","extensions":["aif","aiff","aifc"]},"audio/x-caf":{"source":"apache","compressible":false,"extensions":["caf"]},"audio/x-flac":{"source":"apache","extensions":["flac"]},"audio/x-m4a":{"source":"nginx","extensions":["m4a"]},"audio/x-matroska":{"source":"apache","extensions":["mka"]},"audio/x-mpegurl":{"source":"apache","extensions":["m3u"]},"audio/x-ms-wax":{"source":"apache","extensions":["wax"]},"audio/x-ms-wma":{"source":"apache","extensions":["wma"]},"audio/x-pn-realaudio":{"source":"apache","extensions":["ram","ra"]},"audio/x-pn-realaudio-plugin":{"source":"apache","extensions":["rmp"]},"audio/x-realaudio":{"source":"nginx","extensions":["ra"]},"audio/x-tta":{"source":"apache"},"audio/x-wav":{"source":"apache","extensions":["wav"]},"audio/xm":{"source":"apache","extensions":["xm"]},"chemical/x-cdx":{"source":"apache","extensions":["cdx"]},"chemical/x-cif":{"source":"apache","extensions":["cif"]},"chemical/x-cmdf":{"source":"apache","extensions":["cmdf"]},"chemical/x-cml":{"source":"apache","extensions":["cml"]},"chemical/x-csml":{"source":"apache","extensions":["csml"]},"chemical/x-pdb":{"source":"apache"},"chemical/x-xyz":{"source":"apache","extensions":["xyz"]},"font/collection":{"source":"iana","extensions":["ttc"]},"font/otf":{"source":"iana","compressible":true,"extensions":["otf"]},"font/sfnt":{"source":"iana"},"font/ttf":{"source":"iana","compressible":true,"extensions":["ttf"]},"font/woff":{"source":"iana","extensions":["woff"]},"font/woff2":{"source":"iana","extensions":["woff2"]},"image/aces":{"source":"iana","extensions":["exr"]},"image/apng":{"compressible":false,"extensions":["apng"]},"image/avci":{"source":"iana"},"image/avcs":{"source":"iana"},"image/avif":{"source":"iana","compressible":false,"extensions":["avif"]},"image/bmp":{"source":"iana","compressible":true,"extensions":["bmp"]},"image/cgm":{"source":"iana","extensions":["cgm"]},"image/dicom-rle":{"source":"iana","extensions":["drle"]},"image/emf":{"source":"iana","extensions":["emf"]},"image/fits":{"source":"iana","extensions":["fits"]},"image/g3fax":{"source":"iana","extensions":["g3"]},"image/gif":{"source":"iana","compressible":false,"extensions":["gif"]},"image/heic":{"source":"iana","extensions":["heic"]},"image/heic-sequence":{"source":"iana","extensions":["heics"]},"image/heif":{"source":"iana","extensions":["heif"]},"image/heif-sequence":{"source":"iana","extensions":["heifs"]},"image/hej2k":{"source":"iana","extensions":["hej2"]},"image/hsj2":{"source":"iana","extensions":["hsj2"]},"image/ief":{"source":"iana","extensions":["ief"]},"image/jls":{"source":"iana","extensions":["jls"]},"image/jp2":{"source":"iana","compressible":false,"extensions":["jp2","jpg2"]},"image/jpeg":{"source":"iana","compressible":false,"extensions":["jpeg","jpg","jpe"]},"image/jph":{"source":"iana","extensions":["jph"]},"image/jphc":{"source":"iana","extensions":["jhc"]},"image/jpm":{"source":"iana","compressible":false,"extensions":["jpm"]},"image/jpx":{"source":"iana","compressible":false,"extensions":["jpx","jpf"]},"image/jxr":{"source":"iana","extensions":["jxr"]},"image/jxra":{"source":"iana","extensions":["jxra"]},"image/jxrs":{"source":"iana","extensions":["jxrs"]},"image/jxs":{"source":"iana","extensions":["jxs"]},"image/jxsc":{"source":"iana","extensions":["jxsc"]},"image/jxsi":{"source":"iana","extensions":["jxsi"]},"image/jxss":{"source":"iana","extensions":["jxss"]},"image/ktx":{"source":"iana","extensions":["ktx"]},"image/ktx2":{"source":"iana","extensions":["ktx2"]},"image/naplps":{"source":"iana"},"image/pjpeg":{"compressible":false},"image/png":{"source":"iana","compressible":false,"extensions":["png"]},"image/prs.btif":{"source":"iana","extensions":["btif"]},"image/prs.pti":{"source":"iana","extensions":["pti"]},"image/pwg-raster":{"source":"iana"},"image/sgi":{"source":"apache","extensions":["sgi"]},"image/svg+xml":{"source":"iana","compressible":true,"extensions":["svg","svgz"]},"image/t38":{"source":"iana","extensions":["t38"]},"image/tiff":{"source":"iana","compressible":false,"extensions":["tif","tiff"]},"image/tiff-fx":{"source":"iana","extensions":["tfx"]},"image/vnd.adobe.photoshop":{"source":"iana","compressible":true,"extensions":["psd"]},"image/vnd.airzip.accelerator.azv":{"source":"iana","extensions":["azv"]},"image/vnd.cns.inf2":{"source":"iana"},"image/vnd.dece.graphic":{"source":"iana","extensions":["uvi","uvvi","uvg","uvvg"]},"image/vnd.djvu":{"source":"iana","extensions":["djvu","djv"]},"image/vnd.dvb.subtitle":{"source":"iana","extensions":["sub"]},"image/vnd.dwg":{"source":"iana","extensions":["dwg"]},"image/vnd.dxf":{"source":"iana","extensions":["dxf"]},"image/vnd.fastbidsheet":{"source":"iana","extensions":["fbs"]},"image/vnd.fpx":{"source":"iana","extensions":["fpx"]},"image/vnd.fst":{"source":"iana","extensions":["fst"]},"image/vnd.fujixerox.edmics-mmr":{"source":"iana","extensions":["mmr"]},"image/vnd.fujixerox.edmics-rlc":{"source":"iana","extensions":["rlc"]},"image/vnd.globalgraphics.pgb":{"source":"iana"},"image/vnd.microsoft.icon":{"source":"iana","extensions":["ico"]},"image/vnd.mix":{"source":"iana"},"image/vnd.mozilla.apng":{"source":"iana"},"image/vnd.ms-dds":{"extensions":["dds"]},"image/vnd.ms-modi":{"source":"iana","extensions":["mdi"]},"image/vnd.ms-photo":{"source":"apache","extensions":["wdp"]},"image/vnd.net-fpx":{"source":"iana","extensions":["npx"]},"image/vnd.pco.b16":{"source":"iana","extensions":["b16"]},"image/vnd.radiance":{"source":"iana"},"image/vnd.sealed.png":{"source":"iana"},"image/vnd.sealedmedia.softseal.gif":{"source":"iana"},"image/vnd.sealedmedia.softseal.jpg":{"source":"iana"},"image/vnd.svf":{"source":"iana"},"image/vnd.tencent.tap":{"source":"iana","extensions":["tap"]},"image/vnd.valve.source.texture":{"source":"iana","extensions":["vtf"]},"image/vnd.wap.wbmp":{"source":"iana","extensions":["wbmp"]},"image/vnd.xiff":{"source":"iana","extensions":["xif"]},"image/vnd.zbrush.pcx":{"source":"iana","extensions":["pcx"]},"image/webp":{"source":"apache","extensions":["webp"]},"image/wmf":{"source":"iana","extensions":["wmf"]},"image/x-3ds":{"source":"apache","extensions":["3ds"]},"image/x-cmu-raster":{"source":"apache","extensions":["ras"]},"image/x-cmx":{"source":"apache","extensions":["cmx"]},"image/x-freehand":{"source":"apache","extensions":["fh","fhc","fh4","fh5","fh7"]},"image/x-icon":{"source":"apache","compressible":true,"extensions":["ico"]},"image/x-jng":{"source":"nginx","extensions":["jng"]},"image/x-mrsid-image":{"source":"apache","extensions":["sid"]},"image/x-ms-bmp":{"source":"nginx","compressible":true,"extensions":["bmp"]},"image/x-pcx":{"source":"apache","extensions":["pcx"]},"image/x-pict":{"source":"apache","extensions":["pic","pct"]},"image/x-portable-anymap":{"source":"apache","extensions":["pnm"]},"image/x-portable-bitmap":{"source":"apache","extensions":["pbm"]},"image/x-portable-graymap":{"source":"apache","extensions":["pgm"]},"image/x-portable-pixmap":{"source":"apache","extensions":["ppm"]},"image/x-rgb":{"source":"apache","extensions":["rgb"]},"image/x-tga":{"source":"apache","extensions":["tga"]},"image/x-xbitmap":{"source":"apache","extensions":["xbm"]},"image/x-xcf":{"compressible":false},"image/x-xpixmap":{"source":"apache","extensions":["xpm"]},"image/x-xwindowdump":{"source":"apache","extensions":["xwd"]},"message/cpim":{"source":"iana"},"message/delivery-status":{"source":"iana"},"message/disposition-notification":{"source":"iana","extensions":["disposition-notification"]},"message/external-body":{"source":"iana"},"message/feedback-report":{"source":"iana"},"message/global":{"source":"iana","extensions":["u8msg"]},"message/global-delivery-status":{"source":"iana","extensions":["u8dsn"]},"message/global-disposition-notification":{"source":"iana","extensions":["u8mdn"]},"message/global-headers":{"source":"iana","extensions":["u8hdr"]},"message/http":{"source":"iana","compressible":false},"message/imdn+xml":{"source":"iana","compressible":true},"message/news":{"source":"iana"},"message/partial":{"source":"iana","compressible":false},"message/rfc822":{"source":"iana","compressible":true,"extensions":["eml","mime"]},"message/s-http":{"source":"iana"},"message/sip":{"source":"iana"},"message/sipfrag":{"source":"iana"},"message/tracking-status":{"source":"iana"},"message/vnd.si.simp":{"source":"iana"},"message/vnd.wfa.wsc":{"source":"iana","extensions":["wsc"]},"model/3mf":{"source":"iana","extensions":["3mf"]},"model/e57":{"source":"iana"},"model/gltf+json":{"source":"iana","compressible":true,"extensions":["gltf"]},"model/gltf-binary":{"source":"iana","compressible":true,"extensions":["glb"]},"model/iges":{"source":"iana","compressible":false,"extensions":["igs","iges"]},"model/mesh":{"source":"iana","compressible":false,"extensions":["msh","mesh","silo"]},"model/mtl":{"source":"iana","extensions":["mtl"]},"model/obj":{"source":"iana","extensions":["obj"]},"model/stl":{"source":"iana","extensions":["stl"]},"model/vnd.collada+xml":{"source":"iana","compressible":true,"extensions":["dae"]},"model/vnd.dwf":{"source":"iana","extensions":["dwf"]},"model/vnd.flatland.3dml":{"source":"iana"},"model/vnd.gdl":{"source":"iana","extensions":["gdl"]},"model/vnd.gs-gdl":{"source":"apache"},"model/vnd.gs.gdl":{"source":"iana"},"model/vnd.gtw":{"source":"iana","extensions":["gtw"]},"model/vnd.moml+xml":{"source":"iana","compressible":true},"model/vnd.mts":{"source":"iana","extensions":["mts"]},"model/vnd.opengex":{"source":"iana","extensions":["ogex"]},"model/vnd.parasolid.transmit.binary":{"source":"iana","extensions":["x_b"]},"model/vnd.parasolid.transmit.text":{"source":"iana","extensions":["x_t"]},"model/vnd.rosette.annotated-data-model":{"source":"iana"},"model/vnd.usdz+zip":{"source":"iana","compressible":false,"extensions":["usdz"]},"model/vnd.valve.source.compiled-map":{"source":"iana","extensions":["bsp"]},"model/vnd.vtu":{"source":"iana","extensions":["vtu"]},"model/vrml":{"source":"iana","compressible":false,"extensions":["wrl","vrml"]},"model/x3d+binary":{"source":"apache","compressible":false,"extensions":["x3db","x3dbz"]},"model/x3d+fastinfoset":{"source":"iana","extensions":["x3db"]},"model/x3d+vrml":{"source":"apache","compressible":false,"extensions":["x3dv","x3dvz"]},"model/x3d+xml":{"source":"iana","compressible":true,"extensions":["x3d","x3dz"]},"model/x3d-vrml":{"source":"iana","extensions":["x3dv"]},"multipart/alternative":{"source":"iana","compressible":false},"multipart/appledouble":{"source":"iana"},"multipart/byteranges":{"source":"iana"},"multipart/digest":{"source":"iana"},"multipart/encrypted":{"source":"iana","compressible":false},"multipart/form-data":{"source":"iana","compressible":false},"multipart/header-set":{"source":"iana"},"multipart/mixed":{"source":"iana"},"multipart/multilingual":{"source":"iana"},"multipart/parallel":{"source":"iana"},"multipart/related":{"source":"iana","compressible":false},"multipart/report":{"source":"iana"},"multipart/signed":{"source":"iana","compressible":false},"multipart/vnd.bint.med-plus":{"source":"iana"},"multipart/voice-message":{"source":"iana"},"multipart/x-mixed-replace":{"source":"iana"},"text/1d-interleaved-parityfec":{"source":"iana"},"text/cache-manifest":{"source":"iana","compressible":true,"extensions":["appcache","manifest"]},"text/calendar":{"source":"iana","extensions":["ics","ifb"]},"text/calender":{"compressible":true},"text/cmd":{"compressible":true},"text/coffeescript":{"extensions":["coffee","litcoffee"]},"text/cql":{"source":"iana"},"text/cql-expression":{"source":"iana"},"text/cql-identifier":{"source":"iana"},"text/css":{"source":"iana","charset":"UTF-8","compressible":true,"extensions":["css"]},"text/csv":{"source":"iana","compressible":true,"extensions":["csv"]},"text/csv-schema":{"source":"iana"},"text/directory":{"source":"iana"},"text/dns":{"source":"iana"},"text/ecmascript":{"source":"iana"},"text/encaprtp":{"source":"iana"},"text/enriched":{"source":"iana"},"text/fhirpath":{"source":"iana"},"text/flexfec":{"source":"iana"},"text/fwdred":{"source":"iana"},"text/gff3":{"source":"iana"},"text/grammar-ref-list":{"source":"iana"},"text/html":{"source":"iana","compressible":true,"extensions":["html","htm","shtml"]},"text/jade":{"extensions":["jade"]},"text/javascript":{"source":"iana","compressible":true},"text/jcr-cnd":{"source":"iana"},"text/jsx":{"compressible":true,"extensions":["jsx"]},"text/less":{"compressible":true,"extensions":["less"]},"text/markdown":{"source":"iana","compressible":true,"extensions":["markdown","md"]},"text/mathml":{"source":"nginx","extensions":["mml"]},"text/mdx":{"compressible":true,"extensions":["mdx"]},"text/mizar":{"source":"iana"},"text/n3":{"source":"iana","charset":"UTF-8","compressible":true,"extensions":["n3"]},"text/parameters":{"source":"iana","charset":"UTF-8"},"text/parityfec":{"source":"iana"},"text/plain":{"source":"iana","compressible":true,"extensions":["txt","text","conf","def","list","log","in","ini"]},"text/provenance-notation":{"source":"iana","charset":"UTF-8"},"text/prs.fallenstein.rst":{"source":"iana"},"text/prs.lines.tag":{"source":"iana","extensions":["dsc"]},"text/prs.prop.logic":{"source":"iana"},"text/raptorfec":{"source":"iana"},"text/red":{"source":"iana"},"text/rfc822-headers":{"source":"iana"},"text/richtext":{"source":"iana","compressible":true,"extensions":["rtx"]},"text/rtf":{"source":"iana","compressible":true,"extensions":["rtf"]},"text/rtp-enc-aescm128":{"source":"iana"},"text/rtploopback":{"source":"iana"},"text/rtx":{"source":"iana"},"text/sgml":{"source":"iana","extensions":["sgml","sgm"]},"text/shaclc":{"source":"iana"},"text/shex":{"extensions":["shex"]},"text/slim":{"extensions":["slim","slm"]},"text/spdx":{"source":"iana","extensions":["spdx"]},"text/strings":{"source":"iana"},"text/stylus":{"extensions":["stylus","styl"]},"text/t140":{"source":"iana"},"text/tab-separated-values":{"source":"iana","compressible":true,"extensions":["tsv"]},"text/troff":{"source":"iana","extensions":["t","tr","roff","man","me","ms"]},"text/turtle":{"source":"iana","charset":"UTF-8","extensions":["ttl"]},"text/ulpfec":{"source":"iana"},"text/uri-list":{"source":"iana","compressible":true,"extensions":["uri","uris","urls"]},"text/vcard":{"source":"iana","compressible":true,"extensions":["vcard"]},"text/vnd.a":{"source":"iana"},"text/vnd.abc":{"source":"iana"},"text/vnd.ascii-art":{"source":"iana"},"text/vnd.curl":{"source":"iana","extensions":["curl"]},"text/vnd.curl.dcurl":{"source":"apache","extensions":["dcurl"]},"text/vnd.curl.mcurl":{"source":"apache","extensions":["mcurl"]},"text/vnd.curl.scurl":{"source":"apache","extensions":["scurl"]},"text/vnd.debian.copyright":{"source":"iana","charset":"UTF-8"},"text/vnd.dmclientscript":{"source":"iana"},"text/vnd.dvb.subtitle":{"source":"iana","extensions":["sub"]},"text/vnd.esmertec.theme-descriptor":{"source":"iana","charset":"UTF-8"},"text/vnd.ficlab.flt":{"source":"iana"},"text/vnd.fly":{"source":"iana","extensions":["fly"]},"text/vnd.fmi.flexstor":{"source":"iana","extensions":["flx"]},"text/vnd.gml":{"source":"iana"},"text/vnd.graphviz":{"source":"iana","extensions":["gv"]},"text/vnd.hans":{"source":"iana"},"text/vnd.hgl":{"source":"iana"},"text/vnd.in3d.3dml":{"source":"iana","extensions":["3dml"]},"text/vnd.in3d.spot":{"source":"iana","extensions":["spot"]},"text/vnd.iptc.newsml":{"source":"iana"},"text/vnd.iptc.nitf":{"source":"iana"},"text/vnd.latex-z":{"source":"iana"},"text/vnd.motorola.reflex":{"source":"iana"},"text/vnd.ms-mediapackage":{"source":"iana"},"text/vnd.net2phone.commcenter.command":{"source":"iana"},"text/vnd.radisys.msml-basic-layout":{"source":"iana"},"text/vnd.senx.warpscript":{"source":"iana"},"text/vnd.si.uricatalogue":{"source":"iana"},"text/vnd.sosi":{"source":"iana"},"text/vnd.sun.j2me.app-descriptor":{"source":"iana","charset":"UTF-8","extensions":["jad"]},"text/vnd.trolltech.linguist":{"source":"iana","charset":"UTF-8"},"text/vnd.wap.si":{"source":"iana"},"text/vnd.wap.sl":{"source":"iana"},"text/vnd.wap.wml":{"source":"iana","extensions":["wml"]},"text/vnd.wap.wmlscript":{"source":"iana","extensions":["wmls"]},"text/vtt":{"source":"iana","charset":"UTF-8","compressible":true,"extensions":["vtt"]},"text/x-asm":{"source":"apache","extensions":["s","asm"]},"text/x-c":{"source":"apache","extensions":["c","cc","cxx","cpp","h","hh","dic"]},"text/x-component":{"source":"nginx","extensions":["htc"]},"text/x-fortran":{"source":"apache","extensions":["f","for","f77","f90"]},"text/x-gwt-rpc":{"compressible":true},"text/x-handlebars-template":{"extensions":["hbs"]},"text/x-java-source":{"source":"apache","extensions":["java"]},"text/x-jquery-tmpl":{"compressible":true},"text/x-lua":{"extensions":["lua"]},"text/x-markdown":{"compressible":true,"extensions":["mkd"]},"text/x-nfo":{"source":"apache","extensions":["nfo"]},"text/x-opml":{"source":"apache","extensions":["opml"]},"text/x-org":{"compressible":true,"extensions":["org"]},"text/x-pascal":{"source":"apache","extensions":["p","pas"]},"text/x-processing":{"compressible":true,"extensions":["pde"]},"text/x-sass":{"extensions":["sass"]},"text/x-scss":{"extensions":["scss"]},"text/x-setext":{"source":"apache","extensions":["etx"]},"text/x-sfv":{"source":"apache","extensions":["sfv"]},"text/x-suse-ymp":{"compressible":true,"extensions":["ymp"]},"text/x-uuencode":{"source":"apache","extensions":["uu"]},"text/x-vcalendar":{"source":"apache","extensions":["vcs"]},"text/x-vcard":{"source":"apache","extensions":["vcf"]},"text/xml":{"source":"iana","compressible":true,"extensions":["xml"]},"text/xml-external-parsed-entity":{"source":"iana"},"text/yaml":{"extensions":["yaml","yml"]},"video/1d-interleaved-parityfec":{"source":"iana"},"video/3gpp":{"source":"iana","extensions":["3gp","3gpp"]},"video/3gpp-tt":{"source":"iana"},"video/3gpp2":{"source":"iana","extensions":["3g2"]},"video/av1":{"source":"iana"},"video/bmpeg":{"source":"iana"},"video/bt656":{"source":"iana"},"video/celb":{"source":"iana"},"video/dv":{"source":"iana"},"video/encaprtp":{"source":"iana"},"video/flexfec":{"source":"iana"},"video/h261":{"source":"iana","extensions":["h261"]},"video/h263":{"source":"iana","extensions":["h263"]},"video/h263-1998":{"source":"iana"},"video/h263-2000":{"source":"iana"},"video/h264":{"source":"iana","extensions":["h264"]},"video/h264-rcdo":{"source":"iana"},"video/h264-svc":{"source":"iana"},"video/h265":{"source":"iana"},"video/iso.segment":{"source":"iana","extensions":["m4s"]},"video/jpeg":{"source":"iana","extensions":["jpgv"]},"video/jpeg2000":{"source":"iana"},"video/jpm":{"source":"apache","extensions":["jpm","jpgm"]},"video/mj2":{"source":"iana","extensions":["mj2","mjp2"]},"video/mp1s":{"source":"iana"},"video/mp2p":{"source":"iana"},"video/mp2t":{"source":"iana","extensions":["ts"]},"video/mp4":{"source":"iana","compressible":false,"extensions":["mp4","mp4v","mpg4"]},"video/mp4v-es":{"source":"iana"},"video/mpeg":{"source":"iana","compressible":false,"extensions":["mpeg","mpg","mpe","m1v","m2v"]},"video/mpeg4-generic":{"source":"iana"},"video/mpv":{"source":"iana"},"video/nv":{"source":"iana"},"video/ogg":{"source":"iana","compressible":false,"extensions":["ogv"]},"video/parityfec":{"source":"iana"},"video/pointer":{"source":"iana"},"video/quicktime":{"source":"iana","compressible":false,"extensions":["qt","mov"]},"video/raptorfec":{"source":"iana"},"video/raw":{"source":"iana"},"video/rtp-enc-aescm128":{"source":"iana"},"video/rtploopback":{"source":"iana"},"video/rtx":{"source":"iana"},"video/scip":{"source":"iana"},"video/smpte291":{"source":"iana"},"video/smpte292m":{"source":"iana"},"video/ulpfec":{"source":"iana"},"video/vc1":{"source":"iana"},"video/vc2":{"source":"iana"},"video/vnd.cctv":{"source":"iana"},"video/vnd.dece.hd":{"source":"iana","extensions":["uvh","uvvh"]},"video/vnd.dece.mobile":{"source":"iana","extensions":["uvm","uvvm"]},"video/vnd.dece.mp4":{"source":"iana"},"video/vnd.dece.pd":{"source":"iana","extensions":["uvp","uvvp"]},"video/vnd.dece.sd":{"source":"iana","extensions":["uvs","uvvs"]},"video/vnd.dece.video":{"source":"iana","extensions":["uvv","uvvv"]},"video/vnd.directv.mpeg":{"source":"iana"},"video/vnd.directv.mpeg-tts":{"source":"iana"},"video/vnd.dlna.mpeg-tts":{"source":"iana"},"video/vnd.dvb.file":{"source":"iana","extensions":["dvb"]},"video/vnd.fvt":{"source":"iana","extensions":["fvt"]},"video/vnd.hns.video":{"source":"iana"},"video/vnd.iptvforum.1dparityfec-1010":{"source":"iana"},"video/vnd.iptvforum.1dparityfec-2005":{"source":"iana"},"video/vnd.iptvforum.2dparityfec-1010":{"source":"iana"},"video/vnd.iptvforum.2dparityfec-2005":{"source":"iana"},"video/vnd.iptvforum.ttsavc":{"source":"iana"},"video/vnd.iptvforum.ttsmpeg2":{"source":"iana"},"video/vnd.motorola.video":{"source":"iana"},"video/vnd.motorola.videop":{"source":"iana"},"video/vnd.mpegurl":{"source":"iana","extensions":["mxu","m4u"]},"video/vnd.ms-playready.media.pyv":{"source":"iana","extensions":["pyv"]},"video/vnd.nokia.interleaved-multimedia":{"source":"iana"},"video/vnd.nokia.mp4vr":{"source":"iana"},"video/vnd.nokia.videovoip":{"source":"iana"},"video/vnd.objectvideo":{"source":"iana"},"video/vnd.radgamettools.bink":{"source":"iana"},"video/vnd.radgamettools.smacker":{"source":"iana"},"video/vnd.sealed.mpeg1":{"source":"iana"},"video/vnd.sealed.mpeg4":{"source":"iana"},"video/vnd.sealed.swf":{"source":"iana"},"video/vnd.sealedmedia.softseal.mov":{"source":"iana"},"video/vnd.uvvu.mp4":{"source":"iana","extensions":["uvu","uvvu"]},"video/vnd.vivo":{"source":"iana","extensions":["viv"]},"video/vnd.youtube.yt":{"source":"iana"},"video/vp8":{"source":"iana"},"video/webm":{"source":"apache","compressible":false,"extensions":["webm"]},"video/x-f4v":{"source":"apache","extensions":["f4v"]},"video/x-fli":{"source":"apache","extensions":["fli"]},"video/x-flv":{"source":"apache","compressible":false,"extensions":["flv"]},"video/x-m4v":{"source":"apache","extensions":["m4v"]},"video/x-matroska":{"source":"apache","compressible":false,"extensions":["mkv","mk3d","mks"]},"video/x-mng":{"source":"apache","extensions":["mng"]},"video/x-ms-asf":{"source":"apache","extensions":["asf","asx"]},"video/x-ms-vob":{"source":"apache","extensions":["vob"]},"video/x-ms-wm":{"source":"apache","extensions":["wm"]},"video/x-ms-wmv":{"source":"apache","compressible":false,"extensions":["wmv"]},"video/x-ms-wmx":{"source":"apache","extensions":["wmx"]},"video/x-ms-wvx":{"source":"apache","extensions":["wvx"]},"video/x-msvideo":{"source":"apache","extensions":["avi"]},"video/x-sgi-movie":{"source":"apache","extensions":["movie"]},"video/x-smv":{"source":"apache","extensions":["smv"]},"x-conference/x-cooltalk":{"source":"apache","extensions":["ice"]},"x-shader/x-fragment":{"compressible":true},"x-shader/x-vertex":{"compressible":true}}')},83835:S=>{"use strict";S.exports=JSON.parse('[{"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":"iojs","version":"1.0.0","date":"2015-01-14"},{"name":"iojs","version":"1.1.0","date":"2015-02-03"},{"name":"iojs","version":"1.2.0","date":"2015-02-11"},{"name":"iojs","version":"1.3.0","date":"2015-02-20"},{"name":"iojs","version":"1.5.0","date":"2015-03-06"},{"name":"iojs","version":"1.6.0","date":"2015-03-20"},{"name":"iojs","version":"2.0.0","date":"2015-05-04"},{"name":"iojs","version":"2.1.0","date":"2015-05-24"},{"name":"iojs","version":"2.2.0","date":"2015-06-01"},{"name":"iojs","version":"2.3.0","date":"2015-06-13"},{"name":"iojs","version":"2.4.0","date":"2015-07-17"},{"name":"iojs","version":"2.5.0","date":"2015-07-28"},{"name":"iojs","version":"3.0.0","date":"2015-08-04"},{"name":"iojs","version":"3.1.0","date":"2015-08-19"},{"name":"iojs","version":"3.2.0","date":"2015-08-25"},{"name":"iojs","version":"3.3.0","date":"2015-09-02"},{"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":"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":"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}]')},85659:S=>{"use strict";S.exports=JSON.parse('{"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":"2024-04-30","codename":""}}')},26068:S=>{"use strict";S.exports=JSON.parse('{"definitions":{"Rule":{"description":"Filtering rule as regex or string.","anyOf":[{"instanceof":"RegExp","tsType":"RegExp"},{"type":"string","minLength":1}]},"Rules":{"description":"Filtering rules.","anyOf":[{"type":"array","items":{"description":"A rule condition.","oneOf":[{"$ref":"#/definitions/Rule"}]}},{"$ref":"#/definitions/Rule"}]}},"title":"TerserPluginOptions","type":"object","additionalProperties":false,"properties":{"test":{"description":"Include all modules that pass test assertion.","oneOf":[{"$ref":"#/definitions/Rules"}]},"include":{"description":"Include all modules matching any of these conditions.","oneOf":[{"$ref":"#/definitions/Rules"}]},"exclude":{"description":"Exclude all modules matching any of these conditions.","oneOf":[{"$ref":"#/definitions/Rules"}]},"terserOptions":{"description":"Options for `terser`.","additionalProperties":true,"type":"object"},"extractComments":{"description":"Whether comments shall be extracted to a separate file.","anyOf":[{"type":"boolean"},{"type":"string","minLength":1},{"instanceof":"RegExp"},{"instanceof":"Function"},{"additionalProperties":false,"properties":{"condition":{"anyOf":[{"type":"boolean"},{"type":"string","minLength":1},{"instanceof":"RegExp"},{"instanceof":"Function"}]},"filename":{"anyOf":[{"type":"string","minLength":1},{"instanceof":"Function"}]},"banner":{"anyOf":[{"type":"boolean"},{"type":"string","minLength":1},{"instanceof":"Function"}]}},"type":"object"}]},"parallel":{"description":"Use multi-process parallel running to improve the build speed.","anyOf":[{"type":"boolean"},{"type":"integer"}]},"minify":{"description":"Allows you to override default minify function.","instanceof":"Function"}}}')},47667:S=>{"use strict";S.exports=JSON.parse('{"name":"terser","description":"JavaScript parser, mangler/compressor and beautifier toolkit for ES6+","homepage":"https://terser.org","author":"Mihai Bazon (http://lisperator.net/)","license":"BSD-2-Clause","version":"5.7.1","engines":{"node":">=10"},"maintainers":["Fábio Santos "],"repository":"https://github.com/terser/terser","main":"dist/bundle.min.js","type":"module","module":"./main.js","exports":{".":[{"import":"./main.js","require":"./dist/bundle.min.js"},"./dist/bundle.min.js"],"./package":"./package.json","./package.json":"./package.json","./bin/terser":"./bin/terser"},"types":"tools/terser.d.ts","bin":{"terser":"bin/terser"},"files":["bin","dist","lib","tools","LICENSE","README.md","CHANGELOG.md","PATRONS.md","main.js"],"dependencies":{"commander":"^2.20.0","source-map":"~0.7.2","source-map-support":"~0.5.19"},"devDependencies":{"@ls-lint/ls-lint":"^1.9.2","acorn":"^8.0.5","astring":"^1.6.2","eslint":"^7.19.0","eslump":"^2.0.0","esm":"^3.2.25","mocha":"^8.2.1","pre-commit":"^1.2.2","rimraf":"^3.0.2","rollup":"2.38.4","semver":"^7.3.4"},"scripts":{"test":"node test/compress.js && mocha test/mocha","test:compress":"node test/compress.js","test:mocha":"mocha test/mocha","lint":"eslint lib","lint-fix":"eslint --fix lib","ls-lint":"ls-lint","build":"rimraf dist/bundle* && rollup --config --silent","prepare":"npm run build","postversion":"echo \'Remember to update the changelog!\'"},"keywords":["uglify","terser","uglify-es","uglify-js","minify","minifier","javascript","ecmascript","es5","es6","es7","es8","es2015","es2016","es2017","async","await"],"eslintConfig":{"parserOptions":{"sourceType":"module","ecmaVersion":"2020"},"env":{"node":true,"browser":true,"es2020":true},"globals":{"describe":false,"it":false,"require":false,"global":false,"process":false},"rules":{"brace-style":["error","1tbs",{"allowSingleLine":true}],"quotes":["error","double","avoid-escape"],"no-debugger":"error","no-undef":"error","no-unused-vars":["error",{"varsIgnorePattern":"^_"}],"no-tabs":"error","semi":["error","always"],"no-extra-semi":"error","no-irregular-whitespace":"error","space-before-blocks":["error","always"]}},"pre-commit":["build","lint-fix","ls-lint","test"]}')},61733:S=>{"use strict";S.exports={i8:"5.44.0"}},76518:S=>{"use strict";S.exports=JSON.parse('{"definitions":{"Amd":{"description":"Set the value of `require.amd` and `define.amd`. Or disable AMD support.","anyOf":[{"description":"You can pass `false` to disable AMD support.","enum":[false]},{"description":"You can pass an object to set the value of `require.amd` and `define.amd`.","type":"object"}]},"AssetFilterItemTypes":{"description":"Filtering value, regexp or function.","cli":{"helper":true},"anyOf":[{"instanceof":"RegExp","tsType":"RegExp"},{"type":"string","absolutePath":false},{"instanceof":"Function","tsType":"((name: string, asset: import(\'../lib/stats/DefaultStatsFactoryPlugin\').StatsAsset) => boolean)"}]},"AssetFilterTypes":{"description":"Filtering modules.","cli":{"helper":true},"anyOf":[{"type":"array","items":{"description":"Rule to filter.","cli":{"helper":true},"oneOf":[{"$ref":"#/definitions/AssetFilterItemTypes"}]}},{"$ref":"#/definitions/AssetFilterItemTypes"}]},"AssetGeneratorDataUrl":{"description":"The options for data url generator.","anyOf":[{"$ref":"#/definitions/AssetGeneratorDataUrlOptions"},{"$ref":"#/definitions/AssetGeneratorDataUrlFunction"}]},"AssetGeneratorDataUrlFunction":{"description":"Function that executes for module and should return an DataUrl string.","instanceof":"Function","tsType":"((source: string | Buffer, context: { filename: string, module: import(\'../lib/Module\') }) => string)"},"AssetGeneratorDataUrlOptions":{"description":"Options object for data url generation.","type":"object","additionalProperties":false,"properties":{"encoding":{"description":"Asset encoding (defaults to base64).","enum":[false,"base64"]},"mimetype":{"description":"Asset mimetype (getting from file extension by default).","type":"string"}}},"AssetGeneratorOptions":{"description":"Generator options for asset modules.","type":"object","implements":["#/definitions/AssetInlineGeneratorOptions","#/definitions/AssetResourceGeneratorOptions"],"additionalProperties":false,"properties":{"dataUrl":{"$ref":"#/definitions/AssetGeneratorDataUrl"},"emit":{"description":"Emit an output asset from this asset module. This can be set to \'false\' to omit emitting e. g. for SSR.","type":"boolean"},"filename":{"$ref":"#/definitions/FilenameTemplate"},"publicPath":{"$ref":"#/definitions/RawPublicPath"}}},"AssetInlineGeneratorOptions":{"description":"Generator options for asset/inline modules.","type":"object","additionalProperties":false,"properties":{"dataUrl":{"$ref":"#/definitions/AssetGeneratorDataUrl"}}},"AssetModuleFilename":{"description":"The filename of asset modules as relative path inside the \'output.path\' directory.","anyOf":[{"type":"string","absolutePath":false},{"instanceof":"Function","tsType":"((pathData: import(\\"../lib/Compilation\\").PathData, assetInfo?: import(\\"../lib/Compilation\\").AssetInfo) => string)"}]},"AssetParserDataUrlFunction":{"description":"Function that executes for module and should return whenever asset should be inlined as DataUrl.","instanceof":"Function","tsType":"((source: string | Buffer, context: { filename: string, module: import(\'../lib/Module\') }) => boolean)"},"AssetParserDataUrlOptions":{"description":"Options object for DataUrl condition.","type":"object","additionalProperties":false,"properties":{"maxSize":{"description":"Maximum size of asset that should be inline as modules. Default: 8kb.","type":"number"}}},"AssetParserOptions":{"description":"Parser options for asset modules.","type":"object","additionalProperties":false,"properties":{"dataUrlCondition":{"description":"The condition for inlining the asset as DataUrl.","anyOf":[{"$ref":"#/definitions/AssetParserDataUrlOptions"},{"$ref":"#/definitions/AssetParserDataUrlFunction"}]}}},"AssetResourceGeneratorOptions":{"description":"Generator options for asset/resource modules.","type":"object","additionalProperties":false,"properties":{"emit":{"description":"Emit an output asset from this asset module. This can be set to \'false\' to omit emitting e. g. for SSR.","type":"boolean"},"filename":{"$ref":"#/definitions/FilenameTemplate"},"publicPath":{"$ref":"#/definitions/RawPublicPath"}}},"AuxiliaryComment":{"description":"Add a comment in the UMD wrapper.","anyOf":[{"description":"Append the same comment above each import style.","type":"string"},{"$ref":"#/definitions/LibraryCustomUmdCommentObject"}]},"Bail":{"description":"Report the first error as a hard error instead of tolerating it.","type":"boolean"},"CacheOptions":{"description":"Cache generated modules and chunks to improve performance for multiple incremental builds.","anyOf":[{"description":"Enable in memory caching.","enum":[true]},{"$ref":"#/definitions/CacheOptionsNormalized"}]},"CacheOptionsNormalized":{"description":"Cache generated modules and chunks to improve performance for multiple incremental builds.","anyOf":[{"description":"Disable caching.","enum":[false]},{"$ref":"#/definitions/MemoryCacheOptions"},{"$ref":"#/definitions/FileCacheOptions"}]},"Charset":{"description":"Add charset attribute for script tag.","type":"boolean"},"ChunkFilename":{"description":"Specifies the filename template of output files of non-initial chunks on disk. You must **not** specify an absolute path here, but the path may contain folders separated by \'/\'! The specified path is joined with the value of the \'output.path\' option to determine the location on disk.","oneOf":[{"$ref":"#/definitions/FilenameTemplate"}]},"ChunkFormat":{"description":"The format of chunks (formats included by default are \'array-push\' (web/WebWorker), \'commonjs\' (node.js), \'module\' (ESM), but others might be added by plugins).","anyOf":[{"enum":["array-push","commonjs","module",false]},{"type":"string"}]},"ChunkLoadTimeout":{"description":"Number of milliseconds before chunk request expires.","type":"number"},"ChunkLoading":{"description":"The method of loading chunks (methods included by default are \'jsonp\' (web), \'import\' (ESM), \'importScripts\' (WebWorker), \'require\' (sync node.js), \'async-node\' (async node.js), but others might be added by plugins).","anyOf":[{"enum":[false]},{"$ref":"#/definitions/ChunkLoadingType"}]},"ChunkLoadingGlobal":{"description":"The global variable used by webpack for loading of chunks.","type":"string"},"ChunkLoadingType":{"description":"The method of loading chunks (methods included by default are \'jsonp\' (web), \'import\' (ESM), \'importScripts\' (WebWorker), \'require\' (sync node.js), \'async-node\' (async node.js), but others might be added by plugins).","anyOf":[{"enum":["jsonp","import-scripts","require","async-node","import"]},{"type":"string"}]},"Clean":{"description":"Clean the output directory before emit.","anyOf":[{"type":"boolean"},{"$ref":"#/definitions/CleanOptions"}]},"CleanOptions":{"description":"Advanced options for cleaning assets.","type":"object","additionalProperties":false,"properties":{"dry":{"description":"Log the assets that should be removed instead of deleting them.","type":"boolean"},"keep":{"description":"Keep these assets.","anyOf":[{"instanceof":"RegExp","tsType":"RegExp"},{"type":"string","absolutePath":false},{"instanceof":"Function","tsType":"((filename: string) => boolean)"}]}}},"CompareBeforeEmit":{"description":"Check if to be emitted file already exists and have the same content before writing to output filesystem.","type":"boolean"},"Context":{"description":"The base directory (absolute path!) for resolving the `entry` option. If `output.pathinfo` is set, the included pathinfo is shortened to this directory.","type":"string","absolutePath":true},"CrossOriginLoading":{"description":"This option enables cross-origin loading of chunks.","enum":[false,"anonymous","use-credentials"]},"Dependencies":{"description":"References to other configurations to depend on.","type":"array","items":{"description":"References to another configuration to depend on.","type":"string"}},"DevServer":{"description":"Options for the webpack-dev-server.","type":"object"},"DevTool":{"description":"A developer tool to enhance debugging (false | eval | [inline-|hidden-|eval-][nosources-][cheap-[module-]]source-map).","anyOf":[{"enum":[false,"eval"]},{"type":"string","pattern":"^(inline-|hidden-|eval-)?(nosources-)?(cheap-(module-)?)?source-map$"}]},"DevtoolFallbackModuleFilenameTemplate":{"description":"Similar to `output.devtoolModuleFilenameTemplate`, but used in the case of duplicate module identifiers.","anyOf":[{"type":"string"},{"instanceof":"Function","tsType":"Function"}]},"DevtoolModuleFilenameTemplate":{"description":"Filename template string of function for the sources array in a generated SourceMap.","anyOf":[{"type":"string"},{"instanceof":"Function","tsType":"Function"}]},"DevtoolNamespace":{"description":"Module namespace to use when interpolating filename template string for the sources array in a generated SourceMap. Defaults to `output.library` if not set. It\'s useful for avoiding runtime collisions in sourcemaps from multiple webpack projects built as libraries.","type":"string"},"EmptyGeneratorOptions":{"description":"No generator options are supported for this module type.","type":"object","additionalProperties":false},"EmptyParserOptions":{"description":"No parser options are supported for this module type.","type":"object","additionalProperties":false},"EnabledChunkLoadingTypes":{"description":"List of chunk loading types enabled for use by entry points.","type":"array","items":{"$ref":"#/definitions/ChunkLoadingType"}},"EnabledLibraryTypes":{"description":"List of library types enabled for use by entry points.","type":"array","items":{"$ref":"#/definitions/LibraryType"}},"EnabledWasmLoadingTypes":{"description":"List of wasm loading types enabled for use by entry points.","type":"array","items":{"$ref":"#/definitions/WasmLoadingType"}},"Entry":{"description":"The entry point(s) of the compilation.","anyOf":[{"$ref":"#/definitions/EntryDynamic"},{"$ref":"#/definitions/EntryStatic"}]},"EntryDescription":{"description":"An object with entry point description.","type":"object","additionalProperties":false,"properties":{"chunkLoading":{"$ref":"#/definitions/ChunkLoading"},"dependOn":{"description":"The entrypoints that the current entrypoint depend on. They must be loaded when this entrypoint is loaded.","anyOf":[{"description":"The entrypoints that the current entrypoint depend on. They must be loaded when this entrypoint is loaded.","type":"array","items":{"description":"An entrypoint that the current entrypoint depend on. It must be loaded when this entrypoint is loaded.","type":"string","minLength":1},"minItems":1,"uniqueItems":true},{"description":"An entrypoint that the current entrypoint depend on. It must be loaded when this entrypoint is loaded.","type":"string","minLength":1}]},"filename":{"$ref":"#/definitions/EntryFilename"},"import":{"$ref":"#/definitions/EntryItem"},"layer":{"$ref":"#/definitions/Layer"},"library":{"$ref":"#/definitions/LibraryOptions"},"publicPath":{"$ref":"#/definitions/PublicPath"},"runtime":{"$ref":"#/definitions/EntryRuntime"},"wasmLoading":{"$ref":"#/definitions/WasmLoading"}},"required":["import"]},"EntryDescriptionNormalized":{"description":"An object with entry point description.","type":"object","additionalProperties":false,"properties":{"chunkLoading":{"$ref":"#/definitions/ChunkLoading"},"dependOn":{"description":"The entrypoints that the current entrypoint depend on. They must be loaded when this entrypoint is loaded.","type":"array","items":{"description":"An entrypoint that the current entrypoint depend on. It must be loaded when this entrypoint is loaded.","type":"string","minLength":1},"minItems":1,"uniqueItems":true},"filename":{"$ref":"#/definitions/Filename"},"import":{"description":"Module(s) that are loaded upon startup. The last one is exported.","type":"array","items":{"description":"Module that is loaded upon startup. Only the last one is exported.","type":"string","minLength":1},"minItems":1,"uniqueItems":true},"layer":{"$ref":"#/definitions/Layer"},"library":{"$ref":"#/definitions/LibraryOptions"},"publicPath":{"$ref":"#/definitions/PublicPath"},"runtime":{"$ref":"#/definitions/EntryRuntime"},"wasmLoading":{"$ref":"#/definitions/WasmLoading"}}},"EntryDynamic":{"description":"A Function returning an entry object, an entry string, an entry array or a promise to these things.","instanceof":"Function","tsType":"(() => EntryStatic | Promise)"},"EntryDynamicNormalized":{"description":"A Function returning a Promise resolving to a normalized entry.","instanceof":"Function","tsType":"(() => Promise)"},"EntryFilename":{"description":"Specifies the filename of the output file on disk. You must **not** specify an absolute path here, but the path may contain folders separated by \'/\'! The specified path is joined with the value of the \'output.path\' option to determine the location on disk.","oneOf":[{"$ref":"#/definitions/FilenameTemplate"}]},"EntryItem":{"description":"Module(s) that are loaded upon startup.","anyOf":[{"description":"All modules are loaded upon startup. The last one is exported.","type":"array","items":{"description":"A module that is loaded upon startup. Only the last one is exported.","type":"string","minLength":1},"minItems":1,"uniqueItems":true},{"description":"The string is resolved to a module which is loaded upon startup.","type":"string","minLength":1}]},"EntryNormalized":{"description":"The entry point(s) of the compilation.","anyOf":[{"$ref":"#/definitions/EntryDynamicNormalized"},{"$ref":"#/definitions/EntryStaticNormalized"}]},"EntryObject":{"description":"Multiple entry bundles are created. The key is the entry name. The value can be a string, an array or an entry description object.","type":"object","additionalProperties":{"description":"An entry point with name.","anyOf":[{"$ref":"#/definitions/EntryItem"},{"$ref":"#/definitions/EntryDescription"}]}},"EntryRuntime":{"description":"The name of the runtime chunk. If set a runtime chunk with this name is created or an existing entrypoint is used as runtime.","anyOf":[{"enum":[false]},{"type":"string","minLength":1}]},"EntryStatic":{"description":"A static entry description.","anyOf":[{"$ref":"#/definitions/EntryObject"},{"$ref":"#/definitions/EntryUnnamed"}]},"EntryStaticNormalized":{"description":"Multiple entry bundles are created. The key is the entry name. The value is an entry description object.","type":"object","additionalProperties":{"description":"An object with entry point description.","oneOf":[{"$ref":"#/definitions/EntryDescriptionNormalized"}]}},"EntryUnnamed":{"description":"An entry point without name.","oneOf":[{"$ref":"#/definitions/EntryItem"}]},"Environment":{"description":"The abilities of the environment where the webpack generated code should run.","type":"object","additionalProperties":false,"properties":{"arrowFunction":{"description":"The environment supports arrow functions (\'() => { ... }\').","type":"boolean"},"bigIntLiteral":{"description":"The environment supports BigInt as literal (123n).","type":"boolean"},"const":{"description":"The environment supports const and let for variable declarations.","type":"boolean"},"destructuring":{"description":"The environment supports destructuring (\'{ a, b } = obj\').","type":"boolean"},"dynamicImport":{"description":"The environment supports an async import() function to import EcmaScript modules.","type":"boolean"},"forOf":{"description":"The environment supports \'for of\' iteration (\'for (const x of array) { ... }\').","type":"boolean"},"module":{"description":"The environment supports EcmaScript Module syntax to import EcmaScript modules (import ... from \'...\').","type":"boolean"}}},"Experiments":{"description":"Enables/Disables experiments (experimental features with relax SemVer compatibility).","type":"object","additionalProperties":false,"properties":{"asset":{"description":"Allow module type \'asset\' to generate assets.","type":"boolean"},"asyncWebAssembly":{"description":"Support WebAssembly as asynchronous EcmaScript Module.","type":"boolean"},"executeModule":{"description":"Enable build-time execution of modules from the module graph for plugins and loaders.","type":"boolean"},"layers":{"description":"Enable module and chunk layers.","type":"boolean"},"lazyCompilation":{"description":"Compile entrypoints and import()s only when they are accessed.","anyOf":[{"type":"boolean"},{"type":"object","additionalProperties":false,"properties":{"backend":{"description":"A custom backend.","instanceof":"Function","tsType":"(((compiler: import(\'../lib/Compiler\'), client: string, callback: (err?: Error, api?: any) => void) => void) | ((compiler: import(\'../lib/Compiler\'), client: string) => Promise))"},"client":{"description":"A custom client.","type":"string"},"entries":{"description":"Enable/disable lazy compilation for entries.","type":"boolean"},"imports":{"description":"Enable/disable lazy compilation for import() modules.","type":"boolean"},"test":{"description":"Specify which entrypoints or import()ed modules should be lazily compiled. This is matched with the imported module and not the entrypoint name.","anyOf":[{"instanceof":"RegExp","tsType":"RegExp"},{"type":"string"},{"instanceof":"Function","tsType":"((module: import(\'../lib/Module\')) => boolean)"}]}}}]},"outputModule":{"description":"Allow output javascript files as module source type.","type":"boolean"},"syncWebAssembly":{"description":"Support WebAssembly as synchronous EcmaScript Module (outdated).","type":"boolean"},"topLevelAwait":{"description":"Allow using top-level-await in EcmaScript Modules.","type":"boolean"}}},"ExternalItem":{"description":"Specify dependency that shouldn\'t be resolved by webpack, but should become dependencies of the resulting bundle. The kind of the dependency depends on `output.libraryTarget`.","anyOf":[{"description":"Every matched dependency becomes external.","instanceof":"RegExp","tsType":"RegExp"},{"description":"An exact matched dependency becomes external. The same string is used as external dependency.","type":"string"},{"description":"If an dependency matches exactly a property of the object, the property value is used as dependency.","type":"object","additionalProperties":{"$ref":"#/definitions/ExternalItemValue"},"properties":{"byLayer":{"description":"Specify externals depending on the layer.","anyOf":[{"type":"object","additionalProperties":{"$ref":"#/definitions/ExternalItem"}},{"instanceof":"Function","tsType":"((layer: string | null) => ExternalItem)"}]}}},{"description":"The function is called on each dependency (`function(context, request, callback(err, result))`).","instanceof":"Function","tsType":"(((data: ExternalItemFunctionData, callback: (err?: Error, result?: ExternalItemValue) => void) => void) | ((data: ExternalItemFunctionData) => Promise))"}]},"ExternalItemFunctionData":{"description":"Data object passed as argument when a function is set for \'externals\'.","type":"object","additionalProperties":false,"properties":{"context":{"description":"The directory in which the request is placed.","type":"string"},"contextInfo":{"description":"Contextual information.","type":"object","tsType":"import(\'../lib/ModuleFactory\').ModuleFactoryCreateDataContextInfo"},"dependencyType":{"description":"The category of the referencing dependencies.","type":"string"},"getResolve":{"description":"Get a resolve function with the current resolver options.","instanceof":"Function","tsType":"((options?: ResolveOptions) => ((context: string, request: string, callback: (err?: Error, result?: string) => void) => void) | ((context: string, request: string) => Promise))"},"request":{"description":"The request as written by the user in the require/import expression/statement.","type":"string"}}},"ExternalItemValue":{"description":"The dependency used for the external.","anyOf":[{"type":"array","items":{"description":"A part of the target of the external.","type":"string","minLength":1}},{"description":"`true`: The dependency name is used as target of the external.","type":"boolean"},{"description":"The target of the external.","type":"string"},{"type":"object"}]},"Externals":{"description":"Specify dependencies that shouldn\'t be resolved by webpack, but should become dependencies of the resulting bundle. The kind of the dependency depends on `output.libraryTarget`.","anyOf":[{"type":"array","items":{"$ref":"#/definitions/ExternalItem"}},{"$ref":"#/definitions/ExternalItem"}]},"ExternalsPresets":{"description":"Enable presets of externals for specific targets.","type":"object","additionalProperties":false,"properties":{"electron":{"description":"Treat common electron built-in modules in main and preload context like \'electron\', \'ipc\' or \'shell\' as external and load them via require() when used.","type":"boolean"},"electronMain":{"description":"Treat electron built-in modules in the main context like \'app\', \'ipc-main\' or \'shell\' as external and load them via require() when used.","type":"boolean"},"electronPreload":{"description":"Treat electron built-in modules in the preload context like \'web-frame\', \'ipc-renderer\' or \'shell\' as external and load them via require() when used.","type":"boolean"},"electronRenderer":{"description":"Treat electron built-in modules in the renderer context like \'web-frame\', \'ipc-renderer\' or \'shell\' as external and load them via require() when used.","type":"boolean"},"node":{"description":"Treat node.js built-in modules like fs, path or vm as external and load them via require() when used.","type":"boolean"},"nwjs":{"description":"Treat NW.js legacy nw.gui module as external and load it via require() when used.","type":"boolean"},"web":{"description":"Treat references to \'http(s)://...\' and \'std:...\' as external and load them via import when used (Note that this changes execution order as externals are executed before any other code in the chunk).","type":"boolean"},"webAsync":{"description":"Treat references to \'http(s)://...\' and \'std:...\' as external and load them via async import() when used (Note that this external type is an async module, which has various effects on the execution).","type":"boolean"}}},"ExternalsType":{"description":"Specifies the default type of externals (\'amd*\', \'umd*\', \'system\' and \'jsonp\' depend on output.libraryTarget set to the same value).","enum":["var","module","assign","this","window","self","global","commonjs","commonjs2","commonjs-module","amd","amd-require","umd","umd2","jsonp","system","promise","import","script","node-commonjs"]},"FileCacheOptions":{"description":"Options object for persistent file-based caching.","type":"object","additionalProperties":false,"properties":{"allowCollectingMemory":{"description":"Allows to collect unused memory allocated during deserialization. This requires copying data into smaller buffers and has a performance cost.","type":"boolean"},"buildDependencies":{"description":"Dependencies the build depends on (in multiple categories, default categories: \'defaultWebpack\').","type":"object","additionalProperties":{"description":"List of dependencies the build depends on.","type":"array","items":{"description":"Request to a dependency (resolved as directory relative to the context directory).","type":"string","minLength":1}}},"cacheDirectory":{"description":"Base directory for the cache (defaults to node_modules/.cache/webpack).","type":"string","absolutePath":true},"cacheLocation":{"description":"Locations for the cache (defaults to cacheDirectory / name).","type":"string","absolutePath":true},"compression":{"description":"Compression type used for the cache files.","enum":[false,"gzip","brotli"]},"hashAlgorithm":{"description":"Algorithm used for generation the hash (see node.js crypto package).","type":"string"},"idleTimeout":{"description":"Time in ms after which idle period the cache storing should happen.","type":"number","minimum":0},"idleTimeoutAfterLargeChanges":{"description":"Time in ms after which idle period the cache storing should happen when larger changes has been detected (cumulative build time > 2 x avg cache store time).","type":"number","minimum":0},"idleTimeoutForInitialStore":{"description":"Time in ms after which idle period the initial cache storing should happen.","type":"number","minimum":0},"immutablePaths":{"description":"List of paths that are managed by a package manager and contain a version or hash in its path so all files are immutable.","type":"array","items":{"description":"A path to a immutable directory (usually a package manager cache directory).","type":"string","absolutePath":true,"minLength":1}},"managedPaths":{"description":"List of paths that are managed by a package manager and can be trusted to not be modified otherwise.","type":"array","items":{"description":"A path to a managed directory (usually a node_modules directory).","type":"string","absolutePath":true,"minLength":1}},"maxAge":{"description":"Time for which unused cache entries stay in the filesystem cache at minimum (in milliseconds).","type":"number","minimum":0},"maxMemoryGenerations":{"description":"Number of generations unused cache entries stay in memory cache at minimum (0 = no memory cache used, 1 = may be removed after unused for a single compilation, ..., Infinity: kept forever). Cache entries will be deserialized from disk when removed from memory cache.","type":"number","minimum":0},"name":{"description":"Name for the cache. Different names will lead to different coexisting caches.","type":"string"},"profile":{"description":"Track and log detailed timing information for individual cache items.","type":"boolean"},"store":{"description":"When to store data to the filesystem. (pack: Store data when compiler is idle in a single file).","enum":["pack"]},"type":{"description":"Filesystem caching.","enum":["filesystem"]},"version":{"description":"Version of the cache data. Different versions won\'t allow to reuse the cache and override existing content. Update the version when config changed in a way which doesn\'t allow to reuse cache. This will invalidate the cache.","type":"string"}},"required":["type"]},"Filename":{"description":"Specifies the filename of output files on disk. You must **not** specify an absolute path here, but the path may contain folders separated by \'/\'! The specified path is joined with the value of the \'output.path\' option to determine the location on disk.","oneOf":[{"$ref":"#/definitions/FilenameTemplate"}]},"FilenameTemplate":{"description":"Specifies the filename template of output files on disk. You must **not** specify an absolute path here, but the path may contain folders separated by \'/\'! The specified path is joined with the value of the \'output.path\' option to determine the location on disk.","anyOf":[{"type":"string","absolutePath":false,"minLength":1},{"instanceof":"Function","tsType":"((pathData: import(\\"../lib/Compilation\\").PathData, assetInfo?: import(\\"../lib/Compilation\\").AssetInfo) => string)"}]},"FilterItemTypes":{"description":"Filtering value, regexp or function.","cli":{"helper":true},"anyOf":[{"instanceof":"RegExp","tsType":"RegExp"},{"type":"string","absolutePath":false},{"instanceof":"Function","tsType":"((value: string) => boolean)"}]},"FilterTypes":{"description":"Filtering values.","cli":{"helper":true},"anyOf":[{"type":"array","items":{"description":"Rule to filter.","cli":{"helper":true},"oneOf":[{"$ref":"#/definitions/FilterItemTypes"}]}},{"$ref":"#/definitions/FilterItemTypes"}]},"GeneratorOptionsByModuleType":{"description":"Specify options for each generator.","type":"object","additionalProperties":{"description":"Options for generating.","type":"object","additionalProperties":true},"properties":{"asset":{"$ref":"#/definitions/AssetGeneratorOptions"},"asset/inline":{"$ref":"#/definitions/AssetInlineGeneratorOptions"},"asset/resource":{"$ref":"#/definitions/AssetResourceGeneratorOptions"},"javascript":{"$ref":"#/definitions/EmptyGeneratorOptions"},"javascript/auto":{"$ref":"#/definitions/EmptyGeneratorOptions"},"javascript/dynamic":{"$ref":"#/definitions/EmptyGeneratorOptions"},"javascript/esm":{"$ref":"#/definitions/EmptyGeneratorOptions"}}},"GlobalObject":{"description":"An expression which is used to address the global object/scope in runtime code.","type":"string","minLength":1},"HashDigest":{"description":"Digest type used for the hash.","type":"string"},"HashDigestLength":{"description":"Number of chars which are used for the hash.","type":"number","minimum":1},"HashFunction":{"description":"Algorithm used for generation the hash (see node.js crypto package).","anyOf":[{"type":"string","minLength":1},{"instanceof":"Function","tsType":"typeof import(\'../lib/util/Hash\')"}]},"HashSalt":{"description":"Any string which is added to the hash to salt it.","type":"string","minLength":1},"HotUpdateChunkFilename":{"description":"The filename of the Hot Update Chunks. They are inside the output.path directory.","type":"string","absolutePath":false},"HotUpdateGlobal":{"description":"The global variable used by webpack for loading of hot update chunks.","type":"string"},"HotUpdateMainFilename":{"description":"The filename of the Hot Update Main File. It is inside the \'output.path\' directory.","type":"string","absolutePath":false},"IgnoreWarnings":{"description":"Ignore specific warnings.","type":"array","items":{"description":"Ignore specific warnings.","anyOf":[{"description":"A RegExp to select the warning message.","instanceof":"RegExp","tsType":"RegExp"},{"type":"object","additionalProperties":false,"properties":{"file":{"description":"A RegExp to select the origin file for the warning.","instanceof":"RegExp","tsType":"RegExp"},"message":{"description":"A RegExp to select the warning message.","instanceof":"RegExp","tsType":"RegExp"},"module":{"description":"A RegExp to select the origin module for the warning.","instanceof":"RegExp","tsType":"RegExp"}}},{"description":"A custom function to select warnings based on the raw warning instance.","instanceof":"Function","tsType":"((warning: import(\'../lib/WebpackError\'), compilation: import(\'../lib/Compilation\')) => boolean)"}]}},"IgnoreWarningsNormalized":{"description":"Ignore specific warnings.","type":"array","items":{"description":"A function to select warnings based on the raw warning instance.","instanceof":"Function","tsType":"((warning: import(\'../lib/WebpackError\'), compilation: import(\'../lib/Compilation\')) => boolean)"}},"Iife":{"description":"Wrap javascript code into IIFE\'s to avoid leaking into global scope.","type":"boolean"},"ImportFunctionName":{"description":"The name of the native import() function (can be exchanged for a polyfill).","type":"string"},"ImportMetaName":{"description":"The name of the native import.meta object (can be exchanged for a polyfill).","type":"string"},"InfrastructureLogging":{"description":"Options for infrastructure level logging.","type":"object","additionalProperties":false,"properties":{"appendOnly":{"description":"Only appends lines to the output. Avoids updating existing output e. g. for status messages. This option is only used when no custom console is provided.","type":"boolean"},"colors":{"description":"Enables/Disables colorful output. This option is only used when no custom console is provided.","type":"boolean"},"console":{"description":"Custom console used for logging.","tsType":"Console"},"debug":{"description":"Enable debug logging for specific loggers.","anyOf":[{"description":"Enable/Disable debug logging for all loggers.","type":"boolean"},{"$ref":"#/definitions/FilterTypes"}]},"level":{"description":"Log level.","enum":["none","error","warn","info","log","verbose"]},"stream":{"description":"Stream used for logging output. Defaults to process.stderr. This option is only used when no custom console is provided.","tsType":"NodeJS.WritableStream"}}},"JavascriptParserOptions":{"description":"Parser options for javascript modules.","type":"object","additionalProperties":true,"properties":{"amd":{"$ref":"#/definitions/Amd"},"browserify":{"description":"Enable/disable special handling for browserify bundles.","type":"boolean"},"commonjs":{"description":"Enable/disable parsing of CommonJs syntax.","type":"boolean"},"commonjsMagicComments":{"description":"Enable/disable parsing of magic comments in CommonJs syntax.","type":"boolean"},"exprContextCritical":{"description":"Enable warnings for full dynamic dependencies.","type":"boolean"},"exprContextRecursive":{"description":"Enable recursive directory lookup for full dynamic dependencies.","type":"boolean"},"exprContextRegExp":{"description":"Sets the default regular expression for full dynamic dependencies.","anyOf":[{"instanceof":"RegExp","tsType":"RegExp"},{"type":"boolean"}]},"exprContextRequest":{"description":"Set the default request for full dynamic dependencies.","type":"string"},"harmony":{"description":"Enable/disable parsing of EcmaScript Modules syntax.","type":"boolean"},"import":{"description":"Enable/disable parsing of import() syntax.","type":"boolean"},"node":{"$ref":"#/definitions/Node"},"requireContext":{"description":"Enable/disable parsing of require.context syntax.","type":"boolean"},"requireEnsure":{"description":"Enable/disable parsing of require.ensure syntax.","type":"boolean"},"requireInclude":{"description":"Enable/disable parsing of require.include syntax.","type":"boolean"},"requireJs":{"description":"Enable/disable parsing of require.js special syntax like require.config, requirejs.config, require.version and requirejs.onError.","type":"boolean"},"strictExportPresence":{"description":"Emit errors instead of warnings when imported names don\'t exist in imported module.","type":"boolean"},"strictThisContextOnImports":{"description":"Handle the this context correctly according to the spec for namespace objects.","type":"boolean"},"system":{"description":"Enable/disable parsing of System.js special syntax like System.import, System.get, System.set and System.register.","type":"boolean"},"unknownContextCritical":{"description":"Enable warnings when using the require function in a not statically analyse-able way.","type":"boolean"},"unknownContextRecursive":{"description":"Enable recursive directory lookup when using the require function in a not statically analyse-able way.","type":"boolean"},"unknownContextRegExp":{"description":"Sets the regular expression when using the require function in a not statically analyse-able way.","anyOf":[{"instanceof":"RegExp","tsType":"RegExp"},{"type":"boolean"}]},"unknownContextRequest":{"description":"Sets the request when using the require function in a not statically analyse-able way.","type":"string"},"url":{"description":"Enable/disable parsing of new URL() syntax.","anyOf":[{"enum":["relative"]},{"type":"boolean"}]},"worker":{"description":"Disable or configure parsing of WebWorker syntax like new Worker() or navigator.serviceWorker.register().","anyOf":[{"type":"array","items":{"description":"Specify a syntax that should be parsed as WebWorker reference. \'Abc\' handles \'new Abc()\', \'Abc from xyz\' handles \'import { Abc } from \\"xyz\\"; new Abc()\', \'abc()\' handles \'abc()\', and combinations are also possible.","type":"string","minLength":1}},{"type":"boolean"}]},"wrappedContextCritical":{"description":"Enable warnings for partial dynamic dependencies.","type":"boolean"},"wrappedContextRecursive":{"description":"Enable recursive directory lookup for partial dynamic dependencies.","type":"boolean"},"wrappedContextRegExp":{"description":"Set the inner regular expression for partial dynamic dependencies.","instanceof":"RegExp","tsType":"RegExp"}}},"Layer":{"description":"Specifies the layer in which modules of this entrypoint are placed.","anyOf":[{"enum":[null]},{"type":"string","minLength":1}]},"Library":{"description":"Make the output files a library, exporting the exports of the entry point.","anyOf":[{"$ref":"#/definitions/LibraryName"},{"$ref":"#/definitions/LibraryOptions"}]},"LibraryCustomUmdCommentObject":{"description":"Set explicit comments for `commonjs`, `commonjs2`, `amd`, and `root`.","type":"object","additionalProperties":false,"properties":{"amd":{"description":"Set comment for `amd` section in UMD.","type":"string"},"commonjs":{"description":"Set comment for `commonjs` (exports) section in UMD.","type":"string"},"commonjs2":{"description":"Set comment for `commonjs2` (module.exports) section in UMD.","type":"string"},"root":{"description":"Set comment for `root` (global variable) section in UMD.","type":"string"}}},"LibraryCustomUmdObject":{"description":"Description object for all UMD variants of the library name.","type":"object","additionalProperties":false,"properties":{"amd":{"description":"Name of the exposed AMD library in the UMD.","type":"string","minLength":1},"commonjs":{"description":"Name of the exposed commonjs export in the UMD.","type":"string","minLength":1},"root":{"description":"Name of the property exposed globally by a UMD library.","anyOf":[{"type":"array","items":{"description":"Part of the name of the property exposed globally by a UMD library.","type":"string","minLength":1}},{"type":"string","minLength":1}]}}},"LibraryExport":{"description":"Specify which export should be exposed as library.","anyOf":[{"type":"array","items":{"description":"Part of the export that should be exposed as library.","type":"string","minLength":1}},{"type":"string","minLength":1}]},"LibraryName":{"description":"The name of the library (some types allow unnamed libraries too).","anyOf":[{"type":"array","items":{"description":"A part of the library name.","type":"string","minLength":1},"minItems":1},{"type":"string","minLength":1},{"$ref":"#/definitions/LibraryCustomUmdObject"}]},"LibraryOptions":{"description":"Options for library.","type":"object","additionalProperties":false,"properties":{"auxiliaryComment":{"$ref":"#/definitions/AuxiliaryComment"},"export":{"$ref":"#/definitions/LibraryExport"},"name":{"$ref":"#/definitions/LibraryName"},"type":{"$ref":"#/definitions/LibraryType"},"umdNamedDefine":{"$ref":"#/definitions/UmdNamedDefine"}},"required":["type"]},"LibraryType":{"description":"Type of library (types included by default are \'var\', \'module\', \'assign\', \'assign-properties\', \'this\', \'window\', \'self\', \'global\', \'commonjs\', \'commonjs2\', \'commonjs-module\', \'amd\', \'amd-require\', \'umd\', \'umd2\', \'jsonp\', \'system\', but others might be added by plugins).","anyOf":[{"enum":["var","module","assign","assign-properties","this","window","self","global","commonjs","commonjs2","commonjs-module","amd","amd-require","umd","umd2","jsonp","system"]},{"type":"string"}]},"Loader":{"description":"Custom values available in the loader context.","type":"object"},"MemoryCacheOptions":{"description":"Options object for in-memory caching.","type":"object","additionalProperties":false,"properties":{"maxGenerations":{"description":"Number of generations unused cache entries stay in memory cache at minimum (1 = may be removed after unused for a single compilation, ..., Infinity: kept forever).","type":"number","minimum":1},"type":{"description":"In memory caching.","enum":["memory"]}},"required":["type"]},"Mode":{"description":"Enable production optimizations or development hints.","enum":["development","production","none"]},"ModuleFilterItemTypes":{"description":"Filtering value, regexp or function.","cli":{"helper":true},"anyOf":[{"instanceof":"RegExp","tsType":"RegExp"},{"type":"string","absolutePath":false},{"instanceof":"Function","tsType":"((name: string, module: import(\'../lib/stats/DefaultStatsFactoryPlugin\').StatsModule, type: \'module\' | \'chunk\' | \'root-of-chunk\' | \'nested\') => boolean)"}]},"ModuleFilterTypes":{"description":"Filtering modules.","cli":{"helper":true},"anyOf":[{"type":"array","items":{"description":"Rule to filter.","cli":{"helper":true},"oneOf":[{"$ref":"#/definitions/ModuleFilterItemTypes"}]}},{"$ref":"#/definitions/ModuleFilterItemTypes"}]},"ModuleOptions":{"description":"Options affecting the normal modules (`NormalModuleFactory`).","type":"object","additionalProperties":false,"properties":{"defaultRules":{"description":"An array of rules applied by default for modules.","cli":{"exclude":true},"oneOf":[{"$ref":"#/definitions/RuleSetRules"}]},"exprContextCritical":{"description":"Enable warnings for full dynamic dependencies.","type":"boolean"},"exprContextRecursive":{"description":"Enable recursive directory lookup for full dynamic dependencies. Deprecated: This option has moved to \'module.parser.javascript.exprContextRecursive\'.","type":"boolean"},"exprContextRegExp":{"description":"Sets the default regular expression for full dynamic dependencies. Deprecated: This option has moved to \'module.parser.javascript.exprContextRegExp\'.","anyOf":[{"instanceof":"RegExp","tsType":"RegExp"},{"type":"boolean"}]},"exprContextRequest":{"description":"Set the default request for full dynamic dependencies. Deprecated: This option has moved to \'module.parser.javascript.exprContextRequest\'.","type":"string"},"generator":{"$ref":"#/definitions/GeneratorOptionsByModuleType"},"noParse":{"$ref":"#/definitions/NoParse"},"parser":{"$ref":"#/definitions/ParserOptionsByModuleType"},"rules":{"description":"An array of rules applied for modules.","oneOf":[{"$ref":"#/definitions/RuleSetRules"}]},"strictExportPresence":{"description":"Emit errors instead of warnings when imported names don\'t exist in imported module. Deprecated: This option has moved to \'module.parser.javascript.strictExportPresence\'.","type":"boolean"},"strictThisContextOnImports":{"description":"Handle the this context correctly according to the spec for namespace objects. Deprecated: This option has moved to \'module.parser.javascript.strictThisContextOnImports\'.","type":"boolean"},"unknownContextCritical":{"description":"Enable warnings when using the require function in a not statically analyse-able way. Deprecated: This option has moved to \'module.parser.javascript.unknownContextCritical\'.","type":"boolean"},"unknownContextRecursive":{"description":"Enable recursive directory lookup when using the require function in a not statically analyse-able way. Deprecated: This option has moved to \'module.parser.javascript.unknownContextRecursive\'.","type":"boolean"},"unknownContextRegExp":{"description":"Sets the regular expression when using the require function in a not statically analyse-able way. Deprecated: This option has moved to \'module.parser.javascript.unknownContextRegExp\'.","anyOf":[{"instanceof":"RegExp","tsType":"RegExp"},{"type":"boolean"}]},"unknownContextRequest":{"description":"Sets the request when using the require function in a not statically analyse-able way. Deprecated: This option has moved to \'module.parser.javascript.unknownContextRequest\'.","type":"string"},"unsafeCache":{"description":"Cache the resolving of module requests.","anyOf":[{"type":"boolean"},{"instanceof":"Function","tsType":"Function"}]},"wrappedContextCritical":{"description":"Enable warnings for partial dynamic dependencies. Deprecated: This option has moved to \'module.parser.javascript.wrappedContextCritical\'.","type":"boolean"},"wrappedContextRecursive":{"description":"Enable recursive directory lookup for partial dynamic dependencies. Deprecated: This option has moved to \'module.parser.javascript.wrappedContextRecursive\'.","type":"boolean"},"wrappedContextRegExp":{"description":"Set the inner regular expression for partial dynamic dependencies. Deprecated: This option has moved to \'module.parser.javascript.wrappedContextRegExp\'.","instanceof":"RegExp","tsType":"RegExp"}}},"ModuleOptionsNormalized":{"description":"Options affecting the normal modules (`NormalModuleFactory`).","type":"object","additionalProperties":false,"properties":{"defaultRules":{"description":"An array of rules applied by default for modules.","cli":{"exclude":true},"oneOf":[{"$ref":"#/definitions/RuleSetRules"}]},"generator":{"$ref":"#/definitions/GeneratorOptionsByModuleType"},"noParse":{"$ref":"#/definitions/NoParse"},"parser":{"$ref":"#/definitions/ParserOptionsByModuleType"},"rules":{"description":"An array of rules applied for modules.","oneOf":[{"$ref":"#/definitions/RuleSetRules"}]},"unsafeCache":{"description":"Cache the resolving of module requests.","anyOf":[{"type":"boolean"},{"instanceof":"Function","tsType":"Function"}]}},"required":["defaultRules","generator","parser","rules"]},"Name":{"description":"Name of the configuration. Used when loading multiple configurations.","type":"string"},"NoParse":{"description":"Don\'t parse files matching. It\'s matched against the full resolved request.","anyOf":[{"type":"array","items":{"description":"Don\'t parse files matching. It\'s matched against the full resolved request.","anyOf":[{"description":"A regular expression, when matched the module is not parsed.","instanceof":"RegExp","tsType":"RegExp"},{"description":"An absolute path, when the module starts with this path it is not parsed.","type":"string","absolutePath":true},{"instanceof":"Function","tsType":"Function"}]},"minItems":1},{"description":"A regular expression, when matched the module is not parsed.","instanceof":"RegExp","tsType":"RegExp"},{"description":"An absolute path, when the module starts with this path it is not parsed.","type":"string","absolutePath":true},{"instanceof":"Function","tsType":"Function"}]},"Node":{"description":"Include polyfills or mocks for various node stuff.","anyOf":[{"enum":[false]},{"$ref":"#/definitions/NodeOptions"}]},"NodeOptions":{"description":"Options object for node compatibility features.","type":"object","additionalProperties":false,"properties":{"__dirname":{"description":"Include a polyfill for the \'__dirname\' variable.","enum":[false,true,"mock","eval-only"]},"__filename":{"description":"Include a polyfill for the \'__filename\' variable.","enum":[false,true,"mock","eval-only"]},"global":{"description":"Include a polyfill for the \'global\' variable.","type":"boolean"}}},"Optimization":{"description":"Enables/Disables integrated optimizations.","type":"object","additionalProperties":false,"properties":{"checkWasmTypes":{"description":"Check for incompatible wasm types when importing/exporting from/to ESM.","type":"boolean"},"chunkIds":{"description":"Define the algorithm to choose chunk ids (named: readable ids for better debugging, deterministic: numeric hash ids for better long term caching, size: numeric ids focused on minimal initial download size, total-size: numeric ids focused on minimal total download size, false: no algorithm used, as custom one can be provided via plugin).","enum":["natural","named","deterministic","size","total-size",false]},"concatenateModules":{"description":"Concatenate modules when possible to generate less modules, more efficient code and enable more optimizations by the minimizer.","type":"boolean"},"emitOnErrors":{"description":"Emit assets even when errors occur. Critical errors are emitted into the generated code and will cause errors at runtime.","type":"boolean"},"flagIncludedChunks":{"description":"Also flag chunks as loaded which contain a subset of the modules.","type":"boolean"},"innerGraph":{"description":"Creates a module-internal dependency graph for top level symbols, exports and imports, to improve unused exports detection.","type":"boolean"},"mangleExports":{"description":"Rename exports when possible to generate shorter code (depends on optimization.usedExports and optimization.providedExports, true/\\"deterministic\\": generate short deterministic names optimized for caching, \\"size\\": generate the shortest possible names).","anyOf":[{"enum":["size","deterministic"]},{"type":"boolean"}]},"mangleWasmImports":{"description":"Reduce size of WASM by changing imports to shorter strings.","type":"boolean"},"mergeDuplicateChunks":{"description":"Merge chunks which contain the same modules.","type":"boolean"},"minimize":{"description":"Enable minimizing the output. Uses optimization.minimizer.","type":"boolean"},"minimizer":{"description":"Minimizer(s) to use for minimizing the output.","type":"array","cli":{"exclude":true},"items":{"description":"Plugin of type object or instanceof Function.","anyOf":[{"enum":["..."]},{"$ref":"#/definitions/WebpackPluginInstance"},{"$ref":"#/definitions/WebpackPluginFunction"}]}},"moduleIds":{"description":"Define the algorithm to choose module ids (natural: numeric ids in order of usage, named: readable ids for better debugging, hashed: (deprecated) short hashes as ids for better long term caching, deterministic: numeric hash ids for better long term caching, size: numeric ids focused on minimal initial download size, false: no algorithm used, as custom one can be provided via plugin).","enum":["natural","named","hashed","deterministic","size",false]},"noEmitOnErrors":{"description":"Avoid emitting assets when errors occur (deprecated: use \'emitOnErrors\' instead).","type":"boolean","cli":{"exclude":true}},"nodeEnv":{"description":"Set process.env.NODE_ENV to a specific value.","anyOf":[{"enum":[false]},{"type":"string"}]},"portableRecords":{"description":"Generate records with relative paths to be able to move the context folder.","type":"boolean"},"providedExports":{"description":"Figure out which exports are provided by modules to generate more efficient code.","type":"boolean"},"realContentHash":{"description":"Use real [contenthash] based on final content of the assets.","type":"boolean"},"removeAvailableModules":{"description":"Removes modules from chunks when these modules are already included in all parents.","type":"boolean"},"removeEmptyChunks":{"description":"Remove chunks which are empty.","type":"boolean"},"runtimeChunk":{"$ref":"#/definitions/OptimizationRuntimeChunk"},"sideEffects":{"description":"Skip over modules which contain no side effects when exports are not used (false: disabled, \'flag\': only use manually placed side effects flag, true: also analyse source code for side effects).","anyOf":[{"enum":["flag"]},{"type":"boolean"}]},"splitChunks":{"description":"Optimize duplication and caching by splitting chunks by shared modules and cache group.","anyOf":[{"enum":[false]},{"$ref":"#/definitions/OptimizationSplitChunksOptions"}]},"usedExports":{"description":"Figure out which exports are used by modules to mangle export names, omit unused exports and generate more efficient code (true: analyse used exports for each runtime, \\"global\\": analyse exports globally for all runtimes combined).","anyOf":[{"enum":["global"]},{"type":"boolean"}]}}},"OptimizationRuntimeChunk":{"description":"Create an additional chunk which contains only the webpack runtime and chunk hash maps.","anyOf":[{"enum":["single","multiple"]},{"type":"boolean"},{"type":"object","additionalProperties":false,"properties":{"name":{"description":"The name or name factory for the runtime chunks.","anyOf":[{"type":"string"},{"instanceof":"Function","tsType":"Function"}]}}}]},"OptimizationRuntimeChunkNormalized":{"description":"Create an additional chunk which contains only the webpack runtime and chunk hash maps.","anyOf":[{"enum":[false]},{"type":"object","additionalProperties":false,"properties":{"name":{"description":"The name factory for the runtime chunks.","instanceof":"Function","tsType":"Function"}}}]},"OptimizationSplitChunksCacheGroup":{"description":"Options object for describing behavior of a cache group selecting modules that should be cached together.","type":"object","additionalProperties":false,"properties":{"automaticNameDelimiter":{"description":"Sets the name delimiter for created chunks.","type":"string","minLength":1},"chunks":{"description":"Select chunks for determining cache group content (defaults to \\"initial\\", \\"initial\\" and \\"all\\" requires adding these chunks to the HTML).","anyOf":[{"enum":["initial","async","all"]},{"instanceof":"Function","tsType":"((chunk: import(\'../lib/Chunk\')) => boolean)"}]},"enforce":{"description":"Ignore minimum size, minimum chunks and maximum requests and always create chunks for this cache group.","type":"boolean"},"enforceSizeThreshold":{"description":"Size threshold at which splitting is enforced and other restrictions (minRemainingSize, maxAsyncRequests, maxInitialRequests) are ignored.","oneOf":[{"$ref":"#/definitions/OptimizationSplitChunksSizes"}]},"filename":{"description":"Sets the template for the filename for created chunks.","anyOf":[{"type":"string","absolutePath":false,"minLength":1},{"instanceof":"Function","tsType":"((pathData: import(\\"../lib/Compilation\\").PathData, assetInfo?: import(\\"../lib/Compilation\\").AssetInfo) => string)"}]},"idHint":{"description":"Sets the hint for chunk id.","type":"string"},"layer":{"description":"Assign modules to a cache group by module layer.","anyOf":[{"instanceof":"RegExp","tsType":"RegExp"},{"type":"string"},{"instanceof":"Function","tsType":"Function"}]},"maxAsyncRequests":{"description":"Maximum number of requests which are accepted for on-demand loading.","type":"number","minimum":1},"maxAsyncSize":{"description":"Maximal size hint for the on-demand chunks.","oneOf":[{"$ref":"#/definitions/OptimizationSplitChunksSizes"}]},"maxInitialRequests":{"description":"Maximum number of initial chunks which are accepted for an entry point.","type":"number","minimum":1},"maxInitialSize":{"description":"Maximal size hint for the initial chunks.","oneOf":[{"$ref":"#/definitions/OptimizationSplitChunksSizes"}]},"maxSize":{"description":"Maximal size hint for the created chunks.","oneOf":[{"$ref":"#/definitions/OptimizationSplitChunksSizes"}]},"minChunks":{"description":"Minimum number of times a module has to be duplicated until it\'s considered for splitting.","type":"number","minimum":1},"minRemainingSize":{"description":"Minimal size for the chunks the stay after moving the modules to a new chunk.","oneOf":[{"$ref":"#/definitions/OptimizationSplitChunksSizes"}]},"minSize":{"description":"Minimal size for the created chunk.","oneOf":[{"$ref":"#/definitions/OptimizationSplitChunksSizes"}]},"name":{"description":"Give chunks for this cache group a name (chunks with equal name are merged).","anyOf":[{"enum":[false]},{"type":"string"},{"instanceof":"Function","tsType":"Function"}]},"priority":{"description":"Priority of this cache group.","type":"number"},"reuseExistingChunk":{"description":"Try to reuse existing chunk (with name) when it has matching modules.","type":"boolean"},"test":{"description":"Assign modules to a cache group by module name.","anyOf":[{"instanceof":"RegExp","tsType":"RegExp"},{"type":"string"},{"instanceof":"Function","tsType":"Function"}]},"type":{"description":"Assign modules to a cache group by module type.","anyOf":[{"instanceof":"RegExp","tsType":"RegExp"},{"type":"string"},{"instanceof":"Function","tsType":"Function"}]},"usedExports":{"description":"Compare used exports when checking common modules. Modules will only be put in the same chunk when exports are equal.","type":"boolean"}}},"OptimizationSplitChunksGetCacheGroups":{"description":"A function returning cache groups.","instanceof":"Function","tsType":"((module: import(\'../lib/Module\')) => OptimizationSplitChunksCacheGroup | OptimizationSplitChunksCacheGroup[] | void)"},"OptimizationSplitChunksOptions":{"description":"Options object for splitting chunks into smaller chunks.","type":"object","additionalProperties":false,"properties":{"automaticNameDelimiter":{"description":"Sets the name delimiter for created chunks.","type":"string","minLength":1},"cacheGroups":{"description":"Assign modules to a cache group (modules from different cache groups are tried to keep in separate chunks, default categories: \'default\', \'defaultVendors\').","type":"object","additionalProperties":{"description":"Configuration for a cache group.","anyOf":[{"enum":[false]},{"instanceof":"RegExp","tsType":"RegExp"},{"type":"string"},{"instanceof":"Function","tsType":"Function"},{"$ref":"#/definitions/OptimizationSplitChunksCacheGroup"}]},"not":{"description":"Using the cacheGroup shorthand syntax with a cache group named \'test\' is a potential config error\\nDid you intent to define a cache group with a test instead?\\ncacheGroups: {\\n : {\\n test: ...\\n }\\n}.","type":"object","additionalProperties":true,"properties":{"test":{"description":"The test property is a cache group name, but using the test option of the cache group could be intended instead.","anyOf":[{"instanceof":"RegExp","tsType":"RegExp"},{"type":"string"},{"instanceof":"Function","tsType":"Function"}]}},"required":["test"]}},"chunks":{"description":"Select chunks for determining shared modules (defaults to \\"async\\", \\"initial\\" and \\"all\\" requires adding these chunks to the HTML).","anyOf":[{"enum":["initial","async","all"]},{"instanceof":"Function","tsType":"((chunk: import(\'../lib/Chunk\')) => boolean)"}]},"defaultSizeTypes":{"description":"Sets the size types which are used when a number is used for sizes.","type":"array","items":{"description":"Size type, like \'javascript\', \'webassembly\'.","type":"string"},"minItems":1},"enforceSizeThreshold":{"description":"Size threshold at which splitting is enforced and other restrictions (minRemainingSize, maxAsyncRequests, maxInitialRequests) are ignored.","oneOf":[{"$ref":"#/definitions/OptimizationSplitChunksSizes"}]},"fallbackCacheGroup":{"description":"Options for modules not selected by any other cache group.","type":"object","additionalProperties":false,"properties":{"automaticNameDelimiter":{"description":"Sets the name delimiter for created chunks.","type":"string","minLength":1},"maxAsyncSize":{"description":"Maximal size hint for the on-demand chunks.","oneOf":[{"$ref":"#/definitions/OptimizationSplitChunksSizes"}]},"maxInitialSize":{"description":"Maximal size hint for the initial chunks.","oneOf":[{"$ref":"#/definitions/OptimizationSplitChunksSizes"}]},"maxSize":{"description":"Maximal size hint for the created chunks.","oneOf":[{"$ref":"#/definitions/OptimizationSplitChunksSizes"}]},"minSize":{"description":"Minimal size for the created chunk.","oneOf":[{"$ref":"#/definitions/OptimizationSplitChunksSizes"}]}}},"filename":{"description":"Sets the template for the filename for created chunks.","anyOf":[{"type":"string","absolutePath":false,"minLength":1},{"instanceof":"Function","tsType":"((pathData: import(\\"../lib/Compilation\\").PathData, assetInfo?: import(\\"../lib/Compilation\\").AssetInfo) => string)"}]},"hidePathInfo":{"description":"Prevents exposing path info when creating names for parts splitted by maxSize.","type":"boolean"},"maxAsyncRequests":{"description":"Maximum number of requests which are accepted for on-demand loading.","type":"number","minimum":1},"maxAsyncSize":{"description":"Maximal size hint for the on-demand chunks.","oneOf":[{"$ref":"#/definitions/OptimizationSplitChunksSizes"}]},"maxInitialRequests":{"description":"Maximum number of initial chunks which are accepted for an entry point.","type":"number","minimum":1},"maxInitialSize":{"description":"Maximal size hint for the initial chunks.","oneOf":[{"$ref":"#/definitions/OptimizationSplitChunksSizes"}]},"maxSize":{"description":"Maximal size hint for the created chunks.","oneOf":[{"$ref":"#/definitions/OptimizationSplitChunksSizes"}]},"minChunks":{"description":"Minimum number of times a module has to be duplicated until it\'s considered for splitting.","type":"number","minimum":1},"minRemainingSize":{"description":"Minimal size for the chunks the stay after moving the modules to a new chunk.","oneOf":[{"$ref":"#/definitions/OptimizationSplitChunksSizes"}]},"minSize":{"description":"Minimal size for the created chunks.","oneOf":[{"$ref":"#/definitions/OptimizationSplitChunksSizes"}]},"name":{"description":"Give chunks created a name (chunks with equal name are merged).","anyOf":[{"enum":[false]},{"type":"string"},{"instanceof":"Function","tsType":"Function"}]},"usedExports":{"description":"Compare used exports when checking common modules. Modules will only be put in the same chunk when exports are equal.","type":"boolean"}}},"OptimizationSplitChunksSizes":{"description":"Size description for limits.","anyOf":[{"description":"Size of the javascript part of the chunk.","type":"number","minimum":0},{"description":"Specify size limits per size type.","type":"object","additionalProperties":{"description":"Size of the part of the chunk with the type of the key.","type":"number"}}]},"Output":{"description":"Options affecting the output of the compilation. `output` options tell webpack how to write the compiled files to disk.","type":"object","additionalProperties":false,"properties":{"assetModuleFilename":{"$ref":"#/definitions/AssetModuleFilename"},"auxiliaryComment":{"cli":{"exclude":true},"oneOf":[{"$ref":"#/definitions/AuxiliaryComment"}]},"charset":{"$ref":"#/definitions/Charset"},"chunkFilename":{"$ref":"#/definitions/ChunkFilename"},"chunkFormat":{"$ref":"#/definitions/ChunkFormat"},"chunkLoadTimeout":{"$ref":"#/definitions/ChunkLoadTimeout"},"chunkLoading":{"$ref":"#/definitions/ChunkLoading"},"chunkLoadingGlobal":{"$ref":"#/definitions/ChunkLoadingGlobal"},"clean":{"$ref":"#/definitions/Clean"},"compareBeforeEmit":{"$ref":"#/definitions/CompareBeforeEmit"},"crossOriginLoading":{"$ref":"#/definitions/CrossOriginLoading"},"devtoolFallbackModuleFilenameTemplate":{"$ref":"#/definitions/DevtoolFallbackModuleFilenameTemplate"},"devtoolModuleFilenameTemplate":{"$ref":"#/definitions/DevtoolModuleFilenameTemplate"},"devtoolNamespace":{"$ref":"#/definitions/DevtoolNamespace"},"enabledChunkLoadingTypes":{"$ref":"#/definitions/EnabledChunkLoadingTypes"},"enabledLibraryTypes":{"$ref":"#/definitions/EnabledLibraryTypes"},"enabledWasmLoadingTypes":{"$ref":"#/definitions/EnabledWasmLoadingTypes"},"environment":{"$ref":"#/definitions/Environment"},"filename":{"$ref":"#/definitions/Filename"},"globalObject":{"$ref":"#/definitions/GlobalObject"},"hashDigest":{"$ref":"#/definitions/HashDigest"},"hashDigestLength":{"$ref":"#/definitions/HashDigestLength"},"hashFunction":{"$ref":"#/definitions/HashFunction"},"hashSalt":{"$ref":"#/definitions/HashSalt"},"hotUpdateChunkFilename":{"$ref":"#/definitions/HotUpdateChunkFilename"},"hotUpdateGlobal":{"$ref":"#/definitions/HotUpdateGlobal"},"hotUpdateMainFilename":{"$ref":"#/definitions/HotUpdateMainFilename"},"iife":{"$ref":"#/definitions/Iife"},"importFunctionName":{"$ref":"#/definitions/ImportFunctionName"},"importMetaName":{"$ref":"#/definitions/ImportMetaName"},"library":{"$ref":"#/definitions/Library"},"libraryExport":{"cli":{"exclude":true},"oneOf":[{"$ref":"#/definitions/LibraryExport"}]},"libraryTarget":{"cli":{"exclude":true},"oneOf":[{"$ref":"#/definitions/LibraryType"}]},"module":{"$ref":"#/definitions/OutputModule"},"path":{"$ref":"#/definitions/Path"},"pathinfo":{"$ref":"#/definitions/Pathinfo"},"publicPath":{"$ref":"#/definitions/PublicPath"},"scriptType":{"$ref":"#/definitions/ScriptType"},"sourceMapFilename":{"$ref":"#/definitions/SourceMapFilename"},"sourcePrefix":{"$ref":"#/definitions/SourcePrefix"},"strictModuleErrorHandling":{"$ref":"#/definitions/StrictModuleErrorHandling"},"strictModuleExceptionHandling":{"$ref":"#/definitions/StrictModuleExceptionHandling"},"trustedTypes":{"description":"Use a Trusted Types policy to create urls for chunks. \'output.uniqueName\' is used a default policy name. Passing a string sets a custom policy name.","anyOf":[{"enum":[true]},{"description":"The name of the Trusted Types policy created by webpack to serve bundle chunks.","type":"string","minLength":1},{"$ref":"#/definitions/TrustedTypes"}]},"umdNamedDefine":{"cli":{"exclude":true},"oneOf":[{"$ref":"#/definitions/UmdNamedDefine"}]},"uniqueName":{"$ref":"#/definitions/UniqueName"},"wasmLoading":{"$ref":"#/definitions/WasmLoading"},"webassemblyModuleFilename":{"$ref":"#/definitions/WebassemblyModuleFilename"},"workerChunkLoading":{"$ref":"#/definitions/ChunkLoading"},"workerWasmLoading":{"$ref":"#/definitions/WasmLoading"}}},"OutputModule":{"description":"Output javascript files as module source type.","type":"boolean"},"OutputNormalized":{"description":"Normalized options affecting the output of the compilation. `output` options tell webpack how to write the compiled files to disk.","type":"object","additionalProperties":false,"properties":{"assetModuleFilename":{"$ref":"#/definitions/AssetModuleFilename"},"charset":{"$ref":"#/definitions/Charset"},"chunkFilename":{"$ref":"#/definitions/ChunkFilename"},"chunkFormat":{"$ref":"#/definitions/ChunkFormat"},"chunkLoadTimeout":{"$ref":"#/definitions/ChunkLoadTimeout"},"chunkLoading":{"$ref":"#/definitions/ChunkLoading"},"chunkLoadingGlobal":{"$ref":"#/definitions/ChunkLoadingGlobal"},"clean":{"$ref":"#/definitions/Clean"},"compareBeforeEmit":{"$ref":"#/definitions/CompareBeforeEmit"},"crossOriginLoading":{"$ref":"#/definitions/CrossOriginLoading"},"devtoolFallbackModuleFilenameTemplate":{"$ref":"#/definitions/DevtoolFallbackModuleFilenameTemplate"},"devtoolModuleFilenameTemplate":{"$ref":"#/definitions/DevtoolModuleFilenameTemplate"},"devtoolNamespace":{"$ref":"#/definitions/DevtoolNamespace"},"enabledChunkLoadingTypes":{"$ref":"#/definitions/EnabledChunkLoadingTypes"},"enabledLibraryTypes":{"$ref":"#/definitions/EnabledLibraryTypes"},"enabledWasmLoadingTypes":{"$ref":"#/definitions/EnabledWasmLoadingTypes"},"environment":{"$ref":"#/definitions/Environment"},"filename":{"$ref":"#/definitions/Filename"},"globalObject":{"$ref":"#/definitions/GlobalObject"},"hashDigest":{"$ref":"#/definitions/HashDigest"},"hashDigestLength":{"$ref":"#/definitions/HashDigestLength"},"hashFunction":{"$ref":"#/definitions/HashFunction"},"hashSalt":{"$ref":"#/definitions/HashSalt"},"hotUpdateChunkFilename":{"$ref":"#/definitions/HotUpdateChunkFilename"},"hotUpdateGlobal":{"$ref":"#/definitions/HotUpdateGlobal"},"hotUpdateMainFilename":{"$ref":"#/definitions/HotUpdateMainFilename"},"iife":{"$ref":"#/definitions/Iife"},"importFunctionName":{"$ref":"#/definitions/ImportFunctionName"},"importMetaName":{"$ref":"#/definitions/ImportMetaName"},"library":{"$ref":"#/definitions/LibraryOptions"},"module":{"$ref":"#/definitions/OutputModule"},"path":{"$ref":"#/definitions/Path"},"pathinfo":{"$ref":"#/definitions/Pathinfo"},"publicPath":{"$ref":"#/definitions/PublicPath"},"scriptType":{"$ref":"#/definitions/ScriptType"},"sourceMapFilename":{"$ref":"#/definitions/SourceMapFilename"},"sourcePrefix":{"$ref":"#/definitions/SourcePrefix"},"strictModuleErrorHandling":{"$ref":"#/definitions/StrictModuleErrorHandling"},"strictModuleExceptionHandling":{"$ref":"#/definitions/StrictModuleExceptionHandling"},"trustedTypes":{"$ref":"#/definitions/TrustedTypes"},"uniqueName":{"$ref":"#/definitions/UniqueName"},"wasmLoading":{"$ref":"#/definitions/WasmLoading"},"webassemblyModuleFilename":{"$ref":"#/definitions/WebassemblyModuleFilename"},"workerChunkLoading":{"$ref":"#/definitions/ChunkLoading"},"workerWasmLoading":{"$ref":"#/definitions/WasmLoading"}}},"Parallelism":{"description":"The number of parallel processed modules in the compilation.","type":"number","minimum":1},"ParserOptionsByModuleType":{"description":"Specify options for each parser.","type":"object","additionalProperties":{"description":"Options for parsing.","type":"object","additionalProperties":true},"properties":{"asset":{"$ref":"#/definitions/AssetParserOptions"},"asset/inline":{"$ref":"#/definitions/EmptyParserOptions"},"asset/resource":{"$ref":"#/definitions/EmptyParserOptions"},"asset/source":{"$ref":"#/definitions/EmptyParserOptions"},"javascript":{"$ref":"#/definitions/JavascriptParserOptions"},"javascript/auto":{"$ref":"#/definitions/JavascriptParserOptions"},"javascript/dynamic":{"$ref":"#/definitions/JavascriptParserOptions"},"javascript/esm":{"$ref":"#/definitions/JavascriptParserOptions"}}},"Path":{"description":"The output directory as **absolute path** (required).","type":"string","absolutePath":true},"Pathinfo":{"description":"Include comments with information about the modules.","anyOf":[{"enum":["verbose"]},{"type":"boolean"}]},"Performance":{"description":"Configuration for web performance recommendations.","anyOf":[{"enum":[false]},{"$ref":"#/definitions/PerformanceOptions"}]},"PerformanceOptions":{"description":"Configuration object for web performance recommendations.","type":"object","additionalProperties":false,"properties":{"assetFilter":{"description":"Filter function to select assets that are checked.","instanceof":"Function","tsType":"Function"},"hints":{"description":"Sets the format of the hints: warnings, errors or nothing at all.","enum":[false,"warning","error"]},"maxAssetSize":{"description":"File size limit (in bytes) when exceeded, that webpack will provide performance hints.","type":"number"},"maxEntrypointSize":{"description":"Total size of an entry point (in bytes).","type":"number"}}},"Plugins":{"description":"Add additional plugins to the compiler.","type":"array","items":{"description":"Plugin of type object or instanceof Function.","anyOf":[{"$ref":"#/definitions/WebpackPluginInstance"},{"$ref":"#/definitions/WebpackPluginFunction"}]}},"Profile":{"description":"Capture timing information for each module.","type":"boolean"},"PublicPath":{"description":"The \'publicPath\' specifies the public URL address of the output files when referenced in a browser.","anyOf":[{"enum":["auto"]},{"$ref":"#/definitions/RawPublicPath"}]},"RawPublicPath":{"description":"The \'publicPath\' specifies the public URL address of the output files when referenced in a browser.","anyOf":[{"type":"string"},{"instanceof":"Function","tsType":"((pathData: import(\\"../lib/Compilation\\").PathData, assetInfo?: import(\\"../lib/Compilation\\").AssetInfo) => string)"}]},"RecordsInputPath":{"description":"Store compiler state to a json file.","anyOf":[{"enum":[false]},{"type":"string","absolutePath":true}]},"RecordsOutputPath":{"description":"Load compiler state from a json file.","anyOf":[{"enum":[false]},{"type":"string","absolutePath":true}]},"RecordsPath":{"description":"Store/Load compiler state from/to a json file. This will result in persistent ids of modules and chunks. An absolute path is expected. `recordsPath` is used for `recordsInputPath` and `recordsOutputPath` if they left undefined.","anyOf":[{"enum":[false]},{"type":"string","absolutePath":true}]},"Resolve":{"description":"Options for the resolver.","oneOf":[{"$ref":"#/definitions/ResolveOptions"}]},"ResolveAlias":{"description":"Redirect module requests.","anyOf":[{"type":"array","items":{"description":"Alias configuration.","type":"object","additionalProperties":false,"properties":{"alias":{"description":"New request.","anyOf":[{"description":"Multiple alternative requests.","type":"array","items":{"description":"One choice of request.","type":"string","minLength":1}},{"description":"Ignore request (replace with empty module).","enum":[false]},{"description":"New request.","type":"string","minLength":1}]},"name":{"description":"Request to be redirected.","type":"string"},"onlyModule":{"description":"Redirect only exact matching request.","type":"boolean"}},"required":["alias","name"]}},{"type":"object","additionalProperties":{"description":"New request.","anyOf":[{"description":"Multiple alternative requests.","type":"array","items":{"description":"One choice of request.","type":"string","minLength":1}},{"description":"Ignore request (replace with empty module).","enum":[false]},{"description":"New request.","type":"string","minLength":1}]}}]},"ResolveLoader":{"description":"Options for the resolver when resolving loaders.","oneOf":[{"$ref":"#/definitions/ResolveOptions"}]},"ResolveOptions":{"description":"Options object for resolving requests.","type":"object","additionalProperties":false,"properties":{"alias":{"$ref":"#/definitions/ResolveAlias"},"aliasFields":{"description":"Fields in the description file (usually package.json) which are used to redirect requests inside the module.","type":"array","items":{"description":"Field in the description file (usually package.json) which are used to redirect requests inside the module.","anyOf":[{"type":"array","items":{"description":"Part of the field path in the description file (usually package.json) which are used to redirect requests inside the module.","type":"string","minLength":1}},{"type":"string","minLength":1}]}},"byDependency":{"description":"Extra resolve options per dependency category. Typical categories are \\"commonjs\\", \\"amd\\", \\"esm\\".","type":"object","additionalProperties":{"description":"Options object for resolving requests.","oneOf":[{"$ref":"#/definitions/ResolveOptions"}]}},"cache":{"description":"Enable caching of successfully resolved requests (cache entries are revalidated).","type":"boolean"},"cachePredicate":{"description":"Predicate function to decide which requests should be cached.","instanceof":"Function","tsType":"((request: import(\'enhanced-resolve\').ResolveRequest) => boolean)"},"cacheWithContext":{"description":"Include the context information in the cache identifier when caching.","type":"boolean"},"conditionNames":{"description":"Condition names for exports field entry point.","type":"array","items":{"description":"Condition names for exports field entry point.","type":"string"}},"descriptionFiles":{"description":"Filenames used to find a description file (like a package.json).","type":"array","items":{"description":"Filename used to find a description file (like a package.json).","type":"string","minLength":1}},"enforceExtension":{"description":"Enforce the resolver to use one of the extensions from the extensions option (User must specify requests without extension).","type":"boolean"},"exportsFields":{"description":"Field names from the description file (usually package.json) which are used to provide entry points of a package.","type":"array","items":{"description":"Field name from the description file (usually package.json) which is used to provide entry points of a package.","type":"string"}},"extensions":{"description":"Extensions added to the request when trying to find the file.","type":"array","items":{"description":"Extension added to the request when trying to find the file.","type":"string"}},"fallback":{"description":"Redirect module requests when normal resolving fails.","oneOf":[{"$ref":"#/definitions/ResolveAlias"}]},"fileSystem":{"description":"Filesystem for the resolver.","tsType":"(import(\'../lib/util/fs\').InputFileSystem)"},"fullySpecified":{"description":"Treats the request specified by the user as fully specified, meaning no extensions are added and the mainFiles in directories are not resolved (This doesn\'t affect requests from mainFields, aliasFields or aliases).","type":"boolean"},"importsFields":{"description":"Field names from the description file (usually package.json) which are used to provide internal request of a package (requests starting with # are considered as internal).","type":"array","items":{"description":"Field name from the description file (usually package.json) which is used to provide internal request of a package (requests starting with # are considered as internal).","type":"string"}},"mainFields":{"description":"Field names from the description file (package.json) which are used to find the default entry point.","type":"array","items":{"description":"Field name from the description file (package.json) which are used to find the default entry point.","anyOf":[{"type":"array","items":{"description":"Part of the field path from the description file (package.json) which are used to find the default entry point.","type":"string","minLength":1}},{"type":"string","minLength":1}]}},"mainFiles":{"description":"Filenames used to find the default entry point if there is no description file or main field.","type":"array","items":{"description":"Filename used to find the default entry point if there is no description file or main field.","type":"string","minLength":1}},"modules":{"description":"Folder names or directory paths where to find modules.","type":"array","items":{"description":"Folder name or directory path where to find modules.","type":"string","minLength":1}},"plugins":{"description":"Plugins for the resolver.","type":"array","cli":{"exclude":true},"items":{"description":"Plugin of type object or instanceof Function.","anyOf":[{"enum":["..."]},{"$ref":"#/definitions/ResolvePluginInstance"}]}},"preferAbsolute":{"description":"Prefer to resolve server-relative URLs (starting with \'/\') as absolute paths before falling back to resolve in \'resolve.roots\'.","type":"boolean"},"preferRelative":{"description":"Prefer to resolve module requests as relative request and fallback to resolving as module.","type":"boolean"},"resolver":{"description":"Custom resolver.","tsType":"(import(\'enhanced-resolve\').Resolver)"},"restrictions":{"description":"A list of resolve restrictions. Resolve results must fulfill all of these restrictions to resolve successfully. Other resolve paths are taken when restrictions are not met.","type":"array","items":{"description":"Resolve restriction. Resolve result must fulfill this restriction.","anyOf":[{"instanceof":"RegExp","tsType":"RegExp"},{"type":"string","absolutePath":true,"minLength":1}]}},"roots":{"description":"A list of directories in which requests that are server-relative URLs (starting with \'/\') are resolved.","type":"array","items":{"description":"Directory in which requests that are server-relative URLs (starting with \'/\') are resolved.","type":"string"}},"symlinks":{"description":"Enable resolving symlinks to the original location.","type":"boolean"},"unsafeCache":{"description":"Enable caching of successfully resolved requests (cache entries are not revalidated).","anyOf":[{"type":"boolean"},{"type":"object","additionalProperties":true}]},"useSyncFileSystemCalls":{"description":"Use synchronous filesystem calls for the resolver.","type":"boolean"}}},"ResolvePluginInstance":{"description":"Plugin instance.","type":"object","additionalProperties":true,"properties":{"apply":{"description":"The run point of the plugin, required method.","instanceof":"Function","tsType":"(resolver: import(\'enhanced-resolve\').Resolver) => void"}},"required":["apply"]},"RuleSetCondition":{"description":"A condition matcher.","cli":{"helper":true},"anyOf":[{"instanceof":"RegExp","tsType":"RegExp"},{"type":"string"},{"instanceof":"Function","tsType":"((value: string) => boolean)"},{"$ref":"#/definitions/RuleSetLogicalConditions"},{"$ref":"#/definitions/RuleSetConditions"}]},"RuleSetConditionAbsolute":{"description":"A condition matcher matching an absolute path.","cli":{"helper":true},"anyOf":[{"instanceof":"RegExp","tsType":"RegExp"},{"type":"string","absolutePath":true},{"instanceof":"Function","tsType":"((value: string) => boolean)"},{"$ref":"#/definitions/RuleSetLogicalConditionsAbsolute"},{"$ref":"#/definitions/RuleSetConditionsAbsolute"}]},"RuleSetConditionOrConditions":{"description":"One or multiple rule conditions.","cli":{"helper":true},"anyOf":[{"$ref":"#/definitions/RuleSetCondition"},{"$ref":"#/definitions/RuleSetConditions"}]},"RuleSetConditionOrConditionsAbsolute":{"description":"One or multiple rule conditions matching an absolute path.","cli":{"helper":true},"anyOf":[{"$ref":"#/definitions/RuleSetConditionAbsolute"},{"$ref":"#/definitions/RuleSetConditionsAbsolute"}]},"RuleSetConditions":{"description":"A list of rule conditions.","type":"array","items":{"description":"A rule condition.","oneOf":[{"$ref":"#/definitions/RuleSetCondition"}]}},"RuleSetConditionsAbsolute":{"description":"A list of rule conditions matching an absolute path.","type":"array","items":{"description":"A rule condition matching an absolute path.","oneOf":[{"$ref":"#/definitions/RuleSetConditionAbsolute"}]}},"RuleSetLoader":{"description":"A loader request.","type":"string","minLength":1},"RuleSetLoaderOptions":{"description":"Options passed to a loader.","anyOf":[{"type":"string"},{"type":"object"}]},"RuleSetLogicalConditions":{"description":"Logic operators used in a condition matcher.","type":"object","additionalProperties":false,"properties":{"and":{"description":"Logical AND.","oneOf":[{"$ref":"#/definitions/RuleSetConditions"}]},"not":{"description":"Logical NOT.","oneOf":[{"$ref":"#/definitions/RuleSetCondition"}]},"or":{"description":"Logical OR.","oneOf":[{"$ref":"#/definitions/RuleSetConditions"}]}}},"RuleSetLogicalConditionsAbsolute":{"description":"Logic operators used in a condition matcher.","type":"object","additionalProperties":false,"properties":{"and":{"description":"Logical AND.","oneOf":[{"$ref":"#/definitions/RuleSetConditionsAbsolute"}]},"not":{"description":"Logical NOT.","oneOf":[{"$ref":"#/definitions/RuleSetConditionAbsolute"}]},"or":{"description":"Logical OR.","oneOf":[{"$ref":"#/definitions/RuleSetConditionsAbsolute"}]}}},"RuleSetRule":{"description":"A rule description with conditions and effects for modules.","type":"object","additionalProperties":false,"properties":{"compiler":{"description":"Match the child compiler name.","oneOf":[{"$ref":"#/definitions/RuleSetConditionOrConditions"}]},"dependency":{"description":"Match dependency type.","oneOf":[{"$ref":"#/definitions/RuleSetConditionOrConditions"}]},"descriptionData":{"description":"Match values of properties in the description file (usually package.json).","type":"object","additionalProperties":{"$ref":"#/definitions/RuleSetConditionOrConditions"}},"enforce":{"description":"Enforce this rule as pre or post step.","enum":["pre","post"]},"exclude":{"description":"Shortcut for resource.exclude.","oneOf":[{"$ref":"#/definitions/RuleSetConditionOrConditionsAbsolute"}]},"generator":{"description":"The options for the module generator.","type":"object"},"include":{"description":"Shortcut for resource.include.","oneOf":[{"$ref":"#/definitions/RuleSetConditionOrConditionsAbsolute"}]},"issuer":{"description":"Match the issuer of the module (The module pointing to this module).","oneOf":[{"$ref":"#/definitions/RuleSetConditionOrConditionsAbsolute"}]},"issuerLayer":{"description":"Match layer of the issuer of this module (The module pointing to this module).","oneOf":[{"$ref":"#/definitions/RuleSetConditionOrConditions"}]},"layer":{"description":"Specifies the layer in which the module should be placed in.","type":"string"},"loader":{"description":"Shortcut for use.loader.","oneOf":[{"$ref":"#/definitions/RuleSetLoader"}]},"mimetype":{"description":"Match module mimetype when load from Data URI.","oneOf":[{"$ref":"#/definitions/RuleSetConditionOrConditions"}]},"oneOf":{"description":"Only execute the first matching rule in this array.","type":"array","items":{"description":"A rule.","oneOf":[{"$ref":"#/definitions/RuleSetRule"}]}},"options":{"description":"Shortcut for use.options.","cli":{"exclude":true},"oneOf":[{"$ref":"#/definitions/RuleSetLoaderOptions"}]},"parser":{"description":"Options for parsing.","type":"object","additionalProperties":true},"realResource":{"description":"Match the real resource path of the module.","oneOf":[{"$ref":"#/definitions/RuleSetConditionOrConditionsAbsolute"}]},"resolve":{"description":"Options for the resolver.","type":"object","oneOf":[{"$ref":"#/definitions/ResolveOptions"}]},"resource":{"description":"Match the resource path of the module.","oneOf":[{"$ref":"#/definitions/RuleSetConditionOrConditionsAbsolute"}]},"resourceFragment":{"description":"Match the resource fragment of the module.","oneOf":[{"$ref":"#/definitions/RuleSetConditionOrConditions"}]},"resourceQuery":{"description":"Match the resource query of the module.","oneOf":[{"$ref":"#/definitions/RuleSetConditionOrConditions"}]},"rules":{"description":"Match and execute these rules when this rule is matched.","type":"array","items":{"description":"A rule.","oneOf":[{"$ref":"#/definitions/RuleSetRule"}]}},"scheme":{"description":"Match module scheme.","oneOf":[{"$ref":"#/definitions/RuleSetConditionOrConditions"}]},"sideEffects":{"description":"Flags a module as with or without side effects.","type":"boolean"},"test":{"description":"Shortcut for resource.test.","oneOf":[{"$ref":"#/definitions/RuleSetConditionOrConditionsAbsolute"}]},"type":{"description":"Module type to use for the module.","type":"string"},"use":{"description":"Modifiers applied to the module when rule is matched.","oneOf":[{"$ref":"#/definitions/RuleSetUse"}]}}},"RuleSetRules":{"description":"A list of rules.","type":"array","items":{"description":"A rule.","anyOf":[{"cli":{"exclude":true},"enum":["..."]},{"$ref":"#/definitions/RuleSetRule"}]}},"RuleSetUse":{"description":"A list of descriptions of loaders applied.","anyOf":[{"type":"array","items":{"description":"An use item.","oneOf":[{"$ref":"#/definitions/RuleSetUseItem"}]}},{"instanceof":"Function","tsType":"((data: { resource: string, realResource: string, resourceQuery: string, issuer: string, compiler: string }) => RuleSetUseItem[])"},{"$ref":"#/definitions/RuleSetUseItem"}]},"RuleSetUseItem":{"description":"A description of an applied loader.","anyOf":[{"type":"object","additionalProperties":false,"properties":{"ident":{"description":"Unique loader options identifier.","type":"string"},"loader":{"description":"Loader name.","oneOf":[{"$ref":"#/definitions/RuleSetLoader"}]},"options":{"description":"Loader options.","oneOf":[{"$ref":"#/definitions/RuleSetLoaderOptions"}]}}},{"instanceof":"Function","tsType":"((data: object) => RuleSetUseItem|RuleSetUseItem[])"},{"$ref":"#/definitions/RuleSetLoader"}]},"ScriptType":{"description":"This option enables loading async chunks via a custom script type, such as script type=\\"module\\".","enum":[false,"text/javascript","module"]},"SnapshotOptions":{"description":"Options affecting how file system snapshots are created and validated.","type":"object","additionalProperties":false,"properties":{"buildDependencies":{"description":"Options for snapshotting build dependencies to determine if the whole cache need to be invalidated.","type":"object","additionalProperties":false,"properties":{"hash":{"description":"Use hashes of the content of the files/directories to determine invalidation.","type":"boolean"},"timestamp":{"description":"Use timestamps of the files/directories to determine invalidation.","type":"boolean"}}},"immutablePaths":{"description":"List of paths that are managed by a package manager and contain a version or hash in its path so all files are immutable.","type":"array","items":{"description":"A path to a immutable directory (usually a package manager cache directory).","type":"string","absolutePath":true,"minLength":1}},"managedPaths":{"description":"List of paths that are managed by a package manager and can be trusted to not be modified otherwise.","type":"array","items":{"description":"A path to a managed directory (usually a node_modules directory).","type":"string","absolutePath":true,"minLength":1}},"module":{"description":"Options for snapshotting dependencies of modules to determine if they need to be built again.","type":"object","additionalProperties":false,"properties":{"hash":{"description":"Use hashes of the content of the files/directories to determine invalidation.","type":"boolean"},"timestamp":{"description":"Use timestamps of the files/directories to determine invalidation.","type":"boolean"}}},"resolve":{"description":"Options for snapshotting dependencies of request resolving to determine if requests need to be re-resolved.","type":"object","additionalProperties":false,"properties":{"hash":{"description":"Use hashes of the content of the files/directories to determine invalidation.","type":"boolean"},"timestamp":{"description":"Use timestamps of the files/directories to determine invalidation.","type":"boolean"}}},"resolveBuildDependencies":{"description":"Options for snapshotting the resolving of build dependencies to determine if the build dependencies need to be re-resolved.","type":"object","additionalProperties":false,"properties":{"hash":{"description":"Use hashes of the content of the files/directories to determine invalidation.","type":"boolean"},"timestamp":{"description":"Use timestamps of the files/directories to determine invalidation.","type":"boolean"}}}}},"SourceMapFilename":{"description":"The filename of the SourceMaps for the JavaScript files. They are inside the \'output.path\' directory.","type":"string","absolutePath":false},"SourcePrefix":{"description":"Prefixes every line of the source in the bundle with this string.","type":"string"},"StatsOptions":{"description":"Stats options object.","type":"object","additionalProperties":false,"properties":{"all":{"description":"Fallback value for stats options when an option is not defined (has precedence over local webpack defaults).","type":"boolean"},"assets":{"description":"Add assets information.","type":"boolean"},"assetsSort":{"description":"Sort the assets by that field.","type":"string"},"assetsSpace":{"description":"Space to display assets (groups will be collapsed to fit this space).","type":"number"},"builtAt":{"description":"Add built at time information.","type":"boolean"},"cached":{"description":"Add information about cached (not built) modules (deprecated: use \'cachedModules\' instead).","type":"boolean"},"cachedAssets":{"description":"Show cached assets (setting this to `false` only shows emitted files).","type":"boolean"},"cachedModules":{"description":"Add information about cached (not built) modules.","type":"boolean"},"children":{"description":"Add children information.","type":"boolean"},"chunkGroupAuxiliary":{"description":"Display auxiliary assets in chunk groups.","type":"boolean"},"chunkGroupChildren":{"description":"Display children of chunk groups.","type":"boolean"},"chunkGroupMaxAssets":{"description":"Limit of assets displayed in chunk groups.","type":"number"},"chunkGroups":{"description":"Display all chunk groups with the corresponding bundles.","type":"boolean"},"chunkModules":{"description":"Add built modules information to chunk information.","type":"boolean"},"chunkModulesSpace":{"description":"Space to display chunk modules (groups will be collapsed to fit this space, value is in number of modules/group).","type":"number"},"chunkOrigins":{"description":"Add the origins of chunks and chunk merging info.","type":"boolean"},"chunkRelations":{"description":"Add information about parent, children and sibling chunks to chunk information.","type":"boolean"},"chunks":{"description":"Add chunk information.","type":"boolean"},"chunksSort":{"description":"Sort the chunks by that field.","type":"string"},"colors":{"description":"Enables/Disables colorful output.","anyOf":[{"description":"Enables/Disables colorful output.","type":"boolean"},{"type":"object","additionalProperties":false,"properties":{"bold":{"description":"Custom color for bold text.","type":"string"},"cyan":{"description":"Custom color for cyan text.","type":"string"},"green":{"description":"Custom color for green text.","type":"string"},"magenta":{"description":"Custom color for magenta text.","type":"string"},"red":{"description":"Custom color for red text.","type":"string"},"yellow":{"description":"Custom color for yellow text.","type":"string"}}}]},"context":{"description":"Context directory for request shortening.","type":"string","absolutePath":true},"dependentModules":{"description":"Show chunk modules that are dependencies of other modules of the chunk.","type":"boolean"},"depth":{"description":"Add module depth in module graph.","type":"boolean"},"entrypoints":{"description":"Display the entry points with the corresponding bundles.","anyOf":[{"enum":["auto"]},{"type":"boolean"}]},"env":{"description":"Add --env information.","type":"boolean"},"errorDetails":{"description":"Add details to errors (like resolving log).","anyOf":[{"enum":["auto"]},{"type":"boolean"}]},"errorStack":{"description":"Add internal stack trace to errors.","type":"boolean"},"errors":{"description":"Add errors.","type":"boolean"},"errorsCount":{"description":"Add errors count.","type":"boolean"},"exclude":{"description":"Please use excludeModules instead.","cli":{"exclude":true},"anyOf":[{"type":"boolean"},{"$ref":"#/definitions/ModuleFilterTypes"}]},"excludeAssets":{"description":"Suppress assets that match the specified filters. Filters can be Strings, RegExps or Functions.","oneOf":[{"$ref":"#/definitions/AssetFilterTypes"}]},"excludeModules":{"description":"Suppress modules that match the specified filters. Filters can be Strings, RegExps, Booleans or Functions.","anyOf":[{"type":"boolean"},{"$ref":"#/definitions/ModuleFilterTypes"}]},"groupAssetsByChunk":{"description":"Group assets by how their are related to chunks.","type":"boolean"},"groupAssetsByEmitStatus":{"description":"Group assets by their status (emitted, compared for emit or cached).","type":"boolean"},"groupAssetsByExtension":{"description":"Group assets by their extension.","type":"boolean"},"groupAssetsByInfo":{"description":"Group assets by their asset info (immutable, development, hotModuleReplacement, etc).","type":"boolean"},"groupAssetsByPath":{"description":"Group assets by their path.","type":"boolean"},"groupModulesByAttributes":{"description":"Group modules by their attributes (errors, warnings, assets, optional, orphan, or dependent).","type":"boolean"},"groupModulesByCacheStatus":{"description":"Group modules by their status (cached or built and cacheable).","type":"boolean"},"groupModulesByExtension":{"description":"Group modules by their extension.","type":"boolean"},"groupModulesByLayer":{"description":"Group modules by their layer.","type":"boolean"},"groupModulesByPath":{"description":"Group modules by their path.","type":"boolean"},"groupModulesByType":{"description":"Group modules by their type.","type":"boolean"},"hash":{"description":"Add the hash of the compilation.","type":"boolean"},"ids":{"description":"Add ids.","type":"boolean"},"logging":{"description":"Add logging output.","anyOf":[{"description":"Specify log level of logging output.","enum":["none","error","warn","info","log","verbose"]},{"description":"Enable/disable logging output (`true`: shows normal logging output, loglevel: log).","type":"boolean"}]},"loggingDebug":{"description":"Include debug logging of specified loggers (i. e. for plugins or loaders). Filters can be Strings, RegExps or Functions.","anyOf":[{"description":"Enable/Disable debug logging for all loggers.","type":"boolean"},{"$ref":"#/definitions/FilterTypes"}]},"loggingTrace":{"description":"Add stack traces to logging output.","type":"boolean"},"moduleAssets":{"description":"Add information about assets inside modules.","type":"boolean"},"moduleTrace":{"description":"Add dependencies and origin of warnings/errors.","type":"boolean"},"modules":{"description":"Add built modules information.","type":"boolean"},"modulesSort":{"description":"Sort the modules by that field.","type":"string"},"modulesSpace":{"description":"Space to display modules (groups will be collapsed to fit this space, value is in number of modules/groups).","type":"number"},"nestedModules":{"description":"Add information about modules nested in other modules (like with module concatenation).","type":"boolean"},"nestedModulesSpace":{"description":"Space to display modules nested within other modules (groups will be collapsed to fit this space, value is in number of modules/group).","type":"number"},"optimizationBailout":{"description":"Show reasons why optimization bailed out for modules.","type":"boolean"},"orphanModules":{"description":"Add information about orphan modules.","type":"boolean"},"outputPath":{"description":"Add output path information.","type":"boolean"},"performance":{"description":"Add performance hint flags.","type":"boolean"},"preset":{"description":"Preset for the default values.","anyOf":[{"type":"boolean"},{"type":"string"}]},"providedExports":{"description":"Show exports provided by modules.","type":"boolean"},"publicPath":{"description":"Add public path information.","type":"boolean"},"reasons":{"description":"Add information about the reasons why modules are included.","type":"boolean"},"relatedAssets":{"description":"Add information about assets that are related to other assets (like SourceMaps for assets).","type":"boolean"},"runtime":{"description":"Add information about runtime modules (deprecated: use \'runtimeModules\' instead).","type":"boolean"},"runtimeModules":{"description":"Add information about runtime modules.","type":"boolean"},"source":{"description":"Add the source code of modules.","type":"boolean"},"timings":{"description":"Add timing information.","type":"boolean"},"usedExports":{"description":"Show exports used by modules.","type":"boolean"},"version":{"description":"Add webpack version information.","type":"boolean"},"warnings":{"description":"Add warnings.","type":"boolean"},"warningsCount":{"description":"Add warnings count.","type":"boolean"},"warningsFilter":{"description":"Suppress listing warnings that match the specified filters (they will still be counted). Filters can be Strings, RegExps or Functions.","oneOf":[{"$ref":"#/definitions/WarningFilterTypes"}]}}},"StatsValue":{"description":"Stats options object or preset name.","anyOf":[{"enum":["none","summary","errors-only","errors-warnings","minimal","normal","detailed","verbose"]},{"type":"boolean"},{"$ref":"#/definitions/StatsOptions"}]},"StrictModuleErrorHandling":{"description":"Handles error in module loading correctly at a performance cost. This will handle module error compatible with the EcmaScript Modules spec.","type":"boolean"},"StrictModuleExceptionHandling":{"description":"Handles exceptions in module loading correctly at a performance cost (Deprecated). This will handle module error compatible with the Node.js CommonJS way.","type":"boolean"},"Target":{"description":"Environment to build for. An array of environments to build for all of them when possible.","anyOf":[{"type":"array","items":{"description":"Environment to build for.","type":"string","minLength":1},"minItems":1},{"enum":[false]},{"type":"string","minLength":1}]},"TrustedTypes":{"description":"Use a Trusted Types policy to create urls for chunks.","type":"object","additionalProperties":false,"properties":{"policyName":{"description":"The name of the Trusted Types policy created by webpack to serve bundle chunks.","type":"string","minLength":1}}},"UmdNamedDefine":{"description":"If `output.libraryTarget` is set to umd and `output.library` is set, setting this to true will name the AMD module.","type":"boolean"},"UniqueName":{"description":"A unique name of the webpack build to avoid multiple webpack runtimes to conflict when using globals.","type":"string","minLength":1},"WarningFilterItemTypes":{"description":"Filtering value, regexp or function.","cli":{"helper":true},"anyOf":[{"instanceof":"RegExp","tsType":"RegExp"},{"type":"string","absolutePath":false},{"instanceof":"Function","tsType":"((warning: import(\'../lib/stats/DefaultStatsFactoryPlugin\').StatsError, value: string) => boolean)"}]},"WarningFilterTypes":{"description":"Filtering warnings.","cli":{"helper":true},"anyOf":[{"type":"array","items":{"description":"Rule to filter.","cli":{"helper":true},"oneOf":[{"$ref":"#/definitions/WarningFilterItemTypes"}]}},{"$ref":"#/definitions/WarningFilterItemTypes"}]},"WasmLoading":{"description":"The method of loading WebAssembly Modules (methods included by default are \'fetch\' (web/WebWorker), \'async-node\' (node.js), but others might be added by plugins).","anyOf":[{"enum":[false]},{"$ref":"#/definitions/WasmLoadingType"}]},"WasmLoadingType":{"description":"The method of loading WebAssembly Modules (methods included by default are \'fetch\' (web/WebWorker), \'async-node\' (node.js), but others might be added by plugins).","anyOf":[{"enum":["fetch-streaming","fetch","async-node"]},{"type":"string"}]},"Watch":{"description":"Enter watch mode, which rebuilds on file change.","type":"boolean"},"WatchOptions":{"description":"Options for the watcher.","type":"object","additionalProperties":false,"properties":{"aggregateTimeout":{"description":"Delay the rebuilt after the first change. Value is a time in ms.","type":"number"},"followSymlinks":{"description":"Resolve symlinks and watch symlink and real file. This is usually not needed as webpack already resolves symlinks (\'resolve.symlinks\').","type":"boolean"},"ignored":{"description":"Ignore some files from watching (glob pattern or regexp).","anyOf":[{"type":"array","items":{"description":"A glob pattern for files that should be ignored from watching.","type":"string","minLength":1}},{"instanceof":"RegExp","tsType":"RegExp"},{"description":"A single glob pattern for files that should be ignored from watching.","type":"string","minLength":1}]},"poll":{"description":"Enable polling mode for watching.","anyOf":[{"description":"`number`: use polling with specified interval.","type":"number"},{"description":"`true`: use polling.","type":"boolean"}]},"stdin":{"description":"Stop watching when stdin stream has ended.","type":"boolean"}}},"WebassemblyModuleFilename":{"description":"The filename of WebAssembly modules as relative path inside the \'output.path\' directory.","type":"string","absolutePath":false},"WebpackOptionsNormalized":{"description":"Normalized webpack options object.","type":"object","additionalProperties":false,"properties":{"amd":{"$ref":"#/definitions/Amd"},"bail":{"$ref":"#/definitions/Bail"},"cache":{"$ref":"#/definitions/CacheOptionsNormalized"},"context":{"$ref":"#/definitions/Context"},"dependencies":{"$ref":"#/definitions/Dependencies"},"devServer":{"$ref":"#/definitions/DevServer"},"devtool":{"$ref":"#/definitions/DevTool"},"entry":{"$ref":"#/definitions/EntryNormalized"},"experiments":{"$ref":"#/definitions/Experiments"},"externals":{"$ref":"#/definitions/Externals"},"externalsPresets":{"$ref":"#/definitions/ExternalsPresets"},"externalsType":{"$ref":"#/definitions/ExternalsType"},"ignoreWarnings":{"$ref":"#/definitions/IgnoreWarningsNormalized"},"infrastructureLogging":{"$ref":"#/definitions/InfrastructureLogging"},"loader":{"$ref":"#/definitions/Loader"},"mode":{"$ref":"#/definitions/Mode"},"module":{"$ref":"#/definitions/ModuleOptionsNormalized"},"name":{"$ref":"#/definitions/Name"},"node":{"$ref":"#/definitions/Node"},"optimization":{"$ref":"#/definitions/Optimization"},"output":{"$ref":"#/definitions/OutputNormalized"},"parallelism":{"$ref":"#/definitions/Parallelism"},"performance":{"$ref":"#/definitions/Performance"},"plugins":{"$ref":"#/definitions/Plugins"},"profile":{"$ref":"#/definitions/Profile"},"recordsInputPath":{"$ref":"#/definitions/RecordsInputPath"},"recordsOutputPath":{"$ref":"#/definitions/RecordsOutputPath"},"resolve":{"$ref":"#/definitions/Resolve"},"resolveLoader":{"$ref":"#/definitions/ResolveLoader"},"snapshot":{"$ref":"#/definitions/SnapshotOptions"},"stats":{"$ref":"#/definitions/StatsValue"},"target":{"$ref":"#/definitions/Target"},"watch":{"$ref":"#/definitions/Watch"},"watchOptions":{"$ref":"#/definitions/WatchOptions"}},"required":["cache","snapshot","entry","experiments","externals","externalsPresets","infrastructureLogging","module","node","optimization","output","plugins","resolve","resolveLoader","stats","watchOptions"]},"WebpackPluginFunction":{"description":"Function acting as plugin.","instanceof":"Function","tsType":"(this: import(\'../lib/Compiler\'), compiler: import(\'../lib/Compiler\')) => void"},"WebpackPluginInstance":{"description":"Plugin instance.","type":"object","additionalProperties":true,"properties":{"apply":{"description":"The run point of the plugin, required method.","instanceof":"Function","tsType":"(compiler: import(\'../lib/Compiler\')) => void"}},"required":["apply"]}},"title":"WebpackOptions","description":"Options object as provided by the user.","type":"object","additionalProperties":false,"properties":{"amd":{"$ref":"#/definitions/Amd"},"bail":{"$ref":"#/definitions/Bail"},"cache":{"$ref":"#/definitions/CacheOptions"},"context":{"$ref":"#/definitions/Context"},"dependencies":{"$ref":"#/definitions/Dependencies"},"devServer":{"$ref":"#/definitions/DevServer"},"devtool":{"$ref":"#/definitions/DevTool"},"entry":{"$ref":"#/definitions/Entry"},"experiments":{"$ref":"#/definitions/Experiments"},"externals":{"$ref":"#/definitions/Externals"},"externalsPresets":{"$ref":"#/definitions/ExternalsPresets"},"externalsType":{"$ref":"#/definitions/ExternalsType"},"ignoreWarnings":{"$ref":"#/definitions/IgnoreWarnings"},"infrastructureLogging":{"$ref":"#/definitions/InfrastructureLogging"},"loader":{"$ref":"#/definitions/Loader"},"mode":{"$ref":"#/definitions/Mode"},"module":{"$ref":"#/definitions/ModuleOptions"},"name":{"$ref":"#/definitions/Name"},"node":{"$ref":"#/definitions/Node"},"optimization":{"$ref":"#/definitions/Optimization"},"output":{"$ref":"#/definitions/Output"},"parallelism":{"$ref":"#/definitions/Parallelism"},"performance":{"$ref":"#/definitions/Performance"},"plugins":{"$ref":"#/definitions/Plugins"},"profile":{"$ref":"#/definitions/Profile"},"recordsInputPath":{"$ref":"#/definitions/RecordsInputPath"},"recordsOutputPath":{"$ref":"#/definitions/RecordsOutputPath"},"recordsPath":{"$ref":"#/definitions/RecordsPath"},"resolve":{"$ref":"#/definitions/Resolve"},"resolveLoader":{"$ref":"#/definitions/ResolveLoader"},"snapshot":{"$ref":"#/definitions/SnapshotOptions"},"stats":{"$ref":"#/definitions/StatsValue"},"target":{"$ref":"#/definitions/Target"},"watch":{"$ref":"#/definitions/Watch"},"watchOptions":{"$ref":"#/definitions/WatchOptions"}}}')},4837:S=>{"use strict";S.exports=JSON.parse('{"definitions":{"BannerFunction":{"description":"The banner as function, it will be wrapped in a comment.","instanceof":"Function","tsType":"(data: { hash: string, chunk: import(\'../../lib/Chunk\'), filename: string }) => string"},"Rule":{"description":"Filtering rule as regex or string.","anyOf":[{"instanceof":"RegExp","tsType":"RegExp"},{"type":"string","minLength":1}]},"Rules":{"description":"Filtering rules.","anyOf":[{"type":"array","items":{"description":"A rule condition.","oneOf":[{"$ref":"#/definitions/Rule"}]}},{"$ref":"#/definitions/Rule"}]}},"title":"BannerPluginArgument","anyOf":[{"description":"The banner as string, it will be wrapped in a comment.","type":"string","minLength":1},{"title":"BannerPluginOptions","type":"object","additionalProperties":false,"properties":{"banner":{"description":"Specifies the banner.","anyOf":[{"type":"string"},{"$ref":"#/definitions/BannerFunction"}]},"entryOnly":{"description":"If true, the banner will only be added to the entry chunks.","type":"boolean"},"exclude":{"description":"Exclude all modules matching any of these conditions.","oneOf":[{"$ref":"#/definitions/Rules"}]},"include":{"description":"Include all modules matching any of these conditions.","oneOf":[{"$ref":"#/definitions/Rules"}]},"raw":{"description":"If true, banner will not be wrapped in a comment.","type":"boolean"},"test":{"description":"Include all modules that pass test assertion.","oneOf":[{"$ref":"#/definitions/Rules"}]}},"required":["banner"]},{"$ref":"#/definitions/BannerFunction"}]}')},39670:S=>{"use strict";S.exports=JSON.parse('{"title":"DllPluginOptions","type":"object","additionalProperties":false,"properties":{"context":{"description":"Context of requests in the manifest file (defaults to the webpack context).","type":"string","minLength":1},"entryOnly":{"description":"If true, only entry points will be exposed (default: true).","type":"boolean"},"format":{"description":"If true, manifest json file (output) will be formatted.","type":"boolean"},"name":{"description":"Name of the exposed dll function (external name, use value of \'output.library\').","type":"string","minLength":1},"path":{"description":"Absolute path to the manifest json file (output).","type":"string","minLength":1},"type":{"description":"Type of the dll bundle (external type, use value of \'output.libraryTarget\').","type":"string","minLength":1}},"required":["path"]}')},53670:S=>{"use strict";S.exports=JSON.parse('{"definitions":{"DllReferencePluginOptionsContent":{"description":"The mappings from request to module info.","type":"object","additionalProperties":{"description":"Module info.","type":"object","additionalProperties":false,"properties":{"buildMeta":{"description":"Meta information about the module.","type":"object"},"exports":{"description":"Information about the provided exports of the module.","anyOf":[{"description":"List of provided exports of the module.","type":"array","items":{"description":"Name of the export.","type":"string","minLength":1}},{"description":"Exports unknown/dynamic.","enum":[true]}]},"id":{"description":"Module ID.","anyOf":[{"type":"number"},{"type":"string","minLength":1}]}},"required":["id"]},"minProperties":1},"DllReferencePluginOptionsManifest":{"description":"An object containing content, name and type.","type":"object","additionalProperties":false,"properties":{"content":{"description":"The mappings from request to module info.","oneOf":[{"$ref":"#/definitions/DllReferencePluginOptionsContent"}]},"name":{"description":"The name where the dll is exposed (external name).","type":"string","minLength":1},"type":{"description":"The type how the dll is exposed (external type).","oneOf":[{"$ref":"#/definitions/DllReferencePluginOptionsSourceType"}]}},"required":["content"]},"DllReferencePluginOptionsSourceType":{"description":"The type how the dll is exposed (external type).","enum":["var","assign","this","window","global","commonjs","commonjs2","commonjs-module","amd","amd-require","umd","umd2","jsonp","system"]}},"title":"DllReferencePluginOptions","anyOf":[{"type":"object","additionalProperties":false,"properties":{"context":{"description":"Context of requests in the manifest (or content property) as absolute path.","type":"string","absolutePath":true},"extensions":{"description":"Extensions used to resolve modules in the dll bundle (only used when using \'scope\').","type":"array","items":{"description":"An extension.","type":"string"}},"manifest":{"description":"An object containing content and name or a string to the absolute path of the JSON manifest to be loaded upon compilation.","anyOf":[{"type":"string","absolutePath":true},{"$ref":"#/definitions/DllReferencePluginOptionsManifest"}]},"name":{"description":"The name where the dll is exposed (external name, defaults to manifest.name).","type":"string","minLength":1},"scope":{"description":"Prefix which is used for accessing the content of the dll.","type":"string","minLength":1},"sourceType":{"description":"How the dll is exposed (libraryTarget, defaults to manifest.type).","oneOf":[{"$ref":"#/definitions/DllReferencePluginOptionsSourceType"}]},"type":{"description":"The way how the export of the dll bundle is used.","enum":["require","object"]}},"required":["manifest"]},{"type":"object","additionalProperties":false,"properties":{"content":{"description":"The mappings from request to module info.","oneOf":[{"$ref":"#/definitions/DllReferencePluginOptionsContent"}]},"context":{"description":"Context of requests in the manifest (or content property) as absolute path.","type":"string","absolutePath":true},"extensions":{"description":"Extensions used to resolve modules in the dll bundle (only used when using \'scope\').","type":"array","items":{"description":"An extension.","type":"string"}},"name":{"description":"The name where the dll is exposed (external name).","type":"string","minLength":1},"scope":{"description":"Prefix which is used for accessing the content of the dll.","type":"string","minLength":1},"sourceType":{"description":"How the dll is exposed (libraryTarget).","oneOf":[{"$ref":"#/definitions/DllReferencePluginOptionsSourceType"}]},"type":{"description":"The way how the export of the dll bundle is used.","enum":["require","object"]}},"required":["content","name"]}]}')},1842:S=>{"use strict";S.exports=JSON.parse('{"title":"HashedModuleIdsPluginOptions","type":"object","additionalProperties":false,"properties":{"context":{"description":"The context directory for creating names.","type":"string","absolutePath":true},"hashDigest":{"description":"The encoding to use when generating the hash, defaults to \'base64\'. All encodings from Node.JS\' hash.digest are supported.","enum":["hex","latin1","base64"]},"hashDigestLength":{"description":"The prefix length of the hash digest to use, defaults to 4.","type":"number","minimum":1},"hashFunction":{"description":"The hashing algorithm to use, defaults to \'md4\'. All functions from Node.JS\' crypto.createHash are supported.","type":"string","minLength":1}}}')},24019:S=>{"use strict";S.exports=JSON.parse('{"title":"IgnorePluginOptions","anyOf":[{"type":"object","additionalProperties":false,"properties":{"contextRegExp":{"description":"A RegExp to test the context (directory) against.","instanceof":"RegExp","tsType":"RegExp"},"resourceRegExp":{"description":"A RegExp to test the request against.","instanceof":"RegExp","tsType":"RegExp"}}},{"type":"object","additionalProperties":false,"properties":{"checkResource":{"description":"A filter function for resource and context.","instanceof":"Function","tsType":"((resource: string, context: string) => boolean)"}}}]}')},18496:S=>{"use strict";S.exports=JSON.parse('{"title":"JsonModulesPluginParserOptions","type":"object","additionalProperties":false,"properties":{"parse":{"description":"Function that executes for a module source string and should return json-compatible data.","instanceof":"Function","tsType":"((input: string) => any)"}}}')},6087:S=>{"use strict";S.exports=JSON.parse('{"title":"LoaderOptionsPluginOptions","type":"object","additionalProperties":true,"properties":{"debug":{"description":"Whether loaders should be in debug mode or not. debug will be removed as of webpack 3.","type":"boolean"},"minimize":{"description":"Where loaders can be switched to minimize mode.","type":"boolean"},"options":{"description":"A configuration object that can be used to configure older loaders.","type":"object","additionalProperties":true,"properties":{"context":{"description":"The context that can be used to configure older loaders.","type":"string","absolutePath":true}}}}}')},78760:S=>{"use strict";S.exports=JSON.parse('{"definitions":{"HandlerFunction":{"description":"Function that executes for every progress step.","instanceof":"Function","tsType":"((percentage: number, msg: string, ...args: string[]) => void)"},"ProgressPluginOptions":{"description":"Options object for the ProgressPlugin.","type":"object","additionalProperties":false,"properties":{"activeModules":{"description":"Show active modules count and one active module in progress message.","type":"boolean"},"dependencies":{"description":"Show dependencies count in progress message.","type":"boolean"},"dependenciesCount":{"description":"Minimum dependencies count to start with. For better progress calculation. Default: 10000.","type":"number"},"entries":{"description":"Show entries count in progress message.","type":"boolean"},"handler":{"description":"Function that executes for every progress step.","oneOf":[{"$ref":"#/definitions/HandlerFunction"}]},"modules":{"description":"Show modules count in progress message.","type":"boolean"},"modulesCount":{"description":"Minimum modules count to start with. For better progress calculation. Default: 5000.","type":"number"},"percentBy":{"description":"Collect percent algorithm. By default it calculates by a median from modules, entries and dependencies percent.","enum":["entries","modules","dependencies",null]},"profile":{"description":"Collect profile data for progress steps. Default: false.","enum":[true,false,null]}}}},"title":"ProgressPluginArgument","anyOf":[{"$ref":"#/definitions/ProgressPluginOptions"},{"$ref":"#/definitions/HandlerFunction"}]}')},82037:S=>{"use strict";S.exports=JSON.parse('{"definitions":{"rule":{"description":"Include source maps for modules based on their extension (defaults to .js and .css).","anyOf":[{"instanceof":"RegExp","tsType":"RegExp"},{"type":"string","minLength":1}]},"rules":{"description":"Include source maps for modules based on their extension (defaults to .js and .css).","anyOf":[{"type":"array","items":{"description":"A rule condition.","oneOf":[{"$ref":"#/definitions/rule"}]}},{"$ref":"#/definitions/rule"}]}},"title":"SourceMapDevToolPluginOptions","type":"object","additionalProperties":false,"properties":{"append":{"description":"Appends the given value to the original asset. Usually the #sourceMappingURL comment. [url] is replaced with a URL to the source map file. false disables the appending.","anyOf":[{"description":"Append no SourceMap comment to the bundle, but still generate SourceMaps.","enum":[false,null]},{"type":"string","minLength":1}]},"columns":{"description":"Indicates whether column mappings should be used (defaults to true).","type":"boolean"},"exclude":{"description":"Exclude modules that match the given value from source map generation.","oneOf":[{"$ref":"#/definitions/rules"}]},"fallbackModuleFilenameTemplate":{"description":"Generator string or function to create identifiers of modules for the \'sources\' array in the SourceMap used only if \'moduleFilenameTemplate\' would result in a conflict.","anyOf":[{"type":"string","minLength":1},{"description":"Custom function generating the identifier.","instanceof":"Function","tsType":"Function"}]},"fileContext":{"description":"Path prefix to which the [file] placeholder is relative to.","type":"string"},"filename":{"description":"Defines the output filename of the SourceMap (will be inlined if no value is provided).","anyOf":[{"description":"Disable separate SourceMap file and inline SourceMap as DataUrl.","enum":[false,null]},{"type":"string","absolutePath":false,"minLength":1}]},"include":{"description":"Include source maps for module paths that match the given value.","oneOf":[{"$ref":"#/definitions/rules"}]},"module":{"description":"Indicates whether SourceMaps from loaders should be used (defaults to true).","type":"boolean"},"moduleFilenameTemplate":{"description":"Generator string or function to create identifiers of modules for the \'sources\' array in the SourceMap.","anyOf":[{"type":"string","minLength":1},{"description":"Custom function generating the identifier.","instanceof":"Function","tsType":"Function"}]},"namespace":{"description":"Namespace prefix to allow multiple webpack roots in the devtools.","type":"string"},"noSources":{"description":"Omit the \'sourceContents\' array from the SourceMap.","type":"boolean"},"publicPath":{"description":"Provide a custom public path for the SourceMapping comment.","type":"string"},"sourceRoot":{"description":"Provide a custom value for the \'sourceRoot\' property in the SourceMap.","type":"string"},"test":{"$ref":"#/definitions/rules"}}}')},82997:S=>{"use strict";S.exports=JSON.parse('{"title":"WatchIgnorePluginOptions","type":"object","additionalProperties":false,"properties":{"paths":{"description":"A list of RegExps or absolute paths to directories or files that should be ignored.","type":"array","items":{"description":"RegExp or absolute path to directories or files that should be ignored.","anyOf":[{"instanceof":"RegExp","tsType":"RegExp"},{"type":"string"}]},"minItems":1}},"required":["paths"]}')},19593:S=>{"use strict";S.exports=JSON.parse('{"definitions":{"AuxiliaryComment":{"description":"Add a comment in the UMD wrapper.","anyOf":[{"description":"Append the same comment above each import style.","type":"string"},{"$ref":"#/definitions/LibraryCustomUmdCommentObject"}]},"EntryRuntime":{"description":"The name of the runtime chunk. If set a runtime chunk with this name is created or an existing entrypoint is used as runtime.","anyOf":[{"enum":[false]},{"type":"string","minLength":1}]},"Exposes":{"description":"Modules that should be exposed by this container. When provided, property name is used as public name, otherwise public name is automatically inferred from request.","anyOf":[{"type":"array","items":{"description":"Modules that should be exposed by this container.","anyOf":[{"$ref":"#/definitions/ExposesItem"},{"$ref":"#/definitions/ExposesObject"}]}},{"$ref":"#/definitions/ExposesObject"}]},"ExposesConfig":{"description":"Advanced configuration for modules that should be exposed by this container.","type":"object","additionalProperties":false,"properties":{"import":{"description":"Request to a module that should be exposed by this container.","anyOf":[{"$ref":"#/definitions/ExposesItem"},{"$ref":"#/definitions/ExposesItems"}]},"name":{"description":"Custom chunk name for the exposed module.","type":"string"}},"required":["import"]},"ExposesItem":{"description":"Module that should be exposed by this container.","type":"string","minLength":1},"ExposesItems":{"description":"Modules that should be exposed by this container.","type":"array","items":{"$ref":"#/definitions/ExposesItem"}},"ExposesObject":{"description":"Modules that should be exposed by this container. Property names are used as public paths.","type":"object","additionalProperties":{"description":"Modules that should be exposed by this container.","anyOf":[{"$ref":"#/definitions/ExposesConfig"},{"$ref":"#/definitions/ExposesItem"},{"$ref":"#/definitions/ExposesItems"}]}},"LibraryCustomUmdCommentObject":{"description":"Set explicit comments for `commonjs`, `commonjs2`, `amd`, and `root`.","type":"object","additionalProperties":false,"properties":{"amd":{"description":"Set comment for `amd` section in UMD.","type":"string"},"commonjs":{"description":"Set comment for `commonjs` (exports) section in UMD.","type":"string"},"commonjs2":{"description":"Set comment for `commonjs2` (module.exports) section in UMD.","type":"string"},"root":{"description":"Set comment for `root` (global variable) section in UMD.","type":"string"}}},"LibraryCustomUmdObject":{"description":"Description object for all UMD variants of the library name.","type":"object","additionalProperties":false,"properties":{"amd":{"description":"Name of the exposed AMD library in the UMD.","type":"string","minLength":1},"commonjs":{"description":"Name of the exposed commonjs export in the UMD.","type":"string","minLength":1},"root":{"description":"Name of the property exposed globally by a UMD library.","anyOf":[{"type":"array","items":{"description":"Part of the name of the property exposed globally by a UMD library.","type":"string","minLength":1}},{"type":"string","minLength":1}]}}},"LibraryExport":{"description":"Specify which export should be exposed as library.","anyOf":[{"type":"array","items":{"description":"Part of the export that should be exposed as library.","type":"string","minLength":1}},{"type":"string","minLength":1}]},"LibraryName":{"description":"The name of the library (some types allow unnamed libraries too).","anyOf":[{"type":"array","items":{"description":"A part of the library name.","type":"string","minLength":1},"minItems":1},{"type":"string","minLength":1},{"$ref":"#/definitions/LibraryCustomUmdObject"}]},"LibraryOptions":{"description":"Options for library.","type":"object","additionalProperties":false,"properties":{"auxiliaryComment":{"$ref":"#/definitions/AuxiliaryComment"},"export":{"$ref":"#/definitions/LibraryExport"},"name":{"$ref":"#/definitions/LibraryName"},"type":{"$ref":"#/definitions/LibraryType"},"umdNamedDefine":{"$ref":"#/definitions/UmdNamedDefine"}},"required":["type"]},"LibraryType":{"description":"Type of library (types included by default are \'var\', \'module\', \'assign\', \'assign-properties\', \'this\', \'window\', \'self\', \'global\', \'commonjs\', \'commonjs2\', \'commonjs-module\', \'amd\', \'amd-require\', \'umd\', \'umd2\', \'jsonp\', \'system\', but others might be added by plugins).","anyOf":[{"enum":["var","module","assign","assign-properties","this","window","self","global","commonjs","commonjs2","commonjs-module","amd","amd-require","umd","umd2","jsonp","system"]},{"type":"string"}]},"UmdNamedDefine":{"description":"If `output.libraryTarget` is set to umd and `output.library` is set, setting this to true will name the AMD module.","type":"boolean"}},"title":"ContainerPluginOptions","type":"object","additionalProperties":false,"properties":{"exposes":{"$ref":"#/definitions/Exposes"},"filename":{"description":"The filename for this container relative path inside the `output.path` directory.","type":"string","absolutePath":false,"minLength":1},"library":{"$ref":"#/definitions/LibraryOptions"},"name":{"description":"The name for this container.","type":"string","minLength":1},"runtime":{"$ref":"#/definitions/EntryRuntime"},"shareScope":{"description":"The name of the share scope which is shared with the host (defaults to \'default\').","type":"string","minLength":1}},"required":["name","exposes"]}')},39101:S=>{"use strict";S.exports=JSON.parse('{"definitions":{"ExternalsType":{"description":"Specifies the default type of externals (\'amd*\', \'umd*\', \'system\' and \'jsonp\' depend on output.libraryTarget set to the same value).","enum":["var","module","assign","this","window","self","global","commonjs","commonjs2","commonjs-module","amd","amd-require","umd","umd2","jsonp","system","promise","import","script","node-commonjs"]},"Remotes":{"description":"Container locations and request scopes from which modules should be resolved and loaded at runtime. When provided, property name is used as request scope, otherwise request scope is automatically inferred from container location.","anyOf":[{"type":"array","items":{"description":"Container locations and request scopes from which modules should be resolved and loaded at runtime.","anyOf":[{"$ref":"#/definitions/RemotesItem"},{"$ref":"#/definitions/RemotesObject"}]}},{"$ref":"#/definitions/RemotesObject"}]},"RemotesConfig":{"description":"Advanced configuration for container locations from which modules should be resolved and loaded at runtime.","type":"object","additionalProperties":false,"properties":{"external":{"description":"Container locations from which modules should be resolved and loaded at runtime.","anyOf":[{"$ref":"#/definitions/RemotesItem"},{"$ref":"#/definitions/RemotesItems"}]},"shareScope":{"description":"The name of the share scope shared with this remote.","type":"string","minLength":1}},"required":["external"]},"RemotesItem":{"description":"Container location from which modules should be resolved and loaded at runtime.","type":"string","minLength":1},"RemotesItems":{"description":"Container locations from which modules should be resolved and loaded at runtime.","type":"array","items":{"$ref":"#/definitions/RemotesItem"}},"RemotesObject":{"description":"Container locations from which modules should be resolved and loaded at runtime. Property names are used as request scopes.","type":"object","additionalProperties":{"description":"Container locations from which modules should be resolved and loaded at runtime.","anyOf":[{"$ref":"#/definitions/RemotesConfig"},{"$ref":"#/definitions/RemotesItem"},{"$ref":"#/definitions/RemotesItems"}]}}},"title":"ContainerReferencePluginOptions","type":"object","additionalProperties":false,"properties":{"remoteType":{"description":"The external type of the remote containers.","oneOf":[{"$ref":"#/definitions/ExternalsType"}]},"remotes":{"$ref":"#/definitions/Remotes"},"shareScope":{"description":"The name of the share scope shared with all remotes (defaults to \'default\').","type":"string","minLength":1}},"required":["remoteType","remotes"]}')},7265:S=>{"use strict";S.exports=JSON.parse('{"definitions":{"AuxiliaryComment":{"description":"Add a comment in the UMD wrapper.","anyOf":[{"description":"Append the same comment above each import style.","type":"string"},{"$ref":"#/definitions/LibraryCustomUmdCommentObject"}]},"EntryRuntime":{"description":"The name of the runtime chunk. If set a runtime chunk with this name is created or an existing entrypoint is used as runtime.","anyOf":[{"enum":[false]},{"type":"string","minLength":1}]},"Exposes":{"description":"Modules that should be exposed by this container. When provided, property name is used as public name, otherwise public name is automatically inferred from request.","anyOf":[{"type":"array","items":{"description":"Modules that should be exposed by this container.","anyOf":[{"$ref":"#/definitions/ExposesItem"},{"$ref":"#/definitions/ExposesObject"}]}},{"$ref":"#/definitions/ExposesObject"}]},"ExposesConfig":{"description":"Advanced configuration for modules that should be exposed by this container.","type":"object","additionalProperties":false,"properties":{"import":{"description":"Request to a module that should be exposed by this container.","anyOf":[{"$ref":"#/definitions/ExposesItem"},{"$ref":"#/definitions/ExposesItems"}]},"name":{"description":"Custom chunk name for the exposed module.","type":"string"}},"required":["import"]},"ExposesItem":{"description":"Module that should be exposed by this container.","type":"string","minLength":1},"ExposesItems":{"description":"Modules that should be exposed by this container.","type":"array","items":{"$ref":"#/definitions/ExposesItem"}},"ExposesObject":{"description":"Modules that should be exposed by this container. Property names are used as public paths.","type":"object","additionalProperties":{"description":"Modules that should be exposed by this container.","anyOf":[{"$ref":"#/definitions/ExposesConfig"},{"$ref":"#/definitions/ExposesItem"},{"$ref":"#/definitions/ExposesItems"}]}},"ExternalsType":{"description":"Specifies the default type of externals (\'amd*\', \'umd*\', \'system\' and \'jsonp\' depend on output.libraryTarget set to the same value).","enum":["var","module","assign","this","window","self","global","commonjs","commonjs2","commonjs-module","amd","amd-require","umd","umd2","jsonp","system","promise","import","script","node-commonjs"]},"LibraryCustomUmdCommentObject":{"description":"Set explicit comments for `commonjs`, `commonjs2`, `amd`, and `root`.","type":"object","additionalProperties":false,"properties":{"amd":{"description":"Set comment for `amd` section in UMD.","type":"string"},"commonjs":{"description":"Set comment for `commonjs` (exports) section in UMD.","type":"string"},"commonjs2":{"description":"Set comment for `commonjs2` (module.exports) section in UMD.","type":"string"},"root":{"description":"Set comment for `root` (global variable) section in UMD.","type":"string"}}},"LibraryCustomUmdObject":{"description":"Description object for all UMD variants of the library name.","type":"object","additionalProperties":false,"properties":{"amd":{"description":"Name of the exposed AMD library in the UMD.","type":"string","minLength":1},"commonjs":{"description":"Name of the exposed commonjs export in the UMD.","type":"string","minLength":1},"root":{"description":"Name of the property exposed globally by a UMD library.","anyOf":[{"type":"array","items":{"description":"Part of the name of the property exposed globally by a UMD library.","type":"string","minLength":1}},{"type":"string","minLength":1}]}}},"LibraryExport":{"description":"Specify which export should be exposed as library.","anyOf":[{"type":"array","items":{"description":"Part of the export that should be exposed as library.","type":"string","minLength":1}},{"type":"string","minLength":1}]},"LibraryName":{"description":"The name of the library (some types allow unnamed libraries too).","anyOf":[{"type":"array","items":{"description":"A part of the library name.","type":"string","minLength":1},"minItems":1},{"type":"string","minLength":1},{"$ref":"#/definitions/LibraryCustomUmdObject"}]},"LibraryOptions":{"description":"Options for library.","type":"object","additionalProperties":false,"properties":{"auxiliaryComment":{"$ref":"#/definitions/AuxiliaryComment"},"export":{"$ref":"#/definitions/LibraryExport"},"name":{"$ref":"#/definitions/LibraryName"},"type":{"$ref":"#/definitions/LibraryType"},"umdNamedDefine":{"$ref":"#/definitions/UmdNamedDefine"}},"required":["type"]},"LibraryType":{"description":"Type of library (types included by default are \'var\', \'module\', \'assign\', \'assign-properties\', \'this\', \'window\', \'self\', \'global\', \'commonjs\', \'commonjs2\', \'commonjs-module\', \'amd\', \'amd-require\', \'umd\', \'umd2\', \'jsonp\', \'system\', but others might be added by plugins).","anyOf":[{"enum":["var","module","assign","assign-properties","this","window","self","global","commonjs","commonjs2","commonjs-module","amd","amd-require","umd","umd2","jsonp","system"]},{"type":"string"}]},"Remotes":{"description":"Container locations and request scopes from which modules should be resolved and loaded at runtime. When provided, property name is used as request scope, otherwise request scope is automatically inferred from container location.","anyOf":[{"type":"array","items":{"description":"Container locations and request scopes from which modules should be resolved and loaded at runtime.","anyOf":[{"$ref":"#/definitions/RemotesItem"},{"$ref":"#/definitions/RemotesObject"}]}},{"$ref":"#/definitions/RemotesObject"}]},"RemotesConfig":{"description":"Advanced configuration for container locations from which modules should be resolved and loaded at runtime.","type":"object","additionalProperties":false,"properties":{"external":{"description":"Container locations from which modules should be resolved and loaded at runtime.","anyOf":[{"$ref":"#/definitions/RemotesItem"},{"$ref":"#/definitions/RemotesItems"}]},"shareScope":{"description":"The name of the share scope shared with this remote.","type":"string","minLength":1}},"required":["external"]},"RemotesItem":{"description":"Container location from which modules should be resolved and loaded at runtime.","type":"string","minLength":1},"RemotesItems":{"description":"Container locations from which modules should be resolved and loaded at runtime.","type":"array","items":{"$ref":"#/definitions/RemotesItem"}},"RemotesObject":{"description":"Container locations from which modules should be resolved and loaded at runtime. Property names are used as request scopes.","type":"object","additionalProperties":{"description":"Container locations from which modules should be resolved and loaded at runtime.","anyOf":[{"$ref":"#/definitions/RemotesConfig"},{"$ref":"#/definitions/RemotesItem"},{"$ref":"#/definitions/RemotesItems"}]}},"Shared":{"description":"Modules that should be shared in the share scope. When provided, property names are used to match requested modules in this compilation.","anyOf":[{"type":"array","items":{"description":"Modules that should be shared in the share scope.","anyOf":[{"$ref":"#/definitions/SharedItem"},{"$ref":"#/definitions/SharedObject"}]}},{"$ref":"#/definitions/SharedObject"}]},"SharedConfig":{"description":"Advanced configuration for modules that should be shared in the share scope.","type":"object","additionalProperties":false,"properties":{"eager":{"description":"Include the provided and fallback module directly instead behind an async request. This allows to use this shared module in initial load too. All possible shared modules need to be eager too.","type":"boolean"},"import":{"description":"Provided module that should be provided to share scope. Also acts as fallback module if no shared module is found in share scope or version isn\'t valid. Defaults to the property name.","anyOf":[{"description":"No provided or fallback module.","enum":[false]},{"$ref":"#/definitions/SharedItem"}]},"packageName":{"description":"Package name to determine required version from description file. This is only needed when package name can\'t be automatically determined from request.","type":"string","minLength":1},"requiredVersion":{"description":"Version requirement from module in share scope.","anyOf":[{"description":"No version requirement check.","enum":[false]},{"description":"Version as string. Can be prefixed with \'^\' or \'~\' for minimum matches. Each part of the version should be separated by a dot \'.\'.","type":"string"}]},"shareKey":{"description":"Module is looked up under this key from the share scope.","type":"string","minLength":1},"shareScope":{"description":"Share scope name.","type":"string","minLength":1},"singleton":{"description":"Allow only a single version of the shared module in share scope (disabled by default).","type":"boolean"},"strictVersion":{"description":"Do not accept shared module if version is not valid (defaults to yes, if local fallback module is available and shared module is not a singleton, otherwise no, has no effect if there is no required version specified).","type":"boolean"},"version":{"description":"Version of the provided module. Will replace lower matching versions, but not higher.","anyOf":[{"description":"Don\'t provide a version.","enum":[false]},{"description":"Version as string. Each part of the version should be separated by a dot \'.\'.","type":"string"}]}}},"SharedItem":{"description":"A module that should be shared in the share scope.","type":"string","minLength":1},"SharedObject":{"description":"Modules that should be shared in the share scope. Property names are used to match requested modules in this compilation. Relative requests are resolved, module requests are matched unresolved, absolute paths will match resolved requests. A trailing slash will match all requests with this prefix. In this case shareKey must also have a trailing slash.","type":"object","additionalProperties":{"description":"Modules that should be shared in the share scope.","anyOf":[{"$ref":"#/definitions/SharedConfig"},{"$ref":"#/definitions/SharedItem"}]}},"UmdNamedDefine":{"description":"If `output.libraryTarget` is set to umd and `output.library` is set, setting this to true will name the AMD module.","type":"boolean"}},"title":"ModuleFederationPluginOptions","type":"object","additionalProperties":false,"properties":{"exposes":{"$ref":"#/definitions/Exposes"},"filename":{"description":"The filename of the container as relative path inside the `output.path` directory.","type":"string","absolutePath":false},"library":{"$ref":"#/definitions/LibraryOptions"},"name":{"description":"The name of the container.","type":"string"},"remoteType":{"description":"The external type of the remote containers.","oneOf":[{"$ref":"#/definitions/ExternalsType"}]},"remotes":{"$ref":"#/definitions/Remotes"},"runtime":{"$ref":"#/definitions/EntryRuntime"},"shareScope":{"description":"Share scope name used for all shared modules (defaults to \'default\').","type":"string","minLength":1},"shared":{"$ref":"#/definitions/Shared"}}}')},8462:S=>{"use strict";S.exports=JSON.parse('{"title":"ProfilingPluginOptions","type":"object","additionalProperties":false,"properties":{"outputPath":{"description":"Path to the output file e.g. `path.resolve(__dirname, \'profiling/events.json\')`. Defaults to `events.json`.","type":"string","absolutePath":true}}}')},66451:S=>{"use strict";S.exports=JSON.parse('{"title":"OccurrenceChunkIdsPluginOptions","type":"object","additionalProperties":false,"properties":{"prioritiseInitial":{"description":"Prioritise initial size over total size.","type":"boolean"}}}')},25049:S=>{"use strict";S.exports=JSON.parse('{"title":"OccurrenceModuleIdsPluginOptions","type":"object","additionalProperties":false,"properties":{"prioritiseInitial":{"description":"Prioritise initial size over total size.","type":"boolean"}}}')},69127:S=>{"use strict";S.exports=JSON.parse('{"title":"AggressiveSplittingPluginOptions","type":"object","additionalProperties":false,"properties":{"chunkOverhead":{"description":"Extra cost for each chunk (Default: 9.8kiB).","type":"number"},"entryChunkMultiplicator":{"description":"Extra cost multiplicator for entry chunks (Default: 10).","type":"number"},"maxSize":{"description":"Byte, max size of per file (Default: 50kiB).","type":"number"},"minSize":{"description":"Byte, split point. (Default: 30kiB).","type":"number"}}}')},97350:S=>{"use strict";S.exports=JSON.parse('{"title":"LimitChunkCountPluginOptions","type":"object","additionalProperties":false,"properties":{"chunkOverhead":{"description":"Constant overhead for a chunk.","type":"number"},"entryChunkMultiplicator":{"description":"Multiplicator for initial chunks.","type":"number"},"maxChunks":{"description":"Limit the maximum number of chunks using a value greater greater than or equal to 1.","type":"number","minimum":1}},"required":["maxChunks"]}')},84796:S=>{"use strict";S.exports=JSON.parse('{"title":"MinChunkSizePluginOptions","type":"object","additionalProperties":false,"properties":{"chunkOverhead":{"description":"Constant overhead for a chunk.","type":"number"},"entryChunkMultiplicator":{"description":"Multiplicator for initial chunks.","type":"number"},"minChunkSize":{"description":"Minimum number of characters.","type":"number"}},"required":["minChunkSize"]}')},16308:S=>{"use strict";S.exports=JSON.parse('{"definitions":{"Consumes":{"description":"Modules that should be consumed from share scope. When provided, property names are used to match requested modules in this compilation.","anyOf":[{"type":"array","items":{"description":"Modules that should be consumed from share scope.","anyOf":[{"$ref":"#/definitions/ConsumesItem"},{"$ref":"#/definitions/ConsumesObject"}]}},{"$ref":"#/definitions/ConsumesObject"}]},"ConsumesConfig":{"description":"Advanced configuration for modules that should be consumed from share scope.","type":"object","additionalProperties":false,"properties":{"eager":{"description":"Include the fallback module directly instead behind an async request. This allows to use fallback module in initial load too. All possible shared modules need to be eager too.","type":"boolean"},"import":{"description":"Fallback module if no shared module is found in share scope. Defaults to the property name.","anyOf":[{"description":"No fallback module.","enum":[false]},{"$ref":"#/definitions/ConsumesItem"}]},"packageName":{"description":"Package name to determine required version from description file. This is only needed when package name can\'t be automatically determined from request.","type":"string","minLength":1},"requiredVersion":{"description":"Version requirement from module in share scope.","anyOf":[{"description":"No version requirement check.","enum":[false]},{"description":"Version as string. Can be prefixed with \'^\' or \'~\' for minimum matches. Each part of the version should be separated by a dot \'.\'.","type":"string"}]},"shareKey":{"description":"Module is looked up under this key from the share scope.","type":"string","minLength":1},"shareScope":{"description":"Share scope name.","type":"string","minLength":1},"singleton":{"description":"Allow only a single version of the shared module in share scope (disabled by default).","type":"boolean"},"strictVersion":{"description":"Do not accept shared module if version is not valid (defaults to yes, if local fallback module is available and shared module is not a singleton, otherwise no, has no effect if there is no required version specified).","type":"boolean"}}},"ConsumesItem":{"description":"A module that should be consumed from share scope.","type":"string","minLength":1},"ConsumesObject":{"description":"Modules that should be consumed from share scope. Property names are used to match requested modules in this compilation. Relative requests are resolved, module requests are matched unresolved, absolute paths will match resolved requests. A trailing slash will match all requests with this prefix. In this case shareKey must also have a trailing slash.","type":"object","additionalProperties":{"description":"Modules that should be consumed from share scope.","anyOf":[{"$ref":"#/definitions/ConsumesConfig"},{"$ref":"#/definitions/ConsumesItem"}]}}},"title":"ConsumeSharedPluginOptions","description":"Options for consuming shared modules.","type":"object","additionalProperties":false,"properties":{"consumes":{"$ref":"#/definitions/Consumes"},"shareScope":{"description":"Share scope name used for all consumed modules (defaults to \'default\').","type":"string","minLength":1}},"required":["consumes"]}')},23288:S=>{"use strict";S.exports=JSON.parse('{"definitions":{"Provides":{"description":"Modules that should be provided as shared modules to the share scope. When provided, property name is used to match modules, otherwise this is automatically inferred from share key.","anyOf":[{"type":"array","items":{"description":"Modules that should be provided as shared modules to the share scope.","anyOf":[{"$ref":"#/definitions/ProvidesItem"},{"$ref":"#/definitions/ProvidesObject"}]}},{"$ref":"#/definitions/ProvidesObject"}]},"ProvidesConfig":{"description":"Advanced configuration for modules that should be provided as shared modules to the share scope.","type":"object","additionalProperties":false,"properties":{"eager":{"description":"Include the provided module directly instead behind an async request. This allows to use this shared module in initial load too. All possible shared modules need to be eager too.","type":"boolean"},"shareKey":{"description":"Key in the share scope under which the shared modules should be stored.","type":"string","minLength":1},"shareScope":{"description":"Share scope name.","type":"string","minLength":1},"version":{"description":"Version of the provided module. Will replace lower matching versions, but not higher.","anyOf":[{"description":"Don\'t provide a version.","enum":[false]},{"description":"Version as string. Each part of the version should be separated by a dot \'.\'.","type":"string"}]}}},"ProvidesItem":{"description":"Request to a module that should be provided as shared module to the share scope (will be resolved when relative).","type":"string","minLength":1},"ProvidesObject":{"description":"Modules that should be provided as shared modules to the share scope. Property names are used as share keys.","type":"object","additionalProperties":{"description":"Modules that should be provided as shared modules to the share scope.","anyOf":[{"$ref":"#/definitions/ProvidesConfig"},{"$ref":"#/definitions/ProvidesItem"}]}}},"title":"ProvideSharedPluginOptions","type":"object","additionalProperties":false,"properties":{"provides":{"$ref":"#/definitions/Provides"},"shareScope":{"description":"Share scope name used for all provided modules (defaults to \'default\').","type":"string","minLength":1}},"required":["provides"]}')},70797:(S,E)=>{"use strict";Object.defineProperty(E,"__esModule",{value:true});E.cloneNode=cloneNode;function cloneNode(S){return Object.assign({},S)}},98093:(S,E,k)=>{"use strict";Object.defineProperty(E,"__esModule",{value:true});var w={numberLiteralFromRaw:true,withLoc:true,withRaw:true,funcParam:true,indexLiteral:true,memIndexLiteral:true,instruction:true,objectInstruction:true,traverse:true,signatures:true,cloneNode:true,moduleContextFromModuleAST:true};Object.defineProperty(E,"numberLiteralFromRaw",{enumerable:true,get:function get(){return j.numberLiteralFromRaw}});Object.defineProperty(E,"withLoc",{enumerable:true,get:function get(){return j.withLoc}});Object.defineProperty(E,"withRaw",{enumerable:true,get:function get(){return j.withRaw}});Object.defineProperty(E,"funcParam",{enumerable:true,get:function get(){return j.funcParam}});Object.defineProperty(E,"indexLiteral",{enumerable:true,get:function get(){return j.indexLiteral}});Object.defineProperty(E,"memIndexLiteral",{enumerable:true,get:function get(){return j.memIndexLiteral}});Object.defineProperty(E,"instruction",{enumerable:true,get:function get(){return j.instruction}});Object.defineProperty(E,"objectInstruction",{enumerable:true,get:function get(){return j.objectInstruction}});Object.defineProperty(E,"traverse",{enumerable:true,get:function get(){return q.traverse}});Object.defineProperty(E,"signatures",{enumerable:true,get:function get(){return ee.signatures}});Object.defineProperty(E,"cloneNode",{enumerable:true,get:function get(){return ne.cloneNode}});Object.defineProperty(E,"moduleContextFromModuleAST",{enumerable:true,get:function get(){return ae.moduleContextFromModuleAST}});var N=k(52696);Object.keys(N).forEach((function(S){if(S==="default"||S==="__esModule")return;if(Object.prototype.hasOwnProperty.call(w,S))return;Object.defineProperty(E,S,{enumerable:true,get:function get(){return N[S]}})}));var j=k(11891);var q=k(22056);var ee=k(75769);var te=k(91764);Object.keys(te).forEach((function(S){if(S==="default"||S==="__esModule")return;if(Object.prototype.hasOwnProperty.call(w,S))return;Object.defineProperty(E,S,{enumerable:true,get:function get(){return te[S]}})}));var ne=k(70797);var ae=k(5499)},11891:(S,E,k)=>{"use strict";Object.defineProperty(E,"__esModule",{value:true});E.numberLiteralFromRaw=numberLiteralFromRaw;E.instruction=instruction;E.objectInstruction=objectInstruction;E.withLoc=withLoc;E.withRaw=withRaw;E.funcParam=funcParam;E.indexLiteral=indexLiteral;E.memIndexLiteral=memIndexLiteral;var w=k(80853);var N=k(52696);function numberLiteralFromRaw(S){var E=arguments.length>1&&arguments[1]!==undefined?arguments[1]:"i32";var k=S;if(typeof S==="string"){S=S.replace(/_/g,"")}if(typeof S==="number"){return(0,N.numberLiteral)(S,String(k))}else{switch(E){case"i32":{return(0,N.numberLiteral)((0,w.parse32I)(S),String(k))}case"u32":{return(0,N.numberLiteral)((0,w.parseU32)(S),String(k))}case"i64":{return(0,N.longNumberLiteral)((0,w.parse64I)(S),String(k))}case"f32":{return(0,N.floatLiteral)((0,w.parse32F)(S),(0,w.isNanLiteral)(S),(0,w.isInfLiteral)(S),String(k))}default:{return(0,N.floatLiteral)((0,w.parse64F)(S),(0,w.isNanLiteral)(S),(0,w.isInfLiteral)(S),String(k))}}}}function instruction(S){var E=arguments.length>1&&arguments[1]!==undefined?arguments[1]:[];var k=arguments.length>2&&arguments[2]!==undefined?arguments[2]:{};return(0,N.instr)(S,undefined,E,k)}function objectInstruction(S,E){var k=arguments.length>2&&arguments[2]!==undefined?arguments[2]:[];var w=arguments.length>3&&arguments[3]!==undefined?arguments[3]:{};return(0,N.instr)(S,E,k,w)}function withLoc(S,E,k){var w={start:k,end:E};S.loc=w;return S}function withRaw(S,E){S.raw=E;return S}function funcParam(S,E){return{id:E,valtype:S}}function indexLiteral(S){var E=numberLiteralFromRaw(S,"u32");return E}function memIndexLiteral(S){var E=numberLiteralFromRaw(S,"u32");return E}},46166:(S,E)=>{"use strict";Object.defineProperty(E,"__esModule",{value:true});E.createPath=createPath;function _extends(){_extends=Object.assign||function(S){for(var E=1;E2&&arguments[2]!==undefined?arguments[2]:0;if(!w){throw new Error("inList"+" error: "+("insert can only be used for nodes that are within lists"||0))}if(!(N!=null)){throw new Error("parentPath != null"+" error: "+("Can not remove root node"||0))}var ee=N.node[j];var te=ee.findIndex((function(S){return S===k}));ee.splice(te+q,0,E)}function remove(S){var E=S.node,k=S.parentKey,w=S.parentPath;if(!(w!=null)){throw new Error("parentPath != null"+" error: "+("Can not remove root node"||0))}var N=w.node;var j=N[k];if(Array.isArray(j)){N[k]=j.filter((function(S){return S!==E}))}else{delete N[k]}E._deleted=true}function stop(S){S.shouldStop=true}function replaceWith(S,E){var k=S.parentPath.node;var w=k[S.parentKey];if(Array.isArray(w)){var N=w.findIndex((function(E){return E===S.node}));w.splice(N,1,E)}else{k[S.parentKey]=E}S.node._deleted=true;S.node=E}function bindNodeOperations(S,E){var k=Object.keys(S);var w={};k.forEach((function(k){w[k]=S[k].bind(null,E)}));return w}function createPathOperations(S){return bindNodeOperations({findParent:findParent,replaceWith:replaceWith,remove:remove,insertBefore:insertBefore,insertAfter:insertAfter,stop:stop},S)}function createPath(S){var E=_extends({},S);Object.assign(E,createPathOperations(E));return E}},52696:(S,E)=>{"use strict";Object.defineProperty(E,"__esModule",{value:true});E.module=_module;E.moduleMetadata=moduleMetadata;E.moduleNameMetadata=moduleNameMetadata;E.functionNameMetadata=functionNameMetadata;E.localNameMetadata=localNameMetadata;E.binaryModule=binaryModule;E.quoteModule=quoteModule;E.sectionMetadata=sectionMetadata;E.producersSectionMetadata=producersSectionMetadata;E.producerMetadata=producerMetadata;E.producerMetadataVersionedName=producerMetadataVersionedName;E.loopInstruction=loopInstruction;E.instr=instr;E.ifInstruction=ifInstruction;E.stringLiteral=stringLiteral;E.numberLiteral=numberLiteral;E.longNumberLiteral=longNumberLiteral;E.floatLiteral=floatLiteral;E.elem=elem;E.indexInFuncSection=indexInFuncSection;E.valtypeLiteral=valtypeLiteral;E.typeInstruction=typeInstruction;E.start=start;E.globalType=globalType;E.leadingComment=leadingComment;E.blockComment=blockComment;E.data=data;E.global=global;E.table=table;E.memory=memory;E.funcImportDescr=funcImportDescr;E.moduleImport=moduleImport;E.moduleExportDescr=moduleExportDescr;E.moduleExport=moduleExport;E.limit=limit;E.signature=signature;E.program=program;E.identifier=identifier;E.blockInstruction=blockInstruction;E.callInstruction=callInstruction;E.callIndirectInstruction=callIndirectInstruction;E.byteArray=byteArray;E.func=func;E.internalBrUnless=internalBrUnless;E.internalGoto=internalGoto;E.internalCallExtern=internalCallExtern;E.internalEndAndReturn=internalEndAndReturn;E.assertInternalCallExtern=E.assertInternalGoto=E.assertInternalBrUnless=E.assertFunc=E.assertByteArray=E.assertCallIndirectInstruction=E.assertCallInstruction=E.assertBlockInstruction=E.assertIdentifier=E.assertProgram=E.assertSignature=E.assertLimit=E.assertModuleExport=E.assertModuleExportDescr=E.assertModuleImport=E.assertFuncImportDescr=E.assertMemory=E.assertTable=E.assertGlobal=E.assertData=E.assertBlockComment=E.assertLeadingComment=E.assertGlobalType=E.assertStart=E.assertTypeInstruction=E.assertValtypeLiteral=E.assertIndexInFuncSection=E.assertElem=E.assertFloatLiteral=E.assertLongNumberLiteral=E.assertNumberLiteral=E.assertStringLiteral=E.assertIfInstruction=E.assertInstr=E.assertLoopInstruction=E.assertProducerMetadataVersionedName=E.assertProducerMetadata=E.assertProducersSectionMetadata=E.assertSectionMetadata=E.assertQuoteModule=E.assertBinaryModule=E.assertLocalNameMetadata=E.assertFunctionNameMetadata=E.assertModuleNameMetadata=E.assertModuleMetadata=E.assertModule=E.isIntrinsic=E.isImportDescr=E.isNumericLiteral=E.isExpression=E.isInstruction=E.isBlock=E.isNode=E.isInternalEndAndReturn=E.isInternalCallExtern=E.isInternalGoto=E.isInternalBrUnless=E.isFunc=E.isByteArray=E.isCallIndirectInstruction=E.isCallInstruction=E.isBlockInstruction=E.isIdentifier=E.isProgram=E.isSignature=E.isLimit=E.isModuleExport=E.isModuleExportDescr=E.isModuleImport=E.isFuncImportDescr=E.isMemory=E.isTable=E.isGlobal=E.isData=E.isBlockComment=E.isLeadingComment=E.isGlobalType=E.isStart=E.isTypeInstruction=E.isValtypeLiteral=E.isIndexInFuncSection=E.isElem=E.isFloatLiteral=E.isLongNumberLiteral=E.isNumberLiteral=E.isStringLiteral=E.isIfInstruction=E.isInstr=E.isLoopInstruction=E.isProducerMetadataVersionedName=E.isProducerMetadata=E.isProducersSectionMetadata=E.isSectionMetadata=E.isQuoteModule=E.isBinaryModule=E.isLocalNameMetadata=E.isFunctionNameMetadata=E.isModuleNameMetadata=E.isModuleMetadata=E.isModule=void 0;E.nodeAndUnionTypes=E.unionTypesMap=E.assertInternalEndAndReturn=void 0;function _typeof(S){if(typeof Symbol==="function"&&typeof Symbol.iterator==="symbol"){_typeof=function _typeof(S){return typeof S}}else{_typeof=function _typeof(S){return S&&typeof Symbol==="function"&&S.constructor===Symbol&&S!==Symbol.prototype?"symbol":typeof S}}return _typeof(S)}function isTypeOf(S){return function(E){return E.type===S}}function assertTypeOf(S){return function(E){return function(){if(!(E.type===S)){throw new Error("n.type === t"+" error: "+(undefined||"unknown"))}}()}}function _module(S,E,k){if(S!==null&&S!==undefined){if(!(typeof S==="string")){throw new Error('typeof id === "string"'+" error: "+("Argument id must be of type string, given: "+_typeof(S)||0))}}if(!(_typeof(E)==="object"&&typeof E.length!=="undefined")){throw new Error('typeof fields === "object" && typeof fields.length !== "undefined"'+" error: "+(undefined||"unknown"))}var w={type:"Module",id:S,fields:E};if(typeof k!=="undefined"){w.metadata=k}return w}function moduleMetadata(S,E,k,w){if(!(_typeof(S)==="object"&&typeof S.length!=="undefined")){throw new Error('typeof sections === "object" && typeof sections.length !== "undefined"'+" error: "+(undefined||"unknown"))}if(E!==null&&E!==undefined){if(!(_typeof(E)==="object"&&typeof E.length!=="undefined")){throw new Error('typeof functionNames === "object" && typeof functionNames.length !== "undefined"'+" error: "+(undefined||"unknown"))}}if(k!==null&&k!==undefined){if(!(_typeof(k)==="object"&&typeof k.length!=="undefined")){throw new Error('typeof localNames === "object" && typeof localNames.length !== "undefined"'+" error: "+(undefined||"unknown"))}}if(w!==null&&w!==undefined){if(!(_typeof(w)==="object"&&typeof w.length!=="undefined")){throw new Error('typeof producers === "object" && typeof producers.length !== "undefined"'+" error: "+(undefined||"unknown"))}}var N={type:"ModuleMetadata",sections:S};if(typeof E!=="undefined"&&E.length>0){N.functionNames=E}if(typeof k!=="undefined"&&k.length>0){N.localNames=k}if(typeof w!=="undefined"&&w.length>0){N.producers=w}return N}function moduleNameMetadata(S){if(!(typeof S==="string")){throw new Error('typeof value === "string"'+" error: "+("Argument value must be of type string, given: "+_typeof(S)||0))}var E={type:"ModuleNameMetadata",value:S};return E}function functionNameMetadata(S,E){if(!(typeof S==="string")){throw new Error('typeof value === "string"'+" error: "+("Argument value must be of type string, given: "+_typeof(S)||0))}if(!(typeof E==="number")){throw new Error('typeof index === "number"'+" error: "+("Argument index must be of type number, given: "+_typeof(E)||0))}var k={type:"FunctionNameMetadata",value:S,index:E};return k}function localNameMetadata(S,E,k){if(!(typeof S==="string")){throw new Error('typeof value === "string"'+" error: "+("Argument value must be of type string, given: "+_typeof(S)||0))}if(!(typeof E==="number")){throw new Error('typeof localIndex === "number"'+" error: "+("Argument localIndex must be of type number, given: "+_typeof(E)||0))}if(!(typeof k==="number")){throw new Error('typeof functionIndex === "number"'+" error: "+("Argument functionIndex must be of type number, given: "+_typeof(k)||0))}var w={type:"LocalNameMetadata",value:S,localIndex:E,functionIndex:k};return w}function binaryModule(S,E){if(S!==null&&S!==undefined){if(!(typeof S==="string")){throw new Error('typeof id === "string"'+" error: "+("Argument id must be of type string, given: "+_typeof(S)||0))}}if(!(_typeof(E)==="object"&&typeof E.length!=="undefined")){throw new Error('typeof blob === "object" && typeof blob.length !== "undefined"'+" error: "+(undefined||"unknown"))}var k={type:"BinaryModule",id:S,blob:E};return k}function quoteModule(S,E){if(S!==null&&S!==undefined){if(!(typeof S==="string")){throw new Error('typeof id === "string"'+" error: "+("Argument id must be of type string, given: "+_typeof(S)||0))}}if(!(_typeof(E)==="object"&&typeof E.length!=="undefined")){throw new Error('typeof string === "object" && typeof string.length !== "undefined"'+" error: "+(undefined||"unknown"))}var k={type:"QuoteModule",id:S,string:E};return k}function sectionMetadata(S,E,k,w){if(!(typeof E==="number")){throw new Error('typeof startOffset === "number"'+" error: "+("Argument startOffset must be of type number, given: "+_typeof(E)||0))}var N={type:"SectionMetadata",section:S,startOffset:E,size:k,vectorOfSize:w};return N}function producersSectionMetadata(S){if(!(_typeof(S)==="object"&&typeof S.length!=="undefined")){throw new Error('typeof producers === "object" && typeof producers.length !== "undefined"'+" error: "+(undefined||"unknown"))}var E={type:"ProducersSectionMetadata",producers:S};return E}function producerMetadata(S,E,k){if(!(_typeof(S)==="object"&&typeof S.length!=="undefined")){throw new Error('typeof language === "object" && typeof language.length !== "undefined"'+" error: "+(undefined||"unknown"))}if(!(_typeof(E)==="object"&&typeof E.length!=="undefined")){throw new Error('typeof processedBy === "object" && typeof processedBy.length !== "undefined"'+" error: "+(undefined||"unknown"))}if(!(_typeof(k)==="object"&&typeof k.length!=="undefined")){throw new Error('typeof sdk === "object" && typeof sdk.length !== "undefined"'+" error: "+(undefined||"unknown"))}var w={type:"ProducerMetadata",language:S,processedBy:E,sdk:k};return w}function producerMetadataVersionedName(S,E){if(!(typeof S==="string")){throw new Error('typeof name === "string"'+" error: "+("Argument name must be of type string, given: "+_typeof(S)||0))}if(!(typeof E==="string")){throw new Error('typeof version === "string"'+" error: "+("Argument version must be of type string, given: "+_typeof(E)||0))}var k={type:"ProducerMetadataVersionedName",name:S,version:E};return k}function loopInstruction(S,E,k){if(!(_typeof(k)==="object"&&typeof k.length!=="undefined")){throw new Error('typeof instr === "object" && typeof instr.length !== "undefined"'+" error: "+(undefined||"unknown"))}var w={type:"LoopInstruction",id:"loop",label:S,resulttype:E,instr:k};return w}function instr(S,E,k,w){if(!(typeof S==="string")){throw new Error('typeof id === "string"'+" error: "+("Argument id must be of type string, given: "+_typeof(S)||0))}if(!(_typeof(k)==="object"&&typeof k.length!=="undefined")){throw new Error('typeof args === "object" && typeof args.length !== "undefined"'+" error: "+(undefined||"unknown"))}var N={type:"Instr",id:S,args:k};if(typeof E!=="undefined"){N.object=E}if(typeof w!=="undefined"&&Object.keys(w).length!==0){N.namedArgs=w}return N}function ifInstruction(S,E,k,w,N){if(!(_typeof(E)==="object"&&typeof E.length!=="undefined")){throw new Error('typeof test === "object" && typeof test.length !== "undefined"'+" error: "+(undefined||"unknown"))}if(!(_typeof(w)==="object"&&typeof w.length!=="undefined")){throw new Error('typeof consequent === "object" && typeof consequent.length !== "undefined"'+" error: "+(undefined||"unknown"))}if(!(_typeof(N)==="object"&&typeof N.length!=="undefined")){throw new Error('typeof alternate === "object" && typeof alternate.length !== "undefined"'+" error: "+(undefined||"unknown"))}var j={type:"IfInstruction",id:"if",testLabel:S,test:E,result:k,consequent:w,alternate:N};return j}function stringLiteral(S){if(!(typeof S==="string")){throw new Error('typeof value === "string"'+" error: "+("Argument value must be of type string, given: "+_typeof(S)||0))}var E={type:"StringLiteral",value:S};return E}function numberLiteral(S,E){if(!(typeof S==="number")){throw new Error('typeof value === "number"'+" error: "+("Argument value must be of type number, given: "+_typeof(S)||0))}if(!(typeof E==="string")){throw new Error('typeof raw === "string"'+" error: "+("Argument raw must be of type string, given: "+_typeof(E)||0))}var k={type:"NumberLiteral",value:S,raw:E};return k}function longNumberLiteral(S,E){if(!(typeof E==="string")){throw new Error('typeof raw === "string"'+" error: "+("Argument raw must be of type string, given: "+_typeof(E)||0))}var k={type:"LongNumberLiteral",value:S,raw:E};return k}function floatLiteral(S,E,k,w){if(!(typeof S==="number")){throw new Error('typeof value === "number"'+" error: "+("Argument value must be of type number, given: "+_typeof(S)||0))}if(E!==null&&E!==undefined){if(!(typeof E==="boolean")){throw new Error('typeof nan === "boolean"'+" error: "+("Argument nan must be of type boolean, given: "+_typeof(E)||0))}}if(k!==null&&k!==undefined){if(!(typeof k==="boolean")){throw new Error('typeof inf === "boolean"'+" error: "+("Argument inf must be of type boolean, given: "+_typeof(k)||0))}}if(!(typeof w==="string")){throw new Error('typeof raw === "string"'+" error: "+("Argument raw must be of type string, given: "+_typeof(w)||0))}var N={type:"FloatLiteral",value:S,raw:w};if(E===true){N.nan=true}if(k===true){N.inf=true}return N}function elem(S,E,k){if(!(_typeof(E)==="object"&&typeof E.length!=="undefined")){throw new Error('typeof offset === "object" && typeof offset.length !== "undefined"'+" error: "+(undefined||"unknown"))}if(!(_typeof(k)==="object"&&typeof k.length!=="undefined")){throw new Error('typeof funcs === "object" && typeof funcs.length !== "undefined"'+" error: "+(undefined||"unknown"))}var w={type:"Elem",table:S,offset:E,funcs:k};return w}function indexInFuncSection(S){var E={type:"IndexInFuncSection",index:S};return E}function valtypeLiteral(S){var E={type:"ValtypeLiteral",name:S};return E}function typeInstruction(S,E){var k={type:"TypeInstruction",id:S,functype:E};return k}function start(S){var E={type:"Start",index:S};return E}function globalType(S,E){var k={type:"GlobalType",valtype:S,mutability:E};return k}function leadingComment(S){if(!(typeof S==="string")){throw new Error('typeof value === "string"'+" error: "+("Argument value must be of type string, given: "+_typeof(S)||0))}var E={type:"LeadingComment",value:S};return E}function blockComment(S){if(!(typeof S==="string")){throw new Error('typeof value === "string"'+" error: "+("Argument value must be of type string, given: "+_typeof(S)||0))}var E={type:"BlockComment",value:S};return E}function data(S,E,k){var w={type:"Data",memoryIndex:S,offset:E,init:k};return w}function global(S,E,k){if(!(_typeof(E)==="object"&&typeof E.length!=="undefined")){throw new Error('typeof init === "object" && typeof init.length !== "undefined"'+" error: "+(undefined||"unknown"))}var w={type:"Global",globalType:S,init:E,name:k};return w}function table(S,E,k,w){if(!(E.type==="Limit")){throw new Error('limits.type === "Limit"'+" error: "+("Argument limits must be of type Limit, given: "+E.type||0))}if(w!==null&&w!==undefined){if(!(_typeof(w)==="object"&&typeof w.length!=="undefined")){throw new Error('typeof elements === "object" && typeof elements.length !== "undefined"'+" error: "+(undefined||"unknown"))}}var N={type:"Table",elementType:S,limits:E,name:k};if(typeof w!=="undefined"&&w.length>0){N.elements=w}return N}function memory(S,E){var k={type:"Memory",limits:S,id:E};return k}function funcImportDescr(S,E){var k={type:"FuncImportDescr",id:S,signature:E};return k}function moduleImport(S,E,k){if(!(typeof S==="string")){throw new Error('typeof module === "string"'+" error: "+("Argument module must be of type string, given: "+_typeof(S)||0))}if(!(typeof E==="string")){throw new Error('typeof name === "string"'+" error: "+("Argument name must be of type string, given: "+_typeof(E)||0))}var w={type:"ModuleImport",module:S,name:E,descr:k};return w}function moduleExportDescr(S,E){var k={type:"ModuleExportDescr",exportType:S,id:E};return k}function moduleExport(S,E){if(!(typeof S==="string")){throw new Error('typeof name === "string"'+" error: "+("Argument name must be of type string, given: "+_typeof(S)||0))}var k={type:"ModuleExport",name:S,descr:E};return k}function limit(S,E,k){if(!(typeof S==="number")){throw new Error('typeof min === "number"'+" error: "+("Argument min must be of type number, given: "+_typeof(S)||0))}if(E!==null&&E!==undefined){if(!(typeof E==="number")){throw new Error('typeof max === "number"'+" error: "+("Argument max must be of type number, given: "+_typeof(E)||0))}}if(k!==null&&k!==undefined){if(!(typeof k==="boolean")){throw new Error('typeof shared === "boolean"'+" error: "+("Argument shared must be of type boolean, given: "+_typeof(k)||0))}}var w={type:"Limit",min:S};if(typeof E!=="undefined"){w.max=E}if(k===true){w.shared=true}return w}function signature(S,E){if(!(_typeof(S)==="object"&&typeof S.length!=="undefined")){throw new Error('typeof params === "object" && typeof params.length !== "undefined"'+" error: "+(undefined||"unknown"))}if(!(_typeof(E)==="object"&&typeof E.length!=="undefined")){throw new Error('typeof results === "object" && typeof results.length !== "undefined"'+" error: "+(undefined||"unknown"))}var k={type:"Signature",params:S,results:E};return k}function program(S){if(!(_typeof(S)==="object"&&typeof S.length!=="undefined")){throw new Error('typeof body === "object" && typeof body.length !== "undefined"'+" error: "+(undefined||"unknown"))}var E={type:"Program",body:S};return E}function identifier(S,E){if(!(typeof S==="string")){throw new Error('typeof value === "string"'+" error: "+("Argument value must be of type string, given: "+_typeof(S)||0))}if(E!==null&&E!==undefined){if(!(typeof E==="string")){throw new Error('typeof raw === "string"'+" error: "+("Argument raw must be of type string, given: "+_typeof(E)||0))}}var k={type:"Identifier",value:S};if(typeof E!=="undefined"){k.raw=E}return k}function blockInstruction(S,E,k){if(!(_typeof(E)==="object"&&typeof E.length!=="undefined")){throw new Error('typeof instr === "object" && typeof instr.length !== "undefined"'+" error: "+(undefined||"unknown"))}var w={type:"BlockInstruction",id:"block",label:S,instr:E,result:k};return w}function callInstruction(S,E,k){if(E!==null&&E!==undefined){if(!(_typeof(E)==="object"&&typeof E.length!=="undefined")){throw new Error('typeof instrArgs === "object" && typeof instrArgs.length !== "undefined"'+" error: "+(undefined||"unknown"))}}var w={type:"CallInstruction",id:"call",index:S};if(typeof E!=="undefined"&&E.length>0){w.instrArgs=E}if(typeof k!=="undefined"){w.numeric=k}return w}function callIndirectInstruction(S,E){if(E!==null&&E!==undefined){if(!(_typeof(E)==="object"&&typeof E.length!=="undefined")){throw new Error('typeof intrs === "object" && typeof intrs.length !== "undefined"'+" error: "+(undefined||"unknown"))}}var k={type:"CallIndirectInstruction",id:"call_indirect",signature:S};if(typeof E!=="undefined"&&E.length>0){k.intrs=E}return k}function byteArray(S){if(!(_typeof(S)==="object"&&typeof S.length!=="undefined")){throw new Error('typeof values === "object" && typeof values.length !== "undefined"'+" error: "+(undefined||"unknown"))}var E={type:"ByteArray",values:S};return E}function func(S,E,k,w,N){if(!(_typeof(k)==="object"&&typeof k.length!=="undefined")){throw new Error('typeof body === "object" && typeof body.length !== "undefined"'+" error: "+(undefined||"unknown"))}if(w!==null&&w!==undefined){if(!(typeof w==="boolean")){throw new Error('typeof isExternal === "boolean"'+" error: "+("Argument isExternal must be of type boolean, given: "+_typeof(w)||0))}}var j={type:"Func",name:S,signature:E,body:k};if(w===true){j.isExternal=true}if(typeof N!=="undefined"){j.metadata=N}return j}function internalBrUnless(S){if(!(typeof S==="number")){throw new Error('typeof target === "number"'+" error: "+("Argument target must be of type number, given: "+_typeof(S)||0))}var E={type:"InternalBrUnless",target:S};return E}function internalGoto(S){if(!(typeof S==="number")){throw new Error('typeof target === "number"'+" error: "+("Argument target must be of type number, given: "+_typeof(S)||0))}var E={type:"InternalGoto",target:S};return E}function internalCallExtern(S){if(!(typeof S==="number")){throw new Error('typeof target === "number"'+" error: "+("Argument target must be of type number, given: "+_typeof(S)||0))}var E={type:"InternalCallExtern",target:S};return E}function internalEndAndReturn(){var S={type:"InternalEndAndReturn"};return S}var k=isTypeOf("Module");E.isModule=k;var w=isTypeOf("ModuleMetadata");E.isModuleMetadata=w;var N=isTypeOf("ModuleNameMetadata");E.isModuleNameMetadata=N;var j=isTypeOf("FunctionNameMetadata");E.isFunctionNameMetadata=j;var q=isTypeOf("LocalNameMetadata");E.isLocalNameMetadata=q;var ee=isTypeOf("BinaryModule");E.isBinaryModule=ee;var te=isTypeOf("QuoteModule");E.isQuoteModule=te;var ne=isTypeOf("SectionMetadata");E.isSectionMetadata=ne;var ae=isTypeOf("ProducersSectionMetadata");E.isProducersSectionMetadata=ae;var _e=isTypeOf("ProducerMetadata");E.isProducerMetadata=_e;var ve=isTypeOf("ProducerMetadataVersionedName");E.isProducerMetadataVersionedName=ve;var Ee=isTypeOf("LoopInstruction");E.isLoopInstruction=Ee;var Te=isTypeOf("Instr");E.isInstr=Te;var Ce=isTypeOf("IfInstruction");E.isIfInstruction=Ce;var we=isTypeOf("StringLiteral");E.isStringLiteral=we;var Ne=isTypeOf("NumberLiteral");E.isNumberLiteral=Ne;var Ie=isTypeOf("LongNumberLiteral");E.isLongNumberLiteral=Ie;var Fe=isTypeOf("FloatLiteral");E.isFloatLiteral=Fe;var Oe=isTypeOf("Elem");E.isElem=Oe;var Me=isTypeOf("IndexInFuncSection");E.isIndexInFuncSection=Me;var Re=isTypeOf("ValtypeLiteral");E.isValtypeLiteral=Re;var Le=isTypeOf("TypeInstruction");E.isTypeInstruction=Le;var Be=isTypeOf("Start");E.isStart=Be;var je=isTypeOf("GlobalType");E.isGlobalType=je;var ze=isTypeOf("LeadingComment");E.isLeadingComment=ze;var Ue=isTypeOf("BlockComment");E.isBlockComment=Ue;var We=isTypeOf("Data");E.isData=We;var $e=isTypeOf("Global");E.isGlobal=$e;var qe=isTypeOf("Table");E.isTable=qe;var Ve=isTypeOf("Memory");E.isMemory=Ve;var He=isTypeOf("FuncImportDescr");E.isFuncImportDescr=He;var Ge=isTypeOf("ModuleImport");E.isModuleImport=Ge;var Je=isTypeOf("ModuleExportDescr");E.isModuleExportDescr=Je;var Ke=isTypeOf("ModuleExport");E.isModuleExport=Ke;var Qe=isTypeOf("Limit");E.isLimit=Qe;var Xe=isTypeOf("Signature");E.isSignature=Xe;var Ye=isTypeOf("Program");E.isProgram=Ye;var Ze=isTypeOf("Identifier");E.isIdentifier=Ze;var et=isTypeOf("BlockInstruction");E.isBlockInstruction=et;var tt=isTypeOf("CallInstruction");E.isCallInstruction=tt;var rt=isTypeOf("CallIndirectInstruction");E.isCallIndirectInstruction=rt;var nt=isTypeOf("ByteArray");E.isByteArray=nt;var it=isTypeOf("Func");E.isFunc=it;var ot=isTypeOf("InternalBrUnless");E.isInternalBrUnless=ot;var st=isTypeOf("InternalGoto");E.isInternalGoto=st;var ct=isTypeOf("InternalCallExtern");E.isInternalCallExtern=ct;var ut=isTypeOf("InternalEndAndReturn");E.isInternalEndAndReturn=ut;var dt=function isNode(S){return k(S)||w(S)||N(S)||j(S)||q(S)||ee(S)||te(S)||ne(S)||ae(S)||_e(S)||ve(S)||Ee(S)||Te(S)||Ce(S)||we(S)||Ne(S)||Ie(S)||Fe(S)||Oe(S)||Me(S)||Re(S)||Le(S)||Be(S)||je(S)||ze(S)||Ue(S)||We(S)||$e(S)||qe(S)||Ve(S)||He(S)||Ge(S)||Je(S)||Ke(S)||Qe(S)||Xe(S)||Ye(S)||Ze(S)||et(S)||tt(S)||rt(S)||nt(S)||it(S)||ot(S)||st(S)||ct(S)||ut(S)};E.isNode=dt;var pt=function isBlock(S){return Ee(S)||et(S)||it(S)};E.isBlock=pt;var ft=function isInstruction(S){return Ee(S)||Te(S)||Ce(S)||Le(S)||et(S)||tt(S)||rt(S)};E.isInstruction=ft;var mt=function isExpression(S){return Te(S)||we(S)||Ne(S)||Ie(S)||Fe(S)||Re(S)||Ze(S)};E.isExpression=mt;var ht=function isNumericLiteral(S){return Ne(S)||Ie(S)||Fe(S)};E.isNumericLiteral=ht;var _t=function isImportDescr(S){return je(S)||qe(S)||Ve(S)||He(S)};E.isImportDescr=_t;var yt=function isIntrinsic(S){return ot(S)||st(S)||ct(S)||ut(S)};E.isIntrinsic=yt;var vt=assertTypeOf("Module");E.assertModule=vt;var bt=assertTypeOf("ModuleMetadata");E.assertModuleMetadata=bt;var xt=assertTypeOf("ModuleNameMetadata");E.assertModuleNameMetadata=xt;var St=assertTypeOf("FunctionNameMetadata");E.assertFunctionNameMetadata=St;var Et=assertTypeOf("LocalNameMetadata");E.assertLocalNameMetadata=Et;var Tt=assertTypeOf("BinaryModule");E.assertBinaryModule=Tt;var kt=assertTypeOf("QuoteModule");E.assertQuoteModule=kt;var Ct=assertTypeOf("SectionMetadata");E.assertSectionMetadata=Ct;var Dt=assertTypeOf("ProducersSectionMetadata");E.assertProducersSectionMetadata=Dt;var At=assertTypeOf("ProducerMetadata");E.assertProducerMetadata=At;var wt=assertTypeOf("ProducerMetadataVersionedName");E.assertProducerMetadataVersionedName=wt;var Pt=assertTypeOf("LoopInstruction");E.assertLoopInstruction=Pt;var Nt=assertTypeOf("Instr");E.assertInstr=Nt;var It=assertTypeOf("IfInstruction");E.assertIfInstruction=It;var Ft=assertTypeOf("StringLiteral");E.assertStringLiteral=Ft;var Ot=assertTypeOf("NumberLiteral");E.assertNumberLiteral=Ot;var Mt=assertTypeOf("LongNumberLiteral");E.assertLongNumberLiteral=Mt;var Rt=assertTypeOf("FloatLiteral");E.assertFloatLiteral=Rt;var Lt=assertTypeOf("Elem");E.assertElem=Lt;var Bt=assertTypeOf("IndexInFuncSection");E.assertIndexInFuncSection=Bt;var jt=assertTypeOf("ValtypeLiteral");E.assertValtypeLiteral=jt;var zt=assertTypeOf("TypeInstruction");E.assertTypeInstruction=zt;var Ut=assertTypeOf("Start");E.assertStart=Ut;var Wt=assertTypeOf("GlobalType");E.assertGlobalType=Wt;var $t=assertTypeOf("LeadingComment");E.assertLeadingComment=$t;var qt=assertTypeOf("BlockComment");E.assertBlockComment=qt;var Vt=assertTypeOf("Data");E.assertData=Vt;var Ht=assertTypeOf("Global");E.assertGlobal=Ht;var Gt=assertTypeOf("Table");E.assertTable=Gt;var Jt=assertTypeOf("Memory");E.assertMemory=Jt;var Kt=assertTypeOf("FuncImportDescr");E.assertFuncImportDescr=Kt;var Qt=assertTypeOf("ModuleImport");E.assertModuleImport=Qt;var Xt=assertTypeOf("ModuleExportDescr");E.assertModuleExportDescr=Xt;var Yt=assertTypeOf("ModuleExport");E.assertModuleExport=Yt;var Zt=assertTypeOf("Limit");E.assertLimit=Zt;var er=assertTypeOf("Signature");E.assertSignature=er;var tr=assertTypeOf("Program");E.assertProgram=tr;var rr=assertTypeOf("Identifier");E.assertIdentifier=rr;var nr=assertTypeOf("BlockInstruction");E.assertBlockInstruction=nr;var ir=assertTypeOf("CallInstruction");E.assertCallInstruction=ir;var ar=assertTypeOf("CallIndirectInstruction");E.assertCallIndirectInstruction=ar;var sr=assertTypeOf("ByteArray");E.assertByteArray=sr;var cr=assertTypeOf("Func");E.assertFunc=cr;var lr=assertTypeOf("InternalBrUnless");E.assertInternalBrUnless=lr;var ur=assertTypeOf("InternalGoto");E.assertInternalGoto=ur;var dr=assertTypeOf("InternalCallExtern");E.assertInternalCallExtern=dr;var pr=assertTypeOf("InternalEndAndReturn");E.assertInternalEndAndReturn=pr;var fr={Module:["Node"],ModuleMetadata:["Node"],ModuleNameMetadata:["Node"],FunctionNameMetadata:["Node"],LocalNameMetadata:["Node"],BinaryModule:["Node"],QuoteModule:["Node"],SectionMetadata:["Node"],ProducersSectionMetadata:["Node"],ProducerMetadata:["Node"],ProducerMetadataVersionedName:["Node"],LoopInstruction:["Node","Block","Instruction"],Instr:["Node","Expression","Instruction"],IfInstruction:["Node","Instruction"],StringLiteral:["Node","Expression"],NumberLiteral:["Node","NumericLiteral","Expression"],LongNumberLiteral:["Node","NumericLiteral","Expression"],FloatLiteral:["Node","NumericLiteral","Expression"],Elem:["Node"],IndexInFuncSection:["Node"],ValtypeLiteral:["Node","Expression"],TypeInstruction:["Node","Instruction"],Start:["Node"],GlobalType:["Node","ImportDescr"],LeadingComment:["Node"],BlockComment:["Node"],Data:["Node"],Global:["Node"],Table:["Node","ImportDescr"],Memory:["Node","ImportDescr"],FuncImportDescr:["Node","ImportDescr"],ModuleImport:["Node"],ModuleExportDescr:["Node"],ModuleExport:["Node"],Limit:["Node"],Signature:["Node"],Program:["Node"],Identifier:["Node","Expression"],BlockInstruction:["Node","Block","Instruction"],CallInstruction:["Node","Instruction"],CallIndirectInstruction:["Node","Instruction"],ByteArray:["Node"],Func:["Node","Block"],InternalBrUnless:["Node","Intrinsic"],InternalGoto:["Node","Intrinsic"],InternalCallExtern:["Node","Intrinsic"],InternalEndAndReturn:["Node","Intrinsic"]};E.unionTypesMap=fr;var mr=["Module","ModuleMetadata","ModuleNameMetadata","FunctionNameMetadata","LocalNameMetadata","BinaryModule","QuoteModule","SectionMetadata","ProducersSectionMetadata","ProducerMetadata","ProducerMetadataVersionedName","LoopInstruction","Instr","IfInstruction","StringLiteral","NumberLiteral","LongNumberLiteral","FloatLiteral","Elem","IndexInFuncSection","ValtypeLiteral","TypeInstruction","Start","GlobalType","LeadingComment","BlockComment","Data","Global","Table","Memory","FuncImportDescr","ModuleImport","ModuleExportDescr","ModuleExport","Limit","Signature","Program","Identifier","BlockInstruction","CallInstruction","CallIndirectInstruction","ByteArray","Func","InternalBrUnless","InternalGoto","InternalCallExtern","InternalEndAndReturn","Node","Block","Instruction","Expression","NumericLiteral","ImportDescr","Intrinsic"];E.nodeAndUnionTypes=mr},75769:(S,E)=>{"use strict";Object.defineProperty(E,"__esModule",{value:true});E.signatures=void 0;function sign(S,E){return[S,E]}var k="u32";var w="i32";var N="i64";var j="f32";var q="f64";var ee=function vector(S){var E=[S];E.vector=true;return E};var te={unreachable:sign([],[]),nop:sign([],[]),br:sign([k],[]),br_if:sign([k],[]),br_table:sign(ee(k),[]),return:sign([],[]),call:sign([k],[]),call_indirect:sign([k],[])};var ne={drop:sign([],[]),select:sign([],[])};var ae={get_local:sign([k],[]),set_local:sign([k],[]),tee_local:sign([k],[]),get_global:sign([k],[]),set_global:sign([k],[])};var _e={"i32.load":sign([k,k],[w]),"i64.load":sign([k,k],[]),"f32.load":sign([k,k],[]),"f64.load":sign([k,k],[]),"i32.load8_s":sign([k,k],[w]),"i32.load8_u":sign([k,k],[w]),"i32.load16_s":sign([k,k],[w]),"i32.load16_u":sign([k,k],[w]),"i64.load8_s":sign([k,k],[N]),"i64.load8_u":sign([k,k],[N]),"i64.load16_s":sign([k,k],[N]),"i64.load16_u":sign([k,k],[N]),"i64.load32_s":sign([k,k],[N]),"i64.load32_u":sign([k,k],[N]),"i32.store":sign([k,k],[]),"i64.store":sign([k,k],[]),"f32.store":sign([k,k],[]),"f64.store":sign([k,k],[]),"i32.store8":sign([k,k],[]),"i32.store16":sign([k,k],[]),"i64.store8":sign([k,k],[]),"i64.store16":sign([k,k],[]),"i64.store32":sign([k,k],[]),current_memory:sign([],[]),grow_memory:sign([],[])};var ve={"i32.const":sign([w],[w]),"i64.const":sign([N],[N]),"f32.const":sign([j],[j]),"f64.const":sign([q],[q]),"i32.eqz":sign([w],[w]),"i32.eq":sign([w,w],[w]),"i32.ne":sign([w,w],[w]),"i32.lt_s":sign([w,w],[w]),"i32.lt_u":sign([w,w],[w]),"i32.gt_s":sign([w,w],[w]),"i32.gt_u":sign([w,w],[w]),"i32.le_s":sign([w,w],[w]),"i32.le_u":sign([w,w],[w]),"i32.ge_s":sign([w,w],[w]),"i32.ge_u":sign([w,w],[w]),"i64.eqz":sign([N],[N]),"i64.eq":sign([N,N],[w]),"i64.ne":sign([N,N],[w]),"i64.lt_s":sign([N,N],[w]),"i64.lt_u":sign([N,N],[w]),"i64.gt_s":sign([N,N],[w]),"i64.gt_u":sign([N,N],[w]),"i64.le_s":sign([N,N],[w]),"i64.le_u":sign([N,N],[w]),"i64.ge_s":sign([N,N],[w]),"i64.ge_u":sign([N,N],[w]),"f32.eq":sign([j,j],[w]),"f32.ne":sign([j,j],[w]),"f32.lt":sign([j,j],[w]),"f32.gt":sign([j,j],[w]),"f32.le":sign([j,j],[w]),"f32.ge":sign([j,j],[w]),"f64.eq":sign([q,q],[w]),"f64.ne":sign([q,q],[w]),"f64.lt":sign([q,q],[w]),"f64.gt":sign([q,q],[w]),"f64.le":sign([q,q],[w]),"f64.ge":sign([q,q],[w]),"i32.clz":sign([w],[w]),"i32.ctz":sign([w],[w]),"i32.popcnt":sign([w],[w]),"i32.add":sign([w,w],[w]),"i32.sub":sign([w,w],[w]),"i32.mul":sign([w,w],[w]),"i32.div_s":sign([w,w],[w]),"i32.div_u":sign([w,w],[w]),"i32.rem_s":sign([w,w],[w]),"i32.rem_u":sign([w,w],[w]),"i32.and":sign([w,w],[w]),"i32.or":sign([w,w],[w]),"i32.xor":sign([w,w],[w]),"i32.shl":sign([w,w],[w]),"i32.shr_s":sign([w,w],[w]),"i32.shr_u":sign([w,w],[w]),"i32.rotl":sign([w,w],[w]),"i32.rotr":sign([w,w],[w]),"i64.clz":sign([N],[N]),"i64.ctz":sign([N],[N]),"i64.popcnt":sign([N],[N]),"i64.add":sign([N,N],[N]),"i64.sub":sign([N,N],[N]),"i64.mul":sign([N,N],[N]),"i64.div_s":sign([N,N],[N]),"i64.div_u":sign([N,N],[N]),"i64.rem_s":sign([N,N],[N]),"i64.rem_u":sign([N,N],[N]),"i64.and":sign([N,N],[N]),"i64.or":sign([N,N],[N]),"i64.xor":sign([N,N],[N]),"i64.shl":sign([N,N],[N]),"i64.shr_s":sign([N,N],[N]),"i64.shr_u":sign([N,N],[N]),"i64.rotl":sign([N,N],[N]),"i64.rotr":sign([N,N],[N]),"f32.abs":sign([j],[j]),"f32.neg":sign([j],[j]),"f32.ceil":sign([j],[j]),"f32.floor":sign([j],[j]),"f32.trunc":sign([j],[j]),"f32.nearest":sign([j],[j]),"f32.sqrt":sign([j],[j]),"f32.add":sign([j,j],[j]),"f32.sub":sign([j,j],[j]),"f32.mul":sign([j,j],[j]),"f32.div":sign([j,j],[j]),"f32.min":sign([j,j],[j]),"f32.max":sign([j,j],[j]),"f32.copysign":sign([j,j],[j]),"f64.abs":sign([q],[q]),"f64.neg":sign([q],[q]),"f64.ceil":sign([q],[q]),"f64.floor":sign([q],[q]),"f64.trunc":sign([q],[q]),"f64.nearest":sign([q],[q]),"f64.sqrt":sign([q],[q]),"f64.add":sign([q,q],[q]),"f64.sub":sign([q,q],[q]),"f64.mul":sign([q,q],[q]),"f64.div":sign([q,q],[q]),"f64.min":sign([q,q],[q]),"f64.max":sign([q,q],[q]),"f64.copysign":sign([q,q],[q]),"i32.wrap/i64":sign([N],[w]),"i32.trunc_s/f32":sign([j],[w]),"i32.trunc_u/f32":sign([j],[w]),"i32.trunc_s/f64":sign([j],[w]),"i32.trunc_u/f64":sign([q],[w]),"i64.extend_s/i32":sign([w],[N]),"i64.extend_u/i32":sign([w],[N]),"i64.trunc_s/f32":sign([j],[N]),"i64.trunc_u/f32":sign([j],[N]),"i64.trunc_s/f64":sign([q],[N]),"i64.trunc_u/f64":sign([q],[N]),"f32.convert_s/i32":sign([w],[j]),"f32.convert_u/i32":sign([w],[j]),"f32.convert_s/i64":sign([N],[j]),"f32.convert_u/i64":sign([N],[j]),"f32.demote/f64":sign([q],[j]),"f64.convert_s/i32":sign([w],[q]),"f64.convert_u/i32":sign([w],[q]),"f64.convert_s/i64":sign([N],[q]),"f64.convert_u/i64":sign([N],[q]),"f64.promote/f32":sign([j],[q]),"i32.reinterpret/f32":sign([j],[w]),"i64.reinterpret/f64":sign([q],[N]),"f32.reinterpret/i32":sign([w],[j]),"f64.reinterpret/i64":sign([N],[q])};var Ee=Object.assign({},te,ne,ae,_e,ve);E.signatures=Ee},5499:(S,E,k)=>{"use strict";Object.defineProperty(E,"__esModule",{value:true});E.moduleContextFromModuleAST=moduleContextFromModuleAST;E.ModuleContext=void 0;var w=k(52696);function _classCallCheck(S,E){if(!(S instanceof E)){throw new TypeError("Cannot call a class as a function")}}function _defineProperties(S,E){for(var k=0;kS&&S>=0}},{key:"getLabel",value:function getLabel(S){return this.labels[S]}},{key:"popLabel",value:function popLabel(){this.labels.shift()}},{key:"hasLocal",value:function hasLocal(S){return typeof this.getLocal(S)!=="undefined"}},{key:"getLocal",value:function getLocal(S){return this.locals[S]}},{key:"addLocal",value:function addLocal(S){this.locals.push(S)}},{key:"addType",value:function addType(S){if(!(S.functype.type==="Signature")){throw new Error('type.functype.type === "Signature"'+" error: "+(undefined||"unknown"))}this.types.push(S.functype)}},{key:"hasType",value:function hasType(S){return this.types[S]!==undefined}},{key:"getType",value:function getType(S){return this.types[S]}},{key:"hasGlobal",value:function hasGlobal(S){return this.globals.length>S&&S>=0}},{key:"getGlobal",value:function getGlobal(S){return this.globals[S].type}},{key:"getGlobalOffsetByIdentifier",value:function getGlobalOffsetByIdentifier(S){if(!(typeof S==="string")){throw new Error('typeof name === "string"'+" error: "+(undefined||"unknown"))}return this.globalsOffsetByIdentifier[S]}},{key:"defineGlobal",value:function defineGlobal(S){var E=S.globalType.valtype;var k=S.globalType.mutability;this.globals.push({type:E,mutability:k});if(typeof S.name!=="undefined"){this.globalsOffsetByIdentifier[S.name.value]=this.globals.length-1}}},{key:"importGlobal",value:function importGlobal(S,E){this.globals.push({type:S,mutability:E})}},{key:"isMutableGlobal",value:function isMutableGlobal(S){return this.globals[S].mutability==="var"}},{key:"isImmutableGlobal",value:function isImmutableGlobal(S){return this.globals[S].mutability==="const"}},{key:"hasMemory",value:function hasMemory(S){return this.mems.length>S&&S>=0}},{key:"addMemory",value:function addMemory(S,E){this.mems.push({min:S,max:E})}},{key:"getMemory",value:function getMemory(S){return this.mems[S]}}]);return ModuleContext}();E.ModuleContext=N},22056:(S,E,k)=>{"use strict";Object.defineProperty(E,"__esModule",{value:true});E.traverse=traverse;var w=k(46166);var N=k(52696);function walk(S,E){var k=false;function innerWalk(S,E){if(k){return}var N=S.node;if(N===undefined){console.warn("traversing with an empty context");return}if(N._deleted===true){return}var j=(0,w.createPath)(S);E(N.type,j);if(j.shouldStop){k=true;return}Object.keys(N).forEach((function(S){var k=N[S];if(k===null||k===undefined){return}var w=Array.isArray(k)?k:[k];w.forEach((function(w){if(typeof w.type==="string"){var N={node:w,parentKey:S,parentPath:j,shouldStop:false,inList:Array.isArray(k)};innerWalk(N,E)}}))}))}innerWalk(S,E)}var j=function noop(){};function traverse(S,E){var k=arguments.length>2&&arguments[2]!==undefined?arguments[2]:j;var w=arguments.length>3&&arguments[3]!==undefined?arguments[3]:j;Object.keys(E).forEach((function(S){if(!N.nodeAndUnionTypes.includes(S)){throw new Error("Unexpected visitor ".concat(S))}}));var q={node:S,inList:false,shouldStop:false,parentPath:null,parentKey:null};walk(q,(function(S,j){if(typeof E[S]==="function"){k(S,j);E[S](j);w(S,j)}var q=N.unionTypesMap[S];if(!q){throw new Error("Unexpected node type ".concat(S))}q.forEach((function(S){if(typeof E[S]==="function"){k(S,j);E[S](j);w(S,j)}}))}))}},91764:(S,E,k)=>{"use strict";Object.defineProperty(E,"__esModule",{value:true});E.isAnonymous=isAnonymous;E.getSectionMetadata=getSectionMetadata;E.getSectionMetadatas=getSectionMetadatas;E.sortSectionMetadata=sortSectionMetadata;E.orderedInsertNode=orderedInsertNode;E.assertHasLoc=assertHasLoc;E.getEndOfSection=getEndOfSection;E.shiftLoc=shiftLoc;E.shiftSection=shiftSection;E.signatureForOpcode=signatureForOpcode;E.getUniqueNameGenerator=getUniqueNameGenerator;E.getStartByteOffset=getStartByteOffset;E.getEndByteOffset=getEndByteOffset;E.getFunctionBeginingByteOffset=getFunctionBeginingByteOffset;E.getEndBlockByteOffset=getEndBlockByteOffset;E.getStartBlockByteOffset=getStartBlockByteOffset;var w=k(75769);var N=k(22056);var j=_interopRequireWildcard(k(3930));function _interopRequireWildcard(S){if(S&&S.__esModule){return S}else{var E={};if(S!=null){for(var k in S){if(Object.prototype.hasOwnProperty.call(S,k)){var w=Object.defineProperty&&Object.getOwnPropertyDescriptor?Object.getOwnPropertyDescriptor(S,k):{};if(w.get||w.set){Object.defineProperty(E,k,w)}else{E[k]=S[k]}}}}E.default=S;return E}}function _sliceIterator(S,E){var k=[];var w=true;var N=false;var j=undefined;try{for(var q=S[Symbol.iterator](),ee;!(w=(ee=q.next()).done);w=true){k.push(ee.value);if(E&&k.length===E)break}}catch(S){N=true;j=S}finally{try{if(!w&&q["return"]!=null)q["return"]()}finally{if(N)throw j}}return k}function _slicedToArray(S,E){if(Array.isArray(S)){return S}else if(Symbol.iterator in Object(S)){return _sliceIterator(S,E)}else{throw new TypeError("Invalid attempt to destructure non-iterable instance")}}function _typeof(S){if(typeof Symbol==="function"&&typeof Symbol.iterator==="symbol"){_typeof=function _typeof(S){return typeof S}}else{_typeof=function _typeof(S){return S&&typeof Symbol==="function"&&S.constructor===Symbol&&S!==Symbol.prototype?"symbol":typeof S}}return _typeof(S)}function isAnonymous(S){return S.raw===""}function getSectionMetadata(S,E){var k;(0,N.traverse)(S,{SectionMetadata:function(S){function SectionMetadata(E){return S.apply(this,arguments)}SectionMetadata.toString=function(){return S.toString()};return SectionMetadata}((function(S){var w=S.node;if(w.section===E){k=w}}))});return k}function getSectionMetadatas(S,E){var k=[];(0,N.traverse)(S,{SectionMetadata:function(S){function SectionMetadata(E){return S.apply(this,arguments)}SectionMetadata.toString=function(){return S.toString()};return SectionMetadata}((function(S){var w=S.node;if(w.section===E){k.push(w)}}))});return k}function sortSectionMetadata(S){if(S.metadata==null){console.warn("sortSectionMetadata: no metadata to sort");return}S.metadata.sections.sort((function(S,E){var k=j.default.sections[S.section];var w=j.default.sections[E.section];if(typeof k!=="number"||typeof w!=="number"){throw new Error("Section id not found")}return k-w}))}function orderedInsertNode(S,E){assertHasLoc(E);var k=false;if(E.type==="ModuleExport"){S.fields.push(E);return}S.fields=S.fields.reduce((function(S,w){var N=Infinity;if(w.loc!=null){N=w.loc.end.column}if(k===false&&E.loc.start.column0&&arguments[0]!==undefined?arguments[0]:"temp";if(!(E in S)){S[E]=0}else{S[E]=S[E]+1}return E+"_"+S[E]}}function getStartByteOffset(S){if(typeof S.loc==="undefined"||typeof S.loc.start==="undefined"){throw new Error("Can not get byte offset without loc informations, node: "+String(S.id))}return S.loc.start.column}function getEndByteOffset(S){if(typeof S.loc==="undefined"||typeof S.loc.end==="undefined"){throw new Error("Can not get byte offset without loc informations, node: "+S.type)}return S.loc.end.column}function getFunctionBeginingByteOffset(S){if(!(S.body.length>0)){throw new Error("n.body.length > 0"+" error: "+(undefined||"unknown"))}var E=_slicedToArray(S.body,1),k=E[0];return getStartByteOffset(k)}function getEndBlockByteOffset(S){if(!(S.instr.length>0||S.body.length>0)){throw new Error("n.instr.length > 0 || n.body.length > 0"+" error: "+(undefined||"unknown"))}var E;if(S.instr){E=S.instr[S.instr.length-1]}if(S.body){E=S.body[S.body.length-1]}if(!(_typeof(E)==="object")){throw new Error('typeof lastInstruction === "object"'+" error: "+(undefined||"unknown"))}return getStartByteOffset(E)}function getStartBlockByteOffset(S){if(!(S.instr.length>0||S.body.length>0)){throw new Error("n.instr.length > 0 || n.body.length > 0"+" error: "+(undefined||"unknown"))}var E;if(S.instr){var k=_slicedToArray(S.instr,1);E=k[0]}if(S.body){var w=_slicedToArray(S.body,1);E=w[0]}if(!(_typeof(E)==="object")){throw new Error('typeof fistInstruction === "object"'+" error: "+(undefined||"unknown"))}return getStartByteOffset(E)}},18083:(S,E)=>{"use strict";Object.defineProperty(E,"__esModule",{value:true});E.default=parse;function parse(S){S=S.toUpperCase();var E=S.indexOf("P");var k,w;if(E!==-1){k=S.substring(0,E);w=parseInt(S.substring(E+1))}else{k=S;w=0}var N=k.indexOf(".");if(N!==-1){var j=parseInt(k.substring(0,N),16);var q=Math.sign(j);j=q*j;var ee=k.length-N-1;var te=parseInt(k.substring(N+1),16);var ne=ee>0?te/Math.pow(16,ee):0;if(q===0){if(ne===0){k=q}else{if(Object.is(q,-0)){k=-ne}else{k=ne}}}else{k=q*(j+ne)}}else{k=parseInt(k,16)}return k*(E!==-1?Math.pow(2,w):1)}},35866:(S,E)=>{"use strict";Object.defineProperty(E,"__esModule",{value:true});E.LinkError=E.CompileError=E.RuntimeError=void 0;function _typeof(S){if(typeof Symbol==="function"&&typeof Symbol.iterator==="symbol"){_typeof=function _typeof(S){return typeof S}}else{_typeof=function _typeof(S){return S&&typeof Symbol==="function"&&S.constructor===Symbol&&S!==Symbol.prototype?"symbol":typeof S}}return _typeof(S)}function _classCallCheck(S,E){if(!(S instanceof E)){throw new TypeError("Cannot call a class as a function")}}function _possibleConstructorReturn(S,E){if(E&&(_typeof(E)==="object"||typeof E==="function")){return E}if(!S){throw new ReferenceError("this hasn't been initialised - super() hasn't been called")}return S}function _inherits(S,E){if(typeof E!=="function"&&E!==null){throw new TypeError("Super expression must either be null or a function")}S.prototype=Object.create(E&&E.prototype,{constructor:{value:S,enumerable:false,writable:true,configurable:true}});if(E)Object.setPrototypeOf?Object.setPrototypeOf(S,E):S.__proto__=E}var k=function(S){_inherits(RuntimeError,S);function RuntimeError(){_classCallCheck(this,RuntimeError);return _possibleConstructorReturn(this,(RuntimeError.__proto__||Object.getPrototypeOf(RuntimeError)).apply(this,arguments))}return RuntimeError}(Error);E.RuntimeError=k;var w=function(S){_inherits(CompileError,S);function CompileError(){_classCallCheck(this,CompileError);return _possibleConstructorReturn(this,(CompileError.__proto__||Object.getPrototypeOf(CompileError)).apply(this,arguments))}return CompileError}(Error);E.CompileError=w;var N=function(S){_inherits(LinkError,S);function LinkError(){_classCallCheck(this,LinkError);return _possibleConstructorReturn(this,(LinkError.__proto__||Object.getPrototypeOf(LinkError)).apply(this,arguments))}return LinkError}(Error);E.LinkError=N},3104:(S,E)=>{"use strict";Object.defineProperty(E,"__esModule",{value:true});E.overrideBytesInBuffer=overrideBytesInBuffer;E.makeBuffer=makeBuffer;E.fromHexdump=fromHexdump;function _toConsumableArray(S){if(Array.isArray(S)){for(var E=0,k=new Array(S.length);E{"use strict";Object.defineProperty(E,"__esModule",{value:true});E.parse32F=parse32F;E.parse64F=parse64F;E.parse32I=parse32I;E.parseU32=parseU32;E.parse64I=parse64I;E.isInfLiteral=isInfLiteral;E.isNanLiteral=isNanLiteral;var w=_interopRequireDefault(k(11174));var N=_interopRequireDefault(k(18083));var j=k(35866);function _interopRequireDefault(S){return S&&S.__esModule?S:{default:S}}function parse32F(S){if(isHexLiteral(S)){return(0,N.default)(S)}if(isInfLiteral(S)){return S[0]==="-"?-1:1}if(isNanLiteral(S)){return(S[0]==="-"?-1:1)*(S.includes(":")?parseInt(S.substring(S.indexOf(":")+1),16):4194304)}return parseFloat(S)}function parse64F(S){if(isHexLiteral(S)){return(0,N.default)(S)}if(isInfLiteral(S)){return S[0]==="-"?-1:1}if(isNanLiteral(S)){return(S[0]==="-"?-1:1)*(S.includes(":")?parseInt(S.substring(S.indexOf(":")+1),16):0x8000000000000)}if(isHexLiteral(S)){return(0,N.default)(S)}return parseFloat(S)}function parse32I(S){var E=0;if(isHexLiteral(S)){E=~~parseInt(S,16)}else if(isDecimalExponentLiteral(S)){throw new Error("This number literal format is yet to be implemented.")}else{E=parseInt(S,10)}return E}function parseU32(S){var E=parse32I(S);if(E<0){throw new j.CompileError("Illegal value for u32: "+S)}return E}function parse64I(S){var E;if(isHexLiteral(S)){E=w.default.fromString(S,false,16)}else if(isDecimalExponentLiteral(S)){throw new Error("This number literal format is yet to be implemented.")}else{E=w.default.fromString(S)}return{high:E.high,low:E.low}}var q=/^\+?-?nan/;var ee=/^\+?-?inf/;function isInfLiteral(S){return ee.test(S.toLowerCase())}function isNanLiteral(S){return q.test(S.toLowerCase())}function isDecimalExponentLiteral(S){return!isHexLiteral(S)&&S.toUpperCase().includes("E")}function isHexLiteral(S){return S.substring(0,2).toUpperCase()==="0X"||S.substring(0,3).toUpperCase()==="-0X"}},3930:(S,E,k)=>{"use strict";Object.defineProperty(E,"__esModule",{value:true});Object.defineProperty(E,"getSectionForNode",{enumerable:true,get:function get(){return w.getSectionForNode}});E.default=void 0;var w=k(55474);var N="illegal";var j=[0,97,115,109];var q=[1,0,0,0];function invertMap(S){var E=arguments.length>1&&arguments[1]!==undefined?arguments[1]:function(S){return S};var k={};var w=Object.keys(S);for(var N=0,j=w.length;N2&&arguments[2]!==undefined?arguments[2]:0;return{name:S,object:E,numberOfArgs:k}}function createSymbol(S){var E=arguments.length>1&&arguments[1]!==undefined?arguments[1]:0;return{name:S,numberOfArgs:E}}var ee={func:96,result:64};var te={0:"Func",1:"Table",2:"Mem",3:"Global"};var ne=invertMap(te);var ae={127:"i32",126:"i64",125:"f32",124:"f64",123:"v128"};var _e=invertMap(ae);var ve={112:"anyfunc"};var Ee=Object.assign({},ae,{64:null,127:"i32",126:"i64",125:"f32",124:"f64"});var Te={0:"const",1:"var"};var Ce=invertMap(Te);var we={0:"func",1:"table",2:"mem",3:"global"};var Ne={custom:0,type:1,import:2,func:3,table:4,memory:5,global:6,export:7,start:8,element:9,code:10,data:11};var Ie={0:createSymbol("unreachable"),1:createSymbol("nop"),2:createSymbol("block"),3:createSymbol("loop"),4:createSymbol("if"),5:createSymbol("else"),6:N,7:N,8:N,9:N,10:N,11:createSymbol("end"),12:createSymbol("br",1),13:createSymbol("br_if",1),14:createSymbol("br_table"),15:createSymbol("return"),16:createSymbol("call",1),17:createSymbol("call_indirect",2),18:N,19:N,20:N,21:N,22:N,23:N,24:N,25:N,26:createSymbol("drop"),27:createSymbol("select"),28:N,29:N,30:N,31:N,32:createSymbol("get_local",1),33:createSymbol("set_local",1),34:createSymbol("tee_local",1),35:createSymbol("get_global",1),36:createSymbol("set_global",1),37:N,38:N,39:N,40:createSymbolObject("load","u32",1),41:createSymbolObject("load","u64",1),42:createSymbolObject("load","f32",1),43:createSymbolObject("load","f64",1),44:createSymbolObject("load8_s","u32",1),45:createSymbolObject("load8_u","u32",1),46:createSymbolObject("load16_s","u32",1),47:createSymbolObject("load16_u","u32",1),48:createSymbolObject("load8_s","u64",1),49:createSymbolObject("load8_u","u64",1),50:createSymbolObject("load16_s","u64",1),51:createSymbolObject("load16_u","u64",1),52:createSymbolObject("load32_s","u64",1),53:createSymbolObject("load32_u","u64",1),54:createSymbolObject("store","u32",1),55:createSymbolObject("store","u64",1),56:createSymbolObject("store","f32",1),57:createSymbolObject("store","f64",1),58:createSymbolObject("store8","u32",1),59:createSymbolObject("store16","u32",1),60:createSymbolObject("store8","u64",1),61:createSymbolObject("store16","u64",1),62:createSymbolObject("store32","u64",1),63:createSymbolObject("current_memory"),64:createSymbolObject("grow_memory"),65:createSymbolObject("const","i32",1),66:createSymbolObject("const","i64",1),67:createSymbolObject("const","f32",1),68:createSymbolObject("const","f64",1),69:createSymbolObject("eqz","i32"),70:createSymbolObject("eq","i32"),71:createSymbolObject("ne","i32"),72:createSymbolObject("lt_s","i32"),73:createSymbolObject("lt_u","i32"),74:createSymbolObject("gt_s","i32"),75:createSymbolObject("gt_u","i32"),76:createSymbolObject("le_s","i32"),77:createSymbolObject("le_u","i32"),78:createSymbolObject("ge_s","i32"),79:createSymbolObject("ge_u","i32"),80:createSymbolObject("eqz","i64"),81:createSymbolObject("eq","i64"),82:createSymbolObject("ne","i64"),83:createSymbolObject("lt_s","i64"),84:createSymbolObject("lt_u","i64"),85:createSymbolObject("gt_s","i64"),86:createSymbolObject("gt_u","i64"),87:createSymbolObject("le_s","i64"),88:createSymbolObject("le_u","i64"),89:createSymbolObject("ge_s","i64"),90:createSymbolObject("ge_u","i64"),91:createSymbolObject("eq","f32"),92:createSymbolObject("ne","f32"),93:createSymbolObject("lt","f32"),94:createSymbolObject("gt","f32"),95:createSymbolObject("le","f32"),96:createSymbolObject("ge","f32"),97:createSymbolObject("eq","f64"),98:createSymbolObject("ne","f64"),99:createSymbolObject("lt","f64"),100:createSymbolObject("gt","f64"),101:createSymbolObject("le","f64"),102:createSymbolObject("ge","f64"),103:createSymbolObject("clz","i32"),104:createSymbolObject("ctz","i32"),105:createSymbolObject("popcnt","i32"),106:createSymbolObject("add","i32"),107:createSymbolObject("sub","i32"),108:createSymbolObject("mul","i32"),109:createSymbolObject("div_s","i32"),110:createSymbolObject("div_u","i32"),111:createSymbolObject("rem_s","i32"),112:createSymbolObject("rem_u","i32"),113:createSymbolObject("and","i32"),114:createSymbolObject("or","i32"),115:createSymbolObject("xor","i32"),116:createSymbolObject("shl","i32"),117:createSymbolObject("shr_s","i32"),118:createSymbolObject("shr_u","i32"),119:createSymbolObject("rotl","i32"),120:createSymbolObject("rotr","i32"),121:createSymbolObject("clz","i64"),122:createSymbolObject("ctz","i64"),123:createSymbolObject("popcnt","i64"),124:createSymbolObject("add","i64"),125:createSymbolObject("sub","i64"),126:createSymbolObject("mul","i64"),127:createSymbolObject("div_s","i64"),128:createSymbolObject("div_u","i64"),129:createSymbolObject("rem_s","i64"),130:createSymbolObject("rem_u","i64"),131:createSymbolObject("and","i64"),132:createSymbolObject("or","i64"),133:createSymbolObject("xor","i64"),134:createSymbolObject("shl","i64"),135:createSymbolObject("shr_s","i64"),136:createSymbolObject("shr_u","i64"),137:createSymbolObject("rotl","i64"),138:createSymbolObject("rotr","i64"),139:createSymbolObject("abs","f32"),140:createSymbolObject("neg","f32"),141:createSymbolObject("ceil","f32"),142:createSymbolObject("floor","f32"),143:createSymbolObject("trunc","f32"),144:createSymbolObject("nearest","f32"),145:createSymbolObject("sqrt","f32"),146:createSymbolObject("add","f32"),147:createSymbolObject("sub","f32"),148:createSymbolObject("mul","f32"),149:createSymbolObject("div","f32"),150:createSymbolObject("min","f32"),151:createSymbolObject("max","f32"),152:createSymbolObject("copysign","f32"),153:createSymbolObject("abs","f64"),154:createSymbolObject("neg","f64"),155:createSymbolObject("ceil","f64"),156:createSymbolObject("floor","f64"),157:createSymbolObject("trunc","f64"),158:createSymbolObject("nearest","f64"),159:createSymbolObject("sqrt","f64"),160:createSymbolObject("add","f64"),161:createSymbolObject("sub","f64"),162:createSymbolObject("mul","f64"),163:createSymbolObject("div","f64"),164:createSymbolObject("min","f64"),165:createSymbolObject("max","f64"),166:createSymbolObject("copysign","f64"),167:createSymbolObject("wrap/i64","i32"),168:createSymbolObject("trunc_s/f32","i32"),169:createSymbolObject("trunc_u/f32","i32"),170:createSymbolObject("trunc_s/f64","i32"),171:createSymbolObject("trunc_u/f64","i32"),172:createSymbolObject("extend_s/i32","i64"),173:createSymbolObject("extend_u/i32","i64"),174:createSymbolObject("trunc_s/f32","i64"),175:createSymbolObject("trunc_u/f32","i64"),176:createSymbolObject("trunc_s/f64","i64"),177:createSymbolObject("trunc_u/f64","i64"),178:createSymbolObject("convert_s/i32","f32"),179:createSymbolObject("convert_u/i32","f32"),180:createSymbolObject("convert_s/i64","f32"),181:createSymbolObject("convert_u/i64","f32"),182:createSymbolObject("demote/f64","f32"),183:createSymbolObject("convert_s/i32","f64"),184:createSymbolObject("convert_u/i32","f64"),185:createSymbolObject("convert_s/i64","f64"),186:createSymbolObject("convert_u/i64","f64"),187:createSymbolObject("promote/f32","f64"),188:createSymbolObject("reinterpret/f32","i32"),189:createSymbolObject("reinterpret/f64","i64"),190:createSymbolObject("reinterpret/i32","f32"),191:createSymbolObject("reinterpret/i64","f64"),65024:createSymbol("memory.atomic.notify",1),65025:createSymbol("memory.atomic.wait32",1),65026:createSymbol("memory.atomic.wait64",1),65040:createSymbolObject("atomic.load","i32",1),65041:createSymbolObject("atomic.load","i64",1),65042:createSymbolObject("atomic.load8_u","i32",1),65043:createSymbolObject("atomic.load16_u","i32",1),65044:createSymbolObject("atomic.load8_u","i64",1),65045:createSymbolObject("atomic.load16_u","i64",1),65046:createSymbolObject("atomic.load32_u","i64",1),65047:createSymbolObject("atomic.store","i32",1),65048:createSymbolObject("atomic.store","i64",1),65049:createSymbolObject("atomic.store8_u","i32",1),65050:createSymbolObject("atomic.store16_u","i32",1),65051:createSymbolObject("atomic.store8_u","i64",1),65052:createSymbolObject("atomic.store16_u","i64",1),65053:createSymbolObject("atomic.store32_u","i64",1),65054:createSymbolObject("atomic.rmw.add","i32",1),65055:createSymbolObject("atomic.rmw.add","i64",1),65056:createSymbolObject("atomic.rmw8_u.add_u","i32",1),65057:createSymbolObject("atomic.rmw16_u.add_u","i32",1),65058:createSymbolObject("atomic.rmw8_u.add_u","i64",1),65059:createSymbolObject("atomic.rmw16_u.add_u","i64",1),65060:createSymbolObject("atomic.rmw32_u.add_u","i64",1),65061:createSymbolObject("atomic.rmw.sub","i32",1),65062:createSymbolObject("atomic.rmw.sub","i64",1),65063:createSymbolObject("atomic.rmw8_u.sub_u","i32",1),65064:createSymbolObject("atomic.rmw16_u.sub_u","i32",1),65065:createSymbolObject("atomic.rmw8_u.sub_u","i64",1),65066:createSymbolObject("atomic.rmw16_u.sub_u","i64",1),65067:createSymbolObject("atomic.rmw32_u.sub_u","i64",1),65068:createSymbolObject("atomic.rmw.and","i32",1),65069:createSymbolObject("atomic.rmw.and","i64",1),65070:createSymbolObject("atomic.rmw8_u.and_u","i32",1),65071:createSymbolObject("atomic.rmw16_u.and_u","i32",1),65072:createSymbolObject("atomic.rmw8_u.and_u","i64",1),65073:createSymbolObject("atomic.rmw16_u.and_u","i64",1),65074:createSymbolObject("atomic.rmw32_u.and_u","i64",1),65075:createSymbolObject("atomic.rmw.or","i32",1),65076:createSymbolObject("atomic.rmw.or","i64",1),65077:createSymbolObject("atomic.rmw8_u.or_u","i32",1),65078:createSymbolObject("atomic.rmw16_u.or_u","i32",1),65079:createSymbolObject("atomic.rmw8_u.or_u","i64",1),65080:createSymbolObject("atomic.rmw16_u.or_u","i64",1),65081:createSymbolObject("atomic.rmw32_u.or_u","i64",1),65082:createSymbolObject("atomic.rmw.xor","i32",1),65083:createSymbolObject("atomic.rmw.xor","i64",1),65084:createSymbolObject("atomic.rmw8_u.xor_u","i32",1),65085:createSymbolObject("atomic.rmw16_u.xor_u","i32",1),65086:createSymbolObject("atomic.rmw8_u.xor_u","i64",1),65087:createSymbolObject("atomic.rmw16_u.xor_u","i64",1),65088:createSymbolObject("atomic.rmw32_u.xor_u","i64",1),65089:createSymbolObject("atomic.rmw.xchg","i32",1),65090:createSymbolObject("atomic.rmw.xchg","i64",1),65091:createSymbolObject("atomic.rmw8_u.xchg_u","i32",1),65092:createSymbolObject("atomic.rmw16_u.xchg_u","i32",1),65093:createSymbolObject("atomic.rmw8_u.xchg_u","i64",1),65094:createSymbolObject("atomic.rmw16_u.xchg_u","i64",1),65095:createSymbolObject("atomic.rmw32_u.xchg_u","i64",1),65096:createSymbolObject("atomic.rmw.cmpxchg","i32",1),65097:createSymbolObject("atomic.rmw.cmpxchg","i64",1),65098:createSymbolObject("atomic.rmw8_u.cmpxchg_u","i32",1),65099:createSymbolObject("atomic.rmw16_u.cmpxchg_u","i32",1),65100:createSymbolObject("atomic.rmw8_u.cmpxchg_u","i64",1),65101:createSymbolObject("atomic.rmw16_u.cmpxchg_u","i64",1),65102:createSymbolObject("atomic.rmw32_u.cmpxchg_u","i64",1)};var Fe=invertMap(Ie,(function(S){if(typeof S.object==="string"){return"".concat(S.object,".").concat(S.name)}return S.name}));var Oe={symbolsByByte:Ie,sections:Ne,magicModuleHeader:j,moduleVersion:q,types:ee,valtypes:ae,exportTypes:te,blockTypes:Ee,tableTypes:ve,globalTypes:Te,importTypes:we,valtypesByString:_e,globalTypesByString:Ce,exportTypesByName:ne,symbolsByName:Fe};E.default=Oe},55474:(S,E)=>{"use strict";Object.defineProperty(E,"__esModule",{value:true});E.getSectionForNode=getSectionForNode;function getSectionForNode(S){switch(S.type){case"ModuleImport":return"import";case"CallInstruction":case"CallIndirectInstruction":case"Func":case"Instr":return"code";case"ModuleExport":return"export";case"Start":return"start";case"TypeInstruction":return"type";case"IndexInFuncSection":return"func";case"Global":return"global";default:return}}},97961:(S,E,k)=>{"use strict";Object.defineProperty(E,"__esModule",{value:true});E.createEmptySection=createEmptySection;var w=k(44166);var N=k(3104);var j=_interopRequireDefault(k(3930));var q=_interopRequireWildcard(k(98093));function _interopRequireWildcard(S){if(S&&S.__esModule){return S}else{var E={};if(S!=null){for(var k in S){if(Object.prototype.hasOwnProperty.call(S,k)){var w=Object.defineProperty&&Object.getOwnPropertyDescriptor?Object.getOwnPropertyDescriptor(S,k):{};if(w.get||w.set){Object.defineProperty(E,k,w)}else{E[k]=S[k]}}}}E.default=S;return E}}function _interopRequireDefault(S){return S&&S.__esModule?S:{default:S}}function _typeof(S){if(typeof Symbol==="function"&&typeof Symbol.iterator==="symbol"){_typeof=function _typeof(S){return typeof S}}else{_typeof=function _typeof(S){return S&&typeof Symbol==="function"&&S.constructor===Symbol&&S!==Symbol.prototype?"symbol":typeof S}}return _typeof(S)}function findLastSection(S,E){var k=j.default.sections[E];var w=S.body[0].metadata.sections;var N;var q=0;for(var ee=0,te=w.length;eeq&&k{"use strict";Object.defineProperty(E,"__esModule",{value:true});Object.defineProperty(E,"resizeSectionByteSize",{enumerable:true,get:function get(){return w.resizeSectionByteSize}});Object.defineProperty(E,"resizeSectionVecSize",{enumerable:true,get:function get(){return w.resizeSectionVecSize}});Object.defineProperty(E,"createEmptySection",{enumerable:true,get:function get(){return N.createEmptySection}});Object.defineProperty(E,"removeSections",{enumerable:true,get:function get(){return j.removeSections}});var w=k(35369);var N=k(97961);var j=k(96744)},96744:(S,E,k)=>{"use strict";Object.defineProperty(E,"__esModule",{value:true});E.removeSections=removeSections;var w=k(98093);var N=k(3104);function removeSections(S,E,k){var j=(0,w.getSectionMetadatas)(S,k);if(j.length===0){throw new Error("Section metadata not found")}return j.reverse().reduce((function(E,j){var q=j.startOffset-1;var ee=k==="start"?j.size.loc.end.column+1:j.startOffset+j.size.value+1;var te=-(ee-q);var ne=false;(0,w.traverse)(S,{SectionMetadata:function SectionMetadata(E){if(E.node.section===k){ne=true;return E.remove()}if(ne===true){(0,w.shiftSection)(S,E.node,te)}}});var ae=[];return(0,N.overrideBytesInBuffer)(E,q,ee,ae)}),E)}},35369:(S,E,k)=>{"use strict";Object.defineProperty(E,"__esModule",{value:true});E.resizeSectionByteSize=resizeSectionByteSize;E.resizeSectionVecSize=resizeSectionVecSize;var w=k(44166);var N=k(98093);var j=k(3104);function resizeSectionByteSize(S,E,k,q){var ee=(0,N.getSectionMetadata)(S,k);if(typeof ee==="undefined"){throw new Error("Section metadata not found")}if(typeof ee.size.loc==="undefined"){throw new Error("SectionMetadata "+k+" has no loc")}var te=ee.size.loc.start.column;var ne=ee.size.loc.end.column;var ae=ee.size.value+q;var _e=(0,w.encodeU32)(ae);ee.size.value=ae;var ve=ne-te;var Ee=_e.length;if(Ee!==ve){var Te=Ee-ve;ee.size.loc.end.column=te+Ee;q+=Te;ee.vectorOfSize.loc.start.column+=Te;ee.vectorOfSize.loc.end.column+=Te}var Ce=false;(0,N.traverse)(S,{SectionMetadata:function SectionMetadata(E){if(E.node.section===k){Ce=true;return}if(Ce===true){(0,N.shiftSection)(S,E.node,q)}}});return(0,j.overrideBytesInBuffer)(E,te,ne,_e)}function resizeSectionVecSize(S,E,k,q){var ee=(0,N.getSectionMetadata)(S,k);if(typeof ee==="undefined"){throw new Error("Section metadata not found")}if(typeof ee.vectorOfSize.loc==="undefined"){throw new Error("SectionMetadata "+k+" has no loc")}if(ee.vectorOfSize.value===-1){return E}var te=ee.vectorOfSize.loc.start.column;var ne=ee.vectorOfSize.loc.end.column;var ae=ee.vectorOfSize.value+q;var _e=(0,w.encodeU32)(ae);ee.vectorOfSize.value=ae;ee.vectorOfSize.loc.end.column=te+_e.length;return(0,j.overrideBytesInBuffer)(E,te,ne,_e)}},48:(S,E,k)=>{"use strict";Object.defineProperty(E,"__esModule",{value:true});E.encodeF32=encodeF32;E.encodeF64=encodeF64;E.decodeF32=decodeF32;E.decodeF64=decodeF64;E.DOUBLE_PRECISION_MANTISSA=E.SINGLE_PRECISION_MANTISSA=E.NUMBER_OF_BYTE_F64=E.NUMBER_OF_BYTE_F32=void 0;var w=k(3158);var N=4;E.NUMBER_OF_BYTE_F32=N;var j=8;E.NUMBER_OF_BYTE_F64=j;var q=23;E.SINGLE_PRECISION_MANTISSA=q;var ee=52;E.DOUBLE_PRECISION_MANTISSA=ee;function encodeF32(S){var E=[];(0,w.write)(E,S,0,true,q,N);return E}function encodeF64(S){var E=[];(0,w.write)(E,S,0,true,ee,j);return E}function decodeF32(S){var E=Buffer.from(S);return(0,w.read)(E,0,true,q,N)}function decodeF64(S){var E=Buffer.from(S);return(0,w.read)(E,0,true,ee,j)}},90683:(S,E)=>{"use strict";Object.defineProperty(E,"__esModule",{value:true});E.extract=extract;E.inject=inject;E.getSign=getSign;E.highOrder=highOrder;function extract(S,E,k,w){if(k<0||k>32){throw new Error("Bad value for bitLength.")}if(w===undefined){w=0}else if(w!==0&&w!==1){throw new Error("Bad value for defaultBit.")}var N=w*255;var j=0;var q=E+k;var ee=Math.floor(E/8);var te=E%8;var ne=Math.floor(q/8);var ae=q%8;if(ae!==0){j=get(ne)&(1<ee){ne--;j=j<<8|get(ne)}j>>>=te;return j;function get(E){var k=S[E];return k===undefined?N:k}}function inject(S,E,k,w){if(k<0||k>32){throw new Error("Bad value for bitLength.")}var N=Math.floor((E+k-1)/8);if(E<0||N>=S.length){throw new Error("Index out of range.")}var j=Math.floor(E/8);var q=E%8;while(k>0){if(w&1){S[j]|=1<>=1;k--;q=(q+1)%8;if(q===0){j++}}}function getSign(S){return S[S.length-1]>>>7}function highOrder(S,E){var k=E.length;var w=(S^1)*255;while(k>0&&E[k-1]===w){k--}if(k===0){return-1}var N=E[k-1];var j=k*8-1;for(var q=7;q>0;q--){if((N>>q&1)===S){break}j--}return j}},1779:(S,E)=>{"use strict";Object.defineProperty(E,"__esModule",{value:true});E.alloc=alloc;E.free=free;E.resize=resize;E.readInt=readInt;E.readUInt=readUInt;E.writeInt64=writeInt64;E.writeUInt64=writeUInt64;var k=[];var w=20;var N=-0x8000000000000000;var j=0x7ffffffffffffc00;var q=0xfffffffffffff800;var ee=4294967296;var te=0x10000000000000000;function lowestBit(S){return S&-S}function isLossyToAdd(S,E){if(E===0){return false}var k=lowestBit(E);var w=S+k;if(w===S){return true}if(w-k!==S){return true}return false}function alloc(S){var E=k[S];if(E){k[S]=undefined}else{E=new Buffer(S)}E.fill(0);return E}function free(S){var E=S.length;if(E=0;j--){w=w*256+S[j]}}else{for(var q=E-1;q>=0;q--){var ee=S[q];w*=256;if(isLossyToAdd(w,ee)){N=true}w+=ee}}return{value:w,lossy:N}}function readUInt(S){var E=S.length;var k=0;var w=false;if(E<7){for(var N=E-1;N>=0;N--){k=k*256+S[N]}}else{for(var j=E-1;j>=0;j--){var q=S[j];k*=256;if(isLossyToAdd(k,q)){w=true}k+=q}}return{value:k,lossy:w}}function writeInt64(S,E){if(Sj){throw new Error("Value out of range.")}if(S<0){S+=te}writeUInt64(S,E)}function writeUInt64(S,E){if(S<0||S>q){throw new Error("Value out of range.")}var k=S%ee;var w=Math.floor(S/ee);E.writeUInt32LE(k,0);E.writeUInt32LE(w,4)}},39784:(S,E,k)=>{"use strict";Object.defineProperty(E,"__esModule",{value:true});E.decodeInt64=decodeInt64;E.decodeUInt64=decodeUInt64;E.decodeInt32=decodeInt32;E.decodeUInt32=decodeUInt32;E.encodeU32=encodeU32;E.encodeI32=encodeI32;E.encodeI64=encodeI64;E.MAX_NUMBER_OF_BYTE_U64=E.MAX_NUMBER_OF_BYTE_U32=void 0;var w=_interopRequireDefault(k(83082));function _interopRequireDefault(S){return S&&S.__esModule?S:{default:S}}var N=5;E.MAX_NUMBER_OF_BYTE_U32=N;var j=10;E.MAX_NUMBER_OF_BYTE_U64=j;function decodeInt64(S,E){return w.default.decodeInt64(S,E)}function decodeUInt64(S,E){return w.default.decodeUInt64(S,E)}function decodeInt32(S,E){return w.default.decodeInt32(S,E)}function decodeUInt32(S,E){return w.default.decodeUInt32(S,E)}function encodeU32(S){return w.default.encodeUInt32(S)}function encodeI32(S){return w.default.encodeInt32(S)}function encodeI64(S){return w.default.encodeInt64(S)}},83082:(S,E,k)=>{"use strict";Object.defineProperty(E,"__esModule",{value:true});E.default=void 0;var w=_interopRequireDefault(k(11174));var N=_interopRequireWildcard(k(90683));var j=_interopRequireWildcard(k(1779));function _interopRequireWildcard(S){if(S&&S.__esModule){return S}else{var E={};if(S!=null){for(var k in S){if(Object.prototype.hasOwnProperty.call(S,k)){var w=Object.defineProperty&&Object.getOwnPropertyDescriptor?Object.getOwnPropertyDescriptor(S,k):{};if(w.get||w.set){Object.defineProperty(E,k,w)}else{E[k]=S[k]}}}}E.default=S;return E}}function _interopRequireDefault(S){return S&&S.__esModule?S:{default:S}}var q=-2147483648;var ee=2147483647;var te=4294967295;function signedBitCount(S){return N.highOrder(N.getSign(S)^1,S)+2}function unsignedBitCount(S){var E=N.highOrder(1,S)+1;return E?E:1}function encodeBufferCommon(S,E){var k;var w;if(E){k=N.getSign(S);w=signedBitCount(S)}else{k=0;w=unsignedBitCount(S)}var q=Math.ceil(w/7);var ee=j.alloc(q);for(var te=0;te=128){k++}k++;if(E+k>S.length){}return k}function decodeBufferCommon(S,E,k){E=E===undefined?0:E;var w=encodedLength(S,E);var q=w*7;var ee=Math.ceil(q/8);var te=j.alloc(ee);var ne=0;while(w>0){N.inject(te,ne,7,S[E]);ne+=7;E++;w--}var ae;var _e;if(k){var ve=te[ee-1];var Ee=ne%8;if(Ee!==0){var Te=32-Ee;ve=te[ee-1]=ve<>Te&255}ae=ve>>7;_e=ae*255}else{ae=0;_e=0}while(ee>1&&te[ee-1]===_e&&(!k||te[ee-2]>>7===ae)){ee--}te=j.resize(te,ee);return{value:te,nextIndex:E}}function encodeIntBuffer(S){return encodeBufferCommon(S,true)}function decodeIntBuffer(S,E){return decodeBufferCommon(S,E,true)}function encodeInt32(S){var E=j.alloc(4);E.writeInt32LE(S,0);var k=encodeIntBuffer(E);j.free(E);return k}function decodeInt32(S,E){var k=decodeIntBuffer(S,E);var w=j.readInt(k.value);var N=w.value;j.free(k.value);if(Nee){throw new Error("integer too large")}return{value:N,nextIndex:k.nextIndex}}function encodeInt64(S){var E=j.alloc(8);j.writeInt64(S,E);var k=encodeIntBuffer(E);j.free(E);return k}function decodeInt64(S,E){var k=decodeIntBuffer(S,E);var N=w.default.fromBytesLE(k.value,false);j.free(k.value);return{value:N,nextIndex:k.nextIndex,lossy:false}}function encodeUIntBuffer(S){return encodeBufferCommon(S,false)}function decodeUIntBuffer(S,E){return decodeBufferCommon(S,E,false)}function encodeUInt32(S){var E=j.alloc(4);E.writeUInt32LE(S,0);var k=encodeUIntBuffer(E);j.free(E);return k}function decodeUInt32(S,E){var k=decodeUIntBuffer(S,E);var w=j.readUInt(k.value);var N=w.value;j.free(k.value);if(N>te){throw new Error("integer too large")}return{value:N,nextIndex:k.nextIndex}}function encodeUInt64(S){var E=j.alloc(8);j.writeUInt64(S,E);var k=encodeUIntBuffer(E);j.free(E);return k}function decodeUInt64(S,E){var k=decodeUIntBuffer(S,E);var N=w.default.fromBytesLE(k.value,true);j.free(k.value);return{value:N,nextIndex:k.nextIndex,lossy:false}}var ne={decodeInt32:decodeInt32,decodeInt64:decodeInt64,decodeIntBuffer:decodeIntBuffer,decodeUInt32:decodeUInt32,decodeUInt64:decodeUInt64,decodeUIntBuffer:decodeUIntBuffer,encodeInt32:encodeInt32,encodeInt64:encodeInt64,encodeIntBuffer:encodeIntBuffer,encodeUInt32:encodeUInt32,encodeUInt64:encodeUInt64,encodeUIntBuffer:encodeUIntBuffer};E.default=ne},85589:(S,E)=>{"use strict";Object.defineProperty(E,"__esModule",{value:true});E.decode=decode;function _toConsumableArray(S){if(Array.isArray(S)){for(var E=0,k=new Array(S.length);E=65536){throw new Error("invalid UTF-8 encoding")}else{return E}}function decode(S){return _decode(S).map((function(S){return String.fromCharCode(S)})).join("")}function _decode(S){if(S.length===0){return[]}{var E=_toArray(S),k=E[0],w=E.slice(1);if(k<128){return[code(0,k)].concat(_toConsumableArray(_decode(w)))}if(k<192){throw new Error("invalid UTF-8 encoding")}}{var N=_toArray(S),j=N[0],q=N[1],ee=N.slice(2);if(j<224){return[code(128,((j&31)<<6)+con(q))].concat(_toConsumableArray(_decode(ee)))}}{var te=_toArray(S),ne=te[0],ae=te[1],_e=te[2],ve=te.slice(3);if(ne<240){return[code(2048,((ne&15)<<12)+(con(ae)<<6)+con(_e))].concat(_toConsumableArray(_decode(ve)))}}{var Ee=_toArray(S),Te=Ee[0],Ce=Ee[1],we=Ee[2],Ne=Ee[3],Ie=Ee.slice(4);if(Te<248){return[code(65536,(((Te&7)<<18)+con(Ce)<<12)+(con(we)<<6)+con(Ne))].concat(_toConsumableArray(_decode(Ie)))}}throw new Error("invalid UTF-8 encoding")}},56264:(S,E)=>{"use strict";Object.defineProperty(E,"__esModule",{value:true});E.encode=encode;function _toConsumableArray(S){if(Array.isArray(S)){for(var E=0,k=new Array(S.length);E>>6,con(k)].concat(_toConsumableArray(_encode(w)))}if(k<65536){return[224|k>>>12,con(k>>>6),con(k)].concat(_toConsumableArray(_encode(w)))}if(k<1114112){return[240|k>>>18,con(k>>>12),con(k>>>6),con(k)].concat(_toConsumableArray(_encode(w)))}throw new Error("utf8")}},38040:(S,E,k)=>{"use strict";Object.defineProperty(E,"__esModule",{value:true});Object.defineProperty(E,"decode",{enumerable:true,get:function get(){return w.decode}});Object.defineProperty(E,"encode",{enumerable:true,get:function get(){return N.encode}});var w=k(85589);var N=k(56264)},17467:(S,E,k)=>{"use strict";Object.defineProperty(E,"__esModule",{value:true});E.applyOperations=applyOperations;var w=k(44166);var N=k(77445);var j=k(98093);var q=k(77246);var ee=k(3104);var te=k(3930);function _sliceIterator(S,E){var k=[];var w=true;var N=false;var j=undefined;try{for(var q=S[Symbol.iterator](),ee;!(w=(ee=q.next()).done);w=true){k.push(ee.value);if(E&&k.length===E)break}}catch(S){N=true;j=S}finally{try{if(!w&&q["return"]!=null)q["return"]()}finally{if(N)throw j}}return k}function _slicedToArray(S,E){if(Array.isArray(S)){return S}else if(Symbol.iterator in Object(S)){return _sliceIterator(S,E)}else{throw new TypeError("Invalid attempt to destructure non-iterable instance")}}function shiftLocNodeByDelta(S,E){(0,j.assertHasLoc)(S);S.loc.start.column+=E;S.loc.end.column+=E}function applyUpdate(S,E,k){var q=_slicedToArray(k,2),ne=q[0],ae=q[1];var _e=0;(0,j.assertHasLoc)(ne);var ve=(0,te.getSectionForNode)(ae);var Ee=(0,w.encodeNode)(ae);E=(0,ee.overrideBytesInBuffer)(E,ne.loc.start.column,ne.loc.end.column,Ee);if(ve==="code"){(0,j.traverse)(S,{Func:function Func(S){var k=S.node;var q=k.body.find((function(S){return S===ae}))!==undefined;if(q===true){(0,j.assertHasLoc)(k);var te=(0,w.encodeNode)(ne).length;var _e=Ee.length-te;if(_e!==0){var ve=k.metadata.bodySize+_e;var Te=(0,N.encodeU32)(ve);var Ce=k.loc.start.column;var we=Ce+1;E=(0,ee.overrideBytesInBuffer)(E,Ce,we,Te)}}}})}var Te=Ee.length-(ne.loc.end.column-ne.loc.start.column);ae.loc={start:{line:-1,column:-1},end:{line:-1,column:-1}};ae.loc.start.column=ne.loc.start.column;ae.loc.end.column=ne.loc.start.column+Ee.length;return{uint8Buffer:E,deltaBytes:Te,deltaElements:_e}}function applyDelete(S,E,k){var w=-1;(0,j.assertHasLoc)(k);var N=(0,te.getSectionForNode)(k);if(N==="start"){var ne=(0,j.getSectionMetadata)(S,"start");E=(0,q.removeSections)(S,E,"start");var ae=-(ne.size.value+1);return{uint8Buffer:E,deltaBytes:ae,deltaElements:w}}var _e=[];E=(0,ee.overrideBytesInBuffer)(E,k.loc.start.column,k.loc.end.column,_e);var ve=-(k.loc.end.column-k.loc.start.column);return{uint8Buffer:E,deltaBytes:ve,deltaElements:w}}function applyAdd(S,E,k){var N=+1;var ne=(0,te.getSectionForNode)(k);var ae=(0,j.getSectionMetadata)(S,ne);if(typeof ae==="undefined"){var _e=(0,q.createEmptySection)(S,E,ne);E=_e.uint8Buffer;ae=_e.sectionMetadata}if((0,j.isFunc)(k)){var ve=k.body;if(ve.length===0||ve[ve.length-1].id!=="end"){throw new Error("expressions must be ended")}}if((0,j.isGlobal)(k)){var ve=k.init;if(ve.length===0||ve[ve.length-1].id!=="end"){throw new Error("expressions must be ended")}}var Ee=(0,w.encodeNode)(k);var Te=(0,j.getEndOfSection)(ae);var Ce=Te;var we=Ee.length;E=(0,ee.overrideBytesInBuffer)(E,Te,Ce,Ee);k.loc={start:{line:-1,column:Te},end:{line:-1,column:Te+we}};if(k.type==="Func"){var Ne=Ee[0];k.metadata={bodySize:Ne}}if(k.type!=="IndexInFuncSection"){(0,j.orderedInsertNode)(S.body[0],k)}return{uint8Buffer:E,deltaBytes:we,deltaElements:N}}function applyOperations(S,E,k){k.forEach((function(w){var N;var j;switch(w.kind){case"update":N=applyUpdate(S,E,[w.oldNode,w.node]);j=(0,te.getSectionForNode)(w.node);break;case"delete":N=applyDelete(S,E,w.node);j=(0,te.getSectionForNode)(w.node);break;case"add":N=applyAdd(S,E,w.node);j=(0,te.getSectionForNode)(w.node);break;default:throw new Error("Unknown operation")}if(N.deltaElements!==0&&j!=="start"){var ee=N.uint8Buffer.length;N.uint8Buffer=(0,q.resizeSectionVecSize)(S,N.uint8Buffer,j,N.deltaElements);N.deltaBytes+=N.uint8Buffer.length-ee}if(N.deltaBytes!==0&&j!=="start"){var ne=N.uint8Buffer.length;N.uint8Buffer=(0,q.resizeSectionByteSize)(S,N.uint8Buffer,j,N.deltaBytes);N.deltaBytes+=N.uint8Buffer.length-ne}if(N.deltaBytes!==0){k.forEach((function(S){switch(S.kind){case"update":shiftLocNodeByDelta(S.oldNode,N.deltaBytes);break;case"delete":shiftLocNodeByDelta(S.node,N.deltaBytes);break}}))}E=N.uint8Buffer}));return E}},226:(S,E,k)=>{"use strict";Object.defineProperty(E,"__esModule",{value:true});E.edit=edit;E.editWithAST=editWithAST;E.add=add;E.addWithAST=addWithAST;var w=k(73432);var N=k(98093);var j=k(70797);var q=k(53620);var ee=_interopRequireWildcard(k(3930));var te=k(17467);function _interopRequireWildcard(S){if(S&&S.__esModule){return S}else{var E={};if(S!=null){for(var k in S){if(Object.prototype.hasOwnProperty.call(S,k)){var w=Object.defineProperty&&Object.getOwnPropertyDescriptor?Object.getOwnPropertyDescriptor(S,k):{};if(w.get||w.set){Object.defineProperty(E,k,w)}else{E[k]=S[k]}}}}E.default=S;return E}}function hashNode(S){return JSON.stringify(S)}function preprocess(S){var E=(0,q.shrinkPaddedLEB128)(new Uint8Array(S));return E.buffer}function sortBySectionOrder(S){var E=new Map;var k=true;var w=false;var N=undefined;try{for(var j=S[Symbol.iterator](),q;!(k=(q=j.next()).done);k=true){var te=q.value;E.set(te,E.size)}}catch(S){w=true;N=S}finally{try{if(!k&&j.return!=null){j.return()}}finally{if(w){throw N}}}S.sort((function(S,k){var w=(0,ee.getSectionForNode)(S);var N=(0,ee.getSectionForNode)(k);var j=ee.default.sections[w];var q=ee.default.sections[N];if(typeof j!=="number"||typeof q!=="number"){throw new Error("Section id not found")}if(j===q){return E.get(S)-E.get(k)}return j-q}))}function edit(S,E){S=preprocess(S);var k=(0,w.decode)(S);return editWithAST(k,S,E)}function editWithAST(S,E,k){var w=[];var q=new Uint8Array(E);var ee;function before(S,E){ee=(0,j.cloneNode)(E.node)}function after(S,E){if(E.node._deleted===true){w.push({kind:"delete",node:E.node})}else if(hashNode(ee)!==hashNode(E.node)){w.push({kind:"update",oldNode:ee,node:E.node})}}(0,N.traverse)(S,k,before,after);q=(0,te.applyOperations)(S,q,w);return q.buffer}function add(S,E){S=preprocess(S);var k=(0,w.decode)(S);return addWithAST(k,S,E)}function addWithAST(S,E,k){sortBySectionOrder(k);var w=new Uint8Array(E);var N=k.map((function(S){return{kind:"add",node:S}}));w=(0,te.applyOperations)(S,w,N);return w.buffer}},77445:(S,E,k)=>{"use strict";Object.defineProperty(E,"__esModule",{value:true});E.encodeVersion=encodeVersion;E.encodeHeader=encodeHeader;E.encodeU32=encodeU32;E.encodeI32=encodeI32;E.encodeI64=encodeI64;E.encodeVec=encodeVec;E.encodeValtype=encodeValtype;E.encodeMutability=encodeMutability;E.encodeUTF8Vec=encodeUTF8Vec;E.encodeLimits=encodeLimits;E.encodeModuleImport=encodeModuleImport;E.encodeSectionMetadata=encodeSectionMetadata;E.encodeCallInstruction=encodeCallInstruction;E.encodeCallIndirectInstruction=encodeCallIndirectInstruction;E.encodeModuleExport=encodeModuleExport;E.encodeTypeInstruction=encodeTypeInstruction;E.encodeInstr=encodeInstr;E.encodeStringLiteral=encodeStringLiteral;E.encodeGlobal=encodeGlobal;E.encodeFuncBody=encodeFuncBody;E.encodeIndexInFuncSection=encodeIndexInFuncSection;E.encodeElem=encodeElem;var w=_interopRequireWildcard(k(39784));var N=_interopRequireWildcard(k(48));var j=_interopRequireWildcard(k(38040));var q=_interopRequireDefault(k(3930));var ee=k(44166);function _interopRequireDefault(S){return S&&S.__esModule?S:{default:S}}function _interopRequireWildcard(S){if(S&&S.__esModule){return S}else{var E={};if(S!=null){for(var k in S){if(Object.prototype.hasOwnProperty.call(S,k)){var w=Object.defineProperty&&Object.getOwnPropertyDescriptor?Object.getOwnPropertyDescriptor(S,k):{};if(w.get||w.set){Object.defineProperty(E,k,w)}else{E[k]=S[k]}}}}E.default=S;return E}}function _toConsumableArray(S){if(Array.isArray(S)){for(var E=0,k=new Array(S.length);E{"use strict";Object.defineProperty(E,"__esModule",{value:true});E.encodeNode=encodeNode;E.encodeU32=void 0;var w=_interopRequireWildcard(k(77445));function _interopRequireWildcard(S){if(S&&S.__esModule){return S}else{var E={};if(S!=null){for(var k in S){if(Object.prototype.hasOwnProperty.call(S,k)){var w=Object.defineProperty&&Object.getOwnPropertyDescriptor?Object.getOwnPropertyDescriptor(S,k):{};if(w.get||w.set){Object.defineProperty(E,k,w)}else{E[k]=S[k]}}}}E.default=S;return E}}function encodeNode(S){switch(S.type){case"ModuleImport":return w.encodeModuleImport(S);case"SectionMetadata":return w.encodeSectionMetadata(S);case"CallInstruction":return w.encodeCallInstruction(S);case"CallIndirectInstruction":return w.encodeCallIndirectInstruction(S);case"TypeInstruction":return w.encodeTypeInstruction(S);case"Instr":return w.encodeInstr(S);case"ModuleExport":return w.encodeModuleExport(S);case"Global":return w.encodeGlobal(S);case"Func":return w.encodeFuncBody(S);case"IndexInFuncSection":return w.encodeIndexInFuncSection(S);case"StringLiteral":return w.encodeStringLiteral(S);case"Elem":return w.encodeElem(S);default:throw new Error("Unsupported encoding for node of type: "+JSON.stringify(S.type))}}var N=w.encodeU32;E.encodeU32=N},53620:(S,E,k)=>{"use strict";Object.defineProperty(E,"__esModule",{value:true});E.shrinkPaddedLEB128=shrinkPaddedLEB128;var w=k(73432);var N=k(25688);function _typeof(S){if(typeof Symbol==="function"&&typeof Symbol.iterator==="symbol"){_typeof=function _typeof(S){return typeof S}}else{_typeof=function _typeof(S){return S&&typeof Symbol==="function"&&S.constructor===Symbol&&S!==Symbol.prototype?"symbol":typeof S}}return _typeof(S)}function _classCallCheck(S,E){if(!(S instanceof E)){throw new TypeError("Cannot call a class as a function")}}function _possibleConstructorReturn(S,E){if(E&&(_typeof(E)==="object"||typeof E==="function")){return E}if(!S){throw new ReferenceError("this hasn't been initialised - super() hasn't been called")}return S}function _inherits(S,E){if(typeof E!=="function"&&E!==null){throw new TypeError("Super expression must either be null or a function")}S.prototype=Object.create(E&&E.prototype,{constructor:{value:S,enumerable:false,writable:true,configurable:true}});if(E)Object.setPrototypeOf?Object.setPrototypeOf(S,E):S.__proto__=E}var j=function(S){_inherits(OptimizerError,S);function OptimizerError(S,E){var k;_classCallCheck(this,OptimizerError);k=_possibleConstructorReturn(this,(OptimizerError.__proto__||Object.getPrototypeOf(OptimizerError)).call(this,"Error while optimizing: "+S+": "+E.message));k.stack=E.stack;return k}return OptimizerError}(Error);var q={ignoreCodeSection:true,ignoreDataSection:true};function shrinkPaddedLEB128(S){try{var E=(0,w.decode)(S.buffer,q);return(0,N.shrinkPaddedLEB128)(E,S)}catch(S){throw new j("shrinkPaddedLEB128",S)}}},25688:(S,E,k)=>{"use strict";Object.defineProperty(E,"__esModule",{value:true});E.shrinkPaddedLEB128=shrinkPaddedLEB128;var w=k(98093);var N=k(77445);var j=k(3104);function shiftFollowingSections(S,E,k){var N=E.section;var j=false;(0,w.traverse)(S,{SectionMetadata:function SectionMetadata(E){if(E.node.section===N){j=true;return}if(j===true){(0,w.shiftSection)(S,E.node,k)}}})}function shrinkPaddedLEB128(S,E){(0,w.traverse)(S,{SectionMetadata:function SectionMetadata(k){var w=k.node;{var q=(0,N.encodeU32)(w.size.value);var ee=q.length;var te=w.size.loc.start.column;var ne=w.size.loc.end.column;var ae=ne-te;if(ee!==ae){var _e=ae-ee;E=(0,j.overrideBytesInBuffer)(E,te,ne,q);shiftFollowingSections(S,w,-_e)}}}});return E}},13975:(S,E,k)=>{"use strict";Object.defineProperty(E,"__esModule",{value:true});E.decode=decode;var w=k(35866);var N=_interopRequireWildcard(k(48));var j=_interopRequireWildcard(k(38040));var q=_interopRequireWildcard(k(98093));var ee=k(39784);var te=_interopRequireDefault(k(3930));function _interopRequireDefault(S){return S&&S.__esModule?S:{default:S}}function _interopRequireWildcard(S){if(S&&S.__esModule){return S}else{var E={};if(S!=null){for(var k in S){if(Object.prototype.hasOwnProperty.call(S,k)){var w=Object.defineProperty&&Object.getOwnPropertyDescriptor?Object.getOwnPropertyDescriptor(S,k):{};if(w.get||w.set){Object.defineProperty(E,k,w)}else{E[k]=S[k]}}}}E.default=S;return E}}function _toConsumableArray(S){if(Array.isArray(S)){for(var E=0,k=new Array(S.length);E=k.length}function eatBytes(S){ae=ae+S}function readBytesAtOffset(S,E){var w=[];for(var N=0;N>7?-1:1;var w=0;for(var j=0;j>7?-1:1;var w=0;for(var j=0;jk.length){throw new Error("unexpected end")}var S=readBytes(4);if(byteArrayEq(te.default.magicModuleHeader,S)===false){throw new w.CompileError("magic header not detected")}dump(S,"wasm magic header");eatBytes(4)}function parseVersion(){if(isEOF()===true||ae+4>k.length){throw new Error("unexpected end")}var S=readBytes(4);if(byteArrayEq(te.default.moduleVersion,S)===false){throw new w.CompileError("unknown binary version")}dump(S,"wasm version");eatBytes(4)}function parseVec(S){var E=readU32();var k=E.value;eatBytes(E.nextIndex);dump([k],"number");if(k===0){return[]}var N=[];for(var j=0;j=40&&N<=64){if(j.name==="grow_memory"||j.name==="current_memory"){var pt=readU32();var ft=pt.value;eatBytes(pt.nextIndex);if(ft!==0){throw new Error("zero flag expected")}dump([ft],"index")}else{var mt=readU32();var ht=mt.value;eatBytes(mt.nextIndex);dump([ht],"align");var _t=readU32();var yt=_t.value;eatBytes(_t.nextIndex);dump([yt],"offset")}}else if(N>=65&&N<=68){if(j.object==="i32"){var vt=read32();var bt=vt.value;eatBytes(vt.nextIndex);dump([bt],"i32 value");ae.push(q.numberLiteralFromRaw(bt))}if(j.object==="u32"){var xt=readU32();var St=xt.value;eatBytes(xt.nextIndex);dump([St],"u32 value");ae.push(q.numberLiteralFromRaw(St))}if(j.object==="i64"){var Et=read64();var Tt=Et.value;eatBytes(Et.nextIndex);dump([Number(Tt.toString())],"i64 value");var kt=Tt.high,Ct=Tt.low;var Dt={type:"LongNumberLiteral",value:{high:kt,low:Ct}};ae.push(Dt)}if(j.object==="u64"){var At=readU64();var wt=At.value;eatBytes(At.nextIndex);dump([Number(wt.toString())],"u64 value");var Pt=wt.high,Nt=wt.low;var It={type:"LongNumberLiteral",value:{high:Pt,low:Nt}};ae.push(It)}if(j.object==="f32"){var Ft=readF32();var Ot=Ft.value;eatBytes(Ft.nextIndex);dump([Ot],"f32 value");ae.push(q.floatLiteral(Ot,Ft.nan,Ft.inf,String(Ot)))}if(j.object==="f64"){var Mt=readF64();var Rt=Mt.value;eatBytes(Mt.nextIndex);dump([Rt],"f64 value");ae.push(q.floatLiteral(Rt,Mt.nan,Mt.inf,String(Rt)))}}else if(N>=65024&&N<=65279){var Lt=readU32();var Bt=Lt.value;eatBytes(Lt.nextIndex);dump([Bt],"align");var jt=readU32();var zt=jt.value;eatBytes(jt.nextIndex);dump([zt],"offset")}else{for(var Ut=0;Ut=S||S===te.default.sections.custom){S=k+1}else{if(k!==te.default.sections.custom)throw new w.CompileError("Unexpected section: "+toHex(k))}var N=S;var j=ae;var ee=getPosition();var ne=readU32();var _e=ne.value;eatBytes(ne.nextIndex);var ve=function(){var S=getPosition();return q.withLoc(q.numberLiteralFromRaw(_e),S,ee)}();switch(k){case te.default.sections.type:{dumpSep("section Type");dump([k],"section code");dump([_e],"section size");var Ee=getPosition();var Te=readU32();var Ce=Te.value;eatBytes(Te.nextIndex);var we=q.sectionMetadata("type",j,ve,function(){var S=getPosition();return q.withLoc(q.numberLiteralFromRaw(Ce),S,Ee)}());var Ne=parseTypeSection(Ce);return{nodes:Ne,metadata:we,nextSectionIndex:N}}case te.default.sections.table:{dumpSep("section Table");dump([k],"section code");dump([_e],"section size");var Ie=getPosition();var Fe=readU32();var Oe=Fe.value;eatBytes(Fe.nextIndex);dump([Oe],"num tables");var Me=q.sectionMetadata("table",j,ve,function(){var S=getPosition();return q.withLoc(q.numberLiteralFromRaw(Oe),S,Ie)}());var Re=parseTableSection(Oe);return{nodes:Re,metadata:Me,nextSectionIndex:N}}case te.default.sections.import:{dumpSep("section Import");dump([k],"section code");dump([_e],"section size");var Le=getPosition();var Be=readU32();var je=Be.value;eatBytes(Be.nextIndex);dump([je],"number of imports");var ze=q.sectionMetadata("import",j,ve,function(){var S=getPosition();return q.withLoc(q.numberLiteralFromRaw(je),S,Le)}());var Ue=parseImportSection(je);return{nodes:Ue,metadata:ze,nextSectionIndex:N}}case te.default.sections.func:{dumpSep("section Function");dump([k],"section code");dump([_e],"section size");var We=getPosition();var $e=readU32();var qe=$e.value;eatBytes($e.nextIndex);var Ve=q.sectionMetadata("func",j,ve,function(){var S=getPosition();return q.withLoc(q.numberLiteralFromRaw(qe),S,We)}());parseFuncSection(qe);var He=[];return{nodes:He,metadata:Ve,nextSectionIndex:N}}case te.default.sections.export:{dumpSep("section Export");dump([k],"section code");dump([_e],"section size");var Ge=getPosition();var Je=readU32();var Ke=Je.value;eatBytes(Je.nextIndex);var Qe=q.sectionMetadata("export",j,ve,function(){var S=getPosition();return q.withLoc(q.numberLiteralFromRaw(Ke),S,Ge)}());parseExportSection(Ke);var Xe=[];return{nodes:Xe,metadata:Qe,nextSectionIndex:N}}case te.default.sections.code:{dumpSep("section Code");dump([k],"section code");dump([_e],"section size");var Ye=getPosition();var Ze=readU32();var et=Ze.value;eatBytes(Ze.nextIndex);var tt=q.sectionMetadata("code",j,ve,function(){var S=getPosition();return q.withLoc(q.numberLiteralFromRaw(et),S,Ye)}());if(E.ignoreCodeSection===true){var rt=_e-Ze.nextIndex;eatBytes(rt)}else{parseCodeSection(et)}var nt=[];return{nodes:nt,metadata:tt,nextSectionIndex:N}}case te.default.sections.start:{dumpSep("section Start");dump([k],"section code");dump([_e],"section size");var it=q.sectionMetadata("start",j,ve);var ot=[parseStartSection()];return{nodes:ot,metadata:it,nextSectionIndex:N}}case te.default.sections.element:{dumpSep("section Element");dump([k],"section code");dump([_e],"section size");var st=getPosition();var ct=readU32();var ut=ct.value;eatBytes(ct.nextIndex);var dt=q.sectionMetadata("element",j,ve,function(){var S=getPosition();return q.withLoc(q.numberLiteralFromRaw(ut),S,st)}());var pt=parseElemSection(ut);return{nodes:pt,metadata:dt,nextSectionIndex:N}}case te.default.sections.global:{dumpSep("section Global");dump([k],"section code");dump([_e],"section size");var ft=getPosition();var mt=readU32();var ht=mt.value;eatBytes(mt.nextIndex);var _t=q.sectionMetadata("global",j,ve,function(){var S=getPosition();return q.withLoc(q.numberLiteralFromRaw(ht),S,ft)}());var yt=parseGlobalSection(ht);return{nodes:yt,metadata:_t,nextSectionIndex:N}}case te.default.sections.memory:{dumpSep("section Memory");dump([k],"section code");dump([_e],"section size");var vt=getPosition();var bt=readU32();var xt=bt.value;eatBytes(bt.nextIndex);var St=q.sectionMetadata("memory",j,ve,function(){var S=getPosition();return q.withLoc(q.numberLiteralFromRaw(xt),S,vt)}());var Et=parseMemorySection(xt);return{nodes:Et,metadata:St,nextSectionIndex:N}}case te.default.sections.data:{dumpSep("section Data");dump([k],"section code");dump([_e],"section size");var Tt=q.sectionMetadata("data",j,ve);var kt=getPosition();var Ct=readU32();var Dt=Ct.value;eatBytes(Ct.nextIndex);Tt.vectorOfSize=function(){var S=getPosition();return q.withLoc(q.numberLiteralFromRaw(Dt),S,kt)}();if(E.ignoreDataSection===true){var At=_e-Ct.nextIndex;eatBytes(At);dumpSep("ignore data ("+_e+" bytes)");return{nodes:[],metadata:Tt,nextSectionIndex:N}}else{var wt=parseDataSection(Dt);return{nodes:wt,metadata:Tt,nextSectionIndex:N}}}case te.default.sections.custom:{dumpSep("section Custom");dump([k],"section code");dump([_e],"section size");var Pt=[q.sectionMetadata("custom",j,ve)];var Nt=readUTF8String();eatBytes(Nt.nextIndex);dump([],"section name (".concat(Nt.value,")"));var It=_e-Nt.nextIndex;if(Nt.value==="name"){var Ft=ae;try{Pt.push.apply(Pt,_toConsumableArray(parseNameSection(It)))}catch(S){console.warn('Failed to decode custom "name" section @'.concat(ae,"; ignoring (").concat(S.message,")."));eatBytes(ae-(Ft+It))}}else if(Nt.value==="producers"){var Ot=ae;try{Pt.push(parseProducersSection())}catch(S){console.warn('Failed to decode custom "producers" section @'.concat(ae,"; ignoring (").concat(S.message,")."));eatBytes(ae-(Ot+It))}}else{eatBytes(It);dumpSep("ignore custom "+JSON.stringify(Nt.value)+" section ("+It+" bytes)")}return{nodes:[],metadata:Pt,nextSectionIndex:N}}}throw new w.CompileError("Unexpected section: "+toHex(k))}parseModuleHeader();parseVersion();var ve=[];var Ee=0;var Te={sections:[],functionNames:[],localNames:[],producers:[]};while(ae{"use strict";Object.defineProperty(E,"__esModule",{value:true});E.decode=decode;var w=_interopRequireWildcard(k(13975));var N=_interopRequireWildcard(k(98093));function _interopRequireWildcard(S){if(S&&S.__esModule){return S}else{var E={};if(S!=null){for(var k in S){if(Object.prototype.hasOwnProperty.call(S,k)){var w=Object.defineProperty&&Object.getOwnPropertyDescriptor?Object.getOwnPropertyDescriptor(S,k):{};if(w.get||w.set){Object.defineProperty(E,k,w)}else{E[k]=S[k]}}}}E.default=S;return E}}var j={dump:false,ignoreCodeSection:false,ignoreDataSection:false,ignoreCustomNameSection:false};function restoreFunctionNames(S){var E=[];N.traverse(S,{FunctionNameMetadata:function FunctionNameMetadata(S){var k=S.node;E.push({name:k.value,index:k.index})}});if(E.length===0){return}N.traverse(S,{Func:function(S){function Func(E){return S.apply(this,arguments)}Func.toString=function(){return S.toString()};return Func}((function(S){var k=S.node;var w=k.name;var N=w.value;var j=Number(N.replace("func_",""));var q=E.find((function(S){return S.index===j}));if(q){var ee=w.value;w.value=q.name;w.numeric=ee;delete w.raw}})),ModuleExport:function(S){function ModuleExport(E){return S.apply(this,arguments)}ModuleExport.toString=function(){return S.toString()};return ModuleExport}((function(S){var k=S.node;if(k.descr.exportType==="Func"){var w=k.descr.id;var j=w.value;var q=E.find((function(S){return S.index===j}));if(q){k.descr.id=N.identifier(q.name)}}})),ModuleImport:function(S){function ModuleImport(E){return S.apply(this,arguments)}ModuleImport.toString=function(){return S.toString()};return ModuleImport}((function(S){var k=S.node;if(k.descr.type==="FuncImportDescr"){var w=k.descr.id;var j=Number(w.replace("func_",""));var q=E.find((function(S){return S.index===j}));if(q){k.descr.id=N.identifier(q.name)}}})),CallInstruction:function(S){function CallInstruction(E){return S.apply(this,arguments)}CallInstruction.toString=function(){return S.toString()};return CallInstruction}((function(S){var k=S.node;var w=k.index.value;var j=E.find((function(S){return S.index===w}));if(j){var q=k.index;k.index=N.identifier(j.name);k.numeric=q;delete k.raw}}))})}function restoreLocalNames(S){var E=[];N.traverse(S,{LocalNameMetadata:function LocalNameMetadata(S){var k=S.node;E.push({name:k.value,localIndex:k.localIndex,functionIndex:k.functionIndex})}});if(E.length===0){return}N.traverse(S,{Func:function(S){function Func(E){return S.apply(this,arguments)}Func.toString=function(){return S.toString()};return Func}((function(S){var k=S.node;var w=k.signature;if(w.type!=="Signature"){return}var N=k.name;var j=N.value;var q=Number(j.replace("func_",""));w.params.forEach((function(S,k){var w=E.find((function(S){return S.localIndex===k&&S.functionIndex===q}));if(w&&w.name!==""){S.id=w.name}}))}))})}function restoreModuleName(S){N.traverse(S,{ModuleNameMetadata:function(S){function ModuleNameMetadata(E){return S.apply(this,arguments)}ModuleNameMetadata.toString=function(){return S.toString()};return ModuleNameMetadata}((function(E){N.traverse(S,{Module:function(S){function Module(E){return S.apply(this,arguments)}Module.toString=function(){return S.toString()};return Module}((function(S){var k=S.node;var w=E.node.value;if(w===""){w=null}k.id=w}))})}))})}function decode(S,E){var k=Object.assign({},j,E);var N=w.decode(S,k);if(k.ignoreCustomNameSection===false){restoreFunctionNames(N);restoreLocalNames(N);restoreModuleName(N)}return N}},3158:(S,E)=>{"use strict";Object.defineProperty(E,"__esModule",{value:true});E.read=read;E.write=write;function read(S,E,k,w,N){var j,q;var ee=N*8-w-1;var te=(1<>1;var ae=-7;var _e=k?N-1:0;var ve=k?-1:1;var Ee=S[E+_e];_e+=ve;j=Ee&(1<<-ae)-1;Ee>>=-ae;ae+=ee;for(;ae>0;j=j*256+S[E+_e],_e+=ve,ae-=8){}q=j&(1<<-ae)-1;j>>=-ae;ae+=w;for(;ae>0;q=q*256+S[E+_e],_e+=ve,ae-=8){}if(j===0){j=1-ne}else if(j===te){return q?NaN:(Ee?-1:1)*Infinity}else{q=q+Math.pow(2,w);j=j-ne}return(Ee?-1:1)*q*Math.pow(2,j-w)}function write(S,E,k,w,N,j){var q,ee,te;var ne=j*8-N-1;var ae=(1<>1;var ve=N===23?Math.pow(2,-24)-Math.pow(2,-77):0;var Ee=w?0:j-1;var Te=w?1:-1;var Ce=E<0||E===0&&1/E<0?1:0;E=Math.abs(E);if(isNaN(E)||E===Infinity){ee=isNaN(E)?1:0;q=ae}else{q=Math.floor(Math.log(E)/Math.LN2);if(E*(te=Math.pow(2,-q))<1){q--;te*=2}if(q+_e>=1){E+=ve/te}else{E+=ve*Math.pow(2,1-_e)}if(E*te>=2){q++;te/=2}if(q+_e>=ae){ee=0;q=ae}else if(q+_e>=1){ee=(E*te-1)*Math.pow(2,N);q=q+_e}else{ee=E*Math.pow(2,_e-1)*Math.pow(2,N);q=0}}for(;N>=8;S[k+Ee]=ee&255,Ee+=Te,ee/=256,N-=8){}q=q<0;S[k+Ee]=q&255,Ee+=Te,q/=256,ne-=8){}S[k+Ee-Te]|=Ce*128}},11174:S=>{S.exports=Long;var E=null;try{E=new WebAssembly.Instance(new WebAssembly.Module(new Uint8Array([0,97,115,109,1,0,0,0,1,13,2,96,0,1,127,96,4,127,127,127,127,1,127,3,7,6,0,1,1,1,1,1,6,6,1,127,1,65,0,11,7,50,6,3,109,117,108,0,1,5,100,105,118,95,115,0,2,5,100,105,118,95,117,0,3,5,114,101,109,95,115,0,4,5,114,101,109,95,117,0,5,8,103,101,116,95,104,105,103,104,0,0,10,191,1,6,4,0,35,0,11,36,1,1,126,32,0,173,32,1,173,66,32,134,132,32,2,173,32,3,173,66,32,134,132,126,34,4,66,32,135,167,36,0,32,4,167,11,36,1,1,126,32,0,173,32,1,173,66,32,134,132,32,2,173,32,3,173,66,32,134,132,127,34,4,66,32,135,167,36,0,32,4,167,11,36,1,1,126,32,0,173,32,1,173,66,32,134,132,32,2,173,32,3,173,66,32,134,132,128,34,4,66,32,135,167,36,0,32,4,167,11,36,1,1,126,32,0,173,32,1,173,66,32,134,132,32,2,173,32,3,173,66,32,134,132,129,34,4,66,32,135,167,36,0,32,4,167,11,36,1,1,126,32,0,173,32,1,173,66,32,134,132,32,2,173,32,3,173,66,32,134,132,130,34,4,66,32,135,167,36,0,32,4,167,11])),{}).exports}catch(S){}function Long(S,E,k){this.low=S|0;this.high=E|0;this.unsigned=!!k}Long.prototype.__isLong__;Object.defineProperty(Long.prototype,"__isLong__",{value:true});function isLong(S){return(S&&S["__isLong__"])===true}Long.isLong=isLong;var k={};var w={};function fromInt(S,E){var N,j,q;if(E){S>>>=0;if(q=0<=S&&S<256){j=w[S];if(j)return j}N=fromBits(S,(S|0)<0?-1:0,true);if(q)w[S]=N;return N}else{S|=0;if(q=-128<=S&&S<128){j=k[S];if(j)return j}N=fromBits(S,S<0?-1:0,false);if(q)k[S]=N;return N}}Long.fromInt=fromInt;function fromNumber(S,E){if(isNaN(S))return E?ve:_e;if(E){if(S<0)return ve;if(S>=te)return Ne}else{if(S<=-ne)return Ie;if(S+1>=ne)return we}if(S<0)return fromNumber(-S,E).neg();return fromBits(S%ee|0,S/ee|0,E)}Long.fromNumber=fromNumber;function fromBits(S,E,k){return new Long(S,E,k)}Long.fromBits=fromBits;var N=Math.pow;function fromString(S,E,k){if(S.length===0)throw Error("empty string");if(S==="NaN"||S==="Infinity"||S==="+Infinity"||S==="-Infinity")return _e;if(typeof E==="number"){k=E,E=false}else{E=!!E}k=k||10;if(k<2||360)throw Error("interior hyphen");else if(w===0){return fromString(S.substring(1),E,k).neg()}var j=fromNumber(N(k,8));var q=_e;for(var ee=0;ee>>0:this.low};Fe.toNumber=function toNumber(){if(this.unsigned)return(this.high>>>0)*ee+(this.low>>>0);return this.high*ee+(this.low>>>0)};Fe.toString=function toString(S){S=S||10;if(S<2||36>>0,ae=ne.toString(S);q=te;if(q.isZero())return ae+ee;else{while(ae.length<6)ae="0"+ae;ee=""+ae+ee}}};Fe.getHighBits=function getHighBits(){return this.high};Fe.getHighBitsUnsigned=function getHighBitsUnsigned(){return this.high>>>0};Fe.getLowBits=function getLowBits(){return this.low};Fe.getLowBitsUnsigned=function getLowBitsUnsigned(){return this.low>>>0};Fe.getNumBitsAbs=function getNumBitsAbs(){if(this.isNegative())return this.eq(Ie)?64:this.neg().getNumBitsAbs();var S=this.high!=0?this.high:this.low;for(var E=31;E>0;E--)if((S&1<=0};Fe.isOdd=function isOdd(){return(this.low&1)===1};Fe.isEven=function isEven(){return(this.low&1)===0};Fe.equals=function equals(S){if(!isLong(S))S=fromValue(S);if(this.unsigned!==S.unsigned&&this.high>>>31===1&&S.high>>>31===1)return false;return this.high===S.high&&this.low===S.low};Fe.eq=Fe.equals;Fe.notEquals=function notEquals(S){return!this.eq(S)};Fe.neq=Fe.notEquals;Fe.ne=Fe.notEquals;Fe.lessThan=function lessThan(S){return this.comp(S)<0};Fe.lt=Fe.lessThan;Fe.lessThanOrEqual=function lessThanOrEqual(S){return this.comp(S)<=0};Fe.lte=Fe.lessThanOrEqual;Fe.le=Fe.lessThanOrEqual;Fe.greaterThan=function greaterThan(S){return this.comp(S)>0};Fe.gt=Fe.greaterThan;Fe.greaterThanOrEqual=function greaterThanOrEqual(S){return this.comp(S)>=0};Fe.gte=Fe.greaterThanOrEqual;Fe.ge=Fe.greaterThanOrEqual;Fe.compare=function compare(S){if(!isLong(S))S=fromValue(S);if(this.eq(S))return 0;var E=this.isNegative(),k=S.isNegative();if(E&&!k)return-1;if(!E&&k)return 1;if(!this.unsigned)return this.sub(S).isNegative()?-1:1;return S.high>>>0>this.high>>>0||S.high===this.high&&S.low>>>0>this.low>>>0?-1:1};Fe.comp=Fe.compare;Fe.negate=function negate(){if(!this.unsigned&&this.eq(Ie))return Ie;return this.not().add(Ee)};Fe.neg=Fe.negate;Fe.add=function add(S){if(!isLong(S))S=fromValue(S);var E=this.high>>>16;var k=this.high&65535;var w=this.low>>>16;var N=this.low&65535;var j=S.high>>>16;var q=S.high&65535;var ee=S.low>>>16;var te=S.low&65535;var ne=0,ae=0,_e=0,ve=0;ve+=N+te;_e+=ve>>>16;ve&=65535;_e+=w+ee;ae+=_e>>>16;_e&=65535;ae+=k+q;ne+=ae>>>16;ae&=65535;ne+=E+j;ne&=65535;return fromBits(_e<<16|ve,ne<<16|ae,this.unsigned)};Fe.subtract=function subtract(S){if(!isLong(S))S=fromValue(S);return this.add(S.neg())};Fe.sub=Fe.subtract;Fe.multiply=function multiply(S){if(this.isZero())return _e;if(!isLong(S))S=fromValue(S);if(E){var k=E["mul"](this.low,this.high,S.low,S.high);return fromBits(k,E["get_high"](),this.unsigned)}if(S.isZero())return _e;if(this.eq(Ie))return S.isOdd()?Ie:_e;if(S.eq(Ie))return this.isOdd()?Ie:_e;if(this.isNegative()){if(S.isNegative())return this.neg().mul(S.neg());else return this.neg().mul(S).neg()}else if(S.isNegative())return this.mul(S.neg()).neg();if(this.lt(ae)&&S.lt(ae))return fromNumber(this.toNumber()*S.toNumber(),this.unsigned);var w=this.high>>>16;var N=this.high&65535;var j=this.low>>>16;var q=this.low&65535;var ee=S.high>>>16;var te=S.high&65535;var ne=S.low>>>16;var ve=S.low&65535;var Ee=0,Te=0,Ce=0,we=0;we+=q*ve;Ce+=we>>>16;we&=65535;Ce+=j*ve;Te+=Ce>>>16;Ce&=65535;Ce+=q*ne;Te+=Ce>>>16;Ce&=65535;Te+=N*ve;Ee+=Te>>>16;Te&=65535;Te+=j*ne;Ee+=Te>>>16;Te&=65535;Te+=q*te;Ee+=Te>>>16;Te&=65535;Ee+=w*ve+N*ne+j*te+q*ee;Ee&=65535;return fromBits(Ce<<16|we,Ee<<16|Te,this.unsigned)};Fe.mul=Fe.multiply;Fe.divide=function divide(S){if(!isLong(S))S=fromValue(S);if(S.isZero())throw Error("division by zero");if(E){if(!this.unsigned&&this.high===-2147483648&&S.low===-1&&S.high===-1){return this}var k=(this.unsigned?E["div_u"]:E["div_s"])(this.low,this.high,S.low,S.high);return fromBits(k,E["get_high"](),this.unsigned)}if(this.isZero())return this.unsigned?ve:_e;var w,j,q;if(!this.unsigned){if(this.eq(Ie)){if(S.eq(Ee)||S.eq(Ce))return Ie;else if(S.eq(Ie))return Ee;else{var ee=this.shr(1);w=ee.div(S).shl(1);if(w.eq(_e)){return S.isNegative()?Ee:Ce}else{j=this.sub(S.mul(w));q=w.add(j.div(S));return q}}}else if(S.eq(Ie))return this.unsigned?ve:_e;if(this.isNegative()){if(S.isNegative())return this.neg().div(S.neg());return this.neg().div(S).neg()}else if(S.isNegative())return this.div(S.neg()).neg();q=_e}else{if(!S.unsigned)S=S.toUnsigned();if(S.gt(this))return ve;if(S.gt(this.shru(1)))return Te;q=ve}j=this;while(j.gte(S)){w=Math.max(1,Math.floor(j.toNumber()/S.toNumber()));var te=Math.ceil(Math.log(w)/Math.LN2),ne=te<=48?1:N(2,te-48),ae=fromNumber(w),we=ae.mul(S);while(we.isNegative()||we.gt(j)){w-=ne;ae=fromNumber(w,this.unsigned);we=ae.mul(S)}if(ae.isZero())ae=Ee;q=q.add(ae);j=j.sub(we)}return q};Fe.div=Fe.divide;Fe.modulo=function modulo(S){if(!isLong(S))S=fromValue(S);if(E){var k=(this.unsigned?E["rem_u"]:E["rem_s"])(this.low,this.high,S.low,S.high);return fromBits(k,E["get_high"](),this.unsigned)}return this.sub(this.div(S).mul(S))};Fe.mod=Fe.modulo;Fe.rem=Fe.modulo;Fe.not=function not(){return fromBits(~this.low,~this.high,this.unsigned)};Fe.and=function and(S){if(!isLong(S))S=fromValue(S);return fromBits(this.low&S.low,this.high&S.high,this.unsigned)};Fe.or=function or(S){if(!isLong(S))S=fromValue(S);return fromBits(this.low|S.low,this.high|S.high,this.unsigned)};Fe.xor=function xor(S){if(!isLong(S))S=fromValue(S);return fromBits(this.low^S.low,this.high^S.high,this.unsigned)};Fe.shiftLeft=function shiftLeft(S){if(isLong(S))S=S.toInt();if((S&=63)===0)return this;else if(S<32)return fromBits(this.low<>>32-S,this.unsigned);else return fromBits(0,this.low<>>S|this.high<<32-S,this.high>>S,this.unsigned);else return fromBits(this.high>>S-32,this.high>=0?0:-1,this.unsigned)};Fe.shr=Fe.shiftRight;Fe.shiftRightUnsigned=function shiftRightUnsigned(S){if(isLong(S))S=S.toInt();if((S&=63)===0)return this;if(S<32)return fromBits(this.low>>>S|this.high<<32-S,this.high>>>S,this.unsigned);if(S===32)return fromBits(this.high,0,this.unsigned);return fromBits(this.high>>>S-32,0,this.unsigned)};Fe.shru=Fe.shiftRightUnsigned;Fe.shr_u=Fe.shiftRightUnsigned;Fe.rotateLeft=function rotateLeft(S){var E;if(isLong(S))S=S.toInt();if((S&=63)===0)return this;if(S===32)return fromBits(this.high,this.low,this.unsigned);if(S<32){E=32-S;return fromBits(this.low<>>E,this.high<>>E,this.unsigned)}S-=32;E=32-S;return fromBits(this.high<>>E,this.low<>>E,this.unsigned)};Fe.rotl=Fe.rotateLeft;Fe.rotateRight=function rotateRight(S){var E;if(isLong(S))S=S.toInt();if((S&=63)===0)return this;if(S===32)return fromBits(this.high,this.low,this.unsigned);if(S<32){E=32-S;return fromBits(this.high<>>S,this.low<>>S,this.unsigned)}S-=32;E=32-S;return fromBits(this.low<>>S,this.high<>>S,this.unsigned)};Fe.rotr=Fe.rotateRight;Fe.toSigned=function toSigned(){if(!this.unsigned)return this;return fromBits(this.low,this.high,false)};Fe.toUnsigned=function toUnsigned(){if(this.unsigned)return this;return fromBits(this.low,this.high,true)};Fe.toBytes=function toBytes(S){return S?this.toBytesLE():this.toBytesBE()};Fe.toBytesLE=function toBytesLE(){var S=this.high,E=this.low;return[E&255,E>>>8&255,E>>>16&255,E>>>24,S&255,S>>>8&255,S>>>16&255,S>>>24]};Fe.toBytesBE=function toBytesBE(){var S=this.high,E=this.low;return[S>>>24,S>>>16&255,S>>>8&255,S&255,E>>>24,E>>>16&255,E>>>8&255,E&255]};Long.fromBytes=function fromBytes(S,E,k){return k?Long.fromBytesLE(S,E):Long.fromBytesBE(S,E)};Long.fromBytesLE=function fromBytesLE(S,E){return new Long(S[0]|S[1]<<8|S[2]<<16|S[3]<<24,S[4]|S[5]<<8|S[6]<<16|S[7]<<24,E)};Long.fromBytesBE=function fromBytesBE(S,E){return new Long(S[4]<<24|S[5]<<16|S[6]<<8|S[7],S[0]<<24|S[1]<<16|S[2]<<8|S[3],E)}},20976:function(S,E){(function(S,k){true?k(E):0})(this,(function(S){"use strict";var E={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"};var k="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";var w={5:k,"5module":k+" export import",6:k+" const class extends export import super"};var N=/^in(stanceof)?$/;var j="ªµºÀ-ÖØ-öø-ˁˆ-ˑˠ-ˤˬˮͰ-ʹͶͷͺ-ͽͿΆΈ-ΊΌΎ-ΡΣ-ϵϷ-ҁҊ-ԯԱ-Ֆՙՠ-ֈא-תׯ-ײؠ-يٮٯٱ-ۓەۥۦۮۯۺ-ۼۿܐܒ-ܯݍ-ޥޱߊ-ߪߴߵߺࠀ-ࠕࠚࠤࠨࡀ-ࡘࡠ-ࡪࢠ-ࢴࢶ-ࣇऄ-हऽॐक़-ॡॱ-ঀঅ-ঌএঐও-নপ-রলশ-হঽৎড়ঢ়য়-ৡৰৱৼਅ-ਊਏਐਓ-ਨਪ-ਰਲਲ਼ਵਸ਼ਸਹਖ਼-ੜਫ਼ੲ-ੴઅ-ઍએ-ઑઓ-નપ-રલળવ-હઽૐૠૡૹଅ-ଌଏଐଓ-ନପ-ରଲଳଵ-ହଽଡ଼ଢ଼ୟ-ୡୱஃஅ-ஊஎ-ஐஒ-கஙசஜஞடணதந-பம-ஹௐఅ-ఌఎ-ఐఒ-నప-హఽౘ-ౚౠౡಀಅ-ಌಎ-ಐಒ-ನಪ-ಳವ-ಹಽೞೠೡೱೲഄ-ഌഎ-ഐഒ-ഺഽൎൔ-ൖൟ-ൡൺ-ൿඅ-ඖක-නඳ-රලව-ෆก-ะาำเ-ๆກຂຄຆ-ຊຌ-ຣລວ-ະາຳຽເ-ໄໆໜ-ໟༀཀ-ཇཉ-ཬྈ-ྌက-ဪဿၐ-ၕၚ-ၝၡၥၦၮ-ၰၵ-ႁႎႠ-ჅჇჍა-ჺჼ-ቈቊ-ቍቐ-ቖቘቚ-ቝበ-ኈኊ-ኍነ-ኰኲ-ኵኸ-ኾዀዂ-ዅወ-ዖዘ-ጐጒ-ጕጘ-ፚᎀ-ᎏᎠ-Ᏽᏸ-ᏽᐁ-ᙬᙯ-ᙿᚁ-ᚚᚠ-ᛪᛮ-ᛸᜀ-ᜌᜎ-ᜑᜠ-ᜱᝀ-ᝑᝠ-ᝬᝮ-ᝰក-ឳៗៜᠠ-ᡸᢀ-ᢨᢪᢰ-ᣵᤀ-ᤞᥐ-ᥭᥰ-ᥴᦀ-ᦫᦰ-ᧉᨀ-ᨖᨠ-ᩔᪧᬅ-ᬳᭅ-ᭋᮃ-ᮠᮮᮯᮺ-ᯥᰀ-ᰣᱍ-ᱏᱚ-ᱽᲀ-ᲈᲐ-ᲺᲽ-Ჿᳩ-ᳬᳮ-ᳳᳵᳶᳺᴀ-ᶿḀ-ἕἘ-Ἕἠ-ὅὈ-Ὅὐ-ὗὙὛὝὟ-ώᾀ-ᾴᾶ-ᾼιῂ-ῄῆ-ῌῐ-ΐῖ-Ίῠ-Ῥῲ-ῴῶ-ῼⁱⁿₐ-ₜℂℇℊ-ℓℕ℘-ℝℤΩℨK-ℹℼ-ℿⅅ-ⅉⅎⅠ-ↈⰀ-Ⱞⰰ-ⱞⱠ-ⳤⳫ-ⳮⳲⳳⴀ-ⴥⴧⴭⴰ-ⵧⵯⶀ-ⶖⶠ-ⶦⶨ-ⶮⶰ-ⶶⶸ-ⶾⷀ-ⷆⷈ-ⷎⷐ-ⷖⷘ-ⷞ々-〇〡-〩〱-〵〸-〼ぁ-ゖ゛-ゟァ-ヺー-ヿㄅ-ㄯㄱ-ㆎㆠ-ㆿㇰ-ㇿ㐀-䶿一-鿼ꀀ-ꒌꓐ-ꓽꔀ-ꘌꘐ-ꘟꘪꘫꙀ-ꙮꙿ-ꚝꚠ-ꛯꜗ-ꜟꜢ-ꞈꞋ-ꞿꟂ-ꟊꟵ-ꠁꠃ-ꠅꠇ-ꠊꠌ-ꠢꡀ-ꡳꢂ-ꢳꣲ-ꣷꣻꣽꣾꤊ-ꤥꤰ-ꥆꥠ-ꥼꦄ-ꦲꧏꧠ-ꧤꧦ-ꧯꧺ-ꧾꨀ-ꨨꩀ-ꩂꩄ-ꩋꩠ-ꩶꩺꩾ-ꪯꪱꪵꪶꪹ-ꪽꫀꫂꫛ-ꫝꫠ-ꫪꫲ-ꫴꬁ-ꬆꬉ-ꬎꬑ-ꬖꬠ-ꬦꬨ-ꬮꬰ-ꭚꭜ-ꭩꭰ-ꯢ가-힣ힰ-ퟆퟋ-ퟻ豈-舘並-龎ff-stﬓ-ﬗיִײַ-ﬨשׁ-זּטּ-לּמּנּסּףּפּצּ-ﮱﯓ-ﴽﵐ-ﶏﶒ-ﷇﷰ-ﷻﹰ-ﹴﹶ-ﻼA-Za-zヲ-하-ᅦᅧ-ᅬᅭ-ᅲᅳ-ᅵ";var q="‌‍·̀-ͯ·҃-֑҇-ׇֽֿׁׂׅׄؐ-ًؚ-٩ٰۖ-ۜ۟-۪ۤۧۨ-ۭ۰-۹ܑܰ-݊ަ-ް߀-߉߫-߽߳ࠖ-࠙ࠛ-ࠣࠥ-ࠧࠩ-࡙࠭-࡛࣓-ࣣ࣡-ःऺ-़ा-ॏ॑-ॗॢॣ०-९ঁ-ঃ়া-ৄেৈো-্ৗৢৣ০-৯৾ਁ-ਃ਼ਾ-ੂੇੈੋ-੍ੑ੦-ੱੵઁ-ઃ઼ા-ૅે-ૉો-્ૢૣ૦-૯ૺ-૿ଁ-ଃ଼ା-ୄେୈୋ-୍୕-ୗୢୣ୦-୯ஂா-ூெ-ைொ-்ௗ௦-௯ఀ-ఄా-ౄె-ైొ-్ౕౖౢౣ౦-౯ಁ-ಃ಼ಾ-ೄೆ-ೈೊ-್ೕೖೢೣ೦-೯ഀ-ഃ഻഼ാ-ൄെ-ൈൊ-്ൗൢൣ൦-൯ඁ-ඃ්ා-ුූෘ-ෟ෦-෯ෲෳัิ-ฺ็-๎๐-๙ັິ-ຼ່-ໍ໐-໙༘༙༠-༩༹༵༷༾༿ཱ-྄྆྇ྍ-ྗྙ-ྼ࿆ါ-ှ၀-၉ၖ-ၙၞ-ၠၢ-ၤၧ-ၭၱ-ၴႂ-ႍႏ-ႝ፝-፟፩-፱ᜒ-᜔ᜲ-᜴ᝒᝓᝲᝳ឴-៓៝០-៩᠋-᠍᠐-᠙ᢩᤠ-ᤫᤰ-᤻᥆-᥏᧐-᧚ᨗ-ᨛᩕ-ᩞ᩠-᩿᩼-᪉᪐-᪙᪰-᪽ᪿᫀᬀ-ᬄ᬴-᭄᭐-᭙᭫-᭳ᮀ-ᮂᮡ-ᮭ᮰-᮹᯦-᯳ᰤ-᰷᱀-᱉᱐-᱙᳐-᳔᳒-᳨᳭᳴᳷-᳹᷀-᷹᷻-᷿‿⁀⁔⃐-⃥⃜⃡-⃰⳯-⵿⳱ⷠ-〪ⷿ-゙゚〯꘠-꘩꙯ꙴ-꙽ꚞꚟ꛰꛱ꠂ꠆ꠋꠣ-ꠧ꠬ꢀꢁꢴ-ꣅ꣐-꣙꣠-꣱ꣿ-꤉ꤦ-꤭ꥇ-꥓ꦀ-ꦃ꦳-꧀꧐-꧙ꧥ꧰-꧹ꨩ-ꨶꩃꩌꩍ꩐-꩙ꩻ-ꩽꪰꪲ-ꪴꪷꪸꪾ꪿꫁ꫫ-ꫯꫵ꫶ꯣ-ꯪ꯬꯭꯰-꯹ﬞ︀-️︠-︯︳︴﹍-﹏0-9_";var ee=new RegExp("["+j+"]");var te=new RegExp("["+j+q+"]");j=q=null;var ne=[0,11,2,25,2,18,2,1,2,14,3,13,35,122,70,52,268,28,4,48,48,31,14,29,6,37,11,29,3,35,5,7,2,4,43,157,19,35,5,35,5,39,9,51,157,310,10,21,11,7,153,5,3,0,2,43,2,1,4,0,3,22,11,22,10,30,66,18,2,1,11,21,11,25,71,55,7,1,65,0,16,3,2,2,2,28,43,28,4,28,36,7,2,27,28,53,11,21,11,18,14,17,111,72,56,50,14,50,14,35,349,41,7,1,79,28,11,0,9,21,107,20,28,22,13,52,76,44,33,24,27,35,30,0,3,0,9,34,4,0,13,47,15,3,22,0,2,0,36,17,2,24,85,6,2,0,2,3,2,14,2,9,8,46,39,7,3,1,3,21,2,6,2,1,2,4,4,0,19,0,13,4,159,52,19,3,21,2,31,47,21,1,2,0,185,46,42,3,37,47,21,0,60,42,14,0,72,26,230,43,117,63,32,7,3,0,3,7,2,1,2,23,16,0,2,0,95,7,3,38,17,0,2,0,29,0,11,39,8,0,22,0,12,45,20,0,35,56,264,8,2,36,18,0,50,29,113,6,2,1,2,37,22,0,26,5,2,1,2,31,15,0,328,18,190,0,80,921,103,110,18,195,2749,1070,4050,582,8634,568,8,30,114,29,19,47,17,3,32,20,6,18,689,63,129,74,6,0,67,12,65,1,2,0,29,6135,9,1237,43,8,8952,286,50,2,18,3,9,395,2309,106,6,12,4,8,8,9,5991,84,2,70,2,1,3,0,3,1,3,3,2,11,2,0,2,6,2,64,2,3,3,7,2,6,2,27,2,3,2,4,2,0,4,6,2,339,3,24,2,24,2,30,2,24,2,30,2,24,2,30,2,24,2,30,2,24,2,7,2357,44,11,6,17,0,370,43,1301,196,60,67,8,0,1205,3,2,26,2,1,2,0,3,0,2,9,2,3,2,0,2,0,7,0,5,0,2,0,2,0,2,2,2,1,2,0,3,0,2,0,2,0,2,0,2,0,2,1,2,0,3,3,2,6,2,3,2,3,2,0,2,9,2,16,6,2,2,4,2,16,4421,42717,35,4148,12,221,3,5761,15,7472,3104,541,1507,4938];var ae=[509,0,227,0,150,4,294,9,1368,2,2,1,6,3,41,2,5,0,166,1,574,3,9,9,370,1,154,10,176,2,54,14,32,9,16,3,46,10,54,9,7,2,37,13,2,9,6,1,45,0,13,2,49,13,9,3,2,11,83,11,7,0,161,11,6,9,7,3,56,1,2,6,3,1,3,2,10,0,11,1,3,6,4,4,193,17,10,9,5,0,82,19,13,9,214,6,3,8,28,1,83,16,16,9,82,12,9,9,84,14,5,9,243,14,166,9,71,5,2,1,3,3,2,0,2,1,13,9,120,6,3,6,4,0,29,9,41,6,2,3,9,0,10,10,47,15,406,7,2,7,17,9,57,21,2,13,123,5,4,0,2,1,2,6,2,0,9,9,49,4,2,1,2,4,9,9,330,3,19306,9,135,4,60,6,26,9,1014,0,2,54,8,3,82,0,12,1,19628,1,5319,4,4,5,9,7,3,6,31,3,149,2,1418,49,513,54,5,49,9,0,15,0,23,4,2,14,1361,6,2,16,3,6,2,1,2,4,262,6,10,9,419,13,1495,6,110,6,6,9,4759,9,787719,239];function isInAstralSet(S,E){var k=65536;for(var w=0;wS){return false}k+=E[w+1];if(k>=S){return true}}}function isIdentifierStart(S,E){if(S<65){return S===36}if(S<91){return true}if(S<97){return S===95}if(S<123){return true}if(S<=65535){return S>=170&&ee.test(String.fromCharCode(S))}if(E===false){return false}return isInAstralSet(S,ne)}function isIdentifierChar(S,E){if(S<48){return S===36}if(S<58){return true}if(S<65){return false}if(S<91){return true}if(S<97){return S===95}if(S<123){return true}if(S<=65535){return S>=170&&te.test(String.fromCharCode(S))}if(E===false){return false}return isInAstralSet(S,ne)||isInAstralSet(S,ae)}var _e=function TokenType(S,E){if(E===void 0)E={};this.label=S;this.keyword=E.keyword;this.beforeExpr=!!E.beforeExpr;this.startsExpr=!!E.startsExpr;this.isLoop=!!E.isLoop;this.isAssign=!!E.isAssign;this.prefix=!!E.prefix;this.postfix=!!E.postfix;this.binop=E.binop||null;this.updateContext=null};function binop(S,E){return new _e(S,{beforeExpr:true,binop:E})}var ve={beforeExpr:true},Ee={startsExpr:true};var Te={};function kw(S,E){if(E===void 0)E={};E.keyword=S;return Te[S]=new _e(S,E)}var Ce={num:new _e("num",Ee),regexp:new _e("regexp",Ee),string:new _e("string",Ee),name:new _e("name",Ee),eof:new _e("eof"),bracketL:new _e("[",{beforeExpr:true,startsExpr:true}),bracketR:new _e("]"),braceL:new _e("{",{beforeExpr:true,startsExpr:true}),braceR:new _e("}"),parenL:new _e("(",{beforeExpr:true,startsExpr:true}),parenR:new _e(")"),comma:new _e(",",ve),semi:new _e(";",ve),colon:new _e(":",ve),dot:new _e("."),question:new _e("?",ve),questionDot:new _e("?."),arrow:new _e("=>",ve),template:new _e("template"),invalidTemplate:new _e("invalidTemplate"),ellipsis:new _e("...",ve),backQuote:new _e("`",Ee),dollarBraceL:new _e("${",{beforeExpr:true,startsExpr:true}),eq:new _e("=",{beforeExpr:true,isAssign:true}),assign:new _e("_=",{beforeExpr:true,isAssign:true}),incDec:new _e("++/--",{prefix:true,postfix:true,startsExpr:true}),prefix:new _e("!/~",{beforeExpr:true,prefix:true,startsExpr:true}),logicalOR:binop("||",1),logicalAND:binop("&&",2),bitwiseOR:binop("|",3),bitwiseXOR:binop("^",4),bitwiseAND:binop("&",5),equality:binop("==/!=/===/!==",6),relational:binop("/<=/>=",7),bitShift:binop("<>/>>>",8),plusMin:new _e("+/-",{beforeExpr:true,binop:9,prefix:true,startsExpr:true}),modulo:binop("%",10),star:binop("*",10),slash:binop("/",10),starstar:new _e("**",{beforeExpr:true}),coalesce:binop("??",1),_break:kw("break"),_case:kw("case",ve),_catch:kw("catch"),_continue:kw("continue"),_debugger:kw("debugger"),_default:kw("default",ve),_do:kw("do",{isLoop:true,beforeExpr:true}),_else:kw("else",ve),_finally:kw("finally"),_for:kw("for",{isLoop:true}),_function:kw("function",Ee),_if:kw("if"),_return:kw("return",ve),_switch:kw("switch"),_throw:kw("throw",ve),_try:kw("try"),_var:kw("var"),_const:kw("const"),_while:kw("while",{isLoop:true}),_with:kw("with"),_new:kw("new",{beforeExpr:true,startsExpr:true}),_this:kw("this",Ee),_super:kw("super",Ee),_class:kw("class",Ee),_extends:kw("extends",ve),_export:kw("export"),_import:kw("import",Ee),_null:kw("null",Ee),_true:kw("true",Ee),_false:kw("false",Ee),_in:kw("in",{beforeExpr:true,binop:7}),_instanceof:kw("instanceof",{beforeExpr:true,binop:7}),_typeof:kw("typeof",{beforeExpr:true,prefix:true,startsExpr:true}),_void:kw("void",{beforeExpr:true,prefix:true,startsExpr:true}),_delete:kw("delete",{beforeExpr:true,prefix:true,startsExpr:true})};var we=/\r\n?|\n|\u2028|\u2029/;var Ne=new RegExp(we.source,"g");function isNewLine(S,E){return S===10||S===13||!E&&(S===8232||S===8233)}var Ie=/[\u1680\u2000-\u200a\u202f\u205f\u3000\ufeff]/;var Fe=/(?:\s|\/\/.*|\/\*[^]*?\*\/)*/g;var Oe=Object.prototype;var Me=Oe.hasOwnProperty;var Re=Oe.toString;function has(S,E){return Me.call(S,E)}var Le=Array.isArray||function(S){return Re.call(S)==="[object Array]"};function wordsRegexp(S){return new RegExp("^(?:"+S.replace(/ /g,"|")+")$")}var Be=function Position(S,E){this.line=S;this.column=E};Be.prototype.offset=function offset(S){return new Be(this.line,this.column+S)};var je=function SourceLocation(S,E,k){this.start=E;this.end=k;if(S.sourceFile!==null){this.source=S.sourceFile}};function getLineInfo(S,E){for(var k=1,w=0;;){Ne.lastIndex=w;var N=Ne.exec(S);if(N&&N.index=2015){E.ecmaVersion-=2009}if(E.allowReserved==null){E.allowReserved=E.ecmaVersion<5}if(Le(E.onToken)){var w=E.onToken;E.onToken=function(S){return w.push(S)}}if(Le(E.onComment)){E.onComment=pushComment(E,E.onComment)}return E}function pushComment(S,E){return function(k,w,N,j,q,ee){var te={type:k?"Block":"Line",value:w,start:N,end:j};if(S.locations){te.loc=new je(this,q,ee)}if(S.ranges){te.range=[N,j]}E.push(te)}}var Ue=1,We=2,$e=Ue|We,qe=4,Ve=8,He=16,Ge=32,Je=64,Ke=128;function functionFlags(S,E){return We|(S?qe:0)|(E?Ve:0)}var Qe=0,Xe=1,Ye=2,Ze=3,et=4,tt=5;var rt=function Parser(S,k,N){this.options=S=getOptions(S);this.sourceFile=S.sourceFile;this.keywords=wordsRegexp(w[S.ecmaVersion>=6?6:S.sourceType==="module"?"5module":5]);var j="";if(S.allowReserved!==true){for(var q=S.ecmaVersion;;q--){if(j=E[q]){break}}if(S.sourceType==="module"){j+=" await"}}this.reservedWords=wordsRegexp(j);var ee=(j?j+" ":"")+E.strict;this.reservedWordsStrict=wordsRegexp(ee);this.reservedWordsStrictBind=wordsRegexp(ee+" "+E.strictBind);this.input=String(k);this.containsEsc=false;if(N){this.pos=N;this.lineStart=this.input.lastIndexOf("\n",N-1)+1;this.curLine=this.input.slice(0,this.lineStart).split(we).length}else{this.pos=this.lineStart=0;this.curLine=1}this.type=Ce.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=true;this.inModule=S.sourceType==="module";this.strict=this.inModule||this.strictDirective(this.pos);this.potentialArrowAt=-1;this.yieldPos=this.awaitPos=this.awaitIdentPos=0;this.labels=[];this.undefinedExports={};if(this.pos===0&&S.allowHashBang&&this.input.slice(0,2)==="#!"){this.skipLineComment(2)}this.scopeStack=[];this.enterScope(Ue);this.regexpState=null};var nt={inFunction:{configurable:true},inGenerator:{configurable:true},inAsync:{configurable:true},allowSuper:{configurable:true},allowDirectSuper:{configurable:true},treatFunctionsAsVar:{configurable:true}};rt.prototype.parse=function parse(){var S=this.options.program||this.startNode();this.nextToken();return this.parseTopLevel(S)};nt.inFunction.get=function(){return(this.currentVarScope().flags&We)>0};nt.inGenerator.get=function(){return(this.currentVarScope().flags&Ve)>0};nt.inAsync.get=function(){return(this.currentVarScope().flags&qe)>0};nt.allowSuper.get=function(){return(this.currentThisScope().flags&Je)>0};nt.allowDirectSuper.get=function(){return(this.currentThisScope().flags&Ke)>0};nt.treatFunctionsAsVar.get=function(){return this.treatFunctionsAsVarInScope(this.currentScope())};rt.prototype.inNonArrowFunction=function inNonArrowFunction(){return(this.currentThisScope().flags&We)>0};rt.extend=function extend(){var S=[],E=arguments.length;while(E--)S[E]=arguments[E];var k=this;for(var w=0;w=,?^&]/.test(N)||N==="!"&&this.input.charAt(w+1)==="=")}S+=E[0].length;Fe.lastIndex=S;S+=Fe.exec(this.input)[0].length;if(this.input[S]===";"){S++}}};it.eat=function(S){if(this.type===S){this.next();return true}else{return false}};it.isContextual=function(S){return this.type===Ce.name&&this.value===S&&!this.containsEsc};it.eatContextual=function(S){if(!this.isContextual(S)){return false}this.next();return true};it.expectContextual=function(S){if(!this.eatContextual(S)){this.unexpected()}};it.canInsertSemicolon=function(){return this.type===Ce.eof||this.type===Ce.braceR||we.test(this.input.slice(this.lastTokEnd,this.start))};it.insertSemicolon=function(){if(this.canInsertSemicolon()){if(this.options.onInsertedSemicolon){this.options.onInsertedSemicolon(this.lastTokEnd,this.lastTokEndLoc)}return true}};it.semicolon=function(){if(!this.eat(Ce.semi)&&!this.insertSemicolon()){this.unexpected()}};it.afterTrailingComma=function(S,E){if(this.type===S){if(this.options.onTrailingComma){this.options.onTrailingComma(this.lastTokStart,this.lastTokStartLoc)}if(!E){this.next()}return true}};it.expect=function(S){this.eat(S)||this.unexpected()};it.unexpected=function(S){this.raise(S!=null?S:this.start,"Unexpected token")};function DestructuringErrors(){this.shorthandAssign=this.trailingComma=this.parenthesizedAssign=this.parenthesizedBind=this.doubleProto=-1}it.checkPatternErrors=function(S,E){if(!S){return}if(S.trailingComma>-1){this.raiseRecoverable(S.trailingComma,"Comma is not permitted after the rest element")}var k=E?S.parenthesizedAssign:S.parenthesizedBind;if(k>-1){this.raiseRecoverable(k,"Parenthesized pattern")}};it.checkExpressionErrors=function(S,E){if(!S){return false}var k=S.shorthandAssign;var w=S.doubleProto;if(!E){return k>=0||w>=0}if(k>=0){this.raise(k,"Shorthand property assignments are valid only in destructuring patterns")}if(w>=0){this.raiseRecoverable(w,"Redefinition of __proto__ property")}};it.checkYieldAwaitInDefaultParams=function(){if(this.yieldPos&&(!this.awaitPos||this.yieldPos=6){this.unexpected()}return this.parseFunctionStatement(N,false,!S);case Ce._class:if(S){this.unexpected()}return this.parseClass(N,true);case Ce._if:return this.parseIfStatement(N);case Ce._return:return this.parseReturnStatement(N);case Ce._switch:return this.parseSwitchStatement(N);case Ce._throw:return this.parseThrowStatement(N);case Ce._try:return this.parseTryStatement(N);case Ce._const:case Ce._var:j=j||this.value;if(S&&j!=="var"){this.unexpected()}return this.parseVarStatement(N,j);case Ce._while:return this.parseWhileStatement(N);case Ce._with:return this.parseWithStatement(N);case Ce.braceL:return this.parseBlock(true,N);case Ce.semi:return this.parseEmptyStatement(N);case Ce._export:case Ce._import:if(this.options.ecmaVersion>10&&w===Ce._import){Fe.lastIndex=this.pos;var q=Fe.exec(this.input);var ee=this.pos+q[0].length,te=this.input.charCodeAt(ee);if(te===40||te===46){return this.parseExpressionStatement(N,this.parseExpression())}}if(!this.options.allowImportExportEverywhere){if(!E){this.raise(this.start,"'import' and 'export' may only appear at the top level")}if(!this.inModule){this.raise(this.start,"'import' and 'export' may appear only with 'sourceType: module'")}}return w===Ce._import?this.parseImport(N):this.parseExport(N,k);default:if(this.isAsyncFunction()){if(S){this.unexpected()}this.next();return this.parseFunctionStatement(N,true,!S)}var ne=this.value,ae=this.parseExpression();if(w===Ce.name&&ae.type==="Identifier"&&this.eat(Ce.colon)){return this.parseLabeledStatement(N,ne,ae,S)}else{return this.parseExpressionStatement(N,ae)}}};st.parseBreakContinueStatement=function(S,E){var k=E==="break";this.next();if(this.eat(Ce.semi)||this.insertSemicolon()){S.label=null}else if(this.type!==Ce.name){this.unexpected()}else{S.label=this.parseIdent();this.semicolon()}var w=0;for(;w=6){this.eat(Ce.semi)}else{this.semicolon()}return this.finishNode(S,"DoWhileStatement")};st.parseForStatement=function(S){this.next();var E=this.options.ecmaVersion>=9&&(this.inAsync||!this.inFunction&&this.options.allowAwaitOutsideFunction)&&this.eatContextual("await")?this.lastTokStart:-1;this.labels.push(ct);this.enterScope(0);this.expect(Ce.parenL);if(this.type===Ce.semi){if(E>-1){this.unexpected(E)}return this.parseFor(S,null)}var k=this.isLet();if(this.type===Ce._var||this.type===Ce._const||k){var w=this.startNode(),N=k?"let":this.value;this.next();this.parseVar(w,true,N);this.finishNode(w,"VariableDeclaration");if((this.type===Ce._in||this.options.ecmaVersion>=6&&this.isContextual("of"))&&w.declarations.length===1){if(this.options.ecmaVersion>=9){if(this.type===Ce._in){if(E>-1){this.unexpected(E)}}else{S.await=E>-1}}return this.parseForIn(S,w)}if(E>-1){this.unexpected(E)}return this.parseFor(S,w)}var j=new DestructuringErrors;var q=this.parseExpression(true,j);if(this.type===Ce._in||this.options.ecmaVersion>=6&&this.isContextual("of")){if(this.options.ecmaVersion>=9){if(this.type===Ce._in){if(E>-1){this.unexpected(E)}}else{S.await=E>-1}}this.toAssignable(q,false,j);this.checkLVal(q);return this.parseForIn(S,q)}else{this.checkExpressionErrors(j,true)}if(E>-1){this.unexpected(E)}return this.parseFor(S,q)};st.parseFunctionStatement=function(S,E,k){this.next();return this.parseFunction(S,pt|(k?0:ft),false,E)};st.parseIfStatement=function(S){this.next();S.test=this.parseParenExpression();S.consequent=this.parseStatement("if");S.alternate=this.eat(Ce._else)?this.parseStatement("if"):null;return this.finishNode(S,"IfStatement")};st.parseReturnStatement=function(S){if(!this.inFunction&&!this.options.allowReturnOutsideFunction){this.raise(this.start,"'return' outside of function")}this.next();if(this.eat(Ce.semi)||this.insertSemicolon()){S.argument=null}else{S.argument=this.parseExpression();this.semicolon()}return this.finishNode(S,"ReturnStatement")};st.parseSwitchStatement=function(S){this.next();S.discriminant=this.parseParenExpression();S.cases=[];this.expect(Ce.braceL);this.labels.push(ut);this.enterScope(0);var E;for(var k=false;this.type!==Ce.braceR;){if(this.type===Ce._case||this.type===Ce._default){var w=this.type===Ce._case;if(E){this.finishNode(E,"SwitchCase")}S.cases.push(E=this.startNode());E.consequent=[];this.next();if(w){E.test=this.parseExpression()}else{if(k){this.raiseRecoverable(this.lastTokStart,"Multiple default clauses")}k=true;E.test=null}this.expect(Ce.colon)}else{if(!E){this.unexpected()}E.consequent.push(this.parseStatement(null))}}this.exitScope();if(E){this.finishNode(E,"SwitchCase")}this.next();this.labels.pop();return this.finishNode(S,"SwitchStatement")};st.parseThrowStatement=function(S){this.next();if(we.test(this.input.slice(this.lastTokEnd,this.start))){this.raise(this.lastTokEnd,"Illegal newline after throw")}S.argument=this.parseExpression();this.semicolon();return this.finishNode(S,"ThrowStatement")};var dt=[];st.parseTryStatement=function(S){this.next();S.block=this.parseBlock();S.handler=null;if(this.type===Ce._catch){var E=this.startNode();this.next();if(this.eat(Ce.parenL)){E.param=this.parseBindingAtom();var k=E.param.type==="Identifier";this.enterScope(k?Ge:0);this.checkLVal(E.param,k?et:Ye);this.expect(Ce.parenR)}else{if(this.options.ecmaVersion<10){this.unexpected()}E.param=null;this.enterScope(0)}E.body=this.parseBlock(false);this.exitScope();S.handler=this.finishNode(E,"CatchClause")}S.finalizer=this.eat(Ce._finally)?this.parseBlock():null;if(!S.handler&&!S.finalizer){this.raise(S.start,"Missing catch or finally clause")}return this.finishNode(S,"TryStatement")};st.parseVarStatement=function(S,E){this.next();this.parseVar(S,false,E);this.semicolon();return this.finishNode(S,"VariableDeclaration")};st.parseWhileStatement=function(S){this.next();S.test=this.parseParenExpression();this.labels.push(ct);S.body=this.parseStatement("while");this.labels.pop();return this.finishNode(S,"WhileStatement")};st.parseWithStatement=function(S){if(this.strict){this.raise(this.start,"'with' in strict mode")}this.next();S.object=this.parseParenExpression();S.body=this.parseStatement("with");return this.finishNode(S,"WithStatement")};st.parseEmptyStatement=function(S){this.next();return this.finishNode(S,"EmptyStatement")};st.parseLabeledStatement=function(S,E,k,w){for(var N=0,j=this.labels;N=0;te--){var ne=this.labels[te];if(ne.statementStart===S.start){ne.statementStart=this.start;ne.kind=ee}else{break}}this.labels.push({name:E,kind:ee,statementStart:this.start});S.body=this.parseStatement(w?w.indexOf("label")===-1?w+"label":w:"label");this.labels.pop();S.label=k;return this.finishNode(S,"LabeledStatement")};st.parseExpressionStatement=function(S,E){S.expression=E;this.semicolon();return this.finishNode(S,"ExpressionStatement")};st.parseBlock=function(S,E,k){if(S===void 0)S=true;if(E===void 0)E=this.startNode();E.body=[];this.expect(Ce.braceL);if(S){this.enterScope(0)}while(this.type!==Ce.braceR){var w=this.parseStatement(null);E.body.push(w)}if(k){this.strict=false}this.next();if(S){this.exitScope()}return this.finishNode(E,"BlockStatement")};st.parseFor=function(S,E){S.init=E;this.expect(Ce.semi);S.test=this.type===Ce.semi?null:this.parseExpression();this.expect(Ce.semi);S.update=this.type===Ce.parenR?null:this.parseExpression();this.expect(Ce.parenR);S.body=this.parseStatement("for");this.exitScope();this.labels.pop();return this.finishNode(S,"ForStatement")};st.parseForIn=function(S,E){var k=this.type===Ce._in;this.next();if(E.type==="VariableDeclaration"&&E.declarations[0].init!=null&&(!k||this.options.ecmaVersion<8||this.strict||E.kind!=="var"||E.declarations[0].id.type!=="Identifier")){this.raise(E.start,(k?"for-in":"for-of")+" loop variable declaration may not have an initializer")}else if(E.type==="AssignmentPattern"){this.raise(E.start,"Invalid left-hand side in for-loop")}S.left=E;S.right=k?this.parseExpression():this.parseMaybeAssign();this.expect(Ce.parenR);S.body=this.parseStatement("for");this.exitScope();this.labels.pop();return this.finishNode(S,k?"ForInStatement":"ForOfStatement")};st.parseVar=function(S,E,k){S.declarations=[];S.kind=k;for(;;){var w=this.startNode();this.parseVarId(w,k);if(this.eat(Ce.eq)){w.init=this.parseMaybeAssign(E)}else if(k==="const"&&!(this.type===Ce._in||this.options.ecmaVersion>=6&&this.isContextual("of"))){this.unexpected()}else if(w.id.type!=="Identifier"&&!(E&&(this.type===Ce._in||this.isContextual("of")))){this.raise(this.lastTokEnd,"Complex binding patterns require an initialization value")}else{w.init=null}S.declarations.push(this.finishNode(w,"VariableDeclarator"));if(!this.eat(Ce.comma)){break}}return S};st.parseVarId=function(S,E){S.id=this.parseBindingAtom();this.checkLVal(S.id,E==="var"?Xe:Ye,false)};var pt=1,ft=2,mt=4;st.parseFunction=function(S,E,k,w){this.initFunction(S);if(this.options.ecmaVersion>=9||this.options.ecmaVersion>=6&&!w){if(this.type===Ce.star&&E&ft){this.unexpected()}S.generator=this.eat(Ce.star)}if(this.options.ecmaVersion>=8){S.async=!!w}if(E&pt){S.id=E&mt&&this.type!==Ce.name?null:this.parseIdent();if(S.id&&!(E&ft)){this.checkLVal(S.id,this.strict||S.generator||S.async?this.treatFunctionsAsVar?Xe:Ye:Ze)}}var N=this.yieldPos,j=this.awaitPos,q=this.awaitIdentPos;this.yieldPos=0;this.awaitPos=0;this.awaitIdentPos=0;this.enterScope(functionFlags(S.async,S.generator));if(!(E&pt)){S.id=this.type===Ce.name?this.parseIdent():null}this.parseFunctionParams(S);this.parseFunctionBody(S,k,false);this.yieldPos=N;this.awaitPos=j;this.awaitIdentPos=q;return this.finishNode(S,E&pt?"FunctionDeclaration":"FunctionExpression")};st.parseFunctionParams=function(S){this.expect(Ce.parenL);S.params=this.parseBindingList(Ce.parenR,false,this.options.ecmaVersion>=8);this.checkYieldAwaitInDefaultParams()};st.parseClass=function(S,E){this.next();var k=this.strict;this.strict=true;this.parseClassId(S,E);this.parseClassSuper(S);var w=this.startNode();var N=false;w.body=[];this.expect(Ce.braceL);while(this.type!==Ce.braceR){var j=this.parseClassElement(S.superClass!==null);if(j){w.body.push(j);if(j.type==="MethodDefinition"&&j.kind==="constructor"){if(N){this.raise(j.start,"Duplicate constructor in the same class")}N=true}}}this.strict=k;this.next();S.body=this.finishNode(w,"ClassBody");return this.finishNode(S,E?"ClassDeclaration":"ClassExpression")};st.parseClassElement=function(S){var E=this;if(this.eat(Ce.semi)){return null}var k=this.startNode();var tryContextual=function(S,w){if(w===void 0)w=false;var N=E.start,j=E.startLoc;if(!E.eatContextual(S)){return false}if(E.type!==Ce.parenL&&(!w||!E.canInsertSemicolon())){return true}if(k.key){E.unexpected()}k.computed=false;k.key=E.startNodeAt(N,j);k.key.name=S;E.finishNode(k.key,"Identifier");return false};k.kind="method";k.static=tryContextual("static");var w=this.eat(Ce.star);var N=false;if(!w){if(this.options.ecmaVersion>=8&&tryContextual("async",true)){N=true;w=this.options.ecmaVersion>=9&&this.eat(Ce.star)}else if(tryContextual("get")){k.kind="get"}else if(tryContextual("set")){k.kind="set"}}if(!k.key){this.parsePropertyName(k)}var j=k.key;var q=false;if(!k.computed&&!k.static&&(j.type==="Identifier"&&j.name==="constructor"||j.type==="Literal"&&j.value==="constructor")){if(k.kind!=="method"){this.raise(j.start,"Constructor can't have get/set modifier")}if(w){this.raise(j.start,"Constructor can't be a generator")}if(N){this.raise(j.start,"Constructor can't be an async method")}k.kind="constructor";q=S}else if(k.static&&j.type==="Identifier"&&j.name==="prototype"){this.raise(j.start,"Classes may not have a static property named prototype")}this.parseClassMethod(k,w,N,q);if(k.kind==="get"&&k.value.params.length!==0){this.raiseRecoverable(k.value.start,"getter should have no params")}if(k.kind==="set"&&k.value.params.length!==1){this.raiseRecoverable(k.value.start,"setter should have exactly one param")}if(k.kind==="set"&&k.value.params[0].type==="RestElement"){this.raiseRecoverable(k.value.params[0].start,"Setter cannot use rest params")}return k};st.parseClassMethod=function(S,E,k,w){S.value=this.parseMethod(E,k,w);return this.finishNode(S,"MethodDefinition")};st.parseClassId=function(S,E){if(this.type===Ce.name){S.id=this.parseIdent();if(E){this.checkLVal(S.id,Ye,false)}}else{if(E===true){this.unexpected()}S.id=null}};st.parseClassSuper=function(S){S.superClass=this.eat(Ce._extends)?this.parseExprSubscripts():null};st.parseExport=function(S,E){this.next();if(this.eat(Ce.star)){if(this.options.ecmaVersion>=11){if(this.eatContextual("as")){S.exported=this.parseIdent(true);this.checkExport(E,S.exported.name,this.lastTokStart)}else{S.exported=null}}this.expectContextual("from");if(this.type!==Ce.string){this.unexpected()}S.source=this.parseExprAtom();this.semicolon();return this.finishNode(S,"ExportAllDeclaration")}if(this.eat(Ce._default)){this.checkExport(E,"default",this.lastTokStart);var k;if(this.type===Ce._function||(k=this.isAsyncFunction())){var w=this.startNode();this.next();if(k){this.next()}S.declaration=this.parseFunction(w,pt|mt,false,k)}else if(this.type===Ce._class){var N=this.startNode();S.declaration=this.parseClass(N,"nullableID")}else{S.declaration=this.parseMaybeAssign();this.semicolon()}return this.finishNode(S,"ExportDefaultDeclaration")}if(this.shouldParseExportStatement()){S.declaration=this.parseStatement(null);if(S.declaration.type==="VariableDeclaration"){this.checkVariableExport(E,S.declaration.declarations)}else{this.checkExport(E,S.declaration.id.name,S.declaration.id.start)}S.specifiers=[];S.source=null}else{S.declaration=null;S.specifiers=this.parseExportSpecifiers(E);if(this.eatContextual("from")){if(this.type!==Ce.string){this.unexpected()}S.source=this.parseExprAtom()}else{for(var j=0,q=S.specifiers;j=6&&S){switch(S.type){case"Identifier":if(this.inAsync&&S.name==="await"){this.raise(S.start,"Cannot use 'await' as identifier inside an async function")}break;case"ObjectPattern":case"ArrayPattern":case"RestElement":break;case"ObjectExpression":S.type="ObjectPattern";if(k){this.checkPatternErrors(k,true)}for(var w=0,N=S.properties;w=8&&!j&&q.name==="async"&&!this.canInsertSemicolon()&&this.eat(Ce._function)){return this.parseFunction(this.startNodeAt(w,N),0,false,true)}if(k&&!this.canInsertSemicolon()){if(this.eat(Ce.arrow)){return this.parseArrowExpression(this.startNodeAt(w,N),[q],false)}if(this.options.ecmaVersion>=8&&q.name==="async"&&this.type===Ce.name&&!j){q=this.parseIdent(false);if(this.canInsertSemicolon()||!this.eat(Ce.arrow)){this.unexpected()}return this.parseArrowExpression(this.startNodeAt(w,N),[q],true)}}return q;case Ce.regexp:var ee=this.value;E=this.parseLiteral(ee.value);E.regex={pattern:ee.pattern,flags:ee.flags};return E;case Ce.num:case Ce.string:return this.parseLiteral(this.value);case Ce._null:case Ce._true:case Ce._false:E=this.startNode();E.value=this.type===Ce._null?null:this.type===Ce._true;E.raw=this.type.keyword;this.next();return this.finishNode(E,"Literal");case Ce.parenL:var te=this.start,ne=this.parseParenAndDistinguishExpression(k);if(S){if(S.parenthesizedAssign<0&&!this.isSimpleAssignTarget(ne)){S.parenthesizedAssign=te}if(S.parenthesizedBind<0){S.parenthesizedBind=te}}return ne;case Ce.bracketL:E=this.startNode();this.next();E.elements=this.parseExprList(Ce.bracketR,true,true,S);return this.finishNode(E,"ArrayExpression");case Ce.braceL:return this.parseObj(false,S);case Ce._function:E=this.startNode();this.next();return this.parseFunction(E,0);case Ce._class:return this.parseClass(this.startNode(),false);case Ce._new:return this.parseNew();case Ce.backQuote:return this.parseTemplate();case Ce._import:if(this.options.ecmaVersion>=11){return this.parseExprImport()}else{return this.unexpected()}default:this.unexpected()}};_t.parseExprImport=function(){var S=this.startNode();if(this.containsEsc){this.raiseRecoverable(this.start,"Escape sequence in keyword import")}var E=this.parseIdent(true);switch(this.type){case Ce.parenL:return this.parseDynamicImport(S);case Ce.dot:S.meta=E;return this.parseImportMeta(S);default:this.unexpected()}};_t.parseDynamicImport=function(S){this.next();S.source=this.parseMaybeAssign();if(!this.eat(Ce.parenR)){var E=this.start;if(this.eat(Ce.comma)&&this.eat(Ce.parenR)){this.raiseRecoverable(E,"Trailing comma is not allowed in import()")}else{this.unexpected(E)}}return this.finishNode(S,"ImportExpression")};_t.parseImportMeta=function(S){this.next();var E=this.containsEsc;S.property=this.parseIdent(true);if(S.property.name!=="meta"){this.raiseRecoverable(S.property.start,"The only valid meta property for import is 'import.meta'")}if(E){this.raiseRecoverable(S.start,"'import.meta' must not contain escaped characters")}if(this.options.sourceType!=="module"){this.raiseRecoverable(S.start,"Cannot use 'import.meta' outside a module")}return this.finishNode(S,"MetaProperty")};_t.parseLiteral=function(S){var E=this.startNode();E.value=S;E.raw=this.input.slice(this.start,this.end);if(E.raw.charCodeAt(E.raw.length-1)===110){E.bigint=E.raw.slice(0,-1).replace(/_/g,"")}this.next();return this.finishNode(E,"Literal")};_t.parseParenExpression=function(){this.expect(Ce.parenL);var S=this.parseExpression();this.expect(Ce.parenR);return S};_t.parseParenAndDistinguishExpression=function(S){var E=this.start,k=this.startLoc,w,N=this.options.ecmaVersion>=8;if(this.options.ecmaVersion>=6){this.next();var j=this.start,q=this.startLoc;var ee=[],te=true,ne=false;var ae=new DestructuringErrors,_e=this.yieldPos,ve=this.awaitPos,Ee;this.yieldPos=0;this.awaitPos=0;while(this.type!==Ce.parenR){te?te=false:this.expect(Ce.comma);if(N&&this.afterTrailingComma(Ce.parenR,true)){ne=true;break}else if(this.type===Ce.ellipsis){Ee=this.start;ee.push(this.parseParenItem(this.parseRestBinding()));if(this.type===Ce.comma){this.raise(this.start,"Comma is not permitted after the rest element")}break}else{ee.push(this.parseMaybeAssign(false,ae,this.parseParenItem))}}var Te=this.start,we=this.startLoc;this.expect(Ce.parenR);if(S&&!this.canInsertSemicolon()&&this.eat(Ce.arrow)){this.checkPatternErrors(ae,false);this.checkYieldAwaitInDefaultParams();this.yieldPos=_e;this.awaitPos=ve;return this.parseParenArrowList(E,k,ee)}if(!ee.length||ne){this.unexpected(this.lastTokStart)}if(Ee){this.unexpected(Ee)}this.checkExpressionErrors(ae,true);this.yieldPos=_e||this.yieldPos;this.awaitPos=ve||this.awaitPos;if(ee.length>1){w=this.startNodeAt(j,q);w.expressions=ee;this.finishNodeAt(w,"SequenceExpression",Te,we)}else{w=ee[0]}}else{w=this.parseParenExpression()}if(this.options.preserveParens){var Ne=this.startNodeAt(E,k);Ne.expression=w;return this.finishNode(Ne,"ParenthesizedExpression")}else{return w}};_t.parseParenItem=function(S){return S};_t.parseParenArrowList=function(S,E,k){return this.parseArrowExpression(this.startNodeAt(S,E),k)};var yt=[];_t.parseNew=function(){if(this.containsEsc){this.raiseRecoverable(this.start,"Escape sequence in keyword new")}var S=this.startNode();var E=this.parseIdent(true);if(this.options.ecmaVersion>=6&&this.eat(Ce.dot)){S.meta=E;var k=this.containsEsc;S.property=this.parseIdent(true);if(S.property.name!=="target"){this.raiseRecoverable(S.property.start,"The only valid meta property for new is 'new.target'")}if(k){this.raiseRecoverable(S.start,"'new.target' must not contain escaped characters")}if(!this.inNonArrowFunction()){this.raiseRecoverable(S.start,"'new.target' can only be used in functions")}return this.finishNode(S,"MetaProperty")}var w=this.start,N=this.startLoc,j=this.type===Ce._import;S.callee=this.parseSubscripts(this.parseExprAtom(),w,N,true);if(j&&S.callee.type==="ImportExpression"){this.raise(w,"Cannot use new with import()")}if(this.eat(Ce.parenL)){S.arguments=this.parseExprList(Ce.parenR,this.options.ecmaVersion>=8,false)}else{S.arguments=yt}return this.finishNode(S,"NewExpression")};_t.parseTemplateElement=function(S){var E=S.isTagged;var k=this.startNode();if(this.type===Ce.invalidTemplate){if(!E){this.raiseRecoverable(this.start,"Bad escape sequence in untagged template literal")}k.value={raw:this.value,cooked:null}}else{k.value={raw:this.input.slice(this.start,this.end).replace(/\r\n?/g,"\n"),cooked:this.value}}this.next();k.tail=this.type===Ce.backQuote;return this.finishNode(k,"TemplateElement")};_t.parseTemplate=function(S){if(S===void 0)S={};var E=S.isTagged;if(E===void 0)E=false;var k=this.startNode();this.next();k.expressions=[];var w=this.parseTemplateElement({isTagged:E});k.quasis=[w];while(!w.tail){if(this.type===Ce.eof){this.raise(this.pos,"Unterminated template literal")}this.expect(Ce.dollarBraceL);k.expressions.push(this.parseExpression());this.expect(Ce.braceR);k.quasis.push(w=this.parseTemplateElement({isTagged:E}))}this.next();return this.finishNode(k,"TemplateLiteral")};_t.isAsyncProp=function(S){return!S.computed&&S.key.type==="Identifier"&&S.key.name==="async"&&(this.type===Ce.name||this.type===Ce.num||this.type===Ce.string||this.type===Ce.bracketL||this.type.keyword||this.options.ecmaVersion>=9&&this.type===Ce.star)&&!we.test(this.input.slice(this.lastTokEnd,this.start))};_t.parseObj=function(S,E){var k=this.startNode(),w=true,N={};k.properties=[];this.next();while(!this.eat(Ce.braceR)){if(!w){this.expect(Ce.comma);if(this.options.ecmaVersion>=5&&this.afterTrailingComma(Ce.braceR)){break}}else{w=false}var j=this.parseProperty(S,E);if(!S){this.checkPropClash(j,N,E)}k.properties.push(j)}return this.finishNode(k,S?"ObjectPattern":"ObjectExpression")};_t.parseProperty=function(S,E){var k=this.startNode(),w,N,j,q;if(this.options.ecmaVersion>=9&&this.eat(Ce.ellipsis)){if(S){k.argument=this.parseIdent(false);if(this.type===Ce.comma){this.raise(this.start,"Comma is not permitted after the rest element")}return this.finishNode(k,"RestElement")}if(this.type===Ce.parenL&&E){if(E.parenthesizedAssign<0){E.parenthesizedAssign=this.start}if(E.parenthesizedBind<0){E.parenthesizedBind=this.start}}k.argument=this.parseMaybeAssign(false,E);if(this.type===Ce.comma&&E&&E.trailingComma<0){E.trailingComma=this.start}return this.finishNode(k,"SpreadElement")}if(this.options.ecmaVersion>=6){k.method=false;k.shorthand=false;if(S||E){j=this.start;q=this.startLoc}if(!S){w=this.eat(Ce.star)}}var ee=this.containsEsc;this.parsePropertyName(k);if(!S&&!ee&&this.options.ecmaVersion>=8&&!w&&this.isAsyncProp(k)){N=true;w=this.options.ecmaVersion>=9&&this.eat(Ce.star);this.parsePropertyName(k,E)}else{N=false}this.parsePropertyValue(k,S,w,N,j,q,E,ee);return this.finishNode(k,"Property")};_t.parsePropertyValue=function(S,E,k,w,N,j,q,ee){if((k||w)&&this.type===Ce.colon){this.unexpected()}if(this.eat(Ce.colon)){S.value=E?this.parseMaybeDefault(this.start,this.startLoc):this.parseMaybeAssign(false,q);S.kind="init"}else if(this.options.ecmaVersion>=6&&this.type===Ce.parenL){if(E){this.unexpected()}S.kind="init";S.method=true;S.value=this.parseMethod(k,w)}else if(!E&&!ee&&this.options.ecmaVersion>=5&&!S.computed&&S.key.type==="Identifier"&&(S.key.name==="get"||S.key.name==="set")&&(this.type!==Ce.comma&&this.type!==Ce.braceR&&this.type!==Ce.eq)){if(k||w){this.unexpected()}S.kind=S.key.name;this.parsePropertyName(S);S.value=this.parseMethod(false);var te=S.kind==="get"?0:1;if(S.value.params.length!==te){var ne=S.value.start;if(S.kind==="get"){this.raiseRecoverable(ne,"getter should have no params")}else{this.raiseRecoverable(ne,"setter should have exactly one param")}}else{if(S.kind==="set"&&S.value.params[0].type==="RestElement"){this.raiseRecoverable(S.value.params[0].start,"Setter cannot use rest params")}}}else if(this.options.ecmaVersion>=6&&!S.computed&&S.key.type==="Identifier"){if(k||w){this.unexpected()}this.checkUnreserved(S.key);if(S.key.name==="await"&&!this.awaitIdentPos){this.awaitIdentPos=N}S.kind="init";if(E){S.value=this.parseMaybeDefault(N,j,S.key)}else if(this.type===Ce.eq&&q){if(q.shorthandAssign<0){q.shorthandAssign=this.start}S.value=this.parseMaybeDefault(N,j,S.key)}else{S.value=S.key}S.shorthand=true}else{this.unexpected()}};_t.parsePropertyName=function(S){if(this.options.ecmaVersion>=6){if(this.eat(Ce.bracketL)){S.computed=true;S.key=this.parseMaybeAssign();this.expect(Ce.bracketR);return S.key}else{S.computed=false}}return S.key=this.type===Ce.num||this.type===Ce.string?this.parseExprAtom():this.parseIdent(this.options.allowReserved!=="never")};_t.initFunction=function(S){S.id=null;if(this.options.ecmaVersion>=6){S.generator=S.expression=false}if(this.options.ecmaVersion>=8){S.async=false}};_t.parseMethod=function(S,E,k){var w=this.startNode(),N=this.yieldPos,j=this.awaitPos,q=this.awaitIdentPos;this.initFunction(w);if(this.options.ecmaVersion>=6){w.generator=S}if(this.options.ecmaVersion>=8){w.async=!!E}this.yieldPos=0;this.awaitPos=0;this.awaitIdentPos=0;this.enterScope(functionFlags(E,w.generator)|Je|(k?Ke:0));this.expect(Ce.parenL);w.params=this.parseBindingList(Ce.parenR,false,this.options.ecmaVersion>=8);this.checkYieldAwaitInDefaultParams();this.parseFunctionBody(w,false,true);this.yieldPos=N;this.awaitPos=j;this.awaitIdentPos=q;return this.finishNode(w,"FunctionExpression")};_t.parseArrowExpression=function(S,E,k){var w=this.yieldPos,N=this.awaitPos,j=this.awaitIdentPos;this.enterScope(functionFlags(k,false)|He);this.initFunction(S);if(this.options.ecmaVersion>=8){S.async=!!k}this.yieldPos=0;this.awaitPos=0;this.awaitIdentPos=0;S.params=this.toAssignableList(E,true);this.parseFunctionBody(S,true,false);this.yieldPos=w;this.awaitPos=N;this.awaitIdentPos=j;return this.finishNode(S,"ArrowFunctionExpression")};_t.parseFunctionBody=function(S,E,k){var w=E&&this.type!==Ce.braceL;var N=this.strict,j=false;if(w){S.body=this.parseMaybeAssign();S.expression=true;this.checkParams(S,false)}else{var q=this.options.ecmaVersion>=7&&!this.isSimpleParamList(S.params);if(!N||q){j=this.strictDirective(this.end);if(j&&q){this.raiseRecoverable(S.start,"Illegal 'use strict' directive in function with non-simple parameter list")}}var ee=this.labels;this.labels=[];if(j){this.strict=true}this.checkParams(S,!N&&!j&&!E&&!k&&this.isSimpleParamList(S.params));if(this.strict&&S.id){this.checkLVal(S.id,tt)}S.body=this.parseBlock(false,undefined,j&&!N);S.expression=false;this.adaptDirectivePrologue(S.body.body);this.labels=ee}this.exitScope()};_t.isSimpleParamList=function(S){for(var E=0,k=S;E-1||N.functions.indexOf(S)>-1||N.var.indexOf(S)>-1;N.lexical.push(S);if(this.inModule&&N.flags&Ue){delete this.undefinedExports[S]}}else if(E===et){var j=this.currentScope();j.lexical.push(S)}else if(E===Ze){var q=this.currentScope();if(this.treatFunctionsAsVar){w=q.lexical.indexOf(S)>-1}else{w=q.lexical.indexOf(S)>-1||q.var.indexOf(S)>-1}q.functions.push(S)}else{for(var ee=this.scopeStack.length-1;ee>=0;--ee){var te=this.scopeStack[ee];if(te.lexical.indexOf(S)>-1&&!(te.flags&Ge&&te.lexical[0]===S)||!this.treatFunctionsAsVarInScope(te)&&te.functions.indexOf(S)>-1){w=true;break}te.var.push(S);if(this.inModule&&te.flags&Ue){delete this.undefinedExports[S]}if(te.flags&$e){break}}}if(w){this.raiseRecoverable(k,"Identifier '"+S+"' has already been declared")}};bt.checkLocalExport=function(S){if(this.scopeStack[0].lexical.indexOf(S.name)===-1&&this.scopeStack[0].var.indexOf(S.name)===-1){this.undefinedExports[S.name]=S}};bt.currentScope=function(){return this.scopeStack[this.scopeStack.length-1]};bt.currentVarScope=function(){for(var S=this.scopeStack.length-1;;S--){var E=this.scopeStack[S];if(E.flags&$e){return E}}};bt.currentThisScope=function(){for(var S=this.scopeStack.length-1;;S--){var E=this.scopeStack[S];if(E.flags&$e&&!(E.flags&He)){return E}}};var St=function Node(S,E,k){this.type="";this.start=E;this.end=0;if(S.options.locations){this.loc=new je(S,k)}if(S.options.directSourceFile){this.sourceFile=S.options.directSourceFile}if(S.options.ranges){this.range=[E,0]}};var Et=rt.prototype;Et.startNode=function(){return new St(this,this.start,this.startLoc)};Et.startNodeAt=function(S,E){return new St(this,S,E)};function finishNodeAt(S,E,k,w){S.type=E;S.end=k;if(this.options.locations){S.loc.end=w}if(this.options.ranges){S.range[1]=k}return S}Et.finishNode=function(S,E){return finishNodeAt.call(this,S,E,this.lastTokEnd,this.lastTokEndLoc)};Et.finishNodeAt=function(S,E,k,w){return finishNodeAt.call(this,S,E,k,w)};var Tt=function TokContext(S,E,k,w,N){this.token=S;this.isExpr=!!E;this.preserveSpace=!!k;this.override=w;this.generator=!!N};var kt={b_stat:new Tt("{",false),b_expr:new Tt("{",true),b_tmpl:new Tt("${",false),p_stat:new Tt("(",false),p_expr:new Tt("(",true),q_tmpl:new Tt("`",true,true,(function(S){return S.tryReadTemplateToken()})),f_stat:new Tt("function",false),f_expr:new Tt("function",true),f_expr_gen:new Tt("function",true,false,null,true),f_gen:new Tt("function",false,false,null,true)};var Ct=rt.prototype;Ct.initialContext=function(){return[kt.b_stat]};Ct.braceIsBlock=function(S){var E=this.curContext();if(E===kt.f_expr||E===kt.f_stat){return true}if(S===Ce.colon&&(E===kt.b_stat||E===kt.b_expr)){return!E.isExpr}if(S===Ce._return||S===Ce.name&&this.exprAllowed){return we.test(this.input.slice(this.lastTokEnd,this.start))}if(S===Ce._else||S===Ce.semi||S===Ce.eof||S===Ce.parenR||S===Ce.arrow){return true}if(S===Ce.braceL){return E===kt.b_stat}if(S===Ce._var||S===Ce._const||S===Ce.name){return false}return!this.exprAllowed};Ct.inGeneratorContext=function(){for(var S=this.context.length-1;S>=1;S--){var E=this.context[S];if(E.token==="function"){return E.generator}}return false};Ct.updateContext=function(S){var E,k=this.type;if(k.keyword&&S===Ce.dot){this.exprAllowed=false}else if(E=k.updateContext){E.call(this,S)}else{this.exprAllowed=k.beforeExpr}};Ce.parenR.updateContext=Ce.braceR.updateContext=function(){if(this.context.length===1){this.exprAllowed=true;return}var S=this.context.pop();if(S===kt.b_stat&&this.curContext().token==="function"){S=this.context.pop()}this.exprAllowed=!S.isExpr};Ce.braceL.updateContext=function(S){this.context.push(this.braceIsBlock(S)?kt.b_stat:kt.b_expr);this.exprAllowed=true};Ce.dollarBraceL.updateContext=function(){this.context.push(kt.b_tmpl);this.exprAllowed=true};Ce.parenL.updateContext=function(S){var E=S===Ce._if||S===Ce._for||S===Ce._with||S===Ce._while;this.context.push(E?kt.p_stat:kt.p_expr);this.exprAllowed=true};Ce.incDec.updateContext=function(){};Ce._function.updateContext=Ce._class.updateContext=function(S){if(S.beforeExpr&&S!==Ce.semi&&S!==Ce._else&&!(S===Ce._return&&we.test(this.input.slice(this.lastTokEnd,this.start)))&&!((S===Ce.colon||S===Ce.braceL)&&this.curContext()===kt.b_stat)){this.context.push(kt.f_expr)}else{this.context.push(kt.f_stat)}this.exprAllowed=false};Ce.backQuote.updateContext=function(){if(this.curContext()===kt.q_tmpl){this.context.pop()}else{this.context.push(kt.q_tmpl)}this.exprAllowed=false};Ce.star.updateContext=function(S){if(S===Ce._function){var E=this.context.length-1;if(this.context[E]===kt.f_expr){this.context[E]=kt.f_expr_gen}else{this.context[E]=kt.f_gen}}this.exprAllowed=true};Ce.name.updateContext=function(S){var E=false;if(this.options.ecmaVersion>=6&&S!==Ce.dot){if(this.value==="of"&&!this.exprAllowed||this.value==="yield"&&this.inGeneratorContext()){E=true}}this.exprAllowed=E};var Dt="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";var At=Dt+" Extended_Pictographic";var wt=At;var Pt={9:Dt,10:At,11:wt};var Nt="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";var It="Adlam Adlm Ahom 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 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";var Ft=It+" Dogra Dogr Gunjala_Gondi Gong Hanifi_Rohingya Rohg Makasar Maka Medefaidrin Medf Old_Sogdian Sogo Sogdian Sogd";var Ot=Ft+" Elymaic Elym Nandinagari Nand Nyiakeng_Puachue_Hmong Hmnp Wancho Wcho";var Mt={9:It,10:Ft,11:Ot};var Rt={};function buildUnicodeData(S){var E=Rt[S]={binary:wordsRegexp(Pt[S]+" "+Nt),nonBinary:{General_Category:wordsRegexp(Nt),Script:wordsRegexp(Mt[S])}};E.nonBinary.Script_Extensions=E.nonBinary.Script;E.nonBinary.gc=E.nonBinary.General_Category;E.nonBinary.sc=E.nonBinary.Script;E.nonBinary.scx=E.nonBinary.Script_Extensions}buildUnicodeData(9);buildUnicodeData(10);buildUnicodeData(11);var Lt=rt.prototype;var Bt=function RegExpValidationState(S){this.parser=S;this.validFlags="gim"+(S.options.ecmaVersion>=6?"uy":"")+(S.options.ecmaVersion>=9?"s":"");this.unicodeProperties=Rt[S.options.ecmaVersion>=11?11:S.options.ecmaVersion];this.source="";this.flags="";this.start=0;this.switchU=false;this.switchN=false;this.pos=0;this.lastIntValue=0;this.lastStringValue="";this.lastAssertionIsQuantifiable=false;this.numCapturingParens=0;this.maxBackReference=0;this.groupNames=[];this.backReferenceNames=[]};Bt.prototype.reset=function reset(S,E,k){var w=k.indexOf("u")!==-1;this.start=S|0;this.source=E+"";this.flags=k;this.switchU=w&&this.parser.options.ecmaVersion>=6;this.switchN=w&&this.parser.options.ecmaVersion>=9};Bt.prototype.raise=function raise(S){this.parser.raiseRecoverable(this.start,"Invalid regular expression: /"+this.source+"/: "+S)};Bt.prototype.at=function at(S,E){if(E===void 0)E=false;var k=this.source;var w=k.length;if(S>=w){return-1}var N=k.charCodeAt(S);if(!(E||this.switchU)||N<=55295||N>=57344||S+1>=w){return N}var j=k.charCodeAt(S+1);return j>=56320&&j<=57343?(N<<10)+j-56613888:N};Bt.prototype.nextIndex=function nextIndex(S,E){if(E===void 0)E=false;var k=this.source;var w=k.length;if(S>=w){return w}var N=k.charCodeAt(S),j;if(!(E||this.switchU)||N<=55295||N>=57344||S+1>=w||(j=k.charCodeAt(S+1))<56320||j>57343){return S+1}return S+2};Bt.prototype.current=function current(S){if(S===void 0)S=false;return this.at(this.pos,S)};Bt.prototype.lookahead=function lookahead(S){if(S===void 0)S=false;return this.at(this.nextIndex(this.pos,S),S)};Bt.prototype.advance=function advance(S){if(S===void 0)S=false;this.pos=this.nextIndex(this.pos,S)};Bt.prototype.eat=function eat(S,E){if(E===void 0)E=false;if(this.current(E)===S){this.advance(E);return true}return false};function codePointToString(S){if(S<=65535){return String.fromCharCode(S)}S-=65536;return String.fromCharCode((S>>10)+55296,(S&1023)+56320)}Lt.validateRegExpFlags=function(S){var E=S.validFlags;var k=S.flags;for(var w=0;w-1){this.raise(S.start,"Duplicate regular expression flag")}}};Lt.validateRegExpPattern=function(S){this.regexp_pattern(S);if(!S.switchN&&this.options.ecmaVersion>=9&&S.groupNames.length>0){S.switchN=true;this.regexp_pattern(S)}};Lt.regexp_pattern=function(S){S.pos=0;S.lastIntValue=0;S.lastStringValue="";S.lastAssertionIsQuantifiable=false;S.numCapturingParens=0;S.maxBackReference=0;S.groupNames.length=0;S.backReferenceNames.length=0;this.regexp_disjunction(S);if(S.pos!==S.source.length){if(S.eat(41)){S.raise("Unmatched ')'")}if(S.eat(93)||S.eat(125)){S.raise("Lone quantifier brackets")}}if(S.maxBackReference>S.numCapturingParens){S.raise("Invalid escape")}for(var E=0,k=S.backReferenceNames;E=9){k=S.eat(60)}if(S.eat(61)||S.eat(33)){this.regexp_disjunction(S);if(!S.eat(41)){S.raise("Unterminated group")}S.lastAssertionIsQuantifiable=!k;return true}}S.pos=E;return false};Lt.regexp_eatQuantifier=function(S,E){if(E===void 0)E=false;if(this.regexp_eatQuantifierPrefix(S,E)){S.eat(63);return true}return false};Lt.regexp_eatQuantifierPrefix=function(S,E){return S.eat(42)||S.eat(43)||S.eat(63)||this.regexp_eatBracedQuantifier(S,E)};Lt.regexp_eatBracedQuantifier=function(S,E){var k=S.pos;if(S.eat(123)){var w=0,N=-1;if(this.regexp_eatDecimalDigits(S)){w=S.lastIntValue;if(S.eat(44)&&this.regexp_eatDecimalDigits(S)){N=S.lastIntValue}if(S.eat(125)){if(N!==-1&&N=9){this.regexp_groupSpecifier(S)}else if(S.current()===63){S.raise("Invalid group")}this.regexp_disjunction(S);if(S.eat(41)){S.numCapturingParens+=1;return true}S.raise("Unterminated group")}return false};Lt.regexp_eatExtendedAtom=function(S){return S.eat(46)||this.regexp_eatReverseSolidusAtomEscape(S)||this.regexp_eatCharacterClass(S)||this.regexp_eatUncapturingGroup(S)||this.regexp_eatCapturingGroup(S)||this.regexp_eatInvalidBracedQuantifier(S)||this.regexp_eatExtendedPatternCharacter(S)};Lt.regexp_eatInvalidBracedQuantifier=function(S){if(this.regexp_eatBracedQuantifier(S,true)){S.raise("Nothing to repeat")}return false};Lt.regexp_eatSyntaxCharacter=function(S){var E=S.current();if(isSyntaxCharacter(E)){S.lastIntValue=E;S.advance();return true}return false};function isSyntaxCharacter(S){return S===36||S>=40&&S<=43||S===46||S===63||S>=91&&S<=94||S>=123&&S<=125}Lt.regexp_eatPatternCharacters=function(S){var E=S.pos;var k=0;while((k=S.current())!==-1&&!isSyntaxCharacter(k)){S.advance()}return S.pos!==E};Lt.regexp_eatExtendedPatternCharacter=function(S){var E=S.current();if(E!==-1&&E!==36&&!(E>=40&&E<=43)&&E!==46&&E!==63&&E!==91&&E!==94&&E!==124){S.advance();return true}return false};Lt.regexp_groupSpecifier=function(S){if(S.eat(63)){if(this.regexp_eatGroupName(S)){if(S.groupNames.indexOf(S.lastStringValue)!==-1){S.raise("Duplicate capture group name")}S.groupNames.push(S.lastStringValue);return}S.raise("Invalid group")}};Lt.regexp_eatGroupName=function(S){S.lastStringValue="";if(S.eat(60)){if(this.regexp_eatRegExpIdentifierName(S)&&S.eat(62)){return true}S.raise("Invalid capture group name")}return false};Lt.regexp_eatRegExpIdentifierName=function(S){S.lastStringValue="";if(this.regexp_eatRegExpIdentifierStart(S)){S.lastStringValue+=codePointToString(S.lastIntValue);while(this.regexp_eatRegExpIdentifierPart(S)){S.lastStringValue+=codePointToString(S.lastIntValue)}return true}return false};Lt.regexp_eatRegExpIdentifierStart=function(S){var E=S.pos;var k=this.options.ecmaVersion>=11;var w=S.current(k);S.advance(k);if(w===92&&this.regexp_eatRegExpUnicodeEscapeSequence(S,k)){w=S.lastIntValue}if(isRegExpIdentifierStart(w)){S.lastIntValue=w;return true}S.pos=E;return false};function isRegExpIdentifierStart(S){return isIdentifierStart(S,true)||S===36||S===95}Lt.regexp_eatRegExpIdentifierPart=function(S){var E=S.pos;var k=this.options.ecmaVersion>=11;var w=S.current(k);S.advance(k);if(w===92&&this.regexp_eatRegExpUnicodeEscapeSequence(S,k)){w=S.lastIntValue}if(isRegExpIdentifierPart(w)){S.lastIntValue=w;return true}S.pos=E;return false};function isRegExpIdentifierPart(S){return isIdentifierChar(S,true)||S===36||S===95||S===8204||S===8205}Lt.regexp_eatAtomEscape=function(S){if(this.regexp_eatBackReference(S)||this.regexp_eatCharacterClassEscape(S)||this.regexp_eatCharacterEscape(S)||S.switchN&&this.regexp_eatKGroupName(S)){return true}if(S.switchU){if(S.current()===99){S.raise("Invalid unicode escape")}S.raise("Invalid escape")}return false};Lt.regexp_eatBackReference=function(S){var E=S.pos;if(this.regexp_eatDecimalEscape(S)){var k=S.lastIntValue;if(S.switchU){if(k>S.maxBackReference){S.maxBackReference=k}return true}if(k<=S.numCapturingParens){return true}S.pos=E}return false};Lt.regexp_eatKGroupName=function(S){if(S.eat(107)){if(this.regexp_eatGroupName(S)){S.backReferenceNames.push(S.lastStringValue);return true}S.raise("Invalid named reference")}return false};Lt.regexp_eatCharacterEscape=function(S){return this.regexp_eatControlEscape(S)||this.regexp_eatCControlLetter(S)||this.regexp_eatZero(S)||this.regexp_eatHexEscapeSequence(S)||this.regexp_eatRegExpUnicodeEscapeSequence(S,false)||!S.switchU&&this.regexp_eatLegacyOctalEscapeSequence(S)||this.regexp_eatIdentityEscape(S)};Lt.regexp_eatCControlLetter=function(S){var E=S.pos;if(S.eat(99)){if(this.regexp_eatControlLetter(S)){return true}S.pos=E}return false};Lt.regexp_eatZero=function(S){if(S.current()===48&&!isDecimalDigit(S.lookahead())){S.lastIntValue=0;S.advance();return true}return false};Lt.regexp_eatControlEscape=function(S){var E=S.current();if(E===116){S.lastIntValue=9;S.advance();return true}if(E===110){S.lastIntValue=10;S.advance();return true}if(E===118){S.lastIntValue=11;S.advance();return true}if(E===102){S.lastIntValue=12;S.advance();return true}if(E===114){S.lastIntValue=13;S.advance();return true}return false};Lt.regexp_eatControlLetter=function(S){var E=S.current();if(isControlLetter(E)){S.lastIntValue=E%32;S.advance();return true}return false};function isControlLetter(S){return S>=65&&S<=90||S>=97&&S<=122}Lt.regexp_eatRegExpUnicodeEscapeSequence=function(S,E){if(E===void 0)E=false;var k=S.pos;var w=E||S.switchU;if(S.eat(117)){if(this.regexp_eatFixedHexDigits(S,4)){var N=S.lastIntValue;if(w&&N>=55296&&N<=56319){var j=S.pos;if(S.eat(92)&&S.eat(117)&&this.regexp_eatFixedHexDigits(S,4)){var q=S.lastIntValue;if(q>=56320&&q<=57343){S.lastIntValue=(N-55296)*1024+(q-56320)+65536;return true}}S.pos=j;S.lastIntValue=N}return true}if(w&&S.eat(123)&&this.regexp_eatHexDigits(S)&&S.eat(125)&&isValidUnicode(S.lastIntValue)){return true}if(w){S.raise("Invalid unicode escape")}S.pos=k}return false};function isValidUnicode(S){return S>=0&&S<=1114111}Lt.regexp_eatIdentityEscape=function(S){if(S.switchU){if(this.regexp_eatSyntaxCharacter(S)){return true}if(S.eat(47)){S.lastIntValue=47;return true}return false}var E=S.current();if(E!==99&&(!S.switchN||E!==107)){S.lastIntValue=E;S.advance();return true}return false};Lt.regexp_eatDecimalEscape=function(S){S.lastIntValue=0;var E=S.current();if(E>=49&&E<=57){do{S.lastIntValue=10*S.lastIntValue+(E-48);S.advance()}while((E=S.current())>=48&&E<=57);return true}return false};Lt.regexp_eatCharacterClassEscape=function(S){var E=S.current();if(isCharacterClassEscape(E)){S.lastIntValue=-1;S.advance();return true}if(S.switchU&&this.options.ecmaVersion>=9&&(E===80||E===112)){S.lastIntValue=-1;S.advance();if(S.eat(123)&&this.regexp_eatUnicodePropertyValueExpression(S)&&S.eat(125)){return true}S.raise("Invalid property name")}return false};function isCharacterClassEscape(S){return S===100||S===68||S===115||S===83||S===119||S===87}Lt.regexp_eatUnicodePropertyValueExpression=function(S){var E=S.pos;if(this.regexp_eatUnicodePropertyName(S)&&S.eat(61)){var k=S.lastStringValue;if(this.regexp_eatUnicodePropertyValue(S)){var w=S.lastStringValue;this.regexp_validateUnicodePropertyNameAndValue(S,k,w);return true}}S.pos=E;if(this.regexp_eatLoneUnicodePropertyNameOrValue(S)){var N=S.lastStringValue;this.regexp_validateUnicodePropertyNameOrValue(S,N);return true}return false};Lt.regexp_validateUnicodePropertyNameAndValue=function(S,E,k){if(!has(S.unicodeProperties.nonBinary,E)){S.raise("Invalid property name")}if(!S.unicodeProperties.nonBinary[E].test(k)){S.raise("Invalid property value")}};Lt.regexp_validateUnicodePropertyNameOrValue=function(S,E){if(!S.unicodeProperties.binary.test(E)){S.raise("Invalid property name")}};Lt.regexp_eatUnicodePropertyName=function(S){var E=0;S.lastStringValue="";while(isUnicodePropertyNameCharacter(E=S.current())){S.lastStringValue+=codePointToString(E);S.advance()}return S.lastStringValue!==""};function isUnicodePropertyNameCharacter(S){return isControlLetter(S)||S===95}Lt.regexp_eatUnicodePropertyValue=function(S){var E=0;S.lastStringValue="";while(isUnicodePropertyValueCharacter(E=S.current())){S.lastStringValue+=codePointToString(E);S.advance()}return S.lastStringValue!==""};function isUnicodePropertyValueCharacter(S){return isUnicodePropertyNameCharacter(S)||isDecimalDigit(S)}Lt.regexp_eatLoneUnicodePropertyNameOrValue=function(S){return this.regexp_eatUnicodePropertyValue(S)};Lt.regexp_eatCharacterClass=function(S){if(S.eat(91)){S.eat(94);this.regexp_classRanges(S);if(S.eat(93)){return true}S.raise("Unterminated character class")}return false};Lt.regexp_classRanges=function(S){while(this.regexp_eatClassAtom(S)){var E=S.lastIntValue;if(S.eat(45)&&this.regexp_eatClassAtom(S)){var k=S.lastIntValue;if(S.switchU&&(E===-1||k===-1)){S.raise("Invalid character class")}if(E!==-1&&k!==-1&&E>k){S.raise("Range out of order in character class")}}}};Lt.regexp_eatClassAtom=function(S){var E=S.pos;if(S.eat(92)){if(this.regexp_eatClassEscape(S)){return true}if(S.switchU){var k=S.current();if(k===99||isOctalDigit(k)){S.raise("Invalid class escape")}S.raise("Invalid escape")}S.pos=E}var w=S.current();if(w!==93){S.lastIntValue=w;S.advance();return true}return false};Lt.regexp_eatClassEscape=function(S){var E=S.pos;if(S.eat(98)){S.lastIntValue=8;return true}if(S.switchU&&S.eat(45)){S.lastIntValue=45;return true}if(!S.switchU&&S.eat(99)){if(this.regexp_eatClassControlLetter(S)){return true}S.pos=E}return this.regexp_eatCharacterClassEscape(S)||this.regexp_eatCharacterEscape(S)};Lt.regexp_eatClassControlLetter=function(S){var E=S.current();if(isDecimalDigit(E)||E===95){S.lastIntValue=E%32;S.advance();return true}return false};Lt.regexp_eatHexEscapeSequence=function(S){var E=S.pos;if(S.eat(120)){if(this.regexp_eatFixedHexDigits(S,2)){return true}if(S.switchU){S.raise("Invalid escape")}S.pos=E}return false};Lt.regexp_eatDecimalDigits=function(S){var E=S.pos;var k=0;S.lastIntValue=0;while(isDecimalDigit(k=S.current())){S.lastIntValue=10*S.lastIntValue+(k-48);S.advance()}return S.pos!==E};function isDecimalDigit(S){return S>=48&&S<=57}Lt.regexp_eatHexDigits=function(S){var E=S.pos;var k=0;S.lastIntValue=0;while(isHexDigit(k=S.current())){S.lastIntValue=16*S.lastIntValue+hexToInt(k);S.advance()}return S.pos!==E};function isHexDigit(S){return S>=48&&S<=57||S>=65&&S<=70||S>=97&&S<=102}function hexToInt(S){if(S>=65&&S<=70){return 10+(S-65)}if(S>=97&&S<=102){return 10+(S-97)}return S-48}Lt.regexp_eatLegacyOctalEscapeSequence=function(S){if(this.regexp_eatOctalDigit(S)){var E=S.lastIntValue;if(this.regexp_eatOctalDigit(S)){var k=S.lastIntValue;if(E<=3&&this.regexp_eatOctalDigit(S)){S.lastIntValue=E*64+k*8+S.lastIntValue}else{S.lastIntValue=E*8+k}}else{S.lastIntValue=E}return true}return false};Lt.regexp_eatOctalDigit=function(S){var E=S.current();if(isOctalDigit(E)){S.lastIntValue=E-48;S.advance();return true}S.lastIntValue=0;return false};function isOctalDigit(S){return S>=48&&S<=55}Lt.regexp_eatFixedHexDigits=function(S,E){var k=S.pos;S.lastIntValue=0;for(var w=0;w=this.input.length){return this.finishToken(Ce.eof)}if(S.override){return S.override(this)}else{this.readToken(this.fullCharCodeAtPos())}};zt.readToken=function(S){if(isIdentifierStart(S,this.options.ecmaVersion>=6)||S===92){return this.readWord()}return this.getTokenFromCode(S)};zt.fullCharCodeAtPos=function(){var S=this.input.charCodeAt(this.pos);if(S<=55295||S>=57344){return S}var E=this.input.charCodeAt(this.pos+1);return(S<<10)+E-56613888};zt.skipBlockComment=function(){var S=this.options.onComment&&this.curPosition();var E=this.pos,k=this.input.indexOf("*/",this.pos+=2);if(k===-1){this.raise(this.pos-2,"Unterminated comment")}this.pos=k+2;if(this.options.locations){Ne.lastIndex=E;var w;while((w=Ne.exec(this.input))&&w.index8&&S<14||S>=5760&&Ie.test(String.fromCharCode(S))){++this.pos}else{break e}}}};zt.finishToken=function(S,E){this.end=this.pos;if(this.options.locations){this.endLoc=this.curPosition()}var k=this.type;this.type=S;this.value=E;this.updateContext(k)};zt.readToken_dot=function(){var S=this.input.charCodeAt(this.pos+1);if(S>=48&&S<=57){return this.readNumber(true)}var E=this.input.charCodeAt(this.pos+2);if(this.options.ecmaVersion>=6&&S===46&&E===46){this.pos+=3;return this.finishToken(Ce.ellipsis)}else{++this.pos;return this.finishToken(Ce.dot)}};zt.readToken_slash=function(){var S=this.input.charCodeAt(this.pos+1);if(this.exprAllowed){++this.pos;return this.readRegexp()}if(S===61){return this.finishOp(Ce.assign,2)}return this.finishOp(Ce.slash,1)};zt.readToken_mult_modulo_exp=function(S){var E=this.input.charCodeAt(this.pos+1);var k=1;var w=S===42?Ce.star:Ce.modulo;if(this.options.ecmaVersion>=7&&S===42&&E===42){++k;w=Ce.starstar;E=this.input.charCodeAt(this.pos+2)}if(E===61){return this.finishOp(Ce.assign,k+1)}return this.finishOp(w,k)};zt.readToken_pipe_amp=function(S){var E=this.input.charCodeAt(this.pos+1);if(E===S){if(this.options.ecmaVersion>=12){var k=this.input.charCodeAt(this.pos+2);if(k===61){return this.finishOp(Ce.assign,3)}}return this.finishOp(S===124?Ce.logicalOR:Ce.logicalAND,2)}if(E===61){return this.finishOp(Ce.assign,2)}return this.finishOp(S===124?Ce.bitwiseOR:Ce.bitwiseAND,1)};zt.readToken_caret=function(){var S=this.input.charCodeAt(this.pos+1);if(S===61){return this.finishOp(Ce.assign,2)}return this.finishOp(Ce.bitwiseXOR,1)};zt.readToken_plus_min=function(S){var E=this.input.charCodeAt(this.pos+1);if(E===S){if(E===45&&!this.inModule&&this.input.charCodeAt(this.pos+2)===62&&(this.lastTokEnd===0||we.test(this.input.slice(this.lastTokEnd,this.pos)))){this.skipLineComment(3);this.skipSpace();return this.nextToken()}return this.finishOp(Ce.incDec,2)}if(E===61){return this.finishOp(Ce.assign,2)}return this.finishOp(Ce.plusMin,1)};zt.readToken_lt_gt=function(S){var E=this.input.charCodeAt(this.pos+1);var k=1;if(E===S){k=S===62&&this.input.charCodeAt(this.pos+2)===62?3:2;if(this.input.charCodeAt(this.pos+k)===61){return this.finishOp(Ce.assign,k+1)}return this.finishOp(Ce.bitShift,k)}if(E===33&&S===60&&!this.inModule&&this.input.charCodeAt(this.pos+2)===45&&this.input.charCodeAt(this.pos+3)===45){this.skipLineComment(4);this.skipSpace();return this.nextToken()}if(E===61){k=2}return this.finishOp(Ce.relational,k)};zt.readToken_eq_excl=function(S){var E=this.input.charCodeAt(this.pos+1);if(E===61){return this.finishOp(Ce.equality,this.input.charCodeAt(this.pos+2)===61?3:2)}if(S===61&&E===62&&this.options.ecmaVersion>=6){this.pos+=2;return this.finishToken(Ce.arrow)}return this.finishOp(S===61?Ce.eq:Ce.prefix,1)};zt.readToken_question=function(){var S=this.options.ecmaVersion;if(S>=11){var E=this.input.charCodeAt(this.pos+1);if(E===46){var k=this.input.charCodeAt(this.pos+2);if(k<48||k>57){return this.finishOp(Ce.questionDot,2)}}if(E===63){if(S>=12){var w=this.input.charCodeAt(this.pos+2);if(w===61){return this.finishOp(Ce.assign,3)}}return this.finishOp(Ce.coalesce,2)}}return this.finishOp(Ce.question,1)};zt.getTokenFromCode=function(S){switch(S){case 46:return this.readToken_dot();case 40:++this.pos;return this.finishToken(Ce.parenL);case 41:++this.pos;return this.finishToken(Ce.parenR);case 59:++this.pos;return this.finishToken(Ce.semi);case 44:++this.pos;return this.finishToken(Ce.comma);case 91:++this.pos;return this.finishToken(Ce.bracketL);case 93:++this.pos;return this.finishToken(Ce.bracketR);case 123:++this.pos;return this.finishToken(Ce.braceL);case 125:++this.pos;return this.finishToken(Ce.braceR);case 58:++this.pos;return this.finishToken(Ce.colon);case 96:if(this.options.ecmaVersion<6){break}++this.pos;return this.finishToken(Ce.backQuote);case 48:var E=this.input.charCodeAt(this.pos+1);if(E===120||E===88){return this.readRadixNumber(16)}if(this.options.ecmaVersion>=6){if(E===111||E===79){return this.readRadixNumber(8)}if(E===98||E===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(false);case 34:case 39:return this.readString(S);case 47:return this.readToken_slash();case 37:case 42:return this.readToken_mult_modulo_exp(S);case 124:case 38:return this.readToken_pipe_amp(S);case 94:return this.readToken_caret();case 43:case 45:return this.readToken_plus_min(S);case 60:case 62:return this.readToken_lt_gt(S);case 61:case 33:return this.readToken_eq_excl(S);case 63:return this.readToken_question();case 126:return this.finishOp(Ce.prefix,1)}this.raise(this.pos,"Unexpected character '"+codePointToString$1(S)+"'")};zt.finishOp=function(S,E){var k=this.input.slice(this.pos,this.pos+E);this.pos+=E;return this.finishToken(S,k)};zt.readRegexp=function(){var S,E,k=this.pos;for(;;){if(this.pos>=this.input.length){this.raise(k,"Unterminated regular expression")}var w=this.input.charAt(this.pos);if(we.test(w)){this.raise(k,"Unterminated regular expression")}if(!S){if(w==="["){E=true}else if(w==="]"&&E){E=false}else if(w==="/"&&!E){break}S=w==="\\"}else{S=false}++this.pos}var N=this.input.slice(k,this.pos);++this.pos;var j=this.pos;var q=this.readWord1();if(this.containsEsc){this.unexpected(j)}var ee=this.regexpState||(this.regexpState=new Bt(this));ee.reset(k,N,q);this.validateRegExpFlags(ee);this.validateRegExpPattern(ee);var te=null;try{te=new RegExp(N,q)}catch(S){}return this.finishToken(Ce.regexp,{pattern:N,flags:q,value:te})};zt.readInt=function(S,E,k){var w=this.options.ecmaVersion>=12&&E===undefined;var N=k&&this.input.charCodeAt(this.pos)===48;var j=this.pos,q=0,ee=0;for(var te=0,ne=E==null?Infinity:E;te=97){_e=ae-97+10}else if(ae>=65){_e=ae-65+10}else if(ae>=48&&ae<=57){_e=ae-48}else{_e=Infinity}if(_e>=S){break}ee=ae;q=q*S+_e}if(w&&ee===95){this.raiseRecoverable(this.pos-1,"Numeric separator is not allowed at the last of digits")}if(this.pos===j||E!=null&&this.pos-j!==E){return null}return q};function stringToNumber(S,E){if(E){return parseInt(S,8)}return parseFloat(S.replace(/_/g,""))}function stringToBigInt(S){if(typeof BigInt!=="function"){return null}return BigInt(S.replace(/_/g,""))}zt.readRadixNumber=function(S){var E=this.pos;this.pos+=2;var k=this.readInt(S);if(k==null){this.raise(this.start+2,"Expected number in radix "+S)}if(this.options.ecmaVersion>=11&&this.input.charCodeAt(this.pos)===110){k=stringToBigInt(this.input.slice(E,this.pos));++this.pos}else if(isIdentifierStart(this.fullCharCodeAtPos())){this.raise(this.pos,"Identifier directly after number")}return this.finishToken(Ce.num,k)};zt.readNumber=function(S){var E=this.pos;if(!S&&this.readInt(10,undefined,true)===null){this.raise(E,"Invalid number")}var k=this.pos-E>=2&&this.input.charCodeAt(E)===48;if(k&&this.strict){this.raise(E,"Invalid number")}var w=this.input.charCodeAt(this.pos);if(!k&&!S&&this.options.ecmaVersion>=11&&w===110){var N=stringToBigInt(this.input.slice(E,this.pos));++this.pos;if(isIdentifierStart(this.fullCharCodeAtPos())){this.raise(this.pos,"Identifier directly after number")}return this.finishToken(Ce.num,N)}if(k&&/[89]/.test(this.input.slice(E,this.pos))){k=false}if(w===46&&!k){++this.pos;this.readInt(10);w=this.input.charCodeAt(this.pos)}if((w===69||w===101)&&!k){w=this.input.charCodeAt(++this.pos);if(w===43||w===45){++this.pos}if(this.readInt(10)===null){this.raise(E,"Invalid number")}}if(isIdentifierStart(this.fullCharCodeAtPos())){this.raise(this.pos,"Identifier directly after number")}var j=stringToNumber(this.input.slice(E,this.pos),k);return this.finishToken(Ce.num,j)};zt.readCodePoint=function(){var S=this.input.charCodeAt(this.pos),E;if(S===123){if(this.options.ecmaVersion<6){this.unexpected()}var k=++this.pos;E=this.readHexChar(this.input.indexOf("}",this.pos)-this.pos);++this.pos;if(E>1114111){this.invalidStringToken(k,"Code point out of bounds")}}else{E=this.readHexChar(4)}return E};function codePointToString$1(S){if(S<=65535){return String.fromCharCode(S)}S-=65536;return String.fromCharCode((S>>10)+55296,(S&1023)+56320)}zt.readString=function(S){var E="",k=++this.pos;for(;;){if(this.pos>=this.input.length){this.raise(this.start,"Unterminated string constant")}var w=this.input.charCodeAt(this.pos);if(w===S){break}if(w===92){E+=this.input.slice(k,this.pos);E+=this.readEscapedChar(false);k=this.pos}else{if(isNewLine(w,this.options.ecmaVersion>=10)){this.raise(this.start,"Unterminated string constant")}++this.pos}}E+=this.input.slice(k,this.pos++);return this.finishToken(Ce.string,E)};var Ut={};zt.tryReadTemplateToken=function(){this.inTemplateElement=true;try{this.readTmplToken()}catch(S){if(S===Ut){this.readInvalidTemplateToken()}else{throw S}}this.inTemplateElement=false};zt.invalidStringToken=function(S,E){if(this.inTemplateElement&&this.options.ecmaVersion>=9){throw Ut}else{this.raise(S,E)}};zt.readTmplToken=function(){var S="",E=this.pos;for(;;){if(this.pos>=this.input.length){this.raise(this.start,"Unterminated template")}var k=this.input.charCodeAt(this.pos);if(k===96||k===36&&this.input.charCodeAt(this.pos+1)===123){if(this.pos===this.start&&(this.type===Ce.template||this.type===Ce.invalidTemplate)){if(k===36){this.pos+=2;return this.finishToken(Ce.dollarBraceL)}else{++this.pos;return this.finishToken(Ce.backQuote)}}S+=this.input.slice(E,this.pos);return this.finishToken(Ce.template,S)}if(k===92){S+=this.input.slice(E,this.pos);S+=this.readEscapedChar(true);E=this.pos}else if(isNewLine(k)){S+=this.input.slice(E,this.pos);++this.pos;switch(k){case 13:if(this.input.charCodeAt(this.pos)===10){++this.pos}case 10:S+="\n";break;default:S+=String.fromCharCode(k);break}if(this.options.locations){++this.curLine;this.lineStart=this.pos}E=this.pos}else{++this.pos}}};zt.readInvalidTemplateToken=function(){for(;this.pos=48&&E<=55){var w=this.input.substr(this.pos-1,3).match(/^[0-7]+/)[0];var N=parseInt(w,8);if(N>255){w=w.slice(0,-1);N=parseInt(w,8)}this.pos+=w.length-1;E=this.input.charCodeAt(this.pos);if((w!=="0"||E===56||E===57)&&(this.strict||S)){this.invalidStringToken(this.pos-1-w.length,S?"Octal literal in template string":"Octal literal in strict mode")}return String.fromCharCode(N)}if(isNewLine(E)){return""}return String.fromCharCode(E)}};zt.readHexChar=function(S){var E=this.pos;var k=this.readInt(16,S);if(k===null){this.invalidStringToken(E,"Bad character escape sequence")}return k};zt.readWord1=function(){this.containsEsc=false;var S="",E=true,k=this.pos;var w=this.options.ecmaVersion>=6;while(this.pos{"use strict";var w=k(62310);S.exports=defineKeywords;function defineKeywords(S,E){if(Array.isArray(E)){for(var k=0;k{"use strict";var w=/^(\d\d):(\d\d):(\d\d)(\.\d+)?(z|[+-]\d\d:\d\d)?$/i;var N=/t|\s/i;var j={date:compareDate,time:compareTime,"date-time":compareDateTime};var q={type:"object",required:["$data"],properties:{$data:{type:"string",anyOf:[{format:"relative-json-pointer"},{format:"json-pointer"}]}},additionalProperties:false};S.exports=function(S){var E="format"+S;return function defFunc(w){defFunc.definition={type:"string",inline:k(2543),statements:true,errors:"full",dependencies:["format"],metaSchema:{anyOf:[{type:"string"},q]}};w.addKeyword(E,defFunc.definition);w.addKeyword("formatExclusive"+S,{dependencies:["format"+S],metaSchema:{anyOf:[{type:"boolean"},q]}});extendFormats(w);return w}};function extendFormats(S){var E=S._formats;for(var k in j){var w=E[k];if(typeof w!="object"||w instanceof RegExp||!w.validate)w=E[k]={validate:w};if(!w.compare)w.compare=j[k]}}function compareDate(S,E){if(!(S&&E))return;if(S>E)return 1;if(SE)return 1;if(S{"use strict";S.exports={metaSchemaRef:metaSchemaRef};var E="http://json-schema.org/draft-07/schema";function metaSchemaRef(S){var k=S._opts.defaultMeta;if(typeof k=="string")return{$ref:k};if(S.getSchema(E))return{$ref:E};console.warn("meta schema not defined");return{}}},96216:S=>{"use strict";S.exports=function defFunc(S){defFunc.definition={type:"object",macro:function(S,E){if(!S)return true;var k=Object.keys(E.properties);if(k.length==0)return true;return{required:k}},metaSchema:{type:"boolean"},dependencies:["properties"]};S.addKeyword("allRequired",defFunc.definition);return S}},1611:S=>{"use strict";S.exports=function defFunc(S){defFunc.definition={type:"object",macro:function(S){if(S.length==0)return true;if(S.length==1)return{required:S};var E=S.map((function(S){return{required:[S]}}));return{anyOf:E}},metaSchema:{type:"array",items:{type:"string"}}};S.addKeyword("anyRequired",defFunc.definition);return S}},49494:(S,E,k)=>{"use strict";var w=k(54630);S.exports=function defFunc(S){defFunc.definition={type:"object",macro:function(S){var E=[];for(var k in S)E.push(getSchema(k,S[k]));return{allOf:E}},metaSchema:{type:"object",propertyNames:{type:"string",format:"json-pointer"},additionalProperties:w.metaSchemaRef(S)}};S.addKeyword("deepProperties",defFunc.definition);return S};function getSchema(S,E){var k=S.split("/");var w={};var N=w;for(var j=1;j{"use strict";S.exports=function defFunc(S){defFunc.definition={type:"object",inline:function(S,E,k){var w="";for(var N=0;N{"use strict";S.exports=function generate__formatLimit(S,E,k){var w=" ";var N=S.level;var j=S.dataLevel;var q=S.schema[E];var ee=S.schemaPath+S.util.getProperty(E);var te=S.errSchemaPath+"/"+E;var ne=!S.opts.allErrors;var ae;var _e="data"+(j||"");var ve="valid"+N;w+="var "+ve+" = undefined;";if(S.opts.format===false){w+=" "+ve+" = true; ";return w}var Ee=S.schema.format,Te=S.opts.$data&&Ee.$data,Ce="";if(Te){var we=S.util.getData(Ee.$data,j,S.dataPathArr),Ne="format"+N,Ie="compare"+N;w+=" var "+Ne+" = formats["+we+"] , "+Ie+" = "+Ne+" && "+Ne+".compare;"}else{var Ne=S.formats[Ee];if(!(Ne&&Ne.compare)){w+=" "+ve+" = true; ";return w}var Ie="formats"+S.util.getProperty(Ee)+".compare"}var Fe=E=="formatMaximum",Oe="formatExclusive"+(Fe?"Maximum":"Minimum"),Me=S.schema[Oe],Re=S.opts.$data&&Me&&Me.$data,Le=Fe?"<":">",Be="result"+N;var je=S.opts.$data&&q&&q.$data,ze;if(je){w+=" var schema"+N+" = "+S.util.getData(q.$data,j,S.dataPathArr)+"; ";ze="schema"+N}else{ze=q}if(Re){var Ue=S.util.getData(Me.$data,j,S.dataPathArr),We="exclusive"+N,$e="op"+N,qe="' + "+$e+" + '";w+=" var schemaExcl"+N+" = "+Ue+"; ";Ue="schemaExcl"+N;w+=" if (typeof "+Ue+" != 'boolean' && "+Ue+" !== undefined) { "+ve+" = false; ";var ae=Oe;var Ve=Ve||[];Ve.push(w);w="";if(S.createErrors!==false){w+=" { keyword: '"+(ae||"_formatExclusiveLimit")+"' , dataPath: (dataPath || '') + "+S.errorPath+" , schemaPath: "+S.util.toQuotedString(te)+" , params: {} ";if(S.opts.messages!==false){w+=" , message: '"+Oe+" should be boolean' "}if(S.opts.verbose){w+=" , schema: validate.schema"+ee+" , parentSchema: validate.schema"+S.schemaPath+" , data: "+_e+" "}w+=" } "}else{w+=" {} "}var He=w;w=Ve.pop();if(!S.compositeRule&&ne){if(S.async){w+=" throw new ValidationError(["+He+"]); "}else{w+=" validate.errors = ["+He+"]; return false; "}}else{w+=" var err = "+He+"; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; "}w+=" } ";if(ne){Ce+="}";w+=" else { "}if(je){w+=" if ("+ze+" === undefined) "+ve+" = true; else if (typeof "+ze+" != 'string') "+ve+" = false; else { ";Ce+="}"}if(Te){w+=" if (!"+Ie+") "+ve+" = true; else { ";Ce+="}"}w+=" var "+Be+" = "+Ie+"("+_e+", ";if(je){w+=""+ze}else{w+=""+S.util.toQuotedString(q)}w+=" ); if ("+Be+" === undefined) "+ve+" = false; var "+We+" = "+Ue+" === true; if ("+ve+" === undefined) { "+ve+" = "+We+" ? "+Be+" "+Le+" 0 : "+Be+" "+Le+"= 0; } if (!"+ve+") var op"+N+" = "+We+" ? '"+Le+"' : '"+Le+"=';"}else{var We=Me===true,qe=Le;if(!We)qe+="=";var $e="'"+qe+"'";if(je){w+=" if ("+ze+" === undefined) "+ve+" = true; else if (typeof "+ze+" != 'string') "+ve+" = false; else { ";Ce+="}"}if(Te){w+=" if (!"+Ie+") "+ve+" = true; else { ";Ce+="}"}w+=" var "+Be+" = "+Ie+"("+_e+", ";if(je){w+=""+ze}else{w+=""+S.util.toQuotedString(q)}w+=" ); if ("+Be+" === undefined) "+ve+" = false; if ("+ve+" === undefined) "+ve+" = "+Be+" "+Le;if(!We){w+="="}w+=" 0;"}w+=""+Ce+"if (!"+ve+") { ";var ae=E;var Ve=Ve||[];Ve.push(w);w="";if(S.createErrors!==false){w+=" { keyword: '"+(ae||"_formatLimit")+"' , dataPath: (dataPath || '') + "+S.errorPath+" , schemaPath: "+S.util.toQuotedString(te)+" , params: { comparison: "+$e+", limit: ";if(je){w+=""+ze}else{w+=""+S.util.toQuotedString(q)}w+=" , exclusive: "+We+" } ";if(S.opts.messages!==false){w+=" , message: 'should be "+qe+' "';if(je){w+="' + "+ze+" + '"}else{w+=""+S.util.escapeQuotes(q)}w+="\"' "}if(S.opts.verbose){w+=" , schema: ";if(je){w+="validate.schema"+ee}else{w+=""+S.util.toQuotedString(q)}w+=" , parentSchema: validate.schema"+S.schemaPath+" , data: "+_e+" "}w+=" } "}else{w+=" {} "}var He=w;w=Ve.pop();if(!S.compositeRule&&ne){if(S.async){w+=" throw new ValidationError(["+He+"]); "}else{w+=" validate.errors = ["+He+"]; return false; "}}else{w+=" var err = "+He+"; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; "}w+="}";return w}},98632:S=>{"use strict";S.exports=function generate_patternRequired(S,E,k){var w=" ";var N=S.level;var j=S.dataLevel;var q=S.schema[E];var ee=S.schemaPath+S.util.getProperty(E);var te=S.errSchemaPath+"/"+E;var ne=!S.opts.allErrors;var ae="data"+(j||"");var _e="valid"+N;var ve="key"+N,Ee="idx"+N,Te="patternMatched"+N,Ce="dataProperties"+N,we="",Ne=S.opts.ownProperties;w+="var "+_e+" = true;";if(Ne){w+=" var "+Ce+" = undefined;"}var Ie=q;if(Ie){var Fe,Oe=-1,Me=Ie.length-1;while(Oe{"use strict";S.exports=function generate_switch(S,E,k){var w=" ";var N=S.level;var j=S.dataLevel;var q=S.schema[E];var ee=S.schemaPath+S.util.getProperty(E);var te=S.errSchemaPath+"/"+E;var ne=!S.opts.allErrors;var ae="data"+(j||"");var _e="valid"+N;var ve="errs__"+N;var Ee=S.util.copy(S);var Te="";Ee.level++;var Ce="valid"+Ee.level;var we="ifPassed"+S.level,Ne=Ee.baseId,Ie;w+="var "+we+";";var Fe=q;if(Fe){var Oe,Me=-1,Re=Fe.length-1;while(Me0:S.util.schemaHasRules(Oe.if,S.RULES.all))){w+=" var "+ve+" = errors; ";var Le=S.compositeRule;S.compositeRule=Ee.compositeRule=true;Ee.createErrors=false;Ee.schema=Oe.if;Ee.schemaPath=ee+"["+Me+"].if";Ee.errSchemaPath=te+"/"+Me+"/if";w+=" "+S.validate(Ee)+" ";Ee.baseId=Ne;Ee.createErrors=true;S.compositeRule=Ee.compositeRule=Le;w+=" "+we+" = "+Ce+"; if ("+we+") { ";if(typeof Oe.then=="boolean"){if(Oe.then===false){var Be=Be||[];Be.push(w);w="";if(S.createErrors!==false){w+=" { keyword: '"+"switch"+"' , dataPath: (dataPath || '') + "+S.errorPath+" , schemaPath: "+S.util.toQuotedString(te)+" , params: { caseIndex: "+Me+" } ";if(S.opts.messages!==false){w+=" , message: 'should pass \"switch\" keyword validation' "}if(S.opts.verbose){w+=" , schema: validate.schema"+ee+" , parentSchema: validate.schema"+S.schemaPath+" , data: "+ae+" "}w+=" } "}else{w+=" {} "}var je=w;w=Be.pop();if(!S.compositeRule&&ne){if(S.async){w+=" throw new ValidationError(["+je+"]); "}else{w+=" validate.errors = ["+je+"]; return false; "}}else{w+=" var err = "+je+"; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; "}}w+=" var "+Ce+" = "+Oe.then+"; "}else{Ee.schema=Oe.then;Ee.schemaPath=ee+"["+Me+"].then";Ee.errSchemaPath=te+"/"+Me+"/then";w+=" "+S.validate(Ee)+" ";Ee.baseId=Ne}w+=" } else { errors = "+ve+"; if (vErrors !== null) { if ("+ve+") vErrors.length = "+ve+"; else vErrors = null; } } "}else{w+=" "+we+" = true; ";if(typeof Oe.then=="boolean"){if(Oe.then===false){var Be=Be||[];Be.push(w);w="";if(S.createErrors!==false){w+=" { keyword: '"+"switch"+"' , dataPath: (dataPath || '') + "+S.errorPath+" , schemaPath: "+S.util.toQuotedString(te)+" , params: { caseIndex: "+Me+" } ";if(S.opts.messages!==false){w+=" , message: 'should pass \"switch\" keyword validation' "}if(S.opts.verbose){w+=" , schema: validate.schema"+ee+" , parentSchema: validate.schema"+S.schemaPath+" , data: "+ae+" "}w+=" } "}else{w+=" {} "}var je=w;w=Be.pop();if(!S.compositeRule&&ne){if(S.async){w+=" throw new ValidationError(["+je+"]); "}else{w+=" validate.errors = ["+je+"]; return false; "}}else{w+=" var err = "+je+"; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; "}}w+=" var "+Ce+" = "+Oe.then+"; "}else{Ee.schema=Oe.then;Ee.schemaPath=ee+"["+Me+"].then";Ee.errSchemaPath=te+"/"+Me+"/then";w+=" "+S.validate(Ee)+" ";Ee.baseId=Ne}}Ie=Oe.continue}}w+=""+Te+"var "+_e+" = "+Ce+";";return w}},41835:S=>{"use strict";var E={};var k={timestamp:function(){return Date.now()},datetime:function(){return(new Date).toISOString()},date:function(){return(new Date).toISOString().slice(0,10)},time:function(){return(new Date).toISOString().slice(11)},random:function(){return Math.random()},randomint:function(S){var E=S&&S.max||2;return function(){return Math.floor(Math.random()*E)}},seq:function(S){var k=S&&S.name||"";E[k]=E[k]||0;return function(){return E[k]++}}};S.exports=function defFunc(S){defFunc.definition={compile:function(S,E,k){var w={};for(var N in S){var j=S[N];var q=getDefault(typeof j=="string"?j:j.func);w[N]=q.length?q(j.args):q}return k.opts.useDefaults&&!k.compositeRule?assignDefaults:noop;function assignDefaults(E){for(var N in S){if(E[N]===undefined||k.opts.useDefaults=="empty"&&(E[N]===null||E[N]===""))E[N]=w[N]()}return true}function noop(){return true}},DEFAULTS:k,metaSchema:{type:"object",additionalProperties:{type:["string","object"],additionalProperties:false,required:["func","args"],properties:{func:{type:"string"},args:{type:"object"}}}}};S.addKeyword("dynamicDefaults",defFunc.definition);return S;function getDefault(S){var E=k[S];if(E)return E;throw new Error('invalid "dynamicDefaults" keyword property value: '+S)}}},69513:(S,E,k)=>{"use strict";S.exports=k(87113)("Maximum")},50581:(S,E,k)=>{"use strict";S.exports=k(87113)("Minimum")},62310:(S,E,k)=>{"use strict";S.exports={instanceof:k(94236),range:k(5332),regexp:k(85829),typeof:k(77189),dynamicDefaults:k(41835),allRequired:k(96216),anyRequired:k(1611),oneRequired:k(82233),prohibited:k(47431),uniqueItemProperties:k(69536),deepProperties:k(49494),deepRequired:k(23023),formatMinimum:k(50581),formatMaximum:k(69513),patternRequired:k(89042),switch:k(65305),select:k(9821),transform:k(62111)}},94236:S=>{"use strict";var E={Object:Object,Array:Array,Function:Function,Number:Number,String:String,Date:Date,RegExp:RegExp};S.exports=function defFunc(S){if(typeof Buffer!="undefined")E.Buffer=Buffer;if(typeof Promise!="undefined")E.Promise=Promise;defFunc.definition={compile:function(S){if(typeof S=="string"){var E=getConstructor(S);return function(S){return S instanceof E}}var k=S.map(getConstructor);return function(S){for(var E=0;E{"use strict";S.exports=function defFunc(S){defFunc.definition={type:"object",macro:function(S){if(S.length==0)return true;if(S.length==1)return{required:S};var E=S.map((function(S){return{required:[S]}}));return{oneOf:E}},metaSchema:{type:"array",items:{type:"string"}}};S.addKeyword("oneRequired",defFunc.definition);return S}},89042:(S,E,k)=>{"use strict";S.exports=function defFunc(S){defFunc.definition={type:"object",inline:k(98632),statements:true,errors:"full",metaSchema:{type:"array",items:{type:"string",format:"regex"},uniqueItems:true}};S.addKeyword("patternRequired",defFunc.definition);return S}},47431:S=>{"use strict";S.exports=function defFunc(S){defFunc.definition={type:"object",macro:function(S){if(S.length==0)return true;if(S.length==1)return{not:{required:S}};var E=S.map((function(S){return{required:[S]}}));return{not:{anyOf:E}}},metaSchema:{type:"array",items:{type:"string"}}};S.addKeyword("prohibited",defFunc.definition);return S}},5332:S=>{"use strict";S.exports=function defFunc(S){defFunc.definition={type:"number",macro:function(S,E){var k=S[0],w=S[1],N=E.exclusiveRange;validateRangeSchema(k,w,N);return N===true?{exclusiveMinimum:k,exclusiveMaximum:w}:{minimum:k,maximum:w}},metaSchema:{type:"array",minItems:2,maxItems:2,items:{type:"number"}}};S.addKeyword("range",defFunc.definition);S.addKeyword("exclusiveRange");return S;function validateRangeSchema(S,E,k){if(k!==undefined&&typeof k!="boolean")throw new Error("Invalid schema for exclusiveRange keyword, should be boolean");if(S>E||k&&S==E)throw new Error("There are no numbers in range")}}},85829:S=>{"use strict";S.exports=function defFunc(S){defFunc.definition={type:"string",inline:function(S,E,k){return getRegExp()+".test(data"+(S.dataLevel||"")+")";function getRegExp(){try{if(typeof k=="object")return new RegExp(k.pattern,k.flags);var S=k.match(/^\/(.*)\/([gimuy]*)$/);if(S)return new RegExp(S[1],S[2]);throw new Error("cannot parse string into RegExp")}catch(S){console.error("regular expression",k,"is invalid");throw S}}},metaSchema:{type:["string","object"],properties:{pattern:{type:"string"},flags:{type:"string"}},required:["pattern"],additionalProperties:false}};S.addKeyword("regexp",defFunc.definition);return S}},9821:(S,E,k)=>{"use strict";var w=k(54630);S.exports=function defFunc(S){if(!S._opts.$data){console.warn("keyword select requires $data option");return S}var E=w.metaSchemaRef(S);var k=[];defFunc.definition={validate:function v(S,E,k){if(k.selectCases===undefined)throw new Error('keyword "selectCases" is absent');var w=getCompiledSchemas(k,false);var N=w.cases[S];if(N===undefined)N=w.default;if(typeof N=="boolean")return N;var j=N(E);if(!j)v.errors=N.errors;return j},$data:true,metaSchema:{type:["string","number","boolean","null"]}};S.addKeyword("select",defFunc.definition);S.addKeyword("selectCases",{compile:function(S,E){var k=getCompiledSchemas(E);for(var w in S)k.cases[w]=compileOrBoolean(S[w]);return function(){return true}},valid:true,metaSchema:{type:"object",additionalProperties:E}});S.addKeyword("selectDefault",{compile:function(S,E){var k=getCompiledSchemas(E);k.default=compileOrBoolean(S);return function(){return true}},valid:true,metaSchema:E});return S;function getCompiledSchemas(S,E){var w;k.some((function(E){if(E.parentSchema===S){w=E;return true}}));if(!w&&E!==false){w={parentSchema:S,cases:{},default:true};k.push(w)}return w}function compileOrBoolean(E){return typeof E=="boolean"?E:S.compile(E)}}},65305:(S,E,k)=>{"use strict";var w=k(54630);S.exports=function defFunc(S){if(S.RULES.keywords.switch&&S.RULES.keywords.if)return;var E=w.metaSchemaRef(S);defFunc.definition={inline:k(34657),statements:true,errors:"full",metaSchema:{type:"array",items:{required:["then"],properties:{if:E,then:{anyOf:[{type:"boolean"},E]},continue:{type:"boolean"}},additionalProperties:false,dependencies:{continue:["if"]}}}};S.addKeyword("switch",defFunc.definition);return S}},62111:S=>{"use strict";S.exports=function defFunc(S){var E={trimLeft:function(S){return S.replace(/^[\s]+/,"")},trimRight:function(S){return S.replace(/[\s]+$/,"")},trim:function(S){return S.trim()},toLowerCase:function(S){return S.toLowerCase()},toUpperCase:function(S){return S.toUpperCase()},toEnumCase:function(S,E){return E.hash[makeHashTableKey(S)]||S}};defFunc.definition={type:"string",errors:false,modifying:true,valid:true,compile:function(S,k){var w;if(S.indexOf("toEnumCase")!==-1){w={hash:{}};if(!k.enum)throw new Error('Missing enum. To use `transform:["toEnumCase"]`, `enum:[...]` is required.');for(var N=k.enum.length;N--;N){var j=k.enum[N];if(typeof j!=="string")continue;var q=makeHashTableKey(j);if(w.hash[q])throw new Error('Invalid enum uniqueness. To use `transform:["toEnumCase"]`, all values must be unique when case insensitive.');w.hash[q]=j}}return function(k,N,j,q){if(!j)return;for(var ee=0,te=S.length;ee{"use strict";var E=["undefined","string","number","object","function","boolean","symbol"];S.exports=function defFunc(S){defFunc.definition={inline:function(S,E,k){var w="data"+(S.dataLevel||"");if(typeof k=="string")return"typeof "+w+' == "'+k+'"';k="validate.schema"+S.schemaPath+"."+E;return k+".indexOf(typeof "+w+") >= 0"},metaSchema:{anyOf:[{type:"string",enum:E},{type:"array",items:{type:"string",enum:E}}]}};S.addKeyword("typeof",defFunc.definition);return S}},69536:S=>{"use strict";var E=["number","integer","string","boolean","null"];S.exports=function defFunc(S){defFunc.definition={type:"array",compile:function(S,E,k){var w=k.util.equal;var N=getScalarKeys(S,E);return function(E){if(E.length>1){for(var k=0;k=0}))}},33866:(S,E,k)=>{"use strict";var w=k(69579),N=k(82253),j=k(32183),q=k(38868),ee=k(75986),te=k(10698),ne=k(75041),ae=k(30398),_e=k(778);S.exports=Ajv;Ajv.prototype.validate=validate;Ajv.prototype.compile=compile;Ajv.prototype.addSchema=addSchema;Ajv.prototype.addMetaSchema=addMetaSchema;Ajv.prototype.validateSchema=validateSchema;Ajv.prototype.getSchema=getSchema;Ajv.prototype.removeSchema=removeSchema;Ajv.prototype.addFormat=addFormat;Ajv.prototype.errorsText=errorsText;Ajv.prototype._addSchema=_addSchema;Ajv.prototype._compile=_compile;Ajv.prototype.compileAsync=k(18840);var ve=k(3811);Ajv.prototype.addKeyword=ve.add;Ajv.prototype.getKeyword=ve.get;Ajv.prototype.removeKeyword=ve.remove;Ajv.prototype.validateKeyword=ve.validate;var Ee=k(29411);Ajv.ValidationError=Ee.Validation;Ajv.MissingRefError=Ee.MissingRef;Ajv.$dataMetaSchema=ae;var Te="http://json-schema.org/draft-07/schema";var Ce=["removeAdditional","useDefaults","coerceTypes","strictDefaults"];var we=["/properties"];function Ajv(S){if(!(this instanceof Ajv))return new Ajv(S);S=this._opts=_e.copy(S)||{};setLogger(this);this._schemas={};this._refs={};this._fragments={};this._formats=te(S.format);this._cache=S.cache||new j;this._loadingSchemas={};this._compilations=[];this.RULES=ne();this._getId=chooseGetId(S);S.loopRequired=S.loopRequired||Infinity;if(S.errorDataPath=="property")S._errorDataPathProperty=true;if(S.serialize===undefined)S.serialize=ee;this._metaOpts=getMetaSchemaOptions(this);if(S.formats)addInitialFormats(this);if(S.keywords)addInitialKeywords(this);addDefaultMetaSchema(this);if(typeof S.meta=="object")this.addMetaSchema(S.meta);if(S.nullable)this.addKeyword("nullable",{metaSchema:{type:"boolean"}});addInitialSchemas(this)}function validate(S,E){var k;if(typeof S=="string"){k=this.getSchema(S);if(!k)throw new Error('no schema with key or ref "'+S+'"')}else{var w=this._addSchema(S);k=w.validate||this._compile(w)}var N=k(E);if(k.$async!==true)this.errors=k.errors;return N}function compile(S,E){var k=this._addSchema(S,undefined,E);return k.validate||this._compile(k)}function addSchema(S,E,k,w){if(Array.isArray(S)){for(var j=0;j{"use strict";var E=S.exports=function Cache(){this._cache={}};E.prototype.put=function Cache_put(S,E){this._cache[S]=E};E.prototype.get=function Cache_get(S){return this._cache[S]};E.prototype.del=function Cache_del(S){delete this._cache[S]};E.prototype.clear=function Cache_clear(){this._cache={}}},18840:(S,E,k)=>{"use strict";var w=k(29411).MissingRef;S.exports=compileAsync;function compileAsync(S,E,k){var N=this;if(typeof this._opts.loadSchema!="function")throw new Error("options.loadSchema should be a function");if(typeof E=="function"){k=E;E=undefined}var j=loadMetaSchemaOf(S).then((function(){var k=N._addSchema(S,undefined,E);return k.validate||_compileAsync(k)}));if(k){j.then((function(S){k(null,S)}),k)}return j;function loadMetaSchemaOf(S){var E=S.$schema;return E&&!N.getSchema(E)?compileAsync.call(N,{$ref:E},true):Promise.resolve()}function _compileAsync(S){try{return N._compile(S)}catch(S){if(S instanceof w)return loadMissingSchema(S);throw S}function loadMissingSchema(k){var w=k.missingSchema;if(added(w))throw new Error("Schema "+w+" is loaded but "+k.missingRef+" cannot be resolved");var j=N._loadingSchemas[w];if(!j){j=N._loadingSchemas[w]=N._opts.loadSchema(w);j.then(removePromise,removePromise)}return j.then((function(S){if(!added(w)){return loadMetaSchemaOf(S).then((function(){if(!added(w))N.addSchema(S,w,undefined,E)}))}})).then((function(){return _compileAsync(S)}));function removePromise(){delete N._loadingSchemas[w]}function added(S){return N._refs[S]||N._schemas[S]}}}}},29411:(S,E,k)=>{"use strict";var w=k(82253);S.exports={Validation:errorSubclass(ValidationError),MissingRef:errorSubclass(MissingRefError)};function ValidationError(S){this.message="validation failed";this.errors=S;this.ajv=this.validation=true}MissingRefError.message=function(S,E){return"can't resolve reference "+E+" from id "+S};function MissingRefError(S,E,k){this.message=k||MissingRefError.message(S,E);this.missingRef=w.url(S,E);this.missingSchema=w.normalizeId(w.fullPath(this.missingRef))}function errorSubclass(S){S.prototype=Object.create(Error.prototype);S.prototype.constructor=S;return S}},10698:(S,E,k)=>{"use strict";var w=k(778);var N=/^(\d\d\d\d)-(\d\d)-(\d\d)$/;var j=[0,31,28,31,30,31,30,31,31,30,31,30,31];var q=/^(\d\d):(\d\d):(\d\d)(\.\d+)?(z|[+-]\d\d(?::?\d\d)?)?$/i;var ee=/^(?=.{1,253}\.?$)[a-z0-9](?:[a-z0-9-]{0,61}[a-z0-9])?(?:\.[a-z0-9](?:[-0-9a-z]{0,61}[0-9a-z])?)*\.?$/i;var te=/^(?:[a-z][a-z0-9+\-.]*:)(?:\/?\/(?:(?:[a-z0-9\-._~!$&'()*+,;=:]|%[0-9a-f]{2})*@)?(?:\[(?:(?:(?:(?:[0-9a-f]{1,4}:){6}|::(?:[0-9a-f]{1,4}:){5}|(?:[0-9a-f]{1,4})?::(?:[0-9a-f]{1,4}:){4}|(?:(?:[0-9a-f]{1,4}:){0,1}[0-9a-f]{1,4})?::(?:[0-9a-f]{1,4}:){3}|(?:(?:[0-9a-f]{1,4}:){0,2}[0-9a-f]{1,4})?::(?:[0-9a-f]{1,4}:){2}|(?:(?:[0-9a-f]{1,4}:){0,3}[0-9a-f]{1,4})?::[0-9a-f]{1,4}:|(?:(?:[0-9a-f]{1,4}:){0,4}[0-9a-f]{1,4})?::)(?:[0-9a-f]{1,4}:[0-9a-f]{1,4}|(?:(?:25[0-5]|2[0-4]\d|[01]?\d\d?)\.){3}(?:25[0-5]|2[0-4]\d|[01]?\d\d?))|(?:(?:[0-9a-f]{1,4}:){0,5}[0-9a-f]{1,4})?::[0-9a-f]{1,4}|(?:(?:[0-9a-f]{1,4}:){0,6}[0-9a-f]{1,4})?::)|[Vv][0-9a-f]+\.[a-z0-9\-._~!$&'()*+,;=:]+)\]|(?:(?:25[0-5]|2[0-4]\d|[01]?\d\d?)\.){3}(?:25[0-5]|2[0-4]\d|[01]?\d\d?)|(?:[a-z0-9\-._~!$&'()*+,;=]|%[0-9a-f]{2})*)(?::\d*)?(?:\/(?:[a-z0-9\-._~!$&'()*+,;=:@]|%[0-9a-f]{2})*)*|\/(?:(?:[a-z0-9\-._~!$&'()*+,;=:@]|%[0-9a-f]{2})+(?:\/(?:[a-z0-9\-._~!$&'()*+,;=:@]|%[0-9a-f]{2})*)*)?|(?:[a-z0-9\-._~!$&'()*+,;=:@]|%[0-9a-f]{2})+(?:\/(?:[a-z0-9\-._~!$&'()*+,;=:@]|%[0-9a-f]{2})*)*)(?:\?(?:[a-z0-9\-._~!$&'()*+,;=:@/?]|%[0-9a-f]{2})*)?(?:#(?:[a-z0-9\-._~!$&'()*+,;=:@/?]|%[0-9a-f]{2})*)?$/i;var ne=/^(?:[a-z][a-z0-9+\-.]*:)?(?:\/?\/(?:(?:[a-z0-9\-._~!$&'()*+,;=:]|%[0-9a-f]{2})*@)?(?:\[(?:(?:(?:(?:[0-9a-f]{1,4}:){6}|::(?:[0-9a-f]{1,4}:){5}|(?:[0-9a-f]{1,4})?::(?:[0-9a-f]{1,4}:){4}|(?:(?:[0-9a-f]{1,4}:){0,1}[0-9a-f]{1,4})?::(?:[0-9a-f]{1,4}:){3}|(?:(?:[0-9a-f]{1,4}:){0,2}[0-9a-f]{1,4})?::(?:[0-9a-f]{1,4}:){2}|(?:(?:[0-9a-f]{1,4}:){0,3}[0-9a-f]{1,4})?::[0-9a-f]{1,4}:|(?:(?:[0-9a-f]{1,4}:){0,4}[0-9a-f]{1,4})?::)(?:[0-9a-f]{1,4}:[0-9a-f]{1,4}|(?:(?:25[0-5]|2[0-4]\d|[01]?\d\d?)\.){3}(?:25[0-5]|2[0-4]\d|[01]?\d\d?))|(?:(?:[0-9a-f]{1,4}:){0,5}[0-9a-f]{1,4})?::[0-9a-f]{1,4}|(?:(?:[0-9a-f]{1,4}:){0,6}[0-9a-f]{1,4})?::)|[Vv][0-9a-f]+\.[a-z0-9\-._~!$&'()*+,;=:]+)\]|(?:(?:25[0-5]|2[0-4]\d|[01]?\d\d?)\.){3}(?:25[0-5]|2[0-4]\d|[01]?\d\d?)|(?:[a-z0-9\-._~!$&'"()*+,;=]|%[0-9a-f]{2})*)(?::\d*)?(?:\/(?:[a-z0-9\-._~!$&'"()*+,;=:@]|%[0-9a-f]{2})*)*|\/(?:(?:[a-z0-9\-._~!$&'"()*+,;=:@]|%[0-9a-f]{2})+(?:\/(?:[a-z0-9\-._~!$&'"()*+,;=:@]|%[0-9a-f]{2})*)*)?|(?:[a-z0-9\-._~!$&'"()*+,;=:@]|%[0-9a-f]{2})+(?:\/(?:[a-z0-9\-._~!$&'"()*+,;=:@]|%[0-9a-f]{2})*)*)?(?:\?(?:[a-z0-9\-._~!$&'"()*+,;=:@/?]|%[0-9a-f]{2})*)?(?:#(?:[a-z0-9\-._~!$&'"()*+,;=:@/?]|%[0-9a-f]{2})*)?$/i;var ae=/^(?:(?:[^\x00-\x20"'<>%\\^`{|}]|%[0-9a-f]{2})|\{[+#./;?&=,!@|]?(?:[a-z0-9_]|%[0-9a-f]{2})+(?::[1-9][0-9]{0,3}|\*)?(?:,(?:[a-z0-9_]|%[0-9a-f]{2})+(?::[1-9][0-9]{0,3}|\*)?)*\})*$/i;var _e=/^(?:(?:http[s\u017F]?|ftp):\/\/)(?:(?:[\0-\x08\x0E-\x1F!-\x9F\xA1-\u167F\u1681-\u1FFF\u200B-\u2027\u202A-\u202E\u2030-\u205E\u2060-\u2FFF\u3001-\uD7FF\uE000-\uFEFE\uFF00-\uFFFF]|[\uD800-\uDBFF][\uDC00-\uDFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF])+(?::(?:[\0-\x08\x0E-\x1F!-\x9F\xA1-\u167F\u1681-\u1FFF\u200B-\u2027\u202A-\u202E\u2030-\u205E\u2060-\u2FFF\u3001-\uD7FF\uE000-\uFEFE\uFF00-\uFFFF]|[\uD800-\uDBFF][\uDC00-\uDFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF])*)?@)?(?:(?!10(?:\.[0-9]{1,3}){3})(?!127(?:\.[0-9]{1,3}){3})(?!169\.254(?:\.[0-9]{1,3}){2})(?!192\.168(?:\.[0-9]{1,3}){2})(?!172\.(?:1[6-9]|2[0-9]|3[01])(?:\.[0-9]{1,3}){2})(?:[1-9][0-9]?|1[0-9][0-9]|2[01][0-9]|22[0-3])(?:\.(?:1?[0-9]{1,2}|2[0-4][0-9]|25[0-5])){2}(?:\.(?:[1-9][0-9]?|1[0-9][0-9]|2[0-4][0-9]|25[0-4]))|(?:(?:(?:[0-9a-z\xA1-\uD7FF\uE000-\uFFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF])+-)*(?:[0-9a-z\xA1-\uD7FF\uE000-\uFFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF])+)(?:\.(?:(?:[0-9a-z\xA1-\uD7FF\uE000-\uFFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF])+-)*(?:[0-9a-z\xA1-\uD7FF\uE000-\uFFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF])+)*(?:\.(?:(?:[a-z\xA1-\uD7FF\uE000-\uFFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF]){2,})))(?::[0-9]{2,5})?(?:\/(?:[\0-\x08\x0E-\x1F!-\x9F\xA1-\u167F\u1681-\u1FFF\u200B-\u2027\u202A-\u202E\u2030-\u205E\u2060-\u2FFF\u3001-\uD7FF\uE000-\uFEFE\uFF00-\uFFFF]|[\uD800-\uDBFF][\uDC00-\uDFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF])*)?$/i;var ve=/^(?:urn:uuid:)?[0-9a-f]{8}-(?:[0-9a-f]{4}-){3}[0-9a-f]{12}$/i;var Ee=/^(?:\/(?:[^~/]|~0|~1)*)*$/;var Te=/^#(?:\/(?:[a-z0-9_\-.!$&'()*+,;:=@]|%[0-9a-f]{2}|~0|~1)*)*$/i;var Ce=/^(?:0|[1-9][0-9]*)(?:#|(?:\/(?:[^~/]|~0|~1)*)*)$/;S.exports=formats;function formats(S){S=S=="full"?"full":"fast";return w.copy(formats[S])}formats.fast={date:/^\d\d\d\d-[0-1]\d-[0-3]\d$/,time:/^(?:[0-2]\d:[0-5]\d:[0-5]\d|23:59:60)(?:\.\d+)?(?:z|[+-]\d\d(?::?\d\d)?)?$/i,"date-time":/^\d\d\d\d-[0-1]\d-[0-3]\d[t\s](?:[0-2]\d:[0-5]\d:[0-5]\d|23:59:60)(?:\.\d+)?(?:z|[+-]\d\d(?::?\d\d)?)$/i,uri:/^(?:[a-z][a-z0-9+\-.]*:)(?:\/?\/)?[^\s]*$/i,"uri-reference":/^(?:(?:[a-z][a-z0-9+\-.]*:)?\/?\/)?(?:[^\\\s#][^\s#]*)?(?:#[^\\\s]*)?$/i,"uri-template":ae,url:_e,email:/^[a-z0-9.!#$%&'*+/=?^_`{|}~-]+@[a-z0-9](?:[a-z0-9-]{0,61}[a-z0-9])?(?:\.[a-z0-9](?:[a-z0-9-]{0,61}[a-z0-9])?)*$/i,hostname:ee,ipv4:/^(?:(?:25[0-5]|2[0-4]\d|[01]?\d\d?)\.){3}(?:25[0-5]|2[0-4]\d|[01]?\d\d?)$/,ipv6:/^\s*(?:(?:(?:[0-9a-f]{1,4}:){7}(?:[0-9a-f]{1,4}|:))|(?:(?:[0-9a-f]{1,4}:){6}(?::[0-9a-f]{1,4}|(?:(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(?:\.(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3})|:))|(?:(?:[0-9a-f]{1,4}:){5}(?:(?:(?::[0-9a-f]{1,4}){1,2})|:(?:(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(?:\.(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3})|:))|(?:(?:[0-9a-f]{1,4}:){4}(?:(?:(?::[0-9a-f]{1,4}){1,3})|(?:(?::[0-9a-f]{1,4})?:(?:(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(?:\.(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:))|(?:(?:[0-9a-f]{1,4}:){3}(?:(?:(?::[0-9a-f]{1,4}){1,4})|(?:(?::[0-9a-f]{1,4}){0,2}:(?:(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(?:\.(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:))|(?:(?:[0-9a-f]{1,4}:){2}(?:(?:(?::[0-9a-f]{1,4}){1,5})|(?:(?::[0-9a-f]{1,4}){0,3}:(?:(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(?:\.(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:))|(?:(?:[0-9a-f]{1,4}:){1}(?:(?:(?::[0-9a-f]{1,4}){1,6})|(?:(?::[0-9a-f]{1,4}){0,4}:(?:(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(?:\.(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:))|(?::(?:(?:(?::[0-9a-f]{1,4}){1,7})|(?:(?::[0-9a-f]{1,4}){0,5}:(?:(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(?:\.(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:)))(?:%.+)?\s*$/i,regex:regex,uuid:ve,"json-pointer":Ee,"json-pointer-uri-fragment":Te,"relative-json-pointer":Ce};formats.full={date:date,time:time,"date-time":date_time,uri:uri,"uri-reference":ne,"uri-template":ae,url:_e,email:/^[a-z0-9!#$%&'*+/=?^_`{|}~-]+(?:\.[a-z0-9!#$%&'*+/=?^_`{|}~-]+)*@(?:[a-z0-9](?:[a-z0-9-]*[a-z0-9])?\.)+[a-z0-9](?:[a-z0-9-]*[a-z0-9])?$/i,hostname:ee,ipv4:/^(?:(?:25[0-5]|2[0-4]\d|[01]?\d\d?)\.){3}(?:25[0-5]|2[0-4]\d|[01]?\d\d?)$/,ipv6:/^\s*(?:(?:(?:[0-9a-f]{1,4}:){7}(?:[0-9a-f]{1,4}|:))|(?:(?:[0-9a-f]{1,4}:){6}(?::[0-9a-f]{1,4}|(?:(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(?:\.(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3})|:))|(?:(?:[0-9a-f]{1,4}:){5}(?:(?:(?::[0-9a-f]{1,4}){1,2})|:(?:(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(?:\.(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3})|:))|(?:(?:[0-9a-f]{1,4}:){4}(?:(?:(?::[0-9a-f]{1,4}){1,3})|(?:(?::[0-9a-f]{1,4})?:(?:(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(?:\.(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:))|(?:(?:[0-9a-f]{1,4}:){3}(?:(?:(?::[0-9a-f]{1,4}){1,4})|(?:(?::[0-9a-f]{1,4}){0,2}:(?:(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(?:\.(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:))|(?:(?:[0-9a-f]{1,4}:){2}(?:(?:(?::[0-9a-f]{1,4}){1,5})|(?:(?::[0-9a-f]{1,4}){0,3}:(?:(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(?:\.(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:))|(?:(?:[0-9a-f]{1,4}:){1}(?:(?:(?::[0-9a-f]{1,4}){1,6})|(?:(?::[0-9a-f]{1,4}){0,4}:(?:(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(?:\.(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:))|(?::(?:(?:(?::[0-9a-f]{1,4}){1,7})|(?:(?::[0-9a-f]{1,4}){0,5}:(?:(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(?:\.(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:)))(?:%.+)?\s*$/i,regex:regex,uuid:ve,"json-pointer":Ee,"json-pointer-uri-fragment":Te,"relative-json-pointer":Ce};function isLeapYear(S){return S%4===0&&(S%100!==0||S%400===0)}function date(S){var E=S.match(N);if(!E)return false;var k=+E[1];var w=+E[2];var q=+E[3];return w>=1&&w<=12&&q>=1&&q<=(w==2&&isLeapYear(k)?29:j[w])}function time(S,E){var k=S.match(q);if(!k)return false;var w=k[1];var N=k[2];var j=k[3];var ee=k[5];return(w<=23&&N<=59&&j<=59||w==23&&N==59&&j==60)&&(!E||ee)}var we=/t|\s/i;function date_time(S){var E=S.split(we);return E.length==2&&date(E[0])&&time(E[1],true)}var Ne=/\/|:/;function uri(S){return Ne.test(S)&&te.test(S)}var Ie=/[^\\]\\Z/;function regex(S){if(Ie.test(S))return false;try{new RegExp(S);return true}catch(S){return false}}},69579:(S,E,k)=>{"use strict";var w=k(82253),N=k(778),j=k(29411),q=k(75986);var ee=k(85061);var te=N.ucs2length;var ne=k(55245);var ae=j.Validation;S.exports=compile;function compile(S,E,k,_e){var ve=this,Ee=this._opts,Te=[undefined],Ce={},we=[],Ne={},Ie=[],Fe={},Oe=[];E=E||{schema:S,refVal:Te,refs:Ce};var Me=checkCompiling.call(this,S,E,_e);var Re=this._compilations[Me.index];if(Me.compiling)return Re.callValidate=callValidate;var Le=this._formats;var Be=this.RULES;try{var je=localCompile(S,E,k,_e);Re.validate=je;var ze=Re.callValidate;if(ze){ze.schema=je.schema;ze.errors=null;ze.refs=je.refs;ze.refVal=je.refVal;ze.root=je.root;ze.$async=je.$async;if(Ee.sourceCode)ze.source=je.source}return je}finally{endCompiling.call(this,S,E,_e)}function callValidate(){var S=Re.validate;var E=S.apply(this,arguments);callValidate.errors=S.errors;return E}function localCompile(S,k,q,_e){var Ne=!k||k&&k.schema==S;if(k.schema!=E.schema)return compile.call(ve,S,k,q,_e);var Fe=S.$async===true;var Me=ee({isTop:true,schema:S,isRoot:Ne,baseId:_e,root:k,schemaPath:"",errSchemaPath:"#",errorPath:'""',MissingRefError:j.MissingRef,RULES:Be,validate:ee,util:N,resolve:w,resolveRef:resolveRef,usePattern:usePattern,useDefault:useDefault,useCustomRule:useCustomRule,opts:Ee,formats:Le,logger:ve.logger,self:ve});Me=vars(Te,refValCode)+vars(we,patternCode)+vars(Ie,defaultCode)+vars(Oe,customRuleCode)+Me;if(Ee.processCode)Me=Ee.processCode(Me,S);var Re;try{var je=new Function("self","RULES","formats","root","refVal","defaults","customRules","equal","ucs2length","ValidationError",Me);Re=je(ve,Be,Le,E,Te,Ie,Oe,ne,te,ae);Te[0]=Re}catch(S){ve.logger.error("Error compiling schema, function code:",Me);throw S}Re.schema=S;Re.errors=null;Re.refs=Ce;Re.refVal=Te;Re.root=Ne?Re:k;if(Fe)Re.$async=true;if(Ee.sourceCode===true){Re.source={code:Me,patterns:we,defaults:Ie}}return Re}function resolveRef(S,N,j){N=w.url(S,N);var q=Ce[N];var ee,te;if(q!==undefined){ee=Te[q];te="refVal["+q+"]";return resolvedRef(ee,te)}if(!j&&E.refs){var ne=E.refs[N];if(ne!==undefined){ee=E.refVal[ne];te=addLocalRef(N,ee);return resolvedRef(ee,te)}}te=addLocalRef(N);var ae=w.call(ve,localCompile,E,N);if(ae===undefined){var _e=k&&k[N];if(_e){ae=w.inlineRef(_e,Ee.inlineRefs)?_e:compile.call(ve,_e,E,k,S)}}if(ae===undefined){removeLocalRef(N)}else{replaceLocalRef(N,ae);return resolvedRef(ae,te)}}function addLocalRef(S,E){var k=Te.length;Te[k]=E;Ce[S]=k;return"refVal"+k}function removeLocalRef(S){delete Ce[S]}function replaceLocalRef(S,E){var k=Ce[S];Te[k]=E}function resolvedRef(S,E){return typeof S=="object"||typeof S=="boolean"?{code:E,schema:S,inline:true}:{code:E,$async:S&&!!S.$async}}function usePattern(S){var E=Ne[S];if(E===undefined){E=Ne[S]=we.length;we[E]=S}return"pattern"+E}function useDefault(S){switch(typeof S){case"boolean":case"number":return""+S;case"string":return N.toQuotedString(S);case"object":if(S===null)return"null";var E=q(S);var k=Fe[E];if(k===undefined){k=Fe[E]=Ie.length;Ie[k]=S}return"default"+k}}function useCustomRule(S,E,k,w){if(ve._opts.validateSchema!==false){var N=S.definition.dependencies;if(N&&!N.every((function(S){return Object.prototype.hasOwnProperty.call(k,S)})))throw new Error("parent schema must have all required keywords: "+N.join(","));var j=S.definition.validateSchema;if(j){var q=j(E);if(!q){var ee="keyword schema is invalid: "+ve.errorsText(j.errors);if(ve._opts.validateSchema=="log")ve.logger.error(ee);else throw new Error(ee)}}}var te=S.definition.compile,ne=S.definition.inline,ae=S.definition.macro;var _e;if(te){_e=te.call(ve,E,k,w)}else if(ae){_e=ae.call(ve,E,k,w);if(Ee.validateSchema!==false)ve.validateSchema(_e,true)}else if(ne){_e=ne.call(ve,w,S.keyword,E,k)}else{_e=S.definition.validate;if(!_e)return}if(_e===undefined)throw new Error('custom keyword "'+S.keyword+'"failed to compile');var Te=Oe.length;Oe[Te]=_e;return{code:"customRule"+Te,validate:_e}}}function checkCompiling(S,E,k){var w=compIndex.call(this,S,E,k);if(w>=0)return{index:w,compiling:true};w=this._compilations.length;this._compilations[w]={schema:S,root:E,baseId:k};return{index:w,compiling:false}}function endCompiling(S,E,k){var w=compIndex.call(this,S,E,k);if(w>=0)this._compilations.splice(w,1)}function compIndex(S,E,k){for(var w=0;w{"use strict";var w=k(30823),N=k(55245),j=k(778),q=k(38868),ee=k(46833);S.exports=resolve;resolve.normalizeId=normalizeId;resolve.fullPath=getFullPath;resolve.url=resolveUrl;resolve.ids=resolveIds;resolve.inlineRef=inlineRef;resolve.schema=resolveSchema;function resolve(S,E,k){var w=this._refs[k];if(typeof w=="string"){if(this._refs[w])w=this._refs[w];else return resolve.call(this,S,E,w)}w=w||this._schemas[k];if(w instanceof q){return inlineRef(w.schema,this._opts.inlineRefs)?w.schema:w.validate||this._compile(w)}var N=resolveSchema.call(this,E,k);var j,ee,te;if(N){j=N.schema;E=N.root;te=N.baseId}if(j instanceof q){ee=j.validate||S.call(this,j.schema,E,undefined,te)}else if(j!==undefined){ee=inlineRef(j,this._opts.inlineRefs)?j:S.call(this,j,E,undefined,te)}return ee}function resolveSchema(S,E){var k=w.parse(E),N=_getFullPath(k),j=getFullPath(this._getId(S.schema));if(Object.keys(S.schema).length===0||N!==j){var ee=normalizeId(N);var te=this._refs[ee];if(typeof te=="string"){return resolveRecursive.call(this,S,te,k)}else if(te instanceof q){if(!te.validate)this._compile(te);S=te}else{te=this._schemas[ee];if(te instanceof q){if(!te.validate)this._compile(te);if(ee==normalizeId(E))return{schema:te,root:S,baseId:j};S=te}else{return}}if(!S.schema)return;j=getFullPath(this._getId(S.schema))}return getJsonPointer.call(this,k,j,S.schema,S)}function resolveRecursive(S,E,k){var w=resolveSchema.call(this,S,E);if(w){var N=w.schema;var j=w.baseId;S=w.root;var q=this._getId(N);if(q)j=resolveUrl(j,q);return getJsonPointer.call(this,k,j,N,S)}}var te=j.toHash(["properties","patternProperties","enum","dependencies","definitions"]);function getJsonPointer(S,E,k,w){S.fragment=S.fragment||"";if(S.fragment.slice(0,1)!="/")return;var N=S.fragment.split("/");for(var q=1;q{"use strict";var w=k(71001),N=k(778).toHash;S.exports=function rules(){var S=[{type:"number",rules:[{maximum:["exclusiveMaximum"]},{minimum:["exclusiveMinimum"]},"multipleOf","format"]},{type:"string",rules:["maxLength","minLength","pattern","format"]},{type:"array",rules:["maxItems","minItems","items","contains","uniqueItems"]},{type:"object",rules:["maxProperties","minProperties","required","dependencies","propertyNames",{properties:["additionalProperties","patternProperties"]}]},{rules:["$ref","const","enum","not","anyOf","oneOf","allOf","if"]}];var E=["type","$comment"];var k=["$schema","$id","id","$data","$async","title","description","default","definitions","examples","readOnly","writeOnly","contentMediaType","contentEncoding","additionalItems","then","else"];var j=["number","integer","string","array","object","boolean","null"];S.all=N(E);S.types=N(j);S.forEach((function(k){k.rules=k.rules.map((function(k){var N;if(typeof k=="object"){var j=Object.keys(k)[0];N=k[j];k=j;N.forEach((function(k){E.push(k);S.all[k]=true}))}E.push(k);var q=S.all[k]={keyword:k,code:w[k],implements:N};return q}));S.all.$comment={keyword:"$comment",code:w.$comment};if(k.type)S.types[k.type]=k}));S.keywords=N(E.concat(k));S.custom={};return S}},38868:(S,E,k)=>{"use strict";var w=k(778);S.exports=SchemaObject;function SchemaObject(S){w.copy(S,this)}},15512:S=>{"use strict";S.exports=function ucs2length(S){var E=0,k=S.length,w=0,N;while(w=55296&&N<=56319&&w{"use strict";S.exports={copy:copy,checkDataType:checkDataType,checkDataTypes:checkDataTypes,coerceToTypes:coerceToTypes,toHash:toHash,getProperty:getProperty,escapeQuotes:escapeQuotes,equal:k(55245),ucs2length:k(15512),varOccurences:varOccurences,varReplace:varReplace,schemaHasRules:schemaHasRules,schemaHasRulesExcept:schemaHasRulesExcept,schemaUnknownRules:schemaUnknownRules,toQuotedString:toQuotedString,getPathExpr:getPathExpr,getPath:getPath,getData:getData,unescapeFragment:unescapeFragment,unescapeJsonPointer:unescapeJsonPointer,escapeFragment:escapeFragment,escapeJsonPointer:escapeJsonPointer};function copy(S,E){E=E||{};for(var k in S)E[k]=S[k];return E}function checkDataType(S,E,k,w){var N=w?" !== ":" === ",j=w?" || ":" && ",q=w?"!":"",ee=w?"":"!";switch(S){case"null":return E+N+"null";case"array":return q+"Array.isArray("+E+")";case"object":return"("+q+E+j+"typeof "+E+N+'"object"'+j+ee+"Array.isArray("+E+"))";case"integer":return"(typeof "+E+N+'"number"'+j+ee+"("+E+" % 1)"+j+E+N+E+(k?j+q+"isFinite("+E+")":"")+")";case"number":return"(typeof "+E+N+'"'+S+'"'+(k?j+q+"isFinite("+E+")":"")+")";default:return"typeof "+E+N+'"'+S+'"'}}function checkDataTypes(S,E,k){switch(S.length){case 1:return checkDataType(S[0],E,k,true);default:var w="";var N=toHash(S);if(N.array&&N.object){w=N.null?"(":"(!"+E+" || ";w+="typeof "+E+' !== "object")';delete N.null;delete N.array;delete N.object}if(N.number)delete N.integer;for(var j in N)w+=(w?" && ":"")+checkDataType(j,E,k,true);return w}}var w=toHash(["string","number","integer","boolean","null"]);function coerceToTypes(S,E){if(Array.isArray(E)){var k=[];for(var N=0;N=E)throw new Error("Cannot access property/index "+w+" levels up, current level is "+E);return k[E-w]}if(w>E)throw new Error("Cannot access data "+w+" levels up, current level is "+E);j="data"+(E-w||"");if(!N)return j}var ne=j;var ae=N.split("/");for(var _e=0;_e{"use strict";var E=["multipleOf","maximum","exclusiveMaximum","minimum","exclusiveMinimum","maxLength","minLength","pattern","additionalItems","maxItems","minItems","uniqueItems","maxProperties","minProperties","required","additionalProperties","enum","format","const"];S.exports=function(S,k){for(var w=0;w{"use strict";var w=k(40038);S.exports={$id:"https://github.com/ajv-validator/ajv/blob/master/lib/definition_schema.js",definitions:{simpleTypes:w.definitions.simpleTypes},type:"object",dependencies:{schema:["validate"],$data:["validate"],statements:["inline"],valid:{not:{required:["macro"]}}},properties:{type:w.properties.type,schema:{type:"boolean"},statements:{type:"boolean"},dependencies:{type:"array",items:{type:"string"}},metaSchema:{type:"object"},modifying:{type:"boolean"},valid:{type:"boolean"},$data:{type:"boolean"},async:{type:"boolean"},errors:{anyOf:[{type:"boolean"},{const:"full"}]}}}},70507:S=>{"use strict";S.exports=function generate__limit(S,E,k){var w=" ";var N=S.level;var j=S.dataLevel;var q=S.schema[E];var ee=S.schemaPath+S.util.getProperty(E);var te=S.errSchemaPath+"/"+E;var ne=!S.opts.allErrors;var ae;var _e="data"+(j||"");var ve=S.opts.$data&&q&&q.$data,Ee;if(ve){w+=" var schema"+N+" = "+S.util.getData(q.$data,j,S.dataPathArr)+"; ";Ee="schema"+N}else{Ee=q}var Te=E=="maximum",Ce=Te?"exclusiveMaximum":"exclusiveMinimum",we=S.schema[Ce],Ne=S.opts.$data&&we&&we.$data,Ie=Te?"<":">",Fe=Te?">":"<",ae=undefined;if(!(ve||typeof q=="number"||q===undefined)){throw new Error(E+" must be number")}if(!(Ne||we===undefined||typeof we=="number"||typeof we=="boolean")){throw new Error(Ce+" must be number or boolean")}if(Ne){var Oe=S.util.getData(we.$data,j,S.dataPathArr),Me="exclusive"+N,Re="exclType"+N,Le="exclIsNumber"+N,Be="op"+N,je="' + "+Be+" + '";w+=" var schemaExcl"+N+" = "+Oe+"; ";Oe="schemaExcl"+N;w+=" var "+Me+"; var "+Re+" = typeof "+Oe+"; if ("+Re+" != 'boolean' && "+Re+" != 'undefined' && "+Re+" != 'number') { ";var ae=Ce;var ze=ze||[];ze.push(w);w="";if(S.createErrors!==false){w+=" { keyword: '"+(ae||"_exclusiveLimit")+"' , dataPath: (dataPath || '') + "+S.errorPath+" , schemaPath: "+S.util.toQuotedString(te)+" , params: {} ";if(S.opts.messages!==false){w+=" , message: '"+Ce+" should be boolean' "}if(S.opts.verbose){w+=" , schema: validate.schema"+ee+" , parentSchema: validate.schema"+S.schemaPath+" , data: "+_e+" "}w+=" } "}else{w+=" {} "}var Ue=w;w=ze.pop();if(!S.compositeRule&&ne){if(S.async){w+=" throw new ValidationError(["+Ue+"]); "}else{w+=" validate.errors = ["+Ue+"]; return false; "}}else{w+=" var err = "+Ue+"; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; "}w+=" } else if ( ";if(ve){w+=" ("+Ee+" !== undefined && typeof "+Ee+" != 'number') || "}w+=" "+Re+" == 'number' ? ( ("+Me+" = "+Ee+" === undefined || "+Oe+" "+Ie+"= "+Ee+") ? "+_e+" "+Fe+"= "+Oe+" : "+_e+" "+Fe+" "+Ee+" ) : ( ("+Me+" = "+Oe+" === true) ? "+_e+" "+Fe+"= "+Ee+" : "+_e+" "+Fe+" "+Ee+" ) || "+_e+" !== "+_e+") { var op"+N+" = "+Me+" ? '"+Ie+"' : '"+Ie+"='; ";if(q===undefined){ae=Ce;te=S.errSchemaPath+"/"+Ce;Ee=Oe;ve=Ne}}else{var Le=typeof we=="number",je=Ie;if(Le&&ve){var Be="'"+je+"'";w+=" if ( ";if(ve){w+=" ("+Ee+" !== undefined && typeof "+Ee+" != 'number') || "}w+=" ( "+Ee+" === undefined || "+we+" "+Ie+"= "+Ee+" ? "+_e+" "+Fe+"= "+we+" : "+_e+" "+Fe+" "+Ee+" ) || "+_e+" !== "+_e+") { "}else{if(Le&&q===undefined){Me=true;ae=Ce;te=S.errSchemaPath+"/"+Ce;Ee=we;Fe+="="}else{if(Le)Ee=Math[Te?"min":"max"](we,q);if(we===(Le?Ee:true)){Me=true;ae=Ce;te=S.errSchemaPath+"/"+Ce;Fe+="="}else{Me=false;je+="="}}var Be="'"+je+"'";w+=" if ( ";if(ve){w+=" ("+Ee+" !== undefined && typeof "+Ee+" != 'number') || "}w+=" "+_e+" "+Fe+" "+Ee+" || "+_e+" !== "+_e+") { "}}ae=ae||E;var ze=ze||[];ze.push(w);w="";if(S.createErrors!==false){w+=" { keyword: '"+(ae||"_limit")+"' , dataPath: (dataPath || '') + "+S.errorPath+" , schemaPath: "+S.util.toQuotedString(te)+" , params: { comparison: "+Be+", limit: "+Ee+", exclusive: "+Me+" } ";if(S.opts.messages!==false){w+=" , message: 'should be "+je+" ";if(ve){w+="' + "+Ee}else{w+=""+Ee+"'"}}if(S.opts.verbose){w+=" , schema: ";if(ve){w+="validate.schema"+ee}else{w+=""+q}w+=" , parentSchema: validate.schema"+S.schemaPath+" , data: "+_e+" "}w+=" } "}else{w+=" {} "}var Ue=w;w=ze.pop();if(!S.compositeRule&&ne){if(S.async){w+=" throw new ValidationError(["+Ue+"]); "}else{w+=" validate.errors = ["+Ue+"]; return false; "}}else{w+=" var err = "+Ue+"; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; "}w+=" } ";if(ne){w+=" else { "}return w}},6958:S=>{"use strict";S.exports=function generate__limitItems(S,E,k){var w=" ";var N=S.level;var j=S.dataLevel;var q=S.schema[E];var ee=S.schemaPath+S.util.getProperty(E);var te=S.errSchemaPath+"/"+E;var ne=!S.opts.allErrors;var ae;var _e="data"+(j||"");var ve=S.opts.$data&&q&&q.$data,Ee;if(ve){w+=" var schema"+N+" = "+S.util.getData(q.$data,j,S.dataPathArr)+"; ";Ee="schema"+N}else{Ee=q}if(!(ve||typeof q=="number")){throw new Error(E+" must be number")}var Te=E=="maxItems"?">":"<";w+="if ( ";if(ve){w+=" ("+Ee+" !== undefined && typeof "+Ee+" != 'number') || "}w+=" "+_e+".length "+Te+" "+Ee+") { ";var ae=E;var Ce=Ce||[];Ce.push(w);w="";if(S.createErrors!==false){w+=" { keyword: '"+(ae||"_limitItems")+"' , dataPath: (dataPath || '') + "+S.errorPath+" , schemaPath: "+S.util.toQuotedString(te)+" , params: { limit: "+Ee+" } ";if(S.opts.messages!==false){w+=" , message: 'should NOT have ";if(E=="maxItems"){w+="more"}else{w+="fewer"}w+=" than ";if(ve){w+="' + "+Ee+" + '"}else{w+=""+q}w+=" items' "}if(S.opts.verbose){w+=" , schema: ";if(ve){w+="validate.schema"+ee}else{w+=""+q}w+=" , parentSchema: validate.schema"+S.schemaPath+" , data: "+_e+" "}w+=" } "}else{w+=" {} "}var we=w;w=Ce.pop();if(!S.compositeRule&&ne){if(S.async){w+=" throw new ValidationError(["+we+"]); "}else{w+=" validate.errors = ["+we+"]; return false; "}}else{w+=" var err = "+we+"; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; "}w+="} ";if(ne){w+=" else { "}return w}},41363:S=>{"use strict";S.exports=function generate__limitLength(S,E,k){var w=" ";var N=S.level;var j=S.dataLevel;var q=S.schema[E];var ee=S.schemaPath+S.util.getProperty(E);var te=S.errSchemaPath+"/"+E;var ne=!S.opts.allErrors;var ae;var _e="data"+(j||"");var ve=S.opts.$data&&q&&q.$data,Ee;if(ve){w+=" var schema"+N+" = "+S.util.getData(q.$data,j,S.dataPathArr)+"; ";Ee="schema"+N}else{Ee=q}if(!(ve||typeof q=="number")){throw new Error(E+" must be number")}var Te=E=="maxLength"?">":"<";w+="if ( ";if(ve){w+=" ("+Ee+" !== undefined && typeof "+Ee+" != 'number') || "}if(S.opts.unicode===false){w+=" "+_e+".length "}else{w+=" ucs2length("+_e+") "}w+=" "+Te+" "+Ee+") { ";var ae=E;var Ce=Ce||[];Ce.push(w);w="";if(S.createErrors!==false){w+=" { keyword: '"+(ae||"_limitLength")+"' , dataPath: (dataPath || '') + "+S.errorPath+" , schemaPath: "+S.util.toQuotedString(te)+" , params: { limit: "+Ee+" } ";if(S.opts.messages!==false){w+=" , message: 'should NOT be ";if(E=="maxLength"){w+="longer"}else{w+="shorter"}w+=" than ";if(ve){w+="' + "+Ee+" + '"}else{w+=""+q}w+=" characters' "}if(S.opts.verbose){w+=" , schema: ";if(ve){w+="validate.schema"+ee}else{w+=""+q}w+=" , parentSchema: validate.schema"+S.schemaPath+" , data: "+_e+" "}w+=" } "}else{w+=" {} "}var we=w;w=Ce.pop();if(!S.compositeRule&&ne){if(S.async){w+=" throw new ValidationError(["+we+"]); "}else{w+=" validate.errors = ["+we+"]; return false; "}}else{w+=" var err = "+we+"; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; "}w+="} ";if(ne){w+=" else { "}return w}},25569:S=>{"use strict";S.exports=function generate__limitProperties(S,E,k){var w=" ";var N=S.level;var j=S.dataLevel;var q=S.schema[E];var ee=S.schemaPath+S.util.getProperty(E);var te=S.errSchemaPath+"/"+E;var ne=!S.opts.allErrors;var ae;var _e="data"+(j||"");var ve=S.opts.$data&&q&&q.$data,Ee;if(ve){w+=" var schema"+N+" = "+S.util.getData(q.$data,j,S.dataPathArr)+"; ";Ee="schema"+N}else{Ee=q}if(!(ve||typeof q=="number")){throw new Error(E+" must be number")}var Te=E=="maxProperties"?">":"<";w+="if ( ";if(ve){w+=" ("+Ee+" !== undefined && typeof "+Ee+" != 'number') || "}w+=" Object.keys("+_e+").length "+Te+" "+Ee+") { ";var ae=E;var Ce=Ce||[];Ce.push(w);w="";if(S.createErrors!==false){w+=" { keyword: '"+(ae||"_limitProperties")+"' , dataPath: (dataPath || '') + "+S.errorPath+" , schemaPath: "+S.util.toQuotedString(te)+" , params: { limit: "+Ee+" } ";if(S.opts.messages!==false){w+=" , message: 'should NOT have ";if(E=="maxProperties"){w+="more"}else{w+="fewer"}w+=" than ";if(ve){w+="' + "+Ee+" + '"}else{w+=""+q}w+=" properties' "}if(S.opts.verbose){w+=" , schema: ";if(ve){w+="validate.schema"+ee}else{w+=""+q}w+=" , parentSchema: validate.schema"+S.schemaPath+" , data: "+_e+" "}w+=" } "}else{w+=" {} "}var we=w;w=Ce.pop();if(!S.compositeRule&&ne){if(S.async){w+=" throw new ValidationError(["+we+"]); "}else{w+=" validate.errors = ["+we+"]; return false; "}}else{w+=" var err = "+we+"; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; "}w+="} ";if(ne){w+=" else { "}return w}},30081:S=>{"use strict";S.exports=function generate_allOf(S,E,k){var w=" ";var N=S.schema[E];var j=S.schemaPath+S.util.getProperty(E);var q=S.errSchemaPath+"/"+E;var ee=!S.opts.allErrors;var te=S.util.copy(S);var ne="";te.level++;var ae="valid"+te.level;var _e=te.baseId,ve=true;var Ee=N;if(Ee){var Te,Ce=-1,we=Ee.length-1;while(Ce0||Te===false:S.util.schemaHasRules(Te,S.RULES.all)){ve=false;te.schema=Te;te.schemaPath=j+"["+Ce+"]";te.errSchemaPath=q+"/"+Ce;w+=" "+S.validate(te)+" ";te.baseId=_e;if(ee){w+=" if ("+ae+") { ";ne+="}"}}}}if(ee){if(ve){w+=" if (true) { "}else{w+=" "+ne.slice(0,-1)+" "}}return w}},70019:S=>{"use strict";S.exports=function generate_anyOf(S,E,k){var w=" ";var N=S.level;var j=S.dataLevel;var q=S.schema[E];var ee=S.schemaPath+S.util.getProperty(E);var te=S.errSchemaPath+"/"+E;var ne=!S.opts.allErrors;var ae="data"+(j||"");var _e="valid"+N;var ve="errs__"+N;var Ee=S.util.copy(S);var Te="";Ee.level++;var Ce="valid"+Ee.level;var we=q.every((function(E){return S.opts.strictKeywords?typeof E=="object"&&Object.keys(E).length>0||E===false:S.util.schemaHasRules(E,S.RULES.all)}));if(we){var Ne=Ee.baseId;w+=" var "+ve+" = errors; var "+_e+" = false; ";var Ie=S.compositeRule;S.compositeRule=Ee.compositeRule=true;var Fe=q;if(Fe){var Oe,Me=-1,Re=Fe.length-1;while(Me{"use strict";S.exports=function generate_comment(S,E,k){var w=" ";var N=S.schema[E];var j=S.errSchemaPath+"/"+E;var q=!S.opts.allErrors;var ee=S.util.toQuotedString(N);if(S.opts.$comment===true){w+=" console.log("+ee+");"}else if(typeof S.opts.$comment=="function"){w+=" self._opts.$comment("+ee+", "+S.util.toQuotedString(j)+", validate.root.schema);"}return w}},23404:S=>{"use strict";S.exports=function generate_const(S,E,k){var w=" ";var N=S.level;var j=S.dataLevel;var q=S.schema[E];var ee=S.schemaPath+S.util.getProperty(E);var te=S.errSchemaPath+"/"+E;var ne=!S.opts.allErrors;var ae="data"+(j||"");var _e="valid"+N;var ve=S.opts.$data&&q&&q.$data,Ee;if(ve){w+=" var schema"+N+" = "+S.util.getData(q.$data,j,S.dataPathArr)+"; ";Ee="schema"+N}else{Ee=q}if(!ve){w+=" var schema"+N+" = validate.schema"+ee+";"}w+="var "+_e+" = equal("+ae+", schema"+N+"); if (!"+_e+") { ";var Te=Te||[];Te.push(w);w="";if(S.createErrors!==false){w+=" { keyword: '"+"const"+"' , dataPath: (dataPath || '') + "+S.errorPath+" , schemaPath: "+S.util.toQuotedString(te)+" , params: { allowedValue: schema"+N+" } ";if(S.opts.messages!==false){w+=" , message: 'should be equal to constant' "}if(S.opts.verbose){w+=" , schema: validate.schema"+ee+" , parentSchema: validate.schema"+S.schemaPath+" , data: "+ae+" "}w+=" } "}else{w+=" {} "}var Ce=w;w=Te.pop();if(!S.compositeRule&&ne){if(S.async){w+=" throw new ValidationError(["+Ce+"]); "}else{w+=" validate.errors = ["+Ce+"]; return false; "}}else{w+=" var err = "+Ce+"; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; "}w+=" }";if(ne){w+=" else { "}return w}},33224:S=>{"use strict";S.exports=function generate_contains(S,E,k){var w=" ";var N=S.level;var j=S.dataLevel;var q=S.schema[E];var ee=S.schemaPath+S.util.getProperty(E);var te=S.errSchemaPath+"/"+E;var ne=!S.opts.allErrors;var ae="data"+(j||"");var _e="valid"+N;var ve="errs__"+N;var Ee=S.util.copy(S);var Te="";Ee.level++;var Ce="valid"+Ee.level;var we="i"+N,Ne=Ee.dataLevel=S.dataLevel+1,Ie="data"+Ne,Fe=S.baseId,Oe=S.opts.strictKeywords?typeof q=="object"&&Object.keys(q).length>0||q===false:S.util.schemaHasRules(q,S.RULES.all);w+="var "+ve+" = errors;var "+_e+";";if(Oe){var Me=S.compositeRule;S.compositeRule=Ee.compositeRule=true;Ee.schema=q;Ee.schemaPath=ee;Ee.errSchemaPath=te;w+=" var "+Ce+" = false; for (var "+we+" = 0; "+we+" < "+ae+".length; "+we+"++) { ";Ee.errorPath=S.util.getPathExpr(S.errorPath,we,S.opts.jsonPointers,true);var Re=ae+"["+we+"]";Ee.dataPathArr[Ne]=we;var Le=S.validate(Ee);Ee.baseId=Fe;if(S.util.varOccurences(Le,Ie)<2){w+=" "+S.util.varReplace(Le,Ie,Re)+" "}else{w+=" var "+Ie+" = "+Re+"; "+Le+" "}w+=" if ("+Ce+") break; } ";S.compositeRule=Ee.compositeRule=Me;w+=" "+Te+" if (!"+Ce+") {"}else{w+=" if ("+ae+".length == 0) {"}var Be=Be||[];Be.push(w);w="";if(S.createErrors!==false){w+=" { keyword: '"+"contains"+"' , dataPath: (dataPath || '') + "+S.errorPath+" , schemaPath: "+S.util.toQuotedString(te)+" , params: {} ";if(S.opts.messages!==false){w+=" , message: 'should contain a valid item' "}if(S.opts.verbose){w+=" , schema: validate.schema"+ee+" , parentSchema: validate.schema"+S.schemaPath+" , data: "+ae+" "}w+=" } "}else{w+=" {} "}var je=w;w=Be.pop();if(!S.compositeRule&&ne){if(S.async){w+=" throw new ValidationError(["+je+"]); "}else{w+=" validate.errors = ["+je+"]; return false; "}}else{w+=" var err = "+je+"; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; "}w+=" } else { ";if(Oe){w+=" errors = "+ve+"; if (vErrors !== null) { if ("+ve+") vErrors.length = "+ve+"; else vErrors = null; } "}if(S.opts.allErrors){w+=" } "}return w}},99819:S=>{"use strict";S.exports=function generate_custom(S,E,k){var w=" ";var N=S.level;var j=S.dataLevel;var q=S.schema[E];var ee=S.schemaPath+S.util.getProperty(E);var te=S.errSchemaPath+"/"+E;var ne=!S.opts.allErrors;var ae;var _e="data"+(j||"");var ve="valid"+N;var Ee="errs__"+N;var Te=S.opts.$data&&q&&q.$data,Ce;if(Te){w+=" var schema"+N+" = "+S.util.getData(q.$data,j,S.dataPathArr)+"; ";Ce="schema"+N}else{Ce=q}var we=this,Ne="definition"+N,Ie=we.definition,Fe="";var Oe,Me,Re,Le,Be;if(Te&&Ie.$data){Be="keywordValidate"+N;var je=Ie.validateSchema;w+=" var "+Ne+" = RULES.custom['"+E+"'].definition; var "+Be+" = "+Ne+".validate;"}else{Le=S.useCustomRule(we,q,S.schema,S);if(!Le)return;Ce="validate.schema"+ee;Be=Le.code;Oe=Ie.compile;Me=Ie.inline;Re=Ie.macro}var ze=Be+".errors",Ue="i"+N,We="ruleErr"+N,$e=Ie.async;if($e&&!S.async)throw new Error("async keyword in sync schema");if(!(Me||Re)){w+=""+ze+" = null;"}w+="var "+Ee+" = errors;var "+ve+";";if(Te&&Ie.$data){Fe+="}";w+=" if ("+Ce+" === undefined) { "+ve+" = true; } else { ";if(je){Fe+="}";w+=" "+ve+" = "+Ne+".validateSchema("+Ce+"); if ("+ve+") { "}}if(Me){if(Ie.statements){w+=" "+Le.validate+" "}else{w+=" "+ve+" = "+Le.validate+"; "}}else if(Re){var qe=S.util.copy(S);var Fe="";qe.level++;var Ve="valid"+qe.level;qe.schema=Le.validate;qe.schemaPath="";var He=S.compositeRule;S.compositeRule=qe.compositeRule=true;var Ge=S.validate(qe).replace(/validate\.schema/g,Be);S.compositeRule=qe.compositeRule=He;w+=" "+Ge}else{var Je=Je||[];Je.push(w);w="";w+=" "+Be+".call( ";if(S.opts.passContext){w+="this"}else{w+="self"}if(Oe||Ie.schema===false){w+=" , "+_e+" "}else{w+=" , "+Ce+" , "+_e+" , validate.schema"+S.schemaPath+" "}w+=" , (dataPath || '')";if(S.errorPath!='""'){w+=" + "+S.errorPath}var Ke=j?"data"+(j-1||""):"parentData",Qe=j?S.dataPathArr[j]:"parentDataProperty";w+=" , "+Ke+" , "+Qe+" , rootData ) ";var Xe=w;w=Je.pop();if(Ie.errors===false){w+=" "+ve+" = ";if($e){w+="await "}w+=""+Xe+"; "}else{if($e){ze="customErrors"+N;w+=" var "+ze+" = null; try { "+ve+" = await "+Xe+"; } catch (e) { "+ve+" = false; if (e instanceof ValidationError) "+ze+" = e.errors; else throw e; } "}else{w+=" "+ze+" = null; "+ve+" = "+Xe+"; "}}}if(Ie.modifying){w+=" if ("+Ke+") "+_e+" = "+Ke+"["+Qe+"];"}w+=""+Fe;if(Ie.valid){if(ne){w+=" if (true) { "}}else{w+=" if ( ";if(Ie.valid===undefined){w+=" !";if(Re){w+=""+Ve}else{w+=""+ve}}else{w+=" "+!Ie.valid+" "}w+=") { ";ae=we.keyword;var Je=Je||[];Je.push(w);w="";var Je=Je||[];Je.push(w);w="";if(S.createErrors!==false){w+=" { keyword: '"+(ae||"custom")+"' , dataPath: (dataPath || '') + "+S.errorPath+" , schemaPath: "+S.util.toQuotedString(te)+" , params: { keyword: '"+we.keyword+"' } ";if(S.opts.messages!==false){w+=" , message: 'should pass \""+we.keyword+"\" keyword validation' "}if(S.opts.verbose){w+=" , schema: validate.schema"+ee+" , parentSchema: validate.schema"+S.schemaPath+" , data: "+_e+" "}w+=" } "}else{w+=" {} "}var Ye=w;w=Je.pop();if(!S.compositeRule&&ne){if(S.async){w+=" throw new ValidationError(["+Ye+"]); "}else{w+=" validate.errors = ["+Ye+"]; return false; "}}else{w+=" var err = "+Ye+"; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; "}var Ze=w;w=Je.pop();if(Me){if(Ie.errors){if(Ie.errors!="full"){w+=" for (var "+Ue+"="+Ee+"; "+Ue+"{"use strict";S.exports=function generate_dependencies(S,E,k){var w=" ";var N=S.level;var j=S.dataLevel;var q=S.schema[E];var ee=S.schemaPath+S.util.getProperty(E);var te=S.errSchemaPath+"/"+E;var ne=!S.opts.allErrors;var ae="data"+(j||"");var _e="errs__"+N;var ve=S.util.copy(S);var Ee="";ve.level++;var Te="valid"+ve.level;var Ce={},we={},Ne=S.opts.ownProperties;for(Me in q){if(Me=="__proto__")continue;var Ie=q[Me];var Fe=Array.isArray(Ie)?we:Ce;Fe[Me]=Ie}w+="var "+_e+" = errors;";var Oe=S.errorPath;w+="var missing"+N+";";for(var Me in we){Fe=we[Me];if(Fe.length){w+=" if ( "+ae+S.util.getProperty(Me)+" !== undefined ";if(Ne){w+=" && Object.prototype.hasOwnProperty.call("+ae+", '"+S.util.escapeQuotes(Me)+"') "}if(ne){w+=" && ( ";var Re=Fe;if(Re){var Le,Be=-1,je=Re.length-1;while(Be0||Ie===false:S.util.schemaHasRules(Ie,S.RULES.all)){w+=" "+Te+" = true; if ( "+ae+S.util.getProperty(Me)+" !== undefined ";if(Ne){w+=" && Object.prototype.hasOwnProperty.call("+ae+", '"+S.util.escapeQuotes(Me)+"') "}w+=") { ";ve.schema=Ie;ve.schemaPath=ee+S.util.getProperty(Me);ve.errSchemaPath=te+"/"+S.util.escapeFragment(Me);w+=" "+S.validate(ve)+" ";ve.baseId=Ke;w+=" } ";if(ne){w+=" if ("+Te+") { ";Ee+="}"}}}if(ne){w+=" "+Ee+" if ("+_e+" == errors) {"}return w}},20489:S=>{"use strict";S.exports=function generate_enum(S,E,k){var w=" ";var N=S.level;var j=S.dataLevel;var q=S.schema[E];var ee=S.schemaPath+S.util.getProperty(E);var te=S.errSchemaPath+"/"+E;var ne=!S.opts.allErrors;var ae="data"+(j||"");var _e="valid"+N;var ve=S.opts.$data&&q&&q.$data,Ee;if(ve){w+=" var schema"+N+" = "+S.util.getData(q.$data,j,S.dataPathArr)+"; ";Ee="schema"+N}else{Ee=q}var Te="i"+N,Ce="schema"+N;if(!ve){w+=" var "+Ce+" = validate.schema"+ee+";"}w+="var "+_e+";";if(ve){w+=" if (schema"+N+" === undefined) "+_e+" = true; else if (!Array.isArray(schema"+N+")) "+_e+" = false; else {"}w+=""+_e+" = false;for (var "+Te+"=0; "+Te+"<"+Ce+".length; "+Te+"++) if (equal("+ae+", "+Ce+"["+Te+"])) { "+_e+" = true; break; }";if(ve){w+=" } "}w+=" if (!"+_e+") { ";var we=we||[];we.push(w);w="";if(S.createErrors!==false){w+=" { keyword: '"+"enum"+"' , dataPath: (dataPath || '') + "+S.errorPath+" , schemaPath: "+S.util.toQuotedString(te)+" , params: { allowedValues: schema"+N+" } ";if(S.opts.messages!==false){w+=" , message: 'should be equal to one of the allowed values' "}if(S.opts.verbose){w+=" , schema: validate.schema"+ee+" , parentSchema: validate.schema"+S.schemaPath+" , data: "+ae+" "}w+=" } "}else{w+=" {} "}var Ne=w;w=we.pop();if(!S.compositeRule&&ne){if(S.async){w+=" throw new ValidationError(["+Ne+"]); "}else{w+=" validate.errors = ["+Ne+"]; return false; "}}else{w+=" var err = "+Ne+"; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; "}w+=" }";if(ne){w+=" else { "}return w}},69090:S=>{"use strict";S.exports=function generate_format(S,E,k){var w=" ";var N=S.level;var j=S.dataLevel;var q=S.schema[E];var ee=S.schemaPath+S.util.getProperty(E);var te=S.errSchemaPath+"/"+E;var ne=!S.opts.allErrors;var ae="data"+(j||"");if(S.opts.format===false){if(ne){w+=" if (true) { "}return w}var _e=S.opts.$data&&q&&q.$data,ve;if(_e){w+=" var schema"+N+" = "+S.util.getData(q.$data,j,S.dataPathArr)+"; ";ve="schema"+N}else{ve=q}var Ee=S.opts.unknownFormats,Te=Array.isArray(Ee);if(_e){var Ce="format"+N,we="isObject"+N,Ne="formatType"+N;w+=" var "+Ce+" = formats["+ve+"]; var "+we+" = typeof "+Ce+" == 'object' && !("+Ce+" instanceof RegExp) && "+Ce+".validate; var "+Ne+" = "+we+" && "+Ce+".type || 'string'; if ("+we+") { ";if(S.async){w+=" var async"+N+" = "+Ce+".async; "}w+=" "+Ce+" = "+Ce+".validate; } if ( ";if(_e){w+=" ("+ve+" !== undefined && typeof "+ve+" != 'string') || "}w+=" (";if(Ee!="ignore"){w+=" ("+ve+" && !"+Ce+" ";if(Te){w+=" && self._opts.unknownFormats.indexOf("+ve+") == -1 "}w+=") || "}w+=" ("+Ce+" && "+Ne+" == '"+k+"' && !(typeof "+Ce+" == 'function' ? ";if(S.async){w+=" (async"+N+" ? await "+Ce+"("+ae+") : "+Ce+"("+ae+")) "}else{w+=" "+Ce+"("+ae+") "}w+=" : "+Ce+".test("+ae+"))))) {"}else{var Ce=S.formats[q];if(!Ce){if(Ee=="ignore"){S.logger.warn('unknown format "'+q+'" ignored in schema at path "'+S.errSchemaPath+'"');if(ne){w+=" if (true) { "}return w}else if(Te&&Ee.indexOf(q)>=0){if(ne){w+=" if (true) { "}return w}else{throw new Error('unknown format "'+q+'" is used in schema at path "'+S.errSchemaPath+'"')}}var we=typeof Ce=="object"&&!(Ce instanceof RegExp)&&Ce.validate;var Ne=we&&Ce.type||"string";if(we){var Ie=Ce.async===true;Ce=Ce.validate}if(Ne!=k){if(ne){w+=" if (true) { "}return w}if(Ie){if(!S.async)throw new Error("async format in sync schema");var Fe="formats"+S.util.getProperty(q)+".validate";w+=" if (!(await "+Fe+"("+ae+"))) { "}else{w+=" if (! ";var Fe="formats"+S.util.getProperty(q);if(we)Fe+=".validate";if(typeof Ce=="function"){w+=" "+Fe+"("+ae+") "}else{w+=" "+Fe+".test("+ae+") "}w+=") { "}}var Oe=Oe||[];Oe.push(w);w="";if(S.createErrors!==false){w+=" { keyword: '"+"format"+"' , dataPath: (dataPath || '') + "+S.errorPath+" , schemaPath: "+S.util.toQuotedString(te)+" , params: { format: ";if(_e){w+=""+ve}else{w+=""+S.util.toQuotedString(q)}w+=" } ";if(S.opts.messages!==false){w+=" , message: 'should match format \"";if(_e){w+="' + "+ve+" + '"}else{w+=""+S.util.escapeQuotes(q)}w+="\"' "}if(S.opts.verbose){w+=" , schema: ";if(_e){w+="validate.schema"+ee}else{w+=""+S.util.toQuotedString(q)}w+=" , parentSchema: validate.schema"+S.schemaPath+" , data: "+ae+" "}w+=" } "}else{w+=" {} "}var Me=w;w=Oe.pop();if(!S.compositeRule&&ne){if(S.async){w+=" throw new ValidationError(["+Me+"]); "}else{w+=" validate.errors = ["+Me+"]; return false; "}}else{w+=" var err = "+Me+"; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; "}w+=" } ";if(ne){w+=" else { "}return w}},1636:S=>{"use strict";S.exports=function generate_if(S,E,k){var w=" ";var N=S.level;var j=S.dataLevel;var q=S.schema[E];var ee=S.schemaPath+S.util.getProperty(E);var te=S.errSchemaPath+"/"+E;var ne=!S.opts.allErrors;var ae="data"+(j||"");var _e="valid"+N;var ve="errs__"+N;var Ee=S.util.copy(S);Ee.level++;var Te="valid"+Ee.level;var Ce=S.schema["then"],we=S.schema["else"],Ne=Ce!==undefined&&(S.opts.strictKeywords?typeof Ce=="object"&&Object.keys(Ce).length>0||Ce===false:S.util.schemaHasRules(Ce,S.RULES.all)),Ie=we!==undefined&&(S.opts.strictKeywords?typeof we=="object"&&Object.keys(we).length>0||we===false:S.util.schemaHasRules(we,S.RULES.all)),Fe=Ee.baseId;if(Ne||Ie){var Oe;Ee.createErrors=false;Ee.schema=q;Ee.schemaPath=ee;Ee.errSchemaPath=te;w+=" var "+ve+" = errors; var "+_e+" = true; ";var Me=S.compositeRule;S.compositeRule=Ee.compositeRule=true;w+=" "+S.validate(Ee)+" ";Ee.baseId=Fe;Ee.createErrors=true;w+=" errors = "+ve+"; if (vErrors !== null) { if ("+ve+") vErrors.length = "+ve+"; else vErrors = null; } ";S.compositeRule=Ee.compositeRule=Me;if(Ne){w+=" if ("+Te+") { ";Ee.schema=S.schema["then"];Ee.schemaPath=S.schemaPath+".then";Ee.errSchemaPath=S.errSchemaPath+"/then";w+=" "+S.validate(Ee)+" ";Ee.baseId=Fe;w+=" "+_e+" = "+Te+"; ";if(Ne&&Ie){Oe="ifClause"+N;w+=" var "+Oe+" = 'then'; "}else{Oe="'then'"}w+=" } ";if(Ie){w+=" else { "}}else{w+=" if (!"+Te+") { "}if(Ie){Ee.schema=S.schema["else"];Ee.schemaPath=S.schemaPath+".else";Ee.errSchemaPath=S.errSchemaPath+"/else";w+=" "+S.validate(Ee)+" ";Ee.baseId=Fe;w+=" "+_e+" = "+Te+"; ";if(Ne&&Ie){Oe="ifClause"+N;w+=" var "+Oe+" = 'else'; "}else{Oe="'else'"}w+=" } "}w+=" if (!"+_e+") { var err = ";if(S.createErrors!==false){w+=" { keyword: '"+"if"+"' , dataPath: (dataPath || '') + "+S.errorPath+" , schemaPath: "+S.util.toQuotedString(te)+" , params: { failingKeyword: "+Oe+" } ";if(S.opts.messages!==false){w+=" , message: 'should match \"' + "+Oe+" + '\" schema' "}if(S.opts.verbose){w+=" , schema: validate.schema"+ee+" , parentSchema: validate.schema"+S.schemaPath+" , data: "+ae+" "}w+=" } "}else{w+=" {} "}w+="; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; ";if(!S.compositeRule&&ne){if(S.async){w+=" throw new ValidationError(vErrors); "}else{w+=" validate.errors = vErrors; return false; "}}w+=" } ";if(ne){w+=" else { "}}else{if(ne){w+=" if (true) { "}}return w}},71001:(S,E,k)=>{"use strict";S.exports={$ref:k(41944),allOf:k(30081),anyOf:k(70019),$comment:k(79878),const:k(23404),contains:k(33224),dependencies:k(19493),enum:k(20489),format:k(69090),if:k(1636),items:k(6060),maximum:k(70507),minimum:k(70507),maxItems:k(6958),minItems:k(6958),maxLength:k(41363),minLength:k(41363),maxProperties:k(25569),minProperties:k(25569),multipleOf:k(54841),not:k(74881),oneOf:k(77675),pattern:k(98676),properties:k(99306),propertyNames:k(28014),required:k(16372),uniqueItems:k(37270),validate:k(85061)}},6060:S=>{"use strict";S.exports=function generate_items(S,E,k){var w=" ";var N=S.level;var j=S.dataLevel;var q=S.schema[E];var ee=S.schemaPath+S.util.getProperty(E);var te=S.errSchemaPath+"/"+E;var ne=!S.opts.allErrors;var ae="data"+(j||"");var _e="valid"+N;var ve="errs__"+N;var Ee=S.util.copy(S);var Te="";Ee.level++;var Ce="valid"+Ee.level;var we="i"+N,Ne=Ee.dataLevel=S.dataLevel+1,Ie="data"+Ne,Fe=S.baseId;w+="var "+ve+" = errors;var "+_e+";";if(Array.isArray(q)){var Oe=S.schema.additionalItems;if(Oe===false){w+=" "+_e+" = "+ae+".length <= "+q.length+"; ";var Me=te;te=S.errSchemaPath+"/additionalItems";w+=" if (!"+_e+") { ";var Re=Re||[];Re.push(w);w="";if(S.createErrors!==false){w+=" { keyword: '"+"additionalItems"+"' , dataPath: (dataPath || '') + "+S.errorPath+" , schemaPath: "+S.util.toQuotedString(te)+" , params: { limit: "+q.length+" } ";if(S.opts.messages!==false){w+=" , message: 'should NOT have more than "+q.length+" items' "}if(S.opts.verbose){w+=" , schema: false , parentSchema: validate.schema"+S.schemaPath+" , data: "+ae+" "}w+=" } "}else{w+=" {} "}var Le=w;w=Re.pop();if(!S.compositeRule&&ne){if(S.async){w+=" throw new ValidationError(["+Le+"]); "}else{w+=" validate.errors = ["+Le+"]; return false; "}}else{w+=" var err = "+Le+"; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; "}w+=" } ";te=Me;if(ne){Te+="}";w+=" else { "}}var Be=q;if(Be){var je,ze=-1,Ue=Be.length-1;while(ze0||je===false:S.util.schemaHasRules(je,S.RULES.all)){w+=" "+Ce+" = true; if ("+ae+".length > "+ze+") { ";var We=ae+"["+ze+"]";Ee.schema=je;Ee.schemaPath=ee+"["+ze+"]";Ee.errSchemaPath=te+"/"+ze;Ee.errorPath=S.util.getPathExpr(S.errorPath,ze,S.opts.jsonPointers,true);Ee.dataPathArr[Ne]=ze;var $e=S.validate(Ee);Ee.baseId=Fe;if(S.util.varOccurences($e,Ie)<2){w+=" "+S.util.varReplace($e,Ie,We)+" "}else{w+=" var "+Ie+" = "+We+"; "+$e+" "}w+=" } ";if(ne){w+=" if ("+Ce+") { ";Te+="}"}}}}if(typeof Oe=="object"&&(S.opts.strictKeywords?typeof Oe=="object"&&Object.keys(Oe).length>0||Oe===false:S.util.schemaHasRules(Oe,S.RULES.all))){Ee.schema=Oe;Ee.schemaPath=S.schemaPath+".additionalItems";Ee.errSchemaPath=S.errSchemaPath+"/additionalItems";w+=" "+Ce+" = true; if ("+ae+".length > "+q.length+") { for (var "+we+" = "+q.length+"; "+we+" < "+ae+".length; "+we+"++) { ";Ee.errorPath=S.util.getPathExpr(S.errorPath,we,S.opts.jsonPointers,true);var We=ae+"["+we+"]";Ee.dataPathArr[Ne]=we;var $e=S.validate(Ee);Ee.baseId=Fe;if(S.util.varOccurences($e,Ie)<2){w+=" "+S.util.varReplace($e,Ie,We)+" "}else{w+=" var "+Ie+" = "+We+"; "+$e+" "}if(ne){w+=" if (!"+Ce+") break; "}w+=" } } ";if(ne){w+=" if ("+Ce+") { ";Te+="}"}}}else if(S.opts.strictKeywords?typeof q=="object"&&Object.keys(q).length>0||q===false:S.util.schemaHasRules(q,S.RULES.all)){Ee.schema=q;Ee.schemaPath=ee;Ee.errSchemaPath=te;w+=" for (var "+we+" = "+0+"; "+we+" < "+ae+".length; "+we+"++) { ";Ee.errorPath=S.util.getPathExpr(S.errorPath,we,S.opts.jsonPointers,true);var We=ae+"["+we+"]";Ee.dataPathArr[Ne]=we;var $e=S.validate(Ee);Ee.baseId=Fe;if(S.util.varOccurences($e,Ie)<2){w+=" "+S.util.varReplace($e,Ie,We)+" "}else{w+=" var "+Ie+" = "+We+"; "+$e+" "}if(ne){w+=" if (!"+Ce+") break; "}w+=" }"}if(ne){w+=" "+Te+" if ("+ve+" == errors) {"}return w}},54841:S=>{"use strict";S.exports=function generate_multipleOf(S,E,k){var w=" ";var N=S.level;var j=S.dataLevel;var q=S.schema[E];var ee=S.schemaPath+S.util.getProperty(E);var te=S.errSchemaPath+"/"+E;var ne=!S.opts.allErrors;var ae="data"+(j||"");var _e=S.opts.$data&&q&&q.$data,ve;if(_e){w+=" var schema"+N+" = "+S.util.getData(q.$data,j,S.dataPathArr)+"; ";ve="schema"+N}else{ve=q}if(!(_e||typeof q=="number")){throw new Error(E+" must be number")}w+="var division"+N+";if (";if(_e){w+=" "+ve+" !== undefined && ( typeof "+ve+" != 'number' || "}w+=" (division"+N+" = "+ae+" / "+ve+", ";if(S.opts.multipleOfPrecision){w+=" Math.abs(Math.round(division"+N+") - division"+N+") > 1e-"+S.opts.multipleOfPrecision+" "}else{w+=" division"+N+" !== parseInt(division"+N+") "}w+=" ) ";if(_e){w+=" ) "}w+=" ) { ";var Ee=Ee||[];Ee.push(w);w="";if(S.createErrors!==false){w+=" { keyword: '"+"multipleOf"+"' , dataPath: (dataPath || '') + "+S.errorPath+" , schemaPath: "+S.util.toQuotedString(te)+" , params: { multipleOf: "+ve+" } ";if(S.opts.messages!==false){w+=" , message: 'should be multiple of ";if(_e){w+="' + "+ve}else{w+=""+ve+"'"}}if(S.opts.verbose){w+=" , schema: ";if(_e){w+="validate.schema"+ee}else{w+=""+q}w+=" , parentSchema: validate.schema"+S.schemaPath+" , data: "+ae+" "}w+=" } "}else{w+=" {} "}var Te=w;w=Ee.pop();if(!S.compositeRule&&ne){if(S.async){w+=" throw new ValidationError(["+Te+"]); "}else{w+=" validate.errors = ["+Te+"]; return false; "}}else{w+=" var err = "+Te+"; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; "}w+="} ";if(ne){w+=" else { "}return w}},74881:S=>{"use strict";S.exports=function generate_not(S,E,k){var w=" ";var N=S.level;var j=S.dataLevel;var q=S.schema[E];var ee=S.schemaPath+S.util.getProperty(E);var te=S.errSchemaPath+"/"+E;var ne=!S.opts.allErrors;var ae="data"+(j||"");var _e="errs__"+N;var ve=S.util.copy(S);ve.level++;var Ee="valid"+ve.level;if(S.opts.strictKeywords?typeof q=="object"&&Object.keys(q).length>0||q===false:S.util.schemaHasRules(q,S.RULES.all)){ve.schema=q;ve.schemaPath=ee;ve.errSchemaPath=te;w+=" var "+_e+" = errors; ";var Te=S.compositeRule;S.compositeRule=ve.compositeRule=true;ve.createErrors=false;var Ce;if(ve.opts.allErrors){Ce=ve.opts.allErrors;ve.opts.allErrors=false}w+=" "+S.validate(ve)+" ";ve.createErrors=true;if(Ce)ve.opts.allErrors=Ce;S.compositeRule=ve.compositeRule=Te;w+=" if ("+Ee+") { ";var we=we||[];we.push(w);w="";if(S.createErrors!==false){w+=" { keyword: '"+"not"+"' , dataPath: (dataPath || '') + "+S.errorPath+" , schemaPath: "+S.util.toQuotedString(te)+" , params: {} ";if(S.opts.messages!==false){w+=" , message: 'should NOT be valid' "}if(S.opts.verbose){w+=" , schema: validate.schema"+ee+" , parentSchema: validate.schema"+S.schemaPath+" , data: "+ae+" "}w+=" } "}else{w+=" {} "}var Ne=w;w=we.pop();if(!S.compositeRule&&ne){if(S.async){w+=" throw new ValidationError(["+Ne+"]); "}else{w+=" validate.errors = ["+Ne+"]; return false; "}}else{w+=" var err = "+Ne+"; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; "}w+=" } else { errors = "+_e+"; if (vErrors !== null) { if ("+_e+") vErrors.length = "+_e+"; else vErrors = null; } ";if(S.opts.allErrors){w+=" } "}}else{w+=" var err = ";if(S.createErrors!==false){w+=" { keyword: '"+"not"+"' , dataPath: (dataPath || '') + "+S.errorPath+" , schemaPath: "+S.util.toQuotedString(te)+" , params: {} ";if(S.opts.messages!==false){w+=" , message: 'should NOT be valid' "}if(S.opts.verbose){w+=" , schema: validate.schema"+ee+" , parentSchema: validate.schema"+S.schemaPath+" , data: "+ae+" "}w+=" } "}else{w+=" {} "}w+="; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; ";if(ne){w+=" if (false) { "}}return w}},77675:S=>{"use strict";S.exports=function generate_oneOf(S,E,k){var w=" ";var N=S.level;var j=S.dataLevel;var q=S.schema[E];var ee=S.schemaPath+S.util.getProperty(E);var te=S.errSchemaPath+"/"+E;var ne=!S.opts.allErrors;var ae="data"+(j||"");var _e="valid"+N;var ve="errs__"+N;var Ee=S.util.copy(S);var Te="";Ee.level++;var Ce="valid"+Ee.level;var we=Ee.baseId,Ne="prevValid"+N,Ie="passingSchemas"+N;w+="var "+ve+" = errors , "+Ne+" = false , "+_e+" = false , "+Ie+" = null; ";var Fe=S.compositeRule;S.compositeRule=Ee.compositeRule=true;var Oe=q;if(Oe){var Me,Re=-1,Le=Oe.length-1;while(Re0||Me===false:S.util.schemaHasRules(Me,S.RULES.all)){Ee.schema=Me;Ee.schemaPath=ee+"["+Re+"]";Ee.errSchemaPath=te+"/"+Re;w+=" "+S.validate(Ee)+" ";Ee.baseId=we}else{w+=" var "+Ce+" = true; "}if(Re){w+=" if ("+Ce+" && "+Ne+") { "+_e+" = false; "+Ie+" = ["+Ie+", "+Re+"]; } else { ";Te+="}"}w+=" if ("+Ce+") { "+_e+" = "+Ne+" = true; "+Ie+" = "+Re+"; }"}}S.compositeRule=Ee.compositeRule=Fe;w+=""+Te+"if (!"+_e+") { var err = ";if(S.createErrors!==false){w+=" { keyword: '"+"oneOf"+"' , dataPath: (dataPath || '') + "+S.errorPath+" , schemaPath: "+S.util.toQuotedString(te)+" , params: { passingSchemas: "+Ie+" } ";if(S.opts.messages!==false){w+=" , message: 'should match exactly one schema in oneOf' "}if(S.opts.verbose){w+=" , schema: validate.schema"+ee+" , parentSchema: validate.schema"+S.schemaPath+" , data: "+ae+" "}w+=" } "}else{w+=" {} "}w+="; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; ";if(!S.compositeRule&&ne){if(S.async){w+=" throw new ValidationError(vErrors); "}else{w+=" validate.errors = vErrors; return false; "}}w+="} else { errors = "+ve+"; if (vErrors !== null) { if ("+ve+") vErrors.length = "+ve+"; else vErrors = null; }";if(S.opts.allErrors){w+=" } "}return w}},98676:S=>{"use strict";S.exports=function generate_pattern(S,E,k){var w=" ";var N=S.level;var j=S.dataLevel;var q=S.schema[E];var ee=S.schemaPath+S.util.getProperty(E);var te=S.errSchemaPath+"/"+E;var ne=!S.opts.allErrors;var ae="data"+(j||"");var _e=S.opts.$data&&q&&q.$data,ve;if(_e){w+=" var schema"+N+" = "+S.util.getData(q.$data,j,S.dataPathArr)+"; ";ve="schema"+N}else{ve=q}var Ee=_e?"(new RegExp("+ve+"))":S.usePattern(q);w+="if ( ";if(_e){w+=" ("+ve+" !== undefined && typeof "+ve+" != 'string') || "}w+=" !"+Ee+".test("+ae+") ) { ";var Te=Te||[];Te.push(w);w="";if(S.createErrors!==false){w+=" { keyword: '"+"pattern"+"' , dataPath: (dataPath || '') + "+S.errorPath+" , schemaPath: "+S.util.toQuotedString(te)+" , params: { pattern: ";if(_e){w+=""+ve}else{w+=""+S.util.toQuotedString(q)}w+=" } ";if(S.opts.messages!==false){w+=" , message: 'should match pattern \"";if(_e){w+="' + "+ve+" + '"}else{w+=""+S.util.escapeQuotes(q)}w+="\"' "}if(S.opts.verbose){w+=" , schema: ";if(_e){w+="validate.schema"+ee}else{w+=""+S.util.toQuotedString(q)}w+=" , parentSchema: validate.schema"+S.schemaPath+" , data: "+ae+" "}w+=" } "}else{w+=" {} "}var Ce=w;w=Te.pop();if(!S.compositeRule&&ne){if(S.async){w+=" throw new ValidationError(["+Ce+"]); "}else{w+=" validate.errors = ["+Ce+"]; return false; "}}else{w+=" var err = "+Ce+"; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; "}w+="} ";if(ne){w+=" else { "}return w}},99306:S=>{"use strict";S.exports=function generate_properties(S,E,k){var w=" ";var N=S.level;var j=S.dataLevel;var q=S.schema[E];var ee=S.schemaPath+S.util.getProperty(E);var te=S.errSchemaPath+"/"+E;var ne=!S.opts.allErrors;var ae="data"+(j||"");var _e="errs__"+N;var ve=S.util.copy(S);var Ee="";ve.level++;var Te="valid"+ve.level;var Ce="key"+N,we="idx"+N,Ne=ve.dataLevel=S.dataLevel+1,Ie="data"+Ne,Fe="dataProperties"+N;var Oe=Object.keys(q||{}).filter(notProto),Me=S.schema.patternProperties||{},Re=Object.keys(Me).filter(notProto),Le=S.schema.additionalProperties,Be=Oe.length||Re.length,je=Le===false,ze=typeof Le=="object"&&Object.keys(Le).length,Ue=S.opts.removeAdditional,We=je||ze||Ue,$e=S.opts.ownProperties,qe=S.baseId;var Ve=S.schema.required;if(Ve&&!(S.opts.$data&&Ve.$data)&&Ve.length8){w+=" || validate.schema"+ee+".hasOwnProperty("+Ce+") "}else{var Ge=Oe;if(Ge){var Je,Ke=-1,Qe=Ge.length-1;while(Ke0||ht===false:S.util.schemaHasRules(ht,S.RULES.all)){var _t=S.util.getProperty(Je),ct=ae+_t,yt=dt&&ht.default!==undefined;ve.schema=ht;ve.schemaPath=ee+_t;ve.errSchemaPath=te+"/"+S.util.escapeFragment(Je);ve.errorPath=S.util.getPath(S.errorPath,Je,S.opts.jsonPointers);ve.dataPathArr[Ne]=S.util.toQuotedString(Je);var ut=S.validate(ve);ve.baseId=qe;if(S.util.varOccurences(ut,Ie)<2){ut=S.util.varReplace(ut,Ie,ct);var vt=ct}else{var vt=Ie;w+=" var "+Ie+" = "+ct+"; "}if(yt){w+=" "+ut+" "}else{if(He&&He[Je]){w+=" if ( "+vt+" === undefined ";if($e){w+=" || ! Object.prototype.hasOwnProperty.call("+ae+", '"+S.util.escapeQuotes(Je)+"') "}w+=") { "+Te+" = false; ";var tt=S.errorPath,nt=te,bt=S.util.escapeQuotes(Je);if(S.opts._errorDataPathProperty){S.errorPath=S.util.getPath(tt,Je,S.opts.jsonPointers)}te=S.errSchemaPath+"/required";var it=it||[];it.push(w);w="";if(S.createErrors!==false){w+=" { keyword: '"+"required"+"' , dataPath: (dataPath || '') + "+S.errorPath+" , schemaPath: "+S.util.toQuotedString(te)+" , params: { missingProperty: '"+bt+"' } ";if(S.opts.messages!==false){w+=" , message: '";if(S.opts._errorDataPathProperty){w+="is a required property"}else{w+="should have required property \\'"+bt+"\\'"}w+="' "}if(S.opts.verbose){w+=" , schema: validate.schema"+ee+" , parentSchema: validate.schema"+S.schemaPath+" , data: "+ae+" "}w+=" } "}else{w+=" {} "}var ot=w;w=it.pop();if(!S.compositeRule&&ne){if(S.async){w+=" throw new ValidationError(["+ot+"]); "}else{w+=" validate.errors = ["+ot+"]; return false; "}}else{w+=" var err = "+ot+"; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; "}te=nt;S.errorPath=tt;w+=" } else { "}else{if(ne){w+=" if ( "+vt+" === undefined ";if($e){w+=" || ! Object.prototype.hasOwnProperty.call("+ae+", '"+S.util.escapeQuotes(Je)+"') "}w+=") { "+Te+" = true; } else { "}else{w+=" if ("+vt+" !== undefined ";if($e){w+=" && Object.prototype.hasOwnProperty.call("+ae+", '"+S.util.escapeQuotes(Je)+"') "}w+=" ) { "}}w+=" "+ut+" } "}}if(ne){w+=" if ("+Te+") { ";Ee+="}"}}}}if(Re.length){var xt=Re;if(xt){var Ye,St=-1,Et=xt.length-1;while(St0||ht===false:S.util.schemaHasRules(ht,S.RULES.all)){ve.schema=ht;ve.schemaPath=S.schemaPath+".patternProperties"+S.util.getProperty(Ye);ve.errSchemaPath=S.errSchemaPath+"/patternProperties/"+S.util.escapeFragment(Ye);if($e){w+=" "+Fe+" = "+Fe+" || Object.keys("+ae+"); for (var "+we+"=0; "+we+"<"+Fe+".length; "+we+"++) { var "+Ce+" = "+Fe+"["+we+"]; "}else{w+=" for (var "+Ce+" in "+ae+") { "}w+=" if ("+S.usePattern(Ye)+".test("+Ce+")) { ";ve.errorPath=S.util.getPathExpr(S.errorPath,Ce,S.opts.jsonPointers);var ct=ae+"["+Ce+"]";ve.dataPathArr[Ne]=Ce;var ut=S.validate(ve);ve.baseId=qe;if(S.util.varOccurences(ut,Ie)<2){w+=" "+S.util.varReplace(ut,Ie,ct)+" "}else{w+=" var "+Ie+" = "+ct+"; "+ut+" "}if(ne){w+=" if (!"+Te+") break; "}w+=" } ";if(ne){w+=" else "+Te+" = true; "}w+=" } ";if(ne){w+=" if ("+Te+") { ";Ee+="}"}}}}}if(ne){w+=" "+Ee+" if ("+_e+" == errors) {"}return w}},28014:S=>{"use strict";S.exports=function generate_propertyNames(S,E,k){var w=" ";var N=S.level;var j=S.dataLevel;var q=S.schema[E];var ee=S.schemaPath+S.util.getProperty(E);var te=S.errSchemaPath+"/"+E;var ne=!S.opts.allErrors;var ae="data"+(j||"");var _e="errs__"+N;var ve=S.util.copy(S);var Ee="";ve.level++;var Te="valid"+ve.level;w+="var "+_e+" = errors;";if(S.opts.strictKeywords?typeof q=="object"&&Object.keys(q).length>0||q===false:S.util.schemaHasRules(q,S.RULES.all)){ve.schema=q;ve.schemaPath=ee;ve.errSchemaPath=te;var Ce="key"+N,we="idx"+N,Ne="i"+N,Ie="' + "+Ce+" + '",Fe=ve.dataLevel=S.dataLevel+1,Oe="data"+Fe,Me="dataProperties"+N,Re=S.opts.ownProperties,Le=S.baseId;if(Re){w+=" var "+Me+" = undefined; "}if(Re){w+=" "+Me+" = "+Me+" || Object.keys("+ae+"); for (var "+we+"=0; "+we+"<"+Me+".length; "+we+"++) { var "+Ce+" = "+Me+"["+we+"]; "}else{w+=" for (var "+Ce+" in "+ae+") { "}w+=" var startErrs"+N+" = errors; ";var Be=Ce;var je=S.compositeRule;S.compositeRule=ve.compositeRule=true;var ze=S.validate(ve);ve.baseId=Le;if(S.util.varOccurences(ze,Oe)<2){w+=" "+S.util.varReplace(ze,Oe,Be)+" "}else{w+=" var "+Oe+" = "+Be+"; "+ze+" "}S.compositeRule=ve.compositeRule=je;w+=" if (!"+Te+") { for (var "+Ne+"=startErrs"+N+"; "+Ne+"{"use strict";S.exports=function generate_ref(S,E,k){var w=" ";var N=S.level;var j=S.dataLevel;var q=S.schema[E];var ee=S.errSchemaPath+"/"+E;var te=!S.opts.allErrors;var ne="data"+(j||"");var ae="valid"+N;var _e,ve;if(q=="#"||q=="#/"){if(S.isRoot){_e=S.async;ve="validate"}else{_e=S.root.schema.$async===true;ve="root.refVal[0]"}}else{var Ee=S.resolveRef(S.baseId,q,S.isRoot);if(Ee===undefined){var Te=S.MissingRefError.message(S.baseId,q);if(S.opts.missingRefs=="fail"){S.logger.error(Te);var Ce=Ce||[];Ce.push(w);w="";if(S.createErrors!==false){w+=" { keyword: '"+"$ref"+"' , dataPath: (dataPath || '') + "+S.errorPath+" , schemaPath: "+S.util.toQuotedString(ee)+" , params: { ref: '"+S.util.escapeQuotes(q)+"' } ";if(S.opts.messages!==false){w+=" , message: 'can\\'t resolve reference "+S.util.escapeQuotes(q)+"' "}if(S.opts.verbose){w+=" , schema: "+S.util.toQuotedString(q)+" , parentSchema: validate.schema"+S.schemaPath+" , data: "+ne+" "}w+=" } "}else{w+=" {} "}var we=w;w=Ce.pop();if(!S.compositeRule&&te){if(S.async){w+=" throw new ValidationError(["+we+"]); "}else{w+=" validate.errors = ["+we+"]; return false; "}}else{w+=" var err = "+we+"; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; "}if(te){w+=" if (false) { "}}else if(S.opts.missingRefs=="ignore"){S.logger.warn(Te);if(te){w+=" if (true) { "}}else{throw new S.MissingRefError(S.baseId,q,Te)}}else if(Ee.inline){var Ne=S.util.copy(S);Ne.level++;var Ie="valid"+Ne.level;Ne.schema=Ee.schema;Ne.schemaPath="";Ne.errSchemaPath=q;var Fe=S.validate(Ne).replace(/validate\.schema/g,Ee.code);w+=" "+Fe+" ";if(te){w+=" if ("+Ie+") { "}}else{_e=Ee.$async===true||S.async&&Ee.$async!==false;ve=Ee.code}}if(ve){var Ce=Ce||[];Ce.push(w);w="";if(S.opts.passContext){w+=" "+ve+".call(this, "}else{w+=" "+ve+"( "}w+=" "+ne+", (dataPath || '')";if(S.errorPath!='""'){w+=" + "+S.errorPath}var Oe=j?"data"+(j-1||""):"parentData",Me=j?S.dataPathArr[j]:"parentDataProperty";w+=" , "+Oe+" , "+Me+", rootData) ";var Re=w;w=Ce.pop();if(_e){if(!S.async)throw new Error("async schema referenced by sync schema");if(te){w+=" var "+ae+"; "}w+=" try { await "+Re+"; ";if(te){w+=" "+ae+" = true; "}w+=" } catch (e) { if (!(e instanceof ValidationError)) throw e; if (vErrors === null) vErrors = e.errors; else vErrors = vErrors.concat(e.errors); errors = vErrors.length; ";if(te){w+=" "+ae+" = false; "}w+=" } ";if(te){w+=" if ("+ae+") { "}}else{w+=" if (!"+Re+") { if (vErrors === null) vErrors = "+ve+".errors; else vErrors = vErrors.concat("+ve+".errors); errors = vErrors.length; } ";if(te){w+=" else { "}}}return w}},16372:S=>{"use strict";S.exports=function generate_required(S,E,k){var w=" ";var N=S.level;var j=S.dataLevel;var q=S.schema[E];var ee=S.schemaPath+S.util.getProperty(E);var te=S.errSchemaPath+"/"+E;var ne=!S.opts.allErrors;var ae="data"+(j||"");var _e="valid"+N;var ve=S.opts.$data&&q&&q.$data,Ee;if(ve){w+=" var schema"+N+" = "+S.util.getData(q.$data,j,S.dataPathArr)+"; ";Ee="schema"+N}else{Ee=q}var Te="schema"+N;if(!ve){if(q.length0||Oe===false:S.util.schemaHasRules(Oe,S.RULES.all)))){Ce[Ce.length]=Ne}}}}else{var Ce=q}}if(ve||Ce.length){var Me=S.errorPath,Re=ve||Ce.length>=S.opts.loopRequired,Le=S.opts.ownProperties;if(ne){w+=" var missing"+N+"; ";if(Re){if(!ve){w+=" var "+Te+" = validate.schema"+ee+"; "}var Be="i"+N,je="schema"+N+"["+Be+"]",ze="' + "+je+" + '";if(S.opts._errorDataPathProperty){S.errorPath=S.util.getPathExpr(Me,je,S.opts.jsonPointers)}w+=" var "+_e+" = true; ";if(ve){w+=" if (schema"+N+" === undefined) "+_e+" = true; else if (!Array.isArray(schema"+N+")) "+_e+" = false; else {"}w+=" for (var "+Be+" = 0; "+Be+" < "+Te+".length; "+Be+"++) { "+_e+" = "+ae+"["+Te+"["+Be+"]] !== undefined ";if(Le){w+=" && Object.prototype.hasOwnProperty.call("+ae+", "+Te+"["+Be+"]) "}w+="; if (!"+_e+") break; } ";if(ve){w+=" } "}w+=" if (!"+_e+") { ";var Ue=Ue||[];Ue.push(w);w="";if(S.createErrors!==false){w+=" { keyword: '"+"required"+"' , dataPath: (dataPath || '') + "+S.errorPath+" , schemaPath: "+S.util.toQuotedString(te)+" , params: { missingProperty: '"+ze+"' } ";if(S.opts.messages!==false){w+=" , message: '";if(S.opts._errorDataPathProperty){w+="is a required property"}else{w+="should have required property \\'"+ze+"\\'"}w+="' "}if(S.opts.verbose){w+=" , schema: validate.schema"+ee+" , parentSchema: validate.schema"+S.schemaPath+" , data: "+ae+" "}w+=" } "}else{w+=" {} "}var We=w;w=Ue.pop();if(!S.compositeRule&&ne){if(S.async){w+=" throw new ValidationError(["+We+"]); "}else{w+=" validate.errors = ["+We+"]; return false; "}}else{w+=" var err = "+We+"; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; "}w+=" } else { "}else{w+=" if ( ";var $e=Ce;if($e){var qe,Be=-1,Ve=$e.length-1;while(Be{"use strict";S.exports=function generate_uniqueItems(S,E,k){var w=" ";var N=S.level;var j=S.dataLevel;var q=S.schema[E];var ee=S.schemaPath+S.util.getProperty(E);var te=S.errSchemaPath+"/"+E;var ne=!S.opts.allErrors;var ae="data"+(j||"");var _e="valid"+N;var ve=S.opts.$data&&q&&q.$data,Ee;if(ve){w+=" var schema"+N+" = "+S.util.getData(q.$data,j,S.dataPathArr)+"; ";Ee="schema"+N}else{Ee=q}if((q||ve)&&S.opts.uniqueItems!==false){if(ve){w+=" var "+_e+"; if ("+Ee+" === false || "+Ee+" === undefined) "+_e+" = true; else if (typeof "+Ee+" != 'boolean') "+_e+" = false; else { "}w+=" var i = "+ae+".length , "+_e+" = true , j; if (i > 1) { ";var Te=S.schema.items&&S.schema.items.type,Ce=Array.isArray(Te);if(!Te||Te=="object"||Te=="array"||Ce&&(Te.indexOf("object")>=0||Te.indexOf("array")>=0)){w+=" outer: for (;i--;) { for (j = i; j--;) { if (equal("+ae+"[i], "+ae+"[j])) { "+_e+" = false; break outer; } } } "}else{w+=" var itemIndices = {}, item; for (;i--;) { var item = "+ae+"[i]; ";var we="checkDataType"+(Ce?"s":"");w+=" if ("+S.util[we](Te,"item",S.opts.strictNumbers,true)+") continue; ";if(Ce){w+=" if (typeof item == 'string') item = '\"' + item; "}w+=" if (typeof itemIndices[item] == 'number') { "+_e+" = false; j = itemIndices[item]; break; } itemIndices[item] = i; } "}w+=" } ";if(ve){w+=" } "}w+=" if (!"+_e+") { ";var Ne=Ne||[];Ne.push(w);w="";if(S.createErrors!==false){w+=" { keyword: '"+"uniqueItems"+"' , dataPath: (dataPath || '') + "+S.errorPath+" , schemaPath: "+S.util.toQuotedString(te)+" , params: { i: i, j: j } ";if(S.opts.messages!==false){w+=" , message: 'should NOT have duplicate items (items ## ' + j + ' and ' + i + ' are identical)' "}if(S.opts.verbose){w+=" , schema: ";if(ve){w+="validate.schema"+ee}else{w+=""+q}w+=" , parentSchema: validate.schema"+S.schemaPath+" , data: "+ae+" "}w+=" } "}else{w+=" {} "}var Ie=w;w=Ne.pop();if(!S.compositeRule&&ne){if(S.async){w+=" throw new ValidationError(["+Ie+"]); "}else{w+=" validate.errors = ["+Ie+"]; return false; "}}else{w+=" var err = "+Ie+"; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; "}w+=" } ";if(ne){w+=" else { "}}else{if(ne){w+=" if (true) { "}}return w}},85061:S=>{"use strict";S.exports=function generate_validate(S,E,k){var w="";var N=S.schema.$async===true,j=S.util.schemaHasRulesExcept(S.schema,S.RULES.all,"$ref"),q=S.self._getId(S.schema);if(S.opts.strictKeywords){var ee=S.util.schemaUnknownRules(S.schema,S.RULES.keywords);if(ee){var te="unknown keyword: "+ee;if(S.opts.strictKeywords==="log")S.logger.warn(te);else throw new Error(te)}}if(S.isTop){w+=" var validate = ";if(N){S.async=true;w+="async "}w+="function(data, dataPath, parentData, parentDataProperty, rootData) { 'use strict'; ";if(q&&(S.opts.sourceCode||S.opts.processCode)){w+=" "+("/*# sourceURL="+q+" */")+" "}}if(typeof S.schema=="boolean"||!(j||S.schema.$ref)){var E="false schema";var ne=S.level;var ae=S.dataLevel;var _e=S.schema[E];var ve=S.schemaPath+S.util.getProperty(E);var Ee=S.errSchemaPath+"/"+E;var Te=!S.opts.allErrors;var Ce;var we="data"+(ae||"");var Ne="valid"+ne;if(S.schema===false){if(S.isTop){Te=true}else{w+=" var "+Ne+" = false; "}var Ie=Ie||[];Ie.push(w);w="";if(S.createErrors!==false){w+=" { keyword: '"+(Ce||"false schema")+"' , dataPath: (dataPath || '') + "+S.errorPath+" , schemaPath: "+S.util.toQuotedString(Ee)+" , params: {} ";if(S.opts.messages!==false){w+=" , message: 'boolean schema is false' "}if(S.opts.verbose){w+=" , schema: false , parentSchema: validate.schema"+S.schemaPath+" , data: "+we+" "}w+=" } "}else{w+=" {} "}var Fe=w;w=Ie.pop();if(!S.compositeRule&&Te){if(S.async){w+=" throw new ValidationError(["+Fe+"]); "}else{w+=" validate.errors = ["+Fe+"]; return false; "}}else{w+=" var err = "+Fe+"; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; "}}else{if(S.isTop){if(N){w+=" return data; "}else{w+=" validate.errors = null; return true; "}}else{w+=" var "+Ne+" = true; "}}if(S.isTop){w+=" }; return validate; "}return w}if(S.isTop){var Oe=S.isTop,ne=S.level=0,ae=S.dataLevel=0,we="data";S.rootId=S.resolve.fullPath(S.self._getId(S.root.schema));S.baseId=S.baseId||S.rootId;delete S.isTop;S.dataPathArr=[""];if(S.schema.default!==undefined&&S.opts.useDefaults&&S.opts.strictDefaults){var Me="default is ignored in the schema root";if(S.opts.strictDefaults==="log")S.logger.warn(Me);else throw new Error(Me)}w+=" var vErrors = null; ";w+=" var errors = 0; ";w+=" if (rootData === undefined) rootData = data; "}else{var ne=S.level,ae=S.dataLevel,we="data"+(ae||"");if(q)S.baseId=S.resolve.url(S.baseId,q);if(N&&!S.async)throw new Error("async schema in sync schema");w+=" var errs_"+ne+" = errors;"}var Ne="valid"+ne,Te=!S.opts.allErrors,Re="",Le="";var Ce;var Be=S.schema.type,je=Array.isArray(Be);if(Be&&S.opts.nullable&&S.schema.nullable===true){if(je){if(Be.indexOf("null")==-1)Be=Be.concat("null")}else if(Be!="null"){Be=[Be,"null"];je=true}}if(je&&Be.length==1){Be=Be[0];je=false}if(S.schema.$ref&&j){if(S.opts.extendRefs=="fail"){throw new Error('$ref: validation keywords used in schema at path "'+S.errSchemaPath+'" (see option extendRefs)')}else if(S.opts.extendRefs!==true){j=false;S.logger.warn('$ref: keywords ignored in schema at path "'+S.errSchemaPath+'"')}}if(S.schema.$comment&&S.opts.$comment){w+=" "+S.RULES.all.$comment.code(S,"$comment")}if(Be){if(S.opts.coerceTypes){var ze=S.util.coerceToTypes(S.opts.coerceTypes,Be)}var Ue=S.RULES.types[Be];if(ze||je||Ue===true||Ue&&!$shouldUseGroup(Ue)){var ve=S.schemaPath+".type",Ee=S.errSchemaPath+"/type";var ve=S.schemaPath+".type",Ee=S.errSchemaPath+"/type",We=je?"checkDataTypes":"checkDataType";w+=" if ("+S.util[We](Be,we,S.opts.strictNumbers,true)+") { ";if(ze){var $e="dataType"+ne,qe="coerced"+ne;w+=" var "+$e+" = typeof "+we+"; var "+qe+" = undefined; ";if(S.opts.coerceTypes=="array"){w+=" if ("+$e+" == 'object' && Array.isArray("+we+") && "+we+".length == 1) { "+we+" = "+we+"[0]; "+$e+" = typeof "+we+"; if ("+S.util.checkDataType(S.schema.type,we,S.opts.strictNumbers)+") "+qe+" = "+we+"; } "}w+=" if ("+qe+" !== undefined) ; ";var Ve=ze;if(Ve){var He,Ge=-1,Je=Ve.length-1;while(Ge{"use strict";var w=/^[a-z_$][a-z0-9_$-]*$/i;var N=k(99819);var j=k(86205);S.exports={add:addKeyword,get:getKeyword,remove:removeKeyword,validate:validateKeyword};function addKeyword(S,E){var k=this.RULES;if(k.keywords[S])throw new Error("Keyword "+S+" is already defined");if(!w.test(S))throw new Error("Keyword "+S+" is not a valid identifier");if(E){this.validateKeyword(E,true);var j=E.type;if(Array.isArray(j)){for(var q=0;q-1)E=E.replace(".","");if((w=E.search(/e/i))>0){if(k<0)k=w;k+=+E.slice(w+1);E=E.substring(0,w)}else if(k<0){k=E.length}N=E.length;for(w=0;w0&&E.charAt(--N)=="0";);S.e=k-w-1;S.c=[];for(k=0;w<=N;)S.c[k++]=+E.charAt(w++)}return S}function round(S,E,k,w){var N=S.c,j=S.e+E+1;if(j=5}else if(k===2){w=N[j]>5||N[j]==5&&(w||j<0||N[j+1]!==Ce||N[j-1]&1)}else if(k===3){w=w||!!N[0]}else{w=false;if(k!==0)throw Error(ve)}if(j<1){N.length=1;if(w){S.e=-E;N[0]=1}else{N[0]=S.e=0}}else{N.length=j--;if(w){for(;++N[j]>9;){N[j]=0;if(!j--){++S.e;N.unshift(1)}}}for(j=N.length;!N[--j];)N.pop()}}else if(k<0||k>3||k!==~~k){throw Error(ve)}return S}function stringify(S,E,k,w){var N,q,ee=S.constructor,te=!S.c[0];if(k!==Ce){if(k!==~~k||k<(E==3)||k>j){throw Error(E==3?ae+"precision":_e)}S=new ee(S);k=w-S.e;if(S.c.length>++w)round(S,k,ee.RM);if(E==2)w=S.e+k+1;for(;S.c.length=ee.PE)){q=q.charAt(0)+(k>1?"."+q.slice(1):"")+(N<0?"e":"e+")+N}else if(N<0){for(;++N;)q="0"+q;q="0."+q}else if(N>0){if(++N>k)for(N-=k;N--;)q+="0";else if(N1){q=q.charAt(0)+"."+q.slice(1)}return S.s<0&&(!te||E==4)?"-"+q:q}Te.abs=function(){var S=new this.constructor(this);S.s=1;return S};Te.cmp=function(S){var E,k=this,w=k.c,N=(S=new k.constructor(S)).c,j=k.s,q=S.s,ee=k.e,te=S.e;if(!w[0]||!N[0])return!w[0]?!N[0]?0:-q:j;if(j!=q)return j;E=j<0;if(ee!=te)return ee>te^E?1:-1;q=(ee=w.length)<(te=N.length)?ee:te;for(j=-1;++jN[j]^E?1:-1}return ee==te?0:ee>te^E?1:-1};Te.div=function(S){var E=this,k=E.constructor,w=E.c,N=(S=new k(S)).c,q=E.s==S.s?1:-1,ee=k.DP;if(ee!==~~ee||ee<0||ee>j)throw Error(_e);if(!N[0])throw Error(Ee);if(!w[0])return new k(q*0);var te,ne,ae,ve,Te,we=N.slice(),Ne=te=N.length,Ie=w.length,Fe=w.slice(0,te),Oe=Fe.length,Me=S,Re=Me.c=[],Le=0,Be=ee+(Me.e=E.e-S.e)+1;Me.s=q;q=Be<0?0:Be;we.unshift(0);for(;Oe++Oe?1:-1}else{for(Te=-1,ve=0;++TeFe[Te]?1:-1;break}}}if(ve<0){for(ne=Oe==te?N:we;Oe;){if(Fe[--Oe]Be)round(Me,ee,k.RM,Fe[0]!==Ce);return Me};Te.eq=function(S){return!this.cmp(S)};Te.gt=function(S){return this.cmp(S)>0};Te.gte=function(S){return this.cmp(S)>-1};Te.lt=function(S){return this.cmp(S)<0};Te.lte=function(S){return this.cmp(S)<1};Te.minus=Te.sub=function(S){var E,k,w,N,j=this,q=j.constructor,ee=j.s,te=(S=new q(S)).s;if(ee!=te){S.s=-te;return j.plus(S)}var ne=j.c.slice(),ae=j.e,_e=S.c,ve=S.e;if(!ne[0]||!_e[0]){return _e[0]?(S.s=-te,S):new q(ne[0]?j:0)}if(ee=ae-ve){if(N=ee<0){ee=-ee;w=ne}else{ve=ae;w=_e}w.reverse();for(te=ee;te--;)w.push(0);w.reverse()}else{k=((N=ne.length<_e.length)?ne:_e).length;for(ee=te=0;te0)for(;te--;)ne[E++]=0;for(te=E;k>ee;){if(ne[--k]<_e[k]){for(E=k;E&&!ne[--E];)ne[E]=9;--ne[E];ne[k]+=10}ne[k]-=_e[k]}for(;ne[--te]===0;)ne.pop();for(;ne[0]===0;){ne.shift();--ve}if(!ne[0]){S.s=1;ne=[ve=0]}S.c=ne;S.e=ve;return S};Te.mod=function(S){var E,k=this,w=k.constructor,N=k.s,j=(S=new w(S)).s;if(!S.c[0])throw Error(Ee);k.s=S.s=1;E=S.cmp(k)==1;k.s=N;S.s=j;if(E)return new w(k);N=w.DP;j=w.RM;w.DP=w.RM=0;k=k.div(S);w.DP=N;w.RM=j;return this.minus(k.times(S))};Te.plus=Te.add=function(S){var E,k=this,w=k.constructor,N=k.s,j=(S=new w(S)).s;if(N!=j){S.s=-j;return k.minus(S)}var q=k.e,ee=k.c,te=S.e,ne=S.c;if(!ee[0]||!ne[0])return ne[0]?S:new w(ee[0]?k:N*0);ee=ee.slice();if(N=q-te){if(N>0){te=q;E=ne}else{N=-N;E=ee}E.reverse();for(;N--;)E.push(0);E.reverse()}if(ee.length-ne.length<0){E=ne;ne=ee;ee=E}N=ne.length;for(j=0;N;ee[N]%=10)j=(ee[--N]=ee[N]+ne[N]+j)/10|0;if(j){ee.unshift(j);++te}for(N=ee.length;ee[--N]===0;)ee.pop();S.c=ee;S.e=te;return S};Te.pow=function(S){var E=this,k=new E.constructor(1),w=k,N=S<0;if(S!==~~S||S<-q||S>q)throw Error(ae+"exponent");if(N)S=-S;for(;;){if(S&1)w=w.times(E);S>>=1;if(!S)break;E=E.times(E)}return N?k.div(w):w};Te.round=function(S,E){var k=this.constructor;if(S===Ce)S=0;else if(S!==~~S||S<-j||S>j)throw Error(_e);return round(new k(this),S,E===Ce?k.RM:E)};Te.sqrt=function(){var S,E,k,w=this,N=w.constructor,j=w.s,q=w.e,ee=new N(.5);if(!w.c[0])return new N(w);if(j<0)throw Error(ne+"No square root");j=Math.sqrt(w+"");if(j===0||j===1/0){E=w.c.join("");if(!(E.length+q&1))E+="0";j=Math.sqrt(E);q=((q+1)/2|0)-(q<0||q&1);S=new N((j==1/0?"1e":(j=j.toExponential()).slice(0,j.indexOf("e")+1))+q)}else{S=new N(j)}q=S.e+(N.DP+=4);do{k=S;S=ee.times(k.plus(w.div(k)))}while(k.c.slice(0,q).join("")!==S.c.slice(0,q).join(""));return round(S,N.DP-=4,N.RM)};Te.times=Te.mul=function(S){var E,k=this,w=k.constructor,N=k.c,j=(S=new w(S)).c,q=N.length,ee=j.length,te=k.e,ne=S.e;S.s=k.s==S.s?1:-1;if(!N[0]||!j[0])return new w(S.s*0);S.e=te+ne;if(qte;){ee=E[ne]+j[te]*N[ne-te-1]+ee;E[ne--]=ee%10;ee=ee/10|0}E[ne]=(E[ne]+ee)%10}if(ee)++S.e;else E.shift();for(te=E.length;!E[--te];)E.pop();S.c=E;return S};Te.toExponential=function(S){return stringify(this,1,S,S)};Te.toFixed=function(S){return stringify(this,2,S,this.e+S)};Te.toPrecision=function(S){return stringify(this,3,S,S-1)};Te.toString=function(){return stringify(this)};Te.valueOf=Te.toJSON=function(){return stringify(this,4)};k=_Big_();k["default"]=k.Big=k;if(typeof define==="function"&&define.amd){define((function(){return k}))}else if(true&&S.exports){S.exports=k}else{E.Big=k}})(this)},72464:S=>{function BrowserslistError(S){this.name="BrowserslistError";this.message=S;this.browserslist=true;if(Error.captureStackTrace){Error.captureStackTrace(this,BrowserslistError)}}BrowserslistError.prototype=Error.prototype;S.exports=BrowserslistError},69328:(S,E,k)=>{var w=k(83835);var N=k(92406).D;var j=k(85659);var q=k(85622);var ee=k(46233);var te=k(72464);var ne=k(81886);var ae=365.259641*24*60*60*1e3;var _e=37;var ve=1;var Ee=2;function isVersionsMatch(S,E){return(S+".").indexOf(E+".")===0}function isEolReleased(S){var E=S.slice(1);return w.some((function(S){return isVersionsMatch(S.version,E)}))}function normalize(S){return S.filter((function(S){return typeof S==="string"}))}function normalizeElectron(S){var E=S;if(S.split(".").length===3){E=S.split(".").slice(0,-1).join(".")}return E}function nameMapper(S){return function mapName(E){return S+" "+E}}function getMajor(S){return parseInt(S.split(".")[0])}function getMajorVersions(S,E){if(S.length===0)return[];var k=uniq(S.map(getMajor));var w=k[k.length-E];if(!w){return S}var N=[];for(var j=S.length-1;j>=0;j--){if(w>getMajor(S[j]))break;N.unshift(S[j])}return N}function uniq(S){var E=[];for(var k=0;k"){return function(S){return parseFloat(S)>E}}else if(S===">="){return function(S){return parseFloat(S)>=E}}else if(S==="<"){return function(S){return parseFloat(S)"){return function(S){S=S.split(".").map(parseSimpleInt);return compareSemver(S,E)>0}}else if(S===">="){return function(S){S=S.split(".").map(parseSimpleInt);return compareSemver(S,E)>=0}}else if(S==="<"){return function(S){S=S.split(".").map(parseSimpleInt);return compareSemver(E,S)>0}}else{return function(S){S=S.split(".").map(parseSimpleInt);return compareSemver(E,S)>=0}}}function parseSimpleInt(S){return parseInt(S)}function compare(S,E){if(SE)return+1;return 0}function compareSemver(S,E){return compare(parseInt(S[0]),parseInt(E[0]))||compare(parseInt(S[1]||"0"),parseInt(E[1]||"0"))||compare(parseInt(S[2]||"0"),parseInt(E[2]||"0"))}function semverFilterLoose(S,E){E=E.split(".").map(parseSimpleInt);if(typeof E[1]==="undefined"){E[1]="x"}switch(S){case"<=":return function(S){S=S.split(".").map(parseSimpleInt);return compareSemverLoose(S,E)<=0};default:case">=":return function(S){S=S.split(".").map(parseSimpleInt);return compareSemverLoose(S,E)>=0}}}function compareSemverLoose(S,E){if(S[0]!==E[0]){return S[0]=S}));return k.concat(j.map(nameMapper(N.name)))}),[])}function cloneData(S){return{name:S.name,versions:S.versions,released:S.released,releaseDate:S.releaseDate}}function mapVersions(S,E){S.versions=S.versions.map((function(S){return E[S]||S}));S.released=S.versions.map((function(S){return E[S]||S}));var k={};for(var w in S.releaseDate){k[E[w]||w]=S.releaseDate[w]}S.releaseDate=k;return S}function byName(S,E){S=S.toLowerCase();S=browserslist.aliases[S]||S;if(E.mobileToDesktop&&browserslist.desktopNames[S]){var k=browserslist.data[browserslist.desktopNames[S]];if(S==="android"){return normalizeAndroidData(cloneData(browserslist.data[S]),k)}else{var w=cloneData(k);w.name=S;if(S==="op_mob"){w=mapVersions(w,{"10.0-10.1":"10"})}return w}}return browserslist.data[S]}function normalizeAndroidVersions(S,E){var k=_e;var w=E[E.length-1];return S.filter((function(S){return/^(?:[2-4]\.|[34]$)/.test(S)})).concat(E.slice(k-w-1))}function normalizeAndroidData(S,E){S.released=normalizeAndroidVersions(S.released,E.released);S.versions=normalizeAndroidVersions(S.versions,E.versions);return S}function checkName(S,E){var k=byName(S,E);if(!k)throw new te("Unknown browser "+S);return k}function unknownQuery(S){return new te("Unknown browser query `"+S+"`. "+"Maybe you are using old Browserslist or made typo in query.")}function filterAndroid(S,E,k){if(k.mobileToDesktop)return S;var w=browserslist.data.android.released;var N=w[w.length-1];var j=N-_e-E;if(j>0){return S.slice(-1)}else{return S.slice(j-1)}}function resolve(S,E){if(Array.isArray(S)){S=flatten(S.map(parse))}else{S=parse(S)}return S.reduce((function(S,k,w){var N=k.queryString;var j=N.indexOf("not ")===0;if(j){if(w===0){throw new te("Write any browsers query (for instance, `defaults`) "+"before `"+N+"`")}N=N.slice(4)}for(var q=0;q 0.5%","last 2 versions","Firefox ESR","not dead"];browserslist.aliases={fx:"firefox",ff:"firefox",ios:"ios_saf",explorer:"ie",blackberry:"bb",explorermobile:"ie_mob",operamini:"op_mini",operamobile:"op_mob",chromeandroid:"and_chr",firefoxandroid:"and_ff",ucandroid:"and_uc",qqandroid:"and_qq"};browserslist.desktopNames={and_chr:"chrome",and_ff:"firefox",ie_mob:"ie",op_mob:"opera",android:"chrome"};browserslist.versionAliases={};browserslist.clearCaches=ne.clearCaches;browserslist.parseConfig=ne.parseConfig;browserslist.readConfig=ne.readConfig;browserslist.findConfig=ne.findConfig;browserslist.loadConfig=ne.loadConfig;browserslist.coverage=function(S,E){var k;if(typeof E==="undefined"){k=browserslist.usage.global}else if(E==="my stats"){var w={};w.path=q.resolve?q.resolve("."):".";var N=ne.getStat(w);if(!N){throw new te("Custom usage statistics was not provided")}k={};for(var j in N){fillUsage(k,j,N[j])}}else if(typeof E==="string"){if(E.length>2){E=E.toLowerCase()}else{E=E.toUpperCase()}ne.loadCountry(browserslist.usage,E,browserslist.data);k=browserslist.usage[E]}else{if("dataByBrowser"in E){E=E.dataByBrowser}k={};for(var ee in E){for(var ae in E[ee]){k[ee+" "+ae]=E[ee][ae]}}}return S.reduce((function(S,E){var w=k[E];if(w===undefined){w=k[E.replace(/ \S+$/," 0")]}return S+(w||0)}),0)};var Ce=[{regexp:/^last\s+(\d+)\s+major\s+versions?$/i,select:function(S,E){return Object.keys(N).reduce((function(k,w){var N=byName(w,S);if(!N)return k;var j=getMajorVersions(N.released,E);j=j.map(nameMapper(N.name));if(N.name==="android"){j=filterAndroid(j,E,S)}return k.concat(j)}),[])}},{regexp:/^last\s+(\d+)\s+versions?$/i,select:function(S,E){return Object.keys(N).reduce((function(k,w){var N=byName(w,S);if(!N)return k;var j=N.released.slice(-E);j=j.map(nameMapper(N.name));if(N.name==="android"){j=filterAndroid(j,E,S)}return k.concat(j)}),[])}},{regexp:/^last\s+(\d+)\s+electron\s+major\s+versions?$/i,select:function(S,E){var k=getMajorVersions(Object.keys(ee),E);return k.map((function(S){return"chrome "+ee[S]}))}},{regexp:/^last\s+(\d+)\s+(\w+)\s+major\s+versions?$/i,select:function(S,E,k){var w=checkName(k,S);var N=getMajorVersions(w.released,E);var j=N.map(nameMapper(w.name));if(w.name==="android"){j=filterAndroid(j,E,S)}return j}},{regexp:/^last\s+(\d+)\s+electron\s+versions?$/i,select:function(S,E){return Object.keys(ee).slice(-E).map((function(S){return"chrome "+ee[S]}))}},{regexp:/^last\s+(\d+)\s+(\w+)\s+versions?$/i,select:function(S,E,k){var w=checkName(k,S);var N=w.released.slice(-E).map(nameMapper(w.name));if(w.name==="android"){N=filterAndroid(N,E,S)}return N}},{regexp:/^unreleased\s+versions$/i,select:function(S){return Object.keys(N).reduce((function(E,k){var w=byName(k,S);if(!w)return E;var N=w.versions.filter((function(S){return w.released.indexOf(S)===-1}));N=N.map(nameMapper(w.name));return E.concat(N)}),[])}},{regexp:/^unreleased\s+electron\s+versions?$/i,select:function(){return[]}},{regexp:/^unreleased\s+(\w+)\s+versions?$/i,select:function(S,E){var k=checkName(E,S);return k.versions.filter((function(S){return k.released.indexOf(S)===-1})).map(nameMapper(k.name))}},{regexp:/^last\s+(\d*.?\d+)\s+years?$/i,select:function(S,E){return filterByYear(Date.now()-ae*E,S)}},{regexp:/^since (\d+)(?:-(\d+))?(?:-(\d+))?$/i,select:function(S,E,k,w){E=parseInt(E);k=parseInt(k||"01")-1;w=parseInt(w||"01");return filterByYear(Date.UTC(E,k,w,0,0,0),S)}},{regexp:/^(>=?|<=?)\s*(\d*\.?\d+)%$/,select:function(S,E,k){k=parseFloat(k);var w=browserslist.usage.global;return Object.keys(w).reduce((function(S,N){if(E===">"){if(w[N]>k){S.push(N)}}else if(E==="<"){if(w[N]=k){S.push(N)}return S}),[])}},{regexp:/^(>=?|<=?)\s*(\d*\.?\d+)%\s+in\s+my\s+stats$/,select:function(S,E,k){k=parseFloat(k);if(!S.customUsage){throw new te("Custom usage statistics was not provided")}var w=S.customUsage;return Object.keys(w).reduce((function(S,N){if(E===">"){if(w[N]>k){S.push(N)}}else if(E==="<"){if(w[N]=k){S.push(N)}return S}),[])}},{regexp:/^(>=?|<=?)\s*(\d*\.?\d+)%\s+in\s+(\S+)\s+stats$/,select:function(S,E,k,w){k=parseFloat(k);var N=ne.loadStat(S,w,browserslist.data);if(N){S.customUsage={};for(var j in N){fillUsage(S.customUsage,j,N[j])}}if(!S.customUsage){throw new te("Custom usage statistics was not provided")}var q=S.customUsage;return Object.keys(q).reduce((function(S,w){if(E===">"){if(q[w]>k){S.push(w)}}else if(E==="<"){if(q[w]=k){S.push(w)}return S}),[])}},{regexp:/^(>=?|<=?)\s*(\d*\.?\d+)%\s+in\s+((alt-)?\w\w)$/,select:function(S,E,k,w){k=parseFloat(k);if(w.length===2){w=w.toUpperCase()}else{w=w.toLowerCase()}ne.loadCountry(browserslist.usage,w,browserslist.data);var N=browserslist.usage[w];return Object.keys(N).reduce((function(S,w){if(E===">"){if(N[w]>k){S.push(w)}}else if(E==="<"){if(N[w]=k){S.push(w)}return S}),[])}},{regexp:/^cover\s+(\d*\.?\d+)%(\s+in\s+(my\s+stats|(alt-)?\w\w))?$/,select:function(S,E,k){E=parseFloat(E);var w=browserslist.usage.global;if(k){if(k.match(/^\s+in\s+my\s+stats$/)){if(!S.customUsage){throw new te("Custom usage statistics was not provided")}w=S.customUsage}else{var N=k.match(/\s+in\s+((alt-)?\w\w)/);var j=N[1];if(j.length===2){j=j.toUpperCase()}else{j=j.toLowerCase()}ne.loadCountry(browserslist.usage,j,browserslist.data);w=browserslist.usage[j]}}var q=Object.keys(w).sort((function(S,E){return w[E]-w[S]}));var ee=0;var ae=[];var _e;for(var ve=0;ve<=q.length;ve++){_e=q[ve];if(w[_e]===0)break;ee+=w[_e];ae.push(_e);if(ee>=E)break}return ae}},{regexp:/^supports\s+([\w-]+)$/,select:function(S,E){ne.loadFeature(browserslist.cache,E);var k=browserslist.cache[E];return Object.keys(k).reduce((function(S,E){var w=k[E];if(w.indexOf("y")>=0||w.indexOf("a")>=0){S.push(E)}return S}),[])}},{regexp:/^electron\s+([\d.]+)\s*-\s*([\d.]+)$/i,select:function(S,E,k){var w=normalizeElectron(E);var N=normalizeElectron(k);if(!ee[w]){throw new te("Unknown version "+E+" of electron")}if(!ee[N]){throw new te("Unknown version "+k+" of electron")}E=parseFloat(E);k=parseFloat(k);return Object.keys(ee).filter((function(S){var w=parseFloat(S);return w>=E&&w<=k})).map((function(S){return"chrome "+ee[S]}))}},{regexp:/^node\s+([\d.]+)\s*-\s*([\d.]+)$/i,select:function(S,E,k){var N=w.filter((function(S){return S.name==="nodejs"})).map((function(S){return S.version}));var j=/^(0|[1-9]\d*)(\.(0|[1-9]\d*)){0,2}$/;if(!j.test(E)){throw new te("Unknown version "+E+" of Node.js")}if(!j.test(k)){throw new te("Unknown version "+k+" of Node.js")}return N.filter(semverFilterLoose(">=",E)).filter(semverFilterLoose("<=",k)).map((function(S){return"node "+S}))}},{regexp:/^(\w+)\s+([\d.]+)\s*-\s*([\d.]+)$/i,select:function(S,E,k,w){var N=checkName(E,S);k=parseFloat(normalizeVersion(N,k)||k);w=parseFloat(normalizeVersion(N,w)||w);function filter(S){var E=parseFloat(S);return E>=k&&E<=w}return N.released.filter(filter).map(nameMapper(N.name))}},{regexp:/^electron\s*(>=?|<=?)\s*([\d.]+)$/i,select:function(S,E,k){var w=normalizeElectron(k);return Object.keys(ee).filter(generateFilter(E,w)).map((function(S){return"chrome "+ee[S]}))}},{regexp:/^node\s*(>=?|<=?)\s*([\d.]+)$/i,select:function(S,E,k){var N=w.filter((function(S){return S.name==="nodejs"})).map((function(S){return S.version}));return N.filter(generateSemverFilter(E,k)).map((function(S){return"node "+S}))}},{regexp:/^(\w+)\s*(>=?|<=?)\s*([\d.]+)$/,select:function(S,E,k,w){var N=checkName(E,S);var j=browserslist.versionAliases[N.name][w];if(j){w=j}return N.released.filter(generateFilter(k,w)).map((function(S){return N.name+" "+S}))}},{regexp:/^(firefox|ff|fx)\s+esr$/i,select:function(){return["firefox 78"]}},{regexp:/(operamini|op_mini)\s+all/i,select:function(){return["op_mini all"]}},{regexp:/^electron\s+([\d.]+)$/i,select:function(S,E){var k=normalizeElectron(E);var w=ee[k];if(!w){throw new te("Unknown version "+E+" of electron")}return["chrome "+w]}},{regexp:/^node\s+(\d+(\.\d+)?(\.\d+)?)$/i,select:function(S,E){var k=w.filter((function(S){return S.name==="nodejs"}));var N=k.filter((function(S){return isVersionsMatch(S.version,E)}));if(N.length===0){if(S.ignoreUnknownVersions){return[]}else{throw new te("Unknown version "+E+" of Node.js")}}return["node "+N[N.length-1].version]}},{regexp:/^current\s+node$/i,select:function(S){return[ne.currentNode(resolve,S)]}},{regexp:/^maintained\s+node\s+versions$/i,select:function(S){var E=Date.now();var k=Object.keys(j).filter((function(S){return EDate.parse(j[S].start)&&isEolReleased(S)})).map((function(S){return"node "+S.slice(1)}));return resolve(k,S)}},{regexp:/^phantomjs\s+1.9$/i,select:function(){return["safari 5"]}},{regexp:/^phantomjs\s+2.1$/i,select:function(){return["safari 6"]}},{regexp:/^(\w+)\s+(tp|[\d.]+)$/i,select:function(S,E,k){if(/^tp$/i.test(k))k="TP";var w=checkName(E,S);var N=normalizeVersion(w,k);if(N){k=N}else{if(k.indexOf(".")===-1){N=k+".0"}else{N=k.replace(/\.0$/,"")}N=normalizeVersion(w,N);if(N){k=N}else if(S.ignoreUnknownVersions){return[]}else{throw new te("Unknown version "+k+" of "+E)}}return[w.name+" "+k]}},{regexp:/^browserslist config$/i,select:function(S){return browserslist(undefined,S)}},{regexp:/^extends (.+)$/i,select:function(S,E){return resolve(ne.loadQueries(S,E),S)}},{regexp:/^defaults$/i,select:function(S){return resolve(browserslist.defaults,S)}},{regexp:/^dead$/i,select:function(S){var E=["ie <= 10","ie_mob <= 11","bb <= 10","op_mob <= 12.1","samsung 4"];return resolve(E,S)}},{regexp:/^(\w+)$/i,select:function(S,E){if(byName(E,S)){throw new te("Specify versions in Browserslist query for browser "+E)}else{throw unknownQuery(E)}}}];(function(){for(var S in N){var E=N[S];browserslist.data[S]={name:S,versions:normalize(N[S].versions),released:normalize(N[S].versions.slice(0,-3)),releaseDate:N[S].release_date};fillUsage(browserslist.usage.global,S,E.usage_global);browserslist.versionAliases[S]={};for(var k=0;k{var w=k(30048).Z;var N=k(24356).Z;var j=k(85622);var q=k(35747);var ee=k(72464);var te=/^\s*\[(.+)]\s*$/;var ne=/^browserslist-config-/;var ae=/@[^/]+\/browserslist-config(-|$|\/)/;var _e=6*30*24*60*60*1e3;var ve="Browserslist config should be a string or an array "+"of strings with browser queries";var Ee=false;var Te={};var Ce={};function checkExtend(S){var E=" Use `dangerousExtend` option to disable.";if(!ne.test(S)&&!ae.test(S)){throw new ee("Browserslist config needs `browserslist-config-` prefix. "+E)}if(S.replace(/^@[^/]+\//,"").indexOf(".")!==-1){throw new ee("`.` not allowed in Browserslist config name. "+E)}if(S.indexOf("node_modules")!==-1){throw new ee("`node_modules` not allowed in Browserslist config."+E)}}function isFile(S){if(S in Te){return Te[S]}var E=q.existsSync(S)&&q.statSync(S).isFile();if(!process.env.BROWSERSLIST_DISABLE_CACHE){Te[S]=E}return E}function eachParent(S,E){var k=isFile(S)?j.dirname(S):S;var w=j.resolve(k);do{var N=E(w);if(typeof N!=="undefined")return N}while(w!==(w=j.dirname(w)));return undefined}function check(S){if(Array.isArray(S)){for(var E=0;E{var E=Object.prototype.toString;var k=typeof Buffer.alloc==="function"&&typeof Buffer.allocUnsafe==="function"&&typeof Buffer.from==="function";function isArrayBuffer(S){return E.call(S).slice(8,-1)==="ArrayBuffer"}function fromArrayBuffer(S,E,w){E>>>=0;var N=S.byteLength-E;if(N<0){throw new RangeError("'offset' is out of bounds")}if(w===undefined){w=N}else{w>>>=0;if(w>N){throw new RangeError("'length' is out of bounds")}}return k?Buffer.from(S.slice(E,E+w)):new Buffer(new Uint8Array(S.slice(E,E+w)))}function fromString(S,E){if(typeof E!=="string"||E===""){E="utf8"}if(!Buffer.isEncoding(E)){throw new TypeError('"encoding" must be a valid string encoding')}return k?Buffer.from(S,E):new Buffer(S,E)}function bufferFrom(S,E,w){if(typeof S==="number"){throw new TypeError('"value" argument must not be a number')}if(isArrayBuffer(S)){return fromArrayBuffer(S,E,w)}if(typeof S==="string"){return fromString(S,E)}return k?Buffer.from(S):new Buffer(S)}S.exports=bufferFrom},12161:S=>{S.exports={A:{A:{I:.00608274,D:.00621152,F:.024331,E:.103407,A:.024331,B:.985405,oB:.009298},B:"ms",C:["","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","oB","I","D","F","E","A","B","","",""],E:"IE",F:{oB:962323200,I:998870400,D:1161129600,F:1237420800,E:1300060800,A:1346716800,B:1381968e3}},B:{A:{C:.008534,O:.004267,H:.008534,Q:.008534,J:.008534,K:.034136,L:.157879,a:0,JB:.004267,MB:.00944,R:.00415,S:.008534,T:.017068,M:.025602,V:.089607,W:3.25145,N:0},B:"webkit",C:["","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","C","O","H","Q","J","K","L","a","JB","MB","R","S","T","M","V","W","N","","",""],E:"Edge",F:{C:1438128e3,O:1447286400,H:1470096e3,Q:1491868800,J:1508198400,K:1525046400,L:1542067200,a:1579046400,JB:1581033600,MB:1586736e3,R:1590019200,S:1594857600,T:1598486400,M:1602201600,V:1605830400,W:161136e4,N:1614816e3},D:{C:"ms",O:"ms",H:"ms",Q:"ms",J:"ms",K:"ms",L:"ms"}},C:{A:{0:.038403,1:.004267,2:.004267,3:.004525,4:.004267,5:.012801,6:.004538,7:.004267,8:.008534,9:.081073,nB:.008534,YB:.004538,G:.012801,b:.004879,I:.020136,D:.005725,F:.004525,E:.00533,A:.004283,B:.004267,C:.004471,O:.004486,H:.00453,Q:.008534,J:.004417,K:.004425,L:.008534,c:.004443,d:.004283,e:.008534,f:.013698,g:.008534,h:.008786,i:.012801,j:.004317,k:.004393,l:.004418,m:.008834,n:.008534,o:.008928,p:.004471,q:.009284,r:.004707,s:.009076,t:.004425,u:.004783,v:.00472,w:.004783,x:.00487,y:.005029,z:.0047,AB:.004335,BB:.0083,CB:.004425,DB:.017068,EB:.004425,FB:.008534,dB:.004267,HB:.008534,TB:.00472,P:.004425,KB:.012801,LB:.00415,X:.004267,NB:.008534,OB:.004267,PB:.017068,QB:.00415,RB:.004267,IB:.004425,GB:.012801,Z:.00415,UB:.00415,VB:.00415,WB:.004267,XB:.008534,SB:.153612,a:.012801,JB:.017068,MB:.021335,mB:.029869,R:.025602,S:.157879,T:2.35112,M:.264554,V:.004267,W:0,vB:.008786,yB:.00487},B:"moz",C:["nB","YB","vB","yB","G","b","I","D","F","E","A","B","C","O","H","Q","J","K","L","c","d","e","f","g","h","i","j","k","l","m","n","o","p","q","r","s","t","u","v","w","x","y","z","0","1","2","3","4","5","6","7","8","9","AB","BB","CB","DB","EB","FB","dB","HB","TB","P","KB","LB","X","NB","OB","PB","QB","RB","IB","GB","Z","UB","VB","WB","XB","SB","a","JB","MB","mB","R","S","T","M","V","W",""],E:"Firefox",F:{0:1450137600,1:1453852800,2:1457395200,3:1461628800,4:1465257600,5:1470096e3,6:1474329600,7:1479168e3,8:1485216e3,9:1488844800,nB:1161648e3,YB:1213660800,vB:124632e4,yB:1264032e3,G:1300752e3,b:1308614400,I:1313452800,D:1317081600,F:1317081600,E:1320710400,A:1324339200,B:1327968e3,C:1331596800,O:1335225600,H:1338854400,Q:1342483200,J:1346112e3,K:1349740800,L:1353628800,c:1357603200,d:1361232e3,e:1364860800,f:1368489600,g:1372118400,h:1375747200,i:1379376e3,j:1386633600,k:1391472e3,l:1395100800,m:1398729600,n:1402358400,o:1405987200,p:1409616e3,q:1413244800,r:1417392e3,s:1421107200,t:1424736e3,u:1428278400,v:1431475200,w:1435881600,x:1439251200,y:144288e4,z:1446508800,AB:149256e4,BB:1497312e3,CB:1502150400,DB:1506556800,EB:1510617600,FB:1516665600,dB:1520985600,HB:1525824e3,TB:1529971200,P:1536105600,KB:1540252800,LB:1544486400,X:154872e4,NB:1552953600,OB:1558396800,PB:1562630400,QB:1567468800,RB:1571788800,IB:1575331200,GB:1578355200,Z:1581379200,UB:1583798400,VB:1586304e3,WB:1588636800,XB:1591056e3,SB:1593475200,a:1595894400,JB:1598313600,MB:1600732800,mB:1603152e3,R:1605571200,S:1607990400,T:1611619200,M:1614038400,V:null,W:null}},D:{A:{0:.008534,1:.004465,2:.004642,3:.004891,4:.008534,5:.021335,6:.209083,7:.004267,8:.004267,9:.004267,G:.004706,b:.004879,I:.004879,D:.005591,F:.005591,E:.005591,A:.004534,B:.004464,C:.010424,O:.0083,H:.004706,Q:.015087,J:.004393,K:.004393,L:.008652,c:.008534,d:.004393,e:.004317,f:.008534,g:.008786,h:.021335,i:.004461,j:.004267,k:.004326,l:.0047,m:.004538,n:.008534,o:.008534,p:.004566,q:.008534,r:.008534,s:.017068,t:.004335,u:.004464,v:.029869,w:.004464,x:.012801,y:.0236,z:.004403,AB:.051204,BB:.012801,CB:.017068,DB:.059738,EB:.008534,FB:.012801,dB:.008534,HB:.012801,TB:.029869,P:.012801,KB:.025602,LB:.012801,X:.025602,NB:.021335,OB:.025602,PB:.038403,QB:.059738,RB:.04267,IB:.034136,GB:.046937,Z:.021335,UB:.081073,VB:.08534,WB:.072539,XB:.038403,SB:.064005,a:.162146,JB:.106675,MB:.106675,R:.140811,S:.183481,T:.281622,M:.413899,V:1.49345,W:22.8242,N:.034136,"0B":.025602,eB:0,fB:0},B:"webkit",C:["","","G","b","I","D","F","E","A","B","C","O","H","Q","J","K","L","c","d","e","f","g","h","i","j","k","l","m","n","o","p","q","r","s","t","u","v","w","x","y","z","0","1","2","3","4","5","6","7","8","9","AB","BB","CB","DB","EB","FB","dB","HB","TB","P","KB","LB","X","NB","OB","PB","QB","RB","IB","GB","Z","UB","VB","WB","XB","SB","a","JB","MB","R","S","T","M","V","W","N","0B","eB","fB"],E:"Chrome",F:{0:143208e4,1:1437523200,2:1441152e3,3:1444780800,4:1449014400,5:1453248e3,6:1456963200,7:1460592e3,8:1464134400,9:1469059200,G:1264377600,b:1274745600,I:1283385600,D:1287619200,F:1291248e3,E:1296777600,A:1299542400,B:1303862400,C:1307404800,O:1312243200,H:1316131200,Q:1316131200,J:1319500800,K:1323734400,L:1328659200,c:1332892800,d:133704e4,e:1340668800,f:1343692800,g:1348531200,h:1352246400,i:1357862400,j:1361404800,k:1364428800,l:1369094400,m:1374105600,n:1376956800,o:1384214400,p:1389657600,q:1392940800,r:1397001600,s:1400544e3,t:1405468800,u:1409011200,v:141264e4,w:1416268800,x:1421798400,y:1425513600,z:1429401600,AB:1472601600,BB:1476230400,CB:1480550400,DB:1485302400,EB:1489017600,FB:149256e4,dB:1496707200,HB:1500940800,TB:1504569600,P:1508198400,KB:1512518400,LB:1516752e3,X:1520294400,NB:1523923200,OB:1527552e3,PB:1532390400,QB:1536019200,RB:1539648e3,IB:1543968e3,GB:154872e4,Z:1552348800,UB:1555977600,VB:1559606400,WB:1564444800,XB:1568073600,SB:1571702400,a:1575936e3,JB:1580860800,MB:1586304e3,R:1589846400,S:1594684800,T:1598313600,M:1601942400,V:1605571200,W:1611014400,N:1614556800,"0B":null,eB:null,fB:null}},E:{A:{G:0,b:.008534,I:.004656,D:.004465,F:.200549,E:.004891,A:.004425,B:.008534,C:.017068,O:.123743,H:3.0125,gB:0,ZB:.008692,iB:.110942,jB:.00456,kB:.004283,lB:.021335,aB:.025602,Y:.076806,U:.119476,pB:.576045,qB:0},B:"webkit",C:["","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","gB","ZB","G","b","iB","I","jB","D","kB","F","E","lB","A","aB","B","Y","C","U","O","pB","H","qB","",""],E:"Safari",F:{gB:1205798400,ZB:1226534400,G:1244419200,b:1275868800,iB:131112e4,I:1343174400,jB:13824e5,D:13824e5,kB:1410998400,F:1413417600,E:1443657600,lB:1458518400,A:1474329600,aB:1490572800,B:1505779200,Y:1522281600,C:1537142400,U:1553472e3,O:1568851200,pB:1585008e3,H:1600214400,qB:null}},F:{A:{0:.008534,1:.004227,2:.004725,3:.004267,4:.008942,5:.004707,6:.004827,7:.004707,8:.004707,9:.004326,E:.0082,B:.016581,C:.004317,Q:.00685,J:.00685,K:.00685,L:.005014,c:.006015,d:.004879,e:.006597,f:.006597,g:.013434,h:.006702,i:.006015,j:.005595,k:.004393,l:.008652,m:.004879,n:.004879,o:.004711,p:.005152,q:.005014,r:.009758,s:.004879,t:.008534,u:.004283,v:.004367,w:.004534,x:.004267,y:.004227,z:.004418,AB:.008922,BB:.014349,CB:.004425,DB:.00472,EB:.004425,FB:.004425,HB:.00472,P:.004532,KB:.004566,LB:.02283,X:.00867,NB:.004656,OB:.004642,PB:.004267,QB:.00944,RB:.00415,IB:.004267,GB:.136544,Z:.576045,rB:.00685,sB:.004267,tB:.008392,uB:.004706,Y:.006229,bB:.004879,wB:.008786,U:.00472},B:"webkit",C:["","","","","","","","","","","","","","","","","","","","E","rB","sB","tB","uB","B","Y","bB","wB","C","U","Q","J","K","L","c","d","e","f","g","h","i","j","k","l","m","n","o","p","q","r","s","t","u","v","w","x","y","z","0","1","2","3","4","5","6","7","8","9","AB","BB","CB","DB","EB","FB","HB","P","KB","LB","X","NB","OB","PB","QB","RB","IB","GB","Z","","",""],E:"Opera",F:{0:1486425600,1:1490054400,2:1494374400,3:1498003200,4:1502236800,5:1506470400,6:1510099200,7:1515024e3,8:1517961600,9:1521676800,E:1150761600,rB:1223424e3,sB:1251763200,tB:1267488e3,uB:1277942400,B:1292457600,Y:1302566400,bB:1309219200,wB:1323129600,C:1323129600,U:1352073600,Q:1372723200,J:1377561600,K:1381104e3,L:1386288e3,c:1390867200,d:1393891200,e:1399334400,f:1401753600,g:1405987200,h:1409616e3,i:1413331200,j:1417132800,k:1422316800,l:1425945600,m:1430179200,n:1433808e3,o:1438646400,p:1442448e3,q:1445904e3,r:1449100800,s:1454371200,t:1457308800,u:146232e4,v:1465344e3,w:1470096e3,x:1474329600,y:1477267200,z:1481587200,AB:1525910400,BB:1530144e3,CB:1534982400,DB:1537833600,EB:1543363200,FB:1548201600,HB:1554768e3,P:1561593600,KB:1566259200,LB:1570406400,X:1573689600,NB:1578441600,OB:1583971200,PB:1587513600,QB:1592956800,RB:1595894400,IB:1600128e3,GB:1603238400,Z:161352e4},D:{E:"o",B:"o",C:"o",rB:"o",sB:"o",tB:"o",uB:"o",Y:"o",bB:"o",wB:"o",U:"o"}},G:{A:{F:.00147508,ZB:0,xB:0,cB:.00295016,zB:.00885049,YC:.137183,"1B":.0309767,"2B":.0221262,"3B":.0221262,"4B":.17996,"5B":.0531029,"6B":.17406,"7B":.091455,"8B":.0944052,"9B":.103256,AC:.45285,BC:.0826046,CC:.0413023,DC:.243388,EC:.942577,FC:11.5307},B:"webkit",C:["","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","ZB","xB","cB","zB","YC","1B","F","2B","3B","4B","5B","6B","7B","8B","9B","AC","BC","CC","DC","EC","FC","","",""],E:"Safari on iOS",F:{ZB:1270252800,xB:1283904e3,cB:1299628800,zB:1331078400,YC:1359331200,"1B":1394409600,F:1410912e3,"2B":1413763200,"3B":1442361600,"4B":1458518400,"5B":1473724800,"6B":1490572800,"7B":1505779200,"8B":1522281600,"9B":1537142400,AC:1553472e3,BC:1568851200,CC:1572220800,DC:1580169600,EC:1585008e3,FC:1600214400}},H:{A:{GC:1.02564},B:"o",C:["","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","GC","","",""],E:"Opera Mini",F:{GC:1426464e3}},I:{A:{YB:0,G:.00459893,N:0,HC:0,IC:0,JC:0,KC:.00536542,cB:.0229947,LC:0,MC:.098877},B:"webkit",C:["","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","HC","IC","JC","YB","G","KC","cB","LC","MC","N","","",""],E:"Android Browser",F:{HC:1256515200,IC:1274313600,JC:1291593600,YB:1298332800,G:1318896e3,KC:1341792e3,cB:1374624e3,LC:1386547200,MC:1401667200,N:1587427200}},J:{A:{D:0,A:0},B:"webkit",C:["","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","D","A","","",""],E:"Blackberry Browser",F:{D:1325376e3,A:1359504e3}},K:{A:{A:0,B:0,C:0,P:.0111391,Y:0,bB:0,U:0},B:"o",C:["","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","A","B","Y","bB","C","U","P","","",""],E:"Opera Mobile",F:{A:1287100800,B:1300752e3,Y:1314835200,bB:1318291200,C:1330300800,U:1349740800,P:1613433600},D:{P:"webkit"}},L:{A:{N:37.0343},B:"webkit",C:["","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","N","","",""],E:"Chrome for Android",F:{N:1615420800}},M:{A:{M:.292332},B:"moz",C:["","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","M","","",""],E:"Firefox for Android",F:{M:1614038400}},N:{A:{A:.0115934,B:.022664},B:"ms",C:["","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","A","B","","",""],E:"IE Mobile",F:{A:1340150400,B:1353456e3}},O:{A:{NC:1.54764},B:"webkit",C:["","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","NC","","",""],E:"UC Browser for Android",F:{NC:1471392e3},D:{NC:"webkit"}},P:{A:{G:.290036,OC:.0103543,PC:.010304,QC:.0725089,RC:.0103584,SC:.0828674,aB:.0414337,TC:.165735,UC:.186452,VC:2.6414},B:"webkit",C:["","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","G","OC","PC","QC","RC","SC","aB","TC","UC","VC","","",""],E:"Samsung Internet",F:{G:1461024e3,OC:1481846400,PC:1509408e3,QC:1528329600,RC:1546128e3,SC:1554163200,aB:1567900800,TC:1582588800,UC:1593475200,VC:1605657600}},Q:{A:{WC:.223548},B:"webkit",C:["","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","WC","","",""],E:"QQ Browser",F:{WC:1589846400}},R:{A:{XC:0},B:"webkit",C:["","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","XC","","",""],E:"Baidu Browser",F:{XC:1491004800}},S:{A:{hB:.080248},B:"moz",C:["","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","hB","","",""],E:"KaiOS Browser",F:{hB:1527811200}}}},5682:S=>{S.exports={0:"43",1:"44",2:"45",3:"46",4:"47",5:"48",6:"49",7:"50",8:"51",9:"52",A:"10",B:"11",C:"12",D:"7",E:"9",F:"8",G:"4",H:"14",I:"6",J:"16",K:"17",L:"18",M:"86",N:"89",O:"13",P:"62",Q:"15",R:"83",S:"84",T:"85",U:"12.1",V:"87",W:"88",X:"65",Y:"11.1",Z:"73",a:"79",b:"5",c:"19",d:"20",e:"21",f:"22",g:"23",h:"24",i:"25",j:"26",k:"27",l:"28",m:"29",n:"30",o:"31",p:"32",q:"33",r:"34",s:"35",t:"36",u:"37",v:"38",w:"39",x:"40",y:"41",z:"42",AB:"53",BB:"54",CB:"55",DB:"56",EB:"57",FB:"58",GB:"72",HB:"60",IB:"71",JB:"80",KB:"63",LB:"64",MB:"81",NB:"66",OB:"67",PB:"68",QB:"69",RB:"70",SB:"78",TB:"61",UB:"74",VB:"75",WB:"76",XB:"77",YB:"3",ZB:"3.2",aB:"10.1",bB:"11.5",cB:"4.2-4.3",dB:"59",eB:"91",fB:"92",gB:"3.1",hB:"2.5",iB:"5.1",jB:"6.1",kB:"7.1",lB:"9.1",mB:"82",nB:"2",oB:"5.5",pB:"13.1",qB:"TP",rB:"9.5-9.6",sB:"10.0-10.1",tB:"10.5",uB:"10.6",vB:"3.5",wB:"11.6",xB:"4.0-4.1",yB:"3.6",zB:"5.0-5.1","0B":"90","1B":"7.0-7.1","2B":"8.1-8.4","3B":"9.0-9.2","4B":"9.3","5B":"10.0-10.2","6B":"10.3","7B":"11.0-11.2","8B":"11.3-11.4","9B":"12.0-12.1",AC:"12.2-12.4",BC:"13.0-13.1",CC:"13.2",DC:"13.3",EC:"13.4-13.7",FC:"14.0-14.5",GC:"all",HC:"2.1",IC:"2.2",JC:"2.3",KC:"4.1",LC:"4.4",MC:"4.4.3-4.4.4",NC:"12.12",OC:"5.0-5.4",PC:"6.2-6.4",QC:"7.2-7.4",RC:"8.2",SC:"9.2",TC:"11.1-11.2",UC:"12.0",VC:"13.0",WC:"10.4",XC:"7.12",YC:"6.0-6.1"}},73238:S=>{S.exports={A:"ie",B:"edge",C:"firefox",D:"chrome",E:"safari",F:"opera",G:"ios_saf",H:"op_mini",I:"android",J:"bb",K:"op_mob",L:"and_chr",M:"and_ff",N:"ie_mob",O:"and_uc",P:"samsung",Q:"and_qq",R:"baidu",S:"kaios"}},54994:(S,E)=>{"use strict";Object.defineProperty(E,"__esModule",{value:true});E.default={1:"ls",2:"rec",3:"pr",4:"cr",5:"wd",6:"other",7:"unoff"}},44909:(S,E)=>{"use strict";Object.defineProperty(E,"__esModule",{value:true});E.default={y:1<<0,n:1<<1,a:1<<2,p:1<<3,u:1<<4,x:1<<5,d:1<<6}},92406:(S,E,k)=>{"use strict";var w;w={value:true};E.D=undefined;var N=k(59307);var j=k(57917);var q=k(12161);function unpackBrowserVersions(S){return Object.keys(S).reduce((function(E,k){E[j.browserVersions[k]]=S[k];return E}),{})}var ee=E.D=Object.keys(q).reduce((function(S,E){var k=q[E];S[N.browsers[E]]=Object.keys(k).reduce((function(S,E){if(E==="A"){S.usage_global=unpackBrowserVersions(k[E])}else if(E==="C"){S.versions=k[E].reduce((function(S,E){if(E===""){S.push(null)}else{S.push(j.browserVersions[E])}return S}),[])}else if(E==="D"){S.prefix_exceptions=unpackBrowserVersions(k[E])}else if(E==="E"){S.browser=k[E]}else if(E==="F"){S.release_date=Object.keys(k[E]).reduce((function(S,w){S[j.browserVersions[w]]=k[E][w];return S}),{})}else{S.prefix=k[E]}return S}),{});return S}),{})},57917:(S,E,k)=>{"use strict";Object.defineProperty(E,"__esModule",{value:true});var w=E.browserVersions=k(5682)},59307:(S,E,k)=>{"use strict";Object.defineProperty(E,"__esModule",{value:true});var w=E.browsers=k(73238)},30048:(S,E,k)=>{"use strict";var w;w={value:true};E.Z=unpackFeature;var N=k(54994);var j=_interopRequireDefault(N);var q=k(44909);var ee=_interopRequireDefault(q);var te=k(59307);var ne=k(57917);function _interopRequireDefault(S){return S&&S.__esModule?S:{default:S}}var ae=Math.log(2);function unpackSupport(S){var E=Object.keys(ee.default).reduce((function(E,k){if(S&ee.default[k])E.push(k);return E}),[]);var k=S>>7;var w=[];while(k){var N=Math.floor(Math.log(k)/ae)+1;w.unshift("#"+N);k-=Math.pow(2,N-1)}return E.concat(w).join(" ")}function unpackFeature(S){var E={status:j.default[S.B],title:S.C};E.stats=Object.keys(S.A).reduce((function(E,k){var w=S.A[k];E[te.browsers[k]]=Object.keys(w).reduce((function(S,E){var k=w[E].split(" ");var N=unpackSupport(E);k.forEach((function(E){return S[ne.browserVersions[E]]=N}));return S}),{});return E}),{});return E}},24356:(S,E,k)=>{"use strict";var w;w={value:true};E.Z=unpackRegion;var N=k(59307);function unpackRegion(S){return Object.keys(S).reduce((function(E,k){var w=S[k];E[N.browsers[k]]=Object.keys(w).reduce((function(S,E){var k=w[E];if(E==="_"){k.split(" ").forEach((function(E){return S[E]=null}))}else{S[E]=k}return S}),{});return E}),{})}},98136:(S,E,k)=>{"use strict";S=k.nmd(S);const wrapAnsi16=(S,E)=>(...k)=>{const w=S(...k);return`[${w+E}m`};const wrapAnsi256=(S,E)=>(...k)=>{const w=S(...k);return`[${38+E};5;${w}m`};const wrapAnsi16m=(S,E)=>(...k)=>{const w=S(...k);return`[${38+E};2;${w[0]};${w[1]};${w[2]}m`};const ansi2ansi=S=>S;const rgb2rgb=(S,E,k)=>[S,E,k];const setLazyProperty=(S,E,k)=>{Object.defineProperty(S,E,{get:()=>{const w=k();Object.defineProperty(S,E,{value:w,enumerable:true,configurable:true});return w},enumerable:true,configurable:true})};let w;const makeDynamicStyles=(S,E,N,j)=>{if(w===undefined){w=k(91672)}const q=j?10:0;const ee={};for(const[k,j]of Object.entries(w)){const w=k==="ansi16"?"ansi":k;if(k===E){ee[w]=S(N,q)}else if(typeof j==="object"){ee[w]=S(j[E],q)}}return ee};function assembleStyles(){const S=new Map;const E={modifier:{reset:[0,0],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],blackBright:[90,39],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],bgBlackBright:[100,49],bgRedBright:[101,49],bgGreenBright:[102,49],bgYellowBright:[103,49],bgBlueBright:[104,49],bgMagentaBright:[105,49],bgCyanBright:[106,49],bgWhiteBright:[107,49]}};E.color.gray=E.color.blackBright;E.bgColor.bgGray=E.bgColor.bgBlackBright;E.color.grey=E.color.blackBright;E.bgColor.bgGrey=E.bgColor.bgBlackBright;for(const[k,w]of Object.entries(E)){for(const[k,N]of Object.entries(w)){E[k]={open:`[${N[0]}m`,close:`[${N[1]}m`};w[k]=E[k];S.set(N[0],N[1])}Object.defineProperty(E,k,{value:w,enumerable:false})}Object.defineProperty(E,"codes",{value:S,enumerable:false});E.color.close="";E.bgColor.close="";setLazyProperty(E.color,"ansi",(()=>makeDynamicStyles(wrapAnsi16,"ansi16",ansi2ansi,false)));setLazyProperty(E.color,"ansi256",(()=>makeDynamicStyles(wrapAnsi256,"ansi256",ansi2ansi,false)));setLazyProperty(E.color,"ansi16m",(()=>makeDynamicStyles(wrapAnsi16m,"rgb",rgb2rgb,false)));setLazyProperty(E.bgColor,"ansi",(()=>makeDynamicStyles(wrapAnsi16,"ansi16",ansi2ansi,true)));setLazyProperty(E.bgColor,"ansi256",(()=>makeDynamicStyles(wrapAnsi256,"ansi256",ansi2ansi,true)));setLazyProperty(E.bgColor,"ansi16m",(()=>makeDynamicStyles(wrapAnsi16m,"rgb",rgb2rgb,true)));return E}Object.defineProperty(S,"exports",{enumerable:true,get:assembleStyles})},19347:(S,E,k)=>{const w=k(24253);const N={};for(const S of Object.keys(w)){N[w[S]]=S}const j={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"]}};S.exports=j;for(const S of Object.keys(j)){if(!("channels"in j[S])){throw new Error("missing channels property: "+S)}if(!("labels"in j[S])){throw new Error("missing channel labels property: "+S)}if(j[S].labels.length!==j[S].channels){throw new Error("channel and label counts mismatch: "+S)}const{channels:E,labels:k}=j[S];delete j[S].channels;delete j[S].labels;Object.defineProperty(j[S],"channels",{value:E});Object.defineProperty(j[S],"labels",{value:k})}j.rgb.hsl=function(S){const E=S[0]/255;const k=S[1]/255;const w=S[2]/255;const N=Math.min(E,k,w);const j=Math.max(E,k,w);const q=j-N;let ee;let te;if(j===N){ee=0}else if(E===j){ee=(k-w)/q}else if(k===j){ee=2+(w-E)/q}else if(w===j){ee=4+(E-k)/q}ee=Math.min(ee*60,360);if(ee<0){ee+=360}const ne=(N+j)/2;if(j===N){te=0}else if(ne<=.5){te=q/(j+N)}else{te=q/(2-j-N)}return[ee,te*100,ne*100]};j.rgb.hsv=function(S){let E;let k;let w;let N;let j;const q=S[0]/255;const ee=S[1]/255;const te=S[2]/255;const ne=Math.max(q,ee,te);const ae=ne-Math.min(q,ee,te);const diffc=function(S){return(ne-S)/6/ae+1/2};if(ae===0){N=0;j=0}else{j=ae/ne;E=diffc(q);k=diffc(ee);w=diffc(te);if(q===ne){N=w-k}else if(ee===ne){N=1/3+E-w}else if(te===ne){N=2/3+k-E}if(N<0){N+=1}else if(N>1){N-=1}}return[N*360,j*100,ne*100]};j.rgb.hwb=function(S){const E=S[0];const k=S[1];let w=S[2];const N=j.rgb.hsl(S)[0];const q=1/255*Math.min(E,Math.min(k,w));w=1-1/255*Math.max(E,Math.max(k,w));return[N,q*100,w*100]};j.rgb.cmyk=function(S){const E=S[0]/255;const k=S[1]/255;const w=S[2]/255;const N=Math.min(1-E,1-k,1-w);const j=(1-E-N)/(1-N)||0;const q=(1-k-N)/(1-N)||0;const ee=(1-w-N)/(1-N)||0;return[j*100,q*100,ee*100,N*100]};function comparativeDistance(S,E){return(S[0]-E[0])**2+(S[1]-E[1])**2+(S[2]-E[2])**2}j.rgb.keyword=function(S){const E=N[S];if(E){return E}let k=Infinity;let j;for(const E of Object.keys(w)){const N=w[E];const q=comparativeDistance(S,N);if(q.04045?((E+.055)/1.055)**2.4:E/12.92;k=k>.04045?((k+.055)/1.055)**2.4:k/12.92;w=w>.04045?((w+.055)/1.055)**2.4:w/12.92;const N=E*.4124+k*.3576+w*.1805;const j=E*.2126+k*.7152+w*.0722;const q=E*.0193+k*.1192+w*.9505;return[N*100,j*100,q*100]};j.rgb.lab=function(S){const E=j.rgb.xyz(S);let k=E[0];let w=E[1];let N=E[2];k/=95.047;w/=100;N/=108.883;k=k>.008856?k**(1/3):7.787*k+16/116;w=w>.008856?w**(1/3):7.787*w+16/116;N=N>.008856?N**(1/3):7.787*N+16/116;const q=116*w-16;const ee=500*(k-w);const te=200*(w-N);return[q,ee,te]};j.hsl.rgb=function(S){const E=S[0]/360;const k=S[1]/100;const w=S[2]/100;let N;let j;let q;if(k===0){q=w*255;return[q,q,q]}if(w<.5){N=w*(1+k)}else{N=w+k-w*k}const ee=2*w-N;const te=[0,0,0];for(let S=0;S<3;S++){j=E+1/3*-(S-1);if(j<0){j++}if(j>1){j--}if(6*j<1){q=ee+(N-ee)*6*j}else if(2*j<1){q=N}else if(3*j<2){q=ee+(N-ee)*(2/3-j)*6}else{q=ee}te[S]=q*255}return te};j.hsl.hsv=function(S){const E=S[0];let k=S[1]/100;let w=S[2]/100;let N=k;const j=Math.max(w,.01);w*=2;k*=w<=1?w:2-w;N*=j<=1?j:2-j;const q=(w+k)/2;const ee=w===0?2*N/(j+N):2*k/(w+k);return[E,ee*100,q*100]};j.hsv.rgb=function(S){const E=S[0]/60;const k=S[1]/100;let w=S[2]/100;const N=Math.floor(E)%6;const j=E-Math.floor(E);const q=255*w*(1-k);const ee=255*w*(1-k*j);const te=255*w*(1-k*(1-j));w*=255;switch(N){case 0:return[w,te,q];case 1:return[ee,w,q];case 2:return[q,w,te];case 3:return[q,ee,w];case 4:return[te,q,w];case 5:return[w,q,ee]}};j.hsv.hsl=function(S){const E=S[0];const k=S[1]/100;const w=S[2]/100;const N=Math.max(w,.01);let j;let q;q=(2-k)*w;const ee=(2-k)*N;j=k*N;j/=ee<=1?ee:2-ee;j=j||0;q/=2;return[E,j*100,q*100]};j.hwb.rgb=function(S){const E=S[0]/360;let k=S[1]/100;let w=S[2]/100;const N=k+w;let j;if(N>1){k/=N;w/=N}const q=Math.floor(6*E);const ee=1-w;j=6*E-q;if((q&1)!==0){j=1-j}const te=k+j*(ee-k);let ne;let ae;let _e;switch(q){default:case 6:case 0:ne=ee;ae=te;_e=k;break;case 1:ne=te;ae=ee;_e=k;break;case 2:ne=k;ae=ee;_e=te;break;case 3:ne=k;ae=te;_e=ee;break;case 4:ne=te;ae=k;_e=ee;break;case 5:ne=ee;ae=k;_e=te;break}return[ne*255,ae*255,_e*255]};j.cmyk.rgb=function(S){const E=S[0]/100;const k=S[1]/100;const w=S[2]/100;const N=S[3]/100;const j=1-Math.min(1,E*(1-N)+N);const q=1-Math.min(1,k*(1-N)+N);const ee=1-Math.min(1,w*(1-N)+N);return[j*255,q*255,ee*255]};j.xyz.rgb=function(S){const E=S[0]/100;const k=S[1]/100;const w=S[2]/100;let N;let j;let q;N=E*3.2406+k*-1.5372+w*-.4986;j=E*-.9689+k*1.8758+w*.0415;q=E*.0557+k*-.204+w*1.057;N=N>.0031308?1.055*N**(1/2.4)-.055:N*12.92;j=j>.0031308?1.055*j**(1/2.4)-.055:j*12.92;q=q>.0031308?1.055*q**(1/2.4)-.055:q*12.92;N=Math.min(Math.max(0,N),1);j=Math.min(Math.max(0,j),1);q=Math.min(Math.max(0,q),1);return[N*255,j*255,q*255]};j.xyz.lab=function(S){let E=S[0];let k=S[1];let w=S[2];E/=95.047;k/=100;w/=108.883;E=E>.008856?E**(1/3):7.787*E+16/116;k=k>.008856?k**(1/3):7.787*k+16/116;w=w>.008856?w**(1/3):7.787*w+16/116;const N=116*k-16;const j=500*(E-k);const q=200*(k-w);return[N,j,q]};j.lab.xyz=function(S){const E=S[0];const k=S[1];const w=S[2];let N;let j;let q;j=(E+16)/116;N=k/500+j;q=j-w/200;const ee=j**3;const te=N**3;const ne=q**3;j=ee>.008856?ee:(j-16/116)/7.787;N=te>.008856?te:(N-16/116)/7.787;q=ne>.008856?ne:(q-16/116)/7.787;N*=95.047;j*=100;q*=108.883;return[N,j,q]};j.lab.lch=function(S){const E=S[0];const k=S[1];const w=S[2];let N;const j=Math.atan2(w,k);N=j*360/2/Math.PI;if(N<0){N+=360}const q=Math.sqrt(k*k+w*w);return[E,q,N]};j.lch.lab=function(S){const E=S[0];const k=S[1];const w=S[2];const N=w/360*2*Math.PI;const j=k*Math.cos(N);const q=k*Math.sin(N);return[E,j,q]};j.rgb.ansi16=function(S,E=null){const[k,w,N]=S;let q=E===null?j.rgb.hsv(S)[2]:E;q=Math.round(q/50);if(q===0){return 30}let ee=30+(Math.round(N/255)<<2|Math.round(w/255)<<1|Math.round(k/255));if(q===2){ee+=60}return ee};j.hsv.ansi16=function(S){return j.rgb.ansi16(j.hsv.rgb(S),S[2])};j.rgb.ansi256=function(S){const E=S[0];const k=S[1];const w=S[2];if(E===k&&k===w){if(E<8){return 16}if(E>248){return 231}return Math.round((E-8)/247*24)+232}const N=16+36*Math.round(E/255*5)+6*Math.round(k/255*5)+Math.round(w/255*5);return N};j.ansi16.rgb=function(S){let E=S%10;if(E===0||E===7){if(S>50){E+=3.5}E=E/10.5*255;return[E,E,E]}const k=(~~(S>50)+1)*.5;const w=(E&1)*k*255;const N=(E>>1&1)*k*255;const j=(E>>2&1)*k*255;return[w,N,j]};j.ansi256.rgb=function(S){if(S>=232){const E=(S-232)*10+8;return[E,E,E]}S-=16;let E;const k=Math.floor(S/36)/5*255;const w=Math.floor((E=S%36)/6)/5*255;const N=E%6/5*255;return[k,w,N]};j.rgb.hex=function(S){const E=((Math.round(S[0])&255)<<16)+((Math.round(S[1])&255)<<8)+(Math.round(S[2])&255);const k=E.toString(16).toUpperCase();return"000000".substring(k.length)+k};j.hex.rgb=function(S){const E=S.toString(16).match(/[a-f0-9]{6}|[a-f0-9]{3}/i);if(!E){return[0,0,0]}let k=E[0];if(E[0].length===3){k=k.split("").map((S=>S+S)).join("")}const w=parseInt(k,16);const N=w>>16&255;const j=w>>8&255;const q=w&255;return[N,j,q]};j.rgb.hcg=function(S){const E=S[0]/255;const k=S[1]/255;const w=S[2]/255;const N=Math.max(Math.max(E,k),w);const j=Math.min(Math.min(E,k),w);const q=N-j;let ee;let te;if(q<1){ee=j/(1-q)}else{ee=0}if(q<=0){te=0}else if(N===E){te=(k-w)/q%6}else if(N===k){te=2+(w-E)/q}else{te=4+(E-k)/q}te/=6;te%=1;return[te*360,q*100,ee*100]};j.hsl.hcg=function(S){const E=S[1]/100;const k=S[2]/100;const w=k<.5?2*E*k:2*E*(1-k);let N=0;if(w<1){N=(k-.5*w)/(1-w)}return[S[0],w*100,N*100]};j.hsv.hcg=function(S){const E=S[1]/100;const k=S[2]/100;const w=E*k;let N=0;if(w<1){N=(k-w)/(1-w)}return[S[0],w*100,N*100]};j.hcg.rgb=function(S){const E=S[0]/360;const k=S[1]/100;const w=S[2]/100;if(k===0){return[w*255,w*255,w*255]}const N=[0,0,0];const j=E%1*6;const q=j%1;const ee=1-q;let te=0;switch(Math.floor(j)){case 0:N[0]=1;N[1]=q;N[2]=0;break;case 1:N[0]=ee;N[1]=1;N[2]=0;break;case 2:N[0]=0;N[1]=1;N[2]=q;break;case 3:N[0]=0;N[1]=ee;N[2]=1;break;case 4:N[0]=q;N[1]=0;N[2]=1;break;default:N[0]=1;N[1]=0;N[2]=ee}te=(1-k)*w;return[(k*N[0]+te)*255,(k*N[1]+te)*255,(k*N[2]+te)*255]};j.hcg.hsv=function(S){const E=S[1]/100;const k=S[2]/100;const w=E+k*(1-E);let N=0;if(w>0){N=E/w}return[S[0],N*100,w*100]};j.hcg.hsl=function(S){const E=S[1]/100;const k=S[2]/100;const w=k*(1-E)+.5*E;let N=0;if(w>0&&w<.5){N=E/(2*w)}else if(w>=.5&&w<1){N=E/(2*(1-w))}return[S[0],N*100,w*100]};j.hcg.hwb=function(S){const E=S[1]/100;const k=S[2]/100;const w=E+k*(1-E);return[S[0],(w-E)*100,(1-w)*100]};j.hwb.hcg=function(S){const E=S[1]/100;const k=S[2]/100;const w=1-k;const N=w-E;let j=0;if(N<1){j=(w-N)/(1-N)}return[S[0],N*100,j*100]};j.apple.rgb=function(S){return[S[0]/65535*255,S[1]/65535*255,S[2]/65535*255]};j.rgb.apple=function(S){return[S[0]/255*65535,S[1]/255*65535,S[2]/255*65535]};j.gray.rgb=function(S){return[S[0]/100*255,S[0]/100*255,S[0]/100*255]};j.gray.hsl=function(S){return[0,0,S[0]]};j.gray.hsv=j.gray.hsl;j.gray.hwb=function(S){return[0,100,S[0]]};j.gray.cmyk=function(S){return[0,0,0,S[0]]};j.gray.lab=function(S){return[S[0],0,0]};j.gray.hex=function(S){const E=Math.round(S[0]/100*255)&255;const k=(E<<16)+(E<<8)+E;const w=k.toString(16).toUpperCase();return"000000".substring(w.length)+w};j.rgb.gray=function(S){const E=(S[0]+S[1]+S[2])/3;return[E/255*100]}},91672:(S,E,k)=>{const w=k(19347);const N=k(5806);const j={};const q=Object.keys(w);function wrapRaw(S){const wrappedFn=function(...E){const k=E[0];if(k===undefined||k===null){return k}if(k.length>1){E=k}return S(E)};if("conversion"in S){wrappedFn.conversion=S.conversion}return wrappedFn}function wrapRounded(S){const wrappedFn=function(...E){const k=E[0];if(k===undefined||k===null){return k}if(k.length>1){E=k}const w=S(E);if(typeof w==="object"){for(let S=w.length,E=0;E{j[S]={};Object.defineProperty(j[S],"channels",{value:w[S].channels});Object.defineProperty(j[S],"labels",{value:w[S].labels});const E=N(S);const k=Object.keys(E);k.forEach((k=>{const w=E[k];j[S][k]=wrapRounded(w);j[S][k].raw=wrapRaw(w)}))}));S.exports=j},5806:(S,E,k)=>{const w=k(19347);function buildGraph(){const S={};const E=Object.keys(w);for(let k=E.length,w=0;w{"use strict";const w=k(98136);const{stdout:N,stderr:j}=k(96204);const{stringReplaceAll:q,stringEncaseCRLFWithFirstIndex:ee}=k(88445);const{isArray:te}=Array;const ne=["ansi","ansi","ansi256","ansi16m"];const ae=Object.create(null);const applyOptions=(S,E={})=>{if(E.level&&!(Number.isInteger(E.level)&&E.level>=0&&E.level<=3)){throw new Error("The `level` option should be an integer from 0 to 3")}const k=N?N.level:0;S.level=E.level===undefined?k:E.level};class ChalkClass{constructor(S){return chalkFactory(S)}}const chalkFactory=S=>{const E={};applyOptions(E,S);E.template=(...S)=>chalkTag(E.template,...S);Object.setPrototypeOf(E,Chalk.prototype);Object.setPrototypeOf(E.template,E);E.template.constructor=()=>{throw new Error("`chalk.constructor()` is deprecated. Use `new chalk.Instance()` instead.")};E.template.Instance=ChalkClass;return E.template};function Chalk(S){return chalkFactory(S)}for(const[S,E]of Object.entries(w)){ae[S]={get(){const k=createBuilder(this,createStyler(E.open,E.close,this._styler),this._isEmpty);Object.defineProperty(this,S,{value:k});return k}}}ae.visible={get(){const S=createBuilder(this,this._styler,true);Object.defineProperty(this,"visible",{value:S});return S}};const _e=["rgb","hex","keyword","hsl","hsv","hwb","ansi","ansi256"];for(const S of _e){ae[S]={get(){const{level:E}=this;return function(...k){const N=createStyler(w.color[ne[E]][S](...k),w.color.close,this._styler);return createBuilder(this,N,this._isEmpty)}}}}for(const S of _e){const E="bg"+S[0].toUpperCase()+S.slice(1);ae[E]={get(){const{level:E}=this;return function(...k){const N=createStyler(w.bgColor[ne[E]][S](...k),w.bgColor.close,this._styler);return createBuilder(this,N,this._isEmpty)}}}}const ve=Object.defineProperties((()=>{}),{...ae,level:{enumerable:true,get(){return this._generator.level},set(S){this._generator.level=S}}});const createStyler=(S,E,k)=>{let w;let N;if(k===undefined){w=S;N=E}else{w=k.openAll+S;N=E+k.closeAll}return{open:S,close:E,openAll:w,closeAll:N,parent:k}};const createBuilder=(S,E,k)=>{const builder=(...S)=>{if(te(S[0])&&te(S[0].raw)){return applyStyle(builder,chalkTag(builder,...S))}return applyStyle(builder,S.length===1?""+S[0]:S.join(" "))};Object.setPrototypeOf(builder,ve);builder._generator=S;builder._styler=E;builder._isEmpty=k;return builder};const applyStyle=(S,E)=>{if(S.level<=0||!E){return S._isEmpty?"":E}let k=S._styler;if(k===undefined){return E}const{openAll:w,closeAll:N}=k;if(E.indexOf("")!==-1){while(k!==undefined){E=q(E,k.close,k.open);k=k.parent}}const j=E.indexOf("\n");if(j!==-1){E=ee(E,N,w,j)}return w+E+N};let Ee;const chalkTag=(S,...E)=>{const[w]=E;if(!te(w)||!te(w.raw)){return E.join(" ")}const N=E.slice(1);const j=[w.raw[0]];for(let S=1;S{"use strict";const E=/(?:\\(u(?:[a-f\d]{4}|\{[a-f\d]{1,6}\})|x[a-f\d]{2}|.))|(?:\{(~)?(\w+(?:\([^)]*\))?(?:\.\w+(?:\([^)]*\))?)*)(?:[ \t]|(?=\r?\n)))|(\})|((?:.|[\r\n\f])+?)/gi;const k=/(?:^|\.)(\w+)(?:\(([^)]*)\))?/g;const w=/^(['"])((?:\\.|(?!\1)[^\\])*)\1$/;const N=/\\(u(?:[a-f\d]{4}|{[a-f\d]{1,6}})|x[a-f\d]{2}|.)|([^\\])/gi;const j=new Map([["n","\n"],["r","\r"],["t","\t"],["b","\b"],["f","\f"],["v","\v"],["0","\0"],["\\","\\"],["e",""],["a",""]]);function unescape(S){const E=S[0]==="u";const k=S[1]==="{";if(E&&!k&&S.length===5||S[0]==="x"&&S.length===3){return String.fromCharCode(parseInt(S.slice(1),16))}if(E&&k){return String.fromCodePoint(parseInt(S.slice(2,-1),16))}return j.get(S)||S}function parseArguments(S,E){const k=[];const j=E.trim().split(/\s*,\s*/g);let q;for(const E of j){const j=Number(E);if(!Number.isNaN(j)){k.push(j)}else if(q=E.match(w)){k.push(q[2].replace(N,((S,E,k)=>E?unescape(E):k)))}else{throw new Error(`Invalid Chalk template style argument: ${E} (in style '${S}')`)}}return k}function parseStyle(S){k.lastIndex=0;const E=[];let w;while((w=k.exec(S))!==null){const S=w[1];if(w[2]){const k=parseArguments(S,w[2]);E.push([S].concat(k))}else{E.push([S])}}return E}function buildStyle(S,E){const k={};for(const S of E){for(const E of S.styles){k[E[0]]=S.inverse?null:E.slice(1)}}let w=S;for(const[S,E]of Object.entries(k)){if(!Array.isArray(E)){continue}if(!(S in w)){throw new Error(`Unknown Chalk style: ${S}`)}w=E.length>0?w[S](...E):w[S]}return w}S.exports=(S,k)=>{const w=[];const N=[];let j=[];k.replace(E,((E,k,q,ee,te,ne)=>{if(k){j.push(unescape(k))}else if(ee){const E=j.join("");j=[];N.push(w.length===0?E:buildStyle(S,w)(E));w.push({inverse:q,styles:parseStyle(ee)})}else if(te){if(w.length===0){throw new Error("Found extraneous } in Chalk template literal")}N.push(buildStyle(S,w)(j.join("")));j=[];w.pop()}else{j.push(ne)}}));N.push(j.join(""));if(w.length>0){const S=`Chalk template literal is missing ${w.length} closing bracket${w.length===1?"":"s"} (\`}\`)`;throw new Error(S)}return N.join("")}},88445:S=>{"use strict";const stringReplaceAll=(S,E,k)=>{let w=S.indexOf(E);if(w===-1){return S}const N=E.length;let j=0;let q="";do{q+=S.substr(j,w-j)+E+k;j=w+N;w=S.indexOf(E,j)}while(w!==-1);q+=S.substr(j);return q};const stringEncaseCRLFWithFirstIndex=(S,E,k,w)=>{let N=0;let j="";do{const q=S[w-1]==="\r";j+=S.substr(N,(q?w-1:w)-N)+E+(q?"\r\n":"\n")+k;N=w+1;w=S.indexOf("\n",N)}while(w!==-1);j+=S.substr(N);return j};S.exports={stringReplaceAll:stringReplaceAll,stringEncaseCRLFWithFirstIndex:stringEncaseCRLFWithFirstIndex}},25954:(S,E,k)=>{"use strict";Object.defineProperty(E,"__esModule",{value:true});var w=k(5115);var N=k(92413);function evCommon(){var S=process.hrtime();var E=S[0]*1e6+Math.round(S[1]/1e3);return{ts:E,pid:process.pid,tid:process.pid}}var j=function(S){w.__extends(Tracer,S);function Tracer(E){if(E===void 0){E={}}var k=S.call(this)||this;k.noStream=false;k.events=[];if(typeof E!=="object"){throw new Error("Invalid options passed (must be an object)")}if(E.parent!=null&&typeof E.parent!=="object"){throw new Error("Invalid option (parent) passed (must be an object)")}if(E.fields!=null&&typeof E.fields!=="object"){throw new Error("Invalid option (fields) passed (must be an object)")}if(E.objectMode!=null&&(E.objectMode!==true&&E.objectMode!==false)){throw new Error("Invalid option (objectsMode) passed (must be a boolean)")}k.noStream=E.noStream||false;k.parent=E.parent;if(k.parent){k.fields=Object.assign({},E.parent&&E.parent.fields)}else{k.fields={}}if(E.fields){Object.assign(k.fields,E.fields)}if(!k.fields.cat){k.fields.cat="default"}else if(Array.isArray(k.fields.cat)){k.fields.cat=k.fields.cat.join(",")}if(!k.fields.args){k.fields.args={}}if(k.parent){k._push=k.parent._push.bind(k.parent)}else{k._objectMode=Boolean(E.objectMode);var w={objectMode:k._objectMode};if(k._objectMode){k._push=k.push}else{k._push=k._pushString;w.encoding="utf8"}N.Readable.call(k,w)}return k}Tracer.prototype.flush=function(){if(this.noStream===true){for(var S=0,E=this.events;S{"use strict";S.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]}},46233:S=>{S.exports={"0.20":"39",.21:"41",.22:"41",.23:"41",.24:"41",.25:"42",.26:"42",.27:"43",.28:"43",.29:"43","0.30":"44",.31:"45",.32:"45",.33:"45",.34:"45",.35:"45",.36:"47",.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","12.0":"89","13.0":"90"}},31356:S=>{S.exports=["🀄️","🃏","🅰️","🅱️","🅾️","🅿️","🆎","🆑","🆒","🆓","🆔","🆕","🆖","🆗","🆘","🆙","🆚","🇦🇨","🇦🇩","🇦🇪","🇦🇫","🇦🇬","🇦🇮","🇦🇱","🇦🇲","🇦🇴","🇦🇶","🇦🇷","🇦🇸","🇦🇹","🇦🇺","🇦🇼","🇦🇽","🇦🇿","🇦","🇧🇦","🇧🇧","🇧🇩","🇧🇪","🇧🇫","🇧🇬","🇧🇭","🇧🇮","🇧🇯","🇧🇱","🇧🇲","🇧🇳","🇧🇴","🇧🇶","🇧🇷","🇧🇸","🇧🇹","🇧🇻","🇧🇼","🇧🇾","🇧🇿","🇧","🇨🇦","🇨🇨","🇨🇩","🇨🇫","🇨🇬","🇨🇭","🇨🇮","🇨🇰","🇨🇱","🇨🇲","🇨🇳","🇨🇴","🇨🇵","🇨🇷","🇨🇺","🇨🇻","🇨🇼","🇨🇽","🇨🇾","🇨🇿","🇨","🇩🇪","🇩🇬","🇩🇯","🇩🇰","🇩🇲","🇩🇴","🇩🇿","🇩","🇪🇦","🇪🇨","🇪🇪","🇪🇬","🇪🇭","🇪🇷","🇪🇸","🇪🇹","🇪🇺","🇪","🇫🇮","🇫🇯","🇫🇰","🇫🇲","🇫🇴","🇫🇷","🇫","🇬🇦","🇬🇧","🇬🇩","🇬🇪","🇬🇫","🇬🇬","🇬🇭","🇬🇮","🇬🇱","🇬🇲","🇬🇳","🇬🇵","🇬🇶","🇬🇷","🇬🇸","🇬🇹","🇬🇺","🇬🇼","🇬🇾","🇬","🇭🇰","🇭🇲","🇭🇳","🇭🇷","🇭🇹","🇭🇺","🇭","🇮🇨","🇮🇩","🇮🇪","🇮🇱","🇮🇲","🇮🇳","🇮🇴","🇮🇶","🇮🇷","🇮🇸","🇮🇹","🇮","🇯🇪","🇯🇲","🇯🇴","🇯🇵","🇯","🇰🇪","🇰🇬","🇰🇭","🇰🇮","🇰🇲","🇰🇳","🇰🇵","🇰🇷","🇰🇼","🇰🇾","🇰🇿","🇰","🇱🇦","🇱🇧","🇱🇨","🇱🇮","🇱🇰","🇱🇷","🇱🇸","🇱🇹","🇱🇺","🇱🇻","🇱🇾","🇱","🇲🇦","🇲🇨","🇲🇩","🇲🇪","🇲🇫","🇲🇬","🇲🇭","🇲🇰","🇲🇱","🇲🇲","🇲🇳","🇲🇴","🇲🇵","🇲🇶","🇲🇷","🇲🇸","🇲🇹","🇲🇺","🇲🇻","🇲🇼","🇲🇽","🇲🇾","🇲🇿","🇲","🇳🇦","🇳🇨","🇳🇪","🇳🇫","🇳🇬","🇳🇮","🇳🇱","🇳🇴","🇳🇵","🇳🇷","🇳🇺","🇳🇿","🇳","🇴🇲","🇴","🇵🇦","🇵🇪","🇵🇫","🇵🇬","🇵🇭","🇵🇰","🇵🇱","🇵🇲","🇵🇳","🇵🇷","🇵🇸","🇵🇹","🇵🇼","🇵🇾","🇵","🇶🇦","🇶","🇷🇪","🇷🇴","🇷🇸","🇷🇺","🇷🇼","🇷","🇸🇦","🇸🇧","🇸🇨","🇸🇩","🇸🇪","🇸🇬","🇸🇭","🇸🇮","🇸🇯","🇸🇰","🇸🇱","🇸🇲","🇸🇳","🇸🇴","🇸🇷","🇸🇸","🇸🇹","🇸🇻","🇸🇽","🇸🇾","🇸🇿","🇸","🇹🇦","🇹🇨","🇹🇩","🇹🇫","🇹🇬","🇹🇭","🇹🇯","🇹🇰","🇹🇱","🇹🇲","🇹🇳","🇹🇴","🇹🇷","🇹🇹","🇹🇻","🇹🇼","🇹🇿","🇹","🇺🇦","🇺🇬","🇺🇲","🇺🇳","🇺🇸","🇺🇾","🇺🇿","🇺","🇻🇦","🇻🇨","🇻🇪","🇻🇬","🇻🇮","🇻🇳","🇻🇺","🇻","🇼🇫","🇼🇸","🇼","🇽🇰","🇽","🇾🇪","🇾🇹","🇾","🇿🇦","🇿🇲","🇿🇼","🇿","🈁","🈂️","🈚️","🈯️","🈲","🈳","🈴","🈵","🈶","🈷️","🈸","🈹","🈺","🉐","🉑","🌀","🌁","🌂","🌃","🌄","🌅","🌆","🌇","🌈","🌉","🌊","🌋","🌌","🌍","🌎","🌏","🌐","🌑","🌒","🌓","🌔","🌕","🌖","🌗","🌘","🌙","🌚","🌛","🌜","🌝","🌞","🌟","🌠","🌡️","🌤️","🌥️","🌦️","🌧️","🌨️","🌩️","🌪️","🌫️","🌬️","🌭","🌮","🌯","🌰","🌱","🌲","🌳","🌴","🌵","🌶️","🌷","🌸","🌹","🌺","🌻","🌼","🌽","🌾","🌿","🍀","🍁","🍂","🍃","🍄","🍅","🍆","🍇","🍈","🍉","🍊","🍋","🍌","🍍","🍎","🍏","🍐","🍑","🍒","🍓","🍔","🍕","🍖","🍗","🍘","🍙","🍚","🍛","🍜","🍝","🍞","🍟","🍠","🍡","🍢","🍣","🍤","🍥","🍦","🍧","🍨","🍩","🍪","🍫","🍬","🍭","🍮","🍯","🍰","🍱","🍲","🍳","🍴","🍵","🍶","🍷","🍸","🍹","🍺","🍻","🍼","🍽️","🍾","🍿","🎀","🎁","🎂","🎃","🎄","🎅🏻","🎅🏼","🎅🏽","🎅🏾","🎅🏿","🎅","🎆","🎇","🎈","🎉","🎊","🎋","🎌","🎍","🎎","🎏","🎐","🎑","🎒","🎓","🎖️","🎗️","🎙️","🎚️","🎛️","🎞️","🎟️","🎠","🎡","🎢","🎣","🎤","🎥","🎦","🎧","🎨","🎩","🎪","🎫","🎬","🎭","🎮","🎯","🎰","🎱","🎲","🎳","🎴","🎵","🎶","🎷","🎸","🎹","🎺","🎻","🎼","🎽","🎾","🎿","🏀","🏁","🏂🏻","🏂🏼","🏂🏽","🏂🏾","🏂🏿","🏂","🏃🏻‍♀️","🏃🏻‍♂️","🏃🏻","🏃🏼‍♀️","🏃🏼‍♂️","🏃🏼","🏃🏽‍♀️","🏃🏽‍♂️","🏃🏽","🏃🏾‍♀️","🏃🏾‍♂️","🏃🏾","🏃🏿‍♀️","🏃🏿‍♂️","🏃🏿","🏃‍♀️","🏃‍♂️","🏃","🏄🏻‍♀️","🏄🏻‍♂️","🏄🏻","🏄🏼‍♀️","🏄🏼‍♂️","🏄🏼","🏄🏽‍♀️","🏄🏽‍♂️","🏄🏽","🏄🏾‍♀️","🏄🏾‍♂️","🏄🏾","🏄🏿‍♀️","🏄🏿‍♂️","🏄🏿","🏄‍♀️","🏄‍♂️","🏄","🏅","🏆","🏇🏻","🏇🏼","🏇🏽","🏇🏾","🏇🏿","🏇","🏈","🏉","🏊🏻‍♀️","🏊🏻‍♂️","🏊🏻","🏊🏼‍♀️","🏊🏼‍♂️","🏊🏼","🏊🏽‍♀️","🏊🏽‍♂️","🏊🏽","🏊🏾‍♀️","🏊🏾‍♂️","🏊🏾","🏊🏿‍♀️","🏊🏿‍♂️","🏊🏿","🏊‍♀️","🏊‍♂️","🏊","🏋🏻‍♀️","🏋🏻‍♂️","🏋🏻","🏋🏼‍♀️","🏋🏼‍♂️","🏋🏼","🏋🏽‍♀️","🏋🏽‍♂️","🏋🏽","🏋🏾‍♀️","🏋🏾‍♂️","🏋🏾","🏋🏿‍♀️","🏋🏿‍♂️","🏋🏿","🏋️‍♀️","🏋️‍♂️","🏋️","🏌🏻‍♀️","🏌🏻‍♂️","🏌🏻","🏌🏼‍♀️","🏌🏼‍♂️","🏌🏼","🏌🏽‍♀️","🏌🏽‍♂️","🏌🏽","🏌🏾‍♀️","🏌🏾‍♂️","🏌🏾","🏌🏿‍♀️","🏌🏿‍♂️","🏌🏿","🏌️‍♀️","🏌️‍♂️","🏌️","🏍️","🏎️","🏏","🏐","🏑","🏒","🏓","🏔️","🏕️","🏖️","🏗️","🏘️","🏙️","🏚️","🏛️","🏜️","🏝️","🏞️","🏟️","🏠","🏡","🏢","🏣","🏤","🏥","🏦","🏧","🏨","🏩","🏪","🏫","🏬","🏭","🏮","🏯","🏰","🏳️‍🌈","🏳️","🏴‍☠️","🏴󠁧󠁢󠁥󠁮󠁧󠁿","🏴󠁧󠁢󠁳󠁣󠁴󠁿","🏴󠁧󠁢󠁷󠁬󠁳󠁿","🏴","🏵️","🏷️","🏸","🏹","🏺","🏻","🏼","🏽","🏾","🏿","🐀","🐁","🐂","🐃","🐄","🐅","🐆","🐇","🐈","🐉","🐊","🐋","🐌","🐍","🐎","🐏","🐐","🐑","🐒","🐓","🐔","🐕‍🦺","🐕","🐖","🐗","🐘","🐙","🐚","🐛","🐜","🐝","🐞","🐟","🐠","🐡","🐢","🐣","🐤","🐥","🐦","🐧","🐨","🐩","🐪","🐫","🐬","🐭","🐮","🐯","🐰","🐱","🐲","🐳","🐴","🐵","🐶","🐷","🐸","🐹","🐺","🐻","🐼","🐽","🐾","🐿️","👀","👁‍🗨","👁️","👂🏻","👂🏼","👂🏽","👂🏾","👂🏿","👂","👃🏻","👃🏼","👃🏽","👃🏾","👃🏿","👃","👄","👅","👆🏻","👆🏼","👆🏽","👆🏾","👆🏿","👆","👇🏻","👇🏼","👇🏽","👇🏾","👇🏿","👇","👈🏻","👈🏼","👈🏽","👈🏾","👈🏿","👈","👉🏻","👉🏼","👉🏽","👉🏾","👉🏿","👉","👊🏻","👊🏼","👊🏽","👊🏾","👊🏿","👊","👋🏻","👋🏼","👋🏽","👋🏾","👋🏿","👋","👌🏻","👌🏼","👌🏽","👌🏾","👌🏿","👌","👍🏻","👍🏼","👍🏽","👍🏾","👍🏿","👍","👎🏻","👎🏼","👎🏽","👎🏾","👎🏿","👎","👏🏻","👏🏼","👏🏽","👏🏾","👏🏿","👏","👐🏻","👐🏼","👐🏽","👐🏾","👐🏿","👐","👑","👒","👓","👔","👕","👖","👗","👘","👙","👚","👛","👜","👝","👞","👟","👠","👡","👢","👣","👤","👥","👦🏻","👦🏼","👦🏽","👦🏾","👦🏿","👦","👧🏻","👧🏼","👧🏽","👧🏾","👧🏿","👧","👨🏻‍🌾","👨🏻‍🍳","👨🏻‍🎓","👨🏻‍🎤","👨🏻‍🎨","👨🏻‍🏫","👨🏻‍🏭","👨🏻‍💻","👨🏻‍💼","👨🏻‍🔧","👨🏻‍🔬","👨🏻‍🚀","👨🏻‍🚒","👨🏻‍🦯","👨🏻‍🦰","👨🏻‍🦱","👨🏻‍🦲","👨🏻‍🦳","👨🏻‍🦼","👨🏻‍🦽","👨🏻‍⚕️","👨🏻‍⚖️","👨🏻‍✈️","👨🏻","👨🏼‍🌾","👨🏼‍🍳","👨🏼‍🎓","👨🏼‍🎤","👨🏼‍🎨","👨🏼‍🏫","👨🏼‍🏭","👨🏼‍💻","👨🏼‍💼","👨🏼‍🔧","👨🏼‍🔬","👨🏼‍🚀","👨🏼‍🚒","👨🏼‍🤝‍👨🏻","👨🏼‍🦯","👨🏼‍🦰","👨🏼‍🦱","👨🏼‍🦲","👨🏼‍🦳","👨🏼‍🦼","👨🏼‍🦽","👨🏼‍⚕️","👨🏼‍⚖️","👨🏼‍✈️","👨🏼","👨🏽‍🌾","👨🏽‍🍳","👨🏽‍🎓","👨🏽‍🎤","👨🏽‍🎨","👨🏽‍🏫","👨🏽‍🏭","👨🏽‍💻","👨🏽‍💼","👨🏽‍🔧","👨🏽‍🔬","👨🏽‍🚀","👨🏽‍🚒","👨🏽‍🤝‍👨🏻","👨🏽‍🤝‍👨🏼","👨🏽‍🦯","👨🏽‍🦰","👨🏽‍🦱","👨🏽‍🦲","👨🏽‍🦳","👨🏽‍🦼","👨🏽‍🦽","👨🏽‍⚕️","👨🏽‍⚖️","👨🏽‍✈️","👨🏽","👨🏾‍🌾","👨🏾‍🍳","👨🏾‍🎓","👨🏾‍🎤","👨🏾‍🎨","👨🏾‍🏫","👨🏾‍🏭","👨🏾‍💻","👨🏾‍💼","👨🏾‍🔧","👨🏾‍🔬","👨🏾‍🚀","👨🏾‍🚒","👨🏾‍🤝‍👨🏻","👨🏾‍🤝‍👨🏼","👨🏾‍🤝‍👨🏽","👨🏾‍🦯","👨🏾‍🦰","👨🏾‍🦱","👨🏾‍🦲","👨🏾‍🦳","👨🏾‍🦼","👨🏾‍🦽","👨🏾‍⚕️","👨🏾‍⚖️","👨🏾‍✈️","👨🏾","👨🏿‍🌾","👨🏿‍🍳","👨🏿‍🎓","👨🏿‍🎤","👨🏿‍🎨","👨🏿‍🏫","👨🏿‍🏭","👨🏿‍💻","👨🏿‍💼","👨🏿‍🔧","👨🏿‍🔬","👨🏿‍🚀","👨🏿‍🚒","👨🏿‍🤝‍👨🏻","👨🏿‍🤝‍👨🏼","👨🏿‍🤝‍👨🏽","👨🏿‍🤝‍👨🏾","👨🏿‍🦯","👨🏿‍🦰","👨🏿‍🦱","👨🏿‍🦲","👨🏿‍🦳","👨🏿‍🦼","👨🏿‍🦽","👨🏿‍⚕️","👨🏿‍⚖️","👨🏿‍✈️","👨🏿","👨‍🌾","👨‍🍳","👨‍🎓","👨‍🎤","👨‍🎨","👨‍🏫","👨‍🏭","👨‍👦‍👦","👨‍👦","👨‍👧‍👦","👨‍👧‍👧","👨‍👧","👨‍👨‍👦‍👦","👨‍👨‍👦","👨‍👨‍👧‍👦","👨‍👨‍👧‍👧","👨‍👨‍👧","👨‍👩‍👦‍👦","👨‍👩‍👦","👨‍👩‍👧‍👦","👨‍👩‍👧‍👧","👨‍👩‍👧","👨‍💻","👨‍💼","👨‍🔧","👨‍🔬","👨‍🚀","👨‍🚒","👨‍🦯","👨‍🦰","👨‍🦱","👨‍🦲","👨‍🦳","👨‍🦼","👨‍🦽","👨‍⚕️","👨‍⚖️","👨‍✈️","👨‍❤️‍👨","👨‍❤️‍💋‍👨","👨","👩🏻‍🌾","👩🏻‍🍳","👩🏻‍🎓","👩🏻‍🎤","👩🏻‍🎨","👩🏻‍🏫","👩🏻‍🏭","👩🏻‍💻","👩🏻‍💼","👩🏻‍🔧","👩🏻‍🔬","👩🏻‍🚀","👩🏻‍🚒","👩🏻‍🤝‍👨🏼","👩🏻‍🤝‍👨🏽","👩🏻‍🤝‍👨🏾","👩🏻‍🤝‍👨🏿","👩🏻‍🦯","👩🏻‍🦰","👩🏻‍🦱","👩🏻‍🦲","👩🏻‍🦳","👩🏻‍🦼","👩🏻‍🦽","👩🏻‍⚕️","👩🏻‍⚖️","👩🏻‍✈️","👩🏻","👩🏼‍🌾","👩🏼‍🍳","👩🏼‍🎓","👩🏼‍🎤","👩🏼‍🎨","👩🏼‍🏫","👩🏼‍🏭","👩🏼‍💻","👩🏼‍💼","👩🏼‍🔧","👩🏼‍🔬","👩🏼‍🚀","👩🏼‍🚒","👩🏼‍🤝‍👨🏻","👩🏼‍🤝‍👨🏽","👩🏼‍🤝‍👨🏾","👩🏼‍🤝‍👨🏿","👩🏼‍🤝‍👩🏻","👩🏼‍🦯","👩🏼‍🦰","👩🏼‍🦱","👩🏼‍🦲","👩🏼‍🦳","👩🏼‍🦼","👩🏼‍🦽","👩🏼‍⚕️","👩🏼‍⚖️","👩🏼‍✈️","👩🏼","👩🏽‍🌾","👩🏽‍🍳","👩🏽‍🎓","👩🏽‍🎤","👩🏽‍🎨","👩🏽‍🏫","👩🏽‍🏭","👩🏽‍💻","👩🏽‍💼","👩🏽‍🔧","👩🏽‍🔬","👩🏽‍🚀","👩🏽‍🚒","👩🏽‍🤝‍👨🏻","👩🏽‍🤝‍👨🏼","👩🏽‍🤝‍👨🏾","👩🏽‍🤝‍👨🏿","👩🏽‍🤝‍👩🏻","👩🏽‍🤝‍👩🏼","👩🏽‍🦯","👩🏽‍🦰","👩🏽‍🦱","👩🏽‍🦲","👩🏽‍🦳","👩🏽‍🦼","👩🏽‍🦽","👩🏽‍⚕️","👩🏽‍⚖️","👩🏽‍✈️","👩🏽","👩🏾‍🌾","👩🏾‍🍳","👩🏾‍🎓","👩🏾‍🎤","👩🏾‍🎨","👩🏾‍🏫","👩🏾‍🏭","👩🏾‍💻","👩🏾‍💼","👩🏾‍🔧","👩🏾‍🔬","👩🏾‍🚀","👩🏾‍🚒","👩🏾‍🤝‍👨🏻","👩🏾‍🤝‍👨🏼","👩🏾‍🤝‍👨🏽","👩🏾‍🤝‍👨🏿","👩🏾‍🤝‍👩🏻","👩🏾‍🤝‍👩🏼","👩🏾‍🤝‍👩🏽","👩🏾‍🦯","👩🏾‍🦰","👩🏾‍🦱","👩🏾‍🦲","👩🏾‍🦳","👩🏾‍🦼","👩🏾‍🦽","👩🏾‍⚕️","👩🏾‍⚖️","👩🏾‍✈️","👩🏾","👩🏿‍🌾","👩🏿‍🍳","👩🏿‍🎓","👩🏿‍🎤","👩🏿‍🎨","👩🏿‍🏫","👩🏿‍🏭","👩🏿‍💻","👩🏿‍💼","👩🏿‍🔧","👩🏿‍🔬","👩🏿‍🚀","👩🏿‍🚒","👩🏿‍🤝‍👨🏻","👩🏿‍🤝‍👨🏼","👩🏿‍🤝‍👨🏽","👩🏿‍🤝‍👨🏾","👩🏿‍🤝‍👩🏻","👩🏿‍🤝‍👩🏼","👩🏿‍🤝‍👩🏽","👩🏿‍🤝‍👩🏾","👩🏿‍🦯","👩🏿‍🦰","👩🏿‍🦱","👩🏿‍🦲","👩🏿‍🦳","👩🏿‍🦼","👩🏿‍🦽","👩🏿‍⚕️","👩🏿‍⚖️","👩🏿‍✈️","👩🏿","👩‍🌾","👩‍🍳","👩‍🎓","👩‍🎤","👩‍🎨","👩‍🏫","👩‍🏭","👩‍👦‍👦","👩‍👦","👩‍👧‍👦","👩‍👧‍👧","👩‍👧","👩‍👩‍👦‍👦","👩‍👩‍👦","👩‍👩‍👧‍👦","👩‍👩‍👧‍👧","👩‍👩‍👧","👩‍💻","👩‍💼","👩‍🔧","👩‍🔬","👩‍🚀","👩‍🚒","👩‍🦯","👩‍🦰","👩‍🦱","👩‍🦲","👩‍🦳","👩‍🦼","👩‍🦽","👩‍⚕️","👩‍⚖️","👩‍✈️","👩‍❤️‍👨","👩‍❤️‍👩","👩‍❤️‍💋‍👨","👩‍❤️‍💋‍👩","👩","👪","👫🏻","👫🏼","👫🏽","👫🏾","👫🏿","👫","👬🏻","👬🏼","👬🏽","👬🏾","👬🏿","👬","👭🏻","👭🏼","👭🏽","👭🏾","👭🏿","👭","👮🏻‍♀️","👮🏻‍♂️","👮🏻","👮🏼‍♀️","👮🏼‍♂️","👮🏼","👮🏽‍♀️","👮🏽‍♂️","👮🏽","👮🏾‍♀️","👮🏾‍♂️","👮🏾","👮🏿‍♀️","👮🏿‍♂️","👮🏿","👮‍♀️","👮‍♂️","👮","👯‍♀️","👯‍♂️","👯","👰🏻","👰🏼","👰🏽","👰🏾","👰🏿","👰","👱🏻‍♀️","👱🏻‍♂️","👱🏻","👱🏼‍♀️","👱🏼‍♂️","👱🏼","👱🏽‍♀️","👱🏽‍♂️","👱🏽","👱🏾‍♀️","👱🏾‍♂️","👱🏾","👱🏿‍♀️","👱🏿‍♂️","👱🏿","👱‍♀️","👱‍♂️","👱","👲🏻","👲🏼","👲🏽","👲🏾","👲🏿","👲","👳🏻‍♀️","👳🏻‍♂️","👳🏻","👳🏼‍♀️","👳🏼‍♂️","👳🏼","👳🏽‍♀️","👳🏽‍♂️","👳🏽","👳🏾‍♀️","👳🏾‍♂️","👳🏾","👳🏿‍♀️","👳🏿‍♂️","👳🏿","👳‍♀️","👳‍♂️","👳","👴🏻","👴🏼","👴🏽","👴🏾","👴🏿","👴","👵🏻","👵🏼","👵🏽","👵🏾","👵🏿","👵","👶🏻","👶🏼","👶🏽","👶🏾","👶🏿","👶","👷🏻‍♀️","👷🏻‍♂️","👷🏻","👷🏼‍♀️","👷🏼‍♂️","👷🏼","👷🏽‍♀️","👷🏽‍♂️","👷🏽","👷🏾‍♀️","👷🏾‍♂️","👷🏾","👷🏿‍♀️","👷🏿‍♂️","👷🏿","👷‍♀️","👷‍♂️","👷","👸🏻","👸🏼","👸🏽","👸🏾","👸🏿","👸","👹","👺","👻","👼🏻","👼🏼","👼🏽","👼🏾","👼🏿","👼","👽","👾","👿","💀","💁🏻‍♀️","💁🏻‍♂️","💁🏻","💁🏼‍♀️","💁🏼‍♂️","💁🏼","💁🏽‍♀️","💁🏽‍♂️","💁🏽","💁🏾‍♀️","💁🏾‍♂️","💁🏾","💁🏿‍♀️","💁🏿‍♂️","💁🏿","💁‍♀️","💁‍♂️","💁","💂🏻‍♀️","💂🏻‍♂️","💂🏻","💂🏼‍♀️","💂🏼‍♂️","💂🏼","💂🏽‍♀️","💂🏽‍♂️","💂🏽","💂🏾‍♀️","💂🏾‍♂️","💂🏾","💂🏿‍♀️","💂🏿‍♂️","💂🏿","💂‍♀️","💂‍♂️","💂","💃🏻","💃🏼","💃🏽","💃🏾","💃🏿","💃","💄","💅🏻","💅🏼","💅🏽","💅🏾","💅🏿","💅","💆🏻‍♀️","💆🏻‍♂️","💆🏻","💆🏼‍♀️","💆🏼‍♂️","💆🏼","💆🏽‍♀️","💆🏽‍♂️","💆🏽","💆🏾‍♀️","💆🏾‍♂️","💆🏾","💆🏿‍♀️","💆🏿‍♂️","💆🏿","💆‍♀️","💆‍♂️","💆","💇🏻‍♀️","💇🏻‍♂️","💇🏻","💇🏼‍♀️","💇🏼‍♂️","💇🏼","💇🏽‍♀️","💇🏽‍♂️","💇🏽","💇🏾‍♀️","💇🏾‍♂️","💇🏾","💇🏿‍♀️","💇🏿‍♂️","💇🏿","💇‍♀️","💇‍♂️","💇","💈","💉","💊","💋","💌","💍","💎","💏","💐","💑","💒","💓","💔","💕","💖","💗","💘","💙","💚","💛","💜","💝","💞","💟","💠","💡","💢","💣","💤","💥","💦","💧","💨","💩","💪🏻","💪🏼","💪🏽","💪🏾","💪🏿","💪","💫","💬","💭","💮","💯","💰","💱","💲","💳","💴","💵","💶","💷","💸","💹","💺","💻","💼","💽","💾","💿","📀","📁","📂","📃","📄","📅","📆","📇","📈","📉","📊","📋","📌","📍","📎","📏","📐","📑","📒","📓","📔","📕","📖","📗","📘","📙","📚","📛","📜","📝","📞","📟","📠","📡","📢","📣","📤","📥","📦","📧","📨","📩","📪","📫","📬","📭","📮","📯","📰","📱","📲","📳","📴","📵","📶","📷","📸","📹","📺","📻","📼","📽️","📿","🔀","🔁","🔂","🔃","🔄","🔅","🔆","🔇","🔈","🔉","🔊","🔋","🔌","🔍","🔎","🔏","🔐","🔑","🔒","🔓","🔔","🔕","🔖","🔗","🔘","🔙","🔚","🔛","🔜","🔝","🔞","🔟","🔠","🔡","🔢","🔣","🔤","🔥","🔦","🔧","🔨","🔩","🔪","🔫","🔬","🔭","🔮","🔯","🔰","🔱","🔲","🔳","🔴","🔵","🔶","🔷","🔸","🔹","🔺","🔻","🔼","🔽","🕉️","🕊️","🕋","🕌","🕍","🕎","🕐","🕑","🕒","🕓","🕔","🕕","🕖","🕗","🕘","🕙","🕚","🕛","🕜","🕝","🕞","🕟","🕠","🕡","🕢","🕣","🕤","🕥","🕦","🕧","🕯️","🕰️","🕳️","🕴🏻‍♀️","🕴🏻‍♂️","🕴🏻","🕴🏼‍♀️","🕴🏼‍♂️","🕴🏼","🕴🏽‍♀️","🕴🏽‍♂️","🕴🏽","🕴🏾‍♀️","🕴🏾‍♂️","🕴🏾","🕴🏿‍♀️","🕴🏿‍♂️","🕴🏿","🕴️‍♀️","🕴️‍♂️","🕴️","🕵🏻‍♀️","🕵🏻‍♂️","🕵🏻","🕵🏼‍♀️","🕵🏼‍♂️","🕵🏼","🕵🏽‍♀️","🕵🏽‍♂️","🕵🏽","🕵🏾‍♀️","🕵🏾‍♂️","🕵🏾","🕵🏿‍♀️","🕵🏿‍♂️","🕵🏿","🕵️‍♀️","🕵️‍♂️","🕵️","🕶️","🕷️","🕸️","🕹️","🕺🏻","🕺🏼","🕺🏽","🕺🏾","🕺🏿","🕺","🖇️","🖊️","🖋️","🖌️","🖍️","🖐🏻","🖐🏼","🖐🏽","🖐🏾","🖐🏿","🖐️","🖕🏻","🖕🏼","🖕🏽","🖕🏾","🖕🏿","🖕","🖖🏻","🖖🏼","🖖🏽","🖖🏾","🖖🏿","🖖","🖤","🖥️","🖨️","🖱️","🖲️","🖼️","🗂️","🗃️","🗄️","🗑️","🗒️","🗓️","🗜️","🗝️","🗞️","🗡️","🗣️","🗨️","🗯️","🗳️","🗺️","🗻","🗼","🗽","🗾","🗿","😀","😁","😂","😃","😄","😅","😆","😇","😈","😉","😊","😋","😌","😍","😎","😏","😐","😑","😒","😓","😔","😕","😖","😗","😘","😙","😚","😛","😜","😝","😞","😟","😠","😡","😢","😣","😤","😥","😦","😧","😨","😩","😪","😫","😬","😭","😮","😯","😰","😱","😲","😳","😴","😵","😶","😷","😸","😹","😺","😻","😼","😽","😾","😿","🙀","🙁","🙂","🙃","🙄","🙅🏻‍♀️","🙅🏻‍♂️","🙅🏻","🙅🏼‍♀️","🙅🏼‍♂️","🙅🏼","🙅🏽‍♀️","🙅🏽‍♂️","🙅🏽","🙅🏾‍♀️","🙅🏾‍♂️","🙅🏾","🙅🏿‍♀️","🙅🏿‍♂️","🙅🏿","🙅‍♀️","🙅‍♂️","🙅","🙆🏻‍♀️","🙆🏻‍♂️","🙆🏻","🙆🏼‍♀️","🙆🏼‍♂️","🙆🏼","🙆🏽‍♀️","🙆🏽‍♂️","🙆🏽","🙆🏾‍♀️","🙆🏾‍♂️","🙆🏾","🙆🏿‍♀️","🙆🏿‍♂️","🙆🏿","🙆‍♀️","🙆‍♂️","🙆","🙇🏻‍♀️","🙇🏻‍♂️","🙇🏻","🙇🏼‍♀️","🙇🏼‍♂️","🙇🏼","🙇🏽‍♀️","🙇🏽‍♂️","🙇🏽","🙇🏾‍♀️","🙇🏾‍♂️","🙇🏾","🙇🏿‍♀️","🙇🏿‍♂️","🙇🏿","🙇‍♀️","🙇‍♂️","🙇","🙈","🙉","🙊","🙋🏻‍♀️","🙋🏻‍♂️","🙋🏻","🙋🏼‍♀️","🙋🏼‍♂️","🙋🏼","🙋🏽‍♀️","🙋🏽‍♂️","🙋🏽","🙋🏾‍♀️","🙋🏾‍♂️","🙋🏾","🙋🏿‍♀️","🙋🏿‍♂️","🙋🏿","🙋‍♀️","🙋‍♂️","🙋","🙌🏻","🙌🏼","🙌🏽","🙌🏾","🙌🏿","🙌","🙍🏻‍♀️","🙍🏻‍♂️","🙍🏻","🙍🏼‍♀️","🙍🏼‍♂️","🙍🏼","🙍🏽‍♀️","🙍🏽‍♂️","🙍🏽","🙍🏾‍♀️","🙍🏾‍♂️","🙍🏾","🙍🏿‍♀️","🙍🏿‍♂️","🙍🏿","🙍‍♀️","🙍‍♂️","🙍","🙎🏻‍♀️","🙎🏻‍♂️","🙎🏻","🙎🏼‍♀️","🙎🏼‍♂️","🙎🏼","🙎🏽‍♀️","🙎🏽‍♂️","🙎🏽","🙎🏾‍♀️","🙎🏾‍♂️","🙎🏾","🙎🏿‍♀️","🙎🏿‍♂️","🙎🏿","🙎‍♀️","🙎‍♂️","🙎","🙏🏻","🙏🏼","🙏🏽","🙏🏾","🙏🏿","🙏","🚀","🚁","🚂","🚃","🚄","🚅","🚆","🚇","🚈","🚉","🚊","🚋","🚌","🚍","🚎","🚏","🚐","🚑","🚒","🚓","🚔","🚕","🚖","🚗","🚘","🚙","🚚","🚛","🚜","🚝","🚞","🚟","🚠","🚡","🚢","🚣🏻‍♀️","🚣🏻‍♂️","🚣🏻","🚣🏼‍♀️","🚣🏼‍♂️","🚣🏼","🚣🏽‍♀️","🚣🏽‍♂️","🚣🏽","🚣🏾‍♀️","🚣🏾‍♂️","🚣🏾","🚣🏿‍♀️","🚣🏿‍♂️","🚣🏿","🚣‍♀️","🚣‍♂️","🚣","🚤","🚥","🚦","🚧","🚨","🚩","🚪","🚫","🚬","🚭","🚮","🚯","🚰","🚱","🚲","🚳","🚴🏻‍♀️","🚴🏻‍♂️","🚴🏻","🚴🏼‍♀️","🚴🏼‍♂️","🚴🏼","🚴🏽‍♀️","🚴🏽‍♂️","🚴🏽","🚴🏾‍♀️","🚴🏾‍♂️","🚴🏾","🚴🏿‍♀️","🚴🏿‍♂️","🚴🏿","🚴‍♀️","🚴‍♂️","🚴","🚵🏻‍♀️","🚵🏻‍♂️","🚵🏻","🚵🏼‍♀️","🚵🏼‍♂️","🚵🏼","🚵🏽‍♀️","🚵🏽‍♂️","🚵🏽","🚵🏾‍♀️","🚵🏾‍♂️","🚵🏾","🚵🏿‍♀️","🚵🏿‍♂️","🚵🏿","🚵‍♀️","🚵‍♂️","🚵","🚶🏻‍♀️","🚶🏻‍♂️","🚶🏻","🚶🏼‍♀️","🚶🏼‍♂️","🚶🏼","🚶🏽‍♀️","🚶🏽‍♂️","🚶🏽","🚶🏾‍♀️","🚶🏾‍♂️","🚶🏾","🚶🏿‍♀️","🚶🏿‍♂️","🚶🏿","🚶‍♀️","🚶‍♂️","🚶","🚷","🚸","🚹","🚺","🚻","🚼","🚽","🚾","🚿","🛀🏻","🛀🏼","🛀🏽","🛀🏾","🛀🏿","🛀","🛁","🛂","🛃","🛄","🛅","🛋️","🛌🏻","🛌🏼","🛌🏽","🛌🏾","🛌🏿","🛌","🛍️","🛎️","🛏️","🛐","🛑","🛒","🛕","🛠️","🛡️","🛢️","🛣️","🛤️","🛥️","🛩️","🛫","🛬","🛰️","🛳️","🛴","🛵","🛶","🛷","🛸","🛹","🛺","🟠","🟡","🟢","🟣","🟤","🟥","🟦","🟧","🟨","🟩","🟪","🟫","🤍","🤎","🤏🏻","🤏🏼","🤏🏽","🤏🏾","🤏🏿","🤏","🤐","🤑","🤒","🤓","🤔","🤕","🤖","🤗","🤘🏻","🤘🏼","🤘🏽","🤘🏾","🤘🏿","🤘","🤙🏻","🤙🏼","🤙🏽","🤙🏾","🤙🏿","🤙","🤚🏻","🤚🏼","🤚🏽","🤚🏾","🤚🏿","🤚","🤛🏻","🤛🏼","🤛🏽","🤛🏾","🤛🏿","🤛","🤜🏻","🤜🏼","🤜🏽","🤜🏾","🤜🏿","🤜","🤝","🤞🏻","🤞🏼","🤞🏽","🤞🏾","🤞🏿","🤞","🤟🏻","🤟🏼","🤟🏽","🤟🏾","🤟🏿","🤟","🤠","🤡","🤢","🤣","🤤","🤥","🤦🏻‍♀️","🤦🏻‍♂️","🤦🏻","🤦🏼‍♀️","🤦🏼‍♂️","🤦🏼","🤦🏽‍♀️","🤦🏽‍♂️","🤦🏽","🤦🏾‍♀️","🤦🏾‍♂️","🤦🏾","🤦🏿‍♀️","🤦🏿‍♂️","🤦🏿","🤦‍♀️","🤦‍♂️","🤦","🤧","🤨","🤩","🤪","🤫","🤬","🤭","🤮","🤯","🤰🏻","🤰🏼","🤰🏽","🤰🏾","🤰🏿","🤰","🤱🏻","🤱🏼","🤱🏽","🤱🏾","🤱🏿","🤱","🤲🏻","🤲🏼","🤲🏽","🤲🏾","🤲🏿","🤲","🤳🏻","🤳🏼","🤳🏽","🤳🏾","🤳🏿","🤳","🤴🏻","🤴🏼","🤴🏽","🤴🏾","🤴🏿","🤴","🤵🏻‍♀️","🤵🏻‍♂️","🤵🏻","🤵🏼‍♀️","🤵🏼‍♂️","🤵🏼","🤵🏽‍♀️","🤵🏽‍♂️","🤵🏽","🤵🏾‍♀️","🤵🏾‍♂️","🤵🏾","🤵🏿‍♀️","🤵🏿‍♂️","🤵🏿","🤵‍♀️","🤵‍♂️","🤵","🤶🏻","🤶🏼","🤶🏽","🤶🏾","🤶🏿","🤶","🤷🏻‍♀️","🤷🏻‍♂️","🤷🏻","🤷🏼‍♀️","🤷🏼‍♂️","🤷🏼","🤷🏽‍♀️","🤷🏽‍♂️","🤷🏽","🤷🏾‍♀️","🤷🏾‍♂️","🤷🏾","🤷🏿‍♀️","🤷🏿‍♂️","🤷🏿","🤷‍♀️","🤷‍♂️","🤷","🤸🏻‍♀️","🤸🏻‍♂️","🤸🏻","🤸🏼‍♀️","🤸🏼‍♂️","🤸🏼","🤸🏽‍♀️","🤸🏽‍♂️","🤸🏽","🤸🏾‍♀️","🤸🏾‍♂️","🤸🏾","🤸🏿‍♀️","🤸🏿‍♂️","🤸🏿","🤸‍♀️","🤸‍♂️","🤸","🤹🏻‍♀️","🤹🏻‍♂️","🤹🏻","🤹🏼‍♀️","🤹🏼‍♂️","🤹🏼","🤹🏽‍♀️","🤹🏽‍♂️","🤹🏽","🤹🏾‍♀️","🤹🏾‍♂️","🤹🏾","🤹🏿‍♀️","🤹🏿‍♂️","🤹🏿","🤹‍♀️","🤹‍♂️","🤹","🤺","🤼‍♀️","🤼‍♂️","🤼","🤽🏻‍♀️","🤽🏻‍♂️","🤽🏻","🤽🏼‍♀️","🤽🏼‍♂️","🤽🏼","🤽🏽‍♀️","🤽🏽‍♂️","🤽🏽","🤽🏾‍♀️","🤽🏾‍♂️","🤽🏾","🤽🏿‍♀️","🤽🏿‍♂️","🤽🏿","🤽‍♀️","🤽‍♂️","🤽","🤾🏻‍♀️","🤾🏻‍♂️","🤾🏻","🤾🏼‍♀️","🤾🏼‍♂️","🤾🏼","🤾🏽‍♀️","🤾🏽‍♂️","🤾🏽","🤾🏾‍♀️","🤾🏾‍♂️","🤾🏾","🤾🏿‍♀️","🤾🏿‍♂️","🤾🏿","🤾‍♀️","🤾‍♂️","🤾","🤿","🥀","🥁","🥂","🥃","🥄","🥅","🥇","🥈","🥉","🥊","🥋","🥌","🥍","🥎","🥏","🥐","🥑","🥒","🥓","🥔","🥕","🥖","🥗","🥘","🥙","🥚","🥛","🥜","🥝","🥞","🥟","🥠","🥡","🥢","🥣","🥤","🥥","🥦","🥧","🥨","🥩","🥪","🥫","🥬","🥭","🥮","🥯","🥰","🥱","🥳","🥴","🥵","🥶","🥺","🥻","🥼","🥽","🥾","🥿","🦀","🦁","🦂","🦃","🦄","🦅","🦆","🦇","🦈","🦉","🦊","🦋","🦌","🦍","🦎","🦏","🦐","🦑","🦒","🦓","🦔","🦕","🦖","🦗","🦘","🦙","🦚","🦛","🦜","🦝","🦞","🦟","🦠","🦡","🦢","🦥","🦦","🦧","🦨","🦩","🦪","🦮","🦯","🦰","🦱","🦲","🦳","🦴","🦵🏻","🦵🏼","🦵🏽","🦵🏾","🦵🏿","🦵","🦶🏻","🦶🏼","🦶🏽","🦶🏾","🦶🏿","🦶","🦷","🦸🏻‍♀️","🦸🏻‍♂️","🦸🏻","🦸🏼‍♀️","🦸🏼‍♂️","🦸🏼","🦸🏽‍♀️","🦸🏽‍♂️","🦸🏽","🦸🏾‍♀️","🦸🏾‍♂️","🦸🏾","🦸🏿‍♀️","🦸🏿‍♂️","🦸🏿","🦸‍♀️","🦸‍♂️","🦸","🦹🏻‍♀️","🦹🏻‍♂️","🦹🏻","🦹🏼‍♀️","🦹🏼‍♂️","🦹🏼","🦹🏽‍♀️","🦹🏽‍♂️","🦹🏽","🦹🏾‍♀️","🦹🏾‍♂️","🦹🏾","🦹🏿‍♀️","🦹🏿‍♂️","🦹🏿","🦹‍♀️","🦹‍♂️","🦹","🦺","🦻🏻","🦻🏼","🦻🏽","🦻🏾","🦻🏿","🦻","🦼","🦽","🦾","🦿","🧀","🧁","🧂","🧃","🧄","🧅","🧆","🧇","🧈","🧉","🧊","🧍🏻‍♀️","🧍🏻‍♂️","🧍🏻","🧍🏼‍♀️","🧍🏼‍♂️","🧍🏼","🧍🏽‍♀️","🧍🏽‍♂️","🧍🏽","🧍🏾‍♀️","🧍🏾‍♂️","🧍🏾","🧍🏿‍♀️","🧍🏿‍♂️","🧍🏿","🧍‍♀️","🧍‍♂️","🧍","🧎🏻‍♀️","🧎🏻‍♂️","🧎🏻","🧎🏼‍♀️","🧎🏼‍♂️","🧎🏼","🧎🏽‍♀️","🧎🏽‍♂️","🧎🏽","🧎🏾‍♀️","🧎🏾‍♂️","🧎🏾","🧎🏿‍♀️","🧎🏿‍♂️","🧎🏿","🧎‍♀️","🧎‍♂️","🧎","🧏🏻‍♀️","🧏🏻‍♂️","🧏🏻","🧏🏼‍♀️","🧏🏼‍♂️","🧏🏼","🧏🏽‍♀️","🧏🏽‍♂️","🧏🏽","🧏🏾‍♀️","🧏🏾‍♂️","🧏🏾","🧏🏿‍♀️","🧏🏿‍♂️","🧏🏿","🧏‍♀️","🧏‍♂️","🧏","🧐","🧑🏻‍🤝‍🧑🏻","🧑🏻","🧑🏼‍🤝‍🧑🏻","🧑🏼‍🤝‍🧑🏼","🧑🏼","🧑🏽‍🤝‍🧑🏻","🧑🏽‍🤝‍🧑🏼","🧑🏽‍🤝‍🧑🏽","🧑🏽","🧑🏾‍🤝‍🧑🏻","🧑🏾‍🤝‍🧑🏼","🧑🏾‍🤝‍🧑🏽","🧑🏾‍🤝‍🧑🏾","🧑🏾","🧑🏿‍🤝‍🧑🏻","🧑🏿‍🤝‍🧑🏼","🧑🏿‍🤝‍🧑🏽","🧑🏿‍🤝‍🧑🏾","🧑🏿‍🤝‍🧑🏿","🧑🏿","🧑‍🤝‍🧑","🧑","🧒🏻","🧒🏼","🧒🏽","🧒🏾","🧒🏿","🧒","🧓🏻","🧓🏼","🧓🏽","🧓🏾","🧓🏿","🧓","🧔🏻","🧔🏼","🧔🏽","🧔🏾","🧔🏿","🧔","🧕🏻","🧕🏼","🧕🏽","🧕🏾","🧕🏿","🧕","🧖🏻‍♀️","🧖🏻‍♂️","🧖🏻","🧖🏼‍♀️","🧖🏼‍♂️","🧖🏼","🧖🏽‍♀️","🧖🏽‍♂️","🧖🏽","🧖🏾‍♀️","🧖🏾‍♂️","🧖🏾","🧖🏿‍♀️","🧖🏿‍♂️","🧖🏿","🧖‍♀️","🧖‍♂️","🧖","🧗🏻‍♀️","🧗🏻‍♂️","🧗🏻","🧗🏼‍♀️","🧗🏼‍♂️","🧗🏼","🧗🏽‍♀️","🧗🏽‍♂️","🧗🏽","🧗🏾‍♀️","🧗🏾‍♂️","🧗🏾","🧗🏿‍♀️","🧗🏿‍♂️","🧗🏿","🧗‍♀️","🧗‍♂️","🧗","🧘🏻‍♀️","🧘🏻‍♂️","🧘🏻","🧘🏼‍♀️","🧘🏼‍♂️","🧘🏼","🧘🏽‍♀️","🧘🏽‍♂️","🧘🏽","🧘🏾‍♀️","🧘🏾‍♂️","🧘🏾","🧘🏿‍♀️","🧘🏿‍♂️","🧘🏿","🧘‍♀️","🧘‍♂️","🧘","🧙🏻‍♀️","🧙🏻‍♂️","🧙🏻","🧙🏼‍♀️","🧙🏼‍♂️","🧙🏼","🧙🏽‍♀️","🧙🏽‍♂️","🧙🏽","🧙🏾‍♀️","🧙🏾‍♂️","🧙🏾","🧙🏿‍♀️","🧙🏿‍♂️","🧙🏿","🧙‍♀️","🧙‍♂️","🧙","🧚🏻‍♀️","🧚🏻‍♂️","🧚🏻","🧚🏼‍♀️","🧚🏼‍♂️","🧚🏼","🧚🏽‍♀️","🧚🏽‍♂️","🧚🏽","🧚🏾‍♀️","🧚🏾‍♂️","🧚🏾","🧚🏿‍♀️","🧚🏿‍♂️","🧚🏿","🧚‍♀️","🧚‍♂️","🧚","🧛🏻‍♀️","🧛🏻‍♂️","🧛🏻","🧛🏼‍♀️","🧛🏼‍♂️","🧛🏼","🧛🏽‍♀️","🧛🏽‍♂️","🧛🏽","🧛🏾‍♀️","🧛🏾‍♂️","🧛🏾","🧛🏿‍♀️","🧛🏿‍♂️","🧛🏿","🧛‍♀️","🧛‍♂️","🧛","🧜🏻‍♀️","🧜🏻‍♂️","🧜🏻","🧜🏼‍♀️","🧜🏼‍♂️","🧜🏼","🧜🏽‍♀️","🧜🏽‍♂️","🧜🏽","🧜🏾‍♀️","🧜🏾‍♂️","🧜🏾","🧜🏿‍♀️","🧜🏿‍♂️","🧜🏿","🧜‍♀️","🧜‍♂️","🧜","🧝🏻‍♀️","🧝🏻‍♂️","🧝🏻","🧝🏼‍♀️","🧝🏼‍♂️","🧝🏼","🧝🏽‍♀️","🧝🏽‍♂️","🧝🏽","🧝🏾‍♀️","🧝🏾‍♂️","🧝🏾","🧝🏿‍♀️","🧝🏿‍♂️","🧝🏿","🧝‍♀️","🧝‍♂️","🧝","🧞‍♀️","🧞‍♂️","🧞","🧟‍♀️","🧟‍♂️","🧟","🧠","🧡","🧢","🧣","🧤","🧥","🧦","🧧","🧨","🧩","🧪","🧫","🧬","🧭","🧮","🧯","🧰","🧱","🧲","🧳","🧴","🧵","🧶","🧷","🧸","🧹","🧺","🧻","🧼","🧽","🧾","🧿","🩰","🩱","🩲","🩳","🩸","🩹","🩺","🪀","🪁","🪂","🪐","🪑","🪒","🪓","🪔","🪕","‼️","⁉️","™️","ℹ️","↔️","↕️","↖️","↗️","↘️","↙️","↩️","↪️","#⃣","⌚️","⌛️","⌨️","⏏️","⏩","⏪","⏫","⏬","⏭️","⏮️","⏯️","⏰","⏱️","⏲️","⏳","⏸️","⏹️","⏺️","Ⓜ️","▪️","▫️","▶️","◀️","◻️","◼️","◽️","◾️","☀️","☁️","☂️","☃️","☄️","☎️","☑️","☔️","☕️","☘️","☝🏻","☝🏼","☝🏽","☝🏾","☝🏿","☝️","☠️","☢️","☣️","☦️","☪️","☮️","☯️","☸️","☹️","☺️","♀️","♂️","♈️","♉️","♊️","♋️","♌️","♍️","♎️","♏️","♐️","♑️","♒️","♓️","♟️","♠️","♣️","♥️","♦️","♨️","♻️","♾","♿️","⚒️","⚓️","⚔️","⚕️","⚖️","⚗️","⚙️","⚛️","⚜️","⚠️","⚡️","⚪️","⚫️","⚰️","⚱️","⚽️","⚾️","⛄️","⛅️","⛈️","⛎","⛏️","⛑️","⛓️","⛔️","⛩️","⛪️","⛰️","⛱️","⛲️","⛳️","⛴️","⛵️","⛷🏻","⛷🏼","⛷🏽","⛷🏾","⛷🏿","⛷️","⛸️","⛹🏻‍♀️","⛹🏻‍♂️","⛹🏻","⛹🏼‍♀️","⛹🏼‍♂️","⛹🏼","⛹🏽‍♀️","⛹🏽‍♂️","⛹🏽","⛹🏾‍♀️","⛹🏾‍♂️","⛹🏾","⛹🏿‍♀️","⛹🏿‍♂️","⛹🏿","⛹️‍♀️","⛹️‍♂️","⛹️","⛺️","⛽️","✂️","✅","✈️","✉️","✊🏻","✊🏼","✊🏽","✊🏾","✊🏿","✊","✋🏻","✋🏼","✋🏽","✋🏾","✋🏿","✋","✌🏻","✌🏼","✌🏽","✌🏾","✌🏿","✌️","✍🏻","✍🏼","✍🏽","✍🏾","✍🏿","✍️","✏️","✒️","✔️","✖️","✝️","✡️","✨","✳️","✴️","❄️","❇️","❌","❎","❓","❔","❕","❗️","❣️","❤️","➕","➖","➗","➡️","➰","➿","⤴️","⤵️","*⃣","⬅️","⬆️","⬇️","⬛️","⬜️","⭐️","⭕️","0⃣","〰️","〽️","1⃣","2⃣","㊗️","㊙️","3⃣","4⃣","5⃣","6⃣","7⃣","8⃣","9⃣","©️","®️",""]},57235:(S,E,k)=>{"use strict";const w=k(83881);const N=k(22471);S.exports=class AliasFieldPlugin{constructor(S,E,k){this.source=S;this.field=E;this.target=k}apply(S){const E=S.ensureHook(this.target);S.getHook(this.source).tapAsync("AliasFieldPlugin",((k,j,q)=>{if(!k.descriptionFileData)return q();const ee=N(S,k);if(!ee)return q();const te=w.getField(k.descriptionFileData,this.field);if(typeof te!=="object"){if(j.log)j.log("Field '"+this.field+"' doesn't contain a valid alias configuration");return q()}const ne=te[ee];const ae=te[ee.replace(/^\.\//,"")];const _e=typeof ne!=="undefined"?ne:ae;if(_e===ee)return q();if(_e===undefined)return q();if(_e===false){const S=Object.assign({},k,{path:false});return q(null,S)}const ve=Object.assign({},k,{path:k.descriptionFileRoot,request:_e});S.doResolve(E,ve,"aliased from description file "+k.descriptionFilePath+" with mapping '"+ee+"' to '"+_e+"'",j,((S,E)=>{if(S)return q(S);if(E===undefined)return q(null,null);q(null,E)}))}))}}},22002:S=>{"use strict";function startsWith(S,E){const k=S.length;const w=E.length;if(w>k){return false}let N=-1;while(++N{const j=k.request||k.path;if(!j)return N();for(const q of this.options){if(j===q.name||!q.onlyModule&&startsWith(j,q.name+"/")){if(j!==q.alias&&!startsWith(j,q.alias+"/")){const ee=q.alias+j.substr(q.name.length);const te=Object.assign({},k,{request:ee});return S.doResolve(E,te,"aliased with mapping '"+q.name+"': '"+q.alias+"' to '"+ee+"'",w,((S,E)=>{if(S)return N(S);if(E===undefined)return N(null,null);N(null,E)}))}}}return N()}))}}},40803:S=>{"use strict";S.exports=class AppendPlugin{constructor(S,E,k){this.source=S;this.appending=E;this.target=k}apply(S){const E=S.ensureHook(this.target);S.getHook(this.source).tapAsync("AppendPlugin",((k,w,N)=>{const j=Object.assign({},k,{path:k.path+this.appending,relativePath:k.relativePath&&k.relativePath+this.appending});S.doResolve(E,j,this.appending,w,N)}))}}},67703:S=>{"use strict";class Storage{constructor(S){this.duration=S;this.running=new Map;this.data=new Map;this.levels=[];if(S>0){this.levels.push(new Set,new Set,new Set,new Set,new Set,new Set,new Set,new Set,new Set);for(let E=8e3;E0&&!this.nextTick)this.interval=setInterval(this.tick,Math.floor(this.duration/this.levels.length))}finished(S,E,k){const w=this.running.get(S);this.running.delete(S);if(this.duration>0){this.data.set(S,[E,k]);const w=this.levels[0];this.count-=w.size;w.add(S);this.count+=w.size;this.ensureTick()}for(let S=0;S0){this.data.set(S,[E,k]);const w=this.levels[0];this.count-=w.size;w.add(S);this.count+=w.size;this.ensureTick()}}provide(S,E,k){if(typeof S!=="string"){k(new TypeError("path must be a string"));return}let w=this.running.get(S);if(w){w.push(k);return}if(this.duration>0){this.checkTicks();const E=this.data.get(S);if(E){return process.nextTick((()=>{k.apply(null,E)}))}}this.running.set(S,w=[k]);E(S,((E,k)=>{this.finished(S,E,k)}))}provideSync(S,E){if(typeof S!=="string"){throw new TypeError("path must be a string")}if(this.duration>0){this.checkTicks();const E=this.data.get(S);if(E){if(E[0])throw E[0];return E[1]}}let k;try{k=E(S)}catch(E){this.finishedSync(S,E);throw E}this.finishedSync(S,null,k);return k}tick(){const S=this.levels.pop();for(let E of S){this.data.delete(E)}this.count-=S.size;S.clear();this.levels.unshift(S);if(this.count===0){clearInterval(this.interval);this.interval=null;this.nextTick=null;return true}else if(this.nextTick){this.nextTick+=Math.floor(this.duration/this.levels.length);const S=(new Date).getTime();if(this.nextTick>S){this.nextTick=null;this.interval=setInterval(this.tick,Math.floor(this.duration/this.levels.length));return true}}else if(this.passive){clearInterval(this.interval);this.interval=null;this.nextTick=(new Date).getTime()+Math.floor(this.duration/this.levels.length)}else{this.passive=true}}checkTicks(){this.passive=false;if(this.nextTick){while(!this.tick());}}purge(S){if(!S){this.count=0;clearInterval(this.interval);this.nextTick=null;this.data.clear();this.levels.forEach((S=>{S.clear()}))}else if(typeof S==="string"){for(let E of this.data.keys()){if(E.startsWith(S))this.data.delete(E)}}else{for(let E=S.length-1;E>=0;E--){this.purge(S[E])}}}}S.exports=class CachedInputFileSystem{constructor(S,E){this.fileSystem=S;this._statStorage=new Storage(E);this._readdirStorage=new Storage(E);this._readFileStorage=new Storage(E);this._readJsonStorage=new Storage(E);this._readlinkStorage=new Storage(E);this._stat=this.fileSystem.stat?this.fileSystem.stat.bind(this.fileSystem):null;if(!this._stat)this.stat=null;this._statSync=this.fileSystem.statSync?this.fileSystem.statSync.bind(this.fileSystem):null;if(!this._statSync)this.statSync=null;this._readdir=this.fileSystem.readdir?this.fileSystem.readdir.bind(this.fileSystem):null;if(!this._readdir)this.readdir=null;this._readdirSync=this.fileSystem.readdirSync?this.fileSystem.readdirSync.bind(this.fileSystem):null;if(!this._readdirSync)this.readdirSync=null;this._readFile=this.fileSystem.readFile?this.fileSystem.readFile.bind(this.fileSystem):null;if(!this._readFile)this.readFile=null;this._readFileSync=this.fileSystem.readFileSync?this.fileSystem.readFileSync.bind(this.fileSystem):null;if(!this._readFileSync)this.readFileSync=null;if(this.fileSystem.readJson){this._readJson=this.fileSystem.readJson.bind(this.fileSystem)}else if(this.readFile){this._readJson=(S,E)=>{this.readFile(S,((S,k)=>{if(S)return E(S);let w;try{w=JSON.parse(k.toString("utf-8"))}catch(S){return E(S)}E(null,w)}))}}else{this.readJson=null}if(this.fileSystem.readJsonSync){this._readJsonSync=this.fileSystem.readJsonSync.bind(this.fileSystem)}else if(this.readFileSync){this._readJsonSync=S=>{const E=this.readFileSync(S);const k=JSON.parse(E.toString("utf-8"));return k}}else{this.readJsonSync=null}this._readlink=this.fileSystem.readlink?this.fileSystem.readlink.bind(this.fileSystem):null;if(!this._readlink)this.readlink=null;this._readlinkSync=this.fileSystem.readlinkSync?this.fileSystem.readlinkSync.bind(this.fileSystem):null;if(!this._readlinkSync)this.readlinkSync=null}stat(S,E){this._statStorage.provide(S,this._stat,E)}readdir(S,E){this._readdirStorage.provide(S,this._readdir,E)}readFile(S,E){this._readFileStorage.provide(S,this._readFile,E)}readJson(S,E){this._readJsonStorage.provide(S,this._readJson,E)}readlink(S,E){this._readlinkStorage.provide(S,this._readlink,E)}statSync(S){return this._statStorage.provideSync(S,this._statSync)}readdirSync(S){return this._readdirStorage.provideSync(S,this._readdirSync)}readFileSync(S){return this._readFileStorage.provideSync(S,this._readFileSync)}readJsonSync(S){return this._readJsonStorage.provideSync(S,this._readJsonSync)}readlinkSync(S){return this._readlinkStorage.provideSync(S,this._readlinkSync)}purge(S){this._statStorage.purge(S);this._readdirStorage.purge(S);this._readFileStorage.purge(S);this._readlinkStorage.purge(S);this._readJsonStorage.purge(S)}}},35810:(S,E,k)=>{"use strict";const w=k(24426);const N=k(83881);const j=k(43556);S.exports=class ConcordExtensionsPlugin{constructor(S,E,k){this.source=S;this.options=E;this.target=k}apply(S){const E=S.ensureHook(this.target);S.getHook(this.source).tapAsync("ConcordExtensionsPlugin",((k,q,ee)=>{const te=N.getField(k.descriptionFileData,"concord");if(!te)return ee();const ne=w.getExtensions(k.context,te);if(!ne)return ee();j(ne,((w,N)=>{const j=Object.assign({},k,{path:k.path+w,relativePath:k.relativePath&&k.relativePath+w});S.doResolve(E,j,"concord extension: "+w,q,N)}),((S,E)=>{if(S)return ee(S);if(E===undefined)return ee(null,null);ee(null,E)}))}))}}},96683:(S,E,k)=>{"use strict";const w=k(85622);const N=k(24426);const j=k(83881);S.exports=class ConcordMainPlugin{constructor(S,E,k){this.source=S;this.options=E;this.target=k}apply(S){const E=S.ensureHook(this.target);S.getHook(this.source).tapAsync("ConcordMainPlugin",((k,q,ee)=>{if(k.path!==k.descriptionFileRoot)return ee();const te=j.getField(k.descriptionFileData,"concord");if(!te)return ee();const ne=N.getMain(k.context,te);if(!ne)return ee();const ae=Object.assign({},k,{request:ne});const _e=w.basename(k.descriptionFilePath);return S.doResolve(E,ae,"use "+ne+" from "+_e,q,ee)}))}}},27322:(S,E,k)=>{"use strict";const w=k(24426);const N=k(83881);const j=k(22471);S.exports=class ConcordModulesPlugin{constructor(S,E,k){this.source=S;this.options=E;this.target=k}apply(S){const E=S.ensureHook(this.target);S.getHook(this.source).tapAsync("ConcordModulesPlugin",((k,q,ee)=>{const te=j(S,k);if(!te)return ee();const ne=N.getField(k.descriptionFileData,"concord");if(!ne)return ee();const ae=w.matchModule(k.context,ne,te);if(ae===te)return ee();if(ae===undefined)return ee();if(ae===false){const S=Object.assign({},k,{path:false});return ee(null,S)}const _e=Object.assign({},k,{path:k.descriptionFileRoot,request:ae});S.doResolve(E,_e,"aliased from description file "+k.descriptionFilePath+" with mapping '"+te+"' to '"+ae+"'",q,((S,E)=>{if(S)return ee(S);if(E===undefined)return ee(null,null);ee(null,E)}))}))}}},65943:(S,E,k)=>{"use strict";const w=k(83881);S.exports=class DescriptionFilePlugin{constructor(S,E,k){this.source=S;this.filenames=[].concat(E);this.target=k}apply(S){const E=S.ensureHook(this.target);S.getHook(this.source).tapAsync("DescriptionFilePlugin",((k,N,j)=>{const q=k.path;w.loadDescriptionFile(S,q,this.filenames,N,((w,ee)=>{if(w)return j(w);if(!ee){if(N.missing){this.filenames.forEach((E=>{N.missing.add(S.join(q,E))}))}if(N.log)N.log("No description file found");return j()}const te="."+k.path.substr(ee.directory.length).replace(/\\/g,"/");const ne=Object.assign({},k,{descriptionFilePath:ee.path,descriptionFileData:ee.content,descriptionFileRoot:ee.directory,relativePath:te});S.doResolve(E,ne,"using description file: "+ee.path+" (relative path: "+te+")",N,((S,E)=>{if(S)return j(S);if(E===undefined)return j(null,null);j(null,E)}))}))}))}}},83881:(S,E,k)=>{"use strict";const w=k(43556);function loadDescriptionFile(S,E,k,N,j){(function findDescriptionFile(){w(k,((k,w)=>{const j=S.join(E,k);if(S.fileSystem.readJson){S.fileSystem.readJson(j,((S,E)=>{if(S){if(typeof S.code!=="undefined")return w();return onJson(S)}onJson(null,E)}))}else{S.fileSystem.readFile(j,((S,E)=>{if(S)return w();let k;try{k=JSON.parse(E)}catch(S){onJson(S)}onJson(null,k)}))}function onJson(S,k){if(S){if(N.log)N.log(j+" (directory description file): "+S);else S.message=j+" (directory description file): "+S;return w(S)}w(null,{content:k,directory:E,path:j})}}),((S,k)=>{if(S)return j(S);if(k){return j(null,k)}else{E=cdUp(E);if(!E){return j()}else{return findDescriptionFile()}}}))})()}function getField(S,E){if(!S)return undefined;if(Array.isArray(E)){let k=S;for(let S=0;S{"use strict";S.exports=class DirectoryExistsPlugin{constructor(S,E){this.source=S;this.target=E}apply(S){const E=S.ensureHook(this.target);S.getHook(this.source).tapAsync("DirectoryExistsPlugin",((k,w,N)=>{const j=S.fileSystem;const q=k.path;j.stat(q,((j,ee)=>{if(j||!ee){if(w.missing)w.missing.add(q);if(w.log)w.log(q+" doesn't exist");return N()}if(!ee.isDirectory()){if(w.missing)w.missing.add(q);if(w.log)w.log(q+" is not a directory");return N()}S.doResolve(E,k,"existing directory",w,N)}))}))}}},87876:S=>{"use strict";S.exports=class FileExistsPlugin{constructor(S,E){this.source=S;this.target=E}apply(S){const E=S.ensureHook(this.target);const k=S.fileSystem;S.getHook(this.source).tapAsync("FileExistsPlugin",((w,N,j)=>{const q=w.path;k.stat(q,((k,ee)=>{if(k||!ee){if(N.missing)N.missing.add(q);if(N.log)N.log(q+" doesn't exist");return j()}if(!ee.isFile()){if(N.missing)N.missing.add(q);if(N.log)N.log(q+" is not a file");return j()}S.doResolve(E,w,"existing file: "+q,N,j)}))}))}}},93072:S=>{"use strict";S.exports=class FileKindPlugin{constructor(S,E){this.source=S;this.target=E}apply(S){const E=S.ensureHook(this.target);S.getHook(this.source).tapAsync("FileKindPlugin",((k,w,N)=>{if(k.directory)return N();const j=Object.assign({},k);delete j.directory;S.doResolve(E,j,null,w,N)}))}}},88277:S=>{"use strict";S.exports=class JoinRequestPlugin{constructor(S,E){this.source=S;this.target=E}apply(S){const E=S.ensureHook(this.target);S.getHook(this.source).tapAsync("JoinRequestPlugin",((k,w,N)=>{const j=Object.assign({},k,{path:S.join(k.path,k.request),relativePath:k.relativePath&&S.join(k.relativePath,k.request),request:undefined});S.doResolve(E,j,null,w,N)}))}}},26713:(S,E,k)=>{"use strict";const w=k(85622);S.exports=class MainFieldPlugin{constructor(S,E,k){this.source=S;this.options=E;this.target=k}apply(S){const E=S.ensureHook(this.target);S.getHook(this.source).tapAsync("MainFieldPlugin",((k,N,j)=>{if(k.path!==k.descriptionFileRoot)return j();if(k.alreadyTriedMainField===k.descriptionFilePath)return j();const q=k.descriptionFileData;const ee=w.basename(k.descriptionFilePath);let te;const ne=this.options.name;if(Array.isArray(ne)){let S=q;for(let E=0;E{"use strict";S.exports=class ModuleAppendPlugin{constructor(S,E,k){this.source=S;this.appending=E;this.target=k}apply(S){const E=S.ensureHook(this.target);S.getHook(this.source).tapAsync("ModuleAppendPlugin",((k,w,N)=>{const j=k.request.indexOf("/"),q=k.request.indexOf("\\");const ee=j<0?q:q<0?j:j{"use strict";S.exports=class ModuleKindPlugin{constructor(S,E){this.source=S;this.target=E}apply(S){const E=S.ensureHook(this.target);S.getHook(this.source).tapAsync("ModuleKindPlugin",((k,w,N)=>{if(!k.module)return N();const j=Object.assign({},k);delete j.module;S.doResolve(E,j,"resolve as module",w,((S,E)=>{if(S)return N(S);if(E===undefined)return N(null,null);N(null,E)}))}))}}},76067:(S,E,k)=>{"use strict";const w=k(43556);const N=k(69835);S.exports=class ModulesInHierachicDirectoriesPlugin{constructor(S,E,k){this.source=S;this.directories=[].concat(E);this.target=k}apply(S){const E=S.ensureHook(this.target);S.getHook(this.source).tapAsync("ModulesInHierachicDirectoriesPlugin",((k,j,q)=>{const ee=S.fileSystem;const te=N(k.path).paths.map((E=>this.directories.map((k=>S.join(E,k))))).reduce(((S,E)=>{S.push.apply(S,E);return S}),[]);w(te,((w,N)=>{ee.stat(w,((q,ee)=>{if(!q&&ee&&ee.isDirectory()){const q=Object.assign({},k,{path:w,request:"./"+k.request});const ee="looking for modules in "+w;return S.doResolve(E,q,ee,j,N)}if(j.log)j.log(w+" doesn't exist or is not a directory");if(j.missing)j.missing.add(w);return N()}))}),q)}))}}},22433:S=>{"use strict";S.exports=class ModulesInRootPlugin{constructor(S,E,k){this.source=S;this.path=E;this.target=k}apply(S){const E=S.ensureHook(this.target);S.getHook(this.source).tapAsync("ModulesInRootPlugin",((k,w,N)=>{const j=Object.assign({},k,{path:this.path,request:"./"+k.request});S.doResolve(E,j,"looking for modules in "+this.path,w,N)}))}}},12276:S=>{"use strict";S.exports=class NextPlugin{constructor(S,E){this.source=S;this.target=E}apply(S){const E=S.ensureHook(this.target);S.getHook(this.source).tapAsync("NextPlugin",((k,w,N)=>{S.doResolve(E,k,null,w,N)}))}}},37365:(S,E,k)=>{"use strict";const w=k(15808);class NodeJsInputFileSystem{readdir(S,E){w.readdir(S,((S,k)=>{E(S,k&&k.map((S=>S.normalize?S.normalize("NFC"):S)))}))}readdirSync(S){const E=w.readdirSync(S);return E&&E.map((S=>S.normalize?S.normalize("NFC"):S))}}const N=["stat","statSync","readFile","readFileSync","readlink","readlinkSync"];for(const S of N){Object.defineProperty(NodeJsInputFileSystem.prototype,S,{configurable:true,writable:true,value:w[S].bind(w)})}S.exports=NodeJsInputFileSystem},71121:S=>{"use strict";S.exports=class ParsePlugin{constructor(S,E){this.source=S;this.target=E}apply(S){const E=S.ensureHook(this.target);S.getHook(this.source).tapAsync("ParsePlugin",((k,w,N)=>{const j=S.parse(k.request);const q=Object.assign({},k,j);if(k.query&&!j.query){q.query=k.query}if(j&&w.log){if(j.module)w.log("Parsed request is a module");if(j.directory)w.log("Parsed request is a directory")}S.doResolve(E,q,null,w,N)}))}}},33679:(S,E,k)=>{"use strict";const w=k(31669);const N=k(53460);const j=k(13575);const q=k(42980);const ee=k(52039);const te=k(52227);const ne=/^\.$|^\.[\\/]|^\.\.$|^\.\.[\\/]|^\/|^[A-Z]:[\\/]/i;const ae=/[\\/]$/i;const _e=k(89987);const ve=new Map;const Ee=k(48333);function withName(S,E){E.name=S;return E}function toCamelCase(S){return S.replace(/-([a-z])/g,(S=>S.substr(1).toUpperCase()))}const Te=w.deprecate(((S,E)=>{S.add(E)}),"Resolver: 'missing' is now a Set. Use add instead of push.");const Ce=w.deprecate((S=>S),"Resolver: The callback argument was splitted into resolveContext and callback.");const we=w.deprecate((S=>S),"Resolver#doResolve: The type arguments (string) is now a hook argument (Hook). Pass a reference to the hook instead.");class Resolver extends N{constructor(S){super();this.fileSystem=S;this.hooks={resolveStep:withName("resolveStep",new j(["hook","request"])),noResolve:withName("noResolve",new j(["request","error"])),resolve:withName("resolve",new q(["request","resolveContext"])),result:new ee(["result","resolveContext"])};this._pluginCompat.tap("Resolver: before/after",(S=>{if(/^before-/.test(S.name)){S.name=S.name.substr(7);S.stage=-10}else if(/^after-/.test(S.name)){S.name=S.name.substr(6);S.stage=10}}));this._pluginCompat.tap("Resolver: step hooks",(S=>{const E=S.name;const k=!/^resolve(-s|S)tep$|^no(-r|R)esolve$/.test(E);if(k){S.async=true;this.ensureHook(E);const k=S.fn;S.fn=(S,E,w)=>{const innerCallback=(S,E)=>{if(S)return w(S);if(E!==undefined)return w(null,E);w()};for(const S in E){innerCallback[S]=E[S]}k.call(this,S,innerCallback)}}}))}ensureHook(S){if(typeof S!=="string")return S;S=toCamelCase(S);if(/^before/.test(S)){return this.ensureHook(S[6].toLowerCase()+S.substr(7)).withOptions({stage:-10})}if(/^after/.test(S)){return this.ensureHook(S[5].toLowerCase()+S.substr(6)).withOptions({stage:10})}const E=this.hooks[S];if(!E){return this.hooks[S]=withName(S,new q(["request","resolveContext"]))}return E}getHook(S){if(typeof S!=="string")return S;S=toCamelCase(S);if(/^before/.test(S)){return this.getHook(S[6].toLowerCase()+S.substr(7)).withOptions({stage:-10})}if(/^after/.test(S)){return this.getHook(S[5].toLowerCase()+S.substr(6)).withOptions({stage:10})}const E=this.hooks[S];if(!E){throw new Error(`Hook ${S} doesn't exist`)}return E}resolveSync(S,E,k){let w,N,j=false;this.resolve(S,E,k,{},((S,E)=>{w=S;N=E;j=true}));if(!j)throw new Error("Cannot 'resolveSync' because the fileSystem is not sync. Use 'resolve'!");if(w)throw w;return N}resolve(S,E,k,w,N){if(typeof N!=="function"){N=Ce(w)}const j={context:S,path:E,request:k};const q="resolve '"+k+"' in '"+E+"'";return this.doResolve(this.hooks.resolve,j,q,{missing:w.missing,stack:w.stack},((S,E)=>{if(!S&&E){return N(null,E.path===false?false:E.path+(E.query||""),E)}const k=new Set;k.push=S=>Te(k,S);const ee=[];return this.doResolve(this.hooks.resolve,j,q,{log:S=>{if(w.log){w.log(S)}ee.push(S)},missing:k,stack:w.stack},((S,E)=>{if(S)return N(S);const w=new Error("Can't "+q);w.details=ee.join("\n");w.missing=Array.from(k);this.hooks.noResolve.call(j,w);return N(w)}))}))}doResolve(S,E,k,w,N){if(typeof N!=="function"){N=Ce(w)}if(typeof S==="string"){const E=toCamelCase(S);S=we(this.hooks[E]);if(!S){throw new Error(`Hook "${E}" doesn't exist`)}}if(typeof N!=="function")throw new Error("callback is not a function "+Array.from(arguments));if(!w)throw new Error("resolveContext is not an object "+Array.from(arguments));const j=S.name+": ("+E.path+") "+(E.request||"")+(E.query||"")+(E.directory?" directory":"")+(E.module?" module":"");let q;if(w.stack){q=new Set(w.stack);if(w.stack.has(j)){const S=new Error("Recursion in resolving\nStack:\n "+Array.from(q).join("\n "));S.recursion=true;if(w.log)w.log("abort resolving because of recursion");return N(S)}q.add(j)}else{q=new Set([j])}this.hooks.resolveStep.call(S,E);if(S.isUsed()){const j=te({log:w.log,missing:w.missing,stack:q},k);return S.callAsync(E,j,((S,E)=>{if(S)return N(S);if(E)return N(null,E);N()}))}else{N()}}parse(S){if(S==="")return null;const E={request:"",query:"",module:false,directory:false,file:false};const k=S.indexOf("?");if(k===0){E.query=S}else if(k>0){E.request=S.slice(0,k);E.query=S.slice(k)}else{E.request=S}if(E.request){E.module=this.isModule(E.request);E.directory=this.isDirectory(E.request);if(E.directory){E.request=E.request.substr(0,E.request.length-1)}}return E}isModule(S){return!ne.test(S)}isDirectory(S){return ae.test(S)}join(S,E){let k;let w=ve.get(S);if(typeof w==="undefined"){ve.set(S,w=new Map)}else{k=w.get(E);if(typeof k!=="undefined")return k}k=_e(S,E);w.set(E,k);return k}normalize(S){return Ee(S)}}S.exports=Resolver},57934:(S,E,k)=>{"use strict";const w=k(33679);const N=k(64407);const j=k(71121);const q=k(65943);const ee=k(12276);const te=k(68029);const ne=k(36642);const ae=k(93072);const _e=k(88277);const ve=k(76067);const Ee=k(22433);const Te=k(22002);const Ce=k(57235);const we=k(35810);const Ne=k(96683);const Ie=k(27322);const Fe=k(32575);const Oe=k(87876);const Me=k(44362);const Re=k(26713);const Le=k(55187);const Be=k(40803);const je=k(16617);const ze=k(77398);const Ue=k(46182);const We=k(32766);const $e=k(62216);E.createResolver=function(S){let E=S.modules||["node_modules"];const k=S.descriptionFiles||["package.json"];const qe=S.plugins&&S.plugins.slice()||[];let Ve=S.mainFields||["main"];const He=S.aliasFields||[];const Ge=S.mainFiles||["index"];let Je=S.extensions||[".js",".json",".node"];const Ke=S.enforceExtension||false;let Qe=S.moduleExtensions||[];const Xe=S.enforceModuleExtension||false;let Ye=S.alias||[];const Ze=typeof S.symlinks!=="undefined"?S.symlinks:true;const et=S.resolveToContext||false;const tt=S.roots||[];const rt=S.ignoreRootsErrors||false;const nt=S.preferAbsolute||false;const it=S.restrictions||[];let ot=S.unsafeCache||false;const st=typeof S.cacheWithContext!=="undefined"?S.cacheWithContext:true;const ct=S.concord||false;const ut=S.cachePredicate||function(){return true};const dt=S.fileSystem;const pt=S.useSyncFileSystemCalls;let ft=S.resolver;if(!ft){ft=new w(pt?new N(dt):dt)}Je=[].concat(Je);Qe=[].concat(Qe);E=mergeFilteredToArray([].concat(E),(S=>!isAbsolutePath(S)));Ve=Ve.map((S=>{if(typeof S==="string"||Array.isArray(S)){S={name:S,forceRelative:true}}return S}));if(typeof Ye==="object"&&!Array.isArray(Ye)){Ye=Object.keys(Ye).map((S=>{let E=false;let k=Ye[S];if(/\$$/.test(S)){E=true;S=S.substr(0,S.length-1)}if(typeof k==="string"){k={alias:k}}k=Object.assign({name:S,onlyModule:E},k);return k}))}if(ot&&typeof ot!=="object"){ot={}}ft.ensureHook("resolve");ft.ensureHook("parsedResolve");ft.ensureHook("describedResolve");ft.ensureHook("rawModule");ft.ensureHook("module");ft.ensureHook("relative");ft.ensureHook("describedRelative");ft.ensureHook("directory");ft.ensureHook("existingDirectory");ft.ensureHook("undescribedRawFile");ft.ensureHook("rawFile");ft.ensureHook("file");ft.ensureHook("existingFile");ft.ensureHook("resolved");if(ot){qe.push(new $e("resolve",ut,ot,st,"new-resolve"));qe.push(new j("new-resolve","parsed-resolve"))}else{qe.push(new j("resolve","parsed-resolve"))}qe.push(new q("parsed-resolve",k,"described-resolve"));qe.push(new ee("after-parsed-resolve","described-resolve"));if(Ye.length>0)qe.push(new Te("described-resolve",Ye,"resolve"));if(ct){qe.push(new Ie("described-resolve",{},"resolve"))}He.forEach((S=>{qe.push(new Ce("described-resolve",S,"resolve"))}));qe.push(new ne("after-described-resolve","raw-module"));if(nt){qe.push(new _e("after-described-resolve","relative"))}tt.forEach((S=>{qe.push(new je("after-described-resolve",S,"relative",rt))}));if(!nt){qe.push(new _e("after-described-resolve","relative"))}Qe.forEach((S=>{qe.push(new We("raw-module",S,"module"))}));if(!Xe)qe.push(new te("raw-module",null,"module"));E.forEach((S=>{if(Array.isArray(S))qe.push(new ve("module",S,"resolve"));else qe.push(new Ee("module",S,"resolve"))}));qe.push(new q("relative",k,"described-relative"));qe.push(new ee("after-relative","described-relative"));qe.push(new ae("described-relative","raw-file"));qe.push(new te("described-relative","as directory","directory"));qe.push(new Fe("directory","existing-directory"));if(et){qe.push(new ee("existing-directory","resolved"))}else{if(ct){qe.push(new Ne("existing-directory",{},"resolve"))}Ve.forEach((S=>{qe.push(new Re("existing-directory",S,"resolve"))}));Ge.forEach((S=>{qe.push(new Le("existing-directory",S,"undescribed-raw-file"))}));qe.push(new q("undescribed-raw-file",k,"raw-file"));qe.push(new ee("after-undescribed-raw-file","raw-file"));if(!Ke){qe.push(new te("raw-file","no extension","file"))}if(ct){qe.push(new we("raw-file",{},"file"))}Je.forEach((S=>{qe.push(new Be("raw-file",S,"file"))}));if(Ye.length>0)qe.push(new Te("file",Ye,"resolve"));if(ct){qe.push(new Ie("file",{},"resolve"))}He.forEach((S=>{qe.push(new Ce("file",S,"resolve"))}));if(Ze)qe.push(new Me("file","relative"));qe.push(new Oe("file","existing-file"));qe.push(new ee("existing-file","resolved"))}if(it.length>0){qe.push(new ze(ft.hooks.resolved,it))}qe.push(new Ue(ft.hooks.resolved));qe.forEach((S=>{S.apply(ft)}));return ft};function mergeFilteredToArray(S,E){return S.reduce(((S,k)=>{if(E(k)){const E=S[S.length-1];if(Array.isArray(E)){E.push(k)}else{S.push([k])}return S}else{S.push(k);return S}}),[])}function isAbsolutePath(S){return/^[A-Z]:|^\//.test(S)}},77398:S=>{"use strict";const E="/".charCodeAt(0);const k="\\".charCodeAt(0);const isInside=(S,w)=>{if(!S.startsWith(w))return false;if(S.length===w.length)return true;const N=S.charCodeAt(w.length);return N===E||N===k};S.exports=class RestrictionsPlugin{constructor(S,E){this.source=S;this.restrictions=E}apply(S){S.getHook(this.source).tapAsync("RestrictionsPlugin",((S,E,k)=>{if(typeof S.path==="string"){const w=S.path;for(let S=0;S{"use strict";S.exports=class ResultPlugin{constructor(S){this.source=S}apply(S){this.source.tapAsync("ResultPlugin",((E,k,w)=>{const N=Object.assign({},E);if(k.log)k.log("reporting result "+N.path);S.hooks.result.callAsync(N,k,(S=>{if(S)return w(S);w(null,N)}))}))}}},16617:S=>{"use strict";class RootPlugin{constructor(S,E,k,w){this.root=E;this.source=S;this.target=k;this._ignoreErrors=w}apply(S){const E=S.ensureHook(this.target);S.getHook(this.source).tapAsync("RootPlugin",((k,w,N)=>{const j=k.request;if(!j)return N();if(!j.startsWith("/"))return N();const q=S.join(this.root,j.slice(1));const ee=Object.assign(k,{path:q,relativePath:k.relativePath&&q});S.doResolve(E,ee,`root path ${this.root}`,w,this._ignoreErrors?(S,E)=>{if(S){if(w.log){w.log(`Ignored fatal error while resolving root path:\n${S}`)}return N()}if(E)return N(null,E);N()}:N)}))}}S.exports=RootPlugin},44362:(S,E,k)=>{"use strict";const w=k(69835);const N=k(43556);S.exports=class SymlinkPlugin{constructor(S,E){this.source=S;this.target=E}apply(S){const E=S.ensureHook(this.target);const k=S.fileSystem;S.getHook(this.source).tapAsync("SymlinkPlugin",((j,q,ee)=>{const te=w(j.path);const ne=te.seqments;const ae=te.paths;let _e=false;N.withIndex(ae,((S,E,w)=>{k.readlink(S,((S,k)=>{if(!S&&k){ne[E]=k;_e=true;if(/^(\/|[a-zA-Z]:($|\\))/.test(k))return w(null,E)}w()}))}),((k,w)=>{if(!_e)return ee();const N=typeof w==="number"?ne.slice(0,w+1):ne.slice();const te=N.reverse().reduce(((E,k)=>S.join(E,k)));const ae=Object.assign({},j,{path:te});S.doResolve(E,ae,"resolved symlink to "+te,q,ee)}))}))}}},64407:S=>{"use strict";function SyncAsyncFileSystemDecorator(S){this.fs=S;if(S.statSync){this.stat=function(E,k){let w;try{w=S.statSync(E)}catch(S){return k(S)}k(null,w)}}if(S.readdirSync){this.readdir=function(E,k){let w;try{w=S.readdirSync(E)}catch(S){return k(S)}k(null,w)}}if(S.readFileSync){this.readFile=function(E,k){let w;try{w=S.readFileSync(E)}catch(S){return k(S)}k(null,w)}}if(S.readlinkSync){this.readlink=function(E,k){let w;try{w=S.readlinkSync(E)}catch(S){return k(S)}k(null,w)}}if(S.readJsonSync){this.readJson=function(E,k){let w;try{w=S.readJsonSync(E)}catch(S){return k(S)}k(null,w)}}}S.exports=SyncAsyncFileSystemDecorator},68029:S=>{"use strict";S.exports=class TryNextPlugin{constructor(S,E,k){this.source=S;this.message=E;this.target=k}apply(S){const E=S.ensureHook(this.target);S.getHook(this.source).tapAsync("TryNextPlugin",((k,w,N)=>{S.doResolve(E,k,this.message,w,N)}))}}},62216:S=>{"use strict";function getCacheId(S,E){return JSON.stringify({context:E?S.context:"",path:S.path,query:S.query,request:S.request})}S.exports=class UnsafeCachePlugin{constructor(S,E,k,w,N){this.source=S;this.filterPredicate=E;this.withContext=w;this.cache=k||{};this.target=N}apply(S){const E=S.ensureHook(this.target);S.getHook(this.source).tapAsync("UnsafeCachePlugin",((k,w,N)=>{if(!this.filterPredicate(k))return N();const j=getCacheId(k,this.withContext);const q=this.cache[j];if(q){return N(null,q)}S.doResolve(E,k,null,w,((S,E)=>{if(S)return N(S);if(E)return N(null,this.cache[j]=E);N()}))}))}}},55187:S=>{"use strict";S.exports=class UseFilePlugin{constructor(S,E,k){this.source=S;this.filename=E;this.target=k}apply(S){const E=S.ensureHook(this.target);S.getHook(this.source).tapAsync("UseFilePlugin",((k,w,N)=>{const j=S.join(k.path,this.filename);const q=Object.assign({},k,{path:j,relativePath:k.relativePath&&S.join(k.relativePath,this.filename)});S.doResolve(E,q,"using path: "+j,w,N)}))}}},24426:(S,E,k)=>{"use strict";const w=k(24353).P;function parseType(S){const E=S.split("+");const k=E.shift();return{type:k==="*"?null:k,features:E}}function isTypeMatched(S,E){if(typeof S==="string")S=parseType(S);if(typeof E==="string")E=parseType(E);if(E.type&&E.type!==S.type)return false;return E.features.every((E=>S.features.indexOf(E)>=0))}function isResourceTypeMatched(S,E){S=S.split("/");E=E.split("/");if(S.length!==E.length)return false;for(let k=0;kisResourceTypeMatched(S,E)))}function isEnvironment(S,E){return S.environments&&S.environments.every((S=>isTypeMatched(S,E)))}const N={};function getGlobRegExp(S){const E=N[S]||(N[S]=w(S));return E}function matchGlob(S,E){const k=getGlobRegExp(S);return k.exec(E)}function isGlobMatched(S,E){return!!matchGlob(S,E)}function isConditionMatched(S,E){const k=E.split("|");return k.some((function testFn(E){E=E.trim();const k=/^!/.test(E);if(k)return!testFn(E.substr(1));if(/^[a-z]+:/.test(E)){const k=/^([a-z]+):\s*/.exec(E);const w=E.substr(k[0].length);const N=k[1];switch(N){case"referrer":return isGlobMatched(w,S.referrer);default:return false}}else if(E.indexOf("/")>=0){return isResourceTypeSupported(S,E)}else{return isEnvironment(S,E)}}))}function isKeyMatched(S,E){for(;;){const k=/^\[([^\]]+)\]\s*/.exec(E);if(!k)return E;E=E.substr(k[0].length);const w=k[1];if(!isConditionMatched(S,w)){return false}}}function getField(S,E,k){let w;Object.keys(E).forEach((N=>{const j=isKeyMatched(S,N);if(j===k){w=E[N]}}));return w}function getMain(S,E){return getField(S,E,"main")}function getExtensions(S,E){return getField(S,E,"extensions")}function matchModule(S,E,k){const w=getField(S,E,"modules");if(!w)return k;let N=k;const j=Object.keys(w);let q=0;let ee;let te;for(let E=0;Ej.length){throw new Error("Request '"+k+"' matches recursively")}}}return N;function replaceMatcher(S){switch(S){case"/**":{const S=ee[te++];return S?"/"+S:""}case"**":case"*":return ee[te++]}}}function matchType(S,E,k){const w=getField(S,E,"types");if(!w)return undefined;let N;Object.keys(w).forEach((E=>{const j=isKeyMatched(S,E);if(isGlobMatched(j,k)){const S=w[E];if(!N&&/\/\*$/.test(S))throw new Error("value ('"+S+"') of key '"+E+"' contains '*', but there is no previous value defined");N=S.replace(/\/\*$/,"/"+N)}}));return N}E.parseType=parseType;E.isTypeMatched=isTypeMatched;E.isResourceTypeSupported=isResourceTypeSupported;E.isEnvironment=isEnvironment;E.isGlobMatched=isGlobMatched;E.isConditionMatched=isConditionMatched;E.isKeyMatched=isKeyMatched;E.getField=getField;E.getMain=getMain;E.getExtensions=getExtensions;E.matchModule=matchModule;E.matchType=matchType},52227:S=>{"use strict";S.exports=function createInnerContext(S,E,k){let w=false;const N={log:(()=>{if(!S.log)return undefined;if(!E)return S.log;const logFunction=k=>{if(!w){S.log(E);w=true}S.log(" "+k)};return logFunction})(),stack:S.stack,missing:S.missing};return N}},43556:S=>{"use strict";S.exports=function forEachBail(S,E,k){if(S.length===0)return k();let w=S.length;let N;let j=[];for(let k=0;k{if(S>=w)return;j.push(S);if(E.length>0){w=S+1;j=j.filter((E=>E<=S));N=E}if(j.length===w){k.apply(null,N);w=0}}}};S.exports.withIndex=function forEachBailWithIndex(S,E,k){if(S.length===0)return k();let w=S.length;let N;let j=[];for(let k=0;k{if(S>=w)return;j.push(S);if(E.length>0){w=S+1;j=j.filter((E=>E<=S));N=E}if(j.length===w){k.apply(null,N);w=0}}}}},22471:S=>{"use strict";S.exports=function getInnerRequest(S,E){if(typeof E.__innerRequest==="string"&&E.__innerRequest_request===E.request&&E.__innerRequest_relativePath===E.relativePath)return E.__innerRequest;let k;if(E.request){k=E.request;if(/^\.\.?\//.test(k)&&E.relativePath){k=S.join(E.relativePath,k)}}else{k=E.relativePath}E.__innerRequest_request=E.request;E.__innerRequest_relativePath=E.relativePath;return E.__innerRequest=k}},69835:S=>{"use strict";S.exports=function getPaths(S){const E=S.split(/(.*?[\\/]+)/);const k=[S];const w=[E[E.length-1]];let N=E[E.length-1];S=S.substr(0,S.length-N.length-1);for(let j=E.length-2;j>2;j-=2){k.push(S);N=E[j];S=S.substr(0,S.length-N.length)||"/";w.push(N.substr(0,N.length-1))}N=E[1];w.push(N);k.push(N);return{paths:k,seqments:w}};S.exports.basename=function basename(S){const E=S.lastIndexOf("/"),k=S.lastIndexOf("\\");const w=E<0?k:k<0?E:E{"use strict";function globToRegExp(S){if(/^\(.+\)$/.test(S)){return new RegExp(S.substr(1,S.length-2))}const E=tokenize(S);const k=createRoot();const w=E.map(k).join("");return new RegExp("^"+w+"$")}const k={"@(":"one","?(":"zero-one","+(":"one-many","*(":"zero-many","|":"segment-sep","/**/":"any-path-segments","**":"any-path","*":"any-path-segment","?":"any-char","{":"or","/":"path-sep",",":"comma",")":"closing-segment","}":"closing-or"};function tokenize(S){return S.split(/([@?+*]\(|\/\*\*\/|\*\*|[?*]|\[[!^]?(?:[^\]\\]|\\.)+\]|\{|,|\/|[|)}])/g).map((S=>{if(!S)return null;const E=k[S];if(E){return{type:E}}if(S[0]==="["){if(S[1]==="^"||S[1]==="!"){return{type:"inverted-char-set",value:S.substr(2,S.length-3)}}else{return{type:"char-set",value:S.substr(1,S.length-2)}}}return{type:"string",value:S}})).filter(Boolean).concat({type:"end"})}function createRoot(){const S=[];const E=createSeqment();let k=true;return function(w){switch(w.type){case"or":S.push(k);return"(";case"comma":if(S.length){k=S[S.length-1];return"|"}else{return E({type:"string",value:","},k)}case"closing-or":if(S.length===0)throw new Error("Unmatched '}'");S.pop();return")";case"end":if(S.length)throw new Error("Unmatched '{'");return E(w,k);default:{const S=E(w,k);k=false;return S}}}}function createSeqment(){const S=[];const E=createSimple();return function(k,w){switch(k.type){case"one":case"one-many":case"zero-many":case"zero-one":S.push(k.type);return"(";case"segment-sep":if(S.length){return"|"}else{return E({type:"string",value:"|"},w)}case"closing-segment":{const E=S.pop();switch(E){case"one":return")";case"one-many":return")+";case"zero-many":return")*";case"zero-one":return")?"}throw new Error("Unexcepted segment "+E)}case"end":if(S.length>0){throw new Error("Unmatched segment, missing ')'")}return E(k,w);default:return E(k,w)}}}function createSimple(){return function(S,E){switch(S.type){case"path-sep":return"[\\\\/]+";case"any-path-segments":return"[\\\\/]+(?:(.+)[\\\\/]+)?";case"any-path":return"(.*)";case"any-path-segment":if(E){return"\\.[\\\\/]+(?:.*[\\\\/]+)?([^\\\\/]+)"}else{return"([^\\\\/]*)"}case"any-char":return"[^\\\\/]";case"inverted-char-set":return"[^"+S.value+"]";case"char-set":return"["+S.value+"]";case"string":return S.value.replace(/[-[\]{}()*+?.,\\^$|#\s]/g,"\\$&");case"end":return"";default:throw new Error("Unsupported token '"+S.type+"'")}}}E.P=globToRegExp},81324:(S,E,k)=>{"use strict";const w=k(57934);const N=k(37365);const j=k(67703);const q=new j(new N,4e3);const ee={environments:["node+es3+es5+process+native"]};const te=w.createResolver({extensions:[".js",".json",".node"],fileSystem:q});S.exports=function resolve(S,E,k,w,N){if(typeof S==="string"){N=w;w=k;k=E;E=S;S=ee}if(typeof N!=="function"){N=w}te.resolve(S,E,k,w,N)};const ne=w.createResolver({extensions:[".js",".json",".node"],useSyncFileSystemCalls:true,fileSystem:q});S.exports.sync=function resolveSync(S,E,k){if(typeof S==="string"){k=E;E=S;S=ee}return ne.resolveSync(S,E,k)};const ae=w.createResolver({extensions:[".js",".json",".node"],resolveToContext:true,fileSystem:q});S.exports.context=function resolveContext(S,E,k,resolveContext,w){if(typeof S==="string"){w=resolveContext;resolveContext=k;k=E;E=S;S=ee}if(typeof w!=="function"){w=resolveContext}ae.resolve(S,E,k,resolveContext,w)};const _e=w.createResolver({extensions:[".js",".json",".node"],resolveToContext:true,useSyncFileSystemCalls:true,fileSystem:q});S.exports.context.sync=function resolveContextSync(S,E,k){if(typeof S==="string"){k=E;E=S;S=ee}return _e.resolveSync(S,E,k)};const ve=w.createResolver({extensions:[".js",".json",".node"],moduleExtensions:["-loader"],mainFields:["loader","main"],fileSystem:q});S.exports.loader=function resolveLoader(S,E,k,w,N){if(typeof S==="string"){N=w;w=k;k=E;E=S;S=ee}if(typeof N!=="function"){N=w}ve.resolve(S,E,k,w,N)};const Ee=w.createResolver({extensions:[".js",".json",".node"],moduleExtensions:["-loader"],mainFields:["loader","main"],useSyncFileSystemCalls:true,fileSystem:q});S.exports.loader.sync=function resolveLoaderSync(S,E,k){if(typeof S==="string"){k=E;E=S;S=ee}return Ee.resolveSync(S,E,k)};S.exports.create=function create(S){S=Object.assign({fileSystem:q},S);const E=w.createResolver(S);return function(S,k,w,N,j){if(typeof S==="string"){j=N;N=w;w=k;k=S;S=ee}if(typeof j!=="function"){j=N}E.resolve(S,k,w,N,j)}};S.exports.create.sync=function createSync(S){S=Object.assign({useSyncFileSystemCalls:true,fileSystem:q},S);const E=w.createResolver(S);return function(S,k,w){if(typeof S==="string"){w=k;k=S;S=ee}return E.resolveSync(S,k,w)}};S.exports.ResolverFactory=w;S.exports.NodeJsInputFileSystem=N;S.exports.CachedInputFileSystem=j},42980:(S,E,k)=>{"use strict";const w=k(60528);const N=k(13207);class AsyncSeriesBailHookCodeFactory extends N{content({onError:S,onResult:E,resultReturns:k,onDone:w}){return this.callTapsSeries({onError:(E,k,w,N)=>S(k)+N(true),onResult:(S,k,w)=>`if(${k} !== undefined) {\n${E(k)};\n} else {\n${w()}}\n`,resultReturns:k,onDone:w})}}const j=new AsyncSeriesBailHookCodeFactory;class AsyncSeriesBailHook extends w{compile(S){j.setup(this,S);return j.create(S)}}Object.defineProperties(AsyncSeriesBailHook.prototype,{_call:{value:undefined,configurable:true,writable:true}});S.exports=AsyncSeriesBailHook},52039:(S,E,k)=>{"use strict";const w=k(60528);const N=k(13207);class AsyncSeriesHookCodeFactory extends N{content({onError:S,onDone:E}){return this.callTapsSeries({onError:(E,k,w,N)=>S(k)+N(true),onDone:E})}}const j=new AsyncSeriesHookCodeFactory;class AsyncSeriesHook extends w{compile(S){j.setup(this,S);return j.create(S)}}Object.defineProperties(AsyncSeriesHook.prototype,{_call:{value:undefined,configurable:true,writable:true}});S.exports=AsyncSeriesHook},60528:S=>{"use strict";class Hook{constructor(S){if(!Array.isArray(S))S=[];this._args=S;this.taps=[];this.interceptors=[];this.call=this._call;this.promise=this._promise;this.callAsync=this._callAsync;this._x=undefined}compile(S){throw new Error("Abstract: should be overriden")}_createCall(S){return this.compile({taps:this.taps,interceptors:this.interceptors,args:this._args,type:S})}tap(S,E){if(typeof S==="string")S={name:S};if(typeof S!=="object"||S===null)throw new Error("Invalid arguments to tap(options: Object, fn: function)");S=Object.assign({type:"sync",fn:E},S);if(typeof S.name!=="string"||S.name==="")throw new Error("Missing name for tap");S=this._runRegisterInterceptors(S);this._insert(S)}tapAsync(S,E){if(typeof S==="string")S={name:S};if(typeof S!=="object"||S===null)throw new Error("Invalid arguments to tapAsync(options: Object, fn: function)");S=Object.assign({type:"async",fn:E},S);if(typeof S.name!=="string"||S.name==="")throw new Error("Missing name for tapAsync");S=this._runRegisterInterceptors(S);this._insert(S)}tapPromise(S,E){if(typeof S==="string")S={name:S};if(typeof S!=="object"||S===null)throw new Error("Invalid arguments to tapPromise(options: Object, fn: function)");S=Object.assign({type:"promise",fn:E},S);if(typeof S.name!=="string"||S.name==="")throw new Error("Missing name for tapPromise");S=this._runRegisterInterceptors(S);this._insert(S)}_runRegisterInterceptors(S){for(const E of this.interceptors){if(E.register){const k=E.register(S);if(k!==undefined)S=k}}return S}withOptions(S){const mergeOptions=E=>Object.assign({},S,typeof E==="string"?{name:E}:E);S=Object.assign({},S,this._withOptions);const E=this._withOptionsBase||this;const k=Object.create(E);k.tapAsync=(S,k)=>E.tapAsync(mergeOptions(S),k),k.tap=(S,k)=>E.tap(mergeOptions(S),k);k.tapPromise=(S,k)=>E.tapPromise(mergeOptions(S),k);k._withOptions=S;k._withOptionsBase=E;return k}isUsed(){return this.taps.length>0||this.interceptors.length>0}intercept(S){this._resetCompilation();this.interceptors.push(Object.assign({},S));if(S.register){for(let E=0;E0){w--;const S=this.taps[w];this.taps[w+1]=S;const N=S.stage||0;if(E){if(E.has(S.name)){E.delete(S.name);continue}if(E.size>0){continue}}if(N>k){continue}w++;break}this.taps[w]=S}}function createCompileDelegate(S,E){return function lazyCompileHook(...k){this[S]=this._createCall(E);return this[S](...k)}}Object.defineProperties(Hook.prototype,{_call:{value:createCompileDelegate("call","sync"),configurable:true,writable:true},_promise:{value:createCompileDelegate("promise","promise"),configurable:true,writable:true},_callAsync:{value:createCompileDelegate("callAsync","async"),configurable:true,writable:true}});S.exports=Hook},13207:S=>{"use strict";class HookCodeFactory{constructor(S){this.config=S;this.options=undefined;this._args=undefined}create(S){this.init(S);let E;switch(this.options.type){case"sync":E=new Function(this.args(),'"use strict";\n'+this.header()+this.content({onError:S=>`throw ${S};\n`,onResult:S=>`return ${S};\n`,resultReturns:true,onDone:()=>"",rethrowIfPossible:true}));break;case"async":E=new Function(this.args({after:"_callback"}),'"use strict";\n'+this.header()+this.content({onError:S=>`_callback(${S});\n`,onResult:S=>`_callback(null, ${S});\n`,onDone:()=>"_callback();\n"}));break;case"promise":let S=false;const k=this.content({onError:E=>{S=true;return`_error(${E});\n`},onResult:S=>`_resolve(${S});\n`,onDone:()=>"_resolve();\n"});let w="";w+='"use strict";\n';w+="return new Promise((_resolve, _reject) => {\n";if(S){w+="var _sync = true;\n";w+="function _error(_err) {\n";w+="if(_sync)\n";w+="_resolve(Promise.resolve().then(() => { throw _err; }));\n";w+="else\n";w+="_reject(_err);\n";w+="};\n"}w+=this.header();w+=k;if(S){w+="_sync = false;\n"}w+="});\n";E=new Function(this.args(),w);break}this.deinit();return E}setup(S,E){S._x=E.taps.map((S=>S.fn))}init(S){this.options=S;this._args=S.args.slice()}deinit(){this.options=undefined;this._args=undefined}header(){let S="";if(this.needContext()){S+="var _context = {};\n"}else{S+="var _context;\n"}S+="var _x = this._x;\n";if(this.options.interceptors.length>0){S+="var _taps = this.taps;\n";S+="var _interceptors = this.interceptors;\n"}for(let E=0;E {\n`;else q+=`_err${S} => {\n`;q+=`if(_err${S}) {\n`;q+=E(`_err${S}`);q+="} else {\n";if(k){q+=k(`_result${S}`)}if(w){q+=w()}q+="}\n";q+="}";j+=`_fn${S}(${this.args({before:ee.context?"_context":undefined,after:q})});\n`;break;case"promise":j+=`var _hasResult${S} = false;\n`;j+=`var _promise${S} = _fn${S}(${this.args({before:ee.context?"_context":undefined})});\n`;j+=`if (!_promise${S} || !_promise${S}.then)\n`;j+=` throw new Error('Tap function (tapPromise) did not return promise (returned ' + _promise${S} + ')');\n`;j+=`_promise${S}.then(_result${S} => {\n`;j+=`_hasResult${S} = true;\n`;if(k){j+=k(`_result${S}`)}if(w){j+=w()}j+=`}, _err${S} => {\n`;j+=`if(_hasResult${S}) throw _err${S};\n`;j+=E(`_err${S}`);j+="});\n";break}return j}callTapsSeries({onError:S,onResult:E,resultReturns:k,onDone:w,doneReturns:N,rethrowIfPossible:j}){if(this.options.taps.length===0)return w();const q=this.options.taps.findIndex((S=>S.type!=="sync"));const ee=k||N||false;let te="";let ne=w;for(let k=this.options.taps.length-1;k>=0;k--){const N=k;const ae=ne!==w&&this.options.taps[N].type!=="sync";if(ae){te+=`function _next${N}() {\n`;te+=ne();te+=`}\n`;ne=()=>`${ee?"return ":""}_next${N}();\n`}const _e=ne;const doneBreak=S=>{if(S)return"";return w()};const ve=this.callTap(N,{onError:E=>S(N,E,_e,doneBreak),onResult:E&&(S=>E(N,S,_e,doneBreak)),onDone:!E&&_e,rethrowIfPossible:j&&(q<0||Nve}te+=ne();return te}callTapsLooping({onError:S,onDone:E,rethrowIfPossible:k}){if(this.options.taps.length===0)return E();const w=this.options.taps.every((S=>S.type==="sync"));let N="";if(!w){N+="var _looper = () => {\n";N+="var _loopAsync = false;\n"}N+="var _loop;\n";N+="do {\n";N+="_loop = false;\n";for(let S=0;S{let j="";j+=`if(${E} !== undefined) {\n`;j+="_loop = true;\n";if(!w)j+="if(_loopAsync) _looper();\n";j+=N(true);j+=`} else {\n`;j+=k();j+=`}\n`;return j},onDone:E&&(()=>{let S="";S+="if(!_loop) {\n";S+=E();S+="}\n";return S}),rethrowIfPossible:k&&w});N+="} while(_loop);\n";if(!w){N+="_loopAsync = true;\n";N+="};\n";N+="_looper();\n"}return N}callTapsParallel({onError:S,onResult:E,onDone:k,rethrowIfPossible:w,onTap:N=((S,E)=>E())}){if(this.options.taps.length<=1){return this.callTapsSeries({onError:S,onResult:E,onDone:k,rethrowIfPossible:w})}let j="";j+="do {\n";j+=`var _counter = ${this.options.taps.length};\n`;if(k){j+="var _done = () => {\n";j+=k();j+="};\n"}for(let q=0;q{if(k)return"if(--_counter === 0) _done();\n";else return"--_counter;"};const doneBreak=S=>{if(S||!k)return"_counter = 0;\n";else return"_counter = 0;\n_done();\n"};j+="if(_counter <= 0) break;\n";j+=N(q,(()=>this.callTap(q,{onError:E=>{let k="";k+="if(_counter > 0) {\n";k+=S(q,E,done,doneBreak);k+="}\n";return k},onResult:E&&(S=>{let k="";k+="if(_counter > 0) {\n";k+=E(q,S,done,doneBreak);k+="}\n";return k}),onDone:!E&&(()=>done()),rethrowIfPossible:w})),done,doneBreak)}j+="} while(false);\n";return j}args({before:S,after:E}={}){let k=this._args;if(S)k=[S].concat(k);if(E)k=k.concat(E);if(k.length===0){return""}else{return k.join(", ")}}getTapFn(S){return`_x[${S}]`}getTap(S){return`_taps[${S}]`}getInterceptor(S){return`_interceptors[${S}]`}}S.exports=HookCodeFactory},11475:(S,E,k)=>{"use strict";const w=k(60528);const N=k(13207);class SyncBailHookCodeFactory extends N{content({onError:S,onResult:E,resultReturns:k,onDone:w,rethrowIfPossible:N}){return this.callTapsSeries({onError:(E,k)=>S(k),onResult:(S,k,w)=>`if(${k} !== undefined) {\n${E(k)};\n} else {\n${w()}}\n`,resultReturns:k,onDone:w,rethrowIfPossible:N})}}const j=new SyncBailHookCodeFactory;class SyncBailHook extends w{tapAsync(){throw new Error("tapAsync is not supported on a SyncBailHook")}tapPromise(){throw new Error("tapPromise is not supported on a SyncBailHook")}compile(S){j.setup(this,S);return j.create(S)}}S.exports=SyncBailHook},13575:(S,E,k)=>{"use strict";const w=k(60528);const N=k(13207);class SyncHookCodeFactory extends N{content({onError:S,onDone:E,rethrowIfPossible:k}){return this.callTapsSeries({onError:(E,k)=>S(k),onDone:E,rethrowIfPossible:k})}}const j=new SyncHookCodeFactory;class SyncHook extends w{tapAsync(){throw new Error("tapAsync is not supported on a SyncHook")}tapPromise(){throw new Error("tapPromise is not supported on a SyncHook")}compile(S){j.setup(this,S);return j.create(S)}}S.exports=SyncHook},53460:(S,E,k)=>{"use strict";const w=k(31669);const N=k(11475);function Tapable(){this._pluginCompat=new N(["options"]);this._pluginCompat.tap({name:"Tapable camelCase",stage:100},(S=>{S.names.add(S.name.replace(/[- ]([a-z])/g,((S,E)=>E.toUpperCase())))}));this._pluginCompat.tap({name:"Tapable this.hooks",stage:200},(S=>{let E;for(const k of S.names){E=this.hooks[k];if(E!==undefined){break}}if(E!==undefined){const k={name:S.fn.name||"unnamed compat plugin",stage:S.stage||0};if(S.async)E.tapAsync(k,S.fn);else E.tap(k,S.fn);return true}}))}S.exports=Tapable;Tapable.addCompatLayer=function addCompatLayer(S){Tapable.call(S);S.plugin=Tapable.prototype.plugin;S.apply=Tapable.prototype.apply};Tapable.prototype.plugin=w.deprecate((function plugin(S,E){if(Array.isArray(S)){S.forEach((function(S){this.plugin(S,E)}),this);return}const k=this._pluginCompat.call({name:S,fn:E,names:new Set([S])});if(!k){throw new Error(`Plugin could not be registered at '${S}'. Hook was not found.\n`+"BREAKING CHANGE: There need to exist a hook at 'this.hooks'. "+"To create a compatibility layer for this hook, hook into 'this._pluginCompat'.")}}),"Tapable.plugin is deprecated. Use new API on `.hooks` instead");Tapable.prototype.apply=w.deprecate((function apply(){for(var S=0;S{"use strict";const w=k(78120);class Definition{constructor(S,E,k,w,N,j){this.type=S;this.name=E;this.node=k;this.parent=w;this.index=N;this.kind=j}}class ParameterDefinition extends Definition{constructor(S,E,k,N){super(w.Parameter,S,E,null,k,null);this.rest=N}}S.exports={ParameterDefinition:ParameterDefinition,Definition:Definition}},19579:(S,E,k)=>{"use strict";const w=k(42357);const N=k(60018);const j=k(36337);const q=k(24552);const ee=k(78120);const te=k(98699).Scope;const ne=k(75564).i8;function defaultOptions(){return{optimistic:false,directive:false,nodejsScope:false,impliedStrict:false,sourceType:"script",ecmaVersion:5,childVisitorKeys:null,fallback:"iteration"}}function updateDeeply(S,E){function isHashObject(S){return typeof S==="object"&&S instanceof Object&&!(S instanceof Array)&&!(S instanceof RegExp)}for(const k in E){if(Object.prototype.hasOwnProperty.call(E,k)){const w=E[k];if(isHashObject(w)){if(isHashObject(S[k])){updateDeeply(S[k],w)}else{S[k]=updateDeeply({},w)}}else{S[k]=w}}}return S}function analyze(S,E){const k=updateDeeply(defaultOptions(),E);const q=new N(k);const ee=new j(k,q);ee.visit(S);w(q.__currentScope===null,"currentScope should be null.");return q}S.exports={version:ne,Reference:q,Variable:ee,Scope:te,ScopeManager:N,analyze:analyze}},29630:(S,E,k)=>{"use strict";const w=k(92105).Syntax;const N=k(49112);function getLast(S){return S[S.length-1]||null}class PatternVisitor extends N.Visitor{static isPattern(S){const E=S.type;return E===w.Identifier||E===w.ObjectPattern||E===w.ArrayPattern||E===w.SpreadElement||E===w.RestElement||E===w.AssignmentPattern}constructor(S,E,k){super(null,S);this.rootPattern=E;this.callback=k;this.assignments=[];this.rightHandNodes=[];this.restElements=[]}Identifier(S){const E=getLast(this.restElements);this.callback(S,{topLevel:S===this.rootPattern,rest:E!==null&&E!==undefined&&E.argument===S,assignments:this.assignments})}Property(S){if(S.computed){this.rightHandNodes.push(S.key)}this.visit(S.value)}ArrayPattern(S){for(let E=0,k=S.elements.length;E{this.rightHandNodes.push(S)}));this.visit(S.callee)}}S.exports=PatternVisitor},24552:S=>{"use strict";const E=1;const k=2;const w=E|k;class Reference{constructor(S,E,k,w,N,j,q){this.identifier=S;this.from=E;this.tainted=false;this.resolved=null;this.flag=k;if(this.isWrite()){this.writeExpr=w;this.partial=j;this.init=q}this.__maybeImplicitGlobal=N}isStatic(){return!this.tainted&&this.resolved&&this.resolved.scope.isStatic()}isWrite(){return!!(this.flag&Reference.WRITE)}isRead(){return!!(this.flag&Reference.READ)}isReadOnly(){return this.flag===Reference.READ}isWriteOnly(){return this.flag===Reference.WRITE}isReadWrite(){return this.flag===Reference.RW}}Reference.READ=E;Reference.WRITE=k;Reference.RW=w;S.exports=Reference},36337:(S,E,k)=>{"use strict";const w=k(92105).Syntax;const N=k(49112);const j=k(24552);const q=k(78120);const ee=k(29630);const te=k(16950);const ne=k(42357);const ae=te.ParameterDefinition;const _e=te.Definition;function traverseIdentifierInPattern(S,E,k,w){const N=new ee(S,E,w);N.visit(E);if(k!==null&&k!==undefined){N.rightHandNodes.forEach(k.visit,k)}}class Importer extends N.Visitor{constructor(S,E){super(null,E.options);this.declaration=S;this.referencer=E}visitImport(S,E){this.referencer.visitPattern(S,(S=>{this.referencer.currentScope().__define(S,new _e(q.ImportBinding,S,E,this.declaration,null,null))}))}ImportNamespaceSpecifier(S){const E=S.local||S.id;if(E){this.visitImport(E,S)}}ImportDefaultSpecifier(S){const E=S.local||S.id;this.visitImport(E,S)}ImportSpecifier(S){const E=S.local||S.id;if(S.name){this.visitImport(S.name,S)}else{this.visitImport(E,S)}}}class Referencer extends N.Visitor{constructor(S,E){super(null,S);this.options=S;this.scopeManager=E;this.parent=null;this.isInnerMethodDefinition=false}currentScope(){return this.scopeManager.__currentScope}close(S){while(this.currentScope()&&S===this.currentScope().block){this.scopeManager.__currentScope=this.currentScope().__close(this.scopeManager)}}pushInnerMethodDefinition(S){const E=this.isInnerMethodDefinition;this.isInnerMethodDefinition=S;return E}popInnerMethodDefinition(S){this.isInnerMethodDefinition=S}referencingDefaultValue(S,E,k,w){const N=this.currentScope();E.forEach((E=>{N.__referencing(S,j.WRITE,E.right,k,S!==E.left,w)}))}visitPattern(S,E,k){let w=E;let N=k;if(typeof E==="function"){N=E;w={processRightHandNodes:false}}traverseIdentifierInPattern(this.options,S,w.processRightHandNodes?this:null,N)}visitFunction(S){let E,k;if(S.type===w.FunctionDeclaration){this.currentScope().__define(S.id,new _e(q.FunctionName,S.id,S,null,null,null))}if(S.type===w.FunctionExpression&&S.id){this.scopeManager.__nestFunctionExpressionNameScope(S)}this.scopeManager.__nestFunctionScope(S,this.isInnerMethodDefinition);const N=this;function visitPatternCallback(k,w){N.currentScope().__define(k,new ae(k,S,E,w.rest));N.referencingDefaultValue(k,w.assignments,null,true)}for(E=0,k=S.params.length;E{this.currentScope().__define(E,new ae(E,S,S.params.length,true))}))}if(S.body){if(S.body.type===w.BlockStatement){this.visitChildren(S.body)}else{this.visit(S.body)}}this.close(S)}visitClass(S){if(S.type===w.ClassDeclaration){this.currentScope().__define(S.id,new _e(q.ClassName,S.id,S,null,null,null))}this.visit(S.superClass);this.scopeManager.__nestClassScope(S);if(S.id){this.currentScope().__define(S.id,new _e(q.ClassName,S.id,S))}this.visit(S.body);this.close(S)}visitProperty(S){let E;if(S.computed){this.visit(S.key)}const k=S.type===w.MethodDefinition;if(k){E=this.pushInnerMethodDefinition(true)}this.visit(S.value);if(k){this.popInnerMethodDefinition(E)}}visitForIn(S){if(S.left.type===w.VariableDeclaration&&S.left.kind!=="var"){this.scopeManager.__nestForScope(S)}if(S.left.type===w.VariableDeclaration){this.visit(S.left);this.visitPattern(S.left.declarations[0].id,(E=>{this.currentScope().__referencing(E,j.WRITE,S.right,null,true,true)}))}else{this.visitPattern(S.left,{processRightHandNodes:true},((E,k)=>{let w=null;if(!this.currentScope().isStrict){w={pattern:E,node:S}}this.referencingDefaultValue(E,k.assignments,w,false);this.currentScope().__referencing(E,j.WRITE,S.right,w,true,false)}))}this.visit(S.right);this.visit(S.body);this.close(S)}visitVariableDeclaration(S,E,k,w){const N=k.declarations[w];const q=N.init;this.visitPattern(N.id,{processRightHandNodes:true},((ee,te)=>{S.__define(ee,new _e(E,ee,N,k,w,k.kind));this.referencingDefaultValue(ee,te.assignments,null,true);if(q){this.currentScope().__referencing(ee,j.WRITE,q,null,!te.topLevel,true)}}))}AssignmentExpression(S){if(ee.isPattern(S.left)){if(S.operator==="="){this.visitPattern(S.left,{processRightHandNodes:true},((E,k)=>{let w=null;if(!this.currentScope().isStrict){w={pattern:E,node:S}}this.referencingDefaultValue(E,k.assignments,w,false);this.currentScope().__referencing(E,j.WRITE,S.right,w,!k.topLevel,false)}))}else{this.currentScope().__referencing(S.left,j.RW,S.right)}}else{this.visit(S.left)}this.visit(S.right)}CatchClause(S){this.scopeManager.__nestCatchScope(S);this.visitPattern(S.param,{processRightHandNodes:true},((E,k)=>{this.currentScope().__define(E,new _e(q.CatchClause,S.param,S,null,null,null));this.referencingDefaultValue(E,k.assignments,null,true)}));this.visit(S.body);this.close(S)}Program(S){this.scopeManager.__nestGlobalScope(S);if(this.scopeManager.__isNodejsScope()){this.currentScope().isStrict=false;this.scopeManager.__nestFunctionScope(S,false)}if(this.scopeManager.__isES6()&&this.scopeManager.isModule()){this.scopeManager.__nestModuleScope(S)}if(this.scopeManager.isStrictModeSupported()&&this.scopeManager.isImpliedStrict()){this.currentScope().isStrict=true}this.visitChildren(S);this.close(S)}Identifier(S){this.currentScope().__referencing(S)}UpdateExpression(S){if(ee.isPattern(S.argument)){this.currentScope().__referencing(S.argument,j.RW,null)}else{this.visitChildren(S)}}MemberExpression(S){this.visit(S.object);if(S.computed){this.visit(S.property)}}Property(S){this.visitProperty(S)}MethodDefinition(S){this.visitProperty(S)}BreakStatement(){}ContinueStatement(){}LabeledStatement(S){this.visit(S.body)}ForStatement(S){if(S.init&&S.init.type===w.VariableDeclaration&&S.init.kind!=="var"){this.scopeManager.__nestForScope(S)}this.visitChildren(S);this.close(S)}ClassExpression(S){this.visitClass(S)}ClassDeclaration(S){this.visitClass(S)}CallExpression(S){if(!this.scopeManager.__ignoreEval()&&S.callee.type===w.Identifier&&S.callee.name==="eval"){this.currentScope().variableScope.__detectEval()}this.visitChildren(S)}BlockStatement(S){if(this.scopeManager.__isES6()){this.scopeManager.__nestBlockScope(S)}this.visitChildren(S);this.close(S)}ThisExpression(){this.currentScope().variableScope.__detectThis()}WithStatement(S){this.visit(S.object);this.scopeManager.__nestWithScope(S);this.visit(S.body);this.close(S)}VariableDeclaration(S){const E=S.kind==="var"?this.currentScope().variableScope:this.currentScope();for(let k=0,w=S.declarations.length;k{"use strict";const w=k(98699);const N=k(42357);const j=w.GlobalScope;const q=w.CatchScope;const ee=w.WithScope;const te=w.ModuleScope;const ne=w.ClassScope;const ae=w.SwitchScope;const _e=w.FunctionScope;const ve=w.ForScope;const Ee=w.FunctionExpressionNameScope;const Te=w.BlockScope;class ScopeManager{constructor(S){this.scopes=[];this.globalScope=null;this.__nodeToScope=new WeakMap;this.__currentScope=null;this.__options=S;this.__declaredVariables=new WeakMap}__useDirective(){return this.__options.directive}__isOptimistic(){return this.__options.optimistic}__ignoreEval(){return this.__options.ignoreEval}__isNodejsScope(){return this.__options.nodejsScope}isModule(){return this.__options.sourceType==="module"}isImpliedStrict(){return this.__options.impliedStrict}isStrictModeSupported(){return this.__options.ecmaVersion>=5}__get(S){return this.__nodeToScope.get(S)}getDeclaredVariables(S){return this.__declaredVariables.get(S)||[]}acquire(S,E){function predicate(S){if(S.type==="function"&&S.functionExpressionScope){return false}return true}const k=this.__get(S);if(!k||k.length===0){return null}if(k.length===1){return k[0]}if(E){for(let S=k.length-1;S>=0;--S){const E=k[S];if(predicate(E)){return E}}}else{for(let S=0,E=k.length;S=6}}S.exports=ScopeManager},98699:(S,E,k)=>{"use strict";const w=k(92105).Syntax;const N=k(24552);const j=k(78120);const q=k(16950).Definition;const ee=k(42357);function isStrictScope(S,E,k,N){let j;if(S.upper&&S.upper.isStrict){return true}if(k){return true}if(S.type==="class"||S.type==="module"){return true}if(S.type==="block"||S.type==="switch"){return false}if(S.type==="function"){if(E.type===w.ArrowFunctionExpression&&E.body.type!==w.BlockStatement){return false}if(E.type===w.Program){j=E}else{j=E.body}if(!j){return false}}else if(S.type==="global"){j=E}else{return false}if(N){for(let S=0,E=j.body.length;S0&&w.every(shouldBeStatically)}__staticCloseRef(S){if(!this.__resolve(S)){this.__delegateToUpperScope(S)}}__dynamicCloseRef(S){let E=this;do{E.through.push(S);E=E.upper}while(E)}__globalCloseRef(S){if(this.__shouldStaticallyCloseForGlobal(S)){this.__staticCloseRef(S)}else{this.__dynamicCloseRef(S)}}__close(S){let E;if(this.__shouldStaticallyClose(S)){E=this.__staticCloseRef}else if(this.type!=="global"){E=this.__dynamicCloseRef}else{E=this.__globalCloseRef}for(let S=0,k=this.__left.length;SS.name.range[0]>=k)))}}class ForScope extends Scope{constructor(S,E,k){super(S,"for",E,k,false)}}class ClassScope extends Scope{constructor(S,E,k){super(S,"class",E,k,false)}}S.exports={Scope:Scope,GlobalScope:GlobalScope,ModuleScope:ModuleScope,FunctionExpressionNameScope:FunctionExpressionNameScope,CatchScope:CatchScope,WithScope:WithScope,BlockScope:BlockScope,SwitchScope:SwitchScope,FunctionScope:FunctionScope,ForScope:ForScope,ClassScope:ClassScope}},78120:S=>{"use strict";class Variable{constructor(S,E){this.name=S;this.identifiers=[];this.references=[];this.defs=[];this.tainted=false;this.stack=true;this.scope=E}}Variable.CatchClause="CatchClause";Variable.Parameter="Parameter";Variable.FunctionName="FunctionName";Variable.ClassName="ClassName";Variable.Variable="Variable";Variable.ImportBinding="ImportBinding";Variable.ImplicitGlobalVariable="ImplicitGlobalVariable";S.exports=Variable},49112:(S,E,k)=>{(function(){"use strict";var S=k(99054);function isNode(S){if(S==null){return false}return typeof S==="object"&&typeof S.type==="string"}function isProperty(E,k){return(E===S.Syntax.ObjectExpression||E===S.Syntax.ObjectPattern)&&k==="properties"}function Visitor(E,k){k=k||{};this.__visitor=E||this;this.__childVisitorKeys=k.childVisitorKeys?Object.assign({},S.VisitorKeys,k.childVisitorKeys):S.VisitorKeys;if(k.fallback==="iteration"){this.__fallback=Object.keys}else if(typeof k.fallback==="function"){this.__fallback=k.fallback}}Visitor.prototype.visitChildren=function(E){var k,w,N,j,q,ee,te;if(E==null){return}k=E.type||S.Syntax.Property;w=this.__childVisitorKeys[k];if(!w){if(this.__fallback){w=this.__fallback(E)}else{throw new Error("Unknown node type "+k+".")}}for(N=0,j=w.length;N{(function clone(S){"use strict";var E,k,w,N,j,q;function deepCopy(S){var E={},k,w;for(k in S){if(S.hasOwnProperty(k)){w=S[k];if(typeof w==="object"&&w!==null){E[k]=deepCopy(w)}else{E[k]=w}}}return E}function upperBound(S,E){var k,w,N,j;w=S.length;N=0;while(w){k=w>>>1;j=N+k;if(E(S[j])){w=k}else{N=j+1;w-=k+1}}return N}E={AssignmentExpression:"AssignmentExpression",AssignmentPattern:"AssignmentPattern",ArrayExpression:"ArrayExpression",ArrayPattern:"ArrayPattern",ArrowFunctionExpression:"ArrowFunctionExpression",AwaitExpression:"AwaitExpression",BlockStatement:"BlockStatement",BinaryExpression:"BinaryExpression",BreakStatement:"BreakStatement",CallExpression:"CallExpression",CatchClause:"CatchClause",ChainExpression:"ChainExpression",ClassBody:"ClassBody",ClassDeclaration:"ClassDeclaration",ClassExpression:"ClassExpression",ComprehensionBlock:"ComprehensionBlock",ComprehensionExpression:"ComprehensionExpression",ConditionalExpression:"ConditionalExpression",ContinueStatement:"ContinueStatement",DebuggerStatement:"DebuggerStatement",DirectiveStatement:"DirectiveStatement",DoWhileStatement:"DoWhileStatement",EmptyStatement:"EmptyStatement",ExportAllDeclaration:"ExportAllDeclaration",ExportDefaultDeclaration:"ExportDefaultDeclaration",ExportNamedDeclaration:"ExportNamedDeclaration",ExportSpecifier:"ExportSpecifier",ExpressionStatement:"ExpressionStatement",ForStatement:"ForStatement",ForInStatement:"ForInStatement",ForOfStatement:"ForOfStatement",FunctionDeclaration:"FunctionDeclaration",FunctionExpression:"FunctionExpression",GeneratorExpression:"GeneratorExpression",Identifier:"Identifier",IfStatement:"IfStatement",ImportExpression:"ImportExpression",ImportDeclaration:"ImportDeclaration",ImportDefaultSpecifier:"ImportDefaultSpecifier",ImportNamespaceSpecifier:"ImportNamespaceSpecifier",ImportSpecifier:"ImportSpecifier",Literal:"Literal",LabeledStatement:"LabeledStatement",LogicalExpression:"LogicalExpression",MemberExpression:"MemberExpression",MetaProperty:"MetaProperty",MethodDefinition:"MethodDefinition",ModuleSpecifier:"ModuleSpecifier",NewExpression:"NewExpression",ObjectExpression:"ObjectExpression",ObjectPattern:"ObjectPattern",Program:"Program",Property:"Property",RestElement:"RestElement",ReturnStatement:"ReturnStatement",SequenceExpression:"SequenceExpression",SpreadElement:"SpreadElement",Super:"Super",SwitchStatement:"SwitchStatement",SwitchCase:"SwitchCase",TaggedTemplateExpression:"TaggedTemplateExpression",TemplateElement:"TemplateElement",TemplateLiteral:"TemplateLiteral",ThisExpression:"ThisExpression",ThrowStatement:"ThrowStatement",TryStatement:"TryStatement",UnaryExpression:"UnaryExpression",UpdateExpression:"UpdateExpression",VariableDeclaration:"VariableDeclaration",VariableDeclarator:"VariableDeclarator",WhileStatement:"WhileStatement",WithStatement:"WithStatement",YieldExpression:"YieldExpression"};w={AssignmentExpression:["left","right"],AssignmentPattern:["left","right"],ArrayExpression:["elements"],ArrayPattern:["elements"],ArrowFunctionExpression:["params","body"],AwaitExpression:["argument"],BlockStatement:["body"],BinaryExpression:["left","right"],BreakStatement:["label"],CallExpression:["callee","arguments"],CatchClause:["param","body"],ChainExpression:["expression"],ClassBody:["body"],ClassDeclaration:["id","superClass","body"],ClassExpression:["id","superClass","body"],ComprehensionBlock:["left","right"],ComprehensionExpression:["blocks","filter","body"],ConditionalExpression:["test","consequent","alternate"],ContinueStatement:["label"],DebuggerStatement:[],DirectiveStatement:[],DoWhileStatement:["body","test"],EmptyStatement:[],ExportAllDeclaration:["source"],ExportDefaultDeclaration:["declaration"],ExportNamedDeclaration:["declaration","specifiers","source"],ExportSpecifier:["exported","local"],ExpressionStatement:["expression"],ForStatement:["init","test","update","body"],ForInStatement:["left","right","body"],ForOfStatement:["left","right","body"],FunctionDeclaration:["id","params","body"],FunctionExpression:["id","params","body"],GeneratorExpression:["blocks","filter","body"],Identifier:[],IfStatement:["test","consequent","alternate"],ImportExpression:["source"],ImportDeclaration:["specifiers","source"],ImportDefaultSpecifier:["local"],ImportNamespaceSpecifier:["local"],ImportSpecifier:["imported","local"],Literal:[],LabeledStatement:["label","body"],LogicalExpression:["left","right"],MemberExpression:["object","property"],MetaProperty:["meta","property"],MethodDefinition:["key","value"],ModuleSpecifier:[],NewExpression:["callee","arguments"],ObjectExpression:["properties"],ObjectPattern:["properties"],Program:["body"],Property:["key","value"],RestElement:["argument"],ReturnStatement:["argument"],SequenceExpression:["expressions"],SpreadElement:["argument"],Super:[],SwitchStatement:["discriminant","cases"],SwitchCase:["test","consequent"],TaggedTemplateExpression:["tag","quasi"],TemplateElement:[],TemplateLiteral:["quasis","expressions"],ThisExpression:[],ThrowStatement:["argument"],TryStatement:["block","handler","finalizer"],UnaryExpression:["argument"],UpdateExpression:["argument"],VariableDeclaration:["declarations"],VariableDeclarator:["id","init"],WhileStatement:["test","body"],WithStatement:["object","body"],YieldExpression:["argument"]};N={};j={};q={};k={Break:N,Skip:j,Remove:q};function Reference(S,E){this.parent=S;this.key=E}Reference.prototype.replace=function replace(S){this.parent[this.key]=S};Reference.prototype.remove=function remove(){if(Array.isArray(this.parent)){this.parent.splice(this.key,1);return true}else{this.replace(null);return false}};function Element(S,E,k,w){this.node=S;this.path=E;this.wrap=k;this.ref=w}function Controller(){}Controller.prototype.path=function path(){var S,E,k,w,N,j;function addToPath(S,E){if(Array.isArray(E)){for(k=0,w=E.length;k=0;--k){if(S[k].node===E){return true}}return false}Controller.prototype.traverse=function traverse(S,E){var k,w,q,ee,te,ne,ae,_e,ve,Ee,Te,Ce;this.__initialize(S,E);Ce={};k=this.__worklist;w=this.__leavelist;k.push(new Element(S,null,null,null));w.push(new Element(null,null,null,null));while(k.length){q=k.pop();if(q===Ce){q=w.pop();ne=this.__execute(E.leave,q);if(this.__state===N||ne===N){return}continue}if(q.node){ne=this.__execute(E.enter,q);if(this.__state===N||ne===N){return}k.push(Ce);w.push(q);if(this.__state===j||ne===j){continue}ee=q.node;te=ee.type||q.wrap;Ee=this.__keys[te];if(!Ee){if(this.__fallback){Ee=this.__fallback(ee)}else{throw new Error("Unknown node type "+te+".")}}_e=Ee.length;while((_e-=1)>=0){ae=Ee[_e];Te=ee[ae];if(!Te){continue}if(Array.isArray(Te)){ve=Te.length;while((ve-=1)>=0){if(!Te[ve]){continue}if(candidateExistsInLeaveList(w,Te[ve])){continue}if(isProperty(te,Ee[_e])){q=new Element(Te[ve],[ae,ve],"Property",null)}else if(isNode(Te[ve])){q=new Element(Te[ve],[ae,ve],null,null)}else{continue}k.push(q)}}else if(isNode(Te)){if(candidateExistsInLeaveList(w,Te)){continue}k.push(new Element(Te,ae,null,null))}}}}};Controller.prototype.replace=function replace(S,E){var k,w,ee,te,ne,ae,_e,ve,Ee,Te,Ce,we,Ne;function removeElem(S){var E,w,N,j;if(S.ref.remove()){w=S.ref.key;j=S.ref.parent;E=k.length;while(E--){N=k[E];if(N.ref&&N.ref.parent===j){if(N.ref.key=0){Ne=Ee[_e];Te=ee[Ne];if(!Te){continue}if(Array.isArray(Te)){ve=Te.length;while((ve-=1)>=0){if(!Te[ve]){continue}if(isProperty(te,Ee[_e])){ae=new Element(Te[ve],[Ne,ve],"Property",new Reference(Te,ve))}else if(isNode(Te[ve])){ae=new Element(Te[ve],[Ne,ve],null,new Reference(Te,ve))}else{continue}k.push(ae)}}else if(isNode(Te)){k.push(new Element(Te,Ne,null,new Reference(ee,Ne)))}}}return we.root};function traverse(S,E){var k=new Controller;return k.traverse(S,E)}function replace(S,E){var k=new Controller;return k.replace(S,E)}function extendCommentRange(S,E){var k;k=upperBound(E,(function search(E){return E.range[0]>S.range[0]}));S.extendedRange=[S.range[0],S.range[1]];if(k!==E.length){S.extendedRange[1]=E[k].range[0]}k-=1;if(k>=0){S.extendedRange[0]=E[k].range[1]}return S}function attachComments(S,E,w){var N=[],j,q,ee,te;if(!S.range){throw new Error("attachComments needs range information")}if(!w.length){if(E.length){for(ee=0,q=E.length;eeS.range[0]){break}if(E.extendedRange[1]===S.range[0]){if(!S.leadingComments){S.leadingComments=[]}S.leadingComments.push(E);N.splice(te,1)}else{te+=1}}if(te===N.length){return k.Break}if(N[te].extendedRange[0]>S.range[1]){return k.Skip}}});te=0;traverse(S,{leave:function(S){var E;while(teS.range[1]){return k.Skip}}});return S}S.Syntax=E;S.traverse=traverse;S.replace=replace;S.attachComments=attachComments;S.VisitorKeys=w;S.VisitorOption=k;S.Controller=Controller;S.cloneEnvironment=function(){return clone({})};return S})(E)},92105:(S,E,k)=>{(function clone(S){"use strict";var E,w,N,j,q,ee;function deepCopy(S){var E={},k,w;for(k in S){if(S.hasOwnProperty(k)){w=S[k];if(typeof w==="object"&&w!==null){E[k]=deepCopy(w)}else{E[k]=w}}}return E}function upperBound(S,E){var k,w,N,j;w=S.length;N=0;while(w){k=w>>>1;j=N+k;if(E(S[j])){w=k}else{N=j+1;w-=k+1}}return N}E={AssignmentExpression:"AssignmentExpression",AssignmentPattern:"AssignmentPattern",ArrayExpression:"ArrayExpression",ArrayPattern:"ArrayPattern",ArrowFunctionExpression:"ArrowFunctionExpression",AwaitExpression:"AwaitExpression",BlockStatement:"BlockStatement",BinaryExpression:"BinaryExpression",BreakStatement:"BreakStatement",CallExpression:"CallExpression",CatchClause:"CatchClause",ClassBody:"ClassBody",ClassDeclaration:"ClassDeclaration",ClassExpression:"ClassExpression",ComprehensionBlock:"ComprehensionBlock",ComprehensionExpression:"ComprehensionExpression",ConditionalExpression:"ConditionalExpression",ContinueStatement:"ContinueStatement",DebuggerStatement:"DebuggerStatement",DirectiveStatement:"DirectiveStatement",DoWhileStatement:"DoWhileStatement",EmptyStatement:"EmptyStatement",ExportAllDeclaration:"ExportAllDeclaration",ExportDefaultDeclaration:"ExportDefaultDeclaration",ExportNamedDeclaration:"ExportNamedDeclaration",ExportSpecifier:"ExportSpecifier",ExpressionStatement:"ExpressionStatement",ForStatement:"ForStatement",ForInStatement:"ForInStatement",ForOfStatement:"ForOfStatement",FunctionDeclaration:"FunctionDeclaration",FunctionExpression:"FunctionExpression",GeneratorExpression:"GeneratorExpression",Identifier:"Identifier",IfStatement:"IfStatement",ImportExpression:"ImportExpression",ImportDeclaration:"ImportDeclaration",ImportDefaultSpecifier:"ImportDefaultSpecifier",ImportNamespaceSpecifier:"ImportNamespaceSpecifier",ImportSpecifier:"ImportSpecifier",Literal:"Literal",LabeledStatement:"LabeledStatement",LogicalExpression:"LogicalExpression",MemberExpression:"MemberExpression",MetaProperty:"MetaProperty",MethodDefinition:"MethodDefinition",ModuleSpecifier:"ModuleSpecifier",NewExpression:"NewExpression",ObjectExpression:"ObjectExpression",ObjectPattern:"ObjectPattern",Program:"Program",Property:"Property",RestElement:"RestElement",ReturnStatement:"ReturnStatement",SequenceExpression:"SequenceExpression",SpreadElement:"SpreadElement",Super:"Super",SwitchStatement:"SwitchStatement",SwitchCase:"SwitchCase",TaggedTemplateExpression:"TaggedTemplateExpression",TemplateElement:"TemplateElement",TemplateLiteral:"TemplateLiteral",ThisExpression:"ThisExpression",ThrowStatement:"ThrowStatement",TryStatement:"TryStatement",UnaryExpression:"UnaryExpression",UpdateExpression:"UpdateExpression",VariableDeclaration:"VariableDeclaration",VariableDeclarator:"VariableDeclarator",WhileStatement:"WhileStatement",WithStatement:"WithStatement",YieldExpression:"YieldExpression"};N={AssignmentExpression:["left","right"],AssignmentPattern:["left","right"],ArrayExpression:["elements"],ArrayPattern:["elements"],ArrowFunctionExpression:["params","body"],AwaitExpression:["argument"],BlockStatement:["body"],BinaryExpression:["left","right"],BreakStatement:["label"],CallExpression:["callee","arguments"],CatchClause:["param","body"],ClassBody:["body"],ClassDeclaration:["id","superClass","body"],ClassExpression:["id","superClass","body"],ComprehensionBlock:["left","right"],ComprehensionExpression:["blocks","filter","body"],ConditionalExpression:["test","consequent","alternate"],ContinueStatement:["label"],DebuggerStatement:[],DirectiveStatement:[],DoWhileStatement:["body","test"],EmptyStatement:[],ExportAllDeclaration:["source"],ExportDefaultDeclaration:["declaration"],ExportNamedDeclaration:["declaration","specifiers","source"],ExportSpecifier:["exported","local"],ExpressionStatement:["expression"],ForStatement:["init","test","update","body"],ForInStatement:["left","right","body"],ForOfStatement:["left","right","body"],FunctionDeclaration:["id","params","body"],FunctionExpression:["id","params","body"],GeneratorExpression:["blocks","filter","body"],Identifier:[],IfStatement:["test","consequent","alternate"],ImportExpression:["source"],ImportDeclaration:["specifiers","source"],ImportDefaultSpecifier:["local"],ImportNamespaceSpecifier:["local"],ImportSpecifier:["imported","local"],Literal:[],LabeledStatement:["label","body"],LogicalExpression:["left","right"],MemberExpression:["object","property"],MetaProperty:["meta","property"],MethodDefinition:["key","value"],ModuleSpecifier:[],NewExpression:["callee","arguments"],ObjectExpression:["properties"],ObjectPattern:["properties"],Program:["body"],Property:["key","value"],RestElement:["argument"],ReturnStatement:["argument"],SequenceExpression:["expressions"],SpreadElement:["argument"],Super:[],SwitchStatement:["discriminant","cases"],SwitchCase:["test","consequent"],TaggedTemplateExpression:["tag","quasi"],TemplateElement:[],TemplateLiteral:["quasis","expressions"],ThisExpression:[],ThrowStatement:["argument"],TryStatement:["block","handler","finalizer"],UnaryExpression:["argument"],UpdateExpression:["argument"],VariableDeclaration:["declarations"],VariableDeclarator:["id","init"],WhileStatement:["test","body"],WithStatement:["object","body"],YieldExpression:["argument"]};j={};q={};ee={};w={Break:j,Skip:q,Remove:ee};function Reference(S,E){this.parent=S;this.key=E}Reference.prototype.replace=function replace(S){this.parent[this.key]=S};Reference.prototype.remove=function remove(){if(Array.isArray(this.parent)){this.parent.splice(this.key,1);return true}else{this.replace(null);return false}};function Element(S,E,k,w){this.node=S;this.path=E;this.wrap=k;this.ref=w}function Controller(){}Controller.prototype.path=function path(){var S,E,k,w,N,j;function addToPath(S,E){if(Array.isArray(E)){for(k=0,w=E.length;k=0){ae=Ee[_e];Te=ee[ae];if(!Te){continue}if(Array.isArray(Te)){ve=Te.length;while((ve-=1)>=0){if(!Te[ve]){continue}if(isProperty(te,Ee[_e])){N=new Element(Te[ve],[ae,ve],"Property",null)}else if(isNode(Te[ve])){N=new Element(Te[ve],[ae,ve],null,null)}else{continue}k.push(N)}}else if(isNode(Te)){k.push(new Element(Te,ae,null,null))}}}}};Controller.prototype.replace=function replace(S,E){var k,w,N,te,ne,ae,_e,ve,Ee,Te,Ce,we,Ne;function removeElem(S){var E,w,N,j;if(S.ref.remove()){w=S.ref.key;j=S.ref.parent;E=k.length;while(E--){N=k[E];if(N.ref&&N.ref.parent===j){if(N.ref.key=0){Ne=Ee[_e];Te=N[Ne];if(!Te){continue}if(Array.isArray(Te)){ve=Te.length;while((ve-=1)>=0){if(!Te[ve]){continue}if(isProperty(te,Ee[_e])){ae=new Element(Te[ve],[Ne,ve],"Property",new Reference(Te,ve))}else if(isNode(Te[ve])){ae=new Element(Te[ve],[Ne,ve],null,new Reference(Te,ve))}else{continue}k.push(ae)}}else if(isNode(Te)){k.push(new Element(Te,Ne,null,new Reference(N,Ne)))}}}return we.root};function traverse(S,E){var k=new Controller;return k.traverse(S,E)}function replace(S,E){var k=new Controller;return k.replace(S,E)}function extendCommentRange(S,E){var k;k=upperBound(E,(function search(E){return E.range[0]>S.range[0]}));S.extendedRange=[S.range[0],S.range[1]];if(k!==E.length){S.extendedRange[1]=E[k].range[0]}k-=1;if(k>=0){S.extendedRange[0]=E[k].range[1]}return S}function attachComments(S,E,k){var N=[],j,q,ee,te;if(!S.range){throw new Error("attachComments needs range information")}if(!k.length){if(E.length){for(ee=0,q=E.length;eeS.range[0]){break}if(E.extendedRange[1]===S.range[0]){if(!S.leadingComments){S.leadingComments=[]}S.leadingComments.push(E);N.splice(te,1)}else{te+=1}}if(te===N.length){return w.Break}if(N[te].extendedRange[0]>S.range[1]){return w.Skip}}});te=0;traverse(S,{leave:function(S){var E;while(teS.range[1]){return w.Skip}}});return S}S.version=k(82788).i8;S.Syntax=E;S.traverse=traverse;S.replace=replace;S.attachComments=attachComments;S.VisitorKeys=N;S.VisitorOption=w;S.Controller=Controller;S.cloneEnvironment=function(){return clone({})};return S})(E)},55245:S=>{"use strict";S.exports=function equal(S,E){if(S===E)return true;if(S&&E&&typeof S=="object"&&typeof E=="object"){if(S.constructor!==E.constructor)return false;var k,w,N;if(Array.isArray(S)){k=S.length;if(k!=E.length)return false;for(w=k;w--!==0;)if(!equal(S[w],E[w]))return false;return true}if(S.constructor===RegExp)return S.source===E.source&&S.flags===E.flags;if(S.valueOf!==Object.prototype.valueOf)return S.valueOf()===E.valueOf();if(S.toString!==Object.prototype.toString)return S.toString()===E.toString();N=Object.keys(S);k=N.length;if(k!==Object.keys(E).length)return false;for(w=k;w--!==0;)if(!Object.prototype.hasOwnProperty.call(E,N[w]))return false;for(w=k;w--!==0;){var j=N[w];if(!equal(S[j],E[j]))return false}return true}return S!==S&&E!==E}},75986:S=>{"use strict";S.exports=function(S,E){if(!E)E={};if(typeof E==="function")E={cmp:E};var k=typeof E.cycles==="boolean"?E.cycles:false;var w=E.cmp&&function(S){return function(E){return function(k,w){var N={key:k,value:E[k]};var j={key:w,value:E[w]};return S(N,j)}}}(E.cmp);var N=[];return function stringify(S){if(S&&S.toJSON&&typeof S.toJSON==="function"){S=S.toJSON()}if(S===undefined)return;if(typeof S=="number")return isFinite(S)?""+S:"null";if(typeof S!=="object")return JSON.stringify(S);var E,j;if(Array.isArray(S)){j="[";for(E=0;E{S.exports=function(S,E){if(typeof S!=="string"){throw new TypeError("Expected a string")}var k=String(S);var w="";var N=E?!!E.extended:false;var j=E?!!E.globstar:false;var q=false;var ee=E&&typeof E.flags==="string"?E.flags:"";var te;for(var ne=0,ae=k.length;ne1&&(_e==="/"||_e===undefined)&&(Ee==="/"||Ee===undefined);if(Te){w+="((?:[^/]*(?:/|$))*)";ne++}else{w+="([^/]*)"}}break;default:w+=te}}if(!ee||!~ee.indexOf("g")){w="^"+w+"$"}return new RegExp(w,ee)}},40858:S=>{"use strict";S.exports=clone;var E=Object.getPrototypeOf||function(S){return S.__proto__};function clone(S){if(S===null||typeof S!=="object")return S;if(S instanceof Object)var k={__proto__:E(S)};else var k=Object.create(null);Object.getOwnPropertyNames(S).forEach((function(E){Object.defineProperty(k,E,Object.getOwnPropertyDescriptor(S,E))}));return k}},15808:(S,E,k)=>{var w=k(35747);var N=k(82444);var j=k(94073);var q=k(40858);var ee=k(31669);var te;var ne;if(typeof Symbol==="function"&&typeof Symbol.for==="function"){te=Symbol.for("graceful-fs.queue");ne=Symbol.for("graceful-fs.previous")}else{te="___graceful-fs.queue";ne="___graceful-fs.previous"}function noop(){}function publishQueue(S,E){Object.defineProperty(S,te,{get:function(){return E}})}var ae=noop;if(ee.debuglog)ae=ee.debuglog("gfs4");else if(/\bgfs4\b/i.test(process.env.NODE_DEBUG||""))ae=function(){var S=ee.format.apply(ee,arguments);S="GFS4: "+S.split(/\n/).join("\nGFS4: ");console.error(S)};if(!w[te]){var _e=global[te]||[];publishQueue(w,_e);w.close=function(S){function close(E,k){return S.call(w,E,(function(S){if(!S){retry()}if(typeof k==="function")k.apply(this,arguments)}))}Object.defineProperty(close,ne,{value:S});return close}(w.close);w.closeSync=function(S){function closeSync(E){S.apply(w,arguments);retry()}Object.defineProperty(closeSync,ne,{value:S});return closeSync}(w.closeSync);if(/\bgfs4\b/i.test(process.env.NODE_DEBUG||"")){process.on("exit",(function(){ae(w[te]);k(42357).equal(w[te].length,0)}))}}if(!global[te]){publishQueue(global,w[te])}S.exports=patch(q(w));if(process.env.TEST_GRACEFUL_FS_GLOBAL_PATCH&&!w.__patched){S.exports=patch(w);w.__patched=true}function patch(S){N(S);S.gracefulify=patch;S.createReadStream=createReadStream;S.createWriteStream=createWriteStream;var E=S.readFile;S.readFile=readFile;function readFile(S,k,w){if(typeof k==="function")w=k,k=null;return go$readFile(S,k,w);function go$readFile(S,k,w){return E(S,k,(function(E){if(E&&(E.code==="EMFILE"||E.code==="ENFILE"))enqueue([go$readFile,[S,k,w]]);else{if(typeof w==="function")w.apply(this,arguments);retry()}}))}}var k=S.writeFile;S.writeFile=writeFile;function writeFile(S,E,w,N){if(typeof w==="function")N=w,w=null;return go$writeFile(S,E,w,N);function go$writeFile(S,E,w,N){return k(S,E,w,(function(k){if(k&&(k.code==="EMFILE"||k.code==="ENFILE"))enqueue([go$writeFile,[S,E,w,N]]);else{if(typeof N==="function")N.apply(this,arguments);retry()}}))}}var w=S.appendFile;if(w)S.appendFile=appendFile;function appendFile(S,E,k,N){if(typeof k==="function")N=k,k=null;return go$appendFile(S,E,k,N);function go$appendFile(S,E,k,N){return w(S,E,k,(function(w){if(w&&(w.code==="EMFILE"||w.code==="ENFILE"))enqueue([go$appendFile,[S,E,k,N]]);else{if(typeof N==="function")N.apply(this,arguments);retry()}}))}}var q=S.copyFile;if(q)S.copyFile=copyFile;function copyFile(S,E,k,w){if(typeof k==="function"){w=k;k=0}return q(S,E,k,(function(N){if(N&&(N.code==="EMFILE"||N.code==="ENFILE"))enqueue([q,[S,E,k,w]]);else{if(typeof w==="function")w.apply(this,arguments);retry()}}))}var ee=S.readdir;S.readdir=readdir;function readdir(S,E,k){var w=[S];if(typeof E!=="function"){w.push(E)}else{k=E}w.push(go$readdir$cb);return go$readdir(w);function go$readdir$cb(S,E){if(E&&E.sort)E.sort();if(S&&(S.code==="EMFILE"||S.code==="ENFILE"))enqueue([go$readdir,[w]]);else{if(typeof k==="function")k.apply(this,arguments);retry()}}}function go$readdir(E){return ee.apply(S,E)}if(process.version.substr(0,4)==="v0.8"){var te=j(S);ReadStream=te.ReadStream;WriteStream=te.WriteStream}var ne=S.ReadStream;if(ne){ReadStream.prototype=Object.create(ne.prototype);ReadStream.prototype.open=ReadStream$open}var ae=S.WriteStream;if(ae){WriteStream.prototype=Object.create(ae.prototype);WriteStream.prototype.open=WriteStream$open}Object.defineProperty(S,"ReadStream",{get:function(){return ReadStream},set:function(S){ReadStream=S},enumerable:true,configurable:true});Object.defineProperty(S,"WriteStream",{get:function(){return WriteStream},set:function(S){WriteStream=S},enumerable:true,configurable:true});var _e=ReadStream;Object.defineProperty(S,"FileReadStream",{get:function(){return _e},set:function(S){_e=S},enumerable:true,configurable:true});var ve=WriteStream;Object.defineProperty(S,"FileWriteStream",{get:function(){return ve},set:function(S){ve=S},enumerable:true,configurable:true});function ReadStream(S,E){if(this instanceof ReadStream)return ne.apply(this,arguments),this;else return ReadStream.apply(Object.create(ReadStream.prototype),arguments)}function ReadStream$open(){var S=this;open(S.path,S.flags,S.mode,(function(E,k){if(E){if(S.autoClose)S.destroy();S.emit("error",E)}else{S.fd=k;S.emit("open",k);S.read()}}))}function WriteStream(S,E){if(this instanceof WriteStream)return ae.apply(this,arguments),this;else return WriteStream.apply(Object.create(WriteStream.prototype),arguments)}function WriteStream$open(){var S=this;open(S.path,S.flags,S.mode,(function(E,k){if(E){S.destroy();S.emit("error",E)}else{S.fd=k;S.emit("open",k)}}))}function createReadStream(E,k){return new S.ReadStream(E,k)}function createWriteStream(E,k){return new S.WriteStream(E,k)}var Ee=S.open;S.open=open;function open(S,E,k,w){if(typeof k==="function")w=k,k=null;return go$open(S,E,k,w);function go$open(S,E,k,w){return Ee(S,E,k,(function(N,j){if(N&&(N.code==="EMFILE"||N.code==="ENFILE"))enqueue([go$open,[S,E,k,w]]);else{if(typeof w==="function")w.apply(this,arguments);retry()}}))}}return S}function enqueue(S){ae("ENQUEUE",S[0].name,S[1]);w[te].push(S)}function retry(){var S=w[te].shift();if(S){ae("RETRY",S[0].name,S[1]);S[0].apply(null,S[1])}}},94073:(S,E,k)=>{var w=k(92413).Stream;S.exports=legacy;function legacy(S){return{ReadStream:ReadStream,WriteStream:WriteStream};function ReadStream(E,k){if(!(this instanceof ReadStream))return new ReadStream(E,k);w.call(this);var N=this;this.path=E;this.fd=null;this.readable=true;this.paused=false;this.flags="r";this.mode=438;this.bufferSize=64*1024;k=k||{};var j=Object.keys(k);for(var q=0,ee=j.length;qthis.end){throw new Error("start must be <= end")}this.pos=this.start}if(this.fd!==null){process.nextTick((function(){N._read()}));return}S.open(this.path,this.flags,this.mode,(function(S,E){if(S){N.emit("error",S);N.readable=false;return}N.fd=E;N.emit("open",E);N._read()}))}function WriteStream(E,k){if(!(this instanceof WriteStream))return new WriteStream(E,k);w.call(this);this.path=E;this.fd=null;this.writable=true;this.flags="w";this.encoding="binary";this.mode=438;this.bytesWritten=0;k=k||{};var N=Object.keys(k);for(var j=0,q=N.length;j= zero")}this.pos=this.start}this.busy=false;this._queue=[];if(this.fd===null){this._open=S.open;this._queue.push([this._open,this.path,this.flags,this.mode,undefined]);this.flush()}}}},82444:(S,E,k)=>{var w=k(27619);var N=process.cwd;var j=null;var q=process.env.GRACEFUL_FS_PLATFORM||process.platform;process.cwd=function(){if(!j)j=N.call(process);return j};try{process.cwd()}catch(S){}if(typeof process.chdir==="function"){var ee=process.chdir;process.chdir=function(S){j=null;ee.call(process,S)};if(Object.setPrototypeOf)Object.setPrototypeOf(process.chdir,ee)}S.exports=patch;function patch(S){if(w.hasOwnProperty("O_SYMLINK")&&process.version.match(/^v0\.6\.[0-2]|^v0\.5\./)){patchLchmod(S)}if(!S.lutimes){patchLutimes(S)}S.chown=chownFix(S.chown);S.fchown=chownFix(S.fchown);S.lchown=chownFix(S.lchown);S.chmod=chmodFix(S.chmod);S.fchmod=chmodFix(S.fchmod);S.lchmod=chmodFix(S.lchmod);S.chownSync=chownFixSync(S.chownSync);S.fchownSync=chownFixSync(S.fchownSync);S.lchownSync=chownFixSync(S.lchownSync);S.chmodSync=chmodFixSync(S.chmodSync);S.fchmodSync=chmodFixSync(S.fchmodSync);S.lchmodSync=chmodFixSync(S.lchmodSync);S.stat=statFix(S.stat);S.fstat=statFix(S.fstat);S.lstat=statFix(S.lstat);S.statSync=statFixSync(S.statSync);S.fstatSync=statFixSync(S.fstatSync);S.lstatSync=statFixSync(S.lstatSync);if(!S.lchmod){S.lchmod=function(S,E,k){if(k)process.nextTick(k)};S.lchmodSync=function(){}}if(!S.lchown){S.lchown=function(S,E,k,w){if(w)process.nextTick(w)};S.lchownSync=function(){}}if(q==="win32"){S.rename=function(E){return function(k,w,N){var j=Date.now();var q=0;E(k,w,(function CB(ee){if(ee&&(ee.code==="EACCES"||ee.code==="EPERM")&&Date.now()-j<6e4){setTimeout((function(){S.stat(w,(function(S,j){if(S&&S.code==="ENOENT")E(k,w,CB);else N(ee)}))}),q);if(q<100)q+=10;return}if(N)N(ee)}))}}(S.rename)}S.read=function(E){function read(k,w,N,j,q,ee){var te;if(ee&&typeof ee==="function"){var ne=0;te=function(ae,_e,ve){if(ae&&ae.code==="EAGAIN"&&ne<10){ne++;return E.call(S,k,w,N,j,q,te)}ee.apply(this,arguments)}}return E.call(S,k,w,N,j,q,te)}if(Object.setPrototypeOf)Object.setPrototypeOf(read,E);return read}(S.read);S.readSync=function(E){return function(k,w,N,j,q){var ee=0;while(true){try{return E.call(S,k,w,N,j,q)}catch(S){if(S.code==="EAGAIN"&&ee<10){ee++;continue}throw S}}}}(S.readSync);function patchLchmod(S){S.lchmod=function(E,k,N){S.open(E,w.O_WRONLY|w.O_SYMLINK,k,(function(E,w){if(E){if(N)N(E);return}S.fchmod(w,k,(function(E){S.close(w,(function(S){if(N)N(E||S)}))}))}))};S.lchmodSync=function(E,k){var N=S.openSync(E,w.O_WRONLY|w.O_SYMLINK,k);var j=true;var q;try{q=S.fchmodSync(N,k);j=false}finally{if(j){try{S.closeSync(N)}catch(S){}}else{S.closeSync(N)}}return q}}function patchLutimes(S){if(w.hasOwnProperty("O_SYMLINK")){S.lutimes=function(E,k,N,j){S.open(E,w.O_SYMLINK,(function(E,w){if(E){if(j)j(E);return}S.futimes(w,k,N,(function(E){S.close(w,(function(S){if(j)j(E||S)}))}))}))};S.lutimesSync=function(E,k,N){var j=S.openSync(E,w.O_SYMLINK);var q;var ee=true;try{q=S.futimesSync(j,k,N);ee=false}finally{if(ee){try{S.closeSync(j)}catch(S){}}else{S.closeSync(j)}}return q}}else{S.lutimes=function(S,E,k,w){if(w)process.nextTick(w)};S.lutimesSync=function(){}}}function chmodFix(E){if(!E)return E;return function(k,w,N){return E.call(S,k,w,(function(S){if(chownErOk(S))S=null;if(N)N.apply(this,arguments)}))}}function chmodFixSync(E){if(!E)return E;return function(k,w){try{return E.call(S,k,w)}catch(S){if(!chownErOk(S))throw S}}}function chownFix(E){if(!E)return E;return function(k,w,N,j){return E.call(S,k,w,N,(function(S){if(chownErOk(S))S=null;if(j)j.apply(this,arguments)}))}}function chownFixSync(E){if(!E)return E;return function(k,w,N){try{return E.call(S,k,w,N)}catch(S){if(!chownErOk(S))throw S}}}function statFix(E){if(!E)return E;return function(k,w,N){if(typeof w==="function"){N=w;w=null}function callback(S,E){if(E){if(E.uid<0)E.uid+=4294967296;if(E.gid<0)E.gid+=4294967296}if(N)N.apply(this,arguments)}return w?E.call(S,k,w,callback):E.call(S,k,callback)}}function statFixSync(E){if(!E)return E;return function(k,w){var N=w?E.call(S,k,w):E.call(S,k);if(N.uid<0)N.uid+=4294967296;if(N.gid<0)N.gid+=4294967296;return N}}function chownErOk(S){if(!S)return true;if(S.code==="ENOSYS")return true;var E=!process.getuid||process.getuid()!==0;if(E){if(S.code==="EINVAL"||S.code==="EPERM")return true}return false}}},86811:S=>{"use strict";S.exports=(S,E=process.argv)=>{const k=S.startsWith("-")?"":S.length===1?"-":"--";const w=E.indexOf(k+S);const N=E.indexOf("--");return w!==-1&&(N===-1||w{"use strict";Object.defineProperty(E,"__esModule",{value:true});E.default=void 0;var w=_interopRequireDefault(k(62483));var N=k(42195);function _interopRequireDefault(S){return S&&S.__esModule?S:{default:S}}function _defineProperty(S,E,k){if(E in S){Object.defineProperty(S,E,{value:k,enumerable:true,configurable:true,writable:true})}else{S[E]=k}return S}class Farm{constructor(S,E,k={}){var N,j;this._numOfWorkers=S;this._callback=E;_defineProperty(this,"_computeWorkerKey",void 0);_defineProperty(this,"_workerSchedulingPolicy",void 0);_defineProperty(this,"_cacheKeys",Object.create(null));_defineProperty(this,"_locks",[]);_defineProperty(this,"_offset",0);_defineProperty(this,"_taskQueue",void 0);this._computeWorkerKey=k.computeWorkerKey;this._workerSchedulingPolicy=(N=k.workerSchedulingPolicy)!==null&&N!==void 0?N:"round-robin";this._taskQueue=(j=k.taskQueue)!==null&&j!==void 0?j:new w.default}doWork(S,...E){const k=new Set;const addCustomMessageListener=S=>{k.add(S);return()=>{k.delete(S)}};const onCustomMessage=S=>{k.forEach((E=>E(S)))};const w=new Promise(((E,w,j)=>{const q=this._computeWorkerKey;const ee=[N.CHILD_MESSAGE_CALL,false,S,E];let te=null;let ne=null;if(q){ne=q.call(this,S,...E);te=ne==null?null:this._cacheKeys[ne]}const onStart=S=>{if(ne!=null){this._cacheKeys[ne]=S}};const onEnd=(S,E)=>{k.clear();if(S){j(S)}else{w(E)}};const ae={onCustomMessage:onCustomMessage,onEnd:onEnd,onStart:onStart,request:ee};if(te){this._taskQueue.enqueue(ae,te.getWorkerId());this._process(te.getWorkerId())}else{this._push(ae)}}).bind(null,E));w.UNSTABLE_onCustomMessage=addCustomMessageListener;return w}_process(S){if(this._isLocked(S)){return this}const E=this._taskQueue.dequeue(S);if(!E){return this}if(E.request[1]){throw new Error("Queue implementation returned processed task")}const k=E.onEnd;const onEnd=(E,w)=>{k(E,w);this._unlock(S);this._process(S)};E.request[1]=true;this._lock(S);this._callback(S,E.request,E.onStart,onEnd,E.onCustomMessage);return this}_push(S){this._taskQueue.enqueue(S);const E=this._getNextWorkerOffset();for(let k=0;k{"use strict";Object.defineProperty(E,"__esModule",{value:true});E.default=void 0;function _defineProperty(S,E,k){if(E in S){Object.defineProperty(S,E,{value:k,enumerable:true,configurable:true,writable:true})}else{S[E]=k}return S}class FifoQueue{constructor(){_defineProperty(this,"_workerQueues",[]);_defineProperty(this,"_sharedQueue",new InternalQueue)}enqueue(S,E){if(E==null){this._sharedQueue.enqueue(S);return}let k=this._workerQueues[E];if(k==null){k=this._workerQueues[E]=new InternalQueue}const w=this._sharedQueue.peekLast();const N={previousSharedTask:w,task:S};k.enqueue(N)}dequeue(S){var E,k,w;const N=(E=this._workerQueues[S])===null||E===void 0?void 0:E.peek();const j=(k=N===null||N===void 0?void 0:(w=N.previousSharedTask)===null||w===void 0?void 0:w.request[1])!==null&&k!==void 0?k:true;if(N!=null&&j){var q,ee,te;return(q=(ee=this._workerQueues[S])===null||ee===void 0?void 0:(te=ee.dequeue())===null||te===void 0?void 0:te.task)!==null&&q!==void 0?q:null}return this._sharedQueue.dequeue()}}E.default=FifoQueue;class InternalQueue{constructor(){_defineProperty(this,"_head",null);_defineProperty(this,"_last",null)}enqueue(S){const E={next:null,value:S};if(this._last==null){this._head=E}else{this._last.next=E}this._last=E}dequeue(){if(this._head==null){return null}const S=this._head;this._head=S.next;if(this._head==null){this._last=null}return S.value}peek(){var S,E;return(S=(E=this._head)===null||E===void 0?void 0:E.value)!==null&&S!==void 0?S:null}peekLast(){var S,E;return(S=(E=this._last)===null||E===void 0?void 0:E.value)!==null&&S!==void 0?S:null}}},25739:(S,E)=>{"use strict";Object.defineProperty(E,"__esModule",{value:true});E.default=void 0;function _defineProperty(S,E,k){if(E in S){Object.defineProperty(S,E,{value:k,enumerable:true,configurable:true,writable:true})}else{S[E]=k}return S}class PriorityQueue{constructor(S){this._computePriority=S;_defineProperty(this,"_queue",[]);_defineProperty(this,"_sharedQueue",new MinHeap)}enqueue(S,E){if(E==null){this._enqueue(S,this._sharedQueue)}else{const k=this._getWorkerQueue(E);this._enqueue(S,k)}}_enqueue(S,E){const k={priority:this._computePriority(S.request[2],...S.request[3]),task:S};E.add(k)}dequeue(S){const E=this._getWorkerQueue(S);const k=E.peek();const w=this._sharedQueue.peek();if(w==null||k!=null&&k.priority<=w.priority){var N,j;return(N=(j=E.poll())===null||j===void 0?void 0:j.task)!==null&&N!==void 0?N:null}return this._sharedQueue.poll().task}_getWorkerQueue(S){let E=this._queue[S];if(E==null){E=this._queue[S]=new MinHeap}return E}}E.default=PriorityQueue;class MinHeap{constructor(){_defineProperty(this,"_heap",[])}peek(){var S;return(S=this._heap[0])!==null&&S!==void 0?S:null}add(S){const E=this._heap;E.push(S);if(E.length===1){return}let k=E.length-1;while(k>0){const w=Math.floor((k+1)/2)-1;const N=E[w];if(N.priority<=S.priority){break}E[k]=N;E[w]=S;k=w}}poll(){const S=this._heap;const E=S[0];const k=S.pop();if(E==null||S.length===0){return E!==null&&E!==void 0?E:null}let w=0;S[0]=k!==null&&k!==void 0?k:null;const N=S[0];while(true){let E=null;const k=(w+1)*2;const j=k-1;const q=S[k];const ee=S[j];if(ee!=null&&ee.priority{"use strict";Object.defineProperty(E,"__esModule",{value:true});E.default=void 0;var w=_interopRequireDefault(k(68189));function _interopRequireDefault(S){return S&&S.__esModule?S:{default:S}}const canUseWorkerThreads=()=>{try{k(65013);return true}catch{return false}};class WorkerPool extends w.default{send(S,E,k,w,N){this.getWorkerById(S).send(E,k,w,N)}createWorker(S){let E;if(this._options.enableWorkerThreads&&canUseWorkerThreads()){E=k(12295).Z}else{E=k(17164).Z}return new E(S)}}var N=WorkerPool;E.default=N},68189:(S,E,k)=>{"use strict";Object.defineProperty(E,"__esModule",{value:true});E.default=void 0;function path(){const S=_interopRequireWildcard(k(85622));path=function(){return S};return S}function _mergeStream(){const S=_interopRequireDefault(k(33089));_mergeStream=function(){return S};return S}function _types(){const S=k(42195);_types=function(){return S};return S}function _interopRequireDefault(S){return S&&S.__esModule?S:{default:S}}function _getRequireWildcardCache(S){if(typeof WeakMap!=="function")return null;var E=new WeakMap;var k=new WeakMap;return(_getRequireWildcardCache=function(S){return S?k:E})(S)}function _interopRequireWildcard(S,E){if(!E&&S&&S.__esModule){return S}if(S===null||typeof S!=="object"&&typeof S!=="function"){return{default:S}}var k=_getRequireWildcardCache(E);if(k&&k.has(S)){return k.get(S)}var w={};var N=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var j in S){if(j!=="default"&&Object.prototype.hasOwnProperty.call(S,j)){var q=N?Object.getOwnPropertyDescriptor(S,j):null;if(q&&(q.get||q.set)){Object.defineProperty(w,j,q)}else{w[j]=S[j]}}}w.default=S;if(k){k.set(S,w)}return w}function _defineProperty(S,E,k){if(E in S){Object.defineProperty(S,E,{value:k,enumerable:true,configurable:true,writable:true})}else{S[E]=k}return S}const w=500;const emptyMethod=()=>{};class BaseWorkerPool{constructor(S,E){_defineProperty(this,"_stderr",void 0);_defineProperty(this,"_stdout",void 0);_defineProperty(this,"_options",void 0);_defineProperty(this,"_workers",void 0);this._options=E;this._workers=new Array(E.numWorkers);if(!path().isAbsolute(S)){S=require.resolve(S)}const k=(0,_mergeStream().default)();const w=(0,_mergeStream().default)();const{forkOptions:N,maxRetries:j,resourceLimits:q,setupArgs:ee}=E;for(let te=0;te{S.send([_types().CHILD_MESSAGE_END,false],emptyMethod,emptyMethod,emptyMethod);let E=false;const k=setTimeout((()=>{S.forceExit();E=true}),w);await S.waitForExit();clearTimeout(k);return E}));const E=await Promise.all(S);return E.reduce(((S,E)=>({forceExited:S.forceExited||E})),{forceExited:false})}}E.default=BaseWorkerPool},69419:(S,E,k)=>{"use strict";Object.defineProperty(E,"__esModule",{value:true});Object.defineProperty(E,"PriorityQueue",{enumerable:true,get:function(){return j.default}});Object.defineProperty(E,"FifoQueue",{enumerable:true,get:function(){return q.default}});Object.defineProperty(E,"messageParent",{enumerable:true,get:function(){return ee.default}});E.Worker=void 0;function _os(){const S=k(12087);_os=function(){return S};return S}var w=_interopRequireDefault(k(15986));var N=_interopRequireDefault(k(61315));var j=_interopRequireDefault(k(25739));var q=_interopRequireDefault(k(62483));var ee=_interopRequireDefault(k(27008));function _interopRequireDefault(S){return S&&S.__esModule?S:{default:S}}function _defineProperty(S,E,k){if(E in S){Object.defineProperty(S,E,{value:k,enumerable:true,configurable:true,writable:true})}else{S[E]=k}return S}function getExposedMethods(S,E){let k=E.exposedMethods;if(!k){const E=require(S);k=Object.keys(E).filter((S=>typeof E[S]==="function"));if(typeof E==="function"){k=[...k,"default"]}}return k}class Worker{constructor(S,E){var k,j,q,ee,te,ne;_defineProperty(this,"_ending",void 0);_defineProperty(this,"_farm",void 0);_defineProperty(this,"_options",void 0);_defineProperty(this,"_workerPool",void 0);this._options={...E};this._ending=false;const ae={enableWorkerThreads:(k=this._options.enableWorkerThreads)!==null&&k!==void 0?k:false,forkOptions:(j=this._options.forkOptions)!==null&&j!==void 0?j:{},maxRetries:(q=this._options.maxRetries)!==null&&q!==void 0?q:3,numWorkers:(ee=this._options.numWorkers)!==null&&ee!==void 0?ee:Math.max((0,_os().cpus)().length-1,1),resourceLimits:(te=this._options.resourceLimits)!==null&&te!==void 0?te:{},setupArgs:(ne=this._options.setupArgs)!==null&&ne!==void 0?ne:[]};if(this._options.WorkerPool){this._workerPool=new this._options.WorkerPool(S,ae)}else{this._workerPool=new N.default(S,ae)}this._farm=new w.default(ae.numWorkers,this._workerPool.send.bind(this._workerPool),{computeWorkerKey:this._options.computeWorkerKey,taskQueue:this._options.taskQueue,workerSchedulingPolicy:this._options.workerSchedulingPolicy});this._bindExposedWorkerMethods(S,this._options)}_bindExposedWorkerMethods(S,E){getExposedMethods(S,E).forEach((S=>{if(S.startsWith("_")){return}if(this.constructor.prototype.hasOwnProperty(S)){throw new TypeError("Cannot define a method called "+S)}this[S]=this._callFunctionWithArgs.bind(this,S)}))}_callFunctionWithArgs(S,...E){if(this._ending){throw new Error("Farm is ended, no more calls can be done to it")}return this._farm.doWork(S,...E)}getStderr(){return this._workerPool.getStderr()}getStdout(){return this._workerPool.getStdout()}async end(){if(this._ending){throw new Error("Farm is ended, no more calls can be done to it")}this._ending=true;return this._workerPool.end()}}E.Worker=Worker},42195:(S,E)=>{"use strict";Object.defineProperty(E,"__esModule",{value:true});E.PARENT_MESSAGE_CUSTOM=E.PARENT_MESSAGE_SETUP_ERROR=E.PARENT_MESSAGE_CLIENT_ERROR=E.PARENT_MESSAGE_OK=E.CHILD_MESSAGE_END=E.CHILD_MESSAGE_CALL=E.CHILD_MESSAGE_INITIALIZE=void 0;const k=0;E.CHILD_MESSAGE_INITIALIZE=k;const w=1;E.CHILD_MESSAGE_CALL=w;const N=2;E.CHILD_MESSAGE_END=N;const j=0;E.PARENT_MESSAGE_OK=j;const q=1;E.PARENT_MESSAGE_CLIENT_ERROR=q;const ee=2;E.PARENT_MESSAGE_SETUP_ERROR=ee;const te=3;E.PARENT_MESSAGE_CUSTOM=te},17164:(S,E,k)=>{"use strict";var w;w={value:true};E.Z=void 0;function _child_process(){const S=k(63129);_child_process=function(){return S};return S}function _stream(){const S=k(92413);_stream=function(){return S};return S}function _mergeStream(){const S=_interopRequireDefault(k(33089));_mergeStream=function(){return S};return S}function _supportsColor(){const S=k(24467);_supportsColor=function(){return S};return S}function _types(){const S=k(42195);_types=function(){return S};return S}function _interopRequireDefault(S){return S&&S.__esModule?S:{default:S}}function _defineProperty(S,E,k){if(E in S){Object.defineProperty(S,E,{value:k,enumerable:true,configurable:true,writable:true})}else{S[E]=k}return S}const N=128;const j=N+9;const q=N+15;const ee=500;class ChildProcessWorker{constructor(S){_defineProperty(this,"_child",void 0);_defineProperty(this,"_options",void 0);_defineProperty(this,"_request",void 0);_defineProperty(this,"_retries",void 0);_defineProperty(this,"_onProcessEnd",void 0);_defineProperty(this,"_onCustomMessage",void 0);_defineProperty(this,"_fakeStream",void 0);_defineProperty(this,"_stdout",void 0);_defineProperty(this,"_stderr",void 0);_defineProperty(this,"_exitPromise",void 0);_defineProperty(this,"_resolveExitPromise",void 0);this._options=S;this._request=null;this._fakeStream=null;this._stdout=null;this._stderr=null;this._exitPromise=new Promise((S=>{this._resolveExitPromise=S}));this.initialize()}initialize(){const S=_supportsColor().stdout?{FORCE_COLOR:"1"}:{};const E=(0,_child_process().fork)(k.ab+"processChild.js",[],{cwd:process.cwd(),env:{...process.env,JEST_WORKER_ID:String(this._options.workerId+1),...S},execArgv:process.execArgv.filter((S=>!/^--(debug|inspect)/.test(S))),silent:true,...this._options.forkOptions});if(E.stdout){if(!this._stdout){this._stdout=(0,_mergeStream().default)(this._getFakeStream())}this._stdout.add(E.stdout)}if(E.stderr){if(!this._stderr){this._stderr=(0,_mergeStream().default)(this._getFakeStream())}this._stderr.add(E.stderr)}E.on("message",this._onMessage.bind(this));E.on("exit",this._onExit.bind(this));E.send([_types().CHILD_MESSAGE_INITIALIZE,false,this._options.workerPath,this._options.setupArgs]);this._child=E;this._retries++;if(this._retries>this._options.maxRetries){const S=new Error(`Jest worker encountered ${this._retries} child process exceptions, exceeding retry limit`);this._onMessage([_types().PARENT_MESSAGE_CLIENT_ERROR,S.name,S.message,S.stack,{type:"WorkerError"}])}}_shutdown(){if(this._fakeStream){this._fakeStream.end();this._fakeStream=null}this._resolveExitPromise()}_onMessage(S){let E;switch(S[0]){case _types().PARENT_MESSAGE_OK:this._onProcessEnd(null,S[1]);break;case _types().PARENT_MESSAGE_CLIENT_ERROR:E=S[4];if(E!=null&&typeof E==="object"){const k=E;const w=global[S[1]];const N=typeof w==="function"?w:Error;E=new N(S[2]);E.type=S[1];E.stack=S[3];for(const S in k){E[S]=k[S]}}this._onProcessEnd(E,null);break;case _types().PARENT_MESSAGE_SETUP_ERROR:E=new Error("Error when calling setup: "+S[2]);E.type=S[1];E.stack=S[3];this._onProcessEnd(E,null);break;case _types().PARENT_MESSAGE_CUSTOM:this._onCustomMessage(S[1]);break;default:throw new TypeError("Unexpected response from worker: "+S[0])}}_onExit(S){if(S!==0&&S!==null&&S!==q&&S!==j){this.initialize();if(this._request){this._child.send(this._request)}}else{this._shutdown()}}send(S,E,k,w){E(this);this._onProcessEnd=(...S)=>{this._request=null;return k(...S)};this._onCustomMessage=(...S)=>w(...S);this._request=S;this._retries=0;this._child.send(S,(()=>{}))}waitForExit(){return this._exitPromise}forceExit(){this._child.kill("SIGTERM");const S=setTimeout((()=>this._child.kill("SIGKILL")),ee);this._exitPromise.then((()=>clearTimeout(S)))}getWorkerId(){return this._options.workerId}getStdout(){return this._stdout}getStderr(){return this._stderr}_getFakeStream(){if(!this._fakeStream){this._fakeStream=new(_stream().PassThrough)}return this._fakeStream}}E.Z=ChildProcessWorker},12295:(S,E,k)=>{"use strict";var w;w={value:true};E.Z=void 0;function path(){const S=_interopRequireWildcard(k(85622));path=function(){return S};return S}function _stream(){const S=k(92413);_stream=function(){return S};return S}function _worker_threads(){const S=k(65013);_worker_threads=function(){return S};return S}function _mergeStream(){const S=_interopRequireDefault(k(33089));_mergeStream=function(){return S};return S}function _types(){const S=k(42195);_types=function(){return S};return S}function _interopRequireDefault(S){return S&&S.__esModule?S:{default:S}}function _getRequireWildcardCache(S){if(typeof WeakMap!=="function")return null;var E=new WeakMap;var k=new WeakMap;return(_getRequireWildcardCache=function(S){return S?k:E})(S)}function _interopRequireWildcard(S,E){if(!E&&S&&S.__esModule){return S}if(S===null||typeof S!=="object"&&typeof S!=="function"){return{default:S}}var k=_getRequireWildcardCache(E);if(k&&k.has(S)){return k.get(S)}var w={};var N=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var j in S){if(j!=="default"&&Object.prototype.hasOwnProperty.call(S,j)){var q=N?Object.getOwnPropertyDescriptor(S,j):null;if(q&&(q.get||q.set)){Object.defineProperty(w,j,q)}else{w[j]=S[j]}}}w.default=S;if(k){k.set(S,w)}return w}function _defineProperty(S,E,k){if(E in S){Object.defineProperty(S,E,{value:k,enumerable:true,configurable:true,writable:true})}else{S[E]=k}return S}class ExperimentalWorker{constructor(S){_defineProperty(this,"_worker",void 0);_defineProperty(this,"_options",void 0);_defineProperty(this,"_request",void 0);_defineProperty(this,"_retries",void 0);_defineProperty(this,"_onProcessEnd",void 0);_defineProperty(this,"_onCustomMessage",void 0);_defineProperty(this,"_fakeStream",void 0);_defineProperty(this,"_stdout",void 0);_defineProperty(this,"_stderr",void 0);_defineProperty(this,"_exitPromise",void 0);_defineProperty(this,"_resolveExitPromise",void 0);_defineProperty(this,"_forceExited",void 0);this._options=S;this._request=null;this._fakeStream=null;this._stdout=null;this._stderr=null;this._exitPromise=new Promise((S=>{this._resolveExitPromise=S}));this._forceExited=false;this.initialize()}initialize(){this._worker=new(_worker_threads().Worker)(path().resolve(__dirname,"./threadChild.js"),{eval:false,resourceLimits:this._options.resourceLimits,stderr:true,stdout:true,workerData:{cwd:process.cwd(),env:{...process.env,JEST_WORKER_ID:String(this._options.workerId+1)},execArgv:process.execArgv.filter((S=>!/^--(debug|inspect)/.test(S))),silent:true,...this._options.forkOptions}});if(this._worker.stdout){if(!this._stdout){this._stdout=(0,_mergeStream().default)(this._getFakeStream())}this._stdout.add(this._worker.stdout)}if(this._worker.stderr){if(!this._stderr){this._stderr=(0,_mergeStream().default)(this._getFakeStream())}this._stderr.add(this._worker.stderr)}this._worker.on("message",this._onMessage.bind(this));this._worker.on("exit",this._onExit.bind(this));this._worker.postMessage([_types().CHILD_MESSAGE_INITIALIZE,false,this._options.workerPath,this._options.setupArgs]);this._retries++;if(this._retries>this._options.maxRetries){const S=new Error("Call retries were exceeded");this._onMessage([_types().PARENT_MESSAGE_CLIENT_ERROR,S.name,S.message,S.stack,{type:"WorkerError"}])}}_shutdown(){if(this._fakeStream){this._fakeStream.end();this._fakeStream=null}this._resolveExitPromise()}_onMessage(S){let E;switch(S[0]){case _types().PARENT_MESSAGE_OK:this._onProcessEnd(null,S[1]);break;case _types().PARENT_MESSAGE_CLIENT_ERROR:E=S[4];if(E!=null&&typeof E==="object"){const k=E;const w=global[S[1]];const N=typeof w==="function"?w:Error;E=new N(S[2]);E.type=S[1];E.stack=S[3];for(const S in k){E[S]=k[S]}}this._onProcessEnd(E,null);break;case _types().PARENT_MESSAGE_SETUP_ERROR:E=new Error("Error when calling setup: "+S[2]);E.type=S[1];E.stack=S[3];this._onProcessEnd(E,null);break;case _types().PARENT_MESSAGE_CUSTOM:this._onCustomMessage(S[1]);break;default:throw new TypeError("Unexpected response from worker: "+S[0])}}_onExit(S){if(S!==0&&!this._forceExited){this.initialize();if(this._request){this._worker.postMessage(this._request)}}else{this._shutdown()}}waitForExit(){return this._exitPromise}forceExit(){this._forceExited=true;this._worker.terminate()}send(S,E,k,w){E(this);this._onProcessEnd=(...S)=>{var E;this._request=null;const w=(E=k)===null||E===void 0?void 0:E(...S);k=null;return w};this._onCustomMessage=(...S)=>w(...S);this._request=S;this._retries=0;this._worker.postMessage(S)}getWorkerId(){return this._options.workerId}getStdout(){return this._stdout}getStderr(){return this._stderr}_getFakeStream(){if(!this._fakeStream){this._fakeStream=new(_stream().PassThrough)}return this._fakeStream}}E.Z=ExperimentalWorker},27008:(S,E,k)=>{"use strict";Object.defineProperty(E,"__esModule",{value:true});E.default=messageParent;function _types(){const S=k(42195);_types=function(){return S};return S}const w=(()=>{try{const{isMainThread:S,parentPort:E}=k(65013);return!S&&E!=null}catch{return false}})();function messageParent(S,E=process){if(w){const{parentPort:E}=k(65013);E.postMessage([_types().PARENT_MESSAGE_CUSTOM,S])}else if(typeof E.send==="function"){E.send([_types().PARENT_MESSAGE_CUSTOM,S])}else{throw new Error('"messageParent" can only be used inside a worker')}}},24467:(S,E,k)=>{"use strict";const w=k(12087);const N=k(33867);const j=k(86811);const{env:q}=process;let ee;if(j("no-color")||j("no-colors")||j("color=false")||j("color=never")){ee=0}else if(j("color")||j("colors")||j("color=true")||j("color=always")){ee=1}function envForceColor(){if("FORCE_COLOR"in q){if(q.FORCE_COLOR==="true"){return 1}if(q.FORCE_COLOR==="false"){return 0}return q.FORCE_COLOR.length===0?1:Math.min(Number.parseInt(q.FORCE_COLOR,10),3)}}function translateLevel(S){if(S===0){return false}return{level:S,hasBasic:true,has256:S>=2,has16m:S>=3}}function supportsColor(S,{streamIsTTY:E,sniffFlags:k=true}={}){const N=envForceColor();if(N!==undefined){ee=N}const te=k?ee:N;if(te===0){return 0}if(k){if(j("color=16m")||j("color=full")||j("color=truecolor")){return 3}if(j("color=256")){return 2}}if(S&&!E&&te===undefined){return 0}const ne=te||0;if(q.TERM==="dumb"){return ne}if(process.platform==="win32"){const S=w.release().split(".");if(Number(S[0])>=10&&Number(S[2])>=10586){return Number(S[2])>=14931?3:2}return 1}if("CI"in q){if(["TRAVIS","CIRCLECI","APPVEYOR","GITLAB_CI","GITHUB_ACTIONS","BUILDKITE","DRONE"].some((S=>S in q))||q.CI_NAME==="codeship"){return 1}return ne}if("TEAMCITY_VERSION"in q){return/^(9\.(0*[1-9]\d*)\.|\d{2,}\.)/.test(q.TEAMCITY_VERSION)?1:0}if(q.COLORTERM==="truecolor"){return 3}if("TERM_PROGRAM"in q){const S=Number.parseInt((q.TERM_PROGRAM_VERSION||"").split(".")[0],10);switch(q.TERM_PROGRAM){case"iTerm.app":return S>=3?3:2;case"Apple_Terminal":return 2}}if(/-256(color)?$/i.test(q.TERM)){return 2}if(/^screen|^xterm|^vt100|^vt220|^rxvt|color|ansi|cygwin|linux/i.test(q.TERM)){return 1}if("COLORTERM"in q){return 1}return ne}function getSupportLevel(S,E={}){const k=supportsColor(S,{streamIsTTY:S&&S.isTTY,...E});return translateLevel(k)}S.exports={supportsColor:getSupportLevel,stdout:getSupportLevel({isTTY:N.isatty(1)}),stderr:getSupportLevel({isTTY:N.isatty(2)})}},78688:S=>{"use strict";S.exports=parseJson;function parseJson(S,E,k){k=k||20;try{return JSON.parse(S,E)}catch(E){if(typeof S!=="string"){const E=Array.isArray(S)&&S.length===0;const k="Cannot parse "+(E?"an empty array":String(S));throw new TypeError(k)}const w=E.message.match(/^Unexpected token.*position\s+(\d+)/i);const N=w?+w[1]:E.message.match(/^Unexpected end of JSON.*/i)?S.length-1:null;if(N!=null){const w=N<=k?0:N-k;const j=N+k>=S.length?S.length:N+k;E.message+=` while parsing near '${w===0?"":"..."}${S.slice(w,j)}${j===S.length?"":"..."}'`}else{E.message+=` while parsing '${S.slice(0,k*2)}'`}throw E}}},46833:S=>{"use strict";var E=S.exports=function(S,E,k){if(typeof E=="function"){k=E;E={}}k=E.cb||k;var w=typeof k=="function"?k:k.pre||function(){};var N=k.post||function(){};_traverse(E,w,N,S,"",S)};E.keywords={additionalItems:true,items:true,contains:true,additionalProperties:true,propertyNames:true,not:true};E.arrayKeywords={items:true,allOf:true,anyOf:true,oneOf:true};E.propsKeywords={definitions:true,properties:true,patternProperties:true,dependencies:true};E.skipKeywords={default:true,enum:true,const:true,required:true,maximum:true,minimum:true,exclusiveMaximum:true,exclusiveMinimum:true,multipleOf:true,maxLength:true,minLength:true,pattern:true,format:true,maxItems:true,minItems:true,uniqueItems:true,maxProperties:true,minProperties:true};function _traverse(S,k,w,N,j,q,ee,te,ne,ae){if(N&&typeof N=="object"&&!Array.isArray(N)){k(N,j,q,ee,te,ne,ae);for(var _e in N){var ve=N[_e];if(Array.isArray(ve)){if(_e in E.arrayKeywords){for(var Ee=0;Ee{const w=k(14465);const N=k(59977);const j={parse:w,stringify:N};S.exports=j},14465:(S,E,k)=>{const w=k(58034);let N;let j;let q;let ee;let te;let ne;let ae;let _e;let ve;S.exports=function parse(S,E){N=String(S);j="start";q=[];ee=0;te=1;ne=0;ae=undefined;_e=undefined;ve=undefined;do{ae=lex();Fe[j]()}while(ae.type!=="eof");if(typeof E==="function"){return internalize({"":ve},"",E)}return ve};function internalize(S,E,k){const w=S[E];if(w!=null&&typeof w==="object"){for(const S in w){const E=internalize(w,S,k);if(E===undefined){delete w[S]}else{w[S]=E}}}return k.call(S,E,w)}let Ee;let Te;let Ce;let we;let Ne;function lex(){Ee="default";Te="";Ce=false;we=1;for(;;){Ne=peek();const S=Ie[Ee]();if(S){return S}}}function peek(){if(N[ee]){return String.fromCodePoint(N.codePointAt(ee))}}function read(){const S=peek();if(S==="\n"){te++;ne=0}else if(S){ne+=S.length}else{ne++}if(S){ee+=S.length}return S}const Ie={default(){switch(Ne){case"\t":case"\v":case"\f":case" ":case" ":case"\ufeff":case"\n":case"\r":case"\u2028":case"\u2029":read();return;case"/":read();Ee="comment";return;case undefined:read();return newToken("eof")}if(w.isSpaceSeparator(Ne)){read();return}return Ie[j]()},comment(){switch(Ne){case"*":read();Ee="multiLineComment";return;case"/":read();Ee="singleLineComment";return}throw invalidChar(read())},multiLineComment(){switch(Ne){case"*":read();Ee="multiLineCommentAsterisk";return;case undefined:throw invalidChar(read())}read()},multiLineCommentAsterisk(){switch(Ne){case"*":read();return;case"/":read();Ee="default";return;case undefined:throw invalidChar(read())}read();Ee="multiLineComment"},singleLineComment(){switch(Ne){case"\n":case"\r":case"\u2028":case"\u2029":read();Ee="default";return;case undefined:read();return newToken("eof")}read()},value(){switch(Ne){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()==="-"){we=-1}Ee="sign";return;case".":Te=read();Ee="decimalPointLeading";return;case"0":Te=read();Ee="zero";return;case"1":case"2":case"3":case"4":case"5":case"6":case"7":case"8":case"9":Te=read();Ee="decimalInteger";return;case"I":read();literal("nfinity");return newToken("numeric",Infinity);case"N":read();literal("aN");return newToken("numeric",NaN);case'"':case"'":Ce=read()==='"';Te="";Ee="string";return}throw invalidChar(read())},identifierNameStartEscape(){if(Ne!=="u"){throw invalidChar(read())}read();const S=unicodeEscape();switch(S){case"$":case"_":break;default:if(!w.isIdStartChar(S)){throw invalidIdentifier()}break}Te+=S;Ee="identifierName"},identifierName(){switch(Ne){case"$":case"_":case"‌":case"‍":Te+=read();return;case"\\":read();Ee="identifierNameEscape";return}if(w.isIdContinueChar(Ne)){Te+=read();return}return newToken("identifier",Te)},identifierNameEscape(){if(Ne!=="u"){throw invalidChar(read())}read();const S=unicodeEscape();switch(S){case"$":case"_":case"‌":case"‍":break;default:if(!w.isIdContinueChar(S)){throw invalidIdentifier()}break}Te+=S;Ee="identifierName"},sign(){switch(Ne){case".":Te=read();Ee="decimalPointLeading";return;case"0":Te=read();Ee="zero";return;case"1":case"2":case"3":case"4":case"5":case"6":case"7":case"8":case"9":Te=read();Ee="decimalInteger";return;case"I":read();literal("nfinity");return newToken("numeric",we*Infinity);case"N":read();literal("aN");return newToken("numeric",NaN)}throw invalidChar(read())},zero(){switch(Ne){case".":Te+=read();Ee="decimalPoint";return;case"e":case"E":Te+=read();Ee="decimalExponent";return;case"x":case"X":Te+=read();Ee="hexadecimal";return}return newToken("numeric",we*0)},decimalInteger(){switch(Ne){case".":Te+=read();Ee="decimalPoint";return;case"e":case"E":Te+=read();Ee="decimalExponent";return}if(w.isDigit(Ne)){Te+=read();return}return newToken("numeric",we*Number(Te))},decimalPointLeading(){if(w.isDigit(Ne)){Te+=read();Ee="decimalFraction";return}throw invalidChar(read())},decimalPoint(){switch(Ne){case"e":case"E":Te+=read();Ee="decimalExponent";return}if(w.isDigit(Ne)){Te+=read();Ee="decimalFraction";return}return newToken("numeric",we*Number(Te))},decimalFraction(){switch(Ne){case"e":case"E":Te+=read();Ee="decimalExponent";return}if(w.isDigit(Ne)){Te+=read();return}return newToken("numeric",we*Number(Te))},decimalExponent(){switch(Ne){case"+":case"-":Te+=read();Ee="decimalExponentSign";return}if(w.isDigit(Ne)){Te+=read();Ee="decimalExponentInteger";return}throw invalidChar(read())},decimalExponentSign(){if(w.isDigit(Ne)){Te+=read();Ee="decimalExponentInteger";return}throw invalidChar(read())},decimalExponentInteger(){if(w.isDigit(Ne)){Te+=read();return}return newToken("numeric",we*Number(Te))},hexadecimal(){if(w.isHexDigit(Ne)){Te+=read();Ee="hexadecimalInteger";return}throw invalidChar(read())},hexadecimalInteger(){if(w.isHexDigit(Ne)){Te+=read();return}return newToken("numeric",we*Number(Te))},string(){switch(Ne){case"\\":read();Te+=escape();return;case'"':if(Ce){read();return newToken("string",Te)}Te+=read();return;case"'":if(!Ce){read();return newToken("string",Te)}Te+=read();return;case"\n":case"\r":throw invalidChar(read());case"\u2028":case"\u2029":separatorChar(Ne);break;case undefined:throw invalidChar(read())}Te+=read()},start(){switch(Ne){case"{":case"[":return newToken("punctuator",read())}Ee="value"},beforePropertyName(){switch(Ne){case"$":case"_":Te=read();Ee="identifierName";return;case"\\":read();Ee="identifierNameStartEscape";return;case"}":return newToken("punctuator",read());case'"':case"'":Ce=read()==='"';Ee="string";return}if(w.isIdStartChar(Ne)){Te+=read();Ee="identifierName";return}throw invalidChar(read())},afterPropertyName(){if(Ne===":"){return newToken("punctuator",read())}throw invalidChar(read())},beforePropertyValue(){Ee="value"},afterPropertyValue(){switch(Ne){case",":case"}":return newToken("punctuator",read())}throw invalidChar(read())},beforeArrayValue(){if(Ne==="]"){return newToken("punctuator",read())}Ee="value"},afterArrayValue(){switch(Ne){case",":case"]":return newToken("punctuator",read())}throw invalidChar(read())},end(){throw invalidChar(read())}};function newToken(S,E){return{type:S,value:E,line:te,column:ne}}function literal(S){for(const E of S){const S=peek();if(S!==E){throw invalidChar(read())}read()}}function escape(){const S=peek();switch(S){case"b":read();return"\b";case"f":read();return"\f";case"n":read();return"\n";case"r":read();return"\r";case"t":read();return"\t";case"v":read();return"\v";case"0":read();if(w.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()}return"";case"1":case"2":case"3":case"4":case"5":case"6":case"7":case"8":case"9":throw invalidChar(read());case undefined:throw invalidChar(read())}return read()}function hexEscape(){let S="";let E=peek();if(!w.isHexDigit(E)){throw invalidChar(read())}S+=read();E=peek();if(!w.isHexDigit(E)){throw invalidChar(read())}S+=read();return String.fromCodePoint(parseInt(S,16))}function unicodeEscape(){let S="";let E=4;while(E-- >0){const E=peek();if(!w.isHexDigit(E)){throw invalidChar(read())}S+=read()}return String.fromCodePoint(parseInt(S,16))}const Fe={start(){if(ae.type==="eof"){throw invalidEOF()}push()},beforePropertyName(){switch(ae.type){case"identifier":case"string":_e=ae.value;j="afterPropertyName";return;case"punctuator":pop();return;case"eof":throw invalidEOF()}},afterPropertyName(){if(ae.type==="eof"){throw invalidEOF()}j="beforePropertyValue"},beforePropertyValue(){if(ae.type==="eof"){throw invalidEOF()}push()},beforeArrayValue(){if(ae.type==="eof"){throw invalidEOF()}if(ae.type==="punctuator"&&ae.value==="]"){pop();return}push()},afterPropertyValue(){if(ae.type==="eof"){throw invalidEOF()}switch(ae.value){case",":j="beforePropertyName";return;case"}":pop()}},afterArrayValue(){if(ae.type==="eof"){throw invalidEOF()}switch(ae.value){case",":j="beforeArrayValue";return;case"]":pop()}},end(){}};function push(){let S;switch(ae.type){case"punctuator":switch(ae.value){case"{":S={};break;case"[":S=[];break}break;case"null":case"boolean":case"numeric":case"string":S=ae.value;break}if(ve===undefined){ve=S}else{const E=q[q.length-1];if(Array.isArray(E)){E.push(S)}else{E[_e]=S}}if(S!==null&&typeof S==="object"){q.push(S);if(Array.isArray(S)){j="beforeArrayValue"}else{j="beforePropertyName"}}else{const S=q[q.length-1];if(S==null){j="end"}else if(Array.isArray(S)){j="afterArrayValue"}else{j="afterPropertyValue"}}}function pop(){q.pop();const S=q[q.length-1];if(S==null){j="end"}else if(Array.isArray(S)){j="afterArrayValue"}else{j="afterPropertyValue"}}function invalidChar(S){if(S===undefined){return syntaxError(`JSON5: invalid end of input at ${te}:${ne}`)}return syntaxError(`JSON5: invalid character '${formatChar(S)}' at ${te}:${ne}`)}function invalidEOF(){return syntaxError(`JSON5: invalid end of input at ${te}:${ne}`)}function invalidIdentifier(){ne-=5;return syntaxError(`JSON5: invalid identifier character at ${te}:${ne}`)}function separatorChar(S){console.warn(`JSON5: '${formatChar(S)}' in strings is not valid ECMAScript; consider escaping`)}function formatChar(S){const E={"'":"\\'",'"':'\\"',"\\":"\\\\","\b":"\\b","\f":"\\f","\n":"\\n","\r":"\\r","\t":"\\t","\v":"\\v","\0":"\\0","\u2028":"\\u2028","\u2029":"\\u2029"};if(E[S]){return E[S]}if(S<" "){const E=S.charCodeAt(0).toString(16);return"\\x"+("00"+E).substring(E.length)}return S}function syntaxError(S){const E=new SyntaxError(S);E.lineNumber=te;E.columnNumber=ne;return E}},59977:(S,E,k)=>{const w=k(58034);S.exports=function stringify(S,E,k){const N=[];let j="";let q;let ee;let te="";let ne;if(E!=null&&typeof E==="object"&&!Array.isArray(E)){k=E.space;ne=E.quote;E=E.replacer}if(typeof E==="function"){ee=E}else if(Array.isArray(E)){q=[];for(const S of E){let E;if(typeof S==="string"){E=S}else if(typeof S==="number"||S instanceof String||S instanceof Number){E=String(S)}if(E!==undefined&&q.indexOf(E)<0){q.push(E)}}}if(k instanceof Number){k=Number(k)}else if(k instanceof String){k=String(k)}if(typeof k==="number"){if(k>0){k=Math.min(10,Math.floor(k));te=" ".substr(0,k)}}else if(typeof k==="string"){te=k.substr(0,10)}return serializeProperty("",{"":S});function serializeProperty(S,E){let k=E[S];if(k!=null){if(typeof k.toJSON5==="function"){k=k.toJSON5(S)}else if(typeof k.toJSON==="function"){k=k.toJSON(S)}}if(ee){k=ee.call(E,S,k)}if(k instanceof Number){k=Number(k)}else if(k instanceof String){k=String(k)}else if(k instanceof Boolean){k=k.valueOf()}switch(k){case null:return"null";case true:return"true";case false:return"false"}if(typeof k==="string"){return quoteString(k,false)}if(typeof k==="number"){return String(k)}if(typeof k==="object"){return Array.isArray(k)?serializeArray(k):serializeObject(k)}return undefined}function quoteString(S){const E={"'":.1,'"':.2};const k={"'":"\\'",'"':'\\"',"\\":"\\\\","\b":"\\b","\f":"\\f","\n":"\\n","\r":"\\r","\t":"\\t","\v":"\\v","\0":"\\0","\u2028":"\\u2028","\u2029":"\\u2029"};let N="";for(let j=0;jE[S]=0){throw TypeError("Converting circular structure to JSON5")}N.push(S);let E=j;j=j+te;let k=q||Object.keys(S);let w=[];for(const E of k){const k=serializeProperty(E,S);if(k!==undefined){let S=serializeKey(E)+":";if(te!==""){S+=" "}S+=k;w.push(S)}}let ee;if(w.length===0){ee="{}"}else{let S;if(te===""){S=w.join(",");ee="{"+S+"}"}else{let k=",\n"+j;S=w.join(k);ee="{\n"+j+S+",\n"+E+"}"}}N.pop();j=E;return ee}function serializeKey(S){if(S.length===0){return quoteString(S,true)}const E=String.fromCodePoint(S.codePointAt(0));if(!w.isIdStartChar(E)){return quoteString(S,true)}for(let k=E.length;k=0){throw TypeError("Converting circular structure to JSON5")}N.push(S);let E=j;j=j+te;let k=[];for(let E=0;E{S.exports.Space_Separator=/[\u1680\u2000-\u200A\u202F\u205F\u3000]/;S.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]/;S.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]/},58034:(S,E,k)=>{const w=k(14059);S.exports={isSpaceSeparator(S){return typeof S==="string"&&w.Space_Separator.test(S)},isIdStartChar(S){return typeof S==="string"&&(S>="a"&&S<="z"||S>="A"&&S<="Z"||S==="$"||S==="_"||w.ID_Start.test(S))},isIdContinueChar(S){return typeof S==="string"&&(S>="a"&&S<="z"||S>="A"&&S<="Z"||S>="0"&&S<="9"||S==="$"||S==="_"||S==="‌"||S==="‍"||w.ID_Continue.test(S))},isDigit(S){return typeof S==="string"&&/[0-9]/.test(S)},isHexDigit(S){return typeof S==="string"&&/[0-9A-Fa-f]/.test(S)}}},11638:S=>{"use strict";class LoadingLoaderError extends Error{constructor(S){super(S);this.name="LoaderRunnerError";Error.captureStackTrace(this,this.constructor)}}S.exports=LoadingLoaderError},60425:(S,E,k)=>{var w=k(35747);var N=w.readFile.bind(w);var j=k(45658);function utf8BufferToString(S){var E=S.toString("utf-8");if(E.charCodeAt(0)===65279){return E.substr(1)}else{return E}}const q=/^((?:\0.|[^?#\0])*)(\?(?:\0.|[^#\0])*)?(#.*)?$/;function parsePathQueryFragment(S){var E=q.exec(S);return{path:E[1].replace(/\0(.)/g,"$1"),query:E[2]?E[2].replace(/\0(.)/g,"$1"):"",fragment:E[3]||""}}function dirname(S){if(S==="/")return"/";var E=S.lastIndexOf("/");var k=S.lastIndexOf("\\");var w=S.indexOf("/");var N=S.indexOf("\\");var j=E>k?E:k;var q=E>k?w:N;if(j<0)return S;if(j===q)return S.substr(0,j+1);return S.substr(0,j)}function createLoaderObject(S){var E={path:null,query:null,fragment:null,options:null,ident:null,normal:null,pitch:null,raw:null,data:null,pitchExecuted:false,normalExecuted:false};Object.defineProperty(E,"request",{enumerable:true,get:function(){return E.path.replace(/#/g,"\0#")+E.query.replace(/#/g,"\0#")+E.fragment},set:function(S){if(typeof S==="string"){var k=parsePathQueryFragment(S);E.path=k.path;E.query=k.query;E.fragment=k.fragment;E.options=undefined;E.ident=undefined}else{if(!S.loader)throw new Error("request should be a string or object with loader and options ("+JSON.stringify(S)+")");E.path=S.loader;E.fragment=S.fragment||"";E.type=S.type;E.options=S.options;E.ident=S.ident;if(E.options===null)E.query="";else if(E.options===undefined)E.query="";else if(typeof E.options==="string")E.query="?"+E.options;else if(E.ident)E.query="??"+E.ident;else if(typeof E.options==="object"&&E.options.ident)E.query="??"+E.options.ident;else E.query="?"+JSON.stringify(E.options)}}});E.request=S;if(Object.preventExtensions){Object.preventExtensions(E)}return E}function runSyncOrAsync(S,E,k,w){var N=true;var j=false;var q=false;var ee=false;E.async=function async(){if(j){if(ee)return;throw new Error("async(): The callback was already called.")}N=false;return te};var te=E.callback=function(){if(j){if(ee)return;throw new Error("callback(): The callback was already called.")}j=true;N=false;try{w.apply(null,arguments)}catch(S){q=true;throw S}};try{var ne=function LOADER_EXECUTION(){return S.apply(E,k)}();if(N){j=true;if(ne===undefined)return w();if(ne&&typeof ne==="object"&&typeof ne.then==="function"){return ne.then((function(S){w(null,S)}),w)}return w(null,ne)}}catch(S){if(q)throw S;if(j){if(typeof S==="object"&&S.stack)console.error(S.stack);else console.error(S);return}j=true;ee=true;w(S)}}function convertArgs(S,E){if(!E&&Buffer.isBuffer(S[0]))S[0]=utf8BufferToString(S[0]);else if(E&&typeof S[0]==="string")S[0]=Buffer.from(S[0],"utf-8")}function iteratePitchingLoaders(S,E,k){if(E.loaderIndex>=E.loaders.length)return processResource(S,E,k);var w=E.loaders[E.loaderIndex];if(w.pitchExecuted){E.loaderIndex++;return iteratePitchingLoaders(S,E,k)}j(w,(function(N){if(N){E.cacheable(false);return k(N)}var j=w.pitch;w.pitchExecuted=true;if(!j)return iteratePitchingLoaders(S,E,k);runSyncOrAsync(j,E,[E.remainingRequest,E.previousRequest,w.data={}],(function(w){if(w)return k(w);var N=Array.prototype.slice.call(arguments,1);var j=N.some((function(S){return S!==undefined}));if(j){E.loaderIndex--;iterateNormalLoaders(S,E,N,k)}else{iteratePitchingLoaders(S,E,k)}}))}))}function processResource(S,E,k){E.loaderIndex=E.loaders.length-1;var w=E.resourcePath;if(w){S.processResource(E,w,(function(w,N){if(w)return k(w);S.resourceBuffer=N;iterateNormalLoaders(S,E,[N],k)}))}else{iterateNormalLoaders(S,E,[null],k)}}function iterateNormalLoaders(S,E,k,w){if(E.loaderIndex<0)return w(null,k);var N=E.loaders[E.loaderIndex];if(N.normalExecuted){E.loaderIndex--;return iterateNormalLoaders(S,E,k,w)}var j=N.normal;N.normalExecuted=true;if(!j){return iterateNormalLoaders(S,E,k,w)}convertArgs(k,N.raw);runSyncOrAsync(j,E,k,(function(k){if(k)return w(k);var N=Array.prototype.slice.call(arguments,1);iterateNormalLoaders(S,E,N,w)}))}E.getContext=function getContext(S){var E=parsePathQueryFragment(S).path;return dirname(E)};E.runLoaders=function runLoaders(S,E){var k=S.resource||"";var w=S.loaders||[];var j=S.context||{};var q=S.processResource||((S,E,k,w)=>{E.addDependency(k);S(k,w)}).bind(null,S.readResource||N);var ee=k&&parsePathQueryFragment(k);var te=ee?ee.path:undefined;var ne=ee?ee.query:undefined;var ae=ee?ee.fragment:undefined;var _e=te?dirname(te):null;var ve=true;var Ee=[];var Te=[];var Ce=[];w=w.map(createLoaderObject);j.context=_e;j.loaderIndex=0;j.loaders=w;j.resourcePath=te;j.resourceQuery=ne;j.resourceFragment=ae;j.async=null;j.callback=null;j.cacheable=function cacheable(S){if(S===false){ve=false}};j.dependency=j.addDependency=function addDependency(S){Ee.push(S)};j.addContextDependency=function addContextDependency(S){Te.push(S)};j.addMissingDependency=function addMissingDependency(S){Ce.push(S)};j.getDependencies=function getDependencies(){return Ee.slice()};j.getContextDependencies=function getContextDependencies(){return Te.slice()};j.getMissingDependencies=function getMissingDependencies(){return Ce.slice()};j.clearDependencies=function clearDependencies(){Ee.length=0;Te.length=0;Ce.length=0;ve=true};Object.defineProperty(j,"resource",{enumerable:true,get:function(){if(j.resourcePath===undefined)return undefined;return j.resourcePath.replace(/#/g,"\0#")+j.resourceQuery.replace(/#/g,"\0#")+j.resourceFragment},set:function(S){var E=S&&parsePathQueryFragment(S);j.resourcePath=E?E.path:undefined;j.resourceQuery=E?E.query:undefined;j.resourceFragment=E?E.fragment:undefined}});Object.defineProperty(j,"request",{enumerable:true,get:function(){return j.loaders.map((function(S){return S.request})).concat(j.resource||"").join("!")}});Object.defineProperty(j,"remainingRequest",{enumerable:true,get:function(){if(j.loaderIndex>=j.loaders.length-1&&!j.resource)return"";return j.loaders.slice(j.loaderIndex+1).map((function(S){return S.request})).concat(j.resource||"").join("!")}});Object.defineProperty(j,"currentRequest",{enumerable:true,get:function(){return j.loaders.slice(j.loaderIndex).map((function(S){return S.request})).concat(j.resource||"").join("!")}});Object.defineProperty(j,"previousRequest",{enumerable:true,get:function(){return j.loaders.slice(0,j.loaderIndex).map((function(S){return S.request})).join("!")}});Object.defineProperty(j,"query",{enumerable:true,get:function(){var S=j.loaders[j.loaderIndex];return S.options&&typeof S.options==="object"?S.options:S.query}});Object.defineProperty(j,"data",{enumerable:true,get:function(){return j.loaders[j.loaderIndex].data}});if(Object.preventExtensions){Object.preventExtensions(j)}var we={resourceBuffer:null,processResource:q};iteratePitchingLoaders(we,j,(function(S,k){if(S){return E(S,{cacheable:ve,fileDependencies:Ee,contextDependencies:Te,missingDependencies:Ce})}E(null,{result:k,resourceBuffer:we.resourceBuffer,cacheable:ve,fileDependencies:Ee,contextDependencies:Te,missingDependencies:Ce})}))}},45658:(module,__unused_webpack_exports,__webpack_require__)=>{var LoaderLoadingError=__webpack_require__(11638);var url;module.exports=function loadLoader(loader,callback){if(loader.type==="module"){try{if(url===undefined)url=__webpack_require__(78835);var loaderUrl=url.pathToFileURL(loader.path);var modulePromise=eval("import("+JSON.stringify(loaderUrl.toString())+")");modulePromise.then((function(S){handleResult(loader,S,callback)}),callback);return}catch(S){callback(S)}}else{try{var module=require(loader.path)}catch(S){if(S instanceof Error&&S.code==="EMFILE"){var retry=loadLoader.bind(null,loader,callback);if(typeof setImmediate==="function"){return setImmediate(retry)}else{return process.nextTick(retry)}}return callback(S)}return handleResult(loader,module,callback)}};function handleResult(S,E,k){if(typeof E!=="function"&&typeof E!=="object"){return k(new LoaderLoadingError("Module '"+S.path+"' is not a loader (export function or es6 module)"))}S.normal=typeof E==="function"?E:E.default;S.pitch=E.pitch;S.raw=E.raw;if(typeof S.normal!=="function"&&typeof S.pitch!=="function"){return k(new LoaderLoadingError("Module '"+S.path+"' is not a loader (must have normal or pitch function)"))}k()}},66559:S=>{"use strict";function getCurrentRequest(S){if(S.currentRequest){return S.currentRequest}const E=S.loaders.slice(S.loaderIndex).map((S=>S.request)).concat([S.resource]);return E.join("!")}S.exports=getCurrentRequest},92669:(S,E,k)=>{"use strict";const w={26:"abcdefghijklmnopqrstuvwxyz",32:"123456789abcdefghjkmnpqrstuvwxyz",36:"0123456789abcdefghijklmnopqrstuvwxyz",49:"abcdefghijkmnopqrstuvwxyzABCDEFGHJKLMNPQRSTUVWXYZ",52:"abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ",58:"123456789abcdefghijkmnopqrstuvwxyzABCDEFGHJKLMNPQRSTUVWXYZ",62:"0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ",64:"0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ-_"};function encodeBufferToBase(S,E){const N=w[E];if(!N){throw new Error("Unknown encoding base"+E)}const j=S.length;const q=k(69182);q.RM=q.DP=0;let ee=new q(0);for(let E=j-1;E>=0;E--){ee=ee.times(256).plus(S[E])}let te="";while(ee.gt(0)){te=N[ee.mod(E)]+te;ee=ee.div(E)}q.DP=20;q.RM=1;return te}function getHashDigest(S,E,w,N){E=E||"md4";N=N||9999;const j=k(76417).createHash(E);j.update(S);if(w==="base26"||w==="base32"||w==="base36"||w==="base49"||w==="base52"||w==="base58"||w==="base62"||w==="base64"){return encodeBufferToBase(j.digest(),w.substr(4)).substr(0,N)}else{return j.digest(w||"hex").substr(0,N)}}S.exports=getHashDigest},42245:(S,E,k)=>{"use strict";const w=k(69170);function getOptions(S){const E=S.query;if(typeof E==="string"&&E!==""){return w(S.query)}if(!E||typeof E!=="object"){return{}}return E}S.exports=getOptions},12078:S=>{"use strict";function getRemainingRequest(S){if(S.remainingRequest){return S.remainingRequest}const E=S.loaders.slice(S.loaderIndex+1).map((S=>S.request)).concat([S.resource]);return E.join("!")}S.exports=getRemainingRequest},88244:(S,E,k)=>{"use strict";const w=k(42245);const N=k(69170);const j=k(61412);const q=k(12078);const ee=k(66559);const te=k(51077);const ne=k(64608);const ae=k(5231);const _e=k(92669);const ve=k(37872);E.getOptions=w;E.parseQuery=N;E.stringifyRequest=j;E.getRemainingRequest=q;E.getCurrentRequest=ee;E.isUrlRequest=te;E.urlToRequest=ne;E.parseString=ae;E.getHashDigest=_e;E.interpolateName=ve},37872:(S,E,k)=>{"use strict";const w=k(85622);const N=k(31356);const j=k(92669);const q=/[\uD800-\uDFFF]./;const ee=N.filter((S=>q.test(S)));const te={};function encodeStringToEmoji(S,E){if(te[S]){return te[S]}E=E||1;const k=[];do{if(!ee.length){throw new Error("Ran out of emoji")}const S=Math.floor(Math.random()*ee.length);k.push(ee[S]);ee.splice(S,1)}while(--E>0);const w=k.join("");te[S]=w;return w}function interpolateName(S,E,k){let N;const q=S.resourceQuery&&S.resourceQuery.length>1;if(typeof E==="function"){N=E(S.resourcePath,q?S.resourceQuery:undefined)}else{N=E||"[hash].[ext]"}const ee=k.context;const te=k.content;const ne=k.regExp;let ae="bin";let _e="file";let ve="";let Ee="";let Te="";if(S.resourcePath){const E=w.parse(S.resourcePath);let k=S.resourcePath;if(E.ext){ae=E.ext.substr(1)}if(E.dir){_e=E.name;k=E.dir+w.sep}if(typeof ee!=="undefined"){ve=w.relative(ee,k+"_").replace(/\\/g,"/").replace(/\.\.(\/)?/g,"_$1");ve=ve.substr(0,ve.length-1)}else{ve=k.replace(/\\/g,"/").replace(/\.\.(\/)?/g,"_$1")}if(ve.length===1){ve=""}else if(ve.length>1){Ee=w.basename(ve)}}if(S.resourceQuery&&S.resourceQuery.length>1){Te=S.resourceQuery;const E=Te.indexOf("#");if(E>=0){Te=Te.substr(0,E)}}let Ce=N;if(te){Ce=Ce.replace(/\[(?:([^:\]]+):)?(?:hash|contenthash)(?::([a-z]+\d*))?(?::(\d+))?\]/gi,((S,E,k,w)=>j(te,E,k,parseInt(w,10)))).replace(/\[emoji(?::(\d+))?\]/gi,((S,E)=>encodeStringToEmoji(te,parseInt(E,10))))}Ce=Ce.replace(/\[ext\]/gi,(()=>ae)).replace(/\[name\]/gi,(()=>_e)).replace(/\[path\]/gi,(()=>ve)).replace(/\[folder\]/gi,(()=>Ee)).replace(/\[query\]/gi,(()=>Te));if(ne&&S.resourcePath){const E=S.resourcePath.match(new RegExp(ne));E&&E.forEach(((S,E)=>{Ce=Ce.replace(new RegExp("\\["+E+"\\]","ig"),S)}))}if(typeof S.options==="object"&&typeof S.options.customInterpolateName==="function"){Ce=S.options.customInterpolateName.call(S,Ce,E,k)}return Ce}S.exports=interpolateName},51077:(S,E,k)=>{"use strict";const w=k(85622);function isUrlRequest(S,E){if(/^[a-z][a-z0-9+.-]*:/i.test(S)&&!w.win32.isAbsolute(S)){return false}if(/^\/\//.test(S)){return false}if(/^[{}[\]#*;,'§$%&(=?`´^°<>]/.test(S)){return false}if((E===undefined||E===false)&&/^\//.test(S)){return false}return true}S.exports=isUrlRequest},69170:(S,E,k)=>{"use strict";const w=k(5278);const N={null:null,true:true,false:false};function parseQuery(S){if(S.substr(0,1)!=="?"){throw new Error("A valid query string passed to parseQuery should begin with '?'")}S=S.substr(1);if(!S){return{}}if(S.substr(0,1)==="{"&&S.substr(-1)==="}"){return w.parse(S)}const E=S.split(/[,&]/g);const k={};E.forEach((S=>{const E=S.indexOf("=");if(E>=0){let w=S.substr(0,E);let j=decodeURIComponent(S.substr(E+1));if(N.hasOwnProperty(j)){j=N[j]}if(w.substr(-2)==="[]"){w=decodeURIComponent(w.substr(0,w.length-2));if(!Array.isArray(k[w])){k[w]=[]}k[w].push(j)}else{w=decodeURIComponent(w);k[w]=j}}else{if(S.substr(0,1)==="-"){k[decodeURIComponent(S.substr(1))]=false}else if(S.substr(0,1)==="+"){k[decodeURIComponent(S.substr(1))]=true}else{k[decodeURIComponent(S)]=true}}}));return k}S.exports=parseQuery},5231:S=>{"use strict";function parseString(S){try{if(S[0]==='"'){return JSON.parse(S)}if(S[0]==="'"&&S.substr(S.length-1)==="'"){return parseString(S.replace(/\\.|"/g,(S=>S==='"'?'\\"':S)).replace(/^'|'$/g,'"'))}return JSON.parse('"'+S+'"')}catch(E){return S}}S.exports=parseString},61412:(S,E,k)=>{"use strict";const w=k(85622);const N=/^\.\.?[/\\]/;function isAbsolutePath(S){return w.posix.isAbsolute(S)||w.win32.isAbsolute(S)}function isRelativePath(S){return N.test(S)}function stringifyRequest(S,E){const k=E.split("!");const N=S.context||S.options&&S.options.context;return JSON.stringify(k.map((S=>{const E=S.match(/^(.*?)(\?.*)/);const k=E?E[2]:"";let j=E?E[1]:S;if(isAbsolutePath(j)&&N){j=w.relative(N,j);if(isAbsolutePath(j)){return j+k}if(isRelativePath(j)===false){j="./"+j}}return j.replace(/\\/g,"/")+k})).join("!"))}S.exports=stringifyRequest},64608:S=>{"use strict";const E=/^[A-Z]:[/\\]|^\\\\/i;function urlToRequest(S,k){if(S===""){return""}const w=/^[^?]*~/;let N;if(E.test(S)){N=S}else if(k!==undefined&&k!==false&&/^\//.test(S)){switch(typeof k){case"string":if(w.test(k)){N=k.replace(/([^~/])$/,"$1/")+S.slice(1)}else{N=k+S}break;case"boolean":N=S;break;default:throw new Error("Unexpected parameters to loader-utils 'urlToRequest': url = "+S+", root = "+k+".")}}else if(/^\.\.?\//.test(S)){N=S}else{N="./"+S}if(w.test(N)){N=N.replace(w,"")}return N}S.exports=urlToRequest},89987:(S,E,k)=>{"use strict";const w=k(48333);const N=/^[A-Z]:([\\\/]|$)/i;const j=/^\//i;S.exports=function join(S,E){if(!E)return w(S);if(N.test(E))return w(E.replace(/\//g,"\\"));if(j.test(E))return w(E);if(S=="/")return w(S+E);if(N.test(S))return w(S.replace(/\//g,"\\")+"\\"+E.replace(/\//g,"\\"));if(j.test(S))return w(S+"/"+E);return w(S+"/"+E)}},48333:S=>{"use strict";S.exports=function normalize(S){var E=S.split(/(\\+|\/+)/);if(E.length===1)return S;var k=[];var w=0;for(var N=0,j=false;N{"use strict";const{PassThrough:w}=k(92413);S.exports=function(){var S=[];var E=new w({objectMode:true});E.setMaxListeners(0);E.add=add;E.isEmpty=isEmpty;E.on("unpipe",remove);Array.prototype.slice.call(arguments).forEach(add);return E;function add(k){if(Array.isArray(k)){k.forEach(add);return this}S.push(k);k.once("end",remove.bind(null,k));k.once("error",E.emit.bind(E,"error"));k.pipe(E,{end:false});return this}function isEmpty(){return S.length==0}function remove(k){S=S.filter((function(S){return S!==k}));if(!S.length&&E.readable){E.end()}}}},22198:(S,E,k)=>{ -/*! - * mime-db - * Copyright(c) 2014 Jonathan Ong - * MIT Licensed - */ -S.exports=k(73313)},50007:(S,E,k)=>{"use strict"; -/*! - * mime-types - * Copyright(c) 2014 Jonathan Ong - * Copyright(c) 2015 Douglas Christopher Wilson - * MIT Licensed - */var w=k(22198);var N=k(85622).extname;var j=/^\s*([^;\s]*)(?:;|\s|$)/;var q=/^text\//i;E.charset=charset;E.charsets={lookup:charset};E.contentType=contentType;E.extension=extension;E.extensions=Object.create(null);E.lookup=lookup;E.types=Object.create(null);populateMaps(E.extensions,E.types);function charset(S){if(!S||typeof S!=="string"){return false}var E=j.exec(S);var k=E&&w[E[1].toLowerCase()];if(k&&k.charset){return k.charset}if(E&&q.test(E[1])){return"UTF-8"}return false}function contentType(S){if(!S||typeof S!=="string"){return false}var k=S.indexOf("/")===-1?E.lookup(S):S;if(!k){return false}if(k.indexOf("charset")===-1){var w=E.charset(k);if(w)k+="; charset="+w.toLowerCase()}return k}function extension(S){if(!S||typeof S!=="string"){return false}var k=j.exec(S);var w=k&&E.extensions[k[1].toLowerCase()];if(!w||!w.length){return false}return w[0]}function lookup(S){if(!S||typeof S!=="string"){return false}var k=N("x."+S).toLowerCase().substr(1);if(!k){return false}return E.types[k]||false}function populateMaps(S,E){var k=["nginx","apache",undefined,"iana"];Object.keys(w).forEach((function forEachMimeType(N){var j=w[N];var q=j.extensions;if(!q||!q.length){return}S[N]=q;for(var ee=0;eeae||ne===ae&&E[te].substr(0,12)==="application/")){continue}}E[te]=N}}))}},62355:function(S,E){(function(S,k){"use strict";true?k(E):0})(this,(function(S){"use strict";var E=function noop(){};var k=function throwError(){throw new Error("Callback was already called.")};var w=5;var N=0;var j="object";var q="function";var ee=Array.isArray;var te=Object.keys;var ne=Array.prototype.push;var ae=typeof Symbol===q&&Symbol.iterator;var _e,ve,Ee;createImmediate();var Te=createEach(arrayEach,baseEach,symbolEach);var Ce=createMap(arrayEachIndex,baseEachIndex,symbolEachIndex,true);var we=createMap(arrayEachIndex,baseEachKey,symbolEachKey,false);var Ne=createFilter(arrayEachIndexValue,baseEachIndexValue,symbolEachIndexValue,true);var Ie=createFilterSeries(true);var Fe=createFilterLimit(true);var Oe=createFilter(arrayEachIndexValue,baseEachIndexValue,symbolEachIndexValue,false);var Me=createFilterSeries(false);var Re=createFilterLimit(false);var Le=createDetect(arrayEachValue,baseEachValue,symbolEachValue,true);var Be=createDetectSeries(true);var je=createDetectLimit(true);var ze=createEvery(arrayEachValue,baseEachValue,symbolEachValue);var Ue=createEverySeries();var We=createEveryLimit();var $e=createPick(arrayEachIndexValue,baseEachKeyValue,symbolEachKeyValue,true);var qe=createPickSeries(true);var Ve=createPickLimit(true);var He=createPick(arrayEachIndexValue,baseEachKeyValue,symbolEachKeyValue,false);var Ge=createPickSeries(false);var Je=createPickLimit(false);var Ke=createTransform(arrayEachResult,baseEachResult,symbolEachResult);var Qe=createSortBy(arrayEachIndexValue,baseEachIndexValue,symbolEachIndexValue);var Xe=createConcat(arrayEachIndex,baseEachIndex,symbolEachIndex);var Ye=createGroupBy(arrayEachValue,baseEachValue,symbolEachValue);var Ze=createParallel(arrayEachFunc,baseEachFunc);var et=createApplyEach(Ce);var tt=createApplyEach(mapSeries);var rt=createLogger("log");var nt=createLogger("dir");var it={VERSION:"2.6.2",each:Te,eachSeries:eachSeries,eachLimit:eachLimit,forEach:Te,forEachSeries:eachSeries,forEachLimit:eachLimit,eachOf:Te,eachOfSeries:eachSeries,eachOfLimit:eachLimit,forEachOf:Te,forEachOfSeries:eachSeries,forEachOfLimit:eachLimit,map:Ce,mapSeries:mapSeries,mapLimit:mapLimit,mapValues:we,mapValuesSeries:mapValuesSeries,mapValuesLimit:mapValuesLimit,filter:Ne,filterSeries:Ie,filterLimit:Fe,select:Ne,selectSeries:Ie,selectLimit:Fe,reject:Oe,rejectSeries:Me,rejectLimit:Re,detect:Le,detectSeries:Be,detectLimit:je,find:Le,findSeries:Be,findLimit:je,pick:$e,pickSeries:qe,pickLimit:Ve,omit:He,omitSeries:Ge,omitLimit:Je,reduce:reduce,inject:reduce,foldl:reduce,reduceRight:reduceRight,foldr:reduceRight,transform:Ke,transformSeries:transformSeries,transformLimit:transformLimit,sortBy:Qe,sortBySeries:sortBySeries,sortByLimit:sortByLimit,some:some,someSeries:someSeries,someLimit:someLimit,any:some,anySeries:someSeries,anyLimit:someLimit,every:ze,everySeries:Ue,everyLimit:We,all:ze,allSeries:Ue,allLimit:We,concat:Xe,concatSeries:concatSeries,concatLimit:concatLimit,groupBy:Ye,groupBySeries:groupBySeries,groupByLimit:groupByLimit,parallel:Ze,series:series,parallelLimit:parallelLimit,tryEach:tryEach,waterfall:waterfall,angelFall:angelFall,angelfall:angelFall,whilst:whilst,doWhilst:doWhilst,until:until,doUntil:doUntil,during:during,doDuring:doDuring,forever:forever,compose:compose,seq:seq,applyEach:et,applyEachSeries:tt,queue:queue,priorityQueue:priorityQueue,cargo:cargo,auto:auto,autoInject:autoInject,retry:retry,retryable:retryable,iterator:iterator,times:times,timesSeries:timesSeries,timesLimit:timesLimit,race:race,apply:apply,nextTick:ve,setImmediate:Ee,memoize:memoize,unmemoize:unmemoize,ensureAsync:ensureAsync,constant:constant,asyncify:asyncify,wrapSync:asyncify,log:rt,dir:nt,reflect:reflect,reflectAll:reflectAll,timeout:timeout,createLogger:createLogger,safe:safe,fast:fast};S["default"]=it;baseEachSync(it,(function(E,k){S[k]=E}),te(it));function createImmediate(S){var E=function delay(S){var E=slice(arguments,1);setTimeout((function(){S.apply(null,E)}))};Ee=typeof setImmediate===q?setImmediate:E;if(typeof process===j&&typeof process.nextTick===q){_e=/^v0.10/.test(process.version)?Ee:process.nextTick;ve=/^v0/.test(process.version)?Ee:process.nextTick}else{ve=_e=Ee}if(S===false){_e=function(S){S()}}}function createArray(S){var E=-1;var k=S.length;var w=Array(k);while(++E=E&&S[q]>=w){q--}if(j>q){break}swap(S,N,j++,q--)}return j}function swap(S,E,k,w){var N=S[k];S[k]=S[w];S[w]=N;var j=E[k];E[k]=E[w];E[w]=j}function quickSort(S,E,k,w){if(E===k){return}var N=E;while(++N<=k&&S[E]===S[N]){var j=N-1;if(w[j]>w[N]){var q=w[j];w[j]=w[N];w[N]=q}}if(N>k){return}var ee=S[E]>S[N]?E:N;N=partition(S,E,k,S[ee],w);quickSort(S,E,N-1,w);quickSort(S,N,k,w)}function makeConcatResult(S){var k=[];arrayEachSync(S,(function(S){if(S===E){return}if(ee(S)){ne.apply(k,S)}else{k.push(S)}}));return k}function arrayEach(S,E,k){var w=-1;var N=S.length;if(E.length===3){while(++wve?ve:N,Fe);function arrayIterator(){Ee=Re++;if(Eene?ne:w,Ne);function arrayIterator(){if(Fene?ne:w,Ie);function arrayIterator(){ve=Oe++;if(vene?ne:w,Ne);function arrayIterator(){ve=Oe++;if(veve?ve:N,Fe);function arrayIterator(){Ee=Me++;if(Eeve?ve:N,Fe);function arrayIterator(){Ee=Re++;if(Eene?ne:k,Ne);function arrayIterator(){ve=Oe++;if(vene?ne:w,Oe);function arrayIterator(){if(Re=2){ne.apply(Ie,slice(arguments,1))}if(S){N(S,Ie)}else if(++Fe===q){we=k;N(null,Ie)}else if(Ne){_e(we)}else{Ne=true;we()}Ne=false}}function concatLimit(S,w,N,q){q=q||E;var ne,ve,Ee,Te,Ce,we;var Ne=false;var Ie=0;var Fe=0;if(ee(S)){ne=S.length;Ce=N.length===3?arrayIteratorWithIndex:arrayIterator}else if(!S){}else if(ae&&S[ae]){ne=Infinity;we=[];Ee=S[ae]();Ce=N.length===3?symbolIteratorWithKey:symbolIterator}else if(typeof S===j){var Oe=te(S);ne=Oe.length;Ce=N.length===3?objectIteratorWithKey:objectIterator}if(!ne||isNaN(w)||w<1){return q(null,[])}we=we||Array(ne);timesSync(w>ne?ne:w,Ce);function arrayIterator(){if(Iene?ne:w,Ie);function arrayIterator(){if(Oeq?q:w,Te);function arrayIterator(){ne=we++;if(ne1){var w=slice(arguments,1);return go.apply(this,w)}else{return go}}}function DLL(){this.head=null;this.tail=null;this.length=0}DLL.prototype._removeLink=function(S){var E=S.prev;var k=S.next;if(E){E.next=k}else{this.head=k}if(k){k.prev=E}else{this.tail=E}S.prev=null;S.next=null;this.length--;return S};DLL.prototype.empty=DLL;DLL.prototype._setInitial=function(S){this.length=1;this.head=this.tail=S};DLL.prototype.insertBefore=function(S,E){E.prev=S.prev;E.next=S;if(S.prev){S.prev.next=E}else{this.head=E}S.prev=E;this.length++};DLL.prototype.unshift=function(S){if(this.head){this.insertBefore(this.head,S)}else{this._setInitial(S)}};DLL.prototype.push=function(S){var E=this.tail;if(E){S.prev=E;S.next=E.next;this.tail=S;E.next=S;this.length++}else{this._setInitial(S)}};DLL.prototype.shift=function(){return this.head&&this._removeLink(this.head)};DLL.prototype.splice=function(S){var E;var k=[];while(S--&&(E=this.shift())){k.push(E)}return k};DLL.prototype.remove=function(S){var E=this.head;while(E){if(S(E)){this._removeLink(E)}E=E.next}return this};function baseQueue(S,w,N,j){if(N===undefined){N=1}else if(isNaN(N)||N<1){throw new Error("Concurrency must not be zero")}var q=0;var te=[];var ae,ve;var Ee={_tasks:new DLL,concurrency:N,payload:j,saturated:E,unsaturated:E,buffer:N/4,empty:E,drain:E,error:E,started:false,paused:false,push:push,kill:kill,unshift:unshift,remove:remove,process:S?runQueue:runCargo,length:getLength,running:running,workersList:getWorkersList,idle:idle,pause:pause,resume:resume,_worker:w};return Ee;function push(S,E){_insert(S,E)}function unshift(S,E){_insert(S,E,true)}function _exec(S){var E={data:S,callback:ae};if(ve){Ee._tasks.unshift(E)}else{Ee._tasks.push(E)}_e(Ee.process)}function _insert(S,k,w){if(k==null){k=E}else if(typeof k!=="function"){throw new Error("task callback must be a function")}Ee.started=true;var N=ee(S)?S:[S];if(S===undefined||!N.length){if(Ee.idle()){_e(Ee.drain)}return}ve=w;ae=k;arrayEachSync(N,_exec);ae=undefined}function kill(){Ee.drain=E;Ee._tasks.empty()}function _next(S,E){var w=false;return function done(N,j){if(w){k()}w=true;q--;var ee;var ne=-1;var ae=te.length;var _e=-1;var ve=E.length;var Ee=arguments.length>2;var Te=Ee&&createArray(arguments);while(++_e=ne.priority){ne=ne.next}while(te--){var ae={data:j[te],priority:k,callback:N};if(ne){w._tasks.insertBefore(ne,ae)}else{w._tasks.push(ae)}_e(w.process)}}}function cargo(S,E){return baseQueue(false,S,1,E)}function auto(S,w,N){if(typeof w===q){N=w;w=null}var j=te(S);var ne=j.length;var ae={};if(ne===0){return N(null,ae)}var _e=0;var ve=new DLL;var Ee=Object.create(null);N=onlyOnce(N||E);w=w||ne;baseEachSync(S,iterator,j);proceedQueue();function iterator(S,w){var q,te;if(!ee(S)){q=S;te=0;ve.push([q,te,done]);return}var Te=S.length-1;q=S[Te];te=Te;if(Te===0){ve.push([q,te,done]);return}var Ce=-1;while(++Ce=S){N(null,j);N=k}else if(q){_e(iterate)}else{q=true;iterate()}q=false}}function timesLimit(S,w,N,j){j=j||E;S=+S;if(isNaN(S)||S<1||isNaN(w)||w<1){return j(null,[])}var q=Array(S);var ee=false;var te=0;var ne=0;timesSync(w>S?S:w,iterate);function iterate(){var E=te++;if(E=S){j(null,q);j=k}else if(ee){_e(iterate)}else{ee=true;iterate()}ee=false}}}function race(S,k){k=once(k||E);var w,N;var q=-1;if(ee(S)){w=S.length;while(++q2){k=slice(arguments,1)}E(null,{value:k})}}}function reflectAll(S){var E,k;if(ee(S)){E=Array(S.length);arrayEachSync(S,iterate)}else if(S&&typeof S===j){k=te(S);E={};baseEachSync(S,iterate,k)}return E;function iterate(S,k){E[k]=reflect(S)}}function createLogger(S){return function(S){var E=slice(arguments,1);E.push(done);S.apply(null,E)};function done(E){if(typeof console===j){if(E){if(console.error){console.error(E)}return}if(console[S]){var k=slice(arguments,1);arrayEachSync(k,(function(E){console[S](E)}))}}}}function safe(){createImmediate();return S}function fast(){createImmediate(false);return S}}))},5782:(S,E,k)=>{"use strict";S.exports=k(43162)},36949:(S,E,k)=>{"use strict";const w=k(85622);const N="\\\\/";const j=`[^${N}]`;const q="\\.";const ee="\\+";const te="\\?";const ne="\\/";const ae="(?=.)";const _e="[^/]";const ve=`(?:${ne}|$)`;const Ee=`(?:^|${ne})`;const Te=`${q}{1,2}${ve}`;const Ce=`(?!${q})`;const we=`(?!${Ee}${Te})`;const Ne=`(?!${q}{0,1}${ve})`;const Ie=`(?!${Te})`;const Fe=`[^.${ne}]`;const Oe=`${_e}*?`;const Me={DOT_LITERAL:q,PLUS_LITERAL:ee,QMARK_LITERAL:te,SLASH_LITERAL:ne,ONE_CHAR:ae,QMARK:_e,END_ANCHOR:ve,DOTS_SLASH:Te,NO_DOT:Ce,NO_DOTS:we,NO_DOT_SLASH:Ne,NO_DOTS_SLASH:Ie,QMARK_NO_DOT:Fe,STAR:Oe,START_ANCHOR:Ee};const Re={...Me,SLASH_LITERAL:`[${N}]`,QMARK:j,STAR:`${j}*?`,DOTS_SLASH:`${q}{1,2}(?:[${N}]|$)`,NO_DOT:`(?!${q})`,NO_DOTS:`(?!(?:^|[${N}])${q}{1,2}(?:[${N}]|$))`,NO_DOT_SLASH:`(?!${q}{0,1}(?:[${N}]|$))`,NO_DOTS_SLASH:`(?!${q}{1,2}(?:[${N}]|$))`,QMARK_NO_DOT:`[^.${N}]`,START_ANCHOR:`(?:^|[${N}])`,END_ANCHOR:`(?:[${N}]|$)`};const Le={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"};S.exports={MAX_LENGTH:1024*64,POSIX_REGEX_SOURCE:Le,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,REPLACEMENTS:{"***":"*","**/**":"**","**/**/**":"**"},CHAR_0:48,CHAR_9:57,CHAR_UPPERCASE_A:65,CHAR_LOWERCASE_A:97,CHAR_UPPERCASE_Z:90,CHAR_LOWERCASE_Z:122,CHAR_LEFT_PARENTHESES:40,CHAR_RIGHT_PARENTHESES:41,CHAR_ASTERISK:42,CHAR_AMPERSAND:38,CHAR_AT:64,CHAR_BACKWARD_SLASH:92,CHAR_CARRIAGE_RETURN:13,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,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,CHAR_NO_BREAK_SPACE:160,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,CHAR_UNDERSCORE:95,CHAR_VERTICAL_LINE:124,CHAR_ZERO_WIDTH_NOBREAK_SPACE:65279,SEP:w.sep,extglobChars(S){return{"!":{type:"negate",open:"(?:(?!(?:",close:`))${S.STAR})`},"?":{type:"qmark",open:"(?:",close:")?"},"+":{type:"plus",open:"(?:",close:")+"},"*":{type:"star",open:"(?:",close:")*"},"@":{type:"at",open:"(?:",close:")"}}},globChars(S){return S===true?Re:Me}}},19934:(S,E,k)=>{"use strict";const w=k(36949);const N=k(2661);const{MAX_LENGTH:j,POSIX_REGEX_SOURCE:q,REGEX_NON_SPECIAL_CHARS:ee,REGEX_SPECIAL_CHARS_BACKREF:te,REPLACEMENTS:ne}=w;const expandRange=(S,E)=>{if(typeof E.expandRange==="function"){return E.expandRange(...S,E)}S.sort();const k=`[${S.join("-")}]`;try{new RegExp(k)}catch(E){return S.map((S=>N.escapeRegex(S))).join("..")}return k};const syntaxError=(S,E)=>`Missing ${S}: "${E}" - use "\\\\${E}" to match literal characters`;const parse=(S,E)=>{if(typeof S!=="string"){throw new TypeError("Expected a string")}S=ne[S]||S;const k={...E};const ae=typeof k.maxLength==="number"?Math.min(j,k.maxLength):j;let _e=S.length;if(_e>ae){throw new SyntaxError(`Input length: ${_e}, exceeds maximum allowed length: ${ae}`)}const ve={type:"bos",value:"",output:k.prepend||""};const Ee=[ve];const Te=k.capture?"":"?:";const Ce=N.isWindows(E);const we=w.globChars(Ce);const Ne=w.extglobChars(we);const{DOT_LITERAL:Ie,PLUS_LITERAL:Fe,SLASH_LITERAL:Oe,ONE_CHAR:Me,DOTS_SLASH:Re,NO_DOT:Le,NO_DOT_SLASH:Be,NO_DOTS_SLASH:je,QMARK:ze,QMARK_NO_DOT:Ue,STAR:We,START_ANCHOR:$e}=we;const globstar=S=>`(${Te}(?:(?!${$e}${S.dot?Re:Ie}).)*?)`;const qe=k.dot?"":Le;const Ve=k.dot?ze:Ue;let He=k.bash===true?globstar(k):We;if(k.capture){He=`(${He})`}if(typeof k.noext==="boolean"){k.noextglob=k.noext}const Ge={input:S,index:-1,start:0,dot:k.dot===true,consumed:"",output:"",prefix:"",backtrack:false,negated:false,brackets:0,braces:0,parens:0,quotes:0,globstar:false,tokens:Ee};S=N.removePrefix(S,Ge);_e=S.length;const Je=[];const Ke=[];const Qe=[];let Xe=ve;let Ye;const eos=()=>Ge.index===_e-1;const Ze=Ge.peek=(E=1)=>S[Ge.index+E];const et=Ge.advance=()=>S[++Ge.index];const remaining=()=>S.slice(Ge.index+1);const consume=(S="",E=0)=>{Ge.consumed+=S;Ge.index+=E};const append=S=>{Ge.output+=S.output!=null?S.output:S.value;consume(S.value)};const negate=()=>{let S=1;while(Ze()==="!"&&(Ze(2)!=="("||Ze(3)==="?")){et();Ge.start++;S++}if(S%2===0){return false}Ge.negated=true;Ge.start++;return true};const increment=S=>{Ge[S]++;Qe.push(S)};const decrement=S=>{Ge[S]--;Qe.pop()};const push=S=>{if(Xe.type==="globstar"){const E=Ge.braces>0&&(S.type==="comma"||S.type==="brace");const k=S.extglob===true||Je.length&&(S.type==="pipe"||S.type==="paren");if(S.type!=="slash"&&S.type!=="paren"&&!E&&!k){Ge.output=Ge.output.slice(0,-Xe.output.length);Xe.type="star";Xe.value="*";Xe.output=He;Ge.output+=Xe.output}}if(Je.length&&S.type!=="paren"&&!Ne[S.value]){Je[Je.length-1].inner+=S.value}if(S.value||S.output)append(S);if(Xe&&Xe.type==="text"&&S.type==="text"){Xe.value+=S.value;Xe.output=(Xe.output||"")+S.value;return}S.prev=Xe;Ee.push(S);Xe=S};const extglobOpen=(S,E)=>{const w={...Ne[E],conditions:1,inner:""};w.prev=Xe;w.parens=Ge.parens;w.output=Ge.output;const N=(k.capture?"(":"")+w.open;increment("parens");push({type:S,value:E,output:Ge.output?"":Me});push({type:"paren",extglob:true,value:et(),output:N});Je.push(w)};const extglobClose=S=>{let E=S.close+(k.capture?")":"");if(S.type==="negate"){let w=He;if(S.inner&&S.inner.length>1&&S.inner.includes("/")){w=globstar(k)}if(w!==He||eos()||/^\)+$/.test(remaining())){E=S.close=`)$))${w}`}if(S.prev.type==="bos"&&eos()){Ge.negatedExtglob=true}}push({type:"paren",extglob:true,value:Ye,output:E});decrement("parens")};if(k.fastpaths!==false&&!/(^[*!]|[/()[\]{}"])/.test(S)){let w=false;let j=S.replace(te,((S,E,k,N,j,q)=>{if(N==="\\"){w=true;return S}if(N==="?"){if(E){return E+N+(j?ze.repeat(j.length):"")}if(q===0){return Ve+(j?ze.repeat(j.length):"")}return ze.repeat(k.length)}if(N==="."){return Ie.repeat(k.length)}if(N==="*"){if(E){return E+N+(j?He:"")}return He}return E?S:`\\${S}`}));if(w===true){if(k.unescape===true){j=j.replace(/\\/g,"")}else{j=j.replace(/\\+/g,(S=>S.length%2===0?"\\\\":S?"\\":""))}}if(j===S&&k.contains===true){Ge.output=S;return Ge}Ge.output=N.wrapOutput(j,Ge,E);return Ge}while(!eos()){Ye=et();if(Ye==="\0"){continue}if(Ye==="\\"){const S=Ze();if(S==="/"&&k.bash!==true){continue}if(S==="."||S===";"){continue}if(!S){Ye+="\\";push({type:"text",value:Ye});continue}const E=/^\\+/.exec(remaining());let w=0;if(E&&E[0].length>2){w=E[0].length;Ge.index+=w;if(w%2!==0){Ye+="\\"}}if(k.unescape===true){Ye=et()||""}else{Ye+=et()||""}if(Ge.brackets===0){push({type:"text",value:Ye});continue}}if(Ge.brackets>0&&(Ye!=="]"||Xe.value==="["||Xe.value==="[^")){if(k.posix!==false&&Ye===":"){const S=Xe.value.slice(1);if(S.includes("[")){Xe.posix=true;if(S.includes(":")){const S=Xe.value.lastIndexOf("[");const E=Xe.value.slice(0,S);const k=Xe.value.slice(S+2);const w=q[k];if(w){Xe.value=E+w;Ge.backtrack=true;et();if(!ve.output&&Ee.indexOf(Xe)===1){ve.output=Me}continue}}}}if(Ye==="["&&Ze()!==":"||Ye==="-"&&Ze()==="]"){Ye=`\\${Ye}`}if(Ye==="]"&&(Xe.value==="["||Xe.value==="[^")){Ye=`\\${Ye}`}if(k.posix===true&&Ye==="!"&&Xe.value==="["){Ye="^"}Xe.value+=Ye;append({value:Ye});continue}if(Ge.quotes===1&&Ye!=='"'){Ye=N.escapeRegex(Ye);Xe.value+=Ye;append({value:Ye});continue}if(Ye==='"'){Ge.quotes=Ge.quotes===1?0:1;if(k.keepQuotes===true){push({type:"text",value:Ye})}continue}if(Ye==="("){increment("parens");push({type:"paren",value:Ye});continue}if(Ye===")"){if(Ge.parens===0&&k.strictBrackets===true){throw new SyntaxError(syntaxError("opening","("))}const S=Je[Je.length-1];if(S&&Ge.parens===S.parens+1){extglobClose(Je.pop());continue}push({type:"paren",value:Ye,output:Ge.parens?")":"\\)"});decrement("parens");continue}if(Ye==="["){if(k.nobracket===true||!remaining().includes("]")){if(k.nobracket!==true&&k.strictBrackets===true){throw new SyntaxError(syntaxError("closing","]"))}Ye=`\\${Ye}`}else{increment("brackets")}push({type:"bracket",value:Ye});continue}if(Ye==="]"){if(k.nobracket===true||Xe&&Xe.type==="bracket"&&Xe.value.length===1){push({type:"text",value:Ye,output:`\\${Ye}`});continue}if(Ge.brackets===0){if(k.strictBrackets===true){throw new SyntaxError(syntaxError("opening","["))}push({type:"text",value:Ye,output:`\\${Ye}`});continue}decrement("brackets");const S=Xe.value.slice(1);if(Xe.posix!==true&&S[0]==="^"&&!S.includes("/")){Ye=`/${Ye}`}Xe.value+=Ye;append({value:Ye});if(k.literalBrackets===false||N.hasRegexChars(S)){continue}const E=N.escapeRegex(Xe.value);Ge.output=Ge.output.slice(0,-Xe.value.length);if(k.literalBrackets===true){Ge.output+=E;Xe.value=E;continue}Xe.value=`(${Te}${E}|${Xe.value})`;Ge.output+=Xe.value;continue}if(Ye==="{"&&k.nobrace!==true){increment("braces");const S={type:"brace",value:Ye,output:"(",outputIndex:Ge.output.length,tokensIndex:Ge.tokens.length};Ke.push(S);push(S);continue}if(Ye==="}"){const S=Ke[Ke.length-1];if(k.nobrace===true||!S){push({type:"text",value:Ye,output:Ye});continue}let E=")";if(S.dots===true){const S=Ee.slice();const w=[];for(let E=S.length-1;E>=0;E--){Ee.pop();if(S[E].type==="brace"){break}if(S[E].type!=="dots"){w.unshift(S[E].value)}}E=expandRange(w,k);Ge.backtrack=true}if(S.comma!==true&&S.dots!==true){const k=Ge.output.slice(0,S.outputIndex);const w=Ge.tokens.slice(S.tokensIndex);S.value=S.output="\\{";Ye=E="\\}";Ge.output=k;for(const S of w){Ge.output+=S.output||S.value}}push({type:"brace",value:Ye,output:E});decrement("braces");Ke.pop();continue}if(Ye==="|"){if(Je.length>0){Je[Je.length-1].conditions++}push({type:"text",value:Ye});continue}if(Ye===","){let S=Ye;const E=Ke[Ke.length-1];if(E&&Qe[Qe.length-1]==="braces"){E.comma=true;S="|"}push({type:"comma",value:Ye,output:S});continue}if(Ye==="/"){if(Xe.type==="dot"&&Ge.index===Ge.start+1){Ge.start=Ge.index+1;Ge.consumed="";Ge.output="";Ee.pop();Xe=ve;continue}push({type:"slash",value:Ye,output:Oe});continue}if(Ye==="."){if(Ge.braces>0&&Xe.type==="dot"){if(Xe.value===".")Xe.output=Ie;const S=Ke[Ke.length-1];Xe.type="dots";Xe.output+=Ye;Xe.value+=Ye;S.dots=true;continue}if(Ge.braces+Ge.parens===0&&Xe.type!=="bos"&&Xe.type!=="slash"){push({type:"text",value:Ye,output:Ie});continue}push({type:"dot",value:Ye,output:Ie});continue}if(Ye==="?"){const S=Xe&&Xe.value==="(";if(!S&&k.noextglob!==true&&Ze()==="("&&Ze(2)!=="?"){extglobOpen("qmark",Ye);continue}if(Xe&&Xe.type==="paren"){const S=Ze();let E=Ye;if(S==="<"&&!N.supportsLookbehinds()){throw new Error("Node.js v10 or higher is required for regex lookbehinds")}if(Xe.value==="("&&!/[!=<:]/.test(S)||S==="<"&&!/<([!=]|\w+>)/.test(remaining())){E=`\\${Ye}`}push({type:"text",value:Ye,output:E});continue}if(k.dot!==true&&(Xe.type==="slash"||Xe.type==="bos")){push({type:"qmark",value:Ye,output:Ue});continue}push({type:"qmark",value:Ye,output:ze});continue}if(Ye==="!"){if(k.noextglob!==true&&Ze()==="("){if(Ze(2)!=="?"||!/[!=<:]/.test(Ze(3))){extglobOpen("negate",Ye);continue}}if(k.nonegate!==true&&Ge.index===0){negate();continue}}if(Ye==="+"){if(k.noextglob!==true&&Ze()==="("&&Ze(2)!=="?"){extglobOpen("plus",Ye);continue}if(Xe&&Xe.value==="("||k.regex===false){push({type:"plus",value:Ye,output:Fe});continue}if(Xe&&(Xe.type==="bracket"||Xe.type==="paren"||Xe.type==="brace")||Ge.parens>0){push({type:"plus",value:Ye});continue}push({type:"plus",value:Fe});continue}if(Ye==="@"){if(k.noextglob!==true&&Ze()==="("&&Ze(2)!=="?"){push({type:"at",extglob:true,value:Ye,output:""});continue}push({type:"text",value:Ye});continue}if(Ye!=="*"){if(Ye==="$"||Ye==="^"){Ye=`\\${Ye}`}const S=ee.exec(remaining());if(S){Ye+=S[0];Ge.index+=S[0].length}push({type:"text",value:Ye});continue}if(Xe&&(Xe.type==="globstar"||Xe.star===true)){Xe.type="star";Xe.star=true;Xe.value+=Ye;Xe.output=He;Ge.backtrack=true;Ge.globstar=true;consume(Ye);continue}let E=remaining();if(k.noextglob!==true&&/^\([^?]/.test(E)){extglobOpen("star",Ye);continue}if(Xe.type==="star"){if(k.noglobstar===true){consume(Ye);continue}const w=Xe.prev;const N=w.prev;const j=w.type==="slash"||w.type==="bos";const q=N&&(N.type==="star"||N.type==="globstar");if(k.bash===true&&(!j||E[0]&&E[0]!=="/")){push({type:"star",value:Ye,output:""});continue}const ee=Ge.braces>0&&(w.type==="comma"||w.type==="brace");const te=Je.length&&(w.type==="pipe"||w.type==="paren");if(!j&&w.type!=="paren"&&!ee&&!te){push({type:"star",value:Ye,output:""});continue}while(E.slice(0,3)==="/**"){const k=S[Ge.index+4];if(k&&k!=="/"){break}E=E.slice(3);consume("/**",3)}if(w.type==="bos"&&eos()){Xe.type="globstar";Xe.value+=Ye;Xe.output=globstar(k);Ge.output=Xe.output;Ge.globstar=true;consume(Ye);continue}if(w.type==="slash"&&w.prev.type!=="bos"&&!q&&eos()){Ge.output=Ge.output.slice(0,-(w.output+Xe.output).length);w.output=`(?:${w.output}`;Xe.type="globstar";Xe.output=globstar(k)+(k.strictSlashes?")":"|$)");Xe.value+=Ye;Ge.globstar=true;Ge.output+=w.output+Xe.output;consume(Ye);continue}if(w.type==="slash"&&w.prev.type!=="bos"&&E[0]==="/"){const S=E[1]!==void 0?"|$":"";Ge.output=Ge.output.slice(0,-(w.output+Xe.output).length);w.output=`(?:${w.output}`;Xe.type="globstar";Xe.output=`${globstar(k)}${Oe}|${Oe}${S})`;Xe.value+=Ye;Ge.output+=w.output+Xe.output;Ge.globstar=true;consume(Ye+et());push({type:"slash",value:"/",output:""});continue}if(w.type==="bos"&&E[0]==="/"){Xe.type="globstar";Xe.value+=Ye;Xe.output=`(?:^|${Oe}|${globstar(k)}${Oe})`;Ge.output=Xe.output;Ge.globstar=true;consume(Ye+et());push({type:"slash",value:"/",output:""});continue}Ge.output=Ge.output.slice(0,-Xe.output.length);Xe.type="globstar";Xe.output=globstar(k);Xe.value+=Ye;Ge.output+=Xe.output;Ge.globstar=true;consume(Ye);continue}const w={type:"star",value:Ye,output:He};if(k.bash===true){w.output=".*?";if(Xe.type==="bos"||Xe.type==="slash"){w.output=qe+w.output}push(w);continue}if(Xe&&(Xe.type==="bracket"||Xe.type==="paren")&&k.regex===true){w.output=Ye;push(w);continue}if(Ge.index===Ge.start||Xe.type==="slash"||Xe.type==="dot"){if(Xe.type==="dot"){Ge.output+=Be;Xe.output+=Be}else if(k.dot===true){Ge.output+=je;Xe.output+=je}else{Ge.output+=qe;Xe.output+=qe}if(Ze()!=="*"){Ge.output+=Me;Xe.output+=Me}}push(w)}while(Ge.brackets>0){if(k.strictBrackets===true)throw new SyntaxError(syntaxError("closing","]"));Ge.output=N.escapeLast(Ge.output,"[");decrement("brackets")}while(Ge.parens>0){if(k.strictBrackets===true)throw new SyntaxError(syntaxError("closing",")"));Ge.output=N.escapeLast(Ge.output,"(");decrement("parens")}while(Ge.braces>0){if(k.strictBrackets===true)throw new SyntaxError(syntaxError("closing","}"));Ge.output=N.escapeLast(Ge.output,"{");decrement("braces")}if(k.strictSlashes!==true&&(Xe.type==="star"||Xe.type==="bracket")){push({type:"maybe_slash",value:"",output:`${Oe}?`})}if(Ge.backtrack===true){Ge.output="";for(const S of Ge.tokens){Ge.output+=S.output!=null?S.output:S.value;if(S.suffix){Ge.output+=S.suffix}}}return Ge};parse.fastpaths=(S,E)=>{const k={...E};const q=typeof k.maxLength==="number"?Math.min(j,k.maxLength):j;const ee=S.length;if(ee>q){throw new SyntaxError(`Input length: ${ee}, exceeds maximum allowed length: ${q}`)}S=ne[S]||S;const te=N.isWindows(E);const{DOT_LITERAL:ae,SLASH_LITERAL:_e,ONE_CHAR:ve,DOTS_SLASH:Ee,NO_DOT:Te,NO_DOTS:Ce,NO_DOTS_SLASH:we,STAR:Ne,START_ANCHOR:Ie}=w.globChars(te);const Fe=k.dot?Ce:Te;const Oe=k.dot?we:Te;const Me=k.capture?"":"?:";const Re={negated:false,prefix:""};let Le=k.bash===true?".*?":Ne;if(k.capture){Le=`(${Le})`}const globstar=S=>{if(S.noglobstar===true)return Le;return`(${Me}(?:(?!${Ie}${S.dot?Ee:ae}).)*?)`};const create=S=>{switch(S){case"*":return`${Fe}${ve}${Le}`;case".*":return`${ae}${ve}${Le}`;case"*.*":return`${Fe}${Le}${ae}${ve}${Le}`;case"*/*":return`${Fe}${Le}${_e}${ve}${Oe}${Le}`;case"**":return Fe+globstar(k);case"**/*":return`(?:${Fe}${globstar(k)}${_e})?${Oe}${ve}${Le}`;case"**/*.*":return`(?:${Fe}${globstar(k)}${_e})?${Oe}${Le}${ae}${ve}${Le}`;case"**/.*":return`(?:${Fe}${globstar(k)}${_e})?${ae}${ve}${Le}`;default:{const E=/^(.*?)\.(\w+)$/.exec(S);if(!E)return;const k=create(E[1]);if(!k)return;return k+ae+E[2]}}};const Be=N.removePrefix(S,Re);let je=create(Be);if(je&&k.strictSlashes!==true){je+=`${_e}?`}return je};S.exports=parse},43162:(S,E,k)=>{"use strict";const w=k(85622);const N=k(35788);const j=k(19934);const q=k(2661);const ee=k(36949);const isObject=S=>S&&typeof S==="object"&&!Array.isArray(S);const picomatch=(S,E,k=false)=>{if(Array.isArray(S)){const w=S.map((S=>picomatch(S,E,k)));const arrayMatcher=S=>{for(const E of w){const k=E(S);if(k)return k}return false};return arrayMatcher}const w=isObject(S)&&S.tokens&&S.input;if(S===""||typeof S!=="string"&&!w){throw new TypeError("Expected pattern to be a non-empty string")}const N=E||{};const j=q.isWindows(E);const ee=w?picomatch.compileRe(S,E):picomatch.makeRe(S,E,false,true);const te=ee.state;delete ee.state;let isIgnored=()=>false;if(N.ignore){const S={...E,ignore:null,onMatch:null,onResult:null};isIgnored=picomatch(N.ignore,S,k)}const matcher=(k,w=false)=>{const{isMatch:q,match:ne,output:ae}=picomatch.test(k,ee,E,{glob:S,posix:j});const _e={glob:S,state:te,regex:ee,posix:j,input:k,output:ae,match:ne,isMatch:q};if(typeof N.onResult==="function"){N.onResult(_e)}if(q===false){_e.isMatch=false;return w?_e:false}if(isIgnored(k)){if(typeof N.onIgnore==="function"){N.onIgnore(_e)}_e.isMatch=false;return w?_e:false}if(typeof N.onMatch==="function"){N.onMatch(_e)}return w?_e:true};if(k){matcher.state=te}return matcher};picomatch.test=(S,E,k,{glob:w,posix:N}={})=>{if(typeof S!=="string"){throw new TypeError("Expected input to be a string")}if(S===""){return{isMatch:false,output:""}}const j=k||{};const ee=j.format||(N?q.toPosixSlashes:null);let te=S===w;let ne=te&&ee?ee(S):S;if(te===false){ne=ee?ee(S):S;te=ne===w}if(te===false||j.capture===true){if(j.matchBase===true||j.basename===true){te=picomatch.matchBase(S,E,k,N)}else{te=E.exec(ne)}}return{isMatch:Boolean(te),match:te,output:ne}};picomatch.matchBase=(S,E,k,N=q.isWindows(k))=>{const j=E instanceof RegExp?E:picomatch.makeRe(E,k);return j.test(w.basename(S))};picomatch.isMatch=(S,E,k)=>picomatch(E,k)(S);picomatch.parse=(S,E)=>{if(Array.isArray(S))return S.map((S=>picomatch.parse(S,E)));return j(S,{...E,fastpaths:false})};picomatch.scan=(S,E)=>N(S,E);picomatch.compileRe=(S,E,k=false,w=false)=>{if(k===true){return S.output}const N=E||{};const j=N.contains?"":"^";const q=N.contains?"":"$";let ee=`${j}(?:${S.output})${q}`;if(S&&S.negated===true){ee=`^(?!${ee}).*$`}const te=picomatch.toRegex(ee,E);if(w===true){te.state=S}return te};picomatch.makeRe=(S,E,k=false,w=false)=>{if(!S||typeof S!=="string"){throw new TypeError("Expected a non-empty string")}const N=E||{};let q={negated:false,fastpaths:true};let ee="";let te;if(S.startsWith("./")){S=S.slice(2);ee=q.prefix="./"}if(N.fastpaths!==false&&(S[0]==="."||S[0]==="*")){te=j.fastpaths(S,E)}if(te===undefined){q=j(S,E);q.prefix=ee+(q.prefix||"")}else{q.output=te}return picomatch.compileRe(q,E,k,w)};picomatch.toRegex=(S,E)=>{try{const k=E||{};return new RegExp(S,k.flags||(k.nocase?"i":""))}catch(S){if(E&&E.debug===true)throw S;return/$^/}};picomatch.constants=ee;S.exports=picomatch},35788:(S,E,k)=>{"use strict";const w=k(2661);const{CHAR_ASTERISK:N,CHAR_AT:j,CHAR_BACKWARD_SLASH:q,CHAR_COMMA:ee,CHAR_DOT:te,CHAR_EXCLAMATION_MARK:ne,CHAR_FORWARD_SLASH:ae,CHAR_LEFT_CURLY_BRACE:_e,CHAR_LEFT_PARENTHESES:ve,CHAR_LEFT_SQUARE_BRACKET:Ee,CHAR_PLUS:Te,CHAR_QUESTION_MARK:Ce,CHAR_RIGHT_CURLY_BRACE:we,CHAR_RIGHT_PARENTHESES:Ne,CHAR_RIGHT_SQUARE_BRACKET:Ie}=k(36949);const isPathSeparator=S=>S===ae||S===q;const depth=S=>{if(S.isPrefix!==true){S.depth=S.isGlobstar?Infinity:1}};const scan=(S,E)=>{const k=E||{};const Fe=S.length-1;const Oe=k.parts===true||k.scanToEnd===true;const Me=[];const Re=[];const Le=[];let Be=S;let je=-1;let ze=0;let Ue=0;let We=false;let $e=false;let qe=false;let Ve=false;let He=false;let Ge=false;let Je=false;let Ke=false;let Qe=false;let Xe=0;let Ye;let Ze;let et={value:"",depth:0,isGlob:false};const eos=()=>je>=Fe;const peek=()=>Be.charCodeAt(je+1);const advance=()=>{Ye=Ze;return Be.charCodeAt(++je)};while(je0){rt=Be.slice(0,ze);Be=Be.slice(ze);Ue-=ze}if(tt&&qe===true&&Ue>0){tt=Be.slice(0,Ue);nt=Be.slice(Ue)}else if(qe===true){tt="";nt=Be}else{tt=Be}if(tt&&tt!==""&&tt!=="/"&&tt!==Be){if(isPathSeparator(tt.charCodeAt(tt.length-1))){tt=tt.slice(0,-1)}}if(k.unescape===true){if(nt)nt=w.removeBackslashes(nt);if(tt&&Je===true){tt=w.removeBackslashes(tt)}}const it={prefix:rt,input:S,start:ze,base:tt,glob:nt,isBrace:We,isBracket:$e,isGlob:qe,isExtglob:Ve,isGlobstar:He,negated:Ke};if(k.tokens===true){it.maxDepth=0;if(!isPathSeparator(Ze)){Re.push(et)}it.tokens=Re}if(k.parts===true||k.tokens===true){let E;for(let w=0;w{"use strict";const w=k(85622);const N=process.platform==="win32";const{REGEX_BACKSLASH:j,REGEX_REMOVE_BACKSLASH:q,REGEX_SPECIAL_CHARS:ee,REGEX_SPECIAL_CHARS_GLOBAL:te}=k(36949);E.isObject=S=>S!==null&&typeof S==="object"&&!Array.isArray(S);E.hasRegexChars=S=>ee.test(S);E.isRegexChar=S=>S.length===1&&E.hasRegexChars(S);E.escapeRegex=S=>S.replace(te,"\\$1");E.toPosixSlashes=S=>S.replace(j,"/");E.removeBackslashes=S=>S.replace(q,(S=>S==="\\"?"":S));E.supportsLookbehinds=()=>{const S=process.version.slice(1).split(".").map(Number);if(S.length===3&&S[0]>=9||S[0]===8&&S[1]>=10){return true}return false};E.isWindows=S=>{if(S&&typeof S.windows==="boolean"){return S.windows}return N===true||w.sep==="\\"};E.escapeLast=(S,k,w)=>{const N=S.lastIndexOf(k,w);if(N===-1)return S;if(S[N-1]==="\\")return E.escapeLast(S,k,N-1);return`${S.slice(0,N)}\\${S.slice(N)}`};E.removePrefix=(S,E={})=>{let k=S;if(k.startsWith("./")){k=k.slice(2);E.prefix="./"}return k};E.wrapOutput=(S,E={},k={})=>{const w=k.contains?"":"^";const N=k.contains?"":"$";let j=`${w}(?:${S})${N}`;if(E.negated===true){j=`(?:^(?!${j}).*$)`}return j}},31998:(S,E,k)=>{S.exports=k(76417).randomBytes},24672:(S,E,k)=>{"use strict";Object.defineProperty(E,"__esModule",{value:true});E.default=void 0;const{stringHints:w,numberHints:N}=k(47961);const j={type:1,not:1,oneOf:1,anyOf:1,if:1,enum:1,const:1,instanceof:1,required:2,pattern:2,patternRequired:2,format:2,formatMinimum:2,formatMaximum:2,minimum:2,exclusiveMinimum:2,maximum:2,exclusiveMaximum:2,multipleOf:2,uniqueItems:2,contains:2,minLength:2,maxLength:2,minItems:2,maxItems:2,minProperties:2,maxProperties:2,dependencies:2,propertyNames:2,additionalItems:2,additionalProperties:2,absolutePath:2};function filterMax(S,E){const k=S.reduce(((S,k)=>Math.max(S,E(k))),0);return S.filter((S=>E(S)===k))}function filterChildren(S){let E=S;E=filterMax(E,(S=>S.dataPath?S.dataPath.length:0));E=filterMax(E,(S=>j[S.keyword]||2));return E}function findAllChildren(S,E){let k=S.length-1;const predicate=E=>S[k].schemaPath.indexOf(E)!==0;while(k>-1&&!E.every(predicate)){if(S[k].keyword==="anyOf"||S[k].keyword==="oneOf"){const E=extractRefs(S[k]);const w=findAllChildren(S.slice(0,k),E.concat(S[k].schemaPath));k=w-1}else{k-=1}}return k+1}function extractRefs(S){const{schema:E}=S;if(!Array.isArray(E)){return[]}return E.map((({$ref:S})=>S)).filter((S=>S))}function groupChildrenByFirstChild(S){const E=[];let k=S.length-1;while(k>0){const w=S[k];if(w.keyword==="anyOf"||w.keyword==="oneOf"){const N=extractRefs(w);const j=findAllChildren(S.slice(0,k),N.concat(w.schemaPath));if(j!==k){E.push(Object.assign({},w,{children:S.slice(j,k)}));k=j}else{E.push(w)}}else{E.push(w)}k-=1}if(k===0){E.push(S[k])}return E.reverse()}function indent(S,E){return S.replace(/\n(?!$)/g,`\n${E}`)}function hasNotInSchema(S){return!!S.not}function findFirstTypedSchema(S){if(hasNotInSchema(S)){return findFirstTypedSchema(S.not)}return S}function canApplyNot(S){const E=findFirstTypedSchema(S);return likeNumber(E)||likeInteger(E)||likeString(E)||likeNull(E)||likeBoolean(E)}function isObject(S){return typeof S==="object"&&S!==null}function likeNumber(S){return S.type==="number"||typeof S.minimum!=="undefined"||typeof S.exclusiveMinimum!=="undefined"||typeof S.maximum!=="undefined"||typeof S.exclusiveMaximum!=="undefined"||typeof S.multipleOf!=="undefined"}function likeInteger(S){return S.type==="integer"||typeof S.minimum!=="undefined"||typeof S.exclusiveMinimum!=="undefined"||typeof S.maximum!=="undefined"||typeof S.exclusiveMaximum!=="undefined"||typeof S.multipleOf!=="undefined"}function likeString(S){return S.type==="string"||typeof S.minLength!=="undefined"||typeof S.maxLength!=="undefined"||typeof S.pattern!=="undefined"||typeof S.format!=="undefined"||typeof S.formatMinimum!=="undefined"||typeof S.formatMaximum!=="undefined"}function likeBoolean(S){return S.type==="boolean"}function likeArray(S){return S.type==="array"||typeof S.minItems==="number"||typeof S.maxItems==="number"||typeof S.uniqueItems!=="undefined"||typeof S.items!=="undefined"||typeof S.additionalItems!=="undefined"||typeof S.contains!=="undefined"}function likeObject(S){return S.type==="object"||typeof S.minProperties!=="undefined"||typeof S.maxProperties!=="undefined"||typeof S.required!=="undefined"||typeof S.properties!=="undefined"||typeof S.patternProperties!=="undefined"||typeof S.additionalProperties!=="undefined"||typeof S.dependencies!=="undefined"||typeof S.propertyNames!=="undefined"||typeof S.patternRequired!=="undefined"}function likeNull(S){return S.type==="null"}function getArticle(S){if(/^[aeiou]/i.test(S)){return"an"}return"a"}function getSchemaNonTypes(S){if(!S){return""}if(!S.type){if(likeNumber(S)||likeInteger(S)){return" | should be any non-number"}if(likeString(S)){return" | should be any non-string"}if(likeArray(S)){return" | should be any non-array"}if(likeObject(S)){return" | should be any non-object"}}return""}function formatHints(S){return S.length>0?`(${S.join(", ")})`:""}function getHints(S,E){if(likeNumber(S)||likeInteger(S)){return N(S,E)}else if(likeString(S)){return w(S,E)}return[]}class ValidationError extends Error{constructor(S,E,k={}){super();this.name="ValidationError";this.errors=S;this.schema=E;let w;let N;if(E.title&&(!k.name||!k.baseDataPath)){const S=E.title.match(/^(.+) (.+)$/);if(S){if(!k.name){[,w]=S}if(!k.baseDataPath){[,,N]=S}}}this.headerName=k.name||w||"Object";this.baseDataPath=k.baseDataPath||N||"configuration";this.postFormatter=k.postFormatter||null;const j=`Invalid ${this.baseDataPath} object. ${this.headerName} has been initialized using ${getArticle(this.baseDataPath)} ${this.baseDataPath} object that does not match the API schema.\n`;this.message=`${j}${this.formatValidationErrors(S)}`;Error.captureStackTrace(this,this.constructor)}getSchemaPart(S){const E=S.split("/");let k=this.schema;for(let S=1;S{if(!N){return this.formatSchema(E,w,k)}if(k.includes(E)){return"(recursive)"}return this.formatSchema(E,w,k.concat(S))};if(hasNotInSchema(S)&&!likeObject(S)){if(canApplyNot(S.not)){w=!E;return formatInnerSchema(S.not)}const k=!S.not.not;const N=E?"":"non ";w=!E;return k?N+formatInnerSchema(S.not):formatInnerSchema(S.not)}if(S.instanceof){const{instanceof:E}=S;const k=!Array.isArray(E)?[E]:E;return k.map((S=>S==="Function"?"function":S)).join(" | ")}if(S.enum){return S.enum.map((S=>JSON.stringify(S))).join(" | ")}if(typeof S.const!=="undefined"){return JSON.stringify(S.const)}if(S.oneOf){return S.oneOf.map((S=>formatInnerSchema(S,true))).join(" | ")}if(S.anyOf){return S.anyOf.map((S=>formatInnerSchema(S,true))).join(" | ")}if(S.allOf){return S.allOf.map((S=>formatInnerSchema(S,true))).join(" & ")}if(S.if){const{if:E,then:k,else:w}=S;return`${E?`if ${formatInnerSchema(E)}`:""}${k?` then ${formatInnerSchema(k)}`:""}${w?` else ${formatInnerSchema(w)}`:""}`}if(S.$ref){return formatInnerSchema(this.getSchemaPart(S.$ref),true)}if(likeNumber(S)||likeInteger(S)){const[k,...w]=getHints(S,E);const N=`${k}${w.length>0?` ${formatHints(w)}`:""}`;return E?N:w.length>0?`non-${k} | ${N}`:`non-${k}`}if(likeString(S)){const[k,...w]=getHints(S,E);const N=`${k}${w.length>0?` ${formatHints(w)}`:""}`;return E?N:N==="string"?"non-string":`non-string | ${N}`}if(likeBoolean(S)){return`${E?"":"non-"}boolean`}if(likeArray(S)){w=true;const E=[];if(typeof S.minItems==="number"){E.push(`should not have fewer than ${S.minItems} item${S.minItems>1?"s":""}`)}if(typeof S.maxItems==="number"){E.push(`should not have more than ${S.maxItems} item${S.maxItems>1?"s":""}`)}if(S.uniqueItems){E.push("should not have duplicate items")}const k=typeof S.additionalItems==="undefined"||Boolean(S.additionalItems);let N="";if(S.items){if(Array.isArray(S.items)&&S.items.length>0){N=`${S.items.map((S=>formatInnerSchema(S))).join(", ")}`;if(k){if(S.additionalItems&&isObject(S.additionalItems)&&Object.keys(S.additionalItems).length>0){E.push(`additional items should be ${formatInnerSchema(S.additionalItems)}`)}}}else if(S.items&&Object.keys(S.items).length>0){N=`${formatInnerSchema(S.items)}`}else{N="any"}}else{N="any"}if(S.contains&&Object.keys(S.contains).length>0){E.push(`should contains at least one ${this.formatSchema(S.contains)} item`)}return`[${N}${k?", ...":""}]${E.length>0?` (${E.join(", ")})`:""}`}if(likeObject(S)){w=true;const E=[];if(typeof S.minProperties==="number"){E.push(`should not have fewer than ${S.minProperties} ${S.minProperties>1?"properties":"property"}`)}if(typeof S.maxProperties==="number"){E.push(`should not have more than ${S.maxProperties} ${S.minProperties&&S.minProperties>1?"properties":"property"}`)}if(S.patternProperties&&Object.keys(S.patternProperties).length>0){const k=Object.keys(S.patternProperties);E.push(`additional property names should match pattern${k.length>1?"s":""} ${k.map((S=>JSON.stringify(S))).join(" | ")}`)}const k=S.properties?Object.keys(S.properties):[];const N=S.required?S.required:[];const j=[...new Set([].concat(N).concat(k))];const q=j.map((S=>{const E=N.includes(S);return`${S}${E?"":"?"}`})).concat(typeof S.additionalProperties==="undefined"||Boolean(S.additionalProperties)?S.additionalProperties&&isObject(S.additionalProperties)?[`: ${formatInnerSchema(S.additionalProperties)}`]:["…"]:[]).join(", ");const{dependencies:ee,propertyNames:te,patternRequired:ne}=S;if(ee){Object.keys(ee).forEach((S=>{const k=ee[S];if(Array.isArray(k)){E.push(`should have ${k.length>1?"properties":"property"} ${k.map((S=>`'${S}'`)).join(", ")} when property '${S}' is present`)}else{E.push(`should be valid according to the schema ${formatInnerSchema(k)} when property '${S}' is present`)}}))}if(te&&Object.keys(te).length>0){E.push(`each property name should match format ${JSON.stringify(S.propertyNames.format)}`)}if(ne&&ne.length>0){E.push(`should have property matching pattern ${ne.map((S=>JSON.stringify(S)))}`)}return`object {${q?` ${q} `:""}}${E.length>0?` (${E.join(", ")})`:""}`}if(likeNull(S)){return`${E?"":"non-"}null`}if(Array.isArray(S.type)){return`${S.type.join(" | ")}`}return JSON.stringify(S,null,2)}getSchemaPartText(S,E,k=false,w=true){if(!S){return""}if(Array.isArray(E)){for(let k=0;k ${S.description}`}return N}getSchemaPartDescription(S){if(!S){return""}while(S.$ref){S=this.getSchemaPart(S.$ref)}if(S.description){return`\n-> ${S.description}`}return""}formatValidationError(S){const{keyword:E,dataPath:k}=S;const w=`${this.baseDataPath}${k}`;switch(E){case"type":{const{parentSchema:E,params:k}=S;switch(k.type){case"number":return`${w} should be a ${this.getSchemaPartText(E,false,true)}`;case"integer":return`${w} should be a ${this.getSchemaPartText(E,false,true)}`;case"string":return`${w} should be a ${this.getSchemaPartText(E,false,true)}`;case"boolean":return`${w} should be a ${this.getSchemaPartText(E,false,true)}`;case"array":return`${w} should be an array:\n${this.getSchemaPartText(E)}`;case"object":return`${w} should be an object:\n${this.getSchemaPartText(E)}`;case"null":return`${w} should be a ${this.getSchemaPartText(E,false,true)}`;default:return`${w} should be:\n${this.getSchemaPartText(E)}`}}case"instanceof":{const{parentSchema:E}=S;return`${w} should be an instance of ${this.getSchemaPartText(E,false,true)}`}case"pattern":{const{params:E,parentSchema:k}=S;const{pattern:N}=E;return`${w} should match pattern ${JSON.stringify(N)}${getSchemaNonTypes(k)}.${this.getSchemaPartDescription(k)}`}case"format":{const{params:E,parentSchema:k}=S;const{format:N}=E;return`${w} should match format ${JSON.stringify(N)}${getSchemaNonTypes(k)}.${this.getSchemaPartDescription(k)}`}case"formatMinimum":case"formatMaximum":{const{params:E,parentSchema:k}=S;const{comparison:N,limit:j}=E;return`${w} should be ${N} ${JSON.stringify(j)}${getSchemaNonTypes(k)}.${this.getSchemaPartDescription(k)}`}case"minimum":case"maximum":case"exclusiveMinimum":case"exclusiveMaximum":{const{parentSchema:E,params:k}=S;const{comparison:N,limit:j}=k;const[,...q]=getHints(E,true);if(q.length===0){q.push(`should be ${N} ${j}`)}return`${w} ${q.join(" ")}${getSchemaNonTypes(E)}.${this.getSchemaPartDescription(E)}`}case"multipleOf":{const{params:E,parentSchema:k}=S;const{multipleOf:N}=E;return`${w} should be multiple of ${N}${getSchemaNonTypes(k)}.${this.getSchemaPartDescription(k)}`}case"patternRequired":{const{params:E,parentSchema:k}=S;const{missingPattern:N}=E;return`${w} should have property matching pattern ${JSON.stringify(N)}${getSchemaNonTypes(k)}.${this.getSchemaPartDescription(k)}`}case"minLength":{const{params:E,parentSchema:k}=S;const{limit:N}=E;if(N===1){return`${w} should be an non-empty string${getSchemaNonTypes(k)}.${this.getSchemaPartDescription(k)}`}const j=N-1;return`${w} should be longer than ${j} character${j>1?"s":""}${getSchemaNonTypes(k)}.${this.getSchemaPartDescription(k)}`}case"minItems":{const{params:E,parentSchema:k}=S;const{limit:N}=E;if(N===1){return`${w} should be an non-empty array${getSchemaNonTypes(k)}.${this.getSchemaPartDescription(k)}`}return`${w} should not have fewer than ${N} items${getSchemaNonTypes(k)}.${this.getSchemaPartDescription(k)}`}case"minProperties":{const{params:E,parentSchema:k}=S;const{limit:N}=E;if(N===1){return`${w} should be an non-empty object${getSchemaNonTypes(k)}.${this.getSchemaPartDescription(k)}`}return`${w} should not have fewer than ${N} properties${getSchemaNonTypes(k)}.${this.getSchemaPartDescription(k)}`}case"maxLength":{const{params:E,parentSchema:k}=S;const{limit:N}=E;const j=N+1;return`${w} should be shorter than ${j} character${j>1?"s":""}${getSchemaNonTypes(k)}.${this.getSchemaPartDescription(k)}`}case"maxItems":{const{params:E,parentSchema:k}=S;const{limit:N}=E;return`${w} should not have more than ${N} items${getSchemaNonTypes(k)}.${this.getSchemaPartDescription(k)}`}case"maxProperties":{const{params:E,parentSchema:k}=S;const{limit:N}=E;return`${w} should not have more than ${N} properties${getSchemaNonTypes(k)}.${this.getSchemaPartDescription(k)}`}case"uniqueItems":{const{params:E,parentSchema:k}=S;const{i:N}=E;return`${w} should not contain the item '${S.data[N]}' twice${getSchemaNonTypes(k)}.${this.getSchemaPartDescription(k)}`}case"additionalItems":{const{params:E,parentSchema:k}=S;const{limit:N}=E;return`${w} should not have more than ${N} items${getSchemaNonTypes(k)}. These items are valid:\n${this.getSchemaPartText(k)}`}case"contains":{const{parentSchema:E}=S;return`${w} should contains at least one ${this.getSchemaPartText(E,["contains"])} item${getSchemaNonTypes(E)}.`}case"required":{const{parentSchema:E,params:k}=S;const N=k.missingProperty.replace(/^\./,"");const j=E&&Boolean(E.properties&&E.properties[N]);return`${w} misses the property '${N}'${getSchemaNonTypes(E)}.${j?` Should be:\n${this.getSchemaPartText(E,["properties",N])}`:this.getSchemaPartDescription(E)}`}case"additionalProperties":{const{params:E,parentSchema:k}=S;const{additionalProperty:N}=E;return`${w} has an unknown property '${N}'${getSchemaNonTypes(k)}. These properties are valid:\n${this.getSchemaPartText(k)}`}case"dependencies":{const{params:E,parentSchema:k}=S;const{property:N,deps:j}=E;const q=j.split(",").map((S=>`'${S.trim()}'`)).join(", ");return`${w} should have properties ${q} when property '${N}' is present${getSchemaNonTypes(k)}.${this.getSchemaPartDescription(k)}`}case"propertyNames":{const{params:E,parentSchema:k,schema:N}=S;const{propertyName:j}=E;return`${w} property name '${j}' is invalid${getSchemaNonTypes(k)}. Property names should be match format ${JSON.stringify(N.format)}.${this.getSchemaPartDescription(k)}`}case"enum":{const{parentSchema:E}=S;if(E&&E.enum&&E.enum.length===1){return`${w} should be ${this.getSchemaPartText(E,false,true)}`}return`${w} should be one of these:\n${this.getSchemaPartText(E)}`}case"const":{const{parentSchema:E}=S;return`${w} should be equal to constant ${this.getSchemaPartText(E,false,true)}`}case"not":{const E=likeObject(S.parentSchema)?`\n${this.getSchemaPartText(S.parentSchema)}`:"";const k=this.getSchemaPartText(S.schema,false,false,false);if(canApplyNot(S.schema)){return`${w} should be any ${k}${E}.`}const{schema:N,parentSchema:j}=S;return`${w} should not be ${this.getSchemaPartText(N,false,true)}${j&&likeObject(j)?`\n${this.getSchemaPartText(j)}`:""}`}case"oneOf":case"anyOf":{const{parentSchema:E,children:k}=S;if(k&&k.length>0){if(S.schema.length===1){const S=k[k.length-1];const w=k.slice(0,k.length-1);return this.formatValidationError(Object.assign({},S,{children:w,parentSchema:Object.assign({},E,S.parentSchema)}))}let N=filterChildren(k);if(N.length===1){return this.formatValidationError(N[0])}N=groupChildrenByFirstChild(N);return`${w} should be one of these:\n${this.getSchemaPartText(E)}\nDetails:\n${N.map((S=>` * ${indent(this.formatValidationError(S)," ")}`)).join("\n")}`}return`${w} should be one of these:\n${this.getSchemaPartText(E)}`}case"if":{const{params:E,parentSchema:k}=S;const{failingKeyword:N}=E;return`${w} should match "${N}" schema:\n${this.getSchemaPartText(k,[N])}`}case"absolutePath":{const{message:E,parentSchema:k}=S;return`${w}: ${E}${this.getSchemaPartDescription(k)}`}default:{const{message:E,parentSchema:k}=S;const N=JSON.stringify(S,null,2);return`${w} ${E} (${N}).\n${this.getSchemaPartText(k,false)}`}}}formatValidationErrors(S){return S.map((S=>{let E=this.formatValidationError(S);if(this.postFormatter){E=this.postFormatter(E,S)}return` - ${indent(E," ")}`})).join("\n")}}var q=ValidationError;E.default=q},15235:(S,E,k)=>{"use strict";const{validate:w,ValidationError:N}=k(18110);S.exports={validate:w,ValidationError:N}},77102:(S,E)=>{"use strict";Object.defineProperty(E,"__esModule",{value:true});E.default=void 0;function errorMessage(S,E,k){return{dataPath:undefined,schemaPath:undefined,keyword:"absolutePath",params:{absolutePath:k},message:S,parentSchema:E}}function getErrorFor(S,E,k){const w=S?`The provided value ${JSON.stringify(k)} is not an absolute path!`:`A relative path is expected. However, the provided value ${JSON.stringify(k)} is an absolute path!`;return errorMessage(w,E,k)}function addAbsolutePathKeyword(S){S.addKeyword("absolutePath",{errors:true,type:"string",compile(S,E){const callback=k=>{let w=true;const N=k.includes("!");if(N){callback.errors=[errorMessage(`The provided value ${JSON.stringify(k)} contains exclamation mark (!) which is not allowed because it's reserved for loader syntax.`,E,k)];w=false}const j=S===/^(?:[A-Za-z]:(\\|\/)|\\\\|\/)/.test(k);if(!j){callback.errors=[getErrorFor(S,E,k)];w=false}return w};callback.errors=[];return callback}});return S}var k=addAbsolutePathKeyword;E.default=k},95855:S=>{"use strict";class Range{static getOperator(S,E){if(S==="left"){return E?">":">="}return E?"<":"<="}static formatRight(S,E,k){if(E===false){return Range.formatLeft(S,!E,!k)}return`should be ${Range.getOperator("right",k)} ${S}`}static formatLeft(S,E,k){if(E===false){return Range.formatRight(S,!E,!k)}return`should be ${Range.getOperator("left",k)} ${S}`}static formatRange(S,E,k,w,N){let j="should be";j+=` ${Range.getOperator(N?"left":"right",N?k:!k)} ${S} `;j+=N?"and":"or";j+=` ${Range.getOperator(N?"right":"left",N?w:!w)} ${E}`;return j}static getRangeValue(S,E){let k=E?Infinity:-Infinity;let w=-1;const N=E?([S])=>S<=k:([S])=>S>=k;for(let E=0;E-1){return S[w]}return[Infinity,true]}constructor(){this._left=[];this._right=[]}left(S,E=false){this._left.push([S,E])}right(S,E=false){this._right.push([S,E])}format(S=true){const[E,k]=Range.getRangeValue(this._left,S);const[w,N]=Range.getRangeValue(this._right,!S);if(!Number.isFinite(E)&&!Number.isFinite(w)){return""}const j=k?E+1:E;const q=N?w-1:w;if(j===q){return`should be ${S?"":"!"}= ${j}`}if(Number.isFinite(E)&&!Number.isFinite(w)){return Range.formatLeft(E,S,k)}if(!Number.isFinite(E)&&Number.isFinite(w)){return Range.formatRight(w,S,N)}return Range.formatRange(E,w,k,N,S)}}S.exports=Range},47961:(S,E,k)=>{"use strict";const w=k(95855);S.exports.stringHints=function stringHints(S,E){const k=[];let w="string";const N={...S};if(!E){const S=N.minLength;const E=N.formatMinimum;const k=N.formatExclusiveMaximum;N.minLength=N.maxLength;N.maxLength=S;N.formatMinimum=N.formatMaximum;N.formatMaximum=E;N.formatExclusiveMaximum=!N.formatExclusiveMinimum;N.formatExclusiveMinimum=!k}if(typeof N.minLength==="number"){if(N.minLength===1){w="non-empty string"}else{const S=Math.max(N.minLength-1,0);k.push(`should be longer than ${S} character${S>1?"s":""}`)}}if(typeof N.maxLength==="number"){if(N.maxLength===0){w="empty string"}else{const S=N.maxLength+1;k.push(`should be shorter than ${S} character${S>1?"s":""}`)}}if(N.pattern){k.push(`should${E?"":" not"} match pattern ${JSON.stringify(N.pattern)}`)}if(N.format){k.push(`should${E?"":" not"} match format ${JSON.stringify(N.format)}`)}if(N.formatMinimum){k.push(`should be ${N.formatExclusiveMinimum?">":">="} ${JSON.stringify(N.formatMinimum)}`)}if(N.formatMaximum){k.push(`should be ${N.formatExclusiveMaximum?"<":"<="} ${JSON.stringify(N.formatMaximum)}`)}return[w].concat(k)};S.exports.numberHints=function numberHints(S,E){const k=[S.type==="integer"?"integer":"number"];const N=new w;if(typeof S.minimum==="number"){N.left(S.minimum)}if(typeof S.exclusiveMinimum==="number"){N.left(S.exclusiveMinimum,true)}if(typeof S.maximum==="number"){N.right(S.maximum)}if(typeof S.exclusiveMaximum==="number"){N.right(S.exclusiveMaximum,true)}const j=N.format(E);if(j){k.push(j)}if(typeof S.multipleOf==="number"){k.push(`should${E?"":" not"} be multiple of ${S.multipleOf}`)}return k}},18110:(S,E,k)=>{"use strict";Object.defineProperty(E,"__esModule",{value:true});E.validate=validate;Object.defineProperty(E,"ValidationError",{enumerable:true,get:function(){return N.default}});var w=_interopRequireDefault(k(77102));var N=_interopRequireDefault(k(24672));function _interopRequireDefault(S){return S&&S.__esModule?S:{default:S}}const j=k(33866);const q=k(35525);const ee=new j({allErrors:true,verbose:true,$data:true});q(ee,["instanceof","formatMinimum","formatMaximum","patternRequired"]);(0,w.default)(ee);function validate(S,E,k){let w=[];if(Array.isArray(E)){w=Array.from(E,(E=>validateObject(S,E)));w.forEach(((S,E)=>{const applyPrefix=S=>{S.dataPath=`[${E}]${S.dataPath}`;if(S.children){S.children.forEach(applyPrefix)}};S.forEach(applyPrefix)}));w=w.reduce(((S,E)=>{S.push(...E);return S}),[])}else{w=validateObject(S,E)}if(w.length>0){throw new N.default(w,S,k)}}function validateObject(S,E){const k=ee.compile(S);const w=k(E);if(w)return[];return k.errors?filterErrors(k.errors):[]}function filterErrors(S){let E=[];for(const k of S){const{dataPath:S}=k;let w=[];E=E.filter((E=>{if(E.dataPath.includes(S)){if(E.children){w=w.concat(E.children.slice(0))}E.children=undefined;w.push(E);return false}return true}));if(w.length){k.children=w}E.push(k)}return E}},27746:(S,E,k)=>{"use strict";const w=k(1226).y;const N=k(1226).P;class CodeNode{constructor(S){this.generatedCode=S}clone(){return new CodeNode(this.generatedCode)}getGeneratedCode(){return this.generatedCode}getMappings(S){const E=w(this.generatedCode);const k=Array(E+1).join(";");if(E>0){S.unfinishedGeneratedLine=N(this.generatedCode);if(S.unfinishedGeneratedLine>0){return k+"A"}else{return k}}else{const E=S.unfinishedGeneratedLine;S.unfinishedGeneratedLine+=N(this.generatedCode);if(E===0&&S.unfinishedGeneratedLine>0){return"A"}else{return""}}}addGeneratedCode(S){this.generatedCode+=S}mapGeneratedCode(S){const E=S(this.generatedCode);return new CodeNode(E)}getNormalizedNodes(){return[this]}merge(S){if(S instanceof CodeNode){this.generatedCode+=S.generatedCode;return this}return false}}S.exports=CodeNode},30047:S=>{"use strict";class MappingsContext{constructor(){this.sourcesIndices=new Map;this.sourcesContent=new Map;this.hasSourceContent=false;this.currentOriginalLine=1;this.currentSource=0;this.unfinishedGeneratedLine=false}ensureSource(S,E){let k=this.sourcesIndices.get(S);if(typeof k==="number"){return k}k=this.sourcesIndices.size;this.sourcesIndices.set(S,k);this.sourcesContent.set(S,E);if(typeof E==="string")this.hasSourceContent=true;return k}getArrays(){const S=[];const E=[];for(const k of this.sourcesContent){S.push(k[0]);E.push(k[1])}return{sources:S,sourcesContent:E}}}S.exports=MappingsContext},86979:(S,E,k)=>{"use strict";const w=k(37788);const N=k(1226).y;const j=k(1226).P;const q=";AAAA";class SingleLineNode{constructor(S,E,k,w){this.generatedCode=S;this.originalSource=k;this.source=E;this.line=w||1;this._numberOfLines=N(this.generatedCode);this._endsWithNewLine=S[S.length-1]==="\n"}clone(){return new SingleLineNode(this.generatedCode,this.source,this.originalSource,this.line)}getGeneratedCode(){return this.generatedCode}getMappings(S){if(!this.generatedCode)return"";const E=this._numberOfLines;const k=S.ensureSource(this.source,this.originalSource);let N="A";if(S.unfinishedGeneratedLine)N=","+w.encode(S.unfinishedGeneratedLine);N+=w.encode(k-S.currentSource);N+=w.encode(this.line-S.currentOriginalLine);N+="A";S.currentSource=k;S.currentOriginalLine=this.line;const ee=S.unfinishedGeneratedLine=j(this.generatedCode);N+=Array(E).join(q);if(ee===0){N+=";"}else{if(E!==0)N+=q}return N}getNormalizedNodes(){return[this]}mapGeneratedCode(S){const E=S(this.generatedCode);return new SingleLineNode(E,this.source,this.originalSource,this.line)}merge(S){if(S instanceof SingleLineNode){return this.mergeSingleLineNode(S)}return false}mergeSingleLineNode(S){if(this.source===S.source&&this.originalSource===S.originalSource){if(this.line===S.line){this.generatedCode+=S.generatedCode;this._numberOfLines+=S._numberOfLines;this._endsWithNewLine=S._endsWithNewLine;return this}else if(this.line+1===S.line&&this._endsWithNewLine&&this._numberOfLines===1&&S._numberOfLines<=1){return new ee(this.generatedCode+S.generatedCode,this.source,this.originalSource,this.line)}}return false}}S.exports=SingleLineNode;const ee=k(49043)},53273:(S,E,k)=>{"use strict";const w=k(27746);const N=k(49043);const j=k(30047);const q=k(1226).y;class SourceListMap{constructor(S,E,k){if(Array.isArray(S)){this.children=S}else{this.children=[];if(S||E)this.add(S,E,k)}}add(S,E,k){if(typeof S==="string"){if(E){this.children.push(new N(S,E,k))}else if(this.children.length>0&&this.children[this.children.length-1]instanceof w){this.children[this.children.length-1].addGeneratedCode(S)}else{this.children.push(new w(S))}}else if(S.getMappings&&S.getGeneratedCode){this.children.push(S)}else if(S.children){S.children.forEach((function(S){this.children.push(S)}),this)}else{throw new Error("Invalid arguments to SourceListMap.protfotype.add: Expected string, Node or SourceListMap")}}preprend(S,E,k){if(typeof S==="string"){if(E){this.children.unshift(new N(S,E,k))}else if(this.children.length>0&&this.children[this.children.length-1].preprendGeneratedCode){this.children[this.children.length-1].preprendGeneratedCode(S)}else{this.children.unshift(new w(S))}}else if(S.getMappings&&S.getGeneratedCode){this.children.unshift(S)}else if(S.children){S.children.slice().reverse().forEach((function(S){this.children.unshift(S)}),this)}else{throw new Error("Invalid arguments to SourceListMap.protfotype.prerend: Expected string, Node or SourceListMap")}}mapGeneratedCode(S){const E=[];this.children.forEach((function(S){S.getNormalizedNodes().forEach((function(S){E.push(S)}))}));const k=[];E.forEach((function(E){E=E.mapGeneratedCode(S);if(k.length===0){k.push(E)}else{const S=k[k.length-1];const w=S.merge(E);if(w){k[k.length-1]=w}else{k.push(E)}}}));return new SourceListMap(k)}toString(){return this.children.map((function(S){return S.getGeneratedCode()})).join("")}toStringWithSourceMap(S){const E=new j;const k=this.children.map((function(S){return S.getGeneratedCode()})).join("");const w=this.children.map((function(S){return S.getMappings(E)})).join("");const N=E.getArrays();return{source:k,map:{version:3,file:S&&S.file,sources:N.sources,sourcesContent:E.hasSourceContent?N.sourcesContent:undefined,mappings:w}}}}S.exports=SourceListMap},49043:(S,E,k)=>{"use strict";const w=k(37788);const N=k(1226).y;const j=k(1226).P;const q=";AACA";class SourceNode{constructor(S,E,k,w){this.generatedCode=S;this.originalSource=k;this.source=E;this.startingLine=w||1;this._numberOfLines=N(this.generatedCode);this._endsWithNewLine=S[S.length-1]==="\n"}clone(){return new SourceNode(this.generatedCode,this.source,this.originalSource,this.startingLine)}getGeneratedCode(){return this.generatedCode}addGeneratedCode(S){this.generatedCode+=S;this._numberOfLines+=N(S);this._endsWithNewLine=S[S.length-1]==="\n"}getMappings(S){if(!this.generatedCode)return"";const E=this._numberOfLines;const k=S.ensureSource(this.source,this.originalSource);let N="A";if(S.unfinishedGeneratedLine)N=","+w.encode(S.unfinishedGeneratedLine);N+=w.encode(k-S.currentSource);N+=w.encode(this.startingLine-S.currentOriginalLine);N+="A";S.currentSource=k;S.currentOriginalLine=this.startingLine+E-1;const ee=S.unfinishedGeneratedLine=j(this.generatedCode);N+=Array(E).join(q);if(ee===0){N+=";"}else{if(E!==0){N+=q}S.currentOriginalLine++}return N}mapGeneratedCode(S){throw new Error("Cannot map generated code on a SourceMap. Normalize to SingleLineNode first.")}getNormalizedNodes(){var S=[];var E=this.startingLine;var k=this.generatedCode;var w=0;var N=k.length;while(w{var k={};var w={};"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/".split("").forEach((function(S,E){k[S]=E;w[E]=S}));var N={};N.encode=function base64_encode(S){if(S in w){return w[S]}throw new TypeError("Must be between 0 and 63: "+S)};N.decode=function base64_decode(S){if(S in k){return k[S]}throw new TypeError("Not a valid base 64 digit: "+S)};var j=5;var q=1<>1;return E?-k:k}E.encode=function base64VLQ_encode(S){var E="";var k;var w=toVLQSigned(S);do{k=wⅇw>>>=j;if(w>0){k|=te}E+=N.encode(k)}while(w>0);return E};E.decode=function base64VLQ_decode(S,E){var k=0;var w=S.length;var q=0;var ne=0;var ae,_e;do{if(k>=w){throw new Error("Expected more digits in base 64 VLQ value.")}_e=N.decode(S.charAt(k++));ae=!!(_e&te);_e&=ee;q=q+(_e<{"use strict";const w=k(37788);const N=k(49043);const j=k(27746);const q=k(53273);S.exports=function fromStringWithSourceMap(S,E){const k=E.sources;const ee=E.sourcesContent;const te=E.mappings.split(";");const ne=S.split("\n");const ae=[];let _e=null;let ve=1;let Ee=0;let Te;function addCode(S){if(_e&&_e instanceof j){_e.addGeneratedCode(S)}else if(_e&&_e instanceof N&&!S.trim()){_e.addGeneratedCode(S);Te++}else{_e=new j(S);ae.push(_e)}}function addSource(S,E,k,w){if(_e&&_e instanceof N&&_e.source===E&&Te===w){_e.addGeneratedCode(S);Te++}else{_e=new N(S,E,k,w);Te=w+1;ae.push(_e)}}te.forEach((function(S,E){let k=ne[E];if(typeof k==="undefined")return;if(E!==ne.length-1)k+="\n";if(!S)return addCode(k);S={value:0,rest:S};let w=false;while(S.rest)w=processMapping(S,k,w)||w;if(!w)addCode(k)}));if(te.length{"use strict";E.y=function getNumberOfLines(S){let E=-1;let k=-1;do{E++;k=S.indexOf("\n",k+1)}while(k>=0);return E};E.P=function getUnfinishedLine(S){const E=S.lastIndexOf("\n");if(E===-1)return S.length;else return S.length-E-1}},6900:(S,E,k)=>{E.SourceListMap=k(53273);E.SourceNode=k(49043);E.SingleLineNode=k(86979);E.CodeNode=k(27746);E.MappingsContext=k(30047);E.fromStringWithSourceMap=k(88494)},22284:(S,E,k)=>{S=k.nmd(S);var w=k(99596).SourceMapConsumer;var N=k(85622);var j;try{j=k(35747);if(!j.existsSync||!j.readFileSync){j=null}}catch(S){}var q=k(86650);function dynamicRequire(S,E){return S.require(E)}var ee=false;var te=false;var ne=false;var ae="auto";var _e={};var ve={};var Ee=/^data:application\/json[^,]+base64,/;var Te=[];var Ce=[];function isInBrowser(){if(ae==="browser")return true;if(ae==="node")return false;return typeof window!=="undefined"&&typeof XMLHttpRequest==="function"&&!(window.require&&window.module&&window.process&&window.process.type==="renderer")}function hasGlobalProcessEventEmitter(){return typeof process==="object"&&process!==null&&typeof process.on==="function"}function handlerExec(S){return function(E){for(var k=0;k"}var k=this.getLineNumber();if(k!=null){E+=":"+k;var w=this.getColumnNumber();if(w){E+=":"+w}}}var N="";var j=this.getFunctionName();var q=true;var ee=this.isConstructor();var te=!(this.isToplevel()||ee);if(te){var ne=this.getTypeName();if(ne==="[object Object]"){ne="null"}var ae=this.getMethodName();if(j){if(ne&&j.indexOf(ne)!=0){N+=ne+"."}N+=j;if(ae&&j.indexOf("."+ae)!=j.length-ae.length-1){N+=" [as "+ae+"]"}}else{N+=ne+"."+(ae||"")}}else if(ee){N+="new "+(j||"")}else if(j){N+=j}else{N+=E;q=false}if(q){N+=" ("+E+")"}return N}function cloneCallSite(S){var E={};Object.getOwnPropertyNames(Object.getPrototypeOf(S)).forEach((function(k){E[k]=/^(?:is|get)/.test(k)?function(){return S[k].call(S)}:S[k]}));E.toString=CallSiteToString;return E}function wrapCallSite(S,E){if(E===undefined){E={nextPosition:null,curPosition:null}}if(S.isNative()){E.curPosition=null;return S}var k=S.getFileName()||S.getScriptNameOrSourceURL();if(k){var w=S.getLineNumber();var N=S.getColumnNumber()-1;var j=/^v(10\.1[6-9]|10\.[2-9][0-9]|10\.[0-9]{3,}|1[2-9]\d*|[2-9]\d|\d{3,}|11\.11)/;var q=j.test(process.version)?0:62;if(w===1&&N>q&&!isInBrowser()&&!S.isEval()){N-=q}var ee=mapSourcePosition({source:k,line:w,column:N});E.curPosition=ee;S=cloneCallSite(S);var te=S.getFunctionName;S.getFunctionName=function(){if(E.nextPosition==null){return te()}return E.nextPosition.name||te()};S.getFileName=function(){return ee.source};S.getLineNumber=function(){return ee.line};S.getColumnNumber=function(){return ee.column+1};S.getScriptNameOrSourceURL=function(){return ee.source};return S}var ne=S.isEval()&&S.getEvalOrigin();if(ne){ne=mapEvalOrigin(ne);S=cloneCallSite(S);S.getEvalOrigin=function(){return ne};return S}return S}function prepareStackTrace(S,E){if(ne){_e={};ve={}}var k=S.name||"Error";var w=S.message||"";var N=k+": "+w;var j={nextPosition:null,curPosition:null};var q=[];for(var ee=E.length-1;ee>=0;ee--){q.push("\n at "+wrapCallSite(E[ee],j));j.nextPosition=j.curPosition}j.curPosition=j.nextPosition=null;return N+q.reverse().join("")}function getErrorSource(S){var E=/\n at [^(]+ \((.*):(\d+):(\d+)\)/.exec(S.stack);if(E){var k=E[1];var w=+E[2];var N=+E[3];var q=_e[k];if(!q&&j&&j.existsSync(k)){try{q=j.readFileSync(k,"utf8")}catch(S){q=""}}if(q){var ee=q.split(/(?:\r\n|\r|\n)/)[w-1];if(ee){return k+":"+w+"\n"+ee+"\n"+new Array(N).join(" ")+"^"}}}return null}function printErrorAndExit(S){var E=getErrorSource(S);if(process.stderr._handle&&process.stderr._handle.setBlocking){process.stderr._handle.setBlocking(true)}if(E){console.error();console.error(E)}console.error(S.stack);process.exit(1)}function shimEmitUncaughtException(){var S=process.emit;process.emit=function(E){if(E==="uncaughtException"){var k=arguments[1]&&arguments[1].stack;var w=this.listeners(E).length>0;if(k&&!w){return printErrorAndExit(arguments[1])}}return S.apply(this,arguments)}}var Ie=Te.slice(0);var Fe=Ce.slice(0);E.wrapCallSite=wrapCallSite;E.getErrorSource=getErrorSource;E.mapSourcePosition=mapSourcePosition;E.retrieveSourceMap=Ne;E.install=function(E){E=E||{};if(E.environment){ae=E.environment;if(["node","browser","auto"].indexOf(ae)===-1){throw new Error("environment "+ae+" was unknown. Available options are {auto, browser, node}")}}if(E.retrieveFile){if(E.overrideRetrieveFile){Te.length=0}Te.unshift(E.retrieveFile)}if(E.retrieveSourceMap){if(E.overrideRetrieveSourceMap){Ce.length=0}Ce.unshift(E.retrieveSourceMap)}if(E.hookRequire&&!isInBrowser()){var k=dynamicRequire(S,"module");var w=k.prototype._compile;if(!w.__sourceMapSupport){k.prototype._compile=function(S,E){_e[E]=S;ve[E]=undefined;return w.call(this,S,E)};k.prototype._compile.__sourceMapSupport=true}}if(!ne){ne="emptyCacheBetweenOperations"in E?E.emptyCacheBetweenOperations:false}if(!ee){ee=true;Error.prepareStackTrace=prepareStackTrace}if(!te){var N="handleUncaughtExceptions"in E?E.handleUncaughtExceptions:true;try{var j=dynamicRequire(S,"worker_threads");if(j.isMainThread===false){N=false}}catch(S){}if(N&&hasGlobalProcessEventEmitter()){te=true;shimEmitUncaughtException()}}};E.resetRetrieveHandlers=function(){Te.length=0;Ce.length=0;Te=Ie.slice(0);Ce=Fe.slice(0);Ne=handlerExec(Ce);we=handlerExec(Te)}},26837:(S,E,k)=>{var w=k(31983);var N=Object.prototype.hasOwnProperty;var j=typeof Map!=="undefined";function ArraySet(){this._array=[];this._set=j?new Map:Object.create(null)}ArraySet.fromArray=function ArraySet_fromArray(S,E){var k=new ArraySet;for(var w=0,N=S.length;w=0){return E}}else{var k=w.toSetString(S);if(N.call(this._set,k)){return this._set[k]}}throw new Error('"'+S+'" is not in the set.')};ArraySet.prototype.at=function ArraySet_at(S){if(S>=0&&S{var w=k(96537);var N=5;var j=1<>1;return E?-k:k}E.encode=function base64VLQ_encode(S){var E="";var k;var j=toVLQSigned(S);do{k=j&q;j>>>=N;if(j>0){k|=ee}E+=w.encode(k)}while(j>0);return E};E.decode=function base64VLQ_decode(S,E,k){var j=S.length;var te=0;var ne=0;var ae,_e;do{if(E>=j){throw new Error("Expected more digits in base 64 VLQ value.")}_e=w.decode(S.charCodeAt(E++));if(_e===-1){throw new Error("Invalid base64 digit: "+S.charAt(E-1))}ae=!!(_e&ee);_e&=q;te=te+(_e<{var k="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/".split("");E.encode=function(S){if(0<=S&&S{E.GREATEST_LOWER_BOUND=1;E.LEAST_UPPER_BOUND=2;function recursiveSearch(S,k,w,N,j,q){var ee=Math.floor((k-S)/2)+S;var te=j(w,N[ee],true);if(te===0){return ee}else if(te>0){if(k-ee>1){return recursiveSearch(ee,k,w,N,j,q)}if(q==E.LEAST_UPPER_BOUND){return k1){return recursiveSearch(S,ee,w,N,j,q)}if(q==E.LEAST_UPPER_BOUND){return ee}else{return S<0?-1:S}}}E.search=function search(S,k,w,N){if(k.length===0){return-1}var j=recursiveSearch(-1,k.length,S,k,w,N||E.GREATEST_LOWER_BOUND);if(j<0){return-1}while(j-1>=0){if(w(k[j],k[j-1],true)!==0){break}--j}return j}},91740:(S,E,k)=>{var w=k(31983);function generatedPositionAfter(S,E){var k=S.generatedLine;var N=E.generatedLine;var j=S.generatedColumn;var q=E.generatedColumn;return N>k||N==k&&q>=j||w.compareByGeneratedPositionsInflated(S,E)<=0}function MappingList(){this._array=[];this._sorted=true;this._last={generatedLine:-1,generatedColumn:0}}MappingList.prototype.unsortedForEach=function MappingList_forEach(S,E){this._array.forEach(S,E)};MappingList.prototype.add=function MappingList_add(S){if(generatedPositionAfter(this._last,S)){this._last=S;this._array.push(S)}else{this._sorted=false;this._array.push(S)}};MappingList.prototype.toArray=function MappingList_toArray(){if(!this._sorted){this._array.sort(w.compareByGeneratedPositionsInflated);this._sorted=true}return this._array};E.H=MappingList},68226:(S,E)=>{function swap(S,E,k){var w=S[E];S[E]=S[k];S[k]=w}function randomIntInRange(S,E){return Math.round(S+Math.random()*(E-S))}function doQuickSort(S,E,k,w){if(k{var w;var N=k(31983);var j=k(53164);var q=k(26837).I;var ee=k(4215);var te=k(68226).U;function SourceMapConsumer(S,E){var k=S;if(typeof S==="string"){k=N.parseSourceMapInput(S)}return k.sections!=null?new IndexedSourceMapConsumer(k,E):new BasicSourceMapConsumer(k,E)}SourceMapConsumer.fromSourceMap=function(S,E){return BasicSourceMapConsumer.fromSourceMap(S,E)};SourceMapConsumer.prototype._version=3;SourceMapConsumer.prototype.__generatedMappings=null;Object.defineProperty(SourceMapConsumer.prototype,"_generatedMappings",{configurable:true,enumerable:true,get:function(){if(!this.__generatedMappings){this._parseMappings(this._mappings,this.sourceRoot)}return this.__generatedMappings}});SourceMapConsumer.prototype.__originalMappings=null;Object.defineProperty(SourceMapConsumer.prototype,"_originalMappings",{configurable:true,enumerable:true,get:function(){if(!this.__originalMappings){this._parseMappings(this._mappings,this.sourceRoot)}return this.__originalMappings}});SourceMapConsumer.prototype._charIsMappingSeparator=function SourceMapConsumer_charIsMappingSeparator(S,E){var k=S.charAt(E);return k===";"||k===","};SourceMapConsumer.prototype._parseMappings=function SourceMapConsumer_parseMappings(S,E){throw new Error("Subclasses must implement _parseMappings")};SourceMapConsumer.GENERATED_ORDER=1;SourceMapConsumer.ORIGINAL_ORDER=2;SourceMapConsumer.GREATEST_LOWER_BOUND=1;SourceMapConsumer.LEAST_UPPER_BOUND=2;SourceMapConsumer.prototype.eachMapping=function SourceMapConsumer_eachMapping(S,E,k){var w=E||null;var j=k||SourceMapConsumer.GENERATED_ORDER;var q;switch(j){case SourceMapConsumer.GENERATED_ORDER:q=this._generatedMappings;break;case SourceMapConsumer.ORIGINAL_ORDER:q=this._originalMappings;break;default:throw new Error("Unknown order of iteration.")}var ee=this.sourceRoot;q.map((function(S){var E=S.source===null?null:this._sources.at(S.source);E=N.computeSourceURL(ee,E,this._sourceMapURL);return{source:E,generatedLine:S.generatedLine,generatedColumn:S.generatedColumn,originalLine:S.originalLine,originalColumn:S.originalColumn,name:S.name===null?null:this._names.at(S.name)}}),this).forEach(S,w)};SourceMapConsumer.prototype.allGeneratedPositionsFor=function SourceMapConsumer_allGeneratedPositionsFor(S){var E=N.getArg(S,"line");var k={source:N.getArg(S,"source"),originalLine:E,originalColumn:N.getArg(S,"column",0)};k.source=this._findSourceIndex(k.source);if(k.source<0){return[]}var w=[];var q=this._findMapping(k,this._originalMappings,"originalLine","originalColumn",N.compareByOriginalPositions,j.LEAST_UPPER_BOUND);if(q>=0){var ee=this._originalMappings[q];if(S.column===undefined){var te=ee.originalLine;while(ee&&ee.originalLine===te){w.push({line:N.getArg(ee,"generatedLine",null),column:N.getArg(ee,"generatedColumn",null),lastColumn:N.getArg(ee,"lastGeneratedColumn",null)});ee=this._originalMappings[++q]}}else{var ne=ee.originalColumn;while(ee&&ee.originalLine===E&&ee.originalColumn==ne){w.push({line:N.getArg(ee,"generatedLine",null),column:N.getArg(ee,"generatedColumn",null),lastColumn:N.getArg(ee,"lastGeneratedColumn",null)});ee=this._originalMappings[++q]}}}return w};E.SourceMapConsumer=SourceMapConsumer;function BasicSourceMapConsumer(S,E){var k=S;if(typeof S==="string"){k=N.parseSourceMapInput(S)}var w=N.getArg(k,"version");var j=N.getArg(k,"sources");var ee=N.getArg(k,"names",[]);var te=N.getArg(k,"sourceRoot",null);var ne=N.getArg(k,"sourcesContent",null);var ae=N.getArg(k,"mappings");var _e=N.getArg(k,"file",null);if(w!=this._version){throw new Error("Unsupported version: "+w)}if(te){te=N.normalize(te)}j=j.map(String).map(N.normalize).map((function(S){return te&&N.isAbsolute(te)&&N.isAbsolute(S)?N.relative(te,S):S}));this._names=q.fromArray(ee.map(String),true);this._sources=q.fromArray(j,true);this._absoluteSources=this._sources.toArray().map((function(S){return N.computeSourceURL(te,S,E)}));this.sourceRoot=te;this.sourcesContent=ne;this._mappings=ae;this._sourceMapURL=E;this.file=_e}BasicSourceMapConsumer.prototype=Object.create(SourceMapConsumer.prototype);BasicSourceMapConsumer.prototype.consumer=SourceMapConsumer;BasicSourceMapConsumer.prototype._findSourceIndex=function(S){var E=S;if(this.sourceRoot!=null){E=N.relative(this.sourceRoot,E)}if(this._sources.has(E)){return this._sources.indexOf(E)}var k;for(k=0;k1){Ne.source=ne+Fe[1];ne+=Fe[1];Ne.originalLine=j+Fe[2];j=Ne.originalLine;Ne.originalLine+=1;Ne.originalColumn=q+Fe[3];q=Ne.originalColumn;if(Fe.length>4){Ne.name=ae+Fe[4];ae+=Fe[4]}}we.push(Ne);if(typeof Ne.originalLine==="number"){Ce.push(Ne)}}}te(we,N.compareByGeneratedPositionsDeflated);this.__generatedMappings=we;te(Ce,N.compareByOriginalPositions);this.__originalMappings=Ce};BasicSourceMapConsumer.prototype._findMapping=function SourceMapConsumer_findMapping(S,E,k,w,N,q){if(S[k]<=0){throw new TypeError("Line must be greater than or equal to 1, got "+S[k])}if(S[w]<0){throw new TypeError("Column must be greater than or equal to 0, got "+S[w])}return j.search(S,E,N,q)};BasicSourceMapConsumer.prototype.computeColumnSpans=function SourceMapConsumer_computeColumnSpans(){for(var S=0;S=0){var w=this._generatedMappings[k];if(w.generatedLine===E.generatedLine){var j=N.getArg(w,"source",null);if(j!==null){j=this._sources.at(j);j=N.computeSourceURL(this.sourceRoot,j,this._sourceMapURL)}var q=N.getArg(w,"name",null);if(q!==null){q=this._names.at(q)}return{source:j,line:N.getArg(w,"originalLine",null),column:N.getArg(w,"originalColumn",null),name:q}}}return{source:null,line:null,column:null,name:null}};BasicSourceMapConsumer.prototype.hasContentsOfAllSources=function BasicSourceMapConsumer_hasContentsOfAllSources(){if(!this.sourcesContent){return false}return this.sourcesContent.length>=this._sources.size()&&!this.sourcesContent.some((function(S){return S==null}))};BasicSourceMapConsumer.prototype.sourceContentFor=function SourceMapConsumer_sourceContentFor(S,E){if(!this.sourcesContent){return null}var k=this._findSourceIndex(S);if(k>=0){return this.sourcesContent[k]}var w=S;if(this.sourceRoot!=null){w=N.relative(this.sourceRoot,w)}var j;if(this.sourceRoot!=null&&(j=N.urlParse(this.sourceRoot))){var q=w.replace(/^file:\/\//,"");if(j.scheme=="file"&&this._sources.has(q)){return this.sourcesContent[this._sources.indexOf(q)]}if((!j.path||j.path=="/")&&this._sources.has("/"+w)){return this.sourcesContent[this._sources.indexOf("/"+w)]}}if(E){return null}else{throw new Error('"'+w+'" is not in the SourceMap.')}};BasicSourceMapConsumer.prototype.generatedPositionFor=function SourceMapConsumer_generatedPositionFor(S){var E=N.getArg(S,"source");E=this._findSourceIndex(E);if(E<0){return{line:null,column:null,lastColumn:null}}var k={source:E,originalLine:N.getArg(S,"line"),originalColumn:N.getArg(S,"column")};var w=this._findMapping(k,this._originalMappings,"originalLine","originalColumn",N.compareByOriginalPositions,N.getArg(S,"bias",SourceMapConsumer.GREATEST_LOWER_BOUND));if(w>=0){var j=this._originalMappings[w];if(j.source===k.source){return{line:N.getArg(j,"generatedLine",null),column:N.getArg(j,"generatedColumn",null),lastColumn:N.getArg(j,"lastGeneratedColumn",null)}}}return{line:null,column:null,lastColumn:null}};w=BasicSourceMapConsumer;function IndexedSourceMapConsumer(S,E){var k=S;if(typeof S==="string"){k=N.parseSourceMapInput(S)}var w=N.getArg(k,"version");var j=N.getArg(k,"sections");if(w!=this._version){throw new Error("Unsupported version: "+w)}this._sources=new q;this._names=new q;var ee={line:-1,column:0};this._sections=j.map((function(S){if(S.url){throw new Error("Support for url field in sections not implemented.")}var k=N.getArg(S,"offset");var w=N.getArg(k,"line");var j=N.getArg(k,"column");if(w{var w=k(4215);var N=k(31983);var j=k(26837).I;var q=k(91740).H;function SourceMapGenerator(S){if(!S){S={}}this._file=N.getArg(S,"file",null);this._sourceRoot=N.getArg(S,"sourceRoot",null);this._skipValidation=N.getArg(S,"skipValidation",false);this._sources=new j;this._names=new j;this._mappings=new q;this._sourcesContents=null}SourceMapGenerator.prototype._version=3;SourceMapGenerator.fromSourceMap=function SourceMapGenerator_fromSourceMap(S){var E=S.sourceRoot;var k=new SourceMapGenerator({file:S.file,sourceRoot:E});S.eachMapping((function(S){var w={generated:{line:S.generatedLine,column:S.generatedColumn}};if(S.source!=null){w.source=S.source;if(E!=null){w.source=N.relative(E,w.source)}w.original={line:S.originalLine,column:S.originalColumn};if(S.name!=null){w.name=S.name}}k.addMapping(w)}));S.sources.forEach((function(w){var j=w;if(E!==null){j=N.relative(E,w)}if(!k._sources.has(j)){k._sources.add(j)}var q=S.sourceContentFor(w);if(q!=null){k.setSourceContent(w,q)}}));return k};SourceMapGenerator.prototype.addMapping=function SourceMapGenerator_addMapping(S){var E=N.getArg(S,"generated");var k=N.getArg(S,"original",null);var w=N.getArg(S,"source",null);var j=N.getArg(S,"name",null);if(!this._skipValidation){this._validateMapping(E,k,w,j)}if(w!=null){w=String(w);if(!this._sources.has(w)){this._sources.add(w)}}if(j!=null){j=String(j);if(!this._names.has(j)){this._names.add(j)}}this._mappings.add({generatedLine:E.line,generatedColumn:E.column,originalLine:k!=null&&k.line,originalColumn:k!=null&&k.column,source:w,name:j})};SourceMapGenerator.prototype.setSourceContent=function SourceMapGenerator_setSourceContent(S,E){var k=S;if(this._sourceRoot!=null){k=N.relative(this._sourceRoot,k)}if(E!=null){if(!this._sourcesContents){this._sourcesContents=Object.create(null)}this._sourcesContents[N.toSetString(k)]=E}else if(this._sourcesContents){delete this._sourcesContents[N.toSetString(k)];if(Object.keys(this._sourcesContents).length===0){this._sourcesContents=null}}};SourceMapGenerator.prototype.applySourceMap=function SourceMapGenerator_applySourceMap(S,E,k){var w=E;if(E==null){if(S.file==null){throw new Error("SourceMapGenerator.prototype.applySourceMap requires either an explicit source file, "+'or the source map\'s "file" property. Both were omitted.')}w=S.file}var q=this._sourceRoot;if(q!=null){w=N.relative(q,w)}var ee=new j;var te=new j;this._mappings.unsortedForEach((function(E){if(E.source===w&&E.originalLine!=null){var j=S.originalPositionFor({line:E.originalLine,column:E.originalColumn});if(j.source!=null){E.source=j.source;if(k!=null){E.source=N.join(k,E.source)}if(q!=null){E.source=N.relative(q,E.source)}E.originalLine=j.line;E.originalColumn=j.column;if(j.name!=null){E.name=j.name}}}var ne=E.source;if(ne!=null&&!ee.has(ne)){ee.add(ne)}var ae=E.name;if(ae!=null&&!te.has(ae)){te.add(ae)}}),this);this._sources=ee;this._names=te;S.sources.forEach((function(E){var w=S.sourceContentFor(E);if(w!=null){if(k!=null){E=N.join(k,E)}if(q!=null){E=N.relative(q,E)}this.setSourceContent(E,w)}}),this)};SourceMapGenerator.prototype._validateMapping=function SourceMapGenerator_validateMapping(S,E,k,w){if(E&&typeof E.line!=="number"&&typeof E.column!=="number"){throw new Error("original.line and original.column are not numbers -- you probably meant to omit "+"the original mapping entirely and only map the generated position. If so, pass "+"null for the original mapping instead of an object with empty or null values.")}if(S&&"line"in S&&"column"in S&&S.line>0&&S.column>=0&&!E&&!k&&!w){return}else if(S&&"line"in S&&"column"in S&&E&&"line"in E&&"column"in E&&S.line>0&&S.column>=0&&E.line>0&&E.column>=0&&k){return}else{throw new Error("Invalid mapping: "+JSON.stringify({generated:S,source:k,original:E,name:w}))}};SourceMapGenerator.prototype._serializeMappings=function SourceMapGenerator_serializeMappings(){var S=0;var E=1;var k=0;var j=0;var q=0;var ee=0;var te="";var ne;var ae;var _e;var ve;var Ee=this._mappings.toArray();for(var Te=0,Ce=Ee.length;Te0){if(!N.compareByGeneratedPositionsInflated(ae,Ee[Te-1])){continue}ne+=","}}ne+=w.encode(ae.generatedColumn-S);S=ae.generatedColumn;if(ae.source!=null){ve=this._sources.indexOf(ae.source);ne+=w.encode(ve-ee);ee=ve;ne+=w.encode(ae.originalLine-1-j);j=ae.originalLine-1;ne+=w.encode(ae.originalColumn-k);k=ae.originalColumn;if(ae.name!=null){_e=this._names.indexOf(ae.name);ne+=w.encode(_e-q);q=_e}}te+=ne}return te};SourceMapGenerator.prototype._generateSourcesContent=function SourceMapGenerator_generateSourcesContent(S,E){return S.map((function(S){if(!this._sourcesContents){return null}if(E!=null){S=N.relative(E,S)}var k=N.toSetString(S);return Object.prototype.hasOwnProperty.call(this._sourcesContents,k)?this._sourcesContents[k]:null}),this)};SourceMapGenerator.prototype.toJSON=function SourceMapGenerator_toJSON(){var S={version:this._version,sources:this._sources.toArray(),names:this._names.toArray(),mappings:this._serializeMappings()};if(this._file!=null){S.file=this._file}if(this._sourceRoot!=null){S.sourceRoot=this._sourceRoot}if(this._sourcesContents){S.sourcesContent=this._generateSourcesContent(S.sources,S.sourceRoot)}return S};SourceMapGenerator.prototype.toString=function SourceMapGenerator_toString(){return JSON.stringify(this.toJSON())};E.SourceMapGenerator=SourceMapGenerator},9990:(S,E,k)=>{var w=k(11341).SourceMapGenerator;var N=k(31983);var j=/(\r?\n)/;var q=10;var ee="$$$isSourceNode$$$";function SourceNode(S,E,k,w,N){this.children=[];this.sourceContents={};this.line=S==null?null:S;this.column=E==null?null:E;this.source=k==null?null:k;this.name=N==null?null:N;this[ee]=true;if(w!=null)this.add(w)}SourceNode.fromStringWithSourceMap=function SourceNode_fromStringWithSourceMap(S,E,k){var w=new SourceNode;var q=S.split(j);var ee=0;var shiftNextLine=function(){var S=getNextLine();var E=getNextLine()||"";return S+E;function getNextLine(){return ee=0;E--){this.prepend(S[E])}}else if(S[ee]||typeof S==="string"){this.children.unshift(S)}else{throw new TypeError("Expected a SourceNode, string, or an array of SourceNodes and strings. Got "+S)}return this};SourceNode.prototype.walk=function SourceNode_walk(S){var E;for(var k=0,w=this.children.length;k0){E=[];for(k=0;k{function getArg(S,E,k){if(E in S){return S[E]}else if(arguments.length===3){return k}else{throw new Error('"'+E+'" is a required argument.')}}E.getArg=getArg;var k=/^(?:([\w+\-.]+):)?\/\/(?:(\w+:\w+)@)?([\w.-]*)(?::(\d+))?(.*)$/;var w=/^data:.+\,.+$/;function urlParse(S){var E=S.match(k);if(!E){return null}return{scheme:E[1],auth:E[2],host:E[3],port:E[4],path:E[5]}}E.urlParse=urlParse;function urlGenerate(S){var E="";if(S.scheme){E+=S.scheme+":"}E+="//";if(S.auth){E+=S.auth+"@"}if(S.host){E+=S.host}if(S.port){E+=":"+S.port}if(S.path){E+=S.path}return E}E.urlGenerate=urlGenerate;function normalize(S){var k=S;var w=urlParse(S);if(w){if(!w.path){return S}k=w.path}var N=E.isAbsolute(k);var j=k.split(/\/+/);for(var q,ee=0,te=j.length-1;te>=0;te--){q=j[te];if(q==="."){j.splice(te,1)}else if(q===".."){ee++}else if(ee>0){if(q===""){j.splice(te+1,ee);ee=0}else{j.splice(te,2);ee--}}}k=j.join("/");if(k===""){k=N?"/":"."}if(w){w.path=k;return urlGenerate(w)}return k}E.normalize=normalize;function join(S,E){if(S===""){S="."}if(E===""){E="."}var k=urlParse(E);var N=urlParse(S);if(N){S=N.path||"/"}if(k&&!k.scheme){if(N){k.scheme=N.scheme}return urlGenerate(k)}if(k||E.match(w)){return E}if(N&&!N.host&&!N.path){N.host=E;return urlGenerate(N)}var j=E.charAt(0)==="/"?E:normalize(S.replace(/\/+$/,"")+"/"+E);if(N){N.path=j;return urlGenerate(N)}return j}E.join=join;E.isAbsolute=function(S){return S.charAt(0)==="/"||k.test(S)};function relative(S,E){if(S===""){S="."}S=S.replace(/\/$/,"");var k=0;while(E.indexOf(S+"/")!==0){var w=S.lastIndexOf("/");if(w<0){return E}S=S.slice(0,w);if(S.match(/^([^\/]+:\/)?\/*$/)){return E}++k}return Array(k+1).join("../")+E.substr(S.length+1)}E.relative=relative;var N=function(){var S=Object.create(null);return!("__proto__"in S)}();function identity(S){return S}function toSetString(S){if(isProtoString(S)){return"$"+S}return S}E.toSetString=N?identity:toSetString;function fromSetString(S){if(isProtoString(S)){return S.slice(1)}return S}E.fromSetString=N?identity:fromSetString;function isProtoString(S){if(!S){return false}var E=S.length;if(E<9){return false}if(S.charCodeAt(E-1)!==95||S.charCodeAt(E-2)!==95||S.charCodeAt(E-3)!==111||S.charCodeAt(E-4)!==116||S.charCodeAt(E-5)!==111||S.charCodeAt(E-6)!==114||S.charCodeAt(E-7)!==112||S.charCodeAt(E-8)!==95||S.charCodeAt(E-9)!==95){return false}for(var k=E-10;k>=0;k--){if(S.charCodeAt(k)!==36){return false}}return true}function compareByOriginalPositions(S,E,k){var w=strcmp(S.source,E.source);if(w!==0){return w}w=S.originalLine-E.originalLine;if(w!==0){return w}w=S.originalColumn-E.originalColumn;if(w!==0||k){return w}w=S.generatedColumn-E.generatedColumn;if(w!==0){return w}w=S.generatedLine-E.generatedLine;if(w!==0){return w}return strcmp(S.name,E.name)}E.compareByOriginalPositions=compareByOriginalPositions;function compareByGeneratedPositionsDeflated(S,E,k){var w=S.generatedLine-E.generatedLine;if(w!==0){return w}w=S.generatedColumn-E.generatedColumn;if(w!==0||k){return w}w=strcmp(S.source,E.source);if(w!==0){return w}w=S.originalLine-E.originalLine;if(w!==0){return w}w=S.originalColumn-E.originalColumn;if(w!==0){return w}return strcmp(S.name,E.name)}E.compareByGeneratedPositionsDeflated=compareByGeneratedPositionsDeflated;function strcmp(S,E){if(S===E){return 0}if(S===null){return 1}if(E===null){return-1}if(S>E){return 1}return-1}function compareByGeneratedPositionsInflated(S,E){var k=S.generatedLine-E.generatedLine;if(k!==0){return k}k=S.generatedColumn-E.generatedColumn;if(k!==0){return k}k=strcmp(S.source,E.source);if(k!==0){return k}k=S.originalLine-E.originalLine;if(k!==0){return k}k=S.originalColumn-E.originalColumn;if(k!==0){return k}return strcmp(S.name,E.name)}E.compareByGeneratedPositionsInflated=compareByGeneratedPositionsInflated;function parseSourceMapInput(S){return JSON.parse(S.replace(/^\)]}'[^\n]*\n/,""))}E.parseSourceMapInput=parseSourceMapInput;function computeSourceURL(S,E,k){E=E||"";if(S){if(S[S.length-1]!=="/"&&E[0]!=="/"){S+="/"}E=S+E}if(k){var w=urlParse(k);if(!w){throw new Error("sourceMapURL could not be parsed")}if(w.path){var N=w.path.lastIndexOf("/");if(N>=0){w.path=w.path.substring(0,N+1)}}E=join(urlGenerate(w),E)}return normalize(E)}E.computeSourceURL=computeSourceURL},99596:(S,E,k)=>{E.SourceMapGenerator=k(11341).SourceMapGenerator;E.SourceMapConsumer=k(86327).SourceMapConsumer;E.SourceNode=k(9990).SourceNode},96204:(S,E,k)=>{"use strict";const w=k(12087);const N=k(33867);const j=k(86811);const{env:q}=process;let ee;if(j("no-color")||j("no-colors")||j("color=false")||j("color=never")){ee=0}else if(j("color")||j("colors")||j("color=true")||j("color=always")){ee=1}if("FORCE_COLOR"in q){if(q.FORCE_COLOR==="true"){ee=1}else if(q.FORCE_COLOR==="false"){ee=0}else{ee=q.FORCE_COLOR.length===0?1:Math.min(parseInt(q.FORCE_COLOR,10),3)}}function translateLevel(S){if(S===0){return false}return{level:S,hasBasic:true,has256:S>=2,has16m:S>=3}}function supportsColor(S,E){if(ee===0){return 0}if(j("color=16m")||j("color=full")||j("color=truecolor")){return 3}if(j("color=256")){return 2}if(S&&!E&&ee===undefined){return 0}const k=ee||0;if(q.TERM==="dumb"){return k}if(process.platform==="win32"){const S=w.release().split(".");if(Number(S[0])>=10&&Number(S[2])>=10586){return Number(S[2])>=14931?3:2}return 1}if("CI"in q){if(["TRAVIS","CIRCLECI","APPVEYOR","GITLAB_CI","GITHUB_ACTIONS","BUILDKITE"].some((S=>S in q))||q.CI_NAME==="codeship"){return 1}return k}if("TEAMCITY_VERSION"in q){return/^(9\.(0*[1-9]\d*)\.|\d{2,}\.)/.test(q.TEAMCITY_VERSION)?1:0}if(q.COLORTERM==="truecolor"){return 3}if("TERM_PROGRAM"in q){const S=parseInt((q.TERM_PROGRAM_VERSION||"").split(".")[0],10);switch(q.TERM_PROGRAM){case"iTerm.app":return S>=3?3:2;case"Apple_Terminal":return 2}}if(/-256(color)?$/i.test(q.TERM)){return 2}if(/^screen|^xterm|^vt100|^vt220|^rxvt|color|ansi|cygwin|linux/i.test(q.TERM)){return 1}if("COLORTERM"in q){return 1}return k}function getSupportLevel(S){const E=supportsColor(S,S&&S.isTTY);return translateLevel(E)}S.exports={supportsColor:getSupportLevel,stdout:translateLevel(supportsColor(true,N.isatty(1))),stderr:translateLevel(supportsColor(true,N.isatty(2)))}},78802:(S,E,k)=>{"use strict";const w=k(67332);const N=k(91165);class AsyncParallelBailHookCodeFactory extends N{content({onError:S,onResult:E,onDone:k}){let w="";w+=`var _results = new Array(${this.options.taps.length});\n`;w+="var _checkDone = function() {\n";w+="for(var i = 0; i < _results.length; i++) {\n";w+="var item = _results[i];\n";w+="if(item === undefined) return false;\n";w+="if(item.result !== undefined) {\n";w+=E("item.result");w+="return true;\n";w+="}\n";w+="if(item.error) {\n";w+=S("item.error");w+="return true;\n";w+="}\n";w+="}\n";w+="return false;\n";w+="}\n";w+=this.callTapsParallel({onError:(S,E,k,w)=>{let N="";N+=`if(${S} < _results.length && ((_results.length = ${S+1}), (_results[${S}] = { error: ${E} }), _checkDone())) {\n`;N+=w(true);N+="} else {\n";N+=k();N+="}\n";return N},onResult:(S,E,k,w)=>{let N="";N+=`if(${S} < _results.length && (${E} !== undefined && (_results.length = ${S+1}), (_results[${S}] = { result: ${E} }), _checkDone())) {\n`;N+=w(true);N+="} else {\n";N+=k();N+="}\n";return N},onTap:(S,E,k,w)=>{let N="";if(S>0){N+=`if(${S} >= _results.length) {\n`;N+=k();N+="} else {\n"}N+=E();if(S>0)N+="}\n";return N},onDone:k});return w}}const j=new AsyncParallelBailHookCodeFactory;const COMPILE=function(S){j.setup(this,S);return j.create(S)};function AsyncParallelBailHook(S=[],E=undefined){const k=new w(S,E);k.constructor=AsyncParallelBailHook;k.compile=COMPILE;k._call=undefined;k.call=undefined;return k}AsyncParallelBailHook.prototype=null;S.exports=AsyncParallelBailHook},3350:(S,E,k)=>{"use strict";const w=k(67332);const N=k(91165);class AsyncParallelHookCodeFactory extends N{content({onError:S,onDone:E}){return this.callTapsParallel({onError:(E,k,w,N)=>S(k)+N(true),onDone:E})}}const j=new AsyncParallelHookCodeFactory;const COMPILE=function(S){j.setup(this,S);return j.create(S)};function AsyncParallelHook(S=[],E=undefined){const k=new w(S,E);k.constructor=AsyncParallelHook;k.compile=COMPILE;k._call=undefined;k.call=undefined;return k}AsyncParallelHook.prototype=null;S.exports=AsyncParallelHook},4953:(S,E,k)=>{"use strict";const w=k(67332);const N=k(91165);class AsyncSeriesBailHookCodeFactory extends N{content({onError:S,onResult:E,resultReturns:k,onDone:w}){return this.callTapsSeries({onError:(E,k,w,N)=>S(k)+N(true),onResult:(S,k,w)=>`if(${k} !== undefined) {\n${E(k)}\n} else {\n${w()}}\n`,resultReturns:k,onDone:w})}}const j=new AsyncSeriesBailHookCodeFactory;const COMPILE=function(S){j.setup(this,S);return j.create(S)};function AsyncSeriesBailHook(S=[],E=undefined){const k=new w(S,E);k.constructor=AsyncSeriesBailHook;k.compile=COMPILE;k._call=undefined;k.call=undefined;return k}AsyncSeriesBailHook.prototype=null;S.exports=AsyncSeriesBailHook},68152:(S,E,k)=>{"use strict";const w=k(67332);const N=k(91165);class AsyncSeriesHookCodeFactory extends N{content({onError:S,onDone:E}){return this.callTapsSeries({onError:(E,k,w,N)=>S(k)+N(true),onDone:E})}}const j=new AsyncSeriesHookCodeFactory;const COMPILE=function(S){j.setup(this,S);return j.create(S)};function AsyncSeriesHook(S=[],E=undefined){const k=new w(S,E);k.constructor=AsyncSeriesHook;k.compile=COMPILE;k._call=undefined;k.call=undefined;return k}AsyncSeriesHook.prototype=null;S.exports=AsyncSeriesHook},25810:(S,E,k)=>{"use strict";const w=k(67332);const N=k(91165);class AsyncSeriesLoopHookCodeFactory extends N{content({onError:S,onDone:E}){return this.callTapsLooping({onError:(E,k,w,N)=>S(k)+N(true),onDone:E})}}const j=new AsyncSeriesLoopHookCodeFactory;const COMPILE=function(S){j.setup(this,S);return j.create(S)};function AsyncSeriesLoopHook(S=[],E=undefined){const k=new w(S,E);k.constructor=AsyncSeriesLoopHook;k.compile=COMPILE;k._call=undefined;k.call=undefined;return k}AsyncSeriesLoopHook.prototype=null;S.exports=AsyncSeriesLoopHook},66760:(S,E,k)=>{"use strict";const w=k(67332);const N=k(91165);class AsyncSeriesWaterfallHookCodeFactory extends N{content({onError:S,onResult:E,onDone:k}){return this.callTapsSeries({onError:(E,k,w,N)=>S(k)+N(true),onResult:(S,E,k)=>{let w="";w+=`if(${E} !== undefined) {\n`;w+=`${this._args[0]} = ${E};\n`;w+=`}\n`;w+=k();return w},onDone:()=>E(this._args[0])})}}const j=new AsyncSeriesWaterfallHookCodeFactory;const COMPILE=function(S){j.setup(this,S);return j.create(S)};function AsyncSeriesWaterfallHook(S=[],E=undefined){if(S.length<1)throw new Error("Waterfall hooks must have at least one argument");const k=new w(S,E);k.constructor=AsyncSeriesWaterfallHook;k.compile=COMPILE;k._call=undefined;k.call=undefined;return k}AsyncSeriesWaterfallHook.prototype=null;S.exports=AsyncSeriesWaterfallHook},67332:(S,E,k)=>{"use strict";const w=k(31669);const N=w.deprecate((()=>{}),"Hook.context is deprecated and will be removed");const CALL_DELEGATE=function(...S){this.call=this._createCall("sync");return this.call(...S)};const CALL_ASYNC_DELEGATE=function(...S){this.callAsync=this._createCall("async");return this.callAsync(...S)};const PROMISE_DELEGATE=function(...S){this.promise=this._createCall("promise");return this.promise(...S)};class Hook{constructor(S=[],E=undefined){this._args=S;this.name=E;this.taps=[];this.interceptors=[];this._call=CALL_DELEGATE;this.call=CALL_DELEGATE;this._callAsync=CALL_ASYNC_DELEGATE;this.callAsync=CALL_ASYNC_DELEGATE;this._promise=PROMISE_DELEGATE;this.promise=PROMISE_DELEGATE;this._x=undefined;this.compile=this.compile;this.tap=this.tap;this.tapAsync=this.tapAsync;this.tapPromise=this.tapPromise}compile(S){throw new Error("Abstract: should be overridden")}_createCall(S){return this.compile({taps:this.taps,interceptors:this.interceptors,args:this._args,type:S})}_tap(S,E,k){if(typeof E==="string"){E={name:E.trim()}}else if(typeof E!=="object"||E===null){throw new Error("Invalid tap options")}if(typeof E.name!=="string"||E.name===""){throw new Error("Missing name for tap")}if(typeof E.context!=="undefined"){N()}E=Object.assign({type:S,fn:k},E);E=this._runRegisterInterceptors(E);this._insert(E)}tap(S,E){this._tap("sync",S,E)}tapAsync(S,E){this._tap("async",S,E)}tapPromise(S,E){this._tap("promise",S,E)}_runRegisterInterceptors(S){for(const E of this.interceptors){if(E.register){const k=E.register(S);if(k!==undefined){S=k}}}return S}withOptions(S){const mergeOptions=E=>Object.assign({},S,typeof E==="string"?{name:E}:E);return{name:this.name,tap:(S,E)=>this.tap(mergeOptions(S),E),tapAsync:(S,E)=>this.tapAsync(mergeOptions(S),E),tapPromise:(S,E)=>this.tapPromise(mergeOptions(S),E),intercept:S=>this.intercept(S),isUsed:()=>this.isUsed(),withOptions:S=>this.withOptions(mergeOptions(S))}}isUsed(){return this.taps.length>0||this.interceptors.length>0}intercept(S){this._resetCompilation();this.interceptors.push(Object.assign({},S));if(S.register){for(let E=0;E0){w--;const S=this.taps[w];this.taps[w+1]=S;const N=S.stage||0;if(E){if(E.has(S.name)){E.delete(S.name);continue}if(E.size>0){continue}}if(N>k){continue}w++;break}this.taps[w]=S}}Object.setPrototypeOf(Hook.prototype,null);S.exports=Hook},91165:S=>{"use strict";class HookCodeFactory{constructor(S){this.config=S;this.options=undefined;this._args=undefined}create(S){this.init(S);let E;switch(this.options.type){case"sync":E=new Function(this.args(),'"use strict";\n'+this.header()+this.contentWithInterceptors({onError:S=>`throw ${S};\n`,onResult:S=>`return ${S};\n`,resultReturns:true,onDone:()=>"",rethrowIfPossible:true}));break;case"async":E=new Function(this.args({after:"_callback"}),'"use strict";\n'+this.header()+this.contentWithInterceptors({onError:S=>`_callback(${S});\n`,onResult:S=>`_callback(null, ${S});\n`,onDone:()=>"_callback();\n"}));break;case"promise":let S=false;const k=this.contentWithInterceptors({onError:E=>{S=true;return`_error(${E});\n`},onResult:S=>`_resolve(${S});\n`,onDone:()=>"_resolve();\n"});let w="";w+='"use strict";\n';w+=this.header();w+="return new Promise((function(_resolve, _reject) {\n";if(S){w+="var _sync = true;\n";w+="function _error(_err) {\n";w+="if(_sync)\n";w+="_resolve(Promise.resolve().then((function() { throw _err; })));\n";w+="else\n";w+="_reject(_err);\n";w+="};\n"}w+=k;if(S){w+="_sync = false;\n"}w+="}));\n";E=new Function(this.args(),w);break}this.deinit();return E}setup(S,E){S._x=E.taps.map((S=>S.fn))}init(S){this.options=S;this._args=S.args.slice()}deinit(){this.options=undefined;this._args=undefined}contentWithInterceptors(S){if(this.options.interceptors.length>0){const E=S.onError;const k=S.onResult;const w=S.onDone;let N="";for(let S=0;S{let k="";for(let E=0;E{let E="";for(let k=0;k{let S="";for(let E=0;E0){S+="var _taps = this.taps;\n";S+="var _interceptors = this.interceptors;\n"}return S}needContext(){for(const S of this.options.taps)if(S.context)return true;return false}callTap(S,{onError:E,onResult:k,onDone:w,rethrowIfPossible:N}){let j="";let q=false;for(let E=0;ES.type!=="sync"));const ee=k||N;let te="";let ne=w;let ae=0;for(let k=this.options.taps.length-1;k>=0;k--){const N=k;const _e=ne!==w&&(this.options.taps[N].type!=="sync"||ae++>20);if(_e){ae=0;te+=`function _next${N}() {\n`;te+=ne();te+=`}\n`;ne=()=>`${ee?"return ":""}_next${N}();\n`}const ve=ne;const doneBreak=S=>{if(S)return"";return w()};const Ee=this.callTap(N,{onError:E=>S(N,E,ve,doneBreak),onResult:E&&(S=>E(N,S,ve,doneBreak)),onDone:!E&&ve,rethrowIfPossible:j&&(q<0||NEe}te+=ne();return te}callTapsLooping({onError:S,onDone:E,rethrowIfPossible:k}){if(this.options.taps.length===0)return E();const w=this.options.taps.every((S=>S.type==="sync"));let N="";if(!w){N+="var _looper = (function() {\n";N+="var _loopAsync = false;\n"}N+="var _loop;\n";N+="do {\n";N+="_loop = false;\n";for(let S=0;S{let j="";j+=`if(${E} !== undefined) {\n`;j+="_loop = true;\n";if(!w)j+="if(_loopAsync) _looper();\n";j+=N(true);j+=`} else {\n`;j+=k();j+=`}\n`;return j},onDone:E&&(()=>{let S="";S+="if(!_loop) {\n";S+=E();S+="}\n";return S}),rethrowIfPossible:k&&w});N+="} while(_loop);\n";if(!w){N+="_loopAsync = true;\n";N+="});\n";N+="_looper();\n"}return N}callTapsParallel({onError:S,onResult:E,onDone:k,rethrowIfPossible:w,onTap:N=((S,E)=>E())}){if(this.options.taps.length<=1){return this.callTapsSeries({onError:S,onResult:E,onDone:k,rethrowIfPossible:w})}let j="";j+="do {\n";j+=`var _counter = ${this.options.taps.length};\n`;if(k){j+="var _done = (function() {\n";j+=k();j+="});\n"}for(let q=0;q{if(k)return"if(--_counter === 0) _done();\n";else return"--_counter;"};const doneBreak=S=>{if(S||!k)return"_counter = 0;\n";else return"_counter = 0;\n_done();\n"};j+="if(_counter <= 0) break;\n";j+=N(q,(()=>this.callTap(q,{onError:E=>{let k="";k+="if(_counter > 0) {\n";k+=S(q,E,done,doneBreak);k+="}\n";return k},onResult:E&&(S=>{let k="";k+="if(_counter > 0) {\n";k+=E(q,S,done,doneBreak);k+="}\n";return k}),onDone:!E&&(()=>done()),rethrowIfPossible:w})),done,doneBreak)}j+="} while(false);\n";return j}args({before:S,after:E}={}){let k=this._args;if(S)k=[S].concat(k);if(E)k=k.concat(E);if(k.length===0){return""}else{return k.join(", ")}}getTapFn(S){return`_x[${S}]`}getTap(S){return`_taps[${S}]`}getInterceptor(S){return`_interceptors[${S}]`}}S.exports=HookCodeFactory},28636:(S,E,k)=>{"use strict";const w=k(31669);const defaultFactory=(S,E)=>E;class HookMap{constructor(S,E=undefined){this._map=new Map;this.name=E;this._factory=S;this._interceptors=[]}get(S){return this._map.get(S)}for(S){const E=this.get(S);if(E!==undefined){return E}let k=this._factory(S);const w=this._interceptors;for(let E=0;E{"use strict";const w=k(67332);class MultiHook{constructor(S,E=undefined){this.hooks=S;this.name=E}tap(S,E){for(const k of this.hooks){k.tap(S,E)}}tapAsync(S,E){for(const k of this.hooks){k.tapAsync(S,E)}}tapPromise(S,E){for(const k of this.hooks){k.tapPromise(S,E)}}isUsed(){for(const S of this.hooks){if(S.isUsed())return true}return false}intercept(S){for(const E of this.hooks){E.intercept(S)}}withOptions(S){return new MultiHook(this.hooks.map((E=>E.withOptions(S))),this.name)}}S.exports=MultiHook},3334:(S,E,k)=>{"use strict";const w=k(67332);const N=k(91165);class SyncBailHookCodeFactory extends N{content({onError:S,onResult:E,resultReturns:k,onDone:w,rethrowIfPossible:N}){return this.callTapsSeries({onError:(E,k)=>S(k),onResult:(S,k,w)=>`if(${k} !== undefined) {\n${E(k)};\n} else {\n${w()}}\n`,resultReturns:k,onDone:w,rethrowIfPossible:N})}}const j=new SyncBailHookCodeFactory;const TAP_ASYNC=()=>{throw new Error("tapAsync is not supported on a SyncBailHook")};const TAP_PROMISE=()=>{throw new Error("tapPromise is not supported on a SyncBailHook")};const COMPILE=function(S){j.setup(this,S);return j.create(S)};function SyncBailHook(S=[],E=undefined){const k=new w(S,E);k.constructor=SyncBailHook;k.tapAsync=TAP_ASYNC;k.tapPromise=TAP_PROMISE;k.compile=COMPILE;return k}SyncBailHook.prototype=null;S.exports=SyncBailHook},6728:(S,E,k)=>{"use strict";const w=k(67332);const N=k(91165);class SyncHookCodeFactory extends N{content({onError:S,onDone:E,rethrowIfPossible:k}){return this.callTapsSeries({onError:(E,k)=>S(k),onDone:E,rethrowIfPossible:k})}}const j=new SyncHookCodeFactory;const TAP_ASYNC=()=>{throw new Error("tapAsync is not supported on a SyncHook")};const TAP_PROMISE=()=>{throw new Error("tapPromise is not supported on a SyncHook")};const COMPILE=function(S){j.setup(this,S);return j.create(S)};function SyncHook(S=[],E=undefined){const k=new w(S,E);k.constructor=SyncHook;k.tapAsync=TAP_ASYNC;k.tapPromise=TAP_PROMISE;k.compile=COMPILE;return k}SyncHook.prototype=null;S.exports=SyncHook},52332:(S,E,k)=>{"use strict";const w=k(67332);const N=k(91165);class SyncLoopHookCodeFactory extends N{content({onError:S,onDone:E,rethrowIfPossible:k}){return this.callTapsLooping({onError:(E,k)=>S(k),onDone:E,rethrowIfPossible:k})}}const j=new SyncLoopHookCodeFactory;const TAP_ASYNC=()=>{throw new Error("tapAsync is not supported on a SyncLoopHook")};const TAP_PROMISE=()=>{throw new Error("tapPromise is not supported on a SyncLoopHook")};const COMPILE=function(S){j.setup(this,S);return j.create(S)};function SyncLoopHook(S=[],E=undefined){const k=new w(S,E);k.constructor=SyncLoopHook;k.tapAsync=TAP_ASYNC;k.tapPromise=TAP_PROMISE;k.compile=COMPILE;return k}SyncLoopHook.prototype=null;S.exports=SyncLoopHook},81934:(S,E,k)=>{"use strict";const w=k(67332);const N=k(91165);class SyncWaterfallHookCodeFactory extends N{content({onError:S,onResult:E,resultReturns:k,rethrowIfPossible:w}){return this.callTapsSeries({onError:(E,k)=>S(k),onResult:(S,E,k)=>{let w="";w+=`if(${E} !== undefined) {\n`;w+=`${this._args[0]} = ${E};\n`;w+=`}\n`;w+=k();return w},onDone:()=>E(this._args[0]),doneReturns:k,rethrowIfPossible:w})}}const j=new SyncWaterfallHookCodeFactory;const TAP_ASYNC=()=>{throw new Error("tapAsync is not supported on a SyncWaterfallHook")};const TAP_PROMISE=()=>{throw new Error("tapPromise is not supported on a SyncWaterfallHook")};const COMPILE=function(S){j.setup(this,S);return j.create(S)};function SyncWaterfallHook(S=[],E=undefined){if(S.length<1)throw new Error("Waterfall hooks must have at least one argument");const k=new w(S,E);k.constructor=SyncWaterfallHook;k.tapAsync=TAP_ASYNC;k.tapPromise=TAP_PROMISE;k.compile=COMPILE;return k}SyncWaterfallHook.prototype=null;S.exports=SyncWaterfallHook},92960:(S,E,k)=>{"use strict";E.__esModule=true;E.SyncHook=k(6728);E.SyncBailHook=k(3334);E.SyncWaterfallHook=k(81934);E.SyncLoopHook=k(52332);E.AsyncParallelHook=k(3350);E.AsyncParallelBailHook=k(78802);E.AsyncSeriesHook=k(68152);E.AsyncSeriesBailHook=k(4953);E.AsyncSeriesLoopHook=k(25810);E.AsyncSeriesWaterfallHook=k(66760);E.HookMap=k(28636);E.MultiHook=k(20937)},96013:(S,E,k)=>{"use strict";const w=k(98225);S.exports=w.default},98225:(S,E,k)=>{"use strict";Object.defineProperty(E,"__esModule",{value:true});E.default=void 0;var w=_interopRequireWildcard(k(85622));var N=_interopRequireWildcard(k(12087));var j=k(99596);var q=k(15235);var ee=_interopRequireDefault(k(35764));var te=_interopRequireWildcard(k(47667));var ne=_interopRequireDefault(k(97909));var ae=k(69419);var _e=_interopRequireWildcard(k(26068));var ve=k(6218);function _interopRequireDefault(S){return S&&S.__esModule?S:{default:S}}function _getRequireWildcardCache(S){if(typeof WeakMap!=="function")return null;var E=new WeakMap;var k=new WeakMap;return(_getRequireWildcardCache=function(S){return S?k:E})(S)}function _interopRequireWildcard(S,E){if(!E&&S&&S.__esModule){return S}if(S===null||typeof S!=="object"&&typeof S!=="function"){return{default:S}}var k=_getRequireWildcardCache(E);if(k&&k.has(S)){return k.get(S)}var w={};var N=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var j in S){if(j!=="default"&&Object.prototype.hasOwnProperty.call(S,j)){var q=N?Object.getOwnPropertyDescriptor(S,j):null;if(q&&(q.get||q.set)){Object.defineProperty(w,j,q)}else{w[j]=S[j]}}}w.default=S;if(k){k.set(S,w)}return w}class TerserPlugin{constructor(S={}){(0,q.validate)(_e,S,{name:"Terser Plugin",baseDataPath:"options"});const{minify:E,terserOptions:k={},test:w=/\.[cm]?js(\?.*)?$/i,extractComments:N=true,parallel:j=true,include:ee,exclude:te}=S;this.options={test:w,extractComments:N,parallel:j,include:ee,exclude:te,minify:E,terserOptions:k}}static isSourceMap(S){return Boolean(S&&S.version&&S.sources&&Array.isArray(S.sources)&&typeof S.mappings==="string")}static buildError(S,E,k,w){if(S.line){const N=w&&w.originalPositionFor({line:S.line,column:S.col});if(N&&N.source&&k){return new Error(`${E} from Terser\n${S.message} [${k.shorten(N.source)}:${N.line},${N.column}][${E}:${S.line},${S.col}]${S.stack?`\n${S.stack.split("\n").slice(1).join("\n")}`:""}`)}return new Error(`${E} from Terser\n${S.message} [${E}:${S.line},${S.col}]${S.stack?`\n${S.stack.split("\n").slice(1).join("\n")}`:""}`)}if(S.stack){return new Error(`${E} from Terser\n${S.stack}`)}return new Error(`${E} from Terser\n${S.message}`)}static getAvailableNumberOfCores(S){const E=N.cpus()||{length:1};return S===true?E.length-1:Math.min(Number(S)||0,E.length-1)}async optimize(S,E,N,q){const te=E.getCache("TerserWebpackPlugin");let _e=0;const Ee=await Promise.all(Object.keys(N).filter((k=>{const{info:w}=E.getAsset(k);if(w.minimized||w.extractedComments){return false}if(!S.webpack.ModuleFilenameHelpers.matchObject.bind(undefined,this.options)(k)){return false}return true})).map((async S=>{const{info:k,source:w}=E.getAsset(S);const N=te.getLazyHashedEtag(w);const j=te.getItemCache(S,N);const q=await j.getPromise();if(!q){_e+=1}return{name:S,info:k,inputSource:w,output:q,cacheItem:j}})));let Te;let Ce;let we;if(q.availableNumberOfCores>0){we=Math.min(_e,q.availableNumberOfCores);Te=()=>{if(Ce){return Ce}Ce=new ae.Worker(k.ab+"minify.js",{numWorkers:we,enableWorkerThreads:true});const S=Ce.getStdout();if(S){S.on("data",(S=>process.stdout.write(S)))}const E=Ce.getStderr();if(E){E.on("data",(S=>process.stderr.write(S)))}return Ce}}const Ne=(0,ne.default)(Te&&_e>0?we:Infinity);const{SourceMapSource:Ie,ConcatSource:Fe,RawSource:Oe}=S.webpack.sources;const Me=new Map;const Re=[];for(const S of Ee){Re.push(Ne((async()=>{const{name:k,inputSource:N,info:q,cacheItem:te}=S;let{output:ne}=S;if(!ne){let S;let ae;const{source:_e,map:Ee}=N.sourceAndMap();S=_e;if(Ee){if(TerserPlugin.isSourceMap(Ee)){ae=Ee}else{ae=Ee;E.warnings.push(new Error(`${k} contains invalid source map`))}}if(Buffer.isBuffer(S)){S=S.toString()}const Ce={name:k,input:S,inputSourceMap:ae,minify:this.options.minify,minifyOptions:{...this.options.terserOptions},extractComments:this.options.extractComments};if(typeof Ce.minifyOptions.module==="undefined"){if(typeof q.javascriptModule!=="undefined"){Ce.minifyOptions.module=q.javascriptModule}else if(/\.mjs(\?.*)?$/i.test(k)){Ce.minifyOptions.module=true}else if(/\.cjs(\?.*)?$/i.test(k)){Ce.minifyOptions.module=false}}try{ne=await(Te?Te().transform((0,ee.default)(Ce)):(0,ve.minify)(Ce))}catch(S){const w=ae&&TerserPlugin.isSourceMap(ae);E.errors.push(TerserPlugin.buildError(S,k,w?E.requestShortener:undefined,w?new j.SourceMapConsumer(ae):undefined));return}let we;if(this.options.extractComments.banner!==false&&ne.extractedComments&&ne.extractedComments.length>0&&ne.code.startsWith("#!")){const S=ne.code.indexOf("\n");we=ne.code.substring(0,S);ne.code=ne.code.substring(S+1)}if(ne.map){ne.source=new Ie(ne.code,k,ne.map,S,ae,true)}else{ne.source=new Oe(ne.code)}if(ne.extractedComments&&ne.extractedComments.length>0){const S=this.options.extractComments.filename||"[file].LICENSE.txt[query]";let N="";let j=k;const q=j.indexOf("?");if(q>=0){N=j.substr(q);j=j.substr(0,q)}const ee=j.lastIndexOf("/");const te=ee===-1?j:j.substr(ee+1);const ae={filename:j,basename:te,query:N};ne.commentsFilename=E.getPath(S,ae);let _e;if(this.options.extractComments.banner!==false){_e=this.options.extractComments.banner||`For license information please see ${w.relative(w.dirname(k),ne.commentsFilename).replace(/\\/g,"/")}`;if(typeof _e==="function"){_e=_e(ne.commentsFilename)}if(_e){ne.source=new Fe(we?`${we}\n`:"",`/*! ${_e} */\n`,ne.source)}}const ve=ne.extractedComments.sort().join("\n\n");ne.extractedCommentsSource=new Oe(`${ve}\n`)}await te.storePromise({source:ne.source,commentsFilename:ne.commentsFilename,extractedCommentsSource:ne.extractedCommentsSource})}const ae={minimized:true};const{source:_e,extractedCommentsSource:Ee}=ne;if(Ee){const{commentsFilename:S}=ne;ae.related={license:S};Me.set(k,{extractedCommentsSource:Ee,commentsFilename:S})}E.updateAsset(k,_e,ae)})))}await Promise.all(Re);if(Ce){await Ce.end()}await Array.from(Me).sort().reduce((async(S,[k,w])=>{const N=await S;const{commentsFilename:j,extractedCommentsSource:q}=w;if(N&&N.commentsFilename===j){const{from:S,source:w}=N;const ee=`${S}|${k}`;const ne=`${j}|${ee}`;const ae=[w,q].map((S=>te.getLazyHashedEtag(S))).reduce(((S,E)=>te.mergeEtags(S,E)));let _e=await te.getPromise(ne,ae);if(!_e){_e=new Fe(Array.from(new Set([...w.source().split("\n\n"),...q.source().split("\n\n")])).join("\n\n"));await te.storePromise(ne,ae,_e)}E.updateAsset(j,_e);return{source:_e,commentsFilename:j,from:ee}}const ee=E.getAsset(j);if(ee){return{source:ee.source,commentsFilename:j,from:j}}E.emitAsset(j,q,{extractedComments:true});return{source:q,commentsFilename:j,from:k}}),Promise.resolve())}static getEcmaVersion(S){if(S.arrowFunction||S.const||S.destructuring||S.forOf||S.module){return 2015}if(S.bigIntLiteral||S.dynamicImport){return 2020}return 5}apply(S){const{output:E}=S.options;if(typeof this.options.terserOptions.ecma==="undefined"){this.options.terserOptions.ecma=TerserPlugin.getEcmaVersion(E.environment||{})}const k=this.constructor.name;const w=TerserPlugin.getAvailableNumberOfCores(this.options.parallel);S.hooks.compilation.tap(k,(E=>{const N=S.webpack.javascript.JavascriptModulesPlugin.getCompilationHooks(E);const j=(0,ee.default)({terser:te.version,terserOptions:this.options.terserOptions});N.chunkHash.tap(k,((S,E)=>{E.update("TerserPlugin");E.update(j)}));E.hooks.processAssets.tapPromise({name:k,stage:S.webpack.Compilation.PROCESS_ASSETS_STAGE_OPTIMIZE_SIZE,additionalAssets:true},(k=>this.optimize(S,E,k,{availableNumberOfCores:w})));E.hooks.statsPrinter.tap(k,(S=>{S.hooks.print.for("asset.info.minimized").tap("terser-webpack-plugin",((S,{green:E,formatFlag:k})=>S?E(k("minimized")):""))}))}))}}var Ee=TerserPlugin;E.default=Ee},6218:(S,E,k)=>{"use strict";S=k.nmd(S);const{minify:w}=k(79304);function buildTerserOptions(S={}){return{...S,compress:typeof S.compress==="boolean"?S.compress:{...S.compress},mangle:S.mangle==null?true:typeof S.mangle==="boolean"?S.mangle:{...S.mangle},...S.format?{format:{beautify:false,...S.format}}:{output:{beautify:false,...S.output}},parse:{...S.parse},sourceMap:undefined}}function isObject(S){const E=typeof S;return S!=null&&(E==="object"||E==="function")}function buildComments(S,E,k){const w={};let N;if(E.format){({comments:N}=E.format)}else if(E.output){({comments:N}=E.output)}w.preserve=typeof N!=="undefined"?N:false;if(typeof S==="boolean"&&S){w.extract="some"}else if(typeof S==="string"||S instanceof RegExp){w.extract=S}else if(typeof S==="function"){w.extract=S}else if(S&&isObject(S)){w.extract=typeof S.condition==="boolean"&&S.condition?"some":typeof S.condition!=="undefined"?S.condition:"some"}else{w.preserve=typeof N!=="undefined"?N:"some";w.extract=false}["preserve","extract"].forEach((S=>{let E;let k;switch(typeof w[S]){case"boolean":w[S]=w[S]?()=>true:()=>false;break;case"function":break;case"string":if(w[S]==="all"){w[S]=()=>true;break}if(w[S]==="some"){w[S]=(S,E)=>(E.type==="comment2"||E.type==="comment1")&&/@preserve|@lic|@cc_on|^\**!/i.test(E.value);break}E=w[S];w[S]=(S,k)=>new RegExp(E).test(k.value);break;default:k=w[S];w[S]=(S,E)=>k.test(E.value)}}));return(S,E)=>{if(w.extract(S,E)){const S=E.type==="comment2"?`/*${E.value}*/`:`//${E.value}`;if(!k.includes(S)){k.push(S)}}return w.preserve(S,E)}}async function minify(S){const{name:E,input:k,inputSourceMap:N,minify:j,minifyOptions:q}=S;if(j){return j({[E]:k},N,q)}const ee=buildTerserOptions(q);if(N){ee.sourceMap={asObject:true}}const te=[];const{extractComments:ne}=S;if(ee.output){ee.output.comments=buildComments(ne,ee,te)}else if(ee.format){ee.format.comments=buildComments(ne,ee,te)}const ae=await w({[E]:k},ee);return{...ae,extractedComments:te}}function transform(k){const w=new Function("exports","require","module","__filename","__dirname",`'use strict'\nreturn ${k}`)(E,require,S,__filename,__dirname);return minify(w)}S.exports.minify=minify;S.exports.transform=transform},97909:(S,E,k)=>{"use strict";const w=k(74395);const pLimit=S=>{if(!((Number.isInteger(S)||S===Infinity)&&S>0)){throw new TypeError("Expected `concurrency` to be a number from 1 and up")}const E=new w;let k=0;const next=()=>{k--;if(E.size>0){E.dequeue()()}};const run=async(S,E,...w)=>{k++;const N=(async()=>S(...w))();E(N);try{await N}catch{}next()};const enqueue=(w,N,...j)=>{E.enqueue(run.bind(null,w,N,...j));(async()=>{await Promise.resolve();if(k0){E.dequeue()()}})()};const generator=(S,...E)=>new Promise((k=>{enqueue(S,k,...E)}));Object.defineProperties(generator,{activeCount:{get:()=>k},pendingCount:{get:()=>E.size},clearQueue:{value:()=>{E.clear()}}});return generator};S.exports=pLimit},35764:(S,E,k)=>{"use strict";var w=k(31998);var N=16;var j=generateUID();var q=new RegExp('(\\\\)?"@__(F|R|D|M|S|A|U|I|B|L)-'+j+'-(\\d+)__@"',"g");var ee=/\{\s*\[native code\]\s*\}/g;var te=/function.*?\(/;var ne=/.*?=>.*?/;var ae=/[<>\/\u2028\u2029]/g;var _e=["*","async"];var ve={"<":"\\u003C",">":"\\u003E","/":"\\u002F","\u2028":"\\u2028","\u2029":"\\u2029"};function escapeUnsafeChars(S){return ve[S]}function generateUID(){var S=w(N);var E="";for(var k=0;k0}));var N=w.filter((function(S){return _e.indexOf(S)===-1}));if(N.length>0){return(w.indexOf("async")>-1?"async ":"")+"function"+(w.join("").indexOf("*")>-1?"*":"")+E.substr(k)}return E}if(E.ignoreFunction&&typeof S==="function"){S=undefined}if(S===undefined){return String(S)}var Fe;if(E.isJSON&&!E.space){Fe=JSON.stringify(S)}else{Fe=JSON.stringify(S,E.isJSON?null:replacer,E.space)}if(typeof Fe!=="string"){return String(Fe)}if(E.unsafe!==true){Fe=Fe.replace(ae,escapeUnsafeChars)}if(k.length===0&&w.length===0&&N.length===0&&ve.length===0&&Ee.length===0&&Te.length===0&&Ce.length===0&&we.length===0&&Ne.length===0&&Ie.length===0){return Fe}return Fe.replace(q,(function(S,j,q,ee){if(j){return S}if(q==="D"){return'new Date("'+N[ee].toISOString()+'")'}if(q==="R"){return"new RegExp("+serialize(w[ee].source)+', "'+w[ee].flags+'")'}if(q==="M"){return"new Map("+serialize(Array.from(ve[ee].entries()),E)+")"}if(q==="S"){return"new Set("+serialize(Array.from(Ee[ee].values()),E)+")"}if(q==="A"){return"Array.prototype.slice.call("+serialize(Object.assign({length:Te[ee].length},Te[ee]),E)+")"}if(q==="U"){return"undefined"}if(q==="I"){return we[ee]}if(q==="B"){return'BigInt("'+Ne[ee]+'")'}if(q==="L"){return'new URL("'+Ie[ee].toString()+'")'}var te=k[ee];return serializeFunc(te)}))}},79304:function(S,E,k){(function(S,w){true?w(E,k(86347)):0})(this,(function(S,E){"use strict";function _interopDefaultLegacy(S){return S&&typeof S==="object"&&"default"in S?S:{default:S}}var w=_interopDefaultLegacy(E);function characters(S){return S.split("")}function member(S,E){return E.includes(S)}class DefaultsError extends Error{constructor(S,E){super();this.name="DefaultsError";this.message=S;this.defs=E}}function defaults(S,E,k){if(S===true){S={}}else if(S!=null&&typeof S==="object"){S={...S}}const w=S||{};if(k)for(const S in w)if(HOP(w,S)&&!HOP(E,S)){throw new DefaultsError("`"+S+"` is not a supported option",E)}for(const k in E)if(HOP(E,k)){if(!S||!HOP(S,k)){w[k]=E[k]}else if(k==="ecma"){let E=S[k]|0;if(E>5&&E<2015)E+=2009;w[k]=E}else{w[k]=S&&HOP(S,k)?S[k]:E[k]}}return w}function noop(){}function return_false(){return false}function return_true(){return true}function return_this(){return this}function return_null(){return null}var N=function(){function MAP(E,k,w){var N=[],j=[],q;function doit(){var ee=k(E[q],q);var te=ee instanceof Last;if(te)ee=ee.v;if(ee instanceof AtTop){ee=ee.v;if(ee instanceof Splice){j.push.apply(j,w?ee.v.slice().reverse():ee.v)}else{j.push(ee)}}else if(ee!==S){if(ee instanceof Splice){N.push.apply(N,w?ee.v.slice().reverse():ee.v)}else{N.push(ee)}}return te}if(Array.isArray(E)){if(w){for(q=E.length;--q>=0;)if(doit())break;N.reverse();j.reverse()}else{for(q=0;q=0;){if(S[k]===E)S.splice(k,1)}}function mergeSort(S,E){if(S.length<2)return S.slice();function merge(S,k){var w=[],N=0,j=0,q=0;while(N{k+=S}))}return k}function has_annotation(S,E){return S._annotations&E}function set_annotation(S,E){S._annotations|=E}var ee="";var te=true;var ne="break case catch class const continue debugger default delete do else export extends finally for function if in instanceof let new return switch throw try typeof var void while with";var ae="false null true";var _e="enum implements import interface package private protected public static super this "+ae+" "+ne;var ve="return new delete throw else case yield await";ne=makePredicate(ne);_e=makePredicate(_e);ve=makePredicate(ve);ae=makePredicate(ae);var Ee=makePredicate(characters("+-*&%=<>!?|~^"));var Te=/[0-9a-f]/i;var Ce=/^0x[0-9a-f]+$/i;var we=/^0[0-7]+$/;var Ne=/^0o[0-7]+$/i;var Ie=/^0b[01]+$/i;var Fe=/^\d*\.?\d*(?:e[+-]?\d*(?:\d\.?|\.?\d)\d*)?$/i;var Oe=/^(0[xob])?[0-9a-f]+n$/i;var Me=makePredicate(["in","instanceof","typeof","new","void","delete","++","--","+","-","!","~","&","|","^","*","**","/","%",">>","<<",">>>","<",">","<=",">=","==","===","!=","!==","?","=","+=","-=","||=","&&=","??=","/=","*=","**=","%=",">>=","<<=",">>>=","|=","^=","&=","&&","??","||"]);var Re=makePredicate(characters("  \n\r\t\f\v​           \u2028\u2029   \ufeff"));var Le=makePredicate(characters("\n\r\u2028\u2029"));var Be=makePredicate(characters(";]),:"));var je=makePredicate(characters("[{(,;:"));var ze=makePredicate(characters("[]{}(),;:"));var Ue={ID_Start:/[$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\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\u0C85-\u0C8C\u0C8E-\u0C90\u0C92-\u0CA8\u0CAA-\u0CB3\u0CB5-\u0CB9\u0CBD\u0CDE\u0CE0\u0CE1\u0CF1\u0CF2\u0D05-\u0D0C\u0D0E-\u0D10\u0D12-\u0D3A\u0D3D\u0D4E\u0D5F-\u0D61\u0D7A-\u0D7F\u0D85-\u0D96\u0D9A-\u0DB1\u0DB3-\u0DBB\u0DBD\u0DC0-\u0DC6\u0E01-\u0E30\u0E32\u0E33\u0E40-\u0E46\u0E81\u0E82\u0E84\u0E87\u0E88\u0E8A\u0E8D\u0E94-\u0E97\u0E99-\u0E9F\u0EA1-\u0EA3\u0EA5\u0EA7\u0EAA\u0EAB\u0EAD-\u0EB0\u0EB2\u0EB3\u0EBD\u0EC0-\u0EC4\u0EC6\u0EDC-\u0EDF\u0F00\u0F40-\u0F47\u0F49-\u0F6C\u0F88-\u0F8C\u1000-\u102A\u103F\u1050-\u1055\u105A-\u105D\u1061\u1065\u1066\u106E-\u1070\u1075-\u1081\u108E\u10A0-\u10C5\u10C7\u10CD\u10D0-\u10FA\u10FC-\u1248\u124A-\u124D\u1250-\u1256\u1258\u125A-\u125D\u1260-\u1288\u128A-\u128D\u1290-\u12B0\u12B2-\u12B5\u12B8-\u12BE\u12C0\u12C2-\u12C5\u12C8-\u12D6\u12D8-\u1310\u1312-\u1315\u1318-\u135A\u1380-\u138F\u13A0-\u13F5\u13F8-\u13FD\u1401-\u166C\u166F-\u167F\u1681-\u169A\u16A0-\u16EA\u16EE-\u16F8\u1700-\u170C\u170E-\u1711\u1720-\u1731\u1740-\u1751\u1760-\u176C\u176E-\u1770\u1780-\u17B3\u17D7\u17DC\u1820-\u1877\u1880-\u18A8\u18AA\u18B0-\u18F5\u1900-\u191E\u1950-\u196D\u1970-\u1974\u1980-\u19AB\u19B0-\u19C9\u1A00-\u1A16\u1A20-\u1A54\u1AA7\u1B05-\u1B33\u1B45-\u1B4B\u1B83-\u1BA0\u1BAE\u1BAF\u1BBA-\u1BE5\u1C00-\u1C23\u1C4D-\u1C4F\u1C5A-\u1C7D\u1CE9-\u1CEC\u1CEE-\u1CF1\u1CF5\u1CF6\u1D00-\u1DBF\u1E00-\u1F15\u1F18-\u1F1D\u1F20-\u1F45\u1F48-\u1F4D\u1F50-\u1F57\u1F59\u1F5B\u1F5D\u1F5F-\u1F7D\u1F80-\u1FB4\u1FB6-\u1FBC\u1FBE\u1FC2-\u1FC4\u1FC6-\u1FCC\u1FD0-\u1FD3\u1FD6-\u1FDB\u1FE0-\u1FEC\u1FF2-\u1FF4\u1FF6-\u1FFC\u2071\u207F\u2090-\u209C\u2102\u2107\u210A-\u2113\u2115\u2118-\u211D\u2124\u2126\u2128\u212A-\u2139\u213C-\u213F\u2145-\u2149\u214E\u2160-\u2188\u2C00-\u2C2E\u2C30-\u2C5E\u2C60-\u2CE4\u2CEB-\u2CEE\u2CF2\u2CF3\u2D00-\u2D25\u2D27\u2D2D\u2D30-\u2D67\u2D6F\u2D80-\u2D96\u2DA0-\u2DA6\u2DA8-\u2DAE\u2DB0-\u2DB6\u2DB8-\u2DBE\u2DC0-\u2DC6\u2DC8-\u2DCE\u2DD0-\u2DD6\u2DD8-\u2DDE\u3005-\u3007\u3021-\u3029\u3031-\u3035\u3038-\u303C\u3041-\u3096\u309B-\u309F\u30A1-\u30FA\u30FC-\u30FF\u3105-\u312D\u3131-\u318E\u31A0-\u31BA\u31F0-\u31FF\u3400-\u4DB5\u4E00-\u9FD5\uA000-\uA48C\uA4D0-\uA4FD\uA500-\uA60C\uA610-\uA61F\uA62A\uA62B\uA640-\uA66E\uA67F-\uA69D\uA6A0-\uA6EF\uA717-\uA71F\uA722-\uA788\uA78B-\uA7AD\uA7B0-\uA7B7\uA7F7-\uA801\uA803-\uA805\uA807-\uA80A\uA80C-\uA822\uA840-\uA873\uA882-\uA8B3\uA8F2-\uA8F7\uA8FB\uA8FD\uA90A-\uA925\uA930-\uA946\uA960-\uA97C\uA984-\uA9B2\uA9CF\uA9E0-\uA9E4\uA9E6-\uA9EF\uA9FA-\uA9FE\uAA00-\uAA28\uAA40-\uAA42\uAA44-\uAA4B\uAA60-\uAA76\uAA7A\uAA7E-\uAAAF\uAAB1\uAAB5\uAAB6\uAAB9-\uAABD\uAAC0\uAAC2\uAADB-\uAADD\uAAE0-\uAAEA\uAAF2-\uAAF4\uAB01-\uAB06\uAB09-\uAB0E\uAB11-\uAB16\uAB20-\uAB26\uAB28-\uAB2E\uAB30-\uAB5A\uAB5C-\uAB65\uAB70-\uABE2\uAC00-\uD7A3\uD7B0-\uD7C6\uD7CB-\uD7FB\uF900-\uFA6D\uFA70-\uFAD9\uFB00-\uFB06\uFB13-\uFB17\uFB1D\uFB1F-\uFB28\uFB2A-\uFB36\uFB38-\uFB3C\uFB3E\uFB40\uFB41\uFB43\uFB44\uFB46-\uFBB1\uFBD3-\uFD3D\uFD50-\uFD8F\uFD92-\uFDC7\uFDF0-\uFDFB\uFE70-\uFE74\uFE76-\uFEFC\uFF21-\uFF3A\uFF41-\uFF5A\uFF66-\uFFBE\uFFC2-\uFFC7\uFFCA-\uFFCF\uFFD2-\uFFD7\uFFDA-\uFFDC]|\uD800[\uDC00-\uDC0B\uDC0D-\uDC26\uDC28-\uDC3A\uDC3C\uDC3D\uDC3F-\uDC4D\uDC50-\uDC5D\uDC80-\uDCFA\uDD40-\uDD74\uDE80-\uDE9C\uDEA0-\uDED0\uDF00-\uDF1F\uDF30-\uDF4A\uDF50-\uDF75\uDF80-\uDF9D\uDFA0-\uDFC3\uDFC8-\uDFCF\uDFD1-\uDFD5]|\uD801[\uDC00-\uDC9D\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[\uDC80-\uDCAF\uDCC4\uDCC5\uDCC7\uDD80-\uDDAE\uDDD8-\uDDDB\uDE00-\uDE2F\uDE44\uDE80-\uDEAA\uDF00-\uDF19]|\uD806[\uDCA0-\uDCDF\uDCFF\uDEC0-\uDEF8]|\uD808[\uDC00-\uDF99]|\uD809[\uDC00-\uDC6E\uDC80-\uDD43]|[\uD80C\uD840-\uD868\uD86A-\uD86C\uD86F-\uD872][\uDC00-\uDFFF]|\uD80D[\uDC00-\uDC2E]|\uD811[\uDC00-\uDE46]|\uD81A[\uDC00-\uDE38\uDE40-\uDE5E\uDED0-\uDEED\uDF00-\uDF2F\uDF40-\uDF43\uDF63-\uDF77\uDF7D-\uDF8F]|\uD81B[\uDF00-\uDF44\uDF50\uDF93-\uDF9F]|\uD82C[\uDC00\uDC01]|\uD82F[\uDC00-\uDC6A\uDC70-\uDC7C\uDC80-\uDC88\uDC90-\uDC99]|\uD835[\uDC00-\uDC54\uDC56-\uDC9C\uDC9E\uDC9F\uDCA2\uDCA5\uDCA6\uDCA9-\uDCAC\uDCAE-\uDCB9\uDCBB\uDCBD-\uDCC3\uDCC5-\uDD05\uDD07-\uDD0A\uDD0D-\uDD14\uDD16-\uDD1C\uDD1E-\uDD39\uDD3B-\uDD3E\uDD40-\uDD44\uDD46\uDD4A-\uDD50\uDD52-\uDEA5\uDEA8-\uDEC0\uDEC2-\uDEDA\uDEDC-\uDEFA\uDEFC-\uDF14\uDF16-\uDF34\uDF36-\uDF4E\uDF50-\uDF6E\uDF70-\uDF88\uDF8A-\uDFA8\uDFAA-\uDFC2\uDFC4-\uDFCB]|\uD83A[\uDC00-\uDCC4]|\uD83B[\uDE00-\uDE03\uDE05-\uDE1F\uDE21\uDE22\uDE24\uDE27\uDE29-\uDE32\uDE34-\uDE37\uDE39\uDE3B\uDE42\uDE47\uDE49\uDE4B\uDE4D-\uDE4F\uDE51\uDE52\uDE54\uDE57\uDE59\uDE5B\uDE5D\uDE5F\uDE61\uDE62\uDE64\uDE67-\uDE6A\uDE6C-\uDE72\uDE74-\uDE77\uDE79-\uDE7C\uDE7E\uDE80-\uDE89\uDE8B-\uDE9B\uDEA1-\uDEA3\uDEA5-\uDEA9\uDEAB-\uDEBB]|\uD869[\uDC00-\uDED6\uDF00-\uDFFF]|\uD86D[\uDC00-\uDF34\uDF40-\uDFFF]|\uD86E[\uDC00-\uDC1D\uDC20-\uDFFF]|\uD873[\uDC00-\uDEA1]|\uD87E[\uDC00-\uDE1D]/,ID_Continue:/(?:[$0-9A-Z_a-z\xAA\xB5\xB7\xBA\xC0-\xD6\xD8-\xF6\xF8-\u02C1\u02C6-\u02D1\u02E0-\u02E4\u02EC\u02EE\u0300-\u0374\u0376\u0377\u037A-\u037D\u037F\u0386-\u038A\u038C\u038E-\u03A1\u03A3-\u03F5\u03F7-\u0481\u0483-\u0487\u048A-\u052F\u0531-\u0556\u0559\u0561-\u0587\u0591-\u05BD\u05BF\u05C1\u05C2\u05C4\u05C5\u05C7\u05D0-\u05EA\u05F0-\u05F2\u0610-\u061A\u0620-\u0669\u066E-\u06D3\u06D5-\u06DC\u06DF-\u06E8\u06EA-\u06FC\u06FF\u0710-\u074A\u074D-\u07B1\u07C0-\u07F5\u07FA\u0800-\u082D\u0840-\u085B\u08A0-\u08B4\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\u0C81-\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\u0D57\u0D5F-\u0D63\u0D66-\u0D6F\u0D7A-\u0D7F\u0D82\u0D83\u0D85-\u0D96\u0D9A-\u0DB1\u0DB3-\u0DBB\u0DBD\u0DC0-\u0DC6\u0DCA\u0DCF-\u0DD4\u0DD6\u0DD8-\u0DDF\u0DE6-\u0DEF\u0DF2\u0DF3\u0E01-\u0E3A\u0E40-\u0E4E\u0E50-\u0E59\u0E81\u0E82\u0E84\u0E87\u0E88\u0E8A\u0E8D\u0E94-\u0E97\u0E99-\u0E9F\u0EA1-\u0EA3\u0EA5\u0EA7\u0EAA\u0EAB\u0EAD-\u0EB9\u0EBB-\u0EBD\u0EC0-\u0EC4\u0EC6\u0EC8-\u0ECD\u0ED0-\u0ED9\u0EDC-\u0EDF\u0F00\u0F18\u0F19\u0F20-\u0F29\u0F35\u0F37\u0F39\u0F3E-\u0F47\u0F49-\u0F6C\u0F71-\u0F84\u0F86-\u0F97\u0F99-\u0FBC\u0FC6\u1000-\u1049\u1050-\u109D\u10A0-\u10C5\u10C7\u10CD\u10D0-\u10FA\u10FC-\u1248\u124A-\u124D\u1250-\u1256\u1258\u125A-\u125D\u1260-\u1288\u128A-\u128D\u1290-\u12B0\u12B2-\u12B5\u12B8-\u12BE\u12C0\u12C2-\u12C5\u12C8-\u12D6\u12D8-\u1310\u1312-\u1315\u1318-\u135A\u135D-\u135F\u1369-\u1371\u1380-\u138F\u13A0-\u13F5\u13F8-\u13FD\u1401-\u166C\u166F-\u167F\u1681-\u169A\u16A0-\u16EA\u16EE-\u16F8\u1700-\u170C\u170E-\u1714\u1720-\u1734\u1740-\u1753\u1760-\u176C\u176E-\u1770\u1772\u1773\u1780-\u17D3\u17D7\u17DC\u17DD\u17E0-\u17E9\u180B-\u180D\u1810-\u1819\u1820-\u1877\u1880-\u18AA\u18B0-\u18F5\u1900-\u191E\u1920-\u192B\u1930-\u193B\u1946-\u196D\u1970-\u1974\u1980-\u19AB\u19B0-\u19C9\u19D0-\u19DA\u1A00-\u1A1B\u1A20-\u1A5E\u1A60-\u1A7C\u1A7F-\u1A89\u1A90-\u1A99\u1AA7\u1AB0-\u1ABD\u1B00-\u1B4B\u1B50-\u1B59\u1B6B-\u1B73\u1B80-\u1BF3\u1C00-\u1C37\u1C40-\u1C49\u1C4D-\u1C7D\u1CD0-\u1CD2\u1CD4-\u1CF6\u1CF8\u1CF9\u1D00-\u1DF5\u1DFC-\u1F15\u1F18-\u1F1D\u1F20-\u1F45\u1F48-\u1F4D\u1F50-\u1F57\u1F59\u1F5B\u1F5D\u1F5F-\u1F7D\u1F80-\u1FB4\u1FB6-\u1FBC\u1FBE\u1FC2-\u1FC4\u1FC6-\u1FCC\u1FD0-\u1FD3\u1FD6-\u1FDB\u1FE0-\u1FEC\u1FF2-\u1FF4\u1FF6-\u1FFC\u200C\u200D\u203F\u2040\u2054\u2071\u207F\u2090-\u209C\u20D0-\u20DC\u20E1\u20E5-\u20F0\u2102\u2107\u210A-\u2113\u2115\u2118-\u211D\u2124\u2126\u2128\u212A-\u2139\u213C-\u213F\u2145-\u2149\u214E\u2160-\u2188\u2C00-\u2C2E\u2C30-\u2C5E\u2C60-\u2CE4\u2CEB-\u2CF3\u2D00-\u2D25\u2D27\u2D2D\u2D30-\u2D67\u2D6F\u2D7F-\u2D96\u2DA0-\u2DA6\u2DA8-\u2DAE\u2DB0-\u2DB6\u2DB8-\u2DBE\u2DC0-\u2DC6\u2DC8-\u2DCE\u2DD0-\u2DD6\u2DD8-\u2DDE\u2DE0-\u2DFF\u3005-\u3007\u3021-\u302F\u3031-\u3035\u3038-\u303C\u3041-\u3096\u3099-\u309F\u30A1-\u30FA\u30FC-\u30FF\u3105-\u312D\u3131-\u318E\u31A0-\u31BA\u31F0-\u31FF\u3400-\u4DB5\u4E00-\u9FD5\uA000-\uA48C\uA4D0-\uA4FD\uA500-\uA60C\uA610-\uA62B\uA640-\uA66F\uA674-\uA67D\uA67F-\uA6F1\uA717-\uA71F\uA722-\uA788\uA78B-\uA7AD\uA7B0-\uA7B7\uA7F7-\uA827\uA840-\uA873\uA880-\uA8C4\uA8D0-\uA8D9\uA8E0-\uA8F7\uA8FB\uA8FD\uA900-\uA92D\uA930-\uA953\uA960-\uA97C\uA980-\uA9C0\uA9CF-\uA9D9\uA9E0-\uA9FE\uAA00-\uAA36\uAA40-\uAA4D\uAA50-\uAA59\uAA60-\uAA76\uAA7A-\uAAC2\uAADB-\uAADD\uAAE0-\uAAEF\uAAF2-\uAAF6\uAB01-\uAB06\uAB09-\uAB0E\uAB11-\uAB16\uAB20-\uAB26\uAB28-\uAB2E\uAB30-\uAB5A\uAB5C-\uAB65\uAB70-\uABEA\uABEC\uABED\uABF0-\uABF9\uAC00-\uD7A3\uD7B0-\uD7C6\uD7CB-\uD7FB\uF900-\uFA6D\uFA70-\uFAD9\uFB00-\uFB06\uFB13-\uFB17\uFB1D-\uFB28\uFB2A-\uFB36\uFB38-\uFB3C\uFB3E\uFB40\uFB41\uFB43\uFB44\uFB46-\uFBB1\uFBD3-\uFD3D\uFD50-\uFD8F\uFD92-\uFDC7\uFDF0-\uFDFB\uFE00-\uFE0F\uFE20-\uFE2F\uFE33\uFE34\uFE4D-\uFE4F\uFE70-\uFE74\uFE76-\uFEFC\uFF10-\uFF19\uFF21-\uFF3A\uFF3F\uFF41-\uFF5A\uFF66-\uFFBE\uFFC2-\uFFC7\uFFCA-\uFFCF\uFFD2-\uFFD7\uFFDA-\uFFDC]|\uD800[\uDC00-\uDC0B\uDC0D-\uDC26\uDC28-\uDC3A\uDC3C\uDC3D\uDC3F-\uDC4D\uDC50-\uDC5D\uDC80-\uDCFA\uDD40-\uDD74\uDDFD\uDE80-\uDE9C\uDEA0-\uDED0\uDEE0\uDF00-\uDF1F\uDF30-\uDF4A\uDF50-\uDF7A\uDF80-\uDF9D\uDFA0-\uDFC3\uDFC8-\uDFCF\uDFD1-\uDFD5]|\uD801[\uDC00-\uDC9D\uDCA0-\uDCA9\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\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[\uDC80-\uDCC5\uDCC7\uDCD0-\uDCD9\uDD80-\uDDB5\uDDB8-\uDDC0\uDDD8-\uDDDD\uDE00-\uDE40\uDE44\uDE50-\uDE59\uDE80-\uDEB7\uDEC0-\uDEC9\uDF00-\uDF19\uDF1D-\uDF2B\uDF30-\uDF39]|\uD806[\uDCA0-\uDCE9\uDCFF\uDEC0-\uDEF8]|\uD808[\uDC00-\uDF99]|\uD809[\uDC00-\uDC6E\uDC80-\uDD43]|[\uD80C\uD840-\uD868\uD86A-\uD86C\uD86F-\uD872][\uDC00-\uDFFF]|\uD80D[\uDC00-\uDC2E]|\uD811[\uDC00-\uDE46]|\uD81A[\uDC00-\uDE38\uDE40-\uDE5E\uDE60-\uDE69\uDED0-\uDEED\uDEF0-\uDEF4\uDF00-\uDF36\uDF40-\uDF43\uDF50-\uDF59\uDF63-\uDF77\uDF7D-\uDF8F]|\uD81B[\uDF00-\uDF44\uDF50-\uDF7E\uDF8F-\uDF9F]|\uD82C[\uDC00\uDC01]|\uD82F[\uDC00-\uDC6A\uDC70-\uDC7C\uDC80-\uDC88\uDC90-\uDC99\uDC9D\uDC9E]|\uD834[\uDD65-\uDD69\uDD6D-\uDD72\uDD7B-\uDD82\uDD85-\uDD8B\uDDAA-\uDDAD\uDE42-\uDE44]|\uD835[\uDC00-\uDC54\uDC56-\uDC9C\uDC9E\uDC9F\uDCA2\uDCA5\uDCA6\uDCA9-\uDCAC\uDCAE-\uDCB9\uDCBB\uDCBD-\uDCC3\uDCC5-\uDD05\uDD07-\uDD0A\uDD0D-\uDD14\uDD16-\uDD1C\uDD1E-\uDD39\uDD3B-\uDD3E\uDD40-\uDD44\uDD46\uDD4A-\uDD50\uDD52-\uDEA5\uDEA8-\uDEC0\uDEC2-\uDEDA\uDEDC-\uDEFA\uDEFC-\uDF14\uDF16-\uDF34\uDF36-\uDF4E\uDF50-\uDF6E\uDF70-\uDF88\uDF8A-\uDFA8\uDFAA-\uDFC2\uDFC4-\uDFCB\uDFCE-\uDFFF]|\uD836[\uDE00-\uDE36\uDE3B-\uDE6C\uDE75\uDE84\uDE9B-\uDE9F\uDEA1-\uDEAF]|\uD83A[\uDC00-\uDCC4\uDCD0-\uDCD6]|\uD83B[\uDE00-\uDE03\uDE05-\uDE1F\uDE21\uDE22\uDE24\uDE27\uDE29-\uDE32\uDE34-\uDE37\uDE39\uDE3B\uDE42\uDE47\uDE49\uDE4B\uDE4D-\uDE4F\uDE51\uDE52\uDE54\uDE57\uDE59\uDE5B\uDE5D\uDE5F\uDE61\uDE62\uDE64\uDE67-\uDE6A\uDE6C-\uDE72\uDE74-\uDE77\uDE79-\uDE7C\uDE7E\uDE80-\uDE89\uDE8B-\uDE9B\uDEA1-\uDEA3\uDEA5-\uDEA9\uDEAB-\uDEBB]|\uD869[\uDC00-\uDED6\uDF00-\uDFFF]|\uD86D[\uDC00-\uDF34\uDF40-\uDFFF]|\uD86E[\uDC00-\uDC1D\uDC20-\uDFFF]|\uD873[\uDC00-\uDEA1]|\uD87E[\uDC00-\uDE1D]|\uDB40[\uDD00-\uDDEF])+/};function get_full_char(S,E){if(is_surrogate_pair_head(S.charCodeAt(E))){if(is_surrogate_pair_tail(S.charCodeAt(E+1))){return S.charAt(E)+S.charAt(E+1)}}else if(is_surrogate_pair_tail(S.charCodeAt(E))){if(is_surrogate_pair_head(S.charCodeAt(E-1))){return S.charAt(E-1)+S.charAt(E)}}return S.charAt(E)}function get_full_char_code(S,E){if(is_surrogate_pair_head(S.charCodeAt(E))){return 65536+(S.charCodeAt(E)-55296<<10)+S.charCodeAt(E+1)-56320}return S.charCodeAt(E)}function get_full_char_length(S){var E=0;for(var k=0;k65535){S-=65536;return String.fromCharCode((S>>10)+55296)+String.fromCharCode(S%1024+56320)}return String.fromCharCode(S)}function is_surrogate_pair_head(S){return S>=55296&&S<=56319}function is_surrogate_pair_tail(S){return S>=56320&&S<=57343}function is_digit(S){return S>=48&&S<=57}function is_identifier_start(S){return Ue.ID_Start.test(S)}function is_identifier_char(S){return Ue.ID_Continue.test(S)}const We=/^[a-z_$][a-z0-9_$]*$/i;function is_basic_identifier_string(S){return We.test(S)}function is_identifier_string(S,E){if(We.test(S)){return true}if(!E&&/[\ud800-\udfff]/.test(S)){return false}var k=Ue.ID_Start.exec(S);if(!k||k.index!==0){return false}S=S.slice(k[0].length);if(!S){return true}k=Ue.ID_Continue.exec(S);return!!k&&k[0].length===S.length}function parse_js_number(S,E=true){if(!E&&S.includes("e")){return NaN}if(Ce.test(S)){return parseInt(S.substr(2),16)}else if(we.test(S)){return parseInt(S.substr(1),8)}else if(Ne.test(S)){return parseInt(S.substr(2),8)}else if(Ie.test(S)){return parseInt(S.substr(2),2)}else if(Fe.test(S)){return parseFloat(S)}else{var k=parseFloat(S);if(k==S)return k}}class JS_Parse_Error extends Error{constructor(S,E,k,w,N){super();this.name="SyntaxError";this.message=S;this.filename=E;this.line=k;this.col=w;this.pos=N}}function js_error(S,E,k,w,N){throw new JS_Parse_Error(S,E,k,w,N)}function is_token(S,E,k){return S.type==E&&(k==null||S.value==k)}var $e={};function tokenizer(S,E,k,w){var N={text:S,filename:E,pos:0,tokpos:0,line:1,tokline:0,col:0,tokcol:0,newline_before:false,regex_allowed:false,brace_counter:0,template_braces:[],comments_before:[],directives:{},directive_stack:[]};function peek(){return get_full_char(N.text,N.pos)}function is_option_chain_op(){const S=N.text.charCodeAt(N.pos+1)===46;if(!S)return false;const E=N.text.charCodeAt(N.pos+2);return E<48||E>57}function next(S,E){var k=get_full_char(N.text,N.pos++);if(S&&!k)throw $e;if(Le.has(k)){N.newline_before=N.newline_before||!E;++N.line;N.col=0;if(k=="\r"&&peek()=="\n"){++N.pos;k="\n"}}else{if(k.length>1){++N.pos;++N.col}++N.col}return k}function forward(S){while(S--)next()}function looking_at(S){return N.text.substr(N.pos,S.length)==S}function find_eol(){var S=N.text;for(var E=N.pos,k=N.text.length;E="0"&&S<="7"}function read_escaped_char(S,E,k){var w=next(true,S);switch(w.charCodeAt(0)){case 110:return"\n";case 114:return"\r";case 116:return"\t";case 98:return"\b";case 118:return"\v";case 102:return"\f";case 120:return String.fromCharCode(hex_bytes(2,E));case 117:if(peek()=="{"){next(true);if(peek()==="}")parse_error("Expecting hex-character between {}");while(peek()=="0")next(true);var j,q=find("}",true)-N.pos;if(q>6||(j=hex_bytes(q,E))>1114111){parse_error("Unicode reference out of bounds")}next(true);return from_char_code(j)}return String.fromCharCode(hex_bytes(4,E));case 10:return"";case 13:if(peek()=="\n"){next(true,S);return""}}if(is_octal(w)){if(k&&E){const S=w==="0"&&!is_octal(peek());if(!S){parse_error("Octal escape sequences are not allowed in template strings")}}return read_octal_escape_sequence(w,E)}return w}function read_octal_escape_sequence(S,E){var k=peek();if(k>="0"&&k<="7"){S+=next(true);if(S[0]<="3"&&(k=peek())>="0"&&k<="7")S+=next(true)}if(S==="0")return"\0";if(S.length>0&&next_token.has_directive("use strict")&&E)parse_error("Legacy octal escape sequences are not allowed in strict mode");return String.fromCharCode(parseInt(S,8))}function hex_bytes(S,E){var k=0;for(;S>0;--S){if(!E&&isNaN(parseInt(peek(),16))){return parseInt(k,16)||""}var w=next(true);if(isNaN(parseInt(w,16)))parse_error("Invalid hex-character pattern in string");k+=w}return parseInt(k,16)}var Ne=with_eof_error("Unterminated string constant",(function(){const S=N.pos;var E=next(),k=[];for(;;){var w=next(true,true);if(w=="\\")w=read_escaped_char(true,true);else if(w=="\r"||w=="\n")parse_error("Unterminated string constant");else if(w==E)break;k.push(w)}var j=token("string",k.join(""));ee=N.text.slice(S,N.pos);j.quote=E;return j}));var Ie=with_eof_error("Unterminated template",(function(S){if(S){N.template_braces.push(N.brace_counter)}var E="",k="",w,j;next(true,true);while((w=next(true,true))!="`"){if(w=="\r"){if(peek()=="\n")++N.pos;w="\n"}else if(w=="$"&&peek()=="{"){next(true,true);N.brace_counter++;j=token(S?"template_head":"template_substitution",E);ee=k;te=false;return j}k+=w;if(w=="\\"){var ne=N.pos;var ae=q&&(q.type==="name"||q.type==="punc"&&(q.value===")"||q.value==="]"));w=read_escaped_char(true,!ae,true);k+=N.text.substr(ne,N.pos-ne)}E+=w}N.template_braces.pop();j=token(S?"template_head":"template_substitution",E);ee=k;te=true;return j}));function skip_line_comment(S){var E=N.regex_allowed;var k=find_eol(),w;if(k==-1){w=N.text.substr(N.pos);N.pos=N.text.length}else{w=N.text.substring(N.pos,k);N.pos=k}N.col=N.tokcol+(N.pos-N.tokpos);N.comments_before.push(token(S,w,true));N.regex_allowed=E;return next_token}var Fe=with_eof_error("Unterminated multiline comment",(function(){var S=N.regex_allowed;var E=find("*/",true);var k=N.text.substring(N.pos,E).replace(/\r\n|\r|\u2028|\u2029/g,"\n");forward(get_full_char_length(k)+2);N.comments_before.push(token("comment2",k,true));N.newline_before=N.newline_before||k.includes("\n");N.regex_allowed=S;return next_token}));var Be=with_eof_error("Unterminated identifier name",(function(){var S=[],E,k=false;var read_escaped_identifier_char=function(){k=true;next();if(peek()!=="u"){parse_error("Expecting UnicodeEscapeSequence -- uXXXX or u{XXXX}")}return read_escaped_char(false,true)};if((E=peek())==="\\"){E=read_escaped_identifier_char();if(!is_identifier_start(E)){parse_error("First identifier char is an invalid identifier char")}}else if(is_identifier_start(E)){next()}else{return""}S.push(E);while((E=peek())!=null){if((E=peek())==="\\"){E=read_escaped_identifier_char();if(!is_identifier_char(E)){parse_error("Invalid escaped identifier char")}}else{if(!is_identifier_char(E)){break}next()}S.push(E)}const w=S.join("");if(_e.has(w)&&k){parse_error("Escaped characters are not allowed in keywords")}return w}));var Ue=with_eof_error("Unterminated regular expression",(function(S){var E=false,k,w=false;while(k=next(true))if(Le.has(k)){parse_error("Unexpected line terminator")}else if(E){S+="\\"+k;E=false}else if(k=="["){w=true;S+=k}else if(k=="]"&&w){w=false;S+=k}else if(k=="/"&&!w){break}else if(k=="\\"){E=true}else{S+=k}const N=Be();return token("regexp","/"+S+"/"+N)}));function read_operator(S){function grow(S){if(!peek())return S;var E=S+peek();if(Me.has(E)){next();return grow(E)}else{return S}}return token("operator",grow(S||next()))}function handle_slash(){next();switch(peek()){case"/":next();return skip_line_comment("comment1");case"*":next();return Fe()}return N.regex_allowed?Ue(""):read_operator("/")}function handle_eq_sign(){next();if(peek()===">"){next();return token("arrow","=>")}else{return read_operator("=")}}function handle_dot(){next();if(is_digit(peek().charCodeAt(0))){return read_num(".")}if(peek()==="."){next();next();return token("expand","...")}return token("punc",".")}function read_word(){var S=Be();if(j)return token("name",S);return ae.has(S)?token("atom",S):!ne.has(S)?token("name",S):Me.has(S)?token("operator",S):token("keyword",S)}function read_private_word(){next();return token("privatename",Be())}function with_eof_error(S,E){return function(k){try{return E(k)}catch(E){if(E===$e)parse_error(S);else throw E}}}function next_token(S){if(S!=null)return Ue(S);if(w&&N.pos==0&&looking_at("#!")){start_token();forward(2);skip_line_comment("comment5")}for(;;){skip_whitespace();start_token();if(k){if(looking_at("\x3c!--")){forward(4);skip_line_comment("comment3");continue}if(looking_at("--\x3e")&&N.newline_before){forward(3);skip_line_comment("comment4");continue}}var E=peek();if(!E)return token("eof");var j=E.charCodeAt(0);switch(j){case 34:case 39:return Ne();case 46:return handle_dot();case 47:{var q=handle_slash();if(q===next_token)continue;return q}case 61:return handle_eq_sign();case 63:{if(!is_option_chain_op())break;next();next();return token("punc","?.")}case 96:return Ie(true);case 123:N.brace_counter++;break;case 125:N.brace_counter--;if(N.template_braces.length>0&&N.template_braces[N.template_braces.length-1]===N.brace_counter)return Ie(false);break}if(is_digit(j))return read_num();if(ze.has(E))return token("punc",next());if(Ee.has(E))return read_operator();if(j==92||is_identifier_start(E))return read_word();if(j==35)return read_private_word();break}parse_error("Unexpected character '"+E+"'")}next_token.next=next;next_token.peek=peek;next_token.context=function(S){if(S)N=S;return N};next_token.add_directive=function(S){N.directive_stack[N.directive_stack.length-1].push(S);if(N.directives[S]===undefined){N.directives[S]=1}else{N.directives[S]++}};next_token.push_directives_stack=function(){N.directive_stack.push([])};next_token.pop_directives_stack=function(){var S=N.directive_stack[N.directive_stack.length-1];for(var E=0;E0};return next_token}var qe=makePredicate(["typeof","void","delete","--","++","!","~","-","+"]);var Ve=makePredicate(["--","++"]);var He=makePredicate(["=","+=","-=","??=","&&=","||=","/=","*=","**=","%=",">>=","<<=",">>>=","|=","^=","&="]);var Ge=makePredicate(["??=","&&=","||="]);var Je=function(S,E){for(var k=0;k","<=",">=","in","instanceof"],[">>","<<",">>>"],["+","-"],["*","/","%"],["**"]],{});var Ke=makePredicate(["atom","num","big_int","string","regexp","name"]);function parse(S,E){const k=new WeakMap;E=defaults(E,{bare_returns:false,ecma:null,expression:false,filename:null,html5_comments:true,module:false,shebang:true,strict:false,toplevel:null},true);var w={input:typeof S=="string"?tokenizer(S,E.filename,E.html5_comments,E.shebang):S,token:null,prev:null,peeked:null,in_function:0,in_async:-1,in_generator:-1,in_directives:true,in_loop:0,labels:[]};w.token=next();function is(S,E){return is_token(w.token,S,E)}function peek(){return w.peeked||(w.peeked=w.input())}function next(){w.prev=w.token;if(!w.peeked)peek();w.token=w.peeked;w.peeked=null;w.in_directives=w.in_directives&&(w.token.type=="string"||is("punc",";"));return w.token}function prev(){return w.prev}function croak(S,E,k,N){var j=w.input.context();js_error(S,j.filename,E!=null?E:j.tokline,k!=null?k:j.tokcol,N!=null?N:j.tokpos)}function token_error(S,E){croak(E,S.line,S.col)}function unexpected(S){if(S==null)S=w.token;token_error(S,"Unexpected token: "+S.type+" ("+S.value+")")}function expect_token(S,E){if(is(S,E)){return next()}token_error(w.token,"Unexpected token "+w.token.type+" «"+w.token.value+"»"+", expected "+S+" «"+E+"»")}function expect(S){return expect_token("punc",S)}function has_newline_before(S){return S.nlb||!S.comments_before.every((S=>!S.nlb))}function can_insert_semicolon(){return!E.strict&&(is("eof")||is("punc","}")||has_newline_before(w.token))}function is_in_generator(){return w.in_generator===w.in_function}function is_in_async(){return w.in_async===w.in_function}function can_await(){return w.in_async===w.in_function||w.in_function===0&&w.input.has_directive("use strict")}function semicolon(S){if(is("punc",";"))next();else if(!S&&!can_insert_semicolon())unexpected()}function parenthesised(){expect("(");var S=expression(true);expect(")");return S}function embed_tokens(S){return function _embed_tokens_wrapper(...E){const k=w.token;const N=S(...E);N.start=k;N.end=prev();return N}}function handle_regexp(){if(is("operator","/")||is("operator","/=")){w.peeked=null;w.token=w.input(w.token.value.substr(1))}}var N=embed_tokens((function statement(S,k,N){handle_regexp();switch(w.token.type){case"string":if(w.in_directives){var j=peek();if(!ee.includes("\\")&&(is_token(j,"punc",";")||is_token(j,"punc","}")||has_newline_before(j)||is_token(j,"eof"))){w.input.add_directive(w.token.value)}else{w.in_directives=false}}var q=w.in_directives,te=simple_statement();return q&&te.body instanceof sn?new rt(te.body):te;case"template_head":case"num":case"big_int":case"regexp":case"operator":case"atom":return simple_statement();case"name":if(w.token.value=="async"&&is_token(peek(),"keyword","function")){next();next();if(k){croak("functions are not allowed as the body of a loop")}return function_(Dt,false,true,S)}if(w.token.value=="import"&&!is_token(peek(),"punc","(")&&!is_token(peek(),"punc",".")){next();var ne=import_();semicolon();return ne}return is_token(peek(),"punc",":")?labeled_statement():simple_statement();case"punc":switch(w.token.value){case"{":return new ot({start:w.token,body:block_(),end:prev()});case"[":case"(":return simple_statement();case";":w.in_directives=false;next();return new st;default:unexpected()}case"keyword":switch(w.token.value){case"break":next();return break_cont(Lt);case"continue":next();return break_cont(Bt);case"debugger":next();semicolon();return new tt;case"do":next();var ae=in_loop(statement);expect_token("keyword","while");var _e=parenthesised();semicolon(true);return new ft({body:ae,condition:_e});case"while":next();return new mt({condition:parenthesised(),body:in_loop((function(){return statement(false,true)}))});case"for":next();return for_();case"class":next();if(k){croak("classes are not allowed as the body of a loop")}if(N){croak("classes are not allowed as the body of an if")}return class_(Fr,S);case"function":next();if(k){croak("functions are not allowed as the body of a loop")}return function_(Dt,false,false,S);case"if":next();return if_();case"return":if(w.in_function==0&&!E.bare_returns)croak("'return' outside of function");next();var ve=null;if(is("punc",";")){next()}else if(!can_insert_semicolon()){ve=expression(true);semicolon()}return new Ot({value:ve});case"switch":next();return new Wt({expression:parenthesised(),body:in_loop(switch_body_)});case"throw":next();if(has_newline_before(w.token))croak("Illegal newline after 'throw'");var ve=expression(true);semicolon();return new Mt({value:ve});case"try":next();return try_();case"var":next();var ne=var_();semicolon();return ne;case"let":next();var ne=let_();semicolon();return ne;case"const":next();var ne=const_();semicolon();return ne;case"with":if(w.input.has_directive("use strict")){croak("Strict mode may not include a with statement")}next();return new vt({expression:parenthesised(),body:statement()});case"export":if(!is_token(peek(),"punc","(")){next();var ne=export_();if(is("punc",";"))semicolon();return ne}}}unexpected()}));function labeled_statement(){var S=as_symbol(Yr);if(S.name==="await"&&is_in_async()){token_error(w.prev,"await cannot be used as label inside async function")}if(w.labels.some((E=>E.name===S.name))){croak("Label "+S.name+" defined twice")}expect(":");w.labels.push(S);var E=N();w.labels.pop();if(!(E instanceof dt)){S.references.forEach((function(E){if(E instanceof Bt){E=E.label.start;croak("Continue label `"+S.name+"` refers to non-IterationStatement.",E.line,E.col,E.pos)}}))}return new ut({body:E,label:S})}function simple_statement(S){return new nt({body:(S=expression(true),semicolon(),S)})}function break_cont(S){var E=null,k;if(!can_insert_semicolon()){E=as_symbol(rn,true)}if(E!=null){k=w.labels.find((S=>S.name===E.name));if(!k)croak("Undefined label "+E.name);E.thedef=k}else if(w.in_loop==0)croak(S.TYPE+" not inside a loop or switch");semicolon();var N=new S({label:E});if(k)k.references.push(N);return N}function for_(){var S="`for await` invalid in this context";var E=w.token;if(E.type=="name"&&E.value=="await"){if(!can_await()){token_error(E,S)}next()}else{E=false}expect("(");var k=null;if(!is("punc",";")){k=is("keyword","var")?(next(),var_(true)):is("keyword","let")?(next(),let_(true)):is("keyword","const")?(next(),const_(true)):expression(true,true);var N=is("operator","in");var j=is("name","of");if(E&&!j){token_error(E,S)}if(N||j){if(k instanceof Kt){if(k.definitions.length>1)token_error(k.start,"Only one variable declaration allowed in for..in loop")}else if(!(is_assignable(k)||(k=to_destructuring(k))instanceof At)){token_error(k.start,"Invalid left-hand side in for..in loop")}next();if(N){return for_in(k)}else{return for_of(k,!!E)}}}else if(E){token_error(E,S)}return regular_for(k)}function regular_for(S){expect(";");var E=is("punc",";")?null:expression(true);expect(";");var k=is("punc",")")?null:expression(true);expect(")");return new ht({init:S,condition:E,step:k,body:in_loop((function(){return N(false,true)}))})}function for_of(S,E){var k=S instanceof Kt?S.definitions[0].name:null;var w=expression(true);expect(")");return new yt({await:E,init:S,name:k,object:w,body:in_loop((function(){return N(false,true)}))})}function for_in(S){var E=expression(true);expect(")");return new _t({init:S,object:E,body:in_loop((function(){return N(false,true)}))})}var arrow_function=function(S,E,k){if(has_newline_before(w.token)){croak("Unexpected newline before arrow (=>)")}expect_token("arrow","=>");var N=_function_body(is("punc","{"),false,k);var j=N instanceof Array&&N.length?N[N.length-1].end:N instanceof Array?S:N.end;return new Ct({start:S,end:j,async:k,argnames:E,body:N})};var function_=function(S,E,k,w){var N=S===Dt;var j=is("operator","*");if(j){next()}var q=is("name")?as_symbol(N?$r:Hr):null;if(N&&!q){if(w){S=kt}else{unexpected()}}if(q&&S!==Tt&&!(q instanceof Lr))unexpected(prev());var ee=[];var te=_function_body(true,j||E,k,q,ee);return new S({start:ee.start,end:te.end,is_generator:j,async:k,name:q,argnames:ee,body:te})};function track_used_binding_identifiers(S,E){var k=new Set;var w=false;var N=false;var j=false;var q=!!E;var ee={add_parameter:function(E){if(k.has(E.value)){if(w===false){w=E}ee.check_strict()}else{k.add(E.value);if(S){switch(E.value){case"arguments":case"eval":case"yield":if(q){token_error(E,"Unexpected "+E.value+" identifier as parameter inside strict mode")}break;default:if(_e.has(E.value)){unexpected()}}}}},mark_default_assignment:function(S){if(N===false){N=S}},mark_spread:function(S){if(j===false){j=S}},mark_strict_mode:function(){q=true},is_strict:function(){return N!==false||j!==false||q},check_strict:function(){if(ee.is_strict()&&w!==false){token_error(w,"Parameter "+w.value+" was used already")}}};return ee}function parameters(S){var E=track_used_binding_identifiers(true,w.input.has_directive("use strict"));expect("(");while(!is("punc",")")){var k=parameter(E);S.push(k);if(!is("punc",")")){expect(",")}if(k instanceof St){break}}next()}function parameter(S,E){var k;var N=false;if(S===undefined){S=track_used_binding_identifiers(true,w.input.has_directive("use strict"))}if(is("expand","...")){N=w.token;S.mark_spread(w.token);next()}k=binding_element(S,E);if(is("operator","=")&&N===false){S.mark_default_assignment(w.token);next();k=new vr({start:k.start,left:k,operator:"=",right:expression(false),end:w.token})}if(N!==false){if(!is("punc",")")){unexpected()}k=new St({start:N,expression:k,end:N})}S.check_strict();return k}function binding_element(S,E){var k=[];var N=true;var j=false;var q;var ee=w.token;if(S===undefined){S=track_used_binding_identifiers(false,w.input.has_directive("use strict"))}E=E===undefined?Wr:E;if(is("punc","[")){next();while(!is("punc","]")){if(N){N=false}else{expect(",")}if(is("expand","...")){j=true;q=w.token;S.mark_spread(w.token);next()}if(is("punc")){switch(w.token.value){case",":k.push(new hn({start:w.token,end:w.token}));continue;case"]":break;case"[":case"{":k.push(binding_element(S,E));break;default:unexpected()}}else if(is("name")){S.add_parameter(w.token);k.push(as_symbol(E))}else{croak("Invalid function parameter")}if(is("operator","=")&&j===false){S.mark_default_assignment(w.token);next();k[k.length-1]=new vr({start:k[k.length-1].start,left:k[k.length-1],operator:"=",right:expression(false),end:w.token})}if(j){if(!is("punc","]")){croak("Rest element must be last element")}k[k.length-1]=new St({start:q,expression:k[k.length-1],end:q})}}expect("]");S.check_strict();return new At({start:ee,names:k,is_array:true,end:prev()})}else if(is("punc","{")){next();while(!is("punc","}")){if(N){N=false}else{expect(",")}if(is("expand","...")){j=true;q=w.token;S.mark_spread(w.token);next()}if(is("name")&&(is_token(peek(),"punc")||is_token(peek(),"operator"))&&[",","}","="].includes(peek().value)){S.add_parameter(w.token);var te=prev();var ne=as_symbol(E);if(j){k.push(new St({start:q,expression:ne,end:ne.end}))}else{k.push(new Er({start:te,key:ne.name,value:ne,end:ne.end}))}}else if(is("punc","}")){continue}else{var ae=w.token;var _e=as_property_name();if(_e===null){unexpected(prev())}else if(prev().type==="name"&&!is("punc",":")){k.push(new Er({start:prev(),key:_e,value:new E({start:prev(),name:_e,end:prev()}),end:prev()}))}else{expect(":");k.push(new Er({start:ae,quote:ae.quote,key:_e,value:binding_element(S,E),end:prev()}))}}if(j){if(!is("punc","}")){croak("Rest element must be last element")}}else if(is("operator","=")){S.mark_default_assignment(w.token);next();k[k.length-1].value=new vr({start:k[k.length-1].value.start,left:k[k.length-1].value,operator:"=",right:expression(false),end:w.token})}}expect("}");S.check_strict();return new At({start:ee,names:k,is_array:false,end:prev()})}else if(is("name")){S.add_parameter(w.token);return as_symbol(E)}else{croak("Invalid function parameter")}}function params_or_seq_(S,E){var k;var N;var j;var q=[];expect("(");while(!is("punc",")")){if(k)unexpected(k);if(is("expand","...")){k=w.token;if(E)N=w.token;next();q.push(new St({start:prev(),expression:expression(),end:w.token}))}else{q.push(expression())}if(!is("punc",")")){expect(",");if(is("punc",")")){j=prev();if(E)N=j}}}expect(")");if(S&&is("arrow","=>")){if(k&&j)unexpected(j)}else if(N){unexpected(N)}return q}function _function_body(S,E,k,N,j){var q=w.in_loop;var ee=w.labels;var te=w.in_generator;var ne=w.in_async;++w.in_function;if(E)w.in_generator=w.in_function;if(k)w.in_async=w.in_function;if(j)parameters(j);if(S)w.in_directives=true;w.in_loop=0;w.labels=[];if(S){w.input.push_directives_stack();var ae=block_();if(N)_verify_symbol(N);if(j)j.forEach(_verify_symbol);w.input.pop_directives_stack()}else{var ae=[new Ot({start:w.token,value:expression(false),end:w.token})]}--w.in_function;w.in_loop=q;w.labels=ee;w.in_generator=te;w.in_async=ne;return ae}function _await_expression(){if(!can_await()){croak("Unexpected await expression outside async function",w.prev.line,w.prev.col,w.prev.pos)}return new jt({start:prev(),end:w.token,expression:maybe_unary(true)})}function _yield_expression(){if(!is_in_generator()){croak("Unexpected yield expression outside generator function",w.prev.line,w.prev.col,w.prev.pos)}var S=w.token;var E=false;var k=true;if(can_insert_semicolon()||is("punc")&&Be.has(w.token.value)){k=false}else if(is("operator","*")){E=true;next()}return new zt({start:S,is_star:E,expression:k?expression():null,end:prev()})}function if_(){var S=parenthesised(),E=N(false,false,true),k=null;if(is("keyword","else")){next();k=N(false,false,true)}return new Ut({condition:S,body:E,alternative:k})}function block_(){expect("{");var S=[];while(!is("punc","}")){if(is("eof"))unexpected();S.push(N())}next();return S}function switch_body_(){expect("{");var S=[],E=null,k=null,j;while(!is("punc","}")){if(is("eof"))unexpected();if(is("keyword","case")){if(k)k.end=prev();E=[];k=new Vt({start:(j=w.token,next(),j),expression:expression(true),body:E});S.push(k);expect(":")}else if(is("keyword","default")){if(k)k.end=prev();E=[];k=new qt({start:(j=w.token,next(),expect(":"),j),body:E});S.push(k)}else{if(!E)unexpected();E.push(N())}}if(k)k.end=prev();next();return S}function try_(){var S=block_(),E=null,k=null;if(is("keyword","catch")){var N=w.token;next();if(is("punc","{")){var j=null}else{expect("(");var j=parameter(undefined,Kr);expect(")")}E=new Gt({start:N,argname:j,body:block_(),end:prev()})}if(is("keyword","finally")){var N=w.token;next();k=new Jt({start:N,body:block_(),end:prev()})}if(!E&&!k)croak("Missing catch/finally blocks");return new Ht({body:S,bcatch:E,bfinally:k})}function vardefs(S,E){var k=[];var N;for(;;){var j=E==="var"?Br:E==="const"?zr:E==="let"?Ur:null;if(is("punc","{")||is("punc","[")){N=new Zt({start:w.token,name:binding_element(undefined,j),value:is("operator","=")?(expect_token("operator","="),expression(false,S)):null,end:prev()})}else{N=new Zt({start:w.token,name:as_symbol(j),value:is("operator","=")?(next(),expression(false,S)):!S&&E==="const"?croak("Missing initializer in const declaration"):null,end:prev()});if(N.name.name=="import")croak("Unexpected token: import")}k.push(N);if(!is("punc",","))break;next()}return k}var var_=function(S){return new Qt({start:prev(),definitions:vardefs(S,"var"),end:prev()})};var let_=function(S){return new Xt({start:prev(),definitions:vardefs(S,"let"),end:prev()})};var const_=function(S){return new Yt({start:prev(),definitions:vardefs(S,"const"),end:prev()})};var new_=function(S){var E=w.token;expect_token("operator","new");if(is("punc",".")){next();expect_token("name","target");return subscripts(new Rr({start:E,end:prev()}),S)}var k=expr_atom(false),N;if(is("punc","(")){next();N=expr_list(")",true)}else{N=[]}var j=new ar({start:E,expression:k,args:N,end:prev()});annotate(j);return subscripts(j,S)};function as_atom_node(){var S=w.token,E;switch(S.type){case"name":E=_make_symbol(Zr);break;case"num":E=new cn({start:S,end:S,value:S.value,raw:ee});break;case"big_int":E=new ln({start:S,end:S,value:S.value});break;case"string":E=new sn({start:S,end:S,value:S.value,quote:S.quote});break;case"regexp":const[k,w,N]=S.value.match(/^\/(.*)\/(\w*)$/);E=new un({start:S,end:S,value:{source:w,flags:N}});break;case"atom":switch(S.value){case"false":E=new vn({start:S,end:S});break;case"true":E=new bn({start:S,end:S});break;case"null":E=new pn({start:S,end:S});break}break}next();return E}function to_fun_args(S,E){var insert_default=function(S,E){if(E){return new vr({start:S.start,left:S,operator:"=",right:E,end:E.end})}return S};if(S instanceof xr){return insert_default(new At({start:S.start,end:S.end,is_array:false,names:S.properties.map((S=>to_fun_args(S)))}),E)}else if(S instanceof Er){S.value=to_fun_args(S.value);return insert_default(S,E)}else if(S instanceof hn){return S}else if(S instanceof At){S.names=S.names.map((S=>to_fun_args(S)));return insert_default(S,E)}else if(S instanceof Zr){return insert_default(new Wr({name:S.name,start:S.start,end:S.end}),E)}else if(S instanceof St){S.expression=to_fun_args(S.expression);return insert_default(S,E)}else if(S instanceof br){return insert_default(new At({start:S.start,end:S.end,is_array:true,names:S.elements.map((S=>to_fun_args(S)))}),E)}else if(S instanceof yr){return insert_default(to_fun_args(S.left,S.right),E)}else if(S instanceof vr){S.left=to_fun_args(S.left);return S}else{croak("Invalid function parameter",S.start.line,S.start.col)}}var expr_atom=function(S,E){if(is("operator","new")){return new_(S)}if(is("operator","import")){return import_meta()}var N=w.token;var q;var ee=is("name","async")&&(q=peek()).value!="["&&q.type!="arrow"&&as_atom_node();if(is("punc")){switch(w.token.value){case"(":if(ee&&!S)break;var te=params_or_seq_(E,!ee);if(E&&is("arrow","=>")){return arrow_function(N,te.map((S=>to_fun_args(S))),!!ee)}var ae=ee?new ir({expression:ee,args:te}):te.length==1?te[0]:new sr({expressions:te});if(ae.start){const S=N.comments_before.length;k.set(N,S);ae.start.comments_before.unshift(...N.comments_before);N.comments_before=ae.start.comments_before;if(S==0&&N.comments_before.length>0){var _e=N.comments_before[0];if(!_e.nlb){_e.nlb=N.nlb;N.nlb=false}}N.comments_after=ae.start.comments_after}ae.start=N;var ve=prev();if(ae.end){ve.comments_before=ae.end.comments_before;ae.end.comments_after.push(...ve.comments_after);ve.comments_after=ae.end.comments_after}ae.end=ve;if(ae instanceof ir)annotate(ae);return subscripts(ae,S);case"[":return subscripts(j(),S);case"{":return subscripts(ne(),S)}if(!ee)unexpected()}if(E&&is("name")&&is_token(peek(),"arrow")){var Ee=new Wr({name:w.token.value,start:N,end:N});next();return arrow_function(N,[Ee],!!ee)}if(is("keyword","function")){next();var Te=function_(kt,false,!!ee);Te.start=N;Te.end=prev();return subscripts(Te,S)}if(ee)return subscripts(ee,S);if(is("keyword","class")){next();var Ce=class_(Or);Ce.start=N;Ce.end=prev();return subscripts(Ce,S)}if(is("template_head")){return subscripts(template_string(),S)}if(Ke.has(w.token.type)){return subscripts(as_atom_node(),S)}unexpected()};function template_string(){var S=[],E=w.token;S.push(new Nt({start:w.token,raw:ee,value:w.token.value,end:w.token}));while(!te){next();handle_regexp();S.push(expression(true));S.push(new Nt({start:w.token,raw:ee,value:w.token.value,end:w.token}))}next();return new Pt({start:E,segments:S,end:w.token})}function expr_list(S,E,k){var N=true,j=[];while(!is("punc",S)){if(N)N=false;else expect(",");if(E&&is("punc",S))break;if(is("punc",",")&&k){j.push(new hn({start:w.token,end:w.token}))}else if(is("expand","...")){next();j.push(new St({start:prev(),expression:expression(),end:w.token}))}else{j.push(expression(false))}}next();return j}var j=embed_tokens((function(){expect("[");return new br({elements:expr_list("]",!E.strict,true)})}));var q=embed_tokens(((S,E)=>function_(Tt,S,E)));var ne=embed_tokens((function object_or_destructuring_(){var S=w.token,k=true,N=[];expect("{");while(!is("punc","}")){if(k)k=false;else expect(",");if(!E.strict&&is("punc","}"))break;S=w.token;if(S.type=="expand"){next();N.push(new St({start:S,expression:expression(false),end:prev()}));continue}var j=as_property_name();var q;if(!is("punc",":")){var ee=concise_method_or_getset(j,S);if(ee){N.push(ee);continue}q=new Zr({start:prev(),name:j,end:prev()})}else if(j===null){unexpected(prev())}else{next();q=expression(false)}if(is("operator","=")){next();q=new yr({start:S,left:q,operator:"=",right:expression(false),logical:false,end:prev()})}N.push(new Er({start:S,quote:S.quote,key:j instanceof Ze?j:""+j,value:q,end:prev()}))}next();return new xr({properties:N})}));function class_(S,E){var k,N,j,q,ee=[];w.input.push_directives_stack();w.input.add_directive("use strict");if(w.token.type=="name"&&w.token.value!="extends"){j=as_symbol(S===Fr?Gr:Jr)}if(S===Fr&&!j){if(E){S=Or}else{unexpected()}}if(w.token.value=="extends"){next();q=expression(true)}expect("{");while(is("punc",";")){next()}while(!is("punc","}")){k=w.token;N=concise_method_or_getset(as_property_name(),k,true);if(!N){unexpected()}ee.push(N);while(is("punc",";")){next()}}w.input.pop_directives_stack();next();return new S({start:k,name:j,extends:q,properties:ee,end:prev()})}function concise_method_or_getset(S,E,k){const get_symbol_ast=(S,k=qr)=>{if(typeof S==="string"||typeof S==="number"){return new k({start:E,name:""+S,end:prev()})}else if(S===null){unexpected()}return S};const is_not_method_start=()=>!is("punc","(")&&!is("punc",",")&&!is("punc","}")&&!is("operator","=");var w=false;var N=false;var j=false;var ee=false;var te=null;if(k&&S==="static"&&is_not_method_start()){N=true;S=as_property_name()}if(S==="async"&&is_not_method_start()){w=true;S=as_property_name()}if(prev().type==="operator"&&prev().value==="*"){j=true;S=as_property_name()}if((S==="get"||S==="set")&&is_not_method_start()){te=S;S=as_property_name()}if(prev().type==="privatename"){ee=true}const ne=prev();if(te!=null){if(!ee){const k=te==="get"?Dr:Cr;S=get_symbol_ast(S);return new k({start:E,static:N,key:S,quote:S instanceof qr?ne.quote:undefined,value:q(),end:prev()})}else{const k=te==="get"?kr:Tr;return new k({start:E,static:N,key:get_symbol_ast(S),value:q(),end:prev()})}}if(is("punc","(")){S=get_symbol_ast(S);const k=ee?wr:Ar;var ae=new k({start:E,static:N,is_generator:j,async:w,key:S,quote:S instanceof qr?ne.quote:undefined,value:q(j,w),end:prev()});return ae}if(k){const k=get_symbol_ast(S,Vr);const w=k instanceof Vr?ne.quote:undefined;const j=ee?Ir:Nr;if(is("operator","=")){next();return new j({start:E,static:N,quote:w,key:k,value:expression(false),end:prev()})}else if(is("name")||is("privatename")||is("operator","*")||is("punc",";")||is("punc","}")){return new j({start:E,static:N,quote:w,key:k,end:prev()})}}}function import_(){var S=prev();var E;var k;if(is("name")){E=as_symbol(Qr)}if(is("punc",",")){next()}k=map_names(true);if(k||E){expect_token("name","from")}var N=w.token;if(N.type!=="string"){unexpected()}next();return new tr({start:S,imported_name:E,imported_names:k,module_name:new sn({start:N,value:N.value,quote:N.quote,end:N}),end:w.token})}function import_meta(){var S=w.token;expect_token("operator","import");expect_token("punc",".");expect_token("name","meta");return subscripts(new rr({start:S,end:prev()}),false)}function map_name(S){function make_symbol(S){return new S({name:as_property_name(),start:prev(),end:prev()})}var E=S?Xr:tn;var k=S?Qr:en;var N=w.token;var j;var q;if(S){j=make_symbol(E)}else{q=make_symbol(k)}if(is("name","as")){next();if(S){q=make_symbol(k)}else{j=make_symbol(E)}}else if(S){q=new k(j)}else{j=new E(q)}return new er({start:N,foreign_name:j,name:q,end:prev()})}function map_nameAsterisk(S,E){var k=S?Xr:tn;var N=S?Qr:en;var j=w.token;var q;var ee=prev();E=E||new N({name:"*",start:j,end:ee});q=new k({name:"*",start:j,end:ee});return new er({start:j,foreign_name:q,name:E,end:ee})}function map_names(S){var E;if(is("punc","{")){next();E=[];while(!is("punc","}")){E.push(map_name(S));if(is("punc",",")){next()}}next()}else if(is("operator","*")){var k;next();if(S&&is("name","as")){next();k=as_symbol(S?Qr:tn)}E=[map_nameAsterisk(S,k)]}return E}function export_(){var S=w.token;var E;var k;if(is("keyword","default")){E=true;next()}else if(k=map_names(false)){if(is("name","from")){next();var j=w.token;if(j.type!=="string"){unexpected()}next();return new nr({start:S,is_default:E,exported_names:k,module_name:new sn({start:j,value:j.value,quote:j.quote,end:j}),end:prev()})}else{return new nr({start:S,is_default:E,exported_names:k,end:prev()})}}var q;var ee;var te;if(is("punc","{")||E&&(is("keyword","class")||is("keyword","function"))&&is_token(peek(),"punc")){ee=expression(false);semicolon()}else if((q=N(E))instanceof Kt&&E){unexpected(q.start)}else if(q instanceof Kt||q instanceof Dt||q instanceof Fr){te=q}else if(q instanceof Or||q instanceof kt){ee=q}else if(q instanceof nt){ee=q.body}else{unexpected(q.start)}return new nr({start:S,is_default:E,exported_value:ee,exported_definition:te,end:prev()})}function as_property_name(){var S=w.token;switch(S.type){case"punc":if(S.value==="["){next();var E=expression(false);expect("]");return E}else unexpected(S);case"operator":if(S.value==="*"){next();return null}if(!["delete","in","instanceof","new","typeof","void"].includes(S.value)){unexpected(S)}case"name":case"privatename":case"string":case"num":case"big_int":case"keyword":case"atom":next();return S.value;default:unexpected(S)}}function as_name(){var S=w.token;if(S.type!="name"&&S.type!="privatename")unexpected();next();return S.value}function _make_symbol(S){var E=w.token.value;return new(E=="this"?nn:E=="super"?an:S)({name:String(E),start:w.token,end:w.token})}function _verify_symbol(S){var E=S.name;if(is_in_generator()&&E=="yield"){token_error(S.start,"Yield cannot be used as identifier inside generators")}if(w.input.has_directive("use strict")){if(E=="yield"){token_error(S.start,"Unexpected yield identifier inside strict mode")}if(S instanceof Lr&&(E=="arguments"||E=="eval")){token_error(S.start,"Unexpected "+E+" in strict mode")}}}function as_symbol(S,E){if(!is("name")){if(!E)croak("Name expected");return null}var k=_make_symbol(S);_verify_symbol(k);next();return k}function annotate(S){var E=S.start;var w=E.comments_before;const N=k.get(E);var j=N!=null?N:w.length;while(--j>=0){var q=w[j];if(/[@#]__/.test(q.value)){if(/[@#]__PURE__/.test(q.value)){set_annotation(S,Sn);break}if(/[@#]__INLINE__/.test(q.value)){set_annotation(S,En);break}if(/[@#]__NOINLINE__/.test(q.value)){set_annotation(S,Tn);break}}}}var subscripts=function(S,E,k){var w=S.start;if(is("punc",".")){next();const N=is("privatename")?ur:lr;return subscripts(new N({start:w,expression:S,optional:false,property:as_name(),end:prev()}),E,k)}if(is("punc","[")){next();var N=expression(true);expect("]");return subscripts(new dr({start:w,expression:S,optional:false,property:N,end:prev()}),E,k)}if(E&&is("punc","(")){next();var j=new ir({start:w,expression:S,optional:false,args:call_args(),end:prev()});annotate(j);return subscripts(j,true,k)}if(is("punc","?.")){next();let k;if(E&&is("punc","(")){next();const E=new ir({start:w,optional:true,expression:S,args:call_args(),end:prev()});annotate(E);k=subscripts(E,true,true)}else if(is("name")||is("privatename")){const N=is("privatename")?ur:lr;k=subscripts(new N({start:w,expression:S,optional:true,property:as_name(),end:prev()}),E,true)}else if(is("punc","[")){next();const N=expression(true);expect("]");k=subscripts(new dr({start:w,expression:S,optional:true,property:N,end:prev()}),E,true)}if(!k)unexpected();if(k instanceof pr)return k;return new pr({start:w,expression:k,end:prev()})}if(is("template_head")){if(k){unexpected()}return subscripts(new wt({start:w,prefix:S,template_string:template_string(),end:prev()}),E)}return S};function call_args(){var S=[];while(!is("punc",")")){if(is("expand","...")){next();S.push(new St({start:prev(),expression:expression(false),end:prev()}))}else{S.push(expression(false))}if(!is("punc",")")){expect(",")}}next();return S}var maybe_unary=function(S,E){var k=w.token;if(k.type=="name"&&k.value=="await"&&can_await()){next();return _await_expression()}if(is("operator")&&qe.has(k.value)){next();handle_regexp();var N=make_unary(mr,k,maybe_unary(S));N.start=k;N.end=prev();return N}var j=expr_atom(S,E);while(is("operator")&&Ve.has(w.token.value)&&!has_newline_before(w.token)){if(j instanceof Ct)unexpected();j=make_unary(gr,w.token,j);j.start=k;j.end=w.token;next()}return j};function make_unary(S,E,k){var N=E.value;switch(N){case"++":case"--":if(!is_assignable(k))croak("Invalid use of "+N+" operator",E.line,E.col,E.pos);break;case"delete":if(k instanceof Zr&&w.input.has_directive("use strict"))croak("Calling delete on expression not allowed in strict mode",k.start.line,k.start.col,k.start.pos);break}return new S({operator:N,expression:k})}var expr_op=function(S,E,k){var N=is("operator")?w.token.value:null;if(N=="in"&&k)N=null;if(N=="**"&&S instanceof mr&&!is_token(S.start,"punc","(")&&S.operator!=="--"&&S.operator!=="++")unexpected(S.start);var j=N!=null?Je[N]:null;if(j!=null&&(j>E||N==="**"&&E===j)){next();var q=expr_op(maybe_unary(true),j,k);return expr_op(new hr({start:S.start,left:S,operator:N,right:q,end:q.end}),E,k)}return S};function expr_ops(S){return expr_op(maybe_unary(true,true),0,S)}var maybe_conditional=function(S){var E=w.token;var k=expr_ops(S);if(is("operator","?")){next();var N=expression(false);expect(":");return new _r({start:E,condition:k,consequent:N,alternative:expression(false,S),end:prev()})}return k};function is_assignable(S){return S instanceof cr||S instanceof Zr}function to_destructuring(S){if(S instanceof xr){S=new At({start:S.start,names:S.properties.map(to_destructuring),is_array:false,end:S.end})}else if(S instanceof br){var E=[];for(var k=0;k=0;){j+="this."+E[q]+" = props."+E[q]+";"}const ee=w&&Object.create(w.prototype);if(ee&&ee.initialize||k&&k.initialize)j+="this.initialize();";j+="}";j+="this.flags = 0;";j+="}";var te=new Function(j)();if(ee){te.prototype=ee;te.BASE=w}if(w)w.SUBCLASSES.push(te);te.prototype.CTOR=te;te.prototype.constructor=te;te.PROPS=E||null;te.SELF_PROPS=N;te.SUBCLASSES=[];if(S){te.prototype.TYPE=te.TYPE=S}if(k)for(q in k)if(HOP(k,q)){if(q[0]==="$"){te[q.substr(1)]=k[q]}else{te.prototype[q]=k[q]}}te.DEFMETHOD=function(S,E){this.prototype[S]=E};return te}const has_tok_flag=(S,E)=>Boolean(S.flags&E);const set_tok_flag=(S,E,k)=>{if(k){S.flags|=E}else{S.flags&=~E}};const Qe=1;const Xe=2;const Ye=4;class AST_Token{constructor(S,E,k,w,N,j,q,ee,te){this.flags=j?1:0;this.type=S;this.value=E;this.line=k;this.col=w;this.pos=N;this.comments_before=q;this.comments_after=ee;this.file=te;Object.seal(this)}get nlb(){return has_tok_flag(this,Qe)}set nlb(S){set_tok_flag(this,Qe,S)}get quote(){return!has_tok_flag(this,Ye)?"":has_tok_flag(this,Xe)?"'":'"'}set quote(S){set_tok_flag(this,Xe,S==="'");set_tok_flag(this,Ye,!!S)}}var Ze=DEFNODE("Node","start end",{_clone:function(S){if(S){var E=this.clone();return E.transform(new TreeTransformer((function(S){if(S!==E){return S.clone(true)}})))}return new this.CTOR(this)},clone:function(S){return this._clone(S)},$documentation:"Base class of all AST nodes",$propdoc:{start:"[AST_Token] The first token of this node",end:"[AST_Token] The last token of this node"},_walk:function(S){return S._visit(this)},walk:function(S){return this._walk(S)},_children_backwards:()=>{}},null);var et=DEFNODE("Statement",null,{$documentation:"Base class of all statements"});var tt=DEFNODE("Debugger",null,{$documentation:"Represents a debugger statement"},et);var rt=DEFNODE("Directive","value quote",{$documentation:'Represents a directive, like "use strict";',$propdoc:{value:"[string] The value of this directive as a plain string (it's not an AST_String!)",quote:"[string] the original quote character"}},et);var nt=DEFNODE("SimpleStatement","body",{$documentation:"A statement consisting of an expression, i.e. a = 1 + 2",$propdoc:{body:"[AST_Node] an expression node (should not be instanceof AST_Statement)"},_walk:function(S){return S._visit(this,(function(){this.body._walk(S)}))},_children_backwards(S){S(this.body)}},et);function walk_body(S,E){const k=S.body;for(var w=0,N=k.length;w SymbolDef for all variables/functions defined in this scope",uses_with:"[boolean/S] tells whether this scope uses the `with` statement",uses_eval:"[boolean/S] tells whether this scope contains a direct call to the global `eval`",parent_scope:"[AST_Scope?/S] link to the parent scope",enclosed:"[SymbolDef*/S] a list of all symbol definitions that are accessed from this scope or any subscopes",cname:"[integer/S] current index for mangling variables (used internally by the mangler)"},get_defun_scope:function(){var S=this;while(S.is_block_scope()){S=S.parent_scope}return S},clone:function(S,E){var k=this._clone(S);if(S&&this.variables&&E&&!this._block_scope){k.figure_out_scope({},{toplevel:E,parent_scope:this.parent_scope})}else{if(this.variables)k.variables=new Map(this.variables);if(this.enclosed)k.enclosed=this.enclosed.slice();if(this._block_scope)k._block_scope=this._block_scope}return k},pinned:function(){return this.uses_eval||this.uses_with}},it);var xt=DEFNODE("Toplevel","globals",{$documentation:"The toplevel scope",$propdoc:{globals:"[Map/S] a map of name -> SymbolDef for all undeclared names"},wrap_commonjs:function(S){var E=this.body;var k="(function(exports){'$ORIG';})(typeof "+S+"=='undefined'?("+S+"={}):"+S+");";k=parse(k);k=k.transform(new TreeTransformer((function(S){if(S instanceof rt&&S.value=="$ORIG"){return N.splice(E)}})));return k},wrap_enclose:function(S){if(typeof S!="string")S="";var E=S.indexOf(":");if(E<0)E=S.length;var k=this.body;return parse(["(function(",S.slice(0,E),'){"$ORIG"})(',S.slice(E+1),")"].join("")).transform(new TreeTransformer((function(S){if(S instanceof rt&&S.value=="$ORIG"){return N.splice(k)}})))}},bt);var St=DEFNODE("Expansion","expression",{$documentation:"An expandible argument, such as ...rest, a splat, such as [1,2,...all], or an expansion in a variable declaration, such as var [first, ...rest] = list",$propdoc:{expression:"[AST_Node] the thing to be expanded"},_walk:function(S){return S._visit(this,(function(){this.expression.walk(S)}))},_children_backwards(S){S(this.expression)}});var Et=DEFNODE("Lambda","name argnames uses_arguments is_generator async",{$documentation:"Base class for functions",$propdoc:{name:"[AST_SymbolDeclaration?] the name of this function",argnames:"[AST_SymbolFunarg|AST_Destructuring|AST_Expansion|AST_DefaultAssign*] array of function arguments, destructurings, or expanding arguments",uses_arguments:"[boolean/S] tells whether this function accesses the arguments array",is_generator:"[boolean] is this a generator method",async:"[boolean] is this method async"},args_as_names:function(){var S=[];for(var E=0;E b)"},Et);var Dt=DEFNODE("Defun",null,{$documentation:"A function definition"},Et);var At=DEFNODE("Destructuring","names is_array",{$documentation:"A destructuring of several names. Used in destructuring assignment and with destructuring function argument names",$propdoc:{names:"[AST_Node*] Array of properties or elements",is_array:"[Boolean] Whether the destructuring represents an object or array"},_walk:function(S){return S._visit(this,(function(){this.names.forEach((function(E){E._walk(S)}))}))},_children_backwards(S){let E=this.names.length;while(E--)S(this.names[E])},all_symbols:function(){var S=[];this.walk(new TreeWalker((function(E){if(E instanceof Mr){S.push(E)}})));return S}});var wt=DEFNODE("PrefixedTemplateString","template_string prefix",{$documentation:"A templatestring with a prefix, such as String.raw`foobarbaz`",$propdoc:{template_string:"[AST_TemplateString] The template string",prefix:"[AST_Node] The prefix, which will get called."},_walk:function(S){return S._visit(this,(function(){this.prefix._walk(S);this.template_string._walk(S)}))},_children_backwards(S){S(this.template_string);S(this.prefix)}});var Pt=DEFNODE("TemplateString","segments",{$documentation:"A template string literal",$propdoc:{segments:"[AST_Node*] One or more segments, starting with AST_TemplateSegment. AST_Node may follow AST_TemplateSegment, but each AST_Node must be followed by AST_TemplateSegment."},_walk:function(S){return S._visit(this,(function(){this.segments.forEach((function(E){E._walk(S)}))}))},_children_backwards(S){let E=this.segments.length;while(E--)S(this.segments[E])}});var Nt=DEFNODE("TemplateSegment","value raw",{$documentation:"A segment of a template string literal",$propdoc:{value:"Content of the segment",raw:"Raw source of the segment"}});var It=DEFNODE("Jump",null,{$documentation:"Base class for “jumps” (for now that's `return`, `throw`, `break` and `continue`)"},et);var Ft=DEFNODE("Exit","value",{$documentation:"Base class for “exits” (`return` and `throw`)",$propdoc:{value:"[AST_Node?] the value returned or thrown by this statement; could be null for AST_Return"},_walk:function(S){return S._visit(this,this.value&&function(){this.value._walk(S)})},_children_backwards(S){if(this.value)S(this.value)}},It);var Ot=DEFNODE("Return",null,{$documentation:"A `return` statement"},Ft);var Mt=DEFNODE("Throw",null,{$documentation:"A `throw` statement"},Ft);var Rt=DEFNODE("LoopControl","label",{$documentation:"Base class for loop control statements (`break` and `continue`)",$propdoc:{label:"[AST_LabelRef?] the label, or null if none"},_walk:function(S){return S._visit(this,this.label&&function(){this.label._walk(S)})},_children_backwards(S){if(this.label)S(this.label)}},It);var Lt=DEFNODE("Break",null,{$documentation:"A `break` statement"},Rt);var Bt=DEFNODE("Continue",null,{$documentation:"A `continue` statement"},Rt);var jt=DEFNODE("Await","expression",{$documentation:"An `await` statement",$propdoc:{expression:"[AST_Node] the mandatory expression being awaited"},_walk:function(S){return S._visit(this,(function(){this.expression._walk(S)}))},_children_backwards(S){S(this.expression)}});var zt=DEFNODE("Yield","expression is_star",{$documentation:"A `yield` statement",$propdoc:{expression:"[AST_Node?] the value returned or thrown by this statement; could be null (representing undefined) but only when is_star is set to false",is_star:"[Boolean] Whether this is a yield or yield* statement"},_walk:function(S){return S._visit(this,this.expression&&function(){this.expression._walk(S)})},_children_backwards(S){if(this.expression)S(this.expression)}});var Ut=DEFNODE("If","condition alternative",{$documentation:"A `if` statement",$propdoc:{condition:"[AST_Node] the `if` condition",alternative:"[AST_Statement?] the `else` part, or null if not present"},_walk:function(S){return S._visit(this,(function(){this.condition._walk(S);this.body._walk(S);if(this.alternative)this.alternative._walk(S)}))},_children_backwards(S){if(this.alternative){S(this.alternative)}S(this.body);S(this.condition)}},ct);var Wt=DEFNODE("Switch","expression",{$documentation:"A `switch` statement",$propdoc:{expression:"[AST_Node] the `switch` “discriminant”"},_walk:function(S){return S._visit(this,(function(){this.expression._walk(S);walk_body(this,S)}))},_children_backwards(S){let E=this.body.length;while(E--)S(this.body[E]);S(this.expression)}},it);var $t=DEFNODE("SwitchBranch",null,{$documentation:"Base class for `switch` branches"},it);var qt=DEFNODE("Default",null,{$documentation:"A `default` switch branch"},$t);var Vt=DEFNODE("Case","expression",{$documentation:"A `case` switch branch",$propdoc:{expression:"[AST_Node] the `case` expression"},_walk:function(S){return S._visit(this,(function(){this.expression._walk(S);walk_body(this,S)}))},_children_backwards(S){let E=this.body.length;while(E--)S(this.body[E]);S(this.expression)}},$t);var Ht=DEFNODE("Try","bcatch bfinally",{$documentation:"A `try` statement",$propdoc:{bcatch:"[AST_Catch?] the catch block, or null if not present",bfinally:"[AST_Finally?] the finally block, or null if not present"},_walk:function(S){return S._visit(this,(function(){walk_body(this,S);if(this.bcatch)this.bcatch._walk(S);if(this.bfinally)this.bfinally._walk(S)}))},_children_backwards(S){if(this.bfinally)S(this.bfinally);if(this.bcatch)S(this.bcatch);let E=this.body.length;while(E--)S(this.body[E])}},it);var Gt=DEFNODE("Catch","argname",{$documentation:"A `catch` node; only makes sense as part of a `try` statement",$propdoc:{argname:"[AST_SymbolCatch|AST_Destructuring|AST_Expansion|AST_DefaultAssign] symbol for the exception"},_walk:function(S){return S._visit(this,(function(){if(this.argname)this.argname._walk(S);walk_body(this,S)}))},_children_backwards(S){let E=this.body.length;while(E--)S(this.body[E]);if(this.argname)S(this.argname)}},it);var Jt=DEFNODE("Finally",null,{$documentation:"A `finally` node; only makes sense as part of a `try` statement"},it);var Kt=DEFNODE("Definitions","definitions",{$documentation:"Base class for `var` or `const` nodes (variable declarations/initializations)",$propdoc:{definitions:"[AST_VarDef*] array of variable definitions"},_walk:function(S){return S._visit(this,(function(){var E=this.definitions;for(var k=0,w=E.length;k a`"},hr);var br=DEFNODE("Array","elements",{$documentation:"An array literal",$propdoc:{elements:"[AST_Node*] array of elements"},_walk:function(S){return S._visit(this,(function(){var E=this.elements;for(var k=0,w=E.length;kE._walk(S)))}))},_children_backwards(S){let E=this.properties.length;while(E--)S(this.properties[E]);if(this.extends)S(this.extends);if(this.name)S(this.name)}},bt);var Nr=DEFNODE("ClassProperty","static quote",{$documentation:"A class property",$propdoc:{static:"[boolean] whether this is a static key",quote:"[string] which quote is being used"},_walk:function(S){return S._visit(this,(function(){if(this.key instanceof Ze)this.key._walk(S);if(this.value instanceof Ze)this.value._walk(S)}))},_children_backwards(S){if(this.value instanceof Ze)S(this.value);if(this.key instanceof Ze)S(this.key)},computed_key(){return!(this.key instanceof Vr)}},Sr);var Ir=DEFNODE("ClassProperty","",{$documentation:"A class property for a private property"},Nr);var Fr=DEFNODE("DefClass",null,{$documentation:"A class definition"},Pr);var Or=DEFNODE("ClassExpression",null,{$documentation:"A class expression."},Pr);var Mr=DEFNODE("Symbol","scope name thedef",{$propdoc:{name:"[string] name of this symbol",scope:"[AST_Scope/S] the current scope (not necessarily the definition scope)",thedef:"[SymbolDef/S] the definition of this symbol"},$documentation:"Base class for all symbols"});var Rr=DEFNODE("NewTarget",null,{$documentation:"A reference to new.target"});var Lr=DEFNODE("SymbolDeclaration","init",{$documentation:"A declaration symbol (symbol in var/const, function name or argument, symbol in catch)"},Mr);var Br=DEFNODE("SymbolVar",null,{$documentation:"Symbol defining a variable"},Lr);var jr=DEFNODE("SymbolBlockDeclaration",null,{$documentation:"Base class for block-scoped declaration symbols"},Lr);var zr=DEFNODE("SymbolConst",null,{$documentation:"A constant declaration"},jr);var Ur=DEFNODE("SymbolLet",null,{$documentation:"A block-scoped `let` declaration"},jr);var Wr=DEFNODE("SymbolFunarg",null,{$documentation:"Symbol naming a function argument"},Br);var $r=DEFNODE("SymbolDefun",null,{$documentation:"Symbol defining a function"},Lr);var qr=DEFNODE("SymbolMethod",null,{$documentation:"Symbol in an object defining a method"},Mr);var Vr=DEFNODE("SymbolClassProperty",null,{$documentation:"Symbol for a class property"},Mr);var Hr=DEFNODE("SymbolLambda",null,{$documentation:"Symbol naming a function expression"},Lr);var Gr=DEFNODE("SymbolDefClass",null,{$documentation:"Symbol naming a class's name in a class declaration. Lexically scoped to its containing scope, and accessible within the class."},jr);var Jr=DEFNODE("SymbolClass",null,{$documentation:"Symbol naming a class's name. Lexically scoped to the class."},Lr);var Kr=DEFNODE("SymbolCatch",null,{$documentation:"Symbol naming the exception in catch"},jr);var Qr=DEFNODE("SymbolImport",null,{$documentation:"Symbol referring to an imported name"},jr);var Xr=DEFNODE("SymbolImportForeign",null,{$documentation:"A symbol imported from a module, but it is defined in the other module, and its real name is irrelevant for this module's purposes"},Mr);var Yr=DEFNODE("Label","references",{$documentation:"Symbol naming a label (declaration)",$propdoc:{references:"[AST_LoopControl*] a list of nodes referring to this label"},initialize:function(){this.references=[];this.thedef=this}},Mr);var Zr=DEFNODE("SymbolRef",null,{$documentation:"Reference to some symbol (not definition/declaration)"},Mr);var en=DEFNODE("SymbolExport",null,{$documentation:"Symbol referring to a name to export"},Zr);var tn=DEFNODE("SymbolExportForeign",null,{$documentation:"A symbol exported from this module, but it is used in the other module, and its real name is irrelevant for this module's purposes"},Mr);var rn=DEFNODE("LabelRef",null,{$documentation:"Reference to a label symbol"},Mr);var nn=DEFNODE("This",null,{$documentation:"The `this` symbol"},Mr);var an=DEFNODE("Super",null,{$documentation:"The `super` symbol"},nn);var on=DEFNODE("Constant",null,{$documentation:"Base class for all constants",getValue:function(){return this.value}});var sn=DEFNODE("String","value quote",{$documentation:"A string literal",$propdoc:{value:"[string] the contents of this string",quote:"[string] the original quote character"}},on);var cn=DEFNODE("Number","value raw",{$documentation:"A number literal",$propdoc:{value:"[number] the numeric value",raw:"[string] numeric value as string"}},on);var ln=DEFNODE("BigInt","value",{$documentation:"A big int literal",$propdoc:{value:"[string] big int value"}},on);var un=DEFNODE("RegExp","value",{$documentation:"A regexp literal",$propdoc:{value:"[RegExp] the actual regexp"}},on);var dn=DEFNODE("Atom",null,{$documentation:"Base class for atoms"},on);var pn=DEFNODE("Null",null,{$documentation:"The `null` atom",value:null},dn);var mn=DEFNODE("NaN",null,{$documentation:"The impossible value",value:0/0},dn);var gn=DEFNODE("Undefined",null,{$documentation:"The `undefined` value",value:function(){}()},dn);var hn=DEFNODE("Hole",null,{$documentation:"A hole in an array",value:function(){}()},dn);var _n=DEFNODE("Infinity",null,{$documentation:"The `Infinity` value",value:1/0},dn);var yn=DEFNODE("Boolean",null,{$documentation:"Base class for booleans"},dn);var vn=DEFNODE("False",null,{$documentation:"The `false` atom",value:false},yn);var bn=DEFNODE("True",null,{$documentation:"The `true` atom",value:true},yn);function walk(S,E,k=[S]){const w=k.push.bind(k);while(k.length){const S=k.pop();const N=E(S,k);if(N){if(N===xn)return true;continue}S._children_backwards(w)}return false}function walk_parent(S,E,k){const w=[S];const N=w.push.bind(w);const j=k?k.slice():[];const q=[];let ee;const te={parent:(S=0)=>{if(S===-1){return ee}if(k&&S>=j.length){S-=j.length;return k[k.length-(S+1)]}return j[j.length-(1+S)]}};while(w.length){ee=w.pop();while(q.length&&w.length==q[q.length-1]){j.pop();q.pop()}const S=E(ee,te);if(S){if(S===xn)return true;continue}const k=w.length;ee._children_backwards(N);if(w.length>k){j.push(ee);q.push(k-1)}}return false}const xn=Symbol("abort walk");class TreeWalker{constructor(S){this.visit=S;this.stack=[];this.directives=Object.create(null)}_visit(S,E){this.push(S);var k=this.visit(S,E?function(){E.call(S)}:noop);if(!k&&E){E.call(S)}this.pop();return k}parent(S){return this.stack[this.stack.length-2-(S||0)]}push(S){if(S instanceof Et){this.directives=Object.create(this.directives)}else if(S instanceof rt&&!this.directives[S.value]){this.directives[S.value]=S}else if(S instanceof Pr){this.directives=Object.create(this.directives);if(!this.directives["use strict"]){this.directives["use strict"]=S}}this.stack.push(S)}pop(){var S=this.stack.pop();if(S instanceof Et||S instanceof Pr){this.directives=Object.getPrototypeOf(this.directives)}}self(){return this.stack[this.stack.length-1]}find_parent(S){var E=this.stack;for(var k=E.length;--k>=0;){var w=E[k];if(w instanceof S)return w}}has_directive(S){var E=this.directives[S];if(E)return E;var k=this.stack[this.stack.length-1];if(k instanceof bt&&k.body){for(var w=0;w=0;){var w=E[k];if(w instanceof ut&&w.label.name==S.label.name)return w.body}else for(var k=E.length;--k>=0;){var w=E[k];if(w instanceof dt||S instanceof Lt&&w instanceof Wt)return w}}}class TreeTransformer extends TreeWalker{constructor(S,E){super();this.before=S;this.after=E}}const Sn=1;const En=2;const Tn=4;var kn=Object.freeze({__proto__:null,AST_Accessor:Tt,AST_Array:br,AST_Arrow:Ct,AST_Assign:yr,AST_Atom:dn,AST_Await:jt,AST_BigInt:ln,AST_Binary:hr,AST_Block:it,AST_BlockStatement:ot,AST_Boolean:yn,AST_Break:Lt,AST_Call:ir,AST_Case:Vt,AST_Catch:Gt,AST_Chain:pr,AST_Class:Pr,AST_ClassExpression:Or,AST_ClassPrivateProperty:Ir,AST_ClassProperty:Nr,AST_ConciseMethod:Ar,AST_Conditional:_r,AST_Const:Yt,AST_Constant:on,AST_Continue:Bt,AST_Debugger:tt,AST_Default:qt,AST_DefaultAssign:vr,AST_DefClass:Fr,AST_Definitions:Kt,AST_Defun:Dt,AST_Destructuring:At,AST_Directive:rt,AST_Do:ft,AST_Dot:lr,AST_DotHash:ur,AST_DWLoop:pt,AST_EmptyStatement:st,AST_Exit:Ft,AST_Expansion:St,AST_Export:nr,AST_False:vn,AST_Finally:Jt,AST_For:ht,AST_ForIn:_t,AST_ForOf:yt,AST_Function:kt,AST_Hole:hn,AST_If:Ut,AST_Import:tr,AST_ImportMeta:rr,AST_Infinity:_n,AST_IterationStatement:dt,AST_Jump:It,AST_Label:Yr,AST_LabeledStatement:ut,AST_LabelRef:rn,AST_Lambda:Et,AST_Let:Xt,AST_LoopControl:Rt,AST_NameMapping:er,AST_NaN:mn,AST_New:ar,AST_NewTarget:Rr,AST_Node:Ze,AST_Null:pn,AST_Number:cn,AST_Object:xr,AST_ObjectGetter:Dr,AST_ObjectKeyVal:Er,AST_ObjectProperty:Sr,AST_ObjectSetter:Cr,AST_PrefixedTemplateString:wt,AST_PrivateGetter:kr,AST_PrivateMethod:wr,AST_PrivateSetter:Tr,AST_PropAccess:cr,AST_RegExp:un,AST_Return:Ot,AST_Scope:bt,AST_Sequence:sr,AST_SimpleStatement:nt,AST_Statement:et,AST_StatementWithBody:ct,AST_String:sn,AST_Sub:dr,AST_Super:an,AST_Switch:Wt,AST_SwitchBranch:$t,AST_Symbol:Mr,AST_SymbolBlockDeclaration:jr,AST_SymbolCatch:Kr,AST_SymbolClass:Jr,AST_SymbolClassProperty:Vr,AST_SymbolConst:zr,AST_SymbolDeclaration:Lr,AST_SymbolDefClass:Gr,AST_SymbolDefun:$r,AST_SymbolExport:en,AST_SymbolExportForeign:tn,AST_SymbolFunarg:Wr,AST_SymbolImport:Qr,AST_SymbolImportForeign:Xr,AST_SymbolLambda:Hr,AST_SymbolLet:Ur,AST_SymbolMethod:qr,AST_SymbolRef:Zr,AST_SymbolVar:Br,AST_TemplateSegment:Nt,AST_TemplateString:Pt,AST_This:nn,AST_Throw:Mt,AST_Token:AST_Token,AST_Toplevel:xt,AST_True:bn,AST_Try:Ht,AST_Unary:fr,AST_UnaryPostfix:gr,AST_UnaryPrefix:mr,AST_Undefined:gn,AST_Var:Qt,AST_VarDef:Zt,AST_While:mt,AST_With:vt,AST_Yield:zt,TreeTransformer:TreeTransformer,TreeWalker:TreeWalker,walk:walk,walk_abort:xn,walk_body:walk_body,walk_parent:walk_parent,_INLINE:En,_NOINLINE:Tn,_PURE:Sn});function def_transform(S,E){S.DEFMETHOD("transform",(function(S,k){let w=undefined;S.push(this);if(S.before)w=S.before(this,E,k);if(w===undefined){w=this;E(w,S);if(S.after){const E=S.after(w,k);if(E!==undefined)w=E}}S.pop();return w}))}function do_list(S,E){return N(S,(function(S){return S.transform(E,true)}))}def_transform(Ze,noop);def_transform(ut,(function(S,E){S.label=S.label.transform(E);S.body=S.body.transform(E)}));def_transform(nt,(function(S,E){S.body=S.body.transform(E)}));def_transform(it,(function(S,E){S.body=do_list(S.body,E)}));def_transform(ft,(function(S,E){S.body=S.body.transform(E);S.condition=S.condition.transform(E)}));def_transform(mt,(function(S,E){S.condition=S.condition.transform(E);S.body=S.body.transform(E)}));def_transform(ht,(function(S,E){if(S.init)S.init=S.init.transform(E);if(S.condition)S.condition=S.condition.transform(E);if(S.step)S.step=S.step.transform(E);S.body=S.body.transform(E)}));def_transform(_t,(function(S,E){S.init=S.init.transform(E);S.object=S.object.transform(E);S.body=S.body.transform(E)}));def_transform(vt,(function(S,E){S.expression=S.expression.transform(E);S.body=S.body.transform(E)}));def_transform(Ft,(function(S,E){if(S.value)S.value=S.value.transform(E)}));def_transform(Rt,(function(S,E){if(S.label)S.label=S.label.transform(E)}));def_transform(Ut,(function(S,E){S.condition=S.condition.transform(E);S.body=S.body.transform(E);if(S.alternative)S.alternative=S.alternative.transform(E)}));def_transform(Wt,(function(S,E){S.expression=S.expression.transform(E);S.body=do_list(S.body,E)}));def_transform(Vt,(function(S,E){S.expression=S.expression.transform(E);S.body=do_list(S.body,E)}));def_transform(Ht,(function(S,E){S.body=do_list(S.body,E);if(S.bcatch)S.bcatch=S.bcatch.transform(E);if(S.bfinally)S.bfinally=S.bfinally.transform(E)}));def_transform(Gt,(function(S,E){if(S.argname)S.argname=S.argname.transform(E);S.body=do_list(S.body,E)}));def_transform(Kt,(function(S,E){S.definitions=do_list(S.definitions,E)}));def_transform(Zt,(function(S,E){S.name=S.name.transform(E);if(S.value)S.value=S.value.transform(E)}));def_transform(At,(function(S,E){S.names=do_list(S.names,E)}));def_transform(Et,(function(S,E){if(S.name)S.name=S.name.transform(E);S.argnames=do_list(S.argnames,E);if(S.body instanceof Ze){S.body=S.body.transform(E)}else{S.body=do_list(S.body,E)}}));def_transform(ir,(function(S,E){S.expression=S.expression.transform(E);S.args=do_list(S.args,E)}));def_transform(sr,(function(S,E){const k=do_list(S.expressions,E);S.expressions=k.length?k:[new cn({value:0})]}));def_transform(lr,(function(S,E){S.expression=S.expression.transform(E)}));def_transform(dr,(function(S,E){S.expression=S.expression.transform(E);S.property=S.property.transform(E)}));def_transform(pr,(function(S,E){S.expression=S.expression.transform(E)}));def_transform(zt,(function(S,E){if(S.expression)S.expression=S.expression.transform(E)}));def_transform(jt,(function(S,E){S.expression=S.expression.transform(E)}));def_transform(fr,(function(S,E){S.expression=S.expression.transform(E)}));def_transform(hr,(function(S,E){S.left=S.left.transform(E);S.right=S.right.transform(E)}));def_transform(_r,(function(S,E){S.condition=S.condition.transform(E);S.consequent=S.consequent.transform(E);S.alternative=S.alternative.transform(E)}));def_transform(br,(function(S,E){S.elements=do_list(S.elements,E)}));def_transform(xr,(function(S,E){S.properties=do_list(S.properties,E)}));def_transform(Sr,(function(S,E){if(S.key instanceof Ze){S.key=S.key.transform(E)}if(S.value)S.value=S.value.transform(E)}));def_transform(Pr,(function(S,E){if(S.name)S.name=S.name.transform(E);if(S.extends)S.extends=S.extends.transform(E);S.properties=do_list(S.properties,E)}));def_transform(St,(function(S,E){S.expression=S.expression.transform(E)}));def_transform(er,(function(S,E){S.foreign_name=S.foreign_name.transform(E);S.name=S.name.transform(E)}));def_transform(tr,(function(S,E){if(S.imported_name)S.imported_name=S.imported_name.transform(E);if(S.imported_names)do_list(S.imported_names,E);S.module_name=S.module_name.transform(E)}));def_transform(nr,(function(S,E){if(S.exported_definition)S.exported_definition=S.exported_definition.transform(E);if(S.exported_value)S.exported_value=S.exported_value.transform(E);if(S.exported_names)do_list(S.exported_names,E);if(S.module_name)S.module_name=S.module_name.transform(E)}));def_transform(Pt,(function(S,E){S.segments=do_list(S.segments,E)}));def_transform(wt,(function(S,E){S.prefix=S.prefix.transform(E);S.template_string=S.template_string.transform(E)}));(function(){var normalize_directives=function(S){var E=true;for(var k=0;k1||S.guardedHandlers&&S.guardedHandlers.length){throw new Error("Multiple catch clauses are not supported.")}return new Ht({start:my_start_token(S),end:my_end_token(S),body:from_moz(S.block).body,bcatch:from_moz(E[0]),bfinally:S.finalizer?new Jt(from_moz(S.finalizer)):null})},Property:function(S){var E=S.key;var k={start:my_start_token(E||S.value),end:my_end_token(S.value),key:E.type=="Identifier"?E.name:E.value,value:from_moz(S.value)};if(S.computed){k.key=from_moz(S.key)}if(S.method){k.is_generator=S.value.generator;k.async=S.value.async;if(!S.computed){k.key=new qr({name:k.key})}else{k.key=from_moz(S.key)}return new Ar(k)}if(S.kind=="init"){if(E.type!="Identifier"&&E.type!="Literal"){k.key=from_moz(E)}return new Er(k)}if(typeof k.key==="string"||typeof k.key==="number"){k.key=new qr({name:k.key})}k.value=new Tt(k.value);if(S.kind=="get")return new Dr(k);if(S.kind=="set")return new Cr(k);if(S.kind=="method"){k.async=S.value.async;k.is_generator=S.value.generator;k.quote=S.computed?'"':null;return new Ar(k)}},MethodDefinition:function(S){var E={start:my_start_token(S),end:my_end_token(S),key:S.computed?from_moz(S.key):new qr({name:S.key.name||S.key.value}),value:from_moz(S.value),static:S.static};if(S.kind=="get"){return new Dr(E)}if(S.kind=="set"){return new Cr(E)}E.is_generator=S.value.generator;E.async=S.value.async;return new Ar(E)},FieldDefinition:function(S){let E;if(S.computed){E=from_moz(S.key)}else{if(S.key.type!=="Identifier")throw new Error("Non-Identifier key in FieldDefinition");E=from_moz(S.key)}return new Nr({start:my_start_token(S),end:my_end_token(S),key:E,value:from_moz(S.value),static:S.static})},PropertyDefinition:function(S){let E;if(S.computed){E=from_moz(S.key)}else{if(S.key.type!=="Identifier")throw new Error("Non-Identifier key in PropertyDefinition");E=from_moz(S.key)}return new Nr({start:my_start_token(S),end:my_end_token(S),key:E,value:from_moz(S.value),static:S.static})},ArrayExpression:function(S){return new br({start:my_start_token(S),end:my_end_token(S),elements:S.elements.map((function(S){return S===null?new hn:from_moz(S)}))})},ObjectExpression:function(S){return new xr({start:my_start_token(S),end:my_end_token(S),properties:S.properties.map((function(S){if(S.type==="SpreadElement"){return from_moz(S)}S.type="Property";return from_moz(S)}))})},SequenceExpression:function(S){return new sr({start:my_start_token(S),end:my_end_token(S),expressions:S.expressions.map(from_moz)})},MemberExpression:function(S){return new(S.computed?dr:lr)({start:my_start_token(S),end:my_end_token(S),property:S.computed?from_moz(S.property):S.property.name,expression:from_moz(S.object),optional:S.optional||false})},ChainExpression:function(S){return new pr({start:my_start_token(S),end:my_end_token(S),expression:from_moz(S.expression)})},SwitchCase:function(S){return new(S.test?Vt:qt)({start:my_start_token(S),end:my_end_token(S),expression:from_moz(S.test),body:S.consequent.map(from_moz)})},VariableDeclaration:function(S){return new(S.kind==="const"?Yt:S.kind==="let"?Xt:Qt)({start:my_start_token(S),end:my_end_token(S),definitions:S.declarations.map(from_moz)})},ImportDeclaration:function(S){var E=null;var k=null;S.specifiers.forEach((function(S){if(S.type==="ImportSpecifier"){if(!k){k=[]}k.push(new er({start:my_start_token(S),end:my_end_token(S),foreign_name:from_moz(S.imported),name:from_moz(S.local)}))}else if(S.type==="ImportDefaultSpecifier"){E=from_moz(S.local)}else if(S.type==="ImportNamespaceSpecifier"){if(!k){k=[]}k.push(new er({start:my_start_token(S),end:my_end_token(S),foreign_name:new Xr({name:"*"}),name:from_moz(S.local)}))}}));return new tr({start:my_start_token(S),end:my_end_token(S),imported_name:E,imported_names:k,module_name:from_moz(S.source)})},ExportAllDeclaration:function(S){return new nr({start:my_start_token(S),end:my_end_token(S),exported_names:[new er({name:new tn({name:"*"}),foreign_name:new tn({name:"*"})})],module_name:from_moz(S.source)})},ExportNamedDeclaration:function(S){return new nr({start:my_start_token(S),end:my_end_token(S),exported_definition:from_moz(S.declaration),exported_names:S.specifiers&&S.specifiers.length?S.specifiers.map((function(S){return new er({foreign_name:from_moz(S.exported),name:from_moz(S.local)})})):null,module_name:from_moz(S.source)})},ExportDefaultDeclaration:function(S){return new nr({start:my_start_token(S),end:my_end_token(S),exported_value:from_moz(S.declaration),is_default:true})},Literal:function(S){var E=S.value,k={start:my_start_token(S),end:my_end_token(S)};var w=S.regex;if(w&&w.pattern){k.value={source:w.pattern,flags:w.flags};return new un(k)}else if(w){const w=S.raw||E;const N=w.match(/^\/(.*)\/(\w*)$/);if(!N)throw new Error("Invalid regex source "+w);const[j,q,ee]=N;k.value={source:q,flags:ee};return new un(k)}if(E===null)return new pn(k);switch(typeof E){case"string":k.value=E;return new sn(k);case"number":k.value=E;k.raw=S.raw||E.toString();return new cn(k);case"boolean":return new(E?bn:vn)(k)}},MetaProperty:function(S){if(S.meta.name==="new"&&S.property.name==="target"){return new Rr({start:my_start_token(S),end:my_end_token(S)})}else if(S.meta.name==="import"&&S.property.name==="meta"){return new rr({start:my_start_token(S),end:my_end_token(S)})}},Identifier:function(S){var k=E[E.length-2];return new(k.type=="LabeledStatement"?Yr:k.type=="VariableDeclarator"&&k.id===S?k.kind=="const"?zr:k.kind=="let"?Ur:Br:/Import.*Specifier/.test(k.type)?k.local===S?Qr:Xr:k.type=="ExportSpecifier"?k.local===S?en:tn:k.type=="FunctionExpression"?k.id===S?Hr:Wr:k.type=="FunctionDeclaration"?k.id===S?$r:Wr:k.type=="ArrowFunctionExpression"?k.params.includes(S)?Wr:Zr:k.type=="ClassExpression"?k.id===S?Jr:Zr:k.type=="Property"?k.key===S&&k.computed||k.value===S?Zr:qr:k.type=="PropertyDefinition"||k.type==="FieldDefinition"?k.key===S&&k.computed||k.value===S?Zr:Vr:k.type=="ClassDeclaration"?k.id===S?Gr:Zr:k.type=="MethodDefinition"?k.computed?Zr:qr:k.type=="CatchClause"?Kr:k.type=="BreakStatement"||k.type=="ContinueStatement"?rn:Zr)({start:my_start_token(S),end:my_end_token(S),name:S.name})},BigIntLiteral(S){return new ln({start:my_start_token(S),end:my_end_token(S),value:S.value})}};S.UpdateExpression=S.UnaryExpression=function To_Moz_Unary(S){var E="prefix"in S?S.prefix:S.type=="UnaryExpression"?true:false;return new(E?mr:gr)({start:my_start_token(S),end:my_end_token(S),operator:S.operator,expression:from_moz(S.argument)})};S.ClassDeclaration=S.ClassExpression=function From_Moz_Class(S){return new(S.type==="ClassDeclaration"?Fr:Or)({start:my_start_token(S),end:my_end_token(S),name:from_moz(S.id),extends:from_moz(S.superClass),properties:S.body.body.map(from_moz)})};map("EmptyStatement",st);map("BlockStatement",ot,"body@body");map("IfStatement",Ut,"test>condition, consequent>body, alternate>alternative");map("LabeledStatement",ut,"label>label, body>body");map("BreakStatement",Lt,"label>label");map("ContinueStatement",Bt,"label>label");map("WithStatement",vt,"object>expression, body>body");map("SwitchStatement",Wt,"discriminant>expression, cases@body");map("ReturnStatement",Ot,"argument>value");map("ThrowStatement",Mt,"argument>value");map("WhileStatement",mt,"test>condition, body>body");map("DoWhileStatement",ft,"test>condition, body>body");map("ForStatement",ht,"init>init, test>condition, update>step, body>body");map("ForInStatement",_t,"left>init, right>object, body>body");map("ForOfStatement",yt,"left>init, right>object, body>body, await=await");map("AwaitExpression",jt,"argument>expression");map("YieldExpression",zt,"argument>expression, delegate=is_star");map("DebuggerStatement",tt);map("VariableDeclarator",Zt,"id>name, init>value");map("CatchClause",Gt,"param>argname, body%body");map("ThisExpression",nn);map("Super",an);map("BinaryExpression",hr,"operator=operator, left>left, right>right");map("LogicalExpression",hr,"operator=operator, left>left, right>right");map("AssignmentExpression",yr,"operator=operator, left>left, right>right");map("ConditionalExpression",_r,"test>condition, consequent>consequent, alternate>alternative");map("NewExpression",ar,"callee>expression, arguments@args");map("CallExpression",ir,"callee>expression, optional=optional, arguments@args");def_to_moz(xt,(function To_Moz_Program(S){return to_moz_scope("Program",S)}));def_to_moz(St,(function To_Moz_Spread(S){return{type:to_moz_in_destructuring()?"RestElement":"SpreadElement",argument:to_moz(S.expression)}}));def_to_moz(wt,(function To_Moz_TaggedTemplateExpression(S){return{type:"TaggedTemplateExpression",tag:to_moz(S.prefix),quasi:to_moz(S.template_string)}}));def_to_moz(Pt,(function To_Moz_TemplateLiteral(S){var E=[];var k=[];for(var w=0;w({type:"BigIntLiteral",value:S.value})));yn.DEFMETHOD("to_mozilla_ast",on.prototype.to_mozilla_ast);pn.DEFMETHOD("to_mozilla_ast",on.prototype.to_mozilla_ast);hn.DEFMETHOD("to_mozilla_ast",(function To_Moz_ArrayHole(){return null}));it.DEFMETHOD("to_mozilla_ast",ot.prototype.to_mozilla_ast);Et.DEFMETHOD("to_mozilla_ast",kt.prototype.to_mozilla_ast);function my_start_token(S){var E=S.loc,k=E&&E.start;var w=S.range;return new AST_Token("","",k&&k.line||0,k&&k.column||0,w?w[0]:S.start,false,[],[],E&&E.source)}function my_end_token(S){var E=S.loc,k=E&&E.end;var w=S.range;return new AST_Token("","",k&&k.line||0,k&&k.column||0,w?w[0]:S.end,false,[],[],E&&E.source)}function map(E,k,w){var N="function From_Moz_"+E+"(M){\n";N+="return new U2."+k.name+"({\n"+"start: my_start_token(M),\n"+"end: my_end_token(M)";var j="function To_Moz_"+E+"(M){\n";j+="return {\n"+"type: "+JSON.stringify(E);if(w)w.split(/\s*,\s*/).forEach((function(S){var E=/([a-z0-9$_]+)([=@>%])([a-z0-9$_]+)/i.exec(S);if(!E)throw new Error("Can't understand property map: "+S);var k=E[1],w=E[2],q=E[3];N+=",\n"+q+": ";j+=",\n"+k+": ";switch(w){case"@":N+="M."+k+".map(from_moz)";j+="M."+q+".map(to_moz)";break;case">":N+="from_moz(M."+k+")";j+="to_moz(M."+q+")";break;case"=":N+="M."+k;j+="M."+q;break;case"%":N+="from_moz(M."+k+").body";j+="to_moz_block(M)";break;default:throw new Error("Can't understand operator in propmap: "+S)}}));N+="\n})\n}";j+="\n}\n}";N=new Function("U2","my_start_token","my_end_token","from_moz","return("+N+")")(kn,my_start_token,my_end_token,from_moz);j=new Function("to_moz","to_moz_block","to_moz_scope","return("+j+")")(to_moz,to_moz_block,to_moz_scope);S[E]=N;def_to_moz(k,j)}var E=null;function from_moz(k){E.push(k);var w=k!=null?S[k.type](k):null;E.pop();return w}Ze.from_mozilla_ast=function(S){var k=E;E=[];var w=from_moz(S);E=k;return w};function set_moz_loc(S,E){var k=S.start;var w=S.end;if(!(k&&w)){return E}if(k.pos!=null&&w.endpos!=null){E.range=[k.pos,w.endpos]}if(k.line){E.loc={start:{line:k.line,column:k.col},end:w.endline?{line:w.endline,column:w.endcol}:null};if(k.file){E.loc.source=k.file}}return E}function def_to_moz(S,E){S.DEFMETHOD("to_mozilla_ast",(function(S){return set_moz_loc(this,E(this,S))}))}var k=null;function to_moz(S){if(k===null){k=[]}k.push(S);var E=S!=null?S.to_mozilla_ast(k[k.length-2]):null;k.pop();if(k.length===0){k=null}return E}function to_moz_in_destructuring(){var S=k.length;while(S--){if(k[S]instanceof At){return true}}return false}function to_moz_block(S){return{type:"BlockStatement",body:S.body.map(to_moz)}}function to_moz_scope(S,E){var k=E.body.map(to_moz);if(E.body[0]instanceof nt&&E.body[0].body instanceof sn){k.unshift(to_moz(new st(E.body[0])))}return{type:S,body:k}}})();function first_in_statement(S){let E=S.parent(-1);for(let k=0,w;w=S.parent(k);k++){if(w instanceof et&&w.body===E)return true;if(w instanceof sr&&w.expressions[0]===E||w.TYPE==="Call"&&w.expression===E||w instanceof wt&&w.prefix===E||w instanceof lr&&w.expression===E||w instanceof dr&&w.expression===E||w instanceof _r&&w.condition===E||w instanceof hr&&w.left===E||w instanceof gr&&w.expression===E){E=w}else{return false}}}function left_is_object(S){if(S instanceof xr)return true;if(S instanceof sr)return left_is_object(S.expressions[0]);if(S.TYPE==="Call")return left_is_object(S.expression);if(S instanceof wt)return left_is_object(S.prefix);if(S instanceof lr||S instanceof dr)return left_is_object(S.expression);if(S instanceof _r)return left_is_object(S.condition);if(S instanceof hr)return left_is_object(S.left);if(S instanceof gr)return left_is_object(S.expression);return false}const Cn=/^$|[;{][\s\n]*$/;const Dn=10;const An=32;const wn=/[@#]__(PURE|INLINE|NOINLINE)__/g;function is_some_comments(S){return(S.type==="comment2"||S.type==="comment1")&&/@preserve|@lic|@cc_on|^\**!/i.test(S.value)}function OutputStream(S){var E=!S;S=defaults(S,{ascii_only:false,beautify:false,braces:false,comments:"some",ecma:5,ie8:false,indent_level:4,indent_start:0,inline_script:true,keep_numbers:false,keep_quoted_props:false,max_line_len:false,preamble:null,preserve_annotations:false,quote_keys:false,quote_style:0,safari10:false,semicolons:true,shebang:true,shorthand:undefined,source_map:null,webkit:false,width:80,wrap_iife:false,wrap_func_args:true},true);if(S.shorthand===undefined)S.shorthand=S.ecma>5;var k=return_false;if(S.comments){let E=S.comments;if(typeof S.comments==="string"&&/^\/.*\/[a-zA-Z]*$/.test(S.comments)){var w=S.comments.lastIndexOf("/");E=new RegExp(S.comments.substr(1,w-1),S.comments.substr(w+1))}if(E instanceof RegExp){k=function(S){return S.type!="comment5"&&E.test(S.value)}}else if(typeof E==="function"){k=function(S){return S.type!="comment5"&&E(this,S)}}else if(E==="some"){k=is_some_comments}else{k=return_true}}var N=0;var j=0;var q=1;var ee=0;var te="";let ne=new Set;var ae=S.ascii_only?function(E,k){if(S.ecma>=2015&&!S.safari10){E=E.replace(/[\ud800-\udbff][\udc00-\udfff]/g,(function(S){var E=get_full_char_code(S,0).toString(16);return"\\u{"+E+"}"}))}return E.replace(/[\u0000-\u001f\u007f-\uffff]/g,(function(S){var E=S.charCodeAt(0).toString(16);if(E.length<=2&&!k){while(E.length<2)E="0"+E;return"\\x"+E}else{while(E.length<4)E="0"+E;return"\\u"+E}}))}:function(S){return S.replace(/[\ud800-\udbff][\udc00-\udfff]|([\ud800-\udbff]|[\udc00-\udfff])/g,(function(S,E){if(E){return"\\u"+E.charCodeAt(0).toString(16)}return S}))};function make_string(E,k){var w=0,N=0;E=E.replace(/[\\\b\f\n\r\v\t\x22\x27\u2028\u2029\0\ufeff]/g,(function(k,j){switch(k){case'"':++w;return'"';case"'":++N;return"'";case"\\":return"\\\\";case"\n":return"\\n";case"\r":return"\\r";case"\t":return"\\t";case"\b":return"\\b";case"\f":return"\\f";case"\v":return S.ie8?"\\x0B":"\\v";case"\u2028":return"\\u2028";case"\u2029":return"\\u2029";case"\ufeff":return"\\ufeff";case"\0":return/[0-9]/.test(get_full_char(E,j+1))?"\\x00":"\\0"}return k}));function quote_single(){return"'"+E.replace(/\x27/g,"\\'")+"'"}function quote_double(){return'"'+E.replace(/\x22/g,'\\"')+'"'}function quote_template(){return"`"+E.replace(/`/g,"\\`")+"`"}E=ae(E);if(k==="`")return quote_template();switch(S.quote_style){case 1:return quote_single();case 2:return quote_double();case 3:return k=="'"?quote_single():quote_double();default:return w>N?quote_single():quote_double()}}function encode_string(E,k){var w=make_string(E,k);if(S.inline_script){w=w.replace(/<\x2f(script)([>\/\t\n\f\r ])/gi,"<\\/$1$2");w=w.replace(/\x3c!--/g,"\\x3c!--");w=w.replace(/--\x3e/g,"--\\x3e")}return w}function make_name(S){S=S.toString();S=ae(S,true);return S}function make_indent(E){return" ".repeat(S.indent_start+N-E*S.indent_level)}var _e=false;var ve=false;var Ee=false;var Te=0;var Ce=false;var we=false;var Ne=-1;var Ie="";var Fe,Oe,Me=S.source_map&&[];var Re=Me?function(){Me.forEach((function(E){try{let k=!E.name&&E.token.type=="name"?E.token.value:E.name;if(k instanceof Mr){k=k.name}S.source_map.add(E.token.file,E.line,E.col,E.token.line,E.token.col,is_basic_identifier_string(k)?k:undefined)}catch(S){}}));Me=[]}:noop;var Le=S.max_line_len?function(){if(j>S.max_line_len){if(Te){var E=te.slice(0,Te);var k=te.slice(Te);if(Me){var w=k.length-j;Me.forEach((function(S){S.line++;S.col+=w}))}te=E+"\n"+k;q++;ee++;j=k.length}}if(Te){Te=0;Re()}}:noop;var Be=makePredicate("( [ + * / - , . `");function print(E){E=String(E);var k=get_full_char(E,0);if(Ce&&k){Ce=false;if(k!=="\n"){print("\n");ze()}}if(we&&k){we=false;if(!/[\s;})]/.test(k)){je()}}Ne=-1;var w=Ie.charAt(Ie.length-1);if(Ee){Ee=false;if(w===":"&&k==="}"||(!k||!";}".includes(k))&&w!==";"){if(S.semicolons||Be.has(k)){te+=";";j++;ee++}else{Le();if(j>0){te+="\n";ee++;q++;j=0}if(/^\s+$/.test(E)){Ee=true}}if(!S.beautify)ve=false}}if(ve){if(is_identifier_char(w)&&(is_identifier_char(k)||k=="\\")||k=="/"&&k==w||(k=="+"||k=="-")&&k==Ie){te+=" ";j++;ee++}ve=false}if(Fe){Me.push({token:Fe,name:Oe,line:q,col:j});Fe=false;if(!Te)Re()}te+=E;_e=E[E.length-1]=="(";ee+=E.length;var N=E.split(/\r?\n/),ne=N.length-1;q+=ne;j+=N[0].length;if(ne>0){Le();j=N[ne].length}Ie=E}var star=function(){print("*")};var je=S.beautify?function(){print(" ")}:function(){ve=true};var ze=S.beautify?function(E){if(S.beautify){print(make_indent(E?.5:0))}}:noop;var Ue=S.beautify?function(S,E){if(S===true)S=next_indent();var k=N;N=S;var w=E();N=k;return w}:function(S,E){return E()};var We=S.beautify?function(){if(Ne<0)return print("\n");if(te[Ne]!="\n"){te=te.slice(0,Ne)+"\n"+te.slice(Ne);ee++;q++}Ne++}:S.max_line_len?function(){Le();Te=te.length}:noop;var $e=S.beautify?function(){print(";")}:function(){Ee=true};function force_semicolon(){Ee=false;print(";")}function next_indent(){return N+S.indent_level}function with_block(S){var E;print("{");We();Ue(next_indent(),(function(){E=S()}));ze();print("}");return E}function with_parens(S){print("(");var E=S();print(")");return E}function with_square(S){print("[");var E=S();print("]");return E}function comma(){print(",");je()}function colon(){print(":");je()}var qe=Me?function(S,E){Fe=S;Oe=E}:noop;function get(){if(Te){Le()}return te}function has_nlb(){let S=te.length-1;while(S>=0){const E=te.charCodeAt(S);if(E===Dn){return true}if(E!==An){return false}S--}return true}function filter_comment(E){if(!S.preserve_annotations){E=E.replace(wn," ")}if(/^\s*$/.test(E)){return""}return E.replace(/(<\s*\/\s*)(script)/i,"<\\/$2")}function prepend_comments(E){var w=this;var N=E.start;if(!N)return;var j=w.printed_comments;const q=E instanceof Ft&&E.value;if(N.comments_before&&j.has(N.comments_before)){if(q){N.comments_before=[]}else{return}}var te=N.comments_before;if(!te){te=N.comments_before=[]}j.add(te);if(q){var ne=new TreeWalker((function(S){var E=ne.parent();if(E instanceof Ft||E instanceof hr&&E.left===S||E.TYPE=="Call"&&E.expression===S||E instanceof _r&&E.condition===S||E instanceof lr&&E.expression===S||E instanceof sr&&E.expressions[0]===S||E instanceof dr&&E.expression===S||E instanceof gr){if(!S.start)return;var k=S.start.comments_before;if(k&&!j.has(k)){j.add(k);te=te.concat(k)}}else{return true}}));ne.push(E);E.value.walk(ne)}if(ee==0){if(te.length>0&&S.shebang&&te[0].type==="comment5"&&!j.has(te[0])){print("#!"+te.shift().value+"\n");ze()}var ae=S.preamble;if(ae){print(ae.replace(/\r\n?|[\n\u2028\u2029]|\s*$/g,"\n"))}}te=te.filter(k,E).filter((S=>!j.has(S)));if(te.length==0)return;var _e=has_nlb();te.forEach((function(S,E){j.add(S);if(!_e){if(S.nlb){print("\n");ze();_e=true}else if(E>0){je()}}if(/comment[134]/.test(S.type)){var k=filter_comment(S.value);if(k){print("//"+k+"\n");ze()}_e=true}else if(S.type=="comment2"){var k=filter_comment(S.value);if(k){print("/*"+k+"*/")}_e=false}}));if(!_e){if(N.nlb){print("\n");ze()}else{je()}}}function append_comments(S,E){var w=this;var N=S.end;if(!N)return;var j=w.printed_comments;var q=N[E?"comments_before":"comments_after"];if(!q||j.has(q))return;if(!(S instanceof et||q.every((S=>!/comment[134]/.test(S.type)))))return;j.add(q);var ee=te.length;q.filter(k,S).forEach((function(S,k){if(j.has(S))return;j.add(S);we=false;if(Ce){print("\n");ze();Ce=false}else if(S.nlb&&(k>0||!has_nlb())){print("\n");ze()}else if(k>0||!E){je()}if(/comment[134]/.test(S.type)){const E=filter_comment(S.value);if(E){print("//"+E)}Ce=true}else if(S.type=="comment2"){const E=filter_comment(S.value);if(E){print("/*"+E+"*/")}we=true}}));if(te.length>ee)Ne=ee}var Ve=[];return{get:get,toString:get,indent:ze,in_directive:false,use_asm:null,active_scope:null,indentation:function(){return N},current_width:function(){return j-N},should_break:function(){return S.width&&this.current_width()>=S.width},has_parens:function(){return _e},newline:We,print:print,star:star,space:je,comma:comma,colon:colon,last:function(){return Ie},semicolon:$e,force_semicolon:force_semicolon,to_utf8:ae,print_name:function(S){print(make_name(S))},print_string:function(S,E,k){var w=encode_string(S,E);if(k===true&&!w.includes("\\")){if(!Cn.test(te)){force_semicolon()}force_semicolon()}print(w)},print_template_string_chars:function(S){var E=encode_string(S,"`").replace(/\${/g,"\\${");return print(E.substr(1,E.length-2))},encode_string:encode_string,next_indent:next_indent,with_indent:Ue,with_block:with_block,with_parens:with_parens,with_square:with_square,add_mapping:qe,option:function(E){return S[E]},printed_comments:ne,prepend_comments:E?noop:prepend_comments,append_comments:E||k===return_false?noop:append_comments,line:function(){return q},col:function(){return j},pos:function(){return ee},push_node:function(S){Ve.push(S)},pop_node:function(){return Ve.pop()},parent:function(S){return Ve[Ve.length-2-(S||0)]}}}(function(){function DEFPRINT(S,E){S.DEFMETHOD("_codegen",E)}Ze.DEFMETHOD("print",(function(S,E){var k=this,w=k._codegen;if(k instanceof bt){S.active_scope=k}else if(!S.use_asm&&k instanceof rt&&k.value=="use asm"){S.use_asm=S.active_scope}function doit(){S.prepend_comments(k);k.add_source_map(S);w(k,S);S.append_comments(k)}S.push_node(k);if(E||k.needs_parens(S)){S.with_parens(doit)}else{doit()}S.pop_node();if(k===S.use_asm){S.use_asm=null}}));Ze.DEFMETHOD("_print",Ze.prototype.print);Ze.DEFMETHOD("print_to_string",(function(S){var E=OutputStream(S);this.print(E);return E.get()}));function PARENS(S,E){if(Array.isArray(S)){S.forEach((function(S){PARENS(S,E)}))}else{S.DEFMETHOD("needs_parens",E)}}PARENS(Ze,return_false);PARENS(kt,(function(S){if(!S.has_parens()&&first_in_statement(S)){return true}if(S.option("webkit")){var E=S.parent();if(E instanceof cr&&E.expression===this){return true}}if(S.option("wrap_iife")){var E=S.parent();if(E instanceof ir&&E.expression===this){return true}}if(S.option("wrap_func_args")){var E=S.parent();if(E instanceof ir&&E.args.includes(this)){return true}}return false}));PARENS(Ct,(function(S){var E=S.parent();if(S.option("wrap_func_args")&&E instanceof ir&&E.args.includes(this)){return true}return E instanceof cr&&E.expression===this}));PARENS(xr,(function(S){return!S.has_parens()&&first_in_statement(S)}));PARENS(Or,first_in_statement);PARENS(fr,(function(S){var E=S.parent();return E instanceof cr&&E.expression===this||E instanceof ir&&E.expression===this||E instanceof hr&&E.operator==="**"&&this instanceof mr&&E.left===this&&this.operator!=="++"&&this.operator!=="--"}));PARENS(jt,(function(S){var E=S.parent();return E instanceof cr&&E.expression===this||E instanceof ir&&E.expression===this||E instanceof hr&&E.operator==="**"&&E.left===this||S.option("safari10")&&E instanceof mr}));PARENS(sr,(function(S){var E=S.parent();return E instanceof ir||E instanceof fr||E instanceof hr||E instanceof Zt||E instanceof cr||E instanceof br||E instanceof Sr||E instanceof _r||E instanceof Ct||E instanceof vr||E instanceof St||E instanceof yt&&this===E.object||E instanceof zt||E instanceof nr}));PARENS(hr,(function(S){var E=S.parent();if(E instanceof ir&&E.expression===this)return true;if(E instanceof fr)return true;if(E instanceof cr&&E.expression===this)return true;if(E instanceof hr){const S=E.operator;const k=this.operator;if(k==="??"&&(S==="||"||S==="&&")){return true}if(S==="??"&&(k==="||"||k==="&&")){return true}const w=Je[S];const N=Je[k];if(w>N||w==N&&(this===E.right||S=="**")){return true}}}));PARENS(zt,(function(S){var E=S.parent();if(E instanceof hr&&E.operator!=="=")return true;if(E instanceof ir&&E.expression===this)return true;if(E instanceof _r&&E.condition===this)return true;if(E instanceof fr)return true;if(E instanceof cr&&E.expression===this)return true}));PARENS(cr,(function(S){var E=S.parent();if(E instanceof ar&&E.expression===this){return walk(this,(S=>{if(S instanceof bt)return true;if(S instanceof ir){return xn}}))}}));PARENS(ir,(function(S){var E=S.parent(),k;if(E instanceof ar&&E.expression===this||E instanceof nr&&E.is_default&&this.expression instanceof kt)return true;return this.expression instanceof kt&&E instanceof cr&&E.expression===this&&(k=S.parent(1))instanceof yr&&k.left===E}));PARENS(ar,(function(S){var E=S.parent();if(this.args.length===0&&(E instanceof cr||E instanceof ir&&E.expression===this))return true}));PARENS(cn,(function(S){var E=S.parent();if(E instanceof cr&&E.expression===this){var k=this.getValue();if(k<0||/^0/.test(make_num(k))){return true}}}));PARENS(ln,(function(S){var E=S.parent();if(E instanceof cr&&E.expression===this){var k=this.getValue();if(k.startsWith("-")){return true}}}));PARENS([yr,_r],(function(S){var E=S.parent();if(E instanceof fr)return true;if(E instanceof hr&&!(E instanceof yr))return true;if(E instanceof ir&&E.expression===this)return true;if(E instanceof _r&&E.condition===this)return true;if(E instanceof cr&&E.expression===this)return true;if(this instanceof yr&&this.left instanceof At&&this.left.is_array===false)return true}));DEFPRINT(rt,(function(S,E){E.print_string(S.value,S.quote);E.semicolon()}));DEFPRINT(St,(function(S,E){E.print("...");S.expression.print(E)}));DEFPRINT(At,(function(S,E){E.print(S.is_array?"[":"{");var k=S.names.length;S.names.forEach((function(S,w){if(w>0)E.comma();S.print(E);if(w==k-1&&S instanceof hn)E.comma()}));E.print(S.is_array?"]":"}")}));DEFPRINT(tt,(function(S,E){E.print("debugger");E.semicolon()}));function display_body(S,E,k,w){var N=S.length-1;k.in_directive=w;S.forEach((function(S,w){if(k.in_directive===true&&!(S instanceof rt||S instanceof st||S instanceof nt&&S.body instanceof sn)){k.in_directive=false}if(!(S instanceof st)){k.indent();S.print(k);if(!(w==N&&E)){k.newline();if(E)k.newline()}}if(k.in_directive===true&&S instanceof nt&&S.body instanceof sn){k.in_directive=false}}));k.in_directive=false}ct.DEFMETHOD("_do_print_body",(function(S){force_statement(this.body,S)}));DEFPRINT(et,(function(S,E){S.body.print(E);E.semicolon()}));DEFPRINT(xt,(function(S,E){display_body(S.body,true,E,true);E.print("")}));DEFPRINT(ut,(function(S,E){S.label.print(E);E.colon();S.body.print(E)}));DEFPRINT(nt,(function(S,E){S.body.print(E);E.semicolon()}));function print_braced_empty(S,E){E.print("{");E.with_indent(E.next_indent(),(function(){E.append_comments(S,true)}));E.print("}")}function print_braced(S,E,k){if(S.body.length>0){E.with_block((function(){display_body(S.body,false,E,k)}))}else print_braced_empty(S,E)}DEFPRINT(ot,(function(S,E){print_braced(S,E)}));DEFPRINT(st,(function(S,E){E.semicolon()}));DEFPRINT(ft,(function(S,E){E.print("do");E.space();make_block(S.body,E);E.space();E.print("while");E.space();E.with_parens((function(){S.condition.print(E)}));E.semicolon()}));DEFPRINT(mt,(function(S,E){E.print("while");E.space();E.with_parens((function(){S.condition.print(E)}));E.space();S._do_print_body(E)}));DEFPRINT(ht,(function(S,E){E.print("for");E.space();E.with_parens((function(){if(S.init){if(S.init instanceof Kt){S.init.print(E)}else{parenthesize_for_noin(S.init,E,true)}E.print(";");E.space()}else{E.print(";")}if(S.condition){S.condition.print(E);E.print(";");E.space()}else{E.print(";")}if(S.step){S.step.print(E)}}));E.space();S._do_print_body(E)}));DEFPRINT(_t,(function(S,E){E.print("for");if(S.await){E.space();E.print("await")}E.space();E.with_parens((function(){S.init.print(E);E.space();E.print(S instanceof yt?"of":"in");E.space();S.object.print(E)}));E.space();S._do_print_body(E)}));DEFPRINT(vt,(function(S,E){E.print("with");E.space();E.with_parens((function(){S.expression.print(E)}));E.space();S._do_print_body(E)}));Et.DEFMETHOD("_do_print",(function(S,E){var k=this;if(!E){if(k.async){S.print("async");S.space()}S.print("function");if(k.is_generator){S.star()}if(k.name){S.space()}}if(k.name instanceof Mr){k.name.print(S)}else if(E&&k.name instanceof Ze){S.with_square((function(){k.name.print(S)}))}S.with_parens((function(){k.argnames.forEach((function(E,k){if(k)S.comma();E.print(S)}))}));S.space();print_braced(k,S,true)}));DEFPRINT(Et,(function(S,E){S._do_print(E)}));DEFPRINT(wt,(function(S,E){var k=S.prefix;var w=k instanceof Et||k instanceof hr||k instanceof _r||k instanceof sr||k instanceof fr||k instanceof lr&&k.expression instanceof xr;if(w)E.print("(");S.prefix.print(E);if(w)E.print(")");S.template_string.print(E)}));DEFPRINT(Pt,(function(S,E){var k=E.parent()instanceof wt;E.print("`");for(var w=0;w");S.space();const N=E.body[0];if(E.body.length===1&&N instanceof Ot){const E=N.value;if(!E){S.print("{}")}else if(left_is_object(E)){S.print("(");E.print(S);S.print(")")}else{E.print(S)}}else{print_braced(E,S)}if(w){S.print(")")}}));Ft.DEFMETHOD("_do_print",(function(S,E){S.print(E);if(this.value){S.space();const E=this.value.start.comments_before;if(E&&E.length&&!S.printed_comments.has(E)){S.print("(");this.value.print(S);S.print(")")}else{this.value.print(S)}}S.semicolon()}));DEFPRINT(Ot,(function(S,E){S._do_print(E,"return")}));DEFPRINT(Mt,(function(S,E){S._do_print(E,"throw")}));DEFPRINT(zt,(function(S,E){var k=S.is_star?"*":"";E.print("yield"+k);if(S.expression){E.space();S.expression.print(E)}}));DEFPRINT(jt,(function(S,E){E.print("await");E.space();var k=S.expression;var w=!(k instanceof ir||k instanceof Zr||k instanceof cr||k instanceof fr||k instanceof on||k instanceof jt||k instanceof xr);if(w)E.print("(");S.expression.print(E);if(w)E.print(")")}));Rt.DEFMETHOD("_do_print",(function(S,E){S.print(E);if(this.label){S.space();this.label.print(S)}S.semicolon()}));DEFPRINT(Lt,(function(S,E){S._do_print(E,"break")}));DEFPRINT(Bt,(function(S,E){S._do_print(E,"continue")}));function make_then(S,E){var k=S.body;if(E.option("braces")||E.option("ie8")&&k instanceof ft)return make_block(k,E);if(!k)return E.force_semicolon();while(true){if(k instanceof Ut){if(!k.alternative){make_block(S.body,E);return}k=k.alternative}else if(k instanceof ct){k=k.body}else break}force_statement(S.body,E)}DEFPRINT(Ut,(function(S,E){E.print("if");E.space();E.with_parens((function(){S.condition.print(E)}));E.space();if(S.alternative){make_then(S,E);E.space();E.print("else");E.space();if(S.alternative instanceof Ut)S.alternative.print(E);else force_statement(S.alternative,E)}else{S._do_print_body(E)}}));DEFPRINT(Wt,(function(S,E){E.print("switch");E.space();E.with_parens((function(){S.expression.print(E)}));E.space();var k=S.body.length-1;if(k<0)print_braced_empty(S,E);else E.with_block((function(){S.body.forEach((function(S,w){E.indent(true);S.print(E);if(w0)E.newline()}))}))}));$t.DEFMETHOD("_do_print_body",(function(S){S.newline();this.body.forEach((function(E){S.indent();E.print(S);S.newline()}))}));DEFPRINT(qt,(function(S,E){E.print("default:");S._do_print_body(E)}));DEFPRINT(Vt,(function(S,E){E.print("case");E.space();S.expression.print(E);E.print(":");S._do_print_body(E)}));DEFPRINT(Ht,(function(S,E){E.print("try");E.space();print_braced(S,E);if(S.bcatch){E.space();S.bcatch.print(E)}if(S.bfinally){E.space();S.bfinally.print(E)}}));DEFPRINT(Gt,(function(S,E){E.print("catch");if(S.argname){E.space();E.with_parens((function(){S.argname.print(E)}))}E.space();print_braced(S,E)}));DEFPRINT(Jt,(function(S,E){E.print("finally");E.space();print_braced(S,E)}));Kt.DEFMETHOD("_do_print",(function(S,E){S.print(E);S.space();this.definitions.forEach((function(E,k){if(k)S.comma();E.print(S)}));var k=S.parent();var w=k instanceof ht||k instanceof _t;var N=!w||k&&k.init!==this;if(N)S.semicolon()}));DEFPRINT(Xt,(function(S,E){S._do_print(E,"let")}));DEFPRINT(Qt,(function(S,E){S._do_print(E,"var")}));DEFPRINT(Yt,(function(S,E){S._do_print(E,"const")}));DEFPRINT(tr,(function(S,E){E.print("import");E.space();if(S.imported_name){S.imported_name.print(E)}if(S.imported_name&&S.imported_names){E.print(",");E.space()}if(S.imported_names){if(S.imported_names.length===1&&S.imported_names[0].foreign_name.name==="*"){S.imported_names[0].print(E)}else{E.print("{");S.imported_names.forEach((function(k,w){E.space();k.print(E);if(w{if(S instanceof bt)return true;if(S instanceof hr&&S.operator=="in"){return xn}}))}S.print(E,w)}DEFPRINT(Zt,(function(S,E){S.name.print(E);if(S.value){E.space();E.print("=");E.space();var k=E.parent(1);var w=k instanceof ht||k instanceof _t;parenthesize_for_noin(S.value,E,w)}}));DEFPRINT(ir,(function(S,E){S.expression.print(E);if(S instanceof ar&&S.args.length===0)return;if(S.expression instanceof ir||S.expression instanceof Et){E.add_mapping(S.start)}if(S.optional)E.print("?.");E.with_parens((function(){S.args.forEach((function(S,k){if(k)E.comma();S.print(E)}))}))}));DEFPRINT(ar,(function(S,E){E.print("new");E.space();ir.prototype._codegen(S,E)}));sr.DEFMETHOD("_do_print",(function(S){this.expressions.forEach((function(E,k){if(k>0){S.comma();if(S.should_break()){S.newline();S.indent()}}E.print(S)}))}));DEFPRINT(sr,(function(S,E){S._do_print(E)}));DEFPRINT(lr,(function(S,E){var k=S.expression;k.print(E);var w=S.property;var N=_e.has(w)?E.option("ie8"):!is_identifier_string(w,E.option("ecma")>=2015||E.option("safari10"));if(S.optional)E.print("?.");if(N){E.print("[");E.add_mapping(S.end);E.print_string(w);E.print("]")}else{if(k instanceof cn&&k.getValue()>=0){if(!/[xa-f.)]/i.test(E.last())){E.print(".")}}if(!S.optional)E.print(".");E.add_mapping(S.end);E.print_name(w)}}));DEFPRINT(ur,(function(S,E){var k=S.expression;k.print(E);var w=S.property;if(S.optional)E.print("?");E.print(".#");E.print_name(w)}));DEFPRINT(dr,(function(S,E){S.expression.print(E);if(S.optional)E.print("?.");E.print("[");S.property.print(E);E.print("]")}));DEFPRINT(pr,(function(S,E){S.expression.print(E)}));DEFPRINT(mr,(function(S,E){var k=S.operator;E.print(k);if(/^[a-z]/i.test(k)||/[+-]$/.test(k)&&S.expression instanceof mr&&/^[+-]/.test(S.expression.operator)){E.space()}S.expression.print(E)}));DEFPRINT(gr,(function(S,E){S.expression.print(E);E.print(S.operator)}));DEFPRINT(hr,(function(S,E){var k=S.operator;S.left.print(E);if(k[0]==">"&&S.left instanceof gr&&S.left.operator=="--"){E.print(" ")}else{E.space()}E.print(k);if((k=="<"||k=="<<")&&S.right instanceof mr&&S.right.operator=="!"&&S.right.expression instanceof mr&&S.right.expression.operator=="--"){E.print(" ")}else{E.space()}S.right.print(E)}));DEFPRINT(_r,(function(S,E){S.condition.print(E);E.space();E.print("?");E.space();S.consequent.print(E);E.space();E.colon();S.alternative.print(E)}));DEFPRINT(br,(function(S,E){E.with_square((function(){var k=S.elements,w=k.length;if(w>0)E.space();k.forEach((function(S,k){if(k)E.comma();S.print(E);if(k===w-1&&S instanceof hn)E.comma()}));if(w>0)E.space()}))}));DEFPRINT(xr,(function(S,E){if(S.properties.length>0)E.with_block((function(){S.properties.forEach((function(S,k){if(k){E.print(",");E.newline()}E.indent();S.print(E)}));E.newline()}));else print_braced_empty(S,E)}));DEFPRINT(Pr,(function(S,E){E.print("class");E.space();if(S.name){S.name.print(E);E.space()}if(S.extends){var k=!(S.extends instanceof Zr)&&!(S.extends instanceof cr)&&!(S.extends instanceof Or)&&!(S.extends instanceof kt);E.print("extends");if(k){E.print("(")}else{E.space()}S.extends.print(E);if(k){E.print(")")}else{E.space()}}if(S.properties.length>0)E.with_block((function(){S.properties.forEach((function(S,k){if(k){E.newline()}E.indent();S.print(E)}));E.newline()}));else E.print("{}")}));DEFPRINT(Rr,(function(S,E){E.print("new.target")}));function print_property_name(S,E,k){if(k.option("quote_keys")){return k.print_string(S)}if(""+ +S==S&&S>=0){if(k.option("keep_numbers")){return k.print(S)}return k.print(make_num(S))}var w=_e.has(S)?k.option("ie8"):k.option("ecma")<2015||k.option("safari10")?!is_basic_identifier_string(S):!is_identifier_string(S,true);if(w||E&&k.option("keep_quoted_props")){return k.print_string(S,E)}return k.print_name(S)}DEFPRINT(Er,(function(S,E){function get_name(S){var E=S.definition();return E?E.mangled_name||E.name:S.name}var k=E.option("shorthand");if(k&&S.value instanceof Mr&&is_identifier_string(S.key,E.option("ecma")>=2015||E.option("safari10"))&&get_name(S.value)===S.key&&!_e.has(S.key)){print_property_name(S.key,S.quote,E)}else if(k&&S.value instanceof vr&&S.value.left instanceof Mr&&is_identifier_string(S.key,E.option("ecma")>=2015||E.option("safari10"))&&get_name(S.value.left)===S.key){print_property_name(S.key,S.quote,E);E.space();E.print("=");E.space();S.value.right.print(E)}else{if(!(S.key instanceof Ze)){print_property_name(S.key,S.quote,E)}else{E.with_square((function(){S.key.print(E)}))}E.colon();S.value.print(E)}}));DEFPRINT(Ir,((S,E)=>{if(S.static){E.print("static");E.space()}E.print("#");print_property_name(S.key.name,S.quote,E);if(S.value){E.print("=");S.value.print(E)}E.semicolon()}));DEFPRINT(Nr,((S,E)=>{if(S.static){E.print("static");E.space()}if(S.key instanceof Vr){print_property_name(S.key.name,S.quote,E)}else{E.print("[");S.key.print(E);E.print("]")}if(S.value){E.print("=");S.value.print(E)}E.semicolon()}));Sr.DEFMETHOD("_print_getter_setter",(function(S,E,k){var w=this;if(w.static){k.print("static");k.space()}if(S){k.print(S);k.space()}if(w.key instanceof qr){if(E)k.print("#");print_property_name(w.key.name,w.quote,k)}else{k.with_square((function(){w.key.print(k)}))}w.value._do_print(k,true)}));DEFPRINT(Cr,(function(S,E){S._print_getter_setter("set",false,E)}));DEFPRINT(Dr,(function(S,E){S._print_getter_setter("get",false,E)}));DEFPRINT(Tr,(function(S,E){S._print_getter_setter("set",true,E)}));DEFPRINT(kr,(function(S,E){S._print_getter_setter("get",true,E)}));DEFPRINT(wr,(function(S,E){var k;if(S.is_generator&&S.async){k="async*"}else if(S.is_generator){k="*"}else if(S.async){k="async"}S._print_getter_setter(k,true,E)}));DEFPRINT(Ar,(function(S,E){var k;if(S.is_generator&&S.async){k="async*"}else if(S.is_generator){k="*"}else if(S.async){k="async"}S._print_getter_setter(k,false,E)}));Mr.DEFMETHOD("_do_print",(function(S){var E=this.definition();S.print_name(E?E.mangled_name||E.name:this.name)}));DEFPRINT(Mr,(function(S,E){S._do_print(E)}));DEFPRINT(hn,noop);DEFPRINT(nn,(function(S,E){E.print("this")}));DEFPRINT(an,(function(S,E){E.print("super")}));DEFPRINT(on,(function(S,E){E.print(S.getValue())}));DEFPRINT(sn,(function(S,E){E.print_string(S.getValue(),S.quote,E.in_directive)}));DEFPRINT(cn,(function(S,E){if((E.option("keep_numbers")||E.use_asm)&&S.raw){E.print(S.raw)}else{E.print(make_num(S.getValue()))}}));DEFPRINT(ln,(function(S,E){E.print(S.getValue()+"n")}));const S=/(<\s*\/\s*script)/i;const slash_script_replace=(S,E)=>E.replace("/","\\/");DEFPRINT(un,(function(E,k){let{source:w,flags:N}=E.getValue();w=regexp_source_fix(w);N=N?sort_regexp_flags(N):"";w=w.replace(S,slash_script_replace);k.print(k.to_utf8(`/${w}/${N}`));const j=k.parent();if(j instanceof hr&&/^\w/.test(j.operator)&&j.left===E){k.print(" ")}}));function force_statement(S,E){if(E.option("braces")){make_block(S,E)}else{if(!S||S instanceof st)E.force_semicolon();else S.print(E)}}function best_of(S){var E=S[0],k=E.length;for(var w=1;wS===null&&E===null||S.TYPE===E.TYPE&&S.shallow_cmp(E);const equivalent_to=(S,E)=>{if(!shallow_cmp(S,E))return false;const k=[S];const w=[E];const N=k.push.bind(k);const j=w.push.bind(w);while(k.length&&w.length){const S=k.pop();const E=w.pop();if(!shallow_cmp(S,E))return false;S._children_backwards(N);E._children_backwards(j);if(k.length!==w.length){return false}}return k.length==0&&w.length==0};const mkshallow=S=>{const E=Object.keys(S).map((E=>{if(S[E]==="eq"){return`this.${E} === other.${E}`}else if(S[E]==="exist"){return`(this.${E} == null ? other.${E} == null : this.${E} === other.${E})`}else{throw new Error(`mkshallow: Unexpected instruction: ${S[E]}`)}})).join(" && ");return new Function("other","return "+E)};const pass_through=()=>true;Ze.prototype.shallow_cmp=function(){throw new Error("did not find a shallow_cmp function for "+this.constructor.name)};tt.prototype.shallow_cmp=pass_through;rt.prototype.shallow_cmp=mkshallow({value:"eq"});nt.prototype.shallow_cmp=pass_through;it.prototype.shallow_cmp=pass_through;st.prototype.shallow_cmp=pass_through;ut.prototype.shallow_cmp=mkshallow({"label.name":"eq"});ft.prototype.shallow_cmp=pass_through;mt.prototype.shallow_cmp=pass_through;ht.prototype.shallow_cmp=mkshallow({init:"exist",condition:"exist",step:"exist"});_t.prototype.shallow_cmp=pass_through;yt.prototype.shallow_cmp=pass_through;vt.prototype.shallow_cmp=pass_through;xt.prototype.shallow_cmp=pass_through;St.prototype.shallow_cmp=pass_through;Et.prototype.shallow_cmp=mkshallow({is_generator:"eq",async:"eq"});At.prototype.shallow_cmp=mkshallow({is_array:"eq"});wt.prototype.shallow_cmp=pass_through;Pt.prototype.shallow_cmp=pass_through;Nt.prototype.shallow_cmp=mkshallow({value:"eq"});It.prototype.shallow_cmp=pass_through;Rt.prototype.shallow_cmp=pass_through;jt.prototype.shallow_cmp=pass_through;zt.prototype.shallow_cmp=mkshallow({is_star:"eq"});Ut.prototype.shallow_cmp=mkshallow({alternative:"exist"});Wt.prototype.shallow_cmp=pass_through;$t.prototype.shallow_cmp=pass_through;Ht.prototype.shallow_cmp=mkshallow({bcatch:"exist",bfinally:"exist"});Gt.prototype.shallow_cmp=mkshallow({argname:"exist"});Jt.prototype.shallow_cmp=pass_through;Kt.prototype.shallow_cmp=pass_through;Zt.prototype.shallow_cmp=mkshallow({value:"exist"});er.prototype.shallow_cmp=pass_through;tr.prototype.shallow_cmp=mkshallow({imported_name:"exist",imported_names:"exist"});rr.prototype.shallow_cmp=pass_through;nr.prototype.shallow_cmp=mkshallow({exported_definition:"exist",exported_value:"exist",exported_names:"exist",module_name:"eq",is_default:"eq"});ir.prototype.shallow_cmp=pass_through;sr.prototype.shallow_cmp=pass_through;cr.prototype.shallow_cmp=pass_through;pr.prototype.shallow_cmp=pass_through;lr.prototype.shallow_cmp=mkshallow({property:"eq"});ur.prototype.shallow_cmp=mkshallow({property:"eq"});fr.prototype.shallow_cmp=mkshallow({operator:"eq"});hr.prototype.shallow_cmp=mkshallow({operator:"eq"});_r.prototype.shallow_cmp=pass_through;br.prototype.shallow_cmp=pass_through;xr.prototype.shallow_cmp=pass_through;Sr.prototype.shallow_cmp=pass_through;Er.prototype.shallow_cmp=mkshallow({key:"eq"});Cr.prototype.shallow_cmp=mkshallow({static:"eq"});Dr.prototype.shallow_cmp=mkshallow({static:"eq"});Ar.prototype.shallow_cmp=mkshallow({static:"eq",is_generator:"eq",async:"eq"});Pr.prototype.shallow_cmp=mkshallow({name:"exist",extends:"exist"});Nr.prototype.shallow_cmp=mkshallow({static:"eq"});Mr.prototype.shallow_cmp=mkshallow({name:"eq"});Rr.prototype.shallow_cmp=pass_through;nn.prototype.shallow_cmp=pass_through;an.prototype.shallow_cmp=pass_through;sn.prototype.shallow_cmp=mkshallow({value:"eq"});cn.prototype.shallow_cmp=mkshallow({value:"eq"});ln.prototype.shallow_cmp=mkshallow({value:"eq"});un.prototype.shallow_cmp=function(S){return this.value.flags===S.value.flags&&this.value.source===S.value.source};dn.prototype.shallow_cmp=pass_through;const Pn=1<<0;const Nn=1<<1;let In=null;let Fn=null;class SymbolDef{constructor(S,E,k){this.name=E.name;this.orig=[E];this.init=k;this.eliminated=0;this.assignments=0;this.scope=S;this.replaced=0;this.global=false;this.export=0;this.mangled_name=null;this.undeclared=false;this.id=SymbolDef.next_id++;this.chained=false;this.direct_access=false;this.escaped=0;this.recursive_refs=0;this.references=[];this.should_replace=undefined;this.single_use=false;this.fixed=false;Object.seal(this)}fixed_value(){if(!this.fixed||this.fixed instanceof Ze)return this.fixed;return this.fixed()}unmangleable(S){if(!S)S={};if(In&&In.has(this.id)&&keep_name(S.keep_fnames,this.orig[0].name))return true;return this.global&&!S.toplevel||this.export&Pn||this.undeclared||!S.eval&&this.scope.pinned()||(this.orig[0]instanceof Hr||this.orig[0]instanceof $r)&&keep_name(S.keep_fnames,this.orig[0].name)||this.orig[0]instanceof qr||(this.orig[0]instanceof Jr||this.orig[0]instanceof Gr)&&keep_name(S.keep_classnames,this.orig[0].name)}mangle(S){const E=S.cache&&S.cache.props;if(this.global&&E&&E.has(this.name)){this.mangled_name=E.get(this.name)}else if(!this.mangled_name&&!this.unmangleable(S)){var k=this.scope;var w=this.orig[0];if(S.ie8&&w instanceof Hr)k=k.parent_scope;const N=redefined_catch_def(this);this.mangled_name=N?N.mangled_name||N.name:k.next_mangled(S,this);if(this.global&&E){E.set(this.name,this.mangled_name)}}}}SymbolDef.next_id=1;function redefined_catch_def(S){if(S.orig[0]instanceof Kr&&S.scope.is_block_scope()){return S.scope.get_defun_scope().variables.get(S.name)}}bt.DEFMETHOD("figure_out_scope",(function(S,{parent_scope:E=null,toplevel:k=this}={}){S=defaults(S,{cache:null,ie8:false,safari10:false});if(!(k instanceof xt)){throw new Error("Invalid toplevel scope")}var w=this.parent_scope=E;var N=new Map;var j=null;var q=null;var ee=[];var te=new TreeWalker(((E,k)=>{if(E.is_block_scope()){const N=w;E.block_scope=w=new bt(E);w._block_scope=true;const j=E instanceof Gt?N.parent_scope:N;w.init_scope_vars(j);w.uses_with=N.uses_with;w.uses_eval=N.uses_eval;if(S.safari10){if(E instanceof ht||E instanceof _t){ee.push(w)}}if(E instanceof Wt){const S=w;w=N;E.expression.walk(te);w=S;for(let S=0;S{if(S===E)return true;if(E instanceof jr){return S instanceof Hr}return!(S instanceof Ur||S instanceof zr)}))){js_error(`"${E.name}" is redeclared`,E.start.file,E.start.line,E.start.col,E.start.pos)}if(!(E instanceof Wr))mark_export(Te,2);if(j!==w){E.mark_enclosed();var Te=w.find_variable(E);if(E.thedef!==Te){E.thedef=Te;E.reference()}}}else if(E instanceof rn){var Ce=N.get(E.name);if(!Ce)throw new Error(string_template("Undefined label {name} [{line},{col}]",{name:E.name,line:E.start.line,col:E.start.col}));E.thedef=Ce}if(!(w instanceof xt)&&(E instanceof nr||E instanceof tr)){js_error(`"${E.TYPE}" statement may only appear at the top level`,E.start.file,E.start.line,E.start.col,E.start.pos)}}));this.walk(te);function mark_export(S,E){if(q){var k=0;do{E++}while(te.parent(k++)!==q)}var w=te.parent(E);if(S.export=w instanceof nr?Pn:0){var N=w.exported_definition;if((N instanceof Dt||N instanceof Fr)&&w.is_default){S.export=Nn}}}const ne=this instanceof xt;if(ne){this.globals=new Map}var te=new TreeWalker((S=>{if(S instanceof Rt&&S.label){S.label.thedef.references.push(S);return true}if(S instanceof Zr){var E=S.name;if(E=="eval"&&te.parent()instanceof ir){for(var w=S.scope;w&&!w.uses_eval;w=w.parent_scope){w.uses_eval=true}}var N;if(te.parent()instanceof er&&te.parent(1).module_name||!(N=S.scope.find_variable(E))){N=k.def_global(S);if(S instanceof en)N.export=Pn}else if(N.scope instanceof Et&&E=="arguments"){N.scope.uses_arguments=true}S.thedef=N;S.reference();if(S.scope.is_block_scope()&&!(N.orig[0]instanceof jr)){S.scope=S.scope.get_defun_scope()}return true}var j;if(S instanceof Kr&&(j=redefined_catch_def(S.definition()))){var w=S.scope;while(w){push_uniq(w.enclosed,j);if(w===j.scope)break;w=w.parent_scope}}}));this.walk(te);if(S.ie8||S.safari10){walk(this,(S=>{if(S instanceof Kr){var E=S.name;var w=S.thedef.references;var N=S.scope.get_defun_scope();var j=N.find_variable(E)||k.globals.get(E)||N.def_variable(S);w.forEach((function(S){S.thedef=j;S.reference()}));S.thedef=j;S.reference();return true}}))}if(S.safari10){for(const S of ee){S.parent_scope.variables.forEach((function(E){push_uniq(S.enclosed,E)}))}}}));xt.DEFMETHOD("def_global",(function(S){var E=this.globals,k=S.name;if(E.has(k)){return E.get(k)}else{var w=new SymbolDef(this,S);w.undeclared=true;w.global=true;E.set(k,w);return w}}));bt.DEFMETHOD("init_scope_vars",(function(S){this.variables=new Map;this.uses_with=false;this.uses_eval=false;this.parent_scope=S;this.enclosed=[];this.cname=-1}));bt.DEFMETHOD("conflicting_def",(function(S){return this.enclosed.find((E=>E.name===S))||this.variables.has(S)||this.parent_scope&&this.parent_scope.conflicting_def(S)}));bt.DEFMETHOD("conflicting_def_shallow",(function(S){return this.enclosed.find((E=>E.name===S))||this.variables.has(S)}));bt.DEFMETHOD("add_child_scope",(function(S){if(S.parent_scope===this)return;S.parent_scope=this;const E=(()=>{const S=[];let E=this;do{S.push(E)}while(E=E.parent_scope);S.reverse();return S})();const k=new Set(S.enclosed);const w=[];for(const S of E){w.forEach((E=>push_uniq(S.enclosed,E)));for(const E of S.variables.values()){if(k.has(E)){push_uniq(w,E);push_uniq(S.enclosed,E)}}}}));function find_scopes_visible_from(S){const E=new Set;for(const k of new Set(S)){(function bubble_up(S){if(S==null||E.has(S))return;E.add(S);bubble_up(S.parent_scope)})(k)}return[...E]}bt.DEFMETHOD("create_symbol",(function(S,{source:E,tentative_name:k,scope:w,conflict_scopes:N=[w],init:j=null}={}){let q;N=find_scopes_visible_from(N);if(k){k=q=k.replace(/(?:^[^a-z_$]|[^a-z0-9_$])/gi,"_");let S=0;while(N.find((S=>S.conflicting_def_shallow(q)))){q=k+"$"+S++}}if(!q){throw new Error("No symbol name could be generated in create_symbol()")}const ee=make_node(S,E,{name:q,scope:w});this.def_variable(ee,j||null);ee.mark_enclosed();return ee}));Ze.DEFMETHOD("is_block_scope",return_false);Pr.DEFMETHOD("is_block_scope",return_false);Et.DEFMETHOD("is_block_scope",return_false);xt.DEFMETHOD("is_block_scope",return_false);$t.DEFMETHOD("is_block_scope",return_false);it.DEFMETHOD("is_block_scope",return_true);bt.DEFMETHOD("is_block_scope",(function(){return this._block_scope||false}));dt.DEFMETHOD("is_block_scope",return_true);Et.DEFMETHOD("init_scope_vars",(function(){bt.prototype.init_scope_vars.apply(this,arguments);this.uses_arguments=false;this.def_variable(new Wr({name:"arguments",start:this.start,end:this.end}))}));Ct.DEFMETHOD("init_scope_vars",(function(){bt.prototype.init_scope_vars.apply(this,arguments);this.uses_arguments=false}));Mr.DEFMETHOD("mark_enclosed",(function(){var S=this.definition();var E=this.scope;while(E){push_uniq(E.enclosed,S);if(E===S.scope)break;E=E.parent_scope}}));Mr.DEFMETHOD("reference",(function(){this.definition().references.push(this);this.mark_enclosed()}));bt.DEFMETHOD("find_variable",(function(S){if(S instanceof Mr)S=S.name;return this.variables.get(S)||this.parent_scope&&this.parent_scope.find_variable(S)}));bt.DEFMETHOD("def_function",(function(S,E){var k=this.def_variable(S,E);if(!k.init||k.init instanceof Dt)k.init=E;return k}));bt.DEFMETHOD("def_variable",(function(S,E){var k=this.variables.get(S.name);if(k){k.orig.push(S);if(k.init&&(k.scope!==S.scope||k.init instanceof kt)){k.init=E}}else{k=new SymbolDef(this,S,E);this.variables.set(S.name,k);k.global=!this.parent_scope}return S.thedef=k}));function next_mangled(S,E){var k=S.enclosed;e:while(true){var w=On(++S.cname);if(_e.has(w))continue;if(E.reserved.has(w))continue;if(Fn&&Fn.has(w))continue e;for(let S=k.length;--S>=0;){const N=k[S];const j=N.mangled_name||N.unmangleable(E)&&N.name;if(w==j)continue e}return w}}bt.DEFMETHOD("next_mangled",(function(S){return next_mangled(this,S)}));xt.DEFMETHOD("next_mangled",(function(S){let E;const k=this.mangled_names;do{E=next_mangled(this,S)}while(k.has(E));return E}));kt.DEFMETHOD("next_mangled",(function(S,E){var k=E.orig[0]instanceof Wr&&this.name&&this.name.definition();var w=k?k.mangled_name||k.name:null;while(true){var N=next_mangled(this,S);if(!w||w!=N)return N}}));Mr.DEFMETHOD("unmangleable",(function(S){var E=this.definition();return!E||E.unmangleable(S)}));Yr.DEFMETHOD("unmangleable",return_false);Mr.DEFMETHOD("unreferenced",(function(){return!this.definition().references.length&&!this.scope.pinned()}));Mr.DEFMETHOD("definition",(function(){return this.thedef}));Mr.DEFMETHOD("global",(function(){return this.thedef.global}));xt.DEFMETHOD("_default_mangler_options",(function(S){S=defaults(S,{eval:false,ie8:false,keep_classnames:false,keep_fnames:false,module:false,reserved:[],toplevel:false});if(S.module)S.toplevel=true;if(!Array.isArray(S.reserved)&&!(S.reserved instanceof Set)){S.reserved=[]}S.reserved=new Set(S.reserved);S.reserved.add("arguments");return S}));xt.DEFMETHOD("mangle_names",(function(S){S=this._default_mangler_options(S);var E=-1;var k=[];if(S.keep_fnames){In=new Set}const w=this.mangled_names=new Set;if(S.cache){this.globals.forEach(collect);if(S.cache.props){S.cache.props.forEach((function(S){w.add(S)}))}}var N=new TreeWalker((function(w,N){if(w instanceof ut){var j=E;N();E=j;return true}if(w instanceof bt){w.variables.forEach(collect);return}if(w.is_block_scope()){w.block_scope.variables.forEach(collect);return}if(In&&w instanceof Zt&&w.value instanceof Et&&!w.value.name&&keep_name(S.keep_fnames,w.name.name)){In.add(w.name.definition().id);return}if(w instanceof Yr){let S;do{S=On(++E)}while(_e.has(S));w.mangled_name=S;return true}if(!(S.ie8||S.safari10)&&w instanceof Kr){k.push(w.definition());return}}));this.walk(N);if(S.keep_fnames||S.keep_classnames){Fn=new Set;k.forEach((E=>{if(E.name.length<6&&E.unmangleable(S)){Fn.add(E.name)}}))}k.forEach((E=>{E.mangle(S)}));In=null;Fn=null;function collect(E){const w=!S.reserved.has(E.name)&&!(E.export&Pn);if(w){k.push(E)}}}));xt.DEFMETHOD("find_colliding_names",(function(S){const E=S.cache&&S.cache.props;const k=new Set;S.reserved.forEach(to_avoid);this.globals.forEach(add_def);this.walk(new TreeWalker((function(S){if(S instanceof bt)S.variables.forEach(add_def);if(S instanceof Kr)add_def(S.definition())})));return k;function to_avoid(S){k.add(S)}function add_def(k){var w=k.name;if(k.global&&E&&E.has(w))w=E.get(w);else if(!k.unmangleable(S))return;to_avoid(w)}}));xt.DEFMETHOD("expand_names",(function(S){On.reset();On.sort();S=this._default_mangler_options(S);var E=this.find_colliding_names(S);var k=0;this.globals.forEach(rename);this.walk(new TreeWalker((function(S){if(S instanceof bt)S.variables.forEach(rename);if(S instanceof Kr)rename(S.definition())})));function next_name(){var S;do{S=On(k++)}while(E.has(S)||_e.has(S));return S}function rename(E){if(E.global&&S.cache)return;if(E.unmangleable(S))return;if(S.reserved.has(E.name))return;const k=redefined_catch_def(E);const w=E.name=k?k.name:next_name();E.orig.forEach((function(S){S.name=w}));E.references.forEach((function(S){S.name=w}))}}));Ze.DEFMETHOD("tail_node",return_this);sr.DEFMETHOD("tail_node",(function(){return this.expressions[this.expressions.length-1]}));xt.DEFMETHOD("compute_char_frequency",(function(S){S=this._default_mangler_options(S);try{Ze.prototype.print=function(E,k){this._print(E,k);if(this instanceof Mr&&!this.unmangleable(S)){On.consider(this.name,-1)}else if(S.properties){if(this instanceof ur){On.consider("#"+this.property,-1)}else if(this instanceof lr){On.consider(this.property,-1)}else if(this instanceof dr){skip_string(this.property)}}};On.consider(this.print_to_string(),1)}finally{Ze.prototype.print=Ze.prototype._print}On.sort();function skip_string(S){if(S instanceof sn){On.consider(S.value,-1)}else if(S instanceof _r){skip_string(S.consequent);skip_string(S.alternative)}else if(S instanceof sr){skip_string(S.tail_node())}}}));const On=(()=>{const S="abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ$_".split("");const E="0123456789".split("");let k;let w;function reset(){w=new Map;S.forEach((function(S){w.set(S,0)}));E.forEach((function(S){w.set(S,0)}))}base54.consider=function(S,E){for(var k=S.length;--k>=0;){w.set(S[k],w.get(S[k])+E)}};function compare(S,E){return w.get(E)-w.get(S)}base54.sort=function(){k=mergeSort(S,compare).concat(mergeSort(E,compare))};base54.reset=reset;reset();function base54(S){var E="",w=54;S++;do{S--;E+=k[S%w];S=Math.floor(S/w);w=64}while(S>0);return E}return base54})();let Mn=undefined;Ze.prototype.size=function(S,E){Mn=S&&S.mangle_options;let k=0;walk_parent(this,((S,E)=>{k+=S._size(E);if(S instanceof Ct&&S.is_braceless()){k+=S.body[0].value._size(E);return true}}),E||S&&S.stack);Mn=undefined;return k};Ze.prototype._size=()=>0;tt.prototype._size=()=>8;rt.prototype._size=function(){return 2+this.value.length};const list_overhead=S=>S.length&&S.length-1;it.prototype._size=function(){return 2+list_overhead(this.body)};xt.prototype._size=function(){return list_overhead(this.body)};st.prototype._size=()=>1;ut.prototype._size=()=>2;ft.prototype._size=()=>9;mt.prototype._size=()=>7;ht.prototype._size=()=>8;_t.prototype._size=()=>8;vt.prototype._size=()=>6;St.prototype._size=()=>3;const lambda_modifiers=S=>(S.is_generator?1:0)+(S.async?6:0);Tt.prototype._size=function(){return lambda_modifiers(this)+4+list_overhead(this.argnames)+list_overhead(this.body)};kt.prototype._size=function(S){const E=!!first_in_statement(S);return E*2+lambda_modifiers(this)+12+list_overhead(this.argnames)+list_overhead(this.body)};Dt.prototype._size=function(){return lambda_modifiers(this)+13+list_overhead(this.argnames)+list_overhead(this.body)};Ct.prototype._size=function(){let S=2+list_overhead(this.argnames);if(!(this.argnames.length===1&&this.argnames[0]instanceof Mr)){S+=2}const E=this.is_braceless()?0:list_overhead(this.body)+2;return lambda_modifiers(this)+S+E};At.prototype._size=()=>2;Pt.prototype._size=function(){return 2+Math.floor(this.segments.length/2)*3};Nt.prototype._size=function(){return this.value.length};Ot.prototype._size=function(){return this.value?7:6};Mt.prototype._size=()=>6;Lt.prototype._size=function(){return this.label?6:5};Bt.prototype._size=function(){return this.label?9:8};Ut.prototype._size=()=>4;Wt.prototype._size=function(){return 8+list_overhead(this.body)};Vt.prototype._size=function(){return 5+list_overhead(this.body)};qt.prototype._size=function(){return 8+list_overhead(this.body)};Ht.prototype._size=function(){return 3+list_overhead(this.body)};Gt.prototype._size=function(){let S=7+list_overhead(this.body);if(this.argname){S+=2}return S};Jt.prototype._size=function(){return 7+list_overhead(this.body)};const def_size=(S,E)=>S+list_overhead(E.definitions);Qt.prototype._size=function(){return def_size(4,this)};Xt.prototype._size=function(){return def_size(4,this)};Yt.prototype._size=function(){return def_size(6,this)};Zt.prototype._size=function(){return this.value?1:0};er.prototype._size=function(){return this.name?4:0};tr.prototype._size=function(){let S=6;if(this.imported_name)S+=1;if(this.imported_name||this.imported_names)S+=5;if(this.imported_names){S+=2+list_overhead(this.imported_names)}return S};rr.prototype._size=()=>11;nr.prototype._size=function(){let S=7+(this.is_default?8:0);if(this.exported_value){S+=this.exported_value._size()}if(this.exported_names){S+=2+list_overhead(this.exported_names)}if(this.module_name){S+=5}return S};ir.prototype._size=function(){if(this.optional){return 4+list_overhead(this.args)}return 2+list_overhead(this.args)};ar.prototype._size=function(){return 6+list_overhead(this.args)};sr.prototype._size=function(){return list_overhead(this.expressions)};lr.prototype._size=function(){if(this.optional){return this.property.length+2}return this.property.length+1};ur.prototype._size=function(){if(this.optional){return this.property.length+3}return this.property.length+2};dr.prototype._size=function(){return this.optional?4:2};fr.prototype._size=function(){if(this.operator==="typeof")return 7;if(this.operator==="void")return 5;return this.operator.length};hr.prototype._size=function(S){if(this.operator==="in")return 4;let E=this.operator.length;if((this.operator==="+"||this.operator==="-")&&this.right instanceof fr&&this.right.operator===this.operator){E+=1}if(this.needs_parens(S)){E+=2}return E};_r.prototype._size=()=>3;br.prototype._size=function(){return 2+list_overhead(this.elements)};xr.prototype._size=function(S){let E=2;if(first_in_statement(S)){E+=2}return E+list_overhead(this.properties)};const key_size=S=>typeof S==="string"?S.length:0;Er.prototype._size=function(){return key_size(this.key)+1};const static_size=S=>S?7:0;Dr.prototype._size=function(){return 5+static_size(this.static)+key_size(this.key)};Cr.prototype._size=function(){return 5+static_size(this.static)+key_size(this.key)};Ar.prototype._size=function(){return static_size(this.static)+key_size(this.key)+lambda_modifiers(this)};wr.prototype._size=function(){return Ar.prototype._size.call(this)+1};kr.prototype._size=Tr.prototype._size=function(){return Ar.prototype._size.call(this)+4};Pr.prototype._size=function(){return(this.name?8:7)+(this.extends?8:0)};Nr.prototype._size=function(){return static_size(this.static)+(typeof this.key==="string"?this.key.length+2:0)+(this.value?1:0)};Ir.prototype._size=function(){return Nr.prototype._size.call(this)+1};Mr.prototype._size=function(){return!Mn||this.definition().unmangleable(Mn)?this.name.length:1};Vr.prototype._size=function(){return this.name.length};Zr.prototype._size=Lr.prototype._size=function(){const{name:S,thedef:E}=this;if(E&&E.global)return S.length;if(S==="arguments")return 9;return Mr.prototype._size.call(this)};Rr.prototype._size=()=>10;Xr.prototype._size=function(){return this.name.length};tn.prototype._size=function(){return this.name.length};nn.prototype._size=()=>4;an.prototype._size=()=>5;sn.prototype._size=function(){return this.value.length+2};cn.prototype._size=function(){const{value:S}=this;if(S===0)return 1;if(S>0&&Math.floor(S)===S){return Math.floor(Math.log10(S)+1)}return S.toString().length};ln.prototype._size=function(){return this.value.length};un.prototype._size=function(){return this.value.toString().length};pn.prototype._size=()=>4;mn.prototype._size=()=>3;gn.prototype._size=()=>6;hn.prototype._size=()=>0;_n.prototype._size=()=>8;bn.prototype._size=()=>4;vn.prototype._size=()=>5;jt.prototype._size=()=>6;zt.prototype._size=()=>6;const Rn=1;const Ln=2;const Bn=4;const jn=8;const zn=16;const Un=32;const Wn=256;const $n=512;const qn=1024;const Vn=Wn|$n|qn;const has_flag=(S,E)=>S.flags&E;const set_flag=(S,E)=>{S.flags|=E};const clear_flag=(S,E)=>{S.flags&=~E};class Compressor extends TreeWalker{constructor(S,{false_by_default:E=false,mangle_options:k=false}){super();if(S.defaults!==undefined&&!S.defaults)E=true;this.options=defaults(S,{arguments:false,arrows:!E,booleans:!E,booleans_as_integers:false,collapse_vars:!E,comparisons:!E,computed_props:!E,conditionals:!E,dead_code:!E,defaults:true,directives:!E,drop_console:false,drop_debugger:!E,ecma:5,evaluate:!E,expression:false,global_defs:false,hoist_funs:false,hoist_props:!E,hoist_vars:false,ie8:false,if_return:!E,inline:!E,join_vars:!E,keep_classnames:false,keep_fargs:true,keep_fnames:false,keep_infinity:false,loops:!E,module:false,negate_iife:!E,passes:1,properties:!E,pure_getters:!E&&"strict",pure_funcs:null,reduce_funcs:!E,reduce_vars:!E,sequences:!E,side_effects:!E,switches:!E,top_retain:null,toplevel:!!(S&&S["top_retain"]),typeofs:!E,unsafe:false,unsafe_arrows:false,unsafe_comps:false,unsafe_Function:false,unsafe_math:false,unsafe_symbols:false,unsafe_methods:false,unsafe_proto:false,unsafe_regexp:false,unsafe_undefined:false,unused:!E,warnings:false},true);var w=this.options["global_defs"];if(typeof w=="object")for(var N in w){if(N[0]==="@"&&HOP(w,N)){w[N.slice(1)]=parse(w[N],{expression:true})}}if(this.options["inline"]===true)this.options["inline"]=3;var j=this.options["pure_funcs"];if(typeof j=="function"){this.pure_funcs=j}else{this.pure_funcs=j?function(S){return!j.includes(S.expression.print_to_string())}:return_true}var q=this.options["top_retain"];if(q instanceof RegExp){this.top_retain=function(S){return q.test(S.name)}}else if(typeof q=="function"){this.top_retain=q}else if(q){if(typeof q=="string"){q=q.split(/,/)}this.top_retain=function(S){return q.includes(S.name)}}if(this.options["module"]){this.directives["use strict"]=true;this.options["toplevel"]=true}var ee=this.options["toplevel"];this.toplevel=typeof ee=="string"?{funcs:/funcs/.test(ee),vars:/vars/.test(ee)}:{funcs:ee,vars:ee};var te=this.options["sequences"];this.sequences_limit=te==1?800:te|0;this.evaluated_regexps=new Map;this._toplevel=undefined;this.mangle_options=k}option(S){return this.options[S]}exposed(S){if(S.export)return true;if(S.global)for(var E=0,k=S.orig.length;E0||this.option("reduce_vars")){this._toplevel.reset_opt_flags(this)}this._toplevel=this._toplevel.transform(this);if(E>1){let S=0;walk(this._toplevel,(()=>{S++}));if(S=0){N.body[q]=N.body[q].transform(w)}}else if(N instanceof Ut){N.body=N.body.transform(w);if(N.alternative){N.alternative=N.alternative.transform(w)}}else if(N instanceof vt){N.body=N.body.transform(w)}return N}));k.transform(w)}));function read_property(S,E){E=get_value(E);if(E instanceof Ze)return;var k;if(S instanceof br){var w=S.elements;if(E=="length")return make_node_from_constant(w.length,S);if(typeof E=="number"&&E in w)k=w[E]}else if(S instanceof xr){E=""+E;var N=S.properties;for(var j=N.length;--j>=0;){var q=N[j];if(!(q instanceof Er))return;if(!k&&N[j].key===E)k=N[j].value}}return k instanceof Zr&&k.fixed_value()||k}function is_modified(S,E,k,w,N,j){var q=E.parent(N);var ee=is_lhs(k,q);if(ee)return ee;if(!j&&q instanceof ir&&q.expression===k&&!(w instanceof Ct)&&!(w instanceof Pr)&&!q.is_callee_pure(S)&&(!(w instanceof kt)||!(q instanceof ar)&&w.contains_this())){return true}if(q instanceof br){return is_modified(S,E,q,q,N+1)}if(q instanceof Er&&k===q.value){var te=E.parent(N+1);return is_modified(S,E,te,te,N+2)}if(q instanceof cr&&q.expression===k){var ne=read_property(w,q.property);return!j&&is_modified(S,E,q,ne,N+1)}}(function(S){S(Ze,noop);function reset_def(S,E){E.assignments=0;E.chained=false;E.direct_access=false;E.escaped=0;E.recursive_refs=0;E.references=[];E.single_use=undefined;if(E.scope.pinned()){E.fixed=false}else if(E.orig[0]instanceof zr||!S.exposed(E)){E.fixed=E.init}else{E.fixed=false}}function reset_variables(S,E,k){k.variables.forEach((function(k){reset_def(E,k);if(k.fixed===null){S.defs_to_safe_ids.set(k.id,S.safe_ids);mark(S,k,true)}else if(k.fixed){S.loop_ids.set(k.id,S.in_loop);mark(S,k,true)}}))}function reset_block_variables(S,E){if(E.block_scope)E.block_scope.variables.forEach((E=>{reset_def(S,E)}))}function push(S){S.safe_ids=Object.create(S.safe_ids)}function pop(S){S.safe_ids=Object.getPrototypeOf(S.safe_ids)}function mark(S,E,k){S.safe_ids[E.id]=k}function safe_to_read(S,E){if(E.single_use=="m")return false;if(S.safe_ids[E.id]){if(E.fixed==null){var k=E.orig[0];if(k instanceof Wr||k.name=="arguments")return false;E.fixed=make_node(gn,k)}return true}return E.fixed instanceof Dt}function safe_to_assign(S,E,k,w){if(E.fixed===undefined)return true;let N;if(E.fixed===null&&(N=S.defs_to_safe_ids.get(E.id))){N[E.id]=false;S.defs_to_safe_ids.delete(E.id);return true}if(!HOP(S.safe_ids,E.id))return false;if(!safe_to_read(S,E))return false;if(E.fixed===false)return false;if(E.fixed!=null&&(!w||E.references.length>E.assignments))return false;if(E.fixed instanceof Dt){return w instanceof Ze&&E.fixed.parent_scope===k}return E.orig.every((S=>!(S instanceof zr||S instanceof $r||S instanceof Hr)))}function ref_once(S,E,k){return E.option("unused")&&!k.scope.pinned()&&k.references.length-k.recursive_refs==1&&S.loop_ids.get(k.id)===S.in_loop}function is_immutable(S){if(!S)return false;return S.is_constant()||S instanceof Et||S instanceof nn}function mark_escaped(S,E,k,w,N,j=0,q=1){var ee=S.parent(j);if(N){if(N.is_constant())return;if(N instanceof Or)return}if(ee instanceof yr&&(ee.operator==="="||ee.logical)&&w===ee.right||ee instanceof ir&&(w!==ee.expression||ee instanceof ar)||ee instanceof Ft&&w===ee.value&&w.scope!==E.scope||ee instanceof Zt&&w===ee.value||ee instanceof zt&&w===ee.value&&w.scope!==E.scope){if(q>1&&!(N&&N.is_constant_expression(k)))q=1;if(!E.escaped||E.escaped>q)E.escaped=q;return}else if(ee instanceof br||ee instanceof jt||ee instanceof hr&&Jn.has(ee.operator)||ee instanceof _r&&w!==ee.condition||ee instanceof St||ee instanceof sr&&w===ee.tail_node()){mark_escaped(S,E,k,ee,ee,j+1,q)}else if(ee instanceof Er&&w===ee.value){var te=S.parent(j+1);mark_escaped(S,E,k,te,te,j+2,q)}else if(ee instanceof cr&&w===ee.expression){N=read_property(N,ee.property);mark_escaped(S,E,k,ee,N,j+1,q+1);if(N)return}if(j>0)return;if(ee instanceof sr&&w!==ee.tail_node())return;if(ee instanceof nt)return;E.direct_access=true}const suppress=S=>walk(S,(S=>{if(!(S instanceof Mr))return;var E=S.definition();if(!E)return;if(S instanceof Zr)E.references.push(S);E.fixed=false}));S(Tt,(function(S,E,k){push(S);reset_variables(S,k,this);E();pop(S);return true}));S(yr,(function(S,E,k){var w=this;if(w.left instanceof At){suppress(w.left);return}const finish_walk=()=>{if(w.logical){w.left.walk(S);push(S);w.right.walk(S);pop(S);return true}};var N=w.left;if(!(N instanceof Zr))return finish_walk();var j=N.definition();var q=safe_to_assign(S,j,N.scope,w.right);j.assignments++;if(!q)return finish_walk();var ee=j.fixed;if(!ee&&w.operator!="="&&!w.logical)return finish_walk();var te=w.operator=="=";var ne=te?w.right:w;if(is_modified(k,S,w,ne,0))return finish_walk();j.references.push(N);if(!w.logical){if(!te)j.chained=true;j.fixed=te?function(){return w.right}:function(){return make_node(hr,w,{operator:w.operator.slice(0,-1),left:ee instanceof Ze?ee:ee(),right:w.right})}}if(w.logical){mark(S,j,false);push(S);w.right.walk(S);pop(S);return true}mark(S,j,false);w.right.walk(S);mark(S,j,true);mark_escaped(S,j,N.scope,w,ne,0,1);return true}));S(hr,(function(S){if(!Jn.has(this.operator))return;this.left.walk(S);push(S);this.right.walk(S);pop(S);return true}));S(it,(function(S,E,k){reset_block_variables(k,this)}));S(Vt,(function(S){push(S);this.expression.walk(S);pop(S);push(S);walk_body(this,S);pop(S);return true}));S(Pr,(function(S,E){clear_flag(this,zn);push(S);E();pop(S);return true}));S(_r,(function(S){this.condition.walk(S);push(S);this.consequent.walk(S);pop(S);push(S);this.alternative.walk(S);pop(S);return true}));S(pr,(function(S,E){const k=S.safe_ids;E();S.safe_ids=k;return true}));S(ir,(function(S){this.expression.walk(S);if(this.optional){push(S)}for(const E of this.args)E.walk(S);return true}));S(cr,(function(S){if(!this.optional)return;this.expression.walk(S);push(S);if(this.property instanceof Ze)this.property.walk(S);return true}));S(qt,(function(S,E){push(S);E();pop(S);return true}));function mark_lambda(S,E,k){clear_flag(this,zn);push(S);reset_variables(S,k,this);if(this.uses_arguments){E();pop(S);return}var w;if(!this.name&&(w=S.parent())instanceof ir&&w.expression===this&&!w.args.some((S=>S instanceof St))&&this.argnames.every((S=>S instanceof Mr))){this.argnames.forEach(((E,k)=>{if(!E.definition)return;var N=E.definition();if(N.orig.length>1)return;if(N.fixed===undefined&&(!this.uses_arguments||S.has_directive("use strict"))){N.fixed=function(){return w.args[k]||make_node(gn,w)};S.loop_ids.set(N.id,S.in_loop);mark(S,N,true)}else{N.fixed=false}}))}E();pop(S);return true}S(Et,mark_lambda);S(ft,(function(S,E,k){reset_block_variables(k,this);const w=S.in_loop;S.in_loop=this;push(S);this.body.walk(S);if(has_break_or_continue(this)){pop(S);push(S)}this.condition.walk(S);pop(S);S.in_loop=w;return true}));S(ht,(function(S,E,k){reset_block_variables(k,this);if(this.init)this.init.walk(S);const w=S.in_loop;S.in_loop=this;push(S);if(this.condition)this.condition.walk(S);this.body.walk(S);if(this.step){if(has_break_or_continue(this)){pop(S);push(S)}this.step.walk(S)}pop(S);S.in_loop=w;return true}));S(_t,(function(S,E,k){reset_block_variables(k,this);suppress(this.init);this.object.walk(S);const w=S.in_loop;S.in_loop=this;push(S);this.body.walk(S);pop(S);S.in_loop=w;return true}));S(Ut,(function(S){this.condition.walk(S);push(S);this.body.walk(S);pop(S);if(this.alternative){push(S);this.alternative.walk(S);pop(S)}return true}));S(ut,(function(S){push(S);this.body.walk(S);pop(S);return true}));S(Kr,(function(){this.definition().fixed=false}));S(Zr,(function(S,E,k){var w=this.definition();w.references.push(this);if(w.references.length==1&&!w.fixed&&w.orig[0]instanceof $r){S.loop_ids.set(w.id,S.in_loop)}var N;if(w.fixed===undefined||!safe_to_read(S,w)){w.fixed=false}else if(w.fixed){N=this.fixed_value();if(N instanceof Et&&recursive_ref(S,w)){w.recursive_refs++}else if(N&&!k.exposed(w)&&ref_once(S,k,w)){w.single_use=N instanceof Et&&!N.pinned()||N instanceof Pr||w.scope===this.scope&&N.is_constant_expression()}else{w.single_use=false}if(is_modified(k,S,this,N,0,is_immutable(N))){if(w.single_use){w.single_use="m"}else{w.fixed=false}}}mark_escaped(S,w,this.scope,this,N,0,1)}));S(xt,(function(S,E,k){this.globals.forEach((function(S){reset_def(k,S)}));reset_variables(S,k,this)}));S(Ht,(function(S,E,k){reset_block_variables(k,this);push(S);walk_body(this,S);pop(S);if(this.bcatch){push(S);this.bcatch.walk(S);pop(S)}if(this.bfinally)this.bfinally.walk(S);return true}));S(fr,(function(S){var E=this;if(E.operator!=="++"&&E.operator!=="--")return;var k=E.expression;if(!(k instanceof Zr))return;var w=k.definition();var N=safe_to_assign(S,w,k.scope,true);w.assignments++;if(!N)return;var j=w.fixed;if(!j)return;w.references.push(k);w.chained=true;w.fixed=function(){return make_node(hr,E,{operator:E.operator.slice(0,-1),left:make_node(mr,E,{operator:"+",expression:j instanceof Ze?j:j()}),right:make_node(cn,E,{value:1})})};mark(S,w,true);return true}));S(Zt,(function(S,E){var k=this;if(k.name instanceof At){suppress(k.name);return}var w=k.name.definition();if(k.value){if(safe_to_assign(S,w,k.name.scope,k.value)){w.fixed=function(){return k.value};S.loop_ids.set(w.id,S.in_loop);mark(S,w,false);E();mark(S,w,true);return true}else{w.fixed=false}}}));S(mt,(function(S,E,k){reset_block_variables(k,this);const w=S.in_loop;S.in_loop=this;push(S);E();pop(S);S.in_loop=w;return true}))})((function(S,E){S.DEFMETHOD("reduce_vars",E)}));xt.DEFMETHOD("reset_opt_flags",(function(S){const E=this;const k=S.option("reduce_vars");const w=new TreeWalker((function(N,j){clear_flag(N,Vn);if(k){if(S.top_retain&&N instanceof Dt&&w.parent()===E){set_flag(N,qn)}return N.reduce_vars(w,j,S)}}));w.safe_ids=Object.create(null);w.in_loop=null;w.loop_ids=new Map;w.defs_to_safe_ids=new Map;E.walk(w)}));Mr.DEFMETHOD("fixed_value",(function(){var S=this.thedef.fixed;if(!S||S instanceof Ze)return S;return S()}));Zr.DEFMETHOD("is_immutable",(function(){var S=this.definition().orig;return S.length==1&&S[0]instanceof Hr}));function is_func_expr(S){return S instanceof Ct||S instanceof kt}function is_lhs_read_only(S){if(S instanceof nn)return true;if(S instanceof Zr)return S.definition().orig[0]instanceof Hr;if(S instanceof cr){S=S.expression;if(S instanceof Zr){if(S.is_immutable())return false;S=S.fixed_value()}if(!S)return true;if(S instanceof un)return false;if(S instanceof on)return true;return is_lhs_read_only(S)}return false}function is_ref_of(S,E){if(!(S instanceof Zr))return false;var k=S.definition().orig;for(var w=k.length;--w>=0;){if(k[w]instanceof E)return true}}function find_scope(S){for(let E=0;;E++){const k=S.parent(E);if(k instanceof xt)return k;if(k instanceof Et)return k;if(k.block_scope)return k.block_scope}}function find_variable(S,E){var k,w=0;while(k=S.parent(w++)){if(k instanceof bt)break;if(k instanceof Gt&&k.argname){k=k.argname.definition().scope;break}}return k.find_variable(E)}function make_sequence(S,E){if(E.length==1)return E[0];if(E.length==0)throw new Error("trying to create a sequence with length zero!");return make_node(sr,S,{expressions:E.reduce(merge_sequence,[])})}function make_node_from_constant(S,E){switch(typeof S){case"string":return make_node(sn,E,{value:S});case"number":if(isNaN(S))return make_node(mn,E);if(isFinite(S)){return 1/S<0?make_node(mr,E,{operator:"-",expression:make_node(cn,E,{value:-S})}):make_node(cn,E,{value:S})}return S<0?make_node(mr,E,{operator:"-",expression:make_node(_n,E)}):make_node(_n,E);case"boolean":return make_node(S?bn:vn,E);case"undefined":return make_node(gn,E);default:if(S===null){return make_node(pn,E,{value:null})}if(S instanceof RegExp){return make_node(un,E,{value:{source:regexp_source_fix(S.source),flags:S.flags}})}throw new Error(string_template("Can't handle constant of type: {type}",{type:typeof S}))}}function maintain_this_binding(S,E,k){if(S instanceof mr&&S.operator=="delete"||S instanceof ir&&S.expression===E&&(k instanceof cr||k instanceof Zr&&k.name=="eval")){return make_sequence(E,[make_node(cn,E,{value:0}),k])}return k}function merge_sequence(S,E){if(E instanceof sr){S.push(...E.expressions)}else{S.push(E)}return S}function as_statement_array(S){if(S===null)return[];if(S instanceof ot)return S.body;if(S instanceof st)return[];if(S instanceof et)return[S];throw new Error("Can't convert thing to statement array")}function is_empty(S){if(S===null)return true;if(S instanceof st)return true;if(S instanceof ot)return S.body.length==0;return false}function can_be_evicted_from_block(S){return!(S instanceof Fr||S instanceof Dt||S instanceof Xt||S instanceof Yt||S instanceof nr||S instanceof tr)}function loop_body(S){if(S instanceof dt){return S.body instanceof ot?S.body:S}return S}function is_iife_call(S){if(S.TYPE!="Call")return false;return S.expression instanceof kt||is_iife_call(S.expression)}function is_undeclared_ref(S){return S instanceof Zr&&S.definition().undeclared}var Hn=makePredicate("Array Boolean clearInterval clearTimeout console Date decodeURI decodeURIComponent encodeURI encodeURIComponent Error escape eval EvalError Function isFinite isNaN JSON Math Number parseFloat parseInt RangeError ReferenceError RegExp Object setInterval setTimeout String SyntaxError TypeError unescape URIError");Zr.DEFMETHOD("is_declared",(function(S){return!this.definition().undeclared||S.option("unsafe")&&Hn.has(this.name)}));var Gn=makePredicate("Infinity NaN undefined");function is_identifier_atom(S){return S instanceof _n||S instanceof mn||S instanceof gn}function tighten_body(S,E){var k,w;var j=E.find_parent(bt).get_defun_scope();find_loop_scope_try();var q,ee=10;do{q=false;eliminate_spurious_blocks(S);if(E.option("dead_code")){eliminate_dead_code(S,E)}if(E.option("if_return")){handle_if_return(S,E)}if(E.sequences_limit>0){sequencesize(S,E);sequencesize_2(S,E)}if(E.option("join_vars")){join_consecutive_vars(S)}if(E.option("collapse_vars")){collapse(S,E)}}while(q&&ee-- >0);function find_loop_scope_try(){var S=E.self(),N=0;do{if(S instanceof Gt||S instanceof Jt){N++}else if(S instanceof dt){k=true}else if(S instanceof bt){j=S;break}else if(S instanceof Ht){w=true}}while(S=E.parent(N++))}function collapse(S,E){if(j.pinned())return S;var ee;var te=[];var ne=S.length;var ae=new TreeTransformer((function(S){if(ze)return S;if(!je){if(S!==ve[Ee])return S;Ee++;if(Ee1)||S instanceof dt&&!(S instanceof ht)||S instanceof Rt||S instanceof Ht||S instanceof vt||S instanceof zt||S instanceof nr||S instanceof Pr||k instanceof ht&&S!==k.init||!Re&&(S instanceof Zr&&!S.is_declared(E)&&!ei.has(S))||S instanceof Zr&&k instanceof ir&&has_annotation(k,Tn)){ze=true;return S}if(!Ne&&(!Oe||!Re)&&(k instanceof hr&&Jn.has(k.operator)&&k.left!==S||k instanceof _r&&k.condition!==S||k instanceof Ut&&k.condition!==S)){Ne=k}if(We&&!(S instanceof Lr)&&Ie.equivalent_to(S)){if(Ne){ze=true;return S}if(is_lhs(S,k)){if(Ce)Ue++;return S}else{Ue++;if(Ce&&Te instanceof Zt)return S}q=ze=true;if(Te instanceof gr){return make_node(mr,Te,Te)}if(Te instanceof Zt){var N=Te.name.definition();var j=Te.value;if(N.references.length-N.replaced==1&&!E.exposed(N)){N.replaced++;if(Be&&is_identifier_atom(j)){return j.transform(E)}else{return maintain_this_binding(k,S,j)}}return make_node(yr,Te,{operator:"=",logical:false,left:make_node(Zr,Te.name,Te.name),right:j})}clear_flag(Te,Un);return Te}var ee;if(S instanceof ir||S instanceof Ft&&(Me||Ie instanceof cr||may_modify(Ie))||S instanceof cr&&(Me||S.expression.may_throw_on_access(E))||S instanceof Zr&&(Fe.get(S.name)||Me&&may_modify(S))||S instanceof Zt&&S.value&&(Fe.has(S.name.name)||Me&&may_modify(S.name))||(ee=is_lhs(S.left,S))&&(ee instanceof cr||Fe.has(ee.name))||Le&&(w?S.has_side_effects(E):side_effects_external(S))){we=S;if(S instanceof bt)ze=true}return handle_custom_scan_order(S)}),(function(S){if(ze)return;if(we===S)ze=true;if(Ne===S)Ne=null}));var _e=new TreeTransformer((function(S){if(ze)return S;if(!je){if(S!==ve[Ee])return S;Ee++;if(Ee=0){if(ne==0&&E.option("unused"))extract_args();var ve=[];extract_candidates(S[ne]);while(te.length>0){ve=te.pop();var Ee=0;var Te=ve[ve.length-1];var Ce=null;var we=null;var Ne=null;var Ie=get_lhs(Te);if(!Ie||is_lhs_read_only(Ie)||Ie.has_side_effects(E))continue;var Fe=get_lvalues(Te);var Oe=is_lhs_local(Ie);if(Ie instanceof Zr)Fe.set(Ie.name,false);var Me=value_has_side_effects(Te);var Re=replace_all_symbols();var Le=Te.may_throw(E);var Be=Te.name instanceof Wr;var je=Be;var ze=false,Ue=0,We=!ee||!je;if(!We){for(var $e=E.self().argnames.lastIndexOf(Te.name)+1;!ze&&$eUe)Ue=false;else{ze=false;Ee=0;je=Be;for(var qe=ne;!ze&&qe!(S instanceof St)))){var w=E.has_directive("use strict");if(w&&!member(w,k.body))w=false;var N=k.argnames.length;ee=S.args.slice(N);var j=new Set;for(var q=N;--q>=0;){var ne=k.argnames[q];var ae=S.args[q];const N=ne.definition&&ne.definition();const ve=N&&N.orig.length>1;if(ve)continue;ee.unshift(make_node(Zt,ne,{name:ne,value:ae}));if(j.has(ne.name))continue;j.add(ne.name);if(ne instanceof St){var _e=S.args.slice(q);if(_e.every((S=>!has_overlapping_symbol(k,S,w)))){te.unshift([make_node(Zt,ne,{name:ne.expression,value:make_node(br,S,{elements:_e})})])}}else{if(!ae){ae=make_node(gn,ne).transform(E)}else if(ae instanceof Et&&ae.pinned()||has_overlapping_symbol(k,ae,w)){ae=null}if(ae)te.unshift([make_node(Zt,ne,{name:ne,value:ae})])}}}}function extract_candidates(S){ve.push(S);if(S instanceof yr){if(!S.left.has_side_effects(E)&&!(S.right instanceof pr)){te.push(ve.slice())}extract_candidates(S.right)}else if(S instanceof hr){extract_candidates(S.left);extract_candidates(S.right)}else if(S instanceof ir&&!has_annotation(S,Tn)){extract_candidates(S.expression);S.args.forEach(extract_candidates)}else if(S instanceof Vt){extract_candidates(S.expression)}else if(S instanceof _r){extract_candidates(S.condition);extract_candidates(S.consequent);extract_candidates(S.alternative)}else if(S instanceof Kt){var k=S.definitions.length;var w=k-200;if(w<0)w=0;for(;w1&&!(S.name instanceof Wr)||(w>1?mangleable_var(S):!E.exposed(k))){return make_node(Zr,S.name,S.name)}}else{const E=S instanceof yr?S.left:S.expression;return!is_ref_of(E,zr)&&!is_ref_of(E,Ur)&&E}}function get_rvalue(S){if(S instanceof yr){return S.right}else{return S.value}}function get_lvalues(S){var k=new Map;if(S instanceof fr)return k;var w=new TreeWalker((function(S){var N=S;while(N instanceof cr)N=N.expression;if(N instanceof Zr||N instanceof nn){k.set(N.name,k.get(N.name)||is_modified(E,w,S,S,0))}}));get_rvalue(S).walk(w);return k}function remove_candidate(k){if(k.name instanceof Wr){var w=E.parent(),j=E.self().argnames;var q=j.indexOf(k.name);if(q<0){w.args.length=Math.min(w.args.length,j.length-1)}else{var ee=w.args;if(ee[q])ee[q]=make_node(cn,ee[q],{value:0})}return true}var te=false;return S[ne].transform(new TreeTransformer((function(S,E,w){if(te)return S;if(S===k||S.body===k){te=true;if(S instanceof Zt){S.value=S.name instanceof zr?make_node(gn,S.value):null;return S}return w?N.skip:null}}),(function(S){if(S instanceof sr)switch(S.expressions.length){case 0:return null;case 1:return S.expressions[0]}})))}function is_lhs_local(S){while(S instanceof cr)S=S.expression;return S instanceof Zr&&S.definition().scope===j&&!(k&&(Fe.has(S.name)||Te instanceof fr||Te instanceof yr&&!Te.logical&&Te.operator!="="))}function value_has_side_effects(S){if(S instanceof fr)return Kn.has(S.operator);return get_rvalue(S).has_side_effects(E)}function replace_all_symbols(){if(Me)return false;if(Ce)return true;if(Ie instanceof Zr){var S=Ie.definition();if(S.references.length-S.replaced==(Te instanceof Zt?1:2)){return true}}return false}function may_modify(S){if(!S.definition)return true;var E=S.definition();if(E.orig.length==1&&E.orig[0]instanceof $r)return false;if(E.scope.get_defun_scope()!==j)return true;return!E.references.every((S=>{var E=S.scope.get_defun_scope();if(E.TYPE=="Scope")E=E.parent_scope;return E===j}))}function side_effects_external(S,E){if(S instanceof yr)return side_effects_external(S.left,true);if(S instanceof fr)return side_effects_external(S.expression,true);if(S instanceof Zt)return S.value&&side_effects_external(S.value);if(E){if(S instanceof lr)return side_effects_external(S.expression,true);if(S instanceof dr)return side_effects_external(S.expression,true);if(S instanceof Zr)return S.definition().scope!==j}return false}}function eliminate_spurious_blocks(S){var E=[];for(var k=0;k=0;){var ee=S[j];var te=next_index(j);var ne=S[te];if(N&&!ne&&ee instanceof Ot){if(!ee.value){q=true;S.splice(j,1);continue}if(ee.value instanceof mr&&ee.value.operator=="void"){q=true;S[j]=make_node(nt,ee,{body:ee.value.expression});continue}}if(ee instanceof Ut){var ae=aborts(ee.body);if(can_merge_flow(ae)){if(ae.label){remove(ae.label.thedef.references,ae)}q=true;ee=ee.clone();ee.condition=ee.condition.negate(E);var _e=as_statement_array_with_return(ee.body,ae);ee.body=make_node(ot,ee,{body:as_statement_array(ee.alternative).concat(extract_functions())});ee.alternative=make_node(ot,ee,{body:_e});S[j]=ee.transform(E);continue}var ae=aborts(ee.alternative);if(can_merge_flow(ae)){if(ae.label){remove(ae.label.thedef.references,ae)}q=true;ee=ee.clone();ee.body=make_node(ot,ee.body,{body:as_statement_array(ee.body).concat(extract_functions())});var _e=as_statement_array_with_return(ee.alternative,ae);ee.alternative=make_node(ot,ee.alternative,{body:_e});S[j]=ee.transform(E);continue}}if(ee instanceof Ut&&ee.body instanceof Ot){var ve=ee.body.value;if(!ve&&!ee.alternative&&(N&&!ne||ne instanceof Ot&&!ne.value)){q=true;S[j]=make_node(nt,ee.condition,{body:ee.condition});continue}if(ve&&!ee.alternative&&ne instanceof Ot&&ne.value){q=true;ee=ee.clone();ee.alternative=ne;S[j]=ee.transform(E);S.splice(te,1);continue}if(ve&&!ee.alternative&&(!ne&&N&&w||ne instanceof Ot)){q=true;ee=ee.clone();ee.alternative=ne||make_node(Ot,ee,{value:null});S[j]=ee.transform(E);if(ne)S.splice(te,1);continue}var Ee=S[prev_index(j)];if(E.option("sequences")&&N&&!ee.alternative&&Ee instanceof Ut&&Ee.body instanceof Ot&&next_index(te)==S.length&&ne instanceof nt){q=true;ee=ee.clone();ee.alternative=make_node(ot,ne,{body:[ne,make_node(Ot,ne,{value:null})]});S[j]=ee.transform(E);S.splice(te,1);continue}}}function has_multiple_if_returns(S){var E=0;for(var k=S.length;--k>=0;){var w=S[k];if(w instanceof Ut&&w.body instanceof Ot){if(++E>1)return true}}return false}function is_return_void(S){return!S||S instanceof mr&&S.operator=="void"}function can_merge_flow(w){if(!w)return false;for(var q=j+1,ee=S.length;q=0;){var w=S[k];if(!(w instanceof Qt&&declarations_only(w))){break}}return k}}function eliminate_dead_code(S,E){var k;var w=E.self();for(var N=0,j=0,ee=S.length;N!S.value))}function sequencesize(S,E){if(S.length<2)return;var k=[],w=0;function push_seq(){if(!k.length)return;var E=make_sequence(k[0],k);S[w++]=make_node(nt,E,{body:E});k=[]}for(var N=0,j=S.length;N=E.sequences_limit)push_seq();var te=ee.body;if(k.length>0)te=te.drop_side_effect_free(E);if(te)merge_sequence(k,te)}else if(ee instanceof Kt&&declarations_only(ee)||ee instanceof Dt){S[w++]=ee}else{push_seq();S[w++]=ee}}push_seq();S.length=w;if(w!=j)q=true}function to_simple_statement(S,E){if(!(S instanceof ot))return S;var k=null;for(var w=0,N=S.body.length;w{if(S instanceof bt)return true;if(S instanceof hr&&S.operator==="in"){return xn}}));if(!S){if(j.init)j.init=cons_seq(j.init);else{j.init=w.body;k--;q=true}}}}else if(j instanceof _t){if(!(j.init instanceof Yt)&&!(j.init instanceof Xt)){j.object=cons_seq(j.object)}}else if(j instanceof Ut){j.condition=cons_seq(j.condition)}else if(j instanceof Wt){j.expression=cons_seq(j.expression)}else if(j instanceof vt){j.expression=cons_seq(j.expression)}}if(E.option("conditionals")&&j instanceof Ut){var ee=[];var te=to_simple_statement(j.body,ee);var ne=to_simple_statement(j.alternative,ee);if(te!==false&&ne!==false&&ee.length>0){var ae=ee.length;ee.push(make_node(Ut,j,{condition:j.condition,body:te||make_node(st,j.body),alternative:ne}));ee.unshift(k,1);[].splice.apply(S,ee);N+=ae;k+=ae+1;w=null;q=true;continue}}S[k++]=j;w=j instanceof nt?j:null}S.length=k}function join_object_assignments(S,k){if(!(S instanceof Kt))return;var w=S.definitions[S.definitions.length-1];if(!(w.value instanceof xr))return;var N;if(k instanceof yr&&!k.logical){N=[k]}else if(k instanceof sr){N=k.expressions.slice()}if(!N)return;var q=false;do{var ee=N[0];if(!(ee instanceof yr))break;if(ee.operator!="=")break;if(!(ee.left instanceof cr))break;var te=ee.left.expression;if(!(te instanceof Zr))break;if(w.name.name!=te.name)break;if(!ee.right.is_constant_expression(j))break;var ne=ee.left.property;if(ne instanceof Ze){ne=ne.evaluate(E)}if(ne instanceof Ze)break;ne=""+ne;var ae=E.option("ecma")<2015&&E.has_directive("use strict")?function(S){return S.key!=ne&&(S.key&&S.key.name!=ne)}:function(S){return S.key&&S.key.name!=ne};if(!w.value.properties.every(ae))break;var _e=w.value.properties.filter((function(S){return S.key===ne}))[0];if(!_e){w.value.properties.push(make_node(Er,ee,{key:ne,value:ee.right}))}else{_e.value=new sr({start:_e.start,expressions:[_e.value.clone(),ee.right.clone()],end:_e.end})}N.shift();q=true}while(N.length);return q&&N}function join_consecutive_vars(S){var E;for(var k=0,w=-1,N=S.length;k{if(w instanceof Qt){w.remove_initializers();k.push(w);return true}if(w instanceof Dt&&(w===E||!S.has_directive("use strict"))){k.push(w===E?w:make_node(Qt,w,{definitions:[make_node(Zt,w,{name:make_node(Br,w.name,w.name),value:null})]}));return true}if(w instanceof nr||w instanceof tr){k.push(w);return true}if(w instanceof bt){return true}}))}function get_value(S){if(S instanceof on){return S.getValue()}if(S instanceof mr&&S.operator=="void"&&S.expression instanceof on){return}return S}function is_undefined(S,E){return has_flag(S,jn)||S instanceof gn||S instanceof mr&&S.operator=="void"&&!S.expression.has_side_effects(E)}(function(S){Ze.DEFMETHOD("may_throw_on_access",(function(S){return!S.option("pure_getters")||this._dot_throw(S)}));function is_strict(S){return/strict/.test(S.option("pure_getters"))}S(Ze,is_strict);S(pn,return_true);S(gn,return_true);S(on,return_false);S(br,return_false);S(xr,(function(S){if(!is_strict(S))return false;for(var E=this.properties.length;--E>=0;)if(this.properties[E]._dot_throw(S))return true;return false}));S(Pr,return_false);S(Sr,return_false);S(Dr,return_true);S(St,(function(S){return this.expression._dot_throw(S)}));S(kt,return_false);S(Ct,return_false);S(gr,return_false);S(mr,(function(){return this.operator=="void"}));S(hr,(function(S){return(this.operator=="&&"||this.operator=="||"||this.operator=="??")&&(this.left._dot_throw(S)||this.right._dot_throw(S))}));S(yr,(function(S){if(this.logical)return true;return this.operator=="="&&this.right._dot_throw(S)}));S(_r,(function(S){return this.consequent._dot_throw(S)||this.alternative._dot_throw(S)}));S(lr,(function(S){if(!is_strict(S))return false;if(this.property=="prototype"){return!(this.expression instanceof kt||this.expression instanceof Pr)}return true}));S(pr,(function(S){return this.expression._dot_throw(S)}));S(sr,(function(S){return this.tail_node()._dot_throw(S)}));S(Zr,(function(S){if(this.name==="arguments")return false;if(has_flag(this,jn))return true;if(!is_strict(S))return false;if(is_undeclared_ref(this)&&this.is_declared(S))return false;if(this.is_immutable())return false;var E=this.fixed_value();return!E||E._dot_throw(S)}))})((function(S,E){S.DEFMETHOD("_dot_throw",E)}));(function(S){const E=makePredicate("! delete");const k=makePredicate("in instanceof == != === !== < <= >= >");S(Ze,return_false);S(mr,(function(){return E.has(this.operator)}));S(hr,(function(){return k.has(this.operator)||Jn.has(this.operator)&&this.left.is_boolean()&&this.right.is_boolean()}));S(_r,(function(){return this.consequent.is_boolean()&&this.alternative.is_boolean()}));S(yr,(function(){return this.operator=="="&&this.right.is_boolean()}));S(sr,(function(){return this.tail_node().is_boolean()}));S(bn,return_true);S(vn,return_true)})((function(S,E){S.DEFMETHOD("is_boolean",E)}));(function(S){S(Ze,return_false);S(cn,return_true);var E=makePredicate("+ - ~ ++ --");S(fr,(function(){return E.has(this.operator)}));var k=makePredicate("- * / % & | ^ << >> >>>");S(hr,(function(S){return k.has(this.operator)||this.operator=="+"&&this.left.is_number(S)&&this.right.is_number(S)}));S(yr,(function(S){return k.has(this.operator.slice(0,-1))||this.operator=="="&&this.right.is_number(S)}));S(sr,(function(S){return this.tail_node().is_number(S)}));S(_r,(function(S){return this.consequent.is_number(S)&&this.alternative.is_number(S)}))})((function(S,E){S.DEFMETHOD("is_number",E)}));(function(S){S(Ze,return_false);S(sn,return_true);S(Pt,return_true);S(mr,(function(){return this.operator=="typeof"}));S(hr,(function(S){return this.operator=="+"&&(this.left.is_string(S)||this.right.is_string(S))}));S(yr,(function(S){return(this.operator=="="||this.operator=="+=")&&this.right.is_string(S)}));S(sr,(function(S){return this.tail_node().is_string(S)}));S(_r,(function(S){return this.consequent.is_string(S)&&this.alternative.is_string(S)}))})((function(S,E){S.DEFMETHOD("is_string",E)}));var Jn=makePredicate("&& || ??");var Kn=makePredicate("delete ++ --");function is_lhs(S,E){if(E instanceof fr&&Kn.has(E.operator))return E.expression;if(E instanceof yr&&E.left===S)return S}(function(S){function to_node(S,E){if(S instanceof Ze)return make_node(S.CTOR,E,S);if(Array.isArray(S))return make_node(br,E,{elements:S.map((function(S){return to_node(S,E)}))});if(S&&typeof S=="object"){var k=[];for(var w in S)if(HOP(S,w)){k.push(make_node(Er,E,{key:w,value:to_node(S[w],E)}))}return make_node(xr,E,{properties:k})}return make_node_from_constant(S,E)}xt.DEFMETHOD("resolve_defines",(function(S){if(!S.option("global_defs"))return this;this.figure_out_scope({ie8:S.option("ie8")});return this.transform(new TreeTransformer((function(E){var k=E._find_defs(S,"");if(!k)return;var w=0,N=E,j;while(j=this.parent(w++)){if(!(j instanceof cr))break;if(j.expression!==N)break;N=j}if(is_lhs(N,j)){return}return k})))}));S(Ze,noop);S(pr,(function(S,E){return this.expression._find_defs(S,E)}));S(lr,(function(S,E){return this.expression._find_defs(S,"."+this.property+E)}));S(Lr,(function(){if(!this.global())return}));S(Zr,(function(S,E){if(!this.global())return;var k=S.option("global_defs");var w=this.name+E;if(HOP(k,w))return to_node(k[w],this)}))})((function(S,E){S.DEFMETHOD("_find_defs",E)}));function best_of_expression(S,E){return S.size()>E.size()?E:S}function best_of_statement(S,E){return best_of_expression(make_node(nt,S,{body:S}),make_node(nt,E,{body:E})).body}function best_of(S,E,k){return(first_in_statement(S)?best_of_statement:best_of_expression)(E,k)}function convert_to_predicate(S){const E=new Map;for(var k of Object.keys(S)){E.set(k,makePredicate(S[k]))}return E}var Qn=["constructor","toString","valueOf"];var Xn=convert_to_predicate({Array:["indexOf","join","lastIndexOf","slice"].concat(Qn),Boolean:Qn,Function:Qn,Number:["toExponential","toFixed","toPrecision"].concat(Qn),Object:Qn,RegExp:["test"].concat(Qn),String:["charAt","charCodeAt","concat","indexOf","italics","lastIndexOf","match","replace","search","slice","split","substr","substring","toLowerCase","toUpperCase","trim"].concat(Qn)});var Yn=convert_to_predicate({Array:["isArray"],Math:["abs","acos","asin","atan","ceil","cos","exp","floor","log","round","sin","sqrt","tan","atan2","pow","max","min"],Number:["isFinite","isNaN"],Object:["create","getOwnPropertyDescriptor","getOwnPropertyNames","getPrototypeOf","isExtensible","isFrozen","isSealed","keys"],String:["fromCharCode"]});(function(S){Ze.DEFMETHOD("evaluate",(function(S){if(!S.option("evaluate"))return this;var E=this._eval(S,1);if(!E||E instanceof RegExp)return E;if(typeof E=="function"||typeof E=="object")return this;return E}));var E=makePredicate("! ~ - + void");Ze.DEFMETHOD("is_constant",(function(){if(this instanceof on){return!(this instanceof un)}else{return this instanceof mr&&this.expression instanceof on&&E.has(this.operator)}}));S(et,(function(){throw new Error(string_template("Cannot evaluate a statement [{file}:{line},{col}]",this.start))}));S(Et,return_this);S(Pr,return_this);S(Ze,return_this);S(on,(function(){return this.getValue()}));S(ln,return_this);S(un,(function(S){let E=S.evaluated_regexps.get(this);if(E===undefined){try{E=(0,eval)(this.print_to_string())}catch(S){E=null}S.evaluated_regexps.set(this,E)}return E||this}));S(Pt,(function(){if(this.segments.length!==1)return this;return this.segments[0].value}));S(kt,(function(S){if(S.option("unsafe")){var fn=function(){};fn.node=this;fn.toString=()=>this.print_to_string();return fn}return this}));S(br,(function(S,E){if(S.option("unsafe")){var k=[];for(var w=0,N=this.elements.length;wtypeof S==="object"||typeof S==="function"||typeof S==="symbol";S(hr,(function(S,E){if(!w.has(this.operator))E++;var k=this.left._eval(S,E);if(k===this.left)return this;var j=this.right._eval(S,E);if(j===this.right)return this;var q;if(k!=null&&j!=null&&N.has(this.operator)&&has_identity(k)&&has_identity(j)&&typeof k===typeof j){return this}switch(this.operator){case"&&":q=k&&j;break;case"||":q=k||j;break;case"??":q=k!=null?k:j;break;case"|":q=k|j;break;case"&":q=k&j;break;case"^":q=k^j;break;case"+":q=k+j;break;case"*":q=k*j;break;case"**":q=Math.pow(k,j);break;case"/":q=k/j;break;case"%":q=k%j;break;case"-":q=k-j;break;case"<<":q=k<>":q=k>>j;break;case">>>":q=k>>>j;break;case"==":q=k==j;break;case"===":q=k===j;break;case"!=":q=k!=j;break;case"!==":q=k!==j;break;case"<":q=k":q=k>j;break;case">=":q=k>=j;break;default:return this}if(isNaN(q)&&S.find_parent(vt)){return this}return q}));S(_r,(function(S,E){var k=this.condition._eval(S,E);if(k===this.condition)return this;var w=k?this.consequent:this.alternative;var N=w._eval(S,E);return N===w?this:N}));const j=new Set;S(Zr,(function(S,E){if(j.has(this))return this;var k=this.fixed_value();if(!k)return this;j.add(this);const w=k._eval(S,E);j.delete(this);if(w===k)return this;if(w&&typeof w=="object"){var N=this.definition().escaped;if(N&&E>N)return this}return w}));var q={Array:Array,Math:Math,Number:Number,Object:Object,String:String};var ee=convert_to_predicate({Math:["E","LN10","LN2","LOG2E","LOG10E","PI","SQRT1_2","SQRT2"],Number:["MAX_VALUE","MIN_VALUE","NaN","NEGATIVE_INFINITY","POSITIVE_INFINITY"]});const te=new Set(["dotAll","global","ignoreCase","multiline","sticky","unicode"]);S(cr,(function(S,E){if(this.optional){const k=this.expression._eval(S,E);if(k==null)return undefined}if(S.option("unsafe")){var k=this.property;if(k instanceof Ze){k=k._eval(S,E);if(k===this.property)return this}var w=this.expression;var N;if(is_undeclared_ref(w)){var j;var ne=w.name==="hasOwnProperty"&&k==="call"&&(j=S.parent()&&S.parent().args)&&(j&&j[0]&&j[0].evaluate(S));ne=ne instanceof lr?ne.expression:ne;if(ne==null||ne.thedef&&ne.thedef.undeclared){return this.clone()}var ae=ee.get(w.name);if(!ae||!ae.has(k))return this;N=q[w.name]}else{N=w._eval(S,E+1);if(N instanceof RegExp){if(k=="source"){return regexp_source_fix(N.source)}else if(k=="flags"||te.has(k)){return N[k]}}if(!N||N===w||!HOP(N,k))return this;if(typeof N=="function")switch(k){case"name":return N.node.name?N.node.name.name:"";case"length":return N.node.length_property();default:return this}}return N[k]}return this}));S(pr,(function(S,E){const k=this.expression._eval(S,E);return k===this.expression?this:k}));S(ir,(function(S,E){var k=this.expression;if(this.optional){const k=this.expression._eval(S,E);if(k==null)return undefined}if(S.option("unsafe")&&k instanceof cr){var w=k.property;if(w instanceof Ze){w=w._eval(S,E);if(w===k.property)return this}var N;var j=k.expression;if(is_undeclared_ref(j)){var ee=j.name==="hasOwnProperty"&&w==="call"&&(this.args[0]&&this.args[0].evaluate(S));ee=ee instanceof lr?ee.expression:ee;if(ee==null||ee.thedef&&ee.thedef.undeclared){return this.clone()}var te=Yn.get(j.name);if(!te||!te.has(w))return this;N=q[j.name]}else{N=j._eval(S,E+1);if(N===j||!N)return this;var ne=Xn.get(N.constructor.name);if(!ne||!ne.has(w))return this}var ae=[];for(var _e=0,ve=this.args.length;_e";return k;case"<":k.operator=">=";return k;case">=":k.operator="<";return k;case">":k.operator="<=";return k}}switch(w){case"==":k.operator="!=";return k;case"!=":k.operator="==";return k;case"===":k.operator="!==";return k;case"!==":k.operator="===";return k;case"&&":k.operator="||";k.left=k.left.negate(S,E);k.right=k.right.negate(S);return best(this,k,E);case"||":k.operator="&&";k.left=k.left.negate(S,E);k.right=k.right.negate(S);return best(this,k,E);case"??":k.right=k.right.negate(S);return best(this,k,E)}return basic_negation(this)}))})((function(S,E){S.DEFMETHOD("negate",(function(S,k){return E.call(this,S,k)}))}));var Zn=makePredicate("Boolean decodeURI decodeURIComponent Date encodeURI encodeURIComponent Error escape EvalError isFinite isNaN Number Object parseFloat parseInt RangeError ReferenceError String SyntaxError TypeError unescape URIError");ir.DEFMETHOD("is_callee_pure",(function(S){if(S.option("unsafe")){var E=this.expression;var k=this.args&&this.args[0]&&this.args[0].evaluate(S);if(E.expression&&E.expression.name==="hasOwnProperty"&&(k==null||k.thedef&&k.thedef.undeclared)){return false}if(is_undeclared_ref(E)&&Zn.has(E.name))return true;let w;if(E instanceof lr&&is_undeclared_ref(E.expression)&&(w=Yn.get(E.expression.name))&&w.has(E.property)){return true}}return!!has_annotation(this,Sn)||!S.pure_funcs(this)}));Ze.DEFMETHOD("is_call_pure",return_false);lr.DEFMETHOD("is_call_pure",(function(S){if(!S.option("unsafe"))return;const E=this.expression;let k;if(E instanceof br){k=Xn.get("Array")}else if(E.is_boolean()){k=Xn.get("Boolean")}else if(E.is_number(S)){k=Xn.get("Number")}else if(E instanceof un){k=Xn.get("RegExp")}else if(E.is_string(S)){k=Xn.get("String")}else if(!this.may_throw_on_access(S)){k=Xn.get("Object")}return k&&k.has(this.property)}));const ei=new Set(["Number","String","Array","Object","Function","Promise"]);(function(S){S(Ze,return_true);S(st,return_false);S(on,return_false);S(nn,return_false);function any(S,E){for(var k=S.length;--k>=0;)if(S[k].has_side_effects(E))return true;return false}S(it,(function(S){return any(this.body,S)}));S(ir,(function(S){if(!this.is_callee_pure(S)&&(!this.expression.is_call_pure(S)||this.expression.has_side_effects(S))){return true}return any(this.args,S)}));S(Wt,(function(S){return this.expression.has_side_effects(S)||any(this.body,S)}));S(Vt,(function(S){return this.expression.has_side_effects(S)||any(this.body,S)}));S(Ht,(function(S){return any(this.body,S)||this.bcatch&&this.bcatch.has_side_effects(S)||this.bfinally&&this.bfinally.has_side_effects(S)}));S(Ut,(function(S){return this.condition.has_side_effects(S)||this.body&&this.body.has_side_effects(S)||this.alternative&&this.alternative.has_side_effects(S)}));S(ut,(function(S){return this.body.has_side_effects(S)}));S(nt,(function(S){return this.body.has_side_effects(S)}));S(Et,return_false);S(Pr,(function(S){if(this.extends&&this.extends.has_side_effects(S)){return true}return any(this.properties,S)}));S(hr,(function(S){return this.left.has_side_effects(S)||this.right.has_side_effects(S)}));S(yr,return_true);S(_r,(function(S){return this.condition.has_side_effects(S)||this.consequent.has_side_effects(S)||this.alternative.has_side_effects(S)}));S(fr,(function(S){return Kn.has(this.operator)||this.expression.has_side_effects(S)}));S(Zr,(function(S){return!this.is_declared(S)&&!ei.has(this.name)}));S(Vr,return_false);S(Lr,return_false);S(xr,(function(S){return any(this.properties,S)}));S(Sr,(function(S){return this.computed_key()&&this.key.has_side_effects(S)||this.value&&this.value.has_side_effects(S)}));S(Nr,(function(S){return this.computed_key()&&this.key.has_side_effects(S)||this.static&&this.value&&this.value.has_side_effects(S)}));S(Ar,(function(S){return this.computed_key()&&this.key.has_side_effects(S)}));S(Dr,(function(S){return this.computed_key()&&this.key.has_side_effects(S)}));S(Cr,(function(S){return this.computed_key()&&this.key.has_side_effects(S)}));S(br,(function(S){return any(this.elements,S)}));S(lr,(function(S){return!this.optional&&this.expression.may_throw_on_access(S)||this.expression.has_side_effects(S)}));S(dr,(function(S){if(this.optional&&is_nullish(this.expression,S)){return false}return!this.optional&&this.expression.may_throw_on_access(S)||this.expression.has_side_effects(S)||this.property.has_side_effects(S)}));S(pr,(function(S){return this.expression.has_side_effects(S)}));S(sr,(function(S){return any(this.expressions,S)}));S(Kt,(function(S){return any(this.definitions,S)}));S(Zt,(function(){return this.value}));S(Nt,return_false);S(Pt,(function(S){return any(this.segments,S)}))})((function(S,E){S.DEFMETHOD("has_side_effects",E)}));(function(S){S(Ze,return_true);S(on,return_false);S(st,return_false);S(Et,return_false);S(Lr,return_false);S(nn,return_false);function any(S,E){for(var k=S.length;--k>=0;)if(S[k].may_throw(E))return true;return false}S(Pr,(function(S){if(this.extends&&this.extends.may_throw(S))return true;return any(this.properties,S)}));S(br,(function(S){return any(this.elements,S)}));S(yr,(function(S){if(this.right.may_throw(S))return true;if(!S.has_directive("use strict")&&this.operator=="="&&this.left instanceof Zr){return false}return this.left.may_throw(S)}));S(hr,(function(S){return this.left.may_throw(S)||this.right.may_throw(S)}));S(it,(function(S){return any(this.body,S)}));S(ir,(function(S){if(this.optional&&is_nullish(this.expression,S))return false;if(any(this.args,S))return true;if(this.is_callee_pure(S))return false;if(this.expression.may_throw(S))return true;return!(this.expression instanceof Et)||any(this.expression.body,S)}));S(Vt,(function(S){return this.expression.may_throw(S)||any(this.body,S)}));S(_r,(function(S){return this.condition.may_throw(S)||this.consequent.may_throw(S)||this.alternative.may_throw(S)}));S(Kt,(function(S){return any(this.definitions,S)}));S(Ut,(function(S){return this.condition.may_throw(S)||this.body&&this.body.may_throw(S)||this.alternative&&this.alternative.may_throw(S)}));S(ut,(function(S){return this.body.may_throw(S)}));S(xr,(function(S){return any(this.properties,S)}));S(Sr,(function(S){return this.value?this.value.may_throw(S):false}));S(Nr,(function(S){return this.computed_key()&&this.key.may_throw(S)||this.static&&this.value&&this.value.may_throw(S)}));S(Ar,(function(S){return this.computed_key()&&this.key.may_throw(S)}));S(Dr,(function(S){return this.computed_key()&&this.key.may_throw(S)}));S(Cr,(function(S){return this.computed_key()&&this.key.may_throw(S)}));S(Ot,(function(S){return this.value&&this.value.may_throw(S)}));S(sr,(function(S){return any(this.expressions,S)}));S(nt,(function(S){return this.body.may_throw(S)}));S(lr,(function(S){return!this.optional&&this.expression.may_throw_on_access(S)||this.expression.may_throw(S)}));S(dr,(function(S){if(this.optional&&is_nullish(this.expression,S))return false;return!this.optional&&this.expression.may_throw_on_access(S)||this.expression.may_throw(S)||this.property.may_throw(S)}));S(pr,(function(S){return this.expression.may_throw(S)}));S(Wt,(function(S){return this.expression.may_throw(S)||any(this.body,S)}));S(Zr,(function(S){return!this.is_declared(S)&&!ei.has(this.name)}));S(Vr,return_false);S(Ht,(function(S){return this.bcatch?this.bcatch.may_throw(S):any(this.body,S)||this.bfinally&&this.bfinally.may_throw(S)}));S(fr,(function(S){if(this.operator=="typeof"&&this.expression instanceof Zr)return false;return this.expression.may_throw(S)}));S(Zt,(function(S){if(!this.value)return false;return this.value.may_throw(S)}))})((function(S,E){S.DEFMETHOD("may_throw",E)}));(function(S){function all_refs_local(S){let E=true;walk(this,(k=>{if(k instanceof Zr){if(has_flag(this,zn)){E=false;return xn}var w=k.definition();if(member(w,this.enclosed)&&!this.variables.has(w.name)){if(S){var N=S.find_variable(k);if(w.undeclared?!N:N===w){E="f";return true}}E=false;return xn}return true}if(k instanceof nn&&this instanceof Ct){E=false;return xn}}));return E}S(Ze,return_false);S(on,return_true);S(Pr,(function(S){if(this.extends&&!this.extends.is_constant_expression(S)){return false}for(const E of this.properties){if(E.computed_key()&&!E.key.is_constant_expression(S)){return false}if(E.static&&E.value&&!E.value.is_constant_expression(S)){return false}}return all_refs_local.call(this,S)}));S(Et,all_refs_local);S(fr,(function(){return this.expression.is_constant_expression()}));S(hr,(function(){return this.left.is_constant_expression()&&this.right.is_constant_expression()}));S(br,(function(){return this.elements.every((S=>S.is_constant_expression()))}));S(xr,(function(){return this.properties.every((S=>S.is_constant_expression()))}));S(Sr,(function(){return!!(!(this.key instanceof Ze)&&this.value&&this.value.is_constant_expression())}))})((function(S,E){S.DEFMETHOD("is_constant_expression",E)}));function aborts(S){return S&&S.aborts()}(function(S){S(et,return_null);S(It,return_this);function block_aborts(){for(var S=0;S{if(S instanceof Lr){const k=S.definition();if((E||k.global)&&!q.has(k.id)){q.set(k.id,k)}}}))}if(k.value){if(k.name instanceof At){k.walk(_e)}else{var N=k.name.definition();map_add(ne,N.id,k.value);if(!N.chained&&k.name.fixed_value()===k.value){ee.set(N.id,k)}}if(k.value.has_side_effects(S)){k.value.walk(_e)}}}));return true}return scan_ref_scoped(N,j)}));E.walk(_e);_e=new TreeWalker(scan_ref_scoped);q.forEach((function(S){var E=ne.get(S.id);if(E)E.forEach((function(S){S.walk(_e)}))}));var ve=new TreeTransformer((function before(ne,_e,Ee){var Te=ve.parent();if(w){const S=j(ne);if(S instanceof Zr){var Ce=S.definition();var we=q.has(Ce.id);if(ne instanceof yr){if(!we||ee.has(Ce.id)&&ee.get(Ce.id)!==ne){return maintain_this_binding(Te,ne,ne.right.transform(ve))}}else if(!we)return Ee?N.skip:make_node(cn,ne,{value:0})}}if(ae!==E)return;var Ce;if(ne.name&&(ne instanceof Or&&!keep_name(S.option("keep_classnames"),(Ce=ne.name.definition()).name)||ne instanceof kt&&!keep_name(S.option("keep_fnames"),(Ce=ne.name.definition()).name))){if(!q.has(Ce.id)||Ce.orig.length>1)ne.name=null}if(ne instanceof Et&&!(ne instanceof Tt)){var Ne=!S.option("keep_fargs");for(var Ie=ne.argnames,Fe=Ie.length;--Fe>=0;){var Oe=Ie[Fe];if(Oe instanceof St){Oe=Oe.expression}if(Oe instanceof vr){Oe=Oe.left}if(!(Oe instanceof At)&&!q.has(Oe.definition().id)){set_flag(Oe,Rn);if(Ne){Ie.pop()}}else{Ne=false}}}if((ne instanceof Dt||ne instanceof Fr)&&ne!==E){const E=ne.name.definition();let w=E.global&&!k||q.has(E.id);if(!w){E.eliminated++;if(ne instanceof Fr){const E=ne.drop_side_effect_free(S);if(E){return make_node(nt,ne,{body:E})}}return Ee?N.skip:make_node(st,ne)}}if(ne instanceof Kt&&!(Te instanceof _t&&Te.init===ne)){var Me=!(Te instanceof xt)&&!(ne instanceof Qt);var Re=[],Le=[],Be=[];var je=[];ne.definitions.forEach((function(E){if(E.value)E.value=E.value.transform(ve);var k=E.name instanceof At;var N=k?new SymbolDef(null,{name:""}):E.name.definition();if(Me&&N.global)return Be.push(E);if(!(w||Me)||k&&(E.name.names.length||E.name.is_array||S.option("pure_getters")!=true)||q.has(N.id)){if(E.value&&ee.has(N.id)&&ee.get(N.id)!==E){E.value=E.value.drop_side_effect_free(S)}if(E.name instanceof Br){var j=te.get(N.id);if(j.length>1&&(!E.value||N.orig.indexOf(E.name)>N.eliminated)){if(E.value){var ae=make_node(Zr,E.name,E.name);N.references.push(ae);var _e=make_node(yr,E,{operator:"=",logical:false,left:ae,right:E.value});if(ee.get(N.id)===E){ee.set(N.id,_e)}je.push(_e.transform(ve))}remove(j,E);N.eliminated++;return}}if(E.value){if(je.length>0){if(Be.length>0){je.push(E.value);E.value=make_sequence(E.value,je)}else{Re.push(make_node(nt,ne,{body:make_sequence(ne,je)}))}je=[]}Be.push(E)}else{Le.push(E)}}else if(N.orig[0]instanceof Kr){var Ee=E.value&&E.value.drop_side_effect_free(S);if(Ee)je.push(Ee);E.value=null;Le.push(E)}else{var Ee=E.value&&E.value.drop_side_effect_free(S);if(Ee){je.push(Ee)}N.eliminated++}}));if(Le.length>0||Be.length>0){ne.definitions=Le.concat(Be);Re.push(ne)}if(je.length>0){Re.push(make_node(nt,ne,{body:make_sequence(ne,je)}))}switch(Re.length){case 0:return Ee?N.skip:make_node(st,ne);case 1:return Re[0];default:return Ee?N.splice(Re):make_node(ot,ne,{body:Re})}}if(ne instanceof ht){_e(ne,this);var ze;if(ne.init instanceof ot){ze=ne.init;ne.init=ze.body.pop();ze.body.push(ne)}if(ne.init instanceof nt){ne.init=ne.init.body}else if(is_empty(ne.init)){ne.init=null}return!ze?ne:Ee?N.splice(ze.body):ze}if(ne instanceof ut&&ne.body instanceof ht){_e(ne,this);if(ne.body instanceof ot){var ze=ne.body;ne.body=ze.body.pop();ze.body.push(ne);return Ee?N.splice(ze.body):ze}return ne}if(ne instanceof ot){_e(ne,this);if(Ee&&ne.body.every(can_be_evicted_from_block)){return N.splice(ne.body)}return ne}if(ne instanceof bt){const S=ae;ae=ne;_e(ne,this);ae=S;return ne}}));E.transform(ve);function scan_ref_scoped(S,k){var w;const N=j(S);if(N instanceof Zr&&!is_ref_of(S.left,jr)&&E.variables.get(N.name)===(w=N.definition())){if(S instanceof yr){S.right.walk(_e);if(!w.chained&&S.left.fixed_value()===S.right){ee.set(w.id,S)}}return true}if(S instanceof Zr){w=S.definition();if(!q.has(w.id)){q.set(w.id,w);if(w.orig[0]instanceof Kr){const S=w.scope.is_block_scope()&&w.scope.get_defun_scope().variables.get(w.name);if(S)q.set(S.id,S)}}return true}if(S instanceof bt){var te=ae;ae=S;k();ae=te;return true}}}));bt.DEFMETHOD("hoist_declarations",(function(S){var E=this;if(S.has_directive("use asm"))return E;if(!Array.isArray(E.body))return E;var k=S.option("hoist_funs");var w=S.option("hoist_vars");if(k||w){var N=[];var j=[];var q=new Map,ee=0,te=0;walk(E,(S=>{if(S instanceof bt&&S!==E)return true;if(S instanceof Qt){++te;return true}}));w=w&&te>1;var ne=new TreeTransformer((function before(te){if(te!==E){if(te instanceof rt){N.push(te);return make_node(st,te)}if(k&&te instanceof Dt&&!(ne.parent()instanceof nr)&&ne.parent()===E){j.push(te);return make_node(st,te)}if(w&&te instanceof Qt&&!te.definitions.some((S=>S.name instanceof At))){te.definitions.forEach((function(S){q.set(S.name.name,S);++ee}));var ae=te.to_assignments(S);var _e=ne.parent();if(_e instanceof _t&&_e.init===te){if(ae==null){var ve=te.definitions[0].name;return make_node(Zr,ve,ve)}return ae}if(_e instanceof ht&&_e.init===te){return ae}if(!ae)return make_node(st,te);return make_node(nt,te,{body:ae})}if(te instanceof bt)return te}}));E=E.transform(ne);if(ee>0){var ae=[];const S=E instanceof Et;const k=S?E.args_as_names():null;q.forEach(((E,w)=>{if(S&&k.some((S=>S.name===E.name.name))){q.delete(w)}else{E=E.clone();E.value=null;ae.push(E);q.set(w,E)}}));if(ae.length>0){for(var _e=0;_eS instanceof St||S.computed_key()))){ee(q,this);const S=new Map;const k=[];ae.properties.forEach((({key:w,value:N})=>{const ee=find_scope(j);const ne=E.create_symbol(te.CTOR,{source:te,scope:ee,conflict_scopes:new Set([ee,...te.definition().references.map((S=>S.scope))]),tentative_name:te.name+"_"+w});S.set(String(w),ne.definition());k.push(make_node(Zt,q,{name:ne,value:N}))}));w.set(ne.id,S);return N.splice(k)}}else if(q instanceof cr&&q.expression instanceof Zr){const S=w.get(q.expression.definition().id);if(S){const E=S.get(String(get_value(q.property)));const k=make_node(Zr,q,{name:E.name,scope:q.expression.scope,thedef:E});k.reference({});return k}}}));return E.transform(j)}));(function(S){function trim(S,E,k){var w=S.length;if(!w)return null;var N=[],j=false;for(var q=0;q0){q[0].body=j.concat(q[0].body)}S.body=q;while(k=q[q.length-1]){var Te=k.body[k.body.length-1];if(Te instanceof Lt&&E.loopcontrol_target(Te)===S)k.body.pop();if(k.body.length||k instanceof Vt&&(ee||k.expression.has_side_effects(E)))break;if(q.pop()===ee)ee=null}if(q.length==0){return make_node(ot,S,{body:j.concat(make_node(nt,S.expression,{body:S.expression}))}).optimize(E)}if(q.length==1&&(q[0]===te||q[0]===ee)){var Ce=false;var we=new TreeWalker((function(E){if(Ce||E instanceof Et||E instanceof nt)return true;if(E instanceof Lt&&we.loopcontrol_target(E)===S)Ce=true}));S.walk(we);if(!Ce){var Ne=q[0].body.slice();var _e=q[0].expression;if(_e)Ne.unshift(make_node(nt,_e,{body:_e}));Ne.unshift(make_node(nt,S.expression,{body:S.expression}));return make_node(ot,S,{body:Ne}).optimize(E)}}return S;function eliminate_branch(S,k){if(k&&!aborts(k)){k.body=k.body.concat(S.body)}else{trim_unreachable_code(E,S,j)}}}));def_optimize(Ht,(function(S,E){tighten_body(S.body,E);if(S.bcatch&&S.bfinally&&S.bfinally.body.every(is_empty))S.bfinally=null;if(E.option("dead_code")&&S.body.every(is_empty)){var k=[];if(S.bcatch){trim_unreachable_code(E,S.bcatch,k)}if(S.bfinally)k.push(...S.bfinally.body);return make_node(ot,S,{body:k}).optimize(E)}return S}));Kt.DEFMETHOD("remove_initializers",(function(){var S=[];this.definitions.forEach((function(E){if(E.name instanceof Lr){E.value=null;S.push(E)}else{walk(E.name,(k=>{if(k instanceof Lr){S.push(make_node(Zt,E,{name:k,value:null}))}}))}}));this.definitions=S}));Kt.DEFMETHOD("to_assignments",(function(S){var E=S.option("reduce_vars");var k=[];for(const S of this.definitions){if(S.value){var w=make_node(Zr,S.name,S.name);k.push(make_node(yr,S,{operator:"=",logical:false,left:w,right:S.value}));if(E)w.definition().fixed=false}else if(S.value){var N=make_node(Zt,S,{name:S.name,value:S.value});var j=make_node(Qt,S,{definitions:[N]});k.push(j)}const q=S.name.definition();q.eliminated++;q.replaced--}if(k.length==0)return null;return make_sequence(this,k)}));def_optimize(Kt,(function(S){if(S.definitions.length==0)return make_node(st,S);return S}));def_optimize(Zt,(function(S,E){if(S.name instanceof Ur&&S.value!=null&&is_undefined(S.value,E)){S.value=null}return S}));def_optimize(tr,(function(S){return S}));function retain_top_func(S,E){return E.top_retain&&S instanceof Dt&&has_flag(S,qn)&&S.name&&E.top_retain(S.name)}def_optimize(ir,(function(S,E){var k=S.expression;var w=k;inline_array_like_spread(S.args);var N=S.args.every((S=>!(S instanceof St)));if(E.option("reduce_vars")&&w instanceof Zr&&!has_annotation(S,Tn)){const S=w.fixed_value();if(!retain_top_func(S,E)){w=S}}if(S.optional&&is_nullish(w,E)){return make_node(gn,S)}var j=w instanceof Et;if(j&&w.pinned())return S;if(E.option("unused")&&N&&j&&!w.uses_arguments){var q=0,ee=0;for(var te=0,ne=S.args.length;te=w.argnames.length;if(_e||has_flag(w.argnames[te],Rn)){var ae=S.args[te].drop_side_effect_free(E);if(ae){S.args[q++]=ae}else if(!_e){S.args[q++]=make_node(cn,S.args[te],{value:0});continue}}else{S.args[q++]=S.args[te]}ee=q}S.args.length=ee}if(E.option("unsafe")){if(is_undeclared_ref(k))switch(k.name){case"Array":if(S.args.length!=1){return make_node(br,S,{elements:S.args}).optimize(E)}else if(S.args[0]instanceof cn&&S.args[0].value<=11){const E=[];for(let k=0;k=1&&S.args.length<=2&&S.args.every((S=>{var k=S.evaluate(E);ve.push(k);return S!==k}))){let[k,w]=ve;k=regexp_source_fix(new RegExp(k).source);const N=make_node(un,S,{value:{source:k,flags:w}});if(N._eval(E)!==N){return N}}break}else if(k instanceof lr)switch(k.property){case"toString":if(S.args.length==0&&!k.expression.may_throw_on_access(E)){return make_node(hr,S,{left:make_node(sn,S,{value:""}),operator:"+",right:k.expression}).optimize(E)}break;case"join":if(k.expression instanceof br)e:{var Ee;if(S.args.length>0){Ee=S.args[0].evaluate(E);if(Ee===S.args[0])break e}var Te=[];var Ce=[];for(var te=0,ne=k.expression.elements.length;te0){Te.push(make_node(sn,S,{value:Ce.join(Ee)}));Ce.length=0}Te.push(we)}}if(Ce.length>0){Te.push(make_node(sn,S,{value:Ce.join(Ee)}))}if(Te.length==0)return make_node(sn,S,{value:""});if(Te.length==1){if(Te[0].is_string(E)){return Te[0]}return make_node(hr,Te[0],{operator:"+",left:make_node(sn,S,{value:""}),right:Te[0]})}if(Ee==""){var Ie;if(Te[0].is_string(E)||Te[1].is_string(E)){Ie=Te.shift()}else{Ie=make_node(sn,S,{value:""})}return Te.reduce((function(S,E){return make_node(hr,E,{operator:"+",left:S,right:E})}),Ie).optimize(E)}var ae=S.clone();ae.expression=ae.expression.clone();ae.expression.expression=ae.expression.expression.clone();ae.expression.expression.elements=Te;return best_of(E,S,ae)}break;case"charAt":if(k.expression.is_string(E)){var Fe=S.args[0];var Oe=Fe?Fe.evaluate(E):0;if(Oe!==Fe){return make_node(dr,k,{expression:k.expression,property:make_node_from_constant(Oe|0,Fe||k)}).optimize(E)}}break;case"apply":if(S.args.length==2&&S.args[1]instanceof br){var Me=S.args[1].elements.slice();Me.unshift(S.args[0]);return make_node(ir,S,{expression:make_node(lr,k,{expression:k.expression,optional:false,property:"call"}),args:Me}).optimize(E)}break;case"call":var Re=k.expression;if(Re instanceof Zr){Re=Re.fixed_value()}if(Re instanceof Et&&!Re.contains_this()){return(S.args.length?make_sequence(this,[S.args[0],make_node(ir,S,{expression:k.expression,args:S.args.slice(1)})]):make_node(ir,S,{expression:k.expression,args:[]})).optimize(E)}break}}if(E.option("unsafe_Function")&&is_undeclared_ref(k)&&k.name=="Function"){if(S.args.length==0)return make_node(kt,S,{argnames:[],body:[]}).optimize(E);if(S.args.every((S=>S instanceof sn))){try{var Le="n(function("+S.args.slice(0,-1).map((function(S){return S.value})).join(",")+"){"+S.args[S.args.length-1].value+"})";var Be=parse(Le);var je={ie8:E.option("ie8")};Be.figure_out_scope(je);var ze=new Compressor(E.options,{mangle_options:E.mangle_options});Be=Be.transform(ze);Be.figure_out_scope(je);On.reset();Be.compute_char_frequency(je);Be.mangle_names(je);var Ue;walk(Be,(S=>{if(is_func_expr(S)){Ue=S;return xn}}));var Le=OutputStream();ot.prototype._codegen.call(Ue,Ue,Le);S.args=[make_node(sn,S,{value:Ue.argnames.map((function(S){return S.print_to_string()})).join(",")}),make_node(sn,S.args[S.args.length-1],{value:Le.get().replace(/^{|}$/g,"")})];return S}catch(S){if(!(S instanceof JS_Parse_Error)){throw S}}}}var We=j&&w.body[0];var $e=j&&!w.is_generator&&!w.async;var qe=$e&&E.option("inline")&&!S.is_callee_pure(E);if(qe&&We instanceof Ot){let k=We.value;if(!k||k.is_constant_expression()){if(k){k=k.clone(true)}else{k=make_node(gn,S)}const w=S.args.concat(k);return make_sequence(S,w).optimize(E)}if(w.argnames.length===1&&w.argnames[0]instanceof Wr&&S.args.length<2&&k instanceof Zr&&k.name===w.argnames[0].name){const k=(S.args[0]||make_node(gn)).optimize(E);let w;if(k instanceof cr&&(w=E.parent())instanceof ir&&w.expression===S){return make_sequence(S,[make_node(cn,S,{value:0}),k])}return k}}if(qe){var Ve,He,Ge=-1;let j;let q;let ee;if(N&&!w.uses_arguments&&!(E.parent()instanceof Pr)&&!(w.name&&w instanceof kt)&&(q=can_flatten_body(We))&&(k===w||has_annotation(S,En)||E.option("unused")&&(j=k.definition()).references.length==1&&!recursive_ref(E,j)&&w.is_constant_expression(k.scope))&&!has_annotation(S,Sn|Tn)&&!w.contains_this()&&can_inject_symbols()&&(ee=find_scope(E))&&!scope_encloses_variables_in_this_scope(ee,w)&&!function in_default_assign(){let S=0;let k;while(k=E.parent(S++)){if(k instanceof vr)return true;if(k instanceof it)break}return false}()&&!(Ve instanceof Pr)){set_flag(w,Wn);ee.add_child_scope(w);return make_sequence(S,flatten_fn(q)).optimize(E)}}if(qe&&has_annotation(S,En)){set_flag(w,Wn);w=make_node(w.CTOR===Dt?kt:w.CTOR,w,w);w.figure_out_scope({},{parent_scope:find_scope(E),toplevel:E.get_toplevel()});return make_node(ir,S,{expression:w,args:S.args}).optimize(E)}const Je=$e&&E.option("side_effects")&&w.body.every(is_empty);if(Je){var Me=S.args.concat(make_node(gn,S));return make_sequence(S,Me).optimize(E)}if(E.option("negate_iife")&&E.parent()instanceof nt&&is_iife_call(S)){return S.negate(E,true)}var Ke=S.evaluate(E);if(Ke!==S){Ke=make_node_from_constant(Ke,S).optimize(E);return best_of(E,Ke,S)}return S;function return_value(E){if(!E)return make_node(gn,S);if(E instanceof Ot){if(!E.value)return make_node(gn,S);return E.value.clone(true)}if(E instanceof nt){return make_node(mr,E,{operator:"void",expression:E.body.clone(true)})}}function can_flatten_body(S){var k=w.body;var N=k.length;if(E.option("inline")<3){return N==1&&return_value(S)}S=null;for(var j=0;j!S.value))){return false}}else if(S){return false}else if(!(q instanceof st)){S=q}}return return_value(S)}function can_inject_args(S,E){for(var k=0,N=w.argnames.length;k=0;){var ee=j.definitions[q].name;if(ee instanceof At||S.has(ee.name)||Gn.has(ee.name)||Ve.conflicting_def(ee.name)){return false}if(He)He.push(ee.definition())}}return true}function can_inject_symbols(){var S=new Set;do{Ve=E.parent(++Ge);if(Ve.is_block_scope()&&Ve.block_scope){Ve.block_scope.variables.forEach((function(E){S.add(E.name)}))}if(Ve instanceof Gt){if(Ve.argname){S.add(Ve.argname.name)}}else if(Ve instanceof dt){He=[]}else if(Ve instanceof Zr){if(Ve.fixed_value()instanceof bt)return false}}while(!(Ve instanceof bt));var k=!(Ve instanceof xt)||E.toplevel.vars;var N=E.option("inline");if(!can_inject_vars(S,N>=3&&k))return false;if(!can_inject_args(S,N>=2&&k))return false;return!He||He.length==0||!is_reachable(w,He)}function append_var(E,k,w,N){var j=w.definition();const q=Ve.variables.has(w.name);if(!q){Ve.variables.set(w.name,j);Ve.enclosed.push(j);E.push(make_node(Zt,w,{name:w,value:null}))}var ee=make_node(Zr,w,w);j.references.push(ee);if(N)k.push(make_node(yr,S,{operator:"=",logical:false,left:ee,right:N.clone()}))}function flatten_args(E,k){var N=w.argnames.length;for(var j=S.args.length;--j>=N;){k.push(S.args[j])}for(j=N;--j>=0;){var q=w.argnames[j];var ee=S.args[j];if(has_flag(q,Rn)||!q.name||Ve.conflicting_def(q.name)){if(ee)k.push(ee)}else{var te=make_node(Br,q,q);q.definition().orig.push(te);if(!ee&&He)ee=make_node(gn,S);append_var(E,k,te,ee)}}E.reverse();k.reverse()}function flatten_vars(S,E){var k=E.length;for(var N=0,j=w.body.length;NS.name!=ae.name))){var _e=w.variables.get(ae.name);var ve=make_node(Zr,ae,ae);_e.references.push(ve);E.splice(k++,0,make_node(yr,ne,{operator:"=",logical:false,left:ve,right:make_node(gn,ae)}))}}}}function flatten_fn(S){var k=[];var N=[];flatten_args(k,N);flatten_vars(k,N);N.push(S);if(k.length){const S=Ve.body.indexOf(E.parent(Ge-1))+1;Ve.body.splice(S,0,make_node(Qt,w,{definitions:k}))}return N.map((S=>S.clone(true)))}}));def_optimize(ar,(function(S,E){if(E.option("unsafe")&&is_undeclared_ref(S.expression)&&["Object","RegExp","Function","Error","Array"].includes(S.expression.name))return make_node(ir,S,S).transform(E);return S}));def_optimize(sr,(function(S,E){if(!E.option("side_effects"))return S;var k=[];filter_for_side_effects();var w=k.length-1;trim_right_for_undefined();if(w==0){S=maintain_this_binding(E.parent(),E.self(),k[0]);if(!(S instanceof sr))S=S.optimize(E);return S}S.expressions=k;return S;function filter_for_side_effects(){var w=first_in_statement(E);var N=S.expressions.length-1;S.expressions.forEach((function(S,j){if(j0&&is_undefined(k[w],E))w--;if(w0){var k=this.clone();k.right=make_sequence(this.right,E.slice(j));E=E.slice(0,j);E.push(k);return make_sequence(this,E).optimize(S)}}}return this}));var ni=makePredicate("== === != !== * & | ^");function is_object(S){return S instanceof br||S instanceof Et||S instanceof xr||S instanceof Pr}def_optimize(hr,(function(S,E){function reversible(){return S.left.is_constant()||S.right.is_constant()||!S.left.has_side_effects(E)&&!S.right.has_side_effects(E)}function reverse(E){if(reversible()){if(E)S.operator=E;var k=S.left;S.left=S.right;S.right=k}}if(ni.has(S.operator)){if(S.right.is_constant()&&!S.left.is_constant()){if(!(S.left instanceof hr&&Je[S.left.operator]>=Je[S.operator])){reverse()}}}S=S.lift_sequences(E);if(E.option("comparisons"))switch(S.operator){case"===":case"!==":var k=true;if(S.left.is_string(E)&&S.right.is_string(E)||S.left.is_number(E)&&S.right.is_number(E)||S.left.is_boolean()&&S.right.is_boolean()||S.left.equivalent_to(S.right)){S.operator=S.operator.substr(0,2)}case"==":case"!=":if(!k&&is_undefined(S.left,E)){S.left=make_node(pn,S.left)}else if(E.option("typeofs")&&S.left instanceof sn&&S.left.value=="undefined"&&S.right instanceof mr&&S.right.operator=="typeof"){var w=S.right.expression;if(w instanceof Zr?w.is_declared(E):!(w instanceof cr&&E.option("ie8"))){S.right=w;S.left=make_node(gn,S.left).optimize(E);if(S.operator.length==2)S.operator+="="}}else if(S.left instanceof Zr&&S.right instanceof Zr&&S.left.definition()===S.right.definition()&&is_object(S.left.fixed_value())){return make_node(S.operator[0]=="="?bn:vn,S)}break;case"&&":case"||":var N=S.left;if(N.operator==S.operator){N=N.right}if(N instanceof hr&&N.operator==(S.operator=="&&"?"!==":"===")&&S.right instanceof hr&&N.operator==S.right.operator&&(is_undefined(N.left,E)&&S.right.left instanceof pn||N.left instanceof pn&&is_undefined(S.right.left,E))&&!N.right.has_side_effects(E)&&N.right.equivalent_to(S.right.right)){var j=make_node(hr,S,{operator:N.operator.slice(0,-1),left:make_node(pn,S),right:N.right});if(N!==S.left){j=make_node(hr,S,{operator:S.operator,left:S.left.left,right:j})}return j}break}if(S.operator=="+"&&E.in_boolean_context()){var q=S.left.evaluate(E);var ee=S.right.evaluate(E);if(q&&typeof q=="string"){return make_sequence(S,[S.right,make_node(bn,S)]).optimize(E)}if(ee&&typeof ee=="string"){return make_sequence(S,[S.left,make_node(bn,S)]).optimize(E)}}if(E.option("comparisons")&&S.is_boolean()){if(!(E.parent()instanceof hr)||E.parent()instanceof yr){var te=make_node(mr,S,{operator:"!",expression:S.negate(E,first_in_statement(E))});S=best_of(E,S,te)}if(E.option("unsafe_comps")){switch(S.operator){case"<":reverse(">");break;case"<=":reverse(">=");break}}}if(S.operator=="+"){if(S.right instanceof sn&&S.right.getValue()==""&&S.left.is_string(E)){return S.left}if(S.left instanceof sn&&S.left.getValue()==""&&S.right.is_string(E)){return S.right}if(S.left instanceof hr&&S.left.operator=="+"&&S.left.left instanceof sn&&S.left.left.getValue()==""&&S.right.is_string(E)){S.left=S.left.right;return S}}if(E.option("evaluate")){switch(S.operator){case"&&":var q=has_flag(S.left,Ln)?true:has_flag(S.left,Bn)?false:S.left.evaluate(E);if(!q){return maintain_this_binding(E.parent(),E.self(),S.left).optimize(E)}else if(!(q instanceof Ze)){return make_sequence(S,[S.left,S.right]).optimize(E)}var ee=S.right.evaluate(E);if(!ee){if(E.in_boolean_context()){return make_sequence(S,[S.left,make_node(vn,S)]).optimize(E)}else{set_flag(S,Bn)}}else if(!(ee instanceof Ze)){var ne=E.parent();if(ne.operator=="&&"&&ne.left===E.self()||E.in_boolean_context()){return S.left.optimize(E)}}if(S.left.operator=="||"){var ae=S.left.right.evaluate(E);if(!ae)return make_node(_r,S,{condition:S.left.left,consequent:S.right,alternative:S.left.right}).optimize(E)}break;case"||":var q=has_flag(S.left,Ln)?true:has_flag(S.left,Bn)?false:S.left.evaluate(E);if(!q){return make_sequence(S,[S.left,S.right]).optimize(E)}else if(!(q instanceof Ze)){return maintain_this_binding(E.parent(),E.self(),S.left).optimize(E)}var ee=S.right.evaluate(E);if(!ee){var ne=E.parent();if(ne.operator=="||"&&ne.left===E.self()||E.in_boolean_context()){return S.left.optimize(E)}}else if(!(ee instanceof Ze)){if(E.in_boolean_context()){return make_sequence(S,[S.left,make_node(bn,S)]).optimize(E)}else{set_flag(S,Ln)}}if(S.left.operator=="&&"){var ae=S.left.right.evaluate(E);if(ae&&!(ae instanceof Ze))return make_node(_r,S,{condition:S.left.left,consequent:S.left.right,alternative:S.right}).optimize(E)}break;case"??":if(is_nullish(S.left,E)){return S.right}var q=S.left.evaluate(E);if(!(q instanceof Ze)){return q==null?S.right:S.left}if(E.in_boolean_context()){const k=S.right.evaluate(E);if(!(k instanceof Ze)&&!k){return S.left}}}var _e=true;switch(S.operator){case"+":if(S.right instanceof on&&S.left instanceof hr&&S.left.operator=="+"&&S.left.is_string(E)){var ve=make_node(hr,S,{operator:"+",left:S.left.right,right:S.right});var Ee=ve.optimize(E);if(ve!==Ee){S=make_node(hr,S,{operator:"+",left:S.left.left,right:Ee})}}if(S.left instanceof hr&&S.left.operator=="+"&&S.left.is_string(E)&&S.right instanceof hr&&S.right.operator=="+"&&S.right.is_string(E)){var ve=make_node(hr,S,{operator:"+",left:S.left.right,right:S.right.left});var Te=ve.optimize(E);if(ve!==Te){S=make_node(hr,S,{operator:"+",left:make_node(hr,S.left,{operator:"+",left:S.left.left,right:Te}),right:S.right.right})}}if(S.right instanceof mr&&S.right.operator=="-"&&S.left.is_number(E)){S=make_node(hr,S,{operator:"-",left:S.left,right:S.right.expression});break}if(S.left instanceof mr&&S.left.operator=="-"&&reversible()&&S.right.is_number(E)){S=make_node(hr,S,{operator:"-",left:S.right,right:S.left.expression});break}if(S.left instanceof Pt){var Ce=S.left;var Ee=S.right.evaluate(E);if(Ee!=S.right){Ce.segments[Ce.segments.length-1].value+=String(Ee);return Ce}}if(S.right instanceof Pt){var Ee=S.right;var Ce=S.left.evaluate(E);if(Ce!=S.left){Ee.segments[0].value=String(Ce)+Ee.segments[0].value;return Ee}}if(S.left instanceof Pt&&S.right instanceof Pt){var Ce=S.left;var we=Ce.segments;var Ee=S.right;we[we.length-1].value+=Ee.segments[0].value;for(var Ne=1;Ne=Je[S.operator])){var Ie=make_node(hr,S,{operator:S.operator,left:S.right,right:S.left});if(S.right instanceof on&&!(S.left instanceof on)){S=best_of(E,Ie,S)}else{S=best_of(E,S,Ie)}}if(_e&&S.is_number(E)){if(S.right instanceof hr&&S.right.operator==S.operator){S=make_node(hr,S,{operator:S.operator,left:make_node(hr,S.left,{operator:S.operator,left:S.left,right:S.right.left,start:S.left.start,end:S.right.left.end}),right:S.right.right})}if(S.right instanceof on&&S.left instanceof hr&&S.left.operator==S.operator){if(S.left.left instanceof on){S=make_node(hr,S,{operator:S.operator,left:make_node(hr,S.left,{operator:S.operator,left:S.left.left,right:S.right,start:S.left.left.start,end:S.right.end}),right:S.left.right})}else if(S.left.right instanceof on){S=make_node(hr,S,{operator:S.operator,left:make_node(hr,S.left,{operator:S.operator,left:S.left.right,right:S.right,start:S.left.right.start,end:S.right.end}),right:S.left.left})}}if(S.left instanceof hr&&S.left.operator==S.operator&&S.left.right instanceof on&&S.right instanceof hr&&S.right.operator==S.operator&&S.right.left instanceof on){S=make_node(hr,S,{operator:S.operator,left:make_node(hr,S.left,{operator:S.operator,left:make_node(hr,S.left.left,{operator:S.operator,left:S.left.right,right:S.right.left,start:S.left.right.start,end:S.right.left.end}),right:S.left.left}),right:S.right.right})}}}}if(S.right instanceof hr&&S.right.operator==S.operator&&(Jn.has(S.operator)||S.operator=="+"&&(S.right.left.is_string(E)||S.left.is_string(E)&&S.right.right.is_string(E)))){S.left=make_node(hr,S.left,{operator:S.operator,left:S.left.transform(E),right:S.right.left.transform(E)});S.right=S.right.right.transform(E);return S.transform(E)}var Fe=S.evaluate(E);if(Fe!==S){Fe=make_node_from_constant(Fe,S).optimize(E);return best_of(E,Fe,S)}return S}));def_optimize(en,(function(S){return S}));function recursive_ref(S,E){var k;for(var w=0;k=S.parent(w);w++){if(k instanceof Et||k instanceof Pr){var N=k.name;if(N&&N.definition()===E)break}}return k}function within_array_or_object_literal(S){var E,k=0;while(E=S.parent(k++)){if(E instanceof et)return false;if(E instanceof br||E instanceof Er||E instanceof xr){return true}}return false}def_optimize(Zr,(function(S,E){if(!E.option("ie8")&&is_undeclared_ref(S)&&!E.find_parent(vt)){switch(S.name){case"undefined":return make_node(gn,S).optimize(E);case"NaN":return make_node(mn,S).optimize(E);case"Infinity":return make_node(_n,S).optimize(E)}}const k=E.parent();if(E.option("reduce_vars")&&is_lhs(S,k)!==S){const j=S.definition();const q=find_scope(E);if(E.top_retain&&j.global&&E.top_retain(j)){j.fixed=false;j.single_use=false;return S}let ee=S.fixed_value();let te=j.single_use&&!(k instanceof ir&&k.is_callee_pure(E)||has_annotation(k,Tn))&&!(k instanceof nr&&ee instanceof Et&&ee.name);if(te&&ee instanceof Ze){te=!ee.has_side_effects(E)&&!ee.may_throw(E)}if(te&&(ee instanceof Et||ee instanceof Pr)){if(retain_top_func(ee,E)){te=false}else if(j.scope!==S.scope&&(j.escaped==1||has_flag(ee,zn)||within_array_or_object_literal(E)||!E.option("reduce_funcs"))){te=false}else if(recursive_ref(E,j)){te=false}else if(j.scope!==S.scope||j.orig[0]instanceof Wr){te=ee.is_constant_expression(S.scope);if(te=="f"){var w=S.scope;do{if(w instanceof Dt||is_func_expr(w)){set_flag(w,zn)}}while(w=w.parent_scope)}}}if(te&&ee instanceof Et){te=j.scope===S.scope&&!scope_encloses_variables_in_this_scope(q,ee)||k instanceof ir&&k.expression===S&&!scope_encloses_variables_in_this_scope(q,ee)&&!(ee.name&&ee.name.definition().recursive_refs>0)}if(te&&ee){if(ee instanceof Fr){set_flag(ee,Wn);ee=make_node(Or,ee,ee)}if(ee instanceof Dt){set_flag(ee,Wn);ee=make_node(kt,ee,ee)}if(j.recursive_refs>0&&ee.name instanceof $r){const S=ee.name.definition();let E=ee.variables.get(ee.name.name);let k=E&&E.orig[0];if(!(k instanceof Hr)){k=make_node(Hr,ee.name,ee.name);k.scope=ee;ee.name=k;E=ee.def_function(k)}walk(ee,(k=>{if(k instanceof Zr&&k.definition()===S){k.thedef=E;E.references.push(k)}}))}if((ee instanceof Et||ee instanceof Pr)&&ee.parent_scope!==q){ee=ee.clone(true,E.get_toplevel());q.add_child_scope(ee)}return ee.optimize(E)}if(ee){let k;if(ee instanceof nn){if(!(j.orig[0]instanceof Wr)&&j.references.every((S=>j.scope===S.scope))){k=ee}}else{var N=ee.evaluate(E);if(N!==ee&&(E.option("unsafe_regexp")||!(N instanceof RegExp))){k=make_node_from_constant(N,ee)}}if(k){const w=S.size(E);const N=k.size(E);let q=0;if(E.option("unused")&&!E.exposed(j)){q=(w+2+N)/(j.references.length-j.assignments)}if(N<=w+q){return k}}}}return S}));function scope_encloses_variables_in_this_scope(S,E){for(const k of E.enclosed){if(E.variables.has(k.name)){continue}const w=S.find_variable(k.name);if(w){if(w===k)continue;return true}}return false}function is_atomic(S,E){return S instanceof Zr||S.TYPE===E.TYPE}def_optimize(gn,(function(S,E){if(E.option("unsafe_undefined")){var k=find_variable(E,"undefined");if(k){var w=make_node(Zr,S,{name:"undefined",scope:k.scope,thedef:k});set_flag(w,jn);return w}}var N=is_lhs(E.self(),E.parent());if(N&&is_atomic(N,S))return S;return make_node(mr,S,{operator:"void",expression:make_node(cn,S,{value:0})})}));def_optimize(_n,(function(S,E){var k=is_lhs(E.self(),E.parent());if(k&&is_atomic(k,S))return S;if(E.option("keep_infinity")&&!(k&&!is_atomic(k,S))&&!find_variable(E,"Infinity")){return S}return make_node(hr,S,{operator:"/",left:make_node(cn,S,{value:1}),right:make_node(cn,S,{value:0})})}));def_optimize(mn,(function(S,E){var k=is_lhs(E.self(),E.parent());if(k&&!is_atomic(k,S)||find_variable(E,"NaN")){return make_node(hr,S,{operator:"/",left:make_node(cn,S,{value:0}),right:make_node(cn,S,{value:0})})}return S}));function is_reachable(S,E){const find_ref=S=>{if(S instanceof Zr&&member(S.definition(),E)){return xn}};return walk_parent(S,((E,k)=>{if(E instanceof bt&&E!==S){var w=k.parent();if(w instanceof ir&&w.expression===E)return;if(walk(E,find_ref))return xn;return true}}))}const ii=makePredicate("+ - / * % >> << >>> | ^ &");const ai=makePredicate("* | ^ &");def_optimize(yr,(function(S,E){if(S.logical){return S.lift_sequences(E)}var k;if(E.option("dead_code")&&S.left instanceof Zr&&(k=S.left.definition()).scope===E.find_parent(Et)){var w=0,N,j=S;do{N=j;j=E.parent(w++);if(j instanceof Ft){if(in_try(w,j))break;if(is_reachable(k.scope,[k]))break;if(S.operator=="=")return S.right;k.fixed=false;return make_node(hr,S,{operator:S.operator.slice(0,-1),left:S.left,right:S.right}).optimize(E)}}while(j instanceof hr&&j.right===N||j instanceof sr&&j.tail_node()===N)}S=S.lift_sequences(E);if(S.operator=="="&&S.left instanceof Zr&&S.right instanceof hr){if(S.right.left instanceof Zr&&S.right.left.name==S.left.name&&ii.has(S.right.operator)){S.operator=S.right.operator+"=";S.right=S.right.right}else if(S.right.right instanceof Zr&&S.right.right.name==S.left.name&&ai.has(S.right.operator)&&!S.right.left.has_side_effects(E)){S.operator=S.right.operator+"=";S.right=S.right.left}}return S;function in_try(k,w){var N=S.right;S.right=make_node(pn,N);var j=w.may_throw(E);S.right=N;var q=S.left.definition().scope;var ee;while((ee=E.parent(k++))!==q){if(ee instanceof Ht){if(ee.bfinally)return true;if(j&&ee.bcatch)return true}}}}));def_optimize(vr,(function(S,E){if(!E.option("evaluate")){return S}var k=S.right.evaluate(E);if(k===undefined){S=S.left}else if(k!==S.right){k=make_node_from_constant(k,S.right);S.right=best_of_expression(k,S.right)}return S}));function is_nullish(S,E){let k;return S instanceof pn||is_undefined(S,E)||S instanceof Zr&&(k=S.definition().fixed)instanceof Ze&&is_nullish(k,E)||S instanceof cr&&S.optional&&is_nullish(S.expression,E)||S instanceof ir&&S.optional&&is_nullish(S.expression,E)||S instanceof pr&&is_nullish(S.expression,E)}function is_nullish_check(S,E,k){if(E.may_throw(k))return false;let w;if(S instanceof hr&&S.operator==="=="&&((w=is_nullish(S.left,k)&&S.left)||(w=is_nullish(S.right,k)&&S.right))&&(w===S.left?S.right:S.left).equivalent_to(E)){return true}if(S instanceof hr&&S.operator==="||"){let w;let N;const find_comparison=S=>{if(!(S instanceof hr&&(S.operator==="==="||S.operator==="=="))){return false}let j=0;let q;if(S.left instanceof pn){j++;w=S;q=S.right}if(S.right instanceof pn){j++;w=S;q=S.left}if(is_undefined(S.left,k)){j++;N=S;q=S.right}if(is_undefined(S.right,k)){j++;N=S;q=S.left}if(j!==1){return false}if(!q.equivalent_to(E)){return false}return true};if(!find_comparison(S.left))return false;if(!find_comparison(S.right))return false;if(w&&N&&w!==N){return true}}return false}def_optimize(_r,(function(S,E){if(!E.option("conditionals"))return S;if(S.condition instanceof sr){var k=S.condition.expressions.slice();S.condition=k.pop();k.push(S);return make_sequence(S,k)}var w=S.condition.evaluate(E);if(w!==S.condition){if(w){return maintain_this_binding(E.parent(),E.self(),S.consequent)}else{return maintain_this_binding(E.parent(),E.self(),S.alternative)}}var N=w.negate(E,first_in_statement(E));if(best_of(E,w,N)===N){S=make_node(_r,S,{condition:N,consequent:S.alternative,alternative:S.consequent})}var j=S.condition;var q=S.consequent;var ee=S.alternative;if(j instanceof Zr&&q instanceof Zr&&j.definition()===q.definition()){return make_node(hr,S,{operator:"||",left:j,right:ee})}if(q instanceof yr&&ee instanceof yr&&q.operator===ee.operator&&q.logical===ee.logical&&q.left.equivalent_to(ee.left)&&(!S.condition.has_side_effects(E)||q.operator=="="&&!q.left.has_side_effects(E))){return make_node(yr,S,{operator:q.operator,left:q.left,logical:q.logical,right:make_node(_r,S,{condition:S.condition,consequent:q.right,alternative:ee.right})})}var te;if(q instanceof ir&&ee.TYPE===q.TYPE&&q.args.length>0&&q.args.length==ee.args.length&&q.expression.equivalent_to(ee.expression)&&!S.condition.has_side_effects(E)&&!q.expression.has_side_effects(E)&&typeof(te=single_arg_diff())=="number"){var ne=q.clone();ne.args[te]=make_node(_r,S,{condition:S.condition,consequent:q.args[te],alternative:ee.args[te]});return ne}if(ee instanceof _r&&q.equivalent_to(ee.consequent)){return make_node(_r,S,{condition:make_node(hr,S,{operator:"||",left:j,right:ee.condition}),consequent:q,alternative:ee.alternative}).optimize(E)}if(E.option("ecma")>=2020&&is_nullish_check(j,ee,E)){return make_node(hr,S,{operator:"??",left:ee,right:q}).optimize(E)}if(ee instanceof sr&&q.equivalent_to(ee.expressions[ee.expressions.length-1])){return make_sequence(S,[make_node(hr,S,{operator:"||",left:j,right:make_sequence(S,ee.expressions.slice(0,-1))}),q]).optimize(E)}if(ee instanceof hr&&ee.operator=="&&"&&q.equivalent_to(ee.right)){return make_node(hr,S,{operator:"&&",left:make_node(hr,S,{operator:"||",left:j,right:ee.left}),right:q}).optimize(E)}if(q instanceof _r&&q.alternative.equivalent_to(ee)){return make_node(_r,S,{condition:make_node(hr,S,{left:S.condition,operator:"&&",right:q.condition}),consequent:q.consequent,alternative:ee})}if(q.equivalent_to(ee)){return make_sequence(S,[S.condition,q]).optimize(E)}if(q instanceof hr&&q.operator=="||"&&q.right.equivalent_to(ee)){return make_node(hr,S,{operator:"||",left:make_node(hr,S,{operator:"&&",left:S.condition,right:q.left}),right:ee}).optimize(E)}var ae=E.in_boolean_context();if(is_true(S.consequent)){if(is_false(S.alternative)){return booleanize(S.condition)}return make_node(hr,S,{operator:"||",left:booleanize(S.condition),right:S.alternative})}if(is_false(S.consequent)){if(is_true(S.alternative)){return booleanize(S.condition.negate(E))}return make_node(hr,S,{operator:"&&",left:booleanize(S.condition.negate(E)),right:S.alternative})}if(is_true(S.alternative)){return make_node(hr,S,{operator:"||",left:booleanize(S.condition.negate(E)),right:S.consequent})}if(is_false(S.alternative)){return make_node(hr,S,{operator:"&&",left:booleanize(S.condition),right:S.consequent})}return S;function booleanize(S){if(S.is_boolean())return S;return make_node(mr,S,{operator:"!",expression:S.negate(E)})}function is_true(S){return S instanceof bn||ae&&S instanceof on&&S.getValue()||S instanceof mr&&S.operator=="!"&&S.expression instanceof on&&!S.expression.getValue()}function is_false(S){return S instanceof vn||ae&&S instanceof on&&!S.getValue()||S instanceof mr&&S.operator=="!"&&S.expression instanceof on&&S.expression.getValue()}function single_arg_diff(){var S=q.args;var E=ee.args;for(var k=0,w=S.length;k=2015;var w=this.expression;if(w instanceof xr){var N=w.properties;for(var j=N.length;--j>=0;){var q=N[j];if(""+(q instanceof Ar?q.key.name:q.key)==S){const S=N.every((S=>(S instanceof Er||k&&S instanceof Ar&&!S.is_generator)&&!S.computed_key()));if(!S)return;if(!safe_to_flatten(q.value,E))return;return make_node(dr,this,{expression:make_node(br,w,{elements:N.map((function(S){var E=S.value;if(E instanceof Tt){E=make_node(kt,E,E)}var k=S.key;if(k instanceof Ze&&!(k instanceof qr)){return make_sequence(S,[k,E])}return E}))}),property:make_node(cn,this,{value:j})})}}}}));def_optimize(dr,(function(S,E){var k=S.expression;var w=S.property;if(E.option("properties")){var N=w.evaluate(E);if(N!==w){if(typeof N=="string"){if(N=="undefined"){N=undefined}else{var j=parseFloat(N);if(j.toString()==N){N=j}}}w=S.property=best_of_expression(w,make_node_from_constant(N,w).transform(E));var q=""+N;if(is_basic_identifier_string(q)&&q.length<=w.size()+1){return make_node(lr,S,{expression:k,optional:S.optional,property:q,quote:w.quote}).optimize(E)}}}var ee;e:if(E.option("arguments")&&k instanceof Zr&&k.name=="arguments"&&k.definition().orig.length==1&&(ee=k.scope)instanceof Et&&ee.uses_arguments&&!(ee instanceof Ct)&&w instanceof cn){var te=w.getValue();var ne=new Set;var ae=ee.argnames;for(var _e=0;_e1){Ee=null}}else if(!Ee&&!E.option("keep_fargs")&&te=ee.argnames.length){Ee=ee.create_symbol(Wr,{source:ee,scope:ee,tentative_name:"argument_"+ee.argnames.length});ee.argnames.push(Ee)}}if(Ee){var Ce=make_node(Zr,S,Ee);Ce.reference({});clear_flag(Ee,Rn);return Ce}}if(is_lhs(S,E.parent()))return S;if(N!==w){var we=S.flatten_object(q,E);if(we){k=S.expression=we.expression;w=S.property=we.property}}if(E.option("properties")&&E.option("side_effects")&&w instanceof cn&&k instanceof br){var te=w.getValue();var Ne=k.elements;var Ie=Ne[te];e:if(safe_to_flatten(Ie,E)){var Fe=true;var Oe=[];for(var Me=Ne.length;--Me>te;){var j=Ne[Me].drop_side_effect_free(E);if(j){Oe.unshift(j);if(Fe&&j.has_side_effects(E))Fe=false}}if(Ie instanceof St)break e;Ie=Ie instanceof hn?make_node(gn,Ie):Ie;if(!Fe)Oe.unshift(Ie);while(--Me>=0){var j=Ne[Me];if(j instanceof St)break e;j=j.drop_side_effect_free(E);if(j)Oe.unshift(j);else te--}if(Fe){Oe.push(Ie);return make_sequence(S,Oe).optimize(E)}else return make_node(dr,S,{expression:make_node(br,k,{elements:Oe}),property:make_node(cn,w,{value:te})})}}var Re=S.evaluate(E);if(Re!==S){Re=make_node_from_constant(Re,S).optimize(E);return best_of(E,Re,S)}if(S.optional&&is_nullish(S.expression,E)){return make_node(gn,S)}return S}));def_optimize(pr,(function(S,E){S.expression=S.expression.optimize(E);return S}));Et.DEFMETHOD("contains_this",(function(){return walk(this,(S=>{if(S instanceof nn)return xn;if(S!==this&&S instanceof bt&&!(S instanceof Ct)){return true}}))}));def_optimize(lr,(function(S,E){const k=E.parent();if(is_lhs(S,k))return S;if(E.option("unsafe_proto")&&S.expression instanceof lr&&S.expression.property=="prototype"){var w=S.expression.expression;if(is_undeclared_ref(w))switch(w.name){case"Array":S.expression=make_node(br,S.expression,{elements:[]});break;case"Function":S.expression=make_node(kt,S.expression,{argnames:[],body:[]});break;case"Number":S.expression=make_node(cn,S.expression,{value:0});break;case"Object":S.expression=make_node(xr,S.expression,{properties:[]});break;case"RegExp":S.expression=make_node(un,S.expression,{value:{source:"t",flags:""}});break;case"String":S.expression=make_node(sn,S.expression,{value:""});break}}if(!(k instanceof ir)||!has_annotation(k,Tn)){const k=S.flatten_object(S.property,E);if(k)return k.optimize(E)}let N=S.evaluate(E);if(N!==S){N=make_node_from_constant(N,S).optimize(E);return best_of(E,N,S)}if(S.optional&&is_nullish(S.expression,E)){return make_node(gn,S)}return S}));function literals_in_boolean_context(S,E){if(E.in_boolean_context()){return best_of(E,S,make_sequence(S,[S,make_node(bn,S)]).optimize(E))}return S}function inline_array_like_spread(S){for(var E=0;ES instanceof hn))){S.splice(E,1,...w.elements);E--}}}}def_optimize(br,(function(S,E){var k=literals_in_boolean_context(S,E);if(k!==S){return k}inline_array_like_spread(S.elements);return S}));function inline_object_prop_spread(S,E){for(var k=0;kS instanceof Er))){S.splice(k,1,...N.properties);k--}else if(N instanceof on&&!(N instanceof sn)){S.splice(k,1)}else if(is_nullish(N,E)){S.splice(k,1)}}}}def_optimize(xr,(function(S,E){var k=literals_in_boolean_context(S,E);if(k!==S){return k}inline_object_prop_spread(S.properties,E);return S}));def_optimize(un,literals_in_boolean_context);def_optimize(Ot,(function(S,E){if(S.value&&is_undefined(S.value,E)){S.value=null}return S}));def_optimize(Ct,opt_AST_Lambda);def_optimize(kt,(function(S,E){S=opt_AST_Lambda(S,E);if(E.option("unsafe_arrows")&&E.option("ecma")>=2015&&!S.name&&!S.is_generator&&!S.uses_arguments&&!S.pinned()){const k=walk(S,(S=>{if(S instanceof nn)return xn}));if(!k)return make_node(Ct,S,S).optimize(E)}return S}));def_optimize(Pr,(function(S){return S}));def_optimize(zt,(function(S,E){if(S.expression&&!S.is_star&&is_undefined(S.expression,E)){S.expression=null}return S}));def_optimize(Pt,(function(S,E){if(!E.option("evaluate")||E.parent()instanceof wt){return S}var k=[];for(var w=0;w=2015&&(!(k instanceof RegExp)||k.test(S.key+""))){var w=S.key;var N=S.value;var j=N instanceof Ct&&Array.isArray(N.body)&&!N.contains_this();if((j||N instanceof kt)&&!N.name){return make_node(Ar,S,{async:N.async,is_generator:N.is_generator,key:w instanceof Ze?w:make_node(qr,S,{name:w}),value:make_node(Tt,N,N),quote:S.quote})}}return S}));def_optimize(At,(function(S,E){if(E.option("pure_getters")==true&&E.option("unused")&&!S.is_array&&Array.isArray(S.names)&&!is_destructuring_export_decl(E)&&!(S.names[S.names.length-1]instanceof St)){var k=[];for(var w=0;w1)throw new Error("inline source map only works with singular input");E.sourceMap.content=read_source_map(S[j])}}}N=E.parse.toplevel}if(w&&E.mangle.properties.keep_quoted!=="strict"){reserve_quoted_keys(N,w)}if(E.wrap){N=N.wrap_commonjs(E.wrap)}if(E.enclose){N=N.wrap_enclose(E.enclose)}if(k)k.rename=Date.now();if(k)k.compress=Date.now();if(E.compress){N=new Compressor(E.compress,{mangle_options:E.mangle}).compress(N)}if(k)k.scope=Date.now();if(E.mangle)N.figure_out_scope(E.mangle);if(k)k.mangle=Date.now();if(E.mangle){On.reset();N.compute_char_frequency(E.mangle);N.mangle_names(E.mangle)}if(k)k.properties=Date.now();if(E.mangle&&E.mangle.properties){N=mangle_properties(N,E.mangle.properties)}if(k)k.format=Date.now();var q={};if(E.format.ast){q.ast=N}if(E.format.spidermonkey){q.ast=N.to_mozilla_ast()}if(!HOP(E.format,"code")||E.format.code){if(E.sourceMap){E.format.source_map=await SourceMap({file:E.sourceMap.filename,orig:E.sourceMap.content,root:E.sourceMap.root});if(E.sourceMap.includeSources){if(S instanceof xt){throw new Error("original source content unavailable")}else for(var j in S)if(HOP(S,j)){E.format.source_map.get().setSourceContent(j,S[j])}}}delete E.format.ast;delete E.format.code;delete E.format.spidermonkey;var ee=OutputStream(E.format);N.print(ee);q.code=ee.get();if(E.sourceMap){if(E.sourceMap.asObject){q.map=E.format.source_map.get().toJSON()}else{q.map=E.format.source_map.toString()}if(E.sourceMap.url=="inline"){var te=typeof q.map==="object"?JSON.stringify(q.map):q.map;q.code+="\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,"+ci(te)}else if(E.sourceMap.url){q.code+="\n//# sourceMappingURL="+E.sourceMap.url}}}if(E.nameCache&&E.mangle){if(E.mangle.cache)E.nameCache.vars=cache_to_json(E.mangle.cache);if(E.mangle.properties&&E.mangle.properties.cache){E.nameCache.props=cache_to_json(E.mangle.properties.cache)}}if(E.format&&E.format.source_map){E.format.source_map.destroy()}if(k){k.end=Date.now();q.timings={parse:.001*(k.rename-k.parse),rename:.001*(k.compress-k.rename),compress:.001*(k.scope-k.compress),scope:.001*(k.mangle-k.scope),mangle:.001*(k.properties-k.mangle),properties:.001*(k.format-k.properties),format:.001*(k.end-k.format),total:.001*(k.end-k.start)}}return q}async function run_cli({program:S,packageJson:E,fs:w,path:N}){const j=new Set(["cname","parent_scope","scope","uses_eval","uses_with"]);var q={};var ee={compress:false,mangle:false};const te=await _default_options();S.version(E.name+" "+E.version);S.parseArgv=S.parse;S.parse=undefined;if(process.argv.includes("ast"))S.helpInformation=describe_ast;else if(process.argv.includes("options"))S.helpInformation=function(){var S=[];for(var E in te){S.push("--"+(E==="sourceMap"?"source-map":E)+" options:");S.push(format_object(te[E]));S.push("")}return S.join("\n")};S.option("-p, --parse ","Specify parser options.",parse_js());S.option("-c, --compress [options]","Enable compressor/specify compressor options.",parse_js());S.option("-m, --mangle [options]","Mangle names/specify mangler options.",parse_js());S.option("--mangle-props [options]","Mangle properties/specify mangler options.",parse_js());S.option("-f, --format [options]","Format options.",parse_js());S.option("-b, --beautify [options]","Alias for --format.",parse_js());S.option("-o, --output ","Output file (default STDOUT).");S.option("--comments [filter]","Preserve copyright comments in the output.");S.option("--config-file ","Read minify() options from JSON file.");S.option("-d, --define [=value]","Global definitions.",parse_js("define"));S.option("--ecma ","Specify ECMAScript release: 5, 2015, 2016 or 2017...");S.option("-e, --enclose [arg[,...][:value[,...]]]","Embed output in a big function with configurable arguments and values.");S.option("--ie8","Support non-standard Internet Explorer 8.");S.option("--keep-classnames","Do not mangle/drop class names.");S.option("--keep-fnames","Do not mangle/drop function names. Useful for code relying on Function.prototype.name.");S.option("--module","Input is an ES6 module");S.option("--name-cache ","File to hold mangled name mappings.");S.option("--rename","Force symbol expansion.");S.option("--no-rename","Disable symbol expansion.");S.option("--safari10","Support non-standard Safari 10.");S.option("--source-map [options]","Enable source map/specify source map options.",parse_js());S.option("--timings","Display operations run time on STDERR.");S.option("--toplevel","Compress and/or mangle variables in toplevel scope.");S.option("--wrap ","Embed everything as a function with “exports” corresponding to “name” globally.");S.arguments("[files...]").parseArgv(process.argv);if(S.configFile){ee=JSON.parse(read_file(S.configFile))}if(!S.output&&S.sourceMap&&S.sourceMap.url!="inline"){fatal("ERROR: cannot write source map to STDOUT")}["compress","enclose","ie8","mangle","module","safari10","sourceMap","toplevel","wrap"].forEach((function(E){if(E in S){ee[E]=S[E]}}));if("ecma"in S){if(S.ecma!=(S.ecma|0))fatal("ERROR: ecma must be an integer");const E=S.ecma|0;if(E>5&&E<2015)ee.ecma=E+2009;else ee.ecma=E}if(S.format||S.beautify){const E=S.format||S.beautify;ee.format=typeof E==="object"?E:{}}if(S.comments){if(typeof ee.format!="object")ee.format={};ee.format.comments=typeof S.comments=="string"?S.comments=="false"?false:S.comments:"some"}if(S.define){if(typeof ee.compress!="object")ee.compress={};if(typeof ee.compress.global_defs!="object")ee.compress.global_defs={};for(var ne in S.define){ee.compress.global_defs[ne]=S.define[ne]}}if(S.keepClassnames){ee.keep_classnames=true}if(S.keepFnames){ee.keep_fnames=true}if(S.mangleProps){if(S.mangleProps.domprops){delete S.mangleProps.domprops}else{if(typeof S.mangleProps!="object")S.mangleProps={};if(!Array.isArray(S.mangleProps.reserved))S.mangleProps.reserved=[]}if(typeof ee.mangle!="object")ee.mangle={};ee.mangle.properties=S.mangleProps}if(S.nameCache){ee.nameCache=JSON.parse(read_file(S.nameCache,"{}"))}if(S.output=="ast"){ee.format={ast:true,code:false}}if(S.parse){if(!S.parse.acorn&&!S.parse.spidermonkey){ee.parse=S.parse}else if(S.sourceMap&&S.sourceMap.content=="inline"){fatal("ERROR: inline source map only works with built-in parser")}}if(~S.rawArgs.indexOf("--rename")){ee.rename=true}else if(!S.rename){ee.rename=false}let convert_path=S=>S;if(typeof S.sourceMap=="object"&&"base"in S.sourceMap){convert_path=function(){var E=S.sourceMap.base;delete ee.sourceMap.base;return function(S){return N.relative(E,S)}}()}let ae;if(ee.files&&ee.files.length){ae=ee.files;delete ee.files}else if(S.args.length){ae=S.args}if(ae){simple_glob(ae).forEach((function(S){q[convert_path(S)]=read_file(S)}))}else{await new Promise((S=>{var E=[];process.stdin.setEncoding("utf8");process.stdin.on("data",(function(S){E.push(S)})).on("end",(function(){q=[E.join("")];S()}));process.stdin.resume()}))}await run_cli();function convert_ast(S){return Ze.from_mozilla_ast(Object.keys(q).reduce(S,null))}async function run_cli(){var E=S.sourceMap&&S.sourceMap.content;if(E&&E!=="inline"){ee.sourceMap.content=read_file(E,E)}if(S.timings)ee.timings=true;try{if(S.parse){if(S.parse.acorn){q=convert_ast((function(E,w){return k(20976).parse(q[w],{ecmaVersion:2018,locations:true,program:E,sourceFile:w,sourceType:ee.module||S.parse.module?"module":"script"})}))}else if(S.parse.spidermonkey){q=convert_ast((function(S,E){var k=JSON.parse(q[E]);if(!S)return k;S.body=S.body.concat(k.body);return S}))}}}catch(S){fatal(S)}let N;try{N=await minify(q,ee)}catch(S){if(S.name=="SyntaxError"){print_error("Parse error at "+S.filename+":"+S.line+","+S.col);var te=S.col;var ne=q[S.filename].split(/\r?\n/);var ae=ne[S.line-1];if(!ae&&!te){ae=ne[S.line-2];te=ae.length}if(ae){var _e=70;if(te>_e){ae=ae.slice(te-_e);te=_e}print_error(ae.slice(0,80));print_error(ae.slice(0,te).replace(/\S/g," ")+"^")}}if(S.defs){print_error("Supported options:");print_error(format_object(S.defs))}fatal(S);return}if(S.output=="ast"){if(!ee.compress&&!ee.mangle){N.ast.figure_out_scope({})}console.log(JSON.stringify(N.ast,(function(S,E){if(E)switch(S){case"thedef":return symdef(E);case"enclosed":return E.length?E.map(symdef):undefined;case"variables":case"globals":return E.size?collect_from_map(E,symdef):undefined}if(j.has(S))return;if(E instanceof AST_Token)return;if(E instanceof Map)return;if(E instanceof Ze){var k={_class:"AST_"+E.TYPE};if(E.block_scope){k.variables=E.block_scope.variables;k.enclosed=E.block_scope.enclosed}E.CTOR.PROPS.forEach((function(S){k[S]=E[S]}));return k}return E}),2))}else if(S.output=="spidermonkey"){try{const S=await minify(N.code,{compress:false,mangle:false,format:{ast:true,code:false}});console.log(JSON.stringify(S.ast.to_mozilla_ast(),null,2))}catch(S){fatal(S);return}}else if(S.output){w.writeFileSync(S.output,N.code);if(ee.sourceMap&&ee.sourceMap.url!=="inline"&&N.map){w.writeFileSync(S.output+".map",N.map)}}else{console.log(N.code)}if(S.nameCache){w.writeFileSync(S.nameCache,JSON.stringify(ee.nameCache))}if(N.timings)for(var ve in N.timings){print_error("- "+ve+": "+N.timings[ve].toFixed(3)+"s")}}function fatal(S){if(S instanceof Error)S=S.stack.replace(/^\S*?Error:/,"ERROR:");print_error(S);process.exit(1)}function simple_glob(S){if(Array.isArray(S)){return[].concat.apply([],S.map(simple_glob))}if(S&&S.match(/[*?]/)){var E=N.dirname(S);try{var k=w.readdirSync(E)}catch(S){}if(k){var j="^"+N.basename(S).replace(/[.+^$[\]\\(){}]/g,"\\$&").replace(/\*/g,"[^/\\\\]*").replace(/\?/g,"[^/\\\\]")+"$";var q=process.platform==="win32"?"i":"";var ee=new RegExp(j,q);var te=k.filter((function(S){return ee.test(S)})).map((function(S){return N.join(E,S)}));if(te.length)return te}}return[S]}function read_file(S,E){try{return w.readFileSync(S,"utf8")}catch(S){if((S.code=="ENOENT"||S.code=="ENAMETOOLONG")&&E!=null)return E;fatal(S)}}function parse_js(S){return function(E,k){k=k||{};try{walk(parse(E,{expression:true}),(E=>{if(E instanceof yr){var w=E.left.print_to_string();var N=E.right;if(S){k[w]=N}else if(N instanceof br){k[w]=N.elements.map(to_string)}else if(N instanceof un){N=N.value;k[w]=new RegExp(N.source,N.flags)}else{k[w]=to_string(N)}return true}if(E instanceof Mr||E instanceof cr){var w=E.print_to_string();k[w]=true;return true}if(!(E instanceof sr))throw E;function to_string(S){return S instanceof on?S.getValue():S.print_to_string({quote_keys:true})}}))}catch(w){if(S){fatal("Error parsing arguments for '"+S+"': "+E)}else{k[E]=null}}return k}}function symdef(S){var E=1e6+S.id+" "+S.name;if(S.mangled_name)E+=" "+S.mangled_name;return E}function collect_from_map(S,E){var k=[];S.forEach((function(S){k.push(E(S))}));return k}function format_object(S){var E=[];var k="";Object.keys(S).map((function(E){if(k.length!/^\$/.test(S)));if(k.length>0){S.space();S.with_parens((function(){k.forEach((function(E,k){if(k)S.space();S.print(E)}))}))}if(E.documentation){S.space();S.print_string(E.documentation)}if(E.SUBCLASSES.length>0){S.space();S.with_block((function(){E.SUBCLASSES.forEach((function(E){S.indent();doitem(E);S.newline()}))}))}}doitem(Ze);return S+"\n"}}async function _default_options(){const S={};Object.keys(infer_options({0:0})).forEach((E=>{const k=infer_options({[E]:{0:0}});if(k)S[E]=k}));return S}async function infer_options(S){try{await minify("",S)}catch(S){return S.defs}}S._default_options=_default_options;S._run_cli=run_cli;S.minify=minify}))},18077:(S,E)=>{class ArraySet{constructor(){this._array=[];this._set=new Map}static fromArray(S,E){const k=new ArraySet;for(let w=0,N=S.length;w=0){return E}throw new Error('"'+S+'" is not in the set.')}at(S){if(S>=0&&S{const w=k(5584);const N=5;const j=1<>1;return E?-k:k}E.encode=function base64VLQ_encode(S){let E="";let k;let j=toVLQSigned(S);do{k=j&q;j>>>=N;if(j>0){k|=ee}E+=w.encode(k)}while(j>0);return E}},5584:(S,E)=>{const k="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/".split("");E.encode=function(S){if(0<=S&&S{E.GREATEST_LOWER_BOUND=1;E.LEAST_UPPER_BOUND=2;function recursiveSearch(S,k,w,N,j,q){const ee=Math.floor((k-S)/2)+S;const te=j(w,N[ee],true);if(te===0){return ee}else if(te>0){if(k-ee>1){return recursiveSearch(ee,k,w,N,j,q)}if(q==E.LEAST_UPPER_BOUND){return k1){return recursiveSearch(S,ee,w,N,j,q)}if(q==E.LEAST_UPPER_BOUND){return ee}return S<0?-1:S}E.search=function search(S,k,w,N){if(k.length===0){return-1}let j=recursiveSearch(-1,k.length,S,k,w,N||E.GREATEST_LOWER_BOUND);if(j<0){return-1}while(j-1>=0){if(w(k[j],k[j-1],true)!==0){break}--j}return j}},58893:(S,E,k)=>{const w=k(5641);function generatedPositionAfter(S,E){const k=S.generatedLine;const N=E.generatedLine;const j=S.generatedColumn;const q=E.generatedColumn;return N>k||N==k&&q>=j||w.compareByGeneratedPositionsInflated(S,E)<=0}class MappingList{constructor(){this._array=[];this._sorted=true;this._last={generatedLine:-1,generatedColumn:0}}unsortedForEach(S,E){this._array.forEach(S,E)}add(S){if(generatedPositionAfter(this._last,S)){this._last=S;this._array.push(S)}else{this._sorted=false;this._array.push(S)}}toArray(){if(!this._sorted){this._array.sort(w.compareByGeneratedPositionsInflated);this._sorted=true}return this._array}}E.H=MappingList},67416:(S,E,k)=>{if(typeof fetch==="function"){let E=null;S.exports=function readWasm(){if(typeof E!=="string"){throw new Error("You must provide the URL of lib/mappings.wasm by calling "+"SourceMapConsumer.initialize({ 'lib/mappings.wasm': ... }) "+"before using SourceMapConsumer")}return fetch(E).then((S=>S.arrayBuffer()))};S.exports.initialize=S=>E=S}else{const E=k(35747);const w=k(85622);S.exports=function readWasm(){return new Promise(((S,w)=>{const N=k.ab+"mappings.wasm";E.readFile(k.ab+"mappings.wasm",null,((E,k)=>{if(E){w(E);return}S(k.buffer)}))}))};S.exports.initialize=S=>{console.debug("SourceMapConsumer.initialize is a no-op when running in node.js")}}},79096:(S,E,k)=>{var w;const N=k(5641);const j=k(42706);const q=k(18077).I;const ee=k(48625);const te=k(67416);const ne=k(1967);const ae=Symbol("smcInternal");class SourceMapConsumer{constructor(S,E){if(S==ae){return Promise.resolve(this)}return _factory(S,E)}static initialize(S){te.initialize(S["lib/mappings.wasm"])}static fromSourceMap(S,E){return _factoryBSM(S,E)}static with(S,E,k){let w=null;const N=new SourceMapConsumer(S,E);return N.then((S=>{w=S;return k(S)})).then((S=>{if(w){w.destroy()}return S}),(S=>{if(w){w.destroy()}throw S}))}_parseMappings(S,E){throw new Error("Subclasses must implement _parseMappings")}eachMapping(S,E,k){throw new Error("Subclasses must implement eachMapping")}allGeneratedPositionsFor(S){throw new Error("Subclasses must implement allGeneratedPositionsFor")}destroy(){throw new Error("Subclasses must implement destroy")}}SourceMapConsumer.prototype._version=3;SourceMapConsumer.GENERATED_ORDER=1;SourceMapConsumer.ORIGINAL_ORDER=2;SourceMapConsumer.GREATEST_LOWER_BOUND=1;SourceMapConsumer.LEAST_UPPER_BOUND=2;E.SourceMapConsumer=SourceMapConsumer;class BasicSourceMapConsumer extends SourceMapConsumer{constructor(S,E){return super(ae).then((k=>{let w=S;if(typeof S==="string"){w=N.parseSourceMapInput(S)}const j=N.getArg(w,"version");let ee=N.getArg(w,"sources");const te=N.getArg(w,"names",[]);let ae=N.getArg(w,"sourceRoot",null);const _e=N.getArg(w,"sourcesContent",null);const ve=N.getArg(w,"mappings");const Ee=N.getArg(w,"file",null);if(j!=k._version){throw new Error("Unsupported version: "+j)}if(ae){ae=N.normalize(ae)}ee=ee.map(String).map(N.normalize).map((function(S){return ae&&N.isAbsolute(ae)&&N.isAbsolute(S)?N.relative(ae,S):S}));k._names=q.fromArray(te.map(String),true);k._sources=q.fromArray(ee,true);k._absoluteSources=k._sources.toArray().map((function(S){return N.computeSourceURL(ae,S,E)}));k.sourceRoot=ae;k.sourcesContent=_e;k._mappings=ve;k._sourceMapURL=E;k.file=Ee;k._computedColumnSpans=false;k._mappingsPtr=0;k._wasm=null;return ne().then((S=>{k._wasm=S;return k}))}))}_findSourceIndex(S){let E=S;if(this.sourceRoot!=null){E=N.relative(this.sourceRoot,E)}if(this._sources.has(E)){return this._sources.indexOf(E)}for(let E=0;E{if(E.source!==null){E.source=this._sources.at(E.source);E.source=N.computeSourceURL(q,E.source,this._sourceMapURL);if(E.name!==null){E.name=this._names.at(E.name)}}S.call(w,E)}),(()=>{switch(j){case SourceMapConsumer.GENERATED_ORDER:this._wasm.exports.by_generated_location(this._getMappingsPtr());break;case SourceMapConsumer.ORIGINAL_ORDER:this._wasm.exports.by_original_location(this._getMappingsPtr());break;default:throw new Error("Unknown order of iteration.")}}))}allGeneratedPositionsFor(S){let E=N.getArg(S,"source");const k=N.getArg(S,"line");const w=S.column||0;E=this._findSourceIndex(E);if(E<0){return[]}if(k<1){throw new Error("Line numbers must be >= 1")}if(w<0){throw new Error("Column numbers must be >= 0")}const j=[];this._wasm.withMappingCallback((S=>{let E=S.lastGeneratedColumn;if(this._computedColumnSpans&&E===null){E=Infinity}j.push({line:S.generatedLine,column:S.generatedColumn,lastColumn:E})}),(()=>{this._wasm.exports.all_generated_locations_for(this._getMappingsPtr(),E,k-1,"column"in S,w)}));return j}destroy(){if(this._mappingsPtr!==0){this._wasm.exports.free_mappings(this._mappingsPtr);this._mappingsPtr=0}}computeColumnSpans(){if(this._computedColumnSpans){return}this._wasm.exports.compute_column_spans(this._getMappingsPtr());this._computedColumnSpans=true}originalPositionFor(S){const E={generatedLine:N.getArg(S,"line"),generatedColumn:N.getArg(S,"column")};if(E.generatedLine<1){throw new Error("Line numbers must be >= 1")}if(E.generatedColumn<0){throw new Error("Column numbers must be >= 0")}let k=N.getArg(S,"bias",SourceMapConsumer.GREATEST_LOWER_BOUND);if(k==null){k=SourceMapConsumer.GREATEST_LOWER_BOUND}let w;this._wasm.withMappingCallback((S=>w=S),(()=>{this._wasm.exports.original_location_for(this._getMappingsPtr(),E.generatedLine-1,E.generatedColumn,k)}));if(w){if(w.generatedLine===E.generatedLine){let S=N.getArg(w,"source",null);if(S!==null){S=this._sources.at(S);S=N.computeSourceURL(this.sourceRoot,S,this._sourceMapURL)}let E=N.getArg(w,"name",null);if(E!==null){E=this._names.at(E)}return{source:S,line:N.getArg(w,"originalLine",null),column:N.getArg(w,"originalColumn",null),name:E}}}return{source:null,line:null,column:null,name:null}}hasContentsOfAllSources(){if(!this.sourcesContent){return false}return this.sourcesContent.length>=this._sources.size()&&!this.sourcesContent.some((function(S){return S==null}))}sourceContentFor(S,E){if(!this.sourcesContent){return null}const k=this._findSourceIndex(S);if(k>=0){return this.sourcesContent[k]}let w=S;if(this.sourceRoot!=null){w=N.relative(this.sourceRoot,w)}let j;if(this.sourceRoot!=null&&(j=N.urlParse(this.sourceRoot))){const S=w.replace(/^file:\/\//,"");if(j.scheme=="file"&&this._sources.has(S)){return this.sourcesContent[this._sources.indexOf(S)]}if((!j.path||j.path=="/")&&this._sources.has("/"+w)){return this.sourcesContent[this._sources.indexOf("/"+w)]}}if(E){return null}throw new Error('"'+w+'" is not in the SourceMap.')}generatedPositionFor(S){let E=N.getArg(S,"source");E=this._findSourceIndex(E);if(E<0){return{line:null,column:null,lastColumn:null}}const k={source:E,originalLine:N.getArg(S,"line"),originalColumn:N.getArg(S,"column")};if(k.originalLine<1){throw new Error("Line numbers must be >= 1")}if(k.originalColumn<0){throw new Error("Column numbers must be >= 0")}let w=N.getArg(S,"bias",SourceMapConsumer.GREATEST_LOWER_BOUND);if(w==null){w=SourceMapConsumer.GREATEST_LOWER_BOUND}let j;this._wasm.withMappingCallback((S=>j=S),(()=>{this._wasm.exports.generated_location_for(this._getMappingsPtr(),k.source,k.originalLine-1,k.originalColumn,w)}));if(j){if(j.source===k.source){let S=j.lastGeneratedColumn;if(this._computedColumnSpans&&S===null){S=Infinity}return{line:N.getArg(j,"generatedLine",null),column:N.getArg(j,"generatedColumn",null),lastColumn:S}}}return{line:null,column:null,lastColumn:null}}}BasicSourceMapConsumer.prototype.consumer=SourceMapConsumer;w=BasicSourceMapConsumer;class IndexedSourceMapConsumer extends SourceMapConsumer{constructor(S,E){return super(ae).then((k=>{let w=S;if(typeof S==="string"){w=N.parseSourceMapInput(S)}const j=N.getArg(w,"version");const ee=N.getArg(w,"sections");if(j!=k._version){throw new Error("Unsupported version: "+j)}k._sources=new q;k._names=new q;k.__generatedMappings=null;k.__originalMappings=null;k.__generatedMappingsUnsorted=null;k.__originalMappingsUnsorted=null;let te={line:-1,column:0};return Promise.all(ee.map((S=>{if(S.url){throw new Error("Support for url field in sections not implemented.")}const k=N.getArg(S,"offset");const w=N.getArg(k,"line");const j=N.getArg(k,"column");if(w({generatedOffset:{generatedLine:w+1,generatedColumn:j+1},consumer:S})))}))).then((S=>{k._sections=S;return k}))}))}get _generatedMappings(){if(!this.__generatedMappings){this._sortGeneratedMappings()}return this.__generatedMappings}get _originalMappings(){if(!this.__originalMappings){this._sortOriginalMappings()}return this.__originalMappings}get _generatedMappingsUnsorted(){if(!this.__generatedMappingsUnsorted){this._parseMappings(this._mappings,this.sourceRoot)}return this.__generatedMappingsUnsorted}get _originalMappingsUnsorted(){if(!this.__originalMappingsUnsorted){this._parseMappings(this._mappings,this.sourceRoot)}return this.__originalMappingsUnsorted}_sortGeneratedMappings(){const S=this._generatedMappingsUnsorted;S.sort(N.compareByGeneratedPositionsDeflated);this.__generatedMappings=S}_sortOriginalMappings(){const S=this._originalMappingsUnsorted;S.sort(N.compareByOriginalPositions);this.__originalMappings=S}get sources(){const S=[];for(let E=0;Ej.push(S)));for(let S=0;S= 1")}if(k.originalColumn<0){throw new Error("Column numbers must be >= 0")}const w=[];let q=this._findMapping(k,this._originalMappings,"originalLine","originalColumn",N.compareByOriginalPositions,j.LEAST_UPPER_BOUND);if(q>=0){let k=this._originalMappings[q];if(S.column===undefined){const S=k.originalLine;while(k&&k.originalLine===S){let S=k.lastGeneratedColumn;if(this._computedColumnSpans&&S===null){S=Infinity}w.push({line:N.getArg(k,"generatedLine",null),column:N.getArg(k,"generatedColumn",null),lastColumn:S});k=this._originalMappings[++q]}}else{const S=k.originalColumn;while(k&&k.originalLine===E&&k.originalColumn==S){let S=k.lastGeneratedColumn;if(this._computedColumnSpans&&S===null){S=Infinity}w.push({line:N.getArg(k,"generatedLine",null),column:N.getArg(k,"generatedColumn",null),lastColumn:S});k=this._originalMappings[++q]}}}return w}destroy(){for(let S=0;S{const w=k(48625);const N=k(5641);const j=k(18077).I;const q=k(58893).H;class SourceMapGenerator{constructor(S){if(!S){S={}}this._file=N.getArg(S,"file",null);this._sourceRoot=N.getArg(S,"sourceRoot",null);this._skipValidation=N.getArg(S,"skipValidation",false);this._sources=new j;this._names=new j;this._mappings=new q;this._sourcesContents=null}static fromSourceMap(S){const E=S.sourceRoot;const k=new SourceMapGenerator({file:S.file,sourceRoot:E});S.eachMapping((function(S){const w={generated:{line:S.generatedLine,column:S.generatedColumn}};if(S.source!=null){w.source=S.source;if(E!=null){w.source=N.relative(E,w.source)}w.original={line:S.originalLine,column:S.originalColumn};if(S.name!=null){w.name=S.name}}k.addMapping(w)}));S.sources.forEach((function(w){let j=w;if(E!==null){j=N.relative(E,w)}if(!k._sources.has(j)){k._sources.add(j)}const q=S.sourceContentFor(w);if(q!=null){k.setSourceContent(w,q)}}));return k}addMapping(S){const E=N.getArg(S,"generated");const k=N.getArg(S,"original",null);let w=N.getArg(S,"source",null);let j=N.getArg(S,"name",null);if(!this._skipValidation){this._validateMapping(E,k,w,j)}if(w!=null){w=String(w);if(!this._sources.has(w)){this._sources.add(w)}}if(j!=null){j=String(j);if(!this._names.has(j)){this._names.add(j)}}this._mappings.add({generatedLine:E.line,generatedColumn:E.column,originalLine:k!=null&&k.line,originalColumn:k!=null&&k.column,source:w,name:j})}setSourceContent(S,E){let k=S;if(this._sourceRoot!=null){k=N.relative(this._sourceRoot,k)}if(E!=null){if(!this._sourcesContents){this._sourcesContents=Object.create(null)}this._sourcesContents[N.toSetString(k)]=E}else if(this._sourcesContents){delete this._sourcesContents[N.toSetString(k)];if(Object.keys(this._sourcesContents).length===0){this._sourcesContents=null}}}applySourceMap(S,E,k){let w=E;if(E==null){if(S.file==null){throw new Error("SourceMapGenerator.prototype.applySourceMap requires either an explicit source file, "+'or the source map\'s "file" property. Both were omitted.')}w=S.file}const q=this._sourceRoot;if(q!=null){w=N.relative(q,w)}const ee=this._mappings.toArray().length>0?new j:this._sources;const te=new j;this._mappings.unsortedForEach((function(E){if(E.source===w&&E.originalLine!=null){const w=S.originalPositionFor({line:E.originalLine,column:E.originalColumn});if(w.source!=null){E.source=w.source;if(k!=null){E.source=N.join(k,E.source)}if(q!=null){E.source=N.relative(q,E.source)}E.originalLine=w.line;E.originalColumn=w.column;if(w.name!=null){E.name=w.name}}}const j=E.source;if(j!=null&&!ee.has(j)){ee.add(j)}const ne=E.name;if(ne!=null&&!te.has(ne)){te.add(ne)}}),this);this._sources=ee;this._names=te;S.sources.forEach((function(E){const w=S.sourceContentFor(E);if(w!=null){if(k!=null){E=N.join(k,E)}if(q!=null){E=N.relative(q,E)}this.setSourceContent(E,w)}}),this)}_validateMapping(S,E,k,w){if(E&&typeof E.line!=="number"&&typeof E.column!=="number"){throw new Error("original.line and original.column are not numbers -- you probably meant to omit "+"the original mapping entirely and only map the generated position. If so, pass "+"null for the original mapping instead of an object with empty or null values.")}if(S&&"line"in S&&"column"in S&&S.line>0&&S.column>=0&&!E&&!k&&!w){}else if(S&&"line"in S&&"column"in S&&E&&"line"in E&&"column"in E&&S.line>0&&S.column>=0&&E.line>0&&E.column>=0&&k){}else{throw new Error("Invalid mapping: "+JSON.stringify({generated:S,source:k,original:E,name:w}))}}_serializeMappings(){let S=0;let E=1;let k=0;let j=0;let q=0;let ee=0;let te="";let ne;let ae;let _e;let ve;const Ee=this._mappings.toArray();for(let Te=0,Ce=Ee.length;Te0){if(!N.compareByGeneratedPositionsInflated(ae,Ee[Te-1])){continue}ne+=","}ne+=w.encode(ae.generatedColumn-S);S=ae.generatedColumn;if(ae.source!=null){ve=this._sources.indexOf(ae.source);ne+=w.encode(ve-ee);ee=ve;ne+=w.encode(ae.originalLine-1-j);j=ae.originalLine-1;ne+=w.encode(ae.originalColumn-k);k=ae.originalColumn;if(ae.name!=null){_e=this._names.indexOf(ae.name);ne+=w.encode(_e-q);q=_e}}te+=ne}return te}_generateSourcesContent(S,E){return S.map((function(S){if(!this._sourcesContents){return null}if(E!=null){S=N.relative(E,S)}const k=N.toSetString(S);return Object.prototype.hasOwnProperty.call(this._sourcesContents,k)?this._sourcesContents[k]:null}),this)}toJSON(){const S={version:this._version,sources:this._sources.toArray(),names:this._names.toArray(),mappings:this._serializeMappings()};if(this._file!=null){S.file=this._file}if(this._sourceRoot!=null){S.sourceRoot=this._sourceRoot}if(this._sourcesContents){S.sourcesContent=this._generateSourcesContent(S.sources,S.sourceRoot)}return S}toString(){return JSON.stringify(this.toJSON())}}SourceMapGenerator.prototype._version=3;E.SourceMapGenerator=SourceMapGenerator},21583:(S,E,k)=>{const w=k(76).SourceMapGenerator;const N=k(5641);const j=/(\r?\n)/;const q=10;const ee="$$$isSourceNode$$$";class SourceNode{constructor(S,E,k,w,N){this.children=[];this.sourceContents={};this.line=S==null?null:S;this.column=E==null?null:E;this.source=k==null?null:k;this.name=N==null?null:N;this[ee]=true;if(w!=null)this.add(w)}static fromStringWithSourceMap(S,E,k){const w=new SourceNode;const q=S.split(j);let ee=0;const shiftNextLine=function(){const S=getNextLine();const E=getNextLine()||"";return S+E;function getNextLine(){return ee=0;E--){this.prepend(S[E])}}else if(S[ee]||typeof S==="string"){this.children.unshift(S)}else{throw new TypeError("Expected a SourceNode, string, or an array of SourceNodes and strings. Got "+S)}return this}walk(S){let E;for(let k=0,w=this.children.length;k0){E=[];for(k=0;k{function getArg(S,E,k){if(E in S){return S[E]}else if(arguments.length===3){return k}throw new Error('"'+E+'" is a required argument.')}E.getArg=getArg;const k=/^(?:([\w+\-.]+):)?\/\/(?:(\w+:\w+)@)?([\w.-]*)(?::(\d+))?(.*)$/;const w=/^data:.+\,.+$/;function urlParse(S){const E=S.match(k);if(!E){return null}return{scheme:E[1],auth:E[2],host:E[3],port:E[4],path:E[5]}}E.urlParse=urlParse;function urlGenerate(S){let E="";if(S.scheme){E+=S.scheme+":"}E+="//";if(S.auth){E+=S.auth+"@"}if(S.host){E+=S.host}if(S.port){E+=":"+S.port}if(S.path){E+=S.path}return E}E.urlGenerate=urlGenerate;const N=32;function lruMemoize(S){const E=[];return function(k){for(let S=0;SN){E.pop()}return w}}const j=lruMemoize((function normalize(S){let k=S;const w=urlParse(S);if(w){if(!w.path){return S}k=w.path}const N=E.isAbsolute(k);const j=[];let q=0;let ee=0;while(true){q=ee;ee=k.indexOf("/",q);if(ee===-1){j.push(k.slice(q));break}else{j.push(k.slice(q,ee));while(ee=0;ee--){const S=j[ee];if(S==="."){j.splice(ee,1)}else if(S===".."){te++}else if(te>0){if(S===""){j.splice(ee+1,te);te=0}else{j.splice(ee,2);te--}}}k=j.join("/");if(k===""){k=N?"/":"."}if(w){w.path=k;return urlGenerate(w)}return k}));E.normalize=j;function join(S,E){if(S===""){S="."}if(E===""){E="."}const k=urlParse(E);const N=urlParse(S);if(N){S=N.path||"/"}if(k&&!k.scheme){if(N){k.scheme=N.scheme}return urlGenerate(k)}if(k||E.match(w)){return E}if(N&&!N.host&&!N.path){N.host=E;return urlGenerate(N)}const q=E.charAt(0)==="/"?E:j(S.replace(/\/+$/,"")+"/"+E);if(N){N.path=q;return urlGenerate(N)}return q}E.join=join;E.isAbsolute=function(S){return S.charAt(0)==="/"||k.test(S)};function relative(S,E){if(S===""){S="."}S=S.replace(/\/$/,"");let k=0;while(E.indexOf(S+"/")!==0){const w=S.lastIndexOf("/");if(w<0){return E}S=S.slice(0,w);if(S.match(/^([^\/]+:\/)?\/*$/)){return E}++k}return Array(k+1).join("../")+E.substr(S.length+1)}E.relative=relative;const q=function(){const S=Object.create(null);return!("__proto__"in S)}();function identity(S){return S}function toSetString(S){if(isProtoString(S)){return"$"+S}return S}E.toSetString=q?identity:toSetString;function fromSetString(S){if(isProtoString(S)){return S.slice(1)}return S}E.fromSetString=q?identity:fromSetString;function isProtoString(S){if(!S){return false}const E=S.length;if(E<9){return false}if(S.charCodeAt(E-1)!==95||S.charCodeAt(E-2)!==95||S.charCodeAt(E-3)!==111||S.charCodeAt(E-4)!==116||S.charCodeAt(E-5)!==111||S.charCodeAt(E-6)!==114||S.charCodeAt(E-7)!==112||S.charCodeAt(E-8)!==95||S.charCodeAt(E-9)!==95){return false}for(let k=E-10;k>=0;k--){if(S.charCodeAt(k)!==36){return false}}return true}function compareByOriginalPositions(S,E,k){let w=strcmp(S.source,E.source);if(w!==0){return w}w=S.originalLine-E.originalLine;if(w!==0){return w}w=S.originalColumn-E.originalColumn;if(w!==0||k){return w}w=S.generatedColumn-E.generatedColumn;if(w!==0){return w}w=S.generatedLine-E.generatedLine;if(w!==0){return w}return strcmp(S.name,E.name)}E.compareByOriginalPositions=compareByOriginalPositions;function compareByGeneratedPositionsDeflated(S,E,k){let w=S.generatedLine-E.generatedLine;if(w!==0){return w}w=S.generatedColumn-E.generatedColumn;if(w!==0||k){return w}w=strcmp(S.source,E.source);if(w!==0){return w}w=S.originalLine-E.originalLine;if(w!==0){return w}w=S.originalColumn-E.originalColumn;if(w!==0){return w}return strcmp(S.name,E.name)}E.compareByGeneratedPositionsDeflated=compareByGeneratedPositionsDeflated;function strcmp(S,E){if(S===E){return 0}if(S===null){return 1}if(E===null){return-1}if(S>E){return 1}return-1}function compareByGeneratedPositionsInflated(S,E){let k=S.generatedLine-E.generatedLine;if(k!==0){return k}k=S.generatedColumn-E.generatedColumn;if(k!==0){return k}k=strcmp(S.source,E.source);if(k!==0){return k}k=S.originalLine-E.originalLine;if(k!==0){return k}k=S.originalColumn-E.originalColumn;if(k!==0){return k}return strcmp(S.name,E.name)}E.compareByGeneratedPositionsInflated=compareByGeneratedPositionsInflated;function parseSourceMapInput(S){return JSON.parse(S.replace(/^\)]}'[^\n]*\n/,""))}E.parseSourceMapInput=parseSourceMapInput;function computeSourceURL(S,E,k){E=E||"";if(S){if(S[S.length-1]!=="/"&&E[0]!=="/"){S+="/"}E=S+E}if(k){const S=urlParse(k);if(!S){throw new Error("sourceMapURL could not be parsed")}if(S.path){const E=S.path.lastIndexOf("/");if(E>=0){S.path=S.path.substring(0,E+1)}}E=join(urlGenerate(S),E)}return j(E)}E.computeSourceURL=computeSourceURL},1967:(S,E,k)=>{const w=k(67416);function Mapping(){this.generatedLine=0;this.generatedColumn=0;this.lastGeneratedColumn=null;this.source=null;this.originalLine=null;this.originalColumn=null;this.name=null}let N=null;S.exports=function wasm(){if(N){return N}const S=[];N=w().then((E=>WebAssembly.instantiate(E,{env:{mapping_callback(E,k,w,N,j,q,ee,te,ne,ae){const _e=new Mapping;_e.generatedLine=E+1;_e.generatedColumn=k;if(w){_e.lastGeneratedColumn=N-1}if(j){_e.source=q;_e.originalLine=ee+1;_e.originalColumn=te;if(ne){_e.name=ae}}S[S.length-1](_e)},start_all_generated_locations_for(){console.time("all_generated_locations_for")},end_all_generated_locations_for(){console.timeEnd("all_generated_locations_for")},start_compute_column_spans(){console.time("compute_column_spans")},end_compute_column_spans(){console.timeEnd("compute_column_spans")},start_generated_location_for(){console.time("generated_location_for")},end_generated_location_for(){console.timeEnd("generated_location_for")},start_original_location_for(){console.time("original_location_for")},end_original_location_for(){console.timeEnd("original_location_for")},start_parse_mappings(){console.time("parse_mappings")},end_parse_mappings(){console.timeEnd("parse_mappings")},start_sort_by_generated_location(){console.time("sort_by_generated_location")},end_sort_by_generated_location(){console.timeEnd("sort_by_generated_location")},start_sort_by_original_location(){console.time("sort_by_original_location")},end_sort_by_original_location(){console.timeEnd("sort_by_original_location")}}}))).then((E=>({exports:E.instance.exports,withMappingCallback:(E,k)=>{S.push(E);try{k()}finally{S.pop()}}}))).then(null,(S=>{N=null;throw S}));return N}},86347:(S,E,k)=>{E.SourceMapGenerator=k(76).SourceMapGenerator;E.SourceMapConsumer=k(79096).SourceMapConsumer;E.SourceNode=k(21583).SourceNode},6619:(S,E,k)=>{"use strict";Object.defineProperty(E,"__esModule",{value:true});E.makeAfterCompile=void 0;const w=k(85622);const N=k(69635);const j=k(90557);const q=k(86507);function makeAfterCompile(S,E){let k=true;let w=true;return(N,j)=>{if(N.compiler.isChild()){j();return}if(S.loaderOptions.transpileOnly){provideAssetsFromSolutionBuilderHost(S,N);j();return}removeCompilationTSLoaderErrors(N,S.loaderOptions);provideCompilerOptionDiagnosticErrorsToWebpack(k,N,S,E);k=false;const q=determineModules(N,S);const ee=determineFilesToCheckForErrors(w,S);w=false;const te=new Map;provideErrorsToWebpack(ee,te,N,q,S);provideSolutionErrorsToWebpack(N,q,S);provideDeclarationFilesToWebpack(ee,S,N);provideTsBuildInfoFilesToWebpack(S,N);provideAssetsFromSolutionBuilderHost(S,N);S.filesWithErrors=te;S.modifiedFiles=undefined;S.projectsMissingSourceMaps=new Set;j()}}E.makeAfterCompile=makeAfterCompile;function provideCompilerOptionDiagnosticErrorsToWebpack(S,E,k,w){if(S){const{languageService:S,loaderOptions:N,compiler:j,program:ee}=k;const te=q.formatErrors(ee===undefined?S.getCompilerOptionsDiagnostics():ee.getOptionsDiagnostics(),N,k.colors,j,{file:w||"tsconfig.json"},E.compiler.context);E.errors.push(...te)}}function determineModules(S,{filePathKeyMapper:E}){const k=new Map;S.modules.forEach((S=>{if(S.resource){const w=E(S.resource);const N=k.get(w);if(N!==undefined){if(!N.includes(S)){N.push(S)}}else{k.set(w,[S])}}}));return k}function determineFilesToCheckForErrors(S,E){const{files:k,modifiedFiles:w,filesWithErrors:N,otherFiles:j}=E;const ee=new Map;if(S){for(const[S,E]of k){addFileToCheckForErrors(S,E)}for(const[S,E]of j){addFileToCheckForErrors(S,E)}}else if(w!==null&&w!==undefined&&w.size){const S=q.populateReverseDependencyGraph(E);for(const E of w.keys()){for(const w of q.collectAllDependants(S,E).keys()){const S=k.get(w)||j.get(w);addFileToCheckForErrors(w,S)}}}if(N!==undefined){for(const[S,E]of N){addFileToCheckForErrors(S,E)}}return ee;function addFileToCheckForErrors(S,k){if(!q.isReferencedFile(E,S)){ee.set(S,k)}}}function provideErrorsToWebpack(S,E,k,w,j){const{compiler:ee,files:te,loaderOptions:ne,compilerOptions:ae,otherFiles:_e}=j;const ve=ae.allowJs===true?N.dtsTsTsxJsJsxRegex:N.dtsTsTsxRegex;const Ee=q.ensureProgram(j);for(const[N,{fileName:ae}]of S.entries()){if(ae.match(ve)===null){continue}const S=Ee&&Ee.getSourceFile(ae);const Te=[];if(Ee&&S){Te.push(...Ee.getSyntacticDiagnostics(S),...Ee.getSemanticDiagnostics(S).filter((({code:S})=>S!==6305)))}if(Te.length>0){const S=te.get(N)||_e.get(N);E.set(N,S)}const Ce=w.get(j.filePathKeyMapper(ae));if(Ce!==undefined){Ce.forEach((S=>{removeModuleTSLoaderError(S,ne);const E=q.formatErrors(Te,ne,j.colors,ee,{module:S},k.compiler.context);E.forEach((E=>{if(S.addError){S.addError(E)}else{S.errors.push(E)}}));k.errors.push(...E)}))}else{const S=q.formatErrors(Te,ne,j.colors,ee,{file:ae},k.compiler.context);k.errors.push(...S)}}}function provideSolutionErrorsToWebpack(S,E,k){if(!k.solutionBuilderHost||!(k.solutionBuilderHost.diagnostics.global.length||k.solutionBuilderHost.diagnostics.perFile.size)){return}const{compiler:N,loaderOptions:j,solutionBuilderHost:{diagnostics:ee}}=k;for(const[te,ne]of ee.perFile){const ee=E.get(te);if(ee!==undefined){ee.forEach((E=>{removeModuleTSLoaderError(E,j);const w=q.formatErrors(ne,j,k.colors,N,{module:E},S.compiler.context);w.forEach((S=>{if(E.addError){E.addError(S)}else{E.errors.push(S)}}));S.errors.push(...w)}))}else{const E=q.formatErrors(ne,j,k.colors,N,{file:w.resolve(ne[0].file.fileName)},S.compiler.context);S.errors.push(...E)}}S.errors.push(...q.formatErrors(ee.global,k.loaderOptions,k.colors,k.compiler,{file:"tsconfig.json"},S.compiler.context))}function provideDeclarationFilesToWebpack(S,E,k){for(const{fileName:w}of S.values()){if(w.match(N.tsTsxRegex)===null){continue}addDeclarationFilesAsAsset(j.getEmitOutput(E,w),k)}}function addDeclarationFilesAsAsset(S,E,k){outputFilesToAsset(S,E,(S=>k&&k(S)?true:!S.name.match(N.dtsDtsxOrDtsDtsxMapRegex)))}function outputFileToAsset(S,E){const k=w.relative(E.compiler.outputPath,S.name);E.assets[k]={source:()=>S.text,size:()=>S.text.length}}function outputFilesToAsset(S,E,k){for(const w of S){if(!k||!k(w)){outputFileToAsset(w,E)}}}function provideTsBuildInfoFilesToWebpack(S,E){if(S.watchHost){j.getEmitFromWatchHost(S);if(S.watchHost.tsbuildinfo){outputFileToAsset(S.watchHost.tsbuildinfo,E)}S.watchHost.outputFiles.clear();S.watchHost.tsbuildinfo=undefined}}function provideAssetsFromSolutionBuilderHost(S,E){if(S.solutionBuilderHost){outputFilesToAsset(S.solutionBuilderHost.writtenFiles,E);S.solutionBuilderHost.writtenFiles.length=0}}function removeCompilationTSLoaderErrors(S,E){S.errors=S.errors.filter((S=>S.loaderSource!==q.tsLoaderSource(E)))}function removeModuleTSLoaderError(S,E){if(!!S.addError){const k=S.getWarnings();const w=S.getErrors();S.clearWarningsAndErrors();Array.from(k||[]).forEach((E=>S.addWarning(E)));Array.from(w||[]).filter((S=>S.loaderSource!==q.tsLoaderSource(E))).forEach((E=>S.addError(E)))}else{S.errors=S.errors.filter((S=>S.loaderSource!==q.tsLoaderSource(E)))}}},17464:(S,E,k)=>{"use strict";Object.defineProperty(E,"__esModule",{value:true});E.getCompilerOptions=E.getCompiler=void 0;const w=k(3609);function getCompiler(S,E){let k;let N;let j;let q=false;try{k=require(S.compiler)}catch(E){N=S.compiler==="typescript"?"Could not load TypeScript. Try installing with `yarn add typescript` or `npm install typescript`. If TypeScript is installed globally, try using `yarn link typescript` or `npm link typescript`.":`Could not load TypeScript compiler with NPM package name \`${S.compiler}\`. Are you sure it is correctly installed?`}if(N===undefined){j=`ts-loader: Using ${S.compiler}@${k.version}`;q=false;if(S.compiler==="typescript"){if(k.version!==undefined&&w.gte(k.version,"3.6.3")){q=true}else{E.logError(`${j}. This version is incompatible with ts-loader. Please upgrade to the latest version of TypeScript.`)}}else{E.logWarning(`${j}. This version may or may not be compatible with ts-loader.`)}}return{compiler:k,compilerCompatible:q,compilerDetailsLogMessage:j,errorMessage:N}}E.getCompiler=getCompiler;function getCompilerOptions(S,E){const k=Object.assign({},S.options,{skipLibCheck:true,suppressOutputPathCheck:true});if(k.module===undefined&&k.target!==undefined&&k.target{"use strict";Object.defineProperty(E,"__esModule",{value:true});E.getParsedCommandLine=E.getConfigParseResult=E.getConfigFile=void 0;const w=k(85622);const N=k(17464);const j=k(86507);function getConfigFile(S,E,k,N,q,ee,te){const ne=findConfigFile(S,w.dirname(k.resourcePath),N.configFile);let ae;let _e;if(ne!==undefined){if(q){ee.logInfo(`${te} and ${ne}`)}else{ee.logInfo(`ts-loader: Using config file at ${ne}`)}_e=S.readConfigFile(ne,S.sys.readFile);if(_e.error!==undefined){ae=j.formatErrors([_e.error],N,E,S,{file:ne},k.context)[0]}}else{if(q){ee.logInfo(te)}_e={config:{compilerOptions:{},files:[]}}}if(ae===undefined){_e.config.compilerOptions=Object.assign({},_e.config.compilerOptions)}return{configFilePath:ne,configFile:_e,configFileError:ae}}E.getConfigFile=getConfigFile;function findConfigFile(S,E,k){if(w.isAbsolute(k)){return S.sys.fileExists(k)?k:undefined}if(k.match(/^\.\.?(\/|\\)/)!==null){const N=w.resolve(E,k);return S.sys.fileExists(N)?N:undefined}else{while(true){const N=w.join(E,k);if(S.sys.fileExists(N)){return N}const j=w.dirname(E);if(j===E){break}E=j}return undefined}}function getConfigParseResult(S,E,k,w,N){const q=S.parseJsonConfigFileContent(E.config,Object.assign(Object.assign({},S.sys),{useCaseSensitiveFileNames:j.useCaseSensitiveFileNames(S,N)}),k,getCompilerOptionsToExtend(S,N,k,w||"tsconfig.json"));if(!N.projectReferences){q.projectReferences=undefined}q.options=Object.assign({},q.options,{configFilePath:w});return q}E.getConfigParseResult=getConfigParseResult;const q=new Map;function getParsedCommandLine(S,E,k){const ee=S.getParsedCommandLineOfConfigFile(k,getCompilerOptionsToExtend(S,E,w.dirname(k),k),Object.assign(Object.assign({},S.sys),{useCaseSensitiveFileNames:j.useCaseSensitiveFileNames(S,E),onUnRecoverableConfigFileDiagnostic:()=>{}}),q);if(ee){ee.options=N.getCompilerOptions(ee,S)}return ee}E.getParsedCommandLine=getParsedCommandLine;function getCompilerOptionsToExtend(S,E,k,w){return S.convertCompilerOptionsFromJson(E.compilerOptions,k,w).options}},69635:(S,E,k)=>{"use strict";Object.defineProperty(E,"__esModule",{value:true});E.nodeModules=E.jsonRegex=E.jsJsxMap=E.jsJsx=E.tsTsxJsJsxRegex=E.dtsTsTsxJsJsxRegex=E.dtsTsTsxRegex=E.dtsDtsxOrDtsDtsxMapRegex=E.tsTsxRegex=E.tsxRegex=E.extensionRegex=E.LineFeedCode=E.CarriageReturnLineFeedCode=E.LineFeed=E.CarriageReturnLineFeed=E.EOL=void 0;const w=k(12087);E.EOL=w.EOL;E.CarriageReturnLineFeed="\r\n";E.LineFeed="\n";E.CarriageReturnLineFeedCode=0;E.LineFeedCode=1;E.extensionRegex=/\.[^.]+$/;E.tsxRegex=/\.tsx$/i;E.tsTsxRegex=/\.ts(x?)$/i;E.dtsDtsxOrDtsDtsxMapRegex=/\.d\.ts(x?)(\.map)?$/i;E.dtsTsTsxRegex=/(\.d)?\.ts(x?)$/i;E.dtsTsTsxJsJsxRegex=/((\.d)?\.ts(x?)|js(x?))$/i;E.tsTsxJsJsxRegex=/\.tsx?$|\.jsx?$/i;E.jsJsx=/\.js(x?)$/i;E.jsJsxMap=/\.js(x?)\.map$/i;E.jsonRegex=/\.json$/i;E.nodeModules=/node_modules/i},32956:(S,E,k)=>{"use strict";const w=k(76417);const N=k(88244);const j=k(85622);const q=k(69635);const ee=k(90557);const te=k(86507);const ne={};function loader(S){this.cacheable&&this.cacheable();const E=this.async();const k=getLoaderOptions(this);const w=ee.getTypeScriptInstance(k,this);if(w.error!==undefined){E(new Error(w.error.message));return}const N=w.instance;ee.buildSolutionReferences(N,this);successLoader(this,S,E,N)}function successLoader(S,E,k,w){ee.initializeInstance(S,w);ee.reportTranspileErrors(w,S);const N=j.normalize(S.resourcePath);const q=w.loaderOptions.appendTsSuffixTo.length>0||w.loaderOptions.appendTsxSuffixTo.length>0?te.appendSuffixesIfMatch({".ts":w.loaderOptions.appendTsSuffixTo,".tsx":w.loaderOptions.appendTsxSuffixTo},N):N;const ne=updateFileInCache(w.loaderOptions,q,E,w);const{outputText:ae,sourceMapText:_e}=w.loaderOptions.transpileOnly?getTranspilationEmit(q,E,w,S):getEmit(N,q,w,S);makeSourceMapAndFinish(_e,ae,q,E,S,ne,k,w)}function makeSourceMapAndFinish(S,E,k,w,N,j,q,ee){if(E===null||E===undefined){setModuleMeta(N,ee,j);const S=te.isReferencedFile(ee,k)?" The most common cause for this is having errors when building referenced projects.":!ee.loaderOptions.allowTsInNodeModules&&k.indexOf("node_modules")!==-1?" By default, ts-loader will not compile .ts files in node_modules.\n"+"You should not need to recompile .ts files there, but if you really want to, use the allowTsInNodeModules option.\n"+"See: https://github.com/Microsoft/TypeScript/issues/12358":"";q(new Error(`TypeScript emitted no output for ${k}.${S}`),E,undefined);return}const{sourceMap:ne,output:ae}=makeSourceMap(S,E,k,w,N);setModuleMeta(N,ee,j);q(null,ae,ne)}function setModuleMeta(S,E,k){if(!E.loaderOptions.happyPackMode&&S._module.buildMeta!==undefined){S._module.buildMeta.tsLoaderFileVersion=k}}function getOptionsHash(S){const E=w.createHash("sha256");Object.keys(S).forEach((k=>{const w=S[k];if(w!==undefined){const S=typeof w==="function"?w.toString():JSON.stringify(w);E.update(k+S)}}));return E.digest("hex").substring(0,16)}function getLoaderOptions(S){const E=N.getOptions(S)||{};const k=E.instance||"default_"+getOptionsHash(E);if(!ne.hasOwnProperty(k)){ne[k]=new WeakMap}const w=ne[k];if(w.has(E)){return w.get(E)}validateLoaderOptions(E);const j=makeLoaderOptions(k,E);w.set(E,j);return j}const ae=["silent","logLevel","logInfoToStdOut","instance","compiler","context","configFile","transpileOnly","ignoreDiagnostics","errorFormatter","colors","compilerOptions","appendTsSuffixTo","appendTsxSuffixTo","onlyCompileBundledFiles","happyPackMode","getCustomTransformers","reportFiles","experimentalWatchApi","allowTsInNodeModules","experimentalFileCaching","projectReferences","resolveModuleName","resolveTypeReferenceDirective","useCaseSensitiveFileNames"];function validateLoaderOptions(S){const E=Object.keys(S);for(let S=0;S{S=j.resolve(S);w.addDependency(S);ae.push(S)};if(!te.isReferencedFile(k,E)){for(const{fileName:S}of k.files.values()){if(S.match(q.dtsDtsxOrDtsDtsxMapRegex)&&!((N=k.solutionBuilderHost)===null||N===void 0?void 0:N.getOutputFileKeyFromReferencedProject(S))){addDependency(S)}}}const _e=k.dependencyGraph.get(k.filePathKeyMapper(E));if(_e){for(const{resolvedFileName:S,originalFileName:E}of _e){addDependency(ee.getInputFileNameFromOutput(k,j.resolve(S))||E)}}addDependenciesFromSolutionBuilder(k,E,addDependency);w._module.buildMeta.tsLoaderDefinitionFileVersions=ae.map((S=>j.relative(w.rootContext,S)+"@"+(te.isReferencedFile(k,S)?k.solutionBuilderHost.getInputFileStamp(S).toString():(k.files.get(k.filePathKeyMapper(S))||k.otherFiles.get(k.filePathKeyMapper(S))||{version:"?"}).version)));return getOutputAndSourceMapFromOutputFiles(ne)}function getOutputAndSourceMapFromOutputFiles(S){const E=S.filter((S=>S.name.match(q.jsJsx))).pop();const k=E===undefined?undefined:E.text;const w=S.filter((S=>S.name.match(q.jsJsxMap))).pop();const N=w===undefined?undefined:w.text;return{outputText:k,sourceMapText:N}}function addDependenciesFromSolutionBuilder(S,E,k){if(!S.solutionBuilderHost){return}const w=S.filePathKeyMapper(E);if(!te.isReferencedFile(S,E)){if(S.configParseResult.fileNames.some((E=>S.filePathKeyMapper(E)===w))){addDependenciesFromProjectReferences(S,S.configFilePath,S.configParseResult.projectReferences,k)}return}for(const[E,N]of S.solutionBuilderHost.configFileInfo.entries()){if(!N.config||!N.config.projectReferences||!N.config.projectReferences.length){continue}if(N.outputFileNames){if(!N.outputFileNames.has(w)){continue}}else if(!N.config.fileNames.some((E=>S.filePathKeyMapper(E)===w))){continue}if(N.dtsFiles){N.dtsFiles.forEach(k)}addDependenciesFromProjectReferences(S,E,N.config.projectReferences,k);break}}function addDependenciesFromProjectReferences(S,E,k,w){if(!k||!k.length){return}const N=new Map;N.set(S.filePathKeyMapper(E),true);const j=k.slice();while(true){const E=j.pop();if(!E){break}const k=S.filePathKeyMapper(S.compiler.resolveProjectReferencePath(E));if(N.has(k)){continue}const q=S.solutionBuilderHost.configFileInfo.get(k);if(!q){continue}N.set(k,true);if(q.config){q.config.fileNames.forEach(w);if(q.config.projectReferences){j.push(...q.config.projectReferences)}}}}function getTranspilationEmit(S,E,k,w){if(te.isReferencedFile(k,S)){const E=k.solutionBuilderHost.getOutputFilesFromReferencedProjectInput(S);addDependenciesFromSolutionBuilder(k,S,(S=>w.addDependency(j.resolve(S))));return getOutputAndSourceMapFromOutputFiles(E)}const{outputText:N,sourceMapText:q,diagnostics:ee}=k.compiler.transpileModule(E,{compilerOptions:Object.assign(Object.assign({},k.compilerOptions),{rootDir:undefined}),transformers:k.transformers,reportDiagnostics:true,fileName:S});const ne=w._module;addDependenciesFromSolutionBuilder(k,S,(S=>w.addDependency(j.resolve(S))));if(!k.loaderOptions.happyPackMode){const S=te.formatErrors(ee,k.loaderOptions,k.colors,k.compiler,{module:ne},w.context);if(ne.addError){S.forEach((S=>ne.addError(S)))}else{ne.errors.push(...S)}}return{outputText:N,sourceMapText:q}}function makeSourceMap(S,E,k,w,j){if(S===undefined){return{output:E,sourceMap:undefined}}return{output:E.replace(/^\/\/# sourceMappingURL=[^\r\n]*/gm,""),sourceMap:Object.assign(JSON.parse(S),{sources:[N.getRemainingRequest(j)],file:k,sourcesContent:[w]})}}S.exports=loader},50043:(S,E)=>{"use strict";Object.defineProperty(E,"__esModule",{value:true});E.setTSInstanceInCache=E.getTSInstanceFromCache=void 0;const k={};const w=new WeakMap;function getTSInstanceFromCache(S,E){const N=S!==null&&S!==void 0?S:k;let j=w.get(N);if(!j){j=new Map;w.set(N,j)}return j.get(E)}E.getTSInstanceFromCache=getTSInstanceFromCache;function setTSInstanceInCache(S,E,N){var j;const q=S!==null&&S!==void 0?S:k;const ee=(j=w.get(q))!==null&&j!==void 0?j:new Map;ee.set(E,N);w.set(q,ee)}E.setTSInstanceInCache=setTSInstanceInCache},90557:(S,E,k)=>{"use strict";Object.defineProperty(E,"__esModule",{value:true});E.getEmitOutput=E.getEmitFromWatchHost=E.getInputFileNameFromOutput=E.getOutputFileNames=E.forEachResolvedProjectReference=E.buildSolutionReferences=E.reportTranspileErrors=E.initializeInstance=E.getTypeScriptInstance=void 0;const w=k(57347);const N=k(35747);const j=k(85622);const q=k(86443);const ee=k(6619);const te=k(17464);const ne=k(10852);const ae=k(69635);const _e=k(50043);const ve=k(63686);const Ee=k(9674);const Te=k(86507);const Ce=k(80573);const we=new Map;function getTypeScriptInstance(S,E){const k=_e.getTSInstanceFromCache(E._compiler,S.instance);if(k){if(!k.initialSetupPending){Te.ensureProgram(k)}return{instance:k}}const N=S.colors&&w.supportsColor?w.supportsColor.level:0;const j=new w.Instance({level:N});const q=ve.makeLogger(S,j);const ee=te.getCompiler(S,q);if(ee.errorMessage!==undefined){return{error:Te.makeError(S,j.red(ee.errorMessage),undefined)}}return successfulTypeScriptInstance(S,E,q,j,ee.compiler,ee.compilerCompatible,ee.compilerDetailsLogMessage)}E.getTypeScriptInstance=getTypeScriptInstance;function createFilePathKeyMapper(S,E){const k=new Map;const w=/[^\u0130\u0131\u00DFa-z0-9\\/:\-_\. ]+/g;return Te.useCaseSensitiveFileNames(S,E)?pathResolve:toFileNameLowerCase;function pathResolve(S){let E=k.get(S);if(!E){E=j.resolve(S);k.set(S,E)}return E}function toFileNameLowerCase(S){let E=k.get(S);if(!E){const N=pathResolve(S);E=w.test(N)?N.replace(w,(S=>S.toLowerCase())):N;k.set(S,E)}return E}}function successfulTypeScriptInstance(S,E,k,w,q,ee,ve){const Ee=ne.getConfigFile(q,w,E,S,ee,k,ve);if(Ee.configFileError!==undefined){const{message:E,file:k}=Ee.configFileError;return{error:Te.makeError(S,w.red("error while reading tsconfig.json:"+ae.EOL+E),k)}}const{configFilePath:Ce,configFile:we}=Ee;const Ne=createFilePathKeyMapper(q,S);if(Ce&&S.projectReferences){const k=Ne(Ce);const w=getExistingSolutionBuilderHost(k);if(w){_e.setTSInstanceInCache(E._compiler,S.instance,w);return{instance:w}}}const Ie=E._module;const Fe=S.context||j.dirname(Ce||"");const Oe=ne.getConfigParseResult(q,we,Fe,Ce,S);if(Oe.errors.length>0&&!S.happyPackMode){const k=Te.formatErrors(Oe.errors,S,w,q,{file:Ce},E.context);if(Ie.addError){k.forEach((S=>Ie.addError(S)))}else{Ie.errors.push(...k)}return{error:Te.makeError(S,w.red("error while parsing tsconfig.json"),Ce)}}const Me=te.getCompilerOptions(Oe,q);const Re=new Set;const Le=new Map;const Be=new Map;const je=S.appendTsSuffixTo.length>0||S.appendTsxSuffixTo.length>0?E=>Te.appendSuffixesIfMatch({".ts":S.appendTsSuffixTo,".tsx":S.appendTsxSuffixTo},E):S=>S;if(S.transpileOnly){const N={compiler:q,compilerOptions:Me,appendTsTsxSuffixesIfRequired:je,loaderOptions:S,rootFileNames:Re,files:Le,otherFiles:Be,version:0,program:undefined,dependencyGraph:new Map,transformers:{},colors:w,initialSetupPending:true,reportTranspileErrors:true,configFilePath:Ce,configParseResult:Oe,log:k,filePathKeyMapper:Ne};_e.setTSInstanceInCache(E._compiler,S.instance,N);return{instance:N}}let ze;try{const E=S.onlyCompileBundledFiles?Oe.fileNames.filter((S=>ae.dtsDtsxOrDtsDtsxMapRegex.test(S))):Oe.fileNames;E.forEach((S=>{ze=j.normalize(S);Le.set(Ne(ze),{fileName:ze,text:N.readFileSync(ze,"utf-8"),version:0});Re.add(ze)}))}catch(E){return{error:Te.makeError(S,w.red(`A file specified in tsconfig.json could not be found: ${ze}`),ze)}}const Ue={compiler:q,compilerOptions:Me,appendTsTsxSuffixesIfRequired:je,loaderOptions:S,rootFileNames:Re,files:Le,otherFiles:Be,languageService:null,version:0,transformers:{},dependencyGraph:new Map,colors:w,initialSetupPending:true,configFilePath:Ce,configParseResult:Oe,log:k,filePathKeyMapper:Ne};_e.setTSInstanceInCache(E._compiler,S.instance,Ue);return{instance:Ue}}function getExistingSolutionBuilderHost(S){const E=we.get(S);if(E)return E;for(const E of we.values()){if(E.solutionBuilderHost.configFileInfo.has(S)){return E}}return undefined}const Ne=!!q.version.match(/^4.*/)?(S,E)=>{S._compiler.hooks.afterCompile.tapAsync("ts-loader",ee.makeAfterCompile(E,E.configFilePath))}:(S,E)=>{const k=ee.makeAfterCompile(E,E.configFilePath);const makeAssetsCallback=S=>{S.hooks.afterProcessAssets.tap("ts-loader",(()=>k(S,(()=>null))))};makeAssetsCallback(S._compilation);S._compiler.hooks.compilation.tap("ts-loader",makeAssetsCallback)};function initializeInstance(S,E){if(!E.initialSetupPending){return}E.initialSetupPending=false;let{getCustomTransformers:k}=E.loaderOptions;let w=Function.prototype;if(typeof k==="function"){w=k}else if(typeof k==="string"){try{k=require(k)}catch(S){throw new Error(`Failed to load customTransformers from "${E.loaderOptions.getCustomTransformers}": ${S.message}`)}if(typeof k!=="function"){throw new Error(`Custom transformers in "${E.loaderOptions.getCustomTransformers}" should export a function, got ${typeof w}`)}w=k}if(E.loaderOptions.transpileOnly){const k=E.program=E.configParseResult.projectReferences!==undefined?E.compiler.createProgram({rootNames:E.configParseResult.fileNames,options:E.configParseResult.options,projectReferences:E.configParseResult.projectReferences}):E.compiler.createProgram([],E.compilerOptions);E.transformers=w(k);if(E.solutionBuilderHost){Ne(S,E);S._compiler.hooks.watchRun.tapAsync("ts-loader",Ce.makeWatchRun(E,S))}}else{if(!S._compiler.hooks){throw new Error("You may be using an old version of webpack; please check you're using at least version 4")}if(E.loaderOptions.experimentalWatchApi){E.log.logInfo("Using watch api");E.watchHost=Ee.makeWatchHost(getScriptRegexp(E),S,E,E.configParseResult.projectReferences);E.watchOfFilesAndCompilerOptions=E.compiler.createWatchProgram(E.watchHost);E.builderProgram=E.watchOfFilesAndCompilerOptions.getProgram();E.program=E.builderProgram.getProgram();E.transformers=w(E.program)}else{E.servicesHost=Ee.makeServicesHost(getScriptRegexp(E),S,E,E.configParseResult.projectReferences);E.languageService=E.compiler.createLanguageService(E.servicesHost,E.compiler.createDocumentRegistry());E.transformers=w(E.languageService.getProgram())}Ne(S,E);S._compiler.hooks.watchRun.tapAsync("ts-loader",Ce.makeWatchRun(E,S))}}E.initializeInstance=initializeInstance;function getScriptRegexp(S){if(S.configParseResult.options.resolveJsonModule){return S.configParseResult.options.allowJs===true?/\.tsx?$|\.json$|\.jsx?$/i:/\.tsx?$|\.json$/i}return S.configParseResult.options.allowJs===true?/\.tsx?$|\.jsx?$/i:/\.tsx?$/i}function reportTranspileErrors(S,E){if(!S.reportTranspileErrors){return}const k=E._module;S.reportTranspileErrors=false;if(!S.loaderOptions.happyPackMode){const w=Ee.getSolutionErrors(S,E.context);const N=S.program.getOptionsDiagnostics();const j=Te.formatErrors(N,S.loaderOptions,S.colors,S.compiler,{file:S.configFilePath||"tsconfig.json"},E.context);if(k.addError){[...w,...j].forEach((S=>k.addError(S)))}else{k.errors.push(...w,...j)}}}E.reportTranspileErrors=reportTranspileErrors;function buildSolutionReferences(S,E){if(!Te.supportsSolutionBuild(S)){return}if(!S.solutionBuilderHost){S.log.logInfo("Using SolutionBuilder api");const k=getScriptRegexp(S);S.solutionBuilderHost=Ee.makeSolutionBuilderHost(k,E,S);const w=S.compiler.createSolutionBuilderWithWatch(S.solutionBuilderHost,S.configParseResult.projectReferences.map((S=>S.path)),{verbose:true});w.build();S.solutionBuilderHost.ensureAllReferenceTimestamps();we.set(S.filePathKeyMapper(S.configFilePath),S)}else{S.solutionBuilderHost.buildReferences()}}E.buildSolutionReferences=buildSolutionReferences;function forEachResolvedProjectReference(S,E){let k;return worker(S);function worker(S){if(S){for(const w of S){if(!w){continue}if(k&&k.some((S=>S===w))){continue}(k||(k=[])).push(w);const S=E(w)||worker(w.references);if(S){return S}}}return undefined}}E.forEachResolvedProjectReference=forEachResolvedProjectReference;function fileExtensionIs(S,E){return S.endsWith(E)}function rootDirOfOptions(S,E){return E.options.rootDir||S.compiler.getDirectoryPath(E.options.configFilePath)}function getOutputPathWithoutChangingExt(S,E,k,w,N){return N?S.compiler.resolvePath(N,S.compiler.getRelativePathFromDirectory(rootDirOfOptions(S,k),E,w)):E}function getOutputJSFileName(S,E,k,w){if(k.options.emitDeclarationOnly){return undefined}const N=fileExtensionIs(E,".json");const j=S.compiler.changeExtension(getOutputPathWithoutChangingExt(S,E,k,w,k.options.outDir),N?".json":fileExtensionIs(E,".tsx")&&k.options.jsx===S.compiler.JsxEmit.Preserve?".jsx":".js");return!N||S.compiler.comparePaths(E,j,k.options.configFilePath,w)!==S.compiler.Comparison.EqualTo?j:undefined}function getOutputFileNames(S,E,k){const w=!Te.useCaseSensitiveFileNames(S.compiler,S.loaderOptions);if(S.compiler.getOutputFileNames){return S.compiler.getOutputFileNames(E,k,w)}const N=[];const addOutput=S=>S&&N.push(S);const j=getOutputJSFileName(S,k,E,w);addOutput(j);if(!fileExtensionIs(k,".json")){if(j&&E.options.sourceMap){addOutput(`${j}.map`)}if((E.options.declaration||E.options.composite)&&S.compiler.hasTSFileExtension(k)){const N=S.compiler.getOutputDeclarationFileName(k,E,w);addOutput(N);if(E.options.declarationMap){addOutput(`${N}.map`)}}}return N}E.getOutputFileNames=getOutputFileNames;function getInputFileNameFromOutput(S,E){if(E.match(ae.tsTsxRegex)&&!fileExtensionIs(E,".d.ts")){return undefined}if(S.solutionBuilderHost){return S.solutionBuilderHost.getInputFileNameFromOutput(E)}const k=Te.ensureProgram(S);return k&&k.getResolvedProjectReferences&&forEachResolvedProjectReference(k.getResolvedProjectReferences(),(({commandLine:k})=>{const{options:w,fileNames:N}=k;if(!w.outFile&&!w.out){const w=N.find((w=>getOutputFileNames(S,k,w).find((S=>j.resolve(S)===E))));return w&&j.resolve(w)}return undefined}))}E.getInputFileNameFromOutput=getInputFileNameFromOutput;function getEmitFromWatchHost(S,E){const k=Te.ensureProgram(S);const w=S.builderProgram;if(w&&k){if(E){const k=S.watchHost.outputFiles.get(S.filePathKeyMapper(E));if(k){return k}}const N=[];const writeFile=(E,k,w)=>{if(E.endsWith(".tsbuildinfo")){S.watchHost.tsbuildinfo={name:E,writeByteOrderMark:w,text:k}}else{N.push({name:E,writeByteOrderMark:w,text:k})}};const j=E?k.getSourceFile(E):undefined;while(true){const E=w.emitNextAffectedFile(writeFile,undefined,false,S.transformers);if(!E){break}if(E.affected===j){S.watchHost.outputFiles.set(S.filePathKeyMapper(E.affected.fileName),N.slice());return N}}}return undefined}E.getEmitFromWatchHost=getEmitFromWatchHost;function getEmitOutput(S,E){if(fileExtensionIs(E,S.compiler.Extension.Dts)){return[]}if(Te.isReferencedFile(S,E)){return S.solutionBuilderHost.getOutputFilesFromReferencedProjectInput(E)}const k=Te.ensureProgram(S);if(k!==undefined){const w=k.getSourceFile(E);const N=[];const writeFile=(S,E,k)=>N.push({name:S,writeByteOrderMark:k,text:E});const j=getEmitFromWatchHost(S,E);if(j){return j}k.emit(w,writeFile,undefined,false,S.transformers);return N}else{return S.languageService.getProgram().getSourceFile(E)===undefined?[]:S.languageService.getEmitOutput(E).outputFiles}}E.getEmitOutput=getEmitOutput},63686:(S,E,k)=>{"use strict";Object.defineProperty(E,"__esModule",{value:true});E.makeLogger=E.LogLevel=void 0;const w=k(57082);var N;(function(S){S[S["INFO"]=1]="INFO";S[S["WARN"]=2]="WARN";S[S["ERROR"]=3]="ERROR"})(N=E.LogLevel||(E.LogLevel={}));const j=new w.Console(process.stderr);const q=new w.Console(process.stdout);const doNothingLogger=S=>{};const makeLoggerFunc=S=>S.silent?(S,E)=>{}:(S,E)=>console.log.call(S,E);const makeExternalLogger=(S,E)=>k=>E(S.logInfoToStdOut?q:j,k);const makeLogInfo=(S,E,k)=>N[S.logLevel]<=N.INFO?w=>E(S.logInfoToStdOut?q:j,k(w)):doNothingLogger;const makeLogError=(S,E,k)=>N[S.logLevel]<=N.ERROR?S=>E(j,k(S)):doNothingLogger;const makeLogWarning=(S,E,k)=>N[S.logLevel]<=N.WARN?S=>E(j,k(S)):doNothingLogger;function makeLogger(S,E){const k=makeLoggerFunc(S);return{log:makeExternalLogger(S,k),logInfo:makeLogInfo(S,k,E.green),logWarning:makeLogWarning(S,k,E.yellow),logError:makeLogError(S,k,E.red)}}E.makeLogger=makeLogger},98535:(S,E,k)=>{"use strict";Object.defineProperty(E,"__esModule",{value:true});E.makeResolver=void 0;const w=k(81324);function makeResolver(S){return w.create.sync(S.resolve)}E.makeResolver=makeResolver},9674:(S,E,k)=>{"use strict";Object.defineProperty(E,"__esModule",{value:true});E.getSolutionErrors=E.makeSolutionBuilderHost=E.makeWatchHost=E.updateFileWithText=E.makeServicesHost=void 0;const w=k(85622);const N=k(10852);const j=k(69635);const q=k(90557);const ee=k(98535);const te=k(86507);function makeResolversAndModuleResolutionHost(S,E,k,w,N){const{compiler:q,compilerOptions:ne,appendTsTsxSuffixesIfRequired:ae,loaderOptions:{resolveModuleName:_e,resolveTypeReferenceDirective:ve}}=k;const Ee=ne.newLine===j.CarriageReturnLineFeedCode?j.CarriageReturnLineFeed:ne.newLine===j.LineFeedCode?j.LineFeed:j.EOL;const getCurrentDirectory=()=>E.context;const Te=ee.makeResolver(E._compiler.options);const Ce={trace:S=>k.log.log(S),fileExists:w,readFile:readFile,realpath:q.sys.realpath&&realpath,directoryExists:directoryExists,getCurrentDirectory:getCurrentDirectory,getDirectories:getDirectories,readDirectory:readDirectory,useCaseSensitiveFileNames:()=>te.useCaseSensitiveFileNames(q,k.loaderOptions),getNewLine:()=>Ee,getDefaultLibFileName:S=>q.getDefaultLibFilePath(S)};if(N){addCache(Ce)}return makeResolvers(q,ne,Ce,ve,_e,Te,ae,S,k);function readFile(S,E){return k.compiler.sys.readFile(S,E)||te.fsReadFile(S,E)}function directoryExists(S){return q.sys.directoryExists(S)}function realpath(S){return q.sys.realpath(S)}function getDirectories(S){return q.sys.getDirectories(S)}function readDirectory(S,E,k,w,N){return q.sys.readDirectory(S,E,k,w,N)}}function makeServicesHost(S,E,k,N){const{compiler:j,compilerOptions:q,files:ee,filePathKeyMapper:ne}=k;const{moduleResolutionHost:ae,resolveModuleNames:_e,resolveTypeReferenceDirectives:ve}=makeResolversAndModuleResolutionHost(S,E,k,(S=>j.sys.fileExists(S)||te.fsReadFile(S)!==undefined),k.loaderOptions.experimentalFileCaching);const Ee=Object.assign(Object.assign({getProjectVersion:()=>`${k.version}`,getProjectReferences:()=>N,getScriptFileNames:()=>[...ee.values()].map((({fileName:S})=>S)).filter((E=>E.match(S))),getScriptVersion:S=>{var E;S=w.normalize(S);const N=ne(S);const j=ee.get(N);if(j){return j.version.toString()}const q=(E=k.solutionBuilderHost)===null||E===void 0?void 0:E.getOutputFileAndKeyFromReferencedProject(S);if(q!==undefined){k.solutionBuilderHost.outputAffectingInstanceVersion.set(q.key,true)}return q&&q.outputFile?q.outputFile:""},getScriptSnapshot:S=>{S=w.normalize(S);const E=ne(S);let N=ee.get(E);if(N===undefined){if(k.solutionBuilderHost){const E=k.solutionBuilderHost.getOutputFileTextAndKeyFromReferencedProject(S);if(E!==undefined){k.solutionBuilderHost.outputAffectingInstanceVersion.set(E.key,true);return E&&E.text!==undefined?j.ScriptSnapshot.fromString(E.text):undefined}}const w=ae.readFile(S);if(w===undefined){return undefined}N={fileName:S,version:0,text:w};ee.set(E,N)}return j.ScriptSnapshot.fromString(N.text)}},ae),{getCompilationSettings:()=>q,log:ae.trace,resolveTypeReferenceDirectives:ve,resolveModuleNames:_e,getCustomTransformers:()=>k.transformers});return Ee}E.makeServicesHost=makeServicesHost;function makeResolvers(S,E,k,w,N,j,q,ee,ne){const ae=makeResolveModuleName(S,E,k,N,ne);const resolveModuleNames=(S,E,k,w)=>{const N=S.map((S=>resolveModule(j,ae,q,ee,S,E,w)));te.populateDependencyGraph(N,ne,E);return N};const _e=makeResolveTypeReferenceDirective(S,E,k,w,ne);const resolveTypeReferenceDirectives=(S,E,k)=>S.map((S=>_e(S,E,k).resolvedTypeReferenceDirective));return{resolveTypeReferenceDirectives:resolveTypeReferenceDirectives,resolveModuleNames:resolveModuleNames,moduleResolutionHost:k}}function createWatchFactory(S,E){const k=new Map;const N=new Map;const j=new Map;return{watchedFiles:k,watchedDirectories:N,watchedDirectoriesRecursive:j,invokeFileWatcher:invokeFileWatcher,watchFile:watchFile,watchDirectory:watchDirectory};function invokeWatcherCallbacks(E,k,w,N){var j;const q=(j=E.get(S(k)))===null||j===void 0?void 0:j.callbacks;if(q!==undefined&&q.length){const S=q.slice();for(const E of S){E(w,N)}return true}return false}function invokeFileWatcher(S,j){S=w.normalize(S);let q=invokeWatcherCallbacks(k,S,S,j);if(j!==E.FileWatcherEventKind.Changed){const E=w.dirname(S);q=invokeWatcherCallbacks(N,E,S)||q;q=invokeRecursiveDirectoryWatcher(E,S)||q}return q}``;function invokeRecursiveDirectoryWatcher(S,E){S=w.normalize(S);let k=invokeWatcherCallbacks(j,S,E);const N=w.dirname(S);if(S!==N){k=invokeRecursiveDirectoryWatcher(N,E)||k}return k}function createWatcher(E,k,N){const j=S(E);const q=k.get(j);if(q===undefined){k.set(j,{fileName:w.normalize(E),callbacks:[N]})}else{q.callbacks.push(N)}return{close:()=>{const S=k.get(j);if(S!==undefined){te.unorderedRemoveItem(S.callbacks,N);if(!S.callbacks.length){k.delete(j)}}}}}function watchFile(S,E,w){return createWatcher(S,k,E)}function watchDirectory(S,E,k){return createWatcher(S,k===true?j:N,E)}}function updateFileWithText(S,E,k,N){const j=w.normalize(k);const q=S.files.get(E)||S.otherFiles.get(E);if(q!==undefined){const k=N(j);if(k!==q.text){q.text=k;q.version++;q.modifiedTime=new Date;S.version++;if(!S.modifiedFiles){S.modifiedFiles=new Map}S.modifiedFiles.set(E,true);if(S.watchHost!==undefined){S.watchHost.invokeFileWatcher(j,S.compiler.FileWatcherEventKind.Changed)}}}}E.updateFileWithText=updateFileWithText;function makeWatchHost(S,E,k,N){const{compiler:j,compilerOptions:q,files:ee,otherFiles:te,filePathKeyMapper:ne}=k;const{watchFile:ae,watchDirectory:_e,invokeFileWatcher:ve}=createWatchFactory(ne,j);const{moduleResolutionHost:Ee,resolveModuleNames:Te,resolveTypeReferenceDirectives:Ce}=makeResolversAndModuleResolutionHost(S,E,k,(S=>ee.has(ne(S))||j.sys.fileExists(S)),k.loaderOptions.experimentalFileCaching);const we=Object.assign(Object.assign({rootFiles:getRootFileNames(),options:q},Ee),{readFile:readFileWithCachingText,watchFile:(S,E,w,N)=>{var j;const q=(j=k.solutionBuilderHost)===null||j===void 0?void 0:j.getOutputFileKeyFromReferencedProject(S);if(!q||q===ne(S)){return ae(S,E,w,N)}const ee=k.solutionBuilderHost.realpath(S);return ae(ee,((k,w)=>E(S,w)),w,N)},watchDirectory:_e,resolveTypeReferenceDirectives:Ce,resolveModuleNames:Te,invokeFileWatcher:ve,updateRootFileNames:()=>{k.changedFilesList=false;if(k.watchOfFilesAndCompilerOptions!==undefined){k.watchOfFilesAndCompilerOptions.updateRootFileNames(getRootFileNames())}},createProgram:N===undefined?j.createEmitAndSemanticDiagnosticsBuilderProgram:createBuilderProgramWithReferences,outputFiles:new Map});return we;function getRootFileNames(){return[...ee.values()].map((({fileName:S})=>S)).filter((E=>E.match(S)))}function readFileWithCachingText(S,E){var N;S=w.normalize(S);const j=ne(S);const q=ee.get(j)||te.get(j);if(q!==undefined){return q.text}const ae=Ee.readFile(S,E);if(ae===undefined){return undefined}if(!((N=k.solutionBuilderHost)===null||N===void 0?void 0:N.getOutputFileKeyFromReferencedProject(S))){te.set(j,{fileName:S,version:0,text:ae})}return ae}function createBuilderProgramWithReferences(S,E,k,w,q){const ee=j.createProgram({rootNames:S,options:E,host:k,oldProgram:w&&w.getProgram(),configFileParsingDiagnostics:q,projectReferences:N});const te=k;return j.createEmitAndSemanticDiagnosticsBuilderProgram(ee,te,w,q)}}E.makeWatchHost=makeWatchHost;const ne=new Date(0);function identity(S){return S}function toLowerCase(S){return S.toLowerCase()}const ae=/[^\u0130\u0131\u00DFa-z0-9\\/:\-_\. ]+/g;function toFileNameLowerCase(S){return ae.test(S)?S.replace(ae,toLowerCase):S}function createGetCanonicalFileName(S){return te.useCaseSensitiveFileNames(S.compiler,S.loaderOptions)?identity:toFileNameLowerCase}function createModuleResolutionCache(S,E){const k=S.compiler.createModuleResolutionCache(E.getCurrentDirectory(),createGetCanonicalFileName(S),S.compilerOptions);if(!k.clear){k.clear=()=>{k.directoryToModuleNameMap.clear();k.moduleNameToDirectoryMap.clear()}}if(!k.update){k.update=S=>{if(!S.configFile)return;const E={sourceFile:S.configFile,commandLine:{options:S}};k.directoryToModuleNameMap.setOwnMap(k.directoryToModuleNameMap.getOrCreateMapOfCacheRedirects(E));k.moduleNameToDirectoryMap.setOwnMap(k.moduleNameToDirectoryMap.getOrCreateMapOfCacheRedirects(E));k.directoryToModuleNameMap.setOwnOptions(S);k.moduleNameToDirectoryMap.setOwnOptions(S)}}return k}function makeSolutionBuilderHost(S,E,k){const{compiler:ee,loaderOptions:{transpileOnly:te},filePathKeyMapper:ae}=k;const _e={getCurrentDirectory:ee.sys.getCurrentDirectory,getCanonicalFileName:createGetCanonicalFileName(k),getNewLine:()=>ee.sys.newLine};const ve={global:[],perFile:new Map,transpileErrors:[]};const reportDiagnostic=S=>{if(te){const E=S.file?ae(S.file.fileName):undefined;const k=ve.transpileErrors[ve.transpileErrors.length-1];if(ve.transpileErrors.length&&k[0]===E){k[1].push(S)}else{ve.transpileErrors.push([E,[S]])}}else if(S.file){const E=ae(S.file.fileName);const k=ve.perFile.get(E);if(k){k.push(S)}else{ve.perFile.set(E,[S])}}else{ve.global.push(S)}k.log.logInfo(ee.formatDiagnostic(S,_e))};const reportSolutionBuilderStatus=S=>k.log.logInfo(ee.formatDiagnostic(S,_e));const reportWatchStatus=(S,E,w)=>k.log.logInfo(`${ee.flattenDiagnosticMessageText(S.messageText,ee.sys.newLine)}${E+E}`);const Ee=new Map;const Te=new Map;const Ce=[];const we=new Map;let Ne;const{resolveModuleNames:Ie,resolveTypeReferenceDirectives:Fe,moduleResolutionHost:Oe}=makeResolversAndModuleResolutionHost(S,E,k,(S=>{const E=ae(S);return k.files.has(E)||k.otherFiles.has(E)||ee.sys.fileExists(S)}),true);const Me=new Map;const Re=[];const Le=ee.createSolutionBuilderWithWatchHost(ee.sys,ee.createEmitAndSemanticDiagnosticsBuilderProgram,reportDiagnostic,reportSolutionBuilderStatus,reportWatchStatus);const Be=Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},Le),Oe),{createProgram:(S,E,w,N,j,q)=>{var ee,te,ne,ae;(ee=k.moduleResolutionCache)===null||ee===void 0?void 0:ee.update(E||{});(te=k.typeReferenceResolutionCache)===null||te===void 0?void 0:te.update(E||{});const _e=Le.createProgram(S,E,w,N,j,q);(ne=k.typeReferenceResolutionCache)===null||ne===void 0?void 0:ne.update(k.compilerOptions);(ae=k.moduleResolutionCache)===null||ae===void 0?void 0:ae.update(k.compilerOptions);return _e},resolveModuleNames:Ie,resolveTypeReferenceDirectives:Fe,diagnostics:ve}),createWatchFactory(ae,ee)),{writeFile:(S,E,w)=>{var N;const j=ae(S);updateFileWithText(k,j,S,(()=>E));const q=ensureOutputFile(S);const te=hashOutputText(E);Ee.set(j,te);Ce.push({name:S,text:E,writeByteOrderMark:!!w});ee.sys.writeFile(S,E,w);(N=Oe.fileExistsCache)===null||N===void 0?void 0:N.delete(S);if(we.has(j)&&(!q||q!==te)){k.version++}if(k.watchHost&&!k.files.has(j)&&!k.otherFiles.has(j)){if(!q){k.hasUnaccountedModifiedFiles=k.watchHost.invokeFileWatcher(S,ee.FileWatcherEventKind.Created)||k.hasUnaccountedModifiedFiles}else if(q!==te){k.hasUnaccountedModifiedFiles=k.watchHost.invokeFileWatcher(S,ee.FileWatcherEventKind.Changed)||k.hasUnaccountedModifiedFiles}}},createDirectory:Le.createDirectory&&(S=>{var E;Le.createDirectory(S);(E=Oe.directoryExistsCache)===null||E===void 0?void 0:E.delete(S)}),afterProgramEmitAndDiagnostics:te?undefined:storeDtsFiles,setTimeout:(S,E,...k)=>{Ne=[S,k];return Ne},clearTimeout:S=>{Ne=undefined},getParsedCommandLine:S=>{const E=N.getParsedCommandLine(ee,k.loaderOptions,S);Me.set(ae(S),{config:E});return E},writtenFiles:Ce,configFileInfo:Me,outputAffectingInstanceVersion:we,getInputFileStamp:getInputFileStamp,updateSolutionBuilderInputFile:updateSolutionBuilderInputFile,getOutputFileKeyFromReferencedProject:getOutputFileKeyFromReferencedProject,getOutputFileAndKeyFromReferencedProject:getOutputFileAndKeyFromReferencedProject,getOutputFileTextAndKeyFromReferencedProject:getOutputFileTextAndKeyFromReferencedProject,getInputFileNameFromOutput:S=>{const E=getInputFileNameFromOutput(S);return typeof E==="string"?E:undefined},getOutputFilesFromReferencedProjectInput:getOutputFilesFromReferencedProjectInput,buildReferences:buildReferences,ensureAllReferenceTimestamps:ensureAllReferenceTimestamps,clearCache:clearCache,close:close});return Be;function close(){Re.slice().forEach((S=>S.close()))}function clearCache(){Oe.clearCache();Ee.clear();Te.clear()}function buildReferences(){if(!Ne){ensureAllReferenceTimestamps();return}ve.global.length=0;ve.perFile.clear();ve.transpileErrors.length=0;while(Ne){const[S,E]=Ne;Ne=undefined;S(...E)}ensureAllReferenceTimestamps()}function ensureAllReferenceTimestamps(){if(Te.size!==Be.watchedFiles.size){for(const{fileName:S}of k.solutionBuilderHost.watchedFiles.values()){k.solutionBuilderHost.getInputFileStamp(S)}}}function storeDtsFiles(S){const E=S.getProgram();for(const S of Me.values()){if(!S.config||E.getRootFileNames()!==S.config.fileNames||E.getCompilerOptions()!==S.config.options||E.getProjectReferences()!==S.config.projectReferences){continue}S.dtsFiles=E.getSourceFiles().map((S=>w.resolve(S.fileName))).filter((S=>S.match(j.dtsDtsxOrDtsDtsxMapRegex)));return}}function getInputFileNameFromOutput(S){const E=ae(S);for(const S of Me.values()){ensureInputOutputInfo(S);if(S.outputFileNames){for(const{inputFileName:k,outputNames:w}of S.outputFileNames.values()){if(w.some((S=>E===ae(S)))){return k}}}if(S.tsbuildInfoFile&&ae(S.tsbuildInfoFile)===E){return true}}const k=Be.realpath(S);return ae(k)!==E?getInputFileNameFromOutput(k):undefined}function ensureInputOutputInfo(S){if(S.outputFileNames||!S.config){return}S.outputFileNames=new Map;S.config.fileNames.forEach((E=>S.outputFileNames.set(ae(E),{inputFileName:w.resolve(E),outputNames:q.getOutputFileNames(k,S.config,E)})));S.tsbuildInfoFile=k.compiler.getTsBuildInfoEmitOutputFilePath?k.compiler.getTsBuildInfoEmitOutputFilePath(S.config.options):k.compiler.getOutputPathForBuildInfo(S.config.options)}function getOutputFileAndKeyFromReferencedProject(S){const E=ensureOutputFile(S);return E!==undefined?{key:getOutputFileKeyFromReferencedProject(S),outputFile:E}:undefined}function getOutputFileTextAndKeyFromReferencedProject(S){const E=getOutputFileKeyFromReferencedProject(S);if(!E){return undefined}const k=Ce.find((S=>ae(S.name)===E));if(k){return{key:E,text:k.text}}const w=Ee.get(E);return{key:E,text:w!==false?ee.sys.readFile(S):undefined}}function getOutputFileKeyFromReferencedProject(S){const E=ae(S);if(Ee.has(E))return E;const k=ae(Be.realpath(S));if(k!==E&&Ee.has(k))return k;return getInputFileNameFromOutput(S)?k:undefined}function hashOutputText(S){return ee.sys.createHash?ee.sys.createHash(S):S}function ensureOutputFile(S){const E=getOutputFileKeyFromReferencedProject(S);if(!E){return undefined}const k=Ee.get(E);if(k!==undefined){return k}if(!getInputFileNameFromOutput(S)){return undefined}const w=ee.sys.readFile(S);const N=w===undefined?false:hashOutputText(w);Ee.set(E,N);return N}function getTypeScriptOutputFile(S){const E=ae(S);const k=Ce.find((S=>ae(S.name)===E));if(k)return k;const w=ee.sys.readFile(S);return w!==undefined?{name:S,text:w,writeByteOrderMark:false}:undefined}function getOutputFilesFromReferencedProjectInput(S){const E=ae(S);for(const S of Me.values()){ensureInputOutputInfo(S);if(S.outputFileNames){const k=S.outputFileNames.get(E);if(k){return k.outputNames.map(getTypeScriptOutputFile).filter((S=>!!S))}}}return[]}function getInputFileStamp(S){const E=ae(S);const k=Te.get(E);if(k!==undefined){return k}const w=ee.sys.getModifiedTime(S)||ne;Te.set(E,w);return w}function updateSolutionBuilderInputFile(S){const E=ae(S);const k=Te.get(E)||ne;const w=ee.sys.getModifiedTime(S)||ne;if(k.getTime()===w.getTime()){return}const N=k==ne?ee.FileWatcherEventKind.Created:w===ne?ee.FileWatcherEventKind.Deleted:ee.FileWatcherEventKind.Changed;Be.invokeFileWatcher(S,N)}}E.makeSolutionBuilderHost=makeSolutionBuilderHost;function getSolutionErrors(S,E){const k=[];if(S.solutionBuilderHost&&S.solutionBuilderHost.diagnostics.transpileErrors.length){S.solutionBuilderHost.diagnostics.transpileErrors.forEach((([w,N])=>k.push(...te.formatErrors(N,S.loaderOptions,S.colors,S.compiler,{file:w?undefined:"tsconfig.json"},E))))}return k}E.getSolutionErrors=getSolutionErrors;function makeResolveTypeReferenceDirective(S,E,k,w,N){var j,q;if(w===undefined){if(S.createTypeReferenceDirectiveResolutionCache&&!N.typeReferenceResolutionCache){N.typeReferenceResolutionCache=S.createTypeReferenceDirectiveResolutionCache(k.getCurrentDirectory(),createGetCanonicalFileName(N),N.compilerOptions,(q=(j=N.moduleResolutionCache)===null||j===void 0?void 0:j.getPackageJsonInfoCache)===null||q===void 0?void 0:q.call(j))}return(w,j,q)=>S.resolveTypeReferenceDirective(w,j,E,k,q,N.typeReferenceResolutionCache)}return(N,j)=>w(N,j,E,k,S.resolveTypeReferenceDirective)}function isJsImplementationOfTypings(S,E){return S.resolvedFileName.endsWith("js")&&/\.d\.ts$/.test(E.resolvedFileName)}function resolveModule(S,E,k,N,j,q,ee){let te;try{const E=S(undefined,w.normalize(w.dirname(q)),j);const ee=k(E);if(ee.match(N)!==null){te={resolvedFileName:ee,originalFileName:E}}}catch(S){}const ne=E(j,q,ee);if(ne.resolvedModule!==undefined){const S=w.normalize(ne.resolvedModule.resolvedFileName);const E=Object.assign(Object.assign({},ne.resolvedModule),{originalFileName:S,resolvedFileName:S});return te===undefined||te.resolvedFileName===E.resolvedFileName||isJsImplementationOfTypings(te,E)?E:te}return te}function makeResolveModuleName(S,E,k,w,N){if(w===undefined){if(!N.moduleResolutionCache){N.moduleResolutionCache=createModuleResolutionCache(N,k)}return(w,j,q)=>S.resolveModuleName(w,j,E,k,N.moduleResolutionCache,q)}return(N,j)=>w(N,j,E,k,S.resolveModuleName)}function addCache(S){S.fileExists=createCache(S.fileExists,S.fileExistsCache=new Map);S.directoryExists=createCache(S.directoryExists,S.directoryExistsCache=new Map);S.realpath=S.realpath&&createCache(S.realpath,S.realpathCache=new Map);S.clearCache=clearCache;function createCache(S,E){return function getCached(k){let w=E.get(k);if(w!==undefined){return w}w=S(k);E.set(k,w);return w}}function clearCache(){var E,k,w;(E=S.fileExistsCache)===null||E===void 0?void 0:E.clear();(k=S.directoryExistsCache)===null||k===void 0?void 0:k.clear();(w=S.realpathCache)===null||w===void 0?void 0:w.clear()}}},86507:(S,E,k)=>{"use strict";Object.defineProperty(E,"__esModule",{value:true});E.useCaseSensitiveFileNames=E.isReferencedFile=E.supportsSolutionBuild=E.ensureProgram=E.arrify=E.collectAllDependants=E.populateReverseDependencyGraph=E.populateDependencyGraph=E.unorderedRemoveItem=E.appendSuffixesIfMatch=E.appendSuffixIfMatch=E.tsLoaderSource=E.makeError=E.fsReadFile=E.formatErrors=void 0;const w=k(35747);const N=k(44930);const j=k(85622);const q=k(69635);const ee=k(90557);function defaultErrorFormatter(S,E){const k=S.severity==="warning"?E.bold.yellow:E.bold.red;return E.grey("[tsl] ")+k(S.severity.toUpperCase())+(S.file===""?"":k(" in ")+E.bold.cyan(`${S.file}(${S.line},${S.character})`))+q.EOL+k(` TS${S.code}: ${S.content}`)}function formatErrors(S,E,k,w,ee,te){return S===undefined?[]:S.filter((S=>{if(E.ignoreDiagnostics.indexOf(S.code)!==-1){return false}if(E.reportFiles.length>0&&S.file!==undefined){const k=j.relative(te,S.file.fileName);const w=N([k],E.reportFiles);if(w.length===0){return false}}return true})).map((S=>{const N=S.file;const{start:ne,end:ae}=N===undefined||S.start===undefined?{start:undefined,end:undefined}:getFileLocations(N,S.start,S.length);const _e={code:S.code,severity:w.DiagnosticCategory[S.category].toLowerCase(),content:w.flattenDiagnosticMessageText(S.messageText,q.EOL),file:N===undefined?"":j.normalize(N.fileName),line:ne===undefined?0:ne.line,character:ne===undefined?0:ne.character,context:te};const ve=E.errorFormatter===undefined?defaultErrorFormatter(_e,k):E.errorFormatter(_e,k);const Ee=makeError(E,ve,ee.file===undefined?_e.file:ee.file,ne,ae);return Object.assign(Ee,ee)}))}E.formatErrors=formatErrors;function getFileLocations(S,E,k=0){const w=S.getLineAndCharacterOfPosition(E);const N={line:w.line+1,character:w.character+1};const j=k>0?S.getLineAndCharacterOfPosition(E+k):undefined;const q=j===undefined?undefined:{line:j.line+1,character:j.character+1};return{start:N,end:q}}function fsReadFile(S,E="utf8"){S=j.normalize(S);try{return w.readFileSync(S,E)}catch(S){return undefined}}E.fsReadFile=fsReadFile;function makeError(S,E,k,w,N){return{message:E,file:k,loc:w===undefined?undefined:makeWebpackLocation(w,N),location:w,loaderSource:tsLoaderSource(S)}}E.makeError=makeError;function makeWebpackLocation(S,E){const k={line:S.line,column:S.character-1};const w=E===undefined?undefined:{line:E.line,column:E.character-1};return{start:k,end:w}}function tsLoaderSource(S){return`ts-loader-${S.instance}`}E.tsLoaderSource=tsLoaderSource;function appendSuffixIfMatch(S,E,k){if(S.length>0){for(const w of S){if(E.match(w)!==null){return E+k}}}return E}E.appendSuffixIfMatch=appendSuffixIfMatch;function appendSuffixesIfMatch(S,E){let k=E;for(const E in S){k=appendSuffixIfMatch(S[E],k,E)}return k}E.appendSuffixesIfMatch=appendSuffixesIfMatch;function unorderedRemoveItem(S,E){for(let k=0;kS!==null&&S!==undefined));if(S.length){const w=E.filePathKeyMapper(k);E.dependencyGraph.set(w,S)}}E.populateDependencyGraph=populateDependencyGraph;function populateReverseDependencyGraph(S){const E=new Map;for(const[k,w]of S.dependencyGraph.entries()){const N=S.solutionBuilderHost&&ee.getInputFileNameFromOutput(S,k);const j=N?S.filePathKeyMapper(N):k;w.forEach((({resolvedFileName:k})=>{const w=S.filePathKeyMapper(S.solutionBuilderHost?ee.getInputFileNameFromOutput(S,k)||k:k);let N=E.get(w);if(!N){N=new Map;E.set(w,N)}N.set(j,true)}))}return E}E.populateReverseDependencyGraph=populateReverseDependencyGraph;function collectAllDependants(S,E,k=new Map){k.set(E,true);const w=S.get(E);if(w!==undefined){for(const E of w.keys()){if(!k.has(E)){collectAllDependants(S,E,k)}}}return k}E.collectAllDependants=collectAllDependants;function arrify(S){if(S===null||S===undefined){return[]}return Array.isArray(S)?S:[S]}E.arrify=arrify;function ensureProgram(S){if(S&&S.watchHost){if(S.hasUnaccountedModifiedFiles){if(S.changedFilesList){S.watchHost.updateRootFileNames()}if(S.watchOfFilesAndCompilerOptions){S.builderProgram=S.watchOfFilesAndCompilerOptions.getProgram();S.program=S.builderProgram.getProgram()}S.hasUnaccountedModifiedFiles=false}return S.program}if(S.languageService){return S.languageService.getProgram()}return S.program}E.ensureProgram=ensureProgram;function supportsSolutionBuild(S){return!!S.configFilePath&&!!S.loaderOptions.projectReferences&&!!S.configParseResult.projectReferences&&!!S.configParseResult.projectReferences.length}E.supportsSolutionBuild=supportsSolutionBuild;function isReferencedFile(S,E){return!!S.solutionBuilderHost&&!!S.solutionBuilderHost.watchedFiles.get(S.filePathKeyMapper(E))}E.isReferencedFile=isReferencedFile;function useCaseSensitiveFileNames(S,E){return E.useCaseSensitiveFileNames!==undefined?E.useCaseSensitiveFileNames:S.sys.useCaseSensitiveFileNames}E.useCaseSensitiveFileNames=useCaseSensitiveFileNames},80573:(S,E,k)=>{"use strict";Object.defineProperty(E,"__esModule",{value:true});E.makeWatchRun=void 0;const w=k(85622);const N=k(69635);const j=k(9674);const q=k(86507);function makeWatchRun(S,E){const k=new Map;const w=0;const j=E.loaderIndex;return(q,ee)=>{var te,ne,ae,_e,ve,Ee;(ne=(te=S.servicesHost)===null||te===void 0?void 0:te.clearCache)===null||ne===void 0?void 0:ne.call(te);(_e=(ae=S.watchHost)===null||ae===void 0?void 0:ae.clearCache)===null||_e===void 0?void 0:_e.call(ae);(ve=S.moduleResolutionCache)===null||ve===void 0?void 0:ve.clear();(Ee=S.typeReferenceResolutionCache)===null||Ee===void 0?void 0:Ee.clear();const Te=[];if(S.loaderOptions.transpileOnly){S.reportTranspileErrors=true}else{const ee=q.fileTimestamps;for(const[N,q]of ee){const ee=S.filePathKeyMapper(N);const te=k.get(ee)||w;if(q<=te){continue}k.set(ee,q);Te.push(updateFile(S,ee,N,E,j))}for(const[k,{fileName:w}]of S.files.entries()){if(w.match(N.dtsDtsxOrDtsDtsxMapRegex)!==null&&w.match(N.nodeModules)===null){Te.push(updateFile(S,k,w,E,j))}}}if(S.solutionBuilderHost){for(const{fileName:E}of S.solutionBuilderHost.watchedFiles.values()){S.solutionBuilderHost.updateSolutionBuilderInputFile(E)}S.solutionBuilderHost.clearCache()}Promise.all(Te).then((()=>ee())).catch((S=>ee(S)))}}E.makeWatchRun=makeWatchRun;function updateFile(S,E,k,N,ee){return new Promise(((te,ne)=>{if(ee+1{if(w){ne(w)}else{const w=JSON.parse(N);j.updateFileWithText(S,E,k,(()=>w));te()}}))}else{j.updateFileWithText(S,E,k,(S=>q.fsReadFile(S)||""));te()}}))}},82070:(S,E,k)=>{var w=k(32956);S.exports=w},4822:(S,E,k)=>{"use strict";const w=k(13819);const N=k(59153);const j=k(64455);const q=k(82806);const braces=(S,E={})=>{let k=[];if(Array.isArray(S)){for(let w of S){let S=braces.create(w,E);if(Array.isArray(S)){k.push(...S)}else{k.push(S)}}}else{k=[].concat(braces.create(S,E))}if(E&&E.expand===true&&E.nodupes===true){k=[...new Set(k)]}return k};braces.parse=(S,E={})=>q(S,E);braces.stringify=(S,E={})=>{if(typeof S==="string"){return w(braces.parse(S,E),E)}return w(S,E)};braces.compile=(S,E={})=>{if(typeof S==="string"){S=braces.parse(S,E)}return N(S,E)};braces.expand=(S,E={})=>{if(typeof S==="string"){S=braces.parse(S,E)}let k=j(S,E);if(E.noempty===true){k=k.filter(Boolean)}if(E.nodupes===true){k=[...new Set(k)]}return k};braces.create=(S,E={})=>{if(S===""||S.length<3){return[S]}return E.expand!==true?braces.compile(S,E):braces.expand(S,E)};S.exports=braces},59153:(S,E,k)=>{"use strict";const w=k(12710);const N=k(82875);const compile=(S,E={})=>{let walk=(S,k={})=>{let j=N.isInvalidBrace(k);let q=S.invalid===true&&E.escapeInvalid===true;let ee=j===true||q===true;let te=E.escapeInvalid===true?"\\":"";let ne="";if(S.isOpen===true){return te+S.value}if(S.isClose===true){return te+S.value}if(S.type==="open"){return ee?te+S.value:"("}if(S.type==="close"){return ee?te+S.value:")"}if(S.type==="comma"){return S.prev.type==="comma"?"":ee?S.value:"|"}if(S.value){return S.value}if(S.nodes&&S.ranges>0){let k=N.reduce(S.nodes);let j=w(...k,{...E,wrap:false,toRegex:true});if(j.length!==0){return k.length>1&&j.length>1?`(${j})`:j}}if(S.nodes){for(let E of S.nodes){ne+=walk(E,S)}}return ne};return walk(S)};S.exports=compile},43783:S=>{"use strict";S.exports={MAX_LENGTH:1024*64,CHAR_0:"0",CHAR_9:"9",CHAR_UPPERCASE_A:"A",CHAR_LOWERCASE_A:"a",CHAR_UPPERCASE_Z:"Z",CHAR_LOWERCASE_Z:"z",CHAR_LEFT_PARENTHESES:"(",CHAR_RIGHT_PARENTHESES:")",CHAR_ASTERISK:"*",CHAR_AMPERSAND:"&",CHAR_AT:"@",CHAR_BACKSLASH:"\\",CHAR_BACKTICK:"`",CHAR_CARRIAGE_RETURN:"\r",CHAR_CIRCUMFLEX_ACCENT:"^",CHAR_COLON:":",CHAR_COMMA:",",CHAR_DOLLAR:"$",CHAR_DOT:".",CHAR_DOUBLE_QUOTE:'"',CHAR_EQUAL:"=",CHAR_EXCLAMATION_MARK:"!",CHAR_FORM_FEED:"\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",CHAR_NO_BREAK_SPACE:" ",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"}},64455:(S,E,k)=>{"use strict";const w=k(12710);const N=k(13819);const j=k(82875);const append=(S="",E="",k=false)=>{let w=[];S=[].concat(S);E=[].concat(E);if(!E.length)return S;if(!S.length){return k?j.flatten(E).map((S=>`{${S}}`)):E}for(let N of S){if(Array.isArray(N)){for(let S of N){w.push(append(S,E,k))}}else{for(let S of E){if(k===true&&typeof S==="string")S=`{${S}}`;w.push(Array.isArray(S)?append(N,S,k):N+S)}}}return j.flatten(w)};const expand=(S,E={})=>{let k=E.rangeLimit===void 0?1e3:E.rangeLimit;let walk=(S,q={})=>{S.queue=[];let ee=q;let te=q.queue;while(ee.type!=="brace"&&ee.type!=="root"&&ee.parent){ee=ee.parent;te=ee.queue}if(S.invalid||S.dollar){te.push(append(te.pop(),N(S,E)));return}if(S.type==="brace"&&S.invalid!==true&&S.nodes.length===2){te.push(append(te.pop(),["{}"]));return}if(S.nodes&&S.ranges>0){let q=j.reduce(S.nodes);if(j.exceedsLimit(...q,E.step,k)){throw new RangeError("expanded array length exceeds range limit. Use options.rangeLimit to increase or disable the limit.")}let ee=w(...q,E);if(ee.length===0){ee=N(S,E)}te.push(append(te.pop(),ee));S.nodes=[];return}let ne=j.encloseBrace(S);let ae=S.queue;let _e=S;while(_e.type!=="brace"&&_e.type!=="root"&&_e.parent){_e=_e.parent;ae=_e.queue}for(let E=0;E{"use strict";const w=k(13819);const{MAX_LENGTH:N,CHAR_BACKSLASH:j,CHAR_BACKTICK:q,CHAR_COMMA:ee,CHAR_DOT:te,CHAR_LEFT_PARENTHESES:ne,CHAR_RIGHT_PARENTHESES:ae,CHAR_LEFT_CURLY_BRACE:_e,CHAR_RIGHT_CURLY_BRACE:ve,CHAR_LEFT_SQUARE_BRACKET:Ee,CHAR_RIGHT_SQUARE_BRACKET:Te,CHAR_DOUBLE_QUOTE:Ce,CHAR_SINGLE_QUOTE:we,CHAR_NO_BREAK_SPACE:Ne,CHAR_ZERO_WIDTH_NOBREAK_SPACE:Ie}=k(43783);const parse=(S,E={})=>{if(typeof S!=="string"){throw new TypeError("Expected a string")}let k=E||{};let Fe=typeof k.maxLength==="number"?Math.min(N,k.maxLength):N;if(S.length>Fe){throw new SyntaxError(`Input length (${S.length}), exceeds max characters (${Fe})`)}let Oe={type:"root",input:S,nodes:[]};let Me=[Oe];let Re=Oe;let Le=Oe;let Be=0;let je=S.length;let ze=0;let Ue=0;let We;let $e={};const advance=()=>S[ze++];const push=S=>{if(S.type==="text"&&Le.type==="dot"){Le.type="text"}if(Le&&Le.type==="text"&&S.type==="text"){Le.value+=S.value;return}Re.nodes.push(S);S.parent=Re;S.prev=Le;Le=S;return S};push({type:"bos"});while(ze0){if(Re.ranges>0){Re.ranges=0;let S=Re.nodes.shift();Re.nodes=[S,{type:"text",value:w(Re)}]}push({type:"comma",value:We});Re.commas++;continue}if(We===te&&Ue>0&&Re.commas===0){let S=Re.nodes;if(Ue===0||S.length===0){push({type:"text",value:We});continue}if(Le.type==="dot"){Re.range=[];Le.value+=We;Le.type="range";if(Re.nodes.length!==3&&Re.nodes.length!==5){Re.invalid=true;Re.ranges=0;Le.type="text";continue}Re.ranges++;Re.args=[];continue}if(Le.type==="range"){S.pop();let E=S[S.length-1];E.value+=Le.value+We;Le=E;Re.ranges--;continue}push({type:"dot",value:We});continue}push({type:"text",value:We})}do{Re=Me.pop();if(Re.type!=="root"){Re.nodes.forEach((S=>{if(!S.nodes){if(S.type==="open")S.isOpen=true;if(S.type==="close")S.isClose=true;if(!S.nodes)S.type="text";S.invalid=true}}));let S=Me[Me.length-1];let E=S.nodes.indexOf(Re);S.nodes.splice(E,1,...Re.nodes)}}while(Me.length>0);push({type:"eos"});return Oe};S.exports=parse},13819:(S,E,k)=>{"use strict";const w=k(82875);S.exports=(S,E={})=>{let stringify=(S,k={})=>{let N=E.escapeInvalid&&w.isInvalidBrace(k);let j=S.invalid===true&&E.escapeInvalid===true;let q="";if(S.value){if((N||j)&&w.isOpenOrClose(S)){return"\\"+S.value}return S.value}if(S.value){return S.value}if(S.nodes){for(let E of S.nodes){q+=stringify(E)}}return q};return stringify(S)}},82875:(S,E)=>{"use strict";E.isInteger=S=>{if(typeof S==="number"){return Number.isInteger(S)}if(typeof S==="string"&&S.trim()!==""){return Number.isInteger(Number(S))}return false};E.find=(S,E)=>S.nodes.find((S=>S.type===E));E.exceedsLimit=(S,k,w=1,N)=>{if(N===false)return false;if(!E.isInteger(S)||!E.isInteger(k))return false;return(Number(k)-Number(S))/Number(w)>=N};E.escapeNode=(S,E=0,k)=>{let w=S.nodes[E];if(!w)return;if(k&&w.type===k||w.type==="open"||w.type==="close"){if(w.escaped!==true){w.value="\\"+w.value;w.escaped=true}}};E.encloseBrace=S=>{if(S.type!=="brace")return false;if(S.commas>>0+S.ranges>>0===0){S.invalid=true;return true}return false};E.isInvalidBrace=S=>{if(S.type!=="brace")return false;if(S.invalid===true||S.dollar)return true;if(S.commas>>0+S.ranges>>0===0){S.invalid=true;return true}if(S.open!==true||S.close!==true){S.invalid=true;return true}return false};E.isOpenOrClose=S=>{if(S.type==="open"||S.type==="close"){return true}return S.open===true||S.close===true};E.reduce=S=>S.reduce(((S,E)=>{if(E.type==="text")S.push(E.value);if(E.type==="range")E.type="text";return S}),[]);E.flatten=(...S)=>{const E=[];const flat=S=>{for(let k=0;k{"use strict"; -/*! - * fill-range - * - * Copyright (c) 2014-present, Jon Schlinkert. - * Licensed under the MIT License. - */const w=k(31669);const N=k(31406);const isObject=S=>S!==null&&typeof S==="object"&&!Array.isArray(S);const transform=S=>E=>S===true?Number(E):String(E);const isValidValue=S=>typeof S==="number"||typeof S==="string"&&S!=="";const isNumber=S=>Number.isInteger(+S);const zeros=S=>{let E=`${S}`;let k=-1;if(E[0]==="-")E=E.slice(1);if(E==="0")return false;while(E[++k]==="0");return k>0};const stringify=(S,E,k)=>{if(typeof S==="string"||typeof E==="string"){return true}return k.stringify===true};const pad=(S,E,k)=>{if(E>0){let k=S[0]==="-"?"-":"";if(k)S=S.slice(1);S=k+S.padStart(k?E-1:E,"0")}if(k===false){return String(S)}return S};const toMaxLen=(S,E)=>{let k=S[0]==="-"?"-":"";if(k){S=S.slice(1);E--}while(S.length{S.negatives.sort(((S,E)=>SE?1:0));S.positives.sort(((S,E)=>SE?1:0));let k=E.capture?"":"?:";let w="";let N="";let j;if(S.positives.length){w=S.positives.join("|")}if(S.negatives.length){N=`-(${k}${S.negatives.join("|")})`}if(w&&N){j=`${w}|${N}`}else{j=w||N}if(E.wrap){return`(${k}${j})`}return j};const toRange=(S,E,k,w)=>{if(k){return N(S,E,{wrap:false,...w})}let j=String.fromCharCode(S);if(S===E)return j;let q=String.fromCharCode(E);return`[${j}-${q}]`};const toRegex=(S,E,k)=>{if(Array.isArray(S)){let E=k.wrap===true;let w=k.capture?"":"?:";return E?`(${w}${S.join("|")})`:S.join("|")}return N(S,E,k)};const rangeError=(...S)=>new RangeError("Invalid range arguments: "+w.inspect(...S));const invalidRange=(S,E,k)=>{if(k.strictRanges===true)throw rangeError([S,E]);return[]};const invalidStep=(S,E)=>{if(E.strictRanges===true){throw new TypeError(`Expected step "${S}" to be a number`)}return[]};const fillNumbers=(S,E,k=1,w={})=>{let N=Number(S);let j=Number(E);if(!Number.isInteger(N)||!Number.isInteger(j)){if(w.strictRanges===true)throw rangeError([S,E]);return[]}if(N===0)N=0;if(j===0)j=0;let q=N>j;let ee=String(S);let te=String(E);let ne=String(k);k=Math.max(Math.abs(k),1);let ae=zeros(ee)||zeros(te)||zeros(ne);let _e=ae?Math.max(ee.length,te.length,ne.length):0;let ve=ae===false&&stringify(S,E,w)===false;let Ee=w.transform||transform(ve);if(w.toRegex&&k===1){return toRange(toMaxLen(S,_e),toMaxLen(E,_e),true,w)}let Te={negatives:[],positives:[]};let push=S=>Te[S<0?"negatives":"positives"].push(Math.abs(S));let Ce=[];let we=0;while(q?N>=j:N<=j){if(w.toRegex===true&&k>1){push(N)}else{Ce.push(pad(Ee(N,we),_e,ve))}N=q?N-k:N+k;we++}if(w.toRegex===true){return k>1?toSequence(Te,w):toRegex(Ce,null,{wrap:false,...w})}return Ce};const fillLetters=(S,E,k=1,w={})=>{if(!isNumber(S)&&S.length>1||!isNumber(E)&&E.length>1){return invalidRange(S,E,w)}let N=w.transform||(S=>String.fromCharCode(S));let j=`${S}`.charCodeAt(0);let q=`${E}`.charCodeAt(0);let ee=j>q;let te=Math.min(j,q);let ne=Math.max(j,q);if(w.toRegex&&k===1){return toRange(te,ne,false,w)}let ae=[];let _e=0;while(ee?j>=q:j<=q){ae.push(N(j,_e));j=ee?j-k:j+k;_e++}if(w.toRegex===true){return toRegex(ae,null,{wrap:false,options:w})}return ae};const fill=(S,E,k,w={})=>{if(E==null&&isValidValue(S)){return[S]}if(!isValidValue(S)||!isValidValue(E)){return invalidRange(S,E,w)}if(typeof k==="function"){return fill(S,E,1,{transform:k})}if(isObject(k)){return fill(S,E,0,k)}let N={...w};if(N.capture===true)N.wrap=true;k=k||N.step||1;if(!isNumber(k)){if(k!=null&&!isObject(k))return invalidStep(k,N);return fill(S,E,1,k)}if(isNumber(S)&&isNumber(E)){return fillNumbers(S,E,k,N)}return fillLetters(S,E,Math.max(Math.abs(k),1),N)};S.exports=fill},89459:S=>{"use strict"; -/*! - * is-number - * - * Copyright (c) 2014-present, Jon Schlinkert. - * Released under the MIT License. - */S.exports=function(S){if(typeof S==="number"){return S-S===0}if(typeof S==="string"&&S.trim()!==""){return Number.isFinite?Number.isFinite(+S):isFinite(+S)}return false}},19806:(S,E,k)=>{"use strict";const w=k(83314);const N=Symbol("max");const j=Symbol("length");const q=Symbol("lengthCalculator");const ee=Symbol("allowStale");const te=Symbol("maxAge");const ne=Symbol("dispose");const ae=Symbol("noDisposeOnSet");const _e=Symbol("lruList");const ve=Symbol("cache");const Ee=Symbol("updateAgeOnGet");const naiveLength=()=>1;class LRUCache{constructor(S){if(typeof S==="number")S={max:S};if(!S)S={};if(S.max&&(typeof S.max!=="number"||S.max<0))throw new TypeError("max must be a non-negative number");const E=this[N]=S.max||Infinity;const k=S.length||naiveLength;this[q]=typeof k!=="function"?naiveLength:k;this[ee]=S.stale||false;if(S.maxAge&&typeof S.maxAge!=="number")throw new TypeError("maxAge must be a number");this[te]=S.maxAge||0;this[ne]=S.dispose;this[ae]=S.noDisposeOnSet||false;this[Ee]=S.updateAgeOnGet||false;this.reset()}set max(S){if(typeof S!=="number"||S<0)throw new TypeError("max must be a non-negative number");this[N]=S||Infinity;trim(this)}get max(){return this[N]}set allowStale(S){this[ee]=!!S}get allowStale(){return this[ee]}set maxAge(S){if(typeof S!=="number")throw new TypeError("maxAge must be a non-negative number");this[te]=S;trim(this)}get maxAge(){return this[te]}set lengthCalculator(S){if(typeof S!=="function")S=naiveLength;if(S!==this[q]){this[q]=S;this[j]=0;this[_e].forEach((S=>{S.length=this[q](S.value,S.key);this[j]+=S.length}))}trim(this)}get lengthCalculator(){return this[q]}get length(){return this[j]}get itemCount(){return this[_e].length}rforEach(S,E){E=E||this;for(let k=this[_e].tail;k!==null;){const w=k.prev;forEachStep(this,S,k,E);k=w}}forEach(S,E){E=E||this;for(let k=this[_e].head;k!==null;){const w=k.next;forEachStep(this,S,k,E);k=w}}keys(){return this[_e].toArray().map((S=>S.key))}values(){return this[_e].toArray().map((S=>S.value))}reset(){if(this[ne]&&this[_e]&&this[_e].length){this[_e].forEach((S=>this[ne](S.key,S.value)))}this[ve]=new Map;this[_e]=new w;this[j]=0}dump(){return this[_e].map((S=>isStale(this,S)?false:{k:S.key,v:S.value,e:S.now+(S.maxAge||0)})).toArray().filter((S=>S))}dumpLru(){return this[_e]}set(S,E,k){k=k||this[te];if(k&&typeof k!=="number")throw new TypeError("maxAge must be a number");const w=k?Date.now():0;const ee=this[q](E,S);if(this[ve].has(S)){if(ee>this[N]){del(this,this[ve].get(S));return false}const q=this[ve].get(S);const te=q.value;if(this[ne]){if(!this[ae])this[ne](S,te.value)}te.now=w;te.maxAge=k;te.value=E;this[j]+=ee-te.length;te.length=ee;this.get(S);trim(this);return true}const Ee=new Entry(S,E,ee,w,k);if(Ee.length>this[N]){if(this[ne])this[ne](S,E);return false}this[j]+=Ee.length;this[_e].unshift(Ee);this[ve].set(S,this[_e].head);trim(this);return true}has(S){if(!this[ve].has(S))return false;const E=this[ve].get(S).value;return!isStale(this,E)}get(S){return get(this,S,true)}peek(S){return get(this,S,false)}pop(){const S=this[_e].tail;if(!S)return null;del(this,S);return S.value}del(S){del(this,this[ve].get(S))}load(S){this.reset();const E=Date.now();for(let k=S.length-1;k>=0;k--){const w=S[k];const N=w.e||0;if(N===0)this.set(w.k,w.v);else{const S=N-E;if(S>0){this.set(w.k,w.v,S)}}}}prune(){this[ve].forEach(((S,E)=>get(this,E,false)))}}const get=(S,E,k)=>{const w=S[ve].get(E);if(w){const E=w.value;if(isStale(S,E)){del(S,w);if(!S[ee])return undefined}else{if(k){if(S[Ee])w.value.now=Date.now();S[_e].unshiftNode(w)}}return E.value}};const isStale=(S,E)=>{if(!E||!E.maxAge&&!S[te])return false;const k=Date.now()-E.now;return E.maxAge?k>E.maxAge:S[te]&&k>S[te]};const trim=S=>{if(S[j]>S[N]){for(let E=S[_e].tail;S[j]>S[N]&&E!==null;){const k=E.prev;del(S,E);E=k}}};const del=(S,E)=>{if(E){const k=E.value;if(S[ne])S[ne](k.key,k.value);S[j]-=k.length;S[ve].delete(k.key);S[_e].removeNode(E)}};class Entry{constructor(S,E,k,w,N){this.key=S;this.value=E;this.length=k;this.now=w;this.maxAge=N||0}}const forEachStep=(S,E,k,w)=>{let N=k.value;if(isStale(S,N)){del(S,k);if(!S[ee])N=undefined}if(N)E.call(w,N.value,N.key,S)};S.exports=LRUCache},44930:(S,E,k)=>{"use strict";const w=k(31669);const N=k(4822);const j=k(5782);const q=k(2661);const isEmptyString=S=>typeof S==="string"&&(S===""||S==="./");const micromatch=(S,E,k)=>{E=[].concat(E);S=[].concat(S);let w=new Set;let N=new Set;let q=new Set;let ee=0;let onResult=S=>{q.add(S.output);if(k&&k.onResult){k.onResult(S)}};for(let q=0;q!w.has(S)));if(k&&ne.length===0){if(k.failglob===true){throw new Error(`No matches found for "${E.join(", ")}"`)}if(k.nonull===true||k.nullglob===true){return k.unescape?E.map((S=>S.replace(/\\/g,""))):E}}return ne};micromatch.match=micromatch;micromatch.matcher=(S,E)=>j(S,E);micromatch.isMatch=(S,E,k)=>j(E,k)(S);micromatch.any=micromatch.isMatch;micromatch.not=(S,E,k={})=>{E=[].concat(E).map(String);let w=new Set;let N=[];let onResult=S=>{if(k.onResult)k.onResult(S);N.push(S.output)};let j=micromatch(S,E,{...k,onResult:onResult});for(let S of N){if(!j.includes(S)){w.add(S)}}return[...w]};micromatch.contains=(S,E,k)=>{if(typeof S!=="string"){throw new TypeError(`Expected a string: "${w.inspect(S)}"`)}if(Array.isArray(E)){return E.some((E=>micromatch.contains(S,E,k)))}if(typeof E==="string"){if(isEmptyString(S)||isEmptyString(E)){return false}if(S.includes(E)||S.startsWith("./")&&S.slice(2).includes(E)){return true}}return micromatch.isMatch(S,E,{...k,contains:true})};micromatch.matchKeys=(S,E,k)=>{if(!q.isObject(S)){throw new TypeError("Expected the first argument to be an object")}let w=micromatch(Object.keys(S),E,k);let N={};for(let E of w)N[E]=S[E];return N};micromatch.some=(S,E,k)=>{let w=[].concat(S);for(let S of[].concat(E)){let E=j(String(S),k);if(w.some((S=>E(S)))){return true}}return false};micromatch.every=(S,E,k)=>{let w=[].concat(S);for(let S of[].concat(E)){let E=j(String(S),k);if(!w.every((S=>E(S)))){return false}}return true};micromatch.all=(S,E,k)=>{if(typeof S!=="string"){throw new TypeError(`Expected a string: "${w.inspect(S)}"`)}return[].concat(E).every((E=>j(E,k)(S)))};micromatch.capture=(S,E,k)=>{let w=q.isWindows(k);let N=j.makeRe(String(S),{...k,capture:true});let ee=N.exec(w?q.toPosixSlashes(E):E);if(ee){return ee.slice(1).map((S=>S===void 0?"":S))}};micromatch.makeRe=(...S)=>j.makeRe(...S);micromatch.scan=(...S)=>j.scan(...S);micromatch.parse=(S,E)=>{let k=[];for(let w of[].concat(S||[])){for(let S of N(String(w),E)){k.push(j.parse(S,E))}}return k};micromatch.braces=(S,E)=>{if(typeof S!=="string")throw new TypeError("Expected a string");if(E&&E.nobrace===true||!/\{.*\}/.test(S)){return[S]}return N(S,E)};micromatch.braceExpand=(S,E)=>{if(typeof S!=="string")throw new TypeError("Expected a string");return micromatch.braces(S,{...E,expand:true})};S.exports=micromatch},6471:(S,E,k)=>{const w=Symbol("SemVer ANY");class Comparator{static get ANY(){return w}constructor(S,E){E=N(E);if(S instanceof Comparator){if(S.loose===!!E.loose){return S}else{S=S.value}}te("comparator",S,E);this.options=E;this.loose=!!E.loose;this.parse(S);if(this.semver===w){this.value=""}else{this.value=this.operator+this.semver.version}te("comp",this)}parse(S){const E=this.options.loose?j[q.COMPARATORLOOSE]:j[q.COMPARATOR];const k=S.match(E);if(!k){throw new TypeError(`Invalid comparator: ${S}`)}this.operator=k[1]!==undefined?k[1]:"";if(this.operator==="="){this.operator=""}if(!k[2]){this.semver=w}else{this.semver=new ne(k[2],this.options.loose)}}toString(){return this.value}test(S){te("Comparator.test",S,this.options.loose);if(this.semver===w||S===w){return true}if(typeof S==="string"){try{S=new ne(S,this.options)}catch(S){return false}}return ee(S,this.operator,this.semver,this.options)}intersects(S,E){if(!(S instanceof Comparator)){throw new TypeError("a Comparator is required")}if(!E||typeof E!=="object"){E={loose:!!E,includePrerelease:false}}if(this.operator===""){if(this.value===""){return true}return new ae(S.value,E).test(this.value)}else if(S.operator===""){if(S.value===""){return true}return new ae(this.value,E).test(S.semver)}const k=(this.operator===">="||this.operator===">")&&(S.operator===">="||S.operator===">");const w=(this.operator==="<="||this.operator==="<")&&(S.operator==="<="||S.operator==="<");const N=this.semver.version===S.semver.version;const j=(this.operator===">="||this.operator==="<=")&&(S.operator===">="||S.operator==="<=");const q=ee(this.semver,"<",S.semver,E)&&(this.operator===">="||this.operator===">")&&(S.operator==="<="||S.operator==="<");const te=ee(this.semver,">",S.semver,E)&&(this.operator==="<="||this.operator==="<")&&(S.operator===">="||S.operator===">");return k||w||N&&j||q||te}}S.exports=Comparator;const N=k(94679);const{re:j,t:q}=k(43109);const ee=k(54327);const te=k(81320);const ne=k(5345);const ae=k(282)},282:(S,E,k)=>{class Range{constructor(S,E){E=j(E);if(S instanceof Range){if(S.loose===!!E.loose&&S.includePrerelease===!!E.includePrerelease){return S}else{return new Range(S.raw,E)}}if(S instanceof q){this.raw=S.value;this.set=[[S]];this.format();return this}this.options=E;this.loose=!!E.loose;this.includePrerelease=!!E.includePrerelease;this.raw=S;this.set=S.split(/\s*\|\|\s*/).map((S=>this.parseRange(S.trim()))).filter((S=>S.length));if(!this.set.length){throw new TypeError(`Invalid SemVer Range: ${S}`)}if(this.set.length>1){const S=this.set[0];this.set=this.set.filter((S=>!isNullSet(S[0])));if(this.set.length===0)this.set=[S];else if(this.set.length>1){for(const S of this.set){if(S.length===1&&isAny(S[0])){this.set=[S];break}}}}this.format()}format(){this.range=this.set.map((S=>S.join(" ").trim())).join("||").trim();return this.range}toString(){return this.range}parseRange(S){S=S.trim();const E=Object.keys(this.options).join(",");const k=`parseRange:${E}:${S}`;const w=N.get(k);if(w)return w;const j=this.options.loose;const te=j?ne[ae.HYPHENRANGELOOSE]:ne[ae.HYPHENRANGE];S=S.replace(te,hyphenReplace(this.options.includePrerelease));ee("hyphen replace",S);S=S.replace(ne[ae.COMPARATORTRIM],_e);ee("comparator trim",S,ne[ae.COMPARATORTRIM]);S=S.replace(ne[ae.TILDETRIM],ve);S=S.replace(ne[ae.CARETTRIM],Ee);S=S.split(/\s+/).join(" ");const Te=j?ne[ae.COMPARATORLOOSE]:ne[ae.COMPARATOR];const Ce=S.split(" ").map((S=>parseComparator(S,this.options))).join(" ").split(/\s+/).map((S=>replaceGTE0(S,this.options))).filter(this.options.loose?S=>!!S.match(Te):()=>true).map((S=>new q(S,this.options)));const we=Ce.length;const Ne=new Map;for(const S of Ce){if(isNullSet(S))return[S];Ne.set(S.value,S)}if(Ne.size>1&&Ne.has(""))Ne.delete("");const Ie=[...Ne.values()];N.set(k,Ie);return Ie}intersects(S,E){if(!(S instanceof Range)){throw new TypeError("a Range is required")}return this.set.some((k=>isSatisfiable(k,E)&&S.set.some((S=>isSatisfiable(S,E)&&k.every((k=>S.every((S=>k.intersects(S,E)))))))))}test(S){if(!S){return false}if(typeof S==="string"){try{S=new te(S,this.options)}catch(S){return false}}for(let E=0;ES.value==="<0.0.0-0";const isAny=S=>S.value==="";const isSatisfiable=(S,E)=>{let k=true;const w=S.slice();let N=w.pop();while(k&&w.length){k=w.every((S=>N.intersects(S,E)));N=w.pop()}return k};const parseComparator=(S,E)=>{ee("comp",S,E);S=replaceCarets(S,E);ee("caret",S);S=replaceTildes(S,E);ee("tildes",S);S=replaceXRanges(S,E);ee("xrange",S);S=replaceStars(S,E);ee("stars",S);return S};const isX=S=>!S||S.toLowerCase()==="x"||S==="*";const replaceTildes=(S,E)=>S.trim().split(/\s+/).map((S=>replaceTilde(S,E))).join(" ");const replaceTilde=(S,E)=>{const k=E.loose?ne[ae.TILDELOOSE]:ne[ae.TILDE];return S.replace(k,((E,k,w,N,j)=>{ee("tilde",S,E,k,w,N,j);let q;if(isX(k)){q=""}else if(isX(w)){q=`>=${k}.0.0 <${+k+1}.0.0-0`}else if(isX(N)){q=`>=${k}.${w}.0 <${k}.${+w+1}.0-0`}else if(j){ee("replaceTilde pr",j);q=`>=${k}.${w}.${N}-${j} <${k}.${+w+1}.0-0`}else{q=`>=${k}.${w}.${N} <${k}.${+w+1}.0-0`}ee("tilde return",q);return q}))};const replaceCarets=(S,E)=>S.trim().split(/\s+/).map((S=>replaceCaret(S,E))).join(" ");const replaceCaret=(S,E)=>{ee("caret",S,E);const k=E.loose?ne[ae.CARETLOOSE]:ne[ae.CARET];const w=E.includePrerelease?"-0":"";return S.replace(k,((E,k,N,j,q)=>{ee("caret",S,E,k,N,j,q);let te;if(isX(k)){te=""}else if(isX(N)){te=`>=${k}.0.0${w} <${+k+1}.0.0-0`}else if(isX(j)){if(k==="0"){te=`>=${k}.${N}.0${w} <${k}.${+N+1}.0-0`}else{te=`>=${k}.${N}.0${w} <${+k+1}.0.0-0`}}else if(q){ee("replaceCaret pr",q);if(k==="0"){if(N==="0"){te=`>=${k}.${N}.${j}-${q} <${k}.${N}.${+j+1}-0`}else{te=`>=${k}.${N}.${j}-${q} <${k}.${+N+1}.0-0`}}else{te=`>=${k}.${N}.${j}-${q} <${+k+1}.0.0-0`}}else{ee("no pr");if(k==="0"){if(N==="0"){te=`>=${k}.${N}.${j}${w} <${k}.${N}.${+j+1}-0`}else{te=`>=${k}.${N}.${j}${w} <${k}.${+N+1}.0-0`}}else{te=`>=${k}.${N}.${j} <${+k+1}.0.0-0`}}ee("caret return",te);return te}))};const replaceXRanges=(S,E)=>{ee("replaceXRanges",S,E);return S.split(/\s+/).map((S=>replaceXRange(S,E))).join(" ")};const replaceXRange=(S,E)=>{S=S.trim();const k=E.loose?ne[ae.XRANGELOOSE]:ne[ae.XRANGE];return S.replace(k,((k,w,N,j,q,te)=>{ee("xRange",S,k,w,N,j,q,te);const ne=isX(N);const ae=ne||isX(j);const _e=ae||isX(q);const ve=_e;if(w==="="&&ve){w=""}te=E.includePrerelease?"-0":"";if(ne){if(w===">"||w==="<"){k="<0.0.0-0"}else{k="*"}}else if(w&&ve){if(ae){j=0}q=0;if(w===">"){w=">=";if(ae){N=+N+1;j=0;q=0}else{j=+j+1;q=0}}else if(w==="<="){w="<";if(ae){N=+N+1}else{j=+j+1}}if(w==="<")te="-0";k=`${w+N}.${j}.${q}${te}`}else if(ae){k=`>=${N}.0.0${te} <${+N+1}.0.0-0`}else if(_e){k=`>=${N}.${j}.0${te} <${N}.${+j+1}.0-0`}ee("xRange return",k);return k}))};const replaceStars=(S,E)=>{ee("replaceStars",S,E);return S.trim().replace(ne[ae.STAR],"")};const replaceGTE0=(S,E)=>{ee("replaceGTE0",S,E);return S.trim().replace(ne[E.includePrerelease?ae.GTE0PRE:ae.GTE0],"")};const hyphenReplace=S=>(E,k,w,N,j,q,ee,te,ne,ae,_e,ve,Ee)=>{if(isX(w)){k=""}else if(isX(N)){k=`>=${w}.0.0${S?"-0":""}`}else if(isX(j)){k=`>=${w}.${N}.0${S?"-0":""}`}else if(q){k=`>=${k}`}else{k=`>=${k}${S?"-0":""}`}if(isX(ne)){te=""}else if(isX(ae)){te=`<${+ne+1}.0.0-0`}else if(isX(_e)){te=`<${ne}.${+ae+1}.0-0`}else if(ve){te=`<=${ne}.${ae}.${_e}-${ve}`}else if(S){te=`<${ne}.${ae}.${+_e+1}-0`}else{te=`<=${te}`}return`${k} ${te}`.trim()};const testSet=(S,E,k)=>{for(let k=0;k0){const w=S[k].semver;if(w.major===E.major&&w.minor===E.minor&&w.patch===E.patch){return true}}}return false}return true}},5345:(S,E,k)=>{const w=k(81320);const{MAX_LENGTH:N,MAX_SAFE_INTEGER:j}=k(30280);const{re:q,t:ee}=k(43109);const te=k(94679);const{compareIdentifiers:ne}=k(26474);class SemVer{constructor(S,E){E=te(E);if(S instanceof SemVer){if(S.loose===!!E.loose&&S.includePrerelease===!!E.includePrerelease){return S}else{S=S.version}}else if(typeof S!=="string"){throw new TypeError(`Invalid Version: ${S}`)}if(S.length>N){throw new TypeError(`version is longer than ${N} characters`)}w("SemVer",S,E);this.options=E;this.loose=!!E.loose;this.includePrerelease=!!E.includePrerelease;const k=S.trim().match(E.loose?q[ee.LOOSE]:q[ee.FULL]);if(!k){throw new TypeError(`Invalid Version: ${S}`)}this.raw=S;this.major=+k[1];this.minor=+k[2];this.patch=+k[3];if(this.major>j||this.major<0){throw new TypeError("Invalid major version")}if(this.minor>j||this.minor<0){throw new TypeError("Invalid minor version")}if(this.patch>j||this.patch<0){throw new TypeError("Invalid patch version")}if(!k[4]){this.prerelease=[]}else{this.prerelease=k[4].split(".").map((S=>{if(/^[0-9]+$/.test(S)){const E=+S;if(E>=0&&E=0){if(typeof this.prerelease[S]==="number"){this.prerelease[S]++;S=-2}}if(S===-1){this.prerelease.push(0)}}if(E){if(this.prerelease[0]===E){if(isNaN(this.prerelease[1])){this.prerelease=[E,0]}}else{this.prerelease=[E,0]}}break;default:throw new Error(`invalid increment argument: ${S}`)}this.format();this.raw=this.version;return this}}S.exports=SemVer},58248:(S,E,k)=>{const w=k(71788);const clean=(S,E)=>{const k=w(S.trim().replace(/^[=v]+/,""),E);return k?k.version:null};S.exports=clean},54327:(S,E,k)=>{const w=k(42956);const N=k(91025);const j=k(96390);const q=k(10739);const ee=k(69503);const te=k(95906);const cmp=(S,E,k,ne)=>{switch(E){case"===":if(typeof S==="object")S=S.version;if(typeof k==="object")k=k.version;return S===k;case"!==":if(typeof S==="object")S=S.version;if(typeof k==="object")k=k.version;return S!==k;case"":case"=":case"==":return w(S,k,ne);case"!=":return N(S,k,ne);case">":return j(S,k,ne);case">=":return q(S,k,ne);case"<":return ee(S,k,ne);case"<=":return te(S,k,ne);default:throw new TypeError(`Invalid operator: ${E}`)}};S.exports=cmp},46607:(S,E,k)=>{const w=k(5345);const N=k(71788);const{re:j,t:q}=k(43109);const coerce=(S,E)=>{if(S instanceof w){return S}if(typeof S==="number"){S=String(S)}if(typeof S!=="string"){return null}E=E||{};let k=null;if(!E.rtl){k=S.match(j[q.COERCE])}else{let E;while((E=j[q.COERCERTL].exec(S))&&(!k||k.index+k[0].length!==S.length)){if(!k||E.index+E[0].length!==k.index+k[0].length){k=E}j[q.COERCERTL].lastIndex=E.index+E[1].length+E[2].length}j[q.COERCERTL].lastIndex=-1}if(k===null)return null;return N(`${k[2]}.${k[3]||"0"}.${k[4]||"0"}`,E)};S.exports=coerce},42380:(S,E,k)=>{const w=k(5345);const compareBuild=(S,E,k)=>{const N=new w(S,k);const j=new w(E,k);return N.compare(j)||N.compareBuild(j)};S.exports=compareBuild},39057:(S,E,k)=>{const w=k(14064);const compareLoose=(S,E)=>w(S,E,true);S.exports=compareLoose},14064:(S,E,k)=>{const w=k(5345);const compare=(S,E,k)=>new w(S,k).compare(new w(E,k));S.exports=compare},96860:(S,E,k)=>{const w=k(71788);const N=k(42956);const diff=(S,E)=>{if(N(S,E)){return null}else{const k=w(S);const N=w(E);const j=k.prerelease.length||N.prerelease.length;const q=j?"pre":"";const ee=j?"prerelease":"";for(const S in k){if(S==="major"||S==="minor"||S==="patch"){if(k[S]!==N[S]){return q+S}}}return ee}};S.exports=diff},42956:(S,E,k)=>{const w=k(14064);const eq=(S,E,k)=>w(S,E,k)===0;S.exports=eq},96390:(S,E,k)=>{const w=k(14064);const gt=(S,E,k)=>w(S,E,k)>0;S.exports=gt},10739:(S,E,k)=>{const w=k(14064);const gte=(S,E,k)=>w(S,E,k)>=0;S.exports=gte},75702:(S,E,k)=>{const w=k(5345);const inc=(S,E,k,N)=>{if(typeof k==="string"){N=k;k=undefined}try{return new w(S,k).inc(E,N).version}catch(S){return null}};S.exports=inc},69503:(S,E,k)=>{const w=k(14064);const lt=(S,E,k)=>w(S,E,k)<0;S.exports=lt},95906:(S,E,k)=>{const w=k(14064);const lte=(S,E,k)=>w(S,E,k)<=0;S.exports=lte},1146:(S,E,k)=>{const w=k(5345);const major=(S,E)=>new w(S,E).major;S.exports=major},38236:(S,E,k)=>{const w=k(5345);const minor=(S,E)=>new w(S,E).minor;S.exports=minor},91025:(S,E,k)=>{const w=k(14064);const neq=(S,E,k)=>w(S,E,k)!==0;S.exports=neq},71788:(S,E,k)=>{const{MAX_LENGTH:w}=k(30280);const{re:N,t:j}=k(43109);const q=k(5345);const ee=k(94679);const parse=(S,E)=>{E=ee(E);if(S instanceof q){return S}if(typeof S!=="string"){return null}if(S.length>w){return null}const k=E.loose?N[j.LOOSE]:N[j.FULL];if(!k.test(S)){return null}try{return new q(S,E)}catch(S){return null}};S.exports=parse},59141:(S,E,k)=>{const w=k(5345);const patch=(S,E)=>new w(S,E).patch;S.exports=patch},25694:(S,E,k)=>{const w=k(71788);const prerelease=(S,E)=>{const k=w(S,E);return k&&k.prerelease.length?k.prerelease:null};S.exports=prerelease},80339:(S,E,k)=>{const w=k(14064);const rcompare=(S,E,k)=>w(E,S,k);S.exports=rcompare},67768:(S,E,k)=>{const w=k(42380);const rsort=(S,E)=>S.sort(((S,k)=>w(k,S,E)));S.exports=rsort},51543:(S,E,k)=>{const w=k(282);const satisfies=(S,E,k)=>{try{E=new w(E,k)}catch(S){return false}return E.test(S)};S.exports=satisfies},8612:(S,E,k)=>{const w=k(42380);const sort=(S,E)=>S.sort(((S,k)=>w(S,k,E)));S.exports=sort},98018:(S,E,k)=>{const w=k(71788);const valid=(S,E)=>{const k=w(S,E);return k?k.version:null};S.exports=valid},3609:(S,E,k)=>{const w=k(43109);S.exports={re:w.re,src:w.src,tokens:w.t,SEMVER_SPEC_VERSION:k(30280).SEMVER_SPEC_VERSION,SemVer:k(5345),compareIdentifiers:k(26474).compareIdentifiers,rcompareIdentifiers:k(26474).rcompareIdentifiers,parse:k(71788),valid:k(98018),clean:k(58248),inc:k(75702),diff:k(96860),major:k(1146),minor:k(38236),patch:k(59141),prerelease:k(25694),compare:k(14064),rcompare:k(80339),compareLoose:k(39057),compareBuild:k(42380),sort:k(8612),rsort:k(67768),gt:k(96390),lt:k(69503),eq:k(42956),neq:k(91025),gte:k(10739),lte:k(95906),cmp:k(54327),coerce:k(46607),Comparator:k(6471),Range:k(282),satisfies:k(51543),toComparators:k(4817),maxSatisfying:k(13452),minSatisfying:k(57655),minVersion:k(34905),validRange:k(51952),outside:k(31492),gtr:k(96168),ltr:k(59609),intersects:k(18706),simplifyRange:k(15354),subset:k(26519)}},30280:S=>{const E="2.0.0";const k=256;const w=Number.MAX_SAFE_INTEGER||9007199254740991;const N=16;S.exports={SEMVER_SPEC_VERSION:E,MAX_LENGTH:k,MAX_SAFE_INTEGER:w,MAX_SAFE_COMPONENT_LENGTH:N}},81320:S=>{const E=typeof process==="object"&&process.env&&process.env.NODE_DEBUG&&/\bsemver\b/i.test(process.env.NODE_DEBUG)?(...S)=>console.error("SEMVER",...S):()=>{};S.exports=E},26474:S=>{const E=/^[0-9]+$/;const compareIdentifiers=(S,k)=>{const w=E.test(S);const N=E.test(k);if(w&&N){S=+S;k=+k}return S===k?0:w&&!N?-1:N&&!w?1:ScompareIdentifiers(E,S);S.exports={compareIdentifiers:compareIdentifiers,rcompareIdentifiers:rcompareIdentifiers}},94679:S=>{const E=["includePrerelease","loose","rtl"];const parseOptions=S=>!S?{}:typeof S!=="object"?{loose:true}:E.filter((E=>S[E])).reduce(((S,E)=>{S[E]=true;return S}),{});S.exports=parseOptions},43109:(S,E,k)=>{const{MAX_SAFE_COMPONENT_LENGTH:w}=k(30280);const N=k(81320);E=S.exports={};const j=E.re=[];const q=E.src=[];const ee=E.t={};let te=0;const createToken=(S,E,k)=>{const w=te++;N(w,E);ee[S]=w;q[w]=E;j[w]=new RegExp(E,k?"g":undefined)};createToken("NUMERICIDENTIFIER","0|[1-9]\\d*");createToken("NUMERICIDENTIFIERLOOSE","[0-9]+");createToken("NONNUMERICIDENTIFIER","\\d*[a-zA-Z-][a-zA-Z0-9-]*");createToken("MAINVERSION",`(${q[ee.NUMERICIDENTIFIER]})\\.`+`(${q[ee.NUMERICIDENTIFIER]})\\.`+`(${q[ee.NUMERICIDENTIFIER]})`);createToken("MAINVERSIONLOOSE",`(${q[ee.NUMERICIDENTIFIERLOOSE]})\\.`+`(${q[ee.NUMERICIDENTIFIERLOOSE]})\\.`+`(${q[ee.NUMERICIDENTIFIERLOOSE]})`);createToken("PRERELEASEIDENTIFIER",`(?:${q[ee.NUMERICIDENTIFIER]}|${q[ee.NONNUMERICIDENTIFIER]})`);createToken("PRERELEASEIDENTIFIERLOOSE",`(?:${q[ee.NUMERICIDENTIFIERLOOSE]}|${q[ee.NONNUMERICIDENTIFIER]})`);createToken("PRERELEASE",`(?:-(${q[ee.PRERELEASEIDENTIFIER]}(?:\\.${q[ee.PRERELEASEIDENTIFIER]})*))`);createToken("PRERELEASELOOSE",`(?:-?(${q[ee.PRERELEASEIDENTIFIERLOOSE]}(?:\\.${q[ee.PRERELEASEIDENTIFIERLOOSE]})*))`);createToken("BUILDIDENTIFIER","[0-9A-Za-z-]+");createToken("BUILD",`(?:\\+(${q[ee.BUILDIDENTIFIER]}(?:\\.${q[ee.BUILDIDENTIFIER]})*))`);createToken("FULLPLAIN",`v?${q[ee.MAINVERSION]}${q[ee.PRERELEASE]}?${q[ee.BUILD]}?`);createToken("FULL",`^${q[ee.FULLPLAIN]}$`);createToken("LOOSEPLAIN",`[v=\\s]*${q[ee.MAINVERSIONLOOSE]}${q[ee.PRERELEASELOOSE]}?${q[ee.BUILD]}?`);createToken("LOOSE",`^${q[ee.LOOSEPLAIN]}$`);createToken("GTLT","((?:<|>)?=?)");createToken("XRANGEIDENTIFIERLOOSE",`${q[ee.NUMERICIDENTIFIERLOOSE]}|x|X|\\*`);createToken("XRANGEIDENTIFIER",`${q[ee.NUMERICIDENTIFIER]}|x|X|\\*`);createToken("XRANGEPLAIN",`[v=\\s]*(${q[ee.XRANGEIDENTIFIER]})`+`(?:\\.(${q[ee.XRANGEIDENTIFIER]})`+`(?:\\.(${q[ee.XRANGEIDENTIFIER]})`+`(?:${q[ee.PRERELEASE]})?${q[ee.BUILD]}?`+`)?)?`);createToken("XRANGEPLAINLOOSE",`[v=\\s]*(${q[ee.XRANGEIDENTIFIERLOOSE]})`+`(?:\\.(${q[ee.XRANGEIDENTIFIERLOOSE]})`+`(?:\\.(${q[ee.XRANGEIDENTIFIERLOOSE]})`+`(?:${q[ee.PRERELEASELOOSE]})?${q[ee.BUILD]}?`+`)?)?`);createToken("XRANGE",`^${q[ee.GTLT]}\\s*${q[ee.XRANGEPLAIN]}$`);createToken("XRANGELOOSE",`^${q[ee.GTLT]}\\s*${q[ee.XRANGEPLAINLOOSE]}$`);createToken("COERCE",`${"(^|[^\\d])"+"(\\d{1,"}${w}})`+`(?:\\.(\\d{1,${w}}))?`+`(?:\\.(\\d{1,${w}}))?`+`(?:$|[^\\d])`);createToken("COERCERTL",q[ee.COERCE],true);createToken("LONETILDE","(?:~>?)");createToken("TILDETRIM",`(\\s*)${q[ee.LONETILDE]}\\s+`,true);E.tildeTrimReplace="$1~";createToken("TILDE",`^${q[ee.LONETILDE]}${q[ee.XRANGEPLAIN]}$`);createToken("TILDELOOSE",`^${q[ee.LONETILDE]}${q[ee.XRANGEPLAINLOOSE]}$`);createToken("LONECARET","(?:\\^)");createToken("CARETTRIM",`(\\s*)${q[ee.LONECARET]}\\s+`,true);E.caretTrimReplace="$1^";createToken("CARET",`^${q[ee.LONECARET]}${q[ee.XRANGEPLAIN]}$`);createToken("CARETLOOSE",`^${q[ee.LONECARET]}${q[ee.XRANGEPLAINLOOSE]}$`);createToken("COMPARATORLOOSE",`^${q[ee.GTLT]}\\s*(${q[ee.LOOSEPLAIN]})$|^$`);createToken("COMPARATOR",`^${q[ee.GTLT]}\\s*(${q[ee.FULLPLAIN]})$|^$`);createToken("COMPARATORTRIM",`(\\s*)${q[ee.GTLT]}\\s*(${q[ee.LOOSEPLAIN]}|${q[ee.XRANGEPLAIN]})`,true);E.comparatorTrimReplace="$1$2$3";createToken("HYPHENRANGE",`^\\s*(${q[ee.XRANGEPLAIN]})`+`\\s+-\\s+`+`(${q[ee.XRANGEPLAIN]})`+`\\s*$`);createToken("HYPHENRANGELOOSE",`^\\s*(${q[ee.XRANGEPLAINLOOSE]})`+`\\s+-\\s+`+`(${q[ee.XRANGEPLAINLOOSE]})`+`\\s*$`);createToken("STAR","(<|>)?=?\\s*\\*");createToken("GTE0","^\\s*>=\\s*0.0.0\\s*$");createToken("GTE0PRE","^\\s*>=\\s*0.0.0-0\\s*$")},96168:(S,E,k)=>{const w=k(31492);const gtr=(S,E,k)=>w(S,E,">",k);S.exports=gtr},18706:(S,E,k)=>{const w=k(282);const intersects=(S,E,k)=>{S=new w(S,k);E=new w(E,k);return S.intersects(E)};S.exports=intersects},59609:(S,E,k)=>{const w=k(31492);const ltr=(S,E,k)=>w(S,E,"<",k);S.exports=ltr},13452:(S,E,k)=>{const w=k(5345);const N=k(282);const maxSatisfying=(S,E,k)=>{let j=null;let q=null;let ee=null;try{ee=new N(E,k)}catch(S){return null}S.forEach((S=>{if(ee.test(S)){if(!j||q.compare(S)===-1){j=S;q=new w(j,k)}}}));return j};S.exports=maxSatisfying},57655:(S,E,k)=>{const w=k(5345);const N=k(282);const minSatisfying=(S,E,k)=>{let j=null;let q=null;let ee=null;try{ee=new N(E,k)}catch(S){return null}S.forEach((S=>{if(ee.test(S)){if(!j||q.compare(S)===1){j=S;q=new w(j,k)}}}));return j};S.exports=minSatisfying},34905:(S,E,k)=>{const w=k(5345);const N=k(282);const j=k(96390);const minVersion=(S,E)=>{S=new N(S,E);let k=new w("0.0.0");if(S.test(k)){return k}k=new w("0.0.0-0");if(S.test(k)){return k}k=null;for(let E=0;E{const E=new w(S.semver.version);switch(S.operator){case">":if(E.prerelease.length===0){E.patch++}else{E.prerelease.push(0)}E.raw=E.format();case"":case">=":if(!q||j(E,q)){q=E}break;case"<":case"<=":break;default:throw new Error(`Unexpected operation: ${S.operator}`)}}));if(q&&(!k||j(k,q)))k=q}if(k&&S.test(k)){return k}return null};S.exports=minVersion},31492:(S,E,k)=>{const w=k(5345);const N=k(6471);const{ANY:j}=N;const q=k(282);const ee=k(51543);const te=k(96390);const ne=k(69503);const ae=k(95906);const _e=k(10739);const outside=(S,E,k,ve)=>{S=new w(S,ve);E=new q(E,ve);let Ee,Te,Ce,we,Ne;switch(k){case">":Ee=te;Te=ae;Ce=ne;we=">";Ne=">=";break;case"<":Ee=ne;Te=_e;Ce=te;we="<";Ne="<=";break;default:throw new TypeError('Must provide a hilo val of "<" or ">"')}if(ee(S,E,ve)){return false}for(let k=0;k{if(S.semver===j){S=new N(">=0.0.0")}q=q||S;ee=ee||S;if(Ee(S.semver,q.semver,ve)){q=S}else if(Ce(S.semver,ee.semver,ve)){ee=S}}));if(q.operator===we||q.operator===Ne){return false}if((!ee.operator||ee.operator===we)&&Te(S,ee.semver)){return false}else if(ee.operator===Ne&&Ce(S,ee.semver)){return false}}return true};S.exports=outside},15354:(S,E,k)=>{const w=k(51543);const N=k(14064);S.exports=(S,E,k)=>{const j=[];let q=null;let ee=null;const te=S.sort(((S,E)=>N(S,E,k)));for(const S of te){const N=w(S,E,k);if(N){ee=S;if(!q)q=S}else{if(ee){j.push([q,ee])}ee=null;q=null}}if(q)j.push([q,null]);const ne=[];for(const[S,E]of j){if(S===E)ne.push(S);else if(!E&&S===te[0])ne.push("*");else if(!E)ne.push(`>=${S}`);else if(S===te[0])ne.push(`<=${E}`);else ne.push(`${S} - ${E}`)}const ae=ne.join(" || ");const _e=typeof E.raw==="string"?E.raw:String(E);return ae.length<_e.length?ae:E}},26519:(S,E,k)=>{const w=k(282);const N=k(6471);const{ANY:j}=N;const q=k(51543);const ee=k(14064);const subset=(S,E,k={})=>{if(S===E)return true;S=new w(S,k);E=new w(E,k);let N=false;e:for(const w of S.set){for(const S of E.set){const E=simpleSubset(w,S,k);N=N||E!==null;if(E)continue e}if(N)return false}return true};const simpleSubset=(S,E,k)=>{if(S===E)return true;if(S.length===1&&S[0].semver===j){if(E.length===1&&E[0].semver===j)return true;else if(k.includePrerelease)S=[new N(">=0.0.0-0")];else S=[new N(">=0.0.0")]}if(E.length===1&&E[0].semver===j){if(k.includePrerelease)return true;else E=[new N(">=0.0.0")]}const w=new Set;let te,ne;for(const E of S){if(E.operator===">"||E.operator===">=")te=higherGT(te,E,k);else if(E.operator==="<"||E.operator==="<=")ne=lowerLT(ne,E,k);else w.add(E.semver)}if(w.size>1)return null;let ae;if(te&&ne){ae=ee(te.semver,ne.semver,k);if(ae>0)return null;else if(ae===0&&(te.operator!==">="||ne.operator!=="<="))return null}for(const S of w){if(te&&!q(S,String(te),k))return null;if(ne&&!q(S,String(ne),k))return null;for(const w of E){if(!q(S,String(w),k))return false}return true}let _e,ve;let Ee,Te;let Ce=ne&&!k.includePrerelease&&ne.semver.prerelease.length?ne.semver:false;let we=te&&!k.includePrerelease&&te.semver.prerelease.length?te.semver:false;if(Ce&&Ce.prerelease.length===1&&ne.operator==="<"&&Ce.prerelease[0]===0){Ce=false}for(const S of E){Te=Te||S.operator===">"||S.operator===">=";Ee=Ee||S.operator==="<"||S.operator==="<=";if(te){if(we){if(S.semver.prerelease&&S.semver.prerelease.length&&S.semver.major===we.major&&S.semver.minor===we.minor&&S.semver.patch===we.patch){we=false}}if(S.operator===">"||S.operator===">="){_e=higherGT(te,S,k);if(_e===S&&_e!==te)return false}else if(te.operator===">="&&!q(te.semver,String(S),k))return false}if(ne){if(Ce){if(S.semver.prerelease&&S.semver.prerelease.length&&S.semver.major===Ce.major&&S.semver.minor===Ce.minor&&S.semver.patch===Ce.patch){Ce=false}}if(S.operator==="<"||S.operator==="<="){ve=lowerLT(ne,S,k);if(ve===S&&ve!==ne)return false}else if(ne.operator==="<="&&!q(ne.semver,String(S),k))return false}if(!S.operator&&(ne||te)&&ae!==0)return false}if(te&&Ee&&!ne&&ae!==0)return false;if(ne&&Te&&!te&&ae!==0)return false;if(we||Ce)return false;return true};const higherGT=(S,E,k)=>{if(!S)return E;const w=ee(S.semver,E.semver,k);return w>0?S:w<0?E:E.operator===">"&&S.operator===">="?E:S};const lowerLT=(S,E,k)=>{if(!S)return E;const w=ee(S.semver,E.semver,k);return w<0?S:w>0?E:E.operator==="<"&&S.operator==="<="?E:S};S.exports=subset},4817:(S,E,k)=>{const w=k(282);const toComparators=(S,E)=>new w(S,E).set.map((S=>S.map((S=>S.value)).join(" ").trim().split(" ")));S.exports=toComparators},51952:(S,E,k)=>{const w=k(282);const validRange=(S,E)=>{try{return new w(S,E).range||"*"}catch(S){return null}};S.exports=validRange},31406:(S,E,k)=>{"use strict"; -/*! - * to-regex-range - * - * Copyright (c) 2015-present, Jon Schlinkert. - * Released under the MIT License. - */const w=k(89459);const toRegexRange=(S,E,k)=>{if(w(S)===false){throw new TypeError("toRegexRange: expected the first argument to be a number")}if(E===void 0||S===E){return String(S)}if(w(E)===false){throw new TypeError("toRegexRange: expected the second argument to be a number.")}let N={relaxZeros:true,...k};if(typeof N.strictZeros==="boolean"){N.relaxZeros=N.strictZeros===false}let j=String(N.relaxZeros);let q=String(N.shorthand);let ee=String(N.capture);let te=String(N.wrap);let ne=S+":"+E+"="+j+q+ee+te;if(toRegexRange.cache.hasOwnProperty(ne)){return toRegexRange.cache[ne].result}let ae=Math.min(S,E);let _e=Math.max(S,E);if(Math.abs(ae-_e)===1){let k=S+"|"+E;if(N.capture){return`(${k})`}if(N.wrap===false){return k}return`(?:${k})`}let ve=hasPadding(S)||hasPadding(E);let Ee={min:S,max:E,a:ae,b:_e};let Te=[];let Ce=[];if(ve){Ee.isPadded=ve;Ee.maxLen=String(Ee.max).length}if(ae<0){let S=_e<0?Math.abs(_e):1;Ce=splitToPatterns(S,Math.abs(ae),Ee,N);ae=Ee.a=0}if(_e>=0){Te=splitToPatterns(ae,_e,Ee,N)}Ee.negatives=Ce;Ee.positives=Te;Ee.result=collatePatterns(Ce,Te,N);if(N.capture===true){Ee.result=`(${Ee.result})`}else if(N.wrap!==false&&Te.length+Ce.length>1){Ee.result=`(?:${Ee.result})`}toRegexRange.cache[ne]=Ee;return Ee.result};function collatePatterns(S,E,k){let w=filterPatterns(S,E,"-",false,k)||[];let N=filterPatterns(E,S,"",false,k)||[];let j=filterPatterns(S,E,"-?",true,k)||[];let q=w.concat(j).concat(N);return q.join("|")}function splitToRanges(S,E){let k=1;let w=1;let N=countNines(S,k);let j=new Set([E]);while(S<=N&&N<=E){j.add(N);k+=1;N=countNines(S,k)}N=countZeros(E+1,w)-1;while(S1){ee.count.pop()}ee.count.push(te.count[0]);ee.string=ee.pattern+toQuantifier(ee.count);q=E+1;continue}if(k.isPadded){ne=padZeros(E,k,w)}te.string=ne+te.pattern+toQuantifier(te.count);j.push(te);q=E+1;ee=te}return j}function filterPatterns(S,E,k,w,N){let j=[];for(let N of S){let{string:S}=N;if(!w&&!contains(E,"string",S)){j.push(k+S)}if(w&&contains(E,"string",S)){j.push(k+S)}}return j}function zip(S,E){let k=[];for(let w=0;wE?1:E>S?-1:0}function contains(S,E,k){return S.some((S=>S[E]===k))}function countNines(S,E){return Number(String(S).slice(0,-E)+"9".repeat(E))}function countZeros(S,E){return S-S%Math.pow(10,E)}function toQuantifier(S){let[E=0,k=""]=S;if(k||E>1){return`{${E+(k?","+k:"")}}`}return""}function toCharacterClass(S,E,k){return`[${S}${E-S===1?"":"-"}${E}]`}function hasPadding(S){return/^-?(0+)\d/.test(S)}function padZeros(S,E,k){if(!E.isPadded){return S}let w=Math.abs(E.maxLen-String(S).length);let N=k.relaxZeros!==false;switch(w){case 0:return"";case 1:return N?"0?":"0";case 2:return N?"0{0,2}":"00";default:{return N?`0{0,${w}}`:`0{${w}}`}}}toRegexRange.cache={};toRegexRange.clearCache=()=>toRegexRange.cache={};S.exports=toRegexRange},5115:S=>{ -/*! ***************************************************************************** -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. -***************************************************************************** */ -var E;var k;var w;var N;var j;var q;var ee;var te;var ne;var ae;var _e;var ve;var Ee;var Te;var Ce;var we;var Ne;var Ie;var Fe;var Oe;var Me;var Re;var Le;(function(E){var k=typeof global==="object"?global:typeof self==="object"?self:typeof this==="object"?this:{};if(typeof define==="function"&&define.amd){define("tslib",["exports"],(function(S){E(createExporter(k,createExporter(S)))}))}else if(true&&typeof S.exports==="object"){E(createExporter(k,createExporter(S.exports)))}else{E(createExporter(k))}function createExporter(S,E){if(S!==k){if(typeof Object.create==="function"){Object.defineProperty(S,"__esModule",{value:true})}else{S.__esModule=true}}return function(k,w){return S[k]=E?E(k,w):w}}})((function(S){var Be=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(S,E){S.__proto__=E}||function(S,E){for(var k in E)if(E.hasOwnProperty(k))S[k]=E[k]};E=function(S,E){Be(S,E);function __(){this.constructor=S}S.prototype=E===null?Object.create(E):(__.prototype=E.prototype,new __)};k=Object.assign||function(S){for(var E,k=1,w=arguments.length;k=0;ee--)if(q=S[ee])j=(N<3?q(j):N>3?q(E,k,j):q(E,k))||j;return N>3&&j&&Object.defineProperty(E,k,j),j};j=function(S,E){return function(k,w){E(k,w,S)}};q=function(S,E){if(typeof Reflect==="object"&&typeof Reflect.metadata==="function")return Reflect.metadata(S,E)};ee=function(S,E,k,w){function adopt(S){return S instanceof k?S:new k((function(E){E(S)}))}return new(k||(k=Promise))((function(k,N){function fulfilled(S){try{step(w.next(S))}catch(S){N(S)}}function rejected(S){try{step(w["throw"](S))}catch(S){N(S)}}function step(S){S.done?k(S.value):adopt(S.value).then(fulfilled,rejected)}step((w=w.apply(S,E||[])).next())}))};te=function(S,E){var k={label:0,sent:function(){if(j[0]&1)throw j[1];return j[1]},trys:[],ops:[]},w,N,j,q;return q={next:verb(0),throw:verb(1),return:verb(2)},typeof Symbol==="function"&&(q[Symbol.iterator]=function(){return this}),q;function verb(S){return function(E){return step([S,E])}}function step(q){if(w)throw new TypeError("Generator is already executing.");while(k)try{if(w=1,N&&(j=q[0]&2?N["return"]:q[0]?N["throw"]||((j=N["return"])&&j.call(N),0):N.next)&&!(j=j.call(N,q[1])).done)return j;if(N=0,j)q=[q[0]&2,j.value];switch(q[0]){case 0:case 1:j=q;break;case 4:k.label++;return{value:q[1],done:false};case 5:k.label++;N=q[1];q=[0];continue;case 7:q=k.ops.pop();k.trys.pop();continue;default:if(!(j=k.trys,j=j.length>0&&j[j.length-1])&&(q[0]===6||q[0]===2)){k=0;continue}if(q[0]===3&&(!j||q[1]>j[0]&&q[1]=S.length)S=void 0;return{value:S&&S[w++],done:!S}}};throw new TypeError(E?"Object is not iterable.":"Symbol.iterator is not defined.")};_e=function(S,E){var k=typeof Symbol==="function"&&S[Symbol.iterator];if(!k)return S;var w=k.call(S),N,j=[],q;try{while((E===void 0||E-- >0)&&!(N=w.next()).done)j.push(N.value)}catch(S){q={error:S}}finally{try{if(N&&!N.done&&(k=w["return"]))k.call(w)}finally{if(q)throw q.error}}return j};ve=function(){for(var S=[],E=0;E1||resume(S,E)}))}}function resume(S,E){try{step(w[S](E))}catch(S){settle(j[0][3],S)}}function step(S){S.value instanceof Te?Promise.resolve(S.value.v).then(fulfill,reject):settle(j[0][2],S)}function fulfill(S){resume("next",S)}function reject(S){resume("throw",S)}function settle(S,E){if(S(E),j.shift(),j.length)resume(j[0][0],j[0][1])}};we=function(S){var E,k;return E={},verb("next"),verb("throw",(function(S){throw S})),verb("return"),E[Symbol.iterator]=function(){return this},E;function verb(w,N){E[w]=S[w]?function(E){return(k=!k)?{value:Te(S[w](E)),done:w==="return"}:N?N(E):E}:N}};Ne=function(S){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var E=S[Symbol.asyncIterator],k;return E?E.call(S):(S=typeof ae==="function"?ae(S):S[Symbol.iterator](),k={},verb("next"),verb("throw"),verb("return"),k[Symbol.asyncIterator]=function(){return this},k);function verb(E){k[E]=S[E]&&function(k){return new Promise((function(w,N){k=S[E](k),settle(w,N,k.done,k.value)}))}}function settle(S,E,k,w){Promise.resolve(w).then((function(E){S({value:E,done:k})}),E)}};Ie=function(S,E){if(Object.defineProperty){Object.defineProperty(S,"raw",{value:E})}else{S.raw=E}return S};Fe=function(S){if(S&&S.__esModule)return S;var E={};if(S!=null)for(var k in S)if(Object.hasOwnProperty.call(S,k))E[k]=S[k];E["default"]=S;return E};Oe=function(S){return S&&S.__esModule?S:{default:S}};Me=function(S,E){if(!E.has(S)){throw new TypeError("attempted to get private field on non-instance")}return E.get(S)};Re=function(S,E,k){if(!E.has(S)){throw new TypeError("attempted to set private field on non-instance")}E.set(S,k);return k};S("__extends",E);S("__assign",k);S("__rest",w);S("__decorate",N);S("__param",j);S("__metadata",q);S("__awaiter",ee);S("__generator",te);S("__exportStar",ne);S("__createBinding",Le);S("__values",ae);S("__read",_e);S("__spread",ve);S("__spreadArrays",Ee);S("__await",Te);S("__asyncGenerator",Ce);S("__asyncDelegator",we);S("__asyncValues",Ne);S("__makeTemplateObject",Ie);S("__importStar",Fe);S("__importDefault",Oe);S("__classPrivateFieldGet",Me);S("__classPrivateFieldSet",Re)}))},53779:function(S,E,k){"use strict"; -/*! ***************************************************************************** -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. -***************************************************************************** */var w=this&&this.__spreadArrays||function(){for(var S=0,E=0,k=arguments.length;E0&&j[j.length-1])&&(q[0]===6||q[0]===2)){k=0;continue}if(q[0]===3&&(!j||q[1]>j[0]&&q[1]=0;k--){var w=E(S[k],k);if(w){return w}}}return undefined}S.forEachRight=forEachRight;function firstDefined(S,E){if(S===undefined){return undefined}for(var k=0;k=0;k--){var w=S[k];if(E(w,k)){return w}}return undefined}S.findLast=findLast;function findIndex(S,E,k){for(var w=k||0;w=0;w--){if(E(S[w],w)){return w}}return-1}S.findLastIndex=findLastIndex;function findMap(E,k){for(var w=0;w0}}return false}S.some=some;function getRangesWhere(S,E,k){var w;for(var N=0;N0){S.Debug.assertGreaterThanOrEqual(w(k[q],k[q-1]),0)}t:for(var ee=j;jee){S.Debug.assertGreaterThanOrEqual(w(E[j],E[j-1]),0)}switch(w(k[q],E[j])){case-1:N.push(k[q]);continue e;case 0:continue e;case 1:continue t}}}return N}S.relativeComplement=relativeComplement;function sum(S,E){var k=0;for(var w=0,N=S;w>1);var te=k(S[ee]);switch(w(te,E)){case-1:j=ee+1;break;case 0:return ee;case 1:q=ee-1;break}}return~j}S.binarySearchKey=binarySearchKey;function reduceLeft(S,E,k,w,N){if(S&&S.length>0){var j=S.length;if(j>0){var q=w===undefined||w<0?0:w;var ee=N===undefined||q+N>j-1?j-1:q+N;var te=void 0;if(arguments.length<=2){te=S[q];q++}else{te=k}while(q<=ee){te=E(te,S[q],q);q++}return te}}return k}S.reduceLeft=reduceLeft;var E=Object.prototype.hasOwnProperty;function hasProperty(S,k){return E.call(S,k)}S.hasProperty=hasProperty;function getProperty(S,k){return E.call(S,k)?S[k]:undefined}S.getProperty=getProperty;function getOwnKeys(S){var k=[];for(var w in S){if(E.call(S,w)){k.push(w)}}return k}S.getOwnKeys=getOwnKeys;function getAllKeys(S){var E=[];do{var k=Object.getOwnPropertyNames(S);for(var w=0,N=k;wE?1:0}S.compareStringsCaseInsensitive=compareStringsCaseInsensitive;function compareStringsCaseSensitive(S,E){return compareComparableValues(S,E)}S.compareStringsCaseSensitive=compareStringsCaseSensitive;function getStringComparer(S){return S?compareStringsCaseInsensitive:compareStringsCaseSensitive}S.getStringComparer=getStringComparer;var j=function(){var S;var E;var k=getStringComparerFactory();return createStringComparer;function compareWithCallback(S,E,k){if(S===E)return 0;if(S===undefined)return-1;if(E===undefined)return 1;var w=k(S,E);return w<0?-1:w>0?1:0}function createIntlCollatorStringComparer(S){var E=new Intl.Collator(S,{usage:"sort",sensitivity:"variant"}).compare;return function(S,k){return compareWithCallback(S,k,E)}}function createLocaleCompareStringComparer(S){if(S!==undefined)return createFallbackStringComparer();return function(S,E){return compareWithCallback(S,E,compareStrings)};function compareStrings(S,E){return S.localeCompare(E)}}function createFallbackStringComparer(){return function(S,E){return compareWithCallback(S,E,compareDictionaryOrder)};function compareDictionaryOrder(S,E){return compareStrings(S.toUpperCase(),E.toUpperCase())||compareStrings(S,E)}function compareStrings(S,E){return SE?1:0}}function getStringComparerFactory(){if(typeof Intl==="object"&&typeof Intl.Collator==="function"){return createIntlCollatorStringComparer}if(typeof String.prototype.localeCompare==="function"&&typeof String.prototype.toLocaleUpperCase==="function"&&"a".localeCompare("B")<0){return createLocaleCompareStringComparer}return createFallbackStringComparer}function createStringComparer(w){if(w===undefined){return S||(S=k(w))}else if(w==="en-US"){return E||(E=k(w))}else{return k(w)}}}();var q;var ee;function getUILocale(){return ee}S.getUILocale=getUILocale;function setUILocale(S){if(ee!==S){ee=S;q=undefined}}S.setUILocale=setUILocale;function compareStringsCaseSensitiveUI(S,E){var k=q||(q=j(ee));return k(S,E)}S.compareStringsCaseSensitiveUI=compareStringsCaseSensitiveUI;function compareProperties(S,E,k,w){return S===E?0:S===undefined?-1:E===undefined?1:w(S[k],E[k])}S.compareProperties=compareProperties;function compareBooleans(S,E){return compareValues(S?1:0,E?1:0)}S.compareBooleans=compareBooleans;function getSpellingSuggestion(E,k,w){var N=Math.min(2,Math.floor(E.length*.34));var j=Math.floor(E.length*.4)+1;var q;var ee=false;var te=E.toLowerCase();for(var ne=0,ae=k;nek?q-k:1;var ne=E.length>k+q?k+q:E.length;N[0]=q;var ae=q;for(var _e=1;_ek){return undefined}var Ee=w;w=N;N=Ee}var Te=w[E.length];return Te>k?undefined:Te}function endsWith(S,E){var k=S.length-E.length;return k>=0&&S.indexOf(E,k)===k}S.endsWith=endsWith;function removeSuffix(S,E){return endsWith(S,E)?S.slice(0,S.length-E.length):S}S.removeSuffix=removeSuffix;function tryRemoveSuffix(S,E){return endsWith(S,E)?S.slice(0,S.length-E.length):undefined}S.tryRemoveSuffix=tryRemoveSuffix;function stringContains(S,E){return S.indexOf(E)!==-1}S.stringContains=stringContains;function removeMinAndVersionNumbers(S){var E=/[.-]((min)|(\d+(\.\d+)*))$/;return S.replace(E,"").replace(E,"")}S.removeMinAndVersionNumbers=removeMinAndVersionNumbers;function orderedRemoveItem(S,E){for(var k=0;kN){N=te.prefix.length;w=ee}}return w}S.findBestPatternMatch=findBestPatternMatch;function startsWith(S,E){return S.lastIndexOf(E,0)===0}S.startsWith=startsWith;function removePrefix(S,E){return startsWith(S,E)?S.substr(E.length):S}S.removePrefix=removePrefix;function tryRemovePrefix(S,E,k){if(k===void 0){k=identity}return startsWith(k(S),k(E))?S.substring(E.length):undefined}S.tryRemovePrefix=tryRemovePrefix;function isPatternMatch(S,E){var k=S.prefix,w=S.suffix;return E.length>=k.length+w.length&&startsWith(E,k)&&endsWith(E,w)}function and(S,E){return function(k){return S(k)&&E(k)}}S.and=and;function or(){var S=[];for(var E=0;Ej){for(var q=0,ee=S.getOwnKeys(w);q=ne.level){E[te]=ne;w[te]=undefined}}}}E.setAssertionLevel=setAssertionLevel;function shouldAssert(S){return k>=S}E.shouldAssert=shouldAssert;function shouldAssertFunction(k,N){if(!shouldAssert(k)){w[N]={level:k,assertion:E[N]};E[N]=S.noop;return false}return true}function fail(S,E){debugger;var k=new Error(S?"Debug Failure. "+S:"Debug Failure.");if(Error.captureStackTrace){Error.captureStackTrace(k,E||fail)}throw k}E.fail=fail;function failBadSyntaxKind(S,E,k){return fail((E||"Unexpected node.")+"\r\nNode "+formatSyntaxKind(S.kind)+" was unexpected.",k||failBadSyntaxKind)}E.failBadSyntaxKind=failBadSyntaxKind;function assert(S,E,k,w){if(!S){E=E?"False expression: "+E:"False expression.";if(k){E+="\r\nVerbose Debug Information: "+(typeof k==="string"?k:k())}fail(E,w||assert)}}E.assert=assert;function assertEqual(S,E,k,w,N){if(S!==E){var j=k?w?k+" "+w:k:"";fail("Expected "+S+" === "+E+". "+j,N||assertEqual)}}E.assertEqual=assertEqual;function assertLessThan(S,E,k,w){if(S>=E){fail("Expected "+S+" < "+E+". "+(k||""),w||assertLessThan)}}E.assertLessThan=assertLessThan;function assertLessThanOrEqual(S,E,k){if(S>E){fail("Expected "+S+" <= "+E,k||assertLessThanOrEqual)}}E.assertLessThanOrEqual=assertLessThanOrEqual;function assertGreaterThanOrEqual(S,E,k){if(S= "+E,k||assertGreaterThanOrEqual)}}E.assertGreaterThanOrEqual=assertGreaterThanOrEqual;function assertIsDefined(S,E,k){if(S===undefined||S===null){fail(E,k||assertIsDefined)}}E.assertIsDefined=assertIsDefined;function checkDefined(S,E,k){assertIsDefined(S,E,k||checkDefined);return S}E.checkDefined=checkDefined;E.assertDefined=checkDefined;function assertEachIsDefined(S,E,k){for(var w=0,N=S;w0&&w[0][0]===0?w[0][1]:"0"}if(k){var N="";var j=S;for(var q=0,ee=w;qS){break}if(ne!==0&&ne&S){N=""+N+(N?"|":"")+ae;j&=~ne}}if(j===0){return N}}else{for(var _e=0,ve=w;_e=0,"Invalid argument: major");S.Debug.assert(N>=0,"Invalid argument: minor");S.Debug.assert(j>=0,"Invalid argument: patch");S.Debug.assert(!q||k.test(q),"Invalid argument: prerelease");S.Debug.assert(!ee||w.test(ee),"Invalid argument: build");this.major=E;this.minor=N;this.patch=j;this.prerelease=q?q.split("."):S.emptyArray;this.build=ee?ee.split("."):S.emptyArray}Version.tryParse=function(S){var E=tryParseComponents(S);if(!E)return undefined;var k=E.major,w=E.minor,N=E.patch,j=E.prerelease,q=E.build;return new Version(k,w,N,j,q)};Version.prototype.compareTo=function(E){if(this===E)return 0;if(E===undefined)return 1;return S.compareValues(this.major,E.major)||S.compareValues(this.minor,E.minor)||S.compareValues(this.patch,E.patch)||comparePrerelaseIdentifiers(this.prerelease,E.prerelease)};Version.prototype.increment=function(E){switch(E){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 S.Debug.assertNever(E)}};Version.prototype.toString=function(){var E=this.major+"."+this.minor+"."+this.patch;if(S.some(this.prerelease))E+="-"+this.prerelease.join(".");if(S.some(this.build))E+="+"+this.build.join(".");return E};Version.zero=new Version(0,0,0);return Version}();S.Version=j;function tryParseComponents(S){var N=E.exec(S);if(!N)return undefined;var j=N[1],q=N[2],ee=q===void 0?"0":q,te=N[3],ne=te===void 0?"0":te,ae=N[4],_e=ae===void 0?"":ae,ve=N[5],Ee=ve===void 0?"":ve;if(_e&&!k.test(_e))return undefined;if(Ee&&!w.test(Ee))return undefined;return{major:parseInt(j,10),minor:parseInt(ee,10),patch:parseInt(ne,10),prerelease:_e,build:Ee}}function comparePrerelaseIdentifiers(E,k){if(E===k)return 0;if(E.length===0)return k.length===0?0:1;if(k.length===0)return-1;var w=Math.min(E.length,k.length);for(var j=0;j|>=|=)?\s*([a-z0-9-+.*]+)$/i;function parseRange(S){var E=[];for(var k=0,w=S.trim().split(ee);k=",w.version))}if(!isWildcard(N.major)){k.push(isWildcard(N.minor)?createComparator("<",N.version.increment("major")):isWildcard(N.patch)?createComparator("<",N.version.increment("minor")):createComparator("<=",N.version))}return true}function parseComparator(S,E,k){var w=parsePartial(E);if(!w)return false;var N=w.version,q=w.major,ee=w.minor,te=w.patch;if(!isWildcard(q)){switch(S){case"~":k.push(createComparator(">=",N));k.push(createComparator("<",N.increment(isWildcard(ee)?"major":"minor")));break;case"^":k.push(createComparator(">=",N));k.push(createComparator("<",N.increment(N.major>0||isWildcard(ee)?"major":N.minor>0||isWildcard(te)?"minor":"patch")));break;case"<":case">=":k.push(createComparator(S,N));break;case"<=":case">":k.push(isWildcard(ee)?createComparator(S==="<="?"<":">=",N.increment("major")):isWildcard(te)?createComparator(S==="<="?"<":">=",N.increment("minor")):createComparator(S,N));break;case"=":case undefined:if(isWildcard(ee)||isWildcard(te)){k.push(createComparator(">=",N));k.push(createComparator("<",N.increment(isWildcard(ee)?"major":"minor")))}else{k.push(createComparator("=",N))}break;default:return false}}else if(S==="<"||S===">"){k.push(createComparator("<",j.zero))}return true}function isWildcard(S){return S==="*"||S==="x"||S==="X"}function createComparator(S,E){return{operator:S,operand:E}}function testDisjunction(S,E){if(E.length===0)return true;for(var k=0,w=E;k":return N>0;case">=":return N>=0;case"=":return N===0;default:return S.Debug.assertNever(k)}}function formatDisjunction(E){return S.map(E,formatAlternative).join(" || ")||"*"}function formatAlternative(E){return S.map(E,formatComparator).join(" ")}function formatComparator(S){return""+S.operator+S.operand}})(ne||(ne={}));var ne;(function(S){var E;(function(S){S[S["Unknown"]=0]="Unknown";S[S["EndOfFileToken"]=1]="EndOfFileToken";S[S["SingleLineCommentTrivia"]=2]="SingleLineCommentTrivia";S[S["MultiLineCommentTrivia"]=3]="MultiLineCommentTrivia";S[S["NewLineTrivia"]=4]="NewLineTrivia";S[S["WhitespaceTrivia"]=5]="WhitespaceTrivia";S[S["ShebangTrivia"]=6]="ShebangTrivia";S[S["ConflictMarkerTrivia"]=7]="ConflictMarkerTrivia";S[S["NumericLiteral"]=8]="NumericLiteral";S[S["BigIntLiteral"]=9]="BigIntLiteral";S[S["StringLiteral"]=10]="StringLiteral";S[S["JsxText"]=11]="JsxText";S[S["JsxTextAllWhiteSpaces"]=12]="JsxTextAllWhiteSpaces";S[S["RegularExpressionLiteral"]=13]="RegularExpressionLiteral";S[S["NoSubstitutionTemplateLiteral"]=14]="NoSubstitutionTemplateLiteral";S[S["TemplateHead"]=15]="TemplateHead";S[S["TemplateMiddle"]=16]="TemplateMiddle";S[S["TemplateTail"]=17]="TemplateTail";S[S["OpenBraceToken"]=18]="OpenBraceToken";S[S["CloseBraceToken"]=19]="CloseBraceToken";S[S["OpenParenToken"]=20]="OpenParenToken";S[S["CloseParenToken"]=21]="CloseParenToken";S[S["OpenBracketToken"]=22]="OpenBracketToken";S[S["CloseBracketToken"]=23]="CloseBracketToken";S[S["DotToken"]=24]="DotToken";S[S["DotDotDotToken"]=25]="DotDotDotToken";S[S["SemicolonToken"]=26]="SemicolonToken";S[S["CommaToken"]=27]="CommaToken";S[S["QuestionDotToken"]=28]="QuestionDotToken";S[S["LessThanToken"]=29]="LessThanToken";S[S["LessThanSlashToken"]=30]="LessThanSlashToken";S[S["GreaterThanToken"]=31]="GreaterThanToken";S[S["LessThanEqualsToken"]=32]="LessThanEqualsToken";S[S["GreaterThanEqualsToken"]=33]="GreaterThanEqualsToken";S[S["EqualsEqualsToken"]=34]="EqualsEqualsToken";S[S["ExclamationEqualsToken"]=35]="ExclamationEqualsToken";S[S["EqualsEqualsEqualsToken"]=36]="EqualsEqualsEqualsToken";S[S["ExclamationEqualsEqualsToken"]=37]="ExclamationEqualsEqualsToken";S[S["EqualsGreaterThanToken"]=38]="EqualsGreaterThanToken";S[S["PlusToken"]=39]="PlusToken";S[S["MinusToken"]=40]="MinusToken";S[S["AsteriskToken"]=41]="AsteriskToken";S[S["AsteriskAsteriskToken"]=42]="AsteriskAsteriskToken";S[S["SlashToken"]=43]="SlashToken";S[S["PercentToken"]=44]="PercentToken";S[S["PlusPlusToken"]=45]="PlusPlusToken";S[S["MinusMinusToken"]=46]="MinusMinusToken";S[S["LessThanLessThanToken"]=47]="LessThanLessThanToken";S[S["GreaterThanGreaterThanToken"]=48]="GreaterThanGreaterThanToken";S[S["GreaterThanGreaterThanGreaterThanToken"]=49]="GreaterThanGreaterThanGreaterThanToken";S[S["AmpersandToken"]=50]="AmpersandToken";S[S["BarToken"]=51]="BarToken";S[S["CaretToken"]=52]="CaretToken";S[S["ExclamationToken"]=53]="ExclamationToken";S[S["TildeToken"]=54]="TildeToken";S[S["AmpersandAmpersandToken"]=55]="AmpersandAmpersandToken";S[S["BarBarToken"]=56]="BarBarToken";S[S["QuestionToken"]=57]="QuestionToken";S[S["ColonToken"]=58]="ColonToken";S[S["AtToken"]=59]="AtToken";S[S["QuestionQuestionToken"]=60]="QuestionQuestionToken";S[S["BacktickToken"]=61]="BacktickToken";S[S["EqualsToken"]=62]="EqualsToken";S[S["PlusEqualsToken"]=63]="PlusEqualsToken";S[S["MinusEqualsToken"]=64]="MinusEqualsToken";S[S["AsteriskEqualsToken"]=65]="AsteriskEqualsToken";S[S["AsteriskAsteriskEqualsToken"]=66]="AsteriskAsteriskEqualsToken";S[S["SlashEqualsToken"]=67]="SlashEqualsToken";S[S["PercentEqualsToken"]=68]="PercentEqualsToken";S[S["LessThanLessThanEqualsToken"]=69]="LessThanLessThanEqualsToken";S[S["GreaterThanGreaterThanEqualsToken"]=70]="GreaterThanGreaterThanEqualsToken";S[S["GreaterThanGreaterThanGreaterThanEqualsToken"]=71]="GreaterThanGreaterThanGreaterThanEqualsToken";S[S["AmpersandEqualsToken"]=72]="AmpersandEqualsToken";S[S["BarEqualsToken"]=73]="BarEqualsToken";S[S["CaretEqualsToken"]=74]="CaretEqualsToken";S[S["Identifier"]=75]="Identifier";S[S["PrivateIdentifier"]=76]="PrivateIdentifier";S[S["BreakKeyword"]=77]="BreakKeyword";S[S["CaseKeyword"]=78]="CaseKeyword";S[S["CatchKeyword"]=79]="CatchKeyword";S[S["ClassKeyword"]=80]="ClassKeyword";S[S["ConstKeyword"]=81]="ConstKeyword";S[S["ContinueKeyword"]=82]="ContinueKeyword";S[S["DebuggerKeyword"]=83]="DebuggerKeyword";S[S["DefaultKeyword"]=84]="DefaultKeyword";S[S["DeleteKeyword"]=85]="DeleteKeyword";S[S["DoKeyword"]=86]="DoKeyword";S[S["ElseKeyword"]=87]="ElseKeyword";S[S["EnumKeyword"]=88]="EnumKeyword";S[S["ExportKeyword"]=89]="ExportKeyword";S[S["ExtendsKeyword"]=90]="ExtendsKeyword";S[S["FalseKeyword"]=91]="FalseKeyword";S[S["FinallyKeyword"]=92]="FinallyKeyword";S[S["ForKeyword"]=93]="ForKeyword";S[S["FunctionKeyword"]=94]="FunctionKeyword";S[S["IfKeyword"]=95]="IfKeyword";S[S["ImportKeyword"]=96]="ImportKeyword";S[S["InKeyword"]=97]="InKeyword";S[S["InstanceOfKeyword"]=98]="InstanceOfKeyword";S[S["NewKeyword"]=99]="NewKeyword";S[S["NullKeyword"]=100]="NullKeyword";S[S["ReturnKeyword"]=101]="ReturnKeyword";S[S["SuperKeyword"]=102]="SuperKeyword";S[S["SwitchKeyword"]=103]="SwitchKeyword";S[S["ThisKeyword"]=104]="ThisKeyword";S[S["ThrowKeyword"]=105]="ThrowKeyword";S[S["TrueKeyword"]=106]="TrueKeyword";S[S["TryKeyword"]=107]="TryKeyword";S[S["TypeOfKeyword"]=108]="TypeOfKeyword";S[S["VarKeyword"]=109]="VarKeyword";S[S["VoidKeyword"]=110]="VoidKeyword";S[S["WhileKeyword"]=111]="WhileKeyword";S[S["WithKeyword"]=112]="WithKeyword";S[S["ImplementsKeyword"]=113]="ImplementsKeyword";S[S["InterfaceKeyword"]=114]="InterfaceKeyword";S[S["LetKeyword"]=115]="LetKeyword";S[S["PackageKeyword"]=116]="PackageKeyword";S[S["PrivateKeyword"]=117]="PrivateKeyword";S[S["ProtectedKeyword"]=118]="ProtectedKeyword";S[S["PublicKeyword"]=119]="PublicKeyword";S[S["StaticKeyword"]=120]="StaticKeyword";S[S["YieldKeyword"]=121]="YieldKeyword";S[S["AbstractKeyword"]=122]="AbstractKeyword";S[S["AsKeyword"]=123]="AsKeyword";S[S["AssertsKeyword"]=124]="AssertsKeyword";S[S["AnyKeyword"]=125]="AnyKeyword";S[S["AsyncKeyword"]=126]="AsyncKeyword";S[S["AwaitKeyword"]=127]="AwaitKeyword";S[S["BooleanKeyword"]=128]="BooleanKeyword";S[S["ConstructorKeyword"]=129]="ConstructorKeyword";S[S["DeclareKeyword"]=130]="DeclareKeyword";S[S["GetKeyword"]=131]="GetKeyword";S[S["InferKeyword"]=132]="InferKeyword";S[S["IsKeyword"]=133]="IsKeyword";S[S["KeyOfKeyword"]=134]="KeyOfKeyword";S[S["ModuleKeyword"]=135]="ModuleKeyword";S[S["NamespaceKeyword"]=136]="NamespaceKeyword";S[S["NeverKeyword"]=137]="NeverKeyword";S[S["ReadonlyKeyword"]=138]="ReadonlyKeyword";S[S["RequireKeyword"]=139]="RequireKeyword";S[S["NumberKeyword"]=140]="NumberKeyword";S[S["ObjectKeyword"]=141]="ObjectKeyword";S[S["SetKeyword"]=142]="SetKeyword";S[S["StringKeyword"]=143]="StringKeyword";S[S["SymbolKeyword"]=144]="SymbolKeyword";S[S["TypeKeyword"]=145]="TypeKeyword";S[S["UndefinedKeyword"]=146]="UndefinedKeyword";S[S["UniqueKeyword"]=147]="UniqueKeyword";S[S["UnknownKeyword"]=148]="UnknownKeyword";S[S["FromKeyword"]=149]="FromKeyword";S[S["GlobalKeyword"]=150]="GlobalKeyword";S[S["BigIntKeyword"]=151]="BigIntKeyword";S[S["OfKeyword"]=152]="OfKeyword";S[S["QualifiedName"]=153]="QualifiedName";S[S["ComputedPropertyName"]=154]="ComputedPropertyName";S[S["TypeParameter"]=155]="TypeParameter";S[S["Parameter"]=156]="Parameter";S[S["Decorator"]=157]="Decorator";S[S["PropertySignature"]=158]="PropertySignature";S[S["PropertyDeclaration"]=159]="PropertyDeclaration";S[S["MethodSignature"]=160]="MethodSignature";S[S["MethodDeclaration"]=161]="MethodDeclaration";S[S["Constructor"]=162]="Constructor";S[S["GetAccessor"]=163]="GetAccessor";S[S["SetAccessor"]=164]="SetAccessor";S[S["CallSignature"]=165]="CallSignature";S[S["ConstructSignature"]=166]="ConstructSignature";S[S["IndexSignature"]=167]="IndexSignature";S[S["TypePredicate"]=168]="TypePredicate";S[S["TypeReference"]=169]="TypeReference";S[S["FunctionType"]=170]="FunctionType";S[S["ConstructorType"]=171]="ConstructorType";S[S["TypeQuery"]=172]="TypeQuery";S[S["TypeLiteral"]=173]="TypeLiteral";S[S["ArrayType"]=174]="ArrayType";S[S["TupleType"]=175]="TupleType";S[S["OptionalType"]=176]="OptionalType";S[S["RestType"]=177]="RestType";S[S["UnionType"]=178]="UnionType";S[S["IntersectionType"]=179]="IntersectionType";S[S["ConditionalType"]=180]="ConditionalType";S[S["InferType"]=181]="InferType";S[S["ParenthesizedType"]=182]="ParenthesizedType";S[S["ThisType"]=183]="ThisType";S[S["TypeOperator"]=184]="TypeOperator";S[S["IndexedAccessType"]=185]="IndexedAccessType";S[S["MappedType"]=186]="MappedType";S[S["LiteralType"]=187]="LiteralType";S[S["ImportType"]=188]="ImportType";S[S["ObjectBindingPattern"]=189]="ObjectBindingPattern";S[S["ArrayBindingPattern"]=190]="ArrayBindingPattern";S[S["BindingElement"]=191]="BindingElement";S[S["ArrayLiteralExpression"]=192]="ArrayLiteralExpression";S[S["ObjectLiteralExpression"]=193]="ObjectLiteralExpression";S[S["PropertyAccessExpression"]=194]="PropertyAccessExpression";S[S["ElementAccessExpression"]=195]="ElementAccessExpression";S[S["CallExpression"]=196]="CallExpression";S[S["NewExpression"]=197]="NewExpression";S[S["TaggedTemplateExpression"]=198]="TaggedTemplateExpression";S[S["TypeAssertionExpression"]=199]="TypeAssertionExpression";S[S["ParenthesizedExpression"]=200]="ParenthesizedExpression";S[S["FunctionExpression"]=201]="FunctionExpression";S[S["ArrowFunction"]=202]="ArrowFunction";S[S["DeleteExpression"]=203]="DeleteExpression";S[S["TypeOfExpression"]=204]="TypeOfExpression";S[S["VoidExpression"]=205]="VoidExpression";S[S["AwaitExpression"]=206]="AwaitExpression";S[S["PrefixUnaryExpression"]=207]="PrefixUnaryExpression";S[S["PostfixUnaryExpression"]=208]="PostfixUnaryExpression";S[S["BinaryExpression"]=209]="BinaryExpression";S[S["ConditionalExpression"]=210]="ConditionalExpression";S[S["TemplateExpression"]=211]="TemplateExpression";S[S["YieldExpression"]=212]="YieldExpression";S[S["SpreadElement"]=213]="SpreadElement";S[S["ClassExpression"]=214]="ClassExpression";S[S["OmittedExpression"]=215]="OmittedExpression";S[S["ExpressionWithTypeArguments"]=216]="ExpressionWithTypeArguments";S[S["AsExpression"]=217]="AsExpression";S[S["NonNullExpression"]=218]="NonNullExpression";S[S["MetaProperty"]=219]="MetaProperty";S[S["SyntheticExpression"]=220]="SyntheticExpression";S[S["TemplateSpan"]=221]="TemplateSpan";S[S["SemicolonClassElement"]=222]="SemicolonClassElement";S[S["Block"]=223]="Block";S[S["EmptyStatement"]=224]="EmptyStatement";S[S["VariableStatement"]=225]="VariableStatement";S[S["ExpressionStatement"]=226]="ExpressionStatement";S[S["IfStatement"]=227]="IfStatement";S[S["DoStatement"]=228]="DoStatement";S[S["WhileStatement"]=229]="WhileStatement";S[S["ForStatement"]=230]="ForStatement";S[S["ForInStatement"]=231]="ForInStatement";S[S["ForOfStatement"]=232]="ForOfStatement";S[S["ContinueStatement"]=233]="ContinueStatement";S[S["BreakStatement"]=234]="BreakStatement";S[S["ReturnStatement"]=235]="ReturnStatement";S[S["WithStatement"]=236]="WithStatement";S[S["SwitchStatement"]=237]="SwitchStatement";S[S["LabeledStatement"]=238]="LabeledStatement";S[S["ThrowStatement"]=239]="ThrowStatement";S[S["TryStatement"]=240]="TryStatement";S[S["DebuggerStatement"]=241]="DebuggerStatement";S[S["VariableDeclaration"]=242]="VariableDeclaration";S[S["VariableDeclarationList"]=243]="VariableDeclarationList";S[S["FunctionDeclaration"]=244]="FunctionDeclaration";S[S["ClassDeclaration"]=245]="ClassDeclaration";S[S["InterfaceDeclaration"]=246]="InterfaceDeclaration";S[S["TypeAliasDeclaration"]=247]="TypeAliasDeclaration";S[S["EnumDeclaration"]=248]="EnumDeclaration";S[S["ModuleDeclaration"]=249]="ModuleDeclaration";S[S["ModuleBlock"]=250]="ModuleBlock";S[S["CaseBlock"]=251]="CaseBlock";S[S["NamespaceExportDeclaration"]=252]="NamespaceExportDeclaration";S[S["ImportEqualsDeclaration"]=253]="ImportEqualsDeclaration";S[S["ImportDeclaration"]=254]="ImportDeclaration";S[S["ImportClause"]=255]="ImportClause";S[S["NamespaceImport"]=256]="NamespaceImport";S[S["NamedImports"]=257]="NamedImports";S[S["ImportSpecifier"]=258]="ImportSpecifier";S[S["ExportAssignment"]=259]="ExportAssignment";S[S["ExportDeclaration"]=260]="ExportDeclaration";S[S["NamedExports"]=261]="NamedExports";S[S["NamespaceExport"]=262]="NamespaceExport";S[S["ExportSpecifier"]=263]="ExportSpecifier";S[S["MissingDeclaration"]=264]="MissingDeclaration";S[S["ExternalModuleReference"]=265]="ExternalModuleReference";S[S["JsxElement"]=266]="JsxElement";S[S["JsxSelfClosingElement"]=267]="JsxSelfClosingElement";S[S["JsxOpeningElement"]=268]="JsxOpeningElement";S[S["JsxClosingElement"]=269]="JsxClosingElement";S[S["JsxFragment"]=270]="JsxFragment";S[S["JsxOpeningFragment"]=271]="JsxOpeningFragment";S[S["JsxClosingFragment"]=272]="JsxClosingFragment";S[S["JsxAttribute"]=273]="JsxAttribute";S[S["JsxAttributes"]=274]="JsxAttributes";S[S["JsxSpreadAttribute"]=275]="JsxSpreadAttribute";S[S["JsxExpression"]=276]="JsxExpression";S[S["CaseClause"]=277]="CaseClause";S[S["DefaultClause"]=278]="DefaultClause";S[S["HeritageClause"]=279]="HeritageClause";S[S["CatchClause"]=280]="CatchClause";S[S["PropertyAssignment"]=281]="PropertyAssignment";S[S["ShorthandPropertyAssignment"]=282]="ShorthandPropertyAssignment";S[S["SpreadAssignment"]=283]="SpreadAssignment";S[S["EnumMember"]=284]="EnumMember";S[S["UnparsedPrologue"]=285]="UnparsedPrologue";S[S["UnparsedPrepend"]=286]="UnparsedPrepend";S[S["UnparsedText"]=287]="UnparsedText";S[S["UnparsedInternalText"]=288]="UnparsedInternalText";S[S["UnparsedSyntheticReference"]=289]="UnparsedSyntheticReference";S[S["SourceFile"]=290]="SourceFile";S[S["Bundle"]=291]="Bundle";S[S["UnparsedSource"]=292]="UnparsedSource";S[S["InputFiles"]=293]="InputFiles";S[S["JSDocTypeExpression"]=294]="JSDocTypeExpression";S[S["JSDocAllType"]=295]="JSDocAllType";S[S["JSDocUnknownType"]=296]="JSDocUnknownType";S[S["JSDocNullableType"]=297]="JSDocNullableType";S[S["JSDocNonNullableType"]=298]="JSDocNonNullableType";S[S["JSDocOptionalType"]=299]="JSDocOptionalType";S[S["JSDocFunctionType"]=300]="JSDocFunctionType";S[S["JSDocVariadicType"]=301]="JSDocVariadicType";S[S["JSDocNamepathType"]=302]="JSDocNamepathType";S[S["JSDocComment"]=303]="JSDocComment";S[S["JSDocTypeLiteral"]=304]="JSDocTypeLiteral";S[S["JSDocSignature"]=305]="JSDocSignature";S[S["JSDocTag"]=306]="JSDocTag";S[S["JSDocAugmentsTag"]=307]="JSDocAugmentsTag";S[S["JSDocImplementsTag"]=308]="JSDocImplementsTag";S[S["JSDocAuthorTag"]=309]="JSDocAuthorTag";S[S["JSDocClassTag"]=310]="JSDocClassTag";S[S["JSDocPublicTag"]=311]="JSDocPublicTag";S[S["JSDocPrivateTag"]=312]="JSDocPrivateTag";S[S["JSDocProtectedTag"]=313]="JSDocProtectedTag";S[S["JSDocReadonlyTag"]=314]="JSDocReadonlyTag";S[S["JSDocCallbackTag"]=315]="JSDocCallbackTag";S[S["JSDocEnumTag"]=316]="JSDocEnumTag";S[S["JSDocParameterTag"]=317]="JSDocParameterTag";S[S["JSDocReturnTag"]=318]="JSDocReturnTag";S[S["JSDocThisTag"]=319]="JSDocThisTag";S[S["JSDocTypeTag"]=320]="JSDocTypeTag";S[S["JSDocTemplateTag"]=321]="JSDocTemplateTag";S[S["JSDocTypedefTag"]=322]="JSDocTypedefTag";S[S["JSDocPropertyTag"]=323]="JSDocPropertyTag";S[S["SyntaxList"]=324]="SyntaxList";S[S["NotEmittedStatement"]=325]="NotEmittedStatement";S[S["PartiallyEmittedExpression"]=326]="PartiallyEmittedExpression";S[S["CommaListExpression"]=327]="CommaListExpression";S[S["MergeDeclarationMarker"]=328]="MergeDeclarationMarker";S[S["EndOfDeclarationMarker"]=329]="EndOfDeclarationMarker";S[S["SyntheticReferenceExpression"]=330]="SyntheticReferenceExpression";S[S["Count"]=331]="Count";S[S["FirstAssignment"]=62]="FirstAssignment";S[S["LastAssignment"]=74]="LastAssignment";S[S["FirstCompoundAssignment"]=63]="FirstCompoundAssignment";S[S["LastCompoundAssignment"]=74]="LastCompoundAssignment";S[S["FirstReservedWord"]=77]="FirstReservedWord";S[S["LastReservedWord"]=112]="LastReservedWord";S[S["FirstKeyword"]=77]="FirstKeyword";S[S["LastKeyword"]=152]="LastKeyword";S[S["FirstFutureReservedWord"]=113]="FirstFutureReservedWord";S[S["LastFutureReservedWord"]=121]="LastFutureReservedWord";S[S["FirstTypeNode"]=168]="FirstTypeNode";S[S["LastTypeNode"]=188]="LastTypeNode";S[S["FirstPunctuation"]=18]="FirstPunctuation";S[S["LastPunctuation"]=74]="LastPunctuation";S[S["FirstToken"]=0]="FirstToken";S[S["LastToken"]=152]="LastToken";S[S["FirstTriviaToken"]=2]="FirstTriviaToken";S[S["LastTriviaToken"]=7]="LastTriviaToken";S[S["FirstLiteralToken"]=8]="FirstLiteralToken";S[S["LastLiteralToken"]=14]="LastLiteralToken";S[S["FirstTemplateToken"]=14]="FirstTemplateToken";S[S["LastTemplateToken"]=17]="LastTemplateToken";S[S["FirstBinaryOperator"]=29]="FirstBinaryOperator";S[S["LastBinaryOperator"]=74]="LastBinaryOperator";S[S["FirstStatement"]=225]="FirstStatement";S[S["LastStatement"]=241]="LastStatement";S[S["FirstNode"]=153]="FirstNode";S[S["FirstJSDocNode"]=294]="FirstJSDocNode";S[S["LastJSDocNode"]=323]="LastJSDocNode";S[S["FirstJSDocTagNode"]=306]="FirstJSDocTagNode";S[S["LastJSDocTagNode"]=323]="LastJSDocTagNode";S[S["FirstContextualKeyword"]=122]="FirstContextualKeyword";S[S["LastContextualKeyword"]=152]="LastContextualKeyword"})(E=S.SyntaxKind||(S.SyntaxKind={}));var k;(function(S){S[S["None"]=0]="None";S[S["Let"]=1]="Let";S[S["Const"]=2]="Const";S[S["NestedNamespace"]=4]="NestedNamespace";S[S["Synthesized"]=8]="Synthesized";S[S["Namespace"]=16]="Namespace";S[S["OptionalChain"]=32]="OptionalChain";S[S["ExportContext"]=64]="ExportContext";S[S["ContainsThis"]=128]="ContainsThis";S[S["HasImplicitReturn"]=256]="HasImplicitReturn";S[S["HasExplicitReturn"]=512]="HasExplicitReturn";S[S["GlobalAugmentation"]=1024]="GlobalAugmentation";S[S["HasAsyncFunctions"]=2048]="HasAsyncFunctions";S[S["DisallowInContext"]=4096]="DisallowInContext";S[S["YieldContext"]=8192]="YieldContext";S[S["DecoratorContext"]=16384]="DecoratorContext";S[S["AwaitContext"]=32768]="AwaitContext";S[S["ThisNodeHasError"]=65536]="ThisNodeHasError";S[S["JavaScriptFile"]=131072]="JavaScriptFile";S[S["ThisNodeOrAnySubNodesHasError"]=262144]="ThisNodeOrAnySubNodesHasError";S[S["HasAggregatedChildData"]=524288]="HasAggregatedChildData";S[S["PossiblyContainsDynamicImport"]=1048576]="PossiblyContainsDynamicImport";S[S["PossiblyContainsImportMeta"]=2097152]="PossiblyContainsImportMeta";S[S["JSDoc"]=4194304]="JSDoc";S[S["Ambient"]=8388608]="Ambient";S[S["InWithStatement"]=16777216]="InWithStatement";S[S["JsonFile"]=33554432]="JsonFile";S[S["TypeCached"]=67108864]="TypeCached";S[S["BlockScoped"]=3]="BlockScoped";S[S["ReachabilityCheckFlags"]=768]="ReachabilityCheckFlags";S[S["ReachabilityAndEmitFlags"]=2816]="ReachabilityAndEmitFlags";S[S["ContextFlags"]=25358336]="ContextFlags";S[S["TypeExcludesFlags"]=40960]="TypeExcludesFlags";S[S["PermanentlySetIncrementalFlags"]=3145728]="PermanentlySetIncrementalFlags"})(k=S.NodeFlags||(S.NodeFlags={}));var w;(function(S){S[S["None"]=0]="None";S[S["Export"]=1]="Export";S[S["Ambient"]=2]="Ambient";S[S["Public"]=4]="Public";S[S["Private"]=8]="Private";S[S["Protected"]=16]="Protected";S[S["Static"]=32]="Static";S[S["Readonly"]=64]="Readonly";S[S["Abstract"]=128]="Abstract";S[S["Async"]=256]="Async";S[S["Default"]=512]="Default";S[S["Const"]=2048]="Const";S[S["HasComputedFlags"]=536870912]="HasComputedFlags";S[S["AccessibilityModifier"]=28]="AccessibilityModifier";S[S["ParameterPropertyModifier"]=92]="ParameterPropertyModifier";S[S["NonPublicAccessibilityModifier"]=24]="NonPublicAccessibilityModifier";S[S["TypeScriptModifier"]=2270]="TypeScriptModifier";S[S["ExportDefault"]=513]="ExportDefault";S[S["All"]=3071]="All"})(w=S.ModifierFlags||(S.ModifierFlags={}));var N;(function(S){S[S["None"]=0]="None";S[S["IntrinsicNamedElement"]=1]="IntrinsicNamedElement";S[S["IntrinsicIndexedElement"]=2]="IntrinsicIndexedElement";S[S["IntrinsicElement"]=3]="IntrinsicElement"})(N=S.JsxFlags||(S.JsxFlags={}));var j;(function(S){S[S["Succeeded"]=1]="Succeeded";S[S["Failed"]=2]="Failed";S[S["Reported"]=4]="Reported";S[S["ReportsUnmeasurable"]=8]="ReportsUnmeasurable";S[S["ReportsUnreliable"]=16]="ReportsUnreliable";S[S["ReportsMask"]=24]="ReportsMask"})(j=S.RelationComparisonResult||(S.RelationComparisonResult={}));var q;(function(S){S[S["None"]=0]="None";S[S["Auto"]=1]="Auto";S[S["Loop"]=2]="Loop";S[S["Unique"]=3]="Unique";S[S["Node"]=4]="Node";S[S["KindMask"]=7]="KindMask";S[S["ReservedInNestedScopes"]=8]="ReservedInNestedScopes";S[S["Optimistic"]=16]="Optimistic";S[S["FileLevel"]=32]="FileLevel"})(q=S.GeneratedIdentifierFlags||(S.GeneratedIdentifierFlags={}));var ee;(function(S){S[S["None"]=0]="None";S[S["PrecedingLineBreak"]=1]="PrecedingLineBreak";S[S["PrecedingJSDocComment"]=2]="PrecedingJSDocComment";S[S["Unterminated"]=4]="Unterminated";S[S["ExtendedUnicodeEscape"]=8]="ExtendedUnicodeEscape";S[S["Scientific"]=16]="Scientific";S[S["Octal"]=32]="Octal";S[S["HexSpecifier"]=64]="HexSpecifier";S[S["BinarySpecifier"]=128]="BinarySpecifier";S[S["OctalSpecifier"]=256]="OctalSpecifier";S[S["ContainsSeparator"]=512]="ContainsSeparator";S[S["UnicodeEscape"]=1024]="UnicodeEscape";S[S["ContainsInvalidEscape"]=2048]="ContainsInvalidEscape";S[S["BinaryOrOctalSpecifier"]=384]="BinaryOrOctalSpecifier";S[S["NumericLiteralFlags"]=1008]="NumericLiteralFlags"})(ee=S.TokenFlags||(S.TokenFlags={}));var te;(function(S){S[S["Unreachable"]=1]="Unreachable";S[S["Start"]=2]="Start";S[S["BranchLabel"]=4]="BranchLabel";S[S["LoopLabel"]=8]="LoopLabel";S[S["Assignment"]=16]="Assignment";S[S["TrueCondition"]=32]="TrueCondition";S[S["FalseCondition"]=64]="FalseCondition";S[S["SwitchClause"]=128]="SwitchClause";S[S["ArrayMutation"]=256]="ArrayMutation";S[S["Call"]=512]="Call";S[S["ReduceLabel"]=1024]="ReduceLabel";S[S["Referenced"]=2048]="Referenced";S[S["Shared"]=4096]="Shared";S[S["Label"]=12]="Label";S[S["Condition"]=96]="Condition"})(te=S.FlowFlags||(S.FlowFlags={}));var ne;(function(S){S[S["ExpectError"]=0]="ExpectError";S[S["Ignore"]=1]="Ignore"})(ne=S.CommentDirectiveType||(S.CommentDirectiveType={}));var ae=function(){function OperationCanceledException(){}return OperationCanceledException}();S.OperationCanceledException=ae;var _e;(function(S){S[S["Import"]=0]="Import";S[S["ReferenceFile"]=1]="ReferenceFile";S[S["TypeReferenceDirective"]=2]="TypeReferenceDirective"})(_e=S.RefFileKind||(S.RefFileKind={}));var ve;(function(S){S[S["Not"]=0]="Not";S[S["SafeModules"]=1]="SafeModules";S[S["Completely"]=2]="Completely"})(ve=S.StructureIsReused||(S.StructureIsReused={}));var Ee;(function(S){S[S["Success"]=0]="Success";S[S["DiagnosticsPresent_OutputsSkipped"]=1]="DiagnosticsPresent_OutputsSkipped";S[S["DiagnosticsPresent_OutputsGenerated"]=2]="DiagnosticsPresent_OutputsGenerated";S[S["InvalidProject_OutputsSkipped"]=3]="InvalidProject_OutputsSkipped";S[S["ProjectReferenceCycle_OutputsSkipped"]=4]="ProjectReferenceCycle_OutputsSkipped";S[S["ProjectReferenceCycle_OutputsSkupped"]=4]="ProjectReferenceCycle_OutputsSkupped"})(Ee=S.ExitStatus||(S.ExitStatus={}));var Te;(function(S){S[S["None"]=0]="None";S[S["Literal"]=1]="Literal";S[S["Subtype"]=2]="Subtype"})(Te=S.UnionReduction||(S.UnionReduction={}));var Ce;(function(S){S[S["None"]=0]="None";S[S["Signature"]=1]="Signature";S[S["NoConstraints"]=2]="NoConstraints";S[S["Completions"]=4]="Completions"})(Ce=S.ContextFlags||(S.ContextFlags={}));var we;(function(S){S[S["None"]=0]="None";S[S["NoTruncation"]=1]="NoTruncation";S[S["WriteArrayAsGenericType"]=2]="WriteArrayAsGenericType";S[S["GenerateNamesForShadowedTypeParams"]=4]="GenerateNamesForShadowedTypeParams";S[S["UseStructuralFallback"]=8]="UseStructuralFallback";S[S["ForbidIndexedAccessSymbolReferences"]=16]="ForbidIndexedAccessSymbolReferences";S[S["WriteTypeArgumentsOfSignature"]=32]="WriteTypeArgumentsOfSignature";S[S["UseFullyQualifiedType"]=64]="UseFullyQualifiedType";S[S["UseOnlyExternalAliasing"]=128]="UseOnlyExternalAliasing";S[S["SuppressAnyReturnType"]=256]="SuppressAnyReturnType";S[S["WriteTypeParametersInQualifiedName"]=512]="WriteTypeParametersInQualifiedName";S[S["MultilineObjectLiterals"]=1024]="MultilineObjectLiterals";S[S["WriteClassExpressionAsTypeLiteral"]=2048]="WriteClassExpressionAsTypeLiteral";S[S["UseTypeOfFunction"]=4096]="UseTypeOfFunction";S[S["OmitParameterModifiers"]=8192]="OmitParameterModifiers";S[S["UseAliasDefinedOutsideCurrentScope"]=16384]="UseAliasDefinedOutsideCurrentScope";S[S["UseSingleQuotesForStringLiteralType"]=268435456]="UseSingleQuotesForStringLiteralType";S[S["NoTypeReduction"]=536870912]="NoTypeReduction";S[S["AllowThisInObjectLiteral"]=32768]="AllowThisInObjectLiteral";S[S["AllowQualifedNameInPlaceOfIdentifier"]=65536]="AllowQualifedNameInPlaceOfIdentifier";S[S["AllowAnonymousIdentifier"]=131072]="AllowAnonymousIdentifier";S[S["AllowEmptyUnionOrIntersection"]=262144]="AllowEmptyUnionOrIntersection";S[S["AllowEmptyTuple"]=524288]="AllowEmptyTuple";S[S["AllowUniqueESSymbolType"]=1048576]="AllowUniqueESSymbolType";S[S["AllowEmptyIndexInfoType"]=2097152]="AllowEmptyIndexInfoType";S[S["AllowNodeModulesRelativePaths"]=67108864]="AllowNodeModulesRelativePaths";S[S["DoNotIncludeSymbolChain"]=134217728]="DoNotIncludeSymbolChain";S[S["IgnoreErrors"]=70221824]="IgnoreErrors";S[S["InObjectTypeLiteral"]=4194304]="InObjectTypeLiteral";S[S["InTypeAlias"]=8388608]="InTypeAlias";S[S["InInitialEntityName"]=16777216]="InInitialEntityName";S[S["InReverseMappedType"]=33554432]="InReverseMappedType"})(we=S.NodeBuilderFlags||(S.NodeBuilderFlags={}));var Ne;(function(S){S[S["None"]=0]="None";S[S["NoTruncation"]=1]="NoTruncation";S[S["WriteArrayAsGenericType"]=2]="WriteArrayAsGenericType";S[S["UseStructuralFallback"]=8]="UseStructuralFallback";S[S["WriteTypeArgumentsOfSignature"]=32]="WriteTypeArgumentsOfSignature";S[S["UseFullyQualifiedType"]=64]="UseFullyQualifiedType";S[S["SuppressAnyReturnType"]=256]="SuppressAnyReturnType";S[S["MultilineObjectLiterals"]=1024]="MultilineObjectLiterals";S[S["WriteClassExpressionAsTypeLiteral"]=2048]="WriteClassExpressionAsTypeLiteral";S[S["UseTypeOfFunction"]=4096]="UseTypeOfFunction";S[S["OmitParameterModifiers"]=8192]="OmitParameterModifiers";S[S["UseAliasDefinedOutsideCurrentScope"]=16384]="UseAliasDefinedOutsideCurrentScope";S[S["UseSingleQuotesForStringLiteralType"]=268435456]="UseSingleQuotesForStringLiteralType";S[S["NoTypeReduction"]=536870912]="NoTypeReduction";S[S["AllowUniqueESSymbolType"]=1048576]="AllowUniqueESSymbolType";S[S["AddUndefined"]=131072]="AddUndefined";S[S["WriteArrowStyleSignature"]=262144]="WriteArrowStyleSignature";S[S["InArrayType"]=524288]="InArrayType";S[S["InElementType"]=2097152]="InElementType";S[S["InFirstTypeArgument"]=4194304]="InFirstTypeArgument";S[S["InTypeAlias"]=8388608]="InTypeAlias";S[S["WriteOwnNameForAnyLike"]=0]="WriteOwnNameForAnyLike";S[S["NodeBuilderFlagsMask"]=814775659]="NodeBuilderFlagsMask"})(Ne=S.TypeFormatFlags||(S.TypeFormatFlags={}));var Ie;(function(S){S[S["None"]=0]="None";S[S["WriteTypeParametersOrArguments"]=1]="WriteTypeParametersOrArguments";S[S["UseOnlyExternalAliasing"]=2]="UseOnlyExternalAliasing";S[S["AllowAnyNodeKind"]=4]="AllowAnyNodeKind";S[S["UseAliasDefinedOutsideCurrentScope"]=8]="UseAliasDefinedOutsideCurrentScope";S[S["DoNotIncludeSymbolChain"]=16]="DoNotIncludeSymbolChain"})(Ie=S.SymbolFormatFlags||(S.SymbolFormatFlags={}));var Fe;(function(S){S[S["Accessible"]=0]="Accessible";S[S["NotAccessible"]=1]="NotAccessible";S[S["CannotBeNamed"]=2]="CannotBeNamed"})(Fe=S.SymbolAccessibility||(S.SymbolAccessibility={}));var Oe;(function(S){S[S["UnionOrIntersection"]=0]="UnionOrIntersection";S[S["Spread"]=1]="Spread"})(Oe=S.SyntheticSymbolKind||(S.SyntheticSymbolKind={}));var Me;(function(S){S[S["This"]=0]="This";S[S["Identifier"]=1]="Identifier";S[S["AssertsThis"]=2]="AssertsThis";S[S["AssertsIdentifier"]=3]="AssertsIdentifier"})(Me=S.TypePredicateKind||(S.TypePredicateKind={}));var Re;(function(S){S[S["Unknown"]=0]="Unknown";S[S["TypeWithConstructSignatureAndValue"]=1]="TypeWithConstructSignatureAndValue";S[S["VoidNullableOrNeverType"]=2]="VoidNullableOrNeverType";S[S["NumberLikeType"]=3]="NumberLikeType";S[S["BigIntLikeType"]=4]="BigIntLikeType";S[S["StringLikeType"]=5]="StringLikeType";S[S["BooleanType"]=6]="BooleanType";S[S["ArrayLikeType"]=7]="ArrayLikeType";S[S["ESSymbolType"]=8]="ESSymbolType";S[S["Promise"]=9]="Promise";S[S["TypeWithCallSignature"]=10]="TypeWithCallSignature";S[S["ObjectType"]=11]="ObjectType"})(Re=S.TypeReferenceSerializationKind||(S.TypeReferenceSerializationKind={}));var Le;(function(S){S[S["None"]=0]="None";S[S["FunctionScopedVariable"]=1]="FunctionScopedVariable";S[S["BlockScopedVariable"]=2]="BlockScopedVariable";S[S["Property"]=4]="Property";S[S["EnumMember"]=8]="EnumMember";S[S["Function"]=16]="Function";S[S["Class"]=32]="Class";S[S["Interface"]=64]="Interface";S[S["ConstEnum"]=128]="ConstEnum";S[S["RegularEnum"]=256]="RegularEnum";S[S["ValueModule"]=512]="ValueModule";S[S["NamespaceModule"]=1024]="NamespaceModule";S[S["TypeLiteral"]=2048]="TypeLiteral";S[S["ObjectLiteral"]=4096]="ObjectLiteral";S[S["Method"]=8192]="Method";S[S["Constructor"]=16384]="Constructor";S[S["GetAccessor"]=32768]="GetAccessor";S[S["SetAccessor"]=65536]="SetAccessor";S[S["Signature"]=131072]="Signature";S[S["TypeParameter"]=262144]="TypeParameter";S[S["TypeAlias"]=524288]="TypeAlias";S[S["ExportValue"]=1048576]="ExportValue";S[S["Alias"]=2097152]="Alias";S[S["Prototype"]=4194304]="Prototype";S[S["ExportStar"]=8388608]="ExportStar";S[S["Optional"]=16777216]="Optional";S[S["Transient"]=33554432]="Transient";S[S["Assignment"]=67108864]="Assignment";S[S["ModuleExports"]=134217728]="ModuleExports";S[S["All"]=67108863]="All";S[S["Enum"]=384]="Enum";S[S["Variable"]=3]="Variable";S[S["Value"]=111551]="Value";S[S["Type"]=788968]="Type";S[S["Namespace"]=1920]="Namespace";S[S["Module"]=1536]="Module";S[S["Accessor"]=98304]="Accessor";S[S["FunctionScopedVariableExcludes"]=111550]="FunctionScopedVariableExcludes";S[S["BlockScopedVariableExcludes"]=111551]="BlockScopedVariableExcludes";S[S["ParameterExcludes"]=111551]="ParameterExcludes";S[S["PropertyExcludes"]=0]="PropertyExcludes";S[S["EnumMemberExcludes"]=900095]="EnumMemberExcludes";S[S["FunctionExcludes"]=110991]="FunctionExcludes";S[S["ClassExcludes"]=899503]="ClassExcludes";S[S["InterfaceExcludes"]=788872]="InterfaceExcludes";S[S["RegularEnumExcludes"]=899327]="RegularEnumExcludes";S[S["ConstEnumExcludes"]=899967]="ConstEnumExcludes";S[S["ValueModuleExcludes"]=110735]="ValueModuleExcludes";S[S["NamespaceModuleExcludes"]=0]="NamespaceModuleExcludes";S[S["MethodExcludes"]=103359]="MethodExcludes";S[S["GetAccessorExcludes"]=46015]="GetAccessorExcludes";S[S["SetAccessorExcludes"]=78783]="SetAccessorExcludes";S[S["TypeParameterExcludes"]=526824]="TypeParameterExcludes";S[S["TypeAliasExcludes"]=788968]="TypeAliasExcludes";S[S["AliasExcludes"]=2097152]="AliasExcludes";S[S["ModuleMember"]=2623475]="ModuleMember";S[S["ExportHasLocal"]=944]="ExportHasLocal";S[S["BlockScoped"]=418]="BlockScoped";S[S["PropertyOrAccessor"]=98308]="PropertyOrAccessor";S[S["ClassMember"]=106500]="ClassMember";S[S["ExportSupportsDefaultModifier"]=112]="ExportSupportsDefaultModifier";S[S["ExportDoesNotSupportDefaultModifier"]=-113]="ExportDoesNotSupportDefaultModifier";S[S["Classifiable"]=2885600]="Classifiable";S[S["LateBindingContainer"]=6256]="LateBindingContainer"})(Le=S.SymbolFlags||(S.SymbolFlags={}));var Be;(function(S){S[S["Numeric"]=0]="Numeric";S[S["Literal"]=1]="Literal"})(Be=S.EnumKind||(S.EnumKind={}));var je;(function(S){S[S["Instantiated"]=1]="Instantiated";S[S["SyntheticProperty"]=2]="SyntheticProperty";S[S["SyntheticMethod"]=4]="SyntheticMethod";S[S["Readonly"]=8]="Readonly";S[S["ReadPartial"]=16]="ReadPartial";S[S["WritePartial"]=32]="WritePartial";S[S["HasNonUniformType"]=64]="HasNonUniformType";S[S["HasLiteralType"]=128]="HasLiteralType";S[S["ContainsPublic"]=256]="ContainsPublic";S[S["ContainsProtected"]=512]="ContainsProtected";S[S["ContainsPrivate"]=1024]="ContainsPrivate";S[S["ContainsStatic"]=2048]="ContainsStatic";S[S["Late"]=4096]="Late";S[S["ReverseMapped"]=8192]="ReverseMapped";S[S["OptionalParameter"]=16384]="OptionalParameter";S[S["RestParameter"]=32768]="RestParameter";S[S["DeferredType"]=65536]="DeferredType";S[S["HasNeverType"]=131072]="HasNeverType";S[S["Mapped"]=262144]="Mapped";S[S["StripOptional"]=524288]="StripOptional";S[S["Synthetic"]=6]="Synthetic";S[S["Discriminant"]=192]="Discriminant";S[S["Partial"]=48]="Partial"})(je=S.CheckFlags||(S.CheckFlags={}));var ze;(function(S){S["Call"]="__call";S["Constructor"]="__constructor";S["New"]="__new";S["Index"]="__index";S["ExportStar"]="__export";S["Global"]="__global";S["Missing"]="__missing";S["Type"]="__type";S["Object"]="__object";S["JSXAttributes"]="__jsxAttributes";S["Class"]="__class";S["Function"]="__function";S["Computed"]="__computed";S["Resolving"]="__resolving__";S["ExportEquals"]="export=";S["Default"]="default";S["This"]="this"})(ze=S.InternalSymbolName||(S.InternalSymbolName={}));var Ue;(function(S){S[S["TypeChecked"]=1]="TypeChecked";S[S["LexicalThis"]=2]="LexicalThis";S[S["CaptureThis"]=4]="CaptureThis";S[S["CaptureNewTarget"]=8]="CaptureNewTarget";S[S["SuperInstance"]=256]="SuperInstance";S[S["SuperStatic"]=512]="SuperStatic";S[S["ContextChecked"]=1024]="ContextChecked";S[S["AsyncMethodWithSuper"]=2048]="AsyncMethodWithSuper";S[S["AsyncMethodWithSuperBinding"]=4096]="AsyncMethodWithSuperBinding";S[S["CaptureArguments"]=8192]="CaptureArguments";S[S["EnumValuesComputed"]=16384]="EnumValuesComputed";S[S["LexicalModuleMergesWithClass"]=32768]="LexicalModuleMergesWithClass";S[S["LoopWithCapturedBlockScopedBinding"]=65536]="LoopWithCapturedBlockScopedBinding";S[S["ContainsCapturedBlockScopeBinding"]=131072]="ContainsCapturedBlockScopeBinding";S[S["CapturedBlockScopedBinding"]=262144]="CapturedBlockScopedBinding";S[S["BlockScopedBindingInLoop"]=524288]="BlockScopedBindingInLoop";S[S["ClassWithBodyScopedClassBinding"]=1048576]="ClassWithBodyScopedClassBinding";S[S["BodyScopedClassBinding"]=2097152]="BodyScopedClassBinding";S[S["NeedsLoopOutParameter"]=4194304]="NeedsLoopOutParameter";S[S["AssignmentsMarked"]=8388608]="AssignmentsMarked";S[S["ClassWithConstructorReference"]=16777216]="ClassWithConstructorReference";S[S["ConstructorReferenceInClass"]=33554432]="ConstructorReferenceInClass";S[S["ContainsClassWithPrivateIdentifiers"]=67108864]="ContainsClassWithPrivateIdentifiers"})(Ue=S.NodeCheckFlags||(S.NodeCheckFlags={}));var We;(function(S){S[S["Any"]=1]="Any";S[S["Unknown"]=2]="Unknown";S[S["String"]=4]="String";S[S["Number"]=8]="Number";S[S["Boolean"]=16]="Boolean";S[S["Enum"]=32]="Enum";S[S["BigInt"]=64]="BigInt";S[S["StringLiteral"]=128]="StringLiteral";S[S["NumberLiteral"]=256]="NumberLiteral";S[S["BooleanLiteral"]=512]="BooleanLiteral";S[S["EnumLiteral"]=1024]="EnumLiteral";S[S["BigIntLiteral"]=2048]="BigIntLiteral";S[S["ESSymbol"]=4096]="ESSymbol";S[S["UniqueESSymbol"]=8192]="UniqueESSymbol";S[S["Void"]=16384]="Void";S[S["Undefined"]=32768]="Undefined";S[S["Null"]=65536]="Null";S[S["Never"]=131072]="Never";S[S["TypeParameter"]=262144]="TypeParameter";S[S["Object"]=524288]="Object";S[S["Union"]=1048576]="Union";S[S["Intersection"]=2097152]="Intersection";S[S["Index"]=4194304]="Index";S[S["IndexedAccess"]=8388608]="IndexedAccess";S[S["Conditional"]=16777216]="Conditional";S[S["Substitution"]=33554432]="Substitution";S[S["NonPrimitive"]=67108864]="NonPrimitive";S[S["AnyOrUnknown"]=3]="AnyOrUnknown";S[S["Nullable"]=98304]="Nullable";S[S["Literal"]=2944]="Literal";S[S["Unit"]=109440]="Unit";S[S["StringOrNumberLiteral"]=384]="StringOrNumberLiteral";S[S["StringOrNumberLiteralOrUnique"]=8576]="StringOrNumberLiteralOrUnique";S[S["DefinitelyFalsy"]=117632]="DefinitelyFalsy";S[S["PossiblyFalsy"]=117724]="PossiblyFalsy";S[S["Intrinsic"]=67359327]="Intrinsic";S[S["Primitive"]=131068]="Primitive";S[S["StringLike"]=132]="StringLike";S[S["NumberLike"]=296]="NumberLike";S[S["BigIntLike"]=2112]="BigIntLike";S[S["BooleanLike"]=528]="BooleanLike";S[S["EnumLike"]=1056]="EnumLike";S[S["ESSymbolLike"]=12288]="ESSymbolLike";S[S["VoidLike"]=49152]="VoidLike";S[S["DisjointDomains"]=67238908]="DisjointDomains";S[S["UnionOrIntersection"]=3145728]="UnionOrIntersection";S[S["StructuredType"]=3670016]="StructuredType";S[S["TypeVariable"]=8650752]="TypeVariable";S[S["InstantiableNonPrimitive"]=58982400]="InstantiableNonPrimitive";S[S["InstantiablePrimitive"]=4194304]="InstantiablePrimitive";S[S["Instantiable"]=63176704]="Instantiable";S[S["StructuredOrInstantiable"]=66846720]="StructuredOrInstantiable";S[S["ObjectFlagsType"]=3899393]="ObjectFlagsType";S[S["Simplifiable"]=25165824]="Simplifiable";S[S["Substructure"]=66584576]="Substructure";S[S["Narrowable"]=133970943]="Narrowable";S[S["NotUnionOrUnit"]=67637251]="NotUnionOrUnit";S[S["NotPrimitiveUnion"]=66994211]="NotPrimitiveUnion";S[S["IncludesMask"]=71041023]="IncludesMask";S[S["IncludesStructuredOrInstantiable"]=262144]="IncludesStructuredOrInstantiable";S[S["IncludesNonWideningType"]=4194304]="IncludesNonWideningType";S[S["IncludesWildcard"]=8388608]="IncludesWildcard";S[S["IncludesEmptyObject"]=16777216]="IncludesEmptyObject"})(We=S.TypeFlags||(S.TypeFlags={}));var $e;(function(S){S[S["Class"]=1]="Class";S[S["Interface"]=2]="Interface";S[S["Reference"]=4]="Reference";S[S["Tuple"]=8]="Tuple";S[S["Anonymous"]=16]="Anonymous";S[S["Mapped"]=32]="Mapped";S[S["Instantiated"]=64]="Instantiated";S[S["ObjectLiteral"]=128]="ObjectLiteral";S[S["EvolvingArray"]=256]="EvolvingArray";S[S["ObjectLiteralPatternWithComputedProperties"]=512]="ObjectLiteralPatternWithComputedProperties";S[S["ContainsSpread"]=1024]="ContainsSpread";S[S["ReverseMapped"]=2048]="ReverseMapped";S[S["JsxAttributes"]=4096]="JsxAttributes";S[S["MarkerType"]=8192]="MarkerType";S[S["JSLiteral"]=16384]="JSLiteral";S[S["FreshLiteral"]=32768]="FreshLiteral";S[S["ArrayLiteral"]=65536]="ArrayLiteral";S[S["ObjectRestType"]=131072]="ObjectRestType";S[S["PrimitiveUnion"]=262144]="PrimitiveUnion";S[S["ContainsWideningType"]=524288]="ContainsWideningType";S[S["ContainsObjectOrArrayLiteral"]=1048576]="ContainsObjectOrArrayLiteral";S[S["NonInferrableType"]=2097152]="NonInferrableType";S[S["IsGenericObjectTypeComputed"]=4194304]="IsGenericObjectTypeComputed";S[S["IsGenericObjectType"]=8388608]="IsGenericObjectType";S[S["IsGenericIndexTypeComputed"]=16777216]="IsGenericIndexTypeComputed";S[S["IsGenericIndexType"]=33554432]="IsGenericIndexType";S[S["CouldContainTypeVariablesComputed"]=67108864]="CouldContainTypeVariablesComputed";S[S["CouldContainTypeVariables"]=134217728]="CouldContainTypeVariables";S[S["ContainsIntersections"]=268435456]="ContainsIntersections";S[S["IsNeverIntersectionComputed"]=268435456]="IsNeverIntersectionComputed";S[S["IsNeverIntersection"]=536870912]="IsNeverIntersection";S[S["ClassOrInterface"]=3]="ClassOrInterface";S[S["RequiresWidening"]=1572864]="RequiresWidening";S[S["PropagatingFlags"]=3670016]="PropagatingFlags"})($e=S.ObjectFlags||(S.ObjectFlags={}));var qe;(function(S){S[S["Invariant"]=0]="Invariant";S[S["Covariant"]=1]="Covariant";S[S["Contravariant"]=2]="Contravariant";S[S["Bivariant"]=3]="Bivariant";S[S["Independent"]=4]="Independent";S[S["VarianceMask"]=7]="VarianceMask";S[S["Unmeasurable"]=8]="Unmeasurable";S[S["Unreliable"]=16]="Unreliable";S[S["AllowsStructuralFallback"]=24]="AllowsStructuralFallback"})(qe=S.VarianceFlags||(S.VarianceFlags={}));var Ve;(function(S){S[S["Component"]=0]="Component";S[S["Function"]=1]="Function";S[S["Mixed"]=2]="Mixed"})(Ve=S.JsxReferenceKind||(S.JsxReferenceKind={}));var He;(function(S){S[S["Call"]=0]="Call";S[S["Construct"]=1]="Construct"})(He=S.SignatureKind||(S.SignatureKind={}));var Ge;(function(S){S[S["None"]=0]="None";S[S["HasRestParameter"]=1]="HasRestParameter";S[S["HasLiteralTypes"]=2]="HasLiteralTypes";S[S["IsInnerCallChain"]=4]="IsInnerCallChain";S[S["IsOuterCallChain"]=8]="IsOuterCallChain";S[S["IsUntypedSignatureInJSFile"]=16]="IsUntypedSignatureInJSFile";S[S["PropagatingFlags"]=3]="PropagatingFlags";S[S["CallChainFlags"]=12]="CallChainFlags"})(Ge=S.SignatureFlags||(S.SignatureFlags={}));var Je;(function(S){S[S["String"]=0]="String";S[S["Number"]=1]="Number"})(Je=S.IndexKind||(S.IndexKind={}));var Ke;(function(S){S[S["Simple"]=0]="Simple";S[S["Array"]=1]="Array";S[S["Function"]=2]="Function";S[S["Composite"]=3]="Composite";S[S["Merged"]=4]="Merged"})(Ke=S.TypeMapKind||(S.TypeMapKind={}));var Qe;(function(S){S[S["NakedTypeVariable"]=1]="NakedTypeVariable";S[S["HomomorphicMappedType"]=2]="HomomorphicMappedType";S[S["PartialHomomorphicMappedType"]=4]="PartialHomomorphicMappedType";S[S["MappedTypeConstraint"]=8]="MappedTypeConstraint";S[S["ContravariantConditional"]=16]="ContravariantConditional";S[S["ReturnType"]=32]="ReturnType";S[S["LiteralKeyof"]=64]="LiteralKeyof";S[S["NoConstraints"]=128]="NoConstraints";S[S["AlwaysStrict"]=256]="AlwaysStrict";S[S["MaxValue"]=512]="MaxValue";S[S["PriorityImpliesCombination"]=104]="PriorityImpliesCombination";S[S["Circularity"]=-1]="Circularity"})(Qe=S.InferencePriority||(S.InferencePriority={}));var Xe;(function(S){S[S["None"]=0]="None";S[S["NoDefault"]=1]="NoDefault";S[S["AnyDefault"]=2]="AnyDefault";S[S["SkippedGenericFunction"]=4]="SkippedGenericFunction"})(Xe=S.InferenceFlags||(S.InferenceFlags={}));var Ye;(function(S){S[S["False"]=0]="False";S[S["Maybe"]=1]="Maybe";S[S["True"]=-1]="True"})(Ye=S.Ternary||(S.Ternary={}));var Ze;(function(S){S[S["None"]=0]="None";S[S["ExportsProperty"]=1]="ExportsProperty";S[S["ModuleExports"]=2]="ModuleExports";S[S["PrototypeProperty"]=3]="PrototypeProperty";S[S["ThisProperty"]=4]="ThisProperty";S[S["Property"]=5]="Property";S[S["Prototype"]=6]="Prototype";S[S["ObjectDefinePropertyValue"]=7]="ObjectDefinePropertyValue";S[S["ObjectDefinePropertyExports"]=8]="ObjectDefinePropertyExports";S[S["ObjectDefinePrototypeProperty"]=9]="ObjectDefinePrototypeProperty"})(Ze=S.AssignmentDeclarationKind||(S.AssignmentDeclarationKind={}));var et;(function(S){S[S["Warning"]=0]="Warning";S[S["Error"]=1]="Error";S[S["Suggestion"]=2]="Suggestion";S[S["Message"]=3]="Message"})(et=S.DiagnosticCategory||(S.DiagnosticCategory={}));function diagnosticCategoryName(S,E){if(E===void 0){E=true}var k=et[S.category];return E?k.toLowerCase():k}S.diagnosticCategoryName=diagnosticCategoryName;var tt;(function(S){S[S["Classic"]=1]="Classic";S[S["NodeJs"]=2]="NodeJs"})(tt=S.ModuleResolutionKind||(S.ModuleResolutionKind={}));var rt;(function(S){S[S["FixedPollingInterval"]=0]="FixedPollingInterval";S[S["PriorityPollingInterval"]=1]="PriorityPollingInterval";S[S["DynamicPriorityPolling"]=2]="DynamicPriorityPolling";S[S["UseFsEvents"]=3]="UseFsEvents";S[S["UseFsEventsOnParentDirectory"]=4]="UseFsEventsOnParentDirectory"})(rt=S.WatchFileKind||(S.WatchFileKind={}));var nt;(function(S){S[S["UseFsEvents"]=0]="UseFsEvents";S[S["FixedPollingInterval"]=1]="FixedPollingInterval";S[S["DynamicPriorityPolling"]=2]="DynamicPriorityPolling"})(nt=S.WatchDirectoryKind||(S.WatchDirectoryKind={}));var it;(function(S){S[S["FixedInterval"]=0]="FixedInterval";S[S["PriorityInterval"]=1]="PriorityInterval";S[S["DynamicPriority"]=2]="DynamicPriority"})(it=S.PollingWatchKind||(S.PollingWatchKind={}));var ot;(function(S){S[S["None"]=0]="None";S[S["CommonJS"]=1]="CommonJS";S[S["AMD"]=2]="AMD";S[S["UMD"]=3]="UMD";S[S["System"]=4]="System";S[S["ES2015"]=5]="ES2015";S[S["ES2020"]=6]="ES2020";S[S["ESNext"]=99]="ESNext"})(ot=S.ModuleKind||(S.ModuleKind={}));var st;(function(S){S[S["None"]=0]="None";S[S["Preserve"]=1]="Preserve";S[S["React"]=2]="React";S[S["ReactNative"]=3]="ReactNative"})(st=S.JsxEmit||(S.JsxEmit={}));var ct;(function(S){S[S["Remove"]=0]="Remove";S[S["Preserve"]=1]="Preserve";S[S["Error"]=2]="Error"})(ct=S.ImportsNotUsedAsValues||(S.ImportsNotUsedAsValues={}));var ut;(function(S){S[S["CarriageReturnLineFeed"]=0]="CarriageReturnLineFeed";S[S["LineFeed"]=1]="LineFeed"})(ut=S.NewLineKind||(S.NewLineKind={}));var dt;(function(S){S[S["Unknown"]=0]="Unknown";S[S["JS"]=1]="JS";S[S["JSX"]=2]="JSX";S[S["TS"]=3]="TS";S[S["TSX"]=4]="TSX";S[S["External"]=5]="External";S[S["JSON"]=6]="JSON";S[S["Deferred"]=7]="Deferred"})(dt=S.ScriptKind||(S.ScriptKind={}));var pt;(function(S){S[S["ES3"]=0]="ES3";S[S["ES5"]=1]="ES5";S[S["ES2015"]=2]="ES2015";S[S["ES2016"]=3]="ES2016";S[S["ES2017"]=4]="ES2017";S[S["ES2018"]=5]="ES2018";S[S["ES2019"]=6]="ES2019";S[S["ES2020"]=7]="ES2020";S[S["ESNext"]=99]="ESNext";S[S["JSON"]=100]="JSON";S[S["Latest"]=99]="Latest"})(pt=S.ScriptTarget||(S.ScriptTarget={}));var ft;(function(S){S[S["Standard"]=0]="Standard";S[S["JSX"]=1]="JSX"})(ft=S.LanguageVariant||(S.LanguageVariant={}));var mt;(function(S){S[S["None"]=0]="None";S[S["Recursive"]=1]="Recursive"})(mt=S.WatchDirectoryFlags||(S.WatchDirectoryFlags={}));var ht;(function(S){S[S["nullCharacter"]=0]="nullCharacter";S[S["maxAsciiCharacter"]=127]="maxAsciiCharacter";S[S["lineFeed"]=10]="lineFeed";S[S["carriageReturn"]=13]="carriageReturn";S[S["lineSeparator"]=8232]="lineSeparator";S[S["paragraphSeparator"]=8233]="paragraphSeparator";S[S["nextLine"]=133]="nextLine";S[S["space"]=32]="space";S[S["nonBreakingSpace"]=160]="nonBreakingSpace";S[S["enQuad"]=8192]="enQuad";S[S["emQuad"]=8193]="emQuad";S[S["enSpace"]=8194]="enSpace";S[S["emSpace"]=8195]="emSpace";S[S["threePerEmSpace"]=8196]="threePerEmSpace";S[S["fourPerEmSpace"]=8197]="fourPerEmSpace";S[S["sixPerEmSpace"]=8198]="sixPerEmSpace";S[S["figureSpace"]=8199]="figureSpace";S[S["punctuationSpace"]=8200]="punctuationSpace";S[S["thinSpace"]=8201]="thinSpace";S[S["hairSpace"]=8202]="hairSpace";S[S["zeroWidthSpace"]=8203]="zeroWidthSpace";S[S["narrowNoBreakSpace"]=8239]="narrowNoBreakSpace";S[S["ideographicSpace"]=12288]="ideographicSpace";S[S["mathematicalSpace"]=8287]="mathematicalSpace";S[S["ogham"]=5760]="ogham";S[S["_"]=95]="_";S[S["$"]=36]="$";S[S["_0"]=48]="_0";S[S["_1"]=49]="_1";S[S["_2"]=50]="_2";S[S["_3"]=51]="_3";S[S["_4"]=52]="_4";S[S["_5"]=53]="_5";S[S["_6"]=54]="_6";S[S["_7"]=55]="_7";S[S["_8"]=56]="_8";S[S["_9"]=57]="_9";S[S["a"]=97]="a";S[S["b"]=98]="b";S[S["c"]=99]="c";S[S["d"]=100]="d";S[S["e"]=101]="e";S[S["f"]=102]="f";S[S["g"]=103]="g";S[S["h"]=104]="h";S[S["i"]=105]="i";S[S["j"]=106]="j";S[S["k"]=107]="k";S[S["l"]=108]="l";S[S["m"]=109]="m";S[S["n"]=110]="n";S[S["o"]=111]="o";S[S["p"]=112]="p";S[S["q"]=113]="q";S[S["r"]=114]="r";S[S["s"]=115]="s";S[S["t"]=116]="t";S[S["u"]=117]="u";S[S["v"]=118]="v";S[S["w"]=119]="w";S[S["x"]=120]="x";S[S["y"]=121]="y";S[S["z"]=122]="z";S[S["A"]=65]="A";S[S["B"]=66]="B";S[S["C"]=67]="C";S[S["D"]=68]="D";S[S["E"]=69]="E";S[S["F"]=70]="F";S[S["G"]=71]="G";S[S["H"]=72]="H";S[S["I"]=73]="I";S[S["J"]=74]="J";S[S["K"]=75]="K";S[S["L"]=76]="L";S[S["M"]=77]="M";S[S["N"]=78]="N";S[S["O"]=79]="O";S[S["P"]=80]="P";S[S["Q"]=81]="Q";S[S["R"]=82]="R";S[S["S"]=83]="S";S[S["T"]=84]="T";S[S["U"]=85]="U";S[S["V"]=86]="V";S[S["W"]=87]="W";S[S["X"]=88]="X";S[S["Y"]=89]="Y";S[S["Z"]=90]="Z";S[S["ampersand"]=38]="ampersand";S[S["asterisk"]=42]="asterisk";S[S["at"]=64]="at";S[S["backslash"]=92]="backslash";S[S["backtick"]=96]="backtick";S[S["bar"]=124]="bar";S[S["caret"]=94]="caret";S[S["closeBrace"]=125]="closeBrace";S[S["closeBracket"]=93]="closeBracket";S[S["closeParen"]=41]="closeParen";S[S["colon"]=58]="colon";S[S["comma"]=44]="comma";S[S["dot"]=46]="dot";S[S["doubleQuote"]=34]="doubleQuote";S[S["equals"]=61]="equals";S[S["exclamation"]=33]="exclamation";S[S["greaterThan"]=62]="greaterThan";S[S["hash"]=35]="hash";S[S["lessThan"]=60]="lessThan";S[S["minus"]=45]="minus";S[S["openBrace"]=123]="openBrace";S[S["openBracket"]=91]="openBracket";S[S["openParen"]=40]="openParen";S[S["percent"]=37]="percent";S[S["plus"]=43]="plus";S[S["question"]=63]="question";S[S["semicolon"]=59]="semicolon";S[S["singleQuote"]=39]="singleQuote";S[S["slash"]=47]="slash";S[S["tilde"]=126]="tilde";S[S["backspace"]=8]="backspace";S[S["formFeed"]=12]="formFeed";S[S["byteOrderMark"]=65279]="byteOrderMark";S[S["tab"]=9]="tab";S[S["verticalTab"]=11]="verticalTab"})(ht=S.CharacterCodes||(S.CharacterCodes={}));var _t;(function(S){S["Ts"]=".ts";S["Tsx"]=".tsx";S["Dts"]=".d.ts";S["Js"]=".js";S["Jsx"]=".jsx";S["Json"]=".json";S["TsBuildInfo"]=".tsbuildinfo"})(_t=S.Extension||(S.Extension={}));var yt;(function(S){S[S["None"]=0]="None";S[S["ContainsTypeScript"]=1]="ContainsTypeScript";S[S["ContainsJsx"]=2]="ContainsJsx";S[S["ContainsESNext"]=4]="ContainsESNext";S[S["ContainsES2020"]=8]="ContainsES2020";S[S["ContainsES2019"]=16]="ContainsES2019";S[S["ContainsES2018"]=32]="ContainsES2018";S[S["ContainsES2017"]=64]="ContainsES2017";S[S["ContainsES2016"]=128]="ContainsES2016";S[S["ContainsES2015"]=256]="ContainsES2015";S[S["ContainsGenerator"]=512]="ContainsGenerator";S[S["ContainsDestructuringAssignment"]=1024]="ContainsDestructuringAssignment";S[S["ContainsTypeScriptClassSyntax"]=2048]="ContainsTypeScriptClassSyntax";S[S["ContainsLexicalThis"]=4096]="ContainsLexicalThis";S[S["ContainsRestOrSpread"]=8192]="ContainsRestOrSpread";S[S["ContainsObjectRestOrSpread"]=16384]="ContainsObjectRestOrSpread";S[S["ContainsComputedPropertyName"]=32768]="ContainsComputedPropertyName";S[S["ContainsBlockScopedBinding"]=65536]="ContainsBlockScopedBinding";S[S["ContainsBindingPattern"]=131072]="ContainsBindingPattern";S[S["ContainsYield"]=262144]="ContainsYield";S[S["ContainsAwait"]=524288]="ContainsAwait";S[S["ContainsHoistedDeclarationOrCompletion"]=1048576]="ContainsHoistedDeclarationOrCompletion";S[S["ContainsDynamicImport"]=2097152]="ContainsDynamicImport";S[S["ContainsClassFields"]=4194304]="ContainsClassFields";S[S["HasComputedFlags"]=536870912]="HasComputedFlags";S[S["AssertTypeScript"]=1]="AssertTypeScript";S[S["AssertJsx"]=2]="AssertJsx";S[S["AssertESNext"]=4]="AssertESNext";S[S["AssertES2020"]=8]="AssertES2020";S[S["AssertES2019"]=16]="AssertES2019";S[S["AssertES2018"]=32]="AssertES2018";S[S["AssertES2017"]=64]="AssertES2017";S[S["AssertES2016"]=128]="AssertES2016";S[S["AssertES2015"]=256]="AssertES2015";S[S["AssertGenerator"]=512]="AssertGenerator";S[S["AssertDestructuringAssignment"]=1024]="AssertDestructuringAssignment";S[S["OuterExpressionExcludes"]=536870912]="OuterExpressionExcludes";S[S["PropertyAccessExcludes"]=536870912]="PropertyAccessExcludes";S[S["NodeExcludes"]=536870912]="NodeExcludes";S[S["ArrowFunctionExcludes"]=538920960]="ArrowFunctionExcludes";S[S["FunctionExcludes"]=538925056]="FunctionExcludes";S[S["ConstructorExcludes"]=538923008]="ConstructorExcludes";S[S["MethodOrAccessorExcludes"]=538923008]="MethodOrAccessorExcludes";S[S["PropertyExcludes"]=536875008]="PropertyExcludes";S[S["ClassExcludes"]=536905728]="ClassExcludes";S[S["ModuleExcludes"]=537991168]="ModuleExcludes";S[S["TypeExcludes"]=-2]="TypeExcludes";S[S["ObjectLiteralExcludes"]=536922112]="ObjectLiteralExcludes";S[S["ArrayLiteralOrCallOrNewExcludes"]=536879104]="ArrayLiteralOrCallOrNewExcludes";S[S["VariableDeclarationListExcludes"]=537018368]="VariableDeclarationListExcludes";S[S["ParameterExcludes"]=536870912]="ParameterExcludes";S[S["CatchClauseExcludes"]=536887296]="CatchClauseExcludes";S[S["BindingPatternExcludes"]=536879104]="BindingPatternExcludes";S[S["PropertyNamePropagatingFlags"]=4096]="PropertyNamePropagatingFlags"})(yt=S.TransformFlags||(S.TransformFlags={}));var vt;(function(S){S[S["None"]=0]="None";S[S["SingleLine"]=1]="SingleLine";S[S["AdviseOnEmitNode"]=2]="AdviseOnEmitNode";S[S["NoSubstitution"]=4]="NoSubstitution";S[S["CapturesThis"]=8]="CapturesThis";S[S["NoLeadingSourceMap"]=16]="NoLeadingSourceMap";S[S["NoTrailingSourceMap"]=32]="NoTrailingSourceMap";S[S["NoSourceMap"]=48]="NoSourceMap";S[S["NoNestedSourceMaps"]=64]="NoNestedSourceMaps";S[S["NoTokenLeadingSourceMaps"]=128]="NoTokenLeadingSourceMaps";S[S["NoTokenTrailingSourceMaps"]=256]="NoTokenTrailingSourceMaps";S[S["NoTokenSourceMaps"]=384]="NoTokenSourceMaps";S[S["NoLeadingComments"]=512]="NoLeadingComments";S[S["NoTrailingComments"]=1024]="NoTrailingComments";S[S["NoComments"]=1536]="NoComments";S[S["NoNestedComments"]=2048]="NoNestedComments";S[S["HelperName"]=4096]="HelperName";S[S["ExportName"]=8192]="ExportName";S[S["LocalName"]=16384]="LocalName";S[S["InternalName"]=32768]="InternalName";S[S["Indented"]=65536]="Indented";S[S["NoIndentation"]=131072]="NoIndentation";S[S["AsyncFunctionBody"]=262144]="AsyncFunctionBody";S[S["ReuseTempVariableScope"]=524288]="ReuseTempVariableScope";S[S["CustomPrologue"]=1048576]="CustomPrologue";S[S["NoHoisting"]=2097152]="NoHoisting";S[S["HasEndOfDeclarationMarker"]=4194304]="HasEndOfDeclarationMarker";S[S["Iterator"]=8388608]="Iterator";S[S["NoAsciiEscaping"]=16777216]="NoAsciiEscaping";S[S["TypeScriptClassWrapper"]=33554432]="TypeScriptClassWrapper";S[S["NeverApplyImportHelper"]=67108864]="NeverApplyImportHelper";S[S["IgnoreSourceNewlines"]=134217728]="IgnoreSourceNewlines"})(vt=S.EmitFlags||(S.EmitFlags={}));var bt;(function(S){S[S["Extends"]=1]="Extends";S[S["Assign"]=2]="Assign";S[S["Rest"]=4]="Rest";S[S["Decorate"]=8]="Decorate";S[S["Metadata"]=16]="Metadata";S[S["Param"]=32]="Param";S[S["Awaiter"]=64]="Awaiter";S[S["Generator"]=128]="Generator";S[S["Values"]=256]="Values";S[S["Read"]=512]="Read";S[S["Spread"]=1024]="Spread";S[S["SpreadArrays"]=2048]="SpreadArrays";S[S["Await"]=4096]="Await";S[S["AsyncGenerator"]=8192]="AsyncGenerator";S[S["AsyncDelegator"]=16384]="AsyncDelegator";S[S["AsyncValues"]=32768]="AsyncValues";S[S["ExportStar"]=65536]="ExportStar";S[S["MakeTemplateObject"]=131072]="MakeTemplateObject";S[S["ClassPrivateFieldGet"]=262144]="ClassPrivateFieldGet";S[S["ClassPrivateFieldSet"]=524288]="ClassPrivateFieldSet";S[S["CreateBinding"]=1048576]="CreateBinding";S[S["FirstEmitHelper"]=1]="FirstEmitHelper";S[S["LastEmitHelper"]=1048576]="LastEmitHelper";S[S["ForOfIncludes"]=256]="ForOfIncludes";S[S["ForAwaitOfIncludes"]=32768]="ForAwaitOfIncludes";S[S["AsyncGeneratorIncludes"]=12288]="AsyncGeneratorIncludes";S[S["AsyncDelegatorIncludes"]=53248]="AsyncDelegatorIncludes";S[S["SpreadIncludes"]=1536]="SpreadIncludes"})(bt=S.ExternalEmitHelpers||(S.ExternalEmitHelpers={}));var xt;(function(S){S[S["SourceFile"]=0]="SourceFile";S[S["Expression"]=1]="Expression";S[S["IdentifierName"]=2]="IdentifierName";S[S["MappedTypeParameter"]=3]="MappedTypeParameter";S[S["Unspecified"]=4]="Unspecified";S[S["EmbeddedStatement"]=5]="EmbeddedStatement";S[S["JsxAttributeValue"]=6]="JsxAttributeValue"})(xt=S.EmitHint||(S.EmitHint={}));var St;(function(S){S[S["None"]=0]="None";S[S["InParameters"]=1]="InParameters";S[S["VariablesHoistedInParameters"]=2]="VariablesHoistedInParameters"})(St=S.LexicalEnvironmentFlags||(S.LexicalEnvironmentFlags={}));var Et;(function(S){S["Prologue"]="prologue";S["EmitHelpers"]="emitHelpers";S["NoDefaultLib"]="no-default-lib";S["Reference"]="reference";S["Type"]="type";S["Lib"]="lib";S["Prepend"]="prepend";S["Text"]="text";S["Internal"]="internal"})(Et=S.BundleFileSectionKind||(S.BundleFileSectionKind={}));var Tt;(function(S){S[S["None"]=0]="None";S[S["SingleLine"]=0]="SingleLine";S[S["MultiLine"]=1]="MultiLine";S[S["PreserveLines"]=2]="PreserveLines";S[S["LinesMask"]=3]="LinesMask";S[S["NotDelimited"]=0]="NotDelimited";S[S["BarDelimited"]=4]="BarDelimited";S[S["AmpersandDelimited"]=8]="AmpersandDelimited";S[S["CommaDelimited"]=16]="CommaDelimited";S[S["AsteriskDelimited"]=32]="AsteriskDelimited";S[S["DelimitersMask"]=60]="DelimitersMask";S[S["AllowTrailingComma"]=64]="AllowTrailingComma";S[S["Indented"]=128]="Indented";S[S["SpaceBetweenBraces"]=256]="SpaceBetweenBraces";S[S["SpaceBetweenSiblings"]=512]="SpaceBetweenSiblings";S[S["Braces"]=1024]="Braces";S[S["Parenthesis"]=2048]="Parenthesis";S[S["AngleBrackets"]=4096]="AngleBrackets";S[S["SquareBrackets"]=8192]="SquareBrackets";S[S["BracketsMask"]=15360]="BracketsMask";S[S["OptionalIfUndefined"]=16384]="OptionalIfUndefined";S[S["OptionalIfEmpty"]=32768]="OptionalIfEmpty";S[S["Optional"]=49152]="Optional";S[S["PreferNewLine"]=65536]="PreferNewLine";S[S["NoTrailingNewLine"]=131072]="NoTrailingNewLine";S[S["NoInterveningComments"]=262144]="NoInterveningComments";S[S["NoSpaceIfEmpty"]=524288]="NoSpaceIfEmpty";S[S["SingleElement"]=1048576]="SingleElement";S[S["SpaceAfterList"]=2097152]="SpaceAfterList";S[S["Modifiers"]=262656]="Modifiers";S[S["HeritageClauses"]=512]="HeritageClauses";S[S["SingleLineTypeLiteralMembers"]=768]="SingleLineTypeLiteralMembers";S[S["MultiLineTypeLiteralMembers"]=32897]="MultiLineTypeLiteralMembers";S[S["TupleTypeElements"]=528]="TupleTypeElements";S[S["UnionTypeConstituents"]=516]="UnionTypeConstituents";S[S["IntersectionTypeConstituents"]=520]="IntersectionTypeConstituents";S[S["ObjectBindingPatternElements"]=525136]="ObjectBindingPatternElements";S[S["ArrayBindingPatternElements"]=524880]="ArrayBindingPatternElements";S[S["ObjectLiteralExpressionProperties"]=526226]="ObjectLiteralExpressionProperties";S[S["ArrayLiteralExpressionElements"]=8914]="ArrayLiteralExpressionElements";S[S["CommaListElements"]=528]="CommaListElements";S[S["CallExpressionArguments"]=2576]="CallExpressionArguments";S[S["NewExpressionArguments"]=18960]="NewExpressionArguments";S[S["TemplateExpressionSpans"]=262144]="TemplateExpressionSpans";S[S["SingleLineBlockStatements"]=768]="SingleLineBlockStatements";S[S["MultiLineBlockStatements"]=129]="MultiLineBlockStatements";S[S["VariableDeclarationList"]=528]="VariableDeclarationList";S[S["SingleLineFunctionBodyStatements"]=768]="SingleLineFunctionBodyStatements";S[S["MultiLineFunctionBodyStatements"]=1]="MultiLineFunctionBodyStatements";S[S["ClassHeritageClauses"]=0]="ClassHeritageClauses";S[S["ClassMembers"]=129]="ClassMembers";S[S["InterfaceMembers"]=129]="InterfaceMembers";S[S["EnumMembers"]=145]="EnumMembers";S[S["CaseBlockClauses"]=129]="CaseBlockClauses";S[S["NamedImportsOrExportsElements"]=525136]="NamedImportsOrExportsElements";S[S["JsxElementOrFragmentChildren"]=262144]="JsxElementOrFragmentChildren";S[S["JsxElementAttributes"]=262656]="JsxElementAttributes";S[S["CaseOrDefaultClauseStatements"]=163969]="CaseOrDefaultClauseStatements";S[S["HeritageClauseTypes"]=528]="HeritageClauseTypes";S[S["SourceFileStatements"]=131073]="SourceFileStatements";S[S["Decorators"]=2146305]="Decorators";S[S["TypeArguments"]=53776]="TypeArguments";S[S["TypeParameters"]=53776]="TypeParameters";S[S["Parameters"]=2576]="Parameters";S[S["IndexSignatureParameters"]=8848]="IndexSignatureParameters";S[S["JSDocComment"]=33]="JSDocComment"})(Tt=S.ListFormat||(S.ListFormat={}));var kt;(function(S){S[S["None"]=0]="None";S[S["TripleSlashXML"]=1]="TripleSlashXML";S[S["SingleLine"]=2]="SingleLine";S[S["MultiLine"]=4]="MultiLine";S[S["All"]=7]="All";S[S["Default"]=7]="Default"})(kt=S.PragmaKindFlags||(S.PragmaKindFlags={}));S.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}],kind:1},"amd-dependency":{args:[{name:"path"},{name:"name",optional:true}],kind:1},"amd-module":{args:[{name:"name"}],kind:1},"ts-check":{kind:2},"ts-nocheck":{kind:2},jsx:{args:[{name:"factory"}],kind:4}}})(ne||(ne={}));var ne;(function(S){function generateDjb2Hash(S){var E=5381;for(var k=0;k0;nextPollIndex(),ee--){var ae=E[j];if(!ae){continue}else if(ae.isClosed){E[j]=undefined;continue}ne++;var _e=onWatchedFileStat(ae,getModifiedTime(ae.fileName));if(ae.isClosed){E[j]=undefined}else if(_e){ae.unchangedPolls=0;if(E!==N){E[j]=undefined;addChangedFileToLowPollingIntervalQueue(ae)}}else if(ae.unchangedPolls!==S.unchangedPollThresholds[k]){ae.unchangedPolls++}else if(E===N){ae.unchangedPolls=1;E[j]=undefined;addToPollingIntervalQueue(ae,w.Low)}else if(k!==w.High){ae.unchangedPolls++;E[j]=undefined;addToPollingIntervalQueue(ae,k===w.Low?w.Medium:w.High)}if(E[j]){if(te=4;var Te=process.platform==="linux"||process.platform==="darwin";var Ce=ee.platform();var we=isFileSystemCaseSensitive();var Ne=Ee&&(process.platform==="win32"||process.platform==="darwin");var Ie=createSystemWatchFunctions({pollingWatchFile:createSingleFileWatcherPerName(fsWatchFileWorker,we),getModifiedTime:getModifiedTime,setTimeout:setTimeout,clearTimeout:clearTimeout,fsWatch:fsWatch,useCaseSensitiveFileNames:we,fileExists:fileExists,fsSupportsRecursiveFsWatch:Ne,directoryExists:directoryExists,getAccessibleSortedChildDirectories:function(S){return getAccessibleFileSystemEntries(S).directories},realpath:realpath,tscWatchFile:process.env.TSC_WATCHFILE,useNonPollingWatchers:process.env.TSC_NONPOLLING_WATCHER,tscWatchDirectory:process.env.TSC_WATCHDIRECTORY}),Fe=Ie.watchFile,Oe=Ie.watchDirectory;var Me={args:process.argv.slice(2),newLine:ee.EOL,useCaseSensitiveFileNames:we,write:function(S){process.stdout.write(S)},writeOutputIsTTY:function(){return process.stdout.isTTY},readFile:readFile,writeFile:writeFile,watchFile:Fe,watchDirectory:Oe,resolvePath:function(S){return q.resolve(S)},fileExists:fileExists,directoryExists:directoryExists,createDirectory:function(S){if(!Me.directoryExists(S)){try{j.mkdirSync(S)}catch(S){if(S.code!=="EEXIST"){throw S}}}},getExecutingFilePath:function(){return __filename},getCurrentDirectory:function(){return process.cwd()},getDirectories:getDirectories,getEnvironmentVariable:function(S){return process.env[S]||""},readDirectory:readDirectory,getModifiedTime:getModifiedTime,setModifiedTime:setModifiedTime,deleteFile:deleteFile,createHash:te?createSHA256Hash:generateDjb2Hash,createSHA256Hash:te?createSHA256Hash:undefined,getMemoryUsage:function(){if(global.gc){global.gc()}return process.memoryUsage().heapUsed},getFileSize:function(S){try{var E=j.statSync(S);if(E.isFile()){return E.size}}catch(S){}return 0},exit:function(S){disableCPUProfiler((function(){return process.exit(S)}))},enableCPUProfiler:enableCPUProfiler,disableCPUProfiler:disableCPUProfiler,realpath:realpath,debugMode:!!process.env.NODE_INSPECTOR_IPC||S.some(process.execArgv,(function(S){return/^--(inspect|debug)(-brk)?(=\d+)?$/i.test(S)})),tryEnableSourceMapsForHost:function(){try{k(22284).install()}catch(S){}},setTimeout:setTimeout,clearTimeout:clearTimeout,clearScreen:function(){process.stdout.write("c")},setBlocking:function(){if(process.stdout&&process.stdout._handle&&process.stdout._handle.setBlocking){process.stdout._handle.setBlocking(true)}},bufferFrom:bufferFrom,base64decode:function(S){return bufferFrom(S,"base64").toString("utf8")},base64encode:function(S){return bufferFrom(S).toString("base64")},require:function(E,k){try{var w=S.resolveJSModule(k,E,Me);return{module:require(w),modulePath:w,error:undefined}}catch(S){return{module:undefined,modulePath:undefined,error:S}}}};return Me;function enableCPUProfiler(S,E){if(ne){E();return false}var w=k(57012);if(!w||!w.Session){E();return false}var N=new w.Session;N.connect();N.post("Profiler.enable",(function(){N.post("Profiler.start",(function(){ne=N;ae=S;E()}))}));return true}function cleanupPaths(E){var k=0;var w=S.createMap();var j=S.normalizeSlashes(__dirname);var q="file://"+(S.getRootLength(j)===1?"":"/")+j;for(var ee=0,te=E.nodes;ee=2&&k[0]===254&&k[1]===255){w&=~1;for(var N=0;N=2&&k[0]===255&&k[1]===254){return k.toString("utf16le",2)}if(w>=3&&k[0]===239&&k[1]===187&&k[2]===191){return k.toString("utf8",3)}return k.toString("utf8")}function readFile(E,k){S.perfLogger.logStartReadFile(E);var w=readFileWorker(E,k);S.perfLogger.logStopReadFile();return w}function writeFile(E,k,N){S.perfLogger.logEvent("WriteFile: "+E);if(N){k=w+k}var q;try{q=j.openSync(E,"w");j.writeSync(q,k,undefined,"utf8")}finally{if(q!==undefined){j.closeSync(q)}}}function getAccessibleFileSystemEntries(E){S.perfLogger.logEvent("ReadDir: "+(E||"."));try{var k=j.readdirSync(E||".",{withFileTypes:true});var w=[];var N=[];for(var q=0,ee=k;q0}S.isRootedDiskPath=isRootedDiskPath;function isDiskPathRoot(S){var E=getEncodedRootLength(S);return E>0&&E===S.length}S.isDiskPathRoot=isDiskPathRoot;function pathIsAbsolute(S){return getEncodedRootLength(S)!==0}S.pathIsAbsolute=pathIsAbsolute;function pathIsRelative(S){return/^\.\.?($|[\\/])/.test(S)}S.pathIsRelative=pathIsRelative;function hasExtension(E){return S.stringContains(getBaseFileName(E),".")}S.hasExtension=hasExtension;function fileExtensionIs(E,k){return E.length>k.length&&S.endsWith(E,k)}S.fileExtensionIs=fileExtensionIs;function fileExtensionIsOneOf(S,E){for(var k=0,w=E;k0&&isAnyDirectorySeparator(S.charCodeAt(S.length-1))}S.hasTrailingDirectorySeparator=hasTrailingDirectorySeparator;function isVolumeCharacter(S){return S>=97&&S<=122||S>=65&&S<=90}function getFileUrlVolumeSeparatorEnd(S,E){var k=S.charCodeAt(E);if(k===58)return E+1;if(k===37&&S.charCodeAt(E+1)===51){var w=S.charCodeAt(E+2);if(w===97||w===65)return E+3}return-1}function getEncodedRootLength(w){if(!w)return 0;var N=w.charCodeAt(0);if(N===47||N===92){if(w.charCodeAt(1)!==N)return 1;var j=w.indexOf(N===47?S.directorySeparator:E,2);if(j<0)return w.length;return j+1}if(isVolumeCharacter(N)&&w.charCodeAt(1)===58){var q=w.charCodeAt(2);if(q===47||q===92)return 3;if(w.length===2)return 2}var ee=w.indexOf(k);if(ee!==-1){var te=ee+k.length;var ne=w.indexOf(S.directorySeparator,te);if(ne!==-1){var ae=w.slice(0,ee);var _e=w.slice(te,ne);if(ae==="file"&&(_e===""||_e==="localhost")&&isVolumeCharacter(w.charCodeAt(ne+1))){var ve=getFileUrlVolumeSeparatorEnd(w,ne+2);if(ve!==-1){if(w.charCodeAt(ve)===47){return~(ve+1)}if(ve===w.length){return~ve}}}return~(ne+1)}return~w.length}return 0}function getRootLength(S){var E=getEncodedRootLength(S);return E<0?~E:E}S.getRootLength=getRootLength;function getDirectoryPath(E){E=normalizeSlashes(E);var k=getRootLength(E);if(k===E.length)return E;E=removeTrailingDirectorySeparator(E);return E.slice(0,Math.max(k,E.lastIndexOf(S.directorySeparator)))}S.getDirectoryPath=getDirectoryPath;function getBaseFileName(E,k,w){E=normalizeSlashes(E);var N=getRootLength(E);if(N===E.length)return"";E=removeTrailingDirectorySeparator(E);var j=E.slice(Math.max(getRootLength(E),E.lastIndexOf(S.directorySeparator)+1));var q=k!==undefined&&w!==undefined?getAnyExtensionFromPath(j,k,w):undefined;return q?j.slice(0,j.length-q.length):j}S.getBaseFileName=getBaseFileName;function tryGetExtensionFromPath(E,k,w){if(!S.startsWith(k,"."))k="."+k;if(E.length>=k.length&&E.charCodeAt(E.length-k.length)===46){var N=E.slice(E.length-k.length);if(w(N,k)){return N}}}function getAnyExtensionFromPathWorker(S,E,k){if(typeof E==="string"){return tryGetExtensionFromPath(S,E,k)||""}for(var w=0,N=E;w=0){return N.substring(j)}return""}S.getAnyExtensionFromPath=getAnyExtensionFromPath;function pathComponents(E,k){var N=E.substring(0,k);var j=E.substring(k).split(S.directorySeparator);if(j.length&&!S.lastOrUndefined(j))j.pop();return w([N],j)}function getPathComponents(S,E){if(E===void 0){E=""}S=combinePaths(E,S);return pathComponents(S,getRootLength(S))}S.getPathComponents=getPathComponents;function getPathFromPathComponents(E){if(E.length===0)return"";var k=E[0]&&ensureTrailingDirectorySeparator(E[0]);return k+E.slice(1).join(S.directorySeparator)}S.getPathFromPathComponents=getPathFromPathComponents;function normalizeSlashes(E){return E.replace(N,S.directorySeparator)}S.normalizeSlashes=normalizeSlashes;function reducePathComponents(E){if(!S.some(E))return[];var k=[E[0]];for(var w=1;w1){if(k[k.length-1]!==".."){k.pop();continue}}else if(k[0])continue}k.push(N)}return k}S.reducePathComponents=reducePathComponents;function combinePaths(S){var E=[];for(var k=1;k0===getRootLength(k)>0,"Paths must either both be absolute or both be relative");var N=typeof w==="function"?w:S.identity;var j=typeof w==="boolean"?w:false;var q=getPathComponentsRelativeTo(E,k,j?S.equateStringsCaseInsensitive:S.equateStringsCaseSensitive,N);return getPathFromPathComponents(q)}S.getRelativePathFromDirectory=getRelativePathFromDirectory;function convertToRelativePath(S,E,k){return!isRootedDiskPath(S)?S:getRelativePathToDirectoryOrUrl(E,S,E,k,false)}S.convertToRelativePath=convertToRelativePath;function getRelativePathFromFile(S,E,k){return ensurePathIsNonModuleName(getRelativePathFromDirectory(getDirectoryPath(S),E,k))}S.getRelativePathFromFile=getRelativePathFromFile;function getRelativePathToDirectoryOrUrl(E,k,w,N,j){var q=getPathComponentsRelativeTo(resolvePath(w,E),resolvePath(w,k),S.equateStringsCaseSensitive,N);var ee=q[0];if(j&&isRootedDiskPath(ee)){var te=ee.charAt(0)===S.directorySeparator?"file://":"file:///";q[0]=te+ee}return getPathFromPathComponents(q)}S.getRelativePathToDirectoryOrUrl=getRelativePathToDirectoryOrUrl;function forEachAncestorDirectory(S,E){while(true){var k=E(S);if(k!==undefined){return k}var w=getDirectoryPath(S);if(w===S){return undefined}S=w}}S.forEachAncestorDirectory=forEachAncestorDirectory;function isNodeModulesDirectory(E){return S.endsWith(E,"/node_modules")}S.isNodeModulesDirectory=isNodeModulesDirectory})(ne||(ne={}));var ne;(function(S){function diag(S,E,k,w,N,j){return{code:S,category:E,key:k,message:w,reportsUnnecessary:N,elidedInCompatabilityPyramid:j}}S.Diagnostics={Unterminated_string_literal:diag(1002,S.DiagnosticCategory.Error,"Unterminated_string_literal_1002","Unterminated string literal."),Identifier_expected:diag(1003,S.DiagnosticCategory.Error,"Identifier_expected_1003","Identifier expected."),_0_expected:diag(1005,S.DiagnosticCategory.Error,"_0_expected_1005","'{0}' expected."),A_file_cannot_have_a_reference_to_itself:diag(1006,S.DiagnosticCategory.Error,"A_file_cannot_have_a_reference_to_itself_1006","A file cannot have a reference to itself."),The_parser_expected_to_find_a_to_match_the_token_here:diag(1007,S.DiagnosticCategory.Error,"The_parser_expected_to_find_a_to_match_the_token_here_1007","The parser expected to find a '}' to match the '{' token here."),Trailing_comma_not_allowed:diag(1009,S.DiagnosticCategory.Error,"Trailing_comma_not_allowed_1009","Trailing comma not allowed."),Asterisk_Slash_expected:diag(1010,S.DiagnosticCategory.Error,"Asterisk_Slash_expected_1010","'*/' expected."),An_element_access_expression_should_take_an_argument:diag(1011,S.DiagnosticCategory.Error,"An_element_access_expression_should_take_an_argument_1011","An element access expression should take an argument."),Unexpected_token:diag(1012,S.DiagnosticCategory.Error,"Unexpected_token_1012","Unexpected token."),A_rest_parameter_or_binding_pattern_may_not_have_a_trailing_comma:diag(1013,S.DiagnosticCategory.Error,"A_rest_parameter_or_binding_pattern_may_not_have_a_trailing_comma_1013","A rest parameter or binding pattern may not have a trailing comma."),A_rest_parameter_must_be_last_in_a_parameter_list:diag(1014,S.DiagnosticCategory.Error,"A_rest_parameter_must_be_last_in_a_parameter_list_1014","A rest parameter must be last in a parameter list."),Parameter_cannot_have_question_mark_and_initializer:diag(1015,S.DiagnosticCategory.Error,"Parameter_cannot_have_question_mark_and_initializer_1015","Parameter cannot have question mark and initializer."),A_required_parameter_cannot_follow_an_optional_parameter:diag(1016,S.DiagnosticCategory.Error,"A_required_parameter_cannot_follow_an_optional_parameter_1016","A required parameter cannot follow an optional parameter."),An_index_signature_cannot_have_a_rest_parameter:diag(1017,S.DiagnosticCategory.Error,"An_index_signature_cannot_have_a_rest_parameter_1017","An index signature cannot have a rest parameter."),An_index_signature_parameter_cannot_have_an_accessibility_modifier:diag(1018,S.DiagnosticCategory.Error,"An_index_signature_parameter_cannot_have_an_accessibility_modifier_1018","An index signature parameter cannot have an accessibility modifier."),An_index_signature_parameter_cannot_have_a_question_mark:diag(1019,S.DiagnosticCategory.Error,"An_index_signature_parameter_cannot_have_a_question_mark_1019","An index signature parameter cannot have a question mark."),An_index_signature_parameter_cannot_have_an_initializer:diag(1020,S.DiagnosticCategory.Error,"An_index_signature_parameter_cannot_have_an_initializer_1020","An index signature parameter cannot have an initializer."),An_index_signature_must_have_a_type_annotation:diag(1021,S.DiagnosticCategory.Error,"An_index_signature_must_have_a_type_annotation_1021","An index signature must have a type annotation."),An_index_signature_parameter_must_have_a_type_annotation:diag(1022,S.DiagnosticCategory.Error,"An_index_signature_parameter_must_have_a_type_annotation_1022","An index signature parameter must have a type annotation."),An_index_signature_parameter_type_must_be_either_string_or_number:diag(1023,S.DiagnosticCategory.Error,"An_index_signature_parameter_type_must_be_either_string_or_number_1023","An index signature parameter type must be either 'string' or 'number'."),readonly_modifier_can_only_appear_on_a_property_declaration_or_index_signature:diag(1024,S.DiagnosticCategory.Error,"readonly_modifier_can_only_appear_on_a_property_declaration_or_index_signature_1024","'readonly' modifier can only appear on a property declaration or index signature."),An_index_signature_cannot_have_a_trailing_comma:diag(1025,S.DiagnosticCategory.Error,"An_index_signature_cannot_have_a_trailing_comma_1025","An index signature cannot have a trailing comma."),Accessibility_modifier_already_seen:diag(1028,S.DiagnosticCategory.Error,"Accessibility_modifier_already_seen_1028","Accessibility modifier already seen."),_0_modifier_must_precede_1_modifier:diag(1029,S.DiagnosticCategory.Error,"_0_modifier_must_precede_1_modifier_1029","'{0}' modifier must precede '{1}' modifier."),_0_modifier_already_seen:diag(1030,S.DiagnosticCategory.Error,"_0_modifier_already_seen_1030","'{0}' modifier already seen."),_0_modifier_cannot_appear_on_a_class_element:diag(1031,S.DiagnosticCategory.Error,"_0_modifier_cannot_appear_on_a_class_element_1031","'{0}' modifier cannot appear on a class element."),super_must_be_followed_by_an_argument_list_or_member_access:diag(1034,S.DiagnosticCategory.Error,"super_must_be_followed_by_an_argument_list_or_member_access_1034","'super' must be followed by an argument list or member access."),Only_ambient_modules_can_use_quoted_names:diag(1035,S.DiagnosticCategory.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,S.DiagnosticCategory.Error,"Statements_are_not_allowed_in_ambient_contexts_1036","Statements are not allowed in ambient contexts."),A_declare_modifier_cannot_be_used_in_an_already_ambient_context:diag(1038,S.DiagnosticCategory.Error,"A_declare_modifier_cannot_be_used_in_an_already_ambient_context_1038","A 'declare' modifier cannot be used in an already ambient context."),Initializers_are_not_allowed_in_ambient_contexts:diag(1039,S.DiagnosticCategory.Error,"Initializers_are_not_allowed_in_ambient_contexts_1039","Initializers are not allowed in ambient contexts."),_0_modifier_cannot_be_used_in_an_ambient_context:diag(1040,S.DiagnosticCategory.Error,"_0_modifier_cannot_be_used_in_an_ambient_context_1040","'{0}' modifier cannot be used in an ambient context."),_0_modifier_cannot_be_used_with_a_class_declaration:diag(1041,S.DiagnosticCategory.Error,"_0_modifier_cannot_be_used_with_a_class_declaration_1041","'{0}' modifier cannot be used with a class declaration."),_0_modifier_cannot_be_used_here:diag(1042,S.DiagnosticCategory.Error,"_0_modifier_cannot_be_used_here_1042","'{0}' modifier cannot be used here."),_0_modifier_cannot_appear_on_a_data_property:diag(1043,S.DiagnosticCategory.Error,"_0_modifier_cannot_appear_on_a_data_property_1043","'{0}' modifier cannot appear on a data property."),_0_modifier_cannot_appear_on_a_module_or_namespace_element:diag(1044,S.DiagnosticCategory.Error,"_0_modifier_cannot_appear_on_a_module_or_namespace_element_1044","'{0}' modifier cannot appear on a module or namespace element."),A_0_modifier_cannot_be_used_with_an_interface_declaration:diag(1045,S.DiagnosticCategory.Error,"A_0_modifier_cannot_be_used_with_an_interface_declaration_1045","A '{0}' modifier cannot be used with an interface declaration."),Top_level_declarations_in_d_ts_files_must_start_with_either_a_declare_or_export_modifier:diag(1046,S.DiagnosticCategory.Error,"Top_level_declarations_in_d_ts_files_must_start_with_either_a_declare_or_export_modifier_1046","Top-level declarations in .d.ts files must start with either a 'declare' or 'export' modifier."),A_rest_parameter_cannot_be_optional:diag(1047,S.DiagnosticCategory.Error,"A_rest_parameter_cannot_be_optional_1047","A rest parameter cannot be optional."),A_rest_parameter_cannot_have_an_initializer:diag(1048,S.DiagnosticCategory.Error,"A_rest_parameter_cannot_have_an_initializer_1048","A rest parameter cannot have an initializer."),A_set_accessor_must_have_exactly_one_parameter:diag(1049,S.DiagnosticCategory.Error,"A_set_accessor_must_have_exactly_one_parameter_1049","A 'set' accessor must have exactly one parameter."),A_set_accessor_cannot_have_an_optional_parameter:diag(1051,S.DiagnosticCategory.Error,"A_set_accessor_cannot_have_an_optional_parameter_1051","A 'set' accessor cannot have an optional parameter."),A_set_accessor_parameter_cannot_have_an_initializer:diag(1052,S.DiagnosticCategory.Error,"A_set_accessor_parameter_cannot_have_an_initializer_1052","A 'set' accessor parameter cannot have an initializer."),A_set_accessor_cannot_have_rest_parameter:diag(1053,S.DiagnosticCategory.Error,"A_set_accessor_cannot_have_rest_parameter_1053","A 'set' accessor cannot have rest parameter."),A_get_accessor_cannot_have_parameters:diag(1054,S.DiagnosticCategory.Error,"A_get_accessor_cannot_have_parameters_1054","A 'get' accessor cannot have parameters."),Type_0_is_not_a_valid_async_function_return_type_in_ES5_SlashES3_because_it_does_not_refer_to_a_Promise_compatible_constructor_value:diag(1055,S.DiagnosticCategory.Error,"Type_0_is_not_a_valid_async_function_return_type_in_ES5_SlashES3_because_it_does_not_refer_to_a_Prom_1055","Type '{0}' is not a valid async function return type in ES5/ES3 because it does not refer to a Promise-compatible constructor value."),Accessors_are_only_available_when_targeting_ECMAScript_5_and_higher:diag(1056,S.DiagnosticCategory.Error,"Accessors_are_only_available_when_targeting_ECMAScript_5_and_higher_1056","Accessors are only available when targeting ECMAScript 5 and higher."),An_async_function_or_method_must_have_a_valid_awaitable_return_type:diag(1057,S.DiagnosticCategory.Error,"An_async_function_or_method_must_have_a_valid_awaitable_return_type_1057","An async function or method must have a valid awaitable return type."),The_return_type_of_an_async_function_must_either_be_a_valid_promise_or_must_not_contain_a_callable_then_member:diag(1058,S.DiagnosticCategory.Error,"The_return_type_of_an_async_function_must_either_be_a_valid_promise_or_must_not_contain_a_callable_t_1058","The return type of an async function must either be a valid promise or must not contain a callable 'then' member."),A_promise_must_have_a_then_method:diag(1059,S.DiagnosticCategory.Error,"A_promise_must_have_a_then_method_1059","A promise must have a 'then' method."),The_first_parameter_of_the_then_method_of_a_promise_must_be_a_callback:diag(1060,S.DiagnosticCategory.Error,"The_first_parameter_of_the_then_method_of_a_promise_must_be_a_callback_1060","The first parameter of the 'then' method of a promise must be a callback."),Enum_member_must_have_initializer:diag(1061,S.DiagnosticCategory.Error,"Enum_member_must_have_initializer_1061","Enum member must have initializer."),Type_is_referenced_directly_or_indirectly_in_the_fulfillment_callback_of_its_own_then_method:diag(1062,S.DiagnosticCategory.Error,"Type_is_referenced_directly_or_indirectly_in_the_fulfillment_callback_of_its_own_then_method_1062","Type is referenced directly or indirectly in the fulfillment callback of its own 'then' method."),An_export_assignment_cannot_be_used_in_a_namespace:diag(1063,S.DiagnosticCategory.Error,"An_export_assignment_cannot_be_used_in_a_namespace_1063","An export assignment cannot be used in a namespace."),The_return_type_of_an_async_function_or_method_must_be_the_global_Promise_T_type:diag(1064,S.DiagnosticCategory.Error,"The_return_type_of_an_async_function_or_method_must_be_the_global_Promise_T_type_1064","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,S.DiagnosticCategory.Error,"In_ambient_enum_declarations_member_initializer_must_be_constant_expression_1066","In ambient enum declarations member initializer must be constant expression."),Unexpected_token_A_constructor_method_accessor_or_property_was_expected:diag(1068,S.DiagnosticCategory.Error,"Unexpected_token_A_constructor_method_accessor_or_property_was_expected_1068","Unexpected token. A constructor, method, accessor, or property was expected."),Unexpected_token_A_type_parameter_name_was_expected_without_curly_braces:diag(1069,S.DiagnosticCategory.Error,"Unexpected_token_A_type_parameter_name_was_expected_without_curly_braces_1069","Unexpected token. A type parameter name was expected without curly braces."),_0_modifier_cannot_appear_on_a_type_member:diag(1070,S.DiagnosticCategory.Error,"_0_modifier_cannot_appear_on_a_type_member_1070","'{0}' modifier cannot appear on a type member."),_0_modifier_cannot_appear_on_an_index_signature:diag(1071,S.DiagnosticCategory.Error,"_0_modifier_cannot_appear_on_an_index_signature_1071","'{0}' modifier cannot appear on an index signature."),A_0_modifier_cannot_be_used_with_an_import_declaration:diag(1079,S.DiagnosticCategory.Error,"A_0_modifier_cannot_be_used_with_an_import_declaration_1079","A '{0}' modifier cannot be used with an import declaration."),Invalid_reference_directive_syntax:diag(1084,S.DiagnosticCategory.Error,"Invalid_reference_directive_syntax_1084","Invalid 'reference' directive syntax."),Octal_literals_are_not_available_when_targeting_ECMAScript_5_and_higher_Use_the_syntax_0:diag(1085,S.DiagnosticCategory.Error,"Octal_literals_are_not_available_when_targeting_ECMAScript_5_and_higher_Use_the_syntax_0_1085","Octal literals are not available when targeting ECMAScript 5 and higher. Use the syntax '{0}'."),_0_modifier_cannot_appear_on_a_constructor_declaration:diag(1089,S.DiagnosticCategory.Error,"_0_modifier_cannot_appear_on_a_constructor_declaration_1089","'{0}' modifier cannot appear on a constructor declaration."),_0_modifier_cannot_appear_on_a_parameter:diag(1090,S.DiagnosticCategory.Error,"_0_modifier_cannot_appear_on_a_parameter_1090","'{0}' modifier cannot appear on a parameter."),Only_a_single_variable_declaration_is_allowed_in_a_for_in_statement:diag(1091,S.DiagnosticCategory.Error,"Only_a_single_variable_declaration_is_allowed_in_a_for_in_statement_1091","Only a single variable declaration is allowed in a 'for...in' statement."),Type_parameters_cannot_appear_on_a_constructor_declaration:diag(1092,S.DiagnosticCategory.Error,"Type_parameters_cannot_appear_on_a_constructor_declaration_1092","Type parameters cannot appear on a constructor declaration."),Type_annotation_cannot_appear_on_a_constructor_declaration:diag(1093,S.DiagnosticCategory.Error,"Type_annotation_cannot_appear_on_a_constructor_declaration_1093","Type annotation cannot appear on a constructor declaration."),An_accessor_cannot_have_type_parameters:diag(1094,S.DiagnosticCategory.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,S.DiagnosticCategory.Error,"A_set_accessor_cannot_have_a_return_type_annotation_1095","A 'set' accessor cannot have a return type annotation."),An_index_signature_must_have_exactly_one_parameter:diag(1096,S.DiagnosticCategory.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,S.DiagnosticCategory.Error,"_0_list_cannot_be_empty_1097","'{0}' list cannot be empty."),Type_parameter_list_cannot_be_empty:diag(1098,S.DiagnosticCategory.Error,"Type_parameter_list_cannot_be_empty_1098","Type parameter list cannot be empty."),Type_argument_list_cannot_be_empty:diag(1099,S.DiagnosticCategory.Error,"Type_argument_list_cannot_be_empty_1099","Type argument list cannot be empty."),Invalid_use_of_0_in_strict_mode:diag(1100,S.DiagnosticCategory.Error,"Invalid_use_of_0_in_strict_mode_1100","Invalid use of '{0}' in strict mode."),with_statements_are_not_allowed_in_strict_mode:diag(1101,S.DiagnosticCategory.Error,"with_statements_are_not_allowed_in_strict_mode_1101","'with' statements are not allowed in strict mode."),delete_cannot_be_called_on_an_identifier_in_strict_mode:diag(1102,S.DiagnosticCategory.Error,"delete_cannot_be_called_on_an_identifier_in_strict_mode_1102","'delete' cannot be called on an identifier in strict mode."),A_for_await_of_statement_is_only_allowed_within_an_async_function_or_async_generator:diag(1103,S.DiagnosticCategory.Error,"A_for_await_of_statement_is_only_allowed_within_an_async_function_or_async_generator_1103","A 'for-await-of' statement is only allowed within an async function or async generator."),A_continue_statement_can_only_be_used_within_an_enclosing_iteration_statement:diag(1104,S.DiagnosticCategory.Error,"A_continue_statement_can_only_be_used_within_an_enclosing_iteration_statement_1104","A 'continue' statement can only be used within an enclosing iteration statement."),A_break_statement_can_only_be_used_within_an_enclosing_iteration_or_switch_statement:diag(1105,S.DiagnosticCategory.Error,"A_break_statement_can_only_be_used_within_an_enclosing_iteration_or_switch_statement_1105","A 'break' statement can only be used within an enclosing iteration or switch statement."),Jump_target_cannot_cross_function_boundary:diag(1107,S.DiagnosticCategory.Error,"Jump_target_cannot_cross_function_boundary_1107","Jump target cannot cross function boundary."),A_return_statement_can_only_be_used_within_a_function_body:diag(1108,S.DiagnosticCategory.Error,"A_return_statement_can_only_be_used_within_a_function_body_1108","A 'return' statement can only be used within a function body."),Expression_expected:diag(1109,S.DiagnosticCategory.Error,"Expression_expected_1109","Expression expected."),Type_expected:diag(1110,S.DiagnosticCategory.Error,"Type_expected_1110","Type expected."),A_default_clause_cannot_appear_more_than_once_in_a_switch_statement:diag(1113,S.DiagnosticCategory.Error,"A_default_clause_cannot_appear_more_than_once_in_a_switch_statement_1113","A 'default' clause cannot appear more than once in a 'switch' statement."),Duplicate_label_0:diag(1114,S.DiagnosticCategory.Error,"Duplicate_label_0_1114","Duplicate label '{0}'."),A_continue_statement_can_only_jump_to_a_label_of_an_enclosing_iteration_statement:diag(1115,S.DiagnosticCategory.Error,"A_continue_statement_can_only_jump_to_a_label_of_an_enclosing_iteration_statement_1115","A 'continue' statement can only jump to a label of an enclosing iteration statement."),A_break_statement_can_only_jump_to_a_label_of_an_enclosing_statement:diag(1116,S.DiagnosticCategory.Error,"A_break_statement_can_only_jump_to_a_label_of_an_enclosing_statement_1116","A 'break' statement can only jump to a label of an enclosing statement."),An_object_literal_cannot_have_multiple_properties_with_the_same_name_in_strict_mode:diag(1117,S.DiagnosticCategory.Error,"An_object_literal_cannot_have_multiple_properties_with_the_same_name_in_strict_mode_1117","An object literal cannot have multiple properties with the same name in strict mode."),An_object_literal_cannot_have_multiple_get_Slashset_accessors_with_the_same_name:diag(1118,S.DiagnosticCategory.Error,"An_object_literal_cannot_have_multiple_get_Slashset_accessors_with_the_same_name_1118","An object literal cannot have multiple get/set accessors with the same name."),An_object_literal_cannot_have_property_and_accessor_with_the_same_name:diag(1119,S.DiagnosticCategory.Error,"An_object_literal_cannot_have_property_and_accessor_with_the_same_name_1119","An object literal cannot have property and accessor with the same name."),An_export_assignment_cannot_have_modifiers:diag(1120,S.DiagnosticCategory.Error,"An_export_assignment_cannot_have_modifiers_1120","An export assignment cannot have modifiers."),Octal_literals_are_not_allowed_in_strict_mode:diag(1121,S.DiagnosticCategory.Error,"Octal_literals_are_not_allowed_in_strict_mode_1121","Octal literals are not allowed in strict mode."),Variable_declaration_list_cannot_be_empty:diag(1123,S.DiagnosticCategory.Error,"Variable_declaration_list_cannot_be_empty_1123","Variable declaration list cannot be empty."),Digit_expected:diag(1124,S.DiagnosticCategory.Error,"Digit_expected_1124","Digit expected."),Hexadecimal_digit_expected:diag(1125,S.DiagnosticCategory.Error,"Hexadecimal_digit_expected_1125","Hexadecimal digit expected."),Unexpected_end_of_text:diag(1126,S.DiagnosticCategory.Error,"Unexpected_end_of_text_1126","Unexpected end of text."),Invalid_character:diag(1127,S.DiagnosticCategory.Error,"Invalid_character_1127","Invalid character."),Declaration_or_statement_expected:diag(1128,S.DiagnosticCategory.Error,"Declaration_or_statement_expected_1128","Declaration or statement expected."),Statement_expected:diag(1129,S.DiagnosticCategory.Error,"Statement_expected_1129","Statement expected."),case_or_default_expected:diag(1130,S.DiagnosticCategory.Error,"case_or_default_expected_1130","'case' or 'default' expected."),Property_or_signature_expected:diag(1131,S.DiagnosticCategory.Error,"Property_or_signature_expected_1131","Property or signature expected."),Enum_member_expected:diag(1132,S.DiagnosticCategory.Error,"Enum_member_expected_1132","Enum member expected."),Variable_declaration_expected:diag(1134,S.DiagnosticCategory.Error,"Variable_declaration_expected_1134","Variable declaration expected."),Argument_expression_expected:diag(1135,S.DiagnosticCategory.Error,"Argument_expression_expected_1135","Argument expression expected."),Property_assignment_expected:diag(1136,S.DiagnosticCategory.Error,"Property_assignment_expected_1136","Property assignment expected."),Expression_or_comma_expected:diag(1137,S.DiagnosticCategory.Error,"Expression_or_comma_expected_1137","Expression or comma expected."),Parameter_declaration_expected:diag(1138,S.DiagnosticCategory.Error,"Parameter_declaration_expected_1138","Parameter declaration expected."),Type_parameter_declaration_expected:diag(1139,S.DiagnosticCategory.Error,"Type_parameter_declaration_expected_1139","Type parameter declaration expected."),Type_argument_expected:diag(1140,S.DiagnosticCategory.Error,"Type_argument_expected_1140","Type argument expected."),String_literal_expected:diag(1141,S.DiagnosticCategory.Error,"String_literal_expected_1141","String literal expected."),Line_break_not_permitted_here:diag(1142,S.DiagnosticCategory.Error,"Line_break_not_permitted_here_1142","Line break not permitted here."),or_expected:diag(1144,S.DiagnosticCategory.Error,"or_expected_1144","'{' or ';' expected."),Declaration_expected:diag(1146,S.DiagnosticCategory.Error,"Declaration_expected_1146","Declaration expected."),Import_declarations_in_a_namespace_cannot_reference_a_module:diag(1147,S.DiagnosticCategory.Error,"Import_declarations_in_a_namespace_cannot_reference_a_module_1147","Import declarations in a namespace cannot reference a module."),Cannot_use_imports_exports_or_module_augmentations_when_module_is_none:diag(1148,S.DiagnosticCategory.Error,"Cannot_use_imports_exports_or_module_augmentations_when_module_is_none_1148","Cannot use imports, exports, or module augmentations when '--module' is 'none'."),File_name_0_differs_from_already_included_file_name_1_only_in_casing:diag(1149,S.DiagnosticCategory.Error,"File_name_0_differs_from_already_included_file_name_1_only_in_casing_1149","File name '{0}' differs from already included file name '{1}' only in casing."),const_declarations_must_be_initialized:diag(1155,S.DiagnosticCategory.Error,"const_declarations_must_be_initialized_1155","'const' declarations must be initialized."),const_declarations_can_only_be_declared_inside_a_block:diag(1156,S.DiagnosticCategory.Error,"const_declarations_can_only_be_declared_inside_a_block_1156","'const' declarations can only be declared inside a block."),let_declarations_can_only_be_declared_inside_a_block:diag(1157,S.DiagnosticCategory.Error,"let_declarations_can_only_be_declared_inside_a_block_1157","'let' declarations can only be declared inside a block."),Unterminated_template_literal:diag(1160,S.DiagnosticCategory.Error,"Unterminated_template_literal_1160","Unterminated template literal."),Unterminated_regular_expression_literal:diag(1161,S.DiagnosticCategory.Error,"Unterminated_regular_expression_literal_1161","Unterminated regular expression literal."),An_object_member_cannot_be_declared_optional:diag(1162,S.DiagnosticCategory.Error,"An_object_member_cannot_be_declared_optional_1162","An object member cannot be declared optional."),A_yield_expression_is_only_allowed_in_a_generator_body:diag(1163,S.DiagnosticCategory.Error,"A_yield_expression_is_only_allowed_in_a_generator_body_1163","A 'yield' expression is only allowed in a generator body."),Computed_property_names_are_not_allowed_in_enums:diag(1164,S.DiagnosticCategory.Error,"Computed_property_names_are_not_allowed_in_enums_1164","Computed property names are not allowed in enums."),A_computed_property_name_in_an_ambient_context_must_refer_to_an_expression_whose_type_is_a_literal_type_or_a_unique_symbol_type:diag(1165,S.DiagnosticCategory.Error,"A_computed_property_name_in_an_ambient_context_must_refer_to_an_expression_whose_type_is_a_literal_t_1165","A computed property name in an ambient context must refer to an expression whose type is a literal type or a 'unique symbol' type."),A_computed_property_name_in_a_class_property_declaration_must_refer_to_an_expression_whose_type_is_a_literal_type_or_a_unique_symbol_type:diag(1166,S.DiagnosticCategory.Error,"A_computed_property_name_in_a_class_property_declaration_must_refer_to_an_expression_whose_type_is_a_1166","A computed property name in a class property declaration must refer to an expression whose type is a 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,S.DiagnosticCategory.Error,"A_computed_property_name_in_a_method_overload_must_refer_to_an_expression_whose_type_is_a_literal_ty_1168","A computed property name in a method overload must refer to an expression whose type is a literal type or a 'unique symbol' type."),A_computed_property_name_in_an_interface_must_refer_to_an_expression_whose_type_is_a_literal_type_or_a_unique_symbol_type:diag(1169,S.DiagnosticCategory.Error,"A_computed_property_name_in_an_interface_must_refer_to_an_expression_whose_type_is_a_literal_type_or_1169","A computed property name in an interface must refer to an expression whose type is a literal type or a 'unique symbol' type."),A_computed_property_name_in_a_type_literal_must_refer_to_an_expression_whose_type_is_a_literal_type_or_a_unique_symbol_type:diag(1170,S.DiagnosticCategory.Error,"A_computed_property_name_in_a_type_literal_must_refer_to_an_expression_whose_type_is_a_literal_type__1170","A computed property name in a type literal must refer to an expression whose type is a literal type or a 'unique symbol' type."),A_comma_expression_is_not_allowed_in_a_computed_property_name:diag(1171,S.DiagnosticCategory.Error,"A_comma_expression_is_not_allowed_in_a_computed_property_name_1171","A comma expression is not allowed in a computed property name."),extends_clause_already_seen:diag(1172,S.DiagnosticCategory.Error,"extends_clause_already_seen_1172","'extends' clause already seen."),extends_clause_must_precede_implements_clause:diag(1173,S.DiagnosticCategory.Error,"extends_clause_must_precede_implements_clause_1173","'extends' clause must precede 'implements' clause."),Classes_can_only_extend_a_single_class:diag(1174,S.DiagnosticCategory.Error,"Classes_can_only_extend_a_single_class_1174","Classes can only extend a single class."),implements_clause_already_seen:diag(1175,S.DiagnosticCategory.Error,"implements_clause_already_seen_1175","'implements' clause already seen."),Interface_declaration_cannot_have_implements_clause:diag(1176,S.DiagnosticCategory.Error,"Interface_declaration_cannot_have_implements_clause_1176","Interface declaration cannot have 'implements' clause."),Binary_digit_expected:diag(1177,S.DiagnosticCategory.Error,"Binary_digit_expected_1177","Binary digit expected."),Octal_digit_expected:diag(1178,S.DiagnosticCategory.Error,"Octal_digit_expected_1178","Octal digit expected."),Unexpected_token_expected:diag(1179,S.DiagnosticCategory.Error,"Unexpected_token_expected_1179","Unexpected token. '{' expected."),Property_destructuring_pattern_expected:diag(1180,S.DiagnosticCategory.Error,"Property_destructuring_pattern_expected_1180","Property destructuring pattern expected."),Array_element_destructuring_pattern_expected:diag(1181,S.DiagnosticCategory.Error,"Array_element_destructuring_pattern_expected_1181","Array element destructuring pattern expected."),A_destructuring_declaration_must_have_an_initializer:diag(1182,S.DiagnosticCategory.Error,"A_destructuring_declaration_must_have_an_initializer_1182","A destructuring declaration must have an initializer."),An_implementation_cannot_be_declared_in_ambient_contexts:diag(1183,S.DiagnosticCategory.Error,"An_implementation_cannot_be_declared_in_ambient_contexts_1183","An implementation cannot be declared in ambient contexts."),Modifiers_cannot_appear_here:diag(1184,S.DiagnosticCategory.Error,"Modifiers_cannot_appear_here_1184","Modifiers cannot appear here."),Merge_conflict_marker_encountered:diag(1185,S.DiagnosticCategory.Error,"Merge_conflict_marker_encountered_1185","Merge conflict marker encountered."),A_rest_element_cannot_have_an_initializer:diag(1186,S.DiagnosticCategory.Error,"A_rest_element_cannot_have_an_initializer_1186","A rest element cannot have an initializer."),A_parameter_property_may_not_be_declared_using_a_binding_pattern:diag(1187,S.DiagnosticCategory.Error,"A_parameter_property_may_not_be_declared_using_a_binding_pattern_1187","A parameter property may not be declared using a binding pattern."),Only_a_single_variable_declaration_is_allowed_in_a_for_of_statement:diag(1188,S.DiagnosticCategory.Error,"Only_a_single_variable_declaration_is_allowed_in_a_for_of_statement_1188","Only a single variable declaration is allowed in a 'for...of' statement."),The_variable_declaration_of_a_for_in_statement_cannot_have_an_initializer:diag(1189,S.DiagnosticCategory.Error,"The_variable_declaration_of_a_for_in_statement_cannot_have_an_initializer_1189","The variable declaration of a 'for...in' statement cannot have an initializer."),The_variable_declaration_of_a_for_of_statement_cannot_have_an_initializer:diag(1190,S.DiagnosticCategory.Error,"The_variable_declaration_of_a_for_of_statement_cannot_have_an_initializer_1190","The variable declaration of a 'for...of' statement cannot have an initializer."),An_import_declaration_cannot_have_modifiers:diag(1191,S.DiagnosticCategory.Error,"An_import_declaration_cannot_have_modifiers_1191","An import declaration cannot have modifiers."),Module_0_has_no_default_export:diag(1192,S.DiagnosticCategory.Error,"Module_0_has_no_default_export_1192","Module '{0}' has no default export."),An_export_declaration_cannot_have_modifiers:diag(1193,S.DiagnosticCategory.Error,"An_export_declaration_cannot_have_modifiers_1193","An export declaration cannot have modifiers."),Export_declarations_are_not_permitted_in_a_namespace:diag(1194,S.DiagnosticCategory.Error,"Export_declarations_are_not_permitted_in_a_namespace_1194","Export declarations are not permitted in a namespace."),export_Asterisk_does_not_re_export_a_default:diag(1195,S.DiagnosticCategory.Error,"export_Asterisk_does_not_re_export_a_default_1195","'export *' does not re-export a default."),Catch_clause_variable_cannot_have_a_type_annotation:diag(1196,S.DiagnosticCategory.Error,"Catch_clause_variable_cannot_have_a_type_annotation_1196","Catch clause variable cannot have a type annotation."),Catch_clause_variable_cannot_have_an_initializer:diag(1197,S.DiagnosticCategory.Error,"Catch_clause_variable_cannot_have_an_initializer_1197","Catch clause variable cannot have an initializer."),An_extended_Unicode_escape_value_must_be_between_0x0_and_0x10FFFF_inclusive:diag(1198,S.DiagnosticCategory.Error,"An_extended_Unicode_escape_value_must_be_between_0x0_and_0x10FFFF_inclusive_1198","An extended Unicode escape value must be between 0x0 and 0x10FFFF inclusive."),Unterminated_Unicode_escape_sequence:diag(1199,S.DiagnosticCategory.Error,"Unterminated_Unicode_escape_sequence_1199","Unterminated Unicode escape sequence."),Line_terminator_not_permitted_before_arrow:diag(1200,S.DiagnosticCategory.Error,"Line_terminator_not_permitted_before_arrow_1200","Line terminator not permitted before arrow."),Import_assignment_cannot_be_used_when_targeting_ECMAScript_modules_Consider_using_import_Asterisk_as_ns_from_mod_import_a_from_mod_import_d_from_mod_or_another_module_format_instead:diag(1202,S.DiagnosticCategory.Error,"Import_assignment_cannot_be_used_when_targeting_ECMAScript_modules_Consider_using_import_Asterisk_as_1202","Import assignment cannot be used when targeting ECMAScript modules. Consider using 'import * as ns from \"mod\"', 'import {a} from \"mod\"', 'import d from \"mod\"', or another module format instead."),Export_assignment_cannot_be_used_when_targeting_ECMAScript_modules_Consider_using_export_default_or_another_module_format_instead:diag(1203,S.DiagnosticCategory.Error,"Export_assignment_cannot_be_used_when_targeting_ECMAScript_modules_Consider_using_export_default_or__1203","Export assignment cannot be used when targeting ECMAScript modules. Consider using 'export default' or another module format instead."),Re_exporting_a_type_when_the_isolatedModules_flag_is_provided_requires_using_export_type:diag(1205,S.DiagnosticCategory.Error,"Re_exporting_a_type_when_the_isolatedModules_flag_is_provided_requires_using_export_type_1205","Re-exporting a type when the '--isolatedModules' flag is provided requires using 'export type'."),Decorators_are_not_valid_here:diag(1206,S.DiagnosticCategory.Error,"Decorators_are_not_valid_here_1206","Decorators are not valid here."),Decorators_cannot_be_applied_to_multiple_get_Slashset_accessors_of_the_same_name:diag(1207,S.DiagnosticCategory.Error,"Decorators_cannot_be_applied_to_multiple_get_Slashset_accessors_of_the_same_name_1207","Decorators cannot be applied to multiple get/set accessors of the same name."),All_files_must_be_modules_when_the_isolatedModules_flag_is_provided:diag(1208,S.DiagnosticCategory.Error,"All_files_must_be_modules_when_the_isolatedModules_flag_is_provided_1208","All files must be modules when the '--isolatedModules' flag is provided."),Invalid_use_of_0_Class_definitions_are_automatically_in_strict_mode:diag(1210,S.DiagnosticCategory.Error,"Invalid_use_of_0_Class_definitions_are_automatically_in_strict_mode_1210","Invalid use of '{0}'. Class definitions are automatically in strict mode."),A_class_declaration_without_the_default_modifier_must_have_a_name:diag(1211,S.DiagnosticCategory.Error,"A_class_declaration_without_the_default_modifier_must_have_a_name_1211","A class declaration without the 'default' modifier must have a name."),Identifier_expected_0_is_a_reserved_word_in_strict_mode:diag(1212,S.DiagnosticCategory.Error,"Identifier_expected_0_is_a_reserved_word_in_strict_mode_1212","Identifier expected. '{0}' is a reserved word in strict mode."),Identifier_expected_0_is_a_reserved_word_in_strict_mode_Class_definitions_are_automatically_in_strict_mode:diag(1213,S.DiagnosticCategory.Error,"Identifier_expected_0_is_a_reserved_word_in_strict_mode_Class_definitions_are_automatically_in_stric_1213","Identifier expected. '{0}' is a reserved word in strict mode. Class definitions are automatically in strict mode."),Identifier_expected_0_is_a_reserved_word_in_strict_mode_Modules_are_automatically_in_strict_mode:diag(1214,S.DiagnosticCategory.Error,"Identifier_expected_0_is_a_reserved_word_in_strict_mode_Modules_are_automatically_in_strict_mode_1214","Identifier expected. '{0}' is a reserved word in strict mode. Modules are automatically in strict mode."),Invalid_use_of_0_Modules_are_automatically_in_strict_mode:diag(1215,S.DiagnosticCategory.Error,"Invalid_use_of_0_Modules_are_automatically_in_strict_mode_1215","Invalid use of '{0}'. Modules are automatically in strict mode."),Identifier_expected_esModule_is_reserved_as_an_exported_marker_when_transforming_ECMAScript_modules:diag(1216,S.DiagnosticCategory.Error,"Identifier_expected_esModule_is_reserved_as_an_exported_marker_when_transforming_ECMAScript_modules_1216","Identifier expected. '__esModule' is reserved as an exported marker when transforming ECMAScript modules."),Export_assignment_is_not_supported_when_module_flag_is_system:diag(1218,S.DiagnosticCategory.Error,"Export_assignment_is_not_supported_when_module_flag_is_system_1218","Export assignment is not supported when '--module' flag is 'system'."),Experimental_support_for_decorators_is_a_feature_that_is_subject_to_change_in_a_future_release_Set_the_experimentalDecorators_option_in_your_tsconfig_or_jsconfig_to_remove_this_warning:diag(1219,S.DiagnosticCategory.Error,"Experimental_support_for_decorators_is_a_feature_that_is_subject_to_change_in_a_future_release_Set_t_1219","Experimental support for decorators is a feature that is subject to change in a future release. Set the 'experimentalDecorators' option in your 'tsconfig' or 'jsconfig' to remove this warning."),Generators_are_only_available_when_targeting_ECMAScript_2015_or_higher:diag(1220,S.DiagnosticCategory.Error,"Generators_are_only_available_when_targeting_ECMAScript_2015_or_higher_1220","Generators are only available when targeting ECMAScript 2015 or higher."),Generators_are_not_allowed_in_an_ambient_context:diag(1221,S.DiagnosticCategory.Error,"Generators_are_not_allowed_in_an_ambient_context_1221","Generators are not allowed in an ambient context."),An_overload_signature_cannot_be_declared_as_a_generator:diag(1222,S.DiagnosticCategory.Error,"An_overload_signature_cannot_be_declared_as_a_generator_1222","An overload signature cannot be declared as a generator."),_0_tag_already_specified:diag(1223,S.DiagnosticCategory.Error,"_0_tag_already_specified_1223","'{0}' tag already specified."),Signature_0_must_be_a_type_predicate:diag(1224,S.DiagnosticCategory.Error,"Signature_0_must_be_a_type_predicate_1224","Signature '{0}' must be a type predicate."),Cannot_find_parameter_0:diag(1225,S.DiagnosticCategory.Error,"Cannot_find_parameter_0_1225","Cannot find parameter '{0}'."),Type_predicate_0_is_not_assignable_to_1:diag(1226,S.DiagnosticCategory.Error,"Type_predicate_0_is_not_assignable_to_1_1226","Type predicate '{0}' is not assignable to '{1}'."),Parameter_0_is_not_in_the_same_position_as_parameter_1:diag(1227,S.DiagnosticCategory.Error,"Parameter_0_is_not_in_the_same_position_as_parameter_1_1227","Parameter '{0}' is not in the same position as parameter '{1}'."),A_type_predicate_is_only_allowed_in_return_type_position_for_functions_and_methods:diag(1228,S.DiagnosticCategory.Error,"A_type_predicate_is_only_allowed_in_return_type_position_for_functions_and_methods_1228","A type predicate is only allowed in return type position for functions and methods."),A_type_predicate_cannot_reference_a_rest_parameter:diag(1229,S.DiagnosticCategory.Error,"A_type_predicate_cannot_reference_a_rest_parameter_1229","A type predicate cannot reference a rest parameter."),A_type_predicate_cannot_reference_element_0_in_a_binding_pattern:diag(1230,S.DiagnosticCategory.Error,"A_type_predicate_cannot_reference_element_0_in_a_binding_pattern_1230","A type predicate cannot reference element '{0}' in a binding pattern."),An_export_assignment_can_only_be_used_in_a_module:diag(1231,S.DiagnosticCategory.Error,"An_export_assignment_can_only_be_used_in_a_module_1231","An export assignment can only be used in a module."),An_import_declaration_can_only_be_used_in_a_namespace_or_module:diag(1232,S.DiagnosticCategory.Error,"An_import_declaration_can_only_be_used_in_a_namespace_or_module_1232","An import declaration can only be used in a namespace or module."),An_export_declaration_can_only_be_used_in_a_module:diag(1233,S.DiagnosticCategory.Error,"An_export_declaration_can_only_be_used_in_a_module_1233","An export declaration can only be used in a module."),An_ambient_module_declaration_is_only_allowed_at_the_top_level_in_a_file:diag(1234,S.DiagnosticCategory.Error,"An_ambient_module_declaration_is_only_allowed_at_the_top_level_in_a_file_1234","An ambient module declaration is only allowed at the top level in a file."),A_namespace_declaration_is_only_allowed_in_a_namespace_or_module:diag(1235,S.DiagnosticCategory.Error,"A_namespace_declaration_is_only_allowed_in_a_namespace_or_module_1235","A namespace declaration is only allowed in a namespace or module."),The_return_type_of_a_property_decorator_function_must_be_either_void_or_any:diag(1236,S.DiagnosticCategory.Error,"The_return_type_of_a_property_decorator_function_must_be_either_void_or_any_1236","The return type of a property decorator function must be either 'void' or 'any'."),The_return_type_of_a_parameter_decorator_function_must_be_either_void_or_any:diag(1237,S.DiagnosticCategory.Error,"The_return_type_of_a_parameter_decorator_function_must_be_either_void_or_any_1237","The return type of a parameter decorator function must be either 'void' or 'any'."),Unable_to_resolve_signature_of_class_decorator_when_called_as_an_expression:diag(1238,S.DiagnosticCategory.Error,"Unable_to_resolve_signature_of_class_decorator_when_called_as_an_expression_1238","Unable to resolve signature of class decorator when called as an expression."),Unable_to_resolve_signature_of_parameter_decorator_when_called_as_an_expression:diag(1239,S.DiagnosticCategory.Error,"Unable_to_resolve_signature_of_parameter_decorator_when_called_as_an_expression_1239","Unable to resolve signature of parameter decorator when called as an expression."),Unable_to_resolve_signature_of_property_decorator_when_called_as_an_expression:diag(1240,S.DiagnosticCategory.Error,"Unable_to_resolve_signature_of_property_decorator_when_called_as_an_expression_1240","Unable to resolve signature of property decorator when called as an expression."),Unable_to_resolve_signature_of_method_decorator_when_called_as_an_expression:diag(1241,S.DiagnosticCategory.Error,"Unable_to_resolve_signature_of_method_decorator_when_called_as_an_expression_1241","Unable to resolve signature of method decorator when called as an expression."),abstract_modifier_can_only_appear_on_a_class_method_or_property_declaration:diag(1242,S.DiagnosticCategory.Error,"abstract_modifier_can_only_appear_on_a_class_method_or_property_declaration_1242","'abstract' modifier can only appear on a class, method, or property declaration."),_0_modifier_cannot_be_used_with_1_modifier:diag(1243,S.DiagnosticCategory.Error,"_0_modifier_cannot_be_used_with_1_modifier_1243","'{0}' modifier cannot be used with '{1}' modifier."),Abstract_methods_can_only_appear_within_an_abstract_class:diag(1244,S.DiagnosticCategory.Error,"Abstract_methods_can_only_appear_within_an_abstract_class_1244","Abstract methods can only appear within an abstract class."),Method_0_cannot_have_an_implementation_because_it_is_marked_abstract:diag(1245,S.DiagnosticCategory.Error,"Method_0_cannot_have_an_implementation_because_it_is_marked_abstract_1245","Method '{0}' cannot have an implementation because it is marked abstract."),An_interface_property_cannot_have_an_initializer:diag(1246,S.DiagnosticCategory.Error,"An_interface_property_cannot_have_an_initializer_1246","An interface property cannot have an initializer."),A_type_literal_property_cannot_have_an_initializer:diag(1247,S.DiagnosticCategory.Error,"A_type_literal_property_cannot_have_an_initializer_1247","A type literal property cannot have an initializer."),A_class_member_cannot_have_the_0_keyword:diag(1248,S.DiagnosticCategory.Error,"A_class_member_cannot_have_the_0_keyword_1248","A class member cannot have the '{0}' keyword."),A_decorator_can_only_decorate_a_method_implementation_not_an_overload:diag(1249,S.DiagnosticCategory.Error,"A_decorator_can_only_decorate_a_method_implementation_not_an_overload_1249","A decorator can only decorate a method implementation, not an overload."),Function_declarations_are_not_allowed_inside_blocks_in_strict_mode_when_targeting_ES3_or_ES5:diag(1250,S.DiagnosticCategory.Error,"Function_declarations_are_not_allowed_inside_blocks_in_strict_mode_when_targeting_ES3_or_ES5_1250","Function declarations are not allowed inside blocks in strict mode when targeting 'ES3' or 'ES5'."),Function_declarations_are_not_allowed_inside_blocks_in_strict_mode_when_targeting_ES3_or_ES5_Class_definitions_are_automatically_in_strict_mode:diag(1251,S.DiagnosticCategory.Error,"Function_declarations_are_not_allowed_inside_blocks_in_strict_mode_when_targeting_ES3_or_ES5_Class_d_1251","Function declarations are not allowed inside blocks in strict mode when targeting 'ES3' or 'ES5'. Class definitions are automatically in strict mode."),Function_declarations_are_not_allowed_inside_blocks_in_strict_mode_when_targeting_ES3_or_ES5_Modules_are_automatically_in_strict_mode:diag(1252,S.DiagnosticCategory.Error,"Function_declarations_are_not_allowed_inside_blocks_in_strict_mode_when_targeting_ES3_or_ES5_Modules_1252","Function declarations are not allowed inside blocks in strict mode when targeting 'ES3' or 'ES5'. Modules are automatically in strict mode."),_0_tag_cannot_be_used_independently_as_a_top_level_JSDoc_tag:diag(1253,S.DiagnosticCategory.Error,"_0_tag_cannot_be_used_independently_as_a_top_level_JSDoc_tag_1253","'{0}' tag cannot be used independently as a top level JSDoc tag."),A_const_initializer_in_an_ambient_context_must_be_a_string_or_numeric_literal_or_literal_enum_reference:diag(1254,S.DiagnosticCategory.Error,"A_const_initializer_in_an_ambient_context_must_be_a_string_or_numeric_literal_or_literal_enum_refere_1254","A 'const' initializer in an ambient context must be a string or numeric literal or literal enum reference."),A_definite_assignment_assertion_is_not_permitted_in_this_context:diag(1255,S.DiagnosticCategory.Error,"A_definite_assignment_assertion_is_not_permitted_in_this_context_1255","A definite assignment assertion '!' is not permitted in this context."),A_rest_element_must_be_last_in_a_tuple_type:diag(1256,S.DiagnosticCategory.Error,"A_rest_element_must_be_last_in_a_tuple_type_1256","A rest element must be last in a tuple type."),A_required_element_cannot_follow_an_optional_element:diag(1257,S.DiagnosticCategory.Error,"A_required_element_cannot_follow_an_optional_element_1257","A required element cannot follow an optional element."),Definite_assignment_assertions_can_only_be_used_along_with_a_type_annotation:diag(1258,S.DiagnosticCategory.Error,"Definite_assignment_assertions_can_only_be_used_along_with_a_type_annotation_1258","Definite assignment assertions can only be used along with a type annotation."),Module_0_can_only_be_default_imported_using_the_1_flag:diag(1259,S.DiagnosticCategory.Error,"Module_0_can_only_be_default_imported_using_the_1_flag_1259","Module '{0}' can only be default-imported using the '{1}' flag"),Keywords_cannot_contain_escape_characters:diag(1260,S.DiagnosticCategory.Error,"Keywords_cannot_contain_escape_characters_1260","Keywords cannot contain escape characters."),Already_included_file_name_0_differs_from_file_name_1_only_in_casing:diag(1261,S.DiagnosticCategory.Error,"Already_included_file_name_0_differs_from_file_name_1_only_in_casing_1261","Already included file name '{0}' differs from file name '{1}' only in casing."),with_statements_are_not_allowed_in_an_async_function_block:diag(1300,S.DiagnosticCategory.Error,"with_statements_are_not_allowed_in_an_async_function_block_1300","'with' statements are not allowed in an async function block."),await_expressions_are_only_allowed_within_async_functions_and_at_the_top_levels_of_modules:diag(1308,S.DiagnosticCategory.Error,"await_expressions_are_only_allowed_within_async_functions_and_at_the_top_levels_of_modules_1308","'await' expressions are only allowed within async functions and at the top levels of modules."),can_only_be_used_in_an_object_literal_property_inside_a_destructuring_assignment:diag(1312,S.DiagnosticCategory.Error,"can_only_be_used_in_an_object_literal_property_inside_a_destructuring_assignment_1312","'=' can only be used in an object literal property inside a destructuring assignment."),The_body_of_an_if_statement_cannot_be_the_empty_statement:diag(1313,S.DiagnosticCategory.Error,"The_body_of_an_if_statement_cannot_be_the_empty_statement_1313","The body of an 'if' statement cannot be the empty statement."),Global_module_exports_may_only_appear_in_module_files:diag(1314,S.DiagnosticCategory.Error,"Global_module_exports_may_only_appear_in_module_files_1314","Global module exports may only appear in module files."),Global_module_exports_may_only_appear_in_declaration_files:diag(1315,S.DiagnosticCategory.Error,"Global_module_exports_may_only_appear_in_declaration_files_1315","Global module exports may only appear in declaration files."),Global_module_exports_may_only_appear_at_top_level:diag(1316,S.DiagnosticCategory.Error,"Global_module_exports_may_only_appear_at_top_level_1316","Global module exports may only appear at top level."),A_parameter_property_cannot_be_declared_using_a_rest_parameter:diag(1317,S.DiagnosticCategory.Error,"A_parameter_property_cannot_be_declared_using_a_rest_parameter_1317","A parameter property cannot be declared using a rest parameter."),An_abstract_accessor_cannot_have_an_implementation:diag(1318,S.DiagnosticCategory.Error,"An_abstract_accessor_cannot_have_an_implementation_1318","An abstract accessor cannot have an implementation."),A_default_export_can_only_be_used_in_an_ECMAScript_style_module:diag(1319,S.DiagnosticCategory.Error,"A_default_export_can_only_be_used_in_an_ECMAScript_style_module_1319","A default export can only be used in an ECMAScript-style module."),Type_of_await_operand_must_either_be_a_valid_promise_or_must_not_contain_a_callable_then_member:diag(1320,S.DiagnosticCategory.Error,"Type_of_await_operand_must_either_be_a_valid_promise_or_must_not_contain_a_callable_then_member_1320","Type of 'await' operand must either be a valid promise or must not contain a callable 'then' member."),Type_of_yield_operand_in_an_async_generator_must_either_be_a_valid_promise_or_must_not_contain_a_callable_then_member:diag(1321,S.DiagnosticCategory.Error,"Type_of_yield_operand_in_an_async_generator_must_either_be_a_valid_promise_or_must_not_contain_a_cal_1321","Type of 'yield' operand in an async generator must either be a valid promise or must not contain a callable 'then' member."),Type_of_iterated_elements_of_a_yield_Asterisk_operand_must_either_be_a_valid_promise_or_must_not_contain_a_callable_then_member:diag(1322,S.DiagnosticCategory.Error,"Type_of_iterated_elements_of_a_yield_Asterisk_operand_must_either_be_a_valid_promise_or_must_not_con_1322","Type of iterated elements of a 'yield*' operand must either be a valid promise or must not contain a callable 'then' member."),Dynamic_imports_are_only_supported_when_the_module_flag_is_set_to_es2020_esnext_commonjs_amd_system_or_umd:diag(1323,S.DiagnosticCategory.Error,"Dynamic_imports_are_only_supported_when_the_module_flag_is_set_to_es2020_esnext_commonjs_amd_system__1323","Dynamic imports are only supported when the '--module' flag is set to 'es2020', 'esnext', 'commonjs', 'amd', 'system', or 'umd'."),Dynamic_import_must_have_one_specifier_as_an_argument:diag(1324,S.DiagnosticCategory.Error,"Dynamic_import_must_have_one_specifier_as_an_argument_1324","Dynamic import must have one specifier as an argument."),Specifier_of_dynamic_import_cannot_be_spread_element:diag(1325,S.DiagnosticCategory.Error,"Specifier_of_dynamic_import_cannot_be_spread_element_1325","Specifier of dynamic import cannot be spread element."),Dynamic_import_cannot_have_type_arguments:diag(1326,S.DiagnosticCategory.Error,"Dynamic_import_cannot_have_type_arguments_1326","Dynamic import cannot have type arguments"),String_literal_with_double_quotes_expected:diag(1327,S.DiagnosticCategory.Error,"String_literal_with_double_quotes_expected_1327","String literal with double quotes expected."),Property_value_can_only_be_string_literal_numeric_literal_true_false_null_object_literal_or_array_literal:diag(1328,S.DiagnosticCategory.Error,"Property_value_can_only_be_string_literal_numeric_literal_true_false_null_object_literal_or_array_li_1328","Property value can only be string literal, numeric literal, 'true', 'false', 'null', object literal or array literal."),_0_accepts_too_few_arguments_to_be_used_as_a_decorator_here_Did_you_mean_to_call_it_first_and_write_0:diag(1329,S.DiagnosticCategory.Error,"_0_accepts_too_few_arguments_to_be_used_as_a_decorator_here_Did_you_mean_to_call_it_first_and_write__1329","'{0}' accepts too few arguments to be used as a decorator here. Did you mean to call it first and write '@{0}()'?"),A_property_of_an_interface_or_type_literal_whose_type_is_a_unique_symbol_type_must_be_readonly:diag(1330,S.DiagnosticCategory.Error,"A_property_of_an_interface_or_type_literal_whose_type_is_a_unique_symbol_type_must_be_readonly_1330","A property of an interface or type literal whose type is a 'unique symbol' type must be 'readonly'."),A_property_of_a_class_whose_type_is_a_unique_symbol_type_must_be_both_static_and_readonly:diag(1331,S.DiagnosticCategory.Error,"A_property_of_a_class_whose_type_is_a_unique_symbol_type_must_be_both_static_and_readonly_1331","A property of a class whose type is a 'unique symbol' type must be both 'static' and 'readonly'."),A_variable_whose_type_is_a_unique_symbol_type_must_be_const:diag(1332,S.DiagnosticCategory.Error,"A_variable_whose_type_is_a_unique_symbol_type_must_be_const_1332","A variable whose type is a 'unique symbol' type must be 'const'."),unique_symbol_types_may_not_be_used_on_a_variable_declaration_with_a_binding_name:diag(1333,S.DiagnosticCategory.Error,"unique_symbol_types_may_not_be_used_on_a_variable_declaration_with_a_binding_name_1333","'unique symbol' types may not be used on a variable declaration with a binding name."),unique_symbol_types_are_only_allowed_on_variables_in_a_variable_statement:diag(1334,S.DiagnosticCategory.Error,"unique_symbol_types_are_only_allowed_on_variables_in_a_variable_statement_1334","'unique symbol' types are only allowed on variables in a variable statement."),unique_symbol_types_are_not_allowed_here:diag(1335,S.DiagnosticCategory.Error,"unique_symbol_types_are_not_allowed_here_1335","'unique symbol' types are not allowed here."),An_index_signature_parameter_type_cannot_be_a_type_alias_Consider_writing_0_Colon_1_Colon_2_instead:diag(1336,S.DiagnosticCategory.Error,"An_index_signature_parameter_type_cannot_be_a_type_alias_Consider_writing_0_Colon_1_Colon_2_instead_1336","An index signature parameter type cannot be a type alias. Consider writing '[{0}: {1}]: {2}' instead."),An_index_signature_parameter_type_cannot_be_a_union_type_Consider_using_a_mapped_object_type_instead:diag(1337,S.DiagnosticCategory.Error,"An_index_signature_parameter_type_cannot_be_a_union_type_Consider_using_a_mapped_object_type_instead_1337","An index signature parameter type cannot be a union type. Consider using a mapped object type instead."),infer_declarations_are_only_permitted_in_the_extends_clause_of_a_conditional_type:diag(1338,S.DiagnosticCategory.Error,"infer_declarations_are_only_permitted_in_the_extends_clause_of_a_conditional_type_1338","'infer' declarations are only permitted in the 'extends' clause of a conditional type."),Module_0_does_not_refer_to_a_value_but_is_used_as_a_value_here:diag(1339,S.DiagnosticCategory.Error,"Module_0_does_not_refer_to_a_value_but_is_used_as_a_value_here_1339","Module '{0}' does not refer to a value, but is used as a value here."),Module_0_does_not_refer_to_a_type_but_is_used_as_a_type_here_Did_you_mean_typeof_import_0:diag(1340,S.DiagnosticCategory.Error,"Module_0_does_not_refer_to_a_type_but_is_used_as_a_type_here_Did_you_mean_typeof_import_0_1340","Module '{0}' does not refer to a type, but is used as a type here. Did you mean 'typeof import('{0}')'?"),Type_arguments_cannot_be_used_here:diag(1342,S.DiagnosticCategory.Error,"Type_arguments_cannot_be_used_here_1342","Type arguments cannot be used here."),The_import_meta_meta_property_is_only_allowed_when_the_module_option_is_esnext_or_system:diag(1343,S.DiagnosticCategory.Error,"The_import_meta_meta_property_is_only_allowed_when_the_module_option_is_esnext_or_system_1343","The 'import.meta' meta-property is only allowed when the '--module' option is 'esnext' or 'system'."),A_label_is_not_allowed_here:diag(1344,S.DiagnosticCategory.Error,"A_label_is_not_allowed_here_1344","'A label is not allowed here."),An_expression_of_type_void_cannot_be_tested_for_truthiness:diag(1345,S.DiagnosticCategory.Error,"An_expression_of_type_void_cannot_be_tested_for_truthiness_1345","An expression of type 'void' cannot be tested for truthiness"),This_parameter_is_not_allowed_with_use_strict_directive:diag(1346,S.DiagnosticCategory.Error,"This_parameter_is_not_allowed_with_use_strict_directive_1346","This parameter is not allowed with 'use strict' directive."),use_strict_directive_cannot_be_used_with_non_simple_parameter_list:diag(1347,S.DiagnosticCategory.Error,"use_strict_directive_cannot_be_used_with_non_simple_parameter_list_1347","'use strict' directive cannot be used with non-simple parameter list."),Non_simple_parameter_declared_here:diag(1348,S.DiagnosticCategory.Error,"Non_simple_parameter_declared_here_1348","Non-simple parameter declared here."),use_strict_directive_used_here:diag(1349,S.DiagnosticCategory.Error,"use_strict_directive_used_here_1349","'use strict' directive used here."),Print_the_final_configuration_instead_of_building:diag(1350,S.DiagnosticCategory.Message,"Print_the_final_configuration_instead_of_building_1350","Print the final configuration instead of building."),An_identifier_or_keyword_cannot_immediately_follow_a_numeric_literal:diag(1351,S.DiagnosticCategory.Error,"An_identifier_or_keyword_cannot_immediately_follow_a_numeric_literal_1351","An identifier or keyword cannot immediately follow a numeric literal."),A_bigint_literal_cannot_use_exponential_notation:diag(1352,S.DiagnosticCategory.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,S.DiagnosticCategory.Error,"A_bigint_literal_must_be_an_integer_1353","A bigint literal must be an integer."),readonly_type_modifier_is_only_permitted_on_array_and_tuple_literal_types:diag(1354,S.DiagnosticCategory.Error,"readonly_type_modifier_is_only_permitted_on_array_and_tuple_literal_types_1354","'readonly' type modifier is only permitted on array and tuple literal types."),A_const_assertions_can_only_be_applied_to_references_to_enum_members_or_string_number_boolean_array_or_object_literals:diag(1355,S.DiagnosticCategory.Error,"A_const_assertions_can_only_be_applied_to_references_to_enum_members_or_string_number_boolean_array__1355","A 'const' assertions can only be applied to references to enum members, or string, number, boolean, array, or object literals."),Did_you_mean_to_mark_this_function_as_async:diag(1356,S.DiagnosticCategory.Error,"Did_you_mean_to_mark_this_function_as_async_1356","Did you mean to mark this function as 'async'?"),An_enum_member_name_must_be_followed_by_a_or:diag(1357,S.DiagnosticCategory.Error,"An_enum_member_name_must_be_followed_by_a_or_1357","An enum member name must be followed by a ',', '=', or '}'."),Tagged_template_expressions_are_not_permitted_in_an_optional_chain:diag(1358,S.DiagnosticCategory.Error,"Tagged_template_expressions_are_not_permitted_in_an_optional_chain_1358","Tagged template expressions are not permitted in an optional chain."),Identifier_expected_0_is_a_reserved_word_that_cannot_be_used_here:diag(1359,S.DiagnosticCategory.Error,"Identifier_expected_0_is_a_reserved_word_that_cannot_be_used_here_1359","Identifier expected. '{0}' is a reserved word that cannot be used here."),Did_you_mean_to_parenthesize_this_function_type:diag(1360,S.DiagnosticCategory.Error,"Did_you_mean_to_parenthesize_this_function_type_1360","Did you mean to parenthesize this function type?"),_0_cannot_be_used_as_a_value_because_it_was_imported_using_import_type:diag(1361,S.DiagnosticCategory.Error,"_0_cannot_be_used_as_a_value_because_it_was_imported_using_import_type_1361","'{0}' cannot be used as a value because it was imported using 'import type'."),_0_cannot_be_used_as_a_value_because_it_was_exported_using_export_type:diag(1362,S.DiagnosticCategory.Error,"_0_cannot_be_used_as_a_value_because_it_was_exported_using_export_type_1362","'{0}' cannot be used as a value because it was exported using 'export type'."),A_type_only_import_can_specify_a_default_import_or_named_bindings_but_not_both:diag(1363,S.DiagnosticCategory.Error,"A_type_only_import_can_specify_a_default_import_or_named_bindings_but_not_both_1363","A type-only import can specify a default import or named bindings, but not both."),Convert_to_type_only_export:diag(1364,S.DiagnosticCategory.Message,"Convert_to_type_only_export_1364","Convert to type-only export"),Convert_all_re_exported_types_to_type_only_exports:diag(1365,S.DiagnosticCategory.Message,"Convert_all_re_exported_types_to_type_only_exports_1365","Convert all re-exported types to type-only exports"),Split_into_two_separate_import_declarations:diag(1366,S.DiagnosticCategory.Message,"Split_into_two_separate_import_declarations_1366","Split into two separate import declarations"),Split_all_invalid_type_only_imports:diag(1367,S.DiagnosticCategory.Message,"Split_all_invalid_type_only_imports_1367","Split all invalid type-only imports"),Specify_emit_Slashchecking_behavior_for_imports_that_are_only_used_for_types:diag(1368,S.DiagnosticCategory.Message,"Specify_emit_Slashchecking_behavior_for_imports_that_are_only_used_for_types_1368","Specify emit/checking behavior for imports that are only used for types"),Did_you_mean_0:diag(1369,S.DiagnosticCategory.Message,"Did_you_mean_0_1369","Did you mean '{0}'?"),Only_ECMAScript_imports_may_use_import_type:diag(1370,S.DiagnosticCategory.Error,"Only_ECMAScript_imports_may_use_import_type_1370","Only ECMAScript imports may use 'import type'."),This_import_is_never_used_as_a_value_and_must_use_import_type_because_the_importsNotUsedAsValues_is_set_to_error:diag(1371,S.DiagnosticCategory.Error,"This_import_is_never_used_as_a_value_and_must_use_import_type_because_the_importsNotUsedAsValues_is__1371","This import is never used as a value and must use 'import type' because the 'importsNotUsedAsValues' is set to 'error'."),Convert_to_type_only_import:diag(1373,S.DiagnosticCategory.Message,"Convert_to_type_only_import_1373","Convert to type-only import"),Convert_all_imports_not_used_as_a_value_to_type_only_imports:diag(1374,S.DiagnosticCategory.Message,"Convert_all_imports_not_used_as_a_value_to_type_only_imports_1374","Convert all imports not used as a value to type-only imports"),await_expressions_are_only_allowed_at_the_top_level_of_a_file_when_that_file_is_a_module_but_this_file_has_no_imports_or_exports_Consider_adding_an_empty_export_to_make_this_file_a_module:diag(1375,S.DiagnosticCategory.Error,"await_expressions_are_only_allowed_at_the_top_level_of_a_file_when_that_file_is_a_module_but_this_fi_1375","'await' expressions are only allowed at the top level of a file when that file is a module, but this file has no imports or exports. Consider adding an empty 'export {}' to make this file a module."),_0_was_imported_here:diag(1376,S.DiagnosticCategory.Message,"_0_was_imported_here_1376","'{0}' was imported here."),_0_was_exported_here:diag(1377,S.DiagnosticCategory.Message,"_0_was_exported_here_1377","'{0}' was exported here."),Top_level_await_expressions_are_only_allowed_when_the_module_option_is_set_to_esnext_or_system_and_the_target_option_is_set_to_es2017_or_higher:diag(1378,S.DiagnosticCategory.Error,"Top_level_await_expressions_are_only_allowed_when_the_module_option_is_set_to_esnext_or_system_and_t_1378","Top-level 'await' expressions are only allowed when the 'module' option is set to 'esnext' or 'system', 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,S.DiagnosticCategory.Error,"An_import_alias_cannot_reference_a_declaration_that_was_exported_using_export_type_1379","An import alias cannot reference a declaration that was exported using 'export type'."),An_import_alias_cannot_reference_a_declaration_that_was_imported_using_import_type:diag(1380,S.DiagnosticCategory.Error,"An_import_alias_cannot_reference_a_declaration_that_was_imported_using_import_type_1380","An import alias cannot reference a declaration that was imported using 'import type'."),Unexpected_token_Did_you_mean_or_rbrace:diag(1381,S.DiagnosticCategory.Error,"Unexpected_token_Did_you_mean_or_rbrace_1381","Unexpected token. Did you mean `{'}'}` or `}`?"),Unexpected_token_Did_you_mean_or_gt:diag(1382,S.DiagnosticCategory.Error,"Unexpected_token_Did_you_mean_or_gt_1382","Unexpected token. Did you mean `{'>'}` or `>`?"),Only_named_exports_may_use_export_type:diag(1383,S.DiagnosticCategory.Error,"Only_named_exports_may_use_export_type_1383","Only named exports may use 'export type'."),A_new_expression_with_type_arguments_must_always_be_followed_by_a_parenthesized_argument_list:diag(1384,S.DiagnosticCategory.Error,"A_new_expression_with_type_arguments_must_always_be_followed_by_a_parenthesized_argument_list_1384","A 'new' expression with type arguments must always be followed by a parenthesized argument list."),The_types_of_0_are_incompatible_between_these_types:diag(2200,S.DiagnosticCategory.Error,"The_types_of_0_are_incompatible_between_these_types_2200","The types of '{0}' are incompatible between these types."),The_types_returned_by_0_are_incompatible_between_these_types:diag(2201,S.DiagnosticCategory.Error,"The_types_returned_by_0_are_incompatible_between_these_types_2201","The types returned by '{0}' are incompatible between these types."),Call_signature_return_types_0_and_1_are_incompatible:diag(2202,S.DiagnosticCategory.Error,"Call_signature_return_types_0_and_1_are_incompatible_2202","Call signature return types '{0}' and '{1}' are incompatible.",undefined,true),Construct_signature_return_types_0_and_1_are_incompatible:diag(2203,S.DiagnosticCategory.Error,"Construct_signature_return_types_0_and_1_are_incompatible_2203","Construct signature return types '{0}' and '{1}' are incompatible.",undefined,true),Call_signatures_with_no_arguments_have_incompatible_return_types_0_and_1:diag(2204,S.DiagnosticCategory.Error,"Call_signatures_with_no_arguments_have_incompatible_return_types_0_and_1_2204","Call signatures with no arguments have incompatible return types '{0}' and '{1}'.",undefined,true),Construct_signatures_with_no_arguments_have_incompatible_return_types_0_and_1:diag(2205,S.DiagnosticCategory.Error,"Construct_signatures_with_no_arguments_have_incompatible_return_types_0_and_1_2205","Construct signatures with no arguments have incompatible return types '{0}' and '{1}'.",undefined,true),Duplicate_identifier_0:diag(2300,S.DiagnosticCategory.Error,"Duplicate_identifier_0_2300","Duplicate identifier '{0}'."),Initializer_of_instance_member_variable_0_cannot_reference_identifier_1_declared_in_the_constructor:diag(2301,S.DiagnosticCategory.Error,"Initializer_of_instance_member_variable_0_cannot_reference_identifier_1_declared_in_the_constructor_2301","Initializer of instance member variable '{0}' cannot reference identifier '{1}' declared in the constructor."),Static_members_cannot_reference_class_type_parameters:diag(2302,S.DiagnosticCategory.Error,"Static_members_cannot_reference_class_type_parameters_2302","Static members cannot reference class type parameters."),Circular_definition_of_import_alias_0:diag(2303,S.DiagnosticCategory.Error,"Circular_definition_of_import_alias_0_2303","Circular definition of import alias '{0}'."),Cannot_find_name_0:diag(2304,S.DiagnosticCategory.Error,"Cannot_find_name_0_2304","Cannot find name '{0}'."),Module_0_has_no_exported_member_1:diag(2305,S.DiagnosticCategory.Error,"Module_0_has_no_exported_member_1_2305","Module '{0}' has no exported member '{1}'."),File_0_is_not_a_module:diag(2306,S.DiagnosticCategory.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,S.DiagnosticCategory.Error,"Cannot_find_module_0_or_its_corresponding_type_declarations_2307","Cannot find module '{0}' or its corresponding type declarations."),Module_0_has_already_exported_a_member_named_1_Consider_explicitly_re_exporting_to_resolve_the_ambiguity:diag(2308,S.DiagnosticCategory.Error,"Module_0_has_already_exported_a_member_named_1_Consider_explicitly_re_exporting_to_resolve_the_ambig_2308","Module {0} has already exported a member named '{1}'. Consider explicitly re-exporting to resolve the ambiguity."),An_export_assignment_cannot_be_used_in_a_module_with_other_exported_elements:diag(2309,S.DiagnosticCategory.Error,"An_export_assignment_cannot_be_used_in_a_module_with_other_exported_elements_2309","An export assignment cannot be used in a module with other exported elements."),Type_0_recursively_references_itself_as_a_base_type:diag(2310,S.DiagnosticCategory.Error,"Type_0_recursively_references_itself_as_a_base_type_2310","Type '{0}' recursively references itself as a base type."),A_class_may_only_extend_another_class:diag(2311,S.DiagnosticCategory.Error,"A_class_may_only_extend_another_class_2311","A class may only extend another class."),An_interface_can_only_extend_an_object_type_or_intersection_of_object_types_with_statically_known_members:diag(2312,S.DiagnosticCategory.Error,"An_interface_can_only_extend_an_object_type_or_intersection_of_object_types_with_statically_known_me_2312","An interface can only extend an object type or intersection of object types with statically known members."),Type_parameter_0_has_a_circular_constraint:diag(2313,S.DiagnosticCategory.Error,"Type_parameter_0_has_a_circular_constraint_2313","Type parameter '{0}' has a circular constraint."),Generic_type_0_requires_1_type_argument_s:diag(2314,S.DiagnosticCategory.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,S.DiagnosticCategory.Error,"Type_0_is_not_generic_2315","Type '{0}' is not generic."),Global_type_0_must_be_a_class_or_interface_type:diag(2316,S.DiagnosticCategory.Error,"Global_type_0_must_be_a_class_or_interface_type_2316","Global type '{0}' must be a class or interface type."),Global_type_0_must_have_1_type_parameter_s:diag(2317,S.DiagnosticCategory.Error,"Global_type_0_must_have_1_type_parameter_s_2317","Global type '{0}' must have {1} type parameter(s)."),Cannot_find_global_type_0:diag(2318,S.DiagnosticCategory.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,S.DiagnosticCategory.Error,"Named_property_0_of_types_1_and_2_are_not_identical_2319","Named property '{0}' of types '{1}' and '{2}' are not identical."),Interface_0_cannot_simultaneously_extend_types_1_and_2:diag(2320,S.DiagnosticCategory.Error,"Interface_0_cannot_simultaneously_extend_types_1_and_2_2320","Interface '{0}' cannot simultaneously extend types '{1}' and '{2}'."),Excessive_stack_depth_comparing_types_0_and_1:diag(2321,S.DiagnosticCategory.Error,"Excessive_stack_depth_comparing_types_0_and_1_2321","Excessive stack depth comparing types '{0}' and '{1}'."),Type_0_is_not_assignable_to_type_1:diag(2322,S.DiagnosticCategory.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,S.DiagnosticCategory.Error,"Cannot_redeclare_exported_variable_0_2323","Cannot redeclare exported variable '{0}'."),Property_0_is_missing_in_type_1:diag(2324,S.DiagnosticCategory.Error,"Property_0_is_missing_in_type_1_2324","Property '{0}' is missing in type '{1}'."),Property_0_is_private_in_type_1_but_not_in_type_2:diag(2325,S.DiagnosticCategory.Error,"Property_0_is_private_in_type_1_but_not_in_type_2_2325","Property '{0}' is private in type '{1}' but not in type '{2}'."),Types_of_property_0_are_incompatible:diag(2326,S.DiagnosticCategory.Error,"Types_of_property_0_are_incompatible_2326","Types of property '{0}' are incompatible."),Property_0_is_optional_in_type_1_but_required_in_type_2:diag(2327,S.DiagnosticCategory.Error,"Property_0_is_optional_in_type_1_but_required_in_type_2_2327","Property '{0}' is optional in type '{1}' but required in type '{2}'."),Types_of_parameters_0_and_1_are_incompatible:diag(2328,S.DiagnosticCategory.Error,"Types_of_parameters_0_and_1_are_incompatible_2328","Types of parameters '{0}' and '{1}' are incompatible."),Index_signature_is_missing_in_type_0:diag(2329,S.DiagnosticCategory.Error,"Index_signature_is_missing_in_type_0_2329","Index signature is missing in type '{0}'."),Index_signatures_are_incompatible:diag(2330,S.DiagnosticCategory.Error,"Index_signatures_are_incompatible_2330","Index signatures are incompatible."),this_cannot_be_referenced_in_a_module_or_namespace_body:diag(2331,S.DiagnosticCategory.Error,"this_cannot_be_referenced_in_a_module_or_namespace_body_2331","'this' cannot be referenced in a module or namespace body."),this_cannot_be_referenced_in_current_location:diag(2332,S.DiagnosticCategory.Error,"this_cannot_be_referenced_in_current_location_2332","'this' cannot be referenced in current location."),this_cannot_be_referenced_in_constructor_arguments:diag(2333,S.DiagnosticCategory.Error,"this_cannot_be_referenced_in_constructor_arguments_2333","'this' cannot be referenced in constructor arguments."),this_cannot_be_referenced_in_a_static_property_initializer:diag(2334,S.DiagnosticCategory.Error,"this_cannot_be_referenced_in_a_static_property_initializer_2334","'this' cannot be referenced in a static property initializer."),super_can_only_be_referenced_in_a_derived_class:diag(2335,S.DiagnosticCategory.Error,"super_can_only_be_referenced_in_a_derived_class_2335","'super' can only be referenced in a derived class."),super_cannot_be_referenced_in_constructor_arguments:diag(2336,S.DiagnosticCategory.Error,"super_cannot_be_referenced_in_constructor_arguments_2336","'super' cannot be referenced in constructor arguments."),Super_calls_are_not_permitted_outside_constructors_or_in_nested_functions_inside_constructors:diag(2337,S.DiagnosticCategory.Error,"Super_calls_are_not_permitted_outside_constructors_or_in_nested_functions_inside_constructors_2337","Super calls are not permitted outside constructors or in nested functions inside constructors."),super_property_access_is_permitted_only_in_a_constructor_member_function_or_member_accessor_of_a_derived_class:diag(2338,S.DiagnosticCategory.Error,"super_property_access_is_permitted_only_in_a_constructor_member_function_or_member_accessor_of_a_der_2338","'super' property access is permitted only in a constructor, member function, or member accessor of a derived class."),Property_0_does_not_exist_on_type_1:diag(2339,S.DiagnosticCategory.Error,"Property_0_does_not_exist_on_type_1_2339","Property '{0}' does not exist on type '{1}'."),Only_public_and_protected_methods_of_the_base_class_are_accessible_via_the_super_keyword:diag(2340,S.DiagnosticCategory.Error,"Only_public_and_protected_methods_of_the_base_class_are_accessible_via_the_super_keyword_2340","Only public and protected methods of the base class are accessible via the 'super' keyword."),Property_0_is_private_and_only_accessible_within_class_1:diag(2341,S.DiagnosticCategory.Error,"Property_0_is_private_and_only_accessible_within_class_1_2341","Property '{0}' is private and only accessible within class '{1}'."),An_index_expression_argument_must_be_of_type_string_number_symbol_or_any:diag(2342,S.DiagnosticCategory.Error,"An_index_expression_argument_must_be_of_type_string_number_symbol_or_any_2342","An index expression argument must be of type 'string', 'number', 'symbol', or 'any'."),This_syntax_requires_an_imported_helper_named_1_which_does_not_exist_in_0_Consider_upgrading_your_version_of_0:diag(2343,S.DiagnosticCategory.Error,"This_syntax_requires_an_imported_helper_named_1_which_does_not_exist_in_0_Consider_upgrading_your_ve_2343","This syntax requires an imported helper named '{1}' which does not exist in '{0}'. Consider upgrading your version of '{0}'."),Type_0_does_not_satisfy_the_constraint_1:diag(2344,S.DiagnosticCategory.Error,"Type_0_does_not_satisfy_the_constraint_1_2344","Type '{0}' does not satisfy the constraint '{1}'."),Argument_of_type_0_is_not_assignable_to_parameter_of_type_1:diag(2345,S.DiagnosticCategory.Error,"Argument_of_type_0_is_not_assignable_to_parameter_of_type_1_2345","Argument of type '{0}' is not assignable to parameter of type '{1}'."),Call_target_does_not_contain_any_signatures:diag(2346,S.DiagnosticCategory.Error,"Call_target_does_not_contain_any_signatures_2346","Call target does not contain any signatures."),Untyped_function_calls_may_not_accept_type_arguments:diag(2347,S.DiagnosticCategory.Error,"Untyped_function_calls_may_not_accept_type_arguments_2347","Untyped function calls may not accept type arguments."),Value_of_type_0_is_not_callable_Did_you_mean_to_include_new:diag(2348,S.DiagnosticCategory.Error,"Value_of_type_0_is_not_callable_Did_you_mean_to_include_new_2348","Value of type '{0}' is not callable. Did you mean to include 'new'?"),This_expression_is_not_callable:diag(2349,S.DiagnosticCategory.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,S.DiagnosticCategory.Error,"Only_a_void_function_can_be_called_with_the_new_keyword_2350","Only a void function can be called with the 'new' keyword."),This_expression_is_not_constructable:diag(2351,S.DiagnosticCategory.Error,"This_expression_is_not_constructable_2351","This expression is not constructable."),Conversion_of_type_0_to_type_1_may_be_a_mistake_because_neither_type_sufficiently_overlaps_with_the_other_If_this_was_intentional_convert_the_expression_to_unknown_first:diag(2352,S.DiagnosticCategory.Error,"Conversion_of_type_0_to_type_1_may_be_a_mistake_because_neither_type_sufficiently_overlaps_with_the__2352","Conversion of type '{0}' to type '{1}' may be a mistake because neither type sufficiently overlaps with the other. If this was intentional, convert the expression to 'unknown' first."),Object_literal_may_only_specify_known_properties_and_0_does_not_exist_in_type_1:diag(2353,S.DiagnosticCategory.Error,"Object_literal_may_only_specify_known_properties_and_0_does_not_exist_in_type_1_2353","Object literal may only specify known properties, and '{0}' does not exist in type '{1}'."),This_syntax_requires_an_imported_helper_but_module_0_cannot_be_found:diag(2354,S.DiagnosticCategory.Error,"This_syntax_requires_an_imported_helper_but_module_0_cannot_be_found_2354","This syntax requires an imported helper but module '{0}' cannot be found."),A_function_whose_declared_type_is_neither_void_nor_any_must_return_a_value:diag(2355,S.DiagnosticCategory.Error,"A_function_whose_declared_type_is_neither_void_nor_any_must_return_a_value_2355","A function whose declared type is neither 'void' nor 'any' must return a value."),An_arithmetic_operand_must_be_of_type_any_number_bigint_or_an_enum_type:diag(2356,S.DiagnosticCategory.Error,"An_arithmetic_operand_must_be_of_type_any_number_bigint_or_an_enum_type_2356","An arithmetic operand must be of type 'any', 'number', 'bigint' or an enum type."),The_operand_of_an_increment_or_decrement_operator_must_be_a_variable_or_a_property_access:diag(2357,S.DiagnosticCategory.Error,"The_operand_of_an_increment_or_decrement_operator_must_be_a_variable_or_a_property_access_2357","The operand of an increment or decrement operator must be a variable or a property access."),The_left_hand_side_of_an_instanceof_expression_must_be_of_type_any_an_object_type_or_a_type_parameter:diag(2358,S.DiagnosticCategory.Error,"The_left_hand_side_of_an_instanceof_expression_must_be_of_type_any_an_object_type_or_a_type_paramete_2358","The left-hand side of an 'instanceof' expression must be of type 'any', an object type or a type parameter."),The_right_hand_side_of_an_instanceof_expression_must_be_of_type_any_or_of_a_type_assignable_to_the_Function_interface_type:diag(2359,S.DiagnosticCategory.Error,"The_right_hand_side_of_an_instanceof_expression_must_be_of_type_any_or_of_a_type_assignable_to_the_F_2359","The right-hand side of an 'instanceof' expression must be of type 'any' or of a type assignable to the 'Function' interface type."),The_left_hand_side_of_an_in_expression_must_be_of_type_any_string_number_or_symbol:diag(2360,S.DiagnosticCategory.Error,"The_left_hand_side_of_an_in_expression_must_be_of_type_any_string_number_or_symbol_2360","The left-hand side of an 'in' expression must be of type 'any', 'string', 'number', or 'symbol'."),The_right_hand_side_of_an_in_expression_must_be_of_type_any_an_object_type_or_a_type_parameter:diag(2361,S.DiagnosticCategory.Error,"The_right_hand_side_of_an_in_expression_must_be_of_type_any_an_object_type_or_a_type_parameter_2361","The right-hand side of an 'in' expression must be of type 'any', an object type or a type parameter."),The_left_hand_side_of_an_arithmetic_operation_must_be_of_type_any_number_bigint_or_an_enum_type:diag(2362,S.DiagnosticCategory.Error,"The_left_hand_side_of_an_arithmetic_operation_must_be_of_type_any_number_bigint_or_an_enum_type_2362","The left-hand side of an arithmetic operation must be of type 'any', 'number', 'bigint' or an enum type."),The_right_hand_side_of_an_arithmetic_operation_must_be_of_type_any_number_bigint_or_an_enum_type:diag(2363,S.DiagnosticCategory.Error,"The_right_hand_side_of_an_arithmetic_operation_must_be_of_type_any_number_bigint_or_an_enum_type_2363","The right-hand side of an arithmetic operation must be of type 'any', 'number', 'bigint' or an enum type."),The_left_hand_side_of_an_assignment_expression_must_be_a_variable_or_a_property_access:diag(2364,S.DiagnosticCategory.Error,"The_left_hand_side_of_an_assignment_expression_must_be_a_variable_or_a_property_access_2364","The left-hand side of an assignment expression must be a variable or a property access."),Operator_0_cannot_be_applied_to_types_1_and_2:diag(2365,S.DiagnosticCategory.Error,"Operator_0_cannot_be_applied_to_types_1_and_2_2365","Operator '{0}' cannot be applied to types '{1}' and '{2}'."),Function_lacks_ending_return_statement_and_return_type_does_not_include_undefined:diag(2366,S.DiagnosticCategory.Error,"Function_lacks_ending_return_statement_and_return_type_does_not_include_undefined_2366","Function lacks ending return statement and return type does not include 'undefined'."),This_condition_will_always_return_0_since_the_types_1_and_2_have_no_overlap:diag(2367,S.DiagnosticCategory.Error,"This_condition_will_always_return_0_since_the_types_1_and_2_have_no_overlap_2367","This condition will always return '{0}' since the types '{1}' and '{2}' have no overlap."),Type_parameter_name_cannot_be_0:diag(2368,S.DiagnosticCategory.Error,"Type_parameter_name_cannot_be_0_2368","Type parameter name cannot be '{0}'."),A_parameter_property_is_only_allowed_in_a_constructor_implementation:diag(2369,S.DiagnosticCategory.Error,"A_parameter_property_is_only_allowed_in_a_constructor_implementation_2369","A parameter property is only allowed in a constructor implementation."),A_rest_parameter_must_be_of_an_array_type:diag(2370,S.DiagnosticCategory.Error,"A_rest_parameter_must_be_of_an_array_type_2370","A rest parameter must be of an array type."),A_parameter_initializer_is_only_allowed_in_a_function_or_constructor_implementation:diag(2371,S.DiagnosticCategory.Error,"A_parameter_initializer_is_only_allowed_in_a_function_or_constructor_implementation_2371","A parameter initializer is only allowed in a function or constructor implementation."),Parameter_0_cannot_reference_itself:diag(2372,S.DiagnosticCategory.Error,"Parameter_0_cannot_reference_itself_2372","Parameter '{0}' cannot reference itself."),Parameter_0_cannot_reference_identifier_1_declared_after_it:diag(2373,S.DiagnosticCategory.Error,"Parameter_0_cannot_reference_identifier_1_declared_after_it_2373","Parameter '{0}' cannot reference identifier '{1}' declared after it."),Duplicate_string_index_signature:diag(2374,S.DiagnosticCategory.Error,"Duplicate_string_index_signature_2374","Duplicate string index signature."),Duplicate_number_index_signature:diag(2375,S.DiagnosticCategory.Error,"Duplicate_number_index_signature_2375","Duplicate number index signature."),A_super_call_must_be_the_first_statement_in_the_constructor_when_a_class_contains_initialized_properties_parameter_properties_or_private_identifiers:diag(2376,S.DiagnosticCategory.Error,"A_super_call_must_be_the_first_statement_in_the_constructor_when_a_class_contains_initialized_proper_2376","A 'super' call must be the first statement in the constructor when a class contains initialized properties, parameter properties, or private identifiers."),Constructors_for_derived_classes_must_contain_a_super_call:diag(2377,S.DiagnosticCategory.Error,"Constructors_for_derived_classes_must_contain_a_super_call_2377","Constructors for derived classes must contain a 'super' call."),A_get_accessor_must_return_a_value:diag(2378,S.DiagnosticCategory.Error,"A_get_accessor_must_return_a_value_2378","A 'get' accessor must return a value."),Getter_and_setter_accessors_do_not_agree_in_visibility:diag(2379,S.DiagnosticCategory.Error,"Getter_and_setter_accessors_do_not_agree_in_visibility_2379","Getter and setter accessors do not agree in visibility."),get_and_set_accessor_must_have_the_same_type:diag(2380,S.DiagnosticCategory.Error,"get_and_set_accessor_must_have_the_same_type_2380","'get' and 'set' accessor must have the same type."),A_signature_with_an_implementation_cannot_use_a_string_literal_type:diag(2381,S.DiagnosticCategory.Error,"A_signature_with_an_implementation_cannot_use_a_string_literal_type_2381","A signature with an implementation cannot use a string literal type."),Specialized_overload_signature_is_not_assignable_to_any_non_specialized_signature:diag(2382,S.DiagnosticCategory.Error,"Specialized_overload_signature_is_not_assignable_to_any_non_specialized_signature_2382","Specialized overload signature is not assignable to any non-specialized signature."),Overload_signatures_must_all_be_exported_or_non_exported:diag(2383,S.DiagnosticCategory.Error,"Overload_signatures_must_all_be_exported_or_non_exported_2383","Overload signatures must all be exported or non-exported."),Overload_signatures_must_all_be_ambient_or_non_ambient:diag(2384,S.DiagnosticCategory.Error,"Overload_signatures_must_all_be_ambient_or_non_ambient_2384","Overload signatures must all be ambient or non-ambient."),Overload_signatures_must_all_be_public_private_or_protected:diag(2385,S.DiagnosticCategory.Error,"Overload_signatures_must_all_be_public_private_or_protected_2385","Overload signatures must all be public, private or protected."),Overload_signatures_must_all_be_optional_or_required:diag(2386,S.DiagnosticCategory.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,S.DiagnosticCategory.Error,"Function_overload_must_be_static_2387","Function overload must be static."),Function_overload_must_not_be_static:diag(2388,S.DiagnosticCategory.Error,"Function_overload_must_not_be_static_2388","Function overload must not be static."),Function_implementation_name_must_be_0:diag(2389,S.DiagnosticCategory.Error,"Function_implementation_name_must_be_0_2389","Function implementation name must be '{0}'."),Constructor_implementation_is_missing:diag(2390,S.DiagnosticCategory.Error,"Constructor_implementation_is_missing_2390","Constructor implementation is missing."),Function_implementation_is_missing_or_not_immediately_following_the_declaration:diag(2391,S.DiagnosticCategory.Error,"Function_implementation_is_missing_or_not_immediately_following_the_declaration_2391","Function implementation is missing or not immediately following the declaration."),Multiple_constructor_implementations_are_not_allowed:diag(2392,S.DiagnosticCategory.Error,"Multiple_constructor_implementations_are_not_allowed_2392","Multiple constructor implementations are not allowed."),Duplicate_function_implementation:diag(2393,S.DiagnosticCategory.Error,"Duplicate_function_implementation_2393","Duplicate function implementation."),This_overload_signature_is_not_compatible_with_its_implementation_signature:diag(2394,S.DiagnosticCategory.Error,"This_overload_signature_is_not_compatible_with_its_implementation_signature_2394","This overload signature is not compatible with its implementation signature."),Individual_declarations_in_merged_declaration_0_must_be_all_exported_or_all_local:diag(2395,S.DiagnosticCategory.Error,"Individual_declarations_in_merged_declaration_0_must_be_all_exported_or_all_local_2395","Individual declarations in merged declaration '{0}' must be all exported or all local."),Duplicate_identifier_arguments_Compiler_uses_arguments_to_initialize_rest_parameters:diag(2396,S.DiagnosticCategory.Error,"Duplicate_identifier_arguments_Compiler_uses_arguments_to_initialize_rest_parameters_2396","Duplicate identifier 'arguments'. Compiler uses 'arguments' to initialize rest parameters."),Declaration_name_conflicts_with_built_in_global_identifier_0:diag(2397,S.DiagnosticCategory.Error,"Declaration_name_conflicts_with_built_in_global_identifier_0_2397","Declaration name conflicts with built-in global identifier '{0}'."),constructor_cannot_be_used_as_a_parameter_property_name:diag(2398,S.DiagnosticCategory.Error,"constructor_cannot_be_used_as_a_parameter_property_name_2398","'constructor' cannot be used as a parameter property name."),Duplicate_identifier_this_Compiler_uses_variable_declaration_this_to_capture_this_reference:diag(2399,S.DiagnosticCategory.Error,"Duplicate_identifier_this_Compiler_uses_variable_declaration_this_to_capture_this_reference_2399","Duplicate identifier '_this'. Compiler uses variable declaration '_this' to capture 'this' reference."),Expression_resolves_to_variable_declaration_this_that_compiler_uses_to_capture_this_reference:diag(2400,S.DiagnosticCategory.Error,"Expression_resolves_to_variable_declaration_this_that_compiler_uses_to_capture_this_reference_2400","Expression resolves to variable declaration '_this' that compiler uses to capture 'this' reference."),Duplicate_identifier_super_Compiler_uses_super_to_capture_base_class_reference:diag(2401,S.DiagnosticCategory.Error,"Duplicate_identifier_super_Compiler_uses_super_to_capture_base_class_reference_2401","Duplicate identifier '_super'. Compiler uses '_super' to capture base class reference."),Expression_resolves_to_super_that_compiler_uses_to_capture_base_class_reference:diag(2402,S.DiagnosticCategory.Error,"Expression_resolves_to_super_that_compiler_uses_to_capture_base_class_reference_2402","Expression resolves to '_super' that compiler uses to capture base class reference."),Subsequent_variable_declarations_must_have_the_same_type_Variable_0_must_be_of_type_1_but_here_has_type_2:diag(2403,S.DiagnosticCategory.Error,"Subsequent_variable_declarations_must_have_the_same_type_Variable_0_must_be_of_type_1_but_here_has_t_2403","Subsequent variable declarations must have the same type. Variable '{0}' must be of type '{1}', but here has type '{2}'."),The_left_hand_side_of_a_for_in_statement_cannot_use_a_type_annotation:diag(2404,S.DiagnosticCategory.Error,"The_left_hand_side_of_a_for_in_statement_cannot_use_a_type_annotation_2404","The left-hand side of a 'for...in' statement cannot use a type annotation."),The_left_hand_side_of_a_for_in_statement_must_be_of_type_string_or_any:diag(2405,S.DiagnosticCategory.Error,"The_left_hand_side_of_a_for_in_statement_must_be_of_type_string_or_any_2405","The left-hand side of a 'for...in' statement must be of type 'string' or 'any'."),The_left_hand_side_of_a_for_in_statement_must_be_a_variable_or_a_property_access:diag(2406,S.DiagnosticCategory.Error,"The_left_hand_side_of_a_for_in_statement_must_be_a_variable_or_a_property_access_2406","The left-hand side of a 'for...in' statement must be a variable or a property access."),The_right_hand_side_of_a_for_in_statement_must_be_of_type_any_an_object_type_or_a_type_parameter_but_here_has_type_0:diag(2407,S.DiagnosticCategory.Error,"The_right_hand_side_of_a_for_in_statement_must_be_of_type_any_an_object_type_or_a_type_parameter_but_2407","The right-hand side of a 'for...in' statement must be of type 'any', an object type or a type parameter, but here has type '{0}'."),Setters_cannot_return_a_value:diag(2408,S.DiagnosticCategory.Error,"Setters_cannot_return_a_value_2408","Setters cannot return a value."),Return_type_of_constructor_signature_must_be_assignable_to_the_instance_type_of_the_class:diag(2409,S.DiagnosticCategory.Error,"Return_type_of_constructor_signature_must_be_assignable_to_the_instance_type_of_the_class_2409","Return type of constructor signature must be assignable to the instance type of the class."),The_with_statement_is_not_supported_All_symbols_in_a_with_block_will_have_type_any:diag(2410,S.DiagnosticCategory.Error,"The_with_statement_is_not_supported_All_symbols_in_a_with_block_will_have_type_any_2410","The 'with' statement is not supported. All symbols in a 'with' block will have type 'any'."),Property_0_of_type_1_is_not_assignable_to_string_index_type_2:diag(2411,S.DiagnosticCategory.Error,"Property_0_of_type_1_is_not_assignable_to_string_index_type_2_2411","Property '{0}' of type '{1}' is not assignable to string index type '{2}'."),Property_0_of_type_1_is_not_assignable_to_numeric_index_type_2:diag(2412,S.DiagnosticCategory.Error,"Property_0_of_type_1_is_not_assignable_to_numeric_index_type_2_2412","Property '{0}' of type '{1}' is not assignable to numeric index type '{2}'."),Numeric_index_type_0_is_not_assignable_to_string_index_type_1:diag(2413,S.DiagnosticCategory.Error,"Numeric_index_type_0_is_not_assignable_to_string_index_type_1_2413","Numeric index type '{0}' is not assignable to string index type '{1}'."),Class_name_cannot_be_0:diag(2414,S.DiagnosticCategory.Error,"Class_name_cannot_be_0_2414","Class name cannot be '{0}'."),Class_0_incorrectly_extends_base_class_1:diag(2415,S.DiagnosticCategory.Error,"Class_0_incorrectly_extends_base_class_1_2415","Class '{0}' incorrectly extends base class '{1}'."),Property_0_in_type_1_is_not_assignable_to_the_same_property_in_base_type_2:diag(2416,S.DiagnosticCategory.Error,"Property_0_in_type_1_is_not_assignable_to_the_same_property_in_base_type_2_2416","Property '{0}' in type '{1}' is not assignable to the same property in base type '{2}'."),Class_static_side_0_incorrectly_extends_base_class_static_side_1:diag(2417,S.DiagnosticCategory.Error,"Class_static_side_0_incorrectly_extends_base_class_static_side_1_2417","Class static side '{0}' incorrectly extends base class static side '{1}'."),Type_of_computed_property_s_value_is_0_which_is_not_assignable_to_type_1:diag(2418,S.DiagnosticCategory.Error,"Type_of_computed_property_s_value_is_0_which_is_not_assignable_to_type_1_2418","Type of computed property's value is '{0}', which is not assignable to type '{1}'."),Class_0_incorrectly_implements_interface_1:diag(2420,S.DiagnosticCategory.Error,"Class_0_incorrectly_implements_interface_1_2420","Class '{0}' incorrectly implements interface '{1}'."),A_class_can_only_implement_an_object_type_or_intersection_of_object_types_with_statically_known_members:diag(2422,S.DiagnosticCategory.Error,"A_class_can_only_implement_an_object_type_or_intersection_of_object_types_with_statically_known_memb_2422","A class can only implement an object type or intersection of object types with statically known members."),Class_0_defines_instance_member_function_1_but_extended_class_2_defines_it_as_instance_member_accessor:diag(2423,S.DiagnosticCategory.Error,"Class_0_defines_instance_member_function_1_but_extended_class_2_defines_it_as_instance_member_access_2423","Class '{0}' defines instance member function '{1}', but extended class '{2}' defines it as instance member accessor."),Class_0_defines_instance_member_property_1_but_extended_class_2_defines_it_as_instance_member_function:diag(2425,S.DiagnosticCategory.Error,"Class_0_defines_instance_member_property_1_but_extended_class_2_defines_it_as_instance_member_functi_2425","Class '{0}' defines instance member property '{1}', but extended class '{2}' defines it as instance member function."),Class_0_defines_instance_member_accessor_1_but_extended_class_2_defines_it_as_instance_member_function:diag(2426,S.DiagnosticCategory.Error,"Class_0_defines_instance_member_accessor_1_but_extended_class_2_defines_it_as_instance_member_functi_2426","Class '{0}' defines instance member accessor '{1}', but extended class '{2}' defines it as instance member function."),Interface_name_cannot_be_0:diag(2427,S.DiagnosticCategory.Error,"Interface_name_cannot_be_0_2427","Interface name cannot be '{0}'."),All_declarations_of_0_must_have_identical_type_parameters:diag(2428,S.DiagnosticCategory.Error,"All_declarations_of_0_must_have_identical_type_parameters_2428","All declarations of '{0}' must have identical type parameters."),Interface_0_incorrectly_extends_interface_1:diag(2430,S.DiagnosticCategory.Error,"Interface_0_incorrectly_extends_interface_1_2430","Interface '{0}' incorrectly extends interface '{1}'."),Enum_name_cannot_be_0:diag(2431,S.DiagnosticCategory.Error,"Enum_name_cannot_be_0_2431","Enum name cannot be '{0}'."),In_an_enum_with_multiple_declarations_only_one_declaration_can_omit_an_initializer_for_its_first_enum_element:diag(2432,S.DiagnosticCategory.Error,"In_an_enum_with_multiple_declarations_only_one_declaration_can_omit_an_initializer_for_its_first_enu_2432","In an enum with multiple declarations, only one declaration can omit an initializer for its first enum element."),A_namespace_declaration_cannot_be_in_a_different_file_from_a_class_or_function_with_which_it_is_merged:diag(2433,S.DiagnosticCategory.Error,"A_namespace_declaration_cannot_be_in_a_different_file_from_a_class_or_function_with_which_it_is_merg_2433","A namespace declaration cannot be in a different file from a class or function with which it is merged."),A_namespace_declaration_cannot_be_located_prior_to_a_class_or_function_with_which_it_is_merged:diag(2434,S.DiagnosticCategory.Error,"A_namespace_declaration_cannot_be_located_prior_to_a_class_or_function_with_which_it_is_merged_2434","A namespace declaration cannot be located prior to a class or function with which it is merged."),Ambient_modules_cannot_be_nested_in_other_modules_or_namespaces:diag(2435,S.DiagnosticCategory.Error,"Ambient_modules_cannot_be_nested_in_other_modules_or_namespaces_2435","Ambient modules cannot be nested in other modules or namespaces."),Ambient_module_declaration_cannot_specify_relative_module_name:diag(2436,S.DiagnosticCategory.Error,"Ambient_module_declaration_cannot_specify_relative_module_name_2436","Ambient module declaration cannot specify relative module name."),Module_0_is_hidden_by_a_local_declaration_with_the_same_name:diag(2437,S.DiagnosticCategory.Error,"Module_0_is_hidden_by_a_local_declaration_with_the_same_name_2437","Module '{0}' is hidden by a local declaration with the same name."),Import_name_cannot_be_0:diag(2438,S.DiagnosticCategory.Error,"Import_name_cannot_be_0_2438","Import name cannot be '{0}'."),Import_or_export_declaration_in_an_ambient_module_declaration_cannot_reference_module_through_relative_module_name:diag(2439,S.DiagnosticCategory.Error,"Import_or_export_declaration_in_an_ambient_module_declaration_cannot_reference_module_through_relati_2439","Import or export declaration in an ambient module declaration cannot reference module through relative module name."),Import_declaration_conflicts_with_local_declaration_of_0:diag(2440,S.DiagnosticCategory.Error,"Import_declaration_conflicts_with_local_declaration_of_0_2440","Import declaration conflicts with local declaration of '{0}'."),Duplicate_identifier_0_Compiler_reserves_name_1_in_top_level_scope_of_a_module:diag(2441,S.DiagnosticCategory.Error,"Duplicate_identifier_0_Compiler_reserves_name_1_in_top_level_scope_of_a_module_2441","Duplicate identifier '{0}'. Compiler reserves name '{1}' in top level scope of a module."),Types_have_separate_declarations_of_a_private_property_0:diag(2442,S.DiagnosticCategory.Error,"Types_have_separate_declarations_of_a_private_property_0_2442","Types have separate declarations of a private property '{0}'."),Property_0_is_protected_but_type_1_is_not_a_class_derived_from_2:diag(2443,S.DiagnosticCategory.Error,"Property_0_is_protected_but_type_1_is_not_a_class_derived_from_2_2443","Property '{0}' is protected but type '{1}' is not a class derived from '{2}'."),Property_0_is_protected_in_type_1_but_public_in_type_2:diag(2444,S.DiagnosticCategory.Error,"Property_0_is_protected_in_type_1_but_public_in_type_2_2444","Property '{0}' is protected in type '{1}' but public in type '{2}'."),Property_0_is_protected_and_only_accessible_within_class_1_and_its_subclasses:diag(2445,S.DiagnosticCategory.Error,"Property_0_is_protected_and_only_accessible_within_class_1_and_its_subclasses_2445","Property '{0}' is protected and only accessible within class '{1}' and its subclasses."),Property_0_is_protected_and_only_accessible_through_an_instance_of_class_1:diag(2446,S.DiagnosticCategory.Error,"Property_0_is_protected_and_only_accessible_through_an_instance_of_class_1_2446","Property '{0}' is protected and only accessible through an instance of class '{1}'."),The_0_operator_is_not_allowed_for_boolean_types_Consider_using_1_instead:diag(2447,S.DiagnosticCategory.Error,"The_0_operator_is_not_allowed_for_boolean_types_Consider_using_1_instead_2447","The '{0}' operator is not allowed for boolean types. Consider using '{1}' instead."),Block_scoped_variable_0_used_before_its_declaration:diag(2448,S.DiagnosticCategory.Error,"Block_scoped_variable_0_used_before_its_declaration_2448","Block-scoped variable '{0}' used before its declaration."),Class_0_used_before_its_declaration:diag(2449,S.DiagnosticCategory.Error,"Class_0_used_before_its_declaration_2449","Class '{0}' used before its declaration."),Enum_0_used_before_its_declaration:diag(2450,S.DiagnosticCategory.Error,"Enum_0_used_before_its_declaration_2450","Enum '{0}' used before its declaration."),Cannot_redeclare_block_scoped_variable_0:diag(2451,S.DiagnosticCategory.Error,"Cannot_redeclare_block_scoped_variable_0_2451","Cannot redeclare block-scoped variable '{0}'."),An_enum_member_cannot_have_a_numeric_name:diag(2452,S.DiagnosticCategory.Error,"An_enum_member_cannot_have_a_numeric_name_2452","An enum member cannot have a numeric name."),The_type_argument_for_type_parameter_0_cannot_be_inferred_from_the_usage_Consider_specifying_the_type_arguments_explicitly:diag(2453,S.DiagnosticCategory.Error,"The_type_argument_for_type_parameter_0_cannot_be_inferred_from_the_usage_Consider_specifying_the_typ_2453","The type argument for type parameter '{0}' cannot be inferred from the usage. Consider specifying the type arguments explicitly."),Variable_0_is_used_before_being_assigned:diag(2454,S.DiagnosticCategory.Error,"Variable_0_is_used_before_being_assigned_2454","Variable '{0}' is used before being assigned."),Type_argument_candidate_1_is_not_a_valid_type_argument_because_it_is_not_a_supertype_of_candidate_0:diag(2455,S.DiagnosticCategory.Error,"Type_argument_candidate_1_is_not_a_valid_type_argument_because_it_is_not_a_supertype_of_candidate_0_2455","Type argument candidate '{1}' is not a valid type argument because it is not a supertype of candidate '{0}'."),Type_alias_0_circularly_references_itself:diag(2456,S.DiagnosticCategory.Error,"Type_alias_0_circularly_references_itself_2456","Type alias '{0}' circularly references itself."),Type_alias_name_cannot_be_0:diag(2457,S.DiagnosticCategory.Error,"Type_alias_name_cannot_be_0_2457","Type alias name cannot be '{0}'."),An_AMD_module_cannot_have_multiple_name_assignments:diag(2458,S.DiagnosticCategory.Error,"An_AMD_module_cannot_have_multiple_name_assignments_2458","An AMD module cannot have multiple name assignments."),Module_0_declares_1_locally_but_it_is_not_exported:diag(2459,S.DiagnosticCategory.Error,"Module_0_declares_1_locally_but_it_is_not_exported_2459","Module '{0}' declares '{1}' locally, but it is not exported."),Module_0_declares_1_locally_but_it_is_exported_as_2:diag(2460,S.DiagnosticCategory.Error,"Module_0_declares_1_locally_but_it_is_exported_as_2_2460","Module '{0}' declares '{1}' locally, but it is exported as '{2}'."),Type_0_is_not_an_array_type:diag(2461,S.DiagnosticCategory.Error,"Type_0_is_not_an_array_type_2461","Type '{0}' is not an array type."),A_rest_element_must_be_last_in_a_destructuring_pattern:diag(2462,S.DiagnosticCategory.Error,"A_rest_element_must_be_last_in_a_destructuring_pattern_2462","A rest element must be last in a destructuring pattern."),A_binding_pattern_parameter_cannot_be_optional_in_an_implementation_signature:diag(2463,S.DiagnosticCategory.Error,"A_binding_pattern_parameter_cannot_be_optional_in_an_implementation_signature_2463","A binding pattern parameter cannot be optional in an implementation signature."),A_computed_property_name_must_be_of_type_string_number_symbol_or_any:diag(2464,S.DiagnosticCategory.Error,"A_computed_property_name_must_be_of_type_string_number_symbol_or_any_2464","A computed property name must be of type 'string', 'number', 'symbol', or 'any'."),this_cannot_be_referenced_in_a_computed_property_name:diag(2465,S.DiagnosticCategory.Error,"this_cannot_be_referenced_in_a_computed_property_name_2465","'this' cannot be referenced in a computed property name."),super_cannot_be_referenced_in_a_computed_property_name:diag(2466,S.DiagnosticCategory.Error,"super_cannot_be_referenced_in_a_computed_property_name_2466","'super' cannot be referenced in a computed property name."),A_computed_property_name_cannot_reference_a_type_parameter_from_its_containing_type:diag(2467,S.DiagnosticCategory.Error,"A_computed_property_name_cannot_reference_a_type_parameter_from_its_containing_type_2467","A computed property name cannot reference a type parameter from its containing type."),Cannot_find_global_value_0:diag(2468,S.DiagnosticCategory.Error,"Cannot_find_global_value_0_2468","Cannot find global value '{0}'."),The_0_operator_cannot_be_applied_to_type_symbol:diag(2469,S.DiagnosticCategory.Error,"The_0_operator_cannot_be_applied_to_type_symbol_2469","The '{0}' operator cannot be applied to type 'symbol'."),Symbol_reference_does_not_refer_to_the_global_Symbol_constructor_object:diag(2470,S.DiagnosticCategory.Error,"Symbol_reference_does_not_refer_to_the_global_Symbol_constructor_object_2470","'Symbol' reference does not refer to the global Symbol constructor object."),A_computed_property_name_of_the_form_0_must_be_of_type_symbol:diag(2471,S.DiagnosticCategory.Error,"A_computed_property_name_of_the_form_0_must_be_of_type_symbol_2471","A computed property name of the form '{0}' must be of type 'symbol'."),Spread_operator_in_new_expressions_is_only_available_when_targeting_ECMAScript_5_and_higher:diag(2472,S.DiagnosticCategory.Error,"Spread_operator_in_new_expressions_is_only_available_when_targeting_ECMAScript_5_and_higher_2472","Spread operator in 'new' expressions is only available when targeting ECMAScript 5 and higher."),Enum_declarations_must_all_be_const_or_non_const:diag(2473,S.DiagnosticCategory.Error,"Enum_declarations_must_all_be_const_or_non_const_2473","Enum declarations must all be const or non-const."),const_enum_member_initializers_can_only_contain_literal_values_and_other_computed_enum_values:diag(2474,S.DiagnosticCategory.Error,"const_enum_member_initializers_can_only_contain_literal_values_and_other_computed_enum_values_2474","const enum member initializers can only contain literal values and other computed enum values."),const_enums_can_only_be_used_in_property_or_index_access_expressions_or_the_right_hand_side_of_an_import_declaration_or_export_assignment_or_type_query:diag(2475,S.DiagnosticCategory.Error,"const_enums_can_only_be_used_in_property_or_index_access_expressions_or_the_right_hand_side_of_an_im_2475","'const' enums can only be used in property or index access expressions or the right hand side of an import declaration or export assignment or type query."),A_const_enum_member_can_only_be_accessed_using_a_string_literal:diag(2476,S.DiagnosticCategory.Error,"A_const_enum_member_can_only_be_accessed_using_a_string_literal_2476","A const enum member can only be accessed using a string literal."),const_enum_member_initializer_was_evaluated_to_a_non_finite_value:diag(2477,S.DiagnosticCategory.Error,"const_enum_member_initializer_was_evaluated_to_a_non_finite_value_2477","'const' enum member initializer was evaluated to a non-finite value."),const_enum_member_initializer_was_evaluated_to_disallowed_value_NaN:diag(2478,S.DiagnosticCategory.Error,"const_enum_member_initializer_was_evaluated_to_disallowed_value_NaN_2478","'const' enum member initializer was evaluated to disallowed value 'NaN'."),Property_0_does_not_exist_on_const_enum_1:diag(2479,S.DiagnosticCategory.Error,"Property_0_does_not_exist_on_const_enum_1_2479","Property '{0}' does not exist on 'const' enum '{1}'."),let_is_not_allowed_to_be_used_as_a_name_in_let_or_const_declarations:diag(2480,S.DiagnosticCategory.Error,"let_is_not_allowed_to_be_used_as_a_name_in_let_or_const_declarations_2480","'let' is not allowed to be used as a name in 'let' or 'const' declarations."),Cannot_initialize_outer_scoped_variable_0_in_the_same_scope_as_block_scoped_declaration_1:diag(2481,S.DiagnosticCategory.Error,"Cannot_initialize_outer_scoped_variable_0_in_the_same_scope_as_block_scoped_declaration_1_2481","Cannot initialize outer scoped variable '{0}' in the same scope as block scoped declaration '{1}'."),The_left_hand_side_of_a_for_of_statement_cannot_use_a_type_annotation:diag(2483,S.DiagnosticCategory.Error,"The_left_hand_side_of_a_for_of_statement_cannot_use_a_type_annotation_2483","The left-hand side of a 'for...of' statement cannot use a type annotation."),Export_declaration_conflicts_with_exported_declaration_of_0:diag(2484,S.DiagnosticCategory.Error,"Export_declaration_conflicts_with_exported_declaration_of_0_2484","Export declaration conflicts with exported declaration of '{0}'."),The_left_hand_side_of_a_for_of_statement_must_be_a_variable_or_a_property_access:diag(2487,S.DiagnosticCategory.Error,"The_left_hand_side_of_a_for_of_statement_must_be_a_variable_or_a_property_access_2487","The left-hand side of a 'for...of' statement must be a variable or a property access."),Type_0_must_have_a_Symbol_iterator_method_that_returns_an_iterator:diag(2488,S.DiagnosticCategory.Error,"Type_0_must_have_a_Symbol_iterator_method_that_returns_an_iterator_2488","Type '{0}' must have a '[Symbol.iterator]()' method that returns an iterator."),An_iterator_must_have_a_next_method:diag(2489,S.DiagnosticCategory.Error,"An_iterator_must_have_a_next_method_2489","An iterator must have a 'next()' method."),The_type_returned_by_the_0_method_of_an_iterator_must_have_a_value_property:diag(2490,S.DiagnosticCategory.Error,"The_type_returned_by_the_0_method_of_an_iterator_must_have_a_value_property_2490","The type returned by the '{0}()' method of an iterator must have a 'value' property."),The_left_hand_side_of_a_for_in_statement_cannot_be_a_destructuring_pattern:diag(2491,S.DiagnosticCategory.Error,"The_left_hand_side_of_a_for_in_statement_cannot_be_a_destructuring_pattern_2491","The left-hand side of a 'for...in' statement cannot be a destructuring pattern."),Cannot_redeclare_identifier_0_in_catch_clause:diag(2492,S.DiagnosticCategory.Error,"Cannot_redeclare_identifier_0_in_catch_clause_2492","Cannot redeclare identifier '{0}' in catch clause."),Tuple_type_0_of_length_1_has_no_element_at_index_2:diag(2493,S.DiagnosticCategory.Error,"Tuple_type_0_of_length_1_has_no_element_at_index_2_2493","Tuple type '{0}' of length '{1}' has no element at index '{2}'."),Using_a_string_in_a_for_of_statement_is_only_supported_in_ECMAScript_5_and_higher:diag(2494,S.DiagnosticCategory.Error,"Using_a_string_in_a_for_of_statement_is_only_supported_in_ECMAScript_5_and_higher_2494","Using a string in a 'for...of' statement is only supported in ECMAScript 5 and higher."),Type_0_is_not_an_array_type_or_a_string_type:diag(2495,S.DiagnosticCategory.Error,"Type_0_is_not_an_array_type_or_a_string_type_2495","Type '{0}' is not an array type or a string type."),The_arguments_object_cannot_be_referenced_in_an_arrow_function_in_ES3_and_ES5_Consider_using_a_standard_function_expression:diag(2496,S.DiagnosticCategory.Error,"The_arguments_object_cannot_be_referenced_in_an_arrow_function_in_ES3_and_ES5_Consider_using_a_stand_2496","The 'arguments' object cannot be referenced in an arrow function in ES3 and ES5. Consider using a standard function expression."),This_module_can_only_be_referenced_with_ECMAScript_imports_Slashexports_by_turning_on_the_0_flag_and_referencing_its_default_export:diag(2497,S.DiagnosticCategory.Error,"This_module_can_only_be_referenced_with_ECMAScript_imports_Slashexports_by_turning_on_the_0_flag_and_2497","This module can only be referenced with ECMAScript imports/exports by turning on the '{0}' flag and referencing its default export."),Module_0_uses_export_and_cannot_be_used_with_export_Asterisk:diag(2498,S.DiagnosticCategory.Error,"Module_0_uses_export_and_cannot_be_used_with_export_Asterisk_2498","Module '{0}' uses 'export =' and cannot be used with 'export *'."),An_interface_can_only_extend_an_identifier_Slashqualified_name_with_optional_type_arguments:diag(2499,S.DiagnosticCategory.Error,"An_interface_can_only_extend_an_identifier_Slashqualified_name_with_optional_type_arguments_2499","An interface can only extend an identifier/qualified-name with optional type arguments."),A_class_can_only_implement_an_identifier_Slashqualified_name_with_optional_type_arguments:diag(2500,S.DiagnosticCategory.Error,"A_class_can_only_implement_an_identifier_Slashqualified_name_with_optional_type_arguments_2500","A class can only implement an identifier/qualified-name with optional type arguments."),A_rest_element_cannot_contain_a_binding_pattern:diag(2501,S.DiagnosticCategory.Error,"A_rest_element_cannot_contain_a_binding_pattern_2501","A rest element cannot contain a binding pattern."),_0_is_referenced_directly_or_indirectly_in_its_own_type_annotation:diag(2502,S.DiagnosticCategory.Error,"_0_is_referenced_directly_or_indirectly_in_its_own_type_annotation_2502","'{0}' is referenced directly or indirectly in its own type annotation."),Cannot_find_namespace_0:diag(2503,S.DiagnosticCategory.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,S.DiagnosticCategory.Error,"Type_0_must_have_a_Symbol_asyncIterator_method_that_returns_an_async_iterator_2504","Type '{0}' must have a '[Symbol.asyncIterator]()' method that returns an async iterator."),A_generator_cannot_have_a_void_type_annotation:diag(2505,S.DiagnosticCategory.Error,"A_generator_cannot_have_a_void_type_annotation_2505","A generator cannot have a 'void' type annotation."),_0_is_referenced_directly_or_indirectly_in_its_own_base_expression:diag(2506,S.DiagnosticCategory.Error,"_0_is_referenced_directly_or_indirectly_in_its_own_base_expression_2506","'{0}' is referenced directly or indirectly in its own base expression."),Type_0_is_not_a_constructor_function_type:diag(2507,S.DiagnosticCategory.Error,"Type_0_is_not_a_constructor_function_type_2507","Type '{0}' is not a constructor function type."),No_base_constructor_has_the_specified_number_of_type_arguments:diag(2508,S.DiagnosticCategory.Error,"No_base_constructor_has_the_specified_number_of_type_arguments_2508","No base constructor has the specified number of type arguments."),Base_constructor_return_type_0_is_not_an_object_type_or_intersection_of_object_types_with_statically_known_members:diag(2509,S.DiagnosticCategory.Error,"Base_constructor_return_type_0_is_not_an_object_type_or_intersection_of_object_types_with_statically_2509","Base constructor return type '{0}' is not an object type or intersection of object types with statically known members."),Base_constructors_must_all_have_the_same_return_type:diag(2510,S.DiagnosticCategory.Error,"Base_constructors_must_all_have_the_same_return_type_2510","Base constructors must all have the same return type."),Cannot_create_an_instance_of_an_abstract_class:diag(2511,S.DiagnosticCategory.Error,"Cannot_create_an_instance_of_an_abstract_class_2511","Cannot create an instance of an abstract class."),Overload_signatures_must_all_be_abstract_or_non_abstract:diag(2512,S.DiagnosticCategory.Error,"Overload_signatures_must_all_be_abstract_or_non_abstract_2512","Overload signatures must all be abstract or non-abstract."),Abstract_method_0_in_class_1_cannot_be_accessed_via_super_expression:diag(2513,S.DiagnosticCategory.Error,"Abstract_method_0_in_class_1_cannot_be_accessed_via_super_expression_2513","Abstract method '{0}' in class '{1}' cannot be accessed via super expression."),Classes_containing_abstract_methods_must_be_marked_abstract:diag(2514,S.DiagnosticCategory.Error,"Classes_containing_abstract_methods_must_be_marked_abstract_2514","Classes containing abstract methods must be marked abstract."),Non_abstract_class_0_does_not_implement_inherited_abstract_member_1_from_class_2:diag(2515,S.DiagnosticCategory.Error,"Non_abstract_class_0_does_not_implement_inherited_abstract_member_1_from_class_2_2515","Non-abstract class '{0}' does not implement inherited abstract member '{1}' from class '{2}'."),All_declarations_of_an_abstract_method_must_be_consecutive:diag(2516,S.DiagnosticCategory.Error,"All_declarations_of_an_abstract_method_must_be_consecutive_2516","All declarations of an abstract method must be consecutive."),Cannot_assign_an_abstract_constructor_type_to_a_non_abstract_constructor_type:diag(2517,S.DiagnosticCategory.Error,"Cannot_assign_an_abstract_constructor_type_to_a_non_abstract_constructor_type_2517","Cannot assign an abstract constructor type to a non-abstract constructor type."),A_this_based_type_guard_is_not_compatible_with_a_parameter_based_type_guard:diag(2518,S.DiagnosticCategory.Error,"A_this_based_type_guard_is_not_compatible_with_a_parameter_based_type_guard_2518","A 'this'-based type guard is not compatible with a parameter-based type guard."),An_async_iterator_must_have_a_next_method:diag(2519,S.DiagnosticCategory.Error,"An_async_iterator_must_have_a_next_method_2519","An async iterator must have a 'next()' method."),Duplicate_identifier_0_Compiler_uses_declaration_1_to_support_async_functions:diag(2520,S.DiagnosticCategory.Error,"Duplicate_identifier_0_Compiler_uses_declaration_1_to_support_async_functions_2520","Duplicate identifier '{0}'. Compiler uses declaration '{1}' to support async functions."),Expression_resolves_to_variable_declaration_0_that_compiler_uses_to_support_async_functions:diag(2521,S.DiagnosticCategory.Error,"Expression_resolves_to_variable_declaration_0_that_compiler_uses_to_support_async_functions_2521","Expression resolves to variable declaration '{0}' that compiler uses 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:diag(2522,S.DiagnosticCategory.Error,"The_arguments_object_cannot_be_referenced_in_an_async_function_or_method_in_ES3_and_ES5_Consider_usi_2522","The 'arguments' object cannot be referenced in an async function or method in ES3 and ES5. Consider using a standard function or method."),yield_expressions_cannot_be_used_in_a_parameter_initializer:diag(2523,S.DiagnosticCategory.Error,"yield_expressions_cannot_be_used_in_a_parameter_initializer_2523","'yield' expressions cannot be used in a parameter initializer."),await_expressions_cannot_be_used_in_a_parameter_initializer:diag(2524,S.DiagnosticCategory.Error,"await_expressions_cannot_be_used_in_a_parameter_initializer_2524","'await' expressions cannot be used in a parameter initializer."),Initializer_provides_no_value_for_this_binding_element_and_the_binding_element_has_no_default_value:diag(2525,S.DiagnosticCategory.Error,"Initializer_provides_no_value_for_this_binding_element_and_the_binding_element_has_no_default_value_2525","Initializer provides no value for this binding element and the binding element has no default value."),A_this_type_is_available_only_in_a_non_static_member_of_a_class_or_interface:diag(2526,S.DiagnosticCategory.Error,"A_this_type_is_available_only_in_a_non_static_member_of_a_class_or_interface_2526","A 'this' type is available only in a non-static member of a class or interface."),The_inferred_type_of_0_references_an_inaccessible_1_type_A_type_annotation_is_necessary:diag(2527,S.DiagnosticCategory.Error,"The_inferred_type_of_0_references_an_inaccessible_1_type_A_type_annotation_is_necessary_2527","The inferred type of '{0}' references an inaccessible '{1}' type. A type annotation is necessary."),A_module_cannot_have_multiple_default_exports:diag(2528,S.DiagnosticCategory.Error,"A_module_cannot_have_multiple_default_exports_2528","A module cannot have multiple default exports."),Duplicate_identifier_0_Compiler_reserves_name_1_in_top_level_scope_of_a_module_containing_async_functions:diag(2529,S.DiagnosticCategory.Error,"Duplicate_identifier_0_Compiler_reserves_name_1_in_top_level_scope_of_a_module_containing_async_func_2529","Duplicate identifier '{0}'. Compiler reserves name '{1}' in top level scope of a module containing async functions."),Property_0_is_incompatible_with_index_signature:diag(2530,S.DiagnosticCategory.Error,"Property_0_is_incompatible_with_index_signature_2530","Property '{0}' is incompatible with index signature."),Object_is_possibly_null:diag(2531,S.DiagnosticCategory.Error,"Object_is_possibly_null_2531","Object is possibly 'null'."),Object_is_possibly_undefined:diag(2532,S.DiagnosticCategory.Error,"Object_is_possibly_undefined_2532","Object is possibly 'undefined'."),Object_is_possibly_null_or_undefined:diag(2533,S.DiagnosticCategory.Error,"Object_is_possibly_null_or_undefined_2533","Object is possibly 'null' or 'undefined'."),A_function_returning_never_cannot_have_a_reachable_end_point:diag(2534,S.DiagnosticCategory.Error,"A_function_returning_never_cannot_have_a_reachable_end_point_2534","A function returning 'never' cannot have a reachable end point."),Enum_type_0_has_members_with_initializers_that_are_not_literals:diag(2535,S.DiagnosticCategory.Error,"Enum_type_0_has_members_with_initializers_that_are_not_literals_2535","Enum type '{0}' has members with initializers that are not literals."),Type_0_cannot_be_used_to_index_type_1:diag(2536,S.DiagnosticCategory.Error,"Type_0_cannot_be_used_to_index_type_1_2536","Type '{0}' cannot be used to index type '{1}'."),Type_0_has_no_matching_index_signature_for_type_1:diag(2537,S.DiagnosticCategory.Error,"Type_0_has_no_matching_index_signature_for_type_1_2537","Type '{0}' has no matching index signature for type '{1}'."),Type_0_cannot_be_used_as_an_index_type:diag(2538,S.DiagnosticCategory.Error,"Type_0_cannot_be_used_as_an_index_type_2538","Type '{0}' cannot be used as an index type."),Cannot_assign_to_0_because_it_is_not_a_variable:diag(2539,S.DiagnosticCategory.Error,"Cannot_assign_to_0_because_it_is_not_a_variable_2539","Cannot assign to '{0}' because it is not a variable."),Cannot_assign_to_0_because_it_is_a_read_only_property:diag(2540,S.DiagnosticCategory.Error,"Cannot_assign_to_0_because_it_is_a_read_only_property_2540","Cannot assign to '{0}' because it is a read-only property."),The_target_of_an_assignment_must_be_a_variable_or_a_property_access:diag(2541,S.DiagnosticCategory.Error,"The_target_of_an_assignment_must_be_a_variable_or_a_property_access_2541","The target of an assignment must be a variable or a property access."),Index_signature_in_type_0_only_permits_reading:diag(2542,S.DiagnosticCategory.Error,"Index_signature_in_type_0_only_permits_reading_2542","Index signature in type '{0}' only permits reading."),Duplicate_identifier_newTarget_Compiler_uses_variable_declaration_newTarget_to_capture_new_target_meta_property_reference:diag(2543,S.DiagnosticCategory.Error,"Duplicate_identifier_newTarget_Compiler_uses_variable_declaration_newTarget_to_capture_new_target_me_2543","Duplicate identifier '_newTarget'. Compiler uses variable declaration '_newTarget' to capture 'new.target' meta-property reference."),Expression_resolves_to_variable_declaration_newTarget_that_compiler_uses_to_capture_new_target_meta_property_reference:diag(2544,S.DiagnosticCategory.Error,"Expression_resolves_to_variable_declaration_newTarget_that_compiler_uses_to_capture_new_target_meta__2544","Expression resolves to variable declaration '_newTarget' that compiler uses to capture 'new.target' meta-property reference."),A_mixin_class_must_have_a_constructor_with_a_single_rest_parameter_of_type_any:diag(2545,S.DiagnosticCategory.Error,"A_mixin_class_must_have_a_constructor_with_a_single_rest_parameter_of_type_any_2545","A mixin class must have a constructor with a single rest parameter of type 'any[]'."),The_type_returned_by_the_0_method_of_an_async_iterator_must_be_a_promise_for_a_type_with_a_value_property:diag(2547,S.DiagnosticCategory.Error,"The_type_returned_by_the_0_method_of_an_async_iterator_must_be_a_promise_for_a_type_with_a_value_pro_2547","The type returned by the '{0}()' method of an async iterator must be a promise for a type with a 'value' property."),Type_0_is_not_an_array_type_or_does_not_have_a_Symbol_iterator_method_that_returns_an_iterator:diag(2548,S.DiagnosticCategory.Error,"Type_0_is_not_an_array_type_or_does_not_have_a_Symbol_iterator_method_that_returns_an_iterator_2548","Type '{0}' is not an array type or does not have a '[Symbol.iterator]()' method that returns an iterator."),Type_0_is_not_an_array_type_or_a_string_type_or_does_not_have_a_Symbol_iterator_method_that_returns_an_iterator:diag(2549,S.DiagnosticCategory.Error,"Type_0_is_not_an_array_type_or_a_string_type_or_does_not_have_a_Symbol_iterator_method_that_returns__2549","Type '{0}' is not an array type or a string type or does not have a '[Symbol.iterator]()' method that returns an iterator."),Property_0_does_not_exist_on_type_1_Did_you_mean_2:diag(2551,S.DiagnosticCategory.Error,"Property_0_does_not_exist_on_type_1_Did_you_mean_2_2551","Property '{0}' does not exist on type '{1}'. Did you mean '{2}'?"),Cannot_find_name_0_Did_you_mean_1:diag(2552,S.DiagnosticCategory.Error,"Cannot_find_name_0_Did_you_mean_1_2552","Cannot find name '{0}'. Did you mean '{1}'?"),Computed_values_are_not_permitted_in_an_enum_with_string_valued_members:diag(2553,S.DiagnosticCategory.Error,"Computed_values_are_not_permitted_in_an_enum_with_string_valued_members_2553","Computed values are not permitted in an enum with string valued members."),Expected_0_arguments_but_got_1:diag(2554,S.DiagnosticCategory.Error,"Expected_0_arguments_but_got_1_2554","Expected {0} arguments, but got {1}."),Expected_at_least_0_arguments_but_got_1:diag(2555,S.DiagnosticCategory.Error,"Expected_at_least_0_arguments_but_got_1_2555","Expected at least {0} arguments, but got {1}."),Expected_0_arguments_but_got_1_or_more:diag(2556,S.DiagnosticCategory.Error,"Expected_0_arguments_but_got_1_or_more_2556","Expected {0} arguments, but got {1} or more."),Expected_at_least_0_arguments_but_got_1_or_more:diag(2557,S.DiagnosticCategory.Error,"Expected_at_least_0_arguments_but_got_1_or_more_2557","Expected at least {0} arguments, but got {1} or more."),Expected_0_type_arguments_but_got_1:diag(2558,S.DiagnosticCategory.Error,"Expected_0_type_arguments_but_got_1_2558","Expected {0} type arguments, but got {1}."),Type_0_has_no_properties_in_common_with_type_1:diag(2559,S.DiagnosticCategory.Error,"Type_0_has_no_properties_in_common_with_type_1_2559","Type '{0}' has no properties in common with type '{1}'."),Value_of_type_0_has_no_properties_in_common_with_type_1_Did_you_mean_to_call_it:diag(2560,S.DiagnosticCategory.Error,"Value_of_type_0_has_no_properties_in_common_with_type_1_Did_you_mean_to_call_it_2560","Value of type '{0}' has no properties in common with type '{1}'. Did you mean to call it?"),Object_literal_may_only_specify_known_properties_but_0_does_not_exist_in_type_1_Did_you_mean_to_write_2:diag(2561,S.DiagnosticCategory.Error,"Object_literal_may_only_specify_known_properties_but_0_does_not_exist_in_type_1_Did_you_mean_to_writ_2561","Object literal may only specify known properties, but '{0}' does not exist in type '{1}'. Did you mean to write '{2}'?"),Base_class_expressions_cannot_reference_class_type_parameters:diag(2562,S.DiagnosticCategory.Error,"Base_class_expressions_cannot_reference_class_type_parameters_2562","Base class expressions cannot reference class type parameters."),The_containing_function_or_module_body_is_too_large_for_control_flow_analysis:diag(2563,S.DiagnosticCategory.Error,"The_containing_function_or_module_body_is_too_large_for_control_flow_analysis_2563","The containing function or module body is too large for control flow analysis."),Property_0_has_no_initializer_and_is_not_definitely_assigned_in_the_constructor:diag(2564,S.DiagnosticCategory.Error,"Property_0_has_no_initializer_and_is_not_definitely_assigned_in_the_constructor_2564","Property '{0}' has no initializer and is not definitely assigned in the constructor."),Property_0_is_used_before_being_assigned:diag(2565,S.DiagnosticCategory.Error,"Property_0_is_used_before_being_assigned_2565","Property '{0}' is used before being assigned."),A_rest_element_cannot_have_a_property_name:diag(2566,S.DiagnosticCategory.Error,"A_rest_element_cannot_have_a_property_name_2566","A rest element cannot have a property name."),Enum_declarations_can_only_merge_with_namespace_or_other_enum_declarations:diag(2567,S.DiagnosticCategory.Error,"Enum_declarations_can_only_merge_with_namespace_or_other_enum_declarations_2567","Enum declarations can only merge with namespace or other enum declarations."),Type_0_is_not_an_array_type_or_a_string_type_Use_compiler_option_downlevelIteration_to_allow_iterating_of_iterators:diag(2569,S.DiagnosticCategory.Error,"Type_0_is_not_an_array_type_or_a_string_type_Use_compiler_option_downlevelIteration_to_allow_iterati_2569","Type '{0}' is not an array type or a string type. Use compiler option '--downlevelIteration' to allow iterating of iterators."),Object_is_of_type_unknown:diag(2571,S.DiagnosticCategory.Error,"Object_is_of_type_unknown_2571","Object is of type 'unknown'."),Rest_signatures_are_incompatible:diag(2572,S.DiagnosticCategory.Error,"Rest_signatures_are_incompatible_2572","Rest signatures are incompatible."),Property_0_is_incompatible_with_rest_element_type:diag(2573,S.DiagnosticCategory.Error,"Property_0_is_incompatible_with_rest_element_type_2573","Property '{0}' is incompatible with rest element type."),A_rest_element_type_must_be_an_array_type:diag(2574,S.DiagnosticCategory.Error,"A_rest_element_type_must_be_an_array_type_2574","A rest element type must be an array type."),No_overload_expects_0_arguments_but_overloads_do_exist_that_expect_either_1_or_2_arguments:diag(2575,S.DiagnosticCategory.Error,"No_overload_expects_0_arguments_but_overloads_do_exist_that_expect_either_1_or_2_arguments_2575","No overload expects {0} arguments, but overloads do exist that expect either {1} or {2} arguments."),Property_0_is_a_static_member_of_type_1:diag(2576,S.DiagnosticCategory.Error,"Property_0_is_a_static_member_of_type_1_2576","Property '{0}' is a static member of type '{1}'"),Return_type_annotation_circularly_references_itself:diag(2577,S.DiagnosticCategory.Error,"Return_type_annotation_circularly_references_itself_2577","Return type annotation circularly references itself."),Unused_ts_expect_error_directive:diag(2578,S.DiagnosticCategory.Error,"Unused_ts_expect_error_directive_2578","Unused '@ts-expect-error' directive."),Cannot_find_name_0_Do_you_need_to_install_type_definitions_for_node_Try_npm_i_types_Slashnode:diag(2580,S.DiagnosticCategory.Error,"Cannot_find_name_0_Do_you_need_to_install_type_definitions_for_node_Try_npm_i_types_Slashnode_2580","Cannot find name '{0}'. Do you need to install type definitions for node? Try `npm i @types/node`."),Cannot_find_name_0_Do_you_need_to_install_type_definitions_for_jQuery_Try_npm_i_types_Slashjquery:diag(2581,S.DiagnosticCategory.Error,"Cannot_find_name_0_Do_you_need_to_install_type_definitions_for_jQuery_Try_npm_i_types_Slashjquery_2581","Cannot find name '{0}'. Do you need to install type definitions for jQuery? Try `npm i @types/jquery`."),Cannot_find_name_0_Do_you_need_to_install_type_definitions_for_a_test_runner_Try_npm_i_types_Slashjest_or_npm_i_types_Slashmocha:diag(2582,S.DiagnosticCategory.Error,"Cannot_find_name_0_Do_you_need_to_install_type_definitions_for_a_test_runner_Try_npm_i_types_Slashje_2582","Cannot find name '{0}'. Do you need to install type definitions for a test runner? Try `npm i @types/jest` or `npm i @types/mocha`."),Cannot_find_name_0_Do_you_need_to_change_your_target_library_Try_changing_the_lib_compiler_option_to_es2015_or_later:diag(2583,S.DiagnosticCategory.Error,"Cannot_find_name_0_Do_you_need_to_change_your_target_library_Try_changing_the_lib_compiler_option_to_2583","Cannot find name '{0}'. Do you need to change your target library? Try changing the `lib` compiler option to es2015 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,S.DiagnosticCategory.Error,"Cannot_find_name_0_Do_you_need_to_change_your_target_library_Try_changing_the_lib_compiler_option_to_2584","Cannot find name '{0}'. Do you need to change your target library? Try changing the `lib` compiler option to include 'dom'."),_0_only_refers_to_a_type_but_is_being_used_as_a_value_here_Do_you_need_to_change_your_target_library_Try_changing_the_lib_compiler_option_to_es2015_or_later:diag(2585,S.DiagnosticCategory.Error,"_0_only_refers_to_a_type_but_is_being_used_as_a_value_here_Do_you_need_to_change_your_target_library_2585","'{0}' only refers to a type, but is being used as a value here. Do you need to change your target library? Try changing the `lib` compiler option to es2015 or later."),Enum_type_0_circularly_references_itself:diag(2586,S.DiagnosticCategory.Error,"Enum_type_0_circularly_references_itself_2586","Enum type '{0}' circularly references itself."),JSDoc_type_0_circularly_references_itself:diag(2587,S.DiagnosticCategory.Error,"JSDoc_type_0_circularly_references_itself_2587","JSDoc type '{0}' circularly references itself."),Cannot_assign_to_0_because_it_is_a_constant:diag(2588,S.DiagnosticCategory.Error,"Cannot_assign_to_0_because_it_is_a_constant_2588","Cannot assign to '{0}' because it is a constant."),Type_instantiation_is_excessively_deep_and_possibly_infinite:diag(2589,S.DiagnosticCategory.Error,"Type_instantiation_is_excessively_deep_and_possibly_infinite_2589","Type instantiation is excessively deep and possibly infinite."),Expression_produces_a_union_type_that_is_too_complex_to_represent:diag(2590,S.DiagnosticCategory.Error,"Expression_produces_a_union_type_that_is_too_complex_to_represent_2590","Expression produces a union type that is too complex to represent."),Cannot_find_name_0_Do_you_need_to_install_type_definitions_for_node_Try_npm_i_types_Slashnode_and_then_add_node_to_the_types_field_in_your_tsconfig:diag(2591,S.DiagnosticCategory.Error,"Cannot_find_name_0_Do_you_need_to_install_type_definitions_for_node_Try_npm_i_types_Slashnode_and_th_2591","Cannot find name '{0}'. Do you need to install type definitions for node? Try `npm i @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_types_Slashjquery_and_then_add_jquery_to_the_types_field_in_your_tsconfig:diag(2592,S.DiagnosticCategory.Error,"Cannot_find_name_0_Do_you_need_to_install_type_definitions_for_jQuery_Try_npm_i_types_Slashjquery_an_2592","Cannot find name '{0}'. Do you need to install type definitions for jQuery? Try `npm i @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_types_Slashjest_or_npm_i_types_Slashmocha_and_then_add_jest_or_mocha_to_the_types_field_in_your_tsconfig:diag(2593,S.DiagnosticCategory.Error,"Cannot_find_name_0_Do_you_need_to_install_type_definitions_for_a_test_runner_Try_npm_i_types_Slashje_2593","Cannot find name '{0}'. Do you need to install type definitions for a test runner? Try `npm i @types/jest` or `npm i @types/mocha` and then add `jest` or `mocha` to the types field in your tsconfig."),This_module_is_declared_with_using_export_and_can_only_be_used_with_a_default_import_when_using_the_0_flag:diag(2594,S.DiagnosticCategory.Error,"This_module_is_declared_with_using_export_and_can_only_be_used_with_a_default_import_when_using_the__2594","This module is declared with using 'export =', and can only be used with a default import when using the '{0}' flag."),_0_can_only_be_imported_by_using_a_default_import:diag(2595,S.DiagnosticCategory.Error,"_0_can_only_be_imported_by_using_a_default_import_2595","'{0}' can only be imported by using a default import."),_0_can_only_be_imported_by_turning_on_the_esModuleInterop_flag_and_using_a_default_import:diag(2596,S.DiagnosticCategory.Error,"_0_can_only_be_imported_by_turning_on_the_esModuleInterop_flag_and_using_a_default_import_2596","'{0}' can only be imported by turning on the 'esModuleInterop' flag and using a default import."),_0_can_only_be_imported_by_using_a_require_call_or_by_using_a_default_import:diag(2597,S.DiagnosticCategory.Error,"_0_can_only_be_imported_by_using_a_require_call_or_by_using_a_default_import_2597","'{0}' can only be imported by using a 'require' call or by using a default import."),_0_can_only_be_imported_by_using_a_require_call_or_by_turning_on_the_esModuleInterop_flag_and_using_a_default_import:diag(2598,S.DiagnosticCategory.Error,"_0_can_only_be_imported_by_using_a_require_call_or_by_turning_on_the_esModuleInterop_flag_and_using__2598","'{0}' can only be imported by using a 'require' call or by turning on the 'esModuleInterop' flag and using a default import."),JSX_element_attributes_type_0_may_not_be_a_union_type:diag(2600,S.DiagnosticCategory.Error,"JSX_element_attributes_type_0_may_not_be_a_union_type_2600","JSX element attributes type '{0}' may not be a union type."),The_return_type_of_a_JSX_element_constructor_must_return_an_object_type:diag(2601,S.DiagnosticCategory.Error,"The_return_type_of_a_JSX_element_constructor_must_return_an_object_type_2601","The return type of a JSX element constructor must return an object type."),JSX_element_implicitly_has_type_any_because_the_global_type_JSX_Element_does_not_exist:diag(2602,S.DiagnosticCategory.Error,"JSX_element_implicitly_has_type_any_because_the_global_type_JSX_Element_does_not_exist_2602","JSX element implicitly has type 'any' because the global type 'JSX.Element' does not exist."),Property_0_in_type_1_is_not_assignable_to_type_2:diag(2603,S.DiagnosticCategory.Error,"Property_0_in_type_1_is_not_assignable_to_type_2_2603","Property '{0}' in type '{1}' is not assignable to type '{2}'."),JSX_element_type_0_does_not_have_any_construct_or_call_signatures:diag(2604,S.DiagnosticCategory.Error,"JSX_element_type_0_does_not_have_any_construct_or_call_signatures_2604","JSX element type '{0}' does not have any construct or call signatures."),JSX_element_type_0_is_not_a_constructor_function_for_JSX_elements:diag(2605,S.DiagnosticCategory.Error,"JSX_element_type_0_is_not_a_constructor_function_for_JSX_elements_2605","JSX element type '{0}' is not a constructor function for JSX elements."),Property_0_of_JSX_spread_attribute_is_not_assignable_to_target_property:diag(2606,S.DiagnosticCategory.Error,"Property_0_of_JSX_spread_attribute_is_not_assignable_to_target_property_2606","Property '{0}' of JSX spread attribute is not assignable to target property."),JSX_element_class_does_not_support_attributes_because_it_does_not_have_a_0_property:diag(2607,S.DiagnosticCategory.Error,"JSX_element_class_does_not_support_attributes_because_it_does_not_have_a_0_property_2607","JSX element class does not support attributes because it does not have a '{0}' property."),The_global_type_JSX_0_may_not_have_more_than_one_property:diag(2608,S.DiagnosticCategory.Error,"The_global_type_JSX_0_may_not_have_more_than_one_property_2608","The global type 'JSX.{0}' may not have more than one property."),JSX_spread_child_must_be_an_array_type:diag(2609,S.DiagnosticCategory.Error,"JSX_spread_child_must_be_an_array_type_2609","JSX spread child must be an array type."),_0_is_defined_as_an_accessor_in_class_1_but_is_overridden_here_in_2_as_an_instance_property:diag(2610,S.DiagnosticCategory.Error,"_0_is_defined_as_an_accessor_in_class_1_but_is_overridden_here_in_2_as_an_instance_property_2610","'{0}' is defined as an accessor in class '{1}', but is overridden here in '{2}' as an instance property."),_0_is_defined_as_a_property_in_class_1_but_is_overridden_here_in_2_as_an_accessor:diag(2611,S.DiagnosticCategory.Error,"_0_is_defined_as_a_property_in_class_1_but_is_overridden_here_in_2_as_an_accessor_2611","'{0}' is defined as a property in class '{1}', but is overridden here in '{2}' as an accessor."),Property_0_will_overwrite_the_base_property_in_1_If_this_is_intentional_add_an_initializer_Otherwise_add_a_declare_modifier_or_remove_the_redundant_declaration:diag(2612,S.DiagnosticCategory.Error,"Property_0_will_overwrite_the_base_property_in_1_If_this_is_intentional_add_an_initializer_Otherwise_2612","Property '{0}' will overwrite the base property in '{1}'. If this is intentional, add an initializer. Otherwise, add a 'declare' modifier or remove the redundant declaration."),Module_0_has_no_default_export_Did_you_mean_to_use_import_1_from_0_instead:diag(2613,S.DiagnosticCategory.Error,"Module_0_has_no_default_export_Did_you_mean_to_use_import_1_from_0_instead_2613","Module '{0}' has no default export. Did you mean to use 'import { {1} } from {0}' instead?"),Module_0_has_no_exported_member_1_Did_you_mean_to_use_import_1_from_0_instead:diag(2614,S.DiagnosticCategory.Error,"Module_0_has_no_exported_member_1_Did_you_mean_to_use_import_1_from_0_instead_2614","Module '{0}' has no exported member '{1}'. Did you mean to use 'import {1} from {0}' instead?"),Type_of_property_0_circularly_references_itself_in_mapped_type_1:diag(2615,S.DiagnosticCategory.Error,"Type_of_property_0_circularly_references_itself_in_mapped_type_1_2615","Type of property '{0}' circularly references itself in mapped type '{1}'."),_0_can_only_be_imported_by_using_import_1_require_2_or_a_default_import:diag(2616,S.DiagnosticCategory.Error,"_0_can_only_be_imported_by_using_import_1_require_2_or_a_default_import_2616","'{0}' can only be imported by using 'import {1} = require({2})' or a default import."),_0_can_only_be_imported_by_using_import_1_require_2_or_by_turning_on_the_esModuleInterop_flag_and_using_a_default_import:diag(2617,S.DiagnosticCategory.Error,"_0_can_only_be_imported_by_using_import_1_require_2_or_by_turning_on_the_esModuleInterop_flag_and_us_2617","'{0}' can only be imported by using 'import {1} = require({2})' or by turning on the 'esModuleInterop' flag and using a default import."),Cannot_augment_module_0_with_value_exports_because_it_resolves_to_a_non_module_entity:diag(2649,S.DiagnosticCategory.Error,"Cannot_augment_module_0_with_value_exports_because_it_resolves_to_a_non_module_entity_2649","Cannot augment module '{0}' with value exports because it resolves to a non-module entity."),A_member_initializer_in_a_enum_declaration_cannot_reference_members_declared_after_it_including_members_defined_in_other_enums:diag(2651,S.DiagnosticCategory.Error,"A_member_initializer_in_a_enum_declaration_cannot_reference_members_declared_after_it_including_memb_2651","A member initializer in a enum declaration cannot reference members declared after it, including members defined in other enums."),Merged_declaration_0_cannot_include_a_default_export_declaration_Consider_adding_a_separate_export_default_0_declaration_instead:diag(2652,S.DiagnosticCategory.Error,"Merged_declaration_0_cannot_include_a_default_export_declaration_Consider_adding_a_separate_export_d_2652","Merged declaration '{0}' cannot include a default export declaration. Consider adding a separate 'export default {0}' declaration instead."),Non_abstract_class_expression_does_not_implement_inherited_abstract_member_0_from_class_1:diag(2653,S.DiagnosticCategory.Error,"Non_abstract_class_expression_does_not_implement_inherited_abstract_member_0_from_class_1_2653","Non-abstract class expression does not implement inherited abstract member '{0}' from class '{1}'."),Exported_external_package_typings_file_cannot_contain_tripleslash_references_Please_contact_the_package_author_to_update_the_package_definition:diag(2654,S.DiagnosticCategory.Error,"Exported_external_package_typings_file_cannot_contain_tripleslash_references_Please_contact_the_pack_2654","Exported external package typings file cannot contain tripleslash references. Please contact the package author to update the package definition."),Exported_external_package_typings_file_0_is_not_a_module_Please_contact_the_package_author_to_update_the_package_definition:diag(2656,S.DiagnosticCategory.Error,"Exported_external_package_typings_file_0_is_not_a_module_Please_contact_the_package_author_to_update_2656","Exported external package typings file '{0}' is not a module. Please contact the package author to update the package definition."),JSX_expressions_must_have_one_parent_element:diag(2657,S.DiagnosticCategory.Error,"JSX_expressions_must_have_one_parent_element_2657","JSX expressions must have one parent element."),Type_0_provides_no_match_for_the_signature_1:diag(2658,S.DiagnosticCategory.Error,"Type_0_provides_no_match_for_the_signature_1_2658","Type '{0}' provides no match for the signature '{1}'."),super_is_only_allowed_in_members_of_object_literal_expressions_when_option_target_is_ES2015_or_higher:diag(2659,S.DiagnosticCategory.Error,"super_is_only_allowed_in_members_of_object_literal_expressions_when_option_target_is_ES2015_or_highe_2659","'super' is only allowed in members of object literal expressions when option 'target' is 'ES2015' or higher."),super_can_only_be_referenced_in_members_of_derived_classes_or_object_literal_expressions:diag(2660,S.DiagnosticCategory.Error,"super_can_only_be_referenced_in_members_of_derived_classes_or_object_literal_expressions_2660","'super' can only be referenced in members of derived classes or object literal expressions."),Cannot_export_0_Only_local_declarations_can_be_exported_from_a_module:diag(2661,S.DiagnosticCategory.Error,"Cannot_export_0_Only_local_declarations_can_be_exported_from_a_module_2661","Cannot export '{0}'. Only local declarations can be exported from a module."),Cannot_find_name_0_Did_you_mean_the_static_member_1_0:diag(2662,S.DiagnosticCategory.Error,"Cannot_find_name_0_Did_you_mean_the_static_member_1_0_2662","Cannot find name '{0}'. Did you mean the static member '{1}.{0}'?"),Cannot_find_name_0_Did_you_mean_the_instance_member_this_0:diag(2663,S.DiagnosticCategory.Error,"Cannot_find_name_0_Did_you_mean_the_instance_member_this_0_2663","Cannot find name '{0}'. Did you mean the instance member 'this.{0}'?"),Invalid_module_name_in_augmentation_module_0_cannot_be_found:diag(2664,S.DiagnosticCategory.Error,"Invalid_module_name_in_augmentation_module_0_cannot_be_found_2664","Invalid module name in augmentation, module '{0}' cannot be found."),Invalid_module_name_in_augmentation_Module_0_resolves_to_an_untyped_module_at_1_which_cannot_be_augmented:diag(2665,S.DiagnosticCategory.Error,"Invalid_module_name_in_augmentation_Module_0_resolves_to_an_untyped_module_at_1_which_cannot_be_augm_2665","Invalid module name in augmentation. Module '{0}' resolves to an untyped module at '{1}', which cannot be augmented."),Exports_and_export_assignments_are_not_permitted_in_module_augmentations:diag(2666,S.DiagnosticCategory.Error,"Exports_and_export_assignments_are_not_permitted_in_module_augmentations_2666","Exports and export assignments are not permitted in module augmentations."),Imports_are_not_permitted_in_module_augmentations_Consider_moving_them_to_the_enclosing_external_module:diag(2667,S.DiagnosticCategory.Error,"Imports_are_not_permitted_in_module_augmentations_Consider_moving_them_to_the_enclosing_external_mod_2667","Imports are not permitted in module augmentations. Consider moving them to the enclosing external module."),export_modifier_cannot_be_applied_to_ambient_modules_and_module_augmentations_since_they_are_always_visible:diag(2668,S.DiagnosticCategory.Error,"export_modifier_cannot_be_applied_to_ambient_modules_and_module_augmentations_since_they_are_always__2668","'export' modifier cannot be applied to ambient modules and module augmentations since they are always visible."),Augmentations_for_the_global_scope_can_only_be_directly_nested_in_external_modules_or_ambient_module_declarations:diag(2669,S.DiagnosticCategory.Error,"Augmentations_for_the_global_scope_can_only_be_directly_nested_in_external_modules_or_ambient_module_2669","Augmentations for the global scope can only be directly nested in external modules or ambient module declarations."),Augmentations_for_the_global_scope_should_have_declare_modifier_unless_they_appear_in_already_ambient_context:diag(2670,S.DiagnosticCategory.Error,"Augmentations_for_the_global_scope_should_have_declare_modifier_unless_they_appear_in_already_ambien_2670","Augmentations for the global scope should have 'declare' modifier unless they appear in already ambient context."),Cannot_augment_module_0_because_it_resolves_to_a_non_module_entity:diag(2671,S.DiagnosticCategory.Error,"Cannot_augment_module_0_because_it_resolves_to_a_non_module_entity_2671","Cannot augment module '{0}' because it resolves to a non-module entity."),Cannot_assign_a_0_constructor_type_to_a_1_constructor_type:diag(2672,S.DiagnosticCategory.Error,"Cannot_assign_a_0_constructor_type_to_a_1_constructor_type_2672","Cannot assign a '{0}' constructor type to a '{1}' constructor type."),Constructor_of_class_0_is_private_and_only_accessible_within_the_class_declaration:diag(2673,S.DiagnosticCategory.Error,"Constructor_of_class_0_is_private_and_only_accessible_within_the_class_declaration_2673","Constructor of class '{0}' is private and only accessible within the class declaration."),Constructor_of_class_0_is_protected_and_only_accessible_within_the_class_declaration:diag(2674,S.DiagnosticCategory.Error,"Constructor_of_class_0_is_protected_and_only_accessible_within_the_class_declaration_2674","Constructor of class '{0}' is protected and only accessible within the class declaration."),Cannot_extend_a_class_0_Class_constructor_is_marked_as_private:diag(2675,S.DiagnosticCategory.Error,"Cannot_extend_a_class_0_Class_constructor_is_marked_as_private_2675","Cannot extend a class '{0}'. Class constructor is marked as private."),Accessors_must_both_be_abstract_or_non_abstract:diag(2676,S.DiagnosticCategory.Error,"Accessors_must_both_be_abstract_or_non_abstract_2676","Accessors must both be abstract or non-abstract."),A_type_predicate_s_type_must_be_assignable_to_its_parameter_s_type:diag(2677,S.DiagnosticCategory.Error,"A_type_predicate_s_type_must_be_assignable_to_its_parameter_s_type_2677","A type predicate's type must be assignable to its parameter's type."),Type_0_is_not_comparable_to_type_1:diag(2678,S.DiagnosticCategory.Error,"Type_0_is_not_comparable_to_type_1_2678","Type '{0}' is not comparable to type '{1}'."),A_function_that_is_called_with_the_new_keyword_cannot_have_a_this_type_that_is_void:diag(2679,S.DiagnosticCategory.Error,"A_function_that_is_called_with_the_new_keyword_cannot_have_a_this_type_that_is_void_2679","A function that is called with the 'new' keyword cannot have a 'this' type that is 'void'."),A_0_parameter_must_be_the_first_parameter:diag(2680,S.DiagnosticCategory.Error,"A_0_parameter_must_be_the_first_parameter_2680","A '{0}' parameter must be the first parameter."),A_constructor_cannot_have_a_this_parameter:diag(2681,S.DiagnosticCategory.Error,"A_constructor_cannot_have_a_this_parameter_2681","A constructor cannot have a 'this' parameter."),get_and_set_accessor_must_have_the_same_this_type:diag(2682,S.DiagnosticCategory.Error,"get_and_set_accessor_must_have_the_same_this_type_2682","'get' and 'set' accessor must have the same 'this' type."),this_implicitly_has_type_any_because_it_does_not_have_a_type_annotation:diag(2683,S.DiagnosticCategory.Error,"this_implicitly_has_type_any_because_it_does_not_have_a_type_annotation_2683","'this' implicitly has type 'any' because it does not have a type annotation."),The_this_context_of_type_0_is_not_assignable_to_method_s_this_of_type_1:diag(2684,S.DiagnosticCategory.Error,"The_this_context_of_type_0_is_not_assignable_to_method_s_this_of_type_1_2684","The 'this' context of type '{0}' is not assignable to method's 'this' of type '{1}'."),The_this_types_of_each_signature_are_incompatible:diag(2685,S.DiagnosticCategory.Error,"The_this_types_of_each_signature_are_incompatible_2685","The 'this' types of each signature are incompatible."),_0_refers_to_a_UMD_global_but_the_current_file_is_a_module_Consider_adding_an_import_instead:diag(2686,S.DiagnosticCategory.Error,"_0_refers_to_a_UMD_global_but_the_current_file_is_a_module_Consider_adding_an_import_instead_2686","'{0}' refers to a UMD global, but the current file is a module. Consider adding an import instead."),All_declarations_of_0_must_have_identical_modifiers:diag(2687,S.DiagnosticCategory.Error,"All_declarations_of_0_must_have_identical_modifiers_2687","All declarations of '{0}' must have identical modifiers."),Cannot_find_type_definition_file_for_0:diag(2688,S.DiagnosticCategory.Error,"Cannot_find_type_definition_file_for_0_2688","Cannot find type definition file for '{0}'."),Cannot_extend_an_interface_0_Did_you_mean_implements:diag(2689,S.DiagnosticCategory.Error,"Cannot_extend_an_interface_0_Did_you_mean_implements_2689","Cannot extend an interface '{0}'. Did you mean 'implements'?"),An_import_path_cannot_end_with_a_0_extension_Consider_importing_1_instead:diag(2691,S.DiagnosticCategory.Error,"An_import_path_cannot_end_with_a_0_extension_Consider_importing_1_instead_2691","An import path cannot end with a '{0}' extension. Consider importing '{1}' instead."),_0_is_a_primitive_but_1_is_a_wrapper_object_Prefer_using_0_when_possible:diag(2692,S.DiagnosticCategory.Error,"_0_is_a_primitive_but_1_is_a_wrapper_object_Prefer_using_0_when_possible_2692","'{0}' is a primitive, but '{1}' is a wrapper object. Prefer using '{0}' when possible."),_0_only_refers_to_a_type_but_is_being_used_as_a_value_here:diag(2693,S.DiagnosticCategory.Error,"_0_only_refers_to_a_type_but_is_being_used_as_a_value_here_2693","'{0}' only refers to a type, but is being used as a value here."),Namespace_0_has_no_exported_member_1:diag(2694,S.DiagnosticCategory.Error,"Namespace_0_has_no_exported_member_1_2694","Namespace '{0}' has no exported member '{1}'."),Left_side_of_comma_operator_is_unused_and_has_no_side_effects:diag(2695,S.DiagnosticCategory.Error,"Left_side_of_comma_operator_is_unused_and_has_no_side_effects_2695","Left side of comma operator is unused and has no side effects.",true),The_Object_type_is_assignable_to_very_few_other_types_Did_you_mean_to_use_the_any_type_instead:diag(2696,S.DiagnosticCategory.Error,"The_Object_type_is_assignable_to_very_few_other_types_Did_you_mean_to_use_the_any_type_instead_2696","The 'Object' type is assignable to very few other types. Did you mean to use the 'any' type instead?"),An_async_function_or_method_must_return_a_Promise_Make_sure_you_have_a_declaration_for_Promise_or_include_ES2015_in_your_lib_option:diag(2697,S.DiagnosticCategory.Error,"An_async_function_or_method_must_return_a_Promise_Make_sure_you_have_a_declaration_for_Promise_or_in_2697","An async function or method must return a 'Promise'. Make sure you have a declaration for 'Promise' or include 'ES2015' in your `--lib` option."),Spread_types_may_only_be_created_from_object_types:diag(2698,S.DiagnosticCategory.Error,"Spread_types_may_only_be_created_from_object_types_2698","Spread types may only be created from object types."),Static_property_0_conflicts_with_built_in_property_Function_0_of_constructor_function_1:diag(2699,S.DiagnosticCategory.Error,"Static_property_0_conflicts_with_built_in_property_Function_0_of_constructor_function_1_2699","Static property '{0}' conflicts with built-in property 'Function.{0}' of constructor function '{1}'."),Rest_types_may_only_be_created_from_object_types:diag(2700,S.DiagnosticCategory.Error,"Rest_types_may_only_be_created_from_object_types_2700","Rest types may only be created from object types."),The_target_of_an_object_rest_assignment_must_be_a_variable_or_a_property_access:diag(2701,S.DiagnosticCategory.Error,"The_target_of_an_object_rest_assignment_must_be_a_variable_or_a_property_access_2701","The target of an object rest assignment must be a variable or a property access."),_0_only_refers_to_a_type_but_is_being_used_as_a_namespace_here:diag(2702,S.DiagnosticCategory.Error,"_0_only_refers_to_a_type_but_is_being_used_as_a_namespace_here_2702","'{0}' only refers to a type, but is being used as a namespace here."),The_operand_of_a_delete_operator_must_be_a_property_reference:diag(2703,S.DiagnosticCategory.Error,"The_operand_of_a_delete_operator_must_be_a_property_reference_2703","The operand of a 'delete' operator must be a property reference."),The_operand_of_a_delete_operator_cannot_be_a_read_only_property:diag(2704,S.DiagnosticCategory.Error,"The_operand_of_a_delete_operator_cannot_be_a_read_only_property_2704","The operand of a 'delete' operator cannot be a read-only property."),An_async_function_or_method_in_ES5_SlashES3_requires_the_Promise_constructor_Make_sure_you_have_a_declaration_for_the_Promise_constructor_or_include_ES2015_in_your_lib_option:diag(2705,S.DiagnosticCategory.Error,"An_async_function_or_method_in_ES5_SlashES3_requires_the_Promise_constructor_Make_sure_you_have_a_de_2705","An async function or method in ES5/ES3 requires the 'Promise' constructor. Make sure you have a declaration for the 'Promise' constructor or include 'ES2015' in your `--lib` option."),Required_type_parameters_may_not_follow_optional_type_parameters:diag(2706,S.DiagnosticCategory.Error,"Required_type_parameters_may_not_follow_optional_type_parameters_2706","Required type parameters may not follow optional type parameters."),Generic_type_0_requires_between_1_and_2_type_arguments:diag(2707,S.DiagnosticCategory.Error,"Generic_type_0_requires_between_1_and_2_type_arguments_2707","Generic type '{0}' requires between {1} and {2} type arguments."),Cannot_use_namespace_0_as_a_value:diag(2708,S.DiagnosticCategory.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,S.DiagnosticCategory.Error,"Cannot_use_namespace_0_as_a_type_2709","Cannot use namespace '{0}' as a type."),_0_are_specified_twice_The_attribute_named_0_will_be_overwritten:diag(2710,S.DiagnosticCategory.Error,"_0_are_specified_twice_The_attribute_named_0_will_be_overwritten_2710","'{0}' are specified twice. The attribute named '{0}' will be overwritten."),A_dynamic_import_call_returns_a_Promise_Make_sure_you_have_a_declaration_for_Promise_or_include_ES2015_in_your_lib_option:diag(2711,S.DiagnosticCategory.Error,"A_dynamic_import_call_returns_a_Promise_Make_sure_you_have_a_declaration_for_Promise_or_include_ES20_2711","A dynamic import call returns a 'Promise'. Make sure you have a declaration for 'Promise' or include 'ES2015' in your `--lib` option."),A_dynamic_import_call_in_ES5_SlashES3_requires_the_Promise_constructor_Make_sure_you_have_a_declaration_for_the_Promise_constructor_or_include_ES2015_in_your_lib_option:diag(2712,S.DiagnosticCategory.Error,"A_dynamic_import_call_in_ES5_SlashES3_requires_the_Promise_constructor_Make_sure_you_have_a_declarat_2712","A dynamic import call in ES5/ES3 requires the 'Promise' constructor. Make sure you have a declaration for the 'Promise' constructor or include 'ES2015' in your `--lib` option."),Cannot_access_0_1_because_0_is_a_type_but_not_a_namespace_Did_you_mean_to_retrieve_the_type_of_the_property_1_in_0_with_0_1:diag(2713,S.DiagnosticCategory.Error,"Cannot_access_0_1_because_0_is_a_type_but_not_a_namespace_Did_you_mean_to_retrieve_the_type_of_the_p_2713","Cannot access '{0}.{1}' because '{0}' is a type, but not a namespace. Did you mean to retrieve the type of the property '{1}' in '{0}' with '{0}[\"{1}\"]'?"),The_expression_of_an_export_assignment_must_be_an_identifier_or_qualified_name_in_an_ambient_context:diag(2714,S.DiagnosticCategory.Error,"The_expression_of_an_export_assignment_must_be_an_identifier_or_qualified_name_in_an_ambient_context_2714","The expression of an export assignment must be an identifier or qualified name in an ambient context."),Abstract_property_0_in_class_1_cannot_be_accessed_in_the_constructor:diag(2715,S.DiagnosticCategory.Error,"Abstract_property_0_in_class_1_cannot_be_accessed_in_the_constructor_2715","Abstract property '{0}' in class '{1}' cannot be accessed in the constructor."),Type_parameter_0_has_a_circular_default:diag(2716,S.DiagnosticCategory.Error,"Type_parameter_0_has_a_circular_default_2716","Type parameter '{0}' has a circular default."),Subsequent_property_declarations_must_have_the_same_type_Property_0_must_be_of_type_1_but_here_has_type_2:diag(2717,S.DiagnosticCategory.Error,"Subsequent_property_declarations_must_have_the_same_type_Property_0_must_be_of_type_1_but_here_has_t_2717","Subsequent property declarations must have the same type. Property '{0}' must be of type '{1}', but here has type '{2}'."),Duplicate_property_0:diag(2718,S.DiagnosticCategory.Error,"Duplicate_property_0_2718","Duplicate property '{0}'."),Type_0_is_not_assignable_to_type_1_Two_different_types_with_this_name_exist_but_they_are_unrelated:diag(2719,S.DiagnosticCategory.Error,"Type_0_is_not_assignable_to_type_1_Two_different_types_with_this_name_exist_but_they_are_unrelated_2719","Type '{0}' is not assignable to type '{1}'. Two different types with this name exist, but they are unrelated."),Class_0_incorrectly_implements_class_1_Did_you_mean_to_extend_1_and_inherit_its_members_as_a_subclass:diag(2720,S.DiagnosticCategory.Error,"Class_0_incorrectly_implements_class_1_Did_you_mean_to_extend_1_and_inherit_its_members_as_a_subclas_2720","Class '{0}' incorrectly implements class '{1}'. Did you mean to extend '{1}' and inherit its members as a subclass?"),Cannot_invoke_an_object_which_is_possibly_null:diag(2721,S.DiagnosticCategory.Error,"Cannot_invoke_an_object_which_is_possibly_null_2721","Cannot invoke an object which is possibly 'null'."),Cannot_invoke_an_object_which_is_possibly_undefined:diag(2722,S.DiagnosticCategory.Error,"Cannot_invoke_an_object_which_is_possibly_undefined_2722","Cannot invoke an object which is possibly 'undefined'."),Cannot_invoke_an_object_which_is_possibly_null_or_undefined:diag(2723,S.DiagnosticCategory.Error,"Cannot_invoke_an_object_which_is_possibly_null_or_undefined_2723","Cannot invoke an object which is possibly 'null' or 'undefined'."),Module_0_has_no_exported_member_1_Did_you_mean_2:diag(2724,S.DiagnosticCategory.Error,"Module_0_has_no_exported_member_1_Did_you_mean_2_2724","Module '{0}' has no exported member '{1}'. Did you mean '{2}'?"),Class_name_cannot_be_Object_when_targeting_ES5_with_module_0:diag(2725,S.DiagnosticCategory.Error,"Class_name_cannot_be_Object_when_targeting_ES5_with_module_0_2725","Class name cannot be 'Object' when targeting ES5 with module {0}."),Cannot_find_lib_definition_for_0:diag(2726,S.DiagnosticCategory.Error,"Cannot_find_lib_definition_for_0_2726","Cannot find lib definition for '{0}'."),Cannot_find_lib_definition_for_0_Did_you_mean_1:diag(2727,S.DiagnosticCategory.Error,"Cannot_find_lib_definition_for_0_Did_you_mean_1_2727","Cannot find lib definition for '{0}'. Did you mean '{1}'?"),_0_is_declared_here:diag(2728,S.DiagnosticCategory.Message,"_0_is_declared_here_2728","'{0}' is declared here."),Property_0_is_used_before_its_initialization:diag(2729,S.DiagnosticCategory.Error,"Property_0_is_used_before_its_initialization_2729","Property '{0}' is used before its initialization."),An_arrow_function_cannot_have_a_this_parameter:diag(2730,S.DiagnosticCategory.Error,"An_arrow_function_cannot_have_a_this_parameter_2730","An arrow function cannot have a 'this' parameter."),Implicit_conversion_of_a_symbol_to_a_string_will_fail_at_runtime_Consider_wrapping_this_expression_in_String:diag(2731,S.DiagnosticCategory.Error,"Implicit_conversion_of_a_symbol_to_a_string_will_fail_at_runtime_Consider_wrapping_this_expression_i_2731","Implicit conversion of a 'symbol' to a 'string' will fail at runtime. Consider wrapping this expression in 'String(...)'."),Cannot_find_module_0_Consider_using_resolveJsonModule_to_import_module_with_json_extension:diag(2732,S.DiagnosticCategory.Error,"Cannot_find_module_0_Consider_using_resolveJsonModule_to_import_module_with_json_extension_2732","Cannot find module '{0}'. Consider using '--resolveJsonModule' to import module with '.json' extension"),Property_0_was_also_declared_here:diag(2733,S.DiagnosticCategory.Error,"Property_0_was_also_declared_here_2733","Property '{0}' was also declared here."),Are_you_missing_a_semicolon:diag(2734,S.DiagnosticCategory.Error,"Are_you_missing_a_semicolon_2734","Are you missing a semicolon?"),Did_you_mean_for_0_to_be_constrained_to_type_new_args_Colon_any_1:diag(2735,S.DiagnosticCategory.Error,"Did_you_mean_for_0_to_be_constrained_to_type_new_args_Colon_any_1_2735","Did you mean for '{0}' to be constrained to type 'new (...args: any[]) => {1}'?"),Operator_0_cannot_be_applied_to_type_1:diag(2736,S.DiagnosticCategory.Error,"Operator_0_cannot_be_applied_to_type_1_2736","Operator '{0}' cannot be applied to type '{1}'."),BigInt_literals_are_not_available_when_targeting_lower_than_ES2020:diag(2737,S.DiagnosticCategory.Error,"BigInt_literals_are_not_available_when_targeting_lower_than_ES2020_2737","BigInt literals are not available when targeting lower than ES2020."),An_outer_value_of_this_is_shadowed_by_this_container:diag(2738,S.DiagnosticCategory.Message,"An_outer_value_of_this_is_shadowed_by_this_container_2738","An outer value of 'this' is shadowed by this container."),Type_0_is_missing_the_following_properties_from_type_1_Colon_2:diag(2739,S.DiagnosticCategory.Error,"Type_0_is_missing_the_following_properties_from_type_1_Colon_2_2739","Type '{0}' is missing the following properties from type '{1}': {2}"),Type_0_is_missing_the_following_properties_from_type_1_Colon_2_and_3_more:diag(2740,S.DiagnosticCategory.Error,"Type_0_is_missing_the_following_properties_from_type_1_Colon_2_and_3_more_2740","Type '{0}' is missing the following properties from type '{1}': {2}, and {3} more."),Property_0_is_missing_in_type_1_but_required_in_type_2:diag(2741,S.DiagnosticCategory.Error,"Property_0_is_missing_in_type_1_but_required_in_type_2_2741","Property '{0}' is missing in type '{1}' but required in type '{2}'."),The_inferred_type_of_0_cannot_be_named_without_a_reference_to_1_This_is_likely_not_portable_A_type_annotation_is_necessary:diag(2742,S.DiagnosticCategory.Error,"The_inferred_type_of_0_cannot_be_named_without_a_reference_to_1_This_is_likely_not_portable_A_type_a_2742","The inferred type of '{0}' cannot be named without a reference to '{1}'. This is likely not portable. A type annotation is necessary."),No_overload_expects_0_type_arguments_but_overloads_do_exist_that_expect_either_1_or_2_type_arguments:diag(2743,S.DiagnosticCategory.Error,"No_overload_expects_0_type_arguments_but_overloads_do_exist_that_expect_either_1_or_2_type_arguments_2743","No overload expects {0} type arguments, but overloads do exist that expect either {1} or {2} type arguments."),Type_parameter_defaults_can_only_reference_previously_declared_type_parameters:diag(2744,S.DiagnosticCategory.Error,"Type_parameter_defaults_can_only_reference_previously_declared_type_parameters_2744","Type parameter defaults can only reference previously declared type parameters."),This_JSX_tag_s_0_prop_expects_type_1_which_requires_multiple_children_but_only_a_single_child_was_provided:diag(2745,S.DiagnosticCategory.Error,"This_JSX_tag_s_0_prop_expects_type_1_which_requires_multiple_children_but_only_a_single_child_was_pr_2745","This JSX tag's '{0}' prop expects type '{1}' which requires multiple children, but only a single child was provided."),This_JSX_tag_s_0_prop_expects_a_single_child_of_type_1_but_multiple_children_were_provided:diag(2746,S.DiagnosticCategory.Error,"This_JSX_tag_s_0_prop_expects_a_single_child_of_type_1_but_multiple_children_were_provided_2746","This JSX tag's '{0}' prop expects a single child of type '{1}', but multiple children were provided."),_0_components_don_t_accept_text_as_child_elements_Text_in_JSX_has_the_type_string_but_the_expected_type_of_1_is_2:diag(2747,S.DiagnosticCategory.Error,"_0_components_don_t_accept_text_as_child_elements_Text_in_JSX_has_the_type_string_but_the_expected_t_2747","'{0}' components don't accept text as child elements. Text in JSX has the type 'string', but the expected type of '{1}' is '{2}'."),Cannot_access_ambient_const_enums_when_the_isolatedModules_flag_is_provided:diag(2748,S.DiagnosticCategory.Error,"Cannot_access_ambient_const_enums_when_the_isolatedModules_flag_is_provided_2748","Cannot access ambient const enums when the '--isolatedModules' flag is provided."),_0_refers_to_a_value_but_is_being_used_as_a_type_here_Did_you_mean_typeof_0:diag(2749,S.DiagnosticCategory.Error,"_0_refers_to_a_value_but_is_being_used_as_a_type_here_Did_you_mean_typeof_0_2749","'{0}' refers to a value, but is being used as a type here. Did you mean 'typeof {0}'?"),The_implementation_signature_is_declared_here:diag(2750,S.DiagnosticCategory.Error,"The_implementation_signature_is_declared_here_2750","The implementation signature is declared here."),Circularity_originates_in_type_at_this_location:diag(2751,S.DiagnosticCategory.Error,"Circularity_originates_in_type_at_this_location_2751","Circularity originates in type at this location."),The_first_export_default_is_here:diag(2752,S.DiagnosticCategory.Error,"The_first_export_default_is_here_2752","The first export default is here."),Another_export_default_is_here:diag(2753,S.DiagnosticCategory.Error,"Another_export_default_is_here_2753","Another export default is here."),super_may_not_use_type_arguments:diag(2754,S.DiagnosticCategory.Error,"super_may_not_use_type_arguments_2754","'super' may not use type arguments."),No_constituent_of_type_0_is_callable:diag(2755,S.DiagnosticCategory.Error,"No_constituent_of_type_0_is_callable_2755","No constituent of type '{0}' is callable."),Not_all_constituents_of_type_0_are_callable:diag(2756,S.DiagnosticCategory.Error,"Not_all_constituents_of_type_0_are_callable_2756","Not all constituents of type '{0}' are callable."),Type_0_has_no_call_signatures:diag(2757,S.DiagnosticCategory.Error,"Type_0_has_no_call_signatures_2757","Type '{0}' has no call signatures."),Each_member_of_the_union_type_0_has_signatures_but_none_of_those_signatures_are_compatible_with_each_other:diag(2758,S.DiagnosticCategory.Error,"Each_member_of_the_union_type_0_has_signatures_but_none_of_those_signatures_are_compatible_with_each_2758","Each member of the union type '{0}' has signatures, but none of those signatures are compatible with each other."),No_constituent_of_type_0_is_constructable:diag(2759,S.DiagnosticCategory.Error,"No_constituent_of_type_0_is_constructable_2759","No constituent of type '{0}' is constructable."),Not_all_constituents_of_type_0_are_constructable:diag(2760,S.DiagnosticCategory.Error,"Not_all_constituents_of_type_0_are_constructable_2760","Not all constituents of type '{0}' are constructable."),Type_0_has_no_construct_signatures:diag(2761,S.DiagnosticCategory.Error,"Type_0_has_no_construct_signatures_2761","Type '{0}' has no construct signatures."),Each_member_of_the_union_type_0_has_construct_signatures_but_none_of_those_signatures_are_compatible_with_each_other:diag(2762,S.DiagnosticCategory.Error,"Each_member_of_the_union_type_0_has_construct_signatures_but_none_of_those_signatures_are_compatible_2762","Each member of the union type '{0}' has construct signatures, but none of those signatures are compatible with each other."),Cannot_iterate_value_because_the_next_method_of_its_iterator_expects_type_1_but_for_of_will_always_send_0:diag(2763,S.DiagnosticCategory.Error,"Cannot_iterate_value_because_the_next_method_of_its_iterator_expects_type_1_but_for_of_will_always_s_2763","Cannot iterate value because the 'next' method of its iterator expects type '{1}', but for-of will always send '{0}'."),Cannot_iterate_value_because_the_next_method_of_its_iterator_expects_type_1_but_array_spread_will_always_send_0:diag(2764,S.DiagnosticCategory.Error,"Cannot_iterate_value_because_the_next_method_of_its_iterator_expects_type_1_but_array_spread_will_al_2764","Cannot iterate value because the 'next' method of its iterator expects type '{1}', but array spread will always send '{0}'."),Cannot_iterate_value_because_the_next_method_of_its_iterator_expects_type_1_but_array_destructuring_will_always_send_0:diag(2765,S.DiagnosticCategory.Error,"Cannot_iterate_value_because_the_next_method_of_its_iterator_expects_type_1_but_array_destructuring__2765","Cannot iterate value because the 'next' method of its iterator expects type '{1}', but array destructuring will always send '{0}'."),Cannot_delegate_iteration_to_value_because_the_next_method_of_its_iterator_expects_type_1_but_the_containing_generator_will_always_send_0:diag(2766,S.DiagnosticCategory.Error,"Cannot_delegate_iteration_to_value_because_the_next_method_of_its_iterator_expects_type_1_but_the_co_2766","Cannot delegate iteration to value because the 'next' method of its iterator expects type '{1}', but the containing generator will always send '{0}'."),The_0_property_of_an_iterator_must_be_a_method:diag(2767,S.DiagnosticCategory.Error,"The_0_property_of_an_iterator_must_be_a_method_2767","The '{0}' property of an iterator must be a method."),The_0_property_of_an_async_iterator_must_be_a_method:diag(2768,S.DiagnosticCategory.Error,"The_0_property_of_an_async_iterator_must_be_a_method_2768","The '{0}' property of an async iterator must be a method."),No_overload_matches_this_call:diag(2769,S.DiagnosticCategory.Error,"No_overload_matches_this_call_2769","No overload matches this call."),The_last_overload_gave_the_following_error:diag(2770,S.DiagnosticCategory.Error,"The_last_overload_gave_the_following_error_2770","The last overload gave the following error."),The_last_overload_is_declared_here:diag(2771,S.DiagnosticCategory.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,S.DiagnosticCategory.Error,"Overload_0_of_1_2_gave_the_following_error_2772","Overload {0} of {1}, '{2}', gave the following error."),Did_you_forget_to_use_await:diag(2773,S.DiagnosticCategory.Error,"Did_you_forget_to_use_await_2773","Did you forget to use 'await'?"),This_condition_will_always_return_true_since_the_function_is_always_defined_Did_you_mean_to_call_it_instead:diag(2774,S.DiagnosticCategory.Error,"This_condition_will_always_return_true_since_the_function_is_always_defined_Did_you_mean_to_call_it__2774","This condition will always return true since the 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,S.DiagnosticCategory.Error,"Assertions_require_every_name_in_the_call_target_to_be_declared_with_an_explicit_type_annotation_2775","Assertions require every name in the call target to be declared with an explicit type annotation."),Assertions_require_the_call_target_to_be_an_identifier_or_qualified_name:diag(2776,S.DiagnosticCategory.Error,"Assertions_require_the_call_target_to_be_an_identifier_or_qualified_name_2776","Assertions require the call target to be an identifier or qualified name."),The_operand_of_an_increment_or_decrement_operator_may_not_be_an_optional_property_access:diag(2777,S.DiagnosticCategory.Error,"The_operand_of_an_increment_or_decrement_operator_may_not_be_an_optional_property_access_2777","The operand of an increment or decrement operator may not be an optional property access."),The_target_of_an_object_rest_assignment_may_not_be_an_optional_property_access:diag(2778,S.DiagnosticCategory.Error,"The_target_of_an_object_rest_assignment_may_not_be_an_optional_property_access_2778","The target of an object rest assignment may not be an optional property access."),The_left_hand_side_of_an_assignment_expression_may_not_be_an_optional_property_access:diag(2779,S.DiagnosticCategory.Error,"The_left_hand_side_of_an_assignment_expression_may_not_be_an_optional_property_access_2779","The left-hand side of an assignment expression may not be an optional property access."),The_left_hand_side_of_a_for_in_statement_may_not_be_an_optional_property_access:diag(2780,S.DiagnosticCategory.Error,"The_left_hand_side_of_a_for_in_statement_may_not_be_an_optional_property_access_2780","The left-hand side of a 'for...in' statement may not be an optional property access."),The_left_hand_side_of_a_for_of_statement_may_not_be_an_optional_property_access:diag(2781,S.DiagnosticCategory.Error,"The_left_hand_side_of_a_for_of_statement_may_not_be_an_optional_property_access_2781","The left-hand side of a 'for...of' statement may not be an optional property access."),_0_needs_an_explicit_type_annotation:diag(2782,S.DiagnosticCategory.Message,"_0_needs_an_explicit_type_annotation_2782","'{0}' needs an explicit type annotation."),_0_is_specified_more_than_once_so_this_usage_will_be_overwritten:diag(2783,S.DiagnosticCategory.Error,"_0_is_specified_more_than_once_so_this_usage_will_be_overwritten_2783","'{0}' is specified more than once, so this usage will be overwritten."),get_and_set_accessors_cannot_declare_this_parameters:diag(2784,S.DiagnosticCategory.Error,"get_and_set_accessors_cannot_declare_this_parameters_2784","'get' and 'set' accessors cannot declare 'this' parameters."),This_spread_always_overwrites_this_property:diag(2785,S.DiagnosticCategory.Error,"This_spread_always_overwrites_this_property_2785","This spread always overwrites this property."),_0_cannot_be_used_as_a_JSX_component:diag(2786,S.DiagnosticCategory.Error,"_0_cannot_be_used_as_a_JSX_component_2786","'{0}' cannot be used as a JSX component."),Its_return_type_0_is_not_a_valid_JSX_element:diag(2787,S.DiagnosticCategory.Error,"Its_return_type_0_is_not_a_valid_JSX_element_2787","Its return type '{0}' is not a valid JSX element."),Its_instance_type_0_is_not_a_valid_JSX_element:diag(2788,S.DiagnosticCategory.Error,"Its_instance_type_0_is_not_a_valid_JSX_element_2788","Its instance type '{0}' is not a valid JSX element."),Its_element_type_0_is_not_a_valid_JSX_element:diag(2789,S.DiagnosticCategory.Error,"Its_element_type_0_is_not_a_valid_JSX_element_2789","Its element type '{0}' is not a valid JSX element."),Import_declaration_0_is_using_private_name_1:diag(4e3,S.DiagnosticCategory.Error,"Import_declaration_0_is_using_private_name_1_4000","Import declaration '{0}' is using private name '{1}'."),Type_parameter_0_of_exported_class_has_or_is_using_private_name_1:diag(4002,S.DiagnosticCategory.Error,"Type_parameter_0_of_exported_class_has_or_is_using_private_name_1_4002","Type parameter '{0}' of exported class has or is using private name '{1}'."),Type_parameter_0_of_exported_interface_has_or_is_using_private_name_1:diag(4004,S.DiagnosticCategory.Error,"Type_parameter_0_of_exported_interface_has_or_is_using_private_name_1_4004","Type parameter '{0}' of exported interface has or is using private name '{1}'."),Type_parameter_0_of_constructor_signature_from_exported_interface_has_or_is_using_private_name_1:diag(4006,S.DiagnosticCategory.Error,"Type_parameter_0_of_constructor_signature_from_exported_interface_has_or_is_using_private_name_1_4006","Type parameter '{0}' of constructor signature from exported interface has or is using private name '{1}'."),Type_parameter_0_of_call_signature_from_exported_interface_has_or_is_using_private_name_1:diag(4008,S.DiagnosticCategory.Error,"Type_parameter_0_of_call_signature_from_exported_interface_has_or_is_using_private_name_1_4008","Type parameter '{0}' of call signature from exported interface has or is using private name '{1}'."),Type_parameter_0_of_public_static_method_from_exported_class_has_or_is_using_private_name_1:diag(4010,S.DiagnosticCategory.Error,"Type_parameter_0_of_public_static_method_from_exported_class_has_or_is_using_private_name_1_4010","Type parameter '{0}' of public static method from exported class has or is using private name '{1}'."),Type_parameter_0_of_public_method_from_exported_class_has_or_is_using_private_name_1:diag(4012,S.DiagnosticCategory.Error,"Type_parameter_0_of_public_method_from_exported_class_has_or_is_using_private_name_1_4012","Type parameter '{0}' of public method from exported class has or is using private name '{1}'."),Type_parameter_0_of_method_from_exported_interface_has_or_is_using_private_name_1:diag(4014,S.DiagnosticCategory.Error,"Type_parameter_0_of_method_from_exported_interface_has_or_is_using_private_name_1_4014","Type parameter '{0}' of method from exported interface has or is using private name '{1}'."),Type_parameter_0_of_exported_function_has_or_is_using_private_name_1:diag(4016,S.DiagnosticCategory.Error,"Type_parameter_0_of_exported_function_has_or_is_using_private_name_1_4016","Type parameter '{0}' of exported function has or is using private name '{1}'."),Implements_clause_of_exported_class_0_has_or_is_using_private_name_1:diag(4019,S.DiagnosticCategory.Error,"Implements_clause_of_exported_class_0_has_or_is_using_private_name_1_4019","Implements clause of exported class '{0}' has or is using private name '{1}'."),extends_clause_of_exported_class_0_has_or_is_using_private_name_1:diag(4020,S.DiagnosticCategory.Error,"extends_clause_of_exported_class_0_has_or_is_using_private_name_1_4020","'extends' clause of exported class '{0}' has or is using private name '{1}'."),extends_clause_of_exported_interface_0_has_or_is_using_private_name_1:diag(4022,S.DiagnosticCategory.Error,"extends_clause_of_exported_interface_0_has_or_is_using_private_name_1_4022","'extends' clause of exported interface '{0}' has or is using private name '{1}'."),Exported_variable_0_has_or_is_using_name_1_from_external_module_2_but_cannot_be_named:diag(4023,S.DiagnosticCategory.Error,"Exported_variable_0_has_or_is_using_name_1_from_external_module_2_but_cannot_be_named_4023","Exported variable '{0}' has or is using name '{1}' from external module {2} but cannot be named."),Exported_variable_0_has_or_is_using_name_1_from_private_module_2:diag(4024,S.DiagnosticCategory.Error,"Exported_variable_0_has_or_is_using_name_1_from_private_module_2_4024","Exported variable '{0}' has or is using name '{1}' from private module '{2}'."),Exported_variable_0_has_or_is_using_private_name_1:diag(4025,S.DiagnosticCategory.Error,"Exported_variable_0_has_or_is_using_private_name_1_4025","Exported variable '{0}' has or is using private name '{1}'."),Public_static_property_0_of_exported_class_has_or_is_using_name_1_from_external_module_2_but_cannot_be_named:diag(4026,S.DiagnosticCategory.Error,"Public_static_property_0_of_exported_class_has_or_is_using_name_1_from_external_module_2_but_cannot__4026","Public static property '{0}' of exported class has or is using name '{1}' from external module {2} but cannot be named."),Public_static_property_0_of_exported_class_has_or_is_using_name_1_from_private_module_2:diag(4027,S.DiagnosticCategory.Error,"Public_static_property_0_of_exported_class_has_or_is_using_name_1_from_private_module_2_4027","Public static property '{0}' of exported class has or is using name '{1}' from private module '{2}'."),Public_static_property_0_of_exported_class_has_or_is_using_private_name_1:diag(4028,S.DiagnosticCategory.Error,"Public_static_property_0_of_exported_class_has_or_is_using_private_name_1_4028","Public static property '{0}' of exported class has or is using private name '{1}'."),Public_property_0_of_exported_class_has_or_is_using_name_1_from_external_module_2_but_cannot_be_named:diag(4029,S.DiagnosticCategory.Error,"Public_property_0_of_exported_class_has_or_is_using_name_1_from_external_module_2_but_cannot_be_name_4029","Public property '{0}' of exported class has or is using name '{1}' from external module {2} but cannot be named."),Public_property_0_of_exported_class_has_or_is_using_name_1_from_private_module_2:diag(4030,S.DiagnosticCategory.Error,"Public_property_0_of_exported_class_has_or_is_using_name_1_from_private_module_2_4030","Public property '{0}' of exported class has or is using name '{1}' from private module '{2}'."),Public_property_0_of_exported_class_has_or_is_using_private_name_1:diag(4031,S.DiagnosticCategory.Error,"Public_property_0_of_exported_class_has_or_is_using_private_name_1_4031","Public property '{0}' of exported class has or is using private name '{1}'."),Property_0_of_exported_interface_has_or_is_using_name_1_from_private_module_2:diag(4032,S.DiagnosticCategory.Error,"Property_0_of_exported_interface_has_or_is_using_name_1_from_private_module_2_4032","Property '{0}' of exported interface has or is using name '{1}' from private module '{2}'."),Property_0_of_exported_interface_has_or_is_using_private_name_1:diag(4033,S.DiagnosticCategory.Error,"Property_0_of_exported_interface_has_or_is_using_private_name_1_4033","Property '{0}' of exported interface has or is using private name '{1}'."),Parameter_type_of_public_static_setter_0_from_exported_class_has_or_is_using_name_1_from_private_module_2:diag(4034,S.DiagnosticCategory.Error,"Parameter_type_of_public_static_setter_0_from_exported_class_has_or_is_using_name_1_from_private_mod_4034","Parameter type of public static setter '{0}' from exported class has or is using name '{1}' from private module '{2}'."),Parameter_type_of_public_static_setter_0_from_exported_class_has_or_is_using_private_name_1:diag(4035,S.DiagnosticCategory.Error,"Parameter_type_of_public_static_setter_0_from_exported_class_has_or_is_using_private_name_1_4035","Parameter type of public static setter '{0}' from exported class has or is using private name '{1}'."),Parameter_type_of_public_setter_0_from_exported_class_has_or_is_using_name_1_from_private_module_2:diag(4036,S.DiagnosticCategory.Error,"Parameter_type_of_public_setter_0_from_exported_class_has_or_is_using_name_1_from_private_module_2_4036","Parameter type of public setter '{0}' from exported class has or is using name '{1}' from private module '{2}'."),Parameter_type_of_public_setter_0_from_exported_class_has_or_is_using_private_name_1:diag(4037,S.DiagnosticCategory.Error,"Parameter_type_of_public_setter_0_from_exported_class_has_or_is_using_private_name_1_4037","Parameter type of public setter '{0}' from exported class has or is using private name '{1}'."),Return_type_of_public_static_getter_0_from_exported_class_has_or_is_using_name_1_from_external_module_2_but_cannot_be_named:diag(4038,S.DiagnosticCategory.Error,"Return_type_of_public_static_getter_0_from_exported_class_has_or_is_using_name_1_from_external_modul_4038","Return type of public static getter '{0}' from exported class has or is using name '{1}' from external module {2} but cannot be named."),Return_type_of_public_static_getter_0_from_exported_class_has_or_is_using_name_1_from_private_module_2:diag(4039,S.DiagnosticCategory.Error,"Return_type_of_public_static_getter_0_from_exported_class_has_or_is_using_name_1_from_private_module_4039","Return type of public static getter '{0}' from exported class has or is using name '{1}' from private module '{2}'."),Return_type_of_public_static_getter_0_from_exported_class_has_or_is_using_private_name_1:diag(4040,S.DiagnosticCategory.Error,"Return_type_of_public_static_getter_0_from_exported_class_has_or_is_using_private_name_1_4040","Return type of public static getter '{0}' from exported class has or is using private name '{1}'."),Return_type_of_public_getter_0_from_exported_class_has_or_is_using_name_1_from_external_module_2_but_cannot_be_named:diag(4041,S.DiagnosticCategory.Error,"Return_type_of_public_getter_0_from_exported_class_has_or_is_using_name_1_from_external_module_2_but_4041","Return type of public getter '{0}' from exported class has or is using name '{1}' from external module {2} but cannot be named."),Return_type_of_public_getter_0_from_exported_class_has_or_is_using_name_1_from_private_module_2:diag(4042,S.DiagnosticCategory.Error,"Return_type_of_public_getter_0_from_exported_class_has_or_is_using_name_1_from_private_module_2_4042","Return type of public getter '{0}' from exported class has or is using name '{1}' from private module '{2}'."),Return_type_of_public_getter_0_from_exported_class_has_or_is_using_private_name_1:diag(4043,S.DiagnosticCategory.Error,"Return_type_of_public_getter_0_from_exported_class_has_or_is_using_private_name_1_4043","Return type of public getter '{0}' from exported class has or is using private name '{1}'."),Return_type_of_constructor_signature_from_exported_interface_has_or_is_using_name_0_from_private_module_1:diag(4044,S.DiagnosticCategory.Error,"Return_type_of_constructor_signature_from_exported_interface_has_or_is_using_name_0_from_private_mod_4044","Return type of constructor signature from exported interface has or is using name '{0}' from private module '{1}'."),Return_type_of_constructor_signature_from_exported_interface_has_or_is_using_private_name_0:diag(4045,S.DiagnosticCategory.Error,"Return_type_of_constructor_signature_from_exported_interface_has_or_is_using_private_name_0_4045","Return type of constructor signature from exported interface has or is using private name '{0}'."),Return_type_of_call_signature_from_exported_interface_has_or_is_using_name_0_from_private_module_1:diag(4046,S.DiagnosticCategory.Error,"Return_type_of_call_signature_from_exported_interface_has_or_is_using_name_0_from_private_module_1_4046","Return type of call signature from exported interface has or is using name '{0}' from private module '{1}'."),Return_type_of_call_signature_from_exported_interface_has_or_is_using_private_name_0:diag(4047,S.DiagnosticCategory.Error,"Return_type_of_call_signature_from_exported_interface_has_or_is_using_private_name_0_4047","Return type of call signature from exported interface has or is using private name '{0}'."),Return_type_of_index_signature_from_exported_interface_has_or_is_using_name_0_from_private_module_1:diag(4048,S.DiagnosticCategory.Error,"Return_type_of_index_signature_from_exported_interface_has_or_is_using_name_0_from_private_module_1_4048","Return type of index signature from exported interface has or is using name '{0}' from private module '{1}'."),Return_type_of_index_signature_from_exported_interface_has_or_is_using_private_name_0:diag(4049,S.DiagnosticCategory.Error,"Return_type_of_index_signature_from_exported_interface_has_or_is_using_private_name_0_4049","Return type of index signature from exported interface has or is using private name '{0}'."),Return_type_of_public_static_method_from_exported_class_has_or_is_using_name_0_from_external_module_1_but_cannot_be_named:diag(4050,S.DiagnosticCategory.Error,"Return_type_of_public_static_method_from_exported_class_has_or_is_using_name_0_from_external_module__4050","Return type of public static method from exported class has or is using name '{0}' from external module {1} but cannot be named."),Return_type_of_public_static_method_from_exported_class_has_or_is_using_name_0_from_private_module_1:diag(4051,S.DiagnosticCategory.Error,"Return_type_of_public_static_method_from_exported_class_has_or_is_using_name_0_from_private_module_1_4051","Return type of public static method from exported class has or is using name '{0}' from private module '{1}'."),Return_type_of_public_static_method_from_exported_class_has_or_is_using_private_name_0:diag(4052,S.DiagnosticCategory.Error,"Return_type_of_public_static_method_from_exported_class_has_or_is_using_private_name_0_4052","Return type of public static method from exported class has or is using private name '{0}'."),Return_type_of_public_method_from_exported_class_has_or_is_using_name_0_from_external_module_1_but_cannot_be_named:diag(4053,S.DiagnosticCategory.Error,"Return_type_of_public_method_from_exported_class_has_or_is_using_name_0_from_external_module_1_but_c_4053","Return type of public method from exported class has or is using name '{0}' from external module {1} but cannot be named."),Return_type_of_public_method_from_exported_class_has_or_is_using_name_0_from_private_module_1:diag(4054,S.DiagnosticCategory.Error,"Return_type_of_public_method_from_exported_class_has_or_is_using_name_0_from_private_module_1_4054","Return type of public method from exported class has or is using name '{0}' from private module '{1}'."),Return_type_of_public_method_from_exported_class_has_or_is_using_private_name_0:diag(4055,S.DiagnosticCategory.Error,"Return_type_of_public_method_from_exported_class_has_or_is_using_private_name_0_4055","Return type of public method from exported class has or is using private name '{0}'."),Return_type_of_method_from_exported_interface_has_or_is_using_name_0_from_private_module_1:diag(4056,S.DiagnosticCategory.Error,"Return_type_of_method_from_exported_interface_has_or_is_using_name_0_from_private_module_1_4056","Return type of method from exported interface has or is using name '{0}' from private module '{1}'."),Return_type_of_method_from_exported_interface_has_or_is_using_private_name_0:diag(4057,S.DiagnosticCategory.Error,"Return_type_of_method_from_exported_interface_has_or_is_using_private_name_0_4057","Return type of method from exported interface has or is using private name '{0}'."),Return_type_of_exported_function_has_or_is_using_name_0_from_external_module_1_but_cannot_be_named:diag(4058,S.DiagnosticCategory.Error,"Return_type_of_exported_function_has_or_is_using_name_0_from_external_module_1_but_cannot_be_named_4058","Return type of exported function has or is using name '{0}' from external module {1} but cannot be named."),Return_type_of_exported_function_has_or_is_using_name_0_from_private_module_1:diag(4059,S.DiagnosticCategory.Error,"Return_type_of_exported_function_has_or_is_using_name_0_from_private_module_1_4059","Return type of exported function has or is using name '{0}' from private module '{1}'."),Return_type_of_exported_function_has_or_is_using_private_name_0:diag(4060,S.DiagnosticCategory.Error,"Return_type_of_exported_function_has_or_is_using_private_name_0_4060","Return type of exported function has or is using private name '{0}'."),Parameter_0_of_constructor_from_exported_class_has_or_is_using_name_1_from_external_module_2_but_cannot_be_named:diag(4061,S.DiagnosticCategory.Error,"Parameter_0_of_constructor_from_exported_class_has_or_is_using_name_1_from_external_module_2_but_can_4061","Parameter '{0}' of constructor from exported class has or is using name '{1}' from external module {2} but cannot be named."),Parameter_0_of_constructor_from_exported_class_has_or_is_using_name_1_from_private_module_2:diag(4062,S.DiagnosticCategory.Error,"Parameter_0_of_constructor_from_exported_class_has_or_is_using_name_1_from_private_module_2_4062","Parameter '{0}' of constructor from exported class has or is using name '{1}' from private module '{2}'."),Parameter_0_of_constructor_from_exported_class_has_or_is_using_private_name_1:diag(4063,S.DiagnosticCategory.Error,"Parameter_0_of_constructor_from_exported_class_has_or_is_using_private_name_1_4063","Parameter '{0}' of constructor from exported class has or is using private name '{1}'."),Parameter_0_of_constructor_signature_from_exported_interface_has_or_is_using_name_1_from_private_module_2:diag(4064,S.DiagnosticCategory.Error,"Parameter_0_of_constructor_signature_from_exported_interface_has_or_is_using_name_1_from_private_mod_4064","Parameter '{0}' of constructor signature from exported interface has or is using name '{1}' from private module '{2}'."),Parameter_0_of_constructor_signature_from_exported_interface_has_or_is_using_private_name_1:diag(4065,S.DiagnosticCategory.Error,"Parameter_0_of_constructor_signature_from_exported_interface_has_or_is_using_private_name_1_4065","Parameter '{0}' of constructor signature from exported interface has or is using private name '{1}'."),Parameter_0_of_call_signature_from_exported_interface_has_or_is_using_name_1_from_private_module_2:diag(4066,S.DiagnosticCategory.Error,"Parameter_0_of_call_signature_from_exported_interface_has_or_is_using_name_1_from_private_module_2_4066","Parameter '{0}' of call signature from exported interface has or is using name '{1}' from private module '{2}'."),Parameter_0_of_call_signature_from_exported_interface_has_or_is_using_private_name_1:diag(4067,S.DiagnosticCategory.Error,"Parameter_0_of_call_signature_from_exported_interface_has_or_is_using_private_name_1_4067","Parameter '{0}' of call signature from exported interface has or is using private name '{1}'."),Parameter_0_of_public_static_method_from_exported_class_has_or_is_using_name_1_from_external_module_2_but_cannot_be_named:diag(4068,S.DiagnosticCategory.Error,"Parameter_0_of_public_static_method_from_exported_class_has_or_is_using_name_1_from_external_module__4068","Parameter '{0}' of public static method from exported class has or is using name '{1}' from external module {2} but cannot be named."),Parameter_0_of_public_static_method_from_exported_class_has_or_is_using_name_1_from_private_module_2:diag(4069,S.DiagnosticCategory.Error,"Parameter_0_of_public_static_method_from_exported_class_has_or_is_using_name_1_from_private_module_2_4069","Parameter '{0}' of public static method from exported class has or is using name '{1}' from private module '{2}'."),Parameter_0_of_public_static_method_from_exported_class_has_or_is_using_private_name_1:diag(4070,S.DiagnosticCategory.Error,"Parameter_0_of_public_static_method_from_exported_class_has_or_is_using_private_name_1_4070","Parameter '{0}' of public static method from exported class has or is using private name '{1}'."),Parameter_0_of_public_method_from_exported_class_has_or_is_using_name_1_from_external_module_2_but_cannot_be_named:diag(4071,S.DiagnosticCategory.Error,"Parameter_0_of_public_method_from_exported_class_has_or_is_using_name_1_from_external_module_2_but_c_4071","Parameter '{0}' of public method from exported class has or is using name '{1}' from external module {2} but cannot be named."),Parameter_0_of_public_method_from_exported_class_has_or_is_using_name_1_from_private_module_2:diag(4072,S.DiagnosticCategory.Error,"Parameter_0_of_public_method_from_exported_class_has_or_is_using_name_1_from_private_module_2_4072","Parameter '{0}' of public method from exported class has or is using name '{1}' from private module '{2}'."),Parameter_0_of_public_method_from_exported_class_has_or_is_using_private_name_1:diag(4073,S.DiagnosticCategory.Error,"Parameter_0_of_public_method_from_exported_class_has_or_is_using_private_name_1_4073","Parameter '{0}' of public method from exported class has or is using private name '{1}'."),Parameter_0_of_method_from_exported_interface_has_or_is_using_name_1_from_private_module_2:diag(4074,S.DiagnosticCategory.Error,"Parameter_0_of_method_from_exported_interface_has_or_is_using_name_1_from_private_module_2_4074","Parameter '{0}' of method from exported interface has or is using name '{1}' from private module '{2}'."),Parameter_0_of_method_from_exported_interface_has_or_is_using_private_name_1:diag(4075,S.DiagnosticCategory.Error,"Parameter_0_of_method_from_exported_interface_has_or_is_using_private_name_1_4075","Parameter '{0}' of method from exported interface has or is using private name '{1}'."),Parameter_0_of_exported_function_has_or_is_using_name_1_from_external_module_2_but_cannot_be_named:diag(4076,S.DiagnosticCategory.Error,"Parameter_0_of_exported_function_has_or_is_using_name_1_from_external_module_2_but_cannot_be_named_4076","Parameter '{0}' of exported function has or is using name '{1}' from external module {2} but cannot be named."),Parameter_0_of_exported_function_has_or_is_using_name_1_from_private_module_2:diag(4077,S.DiagnosticCategory.Error,"Parameter_0_of_exported_function_has_or_is_using_name_1_from_private_module_2_4077","Parameter '{0}' of exported function has or is using name '{1}' from private module '{2}'."),Parameter_0_of_exported_function_has_or_is_using_private_name_1:diag(4078,S.DiagnosticCategory.Error,"Parameter_0_of_exported_function_has_or_is_using_private_name_1_4078","Parameter '{0}' of exported function has or is using private name '{1}'."),Exported_type_alias_0_has_or_is_using_private_name_1:diag(4081,S.DiagnosticCategory.Error,"Exported_type_alias_0_has_or_is_using_private_name_1_4081","Exported type alias '{0}' has or is using private name '{1}'."),Default_export_of_the_module_has_or_is_using_private_name_0:diag(4082,S.DiagnosticCategory.Error,"Default_export_of_the_module_has_or_is_using_private_name_0_4082","Default export of the module has or is using private name '{0}'."),Type_parameter_0_of_exported_type_alias_has_or_is_using_private_name_1:diag(4083,S.DiagnosticCategory.Error,"Type_parameter_0_of_exported_type_alias_has_or_is_using_private_name_1_4083","Type parameter '{0}' of exported type alias has or is using private name '{1}'."),Conflicting_definitions_for_0_found_at_1_and_2_Consider_installing_a_specific_version_of_this_library_to_resolve_the_conflict:diag(4090,S.DiagnosticCategory.Error,"Conflicting_definitions_for_0_found_at_1_and_2_Consider_installing_a_specific_version_of_this_librar_4090","Conflicting definitions for '{0}' found at '{1}' and '{2}'. Consider installing a specific version of this library to resolve the conflict."),Parameter_0_of_index_signature_from_exported_interface_has_or_is_using_name_1_from_private_module_2:diag(4091,S.DiagnosticCategory.Error,"Parameter_0_of_index_signature_from_exported_interface_has_or_is_using_name_1_from_private_module_2_4091","Parameter '{0}' of index signature from exported interface has or is using name '{1}' from private module '{2}'."),Parameter_0_of_index_signature_from_exported_interface_has_or_is_using_private_name_1:diag(4092,S.DiagnosticCategory.Error,"Parameter_0_of_index_signature_from_exported_interface_has_or_is_using_private_name_1_4092","Parameter '{0}' of index signature from exported interface has or is using private name '{1}'."),Property_0_of_exported_class_expression_may_not_be_private_or_protected:diag(4094,S.DiagnosticCategory.Error,"Property_0_of_exported_class_expression_may_not_be_private_or_protected_4094","Property '{0}' of exported class expression may not be private or protected."),Public_static_method_0_of_exported_class_has_or_is_using_name_1_from_external_module_2_but_cannot_be_named:diag(4095,S.DiagnosticCategory.Error,"Public_static_method_0_of_exported_class_has_or_is_using_name_1_from_external_module_2_but_cannot_be_4095","Public static method '{0}' of exported class has or is using name '{1}' from external module {2} but cannot be named."),Public_static_method_0_of_exported_class_has_or_is_using_name_1_from_private_module_2:diag(4096,S.DiagnosticCategory.Error,"Public_static_method_0_of_exported_class_has_or_is_using_name_1_from_private_module_2_4096","Public static method '{0}' of exported class has or is using name '{1}' from private module '{2}'."),Public_static_method_0_of_exported_class_has_or_is_using_private_name_1:diag(4097,S.DiagnosticCategory.Error,"Public_static_method_0_of_exported_class_has_or_is_using_private_name_1_4097","Public static method '{0}' of exported class has or is using private name '{1}'."),Public_method_0_of_exported_class_has_or_is_using_name_1_from_external_module_2_but_cannot_be_named:diag(4098,S.DiagnosticCategory.Error,"Public_method_0_of_exported_class_has_or_is_using_name_1_from_external_module_2_but_cannot_be_named_4098","Public method '{0}' of exported class has or is using name '{1}' from external module {2} but cannot be named."),Public_method_0_of_exported_class_has_or_is_using_name_1_from_private_module_2:diag(4099,S.DiagnosticCategory.Error,"Public_method_0_of_exported_class_has_or_is_using_name_1_from_private_module_2_4099","Public method '{0}' of exported class has or is using name '{1}' from private module '{2}'."),Public_method_0_of_exported_class_has_or_is_using_private_name_1:diag(4100,S.DiagnosticCategory.Error,"Public_method_0_of_exported_class_has_or_is_using_private_name_1_4100","Public method '{0}' of exported class has or is using private name '{1}'."),Method_0_of_exported_interface_has_or_is_using_name_1_from_private_module_2:diag(4101,S.DiagnosticCategory.Error,"Method_0_of_exported_interface_has_or_is_using_name_1_from_private_module_2_4101","Method '{0}' of exported interface has or is using name '{1}' from private module '{2}'."),Method_0_of_exported_interface_has_or_is_using_private_name_1:diag(4102,S.DiagnosticCategory.Error,"Method_0_of_exported_interface_has_or_is_using_private_name_1_4102","Method '{0}' of exported interface has or is using private name '{1}'."),Type_parameter_0_of_exported_mapped_object_type_is_using_private_name_1:diag(4103,S.DiagnosticCategory.Error,"Type_parameter_0_of_exported_mapped_object_type_is_using_private_name_1_4103","Type parameter '{0}' of exported mapped object type is using private name '{1}'."),The_type_0_is_readonly_and_cannot_be_assigned_to_the_mutable_type_1:diag(4104,S.DiagnosticCategory.Error,"The_type_0_is_readonly_and_cannot_be_assigned_to_the_mutable_type_1_4104","The type '{0}' is 'readonly' and cannot be assigned to the mutable type '{1}'."),Private_or_protected_member_0_cannot_be_accessed_on_a_type_parameter:diag(4105,S.DiagnosticCategory.Error,"Private_or_protected_member_0_cannot_be_accessed_on_a_type_parameter_4105","Private or protected member '{0}' cannot be accessed on a type parameter."),Parameter_0_of_accessor_has_or_is_using_private_name_1:diag(4106,S.DiagnosticCategory.Error,"Parameter_0_of_accessor_has_or_is_using_private_name_1_4106","Parameter '{0}' of accessor has or is using private name '{1}'."),Parameter_0_of_accessor_has_or_is_using_name_1_from_private_module_2:diag(4107,S.DiagnosticCategory.Error,"Parameter_0_of_accessor_has_or_is_using_name_1_from_private_module_2_4107","Parameter '{0}' of accessor has or is using name '{1}' from private module '{2}'."),Parameter_0_of_accessor_has_or_is_using_name_1_from_external_module_2_but_cannot_be_named:diag(4108,S.DiagnosticCategory.Error,"Parameter_0_of_accessor_has_or_is_using_name_1_from_external_module_2_but_cannot_be_named_4108","Parameter '{0}' of accessor has or is using name '{1}' from external module '{2}' but cannot be named."),Type_arguments_for_0_circularly_reference_themselves:diag(4109,S.DiagnosticCategory.Error,"Type_arguments_for_0_circularly_reference_themselves_4109","Type arguments for '{0}' circularly reference themselves."),Tuple_type_arguments_circularly_reference_themselves:diag(4110,S.DiagnosticCategory.Error,"Tuple_type_arguments_circularly_reference_themselves_4110","Tuple type arguments circularly reference themselves."),The_current_host_does_not_support_the_0_option:diag(5001,S.DiagnosticCategory.Error,"The_current_host_does_not_support_the_0_option_5001","The current host does not support the '{0}' option."),Cannot_find_the_common_subdirectory_path_for_the_input_files:diag(5009,S.DiagnosticCategory.Error,"Cannot_find_the_common_subdirectory_path_for_the_input_files_5009","Cannot find the common subdirectory path for the input files."),File_specification_cannot_end_in_a_recursive_directory_wildcard_Asterisk_Asterisk_Colon_0:diag(5010,S.DiagnosticCategory.Error,"File_specification_cannot_end_in_a_recursive_directory_wildcard_Asterisk_Asterisk_Colon_0_5010","File specification cannot end in a recursive directory wildcard ('**'): '{0}'."),Cannot_read_file_0_Colon_1:diag(5012,S.DiagnosticCategory.Error,"Cannot_read_file_0_Colon_1_5012","Cannot read file '{0}': {1}."),Failed_to_parse_file_0_Colon_1:diag(5014,S.DiagnosticCategory.Error,"Failed_to_parse_file_0_Colon_1_5014","Failed to parse file '{0}': {1}."),Unknown_compiler_option_0:diag(5023,S.DiagnosticCategory.Error,"Unknown_compiler_option_0_5023","Unknown compiler option '{0}'."),Compiler_option_0_requires_a_value_of_type_1:diag(5024,S.DiagnosticCategory.Error,"Compiler_option_0_requires_a_value_of_type_1_5024","Compiler option '{0}' requires a value of type {1}."),Unknown_compiler_option_0_Did_you_mean_1:diag(5025,S.DiagnosticCategory.Error,"Unknown_compiler_option_0_Did_you_mean_1_5025","Unknown compiler option '{0}'. Did you mean '{1}'?"),Could_not_write_file_0_Colon_1:diag(5033,S.DiagnosticCategory.Error,"Could_not_write_file_0_Colon_1_5033","Could not write file '{0}': {1}."),Option_project_cannot_be_mixed_with_source_files_on_a_command_line:diag(5042,S.DiagnosticCategory.Error,"Option_project_cannot_be_mixed_with_source_files_on_a_command_line_5042","Option 'project' cannot be mixed with source files on a command line."),Option_isolatedModules_can_only_be_used_when_either_option_module_is_provided_or_option_target_is_ES2015_or_higher:diag(5047,S.DiagnosticCategory.Error,"Option_isolatedModules_can_only_be_used_when_either_option_module_is_provided_or_option_target_is_ES_5047","Option 'isolatedModules' can only be used when either option '--module' is provided or option 'target' is 'ES2015' or higher."),Option_0_cannot_be_specified_when_option_target_is_ES3:diag(5048,S.DiagnosticCategory.Error,"Option_0_cannot_be_specified_when_option_target_is_ES3_5048","Option '{0}' cannot be specified when option 'target' is 'ES3'."),Option_0_can_only_be_used_when_either_option_inlineSourceMap_or_option_sourceMap_is_provided:diag(5051,S.DiagnosticCategory.Error,"Option_0_can_only_be_used_when_either_option_inlineSourceMap_or_option_sourceMap_is_provided_5051","Option '{0} can only be used when either option '--inlineSourceMap' or option '--sourceMap' is provided."),Option_0_cannot_be_specified_without_specifying_option_1:diag(5052,S.DiagnosticCategory.Error,"Option_0_cannot_be_specified_without_specifying_option_1_5052","Option '{0}' cannot be specified without specifying option '{1}'."),Option_0_cannot_be_specified_with_option_1:diag(5053,S.DiagnosticCategory.Error,"Option_0_cannot_be_specified_with_option_1_5053","Option '{0}' cannot be specified with option '{1}'."),A_tsconfig_json_file_is_already_defined_at_Colon_0:diag(5054,S.DiagnosticCategory.Error,"A_tsconfig_json_file_is_already_defined_at_Colon_0_5054","A 'tsconfig.json' file is already defined at: '{0}'."),Cannot_write_file_0_because_it_would_overwrite_input_file:diag(5055,S.DiagnosticCategory.Error,"Cannot_write_file_0_because_it_would_overwrite_input_file_5055","Cannot write file '{0}' because it would overwrite input file."),Cannot_write_file_0_because_it_would_be_overwritten_by_multiple_input_files:diag(5056,S.DiagnosticCategory.Error,"Cannot_write_file_0_because_it_would_be_overwritten_by_multiple_input_files_5056","Cannot write file '{0}' because it would be overwritten by multiple input files."),Cannot_find_a_tsconfig_json_file_at_the_specified_directory_Colon_0:diag(5057,S.DiagnosticCategory.Error,"Cannot_find_a_tsconfig_json_file_at_the_specified_directory_Colon_0_5057","Cannot find a tsconfig.json file at the specified directory: '{0}'."),The_specified_path_does_not_exist_Colon_0:diag(5058,S.DiagnosticCategory.Error,"The_specified_path_does_not_exist_Colon_0_5058","The specified path does not exist: '{0}'."),Invalid_value_for_reactNamespace_0_is_not_a_valid_identifier:diag(5059,S.DiagnosticCategory.Error,"Invalid_value_for_reactNamespace_0_is_not_a_valid_identifier_5059","Invalid value for '--reactNamespace'. '{0}' is not a valid identifier."),Option_paths_cannot_be_used_without_specifying_baseUrl_option:diag(5060,S.DiagnosticCategory.Error,"Option_paths_cannot_be_used_without_specifying_baseUrl_option_5060","Option 'paths' cannot be used without specifying '--baseUrl' option."),Pattern_0_can_have_at_most_one_Asterisk_character:diag(5061,S.DiagnosticCategory.Error,"Pattern_0_can_have_at_most_one_Asterisk_character_5061","Pattern '{0}' can have at most one '*' character."),Substitution_0_in_pattern_1_can_have_at_most_one_Asterisk_character:diag(5062,S.DiagnosticCategory.Error,"Substitution_0_in_pattern_1_can_have_at_most_one_Asterisk_character_5062","Substitution '{0}' in pattern '{1}' can have at most one '*' character."),Substitutions_for_pattern_0_should_be_an_array:diag(5063,S.DiagnosticCategory.Error,"Substitutions_for_pattern_0_should_be_an_array_5063","Substitutions for pattern '{0}' should be an array."),Substitution_0_for_pattern_1_has_incorrect_type_expected_string_got_2:diag(5064,S.DiagnosticCategory.Error,"Substitution_0_for_pattern_1_has_incorrect_type_expected_string_got_2_5064","Substitution '{0}' for pattern '{1}' has incorrect type, expected 'string', got '{2}'."),File_specification_cannot_contain_a_parent_directory_that_appears_after_a_recursive_directory_wildcard_Asterisk_Asterisk_Colon_0:diag(5065,S.DiagnosticCategory.Error,"File_specification_cannot_contain_a_parent_directory_that_appears_after_a_recursive_directory_wildca_5065","File specification cannot contain a parent directory ('..') that appears after a recursive directory wildcard ('**'): '{0}'."),Substitutions_for_pattern_0_shouldn_t_be_an_empty_array:diag(5066,S.DiagnosticCategory.Error,"Substitutions_for_pattern_0_shouldn_t_be_an_empty_array_5066","Substitutions for pattern '{0}' shouldn't be an empty array."),Invalid_value_for_jsxFactory_0_is_not_a_valid_identifier_or_qualified_name:diag(5067,S.DiagnosticCategory.Error,"Invalid_value_for_jsxFactory_0_is_not_a_valid_identifier_or_qualified_name_5067","Invalid value for 'jsxFactory'. '{0}' is not a valid identifier or qualified-name."),Adding_a_tsconfig_json_file_will_help_organize_projects_that_contain_both_TypeScript_and_JavaScript_files_Learn_more_at_https_Colon_Slash_Slashaka_ms_Slashtsconfig:diag(5068,S.DiagnosticCategory.Error,"Adding_a_tsconfig_json_file_will_help_organize_projects_that_contain_both_TypeScript_and_JavaScript__5068","Adding a tsconfig.json file will help organize projects that contain both TypeScript and JavaScript files. Learn more at https://aka.ms/tsconfig."),Option_0_cannot_be_specified_without_specifying_option_1_or_option_2:diag(5069,S.DiagnosticCategory.Error,"Option_0_cannot_be_specified_without_specifying_option_1_or_option_2_5069","Option '{0}' cannot be specified without specifying option '{1}' or option '{2}'."),Option_resolveJsonModule_cannot_be_specified_without_node_module_resolution_strategy:diag(5070,S.DiagnosticCategory.Error,"Option_resolveJsonModule_cannot_be_specified_without_node_module_resolution_strategy_5070","Option '--resolveJsonModule' cannot be specified without 'node' module resolution strategy."),Option_resolveJsonModule_can_only_be_specified_when_module_code_generation_is_commonjs_amd_es2015_or_esNext:diag(5071,S.DiagnosticCategory.Error,"Option_resolveJsonModule_can_only_be_specified_when_module_code_generation_is_commonjs_amd_es2015_or_5071","Option '--resolveJsonModule' can only be specified when module code generation is 'commonjs', 'amd', 'es2015' or 'esNext'."),Unknown_build_option_0:diag(5072,S.DiagnosticCategory.Error,"Unknown_build_option_0_5072","Unknown build option '{0}'."),Build_option_0_requires_a_value_of_type_1:diag(5073,S.DiagnosticCategory.Error,"Build_option_0_requires_a_value_of_type_1_5073","Build option '{0}' requires a value of type {1}."),Option_incremental_can_only_be_specified_using_tsconfig_emitting_to_single_file_or_when_option_tsBuildInfoFile_is_specified:diag(5074,S.DiagnosticCategory.Error,"Option_incremental_can_only_be_specified_using_tsconfig_emitting_to_single_file_or_when_option_tsBui_5074","Option '--incremental' can only be specified using tsconfig, emitting to single file or when option `--tsBuildInfoFile` is specified."),_0_is_assignable_to_the_constraint_of_type_1_but_1_could_be_instantiated_with_a_different_subtype_of_constraint_2:diag(5075,S.DiagnosticCategory.Error,"_0_is_assignable_to_the_constraint_of_type_1_but_1_could_be_instantiated_with_a_different_subtype_of_5075","'{0}' is assignable to the constraint of type '{1}', but '{1}' could be instantiated with a different subtype of constraint '{2}'."),_0_and_1_operations_cannot_be_mixed_without_parentheses:diag(5076,S.DiagnosticCategory.Error,"_0_and_1_operations_cannot_be_mixed_without_parentheses_5076","'{0}' and '{1}' operations cannot be mixed without parentheses."),Unknown_build_option_0_Did_you_mean_1:diag(5077,S.DiagnosticCategory.Error,"Unknown_build_option_0_Did_you_mean_1_5077","Unknown build option '{0}'. Did you mean '{1}'?"),Unknown_watch_option_0:diag(5078,S.DiagnosticCategory.Error,"Unknown_watch_option_0_5078","Unknown watch option '{0}'."),Unknown_watch_option_0_Did_you_mean_1:diag(5079,S.DiagnosticCategory.Error,"Unknown_watch_option_0_Did_you_mean_1_5079","Unknown watch option '{0}'. Did you mean '{1}'?"),Watch_option_0_requires_a_value_of_type_1:diag(5080,S.DiagnosticCategory.Error,"Watch_option_0_requires_a_value_of_type_1_5080","Watch option '{0}' requires a value of type {1}."),Cannot_find_a_tsconfig_json_file_at_the_current_directory_Colon_0:diag(5081,S.DiagnosticCategory.Error,"Cannot_find_a_tsconfig_json_file_at_the_current_directory_Colon_0_5081","Cannot find a tsconfig.json file at the current directory: {0}."),_0_could_be_instantiated_with_an_arbitrary_type_which_could_be_unrelated_to_1:diag(5082,S.DiagnosticCategory.Error,"_0_could_be_instantiated_with_an_arbitrary_type_which_could_be_unrelated_to_1_5082","'{0}' could be instantiated with an arbitrary type which could be unrelated to '{1}'."),Cannot_read_file_0:diag(5083,S.DiagnosticCategory.Error,"Cannot_read_file_0_5083","Cannot read file '{0}'."),The_inferred_type_of_0_references_a_type_with_a_cyclic_structure_which_cannot_be_trivially_serialized_A_type_annotation_is_necessary:diag(5088,S.DiagnosticCategory.Error,"The_inferred_type_of_0_references_a_type_with_a_cyclic_structure_which_cannot_be_trivially_serialize_5088","The inferred type of '{0}' references a type with a cyclic structure which cannot be trivially serialized. A type annotation is necessary."),Generates_a_sourcemap_for_each_corresponding_d_ts_file:diag(6e3,S.DiagnosticCategory.Message,"Generates_a_sourcemap_for_each_corresponding_d_ts_file_6000","Generates a sourcemap for each corresponding '.d.ts' file."),Concatenate_and_emit_output_to_single_file:diag(6001,S.DiagnosticCategory.Message,"Concatenate_and_emit_output_to_single_file_6001","Concatenate and emit output to single file."),Generates_corresponding_d_ts_file:diag(6002,S.DiagnosticCategory.Message,"Generates_corresponding_d_ts_file_6002","Generates corresponding '.d.ts' file."),Specify_the_location_where_debugger_should_locate_map_files_instead_of_generated_locations:diag(6003,S.DiagnosticCategory.Message,"Specify_the_location_where_debugger_should_locate_map_files_instead_of_generated_locations_6003","Specify the location where debugger should locate map files instead of generated locations."),Specify_the_location_where_debugger_should_locate_TypeScript_files_instead_of_source_locations:diag(6004,S.DiagnosticCategory.Message,"Specify_the_location_where_debugger_should_locate_TypeScript_files_instead_of_source_locations_6004","Specify the location where debugger should locate TypeScript files instead of source locations."),Watch_input_files:diag(6005,S.DiagnosticCategory.Message,"Watch_input_files_6005","Watch input files."),Redirect_output_structure_to_the_directory:diag(6006,S.DiagnosticCategory.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,S.DiagnosticCategory.Message,"Do_not_erase_const_enum_declarations_in_generated_code_6007","Do not erase const enum declarations in generated code."),Do_not_emit_outputs_if_any_errors_were_reported:diag(6008,S.DiagnosticCategory.Message,"Do_not_emit_outputs_if_any_errors_were_reported_6008","Do not emit outputs if any errors were reported."),Do_not_emit_comments_to_output:diag(6009,S.DiagnosticCategory.Message,"Do_not_emit_comments_to_output_6009","Do not emit comments to output."),Do_not_emit_outputs:diag(6010,S.DiagnosticCategory.Message,"Do_not_emit_outputs_6010","Do not emit outputs."),Allow_default_imports_from_modules_with_no_default_export_This_does_not_affect_code_emit_just_typechecking:diag(6011,S.DiagnosticCategory.Message,"Allow_default_imports_from_modules_with_no_default_export_This_does_not_affect_code_emit_just_typech_6011","Allow default imports from modules with no default export. This does not affect code emit, just typechecking."),Skip_type_checking_of_declaration_files:diag(6012,S.DiagnosticCategory.Message,"Skip_type_checking_of_declaration_files_6012","Skip type checking of declaration files."),Do_not_resolve_the_real_path_of_symlinks:diag(6013,S.DiagnosticCategory.Message,"Do_not_resolve_the_real_path_of_symlinks_6013","Do not resolve the real path of symlinks."),Only_emit_d_ts_declaration_files:diag(6014,S.DiagnosticCategory.Message,"Only_emit_d_ts_declaration_files_6014","Only emit '.d.ts' declaration files."),Specify_ECMAScript_target_version_Colon_ES3_default_ES5_ES2015_ES2016_ES2017_ES2018_ES2019_ES2020_or_ESNEXT:diag(6015,S.DiagnosticCategory.Message,"Specify_ECMAScript_target_version_Colon_ES3_default_ES5_ES2015_ES2016_ES2017_ES2018_ES2019_ES2020_or_6015","Specify ECMAScript target version: 'ES3' (default), 'ES5', 'ES2015', 'ES2016', 'ES2017', 'ES2018', 'ES2019', 'ES2020', or 'ESNEXT'."),Specify_module_code_generation_Colon_none_commonjs_amd_system_umd_es2015_es2020_or_ESNext:diag(6016,S.DiagnosticCategory.Message,"Specify_module_code_generation_Colon_none_commonjs_amd_system_umd_es2015_es2020_or_ESNext_6016","Specify module code generation: 'none', 'commonjs', 'amd', 'system', 'umd', 'es2015', 'es2020', or 'ESNext'."),Print_this_message:diag(6017,S.DiagnosticCategory.Message,"Print_this_message_6017","Print this message."),Print_the_compiler_s_version:diag(6019,S.DiagnosticCategory.Message,"Print_the_compiler_s_version_6019","Print the compiler's version."),Compile_the_project_given_the_path_to_its_configuration_file_or_to_a_folder_with_a_tsconfig_json:diag(6020,S.DiagnosticCategory.Message,"Compile_the_project_given_the_path_to_its_configuration_file_or_to_a_folder_with_a_tsconfig_json_6020","Compile the project given the path to its configuration file, or to a folder with a 'tsconfig.json'."),Syntax_Colon_0:diag(6023,S.DiagnosticCategory.Message,"Syntax_Colon_0_6023","Syntax: {0}"),options:diag(6024,S.DiagnosticCategory.Message,"options_6024","options"),file:diag(6025,S.DiagnosticCategory.Message,"file_6025","file"),Examples_Colon_0:diag(6026,S.DiagnosticCategory.Message,"Examples_Colon_0_6026","Examples: {0}"),Options_Colon:diag(6027,S.DiagnosticCategory.Message,"Options_Colon_6027","Options:"),Version_0:diag(6029,S.DiagnosticCategory.Message,"Version_0_6029","Version {0}"),Insert_command_line_options_and_files_from_a_file:diag(6030,S.DiagnosticCategory.Message,"Insert_command_line_options_and_files_from_a_file_6030","Insert command line options and files from a file."),Starting_compilation_in_watch_mode:diag(6031,S.DiagnosticCategory.Message,"Starting_compilation_in_watch_mode_6031","Starting compilation in watch mode..."),File_change_detected_Starting_incremental_compilation:diag(6032,S.DiagnosticCategory.Message,"File_change_detected_Starting_incremental_compilation_6032","File change detected. Starting incremental compilation..."),KIND:diag(6034,S.DiagnosticCategory.Message,"KIND_6034","KIND"),FILE:diag(6035,S.DiagnosticCategory.Message,"FILE_6035","FILE"),VERSION:diag(6036,S.DiagnosticCategory.Message,"VERSION_6036","VERSION"),LOCATION:diag(6037,S.DiagnosticCategory.Message,"LOCATION_6037","LOCATION"),DIRECTORY:diag(6038,S.DiagnosticCategory.Message,"DIRECTORY_6038","DIRECTORY"),STRATEGY:diag(6039,S.DiagnosticCategory.Message,"STRATEGY_6039","STRATEGY"),FILE_OR_DIRECTORY:diag(6040,S.DiagnosticCategory.Message,"FILE_OR_DIRECTORY_6040","FILE OR DIRECTORY"),Generates_corresponding_map_file:diag(6043,S.DiagnosticCategory.Message,"Generates_corresponding_map_file_6043","Generates corresponding '.map' file."),Compiler_option_0_expects_an_argument:diag(6044,S.DiagnosticCategory.Error,"Compiler_option_0_expects_an_argument_6044","Compiler option '{0}' expects an argument."),Unterminated_quoted_string_in_response_file_0:diag(6045,S.DiagnosticCategory.Error,"Unterminated_quoted_string_in_response_file_0_6045","Unterminated quoted string in response file '{0}'."),Argument_for_0_option_must_be_Colon_1:diag(6046,S.DiagnosticCategory.Error,"Argument_for_0_option_must_be_Colon_1_6046","Argument for '{0}' option must be: {1}."),Locale_must_be_of_the_form_language_or_language_territory_For_example_0_or_1:diag(6048,S.DiagnosticCategory.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}'."),Unsupported_locale_0:diag(6049,S.DiagnosticCategory.Error,"Unsupported_locale_0_6049","Unsupported locale '{0}'."),Unable_to_open_file_0:diag(6050,S.DiagnosticCategory.Error,"Unable_to_open_file_0_6050","Unable to open file '{0}'."),Corrupted_locale_file_0:diag(6051,S.DiagnosticCategory.Error,"Corrupted_locale_file_0_6051","Corrupted locale file {0}."),Raise_error_on_expressions_and_declarations_with_an_implied_any_type:diag(6052,S.DiagnosticCategory.Message,"Raise_error_on_expressions_and_declarations_with_an_implied_any_type_6052","Raise error on expressions and declarations with an implied 'any' type."),File_0_not_found:diag(6053,S.DiagnosticCategory.Error,"File_0_not_found_6053","File '{0}' not found."),File_0_has_an_unsupported_extension_The_only_supported_extensions_are_1:diag(6054,S.DiagnosticCategory.Error,"File_0_has_an_unsupported_extension_The_only_supported_extensions_are_1_6054","File '{0}' has an unsupported extension. The only supported extensions are {1}."),Suppress_noImplicitAny_errors_for_indexing_objects_lacking_index_signatures:diag(6055,S.DiagnosticCategory.Message,"Suppress_noImplicitAny_errors_for_indexing_objects_lacking_index_signatures_6055","Suppress noImplicitAny errors for indexing objects lacking index signatures."),Do_not_emit_declarations_for_code_that_has_an_internal_annotation:diag(6056,S.DiagnosticCategory.Message,"Do_not_emit_declarations_for_code_that_has_an_internal_annotation_6056","Do not emit declarations for code that has an '@internal' annotation."),Specify_the_root_directory_of_input_files_Use_to_control_the_output_directory_structure_with_outDir:diag(6058,S.DiagnosticCategory.Message,"Specify_the_root_directory_of_input_files_Use_to_control_the_output_directory_structure_with_outDir_6058","Specify the root directory of input files. Use to control the output directory structure with --outDir."),File_0_is_not_under_rootDir_1_rootDir_is_expected_to_contain_all_source_files:diag(6059,S.DiagnosticCategory.Error,"File_0_is_not_under_rootDir_1_rootDir_is_expected_to_contain_all_source_files_6059","File '{0}' is not under 'rootDir' '{1}'. 'rootDir' is expected to contain all source files."),Specify_the_end_of_line_sequence_to_be_used_when_emitting_files_Colon_CRLF_dos_or_LF_unix:diag(6060,S.DiagnosticCategory.Message,"Specify_the_end_of_line_sequence_to_be_used_when_emitting_files_Colon_CRLF_dos_or_LF_unix_6060","Specify the end of line sequence to be used when emitting files: 'CRLF' (dos) or 'LF' (unix)."),NEWLINE:diag(6061,S.DiagnosticCategory.Message,"NEWLINE_6061","NEWLINE"),Option_0_can_only_be_specified_in_tsconfig_json_file_or_set_to_null_on_command_line:diag(6064,S.DiagnosticCategory.Error,"Option_0_can_only_be_specified_in_tsconfig_json_file_or_set_to_null_on_command_line_6064","Option '{0}' can only be specified in 'tsconfig.json' file or set to 'null' on command line."),Enables_experimental_support_for_ES7_decorators:diag(6065,S.DiagnosticCategory.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,S.DiagnosticCategory.Message,"Enables_experimental_support_for_emitting_type_metadata_for_decorators_6066","Enables experimental support for emitting type metadata for decorators."),Enables_experimental_support_for_ES7_async_functions:diag(6068,S.DiagnosticCategory.Message,"Enables_experimental_support_for_ES7_async_functions_6068","Enables experimental support for ES7 async functions."),Specify_module_resolution_strategy_Colon_node_Node_js_or_classic_TypeScript_pre_1_6:diag(6069,S.DiagnosticCategory.Message,"Specify_module_resolution_strategy_Colon_node_Node_js_or_classic_TypeScript_pre_1_6_6069","Specify module resolution strategy: 'node' (Node.js) or 'classic' (TypeScript pre-1.6)."),Initializes_a_TypeScript_project_and_creates_a_tsconfig_json_file:diag(6070,S.DiagnosticCategory.Message,"Initializes_a_TypeScript_project_and_creates_a_tsconfig_json_file_6070","Initializes a TypeScript project and creates a tsconfig.json file."),Successfully_created_a_tsconfig_json_file:diag(6071,S.DiagnosticCategory.Message,"Successfully_created_a_tsconfig_json_file_6071","Successfully created a tsconfig.json file."),Suppress_excess_property_checks_for_object_literals:diag(6072,S.DiagnosticCategory.Message,"Suppress_excess_property_checks_for_object_literals_6072","Suppress excess property checks for object literals."),Stylize_errors_and_messages_using_color_and_context_experimental:diag(6073,S.DiagnosticCategory.Message,"Stylize_errors_and_messages_using_color_and_context_experimental_6073","Stylize errors and messages using color and context (experimental)."),Do_not_report_errors_on_unused_labels:diag(6074,S.DiagnosticCategory.Message,"Do_not_report_errors_on_unused_labels_6074","Do not report errors on unused labels."),Report_error_when_not_all_code_paths_in_function_return_a_value:diag(6075,S.DiagnosticCategory.Message,"Report_error_when_not_all_code_paths_in_function_return_a_value_6075","Report error when not all code paths in function return a value."),Report_errors_for_fallthrough_cases_in_switch_statement:diag(6076,S.DiagnosticCategory.Message,"Report_errors_for_fallthrough_cases_in_switch_statement_6076","Report errors for fallthrough cases in switch statement."),Do_not_report_errors_on_unreachable_code:diag(6077,S.DiagnosticCategory.Message,"Do_not_report_errors_on_unreachable_code_6077","Do not report errors on unreachable code."),Disallow_inconsistently_cased_references_to_the_same_file:diag(6078,S.DiagnosticCategory.Message,"Disallow_inconsistently_cased_references_to_the_same_file_6078","Disallow inconsistently-cased references to the same file."),Specify_library_files_to_be_included_in_the_compilation:diag(6079,S.DiagnosticCategory.Message,"Specify_library_files_to_be_included_in_the_compilation_6079","Specify library files to be included in the compilation."),Specify_JSX_code_generation_Colon_preserve_react_native_or_react:diag(6080,S.DiagnosticCategory.Message,"Specify_JSX_code_generation_Colon_preserve_react_native_or_react_6080","Specify JSX code generation: 'preserve', 'react-native', or 'react'."),File_0_has_an_unsupported_extension_so_skipping_it:diag(6081,S.DiagnosticCategory.Message,"File_0_has_an_unsupported_extension_so_skipping_it_6081","File '{0}' has an unsupported extension, so skipping it."),Only_amd_and_system_modules_are_supported_alongside_0:diag(6082,S.DiagnosticCategory.Error,"Only_amd_and_system_modules_are_supported_alongside_0_6082","Only 'amd' and 'system' modules are supported alongside --{0}."),Base_directory_to_resolve_non_absolute_module_names:diag(6083,S.DiagnosticCategory.Message,"Base_directory_to_resolve_non_absolute_module_names_6083","Base directory to resolve non-absolute module names."),Deprecated_Use_jsxFactory_instead_Specify_the_object_invoked_for_createElement_when_targeting_react_JSX_emit:diag(6084,S.DiagnosticCategory.Message,"Deprecated_Use_jsxFactory_instead_Specify_the_object_invoked_for_createElement_when_targeting_react__6084","[Deprecated] Use '--jsxFactory' instead. Specify the object invoked for createElement when targeting 'react' JSX emit"),Enable_tracing_of_the_name_resolution_process:diag(6085,S.DiagnosticCategory.Message,"Enable_tracing_of_the_name_resolution_process_6085","Enable tracing of the name resolution process."),Resolving_module_0_from_1:diag(6086,S.DiagnosticCategory.Message,"Resolving_module_0_from_1_6086","======== Resolving module '{0}' from '{1}'. ========"),Explicitly_specified_module_resolution_kind_Colon_0:diag(6087,S.DiagnosticCategory.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,S.DiagnosticCategory.Message,"Module_resolution_kind_is_not_specified_using_0_6088","Module resolution kind is not specified, using '{0}'."),Module_name_0_was_successfully_resolved_to_1:diag(6089,S.DiagnosticCategory.Message,"Module_name_0_was_successfully_resolved_to_1_6089","======== Module name '{0}' was successfully resolved to '{1}'. ========"),Module_name_0_was_not_resolved:diag(6090,S.DiagnosticCategory.Message,"Module_name_0_was_not_resolved_6090","======== Module name '{0}' was not resolved. ========"),paths_option_is_specified_looking_for_a_pattern_to_match_module_name_0:diag(6091,S.DiagnosticCategory.Message,"paths_option_is_specified_looking_for_a_pattern_to_match_module_name_0_6091","'paths' option is specified, looking for a pattern to match module name '{0}'."),Module_name_0_matched_pattern_1:diag(6092,S.DiagnosticCategory.Message,"Module_name_0_matched_pattern_1_6092","Module name '{0}', matched pattern '{1}'."),Trying_substitution_0_candidate_module_location_Colon_1:diag(6093,S.DiagnosticCategory.Message,"Trying_substitution_0_candidate_module_location_Colon_1_6093","Trying substitution '{0}', candidate module location: '{1}'."),Resolving_module_name_0_relative_to_base_url_1_2:diag(6094,S.DiagnosticCategory.Message,"Resolving_module_name_0_relative_to_base_url_1_2_6094","Resolving module name '{0}' relative to base url '{1}' - '{2}'."),Loading_module_as_file_Slash_folder_candidate_module_location_0_target_file_type_1:diag(6095,S.DiagnosticCategory.Message,"Loading_module_as_file_Slash_folder_candidate_module_location_0_target_file_type_1_6095","Loading module as file / folder, candidate module location '{0}', target file type '{1}'."),File_0_does_not_exist:diag(6096,S.DiagnosticCategory.Message,"File_0_does_not_exist_6096","File '{0}' does not exist."),File_0_exist_use_it_as_a_name_resolution_result:diag(6097,S.DiagnosticCategory.Message,"File_0_exist_use_it_as_a_name_resolution_result_6097","File '{0}' exist - use it as a name resolution result."),Loading_module_0_from_node_modules_folder_target_file_type_1:diag(6098,S.DiagnosticCategory.Message,"Loading_module_0_from_node_modules_folder_target_file_type_1_6098","Loading module '{0}' from 'node_modules' folder, target file type '{1}'."),Found_package_json_at_0:diag(6099,S.DiagnosticCategory.Message,"Found_package_json_at_0_6099","Found 'package.json' at '{0}'."),package_json_does_not_have_a_0_field:diag(6100,S.DiagnosticCategory.Message,"package_json_does_not_have_a_0_field_6100","'package.json' does not have a '{0}' field."),package_json_has_0_field_1_that_references_2:diag(6101,S.DiagnosticCategory.Message,"package_json_has_0_field_1_that_references_2_6101","'package.json' has '{0}' field '{1}' that references '{2}'."),Allow_javascript_files_to_be_compiled:diag(6102,S.DiagnosticCategory.Message,"Allow_javascript_files_to_be_compiled_6102","Allow javascript files to be compiled."),Option_0_should_have_array_of_strings_as_a_value:diag(6103,S.DiagnosticCategory.Error,"Option_0_should_have_array_of_strings_as_a_value_6103","Option '{0}' should have array of strings as a value."),Checking_if_0_is_the_longest_matching_prefix_for_1_2:diag(6104,S.DiagnosticCategory.Message,"Checking_if_0_is_the_longest_matching_prefix_for_1_2_6104","Checking if '{0}' is the longest matching prefix for '{1}' - '{2}'."),Expected_type_of_0_field_in_package_json_to_be_1_got_2:diag(6105,S.DiagnosticCategory.Message,"Expected_type_of_0_field_in_package_json_to_be_1_got_2_6105","Expected type of '{0}' field in 'package.json' to be '{1}', got '{2}'."),baseUrl_option_is_set_to_0_using_this_value_to_resolve_non_relative_module_name_1:diag(6106,S.DiagnosticCategory.Message,"baseUrl_option_is_set_to_0_using_this_value_to_resolve_non_relative_module_name_1_6106","'baseUrl' option is set to '{0}', using this value to resolve non-relative module name '{1}'."),rootDirs_option_is_set_using_it_to_resolve_relative_module_name_0:diag(6107,S.DiagnosticCategory.Message,"rootDirs_option_is_set_using_it_to_resolve_relative_module_name_0_6107","'rootDirs' option is set, using it to resolve relative module name '{0}'."),Longest_matching_prefix_for_0_is_1:diag(6108,S.DiagnosticCategory.Message,"Longest_matching_prefix_for_0_is_1_6108","Longest matching prefix for '{0}' is '{1}'."),Loading_0_from_the_root_dir_1_candidate_location_2:diag(6109,S.DiagnosticCategory.Message,"Loading_0_from_the_root_dir_1_candidate_location_2_6109","Loading '{0}' from the root dir '{1}', candidate location '{2}'."),Trying_other_entries_in_rootDirs:diag(6110,S.DiagnosticCategory.Message,"Trying_other_entries_in_rootDirs_6110","Trying other entries in 'rootDirs'."),Module_resolution_using_rootDirs_has_failed:diag(6111,S.DiagnosticCategory.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,S.DiagnosticCategory.Message,"Do_not_emit_use_strict_directives_in_module_output_6112","Do not emit 'use strict' directives in module output."),Enable_strict_null_checks:diag(6113,S.DiagnosticCategory.Message,"Enable_strict_null_checks_6113","Enable strict null checks."),Unknown_option_excludes_Did_you_mean_exclude:diag(6114,S.DiagnosticCategory.Error,"Unknown_option_excludes_Did_you_mean_exclude_6114","Unknown option 'excludes'. Did you mean 'exclude'?"),Raise_error_on_this_expressions_with_an_implied_any_type:diag(6115,S.DiagnosticCategory.Message,"Raise_error_on_this_expressions_with_an_implied_any_type_6115","Raise error on 'this' expressions with an implied 'any' type."),Resolving_type_reference_directive_0_containing_file_1_root_directory_2:diag(6116,S.DiagnosticCategory.Message,"Resolving_type_reference_directive_0_containing_file_1_root_directory_2_6116","======== Resolving type reference directive '{0}', containing file '{1}', root directory '{2}'. ========"),Resolving_using_primary_search_paths:diag(6117,S.DiagnosticCategory.Message,"Resolving_using_primary_search_paths_6117","Resolving using primary search paths..."),Resolving_from_node_modules_folder:diag(6118,S.DiagnosticCategory.Message,"Resolving_from_node_modules_folder_6118","Resolving from node_modules folder..."),Type_reference_directive_0_was_successfully_resolved_to_1_primary_Colon_2:diag(6119,S.DiagnosticCategory.Message,"Type_reference_directive_0_was_successfully_resolved_to_1_primary_Colon_2_6119","======== Type reference directive '{0}' was successfully resolved to '{1}', primary: {2}. ========"),Type_reference_directive_0_was_not_resolved:diag(6120,S.DiagnosticCategory.Message,"Type_reference_directive_0_was_not_resolved_6120","======== Type reference directive '{0}' was not resolved. ========"),Resolving_with_primary_search_path_0:diag(6121,S.DiagnosticCategory.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,S.DiagnosticCategory.Message,"Root_directory_cannot_be_determined_skipping_primary_search_paths_6122","Root directory cannot be determined, skipping primary search paths."),Resolving_type_reference_directive_0_containing_file_1_root_directory_not_set:diag(6123,S.DiagnosticCategory.Message,"Resolving_type_reference_directive_0_containing_file_1_root_directory_not_set_6123","======== Resolving type reference directive '{0}', containing file '{1}', root directory not set. ========"),Type_declaration_files_to_be_included_in_compilation:diag(6124,S.DiagnosticCategory.Message,"Type_declaration_files_to_be_included_in_compilation_6124","Type declaration files to be included in compilation."),Looking_up_in_node_modules_folder_initial_location_0:diag(6125,S.DiagnosticCategory.Message,"Looking_up_in_node_modules_folder_initial_location_0_6125","Looking up in 'node_modules' folder, initial location '{0}'."),Containing_file_is_not_specified_and_root_directory_cannot_be_determined_skipping_lookup_in_node_modules_folder:diag(6126,S.DiagnosticCategory.Message,"Containing_file_is_not_specified_and_root_directory_cannot_be_determined_skipping_lookup_in_node_mod_6126","Containing file is not specified and root directory cannot be determined, skipping lookup in 'node_modules' folder."),Resolving_type_reference_directive_0_containing_file_not_set_root_directory_1:diag(6127,S.DiagnosticCategory.Message,"Resolving_type_reference_directive_0_containing_file_not_set_root_directory_1_6127","======== Resolving type reference directive '{0}', containing file not set, root directory '{1}'. ========"),Resolving_type_reference_directive_0_containing_file_not_set_root_directory_not_set:diag(6128,S.DiagnosticCategory.Message,"Resolving_type_reference_directive_0_containing_file_not_set_root_directory_not_set_6128","======== Resolving type reference directive '{0}', containing file not set, root directory not set. ========"),Resolving_real_path_for_0_result_1:diag(6130,S.DiagnosticCategory.Message,"Resolving_real_path_for_0_result_1_6130","Resolving real path for '{0}', result '{1}'."),Cannot_compile_modules_using_option_0_unless_the_module_flag_is_amd_or_system:diag(6131,S.DiagnosticCategory.Error,"Cannot_compile_modules_using_option_0_unless_the_module_flag_is_amd_or_system_6131","Cannot compile modules using option '{0}' unless the '--module' flag is 'amd' or 'system'."),File_name_0_has_a_1_extension_stripping_it:diag(6132,S.DiagnosticCategory.Message,"File_name_0_has_a_1_extension_stripping_it_6132","File name '{0}' has a '{1}' extension - stripping it."),_0_is_declared_but_its_value_is_never_read:diag(6133,S.DiagnosticCategory.Error,"_0_is_declared_but_its_value_is_never_read_6133","'{0}' is declared but its value is never read.",true),Report_errors_on_unused_locals:diag(6134,S.DiagnosticCategory.Message,"Report_errors_on_unused_locals_6134","Report errors on unused locals."),Report_errors_on_unused_parameters:diag(6135,S.DiagnosticCategory.Message,"Report_errors_on_unused_parameters_6135","Report errors on unused parameters."),The_maximum_dependency_depth_to_search_under_node_modules_and_load_JavaScript_files:diag(6136,S.DiagnosticCategory.Message,"The_maximum_dependency_depth_to_search_under_node_modules_and_load_JavaScript_files_6136","The maximum dependency depth to search under node_modules and load JavaScript files."),Cannot_import_type_declaration_files_Consider_importing_0_instead_of_1:diag(6137,S.DiagnosticCategory.Error,"Cannot_import_type_declaration_files_Consider_importing_0_instead_of_1_6137","Cannot import type declaration files. Consider importing '{0}' instead of '{1}'."),Property_0_is_declared_but_its_value_is_never_read:diag(6138,S.DiagnosticCategory.Error,"Property_0_is_declared_but_its_value_is_never_read_6138","Property '{0}' is declared but its value is never read.",true),Import_emit_helpers_from_tslib:diag(6139,S.DiagnosticCategory.Message,"Import_emit_helpers_from_tslib_6139","Import emit helpers from 'tslib'."),Auto_discovery_for_typings_is_enabled_in_project_0_Running_extra_resolution_pass_for_module_1_using_cache_location_2:diag(6140,S.DiagnosticCategory.Error,"Auto_discovery_for_typings_is_enabled_in_project_0_Running_extra_resolution_pass_for_module_1_using__6140","Auto discovery for typings is enabled in project '{0}'. Running extra resolution pass for module '{1}' using cache location '{2}'."),Parse_in_strict_mode_and_emit_use_strict_for_each_source_file:diag(6141,S.DiagnosticCategory.Message,"Parse_in_strict_mode_and_emit_use_strict_for_each_source_file_6141",'Parse in strict mode and emit "use strict" for each source file.'),Module_0_was_resolved_to_1_but_jsx_is_not_set:diag(6142,S.DiagnosticCategory.Error,"Module_0_was_resolved_to_1_but_jsx_is_not_set_6142","Module '{0}' was resolved to '{1}', but '--jsx' is not set."),Module_0_was_resolved_as_locally_declared_ambient_module_in_file_1:diag(6144,S.DiagnosticCategory.Message,"Module_0_was_resolved_as_locally_declared_ambient_module_in_file_1_6144","Module '{0}' was resolved as locally declared ambient module in file '{1}'."),Module_0_was_resolved_as_ambient_module_declared_in_1_since_this_file_was_not_modified:diag(6145,S.DiagnosticCategory.Message,"Module_0_was_resolved_as_ambient_module_declared_in_1_since_this_file_was_not_modified_6145","Module '{0}' was resolved as ambient module declared in '{1}' since this file was not modified."),Specify_the_JSX_factory_function_to_use_when_targeting_react_JSX_emit_e_g_React_createElement_or_h:diag(6146,S.DiagnosticCategory.Message,"Specify_the_JSX_factory_function_to_use_when_targeting_react_JSX_emit_e_g_React_createElement_or_h_6146","Specify the JSX factory function to use when targeting 'react' JSX emit, e.g. 'React.createElement' or 'h'."),Resolution_for_module_0_was_found_in_cache_from_location_1:diag(6147,S.DiagnosticCategory.Message,"Resolution_for_module_0_was_found_in_cache_from_location_1_6147","Resolution for module '{0}' was found in cache from location '{1}'."),Directory_0_does_not_exist_skipping_all_lookups_in_it:diag(6148,S.DiagnosticCategory.Message,"Directory_0_does_not_exist_skipping_all_lookups_in_it_6148","Directory '{0}' does not exist, skipping all lookups in it."),Show_diagnostic_information:diag(6149,S.DiagnosticCategory.Message,"Show_diagnostic_information_6149","Show diagnostic information."),Show_verbose_diagnostic_information:diag(6150,S.DiagnosticCategory.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,S.DiagnosticCategory.Message,"Emit_a_single_file_with_source_maps_instead_of_having_a_separate_file_6151","Emit a single file with source maps instead of having a separate file."),Emit_the_source_alongside_the_sourcemaps_within_a_single_file_requires_inlineSourceMap_or_sourceMap_to_be_set:diag(6152,S.DiagnosticCategory.Message,"Emit_the_source_alongside_the_sourcemaps_within_a_single_file_requires_inlineSourceMap_or_sourceMap__6152","Emit the source alongside the sourcemaps within a single file; requires '--inlineSourceMap' or '--sourceMap' to be set."),Transpile_each_file_as_a_separate_module_similar_to_ts_transpileModule:diag(6153,S.DiagnosticCategory.Message,"Transpile_each_file_as_a_separate_module_similar_to_ts_transpileModule_6153","Transpile each file as a separate module (similar to 'ts.transpileModule')."),Print_names_of_generated_files_part_of_the_compilation:diag(6154,S.DiagnosticCategory.Message,"Print_names_of_generated_files_part_of_the_compilation_6154","Print names of generated files part of the compilation."),Print_names_of_files_part_of_the_compilation:diag(6155,S.DiagnosticCategory.Message,"Print_names_of_files_part_of_the_compilation_6155","Print names of files part of the compilation."),The_locale_used_when_displaying_messages_to_the_user_e_g_en_us:diag(6156,S.DiagnosticCategory.Message,"The_locale_used_when_displaying_messages_to_the_user_e_g_en_us_6156","The locale used when displaying messages to the user (e.g. 'en-us')"),Do_not_generate_custom_helper_functions_like_extends_in_compiled_output:diag(6157,S.DiagnosticCategory.Message,"Do_not_generate_custom_helper_functions_like_extends_in_compiled_output_6157","Do not generate custom helper functions like '__extends' in compiled output."),Do_not_include_the_default_library_file_lib_d_ts:diag(6158,S.DiagnosticCategory.Message,"Do_not_include_the_default_library_file_lib_d_ts_6158","Do not include the default library file (lib.d.ts)."),Do_not_add_triple_slash_references_or_imported_modules_to_the_list_of_compiled_files:diag(6159,S.DiagnosticCategory.Message,"Do_not_add_triple_slash_references_or_imported_modules_to_the_list_of_compiled_files_6159","Do not add triple-slash references or imported modules to the list of compiled files."),Deprecated_Use_skipLibCheck_instead_Skip_type_checking_of_default_library_declaration_files:diag(6160,S.DiagnosticCategory.Message,"Deprecated_Use_skipLibCheck_instead_Skip_type_checking_of_default_library_declaration_files_6160","[Deprecated] Use '--skipLibCheck' instead. Skip type checking of default library declaration files."),List_of_folders_to_include_type_definitions_from:diag(6161,S.DiagnosticCategory.Message,"List_of_folders_to_include_type_definitions_from_6161","List of folders to include type definitions from."),Disable_size_limitations_on_JavaScript_projects:diag(6162,S.DiagnosticCategory.Message,"Disable_size_limitations_on_JavaScript_projects_6162","Disable size limitations on JavaScript projects."),The_character_set_of_the_input_files:diag(6163,S.DiagnosticCategory.Message,"The_character_set_of_the_input_files_6163","The character set of the input files."),Emit_a_UTF_8_Byte_Order_Mark_BOM_in_the_beginning_of_output_files:diag(6164,S.DiagnosticCategory.Message,"Emit_a_UTF_8_Byte_Order_Mark_BOM_in_the_beginning_of_output_files_6164","Emit a UTF-8 Byte Order Mark (BOM) in the beginning of output files."),Do_not_truncate_error_messages:diag(6165,S.DiagnosticCategory.Message,"Do_not_truncate_error_messages_6165","Do not truncate error messages."),Output_directory_for_generated_declaration_files:diag(6166,S.DiagnosticCategory.Message,"Output_directory_for_generated_declaration_files_6166","Output directory for generated declaration files."),A_series_of_entries_which_re_map_imports_to_lookup_locations_relative_to_the_baseUrl:diag(6167,S.DiagnosticCategory.Message,"A_series_of_entries_which_re_map_imports_to_lookup_locations_relative_to_the_baseUrl_6167","A series of entries which re-map imports to lookup locations relative to the 'baseUrl'."),List_of_root_folders_whose_combined_content_represents_the_structure_of_the_project_at_runtime:diag(6168,S.DiagnosticCategory.Message,"List_of_root_folders_whose_combined_content_represents_the_structure_of_the_project_at_runtime_6168","List of root folders whose combined content represents the structure of the project at runtime."),Show_all_compiler_options:diag(6169,S.DiagnosticCategory.Message,"Show_all_compiler_options_6169","Show all compiler options."),Deprecated_Use_outFile_instead_Concatenate_and_emit_output_to_single_file:diag(6170,S.DiagnosticCategory.Message,"Deprecated_Use_outFile_instead_Concatenate_and_emit_output_to_single_file_6170","[Deprecated] Use '--outFile' instead. Concatenate and emit output to single file"),Command_line_Options:diag(6171,S.DiagnosticCategory.Message,"Command_line_Options_6171","Command-line Options"),Basic_Options:diag(6172,S.DiagnosticCategory.Message,"Basic_Options_6172","Basic Options"),Strict_Type_Checking_Options:diag(6173,S.DiagnosticCategory.Message,"Strict_Type_Checking_Options_6173","Strict Type-Checking Options"),Module_Resolution_Options:diag(6174,S.DiagnosticCategory.Message,"Module_Resolution_Options_6174","Module Resolution Options"),Source_Map_Options:diag(6175,S.DiagnosticCategory.Message,"Source_Map_Options_6175","Source Map Options"),Additional_Checks:diag(6176,S.DiagnosticCategory.Message,"Additional_Checks_6176","Additional Checks"),Experimental_Options:diag(6177,S.DiagnosticCategory.Message,"Experimental_Options_6177","Experimental Options"),Advanced_Options:diag(6178,S.DiagnosticCategory.Message,"Advanced_Options_6178","Advanced Options"),Provide_full_support_for_iterables_in_for_of_spread_and_destructuring_when_targeting_ES5_or_ES3:diag(6179,S.DiagnosticCategory.Message,"Provide_full_support_for_iterables_in_for_of_spread_and_destructuring_when_targeting_ES5_or_ES3_6179","Provide full support for iterables in 'for-of', spread, and destructuring when targeting 'ES5' or 'ES3'."),Enable_all_strict_type_checking_options:diag(6180,S.DiagnosticCategory.Message,"Enable_all_strict_type_checking_options_6180","Enable all strict type-checking options."),List_of_language_service_plugins:diag(6181,S.DiagnosticCategory.Message,"List_of_language_service_plugins_6181","List of language service plugins."),Scoped_package_detected_looking_in_0:diag(6182,S.DiagnosticCategory.Message,"Scoped_package_detected_looking_in_0_6182","Scoped package detected, looking in '{0}'"),Reusing_resolution_of_module_0_to_file_1_from_old_program:diag(6183,S.DiagnosticCategory.Message,"Reusing_resolution_of_module_0_to_file_1_from_old_program_6183","Reusing resolution of module '{0}' to file '{1}' from old program."),Reusing_module_resolutions_originating_in_0_since_resolutions_are_unchanged_from_old_program:diag(6184,S.DiagnosticCategory.Message,"Reusing_module_resolutions_originating_in_0_since_resolutions_are_unchanged_from_old_program_6184","Reusing module resolutions originating in '{0}' since resolutions are unchanged from old program."),Disable_strict_checking_of_generic_signatures_in_function_types:diag(6185,S.DiagnosticCategory.Message,"Disable_strict_checking_of_generic_signatures_in_function_types_6185","Disable strict checking of generic signatures in function types."),Enable_strict_checking_of_function_types:diag(6186,S.DiagnosticCategory.Message,"Enable_strict_checking_of_function_types_6186","Enable strict checking of function types."),Enable_strict_checking_of_property_initialization_in_classes:diag(6187,S.DiagnosticCategory.Message,"Enable_strict_checking_of_property_initialization_in_classes_6187","Enable strict checking of property initialization in classes."),Numeric_separators_are_not_allowed_here:diag(6188,S.DiagnosticCategory.Error,"Numeric_separators_are_not_allowed_here_6188","Numeric separators are not allowed here."),Multiple_consecutive_numeric_separators_are_not_permitted:diag(6189,S.DiagnosticCategory.Error,"Multiple_consecutive_numeric_separators_are_not_permitted_6189","Multiple consecutive numeric separators are not permitted."),Whether_to_keep_outdated_console_output_in_watch_mode_instead_of_clearing_the_screen:diag(6191,S.DiagnosticCategory.Message,"Whether_to_keep_outdated_console_output_in_watch_mode_instead_of_clearing_the_screen_6191","Whether to keep outdated console output in watch mode instead of clearing the screen."),All_imports_in_import_declaration_are_unused:diag(6192,S.DiagnosticCategory.Error,"All_imports_in_import_declaration_are_unused_6192","All imports in import declaration are unused.",true),Found_1_error_Watching_for_file_changes:diag(6193,S.DiagnosticCategory.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,S.DiagnosticCategory.Message,"Found_0_errors_Watching_for_file_changes_6194","Found {0} errors. Watching for file changes."),Resolve_keyof_to_string_valued_property_names_only_no_numbers_or_symbols:diag(6195,S.DiagnosticCategory.Message,"Resolve_keyof_to_string_valued_property_names_only_no_numbers_or_symbols_6195","Resolve 'keyof' to string valued property names only (no numbers or symbols)."),_0_is_declared_but_never_used:diag(6196,S.DiagnosticCategory.Error,"_0_is_declared_but_never_used_6196","'{0}' is declared but never used.",true),Include_modules_imported_with_json_extension:diag(6197,S.DiagnosticCategory.Message,"Include_modules_imported_with_json_extension_6197","Include modules imported with '.json' extension"),All_destructured_elements_are_unused:diag(6198,S.DiagnosticCategory.Error,"All_destructured_elements_are_unused_6198","All destructured elements are unused.",true),All_variables_are_unused:diag(6199,S.DiagnosticCategory.Error,"All_variables_are_unused_6199","All variables are unused.",true),Definitions_of_the_following_identifiers_conflict_with_those_in_another_file_Colon_0:diag(6200,S.DiagnosticCategory.Error,"Definitions_of_the_following_identifiers_conflict_with_those_in_another_file_Colon_0_6200","Definitions of the following identifiers conflict with those in another file: {0}"),Conflicts_are_in_this_file:diag(6201,S.DiagnosticCategory.Message,"Conflicts_are_in_this_file_6201","Conflicts are in this file."),Project_references_may_not_form_a_circular_graph_Cycle_detected_Colon_0:diag(6202,S.DiagnosticCategory.Error,"Project_references_may_not_form_a_circular_graph_Cycle_detected_Colon_0_6202","Project references may not form a circular graph. Cycle detected: {0}"),_0_was_also_declared_here:diag(6203,S.DiagnosticCategory.Message,"_0_was_also_declared_here_6203","'{0}' was also declared here."),and_here:diag(6204,S.DiagnosticCategory.Message,"and_here_6204","and here."),All_type_parameters_are_unused:diag(6205,S.DiagnosticCategory.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,S.DiagnosticCategory.Message,"package_json_has_a_typesVersions_field_with_version_specific_path_mappings_6206","'package.json' has a 'typesVersions' field with version-specific path mappings."),package_json_does_not_have_a_typesVersions_entry_that_matches_version_0:diag(6207,S.DiagnosticCategory.Message,"package_json_does_not_have_a_typesVersions_entry_that_matches_version_0_6207","'package.json' does not have a 'typesVersions' entry that matches version '{0}'."),package_json_has_a_typesVersions_entry_0_that_matches_compiler_version_1_looking_for_a_pattern_to_match_module_name_2:diag(6208,S.DiagnosticCategory.Message,"package_json_has_a_typesVersions_entry_0_that_matches_compiler_version_1_looking_for_a_pattern_to_ma_6208","'package.json' has a 'typesVersions' entry '{0}' that matches compiler version '{1}', looking for a pattern to match module name '{2}'."),package_json_has_a_typesVersions_entry_0_that_is_not_a_valid_semver_range:diag(6209,S.DiagnosticCategory.Message,"package_json_has_a_typesVersions_entry_0_that_is_not_a_valid_semver_range_6209","'package.json' has a 'typesVersions' entry '{0}' that is not a valid semver range."),An_argument_for_0_was_not_provided:diag(6210,S.DiagnosticCategory.Message,"An_argument_for_0_was_not_provided_6210","An argument for '{0}' was not provided."),An_argument_matching_this_binding_pattern_was_not_provided:diag(6211,S.DiagnosticCategory.Message,"An_argument_matching_this_binding_pattern_was_not_provided_6211","An argument matching this binding pattern was not provided."),Did_you_mean_to_call_this_expression:diag(6212,S.DiagnosticCategory.Message,"Did_you_mean_to_call_this_expression_6212","Did you mean to call this expression?"),Did_you_mean_to_use_new_with_this_expression:diag(6213,S.DiagnosticCategory.Message,"Did_you_mean_to_use_new_with_this_expression_6213","Did you mean to use 'new' with this expression?"),Enable_strict_bind_call_and_apply_methods_on_functions:diag(6214,S.DiagnosticCategory.Message,"Enable_strict_bind_call_and_apply_methods_on_functions_6214","Enable strict 'bind', 'call', and 'apply' methods on functions."),Using_compiler_options_of_project_reference_redirect_0:diag(6215,S.DiagnosticCategory.Message,"Using_compiler_options_of_project_reference_redirect_0_6215","Using compiler options of project reference redirect '{0}'."),Found_1_error:diag(6216,S.DiagnosticCategory.Message,"Found_1_error_6216","Found 1 error."),Found_0_errors:diag(6217,S.DiagnosticCategory.Message,"Found_0_errors_6217","Found {0} errors."),Module_name_0_was_successfully_resolved_to_1_with_Package_ID_2:diag(6218,S.DiagnosticCategory.Message,"Module_name_0_was_successfully_resolved_to_1_with_Package_ID_2_6218","======== Module name '{0}' was successfully resolved to '{1}' with Package ID '{2}'. ========"),Type_reference_directive_0_was_successfully_resolved_to_1_with_Package_ID_2_primary_Colon_3:diag(6219,S.DiagnosticCategory.Message,"Type_reference_directive_0_was_successfully_resolved_to_1_with_Package_ID_2_primary_Colon_3_6219","======== Type reference directive '{0}' was successfully resolved to '{1}' with Package ID '{2}', primary: {3}. ========"),package_json_had_a_falsy_0_field:diag(6220,S.DiagnosticCategory.Message,"package_json_had_a_falsy_0_field_6220","'package.json' had a falsy '{0}' field."),Disable_use_of_source_files_instead_of_declaration_files_from_referenced_projects:diag(6221,S.DiagnosticCategory.Message,"Disable_use_of_source_files_instead_of_declaration_files_from_referenced_projects_6221","Disable use of source files instead of declaration files from referenced projects."),Emit_class_fields_with_Define_instead_of_Set:diag(6222,S.DiagnosticCategory.Message,"Emit_class_fields_with_Define_instead_of_Set_6222","Emit class fields with Define instead of Set."),Generates_a_CPU_profile:diag(6223,S.DiagnosticCategory.Message,"Generates_a_CPU_profile_6223","Generates a CPU profile."),Disable_solution_searching_for_this_project:diag(6224,S.DiagnosticCategory.Message,"Disable_solution_searching_for_this_project_6224","Disable solution searching for this project."),Specify_strategy_for_watching_file_Colon_FixedPollingInterval_default_PriorityPollingInterval_DynamicPriorityPolling_UseFsEvents_UseFsEventsOnParentDirectory:diag(6225,S.DiagnosticCategory.Message,"Specify_strategy_for_watching_file_Colon_FixedPollingInterval_default_PriorityPollingInterval_Dynami_6225","Specify strategy for watching file: 'FixedPollingInterval' (default), 'PriorityPollingInterval', 'DynamicPriorityPolling', 'UseFsEvents', 'UseFsEventsOnParentDirectory'."),Specify_strategy_for_watching_directory_on_platforms_that_don_t_support_recursive_watching_natively_Colon_UseFsEvents_default_FixedPollingInterval_DynamicPriorityPolling:diag(6226,S.DiagnosticCategory.Message,"Specify_strategy_for_watching_directory_on_platforms_that_don_t_support_recursive_watching_natively__6226","Specify strategy for watching directory on platforms that don't support recursive watching natively: 'UseFsEvents' (default), 'FixedPollingInterval', 'DynamicPriorityPolling'."),Specify_strategy_for_creating_a_polling_watch_when_it_fails_to_create_using_file_system_events_Colon_FixedInterval_default_PriorityInterval_DynamicPriority:diag(6227,S.DiagnosticCategory.Message,"Specify_strategy_for_creating_a_polling_watch_when_it_fails_to_create_using_file_system_events_Colon_6227","Specify strategy for creating a polling watch when it fails to create using file system events: 'FixedInterval' (default), 'PriorityInterval', 'DynamicPriority'."),Synchronously_call_callbacks_and_update_the_state_of_directory_watchers_on_platforms_that_don_t_support_recursive_watching_natively:diag(6228,S.DiagnosticCategory.Message,"Synchronously_call_callbacks_and_update_the_state_of_directory_watchers_on_platforms_that_don_t_supp_6228","Synchronously call callbacks and update the state of directory watchers on platforms that don't support recursive watching natively."),Tag_0_expects_at_least_1_arguments_but_the_JSX_factory_2_provides_at_most_3:diag(6229,S.DiagnosticCategory.Error,"Tag_0_expects_at_least_1_arguments_but_the_JSX_factory_2_provides_at_most_3_6229","Tag '{0}' expects at least '{1}' arguments, but the JSX factory '{2}' provides at most '{3}'."),Option_0_can_only_be_specified_in_tsconfig_json_file_or_set_to_false_or_null_on_command_line:diag(6230,S.DiagnosticCategory.Error,"Option_0_can_only_be_specified_in_tsconfig_json_file_or_set_to_false_or_null_on_command_line_6230","Option '{0}' can only be specified in 'tsconfig.json' file or set to 'false' or 'null' on command line."),Could_not_resolve_the_path_0_with_the_extensions_Colon_1:diag(6231,S.DiagnosticCategory.Error,"Could_not_resolve_the_path_0_with_the_extensions_Colon_1_6231","Could not resolve the path '{0}' with the extensions: {1}."),Declaration_augments_declaration_in_another_file_This_cannot_be_serialized:diag(6232,S.DiagnosticCategory.Error,"Declaration_augments_declaration_in_another_file_This_cannot_be_serialized_6232","Declaration augments declaration in another file. This cannot be serialized."),This_is_the_declaration_being_augmented_Consider_moving_the_augmenting_declaration_into_the_same_file:diag(6233,S.DiagnosticCategory.Error,"This_is_the_declaration_being_augmented_Consider_moving_the_augmenting_declaration_into_the_same_fil_6233","This is the declaration being augmented. Consider moving the augmenting declaration into the same file."),Projects_to_reference:diag(6300,S.DiagnosticCategory.Message,"Projects_to_reference_6300","Projects to reference"),Enable_project_compilation:diag(6302,S.DiagnosticCategory.Message,"Enable_project_compilation_6302","Enable project compilation"),Composite_projects_may_not_disable_declaration_emit:diag(6304,S.DiagnosticCategory.Error,"Composite_projects_may_not_disable_declaration_emit_6304","Composite projects may not disable declaration emit."),Output_file_0_has_not_been_built_from_source_file_1:diag(6305,S.DiagnosticCategory.Error,"Output_file_0_has_not_been_built_from_source_file_1_6305","Output file '{0}' has not been built from source file '{1}'."),Referenced_project_0_must_have_setting_composite_Colon_true:diag(6306,S.DiagnosticCategory.Error,"Referenced_project_0_must_have_setting_composite_Colon_true_6306","Referenced project '{0}' must have setting \"composite\": true."),File_0_is_not_listed_within_the_file_list_of_project_1_Projects_must_list_all_files_or_use_an_include_pattern:diag(6307,S.DiagnosticCategory.Error,"File_0_is_not_listed_within_the_file_list_of_project_1_Projects_must_list_all_files_or_use_an_includ_6307","File '{0}' is not listed within the file list of project '{1}'. Projects must list all files or use an 'include' pattern."),Cannot_prepend_project_0_because_it_does_not_have_outFile_set:diag(6308,S.DiagnosticCategory.Error,"Cannot_prepend_project_0_because_it_does_not_have_outFile_set_6308","Cannot prepend project '{0}' because it does not have 'outFile' set"),Output_file_0_from_project_1_does_not_exist:diag(6309,S.DiagnosticCategory.Error,"Output_file_0_from_project_1_does_not_exist_6309","Output file '{0}' from project '{1}' does not exist"),Project_0_is_out_of_date_because_oldest_output_1_is_older_than_newest_input_2:diag(6350,S.DiagnosticCategory.Message,"Project_0_is_out_of_date_because_oldest_output_1_is_older_than_newest_input_2_6350","Project '{0}' is out of date because oldest output '{1}' is older than newest input '{2}'"),Project_0_is_up_to_date_because_newest_input_1_is_older_than_oldest_output_2:diag(6351,S.DiagnosticCategory.Message,"Project_0_is_up_to_date_because_newest_input_1_is_older_than_oldest_output_2_6351","Project '{0}' is up to date because newest input '{1}' is older than oldest output '{2}'"),Project_0_is_out_of_date_because_output_file_1_does_not_exist:diag(6352,S.DiagnosticCategory.Message,"Project_0_is_out_of_date_because_output_file_1_does_not_exist_6352","Project '{0}' is out of date because output file '{1}' does not exist"),Project_0_is_out_of_date_because_its_dependency_1_is_out_of_date:diag(6353,S.DiagnosticCategory.Message,"Project_0_is_out_of_date_because_its_dependency_1_is_out_of_date_6353","Project '{0}' is out of date because its dependency '{1}' is out of date"),Project_0_is_up_to_date_with_d_ts_files_from_its_dependencies:diag(6354,S.DiagnosticCategory.Message,"Project_0_is_up_to_date_with_d_ts_files_from_its_dependencies_6354","Project '{0}' is up to date with .d.ts files from its dependencies"),Projects_in_this_build_Colon_0:diag(6355,S.DiagnosticCategory.Message,"Projects_in_this_build_Colon_0_6355","Projects in this build: {0}"),A_non_dry_build_would_delete_the_following_files_Colon_0:diag(6356,S.DiagnosticCategory.Message,"A_non_dry_build_would_delete_the_following_files_Colon_0_6356","A non-dry build would delete the following files: {0}"),A_non_dry_build_would_build_project_0:diag(6357,S.DiagnosticCategory.Message,"A_non_dry_build_would_build_project_0_6357","A non-dry build would build project '{0}'"),Building_project_0:diag(6358,S.DiagnosticCategory.Message,"Building_project_0_6358","Building project '{0}'..."),Updating_output_timestamps_of_project_0:diag(6359,S.DiagnosticCategory.Message,"Updating_output_timestamps_of_project_0_6359","Updating output timestamps of project '{0}'..."),delete_this_Project_0_is_up_to_date_because_it_was_previously_built:diag(6360,S.DiagnosticCategory.Message,"delete_this_Project_0_is_up_to_date_because_it_was_previously_built_6360","delete this - Project '{0}' is up to date because it was previously built"),Project_0_is_up_to_date:diag(6361,S.DiagnosticCategory.Message,"Project_0_is_up_to_date_6361","Project '{0}' is up to date"),Skipping_build_of_project_0_because_its_dependency_1_has_errors:diag(6362,S.DiagnosticCategory.Message,"Skipping_build_of_project_0_because_its_dependency_1_has_errors_6362","Skipping build of project '{0}' because its dependency '{1}' has errors"),Project_0_can_t_be_built_because_its_dependency_1_has_errors:diag(6363,S.DiagnosticCategory.Message,"Project_0_can_t_be_built_because_its_dependency_1_has_errors_6363","Project '{0}' can't be built because its dependency '{1}' has errors"),Build_one_or_more_projects_and_their_dependencies_if_out_of_date:diag(6364,S.DiagnosticCategory.Message,"Build_one_or_more_projects_and_their_dependencies_if_out_of_date_6364","Build one or more projects and their dependencies, if out of date"),Delete_the_outputs_of_all_projects:diag(6365,S.DiagnosticCategory.Message,"Delete_the_outputs_of_all_projects_6365","Delete the outputs of all projects"),Enable_verbose_logging:diag(6366,S.DiagnosticCategory.Message,"Enable_verbose_logging_6366","Enable verbose logging"),Show_what_would_be_built_or_deleted_if_specified_with_clean:diag(6367,S.DiagnosticCategory.Message,"Show_what_would_be_built_or_deleted_if_specified_with_clean_6367","Show what would be built (or deleted, if specified with '--clean')"),Build_all_projects_including_those_that_appear_to_be_up_to_date:diag(6368,S.DiagnosticCategory.Message,"Build_all_projects_including_those_that_appear_to_be_up_to_date_6368","Build all projects, including those that appear to be up to date"),Option_build_must_be_the_first_command_line_argument:diag(6369,S.DiagnosticCategory.Error,"Option_build_must_be_the_first_command_line_argument_6369","Option '--build' must be the first command line argument."),Options_0_and_1_cannot_be_combined:diag(6370,S.DiagnosticCategory.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,S.DiagnosticCategory.Message,"Updating_unchanged_output_timestamps_of_project_0_6371","Updating unchanged output timestamps of project '{0}'..."),Project_0_is_out_of_date_because_output_of_its_dependency_1_has_changed:diag(6372,S.DiagnosticCategory.Message,"Project_0_is_out_of_date_because_output_of_its_dependency_1_has_changed_6372","Project '{0}' is out of date because output of its dependency '{1}' has changed"),Updating_output_of_project_0:diag(6373,S.DiagnosticCategory.Message,"Updating_output_of_project_0_6373","Updating output of project '{0}'..."),A_non_dry_build_would_update_timestamps_for_output_of_project_0:diag(6374,S.DiagnosticCategory.Message,"A_non_dry_build_would_update_timestamps_for_output_of_project_0_6374","A non-dry build would update timestamps for output of project '{0}'"),A_non_dry_build_would_update_output_of_project_0:diag(6375,S.DiagnosticCategory.Message,"A_non_dry_build_would_update_output_of_project_0_6375","A non-dry build would update output of project '{0}'"),Cannot_update_output_of_project_0_because_there_was_error_reading_file_1:diag(6376,S.DiagnosticCategory.Message,"Cannot_update_output_of_project_0_because_there_was_error_reading_file_1_6376","Cannot update output of project '{0}' because there was error reading file '{1}'"),Cannot_write_file_0_because_it_will_overwrite_tsbuildinfo_file_generated_by_referenced_project_1:diag(6377,S.DiagnosticCategory.Error,"Cannot_write_file_0_because_it_will_overwrite_tsbuildinfo_file_generated_by_referenced_project_1_6377","Cannot write file '{0}' because it will overwrite '.tsbuildinfo' file generated by referenced project '{1}'"),Enable_incremental_compilation:diag(6378,S.DiagnosticCategory.Message,"Enable_incremental_compilation_6378","Enable incremental compilation"),Composite_projects_may_not_disable_incremental_compilation:diag(6379,S.DiagnosticCategory.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,S.DiagnosticCategory.Message,"Specify_file_to_store_incremental_compilation_information_6380","Specify file to store incremental compilation information"),Project_0_is_out_of_date_because_output_for_it_was_generated_with_version_1_that_differs_with_current_version_2:diag(6381,S.DiagnosticCategory.Message,"Project_0_is_out_of_date_because_output_for_it_was_generated_with_version_1_that_differs_with_curren_6381","Project '{0}' is out of date because output for it was generated with version '{1}' that differs with current version '{2}'"),Skipping_build_of_project_0_because_its_dependency_1_was_not_built:diag(6382,S.DiagnosticCategory.Message,"Skipping_build_of_project_0_because_its_dependency_1_was_not_built_6382","Skipping build of project '{0}' because its dependency '{1}' was not built"),Project_0_can_t_be_built_because_its_dependency_1_was_not_built:diag(6383,S.DiagnosticCategory.Message,"Project_0_can_t_be_built_because_its_dependency_1_was_not_built_6383","Project '{0}' can't be built because its dependency '{1}' was not built"),Have_recompiles_in_incremental_and_watch_assume_that_changes_within_a_file_will_only_affect_files_directly_depending_on_it:diag(6384,S.DiagnosticCategory.Message,"Have_recompiles_in_incremental_and_watch_assume_that_changes_within_a_file_will_only_affect_files_di_6384","Have recompiles in '--incremental' and '--watch' assume that changes within a file will only affect files directly depending on it."),The_expected_type_comes_from_property_0_which_is_declared_here_on_type_1:diag(6500,S.DiagnosticCategory.Message,"The_expected_type_comes_from_property_0_which_is_declared_here_on_type_1_6500","The expected type comes from property '{0}' which is declared here on type '{1}'"),The_expected_type_comes_from_this_index_signature:diag(6501,S.DiagnosticCategory.Message,"The_expected_type_comes_from_this_index_signature_6501","The expected type comes from this index signature."),The_expected_type_comes_from_the_return_type_of_this_signature:diag(6502,S.DiagnosticCategory.Message,"The_expected_type_comes_from_the_return_type_of_this_signature_6502","The expected type comes from the return type of this signature."),Print_names_of_files_that_are_part_of_the_compilation_and_then_stop_processing:diag(6503,S.DiagnosticCategory.Message,"Print_names_of_files_that_are_part_of_the_compilation_and_then_stop_processing_6503","Print names of files that are part of the compilation and then stop processing."),File_0_is_a_JavaScript_file_Did_you_mean_to_enable_the_allowJs_option:diag(6504,S.DiagnosticCategory.Error,"File_0_is_a_JavaScript_file_Did_you_mean_to_enable_the_allowJs_option_6504","File '{0}' is a JavaScript file. Did you mean to enable the 'allowJs' option?"),Variable_0_implicitly_has_an_1_type:diag(7005,S.DiagnosticCategory.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,S.DiagnosticCategory.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,S.DiagnosticCategory.Error,"Member_0_implicitly_has_an_1_type_7008","Member '{0}' implicitly has an '{1}' type."),new_expression_whose_target_lacks_a_construct_signature_implicitly_has_an_any_type:diag(7009,S.DiagnosticCategory.Error,"new_expression_whose_target_lacks_a_construct_signature_implicitly_has_an_any_type_7009","'new' expression, whose target lacks a construct signature, implicitly has an 'any' type."),_0_which_lacks_return_type_annotation_implicitly_has_an_1_return_type:diag(7010,S.DiagnosticCategory.Error,"_0_which_lacks_return_type_annotation_implicitly_has_an_1_return_type_7010","'{0}', which lacks return-type annotation, implicitly has an '{1}' return type."),Function_expression_which_lacks_return_type_annotation_implicitly_has_an_0_return_type:diag(7011,S.DiagnosticCategory.Error,"Function_expression_which_lacks_return_type_annotation_implicitly_has_an_0_return_type_7011","Function expression, which lacks return-type annotation, implicitly has an '{0}' return type."),Construct_signature_which_lacks_return_type_annotation_implicitly_has_an_any_return_type:diag(7013,S.DiagnosticCategory.Error,"Construct_signature_which_lacks_return_type_annotation_implicitly_has_an_any_return_type_7013","Construct signature, which lacks return-type annotation, implicitly has an 'any' return type."),Function_type_which_lacks_return_type_annotation_implicitly_has_an_0_return_type:diag(7014,S.DiagnosticCategory.Error,"Function_type_which_lacks_return_type_annotation_implicitly_has_an_0_return_type_7014","Function type, which lacks return-type annotation, implicitly has an '{0}' return type."),Element_implicitly_has_an_any_type_because_index_expression_is_not_of_type_number:diag(7015,S.DiagnosticCategory.Error,"Element_implicitly_has_an_any_type_because_index_expression_is_not_of_type_number_7015","Element implicitly has an 'any' type because index expression is not of type 'number'."),Could_not_find_a_declaration_file_for_module_0_1_implicitly_has_an_any_type:diag(7016,S.DiagnosticCategory.Error,"Could_not_find_a_declaration_file_for_module_0_1_implicitly_has_an_any_type_7016","Could not find a declaration file for module '{0}'. '{1}' implicitly has an 'any' type."),Element_implicitly_has_an_any_type_because_type_0_has_no_index_signature:diag(7017,S.DiagnosticCategory.Error,"Element_implicitly_has_an_any_type_because_type_0_has_no_index_signature_7017","Element implicitly has an 'any' type because type '{0}' has no index signature."),Object_literal_s_property_0_implicitly_has_an_1_type:diag(7018,S.DiagnosticCategory.Error,"Object_literal_s_property_0_implicitly_has_an_1_type_7018","Object literal's property '{0}' implicitly has an '{1}' type."),Rest_parameter_0_implicitly_has_an_any_type:diag(7019,S.DiagnosticCategory.Error,"Rest_parameter_0_implicitly_has_an_any_type_7019","Rest parameter '{0}' implicitly has an 'any[]' type."),Call_signature_which_lacks_return_type_annotation_implicitly_has_an_any_return_type:diag(7020,S.DiagnosticCategory.Error,"Call_signature_which_lacks_return_type_annotation_implicitly_has_an_any_return_type_7020","Call signature, which lacks return-type annotation, implicitly has an 'any' return type."),_0_implicitly_has_type_any_because_it_does_not_have_a_type_annotation_and_is_referenced_directly_or_indirectly_in_its_own_initializer:diag(7022,S.DiagnosticCategory.Error,"_0_implicitly_has_type_any_because_it_does_not_have_a_type_annotation_and_is_referenced_directly_or__7022","'{0}' implicitly has type 'any' because it does not have a type annotation and is referenced directly or indirectly in its own initializer."),_0_implicitly_has_return_type_any_because_it_does_not_have_a_return_type_annotation_and_is_referenced_directly_or_indirectly_in_one_of_its_return_expressions:diag(7023,S.DiagnosticCategory.Error,"_0_implicitly_has_return_type_any_because_it_does_not_have_a_return_type_annotation_and_is_reference_7023","'{0}' implicitly has return type 'any' because it does not have a return type annotation and is referenced directly or indirectly in one of its return expressions."),Function_implicitly_has_return_type_any_because_it_does_not_have_a_return_type_annotation_and_is_referenced_directly_or_indirectly_in_one_of_its_return_expressions:diag(7024,S.DiagnosticCategory.Error,"Function_implicitly_has_return_type_any_because_it_does_not_have_a_return_type_annotation_and_is_ref_7024","Function implicitly has return type 'any' because it does not have a return type annotation and is referenced directly or indirectly in one of its return expressions."),Generator_implicitly_has_yield_type_0_because_it_does_not_yield_any_values_Consider_supplying_a_return_type_annotation:diag(7025,S.DiagnosticCategory.Error,"Generator_implicitly_has_yield_type_0_because_it_does_not_yield_any_values_Consider_supplying_a_retu_7025","Generator implicitly has yield type '{0}' because it does not yield any values. Consider supplying a return type annotation."),JSX_element_implicitly_has_type_any_because_no_interface_JSX_0_exists:diag(7026,S.DiagnosticCategory.Error,"JSX_element_implicitly_has_type_any_because_no_interface_JSX_0_exists_7026","JSX element implicitly has type 'any' because no interface 'JSX.{0}' exists."),Unreachable_code_detected:diag(7027,S.DiagnosticCategory.Error,"Unreachable_code_detected_7027","Unreachable code detected.",true),Unused_label:diag(7028,S.DiagnosticCategory.Error,"Unused_label_7028","Unused label.",true),Fallthrough_case_in_switch:diag(7029,S.DiagnosticCategory.Error,"Fallthrough_case_in_switch_7029","Fallthrough case in switch."),Not_all_code_paths_return_a_value:diag(7030,S.DiagnosticCategory.Error,"Not_all_code_paths_return_a_value_7030","Not all code paths return a value."),Binding_element_0_implicitly_has_an_1_type:diag(7031,S.DiagnosticCategory.Error,"Binding_element_0_implicitly_has_an_1_type_7031","Binding element '{0}' implicitly has an '{1}' type."),Property_0_implicitly_has_type_any_because_its_set_accessor_lacks_a_parameter_type_annotation:diag(7032,S.DiagnosticCategory.Error,"Property_0_implicitly_has_type_any_because_its_set_accessor_lacks_a_parameter_type_annotation_7032","Property '{0}' implicitly has type 'any', because its set accessor lacks a parameter type annotation."),Property_0_implicitly_has_type_any_because_its_get_accessor_lacks_a_return_type_annotation:diag(7033,S.DiagnosticCategory.Error,"Property_0_implicitly_has_type_any_because_its_get_accessor_lacks_a_return_type_annotation_7033","Property '{0}' implicitly has type 'any', because its get accessor lacks a return type annotation."),Variable_0_implicitly_has_type_1_in_some_locations_where_its_type_cannot_be_determined:diag(7034,S.DiagnosticCategory.Error,"Variable_0_implicitly_has_type_1_in_some_locations_where_its_type_cannot_be_determined_7034","Variable '{0}' implicitly has type '{1}' in some locations where its type cannot be determined."),Try_npm_install_types_Slash_1_if_it_exists_or_add_a_new_declaration_d_ts_file_containing_declare_module_0:diag(7035,S.DiagnosticCategory.Error,"Try_npm_install_types_Slash_1_if_it_exists_or_add_a_new_declaration_d_ts_file_containing_declare_mod_7035","Try `npm install @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,S.DiagnosticCategory.Error,"Dynamic_import_s_specifier_must_be_of_type_string_but_here_has_type_0_7036","Dynamic import's specifier must be of type 'string', but here has type '{0}'."),Enables_emit_interoperability_between_CommonJS_and_ES_Modules_via_creation_of_namespace_objects_for_all_imports_Implies_allowSyntheticDefaultImports:diag(7037,S.DiagnosticCategory.Message,"Enables_emit_interoperability_between_CommonJS_and_ES_Modules_via_creation_of_namespace_objects_for__7037","Enables emit interoperability between CommonJS and ES Modules via creation of namespace objects for all imports. Implies 'allowSyntheticDefaultImports'."),Type_originates_at_this_import_A_namespace_style_import_cannot_be_called_or_constructed_and_will_cause_a_failure_at_runtime_Consider_using_a_default_import_or_import_require_here_instead:diag(7038,S.DiagnosticCategory.Message,"Type_originates_at_this_import_A_namespace_style_import_cannot_be_called_or_constructed_and_will_cau_7038","Type originates at this import. A namespace-style import cannot be called or constructed, and will cause a failure at runtime. Consider using a default import or import require here instead."),Mapped_object_type_implicitly_has_an_any_template_type:diag(7039,S.DiagnosticCategory.Error,"Mapped_object_type_implicitly_has_an_any_template_type_7039","Mapped object type implicitly has an 'any' template type."),If_the_0_package_actually_exposes_this_module_consider_sending_a_pull_request_to_amend_https_Colon_Slash_Slashgithub_com_SlashDefinitelyTyped_SlashDefinitelyTyped_Slashtree_Slashmaster_Slashtypes_Slash_1:diag(7040,S.DiagnosticCategory.Error,"If_the_0_package_actually_exposes_this_module_consider_sending_a_pull_request_to_amend_https_Colon_S_7040","If the '{0}' package actually exposes this module, consider sending a pull request to amend 'https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/{1}`"),The_containing_arrow_function_captures_the_global_value_of_this:diag(7041,S.DiagnosticCategory.Error,"The_containing_arrow_function_captures_the_global_value_of_this_7041","The containing arrow function captures the global value of 'this'."),Module_0_was_resolved_to_1_but_resolveJsonModule_is_not_used:diag(7042,S.DiagnosticCategory.Error,"Module_0_was_resolved_to_1_but_resolveJsonModule_is_not_used_7042","Module '{0}' was resolved to '{1}', but '--resolveJsonModule' is not used."),Variable_0_implicitly_has_an_1_type_but_a_better_type_may_be_inferred_from_usage:diag(7043,S.DiagnosticCategory.Suggestion,"Variable_0_implicitly_has_an_1_type_but_a_better_type_may_be_inferred_from_usage_7043","Variable '{0}' implicitly has an '{1}' type, but a better type may be inferred from usage."),Parameter_0_implicitly_has_an_1_type_but_a_better_type_may_be_inferred_from_usage:diag(7044,S.DiagnosticCategory.Suggestion,"Parameter_0_implicitly_has_an_1_type_but_a_better_type_may_be_inferred_from_usage_7044","Parameter '{0}' implicitly has an '{1}' type, but a better type may be inferred from usage."),Member_0_implicitly_has_an_1_type_but_a_better_type_may_be_inferred_from_usage:diag(7045,S.DiagnosticCategory.Suggestion,"Member_0_implicitly_has_an_1_type_but_a_better_type_may_be_inferred_from_usage_7045","Member '{0}' implicitly has an '{1}' type, but a better type may be inferred from usage."),Variable_0_implicitly_has_type_1_in_some_locations_but_a_better_type_may_be_inferred_from_usage:diag(7046,S.DiagnosticCategory.Suggestion,"Variable_0_implicitly_has_type_1_in_some_locations_but_a_better_type_may_be_inferred_from_usage_7046","Variable '{0}' implicitly has type '{1}' in some locations, but a better type may be inferred from usage."),Rest_parameter_0_implicitly_has_an_any_type_but_a_better_type_may_be_inferred_from_usage:diag(7047,S.DiagnosticCategory.Suggestion,"Rest_parameter_0_implicitly_has_an_any_type_but_a_better_type_may_be_inferred_from_usage_7047","Rest parameter '{0}' implicitly has an 'any[]' type, but a better type may be inferred from usage."),Property_0_implicitly_has_type_any_but_a_better_type_for_its_get_accessor_may_be_inferred_from_usage:diag(7048,S.DiagnosticCategory.Suggestion,"Property_0_implicitly_has_type_any_but_a_better_type_for_its_get_accessor_may_be_inferred_from_usage_7048","Property '{0}' implicitly has type 'any', but a better type for its get accessor may be inferred from usage."),Property_0_implicitly_has_type_any_but_a_better_type_for_its_set_accessor_may_be_inferred_from_usage:diag(7049,S.DiagnosticCategory.Suggestion,"Property_0_implicitly_has_type_any_but_a_better_type_for_its_set_accessor_may_be_inferred_from_usage_7049","Property '{0}' implicitly has type 'any', but a better type for its set accessor may be inferred from usage."),_0_implicitly_has_an_1_return_type_but_a_better_type_may_be_inferred_from_usage:diag(7050,S.DiagnosticCategory.Suggestion,"_0_implicitly_has_an_1_return_type_but_a_better_type_may_be_inferred_from_usage_7050","'{0}' implicitly has an '{1}' return type, but a better type may be inferred from usage."),Parameter_has_a_name_but_no_type_Did_you_mean_0_Colon_1:diag(7051,S.DiagnosticCategory.Error,"Parameter_has_a_name_but_no_type_Did_you_mean_0_Colon_1_7051","Parameter has a name but no type. Did you mean '{0}: {1}'?"),Element_implicitly_has_an_any_type_because_type_0_has_no_index_signature_Did_you_mean_to_call_1:diag(7052,S.DiagnosticCategory.Error,"Element_implicitly_has_an_any_type_because_type_0_has_no_index_signature_Did_you_mean_to_call_1_7052","Element implicitly has an 'any' type because type '{0}' has no index signature. Did you mean to call '{1}'?"),Element_implicitly_has_an_any_type_because_expression_of_type_0_can_t_be_used_to_index_type_1:diag(7053,S.DiagnosticCategory.Error,"Element_implicitly_has_an_any_type_because_expression_of_type_0_can_t_be_used_to_index_type_1_7053","Element implicitly has an 'any' type because expression of type '{0}' can't be used to index type '{1}'."),No_index_signature_with_a_parameter_of_type_0_was_found_on_type_1:diag(7054,S.DiagnosticCategory.Error,"No_index_signature_with_a_parameter_of_type_0_was_found_on_type_1_7054","No index signature with a parameter of type '{0}' was found on type '{1}'."),_0_which_lacks_return_type_annotation_implicitly_has_an_1_yield_type:diag(7055,S.DiagnosticCategory.Error,"_0_which_lacks_return_type_annotation_implicitly_has_an_1_yield_type_7055","'{0}', which lacks return-type annotation, implicitly has an '{1}' yield type."),You_cannot_rename_this_element:diag(8e3,S.DiagnosticCategory.Error,"You_cannot_rename_this_element_8000","You cannot rename this element."),You_cannot_rename_elements_that_are_defined_in_the_standard_TypeScript_library:diag(8001,S.DiagnosticCategory.Error,"You_cannot_rename_elements_that_are_defined_in_the_standard_TypeScript_library_8001","You cannot rename elements that are defined in the standard TypeScript library."),import_can_only_be_used_in_TypeScript_files:diag(8002,S.DiagnosticCategory.Error,"import_can_only_be_used_in_TypeScript_files_8002","'import ... =' can only be used in TypeScript files."),export_can_only_be_used_in_TypeScript_files:diag(8003,S.DiagnosticCategory.Error,"export_can_only_be_used_in_TypeScript_files_8003","'export =' can only be used in TypeScript files."),Type_parameter_declarations_can_only_be_used_in_TypeScript_files:diag(8004,S.DiagnosticCategory.Error,"Type_parameter_declarations_can_only_be_used_in_TypeScript_files_8004","Type parameter declarations can only be used in TypeScript files."),implements_clauses_can_only_be_used_in_TypeScript_files:diag(8005,S.DiagnosticCategory.Error,"implements_clauses_can_only_be_used_in_TypeScript_files_8005","'implements' clauses can only be used in TypeScript files."),_0_declarations_can_only_be_used_in_TypeScript_files:diag(8006,S.DiagnosticCategory.Error,"_0_declarations_can_only_be_used_in_TypeScript_files_8006","'{0}' declarations can only be used in TypeScript files."),Type_aliases_can_only_be_used_in_TypeScript_files:diag(8008,S.DiagnosticCategory.Error,"Type_aliases_can_only_be_used_in_TypeScript_files_8008","Type aliases can only be used in TypeScript files."),The_0_modifier_can_only_be_used_in_TypeScript_files:diag(8009,S.DiagnosticCategory.Error,"The_0_modifier_can_only_be_used_in_TypeScript_files_8009","The '{0}' modifier can only be used in TypeScript files."),Type_annotations_can_only_be_used_in_TypeScript_files:diag(8010,S.DiagnosticCategory.Error,"Type_annotations_can_only_be_used_in_TypeScript_files_8010","Type annotations can only be used in TypeScript files."),Type_arguments_can_only_be_used_in_TypeScript_files:diag(8011,S.DiagnosticCategory.Error,"Type_arguments_can_only_be_used_in_TypeScript_files_8011","Type arguments can only be used in TypeScript files."),Parameter_modifiers_can_only_be_used_in_TypeScript_files:diag(8012,S.DiagnosticCategory.Error,"Parameter_modifiers_can_only_be_used_in_TypeScript_files_8012","Parameter modifiers can only be used in TypeScript files."),Non_null_assertions_can_only_be_used_in_TypeScript_files:diag(8013,S.DiagnosticCategory.Error,"Non_null_assertions_can_only_be_used_in_TypeScript_files_8013","Non-null assertions can only be used in TypeScript files."),Type_assertion_expressions_can_only_be_used_in_TypeScript_files:diag(8016,S.DiagnosticCategory.Error,"Type_assertion_expressions_can_only_be_used_in_TypeScript_files_8016","Type assertion expressions can only be used in TypeScript files."),Octal_literal_types_must_use_ES2015_syntax_Use_the_syntax_0:diag(8017,S.DiagnosticCategory.Error,"Octal_literal_types_must_use_ES2015_syntax_Use_the_syntax_0_8017","Octal literal types must use ES2015 syntax. Use the syntax '{0}'."),Octal_literals_are_not_allowed_in_enums_members_initializer_Use_the_syntax_0:diag(8018,S.DiagnosticCategory.Error,"Octal_literals_are_not_allowed_in_enums_members_initializer_Use_the_syntax_0_8018","Octal literals are not allowed in enums members initializer. Use the syntax '{0}'."),Report_errors_in_js_files:diag(8019,S.DiagnosticCategory.Message,"Report_errors_in_js_files_8019","Report errors in .js files."),JSDoc_types_can_only_be_used_inside_documentation_comments:diag(8020,S.DiagnosticCategory.Error,"JSDoc_types_can_only_be_used_inside_documentation_comments_8020","JSDoc types can only be used inside documentation comments."),JSDoc_typedef_tag_should_either_have_a_type_annotation_or_be_followed_by_property_or_member_tags:diag(8021,S.DiagnosticCategory.Error,"JSDoc_typedef_tag_should_either_have_a_type_annotation_or_be_followed_by_property_or_member_tags_8021","JSDoc '@typedef' tag should either have a type annotation or be followed by '@property' or '@member' tags."),JSDoc_0_is_not_attached_to_a_class:diag(8022,S.DiagnosticCategory.Error,"JSDoc_0_is_not_attached_to_a_class_8022","JSDoc '@{0}' is not attached to a class."),JSDoc_0_1_does_not_match_the_extends_2_clause:diag(8023,S.DiagnosticCategory.Error,"JSDoc_0_1_does_not_match_the_extends_2_clause_8023","JSDoc '@{0} {1}' does not match the 'extends {2}' clause."),JSDoc_param_tag_has_name_0_but_there_is_no_parameter_with_that_name:diag(8024,S.DiagnosticCategory.Error,"JSDoc_param_tag_has_name_0_but_there_is_no_parameter_with_that_name_8024","JSDoc '@param' tag has name '{0}', but there is no parameter with that name."),Class_declarations_cannot_have_more_than_one_augments_or_extends_tag:diag(8025,S.DiagnosticCategory.Error,"Class_declarations_cannot_have_more_than_one_augments_or_extends_tag_8025","Class declarations cannot have more than one `@augments` or `@extends` tag."),Expected_0_type_arguments_provide_these_with_an_extends_tag:diag(8026,S.DiagnosticCategory.Error,"Expected_0_type_arguments_provide_these_with_an_extends_tag_8026","Expected {0} type arguments; provide these with an '@extends' tag."),Expected_0_1_type_arguments_provide_these_with_an_extends_tag:diag(8027,S.DiagnosticCategory.Error,"Expected_0_1_type_arguments_provide_these_with_an_extends_tag_8027","Expected {0}-{1} type arguments; provide these with an '@extends' tag."),JSDoc_may_only_appear_in_the_last_parameter_of_a_signature:diag(8028,S.DiagnosticCategory.Error,"JSDoc_may_only_appear_in_the_last_parameter_of_a_signature_8028","JSDoc '...' may only appear in the last parameter of a signature."),JSDoc_param_tag_has_name_0_but_there_is_no_parameter_with_that_name_It_would_match_arguments_if_it_had_an_array_type:diag(8029,S.DiagnosticCategory.Error,"JSDoc_param_tag_has_name_0_but_there_is_no_parameter_with_that_name_It_would_match_arguments_if_it_h_8029","JSDoc '@param' tag has name '{0}', but there is no parameter with that name. It would match 'arguments' if it had an array type."),The_type_of_a_function_declaration_must_match_the_function_s_signature:diag(8030,S.DiagnosticCategory.Error,"The_type_of_a_function_declaration_must_match_the_function_s_signature_8030","The type of a function declaration must match the function's signature."),You_cannot_rename_a_module_via_a_global_import:diag(8031,S.DiagnosticCategory.Error,"You_cannot_rename_a_module_via_a_global_import_8031","You cannot rename a module via a global import."),Qualified_name_0_is_not_allowed_without_a_leading_param_object_1:diag(8032,S.DiagnosticCategory.Error,"Qualified_name_0_is_not_allowed_without_a_leading_param_object_1_8032","Qualified name '{0}' is not allowed without a leading '@param {object} {1}'."),Only_identifiers_Slashqualified_names_with_optional_type_arguments_are_currently_supported_in_a_class_extends_clause:diag(9002,S.DiagnosticCategory.Error,"Only_identifiers_Slashqualified_names_with_optional_type_arguments_are_currently_supported_in_a_clas_9002","Only identifiers/qualified-names with optional type arguments are currently supported in a class 'extends' clause."),class_expressions_are_not_currently_supported:diag(9003,S.DiagnosticCategory.Error,"class_expressions_are_not_currently_supported_9003","'class' expressions are not currently supported."),Language_service_is_disabled:diag(9004,S.DiagnosticCategory.Error,"Language_service_is_disabled_9004","Language service is disabled."),Declaration_emit_for_this_file_requires_using_private_name_0_An_explicit_type_annotation_may_unblock_declaration_emit:diag(9005,S.DiagnosticCategory.Error,"Declaration_emit_for_this_file_requires_using_private_name_0_An_explicit_type_annotation_may_unblock_9005","Declaration emit for this file requires using private name '{0}'. An explicit type annotation may unblock declaration emit."),Declaration_emit_for_this_file_requires_using_private_name_0_from_module_1_An_explicit_type_annotation_may_unblock_declaration_emit:diag(9006,S.DiagnosticCategory.Error,"Declaration_emit_for_this_file_requires_using_private_name_0_from_module_1_An_explicit_type_annotati_9006","Declaration emit for this file requires using private name '{0}' from module '{1}'. An explicit type annotation may unblock declaration emit."),JSX_attributes_must_only_be_assigned_a_non_empty_expression:diag(17e3,S.DiagnosticCategory.Error,"JSX_attributes_must_only_be_assigned_a_non_empty_expression_17000","JSX attributes must only be assigned a non-empty 'expression'."),JSX_elements_cannot_have_multiple_attributes_with_the_same_name:diag(17001,S.DiagnosticCategory.Error,"JSX_elements_cannot_have_multiple_attributes_with_the_same_name_17001","JSX elements cannot have multiple attributes with the same name."),Expected_corresponding_JSX_closing_tag_for_0:diag(17002,S.DiagnosticCategory.Error,"Expected_corresponding_JSX_closing_tag_for_0_17002","Expected corresponding JSX closing tag for '{0}'."),JSX_attribute_expected:diag(17003,S.DiagnosticCategory.Error,"JSX_attribute_expected_17003","JSX attribute expected."),Cannot_use_JSX_unless_the_jsx_flag_is_provided:diag(17004,S.DiagnosticCategory.Error,"Cannot_use_JSX_unless_the_jsx_flag_is_provided_17004","Cannot use JSX unless the '--jsx' flag is provided."),A_constructor_cannot_contain_a_super_call_when_its_class_extends_null:diag(17005,S.DiagnosticCategory.Error,"A_constructor_cannot_contain_a_super_call_when_its_class_extends_null_17005","A constructor cannot contain a 'super' call when its class extends 'null'."),An_unary_expression_with_the_0_operator_is_not_allowed_in_the_left_hand_side_of_an_exponentiation_expression_Consider_enclosing_the_expression_in_parentheses:diag(17006,S.DiagnosticCategory.Error,"An_unary_expression_with_the_0_operator_is_not_allowed_in_the_left_hand_side_of_an_exponentiation_ex_17006","An unary expression with the '{0}' operator is not allowed in the left-hand side of an exponentiation expression. Consider enclosing the expression in parentheses."),A_type_assertion_expression_is_not_allowed_in_the_left_hand_side_of_an_exponentiation_expression_Consider_enclosing_the_expression_in_parentheses:diag(17007,S.DiagnosticCategory.Error,"A_type_assertion_expression_is_not_allowed_in_the_left_hand_side_of_an_exponentiation_expression_Con_17007","A type assertion expression is not allowed in the left-hand side of an exponentiation expression. Consider enclosing the expression in parentheses."),JSX_element_0_has_no_corresponding_closing_tag:diag(17008,S.DiagnosticCategory.Error,"JSX_element_0_has_no_corresponding_closing_tag_17008","JSX element '{0}' has no corresponding closing tag."),super_must_be_called_before_accessing_this_in_the_constructor_of_a_derived_class:diag(17009,S.DiagnosticCategory.Error,"super_must_be_called_before_accessing_this_in_the_constructor_of_a_derived_class_17009","'super' must be called before accessing 'this' in the constructor of a derived class."),Unknown_type_acquisition_option_0:diag(17010,S.DiagnosticCategory.Error,"Unknown_type_acquisition_option_0_17010","Unknown type acquisition option '{0}'."),super_must_be_called_before_accessing_a_property_of_super_in_the_constructor_of_a_derived_class:diag(17011,S.DiagnosticCategory.Error,"super_must_be_called_before_accessing_a_property_of_super_in_the_constructor_of_a_derived_class_17011","'super' must be called before accessing a property of 'super' in the constructor of a derived class."),_0_is_not_a_valid_meta_property_for_keyword_1_Did_you_mean_2:diag(17012,S.DiagnosticCategory.Error,"_0_is_not_a_valid_meta_property_for_keyword_1_Did_you_mean_2_17012","'{0}' is not a valid meta-property for keyword '{1}'. Did you mean '{2}'?"),Meta_property_0_is_only_allowed_in_the_body_of_a_function_declaration_function_expression_or_constructor:diag(17013,S.DiagnosticCategory.Error,"Meta_property_0_is_only_allowed_in_the_body_of_a_function_declaration_function_expression_or_constru_17013","Meta-property '{0}' is only allowed in the body of a function declaration, function expression, or constructor."),JSX_fragment_has_no_corresponding_closing_tag:diag(17014,S.DiagnosticCategory.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,S.DiagnosticCategory.Error,"Expected_corresponding_closing_tag_for_JSX_fragment_17015","Expected corresponding closing tag for JSX fragment."),JSX_fragment_is_not_supported_when_using_jsxFactory:diag(17016,S.DiagnosticCategory.Error,"JSX_fragment_is_not_supported_when_using_jsxFactory_17016","JSX fragment is not supported when using --jsxFactory"),JSX_fragment_is_not_supported_when_using_an_inline_JSX_factory_pragma:diag(17017,S.DiagnosticCategory.Error,"JSX_fragment_is_not_supported_when_using_an_inline_JSX_factory_pragma_17017","JSX fragment is not supported when using an inline JSX factory pragma"),Unknown_type_acquisition_option_0_Did_you_mean_1:diag(17018,S.DiagnosticCategory.Error,"Unknown_type_acquisition_option_0_Did_you_mean_1_17018","Unknown type acquisition option '{0}'. Did you mean '{1}'?"),Circularity_detected_while_resolving_configuration_Colon_0:diag(18e3,S.DiagnosticCategory.Error,"Circularity_detected_while_resolving_configuration_Colon_0_18000","Circularity detected while resolving configuration: {0}"),A_path_in_an_extends_option_must_be_relative_or_rooted_but_0_is_not:diag(18001,S.DiagnosticCategory.Error,"A_path_in_an_extends_option_must_be_relative_or_rooted_but_0_is_not_18001","A path in an 'extends' option must be relative or rooted, but '{0}' is not."),The_files_list_in_config_file_0_is_empty:diag(18002,S.DiagnosticCategory.Error,"The_files_list_in_config_file_0_is_empty_18002","The 'files' list in config file '{0}' is empty."),No_inputs_were_found_in_config_file_0_Specified_include_paths_were_1_and_exclude_paths_were_2:diag(18003,S.DiagnosticCategory.Error,"No_inputs_were_found_in_config_file_0_Specified_include_paths_were_1_and_exclude_paths_were_2_18003","No inputs were found in config file '{0}'. Specified 'include' paths were '{1}' and 'exclude' paths were '{2}'."),File_is_a_CommonJS_module_it_may_be_converted_to_an_ES6_module:diag(80001,S.DiagnosticCategory.Suggestion,"File_is_a_CommonJS_module_it_may_be_converted_to_an_ES6_module_80001","File is a CommonJS module; it may be converted to an ES6 module."),This_constructor_function_may_be_converted_to_a_class_declaration:diag(80002,S.DiagnosticCategory.Suggestion,"This_constructor_function_may_be_converted_to_a_class_declaration_80002","This constructor function may be converted to a class declaration."),Import_may_be_converted_to_a_default_import:diag(80003,S.DiagnosticCategory.Suggestion,"Import_may_be_converted_to_a_default_import_80003","Import may be converted to a default import."),JSDoc_types_may_be_moved_to_TypeScript_types:diag(80004,S.DiagnosticCategory.Suggestion,"JSDoc_types_may_be_moved_to_TypeScript_types_80004","JSDoc types may be moved to TypeScript types."),require_call_may_be_converted_to_an_import:diag(80005,S.DiagnosticCategory.Suggestion,"require_call_may_be_converted_to_an_import_80005","'require' call may be converted to an import."),This_may_be_converted_to_an_async_function:diag(80006,S.DiagnosticCategory.Suggestion,"This_may_be_converted_to_an_async_function_80006","This may be converted to an async function."),await_has_no_effect_on_the_type_of_this_expression:diag(80007,S.DiagnosticCategory.Suggestion,"await_has_no_effect_on_the_type_of_this_expression_80007","'await' has no effect on the type of this expression."),Numeric_literals_with_absolute_values_equal_to_2_53_or_greater_are_too_large_to_be_represented_accurately_as_integers:diag(80008,S.DiagnosticCategory.Suggestion,"Numeric_literals_with_absolute_values_equal_to_2_53_or_greater_are_too_large_to_be_represented_accur_80008","Numeric literals with absolute values equal to 2^53 or greater are too large to be represented accurately as integers."),Add_missing_super_call:diag(90001,S.DiagnosticCategory.Message,"Add_missing_super_call_90001","Add missing 'super()' call"),Make_super_call_the_first_statement_in_the_constructor:diag(90002,S.DiagnosticCategory.Message,"Make_super_call_the_first_statement_in_the_constructor_90002","Make 'super()' call the first statement in the constructor"),Change_extends_to_implements:diag(90003,S.DiagnosticCategory.Message,"Change_extends_to_implements_90003","Change 'extends' to 'implements'"),Remove_unused_declaration_for_Colon_0:diag(90004,S.DiagnosticCategory.Message,"Remove_unused_declaration_for_Colon_0_90004","Remove unused declaration for: '{0}'"),Remove_import_from_0:diag(90005,S.DiagnosticCategory.Message,"Remove_import_from_0_90005","Remove import from '{0}'"),Implement_interface_0:diag(90006,S.DiagnosticCategory.Message,"Implement_interface_0_90006","Implement interface '{0}'"),Implement_inherited_abstract_class:diag(90007,S.DiagnosticCategory.Message,"Implement_inherited_abstract_class_90007","Implement inherited abstract class"),Add_0_to_unresolved_variable:diag(90008,S.DiagnosticCategory.Message,"Add_0_to_unresolved_variable_90008","Add '{0}.' to unresolved variable"),Remove_destructuring:diag(90009,S.DiagnosticCategory.Message,"Remove_destructuring_90009","Remove destructuring"),Remove_variable_statement:diag(90010,S.DiagnosticCategory.Message,"Remove_variable_statement_90010","Remove variable statement"),Remove_template_tag:diag(90011,S.DiagnosticCategory.Message,"Remove_template_tag_90011","Remove template tag"),Remove_type_parameters:diag(90012,S.DiagnosticCategory.Message,"Remove_type_parameters_90012","Remove type parameters"),Import_0_from_module_1:diag(90013,S.DiagnosticCategory.Message,"Import_0_from_module_1_90013","Import '{0}' from module \"{1}\""),Change_0_to_1:diag(90014,S.DiagnosticCategory.Message,"Change_0_to_1_90014","Change '{0}' to '{1}'"),Add_0_to_existing_import_declaration_from_1:diag(90015,S.DiagnosticCategory.Message,"Add_0_to_existing_import_declaration_from_1_90015","Add '{0}' to existing import declaration from \"{1}\""),Declare_property_0:diag(90016,S.DiagnosticCategory.Message,"Declare_property_0_90016","Declare property '{0}'"),Add_index_signature_for_property_0:diag(90017,S.DiagnosticCategory.Message,"Add_index_signature_for_property_0_90017","Add index signature for property '{0}'"),Disable_checking_for_this_file:diag(90018,S.DiagnosticCategory.Message,"Disable_checking_for_this_file_90018","Disable checking for this file"),Ignore_this_error_message:diag(90019,S.DiagnosticCategory.Message,"Ignore_this_error_message_90019","Ignore this error message"),Initialize_property_0_in_the_constructor:diag(90020,S.DiagnosticCategory.Message,"Initialize_property_0_in_the_constructor_90020","Initialize property '{0}' in the constructor"),Initialize_static_property_0:diag(90021,S.DiagnosticCategory.Message,"Initialize_static_property_0_90021","Initialize static property '{0}'"),Change_spelling_to_0:diag(90022,S.DiagnosticCategory.Message,"Change_spelling_to_0_90022","Change spelling to '{0}'"),Declare_method_0:diag(90023,S.DiagnosticCategory.Message,"Declare_method_0_90023","Declare method '{0}'"),Declare_static_method_0:diag(90024,S.DiagnosticCategory.Message,"Declare_static_method_0_90024","Declare static method '{0}'"),Prefix_0_with_an_underscore:diag(90025,S.DiagnosticCategory.Message,"Prefix_0_with_an_underscore_90025","Prefix '{0}' with an underscore"),Rewrite_as_the_indexed_access_type_0:diag(90026,S.DiagnosticCategory.Message,"Rewrite_as_the_indexed_access_type_0_90026","Rewrite as the indexed access type '{0}'"),Declare_static_property_0:diag(90027,S.DiagnosticCategory.Message,"Declare_static_property_0_90027","Declare static property '{0}'"),Call_decorator_expression:diag(90028,S.DiagnosticCategory.Message,"Call_decorator_expression_90028","Call decorator expression"),Add_async_modifier_to_containing_function:diag(90029,S.DiagnosticCategory.Message,"Add_async_modifier_to_containing_function_90029","Add async modifier to containing function"),Replace_infer_0_with_unknown:diag(90030,S.DiagnosticCategory.Message,"Replace_infer_0_with_unknown_90030","Replace 'infer {0}' with 'unknown'"),Replace_all_unused_infer_with_unknown:diag(90031,S.DiagnosticCategory.Message,"Replace_all_unused_infer_with_unknown_90031","Replace all unused 'infer' with 'unknown'"),Import_default_0_from_module_1:diag(90032,S.DiagnosticCategory.Message,"Import_default_0_from_module_1_90032","Import default '{0}' from module \"{1}\""),Add_default_import_0_to_existing_import_declaration_from_1:diag(90033,S.DiagnosticCategory.Message,"Add_default_import_0_to_existing_import_declaration_from_1_90033","Add default import '{0}' to existing import declaration from \"{1}\""),Add_parameter_name:diag(90034,S.DiagnosticCategory.Message,"Add_parameter_name_90034","Add parameter name"),Declare_private_property_0:diag(90035,S.DiagnosticCategory.Message,"Declare_private_property_0_90035","Declare private property '{0}'"),Declare_a_private_field_named_0:diag(90053,S.DiagnosticCategory.Message,"Declare_a_private_field_named_0_90053","Declare a private field named '{0}'."),Convert_function_to_an_ES2015_class:diag(95001,S.DiagnosticCategory.Message,"Convert_function_to_an_ES2015_class_95001","Convert function to an ES2015 class"),Convert_function_0_to_class:diag(95002,S.DiagnosticCategory.Message,"Convert_function_0_to_class_95002","Convert function '{0}' to class"),Extract_to_0_in_1:diag(95004,S.DiagnosticCategory.Message,"Extract_to_0_in_1_95004","Extract to {0} in {1}"),Extract_function:diag(95005,S.DiagnosticCategory.Message,"Extract_function_95005","Extract function"),Extract_constant:diag(95006,S.DiagnosticCategory.Message,"Extract_constant_95006","Extract constant"),Extract_to_0_in_enclosing_scope:diag(95007,S.DiagnosticCategory.Message,"Extract_to_0_in_enclosing_scope_95007","Extract to {0} in enclosing scope"),Extract_to_0_in_1_scope:diag(95008,S.DiagnosticCategory.Message,"Extract_to_0_in_1_scope_95008","Extract to {0} in {1} scope"),Annotate_with_type_from_JSDoc:diag(95009,S.DiagnosticCategory.Message,"Annotate_with_type_from_JSDoc_95009","Annotate with type from JSDoc"),Annotate_with_types_from_JSDoc:diag(95010,S.DiagnosticCategory.Message,"Annotate_with_types_from_JSDoc_95010","Annotate with types from JSDoc"),Infer_type_of_0_from_usage:diag(95011,S.DiagnosticCategory.Message,"Infer_type_of_0_from_usage_95011","Infer type of '{0}' from usage"),Infer_parameter_types_from_usage:diag(95012,S.DiagnosticCategory.Message,"Infer_parameter_types_from_usage_95012","Infer parameter types from usage"),Convert_to_default_import:diag(95013,S.DiagnosticCategory.Message,"Convert_to_default_import_95013","Convert to default import"),Install_0:diag(95014,S.DiagnosticCategory.Message,"Install_0_95014","Install '{0}'"),Replace_import_with_0:diag(95015,S.DiagnosticCategory.Message,"Replace_import_with_0_95015","Replace import with '{0}'."),Use_synthetic_default_member:diag(95016,S.DiagnosticCategory.Message,"Use_synthetic_default_member_95016","Use synthetic 'default' member."),Convert_to_ES6_module:diag(95017,S.DiagnosticCategory.Message,"Convert_to_ES6_module_95017","Convert to ES6 module"),Add_undefined_type_to_property_0:diag(95018,S.DiagnosticCategory.Message,"Add_undefined_type_to_property_0_95018","Add 'undefined' type to property '{0}'"),Add_initializer_to_property_0:diag(95019,S.DiagnosticCategory.Message,"Add_initializer_to_property_0_95019","Add initializer to property '{0}'"),Add_definite_assignment_assertion_to_property_0:diag(95020,S.DiagnosticCategory.Message,"Add_definite_assignment_assertion_to_property_0_95020","Add definite assignment assertion to property '{0}'"),Add_all_missing_members:diag(95022,S.DiagnosticCategory.Message,"Add_all_missing_members_95022","Add all missing members"),Infer_all_types_from_usage:diag(95023,S.DiagnosticCategory.Message,"Infer_all_types_from_usage_95023","Infer all types from usage"),Delete_all_unused_declarations:diag(95024,S.DiagnosticCategory.Message,"Delete_all_unused_declarations_95024","Delete all unused declarations"),Prefix_all_unused_declarations_with_where_possible:diag(95025,S.DiagnosticCategory.Message,"Prefix_all_unused_declarations_with_where_possible_95025","Prefix all unused declarations with '_' where possible"),Fix_all_detected_spelling_errors:diag(95026,S.DiagnosticCategory.Message,"Fix_all_detected_spelling_errors_95026","Fix all detected spelling errors"),Add_initializers_to_all_uninitialized_properties:diag(95027,S.DiagnosticCategory.Message,"Add_initializers_to_all_uninitialized_properties_95027","Add initializers to all uninitialized properties"),Add_definite_assignment_assertions_to_all_uninitialized_properties:diag(95028,S.DiagnosticCategory.Message,"Add_definite_assignment_assertions_to_all_uninitialized_properties_95028","Add definite assignment assertions to all uninitialized properties"),Add_undefined_type_to_all_uninitialized_properties:diag(95029,S.DiagnosticCategory.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,S.DiagnosticCategory.Message,"Change_all_jsdoc_style_types_to_TypeScript_95030","Change all jsdoc-style types to TypeScript"),Change_all_jsdoc_style_types_to_TypeScript_and_add_undefined_to_nullable_types:diag(95031,S.DiagnosticCategory.Message,"Change_all_jsdoc_style_types_to_TypeScript_and_add_undefined_to_nullable_types_95031","Change all jsdoc-style types to TypeScript (and add '| undefined' to nullable types)"),Implement_all_unimplemented_interfaces:diag(95032,S.DiagnosticCategory.Message,"Implement_all_unimplemented_interfaces_95032","Implement all unimplemented interfaces"),Install_all_missing_types_packages:diag(95033,S.DiagnosticCategory.Message,"Install_all_missing_types_packages_95033","Install all missing types packages"),Rewrite_all_as_indexed_access_types:diag(95034,S.DiagnosticCategory.Message,"Rewrite_all_as_indexed_access_types_95034","Rewrite all as indexed access types"),Convert_all_to_default_imports:diag(95035,S.DiagnosticCategory.Message,"Convert_all_to_default_imports_95035","Convert all to default imports"),Make_all_super_calls_the_first_statement_in_their_constructor:diag(95036,S.DiagnosticCategory.Message,"Make_all_super_calls_the_first_statement_in_their_constructor_95036","Make all 'super()' calls the first statement in their constructor"),Add_qualifier_to_all_unresolved_variables_matching_a_member_name:diag(95037,S.DiagnosticCategory.Message,"Add_qualifier_to_all_unresolved_variables_matching_a_member_name_95037","Add qualifier to all unresolved variables matching a member name"),Change_all_extended_interfaces_to_implements:diag(95038,S.DiagnosticCategory.Message,"Change_all_extended_interfaces_to_implements_95038","Change all extended interfaces to 'implements'"),Add_all_missing_super_calls:diag(95039,S.DiagnosticCategory.Message,"Add_all_missing_super_calls_95039","Add all missing super calls"),Implement_all_inherited_abstract_classes:diag(95040,S.DiagnosticCategory.Message,"Implement_all_inherited_abstract_classes_95040","Implement all inherited abstract classes"),Add_all_missing_async_modifiers:diag(95041,S.DiagnosticCategory.Message,"Add_all_missing_async_modifiers_95041","Add all missing 'async' modifiers"),Add_ts_ignore_to_all_error_messages:diag(95042,S.DiagnosticCategory.Message,"Add_ts_ignore_to_all_error_messages_95042","Add '@ts-ignore' to all error messages"),Annotate_everything_with_types_from_JSDoc:diag(95043,S.DiagnosticCategory.Message,"Annotate_everything_with_types_from_JSDoc_95043","Annotate everything with types from JSDoc"),Add_to_all_uncalled_decorators:diag(95044,S.DiagnosticCategory.Message,"Add_to_all_uncalled_decorators_95044","Add '()' to all uncalled decorators"),Convert_all_constructor_functions_to_classes:diag(95045,S.DiagnosticCategory.Message,"Convert_all_constructor_functions_to_classes_95045","Convert all constructor functions to classes"),Generate_get_and_set_accessors:diag(95046,S.DiagnosticCategory.Message,"Generate_get_and_set_accessors_95046","Generate 'get' and 'set' accessors"),Convert_require_to_import:diag(95047,S.DiagnosticCategory.Message,"Convert_require_to_import_95047","Convert 'require' to 'import'"),Convert_all_require_to_import:diag(95048,S.DiagnosticCategory.Message,"Convert_all_require_to_import_95048","Convert all 'require' to 'import'"),Move_to_a_new_file:diag(95049,S.DiagnosticCategory.Message,"Move_to_a_new_file_95049","Move to a new file"),Remove_unreachable_code:diag(95050,S.DiagnosticCategory.Message,"Remove_unreachable_code_95050","Remove unreachable code"),Remove_all_unreachable_code:diag(95051,S.DiagnosticCategory.Message,"Remove_all_unreachable_code_95051","Remove all unreachable code"),Add_missing_typeof:diag(95052,S.DiagnosticCategory.Message,"Add_missing_typeof_95052","Add missing 'typeof'"),Remove_unused_label:diag(95053,S.DiagnosticCategory.Message,"Remove_unused_label_95053","Remove unused label"),Remove_all_unused_labels:diag(95054,S.DiagnosticCategory.Message,"Remove_all_unused_labels_95054","Remove all unused labels"),Convert_0_to_mapped_object_type:diag(95055,S.DiagnosticCategory.Message,"Convert_0_to_mapped_object_type_95055","Convert '{0}' to mapped object type"),Convert_namespace_import_to_named_imports:diag(95056,S.DiagnosticCategory.Message,"Convert_namespace_import_to_named_imports_95056","Convert namespace import to named imports"),Convert_named_imports_to_namespace_import:diag(95057,S.DiagnosticCategory.Message,"Convert_named_imports_to_namespace_import_95057","Convert named imports to namespace import"),Add_or_remove_braces_in_an_arrow_function:diag(95058,S.DiagnosticCategory.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,S.DiagnosticCategory.Message,"Add_braces_to_arrow_function_95059","Add braces to arrow function"),Remove_braces_from_arrow_function:diag(95060,S.DiagnosticCategory.Message,"Remove_braces_from_arrow_function_95060","Remove braces from arrow function"),Convert_default_export_to_named_export:diag(95061,S.DiagnosticCategory.Message,"Convert_default_export_to_named_export_95061","Convert default export to named export"),Convert_named_export_to_default_export:diag(95062,S.DiagnosticCategory.Message,"Convert_named_export_to_default_export_95062","Convert named export to default export"),Add_missing_enum_member_0:diag(95063,S.DiagnosticCategory.Message,"Add_missing_enum_member_0_95063","Add missing enum member '{0}'"),Add_all_missing_imports:diag(95064,S.DiagnosticCategory.Message,"Add_all_missing_imports_95064","Add all missing imports"),Convert_to_async_function:diag(95065,S.DiagnosticCategory.Message,"Convert_to_async_function_95065","Convert to async function"),Convert_all_to_async_functions:diag(95066,S.DiagnosticCategory.Message,"Convert_all_to_async_functions_95066","Convert all to async functions"),Add_missing_call_parentheses:diag(95067,S.DiagnosticCategory.Message,"Add_missing_call_parentheses_95067","Add missing call parentheses"),Add_all_missing_call_parentheses:diag(95068,S.DiagnosticCategory.Message,"Add_all_missing_call_parentheses_95068","Add all missing call parentheses"),Add_unknown_conversion_for_non_overlapping_types:diag(95069,S.DiagnosticCategory.Message,"Add_unknown_conversion_for_non_overlapping_types_95069","Add 'unknown' conversion for non-overlapping types"),Add_unknown_to_all_conversions_of_non_overlapping_types:diag(95070,S.DiagnosticCategory.Message,"Add_unknown_to_all_conversions_of_non_overlapping_types_95070","Add 'unknown' to all conversions of non-overlapping types"),Add_missing_new_operator_to_call:diag(95071,S.DiagnosticCategory.Message,"Add_missing_new_operator_to_call_95071","Add missing 'new' operator to call"),Add_missing_new_operator_to_all_calls:diag(95072,S.DiagnosticCategory.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,S.DiagnosticCategory.Message,"Add_names_to_all_parameters_without_names_95073","Add names to all parameters without names"),Enable_the_experimentalDecorators_option_in_your_configuration_file:diag(95074,S.DiagnosticCategory.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,S.DiagnosticCategory.Message,"Convert_parameters_to_destructured_object_95075","Convert parameters to destructured object"),Allow_accessing_UMD_globals_from_modules:diag(95076,S.DiagnosticCategory.Message,"Allow_accessing_UMD_globals_from_modules_95076","Allow accessing UMD globals from modules."),Extract_type:diag(95077,S.DiagnosticCategory.Message,"Extract_type_95077","Extract type"),Extract_to_type_alias:diag(95078,S.DiagnosticCategory.Message,"Extract_to_type_alias_95078","Extract to type alias"),Extract_to_typedef:diag(95079,S.DiagnosticCategory.Message,"Extract_to_typedef_95079","Extract to typedef"),Infer_this_type_of_0_from_usage:diag(95080,S.DiagnosticCategory.Message,"Infer_this_type_of_0_from_usage_95080","Infer 'this' type of '{0}' from usage"),Add_const_to_unresolved_variable:diag(95081,S.DiagnosticCategory.Message,"Add_const_to_unresolved_variable_95081","Add 'const' to unresolved variable"),Add_const_to_all_unresolved_variables:diag(95082,S.DiagnosticCategory.Message,"Add_const_to_all_unresolved_variables_95082","Add 'const' to all unresolved variables"),Add_await:diag(95083,S.DiagnosticCategory.Message,"Add_await_95083","Add 'await'"),Add_await_to_initializer_for_0:diag(95084,S.DiagnosticCategory.Message,"Add_await_to_initializer_for_0_95084","Add 'await' to initializer for '{0}'"),Fix_all_expressions_possibly_missing_await:diag(95085,S.DiagnosticCategory.Message,"Fix_all_expressions_possibly_missing_await_95085","Fix all expressions possibly missing 'await'"),Remove_unnecessary_await:diag(95086,S.DiagnosticCategory.Message,"Remove_unnecessary_await_95086","Remove unnecessary 'await'"),Remove_all_unnecessary_uses_of_await:diag(95087,S.DiagnosticCategory.Message,"Remove_all_unnecessary_uses_of_await_95087","Remove all unnecessary uses of 'await'"),Enable_the_jsx_flag_in_your_configuration_file:diag(95088,S.DiagnosticCategory.Message,"Enable_the_jsx_flag_in_your_configuration_file_95088","Enable the '--jsx' flag in your configuration file"),Add_await_to_initializers:diag(95089,S.DiagnosticCategory.Message,"Add_await_to_initializers_95089","Add 'await' to initializers"),Extract_to_interface:diag(95090,S.DiagnosticCategory.Message,"Extract_to_interface_95090","Extract to interface"),Convert_to_a_bigint_numeric_literal:diag(95091,S.DiagnosticCategory.Message,"Convert_to_a_bigint_numeric_literal_95091","Convert to a bigint numeric literal"),Convert_all_to_bigint_numeric_literals:diag(95092,S.DiagnosticCategory.Message,"Convert_all_to_bigint_numeric_literals_95092","Convert all to bigint numeric literals"),Convert_const_to_let:diag(95093,S.DiagnosticCategory.Message,"Convert_const_to_let_95093","Convert 'const' to 'let'"),Prefix_with_declare:diag(95094,S.DiagnosticCategory.Message,"Prefix_with_declare_95094","Prefix with 'declare'"),Prefix_all_incorrect_property_declarations_with_declare:diag(95095,S.DiagnosticCategory.Message,"Prefix_all_incorrect_property_declarations_with_declare_95095","Prefix all incorrect property declarations with 'declare'"),Convert_to_template_string:diag(95096,S.DiagnosticCategory.Message,"Convert_to_template_string_95096","Convert to template string"),Add_export_to_make_this_file_into_a_module:diag(95097,S.DiagnosticCategory.Message,"Add_export_to_make_this_file_into_a_module_95097","Add 'export {}' to make this file into a module"),Set_the_target_option_in_your_configuration_file_to_0:diag(95098,S.DiagnosticCategory.Message,"Set_the_target_option_in_your_configuration_file_to_0_95098","Set the 'target' option in your configuration file to '{0}'"),Set_the_module_option_in_your_configuration_file_to_0:diag(95099,S.DiagnosticCategory.Message,"Set_the_module_option_in_your_configuration_file_to_0_95099","Set the 'module' option in your configuration file to '{0}'"),Convert_invalid_character_to_its_html_entity_code:diag(95100,S.DiagnosticCategory.Message,"Convert_invalid_character_to_its_html_entity_code_95100","Convert invalid character to its html entity code"),Convert_all_invalid_characters_to_HTML_entity_code:diag(95101,S.DiagnosticCategory.Message,"Convert_all_invalid_characters_to_HTML_entity_code_95101","Convert all invalid characters to HTML entity code"),Add_class_tag:diag(95102,S.DiagnosticCategory.Message,"Add_class_tag_95102","Add '@class' tag"),Add_this_tag:diag(95103,S.DiagnosticCategory.Message,"Add_this_tag_95103","Add '@this' tag"),Add_this_parameter:diag(95104,S.DiagnosticCategory.Message,"Add_this_parameter_95104","Add 'this' parameter."),Convert_function_expression_0_to_arrow_function:diag(95105,S.DiagnosticCategory.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,S.DiagnosticCategory.Message,"Convert_function_declaration_0_to_arrow_function_95106","Convert function declaration '{0}' to arrow function"),Fix_all_implicit_this_errors:diag(95107,S.DiagnosticCategory.Message,"Fix_all_implicit_this_errors_95107","Fix all implicit-'this' errors"),Wrap_invalid_character_in_an_expression_container:diag(95108,S.DiagnosticCategory.Message,"Wrap_invalid_character_in_an_expression_container_95108","Wrap invalid character in an expression container"),Wrap_all_invalid_characters_in_an_expression_container:diag(95109,S.DiagnosticCategory.Message,"Wrap_all_invalid_characters_in_an_expression_container_95109","Wrap all invalid characters in an expression container"),Visit_https_Colon_Slash_Slashaka_ms_Slashtsconfig_json_to_read_more_about_this_file:diag(95110,S.DiagnosticCategory.Message,"Visit_https_Colon_Slash_Slashaka_ms_Slashtsconfig_json_to_read_more_about_this_file_95110","Visit https://aka.ms/tsconfig.json to read more about this file"),Add_a_return_statement:diag(95111,S.DiagnosticCategory.Message,"Add_a_return_statement_95111","Add a return statement"),Remove_block_body_braces:diag(95112,S.DiagnosticCategory.Message,"Remove_block_body_braces_95112","Remove block body braces"),Wrap_the_following_body_with_parentheses_which_should_be_an_object_literal:diag(95113,S.DiagnosticCategory.Message,"Wrap_the_following_body_with_parentheses_which_should_be_an_object_literal_95113","Wrap the following body with parentheses which should be an object literal"),Add_all_missing_return_statement:diag(95114,S.DiagnosticCategory.Message,"Add_all_missing_return_statement_95114","Add all missing return statement"),Remove_all_incorrect_body_block_braces:diag(95115,S.DiagnosticCategory.Message,"Remove_all_incorrect_body_block_braces_95115","Remove all incorrect body block braces"),Wrap_all_object_literal_with_parentheses:diag(95116,S.DiagnosticCategory.Message,"Wrap_all_object_literal_with_parentheses_95116","Wrap all object literal with parentheses"),No_value_exists_in_scope_for_the_shorthand_property_0_Either_declare_one_or_provide_an_initializer:diag(18004,S.DiagnosticCategory.Error,"No_value_exists_in_scope_for_the_shorthand_property_0_Either_declare_one_or_provide_an_initializer_18004","No value exists in scope for the shorthand property '{0}'. Either declare one or provide an initializer."),Classes_may_not_have_a_field_named_constructor:diag(18006,S.DiagnosticCategory.Error,"Classes_may_not_have_a_field_named_constructor_18006","Classes may not have a field named 'constructor'."),JSX_expressions_may_not_use_the_comma_operator_Did_you_mean_to_write_an_array:diag(18007,S.DiagnosticCategory.Error,"JSX_expressions_may_not_use_the_comma_operator_Did_you_mean_to_write_an_array_18007","JSX expressions may not use the comma operator. Did you mean to write an array?"),Private_identifiers_cannot_be_used_as_parameters:diag(18009,S.DiagnosticCategory.Error,"Private_identifiers_cannot_be_used_as_parameters_18009","Private identifiers cannot be used as parameters"),An_accessibility_modifier_cannot_be_used_with_a_private_identifier:diag(18010,S.DiagnosticCategory.Error,"An_accessibility_modifier_cannot_be_used_with_a_private_identifier_18010","An accessibility modifier cannot be used with a private identifier."),The_operand_of_a_delete_operator_cannot_be_a_private_identifier:diag(18011,S.DiagnosticCategory.Error,"The_operand_of_a_delete_operator_cannot_be_a_private_identifier_18011","The operand of a 'delete' operator cannot be a private identifier."),constructor_is_a_reserved_word:diag(18012,S.DiagnosticCategory.Error,"constructor_is_a_reserved_word_18012","'#constructor' is a reserved word."),Property_0_is_not_accessible_outside_class_1_because_it_has_a_private_identifier:diag(18013,S.DiagnosticCategory.Error,"Property_0_is_not_accessible_outside_class_1_because_it_has_a_private_identifier_18013","Property '{0}' is not accessible outside class '{1}' because it has a private identifier."),The_property_0_cannot_be_accessed_on_type_1_within_this_class_because_it_is_shadowed_by_another_private_identifier_with_the_same_spelling:diag(18014,S.DiagnosticCategory.Error,"The_property_0_cannot_be_accessed_on_type_1_within_this_class_because_it_is_shadowed_by_another_priv_18014","The property '{0}' cannot be accessed on type '{1}' within this class because it is shadowed by another private identifier with the same spelling."),Property_0_in_type_1_refers_to_a_different_member_that_cannot_be_accessed_from_within_type_2:diag(18015,S.DiagnosticCategory.Error,"Property_0_in_type_1_refers_to_a_different_member_that_cannot_be_accessed_from_within_type_2_18015","Property '{0}' in type '{1}' refers to a different member that cannot be accessed from within type '{2}'."),Private_identifiers_are_not_allowed_outside_class_bodies:diag(18016,S.DiagnosticCategory.Error,"Private_identifiers_are_not_allowed_outside_class_bodies_18016","Private identifiers are not allowed outside class bodies."),The_shadowing_declaration_of_0_is_defined_here:diag(18017,S.DiagnosticCategory.Error,"The_shadowing_declaration_of_0_is_defined_here_18017","The shadowing declaration of '{0}' is defined here"),The_declaration_of_0_that_you_probably_intended_to_use_is_defined_here:diag(18018,S.DiagnosticCategory.Error,"The_declaration_of_0_that_you_probably_intended_to_use_is_defined_here_18018","The declaration of '{0}' that you probably intended to use is defined here"),_0_modifier_cannot_be_used_with_a_private_identifier:diag(18019,S.DiagnosticCategory.Error,"_0_modifier_cannot_be_used_with_a_private_identifier_18019","'{0}' modifier cannot be used with a private identifier"),A_method_cannot_be_named_with_a_private_identifier:diag(18022,S.DiagnosticCategory.Error,"A_method_cannot_be_named_with_a_private_identifier_18022","A method cannot be named with a private identifier."),An_accessor_cannot_be_named_with_a_private_identifier:diag(18023,S.DiagnosticCategory.Error,"An_accessor_cannot_be_named_with_a_private_identifier_18023","An accessor cannot be named with a private identifier."),An_enum_member_cannot_be_named_with_a_private_identifier:diag(18024,S.DiagnosticCategory.Error,"An_enum_member_cannot_be_named_with_a_private_identifier_18024","An enum member cannot be named with a private identifier."),can_only_be_used_at_the_start_of_a_file:diag(18026,S.DiagnosticCategory.Error,"can_only_be_used_at_the_start_of_a_file_18026","'#!' can only be used at the start of a file."),Compiler_reserves_name_0_when_emitting_private_identifier_downlevel:diag(18027,S.DiagnosticCategory.Error,"Compiler_reserves_name_0_when_emitting_private_identifier_downlevel_18027","Compiler reserves name '{0}' when emitting private identifier downlevel."),Private_identifiers_are_only_available_when_targeting_ECMAScript_2015_and_higher:diag(18028,S.DiagnosticCategory.Error,"Private_identifiers_are_only_available_when_targeting_ECMAScript_2015_and_higher_18028","Private identifiers are only available when targeting ECMAScript 2015 and higher."),Private_identifiers_are_not_allowed_in_variable_declarations:diag(18029,S.DiagnosticCategory.Error,"Private_identifiers_are_not_allowed_in_variable_declarations_18029","Private identifiers are not allowed in variable declarations."),An_optional_chain_cannot_contain_private_identifiers:diag(18030,S.DiagnosticCategory.Error,"An_optional_chain_cannot_contain_private_identifiers_18030","An optional chain cannot contain private identifiers."),The_intersection_0_was_reduced_to_never_because_property_1_has_conflicting_types_in_some_constituents:diag(18031,S.DiagnosticCategory.Error,"The_intersection_0_was_reduced_to_never_because_property_1_has_conflicting_types_in_some_constituent_18031","The intersection '{0}' was reduced to 'never' because property '{1}' has conflicting types in some constituents."),The_intersection_0_was_reduced_to_never_because_property_1_exists_in_multiple_constituents_and_is_private_in_some:diag(18032,S.DiagnosticCategory.Error,"The_intersection_0_was_reduced_to_never_because_property_1_exists_in_multiple_constituents_and_is_pr_18032","The intersection '{0}' was reduced to 'never' because property '{1}' exists in multiple constituents and is private in some."),Only_numeric_enums_can_have_computed_members_but_this_expression_has_type_0_If_you_do_not_need_exhaustiveness_checks_consider_using_an_object_literal_instead:diag(18033,S.DiagnosticCategory.Error,"Only_numeric_enums_can_have_computed_members_but_this_expression_has_type_0_If_you_do_not_need_exhau_18033","Only numeric enums can have computed members, but this expression has type '{0}'. If you do not need exhaustiveness checks, consider using an object literal instead.")}})(ne||(ne={}));var ne;(function(S){var E;function tokenIsIdentifierOrKeyword(S){return S>=75}S.tokenIsIdentifierOrKeyword=tokenIsIdentifierOrKeyword;function tokenIsIdentifierOrKeywordOrGreaterThan(S){return S===31||tokenIsIdentifierOrKeyword(S)}S.tokenIsIdentifierOrKeywordOrGreaterThan=tokenIsIdentifierOrKeywordOrGreaterThan;var k=(E={abstract:122,any:125,as:123,asserts:124,bigint:151,boolean:128,break:77,case:78,catch:79,class:80,continue:82,const:81},E[""+"constructor"]=129,E.debugger=83,E.declare=130,E.default=84,E.delete=85,E.do=86,E.else=87,E.enum=88,E.export=89,E.extends=90,E.false=91,E.finally=92,E.for=93,E.from=149,E.function=94,E.get=131,E.if=95,E.implements=113,E.import=96,E.in=97,E.infer=132,E.instanceof=98,E.interface=114,E.is=133,E.keyof=134,E.let=115,E.module=135,E.namespace=136,E.never=137,E.new=99,E.null=100,E.number=140,E.object=141,E.package=116,E.private=117,E.protected=118,E.public=119,E.readonly=138,E.require=139,E.global=150,E.return=101,E.set=142,E.static=120,E.string=143,E.super=102,E.switch=103,E.symbol=144,E.this=104,E.throw=105,E.true=106,E.try=107,E.type=145,E.typeof=108,E.undefined=146,E.unique=147,E.unknown=148,E.var=109,E.void=110,E.while=111,E.with=112,E.yield=121,E.async=126,E.await=127,E.of=152,E);var w=S.createMapFromTemplate(k);var j=S.createMapFromTemplate(N(N({},k),{"{":18,"}":19,"(":20,")":21,"[":22,"]":23,".":24,"...":25,";":26,",":27,"<":29,">":31,"<=":32,">=":33,"==":34,"!=":35,"===":36,"!==":37,"=>":38,"+":39,"-":40,"**":42,"*":41,"/":43,"%":44,"++":45,"--":46,"<<":47,">":48,">>>":49,"&":50,"|":51,"^":52,"!":53,"~":54,"&&":55,"||":56,"?":57,"??":60,"?.":28,":":58,"=":62,"+=":63,"-=":64,"*=":65,"**=":66,"/=":67,"%=":68,"<<=":69,">>=":70,">>>=":71,"&=":72,"|=":73,"^=":74,"@":59,"`":61}));var q=[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];var ee=[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];var te=[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 ne=[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 ae=[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];var _e=[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];var ve=/^\s*\/\/\/?\s*@(ts-expect-error|ts-ignore)/;var Ee=/^\s*(?:\/|\*)*\s*@(ts-expect-error|ts-ignore)/;function lookupInUnicodeMap(S,E){if(S=2?lookupInUnicodeMap(S,ae):E===1?lookupInUnicodeMap(S,te):lookupInUnicodeMap(S,q)}S.isUnicodeIdentifierStart=isUnicodeIdentifierStart;function isUnicodeIdentifierPart(S,E){return E>=2?lookupInUnicodeMap(S,_e):E===1?lookupInUnicodeMap(S,ne):lookupInUnicodeMap(S,ee)}function makeReverseMap(S){var E=[];S.forEach((function(S,k){E[S]=k}));return E}var Te=makeReverseMap(j);function tokenToString(S){return Te[S]}S.tokenToString=tokenToString;function stringToToken(S){return j.get(S)}S.stringToToken=stringToToken;function computeLineStarts(S){var E=new Array;var k=0;var w=0;while(k127&&isLineBreak(N)){E.push(w);w=k}break}}E.push(w);return E}S.computeLineStarts=computeLineStarts;function getPositionOfLineAndCharacter(S,E,k,w){return S.getPositionOfLineAndCharacter?S.getPositionOfLineAndCharacter(E,k,w):computePositionOfLineAndCharacter(getLineStarts(S),E,k,S.text,w)}S.getPositionOfLineAndCharacter=getPositionOfLineAndCharacter;function computePositionOfLineAndCharacter(E,k,w,N,j){if(k<0||k>=E.length){if(j){k=k<0?0:k>=E.length?E.length-1:k}else{S.Debug.fail("Bad line number. Line: "+k+", lineStarts.length: "+E.length+" , line map is correct? "+(N!==undefined?S.arraysEqual(E,computeLineStarts(N)):"unknown"))}}var q=E[k]+w;if(j){return q>E[k+1]?E[k+1]:typeof N==="string"&&q>N.length?N.length:q}if(k=8192&&S<=8203||S===8239||S===8287||S===12288||S===65279}S.isWhiteSpaceSingleLine=isWhiteSpaceSingleLine;function isLineBreak(S){return S===10||S===13||S===8232||S===8233}S.isLineBreak=isLineBreak;function isDigit(S){return S>=48&&S<=57}function isHexDigit(S){return isDigit(S)||S>=65&&S<=70||S>=97&&S<=102}function isCodePoint(S){return S<=1114111}function isOctalDigit(S){return S>=48&&S<=55}S.isOctalDigit=isOctalDigit;function couldStartTrivia(S,E){var k=S.charCodeAt(E);switch(k){case 13:case 10:case 9:case 11:case 12:case 32:case 47:case 60:case 124:case 61:case 62:return true;case 35:return E===0;default:return k>127}}S.couldStartTrivia=couldStartTrivia;function skipTrivia(E,k,w,N){if(N===void 0){N=false}if(S.positionIsSynthesized(k)){return k}while(true){var j=E.charCodeAt(k);switch(j){case 13:if(E.charCodeAt(k+1)===10){k++}case 10:k++;if(w){return k}continue;case 9:case 11:case 12:case 32:k++;continue;case 47:if(N){break}if(E.charCodeAt(k+1)===47){k+=2;while(k127&&isWhiteSpaceLike(j)){k++;continue}break}return k}}S.skipTrivia=skipTrivia;var Ce="<<<<<<<".length;function isConflictMarkerTrivia(E,k){S.Debug.assert(k>=0);if(k===0||isLineBreak(E.charCodeAt(k-1))){var w=E.charCodeAt(k);if(k+Ce=0&&k127&&isWhiteSpaceLike(Ce)){if(_e&&isLineBreak(Ce)){ae=true}k++;continue}break e}}if(_e){Ee=N(ee,te,ne,ae,j,Ee)}return Ee}function forEachLeadingCommentRange(S,E,k,w){return iterateCommentRanges(false,S,E,false,k,w)}S.forEachLeadingCommentRange=forEachLeadingCommentRange;function forEachTrailingCommentRange(S,E,k,w){return iterateCommentRanges(false,S,E,true,k,w)}S.forEachTrailingCommentRange=forEachTrailingCommentRange;function reduceEachLeadingCommentRange(S,E,k,w,N){return iterateCommentRanges(true,S,E,false,k,w,N)}S.reduceEachLeadingCommentRange=reduceEachLeadingCommentRange;function reduceEachTrailingCommentRange(S,E,k,w,N){return iterateCommentRanges(true,S,E,true,k,w,N)}S.reduceEachTrailingCommentRange=reduceEachTrailingCommentRange;function appendCommentRange(S,E,k,w,N,j){if(!j){j=[]}j.push({kind:k,pos:S,end:E,hasTrailingNewLine:w});return j}function getLeadingCommentRanges(S,E){return reduceEachLeadingCommentRange(S,E,appendCommentRange,undefined,undefined)}S.getLeadingCommentRanges=getLeadingCommentRanges;function getTrailingCommentRanges(S,E){return reduceEachTrailingCommentRange(S,E,appendCommentRange,undefined,undefined)}S.getTrailingCommentRanges=getTrailingCommentRanges;function getShebang(S){var E=we.exec(S);if(E){return E[0]}}S.getShebang=getShebang;function isIdentifierStart(S,E){return S>=65&&S<=90||S>=97&&S<=122||S===36||S===95||S>127&&isUnicodeIdentifierStart(S,E)}S.isIdentifierStart=isIdentifierStart;function isIdentifierPart(S,E,k){return S>=65&&S<=90||S>=97&&S<=122||S>=48&&S<=57||S===36||S===95||(k===1?S===45||S===58:false)||S>127&&isUnicodeIdentifierPart(S,E)}S.isIdentifierPart=isIdentifierPart;function isIdentifierText(S,E,k){var w=Ne(S,0);if(!isIdentifierStart(w,E)){return false}for(var N=charSize(w);N112},isReservedWord:function(){return we>=77&&we<=112},isUnterminated:function(){return(Fe&4)!==0},getCommentDirectives:function(){return Oe},getTokenFlags:function(){return Fe},reScanGreaterToken:reScanGreaterToken,reScanSlashToken:reScanSlashToken,reScanTemplateToken:reScanTemplateToken,reScanTemplateHeadOrNoSubstitutionTemplate:reScanTemplateHeadOrNoSubstitutionTemplate,scanJsxIdentifier:scanJsxIdentifier,scanJsxAttributeValue:scanJsxAttributeValue,reScanJsxAttributeValue:reScanJsxAttributeValue,reScanJsxToken:reScanJsxToken,reScanLessThanToken:reScanLessThanToken,reScanQuestionToken:reScanQuestionToken,scanJsxToken:scanJsxToken,scanJsDocToken:scanJsDocToken,scan:scan,getText:getText,clearCommentDirectives:clearCommentDirectives,setText:setText,setScriptTarget:setScriptTarget,setLanguageVariant:setLanguageVariant,setOnError:setOnError,setTextPos:setTextPos,setInJSDocType:setInJSDocType,tryScan:tryScan,lookAhead:lookAhead,scanRange:scanRange};if(S.Debug.isDebugging){Object.defineProperty(Re,"__debugShowCurrentPositionInText",{get:function(){var S=Re.getText();return S.slice(0,Re.getStartPos())+"║"+S.slice(Re.getStartPos())}})}return Re;function error(S,E,k){if(E===void 0){E=ae}if(q){var w=ae;ae=E;q(S,k||0);ae=w}}function scanNumberFragment(){var E=ae;var k=false;var w=false;var N="";while(true){var j=ne.charCodeAt(ae);if(j===95){Fe|=512;if(k){k=false;w=true;N+=ne.substring(E,ae)}else if(w){error(S.Diagnostics.Multiple_consecutive_numeric_separators_are_not_permitted,ae,1)}else{error(S.Diagnostics.Numeric_separators_are_not_allowed_here,ae,1)}ae++;E=ae;continue}if(isDigit(j)){k=true;w=false;ae++;continue}break}if(ne.charCodeAt(ae-1)===95){error(S.Diagnostics.Numeric_separators_are_not_allowed_here,ae-1,1)}return N+ne.substring(E,ae)}function scanNumber(){var E=ae;var k=scanNumberFragment();var w;var N;if(ne.charCodeAt(ae)===46){ae++;w=scanNumberFragment()}var j=ae;if(ne.charCodeAt(ae)===69||ne.charCodeAt(ae)===101){ae++;Fe|=16;if(ne.charCodeAt(ae)===43||ne.charCodeAt(ae)===45)ae++;var q=ae;var ee=scanNumberFragment();if(!ee){error(S.Diagnostics.Digit_expected)}else{N=ne.substring(j,q)+ee;j=ae}}var te;if(Fe&512){te=k;if(w){te+="."+w}if(N){te+=N}}else{te=ne.substring(E,j)}if(w!==undefined||Fe&16){checkForIdentifierStartAfterNumericLiteral(E,w===undefined&&!!(Fe&16));return{type:8,value:""+ +te}}else{Ie=te;var _e=checkBigIntSuffix();checkForIdentifierStartAfterNumericLiteral(E);return{type:_e,value:Ie}}}function checkForIdentifierStartAfterNumericLiteral(k,w){if(!isIdentifierStart(Ne(ne,ae),E)){return}var N=ae;var j=scanIdentifierParts().length;if(j===1&&ne[N]==="n"){if(w){error(S.Diagnostics.A_bigint_literal_cannot_use_exponential_notation,k,N-k+1)}else{error(S.Diagnostics.A_bigint_literal_must_be_an_integer,k,N-k+1)}}else{error(S.Diagnostics.An_identifier_or_keyword_cannot_immediately_follow_a_numeric_literal,N,j);ae=N}}function scanOctalDigits(){var S=ae;while(isOctalDigit(ne.charCodeAt(ae))){ae++}return+ne.substring(S,ae)}function scanExactNumberOfHexDigits(S,E){var k=scanHexDigits(S,false,E);return k?parseInt(k,16):-1}function scanMinimumNumberOfHexDigits(S,E){return scanHexDigits(S,true,E)}function scanHexDigits(E,k,w){var N=[];var j=false;var q=false;while(N.length=65&&ee<=70){ee+=97-65}else if(!(ee>=48&&ee<=57||ee>=97&&ee<=102)){break}N.push(ee);ae++;q=false}if(N.length=_e){w+=ne.substring(N,ae);Fe|=4;error(S.Diagnostics.Unterminated_string_literal);break}var j=ne.charCodeAt(ae);if(j===k){w+=ne.substring(N,ae);ae++;break}if(j===92&&!E){w+=ne.substring(N,ae);w+=scanEscapeSequence();N=ae;continue}if(isLineBreak(j)&&!E){w+=ne.substring(N,ae);Fe|=4;error(S.Diagnostics.Unterminated_string_literal);break}ae++}return w}function scanTemplateAndSetTokenValue(E){var k=ne.charCodeAt(ae)===96;ae++;var w=ae;var N="";var j;while(true){if(ae>=_e){N+=ne.substring(w,ae);Fe|=4;error(S.Diagnostics.Unterminated_template_literal);j=k?14:17;break}var q=ne.charCodeAt(ae);if(q===96){N+=ne.substring(w,ae);ae++;j=k?14:17;break}if(q===36&&ae+1<_e&&ne.charCodeAt(ae+1)===123){N+=ne.substring(w,ae);ae+=2;j=k?15:16;break}if(q===92){N+=ne.substring(w,ae);N+=scanEscapeSequence(E);w=ae;continue}if(q===13){N+=ne.substring(w,ae);ae++;if(ae<_e&&ne.charCodeAt(ae)===10){ae++}N+="\n";w=ae;continue}ae++}S.Debug.assert(j!==undefined);Ie=N;return j}function scanEscapeSequence(E){var k=ae;ae++;if(ae>=_e){error(S.Diagnostics.Unexpected_end_of_text);return""}var w=ne.charCodeAt(ae);ae++;switch(w){case 48:if(E&&ae<_e&&isDigit(ne.charCodeAt(ae))){ae++;Fe|=2048;return ne.substring(k,ae)}return"\0";case 98:return"\b";case 116:return"\t";case 110:return"\n";case 118:return"\v";case 102:return"\f";case 114:return"\r";case 39:return"'";case 34:return'"';case 117:if(E){for(var N=ae;N=0){return String.fromCharCode(k)}else{error(S.Diagnostics.Hexadecimal_digit_expected);return""}}function scanExtendedUnicodeEscape(){var E=scanMinimumNumberOfHexDigits(1,false);var k=E?parseInt(E,16):-1;var w=false;if(k<0){error(S.Diagnostics.Hexadecimal_digit_expected);w=true}else if(k>1114111){error(S.Diagnostics.An_extended_Unicode_escape_value_must_be_between_0x0_and_0x10FFFF_inclusive);w=true}if(ae>=_e){error(S.Diagnostics.Unexpected_end_of_text);w=true}else if(ne.charCodeAt(ae)===125){ae++}else{error(S.Diagnostics.Unterminated_Unicode_escape_sequence);w=true}if(w){return""}return utf16EncodeAsString(k)}function peekUnicodeEscape(){if(ae+5<_e&&ne.charCodeAt(ae+1)===117){var S=ae;ae+=2;var E=scanExactNumberOfHexDigits(4,false);ae=S;return E}return-1}function peekExtendedUnicodeEscape(){if(E>=2&&Ne(ne,ae+1)===117&&Ne(ne,ae+2)===123){var S=ae;ae+=3;var k=scanMinimumNumberOfHexDigits(1,false);var w=k?parseInt(k,16):-1;ae=S;return w}return-1}function scanIdentifierParts(){var S="";var k=ae;while(ae<_e){var w=Ne(ne,ae);if(isIdentifierPart(w,E)){ae+=charSize(w)}else if(w===92){w=peekExtendedUnicodeEscape();if(w>=0&&isIdentifierPart(w,E)){ae+=3;Fe|=8;S+=scanExtendedUnicodeEscape();k=ae;continue}w=peekUnicodeEscape();if(!(w>=0&&isIdentifierPart(w,E))){break}Fe|=1024;S+=ne.substring(k,ae);S+=utf16EncodeAsString(w);ae+=6;k=ae}else{break}}S+=ne.substring(k,ae);return S}function getIdentifierToken(){var S=Ie.length;if(S>=2&&S<=11){var E=Ie.charCodeAt(0);if(E>=97&&E<=122){var k=w.get(Ie);if(k!==undefined){return we=k}}}return we=75}function scanBinaryOrOctalDigits(E){var k="";var w=false;var N=false;while(true){var j=ne.charCodeAt(ae);if(j===95){Fe|=512;if(w){w=false;N=true}else if(N){error(S.Diagnostics.Multiple_consecutive_numeric_separators_are_not_permitted,ae,1)}else{error(S.Diagnostics.Numeric_separators_are_not_allowed_here,ae,1)}ae++;continue}w=true;if(!isDigit(j)||j-48>=E){break}k+=ne[ae];ae++;N=false}if(ne.charCodeAt(ae-1)===95){error(S.Diagnostics.Numeric_separators_are_not_allowed_here,ae-1,1)}return k}function checkBigIntSuffix(){if(ne.charCodeAt(ae)===110){Ie+="n";if(Fe&384){Ie=S.parsePseudoBigInt(Ie)+"n"}ae++;return 9}else{var E=Fe&128?parseInt(Ie.slice(2),2):Fe&256?parseInt(Ie.slice(2),8):+Ie;Ie=""+E;return 8}}function scan(){var w;Te=ae;Fe=0;var j=false;while(true){Ce=ae;if(ae>=_e){return we=1}var q=Ne(ne,ae);if(q===35&&ae===0&&isShebangTrivia(ne,ae)){ae=scanShebangTrivia(ne,ae);if(k){continue}else{return we=6}}switch(q){case 10:case 13:Fe|=1;if(k){ae++;continue}else{if(q===13&&ae+1<_e&&ne.charCodeAt(ae+1)===10){ae+=2}else{ae++}return we=4}case 9:case 11:case 12:case 32:case 160:case 5760:case 8192:case 8193:case 8194:case 8195:case 8196:case 8197:case 8198:case 8199:case 8200:case 8201:case 8202:case 8203:case 8239:case 8287:case 12288:case 65279:if(k){ae++;continue}else{while(ae<_e&&isWhiteSpaceSingleLine(ne.charCodeAt(ae))){ae++}return we=5}case 33:if(ne.charCodeAt(ae+1)===61){if(ne.charCodeAt(ae+2)===61){return ae+=3,we=37}return ae+=2,we=35}ae++;return we=53;case 34:case 39:Ie=scanString();return we=10;case 96:return we=scanTemplateAndSetTokenValue(false);case 37:if(ne.charCodeAt(ae+1)===61){return ae+=2,we=68}ae++;return we=44;case 38:if(ne.charCodeAt(ae+1)===38){return ae+=2,we=55}if(ne.charCodeAt(ae+1)===61){return ae+=2,we=72}ae++;return we=50;case 40:ae++;return we=20;case 41:ae++;return we=21;case 42:if(ne.charCodeAt(ae+1)===61){return ae+=2,we=65}if(ne.charCodeAt(ae+1)===42){if(ne.charCodeAt(ae+2)===61){return ae+=3,we=66}return ae+=2,we=42}ae++;if(Me&&!j&&Fe&1){j=true;continue}return we=41;case 43:if(ne.charCodeAt(ae+1)===43){return ae+=2,we=45}if(ne.charCodeAt(ae+1)===61){return ae+=2,we=63}ae++;return we=39;case 44:ae++;return we=27;case 45:if(ne.charCodeAt(ae+1)===45){return ae+=2,we=46}if(ne.charCodeAt(ae+1)===61){return ae+=2,we=64}ae++;return we=40;case 46:if(isDigit(ne.charCodeAt(ae+1))){Ie=scanNumber().value;return we=8}if(ne.charCodeAt(ae+1)===46&&ne.charCodeAt(ae+2)===46){return ae+=3,we=25}ae++;return we=24;case 47:if(ne.charCodeAt(ae+1)===47){ae+=2;while(ae<_e){if(isLineBreak(ne.charCodeAt(ae))){break}ae++}Oe=appendIfCommentDirective(Oe,ne.slice(Ce,ae),ve,Ce);if(k){continue}else{return we=2}}if(ne.charCodeAt(ae+1)===42){ae+=2;if(ne.charCodeAt(ae)===42&&ne.charCodeAt(ae+1)!==47){Fe|=2}var ee=false;var te=Ce;while(ae<_e){var Re=ne.charCodeAt(ae);if(Re===42&&ne.charCodeAt(ae+1)===47){ae+=2;ee=true;break}ae++;if(isLineBreak(Re)){te=ae;Fe|=1}}Oe=appendIfCommentDirective(Oe,ne.slice(te,ae),Ee,te);if(!ee){error(S.Diagnostics.Asterisk_Slash_expected)}if(k){continue}else{if(!ee){Fe|=4}return we=3}}if(ne.charCodeAt(ae+1)===61){return ae+=2,we=67}ae++;return we=43;case 48:if(ae+2<_e&&(ne.charCodeAt(ae+1)===88||ne.charCodeAt(ae+1)===120)){ae+=2;Ie=scanMinimumNumberOfHexDigits(1,true);if(!Ie){error(S.Diagnostics.Hexadecimal_digit_expected);Ie="0"}Ie="0x"+Ie;Fe|=64;return we=checkBigIntSuffix()}else if(ae+2<_e&&(ne.charCodeAt(ae+1)===66||ne.charCodeAt(ae+1)===98)){ae+=2;Ie=scanBinaryOrOctalDigits(2);if(!Ie){error(S.Diagnostics.Binary_digit_expected);Ie="0"}Ie="0b"+Ie;Fe|=128;return we=checkBigIntSuffix()}else if(ae+2<_e&&(ne.charCodeAt(ae+1)===79||ne.charCodeAt(ae+1)===111)){ae+=2;Ie=scanBinaryOrOctalDigits(8);if(!Ie){error(S.Diagnostics.Octal_digit_expected);Ie="0"}Ie="0o"+Ie;Fe|=256;return we=checkBigIntSuffix()}if(ae+1<_e&&isOctalDigit(ne.charCodeAt(ae+1))){Ie=""+scanOctalDigits();Fe|=32;return we=8}case 49:case 50:case 51:case 52:case 53:case 54:case 55:case 56:case 57:w=scanNumber(),we=w.type,Ie=w.value;return we;case 58:ae++;return we=58;case 59:ae++;return we=26;case 60:if(isConflictMarkerTrivia(ne,ae)){ae=scanConflictMarkerTrivia(ne,ae,error);if(k){continue}else{return we=7}}if(ne.charCodeAt(ae+1)===60){if(ne.charCodeAt(ae+2)===61){return ae+=3,we=69}return ae+=2,we=47}if(ne.charCodeAt(ae+1)===61){return ae+=2,we=32}if(N===1&&ne.charCodeAt(ae+1)===47&&ne.charCodeAt(ae+2)!==42){return ae+=2,we=30}ae++;return we=29;case 61:if(isConflictMarkerTrivia(ne,ae)){ae=scanConflictMarkerTrivia(ne,ae,error);if(k){continue}else{return we=7}}if(ne.charCodeAt(ae+1)===61){if(ne.charCodeAt(ae+2)===61){return ae+=3,we=36}return ae+=2,we=34}if(ne.charCodeAt(ae+1)===62){return ae+=2,we=38}ae++;return we=62;case 62:if(isConflictMarkerTrivia(ne,ae)){ae=scanConflictMarkerTrivia(ne,ae,error);if(k){continue}else{return we=7}}ae++;return we=31;case 63:ae++;if(ne.charCodeAt(ae)===46&&!isDigit(ne.charCodeAt(ae+1))){ae++;return we=28}if(ne.charCodeAt(ae)===63){ae++;return we=60}return we=57;case 91:ae++;return we=22;case 93:ae++;return we=23;case 94:if(ne.charCodeAt(ae+1)===61){return ae+=2,we=74}ae++;return we=52;case 123:ae++;return we=18;case 124:if(isConflictMarkerTrivia(ne,ae)){ae=scanConflictMarkerTrivia(ne,ae,error);if(k){continue}else{return we=7}}if(ne.charCodeAt(ae+1)===124){return ae+=2,we=56}if(ne.charCodeAt(ae+1)===61){return ae+=2,we=73}ae++;return we=51;case 125:ae++;return we=19;case 126:ae++;return we=54;case 64:ae++;return we=59;case 92:var Le=peekExtendedUnicodeEscape();if(Le>=0&&isIdentifierStart(Le,E)){ae+=3;Fe|=8;Ie=scanExtendedUnicodeEscape()+scanIdentifierParts();return we=getIdentifierToken()}var Be=peekUnicodeEscape();if(Be>=0&&isIdentifierStart(Be,E)){ae+=6;Fe|=1024;Ie=String.fromCharCode(Be)+scanIdentifierParts();return we=getIdentifierToken()}error(S.Diagnostics.Invalid_character);ae++;return we=0;case 35:if(ae!==0&&ne[ae+1]==="!"){error(S.Diagnostics.can_only_be_used_at_the_start_of_a_file);ae++;return we=0}ae++;if(isIdentifierStart(q=ne.charCodeAt(ae),E)){ae++;while(ae<_e&&isIdentifierPart(q=ne.charCodeAt(ae),E))ae++;Ie=ne.substring(Ce,ae);if(q===92){Ie+=scanIdentifierParts()}}else{Ie="#";error(S.Diagnostics.Invalid_character)}return we=76;default:if(isIdentifierStart(q,E)){ae+=charSize(q);while(ae<_e&&isIdentifierPart(q=Ne(ne,ae),E))ae+=charSize(q);Ie=ne.substring(Ce,ae);if(q===92){Ie+=scanIdentifierParts()}return we=getIdentifierToken()}else if(isWhiteSpaceSingleLine(q)){ae+=charSize(q);continue}else if(isLineBreak(q)){Fe|=1;ae+=charSize(q);continue}error(S.Diagnostics.Invalid_character);ae+=charSize(q);return we=0}}}function reScanGreaterToken(){if(we===31){if(ne.charCodeAt(ae)===62){if(ne.charCodeAt(ae+1)===62){if(ne.charCodeAt(ae+2)===61){return ae+=3,we=71}return ae+=2,we=49}if(ne.charCodeAt(ae+1)===61){return ae+=2,we=70}ae++;return we=48}if(ne.charCodeAt(ae)===61){ae++;return we=33}}return we}function reScanSlashToken(){if(we===43||we===67){var k=Ce+1;var w=false;var N=false;while(true){if(k>=_e){Fe|=4;error(S.Diagnostics.Unterminated_regular_expression_literal);break}var j=ne.charCodeAt(k);if(isLineBreak(j)){Fe|=4;error(S.Diagnostics.Unterminated_regular_expression_literal);break}if(w){w=false}else if(j===47&&!N){k++;break}else if(j===91){N=true}else if(j===92){w=true}else if(j===93){N=false}k++}while(k<_e&&isIdentifierPart(ne.charCodeAt(k),E)){k++}ae=k;Ie=ne.substring(Ce,ae);we=13}return we}function appendIfCommentDirective(E,k,w,N){var j=getDirectiveFromComment(k,w);if(j===undefined){return E}return S.append(E,{range:{pos:N,end:ae},type:j})}function getDirectiveFromComment(S,E){var k=E.exec(S);if(!k){return undefined}switch(k[1]){case"ts-expect-error":return 0;case"ts-ignore":return 1}return undefined}function reScanTemplateToken(E){S.Debug.assert(we===19,"'reScanTemplateToken' should only be called on a '}'");ae=Ce;return we=scanTemplateAndSetTokenValue(E)}function reScanTemplateHeadOrNoSubstitutionTemplate(){ae=Ce;return we=scanTemplateAndSetTokenValue(true)}function reScanJsxToken(){ae=Ce=Te;return we=scanJsxToken()}function reScanLessThanToken(){if(we===47){ae=Ce+1;return we=29}return we}function reScanQuestionToken(){S.Debug.assert(we===60,"'reScanQuestionToken' should only be called on a '??'");ae=Ce+1;return we=57}function scanJsxToken(){Te=Ce=ae;if(ae>=_e){return we=1}var E=ne.charCodeAt(ae);if(E===60){if(ne.charCodeAt(ae+1)===47){ae+=2;return we=30}ae++;return we=29}if(E===123){ae++;return we=18}var k=0;var w=-1;while(ae<_e){if(!isWhiteSpaceSingleLine(E)){w=ae}E=ne.charCodeAt(ae);if(E===123){break}if(E===60){if(isConflictMarkerTrivia(ne,ae)){ae=scanConflictMarkerTrivia(ne,ae,error);return we=7}break}if(E===62){error(S.Diagnostics.Unexpected_token_Did_you_mean_or_gt,ae,1)}if(E===125){error(S.Diagnostics.Unexpected_token_Did_you_mean_or_rbrace,ae,1)}if(w>0)w++;if(isLineBreak(E)&&k===0){k=-1}else if(!isWhiteSpaceLike(E)){k=ae}ae++}var N=w===-1?ae:w;Ie=ne.substring(Te,N);return k===-1?12:11}function scanJsxIdentifier(){if(tokenIsIdentifierOrKeyword(we)){while(ae<_e){var S=ne.charCodeAt(ae);if(S===45){Ie+="-";ae++;continue}var E=ae;Ie+=scanIdentifierParts();if(ae===E){break}}}return we}function scanJsxAttributeValue(){Te=ae;switch(ne.charCodeAt(ae)){case 34:case 39:Ie=scanString(true);return we=10;default:return scan()}}function reScanJsxAttributeValue(){ae=Ce=Te;return scanJsxAttributeValue()}function scanJsDocToken(){Te=Ce=ae;Fe=0;if(ae>=_e){return we=1}var S=Ne(ne,ae);ae+=charSize(S);switch(S){case 9:case 11:case 12:case 32:while(ae<_e&&isWhiteSpaceSingleLine(ne.charCodeAt(ae))){ae++}return we=5;case 64:return we=59;case 10:case 13:Fe|=1;return we=4;case 42:return we=41;case 123:return we=18;case 125:return we=19;case 91:return we=22;case 93:return we=23;case 60:return we=29;case 62:return we=31;case 61:return we=62;case 44:return we=27;case 46:return we=24;case 96:return we=61;case 92:ae--;var k=peekExtendedUnicodeEscape();if(k>=0&&isIdentifierStart(k,E)){ae+=3;Fe|=8;Ie=scanExtendedUnicodeEscape()+scanIdentifierParts();return we=getIdentifierToken()}var w=peekUnicodeEscape();if(w>=0&&isIdentifierStart(w,E)){ae+=6;Fe|=1024;Ie=String.fromCharCode(w)+scanIdentifierParts();return we=getIdentifierToken()}ae++;return we=0}if(isIdentifierStart(S,E)){var N=S;while(ae<_e&&isIdentifierPart(N=Ne(ne,ae),E)||ne.charCodeAt(ae)===45)ae+=charSize(N);Ie=ne.substring(Ce,ae);if(N===92){Ie+=scanIdentifierParts()}return we=getIdentifierToken()}else{return we=0}}function speculationHelper(S,E){var k=ae;var w=Te;var N=Ce;var j=we;var q=Ie;var ee=Fe;var te=S();if(!te||E){ae=k;Te=w;Ce=N;we=j;Ie=q;Fe=ee}return te}function scanRange(S,E,k){var w=_e;var N=ae;var j=Te;var q=Ce;var ee=we;var te=Ie;var ve=Fe;var Ee=Oe;setText(ne,S,E);var Ne=k();_e=w;ae=N;Te=j;Ce=q;we=ee;Ie=te;Fe=ve;Oe=Ee;return Ne}function lookAhead(S){return speculationHelper(S,true)}function tryScan(S){return speculationHelper(S,false)}function getText(){return ne}function clearCommentDirectives(){Oe=undefined}function setText(S,E,k){ne=S||"";_e=k===undefined?ne.length:E+k;setTextPos(E||0)}function setOnError(S){q=S}function setScriptTarget(S){E=S}function setLanguageVariant(S){N=S}function setTextPos(E){S.Debug.assert(E>=0);ae=E;Te=E;Ce=E;we=0;Ie=undefined;Fe=0}function setInJSDocType(S){Me+=S?1:-1}}S.createScanner=createScanner;var Ne=String.prototype.codePointAt?function(S,E){return S.codePointAt(E)}:function codePointAt(S,E){var k=S.length;if(E<0||E>=k){return undefined}var w=S.charCodeAt(E);if(w>=55296&&w<=56319&&k>E+1){var N=S.charCodeAt(E+1);if(N>=56320&&N<=57343){return(w-55296)*1024+N-56320+65536}}return w};function charSize(S){if(S>=65536){return 2}return 1}function utf16EncodeAsStringFallback(E){S.Debug.assert(0<=E&&E<=1114111);if(E<=65535){return String.fromCharCode(E)}var k=Math.floor((E-65536)/1024)+55296;var w=(E-65536)%1024+56320;return String.fromCharCode(k,w)}var Ie=String.fromCodePoint?function(S){return String.fromCodePoint(S)}:utf16EncodeAsStringFallback;function utf16EncodeAsString(S){return Ie(S)}S.utf16EncodeAsString=utf16EncodeAsString})(ne||(ne={}));var ne;(function(S){function isExternalModuleNameRelative(E){return S.pathIsRelative(E)||S.isRootedDiskPath(E)}S.isExternalModuleNameRelative=isExternalModuleNameRelative;function sortAndDeduplicateDiagnostics(E){return S.sortAndDeduplicate(E,S.compareDiagnostics)}S.sortAndDeduplicateDiagnostics=sortAndDeduplicateDiagnostics;function getDefaultLibFileName(S){switch(S.target){case 99:return"lib.esnext.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"}}S.getDefaultLibFileName=getDefaultLibFileName;function textSpanEnd(S){return S.start+S.length}S.textSpanEnd=textSpanEnd;function textSpanIsEmpty(S){return S.length===0}S.textSpanIsEmpty=textSpanIsEmpty;function textSpanContainsPosition(S,E){return E>=S.start&&E=S.pos&&E<=S.end}S.textRangeContainsPositionInclusive=textRangeContainsPositionInclusive;function textSpanContainsTextSpan(S,E){return E.start>=S.start&&textSpanEnd(E)<=textSpanEnd(S)}S.textSpanContainsTextSpan=textSpanContainsTextSpan;function textSpanOverlapsWith(S,E){return textSpanOverlap(S,E)!==undefined}S.textSpanOverlapsWith=textSpanOverlapsWith;function textSpanOverlap(S,E){var k=textSpanIntersection(S,E);return k&&k.length===0?undefined:k}S.textSpanOverlap=textSpanOverlap;function textSpanIntersectsWithTextSpan(S,E){return decodedTextSpanIntersectsWith(S.start,S.length,E.start,E.length)}S.textSpanIntersectsWithTextSpan=textSpanIntersectsWithTextSpan;function textSpanIntersectsWith(S,E,k){return decodedTextSpanIntersectsWith(S.start,S.length,E,k)}S.textSpanIntersectsWith=textSpanIntersectsWith;function decodedTextSpanIntersectsWith(S,E,k,w){var N=S+E;var j=k+w;return k<=N&&j>=S}S.decodedTextSpanIntersectsWith=decodedTextSpanIntersectsWith;function textSpanIntersectsWithPosition(S,E){return E<=textSpanEnd(S)&&E>=S.start}S.textSpanIntersectsWithPosition=textSpanIntersectsWithPosition;function textSpanIntersection(S,E){var k=Math.max(S.start,E.start);var w=Math.min(textSpanEnd(S),textSpanEnd(E));return k<=w?createTextSpanFromBounds(k,w):undefined}S.textSpanIntersection=textSpanIntersection;function createTextSpan(S,E){if(S<0){throw new Error("start < 0")}if(E<0){throw new Error("length < 0")}return{start:S,length:E}}S.createTextSpan=createTextSpan;function createTextSpanFromBounds(S,E){return createTextSpan(S,E-S)}S.createTextSpanFromBounds=createTextSpanFromBounds;function textChangeRangeNewSpan(S){return createTextSpan(S.span.start,S.newLength)}S.textChangeRangeNewSpan=textChangeRangeNewSpan;function textChangeRangeIsUnchanged(S){return textSpanIsEmpty(S.span)&&S.newLength===0}S.textChangeRangeIsUnchanged=textChangeRangeIsUnchanged;function createTextChangeRange(S,E){if(E<0){throw new Error("newLength < 0")}return{span:S,newLength:E}}S.createTextChangeRange=createTextChangeRange;S.unchangedTextChangeRange=createTextChangeRange(createTextSpan(0,0),0);function collapseTextChangeRangesAcrossMultipleVersions(E){if(E.length===0){return S.unchangedTextChangeRange}if(E.length===1){return E[0]}var k=E[0];var w=k.span.start;var N=textSpanEnd(k.span);var j=w+k.newLength;for(var q=1;q=2&&S.charCodeAt(0)===95&&S.charCodeAt(1)===95?"_"+S:S}S.escapeLeadingUnderscores=escapeLeadingUnderscores;function unescapeLeadingUnderscores(S){var E=S;return E.length>=3&&E.charCodeAt(0)===95&&E.charCodeAt(1)===95&&E.charCodeAt(2)===95?E.substr(1):E}S.unescapeLeadingUnderscores=unescapeLeadingUnderscores;function idText(S){return unescapeLeadingUnderscores(S.escapedText)}S.idText=idText;function symbolName(S){if(S.valueDeclaration&&isPrivateIdentifierPropertyDeclaration(S.valueDeclaration)){return idText(S.valueDeclaration.name)}return unescapeLeadingUnderscores(S.escapedName)}S.symbolName=symbolName;function nameForNamelessJSDocTypedef(S){var E=S.parent.parent;if(!E){return undefined}if(isDeclaration(E)){return getDeclarationIdentifier(E)}switch(E.kind){case 225:if(E.declarationList&&E.declarationList.declarations[0]){return getDeclarationIdentifier(E.declarationList.declarations[0])}break;case 226:var k=E.expression;if(k.kind===209&&k.operatorToken.kind===62){k=k.left}switch(k.kind){case 194:return k.name;case 195:var w=k.argumentExpression;if(isIdentifier(w)){return w}}break;case 200:{return getDeclarationIdentifier(E.expression)}case 238:{if(isDeclaration(E.statement)||isExpression(E.statement)){return getDeclarationIdentifier(E.statement)}break}}}function getDeclarationIdentifier(S){var E=getNameOfDeclaration(S);return E&&isIdentifier(E)?E:undefined}function nodeHasName(E,k){if(isNamedDeclaration(E)&&isIdentifier(E.name)&&idText(E.name)===idText(k)){return true}if(isVariableStatement(E)&&S.some(E.declarationList.declarations,(function(S){return nodeHasName(S,k)}))){return true}return false}S.nodeHasName=nodeHasName;function getNameOfJSDocTypedef(S){return S.name||nameForNamelessJSDocTypedef(S)}S.getNameOfJSDocTypedef=getNameOfJSDocTypedef;function isNamedDeclaration(S){return!!S.name}S.isNamedDeclaration=isNamedDeclaration;function getNonAssignedNameOfDeclaration(E){switch(E.kind){case 75:return E;case 323:case 317:{var k=E.name;if(k.kind===153){return k.right}break}case 196:case 209:{var w=E;switch(S.getAssignmentDeclarationKind(w)){case 1:case 4:case 5:case 3:return S.getElementOrPropertyAccessArgumentExpressionOrName(w.left);case 7:case 8:case 9:return w.arguments[1];default:return undefined}}case 322:return getNameOfJSDocTypedef(E);case 316:return nameForNamelessJSDocTypedef(E);case 259:{var N=E.expression;return isIdentifier(N)?N:undefined}case 195:var j=E;if(S.isBindableStaticElementAccessExpression(j)){return j.argumentExpression}}return E.name}S.getNonAssignedNameOfDeclaration=getNonAssignedNameOfDeclaration;function getNameOfDeclaration(S){if(S===undefined)return undefined;return getNonAssignedNameOfDeclaration(S)||(isFunctionExpression(S)||isClassExpression(S)?getAssignedName(S):undefined)}S.getNameOfDeclaration=getNameOfDeclaration;function getAssignedName(E){if(!E.parent){return undefined}else if(isPropertyAssignment(E.parent)||isBindingElement(E.parent)){return E.parent.name}else if(isBinaryExpression(E.parent)&&E===E.parent.right){if(isIdentifier(E.parent.left)){return E.parent.left}else if(S.isAccessExpression(E.parent.left)){return S.getElementOrPropertyAccessArgumentExpressionOrName(E.parent.left)}}else if(isVariableDeclaration(E.parent)&&isIdentifier(E.parent.name)){return E.parent.name}}function getJSDocParameterTags(E){if(E.name){if(isIdentifier(E.name)){var k=E.name.escapedText;return getJSDocTags(E.parent).filter((function(S){return isJSDocParameterTag(S)&&isIdentifier(S.name)&&S.name.escapedText===k}))}else{var w=E.parent.parameters.indexOf(E);S.Debug.assert(w>-1,"Parameters should always be in their parents' parameter list");var N=getJSDocTags(E.parent).filter(isJSDocParameterTag);if(w=153}S.isNodeKind=isNodeKind;function isToken(S){return S.kind>=0&&S.kind<=152}S.isToken=isToken;function isNodeArray(S){return S.hasOwnProperty("pos")&&S.hasOwnProperty("end")}S.isNodeArray=isNodeArray;function isLiteralKind(S){return 8<=S&&S<=14}S.isLiteralKind=isLiteralKind;function isLiteralExpression(S){return isLiteralKind(S.kind)}S.isLiteralExpression=isLiteralExpression;function isTemplateLiteralKind(S){return 14<=S&&S<=17}S.isTemplateLiteralKind=isTemplateLiteralKind;function isTemplateLiteralToken(S){return isTemplateLiteralKind(S.kind)}S.isTemplateLiteralToken=isTemplateLiteralToken;function isTemplateMiddleOrTemplateTail(S){var E=S.kind;return E===16||E===17}S.isTemplateMiddleOrTemplateTail=isTemplateMiddleOrTemplateTail;function isImportOrExportSpecifier(S){return isImportSpecifier(S)||isExportSpecifier(S)}S.isImportOrExportSpecifier=isImportOrExportSpecifier;function isTypeOnlyImportOrExportDeclaration(S){switch(S.kind){case 258:case 263:return S.parent.parent.isTypeOnly;case 256:return S.parent.isTypeOnly;case 255:return S.isTypeOnly;default:return false}}S.isTypeOnlyImportOrExportDeclaration=isTypeOnlyImportOrExportDeclaration;function isStringTextContainingNode(S){return S.kind===10||isTemplateLiteralKind(S.kind)}S.isStringTextContainingNode=isStringTextContainingNode;function isGeneratedIdentifier(S){return isIdentifier(S)&&(S.autoGenerateFlags&7)>0}S.isGeneratedIdentifier=isGeneratedIdentifier;function isPrivateIdentifierPropertyDeclaration(S){return isPropertyDeclaration(S)&&isPrivateIdentifier(S.name)}S.isPrivateIdentifierPropertyDeclaration=isPrivateIdentifierPropertyDeclaration;function isPrivateIdentifierPropertyAccessExpression(S){return isPropertyAccessExpression(S)&&isPrivateIdentifier(S.name)}S.isPrivateIdentifierPropertyAccessExpression=isPrivateIdentifierPropertyAccessExpression;function isModifierKind(S){switch(S){case 122:case 126:case 81:case 130:case 84:case 89:case 119:case 117:case 118:case 138:case 120:return true}return false}S.isModifierKind=isModifierKind;function isParameterPropertyModifier(E){return!!(S.modifierToFlag(E)&92)}S.isParameterPropertyModifier=isParameterPropertyModifier;function isClassMemberModifier(S){return isParameterPropertyModifier(S)||S===120}S.isClassMemberModifier=isClassMemberModifier;function isModifier(S){return isModifierKind(S.kind)}S.isModifier=isModifier;function isEntityName(S){var E=S.kind;return E===153||E===75}S.isEntityName=isEntityName;function isPropertyName(S){var E=S.kind;return E===75||E===76||E===10||E===8||E===154}S.isPropertyName=isPropertyName;function isBindingName(S){var E=S.kind;return E===75||E===189||E===190}S.isBindingName=isBindingName;function isFunctionLike(S){return S&&isFunctionLikeKind(S.kind)}S.isFunctionLike=isFunctionLike;function isFunctionLikeDeclaration(S){return S&&isFunctionLikeDeclarationKind(S.kind)}S.isFunctionLikeDeclaration=isFunctionLikeDeclaration;function isFunctionLikeDeclarationKind(S){switch(S){case 244:case 161:case 162:case 163:case 164:case 201:case 202:return true;default:return false}}function isFunctionLikeKind(S){switch(S){case 160:case 165:case 305:case 166:case 167:case 170:case 300:case 171:return true;default:return isFunctionLikeDeclarationKind(S)}}S.isFunctionLikeKind=isFunctionLikeKind;function isFunctionOrModuleBlock(S){return isSourceFile(S)||isModuleBlock(S)||isBlock(S)&&isFunctionLike(S.parent)}S.isFunctionOrModuleBlock=isFunctionOrModuleBlock;function isClassElement(S){var E=S.kind;return E===162||E===159||E===161||E===163||E===164||E===167||E===222}S.isClassElement=isClassElement;function isClassLike(S){return S&&(S.kind===245||S.kind===214)}S.isClassLike=isClassLike;function isAccessor(S){return S&&(S.kind===163||S.kind===164)}S.isAccessor=isAccessor;function isMethodOrAccessor(S){switch(S.kind){case 161:case 163:case 164:return true;default:return false}}S.isMethodOrAccessor=isMethodOrAccessor;function isTypeElement(S){var E=S.kind;return E===166||E===165||E===158||E===160||E===167}S.isTypeElement=isTypeElement;function isClassOrTypeElement(S){return isTypeElement(S)||isClassElement(S)}S.isClassOrTypeElement=isClassOrTypeElement;function isObjectLiteralElementLike(S){var E=S.kind;return E===281||E===282||E===283||E===161||E===163||E===164}S.isObjectLiteralElementLike=isObjectLiteralElementLike;function isTypeNode(E){return S.isTypeNodeKind(E.kind)}S.isTypeNode=isTypeNode;function isFunctionOrConstructorTypeNode(S){switch(S.kind){case 170:case 171:return true}return false}S.isFunctionOrConstructorTypeNode=isFunctionOrConstructorTypeNode;function isBindingPattern(S){if(S){var E=S.kind;return E===190||E===189}return false}S.isBindingPattern=isBindingPattern;function isAssignmentPattern(S){var E=S.kind;return E===192||E===193}S.isAssignmentPattern=isAssignmentPattern;function isArrayBindingElement(S){var E=S.kind;return E===191||E===215}S.isArrayBindingElement=isArrayBindingElement;function isDeclarationBindingElement(S){switch(S.kind){case 242:case 156:case 191:return true}return false}S.isDeclarationBindingElement=isDeclarationBindingElement;function isBindingOrAssignmentPattern(S){return isObjectBindingOrAssignmentPattern(S)||isArrayBindingOrAssignmentPattern(S)}S.isBindingOrAssignmentPattern=isBindingOrAssignmentPattern;function isObjectBindingOrAssignmentPattern(S){switch(S.kind){case 189:case 193:return true}return false}S.isObjectBindingOrAssignmentPattern=isObjectBindingOrAssignmentPattern;function isArrayBindingOrAssignmentPattern(S){switch(S.kind){case 190:case 192:return true}return false}S.isArrayBindingOrAssignmentPattern=isArrayBindingOrAssignmentPattern;function isPropertyAccessOrQualifiedNameOrImportTypeNode(S){var E=S.kind;return E===194||E===153||E===188}S.isPropertyAccessOrQualifiedNameOrImportTypeNode=isPropertyAccessOrQualifiedNameOrImportTypeNode;function isPropertyAccessOrQualifiedName(S){var E=S.kind;return E===194||E===153}S.isPropertyAccessOrQualifiedName=isPropertyAccessOrQualifiedName;function isCallLikeExpression(S){switch(S.kind){case 268:case 267:case 196:case 197:case 198:case 157:return true;default:return false}}S.isCallLikeExpression=isCallLikeExpression;function isCallOrNewExpression(S){return S.kind===196||S.kind===197}S.isCallOrNewExpression=isCallOrNewExpression;function isTemplateLiteral(S){var E=S.kind;return E===211||E===14}S.isTemplateLiteral=isTemplateLiteral;function isLeftHandSideExpression(S){return isLeftHandSideExpressionKind(skipPartiallyEmittedExpressions(S).kind)}S.isLeftHandSideExpression=isLeftHandSideExpression;function isLeftHandSideExpressionKind(S){switch(S){case 194:case 195:case 197:case 196:case 266:case 267:case 270:case 198:case 192:case 200:case 193:case 214:case 201:case 75:case 13:case 8:case 9:case 10:case 14:case 211:case 91:case 100:case 104:case 106:case 102:case 218:case 219:case 96:return true;default:return false}}function isUnaryExpression(S){return isUnaryExpressionKind(skipPartiallyEmittedExpressions(S).kind)}S.isUnaryExpression=isUnaryExpression;function isUnaryExpressionKind(S){switch(S){case 207:case 208:case 203:case 204:case 205:case 206:case 199:return true;default:return isLeftHandSideExpressionKind(S)}}function isUnaryExpressionWithWrite(S){switch(S.kind){case 208:return true;case 207:return S.operator===45||S.operator===46;default:return false}}S.isUnaryExpressionWithWrite=isUnaryExpressionWithWrite;function isExpression(S){return isExpressionKind(skipPartiallyEmittedExpressions(S).kind)}S.isExpression=isExpression;function isExpressionKind(S){switch(S){case 210:case 212:case 202:case 209:case 213:case 217:case 215:case 327:case 326:return true;default:return isUnaryExpressionKind(S)}}function isAssertionExpression(S){var E=S.kind;return E===199||E===217}S.isAssertionExpression=isAssertionExpression;function isPartiallyEmittedExpression(S){return S.kind===326}S.isPartiallyEmittedExpression=isPartiallyEmittedExpression;function isNotEmittedStatement(S){return S.kind===325}S.isNotEmittedStatement=isNotEmittedStatement;function isSyntheticReference(S){return S.kind===330}S.isSyntheticReference=isSyntheticReference;function isNotEmittedOrPartiallyEmittedNode(S){return isNotEmittedStatement(S)||isPartiallyEmittedExpression(S)}S.isNotEmittedOrPartiallyEmittedNode=isNotEmittedOrPartiallyEmittedNode;function isIterationStatement(S,E){switch(S.kind){case 230:case 231:case 232:case 228:case 229:return true;case 238:return E&&isIterationStatement(S.statement,E)}return false}S.isIterationStatement=isIterationStatement;function isScopeMarker(S){return isExportAssignment(S)||isExportDeclaration(S)}S.isScopeMarker=isScopeMarker;function hasScopeMarker(E){return S.some(E,isScopeMarker)}S.hasScopeMarker=hasScopeMarker;function needsScopeMarker(E){return!S.isAnyImportOrReExport(E)&&!isExportAssignment(E)&&!S.hasModifier(E,1)&&!S.isAmbientModule(E)}S.needsScopeMarker=needsScopeMarker;function isExternalModuleIndicator(E){return S.isAnyImportOrReExport(E)||isExportAssignment(E)||S.hasModifier(E,1)}S.isExternalModuleIndicator=isExternalModuleIndicator;function isForInOrOfStatement(S){return S.kind===231||S.kind===232}S.isForInOrOfStatement=isForInOrOfStatement;function isConciseBody(S){return isBlock(S)||isExpression(S)}S.isConciseBody=isConciseBody;function isFunctionBody(S){return isBlock(S)}S.isFunctionBody=isFunctionBody;function isForInitializer(S){return isVariableDeclarationList(S)||isExpression(S)}S.isForInitializer=isForInitializer;function isModuleBody(S){var E=S.kind;return E===250||E===249||E===75}S.isModuleBody=isModuleBody;function isNamespaceBody(S){var E=S.kind;return E===250||E===249}S.isNamespaceBody=isNamespaceBody;function isJSDocNamespaceBody(S){var E=S.kind;return E===75||E===249}S.isJSDocNamespaceBody=isJSDocNamespaceBody;function isNamedImportBindings(S){var E=S.kind;return E===257||E===256}S.isNamedImportBindings=isNamedImportBindings;function isModuleOrEnumDeclaration(S){return S.kind===249||S.kind===248}S.isModuleOrEnumDeclaration=isModuleOrEnumDeclaration;function isDeclarationKind(S){return S===202||S===191||S===245||S===214||S===162||S===248||S===284||S===263||S===244||S===201||S===163||S===255||S===253||S===258||S===246||S===273||S===161||S===160||S===249||S===252||S===256||S===262||S===156||S===281||S===159||S===158||S===164||S===282||S===247||S===155||S===242||S===322||S===315||S===323}function isDeclarationStatementKind(S){return S===244||S===264||S===245||S===246||S===247||S===248||S===249||S===254||S===253||S===260||S===259||S===252}function isStatementKindButNotDeclarationKind(S){return S===234||S===233||S===241||S===228||S===226||S===224||S===231||S===232||S===230||S===227||S===238||S===235||S===237||S===239||S===240||S===225||S===229||S===236||S===325||S===329||S===328}function isDeclaration(E){if(E.kind===155){return E.parent&&E.parent.kind!==321||S.isInJSFile(E)}return isDeclarationKind(E.kind)}S.isDeclaration=isDeclaration;function isDeclarationStatement(S){return isDeclarationStatementKind(S.kind)}S.isDeclarationStatement=isDeclarationStatement;function isStatementButNotDeclaration(S){return isStatementKindButNotDeclarationKind(S.kind)}S.isStatementButNotDeclaration=isStatementButNotDeclaration;function isStatement(S){var E=S.kind;return isStatementKindButNotDeclarationKind(E)||isDeclarationStatementKind(E)||isBlockStatement(S)}S.isStatement=isStatement;function isBlockStatement(E){if(E.kind!==223)return false;if(E.parent!==undefined){if(E.parent.kind===240||E.parent.kind===280){return false}}return!S.isFunctionBlock(E)}function isModuleReference(S){var E=S.kind;return E===265||E===153||E===75}S.isModuleReference=isModuleReference;function isJsxTagNameExpression(S){var E=S.kind;return E===104||E===75||E===194}S.isJsxTagNameExpression=isJsxTagNameExpression;function isJsxChild(S){var E=S.kind;return E===266||E===276||E===267||E===11||E===270}S.isJsxChild=isJsxChild;function isJsxAttributeLike(S){var E=S.kind;return E===273||E===275}S.isJsxAttributeLike=isJsxAttributeLike;function isStringLiteralOrJsxExpression(S){var E=S.kind;return E===10||E===276}S.isStringLiteralOrJsxExpression=isStringLiteralOrJsxExpression;function isJsxOpeningLikeElement(S){var E=S.kind;return E===268||E===267}S.isJsxOpeningLikeElement=isJsxOpeningLikeElement;function isCaseOrDefaultClause(S){var E=S.kind;return E===277||E===278}S.isCaseOrDefaultClause=isCaseOrDefaultClause;function isJSDocNode(S){return S.kind>=294&&S.kind<=323}S.isJSDocNode=isJSDocNode;function isJSDocCommentContainingNode(S){return S.kind===303||S.kind===302||isJSDocTag(S)||isJSDocTypeLiteral(S)||isJSDocSignature(S)}S.isJSDocCommentContainingNode=isJSDocCommentContainingNode;function isJSDocTag(S){return S.kind>=306&&S.kind<=323}S.isJSDocTag=isJSDocTag;function isSetAccessor(S){return S.kind===164}S.isSetAccessor=isSetAccessor;function isGetAccessor(S){return S.kind===163}S.isGetAccessor=isGetAccessor;function hasJSDocNodes(S){var E=S.jsDoc;return!!E&&E.length>0}S.hasJSDocNodes=hasJSDocNodes;function hasType(S){return!!S.type}S.hasType=hasType;function hasInitializer(S){return!!S.initializer}S.hasInitializer=hasInitializer;function hasOnlyExpressionInitializer(S){switch(S.kind){case 242:case 156:case 191:case 158:case 159:case 281:case 284:return true;default:return false}}S.hasOnlyExpressionInitializer=hasOnlyExpressionInitializer;function isObjectLiteralElement(S){return S.kind===273||S.kind===275||isObjectLiteralElementLike(S)}S.isObjectLiteralElement=isObjectLiteralElement;function isTypeReferenceType(S){return S.kind===169||S.kind===216}S.isTypeReferenceType=isTypeReferenceType;var E=1073741823;function guessIndentation(k){var w=E;for(var N=0,j=k;N=0);return S.getLineStarts(k)[E]}S.getStartPositionOfLine=getStartPositionOfLine;function nodePosToString(E){var k=getSourceFileOfNode(E);var w=S.getLineAndCharacterOfPosition(k,E.pos);return k.fileName+"("+(w.line+1)+","+(w.character+1)+")"}S.nodePosToString=nodePosToString;function getEndLinePosition(E,k){S.Debug.assert(E>=0);var w=S.getLineStarts(k);var N=E;var j=k.text;if(N+1===w.length){return j.length-1}else{var q=w[N];var ee=w[N+1]-1;S.Debug.assert(S.isLineBreak(j.charCodeAt(ee)));while(q<=ee&&S.isLineBreak(j.charCodeAt(ee))){ee--}return ee}}S.getEndLinePosition=getEndLinePosition;function isFileLevelUniqueName(S,E,k){return!(k&&k(E))&&!S.identifiers.has(E)}S.isFileLevelUniqueName=isFileLevelUniqueName;function nodeIsMissing(S){if(S===undefined){return true}return S.pos===S.end&&S.pos>=0&&S.kind!==1}S.nodeIsMissing=nodeIsMissing;function nodeIsPresent(S){return!nodeIsMissing(S)}S.nodeIsPresent=nodeIsPresent;function insertStatementsAfterPrologue(S,E,k){if(E===undefined||E.length===0)return S;var N=0;for(;N0){return getTokenPosOfNode(E._children[0],k,w)}return S.skipTrivia((k||getSourceFileOfNode(E)).text,E.pos)}S.getTokenPosOfNode=getTokenPosOfNode;function getNonDecoratorTokenPosOfNode(E,k){if(nodeIsMissing(E)||!E.decorators){return getTokenPosOfNode(E,k)}return S.skipTrivia((k||getSourceFileOfNode(E)).text,E.decorators.end)}S.getNonDecoratorTokenPosOfNode=getNonDecoratorTokenPosOfNode;function getSourceTextOfNodeFromSourceFile(S,E,k){if(k===void 0){k=false}return getTextOfNodeFromSourceText(S.text,E,k)}S.getSourceTextOfNodeFromSourceFile=getSourceTextOfNodeFromSourceFile;function isJSDocTypeExpressionOrChild(E){return!!findAncestor(E,S.isJSDocTypeExpression)}function getTextOfNodeFromSourceText(E,k,w){if(w===void 0){w=false}if(nodeIsMissing(k)){return""}var N=E.substring(w?k.pos:S.skipTrivia(E,k.pos),k.end);if(isJSDocTypeExpressionOrChild(k)){N=N.replace(/(^|\r?\n|\r)\s*\*\s*/g,"$1")}return N}S.getTextOfNodeFromSourceText=getTextOfNodeFromSourceText;function getTextOfNode(S,E){if(E===void 0){E=false}return getSourceTextOfNodeFromSourceFile(getSourceFileOfNode(S),S,E)}S.getTextOfNode=getTextOfNode;function getPos(S){return S.pos}function indexOfNode(E,k){return S.binarySearch(E,k,getPos,S.compareValues)}S.indexOfNode=indexOfNode;function getEmitFlags(S){var E=S.emitNode;return E&&E.flags||0}S.getEmitFlags=getEmitFlags;function getLiteralText(E,k,w,N){if(!nodeIsSynthesized(E)&&E.parent&&!(S.isNumericLiteral(E)&&E.numericLiteralFlags&512||S.isBigIntLiteral(E))){return getSourceTextOfNodeFromSourceFile(k,E)}switch(E.kind){case 10:{var j=N?escapeJsxAttributeString:w||getEmitFlags(E)&16777216?escapeString:escapeNonAsciiString;if(E.singleQuote){return"'"+j(E.text,39)+"'"}else{return'"'+j(E.text,34)+'"'}}case 14:case 15:case 16:case 17:{var j=w||getEmitFlags(E)&16777216?escapeString:escapeNonAsciiString;var q=E.rawText||escapeTemplateSubstitution(j(E.text,96));switch(E.kind){case 14:return"`"+q+"`";case 15:return"`"+q+"${";case 16:return"}"+q+"${";case 17:return"}"+q+"`"}break}case 8:case 9:case 13:return E.text}return S.Debug.fail("Literal kind '"+E.kind+"' not accounted for.")}S.getLiteralText=getLiteralText;function getTextOfConstantValue(E){return S.isString(E)?'"'+escapeNonAsciiString(E)+'"':""+E}S.getTextOfConstantValue=getTextOfConstantValue;function makeIdentifierFromModuleName(E){return S.getBaseFileName(E).replace(/^(\d)/,"_$1").replace(/\W/g,"_")}S.makeIdentifierFromModuleName=makeIdentifierFromModuleName;function isBlockOrCatchScoped(E){return(S.getCombinedNodeFlags(E)&3)!==0||isCatchClauseVariableDeclarationOrBindingElement(E)}S.isBlockOrCatchScoped=isBlockOrCatchScoped;function isCatchClauseVariableDeclarationOrBindingElement(S){var E=getRootDeclaration(S);return E.kind===242&&E.parent.kind===280}S.isCatchClauseVariableDeclarationOrBindingElement=isCatchClauseVariableDeclarationOrBindingElement;function isAmbientModule(E){return S.isModuleDeclaration(E)&&(E.name.kind===10||isGlobalScopeAugmentation(E))}S.isAmbientModule=isAmbientModule;function isModuleWithStringLiteralName(E){return S.isModuleDeclaration(E)&&E.name.kind===10}S.isModuleWithStringLiteralName=isModuleWithStringLiteralName;function isNonGlobalAmbientModule(E){return S.isModuleDeclaration(E)&&S.isStringLiteral(E.name)}S.isNonGlobalAmbientModule=isNonGlobalAmbientModule;function isEffectiveModuleDeclaration(E){return S.isModuleDeclaration(E)||S.isIdentifier(E)}S.isEffectiveModuleDeclaration=isEffectiveModuleDeclaration;function isShorthandAmbientModuleSymbol(S){return isShorthandAmbientModule(S.valueDeclaration)}S.isShorthandAmbientModuleSymbol=isShorthandAmbientModuleSymbol;function isShorthandAmbientModule(S){return S&&S.kind===249&&!S.body}function isBlockScopedContainerTopLevel(E){return E.kind===290||E.kind===249||S.isFunctionLike(E)}S.isBlockScopedContainerTopLevel=isBlockScopedContainerTopLevel;function isGlobalScopeAugmentation(S){return!!(S.flags&1024)}S.isGlobalScopeAugmentation=isGlobalScopeAugmentation;function isExternalModuleAugmentation(S){return isAmbientModule(S)&&isModuleAugmentationExternal(S)}S.isExternalModuleAugmentation=isExternalModuleAugmentation;function isModuleAugmentationExternal(E){switch(E.parent.kind){case 290:return S.isExternalModule(E.parent);case 250:return isAmbientModule(E.parent.parent)&&S.isSourceFile(E.parent.parent.parent)&&!S.isExternalModule(E.parent.parent.parent)}return false}S.isModuleAugmentationExternal=isModuleAugmentationExternal;function getNonAugmentationDeclaration(E){return S.find(E.declarations,(function(E){return!isExternalModuleAugmentation(E)&&!(S.isModuleDeclaration(E)&&isGlobalScopeAugmentation(E))}))}S.getNonAugmentationDeclaration=getNonAugmentationDeclaration;function isEffectiveExternalModule(E,k){return S.isExternalModule(E)||k.isolatedModules||getEmitModuleKind(k)===S.ModuleKind.CommonJS&&!!E.commonJsModuleIndicator}S.isEffectiveExternalModule=isEffectiveExternalModule;function isEffectiveStrictModeSourceFile(E,k){switch(E.scriptKind){case 1:case 3:case 2:case 4:break;default:return false}if(E.isDeclarationFile){return false}if(getStrictOptionValue(k,"alwaysStrict")){return true}if(S.startsWithUseStrict(E.statements)){return true}if(S.isExternalModule(E)||k.isolatedModules){if(getEmitModuleKind(k)>=S.ModuleKind.ES2015){return true}return!k.noImplicitUseStrict}return false}S.isEffectiveStrictModeSourceFile=isEffectiveStrictModeSourceFile;function isBlockScope(E,k){switch(E.kind){case 290:case 251:case 280:case 249:case 230:case 231:case 232:case 162:case 161:case 163:case 164:case 244:case 201:case 202:return true;case 223:return!S.isFunctionLike(k)}return false}S.isBlockScope=isBlockScope;function isDeclarationWithTypeParameters(E){switch(E.kind){case 315:case 322:case 305:return true;default:S.assertType(E);return isDeclarationWithTypeParameterChildren(E)}}S.isDeclarationWithTypeParameters=isDeclarationWithTypeParameters;function isDeclarationWithTypeParameterChildren(E){switch(E.kind){case 165:case 166:case 160:case 167:case 170:case 171:case 300:case 245:case 214:case 246:case 247:case 321:case 244:case 161:case 162:case 163:case 164:case 201:case 202:return true;default:S.assertType(E);return false}}S.isDeclarationWithTypeParameterChildren=isDeclarationWithTypeParameterChildren;function isAnyImportSyntax(S){switch(S.kind){case 254:case 253:return true;default:return false}}S.isAnyImportSyntax=isAnyImportSyntax;function isLateVisibilityPaintedStatement(S){switch(S.kind){case 254:case 253:case 225:case 245:case 244:case 249:case 247:case 246:case 248:return true;default:return false}}S.isLateVisibilityPaintedStatement=isLateVisibilityPaintedStatement;function isAnyImportOrReExport(E){return isAnyImportSyntax(E)||S.isExportDeclaration(E)}S.isAnyImportOrReExport=isAnyImportOrReExport;function getEnclosingBlockScopeContainer(S){return findAncestor(S.parent,(function(S){return isBlockScope(S,S.parent)}))}S.getEnclosingBlockScopeContainer=getEnclosingBlockScopeContainer;function declarationNameToString(S){return!S||getFullWidth(S)===0?"(Missing)":getTextOfNode(S)}S.declarationNameToString=declarationNameToString;function getNameFromIndexInfo(S){return S.declaration?declarationNameToString(S.declaration.parameters[0].name):undefined}S.getNameFromIndexInfo=getNameFromIndexInfo;function isComputedNonLiteralName(S){return S.kind===154&&!isStringOrNumericLiteralLike(S.expression)}S.isComputedNonLiteralName=isComputedNonLiteralName;function getTextOfPropertyName(E){switch(E.kind){case 75:case 76:return E.escapedText;case 10:case 8:case 14:return S.escapeLeadingUnderscores(E.text);case 154:if(isStringOrNumericLiteralLike(E.expression))return S.escapeLeadingUnderscores(E.expression.text);return S.Debug.fail("Text of property name cannot be read from non-literal-valued ComputedPropertyNames");default:return S.Debug.assertNever(E)}}S.getTextOfPropertyName=getTextOfPropertyName;function entityNameToString(E){switch(E.kind){case 104:return"this";case 76:case 75:return getFullWidth(E)===0?S.idText(E):getTextOfNode(E);case 153:return entityNameToString(E.left)+"."+entityNameToString(E.right);case 194:if(S.isIdentifier(E.name)||S.isPrivateIdentifier(E.name)){return entityNameToString(E.expression)+"."+entityNameToString(E.name)}else{return S.Debug.assertNever(E.name)}default:return S.Debug.assertNever(E)}}S.entityNameToString=entityNameToString;function createDiagnosticForNode(S,E,k,w,N,j){var q=getSourceFileOfNode(S);return createDiagnosticForNodeInSourceFile(q,S,E,k,w,N,j)}S.createDiagnosticForNode=createDiagnosticForNode;function createDiagnosticForNodeArray(E,k,w,N,j,q,ee){var te=S.skipTrivia(E.text,k.pos);return createFileDiagnostic(E,te,k.end-te,w,N,j,q,ee)}S.createDiagnosticForNodeArray=createDiagnosticForNodeArray;function createDiagnosticForNodeInSourceFile(S,E,k,w,N,j,q){var ee=getErrorSpanForNode(S,E);return createFileDiagnostic(S,ee.start,ee.length,k,w,N,j,q)}S.createDiagnosticForNodeInSourceFile=createDiagnosticForNodeInSourceFile;function createDiagnosticForNodeFromMessageChain(S,E,k){var w=getSourceFileOfNode(S);var N=getErrorSpanForNode(w,S);return{file:w,start:N.start,length:N.length,code:E.code,category:E.category,messageText:E.next?E:E.messageText,relatedInformation:k}}S.createDiagnosticForNodeFromMessageChain=createDiagnosticForNodeFromMessageChain;function createDiagnosticForRange(S,E,k){return{file:S,start:E.pos,length:E.end-E.pos,code:k.code,category:k.category,messageText:k.message}}S.createDiagnosticForRange=createDiagnosticForRange;function getSpanOfTokenAtPosition(E,k){var w=S.createScanner(E.languageVersion,true,E.languageVariant,E.text,undefined,k);w.scan();var N=w.getTokenPos();return S.createTextSpanFromBounds(N,w.getTextPos())}S.getSpanOfTokenAtPosition=getSpanOfTokenAtPosition;function getErrorSpanForArrowFunction(E,k){var w=S.skipTrivia(E.text,k.pos);if(k.body&&k.body.kind===223){var N=S.getLineAndCharacterOfPosition(E,k.body.pos).line;var j=S.getLineAndCharacterOfPosition(E,k.body.end).line;if(N0?k.statements[0].pos:k.end;return S.createTextSpanFromBounds(j,q)}if(w===undefined){return getSpanOfTokenAtPosition(E,k.pos)}S.Debug.assert(!S.isJSDoc(w));var ee=nodeIsMissing(w);var te=ee||S.isJsxText(k)?w.pos:S.skipTrivia(E.text,w.pos);if(ee){S.Debug.assert(te===w.pos,"This failure could trigger https://github.com/Microsoft/TypeScript/issues/20809");S.Debug.assert(te===w.end,"This failure could trigger https://github.com/Microsoft/TypeScript/issues/20809")}else{S.Debug.assert(te>=w.pos,"This failure could trigger https://github.com/Microsoft/TypeScript/issues/20809");S.Debug.assert(te<=w.end,"This failure could trigger https://github.com/Microsoft/TypeScript/issues/20809")}return S.createTextSpanFromBounds(te,w.end)}S.getErrorSpanForNode=getErrorSpanForNode;function isExternalOrCommonJsModule(S){return(S.externalModuleIndicator||S.commonJsModuleIndicator)!==undefined}S.isExternalOrCommonJsModule=isExternalOrCommonJsModule;function isJsonSourceFile(S){return S.scriptKind===6}S.isJsonSourceFile=isJsonSourceFile;function isEnumConst(E){return!!(S.getCombinedModifierFlags(E)&2048)}S.isEnumConst=isEnumConst;function isDeclarationReadonly(E){return!!(S.getCombinedModifierFlags(E)&64&&!S.isParameterPropertyDeclaration(E,E.parent))}S.isDeclarationReadonly=isDeclarationReadonly;function isVarConst(E){return!!(S.getCombinedNodeFlags(E)&2)}S.isVarConst=isVarConst;function isLet(E){return!!(S.getCombinedNodeFlags(E)&1)}S.isLet=isLet;function isSuperCall(S){return S.kind===196&&S.expression.kind===102}S.isSuperCall=isSuperCall;function isImportCall(S){return S.kind===196&&S.expression.kind===96}S.isImportCall=isImportCall;function isImportMeta(E){return S.isMetaProperty(E)&&E.keywordToken===96&&E.name.escapedText==="meta"}S.isImportMeta=isImportMeta;function isLiteralImportTypeNode(E){return S.isImportTypeNode(E)&&S.isLiteralTypeNode(E.argument)&&S.isStringLiteral(E.argument.literal)}S.isLiteralImportTypeNode=isLiteralImportTypeNode;function isPrologueDirective(S){return S.kind===226&&S.expression.kind===10}S.isPrologueDirective=isPrologueDirective;function isCustomPrologue(S){return!!(getEmitFlags(S)&1048576)}S.isCustomPrologue=isCustomPrologue;function isHoistedFunction(E){return isCustomPrologue(E)&&S.isFunctionDeclaration(E)}S.isHoistedFunction=isHoistedFunction;function isHoistedVariable(E){return S.isIdentifier(E.name)&&!E.initializer}function isHoistedVariableStatement(E){return isCustomPrologue(E)&&S.isVariableStatement(E)&&S.every(E.declarationList.declarations,isHoistedVariable)}S.isHoistedVariableStatement=isHoistedVariableStatement;function getLeadingCommentRangesOfNode(E,k){return E.kind!==11?S.getLeadingCommentRanges(k.text,E.pos):undefined}S.getLeadingCommentRangesOfNode=getLeadingCommentRangesOfNode;function getJSDocCommentRanges(E,k){var w=E.kind===156||E.kind===155||E.kind===201||E.kind===202||E.kind===200?S.concatenate(S.getTrailingCommentRanges(k,E.pos),S.getLeadingCommentRanges(k,E.pos)):S.getLeadingCommentRanges(k,E.pos);return S.filter(w,(function(S){return k.charCodeAt(S.pos+1)===42&&k.charCodeAt(S.pos+2)===42&&k.charCodeAt(S.pos+3)!==47}))}S.getJSDocCommentRanges=getJSDocCommentRanges;S.fullTripleSlashReferencePathRegEx=/^(\/\/\/\s*/;var k=/^(\/\/\/\s*/;S.fullTripleSlashAMDReferencePathRegEx=/^(\/\/\/\s*/;var j=/^(\/\/\/\s*/;function isPartOfTypeNode(E){if(168<=E.kind&&E.kind<=188){return true}switch(E.kind){case 125:case 148:case 140:case 151:case 143:case 128:case 144:case 141:case 146:case 137:return true;case 110:return E.parent.kind!==205;case 216:return!isExpressionWithTypeArgumentsInClassExtendsClause(E);case 155:return E.parent.kind===186||E.parent.kind===181;case 75:if(E.parent.kind===153&&E.parent.right===E){E=E.parent}else if(E.parent.kind===194&&E.parent.name===E){E=E.parent}S.Debug.assert(E.kind===75||E.kind===153||E.kind===194,"'node' was expected to be a qualified name, identifier or property access in 'isPartOfTypeNode'.");case 153:case 194:case 104:{var k=E.parent;if(k.kind===172){return false}if(k.kind===188){return!k.isTypeOf}if(168<=k.kind&&k.kind<=188){return true}switch(k.kind){case 216:return!isExpressionWithTypeArgumentsInClassExtendsClause(k);case 155:return E===k.constraint;case 321:return E===k.constraint;case 159:case 158:case 156:case 242:return E===k.type;case 244:case 201:case 202:case 162:case 161:case 160:case 163:case 164:return E===k.type;case 165:case 166:case 167:return E===k.type;case 199:return E===k.type;case 196:case 197:return S.contains(k.typeArguments,E);case 198:return false}}}return false}S.isPartOfTypeNode=isPartOfTypeNode;function isChildOfNodeWithKind(S,E){while(S){if(S.kind===E){return true}S=S.parent}return false}S.isChildOfNodeWithKind=isChildOfNodeWithKind;function forEachReturnStatement(E,k){return traverse(E);function traverse(E){switch(E.kind){case 235:return k(E);case 251:case 223:case 227:case 228:case 229:case 230:case 231:case 232:case 236:case 237:case 277:case 278:case 238:case 240:case 280:return S.forEachChild(E,traverse)}}}S.forEachReturnStatement=forEachReturnStatement;function forEachYieldExpression(E,k){return traverse(E);function traverse(E){switch(E.kind){case 212:k(E);var w=E.expression;if(w){traverse(w)}return;case 248:case 246:case 249:case 247:return;default:if(S.isFunctionLike(E)){if(E.name&&E.name.kind===154){traverse(E.name.expression);return}}else if(!isPartOfTypeNode(E)){S.forEachChild(E,traverse)}}}}S.forEachYieldExpression=forEachYieldExpression;function getRestParameterElementType(E){if(E&&E.kind===174){return E.elementType}else if(E&&E.kind===169){return S.singleOrUndefined(E.typeArguments)}else{return undefined}}S.getRestParameterElementType=getRestParameterElementType;function getMembersOfDeclaration(S){switch(S.kind){case 246:case 245:case 214:case 173:return S.members;case 193:return S.properties}}S.getMembersOfDeclaration=getMembersOfDeclaration;function isVariableLike(S){if(S){switch(S.kind){case 191:case 284:case 156:case 281:case 159:case 158:case 282:case 242:return true}}return false}S.isVariableLike=isVariableLike;function isVariableLikeOrAccessor(E){return isVariableLike(E)||S.isAccessor(E)}S.isVariableLikeOrAccessor=isVariableLikeOrAccessor;function isVariableDeclarationInVariableStatement(S){return S.parent.kind===243&&S.parent.parent.kind===225}S.isVariableDeclarationInVariableStatement=isVariableDeclarationInVariableStatement;function isValidESSymbolDeclaration(E){return S.isVariableDeclaration(E)?isVarConst(E)&&S.isIdentifier(E.name)&&isVariableDeclarationInVariableStatement(E):S.isPropertyDeclaration(E)?hasReadonlyModifier(E)&&hasStaticModifier(E):S.isPropertySignature(E)&&hasReadonlyModifier(E)}S.isValidESSymbolDeclaration=isValidESSymbolDeclaration;function introducesArgumentsExoticObject(S){switch(S.kind){case 161:case 160:case 162:case 163:case 164:case 244:case 201:return true}return false}S.introducesArgumentsExoticObject=introducesArgumentsExoticObject;function unwrapInnermostStatementOfLabel(S,E){while(true){if(E){E(S)}if(S.statement.kind!==238){return S.statement}S=S.statement}}S.unwrapInnermostStatementOfLabel=unwrapInnermostStatementOfLabel;function isFunctionBlock(E){return E&&E.kind===223&&S.isFunctionLike(E.parent)}S.isFunctionBlock=isFunctionBlock;function isObjectLiteralMethod(S){return S&&S.kind===161&&S.parent.kind===193}S.isObjectLiteralMethod=isObjectLiteralMethod;function isObjectLiteralOrClassExpressionMethod(S){return S.kind===161&&(S.parent.kind===193||S.parent.kind===214)}S.isObjectLiteralOrClassExpressionMethod=isObjectLiteralOrClassExpressionMethod;function isIdentifierTypePredicate(S){return S&&S.kind===1}S.isIdentifierTypePredicate=isIdentifierTypePredicate;function isThisTypePredicate(S){return S&&S.kind===0}S.isThisTypePredicate=isThisTypePredicate;function getPropertyAssignment(S,E,k){return S.properties.filter((function(S){if(S.kind===281){var w=getTextOfPropertyName(S.name);return E===w||!!k&&k===w}return false}))}S.getPropertyAssignment=getPropertyAssignment;function getTsConfigObjectLiteralExpression(E){if(E&&E.statements.length){var k=E.statements[0].expression;return S.tryCast(k,S.isObjectLiteralExpression)}}S.getTsConfigObjectLiteralExpression=getTsConfigObjectLiteralExpression;function getTsConfigPropArrayElementValue(E,k,w){return S.firstDefined(getTsConfigPropArray(E,k),(function(E){return S.isArrayLiteralExpression(E.initializer)?S.find(E.initializer.elements,(function(E){return S.isStringLiteral(E)&&E.text===w})):undefined}))}S.getTsConfigPropArrayElementValue=getTsConfigPropArrayElementValue;function getTsConfigPropArray(E,k){var w=getTsConfigObjectLiteralExpression(E);return w?getPropertyAssignment(w,k):S.emptyArray}S.getTsConfigPropArray=getTsConfigPropArray;function getContainingFunction(E){return findAncestor(E.parent,S.isFunctionLike)}S.getContainingFunction=getContainingFunction;function getContainingFunctionDeclaration(E){return findAncestor(E.parent,S.isFunctionLikeDeclaration)}S.getContainingFunctionDeclaration=getContainingFunctionDeclaration;function getContainingClass(E){return findAncestor(E.parent,S.isClassLike)}S.getContainingClass=getContainingClass;function getThisContainer(E,k){S.Debug.assert(E.kind!==290);while(true){E=E.parent;if(!E){return S.Debug.fail()}switch(E.kind){case 154:if(S.isClassLike(E.parent.parent)){return E}E=E.parent;break;case 157:if(E.parent.kind===156&&S.isClassElement(E.parent.parent)){E=E.parent.parent}else if(S.isClassElement(E.parent)){E=E.parent}break;case 202:if(!k){continue}case 244:case 201:case 249:case 159:case 158:case 161:case 160:case 162:case 163:case 164:case 165:case 166:case 167:case 248:case 290:return E}}}S.getThisContainer=getThisContainer;function getNewTargetContainer(S){var E=getThisContainer(S,false);if(E){switch(E.kind){case 162:case 244:case 201:return E}}return undefined}S.getNewTargetContainer=getNewTargetContainer;function getSuperContainer(E,k){while(true){E=E.parent;if(!E){return E}switch(E.kind){case 154:E=E.parent;break;case 244:case 201:case 202:if(!k){continue}case 159:case 158:case 161:case 160:case 162:case 163:case 164:return E;case 157:if(E.parent.kind===156&&S.isClassElement(E.parent.parent)){E=E.parent.parent}else if(S.isClassElement(E.parent)){E=E.parent}break}}}S.getSuperContainer=getSuperContainer;function getImmediatelyInvokedFunctionExpression(S){if(S.kind===201||S.kind===202){var E=S;var k=S.parent;while(k.kind===200){E=k;k=k.parent}if(k.kind===196&&k.expression===E){return k}}}S.getImmediatelyInvokedFunctionExpression=getImmediatelyInvokedFunctionExpression;function isSuperOrSuperProperty(S){return S.kind===102||isSuperProperty(S)}S.isSuperOrSuperProperty=isSuperOrSuperProperty;function isSuperProperty(S){var E=S.kind;return(E===194||E===195)&&S.expression.kind===102}S.isSuperProperty=isSuperProperty;function isThisProperty(S){var E=S.kind;return(E===194||E===195)&&S.expression.kind===104}S.isThisProperty=isThisProperty;function getEntityNameFromTypeNode(S){switch(S.kind){case 169:return S.typeName;case 216:return isEntityNameExpression(S.expression)?S.expression:undefined;case 75:case 153:return S}return undefined}S.getEntityNameFromTypeNode=getEntityNameFromTypeNode;function getInvokedExpression(S){switch(S.kind){case 198:return S.tag;case 268:case 267:return S.tagName;default:return S.expression}}S.getInvokedExpression=getInvokedExpression;function nodeCanBeDecorated(E,k,w){if(S.isNamedDeclaration(E)&&S.isPrivateIdentifier(E.name)){return false}switch(E.kind){case 245:return true;case 159:return k.kind===245;case 163:case 164:case 161:return E.body!==undefined&&k.kind===245;case 156:return k.body!==undefined&&(k.kind===162||k.kind===161||k.kind===164)&&w.kind===245}return false}S.nodeCanBeDecorated=nodeCanBeDecorated;function nodeIsDecorated(S,E,k){return S.decorators!==undefined&&nodeCanBeDecorated(S,E,k)}S.nodeIsDecorated=nodeIsDecorated;function nodeOrChildIsDecorated(S,E,k){return nodeIsDecorated(S,E,k)||childIsDecorated(S,E)}S.nodeOrChildIsDecorated=nodeOrChildIsDecorated;function childIsDecorated(E,k){switch(E.kind){case 245:return S.some(E.members,(function(S){return nodeOrChildIsDecorated(S,E,k)}));case 161:case 164:return S.some(E.parameters,(function(S){return nodeIsDecorated(S,E,k)}));default:return false}}S.childIsDecorated=childIsDecorated;function isJSXTagName(S){var E=S.parent;if(E.kind===268||E.kind===267||E.kind===269){return E.tagName===S}return false}S.isJSXTagName=isJSXTagName;function isExpressionNode(S){switch(S.kind){case 102:case 100:case 106:case 91:case 13:case 192:case 193:case 194:case 195:case 196:case 197:case 198:case 217:case 199:case 218:case 200:case 201:case 214:case 202:case 205:case 203:case 204:case 207:case 208:case 209:case 210:case 213:case 211:case 215:case 266:case 267:case 270:case 212:case 206:case 219:return true;case 153:while(S.parent.kind===153){S=S.parent}return S.parent.kind===172||isJSXTagName(S);case 75:if(S.parent.kind===172||isJSXTagName(S)){return true}case 8:case 9:case 10:case 14:case 104:return isInExpressionContext(S);default:return false}}S.isExpressionNode=isExpressionNode;function isInExpressionContext(S){var E=S.parent;switch(E.kind){case 242:case 156:case 159:case 158:case 284:case 281:case 191:return E.initializer===S;case 226:case 227:case 228:case 229:case 235:case 236:case 237:case 277:case 239:return E.expression===S;case 230:var k=E;return k.initializer===S&&k.initializer.kind!==243||k.condition===S||k.incrementor===S;case 231:case 232:var w=E;return w.initializer===S&&w.initializer.kind!==243||w.expression===S;case 199:case 217:return S===E.expression;case 221:return S===E.expression;case 154:return S===E.expression;case 157:case 276:case 275:case 283:return true;case 216:return E.expression===S&&isExpressionWithTypeArgumentsInClassExtendsClause(E);case 282:return E.objectAssignmentInitializer===S;default:return isExpressionNode(E)}}S.isInExpressionContext=isInExpressionContext;function isPartOfTypeQuery(S){while(S.kind===153||S.kind===75){S=S.parent}return S.kind===172}S.isPartOfTypeQuery=isPartOfTypeQuery;function isExternalModuleImportEqualsDeclaration(S){return S.kind===253&&S.moduleReference.kind===265}S.isExternalModuleImportEqualsDeclaration=isExternalModuleImportEqualsDeclaration;function getExternalModuleImportEqualsDeclarationExpression(E){S.Debug.assert(isExternalModuleImportEqualsDeclaration(E));return E.moduleReference.expression}S.getExternalModuleImportEqualsDeclarationExpression=getExternalModuleImportEqualsDeclarationExpression;function isInternalModuleImportEqualsDeclaration(S){return S.kind===253&&S.moduleReference.kind!==265}S.isInternalModuleImportEqualsDeclaration=isInternalModuleImportEqualsDeclaration;function isSourceFileJS(S){return isInJSFile(S)}S.isSourceFileJS=isSourceFileJS;function isSourceFileNotJS(S){return!isInJSFile(S)}S.isSourceFileNotJS=isSourceFileNotJS;function isInJSFile(S){return!!S&&!!(S.flags&131072)}S.isInJSFile=isInJSFile;function isInJsonFile(S){return!!S&&!!(S.flags&33554432)}S.isInJsonFile=isInJsonFile;function isSourceFileNotJson(S){return!isJsonSourceFile(S)}S.isSourceFileNotJson=isSourceFileNotJson;function isInJSDoc(S){return!!S&&!!(S.flags&4194304)}S.isInJSDoc=isInJSDoc;function isJSDocIndexSignature(E){return S.isTypeReferenceNode(E)&&S.isIdentifier(E.typeName)&&E.typeName.escapedText==="Object"&&E.typeArguments&&E.typeArguments.length===2&&(E.typeArguments[0].kind===143||E.typeArguments[0].kind===140)}S.isJSDocIndexSignature=isJSDocIndexSignature;function isRequireCall(E,k){if(E.kind!==196){return false}var w=E,N=w.expression,j=w.arguments;if(N.kind!==75||N.escapedText!=="require"){return false}if(j.length!==1){return false}var q=j[0];return!k||S.isStringLiteralLike(q)}S.isRequireCall=isRequireCall;function isRequireVariableDeclaration(E,k){return S.isVariableDeclaration(E)&&!!E.initializer&&isRequireCall(E.initializer,k)}S.isRequireVariableDeclaration=isRequireVariableDeclaration;function isRequireVariableDeclarationStatement(E,k){if(k===void 0){k=true}return S.isVariableStatement(E)&&S.every(E.declarationList.declarations,(function(S){return isRequireVariableDeclaration(S,k)}))}S.isRequireVariableDeclarationStatement=isRequireVariableDeclarationStatement;function isSingleOrDoubleQuote(S){return S===39||S===34}S.isSingleOrDoubleQuote=isSingleOrDoubleQuote;function isStringDoubleQuoted(S,E){return getSourceTextOfNodeFromSourceFile(E,S).charCodeAt(0)===34}S.isStringDoubleQuoted=isStringDoubleQuoted;function getDeclarationOfExpando(E){if(!E.parent){return undefined}var k;var w;if(S.isVariableDeclaration(E.parent)&&E.parent.initializer===E){if(!isInJSFile(E)&&!isVarConst(E.parent)){return undefined}k=E.parent.name;w=E.parent}else if(S.isBinaryExpression(E.parent)){var N=E.parent;var j=E.parent.operatorToken.kind;if(j===62&&N.right===E){k=N.left;w=k}else if(j===56||j===60){if(S.isVariableDeclaration(N.parent)&&N.parent.initializer===N){k=N.parent.name;w=N.parent}else if(S.isBinaryExpression(N.parent)&&N.parent.operatorToken.kind===62&&N.parent.right===N){k=N.parent.left;w=k}if(!k||!isBindableStaticNameExpression(k)||!isSameEntityName(k,N.left)){return undefined}}}if(!k||!getExpandoInitializer(E,isPrototypeAccess(k))){return undefined}return w}S.getDeclarationOfExpando=getDeclarationOfExpando;function isAssignmentDeclaration(E){return S.isBinaryExpression(E)||isAccessExpression(E)||S.isIdentifier(E)||S.isCallExpression(E)}S.isAssignmentDeclaration=isAssignmentDeclaration;function getEffectiveInitializer(E){if(isInJSFile(E)&&E.initializer&&S.isBinaryExpression(E.initializer)&&(E.initializer.operatorToken.kind===56||E.initializer.operatorToken.kind===60)&&E.name&&isEntityNameExpression(E.name)&&isSameEntityName(E.name,E.initializer.left)){return E.initializer.right}return E.initializer}S.getEffectiveInitializer=getEffectiveInitializer;function getDeclaredExpandoInitializer(S){var E=getEffectiveInitializer(S);return E&&getExpandoInitializer(E,isPrototypeAccess(S.name))}S.getDeclaredExpandoInitializer=getDeclaredExpandoInitializer;function hasExpandoValueProperty(E,k){return S.forEach(E.properties,(function(E){return S.isPropertyAssignment(E)&&S.isIdentifier(E.name)&&E.name.escapedText==="value"&&E.initializer&&getExpandoInitializer(E.initializer,k)}))}function getAssignedExpandoInitializer(E){if(E&&E.parent&&S.isBinaryExpression(E.parent)&&E.parent.operatorToken.kind===62){var k=isPrototypeAccess(E.parent.left);return getExpandoInitializer(E.parent.right,k)||getDefaultedExpandoInitializer(E.parent.left,E.parent.right,k)}if(E&&S.isCallExpression(E)&&isBindableObjectDefinePropertyCall(E)){var w=hasExpandoValueProperty(E.arguments[2],E.arguments[1].text==="prototype");if(w){return w}}}S.getAssignedExpandoInitializer=getAssignedExpandoInitializer;function getExpandoInitializer(E,k){if(S.isCallExpression(E)){var w=skipParentheses(E.expression);return w.kind===201||w.kind===202?E:undefined}if(E.kind===201||E.kind===214||E.kind===202){return E}if(S.isObjectLiteralExpression(E)&&(E.properties.length===0||k)){return E}}S.getExpandoInitializer=getExpandoInitializer;function getDefaultedExpandoInitializer(E,k,w){var N=S.isBinaryExpression(k)&&(k.operatorToken.kind===56||k.operatorToken.kind===60)&&getExpandoInitializer(k.right,w);if(N&&isSameEntityName(E,k.left)){return N}}function isDefaultedExpandoInitializer(E){var k=S.isVariableDeclaration(E.parent)?E.parent.name:S.isBinaryExpression(E.parent)&&E.parent.operatorToken.kind===62?E.parent.left:undefined;return k&&getExpandoInitializer(E.right,isPrototypeAccess(k))&&isEntityNameExpression(k)&&isSameEntityName(k,E.left)}S.isDefaultedExpandoInitializer=isDefaultedExpandoInitializer;function getNameOfExpando(E){if(S.isBinaryExpression(E.parent)){var k=(E.parent.operatorToken.kind===56||E.parent.operatorToken.kind===60)&&S.isBinaryExpression(E.parent.parent)?E.parent.parent:E.parent;if(k.operatorToken.kind===62&&S.isIdentifier(k.left)){return k.left}}else if(S.isVariableDeclaration(E.parent)){return E.parent.name}}S.getNameOfExpando=getNameOfExpando;function isSameEntityName(E,k){if(isPropertyNameLiteral(E)&&isPropertyNameLiteral(k)){return getTextOfIdentifierOrLiteral(E)===getTextOfIdentifierOrLiteral(E)}if(S.isIdentifier(E)&&isLiteralLikeAccess(k)&&(k.expression.kind===104||S.isIdentifier(k.expression)&&(k.expression.escapedText==="window"||k.expression.escapedText==="self"||k.expression.escapedText==="global"))){var w=getNameOrArgument(k);if(S.isPrivateIdentifier(w)){S.Debug.fail("Unexpected PrivateIdentifier in name expression with literal-like access.")}return isSameEntityName(E,w)}if(isLiteralLikeAccess(E)&&isLiteralLikeAccess(k)){return getElementOrPropertyAccessName(E)===getElementOrPropertyAccessName(k)&&isSameEntityName(E.expression,k.expression)}return false}function getRightMostAssignedExpression(S){while(isAssignmentExpression(S,true)){S=S.right}return S}S.getRightMostAssignedExpression=getRightMostAssignedExpression;function isExportsIdentifier(E){return S.isIdentifier(E)&&E.escapedText==="exports"}S.isExportsIdentifier=isExportsIdentifier;function isModuleIdentifier(E){return S.isIdentifier(E)&&E.escapedText==="module"}S.isModuleIdentifier=isModuleIdentifier;function isModuleExportsAccessExpression(E){return(S.isPropertyAccessExpression(E)||isLiteralLikeElementAccess(E))&&isModuleIdentifier(E.expression)&&getElementOrPropertyAccessName(E)==="exports"}S.isModuleExportsAccessExpression=isModuleExportsAccessExpression;function getAssignmentDeclarationKind(S){var E=getAssignmentDeclarationKindWorker(S);return E===5||isInJSFile(S)?E:0}S.getAssignmentDeclarationKind=getAssignmentDeclarationKind;function isBindableObjectDefinePropertyCall(E){return S.length(E.arguments)===3&&S.isPropertyAccessExpression(E.expression)&&S.isIdentifier(E.expression.expression)&&S.idText(E.expression.expression)==="Object"&&S.idText(E.expression.name)==="defineProperty"&&isStringOrNumericLiteralLike(E.arguments[1])&&isBindableStaticNameExpression(E.arguments[0],true)}S.isBindableObjectDefinePropertyCall=isBindableObjectDefinePropertyCall;function isLiteralLikeAccess(E){return S.isPropertyAccessExpression(E)||isLiteralLikeElementAccess(E)}S.isLiteralLikeAccess=isLiteralLikeAccess;function isLiteralLikeElementAccess(E){return S.isElementAccessExpression(E)&&(isStringOrNumericLiteralLike(E.argumentExpression)||isWellKnownSymbolSyntactically(E.argumentExpression))}S.isLiteralLikeElementAccess=isLiteralLikeElementAccess;function isBindableStaticAccessExpression(E,k){return S.isPropertyAccessExpression(E)&&(!k&&E.expression.kind===104||S.isIdentifier(E.name)&&isBindableStaticNameExpression(E.expression,true))||isBindableStaticElementAccessExpression(E,k)}S.isBindableStaticAccessExpression=isBindableStaticAccessExpression;function isBindableStaticElementAccessExpression(S,E){return isLiteralLikeElementAccess(S)&&(!E&&S.expression.kind===104||isEntityNameExpression(S.expression)||isBindableStaticAccessExpression(S.expression,true))}S.isBindableStaticElementAccessExpression=isBindableStaticElementAccessExpression;function isBindableStaticNameExpression(S,E){return isEntityNameExpression(S)||isBindableStaticAccessExpression(S,E)}S.isBindableStaticNameExpression=isBindableStaticNameExpression;function getNameOrArgument(E){if(S.isPropertyAccessExpression(E)){return E.name}return E.argumentExpression}S.getNameOrArgument=getNameOrArgument;function getAssignmentDeclarationKindWorker(E){if(S.isCallExpression(E)){if(!isBindableObjectDefinePropertyCall(E)){return 0}var k=E.arguments[0];if(isExportsIdentifier(k)||isModuleExportsAccessExpression(k)){return 8}if(isBindableStaticAccessExpression(k)&&getElementOrPropertyAccessName(k)==="prototype"){return 9}return 7}if(E.operatorToken.kind!==62||!isAccessExpression(E.left)){return 0}if(isBindableStaticNameExpression(E.left.expression,true)&&getElementOrPropertyAccessName(E.left)==="prototype"&&S.isObjectLiteralExpression(getInitializerOfBinaryExpression(E))){return 6}return getAssignmentDeclarationPropertyAccessKind(E.left)}function getElementOrPropertyAccessArgumentExpressionOrName(E){if(S.isPropertyAccessExpression(E)){return E.name}var k=skipParentheses(E.argumentExpression);if(S.isNumericLiteral(k)||S.isStringLiteralLike(k)){return k}return E}S.getElementOrPropertyAccessArgumentExpressionOrName=getElementOrPropertyAccessArgumentExpressionOrName;function getElementOrPropertyAccessName(E){var k=getElementOrPropertyAccessArgumentExpressionOrName(E);if(k){if(S.isIdentifier(k)){return k.escapedText}if(S.isStringLiteralLike(k)||S.isNumericLiteral(k)){return S.escapeLeadingUnderscores(k.text)}}if(S.isElementAccessExpression(E)&&isWellKnownSymbolSyntactically(E.argumentExpression)){return getPropertyNameForKnownSymbolName(S.idText(E.argumentExpression.name))}return undefined}S.getElementOrPropertyAccessName=getElementOrPropertyAccessName;function getAssignmentDeclarationPropertyAccessKind(E){if(E.expression.kind===104){return 4}else if(isModuleExportsAccessExpression(E)){return 2}else if(isBindableStaticNameExpression(E.expression,true)){if(isPrototypeAccess(E.expression)){return 3}var k=E;while(!S.isIdentifier(k.expression)){k=k.expression}var w=k.expression;if((w.escapedText==="exports"||w.escapedText==="module"&&getElementOrPropertyAccessName(k)==="exports")&&isBindableStaticAccessExpression(E)){return 1}if(isBindableStaticNameExpression(E,true)||S.isElementAccessExpression(E)&&isDynamicName(E)){return 5}}return 0}S.getAssignmentDeclarationPropertyAccessKind=getAssignmentDeclarationPropertyAccessKind;function getInitializerOfBinaryExpression(E){while(S.isBinaryExpression(E.right)){E=E.right}return E.right}S.getInitializerOfBinaryExpression=getInitializerOfBinaryExpression;function isPrototypePropertyAssignment(E){return S.isBinaryExpression(E)&&getAssignmentDeclarationKind(E)===3}S.isPrototypePropertyAssignment=isPrototypePropertyAssignment;function isSpecialPropertyDeclaration(E){return isInJSFile(E)&&E.parent&&E.parent.kind===226&&(!S.isElementAccessExpression(E)||isLiteralLikeElementAccess(E))&&!!S.getJSDocTypeTag(E.parent)}S.isSpecialPropertyDeclaration=isSpecialPropertyDeclaration;function setValueDeclaration(S,E){var k=S.valueDeclaration;if(!k||!(E.flags&8388608&&!(k.flags&8388608))&&(isAssignmentDeclaration(k)&&!isAssignmentDeclaration(E))||k.kind!==E.kind&&isEffectiveModuleDeclaration(k)){S.valueDeclaration=E}}S.setValueDeclaration=setValueDeclaration;function isFunctionSymbol(E){if(!E||!E.valueDeclaration){return false}var k=E.valueDeclaration;return k.kind===244||S.isVariableDeclaration(k)&&k.initializer&&S.isFunctionLike(k.initializer)}S.isFunctionSymbol=isFunctionSymbol;function importFromModuleSpecifier(E){return tryGetImportFromModuleSpecifier(E)||S.Debug.failBadSyntaxKind(E.parent)}S.importFromModuleSpecifier=importFromModuleSpecifier;function tryGetImportFromModuleSpecifier(E){switch(E.parent.kind){case 254:case 260:return E.parent;case 265:return E.parent.parent;case 196:return isImportCall(E.parent)||isRequireCall(E.parent,false)?E.parent:undefined;case 187:S.Debug.assert(S.isStringLiteral(E));return S.tryCast(E.parent.parent,S.isImportTypeNode);default:return undefined}}S.tryGetImportFromModuleSpecifier=tryGetImportFromModuleSpecifier;function getExternalModuleName(E){switch(E.kind){case 254:case 260:return E.moduleSpecifier;case 253:return E.moduleReference.kind===265?E.moduleReference.expression:undefined;case 188:return isLiteralImportTypeNode(E)?E.argument.literal:undefined;default:return S.Debug.assertNever(E)}}S.getExternalModuleName=getExternalModuleName;function getNamespaceDeclarationNode(E){switch(E.kind){case 254:return E.importClause&&S.tryCast(E.importClause.namedBindings,S.isNamespaceImport);case 253:return E;case 260:return E.exportClause&&S.tryCast(E.exportClause,S.isNamespaceExport);default:return S.Debug.assertNever(E)}}S.getNamespaceDeclarationNode=getNamespaceDeclarationNode;function isDefaultImport(S){return S.kind===254&&!!S.importClause&&!!S.importClause.name}S.isDefaultImport=isDefaultImport;function forEachImportClauseDeclaration(E,k){if(E.name){var w=k(E);if(w)return w}if(E.namedBindings){var w=S.isNamespaceImport(E.namedBindings)?k(E.namedBindings):S.forEach(E.namedBindings.elements,k);if(w)return w}}S.forEachImportClauseDeclaration=forEachImportClauseDeclaration;function hasQuestionToken(S){if(S){switch(S.kind){case 156:case 161:case 160:case 282:case 281:case 159:case 158:return S.questionToken!==undefined}}return false}S.hasQuestionToken=hasQuestionToken;function isJSDocConstructSignature(E){var k=S.isJSDocFunctionType(E)?S.firstOrUndefined(E.parameters):undefined;var w=S.tryCast(k&&k.name,S.isIdentifier);return!!w&&w.escapedText==="new"}S.isJSDocConstructSignature=isJSDocConstructSignature;function isJSDocTypeAlias(S){return S.kind===322||S.kind===315||S.kind===316}S.isJSDocTypeAlias=isJSDocTypeAlias;function isTypeAlias(E){return isJSDocTypeAlias(E)||S.isTypeAliasDeclaration(E)}S.isTypeAlias=isTypeAlias;function getSourceOfAssignment(E){return S.isExpressionStatement(E)&&S.isBinaryExpression(E.expression)&&E.expression.operatorToken.kind===62?getRightMostAssignedExpression(E.expression):undefined}function getSourceOfDefaultedAssignment(E){return S.isExpressionStatement(E)&&S.isBinaryExpression(E.expression)&&getAssignmentDeclarationKind(E.expression)!==0&&S.isBinaryExpression(E.expression.right)&&(E.expression.right.operatorToken.kind===56||E.expression.right.operatorToken.kind===60)?E.expression.right.right:undefined}function getSingleInitializerOfVariableStatementOrPropertyDeclaration(S){switch(S.kind){case 225:var E=getSingleVariableOfVariableStatement(S);return E&&E.initializer;case 159:return S.initializer;case 281:return S.initializer}}S.getSingleInitializerOfVariableStatementOrPropertyDeclaration=getSingleInitializerOfVariableStatementOrPropertyDeclaration;function getSingleVariableOfVariableStatement(E){return S.isVariableStatement(E)?S.firstOrUndefined(E.declarationList.declarations):undefined}function getNestedModuleDeclaration(E){return S.isModuleDeclaration(E)&&E.body&&E.body.kind===249?E.body:undefined}function getJSDocCommentsAndTags(E){var k;if(isVariableLike(E)&&S.hasInitializer(E)&&S.hasJSDocNodes(E.initializer)){k=S.append(k,S.last(E.initializer.jsDoc))}var w=E;while(w&&w.parent){if(S.hasJSDocNodes(w)){k=S.append(k,S.last(w.jsDoc))}if(w.kind===156){k=S.addRange(k,S.getJSDocParameterTags(w));break}if(w.kind===155){k=S.addRange(k,S.getJSDocTypeParameterTags(w));break}w=getNextJSDocCommentLocation(w)}return k||S.emptyArray}S.getJSDocCommentsAndTags=getJSDocCommentsAndTags;function getNextJSDocCommentLocation(E){var k=E.parent;if(k.kind===281||k.kind===259||k.kind===159||k.kind===226&&E.kind===194||getNestedModuleDeclaration(k)||S.isBinaryExpression(E)&&E.operatorToken.kind===62){return k}else if(k.parent&&(getSingleVariableOfVariableStatement(k.parent)===E||S.isBinaryExpression(k)&&k.operatorToken.kind===62)){return k.parent}else if(k.parent&&k.parent.parent&&(getSingleVariableOfVariableStatement(k.parent.parent)||getSingleInitializerOfVariableStatementOrPropertyDeclaration(k.parent.parent)===E||getSourceOfDefaultedAssignment(k.parent.parent))){return k.parent.parent}}function getParameterSymbolFromJSDoc(E){if(E.symbol){return E.symbol}if(!S.isIdentifier(E.name)){return undefined}var k=E.name.escapedText;var w=getHostSignatureFromJSDoc(E);if(!w){return undefined}var N=S.find(w.parameters,(function(S){return S.name.kind===75&&S.name.escapedText===k}));return N&&N.symbol}S.getParameterSymbolFromJSDoc=getParameterSymbolFromJSDoc;function getHostSignatureFromJSDoc(E){var k=getEffectiveJSDocHost(E);return k&&S.isFunctionLike(k)?k:undefined}S.getHostSignatureFromJSDoc=getHostSignatureFromJSDoc;function getEffectiveJSDocHost(S){var E=getJSDocHost(S);var k=getSourceOfDefaultedAssignment(E)||getSourceOfAssignment(E)||getSingleInitializerOfVariableStatementOrPropertyDeclaration(E)||getSingleVariableOfVariableStatement(E)||getNestedModuleDeclaration(E)||E;return k}S.getEffectiveJSDocHost=getEffectiveJSDocHost;function getJSDocHost(E){return S.Debug.checkDefined(findAncestor(E.parent,S.isJSDoc)).parent}S.getJSDocHost=getJSDocHost;function getTypeParameterFromJsDoc(E){var k=E.name.escapedText;var w=E.parent.parent.parent.typeParameters;return w&&S.find(w,(function(S){return S.name.escapedText===k}))}S.getTypeParameterFromJsDoc=getTypeParameterFromJsDoc;function hasRestParameter(E){var k=S.lastOrUndefined(E.parameters);return!!k&&isRestParameter(k)}S.hasRestParameter=hasRestParameter;function isRestParameter(E){var k=S.isJSDocParameterTag(E)?E.typeExpression&&E.typeExpression.type:E.type;return E.dotDotDotToken!==undefined||!!k&&k.kind===301}S.isRestParameter=isRestParameter;function hasTypeArguments(S){return!!S.typeArguments}S.hasTypeArguments=hasTypeArguments;var q;(function(S){S[S["None"]=0]="None";S[S["Definite"]=1]="Definite";S[S["Compound"]=2]="Compound"})(q=S.AssignmentKind||(S.AssignmentKind={}));function getAssignmentTargetKind(S){var E=S.parent;while(true){switch(E.kind){case 209:var k=E.operatorToken.kind;return isAssignmentOperator(k)&&E.left===S?k===62?1:2:0;case 207:case 208:var w=E.operator;return w===45||w===46?2:0;case 231:case 232:return E.initializer===S?1:0;case 200:case 192:case 213:case 218:S=E;break;case 282:if(E.name!==S){return 0}S=E.parent;break;case 281:if(E.name===S){return 0}S=E.parent;break;default:return 0}E=S.parent}}S.getAssignmentTargetKind=getAssignmentTargetKind;function isAssignmentTarget(S){return getAssignmentTargetKind(S)!==0}S.isAssignmentTarget=isAssignmentTarget;function isNodeWithPossibleHoistedDeclaration(S){switch(S.kind){case 223:case 225:case 236:case 227:case 237:case 251:case 277:case 278:case 238:case 230:case 231:case 232:case 228:case 229:case 240:case 280:return true}return false}S.isNodeWithPossibleHoistedDeclaration=isNodeWithPossibleHoistedDeclaration;function isValueSignatureDeclaration(E){return S.isFunctionExpression(E)||S.isArrowFunction(E)||S.isMethodOrAccessor(E)||S.isFunctionDeclaration(E)||S.isConstructorDeclaration(E)}S.isValueSignatureDeclaration=isValueSignatureDeclaration;function walkUp(S,E){while(S&&S.kind===E){S=S.parent}return S}function walkUpParenthesizedTypes(S){return walkUp(S,182)}S.walkUpParenthesizedTypes=walkUpParenthesizedTypes;function walkUpParenthesizedExpressions(S){return walkUp(S,200)}S.walkUpParenthesizedExpressions=walkUpParenthesizedExpressions;function skipParentheses(E){return S.skipOuterExpressions(E,1)}S.skipParentheses=skipParentheses;function skipParenthesesUp(S){while(S.kind===200){S=S.parent}return S}function isDeleteTarget(S){if(S.kind!==194&&S.kind!==195){return false}S=walkUpParenthesizedExpressions(S.parent);return S&&S.kind===203}S.isDeleteTarget=isDeleteTarget;function isNodeDescendantOf(S,E){while(S){if(S===E)return true;S=S.parent}return false}S.isNodeDescendantOf=isNodeDescendantOf;function isDeclarationName(E){return!S.isSourceFile(E)&&!S.isBindingPattern(E)&&S.isDeclaration(E.parent)&&E.parent.name===E}S.isDeclarationName=isDeclarationName;function getDeclarationFromName(E){var k=E.parent;switch(E.kind){case 10:case 14:case 8:if(S.isComputedPropertyName(k))return k.parent;case 75:if(S.isDeclaration(k)){return k.name===E?k:undefined}else if(S.isQualifiedName(k)){var w=k.parent;return S.isJSDocParameterTag(w)&&w.name===k?w:undefined}else{var N=k.parent;return S.isBinaryExpression(N)&&getAssignmentDeclarationKind(N)!==0&&(N.left.symbol||N.symbol)&&S.getNameOfDeclaration(N)===E?N:undefined}case 76:return S.isDeclaration(k)&&k.name===E?k:undefined;default:return undefined}}S.getDeclarationFromName=getDeclarationFromName;function isLiteralComputedPropertyDeclarationName(E){return isStringOrNumericLiteralLike(E)&&E.parent.kind===154&&S.isDeclaration(E.parent.parent)}S.isLiteralComputedPropertyDeclarationName=isLiteralComputedPropertyDeclarationName;function isIdentifierName(S){var E=S.parent;switch(E.kind){case 159:case 158:case 161:case 160:case 163:case 164:case 284:case 281:case 194:return E.name===S;case 153:if(E.right===S){while(E.kind===153){E=E.parent}return E.kind===172||E.kind===169}return false;case 191:case 258:return E.propertyName===S;case 263:case 273:return true}return false}S.isIdentifierName=isIdentifierName;function isAliasSymbolDeclaration(E){return E.kind===253||E.kind===252||E.kind===255&&!!E.name||E.kind===256||E.kind===262||E.kind===258||E.kind===263||E.kind===259&&exportAssignmentIsAlias(E)||S.isBinaryExpression(E)&&getAssignmentDeclarationKind(E)===2&&exportAssignmentIsAlias(E)||S.isPropertyAccessExpression(E)&&S.isBinaryExpression(E.parent)&&E.parent.left===E&&E.parent.operatorToken.kind===62&&isAliasableExpression(E.parent.right)||E.kind===282||E.kind===281&&isAliasableExpression(E.initializer)}S.isAliasSymbolDeclaration=isAliasSymbolDeclaration;function getAliasDeclarationFromName(S){switch(S.parent.kind){case 255:case 258:case 256:case 263:case 259:case 253:return S.parent;case 153:do{S=S.parent}while(S.parent.kind===153);return getAliasDeclarationFromName(S)}}S.getAliasDeclarationFromName=getAliasDeclarationFromName;function isAliasableExpression(E){return isEntityNameExpression(E)||S.isClassExpression(E)}S.isAliasableExpression=isAliasableExpression;function exportAssignmentIsAlias(S){var E=getExportAssignmentExpression(S);return isAliasableExpression(E)}S.exportAssignmentIsAlias=exportAssignmentIsAlias;function getExportAssignmentExpression(E){return S.isExportAssignment(E)?E.expression:E.right}S.getExportAssignmentExpression=getExportAssignmentExpression;function getPropertyAssignmentAliasLikeExpression(S){return S.kind===282?S.name:S.kind===281?S.initializer:S.parent.right}S.getPropertyAssignmentAliasLikeExpression=getPropertyAssignmentAliasLikeExpression;function getEffectiveBaseTypeNode(E){var k=getClassExtendsHeritageElement(E);if(k&&isInJSFile(E)){var w=S.getJSDocAugmentsTag(E);if(w){return w.class}}return k}S.getEffectiveBaseTypeNode=getEffectiveBaseTypeNode;function getClassExtendsHeritageElement(S){var E=getHeritageClause(S.heritageClauses,90);return E&&E.types.length>0?E.types[0]:undefined}S.getClassExtendsHeritageElement=getClassExtendsHeritageElement;function getEffectiveImplementsTypeNodes(E){if(isInJSFile(E)){return S.getJSDocImplementsTags(E).map((function(S){return S.class}))}else{var k=getHeritageClause(E.heritageClauses,113);return k===null||k===void 0?void 0:k.types}}S.getEffectiveImplementsTypeNodes=getEffectiveImplementsTypeNodes;function getAllSuperTypeNodes(E){return S.isInterfaceDeclaration(E)?getInterfaceBaseTypeNodes(E)||S.emptyArray:S.isClassLike(E)?S.concatenate(S.singleElementArray(getEffectiveBaseTypeNode(E)),getEffectiveImplementsTypeNodes(E))||S.emptyArray:S.emptyArray}S.getAllSuperTypeNodes=getAllSuperTypeNodes;function getInterfaceBaseTypeNodes(S){var E=getHeritageClause(S.heritageClauses,90);return E?E.types:undefined}S.getInterfaceBaseTypeNodes=getInterfaceBaseTypeNodes;function getHeritageClause(S,E){if(S){for(var k=0,w=S;k=0){return N[j]}return undefined}function add(j){var q;if(j.file){q=w.get(j.file.fileName);if(!q){q=[];w.set(j.file.fileName,q);S.insertSorted(k,j.file.fileName,S.compareStringsCaseSensitive)}}else{if(N){N=false;E=E.slice()}q=E}S.insertSorted(q,j,compareDiagnostics)}function getGlobalDiagnostics(){N=true;return E}function getDiagnostics(N){if(N){return w.get(N)||[]}var j=S.flatMapToMutable(k,(function(S){return w.get(S)}));if(!E.length){return j}j.unshift.apply(j,E);return j}}S.createDiagnosticCollection=createDiagnosticCollection;var ne=/\$\{/g;function escapeTemplateSubstitution(S){return S.replace(ne,"\\${")}function hasInvalidEscape(E){return E&&!!(S.isNoSubstitutionTemplateLiteral(E)?E.templateFlags:E.head.templateFlags||S.some(E.templateSpans,(function(S){return!!S.literal.templateFlags})))}S.hasInvalidEscape=hasInvalidEscape;var ae=/[\\\"\u0000-\u001f\t\v\f\b\r\n\u2028\u2029\u0085]/g;var _e=/[\\\'\u0000-\u001f\t\v\f\b\r\n\u2028\u2029\u0085]/g;var ve=/[\\`]/g;var Ee=S.createMapFromTemplate({"\t":"\\t","\v":"\\v","\f":"\\f","\b":"\\b","\r":"\\r","\n":"\\n","\\":"\\\\",'"':'\\"',"'":"\\'","`":"\\`","\u2028":"\\u2028","\u2029":"\\u2029","…":"\\u0085"});function encodeUtf16EscapeSequence(S){var E=S.toString(16).toUpperCase();var k=("0000"+E).slice(-4);return"\\u"+k}function getReplacement(S,E,k){if(S.charCodeAt(0)===0){var w=k.charCodeAt(E+S.length);if(w>=48&&w<=57){return"\\x00"}return"\\0"}return Ee.get(S)||encodeUtf16EscapeSequence(S.charCodeAt(0))}function escapeString(S,E){var k=E===96?ve:E===39?_e:ae;return S.replace(k,getReplacement)}S.escapeString=escapeString;var Te=/[^\u0000-\u007F]/g;function escapeNonAsciiString(S,E){S=escapeString(S,E);return Te.test(S)?S.replace(Te,(function(S){return encodeUtf16EscapeSequence(S.charCodeAt(0))})):S}S.escapeNonAsciiString=escapeNonAsciiString;var Ce=/[\"\u0000-\u001f\u2028\u2029\u0085]/g;var we=/[\'\u0000-\u001f\u2028\u2029\u0085]/g;var Ne=S.createMapFromTemplate({'"':""","'":"'"});function encodeJsxCharacterEntity(S){var E=S.toString(16).toUpperCase();return"&#x"+E+";"}function getJsxAttributeStringReplacement(S){if(S.charCodeAt(0)===0){return"�"}return Ne.get(S)||encodeJsxCharacterEntity(S.charCodeAt(0))}function escapeJsxAttributeString(S,E){var k=E===39?we:Ce;return S.replace(k,getJsxAttributeStringReplacement)}S.escapeJsxAttributeString=escapeJsxAttributeString;function stripQuotes(S){var E=S.length;if(E>=2&&S.charCodeAt(0)===S.charCodeAt(E-1)&&isQuoteOrBacktick(S.charCodeAt(0))){return S.substring(1,E-1)}return S}S.stripQuotes=stripQuotes;function isQuoteOrBacktick(S){return S===39||S===34||S===96}function isIntrinsicJsxName(E){var k=E.charCodeAt(0);return k>=97&&k<=122||S.stringContains(E,"-")}S.isIntrinsicJsxName=isIntrinsicJsxName;var Ie=[""," "];function getIndentString(S){if(Ie[S]===undefined){Ie[S]=getIndentString(S-1)+Ie[1]}return Ie[S]}S.getIndentString=getIndentString;function getIndentSize(){return Ie[1].length}S.getIndentSize=getIndentSize;function createTextWriter(E){var k;var w;var N;var j;var q;var ee=false;function updateLineCountAndPosFor(E){var w=S.computeLineStarts(E);if(w.length>1){j=j+w.length-1;q=k.length-E.length+S.last(w);N=q-k.length===0}else{N=false}}function writeText(S){if(S&&S.length){if(N){S=getIndentString(w)+S;N=false}k+=S;updateLineCountAndPosFor(S)}}function write(S){if(S)ee=false;writeText(S)}function writeComment(S){if(S)ee=true;writeText(S)}function reset(){k="";w=0;N=true;j=0;q=0;ee=false}function rawWrite(S){if(S!==undefined){k+=S;updateLineCountAndPosFor(S);ee=false}}function writeLiteral(S){if(S&&S.length){write(S)}}function writeLine(S){if(!N||S){k+=E;j++;q=k.length;N=true;ee=false}}function getTextPosWithWriteLine(){return N?k.length:k.length+E.length}reset();return{write:write,rawWrite:rawWrite,writeLiteral:writeLiteral,writeLine:writeLine,increaseIndent:function(){w++},decreaseIndent:function(){w--},getIndent:function(){return w},getTextPos:function(){return k.length},getLine:function(){return j},getColumn:function(){return N?w*getIndentSize():k.length-q},getText:function(){return k},isAtStartOfLine:function(){return N},hasTrailingComment:function(){return ee},hasTrailingWhitespace:function(){return!!k.length&&S.isWhiteSpaceLike(k.charCodeAt(k.length-1))},clear:reset,reportInaccessibleThisError:S.noop,reportPrivateInBaseOfClassExpression:S.noop,reportInaccessibleUniqueSymbolError:S.noop,trackSymbol:S.noop,writeKeyword:write,writeOperator:write,writeParameter:write,writeProperty:write,writePunctuation:write,writeSpace:write,writeStringLiteral:write,writeSymbol:function(S,E){return write(S)},writeTrailingSemicolon:write,writeComment:writeComment,getTextPosWithWriteLine:getTextPosWithWriteLine}}S.createTextWriter=createTextWriter;function getTrailingSemicolonDeferringWriter(S){var E=false;function commitPendingTrailingSemicolon(){if(E){S.writeTrailingSemicolon(";");E=false}}return N(N({},S),{writeTrailingSemicolon:function(){E=true},writeLiteral:function(E){commitPendingTrailingSemicolon();S.writeLiteral(E)},writeStringLiteral:function(E){commitPendingTrailingSemicolon();S.writeStringLiteral(E)},writeSymbol:function(E,k){commitPendingTrailingSemicolon();S.writeSymbol(E,k)},writePunctuation:function(E){commitPendingTrailingSemicolon();S.writePunctuation(E)},writeKeyword:function(E){commitPendingTrailingSemicolon();S.writeKeyword(E)},writeOperator:function(E){commitPendingTrailingSemicolon();S.writeOperator(E)},writeParameter:function(E){commitPendingTrailingSemicolon();S.writeParameter(E)},writeSpace:function(E){commitPendingTrailingSemicolon();S.writeSpace(E)},writeProperty:function(E){commitPendingTrailingSemicolon();S.writeProperty(E)},writeComment:function(E){commitPendingTrailingSemicolon();S.writeComment(E)},writeLine:function(){commitPendingTrailingSemicolon();S.writeLine()},increaseIndent:function(){commitPendingTrailingSemicolon();S.increaseIndent()},decreaseIndent:function(){commitPendingTrailingSemicolon();S.decreaseIndent()}})}S.getTrailingSemicolonDeferringWriter=getTrailingSemicolonDeferringWriter;function hostUsesCaseSensitiveFileNames(S){return S.useCaseSensitiveFileNames?S.useCaseSensitiveFileNames():false}S.hostUsesCaseSensitiveFileNames=hostUsesCaseSensitiveFileNames;function hostGetCanonicalFileName(E){return S.createGetCanonicalFileName(hostUsesCaseSensitiveFileNames(E))}S.hostGetCanonicalFileName=hostGetCanonicalFileName;function getResolvedExternalModuleName(S,E,k){return E.moduleName||getExternalModuleNameFromPath(S,E.fileName,k&&k.fileName)}S.getResolvedExternalModuleName=getResolvedExternalModuleName;function getExternalModuleNameFromDeclaration(S,E,k){var w=E.getExternalModuleFileFromDeclaration(k);if(!w||w.isDeclarationFile){return undefined}return getResolvedExternalModuleName(S,w)}S.getExternalModuleNameFromDeclaration=getExternalModuleNameFromDeclaration;function getExternalModuleNameFromPath(E,k,w){var getCanonicalFileName=function(S){return E.getCanonicalFileName(S)};var N=S.toPath(w?S.getDirectoryPath(w):E.getCommonSourceDirectory(),E.getCurrentDirectory(),getCanonicalFileName);var j=S.getNormalizedAbsolutePath(k,E.getCurrentDirectory());var q=S.getRelativePathToDirectoryOrUrl(N,j,N,getCanonicalFileName,false);var ee=removeFileExtension(q);return w?S.ensurePathIsNonModuleName(ee):ee}S.getExternalModuleNameFromPath=getExternalModuleNameFromPath;function getOwnEmitOutputFilePath(S,E,k){var w=E.getCompilerOptions();var N;if(w.outDir){N=removeFileExtension(getSourceFilePathInNewDir(S,E,w.outDir))}else{N=removeFileExtension(S)}return N+k}S.getOwnEmitOutputFilePath=getOwnEmitOutputFilePath;function getDeclarationEmitOutputFilePath(S,E){return getDeclarationEmitOutputFilePathWorker(S,E.getCompilerOptions(),E.getCurrentDirectory(),E.getCommonSourceDirectory(),(function(S){return E.getCanonicalFileName(S)}))}S.getDeclarationEmitOutputFilePath=getDeclarationEmitOutputFilePath;function getDeclarationEmitOutputFilePathWorker(S,E,k,w,N){var j=E.declarationDir||E.outDir;var q=j?getSourceFilePathInNewDirWorker(S,j,k,w,N):S;return removeFileExtension(q)+".d.ts"}S.getDeclarationEmitOutputFilePathWorker=getDeclarationEmitOutputFilePathWorker;function getSourceFilesToEmit(E,k,w){var N=E.getCompilerOptions();if(N.outFile||N.out){var j=getEmitModuleKind(N);var q=N.emitDeclarationOnly||j===S.ModuleKind.AMD||j===S.ModuleKind.System;return S.filter(E.getSourceFiles(),(function(k){return(q||!S.isExternalModule(k))&&sourceFileMayBeEmitted(k,E,w)}))}else{var ee=k===undefined?E.getSourceFiles():[k];return S.filter(ee,(function(S){return sourceFileMayBeEmitted(S,E,w)}))}}S.getSourceFilesToEmit=getSourceFilesToEmit;function sourceFileMayBeEmitted(S,E,k){var w=E.getCompilerOptions();return!(w.noEmitForJsFiles&&isSourceFileJS(S))&&!S.isDeclarationFile&&!E.isSourceFileFromExternalLibrary(S)&&!(isJsonSourceFile(S)&&E.getResolvedProjectReferenceToRedirect(S.fileName))&&(k||!E.isSourceOfProjectReferenceRedirect(S.fileName))}S.sourceFileMayBeEmitted=sourceFileMayBeEmitted;function getSourceFilePathInNewDir(S,E,k){return getSourceFilePathInNewDirWorker(S,k,E.getCurrentDirectory(),E.getCommonSourceDirectory(),(function(S){return E.getCanonicalFileName(S)}))}S.getSourceFilePathInNewDir=getSourceFilePathInNewDir;function getSourceFilePathInNewDirWorker(E,k,w,N,j){var q=S.getNormalizedAbsolutePath(E,w);var ee=j(q).indexOf(j(N))===0;q=ee?q.substring(N.length):q;return S.combinePaths(k,q)}S.getSourceFilePathInNewDirWorker=getSourceFilePathInNewDirWorker;function writeFile(E,k,w,N,j,q){E.writeFile(w,N,j,(function(E){k.add(createCompilerDiagnostic(S.Diagnostics.Could_not_write_file_0_Colon_1,w,E))}),q)}S.writeFile=writeFile;function ensureDirectoriesExist(E,k,w){if(E.length>S.getRootLength(E)&&!w(E)){var N=S.getDirectoryPath(E);ensureDirectoriesExist(N,k,w);k(E)}}function writeFileEnsuringDirectories(E,k,w,N,j,q){try{N(E,k,w)}catch(ee){ensureDirectoriesExist(S.getDirectoryPath(S.normalizePath(E)),j,q);N(E,k,w)}}S.writeFileEnsuringDirectories=writeFileEnsuringDirectories;function getLineOfLocalPosition(E,k){var w=S.getLineStarts(E);return S.computeLineOfPosition(w,k)}S.getLineOfLocalPosition=getLineOfLocalPosition;function getLineOfLocalPositionFromLineMap(E,k){return S.computeLineOfPosition(E,k)}S.getLineOfLocalPositionFromLineMap=getLineOfLocalPositionFromLineMap;function getFirstConstructorWithBody(E){return S.find(E.members,(function(E){return S.isConstructorDeclaration(E)&&nodeIsPresent(E.body)}))}S.getFirstConstructorWithBody=getFirstConstructorWithBody;function getSetAccessorValueParameter(S){if(S&&S.parameters.length>0){var E=S.parameters.length===2&¶meterIsThisKeyword(S.parameters[0]);return S.parameters[E?1:0]}}S.getSetAccessorValueParameter=getSetAccessorValueParameter;function getSetAccessorTypeAnnotationNode(S){var E=getSetAccessorValueParameter(S);return E&&E.type}S.getSetAccessorTypeAnnotationNode=getSetAccessorTypeAnnotationNode;function getThisParameter(E){if(E.parameters.length&&!S.isJSDocSignature(E)){var k=E.parameters[0];if(parameterIsThisKeyword(k)){return k}}}S.getThisParameter=getThisParameter;function parameterIsThisKeyword(S){return isThisIdentifier(S.name)}S.parameterIsThisKeyword=parameterIsThisKeyword;function isThisIdentifier(S){return!!S&&S.kind===75&&identifierIsThisKeyword(S)}S.isThisIdentifier=isThisIdentifier;function identifierIsThisKeyword(S){return S.originalKeywordKind===104}S.identifierIsThisKeyword=identifierIsThisKeyword;function getAllAccessorDeclarations(E,k){var w;var N;var j;var q;if(hasDynamicName(k)){w=k;if(k.kind===163){j=k}else if(k.kind===164){q=k}else{S.Debug.fail("Accessor has wrong kind")}}else{S.forEach(E,(function(E){if(S.isAccessor(E)&&hasModifier(E,32)===hasModifier(k,32)){var ee=getPropertyNameForPropertyNameNode(E.name);var te=getPropertyNameForPropertyNameNode(k.name);if(ee===te){if(!w){w=E}else if(!N){N=E}if(E.kind===163&&!j){j=E}if(E.kind===164&&!q){q=E}}}}))}return{firstAccessor:w,secondAccessor:N,getAccessor:j,setAccessor:q}}S.getAllAccessorDeclarations=getAllAccessorDeclarations;function getEffectiveTypeAnnotationNode(E){if(!isInJSFile(E)&&S.isFunctionDeclaration(E))return undefined;var k=E.type;if(k||!isInJSFile(E))return k;return S.isJSDocPropertyLikeTag(E)?E.typeExpression&&E.typeExpression.type:S.getJSDocType(E)}S.getEffectiveTypeAnnotationNode=getEffectiveTypeAnnotationNode;function getTypeAnnotationNode(S){return S.type}S.getTypeAnnotationNode=getTypeAnnotationNode;function getEffectiveReturnTypeNode(E){return S.isJSDocSignature(E)?E.type&&E.type.typeExpression&&E.type.typeExpression.type:E.type||(isInJSFile(E)?S.getJSDocReturnType(E):undefined)}S.getEffectiveReturnTypeNode=getEffectiveReturnTypeNode;function getJSDocTypeParameterDeclarations(E){return S.flatMap(S.getJSDocTags(E),(function(S){return isNonTypeAliasTemplate(S)?S.typeParameters:undefined}))}S.getJSDocTypeParameterDeclarations=getJSDocTypeParameterDeclarations;function isNonTypeAliasTemplate(E){return S.isJSDocTemplateTag(E)&&!(E.parent.kind===303&&E.parent.tags.some(isJSDocTypeAlias))}function getEffectiveSetAccessorTypeAnnotationNode(S){var E=getSetAccessorValueParameter(S);return E&&getEffectiveTypeAnnotationNode(E)}S.getEffectiveSetAccessorTypeAnnotationNode=getEffectiveSetAccessorTypeAnnotationNode;function emitNewLineBeforeLeadingComments(S,E,k,w){emitNewLineBeforeLeadingCommentsOfPosition(S,E,k.pos,w)}S.emitNewLineBeforeLeadingComments=emitNewLineBeforeLeadingComments;function emitNewLineBeforeLeadingCommentsOfPosition(S,E,k,w){if(w&&w.length&&k!==w[0].pos&&getLineOfLocalPositionFromLineMap(S,k)!==getLineOfLocalPositionFromLineMap(S,w[0].pos)){E.writeLine()}}S.emitNewLineBeforeLeadingCommentsOfPosition=emitNewLineBeforeLeadingCommentsOfPosition;function emitNewLineBeforeLeadingCommentOfPosition(S,E,k,w){if(k!==w&&getLineOfLocalPositionFromLineMap(S,k)!==getLineOfLocalPositionFromLineMap(S,w)){E.writeLine()}}S.emitNewLineBeforeLeadingCommentOfPosition=emitNewLineBeforeLeadingCommentOfPosition;function emitComments(S,E,k,w,N,j,q,ee){if(w&&w.length>0){if(N){k.writeSpace(" ")}var te=false;for(var ne=0,ae=w;ne=Ce+2){break}}ae.push(Te);_e=Te}if(ae.length){var Ce=getLineOfLocalPositionFromLineMap(k,S.last(ae).end);var Ne=getLineOfLocalPositionFromLineMap(k,S.skipTrivia(E,j.pos));if(Ne>=Ce+2){emitNewLineBeforeLeadingComments(k,w,j,te);emitComments(E,k,w,ae,false,true,q,N);ne={nodePos:j.pos,detachedCommentEndPos:S.last(ae).end}}}}return ne;function isPinnedCommentLocal(S){return isPinnedComment(E,S.pos)}}S.emitDetachedComments=emitDetachedComments;function writeCommentRange(E,k,w,N,j,q){if(E.charCodeAt(N+1)===42){var ee=S.computeLineAndCharacterOfPosition(k,N);var te=k.length;var ne=void 0;for(var ae=N,_e=ee.line;ae0){var Ce=Te%getIndentSize();var we=getIndentString((Te-Ce)/getIndentSize());w.rawWrite(we);while(Ce){w.rawWrite(" ");Ce--}}else{w.rawWrite("")}}writeTrimmedCurrentLine(E,j,w,q,ae,ve);ae=ve}}else{w.writeComment(E.substring(N,j))}}S.writeCommentRange=writeCommentRange;function writeTrimmedCurrentLine(S,E,k,w,N,j){var q=Math.min(E,j-1);var ee=S.substring(N,q).replace(/^\s+|\s+$/g,"");if(ee){k.writeComment(ee);if(q!==E){k.writeLine()}}else{k.rawWrite(w)}}function calculateIndent(E,k,w){var N=0;for(;k=0&&S.kind<=152){return 0}if(S.modifierFlagsCache&536870912){return S.modifierFlagsCache&~536870912}var E=getModifierFlagsNoCache(S);S.modifierFlagsCache=E|536870912;return E}S.getModifierFlags=getModifierFlags;function getModifierFlagsNoCache(E){var k=0;if(E.modifiers){for(var w=0,N=E.modifiers;w=62&&S<=74}S.isAssignmentOperator=isAssignmentOperator;function tryGetClassExtendingExpressionWithTypeArguments(S){var E=tryGetClassImplementingOrExtendingExpressionWithTypeArguments(S);return E&&!E.isImplements?E.class:undefined}S.tryGetClassExtendingExpressionWithTypeArguments=tryGetClassExtendingExpressionWithTypeArguments;function tryGetClassImplementingOrExtendingExpressionWithTypeArguments(E){return S.isExpressionWithTypeArguments(E)&&S.isHeritageClause(E.parent)&&S.isClassLike(E.parent.parent)?{class:E.parent.parent,isImplements:E.parent.token===113}:undefined}S.tryGetClassImplementingOrExtendingExpressionWithTypeArguments=tryGetClassImplementingOrExtendingExpressionWithTypeArguments;function isAssignmentExpression(E,k){return S.isBinaryExpression(E)&&(k?E.operatorToken.kind===62:isAssignmentOperator(E.operatorToken.kind))&&S.isLeftHandSideExpression(E.left)}S.isAssignmentExpression=isAssignmentExpression;function isDestructuringAssignment(S){if(isAssignmentExpression(S,true)){var E=S.left.kind;return E===193||E===192}return false}S.isDestructuringAssignment=isDestructuringAssignment;function isExpressionWithTypeArgumentsInClassExtendsClause(S){return tryGetClassExtendingExpressionWithTypeArguments(S)!==undefined}S.isExpressionWithTypeArgumentsInClassExtendsClause=isExpressionWithTypeArgumentsInClassExtendsClause;function isEntityNameExpression(S){return S.kind===75||isPropertyAccessEntityNameExpression(S)}S.isEntityNameExpression=isEntityNameExpression;function getFirstIdentifier(S){switch(S.kind){case 75:return S;case 153:do{S=S.left}while(S.kind!==75);return S;case 194:do{S=S.expression}while(S.kind!==75);return S}}S.getFirstIdentifier=getFirstIdentifier;function isDottedName(S){return S.kind===75||S.kind===104||S.kind===102||S.kind===194&&isDottedName(S.expression)||S.kind===200&&isDottedName(S.expression)}S.isDottedName=isDottedName;function isPropertyAccessEntityNameExpression(E){return S.isPropertyAccessExpression(E)&&S.isIdentifier(E.name)&&isEntityNameExpression(E.expression)}S.isPropertyAccessEntityNameExpression=isPropertyAccessEntityNameExpression;function tryGetPropertyAccessOrIdentifierToString(E){if(S.isPropertyAccessExpression(E)){var k=tryGetPropertyAccessOrIdentifierToString(E.expression);if(k!==undefined){return k+"."+E.name}}else if(S.isIdentifier(E)){return S.unescapeLeadingUnderscores(E.escapedText)}return undefined}S.tryGetPropertyAccessOrIdentifierToString=tryGetPropertyAccessOrIdentifierToString;function isPrototypeAccess(S){return isBindableStaticAccessExpression(S)&&getElementOrPropertyAccessName(S)==="prototype"}S.isPrototypeAccess=isPrototypeAccess;function isRightSideOfQualifiedNameOrPropertyAccess(S){return S.parent.kind===153&&S.parent.right===S||S.parent.kind===194&&S.parent.name===S}S.isRightSideOfQualifiedNameOrPropertyAccess=isRightSideOfQualifiedNameOrPropertyAccess;function isEmptyObjectLiteral(S){return S.kind===193&&S.properties.length===0}S.isEmptyObjectLiteral=isEmptyObjectLiteral;function isEmptyArrayLiteral(S){return S.kind===192&&S.elements.length===0}S.isEmptyArrayLiteral=isEmptyArrayLiteral;function getLocalSymbolForExportDefault(S){return isExportDefaultSymbol(S)?S.declarations[0].localSymbol:undefined}S.getLocalSymbolForExportDefault=getLocalSymbolForExportDefault;function isExportDefaultSymbol(E){return E&&S.length(E.declarations)>0&&hasModifier(E.declarations[0],512)}function tryExtractTSExtension(E){return S.find(S.supportedTSExtensionsForExtractExtension,(function(k){return S.fileExtensionIs(E,k)}))}S.tryExtractTSExtension=tryExtractTSExtension;function getExpandedCharCodes(E){var k=[];var w=E.length;for(var N=0;N>6|192);k.push(j&63|128)}else if(j<65536){k.push(j>>12|224);k.push(j>>6&63|128);k.push(j&63|128)}else if(j<131072){k.push(j>>18|240);k.push(j>>12&63|128);k.push(j>>6&63|128);k.push(j&63|128)}else{S.Debug.assert(false,"Unexpected code point")}}return k}var Fe="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=";function convertToBase64(S){var E="";var k=getExpandedCharCodes(S);var w=0;var N=k.length;var j,q,ee,te;while(w>2;q=(k[w]&3)<<4|k[w+1]>>4;ee=(k[w+1]&15)<<2|k[w+2]>>6;te=k[w+2]&63;if(w+1>=N){ee=te=64}else if(w+2>=N){te=64}E+=Fe.charAt(j)+Fe.charAt(q)+Fe.charAt(ee)+Fe.charAt(te);w+=3}return E}S.convertToBase64=convertToBase64;function getStringFromExpandedCharCodes(S){var E="";var k=0;var w=S.length;while(k>4&3;var ae=(q&15)<<4|ee>>2&15;var _e=(ee&3)<<6|te&63;if(ae===0&&ee!==0){w.push(ne)}else if(_e===0&&te!==0){w.push(ne,ae)}else{w.push(ne,ae,_e)}N+=4}return getStringFromExpandedCharCodes(w)}S.base64decode=base64decode;function readJson(E,k){try{var w=k.readFile(E);if(!w)return{};var N=S.parseConfigFileTextToJson(E,w);if(N.error){return{}}return N.config}catch(S){return{}}}S.readJson=readJson;function directoryProbablyExists(S,E){return!E.directoryExists||E.directoryExists(S)}S.directoryProbablyExists=directoryProbablyExists;var Oe="\r\n";var Me="\n";function getNewLineCharacter(E,k){switch(E.newLine){case 0:return Oe;case 1:return Me}return k?k():S.sys?S.sys.newLine:Oe}S.getNewLineCharacter=getNewLineCharacter;function createRange(E,k){if(k===void 0){k=E}S.Debug.assert(k>=E||k===-1);return{pos:E,end:k}}S.createRange=createRange;function moveRangeEnd(S,E){return createRange(S.pos,E)}S.moveRangeEnd=moveRangeEnd;function moveRangePos(S,E){return createRange(E,S.end)}S.moveRangePos=moveRangePos;function moveRangePastDecorators(S){return S.decorators&&S.decorators.length>0?moveRangePos(S,S.decorators.end):S}S.moveRangePastDecorators=moveRangePastDecorators;function moveRangePastModifiers(S){return S.modifiers&&S.modifiers.length>0?moveRangePos(S,S.modifiers.end):moveRangePastDecorators(S)}S.moveRangePastModifiers=moveRangePastModifiers;function isCollapsedRange(S){return S.pos===S.end}S.isCollapsedRange=isCollapsedRange;function createTokenRange(E,k){return createRange(E,E+S.tokenToString(k).length)}S.createTokenRange=createTokenRange;function rangeIsOnSingleLine(S,E){return rangeStartIsOnSameLineAsRangeEnd(S,S,E)}S.rangeIsOnSingleLine=rangeIsOnSingleLine;function rangeStartPositionsAreOnSameLine(S,E,k){return positionsAreOnSameLine(getStartPositionOfRange(S,k,false),getStartPositionOfRange(E,k,false),k)}S.rangeStartPositionsAreOnSameLine=rangeStartPositionsAreOnSameLine;function rangeEndPositionsAreOnSameLine(S,E,k){return positionsAreOnSameLine(S.end,E.end,k)}S.rangeEndPositionsAreOnSameLine=rangeEndPositionsAreOnSameLine;function rangeStartIsOnSameLineAsRangeEnd(S,E,k){return positionsAreOnSameLine(getStartPositionOfRange(S,k,false),E.end,k)}S.rangeStartIsOnSameLineAsRangeEnd=rangeStartIsOnSameLineAsRangeEnd;function rangeEndIsOnSameLineAsRangeStart(S,E,k){return positionsAreOnSameLine(S.end,getStartPositionOfRange(E,k,false),k)}S.rangeEndIsOnSameLineAsRangeStart=rangeEndIsOnSameLineAsRangeStart;function getLinesBetweenRangeEndAndRangeStart(E,k,w,N){var j=getStartPositionOfRange(k,w,N);return S.getLinesBetweenPositions(w,E.end,j)}S.getLinesBetweenRangeEndAndRangeStart=getLinesBetweenRangeEndAndRangeStart;function getLinesBetweenRangeEndPositions(E,k,w){return S.getLinesBetweenPositions(w,E.end,k.end)}S.getLinesBetweenRangeEndPositions=getLinesBetweenRangeEndPositions;function isNodeArrayMultiLine(S,E){return!positionsAreOnSameLine(S.pos,S.end,E)}S.isNodeArrayMultiLine=isNodeArrayMultiLine;function positionsAreOnSameLine(E,k,w){return S.getLinesBetweenPositions(w,E,k)===0}S.positionsAreOnSameLine=positionsAreOnSameLine;function getStartPositionOfRange(E,k,w){return positionIsSynthesized(E.pos)?-1:S.skipTrivia(k.text,E.pos,false,w)}S.getStartPositionOfRange=getStartPositionOfRange;function getLinesBetweenPositionAndPrecedingNonWhitespaceCharacter(E,k,w,N){var j=S.skipTrivia(w.text,E,false,N);var q=getPreviousNonWhitespacePosition(j,k,w);return S.getLinesBetweenPositions(w,q!==null&&q!==void 0?q:k,j)}S.getLinesBetweenPositionAndPrecedingNonWhitespaceCharacter=getLinesBetweenPositionAndPrecedingNonWhitespaceCharacter;function getLinesBetweenPositionAndNextNonWhitespaceCharacter(E,k,w,N){var j=S.skipTrivia(w.text,E,false,N);return S.getLinesBetweenPositions(w,E,Math.min(k,j))}S.getLinesBetweenPositionAndNextNonWhitespaceCharacter=getLinesBetweenPositionAndNextNonWhitespaceCharacter;function getPreviousNonWhitespacePosition(E,k,w){if(k===void 0){k=0}while(E-- >k){if(!S.isWhiteSpaceLike(w.text.charCodeAt(E))){return E}}}function isDeclarationNameOfEnumOrNamespace(E){var k=S.getParseTreeNode(E);if(k){switch(k.parent.kind){case 248:case 249:return k===k.parent.name}}return false}S.isDeclarationNameOfEnumOrNamespace=isDeclarationNameOfEnumOrNamespace;function getInitializedVariables(E){return S.filter(E.declarations,isInitializedVariable)}S.getInitializedVariables=getInitializedVariables;function isInitializedVariable(S){return S.initializer!==undefined}function isWatchSet(S){return S.watch&&S.hasOwnProperty("watch")}S.isWatchSet=isWatchSet;function closeFileWatcher(S){S.close()}S.closeFileWatcher=closeFileWatcher;function getCheckFlags(S){return S.flags&33554432?S.checkFlags:0}S.getCheckFlags=getCheckFlags;function getDeclarationModifierFlagsFromSymbol(E){if(E.valueDeclaration){var k=S.getCombinedModifierFlags(E.valueDeclaration);return E.parent&&E.parent.flags&32?k:k&~28}if(getCheckFlags(E)&6){var w=E.checkFlags;var N=w&1024?8:w&256?4:16;var j=w&2048?32:0;return N|j}if(E.flags&4194304){return 4|32}return 0}S.getDeclarationModifierFlagsFromSymbol=getDeclarationModifierFlagsFromSymbol;function skipAlias(S,E){return S.flags&2097152?E.getAliasedSymbol(S):S}S.skipAlias=skipAlias;function getCombinedLocalAndExportSymbolFlags(S){return S.exportSymbol?S.exportSymbol.flags|S.flags:S.flags}S.getCombinedLocalAndExportSymbolFlags=getCombinedLocalAndExportSymbolFlags;function isWriteOnlyAccess(S){return accessKind(S)===1}S.isWriteOnlyAccess=isWriteOnlyAccess;function isWriteAccess(S){return accessKind(S)!==0}S.isWriteAccess=isWriteAccess;var Re;(function(S){S[S["Read"]=0]="Read";S[S["Write"]=1]="Write";S[S["ReadWrite"]=2]="ReadWrite"})(Re||(Re={}));function accessKind(S){var E=S.parent;if(!E)return 0;switch(E.kind){case 200:return accessKind(E);case 208:case 207:var k=E.operator;return k===45||k===46?writeOrReadWrite():0;case 209:var w=E,N=w.left,j=w.operatorToken;return N===S&&isAssignmentOperator(j.kind)?j.kind===62?1:writeOrReadWrite():0;case 194:return E.name!==S?0:accessKind(E);case 281:{var q=accessKind(E.parent);return S===E.name?reverseAccessKind(q):q}case 282:return S===E.objectAssignmentInitializer?0:accessKind(E.parent);case 192:return accessKind(E);default:return 0}function writeOrReadWrite(){return E.parent&&skipParenthesesUp(E.parent).kind===226?1:2}}function reverseAccessKind(E){switch(E){case 0:return 1;case 1:return 0;case 2:return 2;default:return S.Debug.assertNever(E)}}function compareDataObjects(S,E){if(!S||!E||Object.keys(S).length!==Object.keys(E).length){return false}for(var k in S){if(typeof S[k]==="object"){if(!compareDataObjects(S[k],E[k])){return false}}else if(typeof S[k]!=="function"){if(S[k]!==E[k]){return false}}}return true}S.compareDataObjects=compareDataObjects;function clearMap(S,E){S.forEach(E);S.clear()}S.clearMap=clearMap;function mutateMapSkippingNewValues(S,E,k){var w=k.onDeleteValue,N=k.onExistingValue;S.forEach((function(k,j){var q=E.get(j);if(q===undefined){S.delete(j);w(k,j)}else if(N){N(k,q,j)}}))}S.mutateMapSkippingNewValues=mutateMapSkippingNewValues;function mutateMap(S,E,k){mutateMapSkippingNewValues(S,E,k);var w=k.createNewValue;E.forEach((function(E,k){if(!S.has(k)){S.set(k,w(k,E))}}))}S.mutateMap=mutateMap;function isAbstractConstructorType(S){return!!(getObjectFlags(S)&16)&&!!S.symbol&&isAbstractConstructorSymbol(S.symbol)}S.isAbstractConstructorType=isAbstractConstructorType;function isAbstractConstructorSymbol(S){if(S.flags&32){var E=getClassLikeDeclarationOfSymbol(S);return!!E&&hasModifier(E,128)}return false}S.isAbstractConstructorSymbol=isAbstractConstructorSymbol;function getClassLikeDeclarationOfSymbol(E){return S.find(E.declarations,S.isClassLike)}S.getClassLikeDeclarationOfSymbol=getClassLikeDeclarationOfSymbol;function getObjectFlags(S){return S.flags&3899393?S.objectFlags:0}S.getObjectFlags=getObjectFlags;function typeHasCallOrConstructSignatures(S,E){return E.getSignaturesOfType(S,0).length!==0||E.getSignaturesOfType(S,1).length!==0}S.typeHasCallOrConstructSignatures=typeHasCallOrConstructSignatures;function forSomeAncestorDirectory(E,k){return!!S.forEachAncestorDirectory(E,(function(S){return k(S)?true:undefined}))}S.forSomeAncestorDirectory=forSomeAncestorDirectory;function isUMDExportSymbol(E){return!!E&&!!E.declarations&&!!E.declarations[0]&&S.isNamespaceExportDeclaration(E.declarations[0])}S.isUMDExportSymbol=isUMDExportSymbol;function showModuleSpecifier(E){var k=E.moduleSpecifier;return S.isStringLiteral(k)?k.text:getTextOfNode(k)}S.showModuleSpecifier=showModuleSpecifier;function getLastChild(E){var k;S.forEachChild(E,(function(S){if(nodeIsPresent(S))k=S}),(function(S){for(var E=S.length-1;E>=0;E--){if(nodeIsPresent(S[E])){k=S[E];break}}}));return k}S.getLastChild=getLastChild;function addToSeen(S,E,k){if(k===void 0){k=true}E=String(E);if(S.has(E)){return false}S.set(E,k);return true}S.addToSeen=addToSeen;function isObjectTypeDeclaration(E){return S.isClassLike(E)||S.isInterfaceDeclaration(E)||S.isTypeLiteralNode(E)}S.isObjectTypeDeclaration=isObjectTypeDeclaration;function isTypeNodeKind(S){return S>=168&&S<=188||S===125||S===148||S===140||S===151||S===141||S===128||S===143||S===144||S===104||S===110||S===146||S===100||S===137||S===216||S===295||S===296||S===297||S===298||S===299||S===300||S===301}S.isTypeNodeKind=isTypeNodeKind;function isAccessExpression(S){return S.kind===194||S.kind===195}S.isAccessExpression=isAccessExpression;function getNameOfAccessExpression(E){if(E.kind===194){return E.name}S.Debug.assert(E.kind===195);return E.argumentExpression}S.getNameOfAccessExpression=getNameOfAccessExpression;function isBundleFileTextLike(S){switch(S.kind){case"text":case"internal":return true;default:return false}}S.isBundleFileTextLike=isBundleFileTextLike;function isNamedImportsOrExports(S){return S.kind===257||S.kind===261}S.isNamedImportsOrExports=isNamedImportsOrExports;function Symbol(S,E){this.flags=S;this.escapedName=E;this.declarations=undefined;this.valueDeclaration=undefined;this.id=undefined;this.mergeId=undefined;this.parent=undefined}function Type(E,k){this.flags=k;if(S.Debug.isDebugging){this.checker=E}}function Signature(E,k){this.flags=k;if(S.Debug.isDebugging){this.checker=E}}function Node(S,E,k){this.pos=E;this.end=k;this.kind=S;this.id=0;this.flags=0;this.modifierFlagsCache=0;this.transformFlags=0;this.parent=undefined;this.original=undefined}function Token(S,E,k){this.pos=E;this.end=k;this.kind=S;this.id=0;this.flags=0;this.transformFlags=0;this.parent=undefined}function Identifier(S,E,k){this.pos=E;this.end=k;this.kind=S;this.id=0;this.flags=0;this.transformFlags=0;this.parent=undefined;this.original=undefined;this.flowNode=undefined}function SourceMapSource(S,E,k){this.fileName=S;this.text=E;this.skipTrivia=k||function(S){return S}}S.objectAllocator={getNodeConstructor:function(){return Node},getTokenConstructor:function(){return Token},getIdentifierConstructor:function(){return Identifier},getPrivateIdentifierConstructor:function(){return Node},getSourceFileConstructor:function(){return Node},getSymbolConstructor:function(){return Symbol},getTypeConstructor:function(){return Type},getSignatureConstructor:function(){return Signature},getSourceMapSourceConstructor:function(){return SourceMapSource}};function setObjectAllocator(E){S.objectAllocator=E}S.setObjectAllocator=setObjectAllocator;function formatStringFromArgs(E,k,w){if(w===void 0){w=0}return E.replace(/{(\d+)}/g,(function(E,N){return""+S.Debug.checkDefined(k[+N+w])}))}S.formatStringFromArgs=formatStringFromArgs;function setLocalizedDiagnosticMessages(E){S.localizedDiagnosticMessages=E}S.setLocalizedDiagnosticMessages=setLocalizedDiagnosticMessages;function getLocaleSpecificMessage(E){return S.localizedDiagnosticMessages&&S.localizedDiagnosticMessages[E.key]||E.message}S.getLocaleSpecificMessage=getLocaleSpecificMessage;function createFileDiagnostic(E,k,w,N){S.Debug.assertGreaterThanOrEqual(k,0);S.Debug.assertGreaterThanOrEqual(w,0);if(E){S.Debug.assertLessThanOrEqual(k,E.text.length);S.Debug.assertLessThanOrEqual(k+w,E.text.length)}var j=getLocaleSpecificMessage(N);if(arguments.length>4){j=formatStringFromArgs(j,arguments,4)}return{file:E,start:k,length:w,messageText:j,category:N.category,code:N.code,reportsUnnecessary:N.reportsUnnecessary}}S.createFileDiagnostic=createFileDiagnostic;function formatMessage(S,E){var k=getLocaleSpecificMessage(E);if(arguments.length>2){k=formatStringFromArgs(k,arguments,2)}return k}S.formatMessage=formatMessage;function createCompilerDiagnostic(S){var E=getLocaleSpecificMessage(S);if(arguments.length>1){E=formatStringFromArgs(E,arguments,1)}return{file:undefined,start:undefined,length:undefined,messageText:E,category:S.category,code:S.code,reportsUnnecessary:S.reportsUnnecessary}}S.createCompilerDiagnostic=createCompilerDiagnostic;function createCompilerDiagnosticFromMessageChain(S){return{file:undefined,start:undefined,length:undefined,code:S.code,category:S.category,messageText:S.next?S:S.messageText}}S.createCompilerDiagnosticFromMessageChain=createCompilerDiagnosticFromMessageChain;function chainDiagnosticMessages(S,E){var k=getLocaleSpecificMessage(E);if(arguments.length>2){k=formatStringFromArgs(k,arguments,2)}return{messageText:k,category:E.category,code:E.code,next:S===undefined||Array.isArray(S)?S:[S]}}S.chainDiagnosticMessages=chainDiagnosticMessages;function concatenateDiagnosticMessageChains(S,E){var k=S;while(k.next){k=k.next[0]}k.next=[E]}S.concatenateDiagnosticMessageChains=concatenateDiagnosticMessageChains;function getDiagnosticFilePath(S){return S.file?S.file.path:undefined}function compareDiagnostics(S,E){return compareDiagnosticsSkipRelatedInformation(S,E)||compareRelatedInformation(S,E)||0}S.compareDiagnostics=compareDiagnostics;function compareDiagnosticsSkipRelatedInformation(E,k){return S.compareStringsCaseSensitive(getDiagnosticFilePath(E),getDiagnosticFilePath(k))||S.compareValues(E.start,k.start)||S.compareValues(E.length,k.length)||S.compareValues(E.code,k.code)||compareMessageText(E.messageText,k.messageText)||0}S.compareDiagnosticsSkipRelatedInformation=compareDiagnosticsSkipRelatedInformation;function compareRelatedInformation(E,k){if(!E.relatedInformation&&!k.relatedInformation){return 0}if(E.relatedInformation&&k.relatedInformation){return S.compareValues(E.relatedInformation.length,k.relatedInformation.length)||S.forEach(E.relatedInformation,(function(S,E){var w=k.relatedInformation[E];return compareDiagnostics(S,w)}))||0}return E.relatedInformation?-1:1}function compareMessageText(E,k){if(typeof E==="string"&&typeof k==="string"){return S.compareStringsCaseSensitive(E,k)}else if(typeof E==="string"){return-1}else if(typeof k==="string"){return 1}var w=S.compareStringsCaseSensitive(E.messageText,k.messageText);if(w){return w}if(!E.next&&!k.next){return 0}if(!E.next){return-1}if(!k.next){return 1}var N=Math.min(E.next.length,k.next.length);for(var j=0;jk.next.length){return 1}return 0}function getEmitScriptTarget(S){return S.target||0}S.getEmitScriptTarget=getEmitScriptTarget;function getEmitModuleKind(E){return typeof E.module==="number"?E.module:getEmitScriptTarget(E)>=2?S.ModuleKind.ES2015:S.ModuleKind.CommonJS}S.getEmitModuleKind=getEmitModuleKind;function getEmitModuleResolutionKind(E){var k=E.moduleResolution;if(k===undefined){k=getEmitModuleKind(E)===S.ModuleKind.CommonJS?S.ModuleResolutionKind.NodeJs:S.ModuleResolutionKind.Classic}return k}S.getEmitModuleResolutionKind=getEmitModuleResolutionKind;function hasJsonModuleEmitEnabled(E){switch(getEmitModuleKind(E)){case S.ModuleKind.CommonJS:case S.ModuleKind.AMD:case S.ModuleKind.ES2015:case S.ModuleKind.ES2020:case S.ModuleKind.ESNext:return true;default:return false}}S.hasJsonModuleEmitEnabled=hasJsonModuleEmitEnabled;function unreachableCodeIsError(S){return S.allowUnreachableCode===false}S.unreachableCodeIsError=unreachableCodeIsError;function unusedLabelIsError(S){return S.allowUnusedLabels===false}S.unusedLabelIsError=unusedLabelIsError;function getAreDeclarationMapsEnabled(S){return!!(getEmitDeclarations(S)&&S.declarationMap)}S.getAreDeclarationMapsEnabled=getAreDeclarationMapsEnabled;function getAllowSyntheticDefaultImports(E){var k=getEmitModuleKind(E);return E.allowSyntheticDefaultImports!==undefined?E.allowSyntheticDefaultImports:E.esModuleInterop||k===S.ModuleKind.System}S.getAllowSyntheticDefaultImports=getAllowSyntheticDefaultImports;function getEmitDeclarations(S){return!!(S.declaration||S.composite)}S.getEmitDeclarations=getEmitDeclarations;function isIncrementalCompilation(S){return!!(S.incremental||S.composite)}S.isIncrementalCompilation=isIncrementalCompilation;function getStrictOptionValue(S,E){return S[E]===undefined?!!S.strict:!!S[E]}S.getStrictOptionValue=getStrictOptionValue;function compilerOptionsAffectSemanticDiagnostics(E,k){return k!==E&&S.semanticDiagnosticsOptionDeclarations.some((function(S){return!isJsonEqual(getCompilerOptionValue(k,S),getCompilerOptionValue(E,S))}))}S.compilerOptionsAffectSemanticDiagnostics=compilerOptionsAffectSemanticDiagnostics;function compilerOptionsAffectEmit(E,k){return k!==E&&S.affectsEmitOptionDeclarations.some((function(S){return!isJsonEqual(getCompilerOptionValue(k,S),getCompilerOptionValue(E,S))}))}S.compilerOptionsAffectEmit=compilerOptionsAffectEmit;function getCompilerOptionValue(S,E){return E.strictFlag?getStrictOptionValue(S,E.name):S[E.name]}S.getCompilerOptionValue=getCompilerOptionValue;function hasZeroOrOneAsteriskCharacter(S){var E=false;for(var k=0;k0){te+=")?";ve--}return te}function replaceWildcardCharacter(S,E){return S==="*"?E:S==="?"?"[^/]":"\\"+S}function getFileMatcherPatterns(E,k,w,N,j){E=S.normalizePath(E);j=S.normalizePath(j);var q=S.combinePaths(j,E);return{includeFilePatterns:S.map(getRegularExpressionsForWildcards(w,q,"files"),(function(S){return"^"+S+"$"})),includeFilePattern:getRegularExpressionForWildcard(w,q,"files"),includeDirectoryPattern:getRegularExpressionForWildcard(w,q,"directories"),excludePattern:getRegularExpressionForWildcard(k,q,"exclude"),basePaths:getBasePaths(E,w,N)}}S.getFileMatcherPatterns=getFileMatcherPatterns;function getRegexFromPattern(S,E){return new RegExp(S,E?"":"i")}S.getRegexFromPattern=getRegexFromPattern;function matchFiles(E,k,w,N,j,q,ee,te,ne){E=S.normalizePath(E);q=S.normalizePath(q);var ae=getFileMatcherPatterns(E,w,N,j,q);var _e=ae.includeFilePatterns&&ae.includeFilePatterns.map((function(S){return getRegexFromPattern(S,j)}));var ve=ae.includeDirectoryPattern&&getRegexFromPattern(ae.includeDirectoryPattern,j);var Ee=ae.excludePattern&&getRegexFromPattern(ae.excludePattern,j);var Te=_e?_e.map((function(){return[]})):[[]];var Ce=S.createMap();var we=S.createGetCanonicalFileName(j);for(var Ne=0,Ie=ae.basePaths;Ne=0;w--){if(S.fileExtensionIs(E,k[w])){return adjustExtensionPriority(w,k)}}return 0}S.getExtensionPriority=getExtensionPriority;function adjustExtensionPriority(S,E){if(S<2){return 0}else if(S=0)}S.positionIsSynthesized=positionIsSynthesized;function extensionIsTS(S){return S===".ts"||S===".tsx"||S===".d.ts"}S.extensionIsTS=extensionIsTS;function resolutionExtensionIsTSOrJson(S){return extensionIsTS(S)||S===".json"}S.resolutionExtensionIsTSOrJson=resolutionExtensionIsTSOrJson;function extensionFromPath(E){var k=tryGetExtensionFromPath(E);return k!==undefined?k:S.Debug.fail("File "+E+" has unknown extension.")}S.extensionFromPath=extensionFromPath;function isAnySupportedFileExtension(S){return tryGetExtensionFromPath(S)!==undefined}S.isAnySupportedFileExtension=isAnySupportedFileExtension;function tryGetExtensionFromPath(E){return S.find(Ge,(function(k){return S.fileExtensionIs(E,k)}))}S.tryGetExtensionFromPath=tryGetExtensionFromPath;function isCheckJsEnabledForFile(S,E){return S.checkJsDirective?S.checkJsDirective.enabled:E.checkJs}S.isCheckJsEnabledForFile=isCheckJsEnabledForFile;S.emptyFileSystemEntries={files:S.emptyArray,directories:S.emptyArray};function matchPatternOrExact(E,k){var w=[];for(var N=0,j=E;NN){N=q}}return{min:w,max:N}}S.minAndMax=minAndMax;var Je=function(){function NodeSet(){this.map=S.createMap()}NodeSet.prototype.add=function(E){this.map.set(String(S.getNodeId(E)),E)};NodeSet.prototype.tryAdd=function(S){if(this.has(S))return false;this.add(S);return true};NodeSet.prototype.has=function(E){return this.map.has(String(S.getNodeId(E)))};NodeSet.prototype.forEach=function(S){this.map.forEach(S)};NodeSet.prototype.some=function(S){return forEachEntry(this.map,S)||false};return NodeSet}();S.NodeSet=Je;var Ke=function(){function NodeMap(){this.map=S.createMap()}NodeMap.prototype.get=function(E){var k=this.map.get(String(S.getNodeId(E)));return k&&k.value};NodeMap.prototype.getOrUpdate=function(S,E){var k=this.get(S);if(k)return k;var w=E();this.set(S,w);return w};NodeMap.prototype.set=function(E,k){this.map.set(String(S.getNodeId(E)),{node:E,value:k})};NodeMap.prototype.has=function(E){return this.map.has(String(S.getNodeId(E)))};NodeMap.prototype.forEach=function(S){this.map.forEach((function(E){var k=E.node,w=E.value;return S(w,k)}))};return NodeMap}();S.NodeMap=Ke;function rangeOfNode(S){return{pos:getTokenPosOfNode(S),end:S.end}}S.rangeOfNode=rangeOfNode;function rangeOfTypeParameters(S){return{pos:S.pos-1,end:S.end+1}}S.rangeOfTypeParameters=rangeOfTypeParameters;function skipTypeChecking(S,E,k){return E.skipLibCheck&&S.isDeclarationFile||E.skipDefaultLibCheck&&S.hasNoDefaultLib||k.isSourceOfProjectReferenceRedirect(S.fileName)}S.skipTypeChecking=skipTypeChecking;function isJsonEqual(E,k){return E===k||typeof E==="object"&&E!==null&&typeof k==="object"&&k!==null&&S.equalOwnProperties(E,k,isJsonEqual)}S.isJsonEqual=isJsonEqual;function getOrUpdate(S,E,k){var w=S.get(E);if(w===undefined){var N=k();S.set(E,N);return N}else{return w}}S.getOrUpdate=getOrUpdate;function parsePseudoBigInt(S){var E;switch(S.charCodeAt(1)){case 98:case 66:E=1;break;case 111:case 79:E=3;break;case 120:case 88:E=4;break;default:var k=S.length-1;var w=0;while(S.charCodeAt(w)===48){w++}return S.slice(w,k)||"0"}var N=2,j=S.length-1;var q=(j-N)*E;var ee=new Uint16Array((q>>>4)+(q&15?1:0));for(var te=j-1,ne=0;te>=N;te--,ne+=E){var ae=ne>>>4;var _e=S.charCodeAt(te);var ve=_e<=57?_e-48:10+_e-(_e<=70?65:97);var Ee=ve<<(ne&15);ee[ae]|=Ee;var Te=Ee>>>16;if(Te)ee[ae+1]|=Te}var Ce="";var we=ee.length-1;var Ne=true;while(Ne){var Ie=0;Ne=false;for(var ae=we;ae>=0;ae--){var Fe=Ie<<16|ee[ae];var Oe=Fe/10|0;ee[ae]=Oe;Ie=Fe-Oe*10;if(Oe&&!Ne){we=ae;Ne=true}}Ce=Ie+Ce}return Ce}S.parsePseudoBigInt=parsePseudoBigInt;function pseudoBigIntToString(S){var E=S.negative,k=S.base10Value;return(E&&k!=="0"?"-":"")+k}S.pseudoBigIntToString=pseudoBigIntToString;function isValidTypeOnlyAliasUseSite(S){return!!(S.flags&8388608)||isPartOfTypeQuery(S)||isIdentifierInNonEmittingHeritageClause(S)||isPartOfPossiblyValidTypeOrAbstractComputedPropertyName(S)||!isExpressionNode(S)}S.isValidTypeOnlyAliasUseSite=isValidTypeOnlyAliasUseSite;function typeOnlyDeclarationIsExport(S){return S.kind===263}S.typeOnlyDeclarationIsExport=typeOnlyDeclarationIsExport;function isPartOfPossiblyValidTypeOrAbstractComputedPropertyName(S){while(S.kind===75||S.kind===194){S=S.parent}if(S.kind!==154){return false}if(hasModifier(S.parent,128)){return true}var E=S.parent.parent.kind;return E===246||E===173}function isIdentifierInNonEmittingHeritageClause(S){if(S.kind!==75)return false;var E=findAncestor(S.parent,(function(S){switch(S.kind){case 279:return true;case 194:case 216:return false;default:return"quit"}}));return(E===null||E===void 0?void 0:E.token)===113||(E===null||E===void 0?void 0:E.parent.kind)===246}function isIdentifierTypeReference(E){return S.isTypeReferenceNode(E)&&S.isIdentifier(E.typeName)}S.isIdentifierTypeReference=isIdentifierTypeReference;function arrayIsHomogeneous(E,k){if(k===void 0){k=S.equateValues}if(E.length<2)return true;var w=E[0];for(var N=1,j=E.length;N=0;ae--){var _e=te[ae];var ne=k(_e,E);if(ne){if(ne==="skip")continue;return ne}N.push(_e)}}else{N.push(te);var ne=k(te,E);if(ne){if(ne==="skip")continue;return ne}}}}}S.forEachChildRecursively=forEachChildRecursively;function createSourceFile(E,k,w,N,j){if(N===void 0){N=false}S.performance.mark("beforeParse");var q;S.perfLogger.logStartParseSourceFile(E);if(w===100){q=ee.parseSourceFile(E,k,w,undefined,N,6)}else{q=ee.parseSourceFile(E,k,w,undefined,N,j)}S.perfLogger.logStopParseSourceFile();S.performance.mark("afterParse");S.performance.measure("Parse","beforeParse","afterParse");return q}S.createSourceFile=createSourceFile;function parseIsolatedEntityName(S,E){return ee.parseIsolatedEntityName(S,E)}S.parseIsolatedEntityName=parseIsolatedEntityName;function parseJsonText(S,E){return ee.parseJsonText(S,E)}S.parseJsonText=parseJsonText;function isExternalModule(S){return S.externalModuleIndicator!==undefined}S.isExternalModule=isExternalModule;function updateSourceFile(S,E,k,w){if(w===void 0){w=false}var N=te.updateSourceFile(S,E,k,w);N.flags|=S.flags&3145728;return N}S.updateSourceFile=updateSourceFile;function parseIsolatedJSDocComment(S,E,k){var w=ee.JSDocParser.parseIsolatedJSDocComment(S,E,k);if(w&&w.jsDoc){ee.fixupParentReferences(w.jsDoc)}return w}S.parseIsolatedJSDocComment=parseIsolatedJSDocComment;function parseJSDocTypeExpressionForTests(S,E,k){return ee.JSDocParser.parseJSDocTypeExpressionForTests(S,E,k)}S.parseJSDocTypeExpressionForTests=parseJSDocTypeExpressionForTests;var ee;(function(E){var k=S.createScanner(99,true);var w=4096|16384;var N;var j;var q;var ee;var te;var ne;var ae;var _e;var ve;var Ee;var Te;var Ce;var we;var Ne;var Ie;var Fe;var Oe;var Me=false;function parseSourceFile(E,k,w,N,j,q){if(j===void 0){j=false}q=S.ensureScriptKind(E,q);if(q===6){var ee=parseJsonText(E,k,w,N,j);S.convertToObjectWorker(ee,ee.parseDiagnostics,false,undefined,undefined);ee.referencedFiles=S.emptyArray;ee.typeReferenceDirectives=S.emptyArray;ee.libReferenceDirectives=S.emptyArray;ee.amdDependencies=S.emptyArray;ee.hasNoDefaultLib=false;ee.pragmas=S.emptyMap;return ee}initializeState(k,w,N,q);var te=parseSourceFileWorker(E,w,j,q);clearState();return te}E.parseSourceFile=parseSourceFile;function parseIsolatedEntityName(S,E){initializeState(S,E,undefined,1);nextToken();var k=parseEntityName(true);var w=token()===1&&!ae.length;clearState();return w?k:undefined}E.parseIsolatedEntityName=parseIsolatedEntityName;function parseJsonText(E,k,w,N,j){if(w===void 0){w=2}initializeState(k,w,N,6);ne=createSourceFile(E,2,6,false);ne.flags=Oe;nextToken();var q=getNodePos();if(token()===1){ne.statements=createNodeArray([],q,q);ne.endOfFileToken=parseTokenNode()}else{var ee=createNode(226);switch(token()){case 22:ee.expression=parseArrayLiteralExpression();break;case 106:case 91:case 100:ee.expression=parseTokenNode();break;case 40:if(lookAhead((function(){return nextToken()===8&&nextToken()!==58}))){ee.expression=parsePrefixUnaryExpression()}else{ee.expression=parseObjectLiteralExpression()}break;case 8:case 10:if(lookAhead((function(){return nextToken()!==58}))){ee.expression=parseLiteralNode();break}default:ee.expression=parseObjectLiteralExpression();break}finishNode(ee);ne.statements=createNodeArray([ee],q);ne.endOfFileToken=parseExpectedToken(1,S.Diagnostics.Unexpected_token)}if(j){fixupParentReferences(ne)}ne.nodeCount=Te;ne.identifierCount=Ne;ne.identifiers=Ce;ne.parseDiagnostics=ae;var te=ne;clearState();return te}E.parseJsonText=parseJsonText;function getLanguageVariant(S){return S===4||S===2||S===1||S===6?1:0}function initializeState(E,w,ne,ve){N=S.objectAllocator.getNodeConstructor();j=S.objectAllocator.getTokenConstructor();q=S.objectAllocator.getIdentifierConstructor();ee=S.objectAllocator.getPrivateIdentifierConstructor();te=S.objectAllocator.getSourceFileConstructor();Ee=E;_e=ne;ae=[];Ie=0;Ce=S.createMap();we=S.createMap();Ne=0;Te=0;switch(ve){case 1:case 2:Oe=131072;break;case 6:Oe=131072|33554432;break;default:Oe=0;break}Me=false;k.setText(Ee);k.setOnError(scanError);k.setScriptTarget(w);k.setLanguageVariant(getLanguageVariant(ve))}function clearState(){k.clearCommentDirectives();k.setText("");k.setOnError(undefined);ae=undefined;ne=undefined;Ce=undefined;_e=undefined;Ee=undefined;Fe=undefined}function parseSourceFileWorker(E,w,N,j){var q=isDeclarationFileName(E);if(q){Oe|=8388608}ne=createSourceFile(E,w,j,q);ne.flags=Oe;nextToken();processCommentPragmas(ne,Ee);processPragmasIntoFields(ne,reportPragmaDiagnostic);ne.statements=parseList(0,parseStatement);S.Debug.assert(token()===1);ne.endOfFileToken=addJSDocComment(parseTokenNode());setExternalModuleIndicator(ne);ne.commentDirectives=k.getCommentDirectives();ne.nodeCount=Te;ne.identifierCount=Ne;ne.identifiers=Ce;ne.parseDiagnostics=ae;if(N){fixupParentReferences(ne)}return ne;function reportPragmaDiagnostic(E,k,w){ae.push(S.createFileDiagnostic(ne,E,k,w))}}function addJSDocComment(E){S.Debug.assert(!E.jsDoc);var k=S.mapDefined(S.getJSDocCommentRanges(E,ne.text),(function(S){return Be.parseJSDocComment(E,S.pos,S.end-S.pos)}));if(k.length)E.jsDoc=k;return E}function fixupParentReferences(E){forEachChildRecursively(E,bindParentToChild);function bindParentToChild(E,k){E.parent=k;if(S.hasJSDocNodes(E)){for(var w=0,N=E.jsDoc;w112}function parseExpected(E,k,w){if(w===void 0){w=true}if(token()===E){if(w){nextToken()}return true}if(k){parseErrorAtCurrentToken(k)}else{parseErrorAtCurrentToken(S.Diagnostics._0_expected,S.tokenToString(E))}return false}function parseExpectedJSDoc(E){if(token()===E){nextTokenJSDoc();return true}parseErrorAtCurrentToken(S.Diagnostics._0_expected,S.tokenToString(E));return false}function parseOptional(S){if(token()===S){nextToken();return true}return false}function parseOptionalToken(S){if(token()===S){return parseTokenNode()}return undefined}function parseOptionalTokenJSDoc(S){if(token()===S){return parseTokenNodeJSDoc()}return undefined}function parseExpectedToken(E,k,w){return parseOptionalToken(E)||createMissingNode(E,false,k||S.Diagnostics._0_expected,w||S.tokenToString(E))}function parseExpectedTokenJSDoc(E){return parseOptionalTokenJSDoc(E)||createMissingNode(E,false,S.Diagnostics._0_expected,S.tokenToString(E))}function parseTokenNode(){var S=createNode(token());nextToken();return finishNode(S)}function parseTokenNodeJSDoc(){var S=createNode(token());nextTokenJSDoc();return finishNode(S)}function canParseSemicolon(){if(token()===26){return true}return token()===19||token()===1||k.hasPrecedingLineBreak()}function parseSemicolon(){if(canParseSemicolon()){if(token()===26){nextToken()}return true}else{return parseExpected(26)}}function createNode(E,w){Te++;var te=w>=0?w:k.getStartPos();return S.isNodeKind(E)||E===0?new N(E,te,te):E===75?new q(E,te,te):E===76?new ee(E,te,te):new j(E,te,te)}function createNodeWithJSDoc(S,E){var w=createNode(S,E);if(k.getTokenFlags()&2&&(S!==226||token()!==20)){addJSDocComment(w)}return w}function createNodeArray(S,E,w){var N=S.length;var j=N>=1&&N<=4?S.slice():S;j.pos=E;j.end=w===undefined?k.getStartPos():w;return j}function finishNode(S,E){S.end=E===undefined?k.getStartPos():E;if(Oe){S.flags|=Oe}if(Me){Me=false;S.flags|=65536}return S}function createMissingNode(E,w,N,j){if(w){parseErrorAtPosition(k.getStartPos(),0,N,j)}else if(N){parseErrorAtCurrentToken(N,j)}var q=createNode(E);if(E===75){q.escapedText=""}else if(S.isLiteralKind(E)||S.isTemplateLiteralKind(E)){q.text=""}return finishNode(q)}function internIdentifier(S){var E=Ce.get(S);if(E===undefined){Ce.set(S,E=S)}return E}function createIdentifier(E,w,N){Ne++;if(E){var j=createNode(75);if(token()!==75){j.originalKeywordKind=token()}j.escapedText=S.escapeLeadingUnderscores(internIdentifier(k.getTokenValue()));nextTokenWithoutCheck();return finishNode(j)}if(token()===76){parseErrorAtCurrentToken(N||S.Diagnostics.Private_identifiers_are_not_allowed_outside_class_bodies);return createIdentifier(true)}var q=token()===1;var ee=k.isReservedWord();var te=k.getTokenText();var ne=ee?S.Diagnostics.Identifier_expected_0_is_a_reserved_word_that_cannot_be_used_here:S.Diagnostics.Identifier_expected;return createMissingNode(75,q,w||ne,te)}function parseIdentifier(S,E){return createIdentifier(isIdentifier(),S,E)}function parseIdentifierName(E){return createIdentifier(S.tokenIsIdentifierOrKeyword(token()),E)}function isLiteralPropertyName(){return S.tokenIsIdentifierOrKeyword(token())||token()===10||token()===8}function parsePropertyNameWorker(S){if(token()===10||token()===8){var E=parseLiteralNode();E.text=internIdentifier(E.text);return E}if(S&&token()===22){return parseComputedPropertyName()}if(token()===76){return parsePrivateIdentifier()}return parseIdentifierName()}function parsePropertyName(){return parsePropertyNameWorker(true)}function parseComputedPropertyName(){var S=createNode(154);parseExpected(22);S.expression=allowInAnd(parseExpression);parseExpected(23);return finishNode(S)}function internPrivateIdentifier(S){var E=we.get(S);if(E===undefined){we.set(S,E=S)}return E}function parsePrivateIdentifier(){var E=createNode(76);E.escapedText=S.escapeLeadingUnderscores(internPrivateIdentifier(k.getTokenText()));nextToken();return finishNode(E)}function parseContextualModifier(S){return token()===S&&tryParse(nextTokenCanFollowModifier)}function nextTokenIsOnSameLineAndCanFollowModifier(){nextToken();if(k.hasPrecedingLineBreak()){return false}return canFollowModifier()}function nextTokenCanFollowModifier(){switch(token()){case 81:return nextToken()===88;case 89:nextToken();if(token()===84){return lookAhead(nextTokenCanFollowDefaultKeyword)}if(token()===145){return lookAhead(nextTokenCanFollowExportModifier)}return canFollowExportModifier();case 84:return nextTokenCanFollowDefaultKeyword();case 120:case 131:case 142:nextToken();return canFollowModifier();default:return nextTokenIsOnSameLineAndCanFollowModifier()}}function canFollowExportModifier(){return token()!==41&&token()!==123&&token()!==18&&canFollowModifier()}function nextTokenCanFollowExportModifier(){nextToken();return canFollowExportModifier()}function parseAnyContextualModifier(){return S.isModifierKind(token())&&tryParse(nextTokenCanFollowModifier)}function canFollowModifier(){return token()===22||token()===18||token()===41||token()===25||isLiteralPropertyName()}function nextTokenCanFollowDefaultKeyword(){nextToken();return token()===80||token()===94||token()===114||token()===122&&lookAhead(nextTokenIsClassKeywordOnSameLine)||token()===126&&lookAhead(nextTokenIsFunctionKeywordOnSameLine)}function isListElement(E,k){var w=currentNode(E);if(w){return true}switch(E){case 0:case 1:case 3:return!(token()===26&&k)&&isStartOfStatement();case 2:return token()===78||token()===84;case 4:return lookAhead(isTypeMemberStart);case 5:return lookAhead(isClassMemberStart)||token()===26&&!k;case 6:return token()===22||isLiteralPropertyName();case 12:switch(token()){case 22:case 41:case 25:case 24:return true;default:return isLiteralPropertyName()}case 18:return isLiteralPropertyName();case 9:return token()===22||token()===25||isLiteralPropertyName();case 7:if(token()===18){return lookAhead(isValidHeritageClauseObjectLiteral)}if(!k){return isStartOfLeftHandSideExpression()&&!isHeritageClauseExtendsOrImplementsKeyword()}else{return isIdentifier()&&!isHeritageClauseExtendsOrImplementsKeyword()}case 8:return isIdentifierOrPrivateIdentifierOrPattern();case 10:return token()===27||token()===25||isIdentifierOrPrivateIdentifierOrPattern();case 19:return isIdentifier();case 15:switch(token()){case 27:case 24:return true}case 11:return token()===25||isStartOfExpression();case 16:return isStartOfParameter(false);case 17:return isStartOfParameter(true);case 20:case 21:return token()===27||isStartOfType();case 22:return isHeritageClause();case 23:return S.tokenIsIdentifierOrKeyword(token());case 13:return S.tokenIsIdentifierOrKeyword(token())||token()===18;case 14:return true}return S.Debug.fail("Non-exhaustive case in 'isListElement'.")}function isValidHeritageClauseObjectLiteral(){S.Debug.assert(token()===18);if(nextToken()===19){var E=nextToken();return E===27||E===18||E===90||E===113}return true}function nextTokenIsIdentifier(){nextToken();return isIdentifier()}function nextTokenIsIdentifierOrKeyword(){nextToken();return S.tokenIsIdentifierOrKeyword(token())}function nextTokenIsIdentifierOrKeywordOrGreaterThan(){nextToken();return S.tokenIsIdentifierOrKeywordOrGreaterThan(token())}function isHeritageClauseExtendsOrImplementsKeyword(){if(token()===113||token()===90){return lookAhead(nextTokenIsStartOfExpression)}return false}function nextTokenIsStartOfExpression(){nextToken();return isStartOfExpression()}function nextTokenIsStartOfType(){nextToken();return isStartOfType()}function isListTerminator(S){if(token()===1){return true}switch(S){case 1:case 2:case 4:case 5:case 6:case 12:case 9:case 23:return token()===19;case 3:return token()===19||token()===78||token()===84;case 7:return token()===18||token()===90||token()===113;case 8:return isVariableDeclaratorListTerminator();case 19:return token()===31||token()===20||token()===18||token()===90||token()===113;case 11:return token()===21||token()===26;case 15:case 21:case 10:return token()===23;case 17:case 16:case 18:return token()===21||token()===23;case 20:return token()!==27;case 22:return token()===18||token()===19;case 13:return token()===31||token()===43;case 14:return token()===29&&lookAhead(nextTokenIsSlash);default:return false}}function isVariableDeclaratorListTerminator(){if(canParseSemicolon()){return true}if(isInOrOfKeyword(token())){return true}if(token()===38){return true}return false}function isInSomeParsingContext(){for(var S=0;S<24;S++){if(Ie&1<=0){ne.hasTrailingComma=true}return ne}function getExpectedCommaDiagnostic(E){return E===6?S.Diagnostics.An_enum_member_name_must_be_followed_by_a_or:undefined}function createMissingList(){var S=createNodeArray([],getNodePos());S.isMissingList=true;return S}function isMissingList(S){return!!S.isMissingList}function parseBracketedList(S,E,k,w){if(parseExpected(k)){var N=parseDelimitedList(S,E);parseExpected(w);return N}return createMissingList()}function parseEntityName(S,E){var w=S?parseIdentifierName(E):parseIdentifier(E);var N=k.getStartPos();while(parseOptional(24)){if(token()===29){w.jsdocDotPos=N;break}N=k.getStartPos();w=createQualifiedName(w,parseRightSideOfDot(S,false))}return w}function createQualifiedName(S,E){var k=createNode(153,S.pos);k.left=S;k.right=E;return finishNode(k)}function parseRightSideOfDot(E,w){if(k.hasPrecedingLineBreak()&&S.tokenIsIdentifierOrKeyword(token())){var N=lookAhead(nextTokenIsIdentifierOrKeywordOnSameLine);if(N){return createMissingNode(75,true,S.Diagnostics.Identifier_expected)}}if(token()===76){var j=parsePrivateIdentifier();return w?j:createMissingNode(75,true,S.Diagnostics.Identifier_expected)}return E?parseIdentifierName():parseIdentifier()}function parseTemplateExpression(E){var k=createNode(211);k.head=parseTemplateHead(E);S.Debug.assert(k.head.kind===15,"Template head has wrong token kind");var w=[];var N=getNodePos();do{w.push(parseTemplateSpan(E))}while(S.last(w).literal.kind===16);k.templateSpans=createNodeArray(w,N);return finishNode(k)}function parseTemplateSpan(E){var k=createNode(221);k.expression=allowInAnd(parseExpression);var w;if(token()===19){reScanTemplateToken(E);w=parseTemplateMiddleOrTemplateTail()}else{w=parseExpectedToken(17,S.Diagnostics._0_expected,S.tokenToString(19))}k.literal=w;return finishNode(k)}function parseLiteralNode(){return parseLiteralLikeNode(token())}function parseTemplateHead(E){if(E){reScanTemplateHeadOrNoSubstitutionTemplate()}var k=parseLiteralLikeNode(token());S.Debug.assert(k.kind===15,"Template head has wrong token kind");return k}function parseTemplateMiddleOrTemplateTail(){var E=parseLiteralLikeNode(token());S.Debug.assert(E.kind===16||E.kind===17,"Template fragment has wrong token kind");return E}function parseLiteralLikeNode(E){var w=createNode(E);w.text=k.getTokenValue();switch(E){case 14:case 15:case 16:case 17:var N=E===14||E===17;var j=k.getTokenText();w.rawText=j.substring(1,j.length-(k.isUnterminated()?0:N?1:2));break}if(k.hasExtendedUnicodeEscape()){w.hasExtendedUnicodeEscape=true}if(k.isUnterminated()){w.isUnterminated=true}if(w.kind===8){w.numericLiteralFlags=k.getTokenFlags()&1008}if(S.isTemplateLiteralKind(w.kind)){w.templateFlags=k.getTokenFlags()&2048}nextToken();finishNode(w);return w}function parseTypeReference(){var E=createNode(169);E.typeName=parseEntityName(true,S.Diagnostics.Type_expected);if(!k.hasPrecedingLineBreak()&&reScanLessThanToken()===29){E.typeArguments=parseBracketedList(20,parseType,29,31)}return finishNode(E)}function typeHasArrowFunctionBlockingParseError(E){switch(E.kind){case 169:return S.nodeIsMissing(E.typeName);case 170:case 171:{var k=E,w=k.parameters,N=k.type;return isMissingList(w)||typeHasArrowFunctionBlockingParseError(N)}case 182:return typeHasArrowFunctionBlockingParseError(E.type);default:return false}}function parseThisTypePredicate(S){nextToken();var E=createNode(168,S.pos);E.parameterName=S;E.type=parseType();return finishNode(E)}function parseThisTypeNode(){var S=createNode(183);nextToken();return finishNode(S)}function parseJSDocAllType(S){var E=createNode(295);if(S){return createPostfixType(299,E)}else{nextToken()}return finishNode(E)}function parseJSDocNonNullableType(){var S=createNode(298);nextToken();S.type=parseNonArrayType();return finishNode(S)}function parseJSDocUnknownOrNullableType(){var S=k.getStartPos();nextToken();if(token()===27||token()===19||token()===21||token()===31||token()===62||token()===51){var E=createNode(296,S);return finishNode(E)}else{var E=createNode(297,S);E.type=parseType();return finishNode(E)}}function parseJSDocFunctionType(){if(lookAhead(nextTokenIsOpenParen)){var S=createNodeWithJSDoc(300);nextToken();fillSignature(58,4|32,S);return finishNode(S)}var E=createNode(169);E.typeName=parseIdentifierName();return finishNode(E)}function parseJSDocParameter(){var S=createNode(156);if(token()===104||token()===99){S.name=parseIdentifierName();parseExpected(58)}S.type=parseJSDocType();return finishNode(S)}function parseJSDocType(){k.setInJSDocType(true);var S=parseOptionalToken(135);if(S){var E=createNode(302,S.pos);e:while(true){switch(token()){case 19:case 1:case 27:case 5:break e;default:nextTokenJSDoc()}}k.setInJSDocType(false);return finishNode(E)}var w=parseOptionalToken(25);var N=parseTypeOrTypePredicate();k.setInJSDocType(false);if(w){var j=createNode(301,w.pos);j.type=N;N=finishNode(j)}if(token()===62){return createPostfixType(299,N)}return N}function parseTypeQuery(){var S=createNode(172);parseExpected(108);S.exprName=parseEntityName(true);return finishNode(S)}function parseTypeParameter(){var S=createNode(155);S.name=parseIdentifier();if(parseOptional(90)){if(isStartOfType()||!isStartOfExpression()){S.constraint=parseType()}else{S.expression=parseUnaryExpressionOrHigher()}}if(parseOptional(62)){S.default=parseType()}return finishNode(S)}function parseTypeParameters(){if(token()===29){return parseBracketedList(19,parseTypeParameter,29,31)}}function parseParameterType(){if(parseOptional(58)){return parseType()}return undefined}function isStartOfParameter(E){return token()===25||isIdentifierOrPrivateIdentifierOrPattern()||S.isModifierKind(token())||token()===59||isStartOfType(!E)}function parseParameter(){var E=createNodeWithJSDoc(156);if(token()===104){E.name=createIdentifier(true);E.type=parseParameterType();return finishNode(E)}E.decorators=parseDecorators();E.modifiers=parseModifiers();E.dotDotDotToken=parseOptionalToken(25);E.name=parseIdentifierOrPattern(S.Diagnostics.Private_identifiers_cannot_be_used_as_parameters);if(S.getFullWidth(E.name)===0&&!E.modifiers&&S.isModifierKind(token())){nextToken()}E.questionToken=parseOptionalToken(57);E.type=parseParameterType();E.initializer=parseInitializer();return finishNode(E)}function fillSignature(S,E,k){if(!(E&32)){k.typeParameters=parseTypeParameters()}var w=parseParameterList(k,E);if(shouldParseReturnType(S,!!(E&4))){k.type=parseTypeOrTypePredicate();if(typeHasArrowFunctionBlockingParseError(k.type))return false}return w}function shouldParseReturnType(E,k){if(E===38){parseExpected(E);return true}else if(parseOptional(58)){return true}else if(k&&token()===38){parseErrorAtCurrentToken(S.Diagnostics._0_expected,S.tokenToString(58));nextToken();return true}return false}function parseParameterList(S,E){if(!parseExpected(20)){S.parameters=createMissingList();return false}var k=inYieldContext();var w=inAwaitContext();setYieldContext(!!(E&1));setAwaitContext(!!(E&2));S.parameters=E&32?parseDelimitedList(17,parseJSDocParameter):parseDelimitedList(16,parseParameter);setYieldContext(k);setAwaitContext(w);return parseExpected(21)}function parseTypeMemberSemicolon(){if(parseOptional(27)){return}parseSemicolon()}function parseSignatureMember(S){var E=createNodeWithJSDoc(S);if(S===166){parseExpected(99)}fillSignature(58,4,E);parseTypeMemberSemicolon();return finishNode(E)}function isIndexSignature(){return token()===22&&lookAhead(isUnambiguouslyIndexSignature)}function isUnambiguouslyIndexSignature(){nextToken();if(token()===25||token()===23){return true}if(S.isModifierKind(token())){nextToken();if(isIdentifier()){return true}}else if(!isIdentifier()){return false}else{nextToken()}if(token()===58||token()===27){return true}if(token()!==57){return false}nextToken();return token()===58||token()===27||token()===23}function parseIndexSignatureDeclaration(S){S.kind=167;S.parameters=parseBracketedList(16,parseParameter,22,23);S.type=parseTypeAnnotation();parseTypeMemberSemicolon();return finishNode(S)}function parsePropertyOrMethodSignature(S){S.name=parsePropertyName();S.questionToken=parseOptionalToken(57);if(token()===20||token()===29){S.kind=160;fillSignature(58,4,S)}else{S.kind=158;S.type=parseTypeAnnotation();if(token()===62){S.initializer=parseInitializer()}}parseTypeMemberSemicolon();return finishNode(S)}function isTypeMemberStart(){if(token()===20||token()===29){return true}var E=false;while(S.isModifierKind(token())){E=true;nextToken()}if(token()===22){return true}if(isLiteralPropertyName()){E=true;nextToken()}if(E){return token()===20||token()===29||token()===57||token()===58||token()===27||canParseSemicolon()}return false}function parseTypeMember(){if(token()===20||token()===29){return parseSignatureMember(165)}if(token()===99&&lookAhead(nextTokenIsOpenParenOrLessThan)){return parseSignatureMember(166)}var S=createNodeWithJSDoc(0);S.modifiers=parseModifiers();if(isIndexSignature()){return parseIndexSignatureDeclaration(S)}return parsePropertyOrMethodSignature(S)}function nextTokenIsOpenParenOrLessThan(){nextToken();return token()===20||token()===29}function nextTokenIsDot(){return nextToken()===24}function nextTokenIsOpenParenOrLessThanOrDot(){switch(nextToken()){case 20:case 29:case 24:return true}return false}function parseTypeLiteral(){var S=createNode(173);S.members=parseObjectTypeMembers();return finishNode(S)}function parseObjectTypeMembers(){var S;if(parseExpected(18)){S=parseList(4,parseTypeMember);parseExpected(19)}else{S=createMissingList()}return S}function isStartOfMappedType(){nextToken();if(token()===39||token()===40){return nextToken()===138}if(token()===138){nextToken()}return token()===22&&nextTokenIsIdentifier()&&nextToken()===97}function parseMappedTypeParameter(){var S=createNode(155);S.name=parseIdentifier();parseExpected(97);S.constraint=parseType();return finishNode(S)}function parseMappedType(){var S=createNode(186);parseExpected(18);if(token()===138||token()===39||token()===40){S.readonlyToken=parseTokenNode();if(S.readonlyToken.kind!==138){parseExpectedToken(138)}}parseExpected(22);S.typeParameter=parseMappedTypeParameter();parseExpected(23);if(token()===57||token()===39||token()===40){S.questionToken=parseTokenNode();if(S.questionToken.kind!==57){parseExpectedToken(57)}}S.type=parseTypeAnnotation();parseSemicolon();parseExpected(19);return finishNode(S)}function parseTupleElementType(){var S=getNodePos();if(parseOptional(25)){var E=createNode(177,S);E.type=parseType();return finishNode(E)}var k=parseType();if(!(Oe&4194304)&&k.kind===297&&k.pos===k.type.pos){k.kind=176}return k}function parseTupleType(){var S=createNode(175);S.elementTypes=parseBracketedList(21,parseTupleElementType,22,23);return finishNode(S)}function parseParenthesizedType(){var S=createNode(182);parseExpected(20);S.type=parseType();parseExpected(21);return finishNode(S)}function parseFunctionOrConstructorType(){var S=getNodePos();var E=parseOptional(99)?171:170;var k=createNodeWithJSDoc(E,S);fillSignature(38,4,k);return finishNode(k)}function parseKeywordAndNoDot(){var S=parseTokenNode();return token()===24?undefined:S}function parseLiteralTypeNode(S){var E=createNode(187);var k;if(S){k=createNode(207);k.operator=40;nextToken()}var w=token()===106||token()===91?parseTokenNode():parseLiteralLikeNode(token());if(S){k.operand=w;finishNode(k);w=k}E.literal=w;return finishNode(E)}function isStartOfTypeOfImportType(){nextToken();return token()===96}function parseImportType(){ne.flags|=1048576;var E=createNode(188);if(parseOptional(108)){E.isTypeOf=true}parseExpected(96);parseExpected(20);E.argument=parseType();parseExpected(21);if(parseOptional(24)){E.qualifier=parseEntityName(true,S.Diagnostics.Type_expected)}if(!k.hasPrecedingLineBreak()&&reScanLessThanToken()===29){E.typeArguments=parseBracketedList(20,parseType,29,31)}return finishNode(E)}function nextTokenIsNumericOrBigIntLiteral(){nextToken();return token()===8||token()===9}function parseNonArrayType(){switch(token()){case 125:case 148:case 143:case 140:case 151:case 144:case 128:case 146:case 137:case 141:return tryParse(parseKeywordAndNoDot)||parseTypeReference();case 41:return parseJSDocAllType(false);case 65:return parseJSDocAllType(true);case 60:k.reScanQuestionToken();case 57:return parseJSDocUnknownOrNullableType();case 94:return parseJSDocFunctionType();case 53:return parseJSDocNonNullableType();case 14:case 10:case 8:case 9:case 106:case 91:return parseLiteralTypeNode();case 40:return lookAhead(nextTokenIsNumericOrBigIntLiteral)?parseLiteralTypeNode(true):parseTypeReference();case 110:case 100:return parseTokenNode();case 104:{var S=parseThisTypeNode();if(token()===133&&!k.hasPrecedingLineBreak()){return parseThisTypePredicate(S)}else{return S}}case 108:return lookAhead(isStartOfTypeOfImportType)?parseImportType():parseTypeQuery();case 18:return lookAhead(isStartOfMappedType)?parseMappedType():parseTypeLiteral();case 22:return parseTupleType();case 20:return parseParenthesizedType();case 96:return parseImportType();case 124:return lookAhead(nextTokenIsIdentifierOrKeywordOnSameLine)?parseAssertsTypePredicate():parseTypeReference();default:return parseTypeReference()}}function isStartOfType(S){switch(token()){case 125:case 148:case 143:case 140:case 151:case 128:case 138:case 144:case 147:case 110:case 146:case 100:case 104:case 108:case 137:case 18:case 22:case 29:case 51:case 50:case 99:case 10:case 8:case 9:case 106:case 91:case 141:case 41:case 57:case 53:case 25:case 132:case 96:case 124:return true;case 94:return!S;case 40:return!S&&lookAhead(nextTokenIsNumericOrBigIntLiteral);case 20:return!S&&lookAhead(isStartOfParenthesizedOrFunctionType);default:return isIdentifier()}}function isStartOfParenthesizedOrFunctionType(){nextToken();return token()===21||isStartOfParameter(false)||isStartOfType()}function parsePostfixTypeOrHigher(){var S=parseNonArrayType();while(!k.hasPrecedingLineBreak()){switch(token()){case 53:S=createPostfixType(298,S);break;case 57:if(!(Oe&4194304)&&lookAhead(nextTokenIsStartOfType)){return S}S=createPostfixType(297,S);break;case 22:parseExpected(22);if(isStartOfType()){var E=createNode(185,S.pos);E.objectType=S;E.indexType=parseType();parseExpected(23);S=finishNode(E)}else{var E=createNode(174,S.pos);E.elementType=S;parseExpected(23);S=finishNode(E)}break;default:return S}}return S}function createPostfixType(S,E){nextToken();var k=createNode(S,E.pos);k.type=E;return finishNode(k)}function parseTypeOperator(S){var E=createNode(184);parseExpected(S);E.operator=S;E.type=parseTypeOperatorOrHigher();return finishNode(E)}function parseInferType(){var S=createNode(181);parseExpected(132);var E=createNode(155);E.name=parseIdentifier();S.typeParameter=finishNode(E);return finishNode(S)}function parseTypeOperatorOrHigher(){var S=token();switch(S){case 134:case 147:case 138:return parseTypeOperator(S);case 132:return parseInferType()}return parsePostfixTypeOrHigher()}function parseUnionOrIntersectionType(S,E,w){var N=k.getStartPos();var j=parseOptional(w);var q=E();if(token()===w||j){var ee=[q];while(parseOptional(w)){ee.push(E())}var te=createNode(S,N);te.types=createNodeArray(ee,N);q=finishNode(te)}return q}function parseIntersectionTypeOrHigher(){return parseUnionOrIntersectionType(179,parseTypeOperatorOrHigher,50)}function parseUnionTypeOrHigher(){return parseUnionOrIntersectionType(178,parseIntersectionTypeOrHigher,51)}function isStartOfFunctionType(){if(token()===29){return true}return token()===20&&lookAhead(isUnambiguouslyStartOfFunctionType)}function skipParameterStart(){if(S.isModifierKind(token())){parseModifiers()}if(isIdentifier()||token()===104){nextToken();return true}if(token()===22||token()===18){var E=ae.length;parseIdentifierOrPattern();return E===ae.length}return false}function isUnambiguouslyStartOfFunctionType(){nextToken();if(token()===21||token()===25){return true}if(skipParameterStart()){if(token()===58||token()===27||token()===57||token()===62){return true}if(token()===21){nextToken();if(token()===38){return true}}}return false}function parseTypeOrTypePredicate(){var S=isIdentifier()&&tryParse(parseTypePredicatePrefix);var E=parseType();if(S){var k=createNode(168,S.pos);k.assertsModifier=undefined;k.parameterName=S;k.type=E;return finishNode(k)}else{return E}}function parseTypePredicatePrefix(){var S=parseIdentifier();if(token()===133&&!k.hasPrecedingLineBreak()){nextToken();return S}}function parseAssertsTypePredicate(){var S=createNode(168);S.assertsModifier=parseExpectedToken(124);S.parameterName=token()===104?parseThisTypeNode():parseIdentifier();S.type=parseOptional(133)?parseType():undefined;return finishNode(S)}function parseType(){return doOutsideOfContext(40960,parseTypeWorker)}function parseTypeWorker(S){if(isStartOfFunctionType()||token()===99){return parseFunctionOrConstructorType()}var E=parseUnionTypeOrHigher();if(!S&&!k.hasPrecedingLineBreak()&&parseOptional(90)){var w=createNode(180,E.pos);w.checkType=E;w.extendsType=parseTypeWorker(true);parseExpected(57);w.trueType=parseTypeWorker();parseExpected(58);w.falseType=parseTypeWorker();return finishNode(w)}return E}function parseTypeAnnotation(){return parseOptional(58)?parseType():undefined}function isStartOfLeftHandSideExpression(){switch(token()){case 104:case 102:case 100:case 106:case 91:case 8:case 9:case 10:case 14:case 15:case 20:case 22:case 18:case 94:case 80:case 99:case 43:case 67:case 75:return true;case 96:return lookAhead(nextTokenIsOpenParenOrLessThanOrDot);default:return isIdentifier()}}function isStartOfExpression(){if(isStartOfLeftHandSideExpression()){return true}switch(token()){case 39:case 40:case 54:case 53:case 85:case 108:case 110:case 45:case 46:case 29:case 127:case 121:case 76:return true;default:if(isBinaryOperator()){return true}return isIdentifier()}}function isStartOfExpressionStatement(){return token()!==18&&token()!==94&&token()!==80&&token()!==59&&isStartOfExpression()}function parseExpression(){var S=inDecoratorContext();if(S){setDecoratorContext(false)}var E=parseAssignmentExpressionOrHigher();var k;while(k=parseOptionalToken(27)){E=makeBinaryExpression(E,k,parseAssignmentExpressionOrHigher())}if(S){setDecoratorContext(true)}return E}function parseInitializer(){return parseOptional(62)?parseAssignmentExpressionOrHigher():undefined}function parseAssignmentExpressionOrHigher(){if(isYieldExpression()){return parseYieldExpression()}var E=tryParseParenthesizedArrowFunctionExpression()||tryParseAsyncSimpleArrowFunctionExpression();if(E){return E}var k=parseBinaryExpressionOrHigher(0);if(k.kind===75&&token()===38){return parseSimpleArrowFunctionExpression(k)}if(S.isLeftHandSideExpression(k)&&S.isAssignmentOperator(reScanGreaterToken())){return makeBinaryExpression(k,parseTokenNode(),parseAssignmentExpressionOrHigher())}return parseConditionalExpressionRest(k)}function isYieldExpression(){if(token()===121){if(inYieldContext()){return true}return lookAhead(nextTokenIsIdentifierOrKeywordOrLiteralOnSameLine)}return false}function nextTokenIsIdentifierOnSameLine(){nextToken();return!k.hasPrecedingLineBreak()&&isIdentifier()}function parseYieldExpression(){var S=createNode(212);nextToken();if(!k.hasPrecedingLineBreak()&&(token()===41||isStartOfExpression())){S.asteriskToken=parseOptionalToken(41);S.expression=parseAssignmentExpressionOrHigher();return finishNode(S)}else{return finishNode(S)}}function parseSimpleArrowFunctionExpression(E,k){S.Debug.assert(token()===38,"parseSimpleArrowFunctionExpression should only have been called if we had a =>");var w;if(k){w=createNode(202,k.pos);w.modifiers=k}else{w=createNode(202,E.pos)}var N=createNode(156,E.pos);N.name=E;finishNode(N);w.parameters=createNodeArray([N],N.pos,N.end);w.equalsGreaterThanToken=parseExpectedToken(38);w.body=parseArrowFunctionExpressionBody(!!k);return addJSDocComment(finishNode(w))}function tryParseParenthesizedArrowFunctionExpression(){var S=isParenthesizedArrowFunctionExpression();if(S===0){return undefined}var E=S===1?parseParenthesizedArrowFunctionExpressionHead(true):tryParse(parsePossibleParenthesizedArrowFunctionExpressionHead);if(!E){return undefined}var k=hasModifierOfKind(E,126);var w=token();E.equalsGreaterThanToken=parseExpectedToken(38);E.body=w===38||w===18?parseArrowFunctionExpressionBody(k):parseIdentifier();return finishNode(E)}function isParenthesizedArrowFunctionExpression(){if(token()===20||token()===29||token()===126){return lookAhead(isParenthesizedArrowFunctionExpressionWorker)}if(token()===38){return 1}return 0}function isParenthesizedArrowFunctionExpressionWorker(){if(token()===126){nextToken();if(k.hasPrecedingLineBreak()){return 0}if(token()!==20&&token()!==29){return 0}}var E=token();var w=nextToken();if(E===20){if(w===21){var N=nextToken();switch(N){case 38:case 58:case 18:return 1;default:return 0}}if(w===22||w===18){return 2}if(w===25){return 1}if(S.isModifierKind(w)&&w!==126&&lookAhead(nextTokenIsIdentifier)){return 1}if(!isIdentifier()&&w!==104){return 0}switch(nextToken()){case 58:return 1;case 57:nextToken();if(token()===58||token()===27||token()===62||token()===21){return 1}return 0;case 27:case 62:case 21:return 2}return 0}else{S.Debug.assert(E===29);if(!isIdentifier()){return 0}if(ne.languageVariant===1){var j=lookAhead((function(){var S=nextToken();if(S===90){var E=nextToken();switch(E){case 62:case 31:return false;default:return true}}else if(S===27){return true}return false}));if(j){return 1}return 0}return 2}}function parsePossibleParenthesizedArrowFunctionExpressionHead(){var E=k.getTokenPos();if(Fe&&Fe.has(E.toString())){return undefined}var w=parseParenthesizedArrowFunctionExpressionHead(false);if(!w){(Fe||(Fe=S.createMap())).set(E.toString(),true)}return w}function tryParseAsyncSimpleArrowFunctionExpression(){if(token()===126){if(lookAhead(isUnParenthesizedAsyncArrowFunctionWorker)===1){var S=parseModifiersForArrowFunction();var E=parseBinaryExpressionOrHigher(0);return parseSimpleArrowFunctionExpression(E,S)}}return undefined}function isUnParenthesizedAsyncArrowFunctionWorker(){if(token()===126){nextToken();if(k.hasPrecedingLineBreak()||token()===38){return 0}var S=parseBinaryExpressionOrHigher(0);if(!k.hasPrecedingLineBreak()&&S.kind===75&&token()===38){return 1}}return 0}function parseParenthesizedArrowFunctionExpressionHead(E){var k=createNodeWithJSDoc(202);k.modifiers=parseModifiersForArrowFunction();var w=hasModifierOfKind(k,126)?2:0;if(!fillSignature(58,w,k)&&!E){return undefined}var N=k.type&&S.isJSDocFunctionType(k.type);if(!E&&token()!==38&&(N||token()!==18)){return undefined}return k}function parseArrowFunctionExpressionBody(S){if(token()===18){return parseFunctionBlock(S?2:0)}if(token()!==26&&token()!==94&&token()!==80&&isStartOfStatement()&&!isStartOfExpressionStatement()){return parseFunctionBlock(16|(S?2:0))}return S?doInAwaitContext(parseAssignmentExpressionOrHigher):doOutsideOfAwaitContext(parseAssignmentExpressionOrHigher)}function parseConditionalExpressionRest(E){var k=parseOptionalToken(57);if(!k){return E}var N=createNode(210,E.pos);N.condition=E;N.questionToken=k;N.whenTrue=doOutsideOfContext(w,parseAssignmentExpressionOrHigher);N.colonToken=parseExpectedToken(58);N.whenFalse=S.nodeIsPresent(N.colonToken)?parseAssignmentExpressionOrHigher():createMissingNode(75,false,S.Diagnostics._0_expected,S.tokenToString(58));return finishNode(N)}function parseBinaryExpressionOrHigher(S){var E=parseUnaryExpressionOrHigher();return parseBinaryExpressionRest(S,E)}function isInOrOfKeyword(S){return S===97||S===152}function parseBinaryExpressionRest(E,w){while(true){reScanGreaterToken();var N=S.getBinaryOperatorPrecedence(token());var j=token()===42?N>=E:N>E;if(!j){break}if(token()===97&&inDisallowInContext()){break}if(token()===123){if(k.hasPrecedingLineBreak()){break}else{nextToken();w=makeAsExpression(w,parseType())}}else{w=makeBinaryExpression(w,parseTokenNode(),parseBinaryExpressionOrHigher(N))}}return w}function isBinaryOperator(){if(inDisallowInContext()&&token()===97){return false}return S.getBinaryOperatorPrecedence(token())>0}function makeBinaryExpression(S,E,k){var w=createNode(209,S.pos);w.left=S;w.operatorToken=E;w.right=k;return finishNode(w)}function makeAsExpression(S,E){var k=createNode(217,S.pos);k.expression=S;k.type=E;return finishNode(k)}function parsePrefixUnaryExpression(){var S=createNode(207);S.operator=token();nextToken();S.operand=parseSimpleUnaryExpression();return finishNode(S)}function parseDeleteExpression(){var S=createNode(203);nextToken();S.expression=parseSimpleUnaryExpression();return finishNode(S)}function parseTypeOfExpression(){var S=createNode(204);nextToken();S.expression=parseSimpleUnaryExpression();return finishNode(S)}function parseVoidExpression(){var S=createNode(205);nextToken();S.expression=parseSimpleUnaryExpression();return finishNode(S)}function isAwaitExpression(){if(token()===127){if(inAwaitContext()){return true}return lookAhead(nextTokenIsIdentifierOrKeywordOrLiteralOnSameLine)}return false}function parseAwaitExpression(){var S=createNode(206);nextToken();S.expression=parseSimpleUnaryExpression();return finishNode(S)}function parseUnaryExpressionOrHigher(){if(isUpdateExpression()){var E=parseUpdateExpression();return token()===42?parseBinaryExpressionRest(S.getBinaryOperatorPrecedence(token()),E):E}var k=token();var w=parseSimpleUnaryExpression();if(token()===42){var N=S.skipTrivia(Ee,w.pos);var j=w.end;if(w.kind===199){parseErrorAt(N,j,S.Diagnostics.A_type_assertion_expression_is_not_allowed_in_the_left_hand_side_of_an_exponentiation_expression_Consider_enclosing_the_expression_in_parentheses)}else{parseErrorAt(N,j,S.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,S.tokenToString(k))}}return w}function parseSimpleUnaryExpression(){switch(token()){case 39:case 40:case 54:case 53:return parsePrefixUnaryExpression();case 85:return parseDeleteExpression();case 108:return parseTypeOfExpression();case 110:return parseVoidExpression();case 29:return parseTypeAssertion();case 127:if(isAwaitExpression()){return parseAwaitExpression()}default:return parseUpdateExpression()}}function isUpdateExpression(){switch(token()){case 39:case 40:case 54:case 53:case 85:case 108:case 110:case 127:return false;case 29:if(ne.languageVariant!==1){return false}default:return true}}function parseUpdateExpression(){if(token()===45||token()===46){var E=createNode(207);E.operator=token();nextToken();E.operand=parseLeftHandSideExpressionOrHigher();return finishNode(E)}else if(ne.languageVariant===1&&token()===29&&lookAhead(nextTokenIsIdentifierOrKeywordOrGreaterThan)){return parseJsxElementOrSelfClosingElementOrFragment(true)}var w=parseLeftHandSideExpressionOrHigher();S.Debug.assert(S.isLeftHandSideExpression(w));if((token()===45||token()===46)&&!k.hasPrecedingLineBreak()){var E=createNode(208,w.pos);E.operand=w;E.operator=token();nextToken();return finishNode(E)}return w}function parseLeftHandSideExpressionOrHigher(){var S;if(token()===96){if(lookAhead(nextTokenIsOpenParenOrLessThan)){ne.flags|=1048576;S=parseTokenNode()}else if(lookAhead(nextTokenIsDot)){var E=k.getStartPos();nextToken();nextToken();var w=createNode(219,E);w.keywordToken=96;w.name=parseIdentifierName();S=finishNode(w);ne.flags|=2097152}else{S=parseMemberExpressionOrHigher()}}else{S=token()===102?parseSuperExpression():parseMemberExpressionOrHigher()}return parseCallExpressionRest(S)}function parseMemberExpressionOrHigher(){var S=parsePrimaryExpression();return parseMemberExpressionRest(S,true)}function parseSuperExpression(){var E=parseTokenNode();if(token()===29){var k=getNodePos();var w=tryParse(parseTypeArgumentsInExpression);if(w!==undefined){parseErrorAt(k,getNodePos(),S.Diagnostics.super_may_not_use_type_arguments)}}if(token()===20||token()===24||token()===22){return E}var N=createNode(194,E.pos);N.expression=E;parseExpectedToken(24,S.Diagnostics.super_must_be_followed_by_an_argument_list_or_member_access);N.name=parseRightSideOfDot(true,true);return finishNode(N)}function parseJsxElementOrSelfClosingElementOrFragment(E){var k=parseJsxOpeningOrSelfClosingElementOrOpeningFragment(E);var w;if(k.kind===268){var N=createNode(266,k.pos);N.openingElement=k;N.children=parseJsxChildren(N.openingElement);N.closingElement=parseJsxClosingElement(E);if(!tagNamesAreEquivalent(N.openingElement.tagName,N.closingElement.tagName)){parseErrorAtRange(N.closingElement,S.Diagnostics.Expected_corresponding_JSX_closing_tag_for_0,S.getTextOfNodeFromSourceText(Ee,N.openingElement.tagName))}w=finishNode(N)}else if(k.kind===271){var N=createNode(270,k.pos);N.openingFragment=k;N.children=parseJsxChildren(N.openingFragment);N.closingFragment=parseJsxClosingFragment(E);w=finishNode(N)}else{S.Debug.assert(k.kind===267);w=k}if(E&&token()===29){var j=tryParse((function(){return parseJsxElementOrSelfClosingElementOrFragment(true)}));if(j){parseErrorAtCurrentToken(S.Diagnostics.JSX_expressions_must_have_one_parent_element);var q=createNode(209,w.pos);q.end=j.end;q.left=w;q.right=j;q.operatorToken=createMissingNode(27,false);q.operatorToken.pos=q.operatorToken.end=q.right.pos;return q}}return w}function parseJsxText(){var S=createNode(11);S.text=k.getTokenValue();S.containsOnlyTriviaWhiteSpaces=ve===12;ve=k.scanJsxToken();return finishNode(S)}function parseJsxChild(E,k){switch(k){case 1:if(S.isJsxOpeningFragment(E)){parseErrorAtRange(E,S.Diagnostics.JSX_fragment_has_no_corresponding_closing_tag)}else{var w=E.tagName;var N=S.skipTrivia(Ee,w.pos);parseErrorAt(N,w.end,S.Diagnostics.JSX_element_0_has_no_corresponding_closing_tag,S.getTextOfNodeFromSourceText(Ee,E.tagName))}return undefined;case 30:case 7:return undefined;case 11:case 12:return parseJsxText();case 18:return parseJsxExpression(false);case 29:return parseJsxElementOrSelfClosingElementOrFragment(false);default:return S.Debug.assertNever(k)}}function parseJsxChildren(S){var E=[];var w=getNodePos();var N=Ie;Ie|=1<<14;while(true){var j=parseJsxChild(S,ve=k.reScanJsxToken());if(!j)break;E.push(j)}Ie=N;return createNodeArray(E,w)}function parseJsxAttributes(){var S=createNode(274);S.properties=parseList(13,parseJsxAttribute);return finishNode(S)}function parseJsxOpeningOrSelfClosingElementOrOpeningFragment(S){var E=k.getStartPos();parseExpected(29);if(token()===31){var w=createNode(271,E);scanJsxText();return finishNode(w)}var N=parseJsxElementName();var j=tryParseTypeArguments();var q=parseJsxAttributes();var ee;if(token()===31){ee=createNode(268,E);scanJsxText()}else{parseExpected(43);if(S){parseExpected(31)}else{parseExpected(31,undefined,false);scanJsxText()}ee=createNode(267,E)}ee.tagName=N;ee.typeArguments=j;ee.attributes=q;return finishNode(ee)}function parseJsxElementName(){scanJsxIdentifier();var S=token()===104?parseTokenNode():parseIdentifierName();while(parseOptional(24)){var E=createNode(194,S.pos);E.expression=S;E.name=parseRightSideOfDot(true,false);S=finishNode(E)}return S}function parseJsxExpression(S){var E=createNode(276);if(!parseExpected(18)){return undefined}if(token()!==19){E.dotDotDotToken=parseOptionalToken(25);E.expression=parseExpression()}if(S){parseExpected(19)}else{if(parseExpected(19,undefined,false)){scanJsxText()}}return finishNode(E)}function parseJsxAttribute(){if(token()===18){return parseJsxSpreadAttribute()}scanJsxIdentifier();var S=createNode(273);S.name=parseIdentifierName();if(token()===62){switch(scanJsxAttributeValue()){case 10:S.initializer=parseLiteralNode();break;default:S.initializer=parseJsxExpression(true);break}}return finishNode(S)}function parseJsxSpreadAttribute(){var S=createNode(275);parseExpected(18);parseExpected(25);S.expression=parseExpression();parseExpected(19);return finishNode(S)}function parseJsxClosingElement(S){var E=createNode(269);parseExpected(30);E.tagName=parseJsxElementName();if(S){parseExpected(31)}else{parseExpected(31,undefined,false);scanJsxText()}return finishNode(E)}function parseJsxClosingFragment(E){var k=createNode(272);parseExpected(30);if(S.tokenIsIdentifierOrKeyword(token())){parseErrorAtRange(parseJsxElementName(),S.Diagnostics.Expected_corresponding_closing_tag_for_JSX_fragment)}if(E){parseExpected(31)}else{parseExpected(31,undefined,false);scanJsxText()}return finishNode(k)}function parseTypeAssertion(){var S=createNode(199);parseExpected(29);S.type=parseType();parseExpected(31);S.expression=parseSimpleUnaryExpression();return finishNode(S)}function nextTokenIsIdentifierOrKeywordOrOpenBracketOrTemplate(){nextToken();return S.tokenIsIdentifierOrKeyword(token())||token()===22||isTemplateStartOfTaggedTemplate()}function isStartOfOptionalPropertyOrElementAccessChain(){return token()===28&&lookAhead(nextTokenIsIdentifierOrKeywordOrOpenBracketOrTemplate)}function tryReparseOptionalChain(E){if(E.flags&32){return true}if(S.isNonNullExpression(E)){var k=E.expression;while(S.isNonNullExpression(k)&&!(k.flags&32)){k=k.expression}if(k.flags&32){while(S.isNonNullExpression(E)){E.flags|=32;E=E.expression}return true}}return false}function parsePropertyAccessExpressionRest(E,k){var w=createNode(194,E.pos);w.expression=E;w.questionDotToken=k;w.name=parseRightSideOfDot(true,true);if(k||tryReparseOptionalChain(E)){w.flags|=32;if(S.isPrivateIdentifier(w.name)){parseErrorAtRange(w.name,S.Diagnostics.An_optional_chain_cannot_contain_private_identifiers)}}return finishNode(w)}function parseElementAccessExpressionRest(E,k){var w=createNode(195,E.pos);w.expression=E;w.questionDotToken=k;if(token()===23){w.argumentExpression=createMissingNode(75,true,S.Diagnostics.An_element_access_expression_should_take_an_argument)}else{var N=allowInAnd(parseExpression);if(S.isStringOrNumericLiteralLike(N)){N.text=internIdentifier(N.text)}w.argumentExpression=N}parseExpected(23);if(k||tryReparseOptionalChain(E)){w.flags|=32}return finishNode(w)}function parseMemberExpressionRest(E,w){while(true){var N=void 0;var j=false;if(w&&isStartOfOptionalPropertyOrElementAccessChain()){N=parseExpectedToken(28);j=S.tokenIsIdentifierOrKeyword(token())}else{j=parseOptional(24)}if(j){E=parsePropertyAccessExpressionRest(E,N);continue}if(!N&&token()===53&&!k.hasPrecedingLineBreak()){nextToken();var q=createNode(218,E.pos);q.expression=E;E=finishNode(q);continue}if((N||!inDecoratorContext())&&parseOptional(22)){E=parseElementAccessExpressionRest(E,N);continue}if(isTemplateStartOfTaggedTemplate()){E=parseTaggedTemplateRest(E,N,undefined);continue}return E}}function isTemplateStartOfTaggedTemplate(){return token()===14||token()===15}function parseTaggedTemplateRest(S,E,k){var w=createNode(198,S.pos);w.tag=S;w.questionDotToken=E;w.typeArguments=k;w.template=token()===14?(reScanTemplateHeadOrNoSubstitutionTemplate(),parseLiteralNode()):parseTemplateExpression(true);if(E||S.flags&32){w.flags|=32}return finishNode(w)}function parseCallExpressionRest(E){while(true){E=parseMemberExpressionRest(E,true);var k=parseOptionalToken(28);if(token()===29||token()===47){var w=tryParse(parseTypeArgumentsInExpression);if(w){if(isTemplateStartOfTaggedTemplate()){E=parseTaggedTemplateRest(E,k,w);continue}var N=createNode(196,E.pos);N.expression=E;N.questionDotToken=k;N.typeArguments=w;N.arguments=parseArgumentList();if(k||tryReparseOptionalChain(E)){N.flags|=32}E=finishNode(N);continue}}else if(token()===20){var N=createNode(196,E.pos);N.expression=E;N.questionDotToken=k;N.arguments=parseArgumentList();if(k||tryReparseOptionalChain(E)){N.flags|=32}E=finishNode(N);continue}if(k){var j=createNode(194,E.pos);j.expression=E;j.questionDotToken=k;j.name=createMissingNode(75,false,S.Diagnostics.Identifier_expected);j.flags|=32;E=finishNode(j)}break}return E}function parseArgumentList(){parseExpected(20);var S=parseDelimitedList(11,parseArgumentExpression);parseExpected(21);return S}function parseTypeArgumentsInExpression(){if(reScanLessThanToken()!==29){return undefined}nextToken();var S=parseDelimitedList(20,parseType);if(!parseExpected(31)){return undefined}return S&&canFollowTypeArgumentsInExpression()?S:undefined}function canFollowTypeArgumentsInExpression(){switch(token()){case 20:case 14:case 15:case 24:case 21:case 23:case 58:case 26:case 57:case 34:case 36:case 35:case 37:case 55:case 56:case 60:case 52:case 50:case 51:case 19:case 1:return true;case 27:case 18:default:return false}}function parsePrimaryExpression(){switch(token()){case 8:case 9:case 10:case 14:return parseLiteralNode();case 104:case 102:case 100:case 106:case 91:return parseTokenNode();case 20:return parseParenthesizedExpression();case 22:return parseArrayLiteralExpression();case 18:return parseObjectLiteralExpression();case 126:if(!lookAhead(nextTokenIsFunctionKeywordOnSameLine)){break}return parseFunctionExpression();case 80:return parseClassExpression();case 94:return parseFunctionExpression();case 99:return parseNewExpressionOrNewDotTarget();case 43:case 67:if(reScanSlashToken()===13){return parseLiteralNode()}break;case 15:return parseTemplateExpression(false)}return parseIdentifier(S.Diagnostics.Expression_expected)}function parseParenthesizedExpression(){var S=createNodeWithJSDoc(200);parseExpected(20);S.expression=allowInAnd(parseExpression);parseExpected(21);return finishNode(S)}function parseSpreadElement(){var S=createNode(213);parseExpected(25);S.expression=parseAssignmentExpressionOrHigher();return finishNode(S)}function parseArgumentOrArrayLiteralElement(){return token()===25?parseSpreadElement():token()===27?createNode(215):parseAssignmentExpressionOrHigher()}function parseArgumentExpression(){return doOutsideOfContext(w,parseArgumentOrArrayLiteralElement)}function parseArrayLiteralExpression(){var S=createNode(192);parseExpected(22);if(k.hasPrecedingLineBreak()){S.multiLine=true}S.elements=parseDelimitedList(15,parseArgumentOrArrayLiteralElement);parseExpected(23);return finishNode(S)}function parseObjectLiteralElement(){var S=createNodeWithJSDoc(0);if(parseOptionalToken(25)){S.kind=283;S.expression=parseAssignmentExpressionOrHigher();return finishNode(S)}S.decorators=parseDecorators();S.modifiers=parseModifiers();if(parseContextualModifier(131)){return parseAccessorDeclaration(S,163)}if(parseContextualModifier(142)){return parseAccessorDeclaration(S,164)}var E=parseOptionalToken(41);var k=isIdentifier();S.name=parsePropertyName();S.questionToken=parseOptionalToken(57);S.exclamationToken=parseOptionalToken(53);if(E||token()===20||token()===29){return parseMethodDeclaration(S,E)}var w=k&&token()!==58;if(w){S.kind=282;var N=parseOptionalToken(62);if(N){S.equalsToken=N;S.objectAssignmentInitializer=allowInAnd(parseAssignmentExpressionOrHigher)}}else{S.kind=281;parseExpected(58);S.initializer=allowInAnd(parseAssignmentExpressionOrHigher)}return finishNode(S)}function parseObjectLiteralExpression(){var E=createNode(193);var w=k.getTokenPos();parseExpected(18);if(k.hasPrecedingLineBreak()){E.multiLine=true}E.properties=parseDelimitedList(12,parseObjectLiteralElement,true);if(!parseExpected(19)){var N=S.lastOrUndefined(ae);if(N&&N.code===S.Diagnostics._0_expected.code){S.addRelatedInfo(N,S.createFileDiagnostic(ne,w,1,S.Diagnostics.The_parser_expected_to_find_a_to_match_the_token_here))}}return finishNode(E)}function parseFunctionExpression(){var S=inDecoratorContext();if(S){setDecoratorContext(false)}var E=createNodeWithJSDoc(201);E.modifiers=parseModifiers();parseExpected(94);E.asteriskToken=parseOptionalToken(41);var k=E.asteriskToken?1:0;var w=hasModifierOfKind(E,126)?2:0;E.name=k&&w?doInYieldAndAwaitContext(parseOptionalIdentifier):k?doInYieldContext(parseOptionalIdentifier):w?doInAwaitContext(parseOptionalIdentifier):parseOptionalIdentifier();fillSignature(58,k|w,E);E.body=parseFunctionBlock(k|w);if(S){setDecoratorContext(true)}return finishNode(E)}function parseOptionalIdentifier(){return isIdentifier()?parseIdentifier():undefined}function parseNewExpressionOrNewDotTarget(){var E=k.getStartPos();parseExpected(99);if(parseOptional(24)){var w=createNode(219,E);w.keywordToken=99;w.name=parseIdentifierName();return finishNode(w)}var N=parsePrimaryExpression();var j;while(true){N=parseMemberExpressionRest(N,false);j=tryParse(parseTypeArgumentsInExpression);if(isTemplateStartOfTaggedTemplate()){S.Debug.assert(!!j,"Expected a type argument list; all plain tagged template starts should be consumed in 'parseMemberExpressionRest'");N=parseTaggedTemplateRest(N,undefined,j);j=undefined}break}var q=createNode(197,E);q.expression=N;q.typeArguments=j;if(token()===20){q.arguments=parseArgumentList()}else if(q.typeArguments){parseErrorAt(E,k.getStartPos(),S.Diagnostics.A_new_expression_with_type_arguments_must_always_be_followed_by_a_parenthesized_argument_list)}return finishNode(q)}function parseBlock(E,w){var N=createNode(223);var j=k.getTokenPos();if(parseExpected(18,w)||E){if(k.hasPrecedingLineBreak()){N.multiLine=true}N.statements=parseList(1,parseStatement);if(!parseExpected(19)){var q=S.lastOrUndefined(ae);if(q&&q.code===S.Diagnostics._0_expected.code){S.addRelatedInfo(q,S.createFileDiagnostic(ne,j,1,S.Diagnostics.The_parser_expected_to_find_a_to_match_the_token_here))}}}else{N.statements=createMissingList()}return finishNode(N)}function parseFunctionBlock(S,E){var k=inYieldContext();setYieldContext(!!(S&1));var w=inAwaitContext();setAwaitContext(!!(S&2));var N=inDecoratorContext();if(N){setDecoratorContext(false)}var j=parseBlock(!!(S&16),E);if(N){setDecoratorContext(true)}setYieldContext(k);setAwaitContext(w);return j}function parseEmptyStatement(){var S=createNode(224);parseExpected(26);return finishNode(S)}function parseIfStatement(){var S=createNode(227);parseExpected(95);parseExpected(20);S.expression=allowInAnd(parseExpression);parseExpected(21);S.thenStatement=parseStatement();S.elseStatement=parseOptional(87)?parseStatement():undefined;return finishNode(S)}function parseDoStatement(){var S=createNode(228);parseExpected(86);S.statement=parseStatement();parseExpected(111);parseExpected(20);S.expression=allowInAnd(parseExpression);parseExpected(21);parseOptional(26);return finishNode(S)}function parseWhileStatement(){var S=createNode(229);parseExpected(111);parseExpected(20);S.expression=allowInAnd(parseExpression);parseExpected(21);S.statement=parseStatement();return finishNode(S)}function parseForOrForInOrForOfStatement(){var S=getNodePos();parseExpected(93);var E=parseOptionalToken(127);parseExpected(20);var k;if(token()!==26){if(token()===109||token()===115||token()===81){k=parseVariableDeclarationList(true)}else{k=disallowInAnd(parseExpression)}}var w;if(E?parseExpected(152):parseOptional(152)){var N=createNode(232,S);N.awaitModifier=E;N.initializer=k;N.expression=allowInAnd(parseAssignmentExpressionOrHigher);parseExpected(21);w=N}else if(parseOptional(97)){var j=createNode(231,S);j.initializer=k;j.expression=allowInAnd(parseExpression);parseExpected(21);w=j}else{var q=createNode(230,S);q.initializer=k;parseExpected(26);if(token()!==26&&token()!==21){q.condition=allowInAnd(parseExpression)}parseExpected(26);if(token()!==21){q.incrementor=allowInAnd(parseExpression)}parseExpected(21);w=q}w.statement=parseStatement();return finishNode(w)}function parseBreakOrContinueStatement(S){var E=createNode(S);parseExpected(S===234?77:82);if(!canParseSemicolon()){E.label=parseIdentifier()}parseSemicolon();return finishNode(E)}function parseReturnStatement(){var S=createNode(235);parseExpected(101);if(!canParseSemicolon()){S.expression=allowInAnd(parseExpression)}parseSemicolon();return finishNode(S)}function parseWithStatement(){var S=createNode(236);parseExpected(112);parseExpected(20);S.expression=allowInAnd(parseExpression);parseExpected(21);S.statement=doInsideOfContext(16777216,parseStatement);return finishNode(S)}function parseCaseClause(){var S=createNode(277);parseExpected(78);S.expression=allowInAnd(parseExpression);parseExpected(58);S.statements=parseList(3,parseStatement);return finishNode(S)}function parseDefaultClause(){var S=createNode(278);parseExpected(84);parseExpected(58);S.statements=parseList(3,parseStatement);return finishNode(S)}function parseCaseOrDefaultClause(){return token()===78?parseCaseClause():parseDefaultClause()}function parseSwitchStatement(){var S=createNode(237);parseExpected(103);parseExpected(20);S.expression=allowInAnd(parseExpression);parseExpected(21);var E=createNode(251);parseExpected(18);E.clauses=parseList(2,parseCaseOrDefaultClause);parseExpected(19);S.caseBlock=finishNode(E);return finishNode(S)}function parseThrowStatement(){var S=createNode(239);parseExpected(105);S.expression=k.hasPrecedingLineBreak()?undefined:allowInAnd(parseExpression);parseSemicolon();return finishNode(S)}function parseTryStatement(){var S=createNode(240);parseExpected(107);S.tryBlock=parseBlock(false);S.catchClause=token()===79?parseCatchClause():undefined;if(!S.catchClause||token()===92){parseExpected(92);S.finallyBlock=parseBlock(false)}return finishNode(S)}function parseCatchClause(){var S=createNode(280);parseExpected(79);if(parseOptional(20)){S.variableDeclaration=parseVariableDeclaration();parseExpected(21)}else{S.variableDeclaration=undefined}S.block=parseBlock(false);return finishNode(S)}function parseDebuggerStatement(){var S=createNode(241);parseExpected(83);parseSemicolon();return finishNode(S)}function parseExpressionOrLabeledStatement(){var S=createNodeWithJSDoc(token()===75?0:226);var E=allowInAnd(parseExpression);if(E.kind===75&&parseOptional(58)){S.kind=238;S.label=E;S.statement=parseStatement()}else{S.kind=226;S.expression=E;parseSemicolon()}return finishNode(S)}function nextTokenIsIdentifierOrKeywordOnSameLine(){nextToken();return S.tokenIsIdentifierOrKeyword(token())&&!k.hasPrecedingLineBreak()}function nextTokenIsClassKeywordOnSameLine(){nextToken();return token()===80&&!k.hasPrecedingLineBreak()}function nextTokenIsFunctionKeywordOnSameLine(){nextToken();return token()===94&&!k.hasPrecedingLineBreak()}function nextTokenIsIdentifierOrKeywordOrLiteralOnSameLine(){nextToken();return(S.tokenIsIdentifierOrKeyword(token())||token()===8||token()===9||token()===10)&&!k.hasPrecedingLineBreak()}function isDeclaration(){while(true){switch(token()){case 109:case 115:case 81:case 94:case 80:case 88:return true;case 114:case 145:return nextTokenIsIdentifierOnSameLine();case 135:case 136:return nextTokenIsIdentifierOrStringLiteralOnSameLine();case 122:case 126:case 130:case 117:case 118:case 119:case 138:nextToken();if(k.hasPrecedingLineBreak()){return false}continue;case 150:nextToken();return token()===18||token()===75||token()===89;case 96:nextToken();return token()===10||token()===41||token()===18||S.tokenIsIdentifierOrKeyword(token());case 89:var E=nextToken();if(E===145){E=lookAhead(nextToken)}if(E===62||E===41||E===18||E===84||E===123){return true}continue;case 120:nextToken();continue;default:return false}}}function isStartOfDeclaration(){return lookAhead(isDeclaration)}function isStartOfStatement(){switch(token()){case 59:case 26:case 18:case 109:case 115:case 94:case 80:case 88:case 95:case 86:case 111:case 93:case 82:case 77:case 101:case 112:case 103:case 105:case 107:case 83:case 79:case 92:return true;case 96:return isStartOfDeclaration()||lookAhead(nextTokenIsOpenParenOrLessThanOrDot);case 81:case 89:return isStartOfDeclaration();case 126:case 130:case 114:case 135:case 136:case 145:case 150:return true;case 119:case 117:case 118:case 120:case 138:return isStartOfDeclaration()||!lookAhead(nextTokenIsIdentifierOrKeywordOnSameLine);default:return isStartOfExpression()}}function nextTokenIsIdentifierOrStartOfDestructuring(){nextToken();return isIdentifier()||token()===18||token()===22}function isLetDeclaration(){return lookAhead(nextTokenIsIdentifierOrStartOfDestructuring)}function parseStatement(){switch(token()){case 26:return parseEmptyStatement();case 18:return parseBlock(false);case 109:return parseVariableStatement(createNodeWithJSDoc(242));case 115:if(isLetDeclaration()){return parseVariableStatement(createNodeWithJSDoc(242))}break;case 94:return parseFunctionDeclaration(createNodeWithJSDoc(244));case 80:return parseClassDeclaration(createNodeWithJSDoc(245));case 95:return parseIfStatement();case 86:return parseDoStatement();case 111:return parseWhileStatement();case 93:return parseForOrForInOrForOfStatement();case 82:return parseBreakOrContinueStatement(233);case 77:return parseBreakOrContinueStatement(234);case 101:return parseReturnStatement();case 112:return parseWithStatement();case 103:return parseSwitchStatement();case 105:return parseThrowStatement();case 107:case 79:case 92:return parseTryStatement();case 83:return parseDebuggerStatement();case 59:return parseDeclaration();case 126:case 114:case 145:case 135:case 136:case 130:case 81:case 88:case 89:case 96:case 117:case 118:case 119:case 122:case 120:case 138:case 150:if(isStartOfDeclaration()){return parseDeclaration()}break}return parseExpressionOrLabeledStatement()}function isDeclareModifier(S){return S.kind===130}function parseDeclaration(){var E=lookAhead((function(){return parseDecorators(),parseModifiers()}));var k=S.some(E,isDeclareModifier);if(k){var w=tryReuseAmbientDeclaration();if(w){return w}}var N=createNodeWithJSDoc(0);N.decorators=parseDecorators();N.modifiers=parseModifiers();if(k){for(var j=0,q=N.modifiers;j=0);S.Debug.assert(E<=j);S.Debug.assert(j<=N.length);if(!isJSDocLikeText(N,E)){return undefined}var q;var ee;var te;var ne=[];return k.scanRange(E+3,w-5,(function(){var S=1;var w;var j=E-Math.max(N.lastIndexOf("\n",E),0)+4;function pushComment(S){if(!w){w=j}ne.push(S);j+=S.length}nextTokenJSDoc();while(parseOptionalJsdoc(5));if(parseOptionalJsdoc(4)){S=0;j=0}e:while(true){switch(token()){case 59:if(S===0||S===1){removeTrailingWhitespace(ne);addTag(parseTag(j));S=0;w=undefined}else{pushComment(k.getTokenText())}break;case 4:ne.push(k.getTokenText());S=0;j=0;break;case 41:var q=k.getTokenText();if(S===1||S===2){S=2;pushComment(q)}else{S=1;j+=q.length}break;case 5:var ee=k.getTokenText();if(S===2){ne.push(ee)}else if(w!==undefined&&j+ee.length>w){ne.push(ee.slice(w-j-1))}j+=ee.length;break;case 1:break e;default:S=2;pushComment(k.getTokenText());break}nextTokenJSDoc()}removeLeadingNewlines(ne);removeTrailingWhitespace(ne);return createJSDocComment()}));function removeLeadingNewlines(S){while(S.length&&(S[0]==="\n"||S[0]==="\r")){S.shift()}}function removeTrailingWhitespace(S){while(S.length&&S[S.length-1].trim()===""){S.pop()}}function createJSDocComment(){var S=createNode(303,E);S.tags=q&&createNodeArray(q,ee,te);S.comment=ne.length?ne.join(""):undefined;return finishNode(S,j)}function isNextNonwhitespaceTokenEndOfFile(){while(true){nextTokenJSDoc();if(token()===1){return true}if(!(token()===5||token()===4)){return false}}}function skipWhitespace(){if(token()===5||token()===4){if(lookAhead(isNextNonwhitespaceTokenEndOfFile)){return}}while(token()===5||token()===4){nextTokenJSDoc()}}function skipWhitespaceOrAsterisk(){if(token()===5||token()===4){if(lookAhead(isNextNonwhitespaceTokenEndOfFile)){return""}}var S=k.hasPrecedingLineBreak();var E=false;var w="";while(S&&token()===41||token()===5||token()===4){w+=k.getTokenText();if(token()===4){S=true;E=true;w=""}else if(token()===41){S=false}nextTokenJSDoc()}return E?w:""}function parseTag(E){S.Debug.assert(token()===59);var w=k.getTokenPos();nextTokenJSDoc();var N=parseJSDocIdentifierName(undefined);var j=skipWhitespaceOrAsterisk();var q;switch(N.escapedText){case"author":q=parseAuthorTag(w,N,E);break;case"implements":q=parseImplementsTag(w,N);break;case"augments":case"extends":q=parseAugmentsTag(w,N);break;case"class":case"constructor":q=parseSimpleTag(w,310,N);break;case"public":q=parseSimpleTag(w,311,N);break;case"private":q=parseSimpleTag(w,312,N);break;case"protected":q=parseSimpleTag(w,313,N);break;case"readonly":q=parseSimpleTag(w,314,N);break;case"this":q=parseThisTag(w,N);break;case"enum":q=parseEnumTag(w,N);break;case"arg":case"argument":case"param":return parseParameterOrPropertyTag(w,N,2,E);case"return":case"returns":q=parseReturnTag(w,N);break;case"template":q=parseTemplateTag(w,N);break;case"type":q=parseTypeTag(w,N);break;case"typedef":q=parseTypedefTag(w,N,E);break;case"callback":q=parseCallbackTag(w,N,E);break;default:q=parseUnknownTag(w,N);break}if(!q.comment){if(!j){E+=q.end-q.pos}q.comment=parseTagComments(E,j.slice(E))}return q}function parseTagComments(E,w){var N=[];var j=0;var q;function pushComment(S){if(!q){q=E}N.push(S);E+=S.length}if(w!==undefined){if(w!==""){pushComment(w)}j=1}var ee=token();e:while(true){switch(ee){case 4:if(j>=1){j=0;N.push(k.getTokenText())}E=0;break;case 59:if(j===3){N.push(k.getTokenText());break}k.setTextPos(k.getTextPos()-1);case 1:break e;case 5:if(j===2||j===3){pushComment(k.getTokenText())}else{var te=k.getTokenText();if(q!==undefined&&E+te.length>q){N.push(te.slice(q-E))}E+=te.length}break;case 18:j=2;if(lookAhead((function(){return nextTokenJSDoc()===59&&S.tokenIsIdentifierOrKeyword(nextTokenJSDoc())&&k.getTokenText()==="link"}))){pushComment(k.getTokenText());nextTokenJSDoc();pushComment(k.getTokenText());nextTokenJSDoc()}pushComment(k.getTokenText());break;case 61:if(j===3){j=2}else{j=3}pushComment(k.getTokenText());break;case 41:if(j===0){j=1;E+=1;break}default:if(j!==3){j=2}pushComment(k.getTokenText());break}ee=nextTokenJSDoc()}removeLeadingNewlines(N);removeTrailingWhitespace(N);return N.length===0?undefined:N.join("")}function parseUnknownTag(S,E){var k=createNode(306,S);k.tagName=E;return finishNode(k)}function addTag(S){if(!S){return}if(!q){q=[S];ee=S.pos}else{q.push(S)}te=S.end}function tryParseTypeExpression(){skipWhitespaceOrAsterisk();return token()===18?parseJSDocTypeExpression():undefined}function parseBracketNameInPropertyAndParamTag(){var S=parseOptionalJsdoc(22);if(S){skipWhitespace()}var E=parseOptionalJsdoc(61);var k=parseJSDocEntityName();if(E){parseExpectedTokenJSDoc(61)}if(S){skipWhitespace();if(parseOptionalToken(62)){parseExpression()}parseExpected(23)}return{name:k,isBracketed:S}}function isObjectOrObjectArrayTypeReference(E){switch(E.kind){case 141:return true;case 174:return isObjectOrObjectArrayTypeReference(E.elementType);default:return S.isTypeReferenceNode(E)&&S.isIdentifier(E.typeName)&&E.typeName.escapedText==="Object"&&!E.typeArguments}}function parseParameterOrPropertyTag(S,E,w,N){var j=tryParseTypeExpression();var q=!j;skipWhitespaceOrAsterisk();var ee=parseBracketNameInPropertyAndParamTag(),te=ee.name,ne=ee.isBracketed;skipWhitespace();if(q){j=tryParseTypeExpression()}var ae=w===1?createNode(323,S):createNode(317,S);var _e=parseTagComments(N+k.getStartPos()-S);var ve=w!==4&&parseNestedTypeLiteral(j,te,w,N);if(ve){j=ve;q=true}ae.tagName=E;ae.typeExpression=j;ae.name=te;ae.isNameFirst=q;ae.isBracketed=ne;ae.comment=_e;return finishNode(ae)}function parseNestedTypeLiteral(E,w,N,j){if(E&&isObjectOrObjectArrayTypeReference(E.type)){var q=createNode(294,k.getTokenPos());var ee=void 0;var te=void 0;var ne=k.getStartPos();var ae=void 0;while(ee=tryParse((function(){return parseChildParameterOrPropertyTag(N,j,w)}))){if(ee.kind===317||ee.kind===323){ae=S.append(ae,ee)}}if(ae){te=createNode(304,ne);te.jsDocPropertyTags=ae;if(E.type.kind===174){te.isArrayType=true}q.type=finishNode(te);return finishNode(q)}}}function parseReturnTag(E,w){if(S.some(q,S.isJSDocReturnTag)){parseErrorAt(w.pos,k.getTokenPos(),S.Diagnostics._0_tag_already_specified,w.escapedText)}var N=createNode(318,E);N.tagName=w;N.typeExpression=tryParseTypeExpression();return finishNode(N)}function parseTypeTag(E,w){if(S.some(q,S.isJSDocTypeTag)){parseErrorAt(w.pos,k.getTokenPos(),S.Diagnostics._0_tag_already_specified,w.escapedText)}var N=createNode(320,E);N.tagName=w;N.typeExpression=parseJSDocTypeExpression(true);return finishNode(N)}function parseAuthorTag(S,E,k){var w=createNode(309,S);w.tagName=E;var N=tryParse((function(){return tryParseAuthorNameAndEmail()}));if(!N){return finishNode(w)}w.comment=N;if(lookAhead((function(){return nextToken()!==4}))){var j=parseTagComments(k);if(j){w.comment+=j}}return finishNode(w)}function tryParseAuthorNameAndEmail(){var S=[];var E=false;var w=false;var N=k.getToken();e:while(true){switch(N){case 75:case 5:case 24:case 59:S.push(k.getTokenText());break;case 29:if(E||w){return}E=true;S.push(k.getTokenText());break;case 31:if(!E||w){return}w=true;S.push(k.getTokenText());k.setTextPos(k.getTokenPos()+1);break e;case 4:case 1:break e}N=nextTokenJSDoc()}if(E&&w){return S.length===0?undefined:S.join("")}}function parseImplementsTag(S,E){var k=createNode(308,S);k.tagName=E;k.class=parseExpressionWithTypeArgumentsForAugments();return finishNode(k)}function parseAugmentsTag(S,E){var k=createNode(307,S);k.tagName=E;k.class=parseExpressionWithTypeArgumentsForAugments();return finishNode(k)}function parseExpressionWithTypeArgumentsForAugments(){var S=parseOptional(18);var E=createNode(216);E.expression=parsePropertyAccessEntityNameExpression();E.typeArguments=tryParseTypeArguments();var k=finishNode(E);if(S){parseExpected(19)}return k}function parsePropertyAccessEntityNameExpression(){var S=parseJSDocIdentifierName();while(parseOptional(24)){var E=createNode(194,S.pos);E.expression=S;E.name=parseJSDocIdentifierName();S=finishNode(E)}return S}function parseSimpleTag(S,E,k){var w=createNode(E,S);w.tagName=k;return finishNode(w)}function parseThisTag(S,E){var k=createNode(319,S);k.tagName=E;k.typeExpression=parseJSDocTypeExpression(true);skipWhitespace();return finishNode(k)}function parseEnumTag(S,E){var k=createNode(316,S);k.tagName=E;k.typeExpression=parseJSDocTypeExpression(true);skipWhitespace();return finishNode(k)}function parseTypedefTag(E,w,N){var j=tryParseTypeExpression();skipWhitespaceOrAsterisk();var q=createNode(322,E);q.tagName=w;q.fullName=parseJSDocTypeNameWithNamespace();q.name=getJSDocTypeAliasName(q.fullName);skipWhitespace();q.comment=parseTagComments(N);q.typeExpression=j;var ee;if(!j||isObjectOrObjectArrayTypeReference(j.type)){var te=void 0;var ne=void 0;var ae=void 0;while(te=tryParse((function(){return parseChildPropertyTag(N)}))){if(!ne){ne=createNode(304,E)}if(te.kind===320){if(ae){break}else{ae=te}}else{ne.jsDocPropertyTags=S.append(ne.jsDocPropertyTags,te)}}if(ne){if(j&&j.type.kind===174){ne.isArrayType=true}q.typeExpression=ae&&ae.typeExpression&&!isObjectOrObjectArrayTypeReference(ae.typeExpression.type)?ae.typeExpression:finishNode(ne);ee=q.typeExpression.end}}return finishNode(q,ee||q.comment!==undefined?k.getStartPos():(q.fullName||q.typeExpression||q.tagName).end)}function parseJSDocTypeNameWithNamespace(E){var w=k.getTokenPos();if(!S.tokenIsIdentifierOrKeyword(token())){return undefined}var N=parseJSDocIdentifierName();if(parseOptional(24)){var j=createNode(249,w);if(E){j.flags|=4}j.name=N;j.body=parseJSDocTypeNameWithNamespace(true);return finishNode(j)}if(E){N.isInJSDocNamespace=true}return N}function parseCallbackTag(E,k,w){var N=createNode(315,E);N.tagName=k;N.fullName=parseJSDocTypeNameWithNamespace();N.name=getJSDocTypeAliasName(N.fullName);skipWhitespace();N.comment=parseTagComments(w);var j;var q=createNode(305,E);q.parameters=[];while(j=tryParse((function(){return parseChildParameterOrPropertyTag(4,w)}))){q.parameters=S.append(q.parameters,j)}var ee=tryParse((function(){if(parseOptionalJsdoc(59)){var S=parseTag(w);if(S&&S.kind===318){return S}}}));if(ee){q.type=ee}N.typeExpression=finishNode(q);return finishNode(N)}function getJSDocTypeAliasName(E){if(E){var k=E;while(true){if(S.isIdentifier(k)||!k.body){return S.isIdentifier(k)?k:k.name}k=k.body}}}function escapedTextsEqual(E,k){while(!S.isIdentifier(E)||!S.isIdentifier(k)){if(!S.isIdentifier(E)&&!S.isIdentifier(k)&&E.right.escapedText===k.right.escapedText){E=E.left;k=k.left}else{return false}}return E.escapedText===k.escapedText}function parseChildPropertyTag(S){return parseChildParameterOrPropertyTag(1,S)}function parseChildParameterOrPropertyTag(E,k,w){var N=true;var j=false;while(true){switch(nextTokenJSDoc()){case 59:if(N){var q=tryParseChildTag(E,k);if(q&&(q.kind===317||q.kind===323)&&E!==4&&w&&(S.isIdentifier(q.name)||!escapedTextsEqual(w,q.name.left))){return false}return q}j=false;break;case 4:N=true;j=false;break;case 41:if(j){N=false}j=true;break;case 75:N=false;break;case 1:return false}}}function tryParseChildTag(E,w){S.Debug.assert(token()===59);var N=k.getStartPos();nextTokenJSDoc();var j=parseJSDocIdentifierName();skipWhitespace();var q;switch(j.escapedText){case"type":return E===1&&parseTypeTag(N,j);case"prop":case"property":q=1;break;case"arg":case"argument":case"param":q=2|4;break;default:return false}if(!(E&q)){return false}return parseParameterOrPropertyTag(N,j,E,w)}function parseTemplateTag(E,k){var w;if(token()===18){w=parseJSDocTypeExpression()}var N=[];var j=getNodePos();do{skipWhitespace();var q=createNode(155);q.name=parseJSDocIdentifierName(S.Diagnostics.Unexpected_token_A_type_parameter_name_was_expected_without_curly_braces);finishNode(q);skipWhitespaceOrAsterisk();N.push(q)}while(parseOptionalJsdoc(27));var ee=createNode(321,E);ee.tagName=k;ee.constraint=w;ee.typeParameters=createNodeArray(N,j);finishNode(ee);return ee}function parseOptionalJsdoc(S){if(token()===S){nextTokenJSDoc();return true}return false}function parseJSDocEntityName(){var S=parseJSDocIdentifierName();if(parseOptional(22)){parseExpected(23)}while(parseOptional(24)){var E=parseJSDocIdentifierName();if(parseOptional(22)){parseExpected(23)}S=createQualifiedName(S,E)}return S}function parseJSDocIdentifierName(E){if(!S.tokenIsIdentifierOrKeyword(token())){return createMissingNode(75,!E,E||S.Diagnostics.Identifier_expected)}Ne++;var w=k.getTokenPos();var N=k.getTextPos();var j=createNode(75,w);if(token()!==75){j.originalKeywordKind=token()}j.escapedText=S.escapeLeadingUnderscores(internIdentifier(k.getTokenValue()));finishNode(j,N);nextTokenJSDoc();return j}}})(Be=E.JSDocParser||(E.JSDocParser={}))})(ee||(ee={}));var te;(function(E){function updateSourceFile(E,k,w,N){N=N||S.Debug.shouldAssert(2);checkChangeRange(E,k,w,N);if(S.textChangeRangeIsUnchanged(w)){return E}if(E.statements.length===0){return ee.parseSourceFile(E.fileName,k,E.languageVersion,undefined,true,E.scriptKind)}var j=E;S.Debug.assert(!j.hasBeenIncrementallyParsed);j.hasBeenIncrementallyParsed=true;var q=E.text;var te=createSyntaxCursor(E);var ne=extendToAffectedRange(E,w);checkChangeRange(E,k,ne,N);S.Debug.assert(ne.span.start<=w.span.start);S.Debug.assert(S.textSpanEnd(ne.span)===S.textSpanEnd(w.span));S.Debug.assert(S.textSpanEnd(S.textChangeRangeNewSpan(ne))===S.textSpanEnd(S.textChangeRangeNewSpan(w)));var ae=S.textChangeRangeNewSpan(ne).length-ne.span.length;updateTokenPositionsAndMarkElements(j,ne.span.start,S.textSpanEnd(ne.span),S.textSpanEnd(S.textChangeRangeNewSpan(ne)),ae,q,k,N);var _e=ee.parseSourceFile(E.fileName,k,E.languageVersion,te,true,E.scriptKind);_e.commentDirectives=getNewCommentDirectives(E.commentDirectives,_e.commentDirectives,ne.span.start,S.textSpanEnd(ne.span),ae,q,k,N);return _e}E.updateSourceFile=updateSourceFile;function getNewCommentDirectives(E,k,w,N,j,q,ee,te){if(!E)return k;var ne;var ae=false;for(var _e=0,ve=E;_eN){addNewlyScannedDirectives();var we={range:{pos:Te.pos+j,end:Te.end+j},type:Ce};ne=S.append(ne,we);if(te){S.Debug.assert(q.substring(Te.pos,Te.end)===ee.substring(we.range.pos,we.range.end))}}}addNewlyScannedDirectives();return ne;function addNewlyScannedDirectives(){if(ae)return;ae=true;if(!ne){ne=k}else if(k){ne.push.apply(ne,k)}}}function moveElementEntirelyPastChangeRange(E,k,w,N,j,q){if(k){visitArray(E)}else{visitNode(E)}return;function visitNode(E){var k="";if(q&&shouldCheckNode(E)){k=N.substring(E.pos,E.end)}if(E._children){E._children=undefined}E.pos+=w;E.end+=w;if(q&&shouldCheckNode(E)){S.Debug.assert(k===j.substring(E.pos,E.end))}forEachChild(E,visitNode,visitArray);if(S.hasJSDocNodes(E)){for(var ee=0,te=E.jsDoc;ee=k,"Adjusting an element that was entirely before the change range");S.Debug.assert(E.pos<=w,"Adjusting an element that was entirely after the change range");S.Debug.assert(E.pos<=E.end);E.pos=Math.min(E.pos,N);if(E.end>=w){E.end+=j}else{E.end=Math.min(E.end,N)}S.Debug.assert(E.pos<=E.end);if(E.parent){S.Debug.assert(E.pos>=E.parent.pos);S.Debug.assert(E.end<=E.parent.end)}}function checkNodePositions(E,k){if(k){var w=E.pos;var visitNode_1=function(E){S.Debug.assert(E.pos>=w);w=E.end};if(S.hasJSDocNodes(E)){for(var N=0,j=E.jsDoc;Nw){moveElementEntirelyPastChangeRange(E,false,j,q,ee,te);return}var ne=E.end;if(ne>=k){E.intersectsChange=true;E._children=undefined;adjustIntersectingElement(E,k,w,N,j);forEachChild(E,visitNode,visitArray);if(S.hasJSDocNodes(E)){for(var ae=0,_e=E.jsDoc;ae<_e.length;ae++){var ve=_e[ae];visitNode(ve)}}checkNodePositions(E,te);return}S.Debug.assert(new){moveElementEntirelyPastChangeRange(E,true,j,q,ee,te);return}var ne=E.end;if(ne>=k){E.intersectsChange=true;E._children=undefined;adjustIntersectingElement(E,k,w,N,j);for(var ae=0,_e=E;ae<_e.length;ae++){var ve=_e[ae];visitNode(ve)}return}S.Debug.assert(ne0&&j<=w;j++){var q=findNearestNodeStartingBeforeOrAtPosition(E,N);S.Debug.assert(q.pos<=N);var ee=q.pos;N=Math.max(0,ee-1)}var te=S.createTextSpanFromBounds(N,S.textSpanEnd(k.span));var ne=k.newLength+(k.span.start-N);return S.createTextChangeRange(te,ne)}function findNearestNodeStartingBeforeOrAtPosition(E,k){var w=E;var N;forEachChild(E,visit);if(N){var j=getLastDescendant(N);if(j.pos>w.pos){w=j}}return w;function getLastDescendant(E){while(true){var k=S.getLastChild(E);if(k){E=k}else{return E}}}function visit(E){if(S.nodeIsMissing(E)){return}if(E.pos<=k){if(E.pos>=w.pos){w=E}if(kk);return true}}}function checkChangeRange(E,k,w,N){var j=E.text;if(w){S.Debug.assert(j.length-w.span.length+w.newLength===k.length);if(N||S.Debug.shouldAssert(3)){var q=j.substr(0,w.span.start);var ee=k.substr(0,w.span.start);S.Debug.assert(q===ee);var te=j.substring(S.textSpanEnd(w.span),j.length);var ne=k.substring(S.textSpanEnd(S.textChangeRangeNewSpan(w)),k.length);S.Debug.assert(te===ne)}}}function createSyntaxCursor(E){var k=E.statements;var w=0;S.Debug.assert(w=E.pos&&S=E.pos&&SE.checkJsDirective.pos){E.checkJsDirective={enabled:N==="ts-check",end:S.range.end,pos:S.range.pos}}}));break}case"jsx":return;default:S.Debug.fail("Unhandled pragma kind")}}))}S.processPragmasIntoFields=processPragmasIntoFields;var ne=S.createMap();function getNamedArgRegEx(S){if(ne.has(S)){return ne.get(S)}var E=new RegExp("(\\s"+S+"\\s*=\\s*)('|\")(.+?)\\2","im");ne.set(S,E);return E}var ae=/^\/\/\/\s*<(\S+)\s.*?\/>/im;var _e=/^\/\/\/?\s*@(\S+)\s*(.*)\s*$/im;function extractPragmas(E,k,w){var N=k.kind===2&&ae.exec(w);if(N){var j=N[1].toLowerCase();var q=S.commentPragmas[j];if(!q||!(q.kind&1)){return}if(q.args){var ee={};for(var te=0,ne=q.args;te=k.length)break;var q=j;if(k.charCodeAt(q)===34){j++;while(j32)j++;N.push(k.substring(q,j))}}parseStrings(N)}}S.parseCommandLineWorker=parseCommandLineWorker;function parseOptionValue(E,k,w,N,j,q){if(N.isTSConfigOnly){var ee=E[k];if(ee==="null"){j[N.name]=undefined;k++}else if(N.type==="boolean"){if(ee==="false"){j[N.name]=false;k++}else{if(ee==="true")k++;q.push(S.createCompilerDiagnostic(S.Diagnostics.Option_0_can_only_be_specified_in_tsconfig_json_file_or_set_to_false_or_null_on_command_line,N.name))}}else{q.push(S.createCompilerDiagnostic(S.Diagnostics.Option_0_can_only_be_specified_in_tsconfig_json_file_or_set_to_null_on_command_line,N.name));if(ee&&!S.startsWith(ee,"-"))k++}}else{if(!E[k]&&N.type!=="boolean"){q.push(S.createCompilerDiagnostic(w.optionTypeMismatchDiagnostic,N.name,getCompilerOptionValueTypeString(N)))}if(E[k]!=="null"){switch(N.type){case"number":j[N.name]=parseInt(E[k]);k++;break;case"boolean":var ee=E[k];j[N.name]=ee!=="false";if(ee==="false"||ee==="true"){k++}break;case"string":j[N.name]=E[k]||"";k++;break;case"list":var te=parseListTypeOption(N,E[k],q);j[N.name]=te||[];if(te){k++}break;default:j[N.name]=parseCustomTypeOption(N,E[k],q);k++;break}}else{j[N.name]=undefined;k++}}return k}S.compilerOptionsDidYouMeanDiagnostics={getOptionsNameMap:getOptionsNameMap,optionDeclarations:S.optionDeclarations,unknownOptionDiagnostic:S.Diagnostics.Unknown_compiler_option_0,unknownDidYouMeanDiagnostic:S.Diagnostics.Unknown_compiler_option_0_Did_you_mean_1,optionTypeMismatchDiagnostic:S.Diagnostics.Compiler_option_0_expects_an_argument};function parseCommandLine(E,k){return parseCommandLineWorker(S.compilerOptionsDidYouMeanDiagnostics,E,k)}S.parseCommandLine=parseCommandLine;function getOptionFromName(S,E){return getOptionDeclarationFromName(getOptionsNameMap,S,E)}S.getOptionFromName=getOptionFromName;function getOptionDeclarationFromName(S,E,k){if(k===void 0){k=false}E=E.toLowerCase();var w=S(),N=w.optionsNameMap,j=w.shortOptionNames;if(k){var q=j.get(E);if(q!==undefined){E=q}}return N.get(E)}var j;function getBuildOptionsNameMap(){return j||(j=createOptionNameMap(S.buildOpts))}var q={getOptionsNameMap:getBuildOptionsNameMap,optionDeclarations:S.buildOpts,unknownOptionDiagnostic:S.Diagnostics.Unknown_build_option_0,unknownDidYouMeanDiagnostic:S.Diagnostics.Unknown_build_option_0_Did_you_mean_1,optionTypeMismatchDiagnostic:S.Diagnostics.Build_option_0_requires_a_value_of_type_1};function parseBuildCommand(E){var k=parseCommandLineWorker(q,E),w=k.options,N=k.watchOptions,j=k.fileNames,ee=k.errors;var te=w;if(j.length===0){j.push(".")}if(te.clean&&te.force){ee.push(S.createCompilerDiagnostic(S.Diagnostics.Options_0_and_1_cannot_be_combined,"clean","force"))}if(te.clean&&te.verbose){ee.push(S.createCompilerDiagnostic(S.Diagnostics.Options_0_and_1_cannot_be_combined,"clean","verbose"))}if(te.clean&&te.watch){ee.push(S.createCompilerDiagnostic(S.Diagnostics.Options_0_and_1_cannot_be_combined,"clean","watch"))}if(te.watch&&te.dry){ee.push(S.createCompilerDiagnostic(S.Diagnostics.Options_0_and_1_cannot_be_combined,"watch","dry"))}return{buildOptions:te,watchOptions:N,projects:j,errors:ee}}S.parseBuildCommand=parseBuildCommand;function getDiagnosticText(E){var k=[];for(var w=1;w=0){te.push(S.createCompilerDiagnostic(S.Diagnostics.Circularity_detected_while_resolving_configuration_Colon_0,w(ee,[ae]).join(" -> ")));return{raw:E||convertToObject(k,te)}}var _e=E?parseOwnConfigOfJson(E,N,j,q,te):parseOwnConfigOfJsonSourceFile(k,N,j,q,te);if(_e.extendedConfigPath){ee=ee.concat([ae]);var ve=getExtendedConfig(k,_e.extendedConfigPath,N,j,ee,te,ne);if(ve&&isSuccessfulParsedTsconfig(ve)){var Ee=ve.raw;var Te=_e.raw;var setPropertyInRawIfNotUndefined=function(S){var E=Te[S]||Ee[S];if(E){Te[S]=E}};setPropertyInRawIfNotUndefined("include");setPropertyInRawIfNotUndefined("exclude");setPropertyInRawIfNotUndefined("files");if(Te.compileOnSave===undefined){Te.compileOnSave=Ee.compileOnSave}_e.options=S.assign({},ve.options,_e.options);_e.watchOptions=_e.watchOptions&&ve.watchOptions?S.assign({},ve.watchOptions,_e.watchOptions):_e.watchOptions||ve.watchOptions}}return _e}function parseOwnConfigOfJson(E,k,w,N,j){if(S.hasProperty(E,"excludes")){j.push(S.createCompilerDiagnostic(S.Diagnostics.Unknown_option_excludes_Did_you_mean_exclude))}var q=convertCompilerOptionsFromJsonWorker(E.compilerOptions,w,j,N);var ee=convertTypeAcquisitionFromJsonWorker(E.typeAcquisition||E.typingOptions,w,j,N);var te=convertWatchOptionsFromJsonWorker(E.watchOptions,w,j);E.compileOnSave=convertCompileOnSaveOptionFromJson(E,w,j);var ne;if(E.extends){if(!S.isString(E.extends)){j.push(S.createCompilerDiagnostic(S.Diagnostics.Compiler_option_0_requires_a_value_of_type_1,"extends","string"))}else{var ae=N?directoryOfCombinedPath(N,w):w;ne=getExtendsConfigPath(E.extends,k,ae,j,S.createCompilerDiagnostic)}}return{raw:E,options:q,watchOptions:te,typeAcquisition:ee,extendedConfigPath:ne}}function parseOwnConfigOfJsonSourceFile(E,k,w,N,j){var q=getDefaultCompilerOptions(N);var ee,te;var ne;var ae;var _e={onSetValidOptionKeyValueInParent:function(E,k,j){var ae;switch(E){case"compilerOptions":ae=q;break;case"watchOptions":ae=ne||(ne={});break;case"typeAcquisition":ae=ee||(ee=getDefaultTypeAcquisition(N));break;case"typingOptions":ae=te||(te=getDefaultTypeAcquisition(N));break;default:S.Debug.fail("Unknown option")}ae[k.name]=normalizeOptionValue(k,w,j)},onSetValidOptionKeyValueInRoot:function(q,ee,te,ne){switch(q){case"extends":var _e=N?directoryOfCombinedPath(N,w):w;ae=getExtendsConfigPath(te,k,_e,j,(function(k,w){return S.createDiagnosticForNodeInSourceFile(E,ne,k,w)}));return}},onSetUnknownOptionKeyValueInRoot:function(k,w,N,q){if(k==="excludes"){j.push(S.createDiagnosticForNodeInSourceFile(E,w,S.Diagnostics.Unknown_option_excludes_Did_you_mean_exclude))}}};var ve=convertToObjectWorker(E,j,true,getTsconfigRootOptionsMap(),_e);if(!ee){if(te){ee=te.enableAutoDiscovery!==undefined?{enable:te.enableAutoDiscovery,include:te.include,exclude:te.exclude}:te}else{ee=getDefaultTypeAcquisition(N)}}return{raw:ve,options:q,watchOptions:ne,typeAcquisition:ee,extendedConfigPath:ae}}function getExtendsConfigPath(E,k,w,N,j){E=S.normalizeSlashes(E);if(S.isRootedDiskPath(E)||S.startsWith(E,"./")||S.startsWith(E,"../")){var q=S.getNormalizedAbsolutePath(E,w);if(!k.fileExists(q)&&!S.endsWith(q,".json")){q=q+".json";if(!k.fileExists(q)){N.push(j(S.Diagnostics.File_0_not_found,E));return undefined}}return q}var ee=S.nodeModuleNameResolver(E,S.combinePaths(w,"tsconfig.json"),{moduleResolution:S.ModuleResolutionKind.NodeJs},k,undefined,undefined,true);if(ee.resolvedModule){return ee.resolvedModule.resolvedFileName}N.push(j(S.Diagnostics.File_0_not_found,E));return undefined}function getExtendedConfig(E,k,w,N,j,q,ee){var te;var ne=w.useCaseSensitiveFileNames?k:S.toFileNameLowerCase(k);var ae;var _e;var ve;if(ee&&(ae=ee.get(ne))){_e=ae.extendedResult,ve=ae.extendedConfig}else{_e=readJsonConfigFile(k,(function(S){return w.readFile(S)}));if(!_e.parseDiagnostics.length){var Ee=S.getDirectoryPath(k);ve=parseConfig(undefined,_e,w,Ee,S.getBaseFileName(k),j,q,ee);if(isSuccessfulParsedTsconfig(ve)){var Te=S.convertToRelativePath(Ee,N,S.identity);var updatePath_1=function(E){return S.isRootedDiskPath(E)?E:S.combinePaths(Te,E)};var mapPropertiesInRawIfNotUndefined=function(E){if(Ce[E]){Ce[E]=S.map(Ce[E],updatePath_1)}};var Ce=ve.raw;mapPropertiesInRawIfNotUndefined("include");mapPropertiesInRawIfNotUndefined("exclude");mapPropertiesInRawIfNotUndefined("files")}}if(ee){ee.set(ne,{extendedResult:_e,extendedConfig:ve})}}if(E){E.extendedSourceFiles=[_e.fileName];if(_e.extendedSourceFiles){(te=E.extendedSourceFiles).push.apply(te,_e.extendedSourceFiles)}}if(_e.parseDiagnostics.length){q.push.apply(q,_e.parseDiagnostics);return undefined}return ve}function convertCompileOnSaveOptionFromJson(E,k,w){if(!S.hasProperty(E,S.compileOnSaveCommandLineOption.name)){return false}var N=convertJsonOption(S.compileOnSaveCommandLineOption,E.compileOnSave,k,w);return typeof N==="boolean"&&N}function convertCompilerOptionsFromJson(S,E,k){var w=[];var N=convertCompilerOptionsFromJsonWorker(S,E,w,k);return{options:N,errors:w}}S.convertCompilerOptionsFromJson=convertCompilerOptionsFromJson;function convertTypeAcquisitionFromJson(S,E,k){var w=[];var N=convertTypeAcquisitionFromJsonWorker(S,E,w,k);return{options:N,errors:w}}S.convertTypeAcquisitionFromJson=convertTypeAcquisitionFromJson;function getDefaultCompilerOptions(E){var k=E&&S.getBaseFileName(E)==="jsconfig.json"?{allowJs:true,maxNodeModuleJsDepth:2,allowSyntheticDefaultImports:true,skipLibCheck:true,noEmit:true}:{};return k}function convertCompilerOptionsFromJsonWorker(E,k,w,N){var j=getDefaultCompilerOptions(N);convertOptionsFromJson(getCommandLineCompilerOptionsMap(),E,k,j,S.compilerOptionsDidYouMeanDiagnostics,w);if(N){j.configFilePath=S.normalizeSlashes(N)}return j}function getDefaultTypeAcquisition(E){return{enable:!!E&&S.getBaseFileName(E)==="jsconfig.json",include:[],exclude:[]}}function convertTypeAcquisitionFromJsonWorker(S,E,k,w){var N=getDefaultTypeAcquisition(w);var j=convertEnableAutoDiscoveryToEnable(S);convertOptionsFromJson(getCommandLineTypeAcquisitionMap(),j,E,N,ee,k);return N}function convertWatchOptionsFromJsonWorker(S,E,k){return convertOptionsFromJson(getCommandLineWatchOptionsMap(),S,E,undefined,ne,k)}function convertOptionsFromJson(E,k,w,N,j,q){if(!k){return}for(var ee in k){var te=E.get(ee);if(te){(N||(N={}))[te.name]=convertJsonOption(te,k[ee],w,q)}else{q.push(createUnknownOptionError(ee,j,S.createCompilerDiagnostic))}}return N}function convertJsonOption(E,k,w,N){if(isCompilerOptionsValue(E,k)){var j=E.type;if(j==="list"&&S.isArray(k)){return convertJsonOptionOfListType(E,k,w,N)}else if(!S.isString(j)){return convertJsonOptionOfCustomType(E,k,N)}return normalizeNonListOptionValue(E,w,k)}else{N.push(S.createCompilerDiagnostic(S.Diagnostics.Compiler_option_0_requires_a_value_of_type_1,E.name,getCompilerOptionValueTypeString(E)))}}function normalizeOptionValue(E,k,w){if(isNullOrUndefined(w))return undefined;if(E.type==="list"){var N=E;if(N.element.isFilePath||!S.isString(N.element.type)){return S.filter(S.map(w,(function(S){return normalizeOptionValue(N.element,k,S)})),(function(S){return!!S}))}return w}else if(!S.isString(E.type)){return E.type.get(S.isString(w)?w.toLowerCase():w)}return normalizeNonListOptionValue(E,k,w)}function normalizeNonListOptionValue(E,k,w){if(E.isFilePath){w=S.getNormalizedAbsolutePath(w,k);if(w===""){w="."}}return w}function convertJsonOptionOfCustomType(S,E,k){if(isNullOrUndefined(E))return undefined;var w=E.toLowerCase();var N=S.type.get(w);if(N!==undefined){return N}else{k.push(createCompilerDiagnosticForInvalidCustomType(S))}}function convertJsonOptionOfListType(E,k,w,N){return S.filter(S.map(k,(function(S){return convertJsonOption(E.element,S,w,N)})),(function(S){return!!S}))}function trimString(S){return typeof S.trim==="function"?S.trim():S.replace(/^[\s]+|[\s]+$/g,"")}var Te=/(^|\/)\*\*\/?$/;var Ce=/(^|\/)\*\*\/(.*\/)?\.\.($|\/)/;var we=/\/[^/]*?[*?][^/]*\//;var Ne=/^[^*?]*(?=\/[^/]*[*?])/;function matchFileNames(E,k,w,N,j,q,ee,te,ne){N=S.normalizePath(N);var ae,_e;if(k){ae=validateSpecs(k,ee,false,ne,"include")}if(w){_e=validateSpecs(w,ee,true,ne,"exclude")}var ve=getWildcardDirectories(ae,_e,N,q.useCaseSensitiveFileNames);var Ee={filesSpecs:E,includeSpecs:k,excludeSpecs:w,validatedIncludeSpecs:ae,validatedExcludeSpecs:_e,wildcardDirectories:ve};return getFileNamesFromConfigSpecs(Ee,N,j,q,te)}function getFileNamesFromConfigSpecs(E,k,w,N,j){if(j===void 0){j=[]}k=S.normalizePath(k);var q=S.createGetCanonicalFileName(N.useCaseSensitiveFileNames);var ee=S.createMap();var te=S.createMap();var ne=S.createMap();var ae=E.filesSpecs,_e=E.validatedIncludeSpecs,ve=E.validatedExcludeSpecs,Ee=E.wildcardDirectories;var Te=S.getSupportedExtensions(w,j);var Ce=S.getSuppoertedExtensionsWithJsonIfResolveJsonModule(w,Te);if(ae){for(var we=0,Ne=ae;we0){var _loop_5=function(E){if(S.fileExtensionIs(E,".json")){if(!Oe){var w=_e.filter((function(E){return S.endsWith(E,".json")}));var j=S.map(S.getRegularExpressionsForWildcards(w,k,"files"),(function(S){return"^"+S+"$"}));Oe=j?j.map((function(E){return S.getRegexFromPattern(E,N.useCaseSensitiveFileNames)})):S.emptyArray}var ae=S.findIndex(Oe,(function(S){return S.test(E)}));if(ae!==-1){var ve=q(E);if(!ee.has(ve)&&!ne.has(ve)){ne.set(ve,E)}}return"continue"}if(hasFileWithHigherPriorityExtension(E,ee,te,Te,q)){return"continue"}removeWildcardFilesWithLowerPriorityExtension(E,te,Te,q);var Ee=q(E);if(!ee.has(Ee)&&!te.has(Ee)){te.set(Ee,E)}};for(var Me=0,Re=N.readDirectory(k,Ce,ve,_e,undefined);MeN){N=te}if(N===1){return N}}return N}break;case 250:{var ne=0;S.forEachChild(E,(function(E){var w=getModuleInstanceStateCached(E,k);switch(w){case 0:return;case 2:ne=2;return;case 1:ne=1;return true;default:S.Debug.assertNever(w)}}));return ne}case 249:return getModuleInstanceState(E,k);case 75:if(E.isInJSDocNamespace){return 0}}return 1}function getModuleInstanceStateForAliasTarget(E,k){var w=E.propertyName||E.name;var N=E.parent;while(N){if(S.isBlock(N)||S.isModuleBlock(N)||S.isSourceFile(N)){var j=N.statements;var q=void 0;for(var ee=0,te=j;eeq){q=ae}if(q===1){return q}}}if(q!==undefined){return q}}N=N.parent}return 1}var k;(function(S){S[S["None"]=0]="None";S[S["IsContainer"]=1]="IsContainer";S[S["IsBlockScopedContainer"]=2]="IsBlockScopedContainer";S[S["IsControlFlowContainer"]=4]="IsControlFlowContainer";S[S["IsFunctionLike"]=8]="IsFunctionLike";S[S["IsFunctionExpression"]=16]="IsFunctionExpression";S[S["HasLocals"]=32]="HasLocals";S[S["IsInterface"]=64]="IsInterface";S[S["IsObjectLiteralOrClassExpressionMethod"]=128]="IsObjectLiteralOrClassExpressionMethod"})(k||(k={}));function initFlowNode(E){S.Debug.attachFlowNodeDebugInfo(E);return E}var j=createBinder();function bindSourceFile(E,k){S.performance.mark("beforeBind");S.perfLogger.logStartBindFile(""+E.fileName);j(E,k);S.perfLogger.logStopBindFile();S.performance.mark("afterBind");S.performance.measure("Bind","beforeBind","afterBind")}S.bindSourceFile=bindSourceFile;function createBinder(){var E;var k;var j;var q;var ee;var te;var ne;var ae;var _e;var ve;var Ee;var Te;var Ce;var we;var Ne;var Ie;var Fe;var Oe;var Me;var Re;var Le;var Be;var je=0;var ze;var Ue;var We={flags:1};var $e={flags:1};var qe=0;var Ve;function createDiagnosticForNode(k,w,N,j,q){return S.createDiagnosticForNodeInSourceFile(S.getSourceFileOfNode(k)||E,k,w,N,j,q)}function bindSourceFile(w,N){E=w;k=N;j=S.getEmitScriptTarget(k);Be=bindInStrictMode(E,N);Ue=S.createUnderscoreEscapedMap();je=0;Ve=E.isDeclarationFile;ze=S.objectAllocator.getSymbolConstructor();S.Debug.attachFlowNodeDebugInfo(We);S.Debug.attachFlowNodeDebugInfo($e);if(!E.locals){bind(E);E.symbolCount=je;E.classifiableNames=Ue;delayedBindJSDocTypedefTag()}E=undefined;k=undefined;j=undefined;q=undefined;ee=undefined;te=undefined;ne=undefined;ae=undefined;_e=undefined;ve=false;Ee=undefined;Te=undefined;Ce=undefined;we=undefined;Ne=undefined;Ie=undefined;Fe=undefined;Me=undefined;Re=false;Le=0;qe=0}return bindSourceFile;function bindInStrictMode(E,k){if(S.getStrictOptionValue(k,"alwaysStrict")&&!E.isDeclarationFile){return true}else{return!!E.externalModuleIndicator}}function createSymbol(S,E){je++;return new ze(S,E)}function addDeclarationToSymbol(E,k,w){E.flags|=w;k.symbol=E;E.declarations=S.appendIfUnique(E.declarations,k);if(w&(32|384|1536|3)&&!E.exports){E.exports=S.createSymbolTable()}if(w&(32|64|2048|4096)&&!E.members){E.members=S.createSymbolTable()}if(E.constEnumOnlyModule&&E.flags&(16|32|256)){E.constEnumOnlyModule=false}if(w&111551){S.setValueDeclaration(E,k)}}function getDeclarationName(E){if(E.kind===259){return E.isExportEquals?"export=":"default"}var k=S.getNameOfDeclaration(E);if(k){if(S.isAmbientModule(E)){var w=S.getTextOfIdentifierOrLiteral(k);return S.isGlobalScopeAugmentation(E)?"__global":'"'+w+'"'}if(k.kind===154){var N=k.expression;if(S.isStringOrNumericLiteralLike(N)){return S.escapeLeadingUnderscores(N.text)}if(S.isSignedNumericLiteral(N)){return S.tokenToString(N.operator)+N.operand.text}S.Debug.assert(S.isWellKnownSymbolSyntactically(N));return S.getPropertyNameForKnownSymbolName(S.idText(N.name))}if(S.isWellKnownSymbolSyntactically(k)){return S.getPropertyNameForKnownSymbolName(S.idText(k.name))}if(S.isPrivateIdentifier(k)){var j=S.getContainingClass(E);if(!j){return undefined}var q=j.symbol;return S.getSymbolNameForPrivateIdentifier(q,k.escapedText)}return S.isPropertyNameLiteral(k)?S.getEscapedTextOfIdentifierOrLiteral(k):undefined}switch(E.kind){case 162:return"__constructor";case 170:case 165:case 305:return"__call";case 171:case 166:return"__new";case 167:return"__index";case 260:return"__export";case 290:return"export=";case 209:if(S.getAssignmentDeclarationKind(E)===2){return"export="}S.Debug.fail("Unknown binary declaration kind");break;case 300:return S.isJSDocConstructSignature(E)?"__new":"__call";case 156:S.Debug.assert(E.parent.kind===300,"Impossible parameter parent kind",(function(){return"parent is: "+(S.SyntaxKind?S.SyntaxKind[E.parent.kind]:E.parent.kind)+", expected JSDocFunctionType"}));var ee=E.parent;var te=ee.parameters.indexOf(E);return"arg"+te}}function getDisplayName(E){return S.isNamedDeclaration(E)?S.declarationNameToString(E.name):S.unescapeLeadingUnderscores(S.Debug.checkDefined(getDeclarationName(E)))}function declareSymbol(k,N,j,q,ee,te){S.Debug.assert(!S.hasDynamicName(j));var ne=S.hasModifier(j,512)||S.isExportSpecifier(j)&&j.name.escapedText==="default";var ae=ne&&N?"default":getDeclarationName(j);var _e;if(ae===undefined){_e=createSymbol(0,"__missing")}else{_e=k.get(ae);if(q&2885600){Ue.set(ae,true)}if(!_e){k.set(ae,_e=createSymbol(0,ae));if(te)_e.isReplaceableByMethod=true}else if(te&&!_e.isReplaceableByMethod){return _e}else if(_e.flags&ee){if(_e.isReplaceableByMethod){k.set(ae,_e=createSymbol(0,ae))}else if(!(q&3&&_e.flags&67108864)){if(S.isNamedDeclaration(j)){j.name.parent=j}var ve=_e.flags&2?S.Diagnostics.Cannot_redeclare_block_scoped_variable_0:S.Diagnostics.Duplicate_identifier_0;var Ee=true;if(_e.flags&384||q&384){ve=S.Diagnostics.Enum_declarations_can_only_merge_with_namespace_or_other_enum_declarations;Ee=false}var Te=false;if(S.length(_e.declarations)){if(ne){ve=S.Diagnostics.A_module_cannot_have_multiple_default_exports;Ee=false;Te=true}else{if(_e.declarations&&_e.declarations.length&&(j.kind===259&&!j.isExportEquals)){ve=S.Diagnostics.A_module_cannot_have_multiple_default_exports;Ee=false;Te=true}}}var Ce=[];if(S.isTypeAliasDeclaration(j)&&S.nodeIsMissing(j.type)&&S.hasModifier(j,1)&&_e.flags&(2097152|788968|1920)){Ce.push(createDiagnosticForNode(j,S.Diagnostics.Did_you_mean_0,"export type { "+S.unescapeLeadingUnderscores(j.name.escapedText)+" }"))}var we=S.getNameOfDeclaration(j)||j;S.forEach(_e.declarations,(function(k,w){var N=S.getNameOfDeclaration(k)||k;var j=createDiagnosticForNode(N,ve,Ee?getDisplayName(k):undefined);E.bindDiagnostics.push(Te?S.addRelatedInfo(j,createDiagnosticForNode(we,w===0?S.Diagnostics.Another_export_default_is_here:S.Diagnostics.and_here)):j);if(Te){Ce.push(createDiagnosticForNode(N,S.Diagnostics.The_first_export_default_is_here))}}));var Ne=createDiagnosticForNode(we,ve,Ee?getDisplayName(j):undefined);E.bindDiagnostics.push(S.addRelatedInfo.apply(void 0,w([Ne],Ce)));_e=createSymbol(0,ae)}}}addDeclarationToSymbol(_e,j,q);if(_e.parent){S.Debug.assert(_e.parent===N,"Existing symbol parent should match new one")}else{_e.parent=N}return _e}function declareModuleMember(E,k,w){var N=S.getCombinedModifierFlags(E)&1;if(k&2097152){if(E.kind===263||E.kind===253&&N){return declareSymbol(ee.symbol.exports,ee.symbol,E,k,w)}else{return declareSymbol(ee.locals,undefined,E,k,w)}}else{if(S.isJSDocTypeAlias(E))S.Debug.assert(S.isInJSFile(E));if(!S.isAmbientModule(E)&&(N||ee.flags&64)||S.isJSDocTypeAlias(E)){if(!ee.locals||S.hasModifier(E,512)&&!getDeclarationName(E)){return declareSymbol(ee.symbol.exports,ee.symbol,E,k,w)}var j=k&111551?1048576:0;var q=declareSymbol(ee.locals,undefined,E,j,w);q.exportSymbol=declareSymbol(ee.symbol.exports,ee.symbol,E,k,w);E.localSymbol=q;return q}else{return declareSymbol(ee.locals,undefined,E,k,w)}}}function bindContainer(E,k){var w=ee;var N=te;var j=ne;if(k&1){if(E.kind!==202){te=ee}ee=ne=E;if(k&32){ee.locals=S.createSymbolTable()}addToContainerChain(ee)}else if(k&2){ne=E;ne.locals=undefined}if(k&4){var q=Ee;var ae=Te;var _e=Ce;var Ne=we;var Ie=Fe;var Oe=Me;var Be=Re;var je=k&16&&!S.hasModifier(E,256)&&!E.asteriskToken&&!!S.getImmediatelyInvokedFunctionExpression(E);if(!je){Ee=initFlowNode({flags:2});if(k&(16|128)){Ee.node=E}}we=je||E.kind===162?createBranchLabel():undefined;Fe=undefined;Te=undefined;Ce=undefined;Me=undefined;Re=false;bindChildren(E);E.flags&=~2816;if(!(Ee.flags&1)&&k&8&&S.nodeIsPresent(E.body)){E.flags|=256;if(Re)E.flags|=512;E.endFlowNode=Ee}if(E.kind===290){E.flags|=Le}if(we){addAntecedent(we,Ee);Ee=finishFlowLabel(we);if(E.kind===162){E.returnFlowNode=Ee}}if(!je){Ee=q}Te=ae;Ce=_e;we=Ne;Fe=Ie;Me=Oe;Re=Be}else if(k&64){ve=false;bindChildren(E);E.flags=ve?E.flags|128:E.flags&~128}else{bindChildren(E)}ee=w;te=N;ne=j}function bindChildren(S){if(Ve){bindChildrenWorker(S)}else if(S.transformFlags&536870912){Ve=true;bindChildrenWorker(S);Ve=false;qe|=S.transformFlags&~getTransformFlagsSubtreeExclusions(S.kind)}else{var E=qe;qe=0;bindChildrenWorker(S);qe=E|computeTransformFlagsForNode(S,qe)}}function bindEachFunctionsFirst(S){bindEach(S,(function(S){return S.kind===244?bind(S):undefined}));bindEach(S,(function(S){return S.kind!==244?bind(S):undefined}))}function bindEach(E,k){if(k===void 0){k=bind}if(E===undefined){return}if(Ve){S.forEach(E,k)}else{var w=qe;qe=0;var N=0;for(var j=0,q=E;j=225&&S.kind<=241&&!k.allowUnreachableCode){S.flowNode=Ee}switch(S.kind){case 229:bindWhileStatement(S);break;case 228:bindDoStatement(S);break;case 230:bindForStatement(S);break;case 231:case 232:bindForInOrForOfStatement(S);break;case 227:bindIfStatement(S);break;case 235:case 239:bindReturnOrThrow(S);break;case 234:case 233:bindBreakOrContinueStatement(S);break;case 240:bindTryStatement(S);break;case 237:bindSwitchStatement(S);break;case 251:bindCaseBlock(S);break;case 277:bindCaseClause(S);break;case 226:bindExpressionStatement(S);break;case 238:bindLabeledStatement(S);break;case 207:bindPrefixUnaryExpressionFlow(S);break;case 208:bindPostfixUnaryExpressionFlow(S);break;case 209:bindBinaryExpressionFlow(S);break;case 203:bindDeleteExpressionFlow(S);break;case 210:bindConditionalExpressionFlow(S);break;case 242:bindVariableDeclarationFlow(S);break;case 194:case 195:bindAccessExpressionFlow(S);break;case 196:bindCallExpressionFlow(S);break;case 218:bindNonNullExpressionFlow(S);break;case 322:case 315:case 316:bindJSDocTypeAlias(S);break;case 290:{bindEachFunctionsFirst(S.statements);bind(S.endOfFileToken);break}case 223:case 250:bindEachFunctionsFirst(S.statements);break;default:bindEachChild(S);break}bindJSDoc(S)}function isNarrowingExpression(S){switch(S.kind){case 75:case 104:case 194:case 195:return containsNarrowableReference(S);case 196:return hasNarrowableArgument(S);case 200:return isNarrowingExpression(S.expression);case 209:return isNarrowingBinaryExpression(S);case 207:return S.operator===53&&isNarrowingExpression(S.operand);case 204:return isNarrowingExpression(S.expression)}return false}function isNarrowableReference(E){return E.kind===75||E.kind===104||E.kind===102||(S.isPropertyAccessExpression(E)||S.isNonNullExpression(E)||S.isParenthesizedExpression(E))&&isNarrowableReference(E.expression)||S.isElementAccessExpression(E)&&S.isStringOrNumericLiteralLike(E.argumentExpression)&&isNarrowableReference(E.expression)}function containsNarrowableReference(E){return isNarrowableReference(E)||S.isOptionalChain(E)&&containsNarrowableReference(E.expression)}function hasNarrowableArgument(S){if(S.arguments){for(var E=0,k=S.arguments;E=0){E=k.expr[w];switch(k.state[w]){case 0:{E.parent=q;var N=Be;bindWorker(E);var j=q;q=E;var ee=void 0;if(Ve){}else if(E.transformFlags&536870912){Ve=true;ee=-1}else{var te=qe;qe=0;ee=te}advanceState(1,N,j,ee);break}case 1:{var ne=E.operatorToken.kind;if(ne===55||ne===56||ne===60){if(isTopLevelLogicalExpression(E)){var ae=createBranchLabel();bindLogicalExpression(E,ae,ae);Ee=finishFlowLabel(ae)}else{bindLogicalExpression(E,Ne,Ie)}completeNode()}else{advanceState(2);maybeBind(E.left)}break}case 2:{advanceState(3);maybeBind(E.operatorToken);break}case 3:{advanceState(4);maybeBind(E.right);break}case 4:{var ne=E.operatorToken.kind;if(S.isAssignmentOperator(ne)&&!S.isAssignmentTarget(E)){bindAssignmentTargetFlow(E.left);if(ne===62&&E.left.kind===195){var _e=E.left;if(isNarrowableOperand(_e.expression)){Ee=createFlowMutation(256,Ee,E)}}}completeNode();break}default:return S.Debug.fail("Invalid state "+k.state[w]+" for bindBinaryExpressionFlow")}}function advanceState(S,E,N,j){k.state[w]=S;if(E!==undefined){k.inStrictMode[w]=E}if(N!==undefined){k.parent[w]=N}if(j!==undefined){k.subtreeFlags[w]=j}}function completeNode(){if(k.inStrictMode[w]!==undefined){if(k.subtreeFlags[w]===-1){Ve=false;qe|=E.transformFlags&~getTransformFlagsSubtreeExclusions(E.kind)}else if(k.subtreeFlags[w]!==undefined){qe=k.subtreeFlags[w]|computeTransformFlagsForNode(E,qe)}Be=k.inStrictMode[w];q=k.parent[w]}w--}function maybeBind(E){if(E&&S.isBinaryExpression(E)){w++;k.expr[w]=E;k.state[w]=0;k.inStrictMode[w]=undefined;k.parent[w]=undefined;k.subtreeFlags[w]=undefined}else{bind(E)}}}function bindDeleteExpressionFlow(S){bindEachChild(S);if(S.expression.kind===194){bindAssignmentTargetFlow(S.expression)}}function bindConditionalExpressionFlow(S){var E=createBranchLabel();var k=createBranchLabel();var w=createBranchLabel();bindCondition(S.condition,E,k);Ee=finishFlowLabel(E);bind(S.questionToken);bind(S.whenTrue);addAntecedent(w,Ee);Ee=finishFlowLabel(k);bind(S.colonToken);bind(S.whenFalse);addAntecedent(w,Ee);Ee=finishFlowLabel(w)}function bindInitializedVariableFlow(E){var k=!S.isOmittedExpression(E)?E.name:undefined;if(S.isBindingPattern(k)){for(var w=0,N=k.elements;w=113&&k.originalKeywordKind<=121&&!S.isIdentifierName(k)&&!(k.flags&8388608)&&!(k.flags&4194304)){if(!E.parseDiagnostics.length){E.bindDiagnostics.push(createDiagnosticForNode(k,getStrictModeIdentifierMessage(k),S.declarationNameToString(k)))}}}function getStrictModeIdentifierMessage(k){if(S.getContainingClass(k)){return S.Diagnostics.Identifier_expected_0_is_a_reserved_word_in_strict_mode_Class_definitions_are_automatically_in_strict_mode}if(E.externalModuleIndicator){return S.Diagnostics.Identifier_expected_0_is_a_reserved_word_in_strict_mode_Modules_are_automatically_in_strict_mode}return S.Diagnostics.Identifier_expected_0_is_a_reserved_word_in_strict_mode}function checkPrivateIdentifier(k){if(k.escapedText==="#constructor"){if(!E.parseDiagnostics.length){E.bindDiagnostics.push(createDiagnosticForNode(k,S.Diagnostics.constructor_is_a_reserved_word,S.declarationNameToString(k)))}}}function checkStrictModeBinaryExpression(E){if(Be&&S.isLeftHandSideExpression(E.left)&&S.isAssignmentOperator(E.operatorToken.kind)){checkStrictModeEvalOrArguments(E,E.left)}}function checkStrictModeCatchClause(S){if(Be&&S.variableDeclaration){checkStrictModeEvalOrArguments(S,S.variableDeclaration.name)}}function checkStrictModeDeleteExpression(k){if(Be&&k.expression.kind===75){var w=S.getErrorSpanForNode(E,k.expression);E.bindDiagnostics.push(S.createFileDiagnostic(E,w.start,w.length,S.Diagnostics.delete_cannot_be_called_on_an_identifier_in_strict_mode))}}function isEvalOrArgumentsIdentifier(E){return S.isIdentifier(E)&&(E.escapedText==="eval"||E.escapedText==="arguments")}function checkStrictModeEvalOrArguments(k,w){if(w&&w.kind===75){var N=w;if(isEvalOrArgumentsIdentifier(N)){var j=S.getErrorSpanForNode(E,w);E.bindDiagnostics.push(S.createFileDiagnostic(E,j.start,j.length,getStrictModeEvalOrArgumentsMessage(k),S.idText(N)))}}}function getStrictModeEvalOrArgumentsMessage(k){if(S.getContainingClass(k)){return S.Diagnostics.Invalid_use_of_0_Class_definitions_are_automatically_in_strict_mode}if(E.externalModuleIndicator){return S.Diagnostics.Invalid_use_of_0_Modules_are_automatically_in_strict_mode}return S.Diagnostics.Invalid_use_of_0_in_strict_mode}function checkStrictModeFunctionName(S){if(Be){checkStrictModeEvalOrArguments(S,S.name)}}function getStrictModeBlockScopeFunctionDeclarationMessage(k){if(S.getContainingClass(k)){return S.Diagnostics.Function_declarations_are_not_allowed_inside_blocks_in_strict_mode_when_targeting_ES3_or_ES5_Class_definitions_are_automatically_in_strict_mode}if(E.externalModuleIndicator){return S.Diagnostics.Function_declarations_are_not_allowed_inside_blocks_in_strict_mode_when_targeting_ES3_or_ES5_Modules_are_automatically_in_strict_mode}return S.Diagnostics.Function_declarations_are_not_allowed_inside_blocks_in_strict_mode_when_targeting_ES3_or_ES5}function checkStrictModeFunctionDeclaration(k){if(j<2){if(ne.kind!==290&&ne.kind!==249&&!S.isFunctionLike(ne)){var w=S.getErrorSpanForNode(E,k);E.bindDiagnostics.push(S.createFileDiagnostic(E,w.start,w.length,getStrictModeBlockScopeFunctionDeclarationMessage(k)))}}}function checkStrictModeNumericLiteral(k){if(Be&&k.numericLiteralFlags&32){E.bindDiagnostics.push(createDiagnosticForNode(k,S.Diagnostics.Octal_literals_are_not_allowed_in_strict_mode))}}function checkStrictModePostfixUnaryExpression(S){if(Be){checkStrictModeEvalOrArguments(S,S.operand)}}function checkStrictModePrefixUnaryExpression(S){if(Be){if(S.operator===45||S.operator===46){checkStrictModeEvalOrArguments(S,S.operand)}}}function checkStrictModeWithStatement(E){if(Be){errorOnFirstToken(E,S.Diagnostics.with_statements_are_not_allowed_in_strict_mode)}}function checkStrictModeLabeledStatement(E){if(Be&&k.target>=2){if(S.isDeclarationStatement(E.statement)||S.isVariableStatement(E.statement)){errorOnFirstToken(E.label,S.Diagnostics.A_label_is_not_allowed_here)}}}function errorOnFirstToken(k,w,N,j,q){var ee=S.getSpanOfTokenAtPosition(E,k.pos);E.bindDiagnostics.push(S.createFileDiagnostic(E,ee.start,ee.length,w,N,j,q))}function errorOrSuggestionOnNode(S,E,k){errorOrSuggestionOnRange(S,E,E,k)}function errorOrSuggestionOnRange(k,w,N,j){addErrorOrSuggestionDiagnostic(k,{pos:S.getTokenPosOfNode(w,E),end:N.end},j)}function addErrorOrSuggestionDiagnostic(k,w,j){var q=S.createFileDiagnostic(E,w.pos,w.end-w.pos,j);if(k){E.bindDiagnostics.push(q)}else{E.bindSuggestionDiagnostics=S.append(E.bindSuggestionDiagnostics,N(N({},q),{category:S.DiagnosticCategory.Suggestion}))}}function bind(S){if(!S){return}S.parent=q;var E=Be;bindWorker(S);if(S.kind>152){var k=q;q=S;var w=getContainerFlags(S);if(w===0){bindChildren(S)}else{bindContainer(S,w)}q=k}else if(!Ve&&(S.transformFlags&536870912)===0){qe|=computeTransformFlagsForNode(S,0);var k=q;if(S.kind===1)q=S;bindJSDoc(S);q=k}Be=E}function bindJSDoc(E){if(S.hasJSDocNodes(E)){if(S.isInJSFile(E)){for(var k=0,w=E.jsDoc;k=168&&S<=188){return-2}switch(S){case 196:case 197:case 192:return 536879104;case 249:return 537991168;case 156:return 536870912;case 202:return 538920960;case 201:case 244:return 538925056;case 243:return 537018368;case 245:case 214:return 536905728;case 162:return 538923008;case 161:case 163:case 164:return 538923008;case 125:case 140:case 151:case 137:case 143:case 141:case 128:case 144:case 110:case 155:case 158:case 160:case 165:case 166:case 167:case 246:case 247:return-2;case 193:return 536922112;case 280:return 536887296;case 189:case 190:return 536879104;case 199:case 217:case 326:case 200:case 102:return 536870912;case 194:case 195:return 536870912;default:return 536870912}}S.getTransformFlagsSubtreeExclusions=getTransformFlagsSubtreeExclusions;function setParentPointers(E,k){k.parent=E;S.forEachChild(k,(function(S){return setParentPointers(k,S)}))}})(ne||(ne={}));var ne;(function(S){function createGetSymbolWalker(E,k,w,N,j,q,ee,te,ne,ae,_e){return getSymbolWalker;function getSymbolWalker(ve){if(ve===void 0){ve=function(){return true}}var Ee=[];var Te=[];return{walkType:function(E){try{visitType(E);return{visitedTypes:S.getOwnValues(Ee),visitedSymbols:S.getOwnValues(Te)}}finally{S.clear(Ee);S.clear(Te)}},walkSymbol:function(E){try{visitSymbol(E);return{visitedTypes:S.getOwnValues(Ee),visitedSymbols:S.getOwnValues(Te)}}finally{S.clear(Ee);S.clear(Te)}}};function visitType(S){if(!S){return}if(Ee[S.id]){return}Ee[S.id]=S;var E=visitSymbol(S.symbol);if(E)return;if(S.flags&524288){var k=S;var w=k.objectFlags;if(w&4){visitTypeReference(S)}if(w&32){visitMappedType(S)}if(w&(1|2)){visitInterfaceType(S)}if(w&(8|16)){visitObjectType(k)}}if(S.flags&262144){visitTypeParameter(S)}if(S.flags&3145728){visitUnionOrIntersectionType(S)}if(S.flags&4194304){visitIndexType(S)}if(S.flags&8388608){visitIndexedAccessType(S)}}function visitTypeReference(E){visitType(E.target);S.forEach(_e(E),visitType)}function visitTypeParameter(S){visitType(ne(S))}function visitUnionOrIntersectionType(E){S.forEach(E.types,visitType)}function visitIndexType(S){visitType(S.type)}function visitIndexedAccessType(S){visitType(S.objectType);visitType(S.indexType);visitType(S.constraint)}function visitMappedType(S){visitType(S.typeParameter);visitType(S.constraintType);visitType(S.templateType);visitType(S.modifiersType)}function visitSignature(N){var j=k(N);if(j){visitType(j.type)}S.forEach(N.typeParameters,visitType);for(var q=0,ee=N.parameters;q>",0,kt);var _r=createSignature(undefined,undefined,undefined,S.emptyArray,kt,undefined,0,0);var yr=createSignature(undefined,undefined,undefined,S.emptyArray,At,undefined,0,0);var vr=createSignature(undefined,undefined,undefined,S.emptyArray,kt,undefined,0,0);var br=createSignature(undefined,undefined,undefined,S.emptyArray,Gt,undefined,0,0);var xr=createIndexInfo(Rt,true);var Sr=S.createMap();var Er={get yieldType(){return S.Debug.fail("Not supported")},get returnType(){return S.Debug.fail("Not supported")},get nextType(){return S.Debug.fail("Not supported")}};var Tr=createIterationTypes(kt,kt,kt);var kr=createIterationTypes(kt,kt,Pt);var Cr=createIterationTypes(Ht,kt,Nt);var Dr={iterableCacheKey:"iterationTypesOfAsyncIterable",iteratorCacheKey:"iterationTypesOfAsyncIterator",iteratorSymbolName:"asyncIterator",getGlobalIteratorType:getGlobalAsyncIteratorType,getGlobalIterableType:getGlobalAsyncIterableType,getGlobalIterableIteratorType:getGlobalAsyncIterableIteratorType,getGlobalGeneratorType:getGlobalAsyncGeneratorType,resolveIterationType:getAwaitedType,mustHaveANextMethodDiagnostic:S.Diagnostics.An_async_iterator_must_have_a_next_method,mustBeAMethodDiagnostic:S.Diagnostics.The_0_property_of_an_async_iterator_must_be_a_method,mustHaveAValueDiagnostic:S.Diagnostics.The_type_returned_by_the_0_method_of_an_async_iterator_must_be_a_promise_for_a_type_with_a_value_property};var Ar={iterableCacheKey:"iterationTypesOfIterable",iteratorCacheKey:"iterationTypesOfIterator",iteratorSymbolName:"iterator",getGlobalIteratorType:getGlobalIteratorType,getGlobalIterableType:getGlobalIterableType,getGlobalIterableIteratorType:getGlobalIterableIteratorType,getGlobalGeneratorType:getGlobalGeneratorType,resolveIterationType:function(S,E){return S},mustHaveANextMethodDiagnostic:S.Diagnostics.An_iterator_must_have_a_next_method,mustBeAMethodDiagnostic:S.Diagnostics.The_0_property_of_an_iterator_must_be_a_method,mustHaveAValueDiagnostic:S.Diagnostics.The_type_returned_by_the_0_method_of_an_iterator_must_have_a_value_property};var wr;var Pr=S.createMap();var Nr;var Ir;var Fr;var Or;var Mr;var Rr;var Lr;var Br;var jr;var zr;var Ur;var Wr;var $r;var qr;var Vr;var Hr;var Gr;var Jr;var Kr;var Qr;var Xr;var Yr;var Zr;var en;var tn;var rn;var nn;var an;var on;var sn;var cn;var ln;var un;var dn;var pn;var mn;var gn;var hn;var _n;var yn;var vn=S.createMap();var bn=0;var xn=0;var Sn=0;var En=false;var Tn=0;var kn;var Cn;var Dn;var An=getLiteralType("");var wn=getLiteralType(0);var Pn=getLiteralType({negative:false,base10Value:"0"});var Nn=[];var In=[];var Fn=[];var On=0;var Mn=10;var Rn=[];var Ln=[];var Bn=[];var jn=[];var zn=[];var Un=[];var Wn=[];var $n=[];var qn=[];var Vn=[];var Hn=[];var Gn=[];var Jn=[];var Kn=[];var Qn=S.createDiagnosticCollection();var Xn=S.createDiagnosticCollection();var Yn=S.createMapFromTemplate({string:Rt,number:Lt,bigint:Bt,boolean:$t,symbol:qt,undefined:Nt});var Zn=createTypeofType();var ei;var ti;var ri;var ni=S.createMap();var ii=S.createMap();var ai=S.createMap();var oi=S.createMap();var si=S.createMap();var ci=S.createMap();var li=S.createSymbolTable();li.set(st.escapedName,st);initializeTypeChecker();return ft;function getJsxNamespace(E){if(E){var k=S.getSourceFileOfNode(E);if(k){if(k.localJsxNamespace){return k.localJsxNamespace}var w=k.pragmas.get("jsx");if(w){var N=S.isArray(w)?w[0]:w;k.localJsxFactory=S.parseIsolatedEntityName(N.arguments.factory,He);S.visitNode(k.localJsxFactory,markAsSynthetic);if(k.localJsxFactory){return k.localJsxNamespace=S.getFirstIdentifier(k.localJsxFactory).escapedText}}}}if(!ei){ei="React";if(Ve.jsxFactory){ti=S.parseIsolatedEntityName(Ve.jsxFactory,He);S.visitNode(ti,markAsSynthetic);if(ti){ei=S.getFirstIdentifier(ti).escapedText}}else if(Ve.reactNamespace){ei=S.escapeLeadingUnderscores(Ve.reactNamespace)}}if(!ti){ti=S.createQualifiedName(S.createIdentifier(S.unescapeLeadingUnderscores(ei)),"createElement")}return ei;function markAsSynthetic(E){E.pos=-1;E.end=-1;return S.visitEachChild(E,markAsSynthetic,S.nullTransformationContext)}}function getEmitResolver(S,E){getDiagnostics(S,E);return nt}function lookupOrIssueError(E,k,w,N,j,q){var ee=E?S.createDiagnosticForNode(E,k,w,N,j,q):S.createCompilerDiagnostic(k,w,N,j,q);var te=Qn.lookup(ee);if(te){return te}else{Qn.add(ee);return ee}}function error(E,k,w,N,j,q){var ee=E?S.createDiagnosticForNode(E,k,w,N,j,q):S.createCompilerDiagnostic(k,w,N,j,q);Qn.add(ee);return ee}function addErrorOrSuggestion(E,k){if(E){Qn.add(k)}else{Xn.add(N(N({},k),{category:S.DiagnosticCategory.Suggestion}))}}function errorOrSuggestion(E,k,w,N,j,q,ee){addErrorOrSuggestion(E,"message"in w?S.createDiagnosticForNode(k,w,N,j,q,ee):S.createDiagnosticForNodeFromMessageChain(k,w))}function errorAndMaybeSuggestAwait(E,k,w,N,j,q,ee){var te=error(E,w,N,j,q,ee);if(k){var ne=S.createDiagnosticForNode(E,S.Diagnostics.Did_you_forget_to_use_await);S.addRelatedInfo(te,ne)}return te}function createSymbol(S,E,k){Oe++;var w=new we(S|33554432,E);w.checkFlags=k||0;return w}function getExcludedSymbolFlags(S){var E=0;if(S&2)E|=111551;if(S&1)E|=111550;if(S&4)E|=0;if(S&8)E|=900095;if(S&16)E|=110991;if(S&32)E|=899503;if(S&64)E|=788872;if(S&256)E|=899327;if(S&128)E|=899967;if(S&512)E|=110735;if(S&8192)E|=103359;if(S&32768)E|=46015;if(S&65536)E|=78783;if(S&262144)E|=526824;if(S&524288)E|=788968;if(S&2097152)E|=2097152;return E}function recordMergedSymbol(S,E){if(!E.mergeId){E.mergeId=te;te++}Rn[E.mergeId]=S}function cloneSymbol(E){var k=createSymbol(E.flags,E.escapedName);k.declarations=E.declarations?E.declarations.slice():[];k.parent=E.parent;if(E.valueDeclaration)k.valueDeclaration=E.valueDeclaration;if(E.constEnumOnlyModule)k.constEnumOnlyModule=true;if(E.members)k.members=S.cloneMap(E.members);if(E.exports)k.exports=S.cloneMap(E.exports);recordMergedSymbol(k,E);return k}function mergeSymbol(E,k,w){if(w===void 0){w=false}if(!(E.flags&getExcludedSymbolFlags(k.flags))||(k.flags|E.flags)&67108864){if(k===E){return E}if(!(E.flags&33554432)){var N=resolveSymbol(E);if(N===Et){return k}E=cloneSymbol(N)}if(k.flags&512&&E.flags&512&&E.constEnumOnlyModule&&!k.constEnumOnlyModule){E.constEnumOnlyModule=false}E.flags|=k.flags;if(k.valueDeclaration){S.setValueDeclaration(E,k.valueDeclaration)}S.addRange(E.declarations,k.declarations);if(k.members){if(!E.members)E.members=S.createSymbolTable();mergeSymbolTable(E.members,k.members,w)}if(k.exports){if(!E.exports)E.exports=S.createSymbolTable();mergeSymbolTable(E.exports,k.exports,w)}if(!w){recordMergedSymbol(E,k)}}else if(E.flags&1024){if(E!==ct){error(S.getNameOfDeclaration(k.declarations[0]),S.Diagnostics.Cannot_augment_module_0_with_value_exports_because_it_resolves_to_a_non_module_entity,symbolToString(E))}}else{var j=!!(E.flags&384||k.flags&384);var q=!!(E.flags&2||k.flags&2);var ee=j?S.Diagnostics.Enum_declarations_can_only_merge_with_namespace_or_other_enum_declarations:q?S.Diagnostics.Cannot_redeclare_block_scoped_variable_0:S.Diagnostics.Duplicate_identifier_0;var te=k.declarations&&S.getSourceFileOfNode(k.declarations[0]);var ne=E.declarations&&S.getSourceFileOfNode(E.declarations[0]);var ae=symbolToString(k);if(te&&ne&&wr&&!j&&te!==ne){var _e=S.comparePaths(te.path,ne.path)===-1?te:ne;var ve=_e===te?ne:te;var Ee=S.getOrUpdate(wr,_e.path+"|"+ve.path,(function(){return{firstFile:_e,secondFile:ve,conflictingSymbols:S.createMap()}}));var Te=S.getOrUpdate(Ee.conflictingSymbols,ae,(function(){return{isBlockScoped:q,firstFileLocations:[],secondFileLocations:[]}}));addDuplicateLocations(Te.firstFileLocations,k);addDuplicateLocations(Te.secondFileLocations,E)}else{addDuplicateDeclarationErrorsForSymbols(k,ee,ae,E);addDuplicateDeclarationErrorsForSymbols(E,ee,ae,k)}}return E;function addDuplicateLocations(E,k){for(var w=0,N=k.declarations;w=5||S.some(q.relatedInformation,(function(E){return S.compareDiagnostics(E,ee)===0||S.compareDiagnostics(E,N)===0})))return"continue";S.addRelatedInfo(q,!S.length(q.relatedInformation)?N:ee)};for(var ee=0,te=N||S.emptyArray;ee1);return}if(S.isGlobalScopeAugmentation(N)){mergeSymbolTable(ot,N.symbol.exports)}else{var j=!(E.parent.parent.flags&8388608)?S.Diagnostics.Invalid_module_name_in_augmentation_module_0_cannot_be_found:undefined;var q=resolveExternalModuleNameWorker(E,E,j,true);if(!q){return}q=resolveExternalModuleSymbol(q);if(q.flags&1920){if(S.some(Ir,(function(S){return q===S.symbol}))){var ee=mergeSymbol(N.symbol,q,true);if(!Fr){Fr=S.createMap()}Fr.set(E.text,ee)}else{if(((k=q.exports)===null||k===void 0?void 0:k.get("__export"))&&((w=N.symbol.exports)===null||w===void 0?void 0:w.size)){var te=getResolvedMembersOrExportsOfSymbol(q,"resolvedExports");for(var ne=0,ae=S.arrayFrom(N.symbol.exports.entries());neE.end){return false}var N=S.findAncestor(k,(function(k){if(k===E){return"quit"}switch(k.kind){case 202:return true;case 159:return w&&(S.isPropertyDeclaration(E)&&k.parent===E.parent||S.isParameterPropertyDeclaration(E,E.parent)&&k.parent===E.parent.parent)?"quit":true;case 223:switch(k.parent.kind){case 163:case 161:case 164:return true;default:return false}default:return false}}));return N===undefined}}function useOuterVariableScopeInParameter(E,k,w){var N=S.getEmitScriptTarget(Ve);var j=k;if(S.isParameter(w)&&j.body&&E.valueDeclaration.pos>=j.body.pos&&E.valueDeclaration.end<=j.body.end){if(N>=2){var q=getNodeLinks(j);if(q.declarationRequiresScopeChange===undefined){q.declarationRequiresScopeChange=S.forEach(j.parameters,requiresScopeChange)||false}return!q.declarationRequiresScopeChange}}return false;function requiresScopeChange(S){return requiresScopeChangeWorker(S.name)||!!S.initializer&&requiresScopeChangeWorker(S.initializer)}function requiresScopeChangeWorker(E){switch(E.kind){case 202:case 201:case 244:case 162:return false;case 161:case 163:case 164:case 281:return requiresScopeChangeWorker(E.name);case 159:if(S.hasStaticModifier(E)){return N<99||!Ve.useDefineForClassFields}return requiresScopeChangeWorker(E.name);default:if(S.isNullishCoalesce(E)||S.isOptionalChain(E)){return N<7}if(S.isBindingElement(E)&&E.dotDotDotToken&&S.isObjectBindingPattern(E.parent)){return N<4}if(S.isTypeNode(E))return false;return S.forEachChild(E,requiresScopeChangeWorker)||false}}}function resolveName(S,E,k,w,N,j,q,ee){if(q===void 0){q=false}return resolveNameHelper(S,E,k,w,N,j,q,getSymbol,ee)}function resolveNameHelper(E,k,w,N,j,q,ee,te,ne){var ae=E;var _e;var ve;var Ee;var Te;var Ce;var we=false;var Ne=E;var Ie;var Fe=false;e:while(E){if(E.locals&&!isGlobalSourceFile(E)){if(_e=te(E.locals,k,w)){var Oe=true;if(S.isFunctionLike(E)&&ve&&ve!==E.body){if(w&_e.flags&788968&&ve.kind!==303){Oe=_e.flags&262144?ve===E.type||ve.kind===156||ve.kind===155:false}if(w&_e.flags&3){if(useOuterVariableScopeInParameter(_e,E,ve)){Oe=false}else if(_e.flags&1){Oe=ve.kind===156||ve===E.type&&!!S.findAncestor(_e.valueDeclaration,S.isParameter)}}}else if(E.kind===180){Oe=ve===E.trueType}if(Oe){break e}else{_e=undefined}}}we=we||getIsDeferredContext(E,ve);switch(E.kind){case 290:if(!S.isExternalOrCommonJsModule(E))break;Fe=true;case 249:var Me=getSymbolOfNode(E).exports||$e;if(E.kind===290||S.isModuleDeclaration(E)&&E.flags&8388608&&!S.isGlobalScopeAugmentation(E)){if(_e=Me.get("default")){var Re=S.getLocalSymbolForExportDefault(_e);if(Re&&_e.flags&w&&Re.escapedName===k){break e}_e=undefined}var Le=Me.get(k);if(Le&&Le.flags===2097152&&(S.getDeclarationOfKind(Le,263)||S.getDeclarationOfKind(Le,262))){break}}if(k!=="default"&&(_e=te(Me,k,w&2623475))){if(S.isSourceFile(E)&&E.commonJsModuleIndicator&&!_e.declarations.some(S.isJSDocTypeAlias)){_e=undefined}else{break e}}break;case 248:if(_e=te(getSymbolOfNode(E).exports,k,w&8)){break e}break;case 159:if(!S.hasModifier(E,32)){var Be=findConstructorDeclaration(E.parent);if(Be&&Be.locals){if(te(Be.locals,k,w&111551)){Te=E}}}break;case 245:case 214:case 246:if(_e=te(getSymbolOfNode(E).members||$e,k,w&788968)){if(!isTypeParameterSymbolDeclaredInContainer(_e,E)){_e=undefined;break}if(ve&&S.hasModifier(ve,32)){error(Ne,S.Diagnostics.Static_members_cannot_reference_class_type_parameters);return undefined}break e}if(E.kind===214&&w&32){var je=E.name;if(je&&k===je.escapedText){_e=E.symbol;break e}}break;case 216:if(ve===E.expression&&E.parent.token===90){var ze=E.parent.parent;if(S.isClassLike(ze)&&(_e=te(getSymbolOfNode(ze).members,k,w&788968))){if(N){error(Ne,S.Diagnostics.Base_class_expressions_cannot_reference_class_type_parameters)}return undefined}}break;case 154:Ie=E.parent.parent;if(S.isClassLike(Ie)||Ie.kind===246){if(_e=te(getSymbolOfNode(Ie).members,k,w&788968)){error(Ne,S.Diagnostics.A_computed_property_name_cannot_reference_a_type_parameter_from_its_containing_type);return undefined}}break;case 202:if(Ve.target>=2){break}case 161:case 162:case 163:case 164:case 244:if(w&3&&k==="arguments"){_e=ut;break e}break;case 201:if(w&3&&k==="arguments"){_e=ut;break e}if(w&16){var Ue=E.name;if(Ue&&k===Ue.escapedText){_e=E.symbol;break e}}break;case 157:if(E.parent&&E.parent.kind===156){E=E.parent}if(E.parent&&(S.isClassElement(E.parent)||E.parent.kind===245)){E=E.parent}break;case 322:case 315:case 316:E=S.getJSDocHost(E);break;case 156:if(ve&&(ve===E.initializer||ve===E.name&&S.isBindingPattern(ve))){if(!Ce){Ce=E}}break;case 191:if(ve&&(ve===E.initializer||ve===E.name&&S.isBindingPattern(ve))){var We=S.getRootDeclaration(E);if(We.kind===156){if(!Ce){Ce=E}}}break}if(isSelfReferenceLocation(E)){Ee=E}ve=E;E=E.parent}if(q&&_e&&(!Ee||_e!==Ee.symbol)){_e.isReferenced|=w}if(!_e){if(ve){S.Debug.assert(ve.kind===290);if(ve.commonJsModuleIndicator&&k==="exports"&&w&ve.symbol.flags){return ve.symbol}}if(!ee){_e=te(ot,k,w)}}if(!_e){if(ae&&S.isInJSFile(ae)&&ae.parent){if(S.isRequireCall(ae.parent,false)){return dt}}}if(!_e){if(N){if(!Ne||!checkAndReportErrorForMissingPrefix(Ne,k,j)&&!checkAndReportErrorForExtendingInterface(Ne)&&!checkAndReportErrorForUsingTypeAsNamespace(Ne,k,w)&&!checkAndReportErrorForExportingPrimitiveType(Ne,k)&&!checkAndReportErrorForUsingTypeAsValue(Ne,k,w)&&!checkAndReportErrorForUsingNamespaceModuleAsValue(Ne,k,w)&&!checkAndReportErrorForUsingValueAsType(Ne,k,w)){var qe=void 0;if(ne&&OnCe.pos&&We.parent.locals&&te(We.parent.locals,Xe.escapedName,w)===Xe){error(Ne,S.Diagnostics.Parameter_0_cannot_reference_identifier_1_declared_after_it,S.declarationNameToString(Ce.name),S.declarationNameToString(Ne))}}if(_e&&Ne&&w&111551&&_e.flags&2097152){checkSymbolUsageInExpressionContext(_e,k,Ne)}}return _e}function checkSymbolUsageInExpressionContext(E,k,w){if(!S.isValidTypeOnlyAliasUseSite(w)){var N=getTypeOnlyAliasDeclaration(E);if(N){var j=S.typeOnlyDeclarationIsExport(N);var q=j?S.Diagnostics._0_cannot_be_used_as_a_value_because_it_was_exported_using_export_type:S.Diagnostics._0_cannot_be_used_as_a_value_because_it_was_imported_using_import_type;var ee=j?S.Diagnostics._0_was_exported_here:S.Diagnostics._0_was_imported_here;var te=S.unescapeLeadingUnderscores(k);S.addRelatedInfo(error(w,q,te),S.createDiagnosticForNode(N,ee,te))}}}function getIsDeferredContext(E,k){if(E.kind!==202&&E.kind!==201){return S.isTypeQueryNode(E)||(S.isFunctionLikeDeclaration(E)||E.kind===159&&!S.hasModifier(E,32))&&(!k||k!==E.name)}if(k&&k===E.name){return false}if(E.asteriskToken||S.hasModifier(E,256)){return true}return!S.getImmediatelyInvokedFunctionExpression(E)}function isSelfReferenceLocation(S){switch(S.kind){case 244:case 245:case 246:case 248:case 247:case 249:return true;default:return false}}function diagnosticName(E){return S.isString(E)?S.unescapeLeadingUnderscores(E):S.declarationNameToString(E)}function isTypeParameterSymbolDeclaredInContainer(E,k){for(var w=0,N=E.declarations;w=S.ModuleKind.ES2015?"allowSyntheticDefaultImports":"esModuleInterop";var te=w.exports.get("export=");var ne=te.valueDeclaration;var ae=error(E.name,S.Diagnostics.Module_0_can_only_be_default_imported_using_the_1_flag,symbolToString(w),ee);S.addRelatedInfo(ae,S.createDiagnosticForNode(ne,S.Diagnostics.This_module_is_declared_with_using_export_and_can_only_be_used_with_a_default_import_when_using_the_0_flag,ee))}else{reportNonDefaultExport(w,E)}}else if(q){var _e=resolveExternalModuleSymbol(w,k)||resolveSymbol(w,k);markSymbolOfAliasDeclarationIfTypeOnly(E,w,_e,false);return _e}markSymbolOfAliasDeclarationIfTypeOnly(E,N,undefined,false);return N}}function reportNonDefaultExport(E,k){var w,N;if((w=E.exports)===null||w===void 0?void 0:w.has(k.symbol.escapedName)){error(k.name,S.Diagnostics.Module_0_has_no_default_export_Did_you_mean_to_use_import_1_from_0_instead,symbolToString(E),symbolToString(k.symbol))}else{var j=error(k.name,S.Diagnostics.Module_0_has_no_default_export,symbolToString(E));var q=(N=E.exports)===null||N===void 0?void 0:N.get("__export");if(q){var ee=S.find(q.declarations,(function(E){var k,w;return!!(S.isExportDeclaration(E)&&E.moduleSpecifier&&((w=(k=resolveExternalModuleName(E,E.moduleSpecifier))===null||k===void 0?void 0:k.exports)===null||w===void 0?void 0:w.has("default")))}));if(ee){S.addRelatedInfo(j,S.createDiagnosticForNode(ee,S.Diagnostics.export_Asterisk_does_not_re_export_a_default))}}}}function getTargetOfNamespaceImport(S,E){var k=S.parent.parent.moduleSpecifier;var w=resolveExternalModuleName(S,k);var N=resolveESModuleSymbol(w,k,E,false);markSymbolOfAliasDeclarationIfTypeOnly(S,w,N,false);return N}function getTargetOfNamespaceExport(S,E){var k=S.parent.moduleSpecifier;var w=k&&resolveExternalModuleName(S,k);var N=k&&resolveESModuleSymbol(w,k,E,false);markSymbolOfAliasDeclarationIfTypeOnly(S,w,N,false);return N}function combineValueAndTypeSymbols(E,k){if(E===Et&&k===Et){return Et}if(E.flags&(788968|1920)){return E}var w=createSymbol(E.flags|k.flags,E.escapedName);w.declarations=S.deduplicate(S.concatenate(E.declarations,k.declarations),S.equateValues);w.parent=E.parent||k.parent;if(E.valueDeclaration)w.valueDeclaration=E.valueDeclaration;if(k.members)w.members=S.cloneMap(k.members);if(E.exports)w.exports=S.cloneMap(E.exports);return w}function getExportOfModule(S,E,k){var w;if(S.flags&1536){var N=((w=E.propertyName)!==null&&w!==void 0?w:E.name).escapedText;var j=getExportsOfSymbol(S).get(N);var q=resolveSymbol(j,k);markSymbolOfAliasDeclarationIfTypeOnly(E,j,q,false);return q}}function getPropertyOfVariable(S,E){if(S.flags&3){var k=S.valueDeclaration.type;if(k){return resolveSymbol(getPropertyOfType(getTypeFromTypeNode(k),E))}}}function getExternalModuleMember(E,k,w){var N;if(w===void 0){w=false}var j=resolveExternalModuleName(E,E.moduleSpecifier);var q=k.propertyName||k.name;var ee=q.escapedText==="default"&&!!(Ve.allowSyntheticDefaultImports||Ve.esModuleInterop);var te=resolveESModuleSymbol(j,E.moduleSpecifier,w,ee);if(te){if(q.escapedText){if(S.isShorthandAmbientModuleSymbol(j)){return j}var ne=void 0;if(j&&j.exports&&j.exports.get("export=")){ne=getPropertyOfType(getTypeOfSymbol(te),q.escapedText)}else{ne=getPropertyOfVariable(te,q.escapedText)}ne=resolveSymbol(ne,w);var ae=getExportOfModule(te,k,w);if(ae===undefined&&q.escapedText==="default"){var _e=S.find(j.declarations,S.isSourceFile);if(canHaveSyntheticDefault(_e,j,w)){ae=resolveExternalModuleSymbol(j,w)||resolveSymbol(j,w)}}var ve=ae&&ne&&ae!==ne?combineValueAndTypeSymbols(ne,ae):ae||ne;if(!ve){var Ee=getFullyQualifiedName(j,E);var Te=S.declarationNameToString(q);var Ce=getSuggestedSymbolForNonexistentModule(q,te);if(Ce!==undefined){var we=symbolToString(Ce);var Ne=error(q,S.Diagnostics.Module_0_has_no_exported_member_1_Did_you_mean_2,Ee,Te,we);if(Ce.valueDeclaration){S.addRelatedInfo(Ne,S.createDiagnosticForNode(Ce.valueDeclaration,S.Diagnostics._0_is_declared_here,we))}}else{if((N=j.exports)===null||N===void 0?void 0:N.has("default")){error(q,S.Diagnostics.Module_0_has_no_exported_member_1_Did_you_mean_to_use_import_1_from_0_instead,Ee,Te)}else{reportNonExportedMember(E,q,Te,j,Ee)}}}return ve}}}function reportNonExportedMember(E,k,N,j,q){var ee;var te=(ee=j.valueDeclaration.locals)===null||ee===void 0?void 0:ee.get(k.escapedText);var ne=j.exports;if(te){var ae=ne===null||ne===void 0?void 0:ne.get("export=");if(ae){getSymbolIfSameReference(ae,te)?reportInvalidImportEqualsExportMember(E,k,N,q):error(k,S.Diagnostics.Module_0_has_no_exported_member_1,q,N)}else{var _e=ne?S.find(symbolsToArray(ne),(function(S){return!!getSymbolIfSameReference(S,te)})):undefined;var ve=_e?error(k,S.Diagnostics.Module_0_declares_1_locally_but_it_is_exported_as_2,q,N,symbolToString(_e)):error(k,S.Diagnostics.Module_0_declares_1_locally_but_it_is_not_exported,q,N);S.addRelatedInfo.apply(void 0,w([ve],S.map(te.declarations,(function(E,k){return S.createDiagnosticForNode(E,k===0?S.Diagnostics._0_is_declared_here:S.Diagnostics.and_here,N)}))))}}else{error(k,S.Diagnostics.Module_0_has_no_exported_member_1,q,N)}}function reportInvalidImportEqualsExportMember(E,k,w,N){if(Ge>=S.ModuleKind.ES2015){var j=Ve.esModuleInterop?S.Diagnostics._0_can_only_be_imported_by_using_a_default_import:S.Diagnostics._0_can_only_be_imported_by_turning_on_the_esModuleInterop_flag_and_using_a_default_import;error(k,j,w)}else{if(S.isInJSFile(E)){var j=Ve.esModuleInterop?S.Diagnostics._0_can_only_be_imported_by_using_a_require_call_or_by_using_a_default_import:S.Diagnostics._0_can_only_be_imported_by_using_a_require_call_or_by_turning_on_the_esModuleInterop_flag_and_using_a_default_import;error(k,j,w)}else{var j=Ve.esModuleInterop?S.Diagnostics._0_can_only_be_imported_by_using_import_1_require_2_or_a_default_import:S.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(k,j,w,w,N)}}}function getTargetOfImportSpecifier(S,E){var k=getExternalModuleMember(S.parent.parent.parent,S,E);markSymbolOfAliasDeclarationIfTypeOnly(S,undefined,k,false);return k}function getTargetOfNamespaceExportDeclaration(S,E){var k=resolveExternalModuleSymbol(S.parent.symbol,E);markSymbolOfAliasDeclarationIfTypeOnly(S,undefined,k,false);return k}function getTargetOfExportSpecifier(S,E,k){var w=S.parent.parent.moduleSpecifier?getExternalModuleMember(S.parent.parent,S,k):resolveEntityName(S.propertyName||S.name,E,false,k);markSymbolOfAliasDeclarationIfTypeOnly(S,undefined,w,false);return w}function getTargetOfExportAssignment(E,k){var w=S.isExportAssignment(E)?E.expression:E.right;var N=getTargetOfAliasLikeExpression(w,k);markSymbolOfAliasDeclarationIfTypeOnly(E,undefined,N,false);return N}function getTargetOfAliasLikeExpression(E,k){if(S.isClassExpression(E)){return checkExpressionCached(E).symbol}if(!S.isEntityName(E)&&!S.isEntityNameExpression(E)){return undefined}var w=resolveEntityName(E,111551|788968|1920,true,k);if(w){return w}checkExpressionCached(E);return getNodeLinks(E).resolvedSymbol}function getTargetOfPropertyAssignment(S,E){var k=S.initializer;return getTargetOfAliasLikeExpression(k,E)}function getTargetOfPropertyAccessExpression(E,k){if(!(S.isBinaryExpression(E.parent)&&E.parent.left===E&&E.parent.operatorToken.kind===62)){return undefined}return getTargetOfAliasLikeExpression(E.parent.right,k)}function getTargetOfAliasDeclaration(E,k){if(k===void 0){k=false}switch(E.kind){case 253:return getTargetOfImportEqualsDeclaration(E,k);case 255:return getTargetOfImportClause(E,k);case 256:return getTargetOfNamespaceImport(E,k);case 262:return getTargetOfNamespaceExport(E,k);case 258:return getTargetOfImportSpecifier(E,k);case 263:return getTargetOfExportSpecifier(E,111551|788968|1920,k);case 259:case 209:return getTargetOfExportAssignment(E,k);case 252:return getTargetOfNamespaceExportDeclaration(E,k);case 282:return resolveEntityName(E.name,111551|788968|1920,true,k);case 281:return getTargetOfPropertyAssignment(E,k);case 194:return getTargetOfPropertyAccessExpression(E,k);default:return S.Debug.fail()}}function isNonLocalAlias(S,E){if(E===void 0){E=111551|788968|1920}if(!S)return false;return(S.flags&(2097152|E))===2097152||!!(S.flags&2097152&&S.flags&67108864)}function resolveSymbol(S,E){return!E&&isNonLocalAlias(S)?resolveAlias(S):S}function resolveAlias(E){S.Debug.assert((E.flags&2097152)!==0,"Should only get Alias here.");var k=getSymbolLinks(E);if(!k.target){k.target=Tt;var w=getDeclarationOfAliasSymbol(E);if(!w)return S.Debug.fail();var N=getTargetOfAliasDeclaration(w);if(k.target===Tt){k.target=N||Et}else{error(w,S.Diagnostics.Circular_definition_of_import_alias_0,symbolToString(E))}}else if(k.target===Tt){k.target=Et}return k.target}function tryResolveAlias(S){var E=getSymbolLinks(S);if(E.target!==Tt){return resolveAlias(S)}return undefined}function markSymbolOfAliasDeclarationIfTypeOnly(E,k,w,N){if(!E)return false;var j=getSymbolOfNode(E);if(S.isTypeOnlyImportOrExportDeclaration(E)){var q=getSymbolLinks(j);q.typeOnlyDeclaration=E;return true}var ee=getSymbolLinks(j);return markSymbolOfAliasDeclarationIfTypeOnlyWorker(ee,k,N)||markSymbolOfAliasDeclarationIfTypeOnlyWorker(ee,w,N)}function markSymbolOfAliasDeclarationIfTypeOnlyWorker(E,k,w){var N,j,q;if(k&&(E.typeOnlyDeclaration===undefined||w&&E.typeOnlyDeclaration===false)){var ee=(j=(N=k.exports)===null||N===void 0?void 0:N.get("export="))!==null&&j!==void 0?j:k;var te=ee.declarations&&S.find(ee.declarations,S.isTypeOnlyImportOrExportDeclaration);E.typeOnlyDeclaration=(q=te!==null&&te!==void 0?te:getSymbolLinks(ee).typeOnlyDeclaration)!==null&&q!==void 0?q:false}return!!E.typeOnlyDeclaration}function getTypeOnlyAliasDeclaration(S){if(!(S.flags&2097152)){return undefined}var E=getSymbolLinks(S);return E.typeOnlyDeclaration||undefined}function markExportAsReferenced(S){var E=getSymbolOfNode(S);var k=resolveAlias(E);if(k){var w=k===Et||k.flags&111551&&!isConstEnumOrConstEnumOnlyModule(k)&&!getTypeOnlyAliasDeclaration(E);if(w){markAliasSymbolAsReferenced(E)}}}function markAliasSymbolAsReferenced(E){var k=getSymbolLinks(E);if(!k.referenced){k.referenced=true;var w=getDeclarationOfAliasSymbol(E);if(!w)return S.Debug.fail();if(S.isInternalModuleImportEqualsDeclaration(w)){var N=resolveSymbol(E);if(N===Et||N.flags&111551){checkExpressionCached(w.moduleReference)}}}}function markConstEnumAliasAsReferenced(S){var E=getSymbolLinks(S);if(!E.constEnumReferenced){E.constEnumReferenced=true}}function getSymbolOfPartOfRightHandSideOfImportEquals(E,k){if(E.kind===75&&S.isRightSideOfQualifiedNameOrPropertyAccess(E)){E=E.parent}if(E.kind===75||E.parent.kind===153){return resolveEntityName(E,1920,false,k)}else{S.Debug.assert(E.parent.kind===253);return resolveEntityName(E,111551|788968|1920,false,k)}}function getFullyQualifiedName(S,E){return S.parent?getFullyQualifiedName(S.parent,E)+"."+symbolToString(S):symbolToString(S,E,undefined,16|4)}function resolveEntityName(E,k,w,N,j){if(S.nodeIsMissing(E)){return undefined}var q=1920|(S.isInJSFile(E)?k&111551:0);var ee;if(E.kind===75){var te=k===q||S.nodeIsSynthesized(E)?S.Diagnostics.Cannot_find_namespace_0:getCannotFindNameDiagnosticForName(S.getFirstIdentifier(E));var ne=S.isInJSFile(E)&&!S.nodeIsSynthesized(E)?resolveEntityNameFromAssignmentDeclaration(E,k):undefined;ee=getMergedSymbol(resolveName(j||E,E.escapedText,k,w||ne?undefined:te,E,true));if(!ee){return getMergedSymbol(ne)}}else if(E.kind===153||E.kind===194){var ae=E.kind===153?E.left:E.expression;var _e=E.kind===153?E.right:E.name;var ve=resolveEntityName(ae,q,w,false,j);if(!ve||S.nodeIsMissing(_e)){return undefined}else if(ve===Et){return ve}if(S.isInJSFile(E)){if(ve.valueDeclaration&&S.isVariableDeclaration(ve.valueDeclaration)&&ve.valueDeclaration.initializer&&isCommonJsRequire(ve.valueDeclaration.initializer)){var Ee=ve.valueDeclaration.initializer.arguments[0];var Te=resolveExternalModuleName(Ee,Ee);if(Te){var Ce=resolveExternalModuleSymbol(Te);if(Ce){ve=Ce}}}}ee=getMergedSymbol(getSymbol(getExportsOfSymbol(ve),_e.escapedText,k));if(!ee){if(!w){error(_e,S.Diagnostics.Namespace_0_has_no_exported_member_1,getFullyQualifiedName(ve),S.declarationNameToString(_e))}return undefined}}else{throw S.Debug.assertNever(E,"Unknown entity name kind.")}S.Debug.assert((S.getCheckFlags(ee)&1)===0,"Should never get an instantiated symbol here.");if(!S.nodeIsSynthesized(E)&&S.isEntityName(E)&&(ee.flags&2097152||E.parent.kind===259)){markSymbolOfAliasDeclarationIfTypeOnly(S.getAliasDeclarationFromName(E),ee,undefined,true)}return ee.flags&k||N?ee:resolveAlias(ee)}function resolveEntityNameFromAssignmentDeclaration(S,E){if(isJSDocTypeReference(S.parent)){var k=getAssignmentDeclarationLocation(S.parent);if(k){return resolveName(k,S.escapedText,E,undefined,S,true)}}}function getAssignmentDeclarationLocation(E){var k=S.findAncestor(E,(function(E){return!(S.isJSDocNode(E)||E.flags&4194304)?"quit":S.isJSDocTypeAlias(E)}));if(k){return}var w=S.getJSDocHost(E);if(S.isExpressionStatement(w)&&S.isBinaryExpression(w.expression)&&S.getAssignmentDeclarationKind(w.expression)===3){var N=getSymbolOfNode(w.expression.left);if(N){return getDeclarationOfJSPrototypeContainer(N)}}if((S.isObjectLiteralMethod(w)||S.isPropertyAssignment(w))&&S.isBinaryExpression(w.parent.parent)&&S.getAssignmentDeclarationKind(w.parent.parent)===6){var N=getSymbolOfNode(w.parent.parent.left);if(N){return getDeclarationOfJSPrototypeContainer(N)}}var j=S.getEffectiveJSDocHost(E);if(j&&S.isFunctionLike(j)){var N=getSymbolOfNode(j);return N&&N.valueDeclaration}}function getDeclarationOfJSPrototypeContainer(E){var k=E.parent.valueDeclaration;if(!k){return undefined}var w=S.isAssignmentDeclaration(k)?S.getAssignedExpandoInitializer(k):S.hasOnlyExpressionInitializer(k)?S.getDeclaredExpandoInitializer(k):undefined;return w||k}function getExpandoSymbol(E){var k=E.valueDeclaration;if(!k||!S.isInJSFile(k)||E.flags&524288||S.getExpandoInitializer(k,false)){return undefined}var w=S.isVariableDeclaration(k)?S.getDeclaredExpandoInitializer(k):S.getAssignedExpandoInitializer(k);if(w){var N=getSymbolOfNode(w);if(N){return mergeJSSymbols(N,E)}}}function resolveExternalModuleName(E,k,w){return resolveExternalModuleNameWorker(E,k,w?undefined:S.Diagnostics.Cannot_find_module_0_or_its_corresponding_type_declarations)}function resolveExternalModuleNameWorker(E,k,w,N){if(N===void 0){N=false}return S.isStringLiteralLike(k)?resolveExternalModule(E,k.text,w,k,N):undefined}function resolveExternalModule(E,k,w,N,j){if(j===void 0){j=false}if(S.startsWith(k,"@types/")){var ee=S.Diagnostics.Cannot_import_type_declaration_files_Consider_importing_0_instead_of_1;var te=S.removePrefix(k,"@types/");error(N,ee,te,k)}var ne=tryFindAmbientModule(k,true);if(ne){return ne}var ae=S.getSourceFileOfNode(E);var _e=S.getResolvedModule(ae,k);var ve=_e&&S.getResolutionDiagnostic(Ve,_e);var Ee=_e&&!ve&&q.getSourceFile(_e.resolvedFileName);if(Ee){if(Ee.symbol){if(_e.isExternalLibraryImport&&!S.resolutionExtensionIsTSOrJson(_e.extension)){errorOnImplicitAnyModule(false,N,_e,k)}return getMergedSymbol(Ee.symbol)}if(w){error(N,S.Diagnostics.File_0_is_not_a_module,Ee.fileName)}return undefined}if(Ir){var Te=S.findBestPatternMatch(Ir,(function(S){return S.pattern}),k);if(Te){var Ce=Fr&&Fr.get(k);if(Ce){return getMergedSymbol(Ce)}return getMergedSymbol(Te.symbol)}}if(_e&&!S.resolutionExtensionIsTSOrJson(_e.extension)&&ve===undefined||ve===S.Diagnostics.Could_not_find_a_declaration_file_for_module_0_1_implicitly_has_an_any_type){if(j){var ee=S.Diagnostics.Invalid_module_name_in_augmentation_Module_0_resolves_to_an_untyped_module_at_1_which_cannot_be_augmented;error(N,ee,k,_e.resolvedFileName)}else{errorOnImplicitAnyModule(Ze&&!!w,N,_e,k)}return undefined}if(w){if(_e){var we=q.getProjectReferenceRedirect(_e.resolvedFileName);if(we){error(N,S.Diagnostics.Output_file_0_has_not_been_built_from_source_file_1,we,_e.resolvedFileName);return undefined}}if(ve){error(N,ve,k,_e.resolvedFileName)}else{var Ne=S.tryExtractTSExtension(k);if(Ne){var ee=S.Diagnostics.An_import_path_cannot_end_with_a_0_extension_Consider_importing_1_instead;error(N,ee,Ne,S.removeExtension(k,Ne))}else if(!Ve.resolveJsonModule&&S.fileExtensionIs(k,".json")&&S.getEmitModuleResolutionKind(Ve)===S.ModuleResolutionKind.NodeJs&&S.hasJsonModuleEmitEnabled(Ve)){error(N,S.Diagnostics.Cannot_find_module_0_Consider_using_resolveJsonModule_to_import_module_with_json_extension,k)}else{error(N,w,k)}}}return undefined}function errorOnImplicitAnyModule(E,k,w,N){var j=w.packageId,q=w.resolvedFileName;var ee=!S.isExternalModuleNameRelative(N)&&j?typesPackageExists(j.name)?S.chainDiagnosticMessages(undefined,S.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,j.name,S.mangleScopedPackageName(j.name)):S.chainDiagnosticMessages(undefined,S.Diagnostics.Try_npm_install_types_Slash_1_if_it_exists_or_add_a_new_declaration_d_ts_file_containing_declare_module_0,N,S.mangleScopedPackageName(j.name)):undefined;errorOrSuggestion(E,k,S.chainDiagnosticMessages(ee,S.Diagnostics.Could_not_find_a_declaration_file_for_module_0_1_implicitly_has_an_any_type,N,q))}function typesPackageExists(E){return ae().has(S.getTypesPackageName(E))}function resolveExternalModuleSymbol(S,E){if(S===null||S===void 0?void 0:S.exports){var k=resolveSymbol(S.exports.get("export="),E);var w=getCommonJsExportEquals(getMergedSymbol(k),getMergedSymbol(S));return getMergedSymbol(w)||S}return undefined}function getCommonJsExportEquals(E,k){if(!E||E===Et||E===k||k.exports.size===1||E.flags&2097152){return E}var w=getSymbolLinks(E);if(w.cjsExportMerged){return w.cjsExportMerged}var N=E.flags&33554432?E:cloneSymbol(E);N.flags=N.flags|512;if(N.exports===undefined){N.exports=S.createSymbolTable()}k.exports.forEach((function(S,E){if(E==="export=")return;N.exports.set(E,N.exports.has(E)?mergeSymbol(N.exports.get(E),S):S)}));getSymbolLinks(N).cjsExportMerged=N;return w.cjsExportMerged=N}function resolveESModuleSymbol(E,k,w,N){var j=resolveExternalModuleSymbol(E,w);if(!w&&j){if(!N&&!(j.flags&(1536|3))&&!S.getDeclarationOfKind(j,290)){var q=Ge>=S.ModuleKind.ES2015?"allowSyntheticDefaultImports":"esModuleInterop";error(k,S.Diagnostics.This_module_can_only_be_referenced_with_ECMAScript_imports_Slashexports_by_turning_on_the_0_flag_and_referencing_its_default_export,q);return j}if(Ve.esModuleInterop){var ee=k.parent;if(S.isImportDeclaration(ee)&&S.getNamespaceDeclarationNode(ee)||S.isImportCall(ee)){var te=getTypeOfSymbol(j);var ne=getSignaturesOfStructuredType(te,0);if(!ne||!ne.length){ne=getSignaturesOfStructuredType(te,1)}if(ne&&ne.length){var ae=getTypeWithSyntheticDefaultImportType(te,j,E);var _e=createSymbol(j.flags,j.escapedName);_e.declarations=j.declarations?j.declarations.slice():[];_e.parent=j.parent;_e.target=j;_e.originatingImport=ee;if(j.valueDeclaration)_e.valueDeclaration=j.valueDeclaration;if(j.constEnumOnlyModule)_e.constEnumOnlyModule=true;if(j.members)_e.members=S.cloneMap(j.members);if(j.exports)_e.exports=S.cloneMap(j.exports);var ve=resolveStructuredTypeMembers(ae);_e.type=createAnonymousType(_e,ve.members,S.emptyArray,S.emptyArray,ve.stringIndexInfo,ve.numberIndexInfo);return _e}}}}return j}function hasExportAssignmentSymbol(S){return S.exports.get("export=")!==undefined}function getExportsOfModuleAsArray(S){return symbolsToArray(getExportsOfModule(S))}function getExportsAndPropertiesOfModule(E){var k=getExportsOfModuleAsArray(E);var w=resolveExternalModuleSymbol(E);if(w!==E){S.addRange(k,getPropertiesOfType(getTypeOfSymbol(w)))}return k}function tryGetMemberInModuleExports(S,E){var k=getExportsOfModule(E);if(k){return k.get(S)}}function tryGetMemberInModuleExportsAndProperties(E,k){var w=tryGetMemberInModuleExports(E,k);if(w){return w}var N=resolveExternalModuleSymbol(k);if(N===k){return undefined}var j=getTypeOfSymbol(N);return j.flags&131068||S.getObjectFlags(j)&1||isArrayOrTupleLikeType(j)?undefined:getPropertyOfType(j,E)}function getExportsOfSymbol(S){return S.flags&6256?getResolvedMembersOrExportsOfSymbol(S,"resolvedExports"):S.flags&1536?getExportsOfModule(S):S.exports||$e}function getExportsOfModule(S){var E=getSymbolLinks(S);return E.resolvedExports||(E.resolvedExports=getExportsOfModuleWorker(S))}function extendExportSymbols(E,k,w,N){if(!k)return;k.forEach((function(k,j){if(j==="default")return;var q=E.get(j);if(!q){E.set(j,k);if(w&&N){w.set(j,{specifierText:S.getTextOfNode(N.moduleSpecifier)})}}else if(w&&N&&q&&resolveSymbol(q)!==resolveSymbol(k)){var ee=w.get(j);if(!ee.exportsWithDuplicate){ee.exportsWithDuplicate=[N]}else{ee.exportsWithDuplicate.push(N)}}}))}function getExportsOfModuleWorker(E){var k=[];E=resolveExternalModuleSymbol(E);return visit(E)||$e;function visit(E){if(!(E&&E.exports&&S.pushIfUnique(k,E))){return}var w=S.cloneMap(E.exports);var N=E.exports.get("__export");if(N){var j=S.createSymbolTable();var q=S.createMap();for(var ee=0,te=N.declarations;ee=_e){return ae.substr(0,_e-"...".length)+"..."}return ae}function getTypeNamesForErrorDisplay(S,E){var k=symbolValueDeclarationIsContextSensitive(S.symbol)?typeToString(S,S.symbol.valueDeclaration):typeToString(S);var w=symbolValueDeclarationIsContextSensitive(E.symbol)?typeToString(E,E.symbol.valueDeclaration):typeToString(E);if(k===w){k=typeToString(S,undefined,64);w=typeToString(E,undefined,64)}return[k,w]}function symbolValueDeclarationIsContextSensitive(E){return E&&E.valueDeclaration&&S.isExpression(E.valueDeclaration)&&!isContextSensitive(E.valueDeclaration)}function toNodeBuilderFlags(S){if(S===void 0){S=0}return S&814775659}function createNodeBuilder(){return{typeToTypeNode:function(S,E,k,w){return withContext(E,k,w,(function(E){return typeToTypeNodeHelper(S,E)}))},indexInfoToIndexSignatureDeclaration:function(S,E,k,w,N){return withContext(k,w,N,(function(k){return indexInfoToIndexSignatureDeclarationHelper(S,E,k)}))},signatureToSignatureDeclaration:function(S,E,k,w,N){return withContext(k,w,N,(function(k){return signatureToSignatureDeclarationHelper(S,E,k)}))},symbolToEntityName:function(S,E,k,w,N){return withContext(k,w,N,(function(k){return symbolToName(S,k,E,false)}))},symbolToExpression:function(S,E,k,w,N){return withContext(k,w,N,(function(k){return symbolToExpression(S,k,E)}))},symbolToTypeParameterDeclarations:function(S,E,k,w){return withContext(E,k,w,(function(E){return typeParametersToTypeParameterDeclarations(S,E)}))},symbolToParameterDeclaration:function(S,E,k,w){return withContext(E,k,w,(function(E){return symbolToParameterDeclaration(S,E)}))},typeParameterToDeclaration:function(S,E,k,w){return withContext(E,k,w,(function(E){return typeParameterToDeclaration(S,E)}))},symbolTableToDeclarationStatements:function(S,E,k,w,N){return withContext(E,k,w,(function(E){return symbolTableToDeclarationStatements(S,E,N)}))}};function withContext(E,k,w,N){S.Debug.assert(E===undefined||(E.flags&8)===0);var j={enclosingDeclaration:E,flags:k||0,tracker:w&&w.trackSymbol?w:{trackSymbol:S.noop,moduleResolverHost:k&134217728?{getCommonSourceDirectory:!!q.getCommonSourceDirectory?function(){return q.getCommonSourceDirectory()}:function(){return""},getSourceFiles:function(){return q.getSourceFiles()},getCurrentDirectory:function(){return q.getCurrentDirectory()},getProbableSymlinks:S.maybeBind(q,q.getProbableSymlinks),useCaseSensitiveFileNames:S.maybeBind(q,q.useCaseSensitiveFileNames),redirectTargetsMap:q.redirectTargetsMap,getProjectReferenceRedirect:function(S){return q.getProjectReferenceRedirect(S)},isSourceOfProjectReferenceRedirect:function(S){return q.isSourceOfProjectReferenceRedirect(S)},fileExists:function(S){return q.fileExists(S)}}:undefined},encounteredError:false,visitedTypes:undefined,symbolDepth:undefined,inferTypeParameters:undefined,approximateLength:0};var ee=N(j);return j.encounteredError?undefined:ee}function checkTruncationLength(E){if(E.truncating)return E.truncating;return E.truncating=E.approximateLength>(E.flags&1?S.noTruncationMaximumTruncationLength:S.defaultMaximumTruncationLength)}function typeToTypeNodeHelper(E,k){if(_e&&_e.throwIfCancellationRequested){_e.throwIfCancellationRequested()}var w=k.flags&8388608;k.flags&=~8388608;if(!E){if(!(k.flags&262144)){k.encounteredError=true;return undefined}k.approximateLength+=3;return S.createKeywordTypeNode(125)}if(!(k.flags&536870912)){E=getReducedType(E)}if(E.flags&1){k.approximateLength+=3;return S.createKeywordTypeNode(125)}if(E.flags&2){return S.createKeywordTypeNode(148)}if(E.flags&4){k.approximateLength+=6;return S.createKeywordTypeNode(143)}if(E.flags&8){k.approximateLength+=6;return S.createKeywordTypeNode(140)}if(E.flags&64){k.approximateLength+=6;return S.createKeywordTypeNode(151)}if(E.flags&16){k.approximateLength+=7;return S.createKeywordTypeNode(128)}if(E.flags&1024&&!(E.flags&1048576)){var N=getParentOfSymbol(E.symbol);var j=symbolToTypeNode(N,k,788968);var q=getDeclaredTypeOfSymbol(N)===E?j:appendReferenceToType(j,S.createTypeReferenceNode(S.symbolName(E.symbol),undefined));return q}if(E.flags&1056){return symbolToTypeNode(E.symbol,k,788968)}if(E.flags&128){k.approximateLength+=E.value.length+2;return S.createLiteralTypeNode(S.setEmitFlags(S.createLiteral(E.value,!!(k.flags&268435456)),16777216))}if(E.flags&256){var ee=E.value;k.approximateLength+=(""+ee).length;return S.createLiteralTypeNode(ee<0?S.createPrefix(40,S.createLiteral(-ee)):S.createLiteral(ee))}if(E.flags&2048){k.approximateLength+=S.pseudoBigIntToString(E.value).length+1;return S.createLiteralTypeNode(S.createLiteral(E.value))}if(E.flags&512){k.approximateLength+=E.intrinsicName.length;return E.intrinsicName==="true"?S.createTrue():S.createFalse()}if(E.flags&8192){if(!(k.flags&1048576)){if(isValueSymbolAccessible(E.symbol,k.enclosingDeclaration)){k.approximateLength+=6;return symbolToTypeNode(E.symbol,k,111551)}if(k.tracker.reportInaccessibleUniqueSymbolError){k.tracker.reportInaccessibleUniqueSymbolError()}}k.approximateLength+=13;return S.createTypeOperatorNode(147,S.createKeywordTypeNode(144))}if(E.flags&16384){k.approximateLength+=4;return S.createKeywordTypeNode(110)}if(E.flags&32768){k.approximateLength+=9;return S.createKeywordTypeNode(146)}if(E.flags&65536){k.approximateLength+=4;return S.createKeywordTypeNode(100)}if(E.flags&131072){k.approximateLength+=5;return S.createKeywordTypeNode(137)}if(E.flags&4096){k.approximateLength+=6;return S.createKeywordTypeNode(144)}if(E.flags&67108864){k.approximateLength+=6;return S.createKeywordTypeNode(141)}if(isThisTypeParameter(E)){if(k.flags&4194304){if(!k.encounteredError&&!(k.flags&32768)){k.encounteredError=true}if(k.tracker.reportInaccessibleThisError){k.tracker.reportInaccessibleThisError()}}k.approximateLength+=4;return S.createThis()}if(!w&&E.aliasSymbol&&(k.flags&16384||isTypeSymbolAccessible(E.aliasSymbol,k.enclosingDeclaration))){var te=mapToTypeNodes(E.aliasTypeArguments,k);if(isReservedMemberName(E.aliasSymbol.escapedName)&&!(E.aliasSymbol.flags&32))return S.createTypeReferenceNode(S.createIdentifier(""),te);return symbolToTypeNode(E.aliasSymbol,k,788968,te)}var ne=S.getObjectFlags(E);if(ne&4){S.Debug.assert(!!(E.flags&524288));return E.node?visitAndTransformType(E,typeReferenceToTypeNode):typeReferenceToTypeNode(E)}if(E.flags&262144||ne&3){if(E.flags&262144&&S.contains(k.inferTypeParameters,E)){k.approximateLength+=S.symbolName(E.symbol).length+6;return S.createInferTypeNode(typeParameterToDeclarationWithConstraint(E,k,undefined))}if(k.flags&4&&E.flags&262144&&!isTypeSymbolAccessible(E.symbol,k.enclosingDeclaration)){var ae=typeParameterToName(E,k);k.approximateLength+=S.idText(ae).length;return S.createTypeReferenceNode(S.createIdentifier(S.idText(ae)),undefined)}return E.symbol?symbolToTypeNode(E.symbol,k,788968):S.createTypeReferenceNode(S.createIdentifier("?"),undefined)}if(E.flags&(1048576|2097152)){var ve=E.flags&1048576?formatUnionTypes(E.types):E.types;if(S.length(ve)===1){return typeToTypeNodeHelper(ve[0],k)}var Ee=mapToTypeNodes(ve,k,true);if(Ee&&Ee.length>0){var Te=S.createUnionOrIntersectionTypeNode(E.flags&1048576?178:179,Ee);return Te}else{if(!k.encounteredError&&!(k.flags&262144)){k.encounteredError=true}return undefined}}if(ne&(16|32)){S.Debug.assert(!!(E.flags&524288));return createAnonymousTypeNode(E)}if(E.flags&4194304){var Ce=E.type;k.approximateLength+=6;var we=typeToTypeNodeHelper(Ce,k);return S.createTypeOperatorNode(we)}if(E.flags&8388608){var Ne=typeToTypeNodeHelper(E.objectType,k);var we=typeToTypeNodeHelper(E.indexType,k);k.approximateLength+=2;return S.createIndexedAccessTypeNode(Ne,we)}if(E.flags&16777216){var Ie=typeToTypeNodeHelper(E.checkType,k);var Fe=k.inferTypeParameters;k.inferTypeParameters=E.root.inferTypeParameters;var Oe=typeToTypeNodeHelper(E.extendsType,k);k.inferTypeParameters=Fe;var Me=typeToTypeNodeOrCircularityElision(getTrueTypeFromConditionalType(E));var Re=typeToTypeNodeOrCircularityElision(getFalseTypeFromConditionalType(E));k.approximateLength+=15;return S.createConditionalTypeNode(Ie,Oe,Me,Re)}if(E.flags&33554432){return typeToTypeNodeHelper(E.baseType,k)}return S.Debug.fail("Should be unreachable.");function typeToTypeNodeOrCircularityElision(S){var E,w;if(S.flags&1048576){if(k.visitedTypes&&k.visitedTypes.has(""+getTypeId(S))){if(!(k.flags&131072)){k.encounteredError=true;(w=(E=k.tracker)===null||E===void 0?void 0:E.reportCyclicStructureError)===null||w===void 0?void 0:w.call(E)}return createElidedInformationPlaceholder(k)}return visitAndTransformType(S,(function(S){return typeToTypeNodeHelper(S,k)}))}return typeToTypeNodeHelper(S,k)}function createMappedTypeNodeFromType(E){S.Debug.assert(!!(E.flags&524288));var w=E.declaration.readonlyToken?S.createToken(E.declaration.readonlyToken.kind):undefined;var N=E.declaration.questionToken?S.createToken(E.declaration.questionToken.kind):undefined;var j;if(isMappedTypeWithKeyofConstraintDeclaration(E)){j=S.createTypeOperatorNode(typeToTypeNodeHelper(getModifiersTypeFromMappedType(E),k))}else{j=typeToTypeNodeHelper(getConstraintTypeFromMappedType(E),k)}var q=typeParameterToDeclarationWithConstraint(getTypeParameterFromMappedType(E),k,j);var ee=typeToTypeNodeHelper(getTemplateTypeFromMappedType(E),k);var te=S.createMappedTypeNode(w,q,N,ee);k.approximateLength+=10;return S.setEmitFlags(te,1)}function createAnonymousTypeNode(E){var w=""+E.id;var N=E.symbol;if(N){if(isJSConstructor(N.valueDeclaration)){var j=E===getDeclaredTypeOfClassOrInterface(N)?788968:111551;return symbolToTypeNode(N,k,j)}else if(N.flags&32&&!getBaseTypeVariableOfClass(N)&&!(N.valueDeclaration.kind===214&&k.flags&2048)||N.flags&(384|512)||shouldWriteTypeOfFunctionSymbol()){return symbolToTypeNode(N,k,111551)}else if(k.visitedTypes&&k.visitedTypes.has(w)){var q=getTypeAliasForTypeLiteral(E);if(q){return symbolToTypeNode(q,k,788968)}else{return createElidedInformationPlaceholder(k)}}else{return visitAndTransformType(E,createTypeNodeFromObjectType)}}else{return createTypeNodeFromObjectType(E)}function shouldWriteTypeOfFunctionSymbol(){var E=!!(N.flags&8192)&&S.some(N.declarations,(function(E){return S.hasModifier(E,32)}));var j=!!(N.flags&16)&&(N.parent||S.forEach(N.declarations,(function(S){return S.parent.kind===290||S.parent.kind===250})));if(E||j){return(!!(k.flags&4096)||k.visitedTypes&&k.visitedTypes.has(w))&&(!(k.flags&8)||isValueSymbolAccessible(N,k.enclosingDeclaration))}}}function visitAndTransformType(E,w){var N=""+E.id;var j=S.getObjectFlags(E)&16&&E.symbol&&E.symbol.flags&32;var q=S.getObjectFlags(E)&4&&E.node?"N"+getNodeId(E.node):E.symbol?(j?"+":"")+getSymbolId(E.symbol):undefined;if(!k.visitedTypes){k.visitedTypes=S.createMap()}if(q&&!k.symbolDepth){k.symbolDepth=S.createMap()}var ee;if(q){ee=k.symbolDepth.get(q)||0;if(ee>10){return createElidedInformationPlaceholder(k)}k.symbolDepth.set(q,ee+1)}k.visitedTypes.set(N,true);var te=w(E);k.visitedTypes.delete(N);if(q){k.symbolDepth.set(q,ee)}return te}function createTypeNodeFromObjectType(E){if(isGenericMappedType(E)){return createMappedTypeNodeFromType(E)}var w=resolveStructuredTypeMembers(E);if(!w.properties.length&&!w.stringIndexInfo&&!w.numberIndexInfo){if(!w.callSignatures.length&&!w.constructSignatures.length){k.approximateLength+=2;return S.setEmitFlags(S.createTypeLiteralNode(undefined),1)}if(w.callSignatures.length===1&&!w.constructSignatures.length){var N=w.callSignatures[0];var j=signatureToSignatureDeclarationHelper(N,170,k);return j}if(w.constructSignatures.length===1&&!w.callSignatures.length){var N=w.constructSignatures[0];var j=signatureToSignatureDeclarationHelper(N,171,k);return j}}var q=k.flags;k.flags|=4194304;var ee=createTypeNodesFromResolvedType(w);k.flags=q;var te=S.createTypeLiteralNode(ee);k.approximateLength+=2;return S.setEmitFlags(te,k.flags&1024?0:1)}function typeReferenceToTypeNode(E){var w=getTypeArguments(E);if(E.target===Br||E.target===jr){if(k.flags&2){var N=typeToTypeNodeHelper(w[0],k);return S.createTypeReferenceNode(E.target===Br?"Array":"ReadonlyArray",[N])}var j=typeToTypeNodeHelper(w[0],k);var q=S.createArrayTypeNode(j);return E.target===Br?q:S.createTypeOperatorNode(138,q)}else if(E.target.objectFlags&8){if(w.length>0){var ee=getTypeReferenceArity(E);var te=mapToTypeNodes(w.slice(0,ee),k);var ne=E.target.hasRestElement;if(te){for(var ae=E.target.minLength;ae0){var Me=(E.target.typeParameters||S.emptyArray).length;Oe=mapToTypeNodes(w.slice(ae,Me),k)}var Re=k.flags;k.flags|=16;var Le=symbolToTypeNode(E.symbol,k,788968,Oe);k.flags=Re;return!Ee?Le:appendReferenceToType(Ee,Le)}}function appendReferenceToType(E,k){if(S.isImportTypeNode(E)){var w=E.typeArguments;if(E.qualifier){(S.isIdentifier(E.qualifier)?E.qualifier:E.qualifier.right).typeArguments=w}E.typeArguments=k.typeArguments;var N=getAccessStack(k);for(var j=0,q=N;j2){return[typeToTypeNodeHelper(E[0],k),S.createTypeReferenceNode("... "+(E.length-2)+" more ...",undefined),typeToTypeNodeHelper(E[E.length-1],k)]}}var N=!(k.flags&64);var j=N?S.createUnderscoreEscapedMultiMap():undefined;var q=[];var ee=0;for(var te=0,ne=E;te0)}else{j=[E]}return j;function getSymbolChain(E,w,j){var q=getAccessibleSymbolChain(E,k.enclosingDeclaration,w,!!(k.flags&128));var ee;if(!q||needsQualification(q[0],k.enclosingDeclaration,q.length===1?w:getQualifiedLeftMeaning(w))){var te=getContainersOfSymbol(q?q[0]:E,k.enclosingDeclaration);if(S.length(te)){ee=te.map((function(E){return S.some(E.declarations,hasNonGlobalAugmentationExternalModuleSymbol)?getSpecifierForModuleSymbol(E,k):undefined}));var ne=te.map((function(S,E){return E}));ne.sort(sortByBestName);var ae=ne.map((function(S){return te[S]}));for(var _e=0,ve=ae;_e1?createAccessFromSymbolChain(j,j.length-1,1):undefined;var te=N||lookupTypeParameterNodes(j,0,k);var ne=getSpecifierForModuleSymbol(j[0],k);if(!(k.flags&67108864)&&S.getEmitModuleResolutionKind(Ve)===S.ModuleResolutionKind.NodeJs&&ne.indexOf("/node_modules/")>=0){k.encounteredError=true;if(k.tracker.reportLikelyUnsafeImportRequiredError){k.tracker.reportLikelyUnsafeImportRequiredError(ne)}}var ae=S.createLiteralTypeNode(S.createLiteral(ne));if(k.tracker.trackExternalModuleSymbolOfImportTypeNode)k.tracker.trackExternalModuleSymbolOfImportTypeNode(j[0]);k.approximateLength+=ne.length+10;if(!ee||S.isEntityName(ee)){if(ee){var _e=S.isIdentifier(ee)?ee:ee.right;_e.typeArguments=undefined}return S.createImportTypeNode(ae,ee,te,q)}else{var ve=getTopmostIndexedAccessType(ee);var Ee=ve.objectType.typeName;return S.createIndexedAccessTypeNode(S.createImportTypeNode(ae,Ee,te,q),ve.indexType)}}var Te=createAccessFromSymbolChain(j,j.length-1,0);if(S.isIndexedAccessTypeNode(Te)){return Te}if(q){return S.createTypeQueryNode(Te)}else{var _e=S.isIdentifier(Te)?Te:Te.right;var Ce=_e.typeArguments;_e.typeArguments=undefined;return S.createTypeReferenceNode(Te,Ce)}function createAccessFromSymbolChain(E,w,j){var q=w===E.length-1?N:lookupTypeParameterNodes(E,w,k);var ee=E[w];var te=E[w-1];var ne;if(w===0){k.flags|=16777216;ne=getNameOfSymbolAsWritten(ee,k);k.approximateLength+=(ne?ne.length:0)+1;k.flags^=16777216}else{if(te&&getExportsOfSymbol(te)){var ae=getExportsOfSymbol(te);S.forEachEntry(ae,(function(E,k){if(getSymbolIfSameReference(E,ee)&&!isLateBoundName(k)&&k!=="export="){ne=S.unescapeLeadingUnderscores(k);return true}}))}}if(!ne){ne=getNameOfSymbolAsWritten(ee,k)}k.approximateLength+=ne.length+1;if(!(k.flags&16)&&te&&getMembersOfSymbol(te)&&getMembersOfSymbol(te).get(ee.escapedName)&&getSymbolIfSameReference(getMembersOfSymbol(te).get(ee.escapedName),ee)){var _e=createAccessFromSymbolChain(E,w-1,j);if(S.isIndexedAccessTypeNode(_e)){return S.createIndexedAccessTypeNode(_e,S.createLiteralTypeNode(S.createLiteral(ne)))}else{return S.createIndexedAccessTypeNode(S.createTypeReferenceNode(_e,q),S.createLiteralTypeNode(S.createLiteral(ne)))}}var ve=S.setEmitFlags(S.createIdentifier(ne,q),16777216);ve.symbol=ee;if(w>j){var _e=createAccessFromSymbolChain(E,w-1,j);if(!S.isEntityName(_e)){return S.Debug.fail("Impossible construct - an export of an indexed access cannot be reachable")}return S.createQualifiedName(_e,ve)}return ve}}function typeParameterShadowsNameInScope(S,E,k){var w=resolveName(E.enclosingDeclaration,S,788968,undefined,S,false);if(w){if(w.flags&262144&&w===k.symbol){return false}return true}return false}function typeParameterToName(E,k){if(k.flags&4&&k.typeParameterNames){var w=k.typeParameterNames.get(""+getTypeId(E));if(w){return w}}var N=symbolToName(E.symbol,k,788968,true);if(!(N.kind&75)){return S.createIdentifier("(Missing type parameter)")}if(k.flags&4){var j=N.escapedText;var q=0;var ee=j;while(k.typeParameterNamesByText&&k.typeParameterNamesByText.get(ee)||typeParameterShadowsNameInScope(ee,k,E)){q++;ee=j+"_"+q}if(ee!==j){N=S.createIdentifier(ee,N.typeArguments)}(k.typeParameterNames||(k.typeParameterNames=S.createMap())).set(""+getTypeId(E),N);(k.typeParameterNamesByText||(k.typeParameterNamesByText=S.createMap())).set(N.escapedText,true)}return N}function symbolToName(E,k,w,N){var j=lookupSymbolChain(E,k,w);if(N&&j.length!==1&&!k.encounteredError&&!(k.flags&65536)){k.encounteredError=true}return createEntityNameFromSymbolChain(j,j.length-1);function createEntityNameFromSymbolChain(E,w){var N=lookupTypeParameterNodes(E,w,k);var j=E[w];if(w===0){k.flags|=16777216}var q=getNameOfSymbolAsWritten(j,k);if(w===0){k.flags^=16777216}var ee=S.setEmitFlags(S.createIdentifier(q,N),16777216);ee.symbol=j;return w>0?S.createQualifiedName(createEntityNameFromSymbolChain(E,w-1),ee):ee}}function symbolToExpression(E,k,w){var N=lookupSymbolChain(E,k,w);return createExpressionFromSymbolChain(N,N.length-1);function createExpressionFromSymbolChain(E,w){var N=lookupTypeParameterNodes(E,w,k);var j=E[w];if(w===0){k.flags|=16777216}var q=getNameOfSymbolAsWritten(j,k);if(w===0){k.flags^=16777216}var ee=q.charCodeAt(0);if(S.isSingleOrDoubleQuote(ee)&&S.some(j.declarations,hasNonGlobalAugmentationExternalModuleSymbol)){return S.createLiteral(getSpecifierForModuleSymbol(j,k))}var te=ee===35?q.length>1&&S.isIdentifierStart(q.charCodeAt(1),He):S.isIdentifierStart(ee,He);if(w===0||te){var ne=S.setEmitFlags(S.createIdentifier(q,N),16777216);ne.symbol=j;return w>0?S.createPropertyAccess(createExpressionFromSymbolChain(E,w-1),ne):ne}else{if(ee===91){q=q.substring(1,q.length-1);ee=q.charCodeAt(0)}var ae=void 0;if(S.isSingleOrDoubleQuote(ee)){ae=S.createLiteral(q.substring(1,q.length-1).replace(/\\./g,(function(S){return S.substring(1)})));ae.singleQuote=ee===39}else if(""+ +q===q){ae=S.createLiteral(+q)}if(!ae){ae=S.setEmitFlags(S.createIdentifier(q,N),16777216);ae.symbol=j}return S.createElementAccess(createExpressionFromSymbolChain(E,w-1),ae)}}}function isSingleQuotedStringNamed(E){var k=S.getNameOfDeclaration(E);if(k&&S.isStringLiteral(k)&&(k.singleQuote||!S.nodeIsSynthesized(k)&&S.startsWith(S.getTextOfNode(k,false),"'"))){return true}return false}function getPropertyNameNodeForSymbol(E,k){var w=!!S.length(E.declarations)&&S.every(E.declarations,isSingleQuotedStringNamed);var N=getPropertyNameNodeForSymbolFromNameType(E,k,w);if(N){return N}if(S.isKnownSymbol(E)){return S.createComputedPropertyName(S.createPropertyAccess(S.createIdentifier("Symbol"),E.escapedName.substr(3)))}var j=S.unescapeLeadingUnderscores(E.escapedName);return createPropertyNameNodeForIdentifierOrLiteral(j,w)}function getPropertyNameNodeForSymbolFromNameType(E,k,w){var N=getSymbolLinks(E).nameType;if(N){if(N.flags&384){var j=""+N.value;if(!S.isIdentifierText(j,Ve.target)&&!isNumericLiteralName(j)){return S.createLiteral(j,!!w)}if(isNumericLiteralName(j)&&S.startsWith(j,"-")){return S.createComputedPropertyName(S.createLiteral(+j))}return createPropertyNameNodeForIdentifierOrLiteral(j)}if(N.flags&8192){return S.createComputedPropertyName(symbolToExpression(N.symbol,k,111551))}}}function createPropertyNameNodeForIdentifierOrLiteral(E,k){return S.isIdentifierText(E,Ve.target)?S.createIdentifier(E):S.createLiteral(isNumericLiteralName(E)&&+E>=0?+E:E,!!k)}function cloneNodeBuilderContext(E){var k=N({},E);if(k.typeParameterNames){k.typeParameterNames=S.cloneMap(k.typeParameterNames)}if(k.typeParameterNamesByText){k.typeParameterNamesByText=S.cloneMap(k.typeParameterNamesByText)}if(k.typeParameterSymbolList){k.typeParameterSymbolList=S.cloneMap(k.typeParameterSymbolList)}return k}function getDeclarationWithTypeAnnotation(E,k){return E.declarations&&S.find(E.declarations,(function(E){return!!S.getEffectiveTypeAnnotationNode(E)&&(!k||!!S.findAncestor(E,(function(S){return S===k})))}))}function existingTypeNodeIsNotReferenceOrIsReferenceWithCompatibleTypeArgumentCount(E,k){return!(S.getObjectFlags(k)&4)||!S.isTypeReferenceNode(E)||S.length(E.typeArguments)>=getMinTypeArgumentCount(k.target.typeParameters)}function serializeTypeForDeclaration(E,k,w,N,j,q){if(k!==At&&N){var ee=getDeclarationWithTypeAnnotation(w,N);if(ee&&!S.isFunctionLikeDeclaration(ee)){var te=S.getEffectiveTypeAnnotationNode(ee);if(getTypeFromTypeNode(te)===k&&existingTypeNodeIsNotReferenceOrIsReferenceWithCompatibleTypeArgumentCount(te,k)){var ne=serializeExistingTypeNode(E,te,j,q);if(ne){return ne}}}}var ae=E.flags;if(k.flags&8192&&k.symbol===w){E.flags|=1048576}var _e=typeToTypeNodeHelper(k,E);E.flags=ae;return _e}function serializeReturnTypeForSignature(E,k,w,N,j){if(k!==At&&E.enclosingDeclaration){var q=w.declaration&&S.getEffectiveReturnTypeNode(w.declaration);if(!!S.findAncestor(q,(function(S){return S===E.enclosingDeclaration}))&&q&&instantiateType(getTypeFromTypeNode(q),w.mapper)===k&&existingTypeNodeIsNotReferenceOrIsReferenceWithCompatibleTypeArgumentCount(q,k)){var ee=serializeExistingTypeNode(E,q,N,j);if(ee){return ee}}}return typeToTypeNodeHelper(k,E)}function serializeExistingTypeNode(E,k,w,N){if(_e&&_e.throwIfCancellationRequested){_e.throwIfCancellationRequested()}var j=false;var ee=S.visitNode(k,visitExistingNodeTreeSymbols);if(j){return undefined}return ee===k?S.getMutableClone(k):ee;function visitExistingNodeTreeSymbols(k){var ee,te;if(S.isJSDocAllType(k)||k.kind===302){return S.createKeywordTypeNode(125)}if(S.isJSDocUnknownType(k)){return S.createKeywordTypeNode(148)}if(S.isJSDocNullableType(k)){return S.createUnionTypeNode([S.visitNode(k.type,visitExistingNodeTreeSymbols),S.createKeywordTypeNode(100)])}if(S.isJSDocOptionalType(k)){return S.createUnionTypeNode([S.visitNode(k.type,visitExistingNodeTreeSymbols),S.createKeywordTypeNode(146)])}if(S.isJSDocNonNullableType(k)){return S.visitNode(k.type,visitExistingNodeTreeSymbols)}if(S.isJSDocVariadicType(k)){return S.createArrayTypeNode(S.visitNode(k.type,visitExistingNodeTreeSymbols))}if(S.isJSDocTypeLiteral(k)){return S.createTypeLiteralNode(S.map(k.jsDocPropertyTags,(function(w){var N=S.isIdentifier(w.name)?w.name:w.name.right;var j=getTypeOfPropertyOfType(getTypeFromTypeNode(k),N.escapedText);var q=j&&w.typeExpression&&getTypeFromTypeNode(w.typeExpression.type)!==j?typeToTypeNodeHelper(j,E):undefined;return S.createPropertySignature(undefined,N,w.typeExpression&&S.isJSDocOptionalType(w.typeExpression.type)?S.createToken(57):undefined,q||w.typeExpression&&S.visitNode(w.typeExpression.type,visitExistingNodeTreeSymbols)||S.createKeywordTypeNode(125),undefined)})))}if(S.isTypeReferenceNode(k)&&S.isIdentifier(k.typeName)&&k.typeName.escapedText===""){return S.setOriginalNode(S.createKeywordTypeNode(125),k)}if((S.isExpressionWithTypeArguments(k)||S.isTypeReferenceNode(k))&&S.isJSDocIndexSignature(k)){return S.createTypeLiteralNode([S.createIndexSignature(undefined,undefined,[S.createParameter(undefined,undefined,undefined,"x",undefined,S.visitNode(k.typeArguments[0],visitExistingNodeTreeSymbols))],S.visitNode(k.typeArguments[1],visitExistingNodeTreeSymbols))])}if(S.isJSDocFunctionType(k)){if(S.isJSDocConstructSignature(k)){var ne;return S.createConstructorTypeNode(S.visitNodes(k.typeParameters,visitExistingNodeTreeSymbols),S.mapDefined(k.parameters,(function(E,k){return E.name&&S.isIdentifier(E.name)&&E.name.escapedText==="new"?(ne=E.type,undefined):S.createParameter(undefined,undefined,getEffectiveDotDotDotForParameter(E),E.name||getEffectiveDotDotDotForParameter(E)?"args":"arg"+k,E.questionToken,S.visitNode(E.type,visitExistingNodeTreeSymbols),undefined)})),S.visitNode(ne||k.type,visitExistingNodeTreeSymbols))}else{return S.createFunctionTypeNode(S.visitNodes(k.typeParameters,visitExistingNodeTreeSymbols),S.map(k.parameters,(function(E,k){return S.createParameter(undefined,undefined,getEffectiveDotDotDotForParameter(E),E.name||getEffectiveDotDotDotForParameter(E)?"args":"arg"+k,E.questionToken,S.visitNode(E.type,visitExistingNodeTreeSymbols),undefined)})),S.visitNode(k.type,visitExistingNodeTreeSymbols))}}if(S.isTypeReferenceNode(k)&&S.isInJSDoc(k)&&(getIntendedTypeFromJSDocTypeReference(k)||Et===resolveTypeReferenceName(getTypeReferenceName(k),788968,true))){return S.setOriginalNode(typeToTypeNodeHelper(getTypeFromTypeNode(k),E),k)}if(S.isLiteralImportTypeNode(k)){return S.updateImportTypeNode(k,S.updateLiteralTypeNode(k.argument,rewriteModuleSpecifier(k,k.argument.literal)),k.qualifier,S.visitNodes(k.typeArguments,visitExistingNodeTreeSymbols,S.isTypeNode),k.isTypeOf)}if(S.isEntityName(k)||S.isEntityNameExpression(k)){var ae=S.getFirstIdentifier(k);if(S.isInJSFile(k)&&(S.isExportsIdentifier(ae)||S.isModuleExportsAccessExpression(ae.parent)||S.isQualifiedName(ae.parent)&&S.isModuleIdentifier(ae.parent.left)&&S.isExportsIdentifier(ae.parent.right))){j=true;return k}var _e=resolveEntityName(ae,67108863,true,true);if(_e){if(isSymbolAccessible(_e,E.enclosingDeclaration,67108863,false).accessibility!==0){j=true}else{(te=(ee=E.tracker)===null||ee===void 0?void 0:ee.trackSymbol)===null||te===void 0?void 0:te.call(ee,_e,E.enclosingDeclaration,67108863);w===null||w===void 0?void 0:w(_e)}if(S.isIdentifier(k)){var ve=_e.flags&262144?typeParameterToName(getDeclaredTypeOfSymbol(_e),E):S.getMutableClone(k);ve.symbol=_e;return S.setEmitFlags(S.setOriginalNode(ve,k),16777216)}}}return S.visitEachChild(k,visitExistingNodeTreeSymbols,S.nullTransformationContext);function getEffectiveDotDotDotForParameter(E){return E.dotDotDotToken||(E.type&&S.isJSDocVariadicType(E.type)?S.createToken(25):undefined)}function rewriteModuleSpecifier(k,w){if(N){if(E.tracker&&E.tracker.moduleResolverHost){var j=getExternalModuleFileFromDeclaration(k);if(j){var ee=S.createGetCanonicalFileName(!!q.useCaseSensitiveFileNames);var te={getCanonicalFileName:ee,getCurrentDirectory:function(){return E.tracker.moduleResolverHost.getCurrentDirectory()},getCommonSourceDirectory:function(){return E.tracker.moduleResolverHost.getCommonSourceDirectory()}};var ne=S.getResolvedExternalModuleName(te,j);return S.createLiteral(ne)}}}else{if(E.tracker&&E.tracker.trackExternalModuleSymbolOfImportTypeNode){var ae=resolveExternalModuleNameWorker(w,w,undefined);if(ae){E.tracker.trackExternalModuleSymbolOfImportTypeNode(ae)}}}return w}}}function symbolTableToDeclarationStatements(E,k,j){var q=makeSerializePropertySymbol(S.createProperty,161,true);var ee=makeSerializePropertySymbol((function(E,k,w,N,j,q){return S.createPropertySignature(k,w,N,j,q)}),160,false);var te=k.enclosingDeclaration;var ne=[];var ae=S.createMap();var _e;var ve=k;k=N(N({},ve),{usedSymbolNames:S.createMap(),remappedSymbolNames:S.createMap(),tracker:N(N({},ve.tracker),{trackSymbol:function(S,E,w){var N=isSymbolAccessible(S,E,w,false);if(N.accessibility===0){var j=lookupSymbolChainWorker(S,k,w);if(!(S.flags&4)){includePrivateSymbol(j[0])}}else if(ve.tracker&&ve.tracker.trackSymbol){ve.tracker.trackSymbol(S,E,w)}}})});if(ve.usedSymbolNames){ve.usedSymbolNames.forEach((function(S,E){k.usedSymbolNames.set(E,true)}))}S.forEachEntry(E,(function(E,k){var w=S.unescapeLeadingUnderscores(k);void getInternalSymbolName(E,w)}));var Ee=!j;var Te=E.get("export=");if(Te&&E.size>1&&Te.flags&2097152){E=S.createSymbolTable();E.set("export=",Te)}visitSymbolTable(E);return mergeRedundantStatements(ne);function isIdentifierAndNotUndefined(S){return!!S&&S.kind===75}function getNamesOfDeclaration(E){if(S.isVariableStatement(E)){return S.filter(S.map(E.declarationList.declarations,S.getNameOfDeclaration),isIdentifierAndNotUndefined)}return S.filter([S.getNameOfDeclaration(E)],isIdentifierAndNotUndefined)}function flattenExportAssignedNamespace(E){var k=S.find(E,S.isExportAssignment);var N=S.find(E,S.isModuleDeclaration);if(N&&k&&k.isExportEquals&&S.isIdentifier(k.expression)&&S.isIdentifier(N.name)&&S.idText(N.name)===S.idText(k.expression)&&N.body&&S.isModuleBlock(N.body)){var j=S.filter(E,(function(E){return!!(S.getModifierFlags(E)&1)}));if(S.length(j)){N.body.statements=S.createNodeArray(w(N.body.statements,[S.createExportDeclaration(undefined,undefined,S.createNamedExports(S.map(S.flatMap(j,(function(S){return getNamesOfDeclaration(S)})),(function(E){return S.createExportSpecifier(undefined,E)}))),undefined)]))}if(!S.find(E,(function(E){return E!==N&&S.nodeHasName(E,N.name)}))){ne=[];S.forEach(N.body.statements,(function(S){addResult(S,0)}));E=w(S.filter(E,(function(S){return S!==N&&S!==k})),ne)}}return E}function mergeExportDeclarations(E){var k=S.filter(E,(function(E){return S.isExportDeclaration(E)&&!E.moduleSpecifier&&!!E.exportClause&&S.isNamedExports(E.exportClause)}));if(S.length(k)>1){var N=S.filter(E,(function(E){return!S.isExportDeclaration(E)||!!E.moduleSpecifier||!E.exportClause}));E=w(N,[S.createExportDeclaration(undefined,undefined,S.createNamedExports(S.flatMap(k,(function(E){return S.cast(E.exportClause,S.isNamedExports).elements}))),undefined)])}var j=S.filter(E,(function(E){return S.isExportDeclaration(E)&&!!E.moduleSpecifier&&!!E.exportClause&&S.isNamedExports(E.exportClause)}));if(S.length(j)>1){var q=S.group(j,(function(E){return S.isStringLiteral(E.moduleSpecifier)?">"+E.moduleSpecifier.text:">"}));if(q.length!==j.length){var _loop_8=function(k){if(k.length>1){E=w(S.filter(E,(function(S){return k.indexOf(S)===-1})),[S.createExportDeclaration(undefined,undefined,S.createNamedExports(S.flatMap(k,(function(E){return S.cast(E.exportClause,S.isNamedExports).elements}))),k[0].moduleSpecifier)])}};for(var ee=0,te=q;ee0&&S.isSingleOrDoubleQuote(j.charCodeAt(0))?S.stripQuotes(j):j}if(w==="default"){w="_default"}else if(w==="export="){w="_exports"}w=S.isIdentifierText(w,He)&&!S.isStringANonContextualKeyword(w)?w:"_"+w.replace(/[^a-zA-Z0-9]/g,"_");return w}function getInternalSymbolName(S,E){if(k.remappedSymbolNames.has(""+getSymbolId(S))){return k.remappedSymbolNames.get(""+getSymbolId(S))}E=getNameCandidateWorker(S,E);k.remappedSymbolNames.set(""+getSymbolId(S),E);return E}}}function typePredicateToString(E,k,w,N){if(w===void 0){w=16384}return N?typePredicateToStringWorker(N).getText():S.usingSingleLineStringWriter(typePredicateToStringWorker);function typePredicateToStringWorker(N){var j=S.createTypePredicateNodeWithModifier(E.kind===2||E.kind===3?S.createToken(124):undefined,E.kind===1||E.kind===3?S.createIdentifier(E.parameterName):S.createThisTypeNode(),E.type&&it.typeToTypeNode(E.type,k,toNodeBuilderFlags(w)|70221824|512));var q=S.createPrinter({removeComments:true});var ee=k&&S.getSourceFileOfNode(k);q.writeNode(4,j,ee,N);return N}}function formatUnionTypes(S){var E=[];var k=0;for(var w=0;w=0){var w=Nn.length;for(var N=k;N=0;k--){if(hasType(Nn[k],Fn[k])){return-1}if(Nn[k]===S&&Fn[k]===E){return k}}return-1}function hasType(E,k){switch(k){case 0:return!!getSymbolLinks(E).type;case 5:return!!getNodeLinks(E).resolvedEnumType;case 2:return!!getSymbolLinks(E).declaredType;case 1:return!!E.resolvedBaseConstructorType;case 3:return!!E.resolvedReturnType;case 4:return!!E.immediateBaseConstraint;case 6:return!!E.resolvedTypeArguments}return S.Debug.assertNever(k)}function popTypeResolution(){Nn.pop();Fn.pop();return In.pop()}function getDeclarationContainer(E){return S.findAncestor(S.getRootDeclaration(E),(function(S){switch(S.kind){case 242:case 243:case 258:case 257:case 256:case 255:return false;default:return true}})).parent}function getTypeOfPrototypeProperty(E){var k=getDeclaredTypeOfSymbol(getParentOfSymbol(E));return k.typeParameters?createTypeReference(k,S.map(k.typeParameters,(function(S){return kt}))):k}function getTypeOfPropertyOfType(S,E){var k=getPropertyOfType(S,E);return k?getTypeOfSymbol(k):undefined}function getTypeOfPropertyOrIndexSignature(S,E){return getTypeOfPropertyOfType(S,E)||isNumericLiteralName(E)&&getIndexTypeOfType(S,1)||getIndexTypeOfType(S,0)||Pt}function isTypeAny(S){return S&&(S.flags&1)!==0}function getTypeForBindingElementParent(S){var E=getSymbolOfNode(S);return E&&getSymbolLinks(E).type||getTypeForVariableLikeDeclaration(S,false)}function getRestType(E,k,w){E=filterType(E,(function(S){return!(S.flags&98304)}));if(E.flags&131072){return nr}if(E.flags&1048576){return mapType(E,(function(S){return getRestType(S,k,w)}))}var N=getUnionType(S.map(k,getLiteralTypeFromPropertyName));if(isGenericObjectType(E)||isGenericIndexType(N)){if(N.flags&131072){return E}var j=getGlobalOmitSymbol();if(!j){return At}return getTypeAliasInstantiation(j,[E,N])}var q=S.createSymbolTable();for(var ee=0,te=getPropertiesOfType(E);ee=2?createIterableType(kt):Vr}var ee=S.map(N,(function(E){return S.isOmittedExpression(E)?kt:getTypeFromBindingElement(E,k,w)}));var te=S.findLastIndex(N,(function(E){return!S.isOmittedExpression(E)&&!hasDefaultValue(E)}),N.length-(q?2:1))+1;var ne=createTupleType(ee,te,q);if(k){ne=cloneTypeReference(ne);ne.pattern=E;ne.objectFlags|=1048576}return ne}function getTypeFromBindingPattern(S,E,k){if(E===void 0){E=false}if(k===void 0){k=false}return S.kind===189?getTypeFromObjectBindingPattern(S,E,k):getTypeFromArrayBindingPattern(S,E,k)}function getWidenedTypeForVariableLikeDeclaration(S,E){return widenTypeForVariableLikeDeclaration(getTypeForVariableLikeDeclaration(S,true),S,E)}function widenTypeForVariableLikeDeclaration(E,k,w){if(E){if(w){reportErrorsFromWidening(k,E)}if(E.flags&8192&&(S.isBindingElement(k)||!k.type)&&E.symbol!==getSymbolOfNode(k)){E=qt}return getWidenedType(E)}E=S.isParameter(k)&&k.dotDotDotToken?Vr:kt;if(w){if(!declarationBelongsToPrivateAmbientMember(k)){reportImplicitAny(k,E)}}return E}function declarationBelongsToPrivateAmbientMember(E){var k=S.getRootDeclaration(E);var w=k.kind===156?k.parent:k;return isPrivateWithinAmbient(w)}function tryGetTypeFromEffectiveTypeNode(E){var k=S.getEffectiveTypeAnnotationNode(E);if(k){return getTypeFromTypeNode(k)}}function getTypeOfVariableOrParameterOrProperty(S){var E=getSymbolLinks(S);if(!E.type){var k=getTypeOfVariableOrParameterOrPropertyWorker(S);if(!E.type){E.type=k}}return E.type}function getTypeOfVariableOrParameterOrPropertyWorker(E){if(E.flags&4194304){return getTypeOfPrototypeProperty(E)}if(E===dt){return kt}if(E.flags&134217728){var k=getSymbolOfNode(S.getSourceFileOfNode(E.valueDeclaration));var w=S.createSymbolTable();w.set("exports",k);return createAnonymousType(E,w,S.emptyArray,S.emptyArray,undefined,undefined)}var N=E.valueDeclaration;if(S.isCatchClauseVariableDeclarationOrBindingElement(N)){return kt}if(S.isSourceFile(N)&&S.isJsonSourceFile(N)){if(!N.statements.length){return nr}return getWidenedType(getWidenedLiteralType(checkExpression(N.statements[0].expression)))}if(!pushTypeResolution(E,0)){if(E.flags&512&&!(E.flags&67108864)){return getTypeOfFuncClassEnumModule(E)}return reportCircularityError(E)}var j;if(N.kind===259){j=widenTypeForVariableLikeDeclaration(checkExpressionCached(N.expression),N)}else if(S.isBinaryExpression(N)||S.isInJSFile(N)&&(S.isCallExpression(N)||(S.isPropertyAccessExpression(N)||S.isBindableStaticElementAccessExpression(N))&&S.isBinaryExpression(N.parent))){j=getWidenedTypeForAssignmentDeclaration(E)}else if(S.isJSDocPropertyLikeTag(N)||S.isPropertyAccessExpression(N)||S.isElementAccessExpression(N)||S.isIdentifier(N)||S.isStringLiteralLike(N)||S.isNumericLiteral(N)||S.isClassDeclaration(N)||S.isFunctionDeclaration(N)||S.isMethodDeclaration(N)&&!S.isObjectLiteralMethod(N)||S.isMethodSignature(N)||S.isSourceFile(N)){if(E.flags&(16|8192|32|384|512)){return getTypeOfFuncClassEnumModule(E)}j=S.isBinaryExpression(N.parent)?getWidenedTypeForAssignmentDeclaration(E):tryGetTypeFromEffectiveTypeNode(N)||kt}else if(S.isPropertyAssignment(N)){j=tryGetTypeFromEffectiveTypeNode(N)||checkPropertyAssignment(N)}else if(S.isJsxAttribute(N)){j=tryGetTypeFromEffectiveTypeNode(N)||checkJsxAttribute(N)}else if(S.isShorthandPropertyAssignment(N)){j=tryGetTypeFromEffectiveTypeNode(N)||checkExpressionForMutableLocation(N.name,0)}else if(S.isObjectLiteralMethod(N)){j=tryGetTypeFromEffectiveTypeNode(N)||checkObjectLiteralMethod(N,0)}else if(S.isParameter(N)||S.isPropertyDeclaration(N)||S.isPropertySignature(N)||S.isVariableDeclaration(N)||S.isBindingElement(N)){j=getWidenedTypeForVariableLikeDeclaration(N,true)}else if(S.isEnumDeclaration(N)){j=getTypeOfFuncClassEnumModule(E)}else if(S.isEnumMember(N)){j=getTypeOfEnumMember(E)}else if(S.isAccessor(N)){j=resolveTypeOfAccessors(E)}else{return S.Debug.fail("Unhandled declaration kind! "+S.Debug.formatSyntaxKind(N.kind)+" for "+S.Debug.formatSymbol(E))}if(!popTypeResolution()){if(E.flags&512&&!(E.flags&67108864)){return getTypeOfFuncClassEnumModule(E)}return reportCircularityError(E)}return j}function getAnnotatedAccessorTypeNode(E){if(E){if(E.kind===163){var k=S.getEffectiveReturnTypeNode(E);return k}else{var w=S.getEffectiveSetAccessorTypeAnnotationNode(E);return w}}return undefined}function getAnnotatedAccessorType(S){var E=getAnnotatedAccessorTypeNode(S);return E&&getTypeFromTypeNode(E)}function getAnnotatedAccessorThisParameter(S){var E=getAccessorThisParameter(S);return E&&E.symbol}function getThisTypeOfDeclaration(S){return getThisTypeOfSignature(getSignatureFromDeclaration(S))}function getTypeOfAccessors(S){var E=getSymbolLinks(S);return E.type||(E.type=getTypeOfAccessorsWorker(S))}function getTypeOfAccessorsWorker(E){if(!pushTypeResolution(E,0)){return At}var k=resolveTypeOfAccessors(E);if(!popTypeResolution()){k=kt;if(Ze){var w=S.getDeclarationOfKind(E,163);error(w,S.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(E))}}return k}function resolveTypeOfAccessors(E){var k=S.getDeclarationOfKind(E,163);var w=S.getDeclarationOfKind(E,164);if(k&&S.isInJSFile(k)){var N=getTypeForDeclarationFromJSDocComment(k);if(N){return N}}var j=getAnnotatedAccessorType(k);if(j){return j}else{var q=getAnnotatedAccessorType(w);if(q){return q}else{if(k&&k.body){return getReturnTypeFromBody(k)}else{if(w){if(!isPrivateWithinAmbient(w)){errorOrSuggestion(Ze,w,S.Diagnostics.Property_0_implicitly_has_type_any_because_its_set_accessor_lacks_a_parameter_type_annotation,symbolToString(E))}}else{S.Debug.assert(!!k,"there must exist a getter as we are current checking either setter or getter in this function");if(!isPrivateWithinAmbient(k)){errorOrSuggestion(Ze,k,S.Diagnostics.Property_0_implicitly_has_type_any_because_its_get_accessor_lacks_a_return_type_annotation,symbolToString(E))}}return kt}}}}function getBaseTypeVariableOfClass(E){var k=getBaseConstructorTypeOfClass(getDeclaredTypeOfClassOrInterface(E));return k.flags&8650752?k:k.flags&2097152?S.find(k.types,(function(S){return!!(S.flags&8650752)})):undefined}function getTypeOfFuncClassEnumModule(E){var k=getSymbolLinks(E);var w=k;if(!k.type){var N=E.valueDeclaration&&S.getDeclarationOfExpando(E.valueDeclaration);if(N){var j=mergeJSSymbols(E,getSymbolOfNode(N));if(j){E=k=j}}w.type=k.type=getTypeOfFuncClassEnumModuleWorker(E)}return k.type}function getTypeOfFuncClassEnumModuleWorker(E){var k=E.valueDeclaration;if(E.flags&1536&&S.isShorthandAmbientModuleSymbol(E)){return kt}else if(k&&(k.kind===209||S.isAccessExpression(k)&&k.parent.kind===209)){return getWidenedTypeForAssignmentDeclaration(E)}else if(E.flags&512&&k&&S.isSourceFile(k)&&k.commonJsModuleIndicator){var w=resolveExternalModuleSymbol(E);if(w!==E){if(!pushTypeResolution(E,0)){return At}var N=getMergedSymbol(E.exports.get("export="));var j=getWidenedTypeForAssignmentDeclaration(N,N===w?undefined:w);if(!popTypeResolution()){return reportCircularityError(E)}return j}}var q=createObjectType(16,E);if(E.flags&32){var ee=getBaseTypeVariableOfClass(E);return ee?getIntersectionType([q,ee]):q}else{return Ke&&E.flags&16777216?getOptionalType(q):q}}function getTypeOfEnumMember(S){var E=getSymbolLinks(S);return E.type||(E.type=getDeclaredTypeOfEnumMember(S))}function getTypeOfAlias(S){var E=getSymbolLinks(S);if(!E.type){var k=resolveAlias(S);E.type=k.flags&111551?getTypeOfSymbol(k):At}return E.type}function getTypeOfInstantiatedSymbol(S){var E=getSymbolLinks(S);if(!E.type){if(!pushTypeResolution(S,0)){return E.type=At}var k=instantiateType(getTypeOfSymbol(E.target),E.mapper);if(!popTypeResolution()){k=reportCircularityError(S)}E.type=k}return E.type}function reportCircularityError(E){var k=E.valueDeclaration;if(S.getEffectiveTypeAnnotationNode(k)){error(E.valueDeclaration,S.Diagnostics._0_is_referenced_directly_or_indirectly_in_its_own_type_annotation,symbolToString(E));return At}if(Ze&&(k.kind!==156||k.initializer)){error(E.valueDeclaration,S.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(E))}return kt}function getTypeOfSymbolWithDeferredType(E){var k=getSymbolLinks(E);if(!k.type){S.Debug.assertIsDefined(k.deferralParent);S.Debug.assertIsDefined(k.deferralConstituents);k.type=k.deferralParent.flags&1048576?getUnionType(k.deferralConstituents):getIntersectionType(k.deferralConstituents)}return k.type}function getTypeOfSymbol(E){var k=S.getCheckFlags(E);if(k&65536){return getTypeOfSymbolWithDeferredType(E)}if(k&1){return getTypeOfInstantiatedSymbol(E)}if(k&262144){return getTypeOfMappedSymbol(E)}if(k&8192){return getTypeOfReverseMappedSymbol(E)}if(E.flags&(3|4)){return getTypeOfVariableOrParameterOrProperty(E)}if(E.flags&(16|8192|32|384|512)){return getTypeOfFuncClassEnumModule(E)}if(E.flags&8){return getTypeOfEnumMember(E)}if(E.flags&98304){return getTypeOfAccessors(E)}if(E.flags&2097152){return getTypeOfAlias(E)}return At}function isReferenceToType(E,k){return E!==undefined&&k!==undefined&&(S.getObjectFlags(E)&4)!==0&&E.target===k}function getTargetType(E){return S.getObjectFlags(E)&4?E.target:E}function hasBaseType(E,k){return check(E);function check(E){if(S.getObjectFlags(E)&(3|4)){var w=getTargetType(E);return w===k||S.some(getBaseTypes(w),check)}else if(E.flags&2097152){return S.some(E.types,check)}return false}}function appendTypeParameters(E,k){for(var w=0,N=k;w0){return true}if(S.flags&8650752){var E=getBaseConstraintOfType(S);return!!E&&isMixinConstructorType(E)}return false}function getBaseTypeNodeOfClass(E){return S.getEffectiveBaseTypeNode(E.symbol.valueDeclaration)}function getConstructorsForTypeArguments(E,k,w){var N=S.length(k);var j=S.isInJSFile(w);return S.filter(getSignaturesOfType(E,1),(function(E){return(j||N>=getMinTypeArgumentCount(E.typeParameters))&&N<=S.length(E.typeParameters)}))}function getInstantiatedConstructorsForTypeArguments(E,k,w){var N=getConstructorsForTypeArguments(E,k,w);var j=S.map(k,getTypeFromTypeNode);return S.sameMap(N,(function(E){return S.some(E.typeParameters)?getSignatureInstantiation(E,j,S.isInJSFile(w)):E}))}function getBaseConstructorTypeOfClass(E){if(!E.resolvedBaseConstructorType){var k=E.symbol.valueDeclaration;var w=S.getEffectiveBaseTypeNode(k);var N=getBaseTypeNodeOfClass(E);if(!N){return E.resolvedBaseConstructorType=Nt}if(!pushTypeResolution(E,1)){return At}var j=checkExpression(N.expression);if(w&&N!==w){S.Debug.assert(!w.typeArguments);checkExpression(w.expression)}if(j.flags&(524288|2097152)){resolveStructuredTypeMembers(j)}if(!popTypeResolution()){error(E.symbol.valueDeclaration,S.Diagnostics._0_is_referenced_directly_or_indirectly_in_its_own_base_expression,symbolToString(E.symbol));return E.resolvedBaseConstructorType=At}if(!(j.flags&1)&&j!==Mt&&!isConstructorType(j)){var q=error(N.expression,S.Diagnostics.Type_0_is_not_a_constructor_function_type,typeToString(j));if(j.flags&262144){var ee=getConstraintFromTypeParameter(j);var te=Pt;if(ee){var ne=getSignaturesOfType(ee,1);if(ne[0]){te=getReturnTypeOfSignature(ne[0])}}S.addRelatedInfo(q,S.createDiagnosticForNode(j.symbol.declarations[0],S.Diagnostics.Did_you_mean_for_0_to_be_constrained_to_type_new_args_Colon_any_1,symbolToString(j.symbol),typeToString(te)))}return E.resolvedBaseConstructorType=At}E.resolvedBaseConstructorType=j}return E.resolvedBaseConstructorType}function getImplementsTypes(E){var k=S.emptyArray;for(var w=0,N=E.symbol.declarations;w=q?16384:0;var te=createSymbol(1,N,j);te.type=w===ee?createArrayType(S):S;return te}));return S.concatenate(E.parameters.slice(0,k),te)}}return E.parameters}function getDefaultConstructSignatures(E){var k=getBaseConstructorTypeOfClass(E);var w=getSignaturesOfType(k,1);if(w.length===0){return[createSignature(undefined,E.localTypeParameters,undefined,S.emptyArray,E,undefined,0,0)]}var N=getBaseTypeNodeOfClass(E);var j=S.isInJSFile(N);var q=typeArgumentsFromTypeReferenceNode(N);var ee=S.length(q);var te=[];for(var ne=0,ae=w;ne=ve&&ee<=Ee){var Te=Ee?createSignatureInstantiation(_e,fillMissingTypeArguments(q,_e.typeParameters,ve,j)):cloneSignature(_e);Te.typeParameters=E.localTypeParameters;Te.resolvedReturnType=E;te.push(Te)}}return te}function findMatchingSignature(S,E,k,w,N){for(var j=0,q=S;j0){return undefined}for(var N=1;N1){w=w===undefined?N:-1}for(var j=0,q=E[N];j1){var ae=ee.thisParameter;var _e=S.forEach(te,(function(S){return S.thisParameter}));if(_e){var ve=getIntersectionType(S.mapDefined(te,(function(S){return S.thisParameter&&getTypeOfSymbol(S.thisParameter)})));ae=createSymbolWithType(_e,ve)}ne=createUnionSignature(ee,te);ne.thisParameter=ae}(k||(k=[])).push(ne)}}}}if(!S.length(k)&&w!==-1){var Ee=E[w!==undefined?w:0];var Te=Ee.slice();var _loop_9=function(E){if(E!==Ee){var k=E[0];S.Debug.assert(!!k,"getUnionSignatures bails early on empty signature lists and should not have empty lists on second pass");Te=k.typeParameters&&S.some(Te,(function(S){return!!S.typeParameters}))?undefined:S.map(Te,(function(S){return combineSignaturesOfUnionMembers(S,k)}));if(!Te){return"break"}}};for(var Ce=0,we=E;Ce=w?S:E;var j=N===S?E:S;var q=N===S?k:w;var ee=hasEffectiveRestParameter(S)||hasEffectiveRestParameter(E);var te=ee&&!hasEffectiveRestParameter(N);var ne=new Array(q+(te?1:0));for(var ae=0;ae=getMinArgumentCount(N)&&ae>=getMinArgumentCount(j);var we=ae>=k?undefined:getParameterNameAtPosition(S,ae);var Ne=ae>=w?undefined:getParameterNameAtPosition(E,ae);var Ie=we===Ne?we:!we?Ne:!Ne?we:undefined;var Fe=createSymbol(1|(Ce&&!Te?16777216:0),Ie||"arg"+ae);Fe.type=Te?createArrayType(Ee):Ee;ne[ae]=Fe}if(te){var Oe=createSymbol(1,"args");Oe.type=createArrayType(getTypeAtPosition(j,q));ne[q]=Oe}return ne}function combineSignaturesOfUnionMembers(E,k){var w=E.declaration;var N=combineUnionParameters(E,k);var j=combineUnionThisParam(E.thisParameter,k.thisParameter);var q=Math.max(E.minArgumentCount,k.minArgumentCount);var ee=createSignature(w,E.typeParameters||k.typeParameters,j,N,undefined,undefined,q,(E.flags|k.flags)&3);ee.unionSignatures=S.concatenate(E.unionSignatures||[E],[k]);return ee}function getUnionIndexInfo(S,E){var k=[];var w=false;for(var N=0,j=S;N0}));var w=S.map(E,isMixinConstructorType);if(k>0&&k===S.countWhere(w,(function(S){return S}))){var N=w.indexOf(true);w[N]=false}return w}function includeMixinType(S,E,k,w){var N=[];for(var j=0;j0){_e=S.map(_e,(function(S){var E=cloneSignature(S);E.resolvedReturnType=includeMixinType(getReturnTypeOfSignature(S),q,ee,ne);return E}))}w=appendSignatures(w,_e)}k=appendSignatures(k,getSignaturesOfType(ae,0));N=intersectIndexInfos(N,getIndexInfoOfType(ae,0));j=intersectIndexInfos(j,getIndexInfoOfType(ae,1))};for(var ne=0;ne=50){error(Ue,S.Diagnostics.Type_instantiation_is_excessively_deep_and_possibly_infinite);k=true;return E.immediateBaseConstraint=ur}ze++;var w=computeBaseConstraint(getSimplifiedType(E,false));ze--;if(!popTypeResolution()){if(E.flags&262144){var N=getConstraintDeclaration(E);if(N){var j=error(N,S.Diagnostics.Type_parameter_0_has_a_circular_constraint,typeToString(E));if(Ue&&!S.isNodeDescendantOf(N,Ue)&&!S.isNodeDescendantOf(Ue,N)){S.addRelatedInfo(j,S.createDiagnosticForNode(Ue,S.Diagnostics.Circularity_originates_in_type_at_this_location))}}}w=dr}if(k){w=dr}E.immediateBaseConstraint=w||ur}return E.immediateBaseConstraint}function getBaseConstraint(S){var E=getImmediateBaseConstraint(S);return E!==ur&&E!==dr?E:undefined}function computeBaseConstraint(S){if(S.flags&262144){var E=getConstraintFromTypeParameter(S);return S.isThisType||!E?E:getBaseConstraint(E)}if(S.flags&3145728){var k=S.types;var w=[];for(var N=0,j=k;N=7):k.flags&528?Wr:k.flags&12288?getGlobalESSymbolType(He>=2):k.flags&67108864?nr:k.flags&4194304?Zt:k.flags&2&&!Ke?nr:k}function getReducedApparentType(S){return getReducedType(getApparentType(getReducedType(S)))}function createUnionOrIntersectionProperty(E,k){var w;var N;var j;var q=E.flags&1048576;var ee=q?0:16777216;var te=4;var ne=0;for(var ae=0,_e=E.types;ae<_e.length;ae++){var ve=_e[ae];var Ee=getApparentType(ve);if(!(Ee===At||Ee.flags&131072)){var Te=getPropertyOfType(Ee,k);var Ce=Te?S.getDeclarationModifierFlagsFromSymbol(Te):0;if(Te){if(q){ee|=Te.flags&16777216}else{ee&=Te.flags}if(!w){w=Te}else if(Te!==w){if(!N){N=S.createMap();N.set(""+getSymbolId(w),w)}var we=""+getSymbolId(Te);if(!N.has(we)){N.set(we,Te)}}ne|=(isReadonlySymbol(Te)?8:0)|(!(Ce&24)?256:0)|(Ce&16?512:0)|(Ce&8?1024:0)|(Ce&32?2048:0);if(!isPrototypeProperty(Te)){te=2}}else if(q){var Ne=!isLateBoundName(k)&&(isNumericLiteralName(k)&&getIndexInfoOfType(Ee,1)||getIndexInfoOfType(Ee,0));if(Ne){ne|=32|(Ne.isReadonly?8:0);j=S.append(j,isTupleType(Ee)?getRestTypeOfTupleType(Ee)||Nt:Ne.type)}else if(isObjectLiteralType(Ee)){ne|=32;j=S.append(j,Nt)}else{ne|=16}}}}if(!w||q&&(N||ne&48)&&ne&(1024|512)){return undefined}if(!N&&!(ne&16)&&!j){return w}var Ie=N?S.arrayFrom(N.values()):[w];var Fe;var Oe;var Me;var Re=[];var Le;var Be=false;for(var je=0,ze=Ie;je2){Ue.checkFlags|=65536;Ue.deferralParent=E;Ue.deferralConstituents=Re}else{Ue.type=q?getUnionType(Re):getIntersectionType(Re)}return Ue}function getUnionOrIntersectionProperty(E,k){var w=E.propertyCache||(E.propertyCache=S.createSymbolTable());var N=w.get(k);if(!N){N=createUnionOrIntersectionProperty(E,k);if(N){w.set(k,N)}}return N}function getPropertyOfUnionOrIntersectionType(E,k){var w=getUnionOrIntersectionProperty(E,k);return w&&!(S.getCheckFlags(w)&16)?w:undefined}function getReducedType(E){if(E.flags&1048576&&E.objectFlags&268435456){return E.resolvedReducedType||(E.resolvedReducedType=getReducedUnionType(E))}else if(E.flags&2097152){if(!(E.objectFlags&268435456)){E.objectFlags|=268435456|(S.some(getPropertiesOfUnionOrIntersectionType(E),isNeverReducedProperty)?536870912:0)}return E.objectFlags&536870912?Ht:E}return E}function getReducedUnionType(E){var k=S.sameMap(E.types,getReducedType);if(k===E.types){return E}var w=getUnionType(k);if(w.flags&1048576){w.resolvedReducedType=w}return w}function isNeverReducedProperty(S){return isDiscriminantWithNeverType(S)||isConflictingPrivateProperty(S)}function isDiscriminantWithNeverType(E){return!(E.flags&16777216)&&(S.getCheckFlags(E)&(192|131072))===192&&!!(getTypeOfSymbol(E).flags&131072)}function isConflictingPrivateProperty(E){return!E.valueDeclaration&&!!(S.getCheckFlags(E)&1024)}function elaborateNeverIntersection(E,k){if(S.getObjectFlags(k)&536870912){var w=S.find(getPropertiesOfUnionOrIntersectionType(k),isDiscriminantWithNeverType);if(w){return S.chainDiagnosticMessages(E,S.Diagnostics.The_intersection_0_was_reduced_to_never_because_property_1_has_conflicting_types_in_some_constituents,typeToString(k,undefined,536870912),symbolToString(w))}var N=S.find(getPropertiesOfUnionOrIntersectionType(k),isConflictingPrivateProperty);if(N){return S.chainDiagnosticMessages(E,S.Diagnostics.The_intersection_0_was_reduced_to_never_because_property_1_exists_in_multiple_constituents_and_is_private_in_some,typeToString(k,undefined,536870912),symbolToString(N))}}return E}function getPropertyOfType(S,E){S=getReducedApparentType(S);if(S.flags&524288){var k=resolveStructuredTypeMembers(S);var w=k.members.get(E);if(w&&symbolIsValue(w)){return w}var N=k===lr?Mr:k.callSignatures.length?Rr:k.constructSignatures.length?Lr:undefined;if(N){var j=getPropertyOfObjectType(N,E);if(j){return j}}return getPropertyOfObjectType(Or,E)}if(S.flags&3145728){return getPropertyOfUnionOrIntersectionType(S,E)}return undefined}function getSignaturesOfStructuredType(E,k){if(E.flags&3670016){var w=resolveStructuredTypeMembers(E);return k===0?w.callSignatures:w.constructSignatures}return S.emptyArray}function getSignaturesOfType(S,E){return getSignaturesOfStructuredType(getReducedApparentType(S),E)}function getIndexInfoOfStructuredType(S,E){if(S.flags&3670016){var k=resolveStructuredTypeMembers(S);return E===0?k.stringIndexInfo:k.numberIndexInfo}}function getIndexTypeOfStructuredType(S,E){var k=getIndexInfoOfStructuredType(S,E);return k&&k.type}function getIndexInfoOfType(S,E){return getIndexInfoOfStructuredType(getReducedApparentType(S),E)}function getIndexTypeOfType(S,E){return getIndexTypeOfStructuredType(getReducedApparentType(S),E)}function getImplicitIndexTypeOfType(E,k){if(isObjectTypeWithInferableIndex(E)){var w=[];for(var N=0,j=getPropertiesOfType(E);N=0);return w>=getMinArgumentCount(k,true)}var N=S.getImmediatelyInvokedFunctionExpression(E.parent);if(N){return!E.type&&!E.dotDotDotToken&&E.parent.parameters.indexOf(E)>=N.arguments.length}return false}function isOptionalJSDocParameterTag(E){if(!S.isJSDocParameterTag(E)){return false}var k=E.isBracketed,w=E.typeExpression;return k||!!w&&w.type.kind===299}function createTypePredicate(S,E,k,w){return{kind:S,parameterName:E,parameterIndex:k,type:w}}function getMinTypeArgumentCount(S){var E=0;if(S){for(var k=0;k=w&&q<=j){var ee=E?E.slice():[];for(var te=q;tete.arguments.length&&!Te||isJSDocOptionalParameter(ve);if(!we){j=w.length}}if((E.kind===163||E.kind===164)&&!hasNonBindableDynamicName(E)&&(!ee||!q)){var Ne=E.kind===163?164:163;var Ie=S.getDeclarationOfKind(getSymbolOfNode(E),Ne);if(Ie){q=getAnnotatedAccessorThisParameter(Ie)}}var Fe=E.kind===162?getDeclaredTypeOfClassOrInterface(getMergedSymbol(E.parent.symbol)):undefined;var Oe=Fe?Fe.localTypeParameters:getTypeParametersFromDeclaration(E);if(S.hasRestParameter(E)||S.isInJSFile(E)&&maybeAddJsSyntheticRestParameter(E,w)){N|=1}k.resolvedSignature=createSignature(E,Oe,q,w,undefined,undefined,j,N)}return k.resolvedSignature}function maybeAddJsSyntheticRestParameter(E,k){if(S.isJSDocSignature(E)||!containsArgumentsReference(E)){return false}var w=S.lastOrUndefined(E.parameters);var N=w?S.getJSDocParameterTags(w):S.getJSDocTags(E).filter(S.isJSDocParameterTag);var j=S.firstDefined(N,(function(E){return E.typeExpression&&S.isJSDocVariadicType(E.typeExpression.type)?E.typeExpression.type:undefined}));var q=createSymbol(3,"args",32768);q.type=j?createArrayType(getTypeFromTypeNode(j.type)):Vr;if(j){k.pop()}k.push(q);return true}function getSignatureOfTypeTag(E){if(!(S.isInJSFile(E)&&S.isFunctionLikeDeclaration(E)))return undefined;var k=S.getJSDocTypeTag(E);var w=k&&k.typeExpression&&getSingleCallSignature(getTypeFromTypeNode(k.typeExpression));return w&&getErasedSignature(w)}function getReturnTypeOfTypeTag(S){var E=getSignatureOfTypeTag(S);return E&&getReturnTypeOfSignature(E)}function containsArgumentsReference(E){var k=getNodeLinks(E);if(k.containsArgumentsReference===undefined){if(k.flags&8192){k.containsArgumentsReference=true}else{k.containsArgumentsReference=traverse(E.body)}}return k.containsArgumentsReference;function traverse(E){if(!E)return false;switch(E.kind){case 75:return E.escapedText==="arguments"&&S.isExpressionNode(E);case 159:case 161:case 163:case 164:return E.name.kind===154&&traverse(E.name);default:return!S.nodeStartsNewLexicalEnvironment(E)&&!S.isPartOfTypeNode(E)&&!!S.forEachChild(E,traverse)}}}function getSignaturesOfSymbol(E){if(!E)return S.emptyArray;var k=[];for(var w=0;w0&&N.body){var j=E.declarations[w-1];if(N.parent===j.parent&&N.kind===j.kind&&N.pos===j.end){continue}}k.push(getSignatureFromDeclaration(N))}return k}function resolveExternalModuleTypeByLiteral(S){var E=resolveExternalModuleName(S,S);if(E){var k=resolveExternalModuleSymbol(E);if(k){return getTypeOfSymbol(k)}}return kt}function getThisTypeOfSignature(S){if(S.thisParameter){return getTypeOfSymbol(S.thisParameter)}}function getTypePredicateOfSignature(E){if(!E.resolvedTypePredicate){if(E.target){var k=getTypePredicateOfSignature(E.target);E.resolvedTypePredicate=k?instantiateTypePredicate(k,E.mapper):hr}else if(E.unionSignatures){E.resolvedTypePredicate=getUnionTypePredicate(E.unionSignatures)||hr}else{var w=E.declaration&&S.getEffectiveReturnTypeNode(E.declaration);var N=void 0;if(!w&&S.isInJSFile(E.declaration)){var j=getSignatureOfTypeTag(E.declaration);if(j&&E!==j){N=getTypePredicateOfSignature(j)}}E.resolvedTypePredicate=w&&S.isTypePredicateNode(w)?createTypePredicateFromTypePredicateNode(w,E):N||hr}S.Debug.assert(!!E.resolvedTypePredicate)}return E.resolvedTypePredicate===hr?undefined:E.resolvedTypePredicate}function createTypePredicateFromTypePredicateNode(E,k){var w=E.parameterName;var N=E.type&&getTypeFromTypeNode(E.type);return w.kind===183?createTypePredicate(E.assertsModifier?2:0,undefined,undefined,N):createTypePredicate(E.assertsModifier?3:1,w.escapedText,S.findIndex(k.parameters,(function(S){return S.escapedName===w.escapedText})),N)}function getReturnTypeOfSignature(E){if(!E.resolvedReturnType){if(!pushTypeResolution(E,3)){return At}var k=E.target?instantiateType(getReturnTypeOfSignature(E.target),E.mapper):E.unionSignatures?getUnionType(S.map(E.unionSignatures,getReturnTypeOfSignature),2):getReturnTypeFromAnnotation(E.declaration)||(S.nodeIsMissing(E.declaration.body)?kt:getReturnTypeFromBody(E.declaration));if(E.flags&4){k=addOptionalTypeMarker(k)}else if(E.flags&8){k=getOptionalType(k)}if(!popTypeResolution()){if(E.declaration){var w=S.getEffectiveReturnTypeNode(E.declaration);if(w){error(w,S.Diagnostics.Return_type_annotation_circularly_references_itself)}else if(Ze){var N=E.declaration;var j=S.getNameOfDeclaration(N);if(j){error(j,S.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,S.declarationNameToString(j))}else{error(N,S.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)}}}k=kt}E.resolvedReturnType=k}return E.resolvedReturnType}function getReturnTypeFromAnnotation(E){if(E.kind===162){return getDeclaredTypeOfClassOrInterface(getMergedSymbol(E.parent.symbol))}if(S.isJSDocConstructSignature(E)){return getTypeFromTypeNode(E.parameters[0].type)}var k=S.getEffectiveReturnTypeNode(E);if(k){return getTypeFromTypeNode(k)}if(E.kind===163&&!hasNonBindableDynamicName(E)){var w=S.isInJSFile(E)&&getTypeForDeclarationFromJSDocComment(E);if(w){return w}var N=S.getDeclarationOfKind(getSymbolOfNode(E),164);var j=getAnnotatedAccessorType(N);if(j){return j}}return getReturnTypeOfTypeTag(E)}function isResolvingReturnTypeOfSignature(S){return!S.resolvedReturnType&&findResolutionCycleStartIndex(S,3)>=0}function getRestTypeOfSignature(S){return tryGetRestTypeOfSignature(S)||kt}function tryGetRestTypeOfSignature(S){if(signatureHasRestParameter(S)){var E=getTypeOfSymbol(S.parameters[S.parameters.length-1]);var k=isTupleType(E)?getRestTypeOfTupleType(E):E;return k&&getIndexTypeOfType(k,1)}return undefined}function getSignatureInstantiation(S,E,k,w){var N=getSignatureInstantiationWithoutFillingInTypeArguments(S,fillMissingTypeArguments(E,S.typeParameters,getMinTypeArgumentCount(S.typeParameters),k));if(w){var j=getSingleCallOrConstructSignature(getReturnTypeOfSignature(N));if(j){var q=cloneSignature(j);q.typeParameters=w;var ee=cloneSignature(N);ee.resolvedReturnType=getOrCreateTypeFromSignature(q);return ee}}return N}function getSignatureInstantiationWithoutFillingInTypeArguments(E,k){var w=E.instantiations||(E.instantiations=S.createMap());var N=getTypeListId(k);var j=w.get(N);if(!j){w.set(N,j=createSignatureInstantiation(E,k))}return j}function createSignatureInstantiation(S,E){return instantiateSignature(S,createSignatureTypeMapper(S,E),true)}function createSignatureTypeMapper(S,E){return createTypeMapper(S.typeParameters,E)}function getErasedSignature(S){return S.typeParameters?S.erasedSignatureCache||(S.erasedSignatureCache=createErasedSignature(S)):S}function createErasedSignature(S){return instantiateSignature(S,createTypeEraser(S.typeParameters),true)}function getCanonicalSignature(S){return S.typeParameters?S.canonicalSignatureCache||(S.canonicalSignatureCache=createCanonicalSignature(S)):S}function createCanonicalSignature(E){return getSignatureInstantiation(E,S.map(E.typeParameters,(function(S){return S.target&&!getConstraintOfTypeParameter(S.target)?S.target:S})),S.isInJSFile(E.declaration))}function getBaseSignature(E){var k=E.typeParameters;if(k){var w=createTypeEraser(k);var N=S.map(k,(function(S){return instantiateType(getBaseConstraintOfType(S),w)||Pt}));return instantiateSignature(E,createTypeMapper(k,N),true)}return E}function getOrCreateTypeFromSignature(E){if(!E.isolatedSignatureType){var k=E.declaration?E.declaration.kind:0;var w=k===162||k===166||k===171;var N=createObjectType(16);N.members=$e;N.properties=S.emptyArray;N.callSignatures=!w?[E]:S.emptyArray;N.constructSignatures=w?[E]:S.emptyArray;E.isolatedSignatureType=N}return E.isolatedSignatureType}function getIndexSymbol(S){return S.members.get("__index")}function getIndexDeclarationOfSymbol(E,k){var w=k===1?140:143;var N=getIndexSymbol(E);if(N){for(var j=0,q=N.declarations;j1){E+=":"+j}w+=j}}return E}function getPropagatingFlagsOfTypes(E,k){var w=0;for(var N=0,j=E;NN.length)){var ne=ee&&S.isExpressionWithTypeArguments(E)&&!S.isJSDocAugmentsTag(E.parent);var ae=q===N.length?ne?S.Diagnostics.Expected_0_type_arguments_provide_these_with_an_extends_tag:S.Diagnostics.Generic_type_0_requires_1_type_argument_s:ne?S.Diagnostics.Expected_0_1_type_arguments_provide_these_with_an_extends_tag:S.Diagnostics.Generic_type_0_requires_between_1_and_2_type_arguments;var _e=typeToString(w,undefined,2);error(E,ae,_e,q,N.length);if(!ee){return At}}if(E.kind===169&&isDeferredTypeReferenceNode(E,S.length(E.typeArguments)!==N.length)){return createDeferredTypeReference(w,E,undefined)}var ve=S.concatenate(w.outerTypeParameters,fillMissingTypeArguments(typeArgumentsFromTypeReferenceNode(E),N,q,ee));return createTypeReference(w,ve)}return checkNoTypeArguments(E,k)?w:At}function getTypeAliasInstantiation(E,k){var w=getDeclaredTypeOfSymbol(E);var N=getSymbolLinks(E);var j=N.typeParameters;var q=getTypeListId(k);var ee=N.instantiations.get(q);if(!ee){N.instantiations.set(q,ee=instantiateType(w,createTypeMapper(j,fillMissingTypeArguments(k,j,getMinTypeArgumentCount(j),S.isInJSFile(E.valueDeclaration)))))}return ee}function getTypeFromTypeAliasReference(E,k){var w=getDeclaredTypeOfSymbol(k);var N=getSymbolLinks(k).typeParameters;if(N){var j=S.length(E.typeArguments);var q=getMinTypeArgumentCount(N);if(jN.length){error(E,q===N.length?S.Diagnostics.Generic_type_0_requires_1_type_argument_s:S.Diagnostics.Generic_type_0_requires_between_1_and_2_type_arguments,symbolToString(k),q,N.length);return At}return getTypeAliasInstantiation(k,typeArgumentsFromTypeReferenceNode(E))}return checkNoTypeArguments(E,k)?w:At}function getTypeReferenceName(E){switch(E.kind){case 169:return E.typeName;case 216:var k=E.expression;if(S.isEntityNameExpression(k)){return k}}return undefined}function resolveTypeReferenceName(S,E,k){if(!S){return Et}return resolveEntityName(S,E,k)||Et}function getTypeReferenceType(S,E){if(E===Et){return At}E=getExpandoSymbol(E)||E;if(E.flags&(32|64)){return getTypeFromClassOrInterfaceReference(S,E)}if(E.flags&524288){return getTypeFromTypeAliasReference(S,E)}var k=tryGetDeclaredTypeOfSymbol(E);if(k){return checkNoTypeArguments(S,E)?getRegularTypeOfLiteralType(k):At}if(E.flags&111551&&isJSDocTypeReference(S)){var w=getTypeFromJSDocValueReference(S,E);if(w){return w}else{resolveTypeReferenceName(getTypeReferenceName(S),788968);return getTypeOfSymbol(E)}}return At}function getTypeFromJSDocValueReference(E,k){var w=getNodeLinks(E);if(!w.resolvedJSDocType){var N=getTypeOfSymbol(k);var j=N;if(k.valueDeclaration){var q=S.getRootDeclaration(k.valueDeclaration);var ee=false;if(S.isVariableDeclaration(q)&&q.initializer){var te=q.initializer;while(S.isPropertyAccessExpression(te)){te=te.expression}ee=S.isCallExpression(te)&&S.isRequireCall(te,true)&&!!N.symbol}var ne=E.kind===188&&E.qualifier;if(N.symbol&&(ee||ne)){j=getTypeReferenceType(E,N.symbol)}}w.resolvedJSDocType=j}return w.resolvedJSDocType}function getSubstitutionType(S,E){if(E.flags&3||E===S){return S}var k=getTypeId(S)+">"+getTypeId(E);var w=bt.get(k);if(w){return w}var N=createType(33554432);N.baseType=S;N.substitute=E;bt.set(k,N);return N}function isUnaryTupleTypeNode(S){return S.kind===175&&S.elementTypes.length===1}function getImpliedConstraint(S,E,k){return isUnaryTupleTypeNode(E)&&isUnaryTupleTypeNode(k)?getImpliedConstraint(S,E.elementTypes[0],k.elementTypes[0]):getActualTypeVariable(getTypeFromTypeNode(E))===S?getTypeFromTypeNode(k):undefined}function getConditionalFlowTypeOfType(E,k){var w;while(k&&!S.isStatement(k)&&k.kind!==303){var N=k.parent;if(N.kind===180&&k===N.trueType){var j=getImpliedConstraint(E,N.checkType,N.extendsType);if(j){w=S.append(w,j)}}k=N}return w?getSubstitutionType(E,getIntersectionType(S.append(w,E))):E}function isJSDocTypeReference(S){return!!(S.flags&4194304)&&(S.kind===169||S.kind===188)}function checkNoTypeArguments(E,w){if(E.typeArguments){error(E,S.Diagnostics.Type_0_is_not_generic,w?symbolToString(w):E.typeName?S.declarationNameToString(E.typeName):k);return false}return true}function getIntendedTypeFromJSDocTypeReference(E){if(S.isIdentifier(E.typeName)){var k=E.typeArguments;switch(E.typeName.escapedText){case"String":checkNoTypeArguments(E);return Rt;case"Number":checkNoTypeArguments(E);return Lt;case"Boolean":checkNoTypeArguments(E);return $t;case"Void":checkNoTypeArguments(E);return Vt;case"Undefined":checkNoTypeArguments(E);return Nt;case"Null":checkNoTypeArguments(E);return Ot;case"Function":case"function":checkNoTypeArguments(E);return Mr;case"array":return(!k||!k.length)&&!Ze?Vr:undefined;case"promise":return(!k||!k.length)&&!Ze?createPromiseType(kt):undefined;case"Object":if(k&&k.length===2){if(S.isJSDocIndexSignature(E)){var w=getTypeFromTypeNode(k[0]);var N=getTypeFromTypeNode(k[1]);var j=createIndexInfo(N,false);return createAnonymousType(undefined,$e,S.emptyArray,S.emptyArray,w===Rt?j:undefined,w===Lt?j:undefined)}return kt}checkNoTypeArguments(E);return!Ze?kt:undefined}}}function getTypeFromJSDocNullableTypeNode(S){var E=getTypeFromTypeNode(S.type);return Ke?getNullableType(E,65536):E}function getTypeFromTypeReference(E){var k=getNodeLinks(E);if(!k.resolvedType){if(S.isConstTypeReference(E)&&S.isAssertionExpression(E.parent)){k.resolvedSymbol=Et;return k.resolvedType=checkExpressionCached(E.parent.expression)}var w=void 0;var N=void 0;var j=788968;if(isJSDocTypeReference(E)){N=getIntendedTypeFromJSDocTypeReference(E);if(!N){w=resolveTypeReferenceName(getTypeReferenceName(E),j,true);if(w===Et){w=resolveTypeReferenceName(getTypeReferenceName(E),j|111551)}else{resolveTypeReferenceName(getTypeReferenceName(E),j)}N=getTypeReferenceType(E,w)}}if(!N){w=resolveTypeReferenceName(getTypeReferenceName(E),j);N=getTypeReferenceType(E,w)}k.resolvedSymbol=w;k.resolvedType=N}return k.resolvedType}function typeArgumentsFromTypeReferenceNode(E){return S.map(E.typeArguments,getTypeFromTypeNode)}function getTypeFromTypeQueryNode(S){var E=getNodeLinks(S);if(!E.resolvedType){E.resolvedType=getRegularTypeOfLiteralType(getWidenedType(checkExpression(S.exprName)))}return E.resolvedType}function getTypeOfGlobalSymbol(E,k){function getTypeDeclaration(S){var E=S.declarations;for(var k=0,w=E;k=k?16777216:0),""+ne,N?8:0);_e.type=ae;ee.push(_e)}}}var ve=[];for(var ne=k;ne<=te;ne++)ve.push(getLiteralType(ne));var Ee=createSymbol(4,"length");Ee.type=w?Lt:getUnionType(ve);ee.push(Ee);var Te=createObjectType(8|4);Te.typeParameters=q;Te.outerTypeParameters=undefined;Te.localTypeParameters=q;Te.instantiations=S.createMap();Te.instantiations.set(getTypeListId(Te.typeParameters),Te);Te.target=Te;Te.resolvedTypeArguments=Te.typeParameters;Te.thisType=createTypeParameter();Te.thisType.isThisType=true;Te.thisType.constraint=Te;Te.declaredProperties=ee;Te.declaredCallSignatures=S.emptyArray;Te.declaredConstructSignatures=S.emptyArray;Te.declaredStringIndexInfo=undefined;Te.declaredNumberIndexInfo=undefined;Te.minLength=k;Te.hasRestElement=w;Te.readonly=N;Te.associatedNames=j;return Te}function getTupleTypeOfArity(S,E,k,w,N){var j=S+(k?"+":",")+E+(w?"R":"")+(N&&N.length?","+N.join(","):"");var q=mt.get(j);if(!q){mt.set(j,q=createTupleTypeOfArity(S,E,k,w,N))}return q}function createTupleType(S,E,k,w,N){if(E===void 0){E=S.length}if(k===void 0){k=false}if(w===void 0){w=false}var j=S.length;if(j===1&&k){return createArrayType(S[0],w)}var q=getTupleTypeOfArity(j,E,j>0&&k,w,N);return S.length?createTypeReference(q,S):q}function sliceTupleType(S,E){var k=S.target;if(k.hasRestElement){E=Math.min(E,getTypeReferenceArity(S)-1)}return createTupleType(getTypeArguments(S).slice(E),Math.max(0,k.minLength-E),k.hasRestElement,k.readonly,k.associatedNames&&k.associatedNames.slice(E))}function getTypeFromOptionalTypeNode(S){var E=getTypeFromTypeNode(S.type);return Ke?getOptionalType(E):E}function getTypeId(S){return S.id}function containsType(E,k){return S.binarySearch(E,k,getTypeId,S.compareValues)>=0}function insertType(E,k){var w=S.binarySearch(E,k,getTypeId,S.compareValues);if(w<0){E.splice(~w,0,k);return true}return false}function addTypeToUnion(E,k,w){var N=w.flags;if(N&1048576){return addTypesToUnion(E,k,w.types)}if(!(N&131072)){k|=N&71041023;if(N&66846720)k|=262144;if(w===Dt)k|=8388608;if(!Ke&&N&98304){if(!(S.getObjectFlags(w)&524288))k|=4194304}else{var j=E.length;var q=j&&w.id>E[j-1].id?~j:S.binarySearch(E,w,getTypeId,S.compareValues);if(q<0){E.splice(~q,0,w)}}}return k}function addTypesToUnion(S,E,k){for(var w=0,N=k;w0){N--;var q=E[N];for(var ee=0,te=E;ee(k?25e6:1e6)){error(Ue,S.Diagnostics.Expression_produces_a_union_type_that_is_too_complex_to_represent);return false}}j++;if(isTypeRelatedTo(q,ne,ii)&&(!(S.getObjectFlags(getTargetType(q))&1)||!(S.getObjectFlags(getTargetType(ne))&1)||isTypeDerivedFrom(q,ne))){S.orderedRemoveItemAt(E,N);break}}}}return true}function removeRedundantLiteralTypes(E,k){var w=E.length;while(w>0){w--;var N=E[w];var j=N.flags&128&&k&4||N.flags&256&&k&8||N.flags&2048&&k&64||N.flags&8192&&k&4096||isFreshLiteralType(N)&&containsType(E,N.regularType);if(j){S.orderedRemoveItemAt(E,w)}}}function getUnionType(S,E,k,w){if(E===void 0){E=1}if(S.length===0){return Ht}if(S.length===1){return S[0]}var N=[];var j=addTypesToUnion(N,0,S);if(E!==0){if(j&3){return j&1?j&8388608?Dt:kt:Pt}switch(E){case 1:if(j&(2944|8192)){removeRedundantLiteralTypes(N,j)}break;case 2:if(!removeSubtypes(N,!(j&262144))){return At}break}if(N.length===0){return j&65536?j&4194304?Ot:Mt:j&32768?j&4194304?Nt:It:Ht}}var q=(j&66994211?0:262144)|(j&2097152?268435456:0);return getUnionTypeFromSortedList(N,q,k,w)}function getUnionTypePredicate(S){var E;var k=[];for(var w=0,N=S;w0){w--;var N=E[w];var j=N.flags&4&&k&128||N.flags&8&&k&256||N.flags&64&&k&2048||N.flags&4096&&k&8192;if(j){S.orderedRemoveItemAt(E,w)}}}function eachUnionContains(S,E){for(var k=0,w=S;k=1e5){error(Ue,S.Diagnostics.Expression_produces_a_union_type_that_is_too_complex_to_represent);return At}var ae=S.findIndex(q,(function(S){return(S.flags&1048576)!==0}));var _e=q[ae];te=getUnionType(S.map(_e.types,(function(E){return getIntersectionType(S.replaceElement(q,ae,E))})),1,k,w)}}else{te=createIntersectionType(q,k,w)}_t.set(ee,te)}return te}function getTypeFromIntersectionTypeNode(E){var k=getNodeLinks(E);if(!k.resolvedType){var w=getAliasSymbolForTypeNode(E);k.resolvedType=getIntersectionType(S.map(E.types,getTypeFromTypeNode),w,getTypeArgumentsForAliasSymbol(w))}return k.resolvedType}function createIndexType(S,E){var k=createType(4194304);k.type=S;k.stringsOnly=E;return k}function getIndexTypeForGenericType(S,E){return E?S.resolvedStringIndexType||(S.resolvedStringIndexType=createIndexType(S,true)):S.resolvedIndexType||(S.resolvedIndexType=createIndexType(S,false))}function getLiteralTypeFromPropertyName(E){if(S.isPrivateIdentifier(E)){return Ht}return S.isIdentifier(E)?getLiteralType(S.unescapeLeadingUnderscores(E.escapedText)):getRegularTypeOfLiteralType(S.isComputedPropertyName(E)?checkComputedPropertyName(E):checkExpression(E))}function getBigIntLiteralType(E){return getLiteralType({negative:false,base10Value:S.parsePseudoBigInt(E.text)})}function getLiteralTypeFromProperty(E,k){if(!(S.getDeclarationModifierFlagsFromSymbol(E)&24)){var w=getSymbolLinks(getLateBoundSymbol(E)).nameType;if(!w&&!S.isKnownSymbol(E)){if(E.escapedName==="default"){w=getLiteralType("default")}else{var N=E.valueDeclaration&&S.getNameOfDeclaration(E.valueDeclaration);w=N&&getLiteralTypeFromPropertyName(N)||getLiteralType(S.symbolName(E))}}if(w&&w.flags&k){return w}}return Ht}function getLiteralTypeFromProperties(E,k){return getUnionType(S.map(getPropertiesOfType(E),(function(S){return getLiteralTypeFromProperty(S,k)})))}function getNonEnumNumberIndexInfo(S){var E=getIndexInfoOfType(S,1);return E!==xr?E:undefined}function getIndexType(E,k,w){if(k===void 0){k=tt}E=getReducedType(E);return E.flags&1048576?getIntersectionType(S.map(E.types,(function(S){return getIndexType(S,k,w)}))):E.flags&2097152?getUnionType(S.map(E.types,(function(S){return getIndexType(S,k,w)}))):maybeTypeOfKind(E,58982400)?getIndexTypeForGenericType(E,k):S.getObjectFlags(E)&32?filterType(getConstraintTypeFromMappedType(E),(function(S){return!(w&&S.flags&(1|4))})):E===Dt?Dt:E.flags&2?Ht:E.flags&(1|131072)?Zt:k?!w&&getIndexInfoOfType(E,0)?Rt:getLiteralTypeFromProperties(E,128):!w&&getIndexInfoOfType(E,0)?getUnionType([Rt,Lt,getLiteralTypeFromProperties(E,8192)]):getNonEnumNumberIndexInfo(E)?getUnionType([Lt,getLiteralTypeFromProperties(E,128|8192)]):getLiteralTypeFromProperties(E,8576)}function getExtractStringType(S){if(tt){return S}var E=getGlobalExtractSymbol();return E?getTypeAliasInstantiation(E,[S,Rt]):Rt}function getIndexTypeOrString(S){var E=getExtractStringType(getIndexType(S));return E.flags&131072?Rt:E}function getTypeFromTypeOperatorNode(E){var k=getNodeLinks(E);if(!k.resolvedType){switch(E.operator){case 134:k.resolvedType=getIndexType(getTypeFromTypeNode(E.type));break;case 147:k.resolvedType=E.type.kind===144?getESSymbolLikeTypeForNode(S.walkUpParenthesizedTypes(E.parent)):At;break;case 138:k.resolvedType=getTypeFromTypeNode(E.type);break;default:throw S.Debug.assertNever(E.operator)}}return k.resolvedType}function createIndexedAccessType(S,E,k,w){var N=createType(8388608);N.objectType=S;N.indexType=E;N.aliasSymbol=k;N.aliasTypeArguments=w;return N}function isJSLiteralType(E){if(Ze){return false}if(S.getObjectFlags(E)&16384){return true}if(E.flags&1048576){return S.every(E.types,isJSLiteralType)}if(E.flags&2097152){return S.some(E.types,isJSLiteralType)}if(E.flags&63176704){return isJSLiteralType(getResolvedBaseConstraint(E))}return false}function getPropertyNameFromIndex(E,k){var w=k&&k.kind===195?k:undefined;return isTypeUsableAsPropertyName(E)?getPropertyNameFromType(E):w&&checkThatExpressionIsProperSymbolReference(w.argumentExpression,E,false)?S.getPropertyNameForKnownSymbolName(S.idText(w.argumentExpression.name)):k&&S.isPropertyName(k)?S.getPropertyNameForPropertyNameNode(k):undefined}function getPropertyTypeForIndexType(E,k,w,N,j,q,ee){var te=q&&q.kind===195?q:undefined;var ne=q&&S.isPrivateIdentifier(q)?undefined:getPropertyNameFromIndex(w,q);if(ne!==undefined){var ae=getPropertyOfType(k,ne);if(ae){if(te){markPropertyAsReferenced(ae,te,te.expression.kind===104);if(isAssignmentToReadonlyEntity(te,ae,S.getAssignmentTargetKind(te))){error(te.argumentExpression,S.Diagnostics.Cannot_assign_to_0_because_it_is_a_read_only_property,symbolToString(ae));return undefined}if(ee&4){getNodeLinks(q).resolvedSymbol=ae}}var _e=getTypeOfSymbol(ae);return te&&S.getAssignmentTargetKind(te)!==1?getFlowTypeOfReference(te,_e):_e}if(everyType(k,isTupleType)&&isNumericLiteralName(ne)&&+ne>=0){if(q&&everyType(k,(function(S){return!S.target.hasRestElement}))&&!(ee&8)){var ve=getIndexNodeForAccessExpression(q);if(isTupleType(k)){error(ve,S.Diagnostics.Tuple_type_0_of_length_1_has_no_element_at_index_2,typeToString(k),getTypeReferenceArity(k),S.unescapeLeadingUnderscores(ne))}else{error(ve,S.Diagnostics.Property_0_does_not_exist_on_type_1,S.unescapeLeadingUnderscores(ne),typeToString(k))}}errorIfWritingToReadonlyIndex(getIndexInfoOfType(k,1));return mapType(k,(function(S){return getRestTypeOfTupleType(S)||Nt}))}}if(!(w.flags&98304)&&isTypeAssignableToKind(w,132|296|12288)){if(k.flags&(1|131072)){return k}var Ee=getIndexInfoOfType(k,0);var Te=isTypeAssignableToKind(w,296)&&getIndexInfoOfType(k,1)||Ee;if(Te){if(ee&1&&Te===Ee){if(te){error(te,S.Diagnostics.Type_0_cannot_be_used_to_index_type_1,typeToString(w),typeToString(E))}return undefined}if(q&&!isTypeAssignableToKind(w,4|8)){var ve=getIndexNodeForAccessExpression(q);error(ve,S.Diagnostics.Type_0_cannot_be_used_as_an_index_type,typeToString(w));return Te.type}errorIfWritingToReadonlyIndex(Te);return Te.type}if(w.flags&131072){return Ht}if(isJSLiteralType(k)){return kt}if(te&&!isConstEnumObjectType(k)){if(k.symbol===ct&&ne!==undefined&&ct.exports.has(ne)&&ct.exports.get(ne).flags&418){error(te,S.Diagnostics.Property_0_does_not_exist_on_type_1,S.unescapeLeadingUnderscores(ne),typeToString(k))}else if(Ze&&!Ve.suppressImplicitAnyIndexErrors&&!j){if(ne!==undefined&&typeHasStaticProperty(ne,k)){error(te,S.Diagnostics.Property_0_is_a_static_member_of_type_1,ne,typeToString(k))}else if(getIndexTypeOfType(k,1)){error(te.argumentExpression,S.Diagnostics.Element_implicitly_has_an_any_type_because_index_expression_is_not_of_type_number)}else{var Ce=void 0;if(ne!==undefined&&(Ce=getSuggestionForNonexistentProperty(ne,k))){if(Ce!==undefined){error(te.argumentExpression,S.Diagnostics.Property_0_does_not_exist_on_type_1_Did_you_mean_2,ne,typeToString(k),Ce)}}else{var we=getSuggestionForNonexistentIndexSignature(k,te,w);if(we!==undefined){error(te,S.Diagnostics.Element_implicitly_has_an_any_type_because_type_0_has_no_index_signature_Did_you_mean_to_call_1,typeToString(k),we)}else{var Ne=void 0;if(w.flags&1024){Ne=S.chainDiagnosticMessages(undefined,S.Diagnostics.Property_0_does_not_exist_on_type_1,"["+typeToString(w)+"]",typeToString(k))}else if(w.flags&8192){var Ie=getFullyQualifiedName(w.symbol,te);Ne=S.chainDiagnosticMessages(undefined,S.Diagnostics.Property_0_does_not_exist_on_type_1,"["+Ie+"]",typeToString(k))}else if(w.flags&128){Ne=S.chainDiagnosticMessages(undefined,S.Diagnostics.Property_0_does_not_exist_on_type_1,w.value,typeToString(k))}else if(w.flags&256){Ne=S.chainDiagnosticMessages(undefined,S.Diagnostics.Property_0_does_not_exist_on_type_1,w.value,typeToString(k))}else if(w.flags&(8|4)){Ne=S.chainDiagnosticMessages(undefined,S.Diagnostics.No_index_signature_with_a_parameter_of_type_0_was_found_on_type_1,typeToString(w),typeToString(k))}Ne=S.chainDiagnosticMessages(Ne,S.Diagnostics.Element_implicitly_has_an_any_type_because_expression_of_type_0_can_t_be_used_to_index_type_1,typeToString(N),typeToString(k));Qn.add(S.createDiagnosticForNodeFromMessageChain(te,Ne))}}}}return undefined}}if(isJSLiteralType(k)){return kt}if(q){var ve=getIndexNodeForAccessExpression(q);if(w.flags&(128|256)){error(ve,S.Diagnostics.Property_0_does_not_exist_on_type_1,""+w.value,typeToString(k))}else if(w.flags&(4|8)){error(ve,S.Diagnostics.Type_0_has_no_matching_index_signature_for_type_1,typeToString(k),typeToString(w))}else{error(ve,S.Diagnostics.Type_0_cannot_be_used_as_an_index_type,typeToString(w))}}if(isTypeAny(w)){return w}return undefined;function errorIfWritingToReadonlyIndex(E){if(E&&E.isReadonly&&te&&(S.isAssignmentTarget(te)||S.isDeleteTarget(te))){error(te,S.Diagnostics.Index_signature_in_type_0_only_permits_reading,typeToString(k))}}}function getIndexNodeForAccessExpression(S){return S.kind===195?S.argumentExpression:S.kind===185?S.indexType:S.kind===154?S.expression:S}function isGenericObjectType(E){if(E.flags&3145728){if(!(E.objectFlags&4194304)){E.objectFlags|=4194304|(S.some(E.types,isGenericObjectType)?8388608:0)}return!!(E.objectFlags&8388608)}return!!(E.flags&58982400)||isGenericMappedType(E)}function isGenericIndexType(E){if(E.flags&3145728){if(!(E.objectFlags&16777216)){E.objectFlags|=16777216|(S.some(E.types,isGenericIndexType)?33554432:0)}return!!(E.objectFlags&33554432)}return!!(E.flags&(58982400|4194304))}function isThisTypeParameter(S){return!!(S.flags&262144&&S.isThisType)}function getSimplifiedType(S,E){return S.flags&8388608?getSimplifiedIndexedAccessType(S,E):S.flags&16777216?getSimplifiedConditionalType(S,E):S}function distributeIndexOverObjectType(E,k,w){if(E.flags&3145728){var N=S.map(E.types,(function(S){return getSimplifiedType(getIndexedAccessType(S,k),w)}));return E.flags&2097152||w?getIntersectionType(N):getUnionType(N)}}function distributeObjectOverIndexType(E,k,w){if(k.flags&1048576){var N=S.map(k.types,(function(S){return getSimplifiedType(getIndexedAccessType(E,S),w)}));return w?getIntersectionType(N):getUnionType(N)}}function unwrapSubstitution(S){if(S.flags&33554432){return S.substitute}return S}function getSimplifiedIndexedAccessType(S,E){var k=E?"simplifiedForWriting":"simplifiedForReading";if(S[k]){return S[k]===dr?S:S[k]}S[k]=dr;var w=unwrapSubstitution(getSimplifiedType(S.objectType,E));var N=getSimplifiedType(S.indexType,E);var j=distributeObjectOverIndexType(w,N,E);if(j){return S[k]=j}if(!(N.flags&63176704)){var q=distributeIndexOverObjectType(w,N,E);if(q){return S[k]=q}}if(isGenericMappedType(w)){return S[k]=mapType(substituteIndexedMappedType(w,S.indexType),(function(S){return getSimplifiedType(S,E)}))}return S[k]=S}function getSimplifiedConditionalType(S,E){var k=S.checkType;var w=S.extendsType;var N=getTrueTypeFromConditionalType(S);var j=getFalseTypeFromConditionalType(S);if(j.flags&131072&&getActualTypeVariable(N)===getActualTypeVariable(k)){if(k.flags&1||isTypeAssignableTo(getRestrictiveInstantiation(k),getRestrictiveInstantiation(w))){return getSimplifiedType(N,E)}else if(isIntersectionEmpty(k,w)){return Ht}}else if(N.flags&131072&&getActualTypeVariable(j)===getActualTypeVariable(k)){if(!(k.flags&1)&&isTypeAssignableTo(getRestrictiveInstantiation(k),getRestrictiveInstantiation(w))){return Ht}else if(k.flags&1||isIntersectionEmpty(k,w)){return getSimplifiedType(j,E)}}return S}function isIntersectionEmpty(S,E){return!!(getUnionType([intersectTypes(S,E),Ht]).flags&131072)}function substituteIndexedMappedType(S,E){var k=createTypeMapper([getTypeParameterFromMappedType(S)],[E]);var w=combineTypeMappers(S.mapper,k);return instantiateType(getTemplateTypeFromMappedType(S),w)}function getIndexedAccessType(S,E,k,w,N){return getIndexedAccessTypeOrUndefined(S,E,k,0,w,N)||(k?At:Pt)}function getIndexedAccessTypeOrUndefined(S,E,k,w,N,j){if(w===void 0){w=0}if(S===Dt||E===Dt){return Dt}if(isStringIndexSignatureOnlyType(S)&&!(E.flags&98304)&&isTypeAssignableToKind(E,4|8)){E=Rt}if(isGenericIndexType(E)||!(k&&k.kind!==185)&&isGenericObjectType(S)){if(S.flags&3){return S}var q=S.id+","+E.id;var ee=vt.get(q);if(!ee){vt.set(q,ee=createIndexedAccessType(S,E,N,j))}return ee}var te=getReducedApparentType(S);if(E.flags&1048576&&!(E.flags&16)){var ne=[];var ae=false;for(var _e=0,ve=E.types;_e=k?Pt:w}))}function combineTypeMappers(S,E){return S?makeCompositeTypeMapper(3,S,E):E}function mergeTypeMappers(S,E){return S?makeCompositeTypeMapper(4,S,E):E}function prependTypeMapping(S,E,k){return!k?makeUnaryTypeMapper(S,E):makeCompositeTypeMapper(4,makeUnaryTypeMapper(S,E),k)}function appendTypeMapping(S,E,k){return!S?makeUnaryTypeMapper(E,k):makeCompositeTypeMapper(4,S,makeUnaryTypeMapper(E,k))}function getRestrictiveTypeParameter(S){return S.constraint===Pt?S:S.restrictiveInstantiation||(S.restrictiveInstantiation=createTypeParameter(S.symbol),S.restrictiveInstantiation.constraint=Pt,S.restrictiveInstantiation)}function cloneTypeParameter(S){var E=createTypeParameter(S.symbol);E.target=S;return E}function instantiateTypePredicate(S,E){return createTypePredicate(S.kind,S.parameterName,S.parameterIndex,instantiateType(S.type,E))}function instantiateSignature(E,k,w){var N;if(E.typeParameters&&!w){N=S.map(E.typeParameters,cloneTypeParameter);k=combineTypeMappers(createTypeMapper(E.typeParameters,N),k);for(var j=0,q=N;j=N,w)}));var q=getMappedTypeModifiers(k);var ee=q&4?0:q&8?getTypeReferenceArity(E)-(E.target.hasRestElement?1:0):N;var te=getModifiedReadonlyState(E.target.readonly,q);return S.contains(j,At)?At:createTupleType(j,ee,E.target.hasRestElement,te,E.target.associatedNames)}function instantiateMappedTypeTemplate(S,E,k,w){var N=appendTypeMapping(w,getTypeParameterFromMappedType(S),E);var j=instantiateType(getTemplateTypeFromMappedType(S.target||S),N);var q=getMappedTypeModifiers(S);return Ke&&q&4&&!maybeTypeOfKind(j,32768|16384)?getOptionalType(j):Ke&&q&8&&k?getTypeWithFacts(j,524288):j}function instantiateAnonymousType(S,E){var k=createObjectType(S.objectFlags|64,S.symbol);if(S.objectFlags&32){k.declaration=S.declaration;var w=getTypeParameterFromMappedType(S);var N=cloneTypeParameter(w);k.typeParameter=N;E=combineTypeMappers(makeUnaryTypeMapper(w,N),E);N.mapper=E}k.target=S;k.mapper=E;k.aliasSymbol=S.aliasSymbol;k.aliasTypeArguments=instantiateTypes(S.aliasTypeArguments,E);return k}function getConditionalTypeInstantiation(E,k){var w=E.root;if(w.outerTypeParameters){var N=S.map(w.outerTypeParameters,(function(S){return getMappedType(S,k)}));var j=getTypeListId(N);var q=w.instantiations.get(j);if(!q){var ee=createTypeMapper(w.outerTypeParameters,N);q=instantiateConditionalType(w,ee);w.instantiations.set(j,q)}return q}return E}function instantiateConditionalType(S,E){if(S.isDistributive){var k=S.checkType;var w=getMappedType(k,E);if(k!==w&&w.flags&(1048576|131072)){return mapType(w,(function(w){return getConditionalType(S,prependTypeMapping(k,w,E))}))}}return getConditionalType(S,E)}function instantiateType(E,k){if(!E||!k){return E}if(Be===50||Le>=5e6){error(Ue,S.Diagnostics.Type_instantiation_is_excessively_deep_and_possibly_infinite);return At}Re++;Le++;Be++;var w=instantiateTypeWorker(E,k);Be--;return w}function instantiateTypeWithoutDepthIncrease(S,E){Be--;var k=instantiateType(S,E);Be++;return k}function instantiateTypeWorker(S,E){var k=S.flags;if(k&262144){return getMappedType(S,E)}if(k&524288){var w=S.objectFlags;if(w&16){return couldContainTypeVariables(S)?getObjectTypeInstantiation(S,E):S}if(w&32){return getObjectTypeInstantiation(S,E)}if(w&4){if(S.node){return getObjectTypeInstantiation(S,E)}var N=S.resolvedTypeArguments;var j=instantiateTypes(N,E);return j!==N?createTypeReference(S.target,j):S}return S}if(k&2097152||k&1048576&&!(k&131068)){if(!couldContainTypeVariables(S)){return S}var q=S.types;var ee=instantiateTypes(q,E);return ee===q?S:k&2097152?getIntersectionType(ee,S.aliasSymbol,instantiateTypes(S.aliasTypeArguments,E)):getUnionType(ee,1,S.aliasSymbol,instantiateTypes(S.aliasTypeArguments,E))}if(k&4194304){return getIndexType(instantiateType(S.type,E))}if(k&8388608){return getIndexedAccessType(instantiateType(S.objectType,E),instantiateType(S.indexType,E),undefined,S.aliasSymbol,instantiateTypes(S.aliasTypeArguments,E))}if(k&16777216){return getConditionalTypeInstantiation(S,combineTypeMappers(S.mapper,E))}if(k&33554432){var te=instantiateType(S.baseType,E);if(te.flags&8650752){return getSubstitutionType(te,instantiateType(S.substitute,E))}else{var ne=instantiateType(S.substitute,E);if(ne.flags&3||isTypeAssignableTo(getRestrictiveInstantiation(te),getRestrictiveInstantiation(ne))){return te}return ne}}return S}function getPermissiveInstantiation(S){return S.flags&(131068|3|131072)?S:S.permissiveInstantiation||(S.permissiveInstantiation=instantiateType(S,rr))}function getRestrictiveInstantiation(S){if(S.flags&(131068|3|131072)){return S}if(S.restrictiveInstantiation){return S.restrictiveInstantiation}S.restrictiveInstantiation=instantiateType(S,tr);S.restrictiveInstantiation.restrictiveInstantiation=S.restrictiveInstantiation;return S.restrictiveInstantiation}function instantiateIndexInfo(S,E){return S&&createIndexInfo(instantiateType(S.type,E),S.isReadonly,S.declaration)}function isContextSensitive(E){S.Debug.assert(E.kind!==161||S.isObjectLiteralMethod(E));switch(E.kind){case 201:case 202:case 161:case 244:return isContextSensitiveFunctionLikeDeclaration(E);case 193:return S.some(E.properties,isContextSensitive);case 192:return S.some(E.elements,isContextSensitive);case 210:return isContextSensitive(E.whenTrue)||isContextSensitive(E.whenFalse);case 209:return(E.operatorToken.kind===56||E.operatorToken.kind===60)&&(isContextSensitive(E.left)||isContextSensitive(E.right));case 281:return isContextSensitive(E.initializer);case 200:return isContextSensitive(E.expression);case 274:return S.some(E.properties,isContextSensitive)||S.isJsxOpeningElement(E.parent)&&S.some(E.parent.parent.children,isContextSensitive);case 273:{var k=E.initializer;return!!k&&isContextSensitive(k)}case 276:{var w=E.expression;return!!w&&isContextSensitive(w)}}return false}function isContextSensitiveFunctionLikeDeclaration(E){return(!S.isFunctionDeclaration(E)||S.isInJSFile(E)&&!!getTypeForDeclarationFromJSDocComment(E))&&(hasContextSensitiveParameters(E)||hasContextSensitiveReturnExpression(E))}function hasContextSensitiveParameters(E){if(!E.typeParameters){if(S.some(E.parameters,(function(E){return!S.getEffectiveTypeAnnotationNode(E)}))){return true}if(E.kind!==202){var k=S.firstOrUndefined(E.parameters);if(!(k&&S.parameterIsThisKeyword(k))){return true}}}return false}function hasContextSensitiveReturnExpression(E){return!E.typeParameters&&!S.getEffectiveReturnTypeNode(E)&&!!E.body&&E.body.kind!==223&&isContextSensitive(E.body)}function isContextSensitiveFunctionOrObjectLiteralMethod(E){return(S.isInJSFile(E)&&S.isFunctionDeclaration(E)||isFunctionExpressionOrArrowFunction(E)||S.isObjectLiteralMethod(E))&&isContextSensitiveFunctionLikeDeclaration(E)}function getTypeWithoutSignatures(E){if(E.flags&524288){var k=resolveStructuredTypeMembers(E);if(k.constructSignatures.length||k.callSignatures.length){var w=createObjectType(16,E.symbol);w.members=k.members;w.properties=k.properties;w.callSignatures=S.emptyArray;w.constructSignatures=S.emptyArray;return w}}else if(E.flags&2097152){return getIntersectionType(S.map(E.types,getTypeWithoutSignatures))}return E}function isTypeIdenticalTo(S,E){return isTypeRelatedTo(S,E,si)}function compareTypesIdentical(S,E){return isTypeRelatedTo(S,E,si)?-1:0}function compareTypesAssignable(S,E){return isTypeRelatedTo(S,E,ai)?-1:0}function compareTypesSubtypeOf(S,E){return isTypeRelatedTo(S,E,ni)?-1:0}function isTypeSubtypeOf(S,E){return isTypeRelatedTo(S,E,ni)}function isTypeAssignableTo(S,E){return isTypeRelatedTo(S,E,ai)}function isTypeDerivedFrom(E,k){return E.flags&1048576?S.every(E.types,(function(S){return isTypeDerivedFrom(S,k)})):k.flags&1048576?S.some(k.types,(function(S){return isTypeDerivedFrom(E,S)})):E.flags&58982400?isTypeDerivedFrom(getBaseConstraintOfType(E)||Pt,k):k===Or?!!(E.flags&(524288|67108864)):k===Mr?!!(E.flags&524288)&&isFunctionObjectType(E):hasBaseType(E,getTargetType(k))}function isTypeComparableTo(S,E){return isTypeRelatedTo(S,E,oi)}function areTypesComparable(S,E){return isTypeComparableTo(S,E)||isTypeComparableTo(E,S)}function checkTypeAssignableTo(S,E,k,w,N,j){return checkTypeRelatedTo(S,E,ai,k,w,N,j)}function checkTypeAssignableToAndOptionallyElaborate(S,E,k,w,N,j){return checkTypeRelatedToAndOptionallyElaborate(S,E,ai,k,w,N,j,undefined)}function checkTypeRelatedToAndOptionallyElaborate(S,E,k,w,N,j,q,ee){if(isTypeRelatedTo(S,E,k))return true;if(!w||!elaborateError(N,S,E,k,j,q,ee)){return checkTypeRelatedTo(S,E,k,w,j,q,ee)}return false}function isOrHasGenericConditional(E){return!!(E.flags&16777216||E.flags&2097152&&S.some(E.types,isOrHasGenericConditional))}function elaborateError(S,E,k,w,N,j,q){if(!S||isOrHasGenericConditional(k))return false;if(!checkTypeRelatedTo(E,k,w,undefined)&&elaborateDidYouMeanToCallOrConstruct(S,E,k,w,N,j,q)){return true}switch(S.kind){case 276:case 200:return elaborateError(S.expression,E,k,w,N,j,q);case 209:switch(S.operatorToken.kind){case 62:case 27:return elaborateError(S.right,E,k,w,N,j,q)}break;case 193:return elaborateObjectLiteral(S,E,k,w,j,q);case 192:return elaborateArrayLiteral(S,E,k,w,j,q);case 274:return elaborateJsxComponents(S,E,k,w,j,q);case 202:return elaborateArrowFunction(S,E,k,w,j,q)}return false}function elaborateDidYouMeanToCallOrConstruct(E,k,w,N,j,q,ee){var te=getSignaturesOfType(k,0);var ne=getSignaturesOfType(k,1);for(var ae=0,_e=[ne,te];ae<_e.length;ae++){var ve=_e[ae];if(S.some(ve,(function(S){var E=getReturnTypeOfSignature(S);return!(E.flags&(1|131072))&&checkTypeRelatedTo(E,w,N,undefined)}))){var Ee=ee||{};checkTypeAssignableTo(k,w,E,j,q,Ee);var Te=Ee.errors[Ee.errors.length-1];S.addRelatedInfo(Te,S.createDiagnosticForNode(E,ve===ne?S.Diagnostics.Did_you_mean_to_use_new_with_this_expression:S.Diagnostics.Did_you_mean_to_call_this_expression));return true}}return false}function elaborateArrowFunction(E,k,w,N,j,q){if(S.isBlock(E.body)){return false}if(S.some(E.parameters,S.hasType)){return false}var ee=getSingleCallSignature(k);if(!ee){return false}var te=getSignaturesOfType(w,0);if(!S.length(te)){return false}var ne=E.body;var ae=getReturnTypeOfSignature(ee);var _e=getUnionType(S.map(te,getReturnTypeOfSignature));if(!checkTypeRelatedTo(ae,_e,N,undefined)){var ve=ne&&elaborateError(ne,ae,_e,N,undefined,j,q);if(ve){return ve}var Ee=q||{};checkTypeRelatedTo(ae,_e,N,ne,undefined,j,Ee);if(Ee.errors){if(w.symbol&&S.length(w.symbol.declarations)){S.addRelatedInfo(Ee.errors[Ee.errors.length-1],S.createDiagnosticForNode(w.symbol.declarations[0],S.Diagnostics.The_expected_type_comes_from_the_return_type_of_this_signature))}if((S.getFunctionFlags(E)&2)===0&&!getTypeOfPropertyOfType(ae,"then")&&checkTypeRelatedTo(createPromiseType(ae),_e,N,undefined)){S.addRelatedInfo(Ee.errors[Ee.errors.length-1],S.createDiagnosticForNode(E,S.Diagnostics.Did_you_mean_to_mark_this_function_as_async))}return true}}return false}function getBestMatchIndexedAccessTypeOrUndefined(S,E,k){var w=getIndexedAccessTypeOrUndefined(E,k);if(w){return w}if(E.flags&1048576){var N=getBestMatchingType(S,E);if(N){return getIndexedAccessTypeOrUndefined(N,k)}}}function checkExpressionForMutableLocationWithContextualType(S,E){S.contextualType=E;try{return checkExpressionForMutableLocation(S,1,E)}finally{S.contextualType=undefined}}function elaborateElementwise(E,k,w,N,j,q){var ee=false;for(var te=E.next();!te.done;te=E.next()){var ne=te.value,ae=ne.errorNode,_e=ne.innerExpression,ve=ne.nameType,Ee=ne.errorMessage;var Te=getBestMatchIndexedAccessTypeOrUndefined(k,w,ve);if(!Te||Te.flags&8388608)continue;var Ce=getIndexedAccessTypeOrUndefined(k,ve);if(Ce&&!checkTypeRelatedTo(Ce,Te,N,undefined)){var we=_e&&elaborateError(_e,Ce,Te,N,undefined,j,q);if(we){ee=true}else{var Ne=q||{};var Ie=_e?checkExpressionForMutableLocationWithContextualType(_e,Ce):Ce;var Fe=checkTypeRelatedTo(Ie,Te,N,ae,Ee,j,Ne);if(Fe&&Ie!==Ce){checkTypeRelatedTo(Ce,Te,N,ae,Ee,j,Ne)}if(Ne.errors){var Oe=Ne.errors[Ne.errors.length-1];var Me=isTypeUsableAsPropertyName(ve)?getPropertyNameFromType(ve):undefined;var Re=Me!==undefined?getPropertyOfType(w,Me):undefined;var Le=false;if(!Re){var Be=isTypeAssignableToKind(ve,296)&&getIndexInfoOfType(w,1)||getIndexInfoOfType(w,0)||undefined;if(Be&&Be.declaration&&!S.getSourceFileOfNode(Be.declaration).hasNoDefaultLib){Le=true;S.addRelatedInfo(Oe,S.createDiagnosticForNode(Be.declaration,S.Diagnostics.The_expected_type_comes_from_this_index_signature))}}if(!Le&&(Re&&S.length(Re.declarations)||w.symbol&&S.length(w.symbol.declarations))){var je=Re&&S.length(Re.declarations)?Re.declarations[0]:w.symbol.declarations[0];if(!S.getSourceFileOfNode(je).hasNoDefaultLib){S.addRelatedInfo(Oe,S.createDiagnosticForNode(je,S.Diagnostics.The_expected_type_comes_from_property_0_which_is_declared_here_on_type_1,Me&&!(ve.flags&8192)?S.unescapeLeadingUnderscores(Me):typeToString(ve),typeToString(w)))}}}ee=true}}}return ee}function generateJsxAttributes(E){var k,w,N;return j(this,(function(j){switch(j.label){case 0:if(!S.length(E.properties))return[2];k=0,w=E.properties;j.label=1;case 1:if(!(k1;var Ie=filterType(Ce,isArrayOrTupleLikeType);var Fe=filterType(Ce,(function(S){return!isArrayOrTupleLikeType(S)}));if(Ne){if(Ie!==Ht){var Oe=createTupleType(checkJsxChildren(_e,0));var Me=generateJsxChildren(_e,getInvalidTextualChildDiagnostic);ne=elaborateElementwise(Me,Oe,Ie,q,ee,te)||ne}else if(!isTypeRelatedTo(getIndexedAccessType(k,Te),Ce,q)){ne=true;var Re=error(_e.openingElement.tagName,S.Diagnostics.This_JSX_tag_s_0_prop_expects_a_single_child_of_type_1_but_multiple_children_were_provided,Ee,typeToString(Ce));if(te&&te.skipLogging){(te.errors||(te.errors=[])).push(Re)}}}else{if(Fe!==Ht){var Le=we[0];var Be=getElaborationElementForJsxChild(Le,Te,getInvalidTextualChildDiagnostic);if(Be){ne=elaborateElementwise(function(){return j(this,(function(S){switch(S.label){case 0:return[4,Be];case 1:S.sent();return[2]}}))}(),k,w,q,ee,te)||ne}}else if(!isTypeRelatedTo(getIndexedAccessType(k,Te),Ce,q)){ne=true;var Re=error(_e.openingElement.tagName,S.Diagnostics.This_JSX_tag_s_0_prop_expects_type_1_which_requires_multiple_children_but_only_a_single_child_was_provided,Ee,typeToString(Ce));if(te&&te.skipLogging){(te.errors||(te.errors=[])).push(Re)}}}}return ne;function getInvalidTextualChildDiagnostic(){if(!ae){var k=S.getTextOfNode(E.parent.tagName);var j=getJsxElementChildrenPropertyName(getJsxNamespaceAt(E));var q=j===undefined?"children":S.unescapeLeadingUnderscores(j);var ee=getIndexedAccessType(w,getLiteralType(q));var te=S.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;ae=N(N({},te),{key:"!!ALREADY FORMATTED!!",message:S.formatMessage(undefined,te,k,q,typeToString(ee))})}return ae}}function generateLimitedTupleElements(E,k){var w,N,q,ee;return j(this,(function(j){switch(j.label){case 0:w=S.length(E.elements);if(!w)return[2];N=0;j.label=1;case 1:if(!(Nne:getMinArgumentCount(E)>ne);if(ae){return 0}if(E.typeParameters&&E.typeParameters!==k.typeParameters){k=getCanonicalSignature(k);E=instantiateSignatureInContextOf(E,k,undefined,ee)}var _e=getParameterCount(E);var ve=getNonArrayRestType(E);var Ee=getNonArrayRestType(k);if(ve||Ee){void instantiateType(ve||Ee,te)}if(ve&&Ee&&_e!==ne){return 0}var Te=k.declaration?k.declaration.kind:0;var Ce=!(w&3)&&Qe&&Te!==161&&Te!==160&&Te!==162;var we=-1;var Ne=getThisTypeOfSignature(E);if(Ne&&Ne!==Vt){var Ie=getThisTypeOfSignature(k);if(Ie){var Fe=!Ce&&ee(Ne,Ie,false)||ee(Ie,Ne,N);if(!Fe){if(N){j(S.Diagnostics.The_this_types_of_each_signature_are_incompatible)}return 0}we&=Fe}}var Oe=ve||Ee?Math.min(_e,ne):Math.max(_e,ne);var Me=ve||Ee?Oe-1:-1;for(var Re=0;Re=getMinArgumentCount(E)&&Re0||typeHasCallOrConstructSignatures(te));if(Te&&!hasCommonProperties(te,ne,ve)){if(w){var Ce=getSignaturesOfType(te,0);var we=getSignaturesOfType(te,1);if(Ce.length>0&&isRelatedTo(getReturnTypeOfSignature(Ce[0]),ne,false)||we.length>0&&isRelatedTo(getReturnTypeOfSignature(we[0]),ne,false)){reportError(S.Diagnostics.Value_of_type_0_has_no_properties_in_common_with_type_1_Did_you_mean_to_call_it,typeToString(te),typeToString(ne))}else{reportError(S.Diagnostics.Type_0_has_no_properties_in_common_with_type_1,typeToString(te),typeToString(ne))}}return 0}var Ne=0;var Ie=captureErrorCalculationState();if(te.flags&1048576){Ne=j===oi?someTypeRelatedToType(te,ne,w&&!(te.flags&131068),ee):eachTypeRelatedToType(te,ne,w&&!(te.flags&131068),ee)}else{if(ne.flags&1048576){Ne=typeRelatedToSomeType(getRegularTypeOfObjectLiteral(te),ne,w&&!(te.flags&131068)&&!(ne.flags&131068))}else if(ne.flags&2097152){Ne=typeRelatedToEachType(getRegularTypeOfObjectLiteral(te),ne,w,2)}else if(te.flags&2097152){Ne=someTypeRelatedToType(te,ne,false,1)}if(!Ne&&(te.flags&66846720||ne.flags&66846720)){if(Ne=recursiveTypeRelatedTo(te,ne,w,ee)){resetErrorInfo(Ie)}}}if(!Ne&&te.flags&(2097152|262144)){var Me=getEffectiveConstraintOfIntersection(te.flags&2097152?te.types:[te],!!(ne.flags&1048576));if(Me&&(te.flags&2097152||ne.flags&1048576)){if(everyType(Me,(function(S){return S!==te}))){if(Ne=isRelatedTo(Me,ne,false,undefined,ee)){resetErrorInfo(Ie)}}}}if(Ne&&!Re&&(ne.flags&2097152&&(Ee||Te)||isNonGenericObjectType(ne)&&!isArrayType(ne)&&!isTupleType(ne)&&te.flags&2097152&&getApparentType(te).flags&3670016&&!S.some(te.types,(function(E){return!!(S.getObjectFlags(E)&2097152)})))){Re=true;Ne&=recursiveTypeRelatedTo(te,ne,w,4);Re=false}reportErrorResults(te,ne,Ne,ve);return Ne;function reportErrorResults(j,ee,te,ne){if(!te&&w){j=E.aliasSymbol?E:j;ee=k.aliasSymbol?k:ee;var _e=Fe>0;if(_e){Fe--}if(j.flags&524288&&ee.flags&524288){var ve=ae;tryElaborateArrayLikeErrors(j,ee,w);if(ae!==ve){_e=!!ae}}if(j.flags&524288&&ee.flags&131068){tryElaborateErrorsForPrimitivesAndObjects(j,ee)}else if(j.symbol&&j.flags&524288&&Or===j){reportError(S.Diagnostics.The_Object_type_is_assignable_to_very_few_other_types_Did_you_mean_to_use_the_any_type_instead)}else if(ne&&ee.flags&2097152){var Ee=ee.types;var Te=getJsxType(We.IntrinsicAttributes,q);var Ce=getJsxType(We.IntrinsicClassAttributes,q);if(Te!==At&&Ce!==At&&(S.contains(Ee,Te)||S.contains(Ee,Ce))){return te}}else{ae=elaborateNeverIntersection(ae,k)}if(!N&&_e){Oe=[j,ee];return te}reportRelationError(N,j,ee)}}}function isIdenticalTo(S,E){var k=S.flags&E.flags;if(!(k&66584576)){return 0}if(k&3145728){var w=eachTypeRelatedToSomeType(S,E);if(w){w&=eachTypeRelatedToSomeType(E,S)}return w}return recursiveTypeRelatedTo(S,E,false,0)}function getTypeOfPropertyInTypes(E,k){var appendPropType=function(E,w){w=getApparentType(w);var N=w.flags&3145728?getPropertyOfUnionOrIntersectionType(w,k):getPropertyOfObjectType(w,k);var j=N&&getTypeOfSymbol(N)||isNumericLiteralName(k)&&getIndexTypeOfType(w,1)||getIndexTypeOfType(w,0)||Nt;return S.append(E,j)};return getUnionType(S.reduceLeft(E,appendPropType,undefined)||S.emptyArray)}function hasExcessProperties(E,k,w){if(!isExcessPropertyCheckTarget(k)||!Ze&&S.getObjectFlags(k)&16384){return false}var N=!!(S.getObjectFlags(E)&4096);if((j===ai||j===oi)&&(isTypeSubsetOf(Or,k)||!N&&isEmptyObjectType(k))){return false}var ee=k;var te;if(k.flags&1048576){ee=findMatchingDiscriminantType(E,k,isRelatedTo)||filterPrimitivesIfContainsNonPrimitive(k);te=ee.flags&1048576?ee.types:[ee]}var _loop_13=function(k){if(shouldCheckAsExcessProperty(k,E.symbol)&&!isIgnoredJsxProperty(E,k)){if(!isKnownProperty(ee,k.escapedName,N)){if(w){var j=filterType(ee,isExcessPropertyCheckTarget);if(!q)return{value:S.Debug.fail()};if(S.isJsxAttributes(q)||S.isJsxOpeningLikeElement(q)||S.isJsxOpeningLikeElement(q.parent)){if(k.valueDeclaration&&S.isJsxAttribute(k.valueDeclaration)&&S.getSourceFileOfNode(q)===S.getSourceFileOfNode(k.valueDeclaration.name)){q=k.valueDeclaration.name}reportError(S.Diagnostics.Property_0_does_not_exist_on_type_1,symbolToString(k),typeToString(j))}else{var ne=E.symbol&&S.firstOrUndefined(E.symbol.declarations);var ae=void 0;if(k.valueDeclaration&&S.findAncestor(k.valueDeclaration,(function(S){return S===ne}))&&S.getSourceFileOfNode(ne)===S.getSourceFileOfNode(q)){var _e=k.valueDeclaration;S.Debug.assertNode(_e,S.isObjectLiteralElementLike);q=_e;var ve=_e.name;if(S.isIdentifier(ve)){ae=getSuggestionForNonexistentProperty(ve,j)}}if(ae!==undefined){reportError(S.Diagnostics.Object_literal_may_only_specify_known_properties_but_0_does_not_exist_in_type_1_Did_you_mean_to_write_2,symbolToString(k),typeToString(j),ae)}else{reportError(S.Diagnostics.Object_literal_may_only_specify_known_properties_and_0_does_not_exist_in_type_1,symbolToString(k),typeToString(j))}}}return{value:true}}if(te&&!isRelatedTo(getTypeOfSymbol(k),getTypeOfPropertyInTypes(te,k.escapedName),w)){if(w){reportIncompatibleError(S.Diagnostics.Types_of_property_0_are_incompatible,symbolToString(k))}return{value:true}}}};for(var ne=0,ae=getPropertiesOfType(E);ne25){return 0}}var ae=new Array(N.length);var _e=S.createUnderscoreEscapedMap();for(var ve=0;ve5){reportError(S.Diagnostics.Type_0_is_missing_the_following_properties_from_type_1_Colon_2_and_3_more,typeToString(E),typeToString(N),S.map(Te.slice(0,4),(function(S){return symbolToString(S)})).join(", "),Te.length-4)}else{reportError(S.Diagnostics.Type_0_is_missing_the_following_properties_from_type_1_Colon_2,typeToString(E),typeToString(N),S.map(Te,(function(S){return symbolToString(S)})).join(", "))}if(te&&ae){Fe++}}}function propertiesRelatedTo(E,k,w,N,q){if(j===si){return propertiesIdenticalTo(E,k,N)}var ee=(j===ni||j===ii)&&!isObjectLiteralType(E)&&!isEmptyArrayLiteralType(E)&&!isTupleType(E);var te=getUnmatchedProperty(E,k,ee,false);if(te){if(w){reportUnmatchedProperty(E,k,te,ee)}return 0}if(isObjectLiteralType(k)){for(var ne=0,ae=excludeProperties(getPropertiesOfType(E),N);ne0&&S.every(k.properties,(function(S){return!!(S.flags&16777216)}))}if(E.flags&2097152){return S.every(E.types,isWeakType)}return false}function hasCommonProperties(S,E,k){for(var w=0,N=getPropertiesOfType(S);w"}else{w+="-"+q.id}}return w}function getRelationKey(S,E,k,w){if(w===si&&S.id>E.id){var N=S;S=E;E=N}var j=k?":"+k:"";if(isTypeReferenceWithGenericArguments(S)&&isTypeReferenceWithGenericArguments(E)){var q=[];return getTypeReferenceId(S,q)+","+getTypeReferenceId(E,q)+j}return S.id+","+E.id+j}function forEachProperty(E,k){if(S.getCheckFlags(E)&6){for(var w=0,N=E.containingType.types;w=5&&S.flags&524288&&!isObjectOrArrayLiteralType(S)){var w=S.symbol;if(w){var N=0;for(var j=0;j=5)return true}}}}if(k>=5&&S.flags&8388608){var ee=getRootObjectTypeFromIndexedAccessChain(S);var N=0;for(var j=0;j=5)return true}}}return false}function getRootObjectTypeFromIndexedAccessChain(S){var E=S;while(E.flags&8388608){E=E.objectType}return E}function isPropertyIdenticalTo(S,E){return compareProperties(S,E,compareTypesIdentical)!==0}function compareProperties(E,k,w){if(E===k){return-1}var N=S.getDeclarationModifierFlagsFromSymbol(E)&24;var j=S.getDeclarationModifierFlagsFromSymbol(k)&24;if(N!==j){return 0}if(N){if(getTargetSymbol(E)!==getTargetSymbol(k)){return 0}}else{if((E.flags&16777216)!==(k.flags&16777216)){return 0}}if(isReadonlySymbol(E)!==isReadonlySymbol(k)){return 0}return w(getTypeOfSymbol(E),getTypeOfSymbol(k))}function isMatchingSignature(S,E,k){var w=getParameterCount(S);var N=getParameterCount(E);var j=getMinArgumentCount(S);var q=getMinArgumentCount(E);var ee=hasEffectiveRestParameter(S);var te=hasEffectiveRestParameter(E);if(w===N&&j===q&&ee===te){return true}if(k&&j<=q){return true}return false}function compareSignaturesIdentical(E,k,w,N,j,q){if(E===k){return-1}if(!isMatchingSignature(E,k,w)){return 0}if(S.length(E.typeParameters)!==S.length(k.typeParameters)){return 0}if(k.typeParameters){var ee=createTypeMapper(E.typeParameters,k.typeParameters);for(var te=0;te-1&&(resolveName(q,q.name.escapedText,788968,undefined,q.name.escapedText,true)||q.name.originalKeywordKind&&S.isTypeNodeKind(q.name.originalKeywordKind))){var ee="arg"+q.parent.parameters.indexOf(q);errorOrSuggestion(Ze,E,S.Diagnostics.Parameter_has_a_name_but_no_type_Did_you_mean_0_Colon_1,ee,S.declarationNameToString(q.name));return}j=E.dotDotDotToken?Ze?S.Diagnostics.Rest_parameter_0_implicitly_has_an_any_type:S.Diagnostics.Rest_parameter_0_implicitly_has_an_any_type_but_a_better_type_may_be_inferred_from_usage:Ze?S.Diagnostics.Parameter_0_implicitly_has_an_1_type:S.Diagnostics.Parameter_0_implicitly_has_an_1_type_but_a_better_type_may_be_inferred_from_usage;break;case 191:j=S.Diagnostics.Binding_element_0_implicitly_has_an_1_type;if(!Ze){return}break;case 300:error(E,S.Diagnostics.Function_type_which_lacks_return_type_annotation_implicitly_has_an_0_return_type,N);return;case 244:case 161:case 160:case 163:case 164:case 201:case 202:if(Ze&&!E.name){if(w===3){error(E,S.Diagnostics.Generator_implicitly_has_yield_type_0_because_it_does_not_yield_any_values_Consider_supplying_a_return_type_annotation,N)}else{error(E,S.Diagnostics.Function_expression_which_lacks_return_type_annotation_implicitly_has_an_0_return_type,N)}return}j=!Ze?S.Diagnostics._0_implicitly_has_an_1_return_type_but_a_better_type_may_be_inferred_from_usage:w===3?S.Diagnostics._0_which_lacks_return_type_annotation_implicitly_has_an_1_yield_type:S.Diagnostics._0_which_lacks_return_type_annotation_implicitly_has_an_1_return_type;break;case 186:if(Ze){error(E,S.Diagnostics.Mapped_object_type_implicitly_has_an_any_template_type)}return;default:j=Ze?S.Diagnostics.Variable_0_implicitly_has_an_1_type:S.Diagnostics.Variable_0_implicitly_has_an_1_type_but_a_better_type_may_be_inferred_from_usage}errorOrSuggestion(Ze,E,j,S.declarationNameToString(S.getNameOfDeclaration(E)),N)}function reportErrorsFromWidening(E,k,w){if(ee&&Ze&&S.getObjectFlags(k)&524288&&(!w||!getContextualSignatureForFunctionLikeDeclaration(E))){if(!reportWideningErrorsInType(k)){reportImplicitAny(E,k,w)}}}function applyToParameterTypes(S,E,k){var w=getParameterCount(S);var N=getParameterCount(E);var j=getEffectiveRestType(S);var q=getEffectiveRestType(E);var ee=q?N-1:N;var te=j?ee:Math.min(w,ee);var ne=getThisTypeOfSignature(S);if(ne){var ae=getThisTypeOfSignature(E);if(ae){k(ne,ae)}}for(var _e=0;_eS.target.minLength||!getRestTypeOfTupleType(E)&&(!!getRestTypeOfTupleType(S)||getLengthOfTupleType(E)0){for(var Oe=0,Me=k;Oe1){var k=S.filter(E,isObjectOrArrayLiteralType);if(k.length){var w=getUnionType(k,2);return S.concatenate(S.filter(E,(function(S){return!isObjectOrArrayLiteralType(S)})),[w])}}return E}function getContravariantInference(S){return S.priority&104?getIntersectionType(S.contraCandidates):getCommonSubtype(S.contraCandidates)}function getCovariantInference(E,k){var w=unionObjectAndArrayLiteralCandidates(E.candidates);var N=hasPrimitiveConstraint(E.typeParameter);var j=!N&&E.topLevel&&(E.isFixed||!isTypeParameterAtTopLevel(getReturnTypeOfSignature(k),E.typeParameter));var q=N?S.sameMap(w,getRegularTypeOfLiteralType):j?S.sameMap(w,getWidenedLiteralType):w;var ee=E.priority&104?getUnionType(q,2):getCommonSupertype(q);return getWidenedType(ee)}function getInferredType(S,E){var k=S.inferences[E];if(!k.inferredType){var w=void 0;var N=S.signature;if(N){var j=k.candidates?getCovariantInference(k,N):undefined;if(k.contraCandidates){var q=getContravariantInference(k);w=j&&!(j.flags&131072)&&isTypeSubtypeOf(j,q)?j:q}else if(j){w=j}else if(S.flags&1){w=Gt}else{var ee=getDefaultFromTypeParameter(k.typeParameter);if(ee){w=instantiateType(ee,mergeTypeMappers(createBackreferenceMapper(S,E),S.nonFixingMapper))}}}else{w=getTypeFromInference(k)}k.inferredType=w||getDefaultTypeArgumentType(!!(S.flags&2));var te=getConstraintOfTypeParameter(k.typeParameter);if(te){var ne=instantiateType(te,S.nonFixingMapper);if(!w||!S.compareTypes(w,getTypeWithThisArgument(ne,w))){k.inferredType=w=ne}}}return k.inferredType}function getDefaultTypeArgumentType(S){return S?kt:Pt}function getInferredTypes(S){var E=[];for(var k=0;k=0&&k.parameterIndex=w&&q-1){var ae=j.filter((function(S){return S!==undefined}));var _e=q=2||(k.flags&(2|32))===0||S.isSourceFile(k.valueDeclaration)||k.valueDeclaration.parent.kind===280){return}var w=S.getEnclosingBlockScopeContainer(k.valueDeclaration);var N=isInsideFunction(E.parent,w);var j=w;var q=false;while(j&&!S.nodeStartsNewLexicalEnvironment(j)){if(S.isIterationStatement(j,false)){q=true;break}j=j.parent}if(q){if(N){var ee=true;if(S.isForStatement(w)){var te=S.getAncestor(k.valueDeclaration,243);if(te&&te.parent===w){var ne=getPartOfForStatementContainingNode(E.parent,w);if(ne){var ae=getNodeLinks(ne);ae.flags|=131072;var _e=ae.capturedBlockScopeBindings||(ae.capturedBlockScopeBindings=[]);S.pushIfUnique(_e,k);if(ne===w.initializer){ee=false}}}}if(ee){getNodeLinks(j).flags|=65536}}if(S.isForStatement(w)){var te=S.getAncestor(k.valueDeclaration,243);if(te&&te.parent===w&&isAssignedInBodyOfForStatement(E,w)){getNodeLinks(k.valueDeclaration).flags|=4194304}}getNodeLinks(k.valueDeclaration).flags|=524288}if(N){getNodeLinks(k.valueDeclaration).flags|=262144}}function isBindingCapturedByNode(E,k){var w=getNodeLinks(E);return!!w&&S.contains(w.capturedBlockScopeBindings,getSymbolOfNode(k))}function isAssignedInBodyOfForStatement(E,k){var w=E;while(w.parent.kind===200){w=w.parent}var N=false;if(S.isAssignmentTarget(w)){N=true}else if(w.parent.kind===207||w.parent.kind===208){var j=w.parent;N=j.operator===45||j.operator===46}if(!N){return false}return!!S.findAncestor(w,(function(S){return S===k?"quit":S===k.statement}))}function captureLexicalThis(S,E){getNodeLinks(S).flags|=2;if(E.kind===159||E.kind===162){var k=E.parent;getNodeLinks(k).flags|=4}else{getNodeLinks(E).flags|=4}}function findFirstSuperCall(E){if(S.isSuperCall(E)){return E}else if(S.isFunctionLike(E)){return undefined}return S.forEachChild(E,findFirstSuperCall)}function getSuperCallInConstructor(S){var E=getNodeLinks(S);if(E.hasSuperCall===undefined){E.superCall=findFirstSuperCall(S.body);E.hasSuperCall=E.superCall?true:false}return E.superCall}function classDeclarationExtendsNull(S){var E=getSymbolOfNode(S);var k=getDeclaredTypeOfSymbol(E);var w=getBaseConstructorTypeOfClass(k);return w===Mt}function checkThisBeforeSuper(E,k,w){var N=k.parent;var j=S.getClassExtendsHeritageElement(N);if(j&&!classDeclarationExtendsNull(N)){var q=getSuperCallInConstructor(k);if(!q||q.end>E.pos){error(E,w)}}}function checkThisExpression(E){var k=S.getThisContainer(E,true);var w=false;if(k.kind===162){checkThisBeforeSuper(E,k,S.Diagnostics.super_must_be_called_before_accessing_this_in_the_constructor_of_a_derived_class)}if(k.kind===202){k=S.getThisContainer(k,false);w=true}switch(k.kind){case 249:error(E,S.Diagnostics.this_cannot_be_referenced_in_a_module_or_namespace_body);break;case 248:error(E,S.Diagnostics.this_cannot_be_referenced_in_current_location);break;case 162:if(isInConstructorArgumentInitializer(E,k)){error(E,S.Diagnostics.this_cannot_be_referenced_in_constructor_arguments)}break;case 159:case 158:if(S.hasModifier(k,32)&&!(Ve.target===99&&Ve.useDefineForClassFields)){error(E,S.Diagnostics.this_cannot_be_referenced_in_a_static_property_initializer)}break;case 154:error(E,S.Diagnostics.this_cannot_be_referenced_in_a_computed_property_name);break}if(w&&He<2){captureLexicalThis(E,k)}var N=tryGetThisTypeAt(E,true,k);if(et){var j=getTypeOfSymbol(ct);if(N===j&&w){error(E,S.Diagnostics.The_containing_arrow_function_captures_the_global_value_of_this)}else if(!N){var q=error(E,S.Diagnostics.this_implicitly_has_type_any_because_it_does_not_have_a_type_annotation);if(!S.isSourceFile(k)){var ee=tryGetThisTypeAt(k);if(ee&&ee!==j){S.addRelatedInfo(q,S.createDiagnosticForNode(k,S.Diagnostics.An_outer_value_of_this_is_shadowed_by_this_container))}}}}return N||kt}function tryGetThisTypeAt(E,k,w){if(k===void 0){k=true}if(w===void 0){w=S.getThisContainer(E,false)}var N=S.isInJSFile(E);if(S.isFunctionLike(w)&&(!isInParameterInitializerBeforeContainingFunction(E)||S.getThisParameter(w))){var j=getClassNameFromPrototypeMethod(w);if(N&&j){var q=checkExpression(j).symbol;if(q&&q.members&&q.flags&16){var ee=getDeclaredTypeOfSymbol(q).thisType;if(ee){return getFlowTypeOfReference(E,ee)}}}else if(N&&(w.kind===201||w.kind===244)&&S.getJSDocClassTag(w)){var ee=getDeclaredTypeOfSymbol(getMergedSymbol(w.symbol)).thisType;return getFlowTypeOfReference(E,ee)}var te=getThisTypeOfDeclaration(w)||getContextualThisParameterType(w);if(te){return getFlowTypeOfReference(E,te)}}if(S.isClassLike(w.parent)){var ne=getSymbolOfNode(w.parent);var ae=S.hasModifier(w,32)?getTypeOfSymbol(ne):getDeclaredTypeOfSymbol(ne).thisType;return getFlowTypeOfReference(E,ae)}if(N){var ae=getTypeForThisExpressionFromJSDoc(w);if(ae&&ae!==At){return getFlowTypeOfReference(E,ae)}}if(S.isSourceFile(w)){if(w.commonJsModuleIndicator){var _e=getSymbolOfNode(w);return _e&&getTypeOfSymbol(_e)}else if(k){return getTypeOfSymbol(ct)}}}function getExplicitThisType(E){var k=S.getThisContainer(E,false);if(S.isFunctionLike(k)){var w=getSignatureFromDeclaration(k);if(w.thisParameter){return getExplicitTypeOfSymbol(w.thisParameter)}}if(S.isClassLike(k.parent)){var N=getSymbolOfNode(k.parent);return S.hasModifier(k,32)?getTypeOfSymbol(N):getDeclaredTypeOfSymbol(N).thisType}}function getClassNameFromPrototypeMethod(E){if(E.kind===201&&S.isBinaryExpression(E.parent)&&S.getAssignmentDeclarationKind(E.parent)===3){return E.parent.left.expression.expression}else if(E.kind===161&&E.parent.kind===193&&S.isBinaryExpression(E.parent.parent)&&S.getAssignmentDeclarationKind(E.parent.parent)===6){return E.parent.parent.left.expression}else if(E.kind===201&&E.parent.kind===281&&E.parent.parent.kind===193&&S.isBinaryExpression(E.parent.parent.parent)&&S.getAssignmentDeclarationKind(E.parent.parent.parent)===6){return E.parent.parent.parent.left.expression}else if(E.kind===201&&S.isPropertyAssignment(E.parent)&&S.isIdentifier(E.parent.name)&&(E.parent.name.escapedText==="value"||E.parent.name.escapedText==="get"||E.parent.name.escapedText==="set")&&S.isObjectLiteralExpression(E.parent.parent)&&S.isCallExpression(E.parent.parent.parent)&&E.parent.parent.parent.arguments[2]===E.parent.parent&&S.getAssignmentDeclarationKind(E.parent.parent.parent)===9){return E.parent.parent.parent.arguments[0].expression}else if(S.isMethodDeclaration(E)&&S.isIdentifier(E.name)&&(E.name.escapedText==="value"||E.name.escapedText==="get"||E.name.escapedText==="set")&&S.isObjectLiteralExpression(E.parent)&&S.isCallExpression(E.parent.parent)&&E.parent.parent.arguments[2]===E.parent&&S.getAssignmentDeclarationKind(E.parent.parent)===9){return E.parent.parent.arguments[0].expression}}function getTypeForThisExpressionFromJSDoc(E){var k=S.getJSDocType(E);if(k&&k.kind===300){var w=k;if(w.parameters.length>0&&w.parameters[0].name&&w.parameters[0].name.escapedText==="this"){return getTypeFromTypeNode(w.parameters[0].type)}}var N=S.getJSDocThisTag(E);if(N&&N.typeExpression){return getTypeFromTypeNode(N.typeExpression)}}function isInConstructorArgumentInitializer(E,k){return!!S.findAncestor(E,(function(E){return S.isFunctionLikeDeclaration(E)?"quit":E.kind===156&&E.parent===k}))}function checkSuperExpression(E){var k=E.parent.kind===196&&E.parent.expression===E;var w=S.getSuperContainer(E,true);var N=false;if(!k){while(w&&w.kind===202){w=S.getSuperContainer(w,true);N=He<2}}var j=isLegalUsageOfSuperExpression(w);var q=0;if(!j){var ee=S.findAncestor(E,(function(S){return S===w?"quit":S.kind===154}));if(ee&&ee.kind===154){error(E,S.Diagnostics.super_cannot_be_referenced_in_a_computed_property_name)}else if(k){error(E,S.Diagnostics.Super_calls_are_not_permitted_outside_constructors_or_in_nested_functions_inside_constructors)}else if(!w||!w.parent||!(S.isClassLike(w.parent)||w.parent.kind===193)){error(E,S.Diagnostics.super_can_only_be_referenced_in_members_of_derived_classes_or_object_literal_expressions)}else{error(E,S.Diagnostics.super_property_access_is_permitted_only_in_a_constructor_member_function_or_member_accessor_of_a_derived_class)}return At}if(!k&&w.kind===162){checkThisBeforeSuper(E,w,S.Diagnostics.super_must_be_called_before_accessing_a_property_of_super_in_the_constructor_of_a_derived_class)}if(S.hasModifier(w,32)||k){q=512}else{q=256}getNodeLinks(E).flags|=q;if(w.kind===161&&S.hasModifier(w,256)){if(S.isSuperProperty(E.parent)&&S.isAssignmentTarget(E.parent)){getNodeLinks(w).flags|=4096}else{getNodeLinks(w).flags|=2048}}if(N){captureLexicalThis(E.parent,w)}if(w.parent.kind===193){if(He<2){error(E,S.Diagnostics.super_is_only_allowed_in_members_of_object_literal_expressions_when_option_target_is_ES2015_or_higher);return At}else{return kt}}var te=w.parent;if(!S.getClassExtendsHeritageElement(te)){error(E,S.Diagnostics.super_can_only_be_referenced_in_a_derived_class);return At}var ne=getDeclaredTypeOfSymbol(getSymbolOfNode(te));var ae=ne&&getBaseTypes(ne)[0];if(!ae){return At}if(w.kind===162&&isInConstructorArgumentInitializer(E,w)){error(E,S.Diagnostics.super_cannot_be_referenced_in_constructor_arguments);return At}return q===512?getBaseConstructorTypeOfClass(ne):getTypeWithThisArgument(ae,ne.thisType);function isLegalUsageOfSuperExpression(E){if(!E){return false}if(k){return E.kind===162}else{if(S.isClassLike(E.parent)||E.parent.kind===193){if(S.hasModifier(E,32)){return E.kind===161||E.kind===160||E.kind===163||E.kind===164}else{return E.kind===161||E.kind===160||E.kind===163||E.kind===164||E.kind===159||E.kind===158||E.kind===162}}}return false}}function getContainingObjectLiteral(S){return(S.kind===161||S.kind===163||S.kind===164)&&S.parent.kind===193?S.parent:S.kind===201&&S.parent.kind===281?S.parent.parent:undefined}function getThisTypeArgument(E){return S.getObjectFlags(E)&4&&E.target===qr?getTypeArguments(E)[0]:undefined}function getThisTypeFromContextualType(E){return mapType(E,(function(E){return E.flags&2097152?S.forEach(E.types,getThisTypeArgument):getThisTypeArgument(E)}))}function getContextualThisParameterType(E){if(E.kind===202){return undefined}if(isContextSensitiveFunctionOrObjectLiteralMethod(E)){var k=getContextualSignature(E);if(k){var w=k.thisParameter;if(w){return getTypeOfSymbol(w)}}}var N=S.isInJSFile(E);if(et||N){var j=getContainingObjectLiteral(E);if(j){var q=getApparentTypeOfContextualType(j);var ee=j;var te=q;while(te){var ne=getThisTypeFromContextualType(te);if(ne){return instantiateType(ne,getMapperFromContext(getInferenceContext(j)))}if(ee.parent.kind!==281){break}ee=ee.parent.parent;te=getApparentTypeOfContextualType(ee)}return getWidenedType(q?getNonNullableType(q):checkExpressionCached(j))}var ae=S.walkUpParenthesizedExpressions(E.parent);if(ae.kind===209&&ae.operatorToken.kind===62){var _e=ae.left;if(S.isAccessExpression(_e)){var ve=_e.expression;if(N&&S.isIdentifier(ve)){var Ee=S.getSourceFileOfNode(ae);if(Ee.commonJsModuleIndicator&&getResolvedSymbol(ve)===Ee.symbol){return undefined}}return getWidenedType(checkExpressionCached(ve))}}}return undefined}function getContextuallyTypedParameterType(E){var k=E.parent;if(!isContextSensitiveFunctionOrObjectLiteralMethod(k)){return undefined}var w=S.getImmediatelyInvokedFunctionExpression(k);if(w&&w.arguments){var N=getEffectiveCallArguments(w);var j=k.parameters.indexOf(E);if(E.dotDotDotToken){return getSpreadArgumentType(N,j,N.length,kt,undefined)}var q=getNodeLinks(w);var ee=q.resolvedSignature;q.resolvedSignature=_r;var te=j=0)}function getTypeOfPropertyOfContextualType(E,k){return mapType(E,(function(E){if(isGenericMappedType(E)){var w=getConstraintTypeFromMappedType(E);var N=getBaseConstraintOfType(w)||w;var j=getLiteralType(S.unescapeLeadingUnderscores(k));if(isTypeAssignableTo(j,N)){return substituteIndexedMappedType(E,j)}}else if(E.flags&3670016){var q=getPropertyOfType(E,k);if(q){return isCircularMappedProperty(q)?undefined:getTypeOfSymbol(q)}if(isTupleType(E)){var ee=getRestTypeOfTupleType(E);if(ee&&isNumericLiteralName(k)&&+k>=0){return ee}}return isNumericLiteralName(k)&&getIndexTypeOfContextualType(E,1)||getIndexTypeOfContextualType(E,0)}return undefined}),true)}function getIndexTypeOfContextualType(S,E){return mapType(S,(function(S){return getIndexTypeOfStructuredType(S,E)}),true)}function getContextualTypeForObjectLiteralMethod(E,k){S.Debug.assert(S.isObjectLiteralMethod(E));if(E.flags&16777216){return undefined}return getContextualTypeForObjectLiteralElement(E,k)}function getContextualTypeForObjectLiteralElement(S,E){var k=S.parent;var w=getApparentTypeOfContextualType(k,E);if(w){if(!hasNonBindableDynamicName(S)){var N=getSymbolOfNode(S).escapedName;var j=getTypeOfPropertyOfContextualType(w,N);if(j){return j}}return isNumericName(S.name)&&getIndexTypeOfContextualType(w,1)||getIndexTypeOfContextualType(w,0)}return undefined}function getContextualTypeForElementExpression(S,E){return S&&(getTypeOfPropertyOfContextualType(S,""+E)||getIteratedTypeOrElementType(1,S,Nt,undefined,false))}function getContextualTypeForConditionalOperand(S,E){var k=S.parent;return S===k.whenTrue||S===k.whenFalse?getContextualType(k,E):undefined}function getContextualTypeForChildJsxExpression(S,E){var k=getApparentTypeOfContextualType(S.openingElement.tagName);var w=getJsxElementChildrenPropertyName(getJsxNamespaceAt(S));if(!(k&&!isTypeAny(k)&&w&&w!=="")){return undefined}var N=getSemanticJsxChildren(S.children);var j=N.indexOf(E);var q=getTypeOfPropertyOfContextualType(k,w);return q&&(N.length===1?q:mapType(q,(function(S){if(isArrayLikeType(S)){return getIndexedAccessType(S,getLiteralType(j))}else{return S}}),true))}function getContextualTypeForJsxExpression(E){var k=E.parent;return S.isJsxAttributeLike(k)?getContextualType(E):S.isJsxElement(k)?getContextualTypeForChildJsxExpression(k,E):undefined}function getContextualTypeForJsxAttribute(E){if(S.isJsxAttribute(E)){var k=getApparentTypeOfContextualType(E.parent);if(!k||isTypeAny(k)){return undefined}return getTypeOfPropertyOfContextualType(k,E.name.escapedText)}else{return getContextualType(E.parent)}}function isPossiblyDiscriminantValue(S){switch(S.kind){case 10:case 8:case 9:case 14:case 106:case 91:case 100:case 75:case 146:return true;case 194:case 200:return isPossiblyDiscriminantValue(S.expression);case 276:return!S.expression||isPossiblyDiscriminantValue(S.expression)}return false}function discriminateContextualTypeByObjectMembers(E,k){return discriminateTypeByDiscriminableItems(k,S.map(S.filter(E.properties,(function(S){return!!S.symbol&&S.kind===281&&isPossiblyDiscriminantValue(S.initializer)&&isDiscriminantProperty(k,S.symbol.escapedName)})),(function(S){return[function(){return checkExpression(S.initializer)},S.symbol.escapedName]})),isTypeAssignableTo,k)}function discriminateContextualTypeByJSXAttributes(E,k){return discriminateTypeByDiscriminableItems(k,S.map(S.filter(E.properties,(function(S){return!!S.symbol&&S.kind===273&&isDiscriminantProperty(k,S.symbol.escapedName)&&(!S.initializer||isPossiblyDiscriminantValue(S.initializer))})),(function(S){return[!S.initializer?function(){return Ut}:function(){return checkExpression(S.initializer)},S.symbol.escapedName]})),isTypeAssignableTo,k)}function getApparentTypeOfContextualType(E,k){var w=S.isObjectLiteralMethod(E)?getContextualTypeForObjectLiteralMethod(E,k):getContextualType(E,k);var N=instantiateContextualType(w,E,k);if(N&&!(k&&k&2&&N.flags&8650752)){var j=mapType(N,getApparentType,true);if(j.flags&1048576){if(S.isObjectLiteralExpression(E)){return discriminateContextualTypeByObjectMembers(E,j)}else if(S.isJsxAttributes(E)){return discriminateContextualTypeByJSXAttributes(E,j)}}return j}}function instantiateContextualType(E,k,w){if(E&&maybeTypeOfKind(E,63176704)){var N=getInferenceContext(k);if(N&&S.some(N.inferences,hasInferenceCandidates)){if(w&&w&1){return instantiateInstantiableTypes(E,N.nonFixingMapper)}if(N.returnMapper){return instantiateInstantiableTypes(E,N.returnMapper)}}}return E}function instantiateInstantiableTypes(E,k){if(E.flags&63176704){return instantiateType(E,k)}if(E.flags&1048576){return getUnionType(S.map(E.types,(function(S){return instantiateInstantiableTypes(S,k)})),0)}if(E.flags&2097152){return getIntersectionType(S.map(E.types,(function(S){return instantiateInstantiableTypes(S,k)})))}return E}function getContextualType(E,k){if(E.flags&16777216){return undefined}if(E.contextualType){return E.contextualType}var w=E.parent;switch(w.kind){case 242:case 156:case 159:case 158:case 191:return getContextualTypeForInitializerExpression(E);case 202:case 235:return getContextualTypeForReturnExpression(E);case 212:return getContextualTypeForYieldOperand(w);case 206:return getContextualTypeForAwaitOperand(w);case 196:if(w.expression.kind===96){return Rt}case 197:return getContextualTypeForArgument(w,E);case 199:case 217:return S.isConstTypeReference(w.type)?undefined:getTypeFromTypeNode(w.type);case 209:return getContextualTypeForBinaryOperand(E,k);case 281:case 282:return getContextualTypeForObjectLiteralElement(w,k);case 283:return getApparentTypeOfContextualType(w.parent,k);case 192:{var N=w;var j=getApparentTypeOfContextualType(N,k);return getContextualTypeForElementExpression(j,S.indexOfNode(N.elements,E))}case 210:return getContextualTypeForConditionalOperand(E,k);case 221:S.Debug.assert(w.parent.kind===211);return getContextualTypeForSubstitutionExpression(w.parent,E);case 200:{var q=S.isInJSFile(w)?S.getJSDocTypeTag(w):undefined;return q?getTypeFromTypeNode(q.typeExpression.type):getContextualType(w,k)}case 276:return getContextualTypeForJsxExpression(w);case 273:case 275:return getContextualTypeForJsxAttribute(w);case 268:case 267:return getContextualJsxElementAttributesType(w,k)}return undefined}function getInferenceContext(E){var k=S.findAncestor(E,(function(S){return!!S.inferenceContext}));return k&&k.inferenceContext}function getContextualJsxElementAttributesType(E,k){if(S.isJsxOpeningElement(E)&&E.parent.contextualType&&k!==4){return E.parent.contextualType}return getContextualTypeForArgumentAtIndex(E,0)}function getEffectiveFirstArgumentForJsxSignature(S,E){return getJsxReferenceKind(E)!==0?getJsxPropsTypeFromCallSignature(S,E):getJsxPropsTypeFromClassType(S,E)}function getJsxPropsTypeFromCallSignature(S,E){var k=getTypeOfFirstParameterOfSignatureWithFallback(S,Pt);k=getJsxManagedAttributesFromLocatedAttributes(E,getJsxNamespaceAt(E),k);var w=getJsxType(We.IntrinsicAttributes,E);if(w!==At){k=intersectTypes(w,k)}return k}function getJsxPropsTypeForSignatureFromMember(S,E){if(S.unionSignatures){var k=[];for(var w=0,N=S.unionSignatures;w=2){var ee=fillMissingTypeArguments([q,w],j.typeParameters,2,S.isInJSFile(E));return createTypeReference(j,ee)}else if(S.length(j.aliasTypeArguments)>=2){var ee=fillMissingTypeArguments([q,w],j.aliasTypeArguments,2,S.isInJSFile(E));return getTypeAliasInstantiation(j.aliasSymbol,ee)}}return w}function getJsxPropsTypeFromClassType(E,k){var w=getJsxNamespaceAt(k);var N=getJsxElementPropertiesName(w);var j=N===undefined?getTypeOfFirstParameterOfSignatureWithFallback(E,Pt):N===""?getReturnTypeOfSignature(E):getJsxPropsTypeForSignatureFromMember(E,N);if(!j){if(!!N&&!!S.length(k.attributes.properties)){error(k,S.Diagnostics.JSX_element_class_does_not_support_attributes_because_it_does_not_have_a_0_property,S.unescapeLeadingUnderscores(N))}return Pt}j=getJsxManagedAttributesFromLocatedAttributes(k,w,j);if(isTypeAny(j)){return j}else{var q=j;var ee=getJsxType(We.IntrinsicClassAttributes,k);if(ee!==At){var te=getLocalTypeParametersOfClassOrInterfaceOrTypeAlias(ee.symbol);var ne=getReturnTypeOfSignature(E);q=intersectTypes(te?createTypeReference(ee,fillMissingTypeArguments([ne],te,getMinTypeArgumentCount(te),S.isInJSFile(k))):ee,q)}var ae=getJsxType(We.IntrinsicAttributes,k);if(ae!==At){q=intersectTypes(ae,q)}return q}}function getContextualCallSignature(S,E){var k=getSignaturesOfType(S,0);if(k.length===1){var w=k[0];if(!isAritySmaller(w,E)){return w}}}function isAritySmaller(E,k){var w=0;for(;w0){var Ie=cloneTypeReference(createTupleType(q,Fe,ee));Ie.pattern=E;return Ie}else if(Oe=getArrayLiteralTupleTypeIfApplicable(q,ne,ee,q.length,_e)){return createArrayLiteralType(Oe)}else if(w){return createArrayLiteralType(createTupleType(q,Fe,ee))}}return createArrayLiteralType(createArrayType(q.length?getUnionType(q,2):Ke?Kt:It,_e))}function createArrayLiteralType(E){if(!(S.getObjectFlags(E)&4)){return E}var k=E.literalType;if(!k){k=E.literalType=cloneTypeReference(E);k.objectFlags|=65536|1048576}return k}function getArrayLiteralTupleTypeIfApplicable(S,E,k,w,N){if(w===void 0){w=S.length}if(N===void 0){N=false}if(N||E&&forEachType(E,isTupleLikeType)){return createTupleType(S,w-(k?1:0),k,N)}}function isNumericName(S){switch(S.kind){case 154:return isNumericComputedName(S);case 75:return isNumericLiteralName(S.escapedText);case 8:case 10:return isNumericLiteralName(S.text);default:return false}}function isNumericComputedName(S){return isTypeAssignableToKind(checkComputedPropertyName(S),296)}function isInfinityOrNaNString(S){return S==="Infinity"||S==="-Infinity"||S==="NaN"}function isNumericLiteralName(S){return(+S).toString()===S}function checkComputedPropertyName(E){var k=getNodeLinks(E.expression);if(!k.resolvedType){k.resolvedType=checkExpression(E.expression);if(k.resolvedType.flags&98304||!isTypeAssignableToKind(k.resolvedType,132|296|12288)&&!isTypeAssignableTo(k.resolvedType,Yt)){error(E,S.Diagnostics.A_computed_property_name_must_be_of_type_string_number_symbol_or_any)}else{checkThatExpressionIsProperSymbolReference(E.expression,k.resolvedType,true)}}return k.resolvedType}function getObjectLiteralIndexInfo(S,E,k,w){var N=[];for(var j=0;j0){ee=getSpreadType(ee,createObjectLiteralType(),E.symbol,Ce,ae);q=[];j=S.createSymbolTable();Ne=false;Ie=false}var Ue=getReducedType(checkExpression(Be.expression));if(!isValidSpreadType(Ue)){error(Be,S.Diagnostics.Spread_types_may_only_be_created_from_object_types);return At}if(N){checkSpreadPropOverrides(Ue,N,Be)}ee=getSpreadType(ee,Ue,E.symbol,Ce,ae);Re=Le+1;continue}else{S.Debug.assert(Be.kind===163||Be.kind===164);checkNodeDeferred(Be)}if(ze&&!(ze.flags&8576)){if(isTypeAssignableTo(ze,Yt)){if(isTypeAssignableTo(ze,Lt)){Ie=true}else{Ne=true}if(w){we=true}}}else{j.set(je.escapedName,je)}q.push(je)}if(ne&&E.parent.kind!==283){for(var Qe=0,Xe=getPropertiesOfType(te);Qe0){ee=getSpreadType(ee,createObjectLiteralType(),E.symbol,Ce,ae);q=[];j=S.createSymbolTable();Ne=false;Ie=false}return mapType(ee,(function(S){return S===nr?createObjectLiteralType():S}))}return createObjectLiteralType();function createObjectLiteralType(){var k=Ne?getObjectLiteralIndexInfo(E,Re,q,0):undefined;var N=Ie?getObjectLiteralIndexInfo(E,Re,q,1):undefined;var ee=createAnonymousType(E.symbol,j,S.emptyArray,S.emptyArray,k,N);ee.objectFlags|=Ce|128|1048576;if(Te){ee.objectFlags|=16384}if(we){ee.objectFlags|=512}if(w){ee.pattern=E}return ee}}function isValidSpreadType(E){if(E.flags&63176704){var k=getBaseConstraintOfType(E);if(k!==undefined){return isValidSpreadType(k)}}return!!(E.flags&(1|67108864|524288|58982400)||getFalsyFlags(E)&117632&&isValidSpreadType(removeDefinitelyFalsyTypes(E))||E.flags&3145728&&S.every(E.types,isValidSpreadType))}function checkJsxSelfClosingElementDeferred(S){checkJsxOpeningLikeElementOrOpeningFragment(S);resolveUntypedCall(S)}function checkJsxSelfClosingElement(S,E){checkNodeDeferred(S);return getJsxElementTypeAt(S)||kt}function checkJsxElementDeferred(S){checkJsxOpeningLikeElementOrOpeningFragment(S.openingElement);if(isJsxIntrinsicIdentifier(S.closingElement.tagName)){getIntrinsicTagSymbol(S.closingElement)}else{checkExpression(S.closingElement.tagName)}checkJsxChildren(S)}function checkJsxElement(S,E){checkNodeDeferred(S);return getJsxElementTypeAt(S)||kt}function checkJsxFragment(E){checkJsxOpeningLikeElementOrOpeningFragment(E.openingFragment);if(Ve.jsx===2&&(Ve.jsxFactory||S.getSourceFileOfNode(E).pragmas.has("jsx"))){error(E,Ve.jsxFactory?S.Diagnostics.JSX_fragment_is_not_supported_when_using_jsxFactory:S.Diagnostics.JSX_fragment_is_not_supported_when_using_an_inline_JSX_factory_pragma)}checkJsxChildren(E);return getJsxElementTypeAt(E)||kt}function isUnhyphenatedJsxName(E){return!S.stringContains(E,"-")}function isJsxIntrinsicIdentifier(E){return E.kind===75&&S.isIntrinsicJsxName(E.escapedText)}function checkJsxAttribute(S,E){return S.initializer?checkExpressionForMutableLocation(S.initializer,E):Ut}function createJsxAttributesTypeFromAttributesProperty(E,k){var w=E.attributes;var N=Ke?S.createSymbolTable():undefined;var j=S.createSymbolTable();var q=ir;var ee=false;var te;var ne=false;var ae=4096;var _e=getJsxElementChildrenPropertyName(getJsxNamespaceAt(E));for(var ve=0,Ee=w.properties;ve0){q=getSpreadType(q,createJsxAttributesType(),w.symbol,ae,false);j=S.createSymbolTable()}var we=getReducedType(checkExpressionCached(Te.expression,k));if(isTypeAny(we)){ee=true}if(isValidSpreadType(we)){q=getSpreadType(q,we,w.symbol,ae,false);if(N){checkSpreadPropOverrides(we,N,Te)}}else{te=te?getIntersectionType([te,we]):we}}}if(!ee){if(j.size>0){q=getSpreadType(q,createJsxAttributesType(),w.symbol,ae,false)}}var Ie=E.parent.kind===266?E.parent:undefined;if(Ie&&Ie.openingElement===E&&Ie.children.length>0){var Fe=checkJsxChildren(Ie,k);if(!ee&&_e&&_e!==""){if(ne){error(w,S.Diagnostics._0_are_specified_twice_The_attribute_named_0_will_be_overwritten,S.unescapeLeadingUnderscores(_e))}var Oe=getApparentTypeOfContextualType(E.attributes);var Me=Oe&&getTypeOfPropertyOfContextualType(Oe,_e);var Re=createSymbol(4|33554432,_e);Re.type=Fe.length===1?Fe[0]:getArrayLiteralTupleTypeIfApplicable(Fe,Me,false)||createArrayType(getUnionType(Fe));Re.valueDeclaration=S.createPropertySignature(undefined,S.unescapeLeadingUnderscores(_e),undefined,undefined,undefined);Re.valueDeclaration.parent=w;Re.valueDeclaration.symbol=Re;var Le=S.createSymbolTable();Le.set(_e,Re);q=getSpreadType(q,createAnonymousType(w.symbol,Le,S.emptyArray,S.emptyArray,undefined,undefined),w.symbol,ae,false)}}if(ee){return kt}if(te&&q!==ir){return getIntersectionType([te,q])}return te||(q===ir?createJsxAttributesType():q);function createJsxAttributesType(){ae|=rt;var E=createAnonymousType(w.symbol,j,S.emptyArray,S.emptyArray,undefined,undefined);E.objectFlags|=ae|128|1048576;return E}}function checkJsxChildren(S,E){var k=[];for(var w=0,N=S.children;w1){error(w.declarations[0],S.Diagnostics.The_global_type_JSX_0_may_not_have_more_than_one_property,S.unescapeLeadingUnderscores(E))}}return undefined}function getJsxLibraryManagedAttributes(S){return S&&getSymbol(S.exports,We.LibraryManagedAttributes,788968)}function getJsxElementPropertiesName(S){return getNameFromJsxElementAttributesContainer(We.ElementAttributesPropertyNameContainer,S)}function getJsxElementChildrenPropertyName(S){return getNameFromJsxElementAttributesContainer(We.ElementChildrenAttributeNameContainer,S)}function getUninstantiatedJsxSignaturesOfType(E,k){if(E.flags&4){return[_r]}else if(E.flags&128){var w=getIntrinsicAttributesTypeFromStringLiteralType(E,k);if(!w){error(k,S.Diagnostics.Property_0_does_not_exist_on_type_1,E.value,"JSX."+We.IntrinsicElements);return S.emptyArray}else{var N=createSignatureForJSXIntrinsic(k,w);return[N]}}var j=getApparentType(E);var q=getSignaturesOfType(j,1);if(q.length===0){q=getSignaturesOfType(j,0)}if(q.length===0&&j.flags&1048576){q=getUnionSignatures(S.map(j.types,(function(S){return getUninstantiatedJsxSignaturesOfType(S,k)})))}return q}function getIntrinsicAttributesTypeFromStringLiteralType(E,k){var w=getJsxType(We.IntrinsicElements,k);if(w!==At){var N=E.value;var j=getPropertyOfType(w,S.escapeLeadingUnderscores(N));if(j){return getTypeOfSymbol(j)}var q=getIndexTypeOfType(w,0);if(q){return q}return undefined}return kt}function checkJsxReturnAssignableToAppropriateBound(E,k,w){if(E===1){var N=getJsxStatelessElementTypeAt(w);if(N){checkTypeRelatedTo(k,N,ai,w.tagName,S.Diagnostics.Its_return_type_0_is_not_a_valid_JSX_element,generateInitialErrorChain)}}else if(E===0){var j=getJsxElementClassTypeAt(w);if(j){checkTypeRelatedTo(k,j,ai,w.tagName,S.Diagnostics.Its_instance_type_0_is_not_a_valid_JSX_element,generateInitialErrorChain)}}else{var N=getJsxStatelessElementTypeAt(w);var j=getJsxElementClassTypeAt(w);if(!N||!j){return}var q=getUnionType([N,j]);checkTypeRelatedTo(k,q,ai,w.tagName,S.Diagnostics.Its_element_type_0_is_not_a_valid_JSX_element,generateInitialErrorChain)}function generateInitialErrorChain(){var E=S.getTextOfNode(w.tagName);return S.chainDiagnosticMessages(undefined,S.Diagnostics._0_cannot_be_used_as_a_JSX_component,E)}}function getIntrinsicAttributesTypeFromJsxOpeningLikeElement(E){S.Debug.assert(isJsxIntrinsicIdentifier(E.tagName));var k=getNodeLinks(E);if(!k.resolvedJsxElementAttributesType){var w=getIntrinsicTagSymbol(E);if(k.jsxFlags&1){return k.resolvedJsxElementAttributesType=getTypeOfSymbol(w)}else if(k.jsxFlags&2){return k.resolvedJsxElementAttributesType=getIndexTypeOfType(getDeclaredTypeOfSymbol(w),0)}else{return k.resolvedJsxElementAttributesType=At}}return k.resolvedJsxElementAttributesType}function getJsxElementClassTypeAt(S){var E=getJsxType(We.ElementClass,S);if(E===At)return undefined;return E}function getJsxElementTypeAt(S){return getJsxType(We.Element,S)}function getJsxStatelessElementTypeAt(S){var E=getJsxElementTypeAt(S);if(E){return getUnionType([E,Ot])}}function getJsxIntrinsicTagNamesAt(E){var k=getJsxType(We.IntrinsicElements,E);return k?getPropertiesOfType(k):S.emptyArray}function checkJsxPreconditions(E){if((Ve.jsx||0)===0){error(E,S.Diagnostics.Cannot_use_JSX_unless_the_jsx_flag_is_provided)}if(getJsxElementTypeAt(E)===undefined){if(Ze){error(E,S.Diagnostics.JSX_element_implicitly_has_type_any_because_the_global_type_JSX_Element_does_not_exist)}}}function checkJsxOpeningLikeElementOrOpeningFragment(E){var k=S.isJsxOpeningLikeElement(E);if(k){checkGrammarJsxElement(E)}checkJsxPreconditions(E);var w=Qn&&Ve.jsx===2?S.Diagnostics.Cannot_find_name_0:undefined;var N=getJsxNamespace(E);var j=k?E.tagName:E;var q=resolveName(j,N,111551,w,N,true);if(q){q.isReferenced=67108863;if(q.flags&2097152&&!getTypeOnlyAliasDeclaration(q)){markAliasSymbolAsReferenced(q)}}if(k){var ee=E;var te=getResolvedSignature(ee);checkJsxReturnAssignableToAppropriateBound(getJsxReferenceKind(ee),getReturnTypeOfSignature(te),ee)}}function isKnownProperty(S,E,k){if(S.flags&524288){var w=resolveStructuredTypeMembers(S);if(w.stringIndexInfo||w.numberIndexInfo&&isNumericLiteralName(E)||getPropertyOfObjectType(S,E)||k&&!isUnhyphenatedJsxName(E)){return true}}else if(S.flags&3145728&&isExcessPropertyCheckTarget(S)){for(var N=0,j=S.types;N=1&&isTypeAssignableTo(w,getTypeAtPosition(N,0))}return false}var N=S.isAssignmentTarget(k)?"set":"get";if(!hasProp(N)){return undefined}var j=S.tryGetPropertyAccessOrIdentifierToString(k.expression);if(j===undefined){j=N}else{j+="."+N}return j}function getSpellingSuggestionForName(E,k,w){return S.getSpellingSuggestion(E,k,getCandidateName);function getCandidateName(E){var k=S.symbolName(E);if(S.startsWith(k,'"')){return undefined}if(E.flags&w){return k}if(E.flags&2097152){var N=tryResolveAlias(E);if(N&&N.flags&w){return k}}return undefined}}function markPropertyAsReferenced(E,k,w){var N=E&&E.flags&106500&&E.valueDeclaration;if(!N){return}var j=S.hasModifier(N,8);var q=S.isNamedDeclaration(E.valueDeclaration)&&S.isPrivateIdentifier(E.valueDeclaration.name);if(!j&&!q){return}if(k&&S.isWriteOnlyAccess(k)&&!(E.flags&65536)){return}if(w){var ee=S.findAncestor(k,S.isFunctionLikeDeclaration);if(ee&&ee.symbol===E){return}}(S.getCheckFlags(E)&1?getSymbolLinks(E).target:E).isReferenced=67108863}function isValidPropertyAccess(S,E){switch(S.kind){case 194:return isValidPropertyAccessWithType(S,S.expression.kind===102,E,getWidenedType(checkExpression(S.expression)));case 153:return isValidPropertyAccessWithType(S,false,E,getWidenedType(checkExpression(S.left)));case 188:return isValidPropertyAccessWithType(S,false,E,getTypeFromTypeNode(S))}}function isValidPropertyAccessForCompletions(S,E,k){return isValidPropertyAccessWithType(S,S.kind===194&&S.expression.kind===102,k.escapedName,E)}function isValidPropertyAccessWithType(E,k,w,N){if(N===At||isTypeAny(N)){return true}var j=getPropertyOfType(N,w);if(j){if(S.isPropertyAccessExpression(E)&&j.valueDeclaration&&S.isPrivateIdentifierPropertyDeclaration(j.valueDeclaration)){var q=S.getContainingClass(j.valueDeclaration);return!S.isOptionalChain(E)&&!!S.findAncestor(E,(function(S){return S===q}))}return checkPropertyAccessibility(E,k,N,j)}return S.isInJSFile(E)&&(N.flags&1048576)!==0&&N.types.some((function(S){return isValidPropertyAccessWithType(E,k,w,S)}))}function getForInVariableSymbol(E){var k=E.initializer;if(k.kind===243){var w=k.declarations[0];if(w&&!S.isBindingPattern(w.name)){return getSymbolOfNode(w)}}else if(k.kind===75){return getResolvedSymbol(k)}return undefined}function hasNumericPropertyNames(S){return getIndexTypeOfType(S,1)&&!getIndexTypeOfType(S,0)}function isForInVariableForNumericPropertyNames(E){var k=S.skipParentheses(E);if(k.kind===75){var w=getResolvedSymbol(k);if(w.flags&3){var N=E;var j=E.parent;while(j){if(j.kind===231&&N===j.statement&&getForInVariableSymbol(j)===w&&hasNumericPropertyNames(getTypeOfExpression(j.expression))){return true}N=j;j=j.parent}}}return false}function checkIndexedAccess(S){return S.flags&32?checkElementAccessChain(S):checkElementAccessExpression(S,checkNonNullExpression(S.expression))}function checkElementAccessChain(S){var E=checkExpression(S.expression);var k=getOptionalExpressionType(E,S.expression);return propagateOptionalTypeMarker(checkElementAccessExpression(S,checkNonNullType(k,S.expression)),S,k!==E)}function checkElementAccessExpression(E,k){var w=S.getAssignmentTargetKind(E)!==0||isMethodAccessForCall(E)?getWidenedType(k):k;var N=E.argumentExpression;var j=checkExpression(N);if(w===At||w===Gt){return w}if(isConstEnumObjectType(w)&&!S.isStringLiteralLike(N)){error(N,S.Diagnostics.A_const_enum_member_can_only_be_accessed_using_a_string_literal);return At}var q=isForInVariableForNumericPropertyNames(N)?Lt:j;var ee=S.isAssignmentTarget(E)?2|(isGenericObjectType(w)&&!isThisTypeParameter(w)?1:0):0;var te=getIndexedAccessTypeOrUndefined(w,q,E,ee)||At;return checkIndexedAccessIndexType(getFlowTypeOfAccessExpression(E,te.symbol,te,N),E)}function checkThatExpressionIsProperSymbolReference(E,k,w){if(k===At){return false}if(!S.isWellKnownSymbolSyntactically(E)){return false}if((k.flags&12288)===0){if(w){error(E,S.Diagnostics.A_computed_property_name_of_the_form_0_must_be_of_type_symbol,S.getTextOfNode(E))}return false}var N=E.expression;var j=getResolvedSymbol(N);if(!j){return false}var q=getGlobalESSymbolConstructorSymbol(true);if(!q){return false}if(j!==q){if(w){error(N,S.Diagnostics.Symbol_reference_does_not_refer_to_the_global_Symbol_constructor_object)}return false}return true}function callLikeExpressionMayHaveTypeArguments(E){return S.isCallOrNewExpression(E)||S.isTaggedTemplateExpression(E)||S.isJsxOpeningLikeElement(E)}function resolveUntypedCall(E){if(callLikeExpressionMayHaveTypeArguments(E)){S.forEach(E.typeArguments,checkSourceElement)}if(E.kind===198){checkExpression(E.template)}else if(S.isJsxOpeningLikeElement(E)){checkExpression(E.attributes)}else if(E.kind!==157){S.forEach(E.arguments,(function(S){checkExpression(S)}))}return _r}function resolveErrorCall(S){resolveUntypedCall(S);return yr}function reorderCandidates(E,k,w){var N;var j;var q=0;var ee;var te=-1;var ne;S.Debug.assert(!k.length);for(var ae=0,_e=E;ae<_e.length;ae++){var ve=_e[ae];var Ee=ve.declaration&&getSymbolOfNode(ve.declaration);var Te=ve.declaration&&ve.declaration.parent;if(!j||Ee===j){if(N&&Te===N){ee=ee+1}else{N=Te;ee=q}}else{ee=q=k.length;N=Te}j=Ee;if(signatureHasLiteralTypes(ve)){te++;ne=te;q++}else{ne=ee}k.splice(ne,0,w?getOptionalCallSignature(ve,w):ve)}}function isSpreadArgument(S){return!!S&&(S.kind===213||S.kind===220&&S.isSpread)}function getSpreadArgumentIndex(E){return S.findIndex(E,isSpreadArgument)}function acceptsVoid(S){return!!(S.flags&16384)}function hasCorrectArity(E,k,w,N){if(N===void 0){N=false}var j;var q=false;var ee=getParameterCount(w);var te=getMinArgumentCount(w);if(E.kind===198){j=k.length;if(E.template.kind===211){var ne=S.last(E.template.templateSpans);q=S.nodeIsMissing(ne.literal)||!!ne.literal.isUnterminated}else{var ae=E.template;S.Debug.assert(ae.kind===14);q=!!ae.isUnterminated}}else if(E.kind===157){j=getDecoratorArgumentCount(E,w)}else if(S.isJsxOpeningLikeElement(E)){q=E.attributes.end===E.end;if(q){return true}j=te===0?k.length:1;ee=k.length===0?ee:1;te=Math.min(te,1)}else{if(!E.arguments){S.Debug.assert(E.kind===197);return getMinArgumentCount(w)===0}j=N?k.length+1:k.length;q=E.arguments.end===E.end;var _e=getSpreadArgumentIndex(k);if(_e>=0){return _e>=getMinArgumentCount(w)&&(hasEffectiveRestParameter(w)||_eee){return false}if(q||j>=te){return true}for(var ve=j;ve=N&&k.length<=w}function getSingleCallSignature(S){return getSingleSignature(S,0,false)}function getSingleCallOrConstructSignature(S){return getSingleSignature(S,0,false)||getSingleSignature(S,1,false)}function getSingleSignature(S,E,k){if(S.flags&524288){var w=resolveStructuredTypeMembers(S);if(k||w.properties.length===0&&!w.stringIndexInfo&&!w.numberIndexInfo){if(E===0&&w.callSignatures.length===1&&w.constructSignatures.length===0){return w.callSignatures[0]}if(E===1&&w.constructSignatures.length===1&&w.callSignatures.length===0){return w.constructSignatures[0]}}}return undefined}function instantiateSignatureInContextOf(E,k,w,N){var j=createInferenceContext(E.typeParameters,E,0,N);var q=getEffectiveRestType(k);var ee=w&&(q&&q.flags&262144?w.nonFixingMapper:w.mapper);var te=ee?instantiateSignature(k,ee):k;applyToParameterTypes(te,E,(function(S,E){inferTypes(j.inferences,S,E)}));if(!w){applyToReturnTypes(k,E,(function(S,E){inferTypes(j.inferences,S,E,32)}))}return getSignatureInstantiation(E,getInferredTypes(j),S.isInJSFile(k.declaration))}function inferJsxTypeArguments(S,E,k,w){var N=getEffectiveFirstArgumentForJsxSignature(E,S);var j=checkExpressionWithContextualType(S.attributes,N,w,k);inferTypes(w.inferences,j,N);return getInferredTypes(w)}function inferTypeArguments(E,k,w,N,j){if(S.isJsxOpeningLikeElement(E)){return inferJsxTypeArguments(E,k,N,j)}if(E.kind!==157){var q=getContextualType(E);if(q){var ee=getInferenceContext(E);var te=getMapperFromContext(cloneInferenceContext(ee,1));var ne=instantiateType(q,te);var ae=getSingleCallSignature(ne);var _e=ae&&ae.typeParameters?getOrCreateTypeFromSignature(getSignatureInstantiationWithoutFillingInTypeArguments(ae,ae.typeParameters)):ne;var ve=getReturnTypeOfSignature(k);inferTypes(j.inferences,_e,ve,32);var Ee=createInferenceContext(k.typeParameters,k,j.flags);var Te=instantiateType(q,ee&&ee.returnMapper);inferTypes(Ee.inferences,Te,ve);j.returnMapper=S.some(Ee.inferences,hasInferenceCandidates)?getMapperFromContext(cloneInferredPartOfContext(Ee)):undefined}}var Ce=getThisTypeOfSignature(k);if(Ce){var we=getThisArgumentOfCall(E);var Ne=we?checkExpression(we):Vt;inferTypes(j.inferences,Ne,Ce)}var Ie=getNonArrayRestType(k);var Fe=Ie?Math.min(getParameterCount(k)-1,w.length):w.length;for(var Oe=0;Oe=w-1){var q=E[w-1];if(isSpreadArgument(q)){return q.kind===220?createArrayType(q.type):getArrayifiedType(checkExpressionWithContextualType(q.expression,N,j,0))}}var ee=[];var te=-1;for(var ne=k;neve){ve=Me}}}if(!_e){return true}var Re=Infinity;for(var Le=0,Be=N;Le0||S.isJsxOpeningElement(E)&&E.parent.children.length>0?[E.attributes]:S.emptyArray}var N=E.arguments||S.emptyArray;var j=N.length;if(j&&isSpreadArgument(N[j-1])&&getSpreadArgumentIndex(N)===j-1){var q=N[j-1];var ee=xn?checkExpression(q.expression):checkExpressionCached(q.expression);if(isTupleType(ee)){var te=getTypeArguments(ee);var ne=ee.target.hasRestElement?te.length-1:-1;var ae=S.map(te,(function(S,E){return createSyntheticExpression(q,S,E===ne)}));return S.concatenate(N.slice(0,j-1),ae)}}return N}function getEffectiveDecoratorArguments(E){var k=E.parent;var w=E.expression;switch(k.kind){case 245:case 214:return[createSyntheticExpression(w,getTypeOfSymbol(getSymbolOfNode(k)))];case 156:var N=k.parent;return[createSyntheticExpression(w,k.parent.kind===162?getTypeOfSymbol(getSymbolOfNode(N)):At),createSyntheticExpression(w,kt),createSyntheticExpression(w,Lt)];case 159:case 161:case 163:case 164:var j=k.kind!==159&&He!==0;return[createSyntheticExpression(w,getParentTypeOfClassElement(k)),createSyntheticExpression(w,getClassElementPropertyKeyType(k)),createSyntheticExpression(w,j?createTypedPropertyDescriptorType(getTypeOfNode(k)):kt)]}return S.Debug.fail()}function getDecoratorArgumentCount(E,k){switch(E.parent.kind){case 245:case 214:return 1;case 159:return 2;case 161:case 163:case 164:return He===0||k.parameters.length<=2?2:3;case 156:return 3;default:return S.Debug.fail()}}function getDiagnosticSpanForCallNode(E,k){var w;var N;var j=S.getSourceFileOfNode(E);if(S.isPropertyAccessExpression(E.expression)){var q=S.getErrorSpanForNode(j,E.expression.name);w=q.start;N=k?q.length:E.end-w}else{var ee=S.getErrorSpanForNode(j,E.expression);w=ee.start;N=k?ee.length:E.end-w}return{start:w,length:N,sourceFile:j}}function getDiagnosticForCallNode(E,k,w,N,j,q){if(S.isCallExpression(E)){var ee=getDiagnosticSpanForCallNode(E),te=ee.sourceFile,ne=ee.start,ae=ee.length;return S.createFileDiagnostic(te,ne,ae,k,w,N,j,q)}else{return S.createDiagnosticForNode(E,k,w,N,j,q)}}function getArgumentArityError(E,k,w){var N=Number.POSITIVE_INFINITY;var j=Number.NEGATIVE_INFINITY;var q=Number.NEGATIVE_INFINITY;var ee=Number.POSITIVE_INFINITY;var te=w.length;var ne;for(var ae=0,_e=k;ae<_e.length;ae++){var ve=_e[ae];var Ee=getMinArgumentCount(ve);var Te=getParameterCount(ve);if(Eeq)q=Ee;if(te-1;if(te<=j&&Ne){te--}var Ie;var Fe;var Oe=Ce||Ne?Ce&&Ne?S.Diagnostics.Expected_at_least_0_arguments_but_got_1_or_more:Ce?S.Diagnostics.Expected_at_least_0_arguments_but_got_1:S.Diagnostics.Expected_0_arguments_but_got_1_or_more:S.Diagnostics.Expected_0_arguments_but_got_1;if(ne&&getMinArgumentCount(ne)>te&&ne.declaration){var Me=ne.declaration.parameters[ne.thisParameter?te+1:te];if(Me){Fe=S.createDiagnosticForNode(Me,S.isBindingPattern(Me.name)?S.Diagnostics.An_argument_matching_this_binding_pattern_was_not_provided:S.Diagnostics.An_argument_for_0_was_not_provided,!Me.name?te:!S.isBindingPattern(Me.name)?S.idText(S.getFirstIdentifier(Me.name)):undefined)}}if(Nte&&Le?w.indexOf(Le):Math.min(j,w.length-1)))}}else{Ie=S.createNodeArray(w.slice(j))}Ie.pos=S.first(Ie).pos;Ie.end=S.last(Ie).end;if(Ie.end===Ie.pos){Ie.end++}var Be=S.createDiagnosticForNodeArray(S.getSourceFileOfNode(E),Ie,Oe,we,te);return Fe?S.addRelatedInfo(Be,Fe):Be}function getTypeArgumentArityError(E,k,w){var N=w.length;if(k.length===1){var j=k[0];var q=getMinTypeArgumentCount(j.typeParameters);var ee=S.length(j.typeParameters);return S.createDiagnosticForNodeArray(S.getSourceFileOfNode(E),w,S.Diagnostics.Expected_0_type_arguments_but_got_1,qN){ne=Math.min(ne,ve)}else if(ee1){Fe=chooseOverload(ve,ni,Oe)}if(!Fe){Fe=chooseOverload(ve,ai,Oe)}if(Fe){return Fe}if(ae){if(we){if(we.length===1||we.length>3){var Me=we[we.length-1];var Re;if(we.length>3){Re=S.chainDiagnosticMessages(Re,S.Diagnostics.The_last_overload_gave_the_following_error);Re=S.chainDiagnosticMessages(Re,S.Diagnostics.No_overload_matches_this_call)}var Le=getSignatureApplicabilityError(E,Ee,Me,ai,0,true,(function(){return Re}));if(Le){for(var Be=0,je=Le;Be3){S.addRelatedInfo(ze,S.createDiagnosticForNode(Me.declaration,S.Diagnostics.The_last_overload_is_declared_here))}Qn.add(ze)}}else{S.Debug.fail("No error for last overload signature")}}else{var Ue=[];var We=0;var $e=Number.MAX_VALUE;var qe=0;var Ve=0;var _loop_17=function(k){var chain_2=function(){return S.chainDiagnosticMessages(undefined,S.Diagnostics.Overload_0_of_1_2_gave_the_following_error,Ve+1,ve.length,signatureToString(k))};var w=getSignatureApplicabilityError(E,Ee,k,ai,0,true,chain_2);if(w){if(w.length<=$e){$e=w.length;qe=Ve}We=Math.max(We,w.length);Ue.push(w)}else{S.Debug.fail("No error for 3 or fewer overload signatures")}Ve++};for(var He=0,Ge=we;He1?Ue[qe]:S.flatten(Ue);S.Debug.assert(Ke.length>0,"No errors reported for 3 or fewer overload signatures");var Qe=S.chainDiagnosticMessages(S.map(Ke,(function(S){return typeof S.messageText==="string"?S:S.messageText})),S.Diagnostics.No_overload_matches_this_call);var Xe=S.flatMap(Ke,(function(S){return S.relatedInformation}));if(S.every(Ke,(function(S){return S.start===Ke[0].start&&S.length===Ke[0].length&&S.file===Ke[0].file}))){var Ye=Ke[0],Ze=Ye.file,et=Ye.start,tt=Ye.length;Qn.add({file:Ze,start:et,length:tt,code:Qe.code,category:Qe.category,messageText:Qe,relatedInformation:Xe})}else{Qn.add(S.createDiagnosticForNodeFromMessageChain(E,Qe,Xe))}}}else if(Ne){Qn.add(getArgumentArityError(E,[Ne],Ee))}else if(Ie){checkTypeArguments(Ie,E.typeArguments,true,q)}else{var rt=S.filter(k,(function(S){return hasCorrectTypeArgumentArity(S,_e)}));if(rt.length===0){Qn.add(getTypeArgumentArityError(E,k,_e))}else if(!te){Qn.add(getArgumentArityError(E,rt,Ee))}else if(q){Qn.add(getDiagnosticForCallNode(E,q))}}}return getCandidateForOverloadFailure(E,ve,Ee,!!w);function chooseOverload(k,w,N){if(N===void 0){N=false}we=undefined;Ne=undefined;Ie=undefined;if(Te){var j=k[0];if(S.some(_e)||!hasCorrectArity(E,Ee,j,N)){return undefined}if(getSignatureApplicabilityError(E,Ee,j,w,0,false,undefined)){we=[j];return undefined}return j}for(var q=0;q0);checkNodeDeferred(E);return N||k.length===1||k.some((function(S){return!!S.typeParameters}))?pickLongestCandidateSignature(E,k,w):createUnionOfSignaturesForOverloadFailure(k)}function createUnionOfSignaturesForOverloadFailure(E){var k=S.mapDefined(E,(function(S){return S.thisParameter}));var w;if(k.length){w=createCombinedSymbolFromTypes(k,k.map(getTypeOfParameter))}var N=S.minAndMax(E,getNumNonRestParameters),j=N.min,q=N.max;var ee=[];var _loop_18=function(k){var w=S.mapDefined(E,(function(E){return signatureHasRestParameter(E)?kE.length){w.pop()}while(w.length=E){return N}if(q>w){w=q;k=N}}return k}function resolveCallExpression(E,k,w){if(E.expression.kind===102){var N=checkSuperExpression(E.expression);if(isTypeAny(N)){for(var j=0,q=E.arguments;j=0){error(E.arguments[N],S.Diagnostics.Spread_operator_in_new_expressions_is_only_available_when_targeting_ECMAScript_5_and_higher)}}var j=checkNonNullExpression(E.expression);if(j===Gt){return br}j=getApparentType(j);if(j===At){return resolveErrorCall(E)}if(isTypeAny(j)){if(E.typeArguments){error(E,S.Diagnostics.Untyped_function_calls_may_not_accept_type_arguments)}return resolveUntypedCall(E)}var q=getSignaturesOfType(j,1);if(q.length){if(!isConstructorAccessible(E,q[0])){return resolveErrorCall(E)}var ee=j.symbol&&S.getClassLikeDeclarationOfSymbol(j.symbol);if(ee&&S.hasModifier(ee,128)){error(E,S.Diagnostics.Cannot_create_an_instance_of_an_abstract_class);return resolveErrorCall(E)}return resolveCall(E,q,k,w,0)}var te=getSignaturesOfType(j,0);if(te.length){var ne=resolveCall(E,te,k,w,0);if(!Ze){if(ne.declaration&&!isJSConstructor(ne.declaration)&&getReturnTypeOfSignature(ne)!==Vt){error(E,S.Diagnostics.Only_a_void_function_can_be_called_with_the_new_keyword)}if(getThisTypeOfSignature(ne)===Vt){error(E,S.Diagnostics.A_function_that_is_called_with_the_new_keyword_cannot_have_a_this_type_that_is_void)}}return ne}invocationError(E.expression,j,1);return resolveErrorCall(E)}function typeHasProtectedAccessibleBase(E,k){var w=getBaseTypes(k);if(!S.length(w)){return false}var N=w[0];if(N.flags&2097152){var j=N.types;var q=findMixins(j);var ee=0;for(var te=0,ne=N.types;te0;if(E.flags&1048576){var ee=E.types;var te=false;for(var ne=0,ae=ee;ne0){return S.parameters.length-1+w}}}if(!E&&S.flags&16){return 0}return S.minArgumentCount}function hasEffectiveRestParameter(S){if(signatureHasRestParameter(S)){var E=getTypeOfSymbol(S.parameters[S.parameters.length-1]);return!isTupleType(E)||E.target.hasRestElement}return false}function getEffectiveRestType(S){if(signatureHasRestParameter(S)){var E=getTypeOfSymbol(S.parameters[S.parameters.length-1]);return isTupleType(E)?getRestArrayTypeOfTupleType(E):E}return undefined}function getNonArrayRestType(S){var E=getEffectiveRestType(S);return E&&!isArrayType(E)&&!isTypeAny(E)&&(getReducedType(E).flags&131072)===0?E:undefined}function getTypeOfFirstParameterOfSignature(S){return getTypeOfFirstParameterOfSignatureWithFallback(S,Ht)}function getTypeOfFirstParameterOfSignatureWithFallback(S,E){return S.parameters.length>0?getTypeAtPosition(S,0):E}function inferFromAnnotatedParameters(E,k,w){var N=E.parameters.length-(signatureHasRestParameter(E)?1:0);for(var j=0;j0){q=getUnionType(ae,2)}var _e=checkAndAggregateYieldOperandTypes(E,k),ve=_e.yieldTypes,Ee=_e.nextTypes;ee=S.some(ve)?getUnionType(ve,2):undefined;te=S.some(Ee)?getIntersectionType(Ee):undefined}else{var Te=checkAndAggregateReturnExpressionTypes(E,k);if(!Te){return w&2?createPromiseReturnType(E,Ht):Ht}if(Te.length===0){return w&2?createPromiseReturnType(E,Vt):Vt}q=getUnionType(Te,2)}if(q||ee||te){if(ee)reportErrorsFromWidening(E,ee,3);if(q)reportErrorsFromWidening(E,q,1);if(te)reportErrorsFromWidening(E,te,2);if(q&&isUnitType(q)||ee&&isUnitType(ee)||te&&isUnitType(te)){var Ce=getContextualSignatureForFunctionLikeDeclaration(E);var we=!Ce?undefined:Ce===getSignatureFromDeclaration(E)?j?undefined:q:instantiateContextualType(getReturnTypeOfSignature(Ce),E);if(j){ee=getWidenedLiteralLikeTypeForContextualIterationTypeIfNeeded(ee,we,0,N);q=getWidenedLiteralLikeTypeForContextualIterationTypeIfNeeded(q,we,1,N);te=getWidenedLiteralLikeTypeForContextualIterationTypeIfNeeded(te,we,2,N)}else{q=getWidenedLiteralLikeTypeForContextualReturnTypeIfNeeded(q,we,N)}}if(ee)ee=getWidenedType(ee);if(q)q=getWidenedType(q);if(te)te=getWidenedType(te)}if(j){return createGeneratorReturnType(ee||Ht,q||ne,te||getContextualIterationType(2,E)||Pt,N)}else{return N?createPromiseType(q||ne):q||ne}}function createGeneratorReturnType(S,E,k,w){var N=w?Dr:Ar;var j=N.getGlobalGeneratorType(false);S=N.resolveIterationType(S,undefined)||Pt;E=N.resolveIterationType(E,undefined)||Pt;k=N.resolveIterationType(k,undefined)||Pt;if(j===cr){var q=N.getGlobalIterableIteratorType(false);var ee=q!==cr?getIterationTypesOfGlobalIterableType(q,N):undefined;var te=ee?ee.returnType:kt;var ne=ee?ee.nextType:Nt;if(isTypeAssignableTo(E,te)&&isTypeAssignableTo(ne,k)){if(q!==cr){return createTypeFromGenericGlobalType(q,[S])}N.getGlobalIterableIteratorType(true);return nr}N.getGlobalGeneratorType(true);return nr}return createTypeFromGenericGlobalType(j,[S,E,k])}function checkAndAggregateYieldOperandTypes(E,k){var w=[];var N=[];var j=(S.getFunctionFlags(E)&2)!==0;S.forEachYieldExpression(E.body,(function(E){var q=E.expression?checkExpression(E.expression,k):It;S.pushIfUnique(w,getYieldedTypeOfYieldExpression(E,q,kt,j));var ee;if(E.asteriskToken){var te=getIterationTypesOfIterable(q,j?19:17,E.expression);ee=te&&te.nextType}else{ee=getContextualType(E)}if(ee)S.pushIfUnique(N,ee)}));return{yieldTypes:w,nextTypes:N}}function getYieldedTypeOfYieldExpression(E,k,w,N){var j=E.expression||E;var q=E.asteriskToken?checkIteratedTypeOrElementType(N?19:17,k,w,j):k;return!N?q:getAwaitedType(q,j,E.asteriskToken?S.Diagnostics.Type_of_iterated_elements_of_a_yield_Asterisk_operand_must_either_be_a_valid_promise_or_must_not_contain_a_callable_then_member:S.Diagnostics.Type_of_yield_operand_in_an_async_generator_must_either_be_a_valid_promise_or_must_not_contain_a_callable_then_member)}function getFactsFromTypeofSwitch(S,E,k,w){var N=0;if(w){for(var j=E;j=0){E=w.expr[N];switch(w.state[N]){case 0:{if(S.isInJSFile(E)&&S.getAssignedExpandoInitializer(E)){finishInvocation(checkExpression(E.right,k));break}checkGrammarNullishCoalesceWithLogicalExpression(E);var q=E.operatorToken.kind;if(q===62&&(E.left.kind===193||E.left.kind===192)){finishInvocation(checkDestructuringAssignment(E.left,checkExpression(E.right,k),k,E.right.kind===104));break}advanceState(1);maybeCheckExpression(E.left);break}case 1:{var ee=j;w.leftType[N]=ee;var q=E.operatorToken.kind;if(q===55||q===56||q===60){checkTruthinessOfType(ee,E.left)}advanceState(2);maybeCheckExpression(E.right);break}case 2:{var ee=w.leftType[N];var te=j;finishInvocation(checkBinaryLikeExpressionWorker(E.left,E.operatorToken,E.right,ee,te,E));break}default:return S.Debug.fail("Invalid state "+w.state[N]+" for checkBinaryExpression")}}return j;function finishInvocation(S){j=S;N--}function advanceState(S){w.state[N]=S}function maybeCheckExpression(E){if(S.isBinaryExpression(E)){N++;w.expr[N]=E;w.state[N]=0;w.leftType[N]=undefined}else{j=checkExpression(E,k)}}}function checkGrammarNullishCoalesceWithLogicalExpression(E){var k=E.left,w=E.operatorToken,N=E.right;if(w.kind===60){if(S.isBinaryExpression(k)&&(k.operatorToken.kind===56||k.operatorToken.kind===55)){grammarErrorOnNode(k,S.Diagnostics._0_and_1_operations_cannot_be_mixed_without_parentheses,S.tokenToString(k.operatorToken.kind),S.tokenToString(w.kind))}if(S.isBinaryExpression(N)&&(N.operatorToken.kind===56||N.operatorToken.kind===55)){grammarErrorOnNode(N,S.Diagnostics._0_and_1_operations_cannot_be_mixed_without_parentheses,S.tokenToString(N.operatorToken.kind),S.tokenToString(w.kind))}}}function checkBinaryLikeExpression(S,E,k,w,N){var j=E.kind;if(j===62&&(S.kind===193||S.kind===192)){return checkDestructuringAssignment(S,checkExpression(k,w),w,k.kind===104)}var q;if(j===55||j===56||j===60){q=checkTruthinessExpression(S,w)}else{q=checkExpression(S,w)}var ee=checkExpression(k,w);return checkBinaryLikeExpressionWorker(S,E,k,q,ee,N)}function checkBinaryLikeExpressionWorker(E,k,w,N,j,q){var te=k.kind;switch(te){case 41:case 42:case 65:case 66:case 43:case 67:case 44:case 68:case 40:case 64:case 47:case 69:case 48:case 70:case 49:case 71:case 51:case 73:case 52:case 74:case 50:case 72:if(N===Gt||j===Gt){return Gt}N=checkNonNullType(N,E);j=checkNonNullType(j,w);var ne=void 0;if(N.flags&528&&j.flags&528&&(ne=getSuggestedBooleanOperator(k.kind))!==undefined){error(q||k,S.Diagnostics.The_0_operator_is_not_allowed_for_boolean_types_Consider_using_1_instead,S.tokenToString(k.kind),S.tokenToString(ne));return Lt}else{var ae=checkArithmeticOperandType(E,N,S.Diagnostics.The_left_hand_side_of_an_arithmetic_operation_must_be_of_type_any_number_bigint_or_an_enum_type,true);var _e=checkArithmeticOperandType(w,j,S.Diagnostics.The_right_hand_side_of_an_arithmetic_operation_must_be_of_type_any_number_bigint_or_an_enum_type,true);var ve;if(isTypeAssignableToKind(N,3)&&isTypeAssignableToKind(j,3)||!(maybeTypeOfKind(N,2112)||maybeTypeOfKind(j,2112))){ve=Lt}else if(bothAreBigIntLike(N,j)){switch(te){case 49:case 71:reportOperatorError()}ve=Bt}else{reportOperatorError(bothAreBigIntLike);ve=At}if(ae&&_e){checkAssignmentOperator(ve)}return ve}case 39:case 63:if(N===Gt||j===Gt){return Gt}if(!isTypeAssignableToKind(N,132)&&!isTypeAssignableToKind(j,132)){N=checkNonNullType(N,E);j=checkNonNullType(j,w)}var Ee=void 0;if(isTypeAssignableToKind(N,296,true)&&isTypeAssignableToKind(j,296,true)){Ee=Lt}else if(isTypeAssignableToKind(N,2112,true)&&isTypeAssignableToKind(j,2112,true)){Ee=Bt}else if(isTypeAssignableToKind(N,132,true)||isTypeAssignableToKind(j,132,true)){Ee=Rt}else if(isTypeAny(N)||isTypeAny(j)){Ee=N===At||j===At?At:kt}if(Ee&&!checkForDisallowedESSymbolOperand(te)){return Ee}if(!Ee){var Te=296|2112|132|3;reportOperatorError((function(S,E){return isTypeAssignableToKind(S,Te)&&isTypeAssignableToKind(E,Te)}));return kt}if(te===63){checkAssignmentOperator(Ee)}return Ee;case 29:case 31:case 32:case 33:if(checkForDisallowedESSymbolOperand(te)){N=getBaseTypeOfLiteralType(checkNonNullType(N,E));j=getBaseTypeOfLiteralType(checkNonNullType(j,w));reportOperatorErrorUnless((function(S,E){return isTypeComparableTo(S,E)||isTypeComparableTo(E,S)||isTypeAssignableTo(S,er)&&isTypeAssignableTo(E,er)}))}return $t;case 34:case 35:case 36:case 37:reportOperatorErrorUnless((function(S,E){return isTypeEqualityComparableTo(S,E)||isTypeEqualityComparableTo(E,S)}));return $t;case 98:return checkInstanceOfExpression(E,w,N,j);case 97:return checkInExpression(E,w,N,j);case 55:return getTypeFacts(N)&4194304?getUnionType([extractDefinitelyFalsyTypes(Ke?N:getBaseTypeOfLiteralType(j)),j]):N;case 56:return getTypeFacts(N)&8388608?getUnionType([removeDefinitelyFalsyTypes(N),j],2):N;case 60:return getTypeFacts(N)&262144?getUnionType([getNonNullableType(N),j],2):N;case 62:var Ce=S.isBinaryExpression(E.parent)?S.getAssignmentDeclarationKind(E.parent):0;checkAssignmentDeclaration(Ce,j);if(isAssignmentDeclaration(Ce)){if(!(j.flags&524288)||Ce!==2&&Ce!==6&&!isEmptyObjectType(j)&&!isFunctionObjectType(j)&&!(S.getObjectFlags(j)&1)){checkAssignmentOperator(j)}return N}else{checkAssignmentOperator(j);return getRegularTypeOfObjectLiteral(j)}case 27:if(!Ve.allowUnreachableCode&&isSideEffectFree(E)&&!isEvalNode(w)){error(E,S.Diagnostics.Left_side_of_comma_operator_is_unused_and_has_no_side_effects)}return j;default:return S.Debug.fail()}function bothAreBigIntLike(S,E){return isTypeAssignableToKind(S,2112)&&isTypeAssignableToKind(E,2112)}function checkAssignmentDeclaration(E,k){if(E===2){for(var w=0,N=getPropertiesOfObjectType(k);w1&&E.charCodeAt(k-1)>=48&&E.charCodeAt(k-1)<=57)k--;var w=E.slice(0,k);for(var N=1;true;N++){var j=w+N;if(!hasTypeParameterByName(S,j)){return j}}}function getReturnTypeOfSingleNonGenericCallSignature(S){var E=getSingleCallSignature(S);if(E&&!E.typeParameters){return getReturnTypeOfSignature(E)}}function getReturnTypeOfSingleNonGenericSignatureOfCallChain(S){var E=checkExpression(S.expression);var k=getOptionalExpressionType(E,S.expression);var w=getReturnTypeOfSingleNonGenericCallSignature(E);return w&&propagateOptionalTypeMarker(w,S,k!==E)}function getTypeOfExpression(S){var E=getQuickTypeOfExpression(S);if(E){return E}if(S.flags&67108864&&Dn){var k=Dn[getNodeId(S)];if(k){return k}}var w=Tn;var N=checkExpression(S);if(Tn!==w){var j=Dn||(Dn=[]);j[getNodeId(S)]=N;S.flags|=67108864}return N}function getQuickTypeOfExpression(E){var k=S.skipParentheses(E);if(S.isCallExpression(k)&&k.expression.kind!==102&&!S.isRequireCall(k,true)&&!isSymbolOrSymbolForCall(k)){var w=S.isCallChain(k)?getReturnTypeOfSingleNonGenericSignatureOfCallChain(k):getReturnTypeOfSingleNonGenericCallSignature(checkNonNullExpression(k.expression));if(w){return w}}else if(S.isAssertionExpression(k)&&!S.isConstTypeReference(k.type)){return getTypeFromTypeNode(k.type)}else if(E.kind===8||E.kind===10||E.kind===106||E.kind===91){return checkExpression(E)}return undefined}function getContextFreeTypeOfExpression(S){var E=getNodeLinks(S);if(E.contextFreeType){return E.contextFreeType}var k=S.contextualType;S.contextualType=kt;try{var w=E.contextFreeType=checkExpression(S,4);return w}finally{S.contextualType=k}}function checkExpression(S,E,k){var w=Ue;Ue=S;Le=0;var N=checkExpressionWorker(S,E,k);var j=instantiateTypeWithSingleGenericCallSignature(S,N,E);if(isConstEnumObjectType(j)){checkConstEnumAccess(S,j)}Ue=w;return j}function checkConstEnumAccess(E,k){var w=E.parent.kind===194&&E.parent.expression===E||E.parent.kind===195&&E.parent.expression===E||((E.kind===75||E.kind===153)&&isInRightSideOfImportOrExportAssignment(E)||E.parent.kind===172&&E.parent.exprName===E)||E.parent.kind===263;if(!w){error(E,S.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(Ve.isolatedModules){S.Debug.assert(!!(k.symbol.flags&128));var N=k.symbol.valueDeclaration;if(N.flags&8388608){error(E,S.Diagnostics.Cannot_access_ambient_const_enums_when_the_isolatedModules_flag_is_provided)}}}function checkParenthesizedExpression(E,k){var w=S.isInJSFile(E)?S.getJSDocTypeTag(E):undefined;if(w){return checkAssertionWorker(w,w.typeExpression.type,E.expression,k)}return checkExpression(E.expression,k)}function checkExpressionWorker(E,k,w){var N=E.kind;if(_e){switch(N){case 214:case 201:case 202:_e.throwIfCancellationRequested()}}switch(N){case 75:return checkIdentifier(E);case 104:return checkThisExpression(E);case 102:return checkSuperExpression(E);case 100:return Mt;case 14:case 10:return getFreshTypeOfLiteralType(getLiteralType(E.text));case 8:checkGrammarNumericLiteral(E);return getFreshTypeOfLiteralType(getLiteralType(+E.text));case 9:checkGrammarBigIntLiteral(E);return getFreshTypeOfLiteralType(getBigIntLiteralType(E));case 106:return Ut;case 91:return jt;case 211:return checkTemplateExpression(E);case 13:return $r;case 192:return checkArrayLiteral(E,k,w);case 193:return checkObjectLiteral(E,k);case 194:return checkPropertyAccessExpression(E);case 153:return checkQualifiedName(E);case 195:return checkIndexedAccess(E);case 196:if(E.expression.kind===96){return checkImportCallExpression(E)}case 197:return checkCallExpression(E,k);case 198:return checkTaggedTemplateExpression(E);case 200:return checkParenthesizedExpression(E,k);case 214:return checkClassExpression(E);case 201:case 202:return checkFunctionExpressionOrObjectLiteralMethod(E,k);case 204:return checkTypeOfExpression(E);case 199:case 217:return checkAssertion(E);case 218:return checkNonNullAssertion(E);case 219:return checkMetaProperty(E);case 203:return checkDeleteExpression(E);case 205:return checkVoidExpression(E);case 206:return checkAwaitExpression(E);case 207:return checkPrefixUnaryExpression(E);case 208:return checkPostfixUnaryExpression(E);case 209:return checkBinaryExpression(E,k);case 210:return checkConditionalExpression(E,k);case 213:return checkSpreadExpression(E,k);case 215:return It;case 212:return checkYieldExpression(E);case 220:return E.type;case 276:return checkJsxExpression(E,k);case 266:return checkJsxElement(E,k);case 267:return checkJsxSelfClosingElement(E,k);case 270:return checkJsxFragment(E);case 274:return checkJsxAttributes(E,k);case 268:S.Debug.fail("Shouldn't ever directly check a JsxOpeningElement")}return At}function checkTypeParameter(E){if(E.expression){grammarErrorOnFirstToken(E.expression,S.Diagnostics.Type_expected)}checkSourceElement(E.constraint);checkSourceElement(E.default);var k=getDeclaredTypeOfTypeParameter(getSymbolOfNode(E));getBaseConstraintOfType(k);if(!hasNonCircularTypeParameterDefault(k)){error(E.default,S.Diagnostics.Type_parameter_0_has_a_circular_default,typeToString(k))}var w=getConstraintOfTypeParameter(k);var N=getDefaultFromTypeParameter(k);if(w&&N){checkTypeAssignableTo(N,getTypeWithThisArgument(instantiateType(w,makeUnaryTypeMapper(k,N)),N),E.default,S.Diagnostics.Type_0_does_not_satisfy_the_constraint_1)}if(ee){checkTypeNameIsReserved(E.name,S.Diagnostics.Type_parameter_name_cannot_be_0)}}function checkParameter(E){checkGrammarDecoratorsAndModifiers(E);checkVariableLikeDeclaration(E);var k=S.getContainingFunction(E);if(S.hasModifier(E,92)){if(!(k.kind===162&&S.nodeIsPresent(k.body))){error(E,S.Diagnostics.A_parameter_property_is_only_allowed_in_a_constructor_implementation)}if(k.kind===162&&S.isIdentifier(E.name)&&E.name.escapedText==="constructor"){error(E.name,S.Diagnostics.constructor_cannot_be_used_as_a_parameter_property_name)}}if(E.questionToken&&S.isBindingPattern(E.name)&&k.body){error(E,S.Diagnostics.A_binding_pattern_parameter_cannot_be_optional_in_an_implementation_signature)}if(E.name&&S.isIdentifier(E.name)&&(E.name.escapedText==="this"||E.name.escapedText==="new")){if(k.parameters.indexOf(E)!==0){error(E,S.Diagnostics.A_0_parameter_must_be_the_first_parameter,E.name.escapedText)}if(k.kind===162||k.kind===166||k.kind===171){error(E,S.Diagnostics.A_constructor_cannot_have_a_this_parameter)}if(k.kind===202){error(E,S.Diagnostics.An_arrow_function_cannot_have_a_this_parameter)}if(k.kind===163||k.kind===164){error(E,S.Diagnostics.get_and_set_accessors_cannot_declare_this_parameters)}}if(E.dotDotDotToken&&!S.isBindingPattern(E.name)&&!isTypeAssignableTo(getReducedType(getTypeOfSymbol(E.symbol)),Gr)){error(E,S.Diagnostics.A_rest_parameter_must_be_of_an_array_type)}}function checkTypePredicate(E){var k=getTypePredicateParent(E);if(!k){error(E,S.Diagnostics.A_type_predicate_is_only_allowed_in_return_type_position_for_functions_and_methods);return}var w=getSignatureFromDeclaration(k);var N=getTypePredicateOfSignature(w);if(!N){return}checkSourceElement(E.type);var j=E.parameterName;if(N.kind===0||N.kind===2){getTypeFromThisTypeNode(j)}else{if(N.parameterIndex>=0){if(signatureHasRestParameter(w)&&N.parameterIndex===w.parameters.length-1){error(j,S.Diagnostics.A_type_predicate_cannot_reference_a_rest_parameter)}else{if(N.type){var leadingError=function(){return S.chainDiagnosticMessages(undefined,S.Diagnostics.A_type_predicate_s_type_must_be_assignable_to_its_parameter_s_type)};checkTypeAssignableTo(N.type,getTypeOfSymbol(w.parameters[N.parameterIndex]),E.type,undefined,leadingError)}}}else if(j){var q=false;for(var ee=0,te=k.parameters;ee0&&k.declarations[0]!==E){return}}var w=getIndexSymbol(getSymbolOfNode(E));if(w){var N=false;var j=false;for(var q=0,ee=w.declarations;q0}function getAwaitedType(S,E,k,w){if(isTypeAny(S)){return S}var N=S;if(N.awaitedTypeOfType){return N.awaitedTypeOfType}return N.awaitedTypeOfType=mapType(S,E?function(S){return getAwaitedTypeWorker(S,E,k,w)}:getAwaitedTypeWorker)}function getAwaitedTypeWorker(E,k,w,N){var j=E;if(j.awaitedTypeOfType){return j.awaitedTypeOfType}var q=getPromisedTypeOfPromise(E);if(q){if(E.id===q.id||Kn.lastIndexOf(q.id)>=0){if(k){error(k,S.Diagnostics.Type_is_referenced_directly_or_indirectly_in_the_fulfillment_callback_of_its_own_then_method)}return undefined}Kn.push(E.id);var ee=getAwaitedType(q,k,w,N);Kn.pop();if(!ee){return undefined}return j.awaitedTypeOfType=ee}if(isThenableType(E)){if(k){if(!w)return S.Debug.fail();error(k,w,N)}return undefined}return j.awaitedTypeOfType=E}function checkAsyncFunctionReturnType(E,k){var w=getTypeFromTypeNode(k);if(He>=2){if(w===At){return}var N=getGlobalPromiseType(true);if(N!==cr&&!isReferenceToType(w,N)){error(k,S.Diagnostics.The_return_type_of_an_async_function_or_method_must_be_the_global_Promise_T_type);return}}else{markTypeNodeAsReferenced(k);if(w===At){return}var j=S.getEntityNameFromTypeNode(k);if(j===undefined){error(k,S.Diagnostics.Type_0_is_not_a_valid_async_function_return_type_in_ES5_SlashES3_because_it_does_not_refer_to_a_Promise_compatible_constructor_value,typeToString(w));return}var q=resolveEntityName(j,111551,true);var ee=q?getTypeOfSymbol(q):At;if(ee===At){if(j.kind===75&&j.escapedText==="Promise"&&getTargetType(w)===getGlobalPromiseType(false)){error(k,S.Diagnostics.An_async_function_or_method_in_ES5_SlashES3_requires_the_Promise_constructor_Make_sure_you_have_a_declaration_for_the_Promise_constructor_or_include_ES2015_in_your_lib_option)}else{error(k,S.Diagnostics.Type_0_is_not_a_valid_async_function_return_type_in_ES5_SlashES3_because_it_does_not_refer_to_a_Promise_compatible_constructor_value,S.entityNameToString(j))}return}var te=getGlobalPromiseConstructorLikeType(true);if(te===nr){error(k,S.Diagnostics.Type_0_is_not_a_valid_async_function_return_type_in_ES5_SlashES3_because_it_does_not_refer_to_a_Promise_compatible_constructor_value,S.entityNameToString(j));return}if(!checkTypeAssignableTo(ee,te,k,S.Diagnostics.Type_0_is_not_a_valid_async_function_return_type_in_ES5_SlashES3_because_it_does_not_refer_to_a_Promise_compatible_constructor_value)){return}var ne=j&&S.getFirstIdentifier(j);var ae=getSymbol(E.locals,ne.escapedText,111551);if(ae){error(ae.valueDeclaration,S.Diagnostics.Duplicate_identifier_0_Compiler_uses_declaration_1_to_support_async_functions,S.idText(ne),S.entityNameToString(j));return}}checkAwaitedType(w,E,S.Diagnostics.The_return_type_of_an_async_function_must_either_be_a_valid_promise_or_must_not_contain_a_callable_then_member)}function checkDecorator(E){var k=getResolvedSignature(E);var w=getReturnTypeOfSignature(k);if(w.flags&1){return}var N;var j=getDiagnosticHeadMessageForDecoratorResolution(E);var q;switch(E.parent.kind){case 245:var ee=getSymbolOfNode(E.parent);var te=getTypeOfSymbol(ee);N=getUnionType([te,Vt]);break;case 156:N=Vt;q=S.chainDiagnosticMessages(undefined,S.Diagnostics.The_return_type_of_a_parameter_decorator_function_must_be_either_void_or_any);break;case 159:N=Vt;q=S.chainDiagnosticMessages(undefined,S.Diagnostics.The_return_type_of_a_property_decorator_function_must_be_either_void_or_any);break;case 161:case 163:case 164:var ne=getTypeOfNode(E.parent);var ae=createTypedPropertyDescriptorType(ne);N=getUnionType([ae,Vt]);break;default:return S.Debug.fail()}checkTypeAssignableTo(w,N,E,j,(function(){return q}))}function markTypeNodeAsReferenced(E){markEntityNameOrEntityExpressionAsReference(E&&S.getEntityNameFromTypeNode(E))}function markEntityNameOrEntityExpressionAsReference(E){if(!E)return;var k=S.getFirstIdentifier(E);var w=(E.kind===75?788968:1920)|2097152;var N=resolveName(k,k.escapedText,w,undefined,undefined,true);if(N&&N.flags&2097152&&symbolIsValue(N)&&!isConstEnumOrConstEnumOnlyModule(resolveAlias(N))&&!getTypeOnlyAliasDeclaration(N)){markAliasSymbolAsReferenced(N)}}function markDecoratorMedataDataTypeNodeAsReferenced(E){var k=getEntityNameForDecoratorMetadata(E);if(k&&S.isEntityName(k)){markEntityNameOrEntityExpressionAsReference(k)}}function getEntityNameForDecoratorMetadata(S){if(S){switch(S.kind){case 179:case 178:return getEntityNameForDecoratorMetadataFromTypeList(S.types);case 180:return getEntityNameForDecoratorMetadataFromTypeList([S.trueType,S.falseType]);case 182:return getEntityNameForDecoratorMetadata(S.type);case 169:return S.typeName}}}function getEntityNameForDecoratorMetadataFromTypeList(E){var k;for(var w=0,N=E;w-1&&w0);if(w.length>1){error(w[1],S.Diagnostics.Class_declarations_cannot_have_more_than_one_augments_or_extends_tag)}var N=getIdentifierFromEntityNameExpression(E.class.expression);var j=S.getClassExtendsHeritageElement(k);if(j){var q=getIdentifierFromEntityNameExpression(j.expression);if(q&&N.escapedText!==q.escapedText){error(N,S.Diagnostics.JSDoc_0_1_does_not_match_the_extends_2_clause,S.idText(E.tagName),S.idText(N),S.idText(q))}}}function getIdentifierFromEntityNameExpression(S){switch(S.kind){case 75:return S;case 194:return S.name;default:return undefined}}function checkFunctionOrMethodDeclaration(E){checkDecorators(E);checkSignatureDeclaration(E);var k=S.getFunctionFlags(E);if(E.name&&E.name.kind===154){checkComputedPropertyName(E.name)}if(!hasNonBindableDynamicName(E)){var w=getSymbolOfNode(E);var N=E.localSymbol||w;var j=S.find(N.declarations,(function(S){return S.kind===E.kind&&!(S.flags&131072)}));if(E===j){checkFunctionOrConstructorSymbol(N)}if(w.parent){if(S.getDeclarationOfKind(w,E.kind)===E){checkFunctionOrConstructorSymbol(w)}}}var q=E.kind===160?undefined:E.body;checkSourceElement(q);checkAllCodePathsInNonVoidFunctionReturnOrThrow(E,getReturnTypeFromAnnotation(E));if(ee&&!S.getEffectiveReturnTypeNode(E)){if(S.nodeIsMissing(q)&&!isPrivateWithinAmbient(E)){reportImplicitAny(E,kt)}if(k&1&&S.nodeIsPresent(q)){getReturnTypeOfSignature(getSignatureFromDeclaration(E))}}if(S.isInJSFile(E)){var te=S.getJSDocTypeTag(E);if(te&&te.typeExpression&&!getContextualCallSignature(getTypeFromTypeNode(te.typeExpression),E)){error(te,S.Diagnostics.The_type_of_a_function_declaration_must_match_the_function_s_signature)}}}function registerForUnusedIdentifiersCheck(E){if(ee){var k=S.getSourceFileOfNode(E);var w=vn.get(k.path);if(!w){w=[];vn.set(k.path,w)}w.push(E)}}function checkUnusedIdentifiers(E,k){for(var w=0,N=E;w=2||Ve.noEmit||!S.hasRestParameter(E)||E.flags&8388608||S.nodeIsMissing(E.body)){return}S.forEach(E.parameters,(function(E){if(E.name&&!S.isBindingPattern(E.name)&&E.name.escapedText===ut.escapedName){error(E,S.Diagnostics.Duplicate_identifier_arguments_Compiler_uses_arguments_to_initialize_rest_parameters)}}))}function needCollisionCheckForIdentifier(E,k,w){if(!(k&&k.escapedText===w)){return false}if(E.kind===159||E.kind===158||E.kind===161||E.kind===160||E.kind===163||E.kind===164){return false}if(E.flags&8388608){return false}var N=S.getRootDeclaration(E);if(N.kind===156&&S.nodeIsMissing(N.parent.body)){return false}return true}function checkIfThisIsCapturedInEnclosingScope(E){S.findAncestor(E,(function(k){if(getNodeCheckFlags(k)&4){var w=E.kind!==75;if(w){error(S.getNameOfDeclaration(E),S.Diagnostics.Duplicate_identifier_this_Compiler_uses_variable_declaration_this_to_capture_this_reference)}else{error(E,S.Diagnostics.Expression_resolves_to_variable_declaration_this_that_compiler_uses_to_capture_this_reference)}return true}return false}))}function checkIfNewTargetIsCapturedInEnclosingScope(E){S.findAncestor(E,(function(k){if(getNodeCheckFlags(k)&8){var w=E.kind!==75;if(w){error(S.getNameOfDeclaration(E),S.Diagnostics.Duplicate_identifier_newTarget_Compiler_uses_variable_declaration_newTarget_to_capture_new_target_meta_property_reference)}else{error(E,S.Diagnostics.Expression_resolves_to_variable_declaration_newTarget_that_compiler_uses_to_capture_new_target_meta_property_reference)}return true}return false}))}function checkWeakMapCollision(E){var k=S.getEnclosingBlockScopeContainer(E);if(getNodeCheckFlags(k)&67108864){error(E,S.Diagnostics.Compiler_reserves_name_0_when_emitting_private_identifier_downlevel,"WeakMap")}}function checkCollisionWithRequireExportsInGeneratedCode(E,k){if(Ge>=S.ModuleKind.ES2015||Ve.noEmit){return}if(!needCollisionCheckForIdentifier(E,k,"require")&&!needCollisionCheckForIdentifier(E,k,"exports")){return}if(S.isModuleDeclaration(E)&&S.getModuleInstanceState(E)!==1){return}var w=getDeclarationContainer(E);if(w.kind===290&&S.isExternalOrCommonJsModule(w)){error(k,S.Diagnostics.Duplicate_identifier_0_Compiler_reserves_name_1_in_top_level_scope_of_a_module,S.declarationNameToString(k),S.declarationNameToString(k))}}function checkCollisionWithGlobalPromiseInGeneratedCode(E,k){if(He>=4||Ve.noEmit||!needCollisionCheckForIdentifier(E,k,"Promise")){return}if(S.isModuleDeclaration(E)&&S.getModuleInstanceState(E)!==1){return}var w=getDeclarationContainer(E);if(w.kind===290&&S.isExternalOrCommonJsModule(w)&&w.flags&2048){error(k,S.Diagnostics.Duplicate_identifier_0_Compiler_reserves_name_1_in_top_level_scope_of_a_module_containing_async_functions,S.declarationNameToString(k),S.declarationNameToString(k))}}function checkVarDeclaredNamesNotShadowed(E){if((S.getCombinedNodeFlags(E)&3)!==0||S.isParameterDeclaration(E)){return}if(E.kind===242&&!E.initializer){return}var k=getSymbolOfNode(E);if(k.flags&1){if(!S.isIdentifier(E.name))return S.Debug.fail();var w=resolveName(E,E.name.escapedText,3,undefined,undefined,false);if(w&&w!==k&&w.flags&2){if(getDeclarationNodeFlagsFromSymbol(w)&3){var N=S.getAncestor(w.valueDeclaration,243);var j=N.parent.kind===225&&N.parent.parent?N.parent.parent:undefined;var q=j&&(j.kind===223&&S.isFunctionLike(j.parent)||j.kind===250||j.kind===249||j.kind===290);if(!q){var ee=symbolToString(w);error(E,S.Diagnostics.Cannot_initialize_outer_scoped_variable_0_in_the_same_scope_as_block_scoped_declaration_1,ee,ee)}}}}}function convertAutoToAny(S){return S===Ct?kt:S===Hr?Vr:S}function checkVariableLikeDeclaration(E){checkDecorators(E);if(!S.isBindingElement(E)){checkSourceElement(E.type)}if(!E.name){return}if(E.name.kind===154){checkComputedPropertyName(E.name);if(E.initializer){checkExpressionCached(E.initializer)}}if(E.kind===191){if(E.parent.kind===189&&He<99){checkExternalEmitHelpers(E,4)}if(E.propertyName&&E.propertyName.kind===154){checkComputedPropertyName(E.propertyName)}var k=E.parent.parent;var w=getTypeForBindingElementParent(k);var N=E.propertyName||E.name;if(w&&!S.isBindingPattern(N)){var j=getLiteralTypeFromPropertyName(N);if(isTypeUsableAsPropertyName(j)){var q=getPropertyNameFromType(j);var ee=getPropertyOfType(w,q);if(ee){markPropertyAsReferenced(ee,undefined,false);checkPropertyAccessibility(k,!!k.initializer&&k.initializer.kind===102,w,ee)}}}}if(S.isBindingPattern(E.name)){if(E.name.kind===190&&He<2&&Ve.downlevelIteration){checkExternalEmitHelpers(E,512)}S.forEach(E.name.elements,checkSourceElement)}if(E.initializer&&S.getRootDeclaration(E).kind===156&&S.nodeIsMissing(S.getContainingFunction(E).body)){error(E,S.Diagnostics.A_parameter_initializer_is_only_allowed_in_a_function_or_constructor_implementation);return}if(S.isBindingPattern(E.name)){var te=E.initializer&&E.parent.parent.kind!==231;var ne=E.name.elements.length===0;if(te||ne){var ae=getWidenedTypeForVariableLikeDeclaration(E);if(te){var _e=checkExpressionCached(E.initializer);if(Ke&&ne){checkNonNullNonVoidType(_e,E)}else{checkTypeAssignableToAndOptionallyElaborate(_e,getWidenedTypeForVariableLikeDeclaration(E),E,E.initializer)}}if(ne){if(S.isArrayBindingPattern(E.name)){checkIteratedTypeOrElementType(65,ae,Nt,E)}else if(Ke){checkNonNullNonVoidType(ae,E)}}}return}var ve=getSymbolOfNode(E);var Ee=convertAutoToAny(getTypeOfSymbol(ve));if(E===ve.valueDeclaration){var Te=S.getEffectiveInitializer(E);if(Te){var Ce=S.isInJSFile(E)&&S.isObjectLiteralExpression(Te)&&(Te.properties.length===0||S.isPrototypeAccess(E.name))&&S.hasEntries(ve.exports);if(!Ce&&E.parent.parent.kind!==231){checkTypeAssignableToAndOptionallyElaborate(checkExpressionCached(Te),Ee,E,Te,undefined)}}if(ve.declarations.length>1){if(S.some(ve.declarations,(function(k){return k!==E&&S.isVariableLike(k)&&!areDeclarationFlagsIdentical(k,E)}))){error(E.name,S.Diagnostics.All_declarations_of_0_must_have_identical_modifiers,S.declarationNameToString(E.name))}}}else{var we=convertAutoToAny(getWidenedTypeForVariableLikeDeclaration(E));if(Ee!==At&&we!==At&&!isTypeIdenticalTo(Ee,we)&&!(ve.flags&67108864)){errorNextVariableOrPropertyDeclarationMustHaveSameType(ve.valueDeclaration,Ee,E,we)}if(E.initializer){checkTypeAssignableToAndOptionallyElaborate(checkExpressionCached(E.initializer),we,E,E.initializer,undefined)}if(!areDeclarationFlagsIdentical(E,ve.valueDeclaration)){error(E.name,S.Diagnostics.All_declarations_of_0_must_have_identical_modifiers,S.declarationNameToString(E.name))}}if(E.kind!==159&&E.kind!==158){checkExportsOnMergedDeclarations(E);if(E.kind===242||E.kind===191){checkVarDeclaredNamesNotShadowed(E)}checkCollisionWithRequireExportsInGeneratedCode(E,E.name);checkCollisionWithGlobalPromiseInGeneratedCode(E,E.name);if(!Ve.noEmit&&He<99&&needCollisionCheckForIdentifier(E,E.name,"WeakMap")){Jn.push(E)}}}function errorNextVariableOrPropertyDeclarationMustHaveSameType(E,k,w,N){var j=S.getNameOfDeclaration(w);var q=w.kind===159||w.kind===158?S.Diagnostics.Subsequent_property_declarations_must_have_the_same_type_Property_0_must_be_of_type_1_but_here_has_type_2:S.Diagnostics.Subsequent_variable_declarations_must_have_the_same_type_Variable_0_must_be_of_type_1_but_here_has_type_2;var ee=S.declarationNameToString(j);var te=error(j,q,ee,typeToString(k),typeToString(N));if(E){S.addRelatedInfo(te,S.createDiagnosticForNode(E,S.Diagnostics._0_was_also_declared_here,ee))}}function areDeclarationFlagsIdentical(E,k){if(E.kind===156&&k.kind===242||E.kind===242&&k.kind===156){return true}if(S.hasQuestionToken(E)!==S.hasQuestionToken(k)){return false}var w=8|16|256|128|64|32;return S.getSelectedModifierFlags(E,w)===S.getSelectedModifierFlags(k,w)}function checkVariableDeclaration(S){checkGrammarVariableDeclaration(S);return checkVariableLikeDeclaration(S)}function checkBindingElement(S){checkGrammarBindingElement(S);return checkVariableLikeDeclaration(S)}function checkVariableStatement(E){if(!checkGrammarDecoratorsAndModifiers(E)&&!checkGrammarVariableDeclarationList(E.declarationList))checkGrammarForDisallowedLetOrConstStatement(E);S.forEach(E.declarationList.declarations,checkSourceElement)}function checkExpressionStatement(S){checkGrammarStatementInAmbientContext(S);checkExpression(S.expression)}function checkIfStatement(E){checkGrammarStatementInAmbientContext(E);var k=checkTruthinessExpression(E.expression);checkTestingKnownTruthyCallableType(E.expression,E.thenStatement,k);checkSourceElement(E.thenStatement);if(E.thenStatement.kind===224){error(E.thenStatement,S.Diagnostics.The_body_of_an_if_statement_cannot_be_the_empty_statement)}checkSourceElement(E.elseStatement)}function checkTestingKnownTruthyCallableType(E,k,w){if(!Ke){return}var N=S.isIdentifier(E)?E:S.isPropertyAccessExpression(E)?E.name:undefined;if(!N){return}var j=getFalsyFlags(w);if(j){return}var q=getSignaturesOfType(w,0);if(q.length===0){return}var ee=getSymbolAtLocation(N);if(!ee){return}var te=S.forEachChild(k,(function check(k){if(S.isIdentifier(k)){var w=getSymbolAtLocation(k);if(w&&w===ee){if(S.isIdentifier(E)){return true}var j=N.parent;var q=k.parent;while(j&&q){if(S.isIdentifier(j)&&S.isIdentifier(q)||j.kind===104&&q.kind===104){return getSymbolAtLocation(j)===getSymbolAtLocation(q)}if(S.isPropertyAccessExpression(j)&&S.isPropertyAccessExpression(q)){if(getSymbolAtLocation(j.name)!==getSymbolAtLocation(q.name)){return false}q=q.expression;j=j.expression}else{return false}}}}return S.forEachChild(k,check)}));if(!te){error(E,S.Diagnostics.This_condition_will_always_return_true_since_the_function_is_always_defined_Did_you_mean_to_call_it_instead)}}function checkDoStatement(S){checkGrammarStatementInAmbientContext(S);checkSourceElement(S.statement);checkTruthinessExpression(S.expression)}function checkWhileStatement(S){checkGrammarStatementInAmbientContext(S);checkTruthinessExpression(S.expression);checkSourceElement(S.statement)}function checkTruthinessOfType(E,k){if(E.flags&16384){error(k,S.Diagnostics.An_expression_of_type_void_cannot_be_tested_for_truthiness)}return E}function checkTruthinessExpression(S,E){return checkTruthinessOfType(checkExpression(S,E),S)}function checkForStatement(E){if(!checkGrammarStatementInAmbientContext(E)){if(E.initializer&&E.initializer.kind===243){checkGrammarVariableDeclarationList(E.initializer)}}if(E.initializer){if(E.initializer.kind===243){S.forEach(E.initializer.declarations,checkVariableDeclaration)}else{checkExpression(E.initializer)}}if(E.condition)checkTruthinessExpression(E.condition);if(E.incrementor)checkExpression(E.incrementor);checkSourceElement(E.statement);if(E.locals){registerForUnusedIdentifiersCheck(E)}}function checkForOfStatement(E){checkGrammarForInOrForOfStatement(E);if(E.awaitModifier){var k=S.getFunctionFlags(S.getContainingFunction(E));if((k&(4|2))===2&&He<99){checkExternalEmitHelpers(E,32768)}}else if(Ve.downlevelIteration&&He<2){checkExternalEmitHelpers(E,256)}if(E.initializer.kind===243){checkForInOrForOfVariableDeclaration(E)}else{var w=E.initializer;var N=checkRightHandSideOfForOf(E);if(w.kind===192||w.kind===193){checkDestructuringAssignment(w,N||At)}else{var j=checkExpression(w);checkReferenceExpression(w,S.Diagnostics.The_left_hand_side_of_a_for_of_statement_must_be_a_variable_or_a_property_access,S.Diagnostics.The_left_hand_side_of_a_for_of_statement_may_not_be_an_optional_property_access);if(N){checkTypeAssignableToAndOptionallyElaborate(N,j,w,E.expression)}}}checkSourceElement(E.statement);if(E.locals){registerForUnusedIdentifiersCheck(E)}}function checkForInStatement(E){checkGrammarForInOrForOfStatement(E);var k=getNonNullableTypeIfNeeded(checkExpression(E.expression));if(E.initializer.kind===243){var w=E.initializer.declarations[0];if(w&&S.isBindingPattern(w.name)){error(w.name,S.Diagnostics.The_left_hand_side_of_a_for_in_statement_cannot_be_a_destructuring_pattern)}checkForInOrForOfVariableDeclaration(E)}else{var N=E.initializer;var j=checkExpression(N);if(N.kind===192||N.kind===193){error(N,S.Diagnostics.The_left_hand_side_of_a_for_in_statement_cannot_be_a_destructuring_pattern)}else if(!isTypeAssignableTo(getIndexTypeOrString(k),j)){error(N,S.Diagnostics.The_left_hand_side_of_a_for_in_statement_must_be_of_type_string_or_any)}else{checkReferenceExpression(N,S.Diagnostics.The_left_hand_side_of_a_for_in_statement_must_be_a_variable_or_a_property_access,S.Diagnostics.The_left_hand_side_of_a_for_in_statement_may_not_be_an_optional_property_access)}}if(k===Ht||!isTypeAssignableToKind(k,67108864|58982400)){error(E.expression,S.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(k))}checkSourceElement(E.statement);if(E.locals){registerForUnusedIdentifiersCheck(E)}}function checkForInOrForOfVariableDeclaration(S){var E=S.initializer;if(E.declarations.length>=1){var k=E.declarations[0];checkVariableDeclaration(k)}}function checkRightHandSideOfForOf(S){var E=S.awaitModifier?15:13;return checkIteratedTypeOrElementType(E,checkNonNullExpression(S.expression),Nt,S.expression)}function checkIteratedTypeOrElementType(S,E,k,w){if(isTypeAny(E)){return E}return getIteratedTypeOrElementType(S,E,k,w,true)||kt}function getIteratedTypeOrElementType(E,k,w,N,j){var q=(E&2)!==0;if(k===Ht){reportTypeNotIterableError(N,k,q);return undefined}var ee=He>=2;var te=!ee&&Ve.downlevelIteration;if(ee||te||q){var ne=getIterationTypesOfIterable(k,E,ee?N:undefined);if(j){if(ne){var ae=E&8?S.Diagnostics.Cannot_iterate_value_because_the_next_method_of_its_iterator_expects_type_1_but_for_of_will_always_send_0:E&32?S.Diagnostics.Cannot_iterate_value_because_the_next_method_of_its_iterator_expects_type_1_but_array_spread_will_always_send_0:E&64?S.Diagnostics.Cannot_iterate_value_because_the_next_method_of_its_iterator_expects_type_1_but_array_destructuring_will_always_send_0:E&16?S.Diagnostics.Cannot_delegate_iteration_to_value_because_the_next_method_of_its_iterator_expects_type_1_but_the_containing_generator_will_always_send_0:undefined;if(ae){checkTypeAssignableTo(w,ne.nextType,N,ae)}}}if(ne||ee){return ne&&ne.yieldType}}var _e=k;var ve=false;var Ee=false;if(E&4){if(_e.flags&1048576){var Te=k.types;var Ce=S.filter(Te,(function(S){return!(S.flags&132)}));if(Ce!==Te){_e=getUnionType(Ce,2)}}else if(_e.flags&132){_e=Ht}Ee=_e!==k;if(Ee){if(He<1){if(N){error(N,S.Diagnostics.Using_a_string_in_a_for_of_statement_is_only_supported_in_ECMAScript_5_and_higher);ve=true}}if(_e.flags&131072){return Rt}}}if(!isArrayLikeType(_e)){if(N&&!ve){var we=getIterationTypeOfIterable(E,0,k,undefined);var Ne=!(E&4)||Ee?te?[S.Diagnostics.Type_0_is_not_an_array_type_or_does_not_have_a_Symbol_iterator_method_that_returns_an_iterator,true]:we?[S.Diagnostics.Type_0_is_not_an_array_type_or_a_string_type_Use_compiler_option_downlevelIteration_to_allow_iterating_of_iterators,false]:[S.Diagnostics.Type_0_is_not_an_array_type,true]:te?[S.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]:we?[S.Diagnostics.Type_0_is_not_an_array_type_or_a_string_type_Use_compiler_option_downlevelIteration_to_allow_iterating_of_iterators,false]:[S.Diagnostics.Type_0_is_not_an_array_type_or_a_string_type,true],Ie=Ne[0],Fe=Ne[1];errorAndMaybeSuggestAwait(N,Fe&&!!getAwaitedTypeOfPromise(_e),Ie,typeToString(_e))}return Ee?Rt:undefined}var Oe=getIndexTypeOfType(_e,1);if(Ee&&Oe){if(Oe.flags&132){return Rt}return getUnionType([Oe,Rt],2)}return Oe}function getIterationTypeOfIterable(S,E,k,w){if(isTypeAny(k)){return undefined}var N=getIterationTypesOfIterable(k,S,w);return N&&N[getIterationTypesKeyFromIterationTypeKind(E)]}function createIterationTypes(S,E,k){if(S===void 0){S=Ht}if(E===void 0){E=Ht}if(k===void 0){k=Pt}if(S.flags&67359327&&E.flags&(1|131072|2|16384|32768)&&k.flags&(1|131072|2|16384|32768)){var w=getTypeListId([S,E,k]);var N=Sr.get(w);if(!N){N={yieldType:S,returnType:E,nextType:k};Sr.set(w,N)}return N}return{yieldType:S,returnType:E,nextType:k}}function combineIterationTypes(E){var k;var w;var N;for(var j=0,q=E;jw){return false}for(var ae=0;ae>j;case 49:return N>>>j;case 47:return N<1){var N=S.isEnumConst(E);S.forEach(k.declarations,(function(E){if(S.isEnumDeclaration(E)&&S.isEnumConst(E)!==N){error(S.getNameOfDeclaration(E),S.Diagnostics.Enum_declarations_must_all_be_const_or_non_const)}}))}var j=false;S.forEach(k.declarations,(function(E){if(E.kind!==248){return false}var k=E;if(!k.members.length){return false}var w=k.members[0];if(!w.initializer){if(j){error(w.name,S.Diagnostics.In_an_enum_with_multiple_declarations_only_one_declaration_can_omit_an_initializer_for_its_first_enum_element)}else{j=true}}}))}}function checkEnumMember(E){if(S.isPrivateIdentifier(E.name)){error(E,S.Diagnostics.An_enum_member_cannot_be_named_with_a_private_identifier)}}function getFirstNonAmbientClassOrFunctionDeclaration(E){var k=E.declarations;for(var w=0,N=k;w1&&isInstantiatedModule(E,!!Ve.preserveConstEnums||!!Ve.isolatedModules)){var te=getFirstNonAmbientClassOrFunctionDeclaration(q);if(te){if(S.getSourceFileOfNode(E)!==S.getSourceFileOfNode(te)){error(E.name,S.Diagnostics.A_namespace_declaration_cannot_be_in_a_different_file_from_a_class_or_function_with_which_it_is_merged)}else if(E.pos=S.ModuleKind.ES2015&&!(E.flags&8388608)){grammarErrorOnNode(E,S.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(E){if(checkGrammarModuleElementContext(E,S.Diagnostics.An_export_declaration_can_only_be_used_in_a_module)){return}if(!checkGrammarDecoratorsAndModifiers(E)&&S.hasModifiers(E)){grammarErrorOnFirstToken(E,S.Diagnostics.An_export_declaration_cannot_have_modifiers)}if(E.moduleSpecifier&&E.exportClause&&S.isNamedExports(E.exportClause)&&S.length(E.exportClause.elements)&&He===0){checkExternalEmitHelpers(E,1048576)}checkGrammarExportDeclaration(E);if(!E.moduleSpecifier||checkExternalImportOrExportDeclaration(E)){if(E.exportClause&&!S.isNamespaceExport(E.exportClause)){S.forEach(E.exportClause.elements,checkExportSpecifier);var k=E.parent.kind===250&&S.isAmbientModule(E.parent.parent);var w=!k&&E.parent.kind===250&&!E.moduleSpecifier&&E.flags&8388608;if(E.parent.kind!==290&&!k&&!w){error(E,S.Diagnostics.Export_declarations_are_not_permitted_in_a_namespace)}}else{var N=resolveExternalModuleName(E,E.moduleSpecifier);if(N&&hasExportAssignmentSymbol(N)){error(E.moduleSpecifier,S.Diagnostics.Module_0_uses_export_and_cannot_be_used_with_export_Asterisk,symbolToString(N))}else if(E.exportClause){checkAliasSymbol(E.exportClause)}if(Ge!==S.ModuleKind.System&&Ge=S.ModuleKind.ES2015){grammarErrorOnNode(E,S.Diagnostics.Export_assignment_cannot_be_used_when_targeting_ECMAScript_modules_Consider_using_export_default_or_another_module_format_instead)}else if(Ge===S.ModuleKind.System){grammarErrorOnNode(E,S.Diagnostics.Export_assignment_is_not_supported_when_module_flag_is_system)}}}function hasExportedMembers(E){return S.forEachEntry(E.exports,(function(S,E){return E!=="export="}))}function checkExternalModuleExports(E){var k=getSymbolOfNode(E);var w=getSymbolLinks(k);if(!w.exportsChecked){var N=k.exports.get("export=");if(N&&hasExportedMembers(k)){var j=getDeclarationOfAliasSymbol(N)||N.valueDeclaration;if(!isTopLevelInExternalModuleAugmentation(j)&&!S.isInJSFile(j)){error(j,S.Diagnostics.An_export_assignment_cannot_be_used_in_a_module_with_other_exported_elements)}}var q=getExportsOfModule(k);if(q){q.forEach((function(E,k){var w=E.declarations,N=E.flags;if(k==="__export"){return}if(N&(1920|64|384)){return}var j=S.countWhere(w,je);if(N&524288&&j<=2){return}if(j>1){for(var q=0,ee=w;q=225&&k<=241&&E.flowNode&&!isReachableFlowNode(E.flowNode)){errorOrSuggestion(Ve.allowUnreachableCode===false,E,S.Diagnostics.Unreachable_code_detected)}switch(k){case 155:return checkTypeParameter(E);case 156:return checkParameter(E);case 159:return checkPropertyDeclaration(E);case 158:return checkPropertySignature(E);case 170:case 171:case 165:case 166:case 167:return checkSignatureDeclaration(E);case 161:case 160:return checkMethodDeclaration(E);case 162:return checkConstructorDeclaration(E);case 163:case 164:return checkAccessorDeclaration(E);case 169:return checkTypeReferenceNode(E);case 168:return checkTypePredicate(E);case 172:return checkTypeQuery(E);case 173:return checkTypeLiteral(E);case 174:return checkArrayType(E);case 175:return checkTupleType(E);case 178:case 179:return checkUnionOrIntersectionType(E);case 182:case 176:case 177:return checkSourceElement(E.type);case 183:return checkThisType(E);case 184:return checkTypeOperator(E);case 180:return checkConditionalType(E);case 181:return checkInferType(E);case 188:return checkImportType(E);case 307:return checkJSDocAugmentsTag(E);case 308:return checkJSDocImplementsTag(E);case 322:case 315:case 316:return checkJSDocTypeAliasTag(E);case 321:return checkJSDocTemplateTag(E);case 320:return checkJSDocTypeTag(E);case 317:return checkJSDocParameterTag(E);case 323:return checkJSDocPropertyTag(E);case 300:checkJSDocFunctionType(E);case 298:case 297:case 295:case 296:case 304:checkJSDocTypeIsInJsFile(E);S.forEachChild(E,checkSourceElement);return;case 301:checkJSDocVariadicType(E);return;case 294:return checkSourceElement(E.type);case 185:return checkIndexedAccessType(E);case 186:return checkMappedType(E);case 244:return checkFunctionDeclaration(E);case 223:case 250:return checkBlock(E);case 225:return checkVariableStatement(E);case 226:return checkExpressionStatement(E);case 227:return checkIfStatement(E);case 228:return checkDoStatement(E);case 229:return checkWhileStatement(E);case 230:return checkForStatement(E);case 231:return checkForInStatement(E);case 232:return checkForOfStatement(E);case 233:case 234:return checkBreakOrContinueStatement(E);case 235:return checkReturnStatement(E);case 236:return checkWithStatement(E);case 237:return checkSwitchStatement(E);case 238:return checkLabeledStatement(E);case 239:return checkThrowStatement(E);case 240:return checkTryStatement(E);case 242:return checkVariableDeclaration(E);case 191:return checkBindingElement(E);case 245:return checkClassDeclaration(E);case 246:return checkInterfaceDeclaration(E);case 247:return checkTypeAliasDeclaration(E);case 248:return checkEnumDeclaration(E);case 249:return checkModuleDeclaration(E);case 254:return checkImportDeclaration(E);case 253:return checkImportEqualsDeclaration(E);case 260:return checkExportDeclaration(E);case 259:return checkExportAssignment(E);case 224:case 241:checkGrammarStatementInAmbientContext(E);return;case 264:return checkMissingDeclaration(E)}}function checkJSDocTypeIsInJsFile(E){if(!S.isInJSFile(E)){grammarErrorOnNode(E,S.Diagnostics.JSDoc_types_can_only_be_used_inside_documentation_comments)}}function checkJSDocVariadicType(E){checkJSDocTypeIsInJsFile(E);checkSourceElement(E.type);var k=E.parent;if(S.isParameter(k)&&S.isJSDocFunctionType(k.parent)){if(S.last(k.parent.parameters)!==k){error(E,S.Diagnostics.A_rest_parameter_must_be_last_in_a_parameter_list)}return}if(!S.isJSDocTypeExpression(k)){error(E,S.Diagnostics.JSDoc_may_only_appear_in_the_last_parameter_of_a_signature)}var w=E.parent.parent;if(!S.isJSDocParameterTag(w)){error(E,S.Diagnostics.JSDoc_may_only_appear_in_the_last_parameter_of_a_signature);return}var N=S.getParameterSymbolFromJSDoc(w);if(!N){return}var j=S.getHostSignatureFromJSDoc(w);if(!j||S.last(j.parameters).symbol!==N){error(E,S.Diagnostics.A_rest_parameter_must_be_last_in_a_parameter_list)}}function getTypeFromJSDocVariadicType(E){var k=getTypeFromTypeNode(E.type);var w=E.parent;var N=E.parent.parent;if(S.isJSDocTypeExpression(E.parent)&&S.isJSDocParameterTag(N)){var j=S.getHostSignatureFromJSDoc(N);if(j){var q=S.lastOrUndefined(j.parameters);var ee=S.getParameterSymbolFromJSDoc(N);if(!q||ee&&q.symbol===ee&&S.isRestParameter(q)){return createArrayType(k)}}}if(S.isParameter(w)&&S.isJSDocFunctionType(w.parent)){return createArrayType(k)}return addOptionality(k)}function checkNodeDeferred(E){var k=S.getSourceFileOfNode(E);var w=getNodeLinks(k);if(!(w.flags&1)){w.deferredNodes=w.deferredNodes||S.createMap();var N=""+getNodeId(E);w.deferredNodes.set(N,E)}}function checkDeferredNodes(S){var E=getNodeLinks(S);if(E.deferredNodes){E.deferredNodes.forEach(checkDeferredNode)}}function checkDeferredNode(S){var E=Ue;Ue=S;Le=0;switch(S.kind){case 196:case 197:case 198:case 157:case 268:resolveUntypedCall(S);break;case 201:case 202:case 161:case 160:checkFunctionExpressionOrObjectLiteralMethodDeferred(S);break;case 163:case 164:checkAccessorDeclaration(S);break;case 214:checkClassExpressionDeferred(S);break;case 267:checkJsxSelfClosingElementDeferred(S);break;case 266:checkJsxElementDeferred(S);break}Ue=E}function checkSourceFile(E){S.performance.mark("beforeCheck");checkSourceFileWorker(E);S.performance.mark("afterCheck");S.performance.measure("Check","beforeCheck","afterCheck")}function unusedIsError(E,k){if(k){return false}switch(E){case 0:return!!Ve.noUnusedLocals;case 1:return!!Ve.noUnusedParameters;default:return S.Debug.assertNever(E)}}function getPotentiallyUnusedIdentifiers(E){return vn.get(E.path)||S.emptyArray}function checkSourceFileWorker(E){var k=getNodeLinks(E);if(!(k.flags&1)){if(S.skipTypeChecking(E,Ve,q)){return}checkGrammarSourceFile(E);S.clear(Hn);S.clear(Gn);S.clear(Jn);S.forEach(E.statements,checkSourceElement);checkSourceElement(E.endOfFileToken);checkDeferredNodes(E);if(S.isExternalOrCommonJsModule(E)){registerForUnusedIdentifiersCheck(E)}if(!E.isDeclarationFile&&(Ve.noUnusedLocals||Ve.noUnusedParameters)){checkUnusedIdentifiers(getPotentiallyUnusedIdentifiers(E),(function(E,k,w){if(!S.containsParseError(E)&&unusedIsError(k,!!(E.flags&8388608))){Qn.add(w)}}))}if(Ve.importsNotUsedAsValues===2&&!E.isDeclarationFile&&S.isExternalModule(E)){checkImportsForTypeOnlyConversion(E)}if(S.isExternalOrCommonJsModule(E)){checkExternalModuleExports(E)}if(Hn.length){S.forEach(Hn,checkIfThisIsCapturedInEnclosingScope);S.clear(Hn)}if(Gn.length){S.forEach(Gn,checkIfNewTargetIsCapturedInEnclosingScope);S.clear(Gn)}if(Jn.length){S.forEach(Jn,checkWeakMapCollision);S.clear(Jn)}k.flags|=1}}function getDiagnostics(S,E){try{_e=E;return getDiagnosticsWorker(S)}finally{_e=undefined}}function getDiagnosticsWorker(E){throwIfNonDiagnosticsProducing();if(E){var k=Qn.getGlobalDiagnostics();var w=k.length;checkSourceFile(E);var N=Qn.getDiagnostics(E.fileName);var j=Qn.getGlobalDiagnostics();if(j!==k){var ee=S.relativeComplement(k,j,S.compareDiagnostics);return S.concatenate(ee,N)}else if(w===0&&j.length>0){return S.concatenate(j,N)}return N}S.forEach(q.getSourceFiles(),checkSourceFile);return Qn.getDiagnostics()}function getGlobalDiagnostics(){throwIfNonDiagnosticsProducing();return Qn.getGlobalDiagnostics()}function throwIfNonDiagnosticsProducing(){if(!ee){throw new Error("Trying to get diagnostics from a type checker that does not produce them.")}}function getSymbolsInScope(E,k){if(E.flags&16777216){return[]}var w=S.createSymbolTable();var N=false;populateSymbols();w.delete("this");return symbolsToArray(w);function populateSymbols(){while(E){if(E.locals&&!isGlobalSourceFile(E)){copySymbols(E.locals,k)}switch(E.kind){case 290:if(!S.isExternalOrCommonJsModule(E))break;case 249:copySymbols(getSymbolOfNode(E).exports,k&2623475);break;case 248:copySymbols(getSymbolOfNode(E).exports,k&8);break;case 214:var w=E.name;if(w){copySymbol(E.symbol,k)}case 245:case 246:if(!N){copySymbols(getMembersOfSymbol(getSymbolOfNode(E)),k&788968)}break;case 201:var j=E.name;if(j){copySymbol(E.symbol,k)}break}if(S.introducesArgumentsExoticObject(E)){copySymbol(ut,k)}N=S.hasModifier(E,32);E=E.parent}copySymbols(ot,k)}function copySymbol(E,k){if(S.getCombinedLocalAndExportSymbolFlags(E)&k){var N=E.escapedName;if(!w.has(N)){w.set(N,E)}}}function copySymbols(S,E){if(E){S.forEach((function(S){copySymbol(S,E)}))}}}function isTypeDeclarationName(S){return S.kind===75&&isTypeDeclaration(S.parent)&&S.parent.name===S}function isTypeDeclaration(S){switch(S.kind){case 155:case 245:case 246:case 247:case 248:return true;case 255:return S.isTypeOnly;case 258:case 263:return S.parent.parent.isTypeOnly;default:return false}}function isTypeReferenceIdentifier(S){while(S.parent.kind===153){S=S.parent}return S.parent.kind===169}function isHeritageClauseElementIdentifier(S){while(S.parent.kind===194){S=S.parent}return S.parent.kind===216}function forEachEnclosingClass(E,k){var w;while(true){E=S.getContainingClass(E);if(!E)break;if(w=k(E))break}return w}function isNodeUsedDuringClassInitialization(E){return!!S.findAncestor(E,(function(E){if(S.isConstructorDeclaration(E)&&S.nodeIsPresent(E.body)||S.isPropertyDeclaration(E)){return true}else if(S.isClassLike(E)||S.isFunctionLikeDeclaration(E)){return"quit"}return false}))}function isNodeWithinClass(S,E){return!!forEachEnclosingClass(S,(function(S){return S===E}))}function getLeftSideOfImportEqualsOrExportAssignment(S){while(S.parent.kind===153){S=S.parent}if(S.parent.kind===253){return S.parent.moduleReference===S?S.parent:undefined}if(S.parent.kind===259){return S.parent.expression===S?S.parent:undefined}return undefined}function isInRightSideOfImportOrExportAssignment(S){return getLeftSideOfImportEqualsOrExportAssignment(S)!==undefined}function getSpecialPropertyAssignmentSymbolFromEntityName(E){var k=S.getAssignmentDeclarationKind(E.parent.parent);switch(k){case 1:case 3:return getSymbolOfNode(E.parent);case 4:case 2:case 5:return getSymbolOfNode(E.parent.parent)}}function isImportTypeQualifierPart(E){var k=E.parent;while(S.isQualifiedName(k)){E=k;k=k.parent}if(k&&k.kind===188&&k.qualifier===E){return k}return undefined}function getSymbolOfNameOrPropertyAccessExpression(E){if(S.isDeclarationName(E)){return getSymbolOfNode(E.parent)}if(S.isInJSFile(E)&&E.parent.kind===194&&E.parent===E.parent.parent.left){if(!S.isPrivateIdentifier(E)){var k=getSpecialPropertyAssignmentSymbolFromEntityName(E);if(k){return k}}}if(E.parent.kind===259&&S.isEntityNameExpression(E)){var w=resolveEntityName(E,111551|788968|1920|2097152,true);if(w&&w!==Et){return w}}else if(!S.isPropertyAccessExpression(E)&&!S.isPrivateIdentifier(E)&&isInRightSideOfImportOrExportAssignment(E)){var N=S.getAncestor(E,253);S.Debug.assert(N!==undefined);return getSymbolOfPartOfRightHandSideOfImportEquals(E,true)}if(!S.isPropertyAccessExpression(E)&&!S.isPrivateIdentifier(E)){var j=isImportTypeQualifierPart(E);if(j){getTypeFromTypeNode(j);var q=getNodeLinks(E).resolvedSymbol;return q===Et?undefined:q}}while(S.isRightSideOfQualifiedNameOrPropertyAccess(E)){E=E.parent}if(isHeritageClauseElementIdentifier(E)){var ee=0;if(E.parent.kind===216){ee=788968;if(S.isExpressionWithTypeArgumentsInClassExtendsClause(E.parent)){ee|=111551}}else{ee=1920}ee|=2097152;var te=S.isEntityNameExpression(E)?resolveEntityName(E,ee):undefined;if(te){return te}}if(E.parent.kind===317){return S.getParameterSymbolFromJSDoc(E.parent)}if(E.parent.kind===155&&E.parent.parent.kind===321){S.Debug.assert(!S.isInJSFile(E));var ne=S.getTypeParameterFromJsDoc(E.parent);return ne&&ne.symbol}if(S.isExpressionNode(E)){if(S.nodeIsMissing(E)){return undefined}if(E.kind===75){if(S.isJSXTagName(E)&&isJsxIntrinsicIdentifier(E)){var ae=getIntrinsicTagSymbol(E.parent);return ae===Et?undefined:ae}return resolveEntityName(E,111551,false,true)}else if(E.kind===194||E.kind===153){var _e=getNodeLinks(E);if(_e.resolvedSymbol){return _e.resolvedSymbol}if(E.kind===194){checkPropertyAccessExpression(E)}else{checkQualifiedName(E)}return _e.resolvedSymbol}}else if(isTypeReferenceIdentifier(E)){var ee=E.parent.kind===169?788968:1920;return resolveEntityName(E,ee,false,true)}if(E.parent.kind===168){return resolveEntityName(E,1)}return undefined}function getSymbolAtLocation(E,k){if(E.kind===290){return S.isExternalModule(E)?getMergedSymbol(E.symbol):undefined}var w=E.parent;var N=w.parent;if(E.flags&16777216){return undefined}if(isDeclarationNameOrImportPropertyName(E)){var j=getSymbolOfNode(w);return S.isImportOrExportSpecifier(E.parent)&&E.parent.propertyName===E?getImmediateAliasedSymbol(j):j}else if(S.isLiteralComputedPropertyDeclarationName(E)){return getSymbolOfNode(w.parent)}if(E.kind===75){if(isInRightSideOfImportOrExportAssignment(E)){return getSymbolOfNameOrPropertyAccessExpression(E)}else if(w.kind===191&&N.kind===189&&E===w.propertyName){var q=getTypeOfNode(N);var ee=getPropertyOfType(q,E.escapedText);if(ee){return ee}}}switch(E.kind){case 75:case 76:case 194:case 153:return getSymbolOfNameOrPropertyAccessExpression(E);case 104:var te=S.getThisContainer(E,false);if(S.isFunctionLike(te)){var ne=getSignatureFromDeclaration(te);if(ne.thisParameter){return ne.thisParameter}}if(S.isInExpressionContext(E)){return checkExpression(E).symbol}case 183:return getTypeFromThisTypeNode(E).symbol;case 102:return checkExpression(E).symbol;case 129:var ae=E.parent;if(ae&&ae.kind===162){return ae.parent.symbol}return undefined;case 10:case 14:if(S.isExternalModuleImportEqualsDeclaration(E.parent.parent)&&S.getExternalModuleImportEqualsDeclarationExpression(E.parent.parent)===E||(E.parent.kind===254||E.parent.kind===260)&&E.parent.moduleSpecifier===E||(S.isInJSFile(E)&&S.isRequireCall(E.parent,false)||S.isImportCall(E.parent))||S.isLiteralTypeNode(E.parent)&&S.isLiteralImportTypeNode(E.parent.parent)&&E.parent.parent.argument===E.parent){return resolveExternalModuleName(E,E,k)}if(S.isCallExpression(w)&&S.isBindableObjectDefinePropertyCall(w)&&w.arguments[1]===E){return getSymbolOfNode(w)}case 8:var _e=S.isElementAccessExpression(w)?w.argumentExpression===E?getTypeOfExpression(w.expression):undefined:S.isLiteralTypeNode(w)&&S.isIndexedAccessTypeNode(N)?getTypeFromTypeNode(N.objectType):undefined;return _e&&getPropertyOfType(_e,S.escapeLeadingUnderscores(E.text));case 84:case 94:case 38:case 80:return getSymbolOfNode(E.parent);case 188:return S.isLiteralImportTypeNode(E)?getSymbolAtLocation(E.argument.literal,k):undefined;case 89:return S.isExportAssignment(E.parent)?S.Debug.checkDefined(E.parent.symbol):undefined;default:return undefined}}function getShorthandAssignmentValueSymbol(S){if(S&&S.kind===282){return resolveEntityName(S.name,111551|2097152)}return undefined}function getExportSpecifierLocalTargetSymbol(S){return S.parent.parent.moduleSpecifier?getExternalModuleMember(S.parent.parent,S):resolveEntityName(S.propertyName||S.name,111551|788968|1920|2097152)}function getTypeOfNode(E){if(E.flags&16777216){return At}var k=S.tryGetClassImplementingOrExtendingExpressionWithTypeArguments(E);var w=k&&getDeclaredTypeOfClassOrInterface(getSymbolOfNode(k.class));if(S.isPartOfTypeNode(E)){var N=getTypeFromTypeNode(E);return w?getTypeWithThisArgument(N,w.thisType):N}if(S.isExpressionNode(E)){return getRegularTypeOfExpression(E)}if(w&&!k.isImplements){var j=S.firstOrUndefined(getBaseTypes(w));return j?getTypeWithThisArgument(j,w.thisType):At}if(isTypeDeclaration(E)){var q=getSymbolOfNode(E);return getDeclaredTypeOfSymbol(q)}if(isTypeDeclarationName(E)){var q=getSymbolAtLocation(E);return q?getDeclaredTypeOfSymbol(q):At}if(S.isDeclaration(E)){var q=getSymbolOfNode(E);return getTypeOfSymbol(q)}if(isDeclarationNameOrImportPropertyName(E)){var q=getSymbolAtLocation(E);if(q){return getTypeOfSymbol(q)}return At}if(S.isBindingPattern(E)){return getTypeForVariableLikeDeclaration(E.parent,true)||At}if(isInRightSideOfImportOrExportAssignment(E)){var q=getSymbolAtLocation(E);if(q){var ee=getDeclaredTypeOfSymbol(q);return ee!==At?ee:getTypeOfSymbol(q)}}return At}function getTypeOfAssignmentPattern(E){S.Debug.assert(E.kind===193||E.kind===192);if(E.parent.kind===232){var k=checkRightHandSideOfForOf(E.parent);return checkDestructuringAssignment(E,k||At)}if(E.parent.kind===209){var k=getTypeOfExpression(E.parent.right);return checkDestructuringAssignment(E,k||At)}if(E.parent.kind===281){var w=S.cast(E.parent.parent,S.isObjectLiteralExpression);var N=getTypeOfAssignmentPattern(w)||At;var j=S.indexOfNode(w.properties,E.parent);return checkObjectLiteralDestructuringPropertyAssignment(w,N,j)}var q=S.cast(E.parent,S.isArrayLiteralExpression);var ee=getTypeOfAssignmentPattern(q)||At;var te=checkIteratedTypeOrElementType(65,ee,Nt,E.parent)||At;return checkArrayLiteralDestructuringElementAssignment(q,ee,q.elements.indexOf(E),te)}function getPropertySymbolOfDestructuringAssignment(E){var k=getTypeOfAssignmentPattern(S.cast(E.parent.parent,S.isAssignmentPattern));return k&&getPropertyOfType(k,E.escapedText)}function getRegularTypeOfExpression(E){if(S.isRightSideOfQualifiedNameOrPropertyAccess(E)){E=E.parent}return getRegularTypeOfLiteralType(getTypeOfExpression(E))}function getParentTypeOfClassElement(E){var k=getSymbolOfNode(E.parent);return S.hasModifier(E,32)?getTypeOfSymbol(k):getDeclaredTypeOfSymbol(k)}function getClassElementPropertyKeyType(E){var k=E.name;switch(k.kind){case 75:return getLiteralType(S.idText(k));case 8:case 10:return getLiteralType(k.text);case 154:var w=checkComputedPropertyName(k);return isTypeAssignableToKind(w,12288)?w:Rt;default:return S.Debug.fail("Unsupported property name.")}}function getAugmentedPropertiesOfType(E){E=getApparentType(E);var k=S.createSymbolTable(getPropertiesOfType(E));var w=getSignaturesOfType(E,0).length?Rr:getSignaturesOfType(E,1).length?Lr:undefined;if(w){S.forEach(getPropertiesOfType(w),(function(S){if(!k.has(S.escapedName)){k.set(S.escapedName,S)}}))}return getNamedMembers(k)}function typeHasCallOrConstructSignatures(E){return S.typeHasCallOrConstructSignatures(E,ft)}function getRootSymbols(E){var k=getImmediateRootSymbols(E);return k?S.flatMap(k,getRootSymbols):[E]}function getImmediateRootSymbols(E){if(S.getCheckFlags(E)&6){return S.mapDefined(getSymbolLinks(E).containingType.types,(function(S){return getPropertyOfType(S,E.escapedName)}))}else if(E.flags&33554432){var k=E,w=k.leftSpread,N=k.rightSpread,j=k.syntheticOrigin;return w?[w,N]:j?[j]:S.singleElementArray(tryGetAliasTarget(E))}return undefined}function tryGetAliasTarget(S){var E;var k=S;while(k=getSymbolLinks(k).target){E=k}return E}function isArgumentsLocalBinding(E){if(!S.isGeneratedIdentifier(E)){var k=S.getParseTreeNode(E,S.isIdentifier);if(k){var w=k.parent.kind===194&&k.parent.name===k;return!w&&getReferencedValueSymbol(k)===ut}}return false}function moduleExportsSomeValue(E){var k=resolveExternalModuleName(E.parent,E);if(!k||S.isShorthandAmbientModuleSymbol(k)){return true}var w=hasExportAssignmentSymbol(k);k=resolveExternalModuleSymbol(k);var N=getSymbolLinks(k);if(N.exportsSomeValue===undefined){N.exportsSomeValue=w?!!(k.flags&111551):S.forEachEntry(getExportsOfModule(k),isValue)}return N.exportsSomeValue;function isValue(S){S=resolveSymbol(S);return S&&!!(S.flags&111551)}}function isNameOfModuleOrEnumDeclaration(E){return S.isModuleOrEnumDeclaration(E.parent)&&E===E.parent.name}function getReferencedExportContainer(E,k){var w=S.getParseTreeNode(E,S.isIdentifier);if(w){var N=getReferencedValueSymbol(w,isNameOfModuleOrEnumDeclaration(w));if(N){if(N.flags&1048576){var j=getMergedSymbol(N.exportSymbol);if(!k&&j.flags&944&&!(j.flags&3)){return undefined}N=j}var q=getParentOfSymbol(N);if(q){if(q.flags&512&&q.valueDeclaration.kind===290){var ee=q.valueDeclaration;var te=S.getSourceFileOfNode(w);var ne=ee!==te;return ne?undefined:ee}return S.findAncestor(w.parent,(function(E){return S.isModuleOrEnumDeclaration(E)&&getSymbolOfNode(E)===q}))}}}}function getReferencedImportDeclaration(E){var k=S.getParseTreeNode(E,S.isIdentifier);if(k){var w=getReferencedValueSymbol(k);if(isNonLocalAlias(w,111551)&&!getTypeOnlyAliasDeclaration(w)){return getDeclarationOfAliasSymbol(w)}}return undefined}function isSymbolOfDestructuredElementOfCatchBinding(E){return S.isBindingElement(E.valueDeclaration)&&S.walkUpBindingElementsAndPatterns(E.valueDeclaration).parent.kind===280}function isSymbolOfDeclarationWithCollidingName(E){if(E.flags&418&&!S.isSourceFile(E.valueDeclaration)){var k=getSymbolLinks(E);if(k.isDeclarationWithCollidingName===undefined){var w=S.getEnclosingBlockScopeContainer(E.valueDeclaration);if(S.isStatementWithLocals(w)||isSymbolOfDestructuredElementOfCatchBinding(E)){var N=getNodeLinks(E.valueDeclaration);if(resolveName(w.parent,E.escapedName,111551,undefined,undefined,false)){k.isDeclarationWithCollidingName=true}else if(N.flags&262144){var j=N.flags&524288;var q=S.isIterationStatement(w,false);var ee=w.kind===223&&S.isIterationStatement(w.parent,false);k.isDeclarationWithCollidingName=!S.isBlockScopedContainerTopLevel(w)&&(!j||!q&&!ee)}else{k.isDeclarationWithCollidingName=false}}}return k.isDeclarationWithCollidingName}return false}function getReferencedDeclarationWithCollidingName(E){if(!S.isGeneratedIdentifier(E)){var k=S.getParseTreeNode(E,S.isIdentifier);if(k){var w=getReferencedValueSymbol(k);if(w&&isSymbolOfDeclarationWithCollidingName(w)){return w.valueDeclaration}}}return undefined}function isDeclarationWithCollidingName(E){var k=S.getParseTreeNode(E,S.isDeclaration);if(k){var w=getSymbolOfNode(k);if(w){return isSymbolOfDeclarationWithCollidingName(w)}}return false}function isValueAliasDeclaration(E){switch(E.kind){case 253:return isAliasResolvedToValue(getSymbolOfNode(E)||Et);case 255:case 256:case 258:case 263:var k=getSymbolOfNode(E)||Et;return isAliasResolvedToValue(k)&&!getTypeOnlyAliasDeclaration(k);case 260:var w=E.exportClause;return!!w&&(S.isNamespaceExport(w)||S.some(w.elements,isValueAliasDeclaration));case 259:return E.expression&&E.expression.kind===75?isAliasResolvedToValue(getSymbolOfNode(E)||Et):true}return false}function isTopLevelValueImportEqualsWithEntityName(E){var k=S.getParseTreeNode(E,S.isImportEqualsDeclaration);if(k===undefined||k.parent.kind!==290||!S.isInternalModuleImportEqualsDeclaration(k)){return false}var w=isAliasResolvedToValue(getSymbolOfNode(k));return w&&k.moduleReference&&!S.nodeIsMissing(k.moduleReference)}function isAliasResolvedToValue(S){var E=resolveAlias(S);if(E===Et){return true}return!!(E.flags&111551)&&(Ve.preserveConstEnums||!isConstEnumOrConstEnumOnlyModule(E))}function isConstEnumOrConstEnumOnlyModule(S){return isConstEnumSymbol(S)||!!S.constEnumOnlyModule}function isReferencedAliasDeclaration(E,k){if(isAliasSymbolDeclaration(E)){var w=getSymbolOfNode(E);if(w&&getSymbolLinks(w).referenced){return true}var N=getSymbolLinks(w).target;if(N&&S.getModifierFlags(E)&1&&N.flags&111551&&(Ve.preserveConstEnums||!isConstEnumOrConstEnumOnlyModule(N))){return true}}if(k){return!!S.forEachChild(E,(function(S){return isReferencedAliasDeclaration(S,k)}))}return false}function isImplementationOfOverload(E){if(S.nodeIsPresent(E.body)){if(S.isGetAccessor(E)||S.isSetAccessor(E))return false;var k=getSymbolOfNode(E);var w=getSignaturesOfSymbol(k);return w.length>1||w.length===1&&w[0].declaration!==E}return false}function isRequiredInitializedParameter(E){return!!Ke&&!isOptionalParameter(E)&&!S.isJSDocParameterTag(E)&&!!E.initializer&&!S.hasModifier(E,92)}function isOptionalUninitializedParameterProperty(E){return Ke&&isOptionalParameter(E)&&!E.initializer&&S.hasModifier(E,92)}function isExpandoFunctionDeclaration(E){var k=S.getParseTreeNode(E,S.isFunctionDeclaration);if(!k){return false}var w=getSymbolOfNode(k);if(!w||!(w.flags&16)){return false}return!!S.forEachEntry(getExportsOfSymbol(w),(function(E){return E.flags&111551&&E.valueDeclaration&&S.isPropertyAccessExpression(E.valueDeclaration)}))}function getPropertiesOfContainerFunction(E){var k=S.getParseTreeNode(E,S.isFunctionDeclaration);if(!k){return S.emptyArray}var w=getSymbolOfNode(k);return w&&getPropertiesOfType(getTypeOfSymbol(w))||S.emptyArray}function getNodeCheckFlags(S){return getNodeLinks(S).flags||0}function getEnumMemberValue(S){computeEnumMemberValues(S.parent);return getNodeLinks(S).enumMemberValue}function canHaveConstantValue(S){switch(S.kind){case 284:case 194:case 195:return true}return false}function getConstantValue(E){if(E.kind===284){return getEnumMemberValue(E)}var k=getNodeLinks(E).resolvedSymbol;if(k&&k.flags&8){var w=k.valueDeclaration;if(S.isEnumConst(w.parent)){return getEnumMemberValue(w)}}return undefined}function isFunctionType(S){return!!(S.flags&524288)&&getSignaturesOfType(S,0).length>0}function getTypeReferenceSerializationKind(E,k){var w=S.getParseTreeNode(E,S.isEntityName);if(!w)return S.TypeReferenceSerializationKind.Unknown;if(k){k=S.getParseTreeNode(k);if(!k)return S.TypeReferenceSerializationKind.Unknown}var N=resolveEntityName(w,111551,true,false,k);var j=resolveEntityName(w,788968,true,false,k);if(N&&N===j){var q=getGlobalPromiseConstructorSymbol(false);if(q&&N===q){return S.TypeReferenceSerializationKind.Promise}var ee=getTypeOfSymbol(N);if(ee&&isConstructorType(ee)){return S.TypeReferenceSerializationKind.TypeWithConstructSignatureAndValue}}if(!j){return S.TypeReferenceSerializationKind.Unknown}var te=getDeclaredTypeOfSymbol(j);if(te===At){return S.TypeReferenceSerializationKind.Unknown}else if(te.flags&3){return S.TypeReferenceSerializationKind.ObjectType}else if(isTypeAssignableToKind(te,16384|98304|131072)){return S.TypeReferenceSerializationKind.VoidNullableOrNeverType}else if(isTypeAssignableToKind(te,528)){return S.TypeReferenceSerializationKind.BooleanType}else if(isTypeAssignableToKind(te,296)){return S.TypeReferenceSerializationKind.NumberLikeType}else if(isTypeAssignableToKind(te,2112)){return S.TypeReferenceSerializationKind.BigIntLikeType}else if(isTypeAssignableToKind(te,132)){return S.TypeReferenceSerializationKind.StringLikeType}else if(isTupleType(te)){return S.TypeReferenceSerializationKind.ArrayLikeType}else if(isTypeAssignableToKind(te,12288)){return S.TypeReferenceSerializationKind.ESSymbolType}else if(isFunctionType(te)){return S.TypeReferenceSerializationKind.TypeWithCallSignature}else if(isArrayType(te)){return S.TypeReferenceSerializationKind.ArrayLikeType}else{return S.TypeReferenceSerializationKind.ObjectType}}function createTypeOfDeclaration(E,k,w,N,j){var q=S.getParseTreeNode(E,S.isVariableLikeOrAccessor);if(!q){return S.createToken(125)}var ee=getSymbolOfNode(q);var te=ee&&!(ee.flags&(2048|131072))?getWidenedLiteralType(getTypeOfSymbol(ee)):At;if(te.flags&8192&&te.symbol===ee){w|=1048576}if(j){te=getOptionalType(te)}return it.typeToTypeNode(te,k,w|1024,N)}function createReturnTypeOfSignatureDeclaration(E,k,w,N){var j=S.getParseTreeNode(E,S.isFunctionLike);if(!j){return S.createToken(125)}var q=getSignatureFromDeclaration(j);return it.typeToTypeNode(getReturnTypeOfSignature(q),k,w|1024,N)}function createTypeOfExpression(E,k,w,N){var j=S.getParseTreeNode(E,S.isExpression);if(!j){return S.createToken(125)}var q=getWidenedType(getRegularTypeOfExpression(j));return it.typeToTypeNode(q,k,w|1024,N)}function hasGlobalName(E){return ot.has(S.escapeLeadingUnderscores(E))}function getReferencedValueSymbol(E,k){var w=getNodeLinks(E).resolvedSymbol;if(w){return w}var N=E;if(k){var j=E.parent;if(S.isDeclaration(j)&&E===j.name){N=getDeclarationContainer(j)}}return resolveName(N,E.escapedText,111551|1048576|2097152,undefined,undefined,true)}function getReferencedValueDeclaration(E){if(!S.isGeneratedIdentifier(E)){var k=S.getParseTreeNode(E,S.isIdentifier);if(k){var w=getReferencedValueSymbol(k);if(w){return getExportSymbolOfValueSymbolIfExported(w).valueDeclaration}}}return undefined}function isLiteralConstDeclaration(E){if(S.isDeclarationReadonly(E)||S.isVariableDeclaration(E)&&S.isVarConst(E)){return isFreshLiteralType(getTypeOfSymbol(getSymbolOfNode(E)))}return false}function literalTypeToNode(E,k,w){var N=E.flags&1024?it.symbolToExpression(E.symbol,111551,k,undefined,w):E===Ut?S.createTrue():E===jt&&S.createFalse();return N||S.createLiteral(E.value)}function createLiteralConstValue(S,E){var k=getTypeOfSymbol(getSymbolOfNode(S));return literalTypeToNode(k,S,E)}function getJsxFactoryEntity(E){return E?(getJsxNamespace(E),S.getSourceFileOfNode(E).localJsxFactory||ti):ti}function createResolver(){var E=q.getResolvedTypeReferenceDirectives();var k;if(E){k=S.createMap();E.forEach((function(S,E){if(!S||!S.resolvedFileName){return}var k=q.getSourceFile(S.resolvedFileName);if(k){addReferencedFilesToTypeDirective(k,E)}}))}return{getReferencedExportContainer:getReferencedExportContainer,getReferencedImportDeclaration:getReferencedImportDeclaration,getReferencedDeclarationWithCollidingName:getReferencedDeclarationWithCollidingName,isDeclarationWithCollidingName:isDeclarationWithCollidingName,isValueAliasDeclaration:function(E){E=S.getParseTreeNode(E);return E?isValueAliasDeclaration(E):true},hasGlobalName:hasGlobalName,isReferencedAliasDeclaration:function(E,k){E=S.getParseTreeNode(E);return E?isReferencedAliasDeclaration(E,k):true},getNodeCheckFlags:function(E){E=S.getParseTreeNode(E);return E?getNodeCheckFlags(E):0},isTopLevelValueImportEqualsWithEntityName:isTopLevelValueImportEqualsWithEntityName,isDeclarationVisible:isDeclarationVisible,isImplementationOfOverload:isImplementationOfOverload,isRequiredInitializedParameter:isRequiredInitializedParameter,isOptionalUninitializedParameterProperty:isOptionalUninitializedParameterProperty,isExpandoFunctionDeclaration:isExpandoFunctionDeclaration,getPropertiesOfContainerFunction:getPropertiesOfContainerFunction,createTypeOfDeclaration:createTypeOfDeclaration,createReturnTypeOfSignatureDeclaration:createReturnTypeOfSignatureDeclaration,createTypeOfExpression:createTypeOfExpression,createLiteralConstValue:createLiteralConstValue,isSymbolAccessible:isSymbolAccessible,isEntityNameVisible:isEntityNameVisible,getConstantValue:function(E){var k=S.getParseTreeNode(E,canHaveConstantValue);return k?getConstantValue(k):undefined},collectLinkedAliases:collectLinkedAliases,getReferencedValueDeclaration:getReferencedValueDeclaration,getTypeReferenceSerializationKind:getTypeReferenceSerializationKind,isOptionalParameter:isOptionalParameter,moduleExportsSomeValue:moduleExportsSomeValue,isArgumentsLocalBinding:isArgumentsLocalBinding,getExternalModuleFileFromDeclaration:getExternalModuleFileFromDeclaration,getTypeReferenceDirectivesForEntityName:getTypeReferenceDirectivesForEntityName,getTypeReferenceDirectivesForSymbol:getTypeReferenceDirectivesForSymbol,isLiteralConstDeclaration:isLiteralConstDeclaration,isLateBound:function(E){var k=S.getParseTreeNode(E,S.isDeclaration);var w=k&&getSymbolOfNode(k);return!!(w&&S.getCheckFlags(w)&4096)},getJsxFactoryEntity:getJsxFactoryEntity,getAllAccessorDeclarations:function(E){E=S.getParseTreeNode(E,S.isGetOrSetAccessorDeclaration);var k=E.kind===164?163:164;var w=S.getDeclarationOfKind(getSymbolOfNode(E),k);var N=w&&w.pos1||S.modifiers[0].kind!==E}function checkGrammarAsyncModifier(E,k){switch(E.kind){case 161:case 244:case 201:case 202:return false}return grammarErrorOnNode(k,S.Diagnostics._0_modifier_cannot_be_used_here,"async")}function checkGrammarForDisallowedTrailingComma(E,k){if(k===void 0){k=S.Diagnostics.Trailing_comma_not_allowed}if(E&&E.hasTrailingComma){return grammarErrorAtPos(E[0],E.end-",".length,",".length,k)}return false}function checkGrammarTypeParameterList(E,k){if(E&&E.length===0){var w=E.pos-"<".length;var N=S.skipTrivia(k.text,E.end)+">".length;return grammarErrorAtPos(k,w,N-w,S.Diagnostics.Type_parameter_list_cannot_be_empty)}return false}function checkGrammarParameterList(E){var k=false;var w=E.length;for(var N=0;N=3){var k=E.body&&S.isBlock(E.body)&&S.findUseStrictPrologue(E.body.statements);if(k){var N=getNonSimpleParameters(E.parameters);if(S.length(N)){S.forEach(N,(function(E){S.addRelatedInfo(error(E,S.Diagnostics.This_parameter_is_not_allowed_with_use_strict_directive),S.createDiagnosticForNode(k,S.Diagnostics.use_strict_directive_used_here))}));var j=N.map((function(E,k){return k===0?S.createDiagnosticForNode(E,S.Diagnostics.Non_simple_parameter_declared_here):S.createDiagnosticForNode(E,S.Diagnostics.and_here)}));S.addRelatedInfo.apply(void 0,w([error(k,S.Diagnostics.use_strict_directive_cannot_be_used_with_non_simple_parameter_list)],j));return true}}}return false}function checkGrammarFunctionLikeDeclaration(E){var k=S.getSourceFileOfNode(E);return checkGrammarDecoratorsAndModifiers(E)||checkGrammarTypeParameterList(E.typeParameters,k)||checkGrammarParameterList(E.parameters)||checkGrammarArrowFunction(E,k)||S.isFunctionLikeDeclaration(E)&&checkGrammarForUseStrictSimpleParameterList(E)}function checkGrammarClassLikeDeclaration(E){var k=S.getSourceFileOfNode(E);return checkGrammarClassDeclarationHeritageClauses(E)||checkGrammarTypeParameterList(E.typeParameters,k)}function checkGrammarArrowFunction(E,k){if(!S.isArrowFunction(E)){return false}var w=E.equalsGreaterThanToken;var N=S.getLineAndCharacterOfPosition(k,w.pos).line;var j=S.getLineAndCharacterOfPosition(k,w.end).line;return N!==j&&grammarErrorOnNode(w,S.Diagnostics.Line_terminator_not_permitted_before_arrow)}function checkGrammarIndexSignatureParameters(E){var k=E.parameters[0];if(E.parameters.length!==1){if(k){return grammarErrorOnNode(k.name,S.Diagnostics.An_index_signature_must_have_exactly_one_parameter)}else{return grammarErrorOnNode(E,S.Diagnostics.An_index_signature_must_have_exactly_one_parameter)}}checkGrammarForDisallowedTrailingComma(E.parameters,S.Diagnostics.An_index_signature_cannot_have_a_trailing_comma);if(k.dotDotDotToken){return grammarErrorOnNode(k.dotDotDotToken,S.Diagnostics.An_index_signature_cannot_have_a_rest_parameter)}if(S.hasModifiers(k)){return grammarErrorOnNode(k.name,S.Diagnostics.An_index_signature_parameter_cannot_have_an_accessibility_modifier)}if(k.questionToken){return grammarErrorOnNode(k.questionToken,S.Diagnostics.An_index_signature_parameter_cannot_have_a_question_mark)}if(k.initializer){return grammarErrorOnNode(k.name,S.Diagnostics.An_index_signature_parameter_cannot_have_an_initializer)}if(!k.type){return grammarErrorOnNode(k.name,S.Diagnostics.An_index_signature_parameter_must_have_a_type_annotation)}if(k.type.kind!==143&&k.type.kind!==140){var w=getTypeFromTypeNode(k.type);if(w.flags&4||w.flags&8){return grammarErrorOnNode(k.name,S.Diagnostics.An_index_signature_parameter_type_cannot_be_a_type_alias_Consider_writing_0_Colon_1_Colon_2_instead,S.getTextOfNode(k.name),typeToString(w),typeToString(E.type?getTypeFromTypeNode(E.type):kt))}if(w.flags&1048576&&allTypesAssignableToKind(w,384,true)){return grammarErrorOnNode(k.name,S.Diagnostics.An_index_signature_parameter_type_cannot_be_a_union_type_Consider_using_a_mapped_object_type_instead)}return grammarErrorOnNode(k.name,S.Diagnostics.An_index_signature_parameter_type_must_be_either_string_or_number)}if(!E.type){return grammarErrorOnNode(E,S.Diagnostics.An_index_signature_must_have_a_type_annotation)}return false}function checkGrammarIndexSignature(S){return checkGrammarDecoratorsAndModifiers(S)||checkGrammarIndexSignatureParameters(S)}function checkGrammarForAtLeastOneTypeArgument(E,k){if(k&&k.length===0){var w=S.getSourceFileOfNode(E);var N=k.pos-"<".length;var j=S.skipTrivia(w.text,k.end)+">".length;return grammarErrorAtPos(w,N,j-N,S.Diagnostics.Type_argument_list_cannot_be_empty)}return false}function checkGrammarTypeArguments(S,E){return checkGrammarForDisallowedTrailingComma(E)||checkGrammarForAtLeastOneTypeArgument(S,E)}function checkGrammarTaggedTemplateChain(E){if(E.questionDotToken||E.flags&32){return grammarErrorOnNode(E.template,S.Diagnostics.Tagged_template_expressions_are_not_permitted_in_an_optional_chain)}return false}function checkGrammarForOmittedArgument(E){if(E){for(var k=0,w=E;k1){return grammarErrorOnFirstToken(q.types[1],S.Diagnostics.Classes_can_only_extend_a_single_class)}k=true}else{S.Debug.assert(q.token===113);if(w){return grammarErrorOnFirstToken(q,S.Diagnostics.implements_clause_already_seen)}w=true}checkGrammarHeritageClause(q)}}}function checkGrammarInterfaceDeclaration(E){var k=false;if(E.heritageClauses){for(var w=0,N=E.heritageClauses;w1){var w=E.kind===231?S.Diagnostics.Only_a_single_variable_declaration_is_allowed_in_a_for_in_statement:S.Diagnostics.Only_a_single_variable_declaration_is_allowed_in_a_for_of_statement;return grammarErrorOnFirstToken(q.declarations[1],w)}var te=ee[0];if(te.initializer){var w=E.kind===231?S.Diagnostics.The_variable_declaration_of_a_for_in_statement_cannot_have_an_initializer:S.Diagnostics.The_variable_declaration_of_a_for_of_statement_cannot_have_an_initializer;return grammarErrorOnNode(te.name,w)}if(te.type){var w=E.kind===231?S.Diagnostics.The_left_hand_side_of_a_for_in_statement_cannot_use_a_type_annotation:S.Diagnostics.The_left_hand_side_of_a_for_of_statement_cannot_use_a_type_annotation;return grammarErrorOnNode(te,w)}}}return false}function checkGrammarAccessor(E){if(!(E.flags&8388608)){if(He<1){return grammarErrorOnNode(E.name,S.Diagnostics.Accessors_are_only_available_when_targeting_ECMAScript_5_and_higher)}if(E.body===undefined&&!S.hasModifier(E,128)){return grammarErrorAtPos(E,E.end-1,";".length,S.Diagnostics._0_expected,"{")}}if(E.body&&S.hasModifier(E,128)){return grammarErrorOnNode(E,S.Diagnostics.An_abstract_accessor_cannot_have_an_implementation)}if(E.typeParameters){return grammarErrorOnNode(E.name,S.Diagnostics.An_accessor_cannot_have_type_parameters)}if(!doesAccessorHaveCorrectParameterCount(E)){return grammarErrorOnNode(E.name,E.kind===163?S.Diagnostics.A_get_accessor_cannot_have_parameters:S.Diagnostics.A_set_accessor_must_have_exactly_one_parameter)}if(E.kind===164){if(E.type){return grammarErrorOnNode(E.name,S.Diagnostics.A_set_accessor_cannot_have_a_return_type_annotation)}var k=S.Debug.checkDefined(S.getSetAccessorValueParameter(E),"Return value does not match parameter count assertion.");if(k.dotDotDotToken){return grammarErrorOnNode(k.dotDotDotToken,S.Diagnostics.A_set_accessor_cannot_have_rest_parameter)}if(k.questionToken){return grammarErrorOnNode(k.questionToken,S.Diagnostics.A_set_accessor_cannot_have_an_optional_parameter)}if(k.initializer){return grammarErrorOnNode(E.name,S.Diagnostics.A_set_accessor_parameter_cannot_have_an_initializer)}}return false}function doesAccessorHaveCorrectParameterCount(S){return getAccessorThisParameter(S)||S.parameters.length===(S.kind===163?0:1)}function getAccessorThisParameter(E){if(E.parameters.length===(E.kind===163?1:2)){return S.getThisParameter(E)}}function checkGrammarTypeOperatorNode(E){if(E.operator===147){if(E.type.kind!==144){return grammarErrorOnNode(E.type,S.Diagnostics._0_expected,S.tokenToString(144))}var k=S.walkUpParenthesizedTypes(E.parent);switch(k.kind){case 242:var w=k;if(w.name.kind!==75){return grammarErrorOnNode(E,S.Diagnostics.unique_symbol_types_may_not_be_used_on_a_variable_declaration_with_a_binding_name)}if(!S.isVariableDeclarationInVariableStatement(w)){return grammarErrorOnNode(E,S.Diagnostics.unique_symbol_types_are_only_allowed_on_variables_in_a_variable_statement)}if(!(w.parent.flags&2)){return grammarErrorOnNode(k.name,S.Diagnostics.A_variable_whose_type_is_a_unique_symbol_type_must_be_const)}break;case 159:if(!S.hasModifier(k,32)||!S.hasModifier(k,64)){return grammarErrorOnNode(k.name,S.Diagnostics.A_property_of_a_class_whose_type_is_a_unique_symbol_type_must_be_both_static_and_readonly)}break;case 158:if(!S.hasModifier(k,64)){return grammarErrorOnNode(k.name,S.Diagnostics.A_property_of_an_interface_or_type_literal_whose_type_is_a_unique_symbol_type_must_be_readonly)}break;default:return grammarErrorOnNode(E,S.Diagnostics.unique_symbol_types_are_not_allowed_here)}}else if(E.operator===138){if(E.type.kind!==174&&E.type.kind!==175){return grammarErrorOnFirstToken(E,S.Diagnostics.readonly_type_modifier_is_only_permitted_on_array_and_tuple_literal_types,S.tokenToString(144))}}}function checkGrammarForInvalidDynamicName(S,E){if(isNonBindableDynamicName(S)){return grammarErrorOnNode(S,E)}}function checkGrammarMethod(E){if(checkGrammarFunctionLikeDeclaration(E)){return true}if(E.kind===161){if(E.parent.kind===193){if(E.modifiers&&!(E.modifiers.length===1&&S.first(E.modifiers).kind===126)){return grammarErrorOnFirstToken(E,S.Diagnostics.Modifiers_cannot_appear_here)}else if(checkGrammarForInvalidQuestionMark(E.questionToken,S.Diagnostics.An_object_member_cannot_be_declared_optional)){return true}else if(checkGrammarForInvalidExclamationToken(E.exclamationToken,S.Diagnostics.A_definite_assignment_assertion_is_not_permitted_in_this_context)){return true}else if(E.body===undefined){return grammarErrorAtPos(E,E.end-1,";".length,S.Diagnostics._0_expected,"{")}}if(checkGrammarForGenerator(E)){return true}}if(S.isClassLike(E.parent)){if(E.flags&8388608){return checkGrammarForInvalidDynamicName(E.name,S.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(E.kind===161&&!E.body){return checkGrammarForInvalidDynamicName(E.name,S.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(E.parent.kind===246){return checkGrammarForInvalidDynamicName(E.name,S.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(E.parent.kind===173){return checkGrammarForInvalidDynamicName(E.name,S.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(E){var k=E;while(k){if(S.isFunctionLike(k)){return grammarErrorOnNode(E,S.Diagnostics.Jump_target_cannot_cross_function_boundary)}switch(k.kind){case 238:if(E.label&&k.label.escapedText===E.label.escapedText){var w=E.kind===233&&!S.isIterationStatement(k.statement,true);if(w){return grammarErrorOnNode(E,S.Diagnostics.A_continue_statement_can_only_jump_to_a_label_of_an_enclosing_iteration_statement)}return false}break;case 237:if(E.kind===234&&!E.label){return false}break;default:if(S.isIterationStatement(k,false)&&!E.label){return false}break}k=k.parent}if(E.label){var N=E.kind===234?S.Diagnostics.A_break_statement_can_only_jump_to_a_label_of_an_enclosing_statement:S.Diagnostics.A_continue_statement_can_only_jump_to_a_label_of_an_enclosing_iteration_statement;return grammarErrorOnNode(E,N)}else{var N=E.kind===234?S.Diagnostics.A_break_statement_can_only_be_used_within_an_enclosing_iteration_or_switch_statement:S.Diagnostics.A_continue_statement_can_only_be_used_within_an_enclosing_iteration_statement;return grammarErrorOnNode(E,N)}}function checkGrammarBindingElement(E){if(E.dotDotDotToken){var k=E.parent.elements;if(E!==S.last(k)){return grammarErrorOnNode(E,S.Diagnostics.A_rest_element_must_be_last_in_a_destructuring_pattern)}checkGrammarForDisallowedTrailingComma(k,S.Diagnostics.A_rest_parameter_or_binding_pattern_may_not_have_a_trailing_comma);if(E.propertyName){return grammarErrorOnNode(E.name,S.Diagnostics.A_rest_element_cannot_have_a_property_name)}if(E.initializer){return grammarErrorAtPos(E,E.initializer.pos-1,1,S.Diagnostics.A_rest_element_cannot_have_an_initializer)}}}function isStringOrNumberLiteralExpression(E){return S.isStringOrNumericLiteralLike(E)||E.kind===207&&E.operator===40&&E.operand.kind===8}function isBigIntLiteralExpression(S){return S.kind===9||S.kind===207&&S.operator===40&&S.operand.kind===9}function isSimpleLiteralEnumReference(E){if((S.isPropertyAccessExpression(E)||S.isElementAccessExpression(E)&&isStringOrNumberLiteralExpression(E.argumentExpression))&&S.isEntityNameExpression(E.expression)){return!!(checkExpressionCached(E).flags&1024)}}function checkAmbientInitializer(E){var k=E.initializer;if(k){var w=!(isStringOrNumberLiteralExpression(k)||isSimpleLiteralEnumReference(k)||k.kind===106||k.kind===91||isBigIntLiteralExpression(k));var N=S.isDeclarationReadonly(E)||S.isVariableDeclaration(E)&&S.isVarConst(E);if(N&&!E.type){if(w){return grammarErrorOnNode(k,S.Diagnostics.A_const_initializer_in_an_ambient_context_must_be_a_string_or_numeric_literal_or_literal_enum_reference)}}else{return grammarErrorOnNode(k,S.Diagnostics.Initializers_are_not_allowed_in_ambient_contexts)}if(!N||w){return grammarErrorOnNode(k,S.Diagnostics.Initializers_are_not_allowed_in_ambient_contexts)}}}function checkGrammarVariableDeclaration(E){if(E.parent.parent.kind!==231&&E.parent.parent.kind!==232){if(E.flags&8388608){checkAmbientInitializer(E)}else if(!E.initializer){if(S.isBindingPattern(E.name)&&!S.isBindingPattern(E.parent)){return grammarErrorOnNode(E,S.Diagnostics.A_destructuring_declaration_must_have_an_initializer)}if(S.isVarConst(E)){return grammarErrorOnNode(E,S.Diagnostics.const_declarations_must_be_initialized)}}}if(E.exclamationToken&&(E.parent.parent.kind!==225||!E.type||E.initializer||E.flags&8388608)){return grammarErrorOnNode(E.exclamationToken,S.Diagnostics.Definite_assignment_assertions_can_only_be_used_along_with_a_type_annotation)}var k=S.getEmitModuleKind(Ve);if(k0}function grammarErrorOnFirstToken(E,k,w,N,j){var q=S.getSourceFileOfNode(E);if(!hasParseDiagnostics(q)){var ee=S.getSpanOfTokenAtPosition(q,E.pos);Qn.add(S.createFileDiagnostic(q,ee.start,ee.length,k,w,N,j));return true}return false}function grammarErrorAtPos(E,k,w,N,j,q,ee){var te=S.getSourceFileOfNode(E);if(!hasParseDiagnostics(te)){Qn.add(S.createFileDiagnostic(te,k,w,N,j,q,ee));return true}return false}function grammarErrorOnNode(E,k,w,N,j){var q=S.getSourceFileOfNode(E);if(!hasParseDiagnostics(q)){Qn.add(S.createDiagnosticForNode(E,k,w,N,j));return true}return false}function checkGrammarConstructorTypeParameters(E){var k=S.isInJSFile(E)?S.getJSDocTypeParameterDeclarations(E):undefined;var w=E.typeParameters||k&&S.firstOrUndefined(k);if(w){var N=w.pos===w.end?w.pos:S.skipTrivia(S.getSourceFileOfNode(E).text,w.pos);return grammarErrorAtPos(E,N,w.end-N,S.Diagnostics.Type_parameters_cannot_appear_on_a_constructor_declaration)}}function checkGrammarConstructorTypeAnnotation(E){var k=S.getEffectiveReturnTypeNode(E);if(k){return grammarErrorOnNode(k,S.Diagnostics.Type_annotation_cannot_appear_on_a_constructor_declaration)}}function checkGrammarProperty(E){if(S.isClassLike(E.parent)){if(S.isStringLiteral(E.name)&&E.name.text==="constructor"){return grammarErrorOnNode(E.name,S.Diagnostics.Classes_may_not_have_a_field_named_constructor)}if(checkGrammarForInvalidDynamicName(E.name,S.Diagnostics.A_computed_property_name_in_a_class_property_declaration_must_refer_to_an_expression_whose_type_is_a_literal_type_or_a_unique_symbol_type)){return true}if(He<2&&S.isPrivateIdentifier(E.name)){return grammarErrorOnNode(E.name,S.Diagnostics.Private_identifiers_are_only_available_when_targeting_ECMAScript_2015_and_higher)}}else if(E.parent.kind===246){if(checkGrammarForInvalidDynamicName(E.name,S.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}if(E.initializer){return grammarErrorOnNode(E.initializer,S.Diagnostics.An_interface_property_cannot_have_an_initializer)}}else if(E.parent.kind===173){if(checkGrammarForInvalidDynamicName(E.name,S.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}if(E.initializer){return grammarErrorOnNode(E.initializer,S.Diagnostics.A_type_literal_property_cannot_have_an_initializer)}}if(E.flags&8388608){checkAmbientInitializer(E)}if(S.isPropertyDeclaration(E)&&E.exclamationToken&&(!S.isClassLike(E.parent)||!E.type||E.initializer||E.flags&8388608||S.hasModifier(E,32|128))){return grammarErrorOnNode(E.exclamationToken,S.Diagnostics.A_definite_assignment_assertion_is_not_permitted_in_this_context)}}function checkGrammarTopLevelElementForRequiredDeclareModifier(E){if(E.kind===246||E.kind===247||E.kind===254||E.kind===253||E.kind===260||E.kind===259||E.kind===252||S.hasModifier(E,2|1|512)){return false}return grammarErrorOnFirstToken(E,S.Diagnostics.Top_level_declarations_in_d_ts_files_must_start_with_either_a_declare_or_export_modifier)}function checkGrammarTopLevelElementsForRequiredDeclareModifier(E){for(var k=0,w=E.statements;k=1){k=S.Diagnostics.Octal_literals_are_not_available_when_targeting_ECMAScript_5_and_higher_Use_the_syntax_0}else if(S.isChildOfNodeWithKind(E,187)){k=S.Diagnostics.Octal_literal_types_must_use_ES2015_syntax_Use_the_syntax_0}else if(S.isChildOfNodeWithKind(E,284)){k=S.Diagnostics.Octal_literals_are_not_allowed_in_enums_members_initializer_Use_the_syntax_0}if(k){var w=S.isPrefixUnaryExpression(E.parent)&&E.parent.operator===40;var N=(w?"-":"")+"0o"+E.text;return grammarErrorOnNode(w?E.parent:E,k,N)}}checkNumericLiteralValueSize(E);return false}function checkNumericLiteralValueSize(E){if(E.numericLiteralFlags&16||E.text.length<=15||E.text.indexOf(".")!==-1){return}var k=+S.getTextOfNode(E);if(k<=Math.pow(2,53)-1&&k+1>k){return}addErrorOrSuggestion(false,S.createDiagnosticForNode(E,S.Diagnostics.Numeric_literals_with_absolute_values_equal_to_2_53_or_greater_are_too_large_to_be_represented_accurately_as_integers))}function checkGrammarBigIntLiteral(E){var k=S.isLiteralTypeNode(E.parent)||S.isPrefixUnaryExpression(E.parent)&&S.isLiteralTypeNode(E.parent.parent);if(!k){if(He<7){if(grammarErrorOnNode(E,S.Diagnostics.BigInt_literals_are_not_available_when_targeting_lower_than_ES2020)){return true}}}return false}function grammarErrorAfterFirstToken(E,k,w,N,j){var q=S.getSourceFileOfNode(E);if(!hasParseDiagnostics(q)){var ee=S.getSpanOfTokenAtPosition(q,E.pos);Qn.add(S.createFileDiagnostic(q,S.textSpanEnd(ee),0,k,w,N,j));return true}return false}function getAmbientModules(){if(!Nr){Nr=[];ot.forEach((function(S,k){if(E.test(k)){Nr.push(S)}}))}return Nr}function checkGrammarImportClause(E){if(E.isTypeOnly&&E.name&&E.namedBindings){return grammarErrorOnNode(E,S.Diagnostics.A_type_only_import_can_specify_a_default_import_or_named_bindings_but_not_both)}return false}function checkGrammarImportCallExpression(E){if(Ge===S.ModuleKind.ES2015){return grammarErrorOnNode(E,S.Diagnostics.Dynamic_imports_are_only_supported_when_the_module_flag_is_set_to_es2020_esnext_commonjs_amd_system_or_umd)}if(E.typeArguments){return grammarErrorOnNode(E,S.Diagnostics.Dynamic_import_cannot_have_type_arguments)}var k=E.arguments;if(k.length!==1){return grammarErrorOnNode(E,S.Diagnostics.Dynamic_import_must_have_one_specifier_as_an_argument)}checkGrammarForDisallowedTrailingComma(k);if(S.isSpreadElement(k[0])){return grammarErrorOnNode(k[0],S.Diagnostics.Specifier_of_dynamic_import_cannot_be_spread_element)}return false}function findMatchingTypeReferenceOrTypeAliasReference(E,k){var w=S.getObjectFlags(E);if(w&(4|16)&&k.flags&1048576){return S.find(k.types,(function(k){if(k.flags&524288){var N=w&S.getObjectFlags(k);if(N&4){return E.target===k.target}if(N&16){return!!E.aliasSymbol&&E.aliasSymbol===k.aliasSymbol}}return false}))}}function findBestTypeForObjectLiteral(E,k){if(S.getObjectFlags(E)&128&&forEachType(k,isArrayLikeType)){return S.find(k.types,(function(S){return!isArrayLikeType(S)}))}}function findBestTypeForInvokable(E,k){var w=0;var N=getSignaturesOfType(E,w).length>0||(w=1,getSignaturesOfType(E,w).length>0);if(N){return S.find(k.types,(function(S){return getSignaturesOfType(S,w).length>0}))}}function findMostOverlappyType(E,k){var w;var N=0;for(var j=0,q=k.types;j=N){w=ee;N=ne}}else if(isUnitType(te)&&1>=N){w=ee;N=1}}return w}function filterPrimitivesIfContainsNonPrimitive(S){if(maybeTypeOfKind(S,67108864)){var E=filterType(S,(function(S){return!(S.flags&131068)}));if(!(E.flags&131072)){return E}}return S}function findMatchingDiscriminantType(E,k,w,N){if(k.flags&1048576&&E.flags&(2097152|524288)){var j=getPropertiesOfType(E);if(j){var q=findDiscriminantProperties(j,k);if(q){return discriminateTypeByDiscriminableItems(k,S.map(q,(function(S){return[function(){return getTypeOfSymbol(S)},S.escapedName]})),w,undefined,N)}}}return undefined}}S.createTypeChecker=createTypeChecker;function isNotAccessor(E){return!S.isAccessor(E)}function isNotOverload(S){return S.kind!==244&&S.kind!==161||!!S.body}function isDeclarationNameOrImportPropertyName(E){switch(E.parent.kind){case 258:case 263:return S.isIdentifier(E);default:return S.isDeclarationName(E)}}function isSomeImportDeclaration(S){switch(S.kind){case 255:case 253:case 256:case 258:return true;case 75:return S.parent.kind===258;default:return false}}var We;(function(S){S.JSX="JSX";S.IntrinsicElements="IntrinsicElements";S.ElementClass="ElementClass";S.ElementAttributesPropertyNameContainer="ElementAttributesProperty";S.ElementChildrenAttributeNameContainer="ElementChildrenAttribute";S.Element="Element";S.IntrinsicAttributes="IntrinsicAttributes";S.IntrinsicClassAttributes="IntrinsicClassAttributes";S.LibraryManagedAttributes="LibraryManagedAttributes"})(We||(We={}));function getIterationTypesKeyFromIterationTypeKind(S){switch(S){case 0:return"yieldType";case 1:return"returnType";case 2:return"nextType"}}function signatureHasRestParameter(S){return!!(S.flags&1)}S.signatureHasRestParameter=signatureHasRestParameter;function signatureHasLiteralTypes(S){return!!(S.flags&2)}S.signatureHasLiteralTypes=signatureHasLiteralTypes})(ne||(ne={}));var ne;(function(S){function createSynthesizedNode(E){var k=S.createNode(E,-1,-1);k.flags|=8;return k}function updateNode(E,k){if(E!==k){setOriginalNode(E,k);setTextRange(E,k);S.aggregateTransformFlags(E)}return E}S.updateNode=updateNode;function createNodeArray(E,k){if(!E||E===S.emptyArray){E=[]}else if(S.isNodeArray(E)){return E}var w=E;w.pos=-1;w.end=-1;w.hasTrailingComma=k;return w}S.createNodeArray=createNodeArray;function getSynthesizedClone(S){if(S===undefined){return S}var E=createSynthesizedNode(S.kind);E.flags|=S.flags;setOriginalNode(E,S);for(var k in S){if(E.hasOwnProperty(k)||!S.hasOwnProperty(k)){continue}E[k]=S[k]}return E}S.getSynthesizedClone=getSynthesizedClone;function createLiteral(E,k){if(typeof E==="number"){return createNumericLiteral(E+"")}if(typeof E==="object"&&"base10Value"in E){return createBigIntLiteral(S.pseudoBigIntToString(E)+"n")}if(typeof E==="boolean"){return E?createTrue():createFalse()}if(S.isString(E)){var w=createStringLiteral(E);if(k)w.singleQuote=true;return w}return createLiteralFromNode(E)}S.createLiteral=createLiteral;function createNumericLiteral(S,E){if(E===void 0){E=0}var k=createSynthesizedNode(8);k.text=S;k.numericLiteralFlags=E;return k}S.createNumericLiteral=createNumericLiteral;function createBigIntLiteral(S){var E=createSynthesizedNode(9);E.text=S;return E}S.createBigIntLiteral=createBigIntLiteral;function createStringLiteral(S){var E=createSynthesizedNode(10);E.text=S;return E}S.createStringLiteral=createStringLiteral;function createRegularExpressionLiteral(S){var E=createSynthesizedNode(13);E.text=S;return E}S.createRegularExpressionLiteral=createRegularExpressionLiteral;function createLiteralFromNode(E){var k=createStringLiteral(S.getTextOfIdentifierOrLiteral(E));k.textSourceNode=E;return k}function createIdentifier(E,k){var w=createSynthesizedNode(75);w.escapedText=S.escapeLeadingUnderscores(E);w.originalKeywordKind=E?S.stringToToken(E):0;w.autoGenerateFlags=0;w.autoGenerateId=0;if(k){w.typeArguments=createNodeArray(k)}return w}S.createIdentifier=createIdentifier;function updateIdentifier(E,k){return E.typeArguments!==k?updateNode(createIdentifier(S.idText(E),k),E):E}S.updateIdentifier=updateIdentifier;var E=0;function createTempVariable(S,k){var w=createIdentifier("");w.autoGenerateFlags=1;w.autoGenerateId=E;E++;if(S){S(w)}if(k){w.autoGenerateFlags|=8}return w}S.createTempVariable=createTempVariable;function createLoopVariable(){var S=createIdentifier("");S.autoGenerateFlags=2;S.autoGenerateId=E;E++;return S}S.createLoopVariable=createLoopVariable;function createUniqueName(S){var k=createIdentifier(S);k.autoGenerateFlags=3;k.autoGenerateId=E;E++;return k}S.createUniqueName=createUniqueName;function createOptimisticUniqueName(S){var k=createIdentifier(S);k.autoGenerateFlags=3|16;k.autoGenerateId=E;E++;return k}S.createOptimisticUniqueName=createOptimisticUniqueName;function createFileLevelUniqueName(S){var E=createOptimisticUniqueName(S);E.autoGenerateFlags|=32;return E}S.createFileLevelUniqueName=createFileLevelUniqueName;function getGeneratedNameForNode(k,w){var N=createIdentifier(k&&S.isIdentifier(k)?S.idText(k):"");N.autoGenerateFlags=4|w;N.autoGenerateId=E;N.original=k;E++;return N}S.getGeneratedNameForNode=getGeneratedNameForNode;function createPrivateIdentifier(E){if(E[0]!=="#"){S.Debug.fail("First character of private identifier must be #: "+E)}var k=createSynthesizedNode(76);k.escapedText=S.escapeLeadingUnderscores(E);return k}S.createPrivateIdentifier=createPrivateIdentifier;function createToken(S){return createSynthesizedNode(S)}S.createToken=createToken;function createSuper(){return createSynthesizedNode(102)}S.createSuper=createSuper;function createThis(){return createSynthesizedNode(104)}S.createThis=createThis;function createNull(){return createSynthesizedNode(100)}S.createNull=createNull;function createTrue(){return createSynthesizedNode(106)}S.createTrue=createTrue;function createFalse(){return createSynthesizedNode(91)}S.createFalse=createFalse;function createModifier(S){return createToken(S)}S.createModifier=createModifier;function createModifiersFromModifierFlags(S){var E=[];if(S&1){E.push(createModifier(89))}if(S&2){E.push(createModifier(130))}if(S&512){E.push(createModifier(84))}if(S&2048){E.push(createModifier(81))}if(S&4){E.push(createModifier(119))}if(S&8){E.push(createModifier(117))}if(S&16){E.push(createModifier(118))}if(S&128){E.push(createModifier(122))}if(S&32){E.push(createModifier(120))}if(S&64){E.push(createModifier(138))}if(S&256){E.push(createModifier(126))}return E}S.createModifiersFromModifierFlags=createModifiersFromModifierFlags;function createQualifiedName(S,E){var k=createSynthesizedNode(153);k.left=S;k.right=asName(E);return k}S.createQualifiedName=createQualifiedName;function updateQualifiedName(S,E,k){return S.left!==E||S.right!==k?updateNode(createQualifiedName(E,k),S):S}S.updateQualifiedName=updateQualifiedName;function parenthesizeForComputedName(E){return S.isCommaSequence(E)?createParen(E):E}function createComputedPropertyName(S){var E=createSynthesizedNode(154);E.expression=parenthesizeForComputedName(S);return E}S.createComputedPropertyName=createComputedPropertyName;function updateComputedPropertyName(S,E){return S.expression!==E?updateNode(createComputedPropertyName(E),S):S}S.updateComputedPropertyName=updateComputedPropertyName;function createTypeParameterDeclaration(S,E,k){var w=createSynthesizedNode(155);w.name=asName(S);w.constraint=E;w.default=k;return w}S.createTypeParameterDeclaration=createTypeParameterDeclaration;function updateTypeParameterDeclaration(S,E,k,w){return S.name!==E||S.constraint!==k||S.default!==w?updateNode(createTypeParameterDeclaration(E,k,w),S):S}S.updateTypeParameterDeclaration=updateTypeParameterDeclaration;function createParameter(E,k,w,N,j,q,ee){var te=createSynthesizedNode(156);te.decorators=asNodeArray(E);te.modifiers=asNodeArray(k);te.dotDotDotToken=w;te.name=asName(N);te.questionToken=j;te.type=q;te.initializer=ee?S.parenthesizeExpressionForList(ee):undefined;return te}S.createParameter=createParameter;function updateParameter(S,E,k,w,N,j,q,ee){return S.decorators!==E||S.modifiers!==k||S.dotDotDotToken!==w||S.name!==N||S.questionToken!==j||S.type!==q||S.initializer!==ee?updateNode(createParameter(E,k,w,N,j,q,ee),S):S}S.updateParameter=updateParameter;function createDecorator(E){var k=createSynthesizedNode(157);k.expression=S.parenthesizeForAccess(E);return k}S.createDecorator=createDecorator;function updateDecorator(S,E){return S.expression!==E?updateNode(createDecorator(E),S):S}S.updateDecorator=updateDecorator;function createPropertySignature(S,E,k,w,N){var j=createSynthesizedNode(158);j.modifiers=asNodeArray(S);j.name=asName(E);j.questionToken=k;j.type=w;j.initializer=N;return j}S.createPropertySignature=createPropertySignature;function updatePropertySignature(S,E,k,w,N,j){return S.modifiers!==E||S.name!==k||S.questionToken!==w||S.type!==N||S.initializer!==j?updateNode(createPropertySignature(E,k,w,N,j),S):S}S.updatePropertySignature=updatePropertySignature;function createProperty(S,E,k,w,N,j){var q=createSynthesizedNode(159);q.decorators=asNodeArray(S);q.modifiers=asNodeArray(E);q.name=asName(k);q.questionToken=w!==undefined&&w.kind===57?w:undefined;q.exclamationToken=w!==undefined&&w.kind===53?w:undefined;q.type=N;q.initializer=j;return q}S.createProperty=createProperty;function updateProperty(S,E,k,w,N,j,q){return S.decorators!==E||S.modifiers!==k||S.name!==w||S.questionToken!==(N!==undefined&&N.kind===57?N:undefined)||S.exclamationToken!==(N!==undefined&&N.kind===53?N:undefined)||S.type!==j||S.initializer!==q?updateNode(createProperty(E,k,w,N,j,q),S):S}S.updateProperty=updateProperty;function createMethodSignature(S,E,k,w,N){var j=createSignatureDeclaration(160,S,E,k);j.name=asName(w);j.questionToken=N;return j}S.createMethodSignature=createMethodSignature;function updateMethodSignature(S,E,k,w,N,j){return S.typeParameters!==E||S.parameters!==k||S.type!==w||S.name!==N||S.questionToken!==j?updateNode(createMethodSignature(E,k,w,N,j),S):S}S.updateMethodSignature=updateMethodSignature;function createMethod(S,E,k,w,N,j,q,ee,te){var ne=createSynthesizedNode(161);ne.decorators=asNodeArray(S);ne.modifiers=asNodeArray(E);ne.asteriskToken=k;ne.name=asName(w);ne.questionToken=N;ne.typeParameters=asNodeArray(j);ne.parameters=createNodeArray(q);ne.type=ee;ne.body=te;return ne}S.createMethod=createMethod;function createMethodCall(S,E,k){return createCall(createPropertyAccess(S,asName(E)),undefined,k)}function createGlobalMethodCall(S,E,k){return createMethodCall(createIdentifier(S),E,k)}function createObjectDefinePropertyCall(S,E,k){return createGlobalMethodCall("Object","defineProperty",[S,asExpression(E),k])}S.createObjectDefinePropertyCall=createObjectDefinePropertyCall;function tryAddPropertyAssignment(S,E,k){if(k){S.push(createPropertyAssignment(E,k));return true}return false}function createPropertyDescriptor(E,k){var w=[];tryAddPropertyAssignment(w,"enumerable",asExpression(E.enumerable));tryAddPropertyAssignment(w,"configurable",asExpression(E.configurable));var N=tryAddPropertyAssignment(w,"writable",asExpression(E.writable));N=tryAddPropertyAssignment(w,"value",E.value)||N;var j=tryAddPropertyAssignment(w,"get",E.get);j=tryAddPropertyAssignment(w,"set",E.set)||j;S.Debug.assert(!(N&&j),"A PropertyDescriptor may not be both an accessor descriptor and a data descriptor.");return createObjectLiteral(w,!k)}S.createPropertyDescriptor=createPropertyDescriptor;function updateMethod(S,E,k,w,N,j,q,ee,te,ne){return S.decorators!==E||S.modifiers!==k||S.asteriskToken!==w||S.name!==N||S.questionToken!==j||S.typeParameters!==q||S.parameters!==ee||S.type!==te||S.body!==ne?updateNode(createMethod(E,k,w,N,j,q,ee,te,ne),S):S}S.updateMethod=updateMethod;function createConstructor(S,E,k,w){var N=createSynthesizedNode(162);N.decorators=asNodeArray(S);N.modifiers=asNodeArray(E);N.typeParameters=undefined;N.parameters=createNodeArray(k);N.type=undefined;N.body=w;return N}S.createConstructor=createConstructor;function updateConstructor(S,E,k,w,N){return S.decorators!==E||S.modifiers!==k||S.parameters!==w||S.body!==N?updateNode(createConstructor(E,k,w,N),S):S}S.updateConstructor=updateConstructor;function createGetAccessor(S,E,k,w,N,j){var q=createSynthesizedNode(163);q.decorators=asNodeArray(S);q.modifiers=asNodeArray(E);q.name=asName(k);q.typeParameters=undefined;q.parameters=createNodeArray(w);q.type=N;q.body=j;return q}S.createGetAccessor=createGetAccessor;function updateGetAccessor(S,E,k,w,N,j,q){return S.decorators!==E||S.modifiers!==k||S.name!==w||S.parameters!==N||S.type!==j||S.body!==q?updateNode(createGetAccessor(E,k,w,N,j,q),S):S}S.updateGetAccessor=updateGetAccessor;function createSetAccessor(S,E,k,w,N){var j=createSynthesizedNode(164);j.decorators=asNodeArray(S);j.modifiers=asNodeArray(E);j.name=asName(k);j.typeParameters=undefined;j.parameters=createNodeArray(w);j.body=N;return j}S.createSetAccessor=createSetAccessor;function updateSetAccessor(S,E,k,w,N,j){return S.decorators!==E||S.modifiers!==k||S.name!==w||S.parameters!==N||S.body!==j?updateNode(createSetAccessor(E,k,w,N,j),S):S}S.updateSetAccessor=updateSetAccessor;function createCallSignature(S,E,k){return createSignatureDeclaration(165,S,E,k)}S.createCallSignature=createCallSignature;function updateCallSignature(S,E,k,w){return updateSignatureDeclaration(S,E,k,w)}S.updateCallSignature=updateCallSignature;function createConstructSignature(S,E,k){return createSignatureDeclaration(166,S,E,k)}S.createConstructSignature=createConstructSignature;function updateConstructSignature(S,E,k,w){return updateSignatureDeclaration(S,E,k,w)}S.updateConstructSignature=updateConstructSignature;function createIndexSignature(S,E,k,w){var N=createSynthesizedNode(167);N.decorators=asNodeArray(S);N.modifiers=asNodeArray(E);N.parameters=createNodeArray(k);N.type=w;return N}S.createIndexSignature=createIndexSignature;function updateIndexSignature(S,E,k,w,N){return S.parameters!==w||S.type!==N||S.decorators!==E||S.modifiers!==k?updateNode(createIndexSignature(E,k,w,N),S):S}S.updateIndexSignature=updateIndexSignature;function createSignatureDeclaration(S,E,k,w,N){var j=createSynthesizedNode(S);j.typeParameters=asNodeArray(E);j.parameters=asNodeArray(k);j.type=w;j.typeArguments=asNodeArray(N);return j}S.createSignatureDeclaration=createSignatureDeclaration;function updateSignatureDeclaration(S,E,k,w){return S.typeParameters!==E||S.parameters!==k||S.type!==w?updateNode(createSignatureDeclaration(S.kind,E,k,w),S):S}function createKeywordTypeNode(S){return createSynthesizedNode(S)}S.createKeywordTypeNode=createKeywordTypeNode;function createTypePredicateNode(S,E){return createTypePredicateNodeWithModifier(undefined,S,E)}S.createTypePredicateNode=createTypePredicateNode;function createTypePredicateNodeWithModifier(S,E,k){var w=createSynthesizedNode(168);w.assertsModifier=S;w.parameterName=asName(E);w.type=k;return w}S.createTypePredicateNodeWithModifier=createTypePredicateNodeWithModifier;function updateTypePredicateNode(S,E,k){return updateTypePredicateNodeWithModifier(S,S.assertsModifier,E,k)}S.updateTypePredicateNode=updateTypePredicateNode;function updateTypePredicateNodeWithModifier(S,E,k,w){return S.assertsModifier!==E||S.parameterName!==k||S.type!==w?updateNode(createTypePredicateNodeWithModifier(E,k,w),S):S}S.updateTypePredicateNodeWithModifier=updateTypePredicateNodeWithModifier;function createTypeReferenceNode(E,k){var w=createSynthesizedNode(169);w.typeName=asName(E);w.typeArguments=k&&S.parenthesizeTypeParameters(k);return w}S.createTypeReferenceNode=createTypeReferenceNode;function updateTypeReferenceNode(S,E,k){return S.typeName!==E||S.typeArguments!==k?updateNode(createTypeReferenceNode(E,k),S):S}S.updateTypeReferenceNode=updateTypeReferenceNode;function createFunctionTypeNode(S,E,k){return createSignatureDeclaration(170,S,E,k)}S.createFunctionTypeNode=createFunctionTypeNode;function updateFunctionTypeNode(S,E,k,w){return updateSignatureDeclaration(S,E,k,w)}S.updateFunctionTypeNode=updateFunctionTypeNode;function createConstructorTypeNode(S,E,k){return createSignatureDeclaration(171,S,E,k)}S.createConstructorTypeNode=createConstructorTypeNode;function updateConstructorTypeNode(S,E,k,w){return updateSignatureDeclaration(S,E,k,w)}S.updateConstructorTypeNode=updateConstructorTypeNode;function createTypeQueryNode(S){var E=createSynthesizedNode(172);E.exprName=S;return E}S.createTypeQueryNode=createTypeQueryNode;function updateTypeQueryNode(S,E){return S.exprName!==E?updateNode(createTypeQueryNode(E),S):S}S.updateTypeQueryNode=updateTypeQueryNode;function createTypeLiteralNode(S){var E=createSynthesizedNode(173);E.members=createNodeArray(S);return E}S.createTypeLiteralNode=createTypeLiteralNode;function updateTypeLiteralNode(S,E){return S.members!==E?updateNode(createTypeLiteralNode(E),S):S}S.updateTypeLiteralNode=updateTypeLiteralNode;function createArrayTypeNode(E){var k=createSynthesizedNode(174);k.elementType=S.parenthesizeArrayTypeMember(E);return k}S.createArrayTypeNode=createArrayTypeNode;function updateArrayTypeNode(S,E){return S.elementType!==E?updateNode(createArrayTypeNode(E),S):S}S.updateArrayTypeNode=updateArrayTypeNode;function createTupleTypeNode(S){var E=createSynthesizedNode(175);E.elementTypes=createNodeArray(S);return E}S.createTupleTypeNode=createTupleTypeNode;function updateTupleTypeNode(S,E){return S.elementTypes!==E?updateNode(createTupleTypeNode(E),S):S}S.updateTupleTypeNode=updateTupleTypeNode;function createOptionalTypeNode(E){var k=createSynthesizedNode(176);k.type=S.parenthesizeArrayTypeMember(E);return k}S.createOptionalTypeNode=createOptionalTypeNode;function updateOptionalTypeNode(S,E){return S.type!==E?updateNode(createOptionalTypeNode(E),S):S}S.updateOptionalTypeNode=updateOptionalTypeNode;function createRestTypeNode(S){var E=createSynthesizedNode(177);E.type=S;return E}S.createRestTypeNode=createRestTypeNode;function updateRestTypeNode(S,E){return S.type!==E?updateNode(createRestTypeNode(E),S):S}S.updateRestTypeNode=updateRestTypeNode;function createUnionTypeNode(S){return createUnionOrIntersectionTypeNode(178,S)}S.createUnionTypeNode=createUnionTypeNode;function updateUnionTypeNode(S,E){return updateUnionOrIntersectionTypeNode(S,E)}S.updateUnionTypeNode=updateUnionTypeNode;function createIntersectionTypeNode(S){return createUnionOrIntersectionTypeNode(179,S)}S.createIntersectionTypeNode=createIntersectionTypeNode;function updateIntersectionTypeNode(S,E){return updateUnionOrIntersectionTypeNode(S,E)}S.updateIntersectionTypeNode=updateIntersectionTypeNode;function createUnionOrIntersectionTypeNode(E,k){var w=createSynthesizedNode(E);w.types=S.parenthesizeElementTypeMembers(k);return w}S.createUnionOrIntersectionTypeNode=createUnionOrIntersectionTypeNode;function updateUnionOrIntersectionTypeNode(S,E){return S.types!==E?updateNode(createUnionOrIntersectionTypeNode(S.kind,E),S):S}function createConditionalTypeNode(E,k,w,N){var j=createSynthesizedNode(180);j.checkType=S.parenthesizeConditionalTypeMember(E);j.extendsType=S.parenthesizeConditionalTypeMember(k);j.trueType=w;j.falseType=N;return j}S.createConditionalTypeNode=createConditionalTypeNode;function updateConditionalTypeNode(S,E,k,w,N){return S.checkType!==E||S.extendsType!==k||S.trueType!==w||S.falseType!==N?updateNode(createConditionalTypeNode(E,k,w,N),S):S}S.updateConditionalTypeNode=updateConditionalTypeNode;function createInferTypeNode(S){var E=createSynthesizedNode(181);E.typeParameter=S;return E}S.createInferTypeNode=createInferTypeNode;function updateInferTypeNode(S,E){return S.typeParameter!==E?updateNode(createInferTypeNode(E),S):S}S.updateInferTypeNode=updateInferTypeNode;function createImportTypeNode(E,k,w,N){var j=createSynthesizedNode(188);j.argument=E;j.qualifier=k;j.typeArguments=S.parenthesizeTypeParameters(w);j.isTypeOf=N;return j}S.createImportTypeNode=createImportTypeNode;function updateImportTypeNode(S,E,k,w,N){return S.argument!==E||S.qualifier!==k||S.typeArguments!==w||S.isTypeOf!==N?updateNode(createImportTypeNode(E,k,w,N),S):S}S.updateImportTypeNode=updateImportTypeNode;function createParenthesizedType(S){var E=createSynthesizedNode(182);E.type=S;return E}S.createParenthesizedType=createParenthesizedType;function updateParenthesizedType(S,E){return S.type!==E?updateNode(createParenthesizedType(E),S):S}S.updateParenthesizedType=updateParenthesizedType;function createThisTypeNode(){return createSynthesizedNode(183)}S.createThisTypeNode=createThisTypeNode;function createTypeOperatorNode(E,k){var w=createSynthesizedNode(184);w.operator=typeof E==="number"?E:134;w.type=S.parenthesizeElementTypeMember(typeof E==="number"?k:E);return w}S.createTypeOperatorNode=createTypeOperatorNode;function updateTypeOperatorNode(S,E){return S.type!==E?updateNode(createTypeOperatorNode(S.operator,E),S):S}S.updateTypeOperatorNode=updateTypeOperatorNode;function createIndexedAccessTypeNode(E,k){var w=createSynthesizedNode(185);w.objectType=S.parenthesizeElementTypeMember(E);w.indexType=k;return w}S.createIndexedAccessTypeNode=createIndexedAccessTypeNode;function updateIndexedAccessTypeNode(S,E,k){return S.objectType!==E||S.indexType!==k?updateNode(createIndexedAccessTypeNode(E,k),S):S}S.updateIndexedAccessTypeNode=updateIndexedAccessTypeNode;function createMappedTypeNode(S,E,k,w){var N=createSynthesizedNode(186);N.readonlyToken=S;N.typeParameter=E;N.questionToken=k;N.type=w;return N}S.createMappedTypeNode=createMappedTypeNode;function updateMappedTypeNode(S,E,k,w,N){return S.readonlyToken!==E||S.typeParameter!==k||S.questionToken!==w||S.type!==N?updateNode(createMappedTypeNode(E,k,w,N),S):S}S.updateMappedTypeNode=updateMappedTypeNode;function createLiteralTypeNode(S){var E=createSynthesizedNode(187);E.literal=S;return E}S.createLiteralTypeNode=createLiteralTypeNode;function updateLiteralTypeNode(S,E){return S.literal!==E?updateNode(createLiteralTypeNode(E),S):S}S.updateLiteralTypeNode=updateLiteralTypeNode;function createObjectBindingPattern(S){var E=createSynthesizedNode(189);E.elements=createNodeArray(S);return E}S.createObjectBindingPattern=createObjectBindingPattern;function updateObjectBindingPattern(S,E){return S.elements!==E?updateNode(createObjectBindingPattern(E),S):S}S.updateObjectBindingPattern=updateObjectBindingPattern;function createArrayBindingPattern(S){var E=createSynthesizedNode(190);E.elements=createNodeArray(S);return E}S.createArrayBindingPattern=createArrayBindingPattern;function updateArrayBindingPattern(S,E){return S.elements!==E?updateNode(createArrayBindingPattern(E),S):S}S.updateArrayBindingPattern=updateArrayBindingPattern;function createBindingElement(S,E,k,w){var N=createSynthesizedNode(191);N.dotDotDotToken=S;N.propertyName=asName(E);N.name=asName(k);N.initializer=w;return N}S.createBindingElement=createBindingElement;function updateBindingElement(S,E,k,w,N){return S.propertyName!==k||S.dotDotDotToken!==E||S.name!==w||S.initializer!==N?updateNode(createBindingElement(E,k,w,N),S):S}S.updateBindingElement=updateBindingElement;function createArrayLiteral(E,k){var w=createSynthesizedNode(192);w.elements=S.parenthesizeListElements(createNodeArray(E));if(k)w.multiLine=true;return w}S.createArrayLiteral=createArrayLiteral;function updateArrayLiteral(S,E){return S.elements!==E?updateNode(createArrayLiteral(E,S.multiLine),S):S}S.updateArrayLiteral=updateArrayLiteral;function createObjectLiteral(S,E){var k=createSynthesizedNode(193);k.properties=createNodeArray(S);if(E)k.multiLine=true;return k}S.createObjectLiteral=createObjectLiteral;function updateObjectLiteral(S,E){return S.properties!==E?updateNode(createObjectLiteral(E,S.multiLine),S):S}S.updateObjectLiteral=updateObjectLiteral;function createPropertyAccess(E,k){var w=createSynthesizedNode(194);w.expression=S.parenthesizeForAccess(E);w.name=asName(k);setEmitFlags(w,131072);return w}S.createPropertyAccess=createPropertyAccess;function updatePropertyAccess(E,k,w){if(S.isPropertyAccessChain(E)){return updatePropertyAccessChain(E,k,E.questionDotToken,S.cast(w,S.isIdentifier))}return E.expression!==k||E.name!==w?updateNode(setEmitFlags(createPropertyAccess(k,w),S.getEmitFlags(E)),E):E}S.updatePropertyAccess=updatePropertyAccess;function createPropertyAccessChain(E,k,w){var N=createSynthesizedNode(194);N.flags|=32;N.expression=S.parenthesizeForAccess(E);N.questionDotToken=k;N.name=asName(w);setEmitFlags(N,131072);return N}S.createPropertyAccessChain=createPropertyAccessChain;function updatePropertyAccessChain(E,k,w,N){S.Debug.assert(!!(E.flags&32),"Cannot update a PropertyAccessExpression using updatePropertyAccessChain. Use updatePropertyAccess instead.");return E.expression!==k||E.questionDotToken!==w||E.name!==N?updateNode(setEmitFlags(createPropertyAccessChain(k,w,N),S.getEmitFlags(E)),E):E}S.updatePropertyAccessChain=updatePropertyAccessChain;function createElementAccess(E,k){var w=createSynthesizedNode(195);w.expression=S.parenthesizeForAccess(E);w.argumentExpression=asExpression(k);return w}S.createElementAccess=createElementAccess;function updateElementAccess(E,k,w){if(S.isOptionalChain(E)){return updateElementAccessChain(E,k,E.questionDotToken,w)}return E.expression!==k||E.argumentExpression!==w?updateNode(createElementAccess(k,w),E):E}S.updateElementAccess=updateElementAccess;function createElementAccessChain(E,k,w){var N=createSynthesizedNode(195);N.flags|=32;N.expression=S.parenthesizeForAccess(E);N.questionDotToken=k;N.argumentExpression=asExpression(w);return N}S.createElementAccessChain=createElementAccessChain;function updateElementAccessChain(E,k,w,N){S.Debug.assert(!!(E.flags&32),"Cannot update an ElementAccessExpression using updateElementAccessChain. Use updateElementAccess instead.");return E.expression!==k||E.questionDotToken!==w||E.argumentExpression!==N?updateNode(createElementAccessChain(k,w,N),E):E}S.updateElementAccessChain=updateElementAccessChain;function createCall(E,k,w){var N=createSynthesizedNode(196);N.expression=S.parenthesizeForAccess(E);N.typeArguments=asNodeArray(k);N.arguments=S.parenthesizeListElements(createNodeArray(w));return N}S.createCall=createCall;function updateCall(E,k,w,N){if(S.isOptionalChain(E)){return updateCallChain(E,k,E.questionDotToken,w,N)}return E.expression!==k||E.typeArguments!==w||E.arguments!==N?updateNode(createCall(k,w,N),E):E}S.updateCall=updateCall;function createCallChain(E,k,w,N){var j=createSynthesizedNode(196);j.flags|=32;j.expression=S.parenthesizeForAccess(E);j.questionDotToken=k;j.typeArguments=asNodeArray(w);j.arguments=S.parenthesizeListElements(createNodeArray(N));return j}S.createCallChain=createCallChain;function updateCallChain(E,k,w,N,j){S.Debug.assert(!!(E.flags&32),"Cannot update a CallExpression using updateCallChain. Use updateCall instead.");return E.expression!==k||E.questionDotToken!==w||E.typeArguments!==N||E.arguments!==j?updateNode(createCallChain(k,w,N,j),E):E}S.updateCallChain=updateCallChain;function createNew(E,k,w){var N=createSynthesizedNode(197);N.expression=S.parenthesizeForNew(E);N.typeArguments=asNodeArray(k);N.arguments=w?S.parenthesizeListElements(createNodeArray(w)):undefined;return N}S.createNew=createNew;function updateNew(S,E,k,w){return S.expression!==E||S.typeArguments!==k||S.arguments!==w?updateNode(createNew(E,k,w),S):S}S.updateNew=updateNew;function createTaggedTemplate(E,k,w){var N=createSynthesizedNode(198);N.tag=S.parenthesizeForAccess(E);if(w){N.typeArguments=asNodeArray(k);N.template=w}else{N.typeArguments=undefined;N.template=k}return N}S.createTaggedTemplate=createTaggedTemplate;function updateTaggedTemplate(S,E,k,w){return S.tag!==E||(w?S.typeArguments!==k||S.template!==w:S.typeArguments!==undefined||S.template!==k)?updateNode(createTaggedTemplate(E,k,w),S):S}S.updateTaggedTemplate=updateTaggedTemplate;function createTypeAssertion(E,k){var w=createSynthesizedNode(199);w.type=E;w.expression=S.parenthesizePrefixOperand(k);return w}S.createTypeAssertion=createTypeAssertion;function updateTypeAssertion(S,E,k){return S.type!==E||S.expression!==k?updateNode(createTypeAssertion(E,k),S):S}S.updateTypeAssertion=updateTypeAssertion;function createParen(S){var E=createSynthesizedNode(200);E.expression=S;return E}S.createParen=createParen;function updateParen(S,E){return S.expression!==E?updateNode(createParen(E),S):S}S.updateParen=updateParen;function createFunctionExpression(S,E,k,w,N,j,q){var ee=createSynthesizedNode(201);ee.modifiers=asNodeArray(S);ee.asteriskToken=E;ee.name=asName(k);ee.typeParameters=asNodeArray(w);ee.parameters=createNodeArray(N);ee.type=j;ee.body=q;return ee}S.createFunctionExpression=createFunctionExpression;function updateFunctionExpression(S,E,k,w,N,j,q,ee){return S.name!==w||S.modifiers!==E||S.asteriskToken!==k||S.typeParameters!==N||S.parameters!==j||S.type!==q||S.body!==ee?updateNode(createFunctionExpression(E,k,w,N,j,q,ee),S):S}S.updateFunctionExpression=updateFunctionExpression;function createArrowFunction(E,k,w,N,j,q){var ee=createSynthesizedNode(202);ee.modifiers=asNodeArray(E);ee.typeParameters=asNodeArray(k);ee.parameters=createNodeArray(w);ee.type=N;ee.equalsGreaterThanToken=j||createToken(38);ee.body=S.parenthesizeConciseBody(q);return ee}S.createArrowFunction=createArrowFunction;function updateArrowFunction(S,E,k,w,N,j,q){return S.modifiers!==E||S.typeParameters!==k||S.parameters!==w||S.type!==N||S.equalsGreaterThanToken!==j||S.body!==q?updateNode(createArrowFunction(E,k,w,N,j,q),S):S}S.updateArrowFunction=updateArrowFunction;function createDelete(E){var k=createSynthesizedNode(203);k.expression=S.parenthesizePrefixOperand(E);return k}S.createDelete=createDelete;function updateDelete(S,E){return S.expression!==E?updateNode(createDelete(E),S):S}S.updateDelete=updateDelete;function createTypeOf(E){var k=createSynthesizedNode(204);k.expression=S.parenthesizePrefixOperand(E);return k}S.createTypeOf=createTypeOf;function updateTypeOf(S,E){return S.expression!==E?updateNode(createTypeOf(E),S):S}S.updateTypeOf=updateTypeOf;function createVoid(E){var k=createSynthesizedNode(205);k.expression=S.parenthesizePrefixOperand(E);return k}S.createVoid=createVoid;function updateVoid(S,E){return S.expression!==E?updateNode(createVoid(E),S):S}S.updateVoid=updateVoid;function createAwait(E){var k=createSynthesizedNode(206);k.expression=S.parenthesizePrefixOperand(E);return k}S.createAwait=createAwait;function updateAwait(S,E){return S.expression!==E?updateNode(createAwait(E),S):S}S.updateAwait=updateAwait;function createPrefix(E,k){var w=createSynthesizedNode(207);w.operator=E;w.operand=S.parenthesizePrefixOperand(k);return w}S.createPrefix=createPrefix;function updatePrefix(S,E){return S.operand!==E?updateNode(createPrefix(S.operator,E),S):S}S.updatePrefix=updatePrefix;function createPostfix(E,k){var w=createSynthesizedNode(208);w.operand=S.parenthesizePostfixOperand(E);w.operator=k;return w}S.createPostfix=createPostfix;function updatePostfix(S,E){return S.operand!==E?updateNode(createPostfix(E,S.operator),S):S}S.updatePostfix=updatePostfix;function createBinary(E,k,w){var N=createSynthesizedNode(209);var j=asToken(k);var q=j.kind;N.left=S.parenthesizeBinaryOperand(q,E,true,undefined);N.operatorToken=j;N.right=S.parenthesizeBinaryOperand(q,w,false,N.left);return N}S.createBinary=createBinary;function updateBinary(S,E,k,w){return S.left!==E||S.right!==k?updateNode(createBinary(E,w||S.operatorToken,k),S):S}S.updateBinary=updateBinary;function createConditional(E,k,w,N,j){var q=createSynthesizedNode(210);q.condition=S.parenthesizeForConditionalHead(E);q.questionToken=j?k:createToken(57);q.whenTrue=S.parenthesizeSubexpressionOfConditionalExpression(j?w:k);q.colonToken=j?N:createToken(58);q.whenFalse=S.parenthesizeSubexpressionOfConditionalExpression(j?j:w);return q}S.createConditional=createConditional;function updateConditional(S,E,k,w,N,j){return S.condition!==E||S.questionToken!==k||S.whenTrue!==w||S.colonToken!==N||S.whenFalse!==j?updateNode(createConditional(E,k,w,N,j),S):S}S.updateConditional=updateConditional;function createTemplateExpression(S,E){var k=createSynthesizedNode(211);k.head=S;k.templateSpans=createNodeArray(E);return k}S.createTemplateExpression=createTemplateExpression;function updateTemplateExpression(S,E,k){return S.head!==E||S.templateSpans!==k?updateNode(createTemplateExpression(E,k),S):S}S.updateTemplateExpression=updateTemplateExpression;var k;var w={};function getCookedText(E,N){if(!k){k=S.createScanner(99,false,0)}switch(E){case 14:k.setText("`"+N+"`");break;case 15:k.setText("`"+N+"${");break;case 16:k.setText("}"+N+"${");break;case 17:k.setText("}"+N+"`");break}var j=k.scan();if(j===23){j=k.reScanTemplateToken(false)}if(k.isUnterminated()){k.setText(undefined);return w}var q;switch(j){case 14:case 15:case 16:case 17:q=k.getTokenValue();break}if(k.scan()!==1){k.setText(undefined);return w}k.setText(undefined);return q}function createTemplateLiteralLikeNode(E,k,w){var N=createSynthesizedNode(E);N.text=k;if(w===undefined||k===w){N.rawText=w}else{var j=getCookedText(E,w);if(typeof j==="object"){return S.Debug.fail("Invalid raw text")}S.Debug.assert(k===j,"Expected argument 'text' to be the normalized (i.e. 'cooked') version of argument 'rawText'.");N.rawText=w}return N}function createTemplateHead(S,E){var k=createTemplateLiteralLikeNode(15,S,E);k.text=S;return k}S.createTemplateHead=createTemplateHead;function createTemplateMiddle(S,E){var k=createTemplateLiteralLikeNode(16,S,E);k.text=S;return k}S.createTemplateMiddle=createTemplateMiddle;function createTemplateTail(S,E){var k=createTemplateLiteralLikeNode(17,S,E);k.text=S;return k}S.createTemplateTail=createTemplateTail;function createNoSubstitutionTemplateLiteral(S,E){var k=createTemplateLiteralLikeNode(14,S,E);return k}S.createNoSubstitutionTemplateLiteral=createNoSubstitutionTemplateLiteral;function createYield(E,k){var w=E&&E.kind===41?E:undefined;k=E&&E.kind!==41?E:k;var N=createSynthesizedNode(212);N.asteriskToken=w;N.expression=k&&S.parenthesizeExpressionForList(k);return N}S.createYield=createYield;function updateYield(S,E,k){return S.expression!==k||S.asteriskToken!==E?updateNode(createYield(E,k),S):S}S.updateYield=updateYield;function createSpread(E){var k=createSynthesizedNode(213);k.expression=S.parenthesizeExpressionForList(E);return k}S.createSpread=createSpread;function updateSpread(S,E){return S.expression!==E?updateNode(createSpread(E),S):S}S.updateSpread=updateSpread;function createClassExpression(S,E,k,w,N){var j=createSynthesizedNode(214);j.decorators=undefined;j.modifiers=asNodeArray(S);j.name=asName(E);j.typeParameters=asNodeArray(k);j.heritageClauses=asNodeArray(w);j.members=createNodeArray(N);return j}S.createClassExpression=createClassExpression;function updateClassExpression(S,E,k,w,N,j){return S.modifiers!==E||S.name!==k||S.typeParameters!==w||S.heritageClauses!==N||S.members!==j?updateNode(createClassExpression(E,k,w,N,j),S):S}S.updateClassExpression=updateClassExpression;function createOmittedExpression(){return createSynthesizedNode(215)}S.createOmittedExpression=createOmittedExpression;function createExpressionWithTypeArguments(E,k){var w=createSynthesizedNode(216);w.expression=S.parenthesizeForAccess(k);w.typeArguments=asNodeArray(E);return w}S.createExpressionWithTypeArguments=createExpressionWithTypeArguments;function updateExpressionWithTypeArguments(S,E,k){return S.typeArguments!==E||S.expression!==k?updateNode(createExpressionWithTypeArguments(E,k),S):S}S.updateExpressionWithTypeArguments=updateExpressionWithTypeArguments;function createAsExpression(S,E){var k=createSynthesizedNode(217);k.expression=S;k.type=E;return k}S.createAsExpression=createAsExpression;function updateAsExpression(S,E,k){return S.expression!==E||S.type!==k?updateNode(createAsExpression(E,k),S):S}S.updateAsExpression=updateAsExpression;function createNonNullExpression(E){var k=createSynthesizedNode(218);k.expression=S.parenthesizeForAccess(E);return k}S.createNonNullExpression=createNonNullExpression;function updateNonNullExpression(E,k){if(S.isNonNullChain(E)){return updateNonNullChain(E,k)}return E.expression!==k?updateNode(createNonNullExpression(k),E):E}S.updateNonNullExpression=updateNonNullExpression;function createNonNullChain(E){var k=createSynthesizedNode(218);k.flags|=32;k.expression=S.parenthesizeForAccess(E);return k}S.createNonNullChain=createNonNullChain;function updateNonNullChain(E,k){S.Debug.assert(!!(E.flags&32),"Cannot update a NonNullExpression using updateNonNullChain. Use updateNonNullExpression instead.");return E.expression!==k?updateNode(createNonNullChain(k),E):E}S.updateNonNullChain=updateNonNullChain;function createMetaProperty(S,E){var k=createSynthesizedNode(219);k.keywordToken=S;k.name=E;return k}S.createMetaProperty=createMetaProperty;function updateMetaProperty(S,E){return S.name!==E?updateNode(createMetaProperty(S.keywordToken,E),S):S}S.updateMetaProperty=updateMetaProperty;function createTemplateSpan(S,E){var k=createSynthesizedNode(221);k.expression=S;k.literal=E;return k}S.createTemplateSpan=createTemplateSpan;function updateTemplateSpan(S,E,k){return S.expression!==E||S.literal!==k?updateNode(createTemplateSpan(E,k),S):S}S.updateTemplateSpan=updateTemplateSpan;function createSemicolonClassElement(){return createSynthesizedNode(222)}S.createSemicolonClassElement=createSemicolonClassElement;function createBlock(S,E){var k=createSynthesizedNode(223);k.statements=createNodeArray(S);if(E)k.multiLine=E;return k}S.createBlock=createBlock;function updateBlock(S,E){return S.statements!==E?updateNode(createBlock(E,S.multiLine),S):S}S.updateBlock=updateBlock;function createVariableStatement(E,k){var w=createSynthesizedNode(225);w.decorators=undefined;w.modifiers=asNodeArray(E);w.declarationList=S.isArray(k)?createVariableDeclarationList(k):k;return w}S.createVariableStatement=createVariableStatement;function updateVariableStatement(S,E,k){return S.modifiers!==E||S.declarationList!==k?updateNode(createVariableStatement(E,k),S):S}S.updateVariableStatement=updateVariableStatement;function createEmptyStatement(){return createSynthesizedNode(224)}S.createEmptyStatement=createEmptyStatement;function createExpressionStatement(E){var k=createSynthesizedNode(226);k.expression=S.parenthesizeExpressionForExpressionStatement(E);return k}S.createExpressionStatement=createExpressionStatement;function updateExpressionStatement(S,E){return S.expression!==E?updateNode(createExpressionStatement(E),S):S}S.updateExpressionStatement=updateExpressionStatement;S.createStatement=createExpressionStatement;S.updateStatement=updateExpressionStatement;function createIf(S,E,k){var w=createSynthesizedNode(227);w.expression=S;w.thenStatement=asEmbeddedStatement(E);w.elseStatement=asEmbeddedStatement(k);return w}S.createIf=createIf;function updateIf(S,E,k,w){return S.expression!==E||S.thenStatement!==k||S.elseStatement!==w?updateNode(createIf(E,k,w),S):S}S.updateIf=updateIf;function createDo(S,E){var k=createSynthesizedNode(228);k.statement=asEmbeddedStatement(S);k.expression=E;return k}S.createDo=createDo;function updateDo(S,E,k){return S.statement!==E||S.expression!==k?updateNode(createDo(E,k),S):S}S.updateDo=updateDo;function createWhile(S,E){var k=createSynthesizedNode(229);k.expression=S;k.statement=asEmbeddedStatement(E);return k}S.createWhile=createWhile;function updateWhile(S,E,k){return S.expression!==E||S.statement!==k?updateNode(createWhile(E,k),S):S}S.updateWhile=updateWhile;function createFor(S,E,k,w){var N=createSynthesizedNode(230);N.initializer=S;N.condition=E;N.incrementor=k;N.statement=asEmbeddedStatement(w);return N}S.createFor=createFor;function updateFor(S,E,k,w,N){return S.initializer!==E||S.condition!==k||S.incrementor!==w||S.statement!==N?updateNode(createFor(E,k,w,N),S):S}S.updateFor=updateFor;function createForIn(S,E,k){var w=createSynthesizedNode(231);w.initializer=S;w.expression=E;w.statement=asEmbeddedStatement(k);return w}S.createForIn=createForIn;function updateForIn(S,E,k,w){return S.initializer!==E||S.expression!==k||S.statement!==w?updateNode(createForIn(E,k,w),S):S}S.updateForIn=updateForIn;function createForOf(E,k,w,N){var j=createSynthesizedNode(232);j.awaitModifier=E;j.initializer=k;j.expression=S.isCommaSequence(w)?createParen(w):w;j.statement=asEmbeddedStatement(N);return j}S.createForOf=createForOf;function updateForOf(S,E,k,w,N){return S.awaitModifier!==E||S.initializer!==k||S.expression!==w||S.statement!==N?updateNode(createForOf(E,k,w,N),S):S}S.updateForOf=updateForOf;function createContinue(S){var E=createSynthesizedNode(233);E.label=asName(S);return E}S.createContinue=createContinue;function updateContinue(S,E){return S.label!==E?updateNode(createContinue(E),S):S}S.updateContinue=updateContinue;function createBreak(S){var E=createSynthesizedNode(234);E.label=asName(S);return E}S.createBreak=createBreak;function updateBreak(S,E){return S.label!==E?updateNode(createBreak(E),S):S}S.updateBreak=updateBreak;function createReturn(S){var E=createSynthesizedNode(235);E.expression=S;return E}S.createReturn=createReturn;function updateReturn(S,E){return S.expression!==E?updateNode(createReturn(E),S):S}S.updateReturn=updateReturn;function createWith(S,E){var k=createSynthesizedNode(236);k.expression=S;k.statement=asEmbeddedStatement(E);return k}S.createWith=createWith;function updateWith(S,E,k){return S.expression!==E||S.statement!==k?updateNode(createWith(E,k),S):S}S.updateWith=updateWith;function createSwitch(E,k){var w=createSynthesizedNode(237);w.expression=S.parenthesizeExpressionForList(E);w.caseBlock=k;return w}S.createSwitch=createSwitch;function updateSwitch(S,E,k){return S.expression!==E||S.caseBlock!==k?updateNode(createSwitch(E,k),S):S}S.updateSwitch=updateSwitch;function createLabel(S,E){var k=createSynthesizedNode(238);k.label=asName(S);k.statement=asEmbeddedStatement(E);return k}S.createLabel=createLabel;function updateLabel(S,E,k){return S.label!==E||S.statement!==k?updateNode(createLabel(E,k),S):S}S.updateLabel=updateLabel;function createThrow(S){var E=createSynthesizedNode(239);E.expression=S;return E}S.createThrow=createThrow;function updateThrow(S,E){return S.expression!==E?updateNode(createThrow(E),S):S}S.updateThrow=updateThrow;function createTry(S,E,k){var w=createSynthesizedNode(240);w.tryBlock=S;w.catchClause=E;w.finallyBlock=k;return w}S.createTry=createTry;function updateTry(S,E,k,w){return S.tryBlock!==E||S.catchClause!==k||S.finallyBlock!==w?updateNode(createTry(E,k,w),S):S}S.updateTry=updateTry;function createDebuggerStatement(){return createSynthesizedNode(241)}S.createDebuggerStatement=createDebuggerStatement;function createVariableDeclaration(E,k,w){var N=createSynthesizedNode(242);N.name=asName(E);N.type=k;N.initializer=w!==undefined?S.parenthesizeExpressionForList(w):undefined;return N}S.createVariableDeclaration=createVariableDeclaration;function updateVariableDeclaration(S,E,k,w){return S.name!==E||S.type!==k||S.initializer!==w?updateNode(createVariableDeclaration(E,k,w),S):S}S.updateVariableDeclaration=updateVariableDeclaration;function createTypeScriptVariableDeclaration(E,k,w,N){var j=createSynthesizedNode(242);j.name=asName(E);j.type=w;j.initializer=N!==undefined?S.parenthesizeExpressionForList(N):undefined;j.exclamationToken=k;return j}S.createTypeScriptVariableDeclaration=createTypeScriptVariableDeclaration;function updateTypeScriptVariableDeclaration(S,E,k,w,N){return S.name!==E||S.type!==w||S.initializer!==N||S.exclamationToken!==k?updateNode(createTypeScriptVariableDeclaration(E,k,w,N),S):S}S.updateTypeScriptVariableDeclaration=updateTypeScriptVariableDeclaration;function createVariableDeclarationList(S,E){if(E===void 0){E=0}var k=createSynthesizedNode(243);k.flags|=E&3;k.declarations=createNodeArray(S);return k}S.createVariableDeclarationList=createVariableDeclarationList;function updateVariableDeclarationList(S,E){return S.declarations!==E?updateNode(createVariableDeclarationList(E,S.flags),S):S}S.updateVariableDeclarationList=updateVariableDeclarationList;function createFunctionDeclaration(S,E,k,w,N,j,q,ee){var te=createSynthesizedNode(244);te.decorators=asNodeArray(S);te.modifiers=asNodeArray(E);te.asteriskToken=k;te.name=asName(w);te.typeParameters=asNodeArray(N);te.parameters=createNodeArray(j);te.type=q;te.body=ee;return te}S.createFunctionDeclaration=createFunctionDeclaration;function updateFunctionDeclaration(S,E,k,w,N,j,q,ee,te){return S.decorators!==E||S.modifiers!==k||S.asteriskToken!==w||S.name!==N||S.typeParameters!==j||S.parameters!==q||S.type!==ee||S.body!==te?updateNode(createFunctionDeclaration(E,k,w,N,j,q,ee,te),S):S}S.updateFunctionDeclaration=updateFunctionDeclaration;function updateFunctionLikeBody(S,E){switch(S.kind){case 244:return createFunctionDeclaration(S.decorators,S.modifiers,S.asteriskToken,S.name,S.typeParameters,S.parameters,S.type,E);case 161:return createMethod(S.decorators,S.modifiers,S.asteriskToken,S.name,S.questionToken,S.typeParameters,S.parameters,S.type,E);case 163:return createGetAccessor(S.decorators,S.modifiers,S.name,S.parameters,S.type,E);case 164:return createSetAccessor(S.decorators,S.modifiers,S.name,S.parameters,E);case 162:return createConstructor(S.decorators,S.modifiers,S.parameters,E);case 201:return createFunctionExpression(S.modifiers,S.asteriskToken,S.name,S.typeParameters,S.parameters,S.type,E);case 202:return createArrowFunction(S.modifiers,S.typeParameters,S.parameters,S.type,S.equalsGreaterThanToken,E)}}S.updateFunctionLikeBody=updateFunctionLikeBody;function createClassDeclaration(S,E,k,w,N,j){var q=createSynthesizedNode(245);q.decorators=asNodeArray(S);q.modifiers=asNodeArray(E);q.name=asName(k);q.typeParameters=asNodeArray(w);q.heritageClauses=asNodeArray(N);q.members=createNodeArray(j);return q}S.createClassDeclaration=createClassDeclaration;function updateClassDeclaration(S,E,k,w,N,j,q){return S.decorators!==E||S.modifiers!==k||S.name!==w||S.typeParameters!==N||S.heritageClauses!==j||S.members!==q?updateNode(createClassDeclaration(E,k,w,N,j,q),S):S}S.updateClassDeclaration=updateClassDeclaration;function createInterfaceDeclaration(S,E,k,w,N,j){var q=createSynthesizedNode(246);q.decorators=asNodeArray(S);q.modifiers=asNodeArray(E);q.name=asName(k);q.typeParameters=asNodeArray(w);q.heritageClauses=asNodeArray(N);q.members=createNodeArray(j);return q}S.createInterfaceDeclaration=createInterfaceDeclaration;function updateInterfaceDeclaration(S,E,k,w,N,j,q){return S.decorators!==E||S.modifiers!==k||S.name!==w||S.typeParameters!==N||S.heritageClauses!==j||S.members!==q?updateNode(createInterfaceDeclaration(E,k,w,N,j,q),S):S}S.updateInterfaceDeclaration=updateInterfaceDeclaration;function createTypeAliasDeclaration(S,E,k,w,N){var j=createSynthesizedNode(247);j.decorators=asNodeArray(S);j.modifiers=asNodeArray(E);j.name=asName(k);j.typeParameters=asNodeArray(w);j.type=N;return j}S.createTypeAliasDeclaration=createTypeAliasDeclaration;function updateTypeAliasDeclaration(S,E,k,w,N,j){return S.decorators!==E||S.modifiers!==k||S.name!==w||S.typeParameters!==N||S.type!==j?updateNode(createTypeAliasDeclaration(E,k,w,N,j),S):S}S.updateTypeAliasDeclaration=updateTypeAliasDeclaration;function createEnumDeclaration(S,E,k,w){var N=createSynthesizedNode(248);N.decorators=asNodeArray(S);N.modifiers=asNodeArray(E);N.name=asName(k);N.members=createNodeArray(w);return N}S.createEnumDeclaration=createEnumDeclaration;function updateEnumDeclaration(S,E,k,w,N){return S.decorators!==E||S.modifiers!==k||S.name!==w||S.members!==N?updateNode(createEnumDeclaration(E,k,w,N),S):S}S.updateEnumDeclaration=updateEnumDeclaration;function createModuleDeclaration(S,E,k,w,N){if(N===void 0){N=0}var j=createSynthesizedNode(249);j.flags|=N&(16|4|1024);j.decorators=asNodeArray(S);j.modifiers=asNodeArray(E);j.name=k;j.body=w;return j}S.createModuleDeclaration=createModuleDeclaration;function updateModuleDeclaration(S,E,k,w,N){return S.decorators!==E||S.modifiers!==k||S.name!==w||S.body!==N?updateNode(createModuleDeclaration(E,k,w,N,S.flags),S):S}S.updateModuleDeclaration=updateModuleDeclaration;function createModuleBlock(S){var E=createSynthesizedNode(250);E.statements=createNodeArray(S);return E}S.createModuleBlock=createModuleBlock;function updateModuleBlock(S,E){return S.statements!==E?updateNode(createModuleBlock(E),S):S}S.updateModuleBlock=updateModuleBlock;function createCaseBlock(S){var E=createSynthesizedNode(251);E.clauses=createNodeArray(S);return E}S.createCaseBlock=createCaseBlock;function updateCaseBlock(S,E){return S.clauses!==E?updateNode(createCaseBlock(E),S):S}S.updateCaseBlock=updateCaseBlock;function createNamespaceExportDeclaration(S){var E=createSynthesizedNode(252);E.name=asName(S);return E}S.createNamespaceExportDeclaration=createNamespaceExportDeclaration;function updateNamespaceExportDeclaration(S,E){return S.name!==E?updateNode(createNamespaceExportDeclaration(E),S):S}S.updateNamespaceExportDeclaration=updateNamespaceExportDeclaration;function createImportEqualsDeclaration(S,E,k,w){var N=createSynthesizedNode(253);N.decorators=asNodeArray(S);N.modifiers=asNodeArray(E);N.name=asName(k);N.moduleReference=w;return N}S.createImportEqualsDeclaration=createImportEqualsDeclaration;function updateImportEqualsDeclaration(S,E,k,w,N){return S.decorators!==E||S.modifiers!==k||S.name!==w||S.moduleReference!==N?updateNode(createImportEqualsDeclaration(E,k,w,N),S):S}S.updateImportEqualsDeclaration=updateImportEqualsDeclaration;function createImportDeclaration(S,E,k,w){var N=createSynthesizedNode(254);N.decorators=asNodeArray(S);N.modifiers=asNodeArray(E);N.importClause=k;N.moduleSpecifier=w;return N}S.createImportDeclaration=createImportDeclaration;function updateImportDeclaration(S,E,k,w,N){return S.decorators!==E||S.modifiers!==k||S.importClause!==w||S.moduleSpecifier!==N?updateNode(createImportDeclaration(E,k,w,N),S):S}S.updateImportDeclaration=updateImportDeclaration;function createImportClause(S,E,k){if(k===void 0){k=false}var w=createSynthesizedNode(255);w.name=S;w.namedBindings=E;w.isTypeOnly=k;return w}S.createImportClause=createImportClause;function updateImportClause(S,E,k,w){return S.name!==E||S.namedBindings!==k||S.isTypeOnly!==w?updateNode(createImportClause(E,k,w),S):S}S.updateImportClause=updateImportClause;function createNamespaceImport(S){var E=createSynthesizedNode(256);E.name=S;return E}S.createNamespaceImport=createNamespaceImport;function createNamespaceExport(S){var E=createSynthesizedNode(262);E.name=S;return E}S.createNamespaceExport=createNamespaceExport;function updateNamespaceImport(S,E){return S.name!==E?updateNode(createNamespaceImport(E),S):S}S.updateNamespaceImport=updateNamespaceImport;function updateNamespaceExport(S,E){return S.name!==E?updateNode(createNamespaceExport(E),S):S}S.updateNamespaceExport=updateNamespaceExport;function createNamedImports(S){var E=createSynthesizedNode(257);E.elements=createNodeArray(S);return E}S.createNamedImports=createNamedImports;function updateNamedImports(S,E){return S.elements!==E?updateNode(createNamedImports(E),S):S}S.updateNamedImports=updateNamedImports;function createImportSpecifier(S,E){var k=createSynthesizedNode(258);k.propertyName=S;k.name=E;return k}S.createImportSpecifier=createImportSpecifier;function updateImportSpecifier(S,E,k){return S.propertyName!==E||S.name!==k?updateNode(createImportSpecifier(E,k),S):S}S.updateImportSpecifier=updateImportSpecifier;function createExportAssignment(E,k,w,N){var j=createSynthesizedNode(259);j.decorators=asNodeArray(E);j.modifiers=asNodeArray(k);j.isExportEquals=w;j.expression=w?S.parenthesizeBinaryOperand(62,N,false,undefined):S.parenthesizeDefaultExpression(N);return j}S.createExportAssignment=createExportAssignment;function updateExportAssignment(S,E,k,w){return S.decorators!==E||S.modifiers!==k||S.expression!==w?updateNode(createExportAssignment(E,k,S.isExportEquals,w),S):S}S.updateExportAssignment=updateExportAssignment;function createExportDeclaration(S,E,k,w,N){if(N===void 0){N=false}var j=createSynthesizedNode(260);j.decorators=asNodeArray(S);j.modifiers=asNodeArray(E);j.isTypeOnly=N;j.exportClause=k;j.moduleSpecifier=w;return j}S.createExportDeclaration=createExportDeclaration;function updateExportDeclaration(S,E,k,w,N,j){return S.decorators!==E||S.modifiers!==k||S.isTypeOnly!==j||S.exportClause!==w||S.moduleSpecifier!==N?updateNode(createExportDeclaration(E,k,w,N,j),S):S}S.updateExportDeclaration=updateExportDeclaration;function createEmptyExports(){return createExportDeclaration(undefined,undefined,createNamedExports([]),undefined)}S.createEmptyExports=createEmptyExports;function createNamedExports(S){var E=createSynthesizedNode(261);E.elements=createNodeArray(S);return E}S.createNamedExports=createNamedExports;function updateNamedExports(S,E){return S.elements!==E?updateNode(createNamedExports(E),S):S}S.updateNamedExports=updateNamedExports;function createExportSpecifier(S,E){var k=createSynthesizedNode(263);k.propertyName=asName(S);k.name=asName(E);return k}S.createExportSpecifier=createExportSpecifier;function updateExportSpecifier(S,E,k){return S.propertyName!==E||S.name!==k?updateNode(createExportSpecifier(E,k),S):S}S.updateExportSpecifier=updateExportSpecifier;function createExternalModuleReference(S){var E=createSynthesizedNode(265);E.expression=S;return E}S.createExternalModuleReference=createExternalModuleReference;function updateExternalModuleReference(S,E){return S.expression!==E?updateNode(createExternalModuleReference(E),S):S}S.updateExternalModuleReference=updateExternalModuleReference;function createJSDocTypeExpression(S){var E=createSynthesizedNode(294);E.type=S;return E}S.createJSDocTypeExpression=createJSDocTypeExpression;function createJSDocTypeTag(S,E){var k=createJSDocTag(320,"type");k.typeExpression=S;k.comment=E;return k}S.createJSDocTypeTag=createJSDocTypeTag;function createJSDocReturnTag(S,E){var k=createJSDocTag(318,"returns");k.typeExpression=S;k.comment=E;return k}S.createJSDocReturnTag=createJSDocReturnTag;function createJSDocThisTag(S){var E=createJSDocTag(319,"this");E.typeExpression=S;return E}S.createJSDocThisTag=createJSDocThisTag;function createJSDocParamTag(S,E,k,w){var N=createJSDocTag(317,"param");N.typeExpression=k;N.name=S;N.isBracketed=E;N.comment=w;return N}S.createJSDocParamTag=createJSDocParamTag;function createJSDocClassTag(){return createJSDocTag(310,"class")}S.createJSDocClassTag=createJSDocClassTag;function createJSDocComment(S,E){var k=createSynthesizedNode(303);k.comment=S;k.tags=E;return k}S.createJSDocComment=createJSDocComment;function createJSDocTag(S,E){var k=createSynthesizedNode(S);k.tagName=createIdentifier(E);return k}function createJsxElement(S,E,k){var w=createSynthesizedNode(266);w.openingElement=S;w.children=createNodeArray(E);w.closingElement=k;return w}S.createJsxElement=createJsxElement;function updateJsxElement(S,E,k,w){return S.openingElement!==E||S.children!==k||S.closingElement!==w?updateNode(createJsxElement(E,k,w),S):S}S.updateJsxElement=updateJsxElement;function createJsxSelfClosingElement(S,E,k){var w=createSynthesizedNode(267);w.tagName=S;w.typeArguments=asNodeArray(E);w.attributes=k;return w}S.createJsxSelfClosingElement=createJsxSelfClosingElement;function updateJsxSelfClosingElement(S,E,k,w){return S.tagName!==E||S.typeArguments!==k||S.attributes!==w?updateNode(createJsxSelfClosingElement(E,k,w),S):S}S.updateJsxSelfClosingElement=updateJsxSelfClosingElement;function createJsxOpeningElement(S,E,k){var w=createSynthesizedNode(268);w.tagName=S;w.typeArguments=asNodeArray(E);w.attributes=k;return w}S.createJsxOpeningElement=createJsxOpeningElement;function updateJsxOpeningElement(S,E,k,w){return S.tagName!==E||S.typeArguments!==k||S.attributes!==w?updateNode(createJsxOpeningElement(E,k,w),S):S}S.updateJsxOpeningElement=updateJsxOpeningElement;function createJsxClosingElement(S){var E=createSynthesizedNode(269);E.tagName=S;return E}S.createJsxClosingElement=createJsxClosingElement;function updateJsxClosingElement(S,E){return S.tagName!==E?updateNode(createJsxClosingElement(E),S):S}S.updateJsxClosingElement=updateJsxClosingElement;function createJsxFragment(S,E,k){var w=createSynthesizedNode(270);w.openingFragment=S;w.children=createNodeArray(E);w.closingFragment=k;return w}S.createJsxFragment=createJsxFragment;function createJsxText(S,E){var k=createSynthesizedNode(11);k.text=S;k.containsOnlyTriviaWhiteSpaces=!!E;return k}S.createJsxText=createJsxText;function updateJsxText(S,E,k){return S.text!==E||S.containsOnlyTriviaWhiteSpaces!==k?updateNode(createJsxText(E,k),S):S}S.updateJsxText=updateJsxText;function createJsxOpeningFragment(){return createSynthesizedNode(271)}S.createJsxOpeningFragment=createJsxOpeningFragment;function createJsxJsxClosingFragment(){return createSynthesizedNode(272)}S.createJsxJsxClosingFragment=createJsxJsxClosingFragment;function updateJsxFragment(S,E,k,w){return S.openingFragment!==E||S.children!==k||S.closingFragment!==w?updateNode(createJsxFragment(E,k,w),S):S}S.updateJsxFragment=updateJsxFragment;function createJsxAttribute(S,E){var k=createSynthesizedNode(273);k.name=S;k.initializer=E;return k}S.createJsxAttribute=createJsxAttribute;function updateJsxAttribute(S,E,k){return S.name!==E||S.initializer!==k?updateNode(createJsxAttribute(E,k),S):S}S.updateJsxAttribute=updateJsxAttribute;function createJsxAttributes(S){var E=createSynthesizedNode(274);E.properties=createNodeArray(S);return E}S.createJsxAttributes=createJsxAttributes;function updateJsxAttributes(S,E){return S.properties!==E?updateNode(createJsxAttributes(E),S):S}S.updateJsxAttributes=updateJsxAttributes;function createJsxSpreadAttribute(S){var E=createSynthesizedNode(275);E.expression=S;return E}S.createJsxSpreadAttribute=createJsxSpreadAttribute;function updateJsxSpreadAttribute(S,E){return S.expression!==E?updateNode(createJsxSpreadAttribute(E),S):S}S.updateJsxSpreadAttribute=updateJsxSpreadAttribute;function createJsxExpression(S,E){var k=createSynthesizedNode(276);k.dotDotDotToken=S;k.expression=E;return k}S.createJsxExpression=createJsxExpression;function updateJsxExpression(S,E){return S.expression!==E?updateNode(createJsxExpression(S.dotDotDotToken,E),S):S}S.updateJsxExpression=updateJsxExpression;function createCaseClause(E,k){var w=createSynthesizedNode(277);w.expression=S.parenthesizeExpressionForList(E);w.statements=createNodeArray(k);return w}S.createCaseClause=createCaseClause;function updateCaseClause(S,E,k){return S.expression!==E||S.statements!==k?updateNode(createCaseClause(E,k),S):S}S.updateCaseClause=updateCaseClause;function createDefaultClause(S){var E=createSynthesizedNode(278);E.statements=createNodeArray(S);return E}S.createDefaultClause=createDefaultClause;function updateDefaultClause(S,E){return S.statements!==E?updateNode(createDefaultClause(E),S):S}S.updateDefaultClause=updateDefaultClause;function createHeritageClause(S,E){var k=createSynthesizedNode(279);k.token=S;k.types=createNodeArray(E);return k}S.createHeritageClause=createHeritageClause;function updateHeritageClause(S,E){return S.types!==E?updateNode(createHeritageClause(S.token,E),S):S}S.updateHeritageClause=updateHeritageClause;function createCatchClause(E,k){var w=createSynthesizedNode(280);w.variableDeclaration=S.isString(E)?createVariableDeclaration(E):E;w.block=k;return w}S.createCatchClause=createCatchClause;function updateCatchClause(S,E,k){return S.variableDeclaration!==E||S.block!==k?updateNode(createCatchClause(E,k),S):S}S.updateCatchClause=updateCatchClause;function createPropertyAssignment(E,k){var w=createSynthesizedNode(281);w.name=asName(E);w.questionToken=undefined;w.initializer=S.parenthesizeExpressionForList(k);return w}S.createPropertyAssignment=createPropertyAssignment;function updatePropertyAssignment(S,E,k){return S.name!==E||S.initializer!==k?updateNode(createPropertyAssignment(E,k),S):S}S.updatePropertyAssignment=updatePropertyAssignment;function createShorthandPropertyAssignment(E,k){var w=createSynthesizedNode(282);w.name=asName(E);w.objectAssignmentInitializer=k!==undefined?S.parenthesizeExpressionForList(k):undefined;return w}S.createShorthandPropertyAssignment=createShorthandPropertyAssignment;function updateShorthandPropertyAssignment(S,E,k){return S.name!==E||S.objectAssignmentInitializer!==k?updateNode(createShorthandPropertyAssignment(E,k),S):S}S.updateShorthandPropertyAssignment=updateShorthandPropertyAssignment;function createSpreadAssignment(E){var k=createSynthesizedNode(283);k.expression=S.parenthesizeExpressionForList(E);return k}S.createSpreadAssignment=createSpreadAssignment;function updateSpreadAssignment(S,E){return S.expression!==E?updateNode(createSpreadAssignment(E),S):S}S.updateSpreadAssignment=updateSpreadAssignment;function createEnumMember(E,k){var w=createSynthesizedNode(284);w.name=asName(E);w.initializer=k&&S.parenthesizeExpressionForList(k);return w}S.createEnumMember=createEnumMember;function updateEnumMember(S,E,k){return S.name!==E||S.initializer!==k?updateNode(createEnumMember(E,k),S):S}S.updateEnumMember=updateEnumMember;function updateSourceFileNode(S,E,k,w,N,j,q){if(S.statements!==E||k!==undefined&&S.isDeclarationFile!==k||w!==undefined&&S.referencedFiles!==w||N!==undefined&&S.typeReferenceDirectives!==N||q!==undefined&&S.libReferenceDirectives!==q||j!==undefined&&S.hasNoDefaultLib!==j){var ee=createSynthesizedNode(290);ee.flags|=S.flags;ee.statements=createNodeArray(E);ee.endOfFileToken=S.endOfFileToken;ee.fileName=S.fileName;ee.path=S.path;ee.text=S.text;ee.isDeclarationFile=k===undefined?S.isDeclarationFile:k;ee.referencedFiles=w===undefined?S.referencedFiles:w;ee.typeReferenceDirectives=N===undefined?S.typeReferenceDirectives:N;ee.hasNoDefaultLib=j===undefined?S.hasNoDefaultLib:j;ee.libReferenceDirectives=q===undefined?S.libReferenceDirectives:q;if(S.amdDependencies!==undefined)ee.amdDependencies=S.amdDependencies;if(S.moduleName!==undefined)ee.moduleName=S.moduleName;if(S.languageVariant!==undefined)ee.languageVariant=S.languageVariant;if(S.renamedDependencies!==undefined)ee.renamedDependencies=S.renamedDependencies;if(S.languageVersion!==undefined)ee.languageVersion=S.languageVersion;if(S.scriptKind!==undefined)ee.scriptKind=S.scriptKind;if(S.externalModuleIndicator!==undefined)ee.externalModuleIndicator=S.externalModuleIndicator;if(S.commonJsModuleIndicator!==undefined)ee.commonJsModuleIndicator=S.commonJsModuleIndicator;if(S.identifiers!==undefined)ee.identifiers=S.identifiers;if(S.nodeCount!==undefined)ee.nodeCount=S.nodeCount;if(S.identifierCount!==undefined)ee.identifierCount=S.identifierCount;if(S.symbolCount!==undefined)ee.symbolCount=S.symbolCount;if(S.parseDiagnostics!==undefined)ee.parseDiagnostics=S.parseDiagnostics;if(S.bindDiagnostics!==undefined)ee.bindDiagnostics=S.bindDiagnostics;if(S.bindSuggestionDiagnostics!==undefined)ee.bindSuggestionDiagnostics=S.bindSuggestionDiagnostics;if(S.lineMap!==undefined)ee.lineMap=S.lineMap;if(S.classifiableNames!==undefined)ee.classifiableNames=S.classifiableNames;if(S.resolvedModules!==undefined)ee.resolvedModules=S.resolvedModules;if(S.resolvedTypeReferenceDirectiveNames!==undefined)ee.resolvedTypeReferenceDirectiveNames=S.resolvedTypeReferenceDirectiveNames;if(S.imports!==undefined)ee.imports=S.imports;if(S.moduleAugmentations!==undefined)ee.moduleAugmentations=S.moduleAugmentations;if(S.pragmas!==undefined)ee.pragmas=S.pragmas;if(S.localJsxFactory!==undefined)ee.localJsxFactory=S.localJsxFactory;if(S.localJsxNamespace!==undefined)ee.localJsxNamespace=S.localJsxNamespace;return updateNode(ee,S)}return S}S.updateSourceFileNode=updateSourceFileNode;function getMutableClone(S){var E=getSynthesizedClone(S);E.pos=S.pos;E.end=S.end;E.parent=S.parent;return E}S.getMutableClone=getMutableClone;function createNotEmittedStatement(S){var E=createSynthesizedNode(325);E.original=S;setTextRange(E,S);return E}S.createNotEmittedStatement=createNotEmittedStatement;function createEndOfDeclarationMarker(S){var E=createSynthesizedNode(329);E.emitNode={};E.original=S;return E}S.createEndOfDeclarationMarker=createEndOfDeclarationMarker;function createMergeDeclarationMarker(S){var E=createSynthesizedNode(328);E.emitNode={};E.original=S;return E}S.createMergeDeclarationMarker=createMergeDeclarationMarker;function createPartiallyEmittedExpression(S,E){var k=createSynthesizedNode(326);k.expression=S;k.original=E;setTextRange(k,E);return k}S.createPartiallyEmittedExpression=createPartiallyEmittedExpression;function updatePartiallyEmittedExpression(S,E){if(S.expression!==E){return updateNode(createPartiallyEmittedExpression(E,S.original),S)}return S}S.updatePartiallyEmittedExpression=updatePartiallyEmittedExpression;function flattenCommaElements(E){if(S.nodeIsSynthesized(E)&&!S.isParseTreeNode(E)&&!E.original&&!E.emitNode&&!E.id){if(E.kind===327){return E.elements}if(S.isBinaryExpression(E)&&E.operatorToken.kind===27){return[E.left,E.right]}}return E}function createCommaList(E){var k=createSynthesizedNode(327);k.elements=createNodeArray(S.sameFlatMap(E,flattenCommaElements));return k}S.createCommaList=createCommaList;function updateCommaList(S,E){return S.elements!==E?updateNode(createCommaList(E),S):S}S.updateCommaList=updateCommaList;function createSyntheticReferenceExpression(S,E){var k=createSynthesizedNode(330);k.expression=S;k.thisArg=E;return k}S.createSyntheticReferenceExpression=createSyntheticReferenceExpression;function updateSyntheticReferenceExpression(S,E,k){return S.expression!==E||S.thisArg!==k?updateNode(createSyntheticReferenceExpression(E,k),S):S}S.updateSyntheticReferenceExpression=updateSyntheticReferenceExpression;function createBundle(E,k){if(k===void 0){k=S.emptyArray}var w=S.createNode(291);w.prepends=k;w.sourceFiles=E;return w}S.createBundle=createBundle;var N;function getAllUnscopedEmitHelpers(){return N||(N=S.arrayToMap([S.valuesHelper,S.readHelper,S.spreadHelper,S.spreadArraysHelper,S.restHelper,S.decorateHelper,S.metadataHelper,S.paramHelper,S.awaiterHelper,S.assignHelper,S.awaitHelper,S.asyncGeneratorHelper,S.asyncDelegator,S.asyncValues,S.extendsHelper,S.templateObjectHelper,S.generatorHelper,S.importStarHelper,S.importDefaultHelper,S.classPrivateFieldGetHelper,S.classPrivateFieldSetHelper,S.createBindingHelper,S.setModuleDefaultHelper],(function(S){return S.name})))}function createUnparsedSource(){var E=S.createNode(292);E.prologues=S.emptyArray;E.referencedFiles=S.emptyArray;E.libReferenceDirectives=S.emptyArray;E.getLineAndCharacterOfPosition=function(k){return S.getLineAndCharacterOfPosition(E,k)};return E}function createUnparsedSourceFile(E,k,w){var N=createUnparsedSource();var j;var q;if(!S.isString(E)){S.Debug.assert(k==="js"||k==="dts");N.fileName=(k==="js"?E.javascriptPath:E.declarationPath)||"";N.sourceMapPath=k==="js"?E.javascriptMapPath:E.declarationMapPath;Object.defineProperties(N,{text:{get:function(){return k==="js"?E.javascriptText:E.declarationText}},sourceMapText:{get:function(){return k==="js"?E.javascriptMapText:E.declarationMapText}}});if(E.buildInfo&&E.buildInfo.bundle){N.oldFileOfCurrentEmit=E.oldFileOfCurrentEmit;S.Debug.assert(w===undefined||typeof w==="boolean");j=w;q=k==="js"?E.buildInfo.bundle.js:E.buildInfo.bundle.dts;if(N.oldFileOfCurrentEmit){parseOldFileOfCurrentEmit(N,S.Debug.checkDefined(q));return N}}}else{N.fileName="";N.text=E;N.sourceMapPath=k;N.sourceMapText=w}S.Debug.assert(!N.oldFileOfCurrentEmit);parseUnparsedSourceFile(N,q,j);return N}S.createUnparsedSourceFile=createUnparsedSourceFile;function parseUnparsedSourceFile(E,k,w){var N;var j;var q;var ee;var te;var ne;for(var ae=0,_e=k?k.sections:S.emptyArray;ae<_e.length;ae++){var ve=_e[ae];switch(ve.kind){case"prologue":(N||(N=[])).push(createUnparsedNode(ve,E));break;case"emitHelpers":(j||(j=[])).push(getAllUnscopedEmitHelpers().get(ve.data));break;case"no-default-lib":E.hasNoDefaultLib=true;break;case"reference":(q||(q=[])).push({pos:-1,end:-1,fileName:ve.data});break;case"type":(ee||(ee=[])).push(ve.data);break;case"lib":(te||(te=[])).push({pos:-1,end:-1,fileName:ve.data});break;case"prepend":var Ee=createUnparsedNode(ve,E);var Te=void 0;for(var Ce=0,we=ve.texts;Ce0){j[te-ee]=ne}}if(ee>0){j.length-=ee}}S.moveEmitHelpers=moveEmitHelpers;function compareEmitHelpers(E,k){if(E===k)return 0;if(E.priority===k.priority)return 0;if(E.priority===undefined)return 1;if(k.priority===undefined)return-1;return S.compareValues(E.priority,k.priority)}S.compareEmitHelpers=compareEmitHelpers;function setOriginalNode(S,E){S.original=E;if(E){var k=E.emitNode;if(k)S.emitNode=mergeEmitNode(k,S.emitNode)}return S}S.setOriginalNode=setOriginalNode;function mergeEmitNode(E,k){var w=E.flags,N=E.leadingComments,j=E.trailingComments,q=E.commentRange,ee=E.sourceMapRange,te=E.tokenSourceMapRanges,ne=E.constantValue,ae=E.helpers,_e=E.startsOnNewLine;if(!k)k={};if(N)k.leadingComments=S.addRange(N.slice(),k.leadingComments);if(j)k.trailingComments=S.addRange(j.slice(),k.trailingComments);if(w)k.flags=w;if(q)k.commentRange=q;if(ee)k.sourceMapRange=ee;if(te)k.tokenSourceMapRanges=mergeTokenSourceMapRanges(te,k.tokenSourceMapRanges);if(ne!==undefined)k.constantValue=ne;if(ae)k.helpers=S.addRange(k.helpers,ae);if(_e!==undefined)k.startsOnNewLine=_e;return k}function mergeTokenSourceMapRanges(S,E){if(!E)E=[];for(var k in S){E[k]=S[k]}return E}})(ne||(ne={}));var ne;(function(S){S.nullTransformationContext={enableEmitNotification:S.noop,enableSubstitution:S.noop,endLexicalEnvironment:S.returnUndefined,getCompilerOptions:function(){return{}},getEmitHost:S.notImplemented,getEmitResolver:S.notImplemented,setLexicalEnvironmentFlags:S.noop,getLexicalEnvironmentFlags:function(){return 0},hoistFunctionDeclaration:S.noop,hoistVariableDeclaration:S.noop,addInitializationStatement:S.noop,isEmitNotificationEnabled:S.notImplemented,isSubstitutionEnabled:S.notImplemented,onEmitNode:S.noop,onSubstituteNode:S.notImplemented,readEmitHelpers:S.notImplemented,requestEmitHelper:S.noop,resumeLexicalEnvironment:S.noop,startLexicalEnvironment:S.noop,suspendLexicalEnvironment:S.noop,addDiagnostic:S.noop};function createTypeCheck(E,k){return k==="undefined"?S.createStrictEquality(E,S.createVoidZero()):S.createStrictEquality(S.createTypeOf(E),S.createLiteral(k))}S.createTypeCheck=createTypeCheck;function createMemberAccessForPropertyName(E,k,w){if(S.isComputedPropertyName(k)){return S.setTextRange(S.createElementAccess(E,k.expression),w)}else{var N=S.setTextRange(S.isIdentifier(k)||S.isPrivateIdentifier(k)?S.createPropertyAccess(E,k):S.createElementAccess(E,k),k);S.getOrCreateEmitNode(N).flags|=64;return N}}S.createMemberAccessForPropertyName=createMemberAccessForPropertyName;function createFunctionCall(E,k,N,j){return S.setTextRange(S.createCall(S.createPropertyAccess(E,"call"),undefined,w([k],N)),j)}S.createFunctionCall=createFunctionCall;function createFunctionApply(E,k,w,N){return S.setTextRange(S.createCall(S.createPropertyAccess(E,"apply"),undefined,[k,w]),N)}S.createFunctionApply=createFunctionApply;function createArraySlice(E,k){var w=[];if(k!==undefined){w.push(typeof k==="number"?S.createLiteral(k):k)}return S.createCall(S.createPropertyAccess(E,"slice"),undefined,w)}S.createArraySlice=createArraySlice;function createArrayConcat(E,k){return S.createCall(S.createPropertyAccess(E,"concat"),undefined,k)}S.createArrayConcat=createArrayConcat;function createMathPow(E,k,w){return S.setTextRange(S.createCall(S.createPropertyAccess(S.createIdentifier("Math"),"pow"),undefined,[E,k]),w)}S.createMathPow=createMathPow;function createReactNamespace(E,k){var w=S.createIdentifier(E||"React");w.flags&=~8;w.parent=S.getParseTreeNode(k);return w}function createJsxFactoryExpressionFromEntityName(E,k){if(S.isQualifiedName(E)){var w=createJsxFactoryExpressionFromEntityName(E.left,k);var N=S.createIdentifier(S.idText(E.right));N.escapedText=E.right.escapedText;return S.createPropertyAccess(w,N)}else{return createReactNamespace(S.idText(E),k)}}function createJsxFactoryExpression(E,k,w){return E?createJsxFactoryExpressionFromEntityName(E,w):S.createPropertyAccess(createReactNamespace(k,w),"createElement")}function createExpressionForJsxElement(E,k,w,N,j,q,ee){var te=[w];if(N){te.push(N)}if(j&&j.length>0){if(!N){te.push(S.createNull())}if(j.length>1){for(var ne=0,ae=j;ne0){if(w.length>1){for(var te=0,ne=w;te= o.length) o = void 0;\n return { value: o && o[i++], done: !o };\n }\n };\n throw new TypeError(s ? "Object is not iterable." : "Symbol.iterator is not defined.");\n };'};function createValuesHelper(E,k,w){E.requestEmitHelper(S.valuesHelper);return S.setTextRange(S.createCall(getUnscopedHelperName("__values"),undefined,[k]),w)}S.createValuesHelper=createValuesHelper;S.readHelper={name:"typescript:read",importName:"__read",scoped:false,text:'\n var __read = (this && this.__read) || function (o, n) {\n var m = typeof Symbol === "function" && o[Symbol.iterator];\n if (!m) return o;\n var i = m.call(o), r, ar = [], e;\n try {\n while ((n === void 0 || n-- > 0) && !(r = i.next()).done) ar.push(r.value);\n }\n catch (error) { e = { error: error }; }\n finally {\n try {\n if (r && !r.done && (m = i["return"])) m.call(i);\n }\n finally { if (e) throw e.error; }\n }\n return ar;\n };'};function createReadHelper(E,k,w,N){E.requestEmitHelper(S.readHelper);return S.setTextRange(S.createCall(getUnscopedHelperName("__read"),undefined,w!==undefined?[k,S.createLiteral(w)]:[k]),N)}S.createReadHelper=createReadHelper;S.spreadHelper={name:"typescript:spread",importName:"__spread",scoped:false,dependencies:[S.readHelper],text:"\n var __spread = (this && this.__spread) || function () {\n for (var ar = [], i = 0; i < arguments.length; i++) ar = ar.concat(__read(arguments[i]));\n return ar;\n };"};function createSpreadHelper(E,k,w){E.requestEmitHelper(S.spreadHelper);return S.setTextRange(S.createCall(getUnscopedHelperName("__spread"),undefined,k),w)}S.createSpreadHelper=createSpreadHelper;S.spreadArraysHelper={name:"typescript:spreadArrays",importName:"__spreadArrays",scoped:false,text:"\n var __spreadArrays = (this && this.__spreadArrays) || function () {\n for (var s = 0, i = 0, il = arguments.length; i < il; i++) s += arguments[i].length;\n for (var r = Array(s), k = 0, i = 0; i < il; i++)\n for (var a = arguments[i], j = 0, jl = a.length; j < jl; j++, k++)\n r[k] = a[j];\n return r;\n };"};function createSpreadArraysHelper(E,k,w){E.requestEmitHelper(S.spreadArraysHelper);return S.setTextRange(S.createCall(getUnscopedHelperName("__spreadArrays"),undefined,k),w)}S.createSpreadArraysHelper=createSpreadArraysHelper;function createForOfBindingStatement(E,k){if(S.isVariableDeclarationList(E)){var w=S.first(E.declarations);var N=S.updateVariableDeclaration(w,w.name,undefined,k);return S.setTextRange(S.createVariableStatement(undefined,S.updateVariableDeclarationList(E,[N])),E)}else{var j=S.setTextRange(S.createAssignment(E,k),E);return S.setTextRange(S.createStatement(j),E)}}S.createForOfBindingStatement=createForOfBindingStatement;function insertLeadingStatement(E,k){if(S.isBlock(E)){return S.updateBlock(E,S.setTextRange(S.createNodeArray(w([k],E.statements)),E.statements))}else{return S.createBlock(S.createNodeArray([E,k]),true)}}S.insertLeadingStatement=insertLeadingStatement;function restoreEnclosingLabel(E,k,w){if(!k){return E}var N=S.updateLabel(k,k.label,k.statement.kind===238?restoreEnclosingLabel(E,k.statement):E);if(w){w(k)}return N}S.restoreEnclosingLabel=restoreEnclosingLabel;function shouldBeCapturedInTempVariable(E,k){var w=S.skipParentheses(E);switch(w.kind){case 75:return k;case 104:case 8:case 9:case 10:return false;case 192:var N=w.elements;if(N.length===0){return false}return true;case 193:return w.properties.length>0;default:return true}}function createCallBinding(E,k,w,N){if(N===void 0){N=false}var j=skipOuterExpressions(E,15);var q;var ee;if(S.isSuperProperty(j)){q=S.createThis();ee=j}else if(j.kind===102){q=S.createThis();ee=w<2?S.setTextRange(S.createIdentifier("_super"),j):j}else if(S.getEmitFlags(j)&4096){q=S.createVoidZero();ee=parenthesizeForAccess(j)}else{switch(j.kind){case 194:{if(shouldBeCapturedInTempVariable(j.expression,N)){q=S.createTempVariable(k);ee=S.createPropertyAccess(S.setTextRange(S.createAssignment(q,j.expression),j.expression),j.name);S.setTextRange(ee,j)}else{q=j.expression;ee=j}break}case 195:{if(shouldBeCapturedInTempVariable(j.expression,N)){q=S.createTempVariable(k);ee=S.createElementAccess(S.setTextRange(S.createAssignment(q,j.expression),j.expression),j.argumentExpression);S.setTextRange(ee,j)}else{q=j.expression;ee=j}break}default:{q=S.createVoidZero();ee=parenthesizeForAccess(E);break}}}return{target:ee,thisArg:q}}S.createCallBinding=createCallBinding;function inlineExpressions(E){return E.length>10?S.createCommaList(E):S.reduceLeft(E,S.createComma)}S.inlineExpressions=inlineExpressions;function createExpressionFromEntityName(E){if(S.isQualifiedName(E)){var k=createExpressionFromEntityName(E.left);var w=S.getMutableClone(E.right);return S.setTextRange(S.createPropertyAccess(k,w),E)}else{return S.getMutableClone(E)}}S.createExpressionFromEntityName=createExpressionFromEntityName;function createExpressionForPropertyName(E){if(S.isIdentifier(E)){return S.createLiteral(E)}else if(S.isComputedPropertyName(E)){return S.getMutableClone(E.expression)}else{return S.getMutableClone(E)}}S.createExpressionForPropertyName=createExpressionForPropertyName;function createExpressionForObjectLiteralElementLike(E,k,w){if(k.name&&S.isPrivateIdentifier(k.name)){S.Debug.failBadSyntaxKind(k.name,"Private identifiers are not allowed in object literals.")}switch(k.kind){case 163:case 164:return createExpressionForAccessorDeclaration(E.properties,k,w,!!E.multiLine);case 281:return createExpressionForPropertyAssignment(k,w);case 282:return createExpressionForShorthandPropertyAssignment(k,w);case 161:return createExpressionForMethodDeclaration(k,w)}}S.createExpressionForObjectLiteralElementLike=createExpressionForObjectLiteralElementLike;function createExpressionForAccessorDeclaration(E,k,w,N){var j=S.getAllAccessorDeclarations(E,k),q=j.firstAccessor,ee=j.getAccessor,te=j.setAccessor;if(k===q){var ne=[];if(ee){var ae=S.createFunctionExpression(ee.modifiers,undefined,undefined,undefined,ee.parameters,undefined,ee.body);S.setTextRange(ae,ee);S.setOriginalNode(ae,ee);var _e=S.createPropertyAssignment("get",ae);ne.push(_e)}if(te){var ve=S.createFunctionExpression(te.modifiers,undefined,undefined,undefined,te.parameters,undefined,te.body);S.setTextRange(ve,te);S.setOriginalNode(ve,te);var Ee=S.createPropertyAssignment("set",ve);ne.push(Ee)}ne.push(S.createPropertyAssignment("enumerable",ee||te?S.createFalse():S.createTrue()));ne.push(S.createPropertyAssignment("configurable",S.createTrue()));var Te=S.setTextRange(S.createCall(S.createPropertyAccess(S.createIdentifier("Object"),"defineProperty"),undefined,[w,createExpressionForPropertyName(k.name),S.createObjectLiteral(ne,N)]),q);return S.aggregateTransformFlags(Te)}return undefined}function createExpressionForPropertyAssignment(E,k){return S.aggregateTransformFlags(S.setOriginalNode(S.setTextRange(S.createAssignment(createMemberAccessForPropertyName(k,E.name,E.name),E.initializer),E),E))}function createExpressionForShorthandPropertyAssignment(E,k){return S.aggregateTransformFlags(S.setOriginalNode(S.setTextRange(S.createAssignment(createMemberAccessForPropertyName(k,E.name,E.name),S.getSynthesizedClone(E.name)),E),E))}function createExpressionForMethodDeclaration(E,k){return S.aggregateTransformFlags(S.setOriginalNode(S.setTextRange(S.createAssignment(createMemberAccessForPropertyName(k,E.name,E.name),S.setOriginalNode(S.setTextRange(S.createFunctionExpression(E.modifiers,E.asteriskToken,undefined,undefined,E.parameters,undefined,E.body),E),E)),E),E))}function getInternalName(S,E,k){return getName(S,E,k,16384|32768)}S.getInternalName=getInternalName;function isInternalName(E){return(S.getEmitFlags(E)&32768)!==0}S.isInternalName=isInternalName;function getLocalName(S,E,k){return getName(S,E,k,16384)}S.getLocalName=getLocalName;function isLocalName(E){return(S.getEmitFlags(E)&16384)!==0}S.isLocalName=isLocalName;function getExportName(S,E,k){return getName(S,E,k,8192)}S.getExportName=getExportName;function isExportName(E){return(S.getEmitFlags(E)&8192)!==0}S.isExportName=isExportName;function getDeclarationName(S,E,k){return getName(S,E,k)}S.getDeclarationName=getDeclarationName;function getName(E,k,w,N){if(N===void 0){N=0}var j=S.getNameOfDeclaration(E);if(j&&S.isIdentifier(j)&&!S.isGeneratedIdentifier(j)){var q=S.getMutableClone(j);N|=S.getEmitFlags(j);if(!w)N|=48;if(!k)N|=1536;if(N)S.setEmitFlags(q,N);return q}return S.getGeneratedNameForNode(E)}function getExternalModuleOrNamespaceExportName(E,k,w,N){if(E&&S.hasModifier(k,1)){return getNamespaceMemberName(E,getName(k),w,N)}return getExportName(k,w,N)}S.getExternalModuleOrNamespaceExportName=getExternalModuleOrNamespaceExportName;function getNamespaceMemberName(E,k,w,N){var j=S.createPropertyAccess(E,S.nodeIsSynthesized(k)?k:S.getSynthesizedClone(k));S.setTextRange(j,k);var q=0;if(!N)q|=48;if(!w)q|=1536;if(q)S.setEmitFlags(j,q);return j}S.getNamespaceMemberName=getNamespaceMemberName;function convertToFunctionBody(E,k){return S.isBlock(E)?E:S.setTextRange(S.createBlock([S.setTextRange(S.createReturn(E),E)],k),E)}S.convertToFunctionBody=convertToFunctionBody;function convertFunctionDeclarationToExpression(E){if(!E.body)return S.Debug.fail();var k=S.createFunctionExpression(E.modifiers,E.asteriskToken,E.name,E.typeParameters,E.parameters,E.type,E.body);S.setOriginalNode(k,E);S.setTextRange(k,E);if(S.getStartsOnNewLine(E)){S.setStartsOnNewLine(k,true)}S.aggregateTransformFlags(k);return k}S.convertFunctionDeclarationToExpression=convertFunctionDeclarationToExpression;function isUseStrictPrologue(E){return S.isStringLiteral(E.expression)&&E.expression.text==="use strict"}function addPrologue(S,E,k,w){var N=addStandardPrologue(S,E,k);return addCustomPrologue(S,E,N,w)}S.addPrologue=addPrologue;function addStandardPrologue(E,k,w){S.Debug.assert(E.length===0,"Prologue directives should be at the first statement in the target statements array");var N=false;var j=0;var q=k.length;while(j3){return true}var te=S.getExpressionPrecedence(ee);switch(S.compareValues(te,j)){case-1:if(!w&&q===1&&k.kind===212){return false}return true;case 1:return false;case 0:if(w){return q===1}else{if(S.isBinaryExpression(ee)&&ee.operatorToken.kind===E){if(operatorHasAssociativeProperty(E)){return false}if(E===39){var ne=N?getLiteralKindOfBinaryPlusOperand(N):0;if(S.isLiteralKind(ne)&&ne===getLiteralKindOfBinaryPlusOperand(ee)){return false}}}var ae=S.getExpressionAssociativity(ee);return ae===0}}}function operatorHasAssociativeProperty(S){return S===41||S===51||S===50||S===52}function getLiteralKindOfBinaryPlusOperand(E){E=S.skipPartiallyEmittedExpressions(E);if(S.isLiteralKind(E.kind)){return E.kind}if(E.kind===209&&E.operatorToken.kind===39){if(E.cachedLiteralKind!==undefined){return E.cachedLiteralKind}var k=getLiteralKindOfBinaryPlusOperand(E.left);var w=S.isLiteralKind(k)&&k===getLiteralKindOfBinaryPlusOperand(E.right)?k:0;E.cachedLiteralKind=w;return w}return 0}function parenthesizeForConditionalHead(E){var k=S.getOperatorPrecedence(210,57);var w=S.skipPartiallyEmittedExpressions(E);var N=S.getExpressionPrecedence(w);if(S.compareValues(N,k)!==1){return S.createParen(E)}return E}S.parenthesizeForConditionalHead=parenthesizeForConditionalHead;function parenthesizeSubexpressionOfConditionalExpression(E){var k=S.skipPartiallyEmittedExpressions(E);return isCommaSequence(k)?S.createParen(E):E}S.parenthesizeSubexpressionOfConditionalExpression=parenthesizeSubexpressionOfConditionalExpression;function parenthesizeDefaultExpression(E){var k=S.skipPartiallyEmittedExpressions(E);var w=isCommaSequence(k);if(!w){switch(getLeftmostExpression(k,false).kind){case 214:case 201:w=true}}return w?S.createParen(E):E}S.parenthesizeDefaultExpression=parenthesizeDefaultExpression;function parenthesizeForNew(E){var k=getLeftmostExpression(E,true);switch(k.kind){case 196:return S.createParen(E);case 197:return!k.arguments?S.createParen(E):E}return parenthesizeForAccess(E)}S.parenthesizeForNew=parenthesizeForNew;function parenthesizeForAccess(E){var k=S.skipPartiallyEmittedExpressions(E);if(S.isLeftHandSideExpression(k)&&(k.kind!==197||k.arguments)){return E}return S.setTextRange(S.createParen(E),E)}S.parenthesizeForAccess=parenthesizeForAccess;function parenthesizePostfixOperand(E){return S.isLeftHandSideExpression(E)?E:S.setTextRange(S.createParen(E),E)}S.parenthesizePostfixOperand=parenthesizePostfixOperand;function parenthesizePrefixOperand(E){return S.isUnaryExpression(E)?E:S.setTextRange(S.createParen(E),E)}S.parenthesizePrefixOperand=parenthesizePrefixOperand;function parenthesizeListElements(E){var k;for(var w=0;wN?E:S.setTextRange(S.createParen(E),E)}S.parenthesizeExpressionForList=parenthesizeExpressionForList;function parenthesizeExpressionForExpressionStatement(E){var k=S.skipPartiallyEmittedExpressions(E);if(S.isCallExpression(k)){var w=k.expression;var N=S.skipPartiallyEmittedExpressions(w).kind;if(N===201||N===202){var j=S.getMutableClone(k);j.expression=S.setTextRange(S.createParen(w),w);return recreateOuterExpressions(E,j,8)}}var q=getLeftmostExpression(k,false).kind;if(q===193||q===201){return S.setTextRange(S.createParen(E),E)}return E}S.parenthesizeExpressionForExpressionStatement=parenthesizeExpressionForExpressionStatement;function parenthesizeConditionalTypeMember(E){return E.kind===180?S.createParenthesizedType(E):E}S.parenthesizeConditionalTypeMember=parenthesizeConditionalTypeMember;function parenthesizeElementTypeMember(E){switch(E.kind){case 178:case 179:case 170:case 171:return S.createParenthesizedType(E)}return parenthesizeConditionalTypeMember(E)}S.parenthesizeElementTypeMember=parenthesizeElementTypeMember;function parenthesizeArrayTypeMember(E){switch(E.kind){case 172:case 184:case 181:return S.createParenthesizedType(E)}return parenthesizeElementTypeMember(E)}S.parenthesizeArrayTypeMember=parenthesizeArrayTypeMember;function parenthesizeElementTypeMembers(E){return S.createNodeArray(S.sameMap(E,parenthesizeElementTypeMember))}S.parenthesizeElementTypeMembers=parenthesizeElementTypeMembers;function parenthesizeTypeParameters(E){if(S.some(E)){var k=[];for(var w=0;w=S.ModuleKind.ES2015&&ee<=S.ModuleKind.ESNext){var te=S.getEmitHelpers(E);if(te){var ne=[];for(var ae=0,_e=te;ae<_e.length;ae++){var ve=_e[ae];if(!ve.scoped){var Ee=ve.importName;if(Ee){S.pushIfUnique(ne,Ee)}}}if(S.some(ne)){ne.sort(S.compareStringsCaseSensitive);q=S.createNamedImports(S.map(ne,(function(k){return S.isFileLevelUniqueName(E,k)?S.createImportSpecifier(undefined,S.createIdentifier(k)):S.createImportSpecifier(S.createIdentifier(k),getUnscopedHelperName(k))})));var Te=S.getOriginalNode(E,S.isSourceFile);var Ce=S.getOrCreateEmitNode(Te);Ce.externalHelpers=true}}}else{var we=getOrCreateExternalHelpersModuleNameIfNeeded(E,k,w,N||j);if(we){q=S.createNamespaceImport(we)}}if(q){var Ne=S.createImportDeclaration(undefined,undefined,S.createImportClause(undefined,q),S.createLiteral(S.externalHelpersModuleNameText));S.addEmitFlags(Ne,67108864);return Ne}}}S.createExternalHelpersImportDeclarationIfNeeded=createExternalHelpersImportDeclarationIfNeeded;function getOrCreateExternalHelpersModuleNameIfNeeded(E,k,w,N){if(k.importHelpers&&S.isEffectiveExternalModule(E,k)){var j=getExternalHelpersModuleName(E);if(j){return j}var q=S.getEmitModuleKind(k);var ee=(w||k.esModuleInterop&&N)&&q!==S.ModuleKind.System&&qee-N){j=ee-N}if(N>0||j=2){j=addDefaultValueAssignmentsIfNeeded(j,w)}w.setLexicalEnvironmentFlags(1,false)}w.suspendLexicalEnvironment();return j}S.visitParameterList=visitParameterList;function addDefaultValueAssignmentsIfNeeded(E,k){var w;for(var N=0;N0&&ee<=152||ee===183){return k}switch(ee){case 75:return S.updateIdentifier(k,j(k.typeArguments,w,E));case 153:return S.updateQualifiedName(k,visitNode(k.left,w,S.isEntityName),visitNode(k.right,w,S.isIdentifier));case 154:return S.updateComputedPropertyName(k,visitNode(k.expression,w,S.isExpression));case 155:return S.updateTypeParameterDeclaration(k,visitNode(k.name,w,S.isIdentifier),visitNode(k.constraint,w,S.isTypeNode),visitNode(k.default,w,S.isTypeNode));case 156:return S.updateParameter(k,j(k.decorators,w,S.isDecorator),j(k.modifiers,w,S.isModifier),visitNode(k.dotDotDotToken,q,S.isToken),visitNode(k.name,w,S.isBindingName),visitNode(k.questionToken,q,S.isToken),visitNode(k.type,w,S.isTypeNode),visitNode(k.initializer,w,S.isExpression));case 157:return S.updateDecorator(k,visitNode(k.expression,w,S.isExpression));case 158:return S.updatePropertySignature(k,j(k.modifiers,w,S.isToken),visitNode(k.name,w,S.isPropertyName),visitNode(k.questionToken,q,S.isToken),visitNode(k.type,w,S.isTypeNode),visitNode(k.initializer,w,S.isExpression));case 159:return S.updateProperty(k,j(k.decorators,w,S.isDecorator),j(k.modifiers,w,S.isModifier),visitNode(k.name,w,S.isPropertyName),visitNode(k.questionToken||k.exclamationToken,q,S.isToken),visitNode(k.type,w,S.isTypeNode),visitNode(k.initializer,w,S.isExpression));case 160:return S.updateMethodSignature(k,j(k.typeParameters,w,S.isTypeParameterDeclaration),j(k.parameters,w,S.isParameterDeclaration),visitNode(k.type,w,S.isTypeNode),visitNode(k.name,w,S.isPropertyName),visitNode(k.questionToken,q,S.isToken));case 161:return S.updateMethod(k,j(k.decorators,w,S.isDecorator),j(k.modifiers,w,S.isModifier),visitNode(k.asteriskToken,q,S.isToken),visitNode(k.name,w,S.isPropertyName),visitNode(k.questionToken,q,S.isToken),j(k.typeParameters,w,S.isTypeParameterDeclaration),visitParameterList(k.parameters,w,N,j),visitNode(k.type,w,S.isTypeNode),visitFunctionBody(k.body,w,N));case 162:return S.updateConstructor(k,j(k.decorators,w,S.isDecorator),j(k.modifiers,w,S.isModifier),visitParameterList(k.parameters,w,N,j),visitFunctionBody(k.body,w,N));case 163:return S.updateGetAccessor(k,j(k.decorators,w,S.isDecorator),j(k.modifiers,w,S.isModifier),visitNode(k.name,w,S.isPropertyName),visitParameterList(k.parameters,w,N,j),visitNode(k.type,w,S.isTypeNode),visitFunctionBody(k.body,w,N));case 164:return S.updateSetAccessor(k,j(k.decorators,w,S.isDecorator),j(k.modifiers,w,S.isModifier),visitNode(k.name,w,S.isPropertyName),visitParameterList(k.parameters,w,N,j),visitFunctionBody(k.body,w,N));case 165:return S.updateCallSignature(k,j(k.typeParameters,w,S.isTypeParameterDeclaration),j(k.parameters,w,S.isParameterDeclaration),visitNode(k.type,w,S.isTypeNode));case 166:return S.updateConstructSignature(k,j(k.typeParameters,w,S.isTypeParameterDeclaration),j(k.parameters,w,S.isParameterDeclaration),visitNode(k.type,w,S.isTypeNode));case 167:return S.updateIndexSignature(k,j(k.decorators,w,S.isDecorator),j(k.modifiers,w,S.isModifier),j(k.parameters,w,S.isParameterDeclaration),visitNode(k.type,w,S.isTypeNode));case 168:return S.updateTypePredicateNodeWithModifier(k,visitNode(k.assertsModifier,w),visitNode(k.parameterName,w),visitNode(k.type,w,S.isTypeNode));case 169:return S.updateTypeReferenceNode(k,visitNode(k.typeName,w,S.isEntityName),j(k.typeArguments,w,S.isTypeNode));case 170:return S.updateFunctionTypeNode(k,j(k.typeParameters,w,S.isTypeParameterDeclaration),j(k.parameters,w,S.isParameterDeclaration),visitNode(k.type,w,S.isTypeNode));case 171:return S.updateConstructorTypeNode(k,j(k.typeParameters,w,S.isTypeParameterDeclaration),j(k.parameters,w,S.isParameterDeclaration),visitNode(k.type,w,S.isTypeNode));case 172:return S.updateTypeQueryNode(k,visitNode(k.exprName,w,S.isEntityName));case 173:return S.updateTypeLiteralNode(k,j(k.members,w,S.isTypeElement));case 174:return S.updateArrayTypeNode(k,visitNode(k.elementType,w,S.isTypeNode));case 175:return S.updateTupleTypeNode(k,j(k.elementTypes,w,S.isTypeNode));case 176:return S.updateOptionalTypeNode(k,visitNode(k.type,w,S.isTypeNode));case 177:return S.updateRestTypeNode(k,visitNode(k.type,w,S.isTypeNode));case 178:return S.updateUnionTypeNode(k,j(k.types,w,S.isTypeNode));case 179:return S.updateIntersectionTypeNode(k,j(k.types,w,S.isTypeNode));case 180:return S.updateConditionalTypeNode(k,visitNode(k.checkType,w,S.isTypeNode),visitNode(k.extendsType,w,S.isTypeNode),visitNode(k.trueType,w,S.isTypeNode),visitNode(k.falseType,w,S.isTypeNode));case 181:return S.updateInferTypeNode(k,visitNode(k.typeParameter,w,S.isTypeParameterDeclaration));case 188:return S.updateImportTypeNode(k,visitNode(k.argument,w,S.isTypeNode),visitNode(k.qualifier,w,S.isEntityName),visitNodes(k.typeArguments,w,S.isTypeNode),k.isTypeOf);case 182:return S.updateParenthesizedType(k,visitNode(k.type,w,S.isTypeNode));case 184:return S.updateTypeOperatorNode(k,visitNode(k.type,w,S.isTypeNode));case 185:return S.updateIndexedAccessTypeNode(k,visitNode(k.objectType,w,S.isTypeNode),visitNode(k.indexType,w,S.isTypeNode));case 186:return S.updateMappedTypeNode(k,visitNode(k.readonlyToken,q,S.isToken),visitNode(k.typeParameter,w,S.isTypeParameterDeclaration),visitNode(k.questionToken,q,S.isToken),visitNode(k.type,w,S.isTypeNode));case 187:return S.updateLiteralTypeNode(k,visitNode(k.literal,w,S.isExpression));case 189:return S.updateObjectBindingPattern(k,j(k.elements,w,S.isBindingElement));case 190:return S.updateArrayBindingPattern(k,j(k.elements,w,S.isArrayBindingElement));case 191:return S.updateBindingElement(k,visitNode(k.dotDotDotToken,q,S.isToken),visitNode(k.propertyName,w,S.isPropertyName),visitNode(k.name,w,S.isBindingName),visitNode(k.initializer,w,S.isExpression));case 192:return S.updateArrayLiteral(k,j(k.elements,w,S.isExpression));case 193:return S.updateObjectLiteral(k,j(k.properties,w,S.isObjectLiteralElementLike));case 194:if(k.flags&32){return S.updatePropertyAccessChain(k,visitNode(k.expression,w,S.isExpression),visitNode(k.questionDotToken,q,S.isToken),visitNode(k.name,w,S.isIdentifier))}return S.updatePropertyAccess(k,visitNode(k.expression,w,S.isExpression),visitNode(k.name,w,S.isIdentifierOrPrivateIdentifier));case 195:if(k.flags&32){return S.updateElementAccessChain(k,visitNode(k.expression,w,S.isExpression),visitNode(k.questionDotToken,q,S.isToken),visitNode(k.argumentExpression,w,S.isExpression))}return S.updateElementAccess(k,visitNode(k.expression,w,S.isExpression),visitNode(k.argumentExpression,w,S.isExpression));case 196:if(k.flags&32){return S.updateCallChain(k,visitNode(k.expression,w,S.isExpression),visitNode(k.questionDotToken,q,S.isToken),j(k.typeArguments,w,S.isTypeNode),j(k.arguments,w,S.isExpression))}return S.updateCall(k,visitNode(k.expression,w,S.isExpression),j(k.typeArguments,w,S.isTypeNode),j(k.arguments,w,S.isExpression));case 197:return S.updateNew(k,visitNode(k.expression,w,S.isExpression),j(k.typeArguments,w,S.isTypeNode),j(k.arguments,w,S.isExpression));case 198:return S.updateTaggedTemplate(k,visitNode(k.tag,w,S.isExpression),visitNodes(k.typeArguments,w,S.isExpression),visitNode(k.template,w,S.isTemplateLiteral));case 199:return S.updateTypeAssertion(k,visitNode(k.type,w,S.isTypeNode),visitNode(k.expression,w,S.isExpression));case 200:return S.updateParen(k,visitNode(k.expression,w,S.isExpression));case 201:return S.updateFunctionExpression(k,j(k.modifiers,w,S.isModifier),visitNode(k.asteriskToken,q,S.isToken),visitNode(k.name,w,S.isIdentifier),j(k.typeParameters,w,S.isTypeParameterDeclaration),visitParameterList(k.parameters,w,N,j),visitNode(k.type,w,S.isTypeNode),visitFunctionBody(k.body,w,N));case 202:return S.updateArrowFunction(k,j(k.modifiers,w,S.isModifier),j(k.typeParameters,w,S.isTypeParameterDeclaration),visitParameterList(k.parameters,w,N,j),visitNode(k.type,w,S.isTypeNode),visitNode(k.equalsGreaterThanToken,q,S.isToken),visitFunctionBody(k.body,w,N));case 203:return S.updateDelete(k,visitNode(k.expression,w,S.isExpression));case 204:return S.updateTypeOf(k,visitNode(k.expression,w,S.isExpression));case 205:return S.updateVoid(k,visitNode(k.expression,w,S.isExpression));case 206:return S.updateAwait(k,visitNode(k.expression,w,S.isExpression));case 207:return S.updatePrefix(k,visitNode(k.operand,w,S.isExpression));case 208:return S.updatePostfix(k,visitNode(k.operand,w,S.isExpression));case 209:return S.updateBinary(k,visitNode(k.left,w,S.isExpression),visitNode(k.right,w,S.isExpression),visitNode(k.operatorToken,q,S.isToken));case 210:return S.updateConditional(k,visitNode(k.condition,w,S.isExpression),visitNode(k.questionToken,q,S.isToken),visitNode(k.whenTrue,w,S.isExpression),visitNode(k.colonToken,q,S.isToken),visitNode(k.whenFalse,w,S.isExpression));case 211:return S.updateTemplateExpression(k,visitNode(k.head,w,S.isTemplateHead),j(k.templateSpans,w,S.isTemplateSpan));case 212:return S.updateYield(k,visitNode(k.asteriskToken,q,S.isToken),visitNode(k.expression,w,S.isExpression));case 213:return S.updateSpread(k,visitNode(k.expression,w,S.isExpression));case 214:return S.updateClassExpression(k,j(k.modifiers,w,S.isModifier),visitNode(k.name,w,S.isIdentifier),j(k.typeParameters,w,S.isTypeParameterDeclaration),j(k.heritageClauses,w,S.isHeritageClause),j(k.members,w,S.isClassElement));case 216:return S.updateExpressionWithTypeArguments(k,j(k.typeArguments,w,S.isTypeNode),visitNode(k.expression,w,S.isExpression));case 217:return S.updateAsExpression(k,visitNode(k.expression,w,S.isExpression),visitNode(k.type,w,S.isTypeNode));case 218:return S.updateNonNullExpression(k,visitNode(k.expression,w,S.isExpression));case 219:return S.updateMetaProperty(k,visitNode(k.name,w,S.isIdentifier));case 221:return S.updateTemplateSpan(k,visitNode(k.expression,w,S.isExpression),visitNode(k.literal,w,S.isTemplateMiddleOrTemplateTail));case 223:return S.updateBlock(k,j(k.statements,w,S.isStatement));case 225:return S.updateVariableStatement(k,j(k.modifiers,w,S.isModifier),visitNode(k.declarationList,w,S.isVariableDeclarationList));case 226:return S.updateExpressionStatement(k,visitNode(k.expression,w,S.isExpression));case 227:return S.updateIf(k,visitNode(k.expression,w,S.isExpression),visitNode(k.thenStatement,w,S.isStatement,S.liftToBlock),visitNode(k.elseStatement,w,S.isStatement,S.liftToBlock));case 228:return S.updateDo(k,visitNode(k.statement,w,S.isStatement,S.liftToBlock),visitNode(k.expression,w,S.isExpression));case 229:return S.updateWhile(k,visitNode(k.expression,w,S.isExpression),visitNode(k.statement,w,S.isStatement,S.liftToBlock));case 230:return S.updateFor(k,visitNode(k.initializer,w,S.isForInitializer),visitNode(k.condition,w,S.isExpression),visitNode(k.incrementor,w,S.isExpression),visitNode(k.statement,w,S.isStatement,S.liftToBlock));case 231:return S.updateForIn(k,visitNode(k.initializer,w,S.isForInitializer),visitNode(k.expression,w,S.isExpression),visitNode(k.statement,w,S.isStatement,S.liftToBlock));case 232:return S.updateForOf(k,visitNode(k.awaitModifier,q,S.isToken),visitNode(k.initializer,w,S.isForInitializer),visitNode(k.expression,w,S.isExpression),visitNode(k.statement,w,S.isStatement,S.liftToBlock));case 233:return S.updateContinue(k,visitNode(k.label,w,S.isIdentifier));case 234:return S.updateBreak(k,visitNode(k.label,w,S.isIdentifier));case 235:return S.updateReturn(k,visitNode(k.expression,w,S.isExpression));case 236:return S.updateWith(k,visitNode(k.expression,w,S.isExpression),visitNode(k.statement,w,S.isStatement,S.liftToBlock));case 237:return S.updateSwitch(k,visitNode(k.expression,w,S.isExpression),visitNode(k.caseBlock,w,S.isCaseBlock));case 238:return S.updateLabel(k,visitNode(k.label,w,S.isIdentifier),visitNode(k.statement,w,S.isStatement,S.liftToBlock));case 239:return S.updateThrow(k,visitNode(k.expression,w,S.isExpression));case 240:return S.updateTry(k,visitNode(k.tryBlock,w,S.isBlock),visitNode(k.catchClause,w,S.isCatchClause),visitNode(k.finallyBlock,w,S.isBlock));case 242:return S.updateTypeScriptVariableDeclaration(k,visitNode(k.name,w,S.isBindingName),visitNode(k.exclamationToken,q,S.isToken),visitNode(k.type,w,S.isTypeNode),visitNode(k.initializer,w,S.isExpression));case 243:return S.updateVariableDeclarationList(k,j(k.declarations,w,S.isVariableDeclaration));case 244:return S.updateFunctionDeclaration(k,j(k.decorators,w,S.isDecorator),j(k.modifiers,w,S.isModifier),visitNode(k.asteriskToken,q,S.isToken),visitNode(k.name,w,S.isIdentifier),j(k.typeParameters,w,S.isTypeParameterDeclaration),visitParameterList(k.parameters,w,N,j),visitNode(k.type,w,S.isTypeNode),visitFunctionBody(k.body,w,N));case 245:return S.updateClassDeclaration(k,j(k.decorators,w,S.isDecorator),j(k.modifiers,w,S.isModifier),visitNode(k.name,w,S.isIdentifier),j(k.typeParameters,w,S.isTypeParameterDeclaration),j(k.heritageClauses,w,S.isHeritageClause),j(k.members,w,S.isClassElement));case 246:return S.updateInterfaceDeclaration(k,j(k.decorators,w,S.isDecorator),j(k.modifiers,w,S.isModifier),visitNode(k.name,w,S.isIdentifier),j(k.typeParameters,w,S.isTypeParameterDeclaration),j(k.heritageClauses,w,S.isHeritageClause),j(k.members,w,S.isTypeElement));case 247:return S.updateTypeAliasDeclaration(k,j(k.decorators,w,S.isDecorator),j(k.modifiers,w,S.isModifier),visitNode(k.name,w,S.isIdentifier),j(k.typeParameters,w,S.isTypeParameterDeclaration),visitNode(k.type,w,S.isTypeNode));case 248:return S.updateEnumDeclaration(k,j(k.decorators,w,S.isDecorator),j(k.modifiers,w,S.isModifier),visitNode(k.name,w,S.isIdentifier),j(k.members,w,S.isEnumMember));case 249:return S.updateModuleDeclaration(k,j(k.decorators,w,S.isDecorator),j(k.modifiers,w,S.isModifier),visitNode(k.name,w,S.isIdentifier),visitNode(k.body,w,S.isModuleBody));case 250:return S.updateModuleBlock(k,j(k.statements,w,S.isStatement));case 251:return S.updateCaseBlock(k,j(k.clauses,w,S.isCaseOrDefaultClause));case 252:return S.updateNamespaceExportDeclaration(k,visitNode(k.name,w,S.isIdentifier));case 253:return S.updateImportEqualsDeclaration(k,j(k.decorators,w,S.isDecorator),j(k.modifiers,w,S.isModifier),visitNode(k.name,w,S.isIdentifier),visitNode(k.moduleReference,w,S.isModuleReference));case 254:return S.updateImportDeclaration(k,j(k.decorators,w,S.isDecorator),j(k.modifiers,w,S.isModifier),visitNode(k.importClause,w,S.isImportClause),visitNode(k.moduleSpecifier,w,S.isExpression));case 255:return S.updateImportClause(k,visitNode(k.name,w,S.isIdentifier),visitNode(k.namedBindings,w,S.isNamedImportBindings),k.isTypeOnly);case 256:return S.updateNamespaceImport(k,visitNode(k.name,w,S.isIdentifier));case 262:return S.updateNamespaceExport(k,visitNode(k.name,w,S.isIdentifier));case 257:return S.updateNamedImports(k,j(k.elements,w,S.isImportSpecifier));case 258:return S.updateImportSpecifier(k,visitNode(k.propertyName,w,S.isIdentifier),visitNode(k.name,w,S.isIdentifier));case 259:return S.updateExportAssignment(k,j(k.decorators,w,S.isDecorator),j(k.modifiers,w,S.isModifier),visitNode(k.expression,w,S.isExpression));case 260:return S.updateExportDeclaration(k,j(k.decorators,w,S.isDecorator),j(k.modifiers,w,S.isModifier),visitNode(k.exportClause,w,S.isNamedExportBindings),visitNode(k.moduleSpecifier,w,S.isExpression),k.isTypeOnly);case 261:return S.updateNamedExports(k,j(k.elements,w,S.isExportSpecifier));case 263:return S.updateExportSpecifier(k,visitNode(k.propertyName,w,S.isIdentifier),visitNode(k.name,w,S.isIdentifier));case 265:return S.updateExternalModuleReference(k,visitNode(k.expression,w,S.isExpression));case 266:return S.updateJsxElement(k,visitNode(k.openingElement,w,S.isJsxOpeningElement),j(k.children,w,S.isJsxChild),visitNode(k.closingElement,w,S.isJsxClosingElement));case 267:return S.updateJsxSelfClosingElement(k,visitNode(k.tagName,w,S.isJsxTagNameExpression),j(k.typeArguments,w,S.isTypeNode),visitNode(k.attributes,w,S.isJsxAttributes));case 268:return S.updateJsxOpeningElement(k,visitNode(k.tagName,w,S.isJsxTagNameExpression),j(k.typeArguments,w,S.isTypeNode),visitNode(k.attributes,w,S.isJsxAttributes));case 269:return S.updateJsxClosingElement(k,visitNode(k.tagName,w,S.isJsxTagNameExpression));case 270:return S.updateJsxFragment(k,visitNode(k.openingFragment,w,S.isJsxOpeningFragment),j(k.children,w,S.isJsxChild),visitNode(k.closingFragment,w,S.isJsxClosingFragment));case 273:return S.updateJsxAttribute(k,visitNode(k.name,w,S.isIdentifier),visitNode(k.initializer,w,S.isStringLiteralOrJsxExpression));case 274:return S.updateJsxAttributes(k,j(k.properties,w,S.isJsxAttributeLike));case 275:return S.updateJsxSpreadAttribute(k,visitNode(k.expression,w,S.isExpression));case 276:return S.updateJsxExpression(k,visitNode(k.expression,w,S.isExpression));case 277:return S.updateCaseClause(k,visitNode(k.expression,w,S.isExpression),j(k.statements,w,S.isStatement));case 278:return S.updateDefaultClause(k,j(k.statements,w,S.isStatement));case 279:return S.updateHeritageClause(k,j(k.types,w,S.isExpressionWithTypeArguments));case 280:return S.updateCatchClause(k,visitNode(k.variableDeclaration,w,S.isVariableDeclaration),visitNode(k.block,w,S.isBlock));case 281:return S.updatePropertyAssignment(k,visitNode(k.name,w,S.isPropertyName),visitNode(k.initializer,w,S.isExpression));case 282:return S.updateShorthandPropertyAssignment(k,visitNode(k.name,w,S.isIdentifier),visitNode(k.objectAssignmentInitializer,w,S.isExpression));case 283:return S.updateSpreadAssignment(k,visitNode(k.expression,w,S.isExpression));case 284:return S.updateEnumMember(k,visitNode(k.name,w,S.isPropertyName),visitNode(k.initializer,w,S.isExpression));case 290:return S.updateSourceFileNode(k,visitLexicalEnvironment(k.statements,w,N));case 326:return S.updatePartiallyEmittedExpression(k,visitNode(k.expression,w,S.isExpression));case 327:return S.updateCommaList(k,j(k.elements,w,S.isExpression));default:return k}}S.visitEachChild=visitEachChild;function extractSingleNode(E){S.Debug.assert(E.length<=1,"Too many nodes written to output.");return S.singleOrUndefined(E)}})(ne||(ne={}));var ne;(function(S){function reduceNode(S,E,k){return S?E(k,S):k}function reduceNodeArray(S,E,k){return S?E(k,S):k}function reduceEachChild(E,k,w,N){if(E===undefined){return k}var j=N?reduceNodeArray:S.reduceLeft;var q=N||w;var ee=E.kind;if(ee>0&&ee<=152){return k}if(ee>=168&&ee<=187){return k}var te=k;switch(E.kind){case 222:case 224:case 215:case 241:case 325:break;case 153:te=reduceNode(E.left,w,te);te=reduceNode(E.right,w,te);break;case 154:te=reduceNode(E.expression,w,te);break;case 156:te=j(E.decorators,q,te);te=j(E.modifiers,q,te);te=reduceNode(E.name,w,te);te=reduceNode(E.type,w,te);te=reduceNode(E.initializer,w,te);break;case 157:te=reduceNode(E.expression,w,te);break;case 158:te=j(E.modifiers,q,te);te=reduceNode(E.name,w,te);te=reduceNode(E.questionToken,w,te);te=reduceNode(E.type,w,te);te=reduceNode(E.initializer,w,te);break;case 159:te=j(E.decorators,q,te);te=j(E.modifiers,q,te);te=reduceNode(E.name,w,te);te=reduceNode(E.type,w,te);te=reduceNode(E.initializer,w,te);break;case 161:te=j(E.decorators,q,te);te=j(E.modifiers,q,te);te=reduceNode(E.name,w,te);te=j(E.typeParameters,q,te);te=j(E.parameters,q,te);te=reduceNode(E.type,w,te);te=reduceNode(E.body,w,te);break;case 162:te=j(E.modifiers,q,te);te=j(E.parameters,q,te);te=reduceNode(E.body,w,te);break;case 163:te=j(E.decorators,q,te);te=j(E.modifiers,q,te);te=reduceNode(E.name,w,te);te=j(E.parameters,q,te);te=reduceNode(E.type,w,te);te=reduceNode(E.body,w,te);break;case 164:te=j(E.decorators,q,te);te=j(E.modifiers,q,te);te=reduceNode(E.name,w,te);te=j(E.parameters,q,te);te=reduceNode(E.body,w,te);break;case 189:case 190:te=j(E.elements,q,te);break;case 191:te=reduceNode(E.propertyName,w,te);te=reduceNode(E.name,w,te);te=reduceNode(E.initializer,w,te);break;case 192:te=j(E.elements,q,te);break;case 193:te=j(E.properties,q,te);break;case 194:te=reduceNode(E.expression,w,te);te=reduceNode(E.name,w,te);break;case 195:te=reduceNode(E.expression,w,te);te=reduceNode(E.argumentExpression,w,te);break;case 196:te=reduceNode(E.expression,w,te);te=j(E.typeArguments,q,te);te=j(E.arguments,q,te);break;case 197:te=reduceNode(E.expression,w,te);te=j(E.typeArguments,q,te);te=j(E.arguments,q,te);break;case 198:te=reduceNode(E.tag,w,te);te=j(E.typeArguments,q,te);te=reduceNode(E.template,w,te);break;case 199:te=reduceNode(E.type,w,te);te=reduceNode(E.expression,w,te);break;case 201:te=j(E.modifiers,q,te);te=reduceNode(E.name,w,te);te=j(E.typeParameters,q,te);te=j(E.parameters,q,te);te=reduceNode(E.type,w,te);te=reduceNode(E.body,w,te);break;case 202:te=j(E.modifiers,q,te);te=j(E.typeParameters,q,te);te=j(E.parameters,q,te);te=reduceNode(E.type,w,te);te=reduceNode(E.body,w,te);break;case 200:case 203:case 204:case 205:case 206:case 212:case 213:case 218:te=reduceNode(E.expression,w,te);break;case 207:case 208:te=reduceNode(E.operand,w,te);break;case 209:te=reduceNode(E.left,w,te);te=reduceNode(E.right,w,te);break;case 210:te=reduceNode(E.condition,w,te);te=reduceNode(E.whenTrue,w,te);te=reduceNode(E.whenFalse,w,te);break;case 211:te=reduceNode(E.head,w,te);te=j(E.templateSpans,q,te);break;case 214:te=j(E.modifiers,q,te);te=reduceNode(E.name,w,te);te=j(E.typeParameters,q,te);te=j(E.heritageClauses,q,te);te=j(E.members,q,te);break;case 216:te=reduceNode(E.expression,w,te);te=j(E.typeArguments,q,te);break;case 217:te=reduceNode(E.expression,w,te);te=reduceNode(E.type,w,te);break;case 221:te=reduceNode(E.expression,w,te);te=reduceNode(E.literal,w,te);break;case 223:te=j(E.statements,q,te);break;case 225:te=j(E.modifiers,q,te);te=reduceNode(E.declarationList,w,te);break;case 226:te=reduceNode(E.expression,w,te);break;case 227:te=reduceNode(E.expression,w,te);te=reduceNode(E.thenStatement,w,te);te=reduceNode(E.elseStatement,w,te);break;case 228:te=reduceNode(E.statement,w,te);te=reduceNode(E.expression,w,te);break;case 229:case 236:te=reduceNode(E.expression,w,te);te=reduceNode(E.statement,w,te);break;case 230:te=reduceNode(E.initializer,w,te);te=reduceNode(E.condition,w,te);te=reduceNode(E.incrementor,w,te);te=reduceNode(E.statement,w,te);break;case 231:case 232:te=reduceNode(E.initializer,w,te);te=reduceNode(E.expression,w,te);te=reduceNode(E.statement,w,te);break;case 235:case 239:te=reduceNode(E.expression,w,te);break;case 237:te=reduceNode(E.expression,w,te);te=reduceNode(E.caseBlock,w,te);break;case 238:te=reduceNode(E.label,w,te);te=reduceNode(E.statement,w,te);break;case 240:te=reduceNode(E.tryBlock,w,te);te=reduceNode(E.catchClause,w,te);te=reduceNode(E.finallyBlock,w,te);break;case 242:te=reduceNode(E.name,w,te);te=reduceNode(E.type,w,te);te=reduceNode(E.initializer,w,te);break;case 243:te=j(E.declarations,q,te);break;case 244:te=j(E.decorators,q,te);te=j(E.modifiers,q,te);te=reduceNode(E.name,w,te);te=j(E.typeParameters,q,te);te=j(E.parameters,q,te);te=reduceNode(E.type,w,te);te=reduceNode(E.body,w,te);break;case 245:te=j(E.decorators,q,te);te=j(E.modifiers,q,te);te=reduceNode(E.name,w,te);te=j(E.typeParameters,q,te);te=j(E.heritageClauses,q,te);te=j(E.members,q,te);break;case 248:te=j(E.decorators,q,te);te=j(E.modifiers,q,te);te=reduceNode(E.name,w,te);te=j(E.members,q,te);break;case 249:te=j(E.decorators,q,te);te=j(E.modifiers,q,te);te=reduceNode(E.name,w,te);te=reduceNode(E.body,w,te);break;case 250:te=j(E.statements,q,te);break;case 251:te=j(E.clauses,q,te);break;case 253:te=j(E.decorators,q,te);te=j(E.modifiers,q,te);te=reduceNode(E.name,w,te);te=reduceNode(E.moduleReference,w,te);break;case 254:te=j(E.decorators,q,te);te=j(E.modifiers,q,te);te=reduceNode(E.importClause,w,te);te=reduceNode(E.moduleSpecifier,w,te);break;case 255:te=reduceNode(E.name,w,te);te=reduceNode(E.namedBindings,w,te);break;case 256:te=reduceNode(E.name,w,te);break;case 262:te=reduceNode(E.name,w,te);break;case 257:case 261:te=j(E.elements,q,te);break;case 258:case 263:te=reduceNode(E.propertyName,w,te);te=reduceNode(E.name,w,te);break;case 259:te=S.reduceLeft(E.decorators,w,te);te=S.reduceLeft(E.modifiers,w,te);te=reduceNode(E.expression,w,te);break;case 260:te=S.reduceLeft(E.decorators,w,te);te=S.reduceLeft(E.modifiers,w,te);te=reduceNode(E.exportClause,w,te);te=reduceNode(E.moduleSpecifier,w,te);break;case 265:te=reduceNode(E.expression,w,te);break;case 266:te=reduceNode(E.openingElement,w,te);te=S.reduceLeft(E.children,w,te);te=reduceNode(E.closingElement,w,te);break;case 270:te=reduceNode(E.openingFragment,w,te);te=S.reduceLeft(E.children,w,te);te=reduceNode(E.closingFragment,w,te);break;case 267:case 268:te=reduceNode(E.tagName,w,te);te=j(E.typeArguments,w,te);te=reduceNode(E.attributes,w,te);break;case 274:te=j(E.properties,q,te);break;case 269:te=reduceNode(E.tagName,w,te);break;case 273:te=reduceNode(E.name,w,te);te=reduceNode(E.initializer,w,te);break;case 275:te=reduceNode(E.expression,w,te);break;case 276:te=reduceNode(E.expression,w,te);break;case 277:te=reduceNode(E.expression,w,te);case 278:te=j(E.statements,q,te);break;case 279:te=j(E.types,q,te);break;case 280:te=reduceNode(E.variableDeclaration,w,te);te=reduceNode(E.block,w,te);break;case 281:te=reduceNode(E.name,w,te);te=reduceNode(E.initializer,w,te);break;case 282:te=reduceNode(E.name,w,te);te=reduceNode(E.objectAssignmentInitializer,w,te);break;case 283:te=reduceNode(E.expression,w,te);break;case 284:te=reduceNode(E.name,w,te);te=reduceNode(E.initializer,w,te);break;case 290:te=j(E.statements,q,te);break;case 326:te=reduceNode(E.expression,w,te);break;case 327:te=j(E.elements,q,te);break;default:break}return te}S.reduceEachChild=reduceEachChild;function findSpanEnd(S,E,k){var w=k;while(wne){_e.splice.apply(_e,w([q,0],k.slice(ne,ae)))}if(ne>te){_e.splice.apply(_e,w([j,0],k.slice(te,ne)))}if(te>ee){_e.splice.apply(_e,w([N,0],k.slice(ee,te)))}if(ee>0){if(N===0){_e.splice.apply(_e,w([0,0],k.slice(0,ee)))}else{var ve=S.createMap();for(var Ee=0;Ee=0;Ee--){var Ce=k[Ee];if(!ve.has(Ce.expression.text)){_e.unshift(Ce)}}}}if(S.isNodeArray(E)){return S.setTextRange(S.createNodeArray(_e,E.hasTrailingComma),E)}return E}S.mergeLexicalEnvironment=mergeLexicalEnvironment;function liftToBlock(E){S.Debug.assert(S.every(E,S.isStatement),"Cannot lift nodes to a Block.");return S.singleOrUndefined(E)||S.createBlock(E)}S.liftToBlock=liftToBlock;function aggregateTransformFlags(S){aggregateTransformFlagsForNode(S);return S}S.aggregateTransformFlags=aggregateTransformFlags;function aggregateTransformFlagsForNode(E){if(E===undefined){return 0}if(E.transformFlags&536870912){return E.transformFlags&~S.getTransformFlagsSubtreeExclusions(E.kind)}var k=aggregateTransformFlagsForSubtree(E);return S.computeTransformFlagsForNode(E,k)}function aggregateTransformFlagsForNodeArray(S){if(S===undefined){return 0}var E=0;var k=0;for(var w=0,N=S;wE||ze===E&&Ue>k)}function addMapping(E,k,w,N,j,q){S.Debug.assert(E>=Le,"generatedLine cannot backtrack");S.Debug.assert(k>=0,"generatedCharacter cannot be negative");S.Debug.assert(w===undefined||w>=0,"sourceIndex cannot be negative");S.Debug.assert(N===undefined||N>=0,"sourceLine cannot be negative");S.Debug.assert(j===undefined||j>=0,"sourceCharacter cannot be negative");ee();if(isNewGeneratedPosition(E,k)||isBacktrackingSourcePosition(w,N,j)){commitPendingMapping();Le=E;Be=k;qe=false;Ve=false;$e=true}if(w!==undefined&&N!==undefined&&j!==undefined){je=w;ze=N;Ue=j;qe=true;if(q!==undefined){We=q;Ve=true}}te()}function appendSourceMap(E,k,w,N,j,q){S.Debug.assert(E>=Le,"generatedLine cannot backtrack");S.Debug.assert(k>=0,"generatedCharacter cannot be negative");ee();var ne=[];var ae;var _e=decodeMappings(w.mappings);for(var ve=_e.next();!ve.done;ve=_e.next()){var Ee=ve.value;if(q&&(Ee.generatedLine>q.line||Ee.generatedLine===q.line&&Ee.generatedCharacter>q.character)){break}if(j&&(Ee.generatedLine=0;w--){var N=S.getLineText(w);var j=E.exec(N);if(j){return j[1]}else if(!N.match(k)){break}}}S.tryGetSourceMappingURL=tryGetSourceMappingURL;function isStringOrNull(S){return typeof S==="string"||S===null}function isRawSourceMap(E){return E!==null&&typeof E==="object"&&E.version===3&&typeof E.file==="string"&&typeof E.mappings==="string"&&S.isArray(E.sources)&&S.every(E.sources,S.isString)&&(E.sourceRoot===undefined||E.sourceRoot===null||typeof E.sourceRoot==="string")&&(E.sourcesContent===undefined||E.sourcesContent===null||S.isArray(E.sourcesContent)&&S.every(E.sourcesContent,isStringOrNull))&&(E.names===undefined||E.names===null||S.isArray(E.names)&&S.every(E.names,S.isString))}S.isRawSourceMap=isRawSourceMap;function tryParseRawSourceMap(S){try{var E=JSON.parse(S);if(isRawSourceMap(E)){return E}}catch(S){}return undefined}S.tryParseRawSourceMap=tryParseRawSourceMap;function decodeMappings(S){var E=false;var k=0;var w=0;var N=0;var j=0;var q=0;var ee=0;var te=0;var ne;return{get pos(){return k},get error(){return ne},get state(){return captureMapping(true,true)},next:function(){while(!E&&k=S.length)return setError("Error in decoding base64VLQFormatDecode, past the mapping string"),-1;var j=base64FormatDecode(S.charCodeAt(k));if(j===-1)return setError("Invalid character in VLQ"),-1;E=(j&32)!==0;N=N|(j&31)<>1}else{N=N>>1;N=-N}return N}}S.decodeMappings=decodeMappings;function sameMapping(S,E){return S===E||S.generatedLine===E.generatedLine&&S.generatedCharacter===E.generatedCharacter&&S.sourceIndex===E.sourceIndex&&S.sourceLine===E.sourceLine&&S.sourceCharacter===E.sourceCharacter&&S.nameIndex===E.nameIndex}S.sameMapping=sameMapping;function isSourceMapping(S){return S.sourceIndex!==undefined&&S.sourceLine!==undefined&&S.sourceCharacter!==undefined}S.isSourceMapping=isSourceMapping;function base64FormatEncode(E){return E>=0&&E<26?65+E:E>=26&&E<52?97+E-26:E>=52&&E<62?48+E-52:E===62?43:E===63?47:S.Debug.fail(E+": not a base64 value")}function base64FormatDecode(S){return S>=65&&S<=90?S-65:S>=97&&S<=122?S-97+26:S>=48&&S<=57?S-48+52:S===43?62:S===47?63:-1}function base64VLQFormatEncode(S){if(S<0){S=(-S<<1)+1}else{S=S<<1}var E="";do{var k=S&31;S=S>>5;if(S>0){k=k|32}E=E+String.fromCharCode(base64FormatEncode(k))}while(S>0);return E}function isSourceMappedPosition(S){return S.sourceIndex!==undefined&&S.sourcePosition!==undefined}function sameMappedPosition(S,E){return S.generatedPosition===E.generatedPosition&&S.sourceIndex===E.sourceIndex&&S.sourcePosition===E.sourcePosition}function compareSourcePositions(E,k){S.Debug.assert(E.sourceIndex===k.sourceIndex);return S.compareValues(E.sourcePosition,k.sourcePosition)}function compareGeneratedPositions(E,k){return S.compareValues(E.generatedPosition,k.generatedPosition)}function getSourcePositionOfMapping(S){return S.sourcePosition}function getGeneratedPositionOfMapping(S){return S.generatedPosition}function createDocumentPositionMapper(E,k,w){var N=S.getDirectoryPath(w);var j=k.sourceRoot?S.getNormalizedAbsolutePath(k.sourceRoot,N):N;var q=S.getNormalizedAbsolutePath(k.file,N);var ee=E.getSourceFileLike(q);var te=k.sources.map((function(E){return S.getNormalizedAbsolutePath(E,j)}));var ne=S.createMapFromEntries(te.map((function(S,k){return[E.getCanonicalFileName(S),k]})));var ae;var _e;var ve;return{getSourcePosition:getSourcePosition,getGeneratedPosition:getGeneratedPosition};function processMapping(w){var N=ee!==undefined?S.getPositionOfLineAndCharacter(ee,w.generatedLine,w.generatedCharacter,true):-1;var j;var q;if(isSourceMapping(w)){var ne=E.getSourceFileLike(te[w.sourceIndex]);j=k.sources[w.sourceIndex];q=ne!==undefined?S.getPositionOfLineAndCharacter(ne,w.sourceLine,w.sourceCharacter,true):-1}return{generatedPosition:N,source:j,sourceIndex:w.sourceIndex,sourcePosition:q,nameIndex:w.nameIndex}}function getDecodedMappings(){if(ae===undefined){var w=decodeMappings(k.mappings);var N=S.arrayFrom(w,processMapping);if(w.error!==undefined){if(E.log){E.log("Encountered error while decoding sourcemap: "+w.error)}ae=S.emptyArray}else{ae=N}}return ae}function getSourceMappings(E){if(ve===undefined){var k=[];for(var w=0,N=getDecodedMappings();w0&&w!==k.elements.length||!!(k.elements.length-w)&&S.isDefaultImport(E)}S.getImportNeedsImportStarHelper=getImportNeedsImportStarHelper;function getImportNeedsImportDefaultHelper(E){return!getImportNeedsImportStarHelper(E)&&(S.isDefaultImport(E)||!!E.importClause&&S.isNamedImports(E.importClause.namedBindings)&&containsDefaultReference(E.importClause.namedBindings))}S.getImportNeedsImportDefaultHelper=getImportNeedsImportDefaultHelper;function collectExternalModuleInfo(E,k,w){var N=[];var j=S.createMultiMap();var q=[];var ee=S.createMap();var te;var ne=false;var ae;var _e=false;var ve=false;var Ee=false;for(var Te=0,Ce=E.statements;Te=63&&S<=74}S.isCompoundAssignment=isCompoundAssignment;function getNonAssignmentOperatorForCompoundAssignment(S){switch(S){case 63:return 39;case 64:return 40;case 65:return 41;case 66:return 42;case 67:return 43;case 68:return 44;case 69:return 47;case 70:return 48;case 71:return 49;case 72:return 50;case 73:return 51;case 74:return 52}}S.getNonAssignmentOperatorForCompoundAssignment=getNonAssignmentOperatorForCompoundAssignment;function addPrologueDirectivesAndInitialSuperCall(E,k,w){if(E.body){var N=E.body.statements;var j=S.addPrologue(k,N,false,w);if(j===N.length){return j}var q=S.findIndex(N,(function(E){return S.isExpressionStatement(E)&&S.isSuperCall(E.expression)}),j);if(q>-1){for(var ee=j;ee<=q;ee++){k.push(S.visitNode(N[ee],w,S.isStatement))}return q+1}return j}return 0}S.addPrologueDirectivesAndInitialSuperCall=addPrologueDirectivesAndInitialSuperCall;function helperString(S){var E=[];for(var k=1;k=1&&!(ve.transformFlags&(8192|16384))&&!(S.getTargetOfBindingOrAssignmentElement(ve).transformFlags&(8192|16384))&&!S.isComputedPropertyName(Ee)){ne=S.append(ne,S.visitNode(ve,E.visitor))}else{if(ne){E.emitBindingOrAssignment(E.createObjectBindingOrAssignmentPattern(ne),N,j,w);ne=undefined}var Te=createDestructuringPropertyAccess(E,N,Ee);if(S.isComputedPropertyName(Ee)){ae=S.append(ae,Te.argumentExpression)}flattenBindingOrAssignmentElement(E,ve,Te,ve)}}else if(_e===ee-1){if(ne){E.emitBindingOrAssignment(E.createObjectBindingOrAssignmentPattern(ne),N,j,w);ne=undefined}var Te=createRestCall(E.context,N,q,ae,w);flattenBindingOrAssignmentElement(E,ve,Te,ve)}}if(ne){E.emitBindingOrAssignment(E.createObjectBindingOrAssignmentPattern(ne),N,j,w)}}function flattenArrayBindingOrAssignmentPattern(E,k,w,N,j){var q=S.getElementsOfBindingOrAssignmentPattern(w);var ee=q.length;if(E.level<1&&E.downlevelIteration){N=ensureIdentifier(E,S.createReadHelper(E.context,N,ee>0&&S.getRestIndicatorOfBindingOrAssignmentElement(q[ee-1])?undefined:ee,j),false,j)}else if(ee!==1&&(E.level<1||ee===0)||S.every(q,S.isOmittedExpression)){var te=!S.isDeclarationBindingElement(k)||ee!==0;N=ensureIdentifier(E,N,te,j)}var ne;var ae;for(var _e=0;_e=1){if(ve.transformFlags&16384){var Ee=S.createTempVariable(undefined);if(E.hoistTempVariables){E.context.hoistVariableDeclaration(Ee)}ae=S.append(ae,[Ee,ve]);ne=S.append(ne,E.createArrayBindingOrAssignmentElement(Ee))}else{ne=S.append(ne,ve)}}else if(S.isOmittedExpression(ve)){continue}else if(!S.getRestIndicatorOfBindingOrAssignmentElement(ve)){var Te=S.createElementAccess(N,_e);flattenBindingOrAssignmentElement(E,ve,Te,ve)}else if(_e===ee-1){var Te=S.createArraySlice(N,_e);flattenBindingOrAssignmentElement(E,ve,Te,ve)}}if(ne){E.emitBindingOrAssignment(E.createArrayBindingOrAssignmentPattern(ne),N,j,w)}if(ae){for(var Ce=0,we=ae;Ce=S.ModuleKind.ES2015)&&!S.isJsonSourceFile(E);return S.updateSourceFileNode(E,S.visitLexicalEnvironment(E.statements,sourceElementVisitor,k,0,w))}function shouldEmitDecorateCallForClass(E){if(E.decorators&&E.decorators.length>0){return true}var k=S.getFirstConstructorWithBody(E);if(k){return S.forEach(k.parameters,shouldEmitDecorateCallForParameter)}return false}function shouldEmitDecorateCallForParameter(S){return S.decorators!==undefined&&S.decorators.length>0}function getClassFacts(E,k){var w=0;if(S.some(k))w|=1;var N=S.getEffectiveBaseTypeNode(E);if(N&&S.skipOuterExpressions(N.expression).kind!==100)w|=64;if(shouldEmitDecorateCallForClass(E))w|=2;if(S.childIsDecorated(E))w|=4;if(isExportOfNamespace(E))w|=8;else if(isDefaultExternalModuleExport(E))w|=32;else if(isNamedExternalModuleExport(E))w|=16;if(ae<=1&&w&7)w|=128;return w}function hasTypeScriptClassSyntax(S){return!!(S.transformFlags&2048)}function isClassLikeDeclarationWithTypeScriptSyntax(E){return S.some(E.decorators)||S.some(E.typeParameters)||S.some(E.heritageClauses,hasTypeScriptClassSyntax)||S.some(E.members,hasTypeScriptClassSyntax)}function visitClassDeclaration(E){if(!isClassLikeDeclarationWithTypeScriptSyntax(E)&&!(Ce&&S.hasModifier(E,1))){return S.visitEachChild(E,visitor,k)}var w=S.getProperties(E,true,true);var N=getClassFacts(E,w);if(N&128){k.startLexicalEnvironment()}var j=E.name||(N&5?S.getGeneratedNameForNode(E):undefined);var q=N&2?createClassDeclarationHeadWithDecorators(E,j):createClassDeclarationHeadWithoutDecorators(E,j,N);var ee=[q];addClassElementDecorationStatements(ee,E,false);addClassElementDecorationStatements(ee,E,true);addConstructorDecorationStatement(ee,E);if(N&128){var te=S.createTokenRange(S.skipTrivia(Te.text,E.members.end),19);var ne=S.getInternalName(E);var ae=S.createPartiallyEmittedExpression(ne);ae.end=te.end;S.setEmitFlags(ae,1536);var _e=S.createReturn(ae);_e.pos=te.pos;S.setEmitFlags(_e,1536|384);ee.push(_e);S.insertStatementsAfterStandardPrologue(ee,k.endLexicalEnvironment());var ve=S.createImmediatelyInvokedArrowFunction(ee);S.setEmitFlags(ve,33554432);var Ee=S.createVariableStatement(undefined,S.createVariableDeclarationList([S.createVariableDeclaration(S.getLocalName(E,false,false),undefined,ve)]));S.setOriginalNode(Ee,E);S.setCommentRange(Ee,E);S.setSourceMapRange(Ee,S.moveRangePastDecorators(E));S.startOnNewLine(Ee);ee=[Ee]}if(N&8){addExportMemberAssignment(ee,E)}else if(N&128||N&2){if(N&32){ee.push(S.createExportDefault(S.getLocalName(E,false,true)))}else if(N&16){ee.push(S.createExternalModuleExport(S.getLocalName(E,false,true)))}}if(ee.length>1){ee.push(S.createEndOfDeclarationMarker(E));S.setEmitFlags(q,S.getEmitFlags(q)|4194304)}return S.singleOrMany(ee)}function createClassDeclarationHeadWithoutDecorators(E,k,w){var N=!(w&128)?S.visitNodes(E.modifiers,modifierVisitor,S.isModifier):undefined;var j=S.createClassDeclaration(undefined,N,k,undefined,S.visitNodes(E.heritageClauses,visitor,S.isHeritageClause),transformClassMembers(E));var q=S.getEmitFlags(E);if(w&1){q|=32}S.aggregateTransformFlags(j);S.setTextRange(j,E);S.setOriginalNode(j,E);S.setEmitFlags(j,q);return j}function createClassDeclarationHeadWithDecorators(E,k){var w=S.moveRangePastDecorators(E);var N=getClassAliasIfNeeded(E);var j=S.getLocalName(E,false,true);var q=S.visitNodes(E.heritageClauses,visitor,S.isHeritageClause);var ee=transformClassMembers(E);var te=S.createClassExpression(undefined,k,undefined,q,ee);S.aggregateTransformFlags(te);S.setOriginalNode(te,E);S.setTextRange(te,w);var ne=S.createVariableStatement(undefined,S.createVariableDeclarationList([S.createVariableDeclaration(j,undefined,N?S.createAssignment(N,te):te)],1));S.setOriginalNode(ne,E);S.setTextRange(ne,w);S.setCommentRange(ne,E);return ne}function visitClassExpression(E){if(!isClassLikeDeclarationWithTypeScriptSyntax(E)){return S.visitEachChild(E,visitor,k)}var w=S.createClassExpression(undefined,E.name,undefined,S.visitNodes(E.heritageClauses,visitor,S.isHeritageClause),transformClassMembers(E));S.aggregateTransformFlags(w);S.setOriginalNode(w,E);S.setTextRange(w,E);return w}function transformClassMembers(E){var k=[];var w=S.getFirstConstructorWithBody(E);var N=w&&S.filter(w.parameters,(function(E){return S.isParameterPropertyDeclaration(E,w)}));if(N){for(var j=0,q=N;j0&&S.parameterIsThisKeyword(w[0]);var j=N?1:0;var q=N?w.length-1:w.length;for(var ee=0;ee0?w.kind===159?S.createVoidZero():S.createNull():undefined;var ne=createDecorateHelper(k,j,q,ee,te,S.moveRangePastDecorators(w));S.setEmitFlags(ne,1536);return ne}function addConstructorDecorationStatement(E,k){var w=generateConstructorDecorationExpression(k);if(w){E.push(S.setOriginalNode(S.createExpressionStatement(w),k))}}function generateConstructorDecorationExpression(E){var w=getAllDecoratorsOfConstructor(E);var N=transformAllDecoratorsOfDeclaration(E,E,w);if(!N){return undefined}var j=Re&&Re[S.getOriginalNodeId(E)];var q=S.getLocalName(E,false,true);var ee=createDecorateHelper(k,N,q);var te=S.createAssignment(q,j?S.createAssignment(j,ee):ee);S.setEmitFlags(te,1536);S.setSourceMapRange(te,S.moveRangePastDecorators(E));return te}function transformDecorator(E){return S.visitNode(E.expression,visitor,S.isExpression)}function transformDecoratorsOfParameter(E,w){var N;if(E){N=[];for(var j=0,q=E;j= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;\n return c > 3 && r && Object.defineProperty(target, key, r), r;\n };'};function createMetadataHelper(E,k,w){E.requestEmitHelper(S.metadataHelper);return S.createCall(S.getUnscopedHelperName("__metadata"),undefined,[S.createLiteral(k),w])}S.metadataHelper={name:"typescript:metadata",importName:"__metadata",scoped:false,priority:3,text:'\n var __metadata = (this && this.__metadata) || function (k, v) {\n if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);\n };'};function createParamHelper(E,k,w,N){E.requestEmitHelper(S.paramHelper);return S.setTextRange(S.createCall(S.getUnscopedHelperName("__param"),undefined,[S.createLiteral(w),k]),N)}S.paramHelper={name:"typescript:param",importName:"__param",scoped:false,priority:4,text:"\n var __param = (this && this.__param) || function (paramIndex, decorator) {\n return function (target, key) { decorator(target, key, paramIndex); }\n };"}})(ne||(ne={}));var ne;(function(S){var E;(function(S){S[S["ClassAliases"]=1]="ClassAliases"})(E||(E={}));var k;(function(S){S[S["InstanceField"]=0]="InstanceField"})(k||(k={}));function transformClassFields(E){var k=E.hoistVariableDeclaration,N=E.endLexicalEnvironment,j=E.resumeLexicalEnvironment;var q=E.getEmitResolver();var ee=E.getCompilerOptions();var te=S.getEmitScriptTarget(ee);var ne=te<99;var ae=E.onSubstituteNode;E.onSubstituteNode=onSubstituteNode;var _e;var ve;var Ee;var Te;var Ce=[];var we;return S.chainBundle(transformSourceFile);function transformSourceFile(k){var w=E.getCompilerOptions();if(k.isDeclarationFile||w.useDefineForClassFields&&w.target===99){return k}var N=S.visitEachChild(k,visitor,E);S.addEmitHelpers(N,E.readEmitHelpers());return N}function visitor(k){if(!(k.transformFlags&4194304))return k;switch(k.kind){case 214:case 245:return visitClassLike(k);case 159:return visitPropertyDeclaration(k);case 225:return visitVariableStatement(k);case 154:return visitComputedPropertyName(k);case 194:return visitPropertyAccessExpression(k);case 207:return visitPrefixUnaryExpression(k);case 208:return visitPostfixUnaryExpression(k,false);case 196:return visitCallExpression(k);case 209:return visitBinaryExpression(k);case 76:return visitPrivateIdentifier(k);case 226:return visitExpressionStatement(k);case 230:return visitForStatement(k);case 198:return visitTaggedTemplateExpression(k)}return S.visitEachChild(k,visitor,E)}function visitorDestructuringTarget(S){switch(S.kind){case 193:case 192:return visitAssignmentPattern(S);default:return visitor(S)}}function visitPrivateIdentifier(E){if(!ne){return E}return S.setOriginalNode(S.createIdentifier(""),E)}function classElementVisitor(k){switch(k.kind){case 162:return undefined;case 163:case 164:case 161:return S.visitEachChild(k,classElementVisitor,E);case 159:return visitPropertyDeclaration(k);case 154:return visitComputedPropertyName(k);case 222:return k;default:return visitor(k)}}function visitVariableStatement(k){var N=Te;Te=[];var j=S.visitEachChild(k,visitor,E);var q=S.some(Te)?w([j],Te):j;Te=N;return q}function visitComputedPropertyName(k){var w=S.visitEachChild(k,visitor,E);if(S.some(Ee)){var N=Ee;N.push(k.expression);Ee=[];w=S.updateComputedPropertyName(w,S.inlineExpressions(N))}return w}function visitPropertyDeclaration(k){S.Debug.assert(!S.some(k.decorators));if(!ne&&S.isPrivateIdentifier(k.name)){return S.updateProperty(k,undefined,S.visitNodes(k.modifiers,visitor,S.isModifier),k.name,undefined,undefined,undefined)}var w=getPropertyNameExpressionIfNeeded(k.name,!!k.initializer||!!E.getCompilerOptions().useDefineForClassFields);if(w&&!S.isSimpleInlineableExpression(w)){(Ee||(Ee=[])).push(w)}return undefined}function createPrivateIdentifierAccess(k,w){w=S.visitNode(w,visitor,S.isExpression);switch(k.placement){case 0:return createClassPrivateFieldGetHelper(E,S.nodeIsSynthesized(w)?w:S.getSynthesizedClone(w),k.weakMapName);default:return S.Debug.fail("Unexpected private identifier placement")}}function visitPropertyAccessExpression(k){if(ne&&S.isPrivateIdentifier(k.name)){var w=accessPrivateIdentifier(k.name);if(w){return S.setOriginalNode(createPrivateIdentifierAccess(w,k.expression),k)}}return S.visitEachChild(k,visitor,E)}function visitPrefixUnaryExpression(k){if(ne&&S.isPrivateIdentifierPropertyAccessExpression(k.operand)){var w=k.operator===45?39:k.operator===46?40:undefined;var N=void 0;if(w&&(N=accessPrivateIdentifier(k.operand.name))){var j=S.visitNode(k.operand.expression,visitor,S.isExpression);var q=createCopiableReceiverExpr(j),ee=q.readExpression,te=q.initializeExpression;var ae=S.createPrefix(39,createPrivateIdentifierAccess(N,ee));return S.setOriginalNode(createPrivateIdentifierAssignment(N,te||ee,S.createBinary(ae,w,S.createLiteral(1)),62),k)}}return S.visitEachChild(k,visitor,E)}function visitPostfixUnaryExpression(w,N){if(ne&&S.isPrivateIdentifierPropertyAccessExpression(w.operand)){var j=w.operator===45?39:w.operator===46?40:undefined;var q=void 0;if(j&&(q=accessPrivateIdentifier(w.operand.name))){var ee=S.visitNode(w.operand.expression,visitor,S.isExpression);var te=createCopiableReceiverExpr(ee),ae=te.readExpression,_e=te.initializeExpression;var ve=S.createPrefix(39,createPrivateIdentifierAccess(q,ae));var Ee=N?undefined:S.createTempVariable(k);return S.setOriginalNode(S.inlineExpressions(S.compact([createPrivateIdentifierAssignment(q,_e||ae,S.createBinary(Ee?S.createAssignment(Ee,ve):ve,j,S.createLiteral(1)),62),Ee])),w)}}return S.visitEachChild(w,visitor,E)}function visitForStatement(k){if(k.incrementor&&S.isPostfixUnaryExpression(k.incrementor)){return S.updateFor(k,S.visitNode(k.initializer,visitor,S.isForInitializer),S.visitNode(k.condition,visitor,S.isExpression),visitPostfixUnaryExpression(k.incrementor,true),S.visitNode(k.statement,visitor,S.isStatement))}return S.visitEachChild(k,visitor,E)}function visitExpressionStatement(k){if(S.isPostfixUnaryExpression(k.expression)){return S.updateExpressionStatement(k,visitPostfixUnaryExpression(k.expression,true))}return S.visitEachChild(k,visitor,E)}function createCopiableReceiverExpr(E){var w=S.nodeIsSynthesized(E)?E:S.getSynthesizedClone(E);if(S.isSimpleInlineableExpression(E)){return{readExpression:w,initializeExpression:undefined}}var N=S.createTempVariable(k);var j=S.createAssignment(N,w);return{readExpression:N,initializeExpression:j}}function visitCallExpression(N){if(ne&&S.isPrivateIdentifierPropertyAccessExpression(N.expression)){var j=S.createCallBinding(N.expression,k,te),q=j.thisArg,ee=j.target;return S.updateCall(N,S.createPropertyAccess(S.visitNode(ee,visitor),"call"),undefined,w([S.visitNode(q,visitor,S.isExpression)],S.visitNodes(N.arguments,visitor,S.isExpression)))}return S.visitEachChild(N,visitor,E)}function visitTaggedTemplateExpression(w){if(ne&&S.isPrivateIdentifierPropertyAccessExpression(w.tag)){var N=S.createCallBinding(w.tag,k,te),j=N.thisArg,q=N.target;return S.updateTaggedTemplate(w,S.createCall(S.createPropertyAccess(S.visitNode(q,visitor),"bind"),undefined,[S.visitNode(j,visitor,S.isExpression)]),S.visitNode(w.template,visitor,S.isTemplateLiteral))}return S.visitEachChild(w,visitor,E)}function visitBinaryExpression(k){if(ne){if(S.isDestructuringAssignment(k)){var N=Ee;Ee=undefined;k=S.updateBinary(k,S.visitNode(k.left,visitorDestructuringTarget),S.visitNode(k.right,visitor),k.operatorToken);var j=S.some(Ee)?S.inlineExpressions(S.compact(w(Ee,[k]))):k;Ee=N;return j}if(S.isAssignmentExpression(k)&&S.isPrivateIdentifierPropertyAccessExpression(k.left)){var q=accessPrivateIdentifier(k.left.name);if(q){return S.setOriginalNode(createPrivateIdentifierAssignment(q,k.left.expression,k.right,k.operatorToken.kind),k)}}}return S.visitEachChild(k,visitor,E)}function createPrivateIdentifierAssignment(E,k,w,N){switch(E.placement){case 0:{return createPrivateIdentifierInstanceFieldAssignment(E,k,w,N)}default:return S.Debug.fail("Unexpected private identifier placement")}}function createPrivateIdentifierInstanceFieldAssignment(k,w,N,j){w=S.visitNode(w,visitor,S.isExpression);N=S.visitNode(N,visitor,S.isExpression);if(S.isCompoundAssignment(j)){var q=createCopiableReceiverExpr(w),ee=q.readExpression,te=q.initializeExpression;return createClassPrivateFieldSetHelper(E,te||ee,k.weakMapName,S.createBinary(createClassPrivateFieldGetHelper(E,ee,k.weakMapName),S.getNonAssignmentOperatorForCompoundAssignment(j),N))}else{return createClassPrivateFieldSetHelper(E,w,k.weakMapName,N)}}function visitClassLike(E){var k=Ee;Ee=undefined;if(ne){startPrivateIdentifierEnvironment()}var w=S.isClassDeclaration(E)?visitClassDeclaration(E):visitClassExpression(E);if(ne){endPrivateIdentifierEnvironment()}Ee=k;return w}function doesClassElementNeedTransform(E){return S.isPropertyDeclaration(E)||ne&&E.name&&S.isPrivateIdentifier(E.name)}function visitClassDeclaration(k){if(!S.forEach(k.members,doesClassElementNeedTransform)){return S.visitEachChild(k,visitor,E)}var w=S.getEffectiveBaseTypeNode(k);var N=!!(w&&S.skipOuterExpressions(w.expression).kind!==100);var j=[S.updateClassDeclaration(k,undefined,k.modifiers,k.name,undefined,S.visitNodes(k.heritageClauses,visitor,S.isHeritageClause),transformClassMembers(k,N))];if(S.some(Ee)){j.push(S.createExpressionStatement(S.inlineExpressions(Ee)))}var q=S.getProperties(k,true,true);if(S.some(q)){addPropertyStatements(j,q,S.getInternalName(k))}return j}function visitClassExpression(w){if(!S.forEach(w.members,doesClassElementNeedTransform)){return S.visitEachChild(w,visitor,E)}var N=S.isClassDeclaration(S.getOriginalNode(w));var j=S.getProperties(w,true,true);var ee=S.getEffectiveBaseTypeNode(w);var te=!!(ee&&S.skipOuterExpressions(ee.expression).kind!==100);var ne=S.updateClassExpression(w,w.modifiers,w.name,undefined,S.visitNodes(w.heritageClauses,visitor,S.isHeritageClause),transformClassMembers(w,te));if(S.some(j)||S.some(Ee)){if(N){S.Debug.assertIsDefined(Te,"Decorated classes transformed by TypeScript are expected to be within a variable declaration.");if(Te&&Ee&&S.some(Ee)){Te.push(S.createExpressionStatement(S.inlineExpressions(Ee)))}if(Te&&S.some(j)){addPropertyStatements(Te,j,S.getInternalName(w))}return ne}else{var ae=[];var _e=q.getNodeCheckFlags(w)&16777216;var Ce=S.createTempVariable(k,!!_e);if(_e){enableSubstitutionForClassAliases();var we=S.getSynthesizedClone(Ce);we.autoGenerateFlags&=~8;ve[S.getOriginalNodeId(w)]=we}S.setEmitFlags(ne,65536|S.getEmitFlags(ne));ae.push(S.startOnNewLine(S.createAssignment(Ce,ne)));S.addRange(ae,S.map(Ee,S.startOnNewLine));S.addRange(ae,generateInitializedPropertyExpressions(j,Ce));ae.push(S.startOnNewLine(Ce));return S.inlineExpressions(ae)}}return ne}function transformClassMembers(E,k){if(ne){for(var w=0,N=E.members;wne){if(!ee){S.addRange(ae,S.visitNodes(w.body.statements,visitor,S.isStatement,ne,_e-ne))}ne=_e}}addPropertyStatements(ae,te,S.createThis());if(w){S.addRange(ae,S.visitNodes(w.body.statements,visitor,S.isStatement,ne))}ae=S.mergeLexicalEnvironment(ae,N());return S.setTextRange(S.createBlock(S.setTextRange(S.createNodeArray(ae),w?w.body.statements:k.members),true),w?w.body:undefined)}function addPropertyStatements(E,k,w){for(var N=0,j=k;N=0;--k){var w=Ce[k];if(!w){continue}var E=w.get(S.escapedText);if(E){return E}}return undefined}function wrapPrivateIdentifierForDestructuringTarget(w){var N=S.getGeneratedNameForNode(w);var j=accessPrivateIdentifier(w.name);if(!j){return S.visitEachChild(w,visitor,E)}var q=w.expression;if(S.isThisProperty(w)||S.isSuperProperty(w)||!S.isSimpleCopiableExpression(w.expression)){q=S.createTempVariable(k);q.autoGenerateFlags|=8;(Ee||(Ee=[])).push(S.createBinary(q,62,w.expression))}return S.createPropertyAccess(S.createParen(S.createObjectLiteral([S.createSetAccessor(undefined,undefined,"value",[S.createParameter(undefined,undefined,undefined,N,undefined,undefined,undefined)],S.createBlock([S.createExpressionStatement(createPrivateIdentifierAssignment(j,q,N,62))]))])),"value")}function visitArrayAssignmentTarget(E){var k=S.getTargetOfBindingOrAssignmentElement(E);if(k&&S.isPrivateIdentifierPropertyAccessExpression(k)){var w=wrapPrivateIdentifierForDestructuringTarget(k);if(S.isAssignmentExpression(E)){return S.updateBinary(E,w,S.visitNode(E.right,visitor,S.isExpression),E.operatorToken)}else if(S.isSpreadElement(E)){return S.updateSpread(E,w)}else{return w}}return S.visitNode(E,visitorDestructuringTarget)}function visitObjectAssignmentTarget(E){if(S.isPropertyAssignment(E)){var k=S.getTargetOfBindingOrAssignmentElement(E);if(k&&S.isPrivateIdentifierPropertyAccessExpression(k)){var w=S.getInitializerOfBindingOrAssignmentElement(E);var N=wrapPrivateIdentifierForDestructuringTarget(k);return S.updatePropertyAssignment(E,S.visitNode(E.name,visitor),w?S.createAssignment(N,S.visitNode(w,visitor)):N)}return S.updatePropertyAssignment(E,S.visitNode(E.name,visitor),S.visitNode(E.initializer,visitorDestructuringTarget))}return S.visitNode(E,visitor)}function visitAssignmentPattern(E){if(S.isArrayLiteralExpression(E)){return S.updateArrayLiteral(E,S.visitNodes(E.elements,visitArrayAssignmentTarget,S.isExpression))}else{return S.updateObjectLiteral(E,S.visitNodes(E.properties,visitObjectAssignmentTarget,S.isObjectLiteralElementLike))}}}S.transformClassFields=transformClassFields;function createPrivateInstanceFieldInitializer(E,k,w){return S.createCall(S.createPropertyAccess(w,"set"),undefined,[E,k||S.createVoidZero()])}S.classPrivateFieldGetHelper={name:"typescript:classPrivateFieldGet",scoped:false,text:'\n var __classPrivateFieldGet = (this && this.__classPrivateFieldGet) || function (receiver, privateMap) {\n if (!privateMap.has(receiver)) {\n throw new TypeError("attempted to get private field on non-instance");\n }\n return privateMap.get(receiver);\n };'};function createClassPrivateFieldGetHelper(E,k,w){E.requestEmitHelper(S.classPrivateFieldGetHelper);return S.createCall(S.getUnscopedHelperName("__classPrivateFieldGet"),undefined,[k,w])}S.classPrivateFieldSetHelper={name:"typescript:classPrivateFieldSet",scoped:false,text:'\n var __classPrivateFieldSet = (this && this.__classPrivateFieldSet) || function (receiver, privateMap, value) {\n if (!privateMap.has(receiver)) {\n throw new TypeError("attempted to set private field on non-instance");\n }\n privateMap.set(receiver, value);\n return value;\n };'};function createClassPrivateFieldSetHelper(E,k,w,N){E.requestEmitHelper(S.classPrivateFieldSetHelper);return S.createCall(S.getUnscopedHelperName("__classPrivateFieldSet"),undefined,[k,w,N])}})(ne||(ne={}));var ne;(function(S){var E;(function(S){S[S["AsyncMethodsWithSuper"]=1]="AsyncMethodsWithSuper"})(E||(E={}));var k;(function(S){S[S["NonTopLevel"]=1]="NonTopLevel";S[S["HasLexicalThis"]=2]="HasLexicalThis"})(k||(k={}));function transformES2017(E){var k=E.resumeLexicalEnvironment,N=E.endLexicalEnvironment,j=E.hoistVariableDeclaration;var q=E.getEmitResolver();var ee=E.getCompilerOptions();var te=S.getEmitScriptTarget(ee);var ne;var ae=0;var _e;var ve;var Ee;var Te=[];var Ce=0;var we=E.onEmitNode;var Ne=E.onSubstituteNode;E.onEmitNode=onEmitNode;E.onSubstituteNode=onSubstituteNode;return S.chainBundle(transformSourceFile);function transformSourceFile(k){if(k.isDeclarationFile){return k}setContextFlag(1,false);setContextFlag(2,!S.isEffectiveStrictModeSourceFile(k,ee));var w=S.visitEachChild(k,visitor,E);S.addEmitHelpers(w,E.readEmitHelpers());return w}function setContextFlag(S,E){Ce=E?Ce|S:Ce&~S}function inContext(S){return(Ce&S)!==0}function inTopLevelContext(){return!inContext(1)}function inHasLexicalThisContext(){return inContext(2)}function doWithContext(S,E,k){var w=S&~Ce;if(w){setContextFlag(w,true);var N=E(k);setContextFlag(w,false);return N}return E(k)}function visitDefault(k){return S.visitEachChild(k,visitor,E)}function visitor(k){if((k.transformFlags&64)===0){return k}switch(k.kind){case 126:return undefined;case 206:return visitAwaitExpression(k);case 161:return doWithContext(1|2,visitMethodDeclaration,k);case 244:return doWithContext(1|2,visitFunctionDeclaration,k);case 201:return doWithContext(1|2,visitFunctionExpression,k);case 202:return doWithContext(1,visitArrowFunction,k);case 194:if(ve&&S.isPropertyAccessExpression(k)&&k.expression.kind===102){ve.set(k.name.escapedText,true)}return S.visitEachChild(k,visitor,E);case 195:if(ve&&k.expression.kind===102){Ee=true}return S.visitEachChild(k,visitor,E);case 163:case 164:case 162:case 245:case 214:return doWithContext(1|2,visitDefault,k);default:return S.visitEachChild(k,visitor,E)}}function asyncBodyVisitor(k){if(S.isNodeWithPossibleHoistedDeclaration(k)){switch(k.kind){case 225:return visitVariableStatementInAsyncBody(k);case 230:return visitForStatementInAsyncBody(k);case 231:return visitForInStatementInAsyncBody(k);case 232:return visitForOfStatementInAsyncBody(k);case 280:return visitCatchClauseInAsyncBody(k);case 223:case 237:case 251:case 277:case 278:case 240:case 228:case 229:case 227:case 236:case 238:return S.visitEachChild(k,asyncBodyVisitor,E);default:return S.Debug.assertNever(k,"Unhandled node.")}}return visitor(k)}function visitCatchClauseInAsyncBody(k){var w=S.createUnderscoreEscapedMap();recordDeclarationName(k.variableDeclaration,w);var N;w.forEach((function(E,k){if(_e.has(k)){if(!N){N=S.cloneMap(_e)}N.delete(k)}}));if(N){var j=_e;_e=N;var q=S.visitEachChild(k,asyncBodyVisitor,E);_e=j;return q}else{return S.visitEachChild(k,asyncBodyVisitor,E)}}function visitVariableStatementInAsyncBody(k){if(isVariableDeclarationListWithCollidingName(k.declarationList)){var w=visitVariableDeclarationListWithCollidingNames(k.declarationList,false);return w?S.createExpressionStatement(w):undefined}return S.visitEachChild(k,visitor,E)}function visitForInStatementInAsyncBody(E){return S.updateForIn(E,isVariableDeclarationListWithCollidingName(E.initializer)?visitVariableDeclarationListWithCollidingNames(E.initializer,true):S.visitNode(E.initializer,visitor,S.isForInitializer),S.visitNode(E.expression,visitor,S.isExpression),S.visitNode(E.statement,asyncBodyVisitor,S.isStatement,S.liftToBlock))}function visitForOfStatementInAsyncBody(E){return S.updateForOf(E,S.visitNode(E.awaitModifier,visitor,S.isToken),isVariableDeclarationListWithCollidingName(E.initializer)?visitVariableDeclarationListWithCollidingNames(E.initializer,true):S.visitNode(E.initializer,visitor,S.isForInitializer),S.visitNode(E.expression,visitor,S.isExpression),S.visitNode(E.statement,asyncBodyVisitor,S.isStatement,S.liftToBlock))}function visitForStatementInAsyncBody(E){var k=E.initializer;return S.updateFor(E,isVariableDeclarationListWithCollidingName(k)?visitVariableDeclarationListWithCollidingNames(k,false):S.visitNode(E.initializer,visitor,S.isForInitializer),S.visitNode(E.condition,visitor,S.isExpression),S.visitNode(E.incrementor,visitor,S.isExpression),S.visitNode(E.statement,asyncBodyVisitor,S.isStatement,S.liftToBlock))}function visitAwaitExpression(k){if(inTopLevelContext()){return S.visitEachChild(k,visitor,E)}return S.setOriginalNode(S.setTextRange(S.createYield(undefined,S.visitNode(k.expression,visitor,S.isExpression)),k),k)}function visitMethodDeclaration(k){return S.updateMethod(k,undefined,S.visitNodes(k.modifiers,visitor,S.isModifier),k.asteriskToken,k.name,undefined,undefined,S.visitParameterList(k.parameters,visitor,E),undefined,S.getFunctionFlags(k)&2?transformAsyncFunctionBody(k):S.visitFunctionBody(k.body,visitor,E))}function visitFunctionDeclaration(k){return S.updateFunctionDeclaration(k,undefined,S.visitNodes(k.modifiers,visitor,S.isModifier),k.asteriskToken,k.name,undefined,S.visitParameterList(k.parameters,visitor,E),undefined,S.getFunctionFlags(k)&2?transformAsyncFunctionBody(k):S.visitFunctionBody(k.body,visitor,E))}function visitFunctionExpression(k){return S.updateFunctionExpression(k,S.visitNodes(k.modifiers,visitor,S.isModifier),k.asteriskToken,k.name,undefined,S.visitParameterList(k.parameters,visitor,E),undefined,S.getFunctionFlags(k)&2?transformAsyncFunctionBody(k):S.visitFunctionBody(k.body,visitor,E))}function visitArrowFunction(k){return S.updateArrowFunction(k,S.visitNodes(k.modifiers,visitor,S.isModifier),undefined,S.visitParameterList(k.parameters,visitor,E),undefined,k.equalsGreaterThanToken,S.getFunctionFlags(k)&2?transformAsyncFunctionBody(k):S.visitFunctionBody(k.body,visitor,E))}function recordDeclarationName(E,k){var w=E.name;if(S.isIdentifier(w)){k.set(w.escapedText,true)}else{for(var N=0,j=w.elements;N=2&&q.getNodeCheckFlags(w)&(4096|2048);if(je){enableSubstitutionForAsyncMethodsWithSuper();if(S.hasEntries(ve)){var ze=createSuperAccessVariableStatement(q,w,ve);Te[S.getNodeId(ze)]=true;S.insertStatementsAfterStandardPrologue(Le,[ze])}}var Ue=S.createBlock(Le,true);S.setTextRange(Ue,w.body);if(je&&Ee){if(q.getNodeCheckFlags(w)&4096){S.addEmitHelper(Ue,S.advancedAsyncSuperHelper)}else if(q.getNodeCheckFlags(w)&2048){S.addEmitHelper(Ue,S.asyncSuperHelper)}}Re=Ue}else{var We=createAwaiterHelper(E,inHasLexicalThisContext(),Ce,ne,transformAsyncFunctionBodyWorker(w.body));var $e=N();if(S.some($e)){var Ue=S.convertToFunctionBody(We);Re=S.updateBlock(Ue,S.setTextRange(S.createNodeArray(S.concatenate($e,Ue.statements)),Ue.statements))}else{Re=We}}_e=we;if(!ae){ve=Oe;Ee=Me}return Re}function transformAsyncFunctionBodyWorker(E,k){if(S.isBlock(E)){return S.updateBlock(E,S.visitNodes(E.statements,asyncBodyVisitor,S.isStatement,k))}else{return S.convertToFunctionBody(S.visitNode(E,asyncBodyVisitor,S.isConciseBody))}}function getPromiseConstructor(E){var k=E&&S.getEntityNameFromTypeNode(E);if(k&&S.isEntityName(k)){var w=q.getTypeReferenceSerializationKind(k);if(w===S.TypeReferenceSerializationKind.TypeWithConstructSignatureAndValue||w===S.TypeReferenceSerializationKind.Unknown){return k}}return undefined}function enableSubstitutionForAsyncMethodsWithSuper(){if((ne&1)===0){ne|=1;E.enableSubstitution(196);E.enableSubstitution(194);E.enableSubstitution(195);E.enableEmitNotification(245);E.enableEmitNotification(161);E.enableEmitNotification(163);E.enableEmitNotification(164);E.enableEmitNotification(162);E.enableEmitNotification(225)}}function onEmitNode(E,k,w){if(ne&1&&isSuperContainer(k)){var N=q.getNodeCheckFlags(k)&(2048|4096);if(N!==ae){var j=ae;ae=N;we(E,k,w);ae=j;return}}else if(ne&&Te[S.getNodeId(k)]){var j=ae;ae=0;we(E,k,w);ae=j;return}we(E,k,w)}function onSubstituteNode(S,E){E=Ne(S,E);if(S===1&&ae){return substituteExpression(E)}return E}function substituteExpression(S){switch(S.kind){case 194:return substitutePropertyAccessExpression(S);case 195:return substituteElementAccessExpression(S);case 196:return substituteCallExpression(S)}return S}function substitutePropertyAccessExpression(E){if(E.expression.kind===102){return S.setTextRange(S.createPropertyAccess(S.createFileLevelUniqueName("_super"),E.name),E)}return E}function substituteElementAccessExpression(S){if(S.expression.kind===102){return createSuperElementAccessInAsyncMethod(S.argumentExpression,S)}return S}function substituteCallExpression(E){var k=E.expression;if(S.isSuperProperty(k)){var N=S.isPropertyAccessExpression(k)?substitutePropertyAccessExpression(k):substituteElementAccessExpression(k);return S.createCall(S.createPropertyAccess(N,"call"),undefined,w([S.createThis()],E.arguments))}return E}function isSuperContainer(S){var E=S.kind;return E===245||E===162||E===161||E===163||E===164}function createSuperElementAccessInAsyncMethod(E,k){if(ae&4096){return S.setTextRange(S.createPropertyAccess(S.createCall(S.createFileLevelUniqueName("_superIndex"),undefined,[E]),"value"),k)}else{return S.setTextRange(S.createCall(S.createFileLevelUniqueName("_superIndex"),undefined,[E]),k)}}}S.transformES2017=transformES2017;function createSuperAccessVariableStatement(E,k,w){var N=(E.getNodeCheckFlags(k)&4096)!==0;var j=[];w.forEach((function(E,k){var w=S.unescapeLeadingUnderscores(k);var q=[];q.push(S.createPropertyAssignment("get",S.createArrowFunction(undefined,undefined,[],undefined,undefined,S.setEmitFlags(S.createPropertyAccess(S.setEmitFlags(S.createSuper(),4),w),4))));if(N){q.push(S.createPropertyAssignment("set",S.createArrowFunction(undefined,undefined,[S.createParameter(undefined,undefined,undefined,"v",undefined,undefined,undefined)],undefined,undefined,S.createAssignment(S.setEmitFlags(S.createPropertyAccess(S.setEmitFlags(S.createSuper(),4),w),4),S.createIdentifier("v")))))}j.push(S.createPropertyAssignment(w,S.createObjectLiteral(q)))}));return S.createVariableStatement(undefined,S.createVariableDeclarationList([S.createVariableDeclaration(S.createFileLevelUniqueName("_super"),undefined,S.createCall(S.createPropertyAccess(S.createIdentifier("Object"),"create"),undefined,[S.createNull(),S.createObjectLiteral(j,true)]))],2))}S.createSuperAccessVariableStatement=createSuperAccessVariableStatement;S.awaiterHelper={name:"typescript:awaiter",importName:"__awaiter",scoped:false,priority:5,text:'\n var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {\n function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }\n return new (P || (P = Promise))(function (resolve, reject) {\n function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }\n function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }\n function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }\n step((generator = generator.apply(thisArg, _arguments || [])).next());\n });\n };'};function createAwaiterHelper(E,k,w,N,j){E.requestEmitHelper(S.awaiterHelper);var q=S.createFunctionExpression(undefined,S.createToken(41),undefined,undefined,[],undefined,j);(q.emitNode||(q.emitNode={})).flags|=262144|524288;return S.createCall(S.getUnscopedHelperName("__awaiter"),undefined,[k?S.createThis():S.createVoidZero(),w?S.createIdentifier("arguments"):S.createVoidZero(),N?S.createExpressionFromEntityName(N):S.createVoidZero(),q])}S.asyncSuperHelper={name:"typescript:async-super",scoped:true,text:S.helperString(q(["\n const "," = name => super[name];"],["\n const "," = name => super[name];"]),"_superIndex")};S.advancedAsyncSuperHelper={name:"typescript:advanced-async-super",scoped:true,text:S.helperString(q(["\n const "," = (function (geti, seti) {\n const cache = Object.create(null);\n return name => cache[name] || (cache[name] = { get value() { return geti(name); }, set value(v) { seti(name, v); } });\n })(name => super[name], (name, value) => super[name] = value);"],["\n const "," = (function (geti, seti) {\n const cache = Object.create(null);\n return name => cache[name] || (cache[name] = { get value() { return geti(name); }, set value(v) { seti(name, v); } });\n })(name => super[name], (name, value) => super[name] = value);"]),"_superIndex")}})(ne||(ne={}));var ne;(function(S){var E;(function(S){S[S["AsyncMethodsWithSuper"]=1]="AsyncMethodsWithSuper"})(E||(E={}));var k;(function(S){S[S["None"]=0]="None";S[S["HasLexicalThis"]=1]="HasLexicalThis";S[S["IterationContainer"]=2]="IterationContainer";S[S["AncestorFactsMask"]=3]="AncestorFactsMask";S[S["SourceFileIncludes"]=1]="SourceFileIncludes";S[S["SourceFileExcludes"]=2]="SourceFileExcludes";S[S["StrictModeSourceFileIncludes"]=0]="StrictModeSourceFileIncludes";S[S["ClassOrFunctionIncludes"]=1]="ClassOrFunctionIncludes";S[S["ClassOrFunctionExcludes"]=2]="ClassOrFunctionExcludes";S[S["ArrowFunctionIncludes"]=0]="ArrowFunctionIncludes";S[S["ArrowFunctionExcludes"]=2]="ArrowFunctionExcludes";S[S["IterationStatementIncludes"]=2]="IterationStatementIncludes";S[S["IterationStatementExcludes"]=0]="IterationStatementExcludes"})(k||(k={}));function transformES2018(E){var k=E.resumeLexicalEnvironment,N=E.endLexicalEnvironment,j=E.hoistVariableDeclaration;var q=E.getEmitResolver();var ee=E.getCompilerOptions();var te=S.getEmitScriptTarget(ee);var ne=E.onEmitNode;E.onEmitNode=onEmitNode;var ae=E.onSubstituteNode;E.onSubstituteNode=onSubstituteNode;var _e=false;var ve;var Ee;var Te=0;var Ce=0;var we;var Ne;var Ie;var Fe;var Oe=[];return S.chainBundle(transformSourceFile);function affectsSubtree(S,E){return Ce!==(Ce&~S|E)}function enterSubtree(S,E){var k=Ce;Ce=(Ce&~S|E)&3;return k}function exitSubtree(S){Ce=S}function recordTaggedTemplateString(E){Ne=S.append(Ne,S.createVariableDeclaration(E))}function transformSourceFile(k){if(k.isDeclarationFile){return k}we=k;var w=visitSourceFile(k);S.addEmitHelpers(w,E.readEmitHelpers());we=undefined;Ne=undefined;return w}function visitor(S){return visitorWorker(S,false)}function visitorNoDestructuringValue(S){return visitorWorker(S,true)}function visitorNoAsyncModifier(S){if(S.kind===126){return undefined}return S}function doWithHierarchyFacts(S,E,k,w){if(affectsSubtree(k,w)){var N=enterSubtree(k,w);var j=S(E);exitSubtree(N);return j}return S(E)}function visitDefault(k){return S.visitEachChild(k,visitor,E)}function visitorWorker(k,w){if((k.transformFlags&32)===0){return k}switch(k.kind){case 206:return visitAwaitExpression(k);case 212:return visitYieldExpression(k);case 235:return visitReturnStatement(k);case 238:return visitLabeledStatement(k);case 193:return visitObjectLiteralExpression(k);case 209:return visitBinaryExpression(k,w);case 280:return visitCatchClause(k);case 225:return visitVariableStatement(k);case 242:return visitVariableDeclaration(k);case 228:case 229:case 231:return doWithHierarchyFacts(visitDefault,k,0,2);case 232:return visitForOfStatement(k,undefined);case 230:return doWithHierarchyFacts(visitForStatement,k,0,2);case 205:return visitVoidExpression(k);case 162:return doWithHierarchyFacts(visitConstructorDeclaration,k,2,1);case 161:return doWithHierarchyFacts(visitMethodDeclaration,k,2,1);case 163:return doWithHierarchyFacts(visitGetAccessorDeclaration,k,2,1);case 164:return doWithHierarchyFacts(visitSetAccessorDeclaration,k,2,1);case 244:return doWithHierarchyFacts(visitFunctionDeclaration,k,2,1);case 201:return doWithHierarchyFacts(visitFunctionExpression,k,2,1);case 202:return doWithHierarchyFacts(visitArrowFunction,k,2,0);case 156:return visitParameter(k);case 226:return visitExpressionStatement(k);case 200:return visitParenthesizedExpression(k,w);case 198:return visitTaggedTemplateExpression(k);case 194:if(Ie&&S.isPropertyAccessExpression(k)&&k.expression.kind===102){Ie.set(k.name.escapedText,true)}return S.visitEachChild(k,visitor,E);case 195:if(Ie&&k.expression.kind===102){Fe=true}return S.visitEachChild(k,visitor,E);case 245:case 214:return doWithHierarchyFacts(visitDefault,k,2,1);default:return S.visitEachChild(k,visitor,E)}}function visitAwaitExpression(k){if(Ee&2&&Ee&1){return S.setOriginalNode(S.setTextRange(S.createYield(createAwaitHelper(E,S.visitNode(k.expression,visitor,S.isExpression))),k),k)}return S.visitEachChild(k,visitor,E)}function visitYieldExpression(k){if(Ee&2&&Ee&1){if(k.asteriskToken){var w=S.visitNode(k.expression,visitor,S.isExpression);return S.setOriginalNode(S.setTextRange(S.createYield(createAwaitHelper(E,S.updateYield(k,k.asteriskToken,createAsyncDelegatorHelper(E,createAsyncValuesHelper(E,w,w),w)))),k),k)}return S.setOriginalNode(S.setTextRange(S.createYield(createDownlevelAwait(k.expression?S.visitNode(k.expression,visitor,S.isExpression):S.createVoidZero())),k),k)}return S.visitEachChild(k,visitor,E)}function visitReturnStatement(k){if(Ee&2&&Ee&1){return S.updateReturn(k,createDownlevelAwait(k.expression?S.visitNode(k.expression,visitor,S.isExpression):S.createVoidZero()))}return S.visitEachChild(k,visitor,E)}function visitLabeledStatement(k){if(Ee&2){var w=S.unwrapInnermostStatementOfLabel(k);if(w.kind===232&&w.awaitModifier){return visitForOfStatement(w,k)}return S.restoreEnclosingLabel(S.visitNode(w,visitor,S.isStatement,S.liftToBlock),k)}return S.visitEachChild(k,visitor,E)}function chunkObjectLiteralElements(E){var k;var w=[];for(var N=0,j=E;N1){for(var j=1;j=2&&q.getNodeCheckFlags(w)&(4096|2048);if(ve){enableSubstitutionForAsyncMethodsWithSuper();var Ee=S.createSuperAccessVariableStatement(q,w,Ie);Oe[S.getNodeId(Ee)]=true;S.insertStatementsAfterStandardPrologue(j,[Ee])}j.push(_e);S.insertStatementsAfterStandardPrologue(j,N());var Te=S.updateBlock(w.body,j);if(ve&&Fe){if(q.getNodeCheckFlags(w)&4096){S.addEmitHelper(Te,S.advancedAsyncSuperHelper)}else if(q.getNodeCheckFlags(w)&2048){S.addEmitHelper(Te,S.asyncSuperHelper)}}Ie=ne;Fe=ae;return Te}function transformFunctionBody(E){k();var w=0;var j=[];var q=S.visitNode(E.body,visitor,S.isConciseBody);if(S.isBlock(q)){w=S.addPrologue(j,q.statements,false,visitor)}S.addRange(j,appendObjectRestAssignmentsIfNeeded(undefined,E));var ee=N();if(w>0||S.some(j)||S.some(ee)){var te=S.convertToFunctionBody(q,true);S.insertStatementsAfterStandardPrologue(j,ee);S.addRange(j,te.statements.slice(w));return S.updateBlock(te,S.setTextRange(S.createNodeArray(j),te.statements))}return q}function appendObjectRestAssignmentsIfNeeded(k,w){for(var N=0,j=w.parameters;N=2){return S.createCall(S.createPropertyAccess(S.createIdentifier("Object"),"assign"),undefined,k)}E.requestEmitHelper(S.assignHelper);return S.createCall(S.getUnscopedHelperName("__assign"),undefined,k)}S.createAssignHelper=createAssignHelper;S.awaitHelper={name:"typescript:await",importName:"__await",scoped:false,text:"\n var __await = (this && this.__await) || function (v) { return this instanceof __await ? (this.v = v, this) : new __await(v); }"};function createAwaitHelper(E,k){E.requestEmitHelper(S.awaitHelper);return S.createCall(S.getUnscopedHelperName("__await"),undefined,[k])}S.asyncGeneratorHelper={name:"typescript:asyncGenerator",importName:"__asyncGenerator",scoped:false,dependencies:[S.awaitHelper],text:'\n var __asyncGenerator = (this && this.__asyncGenerator) || function (thisArg, _arguments, generator) {\n if (!Symbol.asyncIterator) throw new TypeError("Symbol.asyncIterator is not defined.");\n var g = generator.apply(thisArg, _arguments || []), i, q = [];\n return i = {}, verb("next"), verb("throw"), verb("return"), i[Symbol.asyncIterator] = function () { return this; }, i;\n function verb(n) { if (g[n]) i[n] = function (v) { return new Promise(function (a, b) { q.push([n, v, a, b]) > 1 || resume(n, v); }); }; }\n function resume(n, v) { try { step(g[n](v)); } catch (e) { settle(q[0][3], e); } }\n function step(r) { r.value instanceof __await ? Promise.resolve(r.value.v).then(fulfill, reject) : settle(q[0][2], r); }\n function fulfill(value) { resume("next", value); }\n function reject(value) { resume("throw", value); }\n function settle(f, v) { if (f(v), q.shift(), q.length) resume(q[0][0], q[0][1]); }\n };'};function createAsyncGeneratorHelper(E,k,w){E.requestEmitHelper(S.asyncGeneratorHelper);(k.emitNode||(k.emitNode={})).flags|=262144|524288;return S.createCall(S.getUnscopedHelperName("__asyncGenerator"),undefined,[w?S.createThis():S.createVoidZero(),S.createIdentifier("arguments"),k])}S.asyncDelegator={name:"typescript:asyncDelegator",importName:"__asyncDelegator",scoped:false,dependencies:[S.awaitHelper],text:'\n var __asyncDelegator = (this && this.__asyncDelegator) || function (o) {\n var i, p;\n return i = {}, verb("next"), verb("throw", function (e) { throw e; }), verb("return"), i[Symbol.iterator] = function () { return this; }, i;\n function verb(n, f) { i[n] = o[n] ? function (v) { return (p = !p) ? { value: __await(o[n](v)), done: n === "return" } : f ? f(v) : v; } : f; }\n };'};function createAsyncDelegatorHelper(E,k,w){E.requestEmitHelper(S.asyncDelegator);return S.setTextRange(S.createCall(S.getUnscopedHelperName("__asyncDelegator"),undefined,[k]),w)}S.asyncValues={name:"typescript:asyncValues",importName:"__asyncValues",scoped:false,text:'\n var __asyncValues = (this && this.__asyncValues) || function (o) {\n if (!Symbol.asyncIterator) throw new TypeError("Symbol.asyncIterator is not defined.");\n var m = o[Symbol.asyncIterator], i;\n return m ? m.call(o) : (o = typeof __values === "function" ? __values(o) : o[Symbol.iterator](), i = {}, verb("next"), verb("throw"), verb("return"), i[Symbol.asyncIterator] = function () { return this; }, i);\n function verb(n) { i[n] = o[n] && function (v) { return new Promise(function (resolve, reject) { v = o[n](v), settle(resolve, reject, v.done, v.value); }); }; }\n function settle(resolve, reject, d, v) { Promise.resolve(v).then(function(v) { resolve({ value: v, done: d }); }, reject); }\n };'};function createAsyncValuesHelper(E,k,w){E.requestEmitHelper(S.asyncValues);return S.setTextRange(S.createCall(S.getUnscopedHelperName("__asyncValues"),undefined,[k]),w)}})(ne||(ne={}));var ne;(function(S){function transformES2019(E){return S.chainBundle(transformSourceFile);function transformSourceFile(k){if(k.isDeclarationFile){return k}return S.visitEachChild(k,visitor,E)}function visitor(k){if((k.transformFlags&16)===0){return k}switch(k.kind){case 280:return visitCatchClause(k);default:return S.visitEachChild(k,visitor,E)}}function visitCatchClause(k){if(!k.variableDeclaration){return S.updateCatchClause(k,S.createVariableDeclaration(S.createTempVariable(undefined)),S.visitNode(k.block,visitor,S.isBlock))}return S.visitEachChild(k,visitor,E)}}S.transformES2019=transformES2019})(ne||(ne={}));var ne;(function(S){function transformES2020(E){var k=E.hoistVariableDeclaration;return S.chainBundle(transformSourceFile);function transformSourceFile(k){if(k.isDeclarationFile){return k}return S.visitEachChild(k,visitor,E)}function visitor(k){if((k.transformFlags&8)===0){return k}switch(k.kind){case 194:case 195:case 196:if(k.flags&32){var w=visitOptionalExpression(k,false,false);S.Debug.assertNotNode(w,S.isSyntheticReference);return w}return S.visitEachChild(k,visitor,E);case 209:if(k.operatorToken.kind===60){return transformNullishCoalescingExpression(k)}return S.visitEachChild(k,visitor,E);case 203:return visitDeleteExpression(k);default:return S.visitEachChild(k,visitor,E)}}function flattenChain(E){S.Debug.assertNotNode(E,S.isNonNullChain);var k=[E];while(!E.questionDotToken&&!S.isTaggedTemplateExpression(E)){E=S.cast(S.skipPartiallyEmittedExpressions(E.expression),S.isOptionalChain);S.Debug.assertNotNode(E,S.isNonNullChain);k.unshift(E)}return{expression:E.expression,chain:k}}function visitNonOptionalParenthesizedExpression(E,k,w){var N=visitNonOptionalExpression(E.expression,k,w);if(S.isSyntheticReference(N)){return S.createSyntheticReferenceExpression(S.updateParen(E,N.expression),N.thisArg)}return S.updateParen(E,N)}function visitNonOptionalPropertyOrElementAccessExpression(E,w,N){if(S.isOptionalChain(E)){return visitOptionalExpression(E,w,N)}var j=S.visitNode(E.expression,visitor,S.isExpression);S.Debug.assertNotNode(j,S.isSyntheticReference);var q;if(w){if(shouldCaptureInTempVariable(j)){q=S.createTempVariable(k);j=S.createAssignment(q,j)}else{q=j}}j=E.kind===194?S.updatePropertyAccess(E,j,S.visitNode(E.name,visitor,S.isIdentifier)):S.updateElementAccess(E,j,S.visitNode(E.argumentExpression,visitor,S.isExpression));return q?S.createSyntheticReferenceExpression(j,q):j}function visitNonOptionalCallExpression(k,w){if(S.isOptionalChain(k)){return visitOptionalExpression(k,w,false)}return S.visitEachChild(k,visitor,E)}function visitNonOptionalExpression(E,k,w){switch(E.kind){case 200:return visitNonOptionalParenthesizedExpression(E,k,w);case 194:case 195:return visitNonOptionalPropertyOrElementAccessExpression(E,k,w);case 196:return visitNonOptionalCallExpression(E,k);default:return S.visitNode(E,visitor,S.isExpression)}}function visitOptionalExpression(E,w,N){var j=flattenChain(E),q=j.expression,ee=j.chain;var te=visitNonOptionalExpression(q,S.isCallChain(ee[0]),false);var ne=S.isSyntheticReference(te)?te.thisArg:undefined;var ae=S.isSyntheticReference(te)?te.expression:te;var _e=ae;if(shouldCaptureInTempVariable(ae)){_e=S.createTempVariable(k);ae=S.createAssignment(_e,ae)}var ve=_e;var Ee;for(var Te=0;Te0){S.insertStatementAfterCustomPrologue(k,S.setEmitFlags(S.createVariableStatement(undefined,S.createVariableDeclarationList(S.flattenDestructuringBinding(w,visitor,E,0,S.getGeneratedNameForNode(w)))),1048576));return true}else if(j){S.insertStatementAfterCustomPrologue(k,S.setEmitFlags(S.createExpressionStatement(S.createAssignment(S.getGeneratedNameForNode(w),S.visitNode(j,visitor,S.isExpression))),1048576));return true}return false}function insertDefaultValueAssignmentForInitializer(E,k,w,N){N=S.visitNode(N,visitor,S.isExpression);var j=S.createIf(S.createTypeCheck(S.getSynthesizedClone(w),"undefined"),S.setEmitFlags(S.setTextRange(S.createBlock([S.createExpressionStatement(S.setEmitFlags(S.setTextRange(S.createAssignment(S.setEmitFlags(S.getMutableClone(w),48),S.setEmitFlags(N,48|S.getEmitFlags(N)|1536)),k),1536))]),k),1|32|384|1536));S.startOnNewLine(j);S.setTextRange(j,k);S.setEmitFlags(j,384|32|1048576|1536);S.insertStatementAfterCustomPrologue(E,j)}function shouldAddRestParameter(S,E){return!!(S&&S.dotDotDotToken&&!E)}function addRestParameterIfNeeded(k,w,N){var j=[];var q=S.lastOrUndefined(w.parameters);if(!shouldAddRestParameter(q,N)){return false}var ee=q.name.kind===75?S.getMutableClone(q.name):S.createTempVariable(undefined);S.setEmitFlags(ee,48);var te=q.name.kind===75?S.getSynthesizedClone(q.name):ee;var ne=w.parameters.length-1;var ae=S.createLoopVariable();j.push(S.setEmitFlags(S.setTextRange(S.createVariableStatement(undefined,S.createVariableDeclarationList([S.createVariableDeclaration(ee,undefined,S.createArrayLiteral([]))])),q),1048576));var _e=S.createFor(S.setTextRange(S.createVariableDeclarationList([S.createVariableDeclaration(ae,undefined,S.createLiteral(ne))]),q),S.setTextRange(S.createLessThan(ae,S.createPropertyAccess(S.createIdentifier("arguments"),"length")),q),S.setTextRange(S.createPostfixIncrement(ae),q),S.createBlock([S.startOnNewLine(S.setTextRange(S.createExpressionStatement(S.createAssignment(S.createElementAccess(te,ne===0?ae:S.createSubtract(ae,S.createLiteral(ne))),S.createElementAccess(S.createIdentifier("arguments"),ae))),q))]));S.setEmitFlags(_e,1048576);S.startOnNewLine(_e);j.push(_e);if(q.name.kind!==75){j.push(S.setEmitFlags(S.setTextRange(S.createVariableStatement(undefined,S.createVariableDeclarationList(S.flattenDestructuringBinding(q,visitor,E,0,te))),q),1048576))}S.insertStatementsAfterCustomPrologue(k,j);return true}function insertCaptureThisForNodeIfNeeded(E,k){if(Ee&32768&&k.kind!==202){insertCaptureThisForNode(E,k,S.createThis());return true}return false}function insertCaptureThisForNode(E,k,w){enableSubstitutionsForCapturedThis();var N=S.createVariableStatement(undefined,S.createVariableDeclarationList([S.createVariableDeclaration(S.createFileLevelUniqueName("_this"),undefined,w)]));S.setEmitFlags(N,1536|1048576);S.setSourceMapRange(N,k);S.insertStatementAfterCustomPrologue(E,N)}function insertCaptureNewTargetIfNeeded(E,k,w){if(Ee&16384){var N=void 0;switch(k.kind){case 202:return E;case 161:case 163:case 164:N=S.createVoidZero();break;case 162:N=S.createPropertyAccess(S.setEmitFlags(S.createThis(),4),"constructor");break;case 244:case 201:N=S.createConditional(S.createLogicalAnd(S.setEmitFlags(S.createThis(),4),S.createBinary(S.setEmitFlags(S.createThis(),4),98,S.getLocalName(k))),S.createPropertyAccess(S.setEmitFlags(S.createThis(),4),"constructor"),S.createVoidZero());break;default:return S.Debug.failBadSyntaxKind(k)}var j=S.createVariableStatement(undefined,S.createVariableDeclarationList([S.createVariableDeclaration(S.createFileLevelUniqueName("_newTarget"),undefined,N)]));S.setEmitFlags(j,1536|1048576);if(w){E=E.slice()}S.insertStatementAfterCustomPrologue(E,j)}return E}function addClassMembers(E,k){for(var w=0,N=k.members;w=E.end){return false}var N=S.getEnclosingBlockScopeContainer(E);while(w){if(w===N||w===E){return false}if(S.isClassElement(w)&&w.parent===E){return true}w=w.parent}return false}function substituteThisKeyword(E){if(we&1&&Ee&16){return S.setTextRange(S.createFileLevelUniqueName("_this"),E)}return E}function getClassMemberPrefix(E,k){return S.hasModifier(k,32)?S.getInternalName(E):S.createPropertyAccess(S.getInternalName(E),"prototype")}function hasSynthesizedDefaultSuperCall(E,k){if(!E||!k){return false}if(S.some(E.parameters)){return false}var w=S.firstOrUndefined(E.body.statements);if(!w||!S.nodeIsSynthesized(w)||w.kind!==226){return false}var N=w.expression;if(!S.nodeIsSynthesized(N)||N.kind!==196){return false}var j=N.expression;if(!S.nodeIsSynthesized(j)||j.kind!==102){return false}var q=S.singleOrUndefined(N.arguments);if(!q||!S.nodeIsSynthesized(q)||q.kind!==213){return false}var ee=q.expression;return S.isIdentifier(ee)&&ee.escapedText==="arguments"}}S.transformES2015=transformES2015;function createExtendsHelper(E,k){E.requestEmitHelper(S.extendsHelper);return S.createCall(S.getUnscopedHelperName("__extends"),undefined,[k,S.createFileLevelUniqueName("_super")])}S.extendsHelper={name:"typescript:extends",importName:"__extends",scoped:false,priority:0,text:"\n var __extends = (this && this.__extends) || (function () {\n var extendStatics = function (d, b) {\n extendStatics = Object.setPrototypeOf ||\n ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||\n function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };\n return extendStatics(d, b);\n };\n\n return function (d, b) {\n extendStatics(d, b);\n function __() { this.constructor = d; }\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n };\n })();"}})(ne||(ne={}));var ne;(function(S){function transformES5(E){var k=E.getCompilerOptions();var w;var N;if(k.jsx===1||k.jsx===3){w=E.onEmitNode;E.onEmitNode=onEmitNode;E.enableEmitNotification(268);E.enableEmitNotification(269);E.enableEmitNotification(267);N=[]}var j=E.onSubstituteNode;E.onSubstituteNode=onSubstituteNode;E.enableSubstitution(194);E.enableSubstitution(281);return S.chainBundle(transformSourceFile);function transformSourceFile(S){return S}function onEmitNode(E,k,j){switch(k.kind){case 268:case 269:case 267:var q=k.tagName;N[S.getOriginalNodeId(q)]=true;break}w(E,k,j)}function onSubstituteNode(E,k){if(k.id&&N&&N[k.id]){return j(E,k)}k=j(E,k);if(S.isPropertyAccessExpression(k)){return substitutePropertyAccessExpression(k)}else if(S.isPropertyAssignment(k)){return substitutePropertyAssignment(k)}return k}function substitutePropertyAccessExpression(E){if(S.isPrivateIdentifier(E.name)){return E}var k=trySubstituteReservedName(E.name);if(k){return S.setTextRange(S.createElementAccess(E.expression,k),E)}return E}function substitutePropertyAssignment(E){var k=S.isIdentifier(E.name)&&trySubstituteReservedName(E.name);if(k){return S.updatePropertyAssignment(E,k,E.initializer)}return E}function trySubstituteReservedName(E){var k=E.originalKeywordKind||(S.nodeIsSynthesized(E)?S.stringToToken(S.idText(E)):undefined);if(k!==undefined&&k>=77&&k<=112){return S.setTextRange(S.createLiteral(E),E)}return undefined}}S.transformES5=transformES5})(ne||(ne={}));var ne;(function(S){var E;(function(S){S[S["Nop"]=0]="Nop";S[S["Statement"]=1]="Statement";S[S["Assign"]=2]="Assign";S[S["Break"]=3]="Break";S[S["BreakWhenTrue"]=4]="BreakWhenTrue";S[S["BreakWhenFalse"]=5]="BreakWhenFalse";S[S["Yield"]=6]="Yield";S[S["YieldStar"]=7]="YieldStar";S[S["Return"]=8]="Return";S[S["Throw"]=9]="Throw";S[S["Endfinally"]=10]="Endfinally"})(E||(E={}));var k;(function(S){S[S["Open"]=0]="Open";S[S["Close"]=1]="Close"})(k||(k={}));var N;(function(S){S[S["Exception"]=0]="Exception";S[S["With"]=1]="With";S[S["Switch"]=2]="Switch";S[S["Loop"]=3]="Loop";S[S["Labeled"]=4]="Labeled"})(N||(N={}));var j;(function(S){S[S["Try"]=0]="Try";S[S["Catch"]=1]="Catch";S[S["Finally"]=2]="Finally";S[S["Done"]=3]="Done"})(j||(j={}));var q;(function(S){S[S["Next"]=0]="Next";S[S["Throw"]=1]="Throw";S[S["Return"]=2]="Return";S[S["Break"]=3]="Break";S[S["Yield"]=4]="Yield";S[S["YieldStar"]=5]="YieldStar";S[S["Catch"]=6]="Catch";S[S["Endfinally"]=7]="Endfinally"})(q||(q={}));function getInstructionName(S){switch(S){case 2:return"return";case 3:return"break";case 4:return"yield";case 5:return"yield*";case 7:return"endfinally";default:return undefined}}function transformGenerators(E){var k=E.resumeLexicalEnvironment,N=E.endLexicalEnvironment,j=E.hoistFunctionDeclaration,q=E.hoistVariableDeclaration;var ee=E.getCompilerOptions();var te=S.getEmitScriptTarget(ee);var ne=E.getEmitResolver();var ae=E.onSubstituteNode;E.onSubstituteNode=onSubstituteNode;var _e;var ve;var Ee;var Te;var Ce;var we;var Ne;var Ie;var Fe;var Oe;var Me=1;var Re;var Le;var Be;var je;var ze=0;var Ue=0;var We;var $e;var qe;var Ve;var He;var Ge;var Je;var Ke;return S.chainBundle(transformSourceFile);function transformSourceFile(k){if(k.isDeclarationFile||(k.transformFlags&512)===0){return k}var w=S.visitEachChild(k,visitor,E);S.addEmitHelpers(w,E.readEmitHelpers());return w}function visitor(k){var w=k.transformFlags;if(Te){return visitJavaScriptInStatementContainingYield(k)}else if(Ee){return visitJavaScriptInGeneratorFunctionBody(k)}else if(S.isFunctionLikeDeclaration(k)&&k.asteriskToken){return visitGenerator(k)}else if(w&512){return S.visitEachChild(k,visitor,E)}else{return k}}function visitJavaScriptInStatementContainingYield(S){switch(S.kind){case 228:return visitDoStatement(S);case 229:return visitWhileStatement(S);case 237:return visitSwitchStatement(S);case 238:return visitLabeledStatement(S);default:return visitJavaScriptInGeneratorFunctionBody(S)}}function visitJavaScriptInGeneratorFunctionBody(k){switch(k.kind){case 244:return visitFunctionDeclaration(k);case 201:return visitFunctionExpression(k);case 163:case 164:return visitAccessorDeclaration(k);case 225:return visitVariableStatement(k);case 230:return visitForStatement(k);case 231:return visitForInStatement(k);case 234:return visitBreakStatement(k);case 233:return visitContinueStatement(k);case 235:return visitReturnStatement(k);default:if(k.transformFlags&262144){return visitJavaScriptContainingYield(k)}else if(k.transformFlags&(512|1048576)){return S.visitEachChild(k,visitor,E)}else{return k}}}function visitJavaScriptContainingYield(k){switch(k.kind){case 209:return visitBinaryExpression(k);case 210:return visitConditionalExpression(k);case 212:return visitYieldExpression(k);case 192:return visitArrayLiteralExpression(k);case 193:return visitObjectLiteralExpression(k);case 195:return visitElementAccessExpression(k);case 196:return visitCallExpression(k);case 197:return visitNewExpression(k);default:return S.visitEachChild(k,visitor,E)}}function visitGenerator(E){switch(E.kind){case 244:return visitFunctionDeclaration(E);case 201:return visitFunctionExpression(E);default:return S.Debug.failBadSyntaxKind(E)}}function visitFunctionDeclaration(k){if(k.asteriskToken){k=S.setOriginalNode(S.setTextRange(S.createFunctionDeclaration(undefined,k.modifiers,undefined,k.name,undefined,S.visitParameterList(k.parameters,visitor,E),undefined,transformGeneratorFunctionBody(k.body)),k),k)}else{var w=Ee;var N=Te;Ee=false;Te=false;k=S.visitEachChild(k,visitor,E);Ee=w;Te=N}if(Ee){j(k);return undefined}else{return k}}function visitFunctionExpression(k){if(k.asteriskToken){k=S.setOriginalNode(S.setTextRange(S.createFunctionExpression(undefined,undefined,k.name,undefined,S.visitParameterList(k.parameters,visitor,E),undefined,transformGeneratorFunctionBody(k.body)),k),k)}else{var w=Ee;var N=Te;Ee=false;Te=false;k=S.visitEachChild(k,visitor,E);Ee=w;Te=N}return k}function visitAccessorDeclaration(k){var w=Ee;var N=Te;Ee=false;Te=false;k=S.visitEachChild(k,visitor,E);Ee=w;Te=N;return k}function transformGeneratorFunctionBody(E){var w=[];var j=Ee;var q=Te;var ee=Ce;var te=we;var ne=Ne;var ae=Ie;var _e=Fe;var ve=Oe;var ze=Me;var Ue=Re;var We=Le;var $e=Be;var qe=je;Ee=true;Te=false;Ce=undefined;we=undefined;Ne=undefined;Ie=undefined;Fe=undefined;Oe=undefined;Me=1;Re=undefined;Le=undefined;Be=undefined;je=S.createTempVariable(undefined);k();var Ve=S.addPrologue(w,E.statements,false,visitor);transformAndEmitStatements(E.statements,Ve);var He=build();S.insertStatementsAfterStandardPrologue(w,N());w.push(S.createReturn(He));Ee=j;Te=q;Ce=ee;we=te;Ne=ne;Ie=ae;Fe=_e;Oe=ve;Me=ze;Re=Ue;Le=We;Be=$e;je=qe;return S.setTextRange(S.createBlock(w,E.multiLine),E)}function visitVariableStatement(E){if(E.transformFlags&262144){transformAndEmitVariableDeclarationList(E.declarationList);return undefined}else{if(S.getEmitFlags(E)&1048576){return E}for(var k=0,w=E.declarationList.declarations;k0){emitWorker(1,[S.createExpressionStatement(S.inlineExpressions(k))]);k=[]}k.push(S.visitNode(E,visitor,S.isExpression))}}}function visitConditionalExpression(k){if(containsYield(k.whenTrue)||containsYield(k.whenFalse)){var w=defineLabel();var N=defineLabel();var j=declareLocal();emitBreakWhenFalse(w,S.visitNode(k.condition,visitor,S.isExpression),k.condition);emitAssignment(j,S.visitNode(k.whenTrue,visitor,S.isExpression),k.whenTrue);emitBreak(N);markLabel(w);emitAssignment(j,S.visitNode(k.whenFalse,visitor,S.isExpression),k.whenFalse);markLabel(N);return j}return S.visitEachChild(k,visitor,E)}function visitYieldExpression(k){var w=defineLabel();var N=S.visitNode(k.expression,visitor,S.isExpression);if(k.asteriskToken){var j=(S.getEmitFlags(k.expression)&8388608)===0?S.createValuesHelper(E,N,k):N;emitYieldStar(j,k)}else{emitYield(N,k)}markLabel(w);return createGeneratorResume(k)}function visitArrayLiteralExpression(S){return visitElements(S.elements,undefined,undefined,S.multiLine)}function visitElements(E,k,N,j){var q=countInitialNodesWithoutYield(E);var ee;if(q>0){ee=declareLocal();var te=S.visitNodes(E,visitor,S.isExpression,0,q);emitAssignment(ee,S.createArrayLiteral(k?w([k],te):te));k=undefined}var ne=S.reduceLeft(E,reduceElement,[],q);return ee?S.createArrayConcat(ee,[S.createArrayLiteral(ne,j)]):S.setTextRange(S.createArrayLiteral(k?w([k],ne):ne,j),N);function reduceElement(E,N){if(containsYield(N)&&E.length>0){var q=ee!==undefined;if(!ee){ee=declareLocal()}emitAssignment(ee,q?S.createArrayConcat(ee,[S.createArrayLiteral(E,j)]):S.createArrayLiteral(k?w([k],E):E,j));k=undefined;E=[]}E.push(S.visitNode(N,visitor,S.isExpression));return E}}function visitObjectLiteralExpression(E){var k=E.properties;var w=E.multiLine;var N=countInitialNodesWithoutYield(k);var j=declareLocal();emitAssignment(j,S.createObjectLiteral(S.visitNodes(k,visitor,S.isObjectLiteralElementLike,0,N),w));var q=S.reduceLeft(k,reduceProperty,[],N);q.push(w?S.startOnNewLine(S.getMutableClone(j)):j);return S.inlineExpressions(q);function reduceProperty(k,N){if(containsYield(N)&&k.length>0){emitStatement(S.createExpressionStatement(S.inlineExpressions(k)));k=[]}var q=S.createExpressionForObjectLiteralElementLike(E,N,j);var ee=S.visitNode(q,visitor,S.isExpression);if(ee){if(w){S.startOnNewLine(ee)}k.push(ee)}return k}}function visitElementAccessExpression(k){if(containsYield(k.argumentExpression)){var w=S.getMutableClone(k);w.expression=cacheExpression(S.visitNode(k.expression,visitor,S.isLeftHandSideExpression));w.argumentExpression=S.visitNode(k.argumentExpression,visitor,S.isExpression);return w}return S.visitEachChild(k,visitor,E)}function visitCallExpression(k){if(!S.isImportCall(k)&&S.forEach(k.arguments,containsYield)){var w=S.createCallBinding(k.expression,q,te,true),N=w.target,j=w.thisArg;return S.setOriginalNode(S.createFunctionApply(cacheExpression(S.visitNode(N,visitor,S.isLeftHandSideExpression)),j,visitElements(k.arguments),k),k)}return S.visitEachChild(k,visitor,E)}function visitNewExpression(k){if(S.forEach(k.arguments,containsYield)){var w=S.createCallBinding(S.createPropertyAccess(k.expression,"bind"),q),N=w.target,j=w.thisArg;return S.setOriginalNode(S.setTextRange(S.createNew(S.createFunctionApply(cacheExpression(S.visitNode(N,visitor,S.isExpression)),j,visitElements(k.arguments,S.createVoidZero())),undefined,[]),k),k)}return S.visitEachChild(k,visitor,E)}function transformAndEmitStatements(S,E){if(E===void 0){E=0}var k=S.length;for(var w=E;w0){break}ae.push(transformInitializedVariable(N))}if(ae.length){emitStatement(S.createExpressionStatement(S.inlineExpressions(ae)));ne+=ae.length;ae=[]}}return undefined}function transformInitializedVariable(E){return S.setSourceMapRange(S.createAssignment(S.setSourceMapRange(S.getSynthesizedClone(E.name),E.name),S.visitNode(E.initializer,visitor,S.isExpression)),E)}function transformAndEmitIfStatement(E){if(containsYield(E)){if(containsYield(E.thenStatement)||containsYield(E.elseStatement)){var k=defineLabel();var w=E.elseStatement?defineLabel():undefined;emitBreakWhenFalse(E.elseStatement?w:k,S.visitNode(E.expression,visitor,S.isExpression),E.expression);transformAndEmitEmbeddedStatement(E.thenStatement);if(E.elseStatement){emitBreak(k);markLabel(w);transformAndEmitEmbeddedStatement(E.elseStatement)}markLabel(k)}else{emitStatement(S.visitNode(E,visitor,S.isStatement))}}else{emitStatement(S.visitNode(E,visitor,S.isStatement))}}function transformAndEmitDoStatement(E){if(containsYield(E)){var k=defineLabel();var w=defineLabel();beginLoopBlock(k);markLabel(w);transformAndEmitEmbeddedStatement(E.statement);markLabel(k);emitBreakWhenTrue(w,S.visitNode(E.expression,visitor,S.isExpression));endLoopBlock()}else{emitStatement(S.visitNode(E,visitor,S.isStatement))}}function visitDoStatement(k){if(Te){beginScriptLoopBlock();k=S.visitEachChild(k,visitor,E);endLoopBlock();return k}else{return S.visitEachChild(k,visitor,E)}}function transformAndEmitWhileStatement(E){if(containsYield(E)){var k=defineLabel();var w=beginLoopBlock(k);markLabel(k);emitBreakWhenFalse(w,S.visitNode(E.expression,visitor,S.isExpression));transformAndEmitEmbeddedStatement(E.statement);emitBreak(k);endLoopBlock()}else{emitStatement(S.visitNode(E,visitor,S.isStatement))}}function visitWhileStatement(k){if(Te){beginScriptLoopBlock();k=S.visitEachChild(k,visitor,E);endLoopBlock();return k}else{return S.visitEachChild(k,visitor,E)}}function transformAndEmitForStatement(E){if(containsYield(E)){var k=defineLabel();var w=defineLabel();var N=beginLoopBlock(w);if(E.initializer){var j=E.initializer;if(S.isVariableDeclarationList(j)){transformAndEmitVariableDeclarationList(j)}else{emitStatement(S.setTextRange(S.createExpressionStatement(S.visitNode(j,visitor,S.isExpression)),j))}}markLabel(k);if(E.condition){emitBreakWhenFalse(N,S.visitNode(E.condition,visitor,S.isExpression))}transformAndEmitEmbeddedStatement(E.statement);markLabel(w);if(E.incrementor){emitStatement(S.setTextRange(S.createExpressionStatement(S.visitNode(E.incrementor,visitor,S.isExpression)),E.incrementor))}emitBreak(k);endLoopBlock()}else{emitStatement(S.visitNode(E,visitor,S.isStatement))}}function visitForStatement(k){if(Te){beginScriptLoopBlock()}var w=k.initializer;if(w&&S.isVariableDeclarationList(w)){for(var N=0,j=w.declarations;N0?S.inlineExpressions(S.map(te,transformInitializedVariable)):undefined,S.visitNode(k.condition,visitor,S.isExpression),S.visitNode(k.incrementor,visitor,S.isExpression),S.visitNode(k.statement,visitor,S.isStatement,S.liftToBlock))}else{k=S.visitEachChild(k,visitor,E)}if(Te){endLoopBlock()}return k}function transformAndEmitForInStatement(E){if(containsYield(E)){var k=declareLocal();var w=declareLocal();var N=S.createLoopVariable();var j=E.initializer;q(N);emitAssignment(k,S.createArrayLiteral());emitStatement(S.createForIn(w,S.visitNode(E.expression,visitor,S.isExpression),S.createExpressionStatement(S.createCall(S.createPropertyAccess(k,"push"),undefined,[w]))));emitAssignment(N,S.createLiteral(0));var ee=defineLabel();var te=defineLabel();var ne=beginLoopBlock(te);markLabel(ee);emitBreakWhenFalse(ne,S.createLessThan(N,S.createPropertyAccess(k,"length")));var ae=void 0;if(S.isVariableDeclarationList(j)){for(var _e=0,ve=j.declarations;_e0){emitBreak(k,E)}else{emitStatement(E)}}function visitContinueStatement(k){if(Te){var w=findContinueTarget(k.label&&S.idText(k.label));if(w>0){return createInlineBreak(w,k)}}return S.visitEachChild(k,visitor,E)}function transformAndEmitBreakStatement(E){var k=findBreakTarget(E.label?S.idText(E.label):undefined);if(k>0){emitBreak(k,E)}else{emitStatement(E)}}function visitBreakStatement(k){if(Te){var w=findBreakTarget(k.label&&S.idText(k.label));if(w>0){return createInlineBreak(w,k)}}return S.visitEachChild(k,visitor,E)}function transformAndEmitReturnStatement(E){emitReturn(S.visitNode(E.expression,visitor,S.isExpression),E)}function visitReturnStatement(E){return createInlineReturn(S.visitNode(E.expression,visitor,S.isExpression),E)}function transformAndEmitWithStatement(E){if(containsYield(E)){beginWithBlock(cacheExpression(S.visitNode(E.expression,visitor,S.isExpression)));transformAndEmitEmbeddedStatement(E.statement);endWithBlock()}else{emitStatement(S.visitNode(E,visitor,S.isStatement))}}function transformAndEmitSwitchStatement(E){if(containsYield(E.caseBlock)){var k=E.caseBlock;var w=k.clauses.length;var N=beginSwitchBlock();var j=cacheExpression(S.visitNode(E.expression,visitor,S.isExpression));var q=[];var ee=-1;for(var te=0;te0){break}_e.push(S.createCaseClause(S.visitNode(ne.expression,visitor,S.isExpression),[createInlineBreak(q[te],ne.expression)]))}else{ve++}}if(_e.length){emitStatement(S.createSwitch(j,S.createCaseBlock(_e)));ae+=_e.length;_e=[]}if(ve>0){ae+=ve;ve=0}}if(ee>=0){emitBreak(q[ee])}else{emitBreak(N)}for(var te=0;te=0;k--){var w=Ie[k];if(supportsLabeledBreakOrContinue(w)){if(w.labelText===S){return true}}else{break}}return false}function findBreakTarget(S){if(Ie){if(S){for(var E=Ie.length-1;E>=0;E--){var k=Ie[E];if(supportsLabeledBreakOrContinue(k)&&k.labelText===S){return k.breakLabel}else if(supportsUnlabeledBreak(k)&&hasImmediateContainingLabeledBlock(S,E-1)){return k.breakLabel}}}else{for(var E=Ie.length-1;E>=0;E--){var k=Ie[E];if(supportsUnlabeledBreak(k)){return k.breakLabel}}}}return 0}function findContinueTarget(S){if(Ie){if(S){for(var E=Ie.length-1;E>=0;E--){var k=Ie[E];if(supportsUnlabeledContinue(k)&&hasImmediateContainingLabeledBlock(S,E-1)){return k.continueLabel}}}else{for(var E=Ie.length-1;E>=0;E--){var k=Ie[E];if(supportsUnlabeledContinue(k)){return k.continueLabel}}}}return 0}function createLabel(E){if(E!==undefined&&E>0){if(Oe===undefined){Oe=[]}var k=S.createLiteral(-1);if(Oe[E]===undefined){Oe[E]=[k]}else{Oe[E].push(k)}return k}return S.createOmittedExpression()}function createInstruction(E){var k=S.createLiteral(E);S.addSyntheticTrailingComment(k,3,getInstructionName(E));return k}function createInlineBreak(E,k){S.Debug.assertLessThan(0,E,"Invalid label");return S.setTextRange(S.createReturn(S.createArrayLiteral([createInstruction(3),createLabel(E)])),k)}function createInlineReturn(E,k){return S.setTextRange(S.createReturn(S.createArrayLiteral(E?[createInstruction(2),E]:[createInstruction(2)])),k)}function createGeneratorResume(E){return S.setTextRange(S.createCall(S.createPropertyAccess(je,"sent"),undefined,[]),E)}function emitNop(){emitWorker(0)}function emitStatement(S){if(S){emitWorker(1,[S])}else{emitNop()}}function emitAssignment(S,E,k){emitWorker(2,[S,E],k)}function emitBreak(S,E){emitWorker(3,[S],E)}function emitBreakWhenTrue(S,E,k){emitWorker(4,[S,E],k)}function emitBreakWhenFalse(S,E,k){emitWorker(5,[S,E],k)}function emitYieldStar(S,E){emitWorker(7,[S],E)}function emitYield(S,E){emitWorker(6,[S],E)}function emitReturn(S,E){emitWorker(8,[S],E)}function emitThrow(S,E){emitWorker(9,[S],E)}function emitEndfinally(){emitWorker(10)}function emitWorker(S,E,k){if(Re===undefined){Re=[];Le=[];Be=[]}if(Fe===undefined){markLabel(defineLabel())}var w=Re.length;Re[w]=S;Le[w]=E;Be[w]=k}function build(){ze=0;Ue=0;We=undefined;$e=false;qe=false;Ve=undefined;He=undefined;Ge=undefined;Je=undefined;Ke=undefined;var k=buildStatements();return createGeneratorHelper(E,S.setEmitFlags(S.createFunctionExpression(undefined,undefined,undefined,undefined,[S.createParameter(undefined,undefined,undefined,je)],undefined,S.createBlock(k,k.length>0)),524288))}function buildStatements(){if(Re){for(var E=0;E=0;k--){var w=Ke[k];He=[S.createWith(w.expression,S.createBlock(He))]}}if(Je){var N=Je.startLabel,j=Je.catchLabel,q=Je.finallyLabel,ee=Je.endLabel;He.unshift(S.createExpressionStatement(S.createCall(S.createPropertyAccess(S.createPropertyAccess(je,"trys"),"push"),undefined,[S.createArrayLiteral([createLabel(N),createLabel(j),createLabel(q),createLabel(ee)])])));Je=undefined}if(E){He.push(S.createExpressionStatement(S.createAssignment(S.createPropertyAccess(je,"label"),S.createLiteral(Ue+1))))}}Ve.push(S.createCaseClause(S.createLiteral(Ue),He||[]));He=undefined}function tryEnterLabel(S){if(!Fe){return}for(var E=0;E 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) { _ = 0; continue; }\n if (op[0] === 3 && (!t || (op[1] > t[0] && op[1] < t[3]))) { _.label = op[1]; break; }\n if (op[0] === 6 && _.label < t[1]) { _.label = t[1]; t = op; break; }\n if (t && _.label < t[2]) { _.label = t[2]; _.ops.push(op); break; }\n if (t[2]) _.ops.pop();\n _.trys.pop(); continue;\n }\n op = body.call(thisArg, _);\n } catch (e) { op = [6, e]; y = 0; } finally { f = t = 0; }\n if (op[0] & 5) throw op[1]; return { value: op[0] ? op[1] : void 0, done: true };\n }\n };'}})(ne||(ne={}));var ne;(function(S){function transformModule(E){function getTransformModuleDelegate(E){switch(E){case S.ModuleKind.AMD:return transformAMDModule;case S.ModuleKind.UMD:return transformUMDModule;default:return transformCommonJSModule}}var N=E.startLexicalEnvironment,j=E.endLexicalEnvironment,q=E.hoistVariableDeclaration;var ee=E.getCompilerOptions();var te=E.getEmitResolver();var ne=E.getEmitHost();var ae=S.getEmitScriptTarget(ee);var _e=S.getEmitModuleKind(ee);var ve=E.onSubstituteNode;var Ee=E.onEmitNode;E.onSubstituteNode=onSubstituteNode;E.onEmitNode=onEmitNode;E.enableSubstitution(75);E.enableSubstitution(209);E.enableSubstitution(207);E.enableSubstitution(208);E.enableSubstitution(282);E.enableEmitNotification(290);var Te=[];var Ce=[];var we;var Ne;var Ie;var Fe;return S.chainBundle(transformSourceFile);function transformSourceFile(E){if(E.isDeclarationFile||!(S.isEffectiveExternalModule(E,ee)||E.transformFlags&2097152||S.isJsonSourceFile(E)&&S.hasJsonModuleEmitEnabled(ee)&&(ee.out||ee.outFile))){return E}we=E;Ne=S.collectExternalModuleInfo(E,te,ee);Te[S.getOriginalNodeId(E)]=Ne;var k=getTransformModuleDelegate(_e);var w=k(E);we=undefined;Ne=undefined;Fe=false;return S.aggregateTransformFlags(w)}function shouldEmitUnderscoreUnderscoreESModule(){if(!Ne.exportEquals&&S.isExternalModule(we)){return true}return false}function transformCommonJSModule(k){N();var w=[];var q=S.getStrictOptionValue(ee,"alwaysStrict")||!ee.noImplicitUseStrict&&S.isExternalModule(we);var te=S.addPrologue(w,k.statements,q&&!S.isJsonSourceFile(k),sourceElementVisitor);if(shouldEmitUnderscoreUnderscoreESModule()){S.append(w,createUnderscoreUnderscoreESModule())}if(S.length(Ne.exportedNames)){S.append(w,S.createExpressionStatement(S.reduceLeft(Ne.exportedNames,(function(E,k){return S.createAssignment(S.createPropertyAccess(S.createIdentifier("exports"),S.createIdentifier(S.idText(k))),E)}),S.createVoidZero())))}S.append(w,S.visitNode(Ne.externalHelpersImportDeclaration,sourceElementVisitor,S.isStatement));S.addRange(w,S.visitNodes(k.statements,sourceElementVisitor,S.isStatement,te));addExportEqualsIfNeeded(w,false);S.insertStatementsAfterStandardPrologue(w,j());var ne=S.updateSourceFileNode(k,S.setTextRange(S.createNodeArray(w),k.statements));S.addEmitHelpers(ne,E.readEmitHelpers());return ne}function transformAMDModule(k){var N=S.createIdentifier("define");var j=S.tryGetModuleNameFromFile(k,ne,ee);var q=S.isJsonSourceFile(k)&&k;var te=collectAsynchronousDependencies(k,true),ae=te.aliasedModuleNames,_e=te.unaliasedModuleNames,ve=te.importAliasNames;var Ee=S.updateSourceFileNode(k,S.setTextRange(S.createNodeArray([S.createExpressionStatement(S.createCall(N,undefined,w(j?[j]:[],[S.createArrayLiteral(q?S.emptyArray:w([S.createLiteral("require"),S.createLiteral("exports")],ae,_e)),q?q.statements.length?q.statements[0].expression:S.createObjectLiteral():S.createFunctionExpression(undefined,undefined,undefined,undefined,w([S.createParameter(undefined,undefined,undefined,"require"),S.createParameter(undefined,undefined,undefined,"exports")],ve),undefined,transformAsynchronousModuleBody(k))])))]),k.statements));S.addEmitHelpers(Ee,E.readEmitHelpers());return Ee}function transformUMDModule(k){var N=collectAsynchronousDependencies(k,false),j=N.aliasedModuleNames,q=N.unaliasedModuleNames,te=N.importAliasNames;var ae=S.tryGetModuleNameFromFile(k,ne,ee);var _e=S.createFunctionExpression(undefined,undefined,undefined,undefined,[S.createParameter(undefined,undefined,undefined,"factory")],undefined,S.setTextRange(S.createBlock([S.createIf(S.createLogicalAnd(S.createTypeCheck(S.createIdentifier("module"),"object"),S.createTypeCheck(S.createPropertyAccess(S.createIdentifier("module"),"exports"),"object")),S.createBlock([S.createVariableStatement(undefined,[S.createVariableDeclaration("v",undefined,S.createCall(S.createIdentifier("factory"),undefined,[S.createIdentifier("require"),S.createIdentifier("exports")]))]),S.setEmitFlags(S.createIf(S.createStrictInequality(S.createIdentifier("v"),S.createIdentifier("undefined")),S.createExpressionStatement(S.createAssignment(S.createPropertyAccess(S.createIdentifier("module"),"exports"),S.createIdentifier("v")))),1)]),S.createIf(S.createLogicalAnd(S.createTypeCheck(S.createIdentifier("define"),"function"),S.createPropertyAccess(S.createIdentifier("define"),"amd")),S.createBlock([S.createExpressionStatement(S.createCall(S.createIdentifier("define"),undefined,w(ae?[ae]:[],[S.createArrayLiteral(w([S.createLiteral("require"),S.createLiteral("exports")],j,q)),S.createIdentifier("factory")])))])))],true),undefined));var ve=S.updateSourceFileNode(k,S.setTextRange(S.createNodeArray([S.createExpressionStatement(S.createCall(_e,undefined,[S.createFunctionExpression(undefined,undefined,undefined,undefined,w([S.createParameter(undefined,undefined,undefined,"require"),S.createParameter(undefined,undefined,undefined,"exports")],te),undefined,transformAsynchronousModuleBody(k))]))]),k.statements));S.addEmitHelpers(ve,E.readEmitHelpers());return ve}function collectAsynchronousDependencies(E,k){var w=[];var N=[];var j=[];for(var q=0,ae=E.amdDependencies;q(S.isExportName(E)?1:0)}return false}function visitDestructuringAssignment(k){if(destructuringNeedsFlattening(k.left)){return S.flattenDestructuringAssignment(k,moduleExpressionElementVisitor,E,0,false,createAllExportExpressions)}return S.visitEachChild(k,moduleExpressionElementVisitor,E)}function visitImportCallExpression(E){var k=S.visitNode(S.firstOrUndefined(E.arguments),moduleExpressionElementVisitor);var w=!!(E.transformFlags&4096);switch(ee.module){case S.ModuleKind.AMD:return createImportCallExpressionAMD(k,w);case S.ModuleKind.UMD:return createImportCallExpressionUMD(k,w);case S.ModuleKind.CommonJS:default:return createImportCallExpressionCommonJS(k,w)}}function createImportCallExpressionUMD(E,k){Fe=true;if(S.isSimpleCopiableExpression(E)){var w=S.isGeneratedIdentifier(E)?E:S.isStringLiteral(E)?S.createLiteral(E):S.setEmitFlags(S.setTextRange(S.getSynthesizedClone(E),E),1536);return S.createConditional(S.createIdentifier("__syncRequire"),createImportCallExpressionCommonJS(E,k),createImportCallExpressionAMD(w,k))}else{var N=S.createTempVariable(q);return S.createComma(S.createAssignment(N,E),S.createConditional(S.createIdentifier("__syncRequire"),createImportCallExpressionCommonJS(N,k),createImportCallExpressionAMD(N,k)))}}function createImportCallExpressionAMD(k,w){var N=S.createUniqueName("resolve");var j=S.createUniqueName("reject");var q=[S.createParameter(undefined,undefined,undefined,N),S.createParameter(undefined,undefined,undefined,j)];var te=S.createBlock([S.createExpressionStatement(S.createCall(S.createIdentifier("require"),undefined,[S.createArrayLiteral([k||S.createOmittedExpression()]),N,j]))]);var ne;if(ae>=2){ne=S.createArrowFunction(undefined,undefined,q,undefined,undefined,te)}else{ne=S.createFunctionExpression(undefined,undefined,undefined,undefined,q,undefined,te);if(w){S.setEmitFlags(ne,8)}}var _e=S.createNew(S.createIdentifier("Promise"),undefined,[ne]);if(ee.esModuleInterop){E.requestEmitHelper(S.importStarHelper);return S.createCall(S.createPropertyAccess(_e,S.createIdentifier("then")),undefined,[S.getUnscopedHelperName("__importStar")])}return _e}function createImportCallExpressionCommonJS(k,w){var N=S.createCall(S.createPropertyAccess(S.createIdentifier("Promise"),"resolve"),undefined,[]);var j=S.createCall(S.createIdentifier("require"),undefined,k?[k]:[]);if(ee.esModuleInterop){E.requestEmitHelper(S.importStarHelper);j=S.createCall(S.getUnscopedHelperName("__importStar"),undefined,[j])}var q;if(ae>=2){q=S.createArrowFunction(undefined,undefined,[],undefined,undefined,j)}else{q=S.createFunctionExpression(undefined,undefined,undefined,undefined,[],undefined,S.createBlock([S.createReturn(j)]));if(w){S.setEmitFlags(q,8)}}return S.createCall(S.createPropertyAccess(N,"then"),undefined,[q])}function getHelperExpressionForExport(k,w){if(!ee.esModuleInterop||S.getEmitFlags(k)&67108864){return w}if(S.getExportNeedsImportStarHelper(k)){E.requestEmitHelper(S.importStarHelper);return S.createCall(S.getUnscopedHelperName("__importStar"),undefined,[w])}return w}function getHelperExpressionForImport(k,w){if(!ee.esModuleInterop||S.getEmitFlags(k)&67108864){return w}if(S.getImportNeedsImportStarHelper(k)){E.requestEmitHelper(S.importStarHelper);return S.createCall(S.getUnscopedHelperName("__importStar"),undefined,[w])}if(S.getImportNeedsImportDefaultHelper(k)){E.requestEmitHelper(S.importDefaultHelper);return S.createCall(S.getUnscopedHelperName("__importDefault"),undefined,[w])}return w}function visitImportDeclaration(E){var k;var w=S.getNamespaceDeclarationNode(E);if(_e!==S.ModuleKind.AMD){if(!E.importClause){return S.setOriginalNode(S.setTextRange(S.createExpressionStatement(createRequireCall(E)),E),E)}else{var N=[];if(w&&!S.isDefaultImport(E)){N.push(S.createVariableDeclaration(S.getSynthesizedClone(w.name),undefined,getHelperExpressionForImport(E,createRequireCall(E))))}else{N.push(S.createVariableDeclaration(S.getGeneratedNameForNode(E),undefined,getHelperExpressionForImport(E,createRequireCall(E))));if(w&&S.isDefaultImport(E)){N.push(S.createVariableDeclaration(S.getSynthesizedClone(w.name),undefined,S.getGeneratedNameForNode(E)))}}k=S.append(k,S.setOriginalNode(S.setTextRange(S.createVariableStatement(undefined,S.createVariableDeclarationList(N,ae>=2?2:0)),E),E))}}else if(w&&S.isDefaultImport(E)){k=S.append(k,S.createVariableStatement(undefined,S.createVariableDeclarationList([S.setOriginalNode(S.setTextRange(S.createVariableDeclaration(S.getSynthesizedClone(w.name),undefined,S.getGeneratedNameForNode(E)),E),E)],ae>=2?2:0)))}if(hasAssociatedEndOfDeclarationMarker(E)){var j=S.getOriginalNodeId(E);Ce[j]=appendExportsOfImportDeclaration(Ce[j],E)}else{k=appendExportsOfImportDeclaration(k,E)}return S.singleOrMany(k)}function createRequireCall(E){var k=S.getExternalModuleNameLiteral(E,we,ne,te,ee);var w=[];if(k){w.push(k)}return S.createCall(S.createIdentifier("require"),undefined,w)}function visitImportEqualsDeclaration(E){S.Debug.assert(S.isExternalModuleImportEqualsDeclaration(E),"import= for internal module references should be handled in an earlier transformer.");var k;if(_e!==S.ModuleKind.AMD){if(S.hasModifier(E,1)){k=S.append(k,S.setOriginalNode(S.setTextRange(S.createExpressionStatement(createExportExpression(E.name,createRequireCall(E))),E),E))}else{k=S.append(k,S.setOriginalNode(S.setTextRange(S.createVariableStatement(undefined,S.createVariableDeclarationList([S.createVariableDeclaration(S.getSynthesizedClone(E.name),undefined,createRequireCall(E))],ae>=2?2:0)),E),E))}}else{if(S.hasModifier(E,1)){k=S.append(k,S.setOriginalNode(S.setTextRange(S.createExpressionStatement(createExportExpression(S.getExportName(E),S.getLocalName(E))),E),E))}}if(hasAssociatedEndOfDeclarationMarker(E)){var w=S.getOriginalNodeId(E);Ce[w]=appendExportsOfImportEqualsDeclaration(Ce[w],E)}else{k=appendExportsOfImportEqualsDeclaration(k,E)}return S.singleOrMany(k)}function visitExportDeclaration(k){if(!k.moduleSpecifier){return undefined}var w=S.getGeneratedNameForNode(k);if(k.exportClause&&S.isNamedExports(k.exportClause)){var N=[];if(_e!==S.ModuleKind.AMD){N.push(S.setOriginalNode(S.setTextRange(S.createVariableStatement(undefined,S.createVariableDeclarationList([S.createVariableDeclaration(w,undefined,createRequireCall(k))])),k),k))}for(var j=0,q=k.exportClause.elements;jS.ModuleKind.ES2015){return E}if(!E.exportClause||!S.isNamespaceExport(E.exportClause)||!E.moduleSpecifier){return E}var w=E.exportClause.name;var N=S.getGeneratedNameForNode(w);var j=S.createImportDeclaration(undefined,undefined,S.createImportClause(undefined,S.createNamespaceImport(N)),E.moduleSpecifier);S.setOriginalNode(j,E.exportClause);var q=S.createExportDeclaration(undefined,undefined,S.createNamedExports([S.createExportSpecifier(N,w)]));S.setOriginalNode(q,E);return[j,q]}function onEmitNode(E,N,q){if(S.isSourceFile(N)){if((S.isExternalModule(N)||k.isolatedModules)&&k.importHelpers){j=S.createMap()}w(E,N,q);j=undefined}else{w(E,N,q)}}function onSubstituteNode(E,k){k=N(E,k);if(j&&S.isIdentifier(k)&&S.getEmitFlags(k)&4096){return substituteHelperName(k)}return k}function substituteHelperName(E){var k=S.idText(E);var w=j.get(k);if(!w){j.set(k,w=S.createFileLevelUniqueName(k))}return w}}S.transformECMAScriptModule=transformECMAScriptModule})(ne||(ne={}));var ne;(function(S){function canProduceDiagnostics(E){return S.isVariableDeclaration(E)||S.isPropertyDeclaration(E)||S.isPropertySignature(E)||S.isBindingElement(E)||S.isSetAccessor(E)||S.isGetAccessor(E)||S.isConstructSignatureDeclaration(E)||S.isCallSignatureDeclaration(E)||S.isMethodDeclaration(E)||S.isMethodSignature(E)||S.isFunctionDeclaration(E)||S.isParameter(E)||S.isTypeParameterDeclaration(E)||S.isExpressionWithTypeArguments(E)||S.isImportEqualsDeclaration(E)||S.isTypeAliasDeclaration(E)||S.isConstructorDeclaration(E)||S.isIndexSignatureDeclaration(E)||S.isPropertyAccessExpression(E)}S.canProduceDiagnostics=canProduceDiagnostics;function createGetSymbolAccessibilityDiagnosticForNodeName(E){if(S.isSetAccessor(E)||S.isGetAccessor(E)){return getAccessorNameVisibilityError}else if(S.isMethodSignature(E)||S.isMethodDeclaration(E)){return getMethodNameVisibilityError}else{return createGetSymbolAccessibilityDiagnosticForNode(E)}function getAccessorNameVisibilityError(S){var k=getAccessorNameVisibilityDiagnosticMessage(S);return k!==undefined?{diagnosticMessage:k,errorNode:E,typeName:E.name}:undefined}function getAccessorNameVisibilityDiagnosticMessage(k){if(S.hasModifier(E,32)){return k.errorModuleName?k.accessibility===2?S.Diagnostics.Public_static_property_0_of_exported_class_has_or_is_using_name_1_from_external_module_2_but_cannot_be_named:S.Diagnostics.Public_static_property_0_of_exported_class_has_or_is_using_name_1_from_private_module_2:S.Diagnostics.Public_static_property_0_of_exported_class_has_or_is_using_private_name_1}else if(E.parent.kind===245){return k.errorModuleName?k.accessibility===2?S.Diagnostics.Public_property_0_of_exported_class_has_or_is_using_name_1_from_external_module_2_but_cannot_be_named:S.Diagnostics.Public_property_0_of_exported_class_has_or_is_using_name_1_from_private_module_2:S.Diagnostics.Public_property_0_of_exported_class_has_or_is_using_private_name_1}else{return k.errorModuleName?S.Diagnostics.Property_0_of_exported_interface_has_or_is_using_name_1_from_private_module_2:S.Diagnostics.Property_0_of_exported_interface_has_or_is_using_private_name_1}}function getMethodNameVisibilityError(S){var k=getMethodNameVisibilityDiagnosticMessage(S);return k!==undefined?{diagnosticMessage:k,errorNode:E,typeName:E.name}:undefined}function getMethodNameVisibilityDiagnosticMessage(k){if(S.hasModifier(E,32)){return k.errorModuleName?k.accessibility===2?S.Diagnostics.Public_static_method_0_of_exported_class_has_or_is_using_name_1_from_external_module_2_but_cannot_be_named:S.Diagnostics.Public_static_method_0_of_exported_class_has_or_is_using_name_1_from_private_module_2:S.Diagnostics.Public_static_method_0_of_exported_class_has_or_is_using_private_name_1}else if(E.parent.kind===245){return k.errorModuleName?k.accessibility===2?S.Diagnostics.Public_method_0_of_exported_class_has_or_is_using_name_1_from_external_module_2_but_cannot_be_named:S.Diagnostics.Public_method_0_of_exported_class_has_or_is_using_name_1_from_private_module_2:S.Diagnostics.Public_method_0_of_exported_class_has_or_is_using_private_name_1}else{return k.errorModuleName?S.Diagnostics.Method_0_of_exported_interface_has_or_is_using_name_1_from_private_module_2:S.Diagnostics.Method_0_of_exported_interface_has_or_is_using_private_name_1}}}S.createGetSymbolAccessibilityDiagnosticForNodeName=createGetSymbolAccessibilityDiagnosticForNodeName;function createGetSymbolAccessibilityDiagnosticForNode(E){if(S.isVariableDeclaration(E)||S.isPropertyDeclaration(E)||S.isPropertySignature(E)||S.isPropertyAccessExpression(E)||S.isBindingElement(E)||S.isConstructorDeclaration(E)){return getVariableDeclarationTypeVisibilityError}else if(S.isSetAccessor(E)||S.isGetAccessor(E)){return getAccessorDeclarationTypeVisibilityError}else if(S.isConstructSignatureDeclaration(E)||S.isCallSignatureDeclaration(E)||S.isMethodDeclaration(E)||S.isMethodSignature(E)||S.isFunctionDeclaration(E)||S.isIndexSignatureDeclaration(E)){return getReturnTypeVisibilityError}else if(S.isParameter(E)){if(S.isParameterPropertyDeclaration(E,E.parent)&&S.hasModifier(E.parent,8)){return getVariableDeclarationTypeVisibilityError}return getParameterDeclarationTypeVisibilityError}else if(S.isTypeParameterDeclaration(E)){return getTypeParameterConstraintVisibilityError}else if(S.isExpressionWithTypeArguments(E)){return getHeritageClauseVisibilityError}else if(S.isImportEqualsDeclaration(E)){return getImportEntityNameVisibilityError}else if(S.isTypeAliasDeclaration(E)){return getTypeAliasDeclarationVisibilityError}else{return S.Debug.assertNever(E,"Attempted to set a declaration diagnostic context for unhandled node kind: "+S.SyntaxKind[E.kind])}function getVariableDeclarationTypeVisibilityDiagnosticMessage(k){if(E.kind===242||E.kind===191){return k.errorModuleName?k.accessibility===2?S.Diagnostics.Exported_variable_0_has_or_is_using_name_1_from_external_module_2_but_cannot_be_named:S.Diagnostics.Exported_variable_0_has_or_is_using_name_1_from_private_module_2:S.Diagnostics.Exported_variable_0_has_or_is_using_private_name_1}else if(E.kind===159||E.kind===194||E.kind===158||E.kind===156&&S.hasModifier(E.parent,8)){if(S.hasModifier(E,32)){return k.errorModuleName?k.accessibility===2?S.Diagnostics.Public_static_property_0_of_exported_class_has_or_is_using_name_1_from_external_module_2_but_cannot_be_named:S.Diagnostics.Public_static_property_0_of_exported_class_has_or_is_using_name_1_from_private_module_2:S.Diagnostics.Public_static_property_0_of_exported_class_has_or_is_using_private_name_1}else if(E.parent.kind===245||E.kind===156){return k.errorModuleName?k.accessibility===2?S.Diagnostics.Public_property_0_of_exported_class_has_or_is_using_name_1_from_external_module_2_but_cannot_be_named:S.Diagnostics.Public_property_0_of_exported_class_has_or_is_using_name_1_from_private_module_2:S.Diagnostics.Public_property_0_of_exported_class_has_or_is_using_private_name_1}else{return k.errorModuleName?S.Diagnostics.Property_0_of_exported_interface_has_or_is_using_name_1_from_private_module_2:S.Diagnostics.Property_0_of_exported_interface_has_or_is_using_private_name_1}}}function getVariableDeclarationTypeVisibilityError(S){var k=getVariableDeclarationTypeVisibilityDiagnosticMessage(S);return k!==undefined?{diagnosticMessage:k,errorNode:E,typeName:E.name}:undefined}function getAccessorDeclarationTypeVisibilityError(k){var w;if(E.kind===164){if(S.hasModifier(E,32)){w=k.errorModuleName?S.Diagnostics.Parameter_type_of_public_static_setter_0_from_exported_class_has_or_is_using_name_1_from_private_module_2:S.Diagnostics.Parameter_type_of_public_static_setter_0_from_exported_class_has_or_is_using_private_name_1}else{w=k.errorModuleName?S.Diagnostics.Parameter_type_of_public_setter_0_from_exported_class_has_or_is_using_name_1_from_private_module_2:S.Diagnostics.Parameter_type_of_public_setter_0_from_exported_class_has_or_is_using_private_name_1}}else{if(S.hasModifier(E,32)){w=k.errorModuleName?k.accessibility===2?S.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:S.Diagnostics.Return_type_of_public_static_getter_0_from_exported_class_has_or_is_using_name_1_from_private_module_2:S.Diagnostics.Return_type_of_public_static_getter_0_from_exported_class_has_or_is_using_private_name_1}else{w=k.errorModuleName?k.accessibility===2?S.Diagnostics.Return_type_of_public_getter_0_from_exported_class_has_or_is_using_name_1_from_external_module_2_but_cannot_be_named:S.Diagnostics.Return_type_of_public_getter_0_from_exported_class_has_or_is_using_name_1_from_private_module_2:S.Diagnostics.Return_type_of_public_getter_0_from_exported_class_has_or_is_using_private_name_1}}return{diagnosticMessage:w,errorNode:E.name,typeName:E.name}}function getReturnTypeVisibilityError(k){var w;switch(E.kind){case 166:w=k.errorModuleName?S.Diagnostics.Return_type_of_constructor_signature_from_exported_interface_has_or_is_using_name_0_from_private_module_1:S.Diagnostics.Return_type_of_constructor_signature_from_exported_interface_has_or_is_using_private_name_0;break;case 165:w=k.errorModuleName?S.Diagnostics.Return_type_of_call_signature_from_exported_interface_has_or_is_using_name_0_from_private_module_1:S.Diagnostics.Return_type_of_call_signature_from_exported_interface_has_or_is_using_private_name_0;break;case 167:w=k.errorModuleName?S.Diagnostics.Return_type_of_index_signature_from_exported_interface_has_or_is_using_name_0_from_private_module_1:S.Diagnostics.Return_type_of_index_signature_from_exported_interface_has_or_is_using_private_name_0;break;case 161:case 160:if(S.hasModifier(E,32)){w=k.errorModuleName?k.accessibility===2?S.Diagnostics.Return_type_of_public_static_method_from_exported_class_has_or_is_using_name_0_from_external_module_1_but_cannot_be_named:S.Diagnostics.Return_type_of_public_static_method_from_exported_class_has_or_is_using_name_0_from_private_module_1:S.Diagnostics.Return_type_of_public_static_method_from_exported_class_has_or_is_using_private_name_0}else if(E.parent.kind===245){w=k.errorModuleName?k.accessibility===2?S.Diagnostics.Return_type_of_public_method_from_exported_class_has_or_is_using_name_0_from_external_module_1_but_cannot_be_named:S.Diagnostics.Return_type_of_public_method_from_exported_class_has_or_is_using_name_0_from_private_module_1:S.Diagnostics.Return_type_of_public_method_from_exported_class_has_or_is_using_private_name_0}else{w=k.errorModuleName?S.Diagnostics.Return_type_of_method_from_exported_interface_has_or_is_using_name_0_from_private_module_1:S.Diagnostics.Return_type_of_method_from_exported_interface_has_or_is_using_private_name_0}break;case 244:w=k.errorModuleName?k.accessibility===2?S.Diagnostics.Return_type_of_exported_function_has_or_is_using_name_0_from_external_module_1_but_cannot_be_named:S.Diagnostics.Return_type_of_exported_function_has_or_is_using_name_0_from_private_module_1:S.Diagnostics.Return_type_of_exported_function_has_or_is_using_private_name_0;break;default:return S.Debug.fail("This is unknown kind for signature: "+E.kind)}return{diagnosticMessage:w,errorNode:E.name||E}}function getParameterDeclarationTypeVisibilityError(S){var k=getParameterDeclarationTypeVisibilityDiagnosticMessage(S);return k!==undefined?{diagnosticMessage:k,errorNode:E,typeName:E.name}:undefined}function getParameterDeclarationTypeVisibilityDiagnosticMessage(k){switch(E.parent.kind){case 162:return k.errorModuleName?k.accessibility===2?S.Diagnostics.Parameter_0_of_constructor_from_exported_class_has_or_is_using_name_1_from_external_module_2_but_cannot_be_named:S.Diagnostics.Parameter_0_of_constructor_from_exported_class_has_or_is_using_name_1_from_private_module_2:S.Diagnostics.Parameter_0_of_constructor_from_exported_class_has_or_is_using_private_name_1;case 166:case 171:return k.errorModuleName?S.Diagnostics.Parameter_0_of_constructor_signature_from_exported_interface_has_or_is_using_name_1_from_private_module_2:S.Diagnostics.Parameter_0_of_constructor_signature_from_exported_interface_has_or_is_using_private_name_1;case 165:return k.errorModuleName?S.Diagnostics.Parameter_0_of_call_signature_from_exported_interface_has_or_is_using_name_1_from_private_module_2:S.Diagnostics.Parameter_0_of_call_signature_from_exported_interface_has_or_is_using_private_name_1;case 167:return k.errorModuleName?S.Diagnostics.Parameter_0_of_index_signature_from_exported_interface_has_or_is_using_name_1_from_private_module_2:S.Diagnostics.Parameter_0_of_index_signature_from_exported_interface_has_or_is_using_private_name_1;case 161:case 160:if(S.hasModifier(E.parent,32)){return k.errorModuleName?k.accessibility===2?S.Diagnostics.Parameter_0_of_public_static_method_from_exported_class_has_or_is_using_name_1_from_external_module_2_but_cannot_be_named:S.Diagnostics.Parameter_0_of_public_static_method_from_exported_class_has_or_is_using_name_1_from_private_module_2:S.Diagnostics.Parameter_0_of_public_static_method_from_exported_class_has_or_is_using_private_name_1}else if(E.parent.parent.kind===245){return k.errorModuleName?k.accessibility===2?S.Diagnostics.Parameter_0_of_public_method_from_exported_class_has_or_is_using_name_1_from_external_module_2_but_cannot_be_named:S.Diagnostics.Parameter_0_of_public_method_from_exported_class_has_or_is_using_name_1_from_private_module_2:S.Diagnostics.Parameter_0_of_public_method_from_exported_class_has_or_is_using_private_name_1}else{return k.errorModuleName?S.Diagnostics.Parameter_0_of_method_from_exported_interface_has_or_is_using_name_1_from_private_module_2:S.Diagnostics.Parameter_0_of_method_from_exported_interface_has_or_is_using_private_name_1}case 244:case 170:return k.errorModuleName?k.accessibility===2?S.Diagnostics.Parameter_0_of_exported_function_has_or_is_using_name_1_from_external_module_2_but_cannot_be_named:S.Diagnostics.Parameter_0_of_exported_function_has_or_is_using_name_1_from_private_module_2:S.Diagnostics.Parameter_0_of_exported_function_has_or_is_using_private_name_1;case 164:case 163:return k.errorModuleName?k.accessibility===2?S.Diagnostics.Parameter_0_of_accessor_has_or_is_using_name_1_from_external_module_2_but_cannot_be_named:S.Diagnostics.Parameter_0_of_accessor_has_or_is_using_name_1_from_private_module_2:S.Diagnostics.Parameter_0_of_accessor_has_or_is_using_private_name_1;default:return S.Debug.fail("Unknown parent for parameter: "+S.SyntaxKind[E.parent.kind])}}function getTypeParameterConstraintVisibilityError(){var k;switch(E.parent.kind){case 245:k=S.Diagnostics.Type_parameter_0_of_exported_class_has_or_is_using_private_name_1;break;case 246:k=S.Diagnostics.Type_parameter_0_of_exported_interface_has_or_is_using_private_name_1;break;case 186:k=S.Diagnostics.Type_parameter_0_of_exported_mapped_object_type_is_using_private_name_1;break;case 171:case 166:k=S.Diagnostics.Type_parameter_0_of_constructor_signature_from_exported_interface_has_or_is_using_private_name_1;break;case 165:k=S.Diagnostics.Type_parameter_0_of_call_signature_from_exported_interface_has_or_is_using_private_name_1;break;case 161:case 160:if(S.hasModifier(E.parent,32)){k=S.Diagnostics.Type_parameter_0_of_public_static_method_from_exported_class_has_or_is_using_private_name_1}else if(E.parent.parent.kind===245){k=S.Diagnostics.Type_parameter_0_of_public_method_from_exported_class_has_or_is_using_private_name_1}else{k=S.Diagnostics.Type_parameter_0_of_method_from_exported_interface_has_or_is_using_private_name_1}break;case 170:case 244:k=S.Diagnostics.Type_parameter_0_of_exported_function_has_or_is_using_private_name_1;break;case 247:k=S.Diagnostics.Type_parameter_0_of_exported_type_alias_has_or_is_using_private_name_1;break;default:return S.Debug.fail("This is unknown parent for type parameter: "+E.parent.kind)}return{diagnosticMessage:k,errorNode:E,typeName:E.name}}function getHeritageClauseVisibilityError(){var k;if(E.parent.parent.kind===245){k=S.isHeritageClause(E.parent)&&E.parent.token===113?S.Diagnostics.Implements_clause_of_exported_class_0_has_or_is_using_private_name_1:S.Diagnostics.extends_clause_of_exported_class_0_has_or_is_using_private_name_1}else{k=S.Diagnostics.extends_clause_of_exported_interface_0_has_or_is_using_private_name_1}return{diagnosticMessage:k,errorNode:E,typeName:S.getNameOfDeclaration(E.parent.parent)}}function getImportEntityNameVisibilityError(){return{diagnosticMessage:S.Diagnostics.Import_declaration_0_is_using_private_name_1,errorNode:E,typeName:E.name}}function getTypeAliasDeclarationVisibilityError(){return{diagnosticMessage:S.Diagnostics.Exported_type_alias_0_has_or_is_using_private_name_1,errorNode:E.type,typeName:E.name}}}S.createGetSymbolAccessibilityDiagnosticForNode=createGetSymbolAccessibilityDiagnosticForNode})(ne||(ne={}));var ne;(function(S){function getDeclarationDiagnostics(E,k,w){if(w&&S.isJsonSourceFile(w)){return[]}var N=E.getCompilerOptions();var j=S.transformNodes(k,E,N,w?[w]:S.filter(E.getSourceFiles(),S.isSourceFileNotJson),[transformDeclarations],false);return j.diagnostics}S.getDeclarationDiagnostics=getDeclarationDiagnostics;function hasInternalAnnotation(E,k){var w=k.text.substring(E.pos,E.end);return S.stringContains(w,"@internal")}function isInternalDeclaration(E,k){var w=S.getParseTreeNode(E);if(w&&w.kind===156){var N=w.parent.parameters.indexOf(w);var j=N>0?w.parent.parameters[N-1]:undefined;var q=k.text;var ee=j?S.concatenate(S.getTrailingCommentRanges(q,S.skipTrivia(q,j.end+1,false,true)),S.getLeadingCommentRanges(q,E.pos)):S.getTrailingCommentRanges(q,S.skipTrivia(q,E.pos,false,true));return ee&&ee.length&&hasInternalAnnotation(S.last(ee),k)}var te=w&&S.getLeadingCommentRangesOfNode(w,k);return!!S.forEach(te,(function(S){return hasInternalAnnotation(S,k)}))}S.isInternalDeclaration=isInternalDeclaration;var E=1024|2048|4096|8|524288|4|1;function transformDeclarations(k){var throwDiagnostic=function(){return S.Debug.fail("Diagnostic emitted without context")};var j=throwDiagnostic;var q=true;var ee=false;var te=false;var ne=false;var ae=false;var _e;var ve;var Ee;var Te;var Ce;var we;var Ne=k.getEmitHost();var Ie={trackSymbol:trackSymbol,reportInaccessibleThisError:reportInaccessibleThisError,reportInaccessibleUniqueSymbolError:reportInaccessibleUniqueSymbolError,reportCyclicStructureError:reportCyclicStructureError,reportPrivateInBaseOfClassExpression:reportPrivateInBaseOfClassExpression,reportLikelyUnsafeImportRequiredError:reportLikelyUnsafeImportRequiredError,moduleResolverHost:Ne,trackReferencedAmbientModule:trackReferencedAmbientModule,trackExternalModuleSymbolOfImportTypeNode:trackExternalModuleSymbolOfImportTypeNode,reportNonlocalAugmentation:reportNonlocalAugmentation};var Fe;var Oe;var Me;var Re;var Le;var Be=k.getEmitResolver();var je=k.getCompilerOptions();var ze=je.noResolve,Ue=je.stripInternal;return transformRoot;function recordTypeReferenceDirectivesIfNecessary(E){if(!E){return}ve=ve||S.createMap();for(var k=0,w=E;k0?S.parameters[0].type:undefined}}function canHaveLiteralInitializer(E){switch(E.kind){case 159:case 158:return!S.hasModifier(E,8);case 156:case 242:return true}return false}function isPreservedDeclarationStatement(S){switch(S.kind){case 244:case 249:case 253:case 246:case 245:case 247:case 248:case 225:case 254:case 260:case 259:return true}return false}function isProcessedComponent(S){switch(S.kind){case 166:case 162:case 161:case 163:case 164:case 159:case 158:case 160:case 165:case 167:case 242:case 155:case 216:case 169:case 180:case 170:case 171:case 188:return true}return false}})(ne||(ne={}));var ne;(function(S){function getModuleTransformer(E){switch(E){case S.ModuleKind.ESNext:case S.ModuleKind.ES2020:case S.ModuleKind.ES2015:return S.transformECMAScriptModule;case S.ModuleKind.System:return S.transformSystemModule;default:return S.transformModule}}var E;(function(S){S[S["Uninitialized"]=0]="Uninitialized";S[S["Initialized"]=1]="Initialized";S[S["Completed"]=2]="Completed";S[S["Disposed"]=3]="Disposed"})(E||(E={}));var k;(function(S){S[S["Substitution"]=1]="Substitution";S[S["EmitNotifications"]=2]="EmitNotifications"})(k||(k={}));S.noTransformers={scriptTransformers:S.emptyArray,declarationTransformers:S.emptyArray};function getTransformers(S,E,k){return{scriptTransformers:getScriptTransformers(S,E,k),declarationTransformers:getDeclarationTransformers(E)}}S.getTransformers=getTransformers;function getScriptTransformers(E,k,w){if(w)return S.emptyArray;var N=E.jsx;var j=S.getEmitScriptTarget(E);var q=S.getEmitModuleKind(E);var ee=[];S.addRange(ee,k&&S.map(k.before,wrapScriptTransformerFactory));ee.push(S.transformTypeScript);ee.push(S.transformClassFields);if(N===2){ee.push(S.transformJsx)}if(j<99){ee.push(S.transformESNext)}if(j<7){ee.push(S.transformES2020)}if(j<6){ee.push(S.transformES2019)}if(j<5){ee.push(S.transformES2018)}if(j<4){ee.push(S.transformES2017)}if(j<3){ee.push(S.transformES2016)}if(j<2){ee.push(S.transformES2015);ee.push(S.transformGenerators)}ee.push(getModuleTransformer(q));if(j<1){ee.push(S.transformES5)}S.addRange(ee,k&&S.map(k.after,wrapScriptTransformerFactory));return ee}function getDeclarationTransformers(E){var k=[];k.push(S.transformDeclarations);S.addRange(k,E&&S.map(E.afterDeclarations,wrapDeclarationTransformerFactory));return k}function wrapCustomTransformer(E){return function(k){return S.isBundle(k)?E.transformBundle(k):E.transformSourceFile(k)}}function wrapCustomTransformerFactory(S,E){return function(k){var w=S(k);return typeof w==="function"?E(w):wrapCustomTransformer(w)}}function wrapScriptTransformerFactory(E){return wrapCustomTransformerFactory(E,S.chainBundle)}function wrapDeclarationTransformerFactory(E){return wrapCustomTransformerFactory(E,S.identity)}function noEmitSubstitution(S,E){return E}S.noEmitSubstitution=noEmitSubstitution;function noEmitNotification(S,E,k){k(S,E)}S.noEmitNotification=noEmitNotification;function transformNodes(E,k,N,j,q,ee){var te=new Array(331);var ne;var ae;var _e;var ve=0;var Ee=[];var Te=[];var Ce=[];var we=[];var Ne=0;var Ie=false;var Fe;var Oe=noEmitSubstitution;var Me=noEmitNotification;var Re=0;var Le=[];var Be={getCompilerOptions:function(){return N},getEmitResolver:function(){return E},getEmitHost:function(){return k},startLexicalEnvironment:startLexicalEnvironment,suspendLexicalEnvironment:suspendLexicalEnvironment,resumeLexicalEnvironment:resumeLexicalEnvironment,endLexicalEnvironment:endLexicalEnvironment,setLexicalEnvironmentFlags:setLexicalEnvironmentFlags,getLexicalEnvironmentFlags:getLexicalEnvironmentFlags,hoistVariableDeclaration:hoistVariableDeclaration,hoistFunctionDeclaration:hoistFunctionDeclaration,addInitializationStatement:addInitializationStatement,requestEmitHelper:requestEmitHelper,readEmitHelpers:readEmitHelpers,enableSubstitution:enableSubstitution,enableEmitNotification:enableEmitNotification,isSubstitutionEnabled:isSubstitutionEnabled,isEmitNotificationEnabled:isEmitNotificationEnabled,get onSubstituteNode(){return Oe},set onSubstituteNode(E){S.Debug.assert(Re<1,"Cannot modify transformation hooks after initialization has completed.");S.Debug.assert(E!==undefined,"Value must not be 'undefined'");Oe=E},get onEmitNode(){return Me},set onEmitNode(E){S.Debug.assert(Re<1,"Cannot modify transformation hooks after initialization has completed.");S.Debug.assert(E!==undefined,"Value must not be 'undefined'");Me=E},addDiagnostic:function(S){Le.push(S)}};for(var je=0,ze=j;je0,"Cannot modify the lexical environment during initialization.");S.Debug.assert(Re<2,"Cannot modify the lexical environment after transformation has completed.");var k=S.setEmitFlags(S.createVariableDeclaration(E),64);if(!ne){ne=[k]}else{ne.push(k)}if(ve&1){ve|=2}}function hoistFunctionDeclaration(E){S.Debug.assert(Re>0,"Cannot modify the lexical environment during initialization.");S.Debug.assert(Re<2,"Cannot modify the lexical environment after transformation has completed.");S.setEmitFlags(E,1048576);if(!ae){ae=[E]}else{ae.push(E)}}function addInitializationStatement(E){S.Debug.assert(Re>0,"Cannot modify the lexical environment during initialization.");S.Debug.assert(Re<2,"Cannot modify the lexical environment after transformation has completed.");S.setEmitFlags(E,1048576);if(!_e){_e=[E]}else{_e.push(E)}}function startLexicalEnvironment(){S.Debug.assert(Re>0,"Cannot modify the lexical environment during initialization.");S.Debug.assert(Re<2,"Cannot modify the lexical environment after transformation has completed.");S.Debug.assert(!Ie,"Lexical environment is suspended.");Ee[Ne]=ne;Te[Ne]=ae;Ce[Ne]=_e;we[Ne]=ve;Ne++;ne=undefined;ae=undefined;_e=undefined;ve=0}function suspendLexicalEnvironment(){S.Debug.assert(Re>0,"Cannot modify the lexical environment during initialization.");S.Debug.assert(Re<2,"Cannot modify the lexical environment after transformation has completed.");S.Debug.assert(!Ie,"Lexical environment is already suspended.");Ie=true}function resumeLexicalEnvironment(){S.Debug.assert(Re>0,"Cannot modify the lexical environment during initialization.");S.Debug.assert(Re<2,"Cannot modify the lexical environment after transformation has completed.");S.Debug.assert(Ie,"Lexical environment is not suspended.");Ie=false}function endLexicalEnvironment(){S.Debug.assert(Re>0,"Cannot modify the lexical environment during initialization.");S.Debug.assert(Re<2,"Cannot modify the lexical environment after transformation has completed.");S.Debug.assert(!Ie,"Lexical environment is suspended.");var E;if(ne||ae||_e){if(ae){E=w(ae)}if(ne){var k=S.createVariableStatement(undefined,S.createVariableDeclarationList(ne));S.setEmitFlags(k,1048576);if(!E){E=[k]}else{E.push(k)}}if(_e){if(!E){E=w(_e)}else{E=w(E,_e)}}}Ne--;ne=Ee[Ne];ae=Te[Ne];_e=Ce[Ne];ve=we[Ne];if(Ne===0){Ee=[];Te=[];Ce=[];we=[]}return E}function setLexicalEnvironmentFlags(S,E){ve=E?ve|S:ve&~S}function getLexicalEnvironmentFlags(){return ve}function requestEmitHelper(E){S.Debug.assert(Re>0,"Cannot modify the transformation context during initialization.");S.Debug.assert(Re<2,"Cannot modify the transformation context after transformation has completed.");S.Debug.assert(!E.scoped,"Cannot request a scoped emit helper.");if(E.dependencies){for(var k=0,w=E.dependencies;k0,"Cannot modify the transformation context during initialization.");S.Debug.assert(Re<2,"Cannot modify the transformation context after transformation has completed.");var E=Fe;Fe=undefined;return E}function dispose(){if(Re<3){for(var E=0,k=j;E");writeSpace();emit(S.type);popNameGenerationScope(S)}function emitJSDocFunctionType(S){writeKeyword("function");emitParameters(S,S.parameters);writePunctuation(":");emit(S.type)}function emitJSDocNullableType(S){writePunctuation("?");emit(S.type)}function emitJSDocNonNullableType(S){writePunctuation("!");emit(S.type)}function emitJSDocOptionalType(S){emit(S.type);writePunctuation("=")}function emitConstructorType(S){pushNameGenerationScope(S);writeKeyword("new");writeSpace();emitTypeParameters(S,S.typeParameters);emitParameters(S,S.parameters);writeSpace();writePunctuation("=>");writeSpace();emit(S.type);popNameGenerationScope(S)}function emitTypeQuery(S){writeKeyword("typeof");writeSpace();emit(S.exprName)}function emitTypeLiteral(E){writePunctuation("{");var k=S.getEmitFlags(E)&1?768:32897;emitList(E,E.members,k|524288);writePunctuation("}")}function emitArrayType(S){emit(S.elementType);writePunctuation("[");writePunctuation("]")}function emitRestOrJSDocVariadicType(S){writePunctuation("...");emit(S.type)}function emitTupleType(S){writePunctuation("[");emitList(S,S.elementTypes,528);writePunctuation("]")}function emitOptionalType(S){emit(S.type);writePunctuation("?")}function emitUnionType(S){emitList(S,S.types,516)}function emitIntersectionType(S){emitList(S,S.types,520)}function emitConditionalType(S){emit(S.checkType);writeSpace();writeKeyword("extends");writeSpace();emit(S.extendsType);writeSpace();writePunctuation("?");writeSpace();emit(S.trueType);writeSpace();writePunctuation(":");writeSpace();emit(S.falseType)}function emitInferType(S){writeKeyword("infer");writeSpace();emit(S.typeParameter)}function emitParenthesizedType(S){writePunctuation("(");emit(S.type);writePunctuation(")")}function emitThisType(){writeKeyword("this")}function emitTypeOperator(S){writeTokenText(S.operator,writeKeyword);writeSpace();emit(S.type)}function emitIndexedAccessType(S){emit(S.objectType);writePunctuation("[");emit(S.indexType);writePunctuation("]")}function emitMappedType(E){var k=S.getEmitFlags(E);writePunctuation("{");if(k&1){writeSpace()}else{writeLine();increaseIndent()}if(E.readonlyToken){emit(E.readonlyToken);if(E.readonlyToken.kind!==138){writeKeyword("readonly")}writeSpace()}writePunctuation("[");pipelineEmit(3,E.typeParameter);writePunctuation("]");if(E.questionToken){emit(E.questionToken);if(E.questionToken.kind!==57){writePunctuation("?")}}writePunctuation(":");writeSpace();emit(E.type);writeTrailingSemicolon();if(k&1){writeSpace()}else{writeLine();decreaseIndent()}writePunctuation("}")}function emitLiteralType(S){emitExpression(S.literal)}function emitImportTypeNode(S){if(S.isTypeOf){writeKeyword("typeof");writeSpace()}writeKeyword("import");writePunctuation("(");emit(S.argument);writePunctuation(")");if(S.qualifier){writePunctuation(".");emit(S.qualifier)}emitTypeArguments(S,S.typeArguments)}function emitObjectBindingPattern(S){writePunctuation("{");emitList(S,S.elements,525136);writePunctuation("}")}function emitArrayBindingPattern(S){writePunctuation("[");emitList(S,S.elements,524880);writePunctuation("]")}function emitBindingElement(S){emit(S.dotDotDotToken);if(S.propertyName){emit(S.propertyName);writePunctuation(":");writeSpace()}emit(S.name);emitInitializer(S.initializer,S.name.end,S)}function emitArrayLiteralExpression(S){var E=S.elements;var k=S.multiLine?65536:0;emitExpressionList(S,E,8914|k)}function emitObjectLiteralExpression(E){S.forEach(E.properties,generateMemberNames);var k=S.getEmitFlags(E)&65536;if(k){increaseIndent()}var w=E.multiLine?65536:0;var N=Ie.languageVersion>=1&&!S.isJsonSourceFile(Ie)?64:0;emitList(E,E.properties,526226|N|w);if(k){decreaseIndent()}}function emitPropertyAccessExpression(E){var k=S.cast(emitExpression(E.expression),S.isExpression);var w=E.questionDotToken||S.createNode(24,E.expression.end,E.name.pos);var N=getLinesBetweenNodes(E,E.expression,w);var j=getLinesBetweenNodes(E,w,E.name);writeLinesAndIndent(N,false);var q=w.kind!==28&&mayNeedDotDotForPropertyAccess(k)&&!Ue.hasTrailingComment()&&!Ue.hasTrailingWhitespace();if(q){writePunctuation(".")}if(E.questionDotToken){emit(w)}else{emitTokenWithComment(w.kind,E.expression.end,writePunctuation,E)}writeLinesAndIndent(j,false);emit(E.name);decreaseIndentIf(N,j)}function mayNeedDotDotForPropertyAccess(E){E=S.skipPartiallyEmittedExpressions(E);if(S.isNumericLiteral(E)){var k=getLiteralTextOfNode(E,true,false);return!E.numericLiteralFlags&&!S.stringContains(k,S.tokenToString(24))}else if(S.isAccessExpression(E)){var w=S.getConstantValue(E);return typeof w==="number"&&isFinite(w)&&Math.floor(w)===w}}function emitElementAccessExpression(S){emitExpression(S.expression);emit(S.questionDotToken);emitTokenWithComment(22,S.expression.end,writePunctuation,S);emitExpression(S.argumentExpression);emitTokenWithComment(23,S.argumentExpression.end,writePunctuation,S)}function emitCallExpression(S){emitExpression(S.expression);emit(S.questionDotToken);emitTypeArguments(S,S.typeArguments);emitExpressionList(S,S.arguments,2576)}function emitNewExpression(S){emitTokenWithComment(99,S.pos,writeKeyword,S);writeSpace();emitExpression(S.expression);emitTypeArguments(S,S.typeArguments);emitExpressionList(S,S.arguments,18960)}function emitTaggedTemplateExpression(S){emitExpression(S.tag);emitTypeArguments(S,S.typeArguments);writeSpace();emitExpression(S.template)}function emitTypeAssertionExpression(S){writePunctuation("<");emit(S.type);writePunctuation(">");emitExpression(S.expression)}function emitParenthesizedExpression(S){var E=emitTokenWithComment(20,S.pos,writePunctuation,S);var k=writeLineSeparatorsAndIndentBefore(S.expression,S);emitExpression(S.expression);writeLineSeparatorsAfter(S.expression,S);decreaseIndentIf(k);emitTokenWithComment(21,S.expression?S.expression.end:E,writePunctuation,S)}function emitFunctionExpression(S){generateNameIfNeeded(S.name);emitFunctionDeclarationOrExpression(S)}function emitArrowFunction(S){emitDecorators(S,S.decorators);emitModifiers(S,S.modifiers);emitSignatureAndBody(S,emitArrowFunctionHead)}function emitArrowFunctionHead(S){emitTypeParameters(S,S.typeParameters);emitParametersForArrow(S,S.parameters);emitTypeAnnotation(S.type);writeSpace();emit(S.equalsGreaterThanToken)}function emitDeleteExpression(S){emitTokenWithComment(85,S.pos,writeKeyword,S);writeSpace();emitExpression(S.expression)}function emitTypeOfExpression(S){emitTokenWithComment(108,S.pos,writeKeyword,S);writeSpace();emitExpression(S.expression)}function emitVoidExpression(S){emitTokenWithComment(110,S.pos,writeKeyword,S);writeSpace();emitExpression(S.expression)}function emitAwaitExpression(S){emitTokenWithComment(127,S.pos,writeKeyword,S);writeSpace();emitExpression(S.expression)}function emitPrefixUnaryExpression(S){writeTokenText(S.operator,writeOperator);if(shouldEmitWhitespaceBeforeOperand(S)){writeSpace()}emitExpression(S.operand)}function shouldEmitWhitespaceBeforeOperand(S){var E=S.operand;return E.kind===207&&(S.operator===39&&(E.operator===39||E.operator===45)||S.operator===40&&(E.operator===40||E.operator===46))}function emitPostfixUnaryExpression(S){emitExpression(S.operand);writeTokenText(S.operator,writeOperator)}var mt;(function(S){S[S["EmitLeft"]=0]="EmitLeft";S[S["EmitRight"]=1]="EmitRight";S[S["FinishEmit"]=2]="FinishEmit"})(mt||(mt={}));function emitBinaryExpression(E){var k=[E];var w=[0];var N=0;while(N>=0){E=k[N];switch(w[N]){case 0:{maybePipelineEmitExpression(E.left);break}case 1:{var j=E.operatorToken.kind!==27;var q=getLinesBetweenNodes(E,E.left,E.operatorToken);var ee=getLinesBetweenNodes(E,E.operatorToken,E.right);writeLinesAndIndent(q,j);emitLeadingCommentsOfPosition(E.operatorToken.pos);writeTokenNode(E.operatorToken,E.operatorToken.kind===97?writeKeyword:writeOperator);emitTrailingCommentsOfPosition(E.operatorToken.end,true);writeLinesAndIndent(ee,true);maybePipelineEmitExpression(E.right);break}case 2:{var q=getLinesBetweenNodes(E,E.left,E.operatorToken);var ee=getLinesBetweenNodes(E,E.operatorToken,E.right);decreaseIndentIf(q,ee);N--;break}default:return S.Debug.fail("Invalid state "+w[N]+" for emitBinaryExpressionWorker")}}function maybePipelineEmitExpression(E){w[N]++;var j=ct;var q=ut;ct=E;ut=undefined;var ee=getPipelinePhase(0,1,E);if(ee===pipelineEmitWithHint&&S.isBinaryExpression(E)){N++;w[N]=0;k[N]=E}else{ee(1,E)}S.Debug.assert(ct===E);ct=j;ut=q}}function emitConditionalExpression(S){var E=getLinesBetweenNodes(S,S.condition,S.questionToken);var k=getLinesBetweenNodes(S,S.questionToken,S.whenTrue);var w=getLinesBetweenNodes(S,S.whenTrue,S.colonToken);var N=getLinesBetweenNodes(S,S.colonToken,S.whenFalse);emitExpression(S.condition);writeLinesAndIndent(E,true);emit(S.questionToken);writeLinesAndIndent(k,true);emitExpression(S.whenTrue);decreaseIndentIf(E,k);writeLinesAndIndent(w,true);emit(S.colonToken);writeLinesAndIndent(N,true);emitExpression(S.whenFalse);decreaseIndentIf(w,N)}function emitTemplateExpression(S){emit(S.head);emitList(S,S.templateSpans,262144)}function emitYieldExpression(S){emitTokenWithComment(121,S.pos,writeKeyword,S);emit(S.asteriskToken);emitExpressionWithLeadingSpace(S.expression)}function emitSpreadExpression(S){emitTokenWithComment(25,S.pos,writePunctuation,S);emitExpression(S.expression)}function emitClassExpression(S){generateNameIfNeeded(S.name);emitClassDeclarationOrExpression(S)}function emitExpressionWithTypeArguments(S){emitExpression(S.expression);emitTypeArguments(S,S.typeArguments)}function emitAsExpression(S){emitExpression(S.expression);if(S.type){writeSpace();writeKeyword("as");writeSpace();emit(S.type)}}function emitNonNullExpression(S){emitExpression(S.expression);writeOperator("!")}function emitMetaProperty(S){writeToken(S.keywordToken,S.pos,writePunctuation);writePunctuation(".");emit(S.name)}function emitTemplateSpan(S){emitExpression(S.expression);emit(S.literal)}function emitBlock(S){emitBlockStatements(S,!S.multiLine&&isEmptyBlock(S))}function emitBlockStatements(E,k){emitTokenWithComment(18,E.pos,writePunctuation,E);var w=k||S.getEmitFlags(E)&1?768:129;emitList(E,E.statements,w);emitTokenWithComment(19,E.statements.end,writePunctuation,E,!!(w&1))}function emitVariableStatement(S){emitModifiers(S,S.modifiers);emit(S.declarationList);writeTrailingSemicolon()}function emitEmptyStatement(S){if(S){writePunctuation(";")}else{writeTrailingSemicolon()}}function emitExpressionStatement(E){emitExpression(E.expression);if(!S.isJsonSourceFile(Ie)||S.nodeIsSynthesized(E.expression)){writeTrailingSemicolon()}}function emitIfStatement(S){var E=emitTokenWithComment(95,S.pos,writeKeyword,S);writeSpace();emitTokenWithComment(20,E,writePunctuation,S);emitExpression(S.expression);emitTokenWithComment(21,S.expression.end,writePunctuation,S);emitEmbeddedStatement(S,S.thenStatement);if(S.elseStatement){writeLineOrSpace(S);emitTokenWithComment(87,S.thenStatement.end,writeKeyword,S);if(S.elseStatement.kind===227){writeSpace();emit(S.elseStatement)}else{emitEmbeddedStatement(S,S.elseStatement)}}}function emitWhileClause(S,E){var k=emitTokenWithComment(111,E,writeKeyword,S);writeSpace();emitTokenWithComment(20,k,writePunctuation,S);emitExpression(S.expression);emitTokenWithComment(21,S.expression.end,writePunctuation,S)}function emitDoStatement(E){emitTokenWithComment(86,E.pos,writeKeyword,E);emitEmbeddedStatement(E,E.statement);if(S.isBlock(E.statement)){writeSpace()}else{writeLineOrSpace(E)}emitWhileClause(E,E.statement.end);writeTrailingSemicolon()}function emitWhileStatement(S){emitWhileClause(S,S.pos);emitEmbeddedStatement(S,S.statement)}function emitForStatement(S){var E=emitTokenWithComment(93,S.pos,writeKeyword,S);writeSpace();var k=emitTokenWithComment(20,E,writePunctuation,S);emitForBinding(S.initializer);k=emitTokenWithComment(26,S.initializer?S.initializer.end:k,writePunctuation,S);emitExpressionWithLeadingSpace(S.condition);k=emitTokenWithComment(26,S.condition?S.condition.end:k,writePunctuation,S);emitExpressionWithLeadingSpace(S.incrementor);emitTokenWithComment(21,S.incrementor?S.incrementor.end:k,writePunctuation,S);emitEmbeddedStatement(S,S.statement)}function emitForInStatement(S){var E=emitTokenWithComment(93,S.pos,writeKeyword,S);writeSpace();emitTokenWithComment(20,E,writePunctuation,S);emitForBinding(S.initializer);writeSpace();emitTokenWithComment(97,S.initializer.end,writeKeyword,S);writeSpace();emitExpression(S.expression);emitTokenWithComment(21,S.expression.end,writePunctuation,S);emitEmbeddedStatement(S,S.statement)}function emitForOfStatement(S){var E=emitTokenWithComment(93,S.pos,writeKeyword,S);writeSpace();emitWithTrailingSpace(S.awaitModifier);emitTokenWithComment(20,E,writePunctuation,S);emitForBinding(S.initializer);writeSpace();emitTokenWithComment(152,S.initializer.end,writeKeyword,S);writeSpace();emitExpression(S.expression);emitTokenWithComment(21,S.expression.end,writePunctuation,S);emitEmbeddedStatement(S,S.statement)}function emitForBinding(S){if(S!==undefined){if(S.kind===243){emit(S)}else{emitExpression(S)}}}function emitContinueStatement(S){emitTokenWithComment(82,S.pos,writeKeyword,S);emitWithLeadingSpace(S.label);writeTrailingSemicolon()}function emitBreakStatement(S){emitTokenWithComment(77,S.pos,writeKeyword,S);emitWithLeadingSpace(S.label);writeTrailingSemicolon()}function emitTokenWithComment(E,k,w,N,j){var q=S.getParseTreeNode(N);var ee=q&&q.kind===N.kind;var te=k;if(ee&&Ie){k=S.skipTrivia(Ie.text,k)}if(emitLeadingCommentsOfPosition&&ee&&N.pos!==te){var ne=j&&Ie&&!S.positionsAreOnSameLine(te,k,Ie);if(ne){increaseIndent()}emitLeadingCommentsOfPosition(te);if(ne){decreaseIndent()}}k=writeTokenText(E,w,k);if(emitTrailingCommentsOfPosition&&ee&&N.end!==k){emitTrailingCommentsOfPosition(k,true)}return k}function emitReturnStatement(S){emitTokenWithComment(101,S.pos,writeKeyword,S);emitExpressionWithLeadingSpace(S.expression);writeTrailingSemicolon()}function emitWithStatement(S){var E=emitTokenWithComment(112,S.pos,writeKeyword,S);writeSpace();emitTokenWithComment(20,E,writePunctuation,S);emitExpression(S.expression);emitTokenWithComment(21,S.expression.end,writePunctuation,S);emitEmbeddedStatement(S,S.statement)}function emitSwitchStatement(S){var E=emitTokenWithComment(103,S.pos,writeKeyword,S);writeSpace();emitTokenWithComment(20,E,writePunctuation,S);emitExpression(S.expression);emitTokenWithComment(21,S.expression.end,writePunctuation,S);writeSpace();emit(S.caseBlock)}function emitLabeledStatement(S){emit(S.label);emitTokenWithComment(58,S.label.end,writePunctuation,S);writeSpace();emit(S.statement)}function emitThrowStatement(S){emitTokenWithComment(105,S.pos,writeKeyword,S);emitExpressionWithLeadingSpace(S.expression);writeTrailingSemicolon()}function emitTryStatement(S){emitTokenWithComment(107,S.pos,writeKeyword,S);writeSpace();emit(S.tryBlock);if(S.catchClause){writeLineOrSpace(S);emit(S.catchClause)}if(S.finallyBlock){writeLineOrSpace(S);emitTokenWithComment(92,(S.catchClause||S.tryBlock).end,writeKeyword,S);writeSpace();emit(S.finallyBlock)}}function emitDebuggerStatement(S){writeToken(83,S.pos,writeKeyword);writeTrailingSemicolon()}function emitVariableDeclaration(S){emit(S.name);emit(S.exclamationToken);emitTypeAnnotation(S.type);emitInitializer(S.initializer,S.type?S.type.end:S.name.end,S)}function emitVariableDeclarationList(E){writeKeyword(S.isLet(E)?"let":S.isVarConst(E)?"const":"var");writeSpace();emitList(E,E.declarations,528)}function emitFunctionDeclaration(S){emitFunctionDeclarationOrExpression(S)}function emitFunctionDeclarationOrExpression(S){emitDecorators(S,S.decorators);emitModifiers(S,S.modifiers);writeKeyword("function");emit(S.asteriskToken);writeSpace();emitIdentifierName(S.name);emitSignatureAndBody(S,emitSignatureHead)}function emitBlockCallback(S,E){emitBlockFunctionBody(E)}function emitSignatureAndBody(E,k){var w=E.body;if(w){if(S.isBlock(w)){var N=S.getEmitFlags(E)&65536;if(N){increaseIndent()}pushNameGenerationScope(E);S.forEach(E.parameters,generateNames);generateNames(E.body);k(E);if(q){q(4,w,emitBlockCallback)}else{emitBlockFunctionBody(w)}popNameGenerationScope(E);if(N){decreaseIndent()}}else{k(E);writeSpace();emitExpression(w)}}else{k(E);writeTrailingSemicolon()}}function emitSignatureHead(S){emitTypeParameters(S,S.typeParameters);emitParameters(S,S.parameters);emitTypeAnnotation(S.type)}function shouldEmitBlockFunctionBodyOnSingleLine(E){if(S.getEmitFlags(E)&1){return true}if(E.multiLine){return false}if(!S.nodeIsSynthesized(E)&&!S.rangeIsOnSingleLine(E,Ie)){return false}if(getLeadingLineTerminatorCount(E,E.statements,2)||getClosingLineTerminatorCount(E,E.statements,2)){return false}var k;for(var w=0,N=E.statements;w0){return false}k=j}return true}function emitBlockFunctionBody(S){writeSpace();writePunctuation("{");increaseIndent();var E=shouldEmitBlockFunctionBodyOnSingleLine(S)?emitBlockFunctionBodyOnSingleLine:emitBlockFunctionBodyWorker;if(emitBodyWithDetachedComments){emitBodyWithDetachedComments(S,S.statements,E)}else{E(S)}decreaseIndent();writeToken(19,S.statements.end,writePunctuation,S)}function emitBlockFunctionBodyOnSingleLine(S){emitBlockFunctionBodyWorker(S,true)}function emitBlockFunctionBodyWorker(S,E){var k=emitPrologueDirectives(S.statements);var w=Ue.getTextPos();emitHelpers(S);if(k===0&&w===Ue.getTextPos()&&E){decreaseIndent();emitList(S,S.statements,768);increaseIndent()}else{emitList(S,S.statements,1,k)}}function emitClassDeclaration(S){emitClassDeclarationOrExpression(S)}function emitClassDeclarationOrExpression(E){S.forEach(E.members,generateMemberNames);emitDecorators(E,E.decorators);emitModifiers(E,E.modifiers);writeKeyword("class");if(E.name){writeSpace();emitIdentifierName(E.name)}var k=S.getEmitFlags(E)&65536;if(k){increaseIndent()}emitTypeParameters(E,E.typeParameters);emitList(E,E.heritageClauses,0);writeSpace();writePunctuation("{");emitList(E,E.members,129);writePunctuation("}");if(k){decreaseIndent()}}function emitInterfaceDeclaration(S){emitDecorators(S,S.decorators);emitModifiers(S,S.modifiers);writeKeyword("interface");writeSpace();emit(S.name);emitTypeParameters(S,S.typeParameters);emitList(S,S.heritageClauses,512);writeSpace();writePunctuation("{");emitList(S,S.members,129);writePunctuation("}")}function emitTypeAliasDeclaration(S){emitDecorators(S,S.decorators);emitModifiers(S,S.modifiers);writeKeyword("type");writeSpace();emit(S.name);emitTypeParameters(S,S.typeParameters);writeSpace();writePunctuation("=");writeSpace();emit(S.type);writeTrailingSemicolon()}function emitEnumDeclaration(S){emitModifiers(S,S.modifiers);writeKeyword("enum");writeSpace();emit(S.name);writeSpace();writePunctuation("{");emitList(S,S.members,145);writePunctuation("}")}function emitModuleDeclaration(S){emitModifiers(S,S.modifiers);if(~S.flags&1024){writeKeyword(S.flags&16?"namespace":"module");writeSpace()}emit(S.name);var E=S.body;if(!E)return writeTrailingSemicolon();while(E.kind===249){writePunctuation(".");emit(E.name);E=E.body}writeSpace();emit(E)}function emitModuleBlock(E){pushNameGenerationScope(E);S.forEach(E.statements,generateNames);emitBlockStatements(E,isEmptyBlock(E));popNameGenerationScope(E)}function emitCaseBlock(S){emitTokenWithComment(18,S.pos,writePunctuation,S);emitList(S,S.clauses,129);emitTokenWithComment(19,S.clauses.end,writePunctuation,S,true)}function emitImportEqualsDeclaration(S){emitModifiers(S,S.modifiers);emitTokenWithComment(96,S.modifiers?S.modifiers.end:S.pos,writeKeyword,S);writeSpace();emit(S.name);writeSpace();emitTokenWithComment(62,S.name.end,writePunctuation,S);writeSpace();emitModuleReference(S.moduleReference);writeTrailingSemicolon()}function emitModuleReference(S){if(S.kind===75){emitExpression(S)}else{emit(S)}}function emitImportDeclaration(S){emitModifiers(S,S.modifiers);emitTokenWithComment(96,S.modifiers?S.modifiers.end:S.pos,writeKeyword,S);writeSpace();if(S.importClause){emit(S.importClause);writeSpace();emitTokenWithComment(149,S.importClause.end,writeKeyword,S);writeSpace()}emitExpression(S.moduleSpecifier);writeTrailingSemicolon()}function emitImportClause(S){if(S.isTypeOnly){emitTokenWithComment(145,S.pos,writeKeyword,S);writeSpace()}emit(S.name);if(S.name&&S.namedBindings){emitTokenWithComment(27,S.name.end,writePunctuation,S);writeSpace()}emit(S.namedBindings)}function emitNamespaceImport(S){var E=emitTokenWithComment(41,S.pos,writePunctuation,S);writeSpace();emitTokenWithComment(123,E,writeKeyword,S);writeSpace();emit(S.name)}function emitNamedImports(S){emitNamedImportsOrExports(S)}function emitImportSpecifier(S){emitImportOrExportSpecifier(S)}function emitExportAssignment(S){var E=emitTokenWithComment(89,S.pos,writeKeyword,S);writeSpace();if(S.isExportEquals){emitTokenWithComment(62,E,writeOperator,S)}else{emitTokenWithComment(84,E,writeKeyword,S)}writeSpace();emitExpression(S.expression);writeTrailingSemicolon()}function emitExportDeclaration(S){var E=emitTokenWithComment(89,S.pos,writeKeyword,S);writeSpace();if(S.isTypeOnly){E=emitTokenWithComment(145,E,writeKeyword,S);writeSpace()}if(S.exportClause){emit(S.exportClause)}else{E=emitTokenWithComment(41,E,writePunctuation,S)}if(S.moduleSpecifier){writeSpace();var k=S.exportClause?S.exportClause.end:E;emitTokenWithComment(149,k,writeKeyword,S);writeSpace();emitExpression(S.moduleSpecifier)}writeTrailingSemicolon()}function emitNamespaceExportDeclaration(S){var E=emitTokenWithComment(89,S.pos,writeKeyword,S);writeSpace();E=emitTokenWithComment(123,E,writeKeyword,S);writeSpace();E=emitTokenWithComment(136,E,writeKeyword,S);writeSpace();emit(S.name);writeTrailingSemicolon()}function emitNamespaceExport(S){var E=emitTokenWithComment(41,S.pos,writePunctuation,S);writeSpace();emitTokenWithComment(123,E,writeKeyword,S);writeSpace();emit(S.name)}function emitNamedExports(S){emitNamedImportsOrExports(S)}function emitExportSpecifier(S){emitImportOrExportSpecifier(S)}function emitNamedImportsOrExports(S){writePunctuation("{");emitList(S,S.elements,525136);writePunctuation("}")}function emitImportOrExportSpecifier(S){if(S.propertyName){emit(S.propertyName);writeSpace();emitTokenWithComment(123,S.propertyName.end,writeKeyword,S);writeSpace()}emit(S.name)}function emitExternalModuleReference(S){writeKeyword("require");writePunctuation("(");emitExpression(S.expression);writePunctuation(")")}function emitJsxElement(S){emit(S.openingElement);emitList(S,S.children,262144);emit(S.closingElement)}function emitJsxSelfClosingElement(S){writePunctuation("<");emitJsxTagName(S.tagName);emitTypeArguments(S,S.typeArguments);writeSpace();emit(S.attributes);writePunctuation("/>")}function emitJsxFragment(S){emit(S.openingFragment);emitList(S,S.children,262144);emit(S.closingFragment)}function emitJsxOpeningElementOrFragment(E){writePunctuation("<");if(S.isJsxOpeningElement(E)){var k=writeLineSeparatorsAndIndentBefore(E.tagName,E);emitJsxTagName(E.tagName);emitTypeArguments(E,E.typeArguments);if(E.attributes.properties&&E.attributes.properties.length>0){writeSpace()}emit(E.attributes);writeLineSeparatorsAfter(E.attributes,E);decreaseIndentIf(k)}writePunctuation(">")}function emitJsxText(S){Ue.writeLiteral(S.text)}function emitJsxClosingElementOrFragment(E){writePunctuation("")}function emitJsxAttributes(S){emitList(S,S.properties,262656)}function emitJsxAttribute(S){emit(S.name);emitNodeWithPrefix("=",writePunctuation,S.initializer,emitJsxAttributeValue)}function emitJsxSpreadAttribute(S){writePunctuation("{...");emitExpression(S.expression);writePunctuation("}")}function emitJsxExpression(S){if(S.expression){writePunctuation("{");emit(S.dotDotDotToken);emitExpression(S.expression);writePunctuation("}")}}function emitJsxTagName(S){if(S.kind===75){emitExpression(S)}else{emit(S)}}function emitCaseClause(S){emitTokenWithComment(78,S.pos,writeKeyword,S);writeSpace();emitExpression(S.expression);emitCaseOrDefaultClauseRest(S,S.statements,S.expression.end)}function emitDefaultClause(S){var E=emitTokenWithComment(84,S.pos,writeKeyword,S);emitCaseOrDefaultClauseRest(S,S.statements,E)}function emitCaseOrDefaultClauseRest(E,k,w){var N=k.length===1&&(S.nodeIsSynthesized(E)||S.nodeIsSynthesized(k[0])||S.rangeStartPositionsAreOnSameLine(E,k[0],Ie));var j=163969;if(N){writeToken(58,w,writePunctuation,E);writeSpace();j&=~(1|128)}else{emitTokenWithComment(58,w,writePunctuation,E)}emitList(E,k,j)}function emitHeritageClause(S){writeSpace();writeTokenText(S.token,writeKeyword);writeSpace();emitList(S,S.types,528)}function emitCatchClause(S){var E=emitTokenWithComment(79,S.pos,writeKeyword,S);writeSpace();if(S.variableDeclaration){emitTokenWithComment(20,E,writePunctuation,S);emit(S.variableDeclaration);emitTokenWithComment(21,S.variableDeclaration.end,writePunctuation,S);writeSpace()}emit(S.block)}function emitPropertyAssignment(E){emit(E.name);writePunctuation(":");writeSpace();var k=E.initializer;if(emitTrailingCommentsOfPosition&&(S.getEmitFlags(k)&512)===0){var w=S.getCommentRange(k);emitTrailingCommentsOfPosition(w.pos)}emitExpression(k)}function emitShorthandPropertyAssignment(S){emit(S.name);if(S.objectAssignmentInitializer){writeSpace();writePunctuation("=");writeSpace();emitExpression(S.objectAssignmentInitializer)}}function emitSpreadAssignment(S){if(S.expression){emitTokenWithComment(25,S.pos,writePunctuation,S);emitExpression(S.expression)}}function emitEnumMember(S){emit(S.name);emitInitializer(S.initializer,S.name.end,S)}function emitJSDoc(S){$e("/**");if(S.comment){var E=S.comment.split(/\r\n?|\n/g);for(var k=0,w=E;k');if(Ve)Ve.sections.push({pos:N,end:Ue.getTextPos(),kind:"no-default-lib"});writeLine()}if(Ie&&Ie.moduleName){writeComment('/// ');writeLine()}if(Ie&&Ie.amdDependencies){for(var j=0,q=Ie.amdDependencies;j')}else{writeComment('/// ')}writeLine()}}for(var te=0,ne=E;te');if(Ve)Ve.sections.push({pos:N,end:Ue.getTextPos(),kind:"reference",data:ae.fileName});writeLine()}for(var _e=0,ve=k;_e');if(Ve)Ve.sections.push({pos:N,end:Ue.getTextPos(),kind:"type",data:ae.fileName});writeLine()}for(var Ee=0,Te=w;Ee');if(Ve)Ve.sections.push({pos:N,end:Ue.getTextPos(),kind:"lib",data:ae.fileName});writeLine()}}function emitSourceFileWorker(E){var k=E.statements;pushNameGenerationScope(E);S.forEach(E.statements,generateNames);emitHelpers(E);var w=S.findIndex(k,(function(E){return!S.isPrologueDirective(E)}));emitTripleSlashDirectivesIfNeeded(E);emitList(E,k,1,w===-1?k.length:w);popNameGenerationScope(E)}function emitPartiallyEmittedExpression(S){emitExpression(S.expression)}function emitCommaList(S){emitExpressionList(S,S.elements,528)}function emitPrologueDirectives(E,k,w,N){var j=!!k;for(var q=0;q=w.length||q===0;if(te&&N&32768){if(ae){ae(w)}if(_e){_e(w)}return}if(N&15360){writePunctuation(getOpeningBracket(N));if(te&&!ee){emitTrailingCommentsOfPosition(w.pos,true)}}if(ae){ae(w)}if(te){if(N&1&&!(ze&&S.rangeIsOnSingleLine(k,Ie))){writeLine()}else if(N&256&&!(N&524288)){writeSpace()}}else{var ne=(N&262144)===0;var ve=ne;var Ee=getLeadingLineTerminatorCount(k,w,N);if(Ee){writeLine(Ee);ve=false}else if(N&256){writeSpace()}if(N&128){increaseIndent()}var Te=void 0;var Ce=void 0;var we=false;for(var Ne=0;Ne0){if((N&(3|128))===0){increaseIndent();we=true}writeLine(Oe);ve=false}else if(Te&&N&512){writeSpace()}}Ce=recordBundleFileInternalSectionStart(Fe);if(ve){if(emitTrailingCommentsOfPosition){var Me=S.getCommentRange(Fe);emitTrailingCommentsOfPosition(Me.pos)}}else{ve=ne}E(Fe);if(we){decreaseIndent();we=false}Te=Fe}var Re=N&64&&w.hasTrailingComma;if(N&16&&Re){writePunctuation(",")}if(Te&&N&60&&Te.end!==k.end&&!(S.getEmitFlags(Te)&1024)){emitLeadingCommentsOfPosition(Te.end)}if(N&128){decreaseIndent()}recordBundleFileInternalSectionEnd(Ce);var Le=getClosingLineTerminatorCount(k,w,N);if(Le){writeLine(Le)}else if(N&(2097152|256)){writeSpace()}}if(_e){_e(w)}if(N&15360){if(te&&!ee){emitLeadingCommentsOfPosition(w.end)}writePunctuation(getClosingBracket(N))}}function writeLiteral(S){Ue.writeLiteral(S)}function writeStringLiteral(S){Ue.writeStringLiteral(S)}function writeBase(S){Ue.write(S)}function writeSymbol(S,E){Ue.writeSymbol(S,E)}function writePunctuation(S){Ue.writePunctuation(S)}function writeTrailingSemicolon(){Ue.writeTrailingSemicolon(";")}function writeKeyword(S){Ue.writeKeyword(S)}function writeOperator(S){Ue.writeOperator(S)}function writeParameter(S){Ue.writeParameter(S)}function writeComment(S){Ue.writeComment(S)}function writeSpace(){Ue.writeSpace(" ")}function writeProperty(S){Ue.writeProperty(S)}function writeLine(S){if(S===void 0){S=1}for(var E=0;E0)}}function increaseIndent(){Ue.increaseIndent()}function decreaseIndent(){Ue.decreaseIndent()}function writeToken(S,E,k,w){return!Qe?emitTokenWithSourceMap(w,S,k,E,writeTokenText):writeTokenText(S,k,E)}function writeTokenNode(E,k){if(ve){ve(E)}k(S.tokenToString(E.kind));if(Ee){Ee(E)}}function writeTokenText(E,k,w){var N=S.tokenToString(E);k(N);return w<0?w:w+N.length}function writeLineOrSpace(E){if(S.getEmitFlags(E)&1){writeSpace()}else{writeLine()}}function writeLines(E){var k=E.split(/\r\n?|\n/g);var w=S.guessIndentation(k);for(var N=0,j=k;N0||q>0)&&j!==q){if(!te){emitLeadingComments(j,ee)}if(!te||j>=0&&(w&512)!==0){et=j}if(!ne||q>=0&&(w&1024)!==0){tt=q;if(k.kind===243){rt=q}}}S.forEach(S.getSyntheticLeadingComments(k),emitLeadingSynthesizedComment);ft();var Ee=getNextPipelinePhase(2,E,k);if(w&2048){st=true;Ee(E,k);st=false}else{Ee(E,k)}pt();S.forEach(S.getSyntheticTrailingComments(k),emitTrailingSynthesizedComment);if((j>0||q>0)&&j!==q){et=ae;tt=_e;rt=ve;if(!ne&&ee){emitTrailingComments(q)}}ft();S.Debug.assert(ct===k||ut===k)}function emitLeadingSynthesizedComment(S){if(S.kind===2){Ue.writeLine()}writeSynthesizedComment(S);if(S.hasTrailingNewLine||S.kind===2){Ue.writeLine()}else{Ue.writeSpace(" ")}}function emitTrailingSynthesizedComment(S){if(!Ue.isAtStartOfLine()){Ue.writeSpace(" ")}writeSynthesizedComment(S);if(S.hasTrailingNewLine){Ue.writeLine()}}function writeSynthesizedComment(E){var k=formatSynthesizedComment(E);var w=E.kind===3?S.computeLineStarts(k):undefined;S.writeCommentRange(k,w,Ue,0,k.length,Ce)}function formatSynthesizedComment(S){return S.kind===3?"/*"+S.text+"*/":"//"+S.text}function emitBodyWithDetachedComments(E,k,w){pt();var N=k.pos,j=k.end;var q=S.getEmitFlags(E);var ee=N<0||(q&512)!==0;var te=st||j<0||(q&1024)!==0;if(!ee){emitDetachedCommentsAndUpdateCommentsInfo(k)}ft();if(q&2048&&!st){st=true;w(E);st=false}else{w(E)}pt();if(!te){emitLeadingComments(k.end,true);if(ot&&!Ue.isAtStartOfLine()){Ue.writeLine()}}ft()}function emitLeadingComments(S,E){ot=false;if(E){forEachLeadingCommentToEmit(S,emitLeadingComment)}else if(S===0){forEachLeadingCommentToEmit(S,emitTripleSlashLeadingComment)}}function emitTripleSlashLeadingComment(S,E,k,w,N){if(isTripleSlashComment(S,E)){emitLeadingComment(S,E,k,w,N)}}function shouldWriteComment(k,w){if(E.onlyPrintJsDocStyle){return S.isJSDocLikeText(k,w)||S.isPinnedComment(k,w)}return true}function emitLeadingComment(E,k,w,N,j){if(!shouldWriteComment(Ie.text,E))return;if(!ot){S.emitNewLineBeforeLeadingCommentOfPosition(getCurrentLineMap(),Ue,j,E);ot=true}emitPos(E);S.writeCommentRange(Ie.text,getCurrentLineMap(),Ue,E,k,Ce);emitPos(k);if(N){Ue.writeLine()}else if(w===3){Ue.writeSpace(" ")}}function emitLeadingCommentsOfPosition(S){if(st||S===-1){return}emitLeadingComments(S,true)}function emitTrailingComments(S){forEachTrailingCommentToEmit(S,emitTrailingComment)}function emitTrailingComment(E,k,w,N){if(!shouldWriteComment(Ie.text,E))return;if(!Ue.isAtStartOfLine()){Ue.writeSpace(" ")}emitPos(E);S.writeCommentRange(Ie.text,getCurrentLineMap(),Ue,E,k,Ce);emitPos(k);if(N){Ue.writeLine()}}function emitTrailingCommentsOfPosition(S,E){if(st){return}pt();forEachTrailingCommentToEmit(S,E?emitTrailingComment:emitTrailingCommentOfPosition);ft()}function emitTrailingCommentOfPosition(E,k,w,N){emitPos(E);S.writeCommentRange(Ie.text,getCurrentLineMap(),Ue,E,k,Ce);emitPos(k);if(N){Ue.writeLine()}else{Ue.writeSpace(" ")}}function forEachLeadingCommentToEmit(E,k){if(Ie&&(et===-1||E!==et)){if(hasDetachedComments(E)){forEachLeadingCommentWithoutDetachedComments(k)}else{S.forEachLeadingCommentRange(Ie.text,E,k,E)}}}function forEachTrailingCommentToEmit(E,k){if(Ie&&(tt===-1||E!==tt&&E!==rt)){S.forEachTrailingCommentRange(Ie.text,E,k)}}function hasDetachedComments(E){return it!==undefined&&S.last(it).nodePos===E}function forEachLeadingCommentWithoutDetachedComments(E){var k=S.last(it).detachedCommentEndPos;if(it.length-1){it.pop()}else{it=undefined}S.forEachLeadingCommentRange(Ie.text,k,E,k)}function emitDetachedCommentsAndUpdateCommentsInfo(E){var k=S.emitDetachedComments(Ie.text,getCurrentLineMap(),Ue,emitComment,E,Ce,st);if(k){if(it){it.push(k)}else{it=[k]}}}function emitComment(E,k,w,N,j,q){if(!shouldWriteComment(Ie.text,N))return;emitPos(N);S.writeCommentRange(E,k,w,N,j,q);emitPos(j)}function isTripleSlashComment(E,k){return S.isRecognizedTripleSlashComment(Ie.text,E,k)}function getParsedSourceMap(E){if(E.parsedSourceMap===undefined&&E.sourceMapText!==undefined){E.parsedSourceMap=S.tryParseRawSourceMap(E.sourceMapText)||false}return E.parsedSourceMap||undefined}function pipelineEmitWithSourceMap(E,k){S.Debug.assert(ct===k||ut===k);var w=getNextPipelinePhase(3,E,k);if(S.isUnparsedSource(k)||S.isUnparsedPrepend(k)){w(E,k)}else if(S.isUnparsedNode(k)){var N=getParsedSourceMap(k.parent);if(N&&Xe){Xe.appendSourceMap(Ue.getLine(),Ue.getColumn(),N,k.parent.sourceMapPath,k.parent.getLineAndCharacterOfPosition(k.pos),k.parent.getLineAndCharacterOfPosition(k.end))}w(E,k)}else{var j=S.getSourceMapRange(k),q=j.pos,ee=j.end,te=j.source,ne=te===void 0?Ye:te;var ae=S.getEmitFlags(k);if(k.kind!==325&&(ae&16)===0&&q>=0){emitSourcePos(ne,skipSourceTrivia(ne,q))}if(ae&64){Qe=true;w(E,k);Qe=false}else{w(E,k)}if(k.kind!==325&&(ae&32)===0&&ee>=0){emitSourcePos(ne,ee)}}S.Debug.assert(ct===k||ut===k)}function skipSourceTrivia(E,k){return E.skipTrivia?E.skipTrivia(k):S.skipTrivia(E.text,k)}function emitPos(E){if(Qe||S.positionIsSynthesized(E)||isJsonSourceMapSource(Ye)){return}var k=S.getLineAndCharacterOfPosition(Ye,E),w=k.line,N=k.character;Xe.addMapping(Ue.getLine(),Ue.getColumn(),Ze,w,N,undefined)}function emitSourcePos(S,E){if(S!==Ye){var k=Ye;setSourceMapSource(S);emitPos(E);setSourceMapSource(k)}else{emitPos(E)}}function emitTokenWithSourceMap(E,k,w,N,j){if(Qe||E&&S.isInJsonFile(E)){return j(k,w,N)}var q=E&&E.emitNode;var ee=q&&q.flags||0;var te=q&&q.tokenSourceMapRanges&&q.tokenSourceMapRanges[k];var ne=te&&te.source||Ye;N=skipSourceTrivia(ne,te?te.pos:N);if((ee&128)===0&&N>=0){emitSourcePos(ne,N)}N=j(k,w,N);if(te)N=te.end;if((ee&256)===0&&N>=0){emitSourcePos(ne,N)}return N}function setSourceMapSource(S){if(Qe){return}Ye=S;if(isJsonSourceMapSource(S)){return}Ze=Xe.addSource(S.fileName);if(E.inlineSources){Xe.setSourceContent(Ze,S.text)}}function isJsonSourceMapSource(E){return S.fileExtensionIs(E.fileName,".json")}}S.createPrinter=createPrinter;function createBracketsMap(){var S=[];S[1024]=["{","}"];S[2048]=["(",")"];S[4096]=["<",">"];S[8192]=["[","]"];return S}function getOpeningBracket(S){return E[S&15360][0]}function getClosingBracket(S){return E[S&15360][1]}var j;(function(S){S[S["Auto"]=0]="Auto";S[S["CountMask"]=268435455]="CountMask";S[S["_i"]=268435456]="_i"})(j||(j={}))})(ne||(ne={}));var ne;(function(S){function createCachedDirectoryStructureHost(E,k,w){if(!E.getDirectories||!E.readDirectory){return undefined}var N=S.createMap();var j=S.createGetCanonicalFileName(w);return{useCaseSensitiveFileNames:w,fileExists:fileExists,readFile:function(S,k){return E.readFile(S,k)},directoryExists:E.directoryExists&&directoryExists,getDirectories:getDirectories,readDirectory:readDirectory,createDirectory:E.createDirectory&&createDirectory,writeFile:E.writeFile&&writeFile,addOrDeleteFileOrDirectory:addOrDeleteFileOrDirectory,addOrDeleteFile:addOrDeleteFile,clearCache:clearCache,realpath:E.realpath&&realpath};function toPath(E){return S.toPath(E,k,j)}function getCachedFileSystemEntries(E){return N.get(S.ensureTrailingDirectorySeparator(E))}function getCachedFileSystemEntriesForBaseDir(E){return getCachedFileSystemEntries(S.getDirectoryPath(E))}function getBaseNameOfFileName(E){return S.getBaseFileName(S.normalizePath(E))}function createCachedFileSystemEntries(k,w){var j={files:S.map(E.readDirectory(k,undefined,undefined,["*.*"]),getBaseNameOfFileName)||[],directories:E.getDirectories(k)||[]};N.set(S.ensureTrailingDirectorySeparator(w),j);return j}function tryReadDirectory(E,k){k=S.ensureTrailingDirectorySeparator(k);var w=getCachedFileSystemEntries(k);if(w){return w}try{return createCachedFileSystemEntries(E,k)}catch(E){S.Debug.assert(!N.has(S.ensureTrailingDirectorySeparator(k)));return undefined}}function fileNameEqual(S,E){return j(S)===j(E)}function hasEntry(E,k){return S.some(E,(function(S){return fileNameEqual(S,k)}))}function updateFileSystemEntry(E,k,w){if(hasEntry(E,k)){if(!w){return S.filterMutate(E,(function(S){return!fileNameEqual(S,k)}))}}else if(w){return E.push(k)}}function writeFile(S,k,w){var N=toPath(S);var j=getCachedFileSystemEntriesForBaseDir(N);if(j){updateFilesOfFileSystemEntry(j,getBaseNameOfFileName(S),true)}return E.writeFile(S,k,w)}function fileExists(S){var k=toPath(S);var w=getCachedFileSystemEntriesForBaseDir(k);return w&&hasEntry(w.files,getBaseNameOfFileName(S))||E.fileExists(S)}function directoryExists(k){var w=toPath(k);return N.has(S.ensureTrailingDirectorySeparator(w))||E.directoryExists(k)}function createDirectory(S){var k=toPath(S);var w=getCachedFileSystemEntriesForBaseDir(k);var N=getBaseNameOfFileName(S);if(w){updateFileSystemEntry(w.directories,N,true)}E.createDirectory(S)}function getDirectories(S){var k=toPath(S);var w=tryReadDirectory(S,k);if(w){return w.directories.slice()}return E.getDirectories(S)}function readDirectory(N,j,q,ee,te){var ne=toPath(N);var ae=tryReadDirectory(N,ne);if(ae){return S.matchFiles(N,j,q,ee,w,k,te,getFileSystemEntries,realpath)}return E.readDirectory(N,j,q,ee,te);function getFileSystemEntries(E){var k=toPath(E);if(k===ne){return ae}return tryReadDirectory(E,k)||S.emptyFileSystemEntries}}function realpath(S){return E.realpath?E.realpath(S):S}function addOrDeleteFileOrDirectory(S,k){var w=getCachedFileSystemEntries(k);if(w){clearCache();return undefined}var N=getCachedFileSystemEntriesForBaseDir(k);if(!N){return undefined}if(!E.directoryExists){clearCache();return undefined}var j=getBaseNameOfFileName(S);var q={fileExists:E.fileExists(k),directoryExists:E.directoryExists(k)};if(q.directoryExists||hasEntry(N.directories,j)){clearCache()}else{updateFilesOfFileSystemEntry(N,j,q.fileExists)}return q}function addOrDeleteFile(E,k,w){if(w===S.FileWatcherEventKind.Changed){return}var N=getCachedFileSystemEntriesForBaseDir(k);if(N){updateFilesOfFileSystemEntry(N,getBaseNameOfFileName(E),w===S.FileWatcherEventKind.Created)}}function updateFilesOfFileSystemEntry(S,E,k){updateFileSystemEntry(S.files,E,k)}function clearCache(){N.clear()}}S.createCachedDirectoryStructureHost=createCachedDirectoryStructureHost;var E;(function(S){S[S["None"]=0]="None";S[S["Partial"]=1]="Partial";S[S["Full"]=2]="Full"})(E=S.ConfigFileProgramReloadLevel||(S.ConfigFileProgramReloadLevel={}));function updateMissingFilePathsWatch(E,k,w){var N=E.getMissingFilePaths();var j=S.arrayToSet(N);S.mutateMap(k,j,{createNewValue:w,onDeleteValue:S.closeFileWatcher})}S.updateMissingFilePathsWatch=updateMissingFilePathsWatch;function updateWatchingWildcardDirectories(E,k,w){S.mutateMap(E,k,{createNewValue:createWildcardDirectoryWatcher,onDeleteValue:closeFileWatcherOf,onExistingValue:updateWildcardDirectoryWatcher});function createWildcardDirectoryWatcher(S,E){return{watcher:w(S,E),flags:E}}function updateWildcardDirectoryWatcher(S,k,w){if(S.flags===k){return}S.watcher.close();E.set(w,createWildcardDirectoryWatcher(w,k))}}S.updateWatchingWildcardDirectories=updateWatchingWildcardDirectories;function isEmittedFileOfProgram(S,E){if(!S){return false}return S.isEmittedFile(E)}S.isEmittedFileOfProgram=isEmittedFileOfProgram;var k;(function(S){S[S["None"]=0]="None";S[S["TriggerOnly"]=1]="TriggerOnly";S[S["Verbose"]=2]="Verbose"})(k=S.WatchLogLevel||(S.WatchLogLevel={}));function getWatchFactory(S,E,k){return getWatchFactoryWith(S,E,k,watchFile,watchDirectory)}S.getWatchFactory=getWatchFactory;function getWatchFactoryWith(E,w,N,j,q){var ee=getCreateFileWatcher(E,j);var te=E===k.None?watchFilePath:ee;var ne=getCreateFileWatcher(E,q);if(E===k.Verbose&&S.sysLog===S.noop){S.setSysLog((function(S){return w(S)}))}return{watchFile:function(S,E,k,q,te,ne,ae){return ee(S,E,k,q,te,undefined,ne,ae,j,w,"FileWatcher",N)},watchFilePath:function(S,E,k,q,ee,ne,ae,_e){return te(S,E,k,q,ee,ne,ae,_e,j,w,"FileWatcher",N)},watchDirectory:function(S,E,k,j,ee,te,ae){return ne(S,E,k,j,ee,undefined,te,ae,q,w,"DirectoryWatcher",N)}}}function watchFile(S,E,k,w,N){return S.watchFile(E,k,w,N)}function watchFilePath(S,E,k,w,N,j){return watchFile(S,E,(function(S,E){return k(S,E,j)}),w,N)}function watchDirectory(S,E,k,w,N){return S.watchDirectory(E,k,(w&1)!==0,N)}function getCreateFileWatcher(S,E){switch(S){case k.None:return E;case k.TriggerOnly:return createFileWatcherWithTriggerLogging;case k.Verbose:return E===watchDirectory?createDirectoryWatcherWithLogging:createFileWatcherWithLogging}}function createFileWatcherWithLogging(S,E,k,w,N,j,q,ee,te,ne,ae,_e){ne(ae+":: Added:: "+getWatchInfo(E,w,N,q,ee,_e));var ve=createFileWatcherWithTriggerLogging(S,E,k,w,N,j,q,ee,te,ne,ae,_e);return{close:function(){ne(ae+":: Close:: "+getWatchInfo(E,w,N,q,ee,_e));ve.close()}}}function createDirectoryWatcherWithLogging(E,k,w,N,j,q,ee,te,ne,ae,_e,ve){var Ee=_e+":: Added:: "+getWatchInfo(k,N,j,ee,te,ve);ae(Ee);var Te=S.timestamp();var Ce=createFileWatcherWithTriggerLogging(E,k,w,N,j,q,ee,te,ne,ae,_e,ve);var we=S.timestamp()-Te;ae("Elapsed:: "+we+"ms "+Ee);return{close:function(){var E=_e+":: Close:: "+getWatchInfo(k,N,j,ee,te,ve);ae(E);var w=S.timestamp();Ce.close();var q=S.timestamp()-w;ae("Elapsed:: "+q+"ms "+E)}}}function createFileWatcherWithTriggerLogging(E,k,w,N,j,q,ee,te,ne,ae,_e,ve){return ne(E,k,(function(E,ne){var Ee=_e+":: Triggered with "+E+" "+(ne!==undefined?ne:"")+":: "+getWatchInfo(k,N,j,ee,te,ve);ae(Ee);var Te=S.timestamp();w(E,ne,q);var Ce=S.timestamp()-Te;ae("Elapsed:: "+Ce+"ms "+Ee)}),N,j)}function getFallbackOptions(E){var k=E===null||E===void 0?void 0:E.fallbackPolling;return{watchFile:k!==undefined?k:S.WatchFileKind.PriorityPollingInterval}}S.getFallbackOptions=getFallbackOptions;function getWatchInfo(S,E,k,w,N,j){return"WatchInfo: "+S+" "+E+" "+JSON.stringify(k)+" "+(j?j(w,N):N===undefined?w:w+" "+N)}function closeFileWatcherOf(S){S.watcher.close()}S.closeFileWatcherOf=closeFileWatcherOf})(ne||(ne={}));var ne;(function(S){function findConfigFile(E,k,w){if(w===void 0){w="tsconfig.json"}return S.forEachAncestorDirectory(E,(function(E){var N=S.combinePaths(E,w);return k(N)?N:undefined}))}S.findConfigFile=findConfigFile;function resolveTripleslashReference(E,k){var w=S.getDirectoryPath(k);var N=S.isRootedDiskPath(E)?E:S.combinePaths(w,E);return S.normalizePath(N)}S.resolveTripleslashReference=resolveTripleslashReference;function computeCommonSourceDirectoryOfFilenames(E,k,w){var N;var j=S.forEach(E,(function(E){var j=S.getNormalizedPathComponents(E,k);j.pop();if(!N){N=j;return}var q=Math.min(N.length,j.length);for(var ee=0;ee=4;var Fe=(Ce+1+"").length;if(Ie){Fe=Math.max(q.length,Fe)}var Oe="";for(var Me=ve;Me<=Ce;Me++){Oe+=ae.getNewLine();if(Ie&&ve+1=0){if(k.markUsed(q)){return q}var ee=w.text.slice(j[q],j[q+1]).trim();if(ee!==""&&!/^(\s*)\/\/(.*)$/.test(ee)){return-1}q--}return-1}function getJSSyntacticDiagnosticsForFile(E){return runWithCancellationToken((function(){var k=[];walk(E,E);S.forEachChildRecursively(E,walk,walkArray);return k;function walk(E,w){switch(w.kind){case 156:case 159:case 161:if(w.questionToken===E){k.push(createDiagnosticForNode(E,S.Diagnostics.The_0_modifier_can_only_be_used_in_TypeScript_files,"?"));return"skip"}case 160:case 162:case 163:case 164:case 201:case 244:case 202:case 242:if(w.type===E){k.push(createDiagnosticForNode(E,S.Diagnostics.Type_annotations_can_only_be_used_in_TypeScript_files));return"skip"}}switch(E.kind){case 255:if(E.isTypeOnly){k.push(createDiagnosticForNode(E.parent,S.Diagnostics._0_declarations_can_only_be_used_in_TypeScript_files,"import type"));return"skip"}break;case 260:if(E.isTypeOnly){k.push(createDiagnosticForNode(E,S.Diagnostics._0_declarations_can_only_be_used_in_TypeScript_files,"export type"));return"skip"}break;case 253:k.push(createDiagnosticForNode(E,S.Diagnostics.import_can_only_be_used_in_TypeScript_files));return"skip";case 259:if(E.isExportEquals){k.push(createDiagnosticForNode(E,S.Diagnostics.export_can_only_be_used_in_TypeScript_files));return"skip"}break;case 279:var N=E;if(N.token===113){k.push(createDiagnosticForNode(E,S.Diagnostics.implements_clauses_can_only_be_used_in_TypeScript_files));return"skip"}break;case 246:var j=S.tokenToString(114);S.Debug.assertIsDefined(j);k.push(createDiagnosticForNode(E,S.Diagnostics._0_declarations_can_only_be_used_in_TypeScript_files,j));return"skip";case 249:var q=E.flags&16?S.tokenToString(136):S.tokenToString(135);S.Debug.assertIsDefined(q);k.push(createDiagnosticForNode(E,S.Diagnostics._0_declarations_can_only_be_used_in_TypeScript_files,q));return"skip";case 247:k.push(createDiagnosticForNode(E,S.Diagnostics.Type_aliases_can_only_be_used_in_TypeScript_files));return"skip";case 248:var ee=S.Debug.checkDefined(S.tokenToString(88));k.push(createDiagnosticForNode(E,S.Diagnostics._0_declarations_can_only_be_used_in_TypeScript_files,ee));return"skip";case 218:k.push(createDiagnosticForNode(E,S.Diagnostics.Non_null_assertions_can_only_be_used_in_TypeScript_files));return"skip";case 217:k.push(createDiagnosticForNode(E.type,S.Diagnostics.Type_assertion_expressions_can_only_be_used_in_TypeScript_files));return"skip";case 199:S.Debug.fail()}}function walkArray(E,w){if(w.decorators===E&&!ae.experimentalDecorators){k.push(createDiagnosticForNode(w,S.Diagnostics.Experimental_support_for_decorators_is_a_feature_that_is_subject_to_change_in_a_future_release_Set_the_experimentalDecorators_option_in_your_tsconfig_or_jsconfig_to_remove_this_warning))}switch(w.kind){case 245:case 214:case 161:case 162:case 163:case 164:case 201:case 244:case 202:if(E===w.typeParameters){k.push(createDiagnosticForNodeArray(E,S.Diagnostics.Type_parameter_declarations_can_only_be_used_in_TypeScript_files));return"skip"}case 225:if(E===w.modifiers){checkModifiers(w.modifiers,w.kind===225);return"skip"}break;case 159:if(E===w.modifiers){for(var N=0,j=E;N0);Object.defineProperties(q,{id:{get:function(){return this.redirectInfo.redirectTarget.id},set:function(S){this.redirectInfo.redirectTarget.id=S}},symbol:{get:function(){return this.redirectInfo.redirectTarget.symbol},set:function(S){this.redirectInfo.redirectTarget.symbol=S}}});return q}function findSourceFile(E,k,w,N,j,q){if(bt){var ee=getSourceOfProjectReferenceRedirect(E);if(!ee&&He.realpath&&ae.preserveSymlinks&&S.isDeclarationFileName(E)&&S.stringContains(E,S.nodeModulesPathPart)){var te=He.realpath(E);if(te!==E)ee=getSourceOfProjectReferenceRedirect(te)}if(ee){var ne=S.isString(ee)?findSourceFile(ee,toPath(ee),w,N,j,q):undefined;if(ne)addFileToFilesByName(ne,k,undefined);return ne}}var _e=E;if(pt.has(k)){var ve=pt.get(k);addFileToRefFileMap(E,ve||undefined,j);if(ve&&ae.forceConsistentCasingInFileNames){var Ee=ve.fileName;var we=toPath(Ee)!==toPath(E);if(we){E=getProjectReferenceRedirect(E)||E}var Ne=S.getNormalizedAbsolutePathWithoutRoot(Ee,Ye);var Ie=S.getNormalizedAbsolutePathWithoutRoot(E,Ye);if(Ne!==Ie){reportFileNamesDifferOnlyInCasingError(E,ve,j)}}if(ve&&Ve.get(ve.path)&&$e===0){Ve.set(ve.path,false);if(!ae.noResolve){processReferencedFiles(ve,w);processTypeReferenceDirectives(ve)}if(!ae.noLib){processLibReferenceDirectives(ve)}qe.set(ve.path,false);processImportedModules(ve)}else if(ve&&qe.get(ve.path)){if($e0);Re.fileName=E;Re.path=k;Re.resolvedPath=toPath(E);Re.originalFileName=_e;addFileToRefFileMap(E,Re,j);if(He.useCaseSensitiveFileNames()){var ze=S.toFileNameLowerCase(k);var Ge=mt.get(ze);if(Ge){reportFileNamesDifferOnlyInCasingError(E,Ge,j)}else{mt.set(ze,Re)}}Je=Je||Re.hasNoDefaultLib&&!N;if(!ae.noResolve){processReferencedFiles(Re,w);processTypeReferenceDirectives(Re)}if(!ae.noLib){processLibReferenceDirectives(Re)}processImportedModules(Re);if(w){Te.push(Re)}else{Ce.push(Re)}}return Re}function addFileToRefFileMap(E,k,w){if(w&&k){(Le||(Le=S.createMultiMap())).add(k.path,{referencedFileName:E,kind:w.kind,index:w.index,file:w.file.path})}}function addFileToFilesByName(S,E,k){if(k){pt.set(k,S);pt.set(E,S||false)}else{pt.set(E,S)}}function getProjectReferenceRedirect(S){var E=getProjectReferenceRedirectProject(S);return E&&getProjectReferenceOutputName(E,S)}function getProjectReferenceRedirectProject(E){if(!ht||!ht.length||S.fileExtensionIs(E,".d.ts")||S.fileExtensionIs(E,".json")){return undefined}return getResolvedProjectReferenceToRedirect(E)}function getProjectReferenceOutputName(E,k){var w=E.commandLine.options.outFile||E.commandLine.options.out;return w?S.changeExtension(w,".d.ts"):S.getOutputDeclarationFileName(k,E.commandLine,!He.useCaseSensitiveFileNames())}function getResolvedProjectReferenceToRedirect(E){if(yt===undefined){yt=S.createMap();forEachResolvedProjectReference((function(S,E){if(S&&toPath(ae.configFilePath)!==E){S.commandLine.fileNames.forEach((function(S){return yt.set(toPath(S),E)}))}}))}var k=yt.get(toPath(E));return k&&getResolvedProjectReferenceByPath(k)}function forEachResolvedProjectReference(S){return forEachProjectReference(ve,ht,(function(E,k,w){var N=(w?w.commandLine.projectReferences:ve)[k];var j=toPath(resolveProjectReferencePath(N));return S(E,j)}))}function getSourceOfProjectReferenceRedirect(E){if(!S.isDeclarationFileName(E))return undefined;if(vt===undefined){vt=S.createMap();forEachResolvedProjectReference((function(E){if(E){var k=E.commandLine.options.outFile||E.commandLine.options.out;if(k){var w=S.changeExtension(k,".d.ts");vt.set(toPath(w),true)}else{S.forEach(E.commandLine.fileNames,(function(k){if(!S.fileExtensionIs(k,".d.ts")&&!S.fileExtensionIs(k,".json")){var w=S.getOutputDeclarationFileName(k,E.commandLine,He.useCaseSensitiveFileNames());vt.set(toPath(w),k)}}))}}}))}return vt.get(toPath(E))}function isSourceOfProjectReferenceRedirect(S){return bt&&!!getResolvedProjectReferenceToRedirect(S)}function forEachProjectReference(E,k,w,N){var j;return worker(E,k,undefined,w,N);function worker(E,k,w,N,q){if(q){var ee=q(E,w);if(ee){return ee}}return S.forEach(k,(function(E,k){if(S.contains(j,E)){return undefined}var ee=N(E,k,w);if(ee){return ee}if(!E)return undefined;(j||(j=[])).push(E);return worker(E.commandLine.projectReferences,E.references,E,N,q)}))}}function getResolvedProjectReferenceByPath(S){if(!_t){return undefined}return _t.get(S)||undefined}function processReferencedFiles(E,k){S.forEach(E.referencedFiles,(function(w,N){var j=resolveTripleslashReference(w.fileName,E.originalFileName);processSourceFile(j,k,false,undefined,{kind:S.RefFileKind.ReferenceFile,index:N,file:E,pos:w.pos,end:w.end})}))}function processTypeReferenceDirectives(E){var k=S.map(E.typeReferenceDirectives,(function(E){return S.toFileNameLowerCase(E.fileName)}));if(!k){return}var w=resolveTypeReferenceDirectiveNamesWorker(k,E.originalFileName,getResolvedProjectReferenceToRedirect(E.originalFileName));for(var N=0;NWe;var ve=ne&&!getResolutionDiagnostic(ae,j)&&!ae.noResolve&&N1}))){createDiagnosticForOptionName(S.Diagnostics.Cannot_find_the_common_subdirectory_path_for_the_input_files,"outDir")}}if(ae.useDefineForClassFields&&ve===0){createDiagnosticForOptionName(S.Diagnostics.Option_0_cannot_be_specified_when_option_target_is_ES3,"useDefineForClassFields")}if(ae.checkJs&&!ae.allowJs){Xe.add(S.createCompilerDiagnostic(S.Diagnostics.Option_0_cannot_be_specified_without_specifying_option_1,"checkJs","allowJs"))}if(ae.emitDeclarationOnly){if(!S.getEmitDeclarations(ae)){createDiagnosticForOptionName(S.Diagnostics.Option_0_cannot_be_specified_without_specifying_option_1_or_option_2,"emitDeclarationOnly","declaration","composite")}if(ae.noEmit){createDiagnosticForOptionName(S.Diagnostics.Option_0_cannot_be_specified_with_option_1,"emitDeclarationOnly","noEmit")}}if(ae.emitDecoratorMetadata&&!ae.experimentalDecorators){createDiagnosticForOptionName(S.Diagnostics.Option_0_cannot_be_specified_without_specifying_option_1,"emitDecoratorMetadata","experimentalDecorators")}if(ae.jsxFactory){if(ae.reactNamespace){createDiagnosticForOptionName(S.Diagnostics.Option_0_cannot_be_specified_with_option_1,"reactNamespace","jsxFactory")}if(!S.parseIsolatedEntityName(ae.jsxFactory,ve)){createOptionValueDiagnostic("jsxFactory",S.Diagnostics.Invalid_value_for_jsxFactory_0_is_not_a_valid_identifier_or_qualified_name,ae.jsxFactory)}}else if(ae.reactNamespace&&!S.isIdentifierText(ae.reactNamespace,ve)){createOptionValueDiagnostic("reactNamespace",S.Diagnostics.Invalid_value_for_reactNamespace_0_is_not_a_valid_identifier,ae.reactNamespace)}if(!ae.noEmit&&!ae.suppressOutputPathCheck){var Fe=getEmitHost();var Oe=S.createMap();S.forEachEmittedFile(Fe,(function(S){if(!ae.emitDeclarationOnly){verifyEmitFilePath(S.jsFilePath,Oe)}verifyEmitFilePath(S.declarationFilePath,Oe)}))}function verifyEmitFilePath(E,k){if(E){var w=toPath(E);if(pt.has(w)){var N=void 0;if(!ae.configFilePath){N=S.chainDiagnosticMessages(undefined,S.Diagnostics.Adding_a_tsconfig_json_file_will_help_organize_projects_that_contain_both_TypeScript_and_JavaScript_files_Learn_more_at_https_Colon_Slash_Slashaka_ms_Slashtsconfig)}N=S.chainDiagnosticMessages(N,S.Diagnostics.Cannot_write_file_0_because_it_would_overwrite_input_file,E);blockEmittingOfFile(E,S.createCompilerDiagnosticFromMessageChain(N))}var j=!He.useCaseSensitiveFileNames()?S.toFileNameLowerCase(w):w;if(k.has(j)){blockEmittingOfFile(E,S.createCompilerDiagnostic(S.Diagnostics.Cannot_write_file_0_because_it_would_be_overwritten_by_multiple_input_files,E))}else{k.set(j,true)}}}}function createFileDiagnosticAtReference(E,k){var N,j;var q=[];for(var ee=2;eek){Xe.add(S.createDiagnosticForNodeInSourceFile(ae.configFile,we.elements[k],w,N,j,q));ee=false}}}}if(ee){Xe.add(S.createCompilerDiagnostic(w,N,j,q))}}function createDiagnosticForOptionPaths(E,k,w,N){var j=true;var q=getOptionPathsSyntax();for(var ee=0,te=q;eek){Xe.add(S.createDiagnosticForNodeInSourceFile(E||ae.configFile,q.elements[k],w,N,j))}else{Xe.add(S.createCompilerDiagnostic(w,N,j))}}function createDiagnosticForOption(E,k,w,N,j,q,ee){var te=getCompilerOptionsObjectLiteralSyntax();var ne=!te||!createOptionDiagnosticInObjectLiteralSyntax(te,E,k,w,N,j,q,ee);if(ne){Xe.add(S.createCompilerDiagnostic(N,j,q,ee))}}function getCompilerOptionsObjectLiteralSyntax(){if(rt===undefined){rt=null;var E=S.getTsConfigObjectLiteralExpression(ae.configFile);if(E){for(var k=0,w=S.getPropertyAssignment(E,"compilerOptions");k0?{diagnostics:q,sourceMaps:undefined,emittedFiles:undefined,emitSkipped:true}:undefined}S.handleNoEmitOptions=handleNoEmitOptions;function parseConfigHostFromCompilerHostLike(E,k){if(k===void 0){k=E}return{fileExists:function(S){return k.fileExists(S)},readDirectory:function(E,w,N,j,q){S.Debug.assertIsDefined(k.readDirectory,"'CompilerHost.readDirectory' must be implemented to correctly process 'projectReferences'");return k.readDirectory(E,w,N,j,q)},readFile:function(S){return k.readFile(S)},useCaseSensitiveFileNames:E.useCaseSensitiveFileNames(),getCurrentDirectory:function(){return E.getCurrentDirectory()},onUnRecoverableConfigFileDiagnostic:E.onUnRecoverableConfigFileDiagnostic||S.returnUndefined,trace:E.trace?function(S){return E.trace(S)}:undefined}}S.parseConfigHostFromCompilerHostLike=parseConfigHostFromCompilerHostLike;function createPrependNodes(E,k,w){if(!E)return S.emptyArray;var N;for(var j=0;j0){var j=E.getTypeChecker();for(var q=0,ee=k.imports;q0){for(var _e=0,ve=k.referencedFiles;_e1){addReferenceFromAmbientModule(Me)}}return N;function addReferenceFromAmbientModule(E){for(var w=0,N=E.declarations;w1?ve.outputFiles[1]:undefined:ve.outputFiles.length>0?ve.outputFiles[0]:undefined;if(Ee){S.Debug.assert(S.fileExtensionIs(Ee.name,".d.ts"),"File extension for signature expected to be dts",(function(){return"Found: "+S.getAnyExtensionFromPath(Ee.name)+" for "+Ee.name+":: All output files: "+JSON.stringify(ve.outputFiles.map((function(S){return S.name})))}));ae=q(Ee.text);if(ee&&ae!==ne){updateExportedModules(w,ve.exportedModulesFromDeclarationEmit,ee)}}else{ae=ne}}N.set(w.resolvedPath,ae);return!ne||ae!==ne}E.updateShapeSignature=updateShapeSignature;function updateExportedModules(E,k,w){if(!k){w.set(E.resolvedPath,false);return}var N;k.forEach((function(S){return addExportedModule(getReferencedFileFromImportedModuleSymbol(S))}));w.set(E.resolvedPath,N||false);function addExportedModule(E){if(E){if(!N){N=S.createMap()}N.set(E,true)}}}function updateExportedFilesMapFromCache(E,k){if(k){S.Debug.assert(!!E.exportedModulesMap);k.forEach((function(S,k){if(S){E.exportedModulesMap.set(k,S)}else{E.exportedModulesMap.delete(k)}}))}}E.updateExportedFilesMapFromCache=updateExportedFilesMapFromCache;function getAllDependencies(E,k,w){var N=k.getCompilerOptions();if(N.outFile||N.out){return getAllFileNames(E,k)}if(!E.referencedMap||isFileAffectingGlobalScope(w)){return getAllFileNames(E,k)}var j=S.createMap();var q=[w.resolvedPath];while(q.length){var ee=q.pop();if(!j.has(ee)){j.set(ee,true);var te=E.referencedMap.get(ee);if(te){var ne=te.keys();for(var ae=ne.next();!ae.done;ae=ne.next()){q.push(ae.value)}}}}return S.arrayFrom(S.mapDefinedIterator(j.keys(),(function(S){var E=k.getSourceFileByPath(S);return E?E.fileName:S})))}E.getAllDependencies=getAllDependencies;function getAllFileNames(E,k){if(!E.allFileNames){var w=k.getSourceFiles();E.allFileNames=w===S.emptyArray?S.emptyArray:w.map((function(S){return S.fileName}))}return E.allFileNames}function getReferencedByPaths(E,k){return S.arrayFrom(S.mapDefinedIterator(E.referencedMap.entries(),(function(S){var E=S[0],w=S[1];return w.has(k)?E:undefined})))}E.getReferencedByPaths=getReferencedByPaths;function containsOnlyAmbientModules(E){for(var k=0,w=E.statements;k0){var _e=ae.pop();if(!ne.has(_e)){var ve=k.getSourceFileByPath(_e);ne.set(_e,ve);if(ve&&updateShapeSignature(E,k,ve,N,j,q,ee)){ae.push.apply(ae,getReferencedByPaths(E,ve.resolvedPath))}}}return S.arrayFrom(S.mapDefinedIterator(ne.values(),(function(S){return S})))}})(E=S.BuilderState||(S.BuilderState={}));function cloneMapOrUndefined(E){return E?S.cloneMap(E):undefined}S.cloneMapOrUndefined=cloneMapOrUndefined})(ne||(ne={}));var ne;(function(S){var E;(function(S){S[S["DtsOnly"]=0]="DtsOnly";S[S["Full"]=1]="Full"})(E=S.BuilderFileEmit||(S.BuilderFileEmit={}));function hasSameKeys(E,k){return E===k||E!==undefined&&k!==undefined&&E.size===k.size&&!S.forEachKey(E,(function(S){return!k.has(S)}))}function createBuilderProgramState(E,k,w){var N=S.BuilderState.create(E,k,w);N.program=E;var j=E.getCompilerOptions();N.compilerOptions=j;if(!j.outFile&&!j.out){N.semanticDiagnosticsPerFile=S.createMap()}N.changedFilesSet=S.createMap();var q=S.BuilderState.canReuseOldState(N.referencedMap,w);var ee=q?w.compilerOptions:undefined;var te=q&&w.semanticDiagnosticsPerFile&&!!N.semanticDiagnosticsPerFile&&!S.compilerOptionsAffectSemanticDiagnostics(j,ee);if(q){if(!w.currentChangedFilePath){var ne=w.currentAffectedFilesSignatures;S.Debug.assert(!w.affectedFiles&&(!ne||!ne.size),"Cannot reuse if only few affected files of currentChangedFile were iterated")}var ae=w.changedFilesSet;if(te){S.Debug.assert(!ae||!S.forEachKey(ae,(function(S){return w.semanticDiagnosticsPerFile.has(S)})),"Semantic diagnostics shouldnt be available for changed files")}if(ae){S.copyEntries(ae,N.changedFilesSet)}if(!j.outFile&&!j.out&&w.affectedFilesPendingEmit){N.affectedFilesPendingEmit=w.affectedFilesPendingEmit.slice();N.affectedFilesPendingEmitKind=S.cloneMapOrUndefined(w.affectedFilesPendingEmitKind);N.affectedFilesPendingEmitIndex=w.affectedFilesPendingEmitIndex;N.seenAffectedFiles=S.createMap()}}var _e=N.referencedMap;var ve=q?w.referencedMap:undefined;var Ee=te&&!j.skipLibCheck===!ee.skipLibCheck;var Te=Ee&&!j.skipDefaultLibCheck===!ee.skipDefaultLibCheck;N.fileInfos.forEach((function(j,ee){var ne;var ae;if(!q||!(ne=w.fileInfos.get(ee))||ne.version!==j.version||!hasSameKeys(ae=_e&&_e.get(ee),ve&&ve.get(ee))||ae&&S.forEachKey(ae,(function(S){return!N.fileInfos.has(S)&&w.fileInfos.has(S)}))){N.changedFilesSet.set(ee,true)}else if(te){var Ce=E.getSourceFileByPath(ee);if(Ce.isDeclarationFile&&!Ee){return}if(Ce.hasNoDefaultLib&&!Te){return}var we=w.semanticDiagnosticsPerFile.get(ee);if(we){N.semanticDiagnosticsPerFile.set(ee,w.hasReusableDiagnostic?convertToDiagnostics(we,E,k):we);if(!N.semanticDiagnosticsFromOldState){N.semanticDiagnosticsFromOldState=S.createMap()}N.semanticDiagnosticsFromOldState.set(ee,true)}}}));if(q&&S.forEachEntry(w.fileInfos,(function(S,E){return S.affectsGlobalScope&&!N.fileInfos.has(E)}))){S.BuilderState.getAllFilesExcludingDefaultLibraryFile(N,E,undefined).forEach((function(S){return N.changedFilesSet.set(S.resolvedPath,true)}))}else if(ee&&S.compilerOptionsAffectEmit(j,ee)){E.getSourceFiles().forEach((function(S){return addToAffectedFilesPendingEmit(N,S.resolvedPath,1)}));S.Debug.assert(!N.seenAffectedFiles||!N.seenAffectedFiles.size);N.seenAffectedFiles=N.seenAffectedFiles||S.createMap()}N.emittedBuildInfo=!N.changedFilesSet.size&&!N.affectedFilesPendingEmit;return N}function convertToDiagnostics(E,k,w){if(!E.length)return S.emptyArray;var N=S.getDirectoryPath(S.getNormalizedAbsolutePath(S.getTsBuildInfoEmitOutputFilePath(k.getCompilerOptions()),k.getCurrentDirectory()));return E.map((function(E){var w=convertToDiagnosticRelatedInformation(E,k,toPath);w.reportsUnnecessary=E.reportsUnnecessary;w.source=E.source;var N=E.relatedInformation;w.relatedInformation=N?N.length?N.map((function(S){return convertToDiagnosticRelatedInformation(S,k,toPath)})):S.emptyArray:undefined;return w}));function toPath(E){return S.toPath(E,N,w)}}function convertToDiagnosticRelatedInformation(S,E,k){var w=S.file;return N(N({},S),{file:w?E.getSourceFileByPath(k(w)):undefined})}function releaseCache(E){S.BuilderState.releaseCache(E);E.program=undefined}function cloneBuilderProgramState(E){var k=S.BuilderState.clone(E);k.semanticDiagnosticsPerFile=S.cloneMapOrUndefined(E.semanticDiagnosticsPerFile);k.changedFilesSet=S.cloneMap(E.changedFilesSet);k.affectedFiles=E.affectedFiles;k.affectedFilesIndex=E.affectedFilesIndex;k.currentChangedFilePath=E.currentChangedFilePath;k.currentAffectedFilesSignatures=S.cloneMapOrUndefined(E.currentAffectedFilesSignatures);k.currentAffectedFilesExportedModulesMap=S.cloneMapOrUndefined(E.currentAffectedFilesExportedModulesMap);k.seenAffectedFiles=S.cloneMapOrUndefined(E.seenAffectedFiles);k.cleanedDiagnosticsOfLibFiles=E.cleanedDiagnosticsOfLibFiles;k.semanticDiagnosticsFromOldState=S.cloneMapOrUndefined(E.semanticDiagnosticsFromOldState);k.program=E.program;k.compilerOptions=E.compilerOptions;k.affectedFilesPendingEmit=E.affectedFilesPendingEmit&&E.affectedFilesPendingEmit.slice();k.affectedFilesPendingEmitKind=S.cloneMapOrUndefined(E.affectedFilesPendingEmitKind);k.affectedFilesPendingEmitIndex=E.affectedFilesPendingEmitIndex;k.seenEmittedFiles=S.cloneMapOrUndefined(E.seenEmittedFiles);k.programEmitComplete=E.programEmitComplete;return k}function assertSourceFileOkWithoutNextAffectedCall(E,k){S.Debug.assert(!k||!E.affectedFiles||E.affectedFiles[E.affectedFilesIndex-1]!==k||!E.semanticDiagnosticsPerFile.has(k.resolvedPath))}function getNextAffectedFile(E,k,w){while(true){var N=E.affectedFiles;if(N){var j=E.seenAffectedFiles;var q=E.affectedFilesIndex;while(q0){var q=j.pop();if(!N.has(q)){N.set(q,true);var ee=w(E,q);if(ee&&isChangedSignagure(E,q)){var te=S.Debug.checkDefined(E.program).getSourceFileByPath(q);j.push.apply(j,S.BuilderState.getReferencedByPaths(E,te.resolvedPath))}}}}S.Debug.assert(!!E.currentAffectedFilesExportedModulesMap);var ne=S.createMap();if(S.forEachEntry(E.currentAffectedFilesExportedModulesMap,(function(S,N){return S&&S.has(k.resolvedPath)&&forEachFilesReferencingPath(E,N,ne,w)}))){return}S.forEachEntry(E.exportedModulesMap,(function(S,N){return!E.currentAffectedFilesExportedModulesMap.has(N)&&S.has(k.resolvedPath)&&forEachFilesReferencingPath(E,N,ne,w)}))}function forEachFilesReferencingPath(E,k,w,N){return S.forEachEntry(E.referencedMap,(function(S,j){return S.has(k)&&forEachFileAndExportsOfFile(E,j,w,N)}))}function forEachFileAndExportsOfFile(E,k,w,N){if(!S.addToSeen(w,k)){return false}if(N(E,k)){return true}S.Debug.assert(!!E.currentAffectedFilesExportedModulesMap);if(S.forEachEntry(E.currentAffectedFilesExportedModulesMap,(function(S,j){return S&&S.has(k)&&forEachFileAndExportsOfFile(E,j,w,N)}))){return true}if(S.forEachEntry(E.exportedModulesMap,(function(S,j){return!E.currentAffectedFilesExportedModulesMap.has(j)&&S.has(k)&&forEachFileAndExportsOfFile(E,j,w,N)}))){return true}return!!S.forEachEntry(E.referencedMap,(function(S,j){return S.has(k)&&!w.has(j)&&N(E,j)}))}function doneWithAffectedFile(E,k,w,N,j){if(j){E.emittedBuildInfo=true}else if(k===E.program){E.changedFilesSet.clear();E.programEmitComplete=true}else{E.seenAffectedFiles.set(k.resolvedPath,true);if(w!==undefined){(E.seenEmittedFiles||(E.seenEmittedFiles=S.createMap())).set(k.resolvedPath,w)}if(N){E.affectedFilesPendingEmitIndex++}else{E.affectedFilesIndex++}}}function toAffectedFileResult(S,E,k){doneWithAffectedFile(S,k);return{result:E,affected:k}}function toAffectedFileEmitResult(S,E,k,w,N,j){doneWithAffectedFile(S,k,w,N,j);return{result:E,affected:k}}function getSemanticDiagnosticsOfFile(E,k,w){return S.concatenate(getBinderAndCheckerDiagnosticsOfFile(E,k,w),S.Debug.checkDefined(E.program).getProgramDiagnostics(k))}function getBinderAndCheckerDiagnosticsOfFile(E,k,w){var N=k.resolvedPath;if(E.semanticDiagnosticsPerFile){var j=E.semanticDiagnosticsPerFile.get(N);if(j){return j}}var q=S.Debug.checkDefined(E.program).getBindAndCheckDiagnostics(k,w);if(E.semanticDiagnosticsPerFile){E.semanticDiagnosticsPerFile.set(N,q)}return q}function getProgramBuildInfo(E,k){if(E.compilerOptions.outFile||E.compilerOptions.out)return undefined;var w=S.Debug.checkDefined(E.program).getCurrentDirectory();var N=S.getDirectoryPath(S.getNormalizedAbsolutePath(S.getTsBuildInfoEmitOutputFilePath(E.compilerOptions),w));var j={};E.fileInfos.forEach((function(S,k){var w=E.currentAffectedFilesSignatures&&E.currentAffectedFilesSignatures.get(k);j[relativeToBuildInfo(k)]=w===undefined?S:{version:S.version,signature:w,affectsGlobalScope:S.affectsGlobalScope}}));var q={fileInfos:j,options:convertToReusableCompilerOptions(E.compilerOptions,relativeToBuildInfoEnsuringAbsolutePath)};if(E.referencedMap){var ee={};for(var te=0,ne=S.arrayFrom(E.referencedMap.keys()).sort(S.compareStringsCaseSensitive);te1||E.charCodeAt(0)!==47;if(j&&E.search(/[a-zA-Z]:/)!==0&&N.search(/[a-zA-z]\$\//)===0){w=E.indexOf(S.directorySeparator,w+1);if(w===-1){return false}N=E.substring(k+N.length,w+1)}if(j&&N.search(/users\//i)!==0){return true}for(var q=w+1,ee=2;ee>0;ee--){q=E.indexOf(S.directorySeparator,q)+1;if(q===0){return false}}return true}S.canWatchDirectory=canWatchDirectory;function createResolutionCache(E,k,w){var N;var j;var q;var ee=S.createMultiMap();var te=[];var ne=S.createMultiMap();var ae=S.memoize((function(){return E.getCurrentDirectory()}));var _e=E.getCachedDirectoryStructureHost();var ve=S.createMap();var Ee=S.createCacheWithRedirects();var Te=S.createCacheWithRedirects();var Ce=S.createModuleResolutionCacheWithMaps(Ee,Te,ae(),E.getCanonicalFileName);var we=S.createMap();var Ne=S.createCacheWithRedirects();var Ie=[".ts",".tsx",".js",".jsx",".json"];var Fe=S.createMap();var Oe=S.createMap();var Me=k&&S.removeTrailingDirectorySeparator(S.getNormalizedAbsolutePath(k,ae()));var Re=Me&&E.toPath(Me);var Le=Re!==undefined?Re.split(S.directorySeparator).length:0;var Be=S.createMap();return{startRecordingFilesWithChangedResolutions:startRecordingFilesWithChangedResolutions,finishRecordingFilesWithChangedResolutions:finishRecordingFilesWithChangedResolutions,startCachingPerDirectoryResolution:clearPerDirectoryResolutions,finishCachingPerDirectoryResolution:finishCachingPerDirectoryResolution,resolveModuleNames:resolveModuleNames,getResolvedModuleWithFailedLookupLocationsFromCache:getResolvedModuleWithFailedLookupLocationsFromCache,resolveTypeReferenceDirectives:resolveTypeReferenceDirectives,removeResolutionsFromProjectReferenceRedirects:removeResolutionsFromProjectReferenceRedirects,removeResolutionsOfFile:removeResolutionsOfFile,invalidateResolutionOfFile:invalidateResolutionOfFile,setFilesWithInvalidatedNonRelativeUnresolvedImports:setFilesWithInvalidatedNonRelativeUnresolvedImports,createHasInvalidatedResolution:createHasInvalidatedResolution,updateTypeRootsWatch:updateTypeRootsWatch,closeTypeRootsWatch:closeTypeRootsWatch,clear:clear};function getResolvedModule(S){return S.resolvedModule}function getResolvedTypeReferenceDirective(S){return S.resolvedTypeReferenceDirective}function isInDirectoryPath(E,k){if(E===undefined||k.length<=E.length){return false}return S.startsWith(k,E)&&k[E.length]===S.directorySeparator}function clear(){S.clearMap(Oe,S.closeFileWatcherOf);Fe.clear();ee.clear();closeTypeRootsWatch();ve.clear();we.clear();ne.clear();te.length=0;clearPerDirectoryResolutions()}function startRecordingFilesWithChangedResolutions(){N=[]}function finishRecordingFilesWithChangedResolutions(){var S=N;N=undefined;return S}function isFileWithInvalidatedNonRelativeUnresolvedImports(S){if(!q){return false}var E=q.get(S);return!!E&&!!E.length}function createHasInvalidatedResolution(E){if(E){j=undefined;return S.returnTrue}var k=j;j=undefined;return function(S){return!!k&&k.has(S)||isFileWithInvalidatedNonRelativeUnresolvedImports(S)}}function clearPerDirectoryResolutions(){Ee.clear();Te.clear();Ne.clear();ee.forEach(watchFailedLookupLocationOfNonRelativeModuleResolutions);ee.clear()}function finishCachingPerDirectoryResolution(){q=undefined;clearPerDirectoryResolutions();Oe.forEach((function(S,E){if(S.refCount===0){Oe.delete(E);S.watcher.close()}}))}function resolveModuleName(k,w,N,j,q){var ee;var te=S.resolveModuleName(k,w,N,j,Ce,q);if(!E.getGlobalCache){return te}var ne=E.getGlobalCache();if(ne!==undefined&&!S.isExternalModuleNameRelative(k)&&!(te.resolvedModule&&S.extensionIsTS(te.resolvedModule.extension))){var ae=S.loadModuleFromGlobalCache(S.Debug.checkDefined(E.globalCacheResolutionModuleName)(k),E.projectName,N,j,ne),_e=ae.resolvedModule,ve=ae.failedLookupLocations;if(_e){te.resolvedModule=_e;(ee=te.failedLookupLocations).push.apply(ee,ve);return te}}return te}function resolveNamesWithLocalCache(k){var w;var j=k.names,q=k.containingFile,ee=k.redirectedReference,te=k.cache,ne=k.perDirectoryCacheWithRedirects,ae=k.loader,_e=k.getResolutionWithResolvedFileName,ve=k.shouldRetryResolution,Ee=k.reusedNames,Te=k.logChanges;var Ce=E.toPath(q);var we=te.get(Ce)||te.set(Ce,S.createMap()).get(Ce);var Ne=S.getDirectoryPath(Ce);var Ie=ne.getOrCreateMapOfCacheRedirects(ee);var Fe=Ie.get(Ne);if(!Fe){Fe=S.createMap();Ie.set(Ne,Fe)}var Oe=[];var Me=E.getCompilationSettings();var Re=Te&&isFileWithInvalidatedNonRelativeUnresolvedImports(Ce);var Le=E.getCurrentProgram();var Be=Le&&Le.getResolvedProjectReferenceToRedirect(q);var je=Be?!ee||ee.sourceFile.path!==Be.sourceFile.path:!!ee;var ze=S.createMap();for(var Ue=0,We=j;UeLe+1){return{dir:N.slice(0,Le+1).join(S.directorySeparator),dirPath:w.slice(0,Le+1).join(S.directorySeparator)}}else{return{dir:Me,dirPath:Re,nonRecursive:false}}}return getDirectoryToWatchFromFailedLookupLocationDirectory(S.getDirectoryPath(S.getNormalizedAbsolutePath(E,ae())),S.getDirectoryPath(k))}function getDirectoryToWatchFromFailedLookupLocationDirectory(E,k){while(S.pathContainsNodeModules(k)){E=S.getDirectoryPath(E);k=S.getDirectoryPath(k)}if(S.isNodeModulesDirectory(k)){return canWatchDirectory(S.getDirectoryPath(k))?{dir:E,dirPath:k}:undefined}var w=true;var N,j;if(Re!==undefined){while(!isInDirectoryPath(k,Re)){var q=S.getDirectoryPath(k);if(q===k){break}w=false;N=k;j=E;k=q;E=S.getDirectoryPath(E)}}return canWatchDirectory(k)?{dir:j||E,dirPath:N||k,nonRecursive:w}:undefined}function isPathWithDefaultFailedLookupExtension(E){return S.fileExtensionIsOneOf(E,Ie)}function watchFailedLookupLocationsOfExternalModuleResolutions(k,w,N,j){if(w.refCount){w.refCount++;S.Debug.assertDefined(w.files)}else{w.refCount=1;S.Debug.assert(w.files===undefined);if(S.isExternalModuleNameRelative(k)){watchFailedLookupLocationOfResolution(w)}else{ee.add(k,w)}var q=j(w);if(q&&q.resolvedFileName){ne.add(E.toPath(q.resolvedFileName),w)}}(w.files||(w.files=[])).push(N)}function watchFailedLookupLocationOfResolution(k){S.Debug.assert(!!k.refCount);var w=k.failedLookupLocations;if(!w.length)return;te.push(k);var N=false;for(var j=0,q=w;j1);Fe.set(Ee,we-1)}}if(Ce===Re){ee=true}else{removeDirectoryWatcher(Ce)}}}if(ee){removeDirectoryWatcher(Re)}}function removeDirectoryWatcher(S){var E=Oe.get(S);E.refCount--}function createDirectoryWatcher(S,k,w){return E.watchDirectoryOfFailedLookupLocation(S,(function(S){var w=E.toPath(S);if(_e){_e.addOrDeleteFileOrDirectory(S,w)}if(invalidateResolutionOfFailedLookupLocation(w,k===w)){E.onInvalidatedResolution()}}),w?0:1)}function removeResolutionsOfFileFromCache(S,E,k){var w=S.get(E);if(w){w.forEach((function(S){return stopWatchFailedLookupLocationOfResolution(S,E,k)}));S.delete(E)}}function removeResolutionsFromProjectReferenceRedirects(k){if(!S.fileExtensionIs(k,".json")){return}var w=E.getCurrentProgram();if(!w){return}var N=w.getResolvedProjectReferenceByPath(k);if(!N){return}N.commandLine.fileNames.forEach((function(S){return removeResolutionsOfFile(E.toPath(S))}))}function removeResolutionsOfFile(S){removeResolutionsOfFileFromCache(ve,S,getResolvedModule);removeResolutionsOfFileFromCache(we,S,getResolvedTypeReferenceDirective)}function invalidateResolution(k){k.isInvalidated=true;var w=false;for(var N=0,q=S.Debug.assertDefined(k.files);N1){w.sort(comparePathsByNumberOfDirectorySeparators)}te.push.apply(te,w)}var N=S.getDirectoryPath(E);if(N===E)return ne=E,"break";E=N;ne=E};var ne;for(var ae=S.getDirectoryPath(S.toPath(E,N,j));q.size!==0;){var _e=_loop_20(ae);ae=ne;if(_e==="break")break}if(q.size){var ve=S.arrayFrom(q.values());if(ve.length>1)ve.sort(comparePathsByNumberOfDirectorySeparators);te.push.apply(te,ve)}return te}function tryGetModuleNameFromAmbientModule(E){var k=S.find(E.declarations,(function(E){return S.isNonGlobalAmbientModule(E)&&(!S.isExternalModuleAugmentation(E)||!S.isExternalModuleNameRelative(S.getTextOfIdentifierOrLiteral(E.name)))}));if(k){return k.name.text}}function tryGetModuleNameFromPaths(E,k,w){for(var N in w){for(var j=0,q=w[N];j=ae.length+_e.length&&S.startsWith(k,ae)&&S.endsWith(k,_e)||!_e&&k===S.removeTrailingDirectorySeparator(ae)){var ve=k.substr(ae.length,k.length-_e.length);return N.replace("*",ve)}}else if(te===k||te===E){return N}}}}function tryGetModuleNameFromRootDirs(E,k,w,N,j,q){var ee=getPathRelativeToRootDirs(k,E,N);if(ee===undefined){return undefined}var te=getPathRelativeToRootDirs(w,E,N);var ne=te!==undefined?S.ensurePathIsNonModuleName(S.getRelativePathFromDirectory(te,ee,N)):ee;return S.getEmitModuleResolutionKind(q)===S.ModuleResolutionKind.NodeJs?removeExtensionAndIndexPostFix(ne,j,q):S.removeFileExtension(ne)}function tryGetModuleNameAsNodeModule(E,k,w,N,j){var q=k.getCanonicalFileName,ee=k.sourceDirectory;if(!w.fileExists||!w.readFile){return undefined}var te=getNodeModulePathParts(E);if(!te){return undefined}var ne=E;if(!j){var ae=te.packageRootIndex;var _e=void 0;while(true){var ve=tryDirectoryWithPackageJson(ae),Ee=ve.moduleFileToTry,Te=ve.packageRootPath;if(Te){ne=Te;break}if(!_e)_e=Ee;ae=E.indexOf(S.directorySeparator,ae+1);if(ae===-1){ne=getExtensionlessFileName(_e);break}}}var Ce=w.getGlobalTypingsCacheLocation&&w.getGlobalTypingsCacheLocation();var we=q(ne.substring(0,te.topLevelNodeModulesIndex));if(!(S.startsWith(ee,we)||Ce&&S.startsWith(q(Ce),we))){return undefined}var Ne=ne.substring(te.topLevelPackageNameIndex+1);var Ie=S.getPackageNameFromTypesPackageName(Ne);return S.getEmitModuleResolutionKind(N)!==S.ModuleResolutionKind.NodeJs&&Ie===Ne?undefined:Ie;function tryDirectoryWithPackageJson(k){var j=E.substring(0,k);var ee=S.combinePaths(j,"package.json");var te=E;if(w.fileExists(ee)){var ne=JSON.parse(w.readFile(ee));var ae=ne.typesVersions?S.getPackageJsonTypesVersionsPaths(ne.typesVersions):undefined;if(ae){var _e=E.slice(j.length+1);var ve=tryGetModuleNameFromPaths(S.removeFileExtension(_e),removeExtensionAndIndexPostFix(_e,0,N),ae.paths);if(ve!==undefined){te=S.combinePaths(j,ve)}}var Ee=ne.typings||ne.types||ne.main;if(S.isString(Ee)){var Te=S.toPath(Ee,j,q);if(S.removeFileExtension(Te)===S.removeFileExtension(q(te))){return{packageRootPath:j,moduleFileToTry:te}}}}return{moduleFileToTry:te}}function getExtensionlessFileName(E){var k=S.removeFileExtension(E);if(q(k.substring(te.fileNameIndex))==="/index"&&!tryGetAnyFileFromPath(w,k.substring(0,te.fileNameIndex))){return k.substring(0,te.fileNameIndex)}return k}}function tryGetAnyFileFromPath(E,k){if(!E.fileExists)return;var w=S.getSupportedExtensions({allowJs:true},[{extension:"node",isMixedContent:false},{extension:"json",isMixedContent:false,scriptKind:6}]);for(var N=0,j=w;N=0){ee=te;te=E.indexOf("/",ee+1);switch(ne){case 0:if(E.indexOf(S.nodeModulesPathPart,ee)===ee){k=ee;w=te;ne=1}break;case 1:case 2:if(ne===1&&E.charAt(ee+1)==="@"){ne=2}else{N=te;ne=3}break;case 3:if(E.indexOf(S.nodeModulesPathPart,ee)===ee){ne=1}else{ne=3}break}}j=ee;return ne>1?{topLevelNodeModulesIndex:k,topLevelPackageNameIndex:w,packageRootIndex:N,fileNameIndex:j}:undefined}function getPathRelativeToRootDirs(E,k,w){return S.firstDefined(k,(function(S){var k=getRelativePathIfInDirectory(E,S,w);return isPathRelativeToParent(k)?undefined:k}))}function removeExtensionAndIndexPostFix(E,k,w){if(S.fileExtensionIs(E,".json"))return E;var N=S.removeFileExtension(E);switch(k){case 0:return S.removeSuffix(N,"/index");case 1:return N;case 2:return N+getJSExtensionForFile(E,w);default:return S.Debug.assertNever(k)}}function getJSExtensionForFile(E,k){var w=S.extensionFromPath(E);switch(w){case".ts":case".d.ts":return".js";case".tsx":return k.jsx===1?".jsx":".js";case".js":case".jsx":case".json":return w;case".tsbuildinfo":return S.Debug.fail("Extension "+".tsbuildinfo"+" is unsupported:: FileName:: "+E);default:return S.Debug.assertNever(w)}}function getRelativePathIfInDirectory(E,k,w){var N=S.getRelativePathToDirectoryOrUrl(k,E,k,w,false);return S.isRootedDiskPath(N)?undefined:N}function isPathRelativeToParent(E){return S.startsWith(E,"..")}})(E=S.moduleSpecifiers||(S.moduleSpecifiers={}))})(ne||(ne={}));var ne;(function(S){var E=S.sys?{getCurrentDirectory:function(){return S.sys.getCurrentDirectory()},getNewLine:function(){return S.sys.newLine},getCanonicalFileName:S.createGetCanonicalFileName(S.sys.useCaseSensitiveFileNames)}:undefined;function createDiagnosticReporter(k,w){var N=k===S.sys?E:{getCurrentDirectory:function(){return k.getCurrentDirectory()},getNewLine:function(){return k.newLine},getCanonicalFileName:S.createGetCanonicalFileName(k.useCaseSensitiveFileNames)};if(!w){return function(E){return k.write(S.formatDiagnostic(E,N))}}var j=new Array(1);return function(E){j[0]=E;k.write(S.formatDiagnosticsWithColorAndContext(j,N)+N.getNewLine());j[0]=undefined}}S.createDiagnosticReporter=createDiagnosticReporter;function clearScreenIfNotWatchingForFileChanges(E,k,w){if(E.clearScreen&&!w.preserveWatchOutput&&!w.extendedDiagnostics&&!w.diagnostics&&S.contains(S.screenStartingMessageCodes,k.code)){E.clearScreen();return true}return false}S.screenStartingMessageCodes=[S.Diagnostics.Starting_compilation_in_watch_mode.code,S.Diagnostics.File_change_detected_Starting_incremental_compilation.code];function getPlainDiagnosticFollowingNewLines(E,k){return S.contains(S.screenStartingMessageCodes,E.code)?k+k:k}function getLocaleTimeString(S){return!S.now?(new Date).toLocaleTimeString():S.now().toLocaleTimeString("en-US",{timeZone:"UTC"})}S.getLocaleTimeString=getLocaleTimeString;function createWatchStatusReporter(E,k){return k?function(k,w,N){clearScreenIfNotWatchingForFileChanges(E,k,N);var j="["+S.formatColorAndReset(getLocaleTimeString(E),S.ForegroundColorEscapeSequences.Grey)+"] ";j+=""+S.flattenDiagnosticMessageText(k.messageText,E.newLine)+(w+w);E.write(j)}:function(k,w,N){var j="";if(!clearScreenIfNotWatchingForFileChanges(E,k,N)){j+=w}j+=getLocaleTimeString(E)+" - ";j+=""+S.flattenDiagnosticMessageText(k.messageText,E.newLine)+getPlainDiagnosticFollowingNewLines(k,w);E.write(j)}}S.createWatchStatusReporter=createWatchStatusReporter;function parseConfigFileWithSystem(E,k,w,N,j){var q=N;q.onUnRecoverableConfigFileDiagnostic=function(S){return reportUnrecoverableDiagnostic(N,j,S)};var ee=S.getParsedCommandLineOfConfigFile(E,k,q,undefined,w);q.onUnRecoverableConfigFileDiagnostic=undefined;return ee}S.parseConfigFileWithSystem=parseConfigFileWithSystem;function getErrorCountForSummary(E){return S.countWhere(E,(function(E){return E.category===S.DiagnosticCategory.Error}))}S.getErrorCountForSummary=getErrorCountForSummary;function getWatchErrorSummaryDiagnosticMessage(E){return E===1?S.Diagnostics.Found_1_error_Watching_for_file_changes:S.Diagnostics.Found_0_errors_Watching_for_file_changes}S.getWatchErrorSummaryDiagnosticMessage=getWatchErrorSummaryDiagnosticMessage;function getErrorSummaryText(E,k){if(E===0)return"";var w=S.createCompilerDiagnostic(E===1?S.Diagnostics.Found_1_error:S.Diagnostics.Found_0_errors,E);return""+k+S.flattenDiagnosticMessageText(w.messageText,k)+k+k}S.getErrorSummaryText=getErrorSummaryText;function listFiles(E,k){if(E.getCompilerOptions().listFiles||E.getCompilerOptions().listFilesOnly){S.forEach(E.getSourceFiles(),(function(S){k(S.fileName)}))}}S.listFiles=listFiles;function emitFilesAndReportErrors(E,k,w,N,j,q,ee,te){var ne=!!E.getCompilerOptions().listFilesOnly;var ae=E.getConfigFileParsingDiagnostics().slice();var _e=ae.length;S.addRange(ae,E.getSyntacticDiagnostics(undefined,q));if(ae.length===_e){S.addRange(ae,E.getOptionsDiagnostics(q));if(!ne){S.addRange(ae,E.getGlobalDiagnostics(q));if(ae.length===_e){S.addRange(ae,E.getSemanticDiagnostics(undefined,q))}}}var ve=ne?{emitSkipped:true,diagnostics:S.emptyArray}:E.emit(undefined,j,q,ee,te);var Ee=ve.emittedFiles,Te=ve.diagnostics;S.addRange(ae,Te);var Ce=S.sortAndDeduplicateDiagnostics(ae);Ce.forEach(k);if(w){var we=E.getCurrentDirectory();S.forEach(Ee,(function(E){var k=S.getNormalizedAbsolutePath(E,we);w("TSFILE: "+k)}));listFiles(E,w)}if(N){N(getErrorCountForSummary(Ce))}return{emitResult:ve,diagnostics:Ce}}S.emitFilesAndReportErrors=emitFilesAndReportErrors;function emitFilesAndReportErrorsAndGetExitStatus(E,k,w,N,j,q,ee,te){var ne=emitFilesAndReportErrors(E,k,w,N,j,q,ee,te),ae=ne.emitResult,_e=ne.diagnostics;if(ae.emitSkipped&&_e.length>0){return S.ExitStatus.DiagnosticsPresent_OutputsSkipped}else if(_e.length>0){return S.ExitStatus.DiagnosticsPresent_OutputsGenerated}return S.ExitStatus.Success}S.emitFilesAndReportErrorsAndGetExitStatus=emitFilesAndReportErrorsAndGetExitStatus;S.noopFileWatcher={close:S.noop};function createWatchHost(E,k){if(E===void 0){E=S.sys}var w=k||createWatchStatusReporter(E);return{onWatchStatusChange:w,watchFile:S.maybeBind(E,E.watchFile)||function(){return S.noopFileWatcher},watchDirectory:S.maybeBind(E,E.watchDirectory)||function(){return S.noopFileWatcher},setTimeout:S.maybeBind(E,E.setTimeout)||S.noop,clearTimeout:S.maybeBind(E,E.clearTimeout)||S.noop}}S.createWatchHost=createWatchHost;S.WatchType={ConfigFile:"Config file",SourceFile:"Source file",MissingFile:"Missing file",WildcardDirectory:"Wild card directory",FailedLookupLocations:"Failed Lookup Locations",TypeRoots:"Type roots"};function createWatchFactory(E,k){var w=E.trace?k.extendedDiagnostics?S.WatchLogLevel.Verbose:k.diagnostics?S.WatchLogLevel.TriggerOnly:S.WatchLogLevel.None:S.WatchLogLevel.None;var N=w!==S.WatchLogLevel.None?function(S){return E.trace(S)}:S.noop;var j=S.getWatchFactory(w,N);j.writeLog=N;return j}S.createWatchFactory=createWatchFactory;function createCompilerHostFromProgramHost(E,k,w){if(w===void 0){w=E}var N=E.useCaseSensitiveFileNames();var j=S.memoize((function(){return E.getNewLine()}));return{getSourceFile:function(w,N,j){var q;try{S.performance.mark("beforeIORead");q=E.readFile(w,k().charset);S.performance.mark("afterIORead");S.performance.measure("I/O Read","beforeIORead","afterIORead")}catch(S){if(j){j(S.message)}q=""}return q!==undefined?S.createSourceFile(w,q,N):undefined},getDefaultLibLocation:S.maybeBind(E,E.getDefaultLibLocation),getDefaultLibFileName:function(S){return E.getDefaultLibFileName(S)},writeFile:writeFile,getCurrentDirectory:S.memoize((function(){return E.getCurrentDirectory()})),useCaseSensitiveFileNames:function(){return N},getCanonicalFileName:S.createGetCanonicalFileName(N),getNewLine:function(){return S.getNewLineCharacter(k(),j)},fileExists:function(S){return E.fileExists(S)},readFile:function(S){return E.readFile(S)},trace:S.maybeBind(E,E.trace),directoryExists:S.maybeBind(w,w.directoryExists),getDirectories:S.maybeBind(w,w.getDirectories),realpath:S.maybeBind(E,E.realpath),getEnvironmentVariable:S.maybeBind(E,E.getEnvironmentVariable)||function(){return""},createHash:S.maybeBind(E,E.createHash),readDirectory:S.maybeBind(E,E.readDirectory)};function writeFile(k,w,N,j){try{S.performance.mark("beforeIOWrite");S.writeFileEnsuringDirectories(k,w,N,(function(S,k,w){return E.writeFile(S,k,w)}),(function(S){return E.createDirectory(S)}),(function(S){return E.directoryExists(S)}));S.performance.mark("afterIOWrite");S.performance.measure("I/O Write","beforeIOWrite","afterIOWrite")}catch(S){if(j){j(S.message)}}}}S.createCompilerHostFromProgramHost=createCompilerHostFromProgramHost;function setGetSourceFileAsHashVersioned(E,k){var N=E.getSourceFile;var j=k.createHash||S.generateDjb2Hash;E.getSourceFile=function(){var S=[];for(var q=0;qS?E:S}function isDeclarationFile(E){return S.fileExtensionIs(E,".d.ts")}function isCircularBuildOrder(S){return!!S&&!!S.buildOrder}S.isCircularBuildOrder=isCircularBuildOrder;function getBuildOrderFromAnyBuildOrder(S){return isCircularBuildOrder(S)?S.buildOrder:S}S.getBuildOrderFromAnyBuildOrder=getBuildOrderFromAnyBuildOrder;function createBuilderStatusReporter(E,k){return function(w){var N=k?"["+S.formatColorAndReset(S.getLocaleTimeString(E),S.ForegroundColorEscapeSequences.Grey)+"] ":S.getLocaleTimeString(E)+" - ";N+=""+S.flattenDiagnosticMessageText(w.messageText,E.newLine)+(E.newLine+E.newLine);E.write(N)}}S.createBuilderStatusReporter=createBuilderStatusReporter;function createSolutionBuilderHostBase(E,k,w,N){var j=S.createProgramHost(E,k);j.getModifiedTime=E.getModifiedTime?function(S){return E.getModifiedTime(S)}:S.returnUndefined;j.setModifiedTime=E.setModifiedTime?function(S,k){return E.setModifiedTime(S,k)}:S.noop;j.deleteFile=E.deleteFile?function(S){return E.deleteFile(S)}:S.noop;j.reportDiagnostic=w||S.createDiagnosticReporter(E);j.reportSolutionBuilderStatus=N||createBuilderStatusReporter(E);j.now=S.maybeBind(E,E.now);return j}function createSolutionBuilderHost(E,k,w,N,j){if(E===void 0){E=S.sys}var q=createSolutionBuilderHostBase(E,k,w,N);q.reportErrorSummary=j;return q}S.createSolutionBuilderHost=createSolutionBuilderHost;function createSolutionBuilderWithWatchHost(E,k,w,N,j){if(E===void 0){E=S.sys}var q=createSolutionBuilderHostBase(E,k,w,N);var ee=S.createWatchHost(E,j);S.copyProperties(q,ee);return q}S.createSolutionBuilderWithWatchHost=createSolutionBuilderWithWatchHost;function getCompilerOptionsOfBuildOptions(E){var k={};S.commonOptionsWithBuild.forEach((function(w){if(S.hasProperty(E,w.name))k[w.name]=E[w.name]}));return k}function createSolutionBuilder(S,E,k){return createSolutionBuilderWorker(false,S,E,k)}S.createSolutionBuilder=createSolutionBuilder;function createSolutionBuilderWithWatch(S,E,k,w){return createSolutionBuilderWorker(true,S,E,k,w)}S.createSolutionBuilderWithWatch=createSolutionBuilderWithWatch;function createSolutionBuilderState(E,k,w,N,j){var q=k;var ee=k;var te=q.getCurrentDirectory();var ne=S.createGetCanonicalFileName(q.useCaseSensitiveFileNames());var ae=getCompilerOptionsOfBuildOptions(N);var _e=S.createCompilerHostFromProgramHost(q,(function(){return Ie.projectCompilerOptions}));S.setGetSourceFileAsHashVersioned(_e,q);_e.getParsedCommandLine=function(S){return parseConfigFile(Ie,S,toResolvedConfigFilePath(Ie,S))};_e.resolveModuleNames=S.maybeBind(q,q.resolveModuleNames);_e.resolveTypeReferenceDirectives=S.maybeBind(q,q.resolveTypeReferenceDirectives);var ve=!_e.resolveModuleNames?S.createModuleResolutionCache(te,ne):undefined;if(!_e.resolveModuleNames){var loader_3=function(E,k,w){return S.resolveModuleName(E,k,Ie.projectCompilerOptions,_e,ve,w).resolvedModule};_e.resolveModuleNames=function(E,k,w,N){return S.loadWithLocalCache(S.Debug.checkEachDefined(E),k,N,loader_3)}}var Ee=S.createWatchFactory(ee,N),Te=Ee.watchFile,Ce=Ee.watchFilePath,we=Ee.watchDirectory,Ne=Ee.writeLog;var Ie={host:q,hostWithWatch:ee,currentDirectory:te,getCanonicalFileName:ne,parseConfigFileHost:S.parseConfigHostFromCompilerHostLike(q),writeFileName:q.trace?function(S){return q.trace(S)}:undefined,options:N,baseCompilerOptions:ae,rootNames:w,baseWatchOptions:j,resolvedConfigFilePaths:S.createMap(),configFileCache:createConfigFileMap(),projectStatus:createConfigFileMap(),buildInfoChecked:createConfigFileMap(),extendedConfigCache:S.createMap(),builderPrograms:createConfigFileMap(),diagnostics:createConfigFileMap(),projectPendingBuild:createConfigFileMap(),projectErrorsReported:createConfigFileMap(),compilerHost:_e,moduleResolutionCache:ve,buildOrder:undefined,readFileWithCache:function(S){return q.readFile(S)},projectCompilerOptions:ae,cache:undefined,allProjectBuildPending:true,needsSummary:true,watchAllProjectsPending:E,currentInvalidatedProject:undefined,watch:E,allWatchedWildcardDirectories:createConfigFileMap(),allWatchedInputFiles:createConfigFileMap(),allWatchedConfigFiles:createConfigFileMap(),timerToBuildInvalidatedProject:undefined,reportFileChangeDetected:false,watchFile:Te,watchFilePath:Ce,watchDirectory:we,writeLog:Ne};return Ie}function toPath(E,k){return S.toPath(k,E.currentDirectory,E.getCanonicalFileName)}function toResolvedConfigFilePath(S,E){var k=S.resolvedConfigFilePaths;var w=k.get(E);if(w!==undefined)return w;var N=toPath(S,E);k.set(E,N);return N}function isParsedCommandLine(S){return!!S.options}function parseConfigFile(E,k,w){var N=E.configFileCache;var j=N.get(w);if(j){return isParsedCommandLine(j)?j:undefined}var q;var ee=E.parseConfigFileHost,te=E.baseCompilerOptions,ne=E.baseWatchOptions,ae=E.extendedConfigCache,_e=E.host;var ve;if(_e.getParsedCommandLine){ve=_e.getParsedCommandLine(k);if(!ve)q=S.createCompilerDiagnostic(S.Diagnostics.File_0_not_found,k)}else{ee.onUnRecoverableConfigFileDiagnostic=function(S){return q=S};ve=S.getParsedCommandLineOfConfigFile(k,te,ee,ae,ne);ee.onUnRecoverableConfigFileDiagnostic=S.noop}N.set(w,ve||q);return ve}function resolveProjectName(E,k){return S.resolveConfigFileProjectName(S.resolvePath(E.currentDirectory,k))}function createBuildOrder(E,k){var w=S.createMap();var N=S.createMap();var j=[];var q;var ee;for(var te=0,ne=k;tej)}}}function needsBuild(E,k,w){var N=E.options;if(k.type!==S.UpToDateStatusType.OutOfDateWithPrepend||N.force)return true;return w.fileNames.length===0||!!S.getConfigFileParsingDiagnostics(w).length||!S.isIncrementalCompilation(w.options)}function getNextInvalidatedProject(E,k,w){if(!E.projectPendingBuild.size)return undefined;if(isCircularBuildOrder(k))return undefined;if(E.currentInvalidatedProject){return S.arrayIsEqualTo(E.currentInvalidatedProject.buildOrder,k)?E.currentInvalidatedProject:undefined}var N=E.options,q=E.projectPendingBuild;for(var ee=0;ee0);var q={sourceFile:w.options.configFile,commandLine:w};N.directoryToModuleNameMap.setOwnMap(N.directoryToModuleNameMap.getOrCreateMapOfCacheRedirects(q));N.moduleNameToDirectoryMap.setOwnMap(N.moduleNameToDirectoryMap.getOrCreateMapOfCacheRedirects(q))}N.directoryToModuleNameMap.setOwnOptions(w.options);N.moduleNameToDirectoryMap.setOwnOptions(w.options)}function checkConfigFileUpToDateStatus(E,k,w,N){var j=E.host.getModifiedTime(k)||S.missingFileModifiedTime;if(wee){q=_e;ee=ve}}if(!N.fileNames.length&&!S.canJsonReportNoInutFiles(N.raw)){return{type:S.UpToDateStatusType.ContainerOnly}}var Ee=S.getAllProjectOutputs(N,!te.useCaseSensitiveFileNames());var Te="(none)";var Ce=k;var we="(none)";var Ne=E;var Ie;var Fe=E;var Oe=false;for(var Me=0,Re=Ee;MeNe){Ne=Be;we=Le}if(isDeclarationFile(Le)){var je=te.getModifiedTime(Le)||S.missingFileModifiedTime;Fe=newer(Fe,je)}}var ze=false;var Ue=false;var We;if(N.projectReferences){w.projectStatus.set(j,{type:S.UpToDateStatusType.ComputingUpstream});for(var $e=0,qe=N.projectReferences;$e=0}E.hasArgument=hasArgument;function findArgument(E){var k=S.sys.args.indexOf(E);return k>=0&&kw){return 2}if(S.charCodeAt(0)===46){return 3}if(S.charCodeAt(0)===95){return 4}if(E){var k=/^@([^/]+)\/([^/]+)$/.exec(S);if(k){var N=validatePackageNameWorker(k[1],false);if(N!==0){return{name:k[1],isScopeName:true,result:N}}var j=validatePackageNameWorker(k[2],false);if(j!==0){return{name:k[2],isScopeName:false,result:j}}return 0}}if(encodeURIComponent(S)!==S){return 5}return 0}function renderPackageNameValidationFailure(S,E){return typeof S==="object"?renderPackageNameValidationFailureWorker(E,S.result,S.name,S.isScopeName):renderPackageNameValidationFailureWorker(E,S,E,false)}E.renderPackageNameValidationFailure=renderPackageNameValidationFailure;function renderPackageNameValidationFailureWorker(E,k,N,j){var q=j?"Scope":"Package";switch(k){case 1:return"'"+E+"':: "+q+" name '"+N+"' cannot be empty";case 2:return"'"+E+"':: "+q+" name '"+N+"' should be less than "+w+" characters";case 3:return"'"+E+"':: "+q+" name '"+N+"' cannot start with '.'";case 4:return"'"+E+"':: "+q+" name '"+N+"' cannot start with '_'";case 5:return"'"+E+"':: "+q+" name '"+N+"' contains non URI safe characters";case 0:return S.Debug.fail();default:throw S.Debug.assertNever(k)}}})(E=S.JsTyping||(S.JsTyping={}))})(ne||(ne={}));var ne;(function(S){var E;(function(S){var E=function(){function StringScriptSnapshot(S){this.text=S}StringScriptSnapshot.prototype.getText=function(S,E){return S===0&&E===this.text.length?this.text:this.text.substring(S,E)};StringScriptSnapshot.prototype.getLength=function(){return this.text.length};StringScriptSnapshot.prototype.getChangeRange=function(){return undefined};return StringScriptSnapshot}();function fromString(S){return new E(S)}S.fromString=fromString})(E=S.ScriptSnapshot||(S.ScriptSnapshot={}));var k;(function(S){S[S["Dependencies"]=1]="Dependencies";S[S["DevDependencies"]=2]="DevDependencies";S[S["PeerDependencies"]=4]="PeerDependencies";S[S["OptionalDependencies"]=8]="OptionalDependencies";S[S["All"]=15]="All"})(k=S.PackageJsonDependencyGroup||(S.PackageJsonDependencyGroup={}));S.emptyOptions={};var w;(function(S){S["none"]="none";S["definition"]="definition";S["reference"]="reference";S["writtenReference"]="writtenReference"})(w=S.HighlightSpanKind||(S.HighlightSpanKind={}));var N;(function(S){S[S["None"]=0]="None";S[S["Block"]=1]="Block";S[S["Smart"]=2]="Smart"})(N=S.IndentStyle||(S.IndentStyle={}));var j;(function(S){S["Ignore"]="ignore";S["Insert"]="insert";S["Remove"]="remove"})(j=S.SemicolonPreference||(S.SemicolonPreference={}));function getDefaultFormatCodeSettings(S){return{indentSize:4,tabSize:4,newLineCharacter:S||"\n",convertTabsToSpaces:true,indentStyle:N.Smart,insertSpaceAfterConstructor:false,insertSpaceAfterCommaDelimiter:true,insertSpaceAfterSemicolonInForStatements:true,insertSpaceBeforeAndAfterBinaryOperators:true,insertSpaceAfterKeywordsInControlFlowStatements:true,insertSpaceAfterFunctionKeywordForAnonymousFunctions:false,insertSpaceAfterOpeningAndBeforeClosingNonemptyParenthesis:false,insertSpaceAfterOpeningAndBeforeClosingNonemptyBrackets:false,insertSpaceAfterOpeningAndBeforeClosingNonemptyBraces:true,insertSpaceAfterOpeningAndBeforeClosingTemplateStringBraces:false,insertSpaceAfterOpeningAndBeforeClosingJsxExpressionBraces:false,insertSpaceBeforeFunctionParenthesis:false,placeOpenBraceOnNewLineForFunctions:false,placeOpenBraceOnNewLineForControlBlocks:false,semicolons:j.Ignore,trimTrailingWhitespace:true}}S.getDefaultFormatCodeSettings=getDefaultFormatCodeSettings;S.testFormatSettings=getDefaultFormatCodeSettings("\n");var q;(function(S){S[S["aliasName"]=0]="aliasName";S[S["className"]=1]="className";S[S["enumName"]=2]="enumName";S[S["fieldName"]=3]="fieldName";S[S["interfaceName"]=4]="interfaceName";S[S["keyword"]=5]="keyword";S[S["lineBreak"]=6]="lineBreak";S[S["numericLiteral"]=7]="numericLiteral";S[S["stringLiteral"]=8]="stringLiteral";S[S["localName"]=9]="localName";S[S["methodName"]=10]="methodName";S[S["moduleName"]=11]="moduleName";S[S["operator"]=12]="operator";S[S["parameterName"]=13]="parameterName";S[S["propertyName"]=14]="propertyName";S[S["punctuation"]=15]="punctuation";S[S["space"]=16]="space";S[S["text"]=17]="text";S[S["typeParameterName"]=18]="typeParameterName";S[S["enumMemberName"]=19]="enumMemberName";S[S["functionName"]=20]="functionName";S[S["regularExpressionLiteral"]=21]="regularExpressionLiteral"})(q=S.SymbolDisplayPartKind||(S.SymbolDisplayPartKind={}));var ee;(function(S){S["Comment"]="comment";S["Region"]="region";S["Code"]="code";S["Imports"]="imports"})(ee=S.OutliningSpanKind||(S.OutliningSpanKind={}));var te;(function(S){S[S["JavaScript"]=0]="JavaScript";S[S["SourceMap"]=1]="SourceMap";S[S["Declaration"]=2]="Declaration"})(te=S.OutputFileType||(S.OutputFileType={}));var ne;(function(S){S[S["None"]=0]="None";S[S["InMultiLineCommentTrivia"]=1]="InMultiLineCommentTrivia";S[S["InSingleQuoteStringLiteral"]=2]="InSingleQuoteStringLiteral";S[S["InDoubleQuoteStringLiteral"]=3]="InDoubleQuoteStringLiteral";S[S["InTemplateHeadOrNoSubstitutionTemplate"]=4]="InTemplateHeadOrNoSubstitutionTemplate";S[S["InTemplateMiddleOrTail"]=5]="InTemplateMiddleOrTail";S[S["InTemplateSubstitutionPosition"]=6]="InTemplateSubstitutionPosition"})(ne=S.EndOfLineState||(S.EndOfLineState={}));var ae;(function(S){S[S["Punctuation"]=0]="Punctuation";S[S["Keyword"]=1]="Keyword";S[S["Operator"]=2]="Operator";S[S["Comment"]=3]="Comment";S[S["Whitespace"]=4]="Whitespace";S[S["Identifier"]=5]="Identifier";S[S["NumberLiteral"]=6]="NumberLiteral";S[S["BigIntLiteral"]=7]="BigIntLiteral";S[S["StringLiteral"]=8]="StringLiteral";S[S["RegExpLiteral"]=9]="RegExpLiteral"})(ae=S.TokenClass||(S.TokenClass={}));var _e;(function(S){S["unknown"]="";S["warning"]="warning";S["keyword"]="keyword";S["scriptElement"]="script";S["moduleElement"]="module";S["classElement"]="class";S["localClassElement"]="local class";S["interfaceElement"]="interface";S["typeElement"]="type";S["enumElement"]="enum";S["enumMemberElement"]="enum member";S["variableElement"]="var";S["localVariableElement"]="local var";S["functionElement"]="function";S["localFunctionElement"]="local function";S["memberFunctionElement"]="method";S["memberGetAccessorElement"]="getter";S["memberSetAccessorElement"]="setter";S["memberVariableElement"]="property";S["constructorImplementationElement"]="constructor";S["callSignatureElement"]="call";S["indexSignatureElement"]="index";S["constructSignatureElement"]="construct";S["parameterElement"]="parameter";S["typeParameterElement"]="type parameter";S["primitiveType"]="primitive type";S["label"]="label";S["alias"]="alias";S["constElement"]="const";S["letElement"]="let";S["directory"]="directory";S["externalModuleName"]="external module name";S["jsxAttribute"]="JSX attribute";S["string"]="string"})(_e=S.ScriptElementKind||(S.ScriptElementKind={}));var ve;(function(S){S["none"]="";S["publicMemberModifier"]="public";S["privateMemberModifier"]="private";S["protectedMemberModifier"]="protected";S["exportedModifier"]="export";S["ambientModifier"]="declare";S["staticModifier"]="static";S["abstractModifier"]="abstract";S["optionalModifier"]="optional";S["dtsModifier"]=".d.ts";S["tsModifier"]=".ts";S["tsxModifier"]=".tsx";S["jsModifier"]=".js";S["jsxModifier"]=".jsx";S["jsonModifier"]=".json"})(ve=S.ScriptElementKindModifier||(S.ScriptElementKindModifier={}));var Ee;(function(S){S["comment"]="comment";S["identifier"]="identifier";S["keyword"]="keyword";S["numericLiteral"]="number";S["bigintLiteral"]="bigint";S["operator"]="operator";S["stringLiteral"]="string";S["whiteSpace"]="whitespace";S["text"]="text";S["punctuation"]="punctuation";S["className"]="class name";S["enumName"]="enum name";S["interfaceName"]="interface name";S["moduleName"]="module name";S["typeParameterName"]="type parameter name";S["typeAliasName"]="type alias name";S["parameterName"]="parameter name";S["docCommentTagName"]="doc comment tag name";S["jsxOpenTagName"]="jsx open tag name";S["jsxCloseTagName"]="jsx close tag name";S["jsxSelfClosingTagName"]="jsx self closing tag name";S["jsxAttribute"]="jsx attribute";S["jsxText"]="jsx text";S["jsxAttributeStringLiteralValue"]="jsx attribute string literal value"})(Ee=S.ClassificationTypeNames||(S.ClassificationTypeNames={}));var Te;(function(S){S[S["comment"]=1]="comment";S[S["identifier"]=2]="identifier";S[S["keyword"]=3]="keyword";S[S["numericLiteral"]=4]="numericLiteral";S[S["operator"]=5]="operator";S[S["stringLiteral"]=6]="stringLiteral";S[S["regularExpressionLiteral"]=7]="regularExpressionLiteral";S[S["whiteSpace"]=8]="whiteSpace";S[S["text"]=9]="text";S[S["punctuation"]=10]="punctuation";S[S["className"]=11]="className";S[S["enumName"]=12]="enumName";S[S["interfaceName"]=13]="interfaceName";S[S["moduleName"]=14]="moduleName";S[S["typeParameterName"]=15]="typeParameterName";S[S["typeAliasName"]=16]="typeAliasName";S[S["parameterName"]=17]="parameterName";S[S["docCommentTagName"]=18]="docCommentTagName";S[S["jsxOpenTagName"]=19]="jsxOpenTagName";S[S["jsxCloseTagName"]=20]="jsxCloseTagName";S[S["jsxSelfClosingTagName"]=21]="jsxSelfClosingTagName";S[S["jsxAttribute"]=22]="jsxAttribute";S[S["jsxText"]=23]="jsxText";S[S["jsxAttributeStringLiteralValue"]=24]="jsxAttributeStringLiteralValue";S[S["bigintLiteral"]=25]="bigintLiteral"})(Te=S.ClassificationType||(S.ClassificationType={}))})(ne||(ne={}));var ne;(function(S){S.scanner=S.createScanner(99,true);var E;(function(S){S[S["None"]=0]="None";S[S["Value"]=1]="Value";S[S["Type"]=2]="Type";S[S["Namespace"]=4]="Namespace";S[S["All"]=7]="All"})(E=S.SemanticMeaning||(S.SemanticMeaning={}));function getMeaningFromDeclaration(E){switch(E.kind){case 242:return S.isInJSFile(E)&&S.getJSDocEnumTag(E)?7:1;case 156:case 191:case 159:case 158:case 281:case 282:case 161:case 160:case 162:case 163:case 164:case 244:case 201:case 202:case 280:case 273:return 1;case 155:case 246:case 247:case 173:return 2;case 322:return E.name===undefined?1|2:2;case 284:case 245:return 1|2;case 249:if(S.isAmbientModule(E)){return 4|1}else if(S.getModuleInstanceState(E)===1){return 4|1}else{return 4}case 248:case 257:case 258:case 253:case 254:case 259:case 260:return 7;case 290:return 4|1}return 7}S.getMeaningFromDeclaration=getMeaningFromDeclaration;function getMeaningFromLocation(E){E=getAdjustedReferenceLocation(E);if(E.kind===290){return 1}else if(E.parent.kind===259||E.parent.kind===265||E.parent.kind===258||E.parent.kind===255||S.isImportEqualsDeclaration(E.parent)&&E===E.parent.name){return 7}else if(isInRightSideOfInternalImportEqualsDeclaration(E)){return getMeaningFromRightHandSideOfImportEquals(E)}else if(S.isDeclarationName(E)){return getMeaningFromDeclaration(E.parent)}else if(isTypeReference(E)){return 2}else if(isNamespaceReference(E)){return 4}else if(S.isTypeParameterDeclaration(E.parent)){S.Debug.assert(S.isJSDocTemplateTag(E.parent.parent));return 2}else if(S.isLiteralTypeNode(E.parent)){return 2|1}else{return 1}}S.getMeaningFromLocation=getMeaningFromLocation;function getMeaningFromRightHandSideOfImportEquals(E){var k=E.kind===153?E:S.isQualifiedName(E.parent)&&E.parent.right===E?E.parent:undefined;return k&&k.parent.kind===253?7:4}function isInRightSideOfInternalImportEqualsDeclaration(E){while(E.parent.kind===153){E=E.parent}return S.isInternalModuleImportEqualsDeclaration(E.parent)&&E.parent.moduleReference===E}S.isInRightSideOfInternalImportEqualsDeclaration=isInRightSideOfInternalImportEqualsDeclaration;function isNamespaceReference(S){return isQualifiedNameNamespaceReference(S)||isPropertyAccessNamespaceReference(S)}function isQualifiedNameNamespaceReference(S){var E=S;var k=true;if(E.parent.kind===153){while(E.parent&&E.parent.kind===153){E=E.parent}k=E.right===S}return E.parent.kind===169&&!k}function isPropertyAccessNamespaceReference(S){var E=S;var k=true;if(E.parent.kind===194){while(E.parent&&E.parent.kind===194){E=E.parent}k=E.name===S}if(!k&&E.parent.kind===216&&E.parent.parent.kind===279){var w=E.parent.parent.parent;return w.kind===245&&E.parent.parent.token===113||w.kind===246&&E.parent.parent.token===90}return false}function isTypeReference(E){if(S.isRightSideOfQualifiedNameOrPropertyAccess(E)){E=E.parent}switch(E.kind){case 104:return!S.isExpressionNode(E);case 183:return true}switch(E.parent.kind){case 169:return true;case 188:return!E.parent.isTypeOf;case 216:return!S.isExpressionWithTypeArgumentsInClassExtendsClause(E.parent)}return false}function isCallExpressionTarget(E,k,w){if(k===void 0){k=false}if(w===void 0){w=false}return isCalleeWorker(E,S.isCallExpression,selectExpressionOfCallOrNewExpressionOrDecorator,k,w)}S.isCallExpressionTarget=isCallExpressionTarget;function isNewExpressionTarget(E,k,w){if(k===void 0){k=false}if(w===void 0){w=false}return isCalleeWorker(E,S.isNewExpression,selectExpressionOfCallOrNewExpressionOrDecorator,k,w)}S.isNewExpressionTarget=isNewExpressionTarget;function isCallOrNewExpressionTarget(E,k,w){if(k===void 0){k=false}if(w===void 0){w=false}return isCalleeWorker(E,S.isCallOrNewExpression,selectExpressionOfCallOrNewExpressionOrDecorator,k,w)}S.isCallOrNewExpressionTarget=isCallOrNewExpressionTarget;function isTaggedTemplateTag(E,k,w){if(k===void 0){k=false}if(w===void 0){w=false}return isCalleeWorker(E,S.isTaggedTemplateExpression,selectTagOfTaggedTemplateExpression,k,w)}S.isTaggedTemplateTag=isTaggedTemplateTag;function isDecoratorTarget(E,k,w){if(k===void 0){k=false}if(w===void 0){w=false}return isCalleeWorker(E,S.isDecorator,selectExpressionOfCallOrNewExpressionOrDecorator,k,w)}S.isDecoratorTarget=isDecoratorTarget;function isJsxOpeningLikeElementTagName(E,k,w){if(k===void 0){k=false}if(w===void 0){w=false}return isCalleeWorker(E,S.isJsxOpeningLikeElement,selectTagNameOfJsxOpeningLikeElement,k,w)}S.isJsxOpeningLikeElementTagName=isJsxOpeningLikeElementTagName;function selectExpressionOfCallOrNewExpressionOrDecorator(S){return S.expression}function selectTagOfTaggedTemplateExpression(S){return S.tag}function selectTagNameOfJsxOpeningLikeElement(S){return S.tagName}function isCalleeWorker(E,k,w,N,j){var q=N?climbPastPropertyOrElementAccess(E):climbPastPropertyAccess(E);if(j){q=S.skipOuterExpressions(q)}return!!q&&!!q.parent&&k(q.parent)&&w(q.parent)===q}function climbPastPropertyAccess(S){return isRightSideOfPropertyAccess(S)?S.parent:S}S.climbPastPropertyAccess=climbPastPropertyAccess;function climbPastPropertyOrElementAccess(S){return isRightSideOfPropertyAccess(S)||isArgumentExpressionOfElementAccess(S)?S.parent:S}S.climbPastPropertyOrElementAccess=climbPastPropertyOrElementAccess;function getTargetLabel(S,E){while(S){if(S.kind===238&&S.label.escapedText===E){return S.label}S=S.parent}return undefined}S.getTargetLabel=getTargetLabel;function hasPropertyAccessExpressionWithName(E,k){if(!S.isPropertyAccessExpression(E.expression)){return false}return E.expression.name.text===k}S.hasPropertyAccessExpressionWithName=hasPropertyAccessExpressionWithName;function isJumpStatementTarget(E){var k;return S.isIdentifier(E)&&((k=S.tryCast(E.parent,S.isBreakOrContinueStatement))===null||k===void 0?void 0:k.label)===E}S.isJumpStatementTarget=isJumpStatementTarget;function isLabelOfLabeledStatement(E){var k;return S.isIdentifier(E)&&((k=S.tryCast(E.parent,S.isLabeledStatement))===null||k===void 0?void 0:k.label)===E}S.isLabelOfLabeledStatement=isLabelOfLabeledStatement;function isLabelName(S){return isLabelOfLabeledStatement(S)||isJumpStatementTarget(S)}S.isLabelName=isLabelName;function isTagName(E){var k;return((k=S.tryCast(E.parent,S.isJSDocTag))===null||k===void 0?void 0:k.tagName)===E}S.isTagName=isTagName;function isRightSideOfQualifiedName(E){var k;return((k=S.tryCast(E.parent,S.isQualifiedName))===null||k===void 0?void 0:k.right)===E}S.isRightSideOfQualifiedName=isRightSideOfQualifiedName;function isRightSideOfPropertyAccess(E){var k;return((k=S.tryCast(E.parent,S.isPropertyAccessExpression))===null||k===void 0?void 0:k.name)===E}S.isRightSideOfPropertyAccess=isRightSideOfPropertyAccess;function isArgumentExpressionOfElementAccess(E){var k;return((k=S.tryCast(E.parent,S.isElementAccessExpression))===null||k===void 0?void 0:k.argumentExpression)===E}S.isArgumentExpressionOfElementAccess=isArgumentExpressionOfElementAccess;function isNameOfModuleDeclaration(E){var k;return((k=S.tryCast(E.parent,S.isModuleDeclaration))===null||k===void 0?void 0:k.name)===E}S.isNameOfModuleDeclaration=isNameOfModuleDeclaration;function isNameOfFunctionDeclaration(E){var k;return S.isIdentifier(E)&&((k=S.tryCast(E.parent,S.isFunctionLike))===null||k===void 0?void 0:k.name)===E}S.isNameOfFunctionDeclaration=isNameOfFunctionDeclaration;function isLiteralNameOfPropertyDeclarationOrIndexAccess(E){switch(E.parent.kind){case 159:case 158:case 281:case 284:case 161:case 160:case 163:case 164:case 249:return S.getNameOfDeclaration(E.parent)===E;case 195:return E.parent.argumentExpression===E;case 154:return true;case 187:return E.parent.parent.kind===185;default:return false}}S.isLiteralNameOfPropertyDeclarationOrIndexAccess=isLiteralNameOfPropertyDeclarationOrIndexAccess;function isExpressionOfExternalModuleImportEqualsDeclaration(E){return S.isExternalModuleImportEqualsDeclaration(E.parent.parent)&&S.getExternalModuleImportEqualsDeclarationExpression(E.parent.parent)===E}S.isExpressionOfExternalModuleImportEqualsDeclaration=isExpressionOfExternalModuleImportEqualsDeclaration;function getContainerNode(E){if(S.isJSDocTypeAlias(E)){E=E.parent.parent}while(true){E=E.parent;if(!E){return undefined}switch(E.kind){case 290:case 161:case 160:case 244:case 201:case 163:case 164:case 245:case 246:case 248:case 249:return E}}}S.getContainerNode=getContainerNode;function getNodeKind(E){switch(E.kind){case 290:return S.isExternalModule(E)?"module":"script";case 249:return"module";case 245:case 214:return"class";case 246:return"interface";case 247:case 315:case 322:return"type";case 248:return"enum";case 242:return getKindOfVariableDeclaration(E);case 191:return getKindOfVariableDeclaration(S.getRootDeclaration(E));case 202:case 244:case 201:return"function";case 163:return"getter";case 164:return"setter";case 161:case 160:return"method";case 281:var k=E.initializer;return S.isFunctionLike(k)?"method":"property";case 159:case 158:case 282:case 283:return"property";case 167:return"index";case 166:return"construct";case 165:return"call";case 162:return"constructor";case 155:return"type parameter";case 284:return"enum member";case 156:return S.hasModifier(E,92)?"property":"parameter";case 253:case 258:case 263:case 256:case 262:return"alias";case 209:var w=S.getAssignmentDeclarationKind(E);var N=E.right;switch(w){case 7:case 8:case 9:case 0:return"";case 1:case 2:var j=getNodeKind(N);return j===""?"const":j;case 3:return S.isFunctionExpression(N)?"method":"property";case 4:return"property";case 5:return S.isFunctionExpression(N)?"method":"property";case 6:return"local class";default:{S.assertType(w);return""}}case 75:return S.isImportClause(E.parent)?"alias":"";case 259:var q=getNodeKind(E.expression);return q===""?"const":q;default:return""}function getKindOfVariableDeclaration(E){return S.isVarConst(E)?"const":S.isLet(E)?"let":"var"}}S.getNodeKind=getNodeKind;function isThis(E){switch(E.kind){case 104:return true;case 75:return S.identifierIsThisKeyword(E)&&E.parent.kind===156;default:return false}}S.isThis=isThis;var k=/^\/\/\/\s*=k.end}S.startEndContainsRange=startEndContainsRange;function rangeContainsStartEnd(S,E,k){return S.pos<=E&&S.end>=k}S.rangeContainsStartEnd=rangeContainsStartEnd;function rangeOverlapsWithStartEnd(S,E,k){return startEndOverlapsWithStartEnd(S.pos,S.end,E,k)}S.rangeOverlapsWithStartEnd=rangeOverlapsWithStartEnd;function nodeOverlapsWithStartEnd(S,E,k,w){return startEndOverlapsWithStartEnd(S.getStart(E),S.end,k,w)}S.nodeOverlapsWithStartEnd=nodeOverlapsWithStartEnd;function startEndOverlapsWithStartEnd(S,E,k,w){var N=Math.max(S,k);var j=Math.min(E,w);return NE){break}var ae=te.getEnd();if(Ew.getStart(E)&&kE.end||S.pos===E.end;return k&&nodeHasTokens(S,w)?find(S):undefined}))}}S.findNextToken=findNextToken;function findPrecedingToken(E,k,w,N){var j=find(w||k);S.Debug.assert(!(j&&isWhiteSpaceOnlyJsxText(j)));return j;function find(j){if(isNonWhitespaceToken(j)&&j.kind!==1){return j}var q=j.getChildren(k);for(var ee=0;ee=E||!nodeHasTokens(te,k)||isWhiteSpaceOnlyJsxText(te);if(ae){var _e=findRightmostChildNodeWithTokens(q,ee,k);return _e&&findRightmostToken(_e,k)}else{return find(te)}}}S.Debug.assert(w!==undefined||j.kind===290||j.kind===1||S.isJSDocCommentContainingNode(j));var ve=findRightmostChildNodeWithTokens(q,q.length,k);return ve&&findRightmostToken(ve,k)}}S.findPrecedingToken=findPrecedingToken;function isNonWhitespaceToken(E){return S.isToken(E)&&!isWhiteSpaceOnlyJsxText(E)}function findRightmostToken(S,E){if(isNonWhitespaceToken(S)){return S}var k=S.getChildren(E);var w=findRightmostChildNodeWithTokens(k,k.length,E);return w&&findRightmostToken(w,E)}function findRightmostChildNodeWithTokens(E,k,w){for(var N=k-1;N>=0;N--){var j=E[N];if(isWhiteSpaceOnlyJsxText(j)){S.Debug.assert(N>0,"`JsxText` tokens should not be the first child of `JsxElement | JsxSelfClosingElement`")}else if(nodeHasTokens(E[N],w)){return E[N]}}}function isInString(E,k,w){if(w===void 0){w=findPrecedingToken(k,E)}if(w&&S.isStringTextContainingNode(w)){var N=w.getStart(E);var j=w.getEnd();if(Nw.getStart(E)}S.isInTemplateString=isInTemplateString;function isInJSXText(E,k){var w=getTokenAtPosition(E,k);if(S.isJsxText(w)){return true}if(w.kind===18&&S.isJsxExpression(w.parent)&&S.isJsxElement(w.parent.parent)){return true}if(w.kind===29&&S.isJsxOpeningLikeElement(w.parent)&&S.isJsxElement(w.parent.parent)){return true}return false}S.isInJSXText=isInJSXText;function findPrecedingMatchingToken(S,E,k){var w=S.kind;var N=0;while(true){var j=findPrecedingToken(S.getFullStart(),k);if(!j){return undefined}S=j;if(S.kind===E){if(N===0){return S}N--}else if(S.kind===w){N++}}}S.findPrecedingMatchingToken=findPrecedingMatchingToken;function removeOptionality(S,E,k){return E?S.getNonNullableType():k?S.getNonOptionalType():S}S.removeOptionality=removeOptionality;function isPossiblyTypeArgumentPosition(E,k,w){var N=getPossibleTypeArgumentsInfo(E,k);return N!==undefined&&(S.isPartOfTypeNode(N.called)||getPossibleGenericSignatures(N.called,N.nTypeArguments,w).length!==0||isPossiblyTypeArgumentPosition(N.called,k,w))}S.isPossiblyTypeArgumentPosition=isPossiblyTypeArgumentPosition;function getPossibleGenericSignatures(E,k,w){var N=w.getTypeAtLocation(E);if(S.isOptionalChain(E.parent)){N=removeOptionality(N,S.isOptionalChainRoot(E.parent),true)}var j=S.isNewExpression(E.parent)?N.getConstructSignatures():N.getCallSignatures();return j.filter((function(S){return!!S.typeParameters&&S.typeParameters.length>=k}))}S.getPossibleGenericSignatures=getPossibleGenericSignatures;function getPossibleTypeArgumentsInfo(E,k){var w=E;var N=0;var j=0;while(w){switch(w.kind){case 29:w=findPrecedingToken(w.getFullStart(),k);if(w&&w.kind===28){w=findPrecedingToken(w.getFullStart(),k)}if(!w||!S.isIdentifier(w))return undefined;if(!N){return S.isDeclarationName(w)?undefined:{called:w,nTypeArguments:j}}N--;break;case 49:N=+3;break;case 48:N=+2;break;case 31:N++;break;case 19:w=findPrecedingMatchingToken(w,18,k);if(!w)return undefined;break;case 21:w=findPrecedingMatchingToken(w,20,k);if(!w)return undefined;break;case 23:w=findPrecedingMatchingToken(w,22,k);if(!w)return undefined;break;case 27:j++;break;case 38:case 75:case 10:case 8:case 9:case 106:case 91:case 108:case 90:case 134:case 24:case 51:case 57:case 58:break;default:if(S.isTypeNode(w)){break}return undefined}w=findPrecedingToken(w.getFullStart(),k)}return undefined}S.getPossibleTypeArgumentsInfo=getPossibleTypeArgumentsInfo;function isInComment(E,k,w){return S.formatting.getRangeOfEnclosingComment(E,k,undefined,w)}S.isInComment=isInComment;function hasDocComment(E,k){var w=getTokenAtPosition(E,k);return!!S.findAncestor(w,S.isJSDoc)}S.hasDocComment=hasDocComment;function nodeHasTokens(S,E){return S.kind===1?!!S.jsDoc:S.getWidth(E)!==0}function getNodeModifiers(E){var k=S.isDeclaration(E)?S.getCombinedModifierFlags(E):0;var w=[];if(k&8)w.push("private");if(k&16)w.push("protected");if(k&4)w.push("public");if(k&32)w.push("static");if(k&128)w.push("abstract");if(k&1)w.push("export");if(E.flags&8388608)w.push("declare");if(E.kind===259)w.push("export");return w.length>0?w.join(","):""}S.getNodeModifiers=getNodeModifiers;function getTypeArgumentOrTypeParameterList(E){if(E.kind===169||E.kind===196){return E.typeArguments}if(S.isFunctionLike(E)||E.kind===245||E.kind===246){return E.typeParameters}return undefined}S.getTypeArgumentOrTypeParameterList=getTypeArgumentOrTypeParameterList;function isComment(S){return S===2||S===3}S.isComment=isComment;function isStringOrRegularExpressionOrTemplateLiteral(E){if(E===10||E===13||S.isTemplateLiteralKind(E)){return true}return false}S.isStringOrRegularExpressionOrTemplateLiteral=isStringOrRegularExpressionOrTemplateLiteral;function isPunctuation(S){return 18<=S&&S<=74}S.isPunctuation=isPunctuation;function isInsideTemplateLiteral(E,k,w){return S.isTemplateLiteralKind(E.kind)&&(E.getStart(w)=2||!!S.noEmit}S.compilerOptionsIndicateEs6Modules=compilerOptionsIndicateEs6Modules;function createModuleSpecifierResolutionHost(E,k){return{fileExists:function(S){return E.fileExists(S)},getCurrentDirectory:function(){return k.getCurrentDirectory()},readFile:S.maybeBind(k,k.readFile),useCaseSensitiveFileNames:S.maybeBind(k,k.useCaseSensitiveFileNames),getProbableSymlinks:S.maybeBind(k,k.getProbableSymlinks)||function(){return E.getProbableSymlinks()},getGlobalTypingsCacheLocation:S.maybeBind(k,k.getGlobalTypingsCacheLocation),getSourceFiles:function(){return E.getSourceFiles()},redirectTargetsMap:E.redirectTargetsMap,getProjectReferenceRedirect:function(S){return E.getProjectReferenceRedirect(S)},isSourceOfProjectReferenceRedirect:function(S){return E.isSourceOfProjectReferenceRedirect(S)}}}S.createModuleSpecifierResolutionHost=createModuleSpecifierResolutionHost;function getModuleSpecifierResolverHost(S,E){return N(N({},createModuleSpecifierResolutionHost(S,E)),{getCommonSourceDirectory:function(){return S.getCommonSourceDirectory()}})}S.getModuleSpecifierResolverHost=getModuleSpecifierResolverHost;function makeImportIfNecessary(S,E,k,w){return S||E&&E.length?makeImport(S,E,k,w):undefined}S.makeImportIfNecessary=makeImportIfNecessary;function makeImport(E,k,w,N,j){return S.createImportDeclaration(undefined,undefined,E||k?S.createImportClause(E,k&&k.length?S.createNamedImports(k):undefined,j):undefined,typeof w==="string"?makeStringLiteral(w,N):w)}S.makeImport=makeImport;function makeStringLiteral(E,k){return S.createLiteral(E,k===0)}S.makeStringLiteral=makeStringLiteral;var w;(function(S){S[S["Single"]=0]="Single";S[S["Double"]=1]="Double"})(w=S.QuotePreference||(S.QuotePreference={}));function quotePreferenceFromString(E,k){return S.isStringDoubleQuoted(E,k)?1:0}S.quotePreferenceFromString=quotePreferenceFromString;function getQuotePreference(E,k){if(k.quotePreference&&k.quotePreference!=="auto"){return k.quotePreference==="single"?0:1}else{var w=E.imports&&S.find(E.imports,S.isStringLiteral);return w?quotePreferenceFromString(w,E):1}}S.getQuotePreference=getQuotePreference;function getQuoteFromPreference(E){switch(E){case 0:return"'";case 1:return'"';default:return S.Debug.assertNever(E)}}S.getQuoteFromPreference=getQuoteFromPreference;function symbolNameNoDefault(E){var k=symbolEscapedNameNoDefault(E);return k===undefined?undefined:S.unescapeLeadingUnderscores(k)}S.symbolNameNoDefault=symbolNameNoDefault;function symbolEscapedNameNoDefault(E){if(E.escapedName!=="default"){return E.escapedName}return S.firstDefined(E.declarations,(function(E){var k=S.getNameOfDeclaration(E);return k&&k.kind===75?k.escapedText:undefined}))}S.symbolEscapedNameNoDefault=symbolEscapedNameNoDefault;function isObjectBindingElementWithoutPropertyName(E){return S.isBindingElement(E)&&S.isObjectBindingPattern(E.parent)&&S.isIdentifier(E.name)&&!E.propertyName}S.isObjectBindingElementWithoutPropertyName=isObjectBindingElementWithoutPropertyName;function getPropertySymbolFromBindingElement(S,E){var k=S.getTypeAtLocation(E.parent);return k&&S.getPropertyOfType(k,E.name.text)}S.getPropertySymbolFromBindingElement=getPropertySymbolFromBindingElement;function getPropertySymbolsFromBaseTypes(E,k,w,N){var j=S.createMap();return recur(E);function recur(E){if(!(E.flags&(32|64))||!S.addToSeen(j,S.getSymbolId(E)))return;return S.firstDefined(E.declarations,(function(E){return S.firstDefined(S.getAllSuperTypeNodes(E),(function(E){var j=w.getTypeAtLocation(E);var q=j&&j.symbol&&w.getPropertyOfType(j,k);return j&&q&&(S.firstDefined(w.getRootSymbols(q),N)||recur(j.symbol))}))}))}}S.getPropertySymbolsFromBaseTypes=getPropertySymbolsFromBaseTypes;function isMemberSymbolInBaseType(S,E){return getPropertySymbolsFromBaseTypes(S.parent,S.name,E,(function(S){return true}))||false}S.isMemberSymbolInBaseType=isMemberSymbolInBaseType;function getParentNodeInSpan(E,k,w){if(!E)return undefined;while(E.parent){if(S.isSourceFile(E.parent)||!spanContainsNode(w,E.parent,k)){return E}E=E.parent}}S.getParentNodeInSpan=getParentNodeInSpan;function spanContainsNode(E,k,w){return S.textSpanContainsPosition(E,k.getStart(w))&&k.getEnd()<=S.textSpanEnd(E)}function findModifier(E,k){return E.modifiers&&S.find(E.modifiers,(function(S){return S.kind===k}))}S.findModifier=findModifier;function insertImports(E,k,w,N){var j=S.isArray(w)?w[0]:w;var q=j.kind===225?S.isRequireVariableDeclarationStatement:S.isAnyImportSyntax;var ee=S.findLast(k.statements,(function(S){return q(S)}));if(ee){if(S.isArray(w)){E.insertNodesAfter(k,ee,w)}else{E.insertNodeAfter(k,ee,w)}}else if(S.isArray(w)){E.insertNodesAtTopOfFile(k,w,N)}else{E.insertNodeAtTopOfFile(k,w,N)}}S.insertImports=insertImports;function getTypeKeywordOfTypeOnlyImport(E,k){S.Debug.assert(E.isTypeOnly);return S.cast(E.getChildAt(0,k),isTypeKeywordToken)}S.getTypeKeywordOfTypeOnlyImport=getTypeKeywordOfTypeOnlyImport;function textSpansEqual(S,E){return!!S&&!!E&&S.start===E.start&&S.length===E.length}S.textSpansEqual=textSpansEqual;function documentSpansEqual(S,E){return S.fileName===E.fileName&&textSpansEqual(S.textSpan,E.textSpan)}S.documentSpansEqual=documentSpansEqual;function forEachUnique(S,E){if(S){for(var k=0;k0&&S.declarations[0].kind===156}S.isFirstDeclarationOfSymbolParameter=isFirstDeclarationOfSymbolParameter;var j=getDisplayPartWriter();function getDisplayPartWriter(){var E=S.defaultMaximumTruncationLength*10;var k;var w;var N;var j;resetWriter();var unknownWrite=function(E){return writeKind(E,S.SymbolDisplayPartKind.text)};return{displayParts:function(){var w=k.length&&k[k.length-1].text;if(j>E&&w&&w!=="..."){if(!S.isWhiteSpaceLike(w.charCodeAt(w.length-1))){k.push(displayPart(" ",S.SymbolDisplayPartKind.space))}k.push(displayPart("...",S.SymbolDisplayPartKind.punctuation))}return k},writeKeyword:function(E){return writeKind(E,S.SymbolDisplayPartKind.keyword)},writeOperator:function(E){return writeKind(E,S.SymbolDisplayPartKind.operator)},writePunctuation:function(E){return writeKind(E,S.SymbolDisplayPartKind.punctuation)},writeTrailingSemicolon:function(E){return writeKind(E,S.SymbolDisplayPartKind.punctuation)},writeSpace:function(E){return writeKind(E,S.SymbolDisplayPartKind.space)},writeStringLiteral:function(E){return writeKind(E,S.SymbolDisplayPartKind.stringLiteral)},writeParameter:function(E){return writeKind(E,S.SymbolDisplayPartKind.parameterName)},writeProperty:function(E){return writeKind(E,S.SymbolDisplayPartKind.propertyName)},writeLiteral:function(E){return writeKind(E,S.SymbolDisplayPartKind.stringLiteral)},writeSymbol:writeSymbol,writeLine:writeLine,write:unknownWrite,writeComment:unknownWrite,getText:function(){return""},getTextPos:function(){return 0},getColumn:function(){return 0},getLine:function(){return 0},isAtStartOfLine:function(){return false},hasTrailingWhitespace:function(){return false},hasTrailingComment:function(){return false},rawWrite:S.notImplemented,getIndent:function(){return N},increaseIndent:function(){N++},decreaseIndent:function(){N--},clear:resetWriter,trackSymbol:S.noop,reportInaccessibleThisError:S.noop,reportInaccessibleUniqueSymbolError:S.noop,reportPrivateInBaseOfClassExpression:S.noop};function writeIndent(){if(j>E)return;if(w){var q=S.getIndentString(N);if(q){j+=q.length;k.push(displayPart(q,S.SymbolDisplayPartKind.space))}w=false}}function writeKind(S,w){if(j>E)return;writeIndent();j+=S.length;k.push(displayPart(S,w))}function writeSymbol(S,w){if(j>E)return;writeIndent();j+=S.length;k.push(symbolPart(S,w))}function writeLine(){if(j>E)return;j+=1;k.push(lineBreakPart());w=true}function resetWriter(){k=[];w=true;N=0;j=0}}function symbolPart(E,k){return displayPart(E,displayPartKind(k));function displayPartKind(E){var k=E.flags;if(k&3){return isFirstDeclarationOfSymbolParameter(E)?S.SymbolDisplayPartKind.parameterName:S.SymbolDisplayPartKind.localName}else if(k&4){return S.SymbolDisplayPartKind.propertyName}else if(k&32768){return S.SymbolDisplayPartKind.propertyName}else if(k&65536){return S.SymbolDisplayPartKind.propertyName}else if(k&8){return S.SymbolDisplayPartKind.enumMemberName}else if(k&16){return S.SymbolDisplayPartKind.functionName}else if(k&32){return S.SymbolDisplayPartKind.className}else if(k&64){return S.SymbolDisplayPartKind.interfaceName}else if(k&384){return S.SymbolDisplayPartKind.enumName}else if(k&1536){return S.SymbolDisplayPartKind.moduleName}else if(k&8192){return S.SymbolDisplayPartKind.methodName}else if(k&262144){return S.SymbolDisplayPartKind.typeParameterName}else if(k&524288){return S.SymbolDisplayPartKind.aliasName}else if(k&2097152){return S.SymbolDisplayPartKind.aliasName}return S.SymbolDisplayPartKind.text}}S.symbolPart=symbolPart;function displayPart(E,k){return{text:E,kind:S.SymbolDisplayPartKind[k]}}S.displayPart=displayPart;function spacePart(){return displayPart(" ",S.SymbolDisplayPartKind.space)}S.spacePart=spacePart;function keywordPart(E){return displayPart(S.tokenToString(E),S.SymbolDisplayPartKind.keyword)}S.keywordPart=keywordPart;function punctuationPart(E){return displayPart(S.tokenToString(E),S.SymbolDisplayPartKind.punctuation)}S.punctuationPart=punctuationPart;function operatorPart(E){return displayPart(S.tokenToString(E),S.SymbolDisplayPartKind.operator)}S.operatorPart=operatorPart;function textOrKeywordPart(E){var k=S.stringToToken(E);return k===undefined?textPart(E):keywordPart(k)}S.textOrKeywordPart=textOrKeywordPart;function textPart(E){return displayPart(E,S.SymbolDisplayPartKind.text)}S.textPart=textPart;var q="\r\n";function getNewLineOrDefaultFromHost(S,E){var k;return(E===null||E===void 0?void 0:E.newLineCharacter)||((k=S.getNewLine)===null||k===void 0?void 0:k.call(S))||q}S.getNewLineOrDefaultFromHost=getNewLineOrDefaultFromHost;function lineBreakPart(){return displayPart("\n",S.SymbolDisplayPartKind.lineBreak)}S.lineBreakPart=lineBreakPart;function mapToDisplayParts(S){try{S(j);return j.displayParts()}finally{j.clear()}}S.mapToDisplayParts=mapToDisplayParts;function typeToDisplayParts(S,E,k,w){if(w===void 0){w=0}return mapToDisplayParts((function(N){S.writeType(E,k,w|1024|16384,N)}))}S.typeToDisplayParts=typeToDisplayParts;function symbolToDisplayParts(S,E,k,w,N){if(N===void 0){N=0}return mapToDisplayParts((function(j){S.writeSymbol(E,k,w,N|8,j)}))}S.symbolToDisplayParts=symbolToDisplayParts;function signatureToDisplayParts(S,E,k,w){if(w===void 0){w=0}w|=16384|1024|32|8192;return mapToDisplayParts((function(N){S.writeSignature(E,k,w,undefined,N)}))}S.signatureToDisplayParts=signatureToDisplayParts;function isImportOrExportSpecifierName(E){return!!E.parent&&S.isImportOrExportSpecifier(E.parent)&&E.parent.propertyName===E}S.isImportOrExportSpecifierName=isImportOrExportSpecifierName;function scriptKindIs(E,k){var w=[];for(var N=2;N-1&&S.isWhiteSpaceSingleLine(E.charCodeAt(k))){k-=1}return k+1}S.getPrecedingNonSpaceCharacterPosition=getPrecedingNonSpaceCharacterPosition;function getSynthesizedDeepClone(S,E){if(E===void 0){E=true}var k=S&&getSynthesizedDeepCloneWorker(S);if(k&&!E)suppressLeadingAndTrailingTrivia(k);return k}S.getSynthesizedDeepClone=getSynthesizedDeepClone;function getSynthesizedDeepCloneWithRenames(E,k,w,N,j){if(k===void 0){k=true}var q;if(w&&N&&S.isBindingElement(E)&&S.isIdentifier(E.name)&&S.isObjectBindingPattern(E.parent)){var ee=N.getSymbolAtLocation(E.name);var te=ee&&w.get(String(S.getSymbolId(ee)));if(te&&te.text!==(E.name||E.propertyName).getText()){q=S.setOriginalNode(S.createBindingElement(E.dotDotDotToken,E.propertyName||E.name,te,E.initializer),E)}}else if(w&&N&&S.isIdentifier(E)){var ee=N.getSymbolAtLocation(E);var te=ee&&w.get(String(S.getSymbolId(ee)));if(te){q=S.setOriginalNode(S.createIdentifier(te.text),E)}}if(!q){q=getSynthesizedDeepCloneWorker(E,w,N,j)}if(q&&!k)suppressLeadingAndTrailingTrivia(q);if(j&&q)j(E,q);return q}S.getSynthesizedDeepCloneWithRenames=getSynthesizedDeepCloneWithRenames;function getSynthesizedDeepCloneWorker(E,k,w,N){var j=k||w||N?S.visitEachChild(E,wrapper,S.nullTransformationContext):S.visitEachChild(E,getSynthesizedDeepClone,S.nullTransformationContext);if(j===E){var q=S.getSynthesizedClone(E);if(S.isStringLiteral(q)){q.textSourceNode=E}else if(S.isNumericLiteral(q)){q.numericLiteralFlags=E.numericLiteralFlags}return S.setTextRange(q,E)}j.parent=undefined;return j;function wrapper(S){return getSynthesizedDeepCloneWithRenames(S,true,k,w,N)}}function getSynthesizedDeepClones(E,k){if(k===void 0){k=true}return E&&S.createNodeArray(E.map((function(S){return getSynthesizedDeepClone(S,k)})),E.hasTrailingComma)}S.getSynthesizedDeepClones=getSynthesizedDeepClones;function suppressLeadingAndTrailingTrivia(S){suppressLeadingTrivia(S);suppressTrailingTrivia(S)}S.suppressLeadingAndTrailingTrivia=suppressLeadingAndTrailingTrivia;function suppressLeadingTrivia(S){addEmitFlagsRecursively(S,512,getFirstChild)}S.suppressLeadingTrivia=suppressLeadingTrivia;function suppressTrailingTrivia(E){addEmitFlagsRecursively(E,1024,S.getLastChild)}S.suppressTrailingTrivia=suppressTrailingTrivia;function copyComments(S,E){var k=S.getSourceFile();var w=k.text;if(hasLeadingLineBreak(S,w)){copyLeadingComments(S,E,k)}else{copyTrailingAsLeadingComments(S,E,k)}copyTrailingComments(S,E,k)}S.copyComments=copyComments;function hasLeadingLineBreak(S,E){var k=S.getFullStart();var w=S.getStart();for(var N=k;N=0);return q}S.getRenameLocation=getRenameLocation;function copyLeadingComments(E,k,w,N,j){S.forEachLeadingCommentRange(w.text,E.pos,getAddCommentsFunction(k,w,N,j,S.addSyntheticLeadingComment))}S.copyLeadingComments=copyLeadingComments;function copyTrailingComments(E,k,w,N,j){S.forEachTrailingCommentRange(w.text,E.end,getAddCommentsFunction(k,w,N,j,S.addSyntheticTrailingComment))}S.copyTrailingComments=copyTrailingComments;function copyTrailingAsLeadingComments(E,k,w,N,j){S.forEachTrailingCommentRange(w.text,E.pos,getAddCommentsFunction(k,w,N,j,S.addSyntheticLeadingComment))}S.copyTrailingAsLeadingComments=copyTrailingAsLeadingComments;function getAddCommentsFunction(S,E,k,w,N){return function(j,q,ee,te){if(ee===3){j+=2;q-=2}else{j+=2}N(S,k||ee,E.text.slice(j,q),w!==undefined?w:te)}}function indexInTextChange(E,k){if(S.startsWith(E,k))return 0;var w=E.indexOf(" "+k);if(w===-1)w=E.indexOf("."+k);if(w===-1)w=E.indexOf('"'+k);return w===-1?-1:w+1}function needsParentheses(E){return S.isBinaryExpression(E)&&E.operatorToken.kind===27||S.isObjectLiteralExpression(E)}S.needsParentheses=needsParentheses;function getContextualTypeFromParent(S,E){var k=S.parent;switch(k.kind){case 197:return E.getContextualType(k);case 209:{var w=k,N=w.left,j=w.operatorToken,q=w.right;return isEqualityOperatorKind(j.kind)?E.getTypeAtLocation(S===q?N:q):E.getContextualType(S)}case 277:return k.expression===S?getSwitchedType(k,E):undefined;default:return E.getContextualType(S)}}S.getContextualTypeFromParent=getContextualTypeFromParent;function quote(E,k){var w=k.quotePreference||"auto";var N=JSON.stringify(E);switch(w){case"auto":case"double":return N;case"single":return"'"+S.stripQuotes(N).replace("'","\\'").replace('\\"','"')+"'";default:return S.Debug.assertNever(w)}}S.quote=quote;function isEqualityOperatorKind(S){switch(S){case 36:case 34:case 37:case 35:return true;default:return false}}S.isEqualityOperatorKind=isEqualityOperatorKind;function isStringLiteralOrTemplate(S){switch(S.kind){case 10:case 14:case 211:case 198:return true;default:return false}}S.isStringLiteralOrTemplate=isStringLiteralOrTemplate;function hasIndexSignature(S){return!!S.getStringIndexType()||!!S.getNumberIndexType()}S.hasIndexSignature=hasIndexSignature;function getSwitchedType(S,E){return E.getTypeAtLocation(S.parent.parent.expression)}S.getSwitchedType=getSwitchedType;S.ANONYMOUS="anonymous function";function getTypeNodeIfAccessible(S,E,k,w){var N=k.getTypeChecker();var j=true;var notAccessible=function(){j=false};var q=N.typeToTypeNode(S,E,undefined,{trackSymbol:function(S,E,k){j=j&&N.isSymbolAccessible(S,E,k,false).accessibility===0},reportInaccessibleThisError:notAccessible,reportPrivateInBaseOfClassExpression:notAccessible,reportInaccessibleUniqueSymbolError:notAccessible,moduleResolverHost:getModuleSpecifierResolverHost(k,w)});return j?q:undefined}S.getTypeNodeIfAccessible=getTypeNodeIfAccessible;function syntaxRequiresTrailingCommaOrSemicolonOrASI(S){return S===165||S===166||S===167||S===158||S===160}S.syntaxRequiresTrailingCommaOrSemicolonOrASI=syntaxRequiresTrailingCommaOrSemicolonOrASI;function syntaxRequiresTrailingFunctionBlockOrSemicolonOrASI(S){return S===244||S===162||S===161||S===163||S===164}S.syntaxRequiresTrailingFunctionBlockOrSemicolonOrASI=syntaxRequiresTrailingFunctionBlockOrSemicolonOrASI;function syntaxRequiresTrailingModuleBlockOrSemicolonOrASI(S){return S===249}S.syntaxRequiresTrailingModuleBlockOrSemicolonOrASI=syntaxRequiresTrailingModuleBlockOrSemicolonOrASI;function syntaxRequiresTrailingSemicolonOrASI(S){return S===225||S===226||S===228||S===233||S===234||S===235||S===239||S===241||S===159||S===247||S===254||S===253||S===260||S===252||S===259}S.syntaxRequiresTrailingSemicolonOrASI=syntaxRequiresTrailingSemicolonOrASI;S.syntaxMayBeASICandidate=S.or(syntaxRequiresTrailingCommaOrSemicolonOrASI,syntaxRequiresTrailingFunctionBlockOrSemicolonOrASI,syntaxRequiresTrailingModuleBlockOrSemicolonOrASI,syntaxRequiresTrailingSemicolonOrASI);function nodeIsASICandidate(E,k){var w=E.getLastToken(k);if(w&&w.kind===26){return false}if(syntaxRequiresTrailingCommaOrSemicolonOrASI(E.kind)){if(w&&w.kind===27){return false}}else if(syntaxRequiresTrailingModuleBlockOrSemicolonOrASI(E.kind)){var N=S.last(E.getChildren(k));if(N&&S.isModuleBlock(N)){return false}}else if(syntaxRequiresTrailingFunctionBlockOrSemicolonOrASI(E.kind)){var N=S.last(E.getChildren(k));if(N&&S.isFunctionBlock(N)){return false}}else if(!syntaxRequiresTrailingSemicolonOrASI(E.kind)){return false}if(E.kind===228){return true}var j=S.findAncestor(E,(function(S){return!S.parent}));var q=findNextToken(E,j,k);if(!q||q.kind===19){return true}var ee=k.getLineAndCharacterOfPosition(E.getEnd()).line;var te=k.getLineAndCharacterOfPosition(q.getStart(k)).line;return ee!==te}function positionIsASICandidate(E,k,w){var N=S.findAncestor(k,(function(k){if(k.end!==E){return"quit"}return S.syntaxMayBeASICandidate(k.kind)}));return!!N&&nodeIsASICandidate(N,w)}S.positionIsASICandidate=positionIsASICandidate;function probablyUsesSemicolons(E){var k=0;var w=0;var N=5;S.forEachChild(E,(function visit(j){if(syntaxRequiresTrailingSemicolonOrASI(j.kind)){var q=j.getLastToken(E);if(q&&q.kind===26){k++}else{w++}}if(k+w>=N){return true}return S.forEachChild(j,visit)}));if(k===0&&w<=1){return true}return k/w>1/N}S.probablyUsesSemicolons=probablyUsesSemicolons;function tryGetDirectories(S,E){return tryIOAndConsumeErrors(S,S.getDirectories,E)||[]}S.tryGetDirectories=tryGetDirectories;function tryReadDirectory(E,k,w,N,j){return tryIOAndConsumeErrors(E,E.readDirectory,k,w,N,j)||S.emptyArray}S.tryReadDirectory=tryReadDirectory;function tryFileExists(S,E){return tryIOAndConsumeErrors(S,S.fileExists,E)}S.tryFileExists=tryFileExists;function tryDirectoryExists(E,k){return tryAndIgnoreErrors((function(){return S.directoryProbablyExists(k,E)}))||false}S.tryDirectoryExists=tryDirectoryExists;function tryAndIgnoreErrors(S){try{return S()}catch(S){return undefined}}S.tryAndIgnoreErrors=tryAndIgnoreErrors;function tryIOAndConsumeErrors(S,E){var k=[];for(var w=2;w=0){var j=k[N];S.Debug.assertEqual(j.file,E.getSourceFile(),"Diagnostics proided to 'findDiagnosticForNode' must be from a single SourceFile");return S.cast(j,isDiagnosticWithLocation)}}S.findDiagnosticForNode=findDiagnosticForNode;function getDiagnosticsWithinSpan(E,k){var w;var N=S.binarySearchKey(k,E.start,(function(S){return S.start}),S.compareValues);if(N<0){N=~N}while(((w=k[N-1])===null||w===void 0?void 0:w.start)===E.start){N--}var j=[];var q=S.textSpanEnd(E);while(true){var ee=S.tryCast(k[N],isDiagnosticWithLocation);if(!ee||ee.start>q){break}if(S.textSpanContainsTextSpan(E,ee)){j.push(ee)}N++}return j}S.getDiagnosticsWithinSpan=getDiagnosticsWithinSpan;function getRefactorContextSpan(E){var k=E.startPosition,w=E.endPosition;return S.createTextSpanFromBounds(k,w===undefined?k:w)}S.getRefactorContextSpan=getRefactorContextSpan;function mapOneOrMany(E,k,w){if(w===void 0){w=S.identity}return E?S.isArray(E)?w(S.map(E,k)):k(E,0):undefined}S.mapOneOrMany=mapOneOrMany;function firstOrOnly(E){return S.isArray(E)?S.first(E):E}S.firstOrOnly=firstOrOnly;function getNameForExportedSymbol(E,k){if(E.escapedName==="export="||E.escapedName==="default"){return S.firstDefined(E.declarations,(function(E){return S.isExportAssignment(E)&&S.isIdentifier(E.expression)?E.expression.text:undefined}))||S.codefix.moduleSymbolToValidIdentifier(S.Debug.checkDefined(E.parent),k)}return E.name}S.getNameForExportedSymbol=getNameForExportedSymbol;function stringContainsAt(S,E,k){var w=E.length;if(w+k>S.length){return false}for(var N=0;N=w.length){var Ne=getNewEndOfLineState(k,q,S.lastOrUndefined(te));if(Ne!==undefined){Ee=Ne}}}while(q!==1);function handleToken(){switch(q){case 43:case 67:if(!E[ee]&&k.reScanSlashToken()===13){q=13}break;case 29:if(ee===75){Ce++}break;case 31:if(Ce>0){Ce--}break;case 125:case 143:case 140:case 128:case 144:if(Ce>0&&!j){q=75}break;case 15:te.push(q);break;case 18:if(te.length>0){te.push(q)}break;case 19:if(te.length>0){var w=S.lastOrUndefined(te);if(w===15){q=k.reScanTemplateToken(false);if(q===17){te.pop()}else{S.Debug.assertEqual(q,16,"Should have been a template middle.")}}else{S.Debug.assertEqual(w,18,"Should have been an open brace");te.pop()}}break;default:if(!S.isKeyword(q)){break}if(ee===24){q=75}else if(S.isKeyword(ee)&&S.isKeyword(q)&&!canFollow(ee,q)){q=75}}}return{endOfLineState:Ee,spans:Te}}return{getClassificationsForLine:getClassificationsForLine,getEncodedLexicalClassifications:getEncodedLexicalClassifications}}S.createClassifier=createClassifier;var E=S.arrayToNumericMap([75,10,8,9,13,104,45,46,21,23,19,106,91],(function(S){return S}),(function(){return true}));function getNewEndOfLineState(E,k,w){switch(k){case 10:{if(!E.isUnterminated())return undefined;var N=E.getTokenText();var j=N.length-1;var q=0;while(N.charCodeAt(j-q)===92){q++}if((q&1)===0)return undefined;return N.charCodeAt(0)===34?3:2}case 3:return E.isUnterminated()?1:undefined;default:if(S.isTemplateLiteralKind(k)){if(!E.isUnterminated()){return undefined}switch(k){case 17:return 5;case 14:return 4;default:return S.Debug.fail("Only 'NoSubstitutionTemplateLiteral's and 'TemplateTail's can be unterminated; got SyntaxKind #"+k)}}return w===15?6:undefined}}function pushEncodedClassification(S,E,k,w,N){if(w===8){return}if(S===0&&k>0){S+=k}var j=E-S;if(j>0){N.push(S-k,j,w)}}function convertClassificationsToResult(E,k){var w=[];var N=E.spans;var j=0;for(var q=0;q=0){var ae=ee-j;if(ae>0){w.push({length:ae,classification:S.TokenClass.Whitespace})}}w.push({length:te,classification:convertClassification(ne)});j=ee+te}var _e=k.length-j;if(_e>0){w.push({length:_e,classification:S.TokenClass.Whitespace})}return{entries:w,finalLexState:E.endOfLineState}}function convertClassification(E){switch(E){case 1:return S.TokenClass.Comment;case 3:return S.TokenClass.Keyword;case 4:return S.TokenClass.NumberLiteral;case 25:return S.TokenClass.BigIntLiteral;case 5:return S.TokenClass.Operator;case 6:return S.TokenClass.StringLiteral;case 8:return S.TokenClass.Whitespace;case 10:return S.TokenClass.Punctuation;case 2:case 11:case 12:case 13:case 14:case 15:case 16:case 9:case 17:return S.TokenClass.Identifier;default:return undefined}}function canFollow(E,k){if(!S.isAccessibilityModifier(E)){return true}switch(k){case 131:case 142:case 129:case 120:return true;default:return false}}function getPrefixFromLexState(E){switch(E){case 3:return{prefix:'"\\\n'};case 2:return{prefix:"'\\\n"};case 1:return{prefix:"/*\n"};case 4:return{prefix:"`\n"};case 5:return{prefix:"}\n",pushTemplate:true};case 6:return{prefix:"",pushTemplate:true};case 0:return{prefix:""};default:return S.Debug.assertNever(E)}}function isBinaryExpressionOperatorToken(S){switch(S){case 41:case 43:case 44:case 39:case 40:case 47:case 48:case 49:case 29:case 31:case 32:case 33:case 98:case 97:case 123:case 34:case 35:case 36:case 37:case 50:case 52:case 51:case 55:case 56:case 73:case 72:case 74:case 69:case 70:case 71:case 63:case 64:case 65:case 67:case 68:case 62:case 27:case 60:return true;default:return false}}function isPrefixUnaryExpressionOperatorToken(S){switch(S){case 39:case 40:case 54:case 53:case 45:case 46:return true;default:return false}}function classFromKind(E){if(S.isKeyword(E)){return 3}else if(isBinaryExpressionOperatorToken(E)||isPrefixUnaryExpressionOperatorToken(E)){return 5}else if(E>=18&&E<=74){return 10}switch(E){case 8:return 4;case 9:return 25;case 10:return 6;case 13:return 7;case 7:case 3:case 2:return 1;case 5:case 4:return 8;case 75:default:if(S.isTemplateLiteralKind(E)){return 6}return 2}}function getSemanticClassifications(S,E,k,w,N){return convertClassificationsToSpans(getEncodedSemanticClassifications(S,E,k,w,N))}S.getSemanticClassifications=getSemanticClassifications;function checkForClassificationCancellation(S,E){switch(E){case 249:case 245:case 246:case 244:S.throwIfCancellationRequested()}}function getEncodedSemanticClassifications(E,k,w,N,j){var q=[];w.forEachChild((function cb(q){if(!q||!S.textSpanIntersectsWith(j,q.pos,q.getFullWidth())){return}checkForClassificationCancellation(k,q.kind);if(S.isIdentifier(q)&&!S.nodeIsMissing(q)&&N.has(q.escapedText)){var ee=E.getSymbolAtLocation(q);var te=ee&&classifySymbol(ee,S.getMeaningFromLocation(q),E);if(te){pushClassification(q.getStart(w),q.getEnd(),te)}}q.forEachChild(cb)}));return{spans:q,endOfLineState:0};function pushClassification(E,k,w){var N=k-E;S.Debug.assert(N>0,"Classification had non-positive length of "+N);q.push(E);q.push(N);q.push(w)}}S.getEncodedSemanticClassifications=getEncodedSemanticClassifications;function classifySymbol(S,E,k){var w=S.getFlags();if((w&2885600)===0){return undefined}else if(w&32){return 11}else if(w&384){return 12}else if(w&524288){return 16}else if(w&1536){return E&4||E&1&&hasValueSideModule(S)?14:undefined}else if(w&2097152){return classifySymbol(k.getAliasedSymbol(S),E,k)}else if(E&2){return w&64?13:w&262144?15:undefined}else{return undefined}}function hasValueSideModule(E){return S.some(E.declarations,(function(E){return S.isModuleDeclaration(E)&&S.getModuleInstanceState(E)===1}))}function getClassificationTypeName(S){switch(S){case 1:return"comment";case 2:return"identifier";case 3:return"keyword";case 4:return"number";case 25:return"bigint";case 5:return"operator";case 6:return"string";case 8:return"whitespace";case 9:return"text";case 10:return"punctuation";case 11:return"class name";case 12:return"enum name";case 13:return"interface name";case 14:return"module name";case 15:return"type parameter name";case 16:return"type alias name";case 17:return"parameter name";case 18:return"doc comment tag name";case 19:return"jsx open tag name";case 20:return"jsx close tag name";case 21:return"jsx self closing tag name";case 22:return"jsx attribute";case 23:return"jsx text";case 24:return"jsx attribute string literal value";default:return undefined}}function convertClassificationsToSpans(E){S.Debug.assert(E.spans.length%3===0);var k=E.spans;var w=[];for(var N=0;N])*)(\/>)?)?/im;var j=/(\S+)(\s*)(=)(\s*)('[^']+'|"[^"]+")/gim;var q=k.text.substr(E,w);var ee=N.exec(q);if(!ee){return false}if(!ee[3]||!(ee[3]in S.commentPragmas)){return false}var te=E;pushCommentRange(te,ee[1].length);te+=ee[1].length;pushClassification(te,ee[2].length,10);te+=ee[2].length;pushClassification(te,ee[3].length,21);te+=ee[3].length;var ne=ee[4];var ae=te;while(true){var _e=j.exec(ne);if(!_e){break}var ve=te+_e.index;if(ve>ae){pushCommentRange(ae,ve-ae);ae=ve}pushClassification(ae,_e[1].length,22);ae+=_e[1].length;if(_e[2].length){pushCommentRange(ae,_e[2].length);ae+=_e[2].length}pushClassification(ae,_e[3].length,5);ae+=_e[3].length;if(_e[4].length){pushCommentRange(ae,_e[4].length);ae+=_e[4].length}pushClassification(ae,_e[5].length,24);ae+=_e[5].length}te+=ee[4].length;if(te>ae){pushCommentRange(ae,te-ae)}if(ee[5]){pushClassification(te,ee[5].length,10);te+=ee[5].length}var Ee=E+w;if(te=0);if(N>0){var j=k||classifyTokenType(E.kind,E);if(j){pushClassification(w,N,j)}}return true}function tryClassifyJsxElementName(S){switch(S.parent&&S.parent.kind){case 268:if(S.parent.tagName===S){return 19}break;case 269:if(S.parent.tagName===S){return 20}break;case 267:if(S.parent.tagName===S){return 21}break;case 273:if(S.parent.name===S){return 22}break}return undefined}function classifyTokenType(E,k){if(S.isKeyword(E)){return 3}if(E===29||E===31){if(k&&S.getTypeArgumentOrTypeParameterList(k.parent)){return 10}}if(S.isPunctuation(E)){if(k){var w=k.parent;if(E===62){if(w.kind===242||w.kind===159||w.kind===156||w.kind===273){return 5}}if(w.kind===209||w.kind===207||w.kind===208||w.kind===210){return 5}}return 10}else if(E===8){return 4}else if(E===9){return 25}else if(E===10){return k&&k.parent.kind===273?24:6}else if(E===13){return 6}else if(S.isTemplateLiteralKind(E)){return 6}else if(E===11){return 23}else if(E===75){if(k){switch(k.parent.kind){case 245:if(k.parent.name===k){return 11}return;case 155:if(k.parent.name===k){return 15}return;case 246:if(k.parent.name===k){return 13}return;case 248:if(k.parent.name===k){return 12}return;case 249:if(k.parent.name===k){return 14}return;case 156:if(k.parent.name===k){return S.isThisIdentifier(k)?3:17}return}}return 2}}function processElement(w){if(!w){return}if(S.decodedTextSpanIntersectsWith(N,j,w.pos,w.getFullWidth())){checkForClassificationCancellation(E,w.kind);for(var q=0,ee=w.getChildren(k);qj.parameters.length)return;var q=k.getParameterType(j,E.argumentIndex);w=w||!!(q.flags&4);return getStringLiteralTypes(q,N)}));return{kind:2,types:q,isNewIdentifier:w}}function stringLiteralCompletionsFromProperties(E){return E&&{kind:1,symbols:E.getApparentProperties().filter((function(E){return!S.isPrivateIdentifierPropertyDeclaration(S.isTransientSymbol(E)&&E.syntheticOrigin?E.syntheticOrigin.valueDeclaration:E.valueDeclaration)})),hasIndexSignature:S.hasIndexSignature(E)}}function getStringLiteralTypes(E,k){if(k===void 0){k=S.createMap()}if(!E)return S.emptyArray;E=S.skipConstraint(E);return E.isUnion()?S.flatMap(E.types,(function(S){return getStringLiteralTypes(S,k)})):E.isStringLiteral()&&!(E.flags&1024)&&S.addToSeen(k,E.value)?[E]:S.emptyArray}function nameAndKind(S,E,k){return{name:S,kind:E,extension:k}}function directoryResult(S){return nameAndKind(S,"directory",undefined)}function addReplacementSpans(S,E,k){var w=getDirectoryFragmentTextSpan(S,E);return k.map((function(S){var E=S.name,k=S.kind,N=S.extension;return{name:E,kind:k,extension:N,span:w}}))}function getStringLiteralCompletionsFromModuleNames(S,E,k,w,N){return addReplacementSpans(E.text,E.getStart(S)+1,getStringLiteralCompletionsFromModuleNamesWorker(S,E,k,w,N))}function getStringLiteralCompletionsFromModuleNamesWorker(E,k,w,N,j){var q=S.normalizeSlashes(k.text);var ee=E.path;var te=S.getDirectoryPath(ee);return isPathRelativeToScript(q)||!w.baseUrl&&(S.isRootedDiskPath(q)||S.isUrl(q))?getCompletionEntriesForRelativeModules(q,te,w,N,ee):getCompletionEntriesForNonRelativeModules(q,te,w,N,j)}function getExtensionOptions(S,E){if(E===void 0){E=false}return{extensions:getSupportedExtensionsForModuleResolution(S),includeExtensions:E}}function getCompletionEntriesForRelativeModules(S,E,k,w,N){var j=getExtensionOptions(k);if(k.rootDirs){return getCompletionEntriesForDirectoryFragmentWithRootDirs(k.rootDirs,S,E,j,k,w,N)}else{return getCompletionEntriesForDirectoryFragment(S,E,j,w,N)}}function getSupportedExtensionsForModuleResolution(E){var k=S.getSupportedExtensions(E);return E.resolveJsonModule&&S.getEmitModuleResolutionKind(E)===S.ModuleResolutionKind.NodeJs?k.concat(".json"):k}function getBaseDirectoriesFromRootDirs(E,k,N,j){E=E.map((function(E){return S.normalizePath(S.isRootedDiskPath(E)?E:S.combinePaths(k,E))}));var q=S.firstDefined(E,(function(E){return S.containsPath(E,N,k,j)?N.substr(E.length):undefined}));return S.deduplicate(w(E.map((function(E){return S.combinePaths(E,q)})),[N]),S.equateStringsCaseSensitive,S.compareStringsCaseSensitive)}function getCompletionEntriesForDirectoryFragmentWithRootDirs(E,k,w,N,j,q,ee){var te=j.project||q.getCurrentDirectory();var ne=!(q.useCaseSensitiveFileNames&&q.useCaseSensitiveFileNames());var ae=getBaseDirectoriesFromRootDirs(E,te,w,ne);return S.flatMap(ae,(function(S){return getCompletionEntriesForDirectoryFragment(k,S,N,q,ee)}))}function getCompletionEntriesForDirectoryFragment(E,k,w,N,j,q){var ee=w.extensions,te=w.includeExtensions;if(q===void 0){q=[]}if(E===undefined){E=""}E=S.normalizeSlashes(E);if(!S.hasTrailingDirectorySeparator(E)){E=S.getDirectoryPath(E)}if(E===""){E="."+S.directorySeparator}E=S.ensureTrailingDirectorySeparator(E);var ne=S.resolvePath(k,E);var ae=S.hasTrailingDirectorySeparator(ne)?ne:S.getDirectoryPath(ne);var _e=!(N.useCaseSensitiveFileNames&&N.useCaseSensitiveFileNames());if(!S.tryDirectoryExists(N,ae))return q;var ve=S.tryReadDirectory(N,ae,ee,undefined,["./*"]);if(ve){var Ee=S.createMap();for(var Te=0,Ce=ve;Te=S.pos&&k<=S.end}));if(!te){return undefined}var ne=E.text.slice(te.pos,k);var ae=j.exec(ne);if(!ae){return undefined}var _e=ae[1],ve=ae[2],Ee=ae[3];var Te=S.getDirectoryPath(E.path);var Ce=ve==="path"?getCompletionEntriesForDirectoryFragment(Ee,Te,getExtensionOptions(w,true),N,E.path):ve==="types"?getCompletionEntriesFromTypings(N,w,Te,getFragmentDirectory(Ee),getExtensionOptions(w)):S.Debug.fail();return addReplacementSpans(Ee,te.pos+_e.length,Ce)}function getCompletionEntriesFromTypings(E,k,w,N,j,q){if(q===void 0){q=[]}var ee=S.createMap();var te=S.tryAndIgnoreErrors((function(){return S.getEffectiveTypeRoots(k,E)}))||S.emptyArray;for(var ne=0,ae=te;ne=2&&S.charCodeAt(0)===46){var E=S.length>=3&&S.charCodeAt(1)===46?2:1;var k=S.charCodeAt(E);return k===47||k===92}return false}var j=/^(\/\/\/\s*"),kind:"class",kindModifiers:undefined,sortText:k.LocationPriority};return{isGlobalCompletion:false,isMemberCompletion:true,isNewIdentifierLocation:false,entries:[Le]}}var Be=[];if(isUncheckedFile(E,N)){var je=getCompletionEntriesFromSymbols(te,Be,undefined,ve,E,w,N.target,j,ne,ee,Ee,q.isJsxIdentifierExpected,Ie,Ne,we,Oe);getJSCompletionEntries(E,ve.pos,je,N.target,Be)}else{if(!_e&&(!te||te.length===0)&&Te===0){return undefined}getCompletionEntriesFromSymbols(te,Be,undefined,ve,E,w,N.target,j,ne,ee,Ee,q.isJsxIdentifierExpected,Ie,Ne,we,Oe)}if(Te!==0){var ze=S.arrayToSet(Be,(function(S){return S.name}));for(var Ue=0,We=getKeywordCompletions(Te,!Fe&&S.isSourceFileJS(E));Ue0){Ke=filterObjectMembersList(k,S.Debug.checkDefined(w))}setSortTextToOptionalMember();return 1}function tryGetImportOrExportClauseCompletionSymbols(){var E=Fe&&(Fe.kind===18||Fe.kind===27)?S.tryCast(Fe.parent,S.isNamedImportsOrExports):undefined;if(!E)return 0;var k=(E.kind===257?E.parent.parent:E.parent).moduleSpecifier;if(!k)return E.kind===257?2:0;var w=ae.getSymbolAtLocation(k);if(!w)return 2;He=3;Ge=false;var N=ae.getExportsAndPropertiesOfModule(w);var j=S.arrayToSet(E.elements,(function(S){return isCurrentlyEditingNode(S)?undefined:(S.propertyName||S.name).escapedText}));Ke=N.filter((function(S){return S.escapedName!=="default"&&!j.get(S.escapedName)}));return 1}function tryGetLocalNamedExportCompletionSymbols(){var E;var w=Fe&&(Fe.kind===18||Fe.kind===27)?S.tryCast(Fe.parent,S.isNamedExports):undefined;if(!w){return 0}var N=S.findAncestor(w,S.or(S.isSourceFile,S.isModuleDeclaration));He=5;Ge=false;(E=N.locals)===null||E===void 0?void 0:E.forEach((function(E,w){var j,q;Ke.push(E);if((q=(j=N.symbol)===null||j===void 0?void 0:j.exports)===null||q===void 0?void 0:q.has(w)){Xe[S.getSymbolId(E)]=k.OptionalMember}}));return 1}function tryGetClassLikeCompletionSymbols(){var E=tryGetObjectTypeDeclarationCompletionContainer(N,Fe,$e,q);if(!E)return 0;He=3;Ge=true;Je=Fe.kind===41?0:S.isClassLike(E)?2:3;if(!S.isClassLike(E))return 1;var k=Fe.kind===26?Fe.parent.parent:Fe.parent;var w=S.isClassElement(k)?S.getModifierFlags(k):0;if(Fe.kind===75&&!isCurrentlyEditingNode(Fe)){switch(Fe.getText()){case"private":w=w|8;break;case"static":w=w|32;break}}if(!(w&8)){var j=S.flatMap(S.getAllSuperTypeNodes(E),(function(S){var k=ae.getTypeAtLocation(S);return k&&ae.getPropertiesOfType(w&32?ae.getTypeOfSymbolAtLocation(k.symbol,E):k)}));Ke=filterClassMembersList(j,E.members,w)}return 1}function tryGetObjectLikeCompletionContainer(E){if(E){var k=E.parent;switch(E.kind){case 18:case 27:if(S.isObjectLiteralExpression(k)||S.isObjectBindingPattern(k)){return k}break;case 41:return S.isMethodDeclaration(k)?S.tryCast(k.parent,S.isObjectLiteralExpression):undefined;case 75:return E.text==="async"&&S.isShorthandPropertyAssignment(E.parent)?E.parent.parent:undefined}}return undefined}function isConstructorParameterCompletion(E){return!!E.parent&&S.isParameter(E.parent)&&S.isConstructorDeclaration(E.parent.parent)&&(S.isParameterPropertyModifier(E.kind)||S.isDeclarationName(E))}function tryGetConstructorLikeCompletionContainer(E){if(E){var k=E.parent;switch(E.kind){case 20:case 27:return S.isConstructorDeclaration(E.parent)?E.parent:undefined;default:if(isConstructorParameterCompletion(E)){return k.parent}}}return undefined}function tryGetFunctionLikeBodyCompletionContainer(E){if(E){var k;var w=S.findAncestor(E.parent,(function(E){if(S.isClassLike(E)){return"quit"}if(S.isFunctionLikeDeclaration(E)&&k===E.body){return true}k=E;return false}));return w&&w}}function tryGetContainingJsxElement(E){if(E){var k=E.parent;switch(E.kind){case 31:case 30:case 43:case 75:case 194:case 274:case 273:case 275:if(k&&(k.kind===267||k.kind===268)){if(E.kind===31){var w=S.findPrecedingToken(E.pos,N,undefined);if(!k.typeArguments||w&&w.kind===43)break}return k}else if(k.kind===273){return k.parent.parent}break;case 10:if(k&&(k.kind===273||k.kind===275)){return k.parent.parent}break;case 19:if(k&&k.kind===276&&k.parent&&k.parent.kind===273){return k.parent.parent.parent}if(k&&k.kind===275){return k.parent.parent}break}}return undefined}function isSolelyIdentifierDefinitionLocation(E){var k=E.parent;var w=k.kind;switch(E.kind){case 27:return w===242||isVariableDeclarationListButNotTypeArgument(E)||w===225||w===248||isFunctionLikeButNotConstructor(w)||w===246||w===190||w===247||S.isClassLike(k)&&!!k.typeParameters&&k.typeParameters.end>=E.pos;case 24:return w===190;case 58:return w===191;case 22:return w===190;case 20:return w===280||isFunctionLikeButNotConstructor(w);case 18:return w===248;case 29:return w===245||w===214||w===246||w===247||S.isFunctionLikeKind(w);case 120:return w===159&&!S.isClassLike(k.parent);case 25:return w===156||!!k.parent&&k.parent.kind===190;case 119:case 117:case 118:return w===156&&!S.isConstructorDeclaration(k.parent);case 123:return w===258||w===263||w===256;case 131:case 142:return!isFromObjectTypeDeclaration(E);case 80:case 88:case 114:case 94:case 109:case 96:case 115:case 81:case 145:return true;case 41:return S.isFunctionLike(E.parent)&&!S.isMethodDeclaration(E.parent)}if(isClassMemberCompletionKeyword(keywordForNode(E))&&isFromObjectTypeDeclaration(E)){return false}if(isConstructorParameterCompletion(E)){if(!S.isIdentifier(E)||S.isParameterPropertyModifier(keywordForNode(E))||isCurrentlyEditingNode(E)){return false}}switch(keywordForNode(E)){case 122:case 80:case 81:case 130:case 88:case 94:case 114:case 115:case 117:case 118:case 119:case 120:case 109:return true;case 126:return S.isPropertyDeclaration(E.parent)}return S.isDeclarationName(E)&&!S.isJsxAttribute(E.parent)&&!(S.isClassLike(E.parent)&&(E!==Ie||q>Ie.end))}function isFunctionLikeButNotConstructor(E){return S.isFunctionLikeKind(E)&&E!==162}function isDotOfNumericLiteral(S){if(S.kind===8){var E=S.getFullText();return E.charAt(E.length-1)==="."}return false}function isVariableDeclarationListButNotTypeArgument(E){return E.parent.kind===243&&!S.isPossiblyTypeArgumentPosition(E,N,ae)}function filterObjectMembersList(E,k){if(k.length===0){return E}var w=S.createMap();var N=S.createUnderscoreEscapedMap();for(var j=0,q=k;j=0;N--){if(pushKeywordIf(k,w[N],111)){break}}}}S.forEach(aggregateAllBreakAndContinueStatements(E.statement),(function(S){if(ownsBreakOrContinueStatement(E,S)){pushKeywordIf(k,S.getFirstToken(),77,82)}}));return k}function getBreakOrContinueStatementOccurrences(S){var E=getBreakOrContinueOwner(S);if(E){switch(E.kind){case 230:case 231:case 232:case 228:case 229:return getLoopBreakContinueOccurrences(E);case 237:return getSwitchCaseDefaultOccurrences(E)}}return undefined}function getSwitchCaseDefaultOccurrences(E){var k=[];pushKeywordIf(k,E.getFirstToken(),103);S.forEach(E.caseBlock.clauses,(function(w){pushKeywordIf(k,w.getFirstToken(),78,84);S.forEach(aggregateAllBreakAndContinueStatements(w),(function(S){if(ownsBreakOrContinueStatement(E,S)){pushKeywordIf(k,S.getFirstToken(),77)}}))}));return k}function getTryCatchFinallyOccurrences(E,k){var w=[];pushKeywordIf(w,E.getFirstToken(),107);if(E.catchClause){pushKeywordIf(w,E.catchClause.getFirstToken(),79)}if(E.finallyBlock){var N=S.findChildOfKind(E,92,k);pushKeywordIf(w,N,92)}return w}function getThrowOccurrences(E,k){var w=getThrowStatementOwner(E);if(!w){return undefined}var N=[];S.forEach(aggregateOwnedThrowStatements(w),(function(E){N.push(S.findChildOfKind(E,105,k))}));if(S.isFunctionBlock(w)){S.forEachReturnStatement(w,(function(E){N.push(S.findChildOfKind(E,101,k))}))}return N}function getReturnOccurrences(E,k){var w=S.getContainingFunction(E);if(!w){return undefined}var N=[];S.forEachReturnStatement(S.cast(w.body,S.isBlock),(function(E){N.push(S.findChildOfKind(E,101,k))}));S.forEach(aggregateOwnedThrowStatements(w.body),(function(E){N.push(S.findChildOfKind(E,105,k))}));return N}function getAsyncAndAwaitOccurrences(E){var k=S.getContainingFunction(E);if(!k){return undefined}var w=[];if(k.modifiers){k.modifiers.forEach((function(S){pushKeywordIf(w,S,126)}))}S.forEachChild(k,(function(E){traverseWithoutCrossingFunction(E,(function(E){if(S.isAwaitExpression(E)){pushKeywordIf(w,E.getFirstToken(),127)}}))}));return w}function getYieldOccurrences(E){var k=S.getContainingFunction(E);if(!k){return undefined}var w=[];S.forEachChild(k,(function(E){traverseWithoutCrossingFunction(E,(function(E){if(S.isYieldExpression(E)){pushKeywordIf(w,E.getFirstToken(),121)}}))}));return w}function traverseWithoutCrossingFunction(E,k){k(E);if(!S.isFunctionLike(E)&&!S.isClassLike(E)&&!S.isInterfaceDeclaration(E)&&!S.isModuleDeclaration(E)&&!S.isTypeAliasDeclaration(E)&&!S.isTypeNode(E)){S.forEachChild(E,(function(S){return traverseWithoutCrossingFunction(S,k)}))}}function getIfElseOccurrences(E,k){var w=getIfElseKeywords(E,k);var N=[];for(var j=0;j=q.end;ne--){if(!S.isWhiteSpaceSingleLine(k.text.charCodeAt(ne))){te=false;break}}if(te){N.push({fileName:k.fileName,textSpan:S.createTextSpanFromBounds(q.getStart(),ee.end),kind:"reference"});j++;continue}}N.push(getHighlightSpanForNode(w[j],k))}return N}function getIfElseKeywords(E,k){var w=[];while(S.isIfStatement(E.parent)&&E.parent.elseStatement===E){E=E.parent}while(true){var N=E.getChildren(k);pushKeywordIf(w,N[0],95);for(var j=N.length-1;j>=0;j--){if(pushKeywordIf(w,N[j],87)){break}}if(!E.elseStatement||!S.isIfStatement(E.elseStatement)){break}E=E.elseStatement}return w}function isLabeledBy(E,k){return!!S.findAncestor(E.parent,(function(E){return!S.isLabeledStatement(E)?"quit":E.label.escapedText===k}))}})(E=S.DocumentHighlights||(S.DocumentHighlights={}))})(ne||(ne={}));var ne;(function(S){function createDocumentRegistry(S,E){return createDocumentRegistryInternal(S,E)}S.createDocumentRegistry=createDocumentRegistry;function createDocumentRegistryInternal(E,k,w){if(k===void 0){k=""}var N=S.createMap();var j=S.createGetCanonicalFileName(!!E);function reportStats(){var E=S.arrayFrom(N.keys()).filter((function(S){return S&&S.charAt(0)==="_"})).map((function(S){var E=N.get(S);var k=[];E.forEach((function(S,E){k.push({name:E,refCount:S.languageServiceRefCount})}));k.sort((function(S,E){return E.refCount-S.refCount}));return{bucket:S,sourceFiles:k}}));return JSON.stringify(E,undefined,2)}function acquireDocument(E,w,N,q,ee){var te=S.toPath(E,k,j);var ne=getKeyForCompilationSettings(w);return acquireDocumentWithKey(E,te,w,ne,N,q,ee)}function acquireDocumentWithKey(S,E,k,w,N,j,q){return acquireOrUpdateDocument(S,E,k,w,N,j,true,q)}function updateDocument(E,w,N,q,ee){var te=S.toPath(E,k,j);var ne=getKeyForCompilationSettings(w);return updateDocumentWithKey(E,te,w,ne,N,q,ee)}function updateDocumentWithKey(S,E,k,w,N,j,q){return acquireOrUpdateDocument(S,E,k,w,N,j,false,q)}function acquireOrUpdateDocument(E,k,j,q,ee,te,ne,ae){var _e=S.getOrUpdate(N,q,S.createMap);var ve=_e.get(k);var Ee=ae===6?100:j.target||1;if(!ve&&w){var Te=w.getDocument(q,k);if(Te){S.Debug.assert(ne);ve={sourceFile:Te,languageServiceRefCount:0};_e.set(k,ve)}}if(!ve){var Te=S.createLanguageServiceSourceFile(E,ee,Ee,te,false,ae);if(w){w.setDocument(q,k,Te)}ve={sourceFile:Te,languageServiceRefCount:1};_e.set(k,ve)}else{if(ve.sourceFile.version!==te){ve.sourceFile=S.updateLanguageServiceSourceFile(ve.sourceFile,ee,te,ee.getChangeRange(ve.sourceFile.scriptSnapshot));if(w){w.setDocument(q,k,ve.sourceFile)}}if(ne){ve.languageServiceRefCount++}}S.Debug.assert(ve.languageServiceRefCount!==0);return ve.sourceFile}function releaseDocument(E,w){var N=S.toPath(E,k,j);var q=getKeyForCompilationSettings(w);return releaseDocumentWithKey(N,q)}function releaseDocumentWithKey(E,k){var w=S.Debug.checkDefined(N.get(k));var j=w.get(E);j.languageServiceRefCount--;S.Debug.assert(j.languageServiceRefCount>=0);if(j.languageServiceRefCount===0){w.delete(E)}}function getLanguageServiceRefCounts(E){return S.arrayFrom(N.entries(),(function(S){var k=S[0],w=S[1];var N=w.get(E);return[k,N&&N.languageServiceRefCount]}))}return{acquireDocument:acquireDocument,acquireDocumentWithKey:acquireDocumentWithKey,updateDocument:updateDocument,updateDocumentWithKey:updateDocumentWithKey,releaseDocument:releaseDocument,releaseDocumentWithKey:releaseDocumentWithKey,getLanguageServiceRefCounts:getLanguageServiceRefCounts,reportStats:reportStats,getKeyForCompilationSettings:getKeyForCompilationSettings}}S.createDocumentRegistryInternal=createDocumentRegistryInternal;function getKeyForCompilationSettings(E){return S.sourceFileAffectingCompilerOptions.map((function(k){return S.getCompilerOptionValue(E,k)})).join("|")}})(ne||(ne={}));var ne;(function(S){var E;(function(E){function createImportTracker(S,E,k,w){var j=getDirectImportsMap(S,k,w);return function(q,ee,te){var ne=getImportersForExport(S,E,j,ee,k,w),ae=ne.directImports,_e=ne.indirectUsers;return N({indirectUsers:_e},getSearchesFromDirectImports(ae,q,ee.exportKind,k,te))}}E.createImportTracker=createImportTracker;var k;(function(S){S[S["Named"]=0]="Named";S[S["Default"]=1]="Default";S[S["ExportEquals"]=2]="ExportEquals"})(k=E.ExportKind||(E.ExportKind={}));var w;(function(S){S[S["Import"]=0]="Import";S[S["Export"]=1]="Export"})(w=E.ImportExport||(E.ImportExport={}));function getImportersForExport(E,k,w,N,j,q){var ee=N.exportingModuleSymbol,te=N.exportKind;var ne=S.nodeSeenTracker();var ae=S.nodeSeenTracker();var _e=[];var ve=!!ee.globalExports;var Ee=ve?undefined:[];handleDirectImports(ee);return{directImports:_e,indirectUsers:getIndirectUsers()};function getIndirectUsers(){if(ve){return E}for(var w=0,N=ee.declarations;w=0){if(te>w.end)break;var ne=te+ee;if((te===0||!S.isIdentifierPart(j.charCodeAt(te-1),99))&&(ne===q||!S.isIdentifierPart(j.charCodeAt(ne),99))){N.push(te)}te=j.indexOf(k,te+ee+1)}return N}function getLabelReferencesInNode(E,k){var w=E.getSourceFile();var N=k.text;var j=S.mapDefined(getPossibleSymbolReferenceNodes(w,N,E),(function(E){return E===k||S.isJumpStatementTarget(E)&&S.getTargetLabel(E,N)===k?nodeEntry(E):undefined}));return[{definition:{type:1,node:k},references:j}]}function isValidReferencePosition(E,k){switch(E.kind){case 76:case 75:return E.text.length===k.length;case 14:case 10:{var w=E;return(S.isLiteralNameOfPropertyDeclarationOrIndexAccess(w)||S.isNameOfModuleDeclaration(E)||S.isExpressionOfExternalModuleImportEqualsDeclaration(E)||S.isCallExpression(E.parent)&&S.isBindableObjectDefinePropertyCall(E.parent)&&E.parent.arguments[1]===E)&&w.text.length===k.length}case 8:return S.isLiteralNameOfPropertyDeclarationOrIndexAccess(E)&&E.text.length===k.length;case 84:return"default".length===k.length;default:return false}}function getAllReferencesForKeyword(E,k,w,N){var j=S.flatMap(E,(function(E){w.throwIfCancellationRequested();return S.mapDefined(getPossibleSymbolReferenceNodes(E,S.tokenToString(k),E),(function(S){if(S.kind===k&&(!N||N(S))){return nodeEntry(S)}}))}));return j.length?[{definition:{type:2,node:j[0].node},references:j}]:undefined}function getReferencesInSourceFile(S,E,k,w){if(w===void 0){w=true}k.cancellationToken.throwIfCancellationRequested();return getReferencesInContainer(S,S,E,k,w)}function getReferencesInContainer(S,E,k,w,N){if(!w.markSearchedSymbols(E,k.allSearchSymbols)){return}for(var j=0,q=getPossibleSymbolReferencePositions(E,k.text,S);j0;q--){var N=w[q];startNode(E,N)}return[w.length-1,w[0]]}function startNode(S,E){var k=emptyNavigationBarNode(S,E);pushChild(te,k);ee.push(te);ne.push(ae);te=k}function endNode(){if(te.children){mergeChildren(te.children,te);sortChildren(te.children)}te=ee.pop();ae=ne.pop()}function addNodeWithRecursiveChild(S,E,k){startNode(S,k);addChildrenRecursively(E);endNode()}function addChildrenRecursively(E){var k;j.throwIfCancellationRequested();if(!E||S.isToken(E)){return}switch(E.kind){case 162:var w=E;addNodeWithRecursiveChild(w,w.body);for(var N=0,q=w.parameters;N0){startNode(je,$e);S.forEachChild(je.right,addChildrenRecursively);endNode()}}}else if(S.isFunctionExpression(je.right)||S.isArrowFunction(je.right)){addNodeWithRecursiveChild(E,je.right,$e)}else{startNode(je,$e);addNodeWithRecursiveChild(E,je.right,ze.name);endNode()}endNestedNodes(We);return}case 7:case 9:{var qe=E;var $e=Be===7?qe.arguments[0]:qe.arguments[0].expression;var Ve=qe.arguments[1];var He=startNestedNodes(E,$e),We=He[0],Ge=He[1];startNode(E,Ge);startNode(E,S.setTextRange(S.createIdentifier(Ve.text),Ve));addChildrenRecursively(E.arguments[2]);endNode();endNode();endNestedNodes(We);return}case 5:{var je=E;var ze=je.left;var Je=ze.expression;if(S.isIdentifier(Je)&&S.getElementOrPropertyAccessName(ze)!=="prototype"&&ae&&ae.has(Je.text)){if(S.isFunctionExpression(je.right)||S.isArrowFunction(je.right)){addNodeWithRecursiveChild(E,je.right,Je)}else if(S.isBindableStaticAccessExpression(ze)){startNode(je,Je);addNodeWithRecursiveChild(je.left,je.right,S.getNameOrArgument(ze));endNode()}return}break}case 4:case 0:case 8:break;default:S.Debug.assertNever(Be)}}default:if(S.hasJSDocNodes(E)){S.forEach(E.jsDoc,(function(E){S.forEach(E.tags,(function(E){if(S.isJSDocTypeAlias(E)){addLeafNode(E)}}))}))}S.forEachChild(E,addChildrenRecursively)}}function mergeChildren(E,k){var w=S.createMap();S.filterMutate(E,(function(E,N){var j=E.name||S.getNameOfDeclaration(E.node);var q=j&&nodeText(j);if(!q){return true}var ee=w.get(q);if(!ee){w.set(q,E);return true}if(ee instanceof Array){for(var te=0,ne=ee;te0){return cleanText(w)}}switch(E.kind){case 290:var N=E;return S.isExternalModule(N)?'"'+S.escapeString(S.getBaseFileName(S.removeFileExtension(S.normalizePath(N.fileName))))+'"':"";case 259:return S.isExportAssignment(E)&&E.isExportEquals?"export=":"default";case 202:case 244:case 201:case 245:case 214:if(S.getModifierFlags(E)&512){return"default"}return getFunctionOrClassName(E);case 162:return"constructor";case 166:return"new()";case 165:return"()";case 167:return"[]";default:return""}}function primaryNavBarMenuItems(S){var E=[];function recur(S){if(shouldAppearInPrimaryNavBarMenu(S)){E.push(S);if(S.children){for(var k=0,w=S.children;k0){return cleanText(S.declarationNameToString(E.name))}else if(S.isVariableDeclaration(k)){return cleanText(S.declarationNameToString(k.name))}else if(S.isBinaryExpression(k)&&k.operatorToken.kind===62){return nodeText(k.left).replace(w,"")}else if(S.isPropertyAssignment(k)){return nodeText(k.name)}else if(S.getModifierFlags(E)&512){return"default"}else if(S.isClassLike(E)){return""}else if(S.isCallExpression(k)){var j=getCalledExpressionName(k.expression);if(j!==undefined){j=cleanText(j);if(j.length>N){return j+" callback"}var ee=cleanText(S.mapDefined(k.arguments,(function(E){return S.isStringLiteralLike(E)?E.getText(q):undefined})).join(", "));return j+"("+ee+") callback"}}return""}function getCalledExpressionName(E){if(S.isIdentifier(E)){return E.text}else if(S.isPropertyAccessExpression(E)){var k=getCalledExpressionName(E.expression);var w=E.name.text;return k===undefined?w:k+"."+w}else{return undefined}}function isFunctionOrClassExpression(S){switch(S.kind){case 202:case 201:case 214:return true;default:return false}}function cleanText(S){S=S.length>N?S.substring(0,N)+"...":S;return S.replace(/\\?(\r?\n|\r|\u2028|\u2029)/g,"")}})(E=S.NavigationBar||(S.NavigationBar={}))})(ne||(ne={}));var ne;(function(S){var E;(function(E){function organizeImports(E,k,w,N,j){var q=S.textChanges.ChangeTracker.fromContext({host:w,formatContext:k,preferences:j});var coalesceAndOrganizeImports=function(S){return coalesceImports(removeUnusedImports(S,E,N))};var ee=E.statements.filter(S.isImportDeclaration);organizeImportsWorker(ee,coalesceAndOrganizeImports);var te=E.statements.filter(S.isExportDeclaration);organizeImportsWorker(te,coalesceExports);for(var ne=0,ae=E.statements.filter(S.isAmbientModule);ne0?ve[0]:Te[0];var ze=Be.length===0?Oe?undefined:S.createNamedImports(S.emptyArray):Te.length===0?S.createNamedImports(Be):S.updateNamedImports(Te[0].importClause.namedBindings,Be);if(_e&&Oe&&ze){ee.push(updateImportDeclarationAndClause(je,Oe,undefined));ee.push(updateImportDeclarationAndClause((k=Te[0])!==null&&k!==void 0?k:je,undefined,ze))}else{ee.push(updateImportDeclarationAndClause(je,Oe,ze))}}return ee}E.coalesceImports=coalesceImports;function getCategorizedImports(E){var k;var w={defaultImports:[],namespaceImports:[],namedImports:[]};var N={defaultImports:[],namespaceImports:[],namedImports:[]};for(var j=0,q=E;j1){N.push(createOutliningSpanFromBounds(q,ee,"comment"))}}}function createOutliningSpanFromBounds(E,k,w){return createOutliningSpan(S.createTextSpanFromBounds(E,k),w)}function getOutliningSpanForNode(E,k){switch(E.kind){case 223:if(S.isFunctionLike(E.parent)){return functionSpan(E.parent,E,k)}switch(E.parent.kind){case 228:case 231:case 232:case 230:case 227:case 229:case 236:case 280:return spanForNode(E.parent);case 240:var w=E.parent;if(w.tryBlock===E){return spanForNode(E.parent)}else if(w.finallyBlock===E){var N=S.findChildOfKind(w,92,k);if(N)return spanForNode(N)}default:return createOutliningSpan(S.createTextSpanFromNode(E,k),"code")}case 250:return spanForNode(E.parent);case 245:case 214:case 246:case 248:case 251:case 173:return spanForNode(E);case 277:case 278:return spanForNodeArray(E.statements);case 193:return spanForObjectOrArrayLiteral(E);case 192:return spanForObjectOrArrayLiteral(E,22);case 266:return spanForJSXElement(E);case 270:return spanForJSXFragment(E);case 267:case 268:return spanForJSXAttributes(E.attributes);case 211:case 14:return spanForTemplateLiteral(E)}function spanForJSXElement(E){var w=S.createTextSpanFromBounds(E.openingElement.getStart(k),E.closingElement.getEnd());var N=E.openingElement.tagName.getText(k);var j="<"+N+">...";return createOutliningSpan(w,"code",w,false,j)}function spanForJSXFragment(E){var w=S.createTextSpanFromBounds(E.openingFragment.getStart(k),E.closingFragment.getEnd());var N="<>...";return createOutliningSpan(w,"code",w,false,N)}function spanForJSXAttributes(S){if(S.properties.length===0){return undefined}return createOutliningSpanFromBounds(S.getStart(k),S.getEnd(),"code")}function spanForTemplateLiteral(S){if(S.kind===14&&S.text.length===0){return undefined}return createOutliningSpanFromBounds(S.getStart(k),S.getEnd(),"code")}function spanForObjectOrArrayLiteral(E,k){if(k===void 0){k=18}return spanForNode(E,false,!S.isArrayLiteralExpression(E.parent)&&!S.isCallExpression(E.parent),k)}function spanForNode(w,N,j,q,ee){if(N===void 0){N=false}if(j===void 0){j=true}if(q===void 0){q=18}if(ee===void 0){ee=q===18?19:23}var te=S.findChildOfKind(E,q,k);var ne=S.findChildOfKind(E,ee,k);return te&&ne&&spanBetweenTokens(te,ne,w,k,N,j)}function spanForNodeArray(E){return E.length?createOutliningSpan(S.createTextSpanFromRange(E),"code"):undefined}}function functionSpan(E,k,w){var N=S.isNodeArrayMultiLine(E.parameters,w)?S.findChildOfKind(E,20,w):S.findChildOfKind(k,18,w);var j=S.findChildOfKind(k,19,w);return N&&j&&spanBetweenTokens(N,j,E,w,E.kind!==202)}function spanBetweenTokens(E,k,w,N,j,q){if(j===void 0){j=false}if(q===void 0){q=true}var ee=S.createTextSpanFromBounds(q?E.getFullStart():E.getStart(N),k.getEnd());return createOutliningSpan(ee,"code",S.createTextSpanFromNode(w,N),j)}function createOutliningSpan(S,E,k,w,N){if(k===void 0){k=S}if(w===void 0){w=false}if(N===void 0){N="..."}return{textSpan:S,kind:E,hintSpan:k,bannerText:N,autoCollapse:w}}})(E=S.OutliningElementsCollector||(S.OutliningElementsCollector={}))})(ne||(ne={}));var ne;(function(S){var E;(function(S){S[S["exact"]=0]="exact";S[S["prefix"]=1]="prefix";S[S["substring"]=2]="substring";S[S["camelCase"]=3]="camelCase"})(E=S.PatternMatchKind||(S.PatternMatchKind={}));function createPatternMatch(S,E){return{kind:S,isCaseSensitive:E}}function createPatternMatcher(E){var k=S.createMap();var w=E.trim().split(".").map((function(S){return createSegment(S.trim())}));if(w.some((function(S){return!S.subWordTextChunks.length})))return undefined;return{getFullMatch:function(S,E){return getFullMatch(S,E,w,k)},getMatchForLastSegmentOfPattern:function(E){return matchSegment(E,S.last(w),k)},patternContainsDots:w.length>1}}S.createPatternMatcher=createPatternMatcher;function getFullMatch(E,k,w,N){var j=matchSegment(k,S.last(w),N);if(!j){return undefined}if(w.length-1>E.length){return undefined}var q;for(var ee=w.length-2,te=E.length-1;ee>=0;ee-=1,te-=1){q=betterMatch(q,matchSegment(E[te],w[ee],N))}return q}function getWordSpans(S,E){var k=E.get(S);if(!k){E.set(S,k=breakIntoWordSpans(S))}return k}function matchTextChunk(k,w,N){var j=indexOfIgnoringCase(k,w.textLowerCase);if(j===0){return createPatternMatch(w.text.length===k.length?E.exact:E.prefix,S.startsWith(k,w.text))}if(w.isLowerCase){if(j===-1)return undefined;var q=getWordSpans(k,N);for(var ee=0,te=q;ee0){return createPatternMatch(E.substring,true)}if(w.characterSpans.length>0){var ae=getWordSpans(k,N);var _e=tryCamelCaseMatch(k,ae,w,false)?true:tryCamelCaseMatch(k,ae,w,true)?false:undefined;if(_e!==undefined){return createPatternMatch(E.camelCase,_e)}}}}function matchSegment(S,E,k){if(every(E.totalTextChunk.text,(function(S){return S!==32&&S!==42}))){var w=matchTextChunk(S,E.totalTextChunk,k);if(w)return w}var N=E.subWordTextChunks;var j;for(var q=0,ee=N;q=65&&E<=90){return true}if(E<127||!S.isUnicodeIdentifierStart(E,99)){return false}var k=String.fromCharCode(E);return k===k.toUpperCase()}function isLowerCaseLetter(E){if(E>=97&&E<=122){return true}if(E<127||!S.isUnicodeIdentifierStart(E,99)){return false}var k=String.fromCharCode(E);return k===k.toLowerCase()}function indexOfIgnoringCase(S,E){var k=S.length-E.length;var _loop_6=function(k){if(every(E,(function(E,w){return toLowerCase(S.charCodeAt(w+k))===E}))){return{value:k}}};for(var w=0;w<=k;w++){var N=_loop_6(w);if(typeof N==="object")return N.value}return-1}function toLowerCase(S){if(S>=65&&S<=90){return 97+(S-65)}if(S<127){return S}return String.fromCharCode(S).toLowerCase().charCodeAt(0)}function isDigit(S){return S>=48&&S<=57}function isWordChar(S){return isUpperCaseLetter(S)||isLowerCaseLetter(S)||isDigit(S)||S===95||S===36}function breakPatternIntoTextChunks(S){var E=[];var k=0;var w=0;for(var N=0;N0){E.push(createTextChunk(S.substr(k,w)));w=0}}}if(w>0){E.push(createTextChunk(S.substr(k,w)))}return E}function createTextChunk(S){var E=S.toLowerCase();return{text:S,textLowerCase:E,isLowerCase:S===E,characterSpans:breakIntoCharacterSpans(S)}}function breakIntoCharacterSpans(S){return breakIntoSpans(S,false)}S.breakIntoCharacterSpans=breakIntoCharacterSpans;function breakIntoWordSpans(S){return breakIntoSpans(S,true)}S.breakIntoWordSpans=breakIntoWordSpans;function breakIntoSpans(E,k){var w=[];var N=0;for(var j=1;jE){break e}if(positionShouldSnapToNode(k,E,ne)){if(S.isBlock(ne)||S.isTemplateSpan(ne)||S.isTemplateHead(ne)||S.isTemplateTail(ne)||te&&S.isTemplateHead(te)||S.isVariableDeclarationList(ne)&&S.isVariableStatement(j)||S.isSyntaxList(ne)&&S.isVariableDeclarationList(j)||S.isVariableDeclaration(ne)&&S.isSyntaxList(j)&&q.length===1){j=ne;break}if(S.isTemplateSpan(j)&&ae&&S.isTemplateMiddleOrTemplateTail(ae)){var _e=ne.getFullStart()-"${".length;var ve=ae.getStart()+"}".length;pushSelectionRange(_e,ve)}var Ee=S.isSyntaxList(ne)&&isListOpener(te)&&isListCloser(ae)&&!S.positionsAreOnSameLine(te.getStart(),ae.getStart(),k);var Te=S.hasJSDocNodes(ne)&&ne.jsDoc[0].getStart();var Ce=Ee?te.getEnd():ne.getStart();var we=Ee?ae.getStart():ne.getEnd();if(S.isNumber(Te)){pushSelectionRange(Te,we)}pushSelectionRange(Ce,we);if(S.isStringLiteral(ne)||S.isTemplateLiteral(ne)){pushSelectionRange(Ce+1,we-1)}j=ne;break}if(ee===q.length-1){break e}}}return w;function pushSelectionRange(k,j){if(k!==j){var q=S.createTextSpanFromBounds(k,j);if(!w||!S.textSpansEqual(q,w.textSpan)&&S.textSpanIntersectsWithPosition(q,E)){w=N({textSpan:q},w&&{parent:w})}}}}E.getSmartSelectionRange=getSmartSelectionRange;function positionShouldSnapToNode(E,k,w){S.Debug.assert(w.pos<=k);if(k0&&S.last(k).kind===27){w++}return w}function getArgumentIndexForTemplatePiece(E,k,w,N){S.Debug.assert(w>=k.getStart(),"Assumed 'position' could not occur before node.");if(S.isTemplateLiteralToken(k)){if(S.isInsideTemplateLiteral(k,w,N)){return 0}return E+2}return E+1}function getArgumentListInfoForTemplate(E,k,w){var N=S.isNoSubstitutionTemplateLiteral(E.template)?1:E.template.templateSpans.length+1;if(k!==0){S.Debug.assertLessThan(k,N)}return{isTypeParameterList:false,invocation:{kind:0,node:E},argumentsSpan:getApplicableSpanForTaggedTemplate(E,w),argumentIndex:k,argumentCount:N}}function getApplicableSpanForArguments(E,k){var w=E.getFullStart();var N=S.skipTrivia(k.text,E.getEnd(),false);return S.createTextSpan(w,N-w)}function getApplicableSpanForTaggedTemplate(E,k){var w=E.template;var N=w.getStart();var j=w.getEnd();if(w.kind===211){var q=S.last(w.templateSpans);if(q.literal.getFullWidth()===0){j=S.skipTrivia(k.text,j,false)}}return S.createTextSpan(N,j-N)}function getContainingArgumentInfo(E,k,w,N,j){var _loop_7=function(E){S.Debug.assert(S.rangeContainsRange(E.parent,E),"Not a subspan",(function(){return"Child: "+S.Debug.formatSyntaxKind(E.kind)+", parent: "+S.Debug.formatSyntaxKind(E.parent.kind)}));var j=getImmediatelyContainingArgumentOrContextualParameterInfo(E,k,w,N);if(j){return{value:j}}};for(var q=E;!S.isSourceFile(q)&&(j||!S.isBlock(q));q=q.parent){var ee=_loop_7(q);if(typeof ee==="object")return ee.value}return undefined}function getChildListThatStartsWithOpenerToken(E,k,w){var N=E.getChildren(w);var j=N.indexOf(k);S.Debug.assert(j>=0&&N.length>j+1);return N[j+1]}function getExpressionFromInvocation(E){return E.kind===0?S.getInvokedExpression(E.node):E.called}function getEnclosingDeclarationFromInvocation(S){return S.kind===0?S.node:S.kind===1?S.called:S.node}var j=8192|70221824|16384;function createSignatureHelpItems(E,k,w,N,j){var q=w.isTypeParameterList,ee=w.argumentCount,te=w.argumentsSpan,ne=w.invocation,ae=w.argumentIndex;var _e=getEnclosingDeclarationFromInvocation(ne);var ve=ne.kind===2?ne.symbol:j.getSymbolAtLocation(getExpressionFromInvocation(ne));var Ee=ve?S.symbolToDisplayParts(j,ve,undefined,undefined):S.emptyArray;var Te=E.map((function(S){return getSignatureHelpItem(S,Ee,q,j,_e,N)}));if(ae!==0){S.Debug.assertLessThan(ae,ee)}var Ce=E.indexOf(k);S.Debug.assert(Ce!==-1);return{items:Te,applicableSpan:te,selectedItemIndex:Ce,argumentIndex:ae,argumentCount:ee}}function createTypeHelpItems(S,E,k,w){var N=E.argumentCount,j=E.argumentsSpan,q=E.invocation,ee=E.argumentIndex;var te=w.getLocalTypeParametersOfClassOrInterfaceOrTypeAlias(S);if(!te)return undefined;var ne=[getTypeHelpItem(S,te,w,getEnclosingDeclarationFromInvocation(q),k)];return{items:ne,applicableSpan:j,selectedItemIndex:0,argumentIndex:ee,argumentCount:N}}function getTypeHelpItem(E,k,N,j,ee){var te=S.symbolToDisplayParts(N,E);var ne=S.createPrinter({removeComments:true});var ae=k.map((function(S){return createSignatureHelpParameterForTypeParameter(S,N,j,ee,ne)}));var _e=E.getDocumentationComment(N);var ve=E.getJsDocTags();var Ee=w(te,[S.punctuationPart(29)]);return{isVariadic:false,prefixDisplayParts:Ee,suffixDisplayParts:[S.punctuationPart(31)],separatorDisplayParts:q,parameters:ae,documentation:_e,tags:ve}}var q=[S.punctuationPart(27),S.spacePart()];function getSignatureHelpItem(S,E,k,N,j,ee){var te=(k?itemInfoForTypeParameters:itemInfoForParameters)(S,N,j,ee),ne=te.isVariadic,ae=te.parameters,_e=te.prefix,ve=te.suffix;var Ee=w(E,_e);var Te=w(ve,returnTypeToDisplayParts(S,j,N));var Ce=S.getDocumentationComment(N);var we=S.getJsDocTags();return{isVariadic:ne,prefixDisplayParts:Ee,suffixDisplayParts:Te,separatorDisplayParts:q,parameters:ae,documentation:Ce,tags:we}}function returnTypeToDisplayParts(E,k,w){return S.mapToDisplayParts((function(S){S.writePunctuation(":");S.writeSpace(" ");var N=w.getTypePredicateOfSignature(E);if(N){w.writeTypePredicate(N,k,undefined,S)}else{w.writeType(w.getReturnTypeOfSignature(E),k,undefined,S)}}))}function itemInfoForTypeParameters(E,k,N,q){var ee=(E.target||E).typeParameters;var te=S.createPrinter({removeComments:true});var ne=(ee||S.emptyArray).map((function(S){return createSignatureHelpParameterForTypeParameter(S,k,N,q,te)}));var ae=S.mapToDisplayParts((function(ee){var ne=E.thisParameter?[k.symbolToParameterDeclaration(E.thisParameter,N,j)]:[];var ae=S.createNodeArray(w(ne,k.getExpandedParameters(E).map((function(S){return k.symbolToParameterDeclaration(S,N,j)}))));te.writeList(2576,ae,q,ee)}));return{isVariadic:false,parameters:ne,prefix:[S.punctuationPart(29)],suffix:w([S.punctuationPart(31)],ae)}}function itemInfoForParameters(E,k,N,q){var ee=k.hasEffectiveRestParameter(E);var te=S.createPrinter({removeComments:true});var ne=S.mapToDisplayParts((function(w){if(E.typeParameters&&E.typeParameters.length){var ee=S.createNodeArray(E.typeParameters.map((function(S){return k.typeParameterToDeclaration(S,N,j)})));te.writeList(53776,ee,q,w)}}));var ae=k.getExpandedParameters(E).map((function(S){return createSignatureHelpParameterForParameter(S,k,N,q,te)}));return{isVariadic:ee,parameters:ae,prefix:w(ne,[S.punctuationPart(20)]),suffix:[S.punctuationPart(21)]}}function createSignatureHelpParameterForParameter(E,k,w,N,q){var ee=S.mapToDisplayParts((function(S){var ee=k.symbolToParameterDeclaration(E,w,j);q.writeNode(4,ee,N,S)}));var te=k.isOptionalParameter(E.valueDeclaration);return{name:E.name,documentation:E.getDocumentationComment(k),displayParts:ee,isOptional:te}}function createSignatureHelpParameterForTypeParameter(E,k,w,N,q){var ee=S.mapToDisplayParts((function(S){var ee=k.typeParameterToDeclaration(E,w,j);q.writeNode(4,ee,N,S)}));return{name:E.symbol.name,documentation:E.symbol.getDocumentationComment(k),displayParts:ee,isOptional:false}}})(E=S.SignatureHelp||(S.SignatureHelp={}))})(ne||(ne={}));var ne;(function(S){var E=/^data:(?:application\/json(?:;charset=[uU][tT][fF]-8);base64,([A-Za-z0-9+\/=]+)$)?/;function getSourceMapper(E){var k=S.createGetCanonicalFileName(E.useCaseSensitiveFileNames());var w=E.getCurrentDirectory();var N=S.createMap();var j=S.createMap();return{tryGetSourcePosition:tryGetSourcePosition,tryGetGeneratedPosition:tryGetGeneratedPosition,toLineColumnOffset:toLineColumnOffset,clearCache:clearCache};function toPath(E){return S.toPath(E,w,k)}function getDocumentPositionMapper(w,N){var q=toPath(w);var ee=j.get(q);if(ee)return ee;var te;if(E.getDocumentPositionMapper){te=E.getDocumentPositionMapper(w,N)}else if(E.readFile){var ne=getSourceFileLike(w);te=ne&&S.getDocumentPositionMapper({getSourceFileLike:getSourceFileLike,getCanonicalFileName:k,log:function(S){return E.log(S)}},w,S.getLineInfo(ne.text,S.getLineStarts(ne)),(function(S){return!E.fileExists||E.fileExists(S)?E.readFile(S):undefined}))}j.set(q,te||S.identitySourceMapConsumer);return te||S.identitySourceMapConsumer}function tryGetSourcePosition(E){if(!S.isDeclarationFileName(E.fileName))return undefined;var k=getSourceFile(E.fileName);if(!k)return undefined;var w=getDocumentPositionMapper(E.fileName).getSourcePosition(E);return!w||w===E?undefined:tryGetSourcePosition(w)||w}function tryGetGeneratedPosition(N){if(S.isDeclarationFileName(N.fileName))return undefined;var j=getSourceFile(N.fileName);if(!j)return undefined;var q=E.getProgram();if(q.isSourceOfProjectReferenceRedirect(j.fileName)){return undefined}var ee=q.getCompilerOptions();var te=ee.outFile||ee.out;var ne=te?S.removeFileExtension(te)+".d.ts":S.getDeclarationEmitOutputFilePathWorker(N.fileName,q.getCompilerOptions(),w,q.getCommonSourceDirectory(),k);if(ne===undefined)return undefined;var ae=getDocumentPositionMapper(ne,N.fileName).getGeneratedPosition(N);return ae===N?undefined:ae}function getSourceFile(S){var k=E.getProgram();if(!k)return undefined;var w=toPath(S);var N=k.getSourceFileByPath(w);return N&&N.resolvedPath===w?N:undefined}function getOrCreateSourceFileLike(S){var k=toPath(S);var w=N.get(k);if(w!==undefined)return w?w:undefined;if(!E.readFile||E.fileExists&&!E.fileExists(k)){N.set(k,false);return undefined}var j=E.readFile(k);var q=j?createSourceFileLike(j):false;N.set(k,q);return q?q:undefined}function getSourceFileLike(S){return!E.getSourceFileLike?getSourceFile(S)||getOrCreateSourceFileLike(S):E.getSourceFileLike(S)}function toLineColumnOffset(S,E){var k=getSourceFileLike(S);return k.getLineAndCharacterOfPosition(E)}function clearCache(){N.clear();j.clear()}}S.getSourceMapper=getSourceMapper;function getDocumentPositionMapper(k,w,N,j){var q=S.tryGetSourceMappingURL(N);if(q){var ee=E.exec(q);if(ee){if(ee[1]){var te=ee[1];return convertDocumentToSourceMapper(k,S.base64decode(S.sys,te),w)}q=undefined}}var ne=[];if(q){ne.push(q)}ne.push(w+".map");var ae=q&&S.getNormalizedAbsolutePath(q,S.getDirectoryPath(w));for(var _e=0,ve=ne;_e2)return false;if(E.arguments.length<2)return true;return S.some(E.arguments,(function(E){return E.kind===100||S.isIdentifier(E)&&E.text==="undefined"}))}function isFixablePromiseArgument(S){switch(S.kind){case 244:case 201:case 202:E.set(getKeyFromNode(S),true);case 100:case 75:return true;default:return false}}function getKeyFromNode(S){return S.pos.toString()+":"+S.end.toString()}function canBeConvertedToClass(E){var k,w,N,j;if(E.kind===201){if(S.isVariableDeclaration(E.parent)&&((k=E.symbol.members)===null||k===void 0?void 0:k.size)){return true}var q=S.getDeclarationOfExpando(E);var ee=q===null||q===void 0?void 0:q.symbol;return!!(ee&&(((w=ee.exports)===null||w===void 0?void 0:w.size)||((N=ee.members)===null||N===void 0?void 0:N.size)))}if(E.kind===244){return!!((j=E.symbol.members)===null||j===void 0?void 0:j.size)}return false}})(ne||(ne={}));var ne;(function(S){var E;(function(E){var k=8192|70221824|16384;function getSymbolKind(E,k,w){var N=getSymbolKindOfConstructorPropertyMethodAccessorFunctionOrVar(E,k,w);if(N!==""){return N}var j=S.getCombinedLocalAndExportSymbolFlags(k);if(j&32){return S.getDeclarationOfKind(k,214)?"local class":"class"}if(j&384)return"enum";if(j&524288)return"type";if(j&64)return"interface";if(j&262144)return"type parameter";if(j&8)return"enum member";if(j&2097152)return"alias";if(j&1536)return"module";return N}E.getSymbolKind=getSymbolKind;function getSymbolKindOfConstructorPropertyMethodAccessorFunctionOrVar(E,k,w){var N=E.getRootSymbols(k);if(N.length===1&&S.first(N).flags&8192&&E.getTypeOfSymbolAtLocation(k,w).getNonNullableType().getCallSignatures().length!==0){return"method"}if(E.isUndefinedSymbol(k)){return"var"}if(E.isArgumentsSymbol(k)){return"local var"}if(w.kind===104&&S.isExpression(w)){return"parameter"}var j=S.getCombinedLocalAndExportSymbolFlags(k);if(j&3){if(S.isFirstDeclarationOfSymbolParameter(k)){return"parameter"}else if(k.valueDeclaration&&S.isVarConst(k.valueDeclaration)){return"const"}else if(S.forEach(k.declarations,S.isLet)){return"let"}return isLocalVariableOrFunction(k)?"local var":"var"}if(j&16)return isLocalVariableOrFunction(k)?"local function":"function";if(j&32768)return"getter";if(j&65536)return"setter";if(j&8192)return"method";if(j&16384)return"constructor";if(j&4){if(j&33554432&&k.checkFlags&6){var q=S.forEach(E.getRootSymbols(k),(function(E){var k=E.getFlags();if(k&(98308|3)){return"property"}S.Debug.assert(!!(k&(8192|16)))}));if(!q){var ee=E.getTypeOfSymbolAtLocation(k,w);if(ee.getCallSignatures().length){return"method"}return"property"}return q}switch(w.parent&&w.parent.kind){case 268:case 266:case 267:return w.kind===75?"property":"JSX attribute";case 273:return"JSX attribute";default:return"property"}}return""}function getSymbolModifiers(E){var k=E&&E.declarations&&E.declarations.length>0?S.getNodeModifiers(E.declarations[0]):"";var w=E&&E.flags&16777216?"optional":"";return k&&w?k+","+w:k||w}E.getSymbolModifiers=getSymbolModifiers;function getSymbolDisplayPartsDocumentationAndSymbolKind(E,w,N,j,q,ee,te){if(ee===void 0){ee=S.getMeaningFromLocation(q)}var ne=[];var ae=[];var _e=[];var ve=S.getCombinedLocalAndExportSymbolFlags(w);var Ee=ee&1?getSymbolKindOfConstructorPropertyMethodAccessorFunctionOrVar(E,w,q):"";var Te=false;var Ce=q.kind===104&&S.isInExpressionContext(q);var we;var Ne;var Ie;var Fe;var Oe=false;if(q.kind===104&&!Ce){return{displayParts:[S.keywordPart(104)],documentation:[],symbolKind:"primitive type",tags:undefined}}if(Ee!==""||ve&32||ve&2097152){if(Ee==="getter"||Ee==="setter"){Ee="property"}var Me=void 0;we=Ce?E.getTypeAtLocation(q):E.getTypeOfSymbolAtLocation(w.exportSymbol||w,q);if(q.parent&&q.parent.kind===194){var Re=q.parent.name;if(Re===q||Re&&Re.getFullWidth()===0){q=q.parent}}var Le=void 0;if(S.isCallOrNewExpression(q)){Le=q}else if(S.isCallExpressionTarget(q)||S.isNewExpressionTarget(q)){Le=q.parent}else if(q.parent&&S.isJsxOpeningLikeElement(q.parent)&&S.isFunctionLike(w.valueDeclaration)){Le=q.parent}if(Le){Me=E.getResolvedSignature(Le);var Be=Le.kind===197||S.isCallExpression(Le)&&Le.expression.kind===102;var je=Be?we.getConstructSignatures():we.getCallSignatures();if(!S.contains(je,Me.target)&&!S.contains(je,Me)){Me=je.length?je[0]:undefined}if(Me){if(Be&&ve&32){Ee="constructor";addPrefixForAnyFunctionOrVar(we.symbol,Ee)}else if(ve&2097152){Ee="alias";pushSymbolKind(Ee);ne.push(S.spacePart());if(Be){ne.push(S.keywordPart(99));ne.push(S.spacePart())}addFullSymbolName(w)}else{addPrefixForAnyFunctionOrVar(w,Ee)}switch(Ee){case"JSX attribute":case"property":case"var":case"const":case"let":case"parameter":case"local var":ne.push(S.punctuationPart(58));ne.push(S.spacePart());if(!(S.getObjectFlags(we)&16)&&we.symbol){S.addRange(ne,S.symbolToDisplayParts(E,we.symbol,j,undefined,4|1));ne.push(S.lineBreakPart())}if(Be){ne.push(S.keywordPart(99));ne.push(S.spacePart())}addSignatureDisplayParts(Me,je,262144);break;default:addSignatureDisplayParts(Me,je)}Te=true;Oe=je.length>1}}else if(S.isNameOfFunctionDeclaration(q)&&!(ve&98304)||q.kind===129&&q.parent.kind===162){var ze=q.parent;var Ue=w.declarations&&S.find(w.declarations,(function(S){return S===(q.kind===129?ze.parent:ze)}));if(Ue){var je=ze.kind===162?we.getNonNullableType().getConstructSignatures():we.getNonNullableType().getCallSignatures();if(!E.isImplementationOfOverload(ze)){Me=E.getSignatureFromDeclaration(ze)}else{Me=je[0]}if(ze.kind===162){Ee="constructor";addPrefixForAnyFunctionOrVar(we.symbol,Ee)}else{addPrefixForAnyFunctionOrVar(ze.kind===165&&!(we.symbol.flags&2048||we.symbol.flags&4096)?we.symbol:w,Ee)}addSignatureDisplayParts(Me,je);Te=true;Oe=je.length>1}}}if(ve&32&&!Te&&!Ce){addAliasPrefixIfNecessary();if(S.getDeclarationOfKind(w,214)){pushSymbolKind("local class")}else{ne.push(S.keywordPart(80))}ne.push(S.spacePart());addFullSymbolName(w);writeTypeParametersOfSymbol(w,N)}if(ve&64&&ee&2){prefixNextMeaning();ne.push(S.keywordPart(114));ne.push(S.spacePart());addFullSymbolName(w);writeTypeParametersOfSymbol(w,N)}if(ve&524288&&ee&2){prefixNextMeaning();ne.push(S.keywordPart(145));ne.push(S.spacePart());addFullSymbolName(w);writeTypeParametersOfSymbol(w,N);ne.push(S.spacePart());ne.push(S.operatorPart(62));ne.push(S.spacePart());S.addRange(ne,S.typeToDisplayParts(E,E.getDeclaredTypeOfSymbol(w),j,8388608))}if(ve&384){prefixNextMeaning();if(S.some(w.declarations,(function(E){return S.isEnumDeclaration(E)&&S.isEnumConst(E)}))){ne.push(S.keywordPart(81));ne.push(S.spacePart())}ne.push(S.keywordPart(88));ne.push(S.spacePart());addFullSymbolName(w)}if(ve&1536&&!Ce){prefixNextMeaning();var We=S.getDeclarationOfKind(w,249);var $e=We&&We.name&&We.name.kind===75;ne.push(S.keywordPart($e?136:135));ne.push(S.spacePart());addFullSymbolName(w)}if(ve&262144&&ee&2){prefixNextMeaning();ne.push(S.punctuationPart(20));ne.push(S.textPart("type parameter"));ne.push(S.punctuationPart(21));ne.push(S.spacePart());addFullSymbolName(w);if(w.parent){addInPrefix();addFullSymbolName(w.parent,j);writeTypeParametersOfSymbol(w.parent,j)}else{var qe=S.getDeclarationOfKind(w,155);if(qe===undefined)return S.Debug.fail();var We=qe.parent;if(We){if(S.isFunctionLikeKind(We.kind)){addInPrefix();var Me=E.getSignatureFromDeclaration(We);if(We.kind===166){ne.push(S.keywordPart(99));ne.push(S.spacePart())}else if(We.kind!==165&&We.name){addFullSymbolName(We.symbol)}S.addRange(ne,S.signatureToDisplayParts(E,Me,N,32))}else if(We.kind===247){addInPrefix();ne.push(S.keywordPart(145));ne.push(S.spacePart());addFullSymbolName(We.symbol);writeTypeParametersOfSymbol(We.symbol,N)}}}}if(ve&8){Ee="enum member";addPrefixForAnyFunctionOrVar(w,"enum member");var We=w.declarations[0];if(We.kind===284){var Ve=E.getConstantValue(We);if(Ve!==undefined){ne.push(S.spacePart());ne.push(S.operatorPart(62));ne.push(S.spacePart());ne.push(S.displayPart(S.getTextOfConstantValue(Ve),typeof Ve==="number"?S.SymbolDisplayPartKind.numericLiteral:S.SymbolDisplayPartKind.stringLiteral))}}}if(ve&2097152){prefixNextMeaning();if(!Te){var He=E.getAliasedSymbol(w);if(He!==w&&He.declarations&&He.declarations.length>0){var Ge=He.declarations[0];var Je=S.getNameOfDeclaration(Ge);if(Je){var Ke=S.isModuleWithStringLiteralName(Ge)&&S.hasModifier(Ge,2);var Qe=w.name!=="default"&&!Ke;var Xe=getSymbolDisplayPartsDocumentationAndSymbolKind(E,He,S.getSourceFileOfNode(Ge),Ge,Je,ee,Qe?w:He);ne.push.apply(ne,Xe.displayParts);ne.push(S.lineBreakPart());Ie=Xe.documentation;Fe=Xe.tags}}}switch(w.declarations[0].kind){case 252:ne.push(S.keywordPart(89));ne.push(S.spacePart());ne.push(S.keywordPart(136));break;case 259:ne.push(S.keywordPart(89));ne.push(S.spacePart());ne.push(S.keywordPart(w.declarations[0].isExportEquals?62:84));break;case 263:ne.push(S.keywordPart(89));break;default:ne.push(S.keywordPart(96))}ne.push(S.spacePart());addFullSymbolName(w);S.forEach(w.declarations,(function(k){if(k.kind===253){var w=k;if(S.isExternalModuleImportEqualsDeclaration(w)){ne.push(S.spacePart());ne.push(S.operatorPart(62));ne.push(S.spacePart());ne.push(S.keywordPart(139));ne.push(S.punctuationPart(20));ne.push(S.displayPart(S.getTextOfNode(S.getExternalModuleImportEqualsDeclarationExpression(w)),S.SymbolDisplayPartKind.stringLiteral));ne.push(S.punctuationPart(21))}else{var N=E.getSymbolAtLocation(w.moduleReference);if(N){ne.push(S.spacePart());ne.push(S.operatorPart(62));ne.push(S.spacePart());addFullSymbolName(N,j)}}return true}}))}if(!Te){if(Ee!==""){if(we){if(Ce){prefixNextMeaning();ne.push(S.keywordPart(104))}else{addPrefixForAnyFunctionOrVar(w,Ee)}if(Ee==="property"||Ee==="JSX attribute"||ve&3||Ee==="local var"||Ce){ne.push(S.punctuationPart(58));ne.push(S.spacePart());if(we.symbol&&we.symbol.flags&262144){var Ye=S.mapToDisplayParts((function(w){var N=E.typeParameterToDeclaration(we,j,k);getPrinter().writeNode(4,N,S.getSourceFileOfNode(S.getParseTreeNode(j)),w)}));S.addRange(ne,Ye)}else{S.addRange(ne,S.typeToDisplayParts(E,we,j))}}else if(ve&16||ve&8192||ve&16384||ve&131072||ve&98304||Ee==="method"){var je=we.getNonNullableType().getCallSignatures();if(je.length){addSignatureDisplayParts(je[0],je);Oe=je.length>1}}}}else{Ee=getSymbolKind(E,w,q)}}if(ae.length===0&&!Oe){ae=w.getDocumentationComment(E)}if(ae.length===0&&ve&4){if(w.parent&&S.forEach(w.parent.declarations,(function(S){return S.kind===290}))){for(var Ze=0,et=w.declarations;Ze0){break}}}}if(_e.length===0&&!Oe){_e=w.getJsDocTags()}if(ae.length===0&&Ie){ae=Ie}if(_e.length===0&&Fe){_e=Fe}return{displayParts:ne,documentation:ae,symbolKind:Ee,tags:_e.length===0?undefined:_e};function getPrinter(){if(!Ne){Ne=S.createPrinter({removeComments:true})}return Ne}function prefixNextMeaning(){if(ne.length){ne.push(S.lineBreakPart())}addAliasPrefixIfNecessary()}function addAliasPrefixIfNecessary(){if(te){pushSymbolKind("alias");ne.push(S.spacePart())}}function addInPrefix(){ne.push(S.spacePart());ne.push(S.keywordPart(97));ne.push(S.spacePart())}function addFullSymbolName(k,j){if(te&&k===w){k=te}var q=S.symbolToDisplayParts(E,k,j||N,undefined,1|2|4);S.addRange(ne,q);if(w.flags&16777216){ne.push(S.punctuationPart(57))}}function addPrefixForAnyFunctionOrVar(E,k){prefixNextMeaning();if(k){pushSymbolKind(k);if(E&&!S.some(E.declarations,(function(E){return S.isArrowFunction(E)||(S.isFunctionExpression(E)||S.isClassExpression(E))&&!E.name}))){ne.push(S.spacePart());addFullSymbolName(E)}}}function pushSymbolKind(E){switch(E){case"var":case"function":case"let":case"const":case"constructor":ne.push(S.textOrKeywordPart(E));return;default:ne.push(S.punctuationPart(20));ne.push(S.textOrKeywordPart(E));ne.push(S.punctuationPart(21));return}}function addSignatureDisplayParts(k,w,N){if(N===void 0){N=0}S.addRange(ne,S.signatureToDisplayParts(E,k,j,N|32));if(w.length>1){ne.push(S.spacePart());ne.push(S.punctuationPart(20));ne.push(S.operatorPart(39));ne.push(S.displayPart((w.length-1).toString(),S.SymbolDisplayPartKind.numericLiteral));ne.push(S.spacePart());ne.push(S.textPart(w.length===2?"overload":"overloads"));ne.push(S.punctuationPart(21))}ae=k.getDocumentationComment(E);_e=k.getJsDocTags();if(w.length>1&&ae.length===0&&_e.length===0){ae=w[0].getDocumentationComment(E);_e=w[0].getJsDocTags()}}function writeTypeParametersOfSymbol(w,N){var j=S.mapToDisplayParts((function(j){var q=E.symbolToTypeParameterDeclarations(w,N,k);getPrinter().writeList(53776,q,S.getSourceFileOfNode(S.getParseTreeNode(N)),j)}));S.addRange(ne,j)}}E.getSymbolDisplayPartsDocumentationAndSymbolKind=getSymbolDisplayPartsDocumentationAndSymbolKind;function isLocalVariableOrFunction(E){if(E.parent){return false}return S.forEach(E.declarations,(function(E){if(E.kind===201){return true}if(E.kind!==242&&E.kind!==244){return false}for(var k=E.parent;!S.isFunctionBlock(k);k=k.parent){if(k.kind===290||k.kind===250){return false}}return true}))}})(E=S.SymbolDisplay||(S.SymbolDisplay={}))})(ne||(ne={}));var ne;(function(S){function transpileModule(E,k){var w=[];var N=k.compilerOptions?fixupCompilerOptions(k.compilerOptions,w):{};var j=S.getDefaultCompilerOptions();for(var q in j){if(S.hasProperty(j,q)&&N[q]===undefined){N[q]=j[q]}}for(var ee=0,te=S.transpileOptionValueCompilerOptions;ee>=w}return k}function increaseInsertionIndex(E,k){var w=(E>>k&N)+1;S.Debug.assert((w&N)===w,"Adding more rules into the sub-bucket than allowed. Maximum allowed is 32 rules.");return E&~(N<=w.length){return false}var k=w[N];if(E.end<=k.start){return false}if(S.startEndOverlapsWithStartEnd(E.pos,E.end,k.start,k.start+k.length)){return true}N++}};function rangeHasNoErrors(){return false}}function getScanStartPosition(E,k,w){var N=E.getStart(w);if(N===k.pos&&E.end===k.end){return N}var j=S.findPrecedingToken(k.pos,w);if(!j){return E.pos}if(j.end>=k.pos){return E.pos}return j.end}function getOwnOrInheritedDelta(S,k,w){var N=-1;var j;while(S){var q=w.getLineAndCharacterOfPosition(S.getStart(w)).line;if(N!==-1&&q!==N){break}if(E.SmartIndenter.shouldIndentChildNode(k,S,j,w)){return k.indentSize}N=q;j=S;S=S.parent}return 0}function formatNodeGivenIndentation(S,k,w,N,j,q){var ee={pos:0,end:k.text.length};return E.getFormattingScanner(k.text,w,ee.pos,ee.end,(function(E){return formatSpanWorker(ee,S,N,j,E,q,1,(function(S){return false}),k)}))}E.formatNodeGivenIndentation=formatNodeGivenIndentation;function formatNodeLines(E,k,w,N){if(!E){return[]}var j={pos:S.getLineStartPositionForPosition(E.getStart(k),k),end:E.end};return formatSpan(j,k,w,N)}function formatSpan(S,k,w,N){var j=findEnclosingNode(S,k);return E.getFormattingScanner(k.text,k.languageVariant,getScanStartPosition(j,S,k),S.end,(function(q){return formatSpanWorker(S,j,E.SmartIndenter.getIndentationForNode(j,S,k,w.options),getOwnOrInheritedDelta(j,w.options,k),q,w,N,prepareRangeContainsErrorFunction(k.parseDiagnostics,S),k)}))}function formatSpanWorker(k,w,N,j,q,ee,te,ne,ae){var _e=ee.options,ve=ee.getRules,Ee=ee.host;var Te=new E.FormattingContext(ae,te,_e);var Ce;var we;var Ne;var Ie;var Fe=-1;var Oe=[];q.advance();if(q.isOnToken()){var Me=ae.getLineAndCharacterOfPosition(w.getStart(ae)).line;var Re=Me;if(w.decorators){Re=ae.getLineAndCharacterOfPosition(S.getNonDecoratorTokenPosOfNode(w,ae)).line}processNode(w,w,Me,Re,N,j)}if(!q.isOnToken()){var Le=q.getCurrentLeadingTrivia();if(Le){indentTriviaItems(Le,N,false,(function(S){return processRange(S,ae.getLineAndCharacterOfPosition(S.pos),w,w,undefined)}));if(_e.trimTrailingWhitespace!==false){trimTrailingWhitespacesForRemainingRange()}}}return Oe;function tryComputeIndentationForListItem(k,w,N,j,q){if(S.rangeOverlapsWithStartEnd(j,k,w)||S.rangeContainsStartEnd(j,k,w)){if(q!==-1){return q}}else{var ee=ae.getLineAndCharacterOfPosition(k).line;var te=S.getLineStartPositionForPosition(k,ae);var ne=E.SmartIndenter.findFirstNonWhitespaceColumn(te,k,ae,_e);if(ee!==N||k===ne){var ve=E.SmartIndenter.getBaseIndentation(_e);return ve>ne?ve:ne}}return-1}function computeIndentation(S,k,w,N,j,q){var ee=E.SmartIndenter.shouldIndentChildNode(_e,S)?_e.indentSize:0;if(q===k){return{indentation:k===Ie?Fe:j.getIndentation(),delta:Math.min(_e.indentSize,j.getDelta(S)+ee)}}else if(w===-1){if(S.kind===20&&k===Ie){return{indentation:Fe,delta:j.getDelta(S)}}else if(E.SmartIndenter.childStartsOnTheSameLineWithElseInIfStatement(N,S,k,ae)){return{indentation:j.getIndentation(),delta:ee}}else if(E.SmartIndenter.argumentStartsOnSameLineAsPreviousArgument(N,S,k,ae)){return{indentation:j.getIndentation(),delta:ee}}else{return{indentation:j.getIndentation()+j.getDelta(S),delta:ee}}}else{return{indentation:w,delta:ee}}}function getFirstNonDecoratorTokenOfNode(E){if(E.modifiers&&E.modifiers.length){return E.modifiers[0].kind}switch(E.kind){case 245:return 80;case 246:return 114;case 244:return 94;case 248:return 248;case 163:return 131;case 164:return 142;case 161:if(E.asteriskToken){return 41}case 159:case 156:var k=S.getNameOfDeclaration(E);if(k){return k.kind}}}function getDynamicIndentation(S,k,w,N){return{getIndentationForComment:function(S,E,k){switch(S){case 19:case 23:case 21:return w+getDelta(k)}return E!==-1?E:w},getIndentationForToken:function(S,E,k,N){return!N&&shouldAddDelta(S,E,k)?w+getDelta(k):w},getIndentation:function(){return w},getDelta:getDelta,recomputeIndentation:function(k,j){if(E.SmartIndenter.shouldIndentChildNode(_e,j,S,ae)){w+=k?_e.indentSize:-_e.indentSize;N=E.SmartIndenter.shouldIndentChildNode(_e,S)?_e.indentSize:0}}};function shouldAddDelta(E,w,N){switch(w){case 18:case 19:case 21:case 87:case 111:case 59:return false;case 43:case 31:switch(N.kind){case 268:case 269:case 267:return false}break;case 22:case 23:if(N.kind!==186){return false}break}return k!==E&&!(S.decorators&&w===getFirstNonDecoratorTokenOfNode(S))}function getDelta(k){return E.SmartIndenter.nodeWillIndentChild(_e,S,k,ae,true)?N:0}}function processNode(w,N,j,ee,te,ve){if(!S.rangeOverlapsWithStartEnd(k,w.getStart(ae),w.getEnd())){return}var Ee=getDynamicIndentation(w,j,te,ve);var Te=N;S.forEachChild(w,(function(S){processChildNode(S,-1,w,Ee,j,ee,false)}),(function(S){processChildNodes(S,w,j,Ee)}));while(q.isOnToken()){var Oe=q.readTokenInfo(w);if(Oe.token.end>w.end){break}if(w.kind===11){q.advance();continue}consumeTokenAndAdvanceScanner(Oe,w,Ee,w)}if(!w.parent&&q.isOnEOF()){var Me=q.readEOFTokenRange();if(Me.end<=w.end&&Ce){processPair(Me,ae.getLineAndCharacterOfPosition(Me.pos).line,w,Ce,Ne,we,N,Ee)}}function processChildNode(E,N,j,ee,te,ne,_e,ve){var Ee=E.getStart(ae);var Ce=ae.getLineAndCharacterOfPosition(Ee).line;var we=Ce;if(E.decorators){we=ae.getLineAndCharacterOfPosition(S.getNonDecoratorTokenPosOfNode(E,ae)).line}var Ne=-1;if(_e&&S.rangeContainsRange(k,j)){Ne=tryComputeIndentationForListItem(Ee,E.end,te,k,N);if(Ne!==-1){N=Ne}}if(!S.rangeOverlapsWithStartEnd(k,E.pos,E.end)){if(E.endEe){break}consumeTokenAndAdvanceScanner(Ie,w,ee,w)}if(!q.isOnToken()){return N}if(S.isToken(E)&&E.kind!==11){var Ie=q.readTokenInfo(E);S.Debug.assert(Ie.token.end===E.end,"Token end is child end");consumeTokenAndAdvanceScanner(Ie,w,ee,E);return N}var Fe=E.kind===157?Ce:ne;var Oe=computeIndentation(E,Ce,Ne,w,ee,Fe);processNode(E,Te,Ce,we,Oe.indentation,Oe.delta);if(E.kind===11){var Me={pos:E.getStart(),end:E.getEnd()};if(Me.pos!==Me.end){var Re=j.getChildren(ae);var Le=S.findIndex(Re,(function(S){return S.pos===E.pos}));var Be=Re[Le-1];if(Be){if(ae.getLineAndCharacterOfPosition(Me.end).line!==ae.getLineAndCharacterOfPosition(Be.end).line){var je=ae.getLineAndCharacterOfPosition(Me.pos).line===ae.getLineAndCharacterOfPosition(Be.end).line;indentMultilineCommentOrJsxText(Me,Oe.indentation,je,false,true)}}}}Te=w;if(ve&&j.kind===192&&N===-1){N=Oe.indentation}return N}function processChildNodes(k,N,j,ee){S.Debug.assert(S.isNodeArray(k));var te=getOpenTokenForList(N,k);var ne=ee;var ve=j;if(te!==0){while(q.isOnToken()){var Ee=q.readTokenInfo(N);if(Ee.token.end>k.pos){break}else if(Ee.token.kind===te){ve=ae.getLineAndCharacterOfPosition(Ee.token.pos).line;consumeTokenAndAdvanceScanner(Ee,N,ee,N);var Te=void 0;if(Fe!==-1){Te=Fe}else{var Ce=S.getLineStartPositionForPosition(Ee.token.pos,ae);Te=E.SmartIndenter.findFirstNonWhitespaceColumn(Ce,Ee.token.pos,ae,_e)}ne=getDynamicIndentation(N,j,Te,_e.indentSize)}else{consumeTokenAndAdvanceScanner(Ee,N,ee,N)}}}var we=-1;for(var Ne=0;Ne0){var Le=getIndentationString(Re,_e);recordReplace(Oe,Me.character,Le)}else{recordDelete(Oe,Me.character)}}}function trimTrailingWhitespacesForLines(E,k,w){for(var N=E;Nq){continue}var ee=getTrailingWhitespaceStartPosition(j,q);if(ee!==-1){S.Debug.assert(ee===j||!S.isWhiteSpaceSingleLine(ae.text.charCodeAt(ee-1)));recordDelete(ee,q+1-ee)}}}function getTrailingWhitespaceStartPosition(E,k){var w=k;while(w>=E&&S.isWhiteSpaceSingleLine(ae.text.charCodeAt(w))){w--}if(w!==k){return w+1}return-1}function trimTrailingWhitespacesForRemainingRange(){var S=Ce?Ce.end:k.pos;var E=ae.getLineAndCharacterOfPosition(S).line;var w=ae.getLineAndCharacterOfPosition(k.end).line;trimTrailingWhitespacesForLines(E,w+1,Ce)}function recordDelete(E,k){if(k){Oe.push(S.createTextChangeFromStartLength(E,k,""))}}function recordReplace(E,k,w){if(k||w){Oe.push(S.createTextChangeFromStartLength(E,k,w))}}function recordInsert(E,k){if(k){Oe.push(S.createTextChangeFromStartLength(E,0,k))}}function applyRuleEdits(E,k,w,N,j){var q=j!==w;switch(E.action){case 1:return 0;case 16:if(k.end!==N.pos){recordDelete(k.end,N.pos-k.end);return q?2:0}break;case 32:recordDelete(k.pos,k.end-k.pos);break;case 8:if(E.flags!==1&&w!==j){return 0}var ee=j-w;if(ee!==1){recordReplace(k.end,N.pos-k.end,S.getNewLineOrDefaultFromHost(Ee,_e));return q?0:1}break;case 4:if(E.flags!==1&&w!==j){return 0}var te=N.pos-k.end;if(te!==1||ae.text.charCodeAt(k.end)!==32){recordReplace(k.end,N.pos-k.end," ");return q?2:0}break;case 64:recordInsert(k.end,";")}return 0}}var w;(function(S){S[S["None"]=0]="None";S[S["LineAdded"]=1]="LineAdded";S[S["LineRemoved"]=2]="LineRemoved"})(w||(w={}));function getRangeOfEnclosingComment(E,k,w,N){if(N===void 0){N=S.getTokenAtPosition(E,k)}var j=S.findAncestor(N,S.isJSDoc);if(j)N=j.parent;var q=N.getStart(E);if(q<=k&&kw.text.length){return getBaseIndentation(N)}if(N.indentStyle===S.IndentStyle.None){return 0}var q=S.findPrecedingToken(k,w,undefined,true);var ee=E.getRangeOfEnclosingComment(w,k,q||null);if(ee&&ee.kind===3){return getCommentIndent(w,k,N,ee)}if(!q){return getBaseIndentation(N)}var te=S.isStringOrRegularExpressionOrTemplateLiteral(q.kind);if(te&&q.getStart(w)<=k&&k=0);if(j<=q){return findFirstNonWhitespaceColumn(S.getStartPositionOfLine(q,E),k,E,w)}var ee=S.getStartPositionOfLine(j,E);var te=findFirstNonWhitespaceCharacterAndColumn(ee,k,E,w),ne=te.column,ae=te.character;if(ne===0){return ne}var _e=E.text.charCodeAt(ee+ae);return _e===42?ne-1:ne}function getBlockIndent(E,k,w){var N=k;while(N>0){var j=E.text.charCodeAt(N);if(!S.isWhiteSpaceLike(j)){break}N--}var q=S.getLineStartPositionForPosition(N,E);return findFirstNonWhitespaceColumn(q,N,E,w)}function getSmartIndent(E,k,w,N,j,q){var ee;var te=w;while(te){if(S.positionBelongsToNode(te,k,E)&&shouldIndentChildNode(q,te,ee,E,true)){var ne=getStartLineAndCharacterForNode(te,E);var ae=nextTokenIsCurlyBraceOnSameLineAsCursor(w,te,N,E);var _e=ae!==0?j&&ae===2?q.indentSize:0:N!==ne.line?q.indentSize:0;return getIndentationForNodeWorker(te,ne,undefined,_e,E,true,q)}var ve=getActualIndentationForListItem(te,E,q,true);if(ve!==-1){return ve}ee=te;te=te.parent}return getBaseIndentation(q)}function getIndentationForNode(S,E,k,w){var N=k.getLineAndCharacterOfPosition(S.getStart(k));return getIndentationForNodeWorker(S,N,E,0,k,false,w)}k.getIndentationForNode=getIndentationForNode;function getBaseIndentation(S){return S.baseIndentSize||0}k.getBaseIndentation=getBaseIndentation;function getIndentationForNodeWorker(S,E,k,w,N,j,q){var ee=S.parent;while(ee){var te=true;if(k){var ne=S.getStart(N);te=nek.end}var ae=getContainingListOrParentStart(ee,S,N);var _e=ae.line===E.line||childStartsOnTheSameLineWithElseInIfStatement(ee,S,E.line,N);if(te){var ve=getActualIndentationForListItem(S,N,q,!_e);if(ve!==-1){return ve+w}ve=getActualIndentationForNode(S,ee,E,_e,N,q);if(ve!==-1){return ve+w}}if(shouldIndentChildNode(q,ee,S,N,j)&&!_e){w+=q.indentSize}var Ee=isArgumentAndStartLineOverlapsExpressionBeingCalled(ee,S,E.line,N);S=ee;ee=S.parent;E=Ee?N.getLineAndCharacterOfPosition(S.getStart(N)):ae}return w+getBaseIndentation(q)}function getContainingListOrParentStart(S,E,k){var w=getContainingList(E,k);var N=w?w.pos:S.getStart(k);return k.getLineAndCharacterOfPosition(N)}function getActualIndentationForListItemBeforeComma(E,k,w){var N=S.findListItemInfo(E);if(N&&N.listItemIndex>0){return deriveActualIndentationFromList(N.list.getChildren(),N.listItemIndex-1,k,w)}else{return-1}}function getActualIndentationForNode(E,k,w,N,j,q){var ee=(S.isDeclaration(E)||S.isStatementButNotDeclaration(E))&&(k.kind===290||!N);if(!ee){return-1}return findColumnForFirstNonWhitespaceCharacterInLine(w,j,q)}var N;(function(S){S[S["Unknown"]=0]="Unknown";S[S["OpenBrace"]=1]="OpenBrace";S[S["CloseBrace"]=2]="CloseBrace"})(N||(N={}));function nextTokenIsCurlyBraceOnSameLineAsCursor(E,k,w,N){var j=S.findNextToken(E,k,N);if(!j){return 0}if(j.kind===18){return 1}else if(j.kind===19){var q=getStartLineAndCharacterForNode(j,N).line;return w===q?2:0}return 0}function getStartLineAndCharacterForNode(S,E){return E.getLineAndCharacterOfPosition(S.getStart(E))}function isArgumentAndStartLineOverlapsExpressionBeingCalled(E,k,w,N){if(!(S.isCallExpression(E)&&S.contains(E.arguments,k))){return false}var j=E.expression.getEnd();var q=S.getLineAndCharacterOfPosition(N,j).line;return q===w}k.isArgumentAndStartLineOverlapsExpressionBeingCalled=isArgumentAndStartLineOverlapsExpressionBeingCalled;function childStartsOnTheSameLineWithElseInIfStatement(E,k,w,N){if(E.kind===227&&E.elseStatement===k){var j=S.findChildOfKind(E,87,N);S.Debug.assert(j!==undefined);var q=getStartLineAndCharacterForNode(j,N).line;return q===w}return false}k.childStartsOnTheSameLineWithElseInIfStatement=childStartsOnTheSameLineWithElseInIfStatement;function argumentStartsOnSameLineAsPreviousArgument(E,k,w,N){if(S.isCallOrNewExpression(E)){if(!E.arguments)return false;var j=S.find(E.arguments,(function(S){return S.pos===k.pos}));if(!j)return false;var q=E.arguments.indexOf(j);if(q===0)return false;var ee=E.arguments[q-1];var te=S.getLineAndCharacterOfPosition(N,ee.getEnd()).line;if(w===te){return true}}return false}k.argumentStartsOnSameLineAsPreviousArgument=argumentStartsOnSameLineAsPreviousArgument;function getContainingList(S,E){return S.parent&&getListByRange(S.getStart(E),S.getEnd(),S.parent,E)}k.getContainingList=getContainingList;function getListByPosition(S,E,k){return E&&getListByRange(S,S,E,k)}function getListByRange(E,k,w,N){switch(w.kind){case 169:return getList(w.typeArguments);case 193:return getList(w.properties);case 192:return getList(w.elements);case 173:return getList(w.members);case 244:case 201:case 202:case 161:case 160:case 165:case 162:case 171:case 166:return getList(w.typeParameters)||getList(w.parameters);case 245:case 214:case 246:case 247:case 321:return getList(w.typeParameters);case 197:case 196:return getList(w.typeArguments)||getList(w.arguments);case 243:return getList(w.declarations);case 257:case 261:return getList(w.elements);case 189:case 190:return getList(w.elements)}function getList(j){return j&&S.rangeContainsStartEnd(getVisualListRange(w,j,N),E,k)?j:undefined}}function getVisualListRange(S,E,k){var w=S.getChildren(k);for(var N=1;N=0&&k=0;ee--){if(E[ee].kind===27){continue}var te=w.getLineAndCharacterOfPosition(E[ee].end).line;if(te!==q.line){return findColumnForFirstNonWhitespaceCharacterInLine(q,w,N)}q=getStartLineAndCharacterForNode(E[ee],w)}return-1}function findColumnForFirstNonWhitespaceCharacterInLine(S,E,k){var w=E.getPositionOfLineAndCharacter(S.line,0);return findFirstNonWhitespaceColumn(w,w+S.character,E,k)}function findFirstNonWhitespaceCharacterAndColumn(E,k,w,N){var j=0;var q=0;for(var ee=E;ee0?1:0;var ve=S.getStartPositionOfLine(S.getLineOfLocalPosition(E,ne)+_e,E);ve=skipWhitespacesAndLineBreaks(E.text,ve);return S.getStartPositionOfLine(S.getLineOfLocalPosition(E,ve),E)}function getAdjustedEndPosition(E,k,w){var N=k.end;var q=w.trailingTriviaOption;if(q===j.Exclude||S.isExpression(k)&&q!==j.Include){return N}var ee=S.skipTrivia(E.text,N,true);return ee!==N&&(q===j.Include||S.isLineBreak(E.text.charCodeAt(ee-1)))?ee:N}function isSeparator(S,E){return!!E&&!!S.parent&&(E.kind===27||E.kind===26&&S.parent.kind===193)}function spaces(S){var E="";for(var k=0;k"})};ChangeTracker.prototype.getOptionsForInsertNodeBefore=function(E,k,w){if(S.isStatement(E)||S.isClassElement(E)){return{suffix:w?this.newLineCharacter+this.newLineCharacter:this.newLineCharacter}}else if(S.isVariableDeclaration(E)){return{suffix:", "}}else if(S.isParameter(E)){return S.isParameter(k)?{suffix:", "}:{}}else if(S.isStringLiteral(E)&&S.isImportDeclaration(E.parent)||S.isNamedImports(E)){return{suffix:", "}}return S.Debug.failBadSyntaxKind(E)};ChangeTracker.prototype.insertNodeAtConstructorStart=function(E,k,N){var j=S.firstOrUndefined(k.body.statements);if(!j||!k.body.multiLine){this.replaceConstructorBody(E,k,w([N],k.body.statements))}else{this.insertNodeBefore(E,j,N)}};ChangeTracker.prototype.insertNodeAtConstructorEnd=function(E,k,N){var j=S.lastOrUndefined(k.body.statements);if(!j||!k.body.multiLine){this.replaceConstructorBody(E,k,w(k.body.statements,[N]))}else{this.insertNodeAfter(E,j,N)}};ChangeTracker.prototype.replaceConstructorBody=function(E,k,w){this.replaceNode(E,k.body,S.createBlock(w,true))};ChangeTracker.prototype.insertNodeAtEndOfScope=function(E,k,w){var N=getAdjustedStartPosition(E,k.getLastToken(),{});this.insertNodeAt(E,N,w,{prefix:S.isLineBreak(E.text.charCodeAt(k.getLastToken().pos))?this.newLineCharacter:this.newLineCharacter+this.newLineCharacter,suffix:this.newLineCharacter})};ChangeTracker.prototype.insertNodeAtClassStart=function(S,E,k){this.insertNodeAtStartWorker(S,E,k)};ChangeTracker.prototype.insertNodeAtObjectStart=function(S,E,k){this.insertNodeAtStartWorker(S,E,k)};ChangeTracker.prototype.insertNodeAtStartWorker=function(S,E,k){var w;var N=(w=this.guessIndentationFromExistingMembers(S,E))!==null&&w!==void 0?w:this.computeIndentationForNewMember(S,E);this.insertNodeAt(S,getMembersOrProperties(E).pos,k,this.getInsertNodeAtStartInsertOptions(S,E,N))};ChangeTracker.prototype.guessIndentationFromExistingMembers=function(E,k){var w;var N=k;for(var j=0,q=getMembersOrProperties(k);j0?{fileName:j.fileName,textChanges:te}:undefined}))}E.getTextChangesFromChanges=getTextChangesFromChanges;function newFileChanges(E,k,w,N,j){var q=newFileChangesWorker(E,S.getScriptKindFromFileName(k),w,N,j);return{fileName:k,textChanges:[S.createTextChange(S.createTextSpan(0,0),q)],isNewFile:true}}E.newFileChanges=newFileChanges;function newFileChangesWorker(E,k,w,N,j){var q=w.map((function(S){return getNonformattedText(S,E,N).text})).join(N);var ee=S.createSourceFile("any file name",q,99,true,k);var te=S.formatting.formatDocument(ee,j);return applyChanges(q,te)+N}E.newFileChangesWorker=newFileChangesWorker;function computeNewText(E,k,w,N,j){if(E.kind===ee.Remove){return""}if(E.kind===ee.Text){return E.text}var q=E.options,te=q===void 0?{}:q,ne=E.range.pos;var format=function(S){return getFormattedTextOfNode(S,k,ne,te,w,N,j)};var ae=E.kind===ee.ReplaceWithMultipleNodes?E.nodes.map((function(E){return S.removeSuffix(format(E),w)})).join(E.options.joiner||w):format(E.node);var _e=te.preserveLeadingWhitespace||te.indentation!==undefined||S.getLineStartPositionForPosition(ne,k)===ne?ae:ae.replace(/^\s+/,"");return(te.prefix||"")+_e+(!te.suffix||S.endsWith(_e,te.suffix)?"":te.suffix)}function getFormatCodeSettingsForWriting(E,k){var w=E.options;var j=!w.semicolons||w.semicolons===S.SemicolonPreference.Ignore;var q=w.semicolons===S.SemicolonPreference.Remove||j&&!S.probablyUsesSemicolons(k);return N(N({},w),{semicolons:q?S.SemicolonPreference.Remove:S.SemicolonPreference.Ignore})}function getFormattedTextOfNode(E,k,w,j,q,ee,te){var ne=j.indentation,ae=j.prefix,_e=j.delta;var ve=getNonformattedText(E,k,q),Ee=ve.node,Te=ve.text;if(te)te(Ee,Te);var Ce=getFormatCodeSettingsForWriting(ee,k);var we=ne!==undefined?ne:S.formatting.SmartIndenter.getIndentation(w,k,Ce,ae===q||S.getLineStartPositionForPosition(w,k)===w);if(_e===undefined){_e=S.formatting.SmartIndenter.shouldIndentChildNode(Ce,E)?Ce.indentSize||0:0}var Ne={text:Te,getLineAndCharacterOfPosition:function(E){return S.getLineAndCharacterOfPosition(this,E)}};var Ie=S.formatting.formatNodeGivenIndentation(Ee,Ne,k.languageVariant,we,_e,N(N({},ee),{options:Ce}));return applyChanges(Te,Ie)}function getNonformattedText(E,k,w){var N=createWriter(w);var j=w==="\n"?1:0;S.createPrinter({newLine:j,neverAsciiEscape:true,preserveSourceNewlines:true},N).writeNode(4,E,k,N);return{text:N.getText(),node:assignPositionsToNode(E)}}E.getNonformattedText=getNonformattedText})(ne||(ne={}));function applyChanges(E,k){for(var w=k.length-1;w>=0;w--){var N=k[w],j=N.span,q=N.newText;E=""+E.substring(0,j.start)+q+E.substring(S.textSpanEnd(j))}return E}E.applyChanges=applyChanges;function isTrivia(E){return S.skipTrivia(E,0)===E.length}function assignPositionsToNode(E){var k=S.visitEachChild(E,assignPositionsToNode,S.nullTransformationContext,assignPositionsToNodeArray,assignPositionsToNode);var w=S.nodeIsSynthesized(k)?k:Object.create(k);w.pos=getPos(E);w.end=getEnd(E);return w}function assignPositionsToNodeArray(E,k,w,N,j){var q=S.visitNodes(E,k,w,N,j);if(!q){return q}var ee=q===E?S.createNodeArray(q.slice(0)):q;ee.pos=getPos(E);ee.end=getEnd(E);return ee}function createWriter(E){var k=0;var w=S.createTextWriter(E);var onEmitNode=function(S,E,w){if(E){setPos(E,k)}w(S,E);if(E){setEnd(E,k)}};var onBeforeEmitNodeArray=function(S){if(S){setPos(S,k)}};var onAfterEmitNodeArray=function(S){if(S){setEnd(S,k)}};var onBeforeEmitToken=function(S){if(S){setPos(S,k)}};var onAfterEmitToken=function(S){if(S){setEnd(S,k)}};function setLastNonTriviaPosition(E,N){if(N||!isTrivia(E)){k=w.getTextPos();var j=0;while(S.isWhiteSpaceLike(E.charCodeAt(E.length-j-1))){j++}k-=j}}function write(S){w.write(S);setLastNonTriviaPosition(S,false)}function writeComment(S){w.writeComment(S)}function writeKeyword(S){w.writeKeyword(S);setLastNonTriviaPosition(S,false)}function writeOperator(S){w.writeOperator(S);setLastNonTriviaPosition(S,false)}function writePunctuation(S){w.writePunctuation(S);setLastNonTriviaPosition(S,false)}function writeTrailingSemicolon(S){w.writeTrailingSemicolon(S);setLastNonTriviaPosition(S,false)}function writeParameter(S){w.writeParameter(S);setLastNonTriviaPosition(S,false)}function writeProperty(S){w.writeProperty(S);setLastNonTriviaPosition(S,false)}function writeSpace(S){w.writeSpace(S);setLastNonTriviaPosition(S,false)}function writeStringLiteral(S){w.writeStringLiteral(S);setLastNonTriviaPosition(S,false)}function writeSymbol(S,E){w.writeSymbol(S,E);setLastNonTriviaPosition(S,false)}function writeLine(S){w.writeLine(S)}function increaseIndent(){w.increaseIndent()}function decreaseIndent(){w.decreaseIndent()}function getText(){return w.getText()}function rawWrite(S){w.rawWrite(S);setLastNonTriviaPosition(S,false)}function writeLiteral(S){w.writeLiteral(S);setLastNonTriviaPosition(S,true)}function getTextPos(){return w.getTextPos()}function getLine(){return w.getLine()}function getColumn(){return w.getColumn()}function getIndent(){return w.getIndent()}function isAtStartOfLine(){return w.isAtStartOfLine()}function clear(){w.clear();k=0}return{onEmitNode:onEmitNode,onBeforeEmitNodeArray:onBeforeEmitNodeArray,onAfterEmitNodeArray:onAfterEmitNodeArray,onBeforeEmitToken:onBeforeEmitToken,onAfterEmitToken:onAfterEmitToken,write:write,writeComment:writeComment,writeKeyword:writeKeyword,writeOperator:writeOperator,writePunctuation:writePunctuation,writeTrailingSemicolon:writeTrailingSemicolon,writeParameter:writeParameter,writeProperty:writeProperty,writeSpace:writeSpace,writeStringLiteral:writeStringLiteral,writeSymbol:writeSymbol,writeLine:writeLine,increaseIndent:increaseIndent,decreaseIndent:decreaseIndent,getText:getText,rawWrite:rawWrite,writeLiteral:writeLiteral,getTextPos:getTextPos,getLine:getLine,getColumn:getColumn,getIndent:getIndent,isAtStartOfLine:isAtStartOfLine,hasTrailingComment:function(){return w.hasTrailingComment()},hasTrailingWhitespace:function(){return w.hasTrailingWhitespace()},clear:clear}}function getInsertionPositionAtSourceFileTop(E){var k;for(var w=0,N=E.statements;w=we+2)break}if(E.statements.length){if(_e===undefined)_e=E.getLineAndCharacterOfPosition(E.statements[0].getStart()).line;var Ne=E.getLineAndCharacterOfPosition(Te.end).line;if(_e1)break}var ae=j<2;return function(S){var E=S.fixId,k=S.fixAllDescription,w=ee(S,["fixId","fixAllDescription"]);return ae?w:N(N({},w),{fixId:E,fixAllDescription:k})}}function getFixes(E){var w=getDiagnostics(E);var N=k.get(String(E.errorCode));return S.flatMap(N,(function(k){return S.map(k.getCodeActions(E),removeFixIdIfFixAllUnavailable(k,w))}))}E.getFixes=getFixes;function getAllFixes(E){return j.get(S.cast(E.fixId,S.isString)).getAllCodeActions(E)}E.getAllFixes=getAllFixes;function createCombinedCodeActions(S,E){return{changes:S,commands:E}}E.createCombinedCodeActions=createCombinedCodeActions;function createFileTextChanges(S,E){return{fileName:S,textChanges:E}}E.createFileTextChanges=createFileTextChanges;function codeFixAll(E,k,w){var N=[];var j=S.textChanges.ChangeTracker.with(E,(function(S){return eachDiagnostic(E,k,(function(E){return w(S,E,N)}))}));return createCombinedCodeActions(j,N.length===0?undefined:N)}E.codeFixAll=codeFixAll;function eachDiagnostic(E,k,w){for(var N=0,j=getDiagnostics(E);NS.textSpanEnd(k)){return"quit"}return(S.isArrowFunction(w)||S.isMethodDeclaration(w)||S.isFunctionExpression(w)||S.isFunctionDeclaration(w))&&S.textSpansEqual(k,S.createTextSpanFromNode(w,E))}));return N}function getIsMatchingAsyncError(E,k){return function(w){var N=w.start,j=w.length,q=w.relatedInformation,ee=w.code;return S.isNumber(N)&&S.isNumber(j)&&S.textSpansEqual({start:N,length:j},E)&&ee===k&&!!q&&S.some(q,(function(E){return E.code===S.Diagnostics.Did_you_mean_to_mark_this_function_as_async.code}))}}})(E=S.codefix||(S.codefix={}))})(ne||(ne={}));var ne;(function(S){var E;(function(E){var k="addMissingAwait";var N=S.Diagnostics.Property_0_does_not_exist_on_type_1.code;var j=[S.Diagnostics.This_expression_is_not_callable.code,S.Diagnostics.This_expression_is_not_constructable.code];var q=w([S.Diagnostics.An_arithmetic_operand_must_be_of_type_any_number_bigint_or_an_enum_type.code,S.Diagnostics.The_left_hand_side_of_an_arithmetic_operation_must_be_of_type_any_number_bigint_or_an_enum_type.code,S.Diagnostics.The_right_hand_side_of_an_arithmetic_operation_must_be_of_type_any_number_bigint_or_an_enum_type.code,S.Diagnostics.Operator_0_cannot_be_applied_to_type_1.code,S.Diagnostics.Operator_0_cannot_be_applied_to_types_1_and_2.code,S.Diagnostics.This_condition_will_always_return_0_since_the_types_1_and_2_have_no_overlap.code,S.Diagnostics.Type_0_is_not_an_array_type.code,S.Diagnostics.Type_0_is_not_an_array_type_or_a_string_type.code,S.Diagnostics.Type_0_is_not_an_array_type_or_a_string_type_Use_compiler_option_downlevelIteration_to_allow_iterating_of_iterators.code,S.Diagnostics.Type_0_is_not_an_array_type_or_a_string_type_or_does_not_have_a_Symbol_iterator_method_that_returns_an_iterator.code,S.Diagnostics.Type_0_is_not_an_array_type_or_does_not_have_a_Symbol_iterator_method_that_returns_an_iterator.code,S.Diagnostics.Type_0_must_have_a_Symbol_iterator_method_that_returns_an_iterator.code,S.Diagnostics.Type_0_must_have_a_Symbol_asyncIterator_method_that_returns_an_async_iterator.code,S.Diagnostics.Argument_of_type_0_is_not_assignable_to_parameter_of_type_1.code,N],j);E.registerCodeFix({fixIds:[k],errorCodes:q,getCodeActions:function(E){var k=E.sourceFile,w=E.errorCode,N=E.span,j=E.cancellationToken,q=E.program;var ee=getFixableErrorSpanExpression(k,w,N,j,q);if(!ee){return}var te=E.program.getTypeChecker();var trackChanges=function(k){return S.textChanges.ChangeTracker.with(E,k)};return S.compact([getDeclarationSiteFix(E,ee,w,te,trackChanges),getUseSiteFix(E,ee,w,te,trackChanges)])},getAllCodeActions:function(k){var w=k.sourceFile,N=k.program,j=k.cancellationToken;var ee=k.program.getTypeChecker();var te=S.createMap();return E.codeFixAll(k,q,(function(S,E){var q=getFixableErrorSpanExpression(w,E.code,E,j,N);if(!q){return}var trackChanges=function(E){return E(S),[]};return getDeclarationSiteFix(k,q,E.code,ee,trackChanges,te)||getUseSiteFix(k,q,E.code,ee,trackChanges,te)}))}});function getDeclarationSiteFix(k,w,N,j,q,ee){var te=k.sourceFile,ne=k.program,ae=k.cancellationToken;var _e=findAwaitableInitializers(w,te,ae,ne,j);if(_e){var ve=q((function(E){S.forEach(_e.initializers,(function(S){var k=S.expression;return makeChange(E,N,te,j,k,ee)}));if(ee&&_e.needsSecondPassForFixAll){makeChange(E,N,te,j,w,ee)}}));return E.createCodeFixActionWithoutFixAll("addMissingAwaitToInitializer",ve,_e.initializers.length===1?[S.Diagnostics.Add_await_to_initializer_for_0,_e.initializers[0].declarationSymbol.name]:S.Diagnostics.Add_await_to_initializers)}}function getUseSiteFix(w,N,j,q,ee,te){var ne=ee((function(S){return makeChange(S,j,w.sourceFile,q,N,te)}));return E.createCodeFixAction(k,ne,S.Diagnostics.Add_await,k,S.Diagnostics.Fix_all_expressions_possibly_missing_await)}function isMissingAwaitError(E,k,w,N,j){var q=j.getDiagnosticsProducingTypeChecker();var ee=q.getDiagnostics(E,N);return S.some(ee,(function(E){var N=E.start,j=E.length,q=E.relatedInformation,ee=E.code;return S.isNumber(N)&&S.isNumber(j)&&S.textSpansEqual({start:N,length:j},w)&&ee===k&&!!q&&S.some(q,(function(E){return E.code===S.Diagnostics.Did_you_forget_to_use_await.code}))}))}function getFixableErrorSpanExpression(E,k,w,N,j){var q=S.getTokenAtPosition(E,w.start);var ee=S.findAncestor(q,(function(k){if(k.getStart(E)S.textSpanEnd(w)){return"quit"}return S.isExpression(k)&&S.textSpansEqual(w,S.createTextSpanFromNode(k,E))}));return ee&&isMissingAwaitError(E,k,w,N,j)&&isInsideAwaitableBody(ee)?ee:undefined}function findAwaitableInitializers(E,k,w,N,j){var q=getIdentifiersFromErrorSpanExpression(E,j);if(!q){return}var ee=q.isCompleteFix;var te;var _loop_11=function(E){var q=j.getSymbolAtLocation(E);if(!q){return"continue"}var ne=S.tryCast(q.valueDeclaration,S.isVariableDeclaration);var ae=ne&&S.tryCast(ne.name,S.isIdentifier);var _e=S.getAncestor(ne,225);if(!ne||!_e||ne.type||!ne.initializer||_e.getSourceFile()!==k||S.hasModifier(_e,1)||!ae||!isInsideAwaitableBody(ne.initializer)){ee=false;return"continue"}var ve=N.getSemanticDiagnostics(k,w);var Ee=S.FindAllReferences.Core.eachSymbolReferenceInFile(ae,j,k,(function(S){return E!==S&&!symbolReferenceIsAlsoMissingAwait(S,ve,k,j)}));if(Ee){ee=false;return"continue"}(te||(te=[])).push({expression:ne.initializer,declarationSymbol:q})};for(var ne=0,ae=q.identifiers;ne0){return[E.createCodeFixAction(k,N,S.Diagnostics.Add_const_to_unresolved_variable,k,S.Diagnostics.Add_const_to_all_unresolved_variables)]}},fixIds:[k],getAllCodeActions:function(k){var N=new S.NodeSet;return E.codeFixAll(k,w,(function(S,E){return makeChange(S,E.file,E.start,k.program,N)}))}});function makeChange(E,k,w,N,j){var q=S.getTokenAtPosition(k,w);var ee=S.findAncestor(q,(function(E){return S.isForInOrOfStatement(E.parent)?E.parent.initializer===E:isPossiblyPartOfDestructuring(E)?false:"quit"}));if(ee)return applyChange(E,ee,k,j);var te=q.parent;if(S.isBinaryExpression(te)&&te.operatorToken.kind===62&&S.isExpressionStatement(te.parent)){return applyChange(E,q,k,j)}if(S.isArrayLiteralExpression(te)){var ne=N.getTypeChecker();if(!S.every(te.elements,(function(S){return arrayElementCouldBeVariableDeclaration(S,ne)}))){return}return applyChange(E,te,k,j)}var ae=S.findAncestor(q,(function(E){return S.isExpressionStatement(E.parent)?true:isPossiblyPartOfCommaSeperatedInitializer(E)?false:"quit"}));if(ae){var _e=N.getTypeChecker();if(!expressionCouldBeVariableDeclaration(ae,_e)){return}return applyChange(E,ae,k,j)}}function applyChange(S,E,k,w){if(!w||w.tryAdd(E)){S.insertModifierBefore(k,81,E)}}function isPossiblyPartOfDestructuring(S){switch(S.kind){case 75:case 192:case 193:case 281:case 282:return true;default:return false}}function arrayElementCouldBeVariableDeclaration(E,k){var w=S.isIdentifier(E)?E:S.isAssignmentExpression(E,true)&&S.isIdentifier(E.left)?E.left:undefined;return!!w&&!k.getSymbolAtLocation(w)}function isPossiblyPartOfCommaSeperatedInitializer(S){switch(S.kind){case 75:case 209:case 27:return true;default:return false}}function expressionCouldBeVariableDeclaration(E,k){if(!S.isBinaryExpression(E)){return false}if(E.operatorToken.kind===27){return S.every([E.left,E.right],(function(S){return expressionCouldBeVariableDeclaration(S,k)}))}return E.operatorToken.kind===62&&S.isIdentifier(E.left)&&!k.getSymbolAtLocation(E.left)}})(E=S.codefix||(S.codefix={}))})(ne||(ne={}));var ne;(function(S){var E;(function(E){var k="addMissingDeclareProperty";var w=[S.Diagnostics.Property_0_will_overwrite_the_base_property_in_1_If_this_is_intentional_add_an_initializer_Otherwise_add_a_declare_modifier_or_remove_the_redundant_declaration.code];E.registerCodeFix({errorCodes:w,getCodeActions:function(w){var N=S.textChanges.ChangeTracker.with(w,(function(S){return makeChange(S,w.sourceFile,w.span.start)}));if(N.length>0){return[E.createCodeFixAction(k,N,S.Diagnostics.Prefix_with_declare,k,S.Diagnostics.Prefix_all_incorrect_property_declarations_with_declare)]}},fixIds:[k],getAllCodeActions:function(k){var N=new S.NodeSet;return E.codeFixAll(k,w,(function(S,E){return makeChange(S,E.file,E.start,N)}))}});function makeChange(E,k,w,N){var j=S.getTokenAtPosition(k,w);if(!S.isIdentifier(j)){return}var q=j.parent;if(q.kind===159&&(!N||N.tryAdd(q))){E.insertModifierBefore(k,130,q)}}})(E=S.codefix||(S.codefix={}))})(ne||(ne={}));var ne;(function(S){var E;(function(E){var k="addMissingInvocationForDecorator";var w=[S.Diagnostics._0_accepts_too_few_arguments_to_be_used_as_a_decorator_here_Did_you_mean_to_call_it_first_and_write_0.code];E.registerCodeFix({errorCodes:w,getCodeActions:function(w){var N=S.textChanges.ChangeTracker.with(w,(function(S){return makeChange(S,w.sourceFile,w.span.start)}));return[E.createCodeFixAction(k,N,S.Diagnostics.Call_decorator_expression,k,S.Diagnostics.Add_to_all_uncalled_decorators)]},fixIds:[k],getAllCodeActions:function(S){return E.codeFixAll(S,w,(function(S,E){return makeChange(S,E.file,E.start)}))}});function makeChange(E,k,w){var N=S.getTokenAtPosition(k,w);var j=S.findAncestor(N,S.isDecorator);S.Debug.assert(!!j,"Expected position to be owned by a decorator.");var q=S.createCall(j.expression,undefined,undefined);E.replaceNode(k,j.expression,q)}})(E=S.codefix||(S.codefix={}))})(ne||(ne={}));var ne;(function(S){var E;(function(E){var k="addNameToNamelessParameter";var w=[S.Diagnostics.Parameter_has_a_name_but_no_type_Did_you_mean_0_Colon_1.code];E.registerCodeFix({errorCodes:w,getCodeActions:function(w){var N=S.textChanges.ChangeTracker.with(w,(function(S){return makeChange(S,w.sourceFile,w.span.start)}));return[E.createCodeFixAction(k,N,S.Diagnostics.Add_parameter_name,k,S.Diagnostics.Add_names_to_all_parameters_without_names)]},fixIds:[k],getAllCodeActions:function(S){return E.codeFixAll(S,w,(function(S,E){return makeChange(S,E.file,E.start)}))}});function makeChange(E,k,w){var N=S.getTokenAtPosition(k,w);if(!S.isIdentifier(N)){return S.Debug.fail("add-name-to-nameless-parameter operates on identifiers, but got a "+S.Debug.formatSyntaxKind(N.kind))}var j=N.parent;if(!S.isParameter(j)){return S.Debug.fail("Tried to add a parameter name to a non-parameter: "+S.Debug.formatSyntaxKind(N.kind))}var q=j.parent.parameters.indexOf(j);S.Debug.assert(!j.type,"Tried to add a parameter name to a parameter that already had one.");S.Debug.assert(q>-1,"Parameter not found in parent parameter list.");var ee=S.createParameter(undefined,j.modifiers,j.dotDotDotToken,"arg"+q,j.questionToken,S.createTypeReferenceNode(N,undefined),j.initializer);E.replaceNode(k,N,ee)}})(E=S.codefix||(S.codefix={}))})(ne||(ne={}));var ne;(function(S){var E;(function(E){var k="annotateWithTypeFromJSDoc";var w=[S.Diagnostics.JSDoc_types_may_be_moved_to_TypeScript_types.code];E.registerCodeFix({errorCodes:w,getCodeActions:function(w){var N=getDeclaration(w.sourceFile,w.span.start);if(!N)return;var j=S.textChanges.ChangeTracker.with(w,(function(S){return doChange(S,w.sourceFile,N)}));return[E.createCodeFixAction(k,j,S.Diagnostics.Annotate_with_type_from_JSDoc,k,S.Diagnostics.Annotate_everything_with_types_from_JSDoc)]},fixIds:[k],getAllCodeActions:function(S){return E.codeFixAll(S,w,(function(S,E){var k=getDeclaration(E.file,E.start);if(k)doChange(S,E.file,k)}))}});function getDeclaration(E,k){var w=S.getTokenAtPosition(E,k);return S.tryCast(S.isParameter(w.parent)?w.parent.parent:w.parent,parameterShouldGetTypeFromJSDoc)}function parameterShouldGetTypeFromJSDoc(S){return isDeclarationWithType(S)&&hasUsableJSDoc(S)}E.parameterShouldGetTypeFromJSDoc=parameterShouldGetTypeFromJSDoc;function hasUsableJSDoc(E){return S.isFunctionLikeDeclaration(E)?E.parameters.some(hasUsableJSDoc)||!E.type&&!!S.getJSDocReturnType(E):!E.type&&!!S.getJSDocType(E)}function doChange(E,k,w){if(S.isFunctionLikeDeclaration(w)&&(S.getJSDocReturnType(w)||w.parameters.some((function(E){return!!S.getJSDocType(E)})))){if(!w.typeParameters){var N=S.getJSDocTypeParameterDeclarations(w);if(N.length)E.insertTypeParameters(k,w,N)}var j=S.isArrowFunction(w)&&!S.findChildOfKind(w,20,k);if(j)E.insertNodeBefore(k,S.first(w.parameters),S.createToken(20));for(var q=0,ee=w.parameters;q0){return Re}var Le=j.checker.getTypeAtLocation(E);var Be=getLastCallSignature(Le,j.checker).getReturnType();var je=S.getSynthesizedDeepClone(Ce);var ze=!!j.checker.getPromisedTypeOfPromise(Be)?S.createAwait(je):je;if(!shouldReturn(N,j)){var Ue=createVariableOrAssignmentOrExpressionStatement(k,ze,undefined);if(k){k.types.push(Be)}return Ue}else{return maybeAnnotateAndReturn(ze,(ne=N.typeArguments)===null||ne===void 0?void 0:ne[0])}}}default:return silentFail()}return S.emptyArray}function getLastCallSignature(E,k){var w=k.getSignaturesOfType(E,0);return S.lastOrUndefined(w)}function removeReturns(E,k,w,N){var j=[];for(var q=0,ee=E;q0){return}}else if(!S.isFunctionLike(k)){S.forEachChild(k,visit)}}))}return N}function getArgBindingName(E,k){var w=[];var N;if(S.isFunctionLikeDeclaration(E)){if(E.parameters.length>0){var j=E.parameters[0].name;N=getMappedBindingNameOrDefault(j)}}else if(S.isIdentifier(E)){N=getMapEntryOrDefault(E)}if(!N||"identifier"in N&&N.identifier.text==="undefined"){return undefined}return N;function getMappedBindingNameOrDefault(E){if(S.isIdentifier(E))return getMapEntryOrDefault(E);var k=S.flatMap(E.elements,(function(E){if(S.isOmittedExpression(E))return[];return[getMappedBindingNameOrDefault(E.name)]}));return createSynthBindingPattern(E,k)}function getMapEntryOrDefault(E){var N=getOriginalNode(E);var j=getSymbol(N);if(!j){return createSynthIdentifier(E,w)}var q=k.synthNamesMap.get(S.getSymbolId(j).toString());return q||createSynthIdentifier(E,w)}function getSymbol(S){return S.symbol?S.symbol:k.checker.getSymbolAtLocation(S)}function getOriginalNode(S){return S.original?S.original:S}}function isEmptyBindingName(E){if(!E){return true}if(isSynthIdentifier(E)){return!E.identifier.text}return S.every(E.elements,isEmptyBindingName)}function getNode(S){return isSynthIdentifier(S)?S.identifier:S.bindingPattern}function createSynthIdentifier(S,E){if(E===void 0){E=[]}return{kind:0,identifier:S,types:E,hasBeenDeclared:false}}function createSynthBindingPattern(E,k,w){if(k===void 0){k=S.emptyArray}if(w===void 0){w=[]}return{kind:1,bindingPattern:E,elements:k,types:w}}function isSynthIdentifier(S){return S.kind===0}function isSynthBindingPattern(S){return S.kind===1}function shouldReturn(E,k){return!!E.original&&k.setOfExpressionsToReturn.has(S.getNodeId(E.original).toString())}})(E=S.codefix||(S.codefix={}))})(ne||(ne={}));var ne;(function(S){var E;(function(E){E.registerCodeFix({errorCodes:[S.Diagnostics.File_is_a_CommonJS_module_it_may_be_converted_to_an_ES6_module.code],getCodeActions:function(k){var w=k.sourceFile,N=k.program,j=k.preferences;var q=S.textChanges.ChangeTracker.with(k,(function(E){var k=convertFileToEs6Module(w,N.getTypeChecker(),E,N.getCompilerOptions().target,S.getQuotePreference(w,j));if(k){for(var q=0,ee=N.getSourceFiles();q1?[[reExportStar(w),reExportDefault(w)],true]:[[reExportDefault(w)],true]}function reExportStar(S){return makeExportDeclaration(undefined,S)}function reExportDefault(E){return makeExportDeclaration([S.createExportSpecifier(undefined,"default")],E)}function convertExportsPropertyAssignment(E,k,w){var N=E.left,j=E.right,q=E.parent;var ee=N.name.text;if((S.isFunctionExpression(j)||S.isArrowFunction(j)||S.isClassExpression(j))&&(!j.name||j.name.text===ee)){w.replaceRange(k,{pos:N.getStart(k),end:j.getStart(k)},S.createToken(89),{suffix:" "});if(!j.name)w.insertName(k,j,ee);var te=S.findChildOfKind(q,26,k);if(te)w.delete(k,te)}else{w.replaceNodeRangeWithNodes(k,N.expression,S.findChildOfKind(N,24,k),[S.createToken(89),S.createToken(81)],{joiner:" ",suffix:" "})}}function convertExportsDotXEquals_replaceNode(E,k){var w=[S.createToken(89)];switch(k.kind){case 201:{var N=k.name;if(N&&N.text!==E){return exportConst()}}case 202:return functionExpressionToDeclaration(E,w,k);case 214:return classExpressionToDeclaration(E,w,k);default:return exportConst()}function exportConst(){return makeConst(w,S.createIdentifier(E),k)}}function convertSingleImport(k,w,N,j,q,ee,te,ne){switch(w.kind){case 189:{var ae=S.mapAllOrFail(w.elements,(function(E){return E.dotDotDotToken||E.initializer||E.propertyName&&!S.isIdentifier(E.propertyName)||!S.isIdentifier(E.name)?undefined:makeImportSpecifier(E.propertyName&&E.propertyName.text,E.name.text)}));if(ae){return[S.makeImport(undefined,ae,N,ne)]}}case 190:{var _e=makeUniqueName(E.moduleSpecifierToValidIdentifier(N.text,te),ee);return[S.makeImport(S.createIdentifier(_e),undefined,N,ne),makeConst(undefined,S.getSynthesizedDeepClone(w),S.createIdentifier(_e))]}case 75:return convertSingleIdentifierImport(k,w,N,j,q,ee,ne);default:return S.Debug.assertNever(w,"Convert to ES6 module got invalid name kind "+w.kind)}}function convertSingleIdentifierImport(E,k,w,N,j,q,ee){var te=j.getSymbolAtLocation(k);var ne=S.createMap();var ae=false;for(var _e=0,ve=q.original.get(k.text);_e=S.ModuleKind.ES2015){return w?1:2}if(S.isInJSFile(E)){return S.isExternalModule(E)?1:3}for(var N=0,j=E.statements;N");return[S.Diagnostics.Convert_function_expression_0_to_arrow_function,ne?ne.text:S.ANONYMOUS]}else{k.replaceNode(w,te,S.createToken(81));k.insertText(w,ne.end," = ");k.insertText(w,ae.pos," =>");return[S.Diagnostics.Convert_function_declaration_0_to_arrow_function,ne.text]}}else if(S.isSourceFileJS(w)&&S.isPropertyAccessExpression(q.parent)&&S.isAssignmentExpression(q.parent.parent)){E.addJSDocTags(k,w,ee,[S.createJSDocClassTag()]);return S.Diagnostics.Add_class_tag}}})(E=S.codefix||(S.codefix={}))})(ne||(ne={}));var ne;(function(S){var E;(function(E){var k="fixSpelling";var w=[S.Diagnostics.Property_0_does_not_exist_on_type_1_Did_you_mean_2.code,S.Diagnostics.Cannot_find_name_0_Did_you_mean_1.code,S.Diagnostics.Cannot_find_name_0_Did_you_mean_the_instance_member_this_0.code,S.Diagnostics.Cannot_find_name_0_Did_you_mean_the_static_member_1_0.code,S.Diagnostics.Module_0_has_no_exported_member_1_Did_you_mean_2.code];E.registerCodeFix({errorCodes:w,getCodeActions:function(w){var N=w.sourceFile;var j=getInfo(N,w.span.start,w);if(!j)return undefined;var q=j.node,ee=j.suggestedSymbol;var te=w.host.getCompilationSettings().target;var ne=S.textChanges.ChangeTracker.with(w,(function(S){return doChange(S,N,q,ee,te)}));return[E.createCodeFixAction("spelling",ne,[S.Diagnostics.Change_spelling_to_0,S.symbolName(ee)],k,S.Diagnostics.Fix_all_detected_spelling_errors)]},fixIds:[k],getAllCodeActions:function(S){return E.codeFixAll(S,w,(function(E,k){var w=getInfo(k.file,k.start,S);var N=S.host.getCompilationSettings().target;if(w)doChange(E,S.sourceFile,w.node,w.suggestedSymbol,N)}))}});function getInfo(E,k,w){var N=S.getTokenAtPosition(E,k);var j=N.parent;var q=w.program.getTypeChecker();var ee;if(S.isPropertyAccessExpression(j)&&j.name===N){S.Debug.assert(S.isIdentifierOrPrivateIdentifier(N),"Expected an identifier for spelling (property access)");var te=q.getTypeAtLocation(j.expression);if(j.flags&32){te=q.getNonNullableType(te)}ee=q.getSuggestedSymbolForNonexistentProperty(N,te)}else if(S.isImportSpecifier(j)&&j.name===N){S.Debug.assertNode(N,S.isIdentifier,"Expected an identifier for spelling (import)");var ne=S.findAncestor(N,S.isImportDeclaration);var ae=getResolvedSourceFileFromImportDeclaration(E,w,ne);if(ae&&ae.symbol){ee=q.getSuggestedSymbolForNonexistentModule(N,ae.symbol)}}else{var _e=S.getMeaningFromLocation(N);var ve=S.getTextOfNode(N);S.Debug.assert(ve!==undefined,"name should be defined");ee=q.getSuggestedSymbolForNonexistentSymbol(N,ve,convertSemanticMeaningToSymbolFlags(_e))}return ee===undefined?undefined:{node:N,suggestedSymbol:ee}}function doChange(E,k,w,N,j){var q=S.symbolName(N);if(!S.isIdentifierText(q,j)&&S.isPropertyAccessExpression(w.parent)){var ee=N.valueDeclaration;if(S.isNamedDeclaration(ee)&&S.isPrivateIdentifier(ee.name)){E.replaceNode(k,w,S.createIdentifier(q))}else{E.replaceNode(k,w.parent,S.createElementAccess(w.parent.expression,S.createLiteral(q)))}}else{E.replaceNode(k,w,S.createIdentifier(q))}}function convertSemanticMeaningToSymbolFlags(S){var E=0;if(S&4){E|=1920}if(S&2){E|=788968}if(S&1){E|=111551}return E}function getResolvedSourceFileFromImportDeclaration(E,k,w){if(!w||!S.isStringLiteralLike(w.moduleSpecifier))return undefined;var N=S.getResolvedModule(E,w.moduleSpecifier.text);if(!N)return undefined;return k.program.getSourceFile(N.resolvedFileName)}})(E=S.codefix||(S.codefix={}))})(ne||(ne={}));var ne;(function(S){var E;(function(E){var k="returnValueCorrect";var w="fixAddReturnStatement";var N="fixRemoveBlockBodyBrace";var j="fixWrapTheBlockWithParen";var q=[S.Diagnostics.A_function_whose_declared_type_is_neither_void_nor_any_must_return_a_value.code,S.Diagnostics.Type_0_is_not_assignable_to_type_1.code,S.Diagnostics.Argument_of_type_0_is_not_assignable_to_parameter_of_type_1.code];var ee;(function(S){S[S["MissingReturnStatement"]=0]="MissingReturnStatement";S[S["MissingParentheses"]=1]="MissingParentheses"})(ee||(ee={}));E.registerCodeFix({errorCodes:q,fixIds:[w,N,j],getCodeActions:function(E){var k=E.program,w=E.sourceFile,N=E.span.start,j=E.errorCode;var q=getInfo(k.getTypeChecker(),w,N,j);if(!q)return undefined;if(q.kind===ee.MissingReturnStatement){return S.append([getActionForfixAddReturnStatement(E,q.expression,q.statement)],S.isArrowFunction(q.declaration)?getActionForfixRemoveBlockBodyBrace(E,q.declaration,q.expression,q.commentSource):undefined)}else{return[getActionForfixWrapTheBlockWithParen(E,q.declaration,q.expression)]}},getAllCodeActions:function(k){return E.codeFixAll(k,q,(function(E,q){var ee=getInfo(k.program.getTypeChecker(),q.file,q.start,q.code);if(!ee)return undefined;switch(k.fixId){case w:addReturnStatement(E,q.file,ee.expression,ee.statement);break;case N:if(!S.isArrowFunction(ee.declaration))return undefined;removeBlockBodyBrace(E,q.file,ee.declaration,ee.expression,ee.commentSource,false);break;case j:if(!S.isArrowFunction(ee.declaration))return undefined;wrapBlockWithParen(E,q.file,ee.declaration,ee.expression);break;default:S.Debug.fail(JSON.stringify(k.fixId))}}))}});function getFixInfo(E,k,w,N){if(!k.body||!S.isBlock(k.body)||S.length(k.body.statements)!==1)return undefined;var j=S.first(k.body.statements);if(S.isExpressionStatement(j)&&checkFixedAssignableTo(E,k,j.expression,w,N)){return{declaration:k,kind:ee.MissingReturnStatement,expression:j.expression,statement:j,commentSource:j.expression}}else if(S.isLabeledStatement(j)&&S.isExpressionStatement(j.statement)){var q=S.createObjectLiteral([S.createPropertyAssignment(j.label,j.statement.expression)]);if(checkFixedAssignableTo(E,k,q,w,N)){return S.isArrowFunction(k)?{declaration:k,kind:ee.MissingParentheses,expression:q,statement:j,commentSource:j.statement.expression}:{declaration:k,kind:ee.MissingReturnStatement,expression:q,statement:j,commentSource:j.statement.expression}}}else if(S.isBlock(j)&&S.length(j.statements)===1){var te=S.first(j.statements);if(S.isLabeledStatement(te)&&S.isExpressionStatement(te.statement)){var q=S.createObjectLiteral([S.createPropertyAssignment(te.label,te.statement.expression)]);if(checkFixedAssignableTo(E,k,q,w,N)){return{declaration:k,kind:ee.MissingReturnStatement,expression:q,statement:j,commentSource:te}}}}return undefined}function checkFixedAssignableTo(E,k,w,N,j){return E.isTypeAssignableTo(E.getTypeAtLocation(j?S.updateFunctionLikeBody(k,S.createBlock([S.createReturn(w)])):w),N)}function getInfo(E,k,w,N){var j=S.getTokenAtPosition(k,w);if(!j.parent)return undefined;var q=S.findAncestor(j.parent,S.isFunctionLikeDeclaration);switch(N){case S.Diagnostics.A_function_whose_declared_type_is_neither_void_nor_any_must_return_a_value.code:if(!q||!q.body||!q.type||!S.rangeContainsRange(q.type,j))return undefined;return getFixInfo(E,q,E.getTypeFromTypeNode(q.type),false);case S.Diagnostics.Argument_of_type_0_is_not_assignable_to_parameter_of_type_1.code:if(!q||!S.isCallExpression(q.parent)||!q.body)return undefined;var ee=q.parent.arguments.indexOf(q);var te=E.getContextualTypeForArgumentAtIndex(q.parent,ee);if(!te)return undefined;return getFixInfo(E,q,te,true);case S.Diagnostics.Type_0_is_not_assignable_to_type_1.code:if(!S.isDeclarationName(j)||!S.isVariableLike(j.parent)&&!S.isJsxAttribute(j.parent))return undefined;var ne=getVariableLikeInitializer(j.parent);if(!ne||!S.isFunctionLikeDeclaration(ne)||!ne.body)return undefined;return getFixInfo(E,ne,E.getTypeAtLocation(j.parent),true)}return undefined}function getVariableLikeInitializer(E){switch(E.kind){case 242:case 156:case 191:case 159:case 281:return E.initializer;case 273:return E.initializer&&(S.isJsxExpression(E.initializer)?E.initializer.expression:undefined);case 282:case 158:case 284:case 323:case 317:return undefined}}function addReturnStatement(E,k,w,N){S.suppressLeadingAndTrailingTrivia(w);var j=S.probablyUsesSemicolons(k);E.replaceNode(k,N,S.createReturn(w),{leadingTriviaOption:S.textChanges.LeadingTriviaOption.Exclude,trailingTriviaOption:S.textChanges.TrailingTriviaOption.Exclude,suffix:j?";":undefined})}function removeBlockBodyBrace(E,k,w,N,j,q){var ee=q||S.needsParentheses(N)?S.createParen(N):N;S.suppressLeadingAndTrailingTrivia(j);S.copyComments(j,ee);E.replaceNode(k,w.body,ee)}function wrapBlockWithParen(E,k,w,N){E.replaceNode(k,w.body,S.createParen(N))}function getActionForfixAddReturnStatement(N,j,q){var ee=S.textChanges.ChangeTracker.with(N,(function(S){return addReturnStatement(S,N.sourceFile,j,q)}));return E.createCodeFixAction(k,ee,S.Diagnostics.Add_a_return_statement,w,S.Diagnostics.Add_all_missing_return_statement)}function getActionForfixRemoveBlockBodyBrace(w,j,q,ee){var te=S.textChanges.ChangeTracker.with(w,(function(S){return removeBlockBodyBrace(S,w.sourceFile,j,q,ee,false)}));return E.createCodeFixAction(k,te,S.Diagnostics.Remove_block_body_braces,N,S.Diagnostics.Remove_all_incorrect_body_block_braces)}function getActionForfixWrapTheBlockWithParen(w,N,q){var ee=S.textChanges.ChangeTracker.with(w,(function(S){return wrapBlockWithParen(S,w.sourceFile,N,q)}));return E.createCodeFixAction(k,ee,S.Diagnostics.Wrap_the_following_body_with_parentheses_which_should_be_an_object_literal,j,S.Diagnostics.Wrap_all_object_literal_with_parentheses)}})(E=S.codefix||(S.codefix={}))})(ne||(ne={}));var ne;(function(S){var E;(function(E){var k="addMissingMember";var w=[S.Diagnostics.Property_0_does_not_exist_on_type_1.code,S.Diagnostics.Property_0_does_not_exist_on_type_1_Did_you_mean_2.code,S.Diagnostics.Property_0_is_missing_in_type_1_but_required_in_type_2.code,S.Diagnostics.Type_0_is_missing_the_following_properties_from_type_1_Colon_2.code,S.Diagnostics.Type_0_is_missing_the_following_properties_from_type_1_Colon_2_and_3_more.code];var N="addMissingMember";E.registerCodeFix({errorCodes:w,getCodeActions:function(w){var j=getInfo(w.sourceFile,w.span.start,w.program.getTypeChecker(),w.program);if(!j)return undefined;if(j.kind===0){var q=j.token,ee=j.parentDeclaration;var te=S.textChanges.ChangeTracker.with(w,(function(S){return addEnumMemberDeclaration(S,w.program.getTypeChecker(),q,ee)}));return[E.createCodeFixAction(k,te,[S.Diagnostics.Add_missing_enum_member_0,q.text],N,S.Diagnostics.Add_all_missing_members)]}var ne=j.parentDeclaration,ae=j.declSourceFile,_e=j.inJs,ve=j.makeStatic,Ee=j.token,Te=j.call;var Ce=Te&&getActionForMethodDeclaration(w,ae,ne,Ee,Te,ve,_e);var we=_e&&!S.isInterfaceDeclaration(ne)?S.singleElementArray(getActionsForAddMissingMemberInJavascriptFile(w,ae,ne,Ee,ve)):getActionsForAddMissingMemberInTypeScriptFile(w,ae,ne,Ee,ve);return S.concatenate(S.singleElementArray(Ce),we)},fixIds:[N],getAllCodeActions:function(k){var N=k.program;var j=N.getTypeChecker();var q=S.createMap();var ee=new S.NodeMap;return E.createCombinedCodeActions(S.textChanges.ChangeTracker.with(k,(function(te){E.eachDiagnostic(k,w,(function(E){var w=getInfo(E.file,E.start,j,k.program);if(!w||!S.addToSeen(q,S.getNodeId(w.parentDeclaration)+"#"+w.token.text)){return}if(w.kind===0){var N=w.token,ne=w.parentDeclaration;addEnumMemberDeclaration(te,j,N,ne)}else{var ne=w.parentDeclaration,ae=w.token;var _e=ee.getOrUpdate(ne,(function(){return[]}));if(!_e.some((function(S){return S.token.text===ae.text})))_e.push(w)}}));ee.forEach((function(E,w){var q=getAllSupers(w,j);var _loop_13=function(E){if(q.some((function(S){var k=ee.get(S);return!!k&&k.some((function(S){var k=S.token;return k.text===E.token.text}))})))return"continue";var w=E.parentDeclaration,j=E.declSourceFile,ne=E.inJs,ae=E.makeStatic,_e=E.token,ve=E.call;if(ve&&!S.isPrivateIdentifier(_e)){addMethodDeclaration(k,te,j,w,_e,ve,ae,ne)}else{if(ne&&!S.isInterfaceDeclaration(w)){addMissingMemberInJs(te,j,w,_e,ae)}else{var Ee=getTypeNode(N.getTypeChecker(),w,_e);addPropertyDeclaration(te,j,w,_e.text,Ee,ae?32:0)}}};for(var ne=0,ae=E;ne=S.ModuleKind.ES2015&&q99;if(ae){var te=S.textChanges.ChangeTracker.with(k,(function(k){var w=S.getTsConfigObjectLiteralExpression(N);if(!w)return;var j=[["target",S.createStringLiteral("es2017")]];if(q===S.ModuleKind.CommonJS){j.push(["module",S.createStringLiteral("commonjs")])}E.setJsonCompilerOptionValues(k,N,j)}));j.push(E.createCodeFixActionWithoutFixAll("fixTargetOption",te,[S.Diagnostics.Set_the_target_option_in_your_configuration_file_to_0,"es2017"]))}return j.length?j:undefined}})})(E=S.codefix||(S.codefix={}))})(ne||(ne={}));var ne;(function(S){var E;(function(E){var k="extendsInterfaceBecomesImplements";var w=[S.Diagnostics.Cannot_extend_an_interface_0_Did_you_mean_implements.code];E.registerCodeFix({errorCodes:w,getCodeActions:function(w){var N=w.sourceFile;var j=getNodes(N,w.span.start);if(!j)return undefined;var q=j.extendsToken,ee=j.heritageClauses;var te=S.textChanges.ChangeTracker.with(w,(function(S){return doChanges(S,N,q,ee)}));return[E.createCodeFixAction(k,te,S.Diagnostics.Change_extends_to_implements,k,S.Diagnostics.Change_all_extended_interfaces_to_implements)]},fixIds:[k],getAllCodeActions:function(S){return E.codeFixAll(S,w,(function(S,E){var k=getNodes(E.file,E.start);if(k)doChanges(S,E.file,k.extendsToken,k.heritageClauses)}))}});function getNodes(E,k){var w=S.getTokenAtPosition(E,k);var N=S.getContainingClass(w).heritageClauses;var j=N[0].getFirstToken();return j.kind===90?{extendsToken:j,heritageClauses:N}:undefined}function doChanges(E,k,w,N){E.replaceNode(k,w,S.createToken(113));if(N.length===2&&N[0].token===90&&N[1].token===113){var j=N[1].getFirstToken();var q=j.getFullStart();E.replaceRange(k,{pos:q,end:q},S.createToken(27));var ee=k.text;var te=j.end;while(te":">","}":"}"};function isValidCharacter(E){return S.hasProperty(j,E)}function doChange(E,k,w,N,q){var ee=w.getText()[N];if(!isValidCharacter(ee)){return}var te=q?j[ee]:"{"+S.quote(ee,k)+"}";E.replaceRangeWithText(w,{pos:N,end:N+1},te)}})(E=S.codefix||(S.codefix={}))})(ne||(ne={}));var ne;(function(S){var E;(function(E){var k="unusedIdentifier";var w="unusedIdentifier_prefix";var N="unusedIdentifier_delete";var j="unusedIdentifier_infer";var q=[S.Diagnostics._0_is_declared_but_its_value_is_never_read.code,S.Diagnostics._0_is_declared_but_never_used.code,S.Diagnostics.Property_0_is_declared_but_its_value_is_never_read.code,S.Diagnostics.All_imports_in_import_declaration_are_unused.code,S.Diagnostics.All_destructured_elements_are_unused.code,S.Diagnostics.All_variables_are_unused.code,S.Diagnostics.All_type_parameters_are_unused.code];E.registerCodeFix({errorCodes:q,getCodeActions:function(N){var q=N.errorCode,ee=N.sourceFile,te=N.program;var ne=te.getTypeChecker();var ae=te.getSourceFiles();var _e=S.getTokenAtPosition(ee,N.span.start);if(S.isJSDocTemplateTag(_e)){return[createDeleteFix(S.textChanges.ChangeTracker.with(N,(function(S){return S.delete(ee,_e)})),S.Diagnostics.Remove_template_tag)]}if(_e.kind===29){var ve=S.textChanges.ChangeTracker.with(N,(function(S){return deleteTypeParameters(S,ee,_e)}));return[createDeleteFix(ve,S.Diagnostics.Remove_type_parameters)]}var Ee=tryGetFullImport(_e);if(Ee){var ve=S.textChanges.ChangeTracker.with(N,(function(S){return S.delete(ee,Ee)}));return[createDeleteFix(ve,[S.Diagnostics.Remove_import_from_0,S.showModuleSpecifier(Ee)])]}var Te=S.textChanges.ChangeTracker.with(N,(function(S){return tryDeleteFullDestructure(_e,S,ee,ne,ae,false)}));if(Te.length){return[createDeleteFix(Te,S.Diagnostics.Remove_destructuring)]}var Ce=S.textChanges.ChangeTracker.with(N,(function(S){return tryDeleteFullVariableStatement(ee,_e,S)}));if(Ce.length){return[createDeleteFix(Ce,S.Diagnostics.Remove_variable_statement)]}var we=[];if(_e.kind===132){var ve=S.textChanges.ChangeTracker.with(N,(function(S){return changeInferToUnknown(S,ee,_e)}));var Ne=S.cast(_e.parent,S.isInferTypeNode).typeParameter.name.text;we.push(E.createCodeFixAction(k,ve,[S.Diagnostics.Replace_infer_0_with_unknown,Ne],j,S.Diagnostics.Replace_all_unused_infer_with_unknown))}else{var Ie=S.textChanges.ChangeTracker.with(N,(function(S){return tryDeleteDeclaration(ee,_e,S,ne,ae,false)}));if(Ie.length){var Ne=S.isComputedPropertyName(_e.parent)?_e.parent:_e;we.push(createDeleteFix(Ie,[S.Diagnostics.Remove_unused_declaration_for_Colon_0,Ne.getText(ee)]))}}var Fe=S.textChanges.ChangeTracker.with(N,(function(S){return tryPrefixDeclaration(S,q,ee,_e)}));if(Fe.length){we.push(E.createCodeFixAction(k,Fe,[S.Diagnostics.Prefix_0_with_an_underscore,_e.getText(ee)],w,S.Diagnostics.Prefix_all_unused_declarations_with_where_possible))}return we},fixIds:[w,N,j],getAllCodeActions:function(k){var ee=k.sourceFile,te=k.program;var ne=te.getTypeChecker();var ae=te.getSourceFiles();return E.codeFixAll(k,q,(function(E,q){var te=S.getTokenAtPosition(ee,q.start);switch(k.fixId){case w:tryPrefixDeclaration(E,q.code,ee,te);break;case N:{if(te.kind===132)break;var _e=tryGetFullImport(te);if(_e){E.delete(ee,_e)}else if(S.isJSDocTemplateTag(te)){E.delete(ee,te)}else if(te.kind===29){deleteTypeParameters(E,ee,te)}else if(!tryDeleteFullDestructure(te,E,ee,ne,ae,true)&&!tryDeleteFullVariableStatement(ee,te,E)){tryDeleteDeclaration(ee,te,E,ne,ae,true)}break}case j:if(te.kind===132){changeInferToUnknown(E,ee,te)}break;default:S.Debug.fail(JSON.stringify(k.fixId))}}))}});function changeInferToUnknown(E,k,w){E.replaceNode(k,w.parent,S.createKeywordTypeNode(148))}function createDeleteFix(w,j){return E.createCodeFixAction(k,w,j,N,S.Diagnostics.Delete_all_unused_declarations)}function deleteTypeParameters(E,k,w){E.delete(k,S.Debug.checkDefined(S.cast(w.parent,S.isDeclarationWithTypeParameterChildren).typeParameters,"The type parameter to delete should exist"))}function tryGetFullImport(E){return E.kind===96?S.tryCast(E.parent,S.isImportDeclaration):undefined}function tryDeleteFullDestructure(E,k,w,N,j,q){if(E.kind!==18||!S.isObjectBindingPattern(E.parent))return false;var ee=E.parent.parent;if(ee.kind===156){tryDeleteParameter(k,w,ee,N,j,q)}else{k.delete(w,ee)}return true}function tryDeleteFullVariableStatement(E,k,w){var N=S.tryCast(k.parent,S.isVariableDeclarationList);if(N&&N.getChildren(E)[0]===k){w.delete(E,N.parent.kind===225?N.parent:N);return true}return false}function tryPrefixDeclaration(E,k,w,N){if(k===S.Diagnostics.Property_0_is_declared_but_its_value_is_never_read.code)return;if(N.kind===132){N=S.cast(N.parent,S.isInferTypeNode).typeParameter.name}if(S.isIdentifier(N)&&canPrefix(N)){E.replaceNode(w,N,S.createIdentifier("_"+N.text));if(S.isParameter(N.parent)){S.getJSDocParameterTags(N.parent).forEach((function(k){if(S.isIdentifier(k.name)){E.replaceNode(w,k.name,S.createIdentifier("_"+k.name.text))}}))}}}function canPrefix(S){switch(S.parent.kind){case 156:case 155:return true;case 242:{var E=S.parent;switch(E.parent.parent.kind){case 232:case 231:return true}}}return false}function tryDeleteDeclaration(E,k,w,N,j,q){tryDeleteDeclarationWorker(k,w,E,N,j,q);if(S.isIdentifier(k))deleteAssignments(w,E,k,N)}function deleteAssignments(E,k,w,N){S.FindAllReferences.Core.eachSymbolReferenceInFile(w,N,k,(function(w){if(S.isPropertyAccessExpression(w.parent)&&w.parent.name===w)w=w.parent;if(S.isBinaryExpression(w.parent)&&S.isExpressionStatement(w.parent.parent)&&w.parent.left===w){E.delete(k,w.parent.parent)}}))}function tryDeleteDeclarationWorker(E,k,w,N,j,q){var ee=E.parent;if(S.isParameter(ee)){tryDeleteParameter(k,w,ee,N,j,q)}else{k.delete(w,S.isImportClause(ee)?E:S.isComputedPropertyName(ee)?ee.parent:ee)}}function tryDeleteParameter(E,k,w,N,j,q){if(mayDeleteParameter(w,N,q)){if(w.modifiers&&w.modifiers.length>0&&(!S.isIdentifier(w.name)||S.FindAllReferences.Core.isSymbolReferencedInFile(w.name,N,k))){w.modifiers.forEach((function(S){E.deleteModifier(k,S)}))}else{E.delete(k,w);deleteUnusedArguments(E,k,w,j,N)}}}function mayDeleteParameter(E,k,w){var N=E.parent;switch(N.kind){case 161:var j=k.getSymbolAtLocation(N.name);if(S.isMemberSymbolInBaseType(j,k))return false;case 162:case 244:return true;case 201:case 202:{var q=N.parameters;var ee=q.indexOf(E);S.Debug.assert(ee!==-1,"The parameter should already be in the list");return w?q.slice(ee+1).every((function(S){return S.name.kind===75&&!S.symbol.isReferenced})):ee===q.length-1}case 164:return false;default:return S.Debug.failBadSyntaxKind(N)}}function deleteUnusedArguments(E,k,w,N,j){S.FindAllReferences.Core.eachSignatureCall(w.parent,N,j,(function(S){var N=w.parent.parameters.indexOf(w);if(S.arguments.length>N){E.delete(k,S.arguments[N])}}))}})(E=S.codefix||(S.codefix={}))})(ne||(ne={}));var ne;(function(S){var E;(function(E){var k="fixUnreachableCode";var w=[S.Diagnostics.Unreachable_code_detected.code];E.registerCodeFix({errorCodes:w,getCodeActions:function(w){var N=S.textChanges.ChangeTracker.with(w,(function(S){return doChange(S,w.sourceFile,w.span.start,w.span.length,w.errorCode)}));return[E.createCodeFixAction(k,N,S.Diagnostics.Remove_unreachable_code,k,S.Diagnostics.Remove_all_unreachable_code)]},fixIds:[k],getAllCodeActions:function(S){return E.codeFixAll(S,w,(function(S,E){return doChange(S,E.file,E.start,E.length,E.code)}))}});function doChange(E,k,w,N,j){var q=S.getTokenAtPosition(k,w);var ee=S.findAncestor(q,S.isStatement);if(ee.getStart(k)!==q.getStart(k)){var te=JSON.stringify({statementKind:S.Debug.formatSyntaxKind(ee.kind),tokenKind:S.Debug.formatSyntaxKind(q.kind),errorCode:j,start:w,length:N});S.Debug.fail("Token and statement should start at the same point. "+te)}var ne=(S.isBlock(ee.parent)?ee.parent:ee).parent;if(!S.isBlock(ee.parent)||ee===S.first(ee.parent.statements)){switch(ne.kind){case 227:if(ne.elseStatement){if(S.isBlock(ee.parent)){break}else{E.replaceNode(k,ee,S.createBlock(S.emptyArray))}return}case 229:case 230:E.delete(k,ne);return}}if(S.isBlock(ee.parent)){var ae=w+N;var _e=S.Debug.checkDefined(lastWhere(S.sliceAfter(ee.parent.statements,ee),(function(S){return S.posWe.length){var $e=te.getSignatureFromDeclaration(ee[ee.length-1]);outputMethod($e,Ee,_e,createStubbedMethodBody(N))}else{S.Debug.assert(ee.length===We.length,"Declarations and signatures should match count");q(createMethodImplementingSignatures(We,_e,Ce,Ee,N))}}break}function outputMethod(S,E,N,ee){var te=signatureToMethodDeclaration(w,S,k,E,N,Ce,ee,j);if(te)q(te)}}function signatureToMethodDeclaration(E,k,w,N,j,q,ee,te){var ne=E.program;var ae=ne.getTypeChecker();var _e=S.getEmitScriptTarget(ne.getCompilerOptions());var ve=ae.signatureToSignatureDeclaration(k,161,w,1|256,getNoopSymbolTrackerWithResolver(E));if(!ve){return undefined}if(te){if(ve.typeParameters){S.forEach(ve.typeParameters,(function(S,E){var w=k.typeParameters[E];if(S.constraint){var N=tryGetAutoImportableReferenceFromImportTypeNode(S.constraint,w.constraint,_e);if(N){S.constraint=N.typeReference;importSymbols(te,N.symbols)}}if(S.default){var N=tryGetAutoImportableReferenceFromImportTypeNode(S.default,w.default,_e);if(N){S.default=N.typeReference;importSymbols(te,N.symbols)}}}))}S.forEach(ve.parameters,(function(S,E){var w=k.parameters[E];var N=tryGetAutoImportableReferenceFromImportTypeNode(S.type,ae.getTypeAtLocation(w.valueDeclaration),_e);if(N){S.type=N.typeReference;importSymbols(te,N.symbols)}}));if(ve.type){var Ee=tryGetAutoImportableReferenceFromImportTypeNode(ve.type,k.resolvedReturnType,_e);if(Ee){ve.type=Ee.typeReference;importSymbols(te,Ee.symbols)}}}ve.decorators=undefined;ve.modifiers=N;ve.name=j;ve.questionToken=q?S.createToken(57):undefined;ve.body=ee;return ve}function createMethodFromCallExpression(E,k,w,N,j,q,ee){var te=!S.isInterfaceDeclaration(q);var ne=k.typeArguments,ae=k.arguments,_e=k.parent;var ve=S.getEmitScriptTarget(E.program.getCompilerOptions());var Ee=E.program.getTypeChecker();var Te=getNoopSymbolTrackerWithResolver(E);var Ce=S.map(ae,(function(S){return typeToAutoImportableTypeNode(Ee,ee,Ee.getBaseTypeOfLiteralType(Ee.getTypeAtLocation(S)),q,ve,undefined,Te)}));var we=S.map(ae,(function(E){return S.isIdentifier(E)?E.text:S.isPropertyAccessExpression(E)&&S.isIdentifier(E.name)?E.name.text:undefined}));var Ne=Ee.getContextualType(k);var Ie=N||!Ne?undefined:Ee.typeToTypeNode(Ne,q,undefined,Te);return S.createMethod(undefined,j?[S.createToken(120)]:undefined,S.isYieldExpression(_e)?S.createToken(41):undefined,w,undefined,N?undefined:S.map(ne,(function(E,k){return S.createTypeParameterDeclaration(84+ne.length-1<=90?String.fromCharCode(84+k):"T"+k)})),createDummyParameters(ae.length,we,Ce,undefined,N),Ie,te?createStubbedMethodBody(E.preferences):undefined)}E.createMethodFromCallExpression=createMethodFromCallExpression;function typeToAutoImportableTypeNode(E,k,w,N,j,q,ee){var te=E.typeToTypeNode(w,N,q,ee);if(te&&S.isImportTypeNode(te)){var ne=tryGetAutoImportableReferenceFromImportTypeNode(te,w,j);if(ne){importSymbols(k,ne.symbols);return ne.typeReference}}return te}E.typeToAutoImportableTypeNode=typeToAutoImportableTypeNode;function createDummyParameters(E,k,w,N,j){var q=[];for(var ee=0;ee=N?S.createToken(57):undefined,j?undefined:w&&w[ee]||S.createKeywordTypeNode(125),undefined);q.push(te)}return q}function createMethodImplementingSignatures(E,k,w,N,j){var q=E[0];var ee=E[0].minArgumentCount;var te=false;for(var ne=0,ae=E;ne=q.parameters.length&&(!S.signatureHasRestParameter(_e)||S.signatureHasRestParameter(q))){q=_e}}var ve=q.parameters.length-(S.signatureHasRestParameter(q)?1:0);var Ee=q.parameters.map((function(S){return S.name}));var Te=createDummyParameters(ve,Ee,undefined,ee,false);if(te){var Ce=S.createArrayTypeNode(S.createKeywordTypeNode(125));var we=S.createParameter(undefined,undefined,S.createToken(25),Ee[ve]||"rest",ve>=ee?S.createToken(57):undefined,Ce,undefined);Te.push(we)}return createStubbedMethod(N,k,w,undefined,Te,undefined,j)}function createStubbedMethod(E,k,w,N,j,q,ee){return S.createMethod(undefined,E,undefined,k,w?S.createToken(57):undefined,N,j,q,createStubbedMethodBody(ee))}function createStubbedMethodBody(E){return S.createBlock([S.createThrow(S.createNew(S.createIdentifier("Error"),undefined,[S.createLiteral("Method not implemented.",E.quotePreference==="single")]))],true)}function createVisibilityModifier(E){if(E&4){return S.createToken(119)}else if(E&16){return S.createToken(118)}return undefined}function setJsonCompilerOptionValues(E,k,w){var N=S.getTsConfigObjectLiteralExpression(k);if(!N)return undefined;var j=findJsonProperty(N,"compilerOptions");if(j===undefined){E.insertNodeAtObjectStart(k,N,createJsonPropertyAssignment("compilerOptions",S.createObjectLiteral(w.map((function(S){var E=S[0],k=S[1];return createJsonPropertyAssignment(E,k)})),true)));return}var q=j.initializer;if(!S.isObjectLiteralExpression(q)){return}for(var ee=0,te=w;ee0){return[E.createCodeFixAction(k,N,S.Diagnostics.Convert_to_a_bigint_numeric_literal,k,S.Diagnostics.Convert_all_to_bigint_numeric_literals)]}},fixIds:[k],getAllCodeActions:function(S){return E.codeFixAll(S,w,(function(S,E){return makeChange(S,E.file,E)}))}});function makeChange(E,k,w){var N=S.tryCast(S.getTokenAtPosition(k,w.start),S.isNumericLiteral);if(!N){return}var j=N.getText(k)+"n";E.replaceNode(k,N,S.createBigIntLiteral(j))}})(E=S.codefix||(S.codefix={}))})(ne||(ne={}));var ne;(function(S){var E;(function(E){var k="fixAddModuleReferTypeMissingTypeof";var w=k;var N=[S.Diagnostics.Module_0_does_not_refer_to_a_type_but_is_used_as_a_type_here_Did_you_mean_typeof_import_0.code];E.registerCodeFix({errorCodes:N,getCodeActions:function(k){var N=k.sourceFile,j=k.span;var q=getImportTypeNode(N,j.start);var ee=S.textChanges.ChangeTracker.with(k,(function(S){return doChange(S,N,q)}));return[E.createCodeFixAction(w,ee,S.Diagnostics.Add_missing_typeof,w,S.Diagnostics.Add_missing_typeof)]},fixIds:[w],getAllCodeActions:function(S){return E.codeFixAll(S,N,(function(E,k){return doChange(E,S.sourceFile,getImportTypeNode(k.file,k.start))}))}});function getImportTypeNode(E,k){var w=S.getTokenAtPosition(E,k);S.Debug.assert(w.kind===96,"This token should be an ImportKeyword");S.Debug.assert(w.parent.kind===188,"Token parent should be an ImportType");return w.parent}function doChange(E,k,w){var N=S.updateImportTypeNode(w,w.argument,w.qualifier,w.typeArguments,true);E.replaceNode(k,w,N)}})(E=S.codefix||(S.codefix={}))})(ne||(ne={}));var ne;(function(S){var E;(function(E){var k="fixConvertToMappedObjectType";var N=k;var j=[S.Diagnostics.An_index_signature_parameter_type_cannot_be_a_union_type_Consider_using_a_mapped_object_type_instead.code];E.registerCodeFix({errorCodes:j,getCodeActions:function(k){var w=k.sourceFile,j=k.span;var q=getInfo(w,j.start);if(!q)return undefined;var ee=S.textChanges.ChangeTracker.with(k,(function(S){return doChange(S,w,q)}));var te=S.idText(q.container.name);return[E.createCodeFixAction(N,ee,[S.Diagnostics.Convert_0_to_mapped_object_type,te],N,[S.Diagnostics.Convert_0_to_mapped_object_type,te])]},fixIds:[N],getAllCodeActions:function(S){return E.codeFixAll(S,j,(function(S,E){var k=getInfo(E.file,E.start);if(k)doChange(S,E.file,k)}))}});function getInfo(E,k){var w=S.getTokenAtPosition(E,k);var N=S.cast(w.parent.parent,S.isIndexSignatureDeclaration);if(S.isClassDeclaration(N.parent))return undefined;var j=S.isInterfaceDeclaration(N.parent)?N.parent:S.cast(N.parent.parent,S.isTypeAliasDeclaration);return{indexSignature:N,container:j}}function createTypeAliasFromInterface(E,k){return S.createTypeAliasDeclaration(E.decorators,E.modifiers,E.name,E.typeParameters,k)}function doChange(E,k,N){var j=N.indexSignature,q=N.container;var ee=S.isInterfaceDeclaration(q)?q.members:q.type.members;var te=ee.filter((function(E){return!S.isIndexSignatureDeclaration(E)}));var ne=S.first(j.parameters);var ae=S.createTypeParameterDeclaration(S.cast(ne.name,S.isIdentifier),ne.type);var _e=S.createMappedTypeNode(S.hasReadonlyModifier(j)?S.createModifier(138):undefined,ae,j.questionToken,j.type);var ve=S.createIntersectionTypeNode(w(S.getAllSuperTypeNodes(q),[_e],te.length?[S.createTypeLiteralNode(te)]:S.emptyArray));E.replaceNode(k,q,createTypeAliasFromInterface(q,ve))}})(E=S.codefix||(S.codefix={}))})(ne||(ne={}));var ne;(function(S){var E;(function(E){var k="removeUnnecessaryAwait";var w=[S.Diagnostics.await_has_no_effect_on_the_type_of_this_expression.code];E.registerCodeFix({errorCodes:w,getCodeActions:function(w){var N=S.textChanges.ChangeTracker.with(w,(function(S){return makeChange(S,w.sourceFile,w.span)}));if(N.length>0){return[E.createCodeFixAction(k,N,S.Diagnostics.Remove_unnecessary_await,k,S.Diagnostics.Remove_all_unnecessary_uses_of_await)]}},fixIds:[k],getAllCodeActions:function(S){return E.codeFixAll(S,w,(function(S,E){return makeChange(S,E.file,E)}))}});function makeChange(E,k,w){var N=S.tryCast(S.getTokenAtPosition(k,w.start),(function(S){return S.kind===127}));var j=N&&S.tryCast(N.parent,S.isAwaitExpression);if(!j){return}var q=j;var ee=S.isParenthesizedExpression(j.parent);if(ee){var te=S.getLeftmostExpression(j.expression,false);if(S.isIdentifier(te)){var ne=S.findPrecedingToken(j.parent.pos,k);if(ne&&ne.kind!==99){q=j.parent}}}E.replaceNode(k,q,j.expression)}})(E=S.codefix||(S.codefix={}))})(ne||(ne={}));var ne;(function(S){var E;(function(E){var k=[S.Diagnostics.A_type_only_import_can_specify_a_default_import_or_named_bindings_but_not_both.code];var w="splitTypeOnlyImport";E.registerCodeFix({errorCodes:k,fixIds:[w],getCodeActions:function(k){var N=S.textChanges.ChangeTracker.with(k,(function(S){return splitTypeOnlyImport(S,getImportDeclaration(k.sourceFile,k.span),k)}));if(N.length){return[E.createCodeFixAction(w,N,S.Diagnostics.Split_into_two_separate_import_declarations,w,S.Diagnostics.Split_all_invalid_type_only_imports)]}},getAllCodeActions:function(S){return E.codeFixAll(S,k,(function(E,k){splitTypeOnlyImport(E,getImportDeclaration(S.sourceFile,k),S)}))}});function getImportDeclaration(E,k){return S.findAncestor(S.getTokenAtPosition(E,k.start),S.isImportDeclaration)}function splitTypeOnlyImport(E,k,w){if(!k){return}var N=S.Debug.checkDefined(k.importClause);E.replaceNode(w.sourceFile,k,S.updateImportDeclaration(k,k.decorators,k.modifiers,S.updateImportClause(N,N.name,undefined,N.isTypeOnly),k.moduleSpecifier));E.insertNodeAfter(w.sourceFile,k,S.createImportDeclaration(undefined,undefined,S.updateImportClause(N,undefined,N.namedBindings,N.isTypeOnly),k.moduleSpecifier))}})(E=S.codefix||(S.codefix={}))})(ne||(ne={}));var ne;(function(S){var E;(function(E){var k="fixConvertConstToLet";var w=[S.Diagnostics.Cannot_assign_to_0_because_it_is_a_constant.code];E.registerCodeFix({errorCodes:w,getCodeActions:function(w){var N=w.sourceFile,j=w.span,q=w.program;var ee=getVariableStatement(N,j.start,q);var te=S.textChanges.ChangeTracker.with(w,(function(S){return doChange(S,N,ee)}));return[E.createCodeFixAction(k,te,S.Diagnostics.Convert_const_to_let,k,S.Diagnostics.Convert_const_to_let)]},fixIds:[k]});function getVariableStatement(E,k,w){var N=S.getTokenAtPosition(E,k);var j=w.getTypeChecker();var q=j.getSymbolAtLocation(N);if(q){return q.valueDeclaration.parent.parent}}function doChange(S,E,k){if(!k){return}var w=k.getStart();S.replaceRangeWithText(E,{pos:w,end:w+5},"let")}})(E=S.codefix||(S.codefix={}))})(ne||(ne={}));var ne;(function(S){var E;(function(E){var k="fixExpectedComma";var w=S.Diagnostics._0_expected.code;var N=[w];E.registerCodeFix({errorCodes:N,getCodeActions:function(w){var N=w.sourceFile;var j=getInfo(N,w.span.start,w.errorCode);if(!j){return undefined}var q=S.textChanges.ChangeTracker.with(w,(function(S){return doChange(S,N,j)}));return[E.createCodeFixAction(k,q,[S.Diagnostics.Change_0_to_1,";",","],k,[S.Diagnostics.Change_0_to_1,";",","])]},fixIds:[k],getAllCodeActions:function(S){return E.codeFixAll(S,N,(function(E,k){var w=getInfo(k.file,k.start,k.code);if(w)doChange(E,S.sourceFile,w)}))}});function getInfo(E,k,w){var N=S.getTokenAtPosition(E,k);return N.kind===26&&N.parent&&(S.isObjectLiteralExpression(N.parent)||S.isArrayLiteralExpression(N.parent))?{node:N}:undefined}function doChange(E,k,w){var N=w.node;var j=S.createNode(27);E.replaceNode(k,N,j)}})(E=S.codefix||(S.codefix={}))})(ne||(ne={}));var ne;(function(S){var E;(function(E){var k="Convert export";var w="Convert default export to named export";var N="Convert named export to default export";E.registerRefactor(k,{getAvailableActions:function(E){var j=getInfo(E);if(!j)return S.emptyArray;var q=j.wasDefault?S.Diagnostics.Convert_default_export_to_named_export.message:S.Diagnostics.Convert_named_export_to_default_export.message;var ee=j.wasDefault?w:N;return[{name:k,description:q,actions:[{name:ee,description:q}]}]},getEditsForAction:function(E,k){S.Debug.assert(k===w||k===N,"Unexpected action name");var j=S.textChanges.ChangeTracker.with(E,(function(k){return doChange(E.file,E.program,S.Debug.checkDefined(getInfo(E),"context must have info"),k,E.cancellationToken)}));return{edits:j,renameFilename:undefined,renameLocation:undefined}}});function getInfo(E){var k=E.file;var w=S.getRefactorContextSpan(E);var N=S.getTokenAtPosition(k,w.start);var j=S.getParentNodeInSpan(N,k,w);if(!j||!S.isSourceFile(j.parent)&&!(S.isModuleBlock(j.parent)&&S.isAmbientModule(j.parent.parent))){return undefined}var q=S.isSourceFile(j.parent)?j.parent.symbol:j.parent.parent.symbol;var ee=S.getModifierFlags(j);var te=!!(ee&512);if(!(ee&1)||!te&&q.exports.has("default")){return undefined}switch(j.kind){case 244:case 245:case 246:case 248:case 247:case 249:{var ne=j;return ne.name&&S.isIdentifier(ne.name)?{exportNode:ne,exportName:ne.name,wasDefault:te,exportingModuleSymbol:q}:undefined}case 225:{var ae=j;if(!(ae.declarationList.flags&2)||ae.declarationList.declarations.length!==1){return undefined}var _e=S.first(ae.declarationList.declarations);if(!_e.initializer)return undefined;S.Debug.assert(!te,"Can't have a default flag here");return S.isIdentifier(_e.name)?{exportNode:ae,exportName:_e.name,wasDefault:te,exportingModuleSymbol:q}:undefined}default:return undefined}}function doChange(S,E,k,w,N){changeExport(S,k,w,E.getTypeChecker());changeImports(E,k,w,N)}function changeExport(E,k,w,N){var j=k.wasDefault,q=k.exportNode,ee=k.exportName;if(j){w.delete(E,S.Debug.checkDefined(S.findModifier(q,84),"Should find a default keyword in modifier list"))}else{var te=S.Debug.checkDefined(S.findModifier(q,89),"Should find an export keyword in modifier list");switch(q.kind){case 244:case 245:case 246:w.insertNodeAfter(E,te,S.createToken(84));break;case 225:if(!S.FindAllReferences.Core.isSymbolReferencedInFile(ee,N,E)){w.replaceNode(E,q,S.createExportDefault(S.Debug.checkDefined(S.first(q.declarationList.declarations).initializer,"Initializer was previously known to be present")));break}case 248:case 247:case 249:w.deleteModifier(E,te);w.insertNodeAfter(E,q,S.createExportDefault(S.createIdentifier(ee.text)));break;default:S.Debug.assertNever(q,"Unexpected exportNode kind "+q.kind)}}}function changeImports(E,k,w,N){var j=k.wasDefault,q=k.exportName,ee=k.exportingModuleSymbol;var te=E.getTypeChecker();var ne=S.Debug.checkDefined(te.getSymbolAtLocation(q),"Export name should resolve to a symbol");S.FindAllReferences.Core.eachExportReference(E.getSourceFiles(),te,N,ne,ee,q.text,j,(function(S){var E=S.getSourceFile();if(j){changeDefaultToNamedImport(E,S,w,q.text)}else{changeNamedToDefaultImport(E,S,w)}}))}function changeDefaultToNamedImport(E,k,w,N){var j=k.parent;switch(j.kind){case 194:w.replaceNode(E,k,S.createIdentifier(N));break;case 258:case 263:{var q=j;w.replaceNode(E,q,makeImportSpecifier(N,q.name.text));break}case 255:{var ee=j;S.Debug.assert(ee.name===k,"Import clause name should match provided ref");var q=makeImportSpecifier(N,k.text);var te=ee.namedBindings;if(!te){w.replaceNode(E,k,S.createNamedImports([q]))}else if(te.kind===256){w.deleteRange(E,{pos:k.getStart(E),end:te.getStart(E)});var ne=S.isStringLiteral(ee.parent.moduleSpecifier)?S.quotePreferenceFromString(ee.parent.moduleSpecifier,E):1;var ae=S.makeImport(undefined,[makeImportSpecifier(N,k.text)],ee.parent.moduleSpecifier,ne);w.insertNodeAfter(E,ee.parent,ae)}else{w.delete(E,k);w.insertNodeAtEndOfList(E,te.elements,q)}break}default:S.Debug.failBadSyntaxKind(j)}}function changeNamedToDefaultImport(E,k,w){var N=k.parent;switch(N.kind){case 194:w.replaceNode(E,k,S.createIdentifier("default"));break;case 258:{var j=S.createIdentifier(N.name.text);if(N.parent.elements.length===1){w.replaceNode(E,N.parent,j)}else{w.delete(E,N);w.insertNodeBefore(E,N.parent,j)}break}case 263:{w.replaceNode(E,N,makeExportSpecifier("default",N.name.text));break}default:S.Debug.assertNever(N,"Unexpected parent kind "+N.kind)}}function makeImportSpecifier(E,k){return S.createImportSpecifier(E===k?undefined:S.createIdentifier(E),S.createIdentifier(k))}function makeExportSpecifier(E,k){return S.createExportSpecifier(E===k?undefined:S.createIdentifier(E),S.createIdentifier(k))}})(E=S.refactor||(S.refactor={}))})(ne||(ne={}));var ne;(function(S){var E;(function(E){var k="Convert import";var w="Convert namespace import to named imports";var N="Convert named imports to namespace import";E.registerRefactor(k,{getAvailableActions:function(E){var j=getImportToConvert(E);if(!j)return S.emptyArray;var q=j.kind===256?S.Diagnostics.Convert_namespace_import_to_named_imports.message:S.Diagnostics.Convert_named_imports_to_namespace_import.message;var ee=j.kind===256?w:N;return[{name:k,description:q,actions:[{name:ee,description:q}]}]},getEditsForAction:function(E,k){S.Debug.assert(k===w||k===N,"Unexpected action name");var j=S.textChanges.ChangeTracker.with(E,(function(k){return doChange(E.file,E.program,k,S.Debug.checkDefined(getImportToConvert(E),"Context must provide an import to convert"))}));return{edits:j,renameFilename:undefined,renameLocation:undefined}}});function getImportToConvert(E){var k=E.file;var w=S.getRefactorContextSpan(E);var N=S.getTokenAtPosition(k,w.start);var j=S.getParentNodeInSpan(N,k,w);if(!j||!S.isImportDeclaration(j))return undefined;var q=j.importClause;return q&&q.namedBindings}function doChange(E,k,w,N){var j=k.getTypeChecker();if(N.kind===256){doChangeNamespaceToNamed(E,j,w,N,S.getAllowSyntheticDefaultImports(k.getCompilerOptions()))}else{doChangeNamedToNamespace(E,j,w,N)}}function doChangeNamespaceToNamed(E,k,w,N,j){var q=false;var ee=[];var te=S.createMap();S.FindAllReferences.Core.eachSymbolReferenceInFile(N.name,k,E,(function(E){if(!S.isPropertyAccessExpression(E.parent)){q=true}else{var w=S.cast(E.parent,S.isPropertyAccessExpression);var N=w.name.text;if(k.resolveName(N,E,67108863,true)){te.set(N,true)}S.Debug.assert(w.expression===E,"Parent expression should match id");ee.push(w)}}));var ne=S.createMap();for(var ae=0,_e=ee;ae<_e.length;ae++){var ve=_e[ae];var Ee=ve.name.text;var Te=ne.get(Ee);if(Te===undefined){ne.set(Ee,Te=te.has(Ee)?S.getUniqueName(Ee,E):Ee)}w.replaceNode(E,ve,S.createIdentifier(Te))}var Ce=[];ne.forEach((function(E,k){Ce.push(S.createImportSpecifier(E===k?undefined:S.createIdentifier(k),S.createIdentifier(E)))}));var we=N.parent.parent;if(q&&!j){w.insertNodeAfter(E,we,updateImport(we,undefined,Ce))}else{w.replaceNode(E,we,updateImport(we,q?S.createIdentifier(N.name.text):undefined,Ce))}}function doChangeNamedToNamespace(E,k,w,N){var j=N.parent.parent;var q=j.moduleSpecifier;var ee=q&&S.isStringLiteral(q)?S.codefix.moduleSpecifierToValidIdentifier(q.text,99):"module";var te=N.elements.some((function(w){return S.FindAllReferences.Core.eachSymbolReferenceInFile(w.name,k,E,(function(S){return!!k.resolveName(ee,S,67108863,true)}))||false}));var ne=te?S.getUniqueName(ee,E):ee;var ae=[];var _loop_15=function(N){var j=(N.propertyName||N.name).text;S.FindAllReferences.Core.eachSymbolReferenceInFile(N.name,k,E,(function(k){var q=S.createPropertyAccess(S.createIdentifier(ne),j);if(S.isShorthandPropertyAssignment(k.parent)){w.replaceNode(E,k.parent,S.createPropertyAssignment(k.text,q))}else if(S.isExportSpecifier(k.parent)&&!k.parent.propertyName){if(!ae.some((function(S){return S.name===N.name}))){ae.push(S.createImportSpecifier(N.propertyName&&S.createIdentifier(N.propertyName.text),S.createIdentifier(N.name.text)))}}else{w.replaceNode(E,k,q)}}))};for(var _e=0,ve=N.elements;_e=k.start+k.length){(ee||(ee=[])).push(S.createDiagnosticForNode(E,N.cannotExtractSuper));return true}}else{ne|=j.UsesThis}break}if(S.isFunctionLikeDeclaration(E)||S.isClassLike(E)){switch(E.kind){case 244:case 245:if(S.isSourceFile(E.parent)&&E.parent.externalModuleIndicator===undefined){(ee||(ee=[])).push(S.createDiagnosticForNode(E,N.functionWillNotBeVisibleInTheNewScope))}break}return false}var ve=ae;switch(E.kind){case 227:ae=0;break;case 240:ae=0;break;case 223:if(E.parent&&E.parent.kind===240&&E.parent.finallyBlock===E){ae=4}break;case 278:case 277:ae|=1;break;default:if(S.isIterationStatement(E,false)){ae|=1|2}break}switch(E.kind){case 183:case 104:ne|=j.UsesThis;break;case 238:{var Ee=E.label;(_e||(_e=[])).push(Ee.escapedText);S.forEachChild(E,visit);_e.pop();break}case 234:case 233:{var Ee=E.label;if(Ee){if(!S.contains(_e,Ee.escapedText)){(ee||(ee=[])).push(S.createDiagnosticForNode(E,N.cannotExtractRangeContainingLabeledBreakOrContinueStatementWithTargetOutsideOfTheRange))}}else{if(!(ae&(E.kind===234?1:2))){(ee||(ee=[])).push(S.createDiagnosticForNode(E,N.cannotExtractRangeContainingConditionalBreakOrContinueStatements))}}break}case 206:ne|=j.IsAsyncFunction;break;case 212:ne|=j.IsGenerator;break;case 235:if(ae&4){ne|=j.HasReturn}else{(ee||(ee=[])).push(S.createDiagnosticForNode(E,N.cannotExtractRangeContainingConditionalReturnStatement))}break;default:S.forEachChild(E,visit);break}ae=ve}}}k.getRangeToExtract=getRangeToExtract;function getStatementOrExpressionRange(E){if(S.isStatement(E)){return[E]}else if(S.isExpressionNode(E)){return S.isExpressionStatement(E.parent)?[E.parent]:E}return undefined}function isScope(E){return S.isFunctionLikeDeclaration(E)||S.isSourceFile(E)||S.isModuleBlock(E)||S.isClassLike(E)}function collectEnclosingScopes(E){var k=isReadonlyArray(E.range)?S.first(E.range):E.range;if(E.facts&j.UsesThis){var w=S.getContainingClass(k);if(w){var N=S.findAncestor(k,S.isFunctionLikeDeclaration);return N?[N,w]:[w]}}var q=[];while(true){k=k.parent;if(k.kind===156){k=S.findAncestor(k,(function(E){return S.isFunctionLikeDeclaration(E)})).parent}if(isScope(k)){q.push(k);if(k.kind===290){return q}}}}function getFunctionExtractionAtIndex(E,k,w){var N=getPossibleExtractionsWorker(E,k),j=N.scopes,q=N.readsAndWrites,ee=q.target,te=q.usagesPerScope,ne=q.functionErrorsPerScope,ae=q.exposedVariableDeclarations;S.Debug.assert(!ne[w].length,"The extraction went missing? How?");k.cancellationToken.throwIfCancellationRequested();return extractFunctionInScope(ee,j[w],te[w],ae,E,k)}function getConstantExtractionAtIndex(E,k,w){var N=getPossibleExtractionsWorker(E,k),j=N.scopes,q=N.readsAndWrites,ee=q.target,te=q.usagesPerScope,ne=q.constantErrorsPerScope,ae=q.exposedVariableDeclarations;S.Debug.assert(!ne[w].length,"The extraction went missing? How?");S.Debug.assert(ae.length===0,"Extract constant accepted a range containing a variable declaration?");k.cancellationToken.throwIfCancellationRequested();var _e=S.isExpression(ee)?ee:ee.statements[0].expression;return extractConstantInScope(_e,j[w],te[w],E.facts,k)}function getPossibleExtractions(E,k){var w=getPossibleExtractionsWorker(E,k),N=w.scopes,j=w.readsAndWrites,q=j.functionErrorsPerScope,ee=j.constantErrorsPerScope;var te=N.map((function(E,k){var w=getDescriptionForFunctionInScope(E);var N=getDescriptionForConstantInScope(E);var j=S.isFunctionLikeDeclaration(E)?getDescriptionForFunctionLikeDeclaration(E):S.isClassLike(E)?getDescriptionForClassLikeDeclaration(E):getDescriptionForModuleLikeDeclaration(E);var te;var ne;if(j===1){te=S.formatStringFromArgs(S.getLocaleSpecificMessage(S.Diagnostics.Extract_to_0_in_1_scope),[w,"global"]);ne=S.formatStringFromArgs(S.getLocaleSpecificMessage(S.Diagnostics.Extract_to_0_in_1_scope),[N,"global"])}else if(j===0){te=S.formatStringFromArgs(S.getLocaleSpecificMessage(S.Diagnostics.Extract_to_0_in_1_scope),[w,"module"]);ne=S.formatStringFromArgs(S.getLocaleSpecificMessage(S.Diagnostics.Extract_to_0_in_1_scope),[N,"module"])}else{te=S.formatStringFromArgs(S.getLocaleSpecificMessage(S.Diagnostics.Extract_to_0_in_1),[w,j]);ne=S.formatStringFromArgs(S.getLocaleSpecificMessage(S.Diagnostics.Extract_to_0_in_1),[N,j])}if(k===0&&!S.isClassLike(E)){ne=S.formatStringFromArgs(S.getLocaleSpecificMessage(S.Diagnostics.Extract_to_0_in_enclosing_scope),[N])}return{functionExtraction:{description:te,errors:q[k]},constantExtraction:{description:ne,errors:ee[k]}}}));return te}function getPossibleExtractionsWorker(S,E){var k=E.file;var w=collectEnclosingScopes(S);var N=getEnclosingTextRange(S,k);var j=collectReadsAndWrites(S,w,N,k,E.program.getTypeChecker(),E.cancellationToken);return{scopes:w,readsAndWrites:j}}function getDescriptionForFunctionInScope(E){return S.isFunctionLikeDeclaration(E)?"inner function":S.isClassLike(E)?"method":"function"}function getDescriptionForConstantInScope(E){return S.isClassLike(E)?"readonly field":"constant"}function getDescriptionForFunctionLikeDeclaration(E){switch(E.kind){case 162:return"constructor";case 201:case 244:return E.name?"function '"+E.name.text+"'":S.ANONYMOUS;case 202:return"arrow function";case 161:return"method '"+E.name.getText()+"'";case 163:return"'get "+E.name.getText()+"'";case 164:return"'set "+E.name.getText()+"'";default:throw S.Debug.assertNever(E,"Unexpected scope kind "+E.kind)}}function getDescriptionForClassLikeDeclaration(S){return S.kind===245?S.name?"class '"+S.name.text+"'":"anonymous class declaration":S.name?"class expression '"+S.name.text+"'":"anonymous class expression"}function getDescriptionForModuleLikeDeclaration(S){return S.kind===250?"namespace '"+S.parent.name.getText()+"'":S.externalModuleIndicator?0:1}var q;(function(S){S[S["Module"]=0]="Module";S[S["Global"]=1]="Global"})(q||(q={}));function extractFunctionInScope(E,k,w,N,q,ee){var te=w.usages,ne=w.typeParameterUsages,ae=w.substitutions;var _e=ee.program.getTypeChecker();var ve=S.getEmitScriptTarget(ee.program.getCompilerOptions());var Ee=S.codefix.createImportAdder(ee.file,ee.program,ee.preferences,ee.host);var Te=k.getSourceFile();var Ce=S.getUniqueName(S.isClassLike(k)?"newMethod":"newFunction",Te);var we=S.isInJSFile(k);var Ne=S.createIdentifier(Ce);var Ie;var Fe=[];var Oe=[];var Me;te.forEach((function(E,w){var N;if(!we){var j=_e.getTypeOfSymbolAtLocation(E.symbol,E.node);j=_e.getBaseTypeOfLiteralType(j);N=S.codefix.typeToAutoImportableTypeNode(_e,Ee,j,k,ve,1)}var q=S.createParameter(undefined,undefined,undefined,w,undefined,N);Fe.push(q);if(E.usage===2){(Me||(Me=[])).push(E)}Oe.push(S.createIdentifier(w))}));var Re=S.arrayFrom(ne.values()).map((function(S){return{type:S,declaration:getFirstDeclaration(S)}}));var Le=Re.sort(compareTypesByDeclarationOrder);var Be=Le.length===0?undefined:Le.map((function(S){return S.declaration}));var je=Be!==undefined?Be.map((function(E){return S.createTypeReferenceNode(E.name,undefined)})):undefined;if(S.isExpression(E)&&!we){var ze=_e.getContextualType(E);Ie=_e.typeToTypeNode(ze,k,1)}var Ue=transformFunctionBody(E,N,Me,ae,!!(q.facts&j.HasReturn)),We=Ue.body,$e=Ue.returnValueProperty;S.suppressLeadingAndTrailingTrivia(We);var qe;if(S.isClassLike(k)){var Ve=we?[]:[S.createToken(117)];if(q.facts&j.InStaticRegion){Ve.push(S.createToken(120))}if(q.facts&j.IsAsyncFunction){Ve.push(S.createToken(126))}qe=S.createMethod(undefined,Ve.length?Ve:undefined,q.facts&j.IsGenerator?S.createToken(41):undefined,Ne,undefined,Be,Fe,Ie,We)}else{qe=S.createFunctionDeclaration(undefined,q.facts&j.IsAsyncFunction?[S.createToken(126)]:undefined,q.facts&j.IsGenerator?S.createToken(41):undefined,Ne,Be,Fe,Ie,We)}var He=S.textChanges.ChangeTracker.fromContext(ee);var Ge=(isReadonlyArray(q.range)?S.last(q.range):q.range).end;var Je=getNodeToInsertFunctionBefore(Ge,k);if(Je){He.insertNodeBefore(ee.file,Je,qe,true)}else{He.insertNodeAtEndOfScope(ee.file,k,qe)}Ee.writeFixes(He);var Ke=[];var Qe=getCalledExpression(k,q,Ce);var Xe=S.createCall(Qe,je,Oe);if(q.facts&j.IsGenerator){Xe=S.createYield(S.createToken(41),Xe)}if(q.facts&j.IsAsyncFunction){Xe=S.createAwait(Xe)}if(N.length&&!Me){S.Debug.assert(!$e,"Expected no returnValueProperty");S.Debug.assert(!(q.facts&j.HasReturn),"Expected RangeFacts.HasReturn flag to be unset");if(N.length===1){var Ye=N[0];Ke.push(S.createVariableStatement(undefined,S.createVariableDeclarationList([S.createVariableDeclaration(S.getSynthesizedDeepClone(Ye.name),S.getSynthesizedDeepClone(Ye.type),Xe)],Ye.parent.flags)))}else{var Ze=[];var et=[];var tt=N[0].parent.flags;var rt=false;for(var nt=0,it=N;nt1){return E}w=E;E=E.parent}}function getFirstDeclaration(S){var E;var k=S.symbol;if(k&&k.declarations){for(var w=0,N=k.declarations;w0;if(S.isBlock(E)&&!q&&N.size===0){return{body:S.createBlock(E.statements,true),returnValueProperty:undefined}}var ee;var te=false;var ne=S.createNodeArray(S.isBlock(E)?E.statements.slice(0):[S.isStatement(E)?E:S.createReturn(E)]);if(q||N.size){var ae=S.visitNodes(ne,visitor).slice();if(q&&!j&&S.isStatement(E)){var _e=getPropertyAssignmentsForWritesAndVariableDeclarations(k,w);if(_e.length===1){ae.push(S.createReturn(_e[0].name))}else{ae.push(S.createReturn(S.createObjectLiteral(_e)))}}return{body:S.createBlock(ae,true),returnValueProperty:ee}}else{return{body:S.createBlock(ne,true),returnValueProperty:undefined}}function visitor(E){if(!te&&E.kind===235&&q){var j=getPropertyAssignmentsForWritesAndVariableDeclarations(k,w);if(E.expression){if(!ee){ee="__return"}j.unshift(S.createPropertyAssignment(ee,S.visitNode(E.expression,visitor)))}if(j.length===1){return S.createReturn(j[0].name)}else{return S.createReturn(S.createObjectLiteral(j))}}else{var ne=te;te=te||S.isFunctionLikeDeclaration(E)||S.isClassLike(E);var ae=N.get(S.getNodeId(E).toString());var _e=ae?S.getSynthesizedDeepClone(ae):S.visitEachChild(E,visitor,S.nullTransformationContext);te=ne;return _e}}}function transformConstantInitializer(E,k){return k.size?visitor(E):E;function visitor(E){var w=k.get(S.getNodeId(E).toString());return w?S.getSynthesizedDeepClone(w):S.visitEachChild(E,visitor,S.nullTransformationContext)}}function getStatementsOrClassElements(E){if(S.isFunctionLikeDeclaration(E)){var k=E.body;if(S.isBlock(k)){return k.statements}}else if(S.isModuleBlock(E)||S.isSourceFile(E)){return E.statements}else if(S.isClassLike(E)){return E.members}else{S.assertType(E)}return S.emptyArray}function getNodeToInsertFunctionBefore(E,k){return S.find(getStatementsOrClassElements(k),(function(k){return k.pos>=E&&S.isFunctionLikeDeclaration(k)&&!S.isConstructorDeclaration(k)}))}function getNodeToInsertPropertyBefore(E,k){var w=k.members;S.Debug.assert(w.length>0,"Found no members");var N;var j=true;for(var q=0,ee=w;qE){return N||w[0]}if(j&&!S.isPropertyDeclaration(te)){if(N!==undefined){return te}j=false}N=te}if(N===undefined)return S.Debug.fail();return N}function getNodeToInsertConstantBefore(E,k){S.Debug.assert(!S.isClassLike(k));var w;for(var N=E;N!==k;N=N.parent){if(isScope(N)){w=N}}for(var N=(w||E).parent;;N=N.parent){if(isBlockLike(N)){var j=void 0;for(var q=0,ee=N.statements;qE.pos){break}j=te}if(!j&&S.isCaseClause(N)){S.Debug.assert(S.isSwitchStatement(N.parent.parent),"Grandparent isn't a switch statement");return N.parent.parent}return S.Debug.checkDefined(j,"prevStatement failed to get set")}S.Debug.assert(N!==k,"Didn't encounter a block-like before encountering scope")}}function getPropertyAssignmentsForWritesAndVariableDeclarations(E,k){var w=S.map(E,(function(E){return S.createShorthandPropertyAssignment(E.symbol.name)}));var N=S.map(k,(function(E){return S.createShorthandPropertyAssignment(E.symbol.name)}));return w===undefined?N:N===undefined?w:w.concat(N)}function isReadonlyArray(E){return S.isArray(E)}function getEnclosingTextRange(E,k){return isReadonlyArray(E.range)?{pos:S.first(E.range).getStart(k),end:S.last(E.range).getEnd()}:E.range}var ee;(function(S){S[S["Read"]=1]="Read";S[S["Write"]=2]="Write"})(ee||(ee={}));function collectReadsAndWrites(E,k,w,q,ee,te){var ne=S.createMap();var ae=[];var _e=[];var ve=[];var Ee=[];var Te=[];var Ce=S.createMap();var we=[];var Ne;var Ie=!isReadonlyArray(E.range)?E.range:E.range.length===1&&S.isExpressionStatement(E.range[0])?E.range[0].expression:undefined;var Fe;if(Ie===undefined){var Oe=E.range;var Me=S.first(Oe).getStart();var Re=S.last(Oe).end;Fe=S.createFileDiagnostic(q,Me,Re-Me,N.expressionExpected)}else if(ee.getTypeAtLocation(Ie).flags&(16384|131072)){Fe=S.createDiagnosticForNode(Ie,N.uselessConstantType)}for(var Le=0,Be=k;Le0){var He=S.createMap();var Ge=0;for(var Je=$e;Je!==undefined&&Ge0&&(w.usages.size>0||w.typeParameterUsages.size>0)){var j=isReadonlyArray(E.range)?E.range[0]:E.range;Ee[k].push(S.createDiagnosticForNode(j,N.cannotAccessVariablesFromNestedScopes))}var q=false;var ee;ae[k].usages.forEach((function(E){if(E.usage===2){q=true;if(E.symbol.flags&106500&&E.symbol.valueDeclaration&&S.hasModifier(E.symbol.valueDeclaration,64)){ee=E.symbol.valueDeclaration}}}));S.Debug.assert(isReadonlyArray(E.range)||we.length===0,"No variable declarations expected if something was extracted");if(q&&!isReadonlyArray(E.range)){var te=S.createDiagnosticForNode(E.range,N.cannotWriteInExpression);ve[k].push(te);Ee[k].push(te)}else if(ee&&k>0){var te=S.createDiagnosticForNode(ee,N.cannotExtractReadonlyPropertyInitializerOutsideConstructor);ve[k].push(te);Ee[k].push(te)}else if(Ne){var te=S.createDiagnosticForNode(Ne,N.cannotExtractExportedEntity);ve[k].push(te);Ee[k].push(te)}};for(var et=0;et=ne){return we}Ue.set(we,ne);if(Ne){for(var Ie=0,Fe=ae;Ie=0){return}var w=S.isIdentifier(k)?getSymbolReferencedByIdentifier(k):ee.getSymbolAtLocation(k);if(w){var N=S.find(Te,(function(S){return S.symbol===w}));if(N){if(S.isVariableDeclaration(N)){var j=N.symbol.id.toString();if(!Ce.has(j)){we.push(N);Ce.set(j,true)}}else{Ne=Ne||N}}}S.forEachChild(k,checkForUsedDeclarations)}function getSymbolReferencedByIdentifier(E){return E.parent&&S.isShorthandPropertyAssignment(E.parent)&&E.parent.name===E?ee.getShorthandAssignmentValueSymbol(E.parent):ee.getSymbolAtLocation(E)}function tryReplaceWithQualifiedNameOrPropertyAccess(E,k,w){if(!E){return undefined}var N=E.getDeclarations();if(N&&N.some((function(S){return S.parent===k}))){return S.createIdentifier(E.name)}var j=tryReplaceWithQualifiedNameOrPropertyAccess(E.parent,k,w);if(j===undefined){return undefined}return w?S.createQualifiedName(j,S.createIdentifier(E.name)):S.createPropertyAccess(j,E.name)}}function isExtractableExpression(S){var E=S.parent;switch(E.kind){case 284:return false}switch(S.kind){case 10:return E.kind!==254&&E.kind!==258;case 213:case 189:case 191:return false;case 75:return E.kind!==191&&E.kind!==258&&E.kind!==263}return true}function isBlockLike(S){switch(S.kind){case 223:case 290:case 250:case 277:return true;default:return false}}})(k=E.extractSymbol||(E.extractSymbol={}))})(E=S.refactor||(S.refactor={}))})(ne||(ne={}));var ne;(function(S){var E;(function(E){var k="Extract type";var w="Extract to type alias";var N="Extract to interface";var j="Extract to typedef";E.registerRefactor(k,{getAvailableActions:function(E){var q=getRangeToExtract(E);if(!q)return S.emptyArray;return[{name:k,description:S.getLocaleSpecificMessage(S.Diagnostics.Extract_type),actions:q.isJS?[{name:j,description:S.getLocaleSpecificMessage(S.Diagnostics.Extract_to_typedef)}]:S.append([{name:w,description:S.getLocaleSpecificMessage(S.Diagnostics.Extract_to_type_alias)}],q.typeElements&&{name:N,description:S.getLocaleSpecificMessage(S.Diagnostics.Extract_to_interface)})}]},getEditsForAction:function(E,k){var q=E.file;var ee=S.Debug.checkDefined(getRangeToExtract(E),"Expected to find a range to extract");var te=S.getUniqueName("NewType",q);var ne=S.textChanges.ChangeTracker.with(E,(function(E){switch(k){case w:S.Debug.assert(!ee.isJS,"Invalid actionName/JS combo");return doTypeAliasChange(E,q,te,ee);case j:S.Debug.assert(ee.isJS,"Invalid actionName/JS combo");return doTypedefChange(E,q,te,ee);case N:S.Debug.assert(!ee.isJS&&!!ee.typeElements,"Invalid actionName/JS combo");return doInterfaceChange(E,q,te,ee);default:S.Debug.fail("Unexpected action name")}}));var ae=q.fileName;var _e=S.getRenameLocation(ne,ae,te,false);return{edits:ne,renameFilename:ae,renameLocation:_e}}});function getRangeToExtract(E){var k=E.file,w=E.startPosition;var N=S.isSourceFileJS(k);var j=S.getTokenAtPosition(k,w);var q=S.createTextRangeFromSpan(S.getRefactorContextSpan(E));var ee=S.findAncestor(j,(function(S){return S.parent&&rangeContainsSkipTrivia(q,S,k)&&!rangeContainsSkipTrivia(q,S.parent,k)}));if(!ee||!S.isTypeNode(ee))return undefined;var te=E.program.getTypeChecker();var ne=S.Debug.checkDefined(S.findAncestor(ee,S.isStatement),"Should find a statement");var ae=collectTypeParameters(te,ee,ne,k);if(!ae)return undefined;var _e=flattenTypeLiteralNodeReference(te,ee);return{isJS:N,selection:ee,firstStatement:ne,typeParameters:ae,typeElements:_e}}function flattenTypeLiteralNodeReference(E,k){if(!k)return undefined;if(S.isIntersectionTypeNode(k)){var w=[];var N=S.createMap();for(var j=0,q=k.types;jw.pos}));if(j===-1)return undefined;var q=N[j];if(S.isNamedDeclaration(q)&&q.name&&S.rangeContainsRange(q.name,w)){return{toMove:[N[j]],afterLast:N[j+1]}}if(w.pos>q.getStart(k))return undefined;var ee=S.findIndex(N,(function(S){return S.end>w.end}),j);if(ee!==-1&&(ee===0||N[ee].getStart(k)=j&&S.every(E,(function(S){return isValidParameterDeclaration(S,k)}))}function isValidParameterDeclaration(E,k){if(S.isRestParameter(E)){var w=k.getTypeAtLocation(E);if(!k.isArrayType(w)&&!k.isTupleType(w))return false}return!E.modifiers&&!E.decorators&&S.isIdentifier(E.name)}function isValidVariableDeclaration(E){return S.isVariableDeclaration(E)&&S.isVarConst(E)&&S.isIdentifier(E.name)&&!E.type}function hasThisParameter(E){return E.length>0&&S.isThis(E[0].name)}function getRefactorableParametersLength(S){if(hasThisParameter(S)){return S.length-1}return S.length}function getRefactorableParameters(E){if(hasThisParameter(E)){E=S.createNodeArray(E.slice(1),E.hasTrailingComma)}return E}function createPropertyOrShorthandAssignment(E,k){if(S.isIdentifier(k)&&S.getTextOfIdentifierOrLiteral(k)===E){return S.createShorthandPropertyAssignment(E)}return S.createPropertyAssignment(E,k)}function createNewArgument(E,k){var w=getRefactorableParameters(E.parameters);var N=S.isRestParameter(S.last(w));var j=N?k.slice(0,w.length-1):k;var q=S.map(j,(function(E,k){var N=getParameterName(w[k]);var j=createPropertyOrShorthandAssignment(N,E);S.suppressLeadingAndTrailingTrivia(j.name);if(S.isPropertyAssignment(j))S.suppressLeadingAndTrailingTrivia(j.initializer);S.copyComments(E,j);return j}));if(N&&k.length>=w.length){var ee=k.slice(w.length-1);var te=S.createPropertyAssignment(getParameterName(S.last(w)),S.createArrayLiteral(ee));q.push(te)}var ne=S.createObjectLiteral(q,false);return ne}function createNewParameters(E,k,w){var N=k.getTypeChecker();var j=getRefactorableParameters(E.parameters);var q=S.map(j,createBindingElementFromParameterDeclaration);var ee=S.createObjectBindingPattern(q);var te=createParameterTypeNode(j);var ne;if(S.every(j,isOptionalParameter)){ne=S.createObjectLiteral()}var ae=S.createParameter(undefined,undefined,undefined,ee,undefined,te,ne);if(hasThisParameter(E.parameters)){var _e=E.parameters[0];var ve=S.createParameter(undefined,undefined,undefined,_e.name,undefined,_e.type);S.suppressLeadingAndTrailingTrivia(ve.name);S.copyComments(_e.name,ve.name);if(_e.type){S.suppressLeadingAndTrailingTrivia(ve.type);S.copyComments(_e.type,ve.type)}return S.createNodeArray([ve,ae])}return S.createNodeArray([ae]);function createBindingElementFromParameterDeclaration(E){var k=S.createBindingElement(undefined,undefined,getParameterName(E),S.isRestParameter(E)&&isOptionalParameter(E)?S.createArrayLiteral():E.initializer);S.suppressLeadingAndTrailingTrivia(k);if(E.initializer&&k.initializer){S.copyComments(E.initializer,k.initializer)}return k}function createParameterTypeNode(E){var k=S.map(E,createPropertySignatureFromParameterDeclaration);var w=S.addEmitFlags(S.createTypeLiteralNode(k),1);return w}function createPropertySignatureFromParameterDeclaration(E){var k=E.type;if(!k&&(E.initializer||S.isRestParameter(E))){k=getTypeNode(E)}var w=S.createPropertySignature(undefined,getParameterName(E),isOptionalParameter(E)?S.createToken(57):E.questionToken,k,undefined);S.suppressLeadingAndTrailingTrivia(w);S.copyComments(E.name,w.name);if(E.type&&w.type){S.copyComments(E.type,w.type)}return w}function getTypeNode(E){var j=N.getTypeAtLocation(E);return S.getTypeNodeIfAccessible(j,E,k,w)}function isOptionalParameter(E){if(S.isRestParameter(E)){var k=N.getTypeAtLocation(E);return!N.isTupleType(k)}return N.isOptionalParameter(E)}}function getParameterName(E){return S.getTextOfIdentifierOrLiteral(E.name)}function getClassNames(E){switch(E.parent.kind){case 245:var k=E.parent;if(k.name)return[k.name];var w=S.Debug.checkDefined(S.findModifier(k,84),"Nameless class declaration should be a default export");return[w];case 214:var N=E.parent;var j=E.parent.parent;var q=N.name;if(q)return[q,j.name];return[j.name]}}function getFunctionNames(E){switch(E.kind){case 244:if(E.name)return[E.name];var k=S.Debug.checkDefined(S.findModifier(E,84),"Nameless function declaration should be a default export");return[k];case 161:return[E.name];case 162:var w=S.Debug.checkDefined(S.findChildOfKind(E,129,E.getSourceFile()),"Constructor declaration should have constructor keyword");if(E.parent.kind===214){var N=E.parent.parent;return[N.name,w]}return[w];case 202:return[E.parent.name];case 201:if(E.name)return[E.name,E.parent.name];return[E.parent.name];default:return S.Debug.assertNever(E,"Unexpected function declaration kind "+E.kind)}}})(k=E.convertParamsToDestructuredObject||(E.convertParamsToDestructuredObject={}))})(E=S.refactor||(S.refactor={}))})(ne||(ne={}));var ne;(function(S){var E;(function(E){var k;(function(k){var w="Convert to template string";var N=S.getLocaleSpecificMessage(S.Diagnostics.Convert_to_template_string);E.registerRefactor(w,{getEditsForAction:getEditsForAction,getAvailableActions:getAvailableActions});function getAvailableActions(E){var k=E.file,j=E.startPosition;var q=getNodeOrParentOfParentheses(k,j);var ee=getParentBinaryExpression(q);var te={name:w,description:N,actions:[]};if(S.isBinaryExpression(ee)&&isStringConcatenationValid(ee)){te.actions.push({name:w,description:N});return[te]}return S.emptyArray}function getNodeOrParentOfParentheses(E,k){var w=S.getTokenAtPosition(E,k);var N=getParentBinaryExpression(w);var j=!isStringConcatenationValid(N);if(j&&S.isParenthesizedExpression(N.parent)&&S.isBinaryExpression(N.parent.parent)){return N.parent.parent}return w}function getEditsForAction(E,k){var w=E.file,j=E.startPosition;var q=getNodeOrParentOfParentheses(w,j);switch(k){case N:return{edits:getEditsForToTemplateLiteral(E,q)};default:return S.Debug.fail("invalid action")}}function getEditsForToTemplateLiteral(E,k){var w=getParentBinaryExpression(k);var N=E.file;var j=nodesToTemplate(treeToArray(w),N);var q=S.getTrailingCommentRanges(N.text,w.end);if(q){var ee=q[q.length-1];var te={pos:q[0].pos,end:ee.end};return S.textChanges.ChangeTracker.with(E,(function(S){S.deleteRange(N,te);S.replaceNode(N,w,j)}))}else{return S.textChanges.ChangeTracker.with(E,(function(S){return S.replaceNode(N,w,j)}))}}function isNotEqualsOperator(S){return S.operatorToken.kind!==62}function getParentBinaryExpression(E){while(S.isBinaryExpression(E.parent)&&isNotEqualsOperator(E.parent)){E=E.parent}return E}function isStringConcatenationValid(S){var E=treeToArray(S),k=E.containsString,w=E.areOperatorsValid;return k&&w}function treeToArray(E){if(S.isBinaryExpression(E)){var k=treeToArray(E.left),w=k.nodes,N=k.operators,j=k.containsString,q=k.areOperatorsValid;if(!j&&!S.isStringLiteral(E.right)){return{nodes:[E],operators:[],containsString:false,areOperatorsValid:true}}var ee=E.operatorToken.kind===39;var te=q&ⅇw.push(E.right);N.push(E.operatorToken);return{nodes:w,operators:N,containsString:true,areOperatorsValid:te}}return{nodes:[E],operators:[],containsString:S.isStringLiteral(E),areOperatorsValid:true}}var copyTrailingOperatorComments=function(E,k){return function(w,N){if(w0){var q=N.shift();S.copyTrailingComments(E[q],j,k,3,false);w(q,j)}}};function concatConsecutiveString(E,k){var w="";var N=[];while(E323}));return w.kind<153?w:w.getFirstToken(E)};NodeObject.prototype.getLastToken=function(E){this.assertHasRealPosition();var k=this.getChildren(E);var w=S.lastOrUndefined(k);if(!w){return undefined}return w.kind<153?w:w.getLastToken(E)};NodeObject.prototype.forEachChild=function(E,k){return S.forEachChild(this,E,k)};return NodeObject}();function createChildren(E,k){if(!S.isNodeKind(E.kind)){return S.emptyArray}var w=[];if(S.isJSDocCommentContainingNode(E)){E.forEachChild((function(S){w.push(S)}));return w}S.scanner.setText((k||E.getSourceFile()).text);var N=E.pos;var processNode=function(S){addSyntheticNodes(w,N,S.pos,E);w.push(S);N=S.end};var processNodes=function(S){addSyntheticNodes(w,N,S.pos,E);w.push(createSyntaxList(S,E));N=S.end};S.forEach(E.jsDoc,processNode);N=E.pos;E.forEachChild(processNode,processNodes);addSyntheticNodes(w,N,E.end,E);S.scanner.setText(undefined);return w}function addSyntheticNodes(E,k,w,N){S.scanner.setTextPos(k);while(k=k.length){w=this.getEnd()}if(!w){w=k[E+1]-1}var N=this.getFullText();return N[w]==="\n"&&N[w-1]==="\r"?w-1:w};SourceFileObject.prototype.getNamedDeclarations=function(){if(!this.namedDeclarations){this.namedDeclarations=this.computeNamedDeclarations()}return this.namedDeclarations};SourceFileObject.prototype.computeNamedDeclarations=function(){var E=S.createMultiMap();this.forEachChild(visit);return E;function addDeclaration(S){var k=getDeclarationName(S);if(k){E.add(k,S)}}function getDeclarations(S){var k=E.get(S);if(!k){E.set(S,k=[])}return k}function getDeclarationName(E){var k=S.getNonAssignedNameOfDeclaration(E);return k&&(S.isComputedPropertyName(k)&&S.isPropertyAccessExpression(k.expression)?k.expression.name.text:S.isPropertyName(k)?S.getNameFromPropertyName(k):undefined)}function visit(E){switch(E.kind){case 244:case 201:case 161:case 160:var k=E;var w=getDeclarationName(k);if(w){var N=getDeclarations(w);var j=S.lastOrUndefined(N);if(j&&k.parent===j.parent&&k.symbol===j.symbol){if(k.body&&!j.body){N[N.length-1]=k}}else{N.push(k)}}S.forEachChild(E,visit);break;case 245:case 214:case 246:case 247:case 248:case 249:case 253:case 263:case 258:case 255:case 256:case 163:case 164:case 173:addDeclaration(E);S.forEachChild(E,visit);break;case 156:if(!S.hasModifier(E,92)){break}case 242:case 191:{var q=E;if(S.isBindingPattern(q.name)){S.forEachChild(q.name,visit);break}if(q.initializer){visit(q.initializer)}}case 284:case 159:case 158:addDeclaration(E);break;case 260:var ee=E;if(ee.exportClause){if(S.isNamedExports(ee.exportClause)){S.forEach(ee.exportClause.elements,visit)}else{visit(ee.exportClause.name)}}break;case 254:var te=E.importClause;if(te){if(te.name){addDeclaration(te.name)}if(te.namedBindings){if(te.namedBindings.kind===256){addDeclaration(te.namedBindings)}else{S.forEach(te.namedBindings.elements,visit)}}}break;case 209:if(S.getAssignmentDeclarationKind(E)!==0){addDeclaration(E)}default:S.forEachChild(E,visit)}}};return SourceFileObject}(E);var Te=function(){function SourceMapSourceObject(S,E,k){this.fileName=S;this.text=E;this.skipTrivia=k}SourceMapSourceObject.prototype.getLineAndCharacterOfPosition=function(E){return S.getLineAndCharacterOfPosition(this,E)};return SourceMapSourceObject}();function getServicesObjectAllocator(){return{getNodeConstructor:function(){return E},getTokenConstructor:function(){return ee},getIdentifierConstructor:function(){return ne},getPrivateIdentifierConstructor:function(){return ae},getSourceFileConstructor:function(){return Ee},getSymbolConstructor:function(){return q},getTypeConstructor:function(){return _e},getSignatureConstructor:function(){return ve},getSourceMapSourceConstructor:function(){return Te}}}function toEditorSettings(E){var k=true;for(var w in E){if(S.hasProperty(E,w)&&!isCamelCase(w)){k=false;break}}if(k){return E}var N={};for(var w in E){if(S.hasProperty(E,w)){var j=isCamelCase(w)?w:w.charAt(0).toLowerCase()+w.substr(1);N[j]=E[w]}}return N}S.toEditorSettings=toEditorSettings;function isCamelCase(S){return!S.length||S.charAt(0)===S.charAt(0).toLowerCase()}function displayPartsToString(E){if(E){return S.map(E,(function(S){return S.text})).join("")}return""}S.displayPartsToString=displayPartsToString;function getDefaultCompilerOptions(){return{target:1,jsx:1}}S.getDefaultCompilerOptions=getDefaultCompilerOptions;function getSupportedCodeFixes(){return S.codefix.getSupportedErrorCodes()}S.getSupportedCodeFixes=getSupportedCodeFixes;var Ce=function(){function HostCache(E,k){this.host=E;this.currentDirectory=E.getCurrentDirectory();this.fileNameToEntry=S.createMap();var w=E.getScriptFileNames();for(var N=0,j=w;N=this.throttleWaitMilliseconds){this.lastCancellationCheckTime=E;return this.hostCancellationToken.isCancellationRequested()}return false};ThrottledCancellationToken.prototype.throwIfCancellationRequested=function(){if(this.isCancellationRequested()){throw new S.OperationCanceledException}};return ThrottledCancellationToken}();S.ThrottledCancellationToken=Ie;function createLanguageService(E,k,j){var q;if(k===void 0){k=S.createDocumentRegistry(E.useCaseSensitiveFileNames&&E.useCaseSensitiveFileNames(),E.getCurrentDirectory())}if(j===void 0){j=false}var ee=new we(E);var te;var ne;var ae=0;var _e=new Ne(E.getCancellationToken&&E.getCancellationToken());var ve=E.getCurrentDirectory();if(!S.localizedDiagnosticMessages&&E.getLocalizedDiagnosticMessages){S.setLocalizedDiagnosticMessages(E.getLocalizedDiagnosticMessages())}function log(S){if(E.log){E.log(S)}}var Ee=S.hostUsesCaseSensitiveFileNames(E);var Te=S.createGetCanonicalFileName(Ee);var Ie=S.getSourceMapper({useCaseSensitiveFileNames:function(){return Ee},getCurrentDirectory:function(){return ve},getProgram:getProgram,fileExists:S.maybeBind(E,E.fileExists),readFile:S.maybeBind(E,E.readFile),getDocumentPositionMapper:S.maybeBind(E,E.getDocumentPositionMapper),getSourceFileLike:S.maybeBind(E,E.getSourceFileLike),log:log});function getValidSourceFile(S){var E=te.getSourceFile(S);if(!E){var k=new Error("Could not find source file: '"+S+"'.");k.ProgramFiles=te.getSourceFiles().map((function(S){return S.fileName}));throw k}return E}function synchronizeHostData(){var w;S.Debug.assert(!j);if(E.getProjectVersion){var N=E.getProjectVersion();if(N){if(ne===N&&!E.hasChangedAutomaticTypeDirectiveNames){return}ne=N}}var q=E.getTypeRootsVersion?E.getTypeRootsVersion():0;if(ae!==q){log("TypeRoots version has changed; provide new program");te=undefined;ae=q}var ee=new Ce(E,Te);var we=ee.getRootFileNames();var Ne=E.hasInvalidatedResolution||S.returnFalse;var Fe=ee.getProjectReferences();if(S.isProgramUptoDate(te,we,ee.compilationSettings(),(function(S,k){return E.getScriptVersion(k)}),fileExists,Ne,!!E.hasChangedAutomaticTypeDirectiveNames,Fe)){return}var Oe=ee.compilationSettings();var Me={getSourceFile:getOrCreateSourceFile,getSourceFileByPath:getOrCreateSourceFileByPath,getCancellationToken:function(){return _e},getCanonicalFileName:Te,useCaseSensitiveFileNames:function(){return Ee},getNewLine:function(){return S.getNewLineCharacter(Oe,(function(){return S.getNewLineOrDefaultFromHost(E)}))},getDefaultLibFileName:function(S){return E.getDefaultLibFileName(S)},writeFile:S.noop,getCurrentDirectory:function(){return ve},fileExists:fileExists,readFile:readFile,realpath:E.realpath&&function(S){return E.realpath(S)},directoryExists:function(k){return S.directoryProbablyExists(k,E)},getDirectories:function(S){return E.getDirectories?E.getDirectories(S):[]},readDirectory:function(k,w,N,j,q){S.Debug.checkDefined(E.readDirectory,"'LanguageServiceHost.readDirectory' must be implemented to correctly process 'projectReferences'");return E.readDirectory(k,w,N,j,q)},onReleaseOldSourceFile:onReleaseOldSourceFile,hasInvalidatedResolution:Ne,hasChangedAutomaticTypeDirectiveNames:E.hasChangedAutomaticTypeDirectiveNames};if(E.trace){Me.trace=function(S){return E.trace(S)}}if(E.resolveModuleNames){Me.resolveModuleNames=function(){var S=[];for(var k=0;k"}}}function isUnclosedTag(E){var k=E.openingElement,w=E.closingElement,N=E.parent;return!S.tagNamesAreEquivalent(k.tagName,w.tagName)||S.isJsxElement(N)&&S.tagNamesAreEquivalent(k.tagName,N.openingElement.tagName)&&isUnclosedTag(N)}function getSpanOfEnclosingComment(E,k,w){var N=ee.getCurrentSourceFile(E);var j=S.formatting.getRangeOfEnclosingComment(N,k);return j&&(!w||j.kind===3)?S.createTextSpanFromRange(j):undefined}function getTodoComments(E,k){synchronizeHostData();var w=getValidSourceFile(E);_e.throwIfCancellationRequested();var N=w.text;var j=[];if(k.length>0&&!isNodeModulesFile(w.fileName)){var q=getTodoCommentsRegExp();var ee=void 0;while(ee=q.exec(N)){_e.throwIfCancellationRequested();var te=3;S.Debug.assert(ee.length===k.length+te);var ne=ee[1];var ae=ee.index+ne.length;if(!S.isInComment(w,ae)){continue}var ve=void 0;for(var Ee=0;Ee=97&&S<=122||S>=65&&S<=90||S>=48&&S<=57}function isNodeModulesFile(E){return S.stringContains(E,"/node_modules/")}}function getRenameInfo(E,k,w){synchronizeHostData();return S.Rename.getRenameInfo(te,getValidSourceFile(E),k,w)}function getRefactorContext(k,w,N,j){var q=typeof w==="number"?[w,undefined]:[w.pos,w.end],ee=q[0],te=q[1];return{file:k,startPosition:ee,endPosition:te,program:getProgram(),host:E,formatContext:S.formatting.getFormatContext(j,E),cancellationToken:_e,preferences:N}}function getSmartSelectionRange(E,k){return S.SmartSelectionRange.getSmartSelectionRange(k,ee.getCurrentSourceFile(E))}function getApplicableRefactors(E,k,w){if(w===void 0){w=S.emptyOptions}synchronizeHostData();var N=getValidSourceFile(E);return S.refactor.getApplicableRefactors(getRefactorContext(N,k,w))}function getEditsForRefactor(E,k,w,N,j,q){if(q===void 0){q=S.emptyOptions}synchronizeHostData();var ee=getValidSourceFile(E);return S.refactor.getEditsForRefactor(getRefactorContext(ee,w,q,k),N,j)}function prepareCallHierarchy(E,k){synchronizeHostData();var w=S.CallHierarchy.resolveCallHierarchyDeclaration(te,S.getTouchingPropertyName(getValidSourceFile(E),k));return w&&S.mapOneOrMany(w,(function(E){return S.CallHierarchy.createCallHierarchyItem(te,E)}))}function provideCallHierarchyIncomingCalls(E,k){synchronizeHostData();var w=getValidSourceFile(E);var N=S.firstOrOnly(S.CallHierarchy.resolveCallHierarchyDeclaration(te,k===0?w:S.getTouchingPropertyName(w,k)));return N?S.CallHierarchy.getIncomingCalls(te,N,_e):[]}function provideCallHierarchyOutgoingCalls(E,k){synchronizeHostData();var w=getValidSourceFile(E);var N=S.firstOrOnly(S.CallHierarchy.resolveCallHierarchyDeclaration(te,k===0?w:S.getTouchingPropertyName(w,k)));return N?S.CallHierarchy.getOutgoingCalls(te,N):[]}return{dispose:dispose,cleanupSemanticCache:cleanupSemanticCache,getSyntacticDiagnostics:getSyntacticDiagnostics,getSemanticDiagnostics:getSemanticDiagnostics,getSuggestionDiagnostics:getSuggestionDiagnostics,getCompilerOptionsDiagnostics:getCompilerOptionsDiagnostics,getSyntacticClassifications:getSyntacticClassifications,getSemanticClassifications:getSemanticClassifications,getEncodedSyntacticClassifications:getEncodedSyntacticClassifications,getEncodedSemanticClassifications:getEncodedSemanticClassifications,getCompletionsAtPosition:getCompletionsAtPosition,getCompletionEntryDetails:getCompletionEntryDetails,getCompletionEntrySymbol:getCompletionEntrySymbol,getSignatureHelpItems:getSignatureHelpItems,getQuickInfoAtPosition:getQuickInfoAtPosition,getDefinitionAtPosition:getDefinitionAtPosition,getDefinitionAndBoundSpan:getDefinitionAndBoundSpan,getImplementationAtPosition:getImplementationAtPosition,getTypeDefinitionAtPosition:getTypeDefinitionAtPosition,getReferencesAtPosition:getReferencesAtPosition,findReferences:findReferences,getOccurrencesAtPosition:getOccurrencesAtPosition,getDocumentHighlights:getDocumentHighlights,getNameOrDottedNameSpan:getNameOrDottedNameSpan,getBreakpointStatementAtPosition:getBreakpointStatementAtPosition,getNavigateToItems:getNavigateToItems,getRenameInfo:getRenameInfo,getSmartSelectionRange:getSmartSelectionRange,findRenameLocations:findRenameLocations,getNavigationBarItems:getNavigationBarItems,getNavigationTree:getNavigationTree,getOutliningSpans:getOutliningSpans,getTodoComments:getTodoComments,getBraceMatchingAtPosition:getBraceMatchingAtPosition,getIndentationAtPosition:getIndentationAtPosition,getFormattingEditsForRange:getFormattingEditsForRange,getFormattingEditsForDocument:getFormattingEditsForDocument,getFormattingEditsAfterKeystroke:getFormattingEditsAfterKeystroke,getDocCommentTemplateAtPosition:getDocCommentTemplateAtPosition,isValidBraceCompletionAtPosition:isValidBraceCompletionAtPosition,getJsxClosingTagAtPosition:getJsxClosingTagAtPosition,getSpanOfEnclosingComment:getSpanOfEnclosingComment,getCodeFixesAtPosition:getCodeFixesAtPosition,getCombinedCodeFix:getCombinedCodeFix,applyCodeActionCommand:applyCodeActionCommand,organizeImports:organizeImports,getEditsForFileRename:getEditsForFileRename,getEmitOutput:getEmitOutput,getNonBoundSourceFile:getNonBoundSourceFile,getProgram:getProgram,getApplicableRefactors:getApplicableRefactors,getEditsForRefactor:getEditsForRefactor,toLineColumnOffset:Ie.toLineColumnOffset,getSourceMapper:function(){return Ie},clearSourceMapperCache:function(){return Ie.clearCache()},prepareCallHierarchy:prepareCallHierarchy,provideCallHierarchyIncomingCalls:provideCallHierarchyIncomingCalls,provideCallHierarchyOutgoingCalls:provideCallHierarchyOutgoingCalls}}S.createLanguageService=createLanguageService;function getNameTable(S){if(!S.nameTable){initializeNameTable(S)}return S.nameTable}S.getNameTable=getNameTable;function initializeNameTable(E){var k=E.nameTable=S.createUnderscoreEscapedMap();E.forEachChild((function walk(E){if(S.isIdentifier(E)&&!S.isTagName(E)&&E.escapedText||S.isStringOrNumericLiteralLike(E)&&literalIsName(E)){var w=S.getEscapedTextOfIdentifierOrLiteral(E);k.set(w,k.get(w)===undefined?E.pos:-1)}else if(S.isPrivateIdentifier(E)){var w=E.escapedText;k.set(w,k.get(w)===undefined?E.pos:-1)}S.forEachChild(E,walk);if(S.hasJSDocNodes(E)){for(var N=0,j=E.jsDoc;NN){var j=S.findPrecedingToken(w.pos,E);if(!j||E.getLineAndCharacterOfPosition(j.getEnd()).line!==N){return undefined}w=j}if(w.flags&8388608){return undefined}return spanInNode(w);function textSpan(k,w){var N=k.decorators?S.skipTrivia(E.text,k.decorators.end):k.getStart(E);return S.createTextSpanFromBounds(N,(w||k).getEnd())}function textSpanEndingAtNextToken(k,w){return textSpan(k,S.findNextToken(w,w.parent,E))}function spanInNodeIfStartsOnSameLine(S,k){if(S&&N===E.getLineAndCharacterOfPosition(S.getStart(E)).line){return spanInNode(S)}return spanInNode(k)}function spanInNodeArray(k){return S.createTextSpanFromBounds(S.skipTrivia(E.text,k.pos),k.end)}function spanInPreviousNode(k){return spanInNode(S.findPrecedingToken(k.pos,E))}function spanInNextNode(k){return spanInNode(S.findNextToken(k,k.parent,E))}function spanInNode(k){if(k){var w=k.parent;switch(k.kind){case 225:return spanInVariableDeclaration(k.declarationList.declarations[0]);case 242:case 159:case 158:return spanInVariableDeclaration(k);case 156:return spanInParameterDeclaration(k);case 244:case 161:case 160:case 163:case 164:case 162:case 201:case 202:return spanInFunctionDeclaration(k);case 223:if(S.isFunctionBlock(k)){return spanInFunctionBlock(k)}case 250:return spanInBlock(k);case 280:return spanInBlock(k.block);case 226:return textSpan(k.expression);case 235:return textSpan(k.getChildAt(0),k.expression);case 229:return textSpanEndingAtNextToken(k,k.expression);case 228:return spanInNode(k.statement);case 241:return textSpan(k.getChildAt(0));case 227:return textSpanEndingAtNextToken(k,k.expression);case 238:return spanInNode(k.statement);case 234:case 233:return textSpan(k.getChildAt(0),k.label);case 230:return spanInForStatement(k);case 231:return textSpanEndingAtNextToken(k,k.expression);case 232:return spanInInitializerOfForLike(k);case 237:return textSpanEndingAtNextToken(k,k.expression);case 277:case 278:return spanInNode(k.statements[0]);case 240:return spanInBlock(k.tryBlock);case 239:return textSpan(k,k.expression);case 259:return textSpan(k,k.expression);case 253:return textSpan(k,k.moduleReference);case 254:return textSpan(k,k.moduleSpecifier);case 260:return textSpan(k,k.moduleSpecifier);case 249:if(S.getModuleInstanceState(k)!==1){return undefined}case 245:case 248:case 284:case 191:return textSpan(k);case 236:return spanInNode(k.statement);case 157:return spanInNodeArray(w.decorators);case 189:case 190:return spanInBindingPattern(k);case 246:case 247:return undefined;case 26:case 1:return spanInNodeIfStartsOnSameLine(S.findPrecedingToken(k.pos,E));case 27:return spanInPreviousNode(k);case 18:return spanInOpenBraceToken(k);case 19:return spanInCloseBraceToken(k);case 23:return spanInCloseBracketToken(k);case 20:return spanInOpenParenToken(k);case 21:return spanInCloseParenToken(k);case 58:return spanInColonToken(k);case 31:case 29:return spanInGreaterThanOrLessThanToken(k);case 111:return spanInWhileKeyword(k);case 87:case 79:case 92:return spanInNextNode(k);case 152:return spanInOfKeyword(k);default:if(S.isArrayLiteralOrObjectLiteralDestructuringPattern(k)){return spanInArrayLiteralOrObjectLiteralDestructuringPattern(k)}if((k.kind===75||k.kind===213||k.kind===281||k.kind===282)&&S.isArrayLiteralOrObjectLiteralDestructuringPattern(w)){return textSpan(k)}if(k.kind===209){var N=k,j=N.left,q=N.operatorToken;if(S.isArrayLiteralOrObjectLiteralDestructuringPattern(j)){return spanInArrayLiteralOrObjectLiteralDestructuringPattern(j)}if(q.kind===62&&S.isArrayLiteralOrObjectLiteralDestructuringPattern(k.parent)){return textSpan(k)}if(q.kind===27){return spanInNode(j)}}if(S.isExpressionNode(k)){switch(w.kind){case 228:return spanInPreviousNode(k);case 157:return spanInNode(k.parent);case 230:case 232:return textSpan(k);case 209:if(k.parent.operatorToken.kind===27){return textSpan(k)}break;case 202:if(k.parent.body===k){return textSpan(k)}break}}switch(k.parent.kind){case 281:if(k.parent.name===k&&!S.isArrayLiteralOrObjectLiteralDestructuringPattern(k.parent.parent)){return spanInNode(k.parent.initializer)}break;case 199:if(k.parent.type===k){return spanInNextNode(k.parent.type)}break;case 242:case 156:{var ee=k.parent,te=ee.initializer,ne=ee.type;if(te===k||ne===k||S.isAssignmentOperator(k.kind)){return spanInPreviousNode(k)}break}case 209:{var j=k.parent.left;if(S.isArrayLiteralOrObjectLiteralDestructuringPattern(j)&&k!==j){return spanInPreviousNode(k)}break}default:if(S.isFunctionLike(k.parent)&&k.parent.type===k){return spanInPreviousNode(k)}}return spanInNode(k.parent)}}function textSpanFromVariableDeclaration(k){if(S.isVariableDeclarationList(k.parent)&&k.parent.declarations[0]===k){return textSpan(S.findPrecedingToken(k.pos,E,k.parent),k)}else{return textSpan(k)}}function spanInVariableDeclaration(k){if(k.parent.parent.kind===231){return spanInNode(k.parent.parent)}var w=k.parent;if(S.isBindingPattern(k.name)){return spanInBindingPattern(k.name)}if(k.initializer||S.hasModifier(k,1)||w.parent.kind===232){return textSpanFromVariableDeclaration(k)}if(S.isVariableDeclarationList(k.parent)&&k.parent.declarations[0]!==k){return spanInNode(S.findPrecedingToken(k.pos,E,k.parent))}}function canHaveSpanInParameterDeclaration(E){return!!E.initializer||E.dotDotDotToken!==undefined||S.hasModifier(E,4|8)}function spanInParameterDeclaration(E){if(S.isBindingPattern(E.name)){return spanInBindingPattern(E.name)}else if(canHaveSpanInParameterDeclaration(E)){return textSpan(E)}else{var k=E.parent;var w=k.parameters.indexOf(E);S.Debug.assert(w!==-1);if(w!==0){return spanInParameterDeclaration(k.parameters[w-1])}else{return spanInNode(k.body)}}}function canFunctionHaveSpanInWholeDeclaration(E){return S.hasModifier(E,1)||E.parent.kind===245&&E.kind!==162}function spanInFunctionDeclaration(S){if(!S.body){return undefined}if(canFunctionHaveSpanInWholeDeclaration(S)){return textSpan(S)}return spanInNode(S.body)}function spanInFunctionBlock(S){var E=S.statements.length?S.statements[0]:S.getLastToken();if(canFunctionHaveSpanInWholeDeclaration(S.parent)){return spanInNodeIfStartsOnSameLine(S.parent,E)}return spanInNode(E)}function spanInBlock(k){switch(k.parent.kind){case 249:if(S.getModuleInstanceState(k.parent)!==1){return undefined}case 229:case 227:case 231:return spanInNodeIfStartsOnSameLine(k.parent,k.statements[0]);case 230:case 232:return spanInNodeIfStartsOnSameLine(S.findPrecedingToken(k.pos,E,k.parent),k.statements[0])}return spanInNode(k.statements[0])}function spanInInitializerOfForLike(S){if(S.initializer.kind===243){var E=S.initializer;if(E.declarations.length>0){return spanInNode(E.declarations[0])}}else{return spanInNode(S.initializer)}}function spanInForStatement(S){if(S.initializer){return spanInInitializerOfForLike(S)}if(S.condition){return textSpan(S.condition)}if(S.incrementor){return textSpan(S.incrementor)}}function spanInBindingPattern(E){var k=S.forEach(E.elements,(function(S){return S.kind!==215?S:undefined}));if(k){return spanInNode(k)}if(E.parent.kind===191){return textSpan(E.parent)}return textSpanFromVariableDeclaration(E.parent)}function spanInArrayLiteralOrObjectLiteralDestructuringPattern(E){S.Debug.assert(E.kind!==190&&E.kind!==189);var k=E.kind===192?E.elements:E.properties;var w=S.forEach(k,(function(S){return S.kind!==215?S:undefined}));if(w){return spanInNode(w)}return textSpan(E.parent.kind===209?E.parent:E)}function spanInOpenBraceToken(k){switch(k.parent.kind){case 248:var w=k.parent;return spanInNodeIfStartsOnSameLine(S.findPrecedingToken(k.pos,E,k.parent),w.members.length?w.members[0]:w.getLastToken(E));case 245:var N=k.parent;return spanInNodeIfStartsOnSameLine(S.findPrecedingToken(k.pos,E,k.parent),N.members.length?N.members[0]:N.getLastToken(E));case 251:return spanInNodeIfStartsOnSameLine(k.parent.parent,k.parent.clauses[0])}return spanInNode(k.parent)}function spanInCloseBraceToken(E){switch(E.parent.kind){case 250:if(S.getModuleInstanceState(E.parent.parent)!==1){return undefined}case 248:case 245:return textSpan(E);case 223:if(S.isFunctionBlock(E.parent)){return textSpan(E)}case 280:return spanInNode(S.lastOrUndefined(E.parent.statements));case 251:var k=E.parent;var w=S.lastOrUndefined(k.clauses);if(w){return spanInNode(S.lastOrUndefined(w.statements))}return undefined;case 189:var N=E.parent;return spanInNode(S.lastOrUndefined(N.elements)||N);default:if(S.isArrayLiteralOrObjectLiteralDestructuringPattern(E.parent)){var j=E.parent;return textSpan(S.lastOrUndefined(j.properties)||j)}return spanInNode(E.parent)}}function spanInCloseBracketToken(E){switch(E.parent.kind){case 190:var k=E.parent;return textSpan(S.lastOrUndefined(k.elements)||k);default:if(S.isArrayLiteralOrObjectLiteralDestructuringPattern(E.parent)){var w=E.parent;return textSpan(S.lastOrUndefined(w.elements)||w)}return spanInNode(E.parent)}}function spanInOpenParenToken(S){if(S.parent.kind===228||S.parent.kind===196||S.parent.kind===197){return spanInPreviousNode(S)}if(S.parent.kind===200){return spanInNextNode(S)}return spanInNode(S.parent)}function spanInCloseParenToken(S){switch(S.parent.kind){case 201:case 244:case 202:case 161:case 160:case 163:case 164:case 162:case 229:case 228:case 230:case 232:case 196:case 197:case 200:return spanInPreviousNode(S);default:return spanInNode(S.parent)}}function spanInColonToken(E){if(S.isFunctionLike(E.parent)||E.parent.kind===281||E.parent.kind===156){return spanInPreviousNode(E)}return spanInNode(E.parent)}function spanInGreaterThanOrLessThanToken(S){if(S.parent.kind===199){return spanInNextNode(S)}return spanInNode(S.parent)}function spanInWhileKeyword(S){if(S.parent.kind===228){return textSpanEndingAtNextToken(S,S.parent.expression)}return spanInNode(S.parent)}function spanInOfKeyword(S){if(S.parent.kind===232){return spanInNextNode(S)}return spanInNode(S.parent)}}}E.spanInSourceFileAtLocation=spanInSourceFileAtLocation})(E=S.BreakpointResolver||(S.BreakpointResolver={}))})(ne||(ne={}));var ne;(function(S){function transform(E,k,w){var N=[];w=S.fixupCompilerOptions(w,N);var j=S.isArray(E)?E:[E];var q=S.transformNodes(undefined,undefined,w,j,k,true);q.diagnostics=S.concatenate(q.diagnostics,N);return q}S.transform=transform})(ne||(ne={}));var ae=function(){return this}();var ne;(function(S){function logInternalError(S,E){if(S){S.log("*INTERNAL ERROR* - Exception in typescript services: "+E.message)}}var E=function(){function ScriptSnapshotShimAdapter(S){this.scriptSnapshotShim=S}ScriptSnapshotShimAdapter.prototype.getText=function(S,E){return this.scriptSnapshotShim.getText(S,E)};ScriptSnapshotShimAdapter.prototype.getLength=function(){return this.scriptSnapshotShim.getLength()};ScriptSnapshotShimAdapter.prototype.getChangeRange=function(E){var k=E;var w=this.scriptSnapshotShim.getChangeRange(k.scriptSnapshotShim);if(w===null){return null}var N=JSON.parse(w);return S.createTextChangeRange(S.createTextSpan(N.span.start,N.span.length),N.newLength)};ScriptSnapshotShimAdapter.prototype.dispose=function(){if("dispose"in this.scriptSnapshotShim){this.scriptSnapshotShim.dispose()}};return ScriptSnapshotShimAdapter}();var k=function(){function LanguageServiceShimHostAdapter(E){var k=this;this.shimHost=E;this.loggingEnabled=false;this.tracingEnabled=false;if("getModuleResolutionsForFile"in this.shimHost){this.resolveModuleNames=function(E,w){var N=JSON.parse(k.shimHost.getModuleResolutionsForFile(w));return S.map(E,(function(E){var k=S.getProperty(N,E);return k?{resolvedFileName:k,extension:S.extensionFromPath(k),isExternalLibraryImport:false}:undefined}))}}if("directoryExists"in this.shimHost){this.directoryExists=function(S){return k.shimHost.directoryExists(S)}}if("getTypeReferenceDirectiveResolutionsForFile"in this.shimHost){this.resolveTypeReferenceDirectives=function(E,w){var N=JSON.parse(k.shimHost.getTypeReferenceDirectiveResolutionsForFile(w));return S.map(E,(function(E){return S.getProperty(N,E)}))}}}LanguageServiceShimHostAdapter.prototype.log=function(S){if(this.loggingEnabled){this.shimHost.log(S)}};LanguageServiceShimHostAdapter.prototype.trace=function(S){if(this.tracingEnabled){this.shimHost.trace(S)}};LanguageServiceShimHostAdapter.prototype.error=function(S){this.shimHost.error(S)};LanguageServiceShimHostAdapter.prototype.getProjectVersion=function(){if(!this.shimHost.getProjectVersion){return undefined}return this.shimHost.getProjectVersion()};LanguageServiceShimHostAdapter.prototype.getTypeRootsVersion=function(){if(!this.shimHost.getTypeRootsVersion){return 0}return this.shimHost.getTypeRootsVersion()};LanguageServiceShimHostAdapter.prototype.useCaseSensitiveFileNames=function(){return this.shimHost.useCaseSensitiveFileNames?this.shimHost.useCaseSensitiveFileNames():false};LanguageServiceShimHostAdapter.prototype.getCompilationSettings=function(){var S=this.shimHost.getCompilationSettings();if(S===null||S===""){throw Error("LanguageServiceShimHostAdapter.getCompilationSettings: empty compilationSettings")}var E=JSON.parse(S);E.allowNonTsExtensions=true;return E};LanguageServiceShimHostAdapter.prototype.getScriptFileNames=function(){var S=this.shimHost.getScriptFileNames();return JSON.parse(S)};LanguageServiceShimHostAdapter.prototype.getScriptSnapshot=function(S){var k=this.shimHost.getScriptSnapshot(S);return k&&new E(k)};LanguageServiceShimHostAdapter.prototype.getScriptKind=function(S){if("getScriptKind"in this.shimHost){return this.shimHost.getScriptKind(S)}else{return 0}};LanguageServiceShimHostAdapter.prototype.getScriptVersion=function(S){return this.shimHost.getScriptVersion(S)};LanguageServiceShimHostAdapter.prototype.getLocalizedDiagnosticMessages=function(){var S=this.shimHost.getLocalizedDiagnosticMessages();if(S===null||S===""){return null}try{return JSON.parse(S)}catch(S){this.log(S.description||"diagnosticMessages.generated.json has invalid JSON format");return null}};LanguageServiceShimHostAdapter.prototype.getCancellationToken=function(){var E=this.shimHost.getCancellationToken();return new S.ThrottledCancellationToken(E)};LanguageServiceShimHostAdapter.prototype.getCurrentDirectory=function(){return this.shimHost.getCurrentDirectory()};LanguageServiceShimHostAdapter.prototype.getDirectories=function(S){return JSON.parse(this.shimHost.getDirectories(S))};LanguageServiceShimHostAdapter.prototype.getDefaultLibFileName=function(S){return this.shimHost.getDefaultLibFileName(JSON.stringify(S))};LanguageServiceShimHostAdapter.prototype.readDirectory=function(E,k,w,N,j){var q=S.getFileMatcherPatterns(E,w,N,this.shimHost.useCaseSensitiveFileNames(),this.shimHost.getCurrentDirectory());return JSON.parse(this.shimHost.readDirectory(E,JSON.stringify(k),JSON.stringify(q.basePaths),q.excludePattern,q.includeFilePattern,q.includeDirectoryPattern,j))};LanguageServiceShimHostAdapter.prototype.readFile=function(S,E){return this.shimHost.readFile(S,E)};LanguageServiceShimHostAdapter.prototype.fileExists=function(S){return this.shimHost.fileExists(S)};return LanguageServiceShimHostAdapter}();S.LanguageServiceShimHostAdapter=k;var j=function(){function CoreServicesShimHostAdapter(S){var E=this;this.shimHost=S;this.useCaseSensitiveFileNames=this.shimHost.useCaseSensitiveFileNames?this.shimHost.useCaseSensitiveFileNames():false;if("directoryExists"in this.shimHost){this.directoryExists=function(S){return E.shimHost.directoryExists(S)}}else{this.directoryExists=undefined}if("realpath"in this.shimHost){this.realpath=function(S){return E.shimHost.realpath(S)}}else{this.realpath=undefined}}CoreServicesShimHostAdapter.prototype.readDirectory=function(E,k,w,N,j){var q=S.getFileMatcherPatterns(E,w,N,this.shimHost.useCaseSensitiveFileNames(),this.shimHost.getCurrentDirectory());return JSON.parse(this.shimHost.readDirectory(E,JSON.stringify(k),JSON.stringify(q.basePaths),q.excludePattern,q.includeFilePattern,q.includeDirectoryPattern,j))};CoreServicesShimHostAdapter.prototype.fileExists=function(S){return this.shimHost.fileExists(S)};CoreServicesShimHostAdapter.prototype.readFile=function(S){return this.shimHost.readFile(S)};CoreServicesShimHostAdapter.prototype.getDirectories=function(S){return JSON.parse(this.shimHost.getDirectories(S))};return CoreServicesShimHostAdapter}();S.CoreServicesShimHostAdapter=j;function simpleForwardCall(E,k,w,N){var j;if(N){E.log(k);j=S.timestamp()}var q=w();if(N){var ee=S.timestamp();E.log(k+" completed in "+(ee-j)+" msec");if(S.isString(q)){var te=q;if(te.length>128){te=te.substring(0,128)+"..."}E.log(" result.length="+te.length+", result='"+JSON.stringify(te)+"'")}}return q}function forwardJSONCall(S,E,k,w){return forwardCall(S,E,true,k,w)}function forwardCall(E,k,w,N,j){try{var q=simpleForwardCall(E,k,N,j);return w?JSON.stringify({result:q}):q}catch(w){if(w instanceof S.OperationCanceledException){return JSON.stringify({canceled:true})}logInternalError(E,w);w.description=k;return JSON.stringify({error:w})}}var q=function(){function ShimBase(S){this.factory=S;S.registerShim(this)}ShimBase.prototype.dispose=function(S){this.factory.unregisterShim(this)};return ShimBase}();function realizeDiagnostics(S,E){return S.map((function(S){return realizeDiagnostic(S,E)}))}S.realizeDiagnostics=realizeDiagnostics;function realizeDiagnostic(E,k){return{message:S.flattenDiagnosticMessageText(E.messageText,k),start:E.start,length:E.length,category:S.diagnosticCategoryName(E),code:E.code,reportsUnnecessary:E.reportsUnnecessary}}var ne=function(E){te(LanguageServiceShimObject,E);function LanguageServiceShimObject(S,k,w){var N=E.call(this,S)||this;N.host=k;N.languageService=w;N.logPerformance=false;N.logger=N.host;return N}LanguageServiceShimObject.prototype.forwardJSONCall=function(S,E){return forwardJSONCall(this.logger,S,E,this.logPerformance)};LanguageServiceShimObject.prototype.dispose=function(S){this.logger.log("dispose()");this.languageService.dispose();this.languageService=null;if(ae&&ae.CollectGarbage){ae.CollectGarbage();this.logger.log("CollectGarbage()")}this.logger=null;E.prototype.dispose.call(this,S)};LanguageServiceShimObject.prototype.refresh=function(S){this.forwardJSONCall("refresh("+S+")",(function(){return null}))};LanguageServiceShimObject.prototype.cleanupSemanticCache=function(){var S=this;this.forwardJSONCall("cleanupSemanticCache()",(function(){S.languageService.cleanupSemanticCache();return null}))};LanguageServiceShimObject.prototype.realizeDiagnostics=function(E){var k=S.getNewLineOrDefaultFromHost(this.host);return realizeDiagnostics(E,k)};LanguageServiceShimObject.prototype.getSyntacticClassifications=function(E,k,w){var N=this;return this.forwardJSONCall("getSyntacticClassifications('"+E+"', "+k+", "+w+")",(function(){return N.languageService.getSyntacticClassifications(E,S.createTextSpan(k,w))}))};LanguageServiceShimObject.prototype.getSemanticClassifications=function(E,k,w){var N=this;return this.forwardJSONCall("getSemanticClassifications('"+E+"', "+k+", "+w+")",(function(){return N.languageService.getSemanticClassifications(E,S.createTextSpan(k,w))}))};LanguageServiceShimObject.prototype.getEncodedSyntacticClassifications=function(E,k,w){var N=this;return this.forwardJSONCall("getEncodedSyntacticClassifications('"+E+"', "+k+", "+w+")",(function(){return convertClassifications(N.languageService.getEncodedSyntacticClassifications(E,S.createTextSpan(k,w)))}))};LanguageServiceShimObject.prototype.getEncodedSemanticClassifications=function(E,k,w){var N=this;return this.forwardJSONCall("getEncodedSemanticClassifications('"+E+"', "+k+", "+w+")",(function(){return convertClassifications(N.languageService.getEncodedSemanticClassifications(E,S.createTextSpan(k,w)))}))};LanguageServiceShimObject.prototype.getSyntacticDiagnostics=function(S){var E=this;return this.forwardJSONCall("getSyntacticDiagnostics('"+S+"')",(function(){var k=E.languageService.getSyntacticDiagnostics(S);return E.realizeDiagnostics(k)}))};LanguageServiceShimObject.prototype.getSemanticDiagnostics=function(S){var E=this;return this.forwardJSONCall("getSemanticDiagnostics('"+S+"')",(function(){var k=E.languageService.getSemanticDiagnostics(S);return E.realizeDiagnostics(k)}))};LanguageServiceShimObject.prototype.getSuggestionDiagnostics=function(S){var E=this;return this.forwardJSONCall("getSuggestionDiagnostics('"+S+"')",(function(){return E.realizeDiagnostics(E.languageService.getSuggestionDiagnostics(S))}))};LanguageServiceShimObject.prototype.getCompilerOptionsDiagnostics=function(){var S=this;return this.forwardJSONCall("getCompilerOptionsDiagnostics()",(function(){var E=S.languageService.getCompilerOptionsDiagnostics();return S.realizeDiagnostics(E)}))};LanguageServiceShimObject.prototype.getQuickInfoAtPosition=function(S,E){var k=this;return this.forwardJSONCall("getQuickInfoAtPosition('"+S+"', "+E+")",(function(){return k.languageService.getQuickInfoAtPosition(S,E)}))};LanguageServiceShimObject.prototype.getNameOrDottedNameSpan=function(S,E,k){var w=this;return this.forwardJSONCall("getNameOrDottedNameSpan('"+S+"', "+E+", "+k+")",(function(){return w.languageService.getNameOrDottedNameSpan(S,E,k)}))};LanguageServiceShimObject.prototype.getBreakpointStatementAtPosition=function(S,E){var k=this;return this.forwardJSONCall("getBreakpointStatementAtPosition('"+S+"', "+E+")",(function(){return k.languageService.getBreakpointStatementAtPosition(S,E)}))};LanguageServiceShimObject.prototype.getSignatureHelpItems=function(S,E,k){var w=this;return this.forwardJSONCall("getSignatureHelpItems('"+S+"', "+E+")",(function(){return w.languageService.getSignatureHelpItems(S,E,k)}))};LanguageServiceShimObject.prototype.getDefinitionAtPosition=function(S,E){var k=this;return this.forwardJSONCall("getDefinitionAtPosition('"+S+"', "+E+")",(function(){return k.languageService.getDefinitionAtPosition(S,E)}))};LanguageServiceShimObject.prototype.getDefinitionAndBoundSpan=function(S,E){var k=this;return this.forwardJSONCall("getDefinitionAndBoundSpan('"+S+"', "+E+")",(function(){return k.languageService.getDefinitionAndBoundSpan(S,E)}))};LanguageServiceShimObject.prototype.getTypeDefinitionAtPosition=function(S,E){var k=this;return this.forwardJSONCall("getTypeDefinitionAtPosition('"+S+"', "+E+")",(function(){return k.languageService.getTypeDefinitionAtPosition(S,E)}))};LanguageServiceShimObject.prototype.getImplementationAtPosition=function(S,E){var k=this;return this.forwardJSONCall("getImplementationAtPosition('"+S+"', "+E+")",(function(){return k.languageService.getImplementationAtPosition(S,E)}))};LanguageServiceShimObject.prototype.getRenameInfo=function(S,E,k){var w=this;return this.forwardJSONCall("getRenameInfo('"+S+"', "+E+")",(function(){return w.languageService.getRenameInfo(S,E,k)}))};LanguageServiceShimObject.prototype.getSmartSelectionRange=function(S,E){var k=this;return this.forwardJSONCall("getSmartSelectionRange('"+S+"', "+E+")",(function(){return k.languageService.getSmartSelectionRange(S,E)}))};LanguageServiceShimObject.prototype.findRenameLocations=function(S,E,k,w,N){var j=this;return this.forwardJSONCall("findRenameLocations('"+S+"', "+E+", "+k+", "+w+", "+N+")",(function(){return j.languageService.findRenameLocations(S,E,k,w,N)}))};LanguageServiceShimObject.prototype.getBraceMatchingAtPosition=function(S,E){var k=this;return this.forwardJSONCall("getBraceMatchingAtPosition('"+S+"', "+E+")",(function(){return k.languageService.getBraceMatchingAtPosition(S,E)}))};LanguageServiceShimObject.prototype.isValidBraceCompletionAtPosition=function(S,E,k){var w=this;return this.forwardJSONCall("isValidBraceCompletionAtPosition('"+S+"', "+E+", "+k+")",(function(){return w.languageService.isValidBraceCompletionAtPosition(S,E,k)}))};LanguageServiceShimObject.prototype.getSpanOfEnclosingComment=function(S,E,k){var w=this;return this.forwardJSONCall("getSpanOfEnclosingComment('"+S+"', "+E+")",(function(){return w.languageService.getSpanOfEnclosingComment(S,E,k)}))};LanguageServiceShimObject.prototype.getIndentationAtPosition=function(S,E,k){var w=this;return this.forwardJSONCall("getIndentationAtPosition('"+S+"', "+E+")",(function(){var N=JSON.parse(k);return w.languageService.getIndentationAtPosition(S,E,N)}))};LanguageServiceShimObject.prototype.getReferencesAtPosition=function(S,E){var k=this;return this.forwardJSONCall("getReferencesAtPosition('"+S+"', "+E+")",(function(){return k.languageService.getReferencesAtPosition(S,E)}))};LanguageServiceShimObject.prototype.findReferences=function(S,E){var k=this;return this.forwardJSONCall("findReferences('"+S+"', "+E+")",(function(){return k.languageService.findReferences(S,E)}))};LanguageServiceShimObject.prototype.getOccurrencesAtPosition=function(S,E){var k=this;return this.forwardJSONCall("getOccurrencesAtPosition('"+S+"', "+E+")",(function(){return k.languageService.getOccurrencesAtPosition(S,E)}))};LanguageServiceShimObject.prototype.getDocumentHighlights=function(E,k,w){var N=this;return this.forwardJSONCall("getDocumentHighlights('"+E+"', "+k+")",(function(){var j=N.languageService.getDocumentHighlights(E,k,JSON.parse(w));var q=S.toFileNameLowerCase(S.normalizeSlashes(E));return S.filter(j,(function(E){return S.toFileNameLowerCase(S.normalizeSlashes(E.fileName))===q}))}))};LanguageServiceShimObject.prototype.getCompletionsAtPosition=function(S,E,k){var w=this;return this.forwardJSONCall("getCompletionsAtPosition('"+S+"', "+E+", "+k+")",(function(){return w.languageService.getCompletionsAtPosition(S,E,k)}))};LanguageServiceShimObject.prototype.getCompletionEntryDetails=function(S,E,k,w,N,j){var q=this;return this.forwardJSONCall("getCompletionEntryDetails('"+S+"', "+E+", '"+k+"')",(function(){var ee=w===undefined?undefined:JSON.parse(w);return q.languageService.getCompletionEntryDetails(S,E,k,ee,N,j)}))};LanguageServiceShimObject.prototype.getFormattingEditsForRange=function(S,E,k,w){var N=this;return this.forwardJSONCall("getFormattingEditsForRange('"+S+"', "+E+", "+k+")",(function(){var j=JSON.parse(w);return N.languageService.getFormattingEditsForRange(S,E,k,j)}))};LanguageServiceShimObject.prototype.getFormattingEditsForDocument=function(S,E){var k=this;return this.forwardJSONCall("getFormattingEditsForDocument('"+S+"')",(function(){var w=JSON.parse(E);return k.languageService.getFormattingEditsForDocument(S,w)}))};LanguageServiceShimObject.prototype.getFormattingEditsAfterKeystroke=function(S,E,k,w){var N=this;return this.forwardJSONCall("getFormattingEditsAfterKeystroke('"+S+"', "+E+", '"+k+"')",(function(){var j=JSON.parse(w);return N.languageService.getFormattingEditsAfterKeystroke(S,E,k,j)}))};LanguageServiceShimObject.prototype.getDocCommentTemplateAtPosition=function(S,E){var k=this;return this.forwardJSONCall("getDocCommentTemplateAtPosition('"+S+"', "+E+")",(function(){return k.languageService.getDocCommentTemplateAtPosition(S,E)}))};LanguageServiceShimObject.prototype.getNavigateToItems=function(S,E,k){var w=this;return this.forwardJSONCall("getNavigateToItems('"+S+"', "+E+", "+k+")",(function(){return w.languageService.getNavigateToItems(S,E,k)}))};LanguageServiceShimObject.prototype.getNavigationBarItems=function(S){var E=this;return this.forwardJSONCall("getNavigationBarItems('"+S+"')",(function(){return E.languageService.getNavigationBarItems(S)}))};LanguageServiceShimObject.prototype.getNavigationTree=function(S){var E=this;return this.forwardJSONCall("getNavigationTree('"+S+"')",(function(){return E.languageService.getNavigationTree(S)}))};LanguageServiceShimObject.prototype.getOutliningSpans=function(S){var E=this;return this.forwardJSONCall("getOutliningSpans('"+S+"')",(function(){return E.languageService.getOutliningSpans(S)}))};LanguageServiceShimObject.prototype.getTodoComments=function(S,E){var k=this;return this.forwardJSONCall("getTodoComments('"+S+"')",(function(){return k.languageService.getTodoComments(S,JSON.parse(E))}))};LanguageServiceShimObject.prototype.prepareCallHierarchy=function(S,E){var k=this;return this.forwardJSONCall("prepareCallHierarchy('"+S+"', "+E+")",(function(){return k.languageService.prepareCallHierarchy(S,E)}))};LanguageServiceShimObject.prototype.provideCallHierarchyIncomingCalls=function(S,E){var k=this;return this.forwardJSONCall("provideCallHierarchyIncomingCalls('"+S+"', "+E+")",(function(){return k.languageService.provideCallHierarchyIncomingCalls(S,E)}))};LanguageServiceShimObject.prototype.provideCallHierarchyOutgoingCalls=function(S,E){var k=this;return this.forwardJSONCall("provideCallHierarchyOutgoingCalls('"+S+"', "+E+")",(function(){return k.languageService.provideCallHierarchyOutgoingCalls(S,E)}))};LanguageServiceShimObject.prototype.getEmitOutput=function(S){var E=this;return this.forwardJSONCall("getEmitOutput('"+S+"')",(function(){var k=E.languageService.getEmitOutput(S),w=k.diagnostics,j=ee(k,["diagnostics"]);return N(N({},j),{diagnostics:E.realizeDiagnostics(w)})}))};LanguageServiceShimObject.prototype.getEmitOutputObject=function(S){var E=this;return forwardCall(this.logger,"getEmitOutput('"+S+"')",false,(function(){return E.languageService.getEmitOutput(S)}),this.logPerformance)};return LanguageServiceShimObject}(q);function convertClassifications(S){return{spans:S.spans.join(","),endOfLineState:S.endOfLineState}}var _e=function(E){te(ClassifierShimObject,E);function ClassifierShimObject(k,w){var N=E.call(this,k)||this;N.logger=w;N.logPerformance=false;N.classifier=S.createClassifier();return N}ClassifierShimObject.prototype.getEncodedLexicalClassifications=function(S,E,k){var w=this;if(k===void 0){k=false}return forwardJSONCall(this.logger,"getEncodedLexicalClassifications",(function(){return convertClassifications(w.classifier.getEncodedLexicalClassifications(S,E,k))}),this.logPerformance)};ClassifierShimObject.prototype.getClassificationsForLine=function(S,E,k){if(k===void 0){k=false}var w=this.classifier.getClassificationsForLine(S,E,k);var N="";for(var j=0,q=w.entries;j1){E[0]=E[0].slice(0,-1);var w=E.length-1;for(var N=1;N= 0x80 (not a basic code point)","invalid-input":"Invalid input"};var Ne=j-q;var Ie=Math.floor;var Fe=String.fromCharCode;function error$1(S){throw new RangeError(we[S])}function map(S,E){var k=[];var w=S.length;while(w--){k[w]=E(S[w])}return k}function mapDomain(S,E){var k=S.split("@");var w="";if(k.length>1){w=k[0]+"@";S=k[1]}S=S.replace(Ce,".");var N=S.split(".");var j=map(N,E).join(".");return w+j}function ucs2decode(S){var E=[];var k=0;var w=S.length;while(k=55296&&N<=56319&&k>1;S+=Ie(S/E);for(;S>Ne*ee>>1;w+=j){S=Ie(S/Ne)}return Ie(w+(Ne+1)*S/(S+te))};var Be=function decode(S){var E=[];var k=S.length;var w=0;var te=_e;var ne=ae;var Ee=S.lastIndexOf(ve);if(Ee<0){Ee=0}for(var Te=0;Te=128){error$1("not-basic")}E.push(S.charCodeAt(Te))}for(var Ce=Ee>0?Ee+1:0;Ce=k){error$1("invalid-input")}var Oe=Me(S.charCodeAt(Ce++));if(Oe>=j||Oe>Ie((N-w)/Ne)){error$1("overflow")}w+=Oe*Ne;var Re=Fe<=ne?q:Fe>=ne+ee?ee:Fe-ne;if(OeIe(N/Be)){error$1("overflow")}Ne*=Be}var je=E.length+1;ne=Le(w-we,je,we==0);if(Ie(w/je)>N-te){error$1("overflow")}te+=Ie(w/je);w%=je;E.splice(w++,0,te)}return String.fromCodePoint.apply(String,E)};var je=function encode(S){var E=[];S=ucs2decode(S);var k=S.length;var w=_e;var te=0;var ne=ae;var Ee=true;var Te=false;var Ce=undefined;try{for(var we=S[Symbol.iterator](),Ne;!(Ee=(Ne=we.next()).done);Ee=true){var Oe=Ne.value;if(Oe<128){E.push(Fe(Oe))}}}catch(S){Te=true;Ce=S}finally{try{if(!Ee&&we.return){we.return()}}finally{if(Te){throw Ce}}}var Me=E.length;var Be=Me;if(Me){E.push(ve)}while(Be=w&&VeIe((N-te)/He)){error$1("overflow")}te+=(je-w)*He;w=je;var Ge=true;var Je=false;var Ke=undefined;try{for(var Qe=S[Symbol.iterator](),Xe;!(Ge=(Xe=Qe.next()).done);Ge=true){var Ye=Xe.value;if(YeN){error$1("overflow")}if(Ye==w){var Ze=te;for(var et=j;;et+=j){var tt=et<=ne?q:et>=ne+ee?ee:et-ne;if(Ze>6|192).toString(16).toUpperCase()+"%"+(E&63|128).toString(16).toUpperCase();else k="%"+(E>>12|224).toString(16).toUpperCase()+"%"+(E>>6&63|128).toString(16).toUpperCase()+"%"+(E&63|128).toString(16).toUpperCase();return k}function pctDecChars(S){var E="";var k=0;var w=S.length;while(k=194&&N<224){if(w-k>=6){var j=parseInt(S.substr(k+4,2),16);E+=String.fromCharCode((N&31)<<6|j&63)}else{E+=S.substr(k,6)}k+=6}else if(N>=224){if(w-k>=9){var q=parseInt(S.substr(k+4,2),16);var ee=parseInt(S.substr(k+7,2),16);E+=String.fromCharCode((N&15)<<12|(q&63)<<6|ee&63)}else{E+=S.substr(k,9)}k+=9}else{E+=S.substr(k,3);k+=3}}return E}function _normalizeComponentEncoding(S,E){function decodeUnreserved(S){var k=pctDecChars(S);return!k.match(E.UNRESERVED)?S:k}if(S.scheme)S.scheme=String(S.scheme).replace(E.PCT_ENCODED,decodeUnreserved).toLowerCase().replace(E.NOT_SCHEME,"");if(S.userinfo!==undefined)S.userinfo=String(S.userinfo).replace(E.PCT_ENCODED,decodeUnreserved).replace(E.NOT_USERINFO,pctEncChar).replace(E.PCT_ENCODED,toUpperCase);if(S.host!==undefined)S.host=String(S.host).replace(E.PCT_ENCODED,decodeUnreserved).toLowerCase().replace(E.NOT_HOST,pctEncChar).replace(E.PCT_ENCODED,toUpperCase);if(S.path!==undefined)S.path=String(S.path).replace(E.PCT_ENCODED,decodeUnreserved).replace(S.scheme?E.NOT_PATH:E.NOT_PATH_NOSCHEME,pctEncChar).replace(E.PCT_ENCODED,toUpperCase);if(S.query!==undefined)S.query=String(S.query).replace(E.PCT_ENCODED,decodeUnreserved).replace(E.NOT_QUERY,pctEncChar).replace(E.PCT_ENCODED,toUpperCase);if(S.fragment!==undefined)S.fragment=String(S.fragment).replace(E.PCT_ENCODED,decodeUnreserved).replace(E.NOT_FRAGMENT,pctEncChar).replace(E.PCT_ENCODED,toUpperCase);return S}function _stripLeadingZeros(S){return S.replace(/^0*(.*)/,"$1")||"0"}function _normalizeIPv4(S,E){var k=S.match(E.IPV4ADDRESS)||[];var N=w(k,2),j=N[1];if(j){return j.split(".").map(_stripLeadingZeros).join(".")}else{return S}}function _normalizeIPv6(S,E){var k=S.match(E.IPV6ADDRESS)||[];var N=w(k,3),j=N[1],q=N[2];if(j){var ee=j.toLowerCase().split("::").reverse(),te=w(ee,2),ne=te[0],ae=te[1];var _e=ae?ae.split(":").map(_stripLeadingZeros):[];var ve=ne.split(":").map(_stripLeadingZeros);var Ee=E.IPV4ADDRESS.test(ve[ve.length-1]);var Te=Ee?7:8;var Ce=ve.length-Te;var we=Array(Te);for(var Ne=0;Ne1){var Me=we.slice(0,Fe.index);var Re=we.slice(Fe.index+Fe.length);Oe=Me.join(":")+"::"+Re.join(":")}else{Oe=we.join(":")}if(q){Oe+="%"+q}return Oe}else{return S}}var qe=/^(?:([^:\/?#]+):)?(?:\/\/((?:([^\/?#@]*)@)?(\[[^\/?#\]]+\]|[^\/?#:]*)(?:\:(\d*))?))?([^?#]*)(?:\?([^#]*))?(?:#((?:.|\n|\r)*))?/i;var Ve="".match(/(){0}/)[1]===undefined;function parse(S){var w=arguments.length>1&&arguments[1]!==undefined?arguments[1]:{};var N={};var j=w.iri!==false?k:E;if(w.reference==="suffix")S=(w.scheme?w.scheme+":":"")+"//"+S;var q=S.match(qe);if(q){if(Ve){N.scheme=q[1];N.userinfo=q[3];N.host=q[4];N.port=parseInt(q[5],10);N.path=q[6]||"";N.query=q[7];N.fragment=q[8];if(isNaN(N.port)){N.port=q[5]}}else{N.scheme=q[1]||undefined;N.userinfo=S.indexOf("@")!==-1?q[3]:undefined;N.host=S.indexOf("//")!==-1?q[4]:undefined;N.port=parseInt(q[5],10);N.path=q[6]||"";N.query=S.indexOf("?")!==-1?q[7]:undefined;N.fragment=S.indexOf("#")!==-1?q[8]:undefined;if(isNaN(N.port)){N.port=S.match(/\/\/(?:.|\n)*\:(?:\/|\?|\#|$)/)?q[4]:undefined}}if(N.host){N.host=_normalizeIPv6(_normalizeIPv4(N.host,j),j)}if(N.scheme===undefined&&N.userinfo===undefined&&N.host===undefined&&N.port===undefined&&!N.path&&N.query===undefined){N.reference="same-document"}else if(N.scheme===undefined){N.reference="relative"}else if(N.fragment===undefined){N.reference="absolute"}else{N.reference="uri"}if(w.reference&&w.reference!=="suffix"&&w.reference!==N.reference){N.error=N.error||"URI is not a "+w.reference+" reference."}var ee=$e[(w.scheme||N.scheme||"").toLowerCase()];if(!w.unicodeSupport&&(!ee||!ee.unicodeSupport)){if(N.host&&(w.domainHost||ee&&ee.domainHost)){try{N.host=We.toASCII(N.host.replace(j.PCT_ENCODED,pctDecChars).toLowerCase())}catch(S){N.error=N.error||"Host's domain name can not be converted to ASCII via punycode: "+S}}_normalizeComponentEncoding(N,E)}else{_normalizeComponentEncoding(N,j)}if(ee&&ee.parse){ee.parse(N,w)}}else{N.error=N.error||"URI can not be parsed."}return N}function _recomposeAuthority(S,w){var N=w.iri!==false?k:E;var j=[];if(S.userinfo!==undefined){j.push(S.userinfo);j.push("@")}if(S.host!==undefined){j.push(_normalizeIPv6(_normalizeIPv4(String(S.host),N),N).replace(N.IPV6ADDRESS,(function(S,E,k){return"["+E+(k?"%25"+k:"")+"]"})))}if(typeof S.port==="number"||typeof S.port==="string"){j.push(":");j.push(String(S.port))}return j.length?j.join(""):undefined}var He=/^\.\.?\//;var Ge=/^\/\.(\/|$)/;var Je=/^\/\.\.(\/|$)/;var Ke=/^\/?(?:.|\n)*?(?=\/|$)/;function removeDotSegments(S){var E=[];while(S.length){if(S.match(He)){S=S.replace(He,"")}else if(S.match(Ge)){S=S.replace(Ge,"/")}else if(S.match(Je)){S=S.replace(Je,"/");E.pop()}else if(S==="."||S===".."){S=""}else{var k=S.match(Ke);if(k){var w=k[0];S=S.slice(w.length);E.push(w)}else{throw new Error("Unexpected dot segment condition")}}}return E.join("")}function serialize(S){var w=arguments.length>1&&arguments[1]!==undefined?arguments[1]:{};var N=w.iri?k:E;var j=[];var q=$e[(w.scheme||S.scheme||"").toLowerCase()];if(q&&q.serialize)q.serialize(S,w);if(S.host){if(N.IPV6ADDRESS.test(S.host)){}else if(w.domainHost||q&&q.domainHost){try{S.host=!w.iri?We.toASCII(S.host.replace(N.PCT_ENCODED,pctDecChars).toLowerCase()):We.toUnicode(S.host)}catch(E){S.error=S.error||"Host's domain name can not be converted to "+(!w.iri?"ASCII":"Unicode")+" via punycode: "+E}}}_normalizeComponentEncoding(S,N);if(w.reference!=="suffix"&&S.scheme){j.push(S.scheme);j.push(":")}var ee=_recomposeAuthority(S,w);if(ee!==undefined){if(w.reference!=="suffix"){j.push("//")}j.push(ee);if(S.path&&S.path.charAt(0)!=="/"){j.push("/")}}if(S.path!==undefined){var te=S.path;if(!w.absolutePath&&(!q||!q.absolutePath)){te=removeDotSegments(te)}if(ee===undefined){te=te.replace(/^\/\//,"/%2F")}j.push(te)}if(S.query!==undefined){j.push("?");j.push(S.query)}if(S.fragment!==undefined){j.push("#");j.push(S.fragment)}return j.join("")}function resolveComponents(S,E){var k=arguments.length>2&&arguments[2]!==undefined?arguments[2]:{};var w=arguments[3];var N={};if(!w){S=parse(serialize(S,k),k);E=parse(serialize(E,k),k)}k=k||{};if(!k.tolerant&&E.scheme){N.scheme=E.scheme;N.userinfo=E.userinfo;N.host=E.host;N.port=E.port;N.path=removeDotSegments(E.path||"");N.query=E.query}else{if(E.userinfo!==undefined||E.host!==undefined||E.port!==undefined){N.userinfo=E.userinfo;N.host=E.host;N.port=E.port;N.path=removeDotSegments(E.path||"");N.query=E.query}else{if(!E.path){N.path=S.path;if(E.query!==undefined){N.query=E.query}else{N.query=S.query}}else{if(E.path.charAt(0)==="/"){N.path=removeDotSegments(E.path)}else{if((S.userinfo!==undefined||S.host!==undefined||S.port!==undefined)&&!S.path){N.path="/"+E.path}else if(!S.path){N.path=E.path}else{N.path=S.path.slice(0,S.path.lastIndexOf("/")+1)+E.path}N.path=removeDotSegments(N.path)}N.query=E.query}N.userinfo=S.userinfo;N.host=S.host;N.port=S.port}N.scheme=S.scheme}N.fragment=E.fragment;return N}function resolve(S,E,k){var w=assign({scheme:"null"},k);return serialize(resolveComponents(parse(S,w),parse(E,w),w,true),w)}function normalize(S,E){if(typeof S==="string"){S=serialize(parse(S,E),E)}else if(typeOf(S)==="object"){S=parse(serialize(S,E),E)}return S}function equal(S,E,k){if(typeof S==="string"){S=serialize(parse(S,k),k)}else if(typeOf(S)==="object"){S=serialize(S,k)}if(typeof E==="string"){E=serialize(parse(E,k),k)}else if(typeOf(E)==="object"){E=serialize(E,k)}return S===E}function escapeComponent(S,w){return S&&S.toString().replace(!w||!w.iri?E.ESCAPE:k.ESCAPE,pctEncChar)}function unescapeComponent(S,w){return S&&S.toString().replace(!w||!w.iri?E.PCT_ENCODED:k.PCT_ENCODED,pctDecChars)}var Qe={scheme:"http",domainHost:true,parse:function parse(S,E){if(!S.host){S.error=S.error||"HTTP URIs must have a host."}return S},serialize:function serialize(S,E){var k=String(S.scheme).toLowerCase()==="https";if(S.port===(k?443:80)||S.port===""){S.port=undefined}if(!S.path){S.path="/"}return S}};var Xe={scheme:"https",domainHost:Qe.domainHost,parse:Qe.parse,serialize:Qe.serialize};function isSecure(S){return typeof S.secure==="boolean"?S.secure:String(S.scheme).toLowerCase()==="wss"}var Ye={scheme:"ws",domainHost:true,parse:function parse(S,E){var k=S;k.secure=isSecure(k);k.resourceName=(k.path||"/")+(k.query?"?"+k.query:"");k.path=undefined;k.query=undefined;return k},serialize:function serialize(S,E){if(S.port===(isSecure(S)?443:80)||S.port===""){S.port=undefined}if(typeof S.secure==="boolean"){S.scheme=S.secure?"wss":"ws";S.secure=undefined}if(S.resourceName){var k=S.resourceName.split("?"),N=w(k,2),j=N[0],q=N[1];S.path=j&&j!=="/"?j:undefined;S.query=q;S.resourceName=undefined}S.fragment=undefined;return S}};var Ze={scheme:"wss",domainHost:Ye.domainHost,parse:Ye.parse,serialize:Ye.serialize};var et={};var tt=true;var rt="[A-Za-z0-9\\-\\.\\_\\~"+(tt?"\\xA0-\\u200D\\u2010-\\u2029\\u202F-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFEF":"")+"]";var nt="[0-9A-Fa-f]";var it=subexp(subexp("%[EFef]"+nt+"%"+nt+nt+"%"+nt+nt)+"|"+subexp("%[89A-Fa-f]"+nt+"%"+nt+nt)+"|"+subexp("%"+nt+nt));var ot="[A-Za-z0-9\\!\\$\\%\\'\\*\\+\\-\\^\\_\\`\\{\\|\\}\\~]";var st="[\\!\\$\\%\\'\\(\\)\\*\\+\\,\\-\\.0-9\\<\\>A-Z\\x5E-\\x7E]";var ct=merge(st,'[\\"\\\\]');var ut="[\\!\\$\\'\\(\\)\\*\\+\\,\\;\\:\\@]";var dt=new RegExp(rt,"g");var pt=new RegExp(it,"g");var ft=new RegExp(merge("[^]",ot,"[\\.]",'[\\"]',ct),"g");var mt=new RegExp(merge("[^]",rt,ut),"g");var ht=mt;function decodeUnreserved(S){var E=pctDecChars(S);return!E.match(dt)?S:E}var _t={scheme:"mailto",parse:function parse$$1(S,E){var k=S;var w=k.to=k.path?k.path.split(","):[];k.path=undefined;if(k.query){var N=false;var j={};var q=k.query.split("&");for(var ee=0,te=q.length;ee{"use strict";const w=k(28614).EventEmitter;const N=k(15808);const j=k(85622);const q=k(68862);const ee=Object.freeze({});let te=1e3;const ne=k(12087).platform()==="darwin";const ae=process.env.WATCHPACK_POLLING;const _e=`${+ae}`===ae?+ae:!!ae&&ae!=="false";function withoutCase(S){return S.toLowerCase()}function needCalls(S,E){return function(){if(--S===0){return E()}}}class Watcher extends w{constructor(S,E,k){super();this.directoryWatcher=S;this.path=E;this.startTime=k&&+k;this._cachedTimeInfoEntries=undefined}checkStartTime(S,E){const k=this.startTime;if(typeof k!=="number")return!E;return k<=S}close(){this.emit("closed")}}class DirectoryWatcher extends w{constructor(S,E,k){super();if(_e){k.poll=_e}this.watcherManager=S;this.options=k;this.path=E;this.files=new Map;this.filesWithoutCase=new Map;this.directories=new Map;this.lastWatchEvent=0;this.initialScan=true;this.ignored=k.ignored;this.nestedWatching=false;this.polledWatching=typeof k.poll==="number"?k.poll:k.poll?5007:false;this.timeout=undefined;this.initialScanRemoved=new Set;this.initialScanFinished=undefined;this.watchers=new Map;this.parentWatcher=null;this.refs=0;this._activeEvents=new Map;this.closed=false;this.scanning=false;this.scanAgain=false;this.scanAgainInitial=false;this.createWatcher();this.doScan(true)}checkIgnore(S){if(!this.ignored)return false;S=S.replace(/\\/g,"/");return this.ignored.test(S)}createWatcher(){try{if(this.polledWatching){this.watcher={close:()=>{if(this.timeout){clearTimeout(this.timeout);this.timeout=undefined}}}}else{if(ne){this.watchInParentDirectory()}this.watcher=q.watch(this.path);this.watcher.on("change",this.onWatchEvent.bind(this));this.watcher.on("error",this.onWatcherError.bind(this))}}catch(S){this.onWatcherError(S)}}forEachWatcher(S,E){const k=this.watchers.get(withoutCase(S));if(k!==undefined){for(const S of k){E(S)}}}setMissing(S,E,k){this._cachedTimeInfoEntries=undefined;if(this.initialScan){this.initialScanRemoved.add(S)}const w=this.directories.get(S);if(w){if(this.nestedWatching)w.close();this.directories.delete(S);this.forEachWatcher(S,(S=>S.emit("remove",k)));if(!E){this.forEachWatcher(this.path,(w=>w.emit("change",S,null,k,E)))}}const N=this.files.get(S);if(N){this.files.delete(S);const w=withoutCase(S);const N=this.filesWithoutCase.get(w)-1;if(N<=0){this.filesWithoutCase.delete(w);this.forEachWatcher(S,(S=>S.emit("remove",k)))}else{this.filesWithoutCase.set(w,N)}if(!E){this.forEachWatcher(this.path,(w=>w.emit("change",S,null,k,E)))}}}setFileTime(S,E,k,w,N){const j=Date.now();if(this.checkIgnore(S))return;const q=this.files.get(S);let ee,ne;if(k){ee=Math.min(j,E)+te;ne=te}else{ee=j;ne=0;if(q&&q.timestamp===E&&E+te{if(!k||S.checkStartTime(ee,k)){S.emit("change",E,N)}}))}else if(!k){this.forEachWatcher(S,(S=>S.emit("change",E,N)))}this.forEachWatcher(this.path,(E=>{if(!k||E.checkStartTime(ee,k)){E.emit("change",S,ee,N,k)}}))}setDirectory(S,E,k,w){if(this.checkIgnore(S))return;if(S===this.path){if(!k){this.forEachWatcher(this.path,(N=>N.emit("change",S,E,w,k)))}}else{const N=this.directories.get(S);if(!N){const N=Date.now();this._cachedTimeInfoEntries=undefined;if(this.nestedWatching){this.createNestedWatcher(S)}else{this.directories.set(S,true)}let j;if(k){j=Math.min(N,E)+te}else{j=N}this.forEachWatcher(S,(S=>{if(!k||S.checkStartTime(j,false)){S.emit("change",E,w)}}));this.forEachWatcher(this.path,(E=>{if(!k||E.checkStartTime(j,k)){E.emit("change",S,j,w,k)}}))}}}createNestedWatcher(S){const E=this.watcherManager.watchDirectory(S,1);E.on("change",((S,E,k,w)=>{this._cachedTimeInfoEntries=undefined;this.forEachWatcher(this.path,(N=>{if(!w||N.checkStartTime(E,w)){N.emit("change",S,E,k,w)}}))}));this.directories.set(S,E)}setNestedWatching(S){if(this.nestedWatching!==!!S){this.nestedWatching=!!S;this._cachedTimeInfoEntries=undefined;if(this.nestedWatching){for(const S of this.directories.keys()){this.createNestedWatcher(S)}}else{for(const[S,E]of this.directories){E.close();this.directories.set(S,true)}}}}watch(S,E){const k=withoutCase(S);let w=this.watchers.get(k);if(w===undefined){w=new Set;this.watchers.set(k,w)}this.refs++;const N=new Watcher(this,S,E);N.on("closed",(()=>{if(--this.refs<=0){this.close();return}w.delete(N);if(w.size===0){this.watchers.delete(k);if(this.path===S)this.setNestedWatching(false)}}));w.add(N);let j;if(S===this.path){this.setNestedWatching(true);j=this.lastWatchEvent;for(const S of this.files.values()){fixupEntryAccuracy(S);j=Math.max(j,S.safeTime)}}else{const E=this.files.get(S);if(E){fixupEntryAccuracy(E);j=E.safeTime}else{j=0}}if(j){if(j>=E){process.nextTick((()=>{if(this.closed)return;if(S===this.path){N.emit("change",S,j,"watch (outdated on attach)",true)}else{N.emit("change",j,"watch (outdated on attach)",true)}}))}}else if(this.initialScan){if(this.initialScanRemoved.has(S)){process.nextTick((()=>{if(this.closed)return;N.emit("remove")}))}}else if(!this.directories.has(S)&&N.checkStartTime(this.initialScanFinished,false)){process.nextTick((()=>{if(this.closed)return;N.emit("initial-missing","watch (missing on attach)")}))}return N}onWatchEvent(S,E){if(this.closed)return;if(!E){this.doScan(false);return}const k=j.join(this.path,E);if(this.checkIgnore(k))return;if(this._activeEvents.get(E)===undefined){this._activeEvents.set(E,false);const checkStats=()=>{if(this.closed)return;this._activeEvents.set(E,false);N.lstat(k,((w,q)=>{if(this.closed)return;if(this._activeEvents.get(E)===true){process.nextTick(checkStats);return}this._activeEvents.delete(E);if(w){if(w.code!=="ENOENT"&&w.code!=="EPERM"&&w.code!=="EBUSY"){this.onStatsError(w)}else{if(E===j.basename(this.path)){if(!N.existsSync(this.path)){this.onDirectoryRemoved("stat failed")}}}}this.lastWatchEvent=Date.now();this._cachedTimeInfoEntries=undefined;if(!q){this.setMissing(k,false,S)}else if(q.isDirectory()){this.setDirectory(k,+q.birthtime||1,false,S)}else if(q.isFile()||q.isSymbolicLink()){if(q.mtime){ensureFsAccuracy(q.mtime)}this.setFileTime(k,+q.mtime||+q.ctime||1,false,false,S)}}))};process.nextTick(checkStats)}else{this._activeEvents.set(E,true)}}onWatcherError(S){if(this.closed)return;if(S){if(S.code!=="EPERM"&&S.code!=="ENOENT"){console.error("Watchpack Error (watcher): "+S)}this.onDirectoryRemoved("watch error")}}onStatsError(S){if(S){console.error("Watchpack Error (stats): "+S)}}onScanError(S){if(S){console.error("Watchpack Error (initial scan): "+S)}this.onScanFinished()}onScanFinished(){if(this.polledWatching){this.timeout=setTimeout((()=>{if(this.closed)return;this.doScan(false)}),this.polledWatching)}}onDirectoryRemoved(S){if(this.watcher){this.watcher.close();this.watcher=null}this.watchInParentDirectory();const E=`directory-removed (${S})`;for(const S of this.directories.keys()){this.setMissing(S,null,E)}for(const S of this.files.keys()){this.setMissing(S,null,E)}}watchInParentDirectory(){if(!this.parentWatcher){const S=j.dirname(this.path);if(j.dirname(S)===S)return;this.parentWatcher=this.watcherManager.watchFile(this.path,1);this.parentWatcher.on("change",((S,E)=>{if(this.closed)return;if((!ne||this.polledWatching)&&this.parentWatcher){this.parentWatcher.close();this.parentWatcher=null}if(!this.watcher){this.createWatcher();this.doScan(false);this.forEachWatcher(this.path,(k=>k.emit("change",this.path,S,E,false)))}}));this.parentWatcher.on("remove",(()=>{this.onDirectoryRemoved("parent directory removed")}))}}doScan(S){if(this.scanning){if(this.scanAgain){if(!S)this.scanAgainInitial=false}else{this.scanAgain=true;this.scanAgainInitial=S}return}this.scanning=true;if(this.timeout){clearTimeout(this.timeout);this.timeout=undefined}process.nextTick((()=>{if(this.closed)return;N.readdir(this.path,((E,k)=>{if(this.closed)return;if(E){if(E.code==="ENOENT"||E.code==="EPERM"){this.onDirectoryRemoved("scan readdir failed")}else{this.onScanError(E)}this.initialScan=false;this.initialScanFinished=Date.now();if(S){for(const S of this.watchers.values()){for(const E of S){if(E.checkStartTime(this.initialScanFinished,false)){E.emit("initial-missing","scan (parent directory missing in initial scan)")}}}}if(this.scanAgain){this.scanAgain=false;this.doScan(this.scanAgainInitial)}else{this.scanning=false}return}const w=new Set(k.map((S=>j.join(this.path,S.normalize("NFC")))));for(const E of this.files.keys()){if(!w.has(E)){this.setMissing(E,S,"scan (missing)")}}for(const E of this.directories.keys()){if(!w.has(E)){this.setMissing(E,S,"scan (missing)")}}if(this.scanAgain){this.scanAgain=false;this.doScan(S);return}const q=needCalls(w.size+1,(()=>{if(this.closed)return;this.initialScan=false;this.initialScanRemoved=null;this.initialScanFinished=Date.now();if(S){const S=new Map(this.watchers);S.delete(withoutCase(this.path));for(const E of w){S.delete(withoutCase(E))}for(const E of S.values()){for(const S of E){if(S.checkStartTime(this.initialScanFinished,false)){S.emit("initial-missing","scan (missing in initial scan)")}}}}if(this.scanAgain){this.scanAgain=false;this.doScan(this.scanAgainInitial)}else{this.scanning=false;this.onScanFinished()}}));for(const E of w){N.lstat(E,((k,w)=>{if(this.closed)return;if(k){if(k.code==="ENOENT"||k.code==="EPERM"||k.code==="EBUSY"){this.setMissing(E,S,"scan ("+k.code+")")}else{this.onScanError(k)}q();return}if(w.isFile()||w.isSymbolicLink()){if(w.mtime){ensureFsAccuracy(w.mtime)}this.setFileTime(E,+w.mtime||+w.ctime||1,S,true,"scan (file)")}else if(w.isDirectory()){if(!S||!this.directories.has(E))this.setDirectory(E,+w.birthtime||1,S,"scan (dir)")}q()}))}q()}))}))}getTimes(){const S=Object.create(null);let E=this.lastWatchEvent;for(const[k,w]of this.files){fixupEntryAccuracy(w);E=Math.max(E,w.safeTime);S[k]=Math.max(w.safeTime,w.timestamp)}if(this.nestedWatching){for(const k of this.directories.values()){const w=k.directoryWatcher.getTimes();for(const k of Object.keys(w)){const N=w[k];E=Math.max(E,N);S[k]=N}}S[this.path]=E}if(!this.initialScan){for(const E of this.watchers.values()){for(const k of E){const E=k.path;if(!Object.prototype.hasOwnProperty.call(S,E)){S[E]=null}}}}return S}getTimeInfoEntries(){if(this._cachedTimeInfoEntries!==undefined)return this._cachedTimeInfoEntries;const S=new Map;let E=this.lastWatchEvent;for(const[k,w]of this.files){fixupEntryAccuracy(w);E=Math.max(E,w.safeTime);S.set(k,w)}if(this.nestedWatching){for(const k of this.directories.values()){const w=k.directoryWatcher.getTimeInfoEntries();for(const[k,N]of w){if(N){E=Math.max(E,N.safeTime)}S.set(k,N)}}S.set(this.path,{safeTime:E})}else{for(const E of this.directories.keys()){S.set(E,ee)}S.set(this.path,ee)}if(!this.initialScan){for(const E of this.watchers.values()){for(const k of E){const E=k.path;if(!S.has(E)){S.set(E,null)}}}this._cachedTimeInfoEntries=S}return S}close(){this.closed=true;this.initialScan=false;if(this.watcher){this.watcher.close();this.watcher=null}if(this.nestedWatching){for(const S of this.directories.values()){S.close()}this.directories.clear()}if(this.parentWatcher){this.parentWatcher.close();this.parentWatcher=null}this.emit("closed")}}S.exports=DirectoryWatcher;S.exports.EXISTANCE_ONLY_TIME_ENTRY=ee;function fixupEntryAccuracy(S){if(S.accuracy>te){S.safeTime=S.safeTime-S.accuracy+te;S.accuracy=te}}function ensureFsAccuracy(S){if(!S)return;if(te>1&&S%1!==0)te=1;else if(te>10&&S%10!==0)te=10;else if(te>100&&S%100!==0)te=100}},99181:(S,E,k)=>{"use strict";const w=k(35747);const N=k(85622);const j=new Set(["EINVAL","ENOENT"]);if(process.platform==="win32")j.add("UNKNOWN");class LinkResolver{constructor(){this.cache=new Map}resolve(S){const E=this.cache.get(S);if(E!==undefined){return E}const k=N.dirname(S);if(k===S){const E=Object.freeze([S]);this.cache.set(S,E);return E}const q=this.resolve(k);let ee=S;if(q[0]!==k){const E=N.basename(S);ee=N.resolve(q[0],E)}try{const E=w.readlinkSync(ee);const k=N.resolve(q[0],E);const j=this.resolve(k);let te;if(j.length>1&&q.length>1){const S=new Set(j);S.add(ee);for(let E=1;E1){te=q.slice();te[0]=j[0];te.push(ee);Object.freeze(te)}else if(j.length>1){te=j.slice();te.push(ee);Object.freeze(te)}else{te=Object.freeze([j[0],ee])}this.cache.set(S,te);return te}catch(E){if(!j.has(E.code)){throw E}const k=q.slice();k[0]=ee;Object.freeze(k);this.cache.set(S,k);return k}}}S.exports=LinkResolver},53982:(S,E,k)=>{"use strict";const w=k(85622);const N=k(56755);class WatcherManager{constructor(S){this.options=S;this.directoryWatchers=new Map}getDirectoryWatcher(S){const E=this.directoryWatchers.get(S);if(E===undefined){const E=new N(this,S,this.options);this.directoryWatchers.set(S,E);E.on("closed",(()=>{this.directoryWatchers.delete(S)}));return E}return E}watchFile(S,E){const k=w.dirname(S);if(k===S)return null;return this.getDirectoryWatcher(k).watch(S,E)}watchDirectory(S,E){return this.getDirectoryWatcher(S).watch(S,E)}}const j=new WeakMap;S.exports=S=>{const E=j.get(S);if(E!==undefined)return E;const k=new WatcherManager(S);j.set(S,k);return k};S.exports.WatcherManager=WatcherManager},27601:(S,E,k)=>{"use strict";const w=k(85622);S.exports=(S,E)=>{const k=new Map;for(const[E,w]of S){k.set(E,{filePath:E,parent:undefined,children:undefined,entries:1,active:true,value:w})}let N=k.size;for(const S of k.values()){const E=w.dirname(S.filePath);if(E!==S.filePath){let w=k.get(E);if(w===undefined){w={filePath:E,parent:undefined,children:[S],entries:S.entries,active:false,value:undefined};k.set(E,w);S.parent=w}else{S.parent=w;if(w.children===undefined){w.children=[S]}else{w.children.push(S)}do{w.entries+=S.entries;w=w.parent}while(w)}}}while(N>E){const S=N-E;let w=undefined;let j=Infinity;for(const N of k.values()){if(N.entries<=1||!N.children||!N.parent)continue;if(N.children.length===0)continue;if(N.children.length===1&&!N.value)continue;const k=N.entries-1>=S?N.entries-1-S:S-N.entries+1+E*.3;if(k{"use strict";const w=k(35747);const N=k(85622);const{EventEmitter:j}=k(28614);const q=k(27601);const ee=k(12087).platform()==="darwin";const te=k(12087).platform()==="win32";const ne=ee||te;const ae=+process.env.WATCHPACK_WATCHER_LIMIT||(ee?2e3:1e4);const _e=!!process.env.WATCHPACK_RECURSIVE_WATCHER_LOGGING;let ve=false;let Ee=0;const Te=new Map;const Ce=new Map;const we=new Map;const Ne=new Map;class DirectWatcher{constructor(S){this.filePath=S;this.watchers=new Set;this.watcher=undefined;try{const E=w.watch(S);this.watcher=E;E.on("change",((S,E)=>{for(const k of this.watchers){k.emit("change",S,E)}}));E.on("error",(S=>{for(const E of this.watchers){E.emit("error",S)}}))}catch(S){process.nextTick((()=>{for(const E of this.watchers){E.emit("error",S)}}))}Ee++}add(S){Ne.set(S,this);this.watchers.add(S)}remove(S){this.watchers.delete(S);if(this.watchers.size===0){we.delete(this.filePath);Ee--;if(this.watcher)this.watcher.close()}}getWatchers(){return this.watchers}}class RecursiveWatcher{constructor(S){this.rootPath=S;this.mapWatcherToPath=new Map;this.mapPathToWatchers=new Map;this.watcher=undefined;try{const E=w.watch(S,{recursive:true});this.watcher=E;E.on("change",((S,E)=>{if(!E){if(_e){process.stderr.write(`[watchpack] dispatch ${S} event in recursive watcher (${this.rootPath}) to all watchers\n`)}for(const E of this.mapWatcherToPath.keys()){E.emit("change",S)}}else{const k=N.dirname(E);const w=this.mapPathToWatchers.get(k);if(_e){process.stderr.write(`[watchpack] dispatch ${S} event in recursive watcher (${this.rootPath}) for '${E}' to ${w?w.size:0} watchers\n`)}if(w===undefined)return;for(const k of w){k.emit("change",S,N.basename(E))}}}));E.on("error",(S=>{for(const E of this.mapWatcherToPath.keys()){E.emit("error",S)}}))}catch(S){process.nextTick((()=>{for(const E of this.mapWatcherToPath.keys()){E.emit("error",S)}}))}Ee++;if(_e){process.stderr.write(`[watchpack] created recursive watcher at ${S}\n`)}}add(S,E){Ne.set(E,this);const k=S.slice(this.rootPath.length+1)||".";this.mapWatcherToPath.set(E,k);const w=this.mapPathToWatchers.get(k);if(w===undefined){const S=new Set;S.add(E);this.mapPathToWatchers.set(k,S)}else{w.add(E)}}remove(S){const E=this.mapWatcherToPath.get(S);if(!E)return;this.mapWatcherToPath.delete(S);const k=this.mapPathToWatchers.get(E);k.delete(S);if(k.size===0){this.mapPathToWatchers.delete(E)}if(this.mapWatcherToPath.size===0){Ce.delete(this.rootPath);Ee--;if(this.watcher)this.watcher.close();if(_e){process.stderr.write(`[watchpack] closed recursive watcher at ${this.rootPath}\n`)}}}getWatchers(){return this.mapWatcherToPath}}class Watcher extends j{close(){if(Te.has(this)){Te.delete(this);return}const S=Ne.get(this);S.remove(this);Ne.delete(this)}}const createDirectWatcher=S=>{const E=we.get(S);if(E!==undefined)return E;const k=new DirectWatcher(S);we.set(S,k);return k};const createRecursiveWatcher=S=>{const E=Ce.get(S);if(E!==undefined)return E;const k=new RecursiveWatcher(S);Ce.set(S,k);return k};const execute=()=>{const S=new Map;const addWatcher=(E,k)=>{const w=S.get(k);if(w===undefined){S.set(k,E)}else if(Array.isArray(w)){w.push(E)}else{S.set(k,[w,E])}};for(const[S,E]of Te){addWatcher(S,E)}Te.clear();if(!ne||ae-Ee>=S.size){for(const[E,k]of S){const S=createDirectWatcher(E);if(Array.isArray(k)){for(const E of k)S.add(E)}else{S.add(k)}}return}for(const S of Ce.values()){for(const[E,k]of S.getWatchers()){addWatcher(E,N.join(S.rootPath,k))}}for(const S of we.values()){for(const E of S.getWatchers()){addWatcher(E,S.filePath)}}const E=q(S,ae*.9);for(const[S,k]of E){if(k.size===1){for(const[S,E]of k){const k=createDirectWatcher(E);const w=Ne.get(S);if(w===k)continue;k.add(S);if(w!==undefined)w.remove(S)}}else{const E=new Set(k.values());if(E.size>1){const E=createRecursiveWatcher(S);for(const[S,w]of k){const k=Ne.get(S);if(k===E)continue;E.add(w,S);if(k!==undefined)k.remove(S)}}else{for(const S of E){const E=createDirectWatcher(S);for(const S of k.keys()){const k=Ne.get(S);if(k===E)continue;E.add(S);if(k!==undefined)k.remove(S)}}}}}};E.watch=S=>{const E=new Watcher;const k=we.get(S);if(k!==undefined){k.add(E);return E}let w=S;for(;;){const k=Ce.get(w);if(k!==undefined){k.add(S,E);return E}const j=N.dirname(w);if(j===w)break;w=j}Te.set(E,S);if(!ve)execute();return E};E.batch=S=>{ve=true;try{S()}finally{ve=false;execute()}};E.getNumberOfWatchers=()=>Ee},92512:(S,E,k)=>{"use strict";const w=k(53982);const N=k(99181);const j=k(28614).EventEmitter;const q=k(70554);const ee=k(68862);let te;const ne=[];const ae={};function addWatchersToSet(S,E){for(const k of S){if(k!==true&&!E.has(k.directoryWatcher)){E.add(k.directoryWatcher);addWatchersToSet(k.directoryWatcher.directories.values(),E)}}}const stringToRegexp=S=>{const E=q(S,{globstar:true,extended:true}).source;const k=E.slice(0,E.length-1)+"(?:$|\\/)";return k};const ignoredToRegexp=S=>{if(Array.isArray(S)){return new RegExp(S.map((S=>stringToRegexp(S))).join("|"))}else if(typeof S==="string"){return new RegExp(stringToRegexp(S))}else if(S instanceof RegExp){return S}else if(S){throw new Error(`Invalid option for 'ignored': ${S}`)}else{return undefined}};const normalizeOptions=S=>({followSymlinks:!!S.followSymlinks,ignored:ignoredToRegexp(S.ignored),poll:S.poll});const _e=new WeakMap;const cachedNormalizeOptions=S=>{const E=_e.get(S);if(E!==undefined)return E;const k=normalizeOptions(S);_e.set(S,k);return k};class Watchpack extends j{constructor(S){super();if(!S)S=ae;this.options=S;this.aggregateTimeout=typeof S.aggregateTimeout==="number"?S.aggregateTimeout:200;this.watcherOptions=cachedNormalizeOptions(S);this.watcherManager=w(this.watcherOptions);this.fileWatchers=new Map;this.directoryWatchers=new Map;this.startTime=undefined;this.paused=false;this.aggregatedChanges=new Set;this.aggregatedRemovals=new Set;this.aggregateTimer=undefined;this._onTimeout=this._onTimeout.bind(this)}watch(S,E,k){let w,j,q,te;if(!E){({files:w=ne,directories:j=ne,missing:q=ne,startTime:te}=S)}else{w=S;j=E;q=ne;te=k}this.paused=false;const ae=this.fileWatchers;const _e=this.directoryWatchers;const ve=this.watcherOptions.ignored;const Ee=ve?S=>!ve.test(S.replace(/\\/g,"/")):()=>true;const addToMap=(S,E,k)=>{const w=S.get(E);if(w===undefined){S.set(E,[k])}else{w.push(k)}};const Te=new Map;const Ce=new Map;const we=new Set;if(this.watcherOptions.followSymlinks){const S=new N;for(const E of w){if(Ee(E)){for(const k of S.resolve(E)){if(E===k||Ee(k)){addToMap(Te,k,E)}}}}for(const E of q){if(Ee(E)){for(const k of S.resolve(E)){if(E===k||Ee(k)){we.add(E);addToMap(Te,k,E)}}}}for(const E of j){if(Ee(E)){let k=true;for(const w of S.resolve(E)){if(Ee(w)){addToMap(k?Ce:Te,w,E)}k=false}}}}else{for(const S of w){if(Ee(S)){addToMap(Te,S,S)}}for(const S of q){if(Ee(S)){we.add(S);addToMap(Te,S,S)}}for(const S of j){if(Ee(S)){addToMap(Ce,S,S)}}}const Ne=new Map;const Ie=new Map;const setupFileWatcher=(S,E,k)=>{S.on("initial-missing",(S=>{for(const E of k){if(!we.has(E))this._onRemove(E,E,S)}}));S.on("change",((S,E)=>{for(const w of k){this._onChange(w,S,w,E)}}));S.on("remove",(S=>{for(const E of k){this._onRemove(E,E,S)}}));Ne.set(E,S)};const setupDirectoryWatcher=(S,E,k)=>{S.on("initial-missing",(S=>{for(const E of k){this._onRemove(E,E,S)}}));S.on("change",((S,E,w)=>{for(const N of k){this._onChange(N,E,S,w)}}));S.on("remove",(S=>{for(const E of k){this._onRemove(E,E,S)}}));Ie.set(E,S)};const Fe=[];const Oe=[];for(const[S,E]of ae){if(!Te.has(S)){E.close()}else{Fe.push(E)}}for(const[S,E]of _e){if(!Ce.has(S)){E.close()}else{Oe.push(E)}}ee.batch((()=>{for(const[S,E]of Te){const k=this.watcherManager.watchFile(S,te);if(k){setupFileWatcher(k,S,E)}}for(const[S,E]of Ce){const k=this.watcherManager.watchDirectory(S,te);if(k){setupDirectoryWatcher(k,S,E)}}}));for(const S of Fe)S.close();for(const S of Oe)S.close();this.fileWatchers=Ne;this.directoryWatchers=Ie;this.startTime=te}close(){this.paused=true;if(this.aggregateTimer)clearTimeout(this.aggregateTimer);for(const S of this.fileWatchers.values())S.close();for(const S of this.directoryWatchers.values())S.close();this.fileWatchers.clear();this.directoryWatchers.clear()}pause(){this.paused=true;if(this.aggregateTimer)clearTimeout(this.aggregateTimer)}getTimes(){const S=new Set;addWatchersToSet(this.fileWatchers.values(),S);addWatchersToSet(this.directoryWatchers.values(),S);const E=Object.create(null);for(const k of S){const S=k.getTimes();for(const k of Object.keys(S))E[k]=S[k]}return E}getTimeInfoEntries(){if(te===undefined){te=k(56755).EXISTANCE_ONLY_TIME_ENTRY}const S=new Set;addWatchersToSet(this.fileWatchers.values(),S);addWatchersToSet(this.directoryWatchers.values(),S);const E=new Map;for(const k of S){const S=k.getTimeInfoEntries();for(const[k,w]of S){if(E.has(k)){if(w===te)continue;const S=E.get(k);if(S===w)continue;if(S!==te){E.set(k,Object.assign({},S,w));continue}}E.set(k,w)}}return E}getAggregated(){if(this.aggregateTimer){clearTimeout(this.aggregateTimer);this.aggregateTimer=undefined}const S=this.aggregatedChanges;const E=this.aggregatedRemovals;this.aggregatedChanges=new Set;this.aggregatedRemovals=new Set;return{changes:S,removals:E}}_onChange(S,E,k,w){k=k||S;if(!this.paused){this.emit("change",k,E,w);if(this.aggregateTimer)clearTimeout(this.aggregateTimer);this.aggregateTimer=setTimeout(this._onTimeout,this.aggregateTimeout)}this.aggregatedRemovals.delete(S);this.aggregatedChanges.add(S)}_onRemove(S,E,k){E=E||S;if(!this.paused){this.emit("remove",E,k);if(this.aggregateTimer)clearTimeout(this.aggregateTimer);this.aggregateTimer=setTimeout(this._onTimeout,this.aggregateTimeout)}this.aggregatedChanges.delete(S);this.aggregatedRemovals.add(S)}_onTimeout(){this.aggregateTimer=undefined;const S=this.aggregatedChanges;const E=this.aggregatedRemovals;this.aggregatedChanges=new Set;this.aggregatedRemovals=new Set;this.emit("aggregated",S,E)}}S.exports=Watchpack},32323:(S,E,k)=>{"use strict";const w=k(76150);const N=k(81627);const j=k(66298);const q=k(87250);const{toConstantDependency:ee,evaluateToString:te}=k(48472);const ne=k(64255);const ae=k(75948);const _e={__webpack_require__:{expr:w.require,req:[w.require],type:"function",assign:false},__webpack_public_path__:{expr:w.publicPath,req:[w.publicPath],type:"string",assign:true},__webpack_base_uri__:{expr:w.baseURI,req:[w.baseURI],type:"string",assign:true},__webpack_modules__:{expr:w.moduleFactories,req:[w.moduleFactories],type:"object",assign:false},__webpack_chunk_load__:{expr:w.ensureChunk,req:[w.ensureChunk],type:"function",assign:true},__non_webpack_require__:{expr:"require",req:null,type:undefined,assign:true},__webpack_nonce__:{expr:w.scriptNonce,req:[w.scriptNonce],type:"string",assign:true},__webpack_hash__:{expr:`${w.getFullHash}()`,req:[w.getFullHash],type:"string",assign:false},__webpack_chunkname__:{expr:w.chunkName,req:[w.chunkName],type:"string",assign:false},__webpack_get_script_filename__:{expr:w.getChunkScriptFilename,req:[w.getChunkScriptFilename],type:"function",assign:true},__webpack_runtime_id__:{expr:w.runtimeId,req:[w.runtimeId],assign:false},"require.onError":{expr:w.uncaughtErrorHandler,req:[w.uncaughtErrorHandler],type:undefined,assign:true},__system_context__:{expr:w.systemContext,req:[w.systemContext],type:"object",assign:false},__webpack_share_scopes__:{expr:w.shareScopeMap,req:[w.shareScopeMap],type:"object",assign:false},__webpack_init_sharing__:{expr:w.initializeSharing,req:[w.initializeSharing],type:"function",assign:true}};class APIPlugin{apply(S){S.hooks.compilation.tap("APIPlugin",((S,{normalModuleFactory:E})=>{S.dependencyTemplates.set(j,new j.Template);S.hooks.runtimeRequirementInTree.for(w.chunkName).tap("APIPlugin",(E=>{S.addRuntimeModule(E,new ne(E.name));return true}));S.hooks.runtimeRequirementInTree.for(w.getFullHash).tap("APIPlugin",((E,k)=>{S.addRuntimeModule(E,new ae);return true}));const handler=S=>{Object.keys(_e).forEach((E=>{const k=_e[E];S.hooks.expression.for(E).tap("APIPlugin",ee(S,k.expr,k.req));if(k.assign===false){S.hooks.assign.for(E).tap("APIPlugin",(S=>{const k=new N(`${E} must not be assigned`);k.loc=S.loc;throw k}))}if(k.type){S.hooks.evaluateTypeof.for(E).tap("APIPlugin",te(k.type))}}));S.hooks.expression.for("__webpack_layer__").tap("APIPlugin",(E=>{const k=new j(JSON.stringify(S.state.module.layer),E.range);k.loc=E.loc;S.state.module.addPresentationalDependency(k);return true}));S.hooks.evaluateIdentifier.for("__webpack_layer__").tap("APIPlugin",(E=>(S.state.module.layer===null?(new q).setNull():(new q).setString(S.state.module.layer)).setRange(E.range)));S.hooks.evaluateTypeof.for("__webpack_layer__").tap("APIPlugin",(E=>(new q).setString(S.state.module.layer===null?"object":"string").setRange(E.range)))};E.hooks.parser.for("javascript/auto").tap("APIPlugin",handler);E.hooks.parser.for("javascript/dynamic").tap("APIPlugin",handler);E.hooks.parser.for("javascript/esm").tap("APIPlugin",handler)}))}}S.exports=APIPlugin},75884:(S,E,k)=>{"use strict";const w=k(81627);const N=/at ([a-zA-Z0-9_.]*)/;function createMessage(S){return`Abstract method${S?" "+S:""}. Must be overridden.`}function Message(){this.stack=undefined;Error.captureStackTrace(this);const S=this.stack.split("\n")[3].match(N);this.message=S&&S[1]?createMessage(S[1]):createMessage()}class AbstractMethodError extends w{constructor(){super((new Message).message);this.name="AbstractMethodError"}}S.exports=AbstractMethodError},98221:(S,E,k)=>{"use strict";const w=k(32448);const N=k(56202);class AsyncDependenciesBlock extends w{constructor(S,E,k){super();if(typeof S==="string"){S={name:S}}else if(!S){S={name:undefined}}this.groupOptions=S;this.loc=E;this.request=k;this.parent=undefined}get chunkName(){return this.groupOptions.name}set chunkName(S){this.groupOptions.name=S}updateHash(S,E){const{chunkGraph:k}=E;S.update(JSON.stringify(this.groupOptions));const w=k.getBlockChunkGroup(this);S.update(w?w.id:"");super.updateHash(S,E)}serialize(S){const{write:E}=S;E(this.groupOptions);E(this.loc);E(this.request);super.serialize(S)}deserialize(S){const{read:E}=S;this.groupOptions=E();this.loc=E();this.request=E();super.deserialize(S)}}N(AsyncDependenciesBlock,"webpack/lib/AsyncDependenciesBlock");Object.defineProperty(AsyncDependenciesBlock.prototype,"module",{get(){throw new Error("module property was removed from AsyncDependenciesBlock (it's not needed)")},set(){throw new Error("module property was removed from AsyncDependenciesBlock (it's not needed)")}});S.exports=AsyncDependenciesBlock},21357:(S,E,k)=>{"use strict";const w=k(81627);class AsyncDependencyToInitialChunkError extends w{constructor(S,E,k){super(`It's not allowed to load an initial chunk on demand. The chunk name "${S}" is already used by an entrypoint.`);this.name="AsyncDependencyToInitialChunkError";this.module=E;this.loc=k}}S.exports=AsyncDependencyToInitialChunkError},20383:(S,E,k)=>{"use strict";const w=k(62355);const N=k(53520);const j=k(88281);class AutomaticPrefetchPlugin{apply(S){S.hooks.compilation.tap("AutomaticPrefetchPlugin",((S,{normalModuleFactory:E})=>{S.dependencyFactories.set(j,E)}));let E=null;S.hooks.afterCompile.tap("AutomaticPrefetchPlugin",(S=>{E=[];for(const k of S.modules){if(k instanceof N){E.push({context:k.context,request:k.request})}}}));S.hooks.make.tapAsync("AutomaticPrefetchPlugin",((k,N)=>{if(!E)return N();w.forEach(E,((E,w)=>{k.addModuleChain(E.context||S.context,new j(`!!${E.request}`),w)}),(S=>{E=null;N(S)}))}))}}S.exports=AutomaticPrefetchPlugin},58779:(S,E,k)=>{"use strict";const{ConcatSource:w}=k(48135);const N=k(3080);const j=k(70354);const q=k(58159);const ee=k(35817);const te=ee(k(50879),(()=>k(4837)),{name:"Banner Plugin",baseDataPath:"options"});const wrapComment=S=>{if(!S.includes("\n")){return q.toComment(S)}return`/*!\n * ${S.replace(/\*\//g,"* /").split("\n").join("\n * ").replace(/\s+\n/g,"\n").trimRight()}\n */`};class BannerPlugin{constructor(S){if(typeof S==="string"||typeof S==="function"){S={banner:S}}te(S);this.options=S;const E=S.banner;if(typeof E==="function"){const S=E;this.banner=this.options.raw?S:E=>wrapComment(S(E))}else{const S=this.options.raw?E:wrapComment(E);this.banner=()=>S}}apply(S){const E=this.options;const k=this.banner;const q=j.matchObject.bind(undefined,E);S.hooks.compilation.tap("BannerPlugin",(S=>{S.hooks.processAssets.tap({name:"BannerPlugin",stage:N.PROCESS_ASSETS_STAGE_ADDITIONS},(()=>{for(const N of S.chunks){if(E.entryOnly&&!N.canBeInitial()){continue}for(const E of N.files){if(!q(E)){continue}const j={chunk:N,filename:E};const ee=S.getPath(k,j);S.updateAsset(E,(S=>new w(ee,"\n",S)))}}}))}))}}S.exports=BannerPlugin},54725:(S,E,k)=>{"use strict";const{AsyncParallelHook:w,AsyncSeriesBailHook:N,SyncHook:j}=k(92960);const{makeWebpackError:q,makeWebpackErrorCallback:ee}=k(3728);const needCalls=(S,E)=>k=>{if(--S===0){return E(k)}if(k&&S>0){S=0;return E(k)}};class Cache{constructor(){this.hooks={get:new N(["identifier","etag","gotHandlers"]),store:new w(["identifier","etag","data"]),storeBuildDependencies:new w(["dependencies"]),beginIdle:new j([]),endIdle:new w([]),shutdown:new w([])}}get(S,E,k){const w=[];this.hooks.get.callAsync(S,E,w,((S,E)=>{if(S){k(q(S,"Cache.hooks.get"));return}if(E===null){E=undefined}if(w.length>1){const S=needCalls(w.length,(()=>k(null,E)));for(const k of w){k(E,S)}}else if(w.length===1){w[0](E,(()=>k(null,E)))}else{k(null,E)}}))}store(S,E,k,w){this.hooks.store.callAsync(S,E,k,ee(w,"Cache.hooks.store"))}storeBuildDependencies(S,E){this.hooks.storeBuildDependencies.callAsync(S,ee(E,"Cache.hooks.storeBuildDependencies"))}beginIdle(){this.hooks.beginIdle.call()}endIdle(S){this.hooks.endIdle.callAsync(ee(S,"Cache.hooks.endIdle"))}shutdown(S){this.hooks.shutdown.callAsync(ee(S,"Cache.hooks.shutdown"))}}Cache.STAGE_MEMORY=-10;Cache.STAGE_DEFAULT=0;Cache.STAGE_DISK=10;Cache.STAGE_NETWORK=20;S.exports=Cache},6503:(S,E,k)=>{"use strict";const w=k(62355);const N=k(77034);const j=k(10168);class MultiItemCache{constructor(S){this._items=S;if(S.length===1)return S[0]}get(S){const next=E=>{this._items[E].get(((k,w)=>{if(k)return S(k);if(w!==undefined)return S(null,w);if(++E>=this._items.length)return S();next(E)}))};next(0)}getPromise(){const next=S=>this._items[S].getPromise().then((E=>{if(E!==undefined)return E;if(++SE.store(S,k)),E)}storePromise(S){return Promise.all(this._items.map((E=>E.storePromise(S)))).then((()=>{}))}}class ItemCacheFacade{constructor(S,E,k){this._cache=S;this._name=E;this._etag=k}get(S){this._cache.get(this._name,this._etag,S)}getPromise(){return new Promise(((S,E)=>{this._cache.get(this._name,this._etag,((k,w)=>{if(k){E(k)}else{S(w)}}))}))}store(S,E){this._cache.store(this._name,this._etag,S,E)}storePromise(S){return new Promise(((E,k)=>{this._cache.store(this._name,this._etag,S,(S=>{if(S){k(S)}else{E()}}))}))}provide(S,E){this.get(((k,w)=>{if(k)return E(k);if(w!==undefined)return w;S(((S,k)=>{if(S)return E(S);this.store(k,(S=>{if(S)return E(S);E(null,k)}))}))}))}async providePromise(S){const E=await this.getPromise();if(E!==undefined)return E;const k=await S();await this.storePromise(k);return k}}class CacheFacade{constructor(S,E){this._cache=S;this._name=E}getChildCache(S){return new CacheFacade(this._cache,`${this._name}|${S}`)}getItemCache(S,E){return new ItemCacheFacade(this._cache,`${this._name}|${S}`,E)}getLazyHashedEtag(S){return N(S)}mergeEtags(S,E){return j(S,E)}get(S,E,k){this._cache.get(`${this._name}|${S}`,E,k)}getPromise(S,E){return new Promise(((k,w)=>{this._cache.get(`${this._name}|${S}`,E,((S,E)=>{if(S){w(S)}else{k(E)}}))}))}store(S,E,k,w){this._cache.store(`${this._name}|${S}`,E,k,w)}storePromise(S,E,k){return new Promise(((w,N)=>{this._cache.store(`${this._name}|${S}`,E,k,(S=>{if(S){N(S)}else{w()}}))}))}provide(S,E,k,w){this.get(S,E,((N,j)=>{if(N)return w(N);if(j!==undefined)return j;k(((k,N)=>{if(k)return w(k);this.store(S,E,N,(S=>{if(S)return w(S);w(null,N)}))}))}))}async providePromise(S,E,k){const w=await this.getPromise(S,E);if(w!==undefined)return w;const N=await k();await this.storePromise(S,E,N);return N}}S.exports=CacheFacade;S.exports.ItemCacheFacade=ItemCacheFacade;S.exports.MultiItemCache=MultiItemCache},41673:(S,E,k)=>{"use strict";const w=k(81627);const sortModules=S=>S.sort(((S,E)=>{const k=S.identifier();const w=E.identifier();if(kw)return 1;return 0}));const createModulesListMessage=(S,E)=>S.map((S=>{let k=`* ${S.identifier()}`;const w=Array.from(E.getIncomingConnectionsByOriginModule(S).keys()).filter((S=>S));if(w.length>0){k+=`\n Used by ${w.length} module(s), i. e.`;k+=`\n ${w[0].identifier()}`}return k})).join("\n");class CaseSensitiveModulesWarning extends w{constructor(S,E){const k=sortModules(Array.from(S));const w=createModulesListMessage(k,E);super(`There are multiple modules with names that only differ in casing.\nThis can lead to unexpected behavior when compiling on a filesystem with other case-semantic.\nUse equal casing. Compare these module identifiers:\n${w}`);this.name="CaseSensitiveModulesWarning";this.module=k[0]}}S.exports=CaseSensitiveModulesWarning},62433:(S,E,k)=>{"use strict";const w=k(45137);const N=k(71452);const{intersect:j}=k(26221);const q=k(16102);const ee=k(14146);const{compareModulesByIdentifier:te,compareChunkGroupsByIndex:ne,compareModulesById:ae}=k(68673);const{createArrayToSetDeprecationSet:_e}=k(16595);const{mergeRuntime:ve}=k(37416);const Ee=_e("chunk.files");let Te=1e3;class Chunk{constructor(S){this.id=null;this.ids=null;this.debugId=Te++;this.name=S;this.idNameHints=new q;this.preventIntegration=false;this.filenameTemplate=undefined;this._groups=new q(undefined,ne);this.runtime=undefined;this.files=new Ee;this.auxiliaryFiles=new Set;this.rendered=false;this.hash=undefined;this.contentHash=Object.create(null);this.renderedHash=undefined;this.chunkReason=undefined;this.extraAsync=false}get entryModule(){const S=Array.from(w.getChunkGraphForChunk(this,"Chunk.entryModule","DEP_WEBPACK_CHUNK_ENTRY_MODULE").getChunkEntryModulesIterable(this));if(S.length===0){return undefined}else if(S.length===1){return S[0]}else{throw new Error("Module.entryModule: Multiple entry modules are not supported by the deprecated API (Use the new ChunkGroup API)")}}hasEntryModule(){return w.getChunkGraphForChunk(this,"Chunk.hasEntryModule","DEP_WEBPACK_CHUNK_HAS_ENTRY_MODULE").getNumberOfEntryModules(this)>0}addModule(S){const E=w.getChunkGraphForChunk(this,"Chunk.addModule","DEP_WEBPACK_CHUNK_ADD_MODULE");if(E.isModuleInChunk(S,this))return false;E.connectChunkAndModule(this,S);return true}removeModule(S){w.getChunkGraphForChunk(this,"Chunk.removeModule","DEP_WEBPACK_CHUNK_REMOVE_MODULE").disconnectChunkAndModule(this,S)}getNumberOfModules(){return w.getChunkGraphForChunk(this,"Chunk.getNumberOfModules","DEP_WEBPACK_CHUNK_GET_NUMBER_OF_MODULES").getNumberOfChunkModules(this)}get modulesIterable(){const S=w.getChunkGraphForChunk(this,"Chunk.modulesIterable","DEP_WEBPACK_CHUNK_MODULES_ITERABLE");return S.getOrderedChunkModulesIterable(this,te)}compareTo(S){const E=w.getChunkGraphForChunk(this,"Chunk.compareTo","DEP_WEBPACK_CHUNK_COMPARE_TO");return E.compareChunks(this,S)}containsModule(S){return w.getChunkGraphForChunk(this,"Chunk.containsModule","DEP_WEBPACK_CHUNK_CONTAINS_MODULE").isModuleInChunk(S,this)}getModules(){return w.getChunkGraphForChunk(this,"Chunk.getModules","DEP_WEBPACK_CHUNK_GET_MODULES").getChunkModules(this)}remove(){const S=w.getChunkGraphForChunk(this,"Chunk.remove","DEP_WEBPACK_CHUNK_REMOVE");S.disconnectChunk(this);this.disconnectFromGroups()}moveModule(S,E){const k=w.getChunkGraphForChunk(this,"Chunk.moveModule","DEP_WEBPACK_CHUNK_MOVE_MODULE");k.disconnectChunkAndModule(this,S);k.connectChunkAndModule(E,S)}integrate(S){const E=w.getChunkGraphForChunk(this,"Chunk.integrate","DEP_WEBPACK_CHUNK_INTEGRATE");if(E.canChunksBeIntegrated(this,S)){E.integrateChunks(this,S);return true}else{return false}}canBeIntegrated(S){const E=w.getChunkGraphForChunk(this,"Chunk.canBeIntegrated","DEP_WEBPACK_CHUNK_CAN_BE_INTEGRATED");return E.canChunksBeIntegrated(this,S)}isEmpty(){const S=w.getChunkGraphForChunk(this,"Chunk.isEmpty","DEP_WEBPACK_CHUNK_IS_EMPTY");return S.getNumberOfChunkModules(this)===0}modulesSize(){const S=w.getChunkGraphForChunk(this,"Chunk.modulesSize","DEP_WEBPACK_CHUNK_MODULES_SIZE");return S.getChunkModulesSize(this)}size(S={}){const E=w.getChunkGraphForChunk(this,"Chunk.size","DEP_WEBPACK_CHUNK_SIZE");return E.getChunkSize(this,S)}integratedSize(S,E){const k=w.getChunkGraphForChunk(this,"Chunk.integratedSize","DEP_WEBPACK_CHUNK_INTEGRATED_SIZE");return k.getIntegratedChunksSize(this,S,E)}getChunkModuleMaps(S){const E=w.getChunkGraphForChunk(this,"Chunk.getChunkModuleMaps","DEP_WEBPACK_CHUNK_GET_CHUNK_MODULE_MAPS");const k=Object.create(null);const N=Object.create(null);for(const w of this.getAllAsyncChunks()){let j;for(const q of E.getOrderedChunkModulesIterable(w,ae(E))){if(S(q)){if(j===undefined){j=[];k[w.id]=j}const S=E.getModuleId(q);j.push(S);N[S]=E.getRenderedModuleHash(q,undefined)}}}return{id:k,hash:N}}hasModuleInGraph(S,E){const k=w.getChunkGraphForChunk(this,"Chunk.hasModuleInGraph","DEP_WEBPACK_CHUNK_HAS_MODULE_IN_GRAPH");return k.hasModuleInGraph(this,S,E)}getChunkMaps(S){const E=Object.create(null);const k=Object.create(null);const w=Object.create(null);for(const N of this.getAllAsyncChunks()){E[N.id]=S?N.hash:N.renderedHash;for(const S of Object.keys(N.contentHash)){if(!k[S]){k[S]=Object.create(null)}k[S][N.id]=N.contentHash[S]}if(N.name){w[N.id]=N.name}}return{hash:E,contentHash:k,name:w}}hasRuntime(){for(const S of this._groups){if(S instanceof N&&S.getRuntimeChunk()===this){return true}}return false}canBeInitial(){for(const S of this._groups){if(S.isInitial())return true}return false}isOnlyInitial(){if(this._groups.size<=0)return false;for(const S of this._groups){if(!S.isInitial())return false}return true}getEntryOptions(){for(const S of this._groups){if(S instanceof N){return S.options}}return undefined}addGroup(S){this._groups.add(S)}removeGroup(S){this._groups.delete(S)}isInGroup(S){return this._groups.has(S)}getNumberOfGroups(){return this._groups.size}get groupsIterable(){this._groups.sort();return this._groups}disconnectFromGroups(){for(const S of this._groups){S.removeChunk(this)}}split(S){for(const E of this._groups){E.insertChunk(S,this);S.addGroup(E)}for(const E of this.idNameHints){S.idNameHints.add(E)}S.runtime=ve(S.runtime,this.runtime)}updateHash(S,E){S.update(`${this.id} `);S.update(this.ids?this.ids.join(","):"");S.update(`${this.name||""} `);const k=new ee;for(const S of E.getChunkModulesIterable(this)){k.add(E.getModuleHash(S,this.runtime))}k.updateHash(S);const w=E.getChunkEntryModulesWithChunkGroupIterable(this);for(const[k,N]of w){S.update("entry");S.update(`${E.getModuleId(k)}`);S.update(N.id)}}getAllAsyncChunks(){const S=new Set;const E=new Set;const k=j(Array.from(this.groupsIterable,(S=>new Set(S.chunks))));const w=new Set(this.groupsIterable);for(const E of w){for(const k of E.childrenIterable){if(k instanceof N){w.add(k)}else{S.add(k)}}}for(const w of S){for(const S of w.chunks){if(!k.has(S)){E.add(S)}}for(const E of w.childrenIterable){S.add(E)}}return E}getAllInitialChunks(){const S=new Set;const E=new Set(this.groupsIterable);for(const k of E){if(k.isInitial()){for(const E of k.chunks)S.add(E);for(const S of k.childrenIterable)E.add(S)}}return S}getAllReferencedChunks(){const S=new Set(this.groupsIterable);const E=new Set;for(const k of S){for(const S of k.chunks){E.add(S)}for(const E of k.childrenIterable){S.add(E)}}return E}getAllReferencedAsyncEntrypoints(){const S=new Set(this.groupsIterable);const E=new Set;for(const k of S){for(const S of k.asyncEntrypointsIterable){E.add(S)}for(const E of k.childrenIterable){S.add(E)}}return E}hasAsyncChunks(){const S=new Set;const E=j(Array.from(this.groupsIterable,(S=>new Set(S.chunks))));for(const E of this.groupsIterable){for(const k of E.childrenIterable){S.add(k)}}for(const k of S){for(const S of k.chunks){if(!E.has(S)){return true}}for(const E of k.childrenIterable){S.add(E)}}return false}getChildIdsByOrders(S,E){const k=new Map;for(const S of this.groupsIterable){if(S.chunks[S.chunks.length-1]===this){for(const E of S.childrenIterable){for(const S of Object.keys(E.options)){if(S.endsWith("Order")){const w=S.substr(0,S.length-"Order".length);let N=k.get(w);if(N===undefined){N=[];k.set(w,N)}N.push({order:E.options[S],group:E})}}}}}const w=Object.create(null);for(const[N,j]of k){j.sort(((E,k)=>{const w=k.order-E.order;if(w!==0)return w;return E.group.compareTo(S,k.group)}));const k=new Set;for(const w of j){for(const N of w.group.chunks){if(E&&!E(N,S))continue;k.add(N.id)}}if(k.size>0){w[N]=Array.from(k)}}return w}getChildrenOfTypeInOrder(S,E){const k=[];for(const S of this.groupsIterable){for(const w of S.childrenIterable){const N=w.options[E];if(N===undefined)continue;k.push({order:N,group:S,childGroup:w})}}if(k.length===0)return undefined;k.sort(((E,k)=>{const w=k.order-E.order;if(w!==0)return w;return E.group.compareTo(S,k.group)}));const w=[];let N;for(const{group:S,childGroup:E}of k){if(N&&N.onChunks===S.chunks){for(const S of E.chunks){N.chunks.add(S)}}else{w.push(N={onChunks:S.chunks,chunks:new Set(E.chunks)})}}return w}getChildIdsByOrdersMap(S,E,k){const w=Object.create(null);const addChildIdsByOrdersToMap=E=>{const N=E.getChildIdsByOrders(S,k);for(const S of Object.keys(N)){let k=w[S];if(k===undefined){w[S]=k=Object.create(null)}k[E.id]=N[S]}};if(E){const S=new Set;for(const E of this.groupsIterable){for(const k of E.chunks){S.add(k)}}for(const E of S){addChildIdsByOrdersToMap(E)}}for(const S of this.getAllAsyncChunks()){addChildIdsByOrdersToMap(S)}return w}}S.exports=Chunk},45137:(S,E,k)=>{"use strict";const w=k(31669);const N=k(71452);const j=k(79900);const{first:q}=k(26221);const ee=k(16102);const{compareModulesById:te,compareIterables:ne,compareModulesByIdentifier:ae,concatComparators:_e,compareSelect:ve,compareIds:Ee}=k(68673);const Te=k(35891);const Ce=k(62598);const{RuntimeSpecMap:we,RuntimeSpecSet:Ne,runtimeToString:Ie,mergeRuntime:Fe,forEachRuntime:Oe}=k(37416);const Me=new Set;const Re=BigInt(0);const Le=ne(ae);class ModuleHashInfo{constructor(S,E){this.hash=S;this.renderedHash=E}}const getArray=S=>Array.from(S);const getModuleRuntimes=S=>{const E=new Ne;for(const k of S){E.add(k.runtime)}return E};const modulesBySourceType=S=>{const E=new Map;for(const k of S){for(const S of k.getSourceTypes()){let w=E.get(S);if(w===undefined){w=new ee;E.set(S,w)}w.add(k)}}for(const[k,w]of E){if(w.size===S.size){E.set(k,S)}}return E};const Be=new WeakMap;const createOrderedArrayFunction=S=>{let E=Be.get(S);if(E!==undefined)return E;E=E=>{E.sortWith(S);return Array.from(E)};Be.set(S,E);return E};const getModulesSize=S=>{let E=0;for(const k of S){for(const S of k.getSourceTypes()){E+=k.size(S)}}return E};const getModulesSizes=S=>{let E=Object.create(null);for(const k of S){for(const S of k.getSourceTypes()){E[S]=(E[S]||0)+k.size(S)}}return E};const isAvailableChunk=(S,E)=>{const k=new Set(E.groupsIterable);for(const E of k){if(S.isInGroup(E))continue;if(E.isInitial())return false;for(const S of E.parentsIterable){k.add(S)}}return true};class ChunkGraphModule{constructor(){this.chunks=new ee;this.entryInChunks=undefined;this.runtimeInChunks=undefined;this.hashes=undefined;this.id=null;this.runtimeRequirements=undefined;this.graphHashes=undefined;this.graphHashesWithConnections=undefined}}class ChunkGraphChunk{constructor(){this.modules=new ee;this.entryModules=new Map;this.runtimeModules=new ee;this.fullHashModules=undefined;this.runtimeRequirements=undefined;this.runtimeRequirementsInTree=new Set}}class ChunkGraph{constructor(S){this._modules=new WeakMap;this._chunks=new WeakMap;this._blockChunkGroups=new WeakMap;this._runtimeIds=new Map;this.moduleGraph=S;this._getGraphRoots=this._getGraphRoots.bind(this);this._cacheChunkGraphModuleKey1=undefined;this._cacheChunkGraphModuleValue1=undefined;this._cacheChunkGraphModuleKey2=undefined;this._cacheChunkGraphModuleValue2=undefined;this._cacheChunkGraphChunkKey1=undefined;this._cacheChunkGraphChunkValue1=undefined;this._cacheChunkGraphChunkKey2=undefined;this._cacheChunkGraphChunkValue2=undefined}_getChunkGraphModule(S){if(this._cacheChunkGraphModuleKey1===S)return this._cacheChunkGraphModuleValue1;if(this._cacheChunkGraphModuleKey2===S)return this._cacheChunkGraphModuleValue2;let E=this._modules.get(S);if(E===undefined){E=new ChunkGraphModule;this._modules.set(S,E)}this._cacheChunkGraphModuleKey2=this._cacheChunkGraphModuleKey1;this._cacheChunkGraphModuleValue2=this._cacheChunkGraphModuleValue1;this._cacheChunkGraphModuleKey1=S;this._cacheChunkGraphModuleValue1=E;return E}_getChunkGraphChunk(S){if(this._cacheChunkGraphChunkKey1===S)return this._cacheChunkGraphChunkValue1;if(this._cacheChunkGraphChunkKey2===S)return this._cacheChunkGraphChunkValue2;let E=this._chunks.get(S);if(E===undefined){E=new ChunkGraphChunk;this._chunks.set(S,E)}this._cacheChunkGraphChunkKey2=this._cacheChunkGraphChunkKey1;this._cacheChunkGraphChunkValue2=this._cacheChunkGraphChunkValue1;this._cacheChunkGraphChunkKey1=S;this._cacheChunkGraphChunkValue1=E;return E}_getGraphRoots(S){const{moduleGraph:E}=this;return Array.from(Ce(S,(S=>{const k=new Set;const addDependencies=S=>{for(const w of E.getOutgoingConnections(S)){if(!w.module)continue;const S=w.getActiveState(undefined);if(S===false)continue;if(S===j.TRANSITIVE_ONLY){addDependencies(w.module);continue}k.add(w.module)}};addDependencies(S);return k}))).sort(ae)}connectChunkAndModule(S,E){const k=this._getChunkGraphModule(E);const w=this._getChunkGraphChunk(S);k.chunks.add(S);w.modules.add(E)}disconnectChunkAndModule(S,E){const k=this._getChunkGraphModule(E);const w=this._getChunkGraphChunk(S);w.modules.delete(E);k.chunks.delete(S)}disconnectChunk(S){const E=this._getChunkGraphChunk(S);for(const k of E.modules){const E=this._getChunkGraphModule(k);E.chunks.delete(S)}E.modules.clear();S.disconnectFromGroups();ChunkGraph.clearChunkGraphForChunk(S)}attachModules(S,E){const k=this._getChunkGraphChunk(S);for(const S of E){k.modules.add(S)}}attachRuntimeModules(S,E){const k=this._getChunkGraphChunk(S);for(const S of E){k.runtimeModules.add(S)}}attachFullHashModules(S,E){const k=this._getChunkGraphChunk(S);if(k.fullHashModules===undefined)k.fullHashModules=new Set;for(const S of E){k.fullHashModules.add(S)}}replaceModule(S,E){const k=this._getChunkGraphModule(S);const w=this._getChunkGraphModule(E);for(const N of k.chunks){const k=this._getChunkGraphChunk(N);k.modules.delete(S);k.modules.add(E);w.chunks.add(N)}k.chunks.clear();if(k.entryInChunks!==undefined){if(w.entryInChunks===undefined){w.entryInChunks=new Set}for(const N of k.entryInChunks){const k=this._getChunkGraphChunk(N);const j=k.entryModules.get(S);const q=new Map;for(const[w,N]of k.entryModules){if(w===S){q.set(E,j)}else{q.set(w,N)}}k.entryModules=q;w.entryInChunks.add(N)}k.entryInChunks=undefined}if(k.runtimeInChunks!==undefined){if(w.runtimeInChunks===undefined){w.runtimeInChunks=new Set}for(const N of k.runtimeInChunks){const k=this._getChunkGraphChunk(N);k.runtimeModules.delete(S);k.runtimeModules.add(E);w.runtimeInChunks.add(N);if(k.fullHashModules!==undefined&&k.fullHashModules.has(S)){k.fullHashModules.delete(S);k.fullHashModules.add(E)}}k.runtimeInChunks=undefined}}isModuleInChunk(S,E){const k=this._getChunkGraphChunk(E);return k.modules.has(S)}isModuleInChunkGroup(S,E){for(const k of E.chunks){if(this.isModuleInChunk(S,k))return true}return false}isEntryModule(S){const E=this._getChunkGraphModule(S);return E.entryInChunks!==undefined}getModuleChunksIterable(S){const E=this._getChunkGraphModule(S);return E.chunks}getOrderedModuleChunksIterable(S,E){const k=this._getChunkGraphModule(S);k.chunks.sortWith(E);return k.chunks}getModuleChunks(S){const E=this._getChunkGraphModule(S);return E.chunks.getFromCache(getArray)}getNumberOfModuleChunks(S){const E=this._getChunkGraphModule(S);return E.chunks.size}getModuleRuntimes(S){const E=this._getChunkGraphModule(S);return E.chunks.getFromUnorderedCache(getModuleRuntimes)}getNumberOfChunkModules(S){const E=this._getChunkGraphChunk(S);return E.modules.size}getChunkModulesIterable(S){const E=this._getChunkGraphChunk(S);return E.modules}getChunkModulesIterableBySourceType(S,E){const k=this._getChunkGraphChunk(S);const w=k.modules.getFromUnorderedCache(modulesBySourceType).get(E);return w}getOrderedChunkModulesIterable(S,E){const k=this._getChunkGraphChunk(S);k.modules.sortWith(E);return k.modules}getOrderedChunkModulesIterableBySourceType(S,E,k){const w=this._getChunkGraphChunk(S);const N=w.modules.getFromUnorderedCache(modulesBySourceType).get(E);if(N===undefined)return undefined;N.sortWith(k);return N}getChunkModules(S){const E=this._getChunkGraphChunk(S);return E.modules.getFromUnorderedCache(getArray)}getOrderedChunkModules(S,E){const k=this._getChunkGraphChunk(S);const w=createOrderedArrayFunction(E);return k.modules.getFromUnorderedCache(w)}getChunkModuleIdMap(S,E,k=false){const w=Object.create(null);for(const N of k?S.getAllReferencedChunks():S.getAllAsyncChunks()){let S;for(const k of this.getOrderedChunkModulesIterable(N,te(this))){if(E(k)){if(S===undefined){S=[];w[N.id]=S}const E=this.getModuleId(k);S.push(E)}}}return w}getChunkModuleRenderedHashMap(S,E,k=0,w=false){const N=Object.create(null);for(const j of w?S.getAllReferencedChunks():S.getAllAsyncChunks()){let S;for(const w of this.getOrderedChunkModulesIterable(j,te(this))){if(E(w)){if(S===undefined){S=Object.create(null);N[j.id]=S}const E=this.getModuleId(w);const q=this.getRenderedModuleHash(w,j.runtime);S[E]=k?q.slice(0,k):q}}}return N}getChunkConditionMap(S,E){const k=Object.create(null);for(const w of S.getAllReferencedChunks()){k[w.id]=E(w,this)}return k}hasModuleInGraph(S,E,k){const w=new Set(S.groupsIterable);const N=new Set;for(const S of w){for(const w of S.chunks){if(!N.has(w)){N.add(w);if(!k||k(w,this)){for(const S of this.getChunkModulesIterable(w)){if(E(S)){return true}}}}}for(const E of S.childrenIterable){w.add(E)}}return false}compareChunks(S,E){const k=this._getChunkGraphChunk(S);const w=this._getChunkGraphChunk(E);if(k.modules.size>w.modules.size)return-1;if(k.modules.size0||this.getNumberOfEntryModules(E)>0){return false}return true}integrateChunks(S,E){if(S.name&&E.name){if(this.getNumberOfEntryModules(S)>0===this.getNumberOfEntryModules(E)>0){if(S.name.length!==E.name.length){S.name=S.name.length0){S.name=E.name}}else if(E.name){S.name=E.name}for(const k of E.idNameHints){S.idNameHints.add(k)}S.runtime=Fe(S.runtime,E.runtime);for(const k of this.getChunkModules(E)){this.disconnectChunkAndModule(E,k);this.connectChunkAndModule(S,k)}for(const[k,w]of Array.from(this.getChunkEntryModulesWithChunkGroupIterable(E))){this.disconnectChunkAndEntryModule(E,k);this.connectChunkAndEntryModule(S,k,w)}for(const k of E.groupsIterable){k.replaceChunk(E,S);S.addGroup(k);E.removeGroup(k)}ChunkGraph.clearChunkGraphForChunk(E)}isEntryModuleInChunk(S,E){const k=this._getChunkGraphChunk(E);return k.entryModules.has(S)}connectChunkAndEntryModule(S,E,k){const w=this._getChunkGraphModule(E);const N=this._getChunkGraphChunk(S);if(w.entryInChunks===undefined){w.entryInChunks=new Set}w.entryInChunks.add(S);N.entryModules.set(E,k)}connectChunkAndRuntimeModule(S,E){const k=this._getChunkGraphModule(E);const w=this._getChunkGraphChunk(S);if(k.runtimeInChunks===undefined){k.runtimeInChunks=new Set}k.runtimeInChunks.add(S);w.runtimeModules.add(E)}addFullHashModuleToChunk(S,E){const k=this._getChunkGraphChunk(S);if(k.fullHashModules===undefined)k.fullHashModules=new Set;k.fullHashModules.add(E)}disconnectChunkAndEntryModule(S,E){const k=this._getChunkGraphModule(E);const w=this._getChunkGraphChunk(S);k.entryInChunks.delete(S);if(k.entryInChunks.size===0){k.entryInChunks=undefined}w.entryModules.delete(E)}disconnectChunkAndRuntimeModule(S,E){const k=this._getChunkGraphModule(E);const w=this._getChunkGraphChunk(S);k.runtimeInChunks.delete(S);if(k.runtimeInChunks.size===0){k.runtimeInChunks=undefined}w.runtimeModules.delete(E)}disconnectEntryModule(S){const E=this._getChunkGraphModule(S);for(const k of E.entryInChunks){const E=this._getChunkGraphChunk(k);E.entryModules.delete(S)}E.entryInChunks=undefined}disconnectEntries(S){const E=this._getChunkGraphChunk(S);for(const k of E.entryModules.keys()){const E=this._getChunkGraphModule(k);E.entryInChunks.delete(S);if(E.entryInChunks.size===0){E.entryInChunks=undefined}}E.entryModules.clear()}getNumberOfEntryModules(S){const E=this._getChunkGraphChunk(S);return E.entryModules.size}getNumberOfRuntimeModules(S){const E=this._getChunkGraphChunk(S);return E.runtimeModules.size}getChunkEntryModulesIterable(S){const E=this._getChunkGraphChunk(S);return E.entryModules.keys()}getChunkEntryDependentChunksIterable(S){const E=new Set;for(const k of S.groupsIterable){if(k instanceof N){const w=k.getEntrypointChunk();const N=this._getChunkGraphChunk(w);for(const k of N.entryModules.values()){for(const N of k.chunks){if(N!==S&&N!==w&&!N.hasRuntime()){E.add(N)}}}}}return E}hasChunkEntryDependentChunks(S){const E=this._getChunkGraphChunk(S);for(const k of E.entryModules.values()){for(const E of k.chunks){if(E!==S){return true}}}return false}getChunkRuntimeModulesIterable(S){const E=this._getChunkGraphChunk(S);return E.runtimeModules}getChunkRuntimeModulesInOrder(S){const E=this._getChunkGraphChunk(S);const k=Array.from(E.runtimeModules);k.sort(_e(ve((S=>S.stage),Ee),ae));return k}getChunkFullHashModulesIterable(S){const E=this._getChunkGraphChunk(S);return E.fullHashModules}getChunkFullHashModulesSet(S){const E=this._getChunkGraphChunk(S);return E.fullHashModules}getChunkEntryModulesWithChunkGroupIterable(S){const E=this._getChunkGraphChunk(S);return E.entryModules}getBlockChunkGroup(S){return this._blockChunkGroups.get(S)}connectBlockAndChunkGroup(S,E){this._blockChunkGroups.set(S,E);E.addBlock(S)}disconnectChunkGroup(S){for(const E of S.blocksIterable){this._blockChunkGroups.delete(E)}S._blocks.clear()}getModuleId(S){const E=this._getChunkGraphModule(S);return E.id}setModuleId(S,E){const k=this._getChunkGraphModule(S);k.id=E}getRuntimeId(S){return this._runtimeIds.get(S)}setRuntimeId(S,E){this._runtimeIds.set(S,E)}_getModuleHashInfo(S,E,k){if(!E){throw new Error(`Module ${S.identifier()} has no hash info for runtime ${Ie(k)} (hashes not set at all)`)}else if(k===undefined){const k=new Set(E.values());if(k.size!==1){throw new Error(`No unique hash info entry for unspecified runtime for ${S.identifier()} (existing runtimes: ${Array.from(E.keys(),(S=>Ie(S))).join(", ")}).\nCaller might not support runtime-dependent code generation (opt-out via optimization.usedExports: "global").`)}return q(k)}else{const w=E.get(k);if(!w){throw new Error(`Module ${S.identifier()} has no hash info for runtime ${Ie(k)} (available runtimes ${Array.from(E.keys(),Ie).join(", ")})`)}return w}}hasModuleHashes(S,E){const k=this._getChunkGraphModule(S);const w=k.hashes;return w&&w.has(E)}getModuleHash(S,E){const k=this._getChunkGraphModule(S);const w=k.hashes;return this._getModuleHashInfo(S,w,E).hash}getRenderedModuleHash(S,E){const k=this._getChunkGraphModule(S);const w=k.hashes;return this._getModuleHashInfo(S,w,E).renderedHash}setModuleHashes(S,E,k,w){const N=this._getChunkGraphModule(S);if(N.hashes===undefined){N.hashes=new we}N.hashes.set(E,new ModuleHashInfo(k,w))}addModuleRuntimeRequirements(S,E,k){const w=this._getChunkGraphModule(S);const N=w.runtimeRequirements;if(N===undefined){const S=new we;S.set(E,k);w.runtimeRequirements=S;return}N.update(E,(S=>{if(S===undefined){return k}else if(S.size>=k.size){for(const E of k)S.add(E);return S}else{for(const E of S)k.add(E);return k}}))}addChunkRuntimeRequirements(S,E){const k=this._getChunkGraphChunk(S);const w=k.runtimeRequirements;if(w===undefined){k.runtimeRequirements=E}else if(w.size>=E.size){for(const S of E)w.add(S)}else{for(const S of w)E.add(S);k.runtimeRequirements=E}}addTreeRuntimeRequirements(S,E){const k=this._getChunkGraphChunk(S);const w=k.runtimeRequirementsInTree;for(const S of E)w.add(S)}getModuleRuntimeRequirements(S,E){const k=this._getChunkGraphModule(S);const w=k.runtimeRequirements&&k.runtimeRequirements.get(E);return w===undefined?Me:w}getChunkRuntimeRequirements(S){const E=this._getChunkGraphChunk(S);const k=E.runtimeRequirements;return k===undefined?Me:k}getModuleGraphHash(S,E,k=true){const w=this._getChunkGraphModule(S);return k?this._getModuleGraphHashWithConnections(w,S,E):this._getModuleGraphHashBigInt(w,S,E).toString(16)}getModuleGraphHashBigInt(S,E,k=true){const w=this._getChunkGraphModule(S);return k?BigInt(`0x${this._getModuleGraphHashWithConnections(w,S,E)}`):this._getModuleGraphHashBigInt(w,S,E)}_getModuleGraphHashBigInt(S,E,k){if(S.graphHashes===undefined){S.graphHashes=new we}const w=S.graphHashes.provide(k,(()=>{const w=Te("md4");w.update(`${S.id}`);w.update(`${this.moduleGraph.isAsync(E)}`);this.moduleGraph.getExportsInfo(E).updateHash(w,k);return BigInt(`0x${w.digest("hex")}`)}));return w}_getModuleGraphHashWithConnections(S,E,k){if(S.graphHashesWithConnections===undefined){S.graphHashesWithConnections=new we}const activeStateToString=S=>{if(S===false)return"F";if(S===true)return"T";if(S===j.TRANSITIVE_ONLY)return"O";throw new Error("Not implemented active state")};const w=E.buildMeta&&E.buildMeta.strictHarmonyModule;return S.graphHashesWithConnections.provide(k,(()=>{const N=this._getModuleGraphHashBigInt(S,E,k).toString(16);const j=this.moduleGraph.getOutgoingConnections(E);const ee=new Set;const te=new Map;const processConnection=(S,E)=>{const k=S.module;E+=k.getExportsType(this.moduleGraph,w);if(E==="Tnamespace")ee.add(k);else{const S=te.get(E);if(S===undefined){te.set(E,k)}else if(S instanceof Set){S.add(k)}else if(S!==k){te.set(E,new Set([S,k]))}}};if(k===undefined||typeof k==="string"){for(const S of j){const E=S.getActiveState(k);if(E===false)continue;processConnection(S,E===true?"T":"O")}}else{for(const S of j){const E=new Set;let w="";Oe(k,(k=>{const N=S.getActiveState(k);E.add(N);w+=activeStateToString(N)+k}),true);if(E.size===1){const S=q(E);if(S===false)continue;w=activeStateToString(S)}processConnection(S,w)}}if(ee.size===0&&te.size===0)return N;const ne=te.size>1?Array.from(te).sort((([S],[E])=>S{ae.update(this._getModuleGraphHashBigInt(this._getChunkGraphModule(S),S,k).toString(16))};const addModulesToHash=S=>{let E=Re;for(const w of S){E=E^this._getModuleGraphHashBigInt(this._getChunkGraphModule(w),w,k)}ae.update(E.toString(16))};if(ee.size===1)addModuleToHash(ee.values().next().value);else if(ee.size>1)addModulesToHash(ee);for(const[S,E]of ne){ae.update(S);if(E instanceof Set){addModulesToHash(E)}else{addModuleToHash(E)}}ae.update(N);return ae.digest("hex")}))}getTreeRuntimeRequirements(S){const E=this._getChunkGraphChunk(S);return E.runtimeRequirementsInTree}static getChunkGraphForModule(S,E,k){const N=Ue.get(E);if(N)return N(S);const j=w.deprecate((S=>{const k=je.get(S);if(!k)throw new Error(E+": There was no ChunkGraph assigned to the Module for backward-compat (Use the new API)");return k}),E+": Use new ChunkGraph API",k);Ue.set(E,j);return j(S)}static setChunkGraphForModule(S,E){je.set(S,E)}static clearChunkGraphForModule(S){je.delete(S)}static getChunkGraphForChunk(S,E,k){const N=We.get(E);if(N)return N(S);const j=w.deprecate((S=>{const k=ze.get(S);if(!k)throw new Error(E+"There was no ChunkGraph assigned to the Chunk for backward-compat (Use the new API)");return k}),E+": Use new ChunkGraph API",k);We.set(E,j);return j(S)}static setChunkGraphForChunk(S,E){ze.set(S,E)}static clearChunkGraphForChunk(S){ze.delete(S)}}const je=new WeakMap;const ze=new WeakMap;const Ue=new Map;const We=new Map;S.exports=ChunkGraph},84558:(S,E,k)=>{"use strict";const w=k(31669);const N=k(16102);const{compareLocations:j,compareChunks:q,compareIterables:ee}=k(68673);let te=5e3;const getArray=S=>Array.from(S);const sortById=(S,E)=>{if(S.id{const k=S.module?S.module.identifier():"";const w=E.module?E.module.identifier():"";if(kw)return 1;return j(S.loc,E.loc)};class ChunkGroup{constructor(S){if(typeof S==="string"){S={name:S}}else if(!S){S={name:undefined}}this.groupDebugId=te++;this.options=S;this._children=new N(undefined,sortById);this._parents=new N(undefined,sortById);this._asyncEntrypoints=new N(undefined,sortById);this._blocks=new N;this.chunks=[];this.origins=[];this._modulePreOrderIndices=new Map;this._modulePostOrderIndices=new Map;this.index=undefined}addOptions(S){for(const E of Object.keys(S)){if(this.options[E]===undefined){this.options[E]=S[E]}else if(this.options[E]!==S[E]){if(E.endsWith("Order")){this.options[E]=Math.max(this.options[E],S[E])}else{throw new Error(`ChunkGroup.addOptions: No option merge strategy for ${E}`)}}}}get name(){return this.options.name}set name(S){this.options.name=S}get debugId(){return Array.from(this.chunks,(S=>S.debugId)).join("+")}get id(){return Array.from(this.chunks,(S=>S.id)).join("+")}unshiftChunk(S){const E=this.chunks.indexOf(S);if(E>0){this.chunks.splice(E,1);this.chunks.unshift(S)}else if(E<0){this.chunks.unshift(S);return true}return false}insertChunk(S,E){const k=this.chunks.indexOf(S);const w=this.chunks.indexOf(E);if(w<0){throw new Error("before chunk not found")}if(k>=0&&k>w){this.chunks.splice(k,1);this.chunks.splice(w,0,S)}else if(k<0){this.chunks.splice(w,0,S);return true}return false}pushChunk(S){const E=this.chunks.indexOf(S);if(E>=0){return false}this.chunks.push(S);return true}replaceChunk(S,E){const k=this.chunks.indexOf(S);if(k<0)return false;const w=this.chunks.indexOf(E);if(w<0){this.chunks[k]=E;return true}if(w=0){this.chunks.splice(E,1);return true}return false}isInitial(){return false}addChild(S){const E=this._children.size;this._children.add(S);return E!==this._children.size}getChildren(){return this._children.getFromCache(getArray)}getNumberOfChildren(){return this._children.size}get childrenIterable(){return this._children}removeChild(S){if(!this._children.has(S)){return false}this._children.delete(S);S.removeParent(this);return true}addParent(S){if(!this._parents.has(S)){this._parents.add(S);return true}return false}getParents(){return this._parents.getFromCache(getArray)}getNumberOfParents(){return this._parents.size}hasParent(S){return this._parents.has(S)}get parentsIterable(){return this._parents}removeParent(S){if(this._parents.delete(S)){S.removeChild(this);return true}return false}addAsyncEntrypoint(S){const E=this._asyncEntrypoints.size;this._asyncEntrypoints.add(S);return E!==this._asyncEntrypoints.size}get asyncEntrypointsIterable(){return this._asyncEntrypoints}getBlocks(){return this._blocks.getFromCache(getArray)}getNumberOfBlocks(){return this._blocks.size}hasBlock(S){return this._blocks.has(S)}get blocksIterable(){return this._blocks}addBlock(S){if(!this._blocks.has(S)){this._blocks.add(S);return true}return false}addOrigin(S,E,k){this.origins.push({module:S,loc:E,request:k})}getFiles(){const S=new Set;for(const E of this.chunks){for(const k of E.files){S.add(k)}}return Array.from(S)}remove(){for(const S of this._parents){S._children.delete(this);for(const E of this._children){E.addParent(S);S.addChild(E)}}for(const S of this._children){S._parents.delete(this)}for(const S of this.chunks){S.removeGroup(this)}}sortItems(){this.origins.sort(sortOrigin)}compareTo(S,E){if(this.chunks.length>E.chunks.length)return-1;if(this.chunks.length{const w=k.order-S.order;if(w!==0)return w;return S.group.compareTo(E,k.group)}));w[S]=N.map((S=>S.group))}return w}setModulePreOrderIndex(S,E){this._modulePreOrderIndices.set(S,E)}getModulePreOrderIndex(S){return this._modulePreOrderIndices.get(S)}setModulePostOrderIndex(S,E){this._modulePostOrderIndices.set(S,E)}getModulePostOrderIndex(S){return this._modulePostOrderIndices.get(S)}checkConstraints(){const S=this;for(const E of S._children){if(!E._parents.has(S)){throw new Error(`checkConstraints: child missing parent ${S.debugId} -> ${E.debugId}`)}}for(const E of S._parents){if(!E._children.has(S)){throw new Error(`checkConstraints: parent missing child ${E.debugId} <- ${S.debugId}`)}}}}ChunkGroup.prototype.getModuleIndex=w.deprecate(ChunkGroup.prototype.getModulePreOrderIndex,"ChunkGroup.getModuleIndex was renamed to getModulePreOrderIndex","DEP_WEBPACK_CHUNK_GROUP_GET_MODULE_INDEX");ChunkGroup.prototype.getModuleIndex2=w.deprecate(ChunkGroup.prototype.getModulePostOrderIndex,"ChunkGroup.getModuleIndex2 was renamed to getModulePostOrderIndex","DEP_WEBPACK_CHUNK_GROUP_GET_MODULE_INDEX_2");S.exports=ChunkGroup},44445:(S,E,k)=>{"use strict";const w=k(81627);class ChunkRenderError extends w{constructor(S,E,k){super();this.name="ChunkRenderError";this.error=k;this.message=k.message;this.details=k.stack;this.file=E;this.chunk=S}}S.exports=ChunkRenderError},13454:(S,E,k)=>{"use strict";const w=k(31669);const N=k(91671);const j=N((()=>k(18161)));class ChunkTemplate{constructor(S,E){this._outputOptions=S||{};this.hooks=Object.freeze({renderManifest:{tap:w.deprecate(((S,k)=>{E.hooks.renderManifest.tap(S,((S,E)=>{if(E.chunk.hasRuntime())return S;return k(S,E)}))}),"ChunkTemplate.hooks.renderManifest is deprecated (use Compilation.hooks.renderManifest instead)","DEP_WEBPACK_CHUNK_TEMPLATE_RENDER_MANIFEST")},modules:{tap:w.deprecate(((S,k)=>{j().getCompilationHooks(E).renderChunk.tap(S,((S,w)=>k(S,E.moduleTemplates.javascript,w)))}),"ChunkTemplate.hooks.modules is deprecated (use JavascriptModulesPlugin.getCompilationHooks().renderChunk instead)","DEP_WEBPACK_CHUNK_TEMPLATE_MODULES")},render:{tap:w.deprecate(((S,k)=>{j().getCompilationHooks(E).renderChunk.tap(S,((S,w)=>k(S,E.moduleTemplates.javascript,w)))}),"ChunkTemplate.hooks.render is deprecated (use JavascriptModulesPlugin.getCompilationHooks().renderChunk instead)","DEP_WEBPACK_CHUNK_TEMPLATE_RENDER")},renderWithEntry:{tap:w.deprecate(((S,k)=>{j().getCompilationHooks(E).render.tap(S,((S,E)=>{if(E.chunkGraph.getNumberOfEntryModules(E.chunk)===0||E.chunk.hasRuntime()){return S}return k(S,E.chunk)}))}),"ChunkTemplate.hooks.renderWithEntry is deprecated (use JavascriptModulesPlugin.getCompilationHooks().render instead)","DEP_WEBPACK_CHUNK_TEMPLATE_RENDER_WITH_ENTRY")},hash:{tap:w.deprecate(((S,k)=>{E.hooks.fullHash.tap(S,k)}),"ChunkTemplate.hooks.hash is deprecated (use Compilation.hooks.fullHash instead)","DEP_WEBPACK_CHUNK_TEMPLATE_HASH")},hashForChunk:{tap:w.deprecate(((S,k)=>{j().getCompilationHooks(E).chunkHash.tap(S,((S,E,w)=>{if(S.hasRuntime())return;k(E,S,w)}))}),"ChunkTemplate.hooks.hashForChunk is deprecated (use JavascriptModulesPlugin.getCompilationHooks().chunkHash instead)","DEP_WEBPACK_CHUNK_TEMPLATE_HASH_FOR_CHUNK")}})}}Object.defineProperty(ChunkTemplate.prototype,"outputOptions",{get:w.deprecate((function(){return this._outputOptions}),"ChunkTemplate.outputOptions is deprecated (use Compilation.outputOptions instead)","DEP_WEBPACK_CHUNK_TEMPLATE_OUTPUT_OPTIONS")});S.exports=ChunkTemplate},61666:(S,E,k)=>{"use strict";const w=k(62355);const{SyncBailHook:N}=k(92960);const j=k(3080);const q=k(35817);const{join:ee}=k(95396);const te=k(2117);const ne=q(undefined,(()=>{const{definitions:S}=k(76518);return{definitions:S,oneOf:[{$ref:"#/definitions/CleanOptions"}]}}),{name:"Clean Plugin",baseDataPath:"options"});const getDiffToFs=(S,E,k,N)=>{const j=new Set;for(const S of k){j.add(S.replace(/(^|\/)[^/]*$/,""))}for(const S of j){j.add(S.replace(/(^|\/)[^/]*$/,""))}const q=new Set;w.forEachLimit(j,10,((w,N)=>{S.readdir(ee(S,E,w),((S,E)=>{if(S){if(S.code==="ENOENT")return N();if(S.code==="ENOTDIR"){q.add(w);return N()}return N(S)}for(const S of E){const E=S;const N=w?`${w}/${E}`:E;if(!j.has(N)&&!k.has(N)){q.add(N)}}N()}))}),(S=>{if(S)return N(S);N(null,q)}))};const getDiffToOldAssets=(S,E)=>{const k=new Set;for(const w of E){if(!S.has(w))k.add(w)}return k};const applyDiff=(S,E,k,w,N,j,q)=>{const log=S=>{if(k){w.info(S)}else{w.log(S)}};const ne=Array.from(N,(S=>({type:"check",filename:S,parent:undefined})));te(ne,10,(({type:N,filename:q,parent:te},ne,ae)=>{const handleError=S=>{if(S.code==="ENOENT"){log(`${q} was removed during cleaning by something else`);handleParent();return ae()}return ae(S)};const handleParent=()=>{if(te&&--te.remaining===0)ne(te.job)};const _e=ee(S,E,q);switch(N){case"check":if(j(q)){log(`${q} will be kept`);return process.nextTick(ae)}S.stat(_e,((E,k)=>{if(E)return handleError(E);if(!k.isDirectory()){ne({type:"unlink",filename:q,parent:te});return ae()}S.readdir(_e,((S,E)=>{if(S)return handleError(S);const k={type:"rmdir",filename:q,parent:te};if(E.length===0){ne(k)}else{const S={remaining:E.length,job:k};for(const k of E){const E=k;if(E.startsWith(".")){log(`${q} will be kept (dot-files will never be removed)`);continue}ne({type:"check",filename:`${q}/${E}`,parent:S})}}return ae()}))}));break;case"rmdir":log(`${q} will be removed`);if(k){handleParent();return process.nextTick(ae)}if(!S.rmdir){w.warn(`${q} can't be removed because output file system doesn't support removing directories (rmdir)`);return process.nextTick(ae)}S.rmdir(_e,(S=>{if(S)return handleError(S);handleParent();ae()}));break;case"unlink":log(`${q} will be removed`);if(k){handleParent();return process.nextTick(ae)}if(!S.unlink){w.warn(`${q} can't be removed because output file system doesn't support removing files (rmdir)`);return process.nextTick(ae)}S.unlink(_e,(S=>{if(S)return handleError(S);handleParent();ae()}));break}}),q)};const ae=new WeakMap;class CleanPlugin{static getCompilationHooks(S){if(!(S instanceof j)){throw new TypeError("The 'compilation' argument must be an instance of Compilation")}let E=ae.get(S);if(E===undefined){E={keep:new N(["ignore"])};ae.set(S,E)}return E}constructor(S={}){ne(S);this.options={dry:false,...S}}apply(S){const{dry:E,keep:k}=this.options;const w=typeof k==="function"?k:typeof k==="string"?S=>S.startsWith(k):typeof k==="object"&&k.test?S=>k.test(S):()=>false;let N;S.hooks.emit.tapAsync({name:"CleanPlugin",stage:100},((k,j)=>{const q=CleanPlugin.getCompilationHooks(k);const ee=k.getLogger("webpack.CleanPlugin");const te=S.outputFileSystem;if(!te.readdir){return j(new Error("CleanPlugin: Output filesystem doesn't support listing directories (readdir)"))}const ne=new Set;for(const S of Object.keys(k.assets)){if(/^[A-Za-z]:\\|^\/|^\\\\/.test(S))continue;let E;let k=S.replace(/\\/g,"/");do{E=k;k=E.replace(/(^|\/)(?!\.\.)[^/]+\/\.\.\//g,"$1")}while(k!==E);if(E.startsWith("../"))continue;ne.add(E)}const ae=k.getPath(S.outputPath,{});const isKept=S=>{const E=q.keep.call(S);if(E!==undefined)return E;return w(S)};const diffCallback=(S,k)=>{if(S){N=undefined;return j(S)}applyDiff(te,ae,E,ee,k,isKept,(S=>{if(S){N=undefined}else{N=ne}j(S)}))};if(N){diffCallback(null,getDiffToOldAssets(ne,N))}else{getDiffToFs(te,ae,ne,diffCallback)}}))}}S.exports=CleanPlugin},93010:(S,E,k)=>{"use strict";const w=k(81627);class CodeGenerationError extends w{constructor(S,E){super();this.name="CodeGenerationError";this.error=E;this.message=E.message;this.details=E.stack;this.module=S}}S.exports=CodeGenerationError},53840:(S,E,k)=>{"use strict";const{provide:w}=k(67585);const{first:N}=k(26221);const j=k(35891);const{runtimeToString:q,RuntimeSpecMap:ee}=k(37416);class CodeGenerationResults{constructor(){this.map=new Map}get(S,E){const k=this.map.get(S);if(k===undefined){throw new Error(`No code generation entry for ${S.identifier()} (existing entries: ${Array.from(this.map.keys(),(S=>S.identifier())).join(", ")})`)}if(E===undefined){if(k.size>1){const E=new Set(k.values());if(E.size!==1){throw new Error(`No unique code generation entry for unspecified runtime for ${S.identifier()} (existing runtimes: ${Array.from(k.keys(),(S=>q(S))).join(", ")}).\nCaller might not support runtime-dependent code generation (opt-out via optimization.usedExports: "global").`)}return N(E)}return k.values().next().value}const w=k.get(E);if(w===undefined){throw new Error(`No code generation entry for runtime ${q(E)} for ${S.identifier()} (existing runtimes: ${Array.from(k.keys(),(S=>q(S))).join(", ")})`)}return w}has(S,E){const k=this.map.get(S);if(k===undefined){return false}if(E!==undefined){return k.has(E)}else if(k.size>1){const S=new Set(k.values());return S.size===1}else{return k.size===1}}getSource(S,E,k){return this.get(S,E).sources.get(k)}getRuntimeRequirements(S,E){return this.get(S,E).runtimeRequirements}getData(S,E,k){const w=this.get(S,E).data;return w===undefined?undefined:w.get(k)}getHash(S,E){const k=this.get(S,E);if(k.hash!==undefined)return k.hash;const w=j("md4");for(const[S,E]of k.sources){w.update(S);E.updateHash(w)}if(k.runtimeRequirements){for(const S of k.runtimeRequirements)w.update(S)}return k.hash=w.digest("hex")}add(S,E,k){const N=w(this.map,S,(()=>new ee));N.set(E,k)}}S.exports=CodeGenerationResults},47207:(S,E,k)=>{"use strict";const w=k(81627);const N=k(56202);class CommentCompilationWarning extends w{constructor(S,E){super(S);this.name="CommentCompilationWarning";this.loc=E}}N(CommentCompilationWarning,"webpack/lib/CommentCompilationWarning");S.exports=CommentCompilationWarning},97489:(S,E,k)=>{"use strict";const w=k(66298);const N=Symbol("nested __webpack_require__");class CompatibilityPlugin{apply(S){S.hooks.compilation.tap("CompatibilityPlugin",((S,{normalModuleFactory:E})=>{S.dependencyTemplates.set(w,new w.Template);E.hooks.parser.for("javascript/auto").tap("CompatibilityPlugin",((S,E)=>{if(E.browserify!==undefined&&!E.browserify)return;S.hooks.call.for("require").tap("CompatibilityPlugin",(E=>{if(E.arguments.length!==2)return;const k=S.evaluateExpression(E.arguments[1]);if(!k.isBoolean())return;if(k.asBool()!==true)return;const N=new w("require",E.callee.range);N.loc=E.loc;if(S.state.current.dependencies.length>0){const E=S.state.current.dependencies[S.state.current.dependencies.length-1];if(E.critical&&E.options&&E.options.request==="."&&E.userRequest==="."&&E.options.recursive)S.state.current.dependencies.pop()}S.state.module.addPresentationalDependency(N);return true}))}));const nestedWebpackRequireHandler=S=>{S.hooks.preStatement.tap("CompatibilityPlugin",(E=>{if(E.type==="FunctionDeclaration"&&E.id&&E.id.name==="__webpack_require__"){const k=`__nested_webpack_require_${E.range[0]}__`;S.tagVariable(E.id.name,N,{name:k,declaration:{updated:false,loc:E.id.loc,range:E.id.range}});return true}}));S.hooks.pattern.for("__webpack_require__").tap("CompatibilityPlugin",(E=>{const k=`__nested_webpack_require_${E.range[0]}__`;S.tagVariable(E.name,N,{name:k,declaration:{updated:false,loc:E.loc,range:E.range}});return true}));S.hooks.expression.for(N).tap("CompatibilityPlugin",(E=>{const{name:k,declaration:N}=S.currentTagData;if(!N.updated){const E=new w(k,N.range);E.loc=N.loc;S.state.module.addPresentationalDependency(E);N.updated=true}const j=new w(k,E.range);j.loc=E.loc;S.state.module.addPresentationalDependency(j);return true}))};E.hooks.parser.for("javascript/auto").tap("CompatibilityPlugin",nestedWebpackRequireHandler);E.hooks.parser.for("javascript/dynamic").tap("CompatibilityPlugin",nestedWebpackRequireHandler);E.hooks.parser.for("javascript/esm").tap("CompatibilityPlugin",nestedWebpackRequireHandler)}))}}S.exports=CompatibilityPlugin},3080:(S,E,k)=>{"use strict";const w=k(62355);const{HookMap:N,SyncHook:j,SyncBailHook:q,SyncWaterfallHook:ee,AsyncSeriesHook:te,AsyncSeriesBailHook:ne,AsyncParallelHook:ae}=k(92960);const _e=k(31669);const{CachedSource:ve}=k(48135);const{MultiItemCache:Ee}=k(6503);const Te=k(62433);const Ce=k(45137);const we=k(84558);const Ne=k(44445);const Ie=k(13454);const Fe=k(93010);const Oe=k(53840);const Me=k(46828);const Re=k(71452);const Le=k(50717);const Be=k(22996);const{connectChunkGroupAndChunk:je,connectChunkGroupParentAndChild:ze}=k(4642);const{makeWebpackError:Ue,tryRunOrWebpackError:We}=k(3728);const $e=k(73694);const qe=k(53453);const Ve=k(82811);const He=k(23280);const Ge=k(75412);const Je=k(54032);const Ke=k(99869);const Qe=k(2210);const Xe=k(31467);const Ye=k(68661);const Ze=k(76150);const et=k(37130);const tt=k(10140);const rt=k(81627);const nt=k(25457);const it=k(44547);const{Logger:ot,LogType:st}=k(78539);const ct=k(87279);const ut=k(30533);const{equals:dt}=k(73910);const pt=k(9738);const ft=k(83379);const{provide:mt}=k(67585);const{cachedCleverMerge:ht}=k(90149);const{compareLocations:_t,concatComparators:yt,compareSelect:vt,compareIds:bt,compareStringsNumeric:xt,compareModulesByIdentifier:St}=k(68673);const Et=k(35891);const{arrayToSetDeprecation:Tt,soonFrozenObjectDeprecation:kt,createFakeHook:Ct}=k(16595);const Dt=k(2117);const{getRuntimeKey:At}=k(37416);const{isSourceEqual:wt}=k(13559);const Pt=Object.freeze({});const Nt="esm";const It=_e.deprecate((S=>k(53520).getCompilationHooks(S).loader),"Compilation.hooks.normalModuleLoader was moved to NormalModule.getCompilationHooks(compilation).loader","DEP_WEBPACK_COMPILATION_NORMAL_MODULE_LOADER_HOOK");const defineRemovedModuleTemplates=S=>{Object.defineProperties(S,{asset:{enumerable:false,configurable:false,get:()=>{throw new rt("Compilation.moduleTemplates.asset has been removed")}},webassembly:{enumerable:false,configurable:false,get:()=>{throw new rt("Compilation.moduleTemplates.webassembly has been removed")}}});S=undefined};const Ft=vt((S=>S.id),bt);const Ot=yt(vt((S=>S.name),bt),vt((S=>S.fullHash),bt));const Mt=vt((S=>`${S.message}`),xt);const Rt=vt((S=>S.module&&S.module.identifier()||""),xt);const Lt=vt((S=>S.loc),_t);const Bt=yt(Rt,Lt,Mt);class Compilation{constructor(S){const getNormalModuleLoader=()=>It(this);const E=new te(["assets"]);let k=new Set;const popNewAssets=S=>{let E=undefined;for(const w of Object.keys(S)){if(k.has(w))continue;if(E===undefined){E=Object.create(null)}E[w]=S[w];k.add(w)}return E};E.intercept({name:"Compilation",call:()=>{k=new Set(Object.keys(this.assets))},register:S=>{const{type:E,name:k}=S;const{fn:w,additionalAssets:N,...j}=S;const q=N===true?w:N;const ee=q?new WeakSet:undefined;switch(E){case"sync":if(q){this.hooks.processAdditionalAssets.tap(k,(S=>{if(ee.has(this.assets))q(S)}))}return{...j,type:"async",fn:(S,E)=>{try{w(S)}catch(S){return E(S)}if(ee!==undefined)ee.add(this.assets);const k=popNewAssets(S);if(k!==undefined){this.hooks.processAdditionalAssets.callAsync(k,E);return}E()}};case"async":if(q){this.hooks.processAdditionalAssets.tapAsync(k,((S,E)=>{if(ee.has(this.assets))return q(S,E);E()}))}return{...j,fn:(S,E)=>{w(S,(k=>{if(k)return E(k);if(ee!==undefined)ee.add(this.assets);const w=popNewAssets(S);if(w!==undefined){this.hooks.processAdditionalAssets.callAsync(w,E);return}E()}))}};case"promise":if(q){this.hooks.processAdditionalAssets.tapPromise(k,(S=>{if(ee.has(this.assets))return q(S);return Promise.resolve()}))}return{...j,fn:S=>{const E=w(S);if(!E||!E.then)return E;return E.then((()=>{if(ee!==undefined)ee.add(this.assets);const E=popNewAssets(S);if(E!==undefined){return this.hooks.processAdditionalAssets.promise(E)}}))}}}}});const w=new j(["assets"]);const createProcessAssetsHook=(S,k,w,N)=>{const errorMessage=E=>`Can't automatically convert plugin using Compilation.hooks.${S} to Compilation.hooks.processAssets because ${E}.\nBREAKING CHANGE: Asset processing hooks in Compilation has been merged into a single Compilation.hooks.processAssets hook.`;const getOptions=S=>{if(typeof S==="string")S={name:S};if(S.stage){throw new Error(errorMessage("it's using the 'stage' option"))}return{...S,stage:k}};return Ct({name:S,intercept(S){throw new Error(errorMessage("it's using 'intercept'"))},tap:(S,k)=>{E.tap(getOptions(S),(()=>k(...w())))},tapAsync:(S,k)=>{E.tapAsync(getOptions(S),((S,E)=>k(...w(),E)))},tapPromise:(S,k)=>{E.tapPromise(getOptions(S),(()=>k(...w())))}},`${S} is deprecated (use Compilation.hooks.processAssets instead and use one of Compilation.PROCESS_ASSETS_STAGE_* as stage option)`,N)};this.hooks=Object.freeze({buildModule:new j(["module"]),rebuildModule:new j(["module"]),failedModule:new j(["module","error"]),succeedModule:new j(["module"]),stillValidModule:new j(["module"]),addEntry:new j(["entry","options"]),failedEntry:new j(["entry","options","error"]),succeedEntry:new j(["entry","options","module"]),dependencyReferencedExports:new ee(["referencedExports","dependency","runtime"]),executeModule:new j(["options","context"]),prepareModuleExecution:new ae(["options","context"]),finishModules:new te(["modules"]),finishRebuildingModule:new te(["module"]),unseal:new j([]),seal:new j([]),beforeChunks:new j([]),afterChunks:new j(["chunks"]),optimizeDependencies:new q(["modules"]),afterOptimizeDependencies:new j(["modules"]),optimize:new j([]),optimizeModules:new q(["modules"]),afterOptimizeModules:new j(["modules"]),optimizeChunks:new q(["chunks","chunkGroups"]),afterOptimizeChunks:new j(["chunks","chunkGroups"]),optimizeTree:new te(["chunks","modules"]),afterOptimizeTree:new j(["chunks","modules"]),optimizeChunkModules:new ne(["chunks","modules"]),afterOptimizeChunkModules:new j(["chunks","modules"]),shouldRecord:new q([]),additionalChunkRuntimeRequirements:new j(["chunk","runtimeRequirements","context"]),runtimeRequirementInChunk:new N((()=>new q(["chunk","runtimeRequirements","context"]))),additionalModuleRuntimeRequirements:new j(["module","runtimeRequirements","context"]),runtimeRequirementInModule:new N((()=>new q(["module","runtimeRequirements","context"]))),additionalTreeRuntimeRequirements:new j(["chunk","runtimeRequirements","context"]),runtimeRequirementInTree:new N((()=>new q(["chunk","runtimeRequirements","context"]))),runtimeModule:new j(["module","chunk"]),reviveModules:new j(["modules","records"]),beforeModuleIds:new j(["modules"]),moduleIds:new j(["modules"]),optimizeModuleIds:new j(["modules"]),afterOptimizeModuleIds:new j(["modules"]),reviveChunks:new j(["chunks","records"]),beforeChunkIds:new j(["chunks"]),chunkIds:new j(["chunks"]),optimizeChunkIds:new j(["chunks"]),afterOptimizeChunkIds:new j(["chunks"]),recordModules:new j(["modules","records"]),recordChunks:new j(["chunks","records"]),optimizeCodeGeneration:new j(["modules"]),beforeModuleHash:new j([]),afterModuleHash:new j([]),beforeCodeGeneration:new j([]),afterCodeGeneration:new j([]),beforeRuntimeRequirements:new j([]),afterRuntimeRequirements:new j([]),beforeHash:new j([]),contentHash:new j(["chunk"]),afterHash:new j([]),recordHash:new j(["records"]),record:new j(["compilation","records"]),beforeModuleAssets:new j([]),shouldGenerateChunkAssets:new q([]),beforeChunkAssets:new j([]),additionalChunkAssets:createProcessAssetsHook("additionalChunkAssets",Compilation.PROCESS_ASSETS_STAGE_ADDITIONAL,(()=>[this.chunks]),"DEP_WEBPACK_COMPILATION_ADDITIONAL_CHUNK_ASSETS"),additionalAssets:createProcessAssetsHook("additionalAssets",Compilation.PROCESS_ASSETS_STAGE_ADDITIONAL,(()=>[])),optimizeChunkAssets:createProcessAssetsHook("optimizeChunkAssets",Compilation.PROCESS_ASSETS_STAGE_OPTIMIZE,(()=>[this.chunks]),"DEP_WEBPACK_COMPILATION_OPTIMIZE_CHUNK_ASSETS"),afterOptimizeChunkAssets:createProcessAssetsHook("afterOptimizeChunkAssets",Compilation.PROCESS_ASSETS_STAGE_OPTIMIZE+1,(()=>[this.chunks]),"DEP_WEBPACK_COMPILATION_AFTER_OPTIMIZE_CHUNK_ASSETS"),optimizeAssets:E,afterOptimizeAssets:w,processAssets:E,afterProcessAssets:w,processAdditionalAssets:new te(["assets"]),needAdditionalSeal:new q([]),afterSeal:new te([]),renderManifest:new ee(["result","options"]),fullHash:new j(["hash"]),chunkHash:new j(["chunk","chunkHash","ChunkHashContext"]),moduleAsset:new j(["module","filename"]),chunkAsset:new j(["chunk","filename"]),assetPath:new ee(["path","options","assetInfo"]),needAdditionalPass:new q([]),childCompiler:new j(["childCompiler","compilerName","compilerIndex"]),log:new q(["origin","logEntry"]),processWarnings:new ee(["warnings"]),processErrors:new ee(["errors"]),statsPreset:new N((()=>new j(["options","context"]))),statsNormalize:new j(["options","context"]),statsFactory:new j(["statsFactory","options"]),statsPrinter:new j(["statsPrinter","options"]),get normalModuleLoader(){return getNormalModuleLoader()}});this.name=undefined;this.startTime=undefined;this.endTime=undefined;this.compiler=S;this.resolverFactory=S.resolverFactory;this.inputFileSystem=S.inputFileSystem;this.fileSystemInfo=new Be(this.inputFileSystem,{managedPaths:S.managedPaths,immutablePaths:S.immutablePaths,logger:this.getLogger("webpack.FileSystemInfo")});if(S.fileTimestamps){this.fileSystemInfo.addFileTimestamps(S.fileTimestamps)}if(S.contextTimestamps){this.fileSystemInfo.addContextTimestamps(S.contextTimestamps)}this.valueCacheVersions=new Map;this.requestShortener=S.requestShortener;this.compilerPath=S.compilerPath;this.logger=this.getLogger("webpack.Compilation");const ve=S.options;this.options=ve;this.outputOptions=ve&&ve.output;this.bail=ve&&ve.bail||false;this.profile=ve&&ve.profile||false;this.mainTemplate=new $e(this.outputOptions,this);this.chunkTemplate=new Ie(this.outputOptions,this);this.runtimeTemplate=new et(this,this.outputOptions,this.requestShortener);this.moduleTemplates={javascript:new Ye(this.runtimeTemplate,this)};defineRemovedModuleTemplates(this.moduleTemplates);this.moduleGraph=new Ge;this.chunkGraph=undefined;this.codeGenerationResults=undefined;this.processDependenciesQueue=new pt({name:"processDependencies",parallelism:ve.parallelism||100,processor:this._processModuleDependencies.bind(this)});this.addModuleQueue=new pt({name:"addModule",parent:this.processDependenciesQueue,getKey:S=>S.identifier(),processor:this._addModule.bind(this)});this.factorizeQueue=new pt({name:"factorize",parent:this.addModuleQueue,processor:this._factorizeModule.bind(this)});this.buildQueue=new pt({name:"build",parent:this.factorizeQueue,processor:this._buildModule.bind(this)});this.rebuildQueue=new pt({name:"rebuild",parallelism:ve.parallelism||100,processor:this._rebuildModule.bind(this)});this.creatingModuleDuringBuild=new WeakMap;this.entries=new Map;this.globalEntry={dependencies:[],includeDependencies:[],options:{name:undefined}};this.entrypoints=new Map;this.asyncEntrypoints=[];this.chunks=new Set;Tt(this.chunks,"Compilation.chunks");this.chunkGroups=[];this.namedChunkGroups=new Map;this.namedChunks=new Map;this.modules=new Set;Tt(this.modules,"Compilation.modules");this._modules=new Map;this.records=null;this.additionalChunkAssets=[];this.assets={};this.assetsInfo=new Map;this._assetsRelatedIn=new Map;this.errors=[];this.warnings=[];this.children=[];this.logging=new Map;this.dependencyFactories=new Map;this.dependencyTemplates=new Me;this.childrenCounters={};this.usedChunkIds=null;this.usedModuleIds=null;this.needAdditionalPass=false;this.builtModules=new WeakSet;this.codeGeneratedModules=new WeakSet;this.buildTimeExecutedModules=new WeakSet;this._rebuildingModules=new Map;this.emittedAssets=new Set;this.comparedForEmitAssets=new Set;this.fileDependencies=new ft;this.contextDependencies=new ft;this.missingDependencies=new ft;this.buildDependencies=new ft;this.compilationDependencies={add:_e.deprecate((S=>this.fileDependencies.add(S)),"Compilation.compilationDependencies is deprecated (used Compilation.fileDependencies instead)","DEP_WEBPACK_COMPILATION_COMPILATION_DEPENDENCIES")};this._modulesCache=this.getCache("Compilation/modules");this._assetsCache=this.getCache("Compilation/assets");this._codeGenerationCache=this.getCache("Compilation/codeGeneration")}getStats(){return new tt(this)}createStatsOptions(S,E={}){if(typeof S==="boolean"||typeof S==="string"){S={preset:S}}if(typeof S==="object"&&S!==null){const k={};for(const E in S){k[E]=S[E]}if(k.preset!==undefined){this.hooks.statsPreset.for(k.preset).call(k,E)}this.hooks.statsNormalize.call(k,E);return k}else{const S={};this.hooks.statsNormalize.call(S,E);return S}}createStatsFactory(S){const E=new ct;this.hooks.statsFactory.call(E,S);return E}createStatsPrinter(S){const E=new ut;this.hooks.statsPrinter.call(E,S);return E}getCache(S){return this.compiler.getCache(S)}getLogger(S){if(!S){throw new TypeError("Compilation.getLogger(name) called without a name")}let E;return new ot(((k,w)=>{if(typeof S==="function"){S=S();if(!S){throw new TypeError("Compilation.getLogger(name) called with a function not returning a name")}}let N;switch(k){case st.warn:case st.error:case st.trace:N=Le.cutOffLoaderExecution(new Error("Trace").stack).split("\n").slice(3);break}const j={time:Date.now(),type:k,args:w,trace:N};if(this.hooks.log.call(S,j)===undefined){if(j.type===st.profileEnd){if(typeof console.profileEnd==="function"){console.profileEnd(`[${S}] ${j.args[0]}`)}}if(E===undefined){E=this.logging.get(S);if(E===undefined){E=[];this.logging.set(S,E)}}E.push(j);if(j.type===st.profile){if(typeof console.profile==="function"){console.profile(`[${S}] ${j.args[0]}`)}}}}),(E=>{if(typeof S==="function"){if(typeof E==="function"){return this.getLogger((()=>{if(typeof S==="function"){S=S();if(!S){throw new TypeError("Compilation.getLogger(name) called with a function not returning a name")}}if(typeof E==="function"){E=E();if(!E){throw new TypeError("Logger.getChildLogger(name) called with a function not returning a name")}}return`${S}/${E}`}))}else{return this.getLogger((()=>{if(typeof S==="function"){S=S();if(!S){throw new TypeError("Compilation.getLogger(name) called with a function not returning a name")}}return`${S}/${E}`}))}}else{if(typeof E==="function"){return this.getLogger((()=>{if(typeof E==="function"){E=E();if(!E){throw new TypeError("Logger.getChildLogger(name) called with a function not returning a name")}}return`${S}/${E}`}))}else{return this.getLogger(`${S}/${E}`)}}}))}addModule(S,E){this.addModuleQueue.add(S,E)}_addModule(S,E){const k=S.identifier();const w=this._modules.get(k);if(w){return E(null,w)}const N=this.profile?this.moduleGraph.getProfile(S):undefined;if(N!==undefined){N.markRestoringStart()}this._modulesCache.get(k,null,((w,j)=>{if(w)return E(new Qe(S,w));if(N!==undefined){N.markRestoringEnd();N.markIntegrationStart()}if(j){j.updateCacheModule(S);S=j}this._modules.set(k,S);this.modules.add(S);Ge.setModuleGraphForModule(S,this.moduleGraph);if(N!==undefined){N.markIntegrationEnd()}E(null,S)}))}getModule(S){const E=S.identifier();return this._modules.get(E)}findModule(S){return this._modules.get(S)}buildModule(S,E){this.buildQueue.add(S,E)}_buildModule(S,E){const k=this.profile?this.moduleGraph.getProfile(S):undefined;if(k!==undefined){k.markBuildingStart()}S.needBuild({fileSystemInfo:this.fileSystemInfo,valueCacheVersions:this.valueCacheVersions},((w,N)=>{if(w)return E(w);if(!N){if(k!==undefined){k.markBuildingEnd()}this.hooks.stillValidModule.call(S);return E()}this.hooks.buildModule.call(S);this.builtModules.add(S);S.build(this.options,this,this.resolverFactory.get("normal",S.resolveOptions),this.inputFileSystem,(w=>{if(k!==undefined){k.markBuildingEnd()}if(w){this.hooks.failedModule.call(S,w);return E(w)}if(k!==undefined){k.markStoringStart()}this._modulesCache.store(S.identifier(),null,S,(w=>{if(k!==undefined){k.markStoringEnd()}if(w){this.hooks.failedModule.call(S,w);return E(new Xe(S,w))}this.hooks.succeedModule.call(S);return E()}))}))}))}processModuleDependencies(S,E){this.processDependenciesQueue.add(S,E)}processModuleDependenciesNonRecursive(S){const processDependenciesBlock=E=>{if(E.dependencies){for(const k of E.dependencies){this.moduleGraph.setParents(k,E,S)}}if(E.blocks){for(const S of E.blocks)processDependenciesBlock(S)}};processDependenciesBlock(S)}_processModuleDependencies(S,E){const k=[];let N;let j;let q;let ee;let te;let ne;let ae;let _e;const processDependency=E=>{this.moduleGraph.setParents(E,N,S);const w=E.getResourceIdentifier();if(w!==undefined&&w!==null){const N=E.category;const ve=E.constructor;if(q===ve){if(ne===N&&ae===w){_e.push(E);return}}else{const S=this.dependencyFactories.get(ve);if(S===undefined){throw new Error(`No module factory available for dependency type: ${ve.name}`)}if(ee===S){q=ve;if(ne===N&&ae===w){_e.push(E);return}}else{if(ee!==undefined){if(j===undefined)j=new Map;j.set(ee,te);te=j.get(S);if(te===undefined){te=new Map}}else{te=new Map}q=ve;ee=S}}const Ee=N===Nt?w:`${N}${w}`;let Te=te.get(Ee);if(Te===undefined){te.set(Ee,Te=[]);k.push({factory:ee,dependencies:Te,originModule:S})}Te.push(E);ne=N;ae=w;_e=Te}};try{const E=[S];do{const S=E.pop();if(S.dependencies){N=S;for(const E of S.dependencies)processDependency(E)}if(S.blocks){for(const k of S.blocks)E.push(k)}}while(E.length!==0)}catch(S){return E(S)}if(k.length===0){E();return}this.processDependenciesQueue.increaseParallelism();w.forEach(k,((S,E)=>{this.handleModuleCreation(S,(S=>{if(S&&this.bail){S.stack=S.stack;return E(S)}E()}))}),(S=>{this.processDependenciesQueue.decreaseParallelism();return E(S)}))}handleModuleCreation({factory:S,dependencies:E,originModule:k,contextInfo:w,context:N,recursive:j=true,connectOrigin:q=j},ee){const te=this.moduleGraph;const ne=this.profile?new Ke:undefined;this.factorizeModule({currentProfile:ne,factory:S,dependencies:E,originModule:k,contextInfo:w,context:N},((S,w)=>{if(S){if(E.every((S=>S.optional))){this.warnings.push(S)}else{this.errors.push(S)}return ee(S)}if(!w){return ee()}if(ne!==undefined){te.setProfile(w,ne)}this.addModule(w,((S,N)=>{if(S){if(!S.module){S.module=N}this.errors.push(S);return ee(S)}for(let S=0;S{if(ae!==undefined){ae.delete(N)}if(S){if(!S.module){S.module=N}this.errors.push(S);return ee(S)}if(!j){this.processModuleDependenciesNonRecursive(N);ee(null,N);return}if(this.processDependenciesQueue.isProcessing(N)){return ee()}this.processModuleDependencies(N,(S=>{if(S){return ee(S)}ee(null,N)}))}))}))}))}factorizeModule(S,E){this.factorizeQueue.add(S,E)}_factorizeModule({currentProfile:S,factory:E,dependencies:k,originModule:w,contextInfo:N,context:j},q){if(S!==undefined){S.markFactoryStart()}E.create({contextInfo:{issuer:w?w.nameForCondition():"",issuerLayer:w?w.layer:null,compiler:this.compiler.name,...N},resolveOptions:w?w.resolveOptions:undefined,context:j?j:w?w.context:this.compiler.context,dependencies:k},((E,N)=>{if(N){if(N.module===undefined&&N instanceof qe){N={module:N}}const{fileDependencies:S,contextDependencies:E,missingDependencies:k}=N;if(S){this.fileDependencies.addAll(S)}if(E){this.contextDependencies.addAll(E)}if(k){this.missingDependencies.addAll(k)}}if(E){const S=new Je(w,E,k.map((S=>S.loc)).filter(Boolean)[0]);return q(S)}if(!N){return q()}const j=N.module;if(!j){return q()}if(S!==undefined){S.markFactoryEnd()}q(null,j)}))}addModuleChain(S,E,k){return this.addModuleTree({context:S,dependency:E},k)}addModuleTree({context:S,dependency:E,contextInfo:k},w){if(typeof E!=="object"||E===null||!E.constructor){return w(new rt("Parameter 'dependency' must be a Dependency"))}const N=E.constructor;const j=this.dependencyFactories.get(N);if(!j){return w(new rt(`No dependency factory available for this dependency type: ${E.constructor.name}`))}this.handleModuleCreation({factory:j,dependencies:[E],originModule:null,contextInfo:k,context:S},(S=>{if(S&&this.bail){w(S);this.buildQueue.stop();this.rebuildQueue.stop();this.processDependenciesQueue.stop();this.factorizeQueue.stop()}else{w()}}))}addEntry(S,E,k,w){const N=typeof k==="object"?k:{name:k};this._addEntryItem(S,E,"dependencies",N,w)}addInclude(S,E,k,w){this._addEntryItem(S,E,"includeDependencies",k,w)}_addEntryItem(S,E,k,w,N){const{name:j}=w;let q=j!==undefined?this.entries.get(j):this.globalEntry;if(q===undefined){q={dependencies:[],includeDependencies:[],options:{name:undefined,...w}};q[k].push(E);this.entries.set(j,q)}else{q[k].push(E);for(const S of Object.keys(w)){if(w[S]===undefined)continue;if(q.options[S]===w[S])continue;if(Array.isArray(q.options[S])&&Array.isArray(w[S])&&dt(q.options[S],w[S])){continue}if(q.options[S]===undefined){q.options[S]=w[S]}else{return N(new rt(`Conflicting entry option ${S} = ${q.options[S]} vs ${w[S]}`))}}}this.hooks.addEntry.call(E,w);this.addModuleTree({context:S,dependency:E,contextInfo:q.options.layer?{issuerLayer:q.options.layer}:undefined},((S,k)=>{if(S){this.hooks.failedEntry.call(E,w,S);return N(S)}this.hooks.succeedEntry.call(E,w,k);return N(null,k)}))}rebuildModule(S,E){this.rebuildQueue.add(S,E)}_rebuildModule(S,E){this.hooks.rebuildModule.call(S);const k=S.dependencies.slice();const w=S.blocks.slice();S.invalidateBuild();this.buildQueue.invalidate(S);this.buildModule(S,(N=>{if(N){return this.hooks.finishRebuildingModule.callAsync(S,(S=>{if(S){E(Ue(S,"Compilation.hooks.finishRebuildingModule"));return}E(N)}))}this.processDependenciesQueue.invalidate(S);this.moduleGraph.unfreeze();this.processModuleDependencies(S,(N=>{if(N)return E(N);this.removeReasonsOfDependencyBlock(S,{dependencies:k,blocks:w});this.hooks.finishRebuildingModule.callAsync(S,(k=>{if(k){E(Ue(k,"Compilation.hooks.finishRebuildingModule"));return}E(null,S)}))}))}))}finish(S){this.factorizeQueue.clear();if(this.profile){this.logger.time("finish module profiles");const S=k(382);const E=new S;const w=this.moduleGraph;const N=new Map;for(const S of this.modules){const k=w.getProfile(S);if(!k)continue;N.set(S,k);E.range(k.buildingStartTime,k.buildingEndTime,(S=>k.buildingParallelismFactor=S));E.range(k.factoryStartTime,k.factoryEndTime,(S=>k.factoryParallelismFactor=S));E.range(k.integrationStartTime,k.integrationEndTime,(S=>k.integrationParallelismFactor=S));E.range(k.storingStartTime,k.storingEndTime,(S=>k.storingParallelismFactor=S));E.range(k.restoringStartTime,k.restoringEndTime,(S=>k.restoringParallelismFactor=S));if(k.additionalFactoryTimes){for(const{start:S,end:w}of k.additionalFactoryTimes){const N=(w-S)/k.additionalFactories;E.range(S,w,(S=>k.additionalFactoriesParallelismFactor+=S*N))}}}E.calculate();const j=this.getLogger("webpack.Compilation.ModuleProfile");const logByValue=(S,E)=>{if(S>1e3){j.error(E)}else if(S>500){j.warn(E)}else if(S>200){j.info(E)}else if(S>30){j.log(E)}else{j.debug(E)}};const logNormalSummary=(S,E,k)=>{let w=0;let j=0;for(const[q,ee]of N){const N=k(ee);const te=E(ee);if(te===0||N===0)continue;const ne=te/N;w+=ne;if(ne<=10)continue;logByValue(ne,` | ${Math.round(ne)} ms${N>=1.1?` (parallelism ${Math.round(N*10)/10})`:""} ${S} > ${q.readableIdentifier(this.requestShortener)}`);j=Math.max(j,ne)}if(w<=10)return;logByValue(Math.max(w/10,j),`${Math.round(w)} ms ${S}`)};const logByLoadersSummary=(S,E,k)=>{const w=new Map;for(const[S,E]of N){const k=mt(w,S.type+"!"+S.identifier().replace(/(!|^)[^!]*$/,""),(()=>[]));k.push({module:S,profile:E})}let j=0;let q=0;for(const[N,ee]of w){let w=0;let te=0;for(const{module:N,profile:j}of ee){const q=k(j);const ee=E(j);if(ee===0||q===0)continue;const ne=ee/q;w+=ne;if(ne<=10)continue;logByValue(ne,` | | ${Math.round(ne)} ms${q>=1.1?` (parallelism ${Math.round(q*10)/10})`:""} ${S} > ${N.readableIdentifier(this.requestShortener)}`);te=Math.max(te,ne)}j+=w;if(w<=10)continue;const ne=N.indexOf("!");const ae=N.slice(ne+1);const _e=N.slice(0,ne);const ve=Math.max(w/10,te);logByValue(ve,` | ${Math.round(w)} ms ${S} > ${ae?`${ee.length} x ${_e} with ${this.requestShortener.shorten(ae)}`:`${ee.length} x ${_e}`}`);q=Math.max(q,ve)}if(j<=10)return;logByValue(Math.max(j/10,q),`${Math.round(j)} ms ${S}`)};logNormalSummary("resolve to new modules",(S=>S.factory),(S=>S.factoryParallelismFactor));logNormalSummary("resolve to existing modules",(S=>S.additionalFactories),(S=>S.additionalFactoriesParallelismFactor));logNormalSummary("integrate modules",(S=>S.restoring),(S=>S.restoringParallelismFactor));logByLoadersSummary("build modules",(S=>S.building),(S=>S.buildingParallelismFactor));logNormalSummary("store modules",(S=>S.storing),(S=>S.storingParallelismFactor));logNormalSummary("restore modules",(S=>S.restoring),(S=>S.restoringParallelismFactor));this.logger.timeEnd("finish module profiles")}this.logger.time("finish modules");const{modules:E}=this;this.hooks.finishModules.callAsync(E,(k=>{this.logger.timeEnd("finish modules");if(k)return S(k);this.logger.time("report dependency errors and warnings");this.moduleGraph.freeze();for(const S of E){this.reportDependencyErrorsAndWarnings(S,[S]);const E=S.getErrors();if(E!==undefined){for(const k of E){if(!k.module){k.module=S}this.errors.push(k)}}const k=S.getWarnings();if(k!==undefined){for(const E of k){if(!E.module){E.module=S}this.warnings.push(E)}}}this.moduleGraph.unfreeze();this.logger.timeEnd("report dependency errors and warnings");S()}))}unseal(){this.hooks.unseal.call();this.chunks.clear();this.chunkGroups.length=0;this.namedChunks.clear();this.namedChunkGroups.clear();this.entrypoints.clear();this.additionalChunkAssets.length=0;this.assets={};this.assetsInfo.clear();this.moduleGraph.removeAllModuleAttributes();this.moduleGraph.unfreeze()}seal(S){const finalCallback=E=>{this.factorizeQueue.clear();this.buildQueue.clear();this.rebuildQueue.clear();this.processDependenciesQueue.clear();this.addModuleQueue.clear();return S(E)};const E=new Ce(this.moduleGraph);this.chunkGraph=E;for(const S of this.modules){Ce.setChunkGraphForModule(S,E)}this.hooks.seal.call();this.logger.time("optimize dependencies");while(this.hooks.optimizeDependencies.call(this.modules)){}this.hooks.afterOptimizeDependencies.call(this.modules);this.logger.timeEnd("optimize dependencies");this.logger.time("create chunks");this.hooks.beforeChunks.call();this.moduleGraph.freeze();const k=new Map;for(const[S,{dependencies:w,includeDependencies:N,options:j}]of this.entries){const q=this.addChunk(S);if(j.filename){q.filenameTemplate=j.filename}const ee=new Re(j);if(!j.dependOn&&!j.runtime){ee.setRuntimeChunk(q)}ee.setEntrypointChunk(q);this.namedChunkGroups.set(S,ee);this.entrypoints.set(S,ee);this.chunkGroups.push(ee);je(ee,q);for(const N of[...this.globalEntry.dependencies,...w]){ee.addOrigin(null,{name:S},N.request);const w=this.moduleGraph.getModule(N);if(w){E.connectChunkAndEntryModule(q,w,ee);this.assignDepth(w);const S=k.get(ee);if(S===undefined){k.set(ee,[w])}else{S.push(w)}}}const mapAndSort=S=>S.map((S=>this.moduleGraph.getModule(S))).filter(Boolean).sort(St);const te=[...mapAndSort(this.globalEntry.includeDependencies),...mapAndSort(N)];let ne=k.get(ee);if(ne===undefined){k.set(ee,ne=[])}for(const S of te){this.assignDepth(S);ne.push(S)}}const w=new Set;e:for(const[S,{options:{dependOn:E,runtime:k}}]of this.entries){if(E&&k){const E=new rt(`Entrypoint '${S}' has 'dependOn' and 'runtime' specified. This is not valid.\nEntrypoints that depend on other entrypoints do not have their own runtime.\nThey will use the runtime(s) from referenced entrypoints instead.\nRemove the 'runtime' option from the entrypoint.`);const k=this.entrypoints.get(S);E.chunk=k.getEntrypointChunk();this.errors.push(E)}if(E){const k=this.entrypoints.get(S);const w=k.getEntrypointChunk().getAllReferencedChunks();const N=[];for(const j of E){const E=this.entrypoints.get(j);if(!E){throw new Error(`Entry ${S} depends on ${j}, but this entry was not found`)}if(w.has(E.getEntrypointChunk())){const E=new rt(`Entrypoints '${S}' and '${j}' use 'dependOn' to depend on each other in a circular way.`);const w=k.getEntrypointChunk();E.chunk=w;this.errors.push(E);k.setRuntimeChunk(w);continue e}N.push(E)}for(const S of N){ze(S,k)}}else if(k){const E=this.entrypoints.get(S);let N=this.namedChunks.get(k);if(N){if(!w.has(N)){const w=new rt(`Entrypoint '${S}' has a 'runtime' option which points to another entrypoint named '${k}'.\nIt's not valid to use other entrypoints as runtime chunk.\nDid you mean to use 'dependOn: ${JSON.stringify(k)}' instead to allow using entrypoint '${S}' within the runtime of entrypoint '${k}'? For this '${k}' must always be loaded when '${S}' is used.\nOr do you want to use the entrypoints '${S}' and '${k}' independently on the same page with a shared runtime? In this case give them both the same value for the 'runtime' option. It must be a name not already used by an entrypoint.`);const N=E.getEntrypointChunk();w.chunk=N;this.errors.push(w);E.setRuntimeChunk(N);continue}}else{N=this.addChunk(k);N.preventIntegration=true;w.add(N)}E.unshiftChunk(N);N.addGroup(E);E.setRuntimeChunk(N)}}nt(this,k);this.hooks.afterChunks.call(this.chunks);this.logger.timeEnd("create chunks");this.logger.time("optimize");this.hooks.optimize.call();while(this.hooks.optimizeModules.call(this.modules)){}this.hooks.afterOptimizeModules.call(this.modules);while(this.hooks.optimizeChunks.call(this.chunks,this.chunkGroups)){}this.hooks.afterOptimizeChunks.call(this.chunks,this.chunkGroups);this.hooks.optimizeTree.callAsync(this.chunks,this.modules,(E=>{if(E){return finalCallback(Ue(E,"Compilation.hooks.optimizeTree"))}this.hooks.afterOptimizeTree.call(this.chunks,this.modules);this.hooks.optimizeChunkModules.callAsync(this.chunks,this.modules,(E=>{if(E){return finalCallback(Ue(E,"Compilation.hooks.optimizeChunkModules"))}this.hooks.afterOptimizeChunkModules.call(this.chunks,this.modules);const k=this.hooks.shouldRecord.call()!==false;this.hooks.reviveModules.call(this.modules,this.records);this.hooks.beforeModuleIds.call(this.modules);this.hooks.moduleIds.call(this.modules);this.hooks.optimizeModuleIds.call(this.modules);this.hooks.afterOptimizeModuleIds.call(this.modules);this.hooks.reviveChunks.call(this.chunks,this.records);this.hooks.beforeChunkIds.call(this.chunks);this.hooks.chunkIds.call(this.chunks);this.hooks.optimizeChunkIds.call(this.chunks);this.hooks.afterOptimizeChunkIds.call(this.chunks);this.assignRuntimeIds();this.sortItemsWithChunkIds();if(k){this.hooks.recordModules.call(this.modules,this.records);this.hooks.recordChunks.call(this.chunks,this.records)}this.hooks.optimizeCodeGeneration.call(this.modules);this.logger.timeEnd("optimize");this.logger.time("module hashing");this.hooks.beforeModuleHash.call();this.createModuleHashes();this.hooks.afterModuleHash.call();this.logger.timeEnd("module hashing");this.logger.time("code generation");this.hooks.beforeCodeGeneration.call();this.codeGeneration((E=>{if(E){return finalCallback(E)}this.hooks.afterCodeGeneration.call();this.logger.timeEnd("code generation");this.logger.time("runtime requirements");this.hooks.beforeRuntimeRequirements.call();this.processRuntimeRequirements();this.hooks.afterRuntimeRequirements.call();this.logger.timeEnd("runtime requirements");this.logger.time("hashing");this.hooks.beforeHash.call();const w=this.createHash();this.hooks.afterHash.call();this.logger.timeEnd("hashing");this._runCodeGenerationJobs(w,(E=>{if(E){return finalCallback(E)}if(k){this.logger.time("record hash");this.hooks.recordHash.call(this.records);this.logger.timeEnd("record hash")}this.logger.time("module assets");this.clearAssets();this.hooks.beforeModuleAssets.call();this.createModuleAssets();this.logger.timeEnd("module assets");const cont=()=>{this.logger.time("process assets");this.hooks.processAssets.callAsync(this.assets,(E=>{if(E){return finalCallback(Ue(E,"Compilation.hooks.processAssets"))}this.hooks.afterProcessAssets.call(this.assets);this.logger.timeEnd("process assets");this.assets=kt(this.assets,"Compilation.assets","DEP_WEBPACK_COMPILATION_ASSETS",`BREAKING CHANGE: No more changes should happen to Compilation.assets after sealing the Compilation.\n\tDo changes to assets earlier, e. g. in Compilation.hooks.processAssets.\n\tMake sure to select an appropriate stage from Compilation.PROCESS_ASSETS_STAGE_*.`);this.summarizeDependencies();if(k){this.hooks.record.call(this,this.records)}if(this.hooks.needAdditionalSeal.call()){this.unseal();return this.seal(S)}return this.hooks.afterSeal.callAsync((S=>{if(S){return finalCallback(Ue(S,"Compilation.hooks.afterSeal"))}this.fileSystemInfo.logStatistics();finalCallback()}))}))};this.logger.time("create chunk assets");if(this.hooks.shouldGenerateChunkAssets.call()!==false){this.hooks.beforeChunkAssets.call();this.createChunkAssets((S=>{this.logger.timeEnd("create chunk assets");if(S){return finalCallback(S)}cont()}))}else{this.logger.timeEnd("create chunk assets");cont()}}))}))}))}))}reportDependencyErrorsAndWarnings(S,E){for(let k=0;k1){const N=new Map;for(const j of w){const w=E.getModuleHash(S,j);const q=N.get(w);if(q===undefined){const E={module:S,hash:w,runtime:j,runtimes:[j]};k.push(E);N.set(w,E)}else{q.runtimes.push(j)}}}}this._runCodeGenerationJobs(k,S)}_runCodeGenerationJobs(S,E){let k=0;let N=0;const{chunkGraph:j,moduleGraph:q,dependencyTemplates:ee,runtimeTemplate:te}=this;const ne=this.codeGenerationResults;const ae=[];w.eachLimit(S,this.options.parallelism,(({module:S,hash:E,runtime:w,runtimes:_e},ve)=>{this._codeGenerationModule(S,w,_e,E,ee,j,q,te,ae,ne,((S,E)=>{if(E)N++;else k++;ve(S)}))}),(S=>{if(S)return E(S);if(ae.length>0){ae.sort(vt((S=>S.module),St));for(const S of ae){this.errors.push(S)}}this.logger.log(`${Math.round(100*N/(N+k))}% code generated (${N} generated, ${k} from cache)`);E()}))}_codeGenerationModule(S,E,k,w,N,j,q,ee,te,ne,ae){let _e=false;const ve=new Ee(k.map((E=>this._codeGenerationCache.getItemCache(`${S.identifier()}|${At(E)}`,`${w}|${N.getHash()}`))));ve.get(((w,Ee)=>{if(w)return ae(w);let Te;if(!Ee){try{_e=true;this.codeGeneratedModules.add(S);Te=S.codeGeneration({chunkGraph:j,moduleGraph:q,dependencyTemplates:N,runtimeTemplate:ee,runtime:E})}catch(w){te.push(new Fe(S,w));Te=Ee={sources:new Map,runtimeRequirements:null}}}else{Te=Ee}for(const E of k){ne.add(S,E,Te)}if(!Ee){ve.store(Te,(S=>ae(S,_e)))}else{ae(null,_e)}}))}_getChunkGraphEntries(){const S=new Set;for(const E of this.entrypoints.values()){const k=E.getRuntimeChunk();if(k)S.add(k)}for(const E of this.asyncEntrypoints){const k=E.getRuntimeChunk();if(k)S.add(k)}return S}processRuntimeRequirements({chunkGraph:S=this.chunkGraph,modules:E=this.modules,chunks:k=this.chunks,codeGenerationResults:w=this.codeGenerationResults,chunkGraphEntries:N=this._getChunkGraphEntries()}={}){const j={chunkGraph:S,codeGenerationResults:w};const q=this.hooks.additionalModuleRuntimeRequirements;const ee=this.hooks.runtimeRequirementInModule;for(const k of E){if(S.getNumberOfModuleChunks(k)>0){for(const E of S.getModuleRuntimes(k)){let N;const te=w.getRuntimeRequirements(k,E);if(te&&te.size>0){N=new Set(te)}else if(q.isUsed()){N=new Set}else{continue}q.call(k,N,j);for(const S of N){const E=ee.get(S);if(E!==undefined)E.call(k,N,j)}S.addModuleRuntimeRequirements(k,E,N)}}}for(const E of k){const k=new Set;for(const w of S.getChunkModulesIterable(E)){const N=S.getModuleRuntimeRequirements(w,E.runtime);for(const S of N)k.add(S)}this.hooks.additionalChunkRuntimeRequirements.call(E,k,j);for(const S of k){this.hooks.runtimeRequirementInChunk.for(S).call(E,k,j)}S.addChunkRuntimeRequirements(E,k)}for(const E of N){const k=new Set;for(const w of E.getAllReferencedChunks()){const E=S.getChunkRuntimeRequirements(w);for(const S of E)k.add(S)}this.hooks.additionalTreeRuntimeRequirements.call(E,k,j);for(const S of k){this.hooks.runtimeRequirementInTree.for(S).call(E,k,j)}S.addTreeRuntimeRequirements(E,k)}}addRuntimeModule(S,E,k=this.chunkGraph){Ge.setModuleGraphForModule(E,this.moduleGraph);this.modules.add(E);this._modules.set(E.identifier(),E);k.connectChunkAndModule(S,E);k.connectChunkAndRuntimeModule(S,E);if(E.fullHash){k.addFullHashModuleToChunk(S,E)}E.attach(this,S,k);const w=this.moduleGraph.getExportsInfo(E);w.setHasProvideInfo();if(typeof S.runtime==="string"){w.setUsedForSideEffectsOnly(S.runtime)}else if(S.runtime===undefined){w.setUsedForSideEffectsOnly(undefined)}else{for(const E of S.runtime){w.setUsedForSideEffectsOnly(E)}}k.addModuleRuntimeRequirements(E,S.runtime,new Set([Ze.requireScope]));k.setModuleId(E,"");this.hooks.runtimeModule.call(E,S)}addChunkInGroup(S,E,k,w){if(typeof S==="string"){S={name:S}}const N=S.name;if(N){const j=this.namedChunkGroups.get(N);if(j!==undefined){j.addOptions(S);if(E){j.addOrigin(E,k,w)}return j}}const j=new we(S);if(E)j.addOrigin(E,k,w);const q=this.addChunk(N);je(j,q);this.chunkGroups.push(j);if(N){this.namedChunkGroups.set(N,j)}return j}addAsyncEntrypoint(S,E,k,w){const N=S.name;if(N){const S=this.namedChunkGroups.get(N);if(S instanceof Re){if(S!==undefined){if(E){S.addOrigin(E,k,w)}return S}}else if(S){throw new Error(`Cannot add an async entrypoint with the name '${N}', because there is already an chunk group with this name`)}}const j=this.addChunk(N);if(S.filename){j.filenameTemplate=S.filename}const q=new Re(S,false);q.setRuntimeChunk(j);q.setEntrypointChunk(j);if(N){this.namedChunkGroups.set(N,q)}this.chunkGroups.push(q);this.asyncEntrypoints.push(q);je(q,j);if(E){q.addOrigin(E,k,w)}return q}addChunk(S){if(S){const E=this.namedChunks.get(S);if(E!==undefined){return E}}const E=new Te(S);this.chunks.add(E);Ce.setChunkGraphForChunk(E,this.chunkGraph);if(S){this.namedChunks.set(S,E)}return E}assignDepth(S){const E=this.moduleGraph;const k=new Set([S]);let w;E.setDepth(S,0);const processModule=S=>{if(!E.setDepthIfLower(S,w))return;k.add(S)};for(S of k){k.delete(S);w=E.getDepth(S)+1;for(const k of E.getOutgoingConnections(S)){const S=k.module;if(S){processModule(S)}}}}getDependencyReferencedExports(S,E){const k=S.getReferencedExports(this.moduleGraph,E);return this.hooks.dependencyReferencedExports.call(k,S,E)}removeReasonsOfDependencyBlock(S,E){if(E.blocks){for(const k of E.blocks){this.removeReasonsOfDependencyBlock(S,k)}}if(E.dependencies){for(const S of E.dependencies){const E=this.moduleGraph.getModule(S);if(E){this.moduleGraph.removeConnection(S);if(this.chunkGraph){for(const S of this.chunkGraph.getModuleChunks(E)){this.patchChunksAfterReasonRemoval(E,S)}}}}}}patchChunksAfterReasonRemoval(S,E){if(!S.hasReasons(this.moduleGraph,E.runtime)){this.removeReasonsOfDependencyBlock(S,S)}if(!S.hasReasonForChunk(E,this.moduleGraph,this.chunkGraph)){if(this.chunkGraph.isModuleInChunk(S,E)){this.chunkGraph.disconnectChunkAndModule(E,S);this.removeChunkFromDependencies(S,E)}}}removeChunkFromDependencies(S,E){const iteratorDependency=S=>{const k=this.moduleGraph.getModule(S);if(!k){return}this.patchChunksAfterReasonRemoval(k,E)};const k=S.blocks;for(let E=0;E{const k=E.options.runtime||E.name;const w=E.getRuntimeChunk();S.setRuntimeId(k,w.id)};for(const S of this.entrypoints.values()){processEntrypoint(S)}for(const S of this.asyncEntrypoints){processEntrypoint(S)}}sortItemsWithChunkIds(){for(const S of this.chunkGroups){S.sortItems()}this.errors.sort(Bt);this.warnings.sort(Bt);this.children.sort(Ot)}summarizeDependencies(){for(let S=0;S0){this.logger.time("hashing: hash child compilations");for(const S of this.children){q.update(S.hash)}this.logger.timeEnd("hashing: hash child compilations")}if(this.warnings.length>0){this.logger.time("hashing: hash warnings");for(const S of this.warnings){q.update(`${S.message}`)}this.logger.timeEnd("hashing: hash warnings")}if(this.errors.length>0){this.logger.time("hashing: hash errors");for(const S of this.errors){q.update(`${S.message}`)}this.logger.timeEnd("hashing: hash errors")}this.logger.time("hashing: sort chunks");const ee=[];const te=[];for(const S of this.chunks){if(S.hasRuntime()){ee.push(S)}else{te.push(S)}}ee.sort(Ft);te.sort(Ft);const ne=new Map;for(const S of ee){ne.set(S,{chunk:S,referencedBy:[],remaining:0})}let ae=0;for(const S of ne.values()){for(const E of new Set(Array.from(S.chunk.getAllReferencedAsyncEntrypoints()).map((S=>S.chunks[S.chunks.length-1])))){const k=ne.get(E);k.referencedBy.push(S);S.remaining++;ae++}}const _e=[];for(const S of ne.values()){if(S.remaining===0){_e.push(S.chunk)}}if(ae>0){const S=[];for(const E of _e){const k=ne.get(E);for(const E of k.referencedBy){ae--;if(--E.remaining===0){S.push(E.chunk)}}if(S.length>0){S.sort(Ft);for(const E of S)_e.push(E);S.length=0}}}if(ae>0){let S=[];for(const E of ne.values()){if(E.remaining!==0){S.push(E)}}S.sort(vt((S=>S.chunk),Ft));const E=new rt(`Circular dependency between chunks with runtime (${Array.from(S,(S=>S.chunk.name||S.chunk.id)).join(", ")})\nThis prevents using hashes of each other and should be avoided.`);E.chunk=S[0].chunk;this.warnings.push(E);for(const E of S)_e.push(E.chunk)}this.logger.timeEnd("hashing: sort chunks");const ve=new Set;const Ee=[];const Te=new Map;const processChunk=ee=>{this.logger.time("hashing: hash runtime modules");const te=ee.runtime;for(const k of S.getChunkModulesIterable(ee)){if(!S.hasModuleHashes(k,te)){const q=this._createModuleHash(k,S,te,w,E,N,j);let ee=Te.get(q);if(ee){const S=ee.get(k);if(S){S.runtimes.push(te);continue}}else{ee=new Map;Te.set(q,ee)}const ne={module:k,hash:q,runtime:te,runtimes:[te]};ee.set(k,ne);Ee.push(ne)}}this.logger.timeAggregate("hashing: hash runtime modules");this.logger.time("hashing: hash chunks");const ne=Et(w);try{if(k.hashSalt){ne.update(k.hashSalt)}ee.updateHash(ne,S);this.hooks.chunkHash.call(ee,ne,{chunkGraph:S,moduleGraph:this.moduleGraph,runtimeTemplate:this.runtimeTemplate});const E=ne.digest(N);q.update(E);ee.hash=E;ee.renderedHash=ee.hash.substr(0,j);const w=S.getChunkFullHashModulesIterable(ee);if(w){ve.add(ee)}else{this.hooks.contentHash.call(ee)}}catch(S){this.errors.push(new Ne(ee,"",S))}this.logger.timeAggregate("hashing: hash chunks")};te.forEach(processChunk);for(const S of _e)processChunk(S);this.logger.timeAggregateEnd("hashing: hash runtime modules");this.logger.timeAggregateEnd("hashing: hash chunks");this.logger.time("hashing: hash digest");this.hooks.fullHash.call(q);this.fullHash=q.digest(N);this.hash=this.fullHash.substr(0,j);this.logger.timeEnd("hashing: hash digest");this.logger.time("hashing: process full hash modules");for(const k of ve){for(const q of S.getChunkFullHashModulesIterable(k)){const ee=Et(w);q.updateHash(ee,{chunkGraph:S,runtime:k.runtime,runtimeTemplate:E});const te=ee.digest(N);const ne=S.getModuleHash(q,k.runtime);S.setModuleHashes(q,k.runtime,te,te.substr(0,j));Te.get(ne).get(q).hash=te}const q=Et(w);q.update(k.hash);q.update(this.hash);const ee=q.digest(N);k.hash=ee;k.renderedHash=k.hash.substr(0,j);this.hooks.contentHash.call(k)}this.logger.timeEnd("hashing: process full hash modules");return Ee}emitAsset(S,E,k={}){if(this.assets[S]){if(!wt(this.assets[S],E)){this.errors.push(new rt(`Conflict: Multiple assets emit different content to the same filename ${S}`));this.assets[S]=E;this._setAssetInfo(S,k);return}const w=this.assetsInfo.get(S);const N=Object.assign({},w,k);this._setAssetInfo(S,N,w);return}this.assets[S]=E;this._setAssetInfo(S,k,undefined)}_setAssetInfo(S,E,k=this.assetsInfo.get(S)){if(E===undefined){this.assetsInfo.delete(S)}else{this.assetsInfo.set(S,E)}const w=k&&k.related;const N=E&&E.related;if(w){for(const E of Object.keys(w)){const remove=k=>{const w=this._assetsRelatedIn.get(k);if(w===undefined)return;const N=w.get(E);if(N===undefined)return;N.delete(S);if(N.size!==0)return;w.delete(E);if(w.size===0)this._assetsRelatedIn.delete(k)};const k=w[E];if(Array.isArray(k)){k.forEach(remove)}else if(k){remove(k)}}}if(N){for(const E of Object.keys(N)){const add=k=>{let w=this._assetsRelatedIn.get(k);if(w===undefined){this._assetsRelatedIn.set(k,w=new Map)}let N=w.get(E);if(N===undefined){w.set(E,N=new Set)}N.add(S)};const k=N[E];if(Array.isArray(k)){k.forEach(add)}else if(k){add(k)}}}}updateAsset(S,E,k=undefined){if(!this.assets[S]){throw new Error(`Called Compilation.updateAsset for not existing filename ${S}`)}if(typeof E==="function"){this.assets[S]=E(this.assets[S])}else{this.assets[S]=E}if(k!==undefined){const E=this.assetsInfo.get(S)||Pt;if(typeof k==="function"){this._setAssetInfo(S,k(E),E)}else{this._setAssetInfo(S,ht(E,k),E)}}}renameAsset(S,E){const k=this.assets[S];if(!k){throw new Error(`Called Compilation.renameAsset for not existing filename ${S}`)}if(this.assets[E]){if(!wt(this.assets[S],k)){this.errors.push(new rt(`Conflict: Called Compilation.renameAsset for already existing filename ${E} with different content`))}}const w=this.assetsInfo.get(S);const N=this._assetsRelatedIn.get(S);if(N){for(const[k,w]of N){for(const N of w){const w=this.assetsInfo.get(N);if(!w)continue;const j=w.related;if(!j)continue;const q=j[k];let ee;if(Array.isArray(q)){ee=q.map((k=>k===S?E:k))}else if(q===S){ee=E}else continue;this.assetsInfo.set(N,{...w,related:{...j,[k]:ee}})}}}this._setAssetInfo(S,undefined,w);this._setAssetInfo(E,w);delete this.assets[S];this.assets[E]=k;for(const k of this.chunks){{const w=k.files.size;k.files.delete(S);if(w!==k.files.size){k.files.add(E)}}{const w=k.auxiliaryFiles.size;k.auxiliaryFiles.delete(S);if(w!==k.auxiliaryFiles.size){k.auxiliaryFiles.add(E)}}}}deleteAsset(S){if(!this.assets[S]){return}delete this.assets[S];const E=this.assetsInfo.get(S);this._setAssetInfo(S,undefined,E);const k=E&&E.related;if(k){for(const S of Object.keys(k)){const checkUsedAndDelete=S=>{if(!this._assetsRelatedIn.has(S)){this.deleteAsset(S)}};const E=k[S];if(Array.isArray(E)){E.forEach(checkUsedAndDelete)}else if(E){checkUsedAndDelete(E)}}}for(const E of this.chunks){E.files.delete(S);E.auxiliaryFiles.delete(S)}}getAssets(){const S=[];for(const E of Object.keys(this.assets)){if(Object.prototype.hasOwnProperty.call(this.assets,E)){S.push({name:E,source:this.assets[E],info:this.assetsInfo.get(E)||Pt})}}return S}getAsset(S){if(!Object.prototype.hasOwnProperty.call(this.assets,S))return undefined;return{name:S,source:this.assets[S],info:this.assetsInfo.get(S)||Pt}}clearAssets(){for(const S of this.chunks){S.files.clear();S.auxiliaryFiles.clear()}}createModuleAssets(){const{chunkGraph:S}=this;for(const E of this.modules){if(E.buildInfo.assets){const k=E.buildInfo.assetsInfo;for(const w of Object.keys(E.buildInfo.assets)){const N=this.getPath(w,{chunkGraph:this.chunkGraph,module:E});for(const k of S.getModuleChunksIterable(E)){k.auxiliaryFiles.add(N)}this.emitAsset(N,E.buildInfo.assets[w],k?k.get(w):undefined);this.hooks.moduleAsset.call(E,N)}}}}getRenderManifest(S){return this.hooks.renderManifest.call([],S)}createChunkAssets(S){const E=this.outputOptions;const k=new WeakMap;const N=new Map;w.forEach(this.chunks,((S,j)=>{let q;try{q=this.getRenderManifest({chunk:S,hash:this.hash,fullHash:this.fullHash,outputOptions:E,codeGenerationResults:this.codeGenerationResults,moduleTemplates:this.moduleTemplates,dependencyTemplates:this.dependencyTemplates,chunkGraph:this.chunkGraph,moduleGraph:this.moduleGraph,runtimeTemplate:this.runtimeTemplate})}catch(E){this.errors.push(new Ne(S,"",E));return j()}w.forEach(q,((E,w)=>{const j=E.identifier;const q=E.hash;const ee=this._assetsCache.getItemCache(j,q);ee.get(((j,te)=>{let ne;let ae;let _e;let Ee=true;const errorAndCallback=E=>{const k=ae||(typeof ae==="string"?ae:typeof ne==="string"?ne:"");this.errors.push(new Ne(S,k,E));Ee=false;return w()};try{if("filename"in E){ae=E.filename;_e=E.info}else{ne=E.filenameTemplate;const S=this.getPathWithInfo(ne,E.pathOptions);ae=S.path;_e=E.info?{...S.info,...E.info}:S.info}if(j){return errorAndCallback(j)}let Te=te;const Ce=N.get(ae);if(Ce!==undefined){if(Ce.hash!==q){Ee=false;return w(new rt(`Conflict: Multiple chunks emit assets to the same filename ${ae}`+` (chunks ${Ce.chunk.id} and ${S.id})`))}else{Te=Ce.source}}else if(!Te){Te=E.render();if(!(Te instanceof ve)){const S=k.get(Te);if(S){Te=S}else{const S=new ve(Te);k.set(Te,S);Te=S}}}this.emitAsset(ae,Te,_e);if(E.auxiliary){S.auxiliaryFiles.add(ae)}else{S.files.add(ae)}this.hooks.chunkAsset.call(S,ae);N.set(ae,{hash:q,source:Te,chunk:S});if(Te!==te){ee.store(Te,(S=>{if(S)return errorAndCallback(S);Ee=false;return w()}))}else{Ee=false;w()}}catch(j){if(!Ee)throw j;errorAndCallback(j)}}))}),j)}),S)}getPath(S,E={}){if(!E.hash){E={hash:this.hash,...E}}return this.getAssetPath(S,E)}getPathWithInfo(S,E={}){if(!E.hash){E={hash:this.hash,...E}}return this.getAssetPathWithInfo(S,E)}getAssetPath(S,E){return this.hooks.assetPath.call(typeof S==="function"?S(E):S,E,undefined)}getAssetPathWithInfo(S,E){const k={};const w=this.hooks.assetPath.call(typeof S==="function"?S(E,k):S,E,k);return{path:w,info:k}}getWarnings(){return this.hooks.processWarnings.call(this.warnings)}getErrors(){return this.hooks.processErrors.call(this.errors)}createChildCompiler(S,E,k){const w=this.childrenCounters[S]||0;this.childrenCounters[S]=w+1;return this.compiler.createChildCompiler(this,S,w,E,k)}executeModule(S,E,k){const N=new Set([S]);Dt(N,10,((S,E,k)=>{this.addModuleQueue.waitFor(S,(w=>{if(w)return k(w);this.buildQueue.waitFor(S,(w=>{if(w)return k(w);this.processDependenciesQueue.waitFor(S,(w=>{if(w)return k(w);for(const{module:k}of this.moduleGraph.getOutgoingConnections(S)){const S=N.size;N.add(k);if(N.size!==S)E(k)}k()}))}))}))}),(j=>{if(j)return k(j);const q=new Ce(this.moduleGraph);const ee="build time";const{hashFunction:te,hashDigest:ne,hashDigestLength:ae}=this.outputOptions;const _e=this.runtimeTemplate;const ve=new Te("build time chunk");ve.id=ve.name;ve.ids=[ve.id];ve.runtime=ee;const Ee=new Re({runtime:ee,chunkLoading:false,...E.entryOptions});q.connectChunkAndEntryModule(ve,S,Ee);je(Ee,ve);Ee.setRuntimeChunk(ve);Ee.setEntrypointChunk(ve);const we=new Set([ve]);for(const S of N){const E=S.identifier();q.setModuleId(S,E);q.connectChunkAndModule(ve,S)}for(const S of N){this._createModuleHash(S,q,ee,te,_e,ne,ae)}const Ne=new Oe;const Ie=[];const codeGen=(S,E)=>{this._codeGenerationModule(S,ee,[ee],q.getModuleHash(S,ee),this.dependencyTemplates,q,this.moduleGraph,_e,Ie,Ne,((S,k)=>{E(S)}))};const reportErrors=()=>{if(Ie.length>0){Ie.sort(vt((S=>S.module),St));for(const S of Ie){this.errors.push(S)}Ie.length=0}};w.eachLimit(N,10,codeGen,(E=>{if(E)return k(E);reportErrors();const j=this.chunkGraph;this.chunkGraph=q;this.processRuntimeRequirements({chunkGraph:q,modules:N,chunks:we,codeGenerationResults:Ne,chunkGraphEntries:we});this.chunkGraph=j;const Ee=q.getChunkRuntimeModulesIterable(ve);for(const S of Ee){N.add(S);this._createModuleHash(S,q,ee,te,_e,ne,ae)}w.eachLimit(Ee,10,codeGen,(E=>{if(E)return k(E);reportErrors();const j=new Map;const te=new Map;const ne=new ft;const ae=new ft;const _e=new ft;const Ee=new ft;const Te=new Map;let Ce=true;const we={assets:Te,__webpack_require__:undefined,chunk:ve,chunkGraph:q};w.eachLimit(N,10,((S,E)=>{const k=Ne.get(S,ee);const w={module:S,codeGenerationResult:k,preparedInfo:undefined,moduleObject:undefined};j.set(S,w);te.set(S.identifier(),w);S.addCacheDependencies(ne,ae,_e,Ee);if(S.buildInfo.cacheable===false){Ce=false}if(S.buildInfo&&S.buildInfo.assets){const{assets:E,assetsInfo:k}=S.buildInfo;for(const S of Object.keys(E)){Te.set(S,{source:E[S],info:k?k.get(S):undefined})}}this.hooks.prepareModuleExecution.callAsync(w,we,E)}),(E=>{if(E)return k(E);let w;try{const{strictModuleErrorHandling:E,strictModuleExceptionHandling:k}=this.outputOptions;const __nested_webpack_require_129646__=S=>{const E=ee[S];if(E!==undefined){if(E.error)throw E.error;return E.exports}const k=te.get(S);return __webpack_require_module__(k,S)};const N=__nested_webpack_require_129646__[Ze.interceptModuleExecution.replace("__webpack_require__.","")]=[];const ee=__nested_webpack_require_129646__[Ze.moduleCache.replace("__webpack_require__.","")]={};we.__webpack_require__=__nested_webpack_require_129646__;const __webpack_require_module__=(S,w)=>{var j={id:w,module:{id:w,exports:{},loaded:false,error:undefined},require:__nested_webpack_require_129646__};N.forEach((S=>S(j)));const q=S.module;this.buildTimeExecutedModules.add(q);const te=j.module;S.moduleObject=te;try{if(w)ee[w]=te;We((()=>this.hooks.executeModule.call(S,we)),"Compilation.hooks.executeModule");te.loaded=true;return te.exports}catch(S){if(k){if(w)delete ee[w]}else if(E){te.error=S}if(!S.module)S.module=q;throw S}};for(const S of q.getChunkRuntimeModulesInOrder(ve)){__webpack_require_module__(j.get(S))}w=__nested_webpack_require_129646__(S.identifier())}catch(E){const w=new rt(`Execution of module code from module graph (${S.readableIdentifier(this.requestShortener)}) failed: ${E.message}`);w.stack=E.stack;w.module=E.module;return k(w)}k(null,{exports:w,assets:Te,cacheable:Ce,fileDependencies:ne,contextDependencies:ae,missingDependencies:_e,buildDependencies:Ee})}))}))}))}))}checkConstraints(){const S=this.chunkGraph;const E=new Set;for(const k of this.modules){if(k.type==="runtime")continue;const w=S.getModuleId(k);if(w===null)continue;if(E.has(w)){throw new Error(`checkConstraints: duplicate module id ${w}`)}E.add(w)}for(const E of this.chunks){for(const k of S.getChunkModulesIterable(E)){if(!this.modules.has(k)){throw new Error("checkConstraints: module in chunk but not in compilation "+` ${E.debugId} ${k.debugId}`)}}for(const k of S.getChunkEntryModulesIterable(E)){if(!this.modules.has(k)){throw new Error("checkConstraints: entry module in chunk but not in compilation "+` ${E.debugId} ${k.debugId}`)}}}for(const S of this.chunkGroups){S.checkConstraints()}}}const jt=Compilation.prototype;Object.defineProperty(jt,"modifyHash",{writable:false,enumerable:false,configurable:false,value:()=>{throw new Error("Compilation.modifyHash was removed in favor of Compilation.hooks.fullHash")}});Object.defineProperty(jt,"cache",{enumerable:false,configurable:false,get:_e.deprecate((function(){return this.compiler.cache}),"Compilation.cache was removed in favor of Compilation.getCache()","DEP_WEBPACK_COMPILATION_CACHE"),set:_e.deprecate((S=>{}),"Compilation.cache was removed in favor of Compilation.getCache()","DEP_WEBPACK_COMPILATION_CACHE")});Compilation.PROCESS_ASSETS_STAGE_ADDITIONAL=-2e3;Compilation.PROCESS_ASSETS_STAGE_PRE_PROCESS=-1e3;Compilation.PROCESS_ASSETS_STAGE_DERIVED=-200;Compilation.PROCESS_ASSETS_STAGE_ADDITIONS=-100;Compilation.PROCESS_ASSETS_STAGE_OPTIMIZE=100;Compilation.PROCESS_ASSETS_STAGE_OPTIMIZE_COUNT=200;Compilation.PROCESS_ASSETS_STAGE_OPTIMIZE_COMPATIBILITY=300;Compilation.PROCESS_ASSETS_STAGE_OPTIMIZE_SIZE=400;Compilation.PROCESS_ASSETS_STAGE_DEV_TOOLING=500;Compilation.PROCESS_ASSETS_STAGE_OPTIMIZE_INLINE=700;Compilation.PROCESS_ASSETS_STAGE_SUMMARIZE=1e3;Compilation.PROCESS_ASSETS_STAGE_OPTIMIZE_HASH=2500;Compilation.PROCESS_ASSETS_STAGE_OPTIMIZE_TRANSFER=3e3;Compilation.PROCESS_ASSETS_STAGE_ANALYSE=4e3;Compilation.PROCESS_ASSETS_STAGE_REPORT=5e3;S.exports=Compilation},63076:(S,E,k)=>{"use strict";const w=k(78688);const N=k(62355);const{SyncHook:j,SyncBailHook:q,AsyncParallelHook:ee,AsyncSeriesHook:te}=k(92960);const{SizeOnlySource:ne}=k(48135);const ae=k(86443);const _e=k(54725);const ve=k(6503);const Ee=k(45137);const Te=k(3080);const Ce=k(27310);const we=k(89869);const Ne=k(75412);const Ie=k(43229);const Fe=k(80910);const Oe=k(1819);const Me=k(10140);const Re=k(84693);const Le=k(81627);const{Logger:Be}=k(78539);const{join:je,dirname:ze,mkdirp:Ue}=k(95396);const{makePathsRelative:We}=k(49197);const{isSourceEqual:$e}=k(13559);const isSorted=S=>{for(let E=1;ES[E])return false}return true};const sortObject=(S,E)=>{const k={};for(const w of E.sort()){k[w]=S[w]}return k};const includesHash=(S,E)=>{if(!E)return false;if(Array.isArray(E)){return E.some((E=>S.includes(E)))}else{return S.includes(E)}};class Compiler{constructor(S){this.hooks=Object.freeze({initialize:new j([]),shouldEmit:new q(["compilation"]),done:new te(["stats"]),afterDone:new j(["stats"]),additionalPass:new te([]),beforeRun:new te(["compiler"]),run:new te(["compiler"]),emit:new te(["compilation"]),assetEmitted:new te(["file","info"]),afterEmit:new te(["compilation"]),thisCompilation:new j(["compilation","params"]),compilation:new j(["compilation","params"]),normalModuleFactory:new j(["normalModuleFactory"]),contextModuleFactory:new j(["contextModuleFactory"]),beforeCompile:new te(["params"]),compile:new j(["params"]),make:new ee(["compilation"]),finishMake:new te(["compilation"]),afterCompile:new te(["compilation"]),watchRun:new te(["compiler"]),failed:new j(["error"]),invalid:new j(["filename","changeTime"]),watchClose:new j([]),shutdown:new te([]),infrastructureLog:new q(["origin","type","args"]),environment:new j([]),afterEnvironment:new j([]),afterPlugins:new j(["compiler"]),afterResolvers:new j(["compiler"]),entryOption:new q(["context","entry"])});this.webpack=ae;this.name=undefined;this.parentCompilation=undefined;this.root=this;this.outputPath="";this.watching=undefined;this.outputFileSystem=null;this.intermediateFileSystem=null;this.inputFileSystem=null;this.watchFileSystem=null;this.recordsInputPath=null;this.recordsOutputPath=null;this.records={};this.managedPaths=new Set;this.immutablePaths=new Set;this.modifiedFiles=undefined;this.removedFiles=undefined;this.fileTimestamps=undefined;this.contextTimestamps=undefined;this.fsStartTime=undefined;this.resolverFactory=new Oe;this.infrastructureLogger=undefined;this.options={};this.context=S;this.requestShortener=new Fe(S,this.root);this.cache=new _e;this.compilerPath="";this.running=false;this.idle=false;this.watchMode=false;this._lastCompilation=undefined;this._lastNormalModuleFactory=undefined;this._assetEmittingSourceCache=new WeakMap;this._assetEmittingWrittenFiles=new Map;this._assetEmittingPreviousFiles=new Set}getCache(S){return new ve(this.cache,`${this.compilerPath}${S}`)}getInfrastructureLogger(S){if(!S){throw new TypeError("Compiler.getInfrastructureLogger(name) called without a name")}return new Be(((E,k)=>{if(typeof S==="function"){S=S();if(!S){throw new TypeError("Compiler.getInfrastructureLogger(name) called with a function not returning a name")}}if(this.hooks.infrastructureLog.call(S,E,k)===undefined){if(this.infrastructureLogger!==undefined){this.infrastructureLogger(S,E,k)}}}),(E=>{if(typeof S==="function"){if(typeof E==="function"){return this.getInfrastructureLogger((()=>{if(typeof S==="function"){S=S();if(!S){throw new TypeError("Compiler.getInfrastructureLogger(name) called with a function not returning a name")}}if(typeof E==="function"){E=E();if(!E){throw new TypeError("Logger.getChildLogger(name) called with a function not returning a name")}}return`${S}/${E}`}))}else{return this.getInfrastructureLogger((()=>{if(typeof S==="function"){S=S();if(!S){throw new TypeError("Compiler.getInfrastructureLogger(name) called with a function not returning a name")}}return`${S}/${E}`}))}}else{if(typeof E==="function"){return this.getInfrastructureLogger((()=>{if(typeof E==="function"){E=E();if(!E){throw new TypeError("Logger.getChildLogger(name) called with a function not returning a name")}}return`${S}/${E}`}))}else{return this.getInfrastructureLogger(`${S}/${E}`)}}}))}_cleanupLastCompilation(){if(this._lastCompilation!==undefined){for(const S of this._lastCompilation.modules){Ee.clearChunkGraphForModule(S);Ne.clearModuleGraphForModule(S);S.cleanupForCache()}for(const S of this._lastCompilation.chunks){Ee.clearChunkGraphForChunk(S)}this._lastCompilation=undefined}}_cleanupLastNormalModuleFactory(){if(this._lastNormalModuleFactory!==undefined){this._lastNormalModuleFactory.cleanupForCache();this._lastNormalModuleFactory=undefined}}watch(S,E){if(this.running){return E(new Ce)}this.running=true;this.watchMode=true;this.watching=new Re(this,S,E);return this.watching}run(S){if(this.running){return S(new Ce)}let E;const finalCallback=(k,w)=>{if(E)E.time("beginIdle");this.idle=true;this.cache.beginIdle();this.idle=true;if(E)E.timeEnd("beginIdle");this.running=false;if(k){this.hooks.failed.call(k)}if(S!==undefined)S(k,w);this.hooks.afterDone.call(w)};const k=Date.now();this.running=true;const onCompiled=(S,w)=>{if(S)return finalCallback(S);if(this.hooks.shouldEmit.call(w)===false){w.startTime=k;w.endTime=Date.now();const S=new Me(w);this.hooks.done.callAsync(S,(E=>{if(E)return finalCallback(E);return finalCallback(null,S)}));return}process.nextTick((()=>{E=w.getLogger("webpack.Compiler");E.time("emitAssets");this.emitAssets(w,(S=>{E.timeEnd("emitAssets");if(S)return finalCallback(S);if(w.hooks.needAdditionalPass.call()){w.needAdditionalPass=true;w.startTime=k;w.endTime=Date.now();E.time("done hook");const S=new Me(w);this.hooks.done.callAsync(S,(S=>{E.timeEnd("done hook");if(S)return finalCallback(S);this.hooks.additionalPass.callAsync((S=>{if(S)return finalCallback(S);this.compile(onCompiled)}))}));return}E.time("emitRecords");this.emitRecords((S=>{E.timeEnd("emitRecords");if(S)return finalCallback(S);w.startTime=k;w.endTime=Date.now();E.time("done hook");const N=new Me(w);this.hooks.done.callAsync(N,(S=>{E.timeEnd("done hook");if(S)return finalCallback(S);this.cache.storeBuildDependencies(w.buildDependencies,(S=>{if(S)return finalCallback(S);return finalCallback(null,N)}))}))}))}))}))};const run=()=>{this.hooks.beforeRun.callAsync(this,(S=>{if(S)return finalCallback(S);this.hooks.run.callAsync(this,(S=>{if(S)return finalCallback(S);this.readRecords((S=>{if(S)return finalCallback(S);this.compile(onCompiled)}))}))}))};if(this.idle){this.cache.endIdle((S=>{if(S)return finalCallback(S);this.idle=false;run()}))}else{run()}}runAsChild(S){const E=Date.now();this.compile(((k,w)=>{if(k)return S(k);this.parentCompilation.children.push(w);for(const{name:S,source:E,info:k}of w.getAssets()){this.parentCompilation.emitAsset(S,E,k)}const N=[];for(const S of w.entrypoints.values()){N.push(...S.chunks)}w.startTime=E;w.endTime=Date.now();return S(null,N,w)}))}purgeInputFileSystem(){if(this.inputFileSystem&&this.inputFileSystem.purge){this.inputFileSystem.purge()}}emitAssets(S,E){let k;const emitFiles=w=>{if(w)return E(w);const j=S.getAssets();S.assets={...S.assets};const q=new Map;const ee=new Set;N.forEachLimit(j,15,(({name:E,source:w,info:N},j)=>{let te=E;let ae=N.immutable;const _e=te.indexOf("?");if(_e>=0){te=te.substr(0,_e);ae=ae&&(includesHash(te,N.contenthash)||includesHash(te,N.chunkhash)||includesHash(te,N.modulehash)||includesHash(te,N.fullhash))}const writeOut=N=>{if(N)return j(N);const _e=je(this.outputFileSystem,k,te);ee.add(_e);const ve=this._assetEmittingWrittenFiles.get(_e);let Ee=this._assetEmittingSourceCache.get(w);if(Ee===undefined){Ee={sizeOnlySource:undefined,writtenTo:new Map};this._assetEmittingSourceCache.set(w,Ee)}let Te;const checkSimilarFile=()=>{const S=_e.toLowerCase();Te=q.get(S);if(Te!==undefined){const{path:S,source:k}=Te;if($e(k,w)){if(Te.size!==undefined){updateWithReplacementSource(Te.size)}else{if(!Te.waiting)Te.waiting=[];Te.waiting.push({file:E,cacheEntry:Ee})}alreadyWritten()}else{const k=new Le(`Prevent writing to file that only differs in casing or query string from already written file.\nThis will lead to a race-condition and corrupted files on case-insensitive file systems.\n${_e}\n${S}`);k.file=E;j(k)}return true}else{q.set(S,Te={path:_e,source:w,size:undefined,waiting:undefined});return false}};const getContent=()=>{if(typeof w.buffer==="function"){return w.buffer()}else{const S=w.source();if(Buffer.isBuffer(S)){return S}else{return Buffer.from(S,"utf8")}}};const alreadyWritten=()=>{if(ve===undefined){const S=1;this._assetEmittingWrittenFiles.set(_e,S);Ee.writtenTo.set(_e,S)}else{Ee.writtenTo.set(_e,ve)}j()};const doWrite=N=>{this.outputFileSystem.writeFile(_e,N,(q=>{if(q)return j(q);S.emittedAssets.add(E);const ee=ve===undefined?1:ve+1;Ee.writtenTo.set(_e,ee);this._assetEmittingWrittenFiles.set(_e,ee);this.hooks.assetEmitted.callAsync(E,{content:N,source:w,outputPath:k,compilation:S,targetPath:_e},j)}))};const updateWithReplacementSource=S=>{updateFileWithReplacementSource(E,Ee,S);Te.size=S;if(Te.waiting!==undefined){for(const{file:E,cacheEntry:k}of Te.waiting){updateFileWithReplacementSource(E,k,S)}}};const updateFileWithReplacementSource=(E,k,w)=>{if(!k.sizeOnlySource){k.sizeOnlySource=new ne(w)}S.updateAsset(E,k.sizeOnlySource,{size:w})};const processExistingFile=k=>{if(ae){updateWithReplacementSource(k.size);return alreadyWritten()}const w=getContent();updateWithReplacementSource(w.length);if(w.length===k.size){S.comparedForEmitAssets.add(E);return this.outputFileSystem.readFile(_e,((S,E)=>{if(S||!w.equals(E)){return doWrite(w)}else{return alreadyWritten()}}))}return doWrite(w)};const processMissingFile=()=>{const S=getContent();updateWithReplacementSource(S.length);return doWrite(S)};if(ve!==undefined){const k=Ee.writtenTo.get(_e);if(k===ve){if(this._assetEmittingPreviousFiles.has(_e)){S.updateAsset(E,Ee.sizeOnlySource,{size:Ee.sizeOnlySource.size()});return j()}else{ae=true}}else if(!ae){if(checkSimilarFile())return;return processMissingFile()}}if(checkSimilarFile())return;if(this.options.output.compareBeforeEmit){this.outputFileSystem.stat(_e,((S,E)=>{const k=!S&&E.isFile();if(k){processExistingFile(E)}else{processMissingFile()}}))}else{processMissingFile()}};if(te.match(/\/|\\/)){const S=this.outputFileSystem;const E=ze(S,je(S,k,te));Ue(S,E,writeOut)}else{writeOut()}}),(k=>{q.clear();if(k){this._assetEmittingPreviousFiles.clear();return E(k)}this._assetEmittingPreviousFiles=ee;this.hooks.afterEmit.callAsync(S,(S=>{if(S)return E(S);return E()}))}))};this.hooks.emit.callAsync(S,(w=>{if(w)return E(w);k=S.getPath(this.outputPath,{});Ue(this.outputFileSystem,k,emitFiles)}))}emitRecords(S){if(!this.recordsOutputPath)return S();const writeFile=()=>{this.outputFileSystem.writeFile(this.recordsOutputPath,JSON.stringify(this.records,((S,E)=>{if(typeof E==="object"&&E!==null&&!Array.isArray(E)){const S=Object.keys(E);if(!isSorted(S)){return sortObject(E,S)}}return E}),2),S)};const E=ze(this.outputFileSystem,this.recordsOutputPath);if(!E){return writeFile()}Ue(this.outputFileSystem,E,(E=>{if(E)return S(E);writeFile()}))}readRecords(S){if(!this.recordsInputPath){this.records={};return S()}this.inputFileSystem.stat(this.recordsInputPath,(E=>{if(E)return S();this.inputFileSystem.readFile(this.recordsInputPath,((E,k)=>{if(E)return S(E);try{this.records=w(k.toString("utf-8"))}catch(E){E.message="Cannot parse records: "+E.message;return S(E)}return S()}))}))}createChildCompiler(S,E,k,w,N){const j=new Compiler(this.context);j.name=E;j.outputPath=this.outputPath;j.inputFileSystem=this.inputFileSystem;j.outputFileSystem=null;j.resolverFactory=this.resolverFactory;j.modifiedFiles=this.modifiedFiles;j.removedFiles=this.removedFiles;j.fileTimestamps=this.fileTimestamps;j.contextTimestamps=this.contextTimestamps;j.fsStartTime=this.fsStartTime;j.cache=this.cache;j.compilerPath=`${this.compilerPath}${E}|${k}|`;const q=We(this.context,E,this.root);if(!this.records[q]){this.records[q]=[]}if(this.records[q][k]){j.records=this.records[q][k]}else{this.records[q].push(j.records={})}j.options={...this.options,output:{...this.options.output,...w}};j.parentCompilation=S;j.root=this.root;if(Array.isArray(N)){for(const S of N){S.apply(j)}}for(const S in this.hooks){if(!["make","compile","emit","afterEmit","invalid","done","thisCompilation"].includes(S)){if(j.hooks[S]){j.hooks[S].taps=this.hooks[S].taps.slice()}}}S.hooks.childCompiler.call(j,E,k);return j}isChild(){return!!this.parentCompilation}createCompilation(){this._cleanupLastCompilation();return this._lastCompilation=new Te(this)}newCompilation(S){const E=this.createCompilation();E.name=this.name;E.records=this.records;this.hooks.thisCompilation.call(E,S);this.hooks.compilation.call(E,S);return E}createNormalModuleFactory(){this._cleanupLastNormalModuleFactory();const S=new Ie({context:this.options.context,fs:this.inputFileSystem,resolverFactory:this.resolverFactory,options:this.options.module,associatedObjectForCache:this.root,layers:this.options.experiments.layers});this._lastNormalModuleFactory=S;this.hooks.normalModuleFactory.call(S);return S}createContextModuleFactory(){const S=new we(this.resolverFactory);this.hooks.contextModuleFactory.call(S);return S}newCompilationParams(){const S={normalModuleFactory:this.createNormalModuleFactory(),contextModuleFactory:this.createContextModuleFactory()};return S}compile(S){const E=this.newCompilationParams();this.hooks.beforeCompile.callAsync(E,(k=>{if(k)return S(k);this.hooks.compile.call(E);const w=this.newCompilation(E);const N=w.getLogger("webpack.Compiler");N.time("make hook");this.hooks.make.callAsync(w,(E=>{N.timeEnd("make hook");if(E)return S(E);N.time("finish make hook");this.hooks.finishMake.callAsync(w,(E=>{N.timeEnd("finish make hook");if(E)return S(E);process.nextTick((()=>{N.time("finish compilation");w.finish((E=>{N.timeEnd("finish compilation");if(E)return S(E);N.time("seal compilation");w.seal((E=>{N.timeEnd("seal compilation");if(E)return S(E);N.time("afterCompile hook");this.hooks.afterCompile.callAsync(w,(E=>{N.timeEnd("afterCompile hook");if(E)return S(E);return S(null,w)}))}))}))}))}))}))}))}close(S){this.hooks.shutdown.callAsync((E=>{if(E)return S(E);this._lastCompilation=undefined;this._lastNormalModuleFactory=undefined;this.cache.shutdown(S)}))}}S.exports=Compiler},77294:S=>{"use strict";const E=/^__WEBPACK_MODULE_REFERENCE__(\d+)_([\da-f]+|ns)(_call)?(_directImport)?(?:_asiSafe(\d))?__$/;const k="__WEBPACK_DEFAULT_EXPORT__";const w="__WEBPACK_NAMESPACE_OBJECT__";class ConcatenationScope{constructor(S,E){this._currentModule=E;if(Array.isArray(S)){const E=new Map;for(const k of S){E.set(k.module,k)}S=E}this._modulesMap=S}isModuleInScope(S){return this._modulesMap.has(S)}registerExport(S,E){if(!this._currentModule.exportMap){this._currentModule.exportMap=new Map}if(!this._currentModule.exportMap.has(S)){this._currentModule.exportMap.set(S,E)}}registerRawExport(S,E){if(!this._currentModule.rawExportMap){this._currentModule.rawExportMap=new Map}if(!this._currentModule.rawExportMap.has(S)){this._currentModule.rawExportMap.set(S,E)}}registerNamespaceExport(S){this._currentModule.namespaceExportSymbol=S}createModuleReference(S,{ids:E=undefined,call:k=false,directImport:w=false,asiSafe:N=false}){const j=this._modulesMap.get(S);const q=k?"_call":"";const ee=w?"_directImport":"";const te=N?"_asiSafe1":N===false?"_asiSafe0":"";const ne=E?Buffer.from(JSON.stringify(E),"utf-8").toString("hex"):"ns";return`__WEBPACK_MODULE_REFERENCE__${j.index}_${ne}${q}${ee}${te}__._`}static isModuleReference(S){return E.test(S)}static matchModuleReference(S){const k=E.exec(S);if(!k)return null;const w=+k[1];const N=k[5];return{index:w,ids:k[2]==="ns"?[]:JSON.parse(Buffer.from(k[2],"hex").toString("utf-8")),call:!!k[3],directImport:!!k[4],asiSafe:N?N==="1":undefined}}}ConcatenationScope.DEFAULT_EXPORT=k;ConcatenationScope.NAMESPACE_OBJECT_EXPORT=w;S.exports=ConcatenationScope},27310:(S,E,k)=>{"use strict";const w=k(81627);S.exports=class ConcurrentCompilationError extends w{constructor(){super();this.name="ConcurrentCompilationError";this.message="You ran Webpack twice. Each instance only supports a single concurrent compilation at a time."}}},11518:(S,E,k)=>{"use strict";const{ConcatSource:w,PrefixSource:N}=k(48135);const j=k(63272);const q=k(58159);const{mergeRuntime:ee}=k(37416);const wrapInCondition=(S,E)=>{if(typeof E==="string"){return q.asString([`if (${S}) {`,q.indent(E),"}",""])}else{return new w(`if (${S}) {\n`,new N("\t",E),"}\n")}};class ConditionalInitFragment extends j{constructor(S,E,k,w,N=true,j){super(S,E,k,w,j);this.runtimeCondition=N}getContent(S){if(this.runtimeCondition===false||!this.content)return"";if(this.runtimeCondition===true)return this.content;const E=S.runtimeTemplate.runtimeConditionExpression({chunkGraph:S.chunkGraph,runtimeRequirements:S.runtimeRequirements,runtime:S.runtime,runtimeCondition:this.runtimeCondition});if(E==="true")return this.content;return wrapInCondition(E,this.content)}getEndContent(S){if(this.runtimeCondition===false||!this.endContent)return"";if(this.runtimeCondition===true)return this.endContent;const E=S.runtimeTemplate.runtimeConditionExpression({chunkGraph:S.chunkGraph,runtimeRequirements:S.runtimeRequirements,runtime:S.runtime,runtimeCondition:this.runtimeCondition});if(E==="true")return this.endContent;return wrapInCondition(E,this.endContent)}merge(S){if(this.runtimeCondition===true)return this;if(S.runtimeCondition===true)return S;if(this.runtimeCondition===false)return S;if(S.runtimeCondition===false)return this;const E=ee(this.runtimeCondition,S.runtimeCondition);return new ConditionalInitFragment(this.content,this.stage,this.position,this.key,E,this.endContent)}}S.exports=ConditionalInitFragment},40552:(S,E,k)=>{"use strict";const w=k(59455);const N=k(66298);const{evaluateToString:j}=k(48472);const{parseResource:q}=k(49197);const collectDeclaration=(S,E)=>{const k=[E];while(k.length>0){const E=k.pop();switch(E.type){case"Identifier":S.add(E.name);break;case"ArrayPattern":for(const S of E.elements){if(S){k.push(S)}}break;case"AssignmentPattern":k.push(E.left);break;case"ObjectPattern":for(const S of E.properties){k.push(S.value)}break;case"RestElement":k.push(E.argument);break}}};const getHoistedDeclarations=(S,E)=>{const k=new Set;const w=[S];while(w.length>0){const S=w.pop();if(!S)continue;switch(S.type){case"BlockStatement":for(const E of S.body){w.push(E)}break;case"IfStatement":w.push(S.consequent);w.push(S.alternate);break;case"ForStatement":w.push(S.init);w.push(S.body);break;case"ForInStatement":case"ForOfStatement":w.push(S.left);w.push(S.body);break;case"DoWhileStatement":case"WhileStatement":case"LabeledStatement":w.push(S.body);break;case"SwitchStatement":for(const E of S.cases){for(const S of E.consequent){w.push(S)}}break;case"TryStatement":w.push(S.block);if(S.handler){w.push(S.handler.body)}w.push(S.finalizer);break;case"FunctionDeclaration":if(E){collectDeclaration(k,S.id)}break;case"VariableDeclaration":if(S.kind==="var"){for(const E of S.declarations){collectDeclaration(k,E.id)}}break}}return Array.from(k)};class ConstPlugin{apply(S){const E=q.bindCache(S.root);S.hooks.compilation.tap("ConstPlugin",((S,{normalModuleFactory:k})=>{S.dependencyTemplates.set(N,new N.Template);S.dependencyTemplates.set(w,new w.Template);const handler=S=>{S.hooks.statementIf.tap("ConstPlugin",(E=>{if(S.scope.isAsmJs)return;const k=S.evaluateExpression(E.test);const w=k.asBool();if(typeof w==="boolean"){if(!k.couldHaveSideEffects()){const j=new N(`${w}`,k.range);j.loc=E.loc;S.state.module.addPresentationalDependency(j)}else{S.walkExpression(E.test)}const j=w?E.alternate:E.consequent;if(j){let E;if(S.scope.isStrict){E=getHoistedDeclarations(j,false)}else{E=getHoistedDeclarations(j,true)}let k;if(E.length>0){k=`{ var ${E.join(", ")}; }`}else{k="{}"}const w=new N(k,j.range);w.loc=j.loc;S.state.module.addPresentationalDependency(w)}return w}}));S.hooks.expressionConditionalOperator.tap("ConstPlugin",(E=>{if(S.scope.isAsmJs)return;const k=S.evaluateExpression(E.test);const w=k.asBool();if(typeof w==="boolean"){if(!k.couldHaveSideEffects()){const j=new N(` ${w}`,k.range);j.loc=E.loc;S.state.module.addPresentationalDependency(j)}else{S.walkExpression(E.test)}const j=w?E.alternate:E.consequent;const q=new N("0",j.range);q.loc=j.loc;S.state.module.addPresentationalDependency(q);return w}}));S.hooks.expressionLogicalOperator.tap("ConstPlugin",(E=>{if(S.scope.isAsmJs)return;if(E.operator==="&&"||E.operator==="||"){const k=S.evaluateExpression(E.left);const w=k.asBool();if(typeof w==="boolean"){const j=E.operator==="&&"&&w||E.operator==="||"&&!w;if(!k.couldHaveSideEffects()&&(k.isBoolean()||j)){const j=new N(` ${w}`,k.range);j.loc=E.loc;S.state.module.addPresentationalDependency(j)}else{S.walkExpression(E.left)}if(!j){const k=new N("0",E.right.range);k.loc=E.loc;S.state.module.addPresentationalDependency(k)}return j}}else if(E.operator==="??"){const k=S.evaluateExpression(E.left);const w=k&&k.asNullish();if(typeof w==="boolean"){if(!k.couldHaveSideEffects()&&w){const w=new N(" null",k.range);w.loc=E.loc;S.state.module.addPresentationalDependency(w)}else{const k=new N("0",E.right.range);k.loc=E.loc;S.state.module.addPresentationalDependency(k);S.walkExpression(E.left)}return w}}}));S.hooks.optionalChaining.tap("ConstPlugin",(E=>{const k=[];let w=E.expression;while(w.type==="MemberExpression"||w.type==="CallExpression"){if(w.type==="MemberExpression"){if(w.optional){k.push(w.object)}w=w.object}else{if(w.optional){k.push(w.callee)}w=w.callee}}while(k.length){const w=k.pop();const j=S.evaluateExpression(w);if(j&&j.asNullish()){const k=new N(" undefined",E.range);k.loc=E.loc;S.state.module.addPresentationalDependency(k);return true}}}));S.hooks.evaluateIdentifier.for("__resourceQuery").tap("ConstPlugin",(k=>{if(S.scope.isAsmJs)return;if(!S.state.module)return;return j(E(S.state.module.resource).query)(k)}));S.hooks.expression.for("__resourceQuery").tap("ConstPlugin",(k=>{if(S.scope.isAsmJs)return;if(!S.state.module)return;const N=new w(JSON.stringify(E(S.state.module.resource).query),k.range,"__resourceQuery");N.loc=k.loc;S.state.module.addPresentationalDependency(N);return true}));S.hooks.evaluateIdentifier.for("__resourceFragment").tap("ConstPlugin",(k=>{if(S.scope.isAsmJs)return;if(!S.state.module)return;return j(E(S.state.module.resource).fragment)(k)}));S.hooks.expression.for("__resourceFragment").tap("ConstPlugin",(k=>{if(S.scope.isAsmJs)return;if(!S.state.module)return;const N=new w(JSON.stringify(E(S.state.module.resource).fragment),k.range,"__resourceFragment");N.loc=k.loc;S.state.module.addPresentationalDependency(N);return true}))};k.hooks.parser.for("javascript/auto").tap("ConstPlugin",handler);k.hooks.parser.for("javascript/dynamic").tap("ConstPlugin",handler);k.hooks.parser.for("javascript/esm").tap("ConstPlugin",handler)}))}}S.exports=ConstPlugin},51709:S=>{"use strict";class ContextExclusionPlugin{constructor(S){this.negativeMatcher=S}apply(S){S.hooks.contextModuleFactory.tap("ContextExclusionPlugin",(S=>{S.hooks.contextModuleFiles.tap("ContextExclusionPlugin",(S=>S.filter((S=>!this.negativeMatcher.test(S)))))}))}}S.exports=ContextExclusionPlugin},58126:(S,E,k)=>{"use strict";const{OriginalSource:w,RawSource:N}=k(48135);const j=k(98221);const{makeWebpackError:q}=k(3728);const ee=k(53453);const te=k(76150);const ne=k(58159);const ae=k(81627);const{compareLocations:_e,concatComparators:ve,compareSelect:Ee,keepOriginalOrder:Te,compareModulesById:Ce}=k(68673);const{contextify:we,parseResource:Ne}=k(49197);const Ie=k(56202);const Fe={timestamp:true};const Oe=new Set(["javascript"]);class ContextModule extends ee{constructor(S,E){const k=Ne(E?E.resource:"");const w=k.path;const N=E&&E.resourceQuery||k.query;const j=E&&E.resourceFragment||k.fragment;super("javascript/dynamic",w);this.resolveDependencies=S;this.options={...E,resource:w,resourceQuery:N,resourceFragment:j};if(E&&E.resolveOptions!==undefined){this.resolveOptions=E.resolveOptions}if(E&&typeof E.mode!=="string"){throw new Error("options.mode is a required option")}this._identifier=this._createIdentifier();this._forceBuild=true}getSourceTypes(){return Oe}updateCacheModule(S){const E=S;this.resolveDependencies=E.resolveDependencies;this.options=E.options}cleanupForCache(){super.cleanupForCache();this.resolveDependencies=undefined}prettyRegExp(S){return S.substring(1,S.length-1).replace(/!/g,"%21")}_createIdentifier(){let S=this.context;if(this.options.resourceQuery){S+=`|${this.options.resourceQuery}`}if(this.options.resourceFragment){S+=`|${this.options.resourceFragment}`}if(this.options.mode){S+=`|${this.options.mode}`}if(!this.options.recursive){S+="|nonrecursive"}if(this.options.addon){S+=`|${this.options.addon}`}if(this.options.regExp){S+=`|${this.options.regExp}`}if(this.options.include){S+=`|include: ${this.options.include}`}if(this.options.exclude){S+=`|exclude: ${this.options.exclude}`}if(this.options.referencedExports){S+=`|referencedExports: ${JSON.stringify(this.options.referencedExports)}`}if(this.options.chunkName){S+=`|chunkName: ${this.options.chunkName}`}if(this.options.groupOptions){S+=`|groupOptions: ${JSON.stringify(this.options.groupOptions)}`}if(this.options.namespaceObject==="strict"){S+="|strict namespace object"}else if(this.options.namespaceObject){S+="|namespace object"}return S}identifier(){return this._identifier}readableIdentifier(S){let E=S.shorten(this.context)+"/";if(this.options.resourceQuery){E+=` ${this.options.resourceQuery}`}if(this.options.mode){E+=` ${this.options.mode}`}if(!this.options.recursive){E+=" nonrecursive"}if(this.options.addon){E+=` ${S.shorten(this.options.addon)}`}if(this.options.regExp){E+=` ${this.prettyRegExp(this.options.regExp+"")}`}if(this.options.include){E+=` include: ${this.prettyRegExp(this.options.include+"")}`}if(this.options.exclude){E+=` exclude: ${this.prettyRegExp(this.options.exclude+"")}`}if(this.options.referencedExports){E+=` referencedExports: ${this.options.referencedExports.map((S=>S.join("."))).join(", ")}`}if(this.options.chunkName){E+=` chunkName: ${this.options.chunkName}`}if(this.options.groupOptions){const S=this.options.groupOptions;for(const k of Object.keys(S)){E+=` ${k}: ${S[k]}`}}if(this.options.namespaceObject==="strict"){E+=" strict namespace object"}else if(this.options.namespaceObject){E+=" namespace object"}return E}libIdent(S){let E=we(S.context,this.context,S.associatedObjectForCache);if(this.options.mode){E+=` ${this.options.mode}`}if(this.options.recursive){E+=" recursive"}if(this.options.addon){E+=` ${we(S.context,this.options.addon,S.associatedObjectForCache)}`}if(this.options.regExp){E+=` ${this.prettyRegExp(this.options.regExp+"")}`}if(this.options.include){E+=` include: ${this.prettyRegExp(this.options.include+"")}`}if(this.options.exclude){E+=` exclude: ${this.prettyRegExp(this.options.exclude+"")}`}if(this.options.referencedExports){E+=` referencedExports: ${this.options.referencedExports.map((S=>S.join("."))).join(", ")}`}return E}invalidateBuild(){this._forceBuild=true}needBuild({fileSystemInfo:S},E){if(this._forceBuild)return E(null,true);if(!this.buildInfo.snapshot)return E(null,true);S.checkSnapshotValid(this.buildInfo.snapshot,((S,k)=>{E(S,!k)}))}build(S,E,k,w,N){this._forceBuild=false;this.buildMeta={exportsType:"default",defaultObject:"redirect-warn"};this.buildInfo={snapshot:undefined};this.dependencies.length=0;this.blocks.length=0;const ee=Date.now();this.resolveDependencies(w,this.options,((S,k)=>{if(S){return N(q(S,"ContextModule.resolveDependencies"))}if(!k){N();return}for(const S of k){S.loc={name:S.userRequest};S.request=this.options.addon+S.request}k.sort(ve(Ee((S=>S.loc),_e),Te(this.dependencies)));if(this.options.mode==="sync"||this.options.mode==="eager"){this.dependencies=k}else if(this.options.mode==="lazy-once"){if(k.length>0){const S=new j({...this.options.groupOptions,name:this.options.chunkName});for(const E of k){S.addDependency(E)}this.addBlock(S)}}else if(this.options.mode==="weak"||this.options.mode==="async-weak"){for(const S of k){S.weak=true}this.dependencies=k}else if(this.options.mode==="lazy"){let S=0;for(const E of k){let k=this.options.chunkName;if(k){if(!/\[(index|request)\]/.test(k)){k+="[index]"}k=k.replace(/\[index\]/g,`${S++}`);k=k.replace(/\[request\]/g,ne.toPath(E.userRequest))}const w=new j({...this.options.groupOptions,name:k},E.loc,E.userRequest);w.addDependency(E);this.addBlock(w)}}else{N(new ae(`Unsupported mode "${this.options.mode}" in context`));return}E.fileSystemInfo.createSnapshot(ee,null,[this.context],null,Fe,((S,E)=>{if(S)return N(S);this.buildInfo.snapshot=E;N()}))}))}addCacheDependencies(S,E,k,w){E.add(this.context)}getUserRequestMap(S,E){const k=E.moduleGraph;const w=S.filter((S=>k.getModule(S))).sort(((S,E)=>{if(S.userRequest===E.userRequest){return 0}return S.userRequestk.getModule(S))).filter(Boolean).sort(N);const q=Object.create(null);for(const S of j){const N=S.getExportsType(k,this.options.namespaceObject==="strict");const j=E.getModuleId(S);switch(N){case"namespace":q[j]=9;w|=1;break;case"dynamic":q[j]=7;w|=2;break;case"default-only":q[j]=1;w|=4;break;case"default-with-named":q[j]=3;w|=8;break;default:throw new Error(`Unexpected exports type ${N}`)}}if(w===1){return 9}if(w===2){return 7}if(w===4){return 1}if(w===8){return 3}if(w===0){return 9}return q}getFakeMapInitStatement(S){return typeof S==="object"?`var fakeMap = ${JSON.stringify(S,null,"\t")};`:""}getReturn(S,E){if(S===9){return"__webpack_require__(id)"}return`${te.createFakeNamespaceObject}(id, ${S}${E?" | 16":""})`}getReturnModuleObjectSource(S,E,k="fakeMap[id]"){if(typeof S==="number"){return`return ${this.getReturn(S,E)};`}return`return ${te.createFakeNamespaceObject}(id, ${k}${E?" | 16":""})`}getSyncSource(S,E,k){const w=this.getUserRequestMap(S,k);const N=this.getFakeMap(S,k);const j=this.getReturnModuleObjectSource(N);return`var map = ${JSON.stringify(w,null,"\t")};\n${this.getFakeMapInitStatement(N)}\n\nfunction webpackContext(req) {\n\tvar id = webpackContextResolve(req);\n\t${j}\n}\nfunction webpackContextResolve(req) {\n\tif(!${te.hasOwnProperty}(map, req)) {\n\t\tvar e = new Error("Cannot find module '" + req + "'");\n\t\te.code = 'MODULE_NOT_FOUND';\n\t\tthrow e;\n\t}\n\treturn map[req];\n}\nwebpackContext.keys = function webpackContextKeys() {\n\treturn Object.keys(map);\n};\nwebpackContext.resolve = webpackContextResolve;\nmodule.exports = webpackContext;\nwebpackContext.id = ${JSON.stringify(E)};`}getWeakSyncSource(S,E,k){const w=this.getUserRequestMap(S,k);const N=this.getFakeMap(S,k);const j=this.getReturnModuleObjectSource(N);return`var map = ${JSON.stringify(w,null,"\t")};\n${this.getFakeMapInitStatement(N)}\n\nfunction webpackContext(req) {\n\tvar id = webpackContextResolve(req);\n\tif(!${te.moduleFactories}[id]) {\n\t\tvar e = new Error("Module '" + req + "' ('" + id + "') is not available (weak dependency)");\n\t\te.code = 'MODULE_NOT_FOUND';\n\t\tthrow e;\n\t}\n\t${j}\n}\nfunction webpackContextResolve(req) {\n\tif(!${te.hasOwnProperty}(map, req)) {\n\t\tvar e = new Error("Cannot find module '" + req + "'");\n\t\te.code = 'MODULE_NOT_FOUND';\n\t\tthrow e;\n\t}\n\treturn map[req];\n}\nwebpackContext.keys = function webpackContextKeys() {\n\treturn Object.keys(map);\n};\nwebpackContext.resolve = webpackContextResolve;\nwebpackContext.id = ${JSON.stringify(E)};\nmodule.exports = webpackContext;`}getAsyncWeakSource(S,E,{chunkGraph:k,runtimeTemplate:w}){const N=w.supportsArrowFunction();const j=this.getUserRequestMap(S,k);const q=this.getFakeMap(S,k);const ee=this.getReturnModuleObjectSource(q,true);return`var map = ${JSON.stringify(j,null,"\t")};\n${this.getFakeMapInitStatement(q)}\n\nfunction webpackAsyncContext(req) {\n\treturn webpackAsyncContextResolve(req).then(${N?"id =>":"function(id)"} {\n\t\tif(!${te.moduleFactories}[id]) {\n\t\t\tvar e = new Error("Module '" + req + "' ('" + id + "') is not available (weak dependency)");\n\t\t\te.code = 'MODULE_NOT_FOUND';\n\t\t\tthrow e;\n\t\t}\n\t\t${ee}\n\t});\n}\nfunction webpackAsyncContextResolve(req) {\n\t// Here Promise.resolve().then() is used instead of new Promise() to prevent\n\t// uncaught exception popping up in devtools\n\treturn Promise.resolve().then(${N?"() =>":"function()"} {\n\t\tif(!${te.hasOwnProperty}(map, req)) {\n\t\t\tvar e = new Error("Cannot find module '" + req + "'");\n\t\t\te.code = 'MODULE_NOT_FOUND';\n\t\t\tthrow e;\n\t\t}\n\t\treturn map[req];\n\t});\n}\nwebpackAsyncContext.keys = ${w.returningFunction("Object.keys(map)")};\nwebpackAsyncContext.resolve = webpackAsyncContextResolve;\nwebpackAsyncContext.id = ${JSON.stringify(E)};\nmodule.exports = webpackAsyncContext;`}getEagerSource(S,E,{chunkGraph:k,runtimeTemplate:w}){const N=w.supportsArrowFunction();const j=this.getUserRequestMap(S,k);const q=this.getFakeMap(S,k);const ee=q!==9?`${N?"id =>":"function(id)"} {\n\t\t${this.getReturnModuleObjectSource(q)}\n\t}`:"__webpack_require__";return`var map = ${JSON.stringify(j,null,"\t")};\n${this.getFakeMapInitStatement(q)}\n\nfunction webpackAsyncContext(req) {\n\treturn webpackAsyncContextResolve(req).then(${ee});\n}\nfunction webpackAsyncContextResolve(req) {\n\t// Here Promise.resolve().then() is used instead of new Promise() to prevent\n\t// uncaught exception popping up in devtools\n\treturn Promise.resolve().then(${N?"() =>":"function()"} {\n\t\tif(!${te.hasOwnProperty}(map, req)) {\n\t\t\tvar e = new Error("Cannot find module '" + req + "'");\n\t\t\te.code = 'MODULE_NOT_FOUND';\n\t\t\tthrow e;\n\t\t}\n\t\treturn map[req];\n\t});\n}\nwebpackAsyncContext.keys = ${w.returningFunction("Object.keys(map)")};\nwebpackAsyncContext.resolve = webpackAsyncContextResolve;\nwebpackAsyncContext.id = ${JSON.stringify(E)};\nmodule.exports = webpackAsyncContext;`}getLazyOnceSource(S,E,k,{runtimeTemplate:w,chunkGraph:N}){const j=w.blockPromise({chunkGraph:N,block:S,message:"lazy-once context",runtimeRequirements:new Set});const q=w.supportsArrowFunction();const ee=this.getUserRequestMap(E,N);const ne=this.getFakeMap(E,N);const ae=ne!==9?`${q?"id =>":"function(id)"} {\n\t\t${this.getReturnModuleObjectSource(ne,true)};\n\t}`:"__webpack_require__";return`var map = ${JSON.stringify(ee,null,"\t")};\n${this.getFakeMapInitStatement(ne)}\n\nfunction webpackAsyncContext(req) {\n\treturn webpackAsyncContextResolve(req).then(${ae});\n}\nfunction webpackAsyncContextResolve(req) {\n\treturn ${j}.then(${q?"() =>":"function()"} {\n\t\tif(!${te.hasOwnProperty}(map, req)) {\n\t\t\tvar e = new Error("Cannot find module '" + req + "'");\n\t\t\te.code = 'MODULE_NOT_FOUND';\n\t\t\tthrow e;\n\t\t}\n\t\treturn map[req];\n\t});\n}\nwebpackAsyncContext.keys = ${w.returningFunction("Object.keys(map)")};\nwebpackAsyncContext.resolve = webpackAsyncContextResolve;\nwebpackAsyncContext.id = ${JSON.stringify(k)};\nmodule.exports = webpackAsyncContext;`}getLazySource(S,E,{chunkGraph:k,runtimeTemplate:w}){const N=k.moduleGraph;const j=w.supportsArrowFunction();let q=false;let ee=true;const ne=this.getFakeMap(S.map((S=>S.dependencies[0])),k);const ae=typeof ne==="object";const _e=S.map((S=>{const E=S.dependencies[0];return{dependency:E,module:N.getModule(E),block:S,userRequest:E.userRequest,chunks:undefined}})).filter((S=>S.module));for(const S of _e){const E=k.getBlockChunkGroup(S.block);const w=E&&E.chunks||[];S.chunks=w;if(w.length>0){ee=false}if(w.length!==1){q=true}}const ve=ee&&!ae;const Ee=_e.sort(((S,E)=>{if(S.userRequest===E.userRequest)return 0;return S.userRequestS.id)))}}const Ce=ae?2:1;const we=ee?"Promise.resolve()":q?`Promise.all(ids.slice(${Ce}).map(${te.ensureChunk}))`:`${te.ensureChunk}(ids[${Ce}])`;const Ne=this.getReturnModuleObjectSource(ne,true,ve?"invalid":"ids[1]");const Ie=we==="Promise.resolve()"?`\nfunction webpackAsyncContext(req) {\n\treturn Promise.resolve().then(${j?"() =>":"function()"} {\n\t\tif(!${te.hasOwnProperty}(map, req)) {\n\t\t\tvar e = new Error("Cannot find module '" + req + "'");\n\t\t\te.code = 'MODULE_NOT_FOUND';\n\t\t\tthrow e;\n\t\t}\n\n\t\t${ve?"var id = map[req];":"var ids = map[req], id = ids[0];"}\n\t\t${Ne}\n\t});\n}`:`function webpackAsyncContext(req) {\n\tif(!${te.hasOwnProperty}(map, req)) {\n\t\treturn Promise.resolve().then(${j?"() =>":"function()"} {\n\t\t\tvar e = new Error("Cannot find module '" + req + "'");\n\t\t\te.code = 'MODULE_NOT_FOUND';\n\t\t\tthrow e;\n\t\t});\n\t}\n\n\tvar ids = map[req], id = ids[0];\n\treturn ${we}.then(${j?"() =>":"function()"} {\n\t\t${Ne}\n\t});\n}`;return`var map = ${JSON.stringify(Te,null,"\t")};\n${Ie}\nwebpackAsyncContext.keys = ${w.returningFunction("Object.keys(map)")};\nwebpackAsyncContext.id = ${JSON.stringify(E)};\nmodule.exports = webpackAsyncContext;`}getSourceForEmptyContext(S,E){return`function webpackEmptyContext(req) {\n\tvar e = new Error("Cannot find module '" + req + "'");\n\te.code = 'MODULE_NOT_FOUND';\n\tthrow e;\n}\nwebpackEmptyContext.keys = ${E.returningFunction("[]")};\nwebpackEmptyContext.resolve = webpackEmptyContext;\nwebpackEmptyContext.id = ${JSON.stringify(S)};\nmodule.exports = webpackEmptyContext;`}getSourceForEmptyAsyncContext(S,E){const k=E.supportsArrowFunction();return`function webpackEmptyAsyncContext(req) {\n\t// Here Promise.resolve().then() is used instead of new Promise() to prevent\n\t// uncaught exception popping up in devtools\n\treturn Promise.resolve().then(${k?"() =>":"function()"} {\n\t\tvar e = new Error("Cannot find module '" + req + "'");\n\t\te.code = 'MODULE_NOT_FOUND';\n\t\tthrow e;\n\t});\n}\nwebpackEmptyAsyncContext.keys = ${E.returningFunction("[]")};\nwebpackEmptyAsyncContext.resolve = webpackEmptyAsyncContext;\nwebpackEmptyAsyncContext.id = ${JSON.stringify(S)};\nmodule.exports = webpackEmptyAsyncContext;`}getSourceString(S,{runtimeTemplate:E,chunkGraph:k}){const w=k.getModuleId(this);if(S==="lazy"){if(this.blocks&&this.blocks.length>0){return this.getLazySource(this.blocks,w,{runtimeTemplate:E,chunkGraph:k})}return this.getSourceForEmptyAsyncContext(w,E)}if(S==="eager"){if(this.dependencies&&this.dependencies.length>0){return this.getEagerSource(this.dependencies,w,{chunkGraph:k,runtimeTemplate:E})}return this.getSourceForEmptyAsyncContext(w,E)}if(S==="lazy-once"){const S=this.blocks[0];if(S){return this.getLazyOnceSource(S,S.dependencies,w,{runtimeTemplate:E,chunkGraph:k})}return this.getSourceForEmptyAsyncContext(w,E)}if(S==="async-weak"){if(this.dependencies&&this.dependencies.length>0){return this.getAsyncWeakSource(this.dependencies,w,{chunkGraph:k,runtimeTemplate:E})}return this.getSourceForEmptyAsyncContext(w,E)}if(S==="weak"){if(this.dependencies&&this.dependencies.length>0){return this.getWeakSyncSource(this.dependencies,w,k)}}if(this.dependencies&&this.dependencies.length>0){return this.getSyncSource(this.dependencies,w,k)}return this.getSourceForEmptyContext(w,E)}getSource(S){if(this.useSourceMap||this.useSimpleSourceMap){return new w(S,this.identifier())}return new N(S)}codeGeneration(S){const{chunkGraph:E}=S;const k=new Map;k.set("javascript",this.getSource(this.getSourceString(this.options.mode,S)));const w=new Set;const N=this.dependencies.concat(this.blocks.map((S=>S.dependencies[0])));w.add(te.module);w.add(te.hasOwnProperty);if(N.length>0){const S=this.options.mode;w.add(te.require);if(S==="weak"){w.add(te.moduleFactories)}else if(S==="async-weak"){w.add(te.moduleFactories);w.add(te.ensureChunk)}else if(S==="lazy"||S==="lazy-once"){w.add(te.ensureChunk)}if(this.getFakeMap(N,E)!==9){w.add(te.createFakeNamespaceObject)}}return{sources:k,runtimeRequirements:w}}size(S){let E=160;for(const S of this.dependencies){const k=S;E+=5+k.userRequest.length}return E}serialize(S){const{write:E}=S;E(this._identifier);E(this._forceBuild);super.serialize(S)}deserialize(S){const{read:E}=S;this._identifier=E();this._forceBuild=E();super.deserialize(S)}}Ie(ContextModule,"webpack/lib/ContextModule");S.exports=ContextModule},89869:(S,E,k)=>{"use strict";const w=k(62355);const{AsyncSeriesWaterfallHook:N,SyncWaterfallHook:j}=k(92960);const q=k(58126);const ee=k(40674);const te=k(90872);const ne=k(83379);const{cachedSetProperty:ae}=k(90149);const{createFakeHook:_e}=k(16595);const{join:ve}=k(95396);const Ee={};S.exports=class ContextModuleFactory extends ee{constructor(S){super();const E=new N(["modules","options"]);this.hooks=Object.freeze({beforeResolve:new N(["data"]),afterResolve:new N(["data"]),contextModuleFiles:new j(["files"]),alternatives:_e({name:"alternatives",intercept:S=>{throw new Error("Intercepting fake hook ContextModuleFactory.hooks.alternatives is not possible, use ContextModuleFactory.hooks.alternativeRequests instead")},tap:(S,k)=>{E.tap(S,k)},tapAsync:(S,k)=>{E.tapAsync(S,((S,E,w)=>k(S,w)))},tapPromise:(S,k)=>{E.tapPromise(S,k)}},"ContextModuleFactory.hooks.alternatives has deprecated in favor of ContextModuleFactory.hooks.alternativeRequests with an additional options argument.","DEP_WEBPACK_CONTEXT_MODULE_FACTORY_ALTERNATIVES"),alternativeRequests:E});this.resolverFactory=S}create(S,E){const k=S.context;const N=S.dependencies;const j=S.resolveOptions;const ee=N[0];const te=new ne;const _e=new ne;const ve=new ne;this.hooks.beforeResolve.callAsync({context:k,dependencies:N,resolveOptions:j,fileDependencies:te,missingDependencies:_e,contextDependencies:ve,...ee.options},((S,k)=>{if(S){return E(S,{fileDependencies:te,missingDependencies:_e,contextDependencies:ve})}if(!k){return E(null,{fileDependencies:te,missingDependencies:_e,contextDependencies:ve})}const j=k.context;const ee=k.request;const ne=k.resolveOptions;let Te,Ce,we="";const Ne=ee.lastIndexOf("!");if(Ne>=0){let S=ee.substr(0,Ne+1);let E;for(E=0;E0?ae(ne||Ee,"dependencyType",N[0].category):ne);const Fe=this.resolverFactory.get("loader");w.parallel([S=>{Ie.resolve({},j,Ce,{fileDependencies:te,missingDependencies:_e,contextDependencies:ve},((E,k)=>{if(E)return S(E);S(null,k)}))},S=>{w.map(Te,((S,E)=>{Fe.resolve({},j,S,{fileDependencies:te,missingDependencies:_e,contextDependencies:ve},((S,k)=>{if(S)return E(S);E(null,k)}))}),S)}],((S,w)=>{if(S){return E(S,{fileDependencies:te,missingDependencies:_e,contextDependencies:ve})}this.hooks.afterResolve.callAsync({addon:we+w[1].join("!")+(w[1].length>0?"!":""),resource:w[0],resolveDependencies:this.resolveDependencies.bind(this),...k},((S,k)=>{if(S){return E(S,{fileDependencies:te,missingDependencies:_e,contextDependencies:ve})}if(!k){return E(null,{fileDependencies:te,missingDependencies:_e,contextDependencies:ve})}return E(null,{module:new q(k.resolveDependencies,k),fileDependencies:te,missingDependencies:_e,contextDependencies:ve})}))}))}))}resolveDependencies(S,E,k){const N=this;const{resource:j,resourceQuery:q,resourceFragment:ee,recursive:ne,regExp:ae,include:_e,exclude:Ee,referencedExports:Te,category:Ce,typePrefix:we}=E;if(!ae||!j)return k(null,[]);const addDirectoryChecked=(E,k,w)=>{S.realpath(E,((S,N)=>{if(S)return w(S);if(k.has(N))return w(null,[]);let j;addDirectory(E,((S,E)=>{if(j===undefined){j=new Set(k);j.add(N)}addDirectoryChecked(S,j,E)}),w)}))};const addDirectory=(k,Ne,Ie)=>{S.readdir(k,((Fe,Oe)=>{if(Fe)return Ie(Fe);const Me=N.hooks.contextModuleFiles.call(Oe.map((S=>S.normalize("NFC"))));if(!Me||Me.length===0)return Ie(null,[]);w.map(Me.filter((S=>S.indexOf(".")!==0)),((w,N)=>{const Ie=ve(S,k,w);if(!Ee||!Ie.match(Ee)){S.stat(Ie,((S,k)=>{if(S){if(S.code==="ENOENT"){return N()}else{return N(S)}}if(k.isDirectory()){if(!ne)return N();Ne(Ie,N)}else if(k.isFile()&&(!_e||Ie.match(_e))){const S={context:j,request:"."+Ie.substr(j.length).replace(/\\/g,"/")};this.hooks.alternativeRequests.callAsync([S],E,((S,E)=>{if(S)return N(S);E=E.filter((S=>ae.test(S.request))).map((S=>{const E=new te(S.request+q+ee,S.request,we,Ce,Te);E.optional=true;return E}));N(null,E)}))}else{N()}}))}else{N()}}),((S,E)=>{if(S)return Ie(S);if(!E)return Ie(null,[]);const k=[];for(const S of E){if(S)k.push(...S)}Ie(null,k)}))}))};if(typeof S.realpath==="function"){addDirectoryChecked(j,new Set,k)}else{const addSubDirectory=(S,E)=>addDirectory(S,addSubDirectory,E);addDirectory(j,addSubDirectory,k)}}}},26552:(S,E,k)=>{"use strict";const w=k(90872);const{join:N}=k(95396);class ContextReplacementPlugin{constructor(S,E,k,w){this.resourceRegExp=S;if(typeof E==="function"){this.newContentCallback=E}else if(typeof E==="string"&&typeof k==="object"){this.newContentResource=E;this.newContentCreateContextMap=(S,E)=>{E(null,k)}}else if(typeof E==="string"&&typeof k==="function"){this.newContentResource=E;this.newContentCreateContextMap=k}else{if(typeof E!=="string"){w=k;k=E;E=undefined}if(typeof k!=="boolean"){w=k;k=undefined}this.newContentResource=E;this.newContentRecursive=k;this.newContentRegExp=w}}apply(S){const E=this.resourceRegExp;const k=this.newContentCallback;const w=this.newContentResource;const j=this.newContentRecursive;const q=this.newContentRegExp;const ee=this.newContentCreateContextMap;S.hooks.contextModuleFactory.tap("ContextReplacementPlugin",(te=>{te.hooks.beforeResolve.tap("ContextReplacementPlugin",(S=>{if(!S)return;if(E.test(S.request)){if(w!==undefined){S.request=w}if(j!==undefined){S.recursive=j}if(q!==undefined){S.regExp=q}if(typeof k==="function"){k(S)}else{for(const E of S.dependencies){if(E.critical)E.critical=false}}}return S}));te.hooks.afterResolve.tap("ContextReplacementPlugin",(te=>{if(!te)return;if(E.test(te.resource)){if(w!==undefined){if(w.startsWith("/")||w.length>1&&w[1]===":"){te.resource=w}else{te.resource=N(S.inputFileSystem,te.resource,w)}}if(j!==undefined){te.recursive=j}if(q!==undefined){te.regExp=q}if(typeof ee==="function"){te.resolveDependencies=createResolveDependenciesFromContextMap(ee)}if(typeof k==="function"){const E=te.resource;k(te);if(te.resource!==E&&!te.resource.startsWith("/")&&(te.resource.length<=1||te.resource[1]!==":")){te.resource=N(S.inputFileSystem,E,te.resource)}}else{for(const S of te.dependencies){if(S.critical)S.critical=false}}}return te}))}))}}const createResolveDependenciesFromContextMap=S=>{const resolveDependenciesFromContextMap=(E,k,N)=>{S(E,((S,E)=>{if(S)return N(S);const j=Object.keys(E).map((S=>new w(E[S]+k.resourceQuery+k.resourceFragment,S,k.category,k.referencedExports)));N(null,j)}))};return resolveDependenciesFromContextMap};S.exports=ContextReplacementPlugin},24820:(S,E,k)=>{"use strict";const w=k(76150);const N=k(81627);const j=k(66298);const q=k(87250);const{evaluateToString:ee,toConstantDependency:te}=k(48472);const{provide:ne}=k(67585);class RuntimeValue{constructor(S,E){this.fn=S;if(Array.isArray(E)){E={fileDependencies:E}}this.options=E||{}}get fileDependencies(){return this.options===true?true:this.options.fileDependencies}exec(S,E,k){const w=S.state.module.buildInfo;if(this.options===true){w.cacheable=false}else{if(this.options.fileDependencies){for(const S of this.options.fileDependencies){w.fileDependencies.add(S)}}if(this.options.contextDependencies){for(const S of this.options.contextDependencies){w.contextDependencies.add(S)}}if(this.options.missingDependencies){for(const S of this.options.missingDependencies){w.missingDependencies.add(S)}}if(this.options.buildDependencies){for(const S of this.options.buildDependencies){w.buildDependencies.add(S)}}}return this.fn({module:S.state.module,key:k,get version(){return E.get(ae+k)}})}getCacheVersion(){return this.options===true?undefined:(typeof this.options.version==="function"?this.options.version():this.options.version)||"unset"}}const stringifyObj=(S,E,k,w,N,j)=>{let q;let ee=Array.isArray(S);if(ee){q=`[${S.map((S=>toCode(S,E,k,w,N,null))).join(",")}]`}else{q=`{${Object.keys(S).map((w=>{const j=S[w];return JSON.stringify(w)+":"+toCode(j,E,k,w,N,null)})).join(",")}}`}switch(j){case null:return q;case true:return ee?q:`(${q})`;case false:return ee?`;${q}`:`;(${q})`;default:return`Object(${q})`}};const toCode=(S,E,k,w,N,j)=>{if(S===null){return"null"}if(S===undefined){return"undefined"}if(Object.is(S,-0)){return"-0"}if(S instanceof RuntimeValue){return toCode(S.exec(E,k,w),E,k,w,N,j)}if(S instanceof RegExp&&S.toString){return S.toString()}if(typeof S==="function"&&S.toString){return"("+S.toString()+")"}if(typeof S==="object"){return stringifyObj(S,E,k,w,N,j)}if(typeof S==="bigint"){return N.supportsBigIntLiteral()?`${S}n`:`BigInt("${S}")`}return S+""};const toCacheVersion=S=>{if(S===null){return"null"}if(S===undefined){return"undefined"}if(Object.is(S,-0)){return"-0"}if(S instanceof RuntimeValue){return S.getCacheVersion()}if(S instanceof RegExp&&S.toString){return S.toString()}if(typeof S==="function"&&S.toString){return"("+S.toString()+")"}if(typeof S==="object"){const E=Object.keys(S).map((E=>({key:E,value:toCacheVersion(S[E])})));if(E.some((({value:S})=>S===undefined)))return undefined;return`{${E.map((({key:S,value:E})=>`${S}: ${E}`)).join(", ")}}`}if(typeof S==="bigint"){return`${S}n`}return S+""};const ae="webpack/DefinePlugin ";const _e="webpack/DefinePlugin";class DefinePlugin{constructor(S){this.definitions=S}static runtimeValue(S,E){return new RuntimeValue(S,E)}apply(S){const E=this.definitions;S.hooks.compilation.tap("DefinePlugin",((S,{normalModuleFactory:k})=>{S.dependencyTemplates.set(j,new j.Template);const{runtimeTemplate:ve}=S;const Ee=ne(S.valueCacheVersions,_e,(()=>new Set));const handler=k=>{k.hooks.program.tap("DefinePlugin",(()=>{const{buildInfo:S}=k.state.module;if(!S.valueDependencies)S.valueDependencies=new Map;S.valueDependencies.set(_e,Ee)}));const addValueDependency=E=>{const{buildInfo:w}=k.state.module;w.valueDependencies.set(ae+E,S.valueCacheVersions.get(ae+E))};const withValueDependency=(S,E)=>(...k)=>{addValueDependency(S);return E(...k)};const walkDefinitions=(S,E)=>{Object.keys(S).forEach((k=>{const w=S[k];if(w&&typeof w==="object"&&!(w instanceof RuntimeValue)&&!(w instanceof RegExp)){walkDefinitions(w,E+k+".");applyObjectDefine(E+k,w);return}applyDefineKey(E,k);applyDefine(E+k,w)}))};const applyDefineKey=(S,E)=>{const w=E.split(".");w.slice(1).forEach(((N,j)=>{const q=S+w.slice(0,j+1).join(".");k.hooks.canRename.for(q).tap("DefinePlugin",(()=>{addValueDependency(E);return true}))}))};const applyDefine=(E,N)=>{const j=E;const q=/^typeof\s+/.test(E);if(q)E=E.replace(/^typeof\s+/,"");let ee=false;let ne=false;if(!q){k.hooks.canRename.for(E).tap("DefinePlugin",(()=>{addValueDependency(j);return true}));k.hooks.evaluateIdentifier.for(E).tap("DefinePlugin",(w=>{if(ee)return;addValueDependency(j);ee=true;const q=k.evaluate(toCode(N,k,S.valueCacheVersions,E,ve,null));ee=false;q.setRange(w.range);return q}));k.hooks.expression.for(E).tap("DefinePlugin",(E=>{addValueDependency(j);const q=toCode(N,k,S.valueCacheVersions,j,ve,!k.isAsiPosition(E.range[0]));if(/__webpack_require__\s*(!?\.)/.test(q)){return te(k,q,[w.require])(E)}else if(/__webpack_require__/.test(q)){return te(k,q,[w.requireScope])(E)}else{return te(k,q)(E)}}))}k.hooks.evaluateTypeof.for(E).tap("DefinePlugin",(E=>{if(ne)return;ne=true;addValueDependency(j);const w=toCode(N,k,S.valueCacheVersions,j,ve,null);const ee=q?w:"typeof ("+w+")";const te=k.evaluate(ee);ne=false;te.setRange(E.range);return te}));k.hooks.typeof.for(E).tap("DefinePlugin",(E=>{addValueDependency(j);const w=toCode(N,k,S.valueCacheVersions,j,ve,null);const ee=q?w:"typeof ("+w+")";const ne=k.evaluate(ee);if(!ne.isString())return;return te(k,JSON.stringify(ne.string)).bind(k)(E)}))};const applyObjectDefine=(E,N)=>{k.hooks.canRename.for(E).tap("DefinePlugin",(()=>{addValueDependency(E);return true}));k.hooks.evaluateIdentifier.for(E).tap("DefinePlugin",(S=>{addValueDependency(E);return(new q).setTruthy().setSideEffects(false).setRange(S.range)}));k.hooks.evaluateTypeof.for(E).tap("DefinePlugin",withValueDependency(E,ee("object")));k.hooks.expression.for(E).tap("DefinePlugin",(j=>{addValueDependency(E);const q=stringifyObj(N,k,S.valueCacheVersions,E,ve,!k.isAsiPosition(j.range[0]));if(/__webpack_require__\s*(!?\.)/.test(q)){return te(k,q,[w.require])(j)}else if(/__webpack_require__/.test(q)){return te(k,q,[w.requireScope])(j)}else{return te(k,q)(j)}}));k.hooks.typeof.for(E).tap("DefinePlugin",withValueDependency(E,te(k,JSON.stringify("object"))))};walkDefinitions(E,"")};k.hooks.parser.for("javascript/auto").tap("DefinePlugin",handler);k.hooks.parser.for("javascript/dynamic").tap("DefinePlugin",handler);k.hooks.parser.for("javascript/esm").tap("DefinePlugin",handler);const walkDefinitionsForValues=(E,k)=>{Object.keys(E).forEach((w=>{const j=E[w];const q=toCacheVersion(j);const ee=ae+k+w;Ee.add(ee);const te=S.valueCacheVersions.get(ee);if(te===undefined){S.valueCacheVersions.set(ee,q)}else if(te!==q){const E=new N(`DefinePlugin\nConflicting values for '${k+w}'`);E.details=`'${te}' !== '${q}'`;E.hideStack=true;S.warnings.push(E)}if(j&&typeof j==="object"&&!(j instanceof RuntimeValue)&&!(j instanceof RegExp)){walkDefinitionsForValues(j,k+w+".")}}))};walkDefinitionsForValues(E,"")}))}}S.exports=DefinePlugin},3955:(S,E,k)=>{"use strict";const{OriginalSource:w,RawSource:N}=k(48135);const j=k(53453);const q=k(76150);const ee=k(49422);const te=k(96076);const ne=k(56202);const ae=new Set(["javascript"]);const _e=new Set([q.module,q.require]);class DelegatedModule extends j{constructor(S,E,k,w,N){super("javascript/dynamic",null);this.sourceRequest=S;this.request=E.id;this.delegationType=k;this.userRequest=w;this.originalRequest=N;this.delegateData=E;this.delegatedSourceDependency=undefined}getSourceTypes(){return ae}libIdent(S){return typeof this.originalRequest==="string"?this.originalRequest:this.originalRequest.libIdent(S)}identifier(){return`delegated ${JSON.stringify(this.request)} from ${this.sourceRequest}`}readableIdentifier(S){return`delegated ${this.userRequest} from ${this.sourceRequest}`}needBuild(S,E){return E(null,!this.buildMeta)}build(S,E,k,w,N){this.buildMeta={...this.delegateData.buildMeta};this.buildInfo={};this.dependencies.length=0;this.delegatedSourceDependency=new ee(this.sourceRequest);this.addDependency(this.delegatedSourceDependency);this.addDependency(new te(this.delegateData.exports||true,false));N()}codeGeneration({runtimeTemplate:S,moduleGraph:E,chunkGraph:k}){const j=this.dependencies[0];const q=E.getModule(j);let ee;if(!q){ee=S.throwMissingModuleErrorBlock({request:this.sourceRequest})}else{ee=`module.exports = (${S.moduleExports({module:q,chunkGraph:k,request:j.request,runtimeRequirements:new Set})})`;switch(this.delegationType){case"require":ee+=`(${JSON.stringify(this.request)})`;break;case"object":ee+=`[${JSON.stringify(this.request)}]`;break}ee+=";"}const te=new Map;if(this.useSourceMap||this.useSimpleSourceMap){te.set("javascript",new w(ee,this.identifier()))}else{te.set("javascript",new N(ee))}return{sources:te,runtimeRequirements:_e}}size(S){return 42}updateHash(S,E){S.update(this.delegationType);S.update(JSON.stringify(this.request));super.updateHash(S,E)}serialize(S){const{write:E}=S;E(this.sourceRequest);E(this.delegateData);E(this.delegationType);E(this.userRequest);E(this.originalRequest);super.serialize(S)}static deserialize(S){const{read:E}=S;const k=new DelegatedModule(E(),E(),E(),E(),E());k.deserialize(S);return k}updateCacheModule(S){super.updateCacheModule(S);const E=S;this.delegationType=E.delegationType;this.userRequest=E.userRequest;this.originalRequest=E.originalRequest;this.delegateData=E.delegateData}cleanupForCache(){super.cleanupForCache();this.delegateData=undefined}}ne(DelegatedModule,"webpack/lib/DelegatedModule");S.exports=DelegatedModule},56396:(S,E,k)=>{"use strict";const w=k(3955);class DelegatedModuleFactoryPlugin{constructor(S){this.options=S;S.type=S.type||"require";S.extensions=S.extensions||["",".js",".json",".wasm"]}apply(S){const E=this.options.scope;if(E){S.hooks.factorize.tapAsync("DelegatedModuleFactoryPlugin",((S,k)=>{const[N]=S.dependencies;const{request:j}=N;if(j&&j.startsWith(`${E}/`)){const S="."+j.substr(E.length);let N;if(S in this.options.content){N=this.options.content[S];return k(null,new w(this.options.source,N,this.options.type,S,j))}for(let E=0;E{const E=S.libIdent(this.options);if(E){if(E in this.options.content){const k=this.options.content[E];return new w(this.options.source,k,this.options.type,E,S)}}return S}))}}}S.exports=DelegatedModuleFactoryPlugin},82354:(S,E,k)=>{"use strict";const w=k(56396);const N=k(49422);class DelegatedPlugin{constructor(S){this.options=S}apply(S){S.hooks.compilation.tap("DelegatedPlugin",((S,{normalModuleFactory:E})=>{S.dependencyFactories.set(N,E)}));S.hooks.compile.tap("DelegatedPlugin",(({normalModuleFactory:E})=>{new w({associatedObjectForCache:S.root,...this.options}).apply(E)}))}}S.exports=DelegatedPlugin},32448:(S,E,k)=>{"use strict";const w=k(56202);class DependenciesBlock{constructor(){this.dependencies=[];this.blocks=[]}addBlock(S){this.blocks.push(S);S.parent=this}addDependency(S){this.dependencies.push(S)}removeDependency(S){const E=this.dependencies.indexOf(S);if(E>=0){this.dependencies.splice(E,1)}}clearDependenciesAndBlocks(){this.dependencies.length=0;this.blocks.length=0}updateHash(S,E){for(const k of this.dependencies){k.updateHash(S,E)}for(const k of this.blocks){k.updateHash(S,E)}}serialize({write:S}){S(this.dependencies);S(this.blocks)}deserialize({read:S}){this.dependencies=S();this.blocks=S();for(const S of this.blocks){S.parent=this}}}w(DependenciesBlock,"webpack/lib/DependenciesBlock");S.exports=DependenciesBlock},28706:(S,E,k)=>{"use strict";const w=k(91671);const N=w((()=>{const S=k(22804);return new S("/* (ignored) */",`ignored`,`(ignored)`)}));class Dependency{constructor(){this._parentModule=undefined;this._parentDependenciesBlock=undefined;this.weak=false;this.optional=false;this._locSL=0;this._locSC=0;this._locEL=0;this._locEC=0;this._locI=undefined;this._locN=undefined;this._loc=undefined}get type(){return"unknown"}get category(){return"unknown"}get loc(){if(this._loc!==undefined)return this._loc;const S={};if(this._locSL>0){S.start={line:this._locSL,column:this._locSC}}if(this._locEL>0){S.end={line:this._locEL,column:this._locEC}}if(this._locN!==undefined){S.name=this._locN}if(this._locI!==undefined){S.index=this._locI}return this._loc=S}set loc(S){if("start"in S&&typeof S.start==="object"){this._locSL=S.start.line||0;this._locSC=S.start.column||0}else{this._locSL=0;this._locSC=0}if("end"in S&&typeof S.end==="object"){this._locEL=S.end.line||0;this._locEC=S.end.column||0}else{this._locEL=0;this._locEC=0}if("index"in S){this._locI=S.index}else{this._locI=undefined}if("name"in S){this._locN=S.name}else{this._locN=undefined}this._loc=S}getResourceIdentifier(){return null}getReference(S){throw new Error("Dependency.getReference was removed in favor of Dependency.getReferencedExports, ModuleGraph.getModule and ModuleGraph.getConnection().active")}getReferencedExports(S,E){return Dependency.EXPORTS_OBJECT_REFERENCED}getCondition(S){return null}getExports(S){return undefined}getWarnings(S){return null}getErrors(S){return null}updateHash(S,E){}getNumberOfIdOccurrences(){return 1}getModuleEvaluationSideEffectsState(S){return true}createIgnoredModule(S){return N()}serialize({write:S}){S(this.weak);S(this.optional);S(this._locSL);S(this._locSC);S(this._locEL);S(this._locEC);S(this._locI);S(this._locN)}deserialize({read:S}){this.weak=S();this.optional=S();this._locSL=S();this._locSC=S();this._locEL=S();this._locEC=S();this._locI=S();this._locN=S()}}Dependency.NO_EXPORTS_REFERENCED=[];Dependency.EXPORTS_OBJECT_REFERENCED=[[]];Object.defineProperty(Dependency.prototype,"module",{get(){throw new Error("module property was removed from Dependency (use compilation.moduleGraph.getModule(dependency) instead)")},set(){throw new Error("module property was removed from Dependency (use compilation.moduleGraph.updateModule(dependency, module) instead)")}});Object.defineProperty(Dependency.prototype,"disconnect",{get(){throw new Error("disconnect was removed from Dependency (Dependency no longer carries graph specific information)")}});S.exports=Dependency},84304:(S,E,k)=>{"use strict";class DependencyTemplate{apply(S,E,w){const N=k(75884);throw new N}}S.exports=DependencyTemplate},46828:(S,E,k)=>{"use strict";const w=k(35891);class DependencyTemplates{constructor(){this._map=new Map;this._hash="31d6cfe0d16ae931b73c59d7e0c089c0"}get(S){return this._map.get(S)}set(S,E){this._map.set(S,E)}updateHash(S){const E=w("md4");E.update(this._hash);E.update(S);this._hash=E.digest("hex")}getHash(){return this._hash}clone(){const S=new DependencyTemplates;S._map=new Map(this._map);S._hash=this._hash;return S}}S.exports=DependencyTemplates},9013:(S,E,k)=>{"use strict";const w=k(80419);const N=k(95189);const j=k(66583);class DllEntryPlugin{constructor(S,E,k){this.context=S;this.entries=E;this.options=k}apply(S){S.hooks.compilation.tap("DllEntryPlugin",((S,{normalModuleFactory:E})=>{const k=new w;S.dependencyFactories.set(N,k);S.dependencyFactories.set(j,E)}));S.hooks.make.tapAsync("DllEntryPlugin",((S,E)=>{S.addEntry(this.context,new N(this.entries.map(((S,E)=>{const k=new j(S);k.loc={name:this.options.name,index:E};return k})),this.options.name),this.options,E)}))}}S.exports=DllEntryPlugin},44593:(S,E,k)=>{"use strict";const{RawSource:w}=k(48135);const N=k(53453);const j=k(76150);const q=k(56202);const ee=new Set(["javascript"]);const te=new Set([j.require,j.module]);class DllModule extends N{constructor(S,E,k){super("javascript/dynamic",S);this.dependencies=E;this.name=k}getSourceTypes(){return ee}identifier(){return`dll ${this.name}`}readableIdentifier(S){return`dll ${this.name}`}build(S,E,k,w,N){this.buildMeta={};this.buildInfo={};return N()}codeGeneration(S){const E=new Map;E.set("javascript",new w("module.exports = __webpack_require__;"));return{sources:E,runtimeRequirements:te}}needBuild(S,E){return E(null,!this.buildMeta)}size(S){return 12}updateHash(S,E){S.update("dll module");S.update(this.name||"");super.updateHash(S,E)}serialize(S){S.write(this.name);super.serialize(S)}deserialize(S){this.name=S.read();super.deserialize(S)}updateCacheModule(S){super.updateCacheModule(S);this.dependencies=S.dependencies}cleanupForCache(){super.cleanupForCache();this.dependencies=undefined}}q(DllModule,"webpack/lib/DllModule");S.exports=DllModule},80419:(S,E,k)=>{"use strict";const w=k(44593);const N=k(40674);class DllModuleFactory extends N{constructor(){super();this.hooks=Object.freeze({})}create(S,E){const k=S.dependencies[0];E(null,{module:new w(S.context,k.dependencies,k.name)})}}S.exports=DllModuleFactory},73887:(S,E,k)=>{"use strict";const w=k(9013);const N=k(6283);const j=k(77750);const q=k(35817);const ee=q(k(43548),(()=>k(39670)),{name:"Dll Plugin",baseDataPath:"options"});class DllPlugin{constructor(S){ee(S);this.options={...S,entryOnly:S.entryOnly!==false}}apply(S){S.hooks.entryOption.tap("DllPlugin",((E,k)=>{if(typeof k!=="function"){for(const N of Object.keys(k)){const j={name:N,filename:k.filename};new w(E,k[N].import,j).apply(S)}}else{throw new Error("DllPlugin doesn't support dynamic entry (function) yet")}return true}));new j(this.options).apply(S);if(!this.options.entryOnly){new N("DllPlugin").apply(S)}}}S.exports=DllPlugin},83515:(S,E,k)=>{"use strict";const w=k(78688);const N=k(56396);const j=k(59084);const q=k(81627);const ee=k(49422);const te=k(35817);const ne=k(49197).makePathsRelative;const ae=te(k(69744),(()=>k(53670)),{name:"Dll Reference Plugin",baseDataPath:"options"});class DllReferencePlugin{constructor(S){ae(S);this.options=S;this._compilationData=new WeakMap}apply(S){S.hooks.compilation.tap("DllReferencePlugin",((S,{normalModuleFactory:E})=>{S.dependencyFactories.set(ee,E)}));S.hooks.beforeCompile.tapAsync("DllReferencePlugin",((E,k)=>{if("manifest"in this.options){const N=this.options.manifest;if(typeof N==="string"){S.inputFileSystem.readFile(N,((j,q)=>{if(j)return k(j);const ee={path:N,data:undefined,error:undefined};try{ee.data=w(q.toString("utf-8"))}catch(E){const k=ne(S.options.context,N,S.root);ee.error=new DllManifestError(k,E.message)}this._compilationData.set(E,ee);return k()}));return}}return k()}));S.hooks.compile.tap("DllReferencePlugin",(E=>{let k=this.options.name;let w=this.options.sourceType;let q="content"in this.options?this.options.content:undefined;if("manifest"in this.options){let S=this.options.manifest;let N;if(typeof S==="string"){const S=this._compilationData.get(E);if(S.error){return}N=S.data}else{N=S}if(N){if(!k)k=N.name;if(!w)w=N.type;if(!q)q=N.content}}const ee={};const te="dll-reference "+k;ee[te]=k;const ne=E.normalModuleFactory;new j(w||"var",ee).apply(ne);new N({source:te,type:this.options.type,scope:this.options.scope,context:this.options.context||S.options.context,content:q,extensions:this.options.extensions,associatedObjectForCache:S.root}).apply(ne)}));S.hooks.compilation.tap("DllReferencePlugin",((S,E)=>{if("manifest"in this.options){let k=this.options.manifest;if(typeof k==="string"){const w=this._compilationData.get(E);if(w.error){S.errors.push(w.error)}S.fileDependencies.add(k)}}}))}}class DllManifestError extends q{constructor(S,E){super();this.name="DllManifestError";this.message=`Dll manifest ${S}\n${E}`}}S.exports=DllReferencePlugin},85227:(S,E,k)=>{"use strict";const w=k(64699);const N=k(59674);const j=k(66583);class DynamicEntryPlugin{constructor(S,E){this.context=S;this.entry=E}apply(S){S.hooks.compilation.tap("DynamicEntryPlugin",((S,{normalModuleFactory:E})=>{S.dependencyFactories.set(j,E)}));S.hooks.make.tapPromise("DynamicEntryPlugin",((E,k)=>Promise.resolve(this.entry()).then((k=>{const j=[];for(const q of Object.keys(k)){const ee=k[q];const te=w.entryDescriptionToOptions(S,q,ee);for(const S of ee.import){j.push(new Promise(((k,w)=>{E.addEntry(this.context,N.createDependency(S,te),te,(S=>{if(S)return w(S);k()}))})))}}return Promise.all(j)})).then((S=>{}))))}}S.exports=DynamicEntryPlugin},64699:(S,E,k)=>{"use strict";class EntryOptionPlugin{apply(S){S.hooks.entryOption.tap("EntryOptionPlugin",((E,k)=>{EntryOptionPlugin.applyEntryOption(S,E,k);return true}))}static applyEntryOption(S,E,w){if(typeof w==="function"){const N=k(85227);new N(E,w).apply(S)}else{const N=k(59674);for(const k of Object.keys(w)){const j=w[k];const q=EntryOptionPlugin.entryDescriptionToOptions(S,k,j);for(const k of j.import){new N(E,k,q).apply(S)}}}}static entryDescriptionToOptions(S,E,w){const N={name:E,filename:w.filename,runtime:w.runtime,layer:w.layer,dependOn:w.dependOn,publicPath:w.publicPath,chunkLoading:w.chunkLoading,wasmLoading:w.wasmLoading,library:w.library};if(w.layer!==undefined&&!S.options.experiments.layers){throw new Error("'entryOptions.layer' is only allowed when 'experiments.layers' is enabled")}if(w.chunkLoading){const E=k(50369);E.checkEnabled(S,w.chunkLoading)}if(w.wasmLoading){const E=k(69085);E.checkEnabled(S,w.wasmLoading)}if(w.library){const E=k(13984);E.checkEnabled(S,w.library.type)}return N}}S.exports=EntryOptionPlugin},59674:(S,E,k)=>{"use strict";const w=k(66583);class EntryPlugin{constructor(S,E,k){this.context=S;this.entry=E;this.options=k||""}apply(S){S.hooks.compilation.tap("EntryPlugin",((S,{normalModuleFactory:E})=>{S.dependencyFactories.set(w,E)}));const{entry:E,options:k,context:N}=this;const j=EntryPlugin.createDependency(E,k);S.hooks.make.tapAsync("EntryPlugin",((S,E)=>{S.addEntry(N,j,k,(S=>{E(S)}))}))}static createDependency(S,E){const k=new w(S);k.loc={name:typeof E==="object"?E.name:E};return k}}S.exports=EntryPlugin},71452:(S,E,k)=>{"use strict";const w=k(84558);class Entrypoint extends w{constructor(S,E=true){if(typeof S==="string"){S={name:S}}super({name:S.name});this.options=S;this._runtimeChunk=undefined;this._entrypointChunk=undefined;this._initial=E}isInitial(){return this._initial}setRuntimeChunk(S){this._runtimeChunk=S}getRuntimeChunk(){if(this._runtimeChunk)return this._runtimeChunk;for(const S of this.parentsIterable){if(S instanceof Entrypoint)return S.getRuntimeChunk()}return null}setEntrypointChunk(S){this._entrypointChunk=S}getEntrypointChunk(){return this._entrypointChunk}replaceChunk(S,E){if(this._runtimeChunk===S)this._runtimeChunk=E;if(this._entrypointChunk===S)this._entrypointChunk=E;return super.replaceChunk(S,E)}}S.exports=Entrypoint},64856:(S,E,k)=>{"use strict";const w=k(24820);const N=k(81627);class EnvironmentPlugin{constructor(...S){if(S.length===1&&Array.isArray(S[0])){this.keys=S[0];this.defaultValues={}}else if(S.length===1&&S[0]&&typeof S[0]==="object"){this.keys=Object.keys(S[0]);this.defaultValues=S[0]}else{this.keys=S;this.defaultValues={}}}apply(S){const E={};for(const k of this.keys){const w=process.env[k]!==undefined?process.env[k]:this.defaultValues[k];if(w===undefined){S.hooks.thisCompilation.tap("EnvironmentPlugin",(S=>{const E=new N(`EnvironmentPlugin - ${k} environment variable is undefined.\n\n`+"You can pass an object with default values to suppress this warning.\n"+"See https://webpack.js.org/plugins/environment-plugin for example.");E.name="EnvVariableNotDefinedError";S.errors.push(E)}))}E[`process.env.${k}`]=w===undefined?"undefined":JSON.stringify(w)}new w(E).apply(S)}}S.exports=EnvironmentPlugin},50717:(S,E)=>{"use strict";const k="LOADER_EXECUTION";const w="WEBPACK_OPTIONS";E.cutOffByFlag=(S,E)=>{S=S.split("\n");for(let k=0;kE.cutOffByFlag(S,k);E.cutOffWebpackOptions=S=>E.cutOffByFlag(S,w);E.cutOffMultilineMessage=(S,E)=>{S=S.split("\n");E=E.split("\n");const k=[];S.forEach(((S,w)=>{if(!S.includes(E[w]))k.push(S)}));return k.join("\n")};E.cutOffMessage=(S,E)=>{const k=S.indexOf("\n");if(k===-1){return S===E?"":S}else{const w=S.substr(0,k);return w===E?S.substr(k+1):S}};E.cleanUp=(S,k)=>{S=E.cutOffLoaderExecution(S);S=E.cutOffMessage(S,k);return S};E.cleanUpWebpackOptions=(S,k)=>{S=E.cutOffWebpackOptions(S);S=E.cutOffMultilineMessage(S,k);return S}},91331:(S,E,k)=>{"use strict";const{ConcatSource:w,RawSource:N}=k(48135);const j=k(16734);const q=k(70354);const ee=k(18161);const te=new WeakMap;const ne=new N(`/*\n * ATTENTION: The "eval" devtool has been used (maybe by default in mode: "development").\n * This devtool is neither made for production nor for readable output files.\n * It uses "eval()" calls to create a separate source file in the browser devtools.\n * If you are trying to read the output file, select a different devtool (https://webpack.js.org/configuration/devtool/)\n * or disable the default devtool with "devtool: false".\n * If you are looking for production-ready output files, see mode: "production" (https://webpack.js.org/configuration/mode/).\n */\n`);class EvalDevToolModulePlugin{constructor(S){this.namespace=S.namespace||"";this.sourceUrlComment=S.sourceUrlComment||"\n//# sourceURL=[url]";this.moduleFilenameTemplate=S.moduleFilenameTemplate||"webpack://[namespace]/[resourcePath]?[loaders]"}apply(S){S.hooks.compilation.tap("EvalDevToolModulePlugin",(S=>{const E=ee.getCompilationHooks(S);E.renderModuleContent.tap("EvalDevToolModulePlugin",((S,E,{runtimeTemplate:k,chunkGraph:w})=>{const ee=te.get(S);if(ee!==undefined)return ee;if(E instanceof j){te.set(S,S);return S}const ne=S.source();const ae=q.createFilename(E,{moduleFilenameTemplate:this.moduleFilenameTemplate,namespace:this.namespace},{requestShortener:k.requestShortener,chunkGraph:w});const _e="\n"+this.sourceUrlComment.replace(/\[url\]/g,encodeURI(ae).replace(/%2F/g,"/").replace(/%20/g,"_").replace(/%5E/g,"^").replace(/%5C/g,"\\").replace(/^\//,""));const ve=new N(`eval(${JSON.stringify(ne+_e)});`);te.set(S,ve);return ve}));E.inlineInRuntimeBailout.tap("EvalDevToolModulePlugin",(()=>"the eval devtool is used."));E.render.tap("EvalDevToolModulePlugin",(S=>new w(ne,S)));E.chunkHash.tap("EvalDevToolModulePlugin",((S,E)=>{E.update("EvalDevToolModulePlugin");E.update("2")}))}))}}S.exports=EvalDevToolModulePlugin},23641:(S,E,k)=>{"use strict";const{ConcatSource:w,RawSource:N}=k(48135);const j=k(70354);const q=k(53520);const ee=k(26867);const te=k(18161);const ne=k(95734);const{absolutify:ae}=k(49197);const _e=new WeakMap;const ve=new N(`/*\n * ATTENTION: An "eval-source-map" devtool has been used.\n * This devtool is neither made for production nor for readable output files.\n * It uses "eval()" calls to create a separate source file with attached SourceMaps in the browser devtools.\n * If you are trying to read the output file, select a different devtool (https://webpack.js.org/configuration/devtool/)\n * or disable the default devtool with "devtool: false".\n * If you are looking for production-ready output files, see mode: "production" (https://webpack.js.org/configuration/mode/).\n */\n`);class EvalSourceMapDevToolPlugin{constructor(S){let E;if(typeof S==="string"){E={append:S}}else{E=S}this.sourceMapComment=E.append||"//# sourceURL=[module]\n//# sourceMappingURL=[url]";this.moduleFilenameTemplate=E.moduleFilenameTemplate||"webpack://[namespace]/[resource-path]?[hash]";this.namespace=E.namespace||"";this.options=E}apply(S){const E=this.options;S.hooks.compilation.tap("EvalSourceMapDevToolPlugin",(k=>{const Ee=te.getCompilationHooks(k);new ee(E).apply(k);const Te=j.matchObject.bind(j,E);Ee.renderModuleContent.tap("EvalSourceMapDevToolPlugin",((w,ee,{runtimeTemplate:te,chunkGraph:ve})=>{const Ee=_e.get(w);if(Ee!==undefined){return Ee}const result=S=>{_e.set(w,S);return S};if(ee instanceof q){const S=ee;if(!Te(S.resource)){return result(w)}}else if(ee instanceof ne){const S=ee;if(S.rootModule instanceof q){const E=S.rootModule;if(!Te(E.resource)){return result(w)}}else{return result(w)}}else{return result(w)}let Ce;let we;if(w.sourceAndMap){const S=w.sourceAndMap(E);Ce=S.map;we=S.source}else{Ce=w.map(E);we=w.source()}if(!Ce){return result(w)}Ce={...Ce};const Ne=S.options.context;const Ie=S.root;const Fe=Ce.sources.map((S=>{if(!S.startsWith("webpack://"))return S;S=ae(Ne,S.slice(10),Ie);const E=k.findModule(S);return E||S}));let Oe=Fe.map((S=>j.createFilename(S,{moduleFilenameTemplate:this.moduleFilenameTemplate,namespace:this.namespace},{requestShortener:te.requestShortener,chunkGraph:ve})));Oe=j.replaceDuplicates(Oe,((S,E,k)=>{for(let E=0;E"the eval-source-map devtool is used."));Ee.render.tap("EvalSourceMapDevToolPlugin",(S=>new w(ve,S)));Ee.chunkHash.tap("EvalSourceMapDevToolPlugin",((S,E)=>{E.update("EvalSourceMapDevToolPlugin");E.update("2")}))}))}}S.exports=EvalSourceMapDevToolPlugin},76632:(S,E,k)=>{"use strict";const{equals:w}=k(73910);const N=k(16102);const j=k(56202);const{forEachRuntime:q}=k(37416);const ee=Object.freeze({Unused:0,OnlyPropertiesUsed:1,NoInfo:2,Unknown:3,Used:4});const RETURNS_TRUE=()=>true;const te=Symbol("circular target");class RestoreProvidedData{constructor(S,E,k,w){this.exports=S;this.otherProvided=E;this.otherCanMangleProvide=k;this.otherTerminalBinding=w}serialize({write:S}){S(this.exports);S(this.otherProvided);S(this.otherCanMangleProvide);S(this.otherTerminalBinding)}static deserialize({read:S}){return new RestoreProvidedData(S(),S(),S(),S())}}j(RestoreProvidedData,"webpack/lib/ModuleGraph","RestoreProvidedData");class ExportsInfo{constructor(){this._exports=new Map;this._otherExportsInfo=new ExportInfo(null);this._sideEffectsOnlyInfo=new ExportInfo("*side effects only*");this._exportsAreOrdered=false;this._redirectTo=undefined}get ownedExports(){return this._exports.values()}get orderedOwnedExports(){if(!this._exportsAreOrdered){this._sortExports()}return this._exports.values()}get exports(){if(this._redirectTo!==undefined){const S=new Map(this._redirectTo._exports);for(const[E,k]of this._exports){S.set(E,k)}return S.values()}return this._exports.values()}get orderedExports(){if(!this._exportsAreOrdered){this._sortExports()}if(this._redirectTo!==undefined){const S=new Map(Array.from(this._redirectTo.orderedExports,(S=>[S.name,S])));for(const[E,k]of this._exports){S.set(E,k)}this._sortExportsMap(S);return S.values()}return this._exports.values()}get otherExportsInfo(){if(this._redirectTo!==undefined)return this._redirectTo.otherExportsInfo;return this._otherExportsInfo}_sortExportsMap(S){if(S.size>1){const E=[];for(const k of S.values()){E.push(k.name)}E.sort();let k=0;for(const w of S.values()){const S=E[k];if(w.name!==S)break;k++}for(;k0){const E=this.getReadOnlyExportInfo(S[0]);if(!E.exportsInfo)return undefined;return E.exportsInfo.getNestedExportsInfo(S.slice(1))}return this}setUnknownExportsProvided(S,E,k,w,N){let j=false;if(E){for(const S of E){this.getExportInfo(S)}}for(const N of this._exports.values()){if(E&&E.has(N.name))continue;if(N.provided!==true&&N.provided!==null){N.provided=null;j=true}if(!S&&N.canMangleProvide!==false){N.canMangleProvide=false;j=true}if(k){N.setTarget(k,w,[N.name],-1)}}if(this._redirectTo!==undefined){if(this._redirectTo.setUnknownExportsProvided(S,E,k,w,N)){j=true}}else{if(this._otherExportsInfo.provided!==true&&this._otherExportsInfo.provided!==null){this._otherExportsInfo.provided=null;j=true}if(!S&&this._otherExportsInfo.canMangleProvide!==false){this._otherExportsInfo.canMangleProvide=false;j=true}if(k){this._otherExportsInfo.setTarget(k,w,undefined,N)}}return j}setUsedInUnknownWay(S){let E=false;for(const k of this._exports.values()){if(k.setUsedInUnknownWay(S)){E=true}}if(this._redirectTo!==undefined){if(this._redirectTo.setUsedInUnknownWay(S)){E=true}}else{if(this._otherExportsInfo.setUsedConditionally((S=>SS===ee.Unused),ee.Used,S)}isUsed(S){if(this._redirectTo!==undefined){if(this._redirectTo.isUsed(S)){return true}}else{if(this._otherExportsInfo.getUsed(S)!==ee.Unused){return true}}for(const E of this._exports.values()){if(E.getUsed(S)!==ee.Unused){return true}}return false}isModuleUsed(S){if(this.isUsed(S))return true;if(this._sideEffectsOnlyInfo.getUsed(S)!==ee.Unused)return true;return false}getUsedExports(S){if(!this._redirectTo!==undefined){switch(this._otherExportsInfo.getUsed(S)){case ee.NoInfo:return null;case ee.Unknown:case ee.OnlyPropertiesUsed:case ee.Used:return true}}const E=[];if(!this._exportsAreOrdered)this._sortExports();for(const k of this._exports.values()){switch(k.getUsed(S)){case ee.NoInfo:return null;case ee.Unknown:return true;case ee.OnlyPropertiesUsed:case ee.Used:E.push(k.name)}}if(this._redirectTo!==undefined){const k=this._redirectTo.getUsedExports(S);if(k===null)return null;if(k===true)return true;if(k!==false){for(const S of k){E.push(S)}}}if(E.length===0){switch(this._sideEffectsOnlyInfo.getUsed(S)){case ee.NoInfo:return null;case ee.Unused:return false}}return new N(E)}getProvidedExports(){if(!this._redirectTo!==undefined){switch(this._otherExportsInfo.provided){case undefined:return null;case null:return true;case true:return true}}const S=[];if(!this._exportsAreOrdered)this._sortExports();for(const E of this._exports.values()){switch(E.provided){case undefined:return null;case null:return true;case true:S.push(E.name)}}if(this._redirectTo!==undefined){const E=this._redirectTo.getProvidedExports();if(E===null)return null;if(E===true)return true;for(const k of E){if(!S.includes(k)){S.push(k)}}}return S}getRelevantExports(S){const E=[];for(const k of this._exports.values()){const w=k.getUsed(S);if(w===ee.Unused)continue;if(k.provided===false)continue;E.push(k)}if(this._redirectTo!==undefined){for(const k of this._redirectTo.getRelevantExports(S)){if(!this._exports.has(k.name))E.push(k)}}if(this._otherExportsInfo.provided!==false&&this._otherExportsInfo.getUsed(S)!==ee.Unused){E.push(this._otherExportsInfo)}return E}isExportProvided(S){if(Array.isArray(S)){const E=this.getReadOnlyExportInfo(S[0]);if(E.exportsInfo&&S.length>1){return E.exportsInfo.isExportProvided(S.slice(1))}return E.provided}const E=this.getReadOnlyExportInfo(S);return E.provided}getUsageKey(S){const E=[];if(this._redirectTo!==undefined){E.push(this._redirectTo.getUsageKey(S))}else{E.push(this._otherExportsInfo.getUsed(S))}E.push(this._sideEffectsOnlyInfo.getUsed(S));for(const k of this.orderedOwnedExports){E.push(k.getUsed(S))}return E.join("|")}isEquallyUsed(S,E){if(this._redirectTo!==undefined){if(!this._redirectTo.isEquallyUsed(S,E))return false}else{if(this._otherExportsInfo.getUsed(S)!==this._otherExportsInfo.getUsed(E)){return false}}if(this._sideEffectsOnlyInfo.getUsed(S)!==this._sideEffectsOnlyInfo.getUsed(E)){return false}for(const k of this.ownedExports){if(k.getUsed(S)!==k.getUsed(E))return false}return true}getUsed(S,E){if(Array.isArray(S)){if(S.length===0)return this.otherExportsInfo.getUsed(E);let k=this.getReadOnlyExportInfo(S[0]);if(k.exportsInfo&&S.length>1){return k.exportsInfo.getUsed(S.slice(1),E)}return k.getUsed(E)}let k=this.getReadOnlyExportInfo(S);return k.getUsed(E)}getUsedName(S,E){if(Array.isArray(S)){if(S.length===0){if(!this.isUsed(E))return false;return S}let k=this.getReadOnlyExportInfo(S[0]);const w=k.getUsedName(S[0],E);if(w===false)return false;const N=w===S[0]&&S.length===1?S:[w];if(S.length===1){return N}if(k.exportsInfo&&k.getUsed(E)===ee.OnlyPropertiesUsed){const w=k.exportsInfo.getUsedName(S.slice(1),E);if(!w)return false;return N.concat(w)}else{return N.concat(S.slice(1))}}else{let k=this.getReadOnlyExportInfo(S);const w=k.getUsedName(S,E);return w}}updateHash(S,E){this._updateHash(S,E,new Set)}_updateHash(S,E,k){const w=new Set(k);w.add(this);for(const k of this.orderedExports){if(k.hasInfo(this._otherExportsInfo,E)){k._updateHash(S,E,w)}}this._sideEffectsOnlyInfo._updateHash(S,E,w);this._otherExportsInfo._updateHash(S,E,w);if(this._redirectTo!==undefined){this._redirectTo._updateHash(S,E,w)}}getRestoreProvidedData(){const S=this._otherExportsInfo.provided;const E=this._otherExportsInfo.canMangleProvide;const k=this._otherExportsInfo.terminalBinding;const w=[];for(const N of this.orderedExports){if(N.provided!==S||N.canMangleProvide!==E||N.terminalBinding!==k||N.exportsInfoOwned){w.push({name:N.name,provided:N.provided,canMangleProvide:N.canMangleProvide,terminalBinding:N.terminalBinding,exportsInfo:N.exportsInfoOwned?N.exportsInfo.getRestoreProvidedData():undefined})}}return new RestoreProvidedData(w,S,E,k)}restoreProvided({otherProvided:S,otherCanMangleProvide:E,otherTerminalBinding:k,exports:w}){let N=true;for(const w of this._exports.values()){N=false;w.provided=S;w.canMangleProvide=E;w.terminalBinding=k}this._otherExportsInfo.provided=S;this._otherExportsInfo.canMangleProvide=E;this._otherExportsInfo.terminalBinding=k;for(const S of w){const E=this.getExportInfo(S.name);E.provided=S.provided;E.canMangleProvide=S.canMangleProvide;E.terminalBinding=S.terminalBinding;if(S.exportsInfo){const k=E.createNestedExportsInfo();k.restoreProvided(S.exportsInfo)}}if(N)this._exportsAreOrdered=true}}class ExportInfo{constructor(S,E){this.name=S;this._usedName=E?E._usedName:null;this._globalUsed=E?E._globalUsed:undefined;this._usedInRuntime=E&&E._usedInRuntime?new Map(E._usedInRuntime):undefined;this._hasUseInRuntimeInfo=E?E._hasUseInRuntimeInfo:false;this.provided=E?E.provided:undefined;this.terminalBinding=E?E.terminalBinding:false;this.canMangleProvide=E?E.canMangleProvide:undefined;this.canMangleUse=E?E.canMangleUse:undefined;this.exportsInfoOwned=false;this.exportsInfo=undefined;this._target=undefined;if(E&&E._target){this._target=new Map;for(const[k,w]of E._target){this._target.set(k,{connection:w.connection,export:w.export||[S],priority:w.priority})}}this._maxTarget=undefined}get used(){throw new Error("REMOVED")}get usedName(){throw new Error("REMOVED")}set used(S){throw new Error("REMOVED")}set usedName(S){throw new Error("REMOVED")}get canMangle(){switch(this.canMangleProvide){case undefined:return this.canMangleUse===false?false:undefined;case false:return false;case true:switch(this.canMangleUse){case undefined:return undefined;case false:return false;case true:return true}}throw new Error(`Unexpected flags for canMangle ${this.canMangleProvide} ${this.canMangleUse}`)}setUsedInUnknownWay(S){let E=false;if(this.setUsedConditionally((S=>Sthis._usedInRuntime.set(S,E)));return true}}else{let w=false;q(k,(k=>{let N=this._usedInRuntime.get(k);if(N===undefined)N=ee.Unused;if(E!==N&&S(N)){if(E===ee.Unused){this._usedInRuntime.delete(k)}else{this._usedInRuntime.set(k,E)}w=true}}));if(w){if(this._usedInRuntime.size===0)this._usedInRuntime=undefined;return true}}return false}setUsed(S,E){if(E===undefined){if(this._globalUsed!==S){this._globalUsed=S;return true}}else if(this._usedInRuntime===undefined){if(S!==ee.Unused){this._usedInRuntime=new Map;q(E,(E=>this._usedInRuntime.set(E,S)));return true}}else{let k=false;q(E,(E=>{let w=this._usedInRuntime.get(E);if(w===undefined)w=ee.Unused;if(S!==w){if(S===ee.Unused){this._usedInRuntime.delete(E)}else{this._usedInRuntime.set(E,S)}k=true}}));if(k){if(this._usedInRuntime.size===0)this._usedInRuntime=undefined;return true}}return false}unsetTarget(S){if(!this._target)return false;if(this._target.delete(S)){this._maxTarget=undefined;return true}return false}setTarget(S,E,k,N=0){if(k)k=[...k];if(!this._target){this._target=new Map;this._target.set(S,{connection:E,export:k,priority:N});return true}const j=this._target.get(S);if(!j){if(j===null&&!E)return false;this._target.set(S,{connection:E,export:k,priority:N});this._maxTarget=undefined;return true}if(j.connection!==E||j.priority!==N||(k?!j.export||!w(j.export,k):j.export)){j.connection=E;j.export=k;j.priority=N;this._maxTarget=undefined;return true}return false}getUsed(S){if(!this._hasUseInRuntimeInfo)return ee.NoInfo;if(this._globalUsed!==undefined)return this._globalUsed;if(this._usedInRuntime===undefined){return ee.Unused}else if(typeof S==="string"){const E=this._usedInRuntime.get(S);return E===undefined?ee.Unused:E}else if(S===undefined){let S=ee.Unused;for(const E of this._usedInRuntime.values()){if(E===ee.Used){return ee.Used}if(S!this._usedInRuntime.has(S)))){return false}}}}if(this._usedName!==null)return this._usedName;return this.name||S}hasUsedName(){return this._usedName!==null}setUsedName(S){this._usedName=S}getTerminalBinding(S,E=RETURNS_TRUE){if(this.terminalBinding)return this;const k=this.getTarget(S,E);if(!k)return undefined;const w=S.getExportsInfo(k.module);if(!k.export)return w;return w.getReadOnlyExportInfoRecursive(k.export)}isReexport(){return!this.terminalBinding&&this._target&&this._target.size>0}_getMaxTarget(){if(this._maxTarget!==undefined)return this._maxTarget;if(this._target.size<=1)return this._maxTarget=this._target;let S=-Infinity;let E=Infinity;for(const{priority:k}of this._target.values()){if(Sk)E=k}if(S===E)return this._maxTarget=this._target;const k=new Map;for(const[E,w]of this._target){if(S===w.priority){k.set(E,w)}}this._maxTarget=k;return k}findTarget(S,E){return this._findTarget(S,E,new Set)}_findTarget(S,E,k){if(!this._target||this._target.size===0)return undefined;let w=this._getMaxTarget().values().next().value;if(!w)return undefined;let N={module:w.connection.module,export:w.export};for(;;){if(E(N.module))return N;const w=S.getExportsInfo(N.module);const j=w.getExportInfo(N.export[0]);if(k.has(j))return null;const q=j._findTarget(S,E,k);if(!q)return false;if(N.export.length===1){N=q}else{N={module:q.module,export:q.export?q.export.concat(N.export.slice(1)):N.export.slice(1)}}}}getTarget(S,E=RETURNS_TRUE){const k=this._getTarget(S,E,undefined);if(k===te)return undefined;return k}_getTarget(S,E,k){const resolveTarget=(k,w)=>{if(!k)return null;if(!k.export){return{module:k.connection.module,connection:k.connection,export:undefined}}let N={module:k.connection.module,connection:k.connection,export:k.export};if(!E(N))return N;let j=false;for(;;){const k=S.getExportsInfo(N.module);const q=k.getExportInfo(N.export[0]);if(!q)return N;if(w.has(q))return te;const ee=q._getTarget(S,E,w);if(ee===te)return te;if(!ee)return N;if(N.export.length===1){N=ee;if(!N.export)return N}else{N={module:ee.module,connection:ee.connection,export:ee.export?ee.export.concat(N.export.slice(1)):N.export.slice(1)}}if(!E(N))return N;if(!j){w=new Set(w);j=true}w.add(q)}};if(!this._target||this._target.size===0)return undefined;if(k&&k.has(this))return te;const N=new Set(k);N.add(this);const j=this._getMaxTarget().values();const q=resolveTarget(j.next().value,N);if(q===te)return te;if(q===null)return undefined;let ee=j.next();while(!ee.done){const S=resolveTarget(ee.value,N);if(S===te)return te;if(S===null)return undefined;if(S.module!==q.module)return undefined;if(!S.export!==!q.export)return undefined;if(q.export&&!w(S.export,q.export))return undefined;ee=j.next()}return q}moveTarget(S,E,k){const w=this._getTarget(S,E,undefined);if(w===te)return undefined;if(!w)return undefined;const N=this._getMaxTarget().values().next().value;if(N.connection===w.connection&&N.export===w.export){return undefined}this._target.clear();this._target.set(undefined,{connection:k?k(w):w.connection,export:w.export,priority:0});return w}createNestedExportsInfo(){if(this.exportsInfoOwned)return this.exportsInfo;this.exportsInfoOwned=true;const S=this.exportsInfo;this.exportsInfo=new ExportsInfo;this.exportsInfo.setHasProvideInfo();if(S){this.exportsInfo.setRedirectNamedTo(S)}return this.exportsInfo}getNestedExportsInfo(){return this.exportsInfo}hasInfo(S,E){return this._usedName&&this._usedName!==this.name||this.provided||this.terminalBinding||this.getUsed(E)!==S.getUsed(E)}updateHash(S,E){this._updateHash(S,E,new Set)}_updateHash(S,E,k){S.update(`${this._usedName||this.name}`);S.update(`${this.getUsed(E)}`);S.update(`${this.provided}`);S.update(`${this.terminalBinding}`);if(this.exportsInfo&&!k.has(this.exportsInfo)){this.exportsInfo._updateHash(S,E,k)}}getUsedInfo(){if(this._globalUsed!==undefined){switch(this._globalUsed){case ee.Unused:return"unused";case ee.NoInfo:return"no usage info";case ee.Unknown:return"maybe used (runtime-defined)";case ee.Used:return"used";case ee.OnlyPropertiesUsed:return"only properties used"}}else if(this._usedInRuntime!==undefined){const S=new Map;for(const[E,k]of this._usedInRuntime){const w=S.get(k);if(w!==undefined)w.push(E);else S.set(k,[E])}const E=Array.from(S,(([S,E])=>{switch(S){case ee.NoInfo:return`no usage info in ${E.join(", ")}`;case ee.Unknown:return`maybe used in ${E.join(", ")} (runtime-defined)`;case ee.Used:return`used in ${E.join(", ")}`;case ee.OnlyPropertiesUsed:return`only properties used in ${E.join(", ")}`}}));if(E.length>0){return E.join("; ")}}return this._hasUseInRuntimeInfo?"unused":"no usage info"}getProvidedInfo(){switch(this.provided){case undefined:return"no provided info";case null:return"maybe provided (runtime-defined)";case true:return"provided";case false:return"not provided"}}getRenameInfo(){if(this._usedName!==null&&this._usedName!==this.name){return`renamed to ${JSON.stringify(this._usedName).slice(1,-1)}`}switch(this.canMangleProvide){case undefined:switch(this.canMangleUse){case undefined:return"missing provision and use info prevents renaming";case false:return"usage prevents renaming (no provision info)";case true:return"missing provision info prevents renaming"}break;case true:switch(this.canMangleUse){case undefined:return"missing usage info prevents renaming";case false:return"usage prevents renaming";case true:return"could be renamed"}break;case false:switch(this.canMangleUse){case undefined:return"provision prevents renaming (no use info)";case false:return"usage and provision prevents renaming";case true:return"provision prevents renaming"}break}throw new Error(`Unexpected flags for getRenameInfo ${this.canMangleProvide} ${this.canMangleUse}`)}}S.exports=ExportsInfo;S.exports.ExportInfo=ExportInfo;S.exports.UsageState=ee},29672:(S,E,k)=>{"use strict";const w=k(66298);const N=k(51420);class ExportsInfoApiPlugin{apply(S){S.hooks.compilation.tap("ExportsInfoApiPlugin",((S,{normalModuleFactory:E})=>{S.dependencyTemplates.set(N,new N.Template);const handler=S=>{S.hooks.expressionMemberChain.for("__webpack_exports_info__").tap("ExportsInfoApiPlugin",((E,k)=>{const w=k.length>=2?new N(E.range,k.slice(0,-1),k[k.length-1]):new N(E.range,null,k[0]);w.loc=E.loc;S.state.module.addDependency(w);return true}));S.hooks.expression.for("__webpack_exports_info__").tap("ExportsInfoApiPlugin",(E=>{const k=new w("true",E.range);k.loc=E.loc;S.state.module.addPresentationalDependency(k);return true}))};E.hooks.parser.for("javascript/auto").tap("ExportsInfoApiPlugin",handler);E.hooks.parser.for("javascript/dynamic").tap("ExportsInfoApiPlugin",handler);E.hooks.parser.for("javascript/esm").tap("ExportsInfoApiPlugin",handler)}))}}S.exports=ExportsInfoApiPlugin},16734:(S,E,k)=>{"use strict";const{OriginalSource:w,RawSource:N}=k(48135);const j=k(77294);const{UsageState:q}=k(76632);const ee=k(63272);const te=k(53453);const ne=k(76150);const ae=k(58159);const _e=k(96076);const ve=k(10004);const Ee=k(56202);const Te=k(68038);const{register:Ce}=k(24568);const we=new Set(["javascript"]);const Ne=new Set([ne.module]);const Ie=new Set([ne.loadScript]);const Fe=new Set([ne.definePropertyGetters]);const Oe=new Set([]);const getSourceForGlobalVariableExternal=(S,E)=>{if(!Array.isArray(S)){S=[S]}const k=S.map((S=>`[${JSON.stringify(S)}]`)).join("");return{iife:E==="this",expression:`${E}${k}`}};const getSourceForCommonJsExternal=S=>{if(!Array.isArray(S)){return{expression:`require(${JSON.stringify(S)})`}}const E=S[0];return{expression:`require(${JSON.stringify(E)})${Te(S,1)}`}};const getSourceForCommonJsExternalInNodeModule=S=>{const E=[new ee('import { createRequire as __WEBPACK_EXTERNAL_createRequire } from "module";\n',ee.STAGE_HARMONY_IMPORTS,0,"external module node-commonjs")];if(!Array.isArray(S)){return{expression:`__WEBPACK_EXTERNAL_createRequire(import.meta.url)(${JSON.stringify(S)})`,chunkInitFragments:E}}const k=S[0];return{expression:`__WEBPACK_EXTERNAL_createRequire(import.meta.url)(${JSON.stringify(k)})${Te(S,1)}`,chunkInitFragments:E}};const getSourceForImportExternal=(S,E)=>{const k=E.outputOptions.importFunctionName;if(!E.supportsDynamicImport()&&k==="import"){throw new Error("The target environment doesn't support 'import()' so it's not possible to use external type 'import'")}if(!Array.isArray(S)){return{expression:`${k}(${JSON.stringify(S)});`}}if(S.length===1){return{expression:`${k}(${JSON.stringify(S[0])});`}}const w=S[0];return{expression:`${k}(${JSON.stringify(w)}).then(${E.returningFunction(`module${Te(S,1)}`,"module")});`}};class ModuleExternalInitFragment extends ee{constructor(S,E){const k=`__WEBPACK_EXTERNAL_MODULE_${ae.toIdentifier(`${S}`)}__`;super(`import * as ${k} from ${JSON.stringify(E)};\n`,ee.STAGE_HARMONY_IMPORTS,0,`external module import ${S}`);this._identifier=k;this._id=S;this._request=E}getNamespaceIdentifier(){return this._identifier}}Ce(ModuleExternalInitFragment,"webpack/lib/ExternalModule","ModuleExternalInitFragment",{serialize(S,{write:E}){E(S._id);E(S._request)},deserialize({read:S}){return new ModuleExternalInitFragment(S(),S())}});const generateModuleRemapping=(S,E,k)=>{if(E.otherExportsInfo.getUsed(k)===q.Unused){const w=[];for(const N of E.orderedExports){const E=N.getUsedName(N.name,k);if(!E)continue;const j=N.getNestedExportsInfo();if(j){const k=generateModuleRemapping(`${S}${Te([N.name])}`,j);if(k){w.push(`[${JSON.stringify(E)}]: y(${k})`);continue}}w.push(`[${JSON.stringify(E)}]: () => ${S}${Te([N.name])}`)}return`x({ ${w.join(", ")} })`}};const getSourceForModuleExternal=(S,E,k,w)=>{if(!Array.isArray(E))E=[E];const N=new ModuleExternalInitFragment(S,E[0]);const j=`${N.getNamespaceIdentifier()}${Te(E,1)}`;const q=generateModuleRemapping(j,k,w);let ee=q||j;return{expression:ee,init:`var x = y => { var x = {}; ${ne.definePropertyGetters}(x, y); return x; }\nvar y = x => () => x`,runtimeRequirements:q?Fe:undefined,chunkInitFragments:[N]}};const getSourceForScriptExternal=(S,E)=>{if(typeof S==="string"){S=ve(S)}const k=S[0];const w=S[1];return{init:"var __webpack_error__ = new Error();",expression:`new Promise(${E.basicFunction("resolve, reject",[`if(typeof ${w} !== "undefined") return resolve();`,`${ne.loadScript}(${JSON.stringify(k)}, ${E.basicFunction("event",[`if(typeof ${w} !== "undefined") return resolve();`,"var errorType = event && (event.type === 'load' ? 'missing' : event.type);","var realSrc = event && event.target && event.target.src;","__webpack_error__.message = 'Loading script failed.\\n(' + errorType + ': ' + realSrc + ')';","__webpack_error__.name = 'ScriptExternalLoadError';","__webpack_error__.type = errorType;","__webpack_error__.request = realSrc;","reject(__webpack_error__);"])}, ${JSON.stringify(w)});`])}).then(${E.returningFunction(`${w}${Te(S,2)}`)})`,runtimeRequirements:Ie}};const checkExternalVariable=(S,E,k)=>`if(typeof ${S} === 'undefined') { ${k.throwMissingModuleErrorBlock({request:E})} }\n`;const getSourceForAmdOrUmdExternal=(S,E,k,w)=>{const N=`__WEBPACK_EXTERNAL_MODULE_${ae.toIdentifier(`${S}`)}__`;return{init:E?checkExternalVariable(N,Array.isArray(k)?k.join("."):k,w):undefined,expression:N}};const getSourceForDefaultCase=(S,E,k)=>{if(!Array.isArray(E)){E=[E]}const w=E[0];const N=Te(E,1);return{init:S?checkExternalVariable(w,E.join("."),k):undefined,expression:`${w}${N}`}};class ExternalModule extends te{constructor(S,E,k){super("javascript/dynamic",null);this.request=S;this.externalType=E;this.userRequest=k}getSourceTypes(){return we}libIdent(S){return this.userRequest}chunkCondition(S,{chunkGraph:E}){return E.getNumberOfEntryModules(S)>0}identifier(){return"external "+JSON.stringify(this.request)}readableIdentifier(S){return"external "+JSON.stringify(this.request)}needBuild(S,E){return E(null,!this.buildMeta)}build(S,E,k,w,N){this.buildMeta={async:false,exportsType:undefined};this.buildInfo={strict:true,topLevelDeclarations:new Set,module:E.outputOptions.module};const{request:j,externalType:q}=this._getRequestAndExternalType();this.buildMeta.exportsType="dynamic";let ee=false;this.clearDependenciesAndBlocks();switch(q){case"this":this.buildInfo.strict=false;break;case"system":if(!Array.isArray(j)||j.length===1){this.buildMeta.exportsType="namespace";ee=true}break;case"module":if(this.buildInfo.module){if(!Array.isArray(j)||j.length===1){this.buildMeta.exportsType="namespace";ee=true}}else{this.buildMeta.async=true;if(!Array.isArray(j)||j.length===1){this.buildMeta.exportsType="namespace";ee=false}}break;case"script":case"promise":this.buildMeta.async=true;break;case"import":this.buildMeta.async=true;if(!Array.isArray(j)||j.length===1){this.buildMeta.exportsType="namespace";ee=false}break}this.addDependency(new _e(true,ee));N()}getConcatenationBailoutReason({moduleGraph:S}){switch(this.externalType){case"amd":case"amd-require":case"umd":case"umd2":case"system":case"jsonp":return`${this.externalType} externals can't be concatenated`}return undefined}_getRequestAndExternalType(){let{request:S,externalType:E}=this;if(typeof S==="object"&&!Array.isArray(S))S=S[E];return{request:S,externalType:E}}_getSourceData(S,E,k,w){const{request:N,externalType:j}=this._getRequestAndExternalType();switch(j){case"this":case"window":case"self":return getSourceForGlobalVariableExternal(N,this.externalType);case"global":return getSourceForGlobalVariableExternal(N,S.outputOptions.globalObject);case"commonjs":case"commonjs2":case"commonjs-module":return getSourceForCommonJsExternal(N);case"node-commonjs":return this.buildInfo.module?getSourceForCommonJsExternalInNodeModule(N):getSourceForCommonJsExternal(N);case"amd":case"amd-require":case"umd":case"umd2":case"system":case"jsonp":return getSourceForAmdOrUmdExternal(k.getModuleId(this),this.isOptional(E),N,S);case"import":return getSourceForImportExternal(N,S);case"script":return getSourceForScriptExternal(N,S);case"module":if(!this.buildInfo.module){if(!S.supportsDynamicImport()){throw new Error("The target environment doesn't support dynamic import() syntax so it's not possible to use external type 'module' within a script"+(S.supportsEcmaScriptModuleSyntax()?"\nDid you mean to build a EcmaScript Module ('output.module: true')?":""))}return getSourceForImportExternal(N,S)}if(!S.supportsEcmaScriptModuleSyntax()){throw new Error("The target environment doesn't support EcmaScriptModule syntax so it's not possible to use external type 'module'")}return getSourceForModuleExternal(k.getModuleId(this),N,E.getExportsInfo(this),w);case"var":case"promise":case"const":case"let":case"assign":default:return getSourceForDefaultCase(this.isOptional(E),N,S)}}codeGeneration({runtimeTemplate:S,moduleGraph:E,chunkGraph:k,runtime:q,concatenationScope:ee}){const te=this._getSourceData(S,E,k,q);let ae=te.expression;if(te.iife)ae=`(function() { return ${ae}; }())`;if(ee){ae=`${S.supportsConst()?"const":"var"} ${j.NAMESPACE_OBJECT_EXPORT} = ${ae};`;ee.registerNamespaceExport(j.NAMESPACE_OBJECT_EXPORT)}else{ae=`module.exports = ${ae};`}if(te.init)ae=`${te.init}\n${ae}`;let _e=undefined;if(te.chunkInitFragments){_e=new Map;_e.set("chunkInitFragments",te.chunkInitFragments)}const ve=new Map;if(this.useSourceMap||this.useSimpleSourceMap){ve.set("javascript",new w(ae,this.identifier()))}else{ve.set("javascript",new N(ae))}let Ee=te.runtimeRequirements;if(!ee){if(!Ee){Ee=Ne}else{const S=new Set(Ee);S.add(ne.module);Ee=S}}return{sources:ve,runtimeRequirements:Ee||Oe,data:_e}}size(S){return 42}updateHash(S,E){const{chunkGraph:k}=E;S.update(this.externalType);S.update(JSON.stringify(this.request));S.update(JSON.stringify(Boolean(this.isOptional(k.moduleGraph))));super.updateHash(S,E)}serialize(S){const{write:E}=S;E(this.request);E(this.externalType);E(this.userRequest);super.serialize(S)}deserialize(S){const{read:E}=S;this.request=E();this.externalType=E();this.userRequest=E();super.deserialize(S)}}Ee(ExternalModule,"webpack/lib/ExternalModule");S.exports=ExternalModule},59084:(S,E,k)=>{"use strict";const w=k(31669);const N=k(16734);const{resolveByProperty:j,cachedSetProperty:q}=k(90149);const ee=/^[a-z0-9-]+ /;const te={};const ne=w.deprecate(((S,E,k,w)=>{S.call(null,E,k,w)}),"The externals-function should be defined like ({context, request}, cb) => { ... }","DEP_WEBPACK_EXTERNALS_FUNCTION_PARAMETERS");const ae=new WeakMap;const resolveLayer=(S,E)=>{let k=ae.get(S);if(k===undefined){k=new Map;ae.set(S,k)}else{const S=k.get(E);if(S!==undefined)return S}const w=j(S,"byLayer",E);k.set(E,w);return w};class ExternalModuleFactoryPlugin{constructor(S,E){this.type=S;this.externals=E}apply(S){const E=this.type;S.hooks.factorize.tapAsync("ExternalModuleFactoryPlugin",((k,w)=>{const j=k.context;const ae=k.contextInfo;const _e=k.dependencies[0];const handleExternal=(S,k,w)=>{if(S===false){return w()}let j;if(S===true){j=_e.request}else{j=S}if(k===undefined){if(typeof j==="string"&&ee.test(j)){const S=j.indexOf(" ");k=j.substr(0,S);j=j.substr(S+1)}else if(Array.isArray(j)&&j.length>0&&ee.test(j[0])){const S=j[0];const E=S.indexOf(" ");k=S.substr(0,E);j=[S.substr(E+1),...j.slice(1)]}}w(null,new N(j,k||E,_e.request))};const handleExternals=(E,w)=>{if(typeof E==="string"){if(E===_e.request){return handleExternal(_e.request,undefined,w)}}else if(Array.isArray(E)){let S=0;const next=()=>{let k;const handleExternalsAndCallback=(S,E)=>{if(S)return w(S);if(!E){if(k){k=false;return}return next()}w(null,E)};do{k=true;if(S>=E.length)return w();handleExternals(E[S++],handleExternalsAndCallback)}while(!k);k=false};next();return}else if(E instanceof RegExp){if(E.test(_e.request)){return handleExternal(_e.request,undefined,w)}}else if(typeof E==="function"){const cb=(S,E,k)=>{if(S)return w(S);if(E!==undefined){handleExternal(E,k,w)}else{w()}};if(E.length===3){ne(E,j,_e.request,cb)}else{const w=_e.category||"";const N=E({context:j,request:_e.request,dependencyType:w,contextInfo:ae,getResolve:E=>(N,j,ee)=>{const ne={fileDependencies:k.fileDependencies,missingDependencies:k.missingDependencies,contextDependencies:k.contextDependencies};let ae=S.getResolver("normal",w?q(k.resolveOptions||te,"dependencyType",w):k.resolveOptions);if(E)ae=ae.withOptions(E);if(ee){ae.resolve({},N,j,ne,ee)}else{return new Promise(((S,E)=>{ae.resolve({},N,j,ne,((k,w)=>{if(k)E(k);else S(w)}))}))}}},cb);if(N&&N.then)N.then((S=>cb(null,S)),cb)}return}else if(typeof E==="object"){const S=resolveLayer(E,ae.issuerLayer);if(Object.prototype.hasOwnProperty.call(S,_e.request)){return handleExternal(S[_e.request],undefined,w)}}w()};handleExternals(this.externals,w)}))}}S.exports=ExternalModuleFactoryPlugin},61050:(S,E,k)=>{"use strict";const w=k(59084);class ExternalsPlugin{constructor(S,E){this.type=S;this.externals=E}apply(S){S.hooks.compile.tap("ExternalsPlugin",(({normalModuleFactory:S})=>{new w(this.type,this.externals).apply(S)}))}}S.exports=ExternalsPlugin},22996:(S,E,k)=>{"use strict";const{create:w}=k(2357);const N=k(62355);const j=k(9738);const q=k(35891);const{join:ee,dirname:te,relative:ne}=k(95396);const ae=k(56202);const _e=k(2117);const ve=+process.versions.modules>=83;let Ee=2e3;const Te=new Set;const Ce=0;const we=1;const Ne=2;const Ie=3;const Fe=4;const Oe=5;const Me=6;const Re=7;const Le=8;const Be=9;const je=Symbol("invalid");const ze=(new Set).keys().next();class SnapshotIterator{constructor(S){this.next=S}}class SnapshotIterable{constructor(S,E){this.snapshot=S;this.getMaps=E}[Symbol.iterator](){let S=0;let E;let k;let w;let N;let j;return new SnapshotIterator((()=>{for(;;){switch(S){case 0:N=this.snapshot;k=this.getMaps;w=k(N);S=1;case 1:if(w.length>0){const k=w.pop();if(k!==undefined){E=k.keys();S=2}else{break}}else{S=3;break}case 2:{const k=E.next();if(!k.done)return k;S=1;break}case 3:{const E=N.children;if(E!==undefined){if(E.size===1){for(const S of E)N=S;w=k(N);S=1;break}if(j===undefined)j=[];for(const S of E){j.push(S)}}if(j!==undefined&&j.length>0){N=j.pop();w=k(N);S=1;break}else{S=4}}case 4:return ze}}}))}}class Snapshot{constructor(){this._flags=0;this.startTime=undefined;this.fileTimestamps=undefined;this.fileHashes=undefined;this.fileTshs=undefined;this.contextTimestamps=undefined;this.contextHashes=undefined;this.contextTshs=undefined;this.missingExistence=undefined;this.managedItemInfo=undefined;this.managedFiles=undefined;this.managedContexts=undefined;this.managedMissing=undefined;this.children=undefined}hasStartTime(){return(this._flags&1)!==0}setStartTime(S){this._flags=this._flags|1;this.startTime=S}setMergedStartTime(S,E){if(S){if(E.hasStartTime()){this.setStartTime(Math.min(S,E.startTime))}else{this.setStartTime(S)}}else{if(E.hasStartTime())this.setStartTime(E.startTime)}}hasFileTimestamps(){return(this._flags&2)!==0}setFileTimestamps(S){this._flags=this._flags|2;this.fileTimestamps=S}hasFileHashes(){return(this._flags&4)!==0}setFileHashes(S){this._flags=this._flags|4;this.fileHashes=S}hasFileTshs(){return(this._flags&8)!==0}setFileTshs(S){this._flags=this._flags|8;this.fileTshs=S}hasContextTimestamps(){return(this._flags&16)!==0}setContextTimestamps(S){this._flags=this._flags|16;this.contextTimestamps=S}hasContextHashes(){return(this._flags&32)!==0}setContextHashes(S){this._flags=this._flags|32;this.contextHashes=S}hasContextTshs(){return(this._flags&64)!==0}setContextTshs(S){this._flags=this._flags|64;this.contextTshs=S}hasMissingExistence(){return(this._flags&128)!==0}setMissingExistence(S){this._flags=this._flags|128;this.missingExistence=S}hasManagedItemInfo(){return(this._flags&256)!==0}setManagedItemInfo(S){this._flags=this._flags|256;this.managedItemInfo=S}hasManagedFiles(){return(this._flags&512)!==0}setManagedFiles(S){this._flags=this._flags|512;this.managedFiles=S}hasManagedContexts(){return(this._flags&1024)!==0}setManagedContexts(S){this._flags=this._flags|1024;this.managedContexts=S}hasManagedMissing(){return(this._flags&2048)!==0}setManagedMissing(S){this._flags=this._flags|2048;this.managedMissing=S}hasChildren(){return(this._flags&4096)!==0}setChildren(S){this._flags=this._flags|4096;this.children=S}addChild(S){if(!this.hasChildren()){this.setChildren(new Set)}this.children.add(S)}serialize({write:S}){S(this._flags);if(this.hasStartTime())S(this.startTime);if(this.hasFileTimestamps())S(this.fileTimestamps);if(this.hasFileHashes())S(this.fileHashes);if(this.hasFileTshs())S(this.fileTshs);if(this.hasContextTimestamps())S(this.contextTimestamps);if(this.hasContextHashes())S(this.contextHashes);if(this.hasContextTshs())S(this.contextTshs);if(this.hasMissingExistence())S(this.missingExistence);if(this.hasManagedItemInfo())S(this.managedItemInfo);if(this.hasManagedFiles())S(this.managedFiles);if(this.hasManagedContexts())S(this.managedContexts);if(this.hasManagedMissing())S(this.managedMissing);if(this.hasChildren())S(this.children)}deserialize({read:S}){this._flags=S();if(this.hasStartTime())this.startTime=S();if(this.hasFileTimestamps())this.fileTimestamps=S();if(this.hasFileHashes())this.fileHashes=S();if(this.hasFileTshs())this.fileTshs=S();if(this.hasContextTimestamps())this.contextTimestamps=S();if(this.hasContextHashes())this.contextHashes=S();if(this.hasContextTshs())this.contextTshs=S();if(this.hasMissingExistence())this.missingExistence=S();if(this.hasManagedItemInfo())this.managedItemInfo=S();if(this.hasManagedFiles())this.managedFiles=S();if(this.hasManagedContexts())this.managedContexts=S();if(this.hasManagedMissing())this.managedMissing=S();if(this.hasChildren())this.children=S()}_createIterable(S){return new SnapshotIterable(this,S)}getFileIterable(){return this._createIterable((S=>[S.fileTimestamps,S.fileHashes,S.fileTshs,S.managedFiles]))}getContextIterable(){return this._createIterable((S=>[S.contextTimestamps,S.contextHashes,S.contextTshs,S.managedContexts]))}getMissingIterable(){return this._createIterable((S=>[S.missingExistence,S.managedMissing]))}}ae(Snapshot,"webpack/lib/FileSystemInfo","Snapshot");const Ue=3;class SnapshotOptimization{constructor(S,E,k,w=false){this._has=S;this._get=E;this._set=k;this._isSet=w;this._map=new Map;this._statItemsShared=0;this._statItemsUnshared=0;this._statSharedSnapshots=0;this._statReusedSharedSnapshots=0}getStatisticMessage(){const S=this._statItemsShared+this._statItemsUnshared;if(S===0)return undefined;return`${this._statItemsShared&&Math.round(this._statItemsShared*100/S)}% (${this._statItemsShared}/${S}) entries shared via ${this._statSharedSnapshots} shared snapshots (${this._statReusedSharedSnapshots+this._statSharedSnapshots} times referenced)`}clear(){this._map.clear();this._statItemsShared=0;this._statItemsUnshared=0;this._statSharedSnapshots=0;this._statReusedSharedSnapshots=0}storeUnsharedSnapshot(S,E){if(E===undefined)return;const k={snapshot:S,shared:0,snapshotContent:undefined,children:undefined};for(const S of E){this._map.set(S,k)}}optimize(S,E,k){const w=new Set;const N=new Set;const increaseSharedAndStoreOptimizationEntry=S=>{if(S.children!==undefined){S.children.forEach(increaseSharedAndStoreOptimizationEntry)}S.shared++;storeOptimizationEntry(S)};const storeOptimizationEntry=E=>{for(const k of E.snapshotContent){const w=this._map.get(k);if(w.shared0){if(E&&(!ee.startTime||ee.startTime>E)){continue}const w=new Set;const j=q.snapshotContent;const te=this._get(ee);for(const E of j){if(!S.has(E)){if(!te.has(E)){N.add(q);continue e}w.add(E);continue}}if(w.size===0){k.add(ee);increaseSharedAndStoreOptimizationEntry(q);this._statReusedSharedSnapshots++}else{const S=j.size-w.size;if(S{if(Ee>1&&S%2!==0)Ee=1;else if(Ee>10&&S%20!==0)Ee=10;else if(Ee>100&&S%200!==0)Ee=100;else if(Ee>1e3&&S%2e3!==0)Ee=1e3};const mergeMaps=(S,E)=>{if(!E||E.size===0)return S;if(!S||S.size===0)return E;const k=new Map(S);for(const[S,w]of E){k.set(S,w)}return k};const mergeSets=(S,E)=>{if(!E||E.size===0)return S;if(!S||S.size===0)return E;const k=new Set(S);for(const S of E){k.add(S)}return k};const getManagedItem=(S,E)=>{let k=S.length;let w=1;let N=true;e:while(k=k+13&&E.charCodeAt(k+1)===110&&E.charCodeAt(k+2)===111&&E.charCodeAt(k+3)===100&&E.charCodeAt(k+4)===101&&E.charCodeAt(k+5)===95&&E.charCodeAt(k+6)===109&&E.charCodeAt(k+7)===111&&E.charCodeAt(k+8)===100&&E.charCodeAt(k+9)===117&&E.charCodeAt(k+10)===108&&E.charCodeAt(k+11)===101&&E.charCodeAt(k+12)===115){if(E.length===k+13){return E}const S=E.charCodeAt(k+13);if(S===47||S===92){return getManagedItem(E.slice(0,k+14),E)}}return E.slice(0,k)};const toExistence=S=>Boolean(S);class FileSystemInfo{constructor(S,{managedPaths:E=[],immutablePaths:k=[],logger:w}={}){this.fs=S;this.logger=w;this._remainingLogs=w?40:0;this._loggedPaths=w?new Set:undefined;this._snapshotCache=new WeakMap;this._fileTimestampsOptimization=new SnapshotOptimization((S=>S.hasFileTimestamps()),(S=>S.fileTimestamps),((S,E)=>S.setFileTimestamps(E)));this._fileHashesOptimization=new SnapshotOptimization((S=>S.hasFileHashes()),(S=>S.fileHashes),((S,E)=>S.setFileHashes(E)));this._fileTshsOptimization=new SnapshotOptimization((S=>S.hasFileTshs()),(S=>S.fileTshs),((S,E)=>S.setFileTshs(E)));this._contextTimestampsOptimization=new SnapshotOptimization((S=>S.hasContextTimestamps()),(S=>S.contextTimestamps),((S,E)=>S.setContextTimestamps(E)));this._contextHashesOptimization=new SnapshotOptimization((S=>S.hasContextHashes()),(S=>S.contextHashes),((S,E)=>S.setContextHashes(E)));this._contextTshsOptimization=new SnapshotOptimization((S=>S.hasContextTshs()),(S=>S.contextTshs),((S,E)=>S.setContextTshs(E)));this._missingExistenceOptimization=new SnapshotOptimization((S=>S.hasMissingExistence()),(S=>S.missingExistence),((S,E)=>S.setMissingExistence(E)));this._managedItemInfoOptimization=new SnapshotOptimization((S=>S.hasManagedItemInfo()),(S=>S.managedItemInfo),((S,E)=>S.setManagedItemInfo(E)));this._managedFilesOptimization=new SnapshotOptimization((S=>S.hasManagedFiles()),(S=>S.managedFiles),((S,E)=>S.setManagedFiles(E)),true);this._managedContextsOptimization=new SnapshotOptimization((S=>S.hasManagedContexts()),(S=>S.managedContexts),((S,E)=>S.setManagedContexts(E)),true);this._managedMissingOptimization=new SnapshotOptimization((S=>S.hasManagedMissing()),(S=>S.managedMissing),((S,E)=>S.setManagedMissing(E)),true);this._fileTimestamps=new Map;this._fileHashes=new Map;this._fileTshs=new Map;this._contextTimestamps=new Map;this._contextHashes=new Map;this._contextTshs=new Map;this._managedItems=new Map;this.fileTimestampQueue=new j({name:"file timestamp",parallelism:30,processor:this._readFileTimestamp.bind(this)});this.fileHashQueue=new j({name:"file hash",parallelism:10,processor:this._readFileHash.bind(this)});this.contextTimestampQueue=new j({name:"context timestamp",parallelism:2,processor:this._readContextTimestamp.bind(this)});this.contextHashQueue=new j({name:"context hash",parallelism:2,processor:this._readContextHash.bind(this)});this.managedItemQueue=new j({name:"managed item info",parallelism:10,processor:this._getManagedItemInfo.bind(this)});this.managedItemDirectoryQueue=new j({name:"managed item directory info",parallelism:10,processor:this._getManagedItemDirectoryInfo.bind(this)});this.managedPaths=Array.from(E);this.managedPathsWithSlash=this.managedPaths.map((E=>ee(S,E,"_").slice(0,-1)));this.immutablePaths=Array.from(k);this.immutablePathsWithSlash=this.immutablePaths.map((E=>ee(S,E,"_").slice(0,-1)));this._cachedDeprecatedFileTimestamps=undefined;this._cachedDeprecatedContextTimestamps=undefined;this._warnAboutExperimentalEsmTracking=false;this._statCreatedSnapshots=0;this._statTestedSnapshotsCached=0;this._statTestedSnapshotsNotCached=0;this._statTestedChildrenCached=0;this._statTestedChildrenNotCached=0;this._statTestedEntries=0}logStatistics(){const logWhenMessage=(S,E)=>{if(E){this.logger.log(`${S}: ${E}`)}};this.logger.log(`${this._statCreatedSnapshots} new snapshots created`);this.logger.log(`${this._statTestedSnapshotsNotCached&&Math.round(this._statTestedSnapshotsNotCached*100/(this._statTestedSnapshotsCached+this._statTestedSnapshotsNotCached))}% root snapshot uncached (${this._statTestedSnapshotsNotCached} / ${this._statTestedSnapshotsCached+this._statTestedSnapshotsNotCached})`);this.logger.log(`${this._statTestedChildrenNotCached&&Math.round(this._statTestedChildrenNotCached*100/(this._statTestedChildrenCached+this._statTestedChildrenNotCached))}% children snapshot uncached (${this._statTestedChildrenNotCached} / ${this._statTestedChildrenCached+this._statTestedChildrenNotCached})`);this.logger.log(`${this._statTestedEntries} entries tested`);this.logger.log(`File info in cache: ${this._fileTimestamps.size} timestamps ${this._fileHashes.size} hashes ${this._fileTshs.size} timestamp hash combinations`);logWhenMessage(`File timestamp snapshot optimization`,this._fileTimestampsOptimization.getStatisticMessage());logWhenMessage(`File hash snapshot optimization`,this._fileHashesOptimization.getStatisticMessage());logWhenMessage(`File timestamp hash combination snapshot optimization`,this._fileTshsOptimization.getStatisticMessage());this.logger.log(`Directory info in cache: ${this._contextTimestamps.size} timestamps ${this._contextHashes.size} hashes ${this._contextTshs.size} timestamp hash combinations`);logWhenMessage(`Directory timestamp snapshot optimization`,this._contextTimestampsOptimization.getStatisticMessage());logWhenMessage(`Directory hash snapshot optimization`,this._contextHashesOptimization.getStatisticMessage());logWhenMessage(`Directory timestamp hash combination snapshot optimization`,this._contextTshsOptimization.getStatisticMessage());logWhenMessage(`Missing items snapshot optimization`,this._missingExistenceOptimization.getStatisticMessage());this.logger.log(`Managed items info in cache: ${this._managedItems.size} items`);logWhenMessage(`Managed items snapshot optimization`,this._managedItemInfoOptimization.getStatisticMessage());logWhenMessage(`Managed files snapshot optimization`,this._managedFilesOptimization.getStatisticMessage());logWhenMessage(`Managed contexts snapshot optimization`,this._managedContextsOptimization.getStatisticMessage());logWhenMessage(`Managed missing snapshot optimization`,this._managedMissingOptimization.getStatisticMessage())}_log(S,E,...k){const w=S+E;if(this._loggedPaths.has(w))return;this._loggedPaths.add(w);this.logger.debug(`${S} invalidated because ${E}`,...k);if(--this._remainingLogs===0){this.logger.debug("Logging limit has been reached and no further logging will be emitted by FileSystemInfo")}}clear(){this._remainingLogs=this.logger?40:0;if(this._loggedPaths!==undefined)this._loggedPaths.clear();this._snapshotCache=new WeakMap;this._fileTimestampsOptimization.clear();this._fileHashesOptimization.clear();this._fileTshsOptimization.clear();this._contextTimestampsOptimization.clear();this._contextHashesOptimization.clear();this._contextTshsOptimization.clear();this._missingExistenceOptimization.clear();this._managedItemInfoOptimization.clear();this._managedFilesOptimization.clear();this._managedContextsOptimization.clear();this._managedMissingOptimization.clear();this._fileTimestamps.clear();this._fileHashes.clear();this._fileTshs.clear();this._contextTimestamps.clear();this._contextHashes.clear();this._contextTshs.clear();this._managedItems.clear();this._managedItems.clear();this._cachedDeprecatedFileTimestamps=undefined;this._cachedDeprecatedContextTimestamps=undefined;this._statCreatedSnapshots=0;this._statTestedSnapshotsCached=0;this._statTestedSnapshotsNotCached=0;this._statTestedChildrenCached=0;this._statTestedChildrenNotCached=0;this._statTestedEntries=0}addFileTimestamps(S){for(const[E,k]of S){this._fileTimestamps.set(E,k)}this._cachedDeprecatedFileTimestamps=undefined}addContextTimestamps(S){for(const[E,k]of S){this._contextTimestamps.set(E,k)}this._cachedDeprecatedContextTimestamps=undefined}getFileTimestamp(S,E){const k=this._fileTimestamps.get(S);if(k!==undefined)return E(null,k);this.fileTimestampQueue.add(S,E)}getContextTimestamp(S,E){const k=this._contextTimestamps.get(S);if(k!==undefined)return E(null,k);this.contextTimestampQueue.add(S,E)}getFileHash(S,E){const k=this._fileHashes.get(S);if(k!==undefined)return E(null,k);this.fileHashQueue.add(S,E)}getContextHash(S,E){const k=this._contextHashes.get(S);if(k!==undefined)return E(null,k);this.contextHashQueue.add(S,E)}_createBuildDependenciesResolvers(){const S=w({resolveToContext:true,exportsFields:[],fileSystem:this.fs});const E=w({extensions:[".js",".json",".node"],conditionNames:["require","node"],exportsFields:["exports"],fileSystem:this.fs});const k=w({extensions:[".js",".json",".node"],conditionNames:["require","node"],exportsFields:[],fileSystem:this.fs});const N=w({extensions:[".js",".json",".node"],fullySpecified:true,conditionNames:["import","node"],exportsFields:["exports"],fileSystem:this.fs});return{resolveContext:S,resolveEsm:N,resolveCjs:E,resolveCjsAsChild:k}}resolveBuildDependencies(S,E,w){const{resolveContext:N,resolveEsm:j,resolveCjs:q,resolveCjsAsChild:ae}=this._createBuildDependenciesResolvers();const Ee=new Set;const Te=new Set;const je=new Set;const ze=new Set;const Ue=new Set;const We=new Set;const $e=new Set;const qe=new Set;const Ve=new Map;const He=new Set;const Ge={fileDependencies:We,contextDependencies:$e,missingDependencies:qe};const expectedToString=S=>S?` (expected ${S})`:"";const jobToString=S=>{switch(S.type){case Ce:return`resolve commonjs ${S.path}${expectedToString(S.expected)}`;case we:return`resolve esm ${S.path}${expectedToString(S.expected)}`;case Ne:return`resolve directory ${S.path}`;case Ie:return`resolve commonjs file ${S.path}${expectedToString(S.expected)}`;case Oe:return`resolve esm file ${S.path}${expectedToString(S.expected)}`;case Me:return`directory ${S.path}`;case Re:return`file ${S.path}`;case Le:return`directory dependencies ${S.path}`;case Be:return`file dependencies ${S.path}`}return`unknown ${S.type} ${S.path}`};const pathToString=S=>{let E=` at ${jobToString(S)}`;S=S.issuer;while(S!==undefined){E+=`\n at ${jobToString(S)}`;S=S.issuer}return E};_e(Array.from(E,(E=>({type:Ce,context:S,path:E,expected:undefined,issuer:undefined}))),20,((S,E,w)=>{const{type:_e,context:Ue,path:$e,expected:Je}=S;const resolveDirectory=k=>{const j=`d\n${Ue}\n${k}`;if(Ve.has(j)){return w()}Ve.set(j,undefined);N(Ue,k,Ge,((N,q,ee)=>{if(N){if(Je===false){Ve.set(j,false);return w()}He.add(j);N.message+=`\nwhile resolving '${k}' in ${Ue} to a directory`;return w(N)}const te=ee.path;Ve.set(j,te);E({type:Me,context:undefined,path:te,expected:undefined,issuer:S});w()}))};const resolveFile=(k,N,j)=>{const q=`${N}\n${Ue}\n${k}`;if(Ve.has(q)){return w()}Ve.set(q,undefined);j(Ue,k,Ge,((N,j,ee)=>{if(typeof Je==="string"){if(!N&&ee&&ee.path===Je){Ve.set(q,ee.path)}else{He.add(q);this.logger.warn(`Resolving '${k}' in ${Ue} for build dependencies doesn't lead to expected result '${Je}', but to '${N||ee&&ee.path}' instead. Resolving dependencies are ignored for this path.\n${pathToString(S)}`)}}else{if(N){if(Je===false){Ve.set(q,false);return w()}He.add(q);N.message+=`\nwhile resolving '${k}' in ${Ue} as file\n${pathToString(S)}`;return w(N)}const j=ee.path;Ve.set(q,j);E({type:Re,context:undefined,path:j,expected:undefined,issuer:S})}w()}))};switch(_e){case Ce:{const S=/[\\/]$/.test($e);if(S){resolveDirectory($e.slice(0,$e.length-1))}else{resolveFile($e,"f",q)}break}case we:{const S=/[\\/]$/.test($e);if(S){resolveDirectory($e.slice(0,$e.length-1))}else{resolveFile($e)}break}case Ne:{resolveDirectory($e);break}case Ie:{resolveFile($e,"f",q);break}case Fe:{resolveFile($e,"c",ae);break}case Oe:{resolveFile($e,"e",j);break}case Re:{if(Ee.has($e)){w();break}Ee.add($e);this.fs.realpath($e,((k,N)=>{if(k)return w(k);const j=N;if(j!==$e){Te.add($e);We.add($e);if(Ee.has(j))return w();Ee.add(j)}E({type:Be,context:undefined,path:j,expected:undefined,issuer:S});w()}));break}case Me:{if(je.has($e)){w();break}je.add($e);this.fs.realpath($e,((k,N)=>{if(k)return w(k);const j=N;if(j!==$e){ze.add($e);We.add($e);if(je.has(j))return w();je.add(j)}E({type:Le,context:undefined,path:j,expected:undefined,issuer:S});w()}));break}case Be:{if(/\.json5?$|\.yarn-integrity$|yarn\.lock$|\.ya?ml/.test($e)){process.nextTick(w);break}const N=require.cache[$e];if(N&&Array.isArray(N.children)){e:for(const k of N.children){let w=k.filename;if(w){E({type:Re,context:undefined,path:w,expected:undefined,issuer:S});const j=te(this.fs,$e);for(const q of N.paths){if(w.startsWith(q)){let N=w.slice(q.length+1);const ee=/^(@[^\\/]+[\\/])[^\\/]+/.exec(N);if(ee){E({type:Re,context:undefined,path:q+w[q.length]+ee[0]+w[q.length]+"package.json",expected:false,issuer:S})}let te=N.replace(/\\/g,"/");if(te.endsWith(".js"))te=te.slice(0,-3);E({type:Fe,context:j,path:te,expected:k.filename,issuer:S});continue e}}let q=ne(this.fs,j,w);if(q.endsWith(".js"))q=q.slice(0,-3);q=q.replace(/\\/g,"/");if(!q.startsWith("../"))q=`./${q}`;E({type:Ie,context:j,path:q,expected:k.filename,issuer:S})}}}else if(ve&&/\.m?js$/.test($e)){if(!this._warnAboutExperimentalEsmTracking){this.logger.log("Node.js doesn't offer a (nice) way to introspect the ESM dependency graph yet.\n"+"Until a full solution is available webpack uses an experimental ESM tracking based on parsing.\n"+"As best effort webpack parses the ESM files to guess dependencies. But this can lead to expensive and incorrect tracking.");this._warnAboutExperimentalEsmTracking=true}const N=k(30247);N.init.then((()=>{this.fs.readFile($e,((k,j)=>{if(k)return w(k);try{const k=te(this.fs,$e);const w=j.toString();const[q]=N.parse(w);for(const N of q){try{let j;if(N.d===-1){j=JSON.parse(w.substring(N.s-1,N.e+1))}else if(N.d>-1){let S=w.substring(N.s,N.e).trim();if(S[0]==="'")S=`"${S.slice(1,-1).replace(/"/g,'\\"')}"`;j=JSON.parse(S)}else{continue}E({type:Oe,context:k,path:j,expected:undefined,issuer:S})}catch(E){this.logger.warn(`Parsing of ${$e} for build dependencies failed at 'import(${w.substring(N.s,N.e)})'.\n`+"Build dependencies behind this expression are ignored and might cause incorrect cache invalidation.");this.logger.debug(pathToString(S));this.logger.debug(E.stack)}}}catch(E){this.logger.warn(`Parsing of ${$e} for build dependencies failed and all dependencies of this file are ignored, which might cause incorrect cache invalidation..`);this.logger.debug(pathToString(S));this.logger.debug(E.stack)}process.nextTick(w)}))}),w);break}else{this.logger.log(`Assuming ${$e} has no dependencies as we were unable to assign it to any module system.`);this.logger.debug(pathToString(S))}process.nextTick(w);break}case Le:{const k=/(^.+[\\/]node_modules[\\/](?:@[^\\/]+[\\/])?[^\\/]+)/.exec($e);const N=k?k[1]:$e;const j=ee(this.fs,N,"package.json");this.fs.readFile(j,((k,q)=>{if(k){if(k.code==="ENOENT"){qe.add(j);const k=te(this.fs,N);if(k!==N){E({type:Le,context:undefined,path:k,expected:undefined,issuer:S})}w();return}return w(k)}We.add(j);let ee;try{ee=JSON.parse(q.toString("utf-8"))}catch(S){return w(S)}const ne=ee.dependencies;const ae=ee.optionalDependencies;const _e=new Set;const ve=new Set;if(typeof ne==="object"&&ne){for(const S of Object.keys(ne)){_e.add(S)}}if(typeof ae==="object"&&ae){for(const S of Object.keys(ae)){_e.add(S);ve.add(S)}}for(const k of _e){E({type:Ne,context:N,path:k,expected:!ve.has(k),issuer:S})}w()}));break}}}),(S=>{if(S)return w(S);for(const S of Te)Ee.delete(S);for(const S of ze)je.delete(S);for(const S of He)Ve.delete(S);w(null,{files:Ee,directories:je,missing:Ue,resolveResults:Ve,resolveDependencies:{files:We,directories:$e,missing:qe}})}))}checkResolveResultsValid(S,E){const{resolveCjs:k,resolveCjsAsChild:w,resolveEsm:j,resolveContext:q}=this._createBuildDependenciesResolvers();N.eachLimit(S,20,(([S,E],N)=>{const[ee,te,ne]=S.split("\n");switch(ee){case"d":q(te,ne,{},((S,k,w)=>{if(E===false)return N(S?undefined:je);if(S)return N(S);const j=w.path;if(j!==E)return N(je);N()}));break;case"f":k(te,ne,{},((S,k,w)=>{if(E===false)return N(S?undefined:je);if(S)return N(S);const j=w.path;if(j!==E)return N(je);N()}));break;case"c":w(te,ne,{},((S,k,w)=>{if(E===false)return N(S?undefined:je);if(S)return N(S);const j=w.path;if(j!==E)return N(je);N()}));break;case"e":j(te,ne,{},((S,k,w)=>{if(E===false)return N(S?undefined:je);if(S)return N(S);const j=w.path;if(j!==E)return N(je);N()}));break;default:N(new Error("Unexpected type in resolve result key"));break}}),(S=>{if(S===je){return E(null,false)}if(S){return E(S)}return E(null,true)}))}createSnapshot(S,E,k,w,N,j){const q=new Map;const ee=new Map;const te=new Map;const ne=new Map;const ae=new Map;const _e=new Map;const ve=new Map;const Ee=new Map;const Te=new Set;const Ce=new Set;const we=new Set;const Ne=new Set;let Ie;let Fe;let Oe;let Me;let Re;let Le;let Be;let je;const ze=new Set;const Ue=N&&N.hash?N.timestamp?3:2:1;let We=1;const jobDone=()=>{if(--We===0){const E=new Snapshot;if(S)E.setStartTime(S);if(q.size!==0){E.setFileTimestamps(q);this._fileTimestampsOptimization.storeUnsharedSnapshot(E,Ie)}if(ee.size!==0){E.setFileHashes(ee);this._fileHashesOptimization.storeUnsharedSnapshot(E,Fe)}if(te.size!==0){E.setFileTshs(te);this._fileTshsOptimization.storeUnsharedSnapshot(E,Oe)}if(ne.size!==0){E.setContextTimestamps(ne);this._contextTimestampsOptimization.storeUnsharedSnapshot(E,Me)}if(ae.size!==0){E.setContextHashes(ae);this._contextHashesOptimization.storeUnsharedSnapshot(E,Re)}if(_e.size!==0){E.setContextTshs(_e);this._contextTshsOptimization.storeUnsharedSnapshot(E,Le)}if(ve.size!==0){E.setMissingExistence(ve);this._missingExistenceOptimization.storeUnsharedSnapshot(E,Be)}if(Ee.size!==0){E.setManagedItemInfo(Ee);this._managedItemInfoOptimization.storeUnsharedSnapshot(E,je)}const k=this._managedFilesOptimization.optimize(Te,undefined,Ne);if(Te.size!==0){E.setManagedFiles(Te);this._managedFilesOptimization.storeUnsharedSnapshot(E,k)}const w=this._managedContextsOptimization.optimize(Ce,undefined,Ne);if(Ce.size!==0){E.setManagedContexts(Ce);this._managedContextsOptimization.storeUnsharedSnapshot(E,w)}const N=this._managedMissingOptimization.optimize(we,undefined,Ne);if(we.size!==0){E.setManagedMissing(we);this._managedMissingOptimization.storeUnsharedSnapshot(E,N)}if(Ne.size!==0){E.setChildren(Ne)}this._snapshotCache.set(E,true);this._statCreatedSnapshots++;j(null,E)}};const jobError=()=>{if(We>0){We=-1e8;j(null,null)}};const checkManaged=(S,E)=>{for(const k of this.immutablePathsWithSlash){if(S.startsWith(k)){E.add(S);return true}}for(const k of this.managedPathsWithSlash){if(S.startsWith(k)){const w=getManagedItem(k,S);if(w){ze.add(w);E.add(S);return true}}}return false};const captureNonManaged=(S,E)=>{const k=new Set;for(const w of S){if(!checkManaged(w,E))k.add(w)}return k};if(E){const k=captureNonManaged(E,Te);switch(Ue){case 3:Oe=this._fileTshsOptimization.optimize(k,undefined,Ne);for(const S of k){const E=this._fileTshs.get(S);if(E!==undefined){te.set(S,E)}else{We++;this._getFileTimestampAndHash(S,((E,k)=>{if(E){if(this.logger){this.logger.debug(`Error snapshotting file timestamp hash combination of ${S}: ${E.stack}`)}jobError()}else{te.set(S,k);jobDone()}}))}}break;case 2:Fe=this._fileHashesOptimization.optimize(k,undefined,Ne);for(const S of k){const E=this._fileHashes.get(S);if(E!==undefined){ee.set(S,E)}else{We++;this.fileHashQueue.add(S,((E,k)=>{if(E){if(this.logger){this.logger.debug(`Error snapshotting file hash of ${S}: ${E.stack}`)}jobError()}else{ee.set(S,k);jobDone()}}))}}break;case 1:Ie=this._fileTimestampsOptimization.optimize(k,S,Ne);for(const S of k){const E=this._fileTimestamps.get(S);if(E!==undefined){if(E!=="ignore"){q.set(S,E)}}else{We++;this.fileTimestampQueue.add(S,((E,k)=>{if(E){if(this.logger){this.logger.debug(`Error snapshotting file timestamp of ${S}: ${E.stack}`)}jobError()}else{q.set(S,k);jobDone()}}))}}break}}if(k){const E=captureNonManaged(k,Ce);switch(Ue){case 3:Le=this._contextTshsOptimization.optimize(E,undefined,Ne);for(const S of E){const E=this._contextTshs.get(S);if(E!==undefined){_e.set(S,E)}else{We++;this._getContextTimestampAndHash(S,((E,k)=>{if(E){if(this.logger){this.logger.debug(`Error snapshotting context timestamp hash combination of ${S}: ${E.stack}`)}jobError()}else{_e.set(S,k);jobDone()}}))}}break;case 2:Re=this._contextHashesOptimization.optimize(E,undefined,Ne);for(const S of E){const E=this._contextHashes.get(S);if(E!==undefined){ae.set(S,E)}else{We++;this.contextHashQueue.add(S,((E,k)=>{if(E){if(this.logger){this.logger.debug(`Error snapshotting context hash of ${S}: ${E.stack}`)}jobError()}else{ae.set(S,k);jobDone()}}))}}break;case 1:Me=this._contextTimestampsOptimization.optimize(E,S,Ne);for(const S of E){const E=this._contextTimestamps.get(S);if(E!==undefined){if(E!=="ignore"){ne.set(S,E)}}else{We++;this.contextTimestampQueue.add(S,((E,k)=>{if(E){if(this.logger){this.logger.debug(`Error snapshotting context timestamp of ${S}: ${E.stack}`)}jobError()}else{ne.set(S,k);jobDone()}}))}}break}}if(w){const E=captureNonManaged(w,we);Be=this._missingExistenceOptimization.optimize(E,S,Ne);for(const S of E){const E=this._fileTimestamps.get(S);if(E!==undefined){if(E!=="ignore"){ve.set(S,toExistence(E))}}else{We++;this.fileTimestampQueue.add(S,((E,k)=>{if(E){if(this.logger){this.logger.debug(`Error snapshotting missing timestamp of ${S}: ${E.stack}`)}jobError()}else{ve.set(S,toExistence(k));jobDone()}}))}}}je=this._managedItemInfoOptimization.optimize(ze,undefined,Ne);for(const S of ze){const E=this._managedItems.get(S);if(E!==undefined){Ee.set(S,E)}else{We++;this.managedItemQueue.add(S,((E,k)=>{if(E){if(this.logger){this.logger.debug(`Error snapshotting managed item ${S}: ${E.stack}`)}jobError()}else{Ee.set(S,k);jobDone()}}))}}jobDone()}mergeSnapshots(S,E){const k=new Snapshot;if(S.hasStartTime()&&E.hasStartTime())k.setStartTime(Math.min(S.startTime,E.startTime));else if(E.hasStartTime())k.startTime=E.startTime;else if(S.hasStartTime())k.startTime=S.startTime;if(S.hasFileTimestamps()||E.hasFileTimestamps()){k.setFileTimestamps(mergeMaps(S.fileTimestamps,E.fileTimestamps))}if(S.hasFileHashes()||E.hasFileHashes()){k.setFileHashes(mergeMaps(S.fileHashes,E.fileHashes))}if(S.hasFileTshs()||E.hasFileTshs()){k.setFileTshs(mergeMaps(S.fileTshs,E.fileTshs))}if(S.hasContextTimestamps()||E.hasContextTimestamps()){k.setContextTimestamps(mergeMaps(S.contextTimestamps,E.contextTimestamps))}if(S.hasContextHashes()||E.hasContextHashes()){k.setContextHashes(mergeMaps(S.contextHashes,E.contextHashes))}if(S.hasContextTshs()||E.hasContextTshs()){k.setContextTshs(mergeMaps(S.contextTshs,E.contextTshs))}if(S.hasMissingExistence()||E.hasMissingExistence()){k.setMissingExistence(mergeMaps(S.missingExistence,E.missingExistence))}if(S.hasManagedItemInfo()||E.hasManagedItemInfo()){k.setManagedItemInfo(mergeMaps(S.managedItemInfo,E.managedItemInfo))}if(S.hasManagedFiles()||E.hasManagedFiles()){k.setManagedFiles(mergeSets(S.managedFiles,E.managedFiles))}if(S.hasManagedContexts()||E.hasManagedContexts()){k.setManagedContexts(mergeSets(S.managedContexts,E.managedContexts))}if(S.hasManagedMissing()||E.hasManagedMissing()){k.setManagedMissing(mergeSets(S.managedMissing,E.managedMissing))}if(S.hasChildren()||E.hasChildren()){k.setChildren(mergeSets(S.children,E.children))}if(this._snapshotCache.get(S)===true&&this._snapshotCache.get(E)===true){this._snapshotCache.set(k,true)}return k}checkSnapshotValid(S,E){const k=this._snapshotCache.get(S);if(k!==undefined){this._statTestedSnapshotsCached++;if(typeof k==="boolean"){E(null,k)}else{k.push(E)}return}this._statTestedSnapshotsNotCached++;this._checkSnapshotValidNoCache(S,E)}_checkSnapshotValidNoCache(S,E){let k=undefined;if(S.hasStartTime()){k=S.startTime}let w=1;const jobDone=()=>{if(--w===0){this._snapshotCache.set(S,true);E(null,true)}};const invalid=()=>{if(w>0){w=-1e8;this._snapshotCache.set(S,false);E(null,false)}};const invalidWithError=(S,E)=>{if(this._remainingLogs>0){this._log(S,`error occurred: %s`,E)}invalid()};const checkHash=(S,E,k)=>{if(E!==k){if(this._remainingLogs>0){this._log(S,`hashes differ (%s != %s)`,E,k)}return false}return true};const checkExistence=(S,E,k)=>{if(!E!==!k){if(this._remainingLogs>0){this._log(S,E?"it didn't exist before":"it does no longer exist")}return false}return true};const checkFile=(S,E,w,N=true)=>{if(E===w)return true;if(!E!==!w){if(N&&this._remainingLogs>0){this._log(S,E?"it didn't exist before":"it does no longer exist")}return false}if(E){if(typeof k==="number"&&E.safeTime>k){if(N&&this._remainingLogs>0){this._log(S,`it may have changed (%d) after the start time of the snapshot (%d)`,E.safeTime,k)}return false}if(w.timestamp!==undefined&&E.timestamp!==w.timestamp){if(N&&this._remainingLogs>0){this._log(S,`timestamps differ (%d != %d)`,E.timestamp,w.timestamp)}return false}if(w.timestampHash!==undefined&&E.timestampHash!==w.timestampHash){if(N&&this._remainingLogs>0){this._log(S,`timestamps hashes differ (%s != %s)`,E.timestampHash,w.timestampHash)}return false}}return true};if(S.hasChildren()){const childCallback=(S,E)=>{if(S||!E)return invalid();else jobDone()};for(const E of S.children){const S=this._snapshotCache.get(E);if(S!==undefined){this._statTestedChildrenCached++;if(typeof S==="boolean"){if(S===false){invalid();return}}else{w++;S.push(childCallback)}}else{this._statTestedChildrenNotCached++;w++;this._checkSnapshotValidNoCache(E,childCallback)}}}if(S.hasFileTimestamps()){const{fileTimestamps:E}=S;this._statTestedEntries+=E.size;for(const[S,k]of E){const E=this._fileTimestamps.get(S);if(E!==undefined){if(E!=="ignore"&&!checkFile(S,E,k)){invalid();return}}else{w++;this.fileTimestampQueue.add(S,((E,w)=>{if(E)return invalidWithError(S,E);if(!checkFile(S,w,k)){invalid()}else{jobDone()}}))}}}const processFileHashSnapshot=(S,E)=>{const k=this._fileHashes.get(S);if(k!==undefined){if(k!=="ignore"&&!checkHash(S,k,E)){invalid();return}}else{w++;this.fileHashQueue.add(S,((k,w)=>{if(k)return invalidWithError(S,k);if(!checkHash(S,w,E)){invalid()}else{jobDone()}}))}};if(S.hasFileHashes()){const{fileHashes:E}=S;this._statTestedEntries+=E.size;for(const[S,k]of E){processFileHashSnapshot(S,k)}}if(S.hasFileTshs()){const{fileTshs:E}=S;this._statTestedEntries+=E.size;for(const[S,k]of E){if(typeof k==="string"){processFileHashSnapshot(S,k)}else{const E=this._fileTimestamps.get(S);if(E!==undefined){if(E==="ignore"||!checkFile(S,E,k,false)){processFileHashSnapshot(S,k.hash)}}else{w++;this.fileTimestampQueue.add(S,((E,w)=>{if(E)return invalidWithError(S,E);if(!checkFile(S,w,k,false)){processFileHashSnapshot(S,k.hash)}jobDone()}))}}}}if(S.hasContextTimestamps()){const{contextTimestamps:E}=S;this._statTestedEntries+=E.size;for(const[S,k]of E){const E=this._contextTimestamps.get(S);if(E!==undefined){if(E!=="ignore"&&!checkFile(S,E,k)){invalid();return}}else{w++;this.contextTimestampQueue.add(S,((E,w)=>{if(E)return invalidWithError(S,E);if(!checkFile(S,w,k)){invalid()}else{jobDone()}}))}}}const processContextHashSnapshot=(S,E)=>{const k=this._contextHashes.get(S);if(k!==undefined){if(k!=="ignore"&&!checkHash(S,k,E)){invalid();return}}else{w++;this.contextHashQueue.add(S,((k,w)=>{if(k)return invalidWithError(S,k);if(!checkHash(S,w,E)){invalid()}else{jobDone()}}))}};if(S.hasContextHashes()){const{contextHashes:E}=S;this._statTestedEntries+=E.size;for(const[S,k]of E){processContextHashSnapshot(S,k)}}if(S.hasContextTshs()){const{contextTshs:E}=S;this._statTestedEntries+=E.size;for(const[S,k]of E){if(typeof k==="string"){processContextHashSnapshot(S,k)}else{const E=this._contextTimestamps.get(S);if(E!==undefined){if(E==="ignore"||!checkFile(S,E,k,false)){processContextHashSnapshot(S,k.hash)}}else{w++;this.contextTimestampQueue.add(S,((E,w)=>{if(E)return invalidWithError(S,E);if(!checkFile(S,w,k,false)){processContextHashSnapshot(S,k.hash)}jobDone()}))}}}}if(S.hasMissingExistence()){const{missingExistence:E}=S;this._statTestedEntries+=E.size;for(const[S,k]of E){const E=this._fileTimestamps.get(S);if(E!==undefined){if(E!=="ignore"&&!checkExistence(S,toExistence(E),k)){invalid();return}}else{w++;this.fileTimestampQueue.add(S,((E,w)=>{if(E)return invalidWithError(S,E);if(!checkExistence(S,toExistence(w),k)){invalid()}else{jobDone()}}))}}}if(S.hasManagedItemInfo()){const{managedItemInfo:E}=S;this._statTestedEntries+=E.size;for(const[S,k]of E){const E=this._managedItems.get(S);if(E!==undefined){if(!checkHash(S,E,k)){invalid();return}}else{w++;this.managedItemQueue.add(S,((E,w)=>{if(E)return invalidWithError(S,E);if(!checkHash(S,w,k)){invalid()}else{jobDone()}}))}}}jobDone();if(w>0){const k=[E];E=(S,E)=>{for(const w of k)w(S,E)};this._snapshotCache.set(S,k)}}_readFileTimestamp(S,E){this.fs.stat(S,((k,w)=>{if(k){if(k.code==="ENOENT"){this._fileTimestamps.set(S,null);this._cachedDeprecatedFileTimestamps=undefined;return E(null,null)}return E(k)}let N;if(w.isDirectory()){N={safeTime:0,timestamp:undefined}}else{const S=+w.mtime;if(S)applyMtime(S);N={safeTime:S?S+Ee:Infinity,timestamp:S}}this._fileTimestamps.set(S,N);this._cachedDeprecatedFileTimestamps=undefined;E(null,N)}))}_readFileHash(S,E){this.fs.readFile(S,((k,w)=>{if(k){if(k.code==="EISDIR"){this._fileHashes.set(S,"directory");return E(null,"directory")}if(k.code==="ENOENT"){this._fileHashes.set(S,null);return E(null,null)}if(k.code==="ERR_FS_FILE_TOO_LARGE"){this.logger.warn(`Ignoring ${S} for hashing as it's very large`);this._fileHashes.set(S,"too large");return E(null,"too large")}return E(k)}const N=q("md4");N.update(w);const j=N.digest("hex");this._fileHashes.set(S,j);E(null,j)}))}_getFileTimestampAndHash(S,E){const continueWithHash=k=>{const w=this._fileTimestamps.get(S);if(w!==undefined){if(w!=="ignore"){const N={...w,hash:k};this._fileTshs.set(S,N);return E(null,N)}else{this._fileTshs.set(S,k);return E(null,k)}}else{this.fileTimestampQueue.add(S,((w,N)=>{if(w){return E(w)}const j={...N,hash:k};this._fileTshs.set(S,j);return E(null,j)}))}};const k=this._fileHashes.get(S);if(k!==undefined){continueWithHash(k)}else{this.fileHashQueue.add(S,((S,k)=>{if(S){return E(S)}continueWithHash(k)}))}}_readContextTimestamp(S,E){this.fs.readdir(S,((k,w)=>{if(k){if(k.code==="ENOENT"){this._contextTimestamps.set(S,null);this._cachedDeprecatedContextTimestamps=undefined;return E(null,null)}return E(k)}const j=w.map((S=>S.normalize("NFC"))).filter((S=>!/^\./.test(S))).sort();N.map(j,((E,k)=>{const w=ee(this.fs,S,E);this.fs.stat(w,((E,N)=>{if(E)return k(E);for(const E of this.immutablePathsWithSlash){if(S.startsWith(E)){return k(null,null)}}for(const E of this.managedPathsWithSlash){if(S.startsWith(E)){const S=getManagedItem(E,w);if(S){return this.managedItemQueue.add(S,((S,E)=>{if(S)return k(S);return k(null,{safeTime:0,timestampHash:E})}))}}}if(N.isFile()){return this.getFileTimestamp(w,k)}if(N.isDirectory()){this.contextTimestampQueue.increaseParallelism();this.getContextTimestamp(w,((S,E)=>{this.contextTimestampQueue.decreaseParallelism();k(S,E)}));return}k(null,null)}))}),((k,w)=>{if(k)return E(k);const N=q("md4");for(const S of j)N.update(S);let ee=0;for(const S of w){if(!S){N.update("n");continue}if(S.timestamp){N.update("f");N.update(`${S.timestamp}`)}else if(S.timestampHash){N.update("d");N.update(`${S.timestampHash}`)}if(S.safeTime){ee=Math.max(ee,S.safeTime)}}const te=N.digest("hex");const ne={safeTime:ee,timestampHash:te};this._contextTimestamps.set(S,ne);this._cachedDeprecatedContextTimestamps=undefined;E(null,ne)}))}))}_readContextHash(S,E){this.fs.readdir(S,((k,w)=>{if(k){if(k.code==="ENOENT"){this._contextHashes.set(S,null);return E(null,null)}return E(k)}const j=w.map((S=>S.normalize("NFC"))).filter((S=>!/^\./.test(S))).sort();N.map(j,((E,k)=>{const w=ee(this.fs,S,E);this.fs.stat(w,((E,N)=>{if(E)return k(E);for(const E of this.immutablePathsWithSlash){if(S.startsWith(E)){return k(null,"")}}for(const E of this.managedPathsWithSlash){if(S.startsWith(E)){const S=getManagedItem(E,w);if(S){return this.managedItemQueue.add(S,((S,E)=>{if(S)return k(S);k(null,E||"")}))}}}if(N.isFile()){return this.getFileHash(w,((S,E)=>{k(S,E||"")}))}if(N.isDirectory()){this.contextHashQueue.increaseParallelism();this.getContextHash(w,((S,E)=>{this.contextHashQueue.decreaseParallelism();k(S,E||"")}));return}k(null,"")}))}),((k,w)=>{if(k)return E(k);const N=q("md4");for(const S of j)N.update(S);for(const S of w)N.update(S);const ee=N.digest("hex");this._contextHashes.set(S,ee);E(null,ee)}))}))}_getContextTimestampAndHash(S,E){const continueWithHash=k=>{const w=this._contextTimestamps.get(S);if(w!==undefined){if(w!=="ignore"){const N={...w,hash:k};this._contextTshs.set(S,N);return E(null,N)}else{this._contextTshs.set(S,k);return E(null,k)}}else{this.contextTimestampQueue.add(S,((w,N)=>{if(w){return E(w)}const j={...N,hash:k};this._contextTshs.set(S,j);return E(null,j)}))}};const k=this._contextHashes.get(S);if(k!==undefined){continueWithHash(k)}else{this.contextHashQueue.add(S,((S,k)=>{if(S){return E(S)}continueWithHash(k)}))}}_getManagedItemDirectoryInfo(S,E){this.fs.readdir(S,((k,w)=>{if(k){if(k.code==="ENOENT"||k.code==="ENOTDIR"){return E(null,Te)}return E(k)}const N=new Set(w.map((E=>ee(this.fs,S,E))));E(null,N)}))}_getManagedItemInfo(S,E){const k=te(this.fs,S);this.managedItemDirectoryQueue.add(k,((k,w)=>{if(k){return E(k)}if(!w.has(S)){this._managedItems.set(S,"missing");return E(null,"missing")}if(S.endsWith("node_modules")&&(S.endsWith("/node_modules")||S.endsWith("\\node_modules"))){this._managedItems.set(S,"exists");return E(null,"exists")}const N=ee(this.fs,S,"package.json");this.fs.readFile(N,((k,w)=>{if(k){if(k.code==="ENOENT"||k.code==="ENOTDIR"){this.fs.readdir(S,((k,w)=>{if(!k&&w.length===1&&w[0]==="node_modules"){this._managedItems.set(S,"nested");return E(null,"nested")}const N=`Managed item ${S} isn't a directory or doesn't contain a package.json`;this.logger.warn(N);return E(new Error(N))}));return}return E(k)}let N;try{N=JSON.parse(w.toString("utf-8"))}catch(S){return E(S)}const j=`${N.name||""}@${N.version||""}`;this._managedItems.set(S,j);E(null,j)}))}))}getDeprecatedFileTimestamps(){if(this._cachedDeprecatedFileTimestamps!==undefined)return this._cachedDeprecatedFileTimestamps;const S=new Map;for(const[E,k]of this._fileTimestamps){if(k)S.set(E,typeof k==="object"?k.safeTime:null)}return this._cachedDeprecatedFileTimestamps=S}getDeprecatedContextTimestamps(){if(this._cachedDeprecatedContextTimestamps!==undefined)return this._cachedDeprecatedContextTimestamps;const S=new Map;for(const[E,k]of this._contextTimestamps){if(k)S.set(E,typeof k==="object"?k.safeTime:null)}return this._cachedDeprecatedContextTimestamps=S}}S.exports=FileSystemInfo;S.exports.Snapshot=Snapshot},6283:(S,E,k)=>{"use strict";const{getEntryRuntime:w,mergeRuntimeOwned:N}=k(37416);class FlagAllModulesAsUsedPlugin{constructor(S){this.explanation=S}apply(S){S.hooks.compilation.tap("FlagAllModulesAsUsedPlugin",(S=>{const E=S.moduleGraph;S.hooks.optimizeDependencies.tap("FlagAllModulesAsUsedPlugin",(k=>{let j=undefined;for(const[E,{options:k}]of S.entries){j=N(j,w(S,E,k))}for(const S of k){const k=E.getExportsInfo(S);k.setUsedInUnknownWay(j);E.addExtraReason(S,this.explanation);if(S.factoryMeta===undefined){S.factoryMeta={}}S.factoryMeta.sideEffectFree=false}}))}))}}S.exports=FlagAllModulesAsUsedPlugin},95629:(S,E,k)=>{"use strict";const w=k(62355);const N=k(39541);class FlagDependencyExportsPlugin{apply(S){S.hooks.compilation.tap("FlagDependencyExportsPlugin",(S=>{const E=S.moduleGraph;const k=S.getCache("FlagDependencyExportsPlugin");S.hooks.finishModules.tapAsync("FlagDependencyExportsPlugin",((j,q)=>{const ee=S.getLogger("webpack.FlagDependencyExportsPlugin");let te=0;let ne=0;let ae=0;let _e=0;let ve=0;const Ee=new N;ee.time("restore cached provided exports");w.each(j,((S,w)=>{const N=E.getExportsInfo(S);if(!S.buildMeta||!S.buildMeta.exportsType){if(N.otherExportsInfo.provided!==null){ne++;N.setHasProvideInfo();N.setUnknownExportsProvided();return w()}}if(S.buildInfo.cacheable!==true||typeof S.buildInfo.hash!=="string"){ae++;Ee.enqueue(S);N.setHasProvideInfo();return w()}k.get(S.identifier(),S.buildInfo.hash,((k,j)=>{if(k)return w(k);if(j!==undefined){te++;E.getExportsInfo(S).restoreProvided(j)}else{_e++;Ee.enqueue(S);N.setHasProvideInfo()}w()}))}),(S=>{ee.timeEnd("restore cached provided exports");if(S)return q(S);const N=new Set;const j=new Map;let Te;let Ce;const we=new Map;let Ne=true;let Ie=false;const processDependenciesBlock=S=>{for(const E of S.dependencies){processDependency(E)}for(const E of S.blocks){processDependenciesBlock(E)}};const processDependency=S=>{const k=S.getExports(E);if(!k)return;we.set(S,k)};const processExportsSpec=(S,k)=>{const w=k.exports;const N=k.canMangle;const q=k.from;const ee=k.priority;const te=k.terminalBinding||false;const ne=k.dependencies;if(k.hideExports){for(const E of k.hideExports){const k=Ce.getExportInfo(E);k.unsetTarget(S)}}if(w===true){if(Ce.setUnknownExportsProvided(N,k.excludeExports,q&&S,q,ee)){Ie=true}}else if(Array.isArray(w)){const mergeExports=(k,w)=>{for(const ne of w){let w;let ae=N;let _e=te;let ve=undefined;let Ee=q;let Ce=undefined;let we=ee;let Ne=false;if(typeof ne==="string"){w=ne}else{w=ne.name;if(ne.canMangle!==undefined)ae=ne.canMangle;if(ne.export!==undefined)Ce=ne.export;if(ne.exports!==undefined)ve=ne.exports;if(ne.from!==undefined)Ee=ne.from;if(ne.priority!==undefined)we=ne.priority;if(ne.terminalBinding!==undefined)_e=ne.terminalBinding;if(ne.hidden!==undefined)Ne=ne.hidden}const Fe=k.getExportInfo(w);if(Fe.provided===false||Fe.provided===null){Fe.provided=true;Ie=true}if(Fe.canMangleProvide!==false&&ae===false){Fe.canMangleProvide=false;Ie=true}if(_e&&!Fe.terminalBinding){Fe.terminalBinding=true;Ie=true}if(ve){const S=Fe.createNestedExportsInfo();mergeExports(S,ve)}if(Ee&&(Ne?Fe.unsetTarget(S):Fe.setTarget(S,Ee,Ce===undefined?[w]:Ce,we))){Ie=true}const Oe=Fe.getTarget(E);let Me=undefined;if(Oe){const S=E.getExportsInfo(Oe.module);Me=S.getNestedExportsInfo(Oe.export);const k=j.get(Oe.module);if(k===undefined){j.set(Oe.module,new Set([Te]))}else{k.add(Te)}}if(Fe.exportsInfoOwned){if(Fe.exportsInfo.setRedirectNamedTo(Me)){Ie=true}}else if(Fe.exportsInfo!==Me){Fe.exportsInfo=Me;Ie=true}}};mergeExports(Ce,w)}if(ne){Ne=false;for(const S of ne){const E=j.get(S);if(E===undefined){j.set(S,new Set([Te]))}else{E.add(Te)}}}};const notifyDependencies=()=>{const S=j.get(Te);if(S!==undefined){for(const E of S){Ee.enqueue(E)}}};ee.time("figure out provided exports");while(Ee.length>0){Te=Ee.dequeue();ve++;Ce=E.getExportsInfo(Te);Ne=true;Ie=false;we.clear();E.freeze();processDependenciesBlock(Te);E.unfreeze();for(const[S,E]of we){processExportsSpec(S,E)}if(Ne){N.add(Te)}if(Ie){notifyDependencies()}}ee.timeEnd("figure out provided exports");ee.log(`${Math.round(100*(ae+_e)/(te+_e+ae+ne))}% of exports of modules have been determined (${ne} no declared exports, ${_e} not cached, ${ae} flagged uncacheable, ${te} from cache, ${ve-_e-ae} additional calculations due to dependencies)`);ee.time("store provided exports into cache");w.each(N,((S,w)=>{if(S.buildInfo.cacheable!==true||typeof S.buildInfo.hash!=="string"){return w()}k.store(S.identifier(),S.buildInfo.hash,E.getExportsInfo(S).getRestoreProvidedData(),w)}),(S=>{ee.timeEnd("store provided exports into cache");q(S)}))}))}));const j=new WeakMap;S.hooks.rebuildModule.tap("FlagDependencyExportsPlugin",(S=>{j.set(S,E.getExportsInfo(S).getRestoreProvidedData())}));S.hooks.finishRebuildingModule.tap("FlagDependencyExportsPlugin",(S=>{E.getExportsInfo(S).restoreProvided(j.get(S))}))}))}}S.exports=FlagDependencyExportsPlugin},1596:(S,E,k)=>{"use strict";const w=k(28706);const{UsageState:N}=k(76632);const j=k(79900);const{STAGE_DEFAULT:q}=k(82414);const ee=k(56561);const te=k(34194);const{getEntryRuntime:ne,mergeRuntimeOwned:ae}=k(37416);const{NO_EXPORTS_REFERENCED:_e,EXPORTS_OBJECT_REFERENCED:ve}=w;class FlagDependencyUsagePlugin{constructor(S){this.global=S}apply(S){S.hooks.compilation.tap("FlagDependencyUsagePlugin",(S=>{const E=S.moduleGraph;S.hooks.optimizeDependencies.tap({name:"FlagDependencyUsagePlugin",stage:q},(k=>{const w=S.getLogger("webpack.FlagDependencyUsagePlugin");const q=new Map;const Ee=new te;const processReferencedModule=(S,k,w,j)=>{const ee=E.getExportsInfo(S);if(k.length>0){if(!S.buildMeta||!S.buildMeta.exportsType){if(ee.setUsedWithoutInfo(w)){Ee.enqueue(S,w)}return}for(const E of k){let k;let j=true;if(Array.isArray(E)){k=E}else{k=E.name;j=E.canMangle!==false}if(k.length===0){if(ee.setUsedInUnknownWay(w)){Ee.enqueue(S,w)}}else{let E=ee;for(let te=0;teS===N.Unused),N.OnlyPropertiesUsed,w)){const k=E===ee?S:q.get(E);if(k){Ee.enqueue(k,w)}}E=k;continue}}if(ne.setUsedConditionally((S=>S!==N.Used),N.Used,w)){const k=E===ee?S:q.get(E);if(k){Ee.enqueue(k,w)}}break}}}}else{if(!j&&S.factoryMeta!==undefined&&S.factoryMeta.sideEffectFree){return}if(ee.setUsedForSideEffectsOnly(w)){Ee.enqueue(S,w)}}};const processModule=(k,w,N)=>{const q=new Map;const te=new ee;te.enqueue(k);for(;;){const k=te.dequeue();if(k===undefined)break;for(const S of k.blocks){if(!this.global&&S.groupOptions&&S.groupOptions.entryOptions){processModule(S,S.groupOptions.entryOptions.runtime||undefined,true)}else{te.enqueue(S)}}for(const N of k.dependencies){const k=E.getConnection(N);if(!k||!k.module){continue}const ee=k.getActiveState(w);if(ee===false)continue;const{module:te}=k;if(ee===j.TRANSITIVE_ONLY){processModule(te,w,false);continue}const ne=q.get(te);if(ne===ve){continue}const ae=S.getDependencyReferencedExports(N,w);if(ne===undefined||ne===_e||ae===ve){q.set(te,ae)}else if(ne!==undefined&&ae===_e){continue}else{let S;if(Array.isArray(ne)){S=new Map;for(const E of ne){if(Array.isArray(E)){S.set(E.join("\n"),E)}else{S.set(E.name.join("\n"),E)}}q.set(te,S)}else{S=ne}for(const E of ae){if(Array.isArray(E)){const k=E.join("\n");const w=S.get(k);if(w===undefined){S.set(k,E)}}else{const k=E.name.join("\n");const w=S.get(k);if(w===undefined||Array.isArray(w)){S.set(k,E)}else{S.set(k,{name:E.name,canMangle:E.canMangle&&w.canMangle})}}}}}}for(const[S,E]of q){if(Array.isArray(E)){processReferencedModule(S,E,w,N)}else{processReferencedModule(S,Array.from(E.values()),w,N)}}};w.time("initialize exports usage");for(const S of k){const k=E.getExportsInfo(S);q.set(k,S);k.setHasUseInfo()}w.timeEnd("initialize exports usage");w.time("trace exports usage in graph");const processEntryDependency=(S,k)=>{const w=E.getModule(S);if(w){processReferencedModule(w,_e,k,true)}};let Te=undefined;for(const[E,{dependencies:k,includeDependencies:w,options:N}]of S.entries){const j=this.global?undefined:ne(S,E,N);for(const S of k){processEntryDependency(S,j)}for(const S of w){processEntryDependency(S,j)}Te=ae(Te,j)}for(const E of S.globalEntry.dependencies){processEntryDependency(E,Te)}for(const E of S.globalEntry.includeDependencies){processEntryDependency(E,Te)}while(Ee.length){const[S,E]=Ee.dequeue();processModule(S,E,false)}w.timeEnd("trace exports usage in graph")}))}))}}S.exports=FlagDependencyUsagePlugin},36253:(S,E,k)=>{"use strict";class Generator{static byType(S){return new ByTypeGenerator(S)}getTypes(S){const E=k(75884);throw new E}getSize(S,E){const w=k(75884);throw new w}generate(S,{dependencyTemplates:E,runtimeTemplate:w,moduleGraph:N,type:j}){const q=k(75884);throw new q}getConcatenationBailoutReason(S,E){return`Module Concatenation is not implemented for ${this.constructor.name}`}updateHash(S,{module:E,runtime:k}){}}class ByTypeGenerator extends Generator{constructor(S){super();this.map=S;this._types=new Set(Object.keys(S))}getTypes(S){return this._types}getSize(S,E){const k=E||"javascript";const w=this.map[k];return w?w.getSize(S,k):0}generate(S,E){const k=E.type;const w=this.map[k];if(!w){throw new Error(`Generator.byType: no generator specified for ${k}`)}return w.generate(S,E)}}S.exports=Generator},4642:(S,E)=>{"use strict";const connectChunkGroupAndChunk=(S,E)=>{if(S.pushChunk(E)){E.addGroup(S)}};const connectChunkGroupParentAndChild=(S,E)=>{if(S.addChild(E)){E.addParent(S)}};E.connectChunkGroupAndChunk=connectChunkGroupAndChunk;E.connectChunkGroupParentAndChild=connectChunkGroupParentAndChild},36756:(S,E,k)=>{"use strict";const w=k(81627);S.exports=class HarmonyLinkingError extends w{constructor(S){super(S);this.name="HarmonyLinkingError";this.hideStack=true}}},3728:(S,E,k)=>{"use strict";const w=k(81627);class HookWebpackError extends w{constructor(S,E){super(S.message);this.name="HookWebpackError";this.hook=E;this.error=S;this.hideStack=true;this.details=`caused by plugins in ${E}\n${S.stack}`;this.stack+=`\n-- inner error --\n${S.stack}`}}S.exports=HookWebpackError;const makeWebpackError=(S,E)=>{if(S instanceof w)return S;return new HookWebpackError(S,E)};S.exports.makeWebpackError=makeWebpackError;const makeWebpackErrorCallback=(S,E)=>(k,N)=>{if(k){if(k instanceof w){S(k);return}S(new HookWebpackError(k,E));return}S(null,N)};S.exports.makeWebpackErrorCallback=makeWebpackErrorCallback;const tryRunOrWebpackError=(S,E)=>{let k;try{k=S()}catch(S){if(S instanceof w){throw S}throw new HookWebpackError(S,E)}return k};S.exports.tryRunOrWebpackError=tryRunOrWebpackError},79972:(S,E,k)=>{"use strict";const{SyncBailHook:w}=k(92960);const{RawSource:N}=k(48135);const j=k(45137);const q=k(3080);const ee=k(22352);const te=k(53520);const ne=k(76150);const ae=k(81627);const _e=k(66298);const ve=k(76302);const Ee=k(5389);const Te=k(21809);const Ce=k(73158);const we=k(79838);const Ne=k(3711);const{evaluateToIdentifier:Ie}=k(48472);const{find:Fe,isSubset:Oe}=k(26221);const Me=k(86949);const{compareModulesById:Re}=k(68673);const{getRuntimeKey:Le,keyToRuntime:Be,forEachRuntime:je,mergeRuntimeOwned:ze,subtractRuntime:Ue,intersectRuntime:We}=k(37416);const $e=new WeakMap;class HotModuleReplacementPlugin{static getParserHooks(S){if(!(S instanceof Ne)){throw new TypeError("The 'parser' argument must be an instance of JavascriptParser")}let E=$e.get(S);if(E===undefined){E={hotAcceptCallback:new w(["expression","requests"]),hotAcceptWithoutCallback:new w(["expression","requests"])};$e.set(S,E)}return E}constructor(S){this.options=S||{}}apply(S){if(S.options.output.strictModuleErrorHandling===undefined)S.options.output.strictModuleErrorHandling=true;const E=[ne.module];const createAcceptHandler=(S,k)=>{const{hotAcceptCallback:w,hotAcceptWithoutCallback:N}=HotModuleReplacementPlugin.getParserHooks(S);return j=>{const q=S.state.module;const ee=new _e(`${q.moduleArgument}.hot.accept`,j.callee.range,E);ee.loc=j.loc;q.addPresentationalDependency(ee);q.buildInfo.moduleConcatenationBailout="Hot Module Replacement";if(j.arguments.length>=1){const E=S.evaluateExpression(j.arguments[0]);let ee=[];let te=[];if(E.isString()){ee=[E]}else if(E.isArray()){ee=E.items.filter((S=>S.isString()))}if(ee.length>0){ee.forEach(((S,E)=>{const w=S.string;const N=new k(w,S.range);N.optional=true;N.loc=Object.create(j.loc);N.loc.index=E;q.addDependency(N);te.push(w)}));if(j.arguments.length>1){w.call(j.arguments[1],te);for(let E=1;Ew=>{const N=S.state.module;const j=new _e(`${N.moduleArgument}.hot.decline`,w.callee.range,E);j.loc=w.loc;N.addPresentationalDependency(j);N.buildInfo.moduleConcatenationBailout="Hot Module Replacement";if(w.arguments.length===1){const E=S.evaluateExpression(w.arguments[0]);let j=[];if(E.isString()){j=[E]}else if(E.isArray()){j=E.items.filter((S=>S.isString()))}j.forEach(((S,E)=>{const j=new k(S.string,S.range);j.optional=true;j.loc=Object.create(w.loc);j.loc.index=E;N.addDependency(j)}))}return true};const createHMRExpressionHandler=S=>k=>{const w=S.state.module;const N=new _e(`${w.moduleArgument}.hot`,k.range,E);N.loc=k.loc;w.addPresentationalDependency(N);w.buildInfo.moduleConcatenationBailout="Hot Module Replacement";return true};const applyModuleHot=S=>{S.hooks.evaluateIdentifier.for("module.hot").tap({name:"HotModuleReplacementPlugin",before:"NodeStuffPlugin"},(S=>Ie("module.hot","module",(()=>["hot"]),true)(S)));S.hooks.call.for("module.hot.accept").tap("HotModuleReplacementPlugin",createAcceptHandler(S,Te));S.hooks.call.for("module.hot.decline").tap("HotModuleReplacementPlugin",createDeclineHandler(S,Ce));S.hooks.expression.for("module.hot").tap("HotModuleReplacementPlugin",createHMRExpressionHandler(S))};const applyImportMetaHot=S=>{S.hooks.evaluateIdentifier.for("import.meta.webpackHot").tap("HotModuleReplacementPlugin",(S=>Ie("import.meta.webpackHot","import.meta",(()=>["webpackHot"]),true)(S)));S.hooks.call.for("import.meta.webpackHot.accept").tap("HotModuleReplacementPlugin",createAcceptHandler(S,ve));S.hooks.call.for("import.meta.webpackHot.decline").tap("HotModuleReplacementPlugin",createDeclineHandler(S,Ee));S.hooks.expression.for("import.meta.webpackHot").tap("HotModuleReplacementPlugin",createHMRExpressionHandler(S))};S.hooks.compilation.tap("HotModuleReplacementPlugin",((E,{normalModuleFactory:k})=>{if(E.compiler!==S)return;E.dependencyFactories.set(Te,k);E.dependencyTemplates.set(Te,new Te.Template);E.dependencyFactories.set(Ce,k);E.dependencyTemplates.set(Ce,new Ce.Template);E.dependencyFactories.set(ve,k);E.dependencyTemplates.set(ve,new ve.Template);E.dependencyFactories.set(Ee,k);E.dependencyTemplates.set(Ee,new Ee.Template);let w=0;const _e={};const Ne={};E.hooks.record.tap("HotModuleReplacementPlugin",((S,E)=>{if(E.hash===S.hash)return;const k=S.chunkGraph;E.hash=S.hash;E.hotIndex=w;E.fullHashChunkModuleHashes=_e;E.chunkModuleHashes=Ne;E.chunkHashs={};E.chunkRuntime={};for(const k of S.chunks){E.chunkHashs[k.id]=k.hash;E.chunkRuntime[k.id]=Le(k.runtime)}E.chunkModuleIds={};for(const w of S.chunks){E.chunkModuleIds[w.id]=Array.from(k.getOrderedChunkModulesIterable(w,Re(k)),(S=>k.getModuleId(S)))}}));const Ie=new Me;const $e=new Me;const qe=new Me;E.hooks.fullHash.tap("HotModuleReplacementPlugin",(S=>{const k=E.chunkGraph;const N=E.records;for(const S of E.chunks){const getModuleHash=w=>{if(E.codeGenerationResults.has(w,S.runtime)){return E.codeGenerationResults.getHash(w,S.runtime)}else{qe.add(w,S.runtime);return k.getModuleHash(w,S.runtime)}};const w=k.getChunkFullHashModulesSet(S);if(w!==undefined){for(const E of w){$e.add(E,S)}}const j=k.getChunkModulesIterable(S);if(j!==undefined){if(N.chunkModuleHashes){if(w!==undefined){for(const E of j){const k=`${S.id}|${E.identifier()}`;const j=getModuleHash(E);if(w.has(E)){if(N.fullHashChunkModuleHashes[k]!==j){Ie.add(E,S)}_e[k]=j}else{if(N.chunkModuleHashes[k]!==j){Ie.add(E,S)}Ne[k]=j}}}else{for(const E of j){const k=`${S.id}|${E.identifier()}`;const w=getModuleHash(E);if(N.chunkModuleHashes[k]!==w){Ie.add(E,S)}Ne[k]=w}}}else{if(w!==undefined){for(const E of j){const k=`${S.id}|${E.identifier()}`;const N=getModuleHash(E);if(w.has(E)){_e[k]=N}else{Ne[k]=N}}}else{for(const E of j){const k=`${S.id}|${E.identifier()}`;const w=getModuleHash(E);Ne[k]=w}}}}}w=N.hotIndex||0;if(Ie.size>0)w++;S.update(`${w}`)}));E.hooks.processAssets.tap({name:"HotModuleReplacementPlugin",stage:q.PROCESS_ASSETS_STAGE_ADDITIONAL},(()=>{const S=E.chunkGraph;const k=E.records;if(k.hash===E.hash)return;if(!k.chunkModuleHashes||!k.chunkHashs||!k.chunkModuleIds){return}for(const[w,N]of $e){const j=`${N.id}|${w.identifier()}`;const q=qe.has(w,N.runtime)?S.getModuleHash(w,N.runtime):E.codeGenerationResults.getHash(w,N.runtime);if(k.chunkModuleHashes[j]!==q){Ie.add(w,N)}Ne[j]=q}const w=new Map;let q;for(const S of Object.keys(k.chunkRuntime)){const E=Be(k.chunkRuntime[S]);q=ze(q,E)}je(q,(S=>{const{path:N,info:j}=E.getPathWithInfo(E.outputOptions.hotUpdateMainFilename,{hash:k.hash,runtime:S});w.set(S,{updatedChunkIds:new Set,removedChunkIds:new Set,removedModules:new Set,filename:N,assetInfo:j})}));if(w.size===0)return;const te=new Map;for(const k of E.modules){const E=S.getModuleId(k);te.set(E,k)}const ne=new Set;for(const N of Object.keys(k.chunkHashs)){const ae=Be(k.chunkRuntime[N]);const _e=[];for(const S of k.chunkModuleIds[N]){const E=te.get(S);if(E===undefined){ne.add(S)}else{_e.push(E)}}let ve;let Ee;let Te;let Ce;let we;let Ne;const Oe=Fe(E.chunks,(S=>`${S.id}`===N));if(Oe){ve=Oe.id;we=We(Oe.runtime,q);if(we===undefined)continue;Ee=S.getChunkModules(Oe).filter((S=>Ie.has(S,Oe)));Te=Array.from(S.getChunkRuntimeModulesIterable(Oe)).filter((S=>Ie.has(S,Oe)));const E=S.getChunkFullHashModulesIterable(Oe);Ce=E&&Array.from(E).filter((S=>Ie.has(S,Oe)));Ne=Ue(ae,we)}else{ve=`${+N}`===N?+N:N;Ne=ae;we=ae}if(Ne){je(Ne,(S=>{w.get(S).removedChunkIds.add(ve)}));for(const j of _e){const q=`${N}|${j.identifier()}`;const ee=k.chunkModuleHashes[q];const te=S.getModuleRuntimes(j);if(ae===we&&te.has(we)){const k=qe.has(j,we)?S.getModuleHash(j,we):E.codeGenerationResults.getHash(j,we);if(k!==ee){if(j.type==="runtime"){Te=Te||[];Te.push(j)}else{Ee=Ee||[];Ee.push(j)}}}else{je(Ne,(S=>{for(const E of te){if(typeof E==="string"){if(E===S)return}else if(E!==undefined){if(E.has(S))return}}w.get(S).removedModules.add(j)}))}}}if(Ee&&Ee.length>0||Te&&Te.length>0){const N=new ee;j.setChunkGraphForChunk(N,S);N.id=ve;N.runtime=we;if(Oe){for(const S of Oe.groupsIterable)N.addGroup(S)}S.attachModules(N,Ee||[]);S.attachRuntimeModules(N,Te||[]);if(Ce){S.attachFullHashModules(N,Ce)}const q=E.getRenderManifest({chunk:N,hash:k.hash,fullHash:k.hash,outputOptions:E.outputOptions,moduleTemplates:E.moduleTemplates,dependencyTemplates:E.dependencyTemplates,codeGenerationResults:E.codeGenerationResults,runtimeTemplate:E.runtimeTemplate,moduleGraph:E.moduleGraph,chunkGraph:S});for(const S of q){let k;let w;if("filename"in S){k=S.filename;w=S.info}else{({path:k,info:w}=E.getPathWithInfo(S.filenameTemplate,S.pathOptions))}const N=S.render();E.additionalChunkAssets.push(k);E.emitAsset(k,N,{hotModuleReplacement:true,...w});if(Oe){Oe.files.add(k);E.hooks.chunkAsset.call(Oe,k)}}je(we,(S=>{w.get(S).updatedChunkIds.add(ve)}))}}const _e=Array.from(ne);const ve=new Map;for(const{removedChunkIds:S,removedModules:k,updatedChunkIds:N,filename:j,assetInfo:q}of w.values()){const w=ve.get(j);if(w&&(!Oe(w.removedChunkIds,S)||!Oe(w.removedModules,k)||!Oe(w.updatedChunkIds,N))){E.warnings.push(new ae(`HotModuleReplacementPlugin\nThe configured output.hotUpdateMainFilename doesn't lead to unique filenames per runtime and HMR update differs between runtimes.\nThis might lead to incorrect runtime behavior of the applied update.\nTo fix this, make sure to include [runtime] in the output.hotUpdateMainFilename option, or use the default config.`));for(const E of S)w.removedChunkIds.add(E);for(const S of k)w.removedModules.add(S);for(const S of N)w.updatedChunkIds.add(S);continue}ve.set(j,{removedChunkIds:S,removedModules:k,updatedChunkIds:N,assetInfo:q})}for(const[k,{removedChunkIds:w,removedModules:j,updatedChunkIds:q,assetInfo:ee}]of ve){const te={c:Array.from(q),r:Array.from(w),m:j.size===0?_e:_e.concat(Array.from(j,(E=>S.getModuleId(E))))};const ne=new N(JSON.stringify(te));E.emitAsset(k,ne,{hotModuleReplacement:true,...ee})}}));E.hooks.additionalTreeRuntimeRequirements.tap("HotModuleReplacementPlugin",((S,k)=>{k.add(ne.hmrDownloadManifest);k.add(ne.hmrDownloadUpdateHandlers);k.add(ne.interceptModuleExecution);k.add(ne.moduleCache);E.addRuntimeModule(S,new we)}));k.hooks.parser.for("javascript/auto").tap("HotModuleReplacementPlugin",(S=>{applyModuleHot(S);applyImportMetaHot(S)}));k.hooks.parser.for("javascript/dynamic").tap("HotModuleReplacementPlugin",(S=>{applyModuleHot(S)}));k.hooks.parser.for("javascript/esm").tap("HotModuleReplacementPlugin",(S=>{applyImportMetaHot(S)}));te.getCompilationHooks(E).loader.tap("HotModuleReplacementPlugin",(S=>{S.hot=true}))}))}}S.exports=HotModuleReplacementPlugin},22352:(S,E,k)=>{"use strict";const w=k(62433);class HotUpdateChunk extends w{constructor(){super()}}S.exports=HotUpdateChunk},16761:(S,E,k)=>{"use strict";const w=k(40674);class IgnoreErrorModuleFactory extends w{constructor(S){super();this.normalModuleFactory=S}create(S,E){this.normalModuleFactory.create(S,((S,k)=>E(null,k)))}}S.exports=IgnoreErrorModuleFactory},69276:(S,E,k)=>{"use strict";const w=k(35817);const N=w(k(44194),(()=>k(24019)),{name:"Ignore Plugin",baseDataPath:"options"});class IgnorePlugin{constructor(S){N(S);this.options=S;this.checkIgnore=this.checkIgnore.bind(this)}checkIgnore(S){if("checkResource"in this.options&&this.options.checkResource&&this.options.checkResource(S.request,S.context)){return false}if("resourceRegExp"in this.options&&this.options.resourceRegExp&&this.options.resourceRegExp.test(S.request)){if("contextRegExp"in this.options&&this.options.contextRegExp){if(this.options.contextRegExp.test(S.context)){return false}}else{return false}}}apply(S){S.hooks.normalModuleFactory.tap("IgnorePlugin",(S=>{S.hooks.beforeResolve.tap("IgnorePlugin",this.checkIgnore)}));S.hooks.contextModuleFactory.tap("IgnorePlugin",(S=>{S.hooks.beforeResolve.tap("IgnorePlugin",this.checkIgnore)}))}}S.exports=IgnorePlugin},89056:S=>{"use strict";class IgnoreWarningsPlugin{constructor(S){this._ignoreWarnings=S}apply(S){S.hooks.compilation.tap("IgnoreWarningsPlugin",(S=>{S.hooks.processWarnings.tap("IgnoreWarningsPlugin",(E=>E.filter((E=>!this._ignoreWarnings.some((k=>k(E,S)))))))}))}}S.exports=IgnoreWarningsPlugin},63272:(S,E,k)=>{"use strict";const{ConcatSource:w}=k(48135);const extractFragmentIndex=(S,E)=>[S,E];const sortFragmentWithIndex=([S,E],[k,w])=>{const N=S.stage-k.stage;if(N!==0)return N;const j=S.position-k.position;if(j!==0)return j;return E-w};class InitFragment{constructor(S,E,k,w,N){this.content=S;this.stage=E;this.position=k;this.key=w;this.endContent=N}getContent(S){return this.content}getEndContent(S){return this.endContent}static addToSource(S,E,k){if(E.length>0){const N=E.map(extractFragmentIndex).sort(sortFragmentWithIndex);const j=new Map;for(const[S]of N){if(typeof S.mergeAll==="function"){if(!S.key){throw new Error(`InitFragment with mergeAll function must have a valid key: ${S.constructor.name}`)}const E=j.get(S.key);if(E===undefined){j.set(S.key,S)}else if(Array.isArray(E)){E.push(S)}else{j.set(S.key,[E,S])}continue}else if(typeof S.merge==="function"){const E=j.get(S.key);if(E!==undefined){j.set(S.key,S.merge(E));continue}}j.set(S.key||Symbol(),S)}const q=new w;const ee=[];for(let S of j.values()){if(Array.isArray(S)){S=S[0].mergeAll(S)}q.add(S.getContent(k));const E=S.getEndContent(k);if(E){ee.push(E)}}q.add(S);for(const S of ee.reverse()){q.add(S)}return q}else{return S}}}InitFragment.prototype.merge=undefined;InitFragment.STAGE_CONSTANTS=10;InitFragment.STAGE_ASYNC_BOUNDARY=20;InitFragment.STAGE_HARMONY_EXPORTS=30;InitFragment.STAGE_HARMONY_IMPORTS=40;InitFragment.STAGE_PROVIDES=50;InitFragment.STAGE_ASYNC_DEPENDENCIES=60;InitFragment.STAGE_ASYNC_HARMONY_IMPORTS=70;S.exports=InitFragment},49619:(S,E,k)=>{"use strict";const w=k(81627);const N=k(56202);class InvalidDependenciesModuleWarning extends w{constructor(S,E){const k=E?Array.from(E).sort():[];const w=k.map((S=>` * ${JSON.stringify(S)}`));super(`Invalid dependencies have been reported by plugins or loaders for this module. All reported dependencies need to be absolute paths.\nInvalid dependencies may lead to broken watching and caching.\nAs best effort we try to convert all invalid values to absolute paths and converting globs into context dependencies, but this is deprecated behavior.\nLoaders: Pass absolute paths to this.addDependency (existing files), this.addMissingDependency (not existing files), and this.addContextDependency (directories).\nPlugins: Pass absolute paths to fileDependencies (existing files), missingDependencies (not existing files), and contextDependencies (directories).\nGlobs: They are not supported. Pass absolute path to the directory as context dependencies.\nThe following invalid values have been reported:\n${w.slice(0,3).join("\n")}${w.length>3?"\n * and more ...":""}`);this.name="InvalidDependenciesModuleWarning";this.details=w.slice(3).join("\n");this.module=S}}N(InvalidDependenciesModuleWarning,"webpack/lib/InvalidDependenciesModuleWarning");S.exports=InvalidDependenciesModuleWarning},82527:(S,E,k)=>{"use strict";const w=k(58018);class JavascriptMetaInfoPlugin{apply(S){S.hooks.compilation.tap("JavascriptMetaInfoPlugin",((S,{normalModuleFactory:E})=>{const handler=S=>{S.hooks.call.for("eval").tap("JavascriptMetaInfoPlugin",(()=>{S.state.module.buildInfo.moduleConcatenationBailout="eval()";S.state.module.buildInfo.usingEval=true;w.bailout(S.state)}));S.hooks.finish.tap("JavascriptMetaInfoPlugin",(()=>{let E=S.state.module.buildInfo.topLevelDeclarations;if(E===undefined){E=S.state.module.buildInfo.topLevelDeclarations=new Set}for(const k of S.scope.definitions.asSet()){const w=S.getFreeInfoFromVariable(k);if(w===undefined){E.add(k)}}}))};E.hooks.parser.for("javascript/auto").tap("JavascriptMetaInfoPlugin",handler);E.hooks.parser.for("javascript/dynamic").tap("JavascriptMetaInfoPlugin",handler);E.hooks.parser.for("javascript/esm").tap("JavascriptMetaInfoPlugin",handler)}))}}S.exports=JavascriptMetaInfoPlugin},77750:(S,E,k)=>{"use strict";const w=k(62355);const N=k(66583);const{someInIterable:j}=k(11539);const{compareModulesById:q}=k(68673);const{dirname:ee,mkdirp:te}=k(95396);class LibManifestPlugin{constructor(S){this.options=S}apply(S){S.hooks.emit.tapAsync("LibManifestPlugin",((E,k)=>{const ne=E.moduleGraph;w.forEach(Array.from(E.chunks),((k,w)=>{if(!k.canBeInitial()){w();return}const ae=E.chunkGraph;const _e=E.getPath(this.options.path,{chunk:k});const ve=this.options.name&&E.getPath(this.options.name,{chunk:k});const Ee=Object.create(null);for(const E of ae.getOrderedChunkModulesIterable(k,q(ae))){if(this.options.entryOnly&&!j(ne.getIncomingConnections(E),(S=>S.dependency instanceof N))){continue}const k=E.libIdent({context:this.options.context||S.options.context,associatedObjectForCache:S.root});if(k){const S=ne.getExportsInfo(E);const w=S.getProvidedExports();const N={id:ae.getModuleId(E),buildMeta:E.buildMeta,exports:Array.isArray(w)?w:undefined};Ee[k]=N}}const Te={name:ve,type:this.options.type,content:Ee};const Ce=this.options.format?JSON.stringify(Te,null,2):JSON.stringify(Te);const we=Buffer.from(Ce,"utf8");te(S.intermediateFileSystem,ee(S.intermediateFileSystem,_e),(E=>{if(E)return w(E);S.intermediateFileSystem.writeFile(_e,we,w)}))}),k)}))}}S.exports=LibManifestPlugin},43351:(S,E,k)=>{"use strict";const w=k(13984);class LibraryTemplatePlugin{constructor(S,E,k,w,N){this.library={type:E||"var",name:S,umdNamedDefine:k,auxiliaryComment:w,export:N}}apply(S){const{output:E}=S.options;E.library=this.library;new w(this.library.type).apply(S)}}S.exports=LibraryTemplatePlugin},19674:(S,E,k)=>{"use strict";const w=k(70354);const N=k(53520);const j=k(35817);const q=j(k(80274),(()=>k(6087)),{name:"Loader Options Plugin",baseDataPath:"options"});class LoaderOptionsPlugin{constructor(S={}){q(S);if(typeof S!=="object")S={};if(!S.test){S.test={test:()=>true}}this.options=S}apply(S){const E=this.options;S.hooks.compilation.tap("LoaderOptionsPlugin",(S=>{N.getCompilationHooks(S).loader.tap("LoaderOptionsPlugin",((S,k)=>{const N=k.resource;if(!N)return;const j=N.indexOf("?");if(w.matchObject(E,j<0?N:N.substr(0,j))){for(const k of Object.keys(E)){if(k==="include"||k==="exclude"||k==="test"){continue}S[k]=E[k]}}}))}))}}S.exports=LoaderOptionsPlugin},97736:(S,E,k)=>{"use strict";const w=k(53520);class LoaderTargetPlugin{constructor(S){this.target=S}apply(S){S.hooks.compilation.tap("LoaderTargetPlugin",(S=>{w.getCompilationHooks(S).loader.tap("LoaderTargetPlugin",(S=>{S.target=this.target}))}))}}S.exports=LoaderTargetPlugin},73694:(S,E,k)=>{"use strict";const{SyncWaterfallHook:w}=k(92960);const N=k(31669);const j=k(76150);const q=k(91671);const ee=q((()=>k(18161)));const te=q((()=>k(58421)));const ne=q((()=>k(67104)));class MainTemplate{constructor(S,E){this._outputOptions=S||{};this.hooks=Object.freeze({renderManifest:{tap:N.deprecate(((S,k)=>{E.hooks.renderManifest.tap(S,((S,E)=>{if(!E.chunk.hasRuntime())return S;return k(S,E)}))}),"MainTemplate.hooks.renderManifest is deprecated (use Compilation.hooks.renderManifest instead)","DEP_WEBPACK_MAIN_TEMPLATE_RENDER_MANIFEST")},modules:{tap:()=>{throw new Error("MainTemplate.hooks.modules has been removed (there is no replacement, please create an issue to request that)")}},moduleObj:{tap:()=>{throw new Error("MainTemplate.hooks.moduleObj has been removed (there is no replacement, please create an issue to request that)")}},require:{tap:N.deprecate(((S,k)=>{ee().getCompilationHooks(E).renderRequire.tap(S,k)}),"MainTemplate.hooks.require is deprecated (use JavascriptModulesPlugin.getCompilationHooks().renderRequire instead)","DEP_WEBPACK_MAIN_TEMPLATE_REQUIRE")},beforeStartup:{tap:()=>{throw new Error("MainTemplate.hooks.beforeStartup has been removed (use RuntimeGlobals.startupOnlyBefore instead)")}},startup:{tap:()=>{throw new Error("MainTemplate.hooks.startup has been removed (use RuntimeGlobals.startup instead)")}},afterStartup:{tap:()=>{throw new Error("MainTemplate.hooks.afterStartup has been removed (use RuntimeGlobals.startupOnlyAfter instead)")}},render:{tap:N.deprecate(((S,k)=>{ee().getCompilationHooks(E).render.tap(S,((S,w)=>{if(w.chunkGraph.getNumberOfEntryModules(w.chunk)===0||!w.chunk.hasRuntime()){return S}return k(S,w.chunk,E.hash,E.moduleTemplates.javascript,E.dependencyTemplates)}))}),"MainTemplate.hooks.render is deprecated (use JavascriptModulesPlugin.getCompilationHooks().render instead)","DEP_WEBPACK_MAIN_TEMPLATE_RENDER")},renderWithEntry:{tap:N.deprecate(((S,k)=>{ee().getCompilationHooks(E).render.tap(S,((S,w)=>{if(w.chunkGraph.getNumberOfEntryModules(w.chunk)===0||!w.chunk.hasRuntime()){return S}return k(S,w.chunk,E.hash)}))}),"MainTemplate.hooks.renderWithEntry is deprecated (use JavascriptModulesPlugin.getCompilationHooks().render instead)","DEP_WEBPACK_MAIN_TEMPLATE_RENDER_WITH_ENTRY")},assetPath:{tap:N.deprecate(((S,k)=>{E.hooks.assetPath.tap(S,k)}),"MainTemplate.hooks.assetPath is deprecated (use Compilation.hooks.assetPath instead)","DEP_WEBPACK_MAIN_TEMPLATE_ASSET_PATH"),call:N.deprecate(((S,k)=>E.getAssetPath(S,k)),"MainTemplate.hooks.assetPath is deprecated (use Compilation.hooks.assetPath instead)","DEP_WEBPACK_MAIN_TEMPLATE_ASSET_PATH")},hash:{tap:N.deprecate(((S,k)=>{E.hooks.fullHash.tap(S,k)}),"MainTemplate.hooks.hash is deprecated (use Compilation.hooks.fullHash instead)","DEP_WEBPACK_MAIN_TEMPLATE_HASH")},hashForChunk:{tap:N.deprecate(((S,k)=>{ee().getCompilationHooks(E).chunkHash.tap(S,((S,E)=>{if(!S.hasRuntime())return;return k(E,S)}))}),"MainTemplate.hooks.hashForChunk is deprecated (use JavascriptModulesPlugin.getCompilationHooks().chunkHash instead)","DEP_WEBPACK_MAIN_TEMPLATE_HASH_FOR_CHUNK")},globalHashPaths:{tap:N.deprecate((()=>{}),"MainTemplate.hooks.globalHashPaths has been removed (it's no longer needed)","DEP_WEBPACK_MAIN_TEMPLATE_HASH_FOR_CHUNK")},globalHash:{tap:N.deprecate((()=>{}),"MainTemplate.hooks.globalHash has been removed (it's no longer needed)","DEP_WEBPACK_MAIN_TEMPLATE_HASH_FOR_CHUNK")},hotBootstrap:{tap:()=>{throw new Error("MainTemplate.hooks.hotBootstrap has been removed (use your own RuntimeModule instead)")}},bootstrap:new w(["source","chunk","hash","moduleTemplate","dependencyTemplates"]),localVars:new w(["source","chunk","hash"]),requireExtensions:new w(["source","chunk","hash"]),requireEnsure:new w(["source","chunk","hash","chunkIdExpression"]),get jsonpScript(){const S=ne().getCompilationHooks(E);return S.createScript},get linkPrefetch(){const S=te().getCompilationHooks(E);return S.linkPrefetch},get linkPreload(){const S=te().getCompilationHooks(E);return S.linkPreload}});this.renderCurrentHashCode=N.deprecate(((S,E)=>{if(E){return`${j.getFullHash} ? ${j.getFullHash}().slice(0, ${E}) : ${S.slice(0,E)}`}return`${j.getFullHash} ? ${j.getFullHash}() : ${S}`}),"MainTemplate.renderCurrentHashCode is deprecated (use RuntimeGlobals.getFullHash runtime function instead)","DEP_WEBPACK_MAIN_TEMPLATE_RENDER_CURRENT_HASH_CODE");this.getPublicPath=N.deprecate((S=>E.getAssetPath(E.outputOptions.publicPath,S)),"MainTemplate.getPublicPath is deprecated (use Compilation.getAssetPath(compilation.outputOptions.publicPath, options) instead)","DEP_WEBPACK_MAIN_TEMPLATE_GET_PUBLIC_PATH");this.getAssetPath=N.deprecate(((S,k)=>E.getAssetPath(S,k)),"MainTemplate.getAssetPath is deprecated (use Compilation.getAssetPath instead)","DEP_WEBPACK_MAIN_TEMPLATE_GET_ASSET_PATH");this.getAssetPathWithInfo=N.deprecate(((S,k)=>E.getAssetPathWithInfo(S,k)),"MainTemplate.getAssetPathWithInfo is deprecated (use Compilation.getAssetPath instead)","DEP_WEBPACK_MAIN_TEMPLATE_GET_ASSET_PATH_WITH_INFO")}}Object.defineProperty(MainTemplate.prototype,"requireFn",{get:N.deprecate((()=>"__webpack_require__"),'MainTemplate.requireFn is deprecated (use "__webpack_require__")',"DEP_WEBPACK_MAIN_TEMPLATE_REQUIRE_FN")});Object.defineProperty(MainTemplate.prototype,"outputOptions",{get:N.deprecate((function(){return this._outputOptions}),"MainTemplate.outputOptions is deprecated (use Compilation.outputOptions instead)","DEP_WEBPACK_MAIN_TEMPLATE_OUTPUT_OPTIONS")});S.exports=MainTemplate},53453:(S,E,k)=>{"use strict";const w=k(31669);const N=k(45137);const j=k(32448);const q=k(75412);const ee=k(76150);const{first:te}=k(26221);const{compareChunksById:ne}=k(68673);const ae=k(56202);const _e={};let ve=1e3;const Ee=new Set(["unknown"]);const Te=new Set(["javascript"]);const Ce=w.deprecate(((S,E)=>S.needRebuild(E.fileSystemInfo.getDeprecatedFileTimestamps(),E.fileSystemInfo.getDeprecatedContextTimestamps())),"Module.needRebuild is deprecated in favor of Module.needBuild","DEP_WEBPACK_MODULE_NEED_REBUILD");class Module extends j{constructor(S,E=null,k=null){super();this.type=S;this.context=E;this.layer=k;this.needId=true;this.debugId=ve++;this.resolveOptions=_e;this.factoryMeta=undefined;this.useSourceMap=false;this.useSimpleSourceMap=false;this._warnings=undefined;this._errors=undefined;this.buildMeta=undefined;this.buildInfo=undefined;this.presentationalDependencies=undefined}get id(){return N.getChunkGraphForModule(this,"Module.id","DEP_WEBPACK_MODULE_ID").getModuleId(this)}set id(S){if(S===""){this.needId=false;return}N.getChunkGraphForModule(this,"Module.id","DEP_WEBPACK_MODULE_ID").setModuleId(this,S)}get hash(){return N.getChunkGraphForModule(this,"Module.hash","DEP_WEBPACK_MODULE_HASH").getModuleHash(this,undefined)}get renderedHash(){return N.getChunkGraphForModule(this,"Module.renderedHash","DEP_WEBPACK_MODULE_RENDERED_HASH").getRenderedModuleHash(this,undefined)}get profile(){return q.getModuleGraphForModule(this,"Module.profile","DEP_WEBPACK_MODULE_PROFILE").getProfile(this)}set profile(S){q.getModuleGraphForModule(this,"Module.profile","DEP_WEBPACK_MODULE_PROFILE").setProfile(this,S)}get index(){return q.getModuleGraphForModule(this,"Module.index","DEP_WEBPACK_MODULE_INDEX").getPreOrderIndex(this)}set index(S){q.getModuleGraphForModule(this,"Module.index","DEP_WEBPACK_MODULE_INDEX").setPreOrderIndex(this,S)}get index2(){return q.getModuleGraphForModule(this,"Module.index2","DEP_WEBPACK_MODULE_INDEX2").getPostOrderIndex(this)}set index2(S){q.getModuleGraphForModule(this,"Module.index2","DEP_WEBPACK_MODULE_INDEX2").setPostOrderIndex(this,S)}get depth(){return q.getModuleGraphForModule(this,"Module.depth","DEP_WEBPACK_MODULE_DEPTH").getDepth(this)}set depth(S){q.getModuleGraphForModule(this,"Module.depth","DEP_WEBPACK_MODULE_DEPTH").setDepth(this,S)}get issuer(){return q.getModuleGraphForModule(this,"Module.issuer","DEP_WEBPACK_MODULE_ISSUER").getIssuer(this)}set issuer(S){q.getModuleGraphForModule(this,"Module.issuer","DEP_WEBPACK_MODULE_ISSUER").setIssuer(this,S)}get usedExports(){return q.getModuleGraphForModule(this,"Module.usedExports","DEP_WEBPACK_MODULE_USED_EXPORTS").getUsedExports(this,undefined)}get optimizationBailout(){return q.getModuleGraphForModule(this,"Module.optimizationBailout","DEP_WEBPACK_MODULE_OPTIMIZATION_BAILOUT").getOptimizationBailout(this)}get optional(){return this.isOptional(q.getModuleGraphForModule(this,"Module.optional","DEP_WEBPACK_MODULE_OPTIONAL"))}addChunk(S){const E=N.getChunkGraphForModule(this,"Module.addChunk","DEP_WEBPACK_MODULE_ADD_CHUNK");if(E.isModuleInChunk(this,S))return false;E.connectChunkAndModule(S,this);return true}removeChunk(S){return N.getChunkGraphForModule(this,"Module.removeChunk","DEP_WEBPACK_MODULE_REMOVE_CHUNK").disconnectChunkAndModule(S,this)}isInChunk(S){return N.getChunkGraphForModule(this,"Module.isInChunk","DEP_WEBPACK_MODULE_IS_IN_CHUNK").isModuleInChunk(this,S)}isEntryModule(){return N.getChunkGraphForModule(this,"Module.isEntryModule","DEP_WEBPACK_MODULE_IS_ENTRY_MODULE").isEntryModule(this)}getChunks(){return N.getChunkGraphForModule(this,"Module.getChunks","DEP_WEBPACK_MODULE_GET_CHUNKS").getModuleChunks(this)}getNumberOfChunks(){return N.getChunkGraphForModule(this,"Module.getNumberOfChunks","DEP_WEBPACK_MODULE_GET_NUMBER_OF_CHUNKS").getNumberOfModuleChunks(this)}get chunksIterable(){return N.getChunkGraphForModule(this,"Module.chunksIterable","DEP_WEBPACK_MODULE_CHUNKS_ITERABLE").getOrderedModuleChunksIterable(this,ne)}isProvided(S){return q.getModuleGraphForModule(this,"Module.usedExports","DEP_WEBPACK_MODULE_USED_EXPORTS").isExportProvided(this,S)}get exportsArgument(){return this.buildInfo&&this.buildInfo.exportsArgument||"exports"}get moduleArgument(){return this.buildInfo&&this.buildInfo.moduleArgument||"module"}getExportsType(S,E){switch(this.buildMeta&&this.buildMeta.exportsType){case"flagged":return E?"default-with-named":"namespace";case"namespace":return"namespace";case"default":switch(this.buildMeta.defaultObject){case"redirect":return"default-with-named";case"redirect-warn":return E?"default-only":"default-with-named";default:return"default-only"}case"dynamic":{if(E)return"default-with-named";const handleDefault=()=>{switch(this.buildMeta.defaultObject){case"redirect":case"redirect-warn":return"default-with-named";default:return"default-only"}};const k=S.getReadOnlyExportInfo(this,"__esModule");if(k.provided===false){return handleDefault()}const w=k.getTarget(S);if(!w||!w.export||w.export.length!==1||w.export[0]!=="__esModule"){return"dynamic"}switch(w.module.buildMeta&&w.module.buildMeta.exportsType){case"flagged":case"namespace":return"namespace";case"default":return handleDefault();default:return"dynamic"}}default:return E?"default-with-named":"dynamic"}}addPresentationalDependency(S){if(this.presentationalDependencies===undefined){this.presentationalDependencies=[]}this.presentationalDependencies.push(S)}clearDependenciesAndBlocks(){if(this.presentationalDependencies!==undefined){this.presentationalDependencies.length=0}super.clearDependenciesAndBlocks()}addWarning(S){if(this._warnings===undefined){this._warnings=[]}this._warnings.push(S)}getWarnings(){return this._warnings}getNumberOfWarnings(){return this._warnings!==undefined?this._warnings.length:0}addError(S){if(this._errors===undefined){this._errors=[]}this._errors.push(S)}getErrors(){return this._errors}getNumberOfErrors(){return this._errors!==undefined?this._errors.length:0}clearWarningsAndErrors(){if(this._warnings!==undefined){this._warnings.length=0}if(this._errors!==undefined){this._errors.length=0}}isOptional(S){let E=false;for(const k of S.getIncomingConnections(this)){if(!k.dependency||!k.dependency.optional||!k.isTargetActive(undefined)){return false}E=true}return E}isAccessibleInChunk(S,E,k){for(const k of E.groupsIterable){if(!this.isAccessibleInChunkGroup(S,k))return false}return true}isAccessibleInChunkGroup(S,E,k){const w=new Set([E]);e:for(const N of w){for(const E of N.chunks){if(E!==k&&S.isModuleInChunk(this,E))continue e}if(E.isInitial())return false;for(const S of E.parentsIterable)w.add(S)}return true}hasReasonForChunk(S,E,k){for(const[w,N]of E.getIncomingConnectionsByOriginModule(this)){if(!N.some((E=>E.isTargetActive(S.runtime))))continue;for(const E of k.getModuleChunksIterable(w)){if(!this.isAccessibleInChunk(k,E,S))return true}}return false}hasReasons(S,E){for(const k of S.getIncomingConnections(this)){if(k.isTargetActive(E))return true}return false}toString(){return`Module[${this.debugId}: ${this.identifier()}]`}needBuild(S,E){E(null,!this.buildMeta||this.needRebuild===Module.prototype.needRebuild||Ce(this,S))}needRebuild(S,E){return true}updateHash(S,E={chunkGraph:N.getChunkGraphForModule(this,"Module.updateHash","DEP_WEBPACK_MODULE_UPDATE_HASH"),runtime:undefined}){const{chunkGraph:k,runtime:w}=E;S.update(k.getModuleGraphHash(this,w));if(this.presentationalDependencies!==undefined){for(const k of this.presentationalDependencies){k.updateHash(S,E)}}super.updateHash(S,E)}invalidateBuild(){}identifier(){const S=k(75884);throw new S}readableIdentifier(S){const E=k(75884);throw new E}build(S,E,w,N,j){const q=k(75884);throw new q}getSourceTypes(){if(this.source===Module.prototype.source){return Ee}else{return Te}}source(S,E,w="javascript"){if(this.codeGeneration===Module.prototype.codeGeneration){const S=k(75884);throw new S}const j=N.getChunkGraphForModule(this,"Module.source() is deprecated. Use Compilation.codeGenerationResults.getSource(module, runtime, type) instead","DEP_WEBPACK_MODULE_SOURCE");const q={dependencyTemplates:S,runtimeTemplate:E,moduleGraph:j.moduleGraph,chunkGraph:j,runtime:undefined};const ee=this.codeGeneration(q).sources;return w?ee.get(w):ee.get(te(this.getSourceTypes()))}size(S){const E=k(75884);throw new E}libIdent(S){return null}nameForCondition(){return null}getConcatenationBailoutReason(S){return`Module Concatenation is not implemented for ${this.constructor.name}`}getSideEffectsConnectionState(S){return true}codeGeneration(S){const E=new Map;for(const k of this.getSourceTypes()){if(k!=="unknown"){E.set(k,this.source(S.dependencyTemplates,S.runtimeTemplate,k))}}return{sources:E,runtimeRequirements:new Set([ee.module,ee.exports,ee.require])}}chunkCondition(S,E){return true}updateCacheModule(S){this.type=S.type;this.layer=S.layer;this.context=S.context;this.factoryMeta=S.factoryMeta;this.resolveOptions=S.resolveOptions}getUnsafeCacheData(){return{factoryMeta:this.factoryMeta,resolveOptions:this.resolveOptions}}_restoreFromUnsafeCache(S,E){this.factoryMeta=S.factoryMeta;this.resolveOptions=S.resolveOptions}cleanupForCache(){this.factoryMeta=undefined;this.resolveOptions=undefined}originalSource(){return null}addCacheDependencies(S,E,k,w){}serialize(S){const{write:E}=S;E(this.type);E(this.layer);E(this.context);E(this.resolveOptions);E(this.factoryMeta);E(this.useSourceMap);E(this.useSimpleSourceMap);E(this._warnings!==undefined&&this._warnings.length===0?undefined:this._warnings);E(this._errors!==undefined&&this._errors.length===0?undefined:this._errors);E(this.buildMeta);E(this.buildInfo);E(this.presentationalDependencies);super.serialize(S)}deserialize(S){const{read:E}=S;this.type=E();this.layer=E();this.context=E();this.resolveOptions=E();this.factoryMeta=E();this.useSourceMap=E();this.useSimpleSourceMap=E();this._warnings=E();this._errors=E();this.buildMeta=E();this.buildInfo=E();this.presentationalDependencies=E();super.deserialize(S)}}ae(Module,"webpack/lib/Module");Object.defineProperty(Module.prototype,"hasEqualsChunks",{get(){throw new Error("Module.hasEqualsChunks was renamed (use hasEqualChunks instead)")}});Object.defineProperty(Module.prototype,"isUsed",{get(){throw new Error("Module.isUsed was renamed (use getUsedName, isExportUsed or isModuleUsed instead)")}});Object.defineProperty(Module.prototype,"errors",{get:w.deprecate((function(){if(this._errors===undefined){this._errors=[]}return this._errors}),"Module.errors was removed (use getErrors instead)","DEP_WEBPACK_MODULE_ERRORS")});Object.defineProperty(Module.prototype,"warnings",{get:w.deprecate((function(){if(this._warnings===undefined){this._warnings=[]}return this._warnings}),"Module.warnings was removed (use getWarnings instead)","DEP_WEBPACK_MODULE_WARNINGS")});Object.defineProperty(Module.prototype,"used",{get(){throw new Error("Module.used was refactored (use ModuleGraph.getUsedExports instead)")},set(S){throw new Error("Module.used was refactored (use ModuleGraph.setUsedExports instead)")}});S.exports=Module},26509:(S,E,k)=>{"use strict";const{cutOffLoaderExecution:w}=k(50717);const N=k(81627);const j=k(56202);class ModuleBuildError extends N{constructor(S,{from:E=null}={}){let k="Module build failed";let N=undefined;if(E){k+=` (from ${E}):\n`}else{k+=": "}if(S!==null&&typeof S==="object"){if(typeof S.stack==="string"&&S.stack){const E=w(S.stack);if(!S.hideStack){k+=E}else{N=E;if(typeof S.message==="string"&&S.message){k+=S.message}else{k+=S}}}else if(typeof S.message==="string"&&S.message){k+=S.message}else{k+=String(S)}}else{k+=String(S)}super(k);this.name="ModuleBuildError";this.details=N;this.error=S}serialize(S){const{write:E}=S;E(this.error);super.serialize(S)}deserialize(S){const{read:E}=S;this.error=E();super.deserialize(S)}}j(ModuleBuildError,"webpack/lib/ModuleBuildError");S.exports=ModuleBuildError},82811:(S,E,k)=>{"use strict";const w=k(81627);class ModuleDependencyError extends w{constructor(S,E,k){super(E.message);this.name="ModuleDependencyError";this.details=E&&!E.hideStack?E.stack.split("\n").slice(1).join("\n"):undefined;this.module=S;this.loc=k;this.error=E;if(E&&E.hideStack){this.stack=E.stack.split("\n").slice(1).join("\n")+"\n\n"+this.stack}}}S.exports=ModuleDependencyError},23280:(S,E,k)=>{"use strict";const w=k(81627);const N=k(56202);class ModuleDependencyWarning extends w{constructor(S,E,k){super(E?E.message:"");this.name="ModuleDependencyWarning";this.details=E&&!E.hideStack?E.stack.split("\n").slice(1).join("\n"):undefined;this.module=S;this.loc=k;this.error=E;if(E&&E.hideStack){this.stack=E.stack.split("\n").slice(1).join("\n")+"\n\n"+this.stack}}}N(ModuleDependencyWarning,"webpack/lib/ModuleDependencyWarning");S.exports=ModuleDependencyWarning},91613:(S,E,k)=>{"use strict";const{cleanUp:w}=k(50717);const N=k(81627);const j=k(56202);class ModuleError extends N{constructor(S,{from:E=null}={}){let k="Module Error";if(E){k+=` (from ${E}):\n`}else{k+=": "}if(S&&typeof S==="object"&&S.message){k+=S.message}else if(S){k+=S}super(k);this.name="ModuleError";this.error=S;this.details=S&&typeof S==="object"&&S.stack?w(S.stack,this.message):undefined}serialize(S){const{write:E}=S;E(this.error);super.serialize(S)}deserialize(S){const{read:E}=S;this.error=E();super.deserialize(S)}}j(ModuleError,"webpack/lib/ModuleError");S.exports=ModuleError},40674:(S,E,k)=>{"use strict";class ModuleFactory{create(S,E){const w=k(75884);throw new w}}S.exports=ModuleFactory},70354:(S,E,k)=>{"use strict";const w=k(35891);const N=k(91671);const j=E;j.ALL_LOADERS_RESOURCE="[all-loaders][resource]";j.REGEXP_ALL_LOADERS_RESOURCE=/\[all-?loaders\]\[resource\]/gi;j.LOADERS_RESOURCE="[loaders][resource]";j.REGEXP_LOADERS_RESOURCE=/\[loaders\]\[resource\]/gi;j.RESOURCE="[resource]";j.REGEXP_RESOURCE=/\[resource\]/gi;j.ABSOLUTE_RESOURCE_PATH="[absolute-resource-path]";j.REGEXP_ABSOLUTE_RESOURCE_PATH=/\[abs(olute)?-?resource-?path\]/gi;j.RESOURCE_PATH="[resource-path]";j.REGEXP_RESOURCE_PATH=/\[resource-?path\]/gi;j.ALL_LOADERS="[all-loaders]";j.REGEXP_ALL_LOADERS=/\[all-?loaders\]/gi;j.LOADERS="[loaders]";j.REGEXP_LOADERS=/\[loaders\]/gi;j.QUERY="[query]";j.REGEXP_QUERY=/\[query\]/gi;j.ID="[id]";j.REGEXP_ID=/\[id\]/gi;j.HASH="[hash]";j.REGEXP_HASH=/\[hash\]/gi;j.NAMESPACE="[namespace]";j.REGEXP_NAMESPACE=/\[namespace\]/gi;const getAfter=(S,E)=>()=>{const k=S();const w=k.indexOf(E);return w<0?"":k.substr(w)};const getBefore=(S,E)=>()=>{const k=S();const w=k.lastIndexOf(E);return w<0?"":k.substr(0,w)};const getHash=S=>()=>{const E=w("md4");E.update(S());const k=E.digest("hex");return k.substr(0,4)};const asRegExp=S=>{if(typeof S==="string"){S=new RegExp("^"+S.replace(/[-[\]{}()*+?.,\\^$|#\s]/g,"\\$&"))}return S};const lazyObject=S=>{const E={};for(const k of Object.keys(S)){const w=S[k];Object.defineProperty(E,k,{get:()=>w(),set:S=>{Object.defineProperty(E,k,{value:S,enumerable:true,writable:true})},enumerable:true,configurable:true})}return E};const q=/\[\\*([\w-]+)\\*\]/gi;j.createFilename=(S,E,{requestShortener:k,chunkGraph:w})=>{const ee={namespace:"",moduleFilenameTemplate:"",...typeof E==="object"?E:{moduleFilenameTemplate:E}};let te;let ne;let ae;let _e;let ve;if(S===undefined)S="";if(typeof S==="string"){ve=N((()=>k.shorten(S)));ae=ve;_e=()=>"";te=()=>S.split("!").pop();ne=getHash(ae)}else{ve=N((()=>S.readableIdentifier(k)));ae=N((()=>k.shorten(S.identifier())));_e=()=>w.getModuleId(S);te=()=>S.identifier().split("!").pop();ne=getHash(ae)}const Ee=N((()=>ve().split("!").pop()));const Te=getBefore(ve,"!");const Ce=getBefore(ae,"!");const we=getAfter(Ee,"?");const resourcePath=()=>{const S=we().length;return S===0?Ee():Ee().slice(0,-S)};if(typeof ee.moduleFilenameTemplate==="function"){return ee.moduleFilenameTemplate(lazyObject({identifier:ae,shortIdentifier:ve,resource:Ee,resourcePath:N(resourcePath),absoluteResourcePath:N(te),allLoaders:N(Ce),query:N(we),moduleId:N(_e),hash:N(ne),namespace:()=>ee.namespace}))}const Ne=new Map([["identifier",ae],["short-identifier",ve],["resource",Ee],["resource-path",resourcePath],["resourcepath",resourcePath],["absolute-resource-path",te],["abs-resource-path",te],["absoluteresource-path",te],["absresource-path",te],["absolute-resourcepath",te],["abs-resourcepath",te],["absoluteresourcepath",te],["absresourcepath",te],["all-loaders",Ce],["allloaders",Ce],["loaders",Te],["query",we],["id",_e],["hash",ne],["namespace",()=>ee.namespace]]);return ee.moduleFilenameTemplate.replace(j.REGEXP_ALL_LOADERS_RESOURCE,"[identifier]").replace(j.REGEXP_LOADERS_RESOURCE,"[short-identifier]").replace(q,((S,E)=>{if(E.length+2===S.length){const S=Ne.get(E.toLowerCase());if(S!==undefined){return S()}}else if(S.startsWith("[\\")&&S.endsWith("\\]")){return`[${S.slice(2,-2)}]`}return S}))};j.replaceDuplicates=(S,E,k)=>{const w=Object.create(null);const N=Object.create(null);S.forEach(((S,E)=>{w[S]=w[S]||[];w[S].push(E);N[S]=0}));if(k){Object.keys(w).forEach((S=>{w[S].sort(k)}))}return S.map(((S,j)=>{if(w[S].length>1){if(k&&w[S][0]===j)return S;return E(S,j,N[S]++)}else{return S}}))};j.matchPart=(S,E)=>{if(!E)return true;E=asRegExp(E);if(Array.isArray(E)){return E.map(asRegExp).some((E=>E.test(S)))}else{return E.test(S)}};j.matchObject=(S,E)=>{if(S.test){if(!j.matchPart(E,S.test)){return false}}if(S.include){if(!j.matchPart(E,S.include)){return false}}if(S.exclude){if(j.matchPart(E,S.exclude)){return false}}return true}},75412:(S,E,k)=>{"use strict";const w=k(31669);const N=k(76632);const j=k(79900);const q=k(16102);const ee=k(4396);const te=new Set;const getConnectionsByOriginModule=S=>{const E=new Map;let k=0;let w=undefined;for(const N of S){const{originModule:S}=N;if(k===S){w.push(N)}else{k=S;const j=E.get(S);if(j!==undefined){w=j;j.push(N)}else{const k=[N];w=k;E.set(S,k)}}}return E};class ModuleGraphModule{constructor(){this.incomingConnections=new q;this.outgoingConnections=undefined;this.issuer=undefined;this.optimizationBailout=[];this.exports=new N;this.preOrderIndex=null;this.postOrderIndex=null;this.depth=null;this.profile=undefined;this.async=false}}class ModuleGraph{constructor(){this._dependencyMap=new Map;this._moduleMap=new Map;this._originMap=new Map;this._metaMap=new Map;this._cacheModuleGraphModuleKey1=undefined;this._cacheModuleGraphModuleValue1=undefined;this._cacheModuleGraphModuleKey2=undefined;this._cacheModuleGraphModuleValue2=undefined;this._cacheModuleGraphDependencyKey=undefined;this._cacheModuleGraphDependencyValue=undefined;this._cache=undefined}_getModuleGraphModule(S){if(this._cacheModuleGraphModuleKey1===S)return this._cacheModuleGraphModuleValue1;if(this._cacheModuleGraphModuleKey2===S)return this._cacheModuleGraphModuleValue2;let E=this._moduleMap.get(S);if(E===undefined){E=new ModuleGraphModule;this._moduleMap.set(S,E)}this._cacheModuleGraphModuleKey2=this._cacheModuleGraphModuleKey1;this._cacheModuleGraphModuleValue2=this._cacheModuleGraphModuleValue1;this._cacheModuleGraphModuleKey1=S;this._cacheModuleGraphModuleValue1=E;return E}setParents(S,E,k){S._parentDependenciesBlock=E;S._parentModule=k}getParentModule(S){return S._parentModule}getParentBlock(S){return S._parentDependenciesBlock}setResolvedModule(S,E,k){const w=new j(S,E,k,undefined,E.weak,E.getCondition(this));this._dependencyMap.set(E,w);const N=this._getModuleGraphModule(k).incomingConnections;N.add(w);const q=this._getModuleGraphModule(S);if(q.outgoingConnections===undefined){q.outgoingConnections=new Set}q.outgoingConnections.add(w)}updateModule(S,E){const k=this._dependencyMap.get(S);if(k.module===E)return;const w=k.clone();w.module=E;this._dependencyMap.set(S,w);k.setActive(false);const N=this._getModuleGraphModule(k.originModule);N.outgoingConnections.add(w);const j=this._getModuleGraphModule(E);j.incomingConnections.add(w)}removeConnection(S){const E=this._dependencyMap.get(S);const k=this._getModuleGraphModule(E.module);k.incomingConnections.delete(E);const w=this._getModuleGraphModule(E.originModule);w.outgoingConnections.delete(E);this._dependencyMap.delete(S)}addExplanation(S,E){const k=this._dependencyMap.get(S);k.addExplanation(E)}cloneModuleAttributes(S,E){const k=this._getModuleGraphModule(S);const w=this._getModuleGraphModule(E);w.postOrderIndex=k.postOrderIndex;w.preOrderIndex=k.preOrderIndex;w.depth=k.depth;w.exports=k.exports;w.async=k.async}removeModuleAttributes(S){const E=this._getModuleGraphModule(S);E.postOrderIndex=null;E.preOrderIndex=null;E.depth=null;E.async=false}removeAllModuleAttributes(){for(const S of this._moduleMap.values()){S.postOrderIndex=null;S.preOrderIndex=null;S.depth=null;S.async=false}}moveModuleConnections(S,E,k){if(S===E)return;const w=this._getModuleGraphModule(S);const N=this._getModuleGraphModule(E);const j=w.outgoingConnections;if(j!==undefined){if(N.outgoingConnections===undefined){N.outgoingConnections=new Set}const S=N.outgoingConnections;for(const w of j){if(k(w)){w.originModule=E;S.add(w);j.delete(w)}}}const q=w.incomingConnections;const ee=N.incomingConnections;for(const S of q){if(k(S)){S.module=E;ee.add(S);q.delete(S)}}}copyOutgoingModuleConnections(S,E,k){if(S===E)return;const w=this._getModuleGraphModule(S);const N=this._getModuleGraphModule(E);const j=w.outgoingConnections;if(j!==undefined){if(N.outgoingConnections===undefined){N.outgoingConnections=new Set}const S=N.outgoingConnections;for(const w of j){if(k(w)){const k=w.clone();k.originModule=E;S.add(k);if(k.module!==undefined){const S=this._getModuleGraphModule(k.module);S.incomingConnections.add(k)}}}}}addExtraReason(S,E){const k=this._getModuleGraphModule(S).incomingConnections;k.add(new j(null,null,S,E))}getResolvedModule(S){const E=this._dependencyMap.get(S);return E!==undefined?E.resolvedModule:null}getConnection(S){const E=this._dependencyMap.get(S);return E}getModule(S){const E=this._dependencyMap.get(S);return E!==undefined?E.module:null}getOrigin(S){const E=this._dependencyMap.get(S);return E!==undefined?E.originModule:null}getResolvedOrigin(S){const E=this._dependencyMap.get(S);return E!==undefined?E.resolvedOriginModule:null}getIncomingConnections(S){const E=this._getModuleGraphModule(S).incomingConnections;return E}getOutgoingConnections(S){const E=this._getModuleGraphModule(S).outgoingConnections;return E===undefined?te:E}getIncomingConnectionsByOriginModule(S){const E=this._getModuleGraphModule(S).incomingConnections;return E.getFromUnorderedCache(getConnectionsByOriginModule)}getProfile(S){const E=this._getModuleGraphModule(S);return E.profile}setProfile(S,E){const k=this._getModuleGraphModule(S);k.profile=E}getIssuer(S){const E=this._getModuleGraphModule(S);return E.issuer}setIssuer(S,E){const k=this._getModuleGraphModule(S);k.issuer=E}setIssuerIfUnset(S,E){const k=this._getModuleGraphModule(S);if(k.issuer===undefined)k.issuer=E}getOptimizationBailout(S){const E=this._getModuleGraphModule(S);return E.optimizationBailout}getProvidedExports(S){const E=this._getModuleGraphModule(S);return E.exports.getProvidedExports()}isExportProvided(S,E){const k=this._getModuleGraphModule(S);const w=k.exports.isExportProvided(E);return w===undefined?null:w}getExportsInfo(S){const E=this._getModuleGraphModule(S);return E.exports}getExportInfo(S,E){const k=this._getModuleGraphModule(S);return k.exports.getExportInfo(E)}getReadOnlyExportInfo(S,E){const k=this._getModuleGraphModule(S);return k.exports.getReadOnlyExportInfo(E)}getUsedExports(S,E){const k=this._getModuleGraphModule(S);return k.exports.getUsedExports(E)}getPreOrderIndex(S){const E=this._getModuleGraphModule(S);return E.preOrderIndex}getPostOrderIndex(S){const E=this._getModuleGraphModule(S);return E.postOrderIndex}setPreOrderIndex(S,E){const k=this._getModuleGraphModule(S);k.preOrderIndex=E}setPreOrderIndexIfUnset(S,E){const k=this._getModuleGraphModule(S);if(k.preOrderIndex===null){k.preOrderIndex=E;return true}return false}setPostOrderIndex(S,E){const k=this._getModuleGraphModule(S);k.postOrderIndex=E}setPostOrderIndexIfUnset(S,E){const k=this._getModuleGraphModule(S);if(k.postOrderIndex===null){k.postOrderIndex=E;return true}return false}getDepth(S){const E=this._getModuleGraphModule(S);return E.depth}setDepth(S,E){const k=this._getModuleGraphModule(S);k.depth=E}setDepthIfLower(S,E){const k=this._getModuleGraphModule(S);if(k.depth===null||k.depth>E){k.depth=E;return true}return false}isAsync(S){const E=this._getModuleGraphModule(S);return E.async}setAsync(S){const E=this._getModuleGraphModule(S);E.async=true}getMeta(S){let E=this._metaMap.get(S);if(E===undefined){E=Object.create(null);this._metaMap.set(S,E)}return E}getMetaIfExisting(S){return this._metaMap.get(S)}freeze(){this._cache=new ee}unfreeze(){this._cache=undefined}cached(S,...E){if(this._cache===undefined)return S(this,...E);return this._cache.provide(S,...E,(()=>S(this,...E)))}static getModuleGraphForModule(S,E,k){const N=ae.get(E);if(N)return N(S);const j=w.deprecate((S=>{const k=ne.get(S);if(!k)throw new Error(E+"There was no ModuleGraph assigned to the Module for backward-compat (Use the new API)");return k}),E+": Use new ModuleGraph API",k);ae.set(E,j);return j(S)}static setModuleGraphForModule(S,E){ne.set(S,E)}static clearModuleGraphForModule(S){ne.delete(S)}}const ne=new WeakMap;const ae=new Map;S.exports=ModuleGraph;S.exports.ModuleGraphConnection=j},79900:S=>{"use strict";const E=Symbol("transitive only");const k=Symbol("circular connection");const addConnectionStates=(S,k)=>{if(S===true||k===true)return true;if(S===false)return k;if(k===false)return S;if(S===E)return k;if(k===E)return S;return S};const intersectConnectionStates=(S,E)=>{if(S===false||E===false)return false;if(S===true)return E;if(E===true)return S;if(S===k)return E;if(E===k)return S;return S};class ModuleGraphConnection{constructor(S,E,k,w,N=false,j=undefined){this.originModule=S;this.resolvedOriginModule=S;this.dependency=E;this.resolvedModule=k;this.module=k;this.weak=N;this.conditional=!!j;this._active=j!==false;this.condition=j||undefined;this.explanations=undefined;if(w){this.explanations=new Set;this.explanations.add(w)}}clone(){const S=new ModuleGraphConnection(this.resolvedOriginModule,this.dependency,this.resolvedModule,undefined,this.weak,this.condition);S.originModule=this.originModule;S.module=this.module;S.conditional=this.conditional;S._active=this._active;if(this.explanations)S.explanations=new Set(this.explanations);return S}addCondition(S){if(this.conditional){const E=this.condition;this.condition=(k,w)=>intersectConnectionStates(E(k,w),S(k,w))}else if(this._active){this.conditional=true;this.condition=S}}addExplanation(S){if(this.explanations===undefined){this.explanations=new Set}this.explanations.add(S)}get explanation(){if(this.explanations===undefined)return"";return Array.from(this.explanations).join(" ")}get active(){throw new Error("Use getActiveState instead")}isActive(S){if(!this.conditional)return this._active;return this.condition(this,S)!==false}isTargetActive(S){if(!this.conditional)return this._active;return this.condition(this,S)===true}getActiveState(S){if(!this.conditional)return this._active;return this.condition(this,S)}setActive(S){this.conditional=false;this._active=S}set active(S){throw new Error("Use setActive instead")}}S.exports=ModuleGraphConnection;S.exports.addConnectionStates=addConnectionStates;S.exports.TRANSITIVE_ONLY=E;S.exports.CIRCULAR_CONNECTION=k},21542:(S,E,k)=>{"use strict";const{ConcatSource:w,RawSource:N,CachedSource:j}=k(48135);const{UsageState:q}=k(76632);const ee=k(58159);const te=k(18161);const joinIterableWithComma=S=>{let E="";let k=true;for(const w of S){if(k){k=false}else{E+=", "}E+=w}return E};const printExportsInfoToSource=(S,E,k,w,N,j=new Set)=>{const te=k.otherExportsInfo;let ne=0;const ae=[];for(const S of k.orderedExports){if(!j.has(S)){j.add(S);ae.push(S)}else{ne++}}let _e=false;if(!j.has(te)){j.add(te);_e=true}else{ne++}for(const k of ae){const q=k.getTarget(w);S.add(ee.toComment(`${E}export ${JSON.stringify(k.name).slice(1,-1)} [${k.getProvidedInfo()}] [${k.getUsedInfo()}] [${k.getRenameInfo()}]${q?` -> ${q.module.readableIdentifier(N)}${q.export?` .${q.export.map((S=>JSON.stringify(S).slice(1,-1))).join(".")}`:""}`:""}`)+"\n");if(k.exportsInfo){printExportsInfoToSource(S,E+" ",k.exportsInfo,w,N,j)}}if(ne){S.add(ee.toComment(`${E}... (${ne} already listed exports)`)+"\n")}if(_e){const k=te.getTarget(w);if(k||te.provided!==false||te.getUsed(undefined)!==q.Unused){const w=ae.length>0||ne>0?"other exports":"exports";S.add(ee.toComment(`${E}${w} [${te.getProvidedInfo()}] [${te.getUsedInfo()}]${k?` -> ${k.module.readableIdentifier(N)}`:""}`)+"\n")}}};const ne=new WeakMap;class ModuleInfoHeaderPlugin{constructor(S=true){this._verbose=S}apply(S){const{_verbose:E}=this;S.hooks.compilation.tap("ModuleInfoHeaderPlugin",(S=>{const k=te.getCompilationHooks(S);k.renderModulePackage.tap("ModuleInfoHeaderPlugin",((S,k,{chunk:q,chunkGraph:te,moduleGraph:ae,runtimeTemplate:_e})=>{const{requestShortener:ve}=_e;let Ee;let Te=ne.get(ve);if(Te===undefined){ne.set(ve,Te=new WeakMap);Te.set(k,Ee={header:undefined,full:new WeakMap})}else{Ee=Te.get(k);if(Ee===undefined){Te.set(k,Ee={header:undefined,full:new WeakMap})}else if(!E){const E=Ee.full.get(S);if(E!==undefined)return E}}const Ce=new w;let we=Ee.header;if(we===undefined){const S=k.readableIdentifier(ve);const E=S.replace(/\*\//g,"*_/");const w="*".repeat(E.length);const j=`/*!****${w}****!*\\\n !*** ${E} ***!\n \\****${w}****/\n`;we=new N(j);Ee.header=we}Ce.add(we);if(E){const E=k.buildMeta.exportsType;Ce.add(ee.toComment(E?`${E} exports`:"unknown exports (runtime-defined)")+"\n");if(E){const S=ae.getExportsInfo(k);printExportsInfoToSource(Ce,"",S,ae,ve)}Ce.add(ee.toComment(`runtime requirements: ${joinIterableWithComma(te.getModuleRuntimeRequirements(k,q.runtime))}`)+"\n");const w=ae.getOptimizationBailout(k);if(w){for(const S of w){let E;if(typeof S==="function"){E=S(ve)}else{E=S}Ce.add(ee.toComment(`${E}`)+"\n")}}Ce.add(S);return Ce}else{Ce.add(S);const E=new j(Ce);Ee.full.set(S,E);return E}}));k.chunkHash.tap("ModuleInfoHeaderPlugin",((S,E)=>{E.update("ModuleInfoHeaderPlugin");E.update("1")}))}))}}S.exports=ModuleInfoHeaderPlugin},54032:(S,E,k)=>{"use strict";const w=k(81627);const N={assert:"assert/",buffer:"buffer/",console:"console-browserify",constants:"constants-browserify",crypto:"crypto-browserify",domain:"domain-browser",events:"events/",http:"stream-http",https:"https-browserify",os:"os-browserify/browser",path:"path-browserify",punycode:"punycode/",process:"process/browser",querystring:"querystring-es3",stream:"stream-browserify",_stream_duplex:"readable-stream/duplex",_stream_passthrough:"readable-stream/passthrough",_stream_readable:"readable-stream/readable",_stream_transform:"readable-stream/transform",_stream_writable:"readable-stream/writable",string_decoder:"string_decoder/",sys:"util/",timers:"timers-browserify",tty:"tty-browserify",url:"url/",util:"util/",vm:"vm-browserify",zlib:"browserify-zlib"};class ModuleNotFoundError extends w{constructor(S,E,k){let w=`Module not found: ${E.toString()}`;const j=E.message.match(/Can't resolve '([^']+)'/);if(j){const S=j[1];const E=N[S];if(E){const k=E.indexOf("/");const N=k>0?E.slice(0,k):E;w+="\n\n"+"BREAKING CHANGE: "+"webpack < 5 used to include polyfills for node.js core modules by default.\n"+"This is no longer the case. Verify if you need this module and configure a polyfill for it.\n\n";w+="If you want to include a polyfill, you need to:\n"+`\t- add a fallback 'resolve.fallback: { "${S}": require.resolve("${E}") }'\n`+`\t- install '${N}'\n`;w+="If you don't want to include a polyfill, you can use an empty module like this:\n"+`\tresolve.fallback: { "${S}": false }`}}super(w);this.name="ModuleNotFoundError";this.details=E.details;this.module=S;this.error=E;this.loc=k}}S.exports=ModuleNotFoundError},14489:(S,E,k)=>{"use strict";const w=k(81627);const N=k(56202);const j=Buffer.from([0,97,115,109]);class ModuleParseError extends w{constructor(S,E,k,w){let N="Module parse failed: "+(E&&E.message);let q=undefined;if((Buffer.isBuffer(S)&&S.slice(0,4).equals(j)||typeof S==="string"&&/^\0asm/.test(S))&&!w.startsWith("webassembly")){N+="\nThe module seem to be a WebAssembly module, but module is not flagged as WebAssembly module for webpack.";N+="\nBREAKING CHANGE: Since webpack 5 WebAssembly is not enabled by default and flagged as experimental feature.";N+="\nYou need to enable one of the WebAssembly experiments via 'experiments.asyncWebAssembly: true' (based on async modules) or 'experiments.syncWebAssembly: true' (like webpack 4, deprecated).";N+="\nFor files that transpile to WebAssembly, make sure to set the module type in the 'module.rules' section of the config (e. g. 'type: \"webassembly/async\"')."}else if(!k){N+="\nYou may need an appropriate loader to handle this file type."}else if(k.length>=1){N+=`\nFile was processed with these loaders:${k.map((S=>`\n * ${S}`)).join("")}`;N+="\nYou may need an additional loader to handle the result of these loaders."}else{N+="\nYou may need an appropriate loader to handle this file type, currently no loaders are configured to process this file. See https://webpack.js.org/concepts#loaders"}if(E&&E.loc&&typeof E.loc==="object"&&typeof E.loc.line==="number"){var ee=E.loc.line;if(Buffer.isBuffer(S)||/[\0\u0001\u0002\u0003\u0004\u0005\u0006\u0007]/.test(S)){N+="\n(Source code omitted for this binary file)"}else{const E=S.split(/\r?\n/);const k=Math.max(0,ee-3);const w=E.slice(k,ee-1);const j=E[ee-1];const q=E.slice(ee,ee+2);N+=w.map((S=>`\n| ${S}`)).join("")+`\n> ${j}`+q.map((S=>`\n| ${S}`)).join("")}q={start:E.loc}}else if(E&&E.stack){N+="\n"+E.stack}super(N);this.name="ModuleParseError";this.loc=q;this.error=E}serialize(S){const{write:E}=S;E(this.error);super.serialize(S)}deserialize(S){const{read:E}=S;this.error=E();super.deserialize(S)}}N(ModuleParseError,"webpack/lib/ModuleParseError");S.exports=ModuleParseError},99869:S=>{"use strict";class ModuleProfile{constructor(){this.startTime=Date.now();this.factoryStartTime=0;this.factoryEndTime=0;this.factory=0;this.factoryParallelismFactor=0;this.restoringStartTime=0;this.restoringEndTime=0;this.restoring=0;this.restoringParallelismFactor=0;this.integrationStartTime=0;this.integrationEndTime=0;this.integration=0;this.integrationParallelismFactor=0;this.buildingStartTime=0;this.buildingEndTime=0;this.building=0;this.buildingParallelismFactor=0;this.storingStartTime=0;this.storingEndTime=0;this.storing=0;this.storingParallelismFactor=0;this.additionalFactoryTimes=undefined;this.additionalFactories=0;this.additionalFactoriesParallelismFactor=0;this.additionalIntegration=0}markFactoryStart(){this.factoryStartTime=Date.now()}markFactoryEnd(){this.factoryEndTime=Date.now();this.factory=this.factoryEndTime-this.factoryStartTime}markRestoringStart(){this.restoringStartTime=Date.now()}markRestoringEnd(){this.restoringEndTime=Date.now();this.restoring=this.restoringEndTime-this.restoringStartTime}markIntegrationStart(){this.integrationStartTime=Date.now()}markIntegrationEnd(){this.integrationEndTime=Date.now();this.integration=this.integrationEndTime-this.integrationStartTime}markBuildingStart(){this.buildingStartTime=Date.now()}markBuildingEnd(){this.buildingEndTime=Date.now();this.building=this.buildingEndTime-this.buildingStartTime}markStoringStart(){this.storingStartTime=Date.now()}markStoringEnd(){this.storingEndTime=Date.now();this.storing=this.storingEndTime-this.storingStartTime}mergeInto(S){S.additionalFactories=this.factory;(S.additionalFactoryTimes=S.additionalFactoryTimes||[]).push({start:this.factoryStartTime,end:this.factoryEndTime})}}S.exports=ModuleProfile},2210:(S,E,k)=>{"use strict";const w=k(81627);class ModuleRestoreError extends w{constructor(S,E){let k="Module restore failed: ";let w=undefined;if(E!==null&&typeof E==="object"){if(typeof E.stack==="string"&&E.stack){const S=E.stack;k+=S}else if(typeof E.message==="string"&&E.message){k+=E.message}else{k+=E}}else{k+=String(E)}super(k);this.name="ModuleRestoreError";this.details=w;this.module=S;this.error=E}}S.exports=ModuleRestoreError},31467:(S,E,k)=>{"use strict";const w=k(81627);class ModuleStoreError extends w{constructor(S,E){let k="Module storing failed: ";let w=undefined;if(E!==null&&typeof E==="object"){if(typeof E.stack==="string"&&E.stack){const S=E.stack;k+=S}else if(typeof E.message==="string"&&E.message){k+=E.message}else{k+=E}}else{k+=String(E)}super(k);this.name="ModuleStoreError";this.details=w;this.module=S;this.error=E}}S.exports=ModuleStoreError},68661:(S,E,k)=>{"use strict";const w=k(31669);const N=k(91671);const j=N((()=>k(18161)));class ModuleTemplate{constructor(S,E){this._runtimeTemplate=S;this.type="javascript";this.hooks=Object.freeze({content:{tap:w.deprecate(((S,k)=>{j().getCompilationHooks(E).renderModuleContent.tap(S,((S,E,w)=>k(S,E,w,w.dependencyTemplates)))}),"ModuleTemplate.hooks.content is deprecated (use JavascriptModulesPlugin.getCompilationHooks().renderModuleContent instead)","DEP_MODULE_TEMPLATE_CONTENT")},module:{tap:w.deprecate(((S,k)=>{j().getCompilationHooks(E).renderModuleContent.tap(S,((S,E,w)=>k(S,E,w,w.dependencyTemplates)))}),"ModuleTemplate.hooks.module is deprecated (use JavascriptModulesPlugin.getCompilationHooks().renderModuleContent instead)","DEP_MODULE_TEMPLATE_MODULE")},render:{tap:w.deprecate(((S,k)=>{j().getCompilationHooks(E).renderModuleContainer.tap(S,((S,E,w)=>k(S,E,w,w.dependencyTemplates)))}),"ModuleTemplate.hooks.render is deprecated (use JavascriptModulesPlugin.getCompilationHooks().renderModuleContainer instead)","DEP_MODULE_TEMPLATE_RENDER")},package:{tap:w.deprecate(((S,k)=>{j().getCompilationHooks(E).renderModulePackage.tap(S,((S,E,w)=>k(S,E,w,w.dependencyTemplates)))}),"ModuleTemplate.hooks.package is deprecated (use JavascriptModulesPlugin.getCompilationHooks().renderModulePackage instead)","DEP_MODULE_TEMPLATE_PACKAGE")},hash:{tap:w.deprecate(((S,k)=>{E.hooks.fullHash.tap(S,k)}),"ModuleTemplate.hooks.hash is deprecated (use Compilation.hooks.fullHash instead)","DEP_MODULE_TEMPLATE_HASH")}})}}Object.defineProperty(ModuleTemplate.prototype,"runtimeTemplate",{get:w.deprecate((function(){return this._runtimeTemplate}),"ModuleTemplate.runtimeTemplate is deprecated (use Compilation.runtimeTemplate instead)","DEP_WEBPACK_CHUNK_TEMPLATE_OUTPUT_OPTIONS")});S.exports=ModuleTemplate},8893:(S,E,k)=>{"use strict";const{cleanUp:w}=k(50717);const N=k(81627);const j=k(56202);class ModuleWarning extends N{constructor(S,{from:E=null}={}){let k="Module Warning";if(E){k+=` (from ${E}):\n`}else{k+=": "}if(S&&typeof S==="object"&&S.message){k+=S.message}else if(S){k+=String(S)}super(k);this.name="ModuleWarning";this.warning=S;this.details=S&&typeof S==="object"&&S.stack?w(S.stack,this.message):undefined}serialize(S){const{write:E}=S;E(this.warning);super.serialize(S)}deserialize(S){const{read:E}=S;this.warning=E();super.deserialize(S)}}j(ModuleWarning,"webpack/lib/ModuleWarning");S.exports=ModuleWarning},63433:(S,E,k)=>{"use strict";const w=k(62355);const{SyncHook:N,MultiHook:j}=k(92960);const q=k(27310);const ee=k(34884);const te=k(10869);const ne=k(56561);S.exports=class MultiCompiler{constructor(S,E){if(!Array.isArray(S)){S=Object.keys(S).map((E=>{S[E].name=E;return S[E]}))}this.hooks=Object.freeze({done:new N(["stats"]),invalid:new j(S.map((S=>S.hooks.invalid))),run:new j(S.map((S=>S.hooks.run))),watchClose:new N([]),watchRun:new j(S.map((S=>S.hooks.watchRun))),infrastructureLog:new j(S.map((S=>S.hooks.infrastructureLog)))});this.compilers=S;this._options={parallelism:E.parallelism||Infinity};this.dependencies=new WeakMap;this.running=false;const k=this.compilers.map((()=>null));let w=0;for(let S=0;S{if(!j){j=true;w++}k[N]=S;if(w===this.compilers.length){this.hooks.done.call(new ee(k))}}));E.hooks.invalid.tap("MultiCompiler",(()=>{if(j){j=false;w--}}))}}get options(){return Object.assign(this.compilers.map((S=>S.options)),this._options)}get outputPath(){let S=this.compilers[0].outputPath;for(const E of this.compilers){while(E.outputPath.indexOf(S)!==0&&/[/\\]/.test(S)){S=S.replace(/[/\\][^/\\]*$/,"")}}if(!S&&this.compilers[0].outputPath[0]==="/")return"/";return S}get inputFileSystem(){throw new Error("Cannot read inputFileSystem of a MultiCompiler")}get outputFileSystem(){throw new Error("Cannot read outputFileSystem of a MultiCompiler")}get watchFileSystem(){throw new Error("Cannot read watchFileSystem of a MultiCompiler")}get intermediateFileSystem(){throw new Error("Cannot read outputFileSystem of a MultiCompiler")}set inputFileSystem(S){for(const E of this.compilers){E.inputFileSystem=S}}set outputFileSystem(S){for(const E of this.compilers){E.outputFileSystem=S}}set watchFileSystem(S){for(const E of this.compilers){E.watchFileSystem=S}}set intermediateFileSystem(S){for(const E of this.compilers){E.intermediateFileSystem=S}}getInfrastructureLogger(S){return this.compilers[0].getInfrastructureLogger(S)}setDependencies(S,E){this.dependencies.set(S,E)}validateDependencies(S){const E=new Set;const k=[];const targetFound=S=>{for(const k of E){if(k.target===S){return true}}return false};const sortEdges=(S,E)=>S.source.name.localeCompare(E.source.name)||S.target.name.localeCompare(E.target.name);for(const S of this.compilers){const w=this.dependencies.get(S);if(w){for(const N of w){const w=this.compilers.find((S=>S.name===N));if(!w){k.push(N)}else{E.add({source:S,target:w})}}}}const w=k.map((S=>`Compiler dependency \`${S}\` not found.`));const N=this.compilers.filter((S=>!targetFound(S)));while(N.length>0){const S=N.pop();for(const k of E){if(k.source===S){E.delete(k);const S=k.target;if(!targetFound(S)){N.push(S)}}}}if(E.size>0){const S=Array.from(E).sort(sortEdges).map((S=>`${S.source.name} -> ${S.target.name}`));S.unshift("Circular dependency found in compiler dependencies.");w.unshift(S.join("\n"))}if(w.length>0){const E=w.join("\n");S(new Error(E));return false}return true}runWithDependencies(S,E,k){const N=new Set;let j=S;const isDependencyFulfilled=S=>N.has(S);const getReadyCompilers=()=>{let S=[];let E=j;j=[];for(const k of E){const E=this.dependencies.get(k);const w=!E||E.every(isDependencyFulfilled);if(w){S.push(k)}else{j.push(k)}}return S};const runCompilers=S=>{if(j.length===0)return S();w.map(getReadyCompilers(),((S,k)=>{E(S,(E=>{if(E)return k(E);N.add(S.name);runCompilers(k)}))}),S)};runCompilers(k)}_runGraph(S,E,k){const N=this.compilers.map((S=>({compiler:S,result:undefined,state:"blocked",children:[],parents:[]})));const j=new Map;for(const S of N)j.set(S.compiler.name,S);for(const S of N){const E=this.dependencies.get(S.compiler);if(!E)continue;for(const k of E){const E=j.get(k);S.parents.push(E);E.children.push(S)}}const q=new ne;for(const S of N){if(S.parents.length===0){S.state="queued";q.enqueue(S)}}let te=false;let ae=0;const _e=this._options.parallelism;const nodeDone=(S,E,j)=>{if(te)return;if(E){te=true;return w.each(N,((S,E)=>{if(S.compiler.watching){S.compiler.watching.close(E)}else{E()}}),(()=>k(E)))}S.result=j;ae--;if(S.state==="running"){S.state="done";for(const E of S.children){if(E.state==="blocked")q.enqueue(E)}}else if(S.state==="running-outdated"){S.state="blocked";q.enqueue(S)}processQueue()};const nodeInvalidFromParent=S=>{if(S.state==="done"){S.state="blocked"}else if(S.state==="running"){S.state="running-outdated"}for(const E of S.children){nodeInvalidFromParent(E)}};const nodeInvalid=S=>{if(S.state==="done"){S.state="pending"}else if(S.state==="running"){S.state="running-outdated"}for(const E of S.children){nodeInvalidFromParent(E)}};const nodeChange=S=>{nodeInvalid(S);if(S.state==="pending"){S.state="blocked"}if(S.state==="blocked"){q.enqueue(S);processQueue()}};const ve=[];N.forEach(((E,k)=>{ve.push(S(E.compiler,k,nodeDone.bind(null,E),(()=>E.state!=="starting"&&E.state!=="running"),(()=>nodeChange(E)),(()=>nodeInvalid(E))))}));let Ee=true;const processQueue=()=>{if(Ee)return;Ee=true;process.nextTick(processQueueWorker)};const processQueueWorker=()=>{while(ae<_e&&q.length>0&&!te){const S=q.dequeue();if(S.state==="queued"||S.state==="blocked"&&S.parents.every((S=>S.state==="done"))){ae++;S.state="starting";E(S.compiler,nodeDone.bind(null,S));S.state="running"}}Ee=false;if(!te&&ae===0&&N.every((S=>S.state==="done"))){const S=[];for(const E of N){const k=E.result;if(k){E.result=undefined;S.push(k)}}if(S.length>0){k(null,new ee(S))}}};processQueueWorker();return ve}watch(S,E){if(this.running){return E(new q)}this.running=true;if(this.validateDependencies(E)){const k=this._runGraph(((E,k,w,N,j,q)=>{const ee=E.watch(Array.isArray(S)?S[k]:S,w);if(ee){ee._onInvalid=q;ee._onChange=j;ee._isBlocked=N}return ee}),((S,E,k)=>{if(!S.watching.running)S.watching.invalidate()}),E);return new te(k,this)}return new te([],this)}run(S){if(this.running){return S(new q)}this.running=true;if(this.validateDependencies(S)){this._runGraph((()=>{}),((S,E)=>S.run(E)),((E,k)=>{this.running=false;if(S!==undefined){return S(E,k)}}))}}purgeInputFileSystem(){for(const S of this.compilers){if(S.inputFileSystem&&S.inputFileSystem.purge){S.inputFileSystem.purge()}}}close(S){w.each(this.compilers,((S,E)=>{S.close(E)}),S)}}},34884:(S,E,k)=>{"use strict";const w=k(49197);const indent=(S,E)=>{const k=S.replace(/\n([^\n])/g,"\n"+E+"$1");return E+k};class MultiStats{constructor(S){this.stats=S}get hash(){return this.stats.map((S=>S.hash)).join("")}hasErrors(){return this.stats.some((S=>S.hasErrors()))}hasWarnings(){return this.stats.some((S=>S.hasWarnings()))}_createChildOptions(S,E){if(!S){S={}}const{children:k=undefined,...w}=typeof S==="string"?{preset:S}:S;const N=this.stats.map(((S,N)=>{const j=Array.isArray(k)?k[N]:k;return S.compilation.createStatsOptions({...w,...typeof j==="string"?{preset:j}:j&&typeof j==="object"?j:undefined},E)}));return{version:N.every((S=>S.version)),hash:N.every((S=>S.hash)),errorsCount:N.every((S=>S.errorsCount)),warningsCount:N.every((S=>S.warningsCount)),errors:N.every((S=>S.errors)),warnings:N.every((S=>S.warnings)),children:N}}toJson(S){S=this._createChildOptions(S,{forToString:false});const E={};E.children=this.stats.map(((E,k)=>{const N=E.toJson(S.children[k]);const j=E.compilation.name;const q=j&&w.makePathsRelative(S.context,j,E.compilation.compiler.root);N.name=q;return N}));if(S.version){E.version=E.children[0].version}if(S.hash){E.hash=E.children.map((S=>S.hash)).join("")}const mapError=(S,E)=>({...E,compilerPath:E.compilerPath?`${S.name}.${E.compilerPath}`:S.name});if(S.errors){E.errors=[];for(const S of E.children){for(const k of S.errors){E.errors.push(mapError(S,k))}}}if(S.warnings){E.warnings=[];for(const S of E.children){for(const k of S.warnings){E.warnings.push(mapError(S,k))}}}if(S.errorsCount){E.errorsCount=0;for(const S of E.children){E.errorsCount+=S.errorsCount}}if(S.warningsCount){E.warningsCount=0;for(const S of E.children){E.warningsCount+=S.warningsCount}}return E}toString(S){S=this._createChildOptions(S,{forToString:true});const E=this.stats.map(((E,k)=>{const N=E.toString(S.children[k]);const j=E.compilation.name;const q=j&&w.makePathsRelative(S.context,j,E.compilation.compiler.root).replace(/\|/g," ");if(!N)return N;return q?`${q}:\n${indent(N," ")}`:N}));return E.filter(Boolean).join("\n\n")}}S.exports=MultiStats},10869:(S,E,k)=>{"use strict";const w=k(62355);class MultiWatching{constructor(S,E){this.watchings=S;this.compiler=E}invalidate(S){if(S){w.each(this.watchings,((S,E)=>S.invalidate(E)),S)}else{for(const S of this.watchings){S.invalidate()}}}suspend(){for(const S of this.watchings){S.suspend()}}resume(){for(const S of this.watchings){S.resume()}}close(S){w.forEach(this.watchings,((S,E)=>{S.close(E)}),(E=>{this.compiler.hooks.watchClose.call();if(typeof S==="function"){this.compiler.running=false;S(E)}}))}}S.exports=MultiWatching},66962:S=>{"use strict";class NoEmitOnErrorsPlugin{apply(S){S.hooks.shouldEmit.tap("NoEmitOnErrorsPlugin",(S=>{if(S.getStats().hasErrors())return false}));S.hooks.compilation.tap("NoEmitOnErrorsPlugin",(S=>{S.hooks.shouldRecord.tap("NoEmitOnErrorsPlugin",(()=>{if(S.getStats().hasErrors())return false}))}))}}S.exports=NoEmitOnErrorsPlugin},24500:(S,E,k)=>{"use strict";const w=k(81627);S.exports=class NoModeWarning extends w{constructor(){super();this.name="NoModeWarning";this.message="configuration\n"+"The 'mode' option has not been set, webpack will fallback to 'production' for this value.\n"+"Set 'mode' option to 'development' or 'production' to enable defaults for each environment.\n"+"You can also set it to 'none' to disable any default behavior. "+"Learn more: https://webpack.js.org/configuration/mode/"}}},32125:(S,E,k)=>{"use strict";const w=k(76150);const N=k(59455);const j=k(66298);const{evaluateToString:q,expressionIsUnsupported:ee}=k(48472);const{relative:te}=k(95396);const{parseResource:ne}=k(49197);class NodeStuffPlugin{constructor(S){this.options=S}apply(S){const E=this.options;S.hooks.compilation.tap("NodeStuffPlugin",((k,{normalModuleFactory:ae})=>{const handler=(k,ae)=>{if(ae.node===false)return;let _e=E;if(ae.node){_e={..._e,...ae.node}}if(_e.global){k.hooks.expression.for("global").tap("NodeStuffPlugin",(S=>{const E=new j(w.global,S.range,[w.global]);E.loc=S.loc;k.state.module.addPresentationalDependency(E)}))}const setModuleConstant=(S,E)=>{k.hooks.expression.for(S).tap("NodeStuffPlugin",(w=>{const j=new N(JSON.stringify(E(k.state.module)),w.range,S);j.loc=w.loc;k.state.module.addPresentationalDependency(j);return true}))};const setConstant=(S,E)=>setModuleConstant(S,(()=>E));const ve=S.context;if(_e.__filename){if(_e.__filename==="mock"){setConstant("__filename","/index.js")}else if(_e.__filename===true){setModuleConstant("__filename",(E=>te(S.inputFileSystem,ve,E.resource)))}k.hooks.evaluateIdentifier.for("__filename").tap("NodeStuffPlugin",(S=>{if(!k.state.module)return;const E=ne(k.state.module.resource);return q(E.path)(S)}))}if(_e.__dirname){if(_e.__dirname==="mock"){setConstant("__dirname","/")}else if(_e.__dirname===true){setModuleConstant("__dirname",(E=>te(S.inputFileSystem,ve,E.context)))}k.hooks.evaluateIdentifier.for("__dirname").tap("NodeStuffPlugin",(S=>{if(!k.state.module)return;return q(k.state.module.context)(S)}))}k.hooks.expression.for("require.extensions").tap("NodeStuffPlugin",ee(k,"require.extensions is not supported by webpack. Use a loader instead."))};ae.hooks.parser.for("javascript/auto").tap("NodeStuffPlugin",handler);ae.hooks.parser.for("javascript/dynamic").tap("NodeStuffPlugin",handler)}))}}S.exports=NodeStuffPlugin},53520:(S,E,k)=>{"use strict";const w=k(78688);const{getContext:N,runLoaders:j}=k(60425);const q=k(71191);const{HookMap:ee,SyncHook:te,AsyncSeriesBailHook:ne}=k(92960);const{CachedSource:ae,OriginalSource:_e,RawSource:ve,SourceMapSource:Ee}=k(48135);const Te=k(3080);const Ce=k(53453);const we=k(26509);const Ne=k(91613);const Ie=k(79900);const Fe=k(14489);const Oe=k(8893);const Me=k(76150);const Re=k(77090);const Le=k(81627);const Be=k(72380);const je=k(83379);const{isSubset:ze}=k(26221);const{getScheme:Ue}=k(45754);const{compareLocations:We,concatComparators:$e,compareSelect:qe,keepOriginalOrder:Ve}=k(68673);const He=k(35891);const{join:Ge}=k(95396);const{contextify:Je,absolutify:Ke}=k(49197);const Qe=k(56202);const Xe=k(91671);const Ye=Xe((()=>k(49619)));const Ze=Xe((()=>k(15235).validate));const et=/^([a-zA-Z]:\\|\\\\|\/)/;const contextifySourceUrl=(S,E,k)=>{if(E.startsWith("webpack://"))return E;return`webpack://${Je(S,E,k)}`};const contextifySourceMap=(S,E,k)=>{if(!Array.isArray(E.sources))return E;const{sourceRoot:w}=E;const N=!w?S=>S:w.endsWith("/")?S=>S.startsWith("/")?`${w.slice(0,-1)}${S}`:`${w}${S}`:S=>S.startsWith("/")?`${w}${S}`:`${w}/${S}`;const j=E.sources.map((E=>contextifySourceUrl(S,N(E),k)));return{...E,file:"x",sourceRoot:undefined,sources:j}};const asString=S=>{if(Buffer.isBuffer(S)){return S.toString("utf-8")}return S};const asBuffer=S=>{if(!Buffer.isBuffer(S)){return Buffer.from(S,"utf-8")}return S};class NonErrorEmittedError extends Le{constructor(S){super();this.name="NonErrorEmittedError";this.message="(Emitted value instead of an instance of Error) "+S}}Qe(NonErrorEmittedError,"webpack/lib/NormalModule","NonErrorEmittedError");const tt=new WeakMap;class NormalModule extends Ce{static getCompilationHooks(S){if(!(S instanceof Te)){throw new TypeError("The 'compilation' argument must be an instance of Compilation")}let E=tt.get(S);if(E===undefined){E={loader:new te(["loaderContext","module"]),beforeLoaders:new te(["loaders","module","loaderContext"]),readResourceForScheme:new ee((()=>new ne(["resource","module"])))};tt.set(S,E)}return E}constructor({layer:S,type:E,request:k,userRequest:w,rawRequest:j,loaders:q,resource:ee,resourceResolveData:te,matchResource:ne,parser:ae,parserOptions:_e,generator:ve,generatorOptions:Ee,resolveOptions:Te}){super(E,N(ee),S);this.request=k;this.userRequest=w;this.rawRequest=j;this.binary=/^(asset|webassembly)\b/.test(E);this.parser=ae;this.parserOptions=_e;this.generator=ve;this.generatorOptions=Ee;this.resource=ee;this.resourceResolveData=te;this.matchResource=ne;this.loaders=q;if(Te!==undefined){this.resolveOptions=Te}this.error=null;this._source=null;this._sourceSizes=undefined;this._sourceTypes=undefined;this._lastSuccessfulBuildMeta={};this._forceBuild=true;this._isEvaluatingSideEffects=false;this._addedSideEffectsBailout=undefined}identifier(){if(this.layer===null){return this.request}else{return`${this.request}|${this.layer}`}}readableIdentifier(S){return S.shorten(this.userRequest)}libIdent(S){return Je(S.context,this.userRequest,S.associatedObjectForCache)}nameForCondition(){const S=this.matchResource||this.resource;const E=S.indexOf("?");if(E>=0)return S.substr(0,E);return S}updateCacheModule(S){super.updateCacheModule(S);const E=S;this.binary=E.binary;this.request=E.request;this.userRequest=E.userRequest;this.rawRequest=E.rawRequest;this.parser=E.parser;this.parserOptions=E.parserOptions;this.generator=E.generator;this.generatorOptions=E.generatorOptions;this.resource=E.resource;this.matchResource=E.matchResource;this.loaders=E.loaders;this._sourceTypes=E._sourceTypes;this._sourceSizes=E._sourceSizes}cleanupForCache(){if(this._sourceTypes===undefined)this.getSourceTypes();for(const S of this._sourceTypes){this.size(S)}super.cleanupForCache();this.parser=undefined;this.parserOptions=undefined;this.generator=undefined;this.generatorOptions=undefined}getUnsafeCacheData(){const S=super.getUnsafeCacheData();S.parserOptions=this.parserOptions;S.generatorOptions=this.generatorOptions;return S}restoreFromUnsafeCache(S,E){this._restoreFromUnsafeCache(S,E)}_restoreFromUnsafeCache(S,E){super._restoreFromUnsafeCache(S,E);this.parserOptions=S.parserOptions;this.parser=E.getParser(this.type,this.parserOptions);this.generatorOptions=S.generatorOptions;this.generator=E.getGenerator(this.type,this.generatorOptions)}createSourceForAsset(S,E,k,w,N){if(w){if(typeof w==="string"&&(this.useSourceMap||this.useSimpleSourceMap)){return new _e(k,contextifySourceUrl(S,w,N))}if(this.useSourceMap){return new Ee(k,E,contextifySourceMap(S,w,N))}}return new ve(k)}createLoaderContext(S,E,k,N){const{requestShortener:j}=k.runtimeTemplate;const getCurrentLoaderName=()=>{const S=this.getCurrentLoader(ve);if(!S)return"(not in loader scope)";return j.shorten(S.loader)};const getResolveContext=()=>({fileDependencies:{add:S=>ve.addDependency(S)},contextDependencies:{add:S=>ve.addContextDependency(S)},missingDependencies:{add:S=>ve.addMissingDependency(S)}});const ee=Xe((()=>Ke.bindCache(k.compiler.root)));const te=Xe((()=>Ke.bindContextCache(this.context,k.compiler.root)));const ne=Xe((()=>Je.bindCache(k.compiler.root)));const ae=Xe((()=>Je.bindContextCache(this.context,k.compiler.root)));const _e={absolutify:(S,E)=>S===this.context?te()(E):ee()(S,E),contextify:(S,E)=>S===this.context?ae()(E):ne()(S,E)};const ve={version:2,getOptions:S=>{const E=this.getCurrentLoader(ve);let{options:k}=E;if(typeof k==="string"){if(k.substr(0,1)==="{"&&k.substr(-1)==="}"){try{k=w(k)}catch(S){throw new Error(`Cannot parse string options: ${S.message}`)}}else{k=q.parse(k,"&","=",{maxKeys:0})}}if(k===null||k===undefined){k={}}if(S){let E="Loader";let w="options";let N;if(S.title&&(N=/^(.+) (.+)$/.exec(S.title))){[,E,w]=N}Ze()(S,k,{name:E,baseDataPath:w})}return k},emitWarning:S=>{if(!(S instanceof Error)){S=new NonErrorEmittedError(S)}this.addWarning(new Oe(S,{from:getCurrentLoaderName()}))},emitError:S=>{if(!(S instanceof Error)){S=new NonErrorEmittedError(S)}this.addError(new Ne(S,{from:getCurrentLoaderName()}))},getLogger:S=>{const E=this.getCurrentLoader(ve);return k.getLogger((()=>[E&&E.loader,S,this.identifier()].filter(Boolean).join("|")))},resolve(E,k,w){S.resolve({},E,k,getResolveContext(),w)},getResolve(E){const k=E?S.withOptions(E):S;return(S,E,w)=>{if(w){k.resolve({},S,E,getResolveContext(),w)}else{return new Promise(((w,N)=>{k.resolve({},S,E,getResolveContext(),((S,E)=>{if(S)N(S);else w(E)}))}))}}},emitFile:(S,w,N,j)=>{if(!this.buildInfo.assets){this.buildInfo.assets=Object.create(null);this.buildInfo.assetsInfo=new Map}this.buildInfo.assets[S]=this.createSourceForAsset(E.context,S,w,N,k.compiler.root);this.buildInfo.assetsInfo.set(S,j)},addBuildDependency:S=>{if(this.buildInfo.buildDependencies===undefined){this.buildInfo.buildDependencies=new je}this.buildInfo.buildDependencies.add(S)},utils:_e,rootContext:E.context,webpack:true,sourceMap:!!this.useSourceMap,mode:E.mode||"production",_module:this,_compilation:k,_compiler:k.compiler,fs:N};Object.assign(ve,E.loader);NormalModule.getCompilationHooks(k).loader.call(ve,this);return ve}getCurrentLoader(S,E=S.loaderIndex){if(this.loaders&&this.loaders.length&&E=0&&this.loaders[E]){return this.loaders[E]}return null}createSource(S,E,k,w){if(Buffer.isBuffer(E)){return new ve(E)}if(!this.identifier){return new ve(E)}const N=this.identifier();if(this.useSourceMap&&k){return new Ee(E,contextifySourceUrl(S,N,w),contextifySourceMap(S,k,w))}if(this.useSourceMap||this.useSimpleSourceMap){return new _e(E,contextifySourceUrl(S,N,w))}return new ve(E)}doBuild(S,E,k,w,N){const q=this.createLoaderContext(k,S,E,w);const processResult=(k,w)=>{if(k){if(!(k instanceof Error)){k=new NonErrorEmittedError(k)}const S=this.getCurrentLoader(q);const w=new we(k,{from:S&&E.runtimeTemplate.requestShortener.shorten(S.loader)});return N(w)}const j=w[0];const ee=w.length>=1?w[1]:null;const te=w.length>=2?w[2]:null;if(!Buffer.isBuffer(j)&&typeof j!=="string"){const S=this.getCurrentLoader(q,0);const k=new Error(`Final loader (${S?E.runtimeTemplate.requestShortener.shorten(S.loader):"unknown"}) didn't return a Buffer or String`);const w=new we(k);return N(w)}this._source=this.createSource(S.context,this.binary?asBuffer(j):asString(j),ee,E.compiler.root);if(this._sourceSizes!==undefined)this._sourceSizes.clear();this._ast=typeof te==="object"&&te!==null&&te.webpackAST!==undefined?te.webpackAST:null;return N()};const ee=NormalModule.getCompilationHooks(E);try{ee.beforeLoaders.call(this.loaders,this,q)}catch(S){processResult(S);return}j({resource:this.resource,loaders:this.loaders,context:q,processResource:(S,E,k)=>{const N=Ue(E);if(N){ee.readResourceForScheme.for(N).callAsync(E,this,((S,w)=>{if(S)return k(S);if(typeof w!=="string"&&!w){return k(new Re(N,E))}return k(null,w)}))}else{S.addDependency(E);w.readFile(E,k)}}},((S,E)=>{q._compilation=q._compiler=q._module=q.fs=undefined;if(!E){return processResult(S||new Error("No result from loader-runner processing"),null)}this.buildInfo.fileDependencies=new je;this.buildInfo.fileDependencies.addAll(E.fileDependencies);this.buildInfo.contextDependencies=new je;this.buildInfo.contextDependencies.addAll(E.contextDependencies);this.buildInfo.missingDependencies=new je;this.buildInfo.missingDependencies.addAll(E.missingDependencies);if(this.loaders.length>0&&this.buildInfo.buildDependencies===undefined){this.buildInfo.buildDependencies=new je}for(const S of this.loaders){this.buildInfo.buildDependencies.add(S.loader)}this.buildInfo.cacheable=E.cacheable;processResult(S,E.result)}))}markModuleAsErrored(S){this.buildMeta={...this._lastSuccessfulBuildMeta};this.error=S;this.addError(S)}applyNoParseRule(S,E){if(typeof S==="string"){return E.startsWith(S)}if(typeof S==="function"){return S(E)}return S.test(E)}shouldPreventParsing(S,E){if(!S){return false}if(!Array.isArray(S)){return this.applyNoParseRule(S,E)}for(let k=0;k{if(k){this.markModuleAsErrored(k);this._initBuildHash(E);return N()}const handleParseError=k=>{const w=this._source.source();const j=this.loaders.map((k=>Je(S.context,k.loader,E.compiler.root)));const q=new Fe(w,k,j,this.type);this.markModuleAsErrored(q);this._initBuildHash(E);return N()};const handleParseResult=S=>{this.dependencies.sort($e(qe((S=>S.loc),We),Ve(this.dependencies)));this._initBuildHash(E);this._lastSuccessfulBuildMeta=this.buildMeta;return handleBuildDone()};const handleBuildDone=()=>{const S=E.options.snapshot.module;if(!this.buildInfo.cacheable||!S){return N()}let k=undefined;const checkDependencies=S=>{for(const w of S){if(!et.test(w)){if(k===undefined)k=new Set;k.add(w);S.delete(w);try{const k=w.replace(/[\\/]?\*.*$/,"");const N=Ge(E.fileSystemInfo.fs,this.context,k);if(N!==w&&et.test(N)){(k!==w?this.buildInfo.contextDependencies:S).add(N)}}catch(S){}}}};checkDependencies(this.buildInfo.fileDependencies);checkDependencies(this.buildInfo.missingDependencies);checkDependencies(this.buildInfo.contextDependencies);if(k!==undefined){const S=Ye();this.addWarning(new S(this,k))}E.fileSystemInfo.createSnapshot(j,this.buildInfo.fileDependencies,this.buildInfo.contextDependencies,this.buildInfo.missingDependencies,S,((S,E)=>{if(S){this.markModuleAsErrored(S);return}this.buildInfo.fileDependencies=undefined;this.buildInfo.contextDependencies=undefined;this.buildInfo.missingDependencies=undefined;this.buildInfo.snapshot=E;return N()}))};const w=S.module&&S.module.noParse;if(this.shouldPreventParsing(w,this.request)){this.buildInfo.parsed=false;this._initBuildHash(E);return handleBuildDone()}let q;try{q=this.parser.parse(this._ast||this._source.source(),{current:this,module:this,compilation:E,options:S})}catch(S){handleParseError(S);return}handleParseResult(q)}))}getConcatenationBailoutReason(S){return this.generator.getConcatenationBailoutReason(this,S)}getSideEffectsConnectionState(S){if(this.factoryMeta!==undefined){if(this.factoryMeta.sideEffectFree)return false;if(this.factoryMeta.sideEffectFree===false)return true}if(this.buildMeta!==undefined&&this.buildMeta.sideEffectFree){if(this._isEvaluatingSideEffects)return Ie.CIRCULAR_CONNECTION;this._isEvaluatingSideEffects=true;let E=false;for(const k of this.dependencies){const w=k.getModuleEvaluationSideEffectsState(S);if(w===true){if(this._addedSideEffectsBailout===undefined?(this._addedSideEffectsBailout=new WeakSet,true):!this._addedSideEffectsBailout.has(S)){this._addedSideEffectsBailout.add(S);S.getOptimizationBailout(this).push((()=>`Dependency (${k.type}) with side effects at ${Be(k.loc)}`))}this._isEvaluatingSideEffects=false;return true}else if(w!==Ie.CIRCULAR_CONNECTION){E=Ie.addConnectionStates(E,w)}}this._isEvaluatingSideEffects=false;return E}else{return true}}getSourceTypes(){if(this._sourceTypes===undefined){this._sourceTypes=this.generator.getTypes(this)}return this._sourceTypes}codeGeneration({dependencyTemplates:S,runtimeTemplate:E,moduleGraph:k,chunkGraph:w,runtime:N,concatenationScope:j}){const q=new Set;if(!this.buildInfo.parsed){q.add(Me.module);q.add(Me.exports);q.add(Me.thisAsExports)}let ee;const getData=()=>{if(ee===undefined)ee=new Map;return ee};const te=new Map;for(const ee of this.generator.getTypes(this)){const ne=this.error?new ve("throw new Error("+JSON.stringify(this.error.message)+");"):this.generator.generate(this,{dependencyTemplates:S,runtimeTemplate:E,moduleGraph:k,chunkGraph:w,runtimeRequirements:q,runtime:N,concatenationScope:j,getData:getData,type:ee});if(ne){te.set(ee,new ae(ne))}}const ne={sources:te,runtimeRequirements:q,data:ee};return ne}originalSource(){return this._source}invalidateBuild(){this._forceBuild=true}needBuild({fileSystemInfo:S,valueCacheVersions:E},k){if(this._forceBuild)return k(null,true);if(this.error)return k(null,true);if(!this.buildInfo.cacheable)return k(null,true);if(!this.buildInfo.snapshot)return k(null,true);const w=this.buildInfo.valueDependencies;if(w){if(!E)return k(null,true);for(const[S,N]of w){if(N===undefined)return k(null,true);const w=E.get(S);if(N!==w&&(typeof N==="string"||typeof w==="string"||w===undefined||!ze(N,w))){return k(null,true)}}}S.checkSnapshotValid(this.buildInfo.snapshot,((S,E)=>{k(S,!E)}))}size(S){const E=this._sourceSizes===undefined?undefined:this._sourceSizes.get(S);if(E!==undefined){return E}const k=Math.max(1,this.generator.getSize(this,S));if(this._sourceSizes===undefined){this._sourceSizes=new Map}this._sourceSizes.set(S,k);return k}addCacheDependencies(S,E,k,w){const{snapshot:N,buildDependencies:j}=this.buildInfo;if(N){S.addAll(N.getFileIterable());E.addAll(N.getContextIterable());k.addAll(N.getMissingIterable())}else{const{fileDependencies:w,contextDependencies:N,missingDependencies:j}=this.buildInfo;if(w!==undefined)S.addAll(w);if(N!==undefined)E.addAll(N);if(j!==undefined)k.addAll(j)}if(j!==undefined){w.addAll(j)}}updateHash(S,E){S.update(this.buildInfo.hash);this.generator.updateHash(S,{module:this,...E});super.updateHash(S,E)}serialize(S){const{write:E}=S;E(this._source);E(this.error);E(this._lastSuccessfulBuildMeta);E(this._forceBuild);super.serialize(S)}static deserialize(S){const E=new NormalModule({layer:null,type:"",resource:"",request:null,userRequest:null,rawRequest:null,loaders:null,matchResource:null,parser:null,parserOptions:null,generator:null,generatorOptions:null,resolveOptions:null});E.deserialize(S);return E}deserialize(S){const{read:E}=S;this._source=E();this.error=E();this._lastSuccessfulBuildMeta=E();this._forceBuild=E();super.deserialize(S)}}Qe(NormalModule,"webpack/lib/NormalModule");S.exports=NormalModule},43229:(S,E,k)=>{"use strict";const w=k(62355);const{AsyncSeriesBailHook:N,SyncWaterfallHook:j,SyncBailHook:q,SyncHook:ee,HookMap:te}=k(92960);const ne=k(45137);const ae=k(53453);const _e=k(40674);const ve=k(75412);const Ee=k(53520);const Te=k(94288);const Ce=k(1976);const we=k(92299);const Ne=k(73817);const Ie=k(19311);const Fe=k(83379);const{getScheme:Oe}=k(45754);const{cachedCleverMerge:Me,cachedSetProperty:Re}=k(90149);const{join:Le}=k(95396);const{parseResource:Be}=k(49197);const je={};const ze={};const Ue={};const We=/^([^!]+)!=!/;const loaderToIdent=S=>{if(!S.options){return S.loader}if(typeof S.options==="string"){return S.loader+"?"+S.options}if(typeof S.options!=="object"){throw new Error("loader options must be string or object")}if(S.ident){return S.loader+"??"+S.ident}return S.loader+"?"+JSON.stringify(S.options)};const stringifyLoadersAndResource=(S,E)=>{let k="";for(const E of S){k+=loaderToIdent(E)+"!"}return k+E};const identToLoaderRequest=S=>{const E=S.indexOf("?");if(E>=0){const k=S.substr(0,E);const w=S.substr(E+1);return{loader:k,options:w}}else{return{loader:S,options:undefined}}};const needCalls=(S,E)=>k=>{if(--S===0){return E(k)}if(k&&S>0){S=NaN;return E(k)}};const mergeGlobalOptions=(S,E,k)=>{const w=E.split("/");let N;let j="";for(const E of w){j=j?`${j}/${E}`:E;const k=S[j];if(typeof k==="object"){if(N===undefined){N=k}else{N=Me(N,k)}}}if(N===undefined){return k}else{return Me(N,k)}};const deprecationChangedHookMessage=(S,E)=>{const k=E.taps.map((S=>S.name)).join(", ");return`NormalModuleFactory.${S} (${k}) is no longer a waterfall hook, but a bailing hook instead. `+"Do not return the passed object, but modify it instead. "+"Returning false will ignore the request and results in no module created."};const $e=new WeakMap;const qe=new WeakMap;const Ve=new Ne([new Ce("test","resource"),new Ce("scheme"),new Ce("mimetype"),new Ce("dependency"),new Ce("include","resource"),new Ce("exclude","resource",true),new Ce("resource"),new Ce("resourceQuery"),new Ce("resourceFragment"),new Ce("realResource"),new Ce("issuer"),new Ce("compiler"),new Ce("issuerLayer"),new we,new Te("type"),new Te("sideEffects"),new Te("parser"),new Te("resolve"),new Te("generator"),new Te("layer"),new Ie]);class NormalModuleFactory extends _e{constructor({context:S,fs:E,resolverFactory:k,options:w,associatedObjectForCache:ne,layers:_e=false}){super();this.hooks=Object.freeze({resolve:new N(["resolveData"]),resolveForScheme:new te((()=>new N(["resourceData","resolveData"]))),factorize:new N(["resolveData"]),beforeResolve:new N(["resolveData"]),afterResolve:new N(["resolveData"]),createModule:new N(["createData","resolveData"]),module:new j(["module","createData","resolveData"]),createParser:new te((()=>new q(["parserOptions"]))),parser:new te((()=>new ee(["parser","parserOptions"]))),createGenerator:new te((()=>new q(["generatorOptions"]))),generator:new te((()=>new ee(["generator","generatorOptions"])))});this.resolverFactory=k;this.ruleSet=Ve.compile([{rules:w.defaultRules},{rules:w.rules}]);this.unsafeCache=!!w.unsafeCache;this.cachePredicate=typeof w.unsafeCache==="function"?w.unsafeCache:()=>true;this.context=S||"";this.fs=E;this._globalParserOptions=w.parser;this._globalGeneratorOptions=w.generator;this.parserCache=new Map;this.generatorCache=new Map;this._restoredUnsafeCacheEntries=new Set;const ve=Be.bindCache(ne);this.hooks.factorize.tapAsync({name:"NormalModuleFactory",stage:100},((S,E)=>{this.hooks.resolve.callAsync(S,((k,w)=>{if(k)return E(k);if(w===false)return E();if(w instanceof ae)return E(null,w);if(typeof w==="object")throw new Error(deprecationChangedHookMessage("resolve",this.hooks.resolve)+" Returning a Module object will result in this module used as result.");this.hooks.afterResolve.callAsync(S,((k,w)=>{if(k)return E(k);if(typeof w==="object")throw new Error(deprecationChangedHookMessage("afterResolve",this.hooks.afterResolve));if(w===false)return E();const N=S.createData;this.hooks.createModule.callAsync(N,S,((k,w)=>{if(!w){if(!S.request){return E(new Error("Empty dependency (no request)"))}w=new Ee(N)}w=this.hooks.module.call(w,N,S);return E(null,w)}))}))}))}));this.hooks.resolve.tapAsync({name:"NormalModuleFactory",stage:100},((S,E)=>{const{contextInfo:k,context:w,dependencies:N,request:j,resolveOptions:q,fileDependencies:ee,missingDependencies:te,contextDependencies:ne}=S;const ae=N.length>0&&N[0].category||"";const Ee=this.getResolver("loader");let Te=undefined;let Ce=j;const we=We.exec(j);if(we){let S=we[1];if(S.charCodeAt(0)===46){const E=S.charCodeAt(1);if(E===47||E===46&&S.charCodeAt(2)===47){S=Le(this.fs,w,S)}}Te={resource:S,...ve(S)};Ce=j.substr(we[0].length)}const Ne=Ce.charCodeAt(0);const Ie=Ce.charCodeAt(1);const Fe=Ne===45&&Ie===33;const Be=Fe||Ne===33;const ze=Ne===33&&Ie===33;const Ue=Ce.slice(Fe||ze?2:Be?1:0).split(/!+/);const $e=Ue.pop();const qe=Ue.map(identToLoaderRequest);const Ve={fileDependencies:ee,missingDependencies:te,contextDependencies:ne};let He;const Ge=Oe($e);let Je;const Ke=needCalls(2,(q=>{if(q)return E(q);try{for(const S of Je){if(typeof S.options==="string"&&S.options[0]==="?"){const E=S.options.substr(1);if(E==="[[missing ident]]"){throw new Error("No ident is provided by referenced loader. "+"When using a function for Rule.use in config you need to "+"provide an 'ident' property for referenced loader options.")}S.options=this.ruleSet.references.get(E);if(S.options===undefined){throw new Error("Invalid ident is provided by referenced loader")}S.ident=E}}}catch(S){return E(S)}if(!He){return E(null,N[0].createIgnoredModule(w))}const ee=(Te!==undefined?`${Te.resource}!=!`:"")+stringifyLoadersAndResource(Je,He.resource);const te=Te||He;const ne=this.ruleSet.exec({resource:te.path,realResource:He.path,resourceQuery:te.query,resourceFragment:te.fragment,scheme:Ge,mimetype:Te?"":He.data.mimetype||"",dependency:ae,descriptionData:Te?undefined:He.data.descriptionFileData,issuer:k.issuer,compiler:k.compiler,issuerLayer:k.issuerLayer||""});const ve={};const Ce=[];const we=[];const Ne=[];for(const S of ne){if(S.type==="use"){if(!Be&&!ze){we.push(S.value)}}else if(S.type==="use-post"){if(!ze){Ce.push(S.value)}}else if(S.type==="use-pre"){if(!Fe&&!ze){Ne.push(S.value)}}else if(typeof S.value==="object"&&S.value!==null&&typeof ve[S.type]==="object"&&ve[S.type]!==null){ve[S.type]=Me(ve[S.type],S.value)}else{ve[S.type]=S.value}}let Ie,Oe,Re;const Le=needCalls(3,(w=>{if(w){return E(w)}const N=Ie;if(Te===undefined){for(const S of Je)N.push(S);for(const S of Oe)N.push(S)}else{for(const S of Oe)N.push(S);for(const S of Je)N.push(S)}for(const S of Re)N.push(S);let q=ve.type;if(!q){const S=Te&&Te.resource||He.resource;let E;if(typeof S==="string"&&(E=/\.webpack\[([^\]]+)\]$/.exec(S))){q=E[1]}else{q="javascript/auto"}}const te=ve.resolve;const ne=ve.layer;if(ne!==undefined&&!_e){return E(new Error("'Rule.layer' is only allowed when 'experiments.layers' is enabled"))}try{Object.assign(S.createData,{layer:ne===undefined?k.issuerLayer||null:ne,request:stringifyLoadersAndResource(N,He.resource),userRequest:ee,rawRequest:j,loaders:N,resource:He.resource,matchResource:Te?Te.resource:undefined,resourceResolveData:He.data,settings:ve,type:q,parser:this.getParser(q,ve.parser),parserOptions:ve.parser,generator:this.getGenerator(q,ve.generator),generatorOptions:ve.generator,resolveOptions:te})}catch(S){return E(S)}E()}));this.resolveRequestArray(k,this.context,Ce,Ee,Ve,((S,E)=>{Ie=E;Le(S)}));this.resolveRequestArray(k,this.context,we,Ee,Ve,((S,E)=>{Oe=E;Le(S)}));this.resolveRequestArray(k,this.context,Ne,Ee,Ve,((S,E)=>{Re=E;Le(S)}))}));this.resolveRequestArray(k,w,qe,Ee,Ve,((S,E)=>{if(S)return Ke(S);Je=E;Ke()}));if(Ge){He={resource:$e,data:{},path:undefined,query:undefined,fragment:undefined};this.hooks.resolveForScheme.for(Ge).callAsync(He,S,(S=>{if(S)return Ke(S);Ke()}))}else if(/^($|\?)/.test($e)){He={resource:$e,data:{},...ve($e)};Ke()}else{const S=this.getResolver("normal",ae?Re(q||je,"dependencyType",ae):q);this.resolveResource(k,w,$e,S,Ve,((S,E,k)=>{if(S)return Ke(S);if(E!==false){He={resource:E,data:k,...ve(E)}}Ke()}))}}))}cleanupForCache(){for(const S of this._restoredUnsafeCacheEntries){ne.clearChunkGraphForModule(S);ve.clearModuleGraphForModule(S);S.cleanupForCache()}}create(S,E){const k=S.dependencies;if(this.unsafeCache){const S=$e.get(k[0]);if(S){const{module:k}=S;if(!this._restoredUnsafeCacheEntries.has(k)){const S=qe.get(k);k.restoreFromUnsafeCache(S,this);this._restoredUnsafeCacheEntries.add(k)}return E(null,S)}}const w=S.context||this.context;const N=S.resolveOptions||je;const j=k[0];const q=j.request;const ee=S.contextInfo;const te=new Fe;const ne=new Fe;const ae=new Fe;const _e={contextInfo:ee,resolveOptions:N,context:w,request:q,dependencies:k,fileDependencies:te,missingDependencies:ne,contextDependencies:ae,createData:{},cacheable:true};this.hooks.beforeResolve.callAsync(_e,((S,w)=>{if(S){return E(S,{fileDependencies:te,missingDependencies:ne,contextDependencies:ae})}if(w===false){return E(null,{fileDependencies:te,missingDependencies:ne,contextDependencies:ae})}if(typeof w==="object")throw new Error(deprecationChangedHookMessage("beforeResolve",this.hooks.beforeResolve));this.hooks.factorize.callAsync(_e,((S,w)=>{if(S){return E(S,{fileDependencies:te,missingDependencies:ne,contextDependencies:ae})}const N={module:w,fileDependencies:te,missingDependencies:ne,contextDependencies:ae};if(this.unsafeCache&&_e.cacheable&&w&&w.restoreFromUnsafeCache&&this.cachePredicate(w)){for(const S of k){$e.set(S,N)}if(!qe.has(w)){qe.set(w,w.getUnsafeCacheData())}this._restoredUnsafeCacheEntries.add(w)}E(null,N)}))}))}resolveResource(S,E,k,w,N,j){w.resolve(S,E,k,N,((q,ee,te)=>{if(q){return this._resolveResourceErrorHints(q,S,E,k,w,N,((S,E)=>{if(S){q.message+=`\nAn fatal error happened during resolving additional hints for this error: ${S.message}`;q.stack+=`\n\nAn fatal error happened during resolving additional hints for this error:\n${S.stack}`;return j(q)}if(E&&E.length>0){q.message+=`\n${E.join("\n\n")}`}j(q)}))}j(q,ee,te)}))}_resolveResourceErrorHints(S,E,k,N,j,q,ee){w.parallel([S=>{if(!j.options.fullySpecified)return S();j.withOptions({fullySpecified:false}).resolve(E,k,N,q,((E,k)=>{if(!E&&k){const E=Be(k).path.replace(/^.*[\\/]/,"");return S(null,`Did you mean '${E}'?\nBREAKING CHANGE: The request '${N}' failed to resolve only because it was resolved as fully specified\n(probably because the origin is a '*.mjs' file or a '*.js' file where the package.json contains '"type": "module"').\nThe extension in the request is mandatory for it to be fully specified.\nAdd the extension to the request.`)}S()}))},S=>{if(!j.options.enforceExtension)return S();j.withOptions({enforceExtension:false,extensions:[]}).resolve(E,k,N,q,((E,k)=>{if(!E&&k){let E="";const k=/(\.[^.]+)(\?|$)/.exec(N);if(k){const S=N.replace(/(\.[^.]+)(\?|$)/,"$2");if(j.options.extensions.has(k[1])){E=`Did you mean '${S}'?`}else{E=`Did you mean '${S}'? Also note that '${k[1]}' is not in 'resolve.extensions' yet and need to be added for this to work?`}}else{E=`Did you mean to omit the extension or to remove 'resolve.enforceExtension'?`}return S(null,`The request '${N}' failed to resolve only because 'resolve.enforceExtension' was specified.\n${E}\nIncluding the extension in the request is no longer possible. Did you mean to enforce including the extension in requests with 'resolve.extensions: []' instead?`)}S()}))},S=>{if(/^\.\.?\//.test(N)||j.options.preferRelative){return S()}j.resolve(E,k,`./${N}`,q,((E,k)=>{if(E||!k)return S();const w=j.options.modules.map((S=>Array.isArray(S)?S.join(", "):S)).join(", ");S(null,`Did you mean './${N}'?\nRequests that should resolve in the current directory need to start with './'.\nRequests that start with a name are treated as module requests and resolve within module directories (${w}).\nIf changing the source code is not an option there is also a resolve options called 'preferRelative' which tries to resolve these kind of requests in the current directory too.`)}))}],((S,E)=>{if(S)return ee(S);ee(null,E.filter(Boolean))}))}resolveRequestArray(S,E,k,N,j,q){if(k.length===0)return q(null,k);w.map(k,((k,w)=>{N.resolve(S,E,k.loader,j,((q,ee)=>{if(q&&/^[^/]*$/.test(k.loader)&&!/-loader$/.test(k.loader)){return N.resolve(S,E,k.loader+"-loader",j,(S=>{if(!S){q.message=q.message+"\n"+"BREAKING CHANGE: It's no longer allowed to omit the '-loader' suffix when using loaders.\n"+` You need to specify '${k.loader}-loader' instead of '${k.loader}',\n`+" see https://webpack.js.org/migrate/3/#automatic-loader-module-name-extension-removed"}w(q)}))}if(q)return w(q);const te=identToLoaderRequest(ee);const ne={loader:te.loader,options:k.options===undefined?te.options:k.options,ident:k.options===undefined?undefined:k.ident};return w(null,ne)}))}),q)}getParser(S,E=ze){let k=this.parserCache.get(S);if(k===undefined){k=new WeakMap;this.parserCache.set(S,k)}let w=k.get(E);if(w===undefined){w=this.createParser(S,E);k.set(E,w)}return w}createParser(S,E={}){E=mergeGlobalOptions(this._globalParserOptions,S,E);const k=this.hooks.createParser.for(S).call(E);if(!k){throw new Error(`No parser registered for ${S}`)}this.hooks.parser.for(S).call(k,E);return k}getGenerator(S,E=Ue){let k=this.generatorCache.get(S);if(k===undefined){k=new WeakMap;this.generatorCache.set(S,k)}let w=k.get(E);if(w===undefined){w=this.createGenerator(S,E);k.set(E,w)}return w}createGenerator(S,E={}){E=mergeGlobalOptions(this._globalGeneratorOptions,S,E);const k=this.hooks.createGenerator.for(S).call(E);if(!k){throw new Error(`No generator registered for ${S}`)}this.hooks.generator.for(S).call(k,E);return k}getResolver(S,E){return this.resolverFactory.get(S,E)}}S.exports=NormalModuleFactory},92234:(S,E,k)=>{"use strict";const{join:w,dirname:N}=k(95396);class NormalModuleReplacementPlugin{constructor(S,E){this.resourceRegExp=S;this.newResource=E}apply(S){const E=this.resourceRegExp;const k=this.newResource;S.hooks.normalModuleFactory.tap("NormalModuleReplacementPlugin",(j=>{j.hooks.beforeResolve.tap("NormalModuleReplacementPlugin",(S=>{if(E.test(S.request)){if(typeof k==="function"){k(S)}else{S.request=k}}}));j.hooks.afterResolve.tap("NormalModuleReplacementPlugin",(j=>{const q=j.createData;if(E.test(q.resource)){if(typeof k==="function"){k(j)}else{const E=S.inputFileSystem;if(k.startsWith("/")||k.length>1&&k[1]===":"){q.resource=k}else{q.resource=w(E,N(E,q.resource),k)}}}}))}))}}S.exports=NormalModuleReplacementPlugin},82414:(S,E)=>{"use strict";E.STAGE_BASIC=-10;E.STAGE_DEFAULT=0;E.STAGE_ADVANCED=10},97614:S=>{"use strict";class OptionsApply{process(S,E){}}S.exports=OptionsApply},2172:(S,E,k)=>{"use strict";class Parser{parse(S,E){const w=k(75884);throw new w}}S.exports=Parser},13125:(S,E,k)=>{"use strict";const w=k(88281);class PrefetchPlugin{constructor(S,E){if(E){this.context=S;this.request=E}else{this.context=null;this.request=S}}apply(S){S.hooks.compilation.tap("PrefetchPlugin",((S,{normalModuleFactory:E})=>{S.dependencyFactories.set(w,E)}));S.hooks.make.tapAsync("PrefetchPlugin",((E,k)=>{E.addModuleChain(this.context||S.context,new w(this.request),(S=>{k(S)}))}))}}S.exports=PrefetchPlugin},52923:(S,E,k)=>{"use strict";const w=k(63076);const N=k(63433);const j=k(53520);const q=k(35817);const{contextify:ee}=k(49197);const te=q(k(73971),(()=>k(78760)),{name:"Progress Plugin",baseDataPath:"options"});const median3=(S,E,k)=>S+E+k-Math.max(S,E,k)-Math.min(S,E,k);const createDefaultHandler=(S,E)=>{const k=[];const defaultHandler=(w,N,...j)=>{if(S){if(w===0){k.length=0}const S=[N,...j];const q=S.map((S=>S.replace(/\d+\/\d+ /g,"")));const ee=Date.now();const te=Math.max(q.length,k.length);for(let S=te;S>=0;S--){const w=S0){w=k[S-1].value+" > "+w}const q=`${" | ".repeat(S)}${j} ms ${w}`;const ee=j;{if(ee>1e4){E.error(q)}else if(ee>1e3){E.warn(q)}else if(ee>10){E.info(q)}else if(ee>5){E.log(q)}else{E.debug(q)}}}if(w===undefined){k.length=S}else{N.value=w;N.time=ee;k.length=S+1}}}else{k[S]={value:w,time:ee}}}}E.status(`${Math.floor(w*100)}%`,N,...j);if(w===1||!N&&j.length===0)E.status()};return defaultHandler};const ne=new WeakMap;class ProgressPlugin{static getReporter(S){return ne.get(S)}constructor(S={}){if(typeof S==="function"){S={handler:S}}te(S);S={...ProgressPlugin.defaultOptions,...S};this.profile=S.profile;this.handler=S.handler;this.modulesCount=S.modulesCount;this.dependenciesCount=S.dependenciesCount;this.showEntries=S.entries;this.showModules=S.modules;this.showDependencies=S.dependencies;this.showActiveModules=S.activeModules;this.percentBy=S.percentBy}apply(S){const E=this.handler||createDefaultHandler(this.profile,S.getInfrastructureLogger("webpack.Progress"));if(S instanceof N){this._applyOnMultiCompiler(S,E)}else if(S instanceof w){this._applyOnCompiler(S,E)}}_applyOnMultiCompiler(S,E){const k=S.compilers.map((()=>[0]));S.compilers.forEach(((S,w)=>{new ProgressPlugin(((S,N,...j)=>{k[w]=[S,N,...j];let q=0;for(const[S]of k)q+=S;E(q/k.length,`[${w}] ${N}`,...j)})).apply(S)}))}_applyOnCompiler(S,E){const k=this.showEntries;const w=this.showModules;const N=this.showDependencies;const j=this.showActiveModules;let q="";let te="";let ae=0;let _e=0;let ve=0;let Ee=0;let Te=0;let Ce=1;let we=0;let Ne=0;let Ie=0;const Fe=new Set;let Oe=0;const updateThrottled=()=>{if(Oe+500{const ne=[];const Me=we/Math.max(ae||this.modulesCount||1,Ee);const Re=Ie/Math.max(ve||this.dependenciesCount||1,Ce);const Le=Ne/Math.max(_e||1,Te);let Be;switch(this.percentBy){case"entries":Be=Re;break;case"dependencies":Be=Le;break;case"modules":Be=Me;break;default:Be=median3(Me,Re,Le)}const je=.1+Be*.55;if(te){ne.push(`import loader ${ee(S.context,te,S.root)}`)}else{const S=[];if(k){S.push(`${Ie}/${Ce} entries`)}if(N){S.push(`${Ne}/${Te} dependencies`)}if(w){S.push(`${we}/${Ee} modules`)}if(j){S.push(`${Fe.size} active`)}if(S.length>0){ne.push(S.join(" "))}if(j){ne.push(q)}}E(je,"building",...ne);Oe=Date.now()};const factorizeAdd=()=>{Te++;if(Te<50||Te%100===0)updateThrottled()};const factorizeDone=()=>{Ne++;if(Ne<50||Ne%100===0)updateThrottled()};const moduleAdd=()=>{Ee++;if(Ee<50||Ee%100===0)updateThrottled()};const moduleBuild=S=>{const E=S.identifier();if(E){Fe.add(E);q=E;update()}};const entryAdd=(S,E)=>{Ce++;if(Ce<5||Ce%10===0)updateThrottled()};const moduleDone=S=>{we++;if(j){const E=S.identifier();if(E){Fe.delete(E);if(q===E){q="";for(const S of Fe){q=S}update();return}}}if(we<50||we%100===0)updateThrottled()};const entryDone=(S,E)=>{Ie++;update()};const Me=S.getCache("ProgressPlugin").getItemCache("counts",null);let Re;S.hooks.beforeCompile.tap("ProgressPlugin",(()=>{if(!Re){Re=Me.getPromise().then((S=>{if(S){ae=ae||S.modulesCount;_e=_e||S.dependenciesCount}return S}),(S=>{}))}}));S.hooks.afterCompile.tapPromise("ProgressPlugin",(S=>{if(S.compiler.isChild())return Promise.resolve();return Re.then((async S=>{if(!S||S.modulesCount!==Ee||S.dependenciesCount!==Te){await Me.storePromise({modulesCount:Ee,dependenciesCount:Te})}}))}));S.hooks.compilation.tap("ProgressPlugin",(k=>{if(k.compiler.isChild())return;ae=Ee;ve=Ce;_e=Te;Ee=Te=Ce=0;we=Ne=Ie=0;k.factorizeQueue.hooks.added.tap("ProgressPlugin",factorizeAdd);k.factorizeQueue.hooks.result.tap("ProgressPlugin",factorizeDone);k.addModuleQueue.hooks.added.tap("ProgressPlugin",moduleAdd);k.processDependenciesQueue.hooks.result.tap("ProgressPlugin",moduleDone);if(j){k.hooks.buildModule.tap("ProgressPlugin",moduleBuild)}k.hooks.addEntry.tap("ProgressPlugin",entryAdd);k.hooks.failedEntry.tap("ProgressPlugin",entryDone);k.hooks.succeedEntry.tap("ProgressPlugin",entryDone);if(false){}const w={finishModules:"finish module graph",seal:"plugins",optimizeDependencies:"dependencies optimization",afterOptimizeDependencies:"after dependencies optimization",beforeChunks:"chunk graph",afterChunks:"after chunk graph",optimize:"optimizing",optimizeModules:"module optimization",afterOptimizeModules:"after module optimization",optimizeChunks:"chunk optimization",afterOptimizeChunks:"after chunk optimization",optimizeTree:"module and chunk tree optimization",afterOptimizeTree:"after module and chunk tree optimization",optimizeChunkModules:"chunk modules optimization",afterOptimizeChunkModules:"after chunk modules optimization",reviveModules:"module reviving",beforeModuleIds:"before module ids",moduleIds:"module ids",optimizeModuleIds:"module id optimization",afterOptimizeModuleIds:"module id optimization",reviveChunks:"chunk reviving",beforeChunkIds:"before chunk ids",chunkIds:"chunk ids",optimizeChunkIds:"chunk id optimization",afterOptimizeChunkIds:"after chunk id optimization",recordModules:"record modules",recordChunks:"record chunks",beforeModuleHash:"module hashing",beforeCodeGeneration:"code generation",beforeRuntimeRequirements:"runtime requirements",beforeHash:"hashing",afterHash:"after hashing",recordHash:"record hash",beforeModuleAssets:"module assets processing",beforeChunkAssets:"chunk assets processing",processAssets:"asset processing",afterProcessAssets:"after asset optimization",record:"recording",afterSeal:"after seal"};const N=Object.keys(w).length;Object.keys(w).forEach(((j,q)=>{const ee=w[j];const te=q/N*.25+.7;k.hooks[j].intercept({name:"ProgressPlugin",call(){E(te,"sealing",ee)},done(){ne.set(S,undefined);E(te,"sealing",ee)},result(){E(te,"sealing",ee)},error(){E(te,"sealing",ee)},tap(S){ne.set(k.compiler,((k,...w)=>{E(te,"sealing",ee,S.name,...w)}));E(te,"sealing",ee,S.name)}})}))}));S.hooks.make.intercept({name:"ProgressPlugin",call(){E(.1,"building")},done(){E(.65,"building")}});const interceptHook=(k,w,N,j)=>{k.intercept({name:"ProgressPlugin",call(){E(w,N,j)},done(){ne.set(S,undefined);E(w,N,j)},result(){E(w,N,j)},error(){E(w,N,j)},tap(k){ne.set(S,((S,...q)=>{E(w,N,j,k.name,...q)}));E(w,N,j,k.name)}})};S.cache.hooks.endIdle.intercept({name:"ProgressPlugin",call(){E(0,"")}});interceptHook(S.cache.hooks.endIdle,.01,"cache","end idle");S.hooks.initialize.intercept({name:"ProgressPlugin",call(){E(0,"")}});interceptHook(S.hooks.initialize,.01,"setup","initialize");interceptHook(S.hooks.beforeRun,.02,"setup","before run");interceptHook(S.hooks.run,.03,"setup","run");interceptHook(S.hooks.watchRun,.03,"setup","watch run");interceptHook(S.hooks.normalModuleFactory,.04,"setup","normal module factory");interceptHook(S.hooks.contextModuleFactory,.05,"setup","context module factory");interceptHook(S.hooks.beforeCompile,.06,"setup","before compile");interceptHook(S.hooks.compile,.07,"setup","compile");interceptHook(S.hooks.thisCompilation,.08,"setup","compilation");interceptHook(S.hooks.compilation,.09,"setup","compilation");interceptHook(S.hooks.finishMake,.69,"building","finish");interceptHook(S.hooks.emit,.95,"emitting","emit");interceptHook(S.hooks.afterEmit,.98,"emitting","after emit");interceptHook(S.hooks.done,.99,"done","plugins");S.hooks.done.intercept({name:"ProgressPlugin",done(){E(.99,"")}});interceptHook(S.cache.hooks.storeBuildDependencies,.99,"cache","store build dependencies");interceptHook(S.cache.hooks.shutdown,.99,"cache","shutdown");interceptHook(S.cache.hooks.beginIdle,.99,"cache","begin idle");interceptHook(S.hooks.watchClose,.99,"end","closing watch compilation");S.cache.hooks.beginIdle.intercept({name:"ProgressPlugin",done(){E(1,"")}});S.cache.hooks.shutdown.intercept({name:"ProgressPlugin",done(){E(1,"")}})}}ProgressPlugin.defaultOptions={profile:false,modulesCount:5e3,dependenciesCount:1e4,modules:true,dependencies:true,activeModules:false,entries:true};S.exports=ProgressPlugin},40313:(S,E,k)=>{"use strict";const w=k(66298);const N=k(1335);const{approve:j}=k(48472);class ProvidePlugin{constructor(S){this.definitions=S}apply(S){const E=this.definitions;S.hooks.compilation.tap("ProvidePlugin",((S,{normalModuleFactory:k})=>{S.dependencyTemplates.set(w,new w.Template);S.dependencyFactories.set(N,k);S.dependencyTemplates.set(N,new N.Template);const handler=(S,k)=>{Object.keys(E).forEach((k=>{const w=[].concat(E[k]);const q=k.split(".");if(q.length>0){q.slice(1).forEach(((E,k)=>{const w=q.slice(0,k+1).join(".");S.hooks.canRename.for(w).tap("ProvidePlugin",j)}))}S.hooks.expression.for(k).tap("ProvidePlugin",(E=>{const j=k.includes(".")?`__webpack_provided_${k.replace(/\./g,"_dot_")}`:k;const q=new N(w[0],j,w.slice(1),E.range);q.loc=E.loc;S.state.module.addDependency(q);return true}));S.hooks.call.for(k).tap("ProvidePlugin",(E=>{const j=k.includes(".")?`__webpack_provided_${k.replace(/\./g,"_dot_")}`:k;const q=new N(w[0],j,w.slice(1),E.callee.range);q.loc=E.callee.loc;S.state.module.addDependency(q);S.walkExpressions(E.arguments);return true}))}))};k.hooks.parser.for("javascript/auto").tap("ProvidePlugin",handler);k.hooks.parser.for("javascript/dynamic").tap("ProvidePlugin",handler);k.hooks.parser.for("javascript/esm").tap("ProvidePlugin",handler)}))}}S.exports=ProvidePlugin},22804:(S,E,k)=>{"use strict";const{OriginalSource:w,RawSource:N}=k(48135);const j=k(53453);const q=k(56202);const ee=new Set(["javascript"]);class RawModule extends j{constructor(S,E,k,w){super("javascript/dynamic",null);this.sourceStr=S;this.identifierStr=E||this.sourceStr;this.readableIdentifierStr=k||this.identifierStr;this.runtimeRequirements=w||null}getSourceTypes(){return ee}identifier(){return this.identifierStr}size(S){return Math.max(1,this.sourceStr.length)}readableIdentifier(S){return S.shorten(this.readableIdentifierStr)}needBuild(S,E){return E(null,!this.buildMeta)}build(S,E,k,w,N){this.buildMeta={};this.buildInfo={cacheable:true};N()}codeGeneration(S){const E=new Map;if(this.useSourceMap||this.useSimpleSourceMap){E.set("javascript",new w(this.sourceStr,this.identifier()))}else{E.set("javascript",new N(this.sourceStr))}return{sources:E,runtimeRequirements:this.runtimeRequirements}}updateHash(S,E){S.update(this.sourceStr);super.updateHash(S,E)}serialize(S){const{write:E}=S;E(this.sourceStr);E(this.identifierStr);E(this.readableIdentifierStr);E(this.runtimeRequirements);super.serialize(S)}deserialize(S){const{read:E}=S;this.sourceStr=E();this.identifierStr=E();this.readableIdentifierStr=E();this.runtimeRequirements=E();super.deserialize(S)}}q(RawModule,"webpack/lib/RawModule");S.exports=RawModule},43806:(S,E,k)=>{"use strict";const{compareNumbers:w}=k(68673);const N=k(49197);class RecordIdsPlugin{constructor(S){this.options=S||{}}apply(S){const E=this.options.portableIds;const k=N.makePathsRelative.bindContextCache(S.context,S.root);const getModuleIdentifier=S=>{if(E){return k(S.identifier())}return S.identifier()};S.hooks.compilation.tap("RecordIdsPlugin",(S=>{S.hooks.recordModules.tap("RecordIdsPlugin",((E,k)=>{const N=S.chunkGraph;if(!k.modules)k.modules={};if(!k.modules.byIdentifier)k.modules.byIdentifier={};const j=new Set;for(const S of E){const E=N.getModuleId(S);if(typeof E!=="number")continue;const w=getModuleIdentifier(S);k.modules.byIdentifier[w]=E;j.add(E)}k.modules.usedIds=Array.from(j).sort(w)}));S.hooks.reviveModules.tap("RecordIdsPlugin",((E,k)=>{if(!k.modules)return;if(k.modules.byIdentifier){const w=S.chunkGraph;const N=new Set;for(const S of E){const E=w.getModuleId(S);if(E!==null)continue;const j=getModuleIdentifier(S);const q=k.modules.byIdentifier[j];if(q===undefined)continue;if(N.has(q))continue;N.add(q);w.setModuleId(S,q)}}if(Array.isArray(k.modules.usedIds)){S.usedModuleIds=new Set(k.modules.usedIds)}}));const getChunkSources=S=>{const E=[];for(const k of S.groupsIterable){const w=k.chunks.indexOf(S);if(k.name){E.push(`${w} ${k.name}`)}else{for(const S of k.origins){if(S.module){if(S.request){E.push(`${w} ${getModuleIdentifier(S.module)} ${S.request}`)}else if(typeof S.loc==="string"){E.push(`${w} ${getModuleIdentifier(S.module)} ${S.loc}`)}else if(S.loc&&typeof S.loc==="object"&&"start"in S.loc){E.push(`${w} ${getModuleIdentifier(S.module)} ${JSON.stringify(S.loc.start)}`)}}}}}return E};S.hooks.recordChunks.tap("RecordIdsPlugin",((S,E)=>{if(!E.chunks)E.chunks={};if(!E.chunks.byName)E.chunks.byName={};if(!E.chunks.bySource)E.chunks.bySource={};const k=new Set;for(const w of S){if(typeof w.id!=="number")continue;const S=w.name;if(S)E.chunks.byName[S]=w.id;const N=getChunkSources(w);for(const S of N){E.chunks.bySource[S]=w.id}k.add(w.id)}E.chunks.usedIds=Array.from(k).sort(w)}));S.hooks.reviveChunks.tap("RecordIdsPlugin",((E,k)=>{if(!k.chunks)return;const w=new Set;if(k.chunks.byName){for(const S of E){if(S.id!==null)continue;if(!S.name)continue;const E=k.chunks.byName[S.name];if(E===undefined)continue;if(w.has(E))continue;w.add(E);S.id=E;S.ids=[E]}}if(k.chunks.bySource){for(const S of E){if(S.id!==null)continue;const E=getChunkSources(S);for(const N of E){const E=k.chunks.bySource[N];if(E===undefined)continue;if(w.has(E))continue;w.add(E);S.id=E;S.ids=[E];break}}}if(Array.isArray(k.chunks.usedIds)){S.usedChunkIds=new Set(k.chunks.usedIds)}}))}))}}S.exports=RecordIdsPlugin},80910:(S,E,k)=>{"use strict";const{contextify:w}=k(49197);class RequestShortener{constructor(S,E){this.contextify=w.bindContextCache(S,E)}shorten(S){if(!S){return S}return this.contextify(S)}}S.exports=RequestShortener},10830:(S,E,k)=>{"use strict";const w=k(76150);const N=k(66298);const{toConstantDependency:j}=k(48472);S.exports=class RequireJsStuffPlugin{apply(S){S.hooks.compilation.tap("RequireJsStuffPlugin",((S,{normalModuleFactory:E})=>{S.dependencyTemplates.set(N,new N.Template);const handler=(S,E)=>{if(E.requireJs===undefined||!E.requireJs){return}S.hooks.call.for("require.config").tap("RequireJsStuffPlugin",j(S,"undefined"));S.hooks.call.for("requirejs.config").tap("RequireJsStuffPlugin",j(S,"undefined"));S.hooks.expression.for("require.version").tap("RequireJsStuffPlugin",j(S,JSON.stringify("0.0.0")));S.hooks.expression.for("requirejs.onError").tap("RequireJsStuffPlugin",j(S,w.uncaughtErrorHandler,[w.uncaughtErrorHandler]))};E.hooks.parser.for("javascript/auto").tap("RequireJsStuffPlugin",handler);E.hooks.parser.for("javascript/dynamic").tap("RequireJsStuffPlugin",handler)}))}}},1819:(S,E,k)=>{"use strict";const w=k(2357).ResolverFactory;const{HookMap:N,SyncHook:j,SyncWaterfallHook:q}=k(92960);const{cachedCleverMerge:ee,removeOperations:te,resolveByProperty:ne}=k(90149);const ae={};const convertToResolveOptions=S=>{const{dependencyType:E,plugins:k,...w}=S;const N={...w,plugins:k&&k.filter((S=>S!=="..."))};if(!N.fileSystem){throw new Error("fileSystem is missing in resolveOptions, but it's required for enhanced-resolve")}const j=N;return te(ne(j,"byDependency",E))};S.exports=class ResolverFactory{constructor(){this.hooks=Object.freeze({resolveOptions:new N((()=>new q(["resolveOptions"]))),resolver:new N((()=>new j(["resolver","resolveOptions","userResolveOptions"])))});this.cache=new Map}get(S,E=ae){let k=this.cache.get(S);if(!k){k={direct:new WeakMap,stringified:new Map};this.cache.set(S,k)}const w=k.direct.get(E);if(w){return w}const N=JSON.stringify(E);const j=k.stringified.get(N);if(j){k.direct.set(E,j);return j}const q=this._create(S,E);k.direct.set(E,q);k.stringified.set(N,q);return q}_create(S,E){const k={...E};const N=convertToResolveOptions(this.hooks.resolveOptions.for(S).call(E));const j=w.createResolver(N);if(!j){throw new Error("No resolver created")}const q=new WeakMap;j.withOptions=E=>{const w=q.get(E);if(w!==undefined)return w;const N=ee(k,E);const j=this.get(S,N);q.set(E,j);return j};this.hooks.resolver.for(S).call(j,N,k);return j}}},76150:(S,E)=>{"use strict";E.require="__webpack_require__";E.requireScope="__webpack_require__.*";E.exports="__webpack_exports__";E.thisAsExports="top-level-this-exports";E.returnExportsFromRuntime="return-exports-from-runtime";E.module="module";E.moduleId="module.id";E.moduleLoaded="module.loaded";E.publicPath="__webpack_require__.p";E.entryModuleId="__webpack_require__.s";E.moduleCache="__webpack_require__.c";E.moduleFactories="__webpack_require__.m";E.moduleFactoriesAddOnly="__webpack_require__.m (add only)";E.ensureChunk="__webpack_require__.e";E.ensureChunkHandlers="__webpack_require__.f";E.ensureChunkIncludeEntries="__webpack_require__.f (include entries)";E.prefetchChunk="__webpack_require__.E";E.prefetchChunkHandlers="__webpack_require__.F";E.preloadChunk="__webpack_require__.G";E.preloadChunkHandlers="__webpack_require__.H";E.definePropertyGetters="__webpack_require__.d";E.makeNamespaceObject="__webpack_require__.r";E.createFakeNamespaceObject="__webpack_require__.t";E.compatGetDefaultExport="__webpack_require__.n";E.harmonyModuleDecorator="__webpack_require__.hmd";E.nodeModuleDecorator="__webpack_require__.nmd";E.getFullHash="__webpack_require__.h";E.wasmInstances="__webpack_require__.w";E.instantiateWasm="__webpack_require__.v";E.uncaughtErrorHandler="__webpack_require__.oe";E.scriptNonce="__webpack_require__.nc";E.loadScript="__webpack_require__.l";E.createScriptUrl="__webpack_require__.tu";E.chunkName="__webpack_require__.cn";E.runtimeId="__webpack_require__.j";E.getChunkScriptFilename="__webpack_require__.u";E.getChunkUpdateScriptFilename="__webpack_require__.hu";E.startup="__webpack_require__.x";E.startupNoDefault="__webpack_require__.x (no default handler)";E.startupOnlyAfter="__webpack_require__.x (only after)";E.startupOnlyBefore="__webpack_require__.x (only before)";E.chunkCallback="webpackChunk";E.startupEntrypoint="__webpack_require__.X";E.onChunksLoaded="__webpack_require__.O";E.externalInstallChunk="__webpack_require__.C";E.interceptModuleExecution="__webpack_require__.i";E.global="__webpack_require__.g";E.shareScopeMap="__webpack_require__.S";E.initializeSharing="__webpack_require__.I";E.currentRemoteGetScope="__webpack_require__.R";E.getUpdateManifestFilename="__webpack_require__.hmrF";E.hmrDownloadManifest="__webpack_require__.hmrM";E.hmrDownloadUpdateHandlers="__webpack_require__.hmrC";E.hmrModuleData="__webpack_require__.hmrD";E.hmrInvalidateModuleHandlers="__webpack_require__.hmrI";E.amdDefine="__webpack_require__.amdD";E.amdOptions="__webpack_require__.amdO";E.system="__webpack_require__.System";E.hasOwnProperty="__webpack_require__.o";E.systemContext="__webpack_require__.y";E.baseURI="__webpack_require__.b";E.relativeUrl="__webpack_require__.U";E.asyncModule="__webpack_require__.a"},66804:(S,E,k)=>{"use strict";const{RawSource:w}=k(48135);const N=k(48135).OriginalSource;const j=k(53453);const q=new Set(["runtime"]);class RuntimeModule extends j{constructor(S,E=0){super("runtime");this.name=S;this.stage=E;this.buildMeta={};this.buildInfo={};this.compilation=undefined;this.chunk=undefined;this.chunkGraph=undefined;this.fullHash=false;this._cachedGeneratedCode=undefined}attach(S,E,k=S.chunkGraph){this.compilation=S;this.chunk=E;this.chunkGraph=k}identifier(){return`webpack/runtime/${this.name}`}readableIdentifier(S){return`webpack/runtime/${this.name}`}needBuild(S,E){return E(null,false)}build(S,E,k,w,N){N()}updateHash(S,E){S.update(this.name);S.update(`${this.stage}`);try{if(this.fullHash){S.update(this.generate())}else{S.update(this.getGeneratedCode())}}catch(E){S.update(E.message)}super.updateHash(S,E)}getSourceTypes(){return q}codeGeneration(S){const E=new Map;const k=this.getGeneratedCode();if(k){E.set("runtime",this.useSourceMap||this.useSimpleSourceMap?new N(k,this.identifier()):new w(k))}return{sources:E,runtimeRequirements:null}}size(S){try{const S=this.getGeneratedCode();return S?S.length:0}catch(S){return 0}}generate(){const S=k(75884);throw new S}getGeneratedCode(){if(this._cachedGeneratedCode){return this._cachedGeneratedCode}return this._cachedGeneratedCode=this.generate()}shouldIsolate(){return true}}RuntimeModule.STAGE_NORMAL=0;RuntimeModule.STAGE_BASIC=5;RuntimeModule.STAGE_ATTACH=10;RuntimeModule.STAGE_TRIGGER=20;S.exports=RuntimeModule},89818:(S,E,k)=>{"use strict";const w=k(76150);const N=k(35424);const j=k(18161);const q=k(84997);const ee=k(31164);const te=k(90202);const ne=k(16710);const ae=k(3236);const _e=k(44160);const ve=k(58957);const Ee=k(59179);const Te=k(9609);const Ce=k(36100);const we=k(13376);const Ne=k(37522);const Ie=k(67104);const Fe=k(14676);const Oe=k(8299);const Me=k(48977);const Re=k(21355);const Le=k(41982);const Be=k(76752);const je=k(54825);const ze=k(14146);const Ue=[w.chunkName,w.runtimeId,w.compatGetDefaultExport,w.createFakeNamespaceObject,w.createScriptUrl,w.definePropertyGetters,w.ensureChunk,w.entryModuleId,w.getFullHash,w.global,w.makeNamespaceObject,w.moduleCache,w.moduleFactories,w.moduleFactoriesAddOnly,w.interceptModuleExecution,w.publicPath,w.baseURI,w.relativeUrl,w.scriptNonce,w.uncaughtErrorHandler,w.asyncModule,w.wasmInstances,w.instantiateWasm,w.shareScopeMap,w.initializeSharing,w.loadScript,w.systemContext,w.onChunksLoaded];const We={[w.moduleLoaded]:[w.module],[w.moduleId]:[w.module]};const $e={[w.definePropertyGetters]:[w.hasOwnProperty],[w.compatGetDefaultExport]:[w.definePropertyGetters],[w.createFakeNamespaceObject]:[w.definePropertyGetters,w.makeNamespaceObject,w.require],[w.initializeSharing]:[w.shareScopeMap],[w.shareScopeMap]:[w.hasOwnProperty]};class RuntimePlugin{apply(S){S.hooks.compilation.tap("RuntimePlugin",(S=>{S.dependencyTemplates.set(N,new N.Template);for(const E of Ue){S.hooks.runtimeRequirementInModule.for(E).tap("RuntimePlugin",((S,E)=>{E.add(w.requireScope)}));S.hooks.runtimeRequirementInTree.for(E).tap("RuntimePlugin",((S,E)=>{E.add(w.requireScope)}))}for(const E of Object.keys($e)){const k=$e[E];S.hooks.runtimeRequirementInTree.for(E).tap("RuntimePlugin",((S,E)=>{for(const S of k)E.add(S)}))}for(const E of Object.keys(We)){const k=We[E];S.hooks.runtimeRequirementInModule.for(E).tap("RuntimePlugin",((S,E)=>{for(const S of k)E.add(S)}))}S.hooks.runtimeRequirementInTree.for(w.definePropertyGetters).tap("RuntimePlugin",(E=>{S.addRuntimeModule(E,new ve);return true}));S.hooks.runtimeRequirementInTree.for(w.makeNamespaceObject).tap("RuntimePlugin",(E=>{S.addRuntimeModule(E,new Fe);return true}));S.hooks.runtimeRequirementInTree.for(w.createFakeNamespaceObject).tap("RuntimePlugin",(E=>{S.addRuntimeModule(E,new ae);return true}));S.hooks.runtimeRequirementInTree.for(w.hasOwnProperty).tap("RuntimePlugin",(E=>{S.addRuntimeModule(E,new Ne);return true}));S.hooks.runtimeRequirementInTree.for(w.compatGetDefaultExport).tap("RuntimePlugin",(E=>{S.addRuntimeModule(E,new te);return true}));S.hooks.runtimeRequirementInTree.for(w.runtimeId).tap("RuntimePlugin",(E=>{S.addRuntimeModule(E,new Le);return true}));S.hooks.runtimeRequirementInTree.for(w.publicPath).tap("RuntimePlugin",((E,k)=>{const{outputOptions:N}=S;const{publicPath:j,scriptType:q}=N;const te=E.getEntryOptions();const ne=te&&te.publicPath!==undefined?te.publicPath:j;if(ne==="auto"){const N=new ee;if(q!=="module")k.add(w.global);S.addRuntimeModule(E,N)}else{const k=new Me(ne);if(typeof ne!=="string"||/\[(full)?hash\]/.test(ne)){k.fullHash=true}S.addRuntimeModule(E,k)}return true}));S.hooks.runtimeRequirementInTree.for(w.global).tap("RuntimePlugin",(E=>{S.addRuntimeModule(E,new we);return true}));S.hooks.runtimeRequirementInTree.for(w.asyncModule).tap("RuntimePlugin",(E=>{S.addRuntimeModule(E,new q);return true}));S.hooks.runtimeRequirementInTree.for(w.systemContext).tap("RuntimePlugin",(E=>{if(S.outputOptions.library.type==="system"){S.addRuntimeModule(E,new Be)}return true}));S.hooks.runtimeRequirementInTree.for(w.getChunkScriptFilename).tap("RuntimePlugin",((E,k)=>{if(typeof S.outputOptions.chunkFilename==="string"&&/\[(full)?hash(:\d+)?\]/.test(S.outputOptions.chunkFilename)){k.add(w.getFullHash)}S.addRuntimeModule(E,new Te("javascript","javascript",w.getChunkScriptFilename,(E=>E.filenameTemplate||(E.canBeInitial()?S.outputOptions.filename:S.outputOptions.chunkFilename)),false));return true}));S.hooks.runtimeRequirementInTree.for(w.getChunkUpdateScriptFilename).tap("RuntimePlugin",((E,k)=>{if(/\[(full)?hash(:\d+)?\]/.test(S.outputOptions.hotUpdateChunkFilename))k.add(w.getFullHash);S.addRuntimeModule(E,new Te("javascript","javascript update",w.getChunkUpdateScriptFilename,(E=>S.outputOptions.hotUpdateChunkFilename),true));return true}));S.hooks.runtimeRequirementInTree.for(w.getUpdateManifestFilename).tap("RuntimePlugin",((E,k)=>{if(/\[(full)?hash(:\d+)?\]/.test(S.outputOptions.hotUpdateMainFilename)){k.add(w.getFullHash)}S.addRuntimeModule(E,new Ce("update manifest",w.getUpdateManifestFilename,S.outputOptions.hotUpdateMainFilename));return true}));S.hooks.runtimeRequirementInTree.for(w.ensureChunk).tap("RuntimePlugin",((E,k)=>{const N=E.hasAsyncChunks();if(N){k.add(w.ensureChunkHandlers)}S.addRuntimeModule(E,new Ee(k));return true}));S.hooks.runtimeRequirementInTree.for(w.ensureChunkIncludeEntries).tap("RuntimePlugin",((S,E)=>{E.add(w.ensureChunkHandlers)}));S.hooks.runtimeRequirementInTree.for(w.shareScopeMap).tap("RuntimePlugin",((E,k)=>{S.addRuntimeModule(E,new je);return true}));S.hooks.runtimeRequirementInTree.for(w.loadScript).tap("RuntimePlugin",((E,k)=>{const N=!!S.outputOptions.trustedTypes;if(N){k.add(w.createScriptUrl)}S.addRuntimeModule(E,new Ie(N));return true}));S.hooks.runtimeRequirementInTree.for(w.createScriptUrl).tap("RuntimePlugin",((E,k)=>{S.addRuntimeModule(E,new _e);return true}));S.hooks.runtimeRequirementInTree.for(w.relativeUrl).tap("RuntimePlugin",((E,k)=>{S.addRuntimeModule(E,new Re);return true}));S.hooks.runtimeRequirementInTree.for(w.onChunksLoaded).tap("RuntimePlugin",((E,k)=>{S.addRuntimeModule(E,new Oe);return true}));S.hooks.additionalTreeRuntimeRequirements.tap("RuntimePlugin",((E,k)=>{const{mainTemplate:w}=S;if(w.hooks.bootstrap.isUsed()||w.hooks.localVars.isUsed()||w.hooks.requireEnsure.isUsed()||w.hooks.requireExtensions.isUsed()){S.addRuntimeModule(E,new ne)}}));j.getCompilationHooks(S).chunkHash.tap("RuntimePlugin",((S,E,{chunkGraph:k})=>{const w=new ze;for(const E of k.getChunkRuntimeModulesIterable(S)){w.add(k.getModuleHash(E,S.runtime))}w.updateHash(E)}))}))}}S.exports=RuntimePlugin},37130:(S,E,k)=>{"use strict";const w=k(63272);const N=k(76150);const j=k(58159);const{equals:q}=k(73910);const ee=k(87274);const te=k(68038);const{forEachRuntime:ne,subtractRuntime:ae}=k(37416);const noModuleIdErrorMessage=(S,E)=>`Module ${S.identifier()} has no id assigned.\nThis should not happen.\nIt's in these chunks: ${Array.from(E.getModuleChunksIterable(S),(S=>S.name||S.id||S.debugId)).join(", ")||"none"} (If module is in no chunk this indicates a bug in some chunk/module optimization logic)\nModule has these incoming connections: ${Array.from(E.moduleGraph.getIncomingConnections(S),(S=>`\n - ${S.originModule&&S.originModule.identifier()} ${S.dependency&&S.dependency.type} ${S.explanations&&Array.from(S.explanations).join(", ")||""}`)).join("")}`;class RuntimeTemplate{constructor(S,E,k){this.compilation=S;this.outputOptions=E||{};this.requestShortener=k}isIIFE(){return this.outputOptions.iife}isModule(){return this.outputOptions.module}supportsConst(){return this.outputOptions.environment.const}supportsArrowFunction(){return this.outputOptions.environment.arrowFunction}supportsForOf(){return this.outputOptions.environment.forOf}supportsDestructuring(){return this.outputOptions.environment.destructuring}supportsBigIntLiteral(){return this.outputOptions.environment.bigIntLiteral}supportsDynamicImport(){return this.outputOptions.environment.dynamicImport}supportsEcmaScriptModuleSyntax(){return this.outputOptions.environment.module}supportTemplateLiteral(){return false}returningFunction(S,E=""){return this.supportsArrowFunction()?`(${E}) => (${S})`:`function(${E}) { return ${S}; }`}basicFunction(S,E){return this.supportsArrowFunction()?`(${S}) => {\n${j.indent(E)}\n}`:`function(${S}) {\n${j.indent(E)}\n}`}expressionFunction(S,E=""){return this.supportsArrowFunction()?`(${E}) => (${S})`:`function(${E}) { ${S}; }`}emptyFunction(){return this.supportsArrowFunction()?"x => {}":"function() {}"}destructureArray(S,E){return this.supportsDestructuring()?`var [${S.join(", ")}] = ${E};`:j.asString(S.map(((S,k)=>`var ${S} = ${E}[${k}];`)))}destructureObject(S,E){return this.supportsDestructuring()?`var {${S.join(", ")}} = ${E};`:j.asString(S.map((S=>`var ${S} = ${E}${te([S])};`)))}iife(S,E){return`(${this.basicFunction(S,E)})()`}forEach(S,E,k){return this.supportsForOf()?`for(const ${S} of ${E}) {\n${j.indent(k)}\n}`:`${E}.forEach(function(${S}) {\n${j.indent(k)}\n});`}comment({request:S,chunkName:E,chunkReason:k,message:w,exportName:N}){let q;if(this.outputOptions.pathinfo){q=[w,S,E,k].filter(Boolean).map((S=>this.requestShortener.shorten(S))).join(" | ")}else{q=[w,E,k].filter(Boolean).map((S=>this.requestShortener.shorten(S))).join(" | ")}if(!q)return"";if(this.outputOptions.pathinfo){return j.toComment(q)+" "}else{return j.toNormalComment(q)+" "}}throwMissingModuleErrorBlock({request:S}){const E=`Cannot find module '${S}'`;return`var e = new Error(${JSON.stringify(E)}); e.code = 'MODULE_NOT_FOUND'; throw e;`}throwMissingModuleErrorFunction({request:S}){return`function webpackMissingModule() { ${this.throwMissingModuleErrorBlock({request:S})} }`}missingModule({request:S}){return`Object(${this.throwMissingModuleErrorFunction({request:S})}())`}missingModuleStatement({request:S}){return`${this.missingModule({request:S})};\n`}missingModulePromise({request:S}){return`Promise.resolve().then(${this.throwMissingModuleErrorFunction({request:S})})`}weakError({module:S,chunkGraph:E,request:k,idExpr:w,type:N}){const q=E.getModuleId(S);const ee=q===null?JSON.stringify("Module is not available (weak dependency)"):w?`"Module '" + ${w} + "' is not available (weak dependency)"`:JSON.stringify(`Module '${q}' is not available (weak dependency)`);const te=k?j.toNormalComment(k)+" ":"";const ne=`var e = new Error(${ee}); `+te+"e.code = 'MODULE_NOT_FOUND'; throw e;";switch(N){case"statements":return ne;case"promise":return`Promise.resolve().then(${this.basicFunction("",ne)})`;case"expression":return this.iife("",ne)}}moduleId({module:S,chunkGraph:E,request:k,weak:w}){if(!S){return this.missingModule({request:k})}const N=E.getModuleId(S);if(N===null){if(w){return"null /* weak dependency, without id */"}throw new Error(`RuntimeTemplate.moduleId(): ${noModuleIdErrorMessage(S,E)}`)}return`${this.comment({request:k})}${JSON.stringify(N)}`}moduleRaw({module:S,chunkGraph:E,request:k,weak:w,runtimeRequirements:j}){if(!S){return this.missingModule({request:k})}const q=E.getModuleId(S);if(q===null){if(w){return this.weakError({module:S,chunkGraph:E,request:k,type:"expression"})}throw new Error(`RuntimeTemplate.moduleId(): ${noModuleIdErrorMessage(S,E)}`)}j.add(N.require);return`__webpack_require__(${this.moduleId({module:S,chunkGraph:E,request:k,weak:w})})`}moduleExports({module:S,chunkGraph:E,request:k,weak:w,runtimeRequirements:N}){return this.moduleRaw({module:S,chunkGraph:E,request:k,weak:w,runtimeRequirements:N})}moduleNamespace({module:S,chunkGraph:E,request:k,strict:w,weak:j,runtimeRequirements:q}){if(!S){return this.missingModule({request:k})}if(E.getModuleId(S)===null){if(j){return this.weakError({module:S,chunkGraph:E,request:k,type:"expression"})}throw new Error(`RuntimeTemplate.moduleNamespace(): ${noModuleIdErrorMessage(S,E)}`)}const ee=this.moduleId({module:S,chunkGraph:E,request:k,weak:j});const te=S.getExportsType(E.moduleGraph,w);switch(te){case"namespace":return this.moduleRaw({module:S,chunkGraph:E,request:k,weak:j,runtimeRequirements:q});case"default-with-named":q.add(N.createFakeNamespaceObject);return`${N.createFakeNamespaceObject}(${ee}, 3)`;case"default-only":q.add(N.createFakeNamespaceObject);return`${N.createFakeNamespaceObject}(${ee}, 1)`;case"dynamic":q.add(N.createFakeNamespaceObject);return`${N.createFakeNamespaceObject}(${ee}, 7)`}}moduleNamespacePromise({chunkGraph:S,block:E,module:k,request:w,message:j,strict:q,weak:ee,runtimeRequirements:te}){if(!k){return this.missingModulePromise({request:w})}const ne=S.getModuleId(k);if(ne===null){if(ee){return this.weakError({module:k,chunkGraph:S,request:w,type:"promise"})}throw new Error(`RuntimeTemplate.moduleNamespacePromise(): ${noModuleIdErrorMessage(k,S)}`)}const ae=this.blockPromise({chunkGraph:S,block:E,message:j,runtimeRequirements:te});let _e;let ve=JSON.stringify(S.getModuleId(k));const Ee=this.comment({request:w});let Te="";if(ee){if(ve.length>8){Te+=`var id = ${ve}; `;ve="id"}te.add(N.moduleFactories);Te+=`if(!${N.moduleFactories}[${ve}]) { ${this.weakError({module:k,chunkGraph:S,request:w,idExpr:ve,type:"statements"})} } `}const Ce=this.moduleId({module:k,chunkGraph:S,request:w,weak:ee});const we=k.getExportsType(S.moduleGraph,q);let Ne=16;switch(we){case"namespace":if(Te){const E=this.moduleRaw({module:k,chunkGraph:S,request:w,weak:ee,runtimeRequirements:te});_e=`.then(${this.basicFunction("",`${Te}return ${E};`)})`}else{te.add(N.require);_e=`.then(__webpack_require__.bind(__webpack_require__, ${Ee}${ve}))`}break;case"dynamic":Ne|=4;case"default-with-named":Ne|=2;case"default-only":te.add(N.createFakeNamespaceObject);if(S.moduleGraph.isAsync(k)){if(Te){const E=this.moduleRaw({module:k,chunkGraph:S,request:w,weak:ee,runtimeRequirements:te});_e=`.then(${this.basicFunction("",`${Te}return ${E};`)})`}else{te.add(N.require);_e=`.then(__webpack_require__.bind(__webpack_require__, ${Ee}${ve}))`}_e+=`.then(${this.returningFunction(`${N.createFakeNamespaceObject}(m, ${Ne})`,"m")})`}else{Ne|=1;if(Te){const S=`${N.createFakeNamespaceObject}(${Ce}, ${Ne})`;_e=`.then(${this.basicFunction("",`${Te}return ${S};`)})`}else{_e=`.then(${N.createFakeNamespaceObject}.bind(__webpack_require__, ${Ee}${ve}, ${Ne}))`}}break}return`${ae||"Promise.resolve()"}${_e}`}runtimeConditionExpression({chunkGraph:S,runtimeCondition:E,runtime:k,runtimeRequirements:w}){if(E===undefined)return"true";if(typeof E==="boolean")return`${E}`;const j=new Set;ne(E,(E=>j.add(`${S.getRuntimeId(E)}`)));const q=new Set;ne(ae(k,E),(E=>q.add(`${S.getRuntimeId(E)}`)));w.add(N.runtimeId);return ee.fromLists(Array.from(j),Array.from(q))(N.runtimeId)}importStatement({update:S,module:E,chunkGraph:k,request:w,importVar:j,originModule:q,weak:ee,runtimeRequirements:te}){if(!E){return[this.missingModuleStatement({request:w}),""]}if(k.getModuleId(E)===null){if(ee){return[this.weakError({module:E,chunkGraph:k,request:w,type:"statements"}),""]}throw new Error(`RuntimeTemplate.importStatement(): ${noModuleIdErrorMessage(E,k)}`)}const ne=this.moduleId({module:E,chunkGraph:k,request:w,weak:ee});const ae=S?"":"var ";const _e=E.getExportsType(k.moduleGraph,q.buildMeta.strictHarmonyModule);te.add(N.require);const ve=`/* harmony import */ ${ae}${j} = __webpack_require__(${ne});\n`;if(_e==="dynamic"){te.add(N.compatGetDefaultExport);return[ve,`/* harmony import */ ${ae}${j}_default = /*#__PURE__*/${N.compatGetDefaultExport}(${j});\n`]}return[ve,""]}exportFromImport({moduleGraph:S,module:E,request:k,exportName:ee,originModule:ne,asiSafe:ae,isCall:_e,callContext:ve,defaultInterop:Ee,importVar:Te,initFragments:Ce,runtime:we,runtimeRequirements:Ne}){if(!E){return this.missingModule({request:k})}if(!Array.isArray(ee)){ee=ee?[ee]:[]}const Ie=E.getExportsType(S,ne.buildMeta.strictHarmonyModule);if(Ee){if(ee.length>0&&ee[0]==="default"){switch(Ie){case"dynamic":if(_e){return`${Te}_default()${te(ee,1)}`}else{return ae?`(${Te}_default()${te(ee,1)})`:ae===false?`;(${Te}_default()${te(ee,1)})`:`${Te}_default.a${te(ee,1)}`}case"default-only":case"default-with-named":ee=ee.slice(1);break}}else if(ee.length>0){if(Ie==="default-only"){return"/* non-default import from non-esm module */undefined"+te(ee,1)}else if(Ie!=="namespace"&&ee[0]==="__esModule"){return"/* __esModule */true"}}else if(Ie==="default-only"||Ie==="default-with-named"){Ne.add(N.createFakeNamespaceObject);Ce.push(new w(`var ${Te}_namespace_cache;\n`,w.STAGE_CONSTANTS,-1,`${Te}_namespace_cache`));return`/*#__PURE__*/ ${ae?"":ae===false?";":"Object"}(${Te}_namespace_cache || (${Te}_namespace_cache = ${N.createFakeNamespaceObject}(${Te}${Ie==="default-only"?"":", 2"})))`}}if(ee.length>0){const k=S.getExportsInfo(E);const w=k.getUsedName(ee,we);if(!w){const S=j.toNormalComment(`unused export ${te(ee)}`);return`${S} undefined`}const N=q(w,ee)?"":j.toNormalComment(te(ee))+" ";const ne=`${Te}${N}${te(w)}`;if(_e&&ve===false){return ae?`(0,${ne})`:ae===false?`;(0,${ne})`:`Object(${ne})`}return ne}else{return Te}}blockPromise({block:S,message:E,chunkGraph:k,runtimeRequirements:w}){if(!S){const S=this.comment({message:E});return`Promise.resolve(${S.trim()})`}const j=k.getBlockChunkGroup(S);if(!j||j.chunks.length===0){const S=this.comment({message:E});return`Promise.resolve(${S.trim()})`}const q=j.chunks.filter((S=>!S.hasRuntime()&&S.id!==null));const ee=this.comment({message:E,chunkName:S.chunkName});if(q.length===1){const S=JSON.stringify(q[0].id);w.add(N.ensureChunk);return`${N.ensureChunk}(${ee}${S})`}else if(q.length>0){w.add(N.ensureChunk);const requireChunkId=S=>`${N.ensureChunk}(${JSON.stringify(S.id)})`;return`Promise.all(${ee.trim()}[${q.map(requireChunkId).join(", ")}])`}else{return`Promise.resolve(${ee.trim()})`}}asyncModuleFactory({block:S,chunkGraph:E,runtimeRequirements:k,request:w}){const N=S.dependencies[0];const j=E.moduleGraph.getModule(N);const q=this.blockPromise({block:S,message:"",chunkGraph:E,runtimeRequirements:k});const ee=this.returningFunction(this.moduleRaw({module:j,chunkGraph:E,request:w,runtimeRequirements:k}));return this.returningFunction(q.startsWith("Promise.resolve(")?`${ee}`:`${q}.then(${this.returningFunction(ee)})`)}syncModuleFactory({dependency:S,chunkGraph:E,runtimeRequirements:k,request:w}){const N=E.moduleGraph.getModule(S);const j=this.returningFunction(this.moduleRaw({module:N,chunkGraph:E,request:w,runtimeRequirements:k}));return this.returningFunction(j)}defineEsModuleFlagStatement({exportsArgument:S,runtimeRequirements:E}){E.add(N.makeNamespaceObject);E.add(N.exports);return`${N.makeNamespaceObject}(${S});\n`}}S.exports=RuntimeTemplate},31141:S=>{"use strict";class SelfModuleFactory{constructor(S){this.moduleGraph=S}create(S,E){const k=this.moduleGraph.getParentModule(S.dependencies[0]);E(null,{module:k})}}S.exports=SelfModuleFactory},9192:(S,E)=>{"use strict";E.formatSize=S=>{if(typeof S!=="number"||Number.isNaN(S)===true){return"unknown size"}if(S<=0){return"0 bytes"}const E=["bytes","KiB","MiB","GiB"];const k=Math.floor(Math.log(S)/Math.log(1024));return`${+(S/Math.pow(1024,k)).toPrecision(3)} ${E[k]}`}},26867:(S,E,k)=>{"use strict";const w=k(18161);class SourceMapDevToolModuleOptionsPlugin{constructor(S){this.options=S}apply(S){const E=this.options;if(E.module!==false){S.hooks.buildModule.tap("SourceMapDevToolModuleOptionsPlugin",(S=>{S.useSourceMap=true}));S.hooks.runtimeModule.tap("SourceMapDevToolModuleOptionsPlugin",(S=>{S.useSourceMap=true}))}else{S.hooks.buildModule.tap("SourceMapDevToolModuleOptionsPlugin",(S=>{S.useSimpleSourceMap=true}));S.hooks.runtimeModule.tap("SourceMapDevToolModuleOptionsPlugin",(S=>{S.useSimpleSourceMap=true}))}w.getCompilationHooks(S).useSourceMap.tap("SourceMapDevToolModuleOptionsPlugin",(()=>true))}}S.exports=SourceMapDevToolModuleOptionsPlugin},2e4:(S,E,k)=>{"use strict";const w=k(62355);const{ConcatSource:N,RawSource:j}=k(48135);const q=k(3080);const ee=k(70354);const te=k(52923);const ne=k(26867);const ae=k(35817);const _e=k(35891);const{relative:ve,dirname:Ee}=k(95396);const{absolutify:Te}=k(49197);const Ce=ae(k(68337),(()=>k(82037)),{name:"SourceMap DevTool Plugin",baseDataPath:"options"});const quoteMeta=S=>S.replace(/[-[\]\\/{}()*+?.^$|]/g,"\\$&");const getTaskForFile=(S,E,k,w,N,j)=>{let q;let ee;if(E.sourceAndMap){const S=E.sourceAndMap(w);ee=S.map;q=S.source}else{ee=E.map(w);q=E.source()}if(!ee||typeof q!=="string")return;const te=N.options.context;const ne=N.compiler.root;const ae=Te.bindContextCache(te,ne);const _e=ee.sources.map((S=>{if(!S.startsWith("webpack://"))return S;S=ae(S.slice(10));const E=N.findModule(S);return E||S}));return{file:S,asset:E,source:q,assetInfo:k,sourceMap:ee,modules:_e,cacheItem:j}};class SourceMapDevToolPlugin{constructor(S={}){Ce(S);this.sourceMapFilename=S.filename;this.sourceMappingURLComment=S.append===false?false:S.append||"\n//# source"+"MappingURL=[url]";this.moduleFilenameTemplate=S.moduleFilenameTemplate||"webpack://[namespace]/[resourcePath]";this.fallbackModuleFilenameTemplate=S.fallbackModuleFilenameTemplate||"webpack://[namespace]/[resourcePath]?[hash]";this.namespace=S.namespace||"";this.options=S}apply(S){const E=S.outputFileSystem;const k=this.sourceMapFilename;const ae=this.sourceMappingURLComment;const Te=this.moduleFilenameTemplate;const Ce=this.namespace;const we=this.fallbackModuleFilenameTemplate;const Ne=S.requestShortener;const Ie=this.options;Ie.test=Ie.test||/\.(m?js|css)($|\?)/i;const Fe=ee.matchObject.bind(undefined,Ie);S.hooks.compilation.tap("SourceMapDevToolPlugin",(S=>{new ne(Ie).apply(S);S.hooks.processAssets.tapAsync({name:"SourceMapDevToolPlugin",stage:q.PROCESS_ASSETS_STAGE_DEV_TOOLING,additionalAssets:true},((q,ne)=>{const Oe=S.chunkGraph;const Me=S.getCache("SourceMapDevToolPlugin");const Re=new Map;const Le=te.getReporter(S.compiler)||(()=>{});const Be=new Map;for(const E of S.chunks){for(const S of E.files){Be.set(S,E)}for(const S of E.auxiliaryFiles){Be.set(S,E)}}const je=[];for(const S of Object.keys(q)){if(Fe(S)){je.push(S)}}Le(0);const ze=[];let Ue=0;w.each(je,((E,k)=>{const w=S.getAsset(E);if(w.info.related&&w.info.related.sourceMap){Ue++;return k()}const N=Me.getItemCache(E,Me.mergeEtags(Me.getLazyHashedEtag(w.source),Ce));N.get(((j,q)=>{if(j){return k(j)}if(q){const{assets:w,assetsInfo:N}=q;for(const k of Object.keys(w)){if(k===E){S.updateAsset(k,w[k],N[k])}else{S.emitAsset(k,w[k],N[k])}if(k!==E){const S=Be.get(E);if(S!==undefined)S.auxiliaryFiles.add(k)}}Le(.5*++Ue/je.length,E,"restored cached SourceMap");return k()}Le(.5*Ue/je.length,E,"generate SourceMap");const te=getTaskForFile(E,w.source,w.info,{module:Ie.module,columns:Ie.columns},S,N);if(te){const S=te.modules;for(let E=0;E{if(q){return ne(q)}Le(.5,"resolve sources");const te=new Set(Re.values());const Te=new Set;const Fe=Array.from(Re.keys()).sort(((S,E)=>{const k=typeof S==="string"?S:S.identifier();const w=typeof E==="string"?E:E.identifier();return k.length-w.length}));for(let S=0;S{const ee=Object.create(null);const te=Object.create(null);const ne=w.file;const Te=Be.get(ne);const Ce=w.sourceMap;const we=w.source;const Ne=w.modules;Le(.5+.5*Me/ze.length,ne,"attach SourceMap");const Fe=Ne.map((S=>Re.get(S)));Ce.sources=Fe;if(Ie.noSources){Ce.sourcesContent=undefined}Ce.sourceRoot=Ie.sourceRoot||"";Ce.file=ne;const Oe=k&&/\[contenthash(:\w+)?\]/.test(k);if(Oe&&w.assetInfo.contenthash){const S=w.assetInfo.contenthash;let E;if(Array.isArray(S)){E=S.map(quoteMeta).join("|")}else{E=quoteMeta(S)}Ce.file=Ce.file.replace(new RegExp(E,"g"),(S=>"x".repeat(S.length)))}let je=ae;if(je!==false&&/\.css($|\?)/i.test(ne)){je=je.replace(/^\n\/\/(.*)$/,"\n/*$1*/")}const Ue=JSON.stringify(Ce);if(k){let w=ne;const q=Oe&&_e("md4").update(Ue).digest("hex");const ae={chunk:Te,filename:Ie.fileContext?ve(E,`/${Ie.fileContext}`,`/${w}`):w,contentHash:q};const{path:Ce,info:Ne}=S.getPathWithInfo(k,ae);const Fe=Ie.publicPath?Ie.publicPath+Ce:ve(E,Ee(E,`/${ne}`),`/${Ce}`);let Me=new j(we);if(je!==false){Me=new N(Me,S.getPath(je,Object.assign({url:Fe},ae)))}const Re={related:{sourceMap:Ce}};ee[ne]=Me;te[ne]=Re;S.updateAsset(ne,Me,Re);const Le=new j(Ue);const Be={...Ne,development:true};ee[Ce]=Le;te[Ce]=Be;S.emitAsset(Ce,Le,Be);if(Te!==undefined)Te.auxiliaryFiles.add(Ce)}else{if(je===false){throw new Error("SourceMapDevToolPlugin: append can't be false when no filename is provided")}const E=new N(new j(we),je.replace(/\[map\]/g,(()=>Ue)).replace(/\[url\]/g,(()=>`data:application/json;charset=utf-8;base64,${Buffer.from(Ue,"utf-8").toString("base64")}`)));ee[ne]=E;te[ne]=undefined;S.updateAsset(ne,E)}w.cacheItem.store({assets:ee,assetsInfo:te},(S=>{Le(.5+.5*++Me/ze.length,w.file,"attached SourceMap");if(S){return q(S)}q()}))}),(S=>{Le(1);ne(S)}))}))}))}))}}S.exports=SourceMapDevToolPlugin},10140:S=>{"use strict";class Stats{constructor(S){this.compilation=S}get hash(){return this.compilation.hash}get startTime(){return this.compilation.startTime}get endTime(){return this.compilation.endTime}hasWarnings(){return this.compilation.warnings.length>0||this.compilation.children.some((S=>S.getStats().hasWarnings()))}hasErrors(){return this.compilation.errors.length>0||this.compilation.children.some((S=>S.getStats().hasErrors()))}toJson(S){S=this.compilation.createStatsOptions(S,{forToString:false});const E=this.compilation.createStatsFactory(S);return E.create("compilation",this.compilation,{compilation:this.compilation})}toString(S){S=this.compilation.createStatsOptions(S,{forToString:true});const E=this.compilation.createStatsFactory(S);const k=this.compilation.createStatsPrinter(S);const w=E.create("compilation",this.compilation,{compilation:this.compilation});const N=k.print("compilation",w);return N===undefined?"":N}}S.exports=Stats},58159:(S,E,k)=>{"use strict";const{ConcatSource:w,PrefixSource:N}=k(48135);const j="a".charCodeAt(0);const q="A".charCodeAt(0);const ee="z".charCodeAt(0)-j+1;const te=ee*2+2;const ne=te+10;const ae=/^function\s?\(\)\s?\{\r?\n?|\r?\n?\}$/g;const _e=/^\t/gm;const ve=/\r?\n/g;const Ee=/^([^a-zA-Z$_])/;const Te=/[^a-zA-Z0-9$]+/g;const Ce=/\*\//g;const we=/[^a-zA-Z0-9_!§$()=\-^°]+/g;const Ne=/^-|-$/g;class Template{static getFunctionContent(S){return S.toString().replace(ae,"").replace(_e,"").replace(ve,"\n")}static toIdentifier(S){if(typeof S!=="string")return"";return S.replace(Ee,"_$1").replace(Te,"_")}static toComment(S){if(!S)return"";return`/*! ${S.replace(Ce,"* /")} */`}static toNormalComment(S){if(!S)return"";return`/* ${S.replace(Ce,"* /")} */`}static toPath(S){if(typeof S!=="string")return"";return S.replace(we,"-").replace(Ne,"")}static numberToIdentifier(S){if(S>=te){return Template.numberToIdentifier(S%te)+Template.numberToIdentifierContinuation(Math.floor(S/te))}if(S=ne){return Template.numberToIdentifierContinuation(S%ne)+Template.numberToIdentifierContinuation(Math.floor(S/ne))}if(SS)k=S}if(k<16+(""+k).length){k=0}let w=-1;for(const E of S){w+=`${E.id}`.length+2}const N=k===0?E:16+`${k}`.length+E;return N({id:j.getModuleId(S),source:k(S)||"false"})));const te=Template.getModulesArrayBounds(ee);if(te){const S=te[0];const E=te[1];if(S!==0){q.add(`Array(${S}).concat(`)}q.add("[\n");const k=new Map;for(const S of ee){k.set(S.id,S)}for(let w=S;w<=E;w++){const E=k.get(w);if(w!==S){q.add(",\n")}q.add(`/* ${w} */`);if(E){q.add("\n");q.add(E.source)}}q.add("\n"+N+"]");if(S!==0){q.add(")")}}else{q.add("{\n");for(let S=0;S {\n");if(E.useStrict)k.add('\t"use strict";\n');k.add(new N("\t",j));k.add("\n})();\n\n")}else{k.add("!function() {\n");if(E.useStrict)k.add('\t"use strict";\n');k.add(new N("\t",j));k.add("\n}();\n\n")}}}return k}static renderChunkRuntimeModules(S,E){return new N("/******/ ",new w("function(__webpack_require__) { // webpackRuntimeModules\n",'"use strict";\n\n',this.renderRuntimeModules(S,E),"}\n"))}}S.exports=Template;S.exports.NUMBER_OF_IDENTIFIER_START_CHARS=te;S.exports.NUMBER_OF_IDENTIFIER_CONTINUATION_CHARS=ne},30337:(S,E,k)=>{"use strict";const{basename:w,extname:N}=k(85622);const j=k(31669);const q=k(62433);const ee=k(53453);const{parseResource:te}=k(49197);const ne=/\[\\*([\w:]+)\\*\]/gi;const prepareId=S=>{if(typeof S!=="string")return S;if(/^"\s\+*.*\+\s*"$/.test(S)){const E=/^"\s\+*\s*(.*)\s*\+\s*"$/.exec(S);return`" + (${E[1]} + "").replace(/(^[.-]|[^a-zA-Z0-9_-])+/g, "_") + "`}return S.replace(/(^[.-]|[^a-zA-Z0-9_-])+/g,"_")};const hashLength=(S,E,k,w)=>{const fn=(N,j,q)=>{let ee;const te=j&&parseInt(j,10);if(te&&E){ee=E(te)}else{const E=S(N,j,q);ee=te?E.slice(0,te):E}if(k){k.immutable=true;if(Array.isArray(k[w])){k[w]=[...k[w],ee]}else if(k[w]){k[w]=[k[w],ee]}else{k[w]=ee}}return ee};return fn};const replacer=(S,E)=>{const fn=(k,w,N)=>{if(typeof S==="function"){S=S()}if(S===null||S===undefined){if(!E){throw new Error(`Path variable ${k} not implemented in this context: ${N}`)}return""}else{return`${S}`}};return fn};const ae=new Map;const _e=(()=>()=>{})();const deprecated=(S,E,k)=>{let w=ae.get(E);if(w===undefined){w=j.deprecate(_e,E,k);ae.set(E,w)}return(...E)=>{w();return S(...E)}};const replacePathVariables=(S,E,k)=>{const j=E.chunkGraph;const ae=new Map;if(typeof E.filename==="string"){const{path:S,query:k,fragment:j}=te(E.filename);const q=N(S);const ee=w(S);const ne=ee.slice(0,ee.length-q.length);const _e=S.slice(0,S.length-ee.length);ae.set("file",replacer(S));ae.set("query",replacer(k,true));ae.set("fragment",replacer(j,true));ae.set("path",replacer(_e,true));ae.set("base",replacer(ee));ae.set("name",replacer(ne));ae.set("ext",replacer(q,true));ae.set("filebase",deprecated(replacer(ee),"[filebase] is now [base]","DEP_WEBPACK_TEMPLATE_PATH_PLUGIN_REPLACE_PATH_VARIABLES_FILENAME"))}if(E.hash){const S=hashLength(replacer(E.hash),E.hashWithLength,k,"fullhash");ae.set("fullhash",S);ae.set("hash",deprecated(S,"[hash] is now [fullhash] (also consider using [chunkhash] or [contenthash], see documentation for details)","DEP_WEBPACK_TEMPLATE_PATH_PLUGIN_REPLACE_PATH_VARIABLES_HASH"))}if(E.chunk){const S=E.chunk;const w=E.contentHashType;const N=replacer(S.id);const j=replacer(S.name||S.id);const ee=hashLength(replacer(S instanceof q?S.renderedHash:S.hash),"hashWithLength"in S?S.hashWithLength:undefined,k,"chunkhash");const te=hashLength(replacer(E.contentHash||w&&S.contentHash&&S.contentHash[w]),E.contentHashWithLength||("contentHashWithLength"in S&&S.contentHashWithLength?S.contentHashWithLength[w]:undefined),k,"contenthash");ae.set("id",N);ae.set("name",j);ae.set("chunkhash",ee);ae.set("contenthash",te)}if(E.module){const S=E.module;const w=replacer((()=>prepareId(S instanceof ee?j.getModuleId(S):S.id)));const N=hashLength(replacer((()=>S instanceof ee?j.getRenderedModuleHash(S,E.runtime):S.hash)),"hashWithLength"in S?S.hashWithLength:undefined,k,"modulehash");const q=hashLength(replacer(E.contentHash),undefined,k,"contenthash");ae.set("id",w);ae.set("modulehash",N);ae.set("contenthash",q);ae.set("hash",E.contentHash?q:N);ae.set("moduleid",deprecated(w,"[moduleid] is now [id]","DEP_WEBPACK_TEMPLATE_PATH_PLUGIN_REPLACE_PATH_VARIABLES_MODULE_ID"))}if(E.url){ae.set("url",replacer(E.url))}if(typeof E.runtime==="string"){ae.set("runtime",replacer((()=>prepareId(E.runtime))))}else{ae.set("runtime",replacer("_"))}if(typeof S==="function"){S=S(E,k)}S=S.replace(ne,((E,k)=>{if(k.length+2===E.length){const w=/^(\w+)(?::(\w+))?$/.exec(k);if(!w)return E;const[,N,j]=w;const q=ae.get(N);if(q!==undefined){return q(E,j,S)}}else if(E.startsWith("[\\")&&E.endsWith("\\]")){return`[${E.slice(2,-2)}]`}return E}));return S};const ve="TemplatedPathPlugin";class TemplatedPathPlugin{apply(S){S.hooks.compilation.tap(ve,(S=>{S.hooks.assetPath.tap(ve,replacePathVariables)}))}}S.exports=TemplatedPathPlugin},77090:(S,E,k)=>{"use strict";const w=k(81627);const N=k(56202);class UnhandledSchemeError extends w{constructor(S,E){super(`Reading from "${E}" is not handled by plugins (Unhandled scheme).`+'\nWebpack supports "data:" and "file:" URIs by default.'+`\nYou may need an additional plugin to handle "${S}:" URIs.`);this.file=E;this.name="UnhandledSchemeError"}}N(UnhandledSchemeError,"webpack/lib/UnhandledSchemeError","UnhandledSchemeError");S.exports=UnhandledSchemeError},53558:(S,E,k)=>{"use strict";const w=k(81627);const N=k(56202);class UnsupportedFeatureWarning extends w{constructor(S,E){super(S);this.name="UnsupportedFeatureWarning";this.loc=E;this.hideStack=true}}N(UnsupportedFeatureWarning,"webpack/lib/UnsupportedFeatureWarning");S.exports=UnsupportedFeatureWarning},79050:(S,E,k)=>{"use strict";const w=k(66298);class UseStrictPlugin{apply(S){S.hooks.compilation.tap("UseStrictPlugin",((S,{normalModuleFactory:E})=>{const handler=S=>{S.hooks.program.tap("UseStrictPlugin",(E=>{const k=E.body[0];if(k&&k.type==="ExpressionStatement"&&k.expression.type==="Literal"&&k.expression.value==="use strict"){const E=new w("",k.range);E.loc=k.loc;S.state.module.addPresentationalDependency(E);S.state.module.buildInfo.strict=true}}))};E.hooks.parser.for("javascript/auto").tap("UseStrictPlugin",handler);E.hooks.parser.for("javascript/dynamic").tap("UseStrictPlugin",handler);E.hooks.parser.for("javascript/esm").tap("UseStrictPlugin",handler)}))}}S.exports=UseStrictPlugin},12510:(S,E,k)=>{"use strict";const w=k(41673);class WarnCaseSensitiveModulesPlugin{apply(S){S.hooks.compilation.tap("WarnCaseSensitiveModulesPlugin",(S=>{S.hooks.seal.tap("WarnCaseSensitiveModulesPlugin",(()=>{const E=new Map;for(const k of S.modules){const S=k.identifier();const w=S.toLowerCase();let N=E.get(w);if(N===undefined){N=new Map;E.set(w,N)}N.set(S,k)}for(const k of E){const E=k[1];if(E.size>1){S.warnings.push(new w(E.values(),S.moduleGraph))}}}))}))}}S.exports=WarnCaseSensitiveModulesPlugin},3571:(S,E,k)=>{"use strict";const w=k(81627);class WarnDeprecatedOptionPlugin{constructor(S,E,k){this.option=S;this.value=E;this.suggestion=k}apply(S){S.hooks.thisCompilation.tap("WarnDeprecatedOptionPlugin",(S=>{S.warnings.push(new DeprecatedOptionWarning(this.option,this.value,this.suggestion))}))}}class DeprecatedOptionWarning extends w{constructor(S,E,k){super();this.name="DeprecatedOptionWarning";this.message="configuration\n"+`The value '${E}' for option '${S}' is deprecated. `+`Use '${k}' instead.`}}S.exports=WarnDeprecatedOptionPlugin},67586:(S,E,k)=>{"use strict";const w=k(24500);class WarnNoModeSetPlugin{apply(S){S.hooks.thisCompilation.tap("WarnNoModeSetPlugin",(S=>{S.warnings.push(new w)}))}}S.exports=WarnNoModeSetPlugin},91265:(S,E,k)=>{"use strict";const w=k(35817);const N=w(k(12798),(()=>k(82997)),{name:"Watch Ignore Plugin",baseDataPath:"options"});const j="ignore";class IgnoringWatchFileSystem{constructor(S,E){this.wfs=S;this.paths=E}watch(S,E,k,w,N,q,ee){S=Array.from(S);E=Array.from(E);const ignored=S=>this.paths.some((E=>E instanceof RegExp?E.test(S):S.indexOf(E)===0));const notIgnored=S=>!ignored(S);const te=S.filter(ignored);const ne=E.filter(ignored);const ae=this.wfs.watch(S.filter(notIgnored),E.filter(notIgnored),k,w,N,((S,E,k,w,N)=>{if(S)return q(S);for(const S of te){E.set(S,j)}for(const S of ne){k.set(S,j)}q(S,E,k,w,N)}),ee);return{close:()=>ae.close(),pause:()=>ae.pause(),getContextTimeInfoEntries:()=>{const S=ae.getContextTimeInfoEntries();for(const E of ne){S.set(E,j)}return S},getFileTimeInfoEntries:()=>{const S=ae.getFileTimeInfoEntries();for(const E of te){S.set(E,j)}return S}}}}class WatchIgnorePlugin{constructor(S){N(S);this.paths=S.paths}apply(S){S.hooks.afterEnvironment.tap("WatchIgnorePlugin",(()=>{S.watchFileSystem=new IgnoringWatchFileSystem(S.watchFileSystem,this.paths)}))}}S.exports=WatchIgnorePlugin},84693:(S,E,k)=>{"use strict";const w=k(10140);class Watching{constructor(S,E,k){this.startTime=null;this.invalid=false;this.handler=k;this.callbacks=[];this._closeCallbacks=undefined;this.closed=false;this.suspended=false;this.blocked=false;this._isBlocked=()=>false;this._onChange=()=>{};this._onInvalid=()=>{};if(typeof E==="number"){this.watchOptions={aggregateTimeout:E}}else if(E&&typeof E==="object"){this.watchOptions={...E}}else{this.watchOptions={}}if(typeof this.watchOptions.aggregateTimeout!=="number"){this.watchOptions.aggregateTimeout=200}this.compiler=S;this.running=false;this._initial=true;this._invalidReported=true;this._needRecords=true;this.watcher=undefined;this.pausedWatcher=undefined;this._collectedChangedFiles=undefined;this._collectedRemovedFiles=undefined;this._done=this._done.bind(this);process.nextTick((()=>{if(this._initial)this._invalidate()}))}_mergeWithCollected(S,E){if(!S)return;if(!this._collectedChangedFiles){this._collectedChangedFiles=new Set(S);this._collectedRemovedFiles=new Set(E)}else{for(const E of S){this._collectedChangedFiles.add(E);this._collectedRemovedFiles.delete(E)}for(const S of E){this._collectedChangedFiles.delete(S);this._collectedRemovedFiles.add(S)}}}_go(S,E,k,N){this._initial=false;if(this.startTime===null)this.startTime=Date.now();this.running=true;if(this.watcher){this.pausedWatcher=this.watcher;this.lastWatcherStartTime=Date.now();this.watcher.pause();this.watcher=null}else if(!this.lastWatcherStartTime){this.lastWatcherStartTime=Date.now()}this.compiler.fsStartTime=Date.now();this._mergeWithCollected(k||this.pausedWatcher&&this.pausedWatcher.getAggregatedChanges&&this.pausedWatcher.getAggregatedChanges(),this.compiler.removedFiles=N||this.pausedWatcher&&this.pausedWatcher.getAggregatedRemovals&&this.pausedWatcher.getAggregatedRemovals());this.compiler.modifiedFiles=this._collectedChangedFiles;this._collectedChangedFiles=undefined;this.compiler.removedFiles=this._collectedRemovedFiles;this._collectedRemovedFiles=undefined;this.compiler.fileTimestamps=S||this.pausedWatcher&&this.pausedWatcher.getFileTimeInfoEntries();this.compiler.contextTimestamps=E||this.pausedWatcher&&this.pausedWatcher.getContextTimeInfoEntries();const run=()=>{if(this.compiler.idle){return this.compiler.cache.endIdle((S=>{if(S)return this._done(S);this.compiler.idle=false;run()}))}if(this._needRecords){return this.compiler.readRecords((S=>{if(S)return this._done(S);this._needRecords=false;run()}))}this.invalid=false;this._invalidReported=false;this.compiler.hooks.watchRun.callAsync(this.compiler,(S=>{if(S)return this._done(S);const onCompiled=(S,E)=>{if(S)return this._done(S,E);if(this.invalid)return this._done(null,E);if(this.compiler.hooks.shouldEmit.call(E)===false){return this._done(null,E)}process.nextTick((()=>{const S=E.getLogger("webpack.Compiler");S.time("emitAssets");this.compiler.emitAssets(E,(k=>{S.timeEnd("emitAssets");if(k)return this._done(k,E);if(this.invalid)return this._done(null,E);S.time("emitRecords");this.compiler.emitRecords((k=>{S.timeEnd("emitRecords");if(k)return this._done(k,E);if(E.hooks.needAdditionalPass.call()){E.needAdditionalPass=true;E.startTime=this.startTime;E.endTime=Date.now();S.time("done hook");const k=new w(E);this.compiler.hooks.done.callAsync(k,(k=>{S.timeEnd("done hook");if(k)return this._done(k,E);this.compiler.hooks.additionalPass.callAsync((S=>{if(S)return this._done(S,E);this.compiler.compile(onCompiled)}))}));return}return this._done(null,E)}))}))}))};this.compiler.compile(onCompiled)}))};run()}_getStats(S){const E=new w(S);return E}_done(S,E){this.running=false;const k=E&&E.getLogger("webpack.Watching");let N=null;const handleError=(S,E)=>{this.compiler.hooks.failed.call(S);this.compiler.cache.beginIdle();this.compiler.idle=true;this.handler(S,N);if(!E){E=this.callbacks;this.callbacks=[]}for(const k of E)k(S)};if(this.invalid&&!this.suspended&&!this.blocked&&!(this._isBlocked()&&(this.blocked=true))){if(E){k.time("storeBuildDependencies");this.compiler.cache.storeBuildDependencies(E.buildDependencies,(S=>{k.timeEnd("storeBuildDependencies");if(S)return handleError(S);this._go()}))}else{this._go()}return}if(E){E.startTime=this.startTime;E.endTime=Date.now();N=new w(E)}this.startTime=null;if(S)return handleError(S);const j=this.callbacks;this.callbacks=[];k.time("done hook");this.compiler.hooks.done.callAsync(N,(S=>{k.timeEnd("done hook");if(S)return handleError(S,j);this.handler(null,N);k.time("storeBuildDependencies");this.compiler.cache.storeBuildDependencies(E.buildDependencies,(S=>{k.timeEnd("storeBuildDependencies");if(S)return handleError(S,j);k.time("beginIdle");this.compiler.cache.beginIdle();this.compiler.idle=true;k.timeEnd("beginIdle");process.nextTick((()=>{if(!this.closed){this.watch(E.fileDependencies,E.contextDependencies,E.missingDependencies)}}));for(const S of j)S(null);this.compiler.hooks.afterDone.call(N)}))}))}watch(S,E,k){this.pausedWatcher=null;this.watcher=this.compiler.watchFileSystem.watch(S,E,k,this.lastWatcherStartTime,this.watchOptions,((S,E,k,w,N)=>{if(S){this.compiler.modifiedFiles=undefined;this.compiler.removedFiles=undefined;this.compiler.fileTimestamps=undefined;this.compiler.contextTimestamps=undefined;this.compiler.fsStartTime=undefined;return this.handler(S)}this._invalidate(E,k,w,N);this._onChange()}),((S,E)=>{if(!this._invalidReported){this._invalidReported=true;this.compiler.hooks.invalid.call(S,E)}this._onInvalid()}))}invalidate(S){if(S){this.callbacks.push(S)}if(!this._invalidReported){this._invalidReported=true;this.compiler.hooks.invalid.call(null,Date.now())}this._onChange();this._invalidate()}_invalidate(S,E,k,w){if(this.suspended||this._isBlocked()&&(this.blocked=true)){this._mergeWithCollected(k,w);return}if(this.running){this._mergeWithCollected(k,w);this.invalid=true}else{this._go(S,E,k,w)}}suspend(){this.suspended=true}resume(){if(this.suspended){this.suspended=false;this._invalidate()}}close(S){if(this._closeCallbacks){if(S){this._closeCallbacks.push(S)}return}const finalCallback=(S,E)=>{this.running=false;this.compiler.running=false;this.compiler.watching=undefined;this.compiler.watchMode=false;this.compiler.modifiedFiles=undefined;this.compiler.removedFiles=undefined;this.compiler.fileTimestamps=undefined;this.compiler.contextTimestamps=undefined;this.compiler.fsStartTime=undefined;const shutdown=()=>{this.compiler.cache.shutdown((S=>{this.compiler.hooks.watchClose.call();const E=this._closeCallbacks;this._closeCallbacks=undefined;for(const k of E)k(S)}))};if(E){const S=E.getLogger("webpack.Watching");S.time("storeBuildDependencies");this.compiler.cache.storeBuildDependencies(E.buildDependencies,(E=>{S.timeEnd("storeBuildDependencies");shutdown()}))}else{shutdown()}};this.closed=true;if(this.watcher){this.watcher.close();this.watcher=null}if(this.pausedWatcher){this.pausedWatcher.close();this.pausedWatcher=null}this._closeCallbacks=[];if(S){this._closeCallbacks.push(S)}if(this.running){this.invalid=true;this._done=finalCallback}else{finalCallback()}}}S.exports=Watching},81627:(S,E,k)=>{"use strict";const w=k(31669).inspect.custom;const N=k(56202);class WebpackError extends Error{constructor(S){super(S);this.details=undefined;this.module=undefined;this.loc=undefined;this.hideStack=undefined;this.chunk=undefined;this.file=undefined}[w](){return this.stack+(this.details?`\n${this.details}`:"")}serialize({write:S}){S(this.name);S(this.message);S(this.stack);S(this.details);S(this.loc);S(this.hideStack)}deserialize({read:S}){this.name=S();this.message=S();this.stack=S();this.details=S();this.loc=S();this.hideStack=S()}}N(WebpackError,"webpack/lib/WebpackError");S.exports=WebpackError},57694:(S,E,k)=>{"use strict";const w=k(16761);const N=k(46715);const{toConstantDependency:j}=k(48472);class WebpackIsIncludedPlugin{apply(S){S.hooks.compilation.tap("WebpackIsIncludedPlugin",((S,{normalModuleFactory:E})=>{S.dependencyFactories.set(N,new w(E));S.dependencyTemplates.set(N,new N.Template);const handler=S=>{S.hooks.call.for("__webpack_is_included__").tap("WebpackIsIncludedPlugin",(E=>{if(E.type!=="CallExpression"||E.arguments.length!==1||E.arguments[0].type==="SpreadElement")return;const k=S.evaluateExpression(E.arguments[0]);if(!k.isString())return;const w=new N(k.string,E.range);w.loc=E.loc;S.state.module.addDependency(w);return true}));S.hooks.typeof.for("__webpack_is_included__").tap("WebpackIsIncludedPlugin",j(S,JSON.stringify("function")))};E.hooks.parser.for("javascript/auto").tap("WebpackIsIncludedPlugin",handler);E.hooks.parser.for("javascript/dynamic").tap("WebpackIsIncludedPlugin",handler);E.hooks.parser.for("javascript/esm").tap("WebpackIsIncludedPlugin",handler)}))}}S.exports=WebpackIsIncludedPlugin},81721:(S,E,k)=>{"use strict";const w=k(97614);const N=k(75076);const j=k(18161);const q=k(9483);const ee=k(5538);const te=k(64699);const ne=k(43806);const ae=k(89818);const _e=k(32323);const ve=k(97489);const Ee=k(40552);const Te=k(29672);const Ce=k(57694);const we=k(30337);const Ne=k(79050);const Ie=k(12510);const Fe=k(68495);const Oe=k(99184);const Me=k(13653);const Re=k(91630);const Le=k(26165);const Be=k(38586);const je=k(54975);const ze=k(2451);const Ue=k(67634);const We=k(51727);const $e=k(3085);const qe=k(62630);const Ve=k(65577);const He=k(76373);const Ge=k(68778);const Je=k(82527);const Ke=k(9054);const Qe=k(7391);const Xe=k(61762);const{cleverMerge:Ye}=k(90149);class WebpackOptionsApply extends w{constructor(){super()}process(S,E){E.outputPath=S.output.path;E.recordsInputPath=S.recordsInputPath||null;E.recordsOutputPath=S.recordsOutputPath||null;E.name=S.name;if(S.externals){const w=k(61050);new w(S.externalsType,S.externals).apply(E)}if(S.externalsPresets.node){const S=k(84980);(new S).apply(E)}if(S.externalsPresets.electronMain){const S=k(25726);new S("main").apply(E)}if(S.externalsPresets.electronPreload){const S=k(25726);new S("preload").apply(E)}if(S.externalsPresets.electronRenderer){const S=k(25726);new S("renderer").apply(E)}if(S.externalsPresets.electron&&!S.externalsPresets.electronMain&&!S.externalsPresets.electronPreload&&!S.externalsPresets.electronRenderer){const S=k(25726);(new S).apply(E)}if(S.externalsPresets.nwjs){const S=k(61050);new S("node-commonjs","nw.gui").apply(E)}if(S.externalsPresets.webAsync){const S=k(61050);new S("import",/^(https?:\/\/|std:)/).apply(E)}else if(S.externalsPresets.web){const S=k(61050);new S("module",/^(https?:\/\/|std:)/).apply(E)}(new ee).apply(E);if(typeof S.output.chunkFormat==="string"){switch(S.output.chunkFormat){case"array-push":{const S=k(41113);(new S).apply(E);break}case"commonjs":{const S=k(77314);(new S).apply(E);break}case"module":{const S=k(57378);(new S).apply(E);break}default:throw new Error("Unsupported chunk format '"+S.output.chunkFormat+"'.")}}if(S.output.enabledChunkLoadingTypes.length>0){for(const w of S.output.enabledChunkLoadingTypes){const S=k(50369);new S(w).apply(E)}}if(S.output.enabledWasmLoadingTypes.length>0){for(const w of S.output.enabledWasmLoadingTypes){const S=k(69085);new S(w).apply(E)}}if(S.output.enabledLibraryTypes.length>0){for(const w of S.output.enabledLibraryTypes){const S=k(13984);new S(w).apply(E)}}if(S.output.pathinfo){const w=k(21542);new w(S.output.pathinfo!==true).apply(E)}if(S.output.clean){const w=k(61666);new w(S.output.clean===true?{}:S.output.clean).apply(E)}if(S.devtool){if(S.devtool.includes("source-map")){const w=S.devtool.includes("hidden");const N=S.devtool.includes("inline");const j=S.devtool.includes("eval");const q=S.devtool.includes("cheap");const ee=S.devtool.includes("module");const te=S.devtool.includes("nosources");const ne=j?k(23641):k(2e4);new ne({filename:N?null:S.output.sourceMapFilename,moduleFilenameTemplate:S.output.devtoolModuleFilenameTemplate,fallbackModuleFilenameTemplate:S.output.devtoolFallbackModuleFilenameTemplate,append:w?false:undefined,module:ee?true:q?false:true,columns:q?false:true,noSources:te,namespace:S.output.devtoolNamespace}).apply(E)}else if(S.devtool.includes("eval")){const w=k(91331);new w({moduleFilenameTemplate:S.output.devtoolModuleFilenameTemplate,namespace:S.output.devtoolNamespace}).apply(E)}}(new j).apply(E);(new q).apply(E);(new N).apply(E);if(!S.experiments.outputModule){if(S.output.module){throw new Error("'output.module: true' is only allowed when 'experiments.outputModule' is enabled")}if(S.output.enabledLibraryTypes.includes("module")){throw new Error("library type \"module\" is only allowed when 'experiments.outputModule' is enabled")}if(S.externalsType==="module"){throw new Error("'externalsType: \"module\"' is only allowed when 'experiments.outputModule' is enabled")}}if(S.experiments.syncWebAssembly){const w=k(84387);new w({mangleImports:S.optimization.mangleWasmImports}).apply(E)}if(S.experiments.asyncWebAssembly){const w=k(82422);new w({mangleImports:S.optimization.mangleWasmImports}).apply(E)}if(S.experiments.lazyCompilation){const w=k(10639);const N=typeof S.experiments.lazyCompilation==="object"?S.experiments.lazyCompilation:null;new w({backend:N&&N.backend||k(64244),client:N&&N.client||S.externalsPresets.node?k.ab+"lazy-compilation-node.js":k.ab+"lazy-compilation-web.js",entries:!N||N.entries!==false,imports:!N||N.imports!==false,test:N&&N.test||undefined}).apply(E)}(new te).apply(E);E.hooks.entryOption.call(S.context,S.entry);(new ae).apply(E);(new Ge).apply(E);(new Fe).apply(E);(new Oe).apply(E);(new ve).apply(E);new Le({topLevelAwait:S.experiments.topLevelAwait}).apply(E);if(S.amd!==false){const w=k(19765);const N=k(10830);new w(S.amd||{}).apply(E);(new N).apply(E)}(new Re).apply(E);new ze({enableExecuteModule:S.experiments.executeModule}).apply(E);if(S.node!==false){const w=k(32125);new w(S.node).apply(E)}(new _e).apply(E);(new Te).apply(E);(new Ce).apply(E);(new Ee).apply(E);(new Ne).apply(E);(new $e).apply(E);(new We).apply(E);(new Ue).apply(E);(new je).apply(E);(new qe).apply(E);(new Be).apply(E);(new Ve).apply(E);new He(S.output.workerChunkLoading,S.output.workerWasmLoading,S.output.module).apply(E);(new Ke).apply(E);(new Qe).apply(E);(new Xe).apply(E);(new Je).apply(E);if(typeof S.mode!=="string"){const S=k(67586);(new S).apply(E)}const w=k(38173);(new w).apply(E);if(S.optimization.removeAvailableModules){const S=k(78016);(new S).apply(E)}if(S.optimization.removeEmptyChunks){const S=k(62665);(new S).apply(E)}if(S.optimization.mergeDuplicateChunks){const S=k(70026);(new S).apply(E)}if(S.optimization.flagIncludedChunks){const S=k(76627);(new S).apply(E)}if(S.optimization.sideEffects){const w=k(63410);new w(S.optimization.sideEffects===true).apply(E)}if(S.optimization.providedExports){const S=k(95629);(new S).apply(E)}if(S.optimization.usedExports){const w=k(1596);new w(S.optimization.usedExports==="global").apply(E)}if(S.optimization.innerGraph){const S=k(10032);(new S).apply(E)}if(S.optimization.mangleExports){const w=k(41694);new w(S.optimization.mangleExports!=="size").apply(E)}if(S.optimization.concatenateModules){const S=k(35442);(new S).apply(E)}if(S.optimization.splitChunks){const w=k(40051);new w(S.optimization.splitChunks).apply(E)}if(S.optimization.runtimeChunk){const w=k(4674);new w(S.optimization.runtimeChunk).apply(E)}if(!S.optimization.emitOnErrors){const S=k(66962);(new S).apply(E)}if(S.optimization.realContentHash){const w=k(30699);new w({hashFunction:S.output.hashFunction,hashDigest:S.output.hashDigest}).apply(E)}if(S.optimization.checkWasmTypes){const S=k(8576);(new S).apply(E)}const Ze=S.optimization.moduleIds;if(Ze){switch(Ze){case"natural":{const S=k(97781);(new S).apply(E);break}case"named":{const S=k(9297);(new S).apply(E);break}case"hashed":{const S=k(3571);const w=k(35853);new S("optimization.moduleIds","hashed","deterministic").apply(E);(new w).apply(E);break}case"deterministic":{const S=k(35579);(new S).apply(E);break}case"size":{const S=k(76059);new S({prioritiseInitial:true}).apply(E);break}default:throw new Error(`webpack bug: moduleIds: ${Ze} is not implemented`)}}const et=S.optimization.chunkIds;if(et){switch(et){case"natural":{const S=k(18298);(new S).apply(E);break}case"named":{const S=k(64779);(new S).apply(E);break}case"deterministic":{const S=k(90444);(new S).apply(E);break}case"size":{const S=k(86169);new S({prioritiseInitial:true}).apply(E);break}case"total-size":{const S=k(86169);new S({prioritiseInitial:false}).apply(E);break}default:throw new Error(`webpack bug: chunkIds: ${et} is not implemented`)}}if(S.optimization.nodeEnv){const w=k(24820);new w({"process.env.NODE_ENV":JSON.stringify(S.optimization.nodeEnv)}).apply(E)}if(S.optimization.minimize){for(const k of S.optimization.minimizer){if(typeof k==="function"){k.call(E,E)}else if(k!=="..."){k.apply(E)}}}if(S.performance){const w=k(20625);new w(S.performance).apply(E)}(new we).apply(E);new ne({portableIds:S.optimization.portableRecords}).apply(E);(new Ie).apply(E);const tt=k(46584);new tt(S.snapshot.managedPaths,S.snapshot.immutablePaths).apply(E);if(S.cache&&typeof S.cache==="object"){const w=S.cache;switch(w.type){case"memory":{if(isFinite(w.maxGenerations)){const S=k(71162);new S({maxGenerations:w.maxGenerations}).apply(E)}else{const S=k(47786);(new S).apply(E)}break}case"filesystem":{const N=k(38016);for(const S in w.buildDependencies){const k=w.buildDependencies[S];new N(k).apply(E)}if(!isFinite(w.maxMemoryGenerations)){const S=k(47786);(new S).apply(E)}else if(w.maxMemoryGenerations!==0){const S=k(71162);new S({maxGenerations:w.maxMemoryGenerations}).apply(E)}switch(w.store){case"pack":{const N=k(66620);const j=k(83793);new N(new j({compiler:E,fs:E.intermediateFileSystem,context:S.context,cacheLocation:w.cacheLocation,version:w.version,logger:E.getInfrastructureLogger("webpack.cache.PackFileCacheStrategy"),snapshot:S.snapshot,maxAge:w.maxAge,profile:w.profile,allowCollectingMemory:w.allowCollectingMemory,compression:w.compression}),w.idleTimeout,w.idleTimeoutForInitialStore,w.idleTimeoutAfterLargeChanges).apply(E);break}default:throw new Error("Unhandled value for cache.store")}break}default:throw new Error(`Unknown cache type ${w.type}`)}}(new Me).apply(E);if(S.ignoreWarnings&&S.ignoreWarnings.length>0){const w=k(89056);new w(S.ignoreWarnings).apply(E)}E.hooks.afterPlugins.call(E);if(!E.inputFileSystem){throw new Error("No input filesystem provided")}E.resolverFactory.hooks.resolveOptions.for("normal").tap("WebpackOptionsApply",(k=>{k=Ye(S.resolve,k);k.fileSystem=E.inputFileSystem;return k}));E.resolverFactory.hooks.resolveOptions.for("context").tap("WebpackOptionsApply",(k=>{k=Ye(S.resolve,k);k.fileSystem=E.inputFileSystem;k.resolveToContext=true;return k}));E.resolverFactory.hooks.resolveOptions.for("loader").tap("WebpackOptionsApply",(k=>{k=Ye(S.resolveLoader,k);k.fileSystem=E.inputFileSystem;return k}));E.hooks.afterResolvers.call(E);return S}}S.exports=WebpackOptionsApply},94820:(S,E,k)=>{"use strict";const{applyWebpackOptionsDefaults:w}=k(54411);const{getNormalizedWebpackOptions:N}=k(96590);class WebpackOptionsDefaulter{process(S){S=N(S);w(S);return S}}S.exports=WebpackOptionsDefaulter},20882:(S,E,k)=>{"use strict";const w=k(50007);const N=k(85622);const{RawSource:j}=k(48135);const q=k(36253);const ee=k(76150);const te=k(35891);const{makePathsRelative:ne}=k(49197);const mergeMaybeArrays=(S,E)=>{const k=new Set;if(Array.isArray(S))for(const E of S)k.add(E);else k.add(S);if(Array.isArray(E))for(const S of E)k.add(S);else k.add(E);return Array.from(k)};const mergeAssetInfo=(S,E)=>{const k={...S,...E};for(const w of Object.keys(S)){if(w in E){if(S[w]===E[w])continue;switch(w){case"fullhash":case"chunkhash":case"modulehash":case"contenthash":k[w]=mergeMaybeArrays(S[w],E[w]);break;case"immutable":case"development":case"hotModuleReplacement":case"javascriptModule\t":k[w]=S[w]||E[w];break;case"related":k[w]=mergeRelatedInfo(S[w],E[w]);break;default:throw new Error(`Can't handle conflicting asset info for ${w}`)}}}return k};const mergeRelatedInfo=(S,E)=>{const k={...S,...E};for(const w of Object.keys(S)){if(w in E){if(S[w]===E[w])continue;k[w]=mergeMaybeArrays(S[w],E[w])}}return k};const ae=new Set(["javascript"]);const _e=new Set(["javascript","asset"]);class AssetGenerator extends q{constructor(S,E,k,w){super();this.dataUrlOptions=S;this.filename=E;this.publicPath=k;this.emit=w}generate(S,{runtime:E,chunkGraph:k,runtimeTemplate:q,runtimeRequirements:ae,type:_e,getData:ve}){switch(_e){case"asset":return S.originalSource();default:{ae.add(ee.module);const _e=S.originalSource();if(S.buildInfo.dataUrl){let E;if(typeof this.dataUrlOptions==="function"){E=this.dataUrlOptions.call(null,_e.source(),{filename:S.matchResource||S.resource,module:S})}else{let k=this.dataUrlOptions.encoding;if(k===undefined){if(S.resourceResolveData&&S.resourceResolveData.encoding!==undefined){k=S.resourceResolveData.encoding}}if(k===undefined){k="base64"}let j;let q=this.dataUrlOptions.mimetype;if(q===undefined){j=N.extname(S.nameForCondition());if(S.resourceResolveData&&S.resourceResolveData.mimetype!==undefined){q=S.resourceResolveData.mimetype}else if(j){q=w.lookup(j)}}if(typeof q!=="string"){throw new Error("DataUrl can't be generated automatically, "+`because there is no mimetype for "${j}" in mimetype database. `+'Either pass a mimetype via "generator.mimetype" or '+'use type: "asset/resource" to create a resource file instead of a DataUrl')}let ee;switch(k){case"base64":{ee=_e.buffer().toString("base64");break}case false:{const S=_e.source();if(typeof S==="string"){ee=encodeURI(S)}else{ee=encodeURI(S.toString("utf-8"))}break}default:throw new Error(`Unsupported encoding '${k}'`)}E=`data:${q}${k?`;${k}`:""},${ee}`}return new j(`${ee.module}.exports = ${JSON.stringify(E)};`)}else{const w=this.filename||q.outputOptions.assetModuleFilename;const N=te(q.outputOptions.hashFunction);if(q.outputOptions.hashSalt){N.update(q.outputOptions.hashSalt)}N.update(_e.buffer());const Ee=N.digest(q.outputOptions.hashDigest);const Te=Ee.slice(0,q.outputOptions.hashDigestLength);S.buildInfo.fullContentHash=Ee;const Ce=ne(q.compilation.compiler.context,S.matchResource||S.resource,q.compilation.compiler.root).replace(/^\.\//,"");let{path:we,info:Ne}=q.compilation.getAssetPathWithInfo(w,{module:S,runtime:E,filename:Ce,chunkGraph:k,contentHash:Te});let Ie;if(this.publicPath){const{path:w,info:N}=q.compilation.getAssetPathWithInfo(this.publicPath,{module:S,runtime:E,filename:Ce,chunkGraph:k,contentHash:Te});Ie=JSON.stringify(w);Ne=mergeAssetInfo(Ne,N)}else{Ie=ee.publicPath;ae.add(ee.publicPath)}Ne={sourceFilename:Ce,...Ne};S.buildInfo.filename=we;S.buildInfo.assetInfo=Ne;if(ve){const S=ve();S.set("fullContentHash",Ee);S.set("filename",we);S.set("assetInfo",Ne)}return new j(`${ee.module}.exports = ${Ie} + ${JSON.stringify(we)};`)}}}}getTypes(S){if(S.buildInfo&&S.buildInfo.dataUrl||this.emit===false){return ae}else{return _e}}getSize(S,E){switch(E){case"asset":{const E=S.originalSource();if(!E){return 0}return E.size()}default:if(S.buildInfo&&S.buildInfo.dataUrl){const E=S.originalSource();if(!E){return 0}return E.size()*1.34+36}else{return 42}}}updateHash(S,{module:E}){S.update(E.buildInfo.dataUrl?"data-url":"resource")}}S.exports=AssetGenerator},75076:(S,E,k)=>{"use strict";const{cleverMerge:w}=k(90149);const{compareModulesByIdentifier:N}=k(68673);const j=k(35817);const q=k(91671);const getSchema=S=>{const{definitions:E}=k(76518);return{definitions:E,oneOf:[{$ref:`#/definitions/${S}`}]}};const ee={name:"Asset Modules Plugin",baseDataPath:"generator"};const te={asset:j(k(68707),(()=>getSchema("AssetGeneratorOptions")),ee),"asset/resource":j(k(87441),(()=>getSchema("AssetResourceGeneratorOptions")),ee),"asset/inline":j(k(3720),(()=>getSchema("AssetInlineGeneratorOptions")),ee)};const ne=j(k(33605),(()=>getSchema("AssetParserOptions")),{name:"Asset Modules Plugin",baseDataPath:"parser"});const ae=q((()=>k(20882)));const _e=q((()=>k(74795)));const ve=q((()=>k(20139)));const Ee=q((()=>k(54685)));const Te="asset";const Ce="AssetModulesPlugin";class AssetModulesPlugin{apply(S){S.hooks.compilation.tap(Ce,((E,{normalModuleFactory:k})=>{k.hooks.createParser.for("asset").tap(Ce,(E=>{ne(E);E=w(S.options.module.parser.asset,E);let k=E.dataUrlCondition;if(!k||typeof k==="object"){k={maxSize:8096,...k}}const N=_e();return new N(k)}));k.hooks.createParser.for("asset/inline").tap(Ce,(S=>{const E=_e();return new E(true)}));k.hooks.createParser.for("asset/resource").tap(Ce,(S=>{const E=_e();return new E(false)}));k.hooks.createParser.for("asset/source").tap(Ce,(S=>{const E=ve();return new E}));for(const S of["asset","asset/inline","asset/resource"]){k.hooks.createGenerator.for(S).tap(Ce,(E=>{te[S](E);let k=undefined;if(S!=="asset/resource"){k=E.dataUrl;if(!k||typeof k==="object"){k={encoding:undefined,mimetype:undefined,...k}}}let w=undefined;let N=undefined;if(S!=="asset/inline"){w=E.filename;N=E.publicPath}const j=ae();return new j(k,w,N,E.emit!==false)}))}k.hooks.createGenerator.for("asset/source").tap(Ce,(()=>{const S=Ee();return new S}));E.hooks.renderManifest.tap(Ce,((S,k)=>{const{chunkGraph:w}=E;const{chunk:j,codeGenerationResults:q}=k;const ee=w.getOrderedChunkModulesIterableBySourceType(j,"asset",N);if(ee){for(const E of ee){const k=q.get(E,j.runtime);S.push({render:()=>k.sources.get(Te),filename:E.buildInfo.filename||k.data.get("filename"),info:E.buildInfo.assetInfo||k.data.get("assetInfo"),auxiliary:true,identifier:`assetModule${w.getModuleId(E)}`,hash:E.buildInfo.fullContentHash||k.data.get("fullContentHash")})}}return S}));E.hooks.prepareModuleExecution.tap("AssetModulesPlugin",((S,E)=>{const{codeGenerationResult:k}=S;const w=k.sources.get("asset");if(w===undefined)return;E.assets.set(k.data.get("filename"),{source:w,info:k.data.get("assetInfo")})}))}))}}S.exports=AssetModulesPlugin},74795:(S,E,k)=>{"use strict";const w=k(2172);class AssetParser extends w{constructor(S){super();this.dataUrlCondition=S}parse(S,E){if(typeof S==="object"&&!Buffer.isBuffer(S)){throw new Error("AssetParser doesn't accept preparsed AST")}E.module.buildInfo.strict=true;E.module.buildMeta.exportsType="default";if(typeof this.dataUrlCondition==="function"){E.module.buildInfo.dataUrl=this.dataUrlCondition(S,{filename:E.module.matchResource||E.module.resource,module:E.module})}else if(typeof this.dataUrlCondition==="boolean"){E.module.buildInfo.dataUrl=this.dataUrlCondition}else if(this.dataUrlCondition&&typeof this.dataUrlCondition==="object"){E.module.buildInfo.dataUrl=Buffer.byteLength(S)<=this.dataUrlCondition.maxSize}else{throw new Error("Unexpected dataUrlCondition type")}return E}}S.exports=AssetParser},54685:(S,E,k)=>{"use strict";const{RawSource:w}=k(48135);const N=k(36253);const j=k(76150);const q=new Set(["javascript"]);class AssetSourceGenerator extends N{generate(S,{chunkGraph:E,runtimeTemplate:k,runtimeRequirements:N}){N.add(j.module);const q=S.originalSource();if(!q){return new w("")}const ee=q.source();let te;if(typeof ee==="string"){te=ee}else{te=ee.toString("utf-8")}return new w(`${j.module}.exports = ${JSON.stringify(te)};`)}getTypes(S){return q}getSize(S,E){const k=S.originalSource();if(!k){return 0}return k.size()+12}}S.exports=AssetSourceGenerator},20139:(S,E,k)=>{"use strict";const w=k(2172);class AssetSourceParser extends w{parse(S,E){if(typeof S==="object"&&!Buffer.isBuffer(S)){throw new Error("AssetSourceParser doesn't accept preparsed AST")}const{module:k}=E;k.buildInfo.strict=true;k.buildMeta.exportsType="default";return E}}S.exports=AssetSourceParser},10813:(S,E,k)=>{"use strict";const w=k(63272);const N=k(76150);const j=k(58159);class AwaitDependenciesInitFragment extends w{constructor(S){super(undefined,w.STAGE_ASYNC_DEPENDENCIES,0,"await-dependencies");this.promises=S}merge(S){const E=new Set(this.promises);for(const k of S.promises){E.add(k)}return new AwaitDependenciesInitFragment(E)}getContent({runtimeRequirements:S}){S.add(N.module);const E=this.promises;if(E.size===0){return""}if(E.size===1){for(const S of E){return j.asString([`var __webpack_async_dependencies__ = __webpack_handle_async_dependencies__([${S}]);`,`${S} = (__webpack_async_dependencies__.then ? await __webpack_async_dependencies__ : __webpack_async_dependencies__)[0];`,""])}}const k=Array.from(E).join(", ");return j.asString([`var __webpack_async_dependencies__ = __webpack_handle_async_dependencies__([${k}]);`,`([${k}] = __webpack_async_dependencies__.then ? await __webpack_async_dependencies__ : __webpack_async_dependencies__);`,""])}}S.exports=AwaitDependenciesInitFragment},68778:(S,E,k)=>{"use strict";const w=k(37359);class InferAsyncModulesPlugin{apply(S){S.hooks.compilation.tap("InferAsyncModulesPlugin",(S=>{const{moduleGraph:E}=S;S.hooks.finishModules.tap("InferAsyncModulesPlugin",(S=>{const k=new Set;for(const E of S){if(E.buildMeta&&E.buildMeta.async){k.add(E)}}for(const S of k){E.setAsync(S);for(const[N,j]of E.getIncomingConnectionsByOriginModule(S)){if(j.some((S=>S.dependency instanceof w&&S.isTargetActive(undefined)))){k.add(N)}}}}))}))}}S.exports=InferAsyncModulesPlugin},25457:(S,E,k)=>{"use strict";const w=k(21357);const{connectChunkGroupParentAndChild:N}=k(4642);const j=k(79900);const{getEntryRuntime:q,mergeRuntime:ee}=k(37416);const te=new Set;te.plus=te;const bySetSize=(S,E)=>E.size+E.plus.size-S.size-S.plus.size;const getActiveStateOfConnections=(S,E)=>{let k=S[0].getActiveState(E);if(k===true)return true;for(let w=1;w{const{moduleGraph:E}=S;const k=new Map;const w=new Set;for(const N of S.modules){let S;for(const k of E.getOutgoingConnections(N)){const E=k.dependency;if(!E)continue;const w=k.module;if(!w)continue;if(k.weak)continue;const N=k.getActiveState(undefined);if(N===false)continue;if(S===undefined){S=new WeakMap}S.set(k.dependency,k)}w.clear();w.add(N);for(const E of w){let N;if(S!==undefined&&E.dependencies){for(const w of E.dependencies){const j=S.get(w);if(j!==undefined){const{module:S}=j;if(N===undefined){N=new Map;k.set(E,N)}const w=N.get(S);if(w!==undefined){w.push(j)}else{N.set(S,[j])}}}}if(E.blocks){for(const S of E.blocks){w.add(S)}}}}return k};const visitModules=(S,E,k,N,j,ne,ae)=>{const{moduleGraph:_e,chunkGraph:ve}=E;S.time("visitModules: prepare");const Ee=extractBlockModulesMap(E);let Te=0;let Ce=0;let we=0;let Ne=0;let Ie=0;let Fe=0;let Oe=0;let Me=0;let Re=0;let Le=0;let Be=0;let je=0;let ze=0;let Ue=0;let We=0;let $e=0;const qe=new Map;const Ve=new Map;const He=new Map;const Ge=0;const Je=1;const Ke=2;const Qe=3;const Xe=4;const Ye=5;let Ze=[];const et=new Map;const tt=new Set;for(const[S,w]of k){const k=q(E,S.name,S.options);const j={chunkGroup:S,runtime:k,minAvailableModules:undefined,minAvailableModulesOwned:false,availableModulesToBeMerged:[],skippedItems:undefined,resultingAvailableModules:undefined,children:undefined,availableSources:undefined,availableChildren:undefined,preOrderIndex:0,postOrderIndex:0};S.index=Ue++;if(S.getNumberOfParents()>0){const S=new Set;for(const E of w){S.add(E)}j.skippedItems=S;tt.add(j)}else{j.minAvailableModules=te;const E=S.getEntrypointChunk();for(const k of w){Ze.push({action:Je,block:k,module:k,chunk:E,chunkGroup:S,chunkGroupInfo:j})}}N.set(S,j);if(S.name){Ve.set(S.name,j)}}for(const S of tt){const{chunkGroup:E}=S;S.availableSources=new Set;for(const k of E.parentsIterable){const E=N.get(k);S.availableSources.add(E);if(E.availableChildren===undefined){E.availableChildren=new Set}E.availableChildren.add(S)}}Ze.reverse();const rt=new Set;const nt=new Set;let it=[];S.timeEnd("visitModules: prepare");const ot=[];const st=[];const ct=[];let ut;let dt;let pt;let ft;let mt;const iteratorBlock=S=>{let k=qe.get(S);let q;let ee;const ne=S.groupOptions&&S.groupOptions.entryOptions;if(k===undefined){const _e=S.groupOptions&&S.groupOptions.name||S.chunkName;if(ne){k=He.get(_e);if(!k){ee=E.addAsyncEntrypoint(ne,ut,S.loc,S.request);ee.index=Ue++;k={chunkGroup:ee,runtime:ee.options.runtime||ee.name,minAvailableModules:te,minAvailableModulesOwned:false,availableModulesToBeMerged:[],skippedItems:undefined,resultingAvailableModules:undefined,children:undefined,availableSources:undefined,availableChildren:undefined,preOrderIndex:0,postOrderIndex:0};N.set(ee,k);ve.connectBlockAndChunkGroup(S,ee);if(_e){He.set(_e,k)}}else{ee=k.chunkGroup;ee.addOrigin(ut,S.loc,S.request);ve.connectBlockAndChunkGroup(S,ee)}it.push({action:Xe,block:S,module:ut,chunk:ee.chunks[0],chunkGroup:ee,chunkGroupInfo:k})}else{k=Ve.get(_e);if(!k){q=E.addChunkInGroup(S.groupOptions||S.chunkName,ut,S.loc,S.request);q.index=Ue++;k={chunkGroup:q,runtime:mt.runtime,minAvailableModules:undefined,minAvailableModulesOwned:undefined,availableModulesToBeMerged:[],skippedItems:undefined,resultingAvailableModules:undefined,children:undefined,availableSources:undefined,availableChildren:undefined,preOrderIndex:0,postOrderIndex:0};ae.add(q);N.set(q,k);if(_e){Ve.set(_e,k)}}else{q=k.chunkGroup;if(q.isInitial()){E.errors.push(new w(_e,ut,S.loc));q=pt}q.addOptions(S.groupOptions);q.addOrigin(ut,S.loc,S.request)}j.set(S,[])}qe.set(S,k)}else if(ne){ee=k.chunkGroup}else{q=k.chunkGroup}if(q!==undefined){j.get(S).push({originChunkGroupInfo:mt,chunkGroup:q});let E=et.get(mt);if(E===undefined){E=new Set;et.set(mt,E)}E.add(k);it.push({action:Qe,block:S,module:ut,chunk:q.chunks[0],chunkGroup:q,chunkGroupInfo:k})}else{mt.chunkGroup.addAsyncEntrypoint(ee)}};const processBlock=S=>{Ce++;const E=Ee.get(S);if(E!==undefined){const{minAvailableModules:S,runtime:k}=mt;for(const w of E){const[E,N]=w;if(ve.isModuleInChunk(E,dt)){continue}const j=getActiveStateOfConnections(N,k);if(j!==true){ot.push(w);if(j===false)continue}if(j===true&&(S.has(E)||S.plus.has(E))){st.push(E);continue}ct.push({action:j===true?Je:Qe,block:E,module:E,chunk:dt,chunkGroup:pt,chunkGroupInfo:mt})}if(ot.length>0){let{skippedModuleConnections:S}=mt;if(S===undefined){mt.skippedModuleConnections=S=new Set}for(let E=ot.length-1;E>=0;E--){S.add(ot[E])}ot.length=0}if(st.length>0){let{skippedItems:S}=mt;if(S===undefined){mt.skippedItems=S=new Set}for(let E=st.length-1;E>=0;E--){S.add(st[E])}st.length=0}if(ct.length>0){for(let S=ct.length-1;S>=0;S--){Ze.push(ct[S])}ct.length=0}}for(const E of S.blocks){iteratorBlock(E)}if(S.blocks.length>0&&ut!==S){ne.add(S)}};const processEntryBlock=S=>{Ce++;const E=Ee.get(S);if(E!==undefined){for(const[S,k]of E){const E=getActiveStateOfConnections(k,undefined);ct.push({action:E===true?Ge:Qe,block:S,module:S,chunk:dt,chunkGroup:pt,chunkGroupInfo:mt})}if(ct.length>0){for(let S=ct.length-1;S>=0;S--){Ze.push(ct[S])}ct.length=0}}for(const E of S.blocks){iteratorBlock(E)}if(S.blocks.length>0&&ut!==S){ne.add(S)}};const processQueue=()=>{while(Ze.length){Te++;const S=Ze.pop();ut=S.module;ft=S.block;dt=S.chunk;pt=S.chunkGroup;mt=S.chunkGroupInfo;switch(S.action){case Ge:ve.connectChunkAndEntryModule(dt,ut,pt);case Je:{if(ve.isModuleInChunk(ut,dt)){break}ve.connectChunkAndModule(dt,ut)}case Ke:{const E=pt.getModulePreOrderIndex(ut);if(E===undefined){pt.setModulePreOrderIndex(ut,mt.preOrderIndex++)}if(_e.setPreOrderIndexIfUnset(ut,We)){We++}S.action=Ye;Ze.push(S)}case Qe:{processBlock(ft);break}case Xe:{processEntryBlock(ft);break}case Ye:{const S=pt.getModulePostOrderIndex(ut);if(S===undefined){pt.setModulePostOrderIndex(ut,mt.postOrderIndex++)}if(_e.setPostOrderIndexIfUnset(ut,$e)){$e++}break}}}};const calculateResultingAvailableModules=S=>{if(S.resultingAvailableModules)return S.resultingAvailableModules;const E=S.minAvailableModules;let k;if(E.size>E.plus.size){k=new Set;for(const S of E.plus)E.add(S);E.plus=te;k.plus=E;S.minAvailableModulesOwned=false}else{k=new Set(E);k.plus=E.plus}for(const E of S.chunkGroup.chunks){for(const S of ve.getChunkModulesIterable(E)){k.add(S)}}return S.resultingAvailableModules=k};const processConnectQueue=()=>{for(const[S,E]of et){if(S.children===undefined){S.children=E}else{for(const k of E){S.children.add(k)}}const k=calculateResultingAvailableModules(S);const w=S.runtime;for(const S of E){S.availableModulesToBeMerged.push(k);nt.add(S);const E=S.runtime;const N=ee(E,w);if(E!==N){S.runtime=N;rt.add(S)}}we+=E.size}et.clear()};const processChunkGroupsForMerging=()=>{Ne+=nt.size;for(const S of nt){const E=S.availableModulesToBeMerged;let k=S.minAvailableModules;Ie+=E.length;if(E.length>1){E.sort(bySetSize)}let w=false;e:for(const N of E){if(k===undefined){k=N;S.minAvailableModules=k;S.minAvailableModulesOwned=false;w=true}else{if(S.minAvailableModulesOwned){if(k.plus===N.plus){for(const S of k){if(!N.has(S)){k.delete(S);w=true}}}else{for(const S of k){if(!N.has(S)&&!N.plus.has(S)){k.delete(S);w=true}}for(const S of k.plus){if(!N.has(S)&&!N.plus.has(S)){const E=k.plus[Symbol.iterator]();let j;while(!(j=E.next()).done){const E=j.value;if(E===S)break;k.add(E)}while(!(j=E.next()).done){const E=j.value;if(N.has(E)||N.plus.has(S)){k.add(E)}}k.plus=te;w=true;continue e}}}}else if(k.plus===N.plus){if(N.size{for(const S of tt){for(const E of S.availableSources){if(!E.minAvailableModules){tt.delete(S);break}}}for(const S of tt){const E=new Set;E.plus=te;const mergeSet=S=>{if(S.size>E.plus.size){for(const S of E.plus)E.add(S);E.plus=S}else{for(const k of S)E.add(k)}};for(const E of S.availableSources){const S=calculateResultingAvailableModules(E);mergeSet(S);mergeSet(S.plus)}S.minAvailableModules=E;S.minAvailableModulesOwned=false;S.resultingAvailableModules=undefined;rt.add(S)}tt.clear()};const processOutdatedChunkGroupInfo=()=>{je+=rt.size;for(const S of rt){if(S.skippedItems!==undefined){const{minAvailableModules:E}=S;for(const k of S.skippedItems){if(!E.has(k)&&!E.plus.has(k)){Ze.push({action:Je,block:k,module:k,chunk:S.chunkGroup.chunks[0],chunkGroup:S.chunkGroup,chunkGroupInfo:S});S.skippedItems.delete(k)}}}if(S.skippedModuleConnections!==undefined){const{minAvailableModules:E,runtime:k}=S;for(const w of S.skippedModuleConnections){const[N,j]=w;const q=getActiveStateOfConnections(j,k);if(q===false)continue;if(q===true){S.skippedModuleConnections.delete(w)}if(q===true&&(E.has(N)||E.plus.has(N))){S.skippedItems.add(N);continue}Ze.push({action:q===true?Je:Qe,block:N,module:N,chunk:S.chunkGroup.chunks[0],chunkGroup:S.chunkGroup,chunkGroupInfo:S})}}if(S.children!==undefined){ze+=S.children.size;for(const E of S.children){let k=et.get(S);if(k===undefined){k=new Set;et.set(S,k)}k.add(E)}}if(S.availableChildren!==undefined){for(const E of S.availableChildren){tt.add(E)}}}rt.clear()};while(Ze.length||et.size){S.time("visitModules: visiting");processQueue();S.timeEnd("visitModules: visiting");if(tt.size>0){S.time("visitModules: combine available modules");processChunkGroupsForCombining();S.timeEnd("visitModules: combine available modules")}if(et.size>0){S.time("visitModules: calculating available modules");processConnectQueue();S.timeEnd("visitModules: calculating available modules");if(nt.size>0){S.time("visitModules: merging available modules");processChunkGroupsForMerging();S.timeEnd("visitModules: merging available modules")}}if(rt.size>0){S.time("visitModules: check modules for revisit");processOutdatedChunkGroupInfo();S.timeEnd("visitModules: check modules for revisit")}if(Ze.length===0){const S=Ze;Ze=it.reverse();it=S}}S.log(`${Te} queue items processed (${Ce} blocks)`);S.log(`${we} chunk groups connected`);S.log(`${Ne} chunk groups processed for merging (${Ie} module sets, ${Fe} forked, ${Oe} + ${Me} modules forked, ${Re} + ${Le} modules merged into fork, ${Be} resulting modules)`);S.log(`${je} chunk group info updated (${ze} already connected chunk groups reconnected)`)};const connectChunkGroups=(S,E,k,w)=>{const{chunkGraph:j}=S;const areModulesAvailable=(S,E)=>{for(const k of S.chunks){for(const S of j.getChunkModulesIterable(k)){if(!E.has(S)&&!E.plus.has(S))return false}}return true};for(const[S,w]of k){if(!E.has(S)&&w.every((({chunkGroup:S,originChunkGroupInfo:E})=>areModulesAvailable(S,E.resultingAvailableModules)))){continue}for(let E=0;E{const{chunkGraph:k}=S;for(const w of E){if(w.getNumberOfParents()===0){for(const E of w.chunks){S.chunks.delete(E);k.disconnectChunk(E)}k.disconnectChunkGroup(w);w.remove()}}};const buildChunkGraph=(S,E)=>{const k=S.getLogger("webpack.buildChunkGraph");const w=new Map;const N=new Set;const j=new Map;const q=new Set;k.time("visitModules");visitModules(k,S,E,j,w,q,N);k.timeEnd("visitModules");k.time("connectChunkGroups");connectChunkGroups(S,q,w,j);k.timeEnd("connectChunkGroups");for(const[S,E]of j){for(const k of S.chunks)k.runtime=ee(k.runtime,E.runtime)}k.time("cleanup");cleanupUnconnectedGroups(S,N);k.timeEnd("cleanup")};S.exports=buildChunkGraph},38016:S=>{"use strict";class AddBuildDependenciesPlugin{constructor(S){this.buildDependencies=new Set(S)}apply(S){S.hooks.compilation.tap("AddBuildDependenciesPlugin",(S=>{S.buildDependencies.addAll(this.buildDependencies)}))}}S.exports=AddBuildDependenciesPlugin},46584:S=>{"use strict";class AddManagedPathsPlugin{constructor(S,E){this.managedPaths=new Set(S);this.immutablePaths=new Set(E)}apply(S){for(const E of this.managedPaths){S.managedPaths.add(E)}for(const E of this.immutablePaths){S.immutablePaths.add(E)}}}S.exports=AddManagedPathsPlugin},66620:(S,E,k)=>{"use strict";const w=k(54725);const N=k(52923);const j=Symbol();class IdleFileCachePlugin{constructor(S,E,k,w){this.strategy=S;this.idleTimeout=E;this.idleTimeoutForInitialStore=k;this.idleTimeoutAfterLargeChanges=w}apply(S){let E=this.strategy;const k=this.idleTimeout;const q=Math.min(k,this.idleTimeoutForInitialStore);const ee=this.idleTimeoutAfterLargeChanges;const te=Promise.resolve();let ne=0;let ae=0;let _e=0;const ve=new Map;S.cache.hooks.store.tap({name:"IdleFileCachePlugin",stage:w.STAGE_DISK},((S,k,w)=>{ve.set(S,(()=>E.store(S,k,w)))}));S.cache.hooks.get.tapPromise({name:"IdleFileCachePlugin",stage:w.STAGE_DISK},((S,k,w)=>{const restore=()=>E.restore(S,k).then((N=>{if(N===undefined){w.push(((w,N)=>{if(w!==undefined){ve.set(S,(()=>E.store(S,k,w)))}N()}))}else{return N}}));const N=ve.get(S);if(N!==undefined){ve.delete(S);return N().then(restore)}return restore()}));S.cache.hooks.storeBuildDependencies.tap({name:"IdleFileCachePlugin",stage:w.STAGE_DISK},(S=>{ve.set(j,(()=>E.storeBuildDependencies(S)))}));S.cache.hooks.shutdown.tapPromise({name:"IdleFileCachePlugin",stage:w.STAGE_DISK},(()=>{if(we){clearTimeout(we);we=undefined}Te=false;const k=N.getReporter(S);const w=Array.from(ve.values());if(k)k(0,"process pending cache items");const j=w.map((S=>S()));ve.clear();j.push(Ee);const q=Promise.all(j);Ee=q.then((()=>E.afterAllStored()));if(k){Ee=Ee.then((()=>{k(1,`stored`)}))}return Ee.then((()=>{if(E.clear)E.clear()}))}));let Ee=te;let Te=false;let Ce=true;const processIdleTasks=()=>{if(Te){const k=Date.now();if(ve.size>0){const S=[Ee];const E=k+100;let w=100;for(const[k,N]of ve){ve.delete(k);S.push(N());if(w--<=0||Date.now()>E)break}Ee=Promise.all(S);Ee.then((()=>{ae+=Date.now()-k;we=setTimeout(processIdleTasks,0);we.unref()}));return}Ee=Ee.then((async()=>{await E.afterAllStored();ae+=Date.now()-k;_e=Math.max(_e,ae)*.9+ae*.1;ae=0;ne=0})).catch((E=>{const k=S.getInfrastructureLogger("IdleFileCachePlugin");k.warn(`Background tasks during idle failed: ${E.message}`);k.debug(E.stack)}));Ce=false}};let we=undefined;S.cache.hooks.beginIdle.tap({name:"IdleFileCachePlugin",stage:w.STAGE_DISK},(()=>{const E=ne>_e*2;if(Ce&&q{we=undefined;Te=true;te.then(processIdleTasks)}),Math.min(Ce?q:Infinity,E?ee:Infinity,k));we.unref()}));S.cache.hooks.endIdle.tap({name:"IdleFileCachePlugin",stage:w.STAGE_DISK},(()=>{if(we){clearTimeout(we);we=undefined}Te=false}));S.hooks.done.tap("IdleFileCachePlugin",(S=>{ne*=.9;ne+=S.endTime-S.startTime}))}}S.exports=IdleFileCachePlugin},47786:(S,E,k)=>{"use strict";const w=k(54725);class MemoryCachePlugin{apply(S){const E=new Map;S.cache.hooks.store.tap({name:"MemoryCachePlugin",stage:w.STAGE_MEMORY},((S,k,w)=>{E.set(S,{etag:k,data:w})}));S.cache.hooks.get.tap({name:"MemoryCachePlugin",stage:w.STAGE_MEMORY},((S,k,w)=>{const N=E.get(S);if(N===null){return null}else if(N!==undefined){return N.etag===k?N.data:null}w.push(((w,N)=>{if(w===undefined){E.set(S,null)}else{E.set(S,{etag:k,data:w})}return N()}))}));S.cache.hooks.shutdown.tap({name:"MemoryCachePlugin",stage:w.STAGE_MEMORY},(()=>{E.clear()}))}}S.exports=MemoryCachePlugin},71162:(S,E,k)=>{"use strict";const w=k(54725);class MemoryWithGcCachePlugin{constructor({maxGenerations:S}){this._maxGenerations=S}apply(S){const E=this._maxGenerations;const k=new Map;const N=new Map;let j=0;let q=0;const ee=S.getInfrastructureLogger("MemoryWithGcCachePlugin");S.hooks.afterDone.tap("MemoryWithGcCachePlugin",(()=>{j++;let S=0;let w;for(const[E,q]of N){if(q.until>j)break;N.delete(E);if(k.get(E)===undefined){k.delete(E);S++;w=E}}if(S>0||N.size>0){ee.log(`${k.size-N.size} active entries, ${N.size} recently unused cached entries${S>0?`, ${S} old unused cache entries removed e. g. ${w}`:""}`)}let te=k.size/E|0;let ne=q>=k.size?0:q;q=ne+te;for(const[S,w]of k){if(ne!==0){ne--;continue}if(w!==undefined){k.set(S,undefined);N.delete(S);N.set(S,{entry:w,until:j+E});if(te--===0)break}}}));S.cache.hooks.store.tap({name:"MemoryWithGcCachePlugin",stage:w.STAGE_MEMORY},((S,E,w)=>{k.set(S,{etag:E,data:w})}));S.cache.hooks.get.tap({name:"MemoryWithGcCachePlugin",stage:w.STAGE_MEMORY},((S,E,w)=>{const j=k.get(S);if(j===null){return null}else if(j!==undefined){return j.etag===E?j.data:null}const q=N.get(S);if(q!==undefined){const w=q.entry;if(w===null){N.delete(S);k.set(S,w);return null}else{if(w.etag!==E)return null;N.delete(S);k.set(S,w);return w.data}}w.push(((w,N)=>{if(w===undefined){k.set(S,null)}else{k.set(S,{etag:E,data:w})}return N()}))}));S.cache.hooks.shutdown.tap({name:"MemoryWithGcCachePlugin",stage:w.STAGE_MEMORY},(()=>{k.clear();N.clear()}))}}S.exports=MemoryWithGcCachePlugin},83793:(S,E,k)=>{"use strict";const w=k(22996);const N=k(52923);const{formatSize:j}=k(9192);const q=k(43065);const ee=k(83379);const te=k(56202);const ne=k(91671);const{createFileSerializer:ae,NOT_SERIALIZABLE:_e}=k(24568);class PackContainer{constructor(S,E,k,w,N,j){this.data=S;this.version=E;this.buildSnapshot=k;this.buildDependencies=w;this.resolveResults=N;this.resolveBuildDependenciesSnapshot=j}serialize({write:S,writeLazy:E}){S(this.version);S(this.buildSnapshot);S(this.buildDependencies);S(this.resolveResults);S(this.resolveBuildDependenciesSnapshot);E(this.data)}deserialize({read:S}){this.version=S();this.buildSnapshot=S();this.buildDependencies=S();this.resolveResults=S();this.resolveBuildDependenciesSnapshot=S();this.data=S()}}te(PackContainer,"webpack/lib/cache/PackFileCacheStrategy","PackContainer");const ve=1024*1024;const Ee=10;const Te=5e4;class PackItemInfo{constructor(S,E,k){this.identifier=S;this.etag=E;this.location=-1;this.lastAccess=Date.now();this.freshValue=k}}class Pack{constructor(S,E){this.itemInfo=new Map;this.requests=[];this.freshContent=new Map;this.content=[];this.invalid=false;this.logger=S;this.maxAge=E}get(S,E){const k=this.itemInfo.get(S);this.requests.push(S);if(k===undefined){return undefined}if(k.etag!==E)return null;k.lastAccess=Date.now();const w=k.location;if(w===-1){return k.freshValue}else{if(!this.content[w]){return undefined}return this.content[w].get(S)}}set(S,E,k){if(!this.invalid){this.invalid=true;this.logger.log(`Pack got invalid because of write to: ${S}`)}const w=this.itemInfo.get(S);if(w===undefined){const w=new PackItemInfo(S,E,k);this.itemInfo.set(S,w);this.requests.push(S);this.freshContent.set(S,w)}else{const N=w.location;if(N>=0){this.requests.push(S);this.freshContent.set(S,w);const E=this.content[N];E.delete(S);if(E.items.size===0){this.content[N]=undefined;this.logger.debug("Pack %d got empty and is removed",N)}}w.freshValue=k;w.lastAccess=Date.now();w.etag=E;w.location=-1}}getContentStats(){let S=0;let E=0;for(const k of this.content){if(k!==undefined){S++;const w=k.getSize();if(w>0){E+=w}}}return{count:S,size:E}}_findLocation(){let S;for(S=0;Sthis.maxAge){this.itemInfo.delete(q);S.delete(q);E.delete(q);w++;N=q}else{ee.location=k}}if(w>0){this.logger.log("Garbage Collected %d old items at pack %d (%d items remaining) e. g. %s",w,k,S.size,N)}}_persistFreshContent(){if(this.freshContent.size>0){const S=Math.ceil(this.freshContent.size/Te);const E=Math.ceil(this.freshContent.size/S);this.logger.log(`${this.freshContent.size} fresh items in cache`);const k=Array.from({length:S},(()=>{const S=this._findLocation();this.content[S]=null;return{items:new Set,map:new Map,loc:S}}));let w=0;let N=k[0];let j=0;for(const S of this.requests){const q=this.freshContent.get(S);if(q===undefined)continue;N.items.add(S);N.map.set(S,q.freshValue);q.location=N.loc;q.freshValue=undefined;this.freshContent.delete(S);if(++w>E){w=0;N=k[++j]}}for(const S of k){this.content[S.loc]=new PackContent(S.items,new Set(S.items),new PackContentItems(S.map))}}}_optimizeSmallContent(){const S=[];let E=0;const k=[];let w=0;for(let N=0;Nve)continue;if(j.used.size>0){S.push(N);E+=q}else{k.push(N);w+=q}}let N;if(S.length>=Ee||E>ve){N=S}else if(k.length>=Ee||w>ve){N=k}else return;const j=[];for(const S of N){j.push(this.content[S]);this.content[S]=undefined}const q=new Set;const ee=new Set;const te=[];for(const S of j){for(const E of S.items){q.add(E)}for(const E of S.used){ee.add(E)}te.push((async E=>{await S.unpack();for(const[k,w]of S.content){E.set(k,w)}}))}const ae=this._findLocation();this._gcAndUpdateLocation(q,ee,ae);if(q.size>0){this.content[ae]=new PackContent(q,ee,ne((async()=>{const S=new Map;await Promise.all(te.map((E=>E(S))));return new PackContentItems(S)})));this.logger.log("Merged %d small files with %d cache items into pack %d",j.length,q.size,ae)}}_optimizeUnusedContent(){for(let S=0;S0&&w0){this.content[w]=new PackContent(k,new Set(k),(async()=>{await E.unpack();const S=new Map;for(const w of k){S.set(w,E.content.get(w))}return new PackContentItems(S)}))}const N=new Set(E.items);const j=new Set;for(const S of k){N.delete(S)}const q=this._findLocation();this._gcAndUpdateLocation(N,j,q);if(N.size>0){this.content[q]=new PackContent(N,j,(async()=>{await E.unpack();const S=new Map;for(const k of N){S.set(k,E.content.get(k))}return new PackContentItems(S)}))}this.logger.log("Split pack %d into pack %d with %d used items and pack %d with %d unused items",S,w,k.size,q,N.size);return}}}_gcOldestContent(){let S=undefined;for(const E of this.itemInfo.values()){if(S===undefined||E.lastAccessthis.maxAge){const E=S.location;if(E<0)return;const k=this.content[E];const w=new Set(k.items);const N=new Set(k.used);this._gcAndUpdateLocation(w,N,E);this.content[E]=w.size>0?new PackContent(w,N,(async()=>{await k.unpack();const S=new Map;for(const E of w){S.set(E,k.content.get(E))}return new PackContentItems(S)})):undefined}}serialize({write:S,writeSeparate:E}){this._persistFreshContent();this._optimizeSmallContent();this._optimizeUnusedContent();this._gcOldestContent();for(const E of this.itemInfo.keys()){S(E)}S(null);for(const E of this.itemInfo.values()){S(E.etag)}for(const E of this.itemInfo.values()){S(E.lastAccess)}for(let k=0;k{const E=new PackItemInfo(S,undefined,undefined);this.itemInfo.set(S,E);return E}));for(const E of w){E.etag=S()}for(const E of w){E.lastAccess=S()}}this.content.length=0;let k=S();while(k!==null){if(k===undefined){this.content.push(k)}else{const w=this.content.length;const N=S();this.content.push(new PackContent(k,new Set,N,E,`${this.content.length}`));for(const S of k){this.itemInfo.get(S).location=w}}k=S()}}}te(Pack,"webpack/lib/cache/PackFileCacheStrategy","Pack");class PackContentItems{constructor(S){this.map=S}serialize({write:S,snapshot:E,rollback:k,logger:w,profile:N}){if(N){S(false);for(const[N,j]of this.map){const q=E();try{S(N);const E=process.hrtime();S(j);const k=process.hrtime(E);const q=k[0]*1e3+k[1]/1e6;if(q>1){if(q>500)w.error(`Serialization of '${N}': ${q} ms`);else if(q>50)w.warn(`Serialization of '${N}': ${q} ms`);else if(q>10)w.info(`Serialization of '${N}': ${q} ms`);else if(q>5)w.log(`Serialization of '${N}': ${q} ms`);else w.debug(`Serialization of '${N}': ${q} ms`)}}catch(S){k(q);if(S===_e)continue;w.warn(`Skipped not serializable cache item '${N}': ${S.message}`);w.debug(S.stack)}}S(null);return}const j=E();try{S(true);S(this.map)}catch(N){k(j);S(false);for(const[N,j]of this.map){const q=E();try{S(N);S(j)}catch(S){k(q);if(S===_e)continue;w.warn(`Skipped not serializable cache item '${N}': ${S.message}`);w.debug(S.stack)}}S(null)}}deserialize({read:S,logger:E,profile:k}){if(S()){this.map=S()}else if(k){const k=new Map;let w=S();while(w!==null){const N=process.hrtime();const j=S();const q=process.hrtime(N);const ee=q[0]*1e3+q[1]/1e6;if(ee>1){if(ee>100)E.error(`Deserialization of '${w}': ${ee} ms`);else if(ee>20)E.warn(`Deserialization of '${w}': ${ee} ms`);else if(ee>5)E.info(`Deserialization of '${w}': ${ee} ms`);else if(ee>2)E.log(`Deserialization of '${w}': ${ee} ms`);else E.debug(`Deserialization of '${w}': ${ee} ms`)}k.set(w,j);w=S()}this.map=k}else{const E=new Map;let k=S();while(k!==null){E.set(k,S());k=S()}this.map=E}}}te(PackContentItems,"webpack/lib/cache/PackFileCacheStrategy","PackContentItems");class PackContent{constructor(S,E,k,w,N){this.items=S;this.lazy=typeof k==="function"?k:undefined;this.content=typeof k==="function"?undefined:k.map;this.outdated=false;this.used=E;this.logger=w;this.lazyName=N}get(S){this.used.add(S);if(this.content){return this.content.get(S)}const{lazyName:E}=this;let k;if(E){this.lazyName=undefined;k=`restore cache content ${E} (${j(this.getSize())})`;this.logger.log(`starting to restore cache content ${E} (${j(this.getSize())}) because of request to: ${S}`);this.logger.time(k)}const w=this.lazy();if(w instanceof Promise){return w.then((E=>{const w=E.map;if(k){this.logger.timeEnd(k)}this.content=w;this.lazy=q.unMemoizeLazy(this.lazy);return w.get(S)}))}else{const E=w.map;if(k){this.logger.timeEnd(k)}this.content=E;this.lazy=q.unMemoizeLazy(this.lazy);return E.get(S)}}unpack(){if(this.content)return;if(this.lazy){const{lazyName:S}=this;let E;if(S){this.lazyName=undefined;E=`unpack cache content ${S} (${j(this.getSize())})`;this.logger.time(E)}const k=this.lazy();if(k instanceof Promise){return k.then((S=>{if(E){this.logger.timeEnd(E)}this.content=S.map}))}else{if(E){this.logger.timeEnd(E)}this.content=k.map}}}getSize(){if(!this.lazy)return-1;const S=this.lazy.options;if(!S)return-1;const E=S.size;if(typeof E!=="number")return-1;return E}delete(S){this.items.delete(S);this.used.delete(S);this.outdated=true}getLazyContentItems(){if(!this.outdated&&this.lazy)return this.lazy;if(!this.outdated&&this.content){const S=new Map(this.content);return this.lazy=ne((()=>new PackContentItems(S)))}this.outdated=false;if(this.content){return this.lazy=ne((()=>{const S=new Map;for(const E of this.items){S.set(E,this.content.get(E))}return new PackContentItems(S)}))}const S=this.lazy;return this.lazy=()=>{const E=S();if(E instanceof Promise){return E.then((S=>{const E=S.map;const k=new Map;for(const S of this.items){k.set(S,E.get(S))}return new PackContentItems(k)}))}else{const S=E.map;const k=new Map;for(const E of this.items){k.set(E,S.get(E))}return new PackContentItems(k)}}}}const allowCollectingMemory=S=>{const E=S.buffer.byteLength-S.byteLength;if(E>8192&&(E>1048576||E>S.byteLength)){return Buffer.from(S)}return S};class PackFileCacheStrategy{constructor({compiler:S,fs:E,context:k,cacheLocation:N,version:j,logger:q,snapshot:te,maxAge:ne,profile:_e,allowCollectingMemory:ve,compression:Ee}){this.fileSerializer=ae(E);this.fileSystemInfo=new w(E,{managedPaths:te.managedPaths,immutablePaths:te.immutablePaths,logger:q.getChildLogger("webpack.FileSystemInfo")});this.compiler=S;this.context=k;this.cacheLocation=N;this.version=j;this.logger=q;this.maxAge=ne;this.profile=_e;this.allowCollectingMemory=ve;this.compression=Ee;this._extension=Ee==="brotli"?".pack.br":Ee==="gzip"?".pack.gz":".pack";this.snapshot=te;this.buildDependencies=new Set;this.newBuildDependencies=new ee;this.resolveBuildDependenciesSnapshot=undefined;this.resolveResults=undefined;this.buildSnapshot=undefined;this.packPromise=this._openPack();this.storePromise=Promise.resolve()}_getPack(){if(this.packPromise===undefined){this.packPromise=this.storePromise.then((()=>this._openPack()))}return this.packPromise}_openPack(){const{logger:S,profile:E,cacheLocation:k,version:w}=this;let N;let j;let q;let ee;let te;S.time("restore cache container");return this.fileSerializer.deserialize(null,{filename:`${k}/index${this._extension}`,extension:`${this._extension}`,logger:S,profile:E,retainedBuffer:this.allowCollectingMemory?allowCollectingMemory:undefined}).catch((E=>{if(E.code!=="ENOENT"){S.warn(`Restoring pack failed from ${k}${this._extension}: ${E}`);S.debug(E.stack)}else{S.debug(`No pack exists at ${k}${this._extension}: ${E}`)}return undefined})).then((E=>{S.timeEnd("restore cache container");if(!E)return undefined;if(!(E instanceof PackContainer)){S.warn(`Restored pack from ${k}${this._extension}, but contained content is unexpected.`,E);return undefined}if(E.version!==w){S.log(`Restored pack from ${k}${this._extension}, but version doesn't match.`);return undefined}S.time("check build dependencies");return Promise.all([new Promise(((w,j)=>{this.fileSystemInfo.checkSnapshotValid(E.buildSnapshot,((j,q)=>{if(j){S.log(`Restored pack from ${k}${this._extension}, but checking snapshot of build dependencies errored: ${j}.`);S.debug(j.stack);return w(false)}if(!q){S.log(`Restored pack from ${k}${this._extension}, but build dependencies have changed.`);return w(false)}N=E.buildSnapshot;return w(true)}))})),new Promise(((w,N)=>{this.fileSystemInfo.checkSnapshotValid(E.resolveBuildDependenciesSnapshot,((N,ne)=>{if(N){S.log(`Restored pack from ${k}${this._extension}, but checking snapshot of resolving of build dependencies errored: ${N}.`);S.debug(N.stack);return w(false)}if(ne){ee=E.resolveBuildDependenciesSnapshot;j=E.buildDependencies;te=E.resolveResults;return w(true)}S.log("resolving of build dependencies is invalid, will re-resolve build dependencies");this.fileSystemInfo.checkResolveResultsValid(E.resolveResults,((N,j)=>{if(N){S.log(`Restored pack from ${k}${this._extension}, but resolving of build dependencies errored: ${N}.`);S.debug(N.stack);return w(false)}if(j){q=E.buildDependencies;te=E.resolveResults;return w(true)}S.log(`Restored pack from ${k}${this._extension}, but build dependencies resolve to different locations.`);return w(false)}))}))}))]).catch((E=>{S.timeEnd("check build dependencies");throw E})).then((([k,w])=>{S.timeEnd("check build dependencies");if(k&&w){S.time("restore cache content metadata");const k=E.data();S.timeEnd("restore cache content metadata");return k}return undefined}))})).then((E=>{if(E){E.maxAge=this.maxAge;this.buildSnapshot=N;if(j)this.buildDependencies=j;if(q)this.newBuildDependencies.addAll(q);this.resolveResults=te;this.resolveBuildDependenciesSnapshot=ee;return E}return new Pack(S,this.maxAge)})).catch((E=>{this.logger.warn(`Restoring pack from ${k}${this._extension} failed: ${E}`);this.logger.debug(E.stack);return new Pack(S,this.maxAge)}))}store(S,E,k){return this._getPack().then((w=>{w.set(S,E===null?null:E.toString(),k)}))}restore(S,E){return this._getPack().then((k=>k.get(S,E===null?null:E.toString()))).catch((E=>{if(E&&E.code!=="ENOENT"){this.logger.warn(`Restoring failed for ${S} from pack: ${E}`);this.logger.debug(E.stack)}}))}storeBuildDependencies(S){this.newBuildDependencies.addAll(S)}afterAllStored(){const S=this.packPromise;if(S===undefined)return Promise.resolve();const E=N.getReporter(this.compiler);this.packPromise=undefined;return this.storePromise=S.then((S=>{if(!S.invalid)return;this.logger.log(`Storing pack...`);let k;const w=new Set;for(const S of this.newBuildDependencies){if(!this.buildDependencies.has(S)){w.add(S)}}if(w.size>0||!this.buildSnapshot){if(E)E(.5,"resolve build dependencies");this.logger.debug(`Capturing build dependencies... (${Array.from(w).join(", ")})`);k=new Promise(((S,k)=>{this.logger.time("resolve build dependencies");this.fileSystemInfo.resolveBuildDependencies(this.context,w,((w,N)=>{this.logger.timeEnd("resolve build dependencies");if(w)return k(w);this.logger.time("snapshot build dependencies");const{files:j,directories:q,missing:ee,resolveResults:te,resolveDependencies:ne}=N;if(this.resolveResults){for(const[S,E]of te){this.resolveResults.set(S,E)}}else{this.resolveResults=te}if(E){E(.6,"snapshot build dependencies","resolving")}this.fileSystemInfo.createSnapshot(undefined,ne.files,ne.directories,ne.missing,this.snapshot.resolveBuildDependencies,((w,N)=>{if(w){this.logger.timeEnd("snapshot build dependencies");return k(w)}if(!N){this.logger.timeEnd("snapshot build dependencies");return k(new Error("Unable to snapshot resolve dependencies"))}if(this.resolveBuildDependenciesSnapshot){this.resolveBuildDependenciesSnapshot=this.fileSystemInfo.mergeSnapshots(this.resolveBuildDependenciesSnapshot,N)}else{this.resolveBuildDependenciesSnapshot=N}if(E){E(.7,"snapshot build dependencies","modules")}this.fileSystemInfo.createSnapshot(undefined,j,q,ee,this.snapshot.buildDependencies,((E,w)=>{this.logger.timeEnd("snapshot build dependencies");if(E)return k(E);if(!w){return k(new Error("Unable to snapshot build dependencies"))}this.logger.debug("Captured build dependencies");if(this.buildSnapshot){this.buildSnapshot=this.fileSystemInfo.mergeSnapshots(this.buildSnapshot,w)}else{this.buildSnapshot=w}S()}))}))}))}))}else{k=Promise.resolve()}return k.then((()=>{if(E)E(.8,"serialize pack");this.logger.time(`store pack`);const k=new Set(this.buildDependencies);for(const S of w){k.add(S)}const N=new PackContainer(S,this.version,this.buildSnapshot,k,this.resolveResults,this.resolveBuildDependenciesSnapshot);return this.fileSerializer.serialize(N,{filename:`${this.cacheLocation}/index${this._extension}`,extension:`${this._extension}`,logger:this.logger,profile:this.profile}).then((()=>{for(const S of w){this.buildDependencies.add(S)}this.newBuildDependencies.clear();this.logger.timeEnd(`store pack`);const E=S.getContentStats();this.logger.log("Stored pack (%d items, %d files, %d MiB)",S.itemInfo.size,E.count,Math.round(E.size/1024/1024))})).catch((S=>{this.logger.timeEnd(`store pack`);this.logger.warn(`Caching failed for pack: ${S}`);this.logger.debug(S.stack)}))}))})).catch((S=>{this.logger.warn(`Caching failed for pack: ${S}`);this.logger.debug(S.stack)}))}clear(){this.fileSystemInfo.clear();this.buildDependencies.clear();this.newBuildDependencies.clear();this.resolveBuildDependenciesSnapshot=undefined;this.resolveResults=undefined;this.buildSnapshot=undefined;this.packPromise=undefined}}S.exports=PackFileCacheStrategy},13653:(S,E,k)=>{"use strict";const w=k(83379);const N=k(56202);class CacheEntry{constructor(S,E){this.result=S;this.snapshot=E}serialize({write:S}){S(this.result);S(this.snapshot)}deserialize({read:S}){this.result=S();this.snapshot=S()}}N(CacheEntry,"webpack/lib/cache/ResolverCachePlugin");const addAllToSet=(S,E)=>{if(S instanceof w){S.addAll(E)}else{for(const k of E){S.add(k)}}};const objectToString=(S,E)=>{let k="";for(const w in S){if(E&&w==="context")continue;const N=S[w];if(typeof N==="object"&&N!==null){k+=`|${w}=[${objectToString(N,false)}|]`}else{k+=`|${w}=|${N}`}}return k};class ResolverCachePlugin{apply(S){const E=S.getCache("ResolverCachePlugin");let k;let N;let j=0;let q=0;let ee=0;let te=0;S.hooks.thisCompilation.tap("ResolverCachePlugin",(S=>{N=S.options.snapshot.resolve;k=S.fileSystemInfo;S.hooks.finishModules.tap("ResolverCachePlugin",(()=>{if(j+q>0){const E=S.getLogger("webpack.ResolverCachePlugin");E.log(`${Math.round(100*j/(j+q))}% really resolved (${j} real resolves with ${ee} cached but invalid, ${q} cached valid, ${te} concurrent)`);j=0;q=0;ee=0;te=0}}))}));const doRealResolve=(S,E,q,ee,te)=>{j++;const ne={_ResolverCachePluginCacheMiss:true,...ee};const ae={...q,stack:new Set,missingDependencies:new w,fileDependencies:new w,contextDependencies:new w};const propagate=S=>{if(q[S]){addAllToSet(q[S],ae[S])}};const _e=Date.now();E.doResolve(E.hooks.resolve,ne,"Cache miss",ae,((E,w)=>{propagate("fileDependencies");propagate("contextDependencies");propagate("missingDependencies");if(E)return te(E);const j=ae.fileDependencies;const q=ae.contextDependencies;const ee=ae.missingDependencies;k.createSnapshot(_e,j,q,ee,N,((E,k)=>{if(E)return te(E);if(!k){if(w)return te(null,w);return te()}S.store(new CacheEntry(w,k),(S=>{if(S)return te(S);if(w)return te(null,w);te()}))}))}))};S.resolverFactory.hooks.resolver.intercept({factory(S,w){const N=new Map;w.tap("ResolverCachePlugin",((w,j,te)=>{if(j.cache!==true)return;const ne=objectToString(te,false);const ae=j.cacheWithContext!==undefined?j.cacheWithContext:false;w.hooks.resolve.tapAsync({name:"ResolverCachePlugin",stage:-100},((j,te,_e)=>{if(j._ResolverCachePluginCacheMiss||!k){return _e()}const ve=`${S}${ne}${objectToString(j,!ae)}`;const Ee=N.get(ve);if(Ee){Ee.push(_e);return}const Te=E.getItemCache(ve,null);let Ce;const done=(S,E)=>{if(Ce===undefined){_e(S,E);Ce=false}else{for(const k of Ce){k(S,E)}N.delete(ve);Ce=false}};const processCacheResult=(S,E)=>{if(S)return done(S);if(E){const{snapshot:S,result:N}=E;k.checkSnapshotValid(S,((E,k)=>{if(E||!k){ee++;return doRealResolve(Te,w,te,j,done)}q++;if(te.missingDependencies){addAllToSet(te.missingDependencies,S.getMissingIterable())}if(te.fileDependencies){addAllToSet(te.fileDependencies,S.getFileIterable())}if(te.contextDependencies){addAllToSet(te.contextDependencies,S.getContextIterable())}done(null,N)}))}else{doRealResolve(Te,w,te,j,done)}};Te.get(processCacheResult);if(Ce===undefined){Ce=[_e];N.set(ve,Ce)}}))}));return w}})}}S.exports=ResolverCachePlugin},77034:(S,E,k)=>{"use strict";const w=k(35891);class LazyHashedEtag{constructor(S){this._obj=S;this._hash=undefined}toString(){if(this._hash===undefined){const S=w("md4");this._obj.updateHash(S);this._hash=S.digest("base64")}return this._hash}}const N=new WeakMap;const getter=S=>{const E=N.get(S);if(E!==undefined)return E;const k=new LazyHashedEtag(S);N.set(S,k);return k};S.exports=getter},10168:S=>{"use strict";class MergedEtag{constructor(S,E){this.a=S;this.b=E}toString(){return`${this.a.toString()}|${this.b.toString()}`}}const E=new WeakMap;const k=new WeakMap;const mergeEtags=(S,w)=>{if(typeof S==="string"){if(typeof w==="string"){return`${S}|${w}`}else{const E=w;w=S;S=E}}else{if(typeof w!=="string"){let k=E.get(S);if(k===undefined){E.set(S,k=new WeakMap)}const N=k.get(w);if(N===undefined){const E=new MergedEtag(S,w);k.set(w,E);return E}else{return N}}}let N=k.get(S);if(N===undefined){k.set(S,N=new Map)}const j=N.get(w);if(j===undefined){const E=new MergedEtag(S,w);N.set(w,E);return E}else{return j}};S.exports=mergeEtags},61634:(S,E,k)=>{"use strict";const w=k(85622);const N=k(76518);const getArguments=(S=N)=>{const E={};const pathToArgumentName=S=>S.replace(/\./g,"-").replace(/\[\]/g,"").replace(/(\p{Uppercase_Letter}+|\p{Lowercase_Letter}|\d)(\p{Uppercase_Letter}+)/gu,"$1-$2").replace(/-?[^\p{Uppercase_Letter}\p{Lowercase_Letter}\d]+/gu,"-").toLowerCase();const getSchemaPart=E=>{const k=E.split("/");let w=S;for(let S=1;S{for(const{schema:E}of S){if(E.cli&&E.cli.helper)continue;if(E.description)return E.description}};const schemaToArgumentConfig=S=>{if(S.enum){return{type:"enum",values:S.enum}}switch(S.type){case"number":return{type:"number"};case"string":return{type:S.absolutePath?"path":"string"};case"boolean":return{type:"boolean"}}if(S.instanceof==="RegExp"){return{type:"RegExp"}}return undefined};const addResetFlag=S=>{const k=S[0].path;const w=pathToArgumentName(`${k}.reset`);const N=getDescription(S);E[w]={configs:[{type:"reset",multiple:false,description:`Clear all items provided in '${k}' configuration. ${N}`,path:k}],description:undefined,simpleType:undefined,multiple:undefined}};const addFlag=(S,k)=>{const w=schemaToArgumentConfig(S[0].schema);if(!w)return 0;const N=pathToArgumentName(S[0].path);const j={...w,multiple:k,description:getDescription(S),path:S[0].path};if(!E[N]){E[N]={configs:[],description:undefined,simpleType:undefined,multiple:undefined}}if(E[N].configs.some((S=>JSON.stringify(S)===JSON.stringify(j)))){return 0}if(E[N].configs.some((S=>S.type===j.type&&S.multiple!==k))){if(k){throw new Error(`Conflicting schema for ${S[0].path} with ${j.type} type (array type must be before single item type)`)}return 0}E[N].configs.push(j);return 1};const traverse=(S,E="",k=[],w=null)=>{while(S.$ref){S=getSchemaPart(S.$ref)}const N=k.filter((({schema:E})=>E===S));if(N.length>=2||N.some((({path:S})=>S===E))){return 0}if(S.cli&&S.cli.exclude)return 0;const j=[{schema:S,path:E},...k];let q=0;q+=addFlag(j,!!w);if(S.type==="object"){if(S.properties){for(const k of Object.keys(S.properties)){q+=traverse(S.properties[k],E?`${E}.${k}`:k,j,w)}}return q}if(S.type==="array"){if(w){return 0}if(Array.isArray(S.items)){let k=0;for(const w of S.items){q+=traverse(w,`${E}.${k}`,j,E)}return q}q+=traverse(S.items,`${E}[]`,j,E);if(q>0){addResetFlag(j);q++}return q}const ee=S.oneOf||S.anyOf||S.allOf;if(ee){const S=ee;for(let k=0;k{if(!S)return E;if(!E)return S;if(S.includes(E))return S;return`${S} ${E}`}),undefined);k.simpleType=k.configs.reduce(((S,E)=>{let k="string";switch(E.type){case"number":k="number";break;case"reset":case"boolean":k="boolean";break;case"enum":if(E.values.every((S=>typeof S==="boolean")))k="boolean";if(E.values.every((S=>typeof S==="number")))k="number";break}if(S===undefined)return k;return S===k?S:"string"}),undefined);k.multiple=k.configs.some((S=>S.multiple))}return E};const j=new WeakMap;const getObjectAndProperty=(S,E,k=0)=>{if(!E)return{value:S};const w=E.split(".");let N=w.pop();let q=S;let ee=0;for(const S of w){const E=S.endsWith("[]");const N=E?S.slice(0,-2):S;let te=q[N];if(E){if(te===undefined){te={};q[N]=[...Array.from({length:k}),te];j.set(q[N],k+1)}else if(!Array.isArray(te)){return{problem:{type:"unexpected-non-array-in-path",path:w.slice(0,ee).join(".")}}}else{let S=j.get(te)||0;while(S<=k){te.push(undefined);S++}j.set(te,S);const E=te.length-S+k;if(te[E]===undefined){te[E]={}}else if(te[E]===null||typeof te[E]!=="object"){return{problem:{type:"unexpected-non-object-in-path",path:w.slice(0,ee).join(".")}}}te=te[E]}}else{if(te===undefined){te=q[N]={}}else if(te===null||typeof te!=="object"){return{problem:{type:"unexpected-non-object-in-path",path:w.slice(0,ee).join(".")}}}}q=te;ee++}let te=q[N];if(N.endsWith("[]")){const S=N.slice(0,-2);const w=q[S];if(w===undefined){q[S]=[...Array.from({length:k}),undefined];j.set(q[S],k+1);return{object:q[S],property:k,value:undefined}}else if(!Array.isArray(w)){q[S]=[w,...Array.from({length:k}),undefined];j.set(q[S],k+1);return{object:q[S],property:k+1,value:undefined}}else{let S=j.get(w)||0;while(S<=k){w.push(undefined);S++}j.set(w,S);const N=w.length-S+k;if(w[N]===undefined){w[N]={}}else if(w[N]===null||typeof w[N]!=="object"){return{problem:{type:"unexpected-non-object-in-path",path:E}}}return{object:w,property:N,value:w[N]}}}return{object:q,property:N,value:te}};const setValue=(S,E,k,w)=>{const{problem:N,object:j,property:q}=getObjectAndProperty(S,E,w);if(N)return N;j[q]=k;return null};const processArgumentConfig=(S,E,k,w)=>{if(w!==undefined&&!S.multiple){return{type:"multiple-values-unexpected",path:S.path}}const N=parseValueForArgumentConfig(S,k);if(N===undefined){return{type:"invalid-value",path:S.path,expected:getExpectedValue(S)}}const j=setValue(E,S.path,N,w);if(j)return j;return null};const getExpectedValue=S=>{switch(S.type){default:return S.type;case"boolean":return"true | false";case"RegExp":return"regular expression (example: /ab?c*/)";case"enum":return S.values.map((S=>`${S}`)).join(" | ");case"reset":return"true (will reset the previous value to an empty array)"}};const parseValueForArgumentConfig=(S,E)=>{switch(S.type){case"string":if(typeof E==="string"){return E}break;case"path":if(typeof E==="string"){return w.resolve(E)}break;case"number":if(typeof E==="number")return E;if(typeof E==="string"&&/^[+-]?\d*(\.\d*)[eE]\d+$/){const S=+E;if(!isNaN(S))return S}break;case"boolean":if(typeof E==="boolean")return E;if(E==="true")return true;if(E==="false")return false;break;case"RegExp":if(E instanceof RegExp)return E;if(typeof E==="string"){const S=/^\/(.*)\/([yugi]*)$/.exec(E);if(S&&!/[^\\]\//.test(S[1]))return new RegExp(S[1],S[2])}break;case"enum":if(S.values.includes(E))return E;for(const k of S.values){if(`${k}`===E)return k}break;case"reset":if(E===true)return[];break}};const processArguments=(S,E,k)=>{const w=[];for(const N of Object.keys(k)){const j=S[N];if(!j){w.push({type:"unknown-argument",path:"",argument:N});continue}const processValue=(S,k)=>{const q=[];for(const w of j.configs){const j=processArgumentConfig(w,E,S,k);if(!j){return}q.push({...j,argument:N,value:S,index:k})}w.push(...q)};let q=k[N];if(Array.isArray(q)){for(let S=0;S{"use strict";const w=k(69328);const N=k(85622);const j=/^(?:((?:[A-Z]:)?[/\\].*?))?(?::(.+?))?$/i;const parse=(S,E)=>{if(!S){return{}}if(N.isAbsolute(S)){const[,E,k]=j.exec(S)||[];return{configPath:E,env:k}}const k=w.findConfig(E);if(k&&Object.keys(k).includes(S)){return{env:S}}return{query:S}};const load=(S,E)=>{const{configPath:k,env:N,query:j}=parse(S,E);const q=j?j:k?w.loadConfig({config:k,env:N}):w.loadConfig({path:E,env:N});if(!q)return null;return w(q)};const resolve=S=>{const rawChecker=E=>S.every((S=>{const[k,w]=S.split(" ");if(!k)return false;const N=E[k];if(!N)return false;const[j,q]=w==="TP"?[Infinity,Infinity]:w.split(".");if(typeof N==="number"){return+j>=N}return N[0]===+j?+q>=N[1]:+j>N[0]}));const E=S.some((S=>/^node /.test(S)));const k=S.some((S=>/^(?!node)/.test(S)));const w=!k?false:E?null:true;const N=!E?false:k?null:true;const j=rawChecker({chrome:63,and_chr:63,edge:79,firefox:67,and_ff:67,opera:50,op_mob:46,safari:[11,1],ios_saf:[11,3],samsung:[8,2],android:63,and_qq:[10,4],node:[13,14]});return{const:rawChecker({chrome:49,and_chr:49,edge:12,firefox:36,and_ff:36,opera:36,op_mob:36,safari:[10,0],ios_saf:[10,0],samsung:[5,0],android:37,and_qq:[10,4],and_uc:[12,12],kaios:[2,5],node:[6,0]}),arrowFunction:rawChecker({chrome:45,and_chr:45,edge:12,firefox:39,and_ff:39,opera:32,op_mob:32,safari:10,ios_saf:10,samsung:[5,0],android:45,and_qq:[10,4],baidu:[7,12],and_uc:[12,12],kaios:[2,5],node:[6,0]}),forOf:rawChecker({chrome:38,and_chr:38,edge:12,firefox:51,and_ff:51,opera:25,op_mob:25,safari:7,ios_saf:7,samsung:[3,0],android:38,node:[0,12]}),destructuring:rawChecker({chrome:49,and_chr:49,edge:14,firefox:41,and_ff:41,opera:36,op_mob:36,safari:8,ios_saf:8,samsung:[5,0],android:49,node:[6,0]}),bigIntLiteral:rawChecker({chrome:67,and_chr:67,edge:79,firefox:68,and_ff:68,opera:54,op_mob:48,safari:14,ios_saf:14,samsung:[9,2],android:67,node:[10,4]}),module:rawChecker({chrome:61,and_chr:61,edge:16,firefox:60,and_ff:60,opera:48,op_mob:45,safari:[10,1],ios_saf:[10,3],samsung:[8,0],android:61,and_qq:[10,4],node:[13,14]}),dynamicImport:j,dynamicImportInWorker:j&&!E,globalThis:rawChecker({chrome:71,and_chr:71,edge:79,firefox:65,and_ff:65,opera:58,op_mob:50,safari:[12,1],ios_saf:[12,2],samsung:[10,1],android:71,node:[12,0]}),browser:w,electron:false,node:N,nwjs:false,web:w,webworker:false,document:w,fetchWasm:w,global:N,importScripts:false,importScriptsInWorker:true,nodeBuiltins:N,require:N}};S.exports={resolve:resolve,load:load}},54411:(S,E,k)=>{"use strict";const w=k(35747);const N=k(85622);const j=k(58159);const{cleverMerge:q}=k(90149);const{getTargetsProperties:ee,getTargetProperties:te,getDefaultTarget:ne}=k(71322);const ae=/[\\/]node_modules[\\/]/i;const D=(S,E,k)=>{if(S[E]===undefined){S[E]=k}};const F=(S,E,k)=>{if(S[E]===undefined){S[E]=k()}};const A=(S,E,k)=>{const w=S[E];if(w===undefined){S[E]=k()}else if(Array.isArray(w)){let N=undefined;for(let j=0;j{F(S,"context",(()=>process.cwd()));applyInfrastructureLoggingDefaults(S.infrastructureLogging)};const applyWebpackOptionsDefaults=S=>{F(S,"context",(()=>process.cwd()));F(S,"target",(()=>ne(S.context)));const{mode:E,name:w,target:N}=S;let j=N===false?false:typeof N==="string"?te(N,S.context):ee(N,S.context);const ae=E==="development";const _e=E==="production"||!E;if(typeof S.entry!=="function"){for(const E of Object.keys(S.entry)){F(S.entry[E],"import",(()=>["./src"]))}}F(S,"devtool",(()=>ae?"eval":false));D(S,"watch",false);D(S,"profile",false);D(S,"parallelism",100);D(S,"recordsInputPath",false);D(S,"recordsOutputPath",false);F(S,"cache",(()=>ae?{type:"memory"}:false));applyCacheDefaults(S.cache,{name:w||"default",mode:E||"production",development:ae});const ve=!!S.cache;applySnapshotDefaults(S.snapshot,{production:_e});applyExperimentsDefaults(S.experiments);applyModuleDefaults(S.module,{cache:ve,syncWebAssembly:S.experiments.syncWebAssembly,asyncWebAssembly:S.experiments.asyncWebAssembly});applyOutputDefaults(S.output,{context:S.context,targetProperties:j,isAffectedByBrowserslist:N===undefined||typeof N==="string"&&N.startsWith("browserslist")||Array.isArray(N)&&N.some((S=>S.startsWith("browserslist"))),outputModule:S.experiments.outputModule,development:ae,entry:S.entry,module:S.module});applyExternalsPresetsDefaults(S.externalsPresets,{targetProperties:j});applyLoaderDefaults(S.loader,{targetProperties:j});F(S,"externalsType",(()=>{const E=k(76518).definitions.ExternalsType.enum;return S.output.library&&E.includes(S.output.library.type)?S.output.library.type:S.output.module?"module":"var"}));applyNodeDefaults(S.node,{targetProperties:j});F(S,"performance",(()=>_e&&j&&(j.browser||j.browser===null)?{}:false));applyPerformanceDefaults(S.performance,{production:_e});applyOptimizationDefaults(S.optimization,{development:ae,production:_e,records:!!(S.recordsInputPath||S.recordsOutputPath)});S.resolve=q(getResolveDefaults({cache:ve,context:S.context,targetProperties:j,mode:S.mode}),S.resolve);S.resolveLoader=q(getResolveLoaderDefaults({cache:ve}),S.resolveLoader)};const applyExperimentsDefaults=S=>{D(S,"topLevelAwait",false);D(S,"syncWebAssembly",false);D(S,"asyncWebAssembly",false);D(S,"outputModule",false)};const applyCacheDefaults=(S,{name:E,mode:k,development:j})=>{if(S===false)return;switch(S.type){case"filesystem":F(S,"name",(()=>E+"-"+k));D(S,"version","");F(S,"cacheDirectory",(()=>{const S=process.cwd();let E=S;for(;;){try{if(w.statSync(N.join(E,"package.json")).isFile())break}catch(S){}const S=N.dirname(E);if(E===S){E=undefined;break}E=S}if(!E){return N.resolve(S,".cache/webpack")}else if(process.versions.pnp==="1"){return N.resolve(E,".pnp/.cache/webpack")}else if(process.versions.pnp==="3"){return N.resolve(E,".yarn/.cache/webpack")}else{return N.resolve(E,"node_modules/.cache/webpack")}}));F(S,"cacheLocation",(()=>N.resolve(S.cacheDirectory,S.name)));D(S,"hashAlgorithm","md4");D(S,"store","pack");D(S,"compression",j?false:"gzip");D(S,"profile",false);D(S,"idleTimeout",6e4);D(S,"idleTimeoutForInitialStore",5e3);D(S,"idleTimeoutAfterLargeChanges",1e3);D(S,"maxMemoryGenerations",j?5:Infinity);D(S,"maxAge",1e3*60*60*24*60);D(S,"allowCollectingMemory",j);D(S.buildDependencies,"defaultWebpack",[N.resolve(__dirname,"..")+N.sep]);break;case"memory":D(S,"maxGenerations",Infinity);break}};const applySnapshotDefaults=(S,{production:E})=>{A(S,"managedPaths",(()=>{if(process.versions.pnp==="3"){const S=/^(.+?)[\\/]cache[\\/]watchpack-npm-[^\\/]+\.zip[\\/]node_modules[\\/]/.exec(92512);if(S){return[N.resolve(S[1],"unplugged")]}}else{const S=/^(.+?[\\/]node_modules)[\\/]/.exec(92512);if(S){return[S[1]]}}return[]}));A(S,"immutablePaths",(()=>{if(process.versions.pnp==="1"){const S=/^(.+?[\\/]v4)[\\/]npm-watchpack-[^\\/]+-[\da-f]{40}[\\/]node_modules[\\/]/.exec(92512);if(S){return[S[1]]}}else if(process.versions.pnp==="3"){const S=/^(.+?)[\\/]watchpack-npm-[^\\/]+\.zip[\\/]node_modules[\\/]/.exec(92512);if(S){return[S[1]]}}return[]}));F(S,"resolveBuildDependencies",(()=>({timestamp:true,hash:true})));F(S,"buildDependencies",(()=>({timestamp:true,hash:true})));F(S,"module",(()=>E?{timestamp:true,hash:true}:{timestamp:true}));F(S,"resolve",(()=>E?{timestamp:true,hash:true}:{timestamp:true}))};const applyJavascriptParserOptionsDefaults=S=>{D(S,"unknownContextRequest",".");D(S,"unknownContextRegExp",false);D(S,"unknownContextRecursive",true);D(S,"unknownContextCritical",true);D(S,"exprContextRequest",".");D(S,"exprContextRegExp",false);D(S,"exprContextRecursive",true);D(S,"exprContextCritical",true);D(S,"wrappedContextRegExp",/.*/);D(S,"wrappedContextRecursive",true);D(S,"wrappedContextCritical",false);D(S,"strictExportPresence",false);D(S,"strictThisContextOnImports",false)};const applyModuleDefaults=(S,{cache:E,syncWebAssembly:k,asyncWebAssembly:w})=>{if(E){D(S,"unsafeCache",(S=>{const E=S.nameForCondition();return E&&ae.test(E)}))}else{D(S,"unsafeCache",false)}F(S.parser,"asset",(()=>({})));F(S.parser.asset,"dataUrlCondition",(()=>({})));if(typeof S.parser.asset.dataUrlCondition==="object"){D(S.parser.asset.dataUrlCondition,"maxSize",8096)}F(S.parser,"javascript",(()=>({})));applyJavascriptParserOptionsDefaults(S.parser.javascript);A(S,"defaultRules",(()=>{const S={type:"javascript/esm",resolve:{byDependency:{esm:{fullySpecified:true}}}};const E={type:"javascript/dynamic"};const N=[{mimetype:"application/node",type:"javascript/auto"},{test:/\.json$/i,type:"json"},{mimetype:"application/json",type:"json"},{test:/\.mjs$/i,...S},{test:/\.js$/i,descriptionData:{type:"module"},...S},{test:/\.cjs$/i,...E},{test:/\.js$/i,descriptionData:{type:"commonjs"},...E},{mimetype:{or:["text/javascript","application/javascript"]},...S},{dependency:"url",oneOf:[{scheme:/^data$/,type:"asset/inline"},{type:"asset/resource"}]}];if(w){const S={type:"webassembly/async",rules:[{descriptionData:{type:"module"},resolve:{fullySpecified:true}}]};N.push({test:/\.wasm$/i,...S});N.push({mimetype:"application/wasm",...S})}else if(k){const S={type:"webassembly/sync",rules:[{descriptionData:{type:"module"},resolve:{fullySpecified:true}}]};N.push({test:/\.wasm$/i,...S});N.push({mimetype:"application/wasm",...S})}return N}))};const applyOutputDefaults=(S,{context:E,targetProperties:k,isAffectedByBrowserslist:q,outputModule:ee,development:te,entry:ne,module:ae})=>{const getLibraryName=S=>{const E=typeof S==="object"&&S&&!Array.isArray(S)&&"type"in S?S.name:S;if(Array.isArray(E)){return E.join(".")}else if(typeof E==="object"){return getLibraryName(E.root)}else if(typeof E==="string"){return E}return""};F(S,"uniqueName",(()=>{const k=getLibraryName(S.library);if(k)return k;const j=N.resolve(E,"package.json");try{const S=JSON.parse(w.readFileSync(j,"utf-8"));return S.name||""}catch(S){if(S.code!=="ENOENT"){S.message+=`\nwhile determining default 'output.uniqueName' from 'name' in ${j}`;throw S}return""}}));F(S,"module",(()=>!!ee));D(S,"filename",S.module?"[name].mjs":"[name].js");F(S,"iife",(()=>!S.module));D(S,"importFunctionName","import");D(S,"importMetaName","import.meta");F(S,"chunkFilename",(()=>{const E=S.filename;if(typeof E!=="function"){const S=E.includes("[name]");const k=E.includes("[id]");const w=E.includes("[chunkhash]");const N=E.includes("[contenthash]");if(w||N||S||k)return E;return E.replace(/(^|\/)([^/]*(?:\?|$))/,"$1[id].$2")}return S.module?"[id].mjs":"[id].js"}));D(S,"assetModuleFilename","[hash][ext][query]");D(S,"webassemblyModuleFilename","[hash].module.wasm");D(S,"compareBeforeEmit",true);D(S,"charset",true);F(S,"hotUpdateGlobal",(()=>j.toIdentifier("webpackHotUpdate"+j.toIdentifier(S.uniqueName))));F(S,"chunkLoadingGlobal",(()=>j.toIdentifier("webpackChunk"+j.toIdentifier(S.uniqueName))));F(S,"globalObject",(()=>{if(k){if(k.global)return"global";if(k.globalThis)return"globalThis"}return"self"}));F(S,"chunkFormat",(()=>{if(k){const E=q?"Make sure that your 'browserslist' includes only platforms that support these features or select an appropriate 'target' to allow selecting a chunk format by default. Alternatively specify the 'output.chunkFormat' directly.":"Select an appropriate 'target' to allow selecting one by default, or specify the 'output.chunkFormat' directly.";if(S.module){if(k.dynamicImport)return"module";if(k.document)return"array-push";throw new Error("For the selected environment is no default ESM chunk format available:\n"+"ESM exports can be chosen when 'import()' is available.\n"+"JSONP Array push can be chosen when 'document' is available.\n"+E)}else{if(k.document)return"array-push";if(k.require)return"commonjs";if(k.nodeBuiltins)return"commonjs";if(k.importScripts)return"array-push";throw new Error("For the selected environment is no default script chunk format available:\n"+"JSONP Array push can be chosen when 'document' or 'importScripts' is available.\n"+"CommonJs exports can be chosen when 'require' or node builtins are available.\n"+E)}}throw new Error("Chunk format can't be selected by default when no target is specified")}));F(S,"chunkLoading",(()=>{if(k){switch(S.chunkFormat){case"array-push":if(k.document)return"jsonp";if(k.importScripts)return"import-scripts";break;case"commonjs":if(k.require)return"require";if(k.nodeBuiltins)return"async-node";break;case"module":if(k.dynamicImport)return"import";break}if(k.require===null||k.nodeBuiltins===null||k.document===null||k.importScripts===null){return"universal"}}return false}));F(S,"workerChunkLoading",(()=>{if(k){switch(S.chunkFormat){case"array-push":if(k.importScriptsInWorker)return"import-scripts";break;case"commonjs":if(k.require)return"require";if(k.nodeBuiltins)return"async-node";break;case"module":if(k.dynamicImportInWorker)return"import";break}if(k.require===null||k.nodeBuiltins===null||k.importScriptsInWorker===null){return"universal"}}return false}));F(S,"wasmLoading",(()=>{if(k){if(k.fetchWasm)return"fetch";if(k.nodeBuiltins)return S.module?"async-node-module":"async-node";if(k.nodeBuiltins===null||k.fetchWasm===null){return"universal"}}return false}));F(S,"workerWasmLoading",(()=>S.wasmLoading));F(S,"devtoolNamespace",(()=>S.uniqueName));if(S.library){F(S.library,"type",(()=>S.module?"module":"var"))}F(S,"path",(()=>N.join(process.cwd(),"dist")));F(S,"pathinfo",(()=>te));D(S,"sourceMapFilename","[file].map[query]");D(S,"hotUpdateChunkFilename",`[id].[fullhash].hot-update.${S.module?"mjs":"js"}`);D(S,"hotUpdateMainFilename","[runtime].[fullhash].hot-update.json");D(S,"crossOriginLoading",false);F(S,"scriptType",(()=>S.module?"module":false));D(S,"publicPath",k&&(k.document||k.importScripts)||S.scriptType==="module"?"auto":"");D(S,"chunkLoadTimeout",12e4);D(S,"hashFunction","md4");D(S,"hashDigest","hex");D(S,"hashDigestLength",20);D(S,"strictModuleExceptionHandling",false);const optimistic=S=>S||S===undefined;F(S.environment,"arrowFunction",(()=>k&&optimistic(k.arrowFunction)));F(S.environment,"const",(()=>k&&optimistic(k.const)));F(S.environment,"destructuring",(()=>k&&optimistic(k.destructuring)));F(S.environment,"forOf",(()=>k&&optimistic(k.forOf)));F(S.environment,"bigIntLiteral",(()=>k&&k.bigIntLiteral));F(S.environment,"dynamicImport",(()=>k&&k.dynamicImport));F(S.environment,"module",(()=>k&&k.module));const{trustedTypes:_e}=S;if(_e){F(_e,"policyName",(()=>S.uniqueName.replace(/[^a-zA-Z0-9\-#=_/@.%]+/g,"_")||"webpack"))}const forEachEntry=S=>{for(const E of Object.keys(ne)){S(ne[E])}};A(S,"enabledLibraryTypes",(()=>{const E=[];if(S.library){E.push(S.library.type)}forEachEntry((S=>{if(S.library){E.push(S.library.type)}}));return E}));A(S,"enabledChunkLoadingTypes",(()=>{const E=new Set;if(S.chunkLoading){E.add(S.chunkLoading)}if(S.workerChunkLoading){E.add(S.workerChunkLoading)}forEachEntry((S=>{if(S.chunkLoading){E.add(S.chunkLoading)}}));return Array.from(E)}));A(S,"enabledWasmLoadingTypes",(()=>{const E=new Set;if(S.wasmLoading){E.add(S.wasmLoading)}if(S.workerWasmLoading){E.add(S.workerWasmLoading)}forEachEntry((S=>{if(S.wasmLoading){E.add(S.wasmLoading)}}));return Array.from(E)}))};const applyExternalsPresetsDefaults=(S,{targetProperties:E})=>{D(S,"web",E&&E.web);D(S,"node",E&&E.node);D(S,"nwjs",E&&E.nwjs);D(S,"electron",E&&E.electron);D(S,"electronMain",E&&E.electron&&E.electronMain);D(S,"electronPreload",E&&E.electron&&E.electronPreload);D(S,"electronRenderer",E&&E.electron&&E.electronRenderer)};const applyLoaderDefaults=(S,{targetProperties:E})=>{F(S,"target",(()=>{if(E){if(E.electron){if(E.electronMain)return"electron-main";if(E.electronPreload)return"electron-preload";if(E.electronRenderer)return"electron-renderer";return"electron"}if(E.nwjs)return"nwjs";if(E.node)return"node";if(E.web)return"web"}}))};const applyNodeDefaults=(S,{targetProperties:E})=>{if(S===false)return;F(S,"global",(()=>{if(E&&E.global)return false;return true}));F(S,"__filename",(()=>{if(E&&E.node)return"eval-only";return"mock"}));F(S,"__dirname",(()=>{if(E&&E.node)return"eval-only";return"mock"}))};const applyPerformanceDefaults=(S,{production:E})=>{if(S===false)return;D(S,"maxAssetSize",25e4);D(S,"maxEntrypointSize",25e4);F(S,"hints",(()=>E?"warning":false))};const applyOptimizationDefaults=(S,{production:E,development:w,records:N})=>{D(S,"removeAvailableModules",false);D(S,"removeEmptyChunks",true);D(S,"mergeDuplicateChunks",true);D(S,"flagIncludedChunks",E);F(S,"moduleIds",(()=>{if(E)return"deterministic";if(w)return"named";return"natural"}));F(S,"chunkIds",(()=>{if(E)return"deterministic";if(w)return"named";return"natural"}));F(S,"sideEffects",(()=>E?true:"flag"));D(S,"providedExports",true);D(S,"usedExports",E);D(S,"innerGraph",E);D(S,"mangleExports",E);D(S,"concatenateModules",E);D(S,"runtimeChunk",false);D(S,"emitOnErrors",!E);D(S,"checkWasmTypes",E);D(S,"mangleWasmImports",false);D(S,"portableRecords",N);D(S,"realContentHash",E);D(S,"minimize",E);A(S,"minimizer",(()=>[{apply:S=>{const E=k(96013);new E({terserOptions:{compress:{passes:2}}}).apply(S)}}]));F(S,"nodeEnv",(()=>{if(E)return"production";if(w)return"development";return false}));const{splitChunks:j}=S;if(j){A(j,"defaultSizeTypes",(()=>["javascript","unknown"]));D(j,"hidePathInfo",E);D(j,"chunks","async");D(j,"usedExports",S.usedExports===true);D(j,"minChunks",1);F(j,"minSize",(()=>E?2e4:1e4));F(j,"minRemainingSize",(()=>w?0:undefined));F(j,"enforceSizeThreshold",(()=>E?5e4:3e4));F(j,"maxAsyncRequests",(()=>E?30:Infinity));F(j,"maxInitialRequests",(()=>E?30:Infinity));D(j,"automaticNameDelimiter","-");const{cacheGroups:k}=j;F(k,"default",(()=>({idHint:"",reuseExistingChunk:true,minChunks:2,priority:-20})));F(k,"defaultVendors",(()=>({idHint:"vendors",reuseExistingChunk:true,test:ae,priority:-10})))}};const getResolveDefaults=({cache:S,context:E,targetProperties:k,mode:w})=>{const N=["webpack"];N.push(w==="development"?"development":"production");if(k){if(k.webworker)N.push("worker");if(k.node)N.push("node");if(k.web)N.push("browser");if(k.electron)N.push("electron");if(k.nwjs)N.push("nwjs")}const j=[".js",".json",".wasm"];const q=k;const ee=q&&q.web&&(!q.node||q.electron&&q.electronRenderer);const cjsDeps=()=>({aliasFields:ee?["browser"]:[],mainFields:ee?["browser","module","..."]:["module","..."],conditionNames:["require","module","..."],extensions:[...j]});const esmDeps=()=>({aliasFields:ee?["browser"]:[],mainFields:ee?["browser","module","..."]:["module","..."],conditionNames:["import","module","..."],extensions:[...j]});const te={cache:S,modules:["node_modules"],conditionNames:N,mainFiles:["index"],extensions:[],aliasFields:[],exportsFields:["exports"],roots:[E],mainFields:["main"],byDependency:{wasm:esmDeps(),esm:esmDeps(),loaderImport:esmDeps(),url:{preferRelative:true},worker:{...esmDeps(),preferRelative:true},commonjs:cjsDeps(),amd:cjsDeps(),loader:cjsDeps(),unknown:cjsDeps(),undefined:cjsDeps()}};return te};const getResolveLoaderDefaults=({cache:S})=>{const E={cache:S,conditionNames:["loader","require","node"],exportsFields:["exports"],mainFields:["loader","main"],extensions:[".js"],mainFiles:["index"]};return E};const applyInfrastructureLoggingDefaults=S=>{F(S,"stream",(()=>process.stderr));const E=S.stream.isTTY&&process.env.TERM!=="dumb";D(S,"level","info");D(S,"debug",false);D(S,"colors",E);D(S,"appendOnly",!E)};E.applyWebpackOptionsBaseDefaults=applyWebpackOptionsBaseDefaults;E.applyWebpackOptionsDefaults=applyWebpackOptionsDefaults},96590:(S,E,k)=>{"use strict";const w=k(31669);const N=w.deprecate(((S,E)=>{if(E!==undefined&&!S===!E){throw new Error("Conflicting use of 'optimization.noEmitOnErrors' and 'optimization.emitOnErrors'. Remove deprecated 'optimization.noEmitOnErrors' from config.")}return!S}),"optimization.noEmitOnErrors is deprecated in favor of optimization.emitOnErrors","DEP_WEBPACK_CONFIGURATION_OPTIMIZATION_NO_EMIT_ON_ERRORS");const nestedConfig=(S,E)=>S===undefined?E({}):E(S);const cloneObject=S=>({...S});const optionalNestedConfig=(S,E)=>S===undefined?undefined:E(S);const nestedArray=(S,E)=>Array.isArray(S)?E(S):E([]);const optionalNestedArray=(S,E)=>Array.isArray(S)?E(S):undefined;const keyedNestedConfig=(S,E,k)=>{const w=S===undefined?{}:Object.keys(S).reduce(((w,N)=>(w[N]=(k&&N in k?k[N]:E)(S[N]),w)),{});if(k){for(const S of Object.keys(k)){if(!(S in w)){w[S]=k[S]({})}}}return w};const getNormalizedWebpackOptions=S=>({amd:S.amd,bail:S.bail,cache:optionalNestedConfig(S.cache,(S=>{if(S===false)return false;if(S===true){return{type:"memory",maxGenerations:undefined}}switch(S.type){case"filesystem":return{type:"filesystem",allowCollectingMemory:S.allowCollectingMemory,maxMemoryGenerations:S.maxMemoryGenerations,maxAge:S.maxAge,profile:S.profile,buildDependencies:cloneObject(S.buildDependencies),cacheDirectory:S.cacheDirectory,cacheLocation:S.cacheLocation,hashAlgorithm:S.hashAlgorithm,compression:S.compression,idleTimeout:S.idleTimeout,idleTimeoutForInitialStore:S.idleTimeoutForInitialStore,idleTimeoutAfterLargeChanges:S.idleTimeoutAfterLargeChanges,name:S.name,store:S.store,version:S.version};case undefined:case"memory":return{type:"memory",maxGenerations:S.maxGenerations};default:throw new Error(`Not implemented cache.type ${S.type}`)}})),context:S.context,dependencies:S.dependencies,devServer:optionalNestedConfig(S.devServer,(S=>({...S}))),devtool:S.devtool,entry:S.entry===undefined?{main:{}}:typeof S.entry==="function"?(S=>()=>Promise.resolve().then(S).then(getNormalizedEntryStatic))(S.entry):getNormalizedEntryStatic(S.entry),experiments:cloneObject(S.experiments),externals:S.externals,externalsPresets:cloneObject(S.externalsPresets),externalsType:S.externalsType,ignoreWarnings:S.ignoreWarnings?S.ignoreWarnings.map((S=>{if(typeof S==="function")return S;const E=S instanceof RegExp?{message:S}:S;return(S,{requestShortener:k})=>{if(!E.message&&!E.module&&!E.file)return false;if(E.message&&!E.message.test(S.message)){return false}if(E.module&&(!S.module||!E.module.test(S.module.readableIdentifier(k)))){return false}if(E.file&&(!S.file||!E.file.test(S.file))){return false}return true}})):undefined,infrastructureLogging:cloneObject(S.infrastructureLogging),loader:cloneObject(S.loader),mode:S.mode,module:nestedConfig(S.module,(S=>({noParse:S.noParse,unsafeCache:S.unsafeCache,parser:keyedNestedConfig(S.parser,cloneObject,{javascript:E=>({unknownContextRequest:S.unknownContextRequest,unknownContextRegExp:S.unknownContextRegExp,unknownContextRecursive:S.unknownContextRecursive,unknownContextCritical:S.unknownContextCritical,exprContextRequest:S.exprContextRequest,exprContextRegExp:S.exprContextRegExp,exprContextRecursive:S.exprContextRecursive,exprContextCritical:S.exprContextCritical,wrappedContextRegExp:S.wrappedContextRegExp,wrappedContextRecursive:S.wrappedContextRecursive,wrappedContextCritical:S.wrappedContextCritical,strictExportPresence:S.strictExportPresence,strictThisContextOnImports:S.strictThisContextOnImports,...E})}),generator:cloneObject(S.generator),defaultRules:optionalNestedArray(S.defaultRules,(S=>[...S])),rules:nestedArray(S.rules,(S=>[...S]))}))),name:S.name,node:nestedConfig(S.node,(S=>S&&{...S})),optimization:nestedConfig(S.optimization,(S=>({...S,runtimeChunk:getNormalizedOptimizationRuntimeChunk(S.runtimeChunk),splitChunks:nestedConfig(S.splitChunks,(S=>S&&{...S,defaultSizeTypes:S.defaultSizeTypes?[...S.defaultSizeTypes]:["..."],cacheGroups:cloneObject(S.cacheGroups)})),emitOnErrors:S.noEmitOnErrors!==undefined?N(S.noEmitOnErrors,S.emitOnErrors):S.emitOnErrors}))),output:nestedConfig(S.output,(S=>{const{library:E}=S;const k=E;const w=typeof E==="object"&&E&&!Array.isArray(E)&&"type"in E?E:k||S.libraryTarget?{name:k}:undefined;const N={assetModuleFilename:S.assetModuleFilename,charset:S.charset,chunkFilename:S.chunkFilename,chunkFormat:S.chunkFormat,chunkLoading:S.chunkLoading,chunkLoadingGlobal:S.chunkLoadingGlobal,chunkLoadTimeout:S.chunkLoadTimeout,clean:S.clean,compareBeforeEmit:S.compareBeforeEmit,crossOriginLoading:S.crossOriginLoading,devtoolFallbackModuleFilenameTemplate:S.devtoolFallbackModuleFilenameTemplate,devtoolModuleFilenameTemplate:S.devtoolModuleFilenameTemplate,devtoolNamespace:S.devtoolNamespace,environment:cloneObject(S.environment),enabledChunkLoadingTypes:S.enabledChunkLoadingTypes?[...S.enabledChunkLoadingTypes]:["..."],enabledLibraryTypes:S.enabledLibraryTypes?[...S.enabledLibraryTypes]:["..."],enabledWasmLoadingTypes:S.enabledWasmLoadingTypes?[...S.enabledWasmLoadingTypes]:["..."],filename:S.filename,globalObject:S.globalObject,hashDigest:S.hashDigest,hashDigestLength:S.hashDigestLength,hashFunction:S.hashFunction,hashSalt:S.hashSalt,hotUpdateChunkFilename:S.hotUpdateChunkFilename,hotUpdateGlobal:S.hotUpdateGlobal,hotUpdateMainFilename:S.hotUpdateMainFilename,iife:S.iife,importFunctionName:S.importFunctionName,importMetaName:S.importMetaName,scriptType:S.scriptType,library:w&&{type:S.libraryTarget!==undefined?S.libraryTarget:w.type,auxiliaryComment:S.auxiliaryComment!==undefined?S.auxiliaryComment:w.auxiliaryComment,export:S.libraryExport!==undefined?S.libraryExport:w.export,name:w.name,umdNamedDefine:S.umdNamedDefine!==undefined?S.umdNamedDefine:w.umdNamedDefine},module:S.module,path:S.path,pathinfo:S.pathinfo,publicPath:S.publicPath,sourceMapFilename:S.sourceMapFilename,sourcePrefix:S.sourcePrefix,strictModuleExceptionHandling:S.strictModuleExceptionHandling,trustedTypes:optionalNestedConfig(S.trustedTypes,(S=>{if(S===true)return{};if(typeof S==="string")return{policyName:S};return{...S}})),uniqueName:S.uniqueName,wasmLoading:S.wasmLoading,webassemblyModuleFilename:S.webassemblyModuleFilename,workerChunkLoading:S.workerChunkLoading,workerWasmLoading:S.workerWasmLoading};return N})),parallelism:S.parallelism,performance:optionalNestedConfig(S.performance,(S=>{if(S===false)return false;return{...S}})),plugins:nestedArray(S.plugins,(S=>[...S])),profile:S.profile,recordsInputPath:S.recordsInputPath!==undefined?S.recordsInputPath:S.recordsPath,recordsOutputPath:S.recordsOutputPath!==undefined?S.recordsOutputPath:S.recordsPath,resolve:nestedConfig(S.resolve,(S=>({...S,byDependency:keyedNestedConfig(S.byDependency,cloneObject)}))),resolveLoader:cloneObject(S.resolveLoader),snapshot:nestedConfig(S.snapshot,(S=>({resolveBuildDependencies:optionalNestedConfig(S.resolveBuildDependencies,(S=>({timestamp:S.timestamp,hash:S.hash}))),buildDependencies:optionalNestedConfig(S.buildDependencies,(S=>({timestamp:S.timestamp,hash:S.hash}))),resolve:optionalNestedConfig(S.resolve,(S=>({timestamp:S.timestamp,hash:S.hash}))),module:optionalNestedConfig(S.module,(S=>({timestamp:S.timestamp,hash:S.hash}))),immutablePaths:optionalNestedArray(S.immutablePaths,(S=>[...S])),managedPaths:optionalNestedArray(S.managedPaths,(S=>[...S]))}))),stats:nestedConfig(S.stats,(S=>{if(S===false){return{preset:"none"}}if(S===true){return{preset:"normal"}}if(typeof S==="string"){return{preset:S}}return{...S}})),target:S.target,watch:S.watch,watchOptions:cloneObject(S.watchOptions)});const getNormalizedEntryStatic=S=>{if(typeof S==="string"){return{main:{import:[S]}}}if(Array.isArray(S)){return{main:{import:S}}}const E={};for(const k of Object.keys(S)){const w=S[k];if(typeof w==="string"){E[k]={import:[w]}}else if(Array.isArray(w)){E[k]={import:w}}else{E[k]={import:w.import&&(Array.isArray(w.import)?w.import:[w.import]),filename:w.filename,layer:w.layer,runtime:w.runtime,publicPath:w.publicPath,chunkLoading:w.chunkLoading,wasmLoading:w.wasmLoading,dependOn:w.dependOn&&(Array.isArray(w.dependOn)?w.dependOn:[w.dependOn]),library:w.library}}}return E};const getNormalizedOptimizationRuntimeChunk=S=>{if(S===undefined)return undefined;if(S===false)return false;if(S==="single"){return{name:()=>"runtime"}}if(S===true||S==="multiple"){return{name:S=>`runtime~${S.name}`}}const{name:E}=S;return{name:typeof E==="function"?E:()=>E}};E.getNormalizedWebpackOptions=getNormalizedWebpackOptions},71322:(S,E,k)=>{"use strict";const w=k(91671);const N=w((()=>k(27509)));const getDefaultTarget=S=>{const E=N().load(null,S);return E?"browserslist":"web"};const versionDependent=(S,E)=>{if(!S)return()=>undefined;S=+S;E=E?+E:0;return(k,w=0)=>S>k||S===k&&E>=w};const j=[["browserslist / browserslist:env / browserslist:query / browserslist:path-to-config / browserslist:path-to-config:env","Resolve features from browserslist. Will resolve browserslist config automatically. Only browser or node queries are supported (electron is not supported). Examples: 'browserslist:modern' to use 'modern' environment from browserslist config",/^browserslist(?::(.+))?$/,(S,E)=>{const k=N();const w=k.load(S?S.trim():null,E);if(!w){throw new Error(`No browserslist config found to handle the 'browserslist' target.\nSee https://github.com/browserslist/browserslist#queries for possible ways to provide a config.\nThe recommended way is to add a 'browserslist' key to your package.json and list supported browsers (resp. node.js versions).\nYou can also more options via the 'target' option: 'browserslist' / 'browserslist:env' / 'browserslist:query' / 'browserslist:path-to-config' / 'browserslist:path-to-config:env'`)}return k.resolve(w)}],["web","Web browser.",/^web$/,()=>({web:true,browser:true,webworker:null,node:false,electron:false,nwjs:false,document:true,importScriptsInWorker:true,fetchWasm:true,nodeBuiltins:false,importScripts:false,require:false,global:false})],["webworker","Web Worker, SharedWorker or Service Worker.",/^webworker$/,()=>({web:true,browser:true,webworker:true,node:false,electron:false,nwjs:false,importScripts:true,importScriptsInWorker:true,fetchWasm:true,nodeBuiltins:false,require:false,document:false,global:false})],["[async-]node[X[.Y]]","Node.js in version X.Y. The 'async-' prefix will load chunks asynchronously via 'fs' and 'vm' instead of 'require()'. Examples: node14.5, async-node10.",/^(async-)?node(\d+(?:\.(\d+))?)?$/,(S,E,k)=>{const w=versionDependent(E,k);return{node:true,electron:false,nwjs:false,web:false,webworker:false,browser:false,require:!S,nodeBuiltins:true,global:true,document:false,fetchWasm:false,importScripts:false,importScriptsInWorker:false,globalThis:w(12),const:w(6),arrowFunction:w(6),forOf:w(5),destructuring:w(6),bigIntLiteral:w(10,4),dynamicImport:w(12,17),dynamicImportInWorker:E?false:undefined,module:w(12,17)}}],["electron[X[.Y]]-main/preload/renderer","Electron in version X.Y. Script is running in main, preload resp. renderer context.",/^electron(\d+(?:\.(\d+))?)?-(main|preload|renderer)$/,(S,E,k)=>{const w=versionDependent(S,E);return{node:true,electron:true,web:k!=="main",webworker:false,browser:false,nwjs:false,electronMain:k==="main",electronPreload:k==="preload",electronRenderer:k==="renderer",global:true,nodeBuiltins:true,require:true,document:k==="renderer",fetchWasm:k==="renderer",importScripts:false,importScriptsInWorker:true,globalThis:w(5),const:w(1,1),arrowFunction:w(1,1),forOf:w(0,36),destructuring:w(1,1),bigIntLiteral:w(4),dynamicImport:w(11),dynamicImportInWorker:S?false:undefined,module:w(11)}}],["nwjs[X[.Y]] / node-webkit[X[.Y]]","NW.js in version X.Y.",/^(?:nwjs|node-webkit)(\d+(?:\.(\d+))?)?$/,(S,E)=>{const k=versionDependent(S,E);return{node:true,web:true,nwjs:true,webworker:null,browser:false,electron:false,global:true,nodeBuiltins:true,document:false,importScriptsInWorker:false,fetchWasm:false,importScripts:false,require:false,globalThis:k(0,43),const:k(0,15),arrowFunction:k(0,15),forOf:k(0,13),destructuring:k(0,15),bigIntLiteral:k(0,32),dynamicImport:k(0,43),dynamicImportInWorker:S?false:undefined,module:k(0,43)}}],["esX","EcmaScript in this version. Examples: es2020, es5.",/^es(\d+)$/,S=>{let E=+S;if(E<1e3)E=E+2009;return{const:E>=2015,arrowFunction:E>=2015,forOf:E>=2015,destructuring:E>=2015,module:E>=2015,globalThis:E>=2020,bigIntLiteral:E>=2020,dynamicImport:E>=2020,dynamicImportInWorker:E>=2020}}]];const getTargetProperties=(S,E)=>{for(const[,,k,w]of j){const N=k.exec(S);if(N){const[,...S]=N;const k=w(...S,E);if(k)return k}}throw new Error(`Unknown target '${S}'. The following targets are supported:\n${j.map((([S,E])=>`* ${S}: ${E}`)).join("\n")}`)};const mergeTargetProperties=S=>{const E=new Set;for(const k of S){for(const S of Object.keys(k)){E.add(S)}}const k={};for(const w of E){let E=false;let N=false;for(const k of S){const S=k[w];switch(S){case true:E=true;break;case false:N=true;break}}if(E||N)k[w]=N&&E?null:E?true:false}return k};const getTargetsProperties=(S,E)=>mergeTargetProperties(S.map((S=>getTargetProperties(S,E))));E.getDefaultTarget=getDefaultTarget;E.getTargetProperties=getTargetProperties;E.getTargetsProperties=getTargetsProperties},76041:(S,E,k)=>{"use strict";const w=k(28706);const N=k(56202);class ContainerEntryDependency extends w{constructor(S,E,k){super();this.name=S;this.exposes=E;this.shareScope=k}getResourceIdentifier(){return`container-entry-${this.name}`}get type(){return"container entry"}get category(){return"esm"}}N(ContainerEntryDependency,"webpack/lib/container/ContainerEntryDependency");S.exports=ContainerEntryDependency},89591:(S,E,k)=>{"use strict";const{OriginalSource:w,RawSource:N}=k(48135);const j=k(98221);const q=k(53453);const ee=k(76150);const te=k(58159);const ne=k(56202);const ae=k(4523);const _e=new Set(["javascript"]);class ContainerEntryModule extends q{constructor(S,E,k){super("javascript/dynamic",null);this._name=S;this._exposes=E;this._shareScope=k}getSourceTypes(){return _e}identifier(){return`container entry (${this._shareScope}) ${JSON.stringify(this._exposes)}`}readableIdentifier(S){return`container entry`}libIdent(S){return`webpack/container/entry/${this._name}`}needBuild(S,E){return E(null,!this.buildMeta)}build(S,E,k,w,N){this.buildMeta={};this.buildInfo={strict:true,topLevelDeclarations:new Set(["moduleMap","get","init"])};this.clearDependenciesAndBlocks();for(const[S,E]of this._exposes){const k=new j({name:E.name},{name:S},E.import[E.import.length-1]);let w=0;for(const N of E.import){const E=new ae(S,N);E.loc={name:S,index:w++};k.addDependency(E)}this.addBlock(k)}N()}codeGeneration({moduleGraph:S,chunkGraph:E,runtimeTemplate:k}){const j=new Map;const q=new Set([ee.definePropertyGetters,ee.hasOwnProperty,ee.exports]);const ne=[];for(const w of this.blocks){const{dependencies:N}=w;const j=N.map((E=>{const k=E;return{name:k.exposedName,module:S.getModule(k),request:k.userRequest}}));let ee;if(j.some((S=>!S.module))){ee=k.throwMissingModuleErrorBlock({request:j.map((S=>S.request)).join(", ")})}else{ee=`return ${k.blockPromise({block:w,message:"",chunkGraph:E,runtimeRequirements:q})}.then(${k.returningFunction(k.returningFunction(`(${j.map((({module:S,request:w})=>k.moduleRaw({module:S,chunkGraph:E,request:w,weak:false,runtimeRequirements:q}))).join(", ")})`))});`}ne.push(`${JSON.stringify(j[0].name)}: ${k.basicFunction("",ee)}`)}const ae=te.asString([`var moduleMap = {`,te.indent(ne.join(",\n")),"};",`var get = ${k.basicFunction("module, getScope",[`${ee.currentRemoteGetScope} = getScope;`,"getScope = (",te.indent([`${ee.hasOwnProperty}(moduleMap, module)`,te.indent(["? moduleMap[module]()",`: Promise.resolve().then(${k.basicFunction("","throw new Error('Module \"' + module + '\" does not exist in container.');")})`])]),");",`${ee.currentRemoteGetScope} = undefined;`,"return getScope;"])};`,`var init = ${k.basicFunction("shareScope, initScope",[`if (!${ee.shareScopeMap}) return;`,`var oldScope = ${ee.shareScopeMap}[${JSON.stringify(this._shareScope)}];`,`var name = ${JSON.stringify(this._shareScope)}`,`if(oldScope && oldScope !== shareScope) throw new Error("Container initialization failed as it has already been initialized with a different share scope");`,`${ee.shareScopeMap}[name] = shareScope;`,`return ${ee.initializeSharing}(name, initScope);`])};`,"","// This exports getters to disallow modifications",`${ee.definePropertyGetters}(exports, {`,te.indent([`get: ${k.returningFunction("get")},`,`init: ${k.returningFunction("init")}`]),"});"]);j.set("javascript",this.useSourceMap||this.useSimpleSourceMap?new w(ae,"webpack/container-entry"):new N(ae));return{sources:j,runtimeRequirements:q}}size(S){return 42}serialize(S){const{write:E}=S;E(this._name);E(this._exposes);E(this._shareScope);super.serialize(S)}static deserialize(S){const{read:E}=S;const k=new ContainerEntryModule(E(),E(),E());k.deserialize(S);return k}}ne(ContainerEntryModule,"webpack/lib/container/ContainerEntryModule");S.exports=ContainerEntryModule},76912:(S,E,k)=>{"use strict";const w=k(40674);const N=k(89591);S.exports=class ContainerEntryModuleFactory extends w{create({dependencies:[S]},E){const k=S;E(null,{module:new N(k.name,k.exposes,k.shareScope)})}}},4523:(S,E,k)=>{"use strict";const w=k(79983);const N=k(56202);class ContainerExposedDependency extends w{constructor(S,E){super(E);this.exposedName=S}get type(){return"container exposed"}get category(){return"esm"}getResourceIdentifier(){return`exposed dependency ${this.exposedName}=${this.request}`}serialize(S){S.write(this.exposedName);super.serialize(S)}deserialize(S){this.exposedName=S.read();super.deserialize(S)}}N(ContainerExposedDependency,"webpack/lib/container/ContainerExposedDependency");S.exports=ContainerExposedDependency},10419:(S,E,k)=>{"use strict";const w=k(35817);const N=k(76041);const j=k(76912);const q=k(4523);const{parseOptions:ee}=k(97264);const te=w(k(28633),(()=>k(19593)),{name:"Container Plugin",baseDataPath:"options"});const ne="ContainerPlugin";class ContainerPlugin{constructor(S){te(S);this._options={name:S.name,shareScope:S.shareScope||"default",library:S.library||{type:"var",name:S.name},runtime:S.runtime,filename:S.filename||undefined,exposes:ee(S.exposes,(S=>({import:Array.isArray(S)?S:[S],name:undefined})),(S=>({import:Array.isArray(S.import)?S.import:[S.import],name:S.name||undefined})))}}apply(S){const{name:E,exposes:k,shareScope:w,filename:ee,library:te,runtime:ae}=this._options;S.options.output.enabledLibraryTypes.push(te.type);S.hooks.make.tapAsync(ne,((S,j)=>{const q=new N(E,k,w);q.loc={name:E};S.addEntry(S.options.context,q,{name:E,filename:ee,runtime:ae,library:te},(S=>{if(S)return j(S);j()}))}));S.hooks.thisCompilation.tap(ne,((S,{normalModuleFactory:E})=>{S.dependencyFactories.set(N,new j);S.dependencyFactories.set(q,E)}))}}S.exports=ContainerPlugin},68839:(S,E,k)=>{"use strict";const w=k(61050);const N=k(76150);const j=k(35817);const q=k(50940);const ee=k(55525);const te=k(68005);const ne=k(68679);const ae=k(31122);const _e=k(44742);const{parseOptions:ve}=k(97264);const Ee=j(k(12e3),(()=>k(39101)),{name:"Container Reference Plugin",baseDataPath:"options"});const Te="/".charCodeAt(0);class ContainerReferencePlugin{constructor(S){Ee(S);this._remoteType=S.remoteType;this._remotes=ve(S.remotes,(E=>({external:Array.isArray(E)?E:[E],shareScope:S.shareScope||"default"})),(E=>({external:Array.isArray(E.external)?E.external:[E.external],shareScope:E.shareScope||S.shareScope||"default"})))}apply(S){const{_remotes:E,_remoteType:k}=this;const j={};for(const[S,k]of E){let E=0;for(const w of k.external){if(w.startsWith("internal "))continue;j[`webpack/container/reference/${S}${E?`/fallback-${E}`:""}`]=w;E++}}new w(k,j).apply(S);S.hooks.compilation.tap("ContainerReferencePlugin",((S,{normalModuleFactory:k})=>{S.dependencyFactories.set(_e,k);S.dependencyFactories.set(ee,k);S.dependencyFactories.set(q,new te);k.hooks.factorize.tap("ContainerReferencePlugin",(S=>{if(!S.request.includes("!")){for(const[k,w]of E){if(S.request.startsWith(`${k}`)&&(S.request.length===k.length||S.request.charCodeAt(k.length)===Te)){return new ne(S.request,w.external.map(((S,E)=>S.startsWith("internal ")?S.slice(9):`webpack/container/reference/${k}${E?`/fallback-${E}`:""}`)),`.${S.request.slice(k.length)}`,w.shareScope)}}}}));S.hooks.runtimeRequirementInTree.for(N.ensureChunkHandlers).tap("ContainerReferencePlugin",((E,k)=>{k.add(N.module);k.add(N.moduleFactoriesAddOnly);k.add(N.hasOwnProperty);k.add(N.initializeSharing);k.add(N.shareScopeMap);S.addRuntimeModule(E,new ae)}))}))}}S.exports=ContainerReferencePlugin},50940:(S,E,k)=>{"use strict";const w=k(28706);const N=k(56202);class FallbackDependency extends w{constructor(S){super();this.requests=S}getResourceIdentifier(){return`fallback ${this.requests.join(" ")}`}get type(){return"fallback"}get category(){return"esm"}serialize(S){const{write:E}=S;E(this.requests);super.serialize(S)}static deserialize(S){const{read:E}=S;const k=new FallbackDependency(E());k.deserialize(S);return k}}N(FallbackDependency,"webpack/lib/container/FallbackDependency");S.exports=FallbackDependency},55525:(S,E,k)=>{"use strict";const w=k(79983);const N=k(56202);class FallbackItemDependency extends w{constructor(S){super(S)}get type(){return"fallback item"}get category(){return"esm"}}N(FallbackItemDependency,"webpack/lib/container/FallbackItemDependency");S.exports=FallbackItemDependency},13386:(S,E,k)=>{"use strict";const{RawSource:w}=k(48135);const N=k(53453);const j=k(76150);const q=k(58159);const ee=k(56202);const te=k(55525);const ne=new Set(["javascript"]);const ae=new Set([j.module]);class FallbackModule extends N{constructor(S){super("fallback-module");this.requests=S;this._identifier=`fallback ${this.requests.join(" ")}`}identifier(){return this._identifier}readableIdentifier(S){return this._identifier}libIdent(S){return`webpack/container/fallback/${this.requests[0]}/and ${this.requests.length-1} more`}chunkCondition(S,{chunkGraph:E}){return E.getNumberOfEntryModules(S)>0}needBuild(S,E){E(null,!this.buildInfo)}build(S,E,k,w,N){this.buildMeta={};this.buildInfo={strict:true};this.clearDependenciesAndBlocks();for(const S of this.requests)this.addDependency(new te(S));N()}size(S){return this.requests.length*5+42}getSourceTypes(){return ne}codeGeneration({runtimeTemplate:S,moduleGraph:E,chunkGraph:k}){const N=this.dependencies.map((S=>k.getModuleId(E.getModule(S))));const j=q.asString([`var ids = ${JSON.stringify(N)};`,"var error, result, i = 0;",`var loop = ${S.basicFunction("next",["while(i < ids.length) {",q.indent(["try { next = __webpack_require__(ids[i++]); } catch(e) { return handleError(e); }","if(next) return next.then ? next.then(handleResult, handleError) : handleResult(next);"]),"}","if(error) throw error;"])}`,`var handleResult = ${S.basicFunction("result",["if(result) return result;","return loop();"])};`,`var handleError = ${S.basicFunction("e",["error = e;","return loop();"])};`,"module.exports = loop();"]);const ee=new Map;ee.set("javascript",new w(j));return{sources:ee,runtimeRequirements:ae}}serialize(S){const{write:E}=S;E(this.requests);super.serialize(S)}static deserialize(S){const{read:E}=S;const k=new FallbackModule(E());k.deserialize(S);return k}}ee(FallbackModule,"webpack/lib/container/FallbackModule");S.exports=FallbackModule},68005:(S,E,k)=>{"use strict";const w=k(40674);const N=k(13386);S.exports=class FallbackModuleFactory extends w{create({dependencies:[S]},E){const k=S;E(null,{module:new N(k.requests)})}}},8019:(S,E,k)=>{"use strict";const w=k(92483);const N=k(16471);const j=k(35817);const q=k(10419);const ee=k(68839);const te=j(k(43329),(()=>k(7265)),{name:"Module Federation Plugin",baseDataPath:"options"});class ModuleFederationPlugin{constructor(S){te(S);this._options=S}apply(S){const{_options:E}=this;const k=E.library||{type:"var",name:E.name};const j=E.remoteType||(E.library&&w(E.library.type)?E.library.type:"script");if(k&&!S.options.output.enabledLibraryTypes.includes(k.type)){S.options.output.enabledLibraryTypes.push(k.type)}S.hooks.afterPlugins.tap("ModuleFederationPlugin",(()=>{if(E.exposes&&(Array.isArray(E.exposes)?E.exposes.length>0:Object.keys(E.exposes).length>0)){new q({name:E.name,library:k,filename:E.filename,runtime:E.runtime,exposes:E.exposes}).apply(S)}if(E.remotes&&(Array.isArray(E.remotes)?E.remotes.length>0:Object.keys(E.remotes).length>0)){new ee({remoteType:j,remotes:E.remotes}).apply(S)}if(E.shared){new N({shared:E.shared,shareScope:E.shareScope}).apply(S)}}))}}S.exports=ModuleFederationPlugin},68679:(S,E,k)=>{"use strict";const{RawSource:w}=k(48135);const N=k(53453);const j=k(76150);const q=k(56202);const ee=k(50940);const te=k(44742);const ne=new Set(["remote","share-init"]);const ae=new Set([j.module]);class RemoteModule extends N{constructor(S,E,k,w){super("remote-module");this.request=S;this.externalRequests=E;this.internalRequest=k;this.shareScope=w;this._identifier=`remote (${w}) ${this.externalRequests.join(" ")} ${this.internalRequest}`}identifier(){return this._identifier}readableIdentifier(S){return`remote ${this.request}`}libIdent(S){return`webpack/container/remote/${this.request}`}needBuild(S,E){E(null,!this.buildInfo)}build(S,E,k,w,N){this.buildMeta={};this.buildInfo={strict:true};this.clearDependenciesAndBlocks();if(this.externalRequests.length===1){this.addDependency(new te(this.externalRequests[0]))}else{this.addDependency(new ee(this.externalRequests))}N()}size(S){return 6}getSourceTypes(){return ne}nameForCondition(){return this.request}codeGeneration({runtimeTemplate:S,moduleGraph:E,chunkGraph:k}){const N=E.getModule(this.dependencies[0]);const j=N&&k.getModuleId(N);const q=new Map;q.set("remote",new w(""));const ee=new Map;ee.set("share-init",[{shareScope:this.shareScope,initStage:20,init:j===undefined?"":`initExternal(${JSON.stringify(j)});`}]);return{sources:q,data:ee,runtimeRequirements:ae}}serialize(S){const{write:E}=S;E(this.request);E(this.externalRequests);E(this.internalRequest);E(this.shareScope);super.serialize(S)}static deserialize(S){const{read:E}=S;const k=new RemoteModule(E(),E(),E(),E());k.deserialize(S);return k}}q(RemoteModule,"webpack/lib/container/RemoteModule");S.exports=RemoteModule},31122:(S,E,k)=>{"use strict";const w=k(76150);const N=k(66804);const j=k(58159);class RemoteRuntimeModule extends N{constructor(){super("remotes loading")}generate(){const{compilation:S,chunkGraph:E}=this;const{runtimeTemplate:k,moduleGraph:N}=S;const q={};const ee={};for(const S of this.chunk.getAllAsyncChunks()){const k=E.getChunkModulesIterableBySourceType(S,"remote");if(!k)continue;const w=q[S.id]=[];for(const S of k){const k=S;const j=k.internalRequest;const q=E.getModuleId(k);const te=k.shareScope;const ne=k.dependencies[0];const ae=N.getModule(ne);const _e=ae&&E.getModuleId(ae);w.push(q);ee[q]=[te,j,_e]}}return j.asString([`var chunkMapping = ${JSON.stringify(q,null,"\t")};`,`var idToExternalAndNameMapping = ${JSON.stringify(ee,null,"\t")};`,`${w.ensureChunkHandlers}.remotes = ${k.basicFunction("chunkId, promises",[`if(${w.hasOwnProperty}(chunkMapping, chunkId)) {`,j.indent([`chunkMapping[chunkId].forEach(${k.basicFunction("id",[`var getScope = ${w.currentRemoteGetScope};`,"if(!getScope) getScope = [];","var data = idToExternalAndNameMapping[id];","if(getScope.indexOf(data) >= 0) return;","getScope.push(data);",`if(data.p) return promises.push(data.p);`,`var onError = ${k.basicFunction("error",['if(!error) error = new Error("Container missing");','if(typeof error.message === "string")',j.indent(`error.message += '\\nwhile loading "' + data[1] + '" from ' + data[2];`),`__webpack_modules__[id] = ${k.basicFunction("",["throw error;"])}`,"data.p = 0;"])};`,`var handleFunction = ${k.basicFunction("fn, arg1, arg2, d, next, first",["try {",j.indent(["var promise = fn(arg1, arg2);","if(promise && promise.then) {",j.indent([`var p = promise.then(${k.returningFunction("next(result, d)","result")}, onError);`,`if(first) promises.push(data.p = p); else return p;`]),"} else {",j.indent(["return next(promise, d, first);"]),"}"]),"} catch(error) {",j.indent(["onError(error);"]),"}"])}`,`var onExternal = ${k.returningFunction(`external ? handleFunction(${w.initializeSharing}, data[0], 0, external, onInitialized, first) : onError()`,"external, _, first")};`,`var onInitialized = ${k.returningFunction(`handleFunction(external.get, data[1], getScope, 0, onFactory, first)`,"_, external, first")};`,`var onFactory = ${k.basicFunction("factory",["data.p = 1;",`__webpack_modules__[id] = ${k.basicFunction("module",["module.exports = factory();"])}`])};`,"handleFunction(__webpack_require__, data[2], 0, 0, onExternal, 1);"])});`]),"}"])}`])}}S.exports=RemoteRuntimeModule},44742:(S,E,k)=>{"use strict";const w=k(79983);const N=k(56202);class RemoteToExternalDependency extends w{constructor(S){super(S)}get type(){return"remote to external"}get category(){return"esm"}}N(RemoteToExternalDependency,"webpack/lib/container/RemoteToExternalDependency");S.exports=RemoteToExternalDependency},97264:(S,E)=>{"use strict";const process=(S,E,k,w)=>{const array=S=>{for(const k of S){if(typeof k==="string"){w(k,E(k,k))}else if(k&&typeof k==="object"){object(k)}else{throw new Error("Unexpected options format")}}};const object=S=>{for(const[N,j]of Object.entries(S)){if(typeof j==="string"||Array.isArray(j)){w(N,E(j,N))}else{w(N,k(j,N))}}};if(!S){return}else if(Array.isArray(S)){array(S)}else if(typeof S==="object"){object(S)}else{throw new Error("Unexpected options format")}};const parseOptions=(S,E,k)=>{const w=[];process(S,E,k,((S,E)=>{w.push([S,E])}));return w};const scope=(S,E)=>{const k={};process(E,(S=>S),(S=>S),((E,w)=>{k[E.startsWith("./")?`${S}${E.slice(1)}`:`${S}/${E}`]=w}));return k};E.parseOptions=parseOptions;E.scope=scope},26802:(S,E,k)=>{"use strict";const{Tracer:w}=k(25954);const N=k(35817);const{dirname:j,mkdirpSync:q}=k(95396);const ee=N(k(2282),(()=>k(8462)),{name:"Profiling Plugin",baseDataPath:"options"});let te=undefined;try{te=k(57012)}catch(S){console.log("Unable to CPU profile in < node 8.0")}class Profiler{constructor(S){this.session=undefined;this.inspector=S;this._startTime=0}hasSession(){return this.session!==undefined}startProfiling(){if(this.inspector===undefined){return Promise.resolve()}try{this.session=new te.Session;this.session.connect()}catch(S){this.session=undefined;return Promise.resolve()}const S=process.hrtime();this._startTime=S[0]*1e6+Math.round(S[1]/1e3);return Promise.all([this.sendCommand("Profiler.setSamplingInterval",{interval:100}),this.sendCommand("Profiler.enable"),this.sendCommand("Profiler.start")])}sendCommand(S,E){if(this.hasSession()){return new Promise(((k,w)=>this.session.post(S,E,((S,E)=>{if(S!==null){w(S)}else{k(E)}}))))}else{return Promise.resolve()}}destroy(){if(this.hasSession()){this.session.disconnect()}return Promise.resolve()}stopProfiling(){return this.sendCommand("Profiler.stop").then((({profile:S})=>{const E=process.hrtime();const k=E[0]*1e6+Math.round(E[1]/1e3);if(S.startTimek){const E=S.endTime-S.startTime;const w=k-this._startTime;const N=Math.max(0,w-E);S.startTime=this._startTime+N/2;S.endTime=k-N/2}return{profile:S}}))}}const createTrace=(S,E)=>{const k=new w({noStream:true});const N=new Profiler(te);if(/\/|\\/.test(E)){const k=j(S,E);q(S,k)}const ee=S.createWriteStream(E);let ne=0;k.pipe(ee);k.instantEvent({name:"TracingStartedInPage",id:++ne,cat:["disabled-by-default-devtools.timeline"],args:{data:{sessionId:"-1",page:"0xfff",frames:[{frame:"0xfff",url:"webpack",name:""}]}}});k.instantEvent({name:"TracingStartedInBrowser",id:++ne,cat:["disabled-by-default-devtools.timeline"],args:{data:{sessionId:"-1"}}});return{trace:k,counter:ne,profiler:N,end:S=>{ee.on("close",(()=>{S()}));k.push(null)}}};const ne="ProfilingPlugin";class ProfilingPlugin{constructor(S={}){ee(S);this.outputPath=S.outputPath||"events.json"}apply(S){const E=createTrace(S.intermediateFileSystem,this.outputPath);E.profiler.startProfiling();Object.keys(S.hooks).forEach((k=>{S.hooks[k].intercept(makeInterceptorFor("Compiler",E)(k))}));Object.keys(S.resolverFactory.hooks).forEach((k=>{S.resolverFactory.hooks[k].intercept(makeInterceptorFor("Resolver",E)(k))}));S.hooks.compilation.tap(ne,((S,{normalModuleFactory:k,contextModuleFactory:w})=>{interceptAllHooksFor(S,E,"Compilation");interceptAllHooksFor(k,E,"Normal Module Factory");interceptAllHooksFor(w,E,"Context Module Factory");interceptAllParserHooks(k,E);interceptAllJavascriptModulesPluginHooks(S,E)}));S.hooks.done.tapAsync({name:ne,stage:Infinity},((S,k)=>{E.profiler.stopProfiling().then((S=>{if(S===undefined){E.profiler.destroy();E.trace.flush();E.end(k);return}const w=S.profile.startTime;const N=S.profile.endTime;E.trace.completeEvent({name:"TaskQueueManager::ProcessTaskFromWorkQueue",id:++E.counter,cat:["toplevel"],ts:w,args:{src_file:"../../ipc/ipc_moji_bootstrap.cc",src_func:"Accept"}});E.trace.completeEvent({name:"EvaluateScript",id:++E.counter,cat:["devtools.timeline"],ts:w,dur:N-w,args:{data:{url:"webpack",lineNumber:1,columnNumber:1,frame:"0xFFF"}}});E.trace.instantEvent({name:"CpuProfile",id:++E.counter,cat:["disabled-by-default-devtools.timeline"],ts:N,args:{data:{cpuProfile:S.profile}}});E.profiler.destroy();E.trace.flush();E.end(k)}))}))}}const interceptAllHooksFor=(S,E,k)=>{if(Reflect.has(S,"hooks")){Object.keys(S.hooks).forEach((w=>{const N=S.hooks[w];if(!N._fakeHook){N.intercept(makeInterceptorFor(k,E)(w))}}))}};const interceptAllParserHooks=(S,E)=>{const k=["javascript/auto","javascript/dynamic","javascript/esm","json","webassembly/async","webassembly/sync"];k.forEach((k=>{S.hooks.parser.for(k).tap("ProfilingPlugin",((S,k)=>{interceptAllHooksFor(S,E,"Parser")}))}))};const interceptAllJavascriptModulesPluginHooks=(S,E)=>{interceptAllHooksFor({hooks:k(18161).getCompilationHooks(S)},E,"JavascriptModulesPlugin")};const makeInterceptorFor=(S,E)=>S=>({register:({name:k,type:w,context:N,fn:j})=>{const q=makeNewProfiledTapFn(S,E,{name:k,type:w,fn:j});return{name:k,type:w,context:N,fn:q}}});const makeNewProfiledTapFn=(S,E,{name:k,type:w,fn:N})=>{const j=["blink.user_timing"];switch(w){case"promise":return(...S)=>{const w=++E.counter;E.trace.begin({name:k,id:w,cat:j});const q=N(...S);return q.then((S=>{E.trace.end({name:k,id:w,cat:j});return S}))};case"async":return(...S)=>{const w=++E.counter;E.trace.begin({name:k,id:w,cat:j});const q=S.pop();N(...S,((...S)=>{E.trace.end({name:k,id:w,cat:j});q(...S)}))};case"sync":return(...S)=>{const w=++E.counter;if(k===ne){return N(...S)}E.trace.begin({name:k,id:w,cat:j});let q;try{q=N(...S)}catch(S){E.trace.end({name:k,id:w,cat:j});throw S}E.trace.end({name:k,id:w,cat:j});return q};default:break}};S.exports=ProfilingPlugin;S.exports.Profiler=Profiler},46960:(S,E,k)=>{"use strict";const w=k(76150);const N=k(56202);const j=k(12197);const q={f:{definition:"var __WEBPACK_AMD_DEFINE_RESULT__;",content:`!(__WEBPACK_AMD_DEFINE_RESULT__ = (#).call(exports, __webpack_require__, exports, module),\n\t\t__WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__))`,requests:[w.require,w.exports,w.module]},o:{definition:"",content:"!(module.exports = #)",requests:[w.module]},of:{definition:"var __WEBPACK_AMD_DEFINE_FACTORY__, __WEBPACK_AMD_DEFINE_RESULT__;",content:`!(__WEBPACK_AMD_DEFINE_FACTORY__ = (#),\n\t\t__WEBPACK_AMD_DEFINE_RESULT__ = (typeof __WEBPACK_AMD_DEFINE_FACTORY__ === 'function' ?\n\t\t(__WEBPACK_AMD_DEFINE_FACTORY__.call(exports, __webpack_require__, exports, module)) :\n\t\t__WEBPACK_AMD_DEFINE_FACTORY__),\n\t\t__WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__))`,requests:[w.require,w.exports,w.module]},af:{definition:"var __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_DEFINE_RESULT__;",content:`!(__WEBPACK_AMD_DEFINE_ARRAY__ = #, __WEBPACK_AMD_DEFINE_RESULT__ = (#).apply(exports, __WEBPACK_AMD_DEFINE_ARRAY__),\n\t\t__WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__))`,requests:[w.exports,w.module]},ao:{definition:"",content:"!(#, module.exports = #)",requests:[w.module]},aof:{definition:"var __WEBPACK_AMD_DEFINE_FACTORY__, __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_DEFINE_RESULT__;",content:`!(__WEBPACK_AMD_DEFINE_ARRAY__ = #, __WEBPACK_AMD_DEFINE_FACTORY__ = (#),\n\t\t__WEBPACK_AMD_DEFINE_RESULT__ = (typeof __WEBPACK_AMD_DEFINE_FACTORY__ === 'function' ?\n\t\t(__WEBPACK_AMD_DEFINE_FACTORY__.apply(exports, __WEBPACK_AMD_DEFINE_ARRAY__)) : __WEBPACK_AMD_DEFINE_FACTORY__),\n\t\t__WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__))`,requests:[w.exports,w.module]},lf:{definition:"var XXX, XXXmodule;",content:"!(XXXmodule = { id: YYY, exports: {}, loaded: false }, XXX = (#).call(XXXmodule.exports, __webpack_require__, XXXmodule.exports, XXXmodule), XXXmodule.loaded = true, XXX === undefined && (XXX = XXXmodule.exports))",requests:[w.require,w.module]},lo:{definition:"var XXX;",content:"!(XXX = #)",requests:[]},lof:{definition:"var XXX, XXXfactory, XXXmodule;",content:"!(XXXfactory = (#), (typeof XXXfactory === 'function' ? ((XXXmodule = { id: YYY, exports: {}, loaded: false }), (XXX = XXXfactory.call(XXXmodule.exports, __webpack_require__, XXXmodule.exports, XXXmodule)), (XXXmodule.loaded = true), XXX === undefined && (XXX = XXXmodule.exports)) : XXX = XXXfactory))",requests:[w.require,w.module]},laf:{definition:"var __WEBPACK_AMD_DEFINE_ARRAY__, XXX, XXXexports;",content:"!(__WEBPACK_AMD_DEFINE_ARRAY__ = #, XXX = (#).apply(XXXexports = {}, __WEBPACK_AMD_DEFINE_ARRAY__), XXX === undefined && (XXX = XXXexports))",requests:[]},lao:{definition:"var XXX;",content:"!(#, XXX = #)",requests:[]},laof:{definition:"var XXXarray, XXXfactory, XXXexports, XXX;",content:`!(XXXarray = #, XXXfactory = (#),\n\t\t(typeof XXXfactory === 'function' ?\n\t\t\t((XXX = XXXfactory.apply(XXXexports = {}, XXXarray)), XXX === undefined && (XXX = XXXexports)) :\n\t\t\t(XXX = XXXfactory)\n\t\t))`,requests:[]}};class AMDDefineDependency extends j{constructor(S,E,k,w,N){super();this.range=S;this.arrayRange=E;this.functionRange=k;this.objectRange=w;this.namedModule=N;this.localModule=null}get type(){return"amd define"}serialize(S){const{write:E}=S;E(this.range);E(this.arrayRange);E(this.functionRange);E(this.objectRange);E(this.namedModule);E(this.localModule);super.serialize(S)}deserialize(S){const{read:E}=S;this.range=E();this.arrayRange=E();this.functionRange=E();this.objectRange=E();this.namedModule=E();this.localModule=E();super.deserialize(S)}}N(AMDDefineDependency,"webpack/lib/dependencies/AMDDefineDependency");AMDDefineDependency.Template=class AMDDefineDependencyTemplate extends j.Template{apply(S,E,{runtimeRequirements:k}){const w=S;const N=this.branch(w);const{definition:j,content:ee,requests:te}=q[N];for(const S of te){k.add(S)}this.replace(w,E,j,ee)}localModuleVar(S){return S.localModule&&S.localModule.used&&S.localModule.variableName()}branch(S){const E=this.localModuleVar(S)?"l":"";const k=S.arrayRange?"a":"";const w=S.objectRange?"o":"";const N=S.functionRange?"f":"";return E+k+w+N}replace(S,E,k,w){const N=this.localModuleVar(S);if(N){w=w.replace(/XXX/g,N.replace(/\$/g,"$$$$"));k=k.replace(/XXX/g,N.replace(/\$/g,"$$$$"))}if(S.namedModule){w=w.replace(/YYY/g,JSON.stringify(S.namedModule))}const j=w.split("#");if(k)E.insert(0,k);let q=S.range[0];if(S.arrayRange){E.replace(q,S.arrayRange[0]-1,j.shift());q=S.arrayRange[1]}if(S.objectRange){E.replace(q,S.objectRange[0]-1,j.shift());q=S.objectRange[1]}else if(S.functionRange){E.replace(q,S.functionRange[0]-1,j.shift());q=S.functionRange[1]}E.replace(q,S.range[1]-1,j.shift());if(j.length>0)throw new Error("Implementation error")}};S.exports=AMDDefineDependency},98915:(S,E,k)=>{"use strict";const w=k(76150);const N=k(46960);const j=k(95715);const q=k(38145);const ee=k(29022);const te=k(66298);const ne=k(95601);const ae=k(28140);const _e=k(14229);const{addLocalModule:ve,getLocalModule:Ee}=k(61701);const isBoundFunctionExpression=S=>{if(S.type!=="CallExpression")return false;if(S.callee.type!=="MemberExpression")return false;if(S.callee.computed)return false;if(S.callee.object.type!=="FunctionExpression")return false;if(S.callee.property.type!=="Identifier")return false;if(S.callee.property.name!=="bind")return false;return true};const isUnboundFunctionExpression=S=>{if(S.type==="FunctionExpression")return true;if(S.type==="ArrowFunctionExpression")return true;return false};const isCallable=S=>{if(isUnboundFunctionExpression(S))return true;if(isBoundFunctionExpression(S))return true;return false};class AMDDefineDependencyParserPlugin{constructor(S){this.options=S}apply(S){S.hooks.call.for("define").tap("AMDDefineDependencyParserPlugin",this.processCallDefine.bind(this,S))}processArray(S,E,k,w,N){if(k.isArray()){k.items.forEach(((k,j)=>{if(k.isString()&&["require","module","exports"].includes(k.string))w[j]=k.string;const q=this.processItem(S,E,k,N);if(q===undefined){this.processContext(S,E,k)}}));return true}else if(k.isConstArray()){const N=[];k.array.forEach(((k,j)=>{let q;let ee;if(k==="require"){w[j]=k;q="__webpack_require__"}else if(["exports","module"].includes(k)){w[j]=k;q=k}else if(ee=Ee(S.state,k)){ee.flagUsed();q=new _e(ee,undefined,false);q.loc=E.loc;S.state.module.addPresentationalDependency(q)}else{q=this.newRequireItemDependency(k);q.loc=E.loc;q.optional=!!S.scope.inTry;S.state.current.addDependency(q)}N.push(q)}));const j=this.newRequireArrayDependency(N,k.range);j.loc=E.loc;j.optional=!!S.scope.inTry;S.state.module.addPresentationalDependency(j);return true}}processItem(S,E,k,N){if(k.isConditional()){k.options.forEach((k=>{const w=this.processItem(S,E,k);if(w===undefined){this.processContext(S,E,k)}}));return true}else if(k.isString()){let j,q;if(k.string==="require"){j=new te("__webpack_require__",k.range,[w.require])}else if(k.string==="exports"){j=new te("exports",k.range,[w.exports])}else if(k.string==="module"){j=new te("module",k.range,[w.module])}else if(q=Ee(S.state,k.string,N)){q.flagUsed();j=new _e(q,k.range,false)}else{j=this.newRequireItemDependency(k.string,k.range);j.optional=!!S.scope.inTry;S.state.current.addDependency(j);return true}j.loc=E.loc;S.state.module.addPresentationalDependency(j);return true}}processContext(S,E,k){const w=ne.create(q,k.range,k,E,this.options,{category:"amd"},S);if(!w)return;w.loc=E.loc;w.optional=!!S.scope.inTry;S.state.current.addDependency(w);return true}processCallDefine(S,E){let k,w,N,j;switch(E.arguments.length){case 1:if(isCallable(E.arguments[0])){w=E.arguments[0]}else if(E.arguments[0].type==="ObjectExpression"){N=E.arguments[0]}else{N=w=E.arguments[0]}break;case 2:if(E.arguments[0].type==="Literal"){j=E.arguments[0].value;if(isCallable(E.arguments[1])){w=E.arguments[1]}else if(E.arguments[1].type==="ObjectExpression"){N=E.arguments[1]}else{N=w=E.arguments[1]}}else{k=E.arguments[0];if(isCallable(E.arguments[1])){w=E.arguments[1]}else if(E.arguments[1].type==="ObjectExpression"){N=E.arguments[1]}else{N=w=E.arguments[1]}}break;case 3:j=E.arguments[0].value;k=E.arguments[1];if(isCallable(E.arguments[2])){w=E.arguments[2]}else if(E.arguments[2].type==="ObjectExpression"){N=E.arguments[2]}else{N=w=E.arguments[2]}break;default:return}ae.bailout(S.state);let q=null;let ee=0;if(w){if(isUnboundFunctionExpression(w)){q=w.params}else if(isBoundFunctionExpression(w)){q=w.callee.object.params;ee=w.arguments.length-1;if(ee<0){ee=0}}}let te=new Map;if(k){const w={};const N=S.evaluateExpression(k);const ne=this.processArray(S,E,N,w,j);if(!ne)return;if(q){q=q.slice(ee).filter(((E,k)=>{if(w[k]){te.set(E.name,S.getVariableInfo(w[k]));return false}return true}))}}else{const E=["require","exports","module"];if(q){q=q.slice(ee).filter(((k,w)=>{if(E[w]){te.set(k.name,S.getVariableInfo(E[w]));return false}return true}))}}let ne;if(w&&isUnboundFunctionExpression(w)){ne=S.scope.inTry;S.inScope(q,(()=>{for(const[E,k]of te){S.setVariable(E,k)}S.scope.inTry=ne;if(w.body.type==="BlockStatement"){S.detectMode(w.body.body);const E=S.prevStatement;S.preWalkStatement(w.body);S.prevStatement=E;S.walkStatement(w.body)}else{S.walkExpression(w.body)}}))}else if(w&&isBoundFunctionExpression(w)){ne=S.scope.inTry;S.inScope(w.callee.object.params.filter((S=>!["require","module","exports"].includes(S.name))),(()=>{for(const[E,k]of te){S.setVariable(E,k)}S.scope.inTry=ne;if(w.callee.object.body.type==="BlockStatement"){S.detectMode(w.callee.object.body.body);const E=S.prevStatement;S.preWalkStatement(w.callee.object.body);S.prevStatement=E;S.walkStatement(w.callee.object.body)}else{S.walkExpression(w.callee.object.body)}}));if(w.arguments){S.walkExpressions(w.arguments)}}else if(w||N){S.walkExpression(w||N)}const _e=this.newDefineDependency(E.range,k?k.range:null,w?w.range:null,N?N.range:null,j?j:null);_e.loc=E.loc;if(j){_e.localModule=ve(S.state,j)}S.state.module.addPresentationalDependency(_e);return true}newDefineDependency(S,E,k,w,j){return new N(S,E,k,w,j)}newRequireArrayDependency(S,E){return new j(S,E)}newRequireItemDependency(S,E){return new ee(S,E)}}S.exports=AMDDefineDependencyParserPlugin},19765:(S,E,k)=>{"use strict";const w=k(76150);const{approve:N,evaluateToIdentifier:j,evaluateToString:q,toConstantDependency:ee}=k(48472);const te=k(46960);const ne=k(98915);const ae=k(95715);const _e=k(38145);const ve=k(19041);const Ee=k(45167);const Te=k(29022);const{AMDDefineRuntimeModule:Ce,AMDOptionsRuntimeModule:we}=k(29035);const Ne=k(66298);const Ie=k(14229);const Fe=k(12584);class AMDPlugin{constructor(S){this.amdOptions=S}apply(S){const E=this.amdOptions;S.hooks.compilation.tap("AMDPlugin",((S,{contextModuleFactory:k,normalModuleFactory:Oe})=>{S.dependencyTemplates.set(Ee,new Ee.Template);S.dependencyFactories.set(Te,Oe);S.dependencyTemplates.set(Te,new Te.Template);S.dependencyTemplates.set(ae,new ae.Template);S.dependencyFactories.set(_e,k);S.dependencyTemplates.set(_e,new _e.Template);S.dependencyTemplates.set(te,new te.Template);S.dependencyTemplates.set(Fe,new Fe.Template);S.dependencyTemplates.set(Ie,new Ie.Template);S.hooks.runtimeRequirementInModule.for(w.amdDefine).tap("AMDPlugin",((S,E)=>{E.add(w.require)}));S.hooks.runtimeRequirementInModule.for(w.amdOptions).tap("AMDPlugin",((S,E)=>{E.add(w.requireScope)}));S.hooks.runtimeRequirementInTree.for(w.amdDefine).tap("AMDPlugin",((E,k)=>{S.addRuntimeModule(E,new Ce)}));S.hooks.runtimeRequirementInTree.for(w.amdOptions).tap("AMDPlugin",((k,w)=>{S.addRuntimeModule(k,new we(E))}));const handler=(S,E)=>{if(E.amd!==undefined&&!E.amd)return;const tapOptionsHooks=(E,k,N)=>{S.hooks.expression.for(E).tap("AMDPlugin",ee(S,w.amdOptions,[w.amdOptions]));S.hooks.evaluateIdentifier.for(E).tap("AMDPlugin",j(E,k,N,true));S.hooks.evaluateTypeof.for(E).tap("AMDPlugin",q("object"));S.hooks.typeof.for(E).tap("AMDPlugin",ee(S,JSON.stringify("object")))};new ve(E).apply(S);new ne(E).apply(S);tapOptionsHooks("define.amd","define",(()=>"amd"));tapOptionsHooks("require.amd","require",(()=>["amd"]));tapOptionsHooks("__webpack_amd_options__","__webpack_amd_options__",(()=>[]));S.hooks.expression.for("define").tap("AMDPlugin",(E=>{const k=new Ne(w.amdDefine,E.range,[w.amdDefine]);k.loc=E.loc;S.state.module.addPresentationalDependency(k);return true}));S.hooks.typeof.for("define").tap("AMDPlugin",ee(S,JSON.stringify("function")));S.hooks.evaluateTypeof.for("define").tap("AMDPlugin",q("function"));S.hooks.canRename.for("define").tap("AMDPlugin",N);S.hooks.rename.for("define").tap("AMDPlugin",(E=>{const k=new Ne(w.amdDefine,E.range,[w.amdDefine]);k.loc=E.loc;S.state.module.addPresentationalDependency(k);return false}));S.hooks.typeof.for("require").tap("AMDPlugin",ee(S,JSON.stringify("function")));S.hooks.evaluateTypeof.for("require").tap("AMDPlugin",q("function"))};Oe.hooks.parser.for("javascript/auto").tap("AMDPlugin",handler);Oe.hooks.parser.for("javascript/dynamic").tap("AMDPlugin",handler)}))}}S.exports=AMDPlugin},95715:(S,E,k)=>{"use strict";const w=k(84304);const N=k(56202);const j=k(12197);class AMDRequireArrayDependency extends j{constructor(S,E){super();this.depsArray=S;this.range=E}get type(){return"amd require array"}get category(){return"amd"}serialize(S){const{write:E}=S;E(this.depsArray);E(this.range);super.serialize(S)}deserialize(S){const{read:E}=S;this.depsArray=E();this.range=E();super.deserialize(S)}}N(AMDRequireArrayDependency,"webpack/lib/dependencies/AMDRequireArrayDependency");AMDRequireArrayDependency.Template=class AMDRequireArrayDependencyTemplate extends w{apply(S,E,k){const w=S;const N=this.getContent(w,k);E.replace(w.range[0],w.range[1]-1,N)}getContent(S,E){const k=S.depsArray.map((S=>this.contentForDependency(S,E)));return`[${k.join(", ")}]`}contentForDependency(S,{runtimeTemplate:E,moduleGraph:k,chunkGraph:w,runtimeRequirements:N}){if(typeof S==="string"){return S}if(S.localModule){return S.localModule.variableName()}else{return E.moduleExports({module:k.getModule(S),chunkGraph:w,request:S.request,runtimeRequirements:N})}}};S.exports=AMDRequireArrayDependency},38145:(S,E,k)=>{"use strict";const w=k(56202);const N=k(400);class AMDRequireContextDependency extends N{constructor(S,E,k){super(S);this.range=E;this.valueRange=k}get type(){return"amd require context"}get category(){return"amd"}serialize(S){const{write:E}=S;E(this.range);E(this.valueRange);super.serialize(S)}deserialize(S){const{read:E}=S;this.range=E();this.valueRange=E();super.deserialize(S)}}w(AMDRequireContextDependency,"webpack/lib/dependencies/AMDRequireContextDependency");AMDRequireContextDependency.Template=k(42740);S.exports=AMDRequireContextDependency},83842:(S,E,k)=>{"use strict";const w=k(98221);const N=k(56202);class AMDRequireDependenciesBlock extends w{constructor(S,E){super(null,S,E)}}N(AMDRequireDependenciesBlock,"webpack/lib/dependencies/AMDRequireDependenciesBlock");S.exports=AMDRequireDependenciesBlock},19041:(S,E,k)=>{"use strict";const w=k(76150);const N=k(53558);const j=k(95715);const q=k(38145);const ee=k(83842);const te=k(45167);const ne=k(29022);const ae=k(66298);const _e=k(95601);const ve=k(14229);const{getLocalModule:Ee}=k(61701);const Te=k(12584);const Ce=k(36134);class AMDRequireDependenciesBlockParserPlugin{constructor(S){this.options=S}processFunctionArgument(S,E){let k=true;const w=Ce(E);if(w){S.inScope(w.fn.params.filter((S=>!["require","module","exports"].includes(S.name))),(()=>{if(w.fn.body.type==="BlockStatement"){S.walkStatement(w.fn.body)}else{S.walkExpression(w.fn.body)}}));S.walkExpressions(w.expressions);if(w.needThis===false){k=false}}else{S.walkExpression(E)}return k}apply(S){S.hooks.call.for("require").tap("AMDRequireDependenciesBlockParserPlugin",this.processCallRequire.bind(this,S))}processArray(S,E,k){if(k.isArray()){for(const w of k.items){const k=this.processItem(S,E,w);if(k===undefined){this.processContext(S,E,w)}}return true}else if(k.isConstArray()){const w=[];for(const N of k.array){let k,j;if(N==="require"){k="__webpack_require__"}else if(["exports","module"].includes(N)){k=N}else if(j=Ee(S.state,N)){j.flagUsed();k=new ve(j,undefined,false);k.loc=E.loc;S.state.module.addPresentationalDependency(k)}else{k=this.newRequireItemDependency(N);k.loc=E.loc;k.optional=!!S.scope.inTry;S.state.current.addDependency(k)}w.push(k)}const N=this.newRequireArrayDependency(w,k.range);N.loc=E.loc;N.optional=!!S.scope.inTry;S.state.module.addPresentationalDependency(N);return true}}processItem(S,E,k){if(k.isConditional()){for(const w of k.options){const k=this.processItem(S,E,w);if(k===undefined){this.processContext(S,E,w)}}return true}else if(k.isString()){let N,j;if(k.string==="require"){N=new ae("__webpack_require__",k.string,[w.require])}else if(k.string==="module"){N=new ae(S.state.module.buildInfo.moduleArgument,k.range,[w.module])}else if(k.string==="exports"){N=new ae(S.state.module.buildInfo.exportsArgument,k.range,[w.exports])}else if(j=Ee(S.state,k.string)){j.flagUsed();N=new ve(j,k.range,false)}else{N=this.newRequireItemDependency(k.string,k.range);N.loc=E.loc;N.optional=!!S.scope.inTry;S.state.current.addDependency(N);return true}N.loc=E.loc;S.state.module.addPresentationalDependency(N);return true}}processContext(S,E,k){const w=_e.create(q,k.range,k,E,this.options,{category:"amd"},S);if(!w)return;w.loc=E.loc;w.optional=!!S.scope.inTry;S.state.current.addDependency(w);return true}processArrayForRequestString(S){if(S.isArray()){const E=S.items.map((S=>this.processItemForRequestString(S)));if(E.every(Boolean))return E.join(" ")}else if(S.isConstArray()){return S.array.join(" ")}}processItemForRequestString(S){if(S.isConditional()){const E=S.options.map((S=>this.processItemForRequestString(S)));if(E.every(Boolean))return E.join("|")}else if(S.isString()){return S.string}}processCallRequire(S,E){let k;let w;let j;let q;const ee=S.state.current;if(E.arguments.length>=1){k=S.evaluateExpression(E.arguments[0]);w=this.newRequireDependenciesBlock(E.loc,this.processArrayForRequestString(k));j=this.newRequireDependency(E.range,k.range,E.arguments.length>1?E.arguments[1].range:null,E.arguments.length>2?E.arguments[2].range:null);j.loc=E.loc;w.addDependency(j);S.state.current=w}if(E.arguments.length===1){S.inScope([],(()=>{q=this.processArray(S,E,k)}));S.state.current=ee;if(!q)return;S.state.current.addBlock(w);return true}if(E.arguments.length===2||E.arguments.length===3){try{S.inScope([],(()=>{q=this.processArray(S,E,k)}));if(!q){const k=new Te("unsupported",E.range);ee.addPresentationalDependency(k);if(S.state.module){S.state.module.addError(new N("Cannot statically analyse 'require(…, …)' in line "+E.loc.start.line,E.loc))}w=null;return true}j.functionBindThis=this.processFunctionArgument(S,E.arguments[1]);if(E.arguments.length===3){j.errorCallbackBindThis=this.processFunctionArgument(S,E.arguments[2])}}finally{S.state.current=ee;if(w)S.state.current.addBlock(w)}return true}}newRequireDependenciesBlock(S,E){return new ee(S,E)}newRequireDependency(S,E,k,w){return new te(S,E,k,w)}newRequireItemDependency(S,E){return new ne(S,E)}newRequireArrayDependency(S,E){return new j(S,E)}}S.exports=AMDRequireDependenciesBlockParserPlugin},45167:(S,E,k)=>{"use strict";const w=k(76150);const N=k(56202);const j=k(12197);class AMDRequireDependency extends j{constructor(S,E,k,w){super();this.outerRange=S;this.arrayRange=E;this.functionRange=k;this.errorCallbackRange=w;this.functionBindThis=false;this.errorCallbackBindThis=false}get category(){return"amd"}serialize(S){const{write:E}=S;E(this.outerRange);E(this.arrayRange);E(this.functionRange);E(this.errorCallbackRange);E(this.functionBindThis);E(this.errorCallbackBindThis);super.serialize(S)}deserialize(S){const{read:E}=S;this.outerRange=E();this.arrayRange=E();this.functionRange=E();this.errorCallbackRange=E();this.functionBindThis=E();this.errorCallbackBindThis=E();super.deserialize(S)}}N(AMDRequireDependency,"webpack/lib/dependencies/AMDRequireDependency");AMDRequireDependency.Template=class AMDRequireDependencyTemplate extends j.Template{apply(S,E,{runtimeTemplate:k,moduleGraph:N,chunkGraph:j,runtimeRequirements:q}){const ee=S;const te=N.getParentBlock(ee);const ne=k.blockPromise({chunkGraph:j,block:te,message:"AMD require",runtimeRequirements:q});if(ee.arrayRange&&!ee.functionRange){const S=`${ne}.then(function() {`;const k=`;}).catch(${w.uncaughtErrorHandler})`;q.add(w.uncaughtErrorHandler);E.replace(ee.outerRange[0],ee.arrayRange[0]-1,S);E.replace(ee.arrayRange[1],ee.outerRange[1]-1,k);return}if(ee.functionRange&&!ee.arrayRange){const S=`${ne}.then((`;const k=`).bind(exports, __webpack_require__, exports, module)).catch(${w.uncaughtErrorHandler})`;q.add(w.uncaughtErrorHandler);E.replace(ee.outerRange[0],ee.functionRange[0]-1,S);E.replace(ee.functionRange[1],ee.outerRange[1]-1,k);return}if(ee.arrayRange&&ee.functionRange&&ee.errorCallbackRange){const S=`${ne}.then(function() { `;const k=`}${ee.functionBindThis?".bind(this)":""}).catch(`;const w=`${ee.errorCallbackBindThis?".bind(this)":""})`;E.replace(ee.outerRange[0],ee.arrayRange[0]-1,S);E.insert(ee.arrayRange[0]+.9,"var __WEBPACK_AMD_REQUIRE_ARRAY__ = ");E.replace(ee.arrayRange[1],ee.functionRange[0]-1,"; (");E.insert(ee.functionRange[1],").apply(null, __WEBPACK_AMD_REQUIRE_ARRAY__);");E.replace(ee.functionRange[1],ee.errorCallbackRange[0]-1,k);E.replace(ee.errorCallbackRange[1],ee.outerRange[1]-1,w);return}if(ee.arrayRange&&ee.functionRange){const S=`${ne}.then(function() { `;const k=`}${ee.functionBindThis?".bind(this)":""}).catch(${w.uncaughtErrorHandler})`;q.add(w.uncaughtErrorHandler);E.replace(ee.outerRange[0],ee.arrayRange[0]-1,S);E.insert(ee.arrayRange[0]+.9,"var __WEBPACK_AMD_REQUIRE_ARRAY__ = ");E.replace(ee.arrayRange[1],ee.functionRange[0]-1,"; (");E.insert(ee.functionRange[1],").apply(null, __WEBPACK_AMD_REQUIRE_ARRAY__);");E.replace(ee.functionRange[1],ee.outerRange[1]-1,k)}}};S.exports=AMDRequireDependency},29022:(S,E,k)=>{"use strict";const w=k(56202);const N=k(79983);const j=k(87283);class AMDRequireItemDependency extends N{constructor(S,E){super(S);this.range=E}get type(){return"amd require"}get category(){return"amd"}}w(AMDRequireItemDependency,"webpack/lib/dependencies/AMDRequireItemDependency");AMDRequireItemDependency.Template=j;S.exports=AMDRequireItemDependency},29035:(S,E,k)=>{"use strict";const w=k(76150);const N=k(66804);const j=k(58159);class AMDDefineRuntimeModule extends N{constructor(){super("amd define")}generate(){return j.asString([`${w.amdDefine} = function () {`,j.indent("throw new Error('define cannot be used indirect');"),"};"])}}class AMDOptionsRuntimeModule extends N{constructor(S){super("amd options");this.options=S}generate(){return j.asString([`${w.amdOptions} = ${JSON.stringify(this.options)};`])}}E.AMDDefineRuntimeModule=AMDDefineRuntimeModule;E.AMDOptionsRuntimeModule=AMDOptionsRuntimeModule},59455:(S,E,k)=>{"use strict";const w=k(84304);const N=k(63272);const j=k(56202);const q=k(12197);class CachedConstDependency extends q{constructor(S,E,k){super();this.expression=S;this.range=E;this.identifier=k}updateHash(S,E){S.update(this.identifier+"");S.update(this.range+"");S.update(this.expression+"")}serialize(S){const{write:E}=S;E(this.expression);E(this.range);E(this.identifier);super.serialize(S)}deserialize(S){const{read:E}=S;this.expression=E();this.range=E();this.identifier=E();super.deserialize(S)}}j(CachedConstDependency,"webpack/lib/dependencies/CachedConstDependency");CachedConstDependency.Template=class CachedConstDependencyTemplate extends w{apply(S,E,{runtimeTemplate:k,dependencyTemplates:w,initFragments:j}){const q=S;j.push(new N(`var ${q.identifier} = ${q.expression};\n`,N.STAGE_CONSTANTS,0,`const ${q.identifier}`));if(typeof q.range==="number"){E.insert(q.range,q.identifier);return}E.replace(q.range[0],q.range[1]-1,q.identifier)}};S.exports=CachedConstDependency},73456:(S,E,k)=>{"use strict";const w=k(76150);E.handleDependencyBase=(S,E,k)=>{let N=undefined;let j;switch(S){case"exports":k.add(w.exports);N=E.exportsArgument;j="expression";break;case"module.exports":k.add(w.module);N=`${E.moduleArgument}.exports`;j="expression";break;case"this":k.add(w.thisAsExports);N="this";j="expression";break;case"Object.defineProperty(exports)":k.add(w.exports);N=E.exportsArgument;j="Object.defineProperty";break;case"Object.defineProperty(module.exports)":k.add(w.module);N=`${E.moduleArgument}.exports`;j="Object.defineProperty";break;case"Object.defineProperty(this)":k.add(w.thisAsExports);N="this";j="Object.defineProperty";break;default:throw new Error(`Unsupported base ${S}`)}return[j,N]}},1248:(S,E,k)=>{"use strict";const w=k(28706);const{UsageState:N}=k(76632);const j=k(58159);const{equals:q}=k(73910);const ee=k(56202);const te=k(68038);const{handleDependencyBase:ne}=k(73456);const ae=k(79983);const _e=k(18971);const ve=Symbol("CommonJsExportRequireDependency.ids");const Ee={};class CommonJsExportRequireDependency extends ae{constructor(S,E,k,w,N,j,q){super(N);this.range=S;this.valueRange=E;this.base=k;this.names=w;this.ids=j;this.resultUsed=q;this.asiSafe=undefined}get type(){return"cjs export require"}getIds(S){return S.getMeta(this)[ve]||this.ids}setIds(S,E){S.getMeta(this)[ve]=E}getReferencedExports(S,E){const k=this.getIds(S);const getFullResult=()=>{if(k.length===0){return w.EXPORTS_OBJECT_REFERENCED}else{return[{name:k,canMangle:false}]}};if(this.resultUsed)return getFullResult();let j=S.getExportsInfo(S.getParentModule(this));for(const S of this.names){const k=j.getReadOnlyExportInfo(S);const q=k.getUsed(E);if(q===N.Unused)return w.NO_EXPORTS_REFERENCED;if(q!==N.OnlyPropertiesUsed)return getFullResult();j=k.exportsInfo;if(!j)return getFullResult()}if(j.otherExportsInfo.getUsed(E)!==N.Unused){return getFullResult()}const q=[];for(const S of j.orderedExports){_e(E,q,k.concat(S.name),S,false)}return q.map((S=>({name:S,canMangle:false})))}getExports(S){const E=this.getIds(S);if(this.names.length===1){const k=this.names[0];const w=S.getConnection(this);if(!w)return;return{exports:[{name:k,from:w,export:E.length===0?null:E,canMangle:!(k in Ee)&&false}],dependencies:[w.module]}}else if(this.names.length>0){const S=this.names[0];return{exports:[{name:S,canMangle:!(S in Ee)&&false}],dependencies:undefined}}else{const k=S.getConnection(this);if(!k)return;const w=this.getStarReexports(S,undefined,k.module);if(w){return{exports:Array.from(w.exports,(S=>({name:S,from:k,export:E.concat(S),canMangle:!(S in Ee)&&false}))),dependencies:[k.module]}}else{return{exports:true,from:E.length===0?k:undefined,canMangle:false,dependencies:[k.module]}}}}getStarReexports(S,E,k=S.getModule(this)){let w=S.getExportsInfo(k);const j=this.getIds(S);if(j.length>0)w=w.getNestedExportsInfo(j);let q=S.getExportsInfo(S.getParentModule(this));if(this.names.length>0)q=q.getNestedExportsInfo(this.names);const ee=w&&w.otherExportsInfo.provided===false;const te=q&&q.otherExportsInfo.getUsed(E)===N.Unused;if(!ee&&!te){return}const ne=k.getExportsType(S,false)==="namespace";const ae=new Set;const _e=new Set;if(te){for(const S of q.orderedExports){const k=S.name;if(S.getUsed(E)===N.Unused)continue;if(k==="__esModule"&&ne){ae.add(k)}else if(w){const S=w.getReadOnlyExportInfo(k);if(S.provided===false)continue;ae.add(k);if(S.provided===true)continue;_e.add(k)}else{ae.add(k);_e.add(k)}}}else if(ee){for(const S of w.orderedExports){const k=S.name;if(S.provided===false)continue;if(q){const S=q.getReadOnlyExportInfo(k);if(S.getUsed(E)===N.Unused)continue}ae.add(k);if(S.provided===true)continue;_e.add(k)}if(ne){ae.add("__esModule");_e.delete("__esModule")}}return{exports:ae,checked:_e}}serialize(S){const{write:E}=S;E(this.asiSafe);E(this.range);E(this.valueRange);E(this.base);E(this.names);E(this.ids);E(this.resultUsed);super.serialize(S)}deserialize(S){const{read:E}=S;this.asiSafe=E();this.range=E();this.valueRange=E();this.base=E();this.names=E();this.ids=E();this.resultUsed=E();super.deserialize(S)}}ee(CommonJsExportRequireDependency,"webpack/lib/dependencies/CommonJsExportRequireDependency");CommonJsExportRequireDependency.Template=class CommonJsExportRequireDependencyTemplate extends ae.Template{apply(S,E,{module:k,runtimeTemplate:w,chunkGraph:N,moduleGraph:ee,runtimeRequirements:ae,runtime:_e}){const ve=S;const Ee=ee.getExportsInfo(k).getUsedName(ve.names,_e);const[Te,Ce]=ne(ve.base,k,ae);const we=ee.getModule(ve);let Ne=w.moduleExports({module:we,chunkGraph:N,request:ve.request,weak:ve.weak,runtimeRequirements:ae});const Ie=ve.getIds(ee);const Fe=ee.getExportsInfo(we).getUsedName(Ie,_e);if(Fe){const S=q(Fe,Ie)?"":j.toNormalComment(te(Ie))+" ";Ne+=`${S}${te(Fe)}`}switch(Te){case"expression":E.replace(ve.range[0],ve.range[1]-1,Ee?`${Ce}${te(Ee)} = ${Ne}`:`/* unused reexport */ ${Ne}`);return;case"Object.defineProperty":throw new Error("TODO");default:throw new Error("Unexpected type")}}};S.exports=CommonJsExportRequireDependency},26702:(S,E,k)=>{"use strict";const w=k(63272);const N=k(56202);const j=k(68038);const{handleDependencyBase:q}=k(73456);const ee=k(12197);const te={};class CommonJsExportsDependency extends ee{constructor(S,E,k,w){super();this.range=S;this.valueRange=E;this.base=k;this.names=w}get type(){return"cjs exports"}getExports(S){const E=this.names[0];return{exports:[{name:E,canMangle:!(E in te)}],dependencies:undefined}}serialize(S){const{write:E}=S;E(this.range);E(this.valueRange);E(this.base);E(this.names);super.serialize(S)}deserialize(S){const{read:E}=S;this.range=E();this.valueRange=E();this.base=E();this.names=E();super.deserialize(S)}}N(CommonJsExportsDependency,"webpack/lib/dependencies/CommonJsExportsDependency");CommonJsExportsDependency.Template=class CommonJsExportsDependencyTemplate extends ee.Template{apply(S,E,{module:k,moduleGraph:N,initFragments:ee,runtimeRequirements:te,runtime:ne}){const ae=S;const _e=N.getExportsInfo(k).getUsedName(ae.names,ne);const[ve,Ee]=q(ae.base,k,te);switch(ve){case"expression":if(!_e){ee.push(new w("var __webpack_unused_export__;\n",w.STAGE_CONSTANTS,0,"__webpack_unused_export__"));E.replace(ae.range[0],ae.range[1]-1,"__webpack_unused_export__");return}E.replace(ae.range[0],ae.range[1]-1,`${Ee}${j(_e)}`);return;case"Object.defineProperty":if(!_e){ee.push(new w("var __webpack_unused_export__;\n",w.STAGE_CONSTANTS,0,"__webpack_unused_export__"));E.replace(ae.range[0],ae.valueRange[0]-1,"__webpack_unused_export__ = (");E.replace(ae.valueRange[1],ae.range[1]-1,")");return}E.replace(ae.range[0],ae.valueRange[0]-1,`Object.defineProperty(${Ee}${j(_e.slice(0,-1))}, ${JSON.stringify(_e[_e.length-1])}, (`);E.replace(ae.valueRange[1],ae.range[1]-1,"))");return}}};S.exports=CommonJsExportsDependency},48235:(S,E,k)=>{"use strict";const w=k(76150);const N=k(72380);const{evaluateToString:j}=k(48472);const q=k(68038);const ee=k(1248);const te=k(26702);const ne=k(94147);const ae=k(28140);const _e=k(25702);const ve=k(2706);const getValueOfPropertyDescription=S=>{if(S.type!=="ObjectExpression")return;for(const E of S.properties){if(E.computed)continue;const S=E.key;if(S.type!=="Identifier"||S.name!=="value")continue;return E.value}};const isTruthyLiteral=S=>{switch(S.type){case"Literal":return!!S.value;case"UnaryExpression":if(S.operator==="!")return isFalsyLiteral(S.argument)}return false};const isFalsyLiteral=S=>{switch(S.type){case"Literal":return!S.value;case"UnaryExpression":if(S.operator==="!")return isTruthyLiteral(S.argument)}return false};const parseRequireCall=(S,E)=>{const k=[];while(E.type==="MemberExpression"){if(E.object.type==="Super")return;if(!E.property)return;const S=E.property;if(E.computed){if(S.type!=="Literal")return;k.push(`${S.value}`)}else{if(S.type!=="Identifier")return;k.push(S.name)}E=E.object}if(E.type!=="CallExpression"||E.arguments.length!==1)return;const w=E.callee;if(w.type!=="Identifier"||S.getVariableInfo(w.name)!=="require"){return}const N=E.arguments[0];if(N.type==="SpreadElement")return;const j=S.evaluateExpression(N);return{argument:j,ids:k.reverse()}};class CommonJsExportsParserPlugin{constructor(S){this.moduleGraph=S}apply(S){const enableStructuredExports=()=>{ae.enable(S.state)};const checkNamespace=(E,k,w)=>{if(!ae.isEnabled(S.state))return;if(k.length>0&&k[0]==="__esModule"){if(w&&isTruthyLiteral(w)&&E){ae.setFlagged(S.state)}else{ae.setDynamic(S.state)}}};const bailout=E=>{ae.bailout(S.state);if(E)bailoutHint(E)};const bailoutHint=E=>{this.moduleGraph.getOptimizationBailout(S.state.module).push(`CommonJS bailout: ${E}`)};S.hooks.evaluateTypeof.for("module").tap("CommonJsExportsParserPlugin",j("object"));S.hooks.evaluateTypeof.for("exports").tap("CommonJsPlugin",j("object"));const handleAssignExport=(E,k,w)=>{if(_e.isEnabled(S.state))return;const N=parseRequireCall(S,E.right);if(N&&N.argument.isString()&&(w.length===0||w[0]!=="__esModule")){enableStructuredExports();if(w.length===0)ae.setDynamic(S.state);const j=new ee(E.range,null,k,w,N.argument.string,N.ids,!S.isStatementLevelExpression(E));j.loc=E.loc;j.optional=!!S.scope.inTry;S.state.module.addDependency(j);return true}if(w.length===0)return;enableStructuredExports();const j=w;checkNamespace(S.statementPath.length===1&&S.isStatementLevelExpression(E),j,E.right);const q=new te(E.left.range,null,k,j);q.loc=E.loc;S.state.module.addDependency(q);S.walkExpression(E.right);return true};S.hooks.assignMemberChain.for("exports").tap("CommonJsExportsParserPlugin",((S,E)=>handleAssignExport(S,"exports",E)));S.hooks.assignMemberChain.for("this").tap("CommonJsExportsParserPlugin",((E,k)=>{if(!S.scope.topLevelScope)return;return handleAssignExport(E,"this",k)}));S.hooks.assignMemberChain.for("module").tap("CommonJsExportsParserPlugin",((S,E)=>{if(E[0]!=="exports")return;return handleAssignExport(S,"module.exports",E.slice(1))}));S.hooks.call.for("Object.defineProperty").tap("CommonJsExportsParserPlugin",(E=>{const k=E;if(!S.isStatementLevelExpression(k))return;if(k.arguments.length!==3)return;if(k.arguments[0].type==="SpreadElement")return;if(k.arguments[1].type==="SpreadElement")return;if(k.arguments[2].type==="SpreadElement")return;const w=S.evaluateExpression(k.arguments[0]);if(!w||!w.isIdentifier())return;if(w.identifier!=="exports"&&w.identifier!=="module.exports"&&(w.identifier!=="this"||!S.scope.topLevelScope)){return}const N=S.evaluateExpression(k.arguments[1]);if(!N)return;const j=N.asString();if(typeof j!=="string")return;enableStructuredExports();const q=k.arguments[2];checkNamespace(S.statementPath.length===1,[j],getValueOfPropertyDescription(q));const ee=new te(k.range,k.arguments[2].range,`Object.defineProperty(${w.identifier})`,[j]);ee.loc=k.loc;S.state.module.addDependency(ee);S.walkExpression(k.arguments[2]);return true}));const handleAccessExport=(E,k,w,j=undefined)=>{if(_e.isEnabled(S.state))return;if(w.length===0){bailout(`${k} is used directly at ${N(E.loc)}`)}if(j&&w.length===1){bailoutHint(`${k}${q(w)}(...) prevents optimization as ${k} is passed as call context at ${N(E.loc)}`)}const ee=new ne(E.range,k,w,!!j);ee.loc=E.loc;S.state.module.addDependency(ee);if(j){S.walkExpressions(j.arguments)}return true};S.hooks.callMemberChain.for("exports").tap("CommonJsExportsParserPlugin",((S,E)=>handleAccessExport(S.callee,"exports",E,S)));S.hooks.expressionMemberChain.for("exports").tap("CommonJsExportsParserPlugin",((S,E)=>handleAccessExport(S,"exports",E)));S.hooks.expression.for("exports").tap("CommonJsExportsParserPlugin",(S=>handleAccessExport(S,"exports",[])));S.hooks.callMemberChain.for("module").tap("CommonJsExportsParserPlugin",((S,E)=>{if(E[0]!=="exports")return;return handleAccessExport(S.callee,"module.exports",E.slice(1),S)}));S.hooks.expressionMemberChain.for("module").tap("CommonJsExportsParserPlugin",((S,E)=>{if(E[0]!=="exports")return;return handleAccessExport(S,"module.exports",E.slice(1))}));S.hooks.expression.for("module.exports").tap("CommonJsExportsParserPlugin",(S=>handleAccessExport(S,"module.exports",[])));S.hooks.callMemberChain.for("this").tap("CommonJsExportsParserPlugin",((E,k)=>{if(!S.scope.topLevelScope)return;return handleAccessExport(E.callee,"this",k,E)}));S.hooks.expressionMemberChain.for("this").tap("CommonJsExportsParserPlugin",((E,k)=>{if(!S.scope.topLevelScope)return;return handleAccessExport(E,"this",k)}));S.hooks.expression.for("this").tap("CommonJsExportsParserPlugin",(E=>{if(!S.scope.topLevelScope)return;return handleAccessExport(E,"this",[])}));S.hooks.expression.for("module").tap("CommonJsPlugin",(E=>{bailout();const k=_e.isEnabled(S.state);const N=new ve(k?w.harmonyModuleDecorator:w.nodeModuleDecorator,!k);N.loc=E.loc;S.state.module.addDependency(N);return true}))}}S.exports=CommonJsExportsParserPlugin},87519:(S,E,k)=>{"use strict";const w=k(58159);const{equals:N}=k(73910);const j=k(56202);const q=k(68038);const ee=k(79983);class CommonJsFullRequireDependency extends ee{constructor(S,E,k){super(S);this.range=E;this.names=k;this.call=false;this.asiSafe=undefined}getReferencedExports(S,E){if(this.call){const E=S.getModule(this);if(!E||E.getExportsType(S,false)!=="namespace"){return[this.names.slice(0,-1)]}}return[this.names]}serialize(S){const{write:E}=S;E(this.names);E(this.call);E(this.asiSafe);super.serialize(S)}deserialize(S){const{read:E}=S;this.names=E();this.call=E();this.asiSafe=E();super.deserialize(S)}get type(){return"cjs full require"}get category(){return"commonjs"}}CommonJsFullRequireDependency.Template=class CommonJsFullRequireDependencyTemplate extends ee.Template{apply(S,E,{module:k,runtimeTemplate:j,moduleGraph:ee,chunkGraph:te,runtimeRequirements:ne,runtime:ae,initFragments:_e}){const ve=S;if(!ve.range)return;const Ee=ee.getModule(ve);let Te=j.moduleExports({module:Ee,chunkGraph:te,request:ve.request,weak:ve.weak,runtimeRequirements:ne});const Ce=ve.names;const we=ee.getExportsInfo(Ee).getUsedName(Ce,ae);if(we){const S=N(we,Ce)?"":w.toNormalComment(q(Ce))+" ";Te+=`${S}${q(we)}`}E.replace(ve.range[0],ve.range[1]-1,Te)}};j(CommonJsFullRequireDependency,"webpack/lib/dependencies/CommonJsFullRequireDependency");S.exports=CommonJsFullRequireDependency},42218:(S,E,k)=>{"use strict";const w=k(47207);const N=k(76150);const j=k(53558);const{evaluateToIdentifier:q,evaluateToString:ee,expressionIsUnsupported:te,toConstantDependency:ne}=k(48472);const ae=k(87519);const _e=k(51454);const ve=k(37313);const Ee=k(66298);const Te=k(95601);const Ce=k(14229);const{getLocalModule:we}=k(61701);const Ne=k(70340);const Ie=k(84817);const Fe=k(76913);const Oe=k(23380);class CommonJsImportsParserPlugin{constructor(S){this.options=S}apply(S){const E=this.options;const tapRequireExpression=(E,k)=>{S.hooks.typeof.for(E).tap("CommonJsPlugin",ne(S,JSON.stringify("function")));S.hooks.evaluateTypeof.for(E).tap("CommonJsPlugin",ee("function"));S.hooks.evaluateIdentifier.for(E).tap("CommonJsPlugin",q(E,"require",k,true))};tapRequireExpression("require",(()=>[]));tapRequireExpression("require.resolve",(()=>["resolve"]));tapRequireExpression("require.resolveWeak",(()=>["resolveWeak"]));S.hooks.assign.for("require").tap("CommonJsPlugin",(E=>{const k=new Ee("var require;",0);k.loc=E.loc;S.state.module.addPresentationalDependency(k);return true}));S.hooks.expression.for("require.main.require").tap("CommonJsPlugin",te(S,"require.main.require is not supported by webpack."));S.hooks.call.for("require.main.require").tap("CommonJsPlugin",te(S,"require.main.require is not supported by webpack."));S.hooks.expression.for("module.parent.require").tap("CommonJsPlugin",te(S,"module.parent.require is not supported by webpack."));S.hooks.call.for("module.parent.require").tap("CommonJsPlugin",te(S,"module.parent.require is not supported by webpack."));S.hooks.canRename.for("require").tap("CommonJsPlugin",(()=>true));S.hooks.rename.for("require").tap("CommonJsPlugin",(E=>{const k=new Ee("undefined",E.range);k.loc=E.loc;S.state.module.addPresentationalDependency(k);return false}));S.hooks.expression.for("require.cache").tap("CommonJsImportsParserPlugin",ne(S,N.moduleCache,[N.moduleCache,N.moduleId,N.moduleLoaded]));S.hooks.expression.for("require").tap("CommonJsImportsParserPlugin",(k=>{const w=new _e({request:E.unknownContextRequest,recursive:E.unknownContextRecursive,regExp:E.unknownContextRegExp,mode:"sync"},k.range);w.critical=E.unknownContextCritical&&"require function is used in a way in which dependencies cannot be statically extracted";w.loc=k.loc;w.optional=!!S.scope.inTry;S.state.current.addDependency(w);return true}));const processRequireItem=(E,k)=>{if(k.isString()){const w=new ve(k.string,k.range);w.loc=E.loc;w.optional=!!S.scope.inTry;S.state.current.addDependency(w);return true}};const processRequireContext=(k,w)=>{const N=Te.create(_e,k.range,w,k,E,{category:"commonjs"},S);if(!N)return;N.loc=k.loc;N.optional=!!S.scope.inTry;S.state.current.addDependency(N);return true};const createRequireHandler=k=>N=>{if(E.commonjsMagicComments){const{options:E,errors:k}=S.parseCommentOptions(N.range);if(k){for(const E of k){const{comment:k}=E;S.state.module.addWarning(new w(`Compilation error while processing magic comment(-s): /*${k.value}*/: ${E.message}`,k.loc))}}if(E){if(E.webpackIgnore!==undefined){if(typeof E.webpackIgnore!=="boolean"){S.state.module.addWarning(new j(`\`webpackIgnore\` expected a boolean, but received: ${E.webpackIgnore}.`,N.loc))}else{if(E.webpackIgnore){return true}}}}}if(N.arguments.length!==1)return;let q;const ee=S.evaluateExpression(N.arguments[0]);if(ee.isConditional()){let E=false;for(const S of ee.options){const k=processRequireItem(N,S);if(k===undefined){E=true}}if(!E){const E=new Ne(N.callee.range);E.loc=N.loc;S.state.module.addPresentationalDependency(E);return true}}if(ee.isString()&&(q=we(S.state,ee.string))){q.flagUsed();const E=new Ce(q,N.range,k);E.loc=N.loc;S.state.module.addPresentationalDependency(E);return true}else{const E=processRequireItem(N,ee);if(E===undefined){processRequireContext(N,ee)}else{const E=new Ne(N.callee.range);E.loc=N.loc;S.state.module.addPresentationalDependency(E)}return true}};S.hooks.call.for("require").tap("CommonJsImportsParserPlugin",createRequireHandler(false));S.hooks.new.for("require").tap("CommonJsImportsParserPlugin",createRequireHandler(true));S.hooks.call.for("module.require").tap("CommonJsImportsParserPlugin",createRequireHandler(false));S.hooks.new.for("module.require").tap("CommonJsImportsParserPlugin",createRequireHandler(true));const chainHandler=(E,k,w,N)=>{if(w.arguments.length!==1)return;const j=S.evaluateExpression(w.arguments[0]);if(j.isString()&&!we(S.state,j.string)){const k=new ae(j.string,E.range,N);k.asiSafe=!S.isAsiPosition(E.range[0]);k.optional=!!S.scope.inTry;k.loc=E.loc;S.state.module.addDependency(k);return true}};const callChainHandler=(E,k,w,N)=>{if(w.arguments.length!==1)return;const j=S.evaluateExpression(w.arguments[0]);if(j.isString()&&!we(S.state,j.string)){const k=new ae(j.string,E.callee.range,N);k.call=true;k.asiSafe=!S.isAsiPosition(E.range[0]);k.optional=!!S.scope.inTry;k.loc=E.callee.loc;S.state.module.addDependency(k);S.walkExpressions(E.arguments);return true}};S.hooks.memberChainOfCallMemberChain.for("require").tap("CommonJsImportsParserPlugin",chainHandler);S.hooks.memberChainOfCallMemberChain.for("module.require").tap("CommonJsImportsParserPlugin",chainHandler);S.hooks.callMemberChainOfCallMemberChain.for("require").tap("CommonJsImportsParserPlugin",callChainHandler);S.hooks.callMemberChainOfCallMemberChain.for("module.require").tap("CommonJsImportsParserPlugin",callChainHandler);const processResolve=(E,k)=>{if(E.arguments.length!==1)return;const w=S.evaluateExpression(E.arguments[0]);if(w.isConditional()){for(const S of w.options){const w=processResolveItem(E,S,k);if(w===undefined){processResolveContext(E,S,k)}}const N=new Oe(E.callee.range);N.loc=E.loc;S.state.module.addPresentationalDependency(N);return true}else{const N=processResolveItem(E,w,k);if(N===undefined){processResolveContext(E,w,k)}const j=new Oe(E.callee.range);j.loc=E.loc;S.state.module.addPresentationalDependency(j);return true}};const processResolveItem=(E,k,w)=>{if(k.isString()){const N=new Fe(k.string,k.range);N.loc=E.loc;N.optional=!!S.scope.inTry;N.weak=w;S.state.current.addDependency(N);return true}};const processResolveContext=(k,w,N)=>{const j=Te.create(Ie,w.range,w,k,E,{category:"commonjs",mode:N?"weak":"sync"},S);if(!j)return;j.loc=k.loc;j.optional=!!S.scope.inTry;S.state.current.addDependency(j);return true};S.hooks.call.for("require.resolve").tap("RequireResolveDependencyParserPlugin",(S=>processResolve(S,false)));S.hooks.call.for("require.resolveWeak").tap("RequireResolveDependencyParserPlugin",(S=>processResolve(S,true)))}}S.exports=CommonJsImportsParserPlugin},91630:(S,E,k)=>{"use strict";const w=k(76150);const N=k(66804);const j=k(31141);const q=k(58159);const ee=k(26702);const te=k(87519);const ne=k(51454);const ae=k(37313);const _e=k(94147);const ve=k(2706);const Ee=k(70340);const Te=k(84817);const Ce=k(76913);const we=k(23380);const Ne=k(35424);const Ie=k(48235);const Fe=k(42218);const{evaluateToIdentifier:Oe,toConstantDependency:Me}=k(48472);const Re=k(1248);class CommonJsPlugin{apply(S){S.hooks.compilation.tap("CommonJsPlugin",((S,{contextModuleFactory:E,normalModuleFactory:k})=>{S.dependencyFactories.set(ae,k);S.dependencyTemplates.set(ae,new ae.Template);S.dependencyFactories.set(te,k);S.dependencyTemplates.set(te,new te.Template);S.dependencyFactories.set(ne,E);S.dependencyTemplates.set(ne,new ne.Template);S.dependencyFactories.set(Ce,k);S.dependencyTemplates.set(Ce,new Ce.Template);S.dependencyFactories.set(Te,E);S.dependencyTemplates.set(Te,new Te.Template);S.dependencyTemplates.set(we,new we.Template);S.dependencyTemplates.set(Ee,new Ee.Template);S.dependencyTemplates.set(ee,new ee.Template);S.dependencyFactories.set(Re,k);S.dependencyTemplates.set(Re,new Re.Template);const N=new j(S.moduleGraph);S.dependencyFactories.set(_e,N);S.dependencyTemplates.set(_e,new _e.Template);S.dependencyFactories.set(ve,N);S.dependencyTemplates.set(ve,new ve.Template);S.hooks.runtimeRequirementInModule.for(w.harmonyModuleDecorator).tap("CommonJsPlugin",((S,E)=>{E.add(w.module);E.add(w.requireScope)}));S.hooks.runtimeRequirementInModule.for(w.nodeModuleDecorator).tap("CommonJsPlugin",((S,E)=>{E.add(w.module);E.add(w.requireScope)}));S.hooks.runtimeRequirementInTree.for(w.harmonyModuleDecorator).tap("CommonJsPlugin",((E,k)=>{S.addRuntimeModule(E,new HarmonyModuleDecoratorRuntimeModule)}));S.hooks.runtimeRequirementInTree.for(w.nodeModuleDecorator).tap("CommonJsPlugin",((E,k)=>{S.addRuntimeModule(E,new NodeModuleDecoratorRuntimeModule)}));const handler=(E,k)=>{if(k.commonjs!==undefined&&!k.commonjs)return;E.hooks.typeof.for("module").tap("CommonJsPlugin",Me(E,JSON.stringify("object")));E.hooks.expression.for("require.main").tap("CommonJsPlugin",Me(E,`${w.moduleCache}[${w.entryModuleId}]`,[w.moduleCache,w.entryModuleId]));E.hooks.expression.for("module.loaded").tap("CommonJsPlugin",(S=>{E.state.module.buildInfo.moduleConcatenationBailout="module.loaded";const k=new Ne([w.moduleLoaded]);k.loc=S.loc;E.state.module.addPresentationalDependency(k);return true}));E.hooks.expression.for("module.id").tap("CommonJsPlugin",(S=>{E.state.module.buildInfo.moduleConcatenationBailout="module.id";const k=new Ne([w.moduleId]);k.loc=S.loc;E.state.module.addPresentationalDependency(k);return true}));E.hooks.evaluateIdentifier.for("module.hot").tap("CommonJsPlugin",Oe("module.hot","module",(()=>["hot"]),null));new Fe(k).apply(E);new Ie(S.moduleGraph).apply(E)};k.hooks.parser.for("javascript/auto").tap("CommonJsPlugin",handler);k.hooks.parser.for("javascript/dynamic").tap("CommonJsPlugin",handler)}))}}class HarmonyModuleDecoratorRuntimeModule extends N{constructor(){super("harmony module decorator")}generate(){const{runtimeTemplate:S}=this.compilation;return q.asString([`${w.harmonyModuleDecorator} = ${S.basicFunction("module",["module = Object.create(module);","if (!module.children) module.children = [];","Object.defineProperty(module, 'exports', {",q.indent(["enumerable: true,",`set: ${S.basicFunction("",["throw new Error('ES Modules may not assign module.exports or exports.*, Use ESM export syntax, instead: ' + module.id);"])}`]),"});","return module;"])};`])}}class NodeModuleDecoratorRuntimeModule extends N{constructor(){super("node module decorator")}generate(){const{runtimeTemplate:S}=this.compilation;return q.asString([`${w.nodeModuleDecorator} = ${S.basicFunction("module",["module.paths = [];","if (!module.children) module.children = [];","return module;"])};`])}}S.exports=CommonJsPlugin},51454:(S,E,k)=>{"use strict";const w=k(56202);const N=k(400);const j=k(42740);class CommonJsRequireContextDependency extends N{constructor(S,E,k){super(S);this.range=E;this.valueRange=k}get type(){return"cjs require context"}serialize(S){const{write:E}=S;E(this.range);E(this.valueRange);super.serialize(S)}deserialize(S){const{read:E}=S;this.range=E();this.valueRange=E();super.deserialize(S)}}w(CommonJsRequireContextDependency,"webpack/lib/dependencies/CommonJsRequireContextDependency");CommonJsRequireContextDependency.Template=j;S.exports=CommonJsRequireContextDependency},37313:(S,E,k)=>{"use strict";const w=k(56202);const N=k(79983);const j=k(80791);class CommonJsRequireDependency extends N{constructor(S,E){super(S);this.range=E}get type(){return"cjs require"}get category(){return"commonjs"}}CommonJsRequireDependency.Template=j;w(CommonJsRequireDependency,"webpack/lib/dependencies/CommonJsRequireDependency");S.exports=CommonJsRequireDependency},94147:(S,E,k)=>{"use strict";const w=k(76150);const{equals:N}=k(73910);const j=k(56202);const q=k(68038);const ee=k(12197);class CommonJsSelfReferenceDependency extends ee{constructor(S,E,k,w){super();this.range=S;this.base=E;this.names=k;this.call=w}get type(){return"cjs self exports reference"}get category(){return"self"}getResourceIdentifier(){return`self`}getReferencedExports(S,E){return[this.call?this.names.slice(0,-1):this.names]}serialize(S){const{write:E}=S;E(this.range);E(this.base);E(this.names);E(this.call);super.serialize(S)}deserialize(S){const{read:E}=S;this.range=E();this.base=E();this.names=E();this.call=E();super.deserialize(S)}}j(CommonJsSelfReferenceDependency,"webpack/lib/dependencies/CommonJsSelfReferenceDependency");CommonJsSelfReferenceDependency.Template=class CommonJsSelfReferenceDependencyTemplate extends ee.Template{apply(S,E,{module:k,moduleGraph:j,runtime:ee,runtimeRequirements:te}){const ne=S;let ae;if(ne.names.length===0){ae=ne.names}else{ae=j.getExportsInfo(k).getUsedName(ne.names,ee)}if(!ae){throw new Error("Self-reference dependency has unused export name: This should not happen")}let _e=undefined;switch(ne.base){case"exports":te.add(w.exports);_e=k.exportsArgument;break;case"module.exports":te.add(w.module);_e=`${k.moduleArgument}.exports`;break;case"this":te.add(w.thisAsExports);_e="this";break;default:throw new Error(`Unsupported base ${ne.base}`)}if(_e===ne.base&&N(ae,ne.names)){return}E.replace(ne.range[0],ne.range[1]-1,`${_e}${q(ae)}`)}};S.exports=CommonJsSelfReferenceDependency},66298:(S,E,k)=>{"use strict";const w=k(56202);const N=k(12197);class ConstDependency extends N{constructor(S,E,k){super();this.expression=S;this.range=E;this.runtimeRequirements=k?new Set(k):null}updateHash(S,E){S.update(this.range+"");S.update(this.expression+"");if(this.runtimeRequirements)S.update(Array.from(this.runtimeRequirements).join()+"")}getModuleEvaluationSideEffectsState(S){return false}serialize(S){const{write:E}=S;E(this.expression);E(this.range);E(this.runtimeRequirements);super.serialize(S)}deserialize(S){const{read:E}=S;this.expression=E();this.range=E();this.runtimeRequirements=E();super.deserialize(S)}}w(ConstDependency,"webpack/lib/dependencies/ConstDependency");ConstDependency.Template=class ConstDependencyTemplate extends N.Template{apply(S,E,k){const w=S;if(w.runtimeRequirements){for(const S of w.runtimeRequirements){k.runtimeRequirements.add(S)}}if(typeof w.range==="number"){E.insert(w.range,w.expression);return}E.replace(w.range[0],w.range[1]-1,w.expression)}};S.exports=ConstDependency},400:(S,E,k)=>{"use strict";const w=k(28706);const N=k(84304);const j=k(56202);const q=k(91671);const ee=q((()=>k(75314)));const regExpToString=S=>S?S+"":"";class ContextDependency extends w{constructor(S){super();this.options=S;this.userRequest=this.options&&this.options.request;this.critical=false;this.hadGlobalOrStickyRegExp=false;if(this.options&&(this.options.regExp.global||this.options.regExp.sticky)){this.options={...this.options,regExp:null};this.hadGlobalOrStickyRegExp=true}this.request=undefined;this.range=undefined;this.valueRange=undefined;this.replaces=undefined}get category(){return"commonjs"}getResourceIdentifier(){return`context${this.options.request} ${this.options.recursive} `+`${regExpToString(this.options.regExp)} ${regExpToString(this.options.include)} ${regExpToString(this.options.exclude)} `+`${this.options.mode} ${this.options.chunkName} `+`${JSON.stringify(this.options.groupOptions)}`}getWarnings(S){let E=super.getWarnings(S);if(this.critical){if(!E)E=[];const S=ee();E.push(new S(this.critical))}if(this.hadGlobalOrStickyRegExp){if(!E)E=[];const S=ee();E.push(new S("Contexts can't use RegExps with the 'g' or 'y' flags."))}return E}serialize(S){const{write:E}=S;E(this.options);E(this.userRequest);E(this.critical);E(this.hadGlobalOrStickyRegExp);E(this.request);E(this.range);E(this.valueRange);E(this.prepend);E(this.replaces);super.serialize(S)}deserialize(S){const{read:E}=S;this.options=E();this.userRequest=E();this.critical=E();this.hadGlobalOrStickyRegExp=E();this.request=E();this.range=E();this.valueRange=E();this.prepend=E();this.replaces=E();super.deserialize(S)}}j(ContextDependency,"webpack/lib/dependencies/ContextDependency");ContextDependency.Template=N;S.exports=ContextDependency},95601:(S,E,k)=>{"use strict";const{parseResource:w}=k(49197);const quoteMeta=S=>S.replace(/[-[\]\\/{}()*+?.^$|]/g,"\\$&");const splitContextFromPrefix=S=>{const E=S.lastIndexOf("/");let k=".";if(E>=0){k=S.substr(0,E);S=`.${S.substr(E)}`}return{context:k,prefix:S}};E.create=(S,E,k,N,j,q,ee)=>{if(k.isTemplateString()){let te=k.quasis[0].string;let ne=k.quasis.length>1?k.quasis[k.quasis.length-1].string:"";const ae=k.range;const{context:_e,prefix:ve}=splitContextFromPrefix(te);const{path:Ee,query:Te,fragment:Ce}=w(ne,ee);const we=k.quasis.slice(1,k.quasis.length-1);const Ne=j.wrappedContextRegExp.source+we.map((S=>quoteMeta(S.string)+j.wrappedContextRegExp.source)).join("");const Ie=new RegExp(`^${quoteMeta(ve)}${Ne}${quoteMeta(Ee)}$`);const Fe=new S({request:_e+Te+Ce,recursive:j.wrappedContextRecursive,regExp:Ie,mode:"sync",...q},E,ae);Fe.loc=N.loc;const Oe=[];k.parts.forEach(((S,E)=>{if(E%2===0){let w=S.range;let N=S.string;if(k.templateStringKind==="cooked"){N=JSON.stringify(N);N=N.slice(1,N.length-1)}if(E===0){N=ve;w=[k.range[0],S.range[1]];N=(k.templateStringKind==="cooked"?"`":"String.raw`")+N}else if(E===k.parts.length-1){N=Ee;w=[S.range[0],k.range[1]];N=N+"`"}else if(S.expression&&S.expression.type==="TemplateElement"&&S.expression.value.raw===N){return}Oe.push({range:w,value:N})}else{ee.walkExpression(S.expression)}}));Fe.replaces=Oe;Fe.critical=j.wrappedContextCritical&&"a part of the request of a dependency is an expression";return Fe}else if(k.isWrapped()&&(k.prefix&&k.prefix.isString()||k.postfix&&k.postfix.isString())){let te=k.prefix&&k.prefix.isString()?k.prefix.string:"";let ne=k.postfix&&k.postfix.isString()?k.postfix.string:"";const ae=k.prefix&&k.prefix.isString()?k.prefix.range:null;const _e=k.postfix&&k.postfix.isString()?k.postfix.range:null;const ve=k.range;const{context:Ee,prefix:Te}=splitContextFromPrefix(te);const{path:Ce,query:we,fragment:Ne}=w(ne,ee);const Ie=new RegExp(`^${quoteMeta(Te)}${j.wrappedContextRegExp.source}${quoteMeta(Ce)}$`);const Fe=new S({request:Ee+we+Ne,recursive:j.wrappedContextRecursive,regExp:Ie,mode:"sync",...q},E,ve);Fe.loc=N.loc;const Oe=[];if(ae){Oe.push({range:ae,value:JSON.stringify(Te)})}if(_e){Oe.push({range:_e,value:JSON.stringify(Ce)})}Fe.replaces=Oe;Fe.critical=j.wrappedContextCritical&&"a part of the request of a dependency is an expression";if(ee&&k.wrappedInnerExpressions){for(const S of k.wrappedInnerExpressions){if(S.expression)ee.walkExpression(S.expression)}}return Fe}else{const w=new S({request:j.exprContextRequest,recursive:j.exprContextRecursive,regExp:j.exprContextRegExp,mode:"sync",...q},E,k.range);w.loc=N.loc;w.critical=j.exprContextCritical&&"the request of a dependency is an expression";ee.walkExpression(k.expression);return w}}},94148:(S,E,k)=>{"use strict";const w=k(400);class ContextDependencyTemplateAsId extends w.Template{apply(S,E,{runtimeTemplate:k,moduleGraph:w,chunkGraph:N,runtimeRequirements:j}){const q=S;const ee=k.moduleExports({module:w.getModule(q),chunkGraph:N,request:q.request,weak:q.weak,runtimeRequirements:j});if(w.getModule(q)){if(q.valueRange){if(Array.isArray(q.replaces)){for(let S=0;S{"use strict";const w=k(400);class ContextDependencyTemplateAsRequireCall extends w.Template{apply(S,E,{runtimeTemplate:k,moduleGraph:w,chunkGraph:N,runtimeRequirements:j}){const q=S;const ee=k.moduleExports({module:w.getModule(q),chunkGraph:N,request:q.request,runtimeRequirements:j});if(w.getModule(q)){if(q.valueRange){if(Array.isArray(q.replaces)){for(let S=0;S{"use strict";const w=k(28706);const N=k(56202);const j=k(79983);class ContextElementDependency extends j{constructor(S,E,k,w,N){super(S);this.referencedExports=N;this._typePrefix=k;this._category=w;if(E){this.userRequest=E}}get type(){if(this._typePrefix){return`${this._typePrefix} context element`}return"context element"}get category(){return this._category}getReferencedExports(S,E){return this.referencedExports?this.referencedExports.map((S=>({name:S,canMangle:false}))):w.EXPORTS_OBJECT_REFERENCED}serialize(S){S.write(this.referencedExports);super.serialize(S)}deserialize(S){this.referencedExports=S.read();super.deserialize(S)}}N(ContextElementDependency,"webpack/lib/dependencies/ContextElementDependency");S.exports=ContextElementDependency},7257:(S,E,k)=>{"use strict";const w=k(76150);const N=k(56202);const j=k(12197);class CreateScriptUrlDependency extends j{constructor(S){super();this.range=S}get type(){return"create script url"}}CreateScriptUrlDependency.Template=class CreateScriptUrlDependencyTemplate extends j.Template{apply(S,E,{runtimeRequirements:k}){const N=S;k.add(w.createScriptUrl);E.insert(N.range[0],`${w.createScriptUrl}(`);E.insert(N.range[1],")")}};N(CreateScriptUrlDependency,"webpack/lib/dependencies/CreateScriptUrlDependency");S.exports=CreateScriptUrlDependency},75314:(S,E,k)=>{"use strict";const w=k(81627);const N=k(56202);class CriticalDependencyWarning extends w{constructor(S){super();this.name="CriticalDependencyWarning";this.message="Critical dependency: "+S}}N(CriticalDependencyWarning,"webpack/lib/dependencies/CriticalDependencyWarning");S.exports=CriticalDependencyWarning},49422:(S,E,k)=>{"use strict";const w=k(56202);const N=k(79983);class DelegatedSourceDependency extends N{constructor(S){super(S)}get type(){return"delegated source"}get category(){return"esm"}}w(DelegatedSourceDependency,"webpack/lib/dependencies/DelegatedSourceDependency");S.exports=DelegatedSourceDependency},95189:(S,E,k)=>{"use strict";const w=k(28706);const N=k(56202);class DllEntryDependency extends w{constructor(S,E){super();this.dependencies=S;this.name=E}get type(){return"dll entry"}serialize(S){const{write:E}=S;E(this.dependencies);E(this.name);super.serialize(S)}deserialize(S){const{read:E}=S;this.dependencies=E();this.name=E();super.deserialize(S)}}N(DllEntryDependency,"webpack/lib/dependencies/DllEntryDependency");S.exports=DllEntryDependency},28140:(S,E)=>{"use strict";const k=new WeakMap;E.bailout=S=>{const E=k.get(S);k.set(S,false);if(E===true){S.module.buildMeta.exportsType=undefined;S.module.buildMeta.defaultObject=false}};E.enable=S=>{const E=k.get(S);if(E===false)return;k.set(S,true);if(E!==true){S.module.buildMeta.exportsType="default";S.module.buildMeta.defaultObject="redirect"}};E.setFlagged=S=>{const E=k.get(S);if(E!==true)return;const w=S.module.buildMeta;if(w.exportsType==="dynamic")return;w.exportsType="flagged"};E.setDynamic=S=>{const E=k.get(S);if(E!==true)return;S.module.buildMeta.exportsType="dynamic"};E.isEnabled=S=>{const E=k.get(S);return E===true}},66583:(S,E,k)=>{"use strict";const w=k(56202);const N=k(79983);class EntryDependency extends N{constructor(S){super(S)}get type(){return"entry"}get category(){return"esm"}}w(EntryDependency,"webpack/lib/dependencies/EntryDependency");S.exports=EntryDependency},51420:(S,E,k)=>{"use strict";const{UsageState:w}=k(76632);const N=k(56202);const j=k(12197);const getProperty=(S,E,k,N,j)=>{if(!k){switch(N){case"usedExports":{const k=S.getExportsInfo(E).getUsedExports(j);if(typeof k==="boolean"||k===undefined||k===null){return k}return Array.from(k).sort()}}}switch(N){case"used":return S.getExportsInfo(E).getUsed(k,j)!==w.Unused;case"useInfo":{const N=S.getExportsInfo(E).getUsed(k,j);switch(N){case w.Used:case w.OnlyPropertiesUsed:return true;case w.Unused:return false;case w.NoInfo:return undefined;case w.Unknown:return null;default:throw new Error(`Unexpected UsageState ${N}`)}}case"provideInfo":return S.getExportsInfo(E).isExportProvided(k)}return undefined};class ExportsInfoDependency extends j{constructor(S,E,k){super();this.range=S;this.exportName=E;this.property=k}serialize(S){const{write:E}=S;E(this.range);E(this.exportName);E(this.property);super.serialize(S)}static deserialize(S){const E=new ExportsInfoDependency(S.read(),S.read(),S.read());E.deserialize(S);return E}}N(ExportsInfoDependency,"webpack/lib/dependencies/ExportsInfoDependency");ExportsInfoDependency.Template=class ExportsInfoDependencyTemplate extends j.Template{apply(S,E,{module:k,moduleGraph:w,runtime:N}){const j=S;const q=getProperty(w,k,j.exportName,j.property,N);E.replace(j.range[0],j.range[1]-1,q===undefined?"undefined":JSON.stringify(q))}};S.exports=ExportsInfoDependency},27790:(S,E,k)=>{"use strict";const w=k(58159);const N=k(56202);const j=k(37359);const q=k(12197);class HarmonyAcceptDependency extends q{constructor(S,E,k){super();this.range=S;this.dependencies=E;this.hasCallback=k}get type(){return"accepted harmony modules"}serialize(S){const{write:E}=S;E(this.range);E(this.dependencies);E(this.hasCallback);super.serialize(S)}deserialize(S){const{read:E}=S;this.range=E();this.dependencies=E();this.hasCallback=E();super.deserialize(S)}}N(HarmonyAcceptDependency,"webpack/lib/dependencies/HarmonyAcceptDependency");HarmonyAcceptDependency.Template=class HarmonyAcceptDependencyTemplate extends q.Template{apply(S,E,k){const N=S;const{module:q,runtime:ee,runtimeRequirements:te,runtimeTemplate:ne,moduleGraph:ae,chunkGraph:_e}=k;const ve=N.dependencies.map((S=>{const E=ae.getModule(S);return{dependency:S,runtimeCondition:E?j.Template.getImportEmittedRuntime(q,E):false}})).filter((({runtimeCondition:S})=>S!==false)).map((({dependency:S,runtimeCondition:E})=>{const N=ne.runtimeConditionExpression({chunkGraph:_e,runtime:ee,runtimeCondition:E,runtimeRequirements:te});const j=S.getImportStatement(true,k);const q=j[0]+j[1];if(N!=="true"){return`if (${N}) {\n${w.indent(q)}\n}\n`}return q})).join("");if(N.hasCallback){if(ne.supportsArrowFunction()){E.insert(N.range[0],`__WEBPACK_OUTDATED_DEPENDENCIES__ => { ${ve}(`);E.insert(N.range[1],")(__WEBPACK_OUTDATED_DEPENDENCIES__); }")}else{E.insert(N.range[0],`function(__WEBPACK_OUTDATED_DEPENDENCIES__) { ${ve}(`);E.insert(N.range[1],")(__WEBPACK_OUTDATED_DEPENDENCIES__); }.bind(this)")}return}const Ee=ne.supportsArrowFunction();E.insert(N.range[1]-.5,`, ${Ee?"() =>":"function()"} { ${ve} }`)}};S.exports=HarmonyAcceptDependency},80654:(S,E,k)=>{"use strict";const w=k(56202);const N=k(37359);class HarmonyAcceptImportDependency extends N{constructor(S){super(S,NaN);this.weak=true}get type(){return"harmony accept"}}w(HarmonyAcceptImportDependency,"webpack/lib/dependencies/HarmonyAcceptImportDependency");HarmonyAcceptImportDependency.Template=class HarmonyAcceptImportDependencyTemplate extends N.Template{};S.exports=HarmonyAcceptImportDependency},54290:(S,E,k)=>{"use strict";const{UsageState:w}=k(76632);const N=k(63272);const j=k(76150);const q=k(56202);const ee=k(12197);class HarmonyCompatibilityDependency extends ee{get type(){return"harmony export header"}}q(HarmonyCompatibilityDependency,"webpack/lib/dependencies/HarmonyCompatibilityDependency");HarmonyCompatibilityDependency.Template=class HarmonyExportDependencyTemplate extends ee.Template{apply(S,E,{module:k,runtimeTemplate:q,moduleGraph:ee,initFragments:te,runtimeRequirements:ne,runtime:ae,concatenationScope:_e}){if(_e)return;const ve=ee.getExportsInfo(k);if(ve.getReadOnlyExportInfo("__esModule").getUsed(ae)!==w.Unused){const S=q.defineEsModuleFlagStatement({exportsArgument:k.exportsArgument,runtimeRequirements:ne});te.push(new N(S,N.STAGE_HARMONY_EXPORTS,0,"harmony compatibility"))}if(ee.isAsync(k)){ne.add(j.module);ne.add(j.asyncModule);te.push(new N(q.supportsArrowFunction()?`${j.asyncModule}(${k.moduleArgument}, async (__webpack_handle_async_dependencies__) => {\n`:`${j.asyncModule}(${k.moduleArgument}, async function (__webpack_handle_async_dependencies__) {\n`,N.STAGE_ASYNC_BOUNDARY,0,undefined,k.buildMeta.async?`\n__webpack_handle_async_dependencies__();\n}, 1);`:"\n});"))}}};S.exports=HarmonyCompatibilityDependency},11720:(S,E,k)=>{"use strict";const w=k(28140);const N=k(54290);const j=k(25702);S.exports=class HarmonyDetectionParserPlugin{constructor(S){const{topLevelAwait:E=false}=S||{};this.topLevelAwait=E}apply(S){S.hooks.program.tap("HarmonyDetectionParserPlugin",(E=>{const k=S.state.module.type==="javascript/esm";const q=k||E.body.some((S=>S.type==="ImportDeclaration"||S.type==="ExportDefaultDeclaration"||S.type==="ExportNamedDeclaration"||S.type==="ExportAllDeclaration"));if(q){const E=S.state.module;const q=new N;q.loc={start:{line:-1,column:0},end:{line:-1,column:0},index:-3};E.addPresentationalDependency(q);w.bailout(S.state);j.enable(S.state,k);S.scope.isStrict=true}}));S.hooks.topLevelAwait.tap("HarmonyDetectionParserPlugin",(()=>{const E=S.state.module;if(!this.topLevelAwait){throw new Error("The top-level-await experiment is not enabled (set experiments.topLevelAwait: true to enabled it)")}if(!j.isEnabled(S.state)){throw new Error("Top-level-await is only supported in EcmaScript Modules")}E.buildMeta.async=true}));const skipInHarmony=()=>{if(j.isEnabled(S.state)){return true}};const nullInHarmony=()=>{if(j.isEnabled(S.state)){return null}};const E=["define","exports"];for(const k of E){S.hooks.evaluateTypeof.for(k).tap("HarmonyDetectionParserPlugin",nullInHarmony);S.hooks.typeof.for(k).tap("HarmonyDetectionParserPlugin",skipInHarmony);S.hooks.evaluate.for(k).tap("HarmonyDetectionParserPlugin",nullInHarmony);S.hooks.expression.for(k).tap("HarmonyDetectionParserPlugin",skipInHarmony);S.hooks.call.for(k).tap("HarmonyDetectionParserPlugin",skipInHarmony)}}}},16081:(S,E,k)=>{"use strict";const w=k(58018);const N=k(66298);const j=k(55037);const q=k(48752);const ee=k(44576);const te=k(14696);const{harmonySpecifierTag:ne}=k(29381);const ae=k(69707);const{HarmonyStarExportsList:_e}=ee;S.exports=class HarmonyExportDependencyParserPlugin{constructor(S){this.strictExportPresence=S.strictExportPresence}apply(S){S.hooks.export.tap("HarmonyExportDependencyParserPlugin",(E=>{const k=new q(E.declaration&&E.declaration.range,E.range);k.loc=Object.create(E.loc);k.loc.index=-1;S.state.module.addPresentationalDependency(k);return true}));S.hooks.exportImport.tap("HarmonyExportDependencyParserPlugin",((E,k)=>{S.state.lastHarmonyImportOrder=(S.state.lastHarmonyImportOrder||0)+1;const w=new N("",E.range);w.loc=Object.create(E.loc);w.loc.index=-1;S.state.module.addPresentationalDependency(w);const j=new ae(k,S.state.lastHarmonyImportOrder);j.loc=Object.create(E.loc);j.loc.index=-1;S.state.current.addDependency(j);return true}));S.hooks.exportExpression.tap("HarmonyExportDependencyParserPlugin",((E,k)=>{const N=k.type==="FunctionDeclaration";const q=S.getComments([E.range[0],k.range[0]]);const ee=new j(k.range,E.range,q.map((S=>{switch(S.type){case"Block":return`/*${S.value}*/`;case"Line":return`//${S.value}\n`}return""})).join(""),k.type.endsWith("Declaration")&&k.id?k.id.name:N?{id:k.id?k.id.name:undefined,range:[k.range[0],k.params.length>0?k.params[0].range[0]:k.body.range[0]],prefix:`${k.async?"async ":""}function${k.generator?"*":""} `,suffix:`(${k.params.length>0?"":") "}`}:undefined);ee.loc=Object.create(E.loc);ee.loc.index=-1;S.state.current.addDependency(ee);w.addVariableUsage(S,k.type.endsWith("Declaration")&&k.id?k.id.name:"*default*","default");return true}));S.hooks.exportSpecifier.tap("HarmonyExportDependencyParserPlugin",((E,k,N,j)=>{const q=S.getTagData(k,ne);let ae;const _e=S.state.harmonyNamedExports=S.state.harmonyNamedExports||new Set;_e.add(N);w.addVariableUsage(S,k,N);if(q){ae=new ee(q.source,q.sourceOrder,q.ids,N,_e,null,this.strictExportPresence,null)}else{ae=new te(k,N)}ae.loc=Object.create(E.loc);ae.loc.index=j;S.state.current.addDependency(ae);return true}));S.hooks.exportImportSpecifier.tap("HarmonyExportDependencyParserPlugin",((E,k,w,N,j)=>{const q=S.state.harmonyNamedExports=S.state.harmonyNamedExports||new Set;let te=null;if(N){q.add(N)}else{te=S.state.harmonyStarExports=S.state.harmonyStarExports||new _e}const ne=new ee(k,S.state.lastHarmonyImportOrder,w?[w]:[],N,q,te&&te.slice(),this.strictExportPresence,te);if(te){te.push(ne)}ne.loc=Object.create(E.loc);ne.loc.index=j;S.state.current.addDependency(ne);return true}))}}},55037:(S,E,k)=>{"use strict";const w=k(77294);const N=k(76150);const j=k(56202);const q=k(82296);const ee=k(12197);class HarmonyExportExpressionDependency extends ee{constructor(S,E,k,w){super();this.range=S;this.rangeStatement=E;this.prefix=k;this.declarationId=w}get type(){return"harmony export expression"}getExports(S){return{exports:["default"],priority:1,terminalBinding:true,dependencies:undefined}}getModuleEvaluationSideEffectsState(S){return false}serialize(S){const{write:E}=S;E(this.range);E(this.rangeStatement);E(this.prefix);E(this.declarationId);super.serialize(S)}deserialize(S){const{read:E}=S;this.range=E();this.rangeStatement=E();this.prefix=E();this.declarationId=E();super.deserialize(S)}}j(HarmonyExportExpressionDependency,"webpack/lib/dependencies/HarmonyExportExpressionDependency");HarmonyExportExpressionDependency.Template=class HarmonyExportDependencyTemplate extends ee.Template{apply(S,E,{module:k,moduleGraph:j,runtimeTemplate:ee,runtimeRequirements:te,initFragments:ne,runtime:ae,concatenationScope:_e}){const ve=S;const{declarationId:Ee}=ve;const Te=k.exportsArgument;if(Ee){let S;if(typeof Ee==="string"){S=Ee}else{S=w.DEFAULT_EXPORT;E.replace(Ee.range[0],Ee.range[1]-1,`${Ee.prefix}${S}${Ee.suffix}`)}if(_e){_e.registerExport("default",S)}else{const E=j.getExportsInfo(k).getUsedName("default",ae);if(E){const k=new Map;k.set(E,`/* export default binding */ ${S}`);ne.push(new q(Te,k))}}E.replace(ve.rangeStatement[0],ve.range[0]-1,`/* harmony default export */ ${ve.prefix}`)}else{let S;const Ee=w.DEFAULT_EXPORT;if(ee.supportsConst()){S=`/* harmony default export */ const ${Ee} = `;if(_e){_e.registerExport("default",Ee)}else{const E=j.getExportsInfo(k).getUsedName("default",ae);if(E){te.add(N.exports);const S=new Map;S.set(E,Ee);ne.push(new q(Te,S))}else{S=`/* unused harmony default export */ var ${Ee} = `}}}else if(_e){S=`/* harmony default export */ var ${Ee} = `;_e.registerExport("default",Ee)}else{const E=j.getExportsInfo(k).getUsedName("default",ae);if(E){te.add(N.exports);S=`/* harmony default export */ ${Te}[${JSON.stringify(E)}] = `}else{S=`/* unused harmony default export */ var ${Ee} = `}}if(ve.range){E.replace(ve.rangeStatement[0],ve.range[0]-1,S+"("+ve.prefix);E.replace(ve.range[1],ve.rangeStatement[1]-.5,");");return}E.replace(ve.rangeStatement[0],ve.rangeStatement[1]-1,S)}}};S.exports=HarmonyExportExpressionDependency},48752:(S,E,k)=>{"use strict";const w=k(56202);const N=k(12197);class HarmonyExportHeaderDependency extends N{constructor(S,E){super();this.range=S;this.rangeStatement=E}get type(){return"harmony export header"}serialize(S){const{write:E}=S;E(this.range);E(this.rangeStatement);super.serialize(S)}deserialize(S){const{read:E}=S;this.range=E();this.rangeStatement=E();super.deserialize(S)}}w(HarmonyExportHeaderDependency,"webpack/lib/dependencies/HarmonyExportHeaderDependency");HarmonyExportHeaderDependency.Template=class HarmonyExportDependencyTemplate extends N.Template{apply(S,E,k){const w=S;const N="";const j=w.range?w.range[0]-1:w.rangeStatement[1]-1;E.replace(w.rangeStatement[0],j,N)}};S.exports=HarmonyExportHeaderDependency},44576:(S,E,k)=>{"use strict";const w=k(28706);const{UsageState:N}=k(76632);const j=k(36756);const q=k(63272);const ee=k(76150);const te=k(58159);const{countIterable:ne}=k(11539);const{first:ae,combine:_e}=k(26221);const ve=k(56202);const Ee=k(68038);const Te=k(82296);const Ce=k(37359);const we=k(18971);const Ne=Symbol("HarmonyExportImportedSpecifierDependency.ids");class NormalReexportItem{constructor(S,E,k,w,N){this.name=S;this.ids=E;this.exportInfo=k;this.checked=w;this.hidden=N}}class ExportMode{constructor(S){this.type=S;this.items=null;this.name=null;this.partialNamespaceExportInfo=null;this.ignored=null;this.hidden=null;this.userRequest=null;this.fakeType=0}}const determineExportAssignments=(S,E,k)=>{const w=new Set;const N=[];if(k){E=E.concat(k)}for(const k of E){const E=N.length;N[E]=w.size;const j=S.getModule(k);if(j){const k=S.getExportsInfo(j);for(const S of k.exports){if(S.provided===true&&S.name!=="default"&&!w.has(S.name)){w.add(S.name);N[E]=w.size}}}}N.push(w.size);return{names:Array.from(w),dependencyIndices:N}};const findDependencyForName=({names:S,dependencyIndices:E},k,w)=>{const N=w[Symbol.iterator]();const j=E[Symbol.iterator]();let q=N.next();let ee=j.next();if(ee.done)return;for(let E=0;E=ee.value){q=N.next();ee=j.next();if(ee.done)return}if(S[E]===k)return q.value}return undefined};class HarmonyExportImportedSpecifierDependency extends Ce{constructor(S,E,k,w,N,j,q,ee){super(S,E);this.ids=k;this.name=w;this.activeExports=N;this.otherStarExports=j;this.strictExportPresence=q;this.allStarExports=ee;this._getMode=this._getMode.bind(this)}get id(){throw new Error("id was renamed to ids and type changed to string[]")}getId(){throw new Error("id was renamed to ids and type changed to string[]")}setId(){throw new Error("id was renamed to ids and type changed to string[]")}get type(){return"harmony export imported specifier"}getIds(S){return S.getMeta(this)[Ne]||this.ids}setIds(S,E){S.getMeta(this)[Ne]=E}getMode(S,E){return S.cached(this._getMode,E)}_getMode(S,E){const k=this.name;const w=this.getIds(S);const j=S.getParentModule(this);const q=S.getModule(this);const ee=S.getExportsInfo(j);if(!q){const S=new ExportMode("missing");S.userRequest=this.userRequest;return S}if(k?ee.getUsed(k,E)===N.Unused:ee.isUsed(E)===false){const S=new ExportMode("unused");S.name=k||"*";return S}const te=q.getExportsType(S,j.buildMeta.strictHarmonyModule);if(k&&w.length>0&&w[0]==="default"){switch(te){case"dynamic":{const S=new ExportMode("reexport-dynamic-default");S.name=k;return S}case"default-only":case"default-with-named":{const S=ee.getReadOnlyExportInfo(k);const E=new ExportMode("reexport-named-default");E.name=k;E.partialNamespaceExportInfo=S;return E}}}if(k){let S;const E=ee.getReadOnlyExportInfo(k);if(w.length>0){switch(te){case"default-only":S=new ExportMode("reexport-undefined");S.name=k;break;default:S=new ExportMode("normal-reexport");S.items=[new NormalReexportItem(k,w,E,false,false)];break}}else{switch(te){case"default-only":S=new ExportMode("reexport-fake-namespace-object");S.name=k;S.partialNamespaceExportInfo=E;S.fakeType=0;break;case"default-with-named":S=new ExportMode("reexport-fake-namespace-object");S.name=k;S.partialNamespaceExportInfo=E;S.fakeType=2;break;case"dynamic":default:S=new ExportMode("reexport-namespace-object");S.name=k;S.partialNamespaceExportInfo=E}}return S}const{ignoredExports:ne,exports:ae,checked:_e,hidden:ve}=this.getStarReexports(S,E,ee,q);if(!ae){const S=new ExportMode("dynamic-reexport");S.ignored=ne;S.hidden=ve;return S}if(ae.size===0){const S=new ExportMode("empty-star");S.hidden=ve;return S}const Ee=new ExportMode("normal-reexport");Ee.items=Array.from(ae,(S=>new NormalReexportItem(S,[S],ee.getReadOnlyExportInfo(S),_e.has(S),false)));if(ve!==undefined){for(const S of ve){Ee.items.push(new NormalReexportItem(S,[S],ee.getReadOnlyExportInfo(S),false,true))}}return Ee}getStarReexports(S,E,k=S.getExportsInfo(S.getParentModule(this)),w=S.getModule(this)){const j=S.getExportsInfo(w);const q=j.otherExportsInfo.provided===false;const ee=k.otherExportsInfo.getUsed(E)===N.Unused;const te=new Set(["default",...this.activeExports]);let ne=undefined;const ae=this._discoverActiveExportsFromOtherStarExports(S);if(ae!==undefined){ne=new Set;for(let S=0;S{const w=this.getMode(S,k);return w.type!=="unused"&&w.type!=="empty-star"}}getModuleEvaluationSideEffectsState(S){return false}getReferencedExports(S,E){const k=this.getMode(S,E);switch(k.type){case"missing":case"unused":case"empty-star":case"reexport-undefined":return w.NO_EXPORTS_REFERENCED;case"reexport-dynamic-default":return w.EXPORTS_OBJECT_REFERENCED;case"reexport-named-default":{if(!k.partialNamespaceExportInfo)return w.EXPORTS_OBJECT_REFERENCED;const S=[];we(E,S,[],k.partialNamespaceExportInfo);return S}case"reexport-namespace-object":case"reexport-fake-namespace-object":{if(!k.partialNamespaceExportInfo)return w.EXPORTS_OBJECT_REFERENCED;const S=[];we(E,S,[],k.partialNamespaceExportInfo,k.type==="reexport-fake-namespace-object");return S}case"dynamic-reexport":return w.EXPORTS_OBJECT_REFERENCED;case"normal-reexport":{const S=[];for(const{ids:w,exportInfo:N,hidden:j}of k.items){if(j)continue;we(E,S,w,N,false)}return S}default:throw new Error(`Unknown mode ${k.type}`)}}_discoverActiveExportsFromOtherStarExports(S){if(!this.otherStarExports)return undefined;const E="length"in this.otherStarExports?this.otherStarExports.length:ne(this.otherStarExports);if(E===0)return undefined;if(this.allStarExports){const{names:k,dependencyIndices:w}=S.cached(determineExportAssignments,this.allStarExports.dependencies);return{names:k,namesSlice:w[E-1],dependencyIndices:w,dependencyIndex:E}}const{names:k,dependencyIndices:w}=S.cached(determineExportAssignments,this.otherStarExports,this);return{names:k,namesSlice:w[E-1],dependencyIndices:w,dependencyIndex:E}}getExports(S){const E=this.getMode(S,undefined);switch(E.type){case"missing":return undefined;case"dynamic-reexport":{const k=S.getConnection(this);return{exports:true,from:k,canMangle:false,excludeExports:E.hidden?_e(E.ignored,E.hidden):E.ignored,hideExports:E.hidden,dependencies:[k.module]}}case"empty-star":return{exports:[],hideExports:E.hidden,dependencies:[S.getModule(this)]};case"normal-reexport":{const k=S.getConnection(this);return{exports:Array.from(E.items,(S=>({name:S.name,from:k,export:S.ids,hidden:S.hidden}))),priority:1,dependencies:[k.module]}}case"reexport-dynamic-default":{{const k=S.getConnection(this);return{exports:[{name:E.name,from:k,export:["default"]}],priority:1,dependencies:[k.module]}}}case"reexport-undefined":return{exports:[E.name],dependencies:[S.getModule(this)]};case"reexport-fake-namespace-object":{const k=S.getConnection(this);return{exports:[{name:E.name,from:k,export:null,exports:[{name:"default",canMangle:false,from:k,export:null}]}],priority:1,dependencies:[k.module]}}case"reexport-namespace-object":{const k=S.getConnection(this);return{exports:[{name:E.name,from:k,export:null}],priority:1,dependencies:[k.module]}}case"reexport-named-default":{const k=S.getConnection(this);return{exports:[{name:E.name,from:k,export:["default"]}],priority:1,dependencies:[k.module]}}default:throw new Error(`Unknown mode ${E.type}`)}}getWarnings(S){if(this.strictExportPresence||S.getParentModule(this).buildMeta.strictHarmonyModule){return null}return this._getErrors(S)}getErrors(S){if(this.strictExportPresence||S.getParentModule(this).buildMeta.strictHarmonyModule){return this._getErrors(S)}return null}_getErrors(S){const E=this.getIds(S);let k=this.getLinkingErrors(S,E,`(reexported as '${this.name}')`);if(E.length===0&&this.name===null){const E=this._discoverActiveExportsFromOtherStarExports(S);if(E&&E.namesSlice>0){const w=new Set(E.names.slice(E.namesSlice,E.dependencyIndices[E.dependencyIndex]));const N=S.getModule(this);if(N){const q=S.getExportsInfo(N);const ee=new Map;for(const k of q.orderedExports){if(k.provided!==true)continue;if(k.name==="default")continue;if(this.activeExports.has(k.name))continue;if(w.has(k.name))continue;const j=findDependencyForName(E,k.name,this.allStarExports?this.allStarExports.dependencies:[...this.otherStarExports,this]);if(!j)continue;const q=k.getTerminalBinding(S);if(!q)continue;const te=S.getModule(j);if(te===N)continue;const ne=S.getExportInfo(te,k.name);const ae=ne.getTerminalBinding(S);if(!ae)continue;if(q===ae)continue;const _e=ee.get(j.request);if(_e===undefined){ee.set(j.request,[k.name])}else{_e.push(k.name)}}for(const[S,E]of ee){if(!k)k=[];k.push(new j(`The requested module '${this.request}' contains conflicting star exports for the ${E.length>1?"names":"name"} ${E.map((S=>`'${S}'`)).join(", ")} with the previous requested module '${S}'`))}}}}return k}serialize(S){const{write:E,setCircularReference:k}=S;k(this);E(this.ids);E(this.name);E(this.activeExports);E(this.otherStarExports);E(this.strictExportPresence);E(this.allStarExports);super.serialize(S)}deserialize(S){const{read:E,setCircularReference:k}=S;k(this);this.ids=E();this.name=E();this.activeExports=E();this.otherStarExports=E();this.strictExportPresence=E();this.allStarExports=E();super.deserialize(S)}}ve(HarmonyExportImportedSpecifierDependency,"webpack/lib/dependencies/HarmonyExportImportedSpecifierDependency");S.exports=HarmonyExportImportedSpecifierDependency;HarmonyExportImportedSpecifierDependency.Template=class HarmonyExportImportedSpecifierDependencyTemplate extends Ce.Template{apply(S,E,k){const{moduleGraph:w,runtime:N,concatenationScope:j}=k;const q=S;const ee=q.getMode(w,N);if(j){switch(ee.type){case"reexport-undefined":j.registerRawExport(ee.name,"/* reexport non-default export from non-harmony */ undefined")}return}if(ee.type!=="unused"&&ee.type!=="empty-star"){super.apply(S,E,k);this._addExportFragments(k.initFragments,q,ee,k.module,w,N,k.runtimeTemplate,k.runtimeRequirements)}}_addExportFragments(S,E,k,w,N,j,ne,ve){const Ee=N.getModule(E);const Te=E.getImportVar(N);switch(k.type){case"missing":case"empty-star":S.push(new q("/* empty/unused harmony star reexport */\n",q.STAGE_HARMONY_EXPORTS,1));break;case"unused":S.push(new q(`${te.toNormalComment(`unused harmony reexport ${k.name}`)}\n`,q.STAGE_HARMONY_EXPORTS,1));break;case"reexport-dynamic-default":S.push(this.getReexportFragment(w,"reexport default from dynamic",N.getExportsInfo(w).getUsedName(k.name,j),Te,null,ve));break;case"reexport-fake-namespace-object":S.push(...this.getReexportFakeNamespaceObjectFragments(w,N.getExportsInfo(w).getUsedName(k.name,j),Te,k.fakeType,ve));break;case"reexport-undefined":S.push(this.getReexportFragment(w,"reexport non-default export from non-harmony",N.getExportsInfo(w).getUsedName(k.name,j),"undefined","",ve));break;case"reexport-named-default":S.push(this.getReexportFragment(w,"reexport default export from named module",N.getExportsInfo(w).getUsedName(k.name,j),Te,"",ve));break;case"reexport-namespace-object":S.push(this.getReexportFragment(w,"reexport module object",N.getExportsInfo(w).getUsedName(k.name,j),Te,"",ve));break;case"normal-reexport":for(const{name:ee,ids:te,checked:ne,hidden:ae}of k.items){if(ae)continue;if(ne){S.push(new q("/* harmony reexport (checked) */ "+this.getConditionalReexportStatement(w,ee,Te,te,ve),q.STAGE_HARMONY_IMPORTS,E.sourceOrder))}else{S.push(this.getReexportFragment(w,"reexport safe",N.getExportsInfo(w).getUsedName(ee,j),Te,N.getExportsInfo(Ee).getUsedName(te,j),ve))}}break;case"dynamic-reexport":{const N=k.hidden?_e(k.ignored,k.hidden):k.ignored;const j=ne.supportsConst()&&ne.supportsArrowFunction();let te="/* harmony reexport (unknown) */ var __WEBPACK_REEXPORT_OBJECT__ = {};\n"+`/* harmony reexport (unknown) */ for(${j?"const":"var"} __WEBPACK_IMPORT_KEY__ in ${Te}) `;if(N.size>1){te+="if("+JSON.stringify(Array.from(N))+".indexOf(__WEBPACK_IMPORT_KEY__) < 0) "}else if(N.size===1){te+=`if(__WEBPACK_IMPORT_KEY__ !== ${JSON.stringify(ae(N))}) `}te+=`__WEBPACK_REEXPORT_OBJECT__[__WEBPACK_IMPORT_KEY__] = `;if(j){te+=`() => ${Te}[__WEBPACK_IMPORT_KEY__]`}else{te+=`function(key) { return ${Te}[key]; }.bind(0, __WEBPACK_IMPORT_KEY__)`}ve.add(ee.exports);ve.add(ee.definePropertyGetters);const Ee=w.exportsArgument;S.push(new q(`${te}\n/* harmony reexport (unknown) */ ${ee.definePropertyGetters}(${Ee}, __WEBPACK_REEXPORT_OBJECT__);\n`,q.STAGE_HARMONY_IMPORTS,E.sourceOrder));break}default:throw new Error(`Unknown mode ${k.type}`)}}getReexportFragment(S,E,k,w,N,j){const q=this.getReturnValue(w,N);j.add(ee.exports);j.add(ee.definePropertyGetters);const te=new Map;te.set(k,`/* ${E} */ ${q}`);return new Te(S.exportsArgument,te)}getReexportFakeNamespaceObjectFragments(S,E,k,w,N){N.add(ee.exports);N.add(ee.definePropertyGetters);N.add(ee.createFakeNamespaceObject);const j=new Map;j.set(E,`/* reexport fake namespace object from non-harmony */ ${k}_namespace_cache || (${k}_namespace_cache = ${ee.createFakeNamespaceObject}(${k}${w?`, ${w}`:""}))`);return[new q(`var ${k}_namespace_cache;\n`,q.STAGE_CONSTANTS,-1,`${k}_namespace_cache`),new Te(S.exportsArgument,j)]}getConditionalReexportStatement(S,E,k,w,N){if(w===false){return"/* unused export */\n"}const j=S.exportsArgument;const q=this.getReturnValue(k,w);N.add(ee.exports);N.add(ee.definePropertyGetters);N.add(ee.hasOwnProperty);return`if(${ee.hasOwnProperty}(${k}, ${JSON.stringify(w[0])})) ${ee.definePropertyGetters}(${j}, { ${JSON.stringify(E)}: function() { return ${q}; } });\n`}getReturnValue(S,E){if(E===null){return`${S}_default.a`}if(E===""){return S}if(E===false){return"/* unused export */ undefined"}return`${S}${Ee(E)}`}};class HarmonyStarExportsList{constructor(){this.dependencies=[]}push(S){this.dependencies.push(S)}slice(){return this.dependencies.slice()}serialize({write:S,setCircularReference:E}){E(this);S(this.dependencies)}deserialize({read:S,setCircularReference:E}){E(this);this.dependencies=S()}}ve(HarmonyStarExportsList,"webpack/lib/dependencies/HarmonyExportImportedSpecifierDependency","HarmonyStarExportsList");S.exports.HarmonyStarExportsList=HarmonyStarExportsList},82296:(S,E,k)=>{"use strict";const w=k(63272);const N=k(76150);const{first:j}=k(26221);const joinIterableWithComma=S=>{let E="";let k=true;for(const w of S){if(k){k=false}else{E+=", "}E+=w}return E};const q=new Map;const ee=new Set;class HarmonyExportInitFragment extends w{constructor(S,E=q,k=ee){super(undefined,w.STAGE_HARMONY_EXPORTS,1,"harmony-exports");this.exportsArgument=S;this.exportMap=E;this.unusedExports=k}mergeAll(S){let E;let k=false;let w;let N=false;for(const j of S){if(j.exportMap.size!==0){if(E===undefined){E=j.exportMap;k=false}else{if(!k){E=new Map(E);k=true}for(const[S,k]of j.exportMap){if(!E.has(S))E.set(S,k)}}}if(j.unusedExports.size!==0){if(w===undefined){w=j.unusedExports;N=false}else{if(!N){w=new Set(w);N=true}for(const S of j.unusedExports){w.add(S)}}}}return new HarmonyExportInitFragment(this.exportsArgument,E,w)}merge(S){let E;if(this.exportMap.size===0){E=S.exportMap}else if(S.exportMap.size===0){E=this.exportMap}else{E=new Map(S.exportMap);for(const[S,k]of this.exportMap){if(!E.has(S))E.set(S,k)}}let k;if(this.unusedExports.size===0){k=S.unusedExports}else if(S.unusedExports.size===0){k=this.unusedExports}else{k=new Set(S.unusedExports);for(const S of this.unusedExports){k.add(S)}}return new HarmonyExportInitFragment(this.exportsArgument,E,k)}getContent({runtimeTemplate:S,runtimeRequirements:E}){E.add(N.exports);E.add(N.definePropertyGetters);const k=this.unusedExports.size>1?`/* unused harmony exports ${joinIterableWithComma(this.unusedExports)} */\n`:this.unusedExports.size>0?`/* unused harmony export ${j(this.unusedExports)} */\n`:"";const w=[];for(const[E,k]of this.exportMap){w.push(`\n/* harmony export */ ${JSON.stringify(E)}: ${S.returningFunction(k)}`)}const q=this.exportMap.size>0?`/* harmony export */ ${N.definePropertyGetters}(${this.exportsArgument}, {${w.join(",")}\n/* harmony export */ });\n`:"";return`${q}${k}`}}S.exports=HarmonyExportInitFragment},14696:(S,E,k)=>{"use strict";const w=k(56202);const N=k(82296);const j=k(12197);class HarmonyExportSpecifierDependency extends j{constructor(S,E){super();this.id=S;this.name=E}get type(){return"harmony export specifier"}getExports(S){return{exports:[this.name],priority:1,terminalBinding:true,dependencies:undefined}}getModuleEvaluationSideEffectsState(S){return false}serialize(S){const{write:E}=S;E(this.id);E(this.name);super.serialize(S)}deserialize(S){const{read:E}=S;this.id=E();this.name=E();super.deserialize(S)}}w(HarmonyExportSpecifierDependency,"webpack/lib/dependencies/HarmonyExportSpecifierDependency");HarmonyExportSpecifierDependency.Template=class HarmonyExportSpecifierDependencyTemplate extends j.Template{apply(S,E,{module:k,moduleGraph:w,initFragments:j,runtime:q,concatenationScope:ee}){const te=S;if(ee){ee.registerExport(te.name,te.id);return}const ne=w.getExportsInfo(k).getUsedName(te.name,q);if(!ne){const S=new Set;S.add(te.name||"namespace");j.push(new N(k.exportsArgument,undefined,S));return}const ae=new Map;ae.set(ne,`/* binding */ ${te.id}`);j.push(new N(k.exportsArgument,ae,undefined))}};S.exports=HarmonyExportSpecifierDependency},25702:(S,E)=>{"use strict";const k=new WeakMap;E.enable=(S,E)=>{const w=k.get(S);if(w===false)return;k.set(S,true);if(w!==true){S.module.buildMeta.exportsType="namespace";S.module.buildInfo.strict=true;S.module.buildInfo.exportsArgument="__webpack_exports__";if(E){S.module.buildMeta.strictHarmonyModule=true;S.module.buildInfo.moduleArgument="__webpack_module__"}}};E.isEnabled=S=>{const E=k.get(S);return E===true}},37359:(S,E,k)=>{"use strict";const w=k(11518);const N=k(28706);const j=k(36756);const q=k(63272);const ee=k(58159);const te=k(10813);const{filterRuntime:ne,mergeRuntime:ae}=k(37416);const _e=k(79983);class HarmonyImportDependency extends _e{constructor(S,E){super(S);this.sourceOrder=E}get category(){return"esm"}getReferencedExports(S,E){return N.NO_EXPORTS_REFERENCED}getImportVar(S){const E=S.getParentModule(this);const k=S.getMeta(E);let w=k.importVarMap;if(!w)k.importVarMap=w=new Map;let N=w.get(S.getModule(this));if(N)return N;N=`${ee.toIdentifier(`${this.userRequest}`)}__WEBPACK_IMPORTED_MODULE_${w.size}__`;w.set(S.getModule(this),N);return N}getImportStatement(S,{runtimeTemplate:E,module:k,moduleGraph:w,chunkGraph:N,runtimeRequirements:j}){return E.importStatement({update:S,module:w.getModule(this),chunkGraph:N,importVar:this.getImportVar(w),request:this.request,originModule:k,runtimeRequirements:j})}getLinkingErrors(S,E,k){const w=S.getModule(this);if(!w||w.getNumberOfErrors()>0){return}const N=S.getParentModule(this);const q=w.getExportsType(S,N.buildMeta.strictHarmonyModule);if(q==="namespace"||q==="default-with-named"){if(E.length===0){return}if((q!=="default-with-named"||E[0]!=="default")&&S.isExportProvided(w,E)===false){let N=0;let q=S.getExportsInfo(w);while(N`'${S}'`)).join(".")} ${k} was not found in '${this.userRequest}'${w}`)]}q=w.getNestedExportsInfo()}return[new j(`export ${E.map((S=>`'${S}'`)).join(".")} ${k} was not found in '${this.userRequest}'`)]}}switch(q){case"default-only":if(E.length>0&&E[0]!=="default"){return[new j(`Can't import the named export ${E.map((S=>`'${S}'`)).join(".")} ${k} from default-exporting module (only default export is available)`)]}break;case"default-with-named":if(E.length>0&&E[0]!=="default"&&w.buildMeta.defaultObject==="redirect-warn"){return[new j(`Should not import the named export ${E.map((S=>`'${S}'`)).join(".")} ${k} from default-exporting module (only default export is available soon)`)]}break}}serialize(S){const{write:E}=S;E(this.sourceOrder);super.serialize(S)}deserialize(S){const{read:E}=S;this.sourceOrder=E();super.deserialize(S)}}S.exports=HarmonyImportDependency;const ve=new WeakMap;HarmonyImportDependency.Template=class HarmonyImportDependencyTemplate extends _e.Template{apply(S,E,k){const N=S;const{module:j,chunkGraph:ee,moduleGraph:_e,runtime:Ee}=k;const Te=_e.getConnection(N);if(Te&&!Te.isTargetActive(Ee))return;const Ce=Te&&Te.module;if(Te&&Te.weak&&Ce&&ee.getModuleId(Ce)===null){return}const we=Ce?Ce.identifier():N.request;const Ne=`harmony import ${we}`;const Ie=N.weak?false:Te?ne(Ee,(S=>Te.isTargetActive(S))):true;if(j&&Ce){let S=ve.get(j);if(S===undefined){S=new WeakMap;ve.set(j,S)}let E=Ie;const k=S.get(Ce)||false;if(k!==false&&E!==true){if(E===false||k===true){E=k}else{E=ae(k,E)}}S.set(Ce,E)}const Fe=N.getImportStatement(false,k);if(k.moduleGraph.isAsync(Ce)){k.initFragments.push(new w(Fe[0],q.STAGE_HARMONY_IMPORTS,N.sourceOrder,Ne,Ie));k.initFragments.push(new te(new Set([N.getImportVar(k.moduleGraph)])));k.initFragments.push(new w(Fe[1],q.STAGE_ASYNC_HARMONY_IMPORTS,N.sourceOrder,Ne+" compat",Ie))}else{k.initFragments.push(new w(Fe[0]+Fe[1],q.STAGE_HARMONY_IMPORTS,N.sourceOrder,Ne,Ie))}}static getImportEmittedRuntime(S,E){const k=ve.get(S);if(k===undefined)return false;return k.get(E)||false}}},29381:(S,E,k)=>{"use strict";const w=k(79972);const N=k(58018);const j=k(66298);const q=k(27790);const ee=k(80654);const te=k(25702);const ne=k(69707);const ae=k(2230);const _e=Symbol("harmony import");S.exports=class HarmonyImportDependencyParserPlugin{constructor(S){this.strictExportPresence=S.strictExportPresence;this.strictThisContextOnImports=S.strictThisContextOnImports}apply(S){S.hooks.isPure.for("Identifier").tap("HarmonyImportDependencyParserPlugin",(E=>{const k=E;if(S.isVariableDefined(k.name)||S.getTagData(k.name,_e)){return true}}));S.hooks.import.tap("HarmonyImportDependencyParserPlugin",((E,k)=>{S.state.lastHarmonyImportOrder=(S.state.lastHarmonyImportOrder||0)+1;const w=new j(S.isAsiPosition(E.range[0])?";":"",E.range);w.loc=E.loc;S.state.module.addPresentationalDependency(w);S.unsetAsiPosition(E.range[1]);const N=new ne(k,S.state.lastHarmonyImportOrder);N.loc=E.loc;S.state.module.addDependency(N);return true}));S.hooks.importSpecifier.tap("HarmonyImportDependencyParserPlugin",((E,k,w,N)=>{const j=w===null?[]:[w];S.tagVariable(N,_e,{name:N,source:k,ids:j,sourceOrder:S.state.lastHarmonyImportOrder});return true}));S.hooks.expression.for(_e).tap("HarmonyImportDependencyParserPlugin",(E=>{const k=S.currentTagData;const w=new ae(k.source,k.sourceOrder,k.ids,k.name,E.range,this.strictExportPresence);w.shorthand=S.scope.inShorthand;w.directImport=true;w.asiSafe=!S.isAsiPosition(E.range[0]);w.loc=E.loc;S.state.module.addDependency(w);N.onUsage(S.state,(S=>w.usedByExports=S));return true}));S.hooks.expressionMemberChain.for(_e).tap("HarmonyImportDependencyParserPlugin",((E,k)=>{const w=S.currentTagData;const j=w.ids.concat(k);const q=new ae(w.source,w.sourceOrder,j,w.name,E.range,this.strictExportPresence);q.asiSafe=!S.isAsiPosition(E.range[0]);q.loc=E.loc;S.state.module.addDependency(q);N.onUsage(S.state,(S=>q.usedByExports=S));return true}));S.hooks.callMemberChain.for(_e).tap("HarmonyImportDependencyParserPlugin",((E,k)=>{const{arguments:w,callee:j}=E;const q=S.currentTagData;const ee=q.ids.concat(k);const te=new ae(q.source,q.sourceOrder,ee,q.name,j.range,this.strictExportPresence);te.directImport=k.length===0;te.call=true;te.asiSafe=!S.isAsiPosition(j.range[0]);te.namespaceObjectAsContext=k.length>0&&this.strictThisContextOnImports;te.loc=j.loc;S.state.module.addDependency(te);if(w)S.walkExpressions(w);N.onUsage(S.state,(S=>te.usedByExports=S));return true}));const{hotAcceptCallback:E,hotAcceptWithoutCallback:k}=w.getParserHooks(S);E.tap("HarmonyImportDependencyParserPlugin",((E,k)=>{if(!te.isEnabled(S.state)){return}const w=k.map((k=>{const w=new ee(k);w.loc=E.loc;S.state.module.addDependency(w);return w}));if(w.length>0){const k=new q(E.range,w,true);k.loc=E.loc;S.state.module.addDependency(k)}}));k.tap("HarmonyImportDependencyParserPlugin",((E,k)=>{if(!te.isEnabled(S.state)){return}const w=k.map((k=>{const w=new ee(k);w.loc=E.loc;S.state.module.addDependency(w);return w}));if(w.length>0){const k=new q(E.range,w,false);k.loc=E.loc;S.state.module.addDependency(k)}}))}};S.exports.harmonySpecifierTag=_e},69707:(S,E,k)=>{"use strict";const w=k(56202);const N=k(37359);class HarmonyImportSideEffectDependency extends N{constructor(S,E){super(S,E)}get type(){return"harmony side effect evaluation"}getCondition(S){return E=>{const k=E.resolvedModule;if(!k)return true;return k.getSideEffectsConnectionState(S)}}getModuleEvaluationSideEffectsState(S){const E=S.getModule(this);if(!E)return true;return E.getSideEffectsConnectionState(S)}}w(HarmonyImportSideEffectDependency,"webpack/lib/dependencies/HarmonyImportSideEffectDependency");HarmonyImportSideEffectDependency.Template=class HarmonyImportSideEffectDependencyTemplate extends N.Template{apply(S,E,k){const{moduleGraph:w,concatenationScope:N}=k;if(N){const E=w.getModule(S);if(N.isModuleInScope(E)){return}}super.apply(S,E,k)}};S.exports=HarmonyImportSideEffectDependency},2230:(S,E,k)=>{"use strict";const w=k(28706);const{getDependencyUsedByExportsCondition:N}=k(58018);const j=k(56202);const q=k(68038);const ee=k(37359);const te=Symbol("HarmonyImportSpecifierDependency.ids");class HarmonyImportSpecifierDependency extends ee{constructor(S,E,k,w,N,j){super(S,E);this.ids=k;this.name=w;this.range=N;this.strictExportPresence=j;this.namespaceObjectAsContext=false;this.call=undefined;this.directImport=undefined;this.shorthand=undefined;this.asiSafe=undefined;this.usedByExports=undefined}get id(){throw new Error("id was renamed to ids and type changed to string[]")}getId(){throw new Error("id was renamed to ids and type changed to string[]")}setId(){throw new Error("id was renamed to ids and type changed to string[]")}get type(){return"harmony import specifier"}getIds(S){const E=S.getMetaIfExisting(this);if(E===undefined)return this.ids;const k=E[te];return k!==undefined?k:this.ids}setIds(S,E){S.getMeta(this)[te]=E}getCondition(S){return N(this,this.usedByExports,S)}getModuleEvaluationSideEffectsState(S){return false}getReferencedExports(S,E){let k=this.getIds(S);if(k.length===0)return w.EXPORTS_OBJECT_REFERENCED;let N=this.namespaceObjectAsContext;if(k[0]==="default"){const E=S.getParentModule(this);const j=S.getModule(this);switch(j.getExportsType(S,E.buildMeta.strictHarmonyModule)){case"default-only":case"default-with-named":if(k.length===1)return w.EXPORTS_OBJECT_REFERENCED;k=k.slice(1);N=true;break;case"dynamic":return w.EXPORTS_OBJECT_REFERENCED}}if(this.call&&!this.directImport&&(N||k.length>1)){if(k.length===1)return w.EXPORTS_OBJECT_REFERENCED;k=k.slice(0,-1)}return[k]}getWarnings(S){if(this.strictExportPresence||S.getParentModule(this).buildMeta.strictHarmonyModule){return null}return this._getErrors(S)}getErrors(S){if(this.strictExportPresence||S.getParentModule(this).buildMeta.strictHarmonyModule){return this._getErrors(S)}return null}_getErrors(S){const E=this.getIds(S);return this.getLinkingErrors(S,E,`(imported as '${this.name}')`)}getNumberOfIdOccurrences(){return 0}serialize(S){const{write:E}=S;E(this.ids);E(this.name);E(this.range);E(this.strictExportPresence);E(this.namespaceObjectAsContext);E(this.call);E(this.directImport);E(this.shorthand);E(this.asiSafe);E(this.usedByExports);super.serialize(S)}deserialize(S){const{read:E}=S;this.ids=E();this.name=E();this.range=E();this.strictExportPresence=E();this.namespaceObjectAsContext=E();this.call=E();this.directImport=E();this.shorthand=E();this.asiSafe=E();this.usedByExports=E();super.deserialize(S)}}j(HarmonyImportSpecifierDependency,"webpack/lib/dependencies/HarmonyImportSpecifierDependency");HarmonyImportSpecifierDependency.Template=class HarmonyImportSpecifierDependencyTemplate extends ee.Template{apply(S,E,k){const w=S;const{moduleGraph:N,module:j,runtime:ee,concatenationScope:te}=k;const ne=N.getConnection(w);if(ne&&!ne.isTargetActive(ee))return;const ae=w.getIds(N);let _e;if(ne&&te&&te.isModuleInScope(ne.module)){if(ae.length===0){_e=te.createModuleReference(ne.module,{asiSafe:w.asiSafe})}else if(w.namespaceObjectAsContext&&ae.length===1){_e=te.createModuleReference(ne.module,{asiSafe:w.asiSafe})+q(ae)}else{_e=te.createModuleReference(ne.module,{ids:ae,call:w.call,directImport:w.directImport,asiSafe:w.asiSafe})}}else{super.apply(S,E,k);const{runtimeTemplate:q,initFragments:te,runtimeRequirements:ne}=k;_e=q.exportFromImport({moduleGraph:N,module:N.getModule(w),request:w.request,exportName:ae,originModule:j,asiSafe:w.shorthand?true:w.asiSafe,isCall:w.call,callContext:!w.directImport,defaultInterop:true,importVar:w.getImportVar(N),initFragments:te,runtime:ee,runtimeRequirements:ne})}if(w.shorthand){E.insert(w.range[1],`: ${_e}`)}else{E.replace(w.range[0],w.range[1]-1,_e)}}};S.exports=HarmonyImportSpecifierDependency},26165:(S,E,k)=>{"use strict";const w=k(27790);const N=k(80654);const j=k(54290);const q=k(55037);const ee=k(48752);const te=k(44576);const ne=k(14696);const ae=k(69707);const _e=k(2230);const ve=k(11720);const Ee=k(16081);const Te=k(29381);const Ce=k(13197);class HarmonyModulesPlugin{constructor(S){this.options=S}apply(S){S.hooks.compilation.tap("HarmonyModulesPlugin",((S,{normalModuleFactory:E})=>{S.dependencyTemplates.set(j,new j.Template);S.dependencyFactories.set(ae,E);S.dependencyTemplates.set(ae,new ae.Template);S.dependencyFactories.set(_e,E);S.dependencyTemplates.set(_e,new _e.Template);S.dependencyTemplates.set(ee,new ee.Template);S.dependencyTemplates.set(q,new q.Template);S.dependencyTemplates.set(ne,new ne.Template);S.dependencyFactories.set(te,E);S.dependencyTemplates.set(te,new te.Template);S.dependencyTemplates.set(w,new w.Template);S.dependencyFactories.set(N,E);S.dependencyTemplates.set(N,new N.Template);const handler=(S,E)=>{if(E.harmony!==undefined&&!E.harmony)return;new ve(this.options).apply(S);new Te(E).apply(S);new Ee(E).apply(S);(new Ce).apply(S)};E.hooks.parser.for("javascript/auto").tap("HarmonyModulesPlugin",handler);E.hooks.parser.for("javascript/esm").tap("HarmonyModulesPlugin",handler)}))}}S.exports=HarmonyModulesPlugin},13197:(S,E,k)=>{"use strict";const w=k(66298);const N=k(25702);class HarmonyTopLevelThisParserPlugin{apply(S){S.hooks.expression.for("this").tap("HarmonyTopLevelThisParserPlugin",(E=>{if(!S.scope.topLevelScope)return;if(N.isEnabled(S.state)){const k=new w("undefined",E.range,null);k.loc=E.loc;S.state.module.addPresentationalDependency(k);return this}}))}}S.exports=HarmonyTopLevelThisParserPlugin},4828:(S,E,k)=>{"use strict";const w=k(56202);const N=k(400);const j=k(42740);class ImportContextDependency extends N{constructor(S,E,k){super(S);this.range=E;this.valueRange=k}get type(){return`import() context ${this.options.mode}`}get category(){return"esm"}serialize(S){const{write:E}=S;E(this.range);E(this.valueRange);super.serialize(S)}deserialize(S){const{read:E}=S;this.range=E();this.valueRange=E();super.deserialize(S)}}w(ImportContextDependency,"webpack/lib/dependencies/ImportContextDependency");ImportContextDependency.Template=j;S.exports=ImportContextDependency},20013:(S,E,k)=>{"use strict";const w=k(28706);const N=k(56202);const j=k(79983);class ImportDependency extends j{constructor(S,E,k){super(S);this.range=E;this.referencedExports=k}get type(){return"import()"}get category(){return"esm"}getReferencedExports(S,E){return this.referencedExports?this.referencedExports.map((S=>({name:S,canMangle:false}))):w.EXPORTS_OBJECT_REFERENCED}serialize(S){S.write(this.range);S.write(this.referencedExports);super.serialize(S)}deserialize(S){this.range=S.read();this.referencedExports=S.read();super.deserialize(S)}}N(ImportDependency,"webpack/lib/dependencies/ImportDependency");ImportDependency.Template=class ImportDependencyTemplate extends j.Template{apply(S,E,{runtimeTemplate:k,module:w,moduleGraph:N,chunkGraph:j,runtimeRequirements:q}){const ee=S;const te=N.getParentBlock(ee);const ne=k.moduleNamespacePromise({chunkGraph:j,block:te,module:N.getModule(ee),request:ee.request,strict:w.buildMeta.strictHarmonyModule,message:"import()",runtimeRequirements:q});E.replace(ee.range[0],ee.range[1]-1,ne)}};S.exports=ImportDependency},75708:(S,E,k)=>{"use strict";const w=k(56202);const N=k(20013);class ImportEagerDependency extends N{constructor(S,E,k){super(S,E,k)}get type(){return"import() eager"}get category(){return"esm"}}w(ImportEagerDependency,"webpack/lib/dependencies/ImportEagerDependency");ImportEagerDependency.Template=class ImportEagerDependencyTemplate extends N.Template{apply(S,E,{runtimeTemplate:k,module:w,moduleGraph:N,chunkGraph:j,runtimeRequirements:q}){const ee=S;const te=k.moduleNamespacePromise({chunkGraph:j,module:N.getModule(ee),request:ee.request,strict:w.buildMeta.strictHarmonyModule,message:"import() eager",runtimeRequirements:q});E.replace(ee.range[0],ee.range[1]-1,te)}};S.exports=ImportEagerDependency},76302:(S,E,k)=>{"use strict";const w=k(56202);const N=k(79983);const j=k(80791);class ImportMetaHotAcceptDependency extends N{constructor(S,E){super(S);this.range=E;this.weak=true}get type(){return"import.meta.webpackHot.accept"}get category(){return"esm"}}w(ImportMetaHotAcceptDependency,"webpack/lib/dependencies/ImportMetaHotAcceptDependency");ImportMetaHotAcceptDependency.Template=j;S.exports=ImportMetaHotAcceptDependency},5389:(S,E,k)=>{"use strict";const w=k(56202);const N=k(79983);const j=k(80791);class ImportMetaHotDeclineDependency extends N{constructor(S,E){super(S);this.range=E;this.weak=true}get type(){return"import.meta.webpackHot.decline"}get category(){return"esm"}}w(ImportMetaHotDeclineDependency,"webpack/lib/dependencies/ImportMetaHotDeclineDependency");ImportMetaHotDeclineDependency.Template=j;S.exports=ImportMetaHotDeclineDependency},38586:(S,E,k)=>{"use strict";const{pathToFileURL:w}=k(78835);const N=k(23280);const j=k(58159);const q=k(87250);const{evaluateToIdentifier:ee,toConstantDependency:te,evaluateToString:ne,evaluateToNumber:ae}=k(48472);const _e=k(91671);const ve=k(68038);const Ee=k(66298);const Te=_e((()=>k(75314)));class ImportMetaPlugin{apply(S){S.hooks.compilation.tap("ImportMetaPlugin",((S,{normalModuleFactory:E})=>{const getUrl=S=>w(S.resource).toString();const parserHandler=(S,E)=>{S.hooks.typeof.for("import.meta").tap("ImportMetaPlugin",te(S,JSON.stringify("object")));S.hooks.expression.for("import.meta").tap("ImportMetaPlugin",(E=>{const k=Te();S.state.module.addWarning(new N(S.state.module,new k("Accessing import.meta directly is unsupported (only property access is supported)"),E.loc));const w=new Ee(`${S.isAsiPosition(E.range[0])?";":""}({})`,E.range);w.loc=E.loc;S.state.module.addPresentationalDependency(w);return true}));S.hooks.evaluateTypeof.for("import.meta").tap("ImportMetaPlugin",ne("object"));S.hooks.evaluateIdentifier.for("import.meta").tap("ImportMetaPlugin",ee("import.meta","import.meta",(()=>[]),true));S.hooks.typeof.for("import.meta.url").tap("ImportMetaPlugin",te(S,JSON.stringify("string")));S.hooks.expression.for("import.meta.url").tap("ImportMetaPlugin",(E=>{const k=new Ee(JSON.stringify(getUrl(S.state.module)),E.range);k.loc=E.loc;S.state.module.addPresentationalDependency(k);return true}));S.hooks.evaluateTypeof.for("import.meta.url").tap("ImportMetaPlugin",ne("string"));S.hooks.evaluateIdentifier.for("import.meta.url").tap("ImportMetaPlugin",(E=>(new q).setString(getUrl(S.state.module)).setRange(E.range)));const w=parseInt(k(61733).i8,10);S.hooks.typeof.for("import.meta.webpack").tap("ImportMetaPlugin",te(S,JSON.stringify("number")));S.hooks.expression.for("import.meta.webpack").tap("ImportMetaPlugin",te(S,JSON.stringify(w)));S.hooks.evaluateTypeof.for("import.meta.webpack").tap("ImportMetaPlugin",ne("number"));S.hooks.evaluateIdentifier.for("import.meta.webpack").tap("ImportMetaPlugin",ae(w));S.hooks.unhandledExpressionMemberChain.for("import.meta").tap("ImportMetaPlugin",((E,k)=>{const w=new Ee(`${j.toNormalComment("unsupported import.meta."+k.join("."))} undefined${ve(k,1)}`,E.range);w.loc=E.loc;S.state.module.addPresentationalDependency(w);return true}));S.hooks.evaluate.for("MemberExpression").tap("ImportMetaPlugin",(S=>{const E=S;if(E.object.type==="MetaProperty"&&E.object.meta.name==="import"&&E.object.property.name==="meta"&&E.property.type===(E.computed?"Literal":"Identifier")){return(new q).setUndefined().setRange(E.range)}}))};E.hooks.parser.for("javascript/auto").tap("ImportMetaPlugin",parserHandler);E.hooks.parser.for("javascript/esm").tap("ImportMetaPlugin",parserHandler)}))}}S.exports=ImportMetaPlugin},81467:(S,E,k)=>{"use strict";const w=k(98221);const N=k(47207);const j=k(53558);const q=k(95601);const ee=k(4828);const te=k(20013);const ne=k(75708);const ae=k(12849);class ImportParserPlugin{constructor(S){this.options=S}apply(S){S.hooks.importCall.tap("ImportParserPlugin",(E=>{const k=S.evaluateExpression(E.source);let _e=null;let ve="lazy";let Ee=null;let Te=null;let Ce=null;const we={};const{options:Ne,errors:Ie}=S.parseCommentOptions(E.range);if(Ie){for(const E of Ie){const{comment:k}=E;S.state.module.addWarning(new N(`Compilation error while processing magic comment(-s): /*${k.value}*/: ${E.message}`,k.loc))}}if(Ne){if(Ne.webpackIgnore!==undefined){if(typeof Ne.webpackIgnore!=="boolean"){S.state.module.addWarning(new j(`\`webpackIgnore\` expected a boolean, but received: ${Ne.webpackIgnore}.`,E.loc))}else{if(Ne.webpackIgnore){return false}}}if(Ne.webpackChunkName!==undefined){if(typeof Ne.webpackChunkName!=="string"){S.state.module.addWarning(new j(`\`webpackChunkName\` expected a string, but received: ${Ne.webpackChunkName}.`,E.loc))}else{_e=Ne.webpackChunkName}}if(Ne.webpackMode!==undefined){if(typeof Ne.webpackMode!=="string"){S.state.module.addWarning(new j(`\`webpackMode\` expected a string, but received: ${Ne.webpackMode}.`,E.loc))}else{ve=Ne.webpackMode}}if(Ne.webpackPrefetch!==undefined){if(Ne.webpackPrefetch===true){we.prefetchOrder=0}else if(typeof Ne.webpackPrefetch==="number"){we.prefetchOrder=Ne.webpackPrefetch}else{S.state.module.addWarning(new j(`\`webpackPrefetch\` expected true or a number, but received: ${Ne.webpackPrefetch}.`,E.loc))}}if(Ne.webpackPreload!==undefined){if(Ne.webpackPreload===true){we.preloadOrder=0}else if(typeof Ne.webpackPreload==="number"){we.preloadOrder=Ne.webpackPreload}else{S.state.module.addWarning(new j(`\`webpackPreload\` expected true or a number, but received: ${Ne.webpackPreload}.`,E.loc))}}if(Ne.webpackInclude!==undefined){if(!Ne.webpackInclude||Ne.webpackInclude.constructor.name!=="RegExp"){S.state.module.addWarning(new j(`\`webpackInclude\` expected a regular expression, but received: ${Ne.webpackInclude}.`,E.loc))}else{Ee=new RegExp(Ne.webpackInclude)}}if(Ne.webpackExclude!==undefined){if(!Ne.webpackExclude||Ne.webpackExclude.constructor.name!=="RegExp"){S.state.module.addWarning(new j(`\`webpackExclude\` expected a regular expression, but received: ${Ne.webpackExclude}.`,E.loc))}else{Te=new RegExp(Ne.webpackExclude)}}if(Ne.webpackExports!==undefined){if(!(typeof Ne.webpackExports==="string"||Array.isArray(Ne.webpackExports)&&Ne.webpackExports.every((S=>typeof S==="string")))){S.state.module.addWarning(new j(`\`webpackExports\` expected a string or an array of strings, but received: ${Ne.webpackExports}.`,E.loc))}else{if(typeof Ne.webpackExports==="string"){Ce=[[Ne.webpackExports]]}else{Ce=Array.from(Ne.webpackExports,(S=>[S]))}}}}if(k.isString()){if(ve!=="lazy"&&ve!=="eager"&&ve!=="weak"){S.state.module.addWarning(new j(`\`webpackMode\` expected 'lazy', 'eager' or 'weak', but received: ${ve}.`,E.loc))}if(ve==="eager"){const w=new ne(k.string,E.range,Ce);S.state.current.addDependency(w)}else if(ve==="weak"){const w=new ae(k.string,E.range,Ce);S.state.current.addDependency(w)}else{const N=new w({...we,name:_e},E.loc,k.string);const j=new te(k.string,E.range,Ce);j.loc=E.loc;N.addDependency(j);S.state.current.addBlock(N)}return true}else{if(ve!=="lazy"&&ve!=="lazy-once"&&ve!=="eager"&&ve!=="weak"){S.state.module.addWarning(new j(`\`webpackMode\` expected 'lazy', 'lazy-once', 'eager' or 'weak', but received: ${ve}.`,E.loc));ve="lazy"}if(ve==="weak"){ve="async-weak"}const w=q.create(ee,E.range,k,E,this.options,{chunkName:_e,groupOptions:we,include:Ee,exclude:Te,mode:ve,namespaceObject:S.state.module.buildMeta.strictHarmonyModule?"strict":true,typePrefix:"import()",category:"esm",referencedExports:Ce},S);if(!w)return;w.loc=E.loc;w.optional=!!S.scope.inTry;S.state.current.addDependency(w);return true}}))}}S.exports=ImportParserPlugin},54975:(S,E,k)=>{"use strict";const w=k(4828);const N=k(20013);const j=k(75708);const q=k(81467);const ee=k(12849);class ImportPlugin{apply(S){S.hooks.compilation.tap("ImportPlugin",((S,{contextModuleFactory:E,normalModuleFactory:k})=>{S.dependencyFactories.set(N,k);S.dependencyTemplates.set(N,new N.Template);S.dependencyFactories.set(j,k);S.dependencyTemplates.set(j,new j.Template);S.dependencyFactories.set(ee,k);S.dependencyTemplates.set(ee,new ee.Template);S.dependencyFactories.set(w,E);S.dependencyTemplates.set(w,new w.Template);const handler=(S,E)=>{if(E.import!==undefined&&!E.import)return;new q(E).apply(S)};k.hooks.parser.for("javascript/auto").tap("ImportPlugin",handler);k.hooks.parser.for("javascript/dynamic").tap("ImportPlugin",handler);k.hooks.parser.for("javascript/esm").tap("ImportPlugin",handler)}))}}S.exports=ImportPlugin},12849:(S,E,k)=>{"use strict";const w=k(56202);const N=k(20013);class ImportWeakDependency extends N{constructor(S,E,k){super(S,E,k);this.weak=true}get type(){return"import() weak"}}w(ImportWeakDependency,"webpack/lib/dependencies/ImportWeakDependency");ImportWeakDependency.Template=class ImportDependencyTemplate extends N.Template{apply(S,E,{runtimeTemplate:k,module:w,moduleGraph:N,chunkGraph:j,runtimeRequirements:q}){const ee=S;const te=k.moduleNamespacePromise({chunkGraph:j,module:N.getModule(ee),request:ee.request,strict:w.buildMeta.strictHarmonyModule,message:"import() weak",weak:true,runtimeRequirements:q});E.replace(ee.range[0],ee.range[1]-1,te)}};S.exports=ImportWeakDependency},38895:(S,E,k)=>{"use strict";const w=k(56202);const N=k(12197);const getExportsFromData=S=>{if(S&&typeof S==="object"){if(Array.isArray(S)){return S.map(((S,E)=>({name:`${E}`,canMangle:true,exports:getExportsFromData(S)})))}else{const E=[];for(const k of Object.keys(S)){E.push({name:k,canMangle:true,exports:getExportsFromData(S[k])})}return E}}return undefined};class JsonExportsDependency extends N{constructor(S){super();this.exports=S}get type(){return"json exports"}getExports(S){return{exports:this.exports,dependencies:undefined}}updateHash(S,E){S.update(this.exports?JSON.stringify(this.exports):"undefined")}serialize(S){const{write:E}=S;E(this.exports);super.serialize(S)}deserialize(S){const{read:E}=S;this.exports=E();super.deserialize(S)}}w(JsonExportsDependency,"webpack/lib/dependencies/JsonExportsDependency");S.exports=JsonExportsDependency;S.exports.getExportsFromData=getExportsFromData},32876:(S,E,k)=>{"use strict";const w=k(79983);class LoaderDependency extends w{constructor(S){super(S)}get type(){return"loader"}get category(){return"loader"}}S.exports=LoaderDependency},79486:(S,E,k)=>{"use strict";const w=k(79983);class LoaderImportDependency extends w{constructor(S){super(S);this.weak=true}get type(){return"loader import"}get category(){return"loaderImport"}}S.exports=LoaderImportDependency},2451:(S,E,k)=>{"use strict";const w=k(53520);const N=k(83379);const j=k(32876);const q=k(79486);class LoaderPlugin{constructor(S={}){this._enableExecuteModule=!!S.enableExecuteModule}apply(S){S.hooks.compilation.tap("LoaderPlugin",((S,{normalModuleFactory:E})=>{S.dependencyFactories.set(j,E);S.dependencyFactories.set(q,E)}));S.hooks.compilation.tap("LoaderPlugin",(S=>{const E=S.moduleGraph;w.getCompilationHooks(S).loader.tap("LoaderPlugin",(k=>{k.loadModule=(w,q)=>{const ee=new j(w);ee.loc={name:w};const te=S.dependencyFactories.get(ee.constructor);if(te===undefined){return q(new Error(`No module factory available for dependency type: ${ee.constructor.name}`))}S.buildQueue.increaseParallelism();S.handleModuleCreation({factory:te,dependencies:[ee],originModule:k._module,context:k.context,recursive:false},(w=>{S.buildQueue.decreaseParallelism();if(w){return q(w)}const j=E.getModule(ee);if(!j){return q(new Error("Cannot load the module"))}if(j.getNumberOfErrors()>0){return q(new Error("The loaded module contains errors"))}const te=j.originalSource();if(!te){return q(new Error("The module created for a LoaderDependency must have an original source"))}let ne,ae;if(te.sourceAndMap){const S=te.sourceAndMap();ae=S.map;ne=S.source}else{ae=te.map();ne=te.source()}const _e=new N;const ve=new N;const Ee=new N;const Te=new N;j.addCacheDependencies(_e,ve,Ee,Te);for(const S of _e){k.addDependency(S)}for(const S of ve){k.addContextDependency(S)}for(const S of Ee){k.addMissingDependency(S)}for(const S of Te){k.addBuildDependency(S)}return q(null,ne,ae,j)}))};if(this._enableExecuteModule){const importModule=(w,N,j)=>{const ee=new q(w);ee.loc={name:w};const te=S.dependencyFactories.get(ee.constructor);if(te===undefined){return j(new Error(`No module factory available for dependency type: ${ee.constructor.name}`))}S.buildQueue.increaseParallelism();S.handleModuleCreation({factory:te,dependencies:[ee],originModule:k._module,contextInfo:{issuerLayer:N.layer},context:k.context,connectOrigin:false},(w=>{S.buildQueue.decreaseParallelism();if(w){return j(w)}const q=E.getModule(ee);if(!q){return j(new Error("Cannot load the module"))}S.executeModule(q,{entryOptions:{publicPath:N.publicPath}},((S,E)=>{if(S)return j(S);for(const S of E.fileDependencies){k.addDependency(S)}for(const S of E.contextDependencies){k.addContextDependency(S)}for(const S of E.missingDependencies){k.addMissingDependency(S)}for(const S of E.buildDependencies){k.addBuildDependency(S)}if(E.cacheable===false)k.cacheable(false);for(const[S,{source:w,info:N}]of E.assets){const{buildInfo:E}=k._module;if(!E.assets){E.assets=Object.create(null);E.assetsInfo=new Map}E.assets[S]=w;E.assetsInfo.set(S,N)}j(null,E.exports)}))}))};k.importModule=(S,E,k)=>{if(!k){return new Promise(((k,w)=>{importModule(S,E||{},((S,E)=>{if(S)w(S);else k(E)}))}))}return importModule(S,E||{},k)}}}))}))}}S.exports=LoaderPlugin},77230:(S,E,k)=>{"use strict";const w=k(56202);class LocalModule{constructor(S,E){this.name=S;this.idx=E;this.used=false}flagUsed(){this.used=true}variableName(){return"__WEBPACK_LOCAL_MODULE_"+this.idx+"__"}serialize(S){const{write:E}=S;E(this.name);E(this.idx);E(this.used)}deserialize(S){const{read:E}=S;this.name=E();this.idx=E();this.used=E()}}w(LocalModule,"webpack/lib/dependencies/LocalModule");S.exports=LocalModule},14229:(S,E,k)=>{"use strict";const w=k(56202);const N=k(12197);class LocalModuleDependency extends N{constructor(S,E,k){super();this.localModule=S;this.range=E;this.callNew=k}serialize(S){const{write:E}=S;E(this.localModule);E(this.range);E(this.callNew);super.serialize(S)}deserialize(S){const{read:E}=S;this.localModule=E();this.range=E();this.callNew=E();super.deserialize(S)}}w(LocalModuleDependency,"webpack/lib/dependencies/LocalModuleDependency");LocalModuleDependency.Template=class LocalModuleDependencyTemplate extends N.Template{apply(S,E,k){const w=S;if(!w.range)return;const N=w.callNew?`new (function () { return ${w.localModule.variableName()}; })()`:w.localModule.variableName();E.replace(w.range[0],w.range[1]-1,N)}};S.exports=LocalModuleDependency},61701:(S,E,k)=>{"use strict";const w=k(77230);const lookup=(S,E)=>{if(E.charAt(0)!==".")return E;var k=S.split("/");var w=E.split("/");k.pop();for(let S=0;S{if(!S.localModules){S.localModules=[]}const k=new w(E,S.localModules.length);S.localModules.push(k);return k};E.getLocalModule=(S,E,k)=>{if(!S.localModules)return null;if(k){E=lookup(k,E)}for(let k=0;k{"use strict";const w=k(28706);const N=k(63272);const j=k(76150);const q=k(56202);const ee=k(12197);class ModuleDecoratorDependency extends ee{constructor(S,E){super();this.decorator=S;this.allowExportsAccess=E}get type(){return"module decorator"}get category(){return"self"}getResourceIdentifier(){return`self`}getReferencedExports(S,E){return this.allowExportsAccess?w.EXPORTS_OBJECT_REFERENCED:w.NO_EXPORTS_REFERENCED}updateHash(S,E){S.update(this.decorator);S.update(`${this.allowExportsAccess}`)}serialize(S){const{write:E}=S;E(this.decorator);E(this.allowExportsAccess);super.serialize(S)}deserialize(S){const{read:E}=S;this.decorator=E();this.allowExportsAccess=E();super.deserialize(S)}}q(ModuleDecoratorDependency,"webpack/lib/dependencies/ModuleDecoratorDependency");ModuleDecoratorDependency.Template=class ModuleDecoratorDependencyTemplate extends ee.Template{apply(S,E,{module:k,chunkGraph:w,initFragments:q,runtimeRequirements:ee}){const te=S;ee.add(j.moduleLoaded);ee.add(j.moduleId);ee.add(j.module);ee.add(te.decorator);q.push(new N(`/* module decorator */ ${k.moduleArgument} = ${te.decorator}(${k.moduleArgument});\n`,N.STAGE_PROVIDES,0,`module decorator ${w.getModuleId(k)}`))}};S.exports=ModuleDecoratorDependency},79983:(S,E,k)=>{"use strict";const w=k(28706);const N=k(84304);const j=k(91671);const q=j((()=>k(22804)));class ModuleDependency extends w{constructor(S){super();this.request=S;this.userRequest=S;this.range=undefined}getResourceIdentifier(){return`module${this.request}`}createIgnoredModule(S){const E=q();return new E("/* (ignored) */",`ignored|${S}|${this.request}`,`${this.request} (ignored)`)}serialize(S){const{write:E}=S;E(this.request);E(this.userRequest);E(this.range);super.serialize(S)}deserialize(S){const{read:E}=S;this.request=E();this.userRequest=E();this.range=E();super.deserialize(S)}}ModuleDependency.Template=N;S.exports=ModuleDependency},80791:(S,E,k)=>{"use strict";const w=k(79983);class ModuleDependencyTemplateAsId extends w.Template{apply(S,E,{runtimeTemplate:k,moduleGraph:w,chunkGraph:N}){const j=S;if(!j.range)return;const q=k.moduleId({module:w.getModule(j),chunkGraph:N,request:j.request,weak:j.weak});E.replace(j.range[0],j.range[1]-1,q)}}S.exports=ModuleDependencyTemplateAsId},87283:(S,E,k)=>{"use strict";const w=k(79983);class ModuleDependencyTemplateAsRequireId extends w.Template{apply(S,E,{runtimeTemplate:k,moduleGraph:w,chunkGraph:N,runtimeRequirements:j}){const q=S;if(!q.range)return;const ee=k.moduleExports({module:w.getModule(q),chunkGraph:N,request:q.request,weak:q.weak,runtimeRequirements:j});E.replace(q.range[0],q.range[1]-1,ee)}}S.exports=ModuleDependencyTemplateAsRequireId},21809:(S,E,k)=>{"use strict";const w=k(56202);const N=k(79983);const j=k(80791);class ModuleHotAcceptDependency extends N{constructor(S,E){super(S);this.range=E;this.weak=true}get type(){return"module.hot.accept"}get category(){return"commonjs"}}w(ModuleHotAcceptDependency,"webpack/lib/dependencies/ModuleHotAcceptDependency");ModuleHotAcceptDependency.Template=j;S.exports=ModuleHotAcceptDependency},73158:(S,E,k)=>{"use strict";const w=k(56202);const N=k(79983);const j=k(80791);class ModuleHotDeclineDependency extends N{constructor(S,E){super(S);this.range=E;this.weak=true}get type(){return"module.hot.decline"}get category(){return"commonjs"}}w(ModuleHotDeclineDependency,"webpack/lib/dependencies/ModuleHotDeclineDependency");ModuleHotDeclineDependency.Template=j;S.exports=ModuleHotDeclineDependency},12197:(S,E,k)=>{"use strict";const w=k(28706);const N=k(84304);class NullDependency extends w{get type(){return"null"}}NullDependency.Template=class NullDependencyTemplate extends N{apply(S,E,k){}};S.exports=NullDependency},88281:(S,E,k)=>{"use strict";const w=k(79983);class PrefetchDependency extends w{constructor(S){super(S)}get type(){return"prefetch"}get category(){return"esm"}}S.exports=PrefetchDependency},1335:(S,E,k)=>{"use strict";const w=k(63272);const N=k(56202);const j=k(79983);const pathToString=S=>S!==null&&S.length>0?S.map((S=>`[${JSON.stringify(S)}]`)).join(""):"";class ProvidedDependency extends j{constructor(S,E,k,w){super(S);this.identifier=E;this.path=k;this.range=w}get type(){return"provided"}get category(){return"esm"}updateHash(S,E){S.update(this.identifier);S.update(this.path?this.path.join(","):"null")}serialize(S){const{write:E}=S;E(this.identifier);E(this.path);super.serialize(S)}deserialize(S){const{read:E}=S;this.identifier=E();this.path=E();super.deserialize(S)}}N(ProvidedDependency,"webpack/lib/dependencies/ProvidedDependency");class ProvidedDependencyTemplate extends j.Template{apply(S,E,{runtimeTemplate:k,moduleGraph:N,chunkGraph:j,initFragments:q,runtimeRequirements:ee}){const te=S;q.push(new w(`/* provided dependency */ var ${te.identifier} = ${k.moduleExports({module:N.getModule(te),chunkGraph:j,request:te.request,runtimeRequirements:ee})}${pathToString(te.path)};\n`,w.STAGE_PROVIDES,1,`provided ${te.identifier}`));E.replace(te.range[0],te.range[1]-1,te.identifier)}}ProvidedDependency.Template=ProvidedDependencyTemplate;S.exports=ProvidedDependency},53567:(S,E,k)=>{"use strict";const{UsageState:w}=k(76632);const N=k(56202);const{filterRuntime:j}=k(37416);const q=k(12197);class PureExpressionDependency extends q{constructor(S){super();this.range=S;this.usedByExports=false}updateHash(S,E){S.update(this.range+"")}getModuleEvaluationSideEffectsState(S){return false}serialize(S){const{write:E}=S;E(this.range);E(this.usedByExports);super.serialize(S)}deserialize(S){const{read:E}=S;this.range=E();this.usedByExports=E();super.deserialize(S)}}N(PureExpressionDependency,"webpack/lib/dependencies/PureExpressionDependency");PureExpressionDependency.Template=class PureExpressionDependencyTemplate extends q.Template{apply(S,E,{chunkGraph:k,moduleGraph:N,runtime:q,runtimeTemplate:ee,runtimeRequirements:te}){const ne=S;const ae=ne.usedByExports;if(ae!==false){const S=N.getParentModule(ne);const _e=N.getExportsInfo(S);const ve=j(q,(S=>{for(const E of ae){if(_e.getUsed(E,S)!==w.Unused){return true}}return false}));if(ve===true)return;if(ve!==false){const S=ee.runtimeConditionExpression({chunkGraph:k,runtime:q,runtimeCondition:ve,runtimeRequirements:te});E.insert(ne.range[0],`(/* runtime-dependent pure expression or super */ ${S} ? (`);E.insert(ne.range[1],") : null)");return}}E.insert(ne.range[0],`(/* unused pure expression or super */ null && (`);E.insert(ne.range[1],"))")}};S.exports=PureExpressionDependency},19204:(S,E,k)=>{"use strict";const w=k(56202);const N=k(400);const j=k(87283);class RequireContextDependency extends N{constructor(S,E){super(S);this.range=E}get type(){return"require.context"}serialize(S){const{write:E}=S;E(this.range);super.serialize(S)}deserialize(S){const{read:E}=S;this.range=E();super.deserialize(S)}}w(RequireContextDependency,"webpack/lib/dependencies/RequireContextDependency");RequireContextDependency.Template=j;S.exports=RequireContextDependency},38947:(S,E,k)=>{"use strict";const w=k(19204);S.exports=class RequireContextDependencyParserPlugin{apply(S){S.hooks.call.for("require.context").tap("RequireContextDependencyParserPlugin",(E=>{let k=/^\.\/.*$/;let N=true;let j="sync";switch(E.arguments.length){case 4:{const k=S.evaluateExpression(E.arguments[3]);if(!k.isString())return;j=k.string}case 3:{const w=S.evaluateExpression(E.arguments[2]);if(!w.isRegExp())return;k=w.regExp}case 2:{const k=S.evaluateExpression(E.arguments[1]);if(!k.isBoolean())return;N=k.bool}case 1:{const q=S.evaluateExpression(E.arguments[0]);if(!q.isString())return;const ee=new w({request:q.string,recursive:N,regExp:k,mode:j,category:"commonjs"},E.range);ee.loc=E.loc;ee.optional=!!S.scope.inTry;S.state.current.addDependency(ee);return true}}}))}}},67634:(S,E,k)=>{"use strict";const{cachedSetProperty:w}=k(90149);const N=k(90872);const j=k(19204);const q=k(38947);const ee={};class RequireContextPlugin{apply(S){S.hooks.compilation.tap("RequireContextPlugin",((E,{contextModuleFactory:k,normalModuleFactory:te})=>{E.dependencyFactories.set(j,k);E.dependencyTemplates.set(j,new j.Template);E.dependencyFactories.set(N,te);const handler=(S,E)=>{if(E.requireContext!==undefined&&!E.requireContext)return;(new q).apply(S)};te.hooks.parser.for("javascript/auto").tap("RequireContextPlugin",handler);te.hooks.parser.for("javascript/dynamic").tap("RequireContextPlugin",handler);k.hooks.alternativeRequests.tap("RequireContextPlugin",((E,k)=>{if(E.length===0)return E;const N=S.resolverFactory.get("normal",w(k.resolveOptions||ee,"dependencyType",k.category)).options;let j;if(!N.fullySpecified){j=[];for(const S of E){const{request:E,context:k}=S;for(const S of N.extensions){if(E.endsWith(S)){j.push({context:k,request:E.slice(0,-S.length)})}}if(!N.enforceExtension){j.push(S)}}E=j;j=[];for(const S of E){const{request:E,context:k}=S;for(const S of N.mainFiles){if(E.endsWith(`/${S}`)){j.push({context:k,request:E.slice(0,-S.length)});j.push({context:k,request:E.slice(0,-S.length-1)})}}j.push(S)}E=j}j=[];for(const S of E){let E=false;for(const k of N.modules){if(Array.isArray(k)){for(const w of k){if(S.request.startsWith(`./${w}/`)){j.push({context:S.context,request:S.request.slice(w.length+3)});E=true}}}else{const E=k.replace(/\\/g,"/");const w=S.context.replace(/\\/g,"/")+S.request.slice(1);if(w.startsWith(E)){j.push({context:S.context,request:w.slice(E.length+1)})}}}if(!E){j.push(S)}}return j}))}))}}S.exports=RequireContextPlugin},15196:(S,E,k)=>{"use strict";const w=k(98221);const N=k(56202);class RequireEnsureDependenciesBlock extends w{constructor(S,E){super(S,E,null)}}N(RequireEnsureDependenciesBlock,"webpack/lib/dependencies/RequireEnsureDependenciesBlock");S.exports=RequireEnsureDependenciesBlock},90616:(S,E,k)=>{"use strict";const w=k(15196);const N=k(15427);const j=k(81058);const q=k(36134);S.exports=class RequireEnsureDependenciesBlockParserPlugin{apply(S){S.hooks.call.for("require.ensure").tap("RequireEnsureDependenciesBlockParserPlugin",(E=>{let k=null;let ee=null;let te=null;switch(E.arguments.length){case 4:{const w=S.evaluateExpression(E.arguments[3]);if(!w.isString())return;k=w.string}case 3:{ee=E.arguments[2];te=q(ee);if(!te&&!k){const w=S.evaluateExpression(E.arguments[2]);if(!w.isString())return;k=w.string}}case 2:{const ne=S.evaluateExpression(E.arguments[0]);const ae=ne.isArray()?ne.items:[ne];const _e=E.arguments[1];const ve=q(_e);if(ve){S.walkExpressions(ve.expressions)}if(te){S.walkExpressions(te.expressions)}const Ee=new w(k,E.loc);const Te=E.arguments.length===4||!k&&E.arguments.length===3;const Ce=new N(E.range,E.arguments[1].range,Te&&E.arguments[2].range);Ce.loc=E.loc;Ee.addDependency(Ce);const we=S.state.current;S.state.current=Ee;try{let k=false;S.inScope([],(()=>{for(const S of ae){if(S.isString()){const k=new j(S.string);k.loc=S.loc||E.loc;Ee.addDependency(k)}else{k=true}}}));if(k){return}if(ve){if(ve.fn.body.type==="BlockStatement"){S.walkStatement(ve.fn.body)}else{S.walkExpression(ve.fn.body)}}we.addBlock(Ee)}finally{S.state.current=we}if(!ve){S.walkExpression(_e)}if(te){if(te.fn.body.type==="BlockStatement"){S.walkStatement(te.fn.body)}else{S.walkExpression(te.fn.body)}}else if(ee){S.walkExpression(ee)}return true}}}))}}},15427:(S,E,k)=>{"use strict";const w=k(76150);const N=k(56202);const j=k(12197);class RequireEnsureDependency extends j{constructor(S,E,k){super();this.range=S;this.contentRange=E;this.errorHandlerRange=k}get type(){return"require.ensure"}serialize(S){const{write:E}=S;E(this.range);E(this.contentRange);E(this.errorHandlerRange);super.serialize(S)}deserialize(S){const{read:E}=S;this.range=E();this.contentRange=E();this.errorHandlerRange=E();super.deserialize(S)}}N(RequireEnsureDependency,"webpack/lib/dependencies/RequireEnsureDependency");RequireEnsureDependency.Template=class RequireEnsureDependencyTemplate extends j.Template{apply(S,E,{runtimeTemplate:k,moduleGraph:N,chunkGraph:j,runtimeRequirements:q}){const ee=S;const te=N.getParentBlock(ee);const ne=k.blockPromise({chunkGraph:j,block:te,message:"require.ensure",runtimeRequirements:q});const ae=ee.range;const _e=ee.contentRange;const ve=ee.errorHandlerRange;E.replace(ae[0],_e[0]-1,`${ne}.then((`);if(ve){E.replace(_e[1],ve[0]-1,").bind(null, __webpack_require__)).catch(");E.replace(ve[1],ae[1]-1,")")}else{E.replace(_e[1],ae[1]-1,`).bind(null, __webpack_require__)).catch(${w.uncaughtErrorHandler})`)}}};S.exports=RequireEnsureDependency},81058:(S,E,k)=>{"use strict";const w=k(56202);const N=k(79983);const j=k(12197);class RequireEnsureItemDependency extends N{constructor(S){super(S)}get type(){return"require.ensure item"}get category(){return"commonjs"}}w(RequireEnsureItemDependency,"webpack/lib/dependencies/RequireEnsureItemDependency");RequireEnsureItemDependency.Template=j.Template;S.exports=RequireEnsureItemDependency},51727:(S,E,k)=>{"use strict";const w=k(15427);const N=k(81058);const j=k(90616);const{evaluateToString:q,toConstantDependency:ee}=k(48472);class RequireEnsurePlugin{apply(S){S.hooks.compilation.tap("RequireEnsurePlugin",((S,{normalModuleFactory:E})=>{S.dependencyFactories.set(N,E);S.dependencyTemplates.set(N,new N.Template);S.dependencyTemplates.set(w,new w.Template);const handler=(S,E)=>{if(E.requireEnsure!==undefined&&!E.requireEnsure)return;(new j).apply(S);S.hooks.evaluateTypeof.for("require.ensure").tap("RequireEnsurePlugin",q("function"));S.hooks.typeof.for("require.ensure").tap("RequireEnsurePlugin",ee(S,JSON.stringify("function")))};E.hooks.parser.for("javascript/auto").tap("RequireEnsurePlugin",handler);E.hooks.parser.for("javascript/dynamic").tap("RequireEnsurePlugin",handler)}))}}S.exports=RequireEnsurePlugin},70340:(S,E,k)=>{"use strict";const w=k(76150);const N=k(56202);const j=k(12197);class RequireHeaderDependency extends j{constructor(S){super();if(!Array.isArray(S))throw new Error("range must be valid");this.range=S}serialize(S){const{write:E}=S;E(this.range);super.serialize(S)}static deserialize(S){const E=new RequireHeaderDependency(S.read());E.deserialize(S);return E}}N(RequireHeaderDependency,"webpack/lib/dependencies/RequireHeaderDependency");RequireHeaderDependency.Template=class RequireHeaderDependencyTemplate extends j.Template{apply(S,E,{runtimeRequirements:k}){const N=S;k.add(w.require);E.replace(N.range[0],N.range[1]-1,"__webpack_require__")}};S.exports=RequireHeaderDependency},63556:(S,E,k)=>{"use strict";const w=k(28706);const N=k(58159);const j=k(56202);const q=k(79983);class RequireIncludeDependency extends q{constructor(S,E){super(S);this.range=E}getReferencedExports(S,E){return w.NO_EXPORTS_REFERENCED}get type(){return"require.include"}get category(){return"commonjs"}}j(RequireIncludeDependency,"webpack/lib/dependencies/RequireIncludeDependency");RequireIncludeDependency.Template=class RequireIncludeDependencyTemplate extends q.Template{apply(S,E,{runtimeTemplate:k}){const w=S;const j=k.outputOptions.pathinfo?N.toComment(`require.include ${k.requestShortener.shorten(w.request)}`):"";E.replace(w.range[0],w.range[1]-1,`undefined${j}`)}};S.exports=RequireIncludeDependency},1913:(S,E,k)=>{"use strict";const w=k(81627);const{evaluateToString:N,toConstantDependency:j}=k(48472);const q=k(56202);const ee=k(63556);S.exports=class RequireIncludeDependencyParserPlugin{constructor(S){this.warn=S}apply(S){const{warn:E}=this;S.hooks.call.for("require.include").tap("RequireIncludeDependencyParserPlugin",(k=>{if(k.arguments.length!==1)return;const w=S.evaluateExpression(k.arguments[0]);if(!w.isString())return;if(E){S.state.module.addWarning(new RequireIncludeDeprecationWarning(k.loc))}const N=new ee(w.string,k.range);N.loc=k.loc;S.state.current.addDependency(N);return true}));S.hooks.evaluateTypeof.for("require.include").tap("RequireIncludePlugin",(k=>{if(E){S.state.module.addWarning(new RequireIncludeDeprecationWarning(k.loc))}return N("function")(k)}));S.hooks.typeof.for("require.include").tap("RequireIncludePlugin",(k=>{if(E){S.state.module.addWarning(new RequireIncludeDeprecationWarning(k.loc))}return j(S,JSON.stringify("function"))(k)}))}};class RequireIncludeDeprecationWarning extends w{constructor(S){super("require.include() is deprecated and will be removed soon.");this.name="RequireIncludeDeprecationWarning";this.loc=S}}q(RequireIncludeDeprecationWarning,"webpack/lib/dependencies/RequireIncludeDependencyParserPlugin","RequireIncludeDeprecationWarning")},3085:(S,E,k)=>{"use strict";const w=k(63556);const N=k(1913);class RequireIncludePlugin{apply(S){S.hooks.compilation.tap("RequireIncludePlugin",((S,{normalModuleFactory:E})=>{S.dependencyFactories.set(w,E);S.dependencyTemplates.set(w,new w.Template);const handler=(S,E)=>{if(E.requireInclude===false)return;const k=E.requireInclude===undefined;new N(k).apply(S)};E.hooks.parser.for("javascript/auto").tap("RequireIncludePlugin",handler);E.hooks.parser.for("javascript/dynamic").tap("RequireIncludePlugin",handler)}))}}S.exports=RequireIncludePlugin},84817:(S,E,k)=>{"use strict";const w=k(56202);const N=k(400);const j=k(94148);class RequireResolveContextDependency extends N{constructor(S,E,k){super(S);this.range=E;this.valueRange=k}get type(){return"amd require context"}serialize(S){const{write:E}=S;E(this.range);E(this.valueRange);super.serialize(S)}deserialize(S){const{read:E}=S;this.range=E();this.valueRange=E();super.deserialize(S)}}w(RequireResolveContextDependency,"webpack/lib/dependencies/RequireResolveContextDependency");RequireResolveContextDependency.Template=j;S.exports=RequireResolveContextDependency},76913:(S,E,k)=>{"use strict";const w=k(28706);const N=k(56202);const j=k(79983);const q=k(80791);class RequireResolveDependency extends j{constructor(S,E){super(S);this.range=E}get type(){return"require.resolve"}get category(){return"commonjs"}getReferencedExports(S,E){return w.NO_EXPORTS_REFERENCED}}N(RequireResolveDependency,"webpack/lib/dependencies/RequireResolveDependency");RequireResolveDependency.Template=q;S.exports=RequireResolveDependency},23380:(S,E,k)=>{"use strict";const w=k(56202);const N=k(12197);class RequireResolveHeaderDependency extends N{constructor(S){super();if(!Array.isArray(S))throw new Error("range must be valid");this.range=S}serialize(S){const{write:E}=S;E(this.range);super.serialize(S)}static deserialize(S){const E=new RequireResolveHeaderDependency(S.read());E.deserialize(S);return E}}w(RequireResolveHeaderDependency,"webpack/lib/dependencies/RequireResolveHeaderDependency");RequireResolveHeaderDependency.Template=class RequireResolveHeaderDependencyTemplate extends N.Template{apply(S,E,k){const w=S;E.replace(w.range[0],w.range[1]-1,"/*require.resolve*/")}applyAsTemplateArgument(S,E,k){k.replace(E.range[0],E.range[1]-1,"/*require.resolve*/")}};S.exports=RequireResolveHeaderDependency},35424:(S,E,k)=>{"use strict";const w=k(56202);const N=k(12197);class RuntimeRequirementsDependency extends N{constructor(S){super();this.runtimeRequirements=new Set(S)}updateHash(S,E){S.update(Array.from(this.runtimeRequirements).join()+"")}serialize(S){const{write:E}=S;E(this.runtimeRequirements);super.serialize(S)}deserialize(S){const{read:E}=S;this.runtimeRequirements=E();super.deserialize(S)}}w(RuntimeRequirementsDependency,"webpack/lib/dependencies/RuntimeRequirementsDependency");RuntimeRequirementsDependency.Template=class RuntimeRequirementsDependencyTemplate extends N.Template{apply(S,E,{runtimeRequirements:k}){const w=S;for(const S of w.runtimeRequirements){k.add(S)}}};S.exports=RuntimeRequirementsDependency},96076:(S,E,k)=>{"use strict";const w=k(56202);const N=k(12197);class StaticExportsDependency extends N{constructor(S,E){super();this.exports=S;this.canMangle=E}get type(){return"static exports"}getExports(S){return{exports:this.exports,canMangle:this.canMangle,dependencies:undefined}}serialize(S){const{write:E}=S;E(this.exports);E(this.canMangle);super.serialize(S)}deserialize(S){const{read:E}=S;this.exports=E();this.canMangle=E();super.deserialize(S)}}w(StaticExportsDependency,"webpack/lib/dependencies/StaticExportsDependency");S.exports=StaticExportsDependency},62630:(S,E,k)=>{"use strict";const w=k(76150);const N=k(81627);const{evaluateToString:j,expressionIsUnsupported:q,toConstantDependency:ee}=k(48472);const te=k(56202);const ne=k(66298);const ae=k(60125);class SystemPlugin{apply(S){S.hooks.compilation.tap("SystemPlugin",((S,{normalModuleFactory:E})=>{S.hooks.runtimeRequirementInModule.for(w.system).tap("SystemPlugin",((S,E)=>{E.add(w.requireScope)}));S.hooks.runtimeRequirementInTree.for(w.system).tap("SystemPlugin",((E,k)=>{S.addRuntimeModule(E,new ae)}));const handler=(S,E)=>{if(E.system===undefined||!E.system){return}const setNotSupported=E=>{S.hooks.evaluateTypeof.for(E).tap("SystemPlugin",j("undefined"));S.hooks.expression.for(E).tap("SystemPlugin",q(S,E+" is not supported by webpack."))};S.hooks.typeof.for("System.import").tap("SystemPlugin",ee(S,JSON.stringify("function")));S.hooks.evaluateTypeof.for("System.import").tap("SystemPlugin",j("function"));S.hooks.typeof.for("System").tap("SystemPlugin",ee(S,JSON.stringify("object")));S.hooks.evaluateTypeof.for("System").tap("SystemPlugin",j("object"));setNotSupported("System.set");setNotSupported("System.get");setNotSupported("System.register");S.hooks.expression.for("System").tap("SystemPlugin",(E=>{const k=new ne(w.system,E.range,[w.system]);k.loc=E.loc;S.state.module.addPresentationalDependency(k);return true}));S.hooks.call.for("System.import").tap("SystemPlugin",(E=>{S.state.module.addWarning(new SystemImportDeprecationWarning(E.loc));return S.hooks.importCall.call({type:"ImportExpression",source:E.arguments[0],loc:E.loc,range:E.range})}))};E.hooks.parser.for("javascript/auto").tap("SystemPlugin",handler);E.hooks.parser.for("javascript/dynamic").tap("SystemPlugin",handler)}))}}class SystemImportDeprecationWarning extends N{constructor(S){super("System.import() is deprecated and will be removed soon. Use import() instead.\n"+"For more info visit https://webpack.js.org/guides/code-splitting/");this.name="SystemImportDeprecationWarning";this.loc=S}}te(SystemImportDeprecationWarning,"webpack/lib/dependencies/SystemPlugin","SystemImportDeprecationWarning");S.exports=SystemPlugin;S.exports.SystemImportDeprecationWarning=SystemImportDeprecationWarning},60125:(S,E,k)=>{"use strict";const w=k(76150);const N=k(66804);const j=k(58159);class SystemRuntimeModule extends N{constructor(){super("system")}generate(){return j.asString([`${w.system} = {`,j.indent(["import: function () {",j.indent("throw new Error('System.import cannot be used indirectly');"),"}"]),"};"])}}S.exports=SystemRuntimeModule},66444:(S,E,k)=>{"use strict";const w=k(76150);const{getDependencyUsedByExportsCondition:N}=k(58018);const j=k(56202);const q=k(91671);const ee=k(79983);const te=q((()=>k(22804)));class URLDependency extends ee{constructor(S,E,k,w){super(S);this.range=E;this.outerRange=k;this.relative=w||false;this.usedByExports=undefined}get type(){return"new URL()"}get category(){return"url"}getCondition(S){return N(this,this.usedByExports,S)}createIgnoredModule(S){const E=te();return new E('module.exports = "data:,";',`ignored-asset`,`(ignored asset)`,new Set([w.module]))}serialize(S){const{write:E}=S;E(this.outerRange);E(this.relative);E(this.usedByExports);super.serialize(S)}deserialize(S){const{read:E}=S;this.outerRange=E();this.relative=E();this.usedByExports=E();super.deserialize(S)}}URLDependency.Template=class URLDependencyTemplate extends ee.Template{apply(S,E,k){const{chunkGraph:N,moduleGraph:j,runtimeRequirements:q,runtimeTemplate:ee,runtime:te}=k;const ne=S;const ae=j.getConnection(ne);if(ae&&!ae.isTargetActive(te)){E.replace(ne.outerRange[0],ne.outerRange[1]-1,"/* unused asset import */ undefined");return}q.add(w.require);if(ne.relative){q.add(w.relativeUrl);E.replace(ne.outerRange[0],ne.outerRange[1]-1,`/* asset import */ new ${w.relativeUrl}(${ee.moduleRaw({chunkGraph:N,module:j.getModule(ne),request:ne.request,runtimeRequirements:q,weak:false})})`)}else{q.add(w.baseURI);E.replace(ne.range[0],ne.range[1]-1,`/* asset import */ ${ee.moduleRaw({chunkGraph:N,module:j.getModule(ne),request:ne.request,runtimeRequirements:q,weak:false})}, ${w.baseURI}`)}}};j(URLDependency,"webpack/lib/dependencies/URLDependency");S.exports=URLDependency},65577:(S,E,k)=>{"use strict";const{approve:w}=k(48472);const N=k(58018);const j=k(66444);class URLPlugin{apply(S){S.hooks.compilation.tap("URLPlugin",((S,{normalModuleFactory:E})=>{S.dependencyFactories.set(j,E);S.dependencyTemplates.set(j,new j.Template);const parserCallback=(S,E)=>{if(E.url===false)return;const k=E.url==="relative";const getUrlRequest=E=>{if(E.arguments.length!==2)return;const[k,w]=E.arguments;if(w.type!=="MemberExpression"||k.type==="SpreadElement")return;const N=S.extractMemberExpressionChain(w);if(N.members.length!==1||N.object.type!=="MetaProperty"||N.object.meta.name!=="import"||N.object.property.name!=="meta"||N.members[0]!=="url")return;const j=S.evaluateExpression(k).asString();return j};S.hooks.canRename.for("URL").tap("URLPlugin",w);S.hooks.new.for("URL").tap("URLPlugin",(E=>{const w=E;const q=getUrlRequest(w);if(!q)return;const[ee,te]=w.arguments;const ne=new j(q,[ee.range[0],te.range[1]],w.range,k);ne.loc=w.loc;S.state.module.addDependency(ne);N.onUsage(S.state,(S=>ne.usedByExports=S));return true}));S.hooks.isPure.for("NewExpression").tap("URLPlugin",(E=>{const k=E;const{callee:w}=k;if(w.type!=="Identifier")return;const N=S.getFreeInfoFromVariable(w.name);if(!N||N.name!=="URL")return;const j=getUrlRequest(k);if(j)return true}))};E.hooks.parser.for("javascript/auto").tap("URLPlugin",parserCallback);E.hooks.parser.for("javascript/esm").tap("URLPlugin",parserCallback)}))}}S.exports=URLPlugin},12584:(S,E,k)=>{"use strict";const w=k(56202);const N=k(12197);class UnsupportedDependency extends N{constructor(S,E){super();this.request=S;this.range=E}serialize(S){const{write:E}=S;E(this.request);E(this.range);super.serialize(S)}deserialize(S){const{read:E}=S;this.request=E();this.range=E();super.deserialize(S)}}w(UnsupportedDependency,"webpack/lib/dependencies/UnsupportedDependency");UnsupportedDependency.Template=class UnsupportedDependencyTemplate extends N.Template{apply(S,E,{runtimeTemplate:k}){const w=S;E.replace(w.range[0],w.range[1],k.missingModule({request:w.request}))}};S.exports=UnsupportedDependency},30697:(S,E,k)=>{"use strict";const w=k(56202);const N=k(79983);class WebAssemblyExportImportedDependency extends N{constructor(S,E,k,w){super(E);this.exportName=S;this.name=k;this.valueType=w}getReferencedExports(S,E){return[[this.name]]}get type(){return"wasm export import"}get category(){return"wasm"}serialize(S){const{write:E}=S;E(this.exportName);E(this.name);E(this.valueType);super.serialize(S)}deserialize(S){const{read:E}=S;this.exportName=E();this.name=E();this.valueType=E();super.deserialize(S)}}w(WebAssemblyExportImportedDependency,"webpack/lib/dependencies/WebAssemblyExportImportedDependency");S.exports=WebAssemblyExportImportedDependency},33081:(S,E,k)=>{"use strict";const w=k(56202);const N=k(59422);const j=k(79983);class WebAssemblyImportDependency extends j{constructor(S,E,k,w){super(S);this.name=E;this.description=k;this.onlyDirectImport=w}get type(){return"wasm import"}get category(){return"wasm"}getReferencedExports(S,E){return[[this.name]]}getErrors(S){const E=S.getModule(this);if(this.onlyDirectImport&&E&&!E.type.startsWith("webassembly")){return[new N(`Import "${this.name}" from "${this.request}" with ${this.onlyDirectImport} can only be used for direct wasm to wasm dependencies`)]}}serialize(S){const{write:E}=S;E(this.name);E(this.description);E(this.onlyDirectImport);super.serialize(S)}deserialize(S){const{read:E}=S;this.name=E();this.description=E();this.onlyDirectImport=E();super.deserialize(S)}}w(WebAssemblyImportDependency,"webpack/lib/dependencies/WebAssemblyImportDependency");S.exports=WebAssemblyImportDependency},46715:(S,E,k)=>{"use strict";const w=k(28706);const N=k(58159);const j=k(56202);const q=k(79983);class WebpackIsIncludedDependency extends q{constructor(S,E){super(S);this.weak=true;this.range=E}getReferencedExports(S,E){return w.NO_EXPORTS_REFERENCED}get type(){return"__webpack_is_included__"}}j(WebpackIsIncludedDependency,"webpack/lib/dependencies/WebpackIsIncludedDependency");WebpackIsIncludedDependency.Template=class WebpackIsIncludedDependencyTemplate extends q.Template{apply(S,E,{runtimeTemplate:k,chunkGraph:w,moduleGraph:j}){const q=S;const ee=j.getConnection(q);const te=ee?w.getNumberOfModuleChunks(ee.module)>0:false;const ne=k.outputOptions.pathinfo?N.toComment(`__webpack_is_included__ ${k.requestShortener.shorten(q.request)}`):"";E.replace(q.range[0],q.range[1]-1,`${ne}${JSON.stringify(te)}`)}};S.exports=WebpackIsIncludedDependency},89017:(S,E,k)=>{"use strict";const w=k(28706);const N=k(76150);const j=k(56202);const q=k(79983);class WorkerDependency extends q{constructor(S,E){super(S);this.range=E}getReferencedExports(S,E){return w.NO_EXPORTS_REFERENCED}get type(){return"new Worker()"}get category(){return"worker"}}WorkerDependency.Template=class WorkerDependencyTemplate extends q.Template{apply(S,E,k){const{chunkGraph:w,moduleGraph:j,runtimeRequirements:q}=k;const ee=S;const te=j.getParentBlock(S);const ne=w.getBlockChunkGroup(te);const ae=ne.getEntrypointChunk();q.add(N.publicPath);q.add(N.baseURI);q.add(N.getChunkScriptFilename);E.replace(ee.range[0],ee.range[1]-1,`/* worker import */ ${N.publicPath} + ${N.getChunkScriptFilename}(${JSON.stringify(ae.id)}), ${N.baseURI}`)}};j(WorkerDependency,"webpack/lib/dependencies/WorkerDependency");S.exports=WorkerDependency},76373:(S,E,k)=>{"use strict";const{pathToFileURL:w}=k(78835);const N=k(98221);const j=k(47207);const q=k(53558);const ee=k(50369);const{equals:te}=k(73910);const ne=k(35891);const{contextify:ae}=k(49197);const _e=k(69085);const ve=k(66298);const Ee=k(7257);const{harmonySpecifierTag:Te}=k(29381);const Ce=k(89017);const getUrl=S=>w(S.resource).toString();const we=["Worker","SharedWorker","navigator.serviceWorker.register()","Worker from worker_threads"];const Ne=new WeakMap;class WorkerPlugin{constructor(S,E,k){this._chunkLoading=S;this._wasmLoading=E;this._module=k}apply(S){if(this._chunkLoading){new ee(this._chunkLoading).apply(S)}if(this._wasmLoading){new _e(this._wasmLoading).apply(S)}const E=ae.bindContextCache(S.context,S.root);S.hooks.thisCompilation.tap("WorkerPlugin",((S,{normalModuleFactory:k})=>{S.dependencyFactories.set(Ce,k);S.dependencyTemplates.set(Ce,new Ce.Template);S.dependencyTemplates.set(Ee,new Ee.Template);const parseModuleUrl=(S,E)=>{if(E.type!=="NewExpression"||E.callee.type==="Super"||E.arguments.length!==2)return;const[k,w]=E.arguments;if(k.type==="SpreadElement")return;if(w.type==="SpreadElement")return;const N=S.evaluateExpression(E.callee);if(!N.isIdentifier()||N.identifier!=="URL")return;const j=S.evaluateExpression(w);if(!j.isString()||!j.string.startsWith("file://")||j.string!==getUrl(S.state.module)){return}const q=S.evaluateExpression(k);return[q,[k.range[0],w.range[1]]]};const parseObjectExpression=(S,E)=>{const k={};const w={};const N=[];let j=false;for(const q of E.properties){if(q.type==="SpreadElement"){j=true}else if(q.type==="Property"&&!q.method&&!q.computed&&q.key.type==="Identifier"){w[q.key.name]=q.value;if(!q.shorthand&&!q.value.type.endsWith("Pattern")){const E=S.evaluateExpression(q.value);if(E.isCompileTimeValue())k[q.key.name]=E.asCompileTimeValue()}}else{N.push(q)}}const q=E.properties.length>0?"comma":"single";const ee=E.properties[E.properties.length-1].range[1];return{expressions:w,otherElements:N,values:k,spread:j,insertType:q,insertLocation:ee}};const parserPlugin=(k,w)=>{if(w.worker===false)return;const ee=!Array.isArray(w.worker)?["..."]:w.worker;const handleNewWorker=w=>{if(w.arguments.length===0||w.arguments.length>2)return;const[ee,te]=w.arguments;if(ee.type==="SpreadElement")return;if(te&&te.type==="SpreadElement")return;const ae=parseModuleUrl(k,ee);if(!ae)return;const[_e,Te]=ae;if(!_e.isString())return;const{expressions:we,otherElements:Ie,values:Fe,spread:Oe,insertType:Me,insertLocation:Re}=te&&te.type==="ObjectExpression"?parseObjectExpression(k,te):{expressions:{},otherElements:[],values:{},spread:false,insertType:te?"spread":"argument",insertLocation:te?te.range:ee.range[1]};const{options:Le,errors:Be}=k.parseCommentOptions(w.range);if(Be){for(const S of Be){const{comment:E}=S;k.state.module.addWarning(new j(`Compilation error while processing magic comment(-s): /*${E.value}*/: ${S.message}`,E.loc))}}let je={};if(Le){if(Le.webpackIgnore!==undefined){if(typeof Le.webpackIgnore!=="boolean"){k.state.module.addWarning(new q(`\`webpackIgnore\` expected a boolean, but received: ${Le.webpackIgnore}.`,w.loc))}else{if(Le.webpackIgnore){return false}}}if(Le.webpackEntryOptions!==undefined){if(typeof Le.webpackEntryOptions!=="object"||Le.webpackEntryOptions===null){k.state.module.addWarning(new q(`\`webpackEntryOptions\` expected a object, but received: ${Le.webpackEntryOptions}.`,w.loc))}else{Object.assign(je,Le.webpackEntryOptions)}}if(Le.webpackChunkName!==undefined){if(typeof Le.webpackChunkName!=="string"){k.state.module.addWarning(new q(`\`webpackChunkName\` expected a string, but received: ${Le.webpackChunkName}.`,w.loc))}else{je.name=Le.webpackChunkName}}}if(!Object.prototype.hasOwnProperty.call(je,"name")&&Fe&&typeof Fe.name==="string"){je.name=Fe.name}if(je.runtime===undefined){let w=Ne.get(k.state)||0;Ne.set(k.state,w+1);let N=`${E(k.state.module.identifier())}|${w}`;const j=ne(S.outputOptions.hashFunction);j.update(N);const q=j.digest(S.outputOptions.hashDigest);je.runtime=q.slice(0,S.outputOptions.hashDigestLength)}const ze=new N({name:je.name,entryOptions:{chunkLoading:this._chunkLoading,wasmLoading:this._wasmLoading,...je}});ze.loc=w.loc;const Ue=new Ce(_e.string,Te);Ue.loc=w.loc;ze.addDependency(Ue);k.state.module.addBlock(ze);if(S.outputOptions.trustedTypes){const S=new Ee(w.arguments[0].range);S.loc=w.loc;k.state.module.addDependency(S)}if(we.type){const S=we.type;if(Fe.type!==false){const E=new ve(this._module?'"module"':"undefined",S.range);E.loc=S.loc;k.state.module.addPresentationalDependency(E);we.type=undefined}}else if(Me==="comma"){if(this._module||Oe){const S=new ve(`, type: ${this._module?'"module"':"undefined"}`,Re);S.loc=w.loc;k.state.module.addPresentationalDependency(S)}}else if(Me==="spread"){const S=new ve("Object.assign({}, ",Re[0]);const E=new ve(`, { type: ${this._module?'"module"':"undefined"} })`,Re[1]);S.loc=w.loc;E.loc=w.loc;k.state.module.addPresentationalDependency(S);k.state.module.addPresentationalDependency(E)}else if(Me==="argument"){if(this._module){const S=new ve(', { type: "module" }',Re);S.loc=w.loc;k.state.module.addPresentationalDependency(S)}}k.walkExpression(w.callee);for(const S of Object.keys(we)){if(we[S])k.walkExpression(we[S])}for(const S of Ie){k.walkProperty(S)}if(Me==="spread"){k.walkExpression(te)}return true};const processItem=S=>{if(S.endsWith("()")){k.hooks.call.for(S.slice(0,-2)).tap("WorkerPlugin",handleNewWorker)}else{const E=/^(.+?)(\(\))?\s+from\s+(.+)$/.exec(S);if(E){const S=E[1].split(".");const w=E[2];const N=E[3];(w?k.hooks.call:k.hooks.new).for(Te).tap("WorkerPlugin",(E=>{const w=k.currentTagData;if(!w||w.source!==N||!te(w.ids,S)){return}return handleNewWorker(E)}))}else{k.hooks.new.for(S).tap("WorkerPlugin",handleNewWorker)}}};for(const S of ee){if(S==="..."){we.forEach(processItem)}else processItem(S)}};k.hooks.parser.for("javascript/auto").tap("WorkerPlugin",parserPlugin);k.hooks.parser.for("javascript/esm").tap("WorkerPlugin",parserPlugin)}))}}S.exports=WorkerPlugin},36134:S=>{"use strict";S.exports=S=>{if(S.type==="FunctionExpression"||S.type==="ArrowFunctionExpression"){return{fn:S,expressions:[],needThis:false}}if(S.type==="CallExpression"&&S.callee.type==="MemberExpression"&&S.callee.object.type==="FunctionExpression"&&S.callee.property.type==="Identifier"&&S.callee.property.name==="bind"&&S.arguments.length===1){return{fn:S.callee.object,expressions:[S.arguments[0]],needThis:undefined}}if(S.type==="CallExpression"&&S.callee.type==="FunctionExpression"&&S.callee.body.type==="BlockStatement"&&S.arguments.length===1&&S.arguments[0].type==="ThisExpression"&&S.callee.body.body&&S.callee.body.body.length===1&&S.callee.body.body[0].type==="ReturnStatement"&&S.callee.body.body[0].argument&&S.callee.body.body[0].argument.type==="FunctionExpression"){return{fn:S.callee.body.body[0].argument,expressions:[],needThis:true}}}},18971:(S,E,k)=>{"use strict";const{UsageState:w}=k(76632);const processExportInfo=(S,E,k,N,j=false,q=new Set)=>{if(!N){E.push(k);return}const ee=N.getUsed(S);if(ee===w.Unused)return;if(q.has(N)){E.push(k);return}q.add(N);if(ee!==w.OnlyPropertiesUsed||!N.exportsInfo||N.exportsInfo.otherExportsInfo.getUsed(S)!==w.Unused){q.delete(N);E.push(k);return}const te=N.exportsInfo;for(const w of te.orderedExports){processExportInfo(S,E,j&&w.name==="default"?k:k.concat(w.name),w,false,q)}q.delete(N)};S.exports=processExportInfo},25726:(S,E,k)=>{"use strict";const w=k(61050);class ElectronTargetPlugin{constructor(S){this._context=S}apply(S){new w("node-commonjs",["clipboard","crash-reporter","electron","ipc","native-image","original-fs","screen","shell"]).apply(S);switch(this._context){case"main":new w("node-commonjs",["app","auto-updater","browser-window","content-tracing","dialog","global-shortcut","ipc-main","menu","menu-item","power-monitor","power-save-blocker","protocol","session","tray","web-contents"]).apply(S);break;case"preload":case"renderer":new w("node-commonjs",["desktop-capturer","ipc-renderer","remote","web-frame"]).apply(S);break}}}S.exports=ElectronTargetPlugin},44547:(S,E,k)=>{"use strict";const w=k(81627);class BuildCycleError extends w{constructor(S){super("There is a circular build dependency, which makes it impossible to create this module");this.name="BuildCycleError";this.module=S}}S.exports=BuildCycleError},33228:(S,E,k)=>{"use strict";const w=k(66804);class ExportWebpackRequireRuntimeModule extends w{constructor(){super("export webpack runtime",w.STAGE_ATTACH)}shouldIsolate(){return false}generate(){return"export default __webpack_require__;"}}S.exports=ExportWebpackRequireRuntimeModule},57378:(S,E,k)=>{"use strict";const{ConcatSource:w,RawSource:N}=k(48135);const{RuntimeGlobals:j}=k(86443);const q=k(22352);const ee=k(58159);const{getCompilationHooks:te,getChunkFilenameTemplate:ne}=k(18161);const{generateEntryStartup:ae,updateHashForEntryStartup:_e}=k(13085);class ModuleChunkFormatPlugin{apply(S){S.hooks.thisCompilation.tap("ModuleChunkFormatPlugin",(S=>{S.hooks.additionalChunkRuntimeRequirements.tap("ModuleChunkFormatPlugin",((E,k)=>{if(E.hasRuntime())return;if(S.chunkGraph.getNumberOfEntryModules(E)>0){k.add(j.require);k.add(j.startupEntrypoint);k.add(j.externalInstallChunk)}}));const E=te(S);E.renderChunk.tap("ModuleChunkFormatPlugin",((k,te)=>{const{chunk:_e,chunkGraph:ve,runtimeTemplate:Ee}=te;const Te=_e instanceof q?_e:null;const Ce=new w;if(Te){throw new Error("HMR is not implemented for module chunk format yet")}else{Ce.add(`export const id = ${JSON.stringify(_e.id)};\n`);Ce.add(`export const ids = ${JSON.stringify(_e.ids)};\n`);Ce.add(`export const modules = `);Ce.add(k);Ce.add(`;\n`);const q=ve.getChunkRuntimeModulesInOrder(_e);if(q.length>0){Ce.add("export const runtime =\n");Ce.add(ee.renderChunkRuntimeModules(q,te))}const Te=Array.from(ve.getChunkEntryModulesWithChunkGroupIterable(_e));if(Te.length>0){const k=Te[0][1].getRuntimeChunk();const q=S.getPath(ne(_e,S.outputOptions),{chunk:_e,contentHashType:"javascript"}).split("/");const ee=S.getPath(ne(k,S.outputOptions),{chunk:k,contentHashType:"javascript"}).split("/");const we=q.pop();while(q.length>0&&ee.length>0&&q[0]===ee[0]){q.shift();ee.shift()}const Ne=(q.length>0?"../".repeat(q.length):"./")+ee.join("/");const Ie=new w;Ie.add(Ce);Ie.add(";\n\n// load runtime\n");Ie.add(`import __webpack_require__ from ${JSON.stringify(Ne)};\n`);Ie.add(`import * as __webpack_self_exports__ from ${JSON.stringify("./"+we)};\n`);Ie.add(`${j.externalInstallChunk}(__webpack_self_exports__);\n`);const Fe=new N(ae(ve,Ee,Te,_e,false));Ie.add(E.renderStartup.call(Fe,Te[Te.length-1][0],{...te,inlined:false}));return Ie}}return Ce}));E.chunkHash.tap("ModuleChunkFormatPlugin",((S,E,{chunkGraph:k,runtimeTemplate:w})=>{if(S.hasRuntime())return;E.update("ModuleChunkFormatPlugin");E.update("1");const N=Array.from(k.getChunkEntryModulesWithChunkGroupIterable(S));_e(E,k,N,S)}))}))}}S.exports=ModuleChunkFormatPlugin},90662:(S,E,k)=>{"use strict";const w=k(76150);const N=k(33228);const j=k(61451);class ModuleChunkLoadingPlugin{apply(S){S.hooks.thisCompilation.tap("ModuleChunkLoadingPlugin",(S=>{const E=S.outputOptions.chunkLoading;const isEnabledForChunk=S=>{const k=S.getEntryOptions();const w=k&&k.chunkLoading||E;return w==="import"};const k=new WeakSet;const handler=(E,N)=>{if(k.has(E))return;k.add(E);if(!isEnabledForChunk(E))return;N.add(w.moduleFactoriesAddOnly);N.add(w.hasOwnProperty);S.addRuntimeModule(E,new j(N))};S.hooks.runtimeRequirementInTree.for(w.ensureChunkHandlers).tap("ModuleChunkLoadingPlugin",handler);S.hooks.runtimeRequirementInTree.for(w.baseURI).tap("ModuleChunkLoadingPlugin",handler);S.hooks.runtimeRequirementInTree.for(w.externalInstallChunk).tap("ModuleChunkLoadingPlugin",handler);S.hooks.runtimeRequirementInTree.for(w.onChunksLoaded).tap("ModuleChunkLoadingPlugin",handler);S.hooks.runtimeRequirementInTree.for(w.externalInstallChunk).tap("ModuleChunkLoadingPlugin",((E,k)=>{if(!isEnabledForChunk(E))return;S.addRuntimeModule(E,new N)}));S.hooks.runtimeRequirementInTree.for(w.ensureChunkHandlers).tap("ModuleChunkLoadingPlugin",((S,E)=>{if(!isEnabledForChunk(S))return;E.add(w.getChunkScriptFilename)}))}))}}S.exports=ModuleChunkLoadingPlugin},61451:(S,E,k)=>{"use strict";const{SyncWaterfallHook:w}=k(92960);const N=k(3080);const j=k(76150);const q=k(66804);const ee=k(58159);const{getChunkFilenameTemplate:te,chunkHasJs:ne}=k(18161);const{getInitialChunkIds:ae}=k(13085);const _e=k(87274);const{getUndoPath:ve}=k(49197);const Ee=new WeakMap;class ModuleChunkLoadingRuntimeModule extends q{static getCompilationHooks(S){if(!(S instanceof N)){throw new TypeError("The 'compilation' argument must be an instance of Compilation")}let E=Ee.get(S);if(E===undefined){E={linkPreload:new w(["source","chunk"]),linkPrefetch:new w(["source","chunk"])};Ee.set(S,E)}return E}constructor(S){super("import chunk loading",q.STAGE_ATTACH);this._runtimeRequirements=S}generate(){const{compilation:S,chunk:E}=this;const{runtimeTemplate:k,chunkGraph:w,outputOptions:{importFunctionName:N,importMetaName:q}}=S;const Ee=j.ensureChunkHandlers;const Te=this._runtimeRequirements.has(j.baseURI);const Ce=this._runtimeRequirements.has(j.externalInstallChunk);const we=this._runtimeRequirements.has(j.ensureChunkHandlers);const Ne=this._runtimeRequirements.has(j.onChunksLoaded);const Ie=w.getChunkConditionMap(E,ne);const Fe=_e(Ie);const Oe=ae(E,w);const Me=this.compilation.getPath(te(E,this.compilation.outputOptions),{chunk:E,contentHashType:"javascript"});const Re=ve(Me,this.compilation.outputOptions.path,true);return ee.asString([Te?ee.asString([`${j.baseURI} = new URL(${JSON.stringify(Re)}, ${q}.url);`]):"// no baseURI","","// object to store loaded and loading chunks","// undefined = chunk not loaded, null = chunk preloaded/prefetched","// [resolve, reject, Promise] = chunk loading, 0 = chunk loaded","var installedChunks = {",ee.indent(Array.from(Oe,(S=>`${JSON.stringify(S)}: 0`)).join(",\n")),"};","",we||Ce?`var installChunk = ${k.basicFunction("data",[k.destructureObject(["ids","modules","runtime"],"data"),'// add "modules" to the modules object,','// then flag all "ids" as loaded and fire callback',"var moduleId, chunkId, i = 0;","for(moduleId in modules) {",ee.indent([`if(${j.hasOwnProperty}(modules, moduleId)) {`,ee.indent(`${j.moduleFactories}[moduleId] = modules[moduleId];`),"}"]),"}","if(runtime) runtime(__webpack_require__);","for(;i < ids.length; i++) {",ee.indent(["chunkId = ids[i];",`if(${j.hasOwnProperty}(installedChunks, chunkId) && installedChunks[chunkId]) {`,ee.indent("installedChunks[chunkId][0]();"),"}","installedChunks[ids[i]] = 0;"]),"}",Ne?`${j.onChunksLoaded}();`:""])}`:"// no install chunk","",we?ee.asString([`${Ee}.j = ${k.basicFunction("chunkId, promises",Fe!==false?ee.indent(["// import() chunk loading for javascript",`var installedChunkData = ${j.hasOwnProperty}(installedChunks, chunkId) ? installedChunks[chunkId] : undefined;`,'if(installedChunkData !== 0) { // 0 means "already installed".',ee.indent(["",'// a Promise means "currently loading".',"if(installedChunkData) {",ee.indent(["promises.push(installedChunkData[1]);"]),"} else {",ee.indent([Fe===true?"if(true) { // all chunks have JS":`if(${Fe("chunkId")}) {`,ee.indent(["// setup Promise in chunk cache",`var promise = ${N}(${JSON.stringify(Re)} + ${j.getChunkScriptFilename}(chunkId)).then(installChunk, ${k.basicFunction("e",["if(installedChunks[chunkId] !== 0) installedChunks[chunkId] = undefined;","throw e;"])});`,`var promise = Promise.race([promise, new Promise(${k.expressionFunction(`installedChunkData = installedChunks[chunkId] = [resolve]`,"resolve")})])`,`promises.push(installedChunkData[1] = promise);`]),"} else installedChunks[chunkId] = 0;"]),"}"]),"}"]):ee.indent(["installedChunks[chunkId] = 0;"]))};`]):"// no chunk on demand loading","",Ce?ee.asString([`${j.externalInstallChunk} = installChunk;`]):"// no external install chunk","",Ne?`${j.onChunksLoaded}.j = ${k.returningFunction("installedChunks[chunkId] === 0","chunkId")};`:"// no on chunks loaded"])}}S.exports=ModuleChunkLoadingRuntimeModule},72380:S=>{"use strict";const formatPosition=S=>{if(S&&typeof S==="object"){if("line"in S&&"column"in S){return`${S.line}:${S.column}`}else if("line"in S){return`${S.line}:?`}}return""};const formatLocation=S=>{if(S&&typeof S==="object"){if("start"in S&&S.start&&"end"in S&&S.end){if(typeof S.start==="object"&&typeof S.start.line==="number"&&typeof S.end==="object"&&typeof S.end.line==="number"&&typeof S.end.column==="number"&&S.start.line===S.end.line){return`${formatPosition(S.start)}-${S.end.column}`}else if(typeof S.start==="object"&&typeof S.start.line==="number"&&typeof S.start.column!=="number"&&typeof S.end==="object"&&typeof S.end.line==="number"&&typeof S.end.column!=="number"){return`${S.start.line}-${S.end.line}`}else{return`${formatPosition(S.start)}-${formatPosition(S.end)}`}}if("start"in S&&S.start){return formatPosition(S.start)}if("name"in S&&"index"in S){return`${S.name}[${S.index}]`}if("name"in S){return S.name}}return""};S.exports=formatLocation},49464:S=>{"use strict";var E=undefined;var k=undefined;var w=undefined;var N=undefined;var j=undefined;var q=undefined;var ee=undefined;S.exports=function(){var S={};var te=k;var ne;var ae=[];var _e=[];var ve="idle";var Ee;var Te;var Ce;w=S;E.push((function(S){var E=S.module;var k=createRequire(S.require,S.id);E.hot=createModuleHotObject(S.id,E);E.parents=ae;E.children=[];ae=[];S.require=k}));j={};q={};function createRequire(S,E){var k=te[E];if(!k)return S;var fn=function(w){if(k.hot.active){if(te[w]){var N=te[w].parents;if(N.indexOf(E)===-1){N.push(E)}}else{ae=[E];ne=w}if(k.children.indexOf(w)===-1){k.children.push(w)}}else{console.warn("[HMR] unexpected require("+w+") from disposed module "+E);ae=[]}return S(w)};var createPropertyDescriptor=function(E){return{configurable:true,enumerable:true,get:function(){return S[E]},set:function(k){S[E]=k}}};for(var w in S){if(Object.prototype.hasOwnProperty.call(S,w)&&w!=="e"){Object.defineProperty(fn,w,createPropertyDescriptor(w))}}fn.e=function(E){return trackBlockingPromise(S.e(E))};return fn}function createModuleHotObject(E,k){var w=ne!==E;var N={_acceptedDependencies:{},_acceptedErrorHandlers:{},_declinedDependencies:{},_selfAccepted:false,_selfDeclined:false,_selfInvalidated:false,_disposeHandlers:[],_main:w,_requireSelf:function(){ae=k.parents.slice();ne=w?undefined:E;ee(E)},active:true,accept:function(S,E,k){if(S===undefined)N._selfAccepted=true;else if(typeof S==="function")N._selfAccepted=S;else if(typeof S==="object"&&S!==null){for(var w=0;w=0)N._disposeHandlers.splice(E,1)},invalidate:function(){this._selfInvalidated=true;switch(ve){case"idle":Te=[];Object.keys(q).forEach((function(S){q[S](E,Te)}));setStatus("ready");break;case"ready":Object.keys(q).forEach((function(S){q[S](E,Te)}));break;case"prepare":case"check":case"dispose":case"apply":(Ce=Ce||[]).push(E);break;default:break}},check:hotCheck,apply:hotApply,status:function(S){if(!S)return ve;_e.push(S)},addStatusHandler:function(S){_e.push(S)},removeStatusHandler:function(S){var E=_e.indexOf(S);if(E>=0)_e.splice(E,1)},data:S[E]};ne=undefined;return N}function setStatus(S){ve=S;for(var E=0;E<_e.length;E++)_e[E].call(null,S)}function trackBlockingPromise(S){switch(ve){case"ready":setStatus("prepare");Ee.push(S);waitForBlockingPromises((function(){setStatus("ready")}));return S;case"prepare":Ee.push(S);return S;default:return S}}function waitForBlockingPromises(S){if(Ee.length===0)return S();var E=Ee;Ee=[];return Promise.all(E).then((function(){return waitForBlockingPromises(S)}))}function hotCheck(S){if(ve!=="idle"){throw new Error("check() is only allowed in idle status")}setStatus("check");return N().then((function(E){if(!E){setStatus(applyInvalidatedModules()?"ready":"idle");return null}setStatus("prepare");var k=[];Ee=[];Te=[];return Promise.all(Object.keys(j).reduce((function(S,w){j[w](E.c,E.r,E.m,S,Te,k);return S}),[])).then((function(){return waitForBlockingPromises((function(){if(S){return internalApply(S)}else{setStatus("ready");return k}}))}))}))}function hotApply(S){if(ve!=="ready"){return Promise.resolve().then((function(){throw new Error("apply() is only allowed in ready status")}))}return internalApply(S)}function internalApply(S){S=S||{};applyInvalidatedModules();var E=Te.map((function(E){return E(S)}));Te=undefined;var k=E.map((function(S){return S.error})).filter(Boolean);if(k.length>0){setStatus("abort");return Promise.resolve().then((function(){throw k[0]}))}setStatus("dispose");E.forEach((function(S){if(S.dispose)S.dispose()}));setStatus("apply");var w;var reportError=function(S){if(!w)w=S};var N=[];E.forEach((function(S){if(S.apply){var E=S.apply(reportError);if(E){for(var k=0;k{"use strict";const w=k(76150);const N=k(66804);const j=k(58159);class HotModuleReplacementRuntimeModule extends N{constructor(){super("hot module replacement",N.STAGE_BASIC)}generate(){return j.getFunctionContent(k(49464)).replace(/\$getFullHash\$/g,w.getFullHash).replace(/\$interceptModuleExecution\$/g,w.interceptModuleExecution).replace(/\$moduleCache\$/g,w.moduleCache).replace(/\$hmrModuleData\$/g,w.hmrModuleData).replace(/\$hmrDownloadManifest\$/g,w.hmrDownloadManifest).replace(/\$hmrInvalidateModuleHandlers\$/g,w.hmrInvalidateModuleHandlers).replace(/\$hmrDownloadUpdateHandlers\$/g,w.hmrDownloadUpdateHandlers)}}S.exports=HotModuleReplacementRuntimeModule},22215:S=>{"use strict";var E=undefined;var k=undefined;var w=undefined;var N=undefined;var j=undefined;var q=undefined;var ee=undefined;var te=undefined;var ne=undefined;var ae=undefined;S.exports=function(){var S;var _e;var ve;var Ee;function applyHandler(k){if(j)delete j.$key$Hmr;S=undefined;function getAffectedModuleEffects(S){var E=[S];var k={};var N=E.map((function(S){return{chain:[S],id:S}}));while(N.length>0){var j=N.pop();var q=j.id;var ee=j.chain;var te=w[q];if(!te||te.hot._selfAccepted&&!te.hot._selfInvalidated)continue;if(te.hot._selfDeclined){return{type:"self-declined",chain:ee,moduleId:q}}if(te.hot._main){return{type:"unaccepted",chain:ee,moduleId:q}}for(var ne=0;ne ")}switch(Ie.type){case"self-declined":if(k.onDeclined)k.onDeclined(Ie);if(!k.ignoreDeclined)Fe=new Error("Aborted because of self decline: "+Ie.moduleId+Re);break;case"declined":if(k.onDeclined)k.onDeclined(Ie);if(!k.ignoreDeclined)Fe=new Error("Aborted because of declined dependency: "+Ie.moduleId+" in "+Ie.parentId+Re);break;case"unaccepted":if(k.onUnaccepted)k.onUnaccepted(Ie);if(!k.ignoreUnaccepted)Fe=new Error("Aborted because "+we+" is not accepted"+Re);break;case"accepted":if(k.onAccepted)k.onAccepted(Ie);Oe=true;break;case"disposed":if(k.onDisposed)k.onDisposed(Ie);Me=true;break;default:throw new Error("Unexception type "+Ie.type)}if(Fe){return{error:Fe}}if(Oe){Te[we]=Ne;addAllToSet(ne,Ie.outdatedModules);for(we in Ie.outdatedDependencies){if(q(Ie.outdatedDependencies,we)){if(!te[we])te[we]=[];addAllToSet(te[we],Ie.outdatedDependencies[we])}}}if(Me){addAllToSet(ne,[Ie.moduleId]);Te[we]=Ce}}}_e=undefined;var Le=[];for(var Be=0;Be0){var N=k.pop();var j=w[N];if(!j)continue;var ae={};var _e=j.hot._disposeHandlers;for(Be=0;Be<_e.length;Be++){_e[Be].call(null,ae)}ee[N]=ae;j.hot.active=false;delete w[N];delete te[N];for(Be=0;Be=0){Ee.parents.splice(S,1)}}}var Te;for(var Ce in te){if(q(te,Ce)){j=w[Ce];if(j){Ue=te[Ce];for(Be=0;Be=0)j.children.splice(S,1)}}}}},apply:function(S){for(var E in Te){if(q(Te,E)){N[E]=Te[E]}}for(var j=0;j{"use strict";const{RawSource:w}=k(48135);const N=k(98221);const j=k(28706);const q=k(53453);const ee=k(40674);const te=k(76150);const ne=k(58159);const ae=k(37313);const{registerNotSerializable:_e}=k(24568);const ve=new Set(["import.meta.webpackHot.accept","import.meta.webpackHot.decline","module.hot.accept","module.hot.decline"]);const checkTest=(S,E)=>{if(S===undefined)return true;if(typeof S==="function"){return S(E)}if(typeof S==="string"){const k=E.nameForCondition();return k&&k.startsWith(S)}if(S instanceof RegExp){const k=E.nameForCondition();return k&&S.test(k)}return false};const Ee=new Set(["javascript"]);class LazyCompilationDependency extends j{constructor(S){super();this.proxyModule=S}get category(){return"esm"}get type(){return"lazy import()"}getResourceIdentifier(){return this.proxyModule.originalModule.identifier()}}_e(LazyCompilationDependency);class LazyCompilationProxyModule extends q{constructor(S,E,k,w,N,j){super("lazy-compilation-proxy",S,E.layer);this.originalModule=E;this.request=k;this.client=w;this.data=N;this.active=j}identifier(){return`lazy-compilation-proxy|${this.originalModule.identifier()}`}readableIdentifier(S){return`lazy-compilation-proxy ${this.originalModule.readableIdentifier(S)}`}updateCacheModule(S){super.updateCacheModule(S);const E=S;this.originalModule=E.originalModule;this.request=E.request;this.client=E.client;this.data=E.data;this.active=E.active}libIdent(S){return`${this.originalModule.libIdent(S)}!lazy-compilation-proxy`}needBuild(S,E){E(null,!this.buildInfo||this.buildInfo.active!==this.active)}build(S,E,k,w,j){this.buildInfo={active:this.active};this.buildMeta={};this.clearDependenciesAndBlocks();const q=new ae(this.client);this.addDependency(q);if(this.active){const S=new LazyCompilationDependency(this);const E=new N({});E.addDependency(S);this.addBlock(E)}j()}getSourceTypes(){return Ee}size(S){return 200}codeGeneration({runtimeTemplate:S,chunkGraph:E,moduleGraph:k}){const N=new Map;const j=new Set;j.add(te.module);const q=this.dependencies[0];const ee=k.getModule(q);const ae=this.blocks[0];const _e=ne.asString([`var client = ${S.moduleExports({module:ee,chunkGraph:E,request:q.userRequest,runtimeRequirements:j})}`,`var data = ${JSON.stringify(this.data)};`]);const ve=ne.asString([`var dispose = client.keepAlive({ data: data, active: ${JSON.stringify(!!ae)}, module: module, onError: onError });`]);let Ee;if(ae){const w=ae.dependencies[0];const N=k.getModule(w);Ee=ne.asString([_e,`module.exports = ${S.moduleNamespacePromise({chunkGraph:E,block:ae,module:N,request:this.request,strict:false,message:"import()",runtimeRequirements:j})};`,"if (module.hot) {",ne.indent(["module.hot.accept();",`module.hot.accept(${JSON.stringify(E.getModuleId(N))}, function() { module.hot.invalidate(); });`,"module.hot.dispose(function(data) { delete data.resolveSelf; dispose(data); });","if (module.hot.data && module.hot.data.resolveSelf) module.hot.data.resolveSelf(module.exports);"]),"}","function onError() { /* ignore */ }",ve])}else{Ee=ne.asString([_e,"var resolveSelf, onError;",`module.exports = new Promise(function(resolve, reject) { resolveSelf = resolve; onError = reject; });`,"if (module.hot) {",ne.indent(["module.hot.accept();","if (module.hot.data && module.hot.data.resolveSelf) module.hot.data.resolveSelf(module.exports);","module.hot.dispose(function(data) { data.resolveSelf = resolveSelf; dispose(data); });"]),"}",ve])}N.set("javascript",new w(Ee));return{sources:N,runtimeRequirements:j}}updateHash(S,E){super.updateHash(S,E);S.update(this.active?"active":"");S.update(JSON.stringify(this.data))}}_e(LazyCompilationProxyModule);class LazyCompilationDependencyFactory extends ee{constructor(S){super();this._factory=S}create(S,E){const k=S.dependencies[0];E(null,{module:k.proxyModule.originalModule})}}class LazyCompilationPlugin{constructor({backend:S,client:E,entries:k,imports:w,test:N}){this.backend=S;this.client=E;this.entries=k;this.imports=w;this.test=N}apply(S){let E;S.hooks.beforeCompile.tapAsync("LazyCompilationPlugin",((k,w)=>{if(E!==undefined)return w();const N=this.backend(S,this.client,((S,k)=>{if(S)return w(S);E=k;w()}));if(N&&N.then){N.then((S=>{E=S;w()}),w)}}));S.hooks.thisCompilation.tap("LazyCompilationPlugin",((k,{normalModuleFactory:w})=>{w.hooks.module.tap("LazyCompilationPlugin",((k,w,N)=>{if(N.dependencies.every((S=>ve.has(S.type)||this.imports&&(S.type==="import()"||S.type==="import() context element")||this.entries&&S.type==="entry"))&&!/webpack[/\\]hot[/\\]|webpack-dev-server[/\\]client/.test(N.request)&&checkTest(this.test,k)){const w=E.module(k);if(!w)return;const{client:j,data:q,active:ee}=w;return new LazyCompilationProxyModule(S.context,k,N.request,j,q,ee)}}));k.dependencyFactories.set(LazyCompilationDependency,new LazyCompilationDependencyFactory)}));S.hooks.shutdown.tapAsync("LazyCompilationPlugin",(S=>{E.dispose(S)}))}}S.exports=LazyCompilationPlugin},64244:(S,E,k)=>{"use strict";const w=k(98605);S.exports=(S,E,k)=>{const N=S.getInfrastructureLogger("LazyCompilationBackend");const j=new Map;const q="/lazy-compilation-using-";const requestListener=(E,k)=>{const w=E.url.slice(q.length).split("@");E.socket.on("close",(()=>{setTimeout((()=>{for(const S of w){const E=j.get(S)||0;j.set(S,E-1);if(E===1){N.log(`${S} is no longer in use. Next compilation will skip this module.`)}}}),12e4)}));E.socket.setNoDelay(true);k.writeHead(200,{"content-type":"text/event-stream","Access-Control-Allow-Origin":"*"});k.write("\n");let ee=false;for(const S of w){const E=j.get(S)||0;j.set(S,E+1);if(E===0){N.log(`${S} is now in use and will be compiled.`);ee=true}}if(ee&&S.watching)S.watching.invalidate()};const ee=w.createServer(requestListener);let te=false;const ne=new Set;ee.on("connection",(S=>{ne.add(S);S.on("close",(()=>{ne.delete(S)}));if(te)S.destroy()}));ee.listen((S=>{if(S)return k(S);const w=ee.address();if(typeof w==="string")throw new Error("addr must not be a string");const ae=w.address==="::"||w.address==="0.0.0.0"?`http://localhost:${w.port}`:w.family==="IPv6"?`http://[${w.address}]:${w.port}`:`http://${w.address}:${w.port}`;N.log(`Server-Sent-Events server for lazy compilation open at ${ae}.`);k(null,{dispose(S){te=true;ee.off("request",requestListener);ee.close((E=>{S(E)}));for(const S of ne){S.destroy(new Error("Server is disposing"))}},module(S){const k=`${encodeURIComponent(S.identifier().replace(/\\/g,"/").replace(/@/g,"_")).replace(/%(2F|3A|24|26|2B|2C|3B|3D|3A)/g,decodeURIComponent)}`;const w=j.get(k)>0;return{client:`${E}?${encodeURIComponent(ae+q)}`,data:k,active:w}}})}))}},30484:(S,E,k)=>{"use strict";const{find:w}=k(26221);const{compareModulesByPreOrderIndexOrIdentifier:N,compareModulesByPostOrderIndexOrIdentifier:j}=k(68673);class ChunkModuleIdRangePlugin{constructor(S){this.options=S}apply(S){const E=this.options;S.hooks.compilation.tap("ChunkModuleIdRangePlugin",(S=>{const k=S.moduleGraph;S.hooks.moduleIds.tap("ChunkModuleIdRangePlugin",(q=>{const ee=S.chunkGraph;const te=w(S.chunks,(S=>S.name===E.name));if(!te){throw new Error(`ChunkModuleIdRangePlugin: Chunk with name '${E.name}"' was not found`)}let ne;if(E.order){let S;switch(E.order){case"index":case"preOrderIndex":S=N(k);break;case"index2":case"postOrderIndex":S=j(k);break;default:throw new Error("ChunkModuleIdRangePlugin: unexpected value of order")}ne=ee.getOrderedChunkModules(te,S)}else{ne=Array.from(q).filter((S=>ee.isModuleInChunk(S,te))).sort(N(k))}let ae=E.start||0;for(let S=0;SE.end)break}}))}))}}S.exports=ChunkModuleIdRangePlugin},90444:(S,E,k)=>{"use strict";const{compareChunksNatural:w}=k(68673);const{getFullChunkName:N,getUsedChunkIds:j,assignDeterministicIds:q}=k(30328);class DeterministicChunkIdsPlugin{constructor(S){this.options=S||{}}apply(S){S.hooks.compilation.tap("DeterministicChunkIdsPlugin",(E=>{E.hooks.chunkIds.tap("DeterministicChunkIdsPlugin",(k=>{const ee=E.chunkGraph;const te=this.options.context?this.options.context:S.context;const ne=this.options.maxLength||3;const ae=w(ee);const _e=j(E);q(Array.from(k).filter((S=>S.id===null)),(E=>N(E,ee,te,S.root)),ae,((S,E)=>{const k=_e.size;_e.add(`${E}`);if(k===_e.size)return false;S.id=E;S.ids=[E];return true}),[Math.pow(10,ne)],10,_e.size)}))}))}}S.exports=DeterministicChunkIdsPlugin},35579:(S,E,k)=>{"use strict";const{compareModulesByPreOrderIndexOrIdentifier:w}=k(68673);const{getUsedModuleIds:N,getFullModuleName:j,assignDeterministicIds:q}=k(30328);class DeterministicModuleIdsPlugin{constructor(S){this.options=S||{}}apply(S){S.hooks.compilation.tap("DeterministicModuleIdsPlugin",(E=>{E.hooks.moduleIds.tap("DeterministicModuleIdsPlugin",(k=>{const ee=E.chunkGraph;const te=this.options.context?this.options.context:S.context;const ne=this.options.maxLength||3;const ae=N(E);q(Array.from(k).filter((S=>{if(!S.needId)return false;if(ee.getNumberOfModuleChunks(S)===0)return false;return ee.getModuleId(S)===null})),(E=>j(E,te,S.root)),w(E.moduleGraph),((S,E)=>{const k=ae.size;ae.add(`${E}`);if(k===ae.size)return false;ee.setModuleId(S,E);return true}),[Math.pow(10,ne)],10,ae.size)}))}))}}S.exports=DeterministicModuleIdsPlugin},35853:(S,E,k)=>{"use strict";S=k.nmd(S);const{compareModulesByPreOrderIndexOrIdentifier:w}=k(68673);const N=k(35817);const j=k(35891);const{getUsedModuleIds:q,getFullModuleName:ee}=k(30328);const te=N(k(42959),(()=>k(1842)),{name:"Hashed Module Ids Plugin",baseDataPath:"options"});class HashedModuleIdsPlugin{constructor(S={}){te(S);this.options={context:null,hashFunction:"md4",hashDigest:"base64",hashDigestLength:4,...S}}apply(E){const k=this.options;E.hooks.compilation.tap("HashedModuleIdsPlugin",(N=>{N.hooks.moduleIds.tap("HashedModuleIdsPlugin",(te=>{const ne=N.chunkGraph;const ae=this.options.context?this.options.context:E.context;const _e=q(N);const ve=Array.from(te).filter((E=>{if(!E.needId)return false;if(ne.getNumberOfModuleChunks(E)===0)return false;return ne.getModuleId(S)===null})).sort(w(N.moduleGraph));for(const S of ve){const w=ee(S,ae,E.root);const N=j(k.hashFunction);N.update(w||"");const q=N.digest(k.hashDigest);let te=k.hashDigestLength;while(_e.has(q.substr(0,te)))te++;const ve=q.substr(0,te);ne.setModuleId(S,ve);_e.add(ve)}}))}))}}S.exports=HashedModuleIdsPlugin},30328:(S,E,k)=>{"use strict";const w=k(35891);const{makePathsRelative:N}=k(49197);const j=k(12631);const getHash=(S,E)=>{const k=w("md4");k.update(S);const N=k.digest("hex");return N.substr(0,E)};const avoidNumber=S=>{if(S.length>21)return S;const E=S.charCodeAt(0);if(E<49){if(E!==45)return S}else if(E>57){return S}if(S===+S+""){return`_${S}`}return S};const requestToId=S=>S.replace(/^(\.\.?\/)+/,"").replace(/(^[.-]|[^a-zA-Z0-9_-])+/g,"_");E.requestToId=requestToId;const shortenLongString=(S,E)=>{if(S.length<100)return S;return S.slice(0,100-6-E.length)+E+getHash(S,6)};const getShortModuleName=(S,E,k)=>{const w=S.libIdent({context:E,associatedObjectForCache:k});if(w)return avoidNumber(w);const j=S.nameForCondition();if(j)return avoidNumber(N(E,j,k));return""};E.getShortModuleName=getShortModuleName;const getLongModuleName=(S,E,k,w)=>{const N=getFullModuleName(E,k,w);return`${S}?${getHash(N,4)}`};E.getLongModuleName=getLongModuleName;const getFullModuleName=(S,E,k)=>N(E,S.identifier(),k);E.getFullModuleName=getFullModuleName;const getShortChunkName=(S,E,k,w,N)=>{const j=E.getChunkRootModules(S);const q=j.map((S=>requestToId(getShortModuleName(S,k,N))));S.idNameHints.sort();const ee=Array.from(S.idNameHints).concat(q).filter(Boolean).join(w);return shortenLongString(ee,w)};E.getShortChunkName=getShortChunkName;const getLongChunkName=(S,E,k,w,N)=>{const j=E.getChunkRootModules(S);const q=j.map((S=>requestToId(getShortModuleName(S,k,N))));const ee=j.map((S=>requestToId(getLongModuleName("",S,k,N))));S.idNameHints.sort();const te=Array.from(S.idNameHints).concat(q,ee).filter(Boolean).join(w);return shortenLongString(te,w)};E.getLongChunkName=getLongChunkName;const getFullChunkName=(S,E,k,w)=>{if(S.name)return S.name;const j=E.getChunkRootModules(S);const q=j.map((S=>N(k,S.identifier(),w)));return q.join()};E.getFullChunkName=getFullChunkName;const addToMapOfItems=(S,E,k)=>{let w=S.get(E);if(w===undefined){w=[];S.set(E,w)}w.push(k)};const getUsedModuleIds=S=>{const E=S.chunkGraph;const k=new Set;if(S.usedModuleIds){for(const E of S.usedModuleIds){k.add(E+"")}}for(const w of S.modules){const S=E.getModuleId(w);if(S!==null){k.add(S+"")}}return k};E.getUsedModuleIds=getUsedModuleIds;const getUsedChunkIds=S=>{const E=new Set;if(S.usedChunkIds){for(const k of S.usedChunkIds){E.add(k+"")}}for(const k of S.chunks){const S=k.id;if(S!==null){E.add(S+"")}}return E};E.getUsedChunkIds=getUsedChunkIds;const assignNames=(S,E,k,w,N,j)=>{const q=new Map;for(const k of S){const S=E(k);addToMapOfItems(q,S,k)}const ee=new Map;for(const[S,E]of q){if(E.length>1||!S){for(const w of E){const E=k(w,S);addToMapOfItems(ee,E,w)}}else{addToMapOfItems(ee,S,E[0])}}const te=[];for(const[S,E]of ee){if(!S){for(const S of E){te.push(S)}}else if(E.length===1&&!N.has(S)){j(E[0],S);N.add(S)}else{E.sort(w);let k=0;for(const w of E){while(ee.has(S+k)&&N.has(S+k))k++;j(w,S+k);N.add(S+k);k++}}}te.sort(w);return te};E.assignNames=assignNames;const assignDeterministicIds=(S,E,k,w,N=[10],q=10,ee=0)=>{S.sort(k);const te=Math.min(Math.ceil(S.length*20)+ee,Number.MAX_SAFE_INTEGER);let ne=0;let ae=N[ne];while(ae{const k=E.chunkGraph;const w=getUsedModuleIds(E);let N=0;let j;if(w.size>0){j=S=>{if(k.getModuleId(S)===null){while(w.has(N+""))N++;k.setModuleId(S,N++)}}}else{j=S=>{if(k.getModuleId(S)===null){k.setModuleId(S,N++)}}}for(const E of S){j(E)}};E.assignAscendingModuleIds=assignAscendingModuleIds;const assignAscendingChunkIds=(S,E)=>{const k=getUsedChunkIds(E);let w=0;if(k.size>0){for(const E of S){if(E.id===null){while(k.has(w+""))w++;E.id=w;E.ids=[w];w++}}}else{for(const E of S){if(E.id===null){E.id=w;E.ids=[w];w++}}}};E.assignAscendingChunkIds=assignAscendingChunkIds},64779:(S,E,k)=>{"use strict";const{compareChunksNatural:w}=k(68673);const{getShortChunkName:N,getLongChunkName:j,assignNames:q,getUsedChunkIds:ee,assignAscendingChunkIds:te}=k(30328);class NamedChunkIdsPlugin{constructor(S){this.delimiter=S&&S.delimiter||"-";this.context=S&&S.context}apply(S){S.hooks.compilation.tap("NamedChunkIdsPlugin",(E=>{E.hooks.chunkIds.tap("NamedChunkIdsPlugin",(k=>{const ne=E.chunkGraph;const ae=this.context?this.context:S.context;const _e=this.delimiter;const ve=q(Array.from(k).filter((S=>{if(S.name){S.id=S.name;S.ids=[S.name]}return S.id===null})),(E=>N(E,ne,ae,_e,S.root)),(E=>j(E,ne,ae,_e,S.root)),w(ne),ee(E),((S,E)=>{S.id=E;S.ids=[E]}));if(ve.length>0){te(ve,E)}}))}))}}S.exports=NamedChunkIdsPlugin},9297:(S,E,k)=>{"use strict";const{compareModulesByIdentifier:w}=k(68673);const{getShortModuleName:N,getLongModuleName:j,assignNames:q,getUsedModuleIds:ee,assignAscendingModuleIds:te}=k(30328);class NamedModuleIdsPlugin{constructor(S){this.options=S||{}}apply(S){const{root:E}=S;S.hooks.compilation.tap("NamedModuleIdsPlugin",(k=>{k.hooks.moduleIds.tap("NamedModuleIdsPlugin",(ne=>{const ae=k.chunkGraph;const _e=this.options.context?this.options.context:S.context;const ve=q(Array.from(ne).filter((S=>{if(!S.needId)return false;if(ae.getNumberOfModuleChunks(S)===0)return false;return ae.getModuleId(S)===null})),(S=>N(S,_e,E)),((S,k)=>j(k,S,_e,E)),w,ee(k),((S,E)=>ae.setModuleId(S,E)));if(ve.length>0){te(ve,k)}}))}))}}S.exports=NamedModuleIdsPlugin},18298:(S,E,k)=>{"use strict";const{compareChunksNatural:w}=k(68673);const{assignAscendingChunkIds:N}=k(30328);class NaturalChunkIdsPlugin{apply(S){S.hooks.compilation.tap("NaturalChunkIdsPlugin",(S=>{S.hooks.chunkIds.tap("NaturalChunkIdsPlugin",(E=>{const k=S.chunkGraph;const j=w(k);const q=Array.from(E).sort(j);N(q,S)}))}))}}S.exports=NaturalChunkIdsPlugin},97781:(S,E,k)=>{"use strict";const{compareModulesByPreOrderIndexOrIdentifier:w}=k(68673);const{assignAscendingModuleIds:N}=k(30328);class NaturalModuleIdsPlugin{apply(S){S.hooks.compilation.tap("NaturalModuleIdsPlugin",(S=>{S.hooks.moduleIds.tap("NaturalModuleIdsPlugin",(E=>{const k=S.chunkGraph;const j=Array.from(E).filter((S=>S.needId&&k.getNumberOfModuleChunks(S)>0&&k.getModuleId(S)===null)).sort(w(S.moduleGraph));N(j,S)}))}))}}S.exports=NaturalModuleIdsPlugin},86169:(S,E,k)=>{"use strict";const{compareChunksNatural:w}=k(68673);const N=k(35817);const{assignAscendingChunkIds:j}=k(30328);const q=N(k(18511),(()=>k(66451)),{name:"Occurrence Order Chunk Ids Plugin",baseDataPath:"options"});class OccurrenceChunkIdsPlugin{constructor(S={}){q(S);this.options=S}apply(S){const E=this.options.prioritiseInitial;S.hooks.compilation.tap("OccurrenceChunkIdsPlugin",(S=>{S.hooks.chunkIds.tap("OccurrenceChunkIdsPlugin",(k=>{const N=S.chunkGraph;const q=new Map;const ee=w(N);for(const S of k){let E=0;for(const k of S.groupsIterable){for(const S of k.parentsIterable){if(S.isInitial())E++}}q.set(S,E)}const te=Array.from(k).sort(((S,k)=>{if(E){const E=q.get(S);const w=q.get(k);if(E>w)return-1;if(EN)return-1;if(w{"use strict";const{compareModulesByPreOrderIndexOrIdentifier:w}=k(68673);const N=k(35817);const{assignAscendingModuleIds:j}=k(30328);const q=N(k(52042),(()=>k(25049)),{name:"Occurrence Order Module Ids Plugin",baseDataPath:"options"});class OccurrenceModuleIdsPlugin{constructor(S={}){q(S);this.options=S}apply(S){const E=this.options.prioritiseInitial;S.hooks.compilation.tap("OccurrenceModuleIdsPlugin",(S=>{const k=S.moduleGraph;S.hooks.moduleIds.tap("OccurrenceModuleIdsPlugin",(N=>{const q=S.chunkGraph;const ee=Array.from(N).filter((S=>S.needId&&q.getNumberOfModuleChunks(S)>0&&q.getModuleId(S)===null));const te=new Map;const ne=new Map;const ae=new Map;const _e=new Map;for(const S of ee){let E=0;let k=0;for(const w of q.getModuleChunksIterable(S)){if(w.canBeInitial())E++;if(q.isEntryModuleInChunk(S,w))k++}ae.set(S,E);_e.set(S,k)}const countOccursInEntry=S=>{let E=0;for(const[w,N]of k.getIncomingConnectionsByOriginModule(S)){if(!w)continue;if(!N.some((S=>S.isTargetActive(undefined))))continue;E+=ae.get(w)}return E};const countOccurs=S=>{let E=0;for(const[w,N]of k.getIncomingConnectionsByOriginModule(S)){if(!w)continue;const S=q.getNumberOfModuleChunks(w);for(const k of N){if(!k.isTargetActive(undefined))continue;if(!k.dependency)continue;const w=k.dependency.getNumberOfIdOccurrences();if(w===0)continue;E+=w*S}}return E};if(E){for(const S of ee){const E=countOccursInEntry(S)+ae.get(S)+_e.get(S);te.set(S,E)}}for(const S of N){const E=countOccurs(S)+q.getNumberOfModuleChunks(S)+_e.get(S);ne.set(S,E)}const ve=w(S.moduleGraph);ee.sort(((S,k)=>{if(E){const E=te.get(S);const w=te.get(k);if(E>w)return-1;if(EN)return-1;if(w{"use strict";const w=k(31669);const N=k(91671);const lazyFunction=S=>{const E=N(S);const f=(...S)=>E()(...S);return f};const mergeExports=(S,E)=>{const k=Object.getOwnPropertyDescriptors(E);for(const E of Object.keys(k)){const w=k[E];if(w.get){const k=w.get;Object.defineProperty(S,E,{configurable:false,enumerable:true,get:N(k)})}else if(typeof w.value==="object"){Object.defineProperty(S,E,{configurable:false,enumerable:true,writable:false,value:mergeExports({},w.value)})}else{throw new Error("Exposed values must be either a getter or an nested object")}}return Object.freeze(S)};const j=lazyFunction((()=>k(2982)));S.exports=mergeExports(j,{get webpack(){return k(2982)},get validate(){const S=k(63221);const E=N((()=>{const S=k(33316);const E=k(76518);return k=>S(E,k)}));return k=>{if(!S(k))E()(k)}},get validateSchema(){const S=k(33316);return S},get version(){return k(61733).i8},get cli(){return k(61634)},get AutomaticPrefetchPlugin(){return k(20383)},get AsyncDependenciesBlock(){return k(98221)},get BannerPlugin(){return k(58779)},get Cache(){return k(54725)},get Chunk(){return k(62433)},get ChunkGraph(){return k(45137)},get CleanPlugin(){return k(61666)},get Compilation(){return k(3080)},get Compiler(){return k(63076)},get ConcatenationScope(){return k(77294)},get ContextExclusionPlugin(){return k(51709)},get ContextReplacementPlugin(){return k(26552)},get DefinePlugin(){return k(24820)},get DelegatedPlugin(){return k(82354)},get Dependency(){return k(28706)},get DllPlugin(){return k(73887)},get DllReferencePlugin(){return k(83515)},get DynamicEntryPlugin(){return k(85227)},get EntryOptionPlugin(){return k(64699)},get EntryPlugin(){return k(59674)},get EnvironmentPlugin(){return k(64856)},get EvalDevToolModulePlugin(){return k(91331)},get EvalSourceMapDevToolPlugin(){return k(23641)},get ExternalModule(){return k(16734)},get ExternalsPlugin(){return k(61050)},get Generator(){return k(36253)},get HotUpdateChunk(){return k(22352)},get HotModuleReplacementPlugin(){return k(79972)},get IgnorePlugin(){return k(69276)},get JavascriptModulesPlugin(){return w.deprecate((()=>k(18161)),"webpack.JavascriptModulesPlugin has moved to webpack.javascript.JavascriptModulesPlugin","DEP_WEBPACK_JAVASCRIPT_MODULES_PLUGIN")()},get LibManifestPlugin(){return k(77750)},get LibraryTemplatePlugin(){return w.deprecate((()=>k(43351)),"webpack.LibraryTemplatePlugin is deprecated and has been replaced by compilation.outputOptions.library or compilation.addEntry + passing a library option","DEP_WEBPACK_LIBRARY_TEMPLATE_PLUGIN")()},get LoaderOptionsPlugin(){return k(19674)},get LoaderTargetPlugin(){return k(97736)},get Module(){return k(53453)},get ModuleFilenameHelpers(){return k(70354)},get ModuleGraph(){return k(75412)},get ModuleGraphConnection(){return k(79900)},get NoEmitOnErrorsPlugin(){return k(66962)},get NormalModule(){return k(53520)},get NormalModuleReplacementPlugin(){return k(92234)},get MultiCompiler(){return k(63433)},get Parser(){return k(2172)},get PrefetchPlugin(){return k(13125)},get ProgressPlugin(){return k(52923)},get ProvidePlugin(){return k(40313)},get RuntimeGlobals(){return k(76150)},get RuntimeModule(){return k(66804)},get SingleEntryPlugin(){return w.deprecate((()=>k(59674)),"SingleEntryPlugin was renamed to EntryPlugin","DEP_WEBPACK_SINGLE_ENTRY_PLUGIN")()},get SourceMapDevToolPlugin(){return k(2e4)},get Stats(){return k(10140)},get Template(){return k(58159)},get UsageState(){return k(76632).UsageState},get WatchIgnorePlugin(){return k(91265)},get WebpackError(){return k(81627)},get WebpackOptionsApply(){return k(81721)},get WebpackOptionsDefaulter(){return w.deprecate((()=>k(94820)),"webpack.WebpackOptionsDefaulter is deprecated and has been replaced by webpack.config.getNormalizedWebpackOptions and webpack.config.applyWebpackOptionsDefaults","DEP_WEBPACK_OPTIONS_DEFAULTER")()},get WebpackOptionsValidationError(){return k(15235).ValidationError},get ValidationError(){return k(15235).ValidationError},cache:{get MemoryCachePlugin(){return k(47786)}},config:{get getNormalizedWebpackOptions(){return k(96590).getNormalizedWebpackOptions},get applyWebpackOptionsDefaults(){return k(54411).applyWebpackOptionsDefaults}},dependencies:{get ModuleDependency(){return k(79983)},get ConstDependency(){return k(66298)},get NullDependency(){return k(12197)}},ids:{get ChunkModuleIdRangePlugin(){return k(30484)},get NaturalModuleIdsPlugin(){return k(97781)},get OccurrenceModuleIdsPlugin(){return k(76059)},get NamedModuleIdsPlugin(){return k(9297)},get DeterministicChunkIdsPlugin(){return k(90444)},get DeterministicModuleIdsPlugin(){return k(35579)},get NamedChunkIdsPlugin(){return k(64779)},get OccurrenceChunkIdsPlugin(){return k(86169)},get HashedModuleIdsPlugin(){return k(35853)}},javascript:{get EnableChunkLoadingPlugin(){return k(50369)},get JavascriptModulesPlugin(){return k(18161)},get JavascriptParser(){return k(3711)}},optimize:{get AggressiveMergingPlugin(){return k(61332)},get AggressiveSplittingPlugin(){return w.deprecate((()=>k(94827)),"AggressiveSplittingPlugin is deprecated in favor of SplitChunksPlugin","DEP_WEBPACK_AGGRESSIVE_SPLITTING_PLUGIN")()},get LimitChunkCountPlugin(){return k(92922)},get MinChunkSizePlugin(){return k(52383)},get ModuleConcatenationPlugin(){return k(35442)},get RealContentHashPlugin(){return k(30699)},get RuntimeChunkPlugin(){return k(4674)},get SideEffectsFlagPlugin(){return k(63410)},get SplitChunksPlugin(){return k(40051)}},runtime:{get GetChunkFilenameRuntimeModule(){return k(9609)},get LoadScriptRuntimeModule(){return k(67104)}},prefetch:{get ChunkPrefetchPreloadPlugin(){return k(5538)}},web:{get FetchCompileAsyncWasmPlugin(){return k(52687)},get FetchCompileWasmPlugin(){return k(71100)},get JsonpChunkLoadingRuntimeModule(){return k(4038)},get JsonpTemplatePlugin(){return k(58421)}},webworker:{get WebWorkerTemplatePlugin(){return k(67439)}},node:{get NodeEnvironmentPlugin(){return k(93632)},get NodeSourcePlugin(){return k(92662)},get NodeTargetPlugin(){return k(84980)},get NodeTemplatePlugin(){return k(91591)},get ReadFileCompileWasmPlugin(){return k(71049)}},electron:{get ElectronTargetPlugin(){return k(25726)}},wasm:{get AsyncWebAssemblyModulesPlugin(){return k(82422)}},library:{get AbstractLibraryPlugin(){return k(9786)},get EnableLibraryPlugin(){return k(13984)}},container:{get ContainerPlugin(){return k(10419)},get ContainerReferencePlugin(){return k(68839)},get ModuleFederationPlugin(){return k(8019)},get scope(){return k(97264).scope}},sharing:{get ConsumeSharedPlugin(){return k(71968)},get ProvideSharedPlugin(){return k(48151)},get SharePlugin(){return k(16471)},get scope(){return k(97264).scope}},debug:{get ProfilingPlugin(){return k(26802)}},util:{get createHash(){return k(35891)},get comparators(){return k(68673)},get serialization(){return k(24568)},get cleverMerge(){return k(90149).cachedCleverMerge},get LazySet(){return k(83379)}},get sources(){return k(48135)},experiments:{schemes:{get HttpUriPlugin(){return k(7201)},get HttpsUriPlugin(){return k(1161)}}}})},41113:(S,E,k)=>{"use strict";const{ConcatSource:w,PrefixSource:N,RawSource:j}=k(48135);const{RuntimeGlobals:q}=k(86443);const ee=k(22352);const te=k(58159);const{getCompilationHooks:ne}=k(18161);const{generateEntryStartup:ae,updateHashForEntryStartup:_e}=k(13085);class ArrayPushCallbackChunkFormatPlugin{apply(S){S.hooks.thisCompilation.tap("ArrayPushCallbackChunkFormatPlugin",(S=>{S.hooks.additionalChunkRuntimeRequirements.tap("ArrayPushCallbackChunkFormatPlugin",((S,E,{chunkGraph:k})=>{if(S.hasRuntime())return;if(k.getNumberOfEntryModules(S)>0){E.add(q.onChunksLoaded);E.add(q.require)}E.add(q.chunkCallback)}));const E=ne(S);E.renderChunk.tap("ArrayPushCallbackChunkFormatPlugin",((k,ne)=>{const{chunk:_e,chunkGraph:ve,runtimeTemplate:Ee}=ne;const Te=_e instanceof ee?_e:null;const Ce=Ee.outputOptions.globalObject;const we=new w;const Ne=ve.getChunkRuntimeModulesInOrder(_e);if(Te){const S=Ee.outputOptions.hotUpdateGlobal;we.add(`${Ce}[${JSON.stringify(S)}](`);we.add(`${JSON.stringify(_e.id)},`);we.add(k);if(Ne.length>0){we.add(",\n");const S=te.renderChunkRuntimeModules(Ne,ne);we.add(S)}we.add(")")}else{const ee=Ee.outputOptions.chunkLoadingGlobal;we.add(`(${Ce}[${JSON.stringify(ee)}] = ${Ce}[${JSON.stringify(ee)}] || []).push([`);we.add(`${JSON.stringify(_e.ids)},`);we.add(k);const Te=Array.from(ve.getChunkEntryModulesWithChunkGroupIterable(_e));if(Ne.length>0||Te.length>0){const k=E.strictRuntimeBailout.call(ne);const ee=new w((Ee.supportsArrowFunction()?"__webpack_require__ =>":"function(__webpack_require__)")+" { // webpackRuntimeModules\n",k?`// runtime can't be in strict mode because ${k}.\n\n`:'"use strict";\n\n');if(Ne.length>0){ee.add(te.renderRuntimeModules(Ne,{...ne,codeGenerationResults:S.codeGenerationResults,useStrict:!!k}))}if(Te.length>0){const S=new j(ae(ve,Ee,Te,_e,true));ee.add(E.renderStartup.call(S,Te[Te.length-1][0],{...ne,inlined:false}));if(ve.getChunkRuntimeRequirements(_e).has(q.returnExportsFromRuntime)){ee.add("return __webpack_exports__;\n")}}ee.add("}\n");we.add(",\n");we.add(new N("/******/ ",ee))}we.add("])")}return we}));E.chunkHash.tap("ArrayPushCallbackChunkFormatPlugin",((S,E,{chunkGraph:k,runtimeTemplate:w})=>{if(S.hasRuntime())return;E.update("ArrayPushCallbackChunkFormatPlugin");E.update("1");E.update(`${w.outputOptions.chunkLoadingGlobal}`);E.update(`${w.outputOptions.hotUpdateGlobal}`);E.update(`${w.outputOptions.globalObject}`);const N=Array.from(k.getChunkEntryModulesWithChunkGroupIterable(S));_e(E,k,N,S)}))}))}}S.exports=ArrayPushCallbackChunkFormatPlugin},87250:S=>{"use strict";const E=0;const k=1;const w=2;const N=3;const j=4;const q=5;const ee=6;const te=7;const ne=8;const ae=9;const _e=10;const ve=11;const Ee=12;const Te=13;class BasicEvaluatedExpression{constructor(){this.type=E;this.range=undefined;this.falsy=false;this.truthy=false;this.nullish=undefined;this.sideEffects=true;this.bool=undefined;this.number=undefined;this.bigint=undefined;this.regExp=undefined;this.string=undefined;this.quasis=undefined;this.parts=undefined;this.array=undefined;this.items=undefined;this.options=undefined;this.prefix=undefined;this.postfix=undefined;this.wrappedInnerExpressions=undefined;this.identifier=undefined;this.rootInfo=undefined;this.getMembers=undefined;this.expression=undefined}isUnknown(){return this.type===E}isNull(){return this.type===w}isUndefined(){return this.type===k}isString(){return this.type===N}isNumber(){return this.type===j}isBigInt(){return this.type===Te}isBoolean(){return this.type===q}isRegExp(){return this.type===ee}isConditional(){return this.type===te}isArray(){return this.type===ne}isConstArray(){return this.type===ae}isIdentifier(){return this.type===_e}isWrapped(){return this.type===ve}isTemplateString(){return this.type===Ee}isPrimitiveType(){switch(this.type){case k:case w:case N:case j:case q:case Te:case ve:case Ee:return true;case ee:case ne:case ae:return false;default:return undefined}}isCompileTimeValue(){switch(this.type){case k:case w:case N:case j:case q:case ee:case ae:case Te:return true;default:return false}}asCompileTimeValue(){switch(this.type){case k:return undefined;case w:return null;case N:return this.string;case j:return this.number;case q:return this.bool;case ee:return this.regExp;case ae:return this.array;case Te:return this.bigint;default:throw new Error("asCompileTimeValue must only be called for compile-time values")}}isTruthy(){return this.truthy}isFalsy(){return this.falsy}isNullish(){return this.nullish}couldHaveSideEffects(){return this.sideEffects}asBool(){if(this.truthy)return true;if(this.falsy||this.nullish)return false;if(this.isBoolean())return this.bool;if(this.isNull())return false;if(this.isUndefined())return false;if(this.isString())return this.string!=="";if(this.isNumber())return this.number!==0;if(this.isBigInt())return this.bigint!==BigInt(0);if(this.isRegExp())return true;if(this.isArray())return true;if(this.isConstArray())return true;if(this.isWrapped()){return this.prefix&&this.prefix.asBool()||this.postfix&&this.postfix.asBool()?true:undefined}if(this.isTemplateString()){const S=this.asString();if(typeof S==="string")return S!==""}return undefined}asNullish(){const S=this.isNullish();if(S===true||this.isNull()||this.isUndefined())return true;if(S===false)return false;if(this.isTruthy())return false;if(this.isBoolean())return false;if(this.isString())return false;if(this.isNumber())return false;if(this.isBigInt())return false;if(this.isRegExp())return false;if(this.isArray())return false;if(this.isConstArray())return false;if(this.isTemplateString())return false;if(this.isRegExp())return false;return undefined}asString(){if(this.isBoolean())return`${this.bool}`;if(this.isNull())return"null";if(this.isUndefined())return"undefined";if(this.isString())return this.string;if(this.isNumber())return`${this.number}`;if(this.isBigInt())return`${this.bigint}`;if(this.isRegExp())return`${this.regExp}`;if(this.isArray()){let S=[];for(const E of this.items){const k=E.asString();if(k===undefined)return undefined;S.push(k)}return`${S}`}if(this.isConstArray())return`${this.array}`;if(this.isTemplateString()){let S="";for(const E of this.parts){const k=E.asString();if(k===undefined)return undefined;S+=k}return S}return undefined}setString(S){this.type=N;this.string=S;this.sideEffects=false;return this}setUndefined(){this.type=k;this.sideEffects=false;return this}setNull(){this.type=w;this.sideEffects=false;return this}setNumber(S){this.type=j;this.number=S;this.sideEffects=false;return this}setBigInt(S){this.type=Te;this.bigint=S;this.sideEffects=false;return this}setBoolean(S){this.type=q;this.bool=S;this.sideEffects=false;return this}setRegExp(S){this.type=ee;this.regExp=S;this.sideEffects=false;return this}setIdentifier(S,E,k){this.type=_e;this.identifier=S;this.rootInfo=E;this.getMembers=k;this.sideEffects=true;return this}setWrapped(S,E,k){this.type=ve;this.prefix=S;this.postfix=E;this.wrappedInnerExpressions=k;this.sideEffects=true;return this}setOptions(S){this.type=te;this.options=S;this.sideEffects=true;return this}addOptions(S){if(!this.options){this.type=te;this.options=[];this.sideEffects=true}for(const E of S){this.options.push(E)}return this}setItems(S){this.type=ne;this.items=S;this.sideEffects=S.some((S=>S.couldHaveSideEffects()));return this}setArray(S){this.type=ae;this.array=S;this.sideEffects=false;return this}setTemplateString(S,E,k){this.type=Ee;this.quasis=S;this.parts=E;this.templateStringKind=k;this.sideEffects=E.some((S=>S.sideEffects));return this}setTruthy(){this.falsy=false;this.truthy=true;this.nullish=false;return this}setFalsy(){this.falsy=true;this.truthy=false;return this}setNullish(S){this.nullish=S;return this}setRange(S){this.range=S;return this}setSideEffects(S=true){this.sideEffects=S;return this}setExpression(S){this.expression=S;return this}}BasicEvaluatedExpression.isValidRegExpFlags=S=>{const E=S.length;if(E===0)return true;if(E>4)return false;let k=0;for(let w=0;w{"use strict";const{ConcatSource:w,RawSource:N}=k(48135);const j=k(76150);const q=k(58159);const{getChunkFilenameTemplate:ee,getCompilationHooks:te}=k(18161);const{generateEntryStartup:ne,updateHashForEntryStartup:ae}=k(13085);class CommonJsChunkFormatPlugin{apply(S){S.hooks.thisCompilation.tap("CommonJsChunkFormatPlugin",(S=>{S.hooks.additionalChunkRuntimeRequirements.tap("CommonJsChunkLoadingPlugin",((S,E,{chunkGraph:k})=>{if(S.hasRuntime())return;if(k.getNumberOfEntryModules(S)>0){E.add(j.require);E.add(j.startupEntrypoint);E.add(j.externalInstallChunk)}}));const E=te(S);E.renderChunk.tap("CommonJsChunkFormatPlugin",((k,te)=>{const{chunk:ae,chunkGraph:_e,runtimeTemplate:ve}=te;const Ee=new w;Ee.add(`exports.id = ${JSON.stringify(ae.id)};\n`);Ee.add(`exports.ids = ${JSON.stringify(ae.ids)};\n`);Ee.add(`exports.modules = `);Ee.add(k);Ee.add(";\n");const Te=_e.getChunkRuntimeModulesInOrder(ae);if(Te.length>0){Ee.add("exports.runtime =\n");Ee.add(q.renderChunkRuntimeModules(Te,te))}const Ce=Array.from(_e.getChunkEntryModulesWithChunkGroupIterable(ae));if(Ce.length>0){const k=Ce[0][1].getRuntimeChunk();const q=S.getPath(ee(ae,S.outputOptions),{chunk:ae,contentHashType:"javascript"}).split("/");const Te=S.getPath(ee(k,S.outputOptions),{chunk:k,contentHashType:"javascript"}).split("/");q.pop();while(q.length>0&&Te.length>0&&q[0]===Te[0]){q.shift();Te.shift()}const we=(q.length>0?"../".repeat(q.length):"./")+Te.join("/");const Ne=new w;Ne.add(`(${ve.supportsArrowFunction()?"() => ":"function() "}{\n`);Ne.add("var exports = {};\n");Ne.add(Ee);Ne.add(";\n\n// load runtime\n");Ne.add(`var __webpack_require__ = require(${JSON.stringify(we)});\n`);Ne.add(`${j.externalInstallChunk}(exports);\n`);const Ie=new N(ne(_e,ve,Ce,ae,false));Ne.add(E.renderStartup.call(Ie,Ce[Ce.length-1][0],{...te,inlined:false}));Ne.add("\n})()");return Ne}return Ee}));E.chunkHash.tap("CommonJsChunkFormatPlugin",((S,E,{chunkGraph:k})=>{if(S.hasRuntime())return;E.update("CommonJsChunkFormatPlugin");E.update("1");const w=Array.from(k.getChunkEntryModulesWithChunkGroupIterable(S));ae(E,k,w,S)}))}))}}S.exports=CommonJsChunkFormatPlugin},50369:(S,E,k)=>{"use strict";const w=new WeakMap;const getEnabledTypes=S=>{let E=w.get(S);if(E===undefined){E=new Set;w.set(S,E)}return E};class EnableChunkLoadingPlugin{constructor(S){this.type=S}static setEnabled(S,E){getEnabledTypes(S).add(E)}static checkEnabled(S,E){if(!getEnabledTypes(S).has(E)){throw new Error(`Chunk loading type "${E}" is not enabled. `+"EnableChunkLoadingPlugin need to be used to enable this type of chunk loading. "+'This usually happens through the "output.enabledChunkLoadingTypes" option. '+'If you are using a function as entry which sets "chunkLoading", you need to add all potential chunk loading types to "output.enabledChunkLoadingTypes". '+"These types are enabled: "+Array.from(getEnabledTypes(S)).join(", "))}}apply(S){const{type:E}=this;const w=getEnabledTypes(S);if(w.has(E))return;w.add(E);if(typeof E==="string"){switch(E){case"jsonp":{const E=k(76853);(new E).apply(S);break}case"import-scripts":{const E=k(82779);(new E).apply(S);break}case"require":{const E=k(82827);new E({asyncChunkLoading:false}).apply(S);break}case"async-node":{const E=k(82827);new E({asyncChunkLoading:true}).apply(S);break}case"import":{const E=k(90662);(new E).apply(S);break}case"universal":throw new Error("Universal Chunk Loading is not implemented yet");default:throw new Error(`Unsupported chunk loading type ${E}.\nPlugins which provide custom chunk loading types must call EnableChunkLoadingPlugin.setEnabled(compiler, type) to disable this error.`)}}else{}}}S.exports=EnableChunkLoadingPlugin},99371:(S,E,k)=>{"use strict";const w=k(31669);const{RawSource:N,ReplaceSource:j}=k(48135);const q=k(36253);const ee=k(63272);const te=k(54290);const ne=w.deprecate(((S,E,k)=>S.getInitFragments(E,k)),"DependencyTemplate.getInitFragment is deprecated (use apply(dep, source, { initFragments }) instead)","DEP_WEBPACK_JAVASCRIPT_GENERATOR_GET_INIT_FRAGMENTS");const ae=new Set(["javascript"]);class JavascriptGenerator extends q{getTypes(S){return ae}getSize(S,E){const k=S.originalSource();if(!k){return 39}return k.size()}getConcatenationBailoutReason(S,E){if(!S.buildMeta||S.buildMeta.exportsType!=="namespace"||S.presentationalDependencies===undefined||!S.presentationalDependencies.some((S=>S instanceof te))){return"Module is not an ECMAScript module"}if(S.buildInfo&&S.buildInfo.moduleConcatenationBailout){return`Module uses ${S.buildInfo.moduleConcatenationBailout}`}}generate(S,E){const k=S.originalSource();if(!k){return new N("throw new Error('No source available');")}const w=new j(k);const q=[];this.sourceModule(S,q,w,E);return ee.addToSource(w,q,E)}sourceModule(S,E,k,w){for(const N of S.dependencies){this.sourceDependency(S,N,E,k,w)}if(S.presentationalDependencies!==undefined){for(const N of S.presentationalDependencies){this.sourceDependency(S,N,E,k,w)}}for(const N of S.blocks){this.sourceBlock(S,N,E,k,w)}}sourceBlock(S,E,k,w,N){for(const j of E.dependencies){this.sourceDependency(S,j,k,w,N)}for(const j of E.blocks){this.sourceBlock(S,j,k,w,N)}}sourceDependency(S,E,k,w,N){const j=E.constructor;const q=N.dependencyTemplates.get(j);if(!q){throw new Error("No template for dependency: "+E.constructor.name)}const ee={runtimeTemplate:N.runtimeTemplate,dependencyTemplates:N.dependencyTemplates,moduleGraph:N.moduleGraph,chunkGraph:N.chunkGraph,module:S,runtime:N.runtime,runtimeRequirements:N.runtimeRequirements,concatenationScope:N.concatenationScope,initFragments:k};q.apply(E,w,ee);if("getInitFragments"in q){const S=ne(q,E,ee);if(S){for(const E of S){k.push(E)}}}}}S.exports=JavascriptGenerator},18161:(S,E,k)=>{"use strict";const{SyncWaterfallHook:w,SyncHook:N,SyncBailHook:j}=k(92960);const q=k(92184);const{ConcatSource:ee,OriginalSource:te,PrefixSource:ne,RawSource:ae,CachedSource:_e}=k(48135);const ve=k(3080);const{tryRunOrWebpackError:Ee}=k(3728);const Te=k(22352);const Ce=k(63272);const we=k(76150);const Ne=k(58159);const{last:Ie,someInIterable:Fe}=k(11539);const Oe=k(14146);const{compareModulesByIdentifier:Me}=k(68673);const Re=k(35891);const{intersectRuntime:Le}=k(37416);const Be=k(99371);const je=k(3711);const chunkHasJs=(S,E)=>{if(E.getNumberOfEntryModules(S)>0)return true;return E.getChunkModulesIterableBySourceType(S,"javascript")?true:false};const printGeneratedCodeForStack=(S,E)=>{const k=E.split("\n");const w=`${k.length}`.length;return`\n\nGenerated code for ${S.identifier()}\n${k.map(((S,E,k)=>{const N=`${E+1}`;return`${" ".repeat(w-N.length)}${N} | ${S}`})).join("\n")}`};const ze=new WeakMap;class JavascriptModulesPlugin{static getCompilationHooks(S){if(!(S instanceof ve)){throw new TypeError("The 'compilation' argument must be an instance of Compilation")}let E=ze.get(S);if(E===undefined){E={renderModuleContent:new w(["source","module","renderContext"]),renderModuleContainer:new w(["source","module","renderContext"]),renderModulePackage:new w(["source","module","renderContext"]),render:new w(["source","renderContext"]),renderContent:new w(["source","renderContext"]),renderStartup:new w(["source","module","startupRenderContext"]),renderChunk:new w(["source","renderContext"]),renderMain:new w(["source","renderContext"]),renderRequire:new w(["code","renderContext"]),inlineInRuntimeBailout:new j(["module","renderContext"]),embedInRuntimeBailout:new j(["module","renderContext"]),strictRuntimeBailout:new j(["renderContext"]),chunkHash:new N(["chunk","hash","context"]),useSourceMap:new j(["chunk","renderContext"])};ze.set(S,E)}return E}constructor(S={}){this.options=S;this._moduleFactoryCache=new WeakMap}apply(S){S.hooks.compilation.tap("JavascriptModulesPlugin",((S,{normalModuleFactory:E})=>{const k=JavascriptModulesPlugin.getCompilationHooks(S);E.hooks.createParser.for("javascript/auto").tap("JavascriptModulesPlugin",(S=>new je("auto")));E.hooks.createParser.for("javascript/dynamic").tap("JavascriptModulesPlugin",(S=>new je("script")));E.hooks.createParser.for("javascript/esm").tap("JavascriptModulesPlugin",(S=>new je("module")));E.hooks.createGenerator.for("javascript/auto").tap("JavascriptModulesPlugin",(()=>new Be));E.hooks.createGenerator.for("javascript/dynamic").tap("JavascriptModulesPlugin",(()=>new Be));E.hooks.createGenerator.for("javascript/esm").tap("JavascriptModulesPlugin",(()=>new Be));S.hooks.renderManifest.tap("JavascriptModulesPlugin",((E,w)=>{const{hash:N,chunk:j,chunkGraph:q,moduleGraph:ee,runtimeTemplate:te,dependencyTemplates:ne,outputOptions:ae,codeGenerationResults:_e}=w;const ve=j instanceof Te?j:null;let Ee;const Ce=JavascriptModulesPlugin.getChunkFilenameTemplate(j,ae);if(ve){Ee=()=>this.renderChunk({chunk:j,dependencyTemplates:ne,runtimeTemplate:te,moduleGraph:ee,chunkGraph:q,codeGenerationResults:_e},k)}else if(j.hasRuntime()){Ee=()=>this.renderMain({hash:N,chunk:j,dependencyTemplates:ne,runtimeTemplate:te,moduleGraph:ee,chunkGraph:q,codeGenerationResults:_e},k,S)}else{if(!chunkHasJs(j,q)){return E}Ee=()=>this.renderChunk({chunk:j,dependencyTemplates:ne,runtimeTemplate:te,moduleGraph:ee,chunkGraph:q,codeGenerationResults:_e},k)}E.push({render:Ee,filenameTemplate:Ce,pathOptions:{hash:N,runtime:j.runtime,chunk:j,contentHashType:"javascript"},info:{javascriptModule:S.runtimeTemplate.isModule()},identifier:ve?`hotupdatechunk${j.id}`:`chunk${j.id}`,hash:j.contentHash.javascript});return E}));S.hooks.chunkHash.tap("JavascriptModulesPlugin",((S,E,w)=>{k.chunkHash.call(S,E,w);if(S.hasRuntime()){this.updateHashWithBootstrap(E,{hash:"0000",chunk:S,chunkGraph:w.chunkGraph,moduleGraph:w.moduleGraph,runtimeTemplate:w.runtimeTemplate},k)}}));S.hooks.contentHash.tap("JavascriptModulesPlugin",(E=>{const{chunkGraph:w,moduleGraph:N,runtimeTemplate:j,outputOptions:{hashSalt:q,hashDigest:ee,hashDigestLength:te,hashFunction:ne}}=S;const ae=Re(ne);if(q)ae.update(q);if(E.hasRuntime()){this.updateHashWithBootstrap(ae,{hash:"0000",chunk:E,chunkGraph:S.chunkGraph,moduleGraph:S.moduleGraph,runtimeTemplate:S.runtimeTemplate},k)}else{ae.update(`${E.id} `);ae.update(E.ids?E.ids.join(","):"")}k.chunkHash.call(E,ae,{chunkGraph:w,moduleGraph:N,runtimeTemplate:j});const _e=w.getChunkModulesIterableBySourceType(E,"javascript");if(_e){const S=new Oe;for(const k of _e){S.add(w.getModuleHash(k,E.runtime))}S.updateHash(ae)}const ve=w.getChunkModulesIterableBySourceType(E,"runtime");if(ve){const S=new Oe;for(const k of ve){S.add(w.getModuleHash(k,E.runtime))}S.updateHash(ae)}const Ee=ae.digest(ee);E.contentHash.javascript=Ee.substr(0,te)}));S.hooks.additionalTreeRuntimeRequirements.tap("JavascriptModulesPlugin",((S,E,{chunkGraph:k})=>{if(!E.has(we.startupNoDefault)&&k.hasChunkEntryDependentChunks(S)){E.add(we.onChunksLoaded);E.add(we.require)}}));S.hooks.executeModule.tap("JavascriptModulesPlugin",((S,E)=>{const k=S.codeGenerationResult.sources.get("javascript");if(k===undefined)return;const{module:w,moduleObject:N}=S;const j=k.source();const ee=q.runInThisContext(`(function(${w.moduleArgument}, ${w.exportsArgument}, __webpack_require__) {\n${j}\n/**/})`,{filename:w.identifier(),lineOffset:-1});try{ee.call(N.exports,N,N.exports,E.__webpack_require__)}catch(E){E.stack+=printGeneratedCodeForStack(S.module,j);throw E}}));S.hooks.executeModule.tap("JavascriptModulesPlugin",((S,E)=>{const k=S.codeGenerationResult.sources.get("runtime");if(k===undefined)return;let w=k.source();if(typeof w!=="string")w=w.toString();const N=q.runInThisContext(`(function(__webpack_require__) {\n${w}\n/**/})`,{filename:S.module.identifier(),lineOffset:-1});try{N.call(null,E.__webpack_require__)}catch(E){E.stack+=printGeneratedCodeForStack(S.module,w);throw E}}))}))}static getChunkFilenameTemplate(S,E){if(S.filenameTemplate){return S.filenameTemplate}else if(S instanceof Te){return E.hotUpdateChunkFilename}else if(S.canBeInitial()){return E.filename}else{return E.chunkFilename}}renderModule(S,E,k,w){const{chunk:N,chunkGraph:j,runtimeTemplate:q,codeGenerationResults:te}=E;try{const ne=te.get(S,N.runtime);const ae=ne.sources.get("javascript");if(!ae)return null;if(ne.data!==undefined){const S=ne.data.get("chunkInitFragments");if(S){for(const k of S)E.chunkInitFragments.push(k)}}const ve=Ee((()=>k.renderModuleContent.call(ae,S,E)),"JavascriptModulesPlugin.getCompilationHooks().renderModuleContent");let Te;if(w){const te=j.getModuleRuntimeRequirements(S,N.runtime);const ne=te.has(we.module);const ae=te.has(we.exports);const Ce=te.has(we.require)||te.has(we.requireScope);const Ne=te.has(we.thisAsExports);const Ie=S.buildInfo.strict&&w!=="strict";const Fe=this._moduleFactoryCache.get(ve);let Oe;if(Fe&&Fe.needModule===ne&&Fe.needExports===ae&&Fe.needRequire===Ce&&Fe.needThisAsExports===Ne&&Fe.needStrict===Ie){Oe=Fe.source}else{const E=new ee;const k=[];if(ae||Ce||ne)k.push(ne?S.moduleArgument:"__unused_webpack_"+S.moduleArgument);if(ae||Ce)k.push(ae?S.exportsArgument:"__unused_webpack_"+S.exportsArgument);if(Ce)k.push("__webpack_require__");if(!Ne&&q.supportsArrowFunction()){E.add("/***/ (("+k.join(", ")+") => {\n\n")}else{E.add("/***/ (function("+k.join(", ")+") {\n\n")}if(Ie){E.add('"use strict";\n')}E.add(ve);E.add("\n\n/***/ })");Oe=new _e(E);this._moduleFactoryCache.set(ve,{source:Oe,needModule:ne,needExports:ae,needRequire:Ce,needThisAsExports:Ne,needStrict:Ie})}Te=Ee((()=>k.renderModuleContainer.call(Oe,S,E)),"JavascriptModulesPlugin.getCompilationHooks().renderModuleContainer")}else{Te=ve}return Ee((()=>k.renderModulePackage.call(Te,S,E)),"JavascriptModulesPlugin.getCompilationHooks().renderModulePackage")}catch(E){E.module=S;throw E}}renderChunk(S,E){const{chunk:k,chunkGraph:w}=S;const N=w.getOrderedChunkModulesIterableBySourceType(k,"javascript",Me);const j={...S,chunkInitFragments:[]};const q=Ne.renderChunkModules(j,N?Array.from(N):[],(S=>this.renderModule(S,j,E,true)))||new ae("{}");let te=Ee((()=>E.renderChunk.call(q,j)),"JavascriptModulesPlugin.getCompilationHooks().renderChunk");te=Ee((()=>E.renderContent.call(te,j)),"JavascriptModulesPlugin.getCompilationHooks().renderContent");if(!te){throw new Error("JavascriptModulesPlugin error: JavascriptModulesPlugin.getCompilationHooks().renderContent plugins should return something")}te=Ce.addToSource(te,j.chunkInitFragments,j);te=Ee((()=>E.render.call(te,j)),"JavascriptModulesPlugin.getCompilationHooks().render");if(!te){throw new Error("JavascriptModulesPlugin error: JavascriptModulesPlugin.getCompilationHooks().render plugins should return something")}k.rendered=true;return new ee(te,";")}renderMain(S,E,k){const{chunk:w,chunkGraph:N,runtimeTemplate:j}=S;const q={...S,chunkInitFragments:[]};const _e=N.getTreeRuntimeRequirements(w);const ve=j.isIIFE();const Te=this.renderBootstrap(S,E);const Fe=E.useSourceMap.call(w,S);const Oe=Array.from(N.getOrderedChunkModulesIterableBySourceType(w,"javascript",Me)||[]);const Re=N.getNumberOfEntryModules(w)>0;let Le;if(Te.allowInlineStartup&&Re){Le=new Set(N.getChunkEntryModulesIterable(w))}let Be=new ee;let je;if(ve){if(j.supportsArrowFunction()){Be.add("/******/ (() => { // webpackBootstrap\n")}else{Be.add("/******/ (function() { // webpackBootstrap\n")}je="/******/ \t"}else{je="/******/ "}let ze=false;if(Oe.every((S=>S.buildInfo.strict))){const k=E.strictRuntimeBailout.call(S);if(k){Be.add(je+`// runtime can't be in strict mode because ${k}.\n`)}else{ze=true;Be.add(je+'"use strict";\n')}}const Ue=Ne.renderChunkModules(q,Le?Oe.filter((S=>!Le.has(S))):Oe,(S=>this.renderModule(S,q,E,ze?"strict":true)),je);if(Ue||_e.has(we.moduleFactories)||_e.has(we.moduleFactoriesAddOnly)||_e.has(we.require)){Be.add(je+"var __webpack_modules__ = (");Be.add(Ue||"{}");Be.add(");\n");Be.add("/************************************************************************/\n")}if(Te.header.length>0){const S=Ne.asString(Te.header)+"\n";Be.add(new ne(je,Fe?new te(S,"webpack/bootstrap"):new ae(S)));Be.add("/************************************************************************/\n")}const We=S.chunkGraph.getChunkRuntimeModulesInOrder(w);if(We.length>0){Be.add(new ne(je,Ne.renderRuntimeModules(We,S)));Be.add("/************************************************************************/\n");for(const S of We){k.codeGeneratedModules.add(S)}}if(Le){if(Te.beforeStartup.length>0){const S=Ne.asString(Te.beforeStartup)+"\n";Be.add(new ne(je,Fe?new te(S,"webpack/before-startup"):new ae(S)))}const k=Ie(Le);const ve=new ee;ve.add(`var __webpack_exports__ = {};\n`);for(const ee of Le){const te=this.renderModule(ee,q,E,false);if(te){const q=!ze&&ee.buildInfo.strict;const ne=N.getModuleRuntimeRequirements(ee,w.runtime);const ae=ne.has(we.exports);const _e=ae&&ee.exportsArgument==="__webpack_exports__";let Ee=q?"it need to be in strict mode.":Le.size>1?"it need to be isolated against other entry modules.":Ue?"it need to be isolated against other modules in the chunk.":ae&&!_e?`it uses a non-standard name for the exports (${ee.exportsArgument}).`:E.embedInRuntimeBailout.call(ee,S);let Te;if(Ee!==undefined){ve.add(`// This entry need to be wrapped in an IIFE because ${Ee}\n`);const S=j.supportsArrowFunction();if(S){ve.add("(() => {\n");Te="\n})();\n\n"}else{ve.add("!function() {\n");Te="\n}();\n"}if(q)ve.add('"use strict";\n')}else{Te="\n"}if(ae){if(ee!==k)ve.add(`var ${ee.exportsArgument} = {};\n`);else if(ee.exportsArgument!=="__webpack_exports__")ve.add(`var ${ee.exportsArgument} = __webpack_exports__;\n`)}ve.add(te);ve.add(Te)}}if(_e.has(we.onChunksLoaded)){ve.add(`${we.onChunksLoaded}();\n`)}Be.add(E.renderStartup.call(ve,k,{...S,inlined:true}));if(Te.afterStartup.length>0){const S=Ne.asString(Te.afterStartup)+"\n";Be.add(new ne(je,Fe?new te(S,"webpack/after-startup"):new ae(S)))}}else{const k=Ie(N.getChunkEntryModulesIterable(w));const j=Fe?(S,E)=>new te(Ne.asString(S),E):S=>new ae(Ne.asString(S));Be.add(new ne(je,new ee(j(Te.beforeStartup,"webpack/before-startup"),"\n",E.renderStartup.call(j(Te.startup.concat(""),"webpack/startup"),k,{...S,inlined:false}),j(Te.afterStartup,"webpack/after-startup"),"\n")))}if(Re&&_e.has(we.returnExportsFromRuntime)){Be.add(`${je}return __webpack_exports__;\n`)}if(ve){Be.add("/******/ })()\n")}let $e=Ee((()=>E.renderMain.call(Be,S)),"JavascriptModulesPlugin.getCompilationHooks().renderMain");if(!$e){throw new Error("JavascriptModulesPlugin error: JavascriptModulesPlugin.getCompilationHooks().renderMain plugins should return something")}$e=Ee((()=>E.renderContent.call($e,S)),"JavascriptModulesPlugin.getCompilationHooks().renderContent");if(!$e){throw new Error("JavascriptModulesPlugin error: JavascriptModulesPlugin.getCompilationHooks().renderContent plugins should return something")}$e=Ce.addToSource($e,q.chunkInitFragments,q);$e=Ee((()=>E.render.call($e,S)),"JavascriptModulesPlugin.getCompilationHooks().render");if(!$e){throw new Error("JavascriptModulesPlugin error: JavascriptModulesPlugin.getCompilationHooks().render plugins should return something")}w.rendered=true;return ve?new ee($e,";"):$e}updateHashWithBootstrap(S,E,k){const w=this.renderBootstrap(E,k);for(const E of Object.keys(w)){S.update(E);if(Array.isArray(w[E])){for(const k of w[E]){S.update(k)}}else{S.update(JSON.stringify(w[E]))}}}renderBootstrap(S,E){const{chunkGraph:k,moduleGraph:w,chunk:N,runtimeTemplate:j}=S;const q=k.getTreeRuntimeRequirements(N);const ee=q.has(we.require);const te=q.has(we.moduleCache);const ne=q.has(we.moduleFactories);const ae=q.has(we.module);const _e=q.has(we.requireScope);const ve=q.has(we.interceptModuleExecution);const Ee=ee||ve||ae;const Te={header:[],beforeStartup:[],startup:[],afterStartup:[],allowInlineStartup:true};let{header:Ce,startup:Ie,beforeStartup:Oe,afterStartup:Me}=Te;if(Te.allowInlineStartup&&ne){Ie.push("// module factories are used so entry inlining is disabled");Te.allowInlineStartup=false}if(Te.allowInlineStartup&&te){Ie.push("// module cache are used so entry inlining is disabled");Te.allowInlineStartup=false}if(Te.allowInlineStartup&&ve){Ie.push("// module execution is intercepted so entry inlining is disabled");Te.allowInlineStartup=false}if(Ee||te){Ce.push("// The module cache");Ce.push("var __webpack_module_cache__ = {};");Ce.push("")}if(Ee){Ce.push("// The require function");Ce.push(`function __webpack_require__(moduleId) {`);Ce.push(Ne.indent(this.renderRequire(S,E)));Ce.push("}");Ce.push("")}else if(q.has(we.requireScope)){Ce.push("// The require scope");Ce.push("var __webpack_require__ = {};");Ce.push("")}if(ne||q.has(we.moduleFactoriesAddOnly)){Ce.push("// expose the modules object (__webpack_modules__)");Ce.push(`${we.moduleFactories} = __webpack_modules__;`);Ce.push("")}if(te){Ce.push("// expose the module cache");Ce.push(`${we.moduleCache} = __webpack_module_cache__;`);Ce.push("")}if(ve){Ce.push("// expose the module execution interceptor");Ce.push(`${we.interceptModuleExecution} = [];`);Ce.push("")}if(!q.has(we.startupNoDefault)){if(k.getNumberOfEntryModules(N)>0){const q=[];const ee=k.getTreeRuntimeRequirements(N);q.push("// Load entry module and return exports");let te=k.getNumberOfEntryModules(N);for(const[ne,ae]of k.getChunkEntryModulesWithChunkGroupIterable(N)){const ve=ae.chunks.filter((S=>S!==N));if(Te.allowInlineStartup&&ve.length>0){q.push("// This entry module depends on other loaded chunks and execution need to be delayed");Te.allowInlineStartup=false}if(Te.allowInlineStartup&&Fe(w.getIncomingConnectionsByOriginModule(ne),(([S,E])=>S&&E.some((S=>S.isTargetActive(N.runtime)))&&Fe(k.getModuleRuntimes(S),(S=>Le(S,N.runtime)!==undefined))))){q.push("// This entry module is referenced by other modules so it can't be inlined");Te.allowInlineStartup=false}if(Te.allowInlineStartup&&(!ne.buildInfo||!ne.buildInfo.topLevelDeclarations)){q.push("// This entry module doesn't tell about it's top-level declarations so it can't be inlined");Te.allowInlineStartup=false}if(Te.allowInlineStartup){const k=E.inlineInRuntimeBailout.call(ne,S);if(k!==undefined){q.push(`// This entry module can't be inlined because ${k}`);Te.allowInlineStartup=false}}te--;const Ce=k.getModuleId(ne);const Ne=k.getModuleRuntimeRequirements(ne,N.runtime);let Ie=JSON.stringify(Ce);if(ee.has(we.entryModuleId)){Ie=`${we.entryModuleId} = ${Ie}`}if(Te.allowInlineStartup&&Ne.has(we.module)){Te.allowInlineStartup=false;q.push("// This entry module used 'module' so it can't be inlined")}if(ve.length>0){q.push(`${te===0?"var __webpack_exports__ = ":""}${we.onChunksLoaded}(undefined, ${JSON.stringify(ve.map((S=>S.id)))}, ${j.returningFunction(`__webpack_require__(${Ie})`)})`)}else if(Ee){q.push(`${te===0?"var __webpack_exports__ = ":""}__webpack_require__(${Ie});`)}else{if(te===0)q.push("var __webpack_exports__ = {};");if(_e){q.push(`__webpack_modules__[${Ie}](0, ${te===0?"__webpack_exports__":"{}"}, __webpack_require__);`)}else if(Ne.has(we.exports)){q.push(`__webpack_modules__[${Ie}](0, ${te===0?"__webpack_exports__":"{}"});`)}else{q.push(`__webpack_modules__[${Ie}]();`)}}}if(ee.has(we.onChunksLoaded)){q.push(`__webpack_exports__ = ${we.onChunksLoaded}(__webpack_exports__);`)}if(ee.has(we.startup)||ee.has(we.startupOnlyBefore)&&ee.has(we.startupOnlyAfter)){Te.allowInlineStartup=false;Ce.push("// the startup function");Ce.push(`${we.startup} = ${j.basicFunction("",[...q,"return __webpack_exports__;"])};`);Ce.push("");Ie.push("// run startup");Ie.push(`var __webpack_exports__ = ${we.startup}();`)}else if(ee.has(we.startupOnlyBefore)){Ce.push("// the startup function");Ce.push(`${we.startup} = ${j.emptyFunction()};`);Oe.push("// run runtime startup");Oe.push(`${we.startup}();`);Ie.push("// startup");Ie.push(Ne.asString(q))}else if(ee.has(we.startupOnlyAfter)){Ce.push("// the startup function");Ce.push(`${we.startup} = ${j.emptyFunction()};`);Ie.push("// startup");Ie.push(Ne.asString(q));Me.push("// run runtime startup");Me.push(`${we.startup}();`)}else{Ie.push("// startup");Ie.push(Ne.asString(q))}}else if(q.has(we.startup)||q.has(we.startupOnlyBefore)||q.has(we.startupOnlyAfter)){Ce.push("// the startup function","// It's empty as no entry modules are in this chunk",`${we.startup} = ${j.emptyFunction()};`,"")}}else if(q.has(we.startup)||q.has(we.startupOnlyBefore)||q.has(we.startupOnlyAfter)){Te.allowInlineStartup=false;Ce.push("// the startup function","// It's empty as some runtime module handles the default behavior",`${we.startup} = ${j.emptyFunction()};`);Ie.push("// run startup");Ie.push(`var __webpack_exports__ = ${we.startup}();`)}return Te}renderRequire(S,E){const{chunk:k,chunkGraph:w,runtimeTemplate:{outputOptions:N}}=S;const j=w.getTreeRuntimeRequirements(k);const q=j.has(we.interceptModuleExecution)?Ne.asString(["var execOptions = { id: moduleId, module: module, factory: __webpack_modules__[moduleId], require: __webpack_require__ };",`${we.interceptModuleExecution}.forEach(function(handler) { handler(execOptions); });`,"module = execOptions.module;","execOptions.factory.call(module.exports, module, module.exports, execOptions.require);"]):j.has(we.thisAsExports)?Ne.asString(["__webpack_modules__[moduleId].call(module.exports, module, module.exports, __webpack_require__);"]):Ne.asString(["__webpack_modules__[moduleId](module, module.exports, __webpack_require__);"]);const ee=j.has(we.moduleId);const te=j.has(we.moduleLoaded);const ne=Ne.asString(["// Check if module is in cache","var cachedModule = __webpack_module_cache__[moduleId];","if (cachedModule !== undefined) {",N.strictModuleErrorHandling?Ne.indent(["if (cachedModule.error !== undefined) throw cachedModule.error;","return cachedModule.exports;"]):Ne.indent("return cachedModule.exports;"),"}","// Create a new module (and put it into the cache)","var module = __webpack_module_cache__[moduleId] = {",Ne.indent([ee?"id: moduleId,":"// no module.id needed",te?"loaded: false,":"// no module.loaded needed","exports: {}"]),"};","",N.strictModuleExceptionHandling?Ne.asString(["// Execute the module function","var threw = true;","try {",Ne.indent([q,"threw = false;"]),"} finally {",Ne.indent(["if(threw) delete __webpack_module_cache__[moduleId];"]),"}"]):N.strictModuleErrorHandling?Ne.asString(["// Execute the module function","try {",Ne.indent(q),"} catch(e) {",Ne.indent(["module.error = e;","throw e;"]),"}"]):Ne.asString(["// Execute the module function",q]),te?Ne.asString(["","// Flag the module as loaded","module.loaded = true;",""]):"","// Return the exports of the module","return module.exports;"]);return Ee((()=>E.renderRequire.call(ne,S)),"JavascriptModulesPlugin.getCompilationHooks().renderRequire")}}S.exports=JavascriptModulesPlugin;S.exports.chunkHasJs=chunkHasJs},3711:(S,E,k)=>{"use strict";const{Parser:w}=k(14150);const{SyncBailHook:N,HookMap:j}=k(92960);const q=k(92184);const ee=k(2172);const te=k(80371);const ne=k(31017);const ae=k(91671);const _e=k(87250);const ve=[];const Ee=1;const Te=2;const Ce=3;const we=w;class VariableInfo{constructor(S,E,k){this.declaredScope=S;this.freeName=E;this.tagInfo=k}}const joinRanges=(S,E)=>{if(!E)return S;if(!S)return E;return[S[0],E[1]]};const objectAndMembersToName=(S,E)=>{let k=S;for(let S=E.length-1;S>=0;S--){k=k+"."+E[S]}return k};const getRootName=S=>{switch(S.type){case"Identifier":return S.name;case"ThisExpression":return"this";case"MetaProperty":return`${S.meta.name}.${S.property.name}`;default:return undefined}};const Ne={ranges:true,locations:true,ecmaVersion:"latest",sourceType:"module",onComment:null};const Ie=new RegExp(/(^|\W)webpack[A-Z]{1,}[A-Za-z]{1,}:/);const Fe={options:null,errors:null};class JavascriptParser extends ee{constructor(S="auto"){super();this.hooks=Object.freeze({evaluateTypeof:new j((()=>new N(["expression"]))),evaluate:new j((()=>new N(["expression"]))),evaluateIdentifier:new j((()=>new N(["expression"]))),evaluateDefinedIdentifier:new j((()=>new N(["expression"]))),evaluateCallExpressionMember:new j((()=>new N(["expression","param"]))),isPure:new j((()=>new N(["expression","commentsStartPosition"]))),preStatement:new N(["statement"]),blockPreStatement:new N(["declaration"]),statement:new N(["statement"]),statementIf:new N(["statement"]),classExtendsExpression:new N(["expression","classDefinition"]),classBodyElement:new N(["element","classDefinition"]),classBodyValue:new N(["expression","element","classDefinition"]),label:new j((()=>new N(["statement"]))),import:new N(["statement","source"]),importSpecifier:new N(["statement","source","exportName","identifierName"]),export:new N(["statement"]),exportImport:new N(["statement","source"]),exportDeclaration:new N(["statement","declaration"]),exportExpression:new N(["statement","declaration"]),exportSpecifier:new N(["statement","identifierName","exportName","index"]),exportImportSpecifier:new N(["statement","source","identifierName","exportName","index"]),preDeclarator:new N(["declarator","statement"]),declarator:new N(["declarator","statement"]),varDeclaration:new j((()=>new N(["declaration"]))),varDeclarationLet:new j((()=>new N(["declaration"]))),varDeclarationConst:new j((()=>new N(["declaration"]))),varDeclarationVar:new j((()=>new N(["declaration"]))),pattern:new j((()=>new N(["pattern"]))),canRename:new j((()=>new N(["initExpression"]))),rename:new j((()=>new N(["initExpression"]))),assign:new j((()=>new N(["expression"]))),assignMemberChain:new j((()=>new N(["expression","members"]))),typeof:new j((()=>new N(["expression"]))),importCall:new N(["expression"]),topLevelAwait:new N(["expression"]),call:new j((()=>new N(["expression"]))),callMemberChain:new j((()=>new N(["expression","members"]))),memberChainOfCallMemberChain:new j((()=>new N(["expression","calleeMembers","callExpression","members"]))),callMemberChainOfCallMemberChain:new j((()=>new N(["expression","calleeMembers","innerCallExpression","members"]))),optionalChaining:new N(["optionalChaining"]),new:new j((()=>new N(["expression"]))),expression:new j((()=>new N(["expression"]))),expressionMemberChain:new j((()=>new N(["expression","members"]))),unhandledExpressionMemberChain:new j((()=>new N(["expression","members"]))),expressionConditionalOperator:new N(["expression"]),expressionLogicalOperator:new N(["expression"]),program:new N(["ast","comments"]),finish:new N(["ast","comments"])});this.sourceType=S;this.scope=undefined;this.state=undefined;this.comments=undefined;this.semicolons=undefined;this.statementPath=undefined;this.prevStatement=undefined;this.currentTagData=undefined;this._initializeEvaluating()}_initializeEvaluating(){this.hooks.evaluate.for("Literal").tap("JavascriptParser",(S=>{const E=S;switch(typeof E.value){case"number":return(new _e).setNumber(E.value).setRange(E.range);case"bigint":return(new _e).setBigInt(E.value).setRange(E.range);case"string":return(new _e).setString(E.value).setRange(E.range);case"boolean":return(new _e).setBoolean(E.value).setRange(E.range)}if(E.value===null){return(new _e).setNull().setRange(E.range)}if(E.value instanceof RegExp){return(new _e).setRegExp(E.value).setRange(E.range)}}));this.hooks.evaluate.for("NewExpression").tap("JavascriptParser",(S=>{const E=S;const k=E.callee;if(k.type!=="Identifier"||k.name!=="RegExp"||E.arguments.length>2||this.getVariableInfo("RegExp")!=="RegExp")return;let w,N;const j=E.arguments[0];if(j){if(j.type==="SpreadElement")return;const S=this.evaluateExpression(j);if(!S)return;w=S.asString();if(!w)return}else{return(new _e).setRegExp(new RegExp("")).setRange(E.range)}const q=E.arguments[1];if(q){if(q.type==="SpreadElement")return;const S=this.evaluateExpression(q);if(!S)return;if(!S.isUndefined()){N=S.asString();if(N===undefined||!_e.isValidRegExpFlags(N))return}}return(new _e).setRegExp(N?new RegExp(w,N):new RegExp(w)).setRange(E.range)}));this.hooks.evaluate.for("LogicalExpression").tap("JavascriptParser",(S=>{const E=S;const k=this.evaluateExpression(E.left);if(!k)return;if(E.operator==="&&"){const S=k.asBool();if(S===false)return k.setRange(E.range);if(S!==true)return}else if(E.operator==="||"){const S=k.asBool();if(S===true)return k.setRange(E.range);if(S!==false)return}else if(E.operator==="??"){const S=k.asNullish();if(S===false)return k.setRange(E.range);if(S!==true)return}else return;const w=this.evaluateExpression(E.right);if(!w)return;if(k.couldHaveSideEffects())w.setSideEffects();return w.setRange(E.range)}));const valueAsExpression=(S,E,k)=>{switch(typeof S){case"boolean":return(new _e).setBoolean(S).setSideEffects(k).setRange(E.range);case"number":return(new _e).setNumber(S).setSideEffects(k).setRange(E.range);case"bigint":return(new _e).setBigInt(S).setSideEffects(k).setRange(E.range);case"string":return(new _e).setString(S).setSideEffects(k).setRange(E.range)}};this.hooks.evaluate.for("BinaryExpression").tap("JavascriptParser",(S=>{const E=S;const handleConstOperation=S=>{const k=this.evaluateExpression(E.left);if(!k||!k.isCompileTimeValue())return;const w=this.evaluateExpression(E.right);if(!w||!w.isCompileTimeValue())return;const N=S(k.asCompileTimeValue(),w.asCompileTimeValue());return valueAsExpression(N,E,k.couldHaveSideEffects()||w.couldHaveSideEffects())};const isAlwaysDifferent=(S,E)=>S===true&&E===false||S===false&&E===true;const handleTemplateStringCompare=(S,E,k,w)=>{const getPrefix=S=>{let E="";for(const k of S){const S=k.asString();if(S!==undefined)E+=S;else break}return E};const getSuffix=S=>{let E="";for(let k=S.length-1;k>=0;k--){const w=S[k].asString();if(w!==undefined)E=w+E;else break}return E};const N=getPrefix(S.parts);const j=getPrefix(E.parts);const q=getSuffix(S.parts);const ee=getSuffix(E.parts);const te=Math.min(N.length,j.length);const ne=Math.min(q.length,ee.length);if(N.slice(0,te)!==j.slice(0,te)||q.slice(-ne)!==ee.slice(-ne)){return k.setBoolean(!w).setSideEffects(S.couldHaveSideEffects()||E.couldHaveSideEffects())}};const handleStrictEqualityComparison=S=>{const k=this.evaluateExpression(E.left);if(!k)return;const w=this.evaluateExpression(E.right);if(!w)return;const N=new _e;N.setRange(E.range);const j=k.isCompileTimeValue();const q=w.isCompileTimeValue();if(j&&q){return N.setBoolean(S===(k.asCompileTimeValue()===w.asCompileTimeValue())).setSideEffects(k.couldHaveSideEffects()||w.couldHaveSideEffects())}if(k.isArray()&&w.isArray()){return N.setBoolean(!S).setSideEffects(k.couldHaveSideEffects()||w.couldHaveSideEffects())}if(k.isTemplateString()&&w.isTemplateString()){return handleTemplateStringCompare(k,w,N,S)}const ee=k.isPrimitiveType();const te=w.isPrimitiveType();if(ee===false&&(j||te===true)||te===false&&(q||ee===true)||isAlwaysDifferent(k.asBool(),w.asBool())||isAlwaysDifferent(k.asNullish(),w.asNullish())){return N.setBoolean(!S).setSideEffects(k.couldHaveSideEffects()||w.couldHaveSideEffects())}};const handleAbstractEqualityComparison=S=>{const k=this.evaluateExpression(E.left);if(!k)return;const w=this.evaluateExpression(E.right);if(!w)return;const N=new _e;N.setRange(E.range);const j=k.isCompileTimeValue();const q=w.isCompileTimeValue();if(j&&q){return N.setBoolean(S===(k.asCompileTimeValue()==w.asCompileTimeValue())).setSideEffects(k.couldHaveSideEffects()||w.couldHaveSideEffects())}if(k.isArray()&&w.isArray()){return N.setBoolean(!S).setSideEffects(k.couldHaveSideEffects()||w.couldHaveSideEffects())}if(k.isTemplateString()&&w.isTemplateString()){return handleTemplateStringCompare(k,w,N,S)}};if(E.operator==="+"){const S=this.evaluateExpression(E.left);if(!S)return;const k=this.evaluateExpression(E.right);if(!k)return;const w=new _e;if(S.isString()){if(k.isString()){w.setString(S.string+k.string)}else if(k.isNumber()){w.setString(S.string+k.number)}else if(k.isWrapped()&&k.prefix&&k.prefix.isString()){w.setWrapped((new _e).setString(S.string+k.prefix.string).setRange(joinRanges(S.range,k.prefix.range)),k.postfix,k.wrappedInnerExpressions)}else if(k.isWrapped()){w.setWrapped(S,k.postfix,k.wrappedInnerExpressions)}else{w.setWrapped(S,null,[k])}}else if(S.isNumber()){if(k.isString()){w.setString(S.number+k.string)}else if(k.isNumber()){w.setNumber(S.number+k.number)}else{return}}else if(S.isBigInt()){if(k.isBigInt()){w.setBigInt(S.bigint+k.bigint)}}else if(S.isWrapped()){if(S.postfix&&S.postfix.isString()&&k.isString()){w.setWrapped(S.prefix,(new _e).setString(S.postfix.string+k.string).setRange(joinRanges(S.postfix.range,k.range)),S.wrappedInnerExpressions)}else if(S.postfix&&S.postfix.isString()&&k.isNumber()){w.setWrapped(S.prefix,(new _e).setString(S.postfix.string+k.number).setRange(joinRanges(S.postfix.range,k.range)),S.wrappedInnerExpressions)}else if(k.isString()){w.setWrapped(S.prefix,k,S.wrappedInnerExpressions)}else if(k.isNumber()){w.setWrapped(S.prefix,(new _e).setString(k.number+"").setRange(k.range),S.wrappedInnerExpressions)}else if(k.isWrapped()){w.setWrapped(S.prefix,k.postfix,S.wrappedInnerExpressions&&k.wrappedInnerExpressions&&S.wrappedInnerExpressions.concat(S.postfix?[S.postfix]:[]).concat(k.prefix?[k.prefix]:[]).concat(k.wrappedInnerExpressions))}else{w.setWrapped(S.prefix,null,S.wrappedInnerExpressions&&S.wrappedInnerExpressions.concat(S.postfix?[S.postfix,k]:[k]))}}else{if(k.isString()){w.setWrapped(null,k,[S])}else if(k.isWrapped()){w.setWrapped(null,k.postfix,k.wrappedInnerExpressions&&(k.prefix?[S,k.prefix]:[S]).concat(k.wrappedInnerExpressions))}else{return}}if(S.couldHaveSideEffects()||k.couldHaveSideEffects())w.setSideEffects();w.setRange(E.range);return w}else if(E.operator==="-"){return handleConstOperation(((S,E)=>S-E))}else if(E.operator==="*"){return handleConstOperation(((S,E)=>S*E))}else if(E.operator==="/"){return handleConstOperation(((S,E)=>S/E))}else if(E.operator==="**"){return handleConstOperation(((S,E)=>S**E))}else if(E.operator==="==="){return handleStrictEqualityComparison(true)}else if(E.operator==="=="){return handleAbstractEqualityComparison(true)}else if(E.operator==="!=="){return handleStrictEqualityComparison(false)}else if(E.operator==="!="){return handleAbstractEqualityComparison(false)}else if(E.operator==="&"){return handleConstOperation(((S,E)=>S&E))}else if(E.operator==="|"){return handleConstOperation(((S,E)=>S|E))}else if(E.operator==="^"){return handleConstOperation(((S,E)=>S^E))}else if(E.operator===">>>"){return handleConstOperation(((S,E)=>S>>>E))}else if(E.operator===">>"){return handleConstOperation(((S,E)=>S>>E))}else if(E.operator==="<<"){return handleConstOperation(((S,E)=>S<S"){return handleConstOperation(((S,E)=>S>E))}else if(E.operator==="<="){return handleConstOperation(((S,E)=>S<=E))}else if(E.operator===">="){return handleConstOperation(((S,E)=>S>=E))}}));this.hooks.evaluate.for("UnaryExpression").tap("JavascriptParser",(S=>{const E=S;const handleConstOperation=S=>{const k=this.evaluateExpression(E.argument);if(!k||!k.isCompileTimeValue())return;const w=S(k.asCompileTimeValue());return valueAsExpression(w,E,k.couldHaveSideEffects())};if(E.operator==="typeof"){switch(E.argument.type){case"Identifier":{const S=this.callHooksForName(this.hooks.evaluateTypeof,E.argument.name,E);if(S!==undefined)return S;break}case"MetaProperty":{const S=this.callHooksForName(this.hooks.evaluateTypeof,getRootName(E.argument),E);if(S!==undefined)return S;break}case"MemberExpression":{const S=this.callHooksForExpression(this.hooks.evaluateTypeof,E.argument,E);if(S!==undefined)return S;break}case"ChainExpression":{const S=this.callHooksForExpression(this.hooks.evaluateTypeof,E.argument.expression,E);if(S!==undefined)return S;break}case"FunctionExpression":{return(new _e).setString("function").setRange(E.range)}}const S=this.evaluateExpression(E.argument);if(S.isUnknown())return;if(S.isString()){return(new _e).setString("string").setRange(E.range)}if(S.isWrapped()){return(new _e).setString("string").setSideEffects().setRange(E.range)}if(S.isUndefined()){return(new _e).setString("undefined").setRange(E.range)}if(S.isNumber()){return(new _e).setString("number").setRange(E.range)}if(S.isBigInt()){return(new _e).setString("bigint").setRange(E.range)}if(S.isBoolean()){return(new _e).setString("boolean").setRange(E.range)}if(S.isConstArray()||S.isRegExp()||S.isNull()){return(new _e).setString("object").setRange(E.range)}if(S.isArray()){return(new _e).setString("object").setSideEffects(S.couldHaveSideEffects()).setRange(E.range)}}else if(E.operator==="!"){const S=this.evaluateExpression(E.argument);if(!S)return;const k=S.asBool();if(typeof k!=="boolean")return;return(new _e).setBoolean(!k).setSideEffects(S.couldHaveSideEffects()).setRange(E.range)}else if(E.operator==="~"){return handleConstOperation((S=>~S))}else if(E.operator==="+"){return handleConstOperation((S=>+S))}else if(E.operator==="-"){return handleConstOperation((S=>-S))}}));this.hooks.evaluateTypeof.for("undefined").tap("JavascriptParser",(S=>(new _e).setString("undefined").setRange(S.range)));const tapEvaluateWithVariableInfo=(S,E)=>{let k=undefined;let w=undefined;this.hooks.evaluate.for(S).tap("JavascriptParser",(S=>{const N=S;const j=E(S);if(j!==undefined){return this.callHooksForInfoWithFallback(this.hooks.evaluateIdentifier,j.name,(S=>{k=N;w=j}),(S=>{const E=this.hooks.evaluateDefinedIdentifier.get(S);if(E!==undefined){return E.call(N)}}),N)}}));this.hooks.evaluate.for(S).tap({name:"JavascriptParser",stage:100},(S=>{const N=k===S?w:E(S);if(N!==undefined){return(new _e).setIdentifier(N.name,N.rootInfo,N.getMembers).setRange(S.range)}}));this.hooks.finish.tap("JavascriptParser",(()=>{k=w=undefined}))};tapEvaluateWithVariableInfo("Identifier",(S=>{const E=this.getVariableInfo(S.name);if(typeof E==="string"||E instanceof VariableInfo&&typeof E.freeName==="string"){return{name:E,rootInfo:E,getMembers:()=>[]}}}));tapEvaluateWithVariableInfo("ThisExpression",(S=>{const E=this.getVariableInfo("this");if(typeof E==="string"||E instanceof VariableInfo&&typeof E.freeName==="string"){return{name:E,rootInfo:E,getMembers:()=>[]}}}));this.hooks.evaluate.for("MetaProperty").tap("JavascriptParser",(S=>{const E=S;return this.callHooksForName(this.hooks.evaluateIdentifier,getRootName(S),E)}));tapEvaluateWithVariableInfo("MemberExpression",(S=>this.getMemberExpressionInfo(S,Te)));this.hooks.evaluate.for("CallExpression").tap("JavascriptParser",(S=>{const E=S;if(E.callee.type!=="MemberExpression"||E.callee.property.type!==(E.callee.computed?"Literal":"Identifier")){return}const k=this.evaluateExpression(E.callee.object);if(!k)return;const w=E.callee.property.type==="Literal"?`${E.callee.property.value}`:E.callee.property.name;const N=this.hooks.evaluateCallExpressionMember.get(w);if(N!==undefined){return N.call(E,k)}}));this.hooks.evaluateCallExpressionMember.for("indexOf").tap("JavascriptParser",((S,E)=>{if(!E.isString())return;if(S.arguments.length===0)return;const[k,w]=S.arguments;if(k.type==="SpreadElement")return;const N=this.evaluateExpression(k);if(!N.isString())return;const j=N.string;let q;if(w){if(w.type==="SpreadElement")return;const S=this.evaluateExpression(w);if(!S.isNumber())return;q=E.string.indexOf(j,S.number)}else{q=E.string.indexOf(j)}return(new _e).setNumber(q).setSideEffects(E.couldHaveSideEffects()).setRange(S.range)}));this.hooks.evaluateCallExpressionMember.for("replace").tap("JavascriptParser",((S,E)=>{if(!E.isString())return;if(S.arguments.length!==2)return;if(S.arguments[0].type==="SpreadElement")return;if(S.arguments[1].type==="SpreadElement")return;let k=this.evaluateExpression(S.arguments[0]);let w=this.evaluateExpression(S.arguments[1]);if(!k.isString()&&!k.isRegExp())return;const N=k.regExp||k.string;if(!w.isString())return;const j=w.string;return(new _e).setString(E.string.replace(N,j)).setSideEffects(E.couldHaveSideEffects()).setRange(S.range)}));["substr","substring","slice"].forEach((S=>{this.hooks.evaluateCallExpressionMember.for(S).tap("JavascriptParser",((E,k)=>{if(!k.isString())return;let w;let N,j=k.string;switch(E.arguments.length){case 1:if(E.arguments[0].type==="SpreadElement")return;w=this.evaluateExpression(E.arguments[0]);if(!w.isNumber())return;N=j[S](w.number);break;case 2:{if(E.arguments[0].type==="SpreadElement")return;if(E.arguments[1].type==="SpreadElement")return;w=this.evaluateExpression(E.arguments[0]);const k=this.evaluateExpression(E.arguments[1]);if(!w.isNumber())return;if(!k.isNumber())return;N=j[S](w.number,k.number);break}default:return}return(new _e).setString(N).setSideEffects(k.couldHaveSideEffects()).setRange(E.range)}))}));const getSimplifiedTemplateResult=(S,E)=>{const k=[];const w=[];for(let N=0;N0){const S=w[w.length-1];const k=this.evaluateExpression(E.expressions[N-1]);const ee=k.asString();if(typeof ee==="string"&&!k.couldHaveSideEffects()){S.setString(S.string+ee+q);S.setRange([S.range[0],j.range[1]]);S.setExpression(undefined);continue}w.push(k)}const ee=(new _e).setString(q).setRange(j.range).setExpression(j);k.push(ee);w.push(ee)}return{quasis:k,parts:w}};this.hooks.evaluate.for("TemplateLiteral").tap("JavascriptParser",(S=>{const E=S;const{quasis:k,parts:w}=getSimplifiedTemplateResult("cooked",E);if(w.length===1){return w[0].setRange(E.range)}return(new _e).setTemplateString(k,w,"cooked").setRange(E.range)}));this.hooks.evaluate.for("TaggedTemplateExpression").tap("JavascriptParser",(S=>{const E=S;const k=this.evaluateExpression(E.tag);if(k.isIdentifier()&&k.identifier!=="String.raw")return;const{quasis:w,parts:N}=getSimplifiedTemplateResult("raw",E.quasi);return(new _e).setTemplateString(w,N,"raw").setRange(E.range)}));this.hooks.evaluateCallExpressionMember.for("concat").tap("JavascriptParser",((S,E)=>{if(!E.isString()&&!E.isWrapped())return;let k=null;let w=false;const N=[];for(let E=S.arguments.length-1;E>=0;E--){const j=S.arguments[E];if(j.type==="SpreadElement")return;const q=this.evaluateExpression(j);if(w||!q.isString()&&!q.isNumber()){w=true;N.push(q);continue}const ee=q.isString()?q.string:""+q.number;const te=ee+(k?k.string:"");const ne=[q.range[0],(k||q).range[1]];k=(new _e).setString(te).setSideEffects(k&&k.couldHaveSideEffects()||q.couldHaveSideEffects()).setRange(ne)}if(w){const w=E.isString()?E:E.prefix;const j=E.isWrapped()&&E.wrappedInnerExpressions?E.wrappedInnerExpressions.concat(N.reverse()):N.reverse();return(new _e).setWrapped(w,k,j).setRange(S.range)}else if(E.isWrapped()){const w=k||E.postfix;const j=E.wrappedInnerExpressions?E.wrappedInnerExpressions.concat(N.reverse()):N.reverse();return(new _e).setWrapped(E.prefix,w,j).setRange(S.range)}else{const w=E.string+(k?k.string:"");return(new _e).setString(w).setSideEffects(k&&k.couldHaveSideEffects()||E.couldHaveSideEffects()).setRange(S.range)}}));this.hooks.evaluateCallExpressionMember.for("split").tap("JavascriptParser",((S,E)=>{if(!E.isString())return;if(S.arguments.length!==1)return;if(S.arguments[0].type==="SpreadElement")return;let k;const w=this.evaluateExpression(S.arguments[0]);if(w.isString()){k=E.string.split(w.string)}else if(w.isRegExp()){k=E.string.split(w.regExp)}else{return}return(new _e).setArray(k).setSideEffects(E.couldHaveSideEffects()).setRange(S.range)}));this.hooks.evaluate.for("ConditionalExpression").tap("JavascriptParser",(S=>{const E=S;const k=this.evaluateExpression(E.test);const w=k.asBool();let N;if(w===undefined){const S=this.evaluateExpression(E.consequent);const k=this.evaluateExpression(E.alternate);if(!S||!k)return;N=new _e;if(S.isConditional()){N.setOptions(S.options)}else{N.setOptions([S])}if(k.isConditional()){N.addOptions(k.options)}else{N.addOptions([k])}}else{N=this.evaluateExpression(w?E.consequent:E.alternate);if(k.couldHaveSideEffects())N.setSideEffects()}N.setRange(E.range);return N}));this.hooks.evaluate.for("ArrayExpression").tap("JavascriptParser",(S=>{const E=S;const k=E.elements.map((S=>S!==null&&S.type!=="SpreadElement"&&this.evaluateExpression(S)));if(!k.every(Boolean))return;return(new _e).setItems(k).setRange(E.range)}));this.hooks.evaluate.for("ChainExpression").tap("JavascriptParser",(S=>{const E=S;const k=[];let w=E.expression;while(w.type==="MemberExpression"||w.type==="CallExpression"){if(w.type==="MemberExpression"){if(w.optional){k.push(w.object)}w=w.object}else{if(w.optional){k.push(w.callee)}w=w.callee}}while(k.length>0){const E=k.pop();const w=this.evaluateExpression(E);if(w&&w.asNullish()){return w.setRange(S.range)}}return this.evaluateExpression(E.expression)}))}getRenameIdentifier(S){const E=this.evaluateExpression(S);if(E&&E.isIdentifier()){return E.identifier}}walkClass(S){if(S.superClass){if(!this.hooks.classExtendsExpression.call(S.superClass,S)){this.walkExpression(S.superClass)}}if(S.body&&S.body.type==="ClassBody"){for(const E of S.body.body){if(!this.hooks.classBodyElement.call(E,S)){if(E.computed&&E.key){this.walkExpression(E.key)}if(E.value){if(!this.hooks.classBodyValue.call(E.value,E,S)){const S=this.scope.topLevelScope;this.scope.topLevelScope=false;this.walkExpression(E.value);this.scope.topLevelScope=S}}}}}}preWalkStatements(S){for(let E=0,k=S.length;E{const E=S.body;const k=this.prevStatement;this.blockPreWalkStatements(E);this.prevStatement=k;this.walkStatements(E)}))}walkExpressionStatement(S){this.walkExpression(S.expression)}preWalkIfStatement(S){this.preWalkStatement(S.consequent);if(S.alternate){this.preWalkStatement(S.alternate)}}walkIfStatement(S){const E=this.hooks.statementIf.call(S);if(E===undefined){this.walkExpression(S.test);this.walkNestedStatement(S.consequent);if(S.alternate){this.walkNestedStatement(S.alternate)}}else{if(E){this.walkNestedStatement(S.consequent)}else if(S.alternate){this.walkNestedStatement(S.alternate)}}}preWalkLabeledStatement(S){this.preWalkStatement(S.body)}walkLabeledStatement(S){const E=this.hooks.label.get(S.label.name);if(E!==undefined){const k=E.call(S);if(k===true)return}this.walkNestedStatement(S.body)}preWalkWithStatement(S){this.preWalkStatement(S.body)}walkWithStatement(S){this.walkExpression(S.object);this.walkNestedStatement(S.body)}preWalkSwitchStatement(S){this.preWalkSwitchCases(S.cases)}walkSwitchStatement(S){this.walkExpression(S.discriminant);this.walkSwitchCases(S.cases)}walkTerminatingStatement(S){if(S.argument)this.walkExpression(S.argument)}walkReturnStatement(S){this.walkTerminatingStatement(S)}walkThrowStatement(S){this.walkTerminatingStatement(S)}preWalkTryStatement(S){this.preWalkStatement(S.block);if(S.handler)this.preWalkCatchClause(S.handler);if(S.finializer)this.preWalkStatement(S.finializer)}walkTryStatement(S){if(this.scope.inTry){this.walkStatement(S.block)}else{this.scope.inTry=true;this.walkStatement(S.block);this.scope.inTry=false}if(S.handler)this.walkCatchClause(S.handler);if(S.finalizer)this.walkStatement(S.finalizer)}preWalkWhileStatement(S){this.preWalkStatement(S.body)}walkWhileStatement(S){this.walkExpression(S.test);this.walkNestedStatement(S.body)}preWalkDoWhileStatement(S){this.preWalkStatement(S.body)}walkDoWhileStatement(S){this.walkNestedStatement(S.body);this.walkExpression(S.test)}preWalkForStatement(S){if(S.init){if(S.init.type==="VariableDeclaration"){this.preWalkStatement(S.init)}}this.preWalkStatement(S.body)}walkForStatement(S){this.inBlockScope((()=>{if(S.init){if(S.init.type==="VariableDeclaration"){this.blockPreWalkVariableDeclaration(S.init);this.prevStatement=undefined;this.walkStatement(S.init)}else{this.walkExpression(S.init)}}if(S.test){this.walkExpression(S.test)}if(S.update){this.walkExpression(S.update)}const E=S.body;if(E.type==="BlockStatement"){const S=this.prevStatement;this.blockPreWalkStatements(E.body);this.prevStatement=S;this.walkStatements(E.body)}else{this.walkNestedStatement(E)}}))}preWalkForInStatement(S){if(S.left.type==="VariableDeclaration"){this.preWalkVariableDeclaration(S.left)}this.preWalkStatement(S.body)}walkForInStatement(S){this.inBlockScope((()=>{if(S.left.type==="VariableDeclaration"){this.blockPreWalkVariableDeclaration(S.left);this.walkVariableDeclaration(S.left)}else{this.walkPattern(S.left)}this.walkExpression(S.right);const E=S.body;if(E.type==="BlockStatement"){const S=this.prevStatement;this.blockPreWalkStatements(E.body);this.prevStatement=S;this.walkStatements(E.body)}else{this.walkNestedStatement(E)}}))}preWalkForOfStatement(S){if(S.await&&this.scope.topLevelScope===true){this.hooks.topLevelAwait.call(S)}if(S.left.type==="VariableDeclaration"){this.preWalkVariableDeclaration(S.left)}this.preWalkStatement(S.body)}walkForOfStatement(S){this.inBlockScope((()=>{if(S.left.type==="VariableDeclaration"){this.blockPreWalkVariableDeclaration(S.left);this.walkVariableDeclaration(S.left)}else{this.walkPattern(S.left)}this.walkExpression(S.right);const E=S.body;if(E.type==="BlockStatement"){const S=this.prevStatement;this.blockPreWalkStatements(E.body);this.prevStatement=S;this.walkStatements(E.body)}else{this.walkNestedStatement(E)}}))}preWalkFunctionDeclaration(S){if(S.id){this.defineVariable(S.id.name)}}walkFunctionDeclaration(S){const E=this.scope.topLevelScope;this.scope.topLevelScope=false;this.inFunctionScope(true,S.params,(()=>{for(const E of S.params){this.walkPattern(E)}if(S.body.type==="BlockStatement"){this.detectMode(S.body.body);const E=this.prevStatement;this.preWalkStatement(S.body);this.prevStatement=E;this.walkStatement(S.body)}else{this.walkExpression(S.body)}}));this.scope.topLevelScope=E}blockPreWalkImportDeclaration(S){const E=S.source.value;this.hooks.import.call(S,E);for(const k of S.specifiers){const w=k.local.name;switch(k.type){case"ImportDefaultSpecifier":if(!this.hooks.importSpecifier.call(S,E,"default",w)){this.defineVariable(w)}break;case"ImportSpecifier":if(!this.hooks.importSpecifier.call(S,E,k.imported.name,w)){this.defineVariable(w)}break;case"ImportNamespaceSpecifier":if(!this.hooks.importSpecifier.call(S,E,null,w)){this.defineVariable(w)}break;default:this.defineVariable(w)}}}enterDeclaration(S,E){switch(S.type){case"VariableDeclaration":for(const k of S.declarations){switch(k.type){case"VariableDeclarator":{this.enterPattern(k.id,E);break}}}break;case"FunctionDeclaration":this.enterPattern(S.id,E);break;case"ClassDeclaration":this.enterPattern(S.id,E);break}}blockPreWalkExportNamedDeclaration(S){let E;if(S.source){E=S.source.value;this.hooks.exportImport.call(S,E)}else{this.hooks.export.call(S)}if(S.declaration){if(!this.hooks.exportDeclaration.call(S,S.declaration)){const E=this.prevStatement;this.preWalkStatement(S.declaration);this.prevStatement=E;this.blockPreWalkStatement(S.declaration);let k=0;this.enterDeclaration(S.declaration,(E=>{this.hooks.exportSpecifier.call(S,E,E,k++)}))}}if(S.specifiers){for(let k=0;k{let w=E.get(S);if(w===undefined||!w.call(k)){w=this.hooks.varDeclaration.get(S);if(w===undefined||!w.call(k)){this.defineVariable(S)}}}))}break}}}}walkVariableDeclaration(S){for(const E of S.declarations){switch(E.type){case"VariableDeclarator":{const k=E.init&&this.getRenameIdentifier(E.init);if(k&&E.id.type==="Identifier"){const S=this.hooks.canRename.get(k);if(S!==undefined&&S.call(E.init)){const S=this.hooks.rename.get(k);if(S===undefined||!S.call(E.init)){this.setVariable(E.id.name,k)}break}}if(!this.hooks.declarator.call(E,S)){this.walkPattern(E.id);if(E.init)this.walkExpression(E.init)}break}}}}blockPreWalkClassDeclaration(S){if(S.id){this.defineVariable(S.id.name)}}walkClassDeclaration(S){this.walkClass(S)}preWalkSwitchCases(S){for(let E=0,k=S.length;E{const E=S.length;for(let k=0;k0){const S=this.prevStatement;this.blockPreWalkStatements(E.consequent);this.prevStatement=S}}for(let k=0;k0){this.walkStatements(E.consequent)}}}))}preWalkCatchClause(S){this.preWalkStatement(S.body)}walkCatchClause(S){this.inBlockScope((()=>{if(S.param!==null){this.enterPattern(S.param,(S=>{this.defineVariable(S)}));this.walkPattern(S.param)}const E=this.prevStatement;this.blockPreWalkStatement(S.body);this.prevStatement=E;this.walkStatement(S.body)}))}walkPattern(S){switch(S.type){case"ArrayPattern":this.walkArrayPattern(S);break;case"AssignmentPattern":this.walkAssignmentPattern(S);break;case"MemberExpression":this.walkMemberExpression(S);break;case"ObjectPattern":this.walkObjectPattern(S);break;case"RestElement":this.walkRestElement(S);break}}walkAssignmentPattern(S){this.walkExpression(S.right);this.walkPattern(S.left)}walkObjectPattern(S){for(let E=0,k=S.properties.length;E{for(const E of S.params){this.walkPattern(E)}if(S.body.type==="BlockStatement"){this.detectMode(S.body.body);const E=this.prevStatement;this.preWalkStatement(S.body);this.prevStatement=E;this.walkStatement(S.body)}else{this.walkExpression(S.body)}}));this.scope.topLevelScope=E}walkArrowFunctionExpression(S){const E=this.scope.topLevelScope;this.scope.topLevelScope=E?"arrow":false;this.inFunctionScope(false,S.params,(()=>{for(const E of S.params){this.walkPattern(E)}if(S.body.type==="BlockStatement"){this.detectMode(S.body.body);const E=this.prevStatement;this.preWalkStatement(S.body);this.prevStatement=E;this.walkStatement(S.body)}else{this.walkExpression(S.body)}}));this.scope.topLevelScope=E}walkSequenceExpression(S){if(!S.expressions)return;const E=this.statementPath[this.statementPath.length-1];if(E===S||E.type==="ExpressionStatement"&&E.expression===S){const E=this.statementPath.pop();for(const E of S.expressions){this.statementPath.push(E);this.walkExpression(E);this.statementPath.pop()}this.statementPath.push(E)}else{this.walkExpressions(S.expressions)}}walkUpdateExpression(S){this.walkExpression(S.argument)}walkUnaryExpression(S){if(S.operator==="typeof"){const E=this.callHooksForExpression(this.hooks.typeof,S.argument,S);if(E===true)return;if(S.argument.type==="ChainExpression"){const E=this.callHooksForExpression(this.hooks.typeof,S.argument.expression,S);if(E===true)return}}this.walkExpression(S.argument)}walkLeftRightExpression(S){this.walkExpression(S.left);this.walkExpression(S.right)}walkBinaryExpression(S){this.walkLeftRightExpression(S)}walkLogicalExpression(S){const E=this.hooks.expressionLogicalOperator.call(S);if(E===undefined){this.walkLeftRightExpression(S)}else{if(E){this.walkExpression(S.right)}}}walkAssignmentExpression(S){if(S.left.type==="Identifier"){const E=this.getRenameIdentifier(S.right);if(E){if(this.callHooksForInfo(this.hooks.canRename,E,S.right)){if(!this.callHooksForInfo(this.hooks.rename,E,S.right)){this.setVariable(S.left.name,this.getVariableInfo(E))}return}}this.walkExpression(S.right);this.enterPattern(S.left,((E,k)=>{if(!this.callHooksForName(this.hooks.assign,E,S)){this.walkExpression(S.left)}}));return}if(S.left.type.endsWith("Pattern")){this.walkExpression(S.right);this.enterPattern(S.left,((E,k)=>{if(!this.callHooksForName(this.hooks.assign,E,S)){this.defineVariable(E)}}));this.walkPattern(S.left)}else if(S.left.type==="MemberExpression"){const E=this.getMemberExpressionInfo(S.left,Te);if(E){if(this.callHooksForInfo(this.hooks.assignMemberChain,E.rootInfo,S,E.getMembers())){return}}this.walkExpression(S.right);this.walkExpression(S.left)}else{this.walkExpression(S.right);this.walkExpression(S.left)}}walkConditionalExpression(S){const E=this.hooks.expressionConditionalOperator.call(S);if(E===undefined){this.walkExpression(S.test);this.walkExpression(S.consequent);if(S.alternate){this.walkExpression(S.alternate)}}else{if(E){this.walkExpression(S.consequent)}else if(S.alternate){this.walkExpression(S.alternate)}}}walkNewExpression(S){const E=this.callHooksForExpression(this.hooks.new,S.callee,S);if(E===true)return;this.walkExpression(S.callee);if(S.arguments){this.walkExpressions(S.arguments)}}walkYieldExpression(S){if(S.argument){this.walkExpression(S.argument)}}walkTemplateLiteral(S){if(S.expressions){this.walkExpressions(S.expressions)}}walkTaggedTemplateExpression(S){if(S.tag){this.walkExpression(S.tag)}if(S.quasi&&S.quasi.expressions){this.walkExpressions(S.quasi.expressions)}}walkClassExpression(S){this.walkClass(S)}walkChainExpression(S){const E=this.hooks.optionalChaining.call(S);if(E===undefined){if(S.expression.type==="CallExpression"){this.walkCallExpression(S.expression)}else{this.walkMemberExpression(S.expression)}}}_walkIIFE(S,E,k){const getVarInfo=S=>{const E=this.getRenameIdentifier(S);if(E){if(this.callHooksForInfo(this.hooks.canRename,E,S)){if(!this.callHooksForInfo(this.hooks.rename,E,S)){return this.getVariableInfo(E)}}}this.walkExpression(S)};const{params:w,type:N}=S;const j=N==="ArrowFunctionExpression";const q=k?getVarInfo(k):null;const ee=E.map(getVarInfo);const te=this.scope.topLevelScope;this.scope.topLevelScope=te&&j?"arrow":false;const ne=w.filter(((S,E)=>!ee[E]));if(S.id){ne.push(S.id.name)}this.inFunctionScope(true,ne,(()=>{if(q&&!j){this.setVariable("this",q)}for(let S=0;SS.params.every((S=>S.type==="Identifier"));if(S.callee.type==="MemberExpression"&&S.callee.object.type.endsWith("FunctionExpression")&&!S.callee.computed&&(S.callee.property.name==="call"||S.callee.property.name==="bind")&&S.arguments.length>0&&isSimpleFunction(S.callee.object)){this._walkIIFE(S.callee.object,S.arguments.slice(1),S.arguments[0])}else if(S.callee.type.endsWith("FunctionExpression")&&isSimpleFunction(S.callee)){this._walkIIFE(S.callee,S.arguments,null)}else{if(S.callee.type==="MemberExpression"){const E=this.getMemberExpressionInfo(S.callee,Ee);if(E&&E.type==="call"){const k=this.callHooksForInfo(this.hooks.callMemberChainOfCallMemberChain,E.rootInfo,S,E.getCalleeMembers(),E.call,E.getMembers());if(k===true)return}}const E=this.evaluateExpression(S.callee);if(E.isIdentifier()){const k=this.callHooksForInfo(this.hooks.callMemberChain,E.rootInfo,S,E.getMembers());if(k===true)return;const w=this.callHooksForInfo(this.hooks.call,E.identifier,S);if(w===true)return}if(S.callee){if(S.callee.type==="MemberExpression"){this.walkExpression(S.callee.object);if(S.callee.computed===true)this.walkExpression(S.callee.property)}else{this.walkExpression(S.callee)}}if(S.arguments)this.walkExpressions(S.arguments)}}walkMemberExpression(S){const E=this.getMemberExpressionInfo(S,Ce);if(E){switch(E.type){case"expression":{const k=this.callHooksForInfo(this.hooks.expression,E.name,S);if(k===true)return;const w=E.getMembers();const N=this.callHooksForInfo(this.hooks.expressionMemberChain,E.rootInfo,S,w);if(N===true)return;this.walkMemberExpressionWithExpressionName(S,E.name,E.rootInfo,w.slice(),(()=>this.callHooksForInfo(this.hooks.unhandledExpressionMemberChain,E.rootInfo,S,w)));return}case"call":{const k=this.callHooksForInfo(this.hooks.memberChainOfCallMemberChain,E.rootInfo,S,E.getCalleeMembers(),E.call,E.getMembers());if(k===true)return;this.walkExpression(E.call);return}}}this.walkExpression(S.object);if(S.computed===true)this.walkExpression(S.property)}walkMemberExpressionWithExpressionName(S,E,k,w,N){if(S.object.type==="MemberExpression"){const j=S.property.name||`${S.property.value}`;E=E.slice(0,-j.length-1);w.pop();const q=this.callHooksForInfo(this.hooks.expression,E,S.object);if(q===true)return;this.walkMemberExpressionWithExpressionName(S.object,E,k,w,N)}else if(!N||!N()){this.walkExpression(S.object)}if(S.computed===true)this.walkExpression(S.property)}walkThisExpression(S){this.callHooksForName(this.hooks.expression,"this",S)}walkIdentifier(S){this.callHooksForName(this.hooks.expression,S.name,S)}walkMetaProperty(S){this.hooks.expression.for(getRootName(S)).call(S)}callHooksForExpression(S,E,...k){return this.callHooksForExpressionWithFallback(S,E,undefined,undefined,...k)}callHooksForExpressionWithFallback(S,E,k,w,...N){const j=this.getMemberExpressionInfo(E,Te);if(j!==undefined){const E=j.getMembers();return this.callHooksForInfoWithFallback(S,E.length===0?j.rootInfo:j.name,k&&(S=>k(S,j.rootInfo,j.getMembers)),w&&(()=>w(j.name)),...N)}}callHooksForName(S,E,...k){return this.callHooksForNameWithFallback(S,E,undefined,undefined,...k)}callHooksForInfo(S,E,...k){return this.callHooksForInfoWithFallback(S,E,undefined,undefined,...k)}callHooksForInfoWithFallback(S,E,k,w,...N){let j;if(typeof E==="string"){j=E}else{if(!(E instanceof VariableInfo)){if(w!==undefined){return w()}return}let k=E.tagInfo;while(k!==undefined){const E=S.get(k.tag);if(E!==undefined){this.currentTagData=k.data;const S=E.call(...N);this.currentTagData=undefined;if(S!==undefined)return S}k=k.next}if(E.freeName===true){if(w!==undefined){return w()}return}j=E.freeName}const q=S.get(j);if(q!==undefined){const S=q.call(...N);if(S!==undefined)return S}if(k!==undefined){return k(j)}}callHooksForNameWithFallback(S,E,k,w,...N){return this.callHooksForInfoWithFallback(S,this.getVariableInfo(E),k,w,...N)}inScope(S,E){const k=this.scope;this.scope={topLevelScope:k.topLevelScope,inTry:false,inShorthand:false,isStrict:k.isStrict,isAsmJs:k.isAsmJs,definitions:k.definitions.createChild()};this.undefineVariable("this");this.enterPatterns(S,((S,E)=>{this.defineVariable(S)}));E();this.scope=k}inFunctionScope(S,E,k){const w=this.scope;this.scope={topLevelScope:w.topLevelScope,inTry:false,inShorthand:false,isStrict:w.isStrict,isAsmJs:w.isAsmJs,definitions:w.definitions.createChild()};if(S){this.undefineVariable("this")}this.enterPatterns(E,((S,E)=>{this.defineVariable(S)}));k();this.scope=w}inBlockScope(S){const E=this.scope;this.scope={topLevelScope:E.topLevelScope,inTry:E.inTry,inShorthand:false,isStrict:E.isStrict,isAsmJs:E.isAsmJs,definitions:E.definitions.createChild()};S();this.scope=E}detectMode(S){const E=S.length>=1&&S[0].type==="ExpressionStatement"&&S[0].expression.type==="Literal";if(E&&S[0].expression.value==="use strict"){this.scope.isStrict=true}if(E&&S[0].expression.value==="use asm"){this.scope.isAsmJs=true}}enterPatterns(S,E){for(const k of S){if(typeof k!=="string"){this.enterPattern(k,E)}else if(k){E(k)}}}enterPattern(S,E){if(!S)return;switch(S.type){case"ArrayPattern":this.enterArrayPattern(S,E);break;case"AssignmentPattern":this.enterAssignmentPattern(S,E);break;case"Identifier":this.enterIdentifier(S,E);break;case"ObjectPattern":this.enterObjectPattern(S,E);break;case"RestElement":this.enterRestElement(S,E);break;case"Property":if(S.shorthand&&S.value.type==="Identifier"){this.scope.inShorthand=S.value.name;this.enterIdentifier(S.value,E);this.scope.inShorthand=false}else{this.enterPattern(S.value,E)}break}}enterIdentifier(S,E){if(!this.callHooksForName(this.hooks.pattern,S.name,S)){E(S.name,S)}}enterObjectPattern(S,E){for(let k=0,w=S.properties.length;kN.add(S)})}const j=this.scope;const q=this.state;const ee=this.comments;const ne=this.semicolons;const ae=this.statementPath;const _e=this.prevStatement;this.scope={topLevelScope:true,inTry:false,inShorthand:false,isStrict:false,isAsmJs:false,definitions:new te};this.state=E;this.comments=w;this.semicolons=N;this.statementPath=[];this.prevStatement=undefined;if(this.hooks.program.call(k,w)===undefined){this.detectMode(k.body);this.preWalkStatements(k.body);this.prevStatement=undefined;this.blockPreWalkStatements(k.body);this.prevStatement=undefined;this.walkStatements(k.body)}this.hooks.finish.call(k,w);this.scope=j;this.state=q;this.comments=ee;this.semicolons=ne;this.statementPath=ae;this.prevStatement=_e;return E}evaluate(S){const E=JavascriptParser._parse("("+S+")",{sourceType:this.sourceType,locations:false});if(E.body.length!==1||E.body[0].type!=="ExpressionStatement"){throw new Error("evaluate: Source is not a expression")}return this.evaluateExpression(E.body[0].expression)}isPure(S,E){if(!S)return true;const k=this.hooks.isPure.for(S.type).call(S,E);if(typeof k==="boolean")return k;switch(S.type){case"ClassDeclaration":case"ClassExpression":{if(S.body.type!=="ClassBody")return false;if(S.superClass&&!this.isPure(S.superClass,S.range[0])){return false}const E=S.body.body;return E.every((S=>(!S.computed||!S.key||this.isPure(S.key,S.range[0]))&&(!S.static||!S.value||this.isPure(S.value,S.key?S.key.range[1]:S.range[0]))))}case"FunctionDeclaration":case"FunctionExpression":case"ArrowFunctionExpression":case"Literal":case"PrivateIdentifier":return true;case"VariableDeclaration":return S.declarations.every((S=>this.isPure(S.init,S.range[0])));case"ConditionalExpression":return this.isPure(S.test,E)&&this.isPure(S.consequent,S.test.range[1])&&this.isPure(S.alternate,S.consequent.range[1]);case"SequenceExpression":return S.expressions.every((S=>{const k=this.isPure(S,E);E=S.range[1];return k}));case"CallExpression":{const k=S.range[0]-E>12&&this.getComments([E,S.range[0]]).some((S=>S.type==="Block"&&/^\s*(#|@)__PURE__\s*$/.test(S.value)));if(!k)return false;E=S.callee.range[1];return S.arguments.every((S=>{if(S.type==="SpreadElement")return false;const k=this.isPure(S,E);E=S.range[1];return k}))}}const w=this.evaluateExpression(S);return!w.couldHaveSideEffects()}getComments(S){const[E,k]=S;const compare=(S,E)=>S.range[0]-E;let w=ne.ge(this.comments,E,compare);let N=[];while(this.comments[w]&&this.comments[w].range[1]<=k){N.push(this.comments[w]);w++}return N}isAsiPosition(S){const E=this.statementPath[this.statementPath.length-1];if(E===undefined)throw new Error("Not in statement");return E.range[1]===S&&this.semicolons.has(S)||E.range[0]===S&&this.prevStatement!==undefined&&this.semicolons.has(this.prevStatement.range[1])}unsetAsiPosition(S){this.semicolons.delete(S)}isStatementLevelExpression(S){const E=this.statementPath[this.statementPath.length-1];return S===E||E.type==="ExpressionStatement"&&E.expression===S}getTagData(S,E){const k=this.scope.definitions.get(S);if(k instanceof VariableInfo){let S=k.tagInfo;while(S!==undefined){if(S.tag===E)return S.data;S=S.next}}}tagVariable(S,E,k){const w=this.scope.definitions.get(S);let N;if(w===undefined){N=new VariableInfo(this.scope,S,{tag:E,data:k,next:undefined})}else if(w instanceof VariableInfo){N=new VariableInfo(w.declaredScope,w.freeName,{tag:E,data:k,next:w.tagInfo})}else{N=new VariableInfo(w,true,{tag:E,data:k,next:undefined})}this.scope.definitions.set(S,N)}defineVariable(S){const E=this.scope.definitions.get(S);if(E instanceof VariableInfo&&E.declaredScope===this.scope)return;this.scope.definitions.set(S,this.scope)}undefineVariable(S){this.scope.definitions.delete(S)}isVariableDefined(S){const E=this.scope.definitions.get(S);if(E===undefined)return false;if(E instanceof VariableInfo){return E.freeName===true}return true}getVariableInfo(S){const E=this.scope.definitions.get(S);if(E===undefined){return S}else{return E}}setVariable(S,E){if(typeof E==="string"){if(E===S){this.scope.definitions.delete(S)}else{this.scope.definitions.set(S,new VariableInfo(this.scope,E,undefined))}}else{this.scope.definitions.set(S,E)}}parseCommentOptions(S){const E=this.getComments(S);if(E.length===0){return Fe}let k={};let w=[];for(const S of E){const{value:E}=S;if(E&&Ie.test(E)){try{const S=q.runInNewContext(`(function(){return {${E}};})()`);Object.assign(k,S)}catch(E){E.comment=S;w.push(E)}}}return{options:k,errors:w}}extractMemberExpressionChain(S){let E=S;const k=[];while(E.type==="MemberExpression"){if(E.computed){if(E.property.type!=="Literal")break;k.push(`${E.property.value}`)}else{if(E.property.type!=="Identifier")break;k.push(E.property.name)}E=E.object}return{members:k,object:E}}getFreeInfoFromVariable(S){const E=this.getVariableInfo(S);let k;if(E instanceof VariableInfo){k=E.freeName;if(typeof k!=="string")return undefined}else if(typeof E!=="string"){return undefined}else{k=E}return{info:E,name:k}}getMemberExpressionInfo(S,E){const{object:k,members:w}=this.extractMemberExpressionChain(S);switch(k.type){case"CallExpression":{if((E&Ee)===0)return undefined;let S=k.callee;let N=ve;if(S.type==="MemberExpression"){({object:S,members:N}=this.extractMemberExpressionChain(S))}const j=getRootName(S);if(!j)return undefined;const q=this.getFreeInfoFromVariable(j);if(!q)return undefined;const{info:ee,name:te}=q;const ne=objectAndMembersToName(te,N);return{type:"call",call:k,calleeName:ne,rootInfo:ee,getCalleeMembers:ae((()=>N.reverse())),name:objectAndMembersToName(`${ne}()`,w),getMembers:ae((()=>w.reverse()))}}case"Identifier":case"MetaProperty":case"ThisExpression":{if((E&Te)===0)return undefined;const S=getRootName(k);if(!S)return undefined;const N=this.getFreeInfoFromVariable(S);if(!N)return undefined;const{info:j,name:q}=N;return{type:"expression",name:objectAndMembersToName(q,w),rootInfo:j,getMembers:ae((()=>w.reverse()))}}}}getNameForExpression(S){return this.getMemberExpressionInfo(S,Te)}static _parse(S,E){const k=E?E.sourceType:"module";const w={...Ne,allowReturnOutsideFunction:k==="script",...E,sourceType:k==="auto"?"module":k};let N;let j;let q=false;try{N=we.parse(S,w)}catch(S){j=S;q=true}if(q&&k==="auto"){w.sourceType="script";if(!("allowReturnOutsideFunction"in E)){w.allowReturnOutsideFunction=true}if(Array.isArray(w.onComment)){w.onComment.length=0}try{N=we.parse(S,w);q=false}catch(S){}}if(q){throw j}return N}}S.exports=JavascriptParser;S.exports.ALLOWED_MEMBER_TYPES_ALL=Ce;S.exports.ALLOWED_MEMBER_TYPES_EXPRESSION=Te;S.exports.ALLOWED_MEMBER_TYPES_CALL_EXPRESSION=Ee},48472:(S,E,k)=>{"use strict";const w=k(53558);const N=k(66298);const j=k(87250);E.toConstantDependency=(S,E,k)=>function constDependency(w){const j=new N(E,w.range,k);j.loc=w.loc;S.state.module.addPresentationalDependency(j);return true};E.evaluateToString=S=>function stringExpression(E){return(new j).setString(S).setRange(E.range)};E.evaluateToNumber=S=>function stringExpression(E){return(new j).setNumber(S).setRange(E.range)};E.evaluateToBoolean=S=>function booleanExpression(E){return(new j).setBoolean(S).setRange(E.range)};E.evaluateToIdentifier=(S,E,k,w)=>function identifierExpression(N){let q=(new j).setIdentifier(S,E,k).setSideEffects(false).setRange(N.range);switch(w){case true:q.setTruthy();q.setNullish(false);break;case null:q.setFalsy();q.setNullish(true);break;case false:q.setFalsy();break}return q};E.expressionIsUnsupported=(S,E)=>function unsupportedExpression(k){const j=new N("(void 0)",k.range,null);j.loc=k.loc;S.state.module.addPresentationalDependency(j);if(!S.state.module)return;S.state.module.addWarning(new w(E,k.loc));return true};E.skipTraversal=()=>true;E.approve=()=>true},13085:(S,E,k)=>{"use strict";const w=k(71452);const N=k(76150);const j=k(58159);const{isSubset:q}=k(26221);const{chunkHasJs:ee}=k(18161);const getAllChunks=(S,E,k)=>{const N=new Set([S]);const j=new Set;for(const S of N){for(const w of S.chunks){if(w===E)continue;if(w===k)continue;j.add(w)}for(const E of S.parentsIterable){if(E instanceof w)N.add(E)}}return j};const te="var __webpack_exports__ = ";E.generateEntryStartup=(S,E,k,w,ee)=>{const ne=[`var __webpack_exec__ = ${E.returningFunction(`__webpack_require__(${N.entryModuleId} = moduleId)`,"moduleId")}`];const runModule=S=>`__webpack_exec__(${JSON.stringify(S)})`;const outputCombination=(S,k,w)=>{if(S.size===0){ne.push(`${w?te:""}(${k.map(runModule).join(", ")});`)}else{const j=E.returningFunction(k.map(runModule).join(", "));ne.push(`${w&&!ee?te:""}${ee?N.onChunksLoaded:N.startupEntrypoint}(0, ${JSON.stringify(Array.from(S,(S=>S.id)))}, ${j});`);if(w&&ee){ne.push(`${te}${N.onChunksLoaded}();`)}}};let ae=undefined;let _e=undefined;for(const[E,N]of k){const k=N.getRuntimeChunk();const j=S.getModuleId(E);const ee=getAllChunks(N,w,k);if(ae&&ae.size===ee.size&&q(ae,ee)){_e.push(j)}else{if(ae){outputCombination(ae,_e)}ae=ee;_e=[j]}}if(ae){outputCombination(ae,_e,true)}ne.push("");return j.asString(ne)};E.updateHashForEntryStartup=(S,E,k,w)=>{for(const[N,j]of k){const k=j.getRuntimeChunk();const q=E.getModuleId(N);S.update(`${q}`);for(const E of getAllChunks(j,w,k))S.update(`${E.id}`)}};E.getInitialChunkIds=(S,E)=>{const k=new Set(S.ids);for(const w of S.getAllInitialChunks()){if(w===S||ee(w,E))continue;for(const S of w.ids)k.add(S)}return k}},72055:(S,E,k)=>{"use strict";const{register:w}=k(24568);class JsonData{constructor(S){this._buffer=undefined;this._data=undefined;if(Buffer.isBuffer(S)){this._buffer=S}else{this._data=S}}get(){if(this._data===undefined&&this._buffer!==undefined){this._data=JSON.parse(this._buffer.toString())}return this._data}}w(JsonData,"webpack/lib/json/JsonData",null,{serialize(S,{write:E}){if(S._buffer===undefined&&S._data!==undefined){S._buffer=Buffer.from(JSON.stringify(S._data))}E(S._buffer)},deserialize({read:S}){return new JsonData(S())}});S.exports=JsonData},79279:(S,E,k)=>{"use strict";const{RawSource:w}=k(48135);const N=k(77294);const{UsageState:j}=k(76632);const q=k(36253);const ee=k(76150);const stringifySafe=S=>{const E=JSON.stringify(S);if(!E){return undefined}return E.replace(/\u2028|\u2029/g,(S=>S==="\u2029"?"\\u2029":"\\u2028"))};const createObjectForExportsInfo=(S,E,k)=>{if(E.otherExportsInfo.getUsed(k)!==j.Unused)return S;const w=Array.isArray(S);const N=w?[]:{};for(const w of Object.keys(S)){const q=E.getReadOnlyExportInfo(w);const ee=q.getUsed(k);if(ee===j.Unused)continue;let te;if(ee===j.OnlyPropertiesUsed&&q.exportsInfo){te=createObjectForExportsInfo(S[w],q.exportsInfo,k)}else{te=S[w]}const ne=q.getUsedName(w,k);N[ne]=te}if(w){let w=E.getReadOnlyExportInfo("length").getUsed(k)!==j.Unused?S.length:undefined;let q=0;for(let S=0;S20&&typeof ve==="object"?`JSON.parse('${Ee.replace(/[\\']/g,"\\$&")}')`:Ee;let Ce;if(ne){Ce=`${k.supportsConst()?"const":"var"} ${N.NAMESPACE_OBJECT_EXPORT} = ${Te};`;ne.registerNamespaceExport(N.NAMESPACE_OBJECT_EXPORT)}else{q.add(ee.module);Ce=`${S.moduleArgument}.exports = ${Te};`}return new w(Ce)}}S.exports=JsonGenerator},9483:(S,E,k)=>{"use strict";const w=k(35817);const N=k(79279);const j=k(79232);const q=w(k(71633),(()=>k(18496)),{name:"Json Modules Plugin",baseDataPath:"parser"});class JsonModulesPlugin{apply(S){S.hooks.compilation.tap("JsonModulesPlugin",((S,{normalModuleFactory:E})=>{E.hooks.createParser.for("json").tap("JsonModulesPlugin",(S=>{q(S);return new j(S)}));E.hooks.createGenerator.for("json").tap("JsonModulesPlugin",(()=>new N))}))}}S.exports=JsonModulesPlugin},79232:(S,E,k)=>{"use strict";const w=k(78688);const N=k(2172);const j=k(38895);const q=k(72055);class JsonParser extends N{constructor(S){super();this.options=S||{}}parse(S,E){if(Buffer.isBuffer(S)){S=S.toString("utf-8")}const k=typeof this.options.parse==="function"?this.options.parse:w;const N=typeof S==="object"?S:k(S[0]==="\ufeff"?S.slice(1):S);E.module.buildInfo.jsonData=new q(N);E.module.buildInfo.strict=true;E.module.buildMeta.exportsType="default";E.module.buildMeta.defaultObject=typeof N==="object"?"redirect-warn":false;E.module.addDependency(new j(j.getExportsFromData(N)));return E}}S.exports=JsonParser},9786:(S,E,k)=>{"use strict";const w=k(76150);const N=k(18161);const j="Common configuration options that specific library names are 'output.library[.name]', 'entry.xyz.library[.name]', 'ModuleFederationPlugin.name' and 'ModuleFederationPlugin.library[.name]'.";class AbstractLibraryPlugin{constructor({pluginName:S,type:E}){this._pluginName=S;this._type=E;this._parseCache=new WeakMap}apply(S){const{_pluginName:E}=this;S.hooks.thisCompilation.tap(E,(S=>{S.hooks.finishModules.tap({name:E,stage:10},(()=>{for(const[E,{dependencies:k,options:{library:w}}]of S.entries){const N=this._parseOptionsCached(w!==undefined?w:S.outputOptions.library);if(N!==false){const w=k[k.length-1];if(w){const k=S.moduleGraph.getModule(w);if(k){this.finishEntryModule(k,E,{options:N,compilation:S,chunkGraph:S.chunkGraph})}}}}}));const getOptionsForChunk=E=>{if(S.chunkGraph.getNumberOfEntryModules(E)===0)return false;const k=E.getEntryOptions();const w=k&&k.library;return this._parseOptionsCached(w!==undefined?w:S.outputOptions.library)};if(this.render!==AbstractLibraryPlugin.prototype.render||this.runtimeRequirements!==AbstractLibraryPlugin.prototype.runtimeRequirements){S.hooks.additionalChunkRuntimeRequirements.tap(E,((E,k,{chunkGraph:w})=>{const N=getOptionsForChunk(E);if(N!==false){this.runtimeRequirements(E,k,{options:N,compilation:S,chunkGraph:w})}}))}const k=N.getCompilationHooks(S);if(this.render!==AbstractLibraryPlugin.prototype.render){k.render.tap(E,((E,k)=>{const w=getOptionsForChunk(k.chunk);if(w===false)return E;return this.render(E,k,{options:w,compilation:S,chunkGraph:S.chunkGraph})}))}if(this.embedInRuntimeBailout!==AbstractLibraryPlugin.prototype.embedInRuntimeBailout){k.embedInRuntimeBailout.tap(E,((E,k)=>{const w=getOptionsForChunk(k.chunk);if(w===false)return;return this.embedInRuntimeBailout(E,k,{options:w,compilation:S,chunkGraph:S.chunkGraph})}))}if(this.strictRuntimeBailout!==AbstractLibraryPlugin.prototype.strictRuntimeBailout){k.strictRuntimeBailout.tap(E,(E=>{const k=getOptionsForChunk(E.chunk);if(k===false)return;return this.strictRuntimeBailout(E,{options:k,compilation:S,chunkGraph:S.chunkGraph})}))}if(this.renderStartup!==AbstractLibraryPlugin.prototype.renderStartup){k.renderStartup.tap(E,((E,k,w)=>{const N=getOptionsForChunk(w.chunk);if(N===false)return E;return this.renderStartup(E,k,w,{options:N,compilation:S,chunkGraph:S.chunkGraph})}))}k.chunkHash.tap(E,((E,k,w)=>{const N=getOptionsForChunk(E);if(N===false)return;this.chunkHash(E,k,w,{options:N,compilation:S,chunkGraph:S.chunkGraph})}))}))}_parseOptionsCached(S){if(!S)return false;if(S.type!==this._type)return false;const E=this._parseCache.get(S);if(E!==undefined)return E;const k=this.parseOptions(S);this._parseCache.set(S,k);return k}parseOptions(S){const E=k(75884);throw new E}finishEntryModule(S,E,k){}embedInRuntimeBailout(S,E,k){return undefined}strictRuntimeBailout(S,E){return undefined}runtimeRequirements(S,E,k){if(this.render!==AbstractLibraryPlugin.prototype.render)E.add(w.returnExportsFromRuntime)}render(S,E,k){return S}renderStartup(S,E,k,w){return S}chunkHash(S,E,k,w){const N=this._parseOptionsCached(w.compilation.outputOptions.library);E.update(this._pluginName);E.update(JSON.stringify(N))}}AbstractLibraryPlugin.COMMON_LIBRARY_NAME_MESSAGE=j;S.exports=AbstractLibraryPlugin},17982:(S,E,k)=>{"use strict";const{ConcatSource:w}=k(48135);const N=k(16734);const j=k(58159);const q=k(9786);class AmdLibraryPlugin extends q{constructor(S){super({pluginName:"AmdLibraryPlugin",type:S.type});this.requireAsWrapper=S.requireAsWrapper}parseOptions(S){const{name:E}=S;if(this.requireAsWrapper){if(E){throw new Error(`AMD library name must be unset. ${q.COMMON_LIBRARY_NAME_MESSAGE}`)}}else{if(E&&typeof E!=="string"){throw new Error(`AMD library name must be a simple string or unset. ${q.COMMON_LIBRARY_NAME_MESSAGE}`)}}return{name:E}}render(S,{chunkGraph:E,chunk:k,runtimeTemplate:q},{options:ee,compilation:te}){const ne=q.supportsArrowFunction();const ae=E.getChunkModules(k).filter((S=>S instanceof N));const _e=ae;const ve=JSON.stringify(_e.map((S=>typeof S.request==="object"&&!Array.isArray(S.request)?S.request.amd:S.request)));const Ee=_e.map((S=>`__WEBPACK_EXTERNAL_MODULE_${j.toIdentifier(`${E.getModuleId(S)}`)}__`)).join(", ");const Te=q.isIIFE();const Ce=(ne?`(${Ee}) => {`:`function(${Ee}) {`)+(Te||!k.hasRuntime()?" return ":"\n");const we=Te?";\n}":"\n}";if(this.requireAsWrapper){return new w(`require(${ve}, ${Ce}`,S,`${we});`)}else if(ee.name){const E=te.getPath(ee.name,{chunk:k});return new w(`define(${JSON.stringify(E)}, ${ve}, ${Ce}`,S,`${we});`)}else if(Ee){return new w(`define(${ve}, ${Ce}`,S,`${we});`)}else{return new w(`define(${Ce}`,S,`${we});`)}}chunkHash(S,E,k,{options:w,compilation:N}){E.update("AmdLibraryPlugin");if(this.requireAsWrapper){E.update("requireAsWrapper")}else if(w.name){E.update("named");const k=N.getPath(w.name,{chunk:S});E.update(k)}}}S.exports=AmdLibraryPlugin},69444:(S,E,k)=>{"use strict";const{ConcatSource:w}=k(48135);const{UsageState:N}=k(76632);const j=k(58159);const q=k(68038);const{getEntryRuntime:ee}=k(37416);const te=k(9786);const ne=/^(await|break|case|catch|class|const|continue|debugger|default|delete|do|else|enum|export|extends|false|finally|for|function|if|implements|import|in|instanceof|interface|let|new|null|package|private|protected|public|return|super|switch|static|this|throw|try|true|typeof|var|void|while|with|yield)$/;const ae=/^[\p{L}\p{Nl}$_][\p{L}\p{Nl}$\p{Mn}\p{Mc}\p{Nd}\p{Pc}]*$/iu;const isNameValid=S=>!ne.test(S)&&ae.test(S);const accessWithInit=(S,E,k=false)=>{const w=S[0];if(S.length===1&&!k)return w;let N=E>0?w:`(${w} = typeof ${w} === "undefined" ? {} : ${w})`;let j=1;let ee;if(E>j){ee=S.slice(1,E);j=E;N+=q(ee)}else{ee=[]}const te=k?S.length:S.length-1;for(;jk.getPath(S,{chunk:E})))}render(S,{chunk:E},{options:k,compilation:N}){const q=this._getResolvedFullName(k,E,N);if(this.declare){const E=q[0];if(!isNameValid(E)){throw new Error(`Library name base (${E}) must be a valid identifier when using a var declaring library type. Either use a valid identifier (e. g. ${j.toIdentifier(E)}) or use a different library type (e. g. 'type: "global"', which assign a property on the global scope instead of declaring a variable). ${te.COMMON_LIBRARY_NAME_MESSAGE}`)}S=new w(`${this.declare} ${E};\n`,S)}return S}embedInRuntimeBailout(S,{chunk:E},{options:k,compilation:w}){const N=S.buildInfo&&S.buildInfo.topLevelDeclarations;if(!N)return"it doesn't tell about top level declarations.";const j=this._getResolvedFullName(k,E,w);const q=j[0];if(N.has(q))return`it declares '${q}' on top-level, which conflicts with the current library output.`}strictRuntimeBailout({chunk:S},{options:E,compilation:k}){if(this.declare||this.prefix==="global"||this.prefix.length>0||!E.name){return}return"a global variable is assign and maybe created"}renderStartup(S,E,{chunk:k},{options:N,compilation:j}){const ee=this._getResolvedFullName(N,k,j);const te=N.export?q(Array.isArray(N.export)?N.export:[N.export]):"";const ne=new w(S);if(N.name?this.named==="copy":this.unnamed==="copy"){ne.add(`var __webpack_export_target__ = ${accessWithInit(ee,this._getPrefix(j).length,true)};\n`);let S="__webpack_exports__";if(te){ne.add(`var __webpack_exports_export__ = __webpack_exports__${te};\n`);S="__webpack_exports_export__"}ne.add(`for(var i in ${S}) __webpack_export_target__[i] = ${S}[i];\n`);ne.add(`if(${S}.__esModule) Object.defineProperty(__webpack_export_target__, "__esModule", { value: true });\n`)}else{ne.add(`${accessWithInit(ee,this._getPrefix(j).length,false)} = __webpack_exports__${te};\n`)}return ne}runtimeRequirements(S,E,k){}chunkHash(S,E,k,{options:w,compilation:N}){E.update("AssignLibraryPlugin");const j=this.prefix==="global"?[N.outputOptions.globalObject]:this.prefix;const q=w.name?j.concat(w.name):j;const ee=q.map((E=>N.getPath(E,{chunk:S})));if(w.name?this.named==="copy":this.unnamed==="copy"){E.update("copy")}if(this.declare){E.update(this.declare)}E.update(ee.join("."));if(w.export){E.update(`${w.export}`)}}}S.exports=AssignLibraryPlugin},13984:(S,E,k)=>{"use strict";const w=new WeakMap;const getEnabledTypes=S=>{let E=w.get(S);if(E===undefined){E=new Set;w.set(S,E)}return E};class EnableLibraryPlugin{constructor(S){this.type=S}static setEnabled(S,E){getEnabledTypes(S).add(E)}static checkEnabled(S,E){if(!getEnabledTypes(S).has(E)){throw new Error(`Library type "${E}" is not enabled. `+"EnableLibraryPlugin need to be used to enable this type of library. "+'This usually happens through the "output.enabledLibraryTypes" option. '+'If you are using a function as entry which sets "library", you need to add all potential library types to "output.enabledLibraryTypes". '+"These types are enabled: "+Array.from(getEnabledTypes(S)).join(", "))}}apply(S){const{type:E}=this;const w=getEnabledTypes(S);if(w.has(E))return;w.add(E);if(typeof E==="string"){const enableExportProperty=()=>{const w=k(97140);new w({type:E,nsObjectUsed:E!=="module"}).apply(S)};switch(E){case"var":{const w=k(69444);new w({type:E,prefix:[],declare:"var",unnamed:"error"}).apply(S);break}case"assign-properties":{const w=k(69444);new w({type:E,prefix:[],declare:false,unnamed:"error",named:"copy"}).apply(S);break}case"assign":{const w=k(69444);new w({type:E,prefix:[],declare:false,unnamed:"error"}).apply(S);break}case"this":{const w=k(69444);new w({type:E,prefix:["this"],declare:false,unnamed:"copy"}).apply(S);break}case"window":{const w=k(69444);new w({type:E,prefix:["window"],declare:false,unnamed:"copy"}).apply(S);break}case"self":{const w=k(69444);new w({type:E,prefix:["self"],declare:false,unnamed:"copy"}).apply(S);break}case"global":{const w=k(69444);new w({type:E,prefix:"global",declare:false,unnamed:"copy"}).apply(S);break}case"commonjs":{const w=k(69444);new w({type:E,prefix:["exports"],declare:false,unnamed:"copy"}).apply(S);break}case"commonjs2":case"commonjs-module":{const w=k(69444);new w({type:E,prefix:["module","exports"],declare:false,unnamed:"assign"}).apply(S);break}case"amd":case"amd-require":{enableExportProperty();const w=k(17982);new w({type:E,requireAsWrapper:E==="amd-require"}).apply(S);break}case"umd":case"umd2":{enableExportProperty();const w=k(76456);new w({type:E,optionalAmdExternalAsGlobal:E==="umd2"}).apply(S);break}case"system":{enableExportProperty();const w=k(59405);new w({type:E}).apply(S);break}case"jsonp":{enableExportProperty();const w=k(63154);new w({type:E}).apply(S);break}case"module":{enableExportProperty();const w=k(68111);new w({type:E}).apply(S);break}default:throw new Error(`Unsupported library type ${E}.\nPlugins which provide custom library types must call EnableLibraryPlugin.setEnabled(compiler, type) to disable this error.`)}}else{}}}S.exports=EnableLibraryPlugin},97140:(S,E,k)=>{"use strict";const{ConcatSource:w}=k(48135);const{UsageState:N}=k(76632);const j=k(68038);const{getEntryRuntime:q}=k(37416);const ee=k(9786);class ExportPropertyLibraryPlugin extends ee{constructor({type:S,nsObjectUsed:E}){super({pluginName:"ExportPropertyLibraryPlugin",type:S});this.nsObjectUsed=E}parseOptions(S){return{export:S.export}}finishEntryModule(S,E,{options:k,compilation:w,compilation:{moduleGraph:j}}){const ee=q(w,E);if(k.export){const E=j.getExportInfo(S,Array.isArray(k.export)?k.export[0]:k.export);E.setUsed(N.Used,ee);E.canMangleUse=false}else{const E=j.getExportsInfo(S);if(this.nsObjectUsed){E.setUsedInUnknownWay(ee)}else{E.setAllKnownExportsUsed(ee)}}j.addExtraReason(S,"used as library export")}runtimeRequirements(S,E,k){}renderStartup(S,E,k,{options:N}){if(!N.export)return S;const q=`__webpack_exports__ = __webpack_exports__${j(Array.isArray(N.export)?N.export:[N.export])};\n`;return new w(S,q)}}S.exports=ExportPropertyLibraryPlugin},63154:(S,E,k)=>{"use strict";const{ConcatSource:w}=k(48135);const N=k(9786);class JsonpLibraryPlugin extends N{constructor(S){super({pluginName:"JsonpLibraryPlugin",type:S.type})}parseOptions(S){const{name:E}=S;if(typeof E!=="string"){throw new Error(`Jsonp library name must be a simple string. ${N.COMMON_LIBRARY_NAME_MESSAGE}`)}return{name:E}}render(S,{chunk:E},{options:k,compilation:N}){const j=N.getPath(k.name,{chunk:E});return new w(`${j}(`,S,")")}chunkHash(S,E,k,{options:w,compilation:N}){E.update("JsonpLibraryPlugin");E.update(N.getPath(w.name,{chunk:S}))}}S.exports=JsonpLibraryPlugin},68111:(S,E,k)=>{"use strict";const{ConcatSource:w}=k(48135);const N=k(58159);const j=k(68038);const q=k(9786);class ModuleLibraryPlugin extends q{constructor(S){super({pluginName:"ModuleLibraryPlugin",type:S.type})}parseOptions(S){const{name:E}=S;if(E){throw new Error(`Library name must be unset. ${q.COMMON_LIBRARY_NAME_MESSAGE}`)}return{name:E}}renderStartup(S,E,{moduleGraph:k,chunk:q},{options:ee,compilation:te}){const ne=new w(S);const ae=k.getExportsInfo(E);const _e=[];for(const S of ae.orderedExports){if(!S.provided)continue;const E=`__webpack_exports__${N.toIdentifier(S.name)}`;ne.add(`var ${E} = __webpack_exports__${j([S.getUsedName(S.name,q.runtime)])};\n`);_e.push(`${E} as ${S.name}`)}if(_e.length>0){ne.add(`export { ${_e.join(", ")} };\n`)}return ne}}S.exports=ModuleLibraryPlugin},59405:(S,E,k)=>{"use strict";const{ConcatSource:w}=k(48135);const{UsageState:N}=k(76632);const j=k(16734);const q=k(58159);const ee=k(68038);const te=k(9786);class SystemLibraryPlugin extends te{constructor(S){super({pluginName:"SystemLibraryPlugin",type:S.type})}parseOptions(S){const{name:E}=S;if(E&&typeof E!=="string"){throw new Error(`System.js library name must be a simple string or unset. ${te.COMMON_LIBRARY_NAME_MESSAGE}`)}return{name:E}}render(S,{chunkGraph:E,moduleGraph:k,chunk:te},{options:ne,compilation:ae}){const _e=E.getChunkModules(te).filter((S=>S instanceof j));const ve=_e;const Ee=ne.name?`${JSON.stringify(ae.getPath(ne.name,{chunk:te}))}, `:"";const Te=JSON.stringify(ve.map((S=>typeof S.request==="object"&&!Array.isArray(S.request)?S.request.amd:S.request)));const Ce="__WEBPACK_DYNAMIC_EXPORT__";const we=ve.map((S=>`__WEBPACK_EXTERNAL_MODULE_${q.toIdentifier(`${E.getModuleId(S)}`)}__`));const Ne=we.map((S=>`var ${S} = {};`)).join("\n");const Ie=[];const Fe=we.length===0?"":q.asString(["setters: [",q.indent(ve.map(((S,E)=>{const w=we[E];const j=k.getExportsInfo(S);const ne=j.otherExportsInfo.getUsed(te.runtime)===N.Unused;const ae=[];const _e=[];for(const S of j.orderedExports){const E=S.getUsedName(undefined,te.runtime);if(E){if(ne||E!==S.name){ae.push(`${w}${ee([E])} = module${ee([S.name])};`);_e.push(S.name)}}else{_e.push(S.name)}}if(!ne){if(!Array.isArray(S.request)||S.request.length===1){Ie.push(`Object.defineProperty(${w}, "__esModule", { value: true });`)}if(_e.length>0){const S=`${w}handledNames`;Ie.push(`var ${S} = ${JSON.stringify(_e)};`);ae.push(q.asString(["Object.keys(module).forEach(function(key) {",q.indent([`if(${S}.indexOf(key) >= 0)`,q.indent(`${w}[key] = module[key];`)]),"});"]))}else{ae.push(q.asString(["Object.keys(module).forEach(function(key) {",q.indent([`${w}[key] = module[key];`]),"});"]))}}if(ae.length===0)return"function() {}";return q.asString(["function(module) {",q.indent(ae),"}"])})).join(",\n")),"],"]);return new w(q.asString([`System.register(${Ee}${Te}, function(${Ce}, __system_context__) {`,q.indent([Ne,q.asString(Ie),"return {",q.indent([Fe,"execute: function() {",q.indent(`${Ce}(`)])]),""]),S,q.asString(["",q.indent([q.indent([q.indent([");"]),"}"]),"};"]),"})"]))}chunkHash(S,E,k,{options:w,compilation:N}){E.update("SystemLibraryPlugin");if(w.name){E.update(N.getPath(w.name,{chunk:S}))}}}S.exports=SystemLibraryPlugin},76456:(S,E,k)=>{"use strict";const{ConcatSource:w,OriginalSource:N}=k(48135);const j=k(16734);const q=k(58159);const ee=k(9786);const accessorToObjectAccess=S=>S.map((S=>`[${JSON.stringify(S)}]`)).join("");const accessorAccess=(S,E,k=", ")=>{const w=Array.isArray(E)?E:[E];return w.map(((E,k)=>{const N=S?S+accessorToObjectAccess(w.slice(0,k+1)):w[0]+accessorToObjectAccess(w.slice(1,k+1));if(k===w.length-1)return N;if(k===0&&S===undefined)return`${N} = typeof ${N} === "object" ? ${N} : {}`;return`${N} = ${N} || {}`})).join(k)};class UmdLibraryPlugin extends ee{constructor(S){super({pluginName:"UmdLibraryPlugin",type:S.type});this.optionalAmdExternalAsGlobal=S.optionalAmdExternalAsGlobal}parseOptions(S){let E;let k;if(typeof S.name==="object"&&!Array.isArray(S.name)){E=S.name.root||S.name.amd||S.name.commonjs;k=S.name}else{E=S.name;const w=Array.isArray(E)?E[0]:E;k={commonjs:w,root:S.name,amd:w}}return{name:E,names:k,auxiliaryComment:S.auxiliaryComment,namedDefine:S.umdNamedDefine}}render(S,{chunkGraph:E,runtimeTemplate:k,chunk:ee,moduleGraph:te},{options:ne,compilation:ae}){const _e=E.getChunkModules(ee).filter((S=>S instanceof j&&(S.externalType==="umd"||S.externalType==="umd2")));let ve=_e;const Ee=[];let Te=[];if(this.optionalAmdExternalAsGlobal){for(const S of ve){if(S.isOptional(te)){Ee.push(S)}else{Te.push(S)}}ve=Te.concat(Ee)}else{Te=ve}const replaceKeys=S=>ae.getPath(S,{chunk:ee});const externalsDepsArray=S=>`[${replaceKeys(S.map((S=>JSON.stringify(typeof S.request==="object"?S.request.amd:S.request))).join(", "))}]`;const externalsRootArray=S=>replaceKeys(S.map((S=>{let E=S.request;if(typeof E==="object")E=E.root;return`root${accessorToObjectAccess([].concat(E))}`})).join(", "));const externalsRequireArray=S=>replaceKeys(ve.map((E=>{let k;let w=E.request;if(typeof w==="object"){w=w[S]}if(w===undefined){throw new Error("Missing external configuration for type:"+S)}if(Array.isArray(w)){k=`require(${JSON.stringify(w[0])})${accessorToObjectAccess(w.slice(1))}`}else{k=`require(${JSON.stringify(w)})`}if(E.isOptional(te)){k=`(function webpackLoadOptionalExternalModule() { try { return ${k}; } catch(e) {} }())`}return k})).join(", "));const externalsArguments=S=>S.map((S=>`__WEBPACK_EXTERNAL_MODULE_${q.toIdentifier(`${E.getModuleId(S)}`)}__`)).join(", ");const libraryName=S=>JSON.stringify(replaceKeys([].concat(S).pop()));let Ce;if(Ee.length>0){const S=externalsArguments(Te);const E=Te.length>0?externalsArguments(Te)+", "+externalsRootArray(Ee):externalsRootArray(Ee);Ce=`function webpackLoadOptionalExternalModuleAmd(${S}) {\n`+`\t\t\treturn factory(${E});\n`+"\t\t}"}else{Ce="factory"}const{auxiliaryComment:we,namedDefine:Ne,names:Ie}=ne;const getAuxiliaryComment=S=>{if(we){if(typeof we==="string")return"\t//"+we+"\n";if(we[S])return"\t//"+we[S]+"\n"}return""};return new w(new N("(function webpackUniversalModuleDefinition(root, factory) {\n"+getAuxiliaryComment("commonjs2")+"\tif(typeof exports === 'object' && typeof module === 'object')\n"+"\t\tmodule.exports = factory("+externalsRequireArray("commonjs2")+");\n"+getAuxiliaryComment("amd")+"\telse if(typeof define === 'function' && define.amd)\n"+(Te.length>0?Ie.amd&&Ne===true?"\t\tdefine("+libraryName(Ie.amd)+", "+externalsDepsArray(Te)+", "+Ce+");\n":"\t\tdefine("+externalsDepsArray(Te)+", "+Ce+");\n":Ie.amd&&Ne===true?"\t\tdefine("+libraryName(Ie.amd)+", [], "+Ce+");\n":"\t\tdefine([], "+Ce+");\n")+(Ie.root||Ie.commonjs?getAuxiliaryComment("commonjs")+"\telse if(typeof exports === 'object')\n"+"\t\texports["+libraryName(Ie.commonjs||Ie.root)+"] = factory("+externalsRequireArray("commonjs")+");\n"+getAuxiliaryComment("root")+"\telse\n"+"\t\t"+replaceKeys(accessorAccess("root",Ie.root||Ie.commonjs))+" = factory("+externalsRootArray(ve)+");\n":"\telse {\n"+(ve.length>0?"\t\tvar a = typeof exports === 'object' ? factory("+externalsRequireArray("commonjs")+") : factory("+externalsRootArray(ve)+");\n":"\t\tvar a = factory();\n")+"\t\tfor(var i in a) (typeof exports === 'object' ? exports : root)[i] = a[i];\n"+"\t}\n")+`})(${k.outputOptions.globalObject}, function(${externalsArguments(ve)}) {\nreturn `,"webpack/universalModuleDefinition"),S,";\n})")}}S.exports=UmdLibraryPlugin},78539:(S,E)=>{"use strict";const k=Object.freeze({error:"error",warn:"warn",info:"info",log:"log",debug:"debug",trace:"trace",group:"group",groupCollapsed:"groupCollapsed",groupEnd:"groupEnd",profile:"profile",profileEnd:"profileEnd",time:"time",clear:"clear",status:"status"});E.LogType=k;const w=Symbol("webpack logger raw log method");const N=Symbol("webpack logger times");const j=Symbol("webpack logger aggregated times");class WebpackLogger{constructor(S,E){this[w]=S;this.getChildLogger=E}error(...S){this[w](k.error,S)}warn(...S){this[w](k.warn,S)}info(...S){this[w](k.info,S)}log(...S){this[w](k.log,S)}debug(...S){this[w](k.debug,S)}assert(S,...E){if(!S){this[w](k.error,E)}}trace(){this[w](k.trace,["Trace"])}clear(){this[w](k.clear)}status(...S){this[w](k.status,S)}group(...S){this[w](k.group,S)}groupCollapsed(...S){this[w](k.groupCollapsed,S)}groupEnd(...S){this[w](k.groupEnd,S)}profile(S){this[w](k.profile,[S])}profileEnd(S){this[w](k.profileEnd,[S])}time(S){this[N]=this[N]||new Map;this[N].set(S,process.hrtime())}timeLog(S){const E=this[N]&&this[N].get(S);if(!E){throw new Error(`No such label '${S}' for WebpackLogger.timeLog()`)}const j=process.hrtime(E);this[w](k.time,[S,...j])}timeEnd(S){const E=this[N]&&this[N].get(S);if(!E){throw new Error(`No such label '${S}' for WebpackLogger.timeEnd()`)}const j=process.hrtime(E);this[N].delete(S);this[w](k.time,[S,...j])}timeAggregate(S){const E=this[N]&&this[N].get(S);if(!E){throw new Error(`No such label '${S}' for WebpackLogger.timeAggregate()`)}const k=process.hrtime(E);this[N].delete(S);this[j]=this[j]||new Map;const w=this[j].get(S);if(w!==undefined){if(k[1]+w[1]>1e9){k[0]+=w[0]+1;k[1]=k[1]-1e9+w[1]}else{k[0]+=w[0];k[1]+=w[1]}}this[j].set(S,k)}timeAggregateEnd(S){if(this[j]===undefined)return;const E=this[j].get(S);if(E===undefined)return;this[w](k.time,[S,...E])}}E.Logger=WebpackLogger},70108:(S,E,k)=>{"use strict";const{LogType:w}=k(78539);const filterToFunction=S=>{if(typeof S==="string"){const E=new RegExp(`[\\\\/]${S.replace(/[-[\]{}()*+?.\\^$|]/g,"\\$&")}([\\\\/]|$|!|\\?)`);return S=>E.test(S)}if(S&&typeof S==="object"&&typeof S.test==="function"){return E=>S.test(E)}if(typeof S==="function"){return S}if(typeof S==="boolean"){return()=>S}};const N={none:6,false:6,error:5,warn:4,info:3,log:2,true:2,verbose:1};S.exports=({level:S="info",debug:E=false,console:k})=>{const j=typeof E==="boolean"?[()=>E]:[].concat(E).map(filterToFunction);const q=N[`${S}`]||0;const logger=(S,E,ee)=>{const labeledArgs=()=>{if(Array.isArray(ee)){if(ee.length>0&&typeof ee[0]==="string"){return[`[${S}] ${ee[0]}`,...ee.slice(1)]}else{return[`[${S}]`,...ee]}}else{return[]}};const te=j.some((E=>E(S)));switch(E){case w.debug:if(!te)return;if(typeof k.debug==="function"){k.debug(...labeledArgs())}else{k.log(...labeledArgs())}break;case w.log:if(!te&&q>N.log)return;k.log(...labeledArgs());break;case w.info:if(!te&&q>N.info)return;k.info(...labeledArgs());break;case w.warn:if(!te&&q>N.warn)return;k.warn(...labeledArgs());break;case w.error:if(!te&&q>N.error)return;k.error(...labeledArgs());break;case w.trace:if(!te)return;k.trace();break;case w.groupCollapsed:if(!te&&q>N.log)return;if(!te&&q>N.verbose){if(typeof k.groupCollapsed==="function"){k.groupCollapsed(...labeledArgs())}else{k.log(...labeledArgs())}break}case w.group:if(!te&&q>N.log)return;if(typeof k.group==="function"){k.group(...labeledArgs())}else{k.log(...labeledArgs())}break;case w.groupEnd:if(!te&&q>N.log)return;if(typeof k.groupEnd==="function"){k.groupEnd()}break;case w.time:{if(!te&&q>N.log)return;const E=ee[1]*1e3+ee[2]/1e6;const w=`[${S}] ${ee[0]}: ${E} ms`;if(typeof k.logTime==="function"){k.logTime(w)}else{k.log(w)}break}case w.profile:if(typeof k.profile==="function"){k.profile(...labeledArgs())}break;case w.profileEnd:if(typeof k.profileEnd==="function"){k.profileEnd(...labeledArgs())}break;case w.clear:if(!te&&q>N.log)return;if(typeof k.clear==="function"){k.clear()}break;case w.status:if(!te&&q>N.info)return;if(typeof k.status==="function"){if(ee.length===0){k.status()}else{k.status(...labeledArgs())}}else{if(ee.length!==0){k.info(...labeledArgs())}}break;default:throw new Error(`Unexpected LogType ${E}`)}};return logger}},50595:S=>{"use strict";const arraySum=S=>{let E=0;for(const k of S)E+=k;return E};const truncateArgs=(S,E)=>{const k=S.map((S=>`${S}`.length));const w=E-k.length+1;if(w>0&&S.length===1){if(w>=S[0].length){return S}else if(w>3){return["..."+S[0].slice(-w+3)]}else{return[S[0].slice(-w)]}}if(wMath.min(S,6))))){if(S.length>1)return truncateArgs(S.slice(0,S.length-1),E);return[]}let N=arraySum(k);if(N<=w)return S;while(N>w){const S=Math.max(...k);const E=k.filter((E=>E!==S));const j=E.length>0?Math.max(...E):0;const q=S-j;let ee=k.length-E.length;let te=N-w;for(let E=0;E{const w=`${S}`;const N=k[E];if(w.length===N){return w}else if(N>5){return"..."+w.slice(-N+3)}else if(N>0){return w.slice(-N)}else{return""}}))};S.exports=truncateArgs},82827:(S,E,k)=>{"use strict";const w=k(76150);const N=k(64997);class CommonJsChunkLoadingPlugin{constructor(S){S=S||{};this._asyncChunkLoading=S.asyncChunkLoading}apply(S){const E=this._asyncChunkLoading?k(26020):k(75491);const j=this._asyncChunkLoading?"async-node":"require";new N({chunkLoading:j,asyncChunkLoading:this._asyncChunkLoading}).apply(S);S.hooks.thisCompilation.tap("CommonJsChunkLoadingPlugin",(S=>{const k=S.outputOptions.chunkLoading;const isEnabledForChunk=S=>{const E=S.getEntryOptions();const w=E&&E.chunkLoading!==undefined?E.chunkLoading:k;return w===j};const N=new WeakSet;const handler=(k,j)=>{if(N.has(k))return;N.add(k);if(!isEnabledForChunk(k))return;j.add(w.moduleFactoriesAddOnly);j.add(w.hasOwnProperty);S.addRuntimeModule(k,new E(j))};S.hooks.runtimeRequirementInTree.for(w.ensureChunkHandlers).tap("CommonJsChunkLoadingPlugin",handler);S.hooks.runtimeRequirementInTree.for(w.hmrDownloadUpdateHandlers).tap("CommonJsChunkLoadingPlugin",handler);S.hooks.runtimeRequirementInTree.for(w.hmrDownloadManifest).tap("CommonJsChunkLoadingPlugin",handler);S.hooks.runtimeRequirementInTree.for(w.baseURI).tap("CommonJsChunkLoadingPlugin",handler);S.hooks.runtimeRequirementInTree.for(w.externalInstallChunk).tap("CommonJsChunkLoadingPlugin",handler);S.hooks.runtimeRequirementInTree.for(w.onChunksLoaded).tap("CommonJsChunkLoadingPlugin",handler);S.hooks.runtimeRequirementInTree.for(w.ensureChunkHandlers).tap("CommonJsChunkLoadingPlugin",((S,E)=>{if(!isEnabledForChunk(S))return;E.add(w.getChunkScriptFilename)}));S.hooks.runtimeRequirementInTree.for(w.hmrDownloadUpdateHandlers).tap("CommonJsChunkLoadingPlugin",((S,E)=>{if(!isEnabledForChunk(S))return;E.add(w.getChunkUpdateScriptFilename);E.add(w.moduleCache);E.add(w.hmrModuleData);E.add(w.moduleFactoriesAddOnly)}));S.hooks.runtimeRequirementInTree.for(w.hmrDownloadManifest).tap("CommonJsChunkLoadingPlugin",((S,E)=>{if(!isEnabledForChunk(S))return;E.add(w.getUpdateManifestFilename)}))}))}}S.exports=CommonJsChunkLoadingPlugin},93632:(S,E,k)=>{"use strict";const w=k(76537);const N=k(15808);const j=k(70108);const q=k(2255);const ee=k(56642);class NodeEnvironmentPlugin{constructor(S){this.options=S}apply(S){const{infrastructureLogging:E}=this.options;S.infrastructureLogger=j({level:E.level||"info",debug:E.debug||false,console:E.console||ee({colors:E.colors,appendOnly:E.appendOnly,stream:E.stream})});S.inputFileSystem=new w(N,6e4);const k=S.inputFileSystem;S.outputFileSystem=N;S.intermediateFileSystem=N;S.watchFileSystem=new q(S.inputFileSystem);S.hooks.beforeRun.tap("NodeEnvironmentPlugin",(S=>{if(S.inputFileSystem===k){S.fsStartTime=Date.now();k.purge()}}))}}S.exports=NodeEnvironmentPlugin},92662:S=>{"use strict";class NodeSourcePlugin{apply(S){}}S.exports=NodeSourcePlugin},84980:(S,E,k)=>{"use strict";const w=k(61050);const N=["assert","async_hooks","buffer","child_process","cluster","console","constants","crypto","dgram","dns","dns/promises","domain","events","fs","fs/promises","http","http2","https","inspector","module","net","os","path","perf_hooks","process","punycode","querystring","readline","repl","stream","stream/promises","string_decoder","sys","timers","timers/promises","tls","trace_events","tty","url","util","v8","vm","wasi","worker_threads","zlib",/^node:/,"pnpapi"];class NodeTargetPlugin{apply(S){new w("node-commonjs",N).apply(S)}}S.exports=NodeTargetPlugin},91591:(S,E,k)=>{"use strict";const w=k(77314);const N=k(50369);class NodeTemplatePlugin{constructor(S){this._options=S||{}}apply(S){const E=this._options.asyncChunkLoading?"async-node":"require";S.options.output.chunkLoading=E;(new w).apply(S);new N(E).apply(S)}}S.exports=NodeTemplatePlugin},2255:(S,E,k)=>{"use strict";const w=k(92512);class NodeWatchFileSystem{constructor(S){this.inputFileSystem=S;this.watcherOptions={aggregateTimeout:0};this.watcher=new w(this.watcherOptions)}watch(S,E,k,N,j,q,ee){if(!S||typeof S[Symbol.iterator]!=="function"){throw new Error("Invalid arguments: 'files'")}if(!E||typeof E[Symbol.iterator]!=="function"){throw new Error("Invalid arguments: 'directories'")}if(!k||typeof k[Symbol.iterator]!=="function"){throw new Error("Invalid arguments: 'missing'")}if(typeof q!=="function"){throw new Error("Invalid arguments: 'callback'")}if(typeof N!=="number"&&N){throw new Error("Invalid arguments: 'startTime'")}if(typeof j!=="object"){throw new Error("Invalid arguments: 'options'")}if(typeof ee!=="function"&&ee){throw new Error("Invalid arguments: 'callbackUndelayed'")}const te=this.watcher;this.watcher=new w(j);if(ee){this.watcher.once("change",ee)}this.watcher.once("aggregated",((S,E)=>{if(this.inputFileSystem&&this.inputFileSystem.purge){const k=this.inputFileSystem;for(const E of S){k.purge(E)}for(const S of E){k.purge(S)}}const k=this.watcher.getTimeInfoEntries();q(null,k,k,S,E)}));this.watcher.watch({files:S,directories:E,missing:k,startTime:N});if(te){te.close()}return{close:()=>{if(this.watcher){this.watcher.close();this.watcher=null}},pause:()=>{if(this.watcher){this.watcher.pause()}},getAggregatedRemovals:()=>{const S=this.watcher&&this.watcher.aggregatedRemovals;if(S&&this.inputFileSystem&&this.inputFileSystem.purge){const E=this.inputFileSystem;for(const k of S){E.purge(k)}}return S},getAggregatedChanges:()=>{const S=this.watcher&&this.watcher.aggregatedChanges;if(S&&this.inputFileSystem&&this.inputFileSystem.purge){const E=this.inputFileSystem;for(const k of S){E.purge(k)}}return S},getFileTimeInfoEntries:()=>{if(this.watcher){return this.watcher.getTimeInfoEntries()}else{return new Map}},getContextTimeInfoEntries:()=>{if(this.watcher){return this.watcher.getTimeInfoEntries()}else{return new Map}}}}}S.exports=NodeWatchFileSystem},26020:(S,E,k)=>{"use strict";const w=k(76150);const N=k(66804);const j=k(58159);const{chunkHasJs:q,getChunkFilenameTemplate:ee}=k(18161);const{getInitialChunkIds:te}=k(13085);const ne=k(87274);const{getUndoPath:ae}=k(49197);class ReadFileChunkLoadingRuntimeModule extends N{constructor(S){super("readFile chunk loading",N.STAGE_ATTACH);this.runtimeRequirements=S}generate(){const{chunkGraph:S,chunk:E}=this;const{runtimeTemplate:N}=this.compilation;const _e=w.ensureChunkHandlers;const ve=this.runtimeRequirements.has(w.baseURI);const Ee=this.runtimeRequirements.has(w.externalInstallChunk);const Te=this.runtimeRequirements.has(w.onChunksLoaded);const Ce=this.runtimeRequirements.has(w.ensureChunkHandlers);const we=this.runtimeRequirements.has(w.hmrDownloadUpdateHandlers);const Ne=this.runtimeRequirements.has(w.hmrDownloadManifest);const Ie=S.getChunkConditionMap(E,q);const Fe=ne(Ie);const Oe=te(E,S);const Me=this.compilation.getPath(ee(E,this.compilation.outputOptions),{chunk:E,contentHashType:"javascript"});const Re=ae(Me,this.compilation.outputOptions.path,false);return j.asString([ve?j.asString([`${w.baseURI} = require("url").pathToFileURL(${Re?`__dirname + ${JSON.stringify("/"+Re)}`:"__filename"});`]):"// no baseURI","","// object to store loaded chunks",'// "0" means "already loaded", Promise means loading',"var installedChunks = {",j.indent(Array.from(Oe,(S=>`${JSON.stringify(S)}: 0`)).join(",\n")),"};","",Te?`${w.onChunksLoaded}.readFileVm = ${N.returningFunction("installedChunks[chunkId] === 0","chunkId")};`:"// no on chunks loaded","",Ce||Ee?`var installChunk = ${N.basicFunction("chunk",["var moreModules = chunk.modules, chunkIds = chunk.ids, runtime = chunk.runtime;","for(var moduleId in moreModules) {",j.indent([`if(${w.hasOwnProperty}(moreModules, moduleId)) {`,j.indent([`${w.moduleFactories}[moduleId] = moreModules[moduleId];`]),"}"]),"}",`if(runtime) runtime(__webpack_require__);`,"for(var i = 0; i < chunkIds.length; i++) {",j.indent(["if(installedChunks[chunkIds[i]]) {",j.indent(["installedChunks[chunkIds[i]][0]();"]),"}","installedChunks[chunkIds[i]] = 0;"]),"}",Te?`${w.onChunksLoaded}();`:""])};`:"// no chunk install function needed","",Ce?j.asString(["// ReadFile + VM.run chunk loading for javascript",`${_e}.readFileVm = function(chunkId, promises) {`,Fe!==false?j.indent(["","var installedChunkData = installedChunks[chunkId];",'if(installedChunkData !== 0) { // 0 means "already installed".',j.indent(['// array of [resolve, reject, promise] means "currently loading"',"if(installedChunkData) {",j.indent(["promises.push(installedChunkData[2]);"]),"} else {",j.indent([Fe===true?"if(true) { // all chunks have JS":`if(${Fe("chunkId")}) {`,j.indent(["// load the chunk and return promise to it","var promise = new Promise(function(resolve, reject) {",j.indent(["installedChunkData = installedChunks[chunkId] = [resolve, reject];",`var filename = require('path').join(__dirname, ${JSON.stringify(Re)} + ${w.getChunkScriptFilename}(chunkId));`,"require('fs').readFile(filename, 'utf-8', function(err, content) {",j.indent(["if(err) return reject(err);","var chunk = {};","require('vm').runInThisContext('(function(exports, require, __dirname, __filename) {' + content + '\\n})', filename)"+"(chunk, require, require('path').dirname(filename), filename);","installChunk(chunk);"]),"});"]),"});","promises.push(installedChunkData[2] = promise);"]),"} else installedChunks[chunkId] = 0;"]),"}"]),"}"]):j.indent(["installedChunks[chunkId] = 0;"]),"};"]):"// no chunk loading","",Ee?j.asString(["module.exports = __webpack_require__;",`${w.externalInstallChunk} = installChunk;`]):"// no external install chunk","",we?j.asString(["function loadUpdateChunk(chunkId, updatedModulesList) {",j.indent(["return new Promise(function(resolve, reject) {",j.indent([`var filename = require('path').join(__dirname, ${JSON.stringify(Re)} + ${w.getChunkUpdateScriptFilename}(chunkId));`,"require('fs').readFile(filename, 'utf-8', function(err, content) {",j.indent(["if(err) return reject(err);","var update = {};","require('vm').runInThisContext('(function(exports, require, __dirname, __filename) {' + content + '\\n})', filename)"+"(update, require, require('path').dirname(filename), filename);","var updatedModules = update.modules;","var runtime = update.runtime;","for(var moduleId in updatedModules) {",j.indent([`if(${w.hasOwnProperty}(updatedModules, moduleId)) {`,j.indent([`currentUpdate[moduleId] = updatedModules[moduleId];`,"if(updatedModulesList) updatedModulesList.push(moduleId);"]),"}"]),"}","if(runtime) currentUpdateRuntime.push(runtime);","resolve();"]),"});"]),"});"]),"}","",j.getFunctionContent(k(22215)).replace(/\$key\$/g,"readFileVm").replace(/\$installedChunks\$/g,"installedChunks").replace(/\$loadUpdateChunk\$/g,"loadUpdateChunk").replace(/\$moduleCache\$/g,w.moduleCache).replace(/\$moduleFactories\$/g,w.moduleFactories).replace(/\$ensureChunkHandlers\$/g,w.ensureChunkHandlers).replace(/\$hasOwnProperty\$/g,w.hasOwnProperty).replace(/\$hmrModuleData\$/g,w.hmrModuleData).replace(/\$hmrDownloadUpdateHandlers\$/g,w.hmrDownloadUpdateHandlers).replace(/\$hmrInvalidateModuleHandlers\$/g,w.hmrInvalidateModuleHandlers)]):"// no HMR","",Ne?j.asString([`${w.hmrDownloadManifest} = function() {`,j.indent(["return new Promise(function(resolve, reject) {",j.indent([`var filename = require('path').join(__dirname, ${JSON.stringify(Re)} + ${w.getUpdateManifestFilename}());`,"require('fs').readFile(filename, 'utf-8', function(err, content) {",j.indent(["if(err) {",j.indent(['if(err.code === "ENOENT") return resolve();',"return reject(err);"]),"}","try { resolve(JSON.parse(content)); }","catch(e) { reject(e); }"]),"});"]),"});"]),"}"]):"// no HMR manifest"])}}S.exports=ReadFileChunkLoadingRuntimeModule},21273:(S,E,k)=>{"use strict";const w=k(76150);const N=k(58159);const j=k(21941);class ReadFileCompileAsyncWasmPlugin{constructor({type:S="async-node",import:E=false}={}){this._type=S;this._import=E}apply(S){S.hooks.thisCompilation.tap("ReadFileCompileAsyncWasmPlugin",(S=>{const E=S.outputOptions.wasmLoading;const isEnabledForChunk=S=>{const k=S.getEntryOptions();const w=k&&k.wasmLoading!==undefined?k.wasmLoading:E;return w===this._type};const k=this._import?S=>N.asString(["Promise.all([import('fs'), import('url')]).then(([{ readFile }, { URL }]) => new Promise((resolve, reject) => {",N.indent([`readFile(new URL(${S}, import.meta.url), (err, buffer) => {`,N.indent(["if (err) return reject(err);","","// Fake fetch response","resolve({",N.indent(["arrayBuffer() { return buffer; }"]),"});"]),"});"]),"}))"]):S=>N.asString(["new Promise(function (resolve, reject) {",N.indent(["try {",N.indent(["var { readFile } = require('fs');","var { join } = require('path');","",`readFile(join(__dirname, ${S}), function(err, buffer){`,N.indent(["if (err) return reject(err);","","// Fake fetch response","resolve({",N.indent(["arrayBuffer() { return buffer; }"]),"});"]),"});"]),"} catch (err) { reject(err); }"]),"})"]);S.hooks.runtimeRequirementInTree.for(w.instantiateWasm).tap("ReadFileCompileAsyncWasmPlugin",((E,N)=>{if(!isEnabledForChunk(E))return;const q=S.chunkGraph;if(!q.hasModuleInGraph(E,(S=>S.type==="webassembly/async"))){return}N.add(w.publicPath);S.addRuntimeModule(E,new j({generateLoadBinaryCode:k,supportsStreaming:false}))}))}))}}S.exports=ReadFileCompileAsyncWasmPlugin},71049:(S,E,k)=>{"use strict";const w=k(76150);const N=k(58159);const j=k(61006);class ReadFileCompileWasmPlugin{constructor(S){this.options=S||{}}apply(S){S.hooks.thisCompilation.tap("ReadFileCompileWasmPlugin",(S=>{const E=S.outputOptions.wasmLoading;const isEnabledForChunk=S=>{const k=S.getEntryOptions();const w=k&&k.wasmLoading!==undefined?k.wasmLoading:E;return w==="async-node"};const generateLoadBinaryCode=S=>N.asString(["new Promise(function (resolve, reject) {",N.indent(["var { readFile } = require('fs');","var { join } = require('path');","","try {",N.indent([`readFile(join(__dirname, ${S}), function(err, buffer){`,N.indent(["if (err) return reject(err);","","// Fake fetch response","resolve({",N.indent(["arrayBuffer() { return buffer; }"]),"});"]),"});"]),"} catch (err) { reject(err); }"]),"})"]);S.hooks.runtimeRequirementInTree.for(w.ensureChunkHandlers).tap("ReadFileCompileWasmPlugin",((E,k)=>{if(!isEnabledForChunk(E))return;const N=S.chunkGraph;if(!N.hasModuleInGraph(E,(S=>S.type==="webassembly/sync"))){return}k.add(w.moduleCache);S.addRuntimeModule(E,new j({generateLoadBinaryCode:generateLoadBinaryCode,supportsStreaming:false,mangleImports:this.options.mangleImports}))}))}))}}S.exports=ReadFileCompileWasmPlugin},75491:(S,E,k)=>{"use strict";const w=k(76150);const N=k(66804);const j=k(58159);const{chunkHasJs:q,getChunkFilenameTemplate:ee}=k(18161);const{getInitialChunkIds:te}=k(13085);const ne=k(87274);const{getUndoPath:ae}=k(49197);class RequireChunkLoadingRuntimeModule extends N{constructor(S){super("require chunk loading",N.STAGE_ATTACH);this.runtimeRequirements=S}generate(){const{chunkGraph:S,chunk:E}=this;const{runtimeTemplate:N}=this.compilation;const _e=w.ensureChunkHandlers;const ve=this.runtimeRequirements.has(w.baseURI);const Ee=this.runtimeRequirements.has(w.externalInstallChunk);const Te=this.runtimeRequirements.has(w.onChunksLoaded);const Ce=this.runtimeRequirements.has(w.ensureChunkHandlers);const we=this.runtimeRequirements.has(w.hmrDownloadUpdateHandlers);const Ne=this.runtimeRequirements.has(w.hmrDownloadManifest);const Ie=S.getChunkConditionMap(E,q);const Fe=ne(Ie);const Oe=te(E,S);const Me=this.compilation.getPath(ee(E,this.compilation.outputOptions),{chunk:E,contentHashType:"javascript"});const Re=ae(Me,this.compilation.outputOptions.path,true);return j.asString([ve?j.asString([`${w.baseURI} = require("url").pathToFileURL(${Re!=="./"?`__dirname + ${JSON.stringify("/"+Re)}`:"__filename"});`]):"// no baseURI","","// object to store loaded chunks",'// "1" means "loaded", otherwise not loaded yet',"var installedChunks = {",j.indent(Array.from(Oe,(S=>`${JSON.stringify(S)}: 1`)).join(",\n")),"};","",Te?`${w.onChunksLoaded}.require = ${N.returningFunction("installedChunks[chunkId]","chunkId")};`:"// no on chunks loaded","",Ce||Ee?`var installChunk = ${N.basicFunction("chunk",["var moreModules = chunk.modules, chunkIds = chunk.ids, runtime = chunk.runtime;","for(var moduleId in moreModules) {",j.indent([`if(${w.hasOwnProperty}(moreModules, moduleId)) {`,j.indent([`${w.moduleFactories}[moduleId] = moreModules[moduleId];`]),"}"]),"}",`if(runtime) runtime(__webpack_require__);`,"for(var i = 0; i < chunkIds.length; i++)",j.indent("installedChunks[chunkIds[i]] = 1;"),Te?`${w.onChunksLoaded}();`:""])};`:"// no chunk install function needed","",Ce?j.asString(["// require() chunk loading for javascript",`${_e}.require = ${N.basicFunction("chunkId, promises",Fe!==false?['// "1" is the signal for "already loaded"',"if(!installedChunks[chunkId]) {",j.indent([Fe===true?"if(true) { // all chunks have JS":`if(${Fe("chunkId")}) {`,j.indent([`installChunk(require(${JSON.stringify(Re)} + ${w.getChunkScriptFilename}(chunkId)));`]),"} else installedChunks[chunkId] = 1;",""]),"}"]:"installedChunks[chunkId] = 1;")};`]):"// no chunk loading","",Ee?j.asString(["module.exports = __webpack_require__;",`${w.externalInstallChunk} = installChunk;`]):"// no external install chunk","",we?j.asString(["function loadUpdateChunk(chunkId, updatedModulesList) {",j.indent([`var update = require(${JSON.stringify(Re)} + ${w.getChunkUpdateScriptFilename}(chunkId));`,"var updatedModules = update.modules;","var runtime = update.runtime;","for(var moduleId in updatedModules) {",j.indent([`if(${w.hasOwnProperty}(updatedModules, moduleId)) {`,j.indent([`currentUpdate[moduleId] = updatedModules[moduleId];`,"if(updatedModulesList) updatedModulesList.push(moduleId);"]),"}"]),"}","if(runtime) currentUpdateRuntime.push(runtime);"]),"}","",j.getFunctionContent(k(22215)).replace(/\$key\$/g,"require").replace(/\$installedChunks\$/g,"installedChunks").replace(/\$loadUpdateChunk\$/g,"loadUpdateChunk").replace(/\$moduleCache\$/g,w.moduleCache).replace(/\$moduleFactories\$/g,w.moduleFactories).replace(/\$ensureChunkHandlers\$/g,w.ensureChunkHandlers).replace(/\$hasOwnProperty\$/g,w.hasOwnProperty).replace(/\$hmrModuleData\$/g,w.hmrModuleData).replace(/\$hmrDownloadUpdateHandlers\$/g,w.hmrDownloadUpdateHandlers).replace(/\$hmrInvalidateModuleHandlers\$/g,w.hmrInvalidateModuleHandlers)]):"// no HMR","",Ne?j.asString([`${w.hmrDownloadManifest} = function() {`,j.indent(["return Promise.resolve().then(function() {",j.indent([`return require(${JSON.stringify(Re)} + ${w.getUpdateManifestFilename}());`]),'}).catch(function(err) { if(err.code !== "MODULE_NOT_FOUND") throw err; });']),"}"]):"// no HMR manifest"])}}S.exports=RequireChunkLoadingRuntimeModule},56642:(S,E,k)=>{"use strict";const w=k(31669);const N=k(50595);S.exports=({colors:S,appendOnly:E,stream:k})=>{let j=undefined;let q=false;let ee="";let te=0;const indent=(E,k,w,N)=>{if(E==="")return E;k=ee+k;if(S){return k+w+E.replace(/\n/g,N+"\n"+k+w)+N}else{return k+E.replace(/\n/g,"\n"+k)}};const clearStatusMessage=()=>{if(q){k.write("\r");q=false}};const writeStatusMessage=()=>{if(!j)return;const S=k.columns;const E=S?N(j,S-1):j;const w=E.join(" ");const ee=`${w}`;k.write(`\r${ee}`);q=true};const writeColored=(S,E,N)=>(...j)=>{if(te>0)return;clearStatusMessage();const q=indent(w.format(...j),S,E,N);k.write(q+"\n");writeStatusMessage()};const ne=writeColored("<-> ","","");const ae=writeColored("<+> ","","");return{log:writeColored(" ","",""),debug:writeColored(" ","",""),trace:writeColored(" ","",""),info:writeColored(" ","",""),warn:writeColored(" ","",""),error:writeColored(" ","",""),logTime:writeColored(" ","",""),group:(...S)=>{ne(...S);if(te>0){te++}else{ee+=" "}},groupCollapsed:(...S)=>{ae(...S);te++},groupEnd:()=>{if(te>0)te--;else if(ee.length>=2)ee=ee.slice(0,ee.length-2)},profile:console.profile&&(S=>console.profile(S)),profileEnd:console.profileEnd&&(S=>console.profileEnd(S)),clear:!E&&console.clear&&(()=>{clearStatusMessage();console.clear();writeStatusMessage()}),status:E?writeColored(" ","",""):(S,...E)=>{E=E.filter(Boolean);if(S===undefined&&E.length===0){clearStatusMessage();j=undefined}else if(typeof S==="string"&&S.startsWith("[webpack.Progress] ")){j=[S.slice(19),...E];writeStatusMessage()}else if(S==="[webpack.Progress]"){j=[...E];writeStatusMessage()}else{j=[S,...E];writeStatusMessage()}}}}},61332:(S,E,k)=>{"use strict";const{STAGE_ADVANCED:w}=k(82414);class AggressiveMergingPlugin{constructor(S){if(S!==undefined&&typeof S!=="object"||Array.isArray(S)){throw new Error("Argument should be an options object. To use defaults, pass in nothing.\nFor more info on options, see https://webpack.js.org/plugins/")}this.options=S||{}}apply(S){const E=this.options;const k=E.minSizeReduce||1.5;S.hooks.thisCompilation.tap("AggressiveMergingPlugin",(S=>{S.hooks.optimizeChunks.tap({name:"AggressiveMergingPlugin",stage:w},(E=>{const w=S.chunkGraph;let N=[];for(const S of E){if(S.canBeInitial())continue;for(const k of E){if(k.canBeInitial())continue;if(k===S)break;if(!w.canChunksBeIntegrated(S,k)){continue}const E=w.getChunkSize(k,{chunkOverhead:0});const j=w.getChunkSize(S,{chunkOverhead:0});const q=w.getIntegratedChunksSize(k,S,{chunkOverhead:0});const ee=(E+j)/q;N.push({a:S,b:k,improvement:ee})}}N.sort(((S,E)=>E.improvement-S.improvement));const j=N[0];if(!j)return;if(j.improvement{"use strict";const{STAGE_ADVANCED:w}=k(82414);const{intersect:N}=k(26221);const{compareModulesByIdentifier:j,compareChunks:q}=k(68673);const ee=k(35817);const te=k(49197);const ne=ee(k(77593),(()=>k(69127)),{name:"Aggressive Splitting Plugin",baseDataPath:"options"});const moveModuleBetween=(S,E,k)=>w=>{S.disconnectChunkAndModule(E,w);S.connectChunkAndModule(k,w)};const isNotAEntryModule=(S,E)=>k=>!S.isEntryModuleInChunk(k,E);const ae=new WeakSet;class AggressiveSplittingPlugin{constructor(S={}){ne(S);this.options=S;if(typeof this.options.minSize!=="number"){this.options.minSize=30*1024}if(typeof this.options.maxSize!=="number"){this.options.maxSize=50*1024}if(typeof this.options.chunkOverhead!=="number"){this.options.chunkOverhead=0}if(typeof this.options.entryChunkMultiplicator!=="number"){this.options.entryChunkMultiplicator=1}}static wasChunkRecorded(S){return ae.has(S)}apply(S){S.hooks.thisCompilation.tap("AggressiveSplittingPlugin",(E=>{let k=false;let ee;let ne;let _e;E.hooks.optimize.tap("AggressiveSplittingPlugin",(()=>{ee=[];ne=new Set;_e=new Map}));E.hooks.optimizeChunks.tap({name:"AggressiveSplittingPlugin",stage:w},(k=>{const w=E.chunkGraph;const ae=new Map;const ve=new Map;const Ee=te.makePathsRelative.bindContextCache(S.context,S.root);for(const S of E.modules){const E=Ee(S.identifier());ae.set(E,S);ve.set(S,E)}const Te=new Set;for(const S of k){Te.add(S.id)}const Ce=E.records&&E.records.aggressiveSplits||[];const we=ee?Ce.concat(ee):Ce;const Ne=this.options.minSize;const Ie=this.options.maxSize;const applySplit=S=>{if(S.id!==undefined&&Te.has(S.id)){return false}const k=S.modules.map((S=>ae.get(S)));if(!k.every(Boolean))return false;let j=0;for(const S of k)j+=S.size();if(j!==S.size)return false;const q=N(k.map((S=>new Set(w.getModuleChunksIterable(S)))));if(q.size===0)return false;if(q.size===1&&w.getNumberOfChunkModules(Array.from(q)[0])===k.length){const E=Array.from(q)[0];if(ne.has(E))return false;ne.add(E);_e.set(E,S);return true}const ee=E.addChunk();ee.chunkReason="aggressive splitted";for(const S of q){k.forEach(moveModuleBetween(w,S,ee));S.split(ee);S.name=null}ne.add(ee);_e.set(ee,S);if(S.id!==null&&S.id!==undefined){ee.id=S.id;ee.ids=[S.id]}return true};let Fe=false;for(let S=0;S{const k=w.getChunkModulesSize(E)-w.getChunkModulesSize(S);if(k)return k;const N=w.getNumberOfChunkModules(S)-w.getNumberOfChunkModules(E);if(N)return N;return Oe(S,E)}));for(const S of Me){if(ne.has(S))continue;const E=w.getChunkModulesSize(S);if(E>Ie&&w.getNumberOfChunkModules(S)>1){const E=w.getOrderedChunkModules(S,j).filter(isNotAEntryModule(w,S));const k=[];let N=0;for(let S=0;SIe&&N>=Ne){break}N=j;k.push(w)}if(k.length===0)continue;const q={modules:k.map((S=>ve.get(S))).sort(),size:N};if(applySplit(q)){ee=(ee||[]).concat(q);Fe=true}}}if(Fe)return true}));E.hooks.recordHash.tap("AggressiveSplittingPlugin",(S=>{const w=new Set;const N=new Set;for(const S of E.chunks){const E=_e.get(S);if(E!==undefined){if(E.hash&&S.hash!==E.hash){N.add(E)}}}if(N.size>0){S.aggressiveSplits=S.aggressiveSplits.filter((S=>!N.has(S)));k=true}else{for(const S of E.chunks){const E=_e.get(S);if(E!==undefined){E.hash=S.hash;E.id=S.id;w.add(E);ae.add(S)}}const j=E.records&&E.records.aggressiveSplits;if(j){for(const S of j){if(!N.has(S))w.add(S)}}S.aggressiveSplits=Array.from(w);k=false}}));E.hooks.needAdditionalSeal.tap("AggressiveSplittingPlugin",(()=>{if(k){k=false;return true}}))}))}}S.exports=AggressiveSplittingPlugin},95734:(S,E,k)=>{"use strict";const w=k(19579);const N=k(36337);const{CachedSource:j,ConcatSource:q,ReplaceSource:ee}=k(48135);const te=k(77294);const{UsageState:ne}=k(76632);const ae=k(53453);const _e=k(76150);const ve=k(58159);const Ee=k(37359);const Te=k(3711);const{equals:Ce}=k(73910);const we=k(83379);const{concatComparators:Ne,keepOriginalOrder:Ie}=k(68673);const Fe=k(35891);const Oe=k(49197).contextify;const Me=k(56202);const Re=k(68038);const{filterRuntime:Le,intersectRuntime:Be,mergeRuntimeCondition:je,mergeRuntimeConditionNonFalse:ze,runtimeConditionToString:Ue,subtractRuntimeCondition:We}=k(37416);const $e=N;if(!$e.prototype.PropertyDefinition){$e.prototype.PropertyDefinition=$e.prototype.Property}const qe=new Set([te.DEFAULT_EXPORT,te.NAMESPACE_OBJECT_EXPORT,"abstract,arguments,async,await,boolean,break,byte,case,catch,char,class,const,continue","debugger,default,delete,do,double,else,enum,eval,export,extends,false,final,finally,float","for,function,goto,if,implements,import,in,instanceof,int,interface,let,long,native,new,null","package,private,protected,public,return,short,static,super,switch,synchronized,this,throw","throws,transient,true,try,typeof,var,void,volatile,while,with,yield","module,__dirname,__filename,exports,require,define","Array,Date,eval,function,hasOwnProperty,Infinity,isFinite,isNaN,isPrototypeOf,length,Math","NaN,name,Number,Object,prototype,String,toString,undefined,valueOf","alert,all,anchor,anchors,area,assign,blur,button,checkbox,clearInterval,clearTimeout","clientInformation,close,closed,confirm,constructor,crypto,decodeURI,decodeURIComponent","defaultStatus,document,element,elements,embed,embeds,encodeURI,encodeURIComponent,escape","event,fileUpload,focus,form,forms,frame,innerHeight,innerWidth,layer,layers,link,location","mimeTypes,navigate,navigator,frames,frameRate,hidden,history,image,images,offscreenBuffering","open,opener,option,outerHeight,outerWidth,packages,pageXOffset,pageYOffset,parent,parseFloat","parseInt,password,pkcs11,plugin,prompt,propertyIsEnum,radio,reset,screenX,screenY,scroll","secure,select,self,setInterval,setTimeout,status,submit,taint,text,textarea,top,unescape","untaint,window","onblur,onclick,onerror,onfocus,onkeydown,onkeypress,onkeyup,onmouseover,onload,onmouseup,onmousedown,onsubmit"].join(",").split(","));const bySourceOrder=(S,E)=>{const k=S.sourceOrder;const w=E.sourceOrder;if(isNaN(k)){if(!isNaN(w)){return 1}}else{if(isNaN(w)){return-1}if(k!==w){return k{let E="";let k=true;for(const w of S){if(k){k=false}else{E+=", "}E+=w}return E};const getFinalBinding=(S,E,k,w,N,j,q,ee,te,ne,ae,_e=new Set)=>{const Ee=E.module.getExportsType(S,ne);if(k.length===0){switch(Ee){case"default-only":E.interopNamespaceObject2Used=true;return{info:E,rawName:E.interopNamespaceObject2Name,ids:k,exportName:k};case"default-with-named":E.interopNamespaceObjectUsed=true;return{info:E,rawName:E.interopNamespaceObjectName,ids:k,exportName:k};case"namespace":case"dynamic":break;default:throw new Error(`Unexpected exportsType ${Ee}`)}}else{switch(Ee){case"namespace":break;case"default-with-named":switch(k[0]){case"default":k=k.slice(1);break;case"__esModule":return{info:E,rawName:"/* __esModule */true",ids:k.slice(1),exportName:k}}break;case"default-only":{const S=k[0];if(S==="__esModule"){return{info:E,rawName:"/* __esModule */true",ids:k.slice(1),exportName:k}}k=k.slice(1);if(S!=="default"){return{info:E,rawName:"/* non-default import from default-exporting module */undefined",ids:k,exportName:k}}break}case"dynamic":switch(k[0]){case"default":{k=k.slice(1);E.interopDefaultAccessUsed=true;const S=te?`${E.interopDefaultAccessName}()`:ae?`(${E.interopDefaultAccessName}())`:ae===false?`;(${E.interopDefaultAccessName}())`:`${E.interopDefaultAccessName}.a`;return{info:E,rawName:S,ids:k,exportName:k}}case"__esModule":return{info:E,rawName:"/* __esModule */true",ids:k.slice(1),exportName:k}}break;default:throw new Error(`Unexpected exportsType ${Ee}`)}}if(k.length===0){switch(E.type){case"concatenated":ee.add(E);return{info:E,rawName:E.namespaceObjectName,ids:k,exportName:k};case"external":return{info:E,rawName:E.name,ids:k,exportName:k}}}const Te=S.getExportsInfo(E.module);const we=Te.getExportInfo(k[0]);if(_e.has(we)){return{info:E,rawName:"/* circular reexport */ Object(function x() { x() }())",ids:[],exportName:k}}_e.add(we);switch(E.type){case"concatenated":{const ne=k[0];if(we.provided===false){ee.add(E);return{info:E,rawName:E.namespaceObjectName,ids:k,exportName:k}}const ve=E.exportMap&&E.exportMap.get(ne);if(ve){const S=Te.getUsedName(k,N);if(!S){return{info:E,rawName:"/* unused export */ undefined",ids:k.slice(1),exportName:k}}return{info:E,name:ve,ids:S.slice(1),exportName:k}}const Ee=E.rawExportMap&&E.rawExportMap.get(ne);if(Ee){return{info:E,rawName:Ee,ids:k.slice(1),exportName:k}}const Ce=we.findTarget(S,(S=>w.has(S)));if(Ce===false){throw new Error(`Target module of reexport from '${E.module.readableIdentifier(j)}' is not part of the concatenation (export '${ne}')\nModules in the concatenation:\n${Array.from(w,(([S,E])=>` * ${E.type} ${S.readableIdentifier(j)}`)).join("\n")}`)}if(Ce){const ne=w.get(Ce.module);return getFinalBinding(S,ne,Ce.export?[...Ce.export,...k.slice(1)]:k.slice(1),w,N,j,q,ee,te,E.module.buildMeta.strictHarmonyModule,ae,_e)}if(E.namespaceExportSymbol){const S=Te.getUsedName(k,N);return{info:E,rawName:E.namespaceObjectName,ids:S,exportName:k}}throw new Error(`Cannot get final name for export '${k.join(".")}' of ${E.module.readableIdentifier(j)}`)}case"external":{const S=Te.getUsedName(k,N);if(!S){return{info:E,rawName:"/* unused export */ undefined",ids:k.slice(1),exportName:k}}const w=Ce(S,k)?"":ve.toNormalComment(`${k.join(".")}`);return{info:E,rawName:E.name+w,ids:S,exportName:k}}}};const getFinalName=(S,E,k,w,N,j,q,ee,te,ne,ae,_e)=>{const ve=getFinalBinding(S,E,k,w,N,j,q,ee,te,ae,_e);{const{ids:S,comment:E}=ve;let k;let w;if("rawName"in ve){k=`${ve.rawName}${E||""}${Re(S)}`;w=S.length>0}else{const{info:N,name:q}=ve;const ee=N.internalNames.get(q);if(!ee){throw new Error(`The export "${q}" in "${N.module.readableIdentifier(j)}" has no internal name (existing names: ${Array.from(N.internalNames,(([S,E])=>`${S}: ${E}`)).join(", ")||"none"})`)}k=`${ee}${E||""}${Re(S)}`;w=S.length>1}if(w&&te&&ne===false){return _e?`(0,${k})`:_e===false?`;(0,${k})`:`Object(${k})`}return k}};const addScopeSymbols=(S,E,k,w)=>{let N=S;while(N){if(k.has(N))break;if(w.has(N))break;k.add(N);for(const S of N.variables){E.add(S.name)}N=N.upper}};const getAllReferences=S=>{let E=S.references;const k=new Set(S.identifiers);for(const w of S.scope.childScopes){for(const S of w.variables){if(S.identifiers.some((S=>k.has(S)))){E=E.concat(S.references);break}}}return E};const getPathInAst=(S,E)=>{if(S===E){return[]}const k=E.range;const enterNode=S=>{if(!S)return undefined;const w=S.range;if(w){if(w[0]<=k[0]&&w[1]>=k[1]){const k=getPathInAst(S,E);if(k){k.push(S);return k}}}return undefined};if(Array.isArray(S)){for(let E=0;E!(S instanceof Ee)||!this._modules.has(E.moduleGraph.getModule(S))))){this.dependencies.push(k)}for(const E of S.blocks){this.blocks.push(E)}const k=S.getWarnings();if(k!==undefined){for(const S of k){this.addWarning(S)}}const w=S.getErrors();if(w!==undefined){for(const S of w){this.addError(S)}}if(S.buildInfo.topLevelDeclarations){const E=this.buildInfo.topLevelDeclarations;if(E!==undefined){for(const k of S.buildInfo.topLevelDeclarations){if(qe.has(k))continue;E.add(k)}}}else{this.buildInfo.topLevelDeclarations=undefined}if(S.buildInfo.assets){if(this.buildInfo.assets===undefined){this.buildInfo.assets=Object.create(null)}Object.assign(this.buildInfo.assets,S.buildInfo.assets)}if(S.buildInfo.assetsInfo){if(this.buildInfo.assetsInfo===undefined){this.buildInfo.assetsInfo=new Map}for(const[E,k]of S.buildInfo.assetsInfo){this.buildInfo.assetsInfo.set(E,k)}}}N()}size(S){let E=0;for(const k of this._modules){E+=k.size(S)}return E}_createConcatenationList(S,E,k,w){const N=[];const j=new Map;const getConcatenatedImports=E=>{let N=Array.from(w.getOutgoingConnections(E));if(E===S){for(const S of w.getOutgoingConnections(this))N.push(S)}const j=N.filter((S=>{if(!(S.dependency instanceof Ee))return false;return S&&S.resolvedOriginModule===E&&S.module&&S.isTargetActive(k)})).map((S=>({connection:S,sourceOrder:S.dependency.sourceOrder})));j.sort(Ne(bySourceOrder,Ie(j)));const q=new Map;for(const{connection:S}of j){const E=Le(k,(E=>S.isTargetActive(E)));if(E===false)continue;const w=S.module;const N=q.get(w);if(N===undefined){q.set(w,{connection:S,runtimeCondition:E});continue}N.runtimeCondition=ze(N.runtimeCondition,E,k)}return q.values()};const enterModule=(S,w)=>{const q=S.module;if(!q)return;const ee=j.get(q);if(ee===true){return}if(E.has(q)){j.set(q,true);if(w!==true){throw new Error(`Cannot runtime-conditional concatenate a module (${q.identifier()} in ${this.rootModule.identifier()}, ${Ue(w)}). This should not happen.`)}const E=getConcatenatedImports(q);for(const{connection:S,runtimeCondition:k}of E)enterModule(S,k);N.push({type:"concatenated",module:S.module,runtimeCondition:w})}else{if(ee!==undefined){const E=We(w,ee,k);if(E===false)return;w=E;j.set(S.module,ze(ee,w,k))}else{j.set(S.module,w)}if(N.length>0){const E=N[N.length-1];if(E.type==="external"&&E.module===S.module){E.runtimeCondition=je(E.runtimeCondition,w,k);return}}N.push({type:"external",get module(){return S.module},runtimeCondition:w})}};j.set(S,true);const q=getConcatenatedImports(S);for(const{connection:S,runtimeCondition:E}of q)enterModule(S,E);N.push({type:"concatenated",module:S,runtimeCondition:true});return N}static _createIdentifier(S,E,k){const w=Oe.bindContextCache(S.context,k);let N=[];for(const S of E){N.push(w(S.identifier()))}N.sort();const j=Fe("md4");j.update(N.join(" "));return S.identifier()+"|"+j.digest("hex")}addCacheDependencies(S,E,k,w){for(const N of this._modules){N.addCacheDependencies(S,E,k,w)}}codeGeneration({dependencyTemplates:S,runtimeTemplate:E,moduleGraph:k,chunkGraph:w,runtime:N}){const ee=new Set;const ae=Be(N,this._runtime);const ve=E.requestShortener;const[Ee,Te]=this._getModulesWithInfo(k,ae);const Ce=new Set;for(const N of Te.values()){this._analyseModule(Te,N,S,E,k,w,ae)}const we=new Set(qe);const Ne=new Map;const getUsedNamesInScopeInfo=(S,E)=>{const k=`${S}-${E}`;let w=Ne.get(k);if(w===undefined){w={usedNames:new Set,alreadyCheckedScopes:new Set};Ne.set(k,w)}return w};const Ie=new Set;for(const S of Ee){if(S.type==="concatenated"){if(S.moduleScope){Ie.add(S.moduleScope)}const w=new WeakMap;const getSuperClassExpressions=S=>{const E=w.get(S);if(E!==undefined)return E;const k=[];for(const E of S.childScopes){if(E.type!=="class")continue;const S=E.block;if((S.type==="ClassDeclaration"||S.type==="ClassExpression")&&S.superClass){k.push({range:S.superClass.range,variables:E.variables})}}w.set(S,k);return k};if(S.globalScope){for(const w of S.globalScope.through){const N=w.identifier.name;if(te.isModuleReference(N)){const j=te.matchModuleReference(N);if(!j)continue;const q=Ee[j.index];if(q.type==="reference")throw new Error("Module reference can't point to a reference");const ee=getFinalBinding(k,q,j.ids,Te,ae,ve,E,Ce,false,S.module.buildMeta.strictHarmonyModule,true);if(!ee.ids)continue;const{usedNames:ne,alreadyCheckedScopes:_e}=getUsedNamesInScopeInfo(ee.info.module.identifier(),"name"in ee?ee.name:"");for(const S of getSuperClassExpressions(w.from)){if(S.range[0]<=w.identifier.range[0]&&S.range[1]>=w.identifier.range[1]){for(const E of S.variables){ne.add(E.name)}}}addScopeSymbols(w.from,ne,_e,Ie)}else{we.add(N)}}}}}for(const S of Te.values()){const{usedNames:E}=getUsedNamesInScopeInfo(S.module.identifier(),"");switch(S.type){case"concatenated":{for(const E of S.moduleScope.variables){const k=E.name;const{usedNames:w,alreadyCheckedScopes:N}=getUsedNamesInScopeInfo(S.module.identifier(),k);if(we.has(k)||w.has(k)){const j=getAllReferences(E);for(const S of j){addScopeSymbols(S.from,w,N,Ie)}const q=this.findNewName(k,we,w,S.module.readableIdentifier(ve));we.add(q);S.internalNames.set(k,q);const ee=S.source;const te=new Set(j.map((S=>S.identifier)).concat(E.identifiers));for(const E of te){const k=E.range;const w=getPathInAst(S.ast,E);if(w&&w.length>1){const S=w[1].type==="AssignmentPattern"&&w[1].left===w[0]?w[2]:w[1];if(S.type==="Property"&&S.shorthand){ee.insert(k[1],`: ${q}`);continue}}ee.replace(k[0],k[1]-1,q)}}else{we.add(k);S.internalNames.set(k,k)}}let k;if(S.namespaceExportSymbol){k=S.internalNames.get(S.namespaceExportSymbol)}else{k=this.findNewName("namespaceObject",we,E,S.module.readableIdentifier(ve));we.add(k)}S.namespaceObjectName=k;break}case"external":{const k=this.findNewName("",we,E,S.module.readableIdentifier(ve));we.add(k);S.name=k;break}}if(S.module.buildMeta.exportsType!=="namespace"){const k=this.findNewName("namespaceObject",we,E,S.module.readableIdentifier(ve));we.add(k);S.interopNamespaceObjectName=k}if(S.module.buildMeta.exportsType==="default"&&S.module.buildMeta.defaultObject!=="redirect"){const k=this.findNewName("namespaceObject2",we,E,S.module.readableIdentifier(ve));we.add(k);S.interopNamespaceObject2Name=k}if(S.module.buildMeta.exportsType==="dynamic"||!S.module.buildMeta.exportsType){const k=this.findNewName("default",we,E,S.module.readableIdentifier(ve));we.add(k);S.interopDefaultAccessName=k}}for(const S of Te.values()){if(S.type==="concatenated"){for(const w of S.globalScope.through){const N=w.identifier.name;const j=te.matchModuleReference(N);if(j){const N=Ee[j.index];if(N.type==="reference")throw new Error("Module reference can't point to a reference");const q=getFinalName(k,N,j.ids,Te,ae,ve,E,Ce,j.call,!j.directImport,S.module.buildMeta.strictHarmonyModule,j.asiSafe);const ee=w.identifier.range;const te=S.source;te.replace(ee[0],ee[1]+1,q)}}}}const Fe=new Map;const Oe=new Set;const Me=Te.get(this.rootModule);const Re=Me.module.buildMeta.strictHarmonyModule;const Le=k.getExportsInfo(Me.module);for(const S of Le.orderedExports){const w=S.name;if(S.provided===false)continue;const N=S.getUsedName(undefined,ae);if(!N){Oe.add(w);continue}Fe.set(N,(j=>{try{const N=getFinalName(k,Me,[w],Te,ae,j,E,Ce,false,false,Re,true);return`/* ${S.isReexport()?"reexport":"binding"} */ ${N}`}catch(S){S.message+=`\nwhile generating the root export '${w}' (used name: '${N}')`;throw S}}))}const je=new q;if(k.getExportsInfo(this).otherExportsInfo.getUsed(ae)!==ne.Unused){je.add(`// ESM COMPAT FLAG\n`);je.add(E.defineEsModuleFlagStatement({exportsArgument:this.exportsArgument,runtimeRequirements:ee}))}if(Fe.size>0){ee.add(_e.exports);ee.add(_e.definePropertyGetters);const S=[];for(const[k,w]of Fe){S.push(`\n ${JSON.stringify(k)}: ${E.returningFunction(w(ve))}`)}je.add(`\n// EXPORTS\n`);je.add(`${_e.definePropertyGetters}(${this.exportsArgument}, {${S.join(",")}\n});\n`)}if(Oe.size>0){je.add(`\n// UNUSED EXPORTS: ${joinIterableWithComma(Oe)}\n`)}const ze=new Map;for(const S of Ce){if(S.namespaceExportSymbol)continue;const w=[];const N=k.getExportsInfo(S.module);for(const j of N.orderedExports){if(j.provided===false)continue;const N=j.getUsedName(undefined,ae);if(N){const q=getFinalName(k,S,[j.name],Te,ae,ve,E,Ce,false,undefined,S.module.buildMeta.strictHarmonyModule,true);w.push(`\n ${JSON.stringify(N)}: ${E.returningFunction(q)}`)}}const j=S.namespaceObjectName;const q=w.length>0?`${_e.definePropertyGetters}(${j}, {${w.join(",")}\n});\n`:"";if(w.length>0)ee.add(_e.definePropertyGetters);ze.set(S,`\n// NAMESPACE OBJECT: ${S.module.readableIdentifier(ve)}\nvar ${j} = {};\n${_e.makeNamespaceObject}(${j});\n${q}`);ee.add(_e.makeNamespaceObject)}for(const S of Ee){if(S.type==="concatenated"){const E=ze.get(S);if(!E)continue;je.add(E)}}const Ue=[];for(const S of Ee){let k;let N=false;const j=S.type==="reference"?S.target:S;switch(j.type){case"concatenated":{je.add(`\n;// CONCATENATED MODULE: ${j.module.readableIdentifier(ve)}\n`);je.add(j.source);if(j.chunkInitFragments){for(const S of j.chunkInitFragments)Ue.push(S)}if(j.runtimeRequirements){for(const S of j.runtimeRequirements){ee.add(S)}}k=j.namespaceObjectName;break}case"external":{je.add(`\n// EXTERNAL MODULE: ${j.module.readableIdentifier(ve)}\n`);ee.add(_e.require);const{runtimeCondition:q}=S;const te=E.runtimeConditionExpression({chunkGraph:w,runtimeCondition:q,runtime:ae,runtimeRequirements:ee});if(te!=="true"){N=true;je.add(`if (${te}) {\n`)}je.add(`var ${j.name} = __webpack_require__(${JSON.stringify(w.getModuleId(j.module))});`);k=j.name;break}default:throw new Error(`Unsupported concatenation entry type ${j.type}`)}if(j.interopNamespaceObjectUsed){ee.add(_e.createFakeNamespaceObject);je.add(`\nvar ${j.interopNamespaceObjectName} = /*#__PURE__*/${_e.createFakeNamespaceObject}(${k}, 2);`)}if(j.interopNamespaceObject2Used){ee.add(_e.createFakeNamespaceObject);je.add(`\nvar ${j.interopNamespaceObject2Name} = /*#__PURE__*/${_e.createFakeNamespaceObject}(${k});`)}if(j.interopDefaultAccessUsed){ee.add(_e.compatGetDefaultExport);je.add(`\nvar ${j.interopDefaultAccessName} = /*#__PURE__*/${_e.compatGetDefaultExport}(${k});`)}if(N){je.add("\n}")}}const We=new Map;if(Ue.length>0)We.set("chunkInitFragments",Ue);const $e={sources:new Map([["javascript",new j(je)]]),data:We,runtimeRequirements:ee};return $e}_analyseModule(S,E,k,N,j,q,ne){if(E.type==="concatenated"){const ae=E.module;try{const _e=new te(S,E);const ve=ae.codeGeneration({dependencyTemplates:k,runtimeTemplate:N,moduleGraph:j,chunkGraph:q,runtime:ne,concatenationScope:_e});const Ee=ve.sources.get("javascript");const Ce=ve.data;const we=Ce&&Ce.get("chunkInitFragments");const Ne=Ee.source().toString();let Ie;try{Ie=Te._parse(Ne,{sourceType:"module"})}catch(S){if(S.loc&&typeof S.loc==="object"&&typeof S.loc.line==="number"){const E=S.loc.line;const k=Ne.split("\n");S.message+="\n| "+k.slice(Math.max(0,E-3),E+2).join("\n| ")}throw S}const Fe=w.analyze(Ie,{ecmaVersion:6,sourceType:"module",optimistic:true,ignoreEval:true,impliedStrict:true});const Oe=Fe.acquire(Ie);const Me=Oe.childScopes[0];const Re=new ee(Ee);E.runtimeRequirements=ve.runtimeRequirements;E.ast=Ie;E.internalSource=Ee;E.source=Re;E.chunkInitFragments=we;E.globalScope=Oe;E.moduleScope=Me}catch(S){S.message+=`\nwhile analysing module ${ae.identifier()} for concatenation`;throw S}}}_getModulesWithInfo(S,E){const k=this._createConcatenationList(this.rootModule,this._modules,E,S);const w=new Map;const N=k.map(((S,E)=>{let k=w.get(S.module);if(k===undefined){switch(S.type){case"concatenated":k={type:"concatenated",module:S.module,index:E,ast:undefined,internalSource:undefined,runtimeRequirements:undefined,source:undefined,globalScope:undefined,moduleScope:undefined,internalNames:new Map,exportMap:undefined,rawExportMap:undefined,namespaceExportSymbol:undefined,namespaceObjectName:undefined,interopNamespaceObjectUsed:false,interopNamespaceObjectName:undefined,interopNamespaceObject2Used:false,interopNamespaceObject2Name:undefined,interopDefaultAccessUsed:false,interopDefaultAccessName:undefined};break;case"external":k={type:"external",module:S.module,runtimeCondition:S.runtimeCondition,index:E,name:undefined,interopNamespaceObjectUsed:false,interopNamespaceObjectName:undefined,interopNamespaceObject2Used:false,interopNamespaceObject2Name:undefined,interopDefaultAccessUsed:false,interopDefaultAccessName:undefined};break;default:throw new Error(`Unsupported concatenation entry type ${S.type}`)}w.set(k.module,k);return k}else{const E={type:"reference",runtimeCondition:S.runtimeCondition,target:k};return E}}));return[N,w]}findNewName(S,E,k,w){let N=S;if(N===te.DEFAULT_EXPORT){N=""}if(N===te.NAMESPACE_OBJECT_EXPORT){N="namespaceObject"}w=w.replace(/\.+\/|(\/index)?\.([a-zA-Z0-9]{1,4})($|\s|\?)|\s*\+\s*\d+\s*modules/g,"");const j=w.split("/");while(j.length){N=j.pop()+(N?"_"+N:"");const S=ve.toIdentifier(N);if(!E.has(S)&&(!k||!k.has(S)))return S}let q=0;let ee=ve.toIdentifier(`${N}_${q}`);while(E.has(ee)||k&&k.has(ee)){q++;ee=ve.toIdentifier(`${N}_${q}`)}return ee}updateHash(S,E){const{chunkGraph:k,runtime:w}=E;for(const N of this._createConcatenationList(this.rootModule,this._modules,Be(w,this._runtime),k.moduleGraph)){switch(N.type){case"concatenated":N.module.updateHash(S,E);break;case"external":S.update(`${k.getModuleId(N.module)}`);break}}super.updateHash(S,E)}static deserialize(S){const E=new ConcatenatedModule({identifier:undefined,rootModule:undefined,modules:undefined,runtime:undefined});E.deserialize(S);return E}}Me(ConcatenatedModule,"webpack/lib/optimize/ConcatenatedModule");S.exports=ConcatenatedModule},38173:(S,E,k)=>{"use strict";const{STAGE_BASIC:w}=k(82414);class EnsureChunkConditionsPlugin{apply(S){S.hooks.compilation.tap("EnsureChunkConditionsPlugin",(S=>{const handler=E=>{const k=S.chunkGraph;const w=new Set;const N=new Set;for(const E of S.modules){for(const j of k.getModuleChunksIterable(E)){if(!E.chunkCondition(j,S)){w.add(j);for(const S of j.groupsIterable){N.add(S)}}}if(w.size===0)continue;const j=new Set;e:for(const k of N){for(const w of k.chunks){if(E.chunkCondition(w,S)){j.add(w);continue e}}if(k.isInitial()){throw new Error("Cannot fullfil chunk condition of "+E.identifier())}for(const S of k.parentsIterable){N.add(S)}}for(const S of w){k.disconnectChunkAndModule(S,E)}for(const S of j){k.connectChunkAndModule(S,E)}w.clear();N.clear()}};S.hooks.optimizeChunks.tap({name:"EnsureChunkConditionsPlugin",stage:w},handler)}))}}S.exports=EnsureChunkConditionsPlugin},76627:S=>{"use strict";class FlagIncludedChunksPlugin{apply(S){S.hooks.compilation.tap("FlagIncludedChunksPlugin",(S=>{S.hooks.optimizeChunkIds.tap("FlagIncludedChunksPlugin",(E=>{const k=S.chunkGraph;const w=new WeakMap;const N=S.modules.size;const j=1/Math.pow(1/N,1/31);const q=Array.from({length:31},((S,E)=>Math.pow(j,E)|0));let ee=0;for(const E of S.modules){let S=30;while(ee%q[S]!==0){S--}w.set(E,1<k.getNumberOfModuleChunks(E))N=E}e:for(const j of k.getModuleChunksIterable(N)){if(S===j)continue;const N=k.getNumberOfChunkModules(j);if(N===0)continue;if(w>N)continue;const q=te.get(j);if((q&E)!==E)continue;for(const E of k.getChunkModulesIterable(S)){if(!k.isModuleInChunk(E,j))continue e}j.ids.push(S.id)}}}))}))}}S.exports=FlagIncludedChunksPlugin},58018:(S,E,k)=>{"use strict";const{UsageState:w}=k(76632);const N=new WeakMap;const j=Symbol("top level symbol");function getState(S){return N.get(S)}E.bailout=S=>{N.set(S,false)};E.enable=S=>{const E=N.get(S);if(E===false){return}N.set(S,{innerGraph:new Map,currentTopLevelSymbol:undefined,usageCallbackMap:new Map})};E.isEnabled=S=>{const E=N.get(S);return!!E};E.addUsage=(S,E,k)=>{const w=getState(S);if(w){const{innerGraph:S}=w;const N=S.get(E);if(k===true){S.set(E,true)}else if(N===undefined){S.set(E,new Set([k]))}else if(N!==true){N.add(k)}}};E.addVariableUsage=(S,k,w)=>{const N=S.getTagData(k,j)||E.tagTopLevelSymbol(S,k);if(N){E.addUsage(S.state,N,w)}};E.inferDependencyUsage=S=>{const E=getState(S);if(!E){return}const{innerGraph:k,usageCallbackMap:w}=E;const N=new Map;const j=new Set(k.keys());while(j.size>0){for(const S of j){let E=new Set;let w=true;const q=k.get(S);let ee=N.get(S);if(ee===undefined){ee=new Set;N.set(S,ee)}if(q!==true&&q!==undefined){for(const S of q){ee.add(S)}for(const N of q){if(typeof N==="string"){E.add(N)}else{const j=k.get(N);if(j===true){E=true;break}if(j!==undefined){for(const k of j){if(k===S)continue;if(ee.has(k))continue;E.add(k);if(typeof k!=="string"){w=false}}}}}if(E===true){k.set(S,true)}else if(E.size===0){k.set(S,undefined)}else{k.set(S,E)}}if(w){j.delete(S)}}}for(const[S,E]of w){const w=k.get(S);for(const S of E){S(w===undefined?false:w)}}};E.onUsage=(S,E)=>{const k=getState(S);if(k){const{usageCallbackMap:S,currentTopLevelSymbol:w}=k;if(w){let k=S.get(w);if(k===undefined){k=new Set;S.set(w,k)}k.add(E)}else{E(true)}}else{E(undefined)}};E.setTopLevelSymbol=(S,E)=>{const k=getState(S);if(k){k.currentTopLevelSymbol=E}};E.getTopLevelSymbol=S=>{const E=getState(S);if(E){return E.currentTopLevelSymbol}};E.tagTopLevelSymbol=(S,E)=>{const k=getState(S.state);if(!k)return;S.defineVariable(E);const w=S.getTagData(E,j);if(w){return w}const N=new TopLevelSymbol(E);S.tagVariable(E,j,N);return N};E.isDependencyUsedByExports=(S,E,k,N)=>{if(E===false)return false;if(E!==true&&E!==undefined){const j=k.getParentModule(S);const q=k.getExportsInfo(j);let ee=false;for(const S of E){if(q.getUsed(S,N)!==w.Unused)ee=true}if(!ee)return false}return true};E.getDependencyUsedByExportsCondition=(S,E,k)=>{if(E===false)return false;if(E!==true&&E!==undefined){const N=k.getParentModule(S);const j=k.getExportsInfo(N);return(S,k)=>{for(const S of E){if(j.getUsed(S,k)!==w.Unused)return true}return false}}return null};class TopLevelSymbol{constructor(S){this.name=S}}E.TopLevelSymbol=TopLevelSymbol;E.topLevelSymbolTag=j},10032:(S,E,k)=>{"use strict";const w=k(53567);const N=k(58018);const{topLevelSymbolTag:j}=N;class InnerGraphPlugin{apply(S){S.hooks.compilation.tap("InnerGraphPlugin",((S,{normalModuleFactory:E})=>{const k=S.getLogger("webpack.InnerGraphPlugin");S.dependencyTemplates.set(w,new w.Template);const handler=(S,E)=>{const onUsageSuper=E=>{N.onUsage(S.state,(k=>{switch(k){case undefined:case true:return;default:{const N=new w(E.range);N.loc=E.loc;N.usedByExports=k;S.state.module.addDependency(N);break}}}))};S.hooks.program.tap("InnerGraphPlugin",(()=>{N.enable(S.state)}));S.hooks.finish.tap("InnerGraphPlugin",(()=>{if(!N.isEnabled(S.state))return;k.time("infer dependency usage");N.inferDependencyUsage(S.state);k.timeAggregate("infer dependency usage")}));const q=new WeakMap;const ee=new WeakMap;const te=new WeakMap;const ne=new WeakMap;const ae=new WeakSet;S.hooks.preStatement.tap("InnerGraphPlugin",(E=>{if(!N.isEnabled(S.state))return;if(S.scope.topLevelScope===true){if(E.type==="FunctionDeclaration"){const k=E.id?E.id.name:"*default*";const w=N.tagTopLevelSymbol(S,k);q.set(E,w);return true}}}));S.hooks.blockPreStatement.tap("InnerGraphPlugin",(E=>{if(!N.isEnabled(S.state))return;if(S.scope.topLevelScope===true){if(E.type==="ClassDeclaration"){const k=E.id?E.id.name:"*default*";const w=N.tagTopLevelSymbol(S,k);te.set(E,w);return true}if(E.type==="ExportDefaultDeclaration"){const k="*default*";const w=N.tagTopLevelSymbol(S,k);const j=E.declaration;if(j.type==="ClassExpression"||j.type==="ClassDeclaration"){te.set(j,w)}else if(S.isPure(j,E.range[0])){q.set(E,w);if(!j.type.endsWith("FunctionExpression")&&!j.type.endsWith("Declaration")&&j.type!=="Literal"){ee.set(E,j)}}}}}));S.hooks.preDeclarator.tap("InnerGraphPlugin",((E,k)=>{if(!N.isEnabled(S.state))return;if(S.scope.topLevelScope===true&&E.init&&E.id.type==="Identifier"){const k=E.id.name;if(E.init.type==="ClassExpression"){const w=N.tagTopLevelSymbol(S,k);te.set(E.init,w)}else if(S.isPure(E.init,E.id.range[1])){const w=N.tagTopLevelSymbol(S,k);ne.set(E,w);if(!E.init.type.endsWith("FunctionExpression")&&E.init.type!=="Literal"){ae.add(E)}return true}}}));S.hooks.statement.tap("InnerGraphPlugin",(E=>{if(!N.isEnabled(S.state))return;if(S.scope.topLevelScope===true){N.setTopLevelSymbol(S.state,undefined);const k=q.get(E);if(k){N.setTopLevelSymbol(S.state,k);const j=ee.get(E);if(j){N.onUsage(S.state,(k=>{switch(k){case undefined:case true:return;default:{const N=new w(j.range);N.loc=E.loc;N.usedByExports=k;S.state.module.addDependency(N);break}}}))}}}}));S.hooks.classExtendsExpression.tap("InnerGraphPlugin",((E,k)=>{if(!N.isEnabled(S.state))return;if(S.scope.topLevelScope===true){const w=te.get(k);if(w&&S.isPure(E,k.id?k.id.range[1]:k.range[0])){N.setTopLevelSymbol(S.state,w);onUsageSuper(E)}}}));S.hooks.classBodyElement.tap("InnerGraphPlugin",((E,k)=>{if(!N.isEnabled(S.state))return;if(S.scope.topLevelScope===true){const E=te.get(k);if(E){N.setTopLevelSymbol(S.state,undefined)}}}));S.hooks.classBodyValue.tap("InnerGraphPlugin",((E,k,j)=>{if(!N.isEnabled(S.state))return;if(S.scope.topLevelScope===true){const q=te.get(j);if(q){if(!k.static||S.isPure(E,k.key?k.key.range[1]:k.range[0])){N.setTopLevelSymbol(S.state,q);if(k.type!=="MethodDefinition"&&k.static){N.onUsage(S.state,(k=>{switch(k){case undefined:case true:return;default:{const N=new w(E.range);N.loc=E.loc;N.usedByExports=k;S.state.module.addDependency(N);break}}}))}}else{N.setTopLevelSymbol(S.state,undefined)}}}}));S.hooks.declarator.tap("InnerGraphPlugin",((E,k)=>{if(!N.isEnabled(S.state))return;const j=ne.get(E);if(j){N.setTopLevelSymbol(S.state,j);if(ae.has(E)){if(E.init.type==="ClassExpression"){if(E.init.superClass){onUsageSuper(E.init.superClass)}}else{N.onUsage(S.state,(k=>{switch(k){case undefined:case true:return;default:{const N=new w(E.init.range);N.loc=E.loc;N.usedByExports=k;S.state.module.addDependency(N);break}}}))}}S.walkExpression(E.init);N.setTopLevelSymbol(S.state,undefined);return true}}));S.hooks.expression.for(j).tap("InnerGraphPlugin",(()=>{const E=S.currentTagData;const k=N.getTopLevelSymbol(S.state);N.addUsage(S.state,E,k||true)}));S.hooks.assign.for(j).tap("InnerGraphPlugin",(E=>{if(!N.isEnabled(S.state))return;if(E.operator==="=")return true}))};E.hooks.parser.for("javascript/auto").tap("InnerGraphPlugin",handler);E.hooks.parser.for("javascript/esm").tap("InnerGraphPlugin",handler);S.hooks.finishModules.tap("InnerGraphPlugin",(()=>{k.timeAggregateEnd("infer dependency usage")}))}))}}S.exports=InnerGraphPlugin},92922:(S,E,k)=>{"use strict";const{STAGE_ADVANCED:w}=k(82414);const N=k(37496);const{compareChunks:j}=k(68673);const q=k(35817);const ee=q(k(72713),(()=>k(97350)),{name:"Limit Chunk Count Plugin",baseDataPath:"options"});const addToSetMap=(S,E,k)=>{const w=S.get(E);if(w===undefined){S.set(E,new Set([k]))}else{w.add(k)}};class LimitChunkCountPlugin{constructor(S){ee(S);this.options=S}apply(S){const E=this.options;S.hooks.compilation.tap("LimitChunkCountPlugin",(S=>{S.hooks.optimizeChunks.tap({name:"LimitChunkCountPlugin",stage:w},(k=>{const w=S.chunkGraph;const q=E.maxChunks;if(!q)return;if(q<1)return;if(S.chunks.size<=q)return;let ee=S.chunks.size-q;const te=j(w);const ne=Array.from(k).sort(te);const ae=new N((S=>S.sizeDiff),((S,E)=>E-S),(S=>S.integratedSize),((S,E)=>S-E),(S=>S.bIdx-S.aIdx),((S,E)=>S-E),((S,E)=>S.bIdx-E.bIdx));const _e=new Map;ne.forEach(((S,k)=>{for(let N=0;N0){const S=new Set(N.groupsIterable);for(const E of j.groupsIterable){S.add(E)}for(const E of S){for(const S of ve){if(S!==N&&S!==j&&S.isInGroup(E)){ee--;if(ee<=0)break e;ve.add(N);ve.add(j);continue e}}for(const k of E.parentsIterable){S.add(k)}}}if(w.canChunksBeIntegrated(N,j)){w.integrateChunks(N,j);S.chunks.delete(j);ve.add(N);Ee=true;ee--;if(ee<=0)break;for(const S of _e.get(N)){if(S.deleted)continue;S.deleted=true;ae.delete(S)}for(const S of _e.get(j)){if(S.deleted)continue;if(S.a===j){if(!w.canChunksBeIntegrated(N,S.b)){S.deleted=true;ae.delete(S);continue}const k=w.getIntegratedChunksSize(N,S.b,E);const j=ae.startUpdate(S);S.a=N;S.integratedSize=k;S.aSize=q;S.sizeDiff=S.bSize+q-k;j()}else if(S.b===j){if(!w.canChunksBeIntegrated(S.a,N)){S.deleted=true;ae.delete(S);continue}const k=w.getIntegratedChunksSize(S.a,N,E);const j=ae.startUpdate(S);S.b=N;S.integratedSize=k;S.bSize=q;S.sizeDiff=q+S.aSize-k;j()}}_e.set(N,_e.get(j));_e.delete(j)}}if(Ee)return true}))}))}}S.exports=LimitChunkCountPlugin},41694:(S,E,k)=>{"use strict";const{UsageState:w}=k(76632);const{numberToIdentifier:N,NUMBER_OF_IDENTIFIER_START_CHARS:j,NUMBER_OF_IDENTIFIER_CONTINUATION_CHARS:q}=k(58159);const{assignDeterministicIds:ee}=k(30328);const{compareSelect:te,compareStringsNumeric:ne}=k(68673);const canMangle=S=>{if(S.otherExportsInfo.getUsed(undefined)!==w.Unused)return false;let E=false;for(const k of S.exports){if(k.canMangle===true){E=true}}return E};const ae=te((S=>S.name),ne);const mangleExportsInfo=(S,E)=>{if(!canMangle(E))return;const k=new Set;const te=[];for(const N of E.ownedExports){const E=N.name;if(!N.hasUsedName()){if(N.canMangle!==true||E.length===1&&/^[a-zA-Z0-9_$]/.test(E)||S&&E.length===2&&/^[a-zA-Z_$][a-zA-Z0-9_$]|^[1-9][0-9]/.test(E)||N.provided!==true){N.setUsedName(E);k.add(E)}else{te.push(N)}}if(N.exportsInfoOwned){const E=N.getUsed(undefined);if(E===w.OnlyPropertiesUsed||E===w.Unused){mangleExportsInfo(S,N.exportsInfo)}}}if(S){ee(te,(S=>S.name),ae,((S,E)=>{const w=N(E);const j=k.size;k.add(w);if(j===k.size)return false;S.setUsedName(w);return true}),[j,j*q],q,k.size)}else{const S=[];const E=[];for(const k of te){if(k.getUsed(undefined)===w.Unused){E.push(k)}else{S.push(k)}}S.sort(ae);E.sort(ae);let j=0;for(const w of[S,E]){for(const S of w){let E;do{E=N(j++)}while(k.has(E));S.setUsedName(E)}}}};class MangleExportsPlugin{constructor(S){this._deterministic=S}apply(S){const{_deterministic:E}=this;S.hooks.compilation.tap("MangleExportsPlugin",(S=>{const k=S.moduleGraph;S.hooks.optimizeCodeGeneration.tap("MangleExportsPlugin",(S=>{for(const w of S){const S=k.getExportsInfo(w);mangleExportsInfo(E,S)}}))}))}}S.exports=MangleExportsPlugin},70026:(S,E,k)=>{"use strict";const{STAGE_BASIC:w}=k(82414);const{runtimeEqual:N}=k(37416);class MergeDuplicateChunksPlugin{apply(S){S.hooks.compilation.tap("MergeDuplicateChunksPlugin",(S=>{S.hooks.optimizeChunks.tap({name:"MergeDuplicateChunksPlugin",stage:w},(E=>{const{chunkGraph:k,moduleGraph:w}=S;const j=new Set;for(const q of E){let E;for(const S of k.getChunkModulesIterable(q)){if(E===undefined){for(const w of k.getModuleChunksIterable(S)){if(w!==q&&k.getNumberOfChunkModules(q)===k.getNumberOfChunkModules(w)&&!j.has(w)){if(E===undefined){E=new Set}E.add(w)}}if(E===undefined)break}else{for(const w of E){if(!k.isModuleInChunk(S,w)){E.delete(w)}}if(E.size===0)break}}if(E!==undefined&&E.size>0){e:for(const j of E){if(j.hasRuntime()!==q.hasRuntime())continue;if(k.getNumberOfEntryModules(q)>0)continue;if(k.getNumberOfEntryModules(j)>0)continue;if(!N(q.runtime,j.runtime)){for(const S of k.getChunkModulesIterable(q)){const E=w.getExportsInfo(S);if(!E.isEquallyUsed(q.runtime,j.runtime)){continue e}}}if(k.canChunksBeIntegrated(q,j)){k.integrateChunks(q,j);S.chunks.delete(j)}}}j.add(q)}}))}))}}S.exports=MergeDuplicateChunksPlugin},52383:(S,E,k)=>{"use strict";const{STAGE_ADVANCED:w}=k(82414);const N=k(35817);const j=N(k(83889),(()=>k(84796)),{name:"Min Chunk Size Plugin",baseDataPath:"options"});class MinChunkSizePlugin{constructor(S){j(S);this.options=S}apply(S){const E=this.options;const k=E.minChunkSize;S.hooks.compilation.tap("MinChunkSizePlugin",(S=>{S.hooks.optimizeChunks.tap({name:"MinChunkSizePlugin",stage:w},(w=>{const N=S.chunkGraph;const j={chunkOverhead:1,entryChunkMultiplicator:1};const q=new Map;const ee=[];const te=[];const ne=[];for(const S of w){if(N.getChunkSize(S,j){const k=q.get(S[0]);const w=q.get(S[1]);const j=N.getIntegratedChunksSize(S[0],S[1],E);const ee=[k+w-j,j,S[0],S[1]];return ee})).sort(((S,E)=>{const k=E[0]-S[0];if(k!==0)return k;return S[1]-E[1]}));if(ae.length===0)return;const _e=ae[0];N.integrateChunks(_e[2],_e[3]);S.chunks.delete(_e[3]);return true}))}))}}S.exports=MinChunkSizePlugin},1697:(S,E,k)=>{"use strict";const w=k(9192);const N=k(81627);class MinMaxSizeWarning extends N{constructor(S,E,k){let N="Fallback cache group";if(S){N=S.length>1?`Cache groups ${S.sort().join(", ")}`:`Cache group ${S[0]}`}super(`SplitChunksPlugin\n`+`${N}\n`+`Configured minSize (${w.formatSize(E)}) is `+`bigger than maxSize (${w.formatSize(k)}).\n`+"This seem to be a invalid optimization.splitChunks configuration.")}}S.exports=MinMaxSizeWarning},35442:(S,E,k)=>{"use strict";const w=k(62355);const N=k(45137);const j=k(75412);const{STAGE_DEFAULT:q}=k(82414);const ee=k(37359);const{compareModulesByIdentifier:te}=k(68673);const{intersectRuntime:ne,mergeRuntimeOwned:ae,filterRuntime:_e,runtimeToString:ve,mergeRuntime:Ee}=k(37416);const Te=k(95734);const formatBailoutReason=S=>"ModuleConcatenation bailout: "+S;class ModuleConcatenationPlugin{constructor(S){if(typeof S!=="object")S={};this.options=S}apply(S){S.hooks.compilation.tap("ModuleConcatenationPlugin",(E=>{const k=E.moduleGraph;const te=new Map;const setBailoutReason=(S,E)=>{setInnerBailoutReason(S,E);k.getOptimizationBailout(S).push(typeof E==="function"?S=>formatBailoutReason(E(S)):formatBailoutReason(E))};const setInnerBailoutReason=(S,E)=>{te.set(S,E)};const getInnerBailoutReason=(S,E)=>{const k=te.get(S);if(typeof k==="function")return k(E);return k};const formatBailoutWarning=(S,E)=>k=>{if(typeof E==="function"){return formatBailoutReason(`Cannot concat with ${S.readableIdentifier(k)}: ${E(k)}`)}const w=getInnerBailoutReason(S,k);const N=w?`: ${w}`:"";if(S===E){return formatBailoutReason(`Cannot concat with ${S.readableIdentifier(k)}${N}`)}else{return formatBailoutReason(`Cannot concat with ${S.readableIdentifier(k)} because of ${E.readableIdentifier(k)}${N}`)}};E.hooks.optimizeChunkModules.tapAsync({name:"ModuleConcatenationPlugin",stage:q},((k,q,te)=>{const ne=E.getLogger("webpack.ModuleConcatenationPlugin");const{chunkGraph:ve,moduleGraph:Ee}=E;const Ce=[];const we=new Set;const Ne={chunkGraph:ve,moduleGraph:Ee};ne.time("select relevant modules");for(const S of q){let E=true;let k=true;const w=S.getConcatenationBailoutReason(Ne);if(w){setBailoutReason(S,w);continue}if(Ee.isAsync(S)){setBailoutReason(S,`Module is async`);continue}if(!S.buildInfo.strict){setBailoutReason(S,`Module is not in strict mode`);continue}if(ve.getNumberOfModuleChunks(S)===0){setBailoutReason(S,"Module is not in any chunk");continue}const N=Ee.getExportsInfo(S);const j=N.getRelevantExports(undefined);const q=j.filter((S=>S.isReexport()&&!S.getTarget(Ee)));if(q.length>0){setBailoutReason(S,`Reexports in this module do not have a static target (${Array.from(q,(S=>`${S.name||"other exports"}: ${S.getUsedInfo()}`)).join(", ")})`);continue}const ee=j.filter((S=>S.provided!==true));if(ee.length>0){setBailoutReason(S,`List of module exports is dynamic (${Array.from(ee,(S=>`${S.name||"other exports"}: ${S.getProvidedInfo()} and ${S.getUsedInfo()}`)).join(", ")})`);E=false}if(ve.isEntryModule(S)){setInnerBailoutReason(S,"Module is an entry point");k=false}if(E)Ce.push(S);if(k)we.add(S)}ne.timeEnd("select relevant modules");ne.debug(`${Ce.length} potential root modules, ${we.size} potential inner modules`);ne.time("sort relevant modules");Ce.sort(((S,E)=>Ee.getDepth(S)-Ee.getDepth(E)));ne.timeEnd("sort relevant modules");const Ie={cached:0,alreadyInConfig:0,invalidModule:0,incorrectChunks:0,incorrectDependency:0,incorrectModuleDependency:0,incorrectChunksOfImporter:0,incorrectRuntimeCondition:0,importerFailed:0,added:0};let Fe=0;let Oe=0;let Me=0;ne.time("find modules to concatenate");const Re=[];const Le=new Set;for(const S of Ce){if(Le.has(S))continue;let k=undefined;for(const E of ve.getModuleRuntimes(S)){k=ae(k,E)}const w=Ee.getExportsInfo(S);const N=_e(k,(S=>w.isModuleUsed(S)));const j=N===true?k:N===false?undefined:N;const q=new ConcatConfiguration(S,j);const ee=new Map;const te=new Set;for(const k of this._getImports(E,S,j)){te.add(k)}for(const S of te){const w=new Set;const N=this._tryToAdd(E,q,S,k,j,we,w,ee,ve,true,Ie);if(N){ee.set(S,N);q.addWarning(S,N)}else{for(const S of w){te.add(S)}}}Fe+=te.size;if(!q.isEmpty()){const S=q.getModules();Oe+=S.size;Re.push(q);for(const E of S){if(E!==q.rootModule){Le.add(E)}}}else{Me++;const E=Ee.getOptimizationBailout(S);for(const S of q.getWarningsSorted()){E.push(formatBailoutWarning(S[0],S[1]))}}}ne.timeEnd("find modules to concatenate");ne.debug(`${Re.length} successful concat configurations (avg size: ${Oe/Re.length}), ${Me} bailed out completely`);ne.debug(`${Fe} candidates were considered for adding (${Ie.cached} cached failure, ${Ie.alreadyInConfig} already in config, ${Ie.invalidModule} invalid module, ${Ie.incorrectChunks} incorrect chunks, ${Ie.incorrectDependency} incorrect dependency, ${Ie.incorrectChunksOfImporter} incorrect chunks of importer, ${Ie.incorrectModuleDependency} incorrect module dependency, ${Ie.incorrectRuntimeCondition} incorrect runtime condition, ${Ie.importerFailed} importer failed, ${Ie.added} added)`);ne.time(`sort concat configurations`);Re.sort(((S,E)=>E.modules.size-S.modules.size));ne.timeEnd(`sort concat configurations`);const Be=new Set;ne.time("create concatenated modules");w.each(Re,((k,w)=>{const q=k.rootModule;if(Be.has(q))return w();const te=k.getModules();for(const S of te){Be.add(S)}let ne=Te.create(q,te,k.runtime,S.root);const build=()=>{ne.build(S.options,E,null,null,(S=>{if(S){if(!S.module){S.module=ne}return w(S)}integrate()}))};const integrate=()=>{N.setChunkGraphForModule(ne,ve);j.setModuleGraphForModule(ne,Ee);for(const S of k.getWarningsSorted()){Ee.getOptimizationBailout(ne).push(formatBailoutWarning(S[0],S[1]))}Ee.cloneModuleAttributes(q,ne);for(const S of te){if(E.builtModules.has(S)){E.builtModules.add(ne)}if(S!==q){Ee.copyOutgoingModuleConnections(S,ne,(E=>E.originModule===S&&!(E.dependency instanceof ee&&te.has(E.module))));for(const E of ve.getModuleChunksIterable(q)){ve.disconnectChunkAndModule(E,S)}}}E.modules.delete(q);N.clearChunkGraphForModule(q);j.clearModuleGraphForModule(q);ve.replaceModule(q,ne);Ee.moveModuleConnections(q,ne,(S=>{const E=S.module===q?S.originModule:S.module;const k=S.dependency instanceof ee&&te.has(E);return!k}));E.modules.add(ne);w()};build()}),(S=>{ne.timeEnd("create concatenated modules");process.nextTick(te.bind(null,S))}))}))}))}_getImports(S,E,k){const w=S.moduleGraph;const N=new Set;for(const j of E.dependencies){if(!(j instanceof ee))continue;const q=w.getConnection(j);if(!q||!q.module||!q.isTargetActive(k)){continue}const te=S.getDependencyReferencedExports(j,undefined);if(te.every((S=>Array.isArray(S)?S.length>0:S.name.length>0))||Array.isArray(w.getProvidedExports(E))){N.add(q.module)}}return N}_tryToAdd(S,E,k,w,N,j,q,Te,Ce,we,Ne){const Ie=Te.get(k);if(Ie){Ne.cached++;return Ie}if(E.has(k)){Ne.alreadyInConfig++;return null}if(!j.has(k)){Ne.invalidModule++;Te.set(k,k);return k}const Fe=Array.from(Ce.getModuleChunksIterable(E.rootModule)).filter((S=>!Ce.isModuleInChunk(k,S)));if(Fe.length>0){const problem=S=>{const E=Array.from(new Set(Fe.map((S=>S.name||"unnamed chunk(s)")))).sort();const w=Array.from(new Set(Array.from(Ce.getModuleChunksIterable(k)).map((S=>S.name||"unnamed chunk(s)")))).sort();return`Module ${k.readableIdentifier(S)} is not in the same chunk(s) (expected in chunk(s) ${E.join(", ")}, module is in chunk(s) ${w.join(", ")})`};Ne.incorrectChunks++;Te.set(k,problem);return problem}const Oe=S.moduleGraph;const Me=Oe.getIncomingConnectionsByOriginModule(k);const Re=Me.get(null)||Me.get(undefined);if(Re){const S=Re.filter((S=>S.isActive(w)||S.dependency));if(S.length>0){const problem=E=>{const w=new Set(S.map((S=>S.explanation)).filter(Boolean));const N=Array.from(w).sort();return`Module ${k.readableIdentifier(E)} is referenced ${N.length>0?`by: ${N.join(", ")}`:"in an unsupported way"}`};Ne.incorrectDependency++;Te.set(k,problem);return problem}}const Le=new Map;for(const[S,E]of Me){if(S){if(Ce.getNumberOfModuleChunks(S)===0)continue;let k=undefined;for(const E of Ce.getModuleRuntimes(S)){k=ae(k,E)}if(!ne(w,k))continue;const N=E.filter((S=>S.isActive(w)));if(N.length>0)Le.set(S,N)}}const Be=Array.from(Le.keys());const je=Be.filter((S=>{for(const k of Ce.getModuleChunksIterable(E.rootModule)){if(!Ce.isModuleInChunk(S,k)){return true}}return false}));if(je.length>0){const problem=S=>{const E=je.map((E=>E.readableIdentifier(S))).sort();return`Module ${k.readableIdentifier(S)} is referenced from different chunks by these modules: ${E.join(", ")}`};Ne.incorrectChunksOfImporter++;Te.set(k,problem);return problem}const ze=new Map;for(const[S,E]of Le){const k=E.filter((S=>!S.dependency||!(S.dependency instanceof ee)));if(k.length>0)ze.set(S,E)}if(ze.size>0){const problem=S=>{const E=Array.from(ze).map((([E,k])=>`${E.readableIdentifier(S)} (referenced with ${Array.from(new Set(k.map((S=>S.dependency&&S.dependency.type)).filter(Boolean))).sort().join(", ")})`)).sort();return`Module ${k.readableIdentifier(S)} is referenced from these modules with unsupported syntax: ${E.join(", ")}`};Ne.incorrectModuleDependency++;Te.set(k,problem);return problem}if(w!==undefined&&typeof w!=="string"){const S=[];e:for(const[E,k]of Le){let N=false;for(const S of k){const E=_e(w,(E=>S.isTargetActive(E)));if(E===false)continue;if(E===true)continue e;if(N!==false){N=Ee(N,E)}else{N=E}}if(N!==false){S.push({originModule:E,runtimeCondition:N})}}if(S.length>0){const problem=E=>`Module ${k.readableIdentifier(E)} is runtime-dependent referenced by these modules: ${Array.from(S,(({originModule:S,runtimeCondition:k})=>`${S.readableIdentifier(E)} (expected runtime ${ve(w)}, module is only referenced in ${ve(k)})`)).join(", ")}`;Ne.incorrectRuntimeCondition++;Te.set(k,problem);return problem}}let Ue;if(we){Ue=E.snapshot()}E.add(k);Be.sort(te);for(const ee of Be){const te=this._tryToAdd(S,E,ee,w,N,j,q,Te,Ce,false,Ne);if(te){if(Ue!==undefined)E.rollback(Ue);Ne.importerFailed++;Te.set(k,te);return te}}for(const E of this._getImports(S,k,w)){q.add(E)}Ne.added++;return null}}class ConcatConfiguration{constructor(S,E){this.rootModule=S;this.runtime=E;this.modules=new Set;this.modules.add(S);this.warnings=new Map}add(S){this.modules.add(S)}has(S){return this.modules.has(S)}isEmpty(){return this.modules.size===1}addWarning(S,E){this.warnings.set(S,E)}getWarningsSorted(){return new Map(Array.from(this.warnings).sort(((S,E)=>{const k=S[0].identifier();const w=E[0].identifier();if(kw)return 1;return 0})))}getModules(){return this.modules}snapshot(){return this.modules.size}rollback(S){const E=this.modules;for(const k of E){if(S===0){E.delete(k)}else{S--}}}}S.exports=ModuleConcatenationPlugin},30699:(S,E,k)=>{"use strict";const{SyncBailHook:w}=k(92960);const{RawSource:N,CachedSource:j,CompatSource:q}=k(48135);const ee=k(3080);const te=k(81627);const{compareSelect:ne,compareStrings:ae}=k(68673);const _e=k(35891);const ve=new Set;const addToList=(S,E)=>{if(Array.isArray(S)){for(const k of S){E.add(k)}}else if(S){E.add(S)}};const mapAndDeduplicateBuffers=(S,E)=>{const k=[];e:for(const w of S){const S=E(w);for(const E of k){if(S.equals(E))continue e}k.push(S)}return k};const quoteMeta=S=>S.replace(/[-[\]\\/{}()*+?.^$|]/g,"\\$&");const Ee=new WeakMap;const toCachedSource=S=>{if(S instanceof j){return S}const E=Ee.get(S);if(E!==undefined)return E;const k=new j(q.from(S));Ee.set(S,k);return k};const Te=new WeakMap;class RealContentHashPlugin{static getCompilationHooks(S){if(!(S instanceof ee)){throw new TypeError("The 'compilation' argument must be an instance of Compilation")}let E=Te.get(S);if(E===undefined){E={updateHash:new w(["content","oldHash"])};Te.set(S,E)}return E}constructor({hashFunction:S,hashDigest:E}){this._hashFunction=S;this._hashDigest=E}apply(S){S.hooks.compilation.tap("RealContentHashPlugin",(S=>{const E=S.getCache("RealContentHashPlugin|analyse");const k=S.getCache("RealContentHashPlugin|generate");const w=RealContentHashPlugin.getCompilationHooks(S);S.hooks.processAssets.tapPromise({name:"RealContentHashPlugin",stage:ee.PROCESS_ASSETS_STAGE_OPTIMIZE_HASH},(async()=>{const j=S.getAssets();const q=[];const ee=new Map;for(const{source:S,info:E,name:k}of j){const w=toCachedSource(S);const N=w.source();const j=new Set;addToList(E.contenthash,j);const te={name:k,info:E,source:w,newSource:undefined,newSourceWithoutOwn:undefined,content:N,ownHashes:undefined,contentComputePromise:undefined,contentComputeWithoutOwnPromise:undefined,referencedHashes:undefined,hashes:j};q.push(te);for(const S of j){const E=ee.get(S);if(E===undefined){ee.set(S,[te])}else{E.push(te)}}}if(ee.size===0)return;const Ee=new RegExp(Array.from(ee.keys(),quoteMeta).join("|"),"g");await Promise.all(q.map((async S=>{const{name:k,source:w,content:N,hashes:j}=S;if(Buffer.isBuffer(N)){S.referencedHashes=ve;S.ownHashes=ve;return}const q=E.mergeEtags(E.getLazyHashedEtag(w),Array.from(j).join("|"));[S.referencedHashes,S.ownHashes]=await E.providePromise(k,q,(()=>{const S=new Set;let E=new Set;const k=N.match(Ee);if(k){for(const w of k){if(j.has(w)){E.add(w);continue}S.add(w)}}return[S,E]}))})));const getDependencies=E=>{const k=ee.get(E);if(!k){const k=q.filter((S=>S.referencedHashes.has(E)));const w=new te(`RealContentHashPlugin\nSome kind of unexpected caching problem occurred.\nAn asset was cached with a reference to another asset (${E}) that's not in the compilation anymore.\nEither the asset was incorrectly cached, or the referenced asset should also be restored from cache.\nReferenced by:\n${k.map((S=>{const k=new RegExp(`.{0,20}${quoteMeta(E)}.{0,20}`).exec(S.content);return` - ${S.name}: ...${k?k[0]:"???"}...`})).join("\n")}`);S.errors.push(w);return undefined}const w=new Set;for(const{referencedHashes:S,ownHashes:N}of k){if(!N.has(E)){for(const S of N){w.add(S)}}for(const E of S){w.add(E)}}return w};const hashInfo=S=>{const E=ee.get(S);return`${S} (${Array.from(E,(S=>S.name))})`};const Te=new Set;for(const S of ee.keys()){const add=(S,E)=>{const k=getDependencies(S);if(!k)return;E.add(S);for(const S of k){if(Te.has(S))continue;if(E.has(S)){throw new Error(`Circular hash dependency ${Array.from(E,hashInfo).join(" -> ")} -> ${hashInfo(S)}`)}add(S,E)}Te.add(S);E.delete(S)};if(Te.has(S))continue;add(S,new Set)}const Ce=new Map;const getEtag=S=>k.mergeEtags(k.getLazyHashedEtag(S.source),Array.from(S.referencedHashes,(S=>Ce.get(S))).join("|"));const computeNewContent=S=>{if(S.contentComputePromise)return S.contentComputePromise;return S.contentComputePromise=(async()=>{if(S.ownHashes.size>0||Array.from(S.referencedHashes).some((S=>Ce.get(S)!==S))){const E=S.name;const w=getEtag(S);S.newSource=await k.providePromise(E,w,(()=>{const E=S.content.replace(Ee,(S=>Ce.get(S)));return new N(E)}))}})()};const computeNewContentWithoutOwn=S=>{if(S.contentComputeWithoutOwnPromise)return S.contentComputeWithoutOwnPromise;return S.contentComputeWithoutOwnPromise=(async()=>{if(S.ownHashes.size>0||Array.from(S.referencedHashes).some((S=>Ce.get(S)!==S))){const E=S.name+"|without-own";const w=getEtag(S);S.newSourceWithoutOwn=await k.providePromise(E,w,(()=>{const E=S.content.replace(Ee,(E=>{if(S.ownHashes.has(E)){return""}return Ce.get(E)}));return new N(E)}))}})()};const we=ne((S=>S.name),ae);for(const S of Te){const E=ee.get(S);E.sort(we);const k=_e(this._hashFunction);await Promise.all(E.map((E=>E.ownHashes.has(S)?computeNewContentWithoutOwn(E):computeNewContent(E))));const N=mapAndDeduplicateBuffers(E,(E=>{if(E.ownHashes.has(S)){return E.newSourceWithoutOwn?E.newSourceWithoutOwn.buffer():E.source.buffer()}else{return E.newSource?E.newSource.buffer():E.source.buffer()}}));let j=w.updateHash.call(N,S);if(!j){for(const S of N){k.update(S)}const E=k.digest(this._hashDigest);j=E.slice(0,S.length)}Ce.set(S,j)}await Promise.all(q.map((async E=>{await computeNewContent(E);const k=E.name.replace(Ee,(S=>Ce.get(S)));const w={};const N=E.info.contenthash;w.contenthash=Array.isArray(N)?N.map((S=>Ce.get(S))):Ce.get(N);if(E.newSource!==undefined){S.updateAsset(E.name,E.newSource,w)}else{S.updateAsset(E.name,E.source,w)}if(E.name!==k){S.renameAsset(E.name,k)}})))}))}))}}S.exports=RealContentHashPlugin},62665:(S,E,k)=>{"use strict";const{STAGE_BASIC:w,STAGE_ADVANCED:N}=k(82414);class RemoveEmptyChunksPlugin{apply(S){S.hooks.compilation.tap("RemoveEmptyChunksPlugin",(S=>{const handler=E=>{const k=S.chunkGraph;for(const w of E){if(k.getNumberOfChunkModules(w)===0&&!w.hasRuntime()&&k.getNumberOfEntryModules(w)===0){S.chunkGraph.disconnectChunk(w);S.chunks.delete(w)}}};S.hooks.optimizeChunks.tap({name:"RemoveEmptyChunksPlugin",stage:w},handler);S.hooks.optimizeChunks.tap({name:"RemoveEmptyChunksPlugin",stage:N},handler)}))}}S.exports=RemoveEmptyChunksPlugin},78016:(S,E,k)=>{"use strict";const{STAGE_BASIC:w}=k(82414);const N=k(39541);const{intersect:j}=k(26221);class RemoveParentModulesPlugin{apply(S){S.hooks.compilation.tap("RemoveParentModulesPlugin",(S=>{const handler=(E,k)=>{const w=S.chunkGraph;const q=new N;const ee=new WeakMap;for(const E of S.entrypoints.values()){ee.set(E,new Set);for(const S of E.childrenIterable){q.enqueue(S)}}for(const E of S.asyncEntrypoints){ee.set(E,new Set);for(const S of E.childrenIterable){q.enqueue(S)}}while(q.length>0){const S=q.dequeue();let E=ee.get(S);let k=false;for(const N of S.parentsIterable){const j=ee.get(N);if(j!==undefined){if(E===undefined){E=new Set(j);for(const S of N.chunks){for(const k of w.getChunkModulesIterable(S)){E.add(k)}}ee.set(S,E);k=true}else{for(const S of E){if(!w.isModuleInChunkGroup(S,N)&&!j.has(S)){E.delete(S);k=true}}}}}if(k){for(const E of S.childrenIterable){q.enqueue(E)}}}for(const S of E){const E=Array.from(S.groupsIterable,(S=>ee.get(S)));if(E.some((S=>S===undefined)))continue;const k=E.length===1?E[0]:j(E);const N=w.getNumberOfChunkModules(S);const q=new Set;if(N{"use strict";class RuntimeChunkPlugin{constructor(S){this.options={name:S=>`runtime~${S.name}`,...S}}apply(S){S.hooks.thisCompilation.tap("RuntimeChunkPlugin",(S=>{S.hooks.addEntry.tap("RuntimeChunkPlugin",((E,{name:k})=>{if(k===undefined)return;const w=S.entries.get(k);if(w.options.runtime===undefined&&!w.options.dependOn){let S=this.options.name;if(typeof S==="function"){S=S({name:k})}w.options.runtime=S}}))}))}}S.exports=RuntimeChunkPlugin},63410:(S,E,k)=>{"use strict";const w=k(70554);const{STAGE_DEFAULT:N}=k(82414);const j=k(44576);const q=k(2230);const ee=k(72380);const te=new WeakMap;const globToRegexp=(S,E)=>{const k=E.get(S);if(k!==undefined)return k;if(!S.includes("/")){S=`**/${S}`}const N=w(S,{globstar:true,extended:true});const j=N.source;const q=new RegExp("^(\\./)?"+j.slice(1));E.set(S,q);return q};class SideEffectsFlagPlugin{constructor(S=true){this._analyseSource=S}apply(S){let E=te.get(S.root);if(E===undefined){E=new Map;te.set(S.root,E)}S.hooks.compilation.tap("SideEffectsFlagPlugin",((S,{normalModuleFactory:k})=>{const w=S.moduleGraph;k.hooks.module.tap("SideEffectsFlagPlugin",((S,k)=>{const w=k.resourceResolveData;if(w&&w.descriptionFileData&&w.relativePath){const k=w.descriptionFileData.sideEffects;if(k!==undefined){if(S.factoryMeta===undefined){S.factoryMeta={}}const N=SideEffectsFlagPlugin.moduleHasSideEffects(w.relativePath,k,E);S.factoryMeta.sideEffectFree=!N}}return S}));k.hooks.module.tap("SideEffectsFlagPlugin",((S,E)=>{if(typeof E.settings.sideEffects==="boolean"){if(S.factoryMeta===undefined){S.factoryMeta={}}S.factoryMeta.sideEffectFree=!E.settings.sideEffects}return S}));if(this._analyseSource){const parserHandler=S=>{let E;S.hooks.program.tap("SideEffectsFlagPlugin",(()=>{E=undefined}));S.hooks.statement.tap({name:"SideEffectsFlagPlugin",stage:-100},(k=>{if(E)return;if(S.scope.topLevelScope!==true)return;switch(k.type){case"ExpressionStatement":if(!S.isPure(k.expression,k.range[0])){E=k}break;case"IfStatement":case"WhileStatement":case"DoWhileStatement":if(!S.isPure(k.test,k.range[0])){E=k}break;case"ForStatement":if(!S.isPure(k.init,k.range[0])||!S.isPure(k.test,k.init?k.init.range[1]:k.range[0])||!S.isPure(k.update,k.test?k.test.range[1]:k.init?k.init.range[1]:k.range[0])){E=k}break;case"SwitchStatement":if(!S.isPure(k.discriminant,k.range[0])){E=k}break;case"VariableDeclaration":case"ClassDeclaration":case"FunctionDeclaration":if(!S.isPure(k,k.range[0])){E=k}break;case"ExportNamedDeclaration":case"ExportDefaultDeclaration":if(!S.isPure(k.declaration,k.range[0])){E=k}break;case"LabeledStatement":case"BlockStatement":break;case"EmptyStatement":break;case"ExportAllDeclaration":case"ImportDeclaration":break;default:E=k;break}}));S.hooks.finish.tap("SideEffectsFlagPlugin",(()=>{if(E===undefined){S.state.module.buildMeta.sideEffectFree=true}else{const{loc:k,type:N}=E;w.getOptimizationBailout(S.state.module).push((()=>`Statement (${N}) with side effects in source code at ${ee(k)}`))}}))};for(const S of["javascript/auto","javascript/esm","javascript/dynamic"]){k.hooks.parser.for(S).tap("SideEffectsFlagPlugin",parserHandler)}}S.hooks.optimizeDependencies.tap({name:"SideEffectsFlagPlugin",stage:N},(E=>{const k=S.getLogger("webpack.SideEffectsFlagPlugin");k.time("update dependencies");for(const S of E){if(S.getSideEffectsConnectionState(w)===false){const E=w.getExportsInfo(S);for(const k of w.getIncomingConnections(S)){const S=k.dependency;let N;if((N=S instanceof j)||S instanceof q&&!S.namespaceObjectAsContext){if(N&&S.name){const E=w.getExportInfo(k.originModule,S.name);E.moveTarget(w,(({module:S})=>S.getSideEffectsConnectionState(w)===false),(({module:E,export:k})=>{w.updateModule(S,E);w.addExplanation(S,"(skipped side-effect-free modules)");const N=S.getIds(w);S.setIds(w,k?[...k,...N.slice(1)]:N.slice(1));return w.getConnection(S)}));continue}const j=S.getIds(w);if(j.length>0){const k=E.getExportInfo(j[0]);const N=k.getTarget(w,(({module:S})=>S.getSideEffectsConnectionState(w)===false));if(!N)continue;w.updateModule(S,N.module);w.addExplanation(S,"(skipped side-effect-free modules)");S.setIds(w,N.export?[...N.export,...j.slice(1)]:j.slice(1))}}}}}k.timeEnd("update dependencies")}))}))}static moduleHasSideEffects(S,E,k){switch(typeof E){case"undefined":return true;case"boolean":return E;case"string":return globToRegexp(E,k).test(S);case"object":return E.some((E=>SideEffectsFlagPlugin.moduleHasSideEffects(S,E,k)))}}}S.exports=SideEffectsFlagPlugin},40051:(S,E,k)=>{"use strict";const w=k(62433);const{STAGE_ADVANCED:N}=k(82414);const j=k(81627);const{requestToId:q}=k(30328);const{isSubset:ee}=k(26221);const te=k(16102);const{compareModulesByIdentifier:ne,compareIterables:ae}=k(68673);const _e=k(35891);const ve=k(44648);const Ee=k(49197).contextify;const Te=k(91671);const Ce=k(1697);const defaultGetName=()=>{};const we=ve;const Ne=new WeakMap;const hashFilename=(S,E)=>{const k=_e(E.hashFunction).update(S).digest(E.hashDigest);return k.slice(0,8)};const getRequests=S=>{let E=0;for(const k of S.groupsIterable){E=Math.max(E,k.chunks.length)}return E};const mapObject=(S,E)=>{const k=Object.create(null);for(const w of Object.keys(S)){k[w]=E(S[w],w)}return k};const isOverlap=(S,E)=>{for(const k of S){if(E.has(k))return true}return false};const Ie=ae(ne);const compareEntries=(S,E)=>{const k=S.cacheGroup.priority-E.cacheGroup.priority;if(k)return k;const w=S.chunks.size-E.chunks.size;if(w)return w;const N=totalSize(S.sizes)*(S.chunks.size-1);const j=totalSize(E.sizes)*(E.chunks.size-1);const q=N-j;if(q)return q;const ee=E.cacheGroupIndex-S.cacheGroupIndex;if(ee)return ee;const te=S.modules;const ne=E.modules;const ae=te.size-ne.size;if(ae)return ae;te.sort();ne.sort();return Ie(te,ne)};const INITIAL_CHUNK_FILTER=S=>S.canBeInitial();const ASYNC_CHUNK_FILTER=S=>!S.canBeInitial();const ALL_CHUNK_FILTER=S=>true;const normalizeSizes=(S,E)=>{if(typeof S==="number"){const k={};for(const w of E)k[w]=S;return k}else if(typeof S==="object"&&S!==null){return{...S}}else{return{}}};const mergeSizes=(...S)=>{let E={};for(let k=S.length-1;k>=0;k--){E=Object.assign(E,S[k])}return E};const hasNonZeroSizes=S=>{for(const E of Object.keys(S)){if(S[E]>0)return true}return false};const combineSizes=(S,E,k)=>{const w=new Set(Object.keys(S));const N=new Set(Object.keys(E));const j={};for(const q of w){if(N.has(q)){j[q]=k(S[q],E[q])}else{j[q]=S[q]}}for(const S of N){if(!w.has(S)){j[S]=E[S]}}return j};const checkMinSize=(S,E)=>{for(const k of Object.keys(E)){const w=S[k];if(w===undefined||w===0)continue;if(w{let k;for(const w of Object.keys(E)){const N=S[w];if(N===undefined||N===0)continue;if(N{let E=0;for(const k of Object.keys(S)){E+=S[k]}return E};const normalizeName=S=>{if(typeof S==="string"){return()=>S}if(typeof S==="function"){return S}};const normalizeChunksFilter=S=>{if(S==="initial"){return INITIAL_CHUNK_FILTER}if(S==="async"){return ASYNC_CHUNK_FILTER}if(S==="all"){return ALL_CHUNK_FILTER}if(typeof S==="function"){return S}};const normalizeCacheGroups=(S,E)=>{if(typeof S==="function"){return S}if(typeof S==="object"&&S!==null){const k=[];for(const w of Object.keys(S)){const N=S[w];if(N===false){continue}if(typeof N==="string"||N instanceof RegExp){const S=createCacheGroupSource({},w,E);k.push(((E,k,w)=>{if(checkTest(N,E,k)){w.push(S)}}))}else if(typeof N==="function"){const S=new WeakMap;k.push(((k,j,q)=>{const ee=N(k);if(ee){const k=Array.isArray(ee)?ee:[ee];for(const N of k){const k=S.get(N);if(k!==undefined){q.push(k)}else{const k=createCacheGroupSource(N,w,E);S.set(N,k);q.push(k)}}}}))}else{const S=createCacheGroupSource(N,w,E);k.push(((E,k,w)=>{if(checkTest(N.test,E,k)&&checkModuleType(N.type,E)&&checkModuleLayer(N.layer,E)){w.push(S)}}))}}const fn=(S,E)=>{let w=[];for(const N of k){N(S,E,w)}return w};return fn}return()=>null};const checkTest=(S,E,k)=>{if(S===undefined)return true;if(typeof S==="function"){return S(E,k)}if(typeof S==="boolean")return S;if(typeof S==="string"){const k=E.nameForCondition();return k&&k.startsWith(S)}if(S instanceof RegExp){const k=E.nameForCondition();return k&&S.test(k)}return false};const checkModuleType=(S,E)=>{if(S===undefined)return true;if(typeof S==="function"){return S(E.type)}if(typeof S==="string"){const k=E.type;return S===k}if(S instanceof RegExp){const k=E.type;return S.test(k)}return false};const checkModuleLayer=(S,E)=>{if(S===undefined)return true;if(typeof S==="function"){return S(E.layer)}if(typeof S==="string"){const k=E.layer;return S===""?!k:k&&k.startsWith(S)}if(S instanceof RegExp){const k=E.layer;return S.test(k)}return false};const createCacheGroupSource=(S,E,k)=>{const w=normalizeSizes(S.minSize,k);const N=normalizeSizes(S.maxSize,k);return{key:E,priority:S.priority,getName:normalizeName(S.name),chunksFilter:normalizeChunksFilter(S.chunks),enforce:S.enforce,minSize:w,minRemainingSize:mergeSizes(normalizeSizes(S.minRemainingSize,k),w),enforceSizeThreshold:normalizeSizes(S.enforceSizeThreshold,k),maxAsyncSize:mergeSizes(normalizeSizes(S.maxAsyncSize,k),N),maxInitialSize:mergeSizes(normalizeSizes(S.maxInitialSize,k),N),minChunks:S.minChunks,maxAsyncRequests:S.maxAsyncRequests,maxInitialRequests:S.maxInitialRequests,filename:S.filename,idHint:S.idHint,automaticNameDelimiter:S.automaticNameDelimiter,reuseExistingChunk:S.reuseExistingChunk,usedExports:S.usedExports}};S.exports=class SplitChunksPlugin{constructor(S={}){const E=S.defaultSizeTypes||["javascript","unknown"];const k=S.fallbackCacheGroup||{};const w=normalizeSizes(S.minSize,E);const N=normalizeSizes(S.maxSize,E);this.options={chunksFilter:normalizeChunksFilter(S.chunks||"all"),defaultSizeTypes:E,minSize:w,minRemainingSize:mergeSizes(normalizeSizes(S.minRemainingSize,E),w),enforceSizeThreshold:normalizeSizes(S.enforceSizeThreshold,E),maxAsyncSize:mergeSizes(normalizeSizes(S.maxAsyncSize,E),N),maxInitialSize:mergeSizes(normalizeSizes(S.maxInitialSize,E),N),minChunks:S.minChunks||1,maxAsyncRequests:S.maxAsyncRequests||1,maxInitialRequests:S.maxInitialRequests||1,hidePathInfo:S.hidePathInfo||false,filename:S.filename||undefined,getCacheGroups:normalizeCacheGroups(S.cacheGroups,E),getName:S.name?normalizeName(S.name):defaultGetName,automaticNameDelimiter:S.automaticNameDelimiter,usedExports:S.usedExports,fallbackCacheGroup:{minSize:mergeSizes(normalizeSizes(k.minSize,E),w),maxAsyncSize:mergeSizes(normalizeSizes(k.maxAsyncSize,E),normalizeSizes(k.maxSize,E),normalizeSizes(S.maxAsyncSize,E),normalizeSizes(S.maxSize,E)),maxInitialSize:mergeSizes(normalizeSizes(k.maxInitialSize,E),normalizeSizes(k.maxSize,E),normalizeSizes(S.maxInitialSize,E),normalizeSizes(S.maxSize,E)),automaticNameDelimiter:k.automaticNameDelimiter||S.automaticNameDelimiter||"~"}};this._cacheGroupCache=new WeakMap}_getCacheGroup(S){const E=this._cacheGroupCache.get(S);if(E!==undefined)return E;const k=mergeSizes(S.minSize,S.enforce?undefined:this.options.minSize);const w=mergeSizes(S.minRemainingSize,S.enforce?undefined:this.options.minRemainingSize);const N=mergeSizes(S.enforceSizeThreshold,S.enforce?undefined:this.options.enforceSizeThreshold);const j={key:S.key,priority:S.priority||0,chunksFilter:S.chunksFilter||this.options.chunksFilter,minSize:k,minRemainingSize:w,enforceSizeThreshold:N,maxAsyncSize:mergeSizes(S.maxAsyncSize,S.enforce?undefined:this.options.maxAsyncSize),maxInitialSize:mergeSizes(S.maxInitialSize,S.enforce?undefined:this.options.maxInitialSize),minChunks:S.minChunks!==undefined?S.minChunks:S.enforce?1:this.options.minChunks,maxAsyncRequests:S.maxAsyncRequests!==undefined?S.maxAsyncRequests:S.enforce?Infinity:this.options.maxAsyncRequests,maxInitialRequests:S.maxInitialRequests!==undefined?S.maxInitialRequests:S.enforce?Infinity:this.options.maxInitialRequests,getName:S.getName!==undefined?S.getName:this.options.getName,usedExports:S.usedExports!==undefined?S.usedExports:this.options.usedExports,filename:S.filename!==undefined?S.filename:this.options.filename,automaticNameDelimiter:S.automaticNameDelimiter!==undefined?S.automaticNameDelimiter:this.options.automaticNameDelimiter,idHint:S.idHint!==undefined?S.idHint:S.key,reuseExistingChunk:S.reuseExistingChunk||false,_validateSize:hasNonZeroSizes(k),_validateRemainingSize:hasNonZeroSizes(w),_minSizeForMaxSize:mergeSizes(S.minSize,this.options.minSize),_conditionalEnforce:hasNonZeroSizes(N)};this._cacheGroupCache.set(S,j);return j}apply(S){const E=Ee.bindContextCache(S.context,S.root);S.hooks.thisCompilation.tap("SplitChunksPlugin",(S=>{const k=S.getLogger("webpack.SplitChunksPlugin");let ae=false;S.hooks.unseal.tap("SplitChunksPlugin",(()=>{ae=false}));S.hooks.optimizeChunks.tap({name:"SplitChunksPlugin",stage:N},(N=>{if(ae)return;ae=true;k.time("prepare");const _e=S.chunkGraph;const ve=S.moduleGraph;const Ee=new Map;const Ie=BigInt("0");const Fe=BigInt("1");let Oe=Fe;for(const S of N){Ee.set(S,Oe);Oe=Oe<{const E=S[Symbol.iterator]();let k=E.next();if(k.done)return Ie;const w=k.value;k=E.next();if(k.done)return w;let N=Ee.get(w)|Ee.get(k.value);while(!(k=E.next()).done){N=N|Ee.get(k.value)}return N};const keyToString=S=>{if(typeof S==="bigint")return S.toString(16);return Ee.get(S).toString(16)};const Me=Te((()=>{const E=new Map;const k=new Set;for(const w of S.modules){const S=_e.getModuleChunksIterable(w);const N=getKey(S);if(typeof N==="bigint"){if(!E.has(N)){E.set(N,new Set(S))}}else{k.add(N)}}return{chunkSetsInGraph:E,singleChunkSets:k}}));const groupChunksByExports=S=>{const E=ve.getExportsInfo(S);const k=new Map;for(const w of _e.getModuleChunksIterable(S)){const S=E.getUsageKey(w.runtime);const N=k.get(S);if(N!==undefined){N.push(w)}else{k.set(S,[w])}}return k.values()};const Re=new Map;const Le=Te((()=>{const E=new Map;const k=new Set;for(const w of S.modules){const S=Array.from(groupChunksByExports(w));Re.set(w,S);for(const w of S){if(w.length===1){k.add(w[0])}else{const S=getKey(w);if(!E.has(S)){E.set(S,new Set(w))}}}}return{chunkSetsInGraph:E,singleChunkSets:k}}));const groupChunkSetsByCount=S=>{const E=new Map;for(const k of S){const S=k.size;let w=E.get(S);if(w===undefined){w=[];E.set(S,w)}w.push(k)}return E};const Be=Te((()=>groupChunkSetsByCount(Me().chunkSetsInGraph.values())));const je=Te((()=>groupChunkSetsByCount(Le().chunkSetsInGraph.values())));const createGetCombinations=(S,E,k)=>{const N=new Map;return j=>{const q=N.get(j);if(q!==undefined)return q;if(j instanceof w){const S=[j];N.set(j,S);return S}const te=S.get(j);const ne=[te];for(const[S,E]of k){if(S{const{chunkSetsInGraph:S,singleChunkSets:E}=Me();return createGetCombinations(S,E,Be())}));const getCombinations=S=>ze()(S);const Ue=Te((()=>{const{chunkSetsInGraph:S,singleChunkSets:E}=Le();return createGetCombinations(S,E,je())}));const getExportsCombinations=S=>Ue()(S);const We=new WeakMap;const getSelectedChunks=(S,E)=>{let k=We.get(S);if(k===undefined){k=new WeakMap;We.set(S,k)}let N=k.get(E);if(N===undefined){const j=[];if(S instanceof w){if(E(S))j.push(S)}else{for(const k of S){if(E(k))j.push(k)}}N={chunks:j,key:getKey(j)};k.set(E,N)}return N};const $e=new Map;const qe=new Set;const Ve=new Map;const addModuleToChunksInfoMap=(E,k,w,N,q)=>{if(w.length{const S=_e.getModuleChunksIterable(E);const k=getKey(S);return getCombinations(k)}));const N=Te((()=>{Le();const S=new Set;const k=Re.get(E);for(const E of k){const k=getKey(E);for(const E of getExportsCombinations(k))S.add(E)}return S}));let j=0;for(const q of S){const S=this._getCacheGroup(q);const ee=S.usedExports?N():k();for(const k of ee){const N=k instanceof w?1:k.size;if(N{for(const k of S.modules){const w=k.getSourceTypes();if(E.some((S=>w.has(S)))){S.modules.delete(k);for(const E of w){S.sizes[E]-=k.size(E)}}}};const removeMinSizeViolatingModules=S=>{if(!S.cacheGroup._validateSize)return false;const E=getViolatingMinSizes(S.sizes,S.cacheGroup.minSize);if(E===undefined)return false;removeModulesWithSourceType(S,E);return S.modules.size===0};for(const[S,E]of Ve){if(removeMinSizeViolatingModules(E)){Ve.delete(S)}}const Ge=new Map;while(Ve.size>0){let E;let k;for(const S of Ve){const w=S[0];const N=S[1];if(k===undefined||compareEntries(k,N)<0){k=N;E=w}}const w=k;Ve.delete(E);let N=w.name;let j;let q=false;let ee=false;if(N){const E=S.namedChunks.get(N);if(E!==undefined){j=E;const S=w.chunks.size;w.chunks.delete(j);q=w.chunks.size!==S}}else if(w.cacheGroup.reuseExistingChunk){e:for(const S of w.chunks){if(_e.getNumberOfChunkModules(S)!==w.modules.size){continue}if(w.chunks.size>1&&_e.getNumberOfEntryModules(S)>0){continue}for(const E of w.modules){if(!_e.isModuleInChunk(E,S)){continue e}}if(!j||!j.name){j=S}else if(S.name&&S.name.length=E){ne.delete(S)}}}e:for(const S of ne){for(const E of w.modules){if(_e.isModuleInChunk(E,S))continue e}ne.delete(S)}if(ne.size=w.cacheGroup.minChunks){const S=Array.from(ne);for(const E of w.modules){addModuleToChunksInfoMap(w.cacheGroup,w.cacheGroupIndex,S,getKey(ne),E)}}continue}if(!te&&w.cacheGroup._validateRemainingSize&&ne.size===1){const[S]=ne;let k=Object.create(null);for(const E of _e.getChunkModulesIterable(S)){if(!w.modules.has(E)){for(const S of E.getSourceTypes()){k[S]=(k[S]||0)+E.size(S)}}}const N=getViolatingMinSizes(k,w.cacheGroup.minRemainingSize);if(N!==undefined){const S=w.modules.size;removeModulesWithSourceType(w,N);if(w.modules.size>0&&w.modules.size!==S){Ve.set(E,w)}continue}}if(j===undefined){j=S.addChunk(N)}for(const S of ne){S.split(j)}j.chunkReason=(j.chunkReason?j.chunkReason+", ":"")+(ee?"reused as split chunk":"split chunk");if(w.cacheGroup.key){j.chunkReason+=` (cache group: ${w.cacheGroup.key})`}if(N){j.chunkReason+=` (name: ${N})`}if(w.cacheGroup.filename){j.filenameTemplate=w.cacheGroup.filename}if(w.cacheGroup.idHint){j.idNameHints.add(w.cacheGroup.idHint)}if(!ee){for(const E of w.modules){if(!E.chunkCondition(j,S))continue;_e.connectChunkAndModule(j,E);for(const S of ne){_e.disconnectChunkAndModule(S,E)}}}else{for(const S of w.modules){for(const E of ne){_e.disconnectChunkAndModule(E,S)}}}if(Object.keys(w.cacheGroup.maxAsyncSize).length>0||Object.keys(w.cacheGroup.maxInitialSize).length>0){const S=Ge.get(j);Ge.set(j,{minSize:S?combineSizes(S.minSize,w.cacheGroup._minSizeForMaxSize,Math.max):w.cacheGroup.minSize,maxAsyncSize:S?combineSizes(S.maxAsyncSize,w.cacheGroup.maxAsyncSize,Math.min):w.cacheGroup.maxAsyncSize,maxInitialSize:S?combineSizes(S.maxInitialSize,w.cacheGroup.maxInitialSize,Math.min):w.cacheGroup.maxInitialSize,automaticNameDelimiter:w.cacheGroup.automaticNameDelimiter,keys:S?S.keys.concat(w.cacheGroup.key):[w.cacheGroup.key]})}for(const[S,E]of Ve){if(isOverlap(E.chunks,ne)){let k=false;for(const S of w.modules){if(E.modules.has(S)){E.modules.delete(S);for(const k of S.getSourceTypes()){E.sizes[k]-=S.size(k)}k=true}}if(k){if(E.modules.size===0){Ve.delete(S);continue}if(removeMinSizeViolatingModules(E)){Ve.delete(S);continue}}}}}k.timeEnd("queue");k.time("maxSize");const Je=new Set;const{outputOptions:Ke}=S;for(const k of Array.from(S.chunks)){const w=Ge.get(k);const{minSize:N,maxAsyncSize:j,maxInitialSize:ee,automaticNameDelimiter:te}=w||this.options.fallbackCacheGroup;let ne;if(k.isOnlyInitial()){ne=ee}else if(k.canBeInitial()){ne=combineSizes(j,ee,Math.min)}else{ne=j}if(Object.keys(ne).length===0){continue}for(const E of Object.keys(ne)){const k=ne[E];const j=N[E];if(typeof j==="number"&&j>k){const E=w&&w.keys;const N=`${E&&E.join()} ${j} ${k}`;if(!Je.has(N)){Je.add(N);S.warnings.push(new Ce(E,j,k))}}}const ae=we({minSize:N,maxSize:mapObject(ne,((S,E)=>{const k=N[E];return typeof k==="number"?Math.max(S,k):S})),items:_e.getChunkModulesIterable(k),getKey(S){const k=Ne.get(S);if(k!==undefined)return k;const w=E(S.identifier());const N=S.nameForCondition&&S.nameForCondition();const j=N?E(N):w.replace(/^.*!|\?[^?!]*$/g,"");const ee=j+te+hashFilename(w,Ke);const ne=q(ee);Ne.set(S,ne);return ne},getSize(S){const E=Object.create(null);for(const k of S.getSourceTypes()){E[k]=S.size(k)}return E}});if(ae.length<=1){continue}for(let E=0;E100){j=j.slice(0,100)+te+hashFilename(j,Ke)}if(E!==ae.length-1){const E=S.addChunk(j);k.split(E);E.chunkReason=k.chunkReason;for(const N of w.items){if(!N.chunkCondition(E,S)){continue}_e.connectChunkAndModule(E,N);_e.disconnectChunkAndModule(k,N)}}else{k.name=j}}}k.timeEnd("maxSize")}))}))}}},15787:(S,E,k)=>{"use strict";const{formatSize:w}=k(9192);const N=k(81627);S.exports=class AssetsOverSizeLimitWarning extends N{constructor(S,E){const k=S.map((S=>`\n ${S.name} (${w(S.size)})`)).join("");super(`asset size limit: The following asset(s) exceed the recommended size limit (${w(E)}).\nThis can impact web performance.\nAssets: ${k}`);this.name="AssetsOverSizeLimitWarning";this.assets=S}}},84116:(S,E,k)=>{"use strict";const{formatSize:w}=k(9192);const N=k(81627);S.exports=class EntrypointsOverSizeLimitWarning extends N{constructor(S,E){const k=S.map((S=>`\n ${S.name} (${w(S.size)})\n${S.files.map((S=>` ${S}`)).join("\n")}`)).join("");super(`entrypoint size limit: The following entrypoint(s) combined asset size exceeds the recommended limit (${w(E)}). This can impact web performance.\nEntrypoints:${k}\n`);this.name="EntrypointsOverSizeLimitWarning";this.entrypoints=S}}},23529:(S,E,k)=>{"use strict";const w=k(81627);S.exports=class NoAsyncChunksWarning extends w{constructor(){super("webpack performance recommendations: \n"+"You can limit the size of your bundles by using import() or require.ensure to lazy load some parts of your application.\n"+"For more info visit https://webpack.js.org/guides/code-splitting/");this.name="NoAsyncChunksWarning"}}},20625:(S,E,k)=>{"use strict";const{find:w}=k(26221);const N=k(15787);const j=k(84116);const q=k(23529);const ee=new WeakSet;const excludeSourceMap=(S,E,k)=>!k.development;S.exports=class SizeLimitsPlugin{constructor(S){this.hints=S.hints;this.maxAssetSize=S.maxAssetSize;this.maxEntrypointSize=S.maxEntrypointSize;this.assetFilter=S.assetFilter}static isOverSizeLimit(S){return ee.has(S)}apply(S){const E=this.maxEntrypointSize;const k=this.maxAssetSize;const te=this.hints;const ne=this.assetFilter||excludeSourceMap;S.hooks.afterEmit.tap("SizeLimitsPlugin",(S=>{const ae=[];const getEntrypointSize=E=>{let k=0;for(const w of E.getFiles()){const E=S.getAsset(w);if(E&&ne(E.name,E.source,E.info)&&E.source){k+=E.info.size||E.source.size()}}return k};const _e=[];for(const{name:E,source:w,info:N}of S.getAssets()){if(!ne(E,w,N)||!w){continue}const S=N.size||w.size();if(S>k){_e.push({name:E,size:S});ee.add(w)}}const fileFilter=E=>{const k=S.getAsset(E);return k&&ne(k.name,k.source,k.info)};const ve=[];for(const[k,w]of S.entrypoints){const S=getEntrypointSize(w);if(S>E){ve.push({name:k,size:S,files:w.getFiles().filter(fileFilter)});ee.add(w)}}if(te){if(_e.length>0){ae.push(new N(_e,k))}if(ve.length>0){ae.push(new j(ve,E))}if(ae.length>0){const E=w(S.chunks,(S=>!S.canBeInitial()));if(!E){ae.push(new q)}if(te==="error"){S.errors.push(...ae)}else{S.warnings.push(...ae)}}}}))}}},63890:(S,E,k)=>{"use strict";const w=k(66804);const N=k(58159);class ChunkPrefetchFunctionRuntimeModule extends w{constructor(S,E,k){super(`chunk ${S} function`);this.childType=S;this.runtimeFunction=E;this.runtimeHandlers=k}generate(){const{runtimeFunction:S,runtimeHandlers:E}=this;const{runtimeTemplate:k}=this.compilation;return N.asString([`${E} = {};`,`${S} = ${k.basicFunction("chunkId",[`Object.keys(${E}).map(${k.basicFunction("key",`${E}[key](chunkId);`)});`])}`])}}S.exports=ChunkPrefetchFunctionRuntimeModule},5538:(S,E,k)=>{"use strict";const w=k(76150);const N=k(63890);const j=k(2235);const q=k(86400);const ee=k(37536);class ChunkPrefetchPreloadPlugin{apply(S){S.hooks.compilation.tap("ChunkPrefetchPreloadPlugin",(S=>{S.hooks.additionalChunkRuntimeRequirements.tap("ChunkPrefetchPreloadPlugin",((E,k,{chunkGraph:N})=>{if(N.getNumberOfEntryModules(E)===0)return;const q=E.getChildrenOfTypeInOrder(N,"prefetchOrder");if(q){k.add(w.prefetchChunk);k.add(w.onChunksLoaded);S.addRuntimeModule(E,new j(q))}}));S.hooks.additionalTreeRuntimeRequirements.tap("ChunkPrefetchPreloadPlugin",((E,k,{chunkGraph:N})=>{const j=E.getChildIdsByOrdersMap(N,false);if(j.prefetch){k.add(w.prefetchChunk);S.addRuntimeModule(E,new q(j.prefetch))}if(j.preload){k.add(w.preloadChunk);S.addRuntimeModule(E,new ee(j.preload))}}));S.hooks.runtimeRequirementInTree.for(w.prefetchChunk).tap("ChunkPrefetchPreloadPlugin",((E,k)=>{S.addRuntimeModule(E,new N("prefetch",w.prefetchChunk,w.prefetchChunkHandlers));k.add(w.prefetchChunkHandlers)}));S.hooks.runtimeRequirementInTree.for(w.preloadChunk).tap("ChunkPrefetchPreloadPlugin",((E,k)=>{S.addRuntimeModule(E,new N("preload",w.preloadChunk,w.preloadChunkHandlers));k.add(w.preloadChunkHandlers)}))}))}}S.exports=ChunkPrefetchPreloadPlugin},2235:(S,E,k)=>{"use strict";const w=k(76150);const N=k(66804);const j=k(58159);class ChunkPrefetchStartupRuntimeModule extends N{constructor(S){super("startup prefetch",N.STAGE_TRIGGER);this.startupChunks=S}generate(){const{startupChunks:S,chunk:E}=this;const{runtimeTemplate:k}=this.compilation;return j.asString(S.map((({onChunks:S,chunks:N})=>`${w.onChunksLoaded}(0, ${JSON.stringify(S.filter((S=>S===E)).map((S=>S.id)))}, ${k.expressionFunction(N.size<3?Array.from(N,(S=>`${w.prefetchChunk}(${JSON.stringify(S.id)})`)).join(", "):`${JSON.stringify(Array.from(N,(S=>S.id)))}.map(${w.prefetchChunk})`)}, 5);`)))}}S.exports=ChunkPrefetchStartupRuntimeModule},86400:(S,E,k)=>{"use strict";const w=k(76150);const N=k(66804);const j=k(58159);class ChunkPrefetchTriggerRuntimeModule extends N{constructor(S){super(`chunk prefetch trigger`,N.STAGE_TRIGGER);this.chunkMap=S}generate(){const{chunkMap:S}=this;const{runtimeTemplate:E}=this.compilation;const k=["var chunks = chunkToChildrenMap[chunkId];",`Array.isArray(chunks) && chunks.map(${w.prefetchChunk});`];return j.asString([j.asString([`var chunkToChildrenMap = ${JSON.stringify(S,null,"\t")};`,`${w.ensureChunkHandlers}.prefetch = ${E.expressionFunction(`Promise.all(promises).then(${E.basicFunction("",k)})`,"chunkId, promises")};`])])}}S.exports=ChunkPrefetchTriggerRuntimeModule},37536:(S,E,k)=>{"use strict";const w=k(76150);const N=k(66804);const j=k(58159);class ChunkPreloadTriggerRuntimeModule extends N{constructor(S){super(`chunk preload trigger`,N.STAGE_TRIGGER);this.chunkMap=S}generate(){const{chunkMap:S}=this;const{runtimeTemplate:E}=this.compilation;const k=["var chunks = chunkToChildrenMap[chunkId];",`Array.isArray(chunks) && chunks.map(${w.preloadChunk});`];return j.asString([j.asString([`var chunkToChildrenMap = ${JSON.stringify(S,null,"\t")};`,`${w.ensureChunkHandlers}.preload = ${E.basicFunction("chunkId",k)};`])])}}S.exports=ChunkPreloadTriggerRuntimeModule},94288:S=>{"use strict";class BasicEffectRulePlugin{constructor(S,E){this.ruleProperty=S;this.effectType=E||S}apply(S){S.hooks.rule.tap("BasicEffectRulePlugin",((S,E,k,w,N)=>{if(k.has(this.ruleProperty)){k.delete(this.ruleProperty);const S=E[this.ruleProperty];w.effects.push({type:this.effectType,value:S})}}))}}S.exports=BasicEffectRulePlugin},1976:S=>{"use strict";class BasicMatcherRulePlugin{constructor(S,E,k){this.ruleProperty=S;this.dataProperty=E||S;this.invert=k||false}apply(S){S.hooks.rule.tap("BasicMatcherRulePlugin",((E,k,w,N)=>{if(w.has(this.ruleProperty)){w.delete(this.ruleProperty);const j=k[this.ruleProperty];const q=S.compileCondition(`${E}.${this.ruleProperty}`,j);const ee=q.fn;N.conditions.push({property:this.dataProperty,matchWhenEmpty:this.invert?!q.matchWhenEmpty:q.matchWhenEmpty,fn:this.invert?S=>!ee(S):ee})}}))}}S.exports=BasicMatcherRulePlugin},92299:S=>{"use strict";const E="descriptionData";class DescriptionDataMatcherRulePlugin{apply(S){S.hooks.rule.tap("DescriptionDataMatcherRulePlugin",((k,w,N,j)=>{if(N.has(E)){N.delete(E);const q=w[E];for(const w of Object.keys(q)){const N=w.split(".");const ee=S.compileCondition(`${k}.${E}.${w}`,q[w]);j.conditions.push({property:["descriptionData",...N],matchWhenEmpty:ee.matchWhenEmpty,fn:ee.fn})}}}))}}S.exports=DescriptionDataMatcherRulePlugin},73817:(S,E,k)=>{"use strict";const{SyncHook:w}=k(92960);class RuleSetCompiler{constructor(S){this.hooks=Object.freeze({rule:new w(["path","rule","unhandledProperties","compiledRule","references"])});if(S){for(const E of S){E.apply(this)}}}compile(S){const E=new Map;const k=this.compileRules("ruleSet",S,E);const execRule=(S,E,k)=>{for(const k of E.conditions){const E=k.property;if(Array.isArray(E)){let w=S;for(const S of E){if(w&&typeof w==="object"&&Object.prototype.hasOwnProperty.call(w,S)){w=w[S]}else{w=undefined;break}}if(w!==undefined){if(!k.fn(w))return false;continue}}else if(E in S){const w=S[E];if(w!==undefined){if(!k.fn(w))return false;continue}}if(!k.matchWhenEmpty){return false}}for(const w of E.effects){if(typeof w==="function"){const E=w(S);for(const S of E){k.push(S)}}else{k.push(w)}}if(E.rules){for(const w of E.rules){execRule(S,w,k)}}if(E.oneOf){for(const w of E.oneOf){if(execRule(S,w,k)){break}}}return true};return{references:E,exec:S=>{const E=[];for(const w of k){execRule(S,w,E)}return E}}}compileRules(S,E,k){return E.map(((E,w)=>this.compileRule(`${S}[${w}]`,E,k)))}compileRule(S,E,k){const w=new Set(Object.keys(E).filter((S=>E[S]!==undefined)));const N={conditions:[],effects:[],rules:undefined,oneOf:undefined};this.hooks.rule.call(S,E,w,N,k);if(w.has("rules")){w.delete("rules");const j=E.rules;if(!Array.isArray(j))throw this.error(S,j,"Rule.rules must be an array of rules");N.rules=this.compileRules(`${S}.rules`,j,k)}if(w.has("oneOf")){w.delete("oneOf");const j=E.oneOf;if(!Array.isArray(j))throw this.error(S,j,"Rule.oneOf must be an array of rules");N.oneOf=this.compileRules(`${S}.oneOf`,j,k)}if(w.size>0){throw this.error(S,E,`Properties ${Array.from(w).join(", ")} are unknown`)}return N}compileCondition(S,E){if(E===""){return{matchWhenEmpty:true,fn:S=>S===""}}if(!E){throw this.error(S,E,"Expected condition but got falsy value")}if(typeof E==="string"){return{matchWhenEmpty:E.length===0,fn:S=>typeof S==="string"&&S.startsWith(E)}}if(typeof E==="function"){try{return{matchWhenEmpty:E(""),fn:E}}catch(k){throw this.error(S,E,"Evaluation of condition function threw error")}}if(E instanceof RegExp){return{matchWhenEmpty:E.test(""),fn:S=>typeof S==="string"&&E.test(S)}}if(Array.isArray(E)){const k=E.map(((E,k)=>this.compileCondition(`${S}[${k}]`,E)));return this.combineConditionsOr(k)}if(typeof E!=="object"){throw this.error(S,E,`Unexpected ${typeof E} when condition was expected`)}const k=[];for(const w of Object.keys(E)){const N=E[w];switch(w){case"or":if(N){if(!Array.isArray(N)){throw this.error(`${S}.or`,E.and,"Expected array of conditions")}k.push(this.compileCondition(`${S}.or`,N))}break;case"and":if(N){if(!Array.isArray(N)){throw this.error(`${S}.and`,E.and,"Expected array of conditions")}let w=0;for(const E of N){k.push(this.compileCondition(`${S}.and[${w}]`,E));w++}}break;case"not":if(N){const E=this.compileCondition(`${S}.not`,N);const w=E.fn;k.push({matchWhenEmpty:!E.matchWhenEmpty,fn:S=>!w(S)})}break;default:throw this.error(`${S}.${w}`,E[w],`Unexpected property ${w} in condition`)}}if(k.length===0){throw this.error(S,E,"Expected condition, but got empty thing")}return this.combineConditionsAnd(k)}combineConditionsOr(S){if(S.length===0){return{matchWhenEmpty:false,fn:()=>false}}else if(S.length===1){return S[0]}else{return{matchWhenEmpty:S.some((S=>S.matchWhenEmpty)),fn:E=>S.some((S=>S.fn(E)))}}}combineConditionsAnd(S){if(S.length===0){return{matchWhenEmpty:false,fn:()=>false}}else if(S.length===1){return S[0]}else{return{matchWhenEmpty:S.every((S=>S.matchWhenEmpty)),fn:E=>S.every((S=>S.fn(E)))}}}error(S,E,k){return new Error(`Compiling RuleSet failed: ${k} (at ${S}: ${E})`)}}S.exports=RuleSetCompiler},19311:(S,E,k)=>{"use strict";const w=k(31669);class UseEffectRulePlugin{apply(S){S.hooks.rule.tap("UseEffectRulePlugin",((E,k,N,j,q)=>{const conflictWith=(w,j)=>{if(N.has(w)){throw S.error(`${E}.${w}`,k[w],`A Rule must not have a '${w}' property when it has a '${j}' property`)}};if(N.has("use")){N.delete("use");N.delete("enforce");conflictWith("loader","use");conflictWith("options","use");const S=k.use;const ee=k.enforce;const te=ee?`use-${ee}`:"use";const useToEffect=(S,E,k)=>{if(typeof k==="function"){return E=>useToEffectsWithoutIdent(S,k(E))}else{return useToEffectRaw(S,E,k)}};const useToEffectRaw=(S,E,k)=>{if(typeof k==="string"){return{type:te,value:{loader:k,options:undefined,ident:undefined}}}else{const N=k.loader;const j=k.options;let te=k.ident;if(j&&typeof j==="object"){if(!te)te=E;q.set(te,j)}if(typeof j==="string"){w.deprecate((()=>{}),`Using a string as loader options is deprecated (${S}.options)`,"DEP_WEBPACK_RULE_LOADER_OPTIONS_STRING")()}return{type:ee?`use-${ee}`:"use",value:{loader:N,options:j,ident:te}}}};const useToEffectsWithoutIdent=(S,E)=>{if(Array.isArray(E)){return E.map(((E,k)=>useToEffectRaw(`${S}[${k}]`,"[[missing ident]]",E)))}return[useToEffectRaw(S,"[[missing ident]]",E)]};const useToEffects=(S,E)=>{if(Array.isArray(E)){return E.map(((E,k)=>{const w=`${S}[${k}]`;return useToEffect(w,w,E)}))}return[useToEffect(S,S,E)]};if(typeof S==="function"){j.effects.push((k=>useToEffectsWithoutIdent(`${E}.use`,S(k))))}else{for(const k of useToEffects(`${E}.use`,S)){j.effects.push(k)}}}if(N.has("loader")){N.delete("loader");N.delete("options");N.delete("enforce");const ee=k.loader;const te=k.options;const ne=k.enforce;if(ee.includes("!")){throw S.error(`${E}.loader`,ee,"Exclamation mark separated loader lists has been removed in favor of the 'use' property with arrays")}if(ee.includes("?")){throw S.error(`${E}.loader`,ee,"Query arguments on 'loader' has been removed in favor of the 'options' property")}if(typeof te==="string"){w.deprecate((()=>{}),`Using a string as loader options is deprecated (${E}.options)`,"DEP_WEBPACK_RULE_LOADER_OPTIONS_STRING")()}const ae=te&&typeof te==="object"?E:undefined;q.set(ae,te);j.effects.push({type:ne?`use-${ne}`:"use",value:{loader:ee,options:te,ident:ae}})}}))}useItemToEffects(S,E){}}S.exports=UseEffectRulePlugin},84997:(S,E,k)=>{"use strict";const w=k(76150);const N=k(58159);const j=k(9851);class AsyncModuleRuntimeModule extends j{constructor(){super("async module")}generate(){const{runtimeTemplate:S}=this.compilation;const E=w.asyncModule;return N.asString(['var webpackThen = typeof Symbol === "function" ? Symbol("webpack then") : "__webpack_then__";','var webpackExports = typeof Symbol === "function" ? Symbol("webpack exports") : "__webpack_exports__";',`var completeQueue = ${S.basicFunction("queue",["if(queue) {",N.indent([`queue.forEach(${S.expressionFunction("fn.r--","fn")});`,`queue.forEach(${S.expressionFunction("fn.r-- ? fn.r++ : fn()","fn")});`]),"}"])}`,`var completeFunction = ${S.expressionFunction("!--fn.r && fn()","fn")};`,`var queueFunction = ${S.expressionFunction("queue ? queue.push(fn) : completeFunction(fn)","queue, fn")};`,`var wrapDeps = ${S.returningFunction(`deps.map(${S.basicFunction("dep",['if(dep !== null && typeof dep === "object") {',N.indent(["if(dep[webpackThen]) return dep;","if(dep.then) {",N.indent(["var queue = [];",`dep.then(${S.basicFunction("r",["obj[webpackExports] = r;","completeQueue(queue);","queue = 0;"])});`,`var obj = {};\n\t\t\t\t\t\t\tobj[webpackThen] = ${S.expressionFunction("queueFunction(queue, fn), dep.catch(reject)","fn, reject")};`,"return obj;"]),"}"]),"}",`var ret = {};\n\t\t\t\t\tret[webpackThen] = ${S.expressionFunction("completeFunction(fn)","fn")};\n\t\t\t\t\tret[webpackExports] = dep;\n\t\t\t\t\treturn ret;`])})`,"deps")};`,`${E} = ${S.basicFunction("module, body, hasAwait",["var queue = hasAwait && [];","var exports = module.exports;","var currentDeps;","var outerResolve;","var reject;","var isEvaluating = true;","var nested = false;",`var whenAll = ${S.basicFunction("deps, onResolve, onReject",["if (nested) return;","nested = true;","onResolve.r += deps.length;",`deps.map(${S.expressionFunction("dep[webpackThen](onResolve, onReject)","dep, i")});`,"nested = false;"])};`,`var promise = new Promise(${S.basicFunction("resolve, rej",["reject = rej;",`outerResolve = ${S.expressionFunction("resolve(exports), completeQueue(queue), queue = 0")};`])});`,"promise[webpackExports] = exports;",`promise[webpackThen] = ${S.basicFunction("fn, rejectFn",["if (isEvaluating) { return completeFunction(fn); }","if (currentDeps) whenAll(currentDeps, fn, rejectFn);","queueFunction(queue, fn);","promise.catch(rejectFn);"])};`,"module.exports = promise;",`body(${S.basicFunction("deps",["if(!deps) return outerResolve();","currentDeps = wrapDeps(deps);","var fn, result;",`var promise = new Promise(${S.basicFunction("resolve, reject",[`fn = ${S.expressionFunction(`resolve(result = currentDeps.map(${S.returningFunction("d[webpackExports]","d")}))`)};`,"fn.r = 0;","whenAll(currentDeps, fn, reject);"])});`,"return fn.r ? promise : result;"])}).then(outerResolve, reject);`,"isEvaluating = false;"])};`])}}S.exports=AsyncModuleRuntimeModule},31164:(S,E,k)=>{"use strict";const w=k(76150);const N=k(66804);const j=k(58159);const q=k(18161);const{getUndoPath:ee}=k(49197);class AutoPublicPathRuntimeModule extends N{constructor(){super("publicPath",N.STAGE_BASIC)}generate(){const{compilation:S}=this;const{scriptType:E,importMetaName:k,path:N}=S.outputOptions;const te=S.getPath(q.getChunkFilenameTemplate(this.chunk,S.outputOptions),{chunk:this.chunk,contentHashType:"javascript"});const ne=ee(te,N,false);return j.asString(["var scriptUrl;",E==="module"?`if (typeof ${k}.url === "string") scriptUrl = ${k}.url`:j.asString([`if (${w.global}.importScripts) scriptUrl = ${w.global}.location + "";`,`var document = ${w.global}.document;`,"if (!scriptUrl && document) {",j.indent([`if (document.currentScript)`,j.indent(`scriptUrl = document.currentScript.src`),"if (!scriptUrl) {",j.indent(['var scripts = document.getElementsByTagName("script");',"if(scripts.length) scriptUrl = scripts[scripts.length - 1].src"]),"}"]),"}"]),"// When supporting browsers where an automatic publicPath is not supported you must specify an output.publicPath manually via configuration",'// or pass an empty string ("") and set the __webpack_public_path__ variable from your code to use your own logic.','if (!scriptUrl) throw new Error("Automatic publicPath is not supported in this browser");','scriptUrl = scriptUrl.replace(/#.*$/, "").replace(/\\?.*$/, "").replace(/\\/[^\\/]+$/, "/");',!ne?`${w.publicPath} = scriptUrl;`:`${w.publicPath} = scriptUrl + ${JSON.stringify(ne)};`])}}S.exports=AutoPublicPathRuntimeModule},64255:(S,E,k)=>{"use strict";const w=k(76150);const N=k(66804);class ChunkNameRuntimeModule extends N{constructor(S){super("chunkName");this.chunkName=S}generate(){return`${w.chunkName} = ${JSON.stringify(this.chunkName)};`}}S.exports=ChunkNameRuntimeModule},90202:(S,E,k)=>{"use strict";const w=k(76150);const N=k(58159);const j=k(9851);class CompatGetDefaultExportRuntimeModule extends j{constructor(){super("compat get default export")}generate(){const{runtimeTemplate:S}=this.compilation;const E=w.compatGetDefaultExport;return N.asString(["// getDefaultExport function for compatibility with non-harmony modules",`${E} = ${S.basicFunction("module",["var getter = module && module.__esModule ?",N.indent([`${S.returningFunction("module['default']")} :`,`${S.returningFunction("module")};`]),`${w.definePropertyGetters}(getter, { a: getter });`,"return getter;"])};`])}}S.exports=CompatGetDefaultExportRuntimeModule},16710:(S,E,k)=>{"use strict";const w=k(76150);const N=k(66804);class CompatRuntimeModule extends N{constructor(){super("compat",N.STAGE_ATTACH);this.fullHash=true}generate(){const{chunkGraph:S,chunk:E,compilation:k}=this;const{runtimeTemplate:N,mainTemplate:j,moduleTemplates:q,dependencyTemplates:ee}=k;const te=j.hooks.bootstrap.call("",E,k.hash||"XXXX",q.javascript,ee);const ne=j.hooks.localVars.call("",E,k.hash||"XXXX");const ae=j.hooks.requireExtensions.call("",E,k.hash||"XXXX");const _e=S.getTreeRuntimeRequirements(E);let ve="";if(_e.has(w.ensureChunk)){const S=j.hooks.requireEnsure.call("",E,k.hash||"XXXX","chunkId");if(S){ve=`${w.ensureChunkHandlers}.compat = ${N.basicFunction("chunkId, promises",S)};`}}return[te,ne,ve,ae].filter(Boolean).join("\n")}shouldIsolate(){return false}}S.exports=CompatRuntimeModule},3236:(S,E,k)=>{"use strict";const w=k(76150);const N=k(58159);const j=k(9851);class CreateFakeNamespaceObjectRuntimeModule extends j{constructor(){super("create fake namespace object")}generate(){const{runtimeTemplate:S}=this.compilation;const E=w.createFakeNamespaceObject;return N.asString([`var getProto = Object.getPrototypeOf ? ${S.returningFunction("Object.getPrototypeOf(obj)","obj")} : ${S.returningFunction("obj.__proto__","obj")};`,"var leafPrototypes;","// create a fake namespace object","// mode & 1: value is a module id, require it","// mode & 2: merge all properties of value into the ns","// mode & 4: return value when already ns object","// mode & 16: return value when it's Promise-like","// mode & 8|1: behave like require",`${E} = function(value, mode) {`,N.indent([`if(mode & 1) value = this(value);`,`if(mode & 8) return value;`,"if(typeof value === 'object' && value) {",N.indent(["if((mode & 4) && value.__esModule) return value;","if((mode & 16) && typeof value.then === 'function') return value;"]),"}","var ns = Object.create(null);",`${w.makeNamespaceObject}(ns);`,"var def = {};","leafPrototypes = leafPrototypes || [null, getProto({}), getProto([]), getProto(getProto)];","for(var current = mode & 2 && value; typeof current == 'object' && !~leafPrototypes.indexOf(current); current = getProto(current)) {",N.indent([`Object.getOwnPropertyNames(current).forEach(${S.expressionFunction(`def[key] = ${S.returningFunction("value[key]","")}`,"key")});`]),"}",`def['default'] = ${S.returningFunction("value","")};`,`${w.definePropertyGetters}(ns, def);`,"return ns;"]),"};"])}}S.exports=CreateFakeNamespaceObjectRuntimeModule},44160:(S,E,k)=>{"use strict";const w=k(76150);const N=k(58159);const j=k(9851);class CreateScriptUrlRuntimeModule extends j{constructor(){super("trusted types")}generate(){const{compilation:S}=this;const{runtimeTemplate:E,outputOptions:k}=S;const{trustedTypes:j}=k;const q=w.createScriptUrl;if(!j){return N.asString([`${q} = ${E.returningFunction("url","url")};`])}return N.asString(["var policy;",`${q} = ${E.basicFunction("url",["// Create Trusted Type policy if Trusted Types are available and the policy doesn't exist yet.","if (policy === undefined) {",N.indent(["policy = {",N.indent([`createScriptURL: ${E.returningFunction("url","url")}`]),"};",'if (typeof trustedTypes !== "undefined" && trustedTypes.createPolicy) {',N.indent([`policy = trustedTypes.createPolicy(${JSON.stringify(j.policyName)}, policy);`]),"}"]),"}","return policy.createScriptURL(url);"])};`])}}S.exports=CreateScriptUrlRuntimeModule},58957:(S,E,k)=>{"use strict";const w=k(76150);const N=k(58159);const j=k(9851);class DefinePropertyGettersRuntimeModule extends j{constructor(){super("define property getters")}generate(){const{runtimeTemplate:S}=this.compilation;const E=w.definePropertyGetters;return N.asString(["// define getter functions for harmony exports",`${E} = ${S.basicFunction("exports, definition",[`for(var key in definition) {`,N.indent([`if(${w.hasOwnProperty}(definition, key) && !${w.hasOwnProperty}(exports, key)) {`,N.indent(["Object.defineProperty(exports, key, { enumerable: true, get: definition[key] });"]),"}"]),"}"])};`])}}S.exports=DefinePropertyGettersRuntimeModule},59179:(S,E,k)=>{"use strict";const w=k(76150);const N=k(66804);const j=k(58159);class EnsureChunkRuntimeModule extends N{constructor(S){super("ensure chunk");this.runtimeRequirements=S}generate(){const{runtimeTemplate:S}=this.compilation;if(this.runtimeRequirements.has(w.ensureChunkHandlers)){const E=w.ensureChunkHandlers;return j.asString([`${E} = {};`,"// This file contains only the entry chunk.","// The chunk loading function for additional chunks",`${w.ensureChunk} = ${S.basicFunction("chunkId",[`return Promise.all(Object.keys(${E}).reduce(${S.basicFunction("promises, key",[`${E}[key](chunkId, promises);`,"return promises;"])}, []));`])};`])}else{return j.asString(["// The chunk loading function for additional chunks","// Since all referenced chunks are already included","// in this file, this function is empty here.",`${w.ensureChunk} = ${S.returningFunction("Promise.resolve()")};`])}}}S.exports=EnsureChunkRuntimeModule},9609:(S,E,k)=>{"use strict";const w=k(76150);const N=k(66804);const j=k(58159);const{first:q}=k(26221);class GetChunkFilenameRuntimeModule extends N{constructor(S,E,k,w,N){super(`get ${E} chunk filename`);this.contentType=S;this.global=k;this.getFilenameForChunk=w;this.allChunks=N}generate(){const{global:S,chunk:E,chunkGraph:k,contentType:N,getFilenameForChunk:ee,allChunks:te,compilation:ne}=this;const{runtimeTemplate:ae}=ne;const _e=new Map;let ve=0;let Ee;const addChunk=S=>{const E=ee(S);if(E){let k=_e.get(E);if(k===undefined){_e.set(E,k=new Set)}k.add(S);if(typeof E==="string"){if(k.size{const unquotedStringify=E=>{const k=`${E}`;if(k.length>=5&&k===`${S.id}`){return'" + chunkId + "'}const w=JSON.stringify(k);return w.slice(1,w.length-1)};const unquotedStringifyWithLength=S=>E=>unquotedStringify(`${S}`.slice(0,E));const k=typeof E==="function"?JSON.stringify(E({chunk:S,contentHashType:N})):JSON.stringify(E);const j=ne.getPath(k,{hash:`" + ${w.getFullHash}() + "`,hashWithLength:S=>`" + ${w.getFullHash}().slice(0, ${S}) + "`,chunk:{id:unquotedStringify(S.id),hash:unquotedStringify(S.renderedHash),hashWithLength:unquotedStringifyWithLength(S.renderedHash),name:unquotedStringify(S.name||S.id),contentHash:{[N]:unquotedStringify(S.contentHash[N])},contentHashWithLength:{[N]:unquotedStringifyWithLength(S.contentHash[N])}},contentHashType:N});let q=Ce.get(j);if(q===undefined){Ce.set(j,q=new Set)}q.add(S.id)};for(const[S,E]of _e){if(S!==Ee){for(const k of E)addStaticUrl(k,S)}else{for(const S of E)we.add(S)}}const createMap=S=>{const E={};let k=false;let w;let N=0;for(const j of we){const q=S(j);if(q===j.id){k=true}else{E[j.id]=q;w=j.id;N++}}if(N===0)return"chunkId";if(N===1){return k?`(chunkId === ${JSON.stringify(w)} ? ${JSON.stringify(E[w])} : chunkId)`:JSON.stringify(E[w])}return k?`(${JSON.stringify(E)}[chunkId] || chunkId)`:`${JSON.stringify(E)}[chunkId]`};const mapExpr=S=>`" + ${createMap(S)} + "`;const mapExprWithLength=S=>E=>`" + ${createMap((k=>`${S(k)}`.slice(0,E)))} + "`;const Ne=Ee&&ne.getPath(JSON.stringify(Ee),{hash:`" + ${w.getFullHash}() + "`,hashWithLength:S=>`" + ${w.getFullHash}().slice(0, ${S}) + "`,chunk:{id:`" + chunkId + "`,hash:mapExpr((S=>S.renderedHash)),hashWithLength:mapExprWithLength((S=>S.renderedHash)),name:mapExpr((S=>S.name||S.id)),contentHash:{[N]:mapExpr((S=>S.contentHash[N]))},contentHashWithLength:{[N]:mapExprWithLength((S=>S.contentHash[N]))}},contentHashType:N});return j.asString([`// This function allow to reference ${Te.join(" and ")}`,`${S} = ${ae.basicFunction("chunkId",Ce.size>0?["// return url for filenames not based on template",j.asString(Array.from(Ce,(([S,E])=>{const k=E.size===1?`chunkId === ${JSON.stringify(q(E))}`:`{${Array.from(E,(S=>`${JSON.stringify(S)}:1`)).join(",")}}[chunkId]`;return`if (${k}) return ${S};`}))),"// return url for filenames based on template",`return ${Ne};`]:["// return url for filenames based on template",`return ${Ne};`])};`])}}S.exports=GetChunkFilenameRuntimeModule},75948:(S,E,k)=>{"use strict";const w=k(76150);const N=k(66804);class GetFullHashRuntimeModule extends N{constructor(){super("getFullHash");this.fullHash=true}generate(){const{runtimeTemplate:S}=this.compilation;return`${w.getFullHash} = ${S.returningFunction(JSON.stringify(this.compilation.hash||"XXXX"))}`}}S.exports=GetFullHashRuntimeModule},36100:(S,E,k)=>{"use strict";const w=k(76150);const N=k(66804);const j=k(58159);class GetMainFilenameRuntimeModule extends N{constructor(S,E,k){super(`get ${S} filename`);this.global=E;this.filename=k}generate(){const{global:S,filename:E,compilation:k,chunk:N}=this;const{runtimeTemplate:q}=k;const ee=k.getPath(JSON.stringify(E),{hash:`" + ${w.getFullHash}() + "`,hashWithLength:S=>`" + ${w.getFullHash}().slice(0, ${S}) + "`,chunk:N,runtime:N.runtime});return j.asString([`${S} = ${q.returningFunction(ee)};`])}}S.exports=GetMainFilenameRuntimeModule},13376:(S,E,k)=>{"use strict";const w=k(76150);const N=k(66804);const j=k(58159);class GlobalRuntimeModule extends N{constructor(){super("global")}generate(){return j.asString([`${w.global} = (function() {`,j.indent(["if (typeof globalThis === 'object') return globalThis;","try {",j.indent("return this || new Function('return this')();"),"} catch (e) {",j.indent("if (typeof window === 'object') return window;"),"}"]),"})();"])}}S.exports=GlobalRuntimeModule},37522:(S,E,k)=>{"use strict";const w=k(76150);const N=k(66804);const j=k(58159);class HasOwnPropertyRuntimeModule extends N{constructor(){super("hasOwnProperty shorthand")}generate(){const{runtimeTemplate:S}=this.compilation;return j.asString([`${w.hasOwnProperty} = ${S.returningFunction("Object.prototype.hasOwnProperty.call(obj, prop)","obj, prop")}`])}}S.exports=HasOwnPropertyRuntimeModule},9851:(S,E,k)=>{"use strict";const w=k(66804);class HelperRuntimeModule extends w{constructor(S){super(S)}}S.exports=HelperRuntimeModule},67104:(S,E,k)=>{"use strict";const{SyncWaterfallHook:w}=k(92960);const N=k(3080);const j=k(76150);const q=k(58159);const ee=k(9851);const te=new WeakMap;class LoadScriptRuntimeModule extends ee{static getCompilationHooks(S){if(!(S instanceof N)){throw new TypeError("The 'compilation' argument must be an instance of Compilation")}let E=te.get(S);if(E===undefined){E={createScript:new w(["source","chunk"])};te.set(S,E)}return E}constructor(S){super("load script");this._withCreateScriptUrl=S}generate(){const{compilation:S}=this;const{runtimeTemplate:E,outputOptions:k}=S;const{scriptType:w,chunkLoadTimeout:N,crossOriginLoading:ee,uniqueName:te,charset:ne}=k;const ae=j.loadScript;const{createScript:_e}=LoadScriptRuntimeModule.getCompilationHooks(S);const ve=q.asString(["script = document.createElement('script');",w?`script.type = ${JSON.stringify(w)};`:"",ne?"script.charset = 'utf-8';":"",`script.timeout = ${N/1e3};`,`if (${j.scriptNonce}) {`,q.indent(`script.setAttribute("nonce", ${j.scriptNonce});`),"}",te?'script.setAttribute("data-webpack", dataWebpackPrefix + key);':"",`script.src = ${this._withCreateScriptUrl?`${j.createScriptUrl}(url)`:"url"};`,ee?q.asString(["if (script.src.indexOf(window.location.origin + '/') !== 0) {",q.indent(`script.crossOrigin = ${JSON.stringify(ee)};`),"}"]):""]);return q.asString(["var inProgress = {};",te?`var dataWebpackPrefix = ${JSON.stringify(te+":")};`:"// data-webpack is not used as build has no uniqueName","// loadScript function to load a script via script tag",`${ae} = ${E.basicFunction("url, done, key, chunkId",["if(inProgress[url]) { inProgress[url].push(done); return; }","var script, needAttach;","if(key !== undefined) {",q.indent(['var scripts = document.getElementsByTagName("script");',"for(var i = 0; i < scripts.length; i++) {",q.indent(["var s = scripts[i];",`if(s.getAttribute("src") == url${te?' || s.getAttribute("data-webpack") == dataWebpackPrefix + key':""}) { script = s; break; }`]),"}"]),"}","if(!script) {",q.indent(["needAttach = true;",_e.call(ve,this.chunk)]),"}","inProgress[url] = [done];","var onScriptComplete = "+E.basicFunction("prev, event",q.asString(["// avoid mem leaks in IE.","script.onerror = script.onload = null;","clearTimeout(timeout);","var doneFns = inProgress[url];","delete inProgress[url];","script.parentNode && script.parentNode.removeChild(script);",`doneFns && doneFns.forEach(${E.returningFunction("fn(event)","fn")});`,"if(prev) return prev(event);"])),";",`var timeout = setTimeout(onScriptComplete.bind(null, undefined, { type: 'timeout', target: script }), ${N});`,"script.onerror = onScriptComplete.bind(null, script.onerror);","script.onload = onScriptComplete.bind(null, script.onload);","needAttach && document.head.appendChild(script);"])};`])}}S.exports=LoadScriptRuntimeModule},14676:(S,E,k)=>{"use strict";const w=k(76150);const N=k(58159);const j=k(9851);class MakeNamespaceObjectRuntimeModule extends j{constructor(){super("make namespace object")}generate(){const{runtimeTemplate:S}=this.compilation;const E=w.makeNamespaceObject;return N.asString(["// define __esModule on exports",`${E} = ${S.basicFunction("exports",["if(typeof Symbol !== 'undefined' && Symbol.toStringTag) {",N.indent(["Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });"]),"}","Object.defineProperty(exports, '__esModule', { value: true });"])};`])}}S.exports=MakeNamespaceObjectRuntimeModule},8299:(S,E,k)=>{"use strict";const w=k(76150);const N=k(66804);const j=k(58159);class OnChunksLoadedRuntimeModule extends N{constructor(){super("chunk loaded")}generate(){const{compilation:S}=this;const{runtimeTemplate:E}=S;return j.asString(["var deferred = [];",`${w.onChunksLoaded} = ${E.basicFunction("result, chunkIds, fn, priority",["if(chunkIds) {",j.indent(["priority = priority || 0;","for(var i = deferred.length; i > 0 && deferred[i - 1][2] > priority; i--) deferred[i] = deferred[i - 1];","deferred[i] = [chunkIds, fn, priority];","return;"]),"}","var notFulfilled = Infinity;","for (var i = 0; i < deferred.length; i++) {",j.indent([E.destructureArray(["chunkIds","fn","priority"],"deferred[i]"),"var fulfilled = true;","for (var j = 0; j < chunkIds.length; j++) {",j.indent([`if ((priority & 1 === 0 || notFulfilled >= priority) && Object.keys(${w.onChunksLoaded}).every(${E.returningFunction(`${w.onChunksLoaded}[key](chunkIds[j])`,"key")})) {`,j.indent(["chunkIds.splice(j--, 1);"]),"} else {",j.indent(["fulfilled = false;","if(priority < notFulfilled) notFulfilled = priority;"]),"}"]),"}","if(fulfilled) {",j.indent(["deferred.splice(i--, 1)","result = fn();"]),"}"]),"}","return result;"])};`])}}S.exports=OnChunksLoadedRuntimeModule},48977:(S,E,k)=>{"use strict";const w=k(76150);const N=k(66804);class PublicPathRuntimeModule extends N{constructor(S){super("publicPath",N.STAGE_BASIC);this.publicPath=S}generate(){const{compilation:S,publicPath:E}=this;return`${w.publicPath} = ${JSON.stringify(S.getPath(E||"",{hash:S.hash||"XXXX"}))};`}}S.exports=PublicPathRuntimeModule},21355:(S,E,k)=>{"use strict";const w=k(76150);const N=k(58159);const j=k(9851);class RelativeUrlRuntimeModule extends j{constructor(){super("relative url")}generate(){const{runtimeTemplate:S}=this.compilation;return N.asString([`${w.relativeUrl} = function RelativeURL(url) {`,N.indent(['var realUrl = new URL(url, "x:/");',"var values = {};","for (var key in realUrl) values[key] = realUrl[key];","values.href = url;",'values.pathname = url.replace(/[?#].*/, "");','values.origin = values.protocol = "";',`values.toString = values.toJSON = ${S.returningFunction("url")};`,"for (var key in values) Object.defineProperty(this, key, Object.assign({ enumerable: true, configurable: true, value: values[key] }));"]),"};",`${w.relativeUrl}.prototype = URL.prototype;`])}}S.exports=RelativeUrlRuntimeModule},41982:(S,E,k)=>{"use strict";const w=k(76150);const N=k(66804);class RuntimeIdRuntimeModule extends N{constructor(){super("runtimeId")}generate(){const{chunkGraph:S,chunk:E}=this;const k=E.runtime;if(typeof k!=="string")throw new Error("RuntimeIdRuntimeModule must be in a single runtime");const N=S.getRuntimeId(k);return`${w.runtimeId} = ${JSON.stringify(N)};`}}S.exports=RuntimeIdRuntimeModule},64997:(S,E,k)=>{"use strict";const w=k(76150);const N=k(55616);const j=k(34487);class StartupChunkDependenciesPlugin{constructor(S){this.chunkLoading=S.chunkLoading;this.asyncChunkLoading=typeof S.asyncChunkLoading==="boolean"?S.asyncChunkLoading:true}apply(S){S.hooks.thisCompilation.tap("StartupChunkDependenciesPlugin",(S=>{const E=S.outputOptions.chunkLoading;const isEnabledForChunk=S=>{const k=S.getEntryOptions();const w=k&&k.chunkLoading!==undefined?k.chunkLoading:E;return w===this.chunkLoading};S.hooks.additionalTreeRuntimeRequirements.tap("StartupChunkDependenciesPlugin",((E,k,{chunkGraph:j})=>{if(!isEnabledForChunk(E))return;if(j.hasChunkEntryDependentChunks(E)){k.add(w.startup);k.add(w.ensureChunk);k.add(w.ensureChunkIncludeEntries);S.addRuntimeModule(E,new N(this.asyncChunkLoading))}}));S.hooks.runtimeRequirementInTree.for(w.startupEntrypoint).tap("StartupChunkDependenciesPlugin",((E,k)=>{if(!isEnabledForChunk(E))return;k.add(w.require);k.add(w.ensureChunk);k.add(w.ensureChunkIncludeEntries);S.addRuntimeModule(E,new j(this.asyncChunkLoading))}))}))}}S.exports=StartupChunkDependenciesPlugin},55616:(S,E,k)=>{"use strict";const w=k(76150);const N=k(66804);const j=k(58159);class StartupChunkDependenciesRuntimeModule extends N{constructor(S){super("startup chunk dependencies",N.STAGE_TRIGGER);this.asyncChunkLoading=S}generate(){const{chunkGraph:S,chunk:E,compilation:k}=this;const{runtimeTemplate:N}=k;const q=Array.from(S.getChunkEntryDependentChunksIterable(E)).map((S=>S.id));return j.asString([`var next = ${w.startup};`,`${w.startup} = ${N.basicFunction("",!this.asyncChunkLoading?q.map((S=>`${w.ensureChunk}(${JSON.stringify(S)});`)).concat("return next();"):q.length===1?`return ${w.ensureChunk}(${JSON.stringify(q[0])}).then(next);`:q.length>2?[`return Promise.all(${JSON.stringify(q)}.map(${w.ensureChunk}, __webpack_require__)).then(next);`]:["return Promise.all([",j.indent(q.map((S=>`${w.ensureChunk}(${JSON.stringify(S)})`)).join(",\n")),"]).then(next);"])};`])}}S.exports=StartupChunkDependenciesRuntimeModule},34487:(S,E,k)=>{"use strict";const w=k(76150);const N=k(66804);class StartupEntrypointRuntimeModule extends N{constructor(S){super("startup entrypoint");this.asyncChunkLoading=S}generate(){const{compilation:S}=this;const{runtimeTemplate:E}=S;return`${w.startupEntrypoint} = ${E.basicFunction("result, chunkIds, fn",["// arguments: chunkIds, moduleId are deprecated","var moduleId = chunkIds;",`if(!fn) chunkIds = result, fn = ${E.returningFunction(`__webpack_require__(${w.entryModuleId} = moduleId)`)};`,...this.asyncChunkLoading?[`return Promise.all(chunkIds.map(${w.ensureChunk}, __webpack_require__)).then(${E.basicFunction("",["var r = fn();","return r === undefined ? result : r;"])})`]:[`chunkIds.map(${w.ensureChunk}, __webpack_require__)`,"var r = fn();","return r === undefined ? result : r;"]])}`}}S.exports=StartupEntrypointRuntimeModule},76752:(S,E,k)=>{"use strict";const w=k(76150);const N=k(66804);class SystemContextRuntimeModule extends N{constructor(){super("__system_context__")}generate(){return`${w.systemContext} = __system_context__;`}}S.exports=SystemContextRuntimeModule},68495:(S,E,k)=>{"use strict";const w=k(53520);const N=/^data:(?:[^;,]+)?(?:(?:;[^;,]+)*?)(;base64)?,(.*)$/i;const j=/^data:([^;,]+)?(?:(?:;[^;,]+)*?)(?:;(base64))?,/i;const decodeDataURI=S=>{const E=N.exec(S);if(!E)return null;const k=E[1];const w=E[2];return k?Buffer.from(w,"base64"):Buffer.from(decodeURIComponent(w),"ascii")};class DataUriPlugin{apply(S){S.hooks.compilation.tap("DataUriPlugin",((S,{normalModuleFactory:E})=>{E.hooks.resolveForScheme.for("data").tap("DataUriPlugin",(S=>{const E=j.exec(S.resource);if(E){S.data.mimetype=E[1]||"";S.data.encoding=E[2]||false}}));w.getCompilationHooks(S).readResourceForScheme.for("data").tap("DataUriPlugin",(S=>decodeDataURI(S)))}))}}S.exports=DataUriPlugin},99184:(S,E,k)=>{"use strict";const{URL:w,fileURLToPath:N}=k(78835);class FileUriPlugin{apply(S){S.hooks.compilation.tap("FileUriPlugin",((S,{normalModuleFactory:E})=>{E.hooks.resolveForScheme.for("file").tap("FileUriPlugin",(S=>{const E=new w(S.resource);const k=N(E);const j=E.search;const q=E.hash;S.path=k;S.query=j;S.fragment=q;S.resource=k+j+q;return true}))}))}}S.exports=FileUriPlugin},7201:(S,E,k)=>{"use strict";const{URL:w}=k(78835);const N=k(53520);class HttpUriPlugin{apply(S){S.hooks.compilation.tap("HttpUriPlugin",((S,{normalModuleFactory:E})=>{E.hooks.resolveForScheme.for("http").tap("HttpUriPlugin",(S=>{const E=new w(S.resource);S.path=E.origin+E.pathname;S.query=E.search;S.fragment=E.hash;return true}));N.getCompilationHooks(S).readResourceForScheme.for("http").tapAsync("HttpUriPlugin",((S,E,N)=>k(98605).get(new w(S),(S=>{if(S.statusCode!==200){S.destroy();return N(new Error(`http request status code = ${S.statusCode}`))}const E=[];S.on("data",(S=>{E.push(S)}));S.on("end",(()=>{if(!S.complete){return N(new Error("http request was terminated"))}N(null,Buffer.concat(E))}))}))))}))}}S.exports=HttpUriPlugin},1161:(S,E,k)=>{"use strict";const{URL:w}=k(78835);const N=k(53520);class HttpsUriPlugin{apply(S){S.hooks.compilation.tap("HttpsUriPlugin",((S,{normalModuleFactory:E})=>{E.hooks.resolveForScheme.for("https").tap("HttpsUriPlugin",(S=>{const E=new w(S.resource);S.path=E.origin+E.pathname;S.query=E.search;S.fragment=E.hash;return true}));N.getCompilationHooks(S).readResourceForScheme.for("https").tapAsync("HttpsUriPlugin",((S,E,N)=>k(57211).get(new w(S),(S=>{if(S.statusCode!==200){S.destroy();return N(new Error(`https request status code = ${S.statusCode}`))}const E=[];S.on("data",(S=>{E.push(S)}));S.on("end",(()=>{if(!S.complete){return N(new Error("https request was terminated"))}N(null,Buffer.concat(E))}))}))))}))}}S.exports=HttpsUriPlugin},22324:S=>{"use strict";class ArraySerializer{serialize(S,{write:E}){E(S.length);for(const k of S)E(k)}deserialize({read:S}){const E=S();const k=[];for(let w=0;w{"use strict";const w=k(91671);const N=k(43065);const j=11;const q=12;const ee=13;const te=14;const ne=16;const ae=17;const _e=18;const ve=19;const Ee=20;const Te=21;const Ce=22;const we=23;const Ne=24;const Ie=30;const Fe=31;const Oe=96;const Me=64;const Re=32;const Le=128;const Be=224;const je=31;const ze=127;const Ue=1;const We=1;const $e=4;const qe=8;const Ve=Symbol("MEASURE_START_OPERATION");const He=Symbol("MEASURE_END_OPERATION");const identifyNumber=S=>{if(S===(S|0)){if(S<=127&&S>=-128)return 0;if(S<=2147483647&&S>=-2147483648)return 1}return 2};class BinaryMiddleware extends N{serialize(S,E){return this._serialize(S,E)}_serializeLazy(S,E){return N.serializeLazy(S,(S=>this._serialize(S,E)))}_serialize(S,E){let k=null;let w=null;let Be=0;let je=[];let ze=0;const allocate=S=>{if(k!==null){if(k.length-Be>=S)return;flush()}if(w&&w.length>=S){k=w;w=null}else{k=Buffer.allocUnsafe(Math.max(S,Math.min(Math.max(ze,1024),16384)))}};const flush=()=>{if(k!==null){je.push(Buffer.from(k.buffer,k.byteOffset,Be));if(!w||w.length{k.writeUInt8(S,Be++)};const writeU32=S=>{k.writeUInt32LE(S,Be);Be+=4};const Ge=[];const measureStart=()=>{Ge.push(je.length,Be)};const measureEnd=()=>{const S=Ge.pop();const E=Ge.pop();let k=Be-S;for(let S=E;S{for(let w=0;w0&&(S=E[E.length-1])!==0){const w=4294967295-S;if(w>=k.length){E[E.length-1]+=k.length}else{E.push(k.length-w);E[E.length-2]=4294967295}}else{E.push(k.length)}}allocate(5+E.length*4);writeU8(j);writeU32(E.length);for(const S of E){writeU32(S)}flush();for(const E of S){je.push(E)}}break}case"string":{const S=Buffer.byteLength(ze);if(S>=128||S!==ze.length){allocate(S+Ue+$e);writeU8(Ie);writeU32(S);k.write(ze,Be)}else{allocate(S+Ue);writeU8(Le|S);k.write(ze,Be,"latin1")}Be+=S;break}case"number":{const E=identifyNumber(ze);if(E===0&&ze>=0&&ze<=10){allocate(We);writeU8(ze);break}let N=1;for(;N<32&&w+N0){k.writeInt8(S[w],Be);Be+=We;N--;w++}break;case 1:allocate(Ue+$e*N);writeU8(Me|N-1);while(N>0){k.writeInt32LE(S[w],Be);Be+=$e;N--;w++}break;case 2:allocate(Ue+qe*N);writeU8(Re|N-1);while(N>0){k.writeDoubleLE(S[w],Be);Be+=qe;N--;w++}break}w--;break}case"boolean":{let E=ze===true?1:0;const k=[];let N=1;let j;for(j=1;j<4294967295&&w+jthis._deserialize(S,E))),this,undefined,S)}_deserializeLazy(S,E){return N.deserializeLazy(S,(S=>this._deserialize(S,E)))}_deserialize(S,E){let k=0;let w=S[0];let N=Buffer.isBuffer(w);let Ue=0;const Ve=E.retainedBuffer||(S=>S);const checkOverflow=()=>{if(Ue>=w.length){Ue=0;k++;w=kN&&S+Ue<=w.length;const ensureBuffer=()=>{if(!N){throw new Error(w===null?"Unexpected end of stream":"Unexpected lazy element in stream")}};const read=E=>{ensureBuffer();const j=w.length-Ue;if(j{ensureBuffer();const E=w.length-Ue;if(E{ensureBuffer();const S=w.readUInt8(Ue);Ue+=We;checkOverflow();return S};const readU32=()=>read($e).readUInt32LE(0);const readBits=(S,E)=>{let k=1;while(E!==0){Ge.push((S&k)!==0);k=k<<1;E--}};const He=Array.from({length:256}).map(((He,Je)=>{switch(Je){case j:return()=>{const j=readU32();const q=Array.from({length:j}).map((()=>readU32()));const ee=[];for(let E of q){if(E===0){if(typeof w!=="function"){throw new Error("Unexpected non-lazy element in stream")}ee.push(w);k++;w=k0)}}Ge.push(this._createLazyDeserialized(ee,E))};case Fe:return()=>{const S=readU32();Ge.push(Ve(read(S)))};case q:return()=>Ge.push(true);case ee:return()=>Ge.push(false);case _e:return()=>Ge.push(null,null,null);case ae:return()=>Ge.push(null,null);case ne:return()=>Ge.push(null);case we:return()=>Ge.push(null,true);case Ne:return()=>Ge.push(null,false);case Te:return()=>{if(N){Ge.push(null,w.readInt8(Ue));Ue+=We;checkOverflow()}else{Ge.push(null,read(We).readInt8(0))}};case Ce:return()=>{Ge.push(null);if(isInCurrentBuffer($e)){Ge.push(w.readInt32LE(Ue));Ue+=$e;checkOverflow()}else{Ge.push(read($e).readInt32LE(0))}};case ve:return()=>{const S=readU8()+4;for(let E=0;E{const S=readU32()+260;for(let E=0;E{const S=readU8();if((S&240)===0){readBits(S,3)}else if((S&224)===0){readBits(S,4)}else if((S&192)===0){readBits(S,5)}else if((S&128)===0){readBits(S,6)}else if(S!==255){let E=(S&127)+7;while(E>8){readBits(readU8(),8);E-=8}readBits(readU8(),E)}else{let S=readU32();while(S>8){readBits(readU8(),8);S-=8}readBits(readU8(),S)}};case Ie:return()=>{const S=readU32();if(isInCurrentBuffer(S)&&Ue+S<2147483647){Ge.push(w.toString(undefined,Ue,Ue+S));Ue+=S;checkOverflow()}else{Ge.push(read(S).toString())}};case Le:return()=>Ge.push("");case Le|1:return()=>{if(N&&Ue<2147483646){Ge.push(w.toString("latin1",Ue,Ue+1));Ue++;checkOverflow()}else{Ge.push(read(1).toString("latin1"))}};case Oe:return()=>{if(N){Ge.push(w.readInt8(Ue));Ue++;checkOverflow()}else{Ge.push(read(1).readInt8(0))}};default:if(Je<=10){return()=>Ge.push(Je)}else if((Je&Le)===Le){const S=Je&ze;return()=>{if(isInCurrentBuffer(S)&&Ue+S<2147483647){Ge.push(w.toString("latin1",Ue,Ue+S));Ue+=S;checkOverflow()}else{Ge.push(read(S).toString("latin1"))}}}else if((Je&Be)===Re){const S=(Je&je)+1;return()=>{const E=qe*S;if(isInCurrentBuffer(E)){for(let E=0;E{const E=$e*S;if(isInCurrentBuffer(E)){for(let E=0;E{const E=We*S;if(isInCurrentBuffer(E)){for(let E=0;E{throw new Error(`Unexpected header byte 0x${Je.toString(16)}`)}}}}));let Ge=[];while(w!==null){if(typeof w==="function"){Ge.push(this._deserializeLazy(w,E));k++;w=k{"use strict";class DateObjectSerializer{serialize(S,{write:E}){E(S.getTime())}deserialize({read:S}){return new Date(S())}}S.exports=DateObjectSerializer},12020:S=>{"use strict";class ErrorObjectSerializer{constructor(S){this.Type=S}serialize(S,{write:E}){E(S.message);E(S.stack)}deserialize({read:S}){const E=new this.Type;E.message=S();E.stack=S();return E}}S.exports=ErrorObjectSerializer},13829:(S,E,k)=>{"use strict";const{constants:w}=k(64293);const{pipeline:N}=k(92413);const{createBrotliCompress:j,createBrotliDecompress:q,createGzip:ee,createGunzip:te,constants:ne}=k(78761);const ae=k(35891);const{dirname:_e,join:ve,mkdirp:Ee}=k(95396);const Te=k(91671);const Ce=k(43065);const we=23294071;const hashForName=S=>{const E=ae("md4");for(const k of S)E.update(k);return E.digest("hex")};const Ne=100*1024*1024;const Ie=100*1024*1024;const Fe=Buffer.prototype.writeBigUInt64LE?(S,E,k)=>{S.writeBigUInt64LE(BigInt(E),k)}:(S,E,k)=>{const w=E%4294967296;const N=(E-w)/4294967296;S.writeUInt32LE(w,k);S.writeUInt32LE(N,k+4)};const Oe=Buffer.prototype.readBigUInt64LE?(S,E)=>Number(S.readBigUInt64LE(E)):(S,E)=>{const k=S.readUInt32LE(E);const w=S.readUInt32LE(E+4);return w*4294967296+k};const serialize=async(S,E,k,w)=>{const N=[];const j=new WeakMap;let q=undefined;for(const k of await E){if(typeof k==="function"){if(!Ce.isLazy(k))throw new Error("Unexpected function");if(!Ce.isLazy(k,S)){throw new Error("Unexpected lazy value with non-this target (can't pass through lazy values)")}q=undefined;const E=Ce.getLazySerializedValue(k);if(E){if(typeof E==="function"){throw new Error("Unexpected lazy value with non-this target (can't pass through lazy values)")}else{N.push(E)}}else{const E=k();if(E){const q=Ce.getLazyOptions(k);N.push(serialize(S,E,q&&q.name||true,w).then((S=>{k.options.size=S.size;j.set(S,k);return S})))}else{throw new Error("Unexpected falsy value returned by lazy value function")}}}else if(k){if(q){q.push(k)}else{q=[k];N.push(q)}}else{throw new Error("Unexpected falsy value in items array")}}const ee=[];const te=(await Promise.all(N)).map((S=>{if(Array.isArray(S)||Buffer.isBuffer(S))return S;ee.push(S.backgroundJob);const E=S.name;const k=Buffer.from(E);const w=Buffer.allocUnsafe(8+k.length);Fe(w,S.size,0);k.copy(w,8,0);const N=j.get(S);Ce.setLazySerializedValue(N,w);return w}));const ne=[];for(const S of te){if(Array.isArray(S)){let E=0;for(const k of S)E+=k.length;while(E>2147483647){ne.push(2147483647);E-=2147483647}ne.push(E)}else if(S){ne.push(-S.length)}else{throw new Error("Unexpected falsy value in resolved data "+S)}}const ae=Buffer.allocUnsafe(8+ne.length*4);ae.writeUInt32LE(we,0);ae.writeUInt32LE(ne.length,4);for(let S=0;S{const w=await k(E);if(w.length===0)throw new Error("Empty file "+E);let N=0;let j=w[0];let q=j.length;let ee=0;if(q===0)throw new Error("Empty file "+E);const nextContent=()=>{N++;j=w[N];q=j.length;ee=0};const ensureData=S=>{if(ee===q){nextContent()}while(q-eek){te.push(w[S].slice(0,k));w[S]=w[S].slice(k);k=0;break}else{te.push(w[S]);N=S;k-=E}}if(k>0)throw new Error("Unexpected end of data");j=Buffer.concat(te,S);q=S;ee=0}};const readUInt32LE=()=>{ensureData(4);const S=j.readUInt32LE(ee);ee+=4;return S};const readInt32LE=()=>{ensureData(4);const S=j.readInt32LE(ee);ee+=4;return S};const readSlice=S=>{ensureData(S);if(ee===0&&q===S){const E=j;if(N+1=0;if(_e&&E){ae[ae.length-1]+=S}else{ae.push(S);_e=E}}const ve=[];for(let E of ae){if(E<0){const w=readSlice(-E);const N=Number(Oe(w,0));const j=w.slice(8);const q=j.toString();ve.push(Ce.createLazy(Te((()=>deserialize(S,q,k))),S,{name:q,size:N},w))}else{if(ee===q){nextContent()}else if(ee!==0){if(E<=q-ee){ve.push(Buffer.from(j.buffer,j.byteOffset+ee,E));ee+=E;E=0}else{const S=q-ee;ve.push(Buffer.from(j.buffer,j.byteOffset+ee,S));E-=S;ee=q}}else{if(E>=q){ve.push(j);E-=q;ee=q}else{ve.push(Buffer.from(j.buffer,j.byteOffset,E));ee+=E;E=0}}while(E>0){nextContent();if(E>=q){ve.push(j);E-=q;ee=q}else{ve.push(Buffer.from(j.buffer,j.byteOffset,E));ee+=E;E=0}}}}return ve};class FileMiddleware extends Ce{constructor(S){super();this.fs=S}serialize(S,E){const{filename:k,extension:w=""}=E;return new Promise(((E,q)=>{Ee(this.fs,_e(this.fs,k),(te=>{if(te)return q(te);const ae=new Set;const writeFile=async(S,E)=>{const q=S?ve(this.fs,k,`../${S}${w}`):k;await new Promise(((S,k)=>{let w=this.fs.createWriteStream(q+"_");let te;if(q.endsWith(".gz")){te=ee({chunkSize:Ne,level:ne.Z_BEST_SPEED})}else if(q.endsWith(".br")){te=j({chunkSize:Ne,params:{[ne.BROTLI_PARAM_MODE]:ne.BROTLI_MODE_TEXT,[ne.BROTLI_PARAM_QUALITY]:2,[ne.BROTLI_PARAM_DISABLE_LITERAL_CONTEXT_MODELING]:true,[ne.BROTLI_PARAM_SIZE_HINT]:E.reduce(((S,E)=>S+E.length),0)}})}if(te){N(te,w,k);w=te;w.on("finish",(()=>S()))}else{w.on("error",(S=>k(S)));w.on("finish",(()=>S()))}for(const S of E)w.write(S);w.end()}));if(S)ae.add(q)};E(serialize(this,S,false,writeFile).then((async({backgroundJob:S})=>{await S;await new Promise((S=>this.fs.rename(k,k+".old",(E=>{S()}))));await Promise.all(Array.from(ae,(S=>new Promise(((E,k)=>{this.fs.rename(S+"_",S,(S=>{if(S)return k(S);E()}))})))));await new Promise((S=>{this.fs.rename(k+"_",k,(E=>{if(E)return q(E);S()}))}));return true})))}))}))}deserialize(S,E){const{filename:k,extension:N=""}=E;const readFile=S=>new Promise(((E,j)=>{const ee=S?ve(this.fs,k,`../${S}${N}`):k;this.fs.stat(ee,((S,k)=>{if(S){j(S);return}let N=k.size;let ne;let ae;const _e=[];let ve;if(ee.endsWith(".gz")){ve=te({chunkSize:Ie})}else if(ee.endsWith(".br")){ve=q({chunkSize:Ie})}if(ve){let S,k;E(Promise.all([new Promise(((E,w)=>{S=E;k=w})),new Promise(((S,E)=>{ve.on("data",(S=>_e.push(S)));ve.on("end",(()=>S()));ve.on("error",(S=>E(S)))}))]).then((()=>_e)));E=S;j=k}this.fs.open(ee,"r",((S,k)=>{if(S){j(S);return}const read=()=>{if(ne===undefined){ne=Buffer.allocUnsafeSlow(Math.min(w.MAX_LENGTH,N,ve?Ie:Infinity));ae=0}let S=ne;let q=ae;let ee=ne.length-ae;if(q>2147483647){S=ne.slice(q);q=0}if(ee>2147483647){ee=2147483647}this.fs.read(k,S,q,ee,null,((S,w)=>{if(S){this.fs.close(k,(()=>{j(S)}));return}ae+=w;N-=w;if(ae===ne.length){if(ve){ve.write(ne)}else{_e.push(ne)}ne=undefined;if(N===0){if(ve){ve.end()}this.fs.close(k,(S=>{if(S){j(S);return}E(_e)}));return}}read()}))};read()}))}))}));return deserialize(this,false,readFile)}}S.exports=FileMiddleware},58461:S=>{"use strict";class MapObjectSerializer{serialize(S,{write:E}){E(S.size);for(const k of S.keys()){E(k)}for(const k of S.values()){E(k)}}deserialize({read:S}){let E=S();const k=new Map;const w=[];for(let k=0;k{"use strict";class NullPrototypeObjectSerializer{serialize(S,{write:E}){const k=Object.keys(S);for(const S of k){E(S)}E(null);for(const w of k){E(S[w])}}deserialize({read:S}){const E=Object.create(null);const k=[];let w=S();while(w!==null){k.push(w);w=S()}for(const w of k){E[w]=S()}return E}}S.exports=NullPrototypeObjectSerializer},30991:(S,E,k)=>{"use strict";const w=k(35891);const N=k(22324);const j=k(93524);const q=k(12020);const ee=k(58461);const te=k(78176);const ne=k(11900);const ae=k(46690);const _e=k(43065);const ve=k(25402);const setSetSize=(S,E)=>{let k=0;for(const w of S){if(k++>=E){S.delete(w)}}};const setMapSize=(S,E)=>{let k=0;for(const w of S.keys()){if(k++>=E){S.delete(w)}}};const toHash=S=>{const E=w("md4");E.update(S);return E.digest("latin1")};const Ee=null;const Te=null;const Ce=true;const we=false;const Ne=2;const Ie=new Map;const Fe=new Map;const Oe=new Set;const Me={};const Re=new Map;Re.set(Object,new ne);Re.set(Array,new N);Re.set(null,new te);Re.set(Map,new ee);Re.set(Set,new ve);Re.set(Date,new j);Re.set(RegExp,new ae);Re.set(Error,new q(Error));Re.set(EvalError,new q(EvalError));Re.set(RangeError,new q(RangeError));Re.set(ReferenceError,new q(ReferenceError));Re.set(SyntaxError,new q(SyntaxError));Re.set(TypeError,new q(TypeError));if(E.constructor!==Object){const S=E.constructor;const k=S.constructor;for(const[S,E]of Array.from(Re)){if(S){const w=new k(`return ${S.name};`)();Re.set(w,E)}}}{let S=1;for(const[E,k]of Re){Ie.set(E,{request:"",name:S++,serializer:k})}}for(const{request:S,name:E,serializer:k}of Ie.values()){Fe.set(`${S}/${E}`,k)}const Le=new Map;class ObjectMiddleware extends _e{constructor(S){super();this.extendContext=S}static registerLoader(S,E){Le.set(S,E)}static register(S,E,k,w){const N=E+"/"+k;if(Ie.has(S)){throw new Error(`ObjectMiddleware.register: serializer for ${S.name} is already registered`)}if(Fe.has(N)){throw new Error(`ObjectMiddleware.register: serializer for ${N} is already registered`)}Ie.set(S,{request:E,name:k,serializer:w});Fe.set(N,w)}static registerNotSerializable(S){if(Ie.has(S)){throw new Error(`ObjectMiddleware.registerNotSerializable: serializer for ${S.name} is already registered`)}Ie.set(S,Me)}static getSerializerFor(S){const E=Object.getPrototypeOf(S);let k;if(E===null){k=null}else{k=E.constructor;if(!k){throw new Error("Serialization of objects with prototype without valid constructor property not possible")}}const w=Ie.get(k);if(!w)throw new Error(`No serializer registered for ${k.name}`);if(w===Me)throw Me;return w}static getDeserializerFor(S,E){const k=S+"/"+E;const w=Fe.get(k);if(w===undefined){throw new Error(`No deserializer registered for ${k}`)}return w}static _getDeserializerForWithoutError(S,E){const k=S+"/"+E;const w=Fe.get(k);return w}serialize(S,E){let k=[Ne];let w=0;let N=new Map;const addReferenceable=S=>{N.set(S,w++)};let j=new Map;const dedupeBuffer=S=>{const E=S.length;const k=j.get(E);if(k===undefined){j.set(E,S);return S}if(Buffer.isBuffer(k)){if(E<32){if(S.equals(k)){return k}j.set(E,[k,S]);return S}else{const w=toHash(k);const N=new Map;N.set(w,k);j.set(E,N);const q=toHash(S);if(w===q){return k}return S}}else if(Array.isArray(k)){if(k.length<16){for(const E of k){if(S.equals(E)){return E}}k.push(S);return S}else{const w=new Map;const N=toHash(S);let q;for(const S of k){const E=toHash(S);w.set(E,S);if(q===undefined&&E===N)q=S}j.set(E,w);if(q===undefined){w.set(N,S);return S}else{return q}}}else{const E=toHash(S);const w=k.get(E);if(w!==undefined){return w}k.set(E,S);return S}};let q=0;let ee=new Map;const te=new Set;const stackToString=S=>{const E=Array.from(te);E.push(S);return E.map((S=>{if(typeof S==="string"){if(S.length>100){return`String ${JSON.stringify(S.slice(0,100)).slice(0,-1)}..."`}return`String ${JSON.stringify(S)}`}try{const{request:E,name:k}=ObjectMiddleware.getSerializerFor(S);if(E){return`${E}${k?`.${k}`:""}`}}catch(S){}if(typeof S==="object"&&S!==null){if(S.constructor){if(S.constructor===Object)return`Object { ${Object.keys(S).join(", ")} }`;if(S.constructor===Map)return`Map { ${S.size} items }`;if(S.constructor===Array)return`Array { ${S.length} items }`;if(S.constructor===Set)return`Set { ${S.size} items }`;if(S.constructor===RegExp)return S.toString();return`${S.constructor.name}`}return`Object [null prototype] { ${Object.keys(S).join(", ")} }`}try{return`${S}`}catch(S){return`(${S.message})`}})).join(" -> ")};let ne;let ae={write(S,E){try{process(S)}catch(E){if(E!==Me){if(ne===undefined)ne=new WeakSet;if(!ne.has(E)){E.message+=`\nwhile serializing ${stackToString(S)}`;ne.add(E)}}throw E}},setCircularReference(S){addReferenceable(S)},snapshot(){return{length:k.length,cycleStackSize:te.size,referenceableSize:N.size,currentPos:w,objectTypeLookupSize:ee.size,currentPosTypeLookup:q}},rollback(S){k.length=S.length;setSetSize(te,S.cycleStackSize);setMapSize(N,S.referenceableSize);w=S.currentPos;setMapSize(ee,S.objectTypeLookupSize);q=S.currentPosTypeLookup},...E};this.extendContext(ae);const process=S=>{if(Buffer.isBuffer(S)){const E=N.get(S);if(E!==undefined){k.push(Ee,E-w);return}const j=dedupeBuffer(S);if(j!==S){const E=N.get(j);if(E!==undefined){N.set(S,E);k.push(Ee,E-w);return}S=j}addReferenceable(S);k.push(S)}else if(S===Ee){k.push(Ee,Te)}else if(typeof S==="object"){const E=N.get(S);if(E!==undefined){k.push(Ee,E-w);return}if(te.has(S)){throw new Error(`This is a circular references. To serialize circular references use 'setCircularReference' somewhere in the circle during serialize and deserialize.`)}const{request:j,name:ne,serializer:_e}=ObjectMiddleware.getSerializerFor(S);const ve=`${j}/${ne}`;const Te=ee.get(ve);if(Te===undefined){ee.set(ve,q++);k.push(Ee,j,ne)}else{k.push(Ee,q-Te)}te.add(S);try{_e.serialize(S,ae)}finally{te.delete(S)}k.push(Ee,Ce);addReferenceable(S)}else if(typeof S==="string"){if(S.length>1){const E=N.get(S);if(E!==undefined){k.push(Ee,E-w);return}addReferenceable(S)}if(S.length>102400&&E.logger){E.logger.warn(`Serializing big strings (${Math.round(S.length/1024)}kiB) impacts deserialization performance (consider using Buffer instead and decode when needed)`)}k.push(S)}else if(typeof S==="function"){if(!_e.isLazy(S))throw new Error("Unexpected function "+S);const w=_e.getLazySerializedValue(S);if(w!==undefined){if(typeof w==="function"){k.push(w)}else{throw new Error("Not implemented")}}else if(_e.isLazy(S,this)){throw new Error("Not implemented")}else{k.push(_e.serializeLazy(S,(S=>this.serialize([S],E))))}}else if(S===undefined){k.push(Ee,we)}else{k.push(S)}};try{for(const E of S){process(E)}return k}catch(S){if(S===Me)return null;throw S}finally{S=k=N=j=ee=ae=undefined}}deserialize(S,E){let k=0;const read=()=>{if(k>=S.length)throw new Error("Unexpected end of stream");return S[k++]};if(read()!==Ne)throw new Error("Version mismatch, serializer changed");let w=0;let N=[];const addReferenceable=S=>{N.push(S);w++};let j=0;let q=[];let ee=[];let te={read(){return decodeValue()},setCircularReference(S){addReferenceable(S)},...E};this.extendContext(te);const decodeValue=()=>{const S=read();if(S===Ee){const S=read();if(S===Te){return Ee}else if(S===we){return undefined}else if(S===Ce){throw new Error(`Unexpected end of object at position ${k-1}`)}else{const E=S;let ee;if(typeof E==="number"){if(E<0){return N[w+E]}ee=q[j-E]}else{if(typeof E!=="string"){throw new Error(`Unexpected type (${typeof E}) of request `+`at position ${k-1}`)}const S=read();ee=ObjectMiddleware._getDeserializerForWithoutError(E,S);if(ee===undefined){if(E&&!Oe.has(E)){let S=false;for(const[k,w]of Le){if(k.test(E)){if(w(E)){S=true;break}}}if(!S){require(E)}Oe.add(E)}ee=ObjectMiddleware.getDeserializerFor(E,S)}q.push(ee);j++}try{const S=ee.deserialize(te);const E=read();if(E!==Ee){throw new Error("Expected end of object")}const k=read();if(k!==Ce){throw new Error("Expected end of object")}addReferenceable(S);return S}catch(S){let E;for(const S of Ie){if(S[1].serializer===ee){E=S;break}}const k=!E?"unknown":!E[1].request?E[0].name:E[1].name?`${E[1].request} ${E[1].name}`:E[1].request;S.message+=`\n(during deserialization of ${k})`;throw S}}}else if(typeof S==="string"){if(S.length>1){addReferenceable(S)}return S}else if(Buffer.isBuffer(S)){addReferenceable(S);return S}else if(typeof S==="function"){return _e.deserializeLazy(S,(S=>this.deserialize(S,E)[0]))}else{return S}};try{while(k{"use strict";const E=new WeakMap;class ObjectStructure{constructor(){this.keys=undefined;this.children=undefined}getKeys(S){if(this.keys===undefined)this.keys=S;return this.keys}key(S){if(this.children===undefined)this.children=new Map;const E=this.children.get(S);if(E!==undefined)return E;const k=new ObjectStructure;this.children.set(S,k);return k}}const getCachedKeys=(S,k)=>{let w=E.get(k);if(w===undefined){w=new ObjectStructure;E.set(k,w)}let N=w;for(const E of S){N=N.key(E)}return N.getKeys(S)};class PlainObjectSerializer{serialize(S,{write:E}){const k=Object.keys(S);if(k.length>128){E(k);for(const w of k){E(S[w])}}else if(k.length>1){E(getCachedKeys(k,E));for(const w of k){E(S[w])}}else if(k.length===1){const w=k[0];E(w);E(S[w])}else{E(null)}}deserialize({read:S}){const E=S();const k={};if(Array.isArray(E)){for(const w of E){k[w]=S()}}else if(E!==null){k[E]=S()}return k}}S.exports=PlainObjectSerializer},46690:S=>{"use strict";class RegExpObjectSerializer{serialize(S,{write:E}){E(S.source);E(S.flags)}deserialize({read:S}){return new RegExp(S(),S())}}S.exports=RegExpObjectSerializer},15261:S=>{"use strict";class Serializer{constructor(S,E){this.serializeMiddlewares=S.slice();this.deserializeMiddlewares=S.slice().reverse();this.context=E}serialize(S,E){const k={...E,...this.context};let w=S;for(const S of this.serializeMiddlewares){if(w&&typeof w.then==="function"){w=w.then((k=>k&&S.serialize(k,E)))}else if(w){try{w=S.serialize(w,k)}catch(S){w=Promise.reject(S)}}else break}return w}deserialize(S,E){const k={...E,...this.context};let w=S;for(const S of this.deserializeMiddlewares){if(w&&typeof w.then==="function"){w=w.then((k=>S.deserialize(k,E)))}else{w=S.deserialize(w,k)}}return w}}S.exports=Serializer},43065:(S,E,k)=>{"use strict";const w=k(91671);const N=Symbol("lazy serialization target");const j=Symbol("lazy serialization data");class SerializerMiddleware{serialize(S,E){const w=k(75884);throw new w}deserialize(S,E){const w=k(75884);throw new w}static createLazy(S,E,k={},w){if(SerializerMiddleware.isLazy(S,E))return S;const q=typeof S==="function"?S:()=>S;q[N]=E;q.options=k;q[j]=w;return q}static isLazy(S,E){if(typeof S!=="function")return false;const k=S[N];return E?k===E:!!k}static getLazyOptions(S){if(typeof S!=="function")return undefined;return S.options}static getLazySerializedValue(S){if(typeof S!=="function")return undefined;return S[j]}static setLazySerializedValue(S,E){S[j]=E}static serializeLazy(S,E){const k=w((()=>{const k=S();if(k&&typeof k.then==="function"){return k.then((S=>S&&E(S)))}return E(k)}));k[N]=S[N];k.options=S.options;S[j]=k;return k}static deserializeLazy(S,E){const k=w((()=>{const k=S();if(k&&typeof k.then==="function"){return k.then((S=>E(S)))}return E(k)}));k[N]=S[N];k.options=S.options;k[j]=S;return k}static unMemoizeLazy(S){if(!SerializerMiddleware.isLazy(S))return S;const fn=()=>{throw new Error("A lazy value that has been unmemorized can't be called again")};fn[j]=SerializerMiddleware.unMemoizeLazy(S[j]);fn[N]=S[N];fn.options=S.options;return fn}}S.exports=SerializerMiddleware},25402:S=>{"use strict";class SetObjectSerializer{serialize(S,{write:E}){E(S.size);for(const k of S){E(k)}}deserialize({read:S}){let E=S();const k=new Set;for(let w=0;w{"use strict";const w=k(43065);class SingleItemMiddleware extends w{serialize(S,E){return[S]}deserialize(S,E){return S[0]}}S.exports=SingleItemMiddleware},86827:(S,E,k)=>{"use strict";const w=k(79983);const N=k(56202);class ConsumeSharedFallbackDependency extends w{constructor(S){super(S)}get type(){return"consume shared fallback"}get category(){return"esm"}}N(ConsumeSharedFallbackDependency,"webpack/lib/sharing/ConsumeSharedFallbackDependency");S.exports=ConsumeSharedFallbackDependency},21606:(S,E,k)=>{"use strict";const{RawSource:w}=k(48135);const N=k(98221);const j=k(53453);const q=k(76150);const ee=k(56202);const{rangeToString:te,stringifyHoley:ne}=k(9293);const ae=k(86827);const _e=new Set(["consume-shared"]);class ConsumeSharedModule extends j{constructor(S,E){super("consume-shared-module",S);this.options=E}identifier(){const{shareKey:S,shareScope:E,importResolved:k,requiredVersion:w,strictVersion:N,singleton:j,eager:q}=this.options;return`consume-shared-module|${E}|${S}|${w&&te(w)}|${N}|${k}|${j}|${q}`}readableIdentifier(S){const{shareKey:E,shareScope:k,importResolved:w,requiredVersion:N,strictVersion:j,singleton:q,eager:ee}=this.options;return`consume shared module (${k}) ${E}@${N?te(N):"*"}${j?" (strict)":""}${q?" (singleton)":""}${w?` (fallback: ${S.shorten(w)})`:""}${ee?" (eager)":""}`}libIdent(S){const{shareKey:E,shareScope:k,import:w}=this.options;return`webpack/sharing/consume/${k}/${E}${w?`/${w}`:""}`}needBuild(S,E){E(null,!this.buildInfo)}build(S,E,k,w,j){this.buildMeta={};this.buildInfo={};if(this.options.import){const S=new ae(this.options.import);if(this.options.eager){this.addDependency(S)}else{const E=new N({});E.addDependency(S);this.addBlock(E)}}j()}getSourceTypes(){return _e}size(S){return 42}updateHash(S,E){S.update(JSON.stringify(this.options));super.updateHash(S,E)}codeGeneration({chunkGraph:S,moduleGraph:E,runtimeTemplate:k}){const N=new Set([q.shareScopeMap]);const{shareScope:j,shareKey:ee,strictVersion:te,requiredVersion:ae,import:_e,singleton:ve,eager:Ee}=this.options;let Te;if(_e){if(Ee){const E=this.dependencies[0];Te=k.syncModuleFactory({dependency:E,chunkGraph:S,runtimeRequirements:N,request:this.options.import})}else{const E=this.blocks[0];Te=k.asyncModuleFactory({block:E,chunkGraph:S,runtimeRequirements:N,request:this.options.import})}}let Ce="load";const we=[JSON.stringify(j),JSON.stringify(ee)];if(ae){if(te){Ce+="Strict"}if(ve){Ce+="Singleton"}we.push(ne(ae));Ce+="VersionCheck"}if(Te){Ce+="Fallback";we.push(Te)}const Ne=k.returningFunction(`${Ce}(${we.join(", ")})`);const Ie=new Map;Ie.set("consume-shared",new w(Ne));return{runtimeRequirements:N,sources:Ie}}serialize(S){const{write:E}=S;E(this.options);super.serialize(S)}deserialize(S){const{read:E}=S;this.options=E();super.deserialize(S)}}ee(ConsumeSharedModule,"webpack/lib/sharing/ConsumeSharedModule");S.exports=ConsumeSharedModule},71968:(S,E,k)=>{"use strict";const w=k(54032);const N=k(76150);const j=k(81627);const{parseOptions:q}=k(97264);const ee=k(83379);const te=k(35817);const{parseRange:ne}=k(9293);const ae=k(86827);const _e=k(21606);const ve=k(20428);const Ee=k(31095);const{resolveMatchedConfigs:Te}=k(57870);const{isRequiredVersion:Ce,getDescriptionFile:we,getRequiredVersionFromDescriptionFile:Ne}=k(37650);const Ie=te(k(37411),(()=>k(16308)),{name:"Consume Shared Plugin",baseDataPath:"options"});const Fe={dependencyType:"esm"};const Oe="ConsumeSharedPlugin";class ConsumeSharedPlugin{constructor(S){if(typeof S!=="string"){Ie(S)}this._consumes=q(S.consumes,((E,k)=>{if(Array.isArray(E))throw new Error("Unexpected array in options");let w=E===k||!Ce(E)?{import:k,shareScope:S.shareScope||"default",shareKey:k,requiredVersion:undefined,packageName:undefined,strictVersion:false,singleton:false,eager:false}:{import:k,shareScope:S.shareScope||"default",shareKey:k,requiredVersion:ne(E),strictVersion:true,packageName:undefined,singleton:false,eager:false};return w}),((E,k)=>({import:E.import===false?undefined:E.import||k,shareScope:E.shareScope||S.shareScope||"default",shareKey:E.shareKey||k,requiredVersion:typeof E.requiredVersion==="string"?ne(E.requiredVersion):E.requiredVersion,strictVersion:typeof E.strictVersion==="boolean"?E.strictVersion:E.import!==false&&!E.singleton,packageName:E.packageName,singleton:!!E.singleton,eager:!!E.eager})))}apply(S){S.hooks.thisCompilation.tap(Oe,((E,{normalModuleFactory:k})=>{E.dependencyFactories.set(ae,k);let q,te,Ce;const Ie=Te(E,this._consumes).then((({resolved:S,unresolved:E,prefixed:k})=>{te=S;q=E;Ce=k}));const Me=E.resolverFactory.get("normal",Fe);const createConsumeSharedModule=(k,N,q)=>{const requiredVersionWarning=S=>{const k=new j(`No required version specified and unable to automatically determine one. ${S}`);k.file=`shared module ${N}`;E.warnings.push(k)};const te=q.import&&/^(\.\.?(\/|$)|\/|[A-Za-z]:|\\\\)/.test(q.import);return Promise.all([new Promise((j=>{if(!q.import)return j();const ne={fileDependencies:new ee,contextDependencies:new ee,missingDependencies:new ee};Me.resolve({},te?S.context:k,q.import,ne,((S,k)=>{E.contextDependencies.addAll(ne.contextDependencies);E.fileDependencies.addAll(ne.fileDependencies);E.missingDependencies.addAll(ne.missingDependencies);if(S){E.errors.push(new w(null,S,{name:`resolving fallback for shared module ${N}`}));return j()}j(k)}))})),new Promise((S=>{if(q.requiredVersion!==undefined)return S(q.requiredVersion);let w=q.packageName;if(w===undefined){if(/^(\/|[A-Za-z]:|\\\\)/.test(N)){return S()}const E=/^((?:@[^\\/]+[\\/])?[^\\/]+)/.exec(N);if(!E){requiredVersionWarning("Unable to extract the package name from request.");return S()}w=E[0]}we(E.inputFileSystem,k,["package.json"],((E,N)=>{if(E){requiredVersionWarning(`Unable to read description file: ${E}`);return S()}const{data:j,path:q}=N;if(!j){requiredVersionWarning(`Unable to find description file in ${k}.`);return S()}const ee=Ne(j,w);if(typeof ee!=="string"){requiredVersionWarning(`Unable to find required version for "${w}" in description file (${q}). It need to be in dependencies, devDependencies or peerDependencies.`);return S()}S(ne(ee))}))}))]).then((([E,w])=>new _e(te?S.context:k,{...q,importResolved:E,import:E?q.import:undefined,requiredVersion:w})))};k.hooks.factorize.tapPromise(Oe,(({context:S,request:E,dependencies:k})=>Ie.then((()=>{if(k[0]instanceof ae||k[0]instanceof Ee){return}const w=q.get(E);if(w!==undefined){return createConsumeSharedModule(S,E,w)}for(const[k,w]of Ce){if(E.startsWith(k)){const N=E.slice(k.length);return createConsumeSharedModule(S,E,{...w,import:w.import?w.import+N:undefined,shareKey:w.shareKey+N})}}}))));k.hooks.createModule.tapPromise(Oe,(({resource:S},{context:E,dependencies:k})=>{if(k[0]instanceof ae||k[0]instanceof Ee){return Promise.resolve()}const w=te.get(S);if(w!==undefined){return createConsumeSharedModule(E,S,w)}return Promise.resolve()}));E.hooks.additionalTreeRuntimeRequirements.tap(Oe,((S,k)=>{k.add(N.module);k.add(N.moduleCache);k.add(N.moduleFactoriesAddOnly);k.add(N.shareScopeMap);k.add(N.initializeSharing);k.add(N.hasOwnProperty);E.addRuntimeModule(S,new ve(k))}))}))}}S.exports=ConsumeSharedPlugin},20428:(S,E,k)=>{"use strict";const w=k(76150);const N=k(66804);const j=k(58159);const{parseVersionRuntimeCode:q,versionLtRuntimeCode:ee,rangeToStringRuntimeCode:te,satisfyRuntimeCode:ne}=k(9293);class ConsumeSharedRuntimeModule extends N{constructor(S){super("consumes",N.STAGE_ATTACH);this._runtimeRequirements=S}generate(){const{compilation:S,chunkGraph:E}=this;const{runtimeTemplate:k,codeGenerationResults:N}=S;const ae={};const _e=new Map;const ve=[];const addModules=(S,k,w)=>{for(const j of S){const S=j;const q=E.getModuleId(S);w.push(q);_e.set(q,N.getSource(S,k.runtime,"consume-shared"))}};for(const S of this.chunk.getAllAsyncChunks()){const k=E.getChunkModulesIterableBySourceType(S,"consume-shared");if(!k)continue;addModules(k,S,ae[S.id]=[])}for(const S of this.chunk.getAllInitialChunks()){const k=E.getChunkModulesIterableBySourceType(S,"consume-shared");if(!k)continue;addModules(k,S,ve)}if(_e.size===0)return null;return j.asString([q(k),ee(k),te(k),ne(k),`var ensureExistence = ${k.basicFunction("scopeName, key",[`var scope = ${w.shareScopeMap}[scopeName];`,`if(!scope || !${w.hasOwnProperty}(scope, key)) throw new Error("Shared module " + key + " doesn't exist in shared scope " + scopeName);`,"return scope;"])};`,`var findVersion = ${k.basicFunction("scope, key",["var versions = scope[key];",`var key = Object.keys(versions).reduce(${k.basicFunction("a, b",["return !a || versionLt(a, b) ? b : a;"])}, 0);`,"return key && versions[key]"])};`,`var findSingletonVersionKey = ${k.basicFunction("scope, key",["var versions = scope[key];",`return Object.keys(versions).reduce(${k.basicFunction("a, b",["return !a || (!versions[a].loaded && versionLt(a, b)) ? b : a;"])}, 0);`])};`,`var getInvalidSingletonVersionMessage = ${k.basicFunction("key, version, requiredVersion",[`return "Unsatisfied version " + version + " of shared singleton module " + key + " (required " + rangeToString(requiredVersion) + ")"`])};`,`var getSingletonVersion = ${k.basicFunction("scope, scopeName, key, requiredVersion",["var version = findSingletonVersionKey(scope, key);","if (!satisfy(requiredVersion, version)) "+'typeof console !== "undefined" && console.warn && console.warn(getInvalidSingletonVersionMessage(key, version, requiredVersion));',"return get(scope[key][version]);"])};`,`var getStrictSingletonVersion = ${k.basicFunction("scope, scopeName, key, requiredVersion",["var version = findSingletonVersionKey(scope, key);","if (!satisfy(requiredVersion, version)) "+"throw new Error(getInvalidSingletonVersionMessage(key, version, requiredVersion));","return get(scope[key][version]);"])};`,`var findValidVersion = ${k.basicFunction("scope, key, requiredVersion",["var versions = scope[key];",`var key = Object.keys(versions).reduce(${k.basicFunction("a, b",["if (!satisfy(requiredVersion, b)) return a;","return !a || versionLt(a, b) ? b : a;"])}, 0);`,"return key && versions[key]"])};`,`var getInvalidVersionMessage = ${k.basicFunction("scope, scopeName, key, requiredVersion",["var versions = scope[key];",'return "No satisfying version (" + rangeToString(requiredVersion) + ") of shared module " + key + " found in shared scope " + scopeName + ".\\n" +',`\t"Available versions: " + Object.keys(versions).map(${k.basicFunction("key",['return key + " from " + versions[key].from;'])}).join(", ");`])};`,`var getValidVersion = ${k.basicFunction("scope, scopeName, key, requiredVersion",["var entry = findValidVersion(scope, key, requiredVersion);","if(entry) return get(entry);","throw new Error(getInvalidVersionMessage(scope, scopeName, key, requiredVersion));"])};`,`var warnInvalidVersion = ${k.basicFunction("scope, scopeName, key, requiredVersion",['typeof console !== "undefined" && console.warn && console.warn(getInvalidVersionMessage(scope, scopeName, key, requiredVersion));'])};`,`var get = ${k.basicFunction("entry",["entry.loaded = 1;","return entry.get()"])};`,`var init = ${k.returningFunction(j.asString(["function(scopeName, a, b, c) {",j.indent([`var promise = ${w.initializeSharing}(scopeName);`,`if (promise && promise.then) return promise.then(fn.bind(fn, scopeName, ${w.shareScopeMap}[scopeName], a, b, c));`,`return fn(scopeName, ${w.shareScopeMap}[scopeName], a, b, c);`]),"}"]),"fn")};`,"",`var load = /*#__PURE__*/ init(${k.basicFunction("scopeName, scope, key",["ensureExistence(scopeName, key);","return get(findVersion(scope, key));"])});`,`var loadFallback = /*#__PURE__*/ init(${k.basicFunction("scopeName, scope, key, fallback",[`return scope && ${w.hasOwnProperty}(scope, key) ? get(findVersion(scope, key)) : fallback();`])});`,`var loadVersionCheck = /*#__PURE__*/ init(${k.basicFunction("scopeName, scope, key, version",["ensureExistence(scopeName, key);","return get(findValidVersion(scope, key, version) || warnInvalidVersion(scope, scopeName, key, version) || findVersion(scope, key));"])});`,`var loadSingletonVersionCheck = /*#__PURE__*/ init(${k.basicFunction("scopeName, scope, key, version",["ensureExistence(scopeName, key);","return getSingletonVersion(scope, scopeName, key, version);"])});`,`var loadStrictVersionCheck = /*#__PURE__*/ init(${k.basicFunction("scopeName, scope, key, version",["ensureExistence(scopeName, key);","return getValidVersion(scope, scopeName, key, version);"])});`,`var loadStrictSingletonVersionCheck = /*#__PURE__*/ init(${k.basicFunction("scopeName, scope, key, version",["ensureExistence(scopeName, key);","return getStrictSingletonVersion(scope, scopeName, key, version);"])});`,`var loadVersionCheckFallback = /*#__PURE__*/ init(${k.basicFunction("scopeName, scope, key, version, fallback",[`if(!scope || !${w.hasOwnProperty}(scope, key)) return fallback();`,"return get(findValidVersion(scope, key, version) || warnInvalidVersion(scope, scopeName, key, version) || findVersion(scope, key));"])});`,`var loadSingletonVersionCheckFallback = /*#__PURE__*/ init(${k.basicFunction("scopeName, scope, key, version, fallback",[`if(!scope || !${w.hasOwnProperty}(scope, key)) return fallback();`,"return getSingletonVersion(scope, scopeName, key, version);"])});`,`var loadStrictVersionCheckFallback = /*#__PURE__*/ init(${k.basicFunction("scopeName, scope, key, version, fallback",[`var entry = scope && ${w.hasOwnProperty}(scope, key) && findValidVersion(scope, key, version);`,`return entry ? get(entry) : fallback();`])});`,`var loadStrictSingletonVersionCheckFallback = /*#__PURE__*/ init(${k.basicFunction("scopeName, scope, key, version, fallback",[`if(!scope || !${w.hasOwnProperty}(scope, key)) return fallback();`,"return getStrictSingletonVersion(scope, scopeName, key, version);"])});`,"var installedModules = {};","var moduleToHandlerMapping = {",j.indent(Array.from(_e,(([S,E])=>`${JSON.stringify(S)}: ${E.source()}`)).join(",\n")),"};",ve.length>0?j.asString([`var initialConsumes = ${JSON.stringify(ve)};`,`initialConsumes.forEach(${k.basicFunction("id",[`${w.moduleFactories}[id] = ${k.basicFunction("module",["// Handle case when module is used sync","installedModules[id] = 0;",`delete ${w.moduleCache}[id];`,"var factory = moduleToHandlerMapping[id]();",'if(typeof factory !== "function") throw new Error("Shared module is not available for eager consumption: " + id);',`module.exports = factory();`])}`])});`]):"// no consumes in initial chunks",this._runtimeRequirements.has(w.ensureChunkHandlers)?j.asString([`var chunkMapping = ${JSON.stringify(ae,null,"\t")};`,`${w.ensureChunkHandlers}.consumes = ${k.basicFunction("chunkId, promises",[`if(${w.hasOwnProperty}(chunkMapping, chunkId)) {`,j.indent([`chunkMapping[chunkId].forEach(${k.basicFunction("id",[`if(${w.hasOwnProperty}(installedModules, id)) return promises.push(installedModules[id]);`,`var onFactory = ${k.basicFunction("factory",["installedModules[id] = 0;",`${w.moduleFactories}[id] = ${k.basicFunction("module",[`delete ${w.moduleCache}[id];`,"module.exports = factory();"])}`])};`,`var onError = ${k.basicFunction("error",["delete installedModules[id];",`${w.moduleFactories}[id] = ${k.basicFunction("module",[`delete ${w.moduleCache}[id];`,"throw error;"])}`])};`,"try {",j.indent(["var promise = moduleToHandlerMapping[id]();","if(promise.then) {",j.indent(`promises.push(installedModules[id] = promise.then(onFactory).catch(onError));`),"} else onFactory(promise);"]),"} catch(e) { onError(e); }"])});`]),"}"])}`]):"// no chunk loading of consumes"])}}S.exports=ConsumeSharedRuntimeModule},31095:(S,E,k)=>{"use strict";const w=k(79983);const N=k(56202);class ProvideForSharedDependency extends w{constructor(S){super(S)}get type(){return"provide module for shared"}get category(){return"esm"}}N(ProvideForSharedDependency,"webpack/lib/sharing/ProvideForSharedDependency");S.exports=ProvideForSharedDependency},56049:(S,E,k)=>{"use strict";const w=k(28706);const N=k(56202);class ProvideSharedDependency extends w{constructor(S,E,k,w,N){super();this.shareScope=S;this.name=E;this.version=k;this.request=w;this.eager=N}get type(){return"provide shared module"}getResourceIdentifier(){return`provide module (${this.shareScope}) ${this.request} as ${this.name} @ ${this.version}${this.eager?" (eager)":""}`}serialize(S){S.write(this.shareScope);S.write(this.name);S.write(this.request);S.write(this.version);S.write(this.eager);super.serialize(S)}static deserialize(S){const{read:E}=S;const k=new ProvideSharedDependency(E(),E(),E(),E(),E());this.shareScope=S.read();k.deserialize(S);return k}}N(ProvideSharedDependency,"webpack/lib/sharing/ProvideSharedDependency");S.exports=ProvideSharedDependency},99114:(S,E,k)=>{"use strict";const w=k(98221);const N=k(53453);const j=k(76150);const q=k(56202);const ee=k(31095);const te=new Set(["share-init"]);class ProvideSharedModule extends N{constructor(S,E,k,w,N){super("provide-module");this._shareScope=S;this._name=E;this._version=k;this._request=w;this._eager=N}identifier(){return`provide module (${this._shareScope}) ${this._name}@${this._version} = ${this._request}`}readableIdentifier(S){return`provide shared module (${this._shareScope}) ${this._name}@${this._version} = ${S.shorten(this._request)}`}libIdent(S){return`webpack/sharing/provide/${this._shareScope}/${this._name}`}needBuild(S,E){E(null,!this.buildInfo)}build(S,E,k,N,j){this.buildMeta={};this.buildInfo={strict:true};this.clearDependenciesAndBlocks();const q=new ee(this._request);if(this._eager){this.addDependency(q)}else{const S=new w({});S.addDependency(q);this.addBlock(S)}j()}size(S){return 42}getSourceTypes(){return te}codeGeneration({runtimeTemplate:S,moduleGraph:E,chunkGraph:k}){const w=new Set([j.initializeSharing]);const N=`register(${JSON.stringify(this._name)}, ${JSON.stringify(this._version||"0")}, ${this._eager?S.syncModuleFactory({dependency:this.dependencies[0],chunkGraph:k,request:this._request,runtimeRequirements:w}):S.asyncModuleFactory({block:this.blocks[0],chunkGraph:k,request:this._request,runtimeRequirements:w})}${this._eager?", 1":""});`;const q=new Map;const ee=new Map;ee.set("share-init",[{shareScope:this._shareScope,initStage:10,init:N}]);return{sources:q,data:ee,runtimeRequirements:w}}serialize(S){const{write:E}=S;E(this._shareScope);E(this._name);E(this._version);E(this._request);E(this._eager);super.serialize(S)}static deserialize(S){const{read:E}=S;const k=new ProvideSharedModule(E(),E(),E(),E(),E());k.deserialize(S);return k}}q(ProvideSharedModule,"webpack/lib/sharing/ProvideSharedModule");S.exports=ProvideSharedModule},96295:(S,E,k)=>{"use strict";const w=k(40674);const N=k(99114);class ProvideSharedModuleFactory extends w{create(S,E){const k=S.dependencies[0];E(null,{module:new N(k.shareScope,k.name,k.version,k.request,k.eager)})}}S.exports=ProvideSharedModuleFactory},48151:(S,E,k)=>{"use strict";const w=k(81627);const{parseOptions:N}=k(97264);const j=k(35817);const q=k(31095);const ee=k(56049);const te=k(96295);const ne=j(k(95435),(()=>k(23288)),{name:"Provide Shared Plugin",baseDataPath:"options"});class ProvideSharedPlugin{constructor(S){ne(S);this._provides=N(S.provides,(E=>{if(Array.isArray(E))throw new Error("Unexpected array of provides");const k={shareKey:E,version:undefined,shareScope:S.shareScope||"default",eager:false};return k}),(E=>({shareKey:E.shareKey,version:E.version,shareScope:E.shareScope||S.shareScope||"default",eager:!!E.eager})));this._provides.sort((([S],[E])=>{if(S{const N=new Map;const j=new Map;const q=new Map;for(const[S,E]of this._provides){if(/^(\/|[A-Za-z]:\\|\\\\|\.\.?(\/|$))/.test(S)){N.set(S,{config:E,version:E.version})}else if(/^(\/|[A-Za-z]:\\|\\\\)/.test(S)){N.set(S,{config:E,version:E.version})}else if(S.endsWith("/")){q.set(S,E)}else{j.set(S,E)}}E.set(S,N);const provideSharedModule=(E,k,j,q)=>{let ee=k.version;if(ee===undefined){let k="";if(!q){k=`No resolve data provided from resolver.`}else{const S=q.descriptionFileData;if(!S){k="No description file (usually package.json) found. Add description file with name and version, or manually specify version in shared config."}else if(!S.version){k="No version in description file (usually package.json). Add version to description file, or manually specify version in shared config."}else{ee=S.version}}if(!ee){const N=new w(`No version specified and unable to automatically determine one. ${k}`);N.file=`shared module ${E} -> ${j}`;S.warnings.push(N)}}N.set(j,{config:k,version:ee})};k.hooks.module.tap("ProvideSharedPlugin",((S,{resource:E,resourceResolveData:k},w)=>{if(N.has(E)){return S}const{request:ee}=w;{const S=j.get(ee);if(S!==undefined){provideSharedModule(ee,S,E,k);w.cacheable=false}}for(const[S,N]of q){if(ee.startsWith(S)){const j=ee.slice(S.length);provideSharedModule(E,{...N,shareKey:N.shareKey+j},E,k);w.cacheable=false}}return S}))}));S.hooks.finishMake.tapPromise("ProvideSharedPlugin",(k=>{const w=E.get(k);if(!w)return Promise.resolve();return Promise.all(Array.from(w,(([E,{config:w,version:N}])=>new Promise(((j,q)=>{k.addInclude(S.context,new ee(w.shareScope,w.shareKey,N||false,E,w.eager),{name:undefined},(S=>{if(S)return q(S);j()}))}))))).then((()=>{}))}));S.hooks.compilation.tap("ProvideSharedPlugin",((S,{normalModuleFactory:E})=>{S.dependencyFactories.set(q,E);S.dependencyFactories.set(ee,new te)}))}}S.exports=ProvideSharedPlugin},16471:(S,E,k)=>{"use strict";const{parseOptions:w}=k(97264);const N=k(71968);const j=k(48151);const{isRequiredVersion:q}=k(37650);class SharePlugin{constructor(S){const E=w(S.shared,((S,E)=>{if(typeof S!=="string")throw new Error("Unexpected array in shared");const k=S===E||!q(S)?{import:S}:{import:E,requiredVersion:S};return k}),(S=>S));const k=E.map((([S,E])=>({[S]:{import:E.import,shareKey:E.shareKey||S,shareScope:E.shareScope,requiredVersion:E.requiredVersion,strictVersion:E.strictVersion,singleton:E.singleton,packageName:E.packageName,eager:E.eager}})));const N=E.filter((([,S])=>S.import!==false)).map((([S,E])=>({[E.import||S]:{shareKey:E.shareKey||S,shareScope:E.shareScope,version:E.version,eager:E.eager}})));this._shareScope=S.shareScope;this._consumes=k;this._provides=N}apply(S){new N({shareScope:this._shareScope,consumes:this._consumes}).apply(S);new j({shareScope:this._shareScope,provides:this._provides}).apply(S)}}S.exports=SharePlugin},54825:(S,E,k)=>{"use strict";const w=k(76150);const N=k(66804);const j=k(58159);const{compareModulesByIdentifier:q,compareStrings:ee}=k(68673);class ShareRuntimeModule extends N{constructor(){super("sharing")}generate(){const{compilation:S,chunkGraph:E}=this;const{runtimeTemplate:k,codeGenerationResults:N,outputOptions:{uniqueName:te}}=S;const ne=new Map;for(const S of this.chunk.getAllReferencedChunks()){const k=E.getOrderedChunkModulesIterableBySourceType(S,"share-init",q);if(!k)continue;for(const E of k){const k=N.getData(E,S.runtime,"share-init");if(!k)continue;for(const S of k){const{shareScope:E,initStage:k,init:w}=S;let N=ne.get(E);if(N===undefined){ne.set(E,N=new Map)}let j=N.get(k||0);if(j===undefined){N.set(k||0,j=new Set)}j.add(w)}}}return j.asString([`${w.shareScopeMap} = {};`,"var initPromises = {};","var initTokens = {};",`${w.initializeSharing} = ${k.basicFunction("name, initScope",["if(!initScope) initScope = [];","// handling circular init calls","var initToken = initTokens[name];","if(!initToken) initToken = initTokens[name] = {};","if(initScope.indexOf(initToken) >= 0) return;","initScope.push(initToken);","// only runs once","if(initPromises[name]) return initPromises[name];","// creates a new share scope if needed",`if(!${w.hasOwnProperty}(${w.shareScopeMap}, name)) ${w.shareScopeMap}[name] = {};`,"// runs all init snippets from all modules reachable",`var scope = ${w.shareScopeMap}[name];`,`var warn = ${k.returningFunction('typeof console !== "undefined" && console.warn && console.warn(msg)',"msg")};`,`var uniqueName = ${JSON.stringify(te||undefined)};`,`var register = ${k.basicFunction("name, version, factory, eager",["var versions = scope[name] = scope[name] || {};","var activeVersion = versions[version];","if(!activeVersion || (!activeVersion.loaded && (!eager != !activeVersion.eager ? eager : uniqueName > activeVersion.from))) versions[version] = { get: factory, from: uniqueName, eager: !!eager };"])};`,`var initExternal = ${k.basicFunction("id",[`var handleError = ${k.expressionFunction('warn("Initialization of sharing external failed: " + err)',"err")};`,"try {",j.indent(["var module = __webpack_require__(id);","if(!module) return;",`var initFn = ${k.returningFunction(`module && module.init && module.init(${w.shareScopeMap}[name], initScope)`,"module")}`,"if(module.then) return promises.push(module.then(initFn, handleError));","var initResult = initFn(module);","if(initResult && initResult.then) return promises.push(initResult.catch(handleError));"]),"} catch(err) { handleError(err); }"])}`,"var promises = [];","switch(name) {",...Array.from(ne).sort((([S],[E])=>ee(S,E))).map((([S,E])=>j.indent([`case ${JSON.stringify(S)}: {`,j.indent(Array.from(E).sort((([S],[E])=>S-E)).map((([,S])=>j.asString(Array.from(S))))),"}","break;"]))),"}","if(!promises.length) return initPromises[name] = 1;",`return initPromises[name] = Promise.all(promises).then(${k.returningFunction("initPromises[name] = 1")});`])};`])}}S.exports=ShareRuntimeModule},57870:(S,E,k)=>{"use strict";const w=k(54032);const N=k(83379);const j={dependencyType:"esm"};E.resolveMatchedConfigs=(S,E)=>{const k=new Map;const q=new Map;const ee=new Map;const te={fileDependencies:new N,contextDependencies:new N,missingDependencies:new N};const ne=S.resolverFactory.get("normal",j);const ae=S.compiler.context;return Promise.all(E.map((([E,N])=>{if(/^\.\.?(\/|$)/.test(E)){return new Promise((j=>{ne.resolve({},ae,E,te,((q,ee)=>{if(q||ee===false){q=q||new Error(`Can't resolve ${E}`);S.errors.push(new w(null,q,{name:`shared module ${E}`}));return j()}k.set(ee,N);j()}))}))}else if(/^(\/|[A-Za-z]:\\|\\\\)/.test(E)){k.set(E,N)}else if(E.endsWith("/")){ee.set(E,N)}else{q.set(E,N)}}))).then((()=>{S.contextDependencies.addAll(te.contextDependencies);S.fileDependencies.addAll(te.fileDependencies);S.missingDependencies.addAll(te.missingDependencies);return{resolved:k,unresolved:q,prefixed:ee}}))}},37650:(S,E,k)=>{"use strict";const{join:w,dirname:N,readJson:j}=k(95396);E.isRequiredVersion=S=>/^([\d^=v<>~]|[*xX]$)/.test(S);const getDescriptionFile=(S,E,k,q)=>{let ee=0;const tryLoadCurrent=()=>{if(ee>=k.length){const w=N(S,E);if(!w||w===E)return q();return getDescriptionFile(S,w,k,q)}const te=w(S,E,k[ee]);j(S,te,((S,E)=>{if(S){if("code"in S&&S.code==="ENOENT"){ee++;return tryLoadCurrent()}return q(S)}if(!E||typeof E!=="object"||Array.isArray(E)){return q(new Error(`Description file ${te} is not an object`))}q(null,{data:E,path:te})}))};tryLoadCurrent()};E.getDescriptionFile=getDescriptionFile;E.getRequiredVersionFromDescriptionFile=(S,E)=>{if(S.optionalDependencies&&typeof S.optionalDependencies==="object"&&E in S.optionalDependencies){return S.optionalDependencies[E]}if(S.dependencies&&typeof S.dependencies==="object"&&E in S.dependencies){return S.dependencies[E]}if(S.peerDependencies&&typeof S.peerDependencies==="object"&&E in S.peerDependencies){return S.peerDependencies[E]}if(S.devDependencies&&typeof S.devDependencies==="object"&&E in S.devDependencies){return S.devDependencies[E]}}},9054:(S,E,k)=>{"use strict";const w=k(31669);const N=k(79983);const j=k(72380);const{LogType:q}=k(78539);const ee=k(94827);const te=k(20625);const{countIterable:ne}=k(11539);const{compareLocations:ae,compareChunksById:_e,compareNumbers:ve,compareIds:Ee,concatComparators:Te,compareSelect:Ce,compareModulesByIdentifier:we}=k(68673);const{makePathsRelative:Ne,parseResource:Ie}=k(49197);const uniqueArray=(S,E)=>{const k=new Set;for(const w of S){for(const S of E(w)){k.add(S)}}return Array.from(k)};const uniqueOrderedArray=(S,E,k)=>uniqueArray(S,E).sort(k);const mapObject=(S,E)=>{const k=Object.create(null);for(const w of Object.keys(S)){k[w]=E(S[w],w)}return k};const countWithChildren=(S,E)=>{let k=E(S,"").length;for(const w of S.children){k+=countWithChildren(w,((S,k)=>E(S,`.children[].compilation${k}`)))}return k};const Fe={_:(S,E,k,{requestShortener:w})=>{if(typeof E==="string"){S.message=E}else{if(E.chunk){S.chunkName=E.chunk.name;S.chunkEntry=E.chunk.hasRuntime();S.chunkInitial=E.chunk.canBeInitial()}if(E.file){S.file=E.file}if(E.module){S.moduleIdentifier=E.module.identifier();S.moduleName=E.module.readableIdentifier(w)}if(E.loc){S.loc=j(E.loc)}S.message=E.message}},ids:(S,E,{compilation:{chunkGraph:k}})=>{if(typeof E!=="string"){if(E.chunk){S.chunkId=E.chunk.id}if(E.module){S.moduleId=k.getModuleId(E.module)}}},moduleTrace:(S,E,k,w,N)=>{if(typeof E!=="string"&&E.module){const{type:w,compilation:{moduleGraph:j}}=k;const q=new Set;const ee=[];let te=E.module;while(te){if(q.has(te))break;q.add(te);const S=j.getIssuer(te);if(!S)break;ee.push({origin:S,module:te});te=S}S.moduleTrace=N.create(`${w}.moduleTrace`,ee,k)}},errorDetails:(S,E,{type:k,compilation:w,cachedGetErrors:N,cachedGetWarnings:j},{errorDetails:q})=>{if(typeof E!=="string"&&(q===true||k.endsWith(".error")&&N(w).length<3)){S.details=E.details}},errorStack:(S,E)=>{if(typeof E!=="string"){S.stack=E.stack}}};const Oe={compilation:{_:(S,E,w,N)=>{if(!w.makePathsRelative){w.makePathsRelative=Ne.bindContextCache(E.compiler.context,E.compiler.root)}if(!w.cachedGetErrors){const S=new WeakMap;w.cachedGetErrors=E=>S.get(E)||(k=>(S.set(E,k),k))(E.getErrors())}if(!w.cachedGetWarnings){const S=new WeakMap;w.cachedGetWarnings=E=>S.get(E)||(k=>(S.set(E,k),k))(E.getWarnings())}if(E.name){S.name=E.name}if(E.needAdditionalPass){S.needAdditionalPass=true}const{logging:j,loggingDebug:ee,loggingTrace:te}=N;if(j||ee&&ee.length>0){const w=k(31669);S.logging={};let ne;let ae=false;switch(j){default:ne=new Set;break;case"error":ne=new Set([q.error]);break;case"warn":ne=new Set([q.error,q.warn]);break;case"info":ne=new Set([q.error,q.warn,q.info]);break;case"log":ne=new Set([q.error,q.warn,q.info,q.log,q.group,q.groupEnd,q.groupCollapsed,q.clear]);break;case"verbose":ne=new Set([q.error,q.warn,q.info,q.log,q.group,q.groupEnd,q.groupCollapsed,q.profile,q.profileEnd,q.time,q.status,q.clear]);ae=true;break}const _e=Ne.bindContextCache(N.context,E.compiler.root);let ve=0;for(const[k,N]of E.logging){const E=ee.some((S=>S(k)));if(j===false&&!E)continue;const Ee=[];const Te=[];let Ce=Te;let we=0;for(const S of N){let k=S.type;if(!E&&!ne.has(k))continue;if(k===q.groupCollapsed&&(E||ae))k=q.group;if(ve===0){we++}if(k===q.groupEnd){Ee.pop();if(Ee.length>0){Ce=Ee[Ee.length-1].children}else{Ce=Te}if(ve>0)ve--;continue}let N=undefined;if(S.type===q.time){N=`${S.args[0]}: ${S.args[1]*1e3+S.args[2]/1e6} ms`}else if(S.args&&S.args.length>0){N=w.format(S.args[0],...S.args.slice(1))}const j={...S,type:k,message:N,trace:te?S.trace:undefined,children:k===q.group||k===q.groupCollapsed?[]:undefined};Ce.push(j);if(j.children){Ee.push(j);Ce=j.children;if(ve>0){ve++}else if(k===q.groupCollapsed){ve=1}}}let Ne=_e(k).replace(/\|/g," ");if(Ne in S.logging){let E=1;while(`${Ne}#${E}`in S.logging){E++}Ne=`${Ne}#${E}`}S.logging[Ne]={entries:Te,filteredEntries:N.length-we,debug:E}}}},hash:(S,E)=>{S.hash=E.hash},version:S=>{S.version=k(61733).i8},env:(S,E,k,{_env:w})=>{S.env=w},timings:(S,E)=>{S.time=E.endTime-E.startTime},builtAt:(S,E)=>{S.builtAt=E.endTime},publicPath:(S,E)=>{S.publicPath=E.getPath(E.outputOptions.publicPath)},outputPath:(S,E)=>{S.outputPath=E.outputOptions.path},assets:(S,E,k,w,N)=>{const{type:j}=k;const q=new Map;const ee=new Map;for(const S of E.chunks){for(const E of S.files){let k=q.get(E);if(k===undefined){k=[];q.set(E,k)}k.push(S)}for(const E of S.auxiliaryFiles){let k=ee.get(E);if(k===undefined){k=[];ee.set(E,k)}k.push(S)}}const te=new Map;const ne=new Set;for(const S of E.getAssets()){const E={...S,type:"asset",related:undefined};ne.add(E);te.set(S.name,E)}for(const S of te.values()){const E=S.info.related;if(!E)continue;for(const k of Object.keys(E)){const w=E[k];const N=Array.isArray(w)?w:[w];for(const E of N){const w=te.get(E);if(!w)continue;ne.delete(w);w.type=k;S.related=S.related||[];S.related.push(w)}}}S.assetsByChunkName={};for(const[E,k]of q){for(const w of k){const k=w.name;if(!k)continue;if(!Object.prototype.hasOwnProperty.call(S.assetsByChunkName,k)){S.assetsByChunkName[k]=[]}S.assetsByChunkName[k].push(E)}}const ae=N.create(`${j}.assets`,Array.from(ne),{...k,compilationFileToChunks:q,compilationAuxiliaryFileToChunks:ee});const _e=spaceLimited(ae,w.assetsSpace);S.assets=_e.children;S.filteredAssets=_e.filteredChildren},chunks:(S,E,k,w,N)=>{const{type:j}=k;S.chunks=N.create(`${j}.chunks`,Array.from(E.chunks),k)},modules:(S,E,k,w,N)=>{const{type:j}=k;const q=Array.from(E.modules);const ee=N.create(`${j}.modules`,q,k);const te=spaceLimited(ee,w.modulesSpace);S.modules=te.children;S.filteredModules=te.filteredChildren},entrypoints:(S,E,k,{entrypoints:w,chunkGroups:N,chunkGroupAuxiliary:j,chunkGroupChildren:q},ee)=>{const{type:te}=k;const ne=Array.from(E.entrypoints,(([S,E])=>({name:S,chunkGroup:E})));if(w==="auto"&&!N){if(ne.length>5)return;if(!q&&ne.every((({chunkGroup:S})=>{if(S.chunks.length!==1)return false;const E=S.chunks[0];return E.files.size===1&&(!j||E.auxiliaryFiles.size===0)}))){return}}S.entrypoints=ee.create(`${te}.entrypoints`,ne,k)},chunkGroups:(S,E,k,w,N)=>{const{type:j}=k;const q=Array.from(E.namedChunkGroups,(([S,E])=>({name:S,chunkGroup:E})));S.namedChunkGroups=N.create(`${j}.namedChunkGroups`,q,k)},errors:(S,E,k,w,N)=>{const{type:j,cachedGetErrors:q}=k;S.errors=N.create(`${j}.errors`,q(E),k)},errorsCount:(S,E,{cachedGetErrors:k})=>{S.errorsCount=countWithChildren(E,(S=>k(S)))},warnings:(S,E,k,w,N)=>{const{type:j,cachedGetWarnings:q}=k;S.warnings=N.create(`${j}.warnings`,q(E),k)},warningsCount:(S,E,k,{warningsFilter:w},N)=>{const{type:j,cachedGetWarnings:q}=k;S.warningsCount=countWithChildren(E,((S,E)=>{if(!w&&w.length===0)return q(S);return N.create(`${j}${E}.warnings`,q(S),k).filter((S=>{const E=Object.keys(S).map((E=>`${S[E]}`)).join("\n");return!w.some((k=>k(S,E)))}))}))},errorDetails:(S,E,{cachedGetErrors:k,cachedGetWarnings:w},{errorDetails:N,errors:j,warnings:q})=>{if(N==="auto"){if(q){const k=w(E);S.filteredWarningDetailsCount=k.map((S=>typeof S!=="string"&&S.details)).filter(Boolean).length}if(j){const w=k(E);if(w.length>=3){S.filteredErrorDetailsCount=w.map((S=>typeof S!=="string"&&S.details)).filter(Boolean).length}}}},children:(S,E,k,w,N)=>{const{type:j}=k;S.children=N.create(`${j}.children`,E.children,k)}},asset:{_:(S,E,k,w,N)=>{const{compilation:j}=k;S.type=E.type;S.name=E.name;S.size=E.source.size();S.emitted=j.emittedAssets.has(E.name);S.comparedForEmit=j.comparedForEmitAssets.has(E.name);const q=!S.emitted&&!S.comparedForEmit;S.cached=q;S.info=E.info;if(!q||w.cachedAssets){Object.assign(S,N.create(`${k.type}$visible`,E,k))}}},asset$visible:{_:(S,E,{compilation:k,compilationFileToChunks:w,compilationAuxiliaryFileToChunks:N})=>{const j=w.get(E.name)||[];const q=N.get(E.name)||[];S.chunkNames=uniqueOrderedArray(j,(S=>S.name?[S.name]:[]),Ee);S.chunkIdHints=uniqueOrderedArray(j,(S=>Array.from(S.idNameHints)),Ee);S.auxiliaryChunkNames=uniqueOrderedArray(q,(S=>S.name?[S.name]:[]),Ee);S.auxiliaryChunkIdHints=uniqueOrderedArray(q,(S=>Array.from(S.idNameHints)),Ee);S.filteredRelated=E.related?E.related.length:undefined},relatedAssets:(S,E,k,w,N)=>{const{type:j}=k;S.related=N.create(`${j.slice(0,-8)}.related`,E.related,k);S.filteredRelated=E.related?E.related.length-S.related.length:undefined},ids:(S,E,{compilationFileToChunks:k,compilationAuxiliaryFileToChunks:w})=>{const N=k.get(E.name)||[];const j=w.get(E.name)||[];S.chunks=uniqueOrderedArray(N,(S=>S.ids),Ee);S.auxiliaryChunks=uniqueOrderedArray(j,(S=>S.ids),Ee)},performance:(S,E)=>{S.isOverSizeLimit=te.isOverSizeLimit(E.source)}},chunkGroup:{_:(S,{name:E,chunkGroup:k},{compilation:w,compilation:{moduleGraph:N,chunkGraph:j}},{ids:q,chunkGroupAuxiliary:ee,chunkGroupChildren:te,chunkGroupMaxAssets:ne})=>{const ae=te&&k.getChildrenByOrders(N,j);const toAsset=S=>{const E=w.getAsset(S);return{name:S,size:E?E.info.size:-1}};const sizeReducer=(S,{size:E})=>S+E;const _e=uniqueArray(k.chunks,(S=>S.files)).map(toAsset);const ve=uniqueOrderedArray(k.chunks,(S=>S.auxiliaryFiles),Ee).map(toAsset);const Te=_e.reduce(sizeReducer,0);const Ce=ve.reduce(sizeReducer,0);const we={name:E,chunks:q?k.chunks.map((S=>S.id)):undefined,assets:_e.length<=ne?_e:undefined,filteredAssets:_e.length<=ne?0:_e.length,assetsSize:Te,auxiliaryAssets:ee&&ve.length<=ne?ve:undefined,filteredAuxiliaryAssets:ee&&ve.length<=ne?0:ve.length,auxiliaryAssetsSize:Ce,children:ae?mapObject(ae,(S=>S.map((S=>{const E=uniqueArray(S.chunks,(S=>S.files)).map(toAsset);const k=uniqueOrderedArray(S.chunks,(S=>S.auxiliaryFiles),Ee).map(toAsset);const w={name:S.name,chunks:q?S.chunks.map((S=>S.id)):undefined,assets:E.length<=ne?E:undefined,filteredAssets:E.length<=ne?0:E.length,auxiliaryAssets:ee&&k.length<=ne?k:undefined,filteredAuxiliaryAssets:ee&&k.length<=ne?0:k.length};return w})))):undefined,childAssets:ae?mapObject(ae,(S=>{const E=new Set;for(const k of S){for(const S of k.chunks){for(const k of S.files){E.add(k)}}}return Array.from(E)})):undefined};Object.assign(S,we)},performance:(S,{chunkGroup:E})=>{S.isOverSizeLimit=te.isOverSizeLimit(E)}},module:{_:(S,E,k,w,N)=>{const{compilation:j,type:q}=k;const ee=j.builtModules.has(E);const te=j.codeGeneratedModules.has(E);const ne=j.buildTimeExecutedModules.has(E);const ae={};for(const S of E.getSourceTypes()){ae[S]=E.size(S)}const _e={type:"module",moduleType:E.type,layer:E.layer,size:E.size(),sizes:ae,built:ee,codeGenerated:te,buildTimeExecuted:ne,cached:!ee&&!te};Object.assign(S,_e);if(ee||te||w.cachedModules){Object.assign(S,N.create(`${q}$visible`,E,k))}}},module$visible:{_:(S,E,k,{requestShortener:w},N)=>{const{compilation:j,type:q,rootModules:ee}=k;const{moduleGraph:te}=j;const ae=[];const _e=te.getIssuer(E);let ve=_e;while(ve){ae.push(ve);ve=te.getIssuer(ve)}ae.reverse();const Ee=te.getProfile(E);const Te=E.getErrors();const Ce=Te!==undefined?ne(Te):0;const we=E.getWarnings();const Ne=we!==undefined?ne(we):0;const Ie={};for(const S of E.getSourceTypes()){Ie[S]=E.size(S)}const Fe={identifier:E.identifier(),name:E.readableIdentifier(w),nameForCondition:E.nameForCondition(),index:te.getPreOrderIndex(E),preOrderIndex:te.getPreOrderIndex(E),index2:te.getPostOrderIndex(E),postOrderIndex:te.getPostOrderIndex(E),cacheable:E.buildInfo.cacheable,optional:E.isOptional(te),orphan:!q.endsWith("module.modules[].module$visible")&&j.chunkGraph.getNumberOfModuleChunks(E)===0,dependent:ee?!ee.has(E):undefined,issuer:_e&&_e.identifier(),issuerName:_e&&_e.readableIdentifier(w),issuerPath:_e&&N.create(`${q.slice(0,-8)}.issuerPath`,ae,k),failed:Ce>0,errors:Ce,warnings:Ne};Object.assign(S,Fe);if(Ee){S.profile=N.create(`${q.slice(0,-8)}.profile`,Ee,k)}},ids:(S,E,{compilation:{chunkGraph:k,moduleGraph:w}})=>{S.id=k.getModuleId(E);const N=w.getIssuer(E);S.issuerId=N&&k.getModuleId(N);S.chunks=Array.from(k.getOrderedModuleChunksIterable(E,_e),(S=>S.id))},moduleAssets:(S,E)=>{S.assets=E.buildInfo.assets?Object.keys(E.buildInfo.assets):[]},reasons:(S,E,k,w,N)=>{const{type:j,compilation:{moduleGraph:q}}=k;S.reasons=N.create(`${j.slice(0,-8)}.reasons`,Array.from(q.getIncomingConnections(E)),k)},usedExports:(S,E,{runtime:k,compilation:{moduleGraph:w}})=>{const N=w.getUsedExports(E,k);if(N===null){S.usedExports=null}else if(typeof N==="boolean"){S.usedExports=N}else{S.usedExports=Array.from(N)}},providedExports:(S,E,{compilation:{moduleGraph:k}})=>{const w=k.getProvidedExports(E);S.providedExports=Array.isArray(w)?w:null},optimizationBailout:(S,E,{compilation:{moduleGraph:k}},{requestShortener:w})=>{S.optimizationBailout=k.getOptimizationBailout(E).map((S=>{if(typeof S==="function")return S(w);return S}))},depth:(S,E,{compilation:{moduleGraph:k}})=>{S.depth=k.getDepth(E)},nestedModules:(S,E,k,w,N)=>{const{type:j}=k;const q=E.modules;if(Array.isArray(q)){const E=N.create(`${j.slice(0,-8)}.modules`,q,k);const ee=spaceLimited(E,w.nestedModulesSpace);S.modules=ee.children;S.filteredModules=ee.filteredChildren}},source:(S,E)=>{const k=E.originalSource();if(k){S.source=k.source()}}},profile:{_:(S,E)=>{const k={total:E.factory+E.restoring+E.integration+E.building+E.storing,resolving:E.factory,restoring:E.restoring,building:E.building,integration:E.integration,storing:E.storing,additionalResolving:E.additionalFactories,additionalIntegration:E.additionalIntegration,factory:E.factory,dependencies:E.additionalFactories};Object.assign(S,k)}},moduleIssuer:{_:(S,E,k,{requestShortener:w},N)=>{const{compilation:j,type:q}=k;const{moduleGraph:ee}=j;const te=ee.getProfile(E);const ne={identifier:E.identifier(),name:E.readableIdentifier(w)};Object.assign(S,ne);if(te){S.profile=N.create(`${q}.profile`,te,k)}},ids:(S,E,{compilation:{chunkGraph:k}})=>{S.id=k.getModuleId(E)}},moduleReason:{_:(S,E,{runtime:k},{requestShortener:w})=>{const q=E.dependency;const ee=q&&q instanceof N?q:undefined;const te={moduleIdentifier:E.originModule?E.originModule.identifier():null,module:E.originModule?E.originModule.readableIdentifier(w):null,moduleName:E.originModule?E.originModule.readableIdentifier(w):null,resolvedModuleIdentifier:E.resolvedOriginModule?E.resolvedOriginModule.identifier():null,resolvedModule:E.resolvedOriginModule?E.resolvedOriginModule.readableIdentifier(w):null,type:E.dependency?E.dependency.type:null,active:E.isActive(k),explanation:E.explanation,userRequest:ee&&ee.userRequest||null};Object.assign(S,te);if(E.dependency){const k=j(E.dependency.loc);if(k){S.loc=k}}},ids:(S,E,{compilation:{chunkGraph:k}})=>{S.moduleId=E.originModule?k.getModuleId(E.originModule):null;S.resolvedModuleId=E.resolvedOriginModule?k.getModuleId(E.resolvedOriginModule):null}},chunk:{_:(S,E,{makePathsRelative:k,compilation:{chunkGraph:w}})=>{const N=E.getChildIdsByOrders(w);const j={rendered:E.rendered,initial:E.canBeInitial(),entry:E.hasRuntime(),recorded:ee.wasChunkRecorded(E),reason:E.chunkReason,size:w.getChunkModulesSize(E),sizes:w.getChunkModulesSizes(E),names:E.name?[E.name]:[],idHints:Array.from(E.idNameHints),runtime:E.runtime===undefined?undefined:typeof E.runtime==="string"?[k(E.runtime)]:Array.from(E.runtime.sort(),k),files:Array.from(E.files),auxiliaryFiles:Array.from(E.auxiliaryFiles).sort(Ee),hash:E.renderedHash,childrenByOrder:N};Object.assign(S,j)},ids:(S,E)=>{S.id=E.id},chunkRelations:(S,E,{compilation:{chunkGraph:k}})=>{const w=new Set;const N=new Set;const j=new Set;for(const S of E.groupsIterable){for(const E of S.parentsIterable){for(const S of E.chunks){w.add(S.id)}}for(const E of S.childrenIterable){for(const S of E.chunks){N.add(S.id)}}for(const k of S.chunks){if(k!==E)j.add(k.id)}}S.siblings=Array.from(j).sort(Ee);S.parents=Array.from(w).sort(Ee);S.children=Array.from(N).sort(Ee)},chunkModules:(S,E,k,w,N)=>{const{type:j,compilation:{chunkGraph:q}}=k;const ee=q.getChunkModules(E);const te=N.create(`${j}.modules`,ee,{...k,runtime:E.runtime,rootModules:new Set(q.getChunkRootModules(E))});const ne=spaceLimited(te,w.chunkModulesSpace);S.modules=ne.children;S.filteredModules=ne.filteredChildren},chunkOrigins:(S,E,k,w,N)=>{const{type:q,compilation:{chunkGraph:ee}}=k;const te=new Set;const ne=[];for(const S of E.groupsIterable){ne.push(...S.origins)}const ae=ne.filter((S=>{const E=[S.module?ee.getModuleId(S.module):undefined,j(S.loc),S.request].join();if(te.has(E))return false;te.add(E);return true}));S.origins=N.create(`${q}.origins`,ae,k)}},chunkOrigin:{_:(S,E,k,{requestShortener:w})=>{const N={module:E.module?E.module.identifier():"",moduleIdentifier:E.module?E.module.identifier():"",moduleName:E.module?E.module.readableIdentifier(w):"",loc:j(E.loc),request:E.request};Object.assign(S,N)},ids:(S,E,{compilation:{chunkGraph:k}})=>{S.moduleId=E.module?k.getModuleId(E.module):undefined}},error:Fe,warning:Fe,moduleTraceItem:{_:(S,{origin:E,module:k},w,{requestShortener:N},j)=>{const{type:q,compilation:{moduleGraph:ee}}=w;S.originIdentifier=E.identifier();S.originName=E.readableIdentifier(N);S.moduleIdentifier=k.identifier();S.moduleName=k.readableIdentifier(N);const te=Array.from(ee.getIncomingConnections(k)).filter((S=>S.resolvedOriginModule===E&&S.dependency)).map((S=>S.dependency));S.dependencies=j.create(`${q}.dependencies`,Array.from(new Set(te)),w)},ids:(S,{origin:E,module:k},{compilation:{chunkGraph:w}})=>{S.originId=w.getModuleId(E);S.moduleId=w.getModuleId(k)}},moduleTraceDependency:{_:(S,E)=>{S.loc=j(E.loc)}}};const Me={"module.reasons":{"!orphanModules":(S,{compilation:{chunkGraph:E}})=>{if(S.originModule&&E.getNumberOfModuleChunks(S.originModule)===0){return false}}}};const Re={"compilation.warnings":{warningsFilter:w.deprecate(((S,E,{warningsFilter:k})=>{const w=Object.keys(S).map((E=>`${S[E]}`)).join("\n");return!k.some((E=>E(S,w)))}),"config.stats.warningsFilter is deprecated in favor of config.ignoreWarnings","DEP_WEBPACK_STATS_WARNINGS_FILTER")}};const Le={_:(S,{compilation:{moduleGraph:E}})=>{S.push(Ce((S=>E.getDepth(S)),ve),Ce((S=>E.getPreOrderIndex(S)),ve),Ce((S=>S.identifier()),Ee))}};const Be={"compilation.chunks":{_:S=>{S.push(Ce((S=>S.id),Ee))}},"compilation.modules":Le,"chunk.rootModules":Le,"chunk.modules":Le,"module.modules":Le,"module.reasons":{_:(S,{compilation:{chunkGraph:E}})=>{S.push(Ce((S=>S.originModule),we));S.push(Ce((S=>S.resolvedOriginModule),we));S.push(Ce((S=>S.dependency),Te(Ce((S=>S.loc),ae),Ce((S=>S.type),Ee))))}},"chunk.origins":{_:(S,{compilation:{chunkGraph:E}})=>{S.push(Ce((S=>S.module?E.getModuleId(S.module):undefined),Ee),Ce((S=>j(S.loc)),Ee),Ce((S=>S.request),Ee))}}};const getItemSize=S=>!S.children?1:S.filteredChildren?2+getTotalSize(S.children):1+getTotalSize(S.children);const getTotalSize=S=>{let E=0;for(const k of S){E+=getItemSize(k)}return E};const getTotalItems=S=>{let E=0;for(const k of S){if(!k.children&&!k.filteredChildren){E++}else{if(k.children)E+=getTotalItems(k.children);if(k.filteredChildren)E+=k.filteredChildren}}return E};const collapse=S=>{const E=[];for(const k of S){if(k.children){let S=k.filteredChildren||0;S+=getTotalItems(k.children);E.push({...k,children:undefined,filteredChildren:S})}else{E.push(k)}}return E};const spaceLimited=(S,E)=>{let k=undefined;let w=undefined;const N=S.filter((S=>S.children||S.filteredChildren));const j=N.map((S=>getItemSize(S)));const q=S.filter((S=>!S.children&&!S.filteredChildren));let ee=j.reduce(((S,E)=>S+E),0);if(ee+q.length<=E){k=N.concat(q)}else if(N.length>0&&N.length+Math.min(1,q.length)E){const S=q.length+ee+(w?1:0)-E;const k=Math.max(...j);if(k0&&N.length+Math.min(1,q.length)<=E){k=N.length?collapse(N):undefined;w=q.length}else{w=getTotalItems(S)}return{children:k,filteredChildren:w}};const assetGroup=(S,E)=>{let k=0;for(const E of S){k+=E.size}return{size:k}};const moduleGroup=(S,E)=>{let k=0;const w={};for(const E of S){k+=E.size;for(const S of Object.keys(E.sizes)){w[S]=(w[S]||0)+E.sizes[S]}}return{size:k,sizes:w}};const je={_:(S,E,k)=>{const groupByFlag=(E,k)=>{S.push({getKeys:S=>S[E]?["1"]:undefined,getOptions:()=>({groupChildren:!k,force:k}),createGroup:(S,w,N)=>k?{type:"assets by status",[E]:!!S,filteredChildren:N.length,...assetGroup(w,N)}:{type:"assets by status",[E]:!!S,children:w,...assetGroup(w,N)}})};const{groupAssetsByEmitStatus:w,groupAssetsByPath:N,groupAssetsByExtension:j}=k;if(w){groupByFlag("emitted");groupByFlag("comparedForEmit");groupByFlag("isOverSizeLimit")}if(w||!k.cachedAssets){groupByFlag("cached",!k.cachedAssets)}if(N||j){S.push({getKeys:S=>{const E=j&&/(\.[^.]+)(?:\?.*|$)/.exec(S.name);const k=E?E[1]:"";const w=N&&/(.+)[/\\][^/\\]+(?:\?.*|$)/.exec(S.name);const q=w?w[1].split(/[/\\]/):[];const ee=[];if(N){ee.push(".");if(k)ee.push(q.length?`${q.join("/")}/*${k}`:`*${k}`);while(q.length>0){ee.push(q.join("/")+"/");q.pop()}}else{if(k)ee.push(`*${k}`)}return ee},createGroup:(S,E,k)=>({type:N?"assets by path":"assets by extension",name:S,children:E,...assetGroup(E,k)})})}},groupAssetsByInfo:(S,E,k)=>{const groupByAssetInfoFlag=E=>{S.push({getKeys:S=>S.info&&S.info[E]?["1"]:undefined,createGroup:(S,k,w)=>({type:"assets by info",info:{[E]:!!S},children:k,...assetGroup(k,w)})})};groupByAssetInfoFlag("immutable");groupByAssetInfoFlag("development");groupByAssetInfoFlag("hotModuleReplacement")},groupAssetsByChunk:(S,E,k)=>{const groupByNames=E=>{S.push({getKeys:S=>S[E],createGroup:(S,k,w)=>({type:"assets by chunk",[E]:[S],children:k,...assetGroup(k,w)})})};groupByNames("chunkNames");groupByNames("auxiliaryChunkNames");groupByNames("chunkIdHints");groupByNames("auxiliaryChunkIdHints")},excludeAssets:(S,E,{excludeAssets:k})=>{S.push({getKeys:S=>{const E=S.name;const w=k.some((k=>k(E,S)));if(w)return["excluded"]},getOptions:()=>({groupChildren:false,force:true}),createGroup:(S,E,k)=>({type:"hidden assets",filteredChildren:k.length,...assetGroup(E,k)})})}};const MODULES_GROUPERS=S=>({_:(S,E,k)=>{const groupByFlag=(E,k,w)=>{S.push({getKeys:S=>S[E]?["1"]:undefined,getOptions:()=>({groupChildren:!w,force:w}),createGroup:(S,N,j)=>({type:k,[E]:!!S,...w?{filteredChildren:j.length}:{children:N},...moduleGroup(N,j)})})};const{groupModulesByCacheStatus:w,groupModulesByLayer:N,groupModulesByAttributes:j,groupModulesByType:q,groupModulesByPath:ee,groupModulesByExtension:te}=k;if(j){groupByFlag("errors","modules with errors");groupByFlag("warnings","modules with warnings");groupByFlag("assets","modules with assets");groupByFlag("optional","optional modules")}if(w){groupByFlag("cacheable","cacheable modules");groupByFlag("built","built modules");groupByFlag("codeGenerated","code generated modules")}if(w||!k.cachedModules){groupByFlag("cached","cached modules",!k.cachedModules)}if(j||!k.orphanModules){groupByFlag("orphan","orphan modules",!k.orphanModules)}if(j||!k.dependentModules){groupByFlag("dependent","dependent modules",!k.dependentModules)}if(q||!k.runtimeModules){S.push({getKeys:S=>{if(!S.moduleType)return;if(q){return[S.moduleType.split("/",1)[0]]}else if(S.moduleType==="runtime"){return["runtime"]}},getOptions:S=>{const E=S==="runtime"&&!k.runtimeModules;return{groupChildren:!E,force:E}},createGroup:(S,E,w)=>{const N=S==="runtime"&&!k.runtimeModules;return{type:`${S} modules`,moduleType:S,...N?{filteredChildren:w.length}:{children:E},...moduleGroup(E,w)}}})}if(N){S.push({getKeys:S=>[S.layer],createGroup:(S,E,k)=>({type:"modules by layer",layer:S,children:E,...moduleGroup(E,k)})})}if(ee||te){S.push({getKeys:S=>{if(!S.name)return;const E=Ie(S.name.split("!").pop()).path;const k=te&&/(\.[^.]+)(?:\?.*|$)/.exec(E);const w=k?k[1]:"";const N=ee&&/(.+)[/\\][^/\\]+(?:\?.*|$)/.exec(E);const j=N?N[1].split(/[/\\]/):[];const q=[];if(ee){if(w)q.push(j.length?`${j.join("/")}/*${w}`:`*${w}`);while(j.length>0){q.push(j.join("/")+"/");j.pop()}}else{if(w)q.push(`*${w}`)}return q},createGroup:(S,E,k)=>({type:ee?"modules by path":"modules by extension",name:S,children:E,...moduleGroup(E,k)})})}},excludeModules:(E,k,{excludeModules:w})=>{E.push({getKeys:E=>{const k=E.name;if(k){const N=w.some((w=>w(k,E,S)));if(N)return["1"]}},getOptions:()=>({groupChildren:false,force:true}),createGroup:(S,E,k)=>({type:"hidden modules",filteredChildren:E.length,...moduleGroup(E,k)})})}});const ze={"compilation.assets":je,"asset.related":je,"compilation.modules":MODULES_GROUPERS("module"),"chunk.modules":MODULES_GROUPERS("chunk"),"chunk.rootModules":MODULES_GROUPERS("root-of-chunk"),"module.modules":MODULES_GROUPERS("nested")};const normalizeFieldKey=S=>{if(S[0]==="!"){return S.substr(1)}return S};const sortOrderRegular=S=>{if(S[0]==="!"){return false}return true};const sortByField=S=>{if(!S){const noSort=(S,E)=>0;return noSort}const E=normalizeFieldKey(S);let k=Ce((S=>S[E]),Ee);const w=sortOrderRegular(S);if(!w){const S=k;k=(E,k)=>S(k,E)}return k};const Ue={assetsSort:(S,E,{assetsSort:k})=>{S.push(sortByField(k))},_:S=>{S.push(Ce((S=>S.name),Ee))}};const We={"compilation.chunks":{chunksSort:(S,E,{chunksSort:k})=>{S.push(sortByField(k))}},"compilation.modules":{modulesSort:(S,E,{modulesSort:k})=>{S.push(sortByField(k))}},"chunk.modules":{chunkModulesSort:(S,E,{chunkModulesSort:k})=>{S.push(sortByField(k))}},"module.modules":{nestedModulesSort:(S,E,{nestedModulesSort:k})=>{S.push(sortByField(k))}},"compilation.assets":Ue,"asset.related":Ue};const iterateConfig=(S,E,k)=>{for(const w of Object.keys(S)){const N=S[w];for(const S of Object.keys(N)){if(S!=="_"){if(S.startsWith("!")){if(E[S.slice(1)])continue}else{const k=E[S];if(k===false||k===undefined||Array.isArray(k)&&k.length===0)continue}}k(w,N[S])}}};const $e={"compilation.children[]":"compilation","compilation.modules[]":"module","compilation.entrypoints[]":"chunkGroup","compilation.namedChunkGroups[]":"chunkGroup","compilation.errors[]":"error","compilation.warnings[]":"warning","chunk.modules[]":"module","chunk.rootModules[]":"module","chunk.origins[]":"chunkOrigin","compilation.chunks[]":"chunk","compilation.assets[]":"asset","asset.related[]":"asset","module.issuerPath[]":"moduleIssuer","module.reasons[]":"moduleReason","module.modules[]":"module","module.children[]":"module","moduleTrace[]":"moduleTraceItem","moduleTraceItem.dependencies[]":"moduleTraceDependency"};const mergeToObject=S=>{const E=Object.create(null);for(const k of S){E[k.name]=k}return E};const qe={"compilation.entrypoints":mergeToObject,"compilation.namedChunkGroups":mergeToObject};class DefaultStatsFactoryPlugin{apply(S){S.hooks.compilation.tap("DefaultStatsFactoryPlugin",(S=>{S.hooks.statsFactory.tap("DefaultStatsFactoryPlugin",((E,k,w)=>{iterateConfig(Oe,k,((S,w)=>{E.hooks.extract.for(S).tap("DefaultStatsFactoryPlugin",((S,N,j)=>w(S,N,j,k,E)))}));iterateConfig(Me,k,((S,w)=>{E.hooks.filter.for(S).tap("DefaultStatsFactoryPlugin",((S,E,N,j)=>w(S,E,k,N,j)))}));iterateConfig(Re,k,((S,w)=>{E.hooks.filterResults.for(S).tap("DefaultStatsFactoryPlugin",((S,E,N,j)=>w(S,E,k,N,j)))}));iterateConfig(Be,k,((S,w)=>{E.hooks.sort.for(S).tap("DefaultStatsFactoryPlugin",((S,E)=>w(S,E,k)))}));iterateConfig(We,k,((S,w)=>{E.hooks.sortResults.for(S).tap("DefaultStatsFactoryPlugin",((S,E)=>w(S,E,k)))}));iterateConfig(ze,k,((S,w)=>{E.hooks.groupResults.for(S).tap("DefaultStatsFactoryPlugin",((S,E)=>w(S,E,k)))}));for(const S of Object.keys($e)){const k=$e[S];E.hooks.getItemName.for(S).tap("DefaultStatsFactoryPlugin",(()=>k))}for(const S of Object.keys(qe)){const k=qe[S];E.hooks.merge.for(S).tap("DefaultStatsFactoryPlugin",k)}if(k.children){if(Array.isArray(k.children)){E.hooks.getItemFactory.for("compilation.children[].compilation").tap("DefaultStatsFactoryPlugin",((E,{_index:N})=>{if(NN))}}}))}))}}S.exports=DefaultStatsFactoryPlugin},7391:(S,E,k)=>{"use strict";const w=k(80910);const applyDefaults=(S,E)=>{for(const k of Object.keys(E)){if(typeof S[k]==="undefined"){S[k]=E[k]}}};const N={verbose:{hash:true,builtAt:true,relatedAssets:true,entrypoints:true,chunkGroups:true,ids:true,modules:false,chunks:true,chunkRelations:true,chunkModules:true,dependentModules:true,chunkOrigins:true,depth:true,env:true,reasons:true,usedExports:true,providedExports:true,optimizationBailout:true,errorDetails:true,errorStack:true,publicPath:true,logging:"verbose",orphanModules:true,runtimeModules:true,exclude:false,modulesSpace:Infinity,chunkModulesSpace:Infinity,assetsSpace:Infinity,children:true},detailed:{hash:true,builtAt:true,relatedAssets:true,entrypoints:true,chunkGroups:true,ids:true,chunks:true,chunkRelations:true,chunkModules:false,chunkOrigins:true,depth:true,usedExports:true,providedExports:true,optimizationBailout:true,errorDetails:true,publicPath:true,logging:true,runtimeModules:true,exclude:false,modulesSpace:Infinity,assetsSpace:Infinity},minimal:{all:false,version:true,timings:true,modules:true,modulesSpace:0,assets:true,assetsSpace:0,errors:true,errorsCount:true,warnings:true,warningsCount:true,logging:"warn"},"errors-only":{all:false,errors:true,errorsCount:true,moduleTrace:true,logging:"error"},"errors-warnings":{all:false,errors:true,errorsCount:true,warnings:true,warningsCount:true,logging:"warn"},summary:{all:false,version:true,errorsCount:true,warningsCount:true},none:{all:false}};const NORMAL_ON=({all:S})=>S!==false;const NORMAL_OFF=({all:S})=>S===true;const ON_FOR_TO_STRING=({all:S},{forToString:E})=>E?S!==false:S===true;const OFF_FOR_TO_STRING=({all:S},{forToString:E})=>E?S===true:S!==false;const AUTO_FOR_TO_STRING=({all:S},{forToString:E})=>{if(S===false)return false;if(S===true)return true;if(E)return"auto";return true};const j={context:(S,E,k)=>k.compiler.context,requestShortener:(S,E,k)=>k.compiler.context===S.context?k.requestShortener:new w(S.context,k.compiler.root),performance:NORMAL_ON,hash:OFF_FOR_TO_STRING,env:NORMAL_OFF,version:NORMAL_ON,timings:NORMAL_ON,builtAt:OFF_FOR_TO_STRING,assets:NORMAL_ON,entrypoints:AUTO_FOR_TO_STRING,chunkGroups:OFF_FOR_TO_STRING,chunkGroupAuxiliary:OFF_FOR_TO_STRING,chunkGroupChildren:OFF_FOR_TO_STRING,chunkGroupMaxAssets:(S,{forToString:E})=>E?5:Infinity,chunks:OFF_FOR_TO_STRING,chunkRelations:OFF_FOR_TO_STRING,chunkModules:({all:S,modules:E})=>{if(S===false)return false;if(S===true)return true;if(E)return false;return true},dependentModules:OFF_FOR_TO_STRING,chunkOrigins:OFF_FOR_TO_STRING,ids:OFF_FOR_TO_STRING,modules:({all:S,chunks:E,chunkModules:k},{forToString:w})=>{if(S===false)return false;if(S===true)return true;if(w&&E&&k)return false;return true},nestedModules:OFF_FOR_TO_STRING,groupModulesByType:ON_FOR_TO_STRING,groupModulesByCacheStatus:ON_FOR_TO_STRING,groupModulesByLayer:ON_FOR_TO_STRING,groupModulesByAttributes:ON_FOR_TO_STRING,groupModulesByPath:ON_FOR_TO_STRING,groupModulesByExtension:ON_FOR_TO_STRING,modulesSpace:(S,{forToString:E})=>E?15:Infinity,chunkModulesSpace:(S,{forToString:E})=>E?10:Infinity,nestedModulesSpace:(S,{forToString:E})=>E?10:Infinity,relatedAssets:OFF_FOR_TO_STRING,groupAssetsByEmitStatus:ON_FOR_TO_STRING,groupAssetsByInfo:ON_FOR_TO_STRING,groupAssetsByPath:ON_FOR_TO_STRING,groupAssetsByExtension:ON_FOR_TO_STRING,groupAssetsByChunk:ON_FOR_TO_STRING,assetsSpace:(S,{forToString:E})=>E?15:Infinity,orphanModules:OFF_FOR_TO_STRING,runtimeModules:({all:S,runtime:E},{forToString:k})=>E!==undefined?E:k?S===true:S!==false,cachedModules:({all:S,cached:E},{forToString:k})=>E!==undefined?E:k?S===true:S!==false,moduleAssets:OFF_FOR_TO_STRING,depth:OFF_FOR_TO_STRING,cachedAssets:OFF_FOR_TO_STRING,reasons:OFF_FOR_TO_STRING,usedExports:OFF_FOR_TO_STRING,providedExports:OFF_FOR_TO_STRING,optimizationBailout:OFF_FOR_TO_STRING,children:OFF_FOR_TO_STRING,source:NORMAL_OFF,moduleTrace:NORMAL_ON,errors:NORMAL_ON,errorsCount:NORMAL_ON,errorDetails:AUTO_FOR_TO_STRING,errorStack:OFF_FOR_TO_STRING,warnings:NORMAL_ON,warningsCount:NORMAL_ON,publicPath:OFF_FOR_TO_STRING,logging:({all:S},{forToString:E})=>E&&S!==false?"info":false,loggingDebug:()=>[],loggingTrace:OFF_FOR_TO_STRING,excludeModules:()=>[],excludeAssets:()=>[],modulesSort:()=>"depth",chunkModulesSort:()=>"name",nestedModulesSort:()=>false,chunksSort:()=>false,assetsSort:()=>"!size",outputPath:OFF_FOR_TO_STRING,colors:()=>false};const normalizeFilter=S=>{if(typeof S==="string"){const E=new RegExp(`[\\\\/]${S.replace(/[-[\]{}()*+?.\\^$|]/g,"\\$&")}([\\\\/]|$|!|\\?)`);return S=>E.test(S)}if(S&&typeof S==="object"&&typeof S.test==="function"){return E=>S.test(E)}if(typeof S==="function"){return S}if(typeof S==="boolean"){return()=>S}};const q={excludeModules:S=>{if(!Array.isArray(S)){S=S?[S]:[]}return S.map(normalizeFilter)},excludeAssets:S=>{if(!Array.isArray(S)){S=S?[S]:[]}return S.map(normalizeFilter)},warningsFilter:S=>{if(!Array.isArray(S)){S=S?[S]:[]}return S.map((S=>{if(typeof S==="string"){return(E,k)=>k.includes(S)}if(S instanceof RegExp){return(E,k)=>S.test(k)}if(typeof S==="function"){return S}throw new Error(`Can only filter warnings with Strings or RegExps. (Given: ${S})`)}))},logging:S=>{if(S===true)S="log";return S},loggingDebug:S=>{if(!Array.isArray(S)){S=S?[S]:[]}return S.map(normalizeFilter)}};class DefaultStatsPresetPlugin{apply(S){S.hooks.compilation.tap("DefaultStatsPresetPlugin",(S=>{for(const E of Object.keys(N)){const k=N[E];S.hooks.statsPreset.for(E).tap("DefaultStatsPresetPlugin",((S,E)=>{applyDefaults(S,k)}))}S.hooks.statsNormalize.tap("DefaultStatsPresetPlugin",((E,k)=>{for(const w of Object.keys(j)){if(E[w]===undefined)E[w]=j[w](E,k,S)}for(const S of Object.keys(q)){E[S]=q[S](E[S])}}))}))}}S.exports=DefaultStatsPresetPlugin},61762:(S,E,k)=>{"use strict";const plural=(S,E,k)=>S===1?E:k;const printSizes=(S,{formatSize:E=(S=>`${S}`)})=>{const k=Object.keys(S);if(k.length>1){return k.map((k=>`${E(S[k])} (${k})`)).join(" ")}else if(k.length===1){return E(S[k[0]])}};const mapLines=(S,E)=>S.split("\n").map(E).join("\n");const twoDigit=S=>S>=10?`${S}`:`0${S}`;const isValidId=S=>typeof S==="number"||S;const w={"compilation.summary!":(S,{type:E,bold:k,green:w,red:N,yellow:j,formatDateTime:q,formatTime:ee,compilation:{name:te,hash:ne,version:ae,time:_e,builtAt:ve,errorsCount:Ee,warningsCount:Te}})=>{const Ce=E==="compilation.summary!";const we=Te>0?j(`${Te} ${plural(Te,"warning","warnings")}`):"";const Ne=Ee>0?N(`${Ee} ${plural(Ee,"error","errors")}`):"";const Ie=Ce&&_e?` in ${ee(_e)}`:"";const Fe=ne?` (${ne})`:"";const Oe=Ce&&ve?`${q(ve)}: `:"";const Me=Ce&&ae?`webpack ${ae}`:"";const Re=Ce&&te?k(te):te?`Child ${k(te)}`:Ce?"":"Child";const Le=Re&&Me?`${Re} (${Me})`:Me||Re||"webpack";let Be;if(Ne&&we){Be=`compiled with ${Ne} and ${we}`}else if(Ne){Be=`compiled with ${Ne}`}else if(we){Be=`compiled with ${we}`}else if(Ee===0&&Te===0){Be=`compiled ${w("successfully")}`}else{Be=`compiled`}if(Oe||Me||Ne||we||Ee===0&&Te===0||Ie||Fe)return`${Oe}${Le} ${Be}${Ie}${Fe}`},"compilation.filteredWarningDetailsCount":S=>S?`${S} ${plural(S,"warning has","warnings have")} detailed information that is not shown.\nUse 'stats.errorDetails: true' resp. '--stats-error-details' to show it.`:undefined,"compilation.filteredErrorDetailsCount":(S,{yellow:E})=>S?E(`${S} ${plural(S,"error has","errors have")} detailed information that is not shown.\nUse 'stats.errorDetails: true' resp. '--stats-error-details' to show it.`):undefined,"compilation.env":(S,{bold:E})=>S?`Environment (--env): ${E(JSON.stringify(S,null,2))}`:undefined,"compilation.publicPath":(S,{bold:E})=>`PublicPath: ${E(S||"(none)")}`,"compilation.entrypoints":(S,E,k)=>Array.isArray(S)?undefined:k.print(E.type,Object.values(S),{...E,chunkGroupKind:"Entrypoint"}),"compilation.namedChunkGroups":(S,E,k)=>{if(!Array.isArray(S)){const{compilation:{entrypoints:w}}=E;let N=Object.values(S);if(w){N=N.filter((S=>!Object.prototype.hasOwnProperty.call(w,S.name)))}return k.print(E.type,N,{...E,chunkGroupKind:"Chunk Group"})}},"compilation.assetsByChunkName":()=>"","compilation.filteredModules":S=>S>0?`${S} ${plural(S,"module","modules")}`:undefined,"compilation.filteredAssets":(S,{compilation:{assets:E}})=>S>0?`${S} ${plural(S,"asset","assets")}`:undefined,"compilation.logging":(S,E,k)=>Array.isArray(S)?undefined:k.print(E.type,Object.entries(S).map((([S,E])=>({...E,name:S}))),E),"compilation.warningsInChildren!":(S,{yellow:E,compilation:k})=>{if(!k.children&&k.warningsCount>0&&k.warnings){const S=k.warningsCount-k.warnings.length;if(S>0){return E(`${S} ${plural(S,"WARNING","WARNINGS")} in child compilations${k.children?"":" (Use 'stats.children: true' resp. '--stats-children' for more details)"}`)}}},"compilation.errorsInChildren!":(S,{red:E,compilation:k})=>{if(!k.children&&k.errorsCount>0&&k.errors){const S=k.errorsCount-k.errors.length;if(S>0){return E(`${S} ${plural(S,"ERROR","ERRORS")} in child compilations${k.children?"":" (Use 'stats.children: true' resp. '--stats-children' for more details)"}`)}}},"asset.type":S=>S,"asset.name":(S,{formatFilename:E,asset:{isOverSizeLimit:k}})=>E(S,k),"asset.size":(S,{asset:{isOverSizeLimit:E},yellow:k,green:w,formatSize:N})=>E?k(N(S)):N(S),"asset.emitted":(S,{green:E,formatFlag:k})=>S?E(k("emitted")):undefined,"asset.comparedForEmit":(S,{yellow:E,formatFlag:k})=>S?E(k("compared for emit")):undefined,"asset.cached":(S,{green:E,formatFlag:k})=>S?E(k("cached")):undefined,"asset.isOverSizeLimit":(S,{yellow:E,formatFlag:k})=>S?E(k("big")):undefined,"asset.info.immutable":(S,{green:E,formatFlag:k})=>S?E(k("immutable")):undefined,"asset.info.javascriptModule":(S,{formatFlag:E})=>S?E("javascript module"):undefined,"asset.info.sourceFilename":(S,{formatFlag:E})=>S?E(S===true?"from source file":`from: ${S}`):undefined,"asset.info.development":(S,{green:E,formatFlag:k})=>S?E(k("dev")):undefined,"asset.info.hotModuleReplacement":(S,{green:E,formatFlag:k})=>S?E(k("hmr")):undefined,"asset.separator!":()=>"\n","asset.filteredRelated":(S,{asset:{related:E}})=>S>0?`${S} related ${plural(S,"asset","assets")}`:undefined,"asset.filteredChildren":S=>S>0?`${S} ${plural(S,"asset","assets")}`:undefined,assetChunk:(S,{formatChunkId:E})=>E(S),assetChunkName:S=>S,assetChunkIdHint:S=>S,"module.type":S=>S!=="module"?S:undefined,"module.id":(S,{formatModuleId:E})=>isValidId(S)?E(S):undefined,"module.name":(S,{bold:E})=>{const[,k,w]=/^(.*!)?([^!]*)$/.exec(S);return(k||"")+E(w)},"module.identifier":S=>undefined,"module.layer":(S,{formatLayer:E})=>S?E(S):undefined,"module.sizes":printSizes,"module.chunks[]":(S,{formatChunkId:E})=>E(S),"module.depth":(S,{formatFlag:E})=>S!==null?E(`depth ${S}`):undefined,"module.cacheable":(S,{formatFlag:E,red:k})=>S===false?k(E("not cacheable")):undefined,"module.orphan":(S,{formatFlag:E,yellow:k})=>S?k(E("orphan")):undefined,"module.runtime":(S,{formatFlag:E,yellow:k})=>S?k(E("runtime")):undefined,"module.optional":(S,{formatFlag:E,yellow:k})=>S?k(E("optional")):undefined,"module.dependent":(S,{formatFlag:E,cyan:k})=>S?k(E("dependent")):undefined,"module.built":(S,{formatFlag:E,yellow:k})=>S?k(E("built")):undefined,"module.codeGenerated":(S,{formatFlag:E,yellow:k})=>S?k(E("code generated")):undefined,"module.buildTimeExecuted":(S,{formatFlag:E,green:k})=>S?k(E("build time executed")):undefined,"module.cached":(S,{formatFlag:E,green:k})=>S?k(E("cached")):undefined,"module.assets":(S,{formatFlag:E,magenta:k})=>S&&S.length?k(E(`${S.length} ${plural(S.length,"asset","assets")}`)):undefined,"module.warnings":(S,{formatFlag:E,yellow:k})=>S===true?k(E("warnings")):S?k(E(`${S} ${plural(S,"warning","warnings")}`)):undefined,"module.errors":(S,{formatFlag:E,red:k})=>S===true?k(E("errors")):S?k(E(`${S} ${plural(S,"error","errors")}`)):undefined,"module.providedExports":(S,{formatFlag:E,cyan:k})=>{if(Array.isArray(S)){if(S.length===0)return k(E("no exports"));return k(E(`exports: ${S.join(", ")}`))}},"module.usedExports":(S,{formatFlag:E,cyan:k,module:w})=>{if(S!==true){if(S===null)return k(E("used exports unknown"));if(S===false)return k(E("module unused"));if(Array.isArray(S)){if(S.length===0)return k(E("no exports used"));const N=Array.isArray(w.providedExports)?w.providedExports.length:null;if(N!==null&&N===S.length){return k(E("all exports used"))}else{return k(E(`only some exports used: ${S.join(", ")}`))}}}},"module.optimizationBailout[]":(S,{yellow:E})=>E(S),"module.issuerPath":(S,{module:E})=>E.profile?undefined:"","module.profile":S=>undefined,"module.filteredModules":S=>S>0?`${S} nested ${plural(S,"module","modules")}`:undefined,"module.filteredChildren":S=>S>0?`${S} ${plural(S,"module","modules")}`:undefined,"module.separator!":()=>"\n","moduleIssuer.id":(S,{formatModuleId:E})=>E(S),"moduleIssuer.profile.total":(S,{formatTime:E})=>E(S),"moduleReason.type":S=>S,"moduleReason.userRequest":(S,{cyan:E})=>E(S),"moduleReason.moduleId":(S,{formatModuleId:E})=>isValidId(S)?E(S):undefined,"moduleReason.module":(S,{magenta:E})=>E(S),"moduleReason.loc":S=>S,"moduleReason.explanation":(S,{cyan:E})=>E(S),"moduleReason.active":(S,{formatFlag:E})=>S?undefined:E("inactive"),"moduleReason.resolvedModule":(S,{magenta:E})=>E(S),"module.profile.total":(S,{formatTime:E})=>E(S),"module.profile.resolving":(S,{formatTime:E})=>`resolving: ${E(S)}`,"module.profile.restoring":(S,{formatTime:E})=>`restoring: ${E(S)}`,"module.profile.integration":(S,{formatTime:E})=>`integration: ${E(S)}`,"module.profile.building":(S,{formatTime:E})=>`building: ${E(S)}`,"module.profile.storing":(S,{formatTime:E})=>`storing: ${E(S)}`,"module.profile.additionalResolving":(S,{formatTime:E})=>S?`additional resolving: ${E(S)}`:undefined,"module.profile.additionalIntegration":(S,{formatTime:E})=>S?`additional integration: ${E(S)}`:undefined,"chunkGroup.kind!":(S,{chunkGroupKind:E})=>E,"chunkGroup.separator!":()=>"\n","chunkGroup.name":(S,{bold:E})=>E(S),"chunkGroup.isOverSizeLimit":(S,{formatFlag:E,yellow:k})=>S?k(E("big")):undefined,"chunkGroup.assetsSize":(S,{formatSize:E})=>S?E(S):undefined,"chunkGroup.auxiliaryAssetsSize":(S,{formatSize:E})=>S?`(${E(S)})`:undefined,"chunkGroup.filteredAssets":S=>S>0?`${S} ${plural(S,"asset","assets")}`:undefined,"chunkGroup.filteredAuxiliaryAssets":S=>S>0?`${S} auxiliary ${plural(S,"asset","assets")}`:undefined,"chunkGroup.is!":()=>"=","chunkGroupAsset.name":(S,{green:E})=>E(S),"chunkGroupAsset.size":(S,{formatSize:E,chunkGroup:k})=>k.assets.length>1||k.auxiliaryAssets&&k.auxiliaryAssets.length>0?E(S):undefined,"chunkGroup.children":(S,E,k)=>Array.isArray(S)?undefined:k.print(E.type,Object.keys(S).map((E=>({type:E,children:S[E]}))),E),"chunkGroupChildGroup.type":S=>`${S}:`,"chunkGroupChild.assets[]":(S,{formatFilename:E})=>E(S),"chunkGroupChild.chunks[]":(S,{formatChunkId:E})=>E(S),"chunkGroupChild.name":S=>S?`(name: ${S})`:undefined,"chunk.id":(S,{formatChunkId:E})=>E(S),"chunk.files[]":(S,{formatFilename:E})=>E(S),"chunk.names[]":S=>S,"chunk.idHints[]":S=>S,"chunk.runtime[]":S=>S,"chunk.sizes":(S,E)=>printSizes(S,E),"chunk.parents[]":(S,E)=>E.formatChunkId(S,"parent"),"chunk.siblings[]":(S,E)=>E.formatChunkId(S,"sibling"),"chunk.children[]":(S,E)=>E.formatChunkId(S,"child"),"chunk.childrenByOrder":(S,E,k)=>Array.isArray(S)?undefined:k.print(E.type,Object.keys(S).map((E=>({type:E,children:S[E]}))),E),"chunk.childrenByOrder[].type":S=>`${S}:`,"chunk.childrenByOrder[].children[]":(S,{formatChunkId:E})=>isValidId(S)?E(S):undefined,"chunk.entry":(S,{formatFlag:E,yellow:k})=>S?k(E("entry")):undefined,"chunk.initial":(S,{formatFlag:E,yellow:k})=>S?k(E("initial")):undefined,"chunk.rendered":(S,{formatFlag:E,green:k})=>S?k(E("rendered")):undefined,"chunk.recorded":(S,{formatFlag:E,green:k})=>S?k(E("recorded")):undefined,"chunk.reason":(S,{yellow:E})=>S?E(S):undefined,"chunk.filteredModules":S=>S>0?`${S} chunk ${plural(S,"module","modules")}`:undefined,"chunk.separator!":()=>"\n","chunkOrigin.request":S=>S,"chunkOrigin.moduleId":(S,{formatModuleId:E})=>isValidId(S)?E(S):undefined,"chunkOrigin.moduleName":(S,{bold:E})=>E(S),"chunkOrigin.loc":S=>S,"error.compilerPath":(S,{bold:E})=>S?E(`(${S})`):undefined,"error.chunkId":(S,{formatChunkId:E})=>isValidId(S)?E(S):undefined,"error.chunkEntry":(S,{formatFlag:E})=>S?E("entry"):undefined,"error.chunkInitial":(S,{formatFlag:E})=>S?E("initial"):undefined,"error.file":(S,{bold:E})=>E(S),"error.moduleName":(S,{bold:E})=>S.includes("!")?`${E(S.replace(/^(\s|\S)*!/,""))} (${S})`:`${E(S)}`,"error.loc":(S,{green:E})=>E(S),"error.message":(S,{bold:E,formatError:k})=>S.includes("[")?S:E(k(S)),"error.details":(S,{formatError:E})=>E(S),"error.stack":S=>S,"error.moduleTrace":S=>undefined,"error.separator!":()=>"\n","loggingEntry(error).loggingEntry.message":(S,{red:E})=>mapLines(S,(S=>` ${E(S)}`)),"loggingEntry(warn).loggingEntry.message":(S,{yellow:E})=>mapLines(S,(S=>` ${E(S)}`)),"loggingEntry(info).loggingEntry.message":(S,{green:E})=>mapLines(S,(S=>` ${E(S)}`)),"loggingEntry(log).loggingEntry.message":(S,{bold:E})=>mapLines(S,(S=>` ${E(S)}`)),"loggingEntry(debug).loggingEntry.message":S=>mapLines(S,(S=>` ${S}`)),"loggingEntry(trace).loggingEntry.message":S=>mapLines(S,(S=>` ${S}`)),"loggingEntry(status).loggingEntry.message":(S,{magenta:E})=>mapLines(S,(S=>` ${E(S)}`)),"loggingEntry(profile).loggingEntry.message":(S,{magenta:E})=>mapLines(S,(S=>`

${E(S)}`)),"loggingEntry(profileEnd).loggingEntry.message":(S,{magenta:E})=>mapLines(S,(S=>`

${E(S)}`)),"loggingEntry(time).loggingEntry.message":(S,{magenta:E})=>mapLines(S,(S=>` ${E(S)}`)),"loggingEntry(group).loggingEntry.message":(S,{cyan:E})=>mapLines(S,(S=>`<-> ${E(S)}`)),"loggingEntry(groupCollapsed).loggingEntry.message":(S,{cyan:E})=>mapLines(S,(S=>`<+> ${E(S)}`)),"loggingEntry(clear).loggingEntry":()=>" -------","loggingEntry(groupCollapsed).loggingEntry.children":()=>"","loggingEntry.trace[]":S=>S?mapLines(S,(S=>`| ${S}`)):undefined,"moduleTraceItem.originName":S=>S,loggingGroup:S=>S.entries.length===0?"":undefined,"loggingGroup.debug":(S,{red:E})=>S?E("DEBUG"):undefined,"loggingGroup.name":(S,{bold:E})=>E(`LOG from ${S}`),"loggingGroup.separator!":()=>"\n","loggingGroup.filteredEntries":S=>S>0?`+ ${S} hidden lines`:undefined,"moduleTraceDependency.loc":S=>S};const N={"compilation.assets[]":"asset","compilation.modules[]":"module","compilation.chunks[]":"chunk","compilation.entrypoints[]":"chunkGroup","compilation.namedChunkGroups[]":"chunkGroup","compilation.errors[]":"error","compilation.warnings[]":"error","compilation.logging[]":"loggingGroup","compilation.children[]":"compilation","asset.related[]":"asset","asset.children[]":"asset","asset.chunks[]":"assetChunk","asset.auxiliaryChunks[]":"assetChunk","asset.chunkNames[]":"assetChunkName","asset.chunkIdHints[]":"assetChunkIdHint","asset.auxiliaryChunkNames[]":"assetChunkName","asset.auxiliaryChunkIdHints[]":"assetChunkIdHint","chunkGroup.assets[]":"chunkGroupAsset","chunkGroup.auxiliaryAssets[]":"chunkGroupAsset","chunkGroupChild.assets[]":"chunkGroupAsset","chunkGroupChild.auxiliaryAssets[]":"chunkGroupAsset","chunkGroup.children[]":"chunkGroupChildGroup","chunkGroupChildGroup.children[]":"chunkGroupChild","module.modules[]":"module","module.children[]":"module","module.reasons[]":"moduleReason","module.issuerPath[]":"moduleIssuer","chunk.origins[]":"chunkOrigin","chunk.modules[]":"module","loggingGroup.entries[]":S=>`loggingEntry(${S.type}).loggingEntry`,"loggingEntry.children[]":S=>`loggingEntry(${S.type}).loggingEntry`,"error.moduleTrace[]":"moduleTraceItem","moduleTraceItem.dependencies[]":"moduleTraceDependency"};const j=["compilerPath","chunkId","chunkEntry","chunkInitial","file","separator!","moduleName","loc","separator!","message","separator!","details","separator!","stack","separator!","missing","separator!","moduleTrace"];const q={compilation:["name","hash","version","time","builtAt","env","publicPath","assets","filteredAssets","entrypoints","namedChunkGroups","chunks","modules","filteredModules","children","logging","warnings","warningsInChildren!","filteredWarningDetailsCount","errors","errorsInChildren!","filteredErrorDetailsCount","summary!","needAdditionalPass"],asset:["type","name","size","chunks","auxiliaryChunks","emitted","comparedForEmit","cached","info","isOverSizeLimit","chunkNames","auxiliaryChunkNames","chunkIdHints","auxiliaryChunkIdHints","related","filteredRelated","children","filteredChildren"],"asset.info":["immutable","sourceFilename","javascriptModule","development","hotModuleReplacement"],chunkGroup:["kind!","name","isOverSizeLimit","assetsSize","auxiliaryAssetsSize","is!","assets","filteredAssets","auxiliaryAssets","filteredAuxiliaryAssets","separator!","children"],chunkGroupAsset:["name","size"],chunkGroupChildGroup:["type","children"],chunkGroupChild:["assets","chunks","name"],module:["type","name","identifier","id","layer","sizes","chunks","depth","cacheable","orphan","runtime","optional","dependent","built","codeGenerated","cached","assets","failed","warnings","errors","children","filteredChildren","providedExports","usedExports","optimizationBailout","reasons","issuerPath","profile","modules","filteredModules"],moduleReason:["active","type","userRequest","moduleId","module","resolvedModule","loc","explanation"],"module.profile":["total","separator!","resolving","restoring","integration","building","storing","additionalResolving","additionalIntegration"],chunk:["id","runtime","files","names","idHints","sizes","parents","siblings","children","childrenByOrder","entry","initial","rendered","recorded","reason","separator!","origins","separator!","modules","separator!","filteredModules"],chunkOrigin:["request","moduleId","moduleName","loc"],error:j,warning:j,"chunk.childrenByOrder[]":["type","children"],loggingGroup:["debug","name","separator!","entries","separator!","filteredEntries"],loggingEntry:["message","trace","children"]};const itemsJoinOneLine=S=>S.filter(Boolean).join(" ");const itemsJoinOneLineBrackets=S=>S.length>0?`(${S.filter(Boolean).join(" ")})`:undefined;const itemsJoinMoreSpacing=S=>S.filter(Boolean).join("\n\n");const itemsJoinComma=S=>S.filter(Boolean).join(", ");const itemsJoinCommaBrackets=S=>S.length>0?`(${S.filter(Boolean).join(", ")})`:undefined;const itemsJoinCommaBracketsWithName=S=>E=>E.length>0?`(${S}: ${E.filter(Boolean).join(", ")})`:undefined;const ee={"chunk.parents":itemsJoinOneLine,"chunk.siblings":itemsJoinOneLine,"chunk.children":itemsJoinOneLine,"chunk.names":itemsJoinCommaBrackets,"chunk.idHints":itemsJoinCommaBracketsWithName("id hint"),"chunk.runtime":itemsJoinCommaBracketsWithName("runtime"),"chunk.files":itemsJoinComma,"chunk.childrenByOrder":itemsJoinOneLine,"chunk.childrenByOrder[].children":itemsJoinOneLine,"chunkGroup.assets":itemsJoinOneLine,"chunkGroup.auxiliaryAssets":itemsJoinOneLineBrackets,"chunkGroupChildGroup.children":itemsJoinComma,"chunkGroupChild.assets":itemsJoinOneLine,"chunkGroupChild.auxiliaryAssets":itemsJoinOneLineBrackets,"asset.chunks":itemsJoinComma,"asset.auxiliaryChunks":itemsJoinCommaBrackets,"asset.chunkNames":itemsJoinCommaBracketsWithName("name"),"asset.auxiliaryChunkNames":itemsJoinCommaBracketsWithName("auxiliary name"),"asset.chunkIdHints":itemsJoinCommaBracketsWithName("id hint"),"asset.auxiliaryChunkIdHints":itemsJoinCommaBracketsWithName("auxiliary id hint"),"module.chunks":itemsJoinOneLine,"module.issuerPath":S=>S.filter(Boolean).map((S=>`${S} ->`)).join(" "),"compilation.errors":itemsJoinMoreSpacing,"compilation.warnings":itemsJoinMoreSpacing,"compilation.logging":itemsJoinMoreSpacing,"compilation.children":S=>indent(itemsJoinMoreSpacing(S)," "),"moduleTraceItem.dependencies":itemsJoinOneLine,"loggingEntry.children":S=>indent(S.filter(Boolean).join("\n")," ",false)};const joinOneLine=S=>S.map((S=>S.content)).filter(Boolean).join(" ");const joinInBrackets=S=>{const E=[];let k=0;for(const w of S){if(w.element==="separator!"){switch(k){case 0:case 1:k+=2;break;case 4:E.push(")");k=3;break}}if(!w.content)continue;switch(k){case 0:k=1;break;case 1:E.push(" ");break;case 2:E.push("(");k=4;break;case 3:E.push(" (");k=4;break;case 4:E.push(", ");break}E.push(w.content)}if(k===4)E.push(")");return E.join("")};const indent=(S,E,k)=>{const w=S.replace(/\n([^\n])/g,"\n"+E+"$1");if(k)return w;const N=S[0]==="\n"?"":E;return N+w};const joinExplicitNewLine=(S,E)=>{let k=true;let w=true;return S.map((S=>{if(!S||!S.content)return;let N=indent(S.content,w?"":E,!k);if(k){N=N.replace(/^\n+/,"")}if(!N)return;w=false;const j=k||N.startsWith("\n");k=N.endsWith("\n");return j?N:" "+N})).filter(Boolean).join("").trim()};const joinError=S=>(E,{red:k,yellow:w})=>`${S?k("ERROR"):w("WARNING")} in ${joinExplicitNewLine(E,"")}`;const te={compilation:S=>{const E=[];let k=false;for(const w of S){if(!w.content)continue;const S=w.element==="warnings"||w.element==="filteredWarningDetailsCount"||w.element==="errors"||w.element==="filteredErrorDetailsCount"||w.element==="logging";if(E.length!==0){E.push(S||k?"\n\n":"\n")}E.push(w.content);k=S}if(k)E.push("\n");return E.join("")},asset:S=>joinExplicitNewLine(S.map((S=>{if((S.element==="related"||S.element==="children")&&S.content){return{...S,content:`\n${S.content}\n`}}return S}))," "),"asset.info":joinOneLine,module:(S,{module:E})=>{let k=false;return joinExplicitNewLine(S.map((S=>{switch(S.element){case"id":if(E.id===E.name){if(k)return false;if(S.content)k=true}break;case"name":if(k)return false;if(S.content)k=true;break;case"providedExports":case"usedExports":case"optimizationBailout":case"reasons":case"issuerPath":case"profile":case"children":case"modules":if(S.content){return{...S,content:`\n${S.content}\n`}}break}return S}))," ")},chunk:S=>{let E=false;return"chunk "+joinExplicitNewLine(S.filter((S=>{switch(S.element){case"entry":if(S.content)E=true;break;case"initial":if(E)return false;break}return true}))," ")},"chunk.childrenByOrder[]":S=>`(${joinOneLine(S)})`,chunkGroup:S=>joinExplicitNewLine(S," "),chunkGroupAsset:joinOneLine,chunkGroupChildGroup:joinOneLine,chunkGroupChild:joinOneLine,moduleReason:(S,{moduleReason:E})=>{let k=false;return joinOneLine(S.filter((S=>{switch(S.element){case"moduleId":if(E.moduleId===E.module&&S.content)k=true;break;case"module":if(k)return false;break;case"resolvedModule":return E.module!==E.resolvedModule&&S.content}return true})))},"module.profile":joinInBrackets,moduleIssuer:joinOneLine,chunkOrigin:S=>"> "+joinOneLine(S),"errors[].error":joinError(true),"warnings[].error":joinError(false),loggingGroup:S=>joinExplicitNewLine(S,"").trimRight(),moduleTraceItem:S=>" @ "+joinOneLine(S),moduleTraceDependency:joinOneLine};const ne={bold:"",yellow:"",red:"",green:"",cyan:"",magenta:""};const ae={formatChunkId:(S,{yellow:E},k)=>{switch(k){case"parent":return`<{${E(S)}}>`;case"sibling":return`={${E(S)}}=`;case"child":return`>{${E(S)}}<`;default:return`{${E(S)}}`}},formatModuleId:S=>`[${S}]`,formatFilename:(S,{green:E,yellow:k},w)=>(w?k:E)(S),formatFlag:S=>`[${S}]`,formatLayer:S=>`(in ${S})`,formatSize:k(9192).formatSize,formatDateTime:(S,{bold:E})=>{const k=new Date(S);const w=twoDigit;const N=`${k.getFullYear()}-${w(k.getMonth()+1)}-${w(k.getDate())}`;const j=`${w(k.getHours())}:${w(k.getMinutes())}:${w(k.getSeconds())}`;return`${N} ${E(j)}`},formatTime:(S,{timeReference:E,bold:k,green:w,yellow:N,red:j},q)=>{const ee=" ms";if(E&&S!==E){const q=[E/2,E/4,E/8,E/16];if(S{if(S.includes("["))return S;const N=[{regExp:/(Did you mean .+)/g,format:E},{regExp:/(Set 'mode' option to 'development' or 'production')/g,format:E},{regExp:/(\(module has no exports\))/g,format:w},{regExp:/\(possible exports: (.+)\)/g,format:E},{regExp:/\s*(.+ doesn't exist)/g,format:w},{regExp:/('\w+' option has not been set)/g,format:w},{regExp:/(Emitted value instead of an instance of Error)/g,format:k},{regExp:/(Used? .+ instead)/gi,format:k},{regExp:/\b(deprecated|must|required)\b/g,format:k},{regExp:/\b(BREAKING CHANGE)\b/gi,format:w},{regExp:/\b(error|failed|unexpected|invalid|not found|not supported|not available|not possible|not implemented|doesn't support|conflict|conflicting|not existing|duplicate)\b/gi,format:w}];for(const{regExp:E,format:k}of N){S=S.replace(E,((S,E)=>S.replace(E,k(E))))}return S}};const _e={"module.modules":S=>indent(S,"| ")};const createOrder=(S,E)=>{const k=S.slice();const w=new Set(S);const N=new Set;S.length=0;for(const k of E){if(k.endsWith("!")||w.has(k)){S.push(k);N.add(k)}}for(const E of k){if(!N.has(E)){S.push(E)}}return S};class DefaultStatsPrinterPlugin{apply(S){S.hooks.compilation.tap("DefaultStatsPrinterPlugin",(S=>{S.hooks.statsPrinter.tap("DefaultStatsPrinterPlugin",((S,E,k)=>{S.hooks.print.for("compilation").tap("DefaultStatsPrinterPlugin",((S,k)=>{for(const S of Object.keys(ne)){let w;if(E.colors){if(typeof E.colors==="object"&&typeof E.colors[S]==="string"){w=E.colors[S]}else{w=ne[S]}}if(w){k[S]=S=>`${w}${typeof S==="string"?S.replace(/((\u001b\[39m|\u001b\[22m|\u001b\[0m)+)/g,`$1${w}`):S}`}else{k[S]=S=>S}}for(const S of Object.keys(ae)){k[S]=(E,...w)=>ae[S](E,k,...w)}k.timeReference=S.time}));for(const E of Object.keys(w)){S.hooks.print.for(E).tap("DefaultStatsPrinterPlugin",((k,N)=>w[E](k,N,S)))}for(const E of Object.keys(q)){const k=q[E];S.hooks.sortElements.for(E).tap("DefaultStatsPrinterPlugin",((S,E)=>{createOrder(S,k)}))}for(const E of Object.keys(N)){const k=N[E];S.hooks.getItemName.for(E).tap("DefaultStatsPrinterPlugin",typeof k==="string"?()=>k:k)}for(const E of Object.keys(ee)){const k=ee[E];S.hooks.printItems.for(E).tap("DefaultStatsPrinterPlugin",k)}for(const E of Object.keys(te)){const k=te[E];S.hooks.printElements.for(E).tap("DefaultStatsPrinterPlugin",k)}for(const E of Object.keys(_e)){const k=_e[E];S.hooks.result.for(E).tap("DefaultStatsPrinterPlugin",k)}}))}))}}S.exports=DefaultStatsPrinterPlugin},87279:(S,E,k)=>{"use strict";const{HookMap:w,SyncBailHook:N,SyncWaterfallHook:j}=k(92960);const{concatComparators:q,keepOriginalOrder:ee}=k(68673);const te=k(93695);class StatsFactory{constructor(){this.hooks=Object.freeze({extract:new w((()=>new N(["object","data","context"]))),filter:new w((()=>new N(["item","context","index","unfilteredIndex"]))),sort:new w((()=>new N(["comparators","context"]))),filterSorted:new w((()=>new N(["item","context","index","unfilteredIndex"]))),groupResults:new w((()=>new N(["groupConfigs","context"]))),sortResults:new w((()=>new N(["comparators","context"]))),filterResults:new w((()=>new N(["item","context","index","unfilteredIndex"]))),merge:new w((()=>new N(["items","context"]))),result:new w((()=>new j(["result","context"]))),getItemName:new w((()=>new N(["item","context"]))),getItemFactory:new w((()=>new N(["item","context"])))});const S=this.hooks;this._caches={};for(const E of Object.keys(S)){this._caches[E]=new Map}this._inCreate=false}_getAllLevelHooks(S,E,k){const w=E.get(k);if(w!==undefined){return w}const N=[];const j=k.split(".");for(let E=0;E{for(const k of q){const w=N(k,S,E,ee);if(w!==undefined){if(w)ee++;return w}}ee++;return true}))}create(S,E,k){if(this._inCreate){return this._create(S,E,k)}else{try{this._inCreate=true;return this._create(S,E,k)}finally{for(const S of Object.keys(this._caches))this._caches[S].clear();this._inCreate=false}}}_create(S,E,k){const w={...k,type:S,[S]:E};if(Array.isArray(E)){const k=this._forEachLevelFilter(this.hooks.filter,this._caches.filter,S,E,((S,E,k,N)=>S.call(E,w,k,N)),true);const N=[];this._forEachLevel(this.hooks.sort,this._caches.sort,S,(S=>S.call(N,w)));if(N.length>0){k.sort(q(...N,ee(k)))}const j=this._forEachLevelFilter(this.hooks.filterSorted,this._caches.filterSorted,S,k,((S,E,k,N)=>S.call(E,w,k,N)),false);let ne=j.map(((E,k)=>{const N={...w,_index:k};const j=this._forEachLevel(this.hooks.getItemName,this._caches.getItemName,`${S}[]`,(S=>S.call(E,N)));if(j)N[j]=E;const q=j?`${S}[].${j}`:`${S}[]`;const ee=this._forEachLevel(this.hooks.getItemFactory,this._caches.getItemFactory,q,(S=>S.call(E,N)))||this;return ee.create(q,E,N)}));const ae=[];this._forEachLevel(this.hooks.sortResults,this._caches.sortResults,S,(S=>S.call(ae,w)));if(ae.length>0){ne.sort(q(...ae,ee(ne)))}const _e=[];this._forEachLevel(this.hooks.groupResults,this._caches.groupResults,S,(S=>S.call(_e,w)));if(_e.length>0){ne=te(ne,_e)}const ve=this._forEachLevelFilter(this.hooks.filterResults,this._caches.filterResults,S,ne,((S,E,k,N)=>S.call(E,w,k,N)),false);let Ee=this._forEachLevel(this.hooks.merge,this._caches.merge,S,(S=>S.call(ve,w)));if(Ee===undefined)Ee=ve;return this._forEachLevelWaterfall(this.hooks.result,this._caches.result,S,Ee,((S,E)=>S.call(E,w)))}else{const k={};this._forEachLevel(this.hooks.extract,this._caches.extract,S,(S=>S.call(k,E,w)));return this._forEachLevelWaterfall(this.hooks.result,this._caches.result,S,k,((S,E)=>S.call(E,w)))}}}S.exports=StatsFactory},30533:(S,E,k)=>{"use strict";const{HookMap:w,SyncWaterfallHook:N,SyncBailHook:j}=k(92960);class StatsPrinter{constructor(){this.hooks=Object.freeze({sortElements:new w((()=>new j(["elements","context"]))),printElements:new w((()=>new j(["printedElements","context"]))),sortItems:new w((()=>new j(["items","context"]))),getItemName:new w((()=>new j(["item","context"]))),printItems:new w((()=>new j(["printedItems","context"]))),print:new w((()=>new j(["object","context"]))),result:new w((()=>new N(["result","context"])))});this._levelHookCache=new Map;this._inPrint=false}_getAllLevelHooks(S,E){let k=this._levelHookCache.get(S);if(k===undefined){k=new Map;this._levelHookCache.set(S,k)}const w=k.get(E);if(w!==undefined){return w}const N=[];const j=E.split(".");for(let E=0;ES.call(E,w)));if(N===undefined){if(Array.isArray(E)){const k=E.slice();this._forEachLevel(this.hooks.sortItems,S,(S=>S.call(k,w)));const j=k.map(((E,k)=>{const N={...w,_index:k};const j=this._forEachLevel(this.hooks.getItemName,`${S}[]`,(S=>S.call(E,N)));if(j)N[j]=E;return this.print(j?`${S}[].${j}`:`${S}[]`,E,N)}));N=this._forEachLevel(this.hooks.printItems,S,(S=>S.call(j,w)));if(N===undefined){const S=j.filter(Boolean);if(S.length>0)N=S.join("\n")}}else if(E!==null&&typeof E==="object"){const k=Object.keys(E).filter((S=>E[S]!==undefined));this._forEachLevel(this.hooks.sortElements,S,(S=>S.call(k,w)));const j=k.map((k=>{const N=this.print(`${S}.${k}`,E[k],{...w,_parent:E,_element:k,[k]:E[k]});return{element:k,content:N}}));N=this._forEachLevel(this.hooks.printElements,S,(S=>S.call(j,w)));if(N===undefined){const S=j.map((S=>S.content)).filter(Boolean);if(S.length>0)N=S.join("\n")}}}return this._forEachLevelWaterfall(this.hooks.result,S,N,((S,E)=>S.call(E,w)))}}S.exports=StatsPrinter},73910:(S,E)=>{"use strict";E.equals=(S,E)=>{if(S.length!==E.length)return false;for(let k=0;k{"use strict";class ArrayQueue{constructor(S){this._list=S?Array.from(S):[];this._listReversed=[]}get length(){return this._list.length+this._listReversed.length}clear(){this._list.length=0;this._listReversed.length=0}enqueue(S){this._list.push(S)}dequeue(){if(this._listReversed.length===0){if(this._list.length===0)return undefined;if(this._list.length===1)return this._list.pop();if(this._list.length<16)return this._list.shift();const S=this._listReversed;this._listReversed=this._list;this._listReversed.reverse();this._list=S}return this._listReversed.pop()}delete(S){const E=this._list.indexOf(S);if(E>=0){this._list.splice(E,1)}else{const E=this._listReversed.indexOf(S);if(E>=0)this._listReversed.splice(E,1)}}[Symbol.iterator](){let S=-1;let E=false;return{next:()=>{if(!E){S++;if(S{"use strict";const{SyncHook:w,AsyncSeriesHook:N}=k(92960);const{makeWebpackError:j}=k(3728);const q=k(81627);const ee=k(56561);const te=0;const ne=1;const ae=2;let _e=0;class AsyncQueueEntry{constructor(S,E){this.item=S;this.state=te;this.callback=E;this.callbacks=undefined;this.result=undefined;this.error=undefined}}class AsyncQueue{constructor({name:S,parallelism:E,parent:k,processor:j,getKey:q}){this._name=S;this._parallelism=E||1;this._processor=j;this._getKey=q||(S=>S);this._entries=new Map;this._queued=new ee;this._children=undefined;this._activeTasks=0;this._willEnsureProcessing=false;this._needProcessing=false;this._stopped=false;this._root=k?k._root:this;if(k){if(this._root._children===undefined){this._root._children=[this]}else{this._root._children.push(this)}}this.hooks={beforeAdd:new N(["item"]),added:new w(["item"]),beforeStart:new N(["item"]),started:new w(["item"]),result:new w(["item","error","result"])};this._ensureProcessing=this._ensureProcessing.bind(this)}add(S,E){if(this._stopped)return E(new q("Queue was stopped"));this.hooks.beforeAdd.callAsync(S,(k=>{if(k){E(j(k,`AsyncQueue(${this._name}).hooks.beforeAdd`));return}const w=this._getKey(S);const N=this._entries.get(w);if(N!==undefined){if(N.state===ae){if(_e++>3){process.nextTick((()=>E(N.error,N.result)))}else{E(N.error,N.result)}_e--}else if(N.callbacks===undefined){N.callbacks=[E]}else{N.callbacks.push(E)}return}const ee=new AsyncQueueEntry(S,E);if(this._stopped){this.hooks.added.call(S);this._root._activeTasks++;process.nextTick((()=>this._handleResult(ee,new q("Queue was stopped"))))}else{this._entries.set(w,ee);this._queued.enqueue(ee);const E=this._root;E._needProcessing=true;if(E._willEnsureProcessing===false){E._willEnsureProcessing=true;setImmediate(E._ensureProcessing)}this.hooks.added.call(S)}}))}invalidate(S){const E=this._getKey(S);const k=this._entries.get(E);this._entries.delete(E);if(k.state===te){this._queued.delete(k)}}waitFor(S,E){const k=this._getKey(S);const w=this._entries.get(k);if(w===undefined){return E(new q("waitFor can only be called for an already started item"))}if(w.state===ae){process.nextTick((()=>E(w.error,w.result)))}else if(w.callbacks===undefined){w.callbacks=[E]}else{w.callbacks.push(E)}}stop(){this._stopped=true;const S=this._queued;this._queued=new ee;const E=this._root;for(const k of S){this._entries.delete(this._getKey(k.item));E._activeTasks++;this._handleResult(k,new q("Queue was stopped"))}}increaseParallelism(){const S=this._root;S._parallelism++;if(S._willEnsureProcessing===false&&S._needProcessing){S._willEnsureProcessing=true;setImmediate(S._ensureProcessing)}}decreaseParallelism(){const S=this._root;S._parallelism--}isProcessing(S){const E=this._getKey(S);const k=this._entries.get(E);return k!==undefined&&k.state===ne}isQueued(S){const E=this._getKey(S);const k=this._entries.get(E);return k!==undefined&&k.state===te}isDone(S){const E=this._getKey(S);const k=this._entries.get(E);return k!==undefined&&k.state===ae}_ensureProcessing(){while(this._activeTasks0)return;if(this._children!==undefined){for(const S of this._children){while(this._activeTasks0)return}}if(!this._willEnsureProcessing)this._needProcessing=false}_startProcessing(S){this.hooks.beforeStart.callAsync(S.item,(E=>{if(E){this._handleResult(S,j(E,`AsyncQueue(${this._name}).hooks.beforeStart`));return}let k=false;try{this._processor(S.item,((E,w)=>{k=true;this._handleResult(S,E,w)}))}catch(E){if(k)throw E;this._handleResult(S,E,null)}this.hooks.started.call(S.item)}))}_handleResult(S,E,k){this.hooks.result.callAsync(S.item,E,k,(w=>{const N=w?j(w,`AsyncQueue(${this._name}).hooks.result`):E;const q=S.callback;const ee=S.callbacks;S.state=ae;S.callback=undefined;S.callbacks=undefined;S.result=k;S.error=N;const te=this._root;te._activeTasks--;if(te._willEnsureProcessing===false&&te._needProcessing){te._willEnsureProcessing=true;setImmediate(te._ensureProcessing)}if(_e++>3){process.nextTick((()=>{q(N,k);if(ee!==undefined){for(const S of ee){S(N,k)}}}))}else{q(N,k);if(ee!==undefined){for(const S of ee){S(N,k)}}}_e--}))}clear(){this._entries.clear();this._queued.clear();this._activeTasks=0;this._willEnsureProcessing=false;this._needProcessing=false;this._stopped=false}}S.exports=AsyncQueue},75066:(S,E,k)=>{"use strict";class Hash{update(S,E){const w=k(75884);throw new w}digest(S){const E=k(75884);throw new E}}S.exports=Hash},11539:(S,E)=>{"use strict";const last=S=>{let E;for(const k of S)E=k;return E};const someInIterable=(S,E)=>{for(const k of S){if(E(k))return true}return false};const countIterable=S=>{let E=0;for(const k of S)E++;return E};E.last=last;E.someInIterable=someInIterable;E.countIterable=countIterable},37496:(S,E,k)=>{"use strict";const{first:w}=k(26221);const N=k(16102);class LazyBucketSortedSet{constructor(S,E,...k){this._getKey=S;this._innerArgs=k;this._leaf=k.length<=1;this._keys=new N(undefined,E);this._map=new Map;this._unsortedItems=new Set;this.size=0}add(S){this.size++;this._unsortedItems.add(S)}_addInternal(S,E){let k=this._map.get(S);if(k===undefined){k=this._leaf?new N(undefined,this._innerArgs[0]):new LazyBucketSortedSet(...this._innerArgs);this._keys.add(S);this._map.set(S,k)}k.add(E)}delete(S){this.size--;if(this._unsortedItems.has(S)){this._unsortedItems.delete(S);return}const E=this._getKey(S);const k=this._map.get(E);k.delete(S);if(k.size===0){this._deleteKey(E)}}_deleteKey(S){this._keys.delete(S);this._map.delete(S)}popFirst(){if(this.size===0)return undefined;this.size--;if(this._unsortedItems.size>0){for(const S of this._unsortedItems){const E=this._getKey(S);this._addInternal(E,S)}this._unsortedItems.clear()}this._keys.sort();const S=w(this._keys);const E=this._map.get(S);if(this._leaf){const k=E;k.sort();const N=w(k);k.delete(N);if(k.size===0){this._deleteKey(S)}return N}else{const k=E;const w=k.popFirst();if(k.size===0){this._deleteKey(S)}return w}}startUpdate(S){if(this._unsortedItems.has(S)){return E=>{if(E){this._unsortedItems.delete(S);this.size--;return}}}const E=this._getKey(S);if(this._leaf){const k=this._map.get(E);return w=>{if(w){this.size--;k.delete(S);if(k.size===0){this._deleteKey(E)}return}const N=this._getKey(S);if(E===N){k.add(S)}else{k.delete(S);if(k.size===0){this._deleteKey(E)}this._addInternal(N,S)}}}else{const k=this._map.get(E);const w=k.startUpdate(S);return N=>{if(N){this.size--;w(true);if(k.size===0){this._deleteKey(E)}return}const j=this._getKey(S);if(E===j){w()}else{w(true);if(k.size===0){this._deleteKey(E)}this._addInternal(j,S)}}}}_appendIterators(S){if(this._unsortedItems.size>0)S.push(this._unsortedItems[Symbol.iterator]());for(const E of this._keys){const k=this._map.get(E);if(this._leaf){const E=k;const w=E[Symbol.iterator]();S.push(w)}else{const E=k;E._appendIterators(S)}}}[Symbol.iterator](){const S=[];this._appendIterators(S);S.reverse();let E=S.pop();return{next:()=>{const k=E.next();if(k.done){if(S.length===0)return k;E=S.pop();return E.next()}return k}}}}S.exports=LazyBucketSortedSet},83379:(S,E,k)=>{"use strict";const w=k(56202);const merge=(S,E)=>{for(const k of E){for(const E of k){S.add(E)}}};const flatten=(S,E)=>{for(const k of E){if(k._set.size>0)S.add(k._set);if(k._needMerge){for(const E of k._toMerge){S.add(E)}flatten(S,k._toDeepMerge)}}};class LazySet{constructor(S){this._set=new Set(S);this._toMerge=new Set;this._toDeepMerge=[];this._needMerge=false;this._deopt=false}_flatten(){flatten(this._toMerge,this._toDeepMerge);this._toDeepMerge.length=0}_merge(){this._flatten();merge(this._set,this._toMerge);this._toMerge.clear();this._needMerge=false}_isEmpty(){return this._set.size===0&&this._toMerge.size===0&&this._toDeepMerge.length===0}get size(){if(this._needMerge)this._merge();return this._set.size}add(S){this._set.add(S);return this}addAll(S){if(this._deopt){const E=this._set;for(const k of S){E.add(k)}}else{if(S instanceof LazySet){if(S._isEmpty())return this;this._toDeepMerge.push(S);this._needMerge=true;if(this._toDeepMerge.length>1e5){this._flatten()}}else{this._toMerge.add(S);this._needMerge=true}if(this._toMerge.size>1e5)this._merge()}return this}clear(){this._set.clear();this._toMerge.clear();this._toDeepMerge.length=0;this._needMerge=false;this._deopt=false}delete(S){if(this._needMerge)this._merge();return this._set.delete(S)}entries(){this._deopt=true;if(this._needMerge)this._merge();return this._set.entries()}forEach(S,E){this._deopt=true;if(this._needMerge)this._merge();this._set.forEach(S,E)}has(S){if(this._needMerge)this._merge();return this._set.has(S)}keys(){this._deopt=true;if(this._needMerge)this._merge();return this._set.keys()}values(){this._deopt=true;if(this._needMerge)this._merge();return this._set.values()}[Symbol.iterator](){this._deopt=true;if(this._needMerge)this._merge();return this._set[Symbol.iterator]()}get[Symbol.toStringTag](){return"LazySet"}serialize({write:S}){if(this._needMerge)this._merge();S(this._set.size);for(const E of this._set)S(E)}static deserialize({read:S}){const E=S();const k=[];for(let w=0;w{"use strict";E.provide=(S,E,k)=>{const w=S.get(E);if(w!==undefined)return w;const N=k();S.set(E,N);return N}},382:(S,E,k)=>{"use strict";const w=k(31017);class ParallelismFactorCalculator{constructor(){this._rangePoints=[];this._rangeCallbacks=[]}range(S,E,k){if(S===E)return k(1);this._rangePoints.push(S);this._rangePoints.push(E);this._rangeCallbacks.push(k)}calculate(){const S=Array.from(new Set(this._rangePoints)).sort(((S,E)=>S0));const k=[];for(let N=0;N{"use strict";class Queue{constructor(S){this._set=new Set(S);this._iterator=this._set[Symbol.iterator]()}get length(){return this._set.size}enqueue(S){this._set.add(S)}dequeue(){const S=this._iterator.next();if(S.done)return undefined;this._set.delete(S.value);return S.value}}S.exports=Queue},26221:(S,E)=>{"use strict";const intersect=S=>{if(S.length===0)return new Set;if(S.length===1)return new Set(S[0]);let E=Infinity;let k=-1;for(let w=0;w{if(S.size{for(const k of S){if(E(k))return k}};const first=S=>{const E=S.values().next();return E.done?undefined:E.value};const combine=(S,E)=>{if(E.size===0)return S;if(S.size===0)return E;const k=new Set(S);for(const S of E)k.add(S);return k};E.intersect=intersect;E.isSubset=isSubset;E.find=find;E.first=first;E.combine=combine},16102:S=>{"use strict";const E=Symbol("not sorted");class SortableSet extends Set{constructor(S,k){super(S);this._sortFn=k;this._lastActiveSortFn=E;this._cache=undefined;this._cacheOrderIndependent=undefined}add(S){this._lastActiveSortFn=E;this._invalidateCache();this._invalidateOrderedCache();super.add(S);return this}delete(S){this._invalidateCache();this._invalidateOrderedCache();return super.delete(S)}clear(){this._invalidateCache();this._invalidateOrderedCache();return super.clear()}sortWith(S){if(this.size<=1||S===this._lastActiveSortFn){return}const E=Array.from(this).sort(S);super.clear();for(let S=0;S{"use strict";const E=Symbol("tombstone");const k=Symbol("undefined");const extractPair=S=>{const w=S[0];const N=S[1];if(N===k||N===E){return[w,undefined]}else{return S}};class StackedMap{constructor(S){this.map=new Map;this.stack=S===undefined?[]:S.slice();this.stack.push(this.map)}set(S,E){this.map.set(S,E===undefined?k:E)}delete(S){if(this.stack.length>1){this.map.set(S,E)}else{this.map.delete(S)}}has(S){const k=this.map.get(S);if(k!==undefined){return k!==E}if(this.stack.length>1){for(let k=this.stack.length-2;k>=0;k--){const w=this.stack[k].get(S);if(w!==undefined){this.map.set(S,w);return w!==E}}this.map.set(S,E)}return false}get(S){const w=this.map.get(S);if(w!==undefined){return w===E||w===k?undefined:w}if(this.stack.length>1){for(let w=this.stack.length-2;w>=0;w--){const N=this.stack[w].get(S);if(N!==undefined){this.map.set(S,N);return N===E||N===k?undefined:N}}this.map.set(S,E)}return undefined}_compress(){if(this.stack.length===1)return;this.map=new Map;for(const S of this.stack){for(const k of S){if(k[1]===E){this.map.delete(k[0])}else{this.map.set(k[0],k[1])}}}this.stack=[this.map]}asArray(){this._compress();return Array.from(this.map.keys())}asSet(){this._compress();return new Set(this.map.keys())}asPairArray(){this._compress();return Array.from(this.map.entries(),extractPair)}asMap(){return new Map(this.asPairArray())}get size(){this._compress();return this.map.size}createChild(){return new StackedMap(this.stack)}}S.exports=StackedMap},14146:S=>{"use strict";class StringXor{constructor(){this._value=undefined;this._buffer=undefined}add(S){let E=this._buffer;let k;if(E===undefined){E=this._buffer=Buffer.from(S,"latin1");this._value=Buffer.from(E);return}else if(E.length!==S.length){k=this._value;E=this._buffer=Buffer.from(S,"latin1");if(k.length{"use strict";const w=k(86949);class TupleQueue{constructor(S){this._set=new w(S);this._iterator=this._set[Symbol.iterator]()}get length(){return this._set.size}enqueue(...S){this._set.add(...S)}dequeue(){const S=this._iterator.next();if(S.done){if(this._set.size>0){this._iterator=this._set[Symbol.iterator]();const S=this._iterator.next().value;this._set.delete(...S);return S}return undefined}this._set.delete(...S.value);return S.value}}S.exports=TupleQueue},86949:S=>{"use strict";class TupleSet{constructor(S){this._map=new Map;this.size=0;if(S){for(const E of S){this.add(...E)}}}add(...S){let E=this._map;for(let k=0;k{const N=w.next();if(N.done){if(S.length===0)return false;E.pop();return next(S.pop())}const[j,q]=N.value;S.push(w);E.push(j);if(q instanceof Set){k=q[Symbol.iterator]();return true}else{return next(q[Symbol.iterator]())}};next(this._map[Symbol.iterator]());return{next(){while(k){const w=k.next();if(w.done){E.pop();if(!next(S.pop())){k=undefined}}else{return{done:false,value:E.concat(w.value)}}}return{done:true,value:undefined}}}}}S.exports=TupleSet},45754:(S,E)=>{"use strict";const k="\\".charCodeAt(0);const w="/".charCodeAt(0);const N="a".charCodeAt(0);const j="z".charCodeAt(0);const q="A".charCodeAt(0);const ee="Z".charCodeAt(0);const te="0".charCodeAt(0);const ne="9".charCodeAt(0);const ae="+".charCodeAt(0);const _e="-".charCodeAt(0);const ve=":".charCodeAt(0);const Ee="#".charCodeAt(0);const Te="?".charCodeAt(0);function getScheme(S){const E=S.charCodeAt(0);if((Ej)&&(Eee)){return undefined}let Ce=1;let we=S.charCodeAt(Ce);while(we>=N&&we<=j||we>=q&&we<=ee||we>=te&&we<=ne||we===ae||we===_e){if(++Ce===S.length)return undefined;we=S.charCodeAt(Ce)}if(we!==ve)return undefined;if(Ce===1){const E=Ce+1{"use strict";const isWeakKey=S=>typeof S==="object"&&S!==null;class WeakTupleNode{constructor(){this.f=0;this.v=undefined;this.m=undefined;this.w=undefined}getValue(){return this.v}hasValue(){return(this.f&1)===1}setValue(S){this.f|=1;this.v=S}deleteValue(){this.f&=6;this.v=undefined}peek(S){if(isWeakKey(S)){if((this.f&4)!==4)return undefined;return this.w.get(S)}else{if((this.f&2)!==2)return undefined;return this.m.get(S)}}get(S){if(isWeakKey(S)){if((this.f&4)!==4){const E=new WeakMap;this.f|=4;const k=new WeakTupleNode;(this.w=E).set(S,k);return k}const E=this.w.get(S);if(E!==undefined){return E}const k=new WeakTupleNode;this.w.set(S,k);return k}else{if((this.f&2)!==2){const E=new Map;this.f|=2;const k=new WeakTupleNode;(this.m=E).set(S,k);return k}const E=this.m.get(S);if(E!==undefined){return E}const k=new WeakTupleNode;this.m.set(S,k);return k}}}class WeakTupleMap{constructor(){this._node=new WeakTupleNode}set(...S){let E=this._node;for(let k=0;k{"use strict";const compileSearch=(S,E,k,w,N)=>{const j=["function ",S,"(a,l,h,",w.join(","),"){",N?"":"var i=",k?"l-1":"h+1",";while(l<=h){var m=(l+h)>>>1,x=a[m]"];if(N){if(E.indexOf("c")<0){j.push(";if(x===y){return m}else if(x<=y){")}else{j.push(";var p=c(x,y);if(p===0){return m}else if(p<=0){")}}else{j.push(";if(",E,"){i=m;")}if(k){j.push("l=m+1}else{h=m-1}")}else{j.push("h=m-1}else{l=m+1}")}j.push("}");if(N){j.push("return -1};")}else{j.push("return i};")}return j.join("")};const compileBoundsSearch=(S,E,k,w)=>{const N=compileSearch("A","x"+S+"y",E,["y"],w);const j=compileSearch("P","c(x,y)"+S+"0",E,["y","c"],w);const q="function dispatchBinarySearch";const ee="(a,y,c,l,h){if(typeof(c)==='function'){return P(a,(l===void 0)?0:l|0,(h===void 0)?a.length-1:h|0,y,c)}else{return A(a,(c===void 0)?0:c|0,(l===void 0)?a.length-1:l|0,y)}}return dispatchBinarySearch";const te=[N,j,q,k,ee,k];const ne=te.join("");const ae=new Function(ne);return ae()};S.exports={ge:compileBoundsSearch(">=",false,"GE"),gt:compileBoundsSearch(">",false,"GT"),lt:compileBoundsSearch("<",true,"LT"),le:compileBoundsSearch("<=",true,"LE"),eq:compileBoundsSearch("-",true,"EQ",true)}},90149:(S,E)=>{"use strict";const k=new WeakMap;const w=new WeakMap;const N=Symbol("DELETE");const j=Symbol("cleverMerge dynamic info");const cachedCleverMerge=(S,E)=>{if(E===undefined)return S;if(S===undefined)return E;if(typeof E!=="object"||E===null)return E;if(typeof S!=="object"||S===null)return S;let w=k.get(S);if(w===undefined){w=new WeakMap;k.set(S,w)}const N=w.get(E);if(N!==undefined)return N;const j=_cleverMerge(S,E,true);w.set(E,j);return j};const cachedSetProperty=(S,E,k)=>{let N=w.get(S);if(N===undefined){N=new Map;w.set(S,N)}let j=N.get(E);if(j===undefined){j=new Map;N.set(E,j)}let q=j.get(k);if(q)return q;q={...S,[E]:k};j.set(k,q);return q};const q=new WeakMap;const cachedParseObject=S=>{const E=q.get(S);if(E!==undefined)return E;const k=parseObject(S);q.set(S,k);return k};const parseObject=S=>{const E=new Map;let k;const getInfo=S=>{const k=E.get(S);if(k!==undefined)return k;const w={base:undefined,byProperty:undefined,byValues:undefined};E.set(S,w);return w};for(const E of Object.keys(S)){if(E.startsWith("by")){const w=E;const N=S[w];if(typeof N==="object"){for(const S of Object.keys(N)){const E=N[S];for(const k of Object.keys(E)){const j=getInfo(k);if(j.byProperty===undefined){j.byProperty=w;j.byValues=new Map}else if(j.byProperty!==w){throw new Error(`${w} and ${j.byProperty} for a single property is not supported`)}j.byValues.set(S,E[k]);if(S==="default"){for(const S of Object.keys(N)){if(!j.byValues.has(S))j.byValues.set(S,undefined)}}}}}else if(typeof N==="function"){if(k===undefined){k={byProperty:E,fn:N}}else{throw new Error(`${E} and ${k.byProperty} when both are functions is not supported`)}}else{const k=getInfo(E);k.base=S[E]}}else{const k=getInfo(E);k.base=S[E]}}return{static:E,dynamic:k}};const serializeObject=(S,E)=>{const k={};for(const E of S.values()){if(E.byProperty!==undefined){const S=k[E.byProperty]=k[E.byProperty]||{};for(const k of E.byValues.keys()){S[k]=S[k]||{}}}}for(const[E,w]of S){if(w.base!==undefined){k[E]=w.base}if(w.byProperty!==undefined){const S=k[w.byProperty]=k[w.byProperty]||{};for(const k of Object.keys(S)){const N=getFromByValues(w.byValues,k);if(N!==undefined)S[k][E]=N}}}if(E!==undefined){k[E.byProperty]=E.fn}return k};const ee=0;const te=1;const ne=2;const ae=3;const _e=4;const getValueType=S=>{if(S===undefined){return ee}else if(S===N){return _e}else if(Array.isArray(S)){if(S.lastIndexOf("...")!==-1)return ne;return te}else if(typeof S==="object"&&S!==null&&(!S.constructor||S.constructor===Object)){return ae}return te};const cleverMerge=(S,E)=>{if(E===undefined)return S;if(S===undefined)return E;if(typeof E!=="object"||E===null)return E;if(typeof S!=="object"||S===null)return S;return _cleverMerge(S,E,false)};const _cleverMerge=(S,E,k=false)=>{const w=k?cachedParseObject(S):parseObject(S);const{static:N,dynamic:q}=w;if(q!==undefined){let{byProperty:S,fn:N}=q;const ee=N[j];if(ee){E=k?cachedCleverMerge(ee[1],E):cleverMerge(ee[1],E);N=ee[0]}const newFn=(...S)=>{const w=N(...S);return k?cachedCleverMerge(w,E):cleverMerge(w,E)};newFn[j]=[N,E];return serializeObject(w.static,{byProperty:S,fn:newFn})}const ee=k?cachedParseObject(E):parseObject(E);const{static:te,dynamic:ne}=ee;const ae=new Map;for(const[S,E]of N){const w=te.get(S);const N=w!==undefined?mergeEntries(E,w,k):E;ae.set(S,N)}for(const[S,E]of te){if(!N.has(S)){ae.set(S,E)}}return serializeObject(ae,ne)};const mergeEntries=(S,E,k)=>{switch(getValueType(E.base)){case te:case _e:return E;case ee:if(!S.byProperty){return{base:S.base,byProperty:E.byProperty,byValues:E.byValues}}else if(S.byProperty!==E.byProperty){throw new Error(`${S.byProperty} and ${E.byProperty} for a single property is not supported`)}else{const w=new Map(S.byValues);for(const[N,j]of E.byValues){const E=getFromByValues(S.byValues,N);w.set(N,mergeSingleValue(E,j,k))}return{base:S.base,byProperty:S.byProperty,byValues:w}}default:{if(!S.byProperty){return{base:mergeSingleValue(S.base,E.base,k),byProperty:E.byProperty,byValues:E.byValues}}let w;const N=new Map(S.byValues);for(const[S,w]of N){N.set(S,mergeSingleValue(w,E.base,k))}if(Array.from(S.byValues.values()).every((S=>{const E=getValueType(S);return E===te||E===_e}))){w=mergeSingleValue(S.base,E.base,k)}else{w=S.base;if(!N.has("default"))N.set("default",E.base)}if(!E.byProperty){return{base:w,byProperty:S.byProperty,byValues:N}}else if(S.byProperty!==E.byProperty){throw new Error(`${S.byProperty} and ${E.byProperty} for a single property is not supported`)}const j=new Map(N);for(const[S,w]of E.byValues){const E=getFromByValues(N,S);j.set(S,mergeSingleValue(E,w,k))}return{base:w,byProperty:S.byProperty,byValues:j}}}};const getFromByValues=(S,E)=>{if(E!=="default"&&S.has(E)){return S.get(E)}return S.get("default")};const mergeSingleValue=(S,E,k)=>{const w=getValueType(E);const N=getValueType(S);switch(w){case _e:case te:return E;case ae:{return N!==ae?E:k?cachedCleverMerge(S,E):cleverMerge(S,E)}case ee:return S;case ne:switch(N!==te?N:Array.isArray(S)?ne:ae){case ee:return E;case _e:return E.filter((S=>S!=="..."));case ne:{const k=[];for(const w of E){if(w==="..."){for(const E of S){k.push(E)}}else{k.push(w)}}return k}case ae:return E.map((E=>E==="..."?S:E));default:throw new Error("Not implemented")}default:throw new Error("Not implemented")}};const removeOperations=S=>{const E={};for(const k of Object.keys(S)){const w=S[k];const N=getValueType(w);switch(N){case ee:case _e:break;case ae:E[k]=removeOperations(w);break;case ne:E[k]=w.filter((S=>S!=="..."));break;default:E[k]=w;break}}return E};const resolveByProperty=(S,E,...k)=>{if(typeof S!=="object"||S===null||!(E in S)){return S}const{[E]:w,...N}=S;const j=N;const q=w;if(typeof q==="object"){const S=k[0];if(S in q){return cachedCleverMerge(j,q[S])}else if("default"in q){return cachedCleverMerge(j,q.default)}else{return j}}else if(typeof q==="function"){const S=q.apply(null,k);return cachedCleverMerge(j,resolveByProperty(S,E,...k))}};E.cachedSetProperty=cachedSetProperty;E.cachedCleverMerge=cachedCleverMerge;E.cleverMerge=cleverMerge;E.resolveByProperty=resolveByProperty;E.removeOperations=removeOperations;E.DELETE=N},68673:(S,E,k)=>{"use strict";const{compareRuntime:w}=k(37416);const createCachedParameterizedComparator=S=>{const E=new WeakMap;return k=>{const w=E.get(k);if(w!==undefined)return w;const N=S.bind(null,k);E.set(k,N);return N}};E.compareChunksById=(S,E)=>compareIds(S.id,E.id);E.compareModulesByIdentifier=(S,E)=>compareIds(S.identifier(),E.identifier());const compareModulesById=(S,E,k)=>compareIds(S.getModuleId(E),S.getModuleId(k));E.compareModulesById=createCachedParameterizedComparator(compareModulesById);const compareNumbers=(S,E)=>{if(typeof S!==typeof E){return typeof SE)return 1;return 0};E.compareNumbers=compareNumbers;const compareStringsNumeric=(S,E)=>{const k=S.split(/(\d+)/);const w=E.split(/(\d+)/);const N=Math.min(k.length,w.length);for(let S=0;SN.length){if(E.slice(0,N.length)>N)return 1;return-1}else if(N.length>E.length){if(N.slice(0,E.length)>E)return-1;return 1}else{if(EN)return 1}}else{const S=+E;const k=+N;if(Sk)return 1}}if(w.lengthk.length)return-1;return 0};E.compareStringsNumeric=compareStringsNumeric;const compareModulesByPostOrderIndexOrIdentifier=(S,E,k)=>{const w=compareNumbers(S.getPostOrderIndex(E),S.getPostOrderIndex(k));if(w!==0)return w;return compareIds(E.identifier(),k.identifier())};E.compareModulesByPostOrderIndexOrIdentifier=createCachedParameterizedComparator(compareModulesByPostOrderIndexOrIdentifier);const compareModulesByPreOrderIndexOrIdentifier=(S,E,k)=>{const w=compareNumbers(S.getPreOrderIndex(E),S.getPreOrderIndex(k));if(w!==0)return w;return compareIds(E.identifier(),k.identifier())};E.compareModulesByPreOrderIndexOrIdentifier=createCachedParameterizedComparator(compareModulesByPreOrderIndexOrIdentifier);const compareModulesByIdOrIdentifier=(S,E,k)=>{const w=compareIds(S.getModuleId(E),S.getModuleId(k));if(w!==0)return w;return compareIds(E.identifier(),k.identifier())};E.compareModulesByIdOrIdentifier=createCachedParameterizedComparator(compareModulesByIdOrIdentifier);const compareChunks=(S,E,k)=>S.compareChunks(E,k);E.compareChunks=createCachedParameterizedComparator(compareChunks);const compareIds=(S,E)=>{if(typeof S!==typeof E){return typeof SE)return 1;return 0};E.compareIds=compareIds;const compareStrings=(S,E)=>{if(SE)return 1;return 0};E.compareStrings=compareStrings;const compareChunkGroupsByIndex=(S,E)=>S.index{if(k.length>0){const[w,...N]=k;return concatComparators(S,concatComparators(E,w,...N))}const w=N.get(S,E);if(w!==undefined)return w;const result=(k,w)=>{const N=S(k,w);if(N!==0)return N;return E(k,w)};N.set(S,E,result);return result};E.concatComparators=concatComparators;const j=new TwoKeyWeakMap;const compareSelect=(S,E)=>{const k=j.get(S,E);if(k!==undefined)return k;const result=(k,w)=>{const N=S(k);const j=S(w);if(N!==undefined&&N!==null){if(j!==undefined&&j!==null){return E(N,j)}return-1}else{if(j!==undefined&&j!==null){return 1}return 0}};j.set(S,E,result);return result};E.compareSelect=compareSelect;const q=new WeakMap;const compareIterables=S=>{const E=q.get(S);if(E!==undefined)return E;const result=(E,k)=>{const w=E[Symbol.iterator]();const N=k[Symbol.iterator]();while(true){const E=w.next();const k=N.next();if(E.done){return k.done?0:-1}else if(k.done){return 1}const j=S(E.value,k.value);if(j!==0)return j}};q.set(S,result);return result};E.compareIterables=compareIterables;E.keepOriginalOrder=S=>{const E=new Map;let k=0;for(const w of S){E.set(w,k++)}return(S,k)=>compareNumbers(E.get(S),E.get(k))};E.compareChunksNatural=S=>{const k=E.compareModulesById(S);const N=compareIterables(k);return concatComparators(compareSelect((S=>S.name),compareIds),compareSelect((S=>S.runtime),w),compareSelect((E=>S.getOrderedChunkModulesIterable(E,k)),N))};E.compareLocations=(S,E)=>{let k=typeof S==="object"&&S!==null;let w=typeof E==="object"&&E!==null;if(!k||!w){if(k)return 1;if(w)return-1;return 0}if("start"in S){if("start"in E){const k=S.start;const w=E.start;if(k.linew.line)return 1;if(k.columnw.column)return 1}else return-1}else if("start"in E)return 1;if("name"in S){if("name"in E){if(S.nameE.name)return 1}else return-1}else if("name"in E)return 1;if("index"in S){if("index"in E){if(S.indexE.index)return 1}else return-1}else if("index"in E)return 1;return 0}},87274:S=>{"use strict";const quoteMeta=S=>S.replace(/[-[\]\\/{}()*+?.^$|]/g,"\\$&");const toSimpleString=S=>{if(`${+S}`===S){return S}return JSON.stringify(S)};const compileBooleanMatcher=S=>{const E=Object.keys(S).filter((E=>S[E]));const k=Object.keys(S).filter((E=>!S[E]));if(E.length===0)return false;if(k.length===0)return true;return compileBooleanMatcherFromLists(E,k)};const compileBooleanMatcherFromLists=(S,E)=>{if(S.length===0)return()=>"false";if(E.length===0)return()=>"true";if(S.length===1)return E=>`${toSimpleString(S[0])} == ${E}`;if(E.length===1)return S=>`${toSimpleString(E[0])} != ${S}`;const k=itemsToRegexp(S);const w=itemsToRegexp(E);if(k.length<=w.length){return S=>`/^${k}$/.test(${S})`}else{return S=>`!/^${w}$/.test(${S})`}};const popCommonItems=(S,E,k)=>{const w=new Map;for(const k of S){const S=E(k);if(S){let E=w.get(S);if(E===undefined){E=[];w.set(S,E)}E.push(k)}}const N=[];for(const E of w.values()){if(k(E)){for(const k of E){S.delete(k)}N.push(E)}}return N};const getCommonPrefix=S=>{let E=S[0];for(let k=1;k{let E=S[0];for(let k=1;k=0;S--,k--){if(w[S]!==E[k]){E=E.slice(k+1);break}}}return E};const itemsToRegexp=S=>{if(S.length===1){return quoteMeta(S[0])}const E=[];let k=0;for(const E of S){if(E.length===1){k++}}if(k===S.length){return`[${quoteMeta(S.sort().join(""))}]`}const w=new Set(S.sort());if(k>2){let S="";for(const E of w){if(E.length===1){S+=E;w.delete(E)}}E.push(`[${quoteMeta(S)}]`)}if(E.length===0&&w.size===2){const E=getCommonPrefix(S);const k=getCommonSuffix(S.map((S=>S.slice(E.length))));if(E.length>0||k.length>0){return`${quoteMeta(E)}${itemsToRegexp(S.map((S=>S.slice(E.length,-k.length||undefined))))}${quoteMeta(k)}`}}if(E.length===0&&w.size===2){const S=w[Symbol.iterator]();const E=S.next().value;const k=S.next().value;if(E.length>0&&k.length>0&&E.slice(-1)===k.slice(-1)){return`${itemsToRegexp([E.slice(0,-1),k.slice(0,-1)])}${quoteMeta(E.slice(-1))}`}}const N=popCommonItems(w,(S=>S.length>=1?S[0]:false),(S=>{if(S.length>=3)return true;if(S.length<=1)return false;return S[0][1]===S[1][1]}));for(const S of N){const k=getCommonPrefix(S);E.push(`${quoteMeta(k)}${itemsToRegexp(S.map((S=>S.slice(k.length))))}`)}const j=popCommonItems(w,(S=>S.length>=1?S.slice(-1):false),(S=>{if(S.length>=3)return true;if(S.length<=1)return false;return S[0].slice(-2)===S[1].slice(-2)}));for(const S of j){const k=getCommonSuffix(S);E.push(`${itemsToRegexp(S.map((S=>S.slice(0,-k.length))))}${quoteMeta(k)}`)}const q=E.concat(Array.from(w,quoteMeta));if(q.length===1)return q[0];return`(${q.join("|")})`};compileBooleanMatcher.fromLists=compileBooleanMatcherFromLists;compileBooleanMatcher.itemsToRegexp=itemsToRegexp;S.exports=compileBooleanMatcher},35817:(S,E,k)=>{"use strict";const w=k(91671);const N=w((()=>k(15235).validate));const createSchemaValidation=(S=(S=>false),E,k)=>{E=w(E);return w=>{if(!S(w)){N()(E(),w,k)}}};S.exports=createSchemaValidation},35891:(S,E,k)=>{"use strict";const w=k(75066);const N=2e3;const j={};class BulkUpdateDecorator extends w{constructor(S,E){super();this.hashKey=E;if(typeof S==="function"){this.hashFactory=S;this.hash=undefined}else{this.hashFactory=undefined;this.hash=S}this.buffer=""}update(S,E){if(E!==undefined||typeof S!=="string"||S.length>N){if(this.hash===undefined)this.hash=this.hashFactory();if(this.buffer.length>0){this.hash.update(this.buffer);this.buffer=""}this.hash.update(S,E)}else{this.buffer+=S;if(this.buffer.length>N){if(this.hash===undefined)this.hash=this.hashFactory();this.hash.update(this.buffer);this.buffer=""}}return this}digest(S){let E;const k=this.buffer;if(this.hash===undefined){const w=`${this.hashKey}-${S}`;E=j[w];if(E===undefined){E=j[w]=new Map}const N=E.get(k);if(N!==undefined)return N;this.hash=this.hashFactory()}if(k.length>0){this.hash.update(k)}const w=this.hash.digest(S);const N=typeof w==="string"?w:w.toString();if(E!==undefined){E.set(k,N)}return N}}class DebugHash extends w{constructor(){super();this.string=""}update(S,E){if(typeof S!=="string")S=S.toString("utf-8");if(S.startsWith("debug-digest-")){S=Buffer.from(S.slice("debug-digest-".length),"hex").toString()}this.string+=`[${S}](${(new Error).stack.split("\n",3)[2]})\n`;return this}digest(S){return"debug-digest-"+Buffer.from(this.string).toString("hex")}}let q=undefined;S.exports=S=>{if(typeof S==="function"){return new BulkUpdateDecorator((()=>new S))}switch(S){case"debug":return new DebugHash;default:if(q===undefined)q=k(76417);return new BulkUpdateDecorator((()=>q.createHash(S)),S)}}},16595:(S,E,k)=>{"use strict";const w=k(31669);const N=new Map;const createDeprecation=(S,E)=>{const k=N.get(S);if(k!==undefined)return k;const j=w.deprecate((()=>{}),S,"DEP_WEBPACK_DEPRECATION_"+E);N.set(S,j);return j};const j=["concat","entry","filter","find","findIndex","includes","indexOf","join","lastIndexOf","map","reduce","reduceRight","slice","some"];const q=["copyWithin","entries","fill","keys","pop","reverse","shift","splice","sort","unshift"];E.arrayToSetDeprecation=(S,E)=>{for(const k of j){if(S[k])continue;const w=createDeprecation(`${E} was changed from Array to Set (using Array method '${k}' is deprecated)`,"ARRAY_TO_SET");S[k]=function(){w();const S=Array.from(this);return Array.prototype[k].apply(S,arguments)}}const k=createDeprecation(`${E} was changed from Array to Set (using Array method 'push' is deprecated)`,"ARRAY_TO_SET_PUSH");const w=createDeprecation(`${E} was changed from Array to Set (using Array property 'length' is deprecated)`,"ARRAY_TO_SET_LENGTH");const N=createDeprecation(`${E} was changed from Array to Set (indexing Array is deprecated)`,"ARRAY_TO_SET_INDEXER");S.push=function(){k();for(const S of Array.from(arguments)){this.add(S)}return this.size};for(const k of q){if(S[k])continue;S[k]=()=>{throw new Error(`${E} was changed from Array to Set (using Array method '${k}' is not possible)`)}}const createIndexGetter=S=>{const fn=function(){N();let E=0;for(const k of this){if(E++===S)return k}return undefined};return fn};const defineIndexGetter=k=>{Object.defineProperty(S,k,{get:createIndexGetter(k),set(S){throw new Error(`${E} was changed from Array to Set (indexing Array with write is not possible)`)}})};defineIndexGetter(0);let ee=1;Object.defineProperty(S,"length",{get(){w();const S=this.size;for(ee;ee{class SetDeprecatedArray extends Set{}E.arrayToSetDeprecation(SetDeprecatedArray.prototype,S);return SetDeprecatedArray};E.soonFrozenObjectDeprecation=(S,E,k,N="")=>{const j=`${E} will be frozen in future, all modifications are deprecated.${N&&`\n${N}`}`;return new Proxy(S,{set:w.deprecate(((S,E,k,w)=>Reflect.set(S,E,k,w)),j,k),defineProperty:w.deprecate(((S,E,k)=>Reflect.defineProperty(S,E,k)),j,k),deleteProperty:w.deprecate(((S,E)=>Reflect.deleteProperty(S,E)),j,k),setPrototypeOf:w.deprecate(((S,E)=>Reflect.setPrototypeOf(S,E)),j,k)})};const deprecateAllProperties=(S,E,k)=>{const N={};const j=Object.getOwnPropertyDescriptors(S);for(const S of Object.keys(j)){const q=j[S];if(typeof q.value==="function"){Object.defineProperty(N,S,{...q,value:w.deprecate(q.value,E,k)})}else if(q.get||q.set){Object.defineProperty(N,S,{...q,get:q.get&&w.deprecate(q.get,E,k),set:q.set&&w.deprecate(q.set,E,k)})}else{let j=q.value;Object.defineProperty(N,S,{configurable:q.configurable,enumerable:q.enumerable,get:w.deprecate((()=>j),E,k),set:q.writable?w.deprecate((S=>j=S),E,k):undefined})}}return N};E.deprecateAllProperties=deprecateAllProperties;E.createFakeHook=(S,E,k)=>{if(E&&k){S=deprecateAllProperties(S,E,k)}return Object.freeze(Object.assign(S,{_fakeHook:true}))}},44648:S=>{"use strict";const similarity=(S,E)=>{const k=Math.min(S.length,E.length);let w=0;for(let N=0;N{const w=Math.min(S.length,E.length);let N=0;while(N{for(const k of Object.keys(E)){S[k]=(S[k]||0)+E[k]}};const subtractSizeFrom=(S,E)=>{for(const k of Object.keys(E)){S[k]-=E[k]}};const sumSize=S=>{const E=Object.create(null);for(const k of S){addSizeTo(E,k.size)}return E};const isTooBig=(S,E)=>{for(const k of Object.keys(S)){const w=S[k];if(w===0)continue;const N=E[k];if(typeof N==="number"){if(w>N)return true}}return false};const isTooSmall=(S,E)=>{for(const k of Object.keys(S)){const w=S[k];if(w===0)continue;const N=E[k];if(typeof N==="number"){if(w{const k=new Set;for(const w of Object.keys(S)){const N=S[w];if(N===0)continue;const j=E[w];if(typeof j==="number"){if(N{let k=0;for(const w of Object.keys(S)){if(S[w]!==0&&E.has(w))k++}return k};const selectiveSizeSum=(S,E)=>{let k=0;for(const w of Object.keys(S)){if(S[w]!==0&&E.has(w))k+=S[w]}return k};class Node{constructor(S,E,k){this.item=S;this.key=E;this.size=k}}class Group{constructor(S,E,k){this.nodes=S;this.similarities=E;this.size=k||sumSize(S);this.key=undefined}popNodes(S){const E=[];const k=[];const w=[];let N;for(let j=0;j0){k.push(N===this.nodes[j-1]?this.similarities[j-1]:similarity(N.key,q.key))}E.push(q);N=q}}if(w.length===this.nodes.length)return undefined;this.nodes=E;this.similarities=k;this.size=sumSize(E);return w}}const getSimilarities=S=>{const E=[];let k=undefined;for(const w of S){if(k!==undefined){E.push(similarity(k.key,w.key))}k=w}return E};S.exports=({maxSize:S,minSize:E,items:k,getSize:w,getKey:N})=>{const j=[];const q=Array.from(k,(S=>new Node(S,N(S),w(S))));const ee=[];q.sort(((S,E)=>{if(S.keyE.key)return 1;return 0}));for(const k of q){if(isTooBig(k.size,S)&&!isTooSmall(k.size,E)){j.push(new Group([k],[]))}else{ee.push(k)}}if(ee.length>0){const k=new Group(ee,getSimilarities(ee));const removeProblematicNodes=(S,k=S.size)=>{const w=getTooSmallTypes(k,E);if(w.size>0){const E=S.popNodes((S=>getNumberOfMatchingSizeTypes(S.size,w)>0));if(E===undefined)return false;const k=j.filter((S=>getNumberOfMatchingSizeTypes(S.size,w)>0));if(k.length>0){const S=k.reduce(((S,E)=>{const k=getNumberOfMatchingSizeTypes(S,w);const N=getNumberOfMatchingSizeTypes(E,w);if(k!==N)return kselectiveSizeSum(E.size,w))return E;return S}));for(const k of E)S.nodes.push(k);S.nodes.sort(((S,E)=>{if(S.keyE.key)return 1;return 0}))}else{j.push(new Group(E,null))}return true}else{return false}};if(k.nodes.length>0){const w=[k];while(w.length){const k=w.pop();if(!isTooBig(k.size,S)){j.push(k);continue}if(removeProblematicNodes(k)){w.push(k);continue}let N=1;let q=Object.create(null);addSizeTo(q,k.nodes[0].size);while(N=0&&isTooSmall(te,E)){addSizeTo(te,k.nodes[ee].size);ee--}if(N-1>ee){let S;if(ee{if(S.nodes[0].keyE.nodes[0].key)return 1;return 0}));const te=new Set;for(let S=0;S({key:S.key,items:S.nodes.map((S=>S.item)),size:S.size})))}},10004:S=>{"use strict";S.exports=function extractUrlAndGlobal(S){const E=S.indexOf("@");return[S.substring(E+1),S.substring(0,E)]}},62598:S=>{"use strict";const E=0;const k=1;const w=2;const N=3;const j=4;class Node{constructor(S){this.item=S;this.dependencies=new Set;this.marker=E;this.cycle=undefined;this.incoming=0}}class Cycle{constructor(){this.nodes=new Set}}S.exports=(S,q)=>{const ee=new Map;for(const E of S){const S=new Node(E);ee.set(E,S)}if(ee.size<=1)return S;for(const S of ee.values()){for(const E of q(S.item)){const k=ee.get(E);if(k!==undefined){S.dependencies.add(k)}}}const te=new Set;const ne=new Set;for(const S of ee.values()){if(S.marker===E){S.marker=k;const q=[{node:S,openEdges:Array.from(S.dependencies)}];while(q.length>0){const S=q[q.length-1];if(S.openEdges.length>0){const ee=S.openEdges.pop();switch(ee.marker){case E:q.push({node:ee,openEdges:Array.from(ee.dependencies)});ee.marker=k;break;case k:{let S=ee.cycle;if(!S){S=new Cycle;S.nodes.add(ee);ee.cycle=S}for(let E=q.length-1;q[E].node!==ee;E--){const k=q[E].node;if(k.cycle){if(k.cycle!==S){for(const E of k.cycle.nodes){E.cycle=S;S.nodes.add(E)}}}else{k.cycle=S;S.nodes.add(k)}}break}case j:ee.marker=w;te.delete(ee);break;case N:ne.delete(ee.cycle);ee.marker=w;break}}else{q.pop();S.node.marker=w}}const ee=S.cycle;if(ee){for(const S of ee.nodes){S.marker=N}ne.add(ee)}else{S.marker=j;te.add(S)}}}for(const S of ne){let E=0;const k=new Set;const w=S.nodes;for(const S of w){for(const N of S.dependencies){if(w.has(N)){N.incoming++;if(N.incomingE){k.clear();E=N.incoming}k.add(N)}}}for(const S of k){te.add(S)}}if(te.size>0){return Array.from(te,(S=>S.item))}else{throw new Error("Implementation of findGraphRoots is broken")}}},95396:(S,E,k)=>{"use strict";const w=k(85622);const relative=(S,E,k)=>{if(S&&S.relative){return S.relative(E,k)}else if(w.posix.isAbsolute(E)){return w.posix.relative(E,k)}else if(w.win32.isAbsolute(E)){return w.win32.relative(E,k)}else{throw new Error(`${E} is neither a posix nor a windows path, and there is no 'relative' method defined in the file system`)}};E.relative=relative;const join=(S,E,k)=>{if(S&&S.join){return S.join(E,k)}else if(w.posix.isAbsolute(E)){return w.posix.join(E,k)}else if(w.win32.isAbsolute(E)){return w.win32.join(E,k)}else{throw new Error(`${E} is neither a posix nor a windows path, and there is no 'join' method defined in the file system`)}};E.join=join;const dirname=(S,E)=>{if(S&&S.dirname){return S.dirname(E)}else if(w.posix.isAbsolute(E)){return w.posix.dirname(E)}else if(w.win32.isAbsolute(E)){return w.win32.dirname(E)}else{throw new Error(`${E} is neither a posix nor a windows path, and there is no 'dirname' method defined in the file system`)}};E.dirname=dirname;const mkdirp=(S,E,k)=>{S.mkdir(E,(w=>{if(w){if(w.code==="ENOENT"){const N=dirname(S,E);if(N===E){k(w);return}mkdirp(S,N,(w=>{if(w){k(w);return}S.mkdir(E,(S=>{if(S){if(S.code==="EEXIST"){k();return}k(S);return}k()}))}));return}else if(w.code==="EEXIST"){k();return}k(w);return}k()}))};E.mkdirp=mkdirp;const mkdirpSync=(S,E)=>{try{S.mkdirSync(E)}catch(k){if(k){if(k.code==="ENOENT"){const w=dirname(S,E);if(w===E){throw k}mkdirpSync(S,w);S.mkdirSync(E);return}else if(k.code==="EEXIST"){return}throw k}}};E.mkdirpSync=mkdirpSync;const readJson=(S,E,k)=>{if("readJson"in S)return S.readJson(E,k);S.readFile(E,((S,E)=>{if(S)return k(S);let w;try{w=JSON.parse(E.toString("utf-8"))}catch(S){return k(S)}return k(null,w)}))};E.readJson=readJson},49197:(S,E,k)=>{"use strict";const w=k(85622);const N=/^[a-zA-Z]:[\\/]/;const j=/([|!])/;const q=/\\/g;const absoluteToRequest=(S,E)=>{if(E[0]==="/"){if(E.length>1&&E[E.length-1]==="/"){return E}const k=E.indexOf("?");let N=k===-1?E:E.slice(0,k);N=w.posix.relative(S,N);if(!N.startsWith("../")){N="./"+N}return k===-1?N:N+E.slice(k)}if(N.test(E)){const k=E.indexOf("?");let j=k===-1?E:E.slice(0,k);j=w.win32.relative(S,j);if(!N.test(j)){j=j.replace(q,"/");if(!j.startsWith("../")){j="./"+j}}return k===-1?j:j+E.slice(k)}return E};const requestToAbsolute=(S,E)=>{if(E.startsWith("./")||E.startsWith("../"))return w.join(S,E);return E};const makeCacheable=S=>{const E=new WeakMap;const cachedFn=(k,w,N)=>{if(!N)return S(k,w);let j=E.get(N);if(j===undefined){j=new Map;E.set(N,j)}let q;let ee=j.get(k);if(ee===undefined){j.set(k,ee=new Map)}else{q=ee.get(w)}if(q!==undefined){return q}else{const E=S(k,w);ee.set(w,E);return E}};cachedFn.bindCache=k=>{let w;if(k){w=E.get(k);if(w===undefined){w=new Map;E.set(k,w)}}else{w=new Map}const boundFn=(E,k)=>{let N;let j=w.get(E);if(j===undefined){w.set(E,j=new Map)}else{N=j.get(k)}if(N!==undefined){return N}else{const w=S(E,k);j.set(k,w);return w}};return boundFn};cachedFn.bindContextCache=(k,w)=>{let N;if(w){let S=E.get(w);if(S===undefined){S=new Map;E.set(w,S)}N=S.get(k);if(N===undefined){S.set(k,N=new Map)}}else{N=new Map}const boundFn=E=>{const w=N.get(E);if(w!==undefined){return w}else{const w=S(k,E);N.set(E,w);return w}};return boundFn};return cachedFn};const _makePathsRelative=(S,E)=>E.split(j).map((E=>absoluteToRequest(S,E))).join("");E.makePathsRelative=makeCacheable(_makePathsRelative);const _contextify=(S,E)=>E.split("!").map((E=>absoluteToRequest(S,E))).join("!");const ee=makeCacheable(_contextify);E.contextify=ee;const _absolutify=(S,E)=>E.split("!").map((E=>requestToAbsolute(S,E))).join("!");const te=makeCacheable(_absolutify);E.absolutify=te;const ne=/^((?:\0.|[^?#\0])*)(\?(?:\0.|[^#\0])*)?(#.*)?$/;const _parseResource=S=>{const E=ne.exec(S);return{resource:S,path:E[1].replace(/\0(.)/g,"$1"),query:E[2]?E[2].replace(/\0(.)/g,"$1"):"",fragment:E[3]||""}};E.parseResource=(S=>{const E=new WeakMap;const getCache=S=>{const k=E.get(S);if(k!==undefined)return k;const w=new Map;E.set(S,w);return w};const fn=(E,k)=>{if(!k)return S(E);const w=getCache(k);const N=w.get(E);if(N!==undefined)return N;const j=S(E);w.set(E,j);return j};fn.bindCache=E=>{const k=getCache(E);return E=>{const w=k.get(E);if(w!==undefined)return w;const N=S(E);k.set(E,N);return N}};return fn})(_parseResource);E.getUndoPath=(S,E,k)=>{let w=-1;let N="";E=E.replace(/[\\/]$/,"");for(const k of S.split(/[/\\]+/)){if(k===".."){if(w>-1){w--}else{const S=E.lastIndexOf("/");const k=E.lastIndexOf("\\");const w=S<0?k:k<0?S:Math.max(S,k);if(w<0)return E+"/";N=E.slice(w+1)+"/"+N;E=E.slice(0,w)}}else if(k!=="."){w++}}return w>0?`${"../".repeat(w)}${N}`:k?`./${N}`:N}},90331:(S,E,k)=>{"use strict";S.exports={AsyncDependenciesBlock:()=>k(98221),CommentCompilationWarning:()=>k(47207),ContextModule:()=>k(58126),"cache/PackFileCacheStrategy":()=>k(83793),"cache/ResolverCachePlugin":()=>k(13653),"container/ContainerEntryDependency":()=>k(76041),"container/ContainerEntryModule":()=>k(89591),"container/ContainerExposedDependency":()=>k(4523),"container/FallbackDependency":()=>k(50940),"container/FallbackItemDependency":()=>k(55525),"container/FallbackModule":()=>k(13386),"container/RemoteModule":()=>k(68679),"container/RemoteToExternalDependency":()=>k(44742),"dependencies/AMDDefineDependency":()=>k(46960),"dependencies/AMDRequireArrayDependency":()=>k(95715),"dependencies/AMDRequireContextDependency":()=>k(38145),"dependencies/AMDRequireDependenciesBlock":()=>k(83842),"dependencies/AMDRequireDependency":()=>k(45167),"dependencies/AMDRequireItemDependency":()=>k(29022),"dependencies/CachedConstDependency":()=>k(59455),"dependencies/CreateScriptUrlDependency":()=>k(7257),"dependencies/CommonJsRequireContextDependency":()=>k(51454),"dependencies/CommonJsExportRequireDependency":()=>k(1248),"dependencies/CommonJsExportsDependency":()=>k(26702),"dependencies/CommonJsFullRequireDependency":()=>k(87519),"dependencies/CommonJsRequireDependency":()=>k(37313),"dependencies/CommonJsSelfReferenceDependency":()=>k(94147),"dependencies/ConstDependency":()=>k(66298),"dependencies/ContextDependency":()=>k(400),"dependencies/ContextElementDependency":()=>k(90872),"dependencies/CriticalDependencyWarning":()=>k(75314),"dependencies/DelegatedSourceDependency":()=>k(49422),"dependencies/DllEntryDependency":()=>k(95189),"dependencies/EntryDependency":()=>k(66583),"dependencies/ExportsInfoDependency":()=>k(51420),"dependencies/HarmonyAcceptDependency":()=>k(27790),"dependencies/HarmonyAcceptImportDependency":()=>k(80654),"dependencies/HarmonyCompatibilityDependency":()=>k(54290),"dependencies/HarmonyExportExpressionDependency":()=>k(55037),"dependencies/HarmonyExportHeaderDependency":()=>k(48752),"dependencies/HarmonyExportImportedSpecifierDependency":()=>k(44576),"dependencies/HarmonyExportSpecifierDependency":()=>k(14696),"dependencies/HarmonyImportSideEffectDependency":()=>k(69707),"dependencies/HarmonyImportSpecifierDependency":()=>k(2230),"dependencies/ImportContextDependency":()=>k(4828),"dependencies/ImportDependency":()=>k(20013),"dependencies/ImportEagerDependency":()=>k(75708),"dependencies/ImportWeakDependency":()=>k(12849),"dependencies/JsonExportsDependency":()=>k(38895),"dependencies/LocalModule":()=>k(77230),"dependencies/LocalModuleDependency":()=>k(14229),"dependencies/ModuleDecoratorDependency":()=>k(2706),"dependencies/ModuleHotAcceptDependency":()=>k(21809),"dependencies/ModuleHotDeclineDependency":()=>k(73158),"dependencies/ImportMetaHotAcceptDependency":()=>k(76302),"dependencies/ImportMetaHotDeclineDependency":()=>k(5389),"dependencies/ProvidedDependency":()=>k(1335),"dependencies/PureExpressionDependency":()=>k(53567),"dependencies/RequireContextDependency":()=>k(19204),"dependencies/RequireEnsureDependenciesBlock":()=>k(15196),"dependencies/RequireEnsureDependency":()=>k(15427),"dependencies/RequireEnsureItemDependency":()=>k(81058),"dependencies/RequireHeaderDependency":()=>k(70340),"dependencies/RequireIncludeDependency":()=>k(63556),"dependencies/RequireIncludeDependencyParserPlugin":()=>k(1913),"dependencies/RequireResolveContextDependency":()=>k(84817),"dependencies/RequireResolveDependency":()=>k(76913),"dependencies/RequireResolveHeaderDependency":()=>k(23380),"dependencies/RuntimeRequirementsDependency":()=>k(35424),"dependencies/StaticExportsDependency":()=>k(96076),"dependencies/SystemPlugin":()=>k(62630),"dependencies/UnsupportedDependency":()=>k(12584),"dependencies/URLDependency":()=>k(66444),"dependencies/WebAssemblyExportImportedDependency":()=>k(30697),"dependencies/WebAssemblyImportDependency":()=>k(33081),"dependencies/WebpackIsIncludedDependency":()=>k(46715),"dependencies/WorkerDependency":()=>k(89017),"json/JsonData":()=>k(72055),"optimize/ConcatenatedModule":()=>k(95734),DelegatedModule:()=>k(3955),DependenciesBlock:()=>k(32448),DllModule:()=>k(44593),ExternalModule:()=>k(16734),FileSystemInfo:()=>k(22996),InvalidDependenciesModuleWarning:()=>k(49619),Module:()=>k(53453),ModuleBuildError:()=>k(26509),ModuleDependencyWarning:()=>k(23280),ModuleError:()=>k(91613),ModuleGraph:()=>k(75412),ModuleParseError:()=>k(14489),ModuleWarning:()=>k(8893),NormalModule:()=>k(53520),RawModule:()=>k(22804),"sharing/ConsumeSharedModule":()=>k(21606),"sharing/ConsumeSharedFallbackDependency":()=>k(86827),"sharing/ProvideSharedModule":()=>k(99114),"sharing/ProvideSharedDependency":()=>k(56049),"sharing/ProvideForSharedDependency":()=>k(31095),UnsupportedFeatureWarning:()=>k(53558),"util/LazySet":()=>k(83379),UnhandledSchemeError:()=>k(77090),WebpackError:()=>k(81627),"util/registerExternalSerializer":()=>{}}},56202:(S,E,k)=>{"use strict";const{register:w}=k(24568);class ClassSerializer{constructor(S){this.Constructor=S}serialize(S,E){S.serialize(E)}deserialize(S){if(typeof this.Constructor.deserialize==="function"){return this.Constructor.deserialize(S)}const E=new this.Constructor;E.deserialize(S);return E}}S.exports=(S,E,k=null)=>{w(S,E,k,new ClassSerializer(S))}},91671:S=>{"use strict";const memoize=S=>{let E=false;let k=undefined;return()=>{if(E){return k}else{k=S();E=true;S=undefined;return k}}};S.exports=memoize},12631:S=>{"use strict";const E=2147483648;const k=E-1;const w=4;const N=[0,0,0,0,0];const j=[3,7,17,19];S.exports=(S,q)=>{N.fill(0);for(let E=0;E>1}}if(q<=k){let S=0;for(let E=0;E{"use strict";const processAsyncTree=(S,E,k,w)=>{const N=Array.from(S);if(N.length===0)return w();let j=0;let q=false;let ee=true;const push=S=>{N.push(S);if(!ee&&j{j--;if(S&&!q){q=true;w(S);return}if(!ee){ee=true;process.nextTick(processQueue)}};const processQueue=()=>{if(q)return;while(j0){j++;const S=N.pop();k(S,push,processorCallback)}ee=false;if(N.length===0&&j===0&&!q){q=true;w()}};processQueue()};S.exports=processAsyncTree},68038:S=>{"use strict";const E=/^[_a-zA-Z$][_a-zA-Z$0-9]*$/;const propertyAccess=(S,k=0)=>{let w="";for(let N=k;N{"use strict";const{register:w}=k(24568);const N=k(14150).Position;const j=k(14150).SourceLocation;const q=k(24672).default;const{CachedSource:ee,ConcatSource:te,OriginalSource:ne,PrefixSource:ae,RawSource:_e,ReplaceSource:ve,SourceMapSource:Ee}=k(48135);const Te="webpack/lib/util/registerExternalSerializer";w(ee,Te,"webpack-sources/CachedSource",new class CachedSourceSerializer{serialize(S,{write:E,writeLazy:k}){if(k){k(S.originalLazy())}else{E(S.original())}E(S.getCachedData())}deserialize({read:S}){const E=S();const k=S();return new ee(E,k)}});w(_e,Te,"webpack-sources/RawSource",new class RawSourceSerializer{serialize(S,{write:E}){E(S.buffer());E(!S.isBuffer())}deserialize({read:S}){const E=S();const k=S();return new _e(E,k)}});w(te,Te,"webpack-sources/ConcatSource",new class ConcatSourceSerializer{serialize(S,{write:E}){E(S.getChildren())}deserialize({read:S}){const E=new te;E.addAllSkipOptimizing(S());return E}});w(ae,Te,"webpack-sources/PrefixSource",new class PrefixSourceSerializer{serialize(S,{write:E}){E(S.getPrefix());E(S.original())}deserialize({read:S}){return new ae(S(),S())}});w(ve,Te,"webpack-sources/ReplaceSource",new class ReplaceSourceSerializer{serialize(S,{write:E}){E(S.original());E(S.getName());const k=S.getReplacements();E(k.length);for(const S of k){E(S.start);E(S.end)}for(const S of k){E(S.content);E(S.name)}}deserialize({read:S}){const E=new ve(S(),S());const k=S();const w=[];for(let E=0;E{"use strict";const w=k(16102);E.getEntryRuntime=(S,E,k)=>{let w;let N;if(k){({dependOn:w,runtime:N}=k)}else{const k=S.entries.get(E);if(!k)return E;({dependOn:w,runtime:N}=k.options)}if(w){let k=undefined;const N=new Set(w);for(const E of N){const w=S.entries.get(E);if(!w)continue;const{dependOn:j,runtime:q}=w.options;if(j){for(const S of j){N.add(S)}}else{k=mergeRuntimeOwned(k,q||E)}}return k||E}else{return N||E}};E.forEachRuntime=(S,E,k=false)=>{if(S===undefined){E(undefined)}else if(typeof S==="string"){E(S)}else{if(k)S.sort();for(const k of S){E(k)}}};const getRuntimesKey=S=>{S.sort();return Array.from(S).join("\n")};const getRuntimeKey=S=>{if(S===undefined)return"*";if(typeof S==="string")return S;return S.getFromUnorderedCache(getRuntimesKey)};E.getRuntimeKey=getRuntimeKey;const keyToRuntime=S=>{if(S==="*")return undefined;const E=S.split("\n");if(E.length===1)return E[0];return new w(E)};E.keyToRuntime=keyToRuntime;const getRuntimesString=S=>{S.sort();return Array.from(S).join("+")};const runtimeToString=S=>{if(S===undefined)return"*";if(typeof S==="string")return S;return S.getFromUnorderedCache(getRuntimesString)};E.runtimeToString=runtimeToString;E.runtimeConditionToString=S=>{if(S===true)return"true";if(S===false)return"false";return runtimeToString(S)};const runtimeEqual=(S,E)=>{if(S===E){return true}else if(S===undefined||E===undefined||typeof S==="string"||typeof E==="string"){return false}else if(S.size!==E.size){return false}else{S.sort();E.sort();const k=S[Symbol.iterator]();const w=E[Symbol.iterator]();for(;;){const S=k.next();if(S.done)return true;const E=w.next();if(S.value!==E.value)return false}}};E.runtimeEqual=runtimeEqual;E.compareRuntime=(S,E)=>{if(S===E){return 0}else if(S===undefined){return-1}else if(E===undefined){return 1}else{const k=getRuntimeKey(S);const w=getRuntimeKey(E);if(kw)return 1;return 0}};const mergeRuntime=(S,E)=>{if(S===undefined){return E}else if(E===undefined){return S}else if(S===E){return S}else if(typeof S==="string"){if(typeof E==="string"){const k=new w;k.add(S);k.add(E);return k}else if(E.has(S)){return E}else{const k=new w(E);k.add(S);return k}}else{if(typeof E==="string"){if(S.has(E))return S;const k=new w(S);k.add(E);return k}else{const k=new w(S);for(const S of E)k.add(S);if(k.size===S.size)return S;return k}}};E.mergeRuntime=mergeRuntime;E.mergeRuntimeCondition=(S,E,k)=>{if(S===false)return E;if(E===false)return S;if(S===true||E===true)return true;const w=mergeRuntime(S,E);if(w===undefined)return undefined;if(typeof w==="string"){if(typeof k==="string"&&w===k)return true;return w}if(typeof k==="string"||k===undefined)return w;if(w.size===k.size)return true;return w};E.mergeRuntimeConditionNonFalse=(S,E,k)=>{if(S===true||E===true)return true;const w=mergeRuntime(S,E);if(w===undefined)return undefined;if(typeof w==="string"){if(typeof k==="string"&&w===k)return true;return w}if(typeof k==="string"||k===undefined)return w;if(w.size===k.size)return true;return w};const mergeRuntimeOwned=(S,E)=>{if(E===undefined){return S}else if(S===E){return S}else if(S===undefined){if(typeof E==="string"){return E}else{return new w(E)}}else if(typeof S==="string"){if(typeof E==="string"){const k=new w;k.add(S);k.add(E);return k}else{const k=new w(E);k.add(S);return k}}else{if(typeof E==="string"){S.add(E);return S}else{for(const k of E)S.add(k);return S}}};E.mergeRuntimeOwned=mergeRuntimeOwned;E.intersectRuntime=(S,E)=>{if(S===undefined){return E}else if(E===undefined){return S}else if(S===E){return S}else if(typeof S==="string"){if(typeof E==="string"){return undefined}else if(E.has(S)){return S}else{return undefined}}else{if(typeof E==="string"){if(S.has(E))return E;return undefined}else{const k=new w;for(const w of E){if(S.has(w))k.add(w)}if(k.size===0)return undefined;if(k.size===1)for(const S of k)return S;return k}}};const subtractRuntime=(S,E)=>{if(S===undefined){return undefined}else if(E===undefined){return S}else if(S===E){return undefined}else if(typeof S==="string"){if(typeof E==="string"){return S}else if(E.has(S)){return undefined}else{return S}}else{if(typeof E==="string"){if(!S.has(E))return S;if(S.size===2){for(const k of S){if(k!==E)return k}}const k=new w(S);k.delete(E)}else{const k=new w;for(const w of S){if(!E.has(w))k.add(w)}if(k.size===0)return undefined;if(k.size===1)for(const S of k)return S;return k}}};E.subtractRuntime=subtractRuntime;E.subtractRuntimeCondition=(S,E,k)=>{if(E===true)return false;if(E===false)return S;if(S===false)return false;const w=subtractRuntime(S===true?k:S,E);return w===undefined?false:w};E.filterRuntime=(S,E)=>{if(S===undefined)return E(undefined);if(typeof S==="string")return E(S);let k=false;let w=true;let N=undefined;for(const j of S){const S=E(j);if(S){k=true;N=mergeRuntimeOwned(N,j)}else{w=false}}if(!k)return false;if(w)return true;return N};class RuntimeSpecMap{constructor(S){this._mode=S?S._mode:0;this._singleRuntime=S?S._singleRuntime:undefined;this._singleValue=S?S._singleValue:undefined;this._map=S&&S._map?new Map(S._map):undefined}get(S){switch(this._mode){case 0:return undefined;case 1:return runtimeEqual(this._singleRuntime,S)?this._singleValue:undefined;default:return this._map.get(getRuntimeKey(S))}}has(S){switch(this._mode){case 0:return false;case 1:return runtimeEqual(this._singleRuntime,S);default:return this._map.has(getRuntimeKey(S))}}set(S,E){switch(this._mode){case 0:this._mode=1;this._singleRuntime=S;this._singleValue=E;break;case 1:if(runtimeEqual(this._singleRuntime,S)){this._singleValue=E;break}this._mode=2;this._map=new Map;this._map.set(getRuntimeKey(this._singleRuntime),this._singleValue);this._singleRuntime=undefined;this._singleValue=undefined;default:this._map.set(getRuntimeKey(S),E)}}provide(S,E){switch(this._mode){case 0:this._mode=1;this._singleRuntime=S;return this._singleValue=E();case 1:{if(runtimeEqual(this._singleRuntime,S)){return this._singleValue}this._mode=2;this._map=new Map;this._map.set(getRuntimeKey(this._singleRuntime),this._singleValue);this._singleRuntime=undefined;this._singleValue=undefined;const k=E();this._map.set(getRuntimeKey(S),k);return k}default:{const k=getRuntimeKey(S);const w=this._map.get(k);if(w!==undefined)return w;const N=E();this._map.set(k,N);return N}}}delete(S){switch(this._mode){case 0:return;case 1:if(runtimeEqual(this._singleRuntime,S)){this._mode=0;this._singleRuntime=undefined;this._singleValue=undefined}return;default:this._map.delete(getRuntimeKey(S))}}update(S,E){switch(this._mode){case 0:throw new Error("runtime passed to update must exist");case 1:{if(runtimeEqual(this._singleRuntime,S)){this._singleValue=E(this._singleValue);break}const k=E(undefined);if(k!==undefined){this._mode=2;this._map=new Map;this._map.set(getRuntimeKey(this._singleRuntime),this._singleValue);this._singleRuntime=undefined;this._singleValue=undefined;this._map.set(getRuntimeKey(S),k)}break}default:{const k=getRuntimeKey(S);const w=this._map.get(k);const N=E(w);if(N!==w)this._map.set(k,N)}}}keys(){switch(this._mode){case 0:return[];case 1:return[this._singleRuntime];default:return Array.from(this._map.keys(),keyToRuntime)}}values(){switch(this._mode){case 0:return[][Symbol.iterator]();case 1:return[this._singleValue][Symbol.iterator]();default:return this._map.values()}}get size(){if(this._mode<=1)return this._mode;return this._map.size}}E.RuntimeSpecMap=RuntimeSpecMap;class RuntimeSpecSet{constructor(S){this._map=new Map;if(S){for(const E of S){this.add(E)}}}add(S){this._map.set(getRuntimeKey(S),S)}has(S){return this._map.has(getRuntimeKey(S))}[Symbol.iterator](){return this._map.values()}get size(){return this._map.size}}E.RuntimeSpecSet=RuntimeSpecSet},9293:function(S,E){"use strict";const parseVersion=S=>{var splitAndConvert=function(S){return S.split(".").map((function(S){return+S==S?+S:S}))};var E=/^([^-+]+)?(?:-([^+]+))?(?:\+(.+))?$/.exec(S);var k=E[1]?splitAndConvert(E[1]):[];if(E[2]){k.length++;k.push.apply(k,splitAndConvert(E[2]))}if(E[3]){k.push([]);k.push.apply(k,splitAndConvert(E[3]))}return k};E.parseVersion=parseVersion;const versionLt=(S,E)=>{S=parseVersion(S);E=parseVersion(E);var k=0;for(;;){if(k>=S.length)return k=E.length)return N=="u";var j=E[k];var q=(typeof j)[0];if(N==q){if(N!="o"&&N!="u"&&w!=j){return w{const splitAndConvert=S=>S.split(".").map((S=>`${+S}`===S?+S:S));const parsePartial=S=>{const E=/^([^-+]+)?(?:-([^+]+))?(?:\+(.+))?$/.exec(S);const k=E[1]?[0,...splitAndConvert(E[1])]:[0];if(E[2]){k.length++;k.push.apply(k,splitAndConvert(E[2]))}let w=k[k.length-1];while(k.length&&(w===undefined||/^[*xX]$/.test(w))){k.pop();w=k[k.length-1]}return k};const toFixed=S=>{if(S.length===1){return[0]}else if(S.length===2){return[1,...S.slice(1)]}else if(S.length===3){return[2,...S.slice(1)]}else{return[S.length,...S.slice(1)]}};const negate=S=>[-S[0]-1,...S.slice(1)];const parseSimple=S=>{const E=/^(\^|~|<=|<|>=|>|=|v|!)/.exec(S);const k=E?E[0]:"";const w=parsePartial(S.slice(k.length));switch(k){case"^":if(w.length>1&&w[1]===0){if(w.length>2&&w[2]===0){return[3,...w.slice(1)]}return[2,...w.slice(1)]}return[1,...w.slice(1)];case"~":return[2,...w.slice(1)];case">=":return w;case"=":case"v":case"":return toFixed(w);case"<":return negate(w);case">":{const S=toFixed(w);return[,S,0,w,2]}case"<=":return[,toFixed(w),negate(w),1];case"!":{const S=toFixed(w);return[,S,0]}default:throw new Error("Unexpected start value")}};const combine=(S,E)=>{if(S.length===1)return S[0];const k=[];for(const E of S.slice().reverse()){if(0 in E){k.push(E)}else{k.push(...E.slice(1))}}return[,...k,...S.slice(1).map((()=>E))]};const parseRange=S=>{const E=S.split(" - ");if(E.length===1){const E=S.trim().split(/\s+/g).map(parseSimple);return combine(E,2)}const k=parsePartial(E[0]);const w=parsePartial(E[1]);return[,toFixed(w),negate(w),1,k,2]};const parseLogicalOr=S=>{const E=S.split(/\s*\|\|\s*/).map(parseRange);return combine(E,1)};return parseLogicalOr(S)};const rangeToString=S=>{var E=S[0];var k="";if(S.length===1){return"*"}else if(E+.5){k+=E==0?">=":E==-1?"<":E==1?"^":E==2?"~":E>0?"=":"!=";var w=1;for(var N=1;N0?".":"")+(w=2,j)}return k}else{var ee=[];for(var N=1;N{if(0 in S){E=parseVersion(E);var k=S[0];var w=k<0;if(w)k=-k-1;for(var N=0,j=1,q=true;;j++,N++){var ee=j=E.length||(te=E[N],(ne=(typeof te)[0])=="o")){if(!q)return true;if(ee=="u")return j>k&&!w;return ee==""!=w}if(ne=="u"){if(!q||ee!="u"){return false}}else if(q){if(ee==ne){if(j<=k){if(te!=S[j]){return false}}else{if(w?te>S[j]:te{switch(typeof S){case"undefined":return"";case"object":if(Array.isArray(S)){let E="[";for(let k=0;k`var parseVersion = ${S.basicFunction("str",["// see webpack/lib/util/semver.js for original code",`var p=${S.supportsArrowFunction()?"p=>":"function(p)"}{return p.split(".").map((${S.supportsArrowFunction()?"p=>":"function(p)"}{return+p==p?+p:p}))},n=/^([^-+]+)?(?:-([^+]+))?(?:\\+(.+))?$/.exec(str),r=n[1]?p(n[1]):[];return n[2]&&(r.length++,r.push.apply(r,p(n[2]))),n[3]&&(r.push([]),r.push.apply(r,p(n[3]))),r;`])}`;E.versionLtRuntimeCode=S=>`var versionLt = ${S.basicFunction("a, b",["// see webpack/lib/util/semver.js for original code",'a=parseVersion(a),b=parseVersion(b);for(var r=0;;){if(r>=a.length)return r=b.length)return"u"==n;var t=b[r],f=(typeof t)[0];if(n!=f)return"o"==n&&"n"==f||("s"==f||"u"==n);if("o"!=n&&"u"!=n&&e!=t)return e`var rangeToString = ${S.basicFunction("range",["// see webpack/lib/util/semver.js for original code",'var r=range[0],n="";if(1===range.length)return"*";if(r+.5){n+=0==r?">=":-1==r?"<":1==r?"^":2==r?"~":r>0?"=":"!=";for(var e=1,a=1;a0?".":"")+(e=2,t)}return n}var g=[];for(a=1;a`var satisfy = ${S.basicFunction("range, version",["// see webpack/lib/util/semver.js for original code",'if(0 in range){version=parseVersion(version);var e=range[0],r=e<0;r&&(e=-e-1);for(var n=0,i=1,a=!0;;i++,n++){var f,s,g=i=version.length||"o"==(s=(typeof(f=version[n]))[0]))return!a||("u"==g?i>e&&!r:""==g!=r);if("u"==s){if(!a||"u"!=g)return!1}else if(a)if(g==s)if(i<=e){if(f!=range[i])return!1}else{if(r?f>range[i]:f{"use strict";const w=k(91671);const N=w((()=>k(88692)));const j=w((()=>k(30991)));const q=w((()=>k(79308)));const ee=w((()=>k(15261)));const te=w((()=>k(43065)));const ne=w((()=>new(N())));const ae=w((()=>{k(48077);const S=k(90331);j().registerLoader(/^webpack\/lib\//,(E=>{const k=S[E.slice("webpack/lib/".length)];if(k){k()}else{console.warn(`${E} not found in internalSerializables`)}return true}))}));let _e;S.exports={get register(){return j().register},get registerLoader(){return j().registerLoader},get registerNotSerializable(){return j().registerNotSerializable},get NOT_SERIALIZABLE(){return j().NOT_SERIALIZABLE},get MEASURE_START_OPERATION(){return N().MEASURE_START_OPERATION},get MEASURE_END_OPERATION(){return N().MEASURE_END_OPERATION},get buffersSerializer(){if(_e!==undefined)return _e;ae();const S=ee();const E=ne();const k=te();const w=q();return _e=new S([new w,new(j())((S=>{if(S.write){S.writeLazy=w=>{S.write(k.createLazy(w,E))}}})),E])},createFileSerializer:S=>{ae();const E=ee();const w=k(13829);const N=new w(S);const _e=ne();const ve=te();const Ee=q();return new E([new Ee,new(j())((S=>{if(S.write){S.writeLazy=E=>{S.write(ve.createLazy(E,_e))};S.writeSeparate=(E,k)=>{S.write(ve.createLazy(E,N,k))}}})),_e,N])}}},93695:S=>{"use strict";const smartGrouping=(S,E)=>{const k=new Set;const w=new Map;for(const N of S){const S=new Set;for(let k=0;k{const E=S.size;for(const E of S){for(const S of E.groups){if(S.alreadyGrouped)continue;const k=S.items;if(k===undefined){S.items=new Set([E])}else{k.add(E)}}}const k=new Map;for(const S of w.values()){if(S.items){const E=S.items;S.items=undefined;k.set(S,{items:E,options:undefined,used:false})}}const N=[];for(;;){let w=undefined;let j=-1;let q=undefined;let ee=undefined;for(const[N,te]of k){const{items:k,used:ne}=te;let ae=te.options;if(ae===undefined){const S=N.config;te.options=ae=S.getOptions&&S.getOptions(N.name,Array.from(k,(({item:S})=>S)))||false}const _e=ae&&ae.force;if(!_e){if(ee&&ee.force)continue;if(ne)continue;if(k.size<=1||E-k.size<=1){continue}}const ve=ae&&ae.targetGroupCount||4;let Ee=_e?k.size:Math.min(k.size,E*2/ve+S.size-k.size);if(Ee>j||_e&&(!ee||!ee.force)){w=N;j=Ee;q=k;ee=ae}}if(w===undefined){break}const te=new Set(q);const ne=ee;const ae=!ne||ne.groupChildren!==false;for(const E of te){S.delete(E);for(const S of E.groups){const w=k.get(S);if(w!==undefined){w.items.delete(E);if(w.items.size===0){k.delete(S)}else{w.options=undefined;if(ae){w.used=true}}}}}k.delete(w);const _e=w.name;const ve=w.config;const Ee=Array.from(te,(({item:S})=>S));w.alreadyGrouped=true;const Te=ae?runGrouping(te):Ee;w.alreadyGrouped=false;N.push(ve.createGroup(_e,Te,Ee))}for(const{item:E}of S){N.push(E)}return N};return runGrouping(k)};S.exports=smartGrouping},13559:(S,E)=>{"use strict";const k=new WeakMap;const _isSourceEqual=(S,E)=>{let k=typeof S.buffer==="function"?S.buffer():S.source();let w=typeof E.buffer==="function"?E.buffer():E.source();if(k===w)return true;if(typeof k==="string"&&typeof w==="string")return false;if(!Buffer.isBuffer(k))k=Buffer.from(k,"utf-8");if(!Buffer.isBuffer(w))w=Buffer.from(w,"utf-8");return k.equals(w)};const isSourceEqual=(S,E)=>{if(S===E)return true;const w=k.get(S);if(w!==undefined){const S=w.get(E);if(S!==undefined)return S}const N=_isSourceEqual(S,E);if(w!==undefined){w.set(E,N)}else{const w=new WeakMap;w.set(E,N);k.set(S,w)}const j=k.get(E);if(j!==undefined){j.set(S,N)}else{const w=new WeakMap;w.set(S,N);k.set(E,w)}return N};E.isSourceEqual=isSourceEqual},33316:(S,E,k)=>{"use strict";const{validate:w}=k(15235);const N={rules:"module.rules",loaders:"module.rules or module.rules.*.use",query:"module.rules.*.options (BREAKING CHANGE since webpack 5)",noParse:"module.noParse",filename:"output.filename or module.rules.*.generator.filename",file:"output.filename",chunkFilename:"output.chunkFilename",chunkfilename:"output.chunkFilename",ecmaVersion:"output.environment (output.ecmaVersion was a temporary configuration option during webpack 5 beta)",ecmaversion:"output.environment (output.ecmaVersion was a temporary configuration option during webpack 5 beta)",ecma:"output.environment (output.ecmaVersion was a temporary configuration option during webpack 5 beta)",path:"output.path",pathinfo:"output.pathinfo",pathInfo:"output.pathinfo",jsonpFunction:"output.chunkLoadingGlobal (BREAKING CHANGE since webpack 5)",chunkCallbackName:"output.chunkLoadingGlobal (BREAKING CHANGE since webpack 5)",jsonpScriptType:"output.scriptType (BREAKING CHANGE since webpack 5)",hotUpdateFunction:"output.hotUpdateGlobal (BREAKING CHANGE since webpack 5)",splitChunks:"optimization.splitChunks",immutablePaths:"snapshot.immutablePaths",managedPaths:"snapshot.managedPaths",maxModules:"stats.modulesSpace (BREAKING CHANGE since webpack 5)",hashedModuleIds:'optimization.moduleIds: "hashed" (BREAKING CHANGE since webpack 5)',namedChunks:'optimization.chunkIds: "named" (BREAKING CHANGE since webpack 5)',namedModules:'optimization.moduleIds: "named" (BREAKING CHANGE since webpack 5)',occurrenceOrder:'optimization.chunkIds: "size" and optimization.moduleIds: "size" (BREAKING CHANGE since webpack 5)',automaticNamePrefix:"optimization.splitChunks.[cacheGroups.*].idHint (BREAKING CHANGE since webpack 5)",noEmitOnErrors:"optimization.emitOnErrors (BREAKING CHANGE since webpack 5: logic is inverted to avoid negative flags)",Buffer:"to use the ProvidePlugin to process the Buffer variable to modules as polyfill\n"+"BREAKING CHANGE: webpack 5 no longer provided Node.js polyfills by default.\n"+"Note: if you are using 'node.Buffer: false', you can just remove that as this is the default behavior now.\n"+"To provide a polyfill to modules use:\n"+'new ProvidePlugin({ Buffer: ["buffer", "Buffer"] }) and npm install buffer.',process:"to use the ProvidePlugin to process the process variable to modules as polyfill\n"+"BREAKING CHANGE: webpack 5 no longer provided Node.js polyfills by default.\n"+"Note: if you are using 'node.process: false', you can just remove that as this is the default behavior now.\n"+"To provide a polyfill to modules use:\n"+'new ProvidePlugin({ process: "process" }) and npm install buffer.'};const j={concord:"BREAKING CHANGE: resolve.concord has been removed and is no longer available.",devtoolLineToLine:"BREAKING CHANGE: output.devtoolLineToLine has been removed and is no longer available."};const validateSchema=(S,E,k)=>{w(S,E,k||{name:"Webpack",postFormatter:(S,E)=>{const k=E.children;if(k&&k.some((S=>S.keyword==="absolutePath"&&S.dataPath===".output.filename"))){return`${S}\nPlease use output.path to specify absolute path and output.filename for the file name.`}if(k&&k.some((S=>S.keyword==="pattern"&&S.dataPath===".devtool"))){return`${S}\n`+"BREAKING CHANGE since webpack 5: The devtool option is more strict.\n"+"Please strictly follow the order of the keywords in the pattern."}if(E.keyword==="additionalProperties"){const k=E.params;if(Object.prototype.hasOwnProperty.call(N,k.additionalProperty)){return`${S}\nDid you mean ${N[k.additionalProperty]}?`}if(Object.prototype.hasOwnProperty.call(j,k.additionalProperty)){return`${S}\n${j[k.additionalProperty]}?`}if(!E.dataPath){if(k.additionalProperty==="debug"){return`${S}\n`+"The 'debug' property was removed in webpack 2.0.0.\n"+"Loaders should be updated to allow passing this option via loader options in module.rules.\n"+"Until loaders are updated one can use the LoaderOptionsPlugin to switch loaders into debug mode:\n"+"plugins: [\n"+" new webpack.LoaderOptionsPlugin({\n"+" debug: true\n"+" })\n"+"]"}if(k.additionalProperty){return`${S}\n`+"For typos: please correct them.\n"+"For loader options: webpack >= v2.0.0 no longer allows custom properties in configuration.\n"+" Loaders should be updated to allow passing options via loader options in module.rules.\n"+" Until loaders are updated one can use the LoaderOptionsPlugin to pass these options to the loader:\n"+" plugins: [\n"+" new webpack.LoaderOptionsPlugin({\n"+" // test: /\\.xxx$/, // may apply this only for some modules\n"+" options: {\n"+` ${k.additionalProperty}: …\n`+" }\n"+" })\n"+" ]"}}}return S}})};S.exports=validateSchema},21941:(S,E,k)=>{"use strict";const w=k(76150);const N=k(66804);const j=k(58159);class AsyncWasmChunkLoadingRuntimeModule extends N{constructor({generateLoadBinaryCode:S,supportsStreaming:E}){super("wasm chunk loading",N.STAGE_ATTACH);this.generateLoadBinaryCode=S;this.supportsStreaming=E}generate(){const{compilation:S,chunk:E}=this;const{outputOptions:k,runtimeTemplate:N}=S;const q=w.instantiateWasm;const ee=S.getPath(JSON.stringify(k.webassemblyModuleFilename),{hash:`" + ${w.getFullHash}() + "`,hashWithLength:S=>`" + ${w.getFullHash}}().slice(0, ${S}) + "`,module:{id:'" + wasmModuleId + "',hash:`" + wasmModuleHash + "`,hashWithLength(S){return`" + wasmModuleHash.slice(0, ${S}) + "`}},runtime:E.runtime});return`${q} = ${N.basicFunction("exports, wasmModuleId, wasmModuleHash, importsObj",[`var req = ${this.generateLoadBinaryCode(ee)};`,this.supportsStreaming?j.asString(["if (typeof WebAssembly.instantiateStreaming === 'function') {",j.indent(["return WebAssembly.instantiateStreaming(req, importsObj)",j.indent([`.then(${N.returningFunction("Object.assign(exports, res.instance.exports)","res")});`])]),"}"]):"// no support for streaming compilation","return req",j.indent([`.then(${N.returningFunction("x.arrayBuffer()","x")})`,`.then(${N.returningFunction("WebAssembly.instantiate(bytes, importsObj)","bytes")})`,`.then(${N.returningFunction("Object.assign(exports, res.instance.exports)","res")});`])])};`}}S.exports=AsyncWasmChunkLoadingRuntimeModule},10136:(S,E,k)=>{"use strict";const w=k(36253);const N=new Set(["webassembly"]);class AsyncWebAssemblyGenerator extends w{constructor(S){super();this.options=S}getTypes(S){return N}getSize(S,E){const k=S.originalSource();if(!k){return 0}return k.size()}generate(S,E){return S.originalSource()}}S.exports=AsyncWebAssemblyGenerator},75462:(S,E,k)=>{"use strict";const{RawSource:w}=k(48135);const N=k(36253);const j=k(63272);const q=k(76150);const ee=k(58159);const te=k(33081);const ne=new Set(["webassembly"]);class AsyncWebAssemblyJavascriptGenerator extends N{constructor(S){super();this.filenameTemplate=S}getTypes(S){return ne}getSize(S,E){return 40+S.dependencies.length*10}generate(S,E){const{runtimeTemplate:k,chunkGraph:N,moduleGraph:ne,runtimeRequirements:ae,runtime:_e}=E;ae.add(q.module);ae.add(q.moduleId);ae.add(q.exports);ae.add(q.instantiateWasm);const ve=[];const Ee=new Map;const Te=new Map;for(const E of S.dependencies){if(E instanceof te){const S=ne.getModule(E);if(!Ee.has(S)){Ee.set(S,{request:E.request,importVar:`WEBPACK_IMPORTED_MODULE_${Ee.size}`})}let k=Te.get(E.request);if(k===undefined){k=[];Te.set(E.request,k)}k.push(E)}}const Ce=[];const we=Array.from(Ee,(([E,{request:w,importVar:j}])=>{if(ne.isAsync(E)){Ce.push(j)}return k.importStatement({update:false,module:E,chunkGraph:N,request:w,originModule:S,importVar:j,runtimeRequirements:ae})}));const Ne=we.map((([S])=>S)).join("");const Ie=we.map((([S,E])=>E)).join("");const Fe=Array.from(Te,(([E,w])=>{const N=w.map((w=>{const N=ne.getModule(w);const j=Ee.get(N).importVar;return`${JSON.stringify(w.name)}: ${k.exportFromImport({moduleGraph:ne,module:N,request:E,exportName:w.name,originModule:S,asiSafe:true,isCall:false,callContext:false,defaultInterop:true,importVar:j,initFragments:ve,runtime:_e,runtimeRequirements:ae})}`}));return ee.asString([`${JSON.stringify(E)}: {`,ee.indent(N.join(",\n")),"}"])}));const Oe=Fe.length>0?ee.asString(["{",ee.indent(Fe.join(",\n")),"}"]):undefined;const Me=`${q.instantiateWasm}(${S.exportsArgument}, ${S.moduleArgument}.id, ${JSON.stringify(N.getRenderedModuleHash(S,_e))}`+(Oe?`, ${Oe})`:`)`);if(Ce.length>0)ae.add(q.asyncModule);const Re=new w(Ce.length>0?ee.asString([`var __webpack_instantiate__ = ${k.basicFunction(`[${Ce.join(", ")}]`,`${Ie}return ${Me};`)}`,`${q.asyncModule}(${S.moduleArgument}, ${k.basicFunction("__webpack_handle_async_dependencies__",[Ne,`var __webpack_async_dependencies__ = __webpack_handle_async_dependencies__([${Ce.join(", ")}]);`,"return __webpack_async_dependencies__.then ? __webpack_async_dependencies__.then(__webpack_instantiate__) : __webpack_instantiate__(__webpack_async_dependencies__);"])}, 1);`]):`${Ne}${Ie}module.exports = ${Me};`);return j.addToSource(Re,ve,E)}}S.exports=AsyncWebAssemblyJavascriptGenerator},82422:(S,E,k)=>{"use strict";const{SyncWaterfallHook:w}=k(92960);const N=k(3080);const j=k(36253);const{tryRunOrWebpackError:q}=k(3728);const ee=k(33081);const{compareModulesByIdentifier:te}=k(68673);const ne=k(91671);const ae=ne((()=>k(10136)));const _e=ne((()=>k(75462)));const ve=ne((()=>k(96263)));const Ee=new WeakMap;class AsyncWebAssemblyModulesPlugin{static getCompilationHooks(S){if(!(S instanceof N)){throw new TypeError("The 'compilation' argument must be an instance of Compilation")}let E=Ee.get(S);if(E===undefined){E={renderModuleContent:new w(["source","module","renderContext"])};Ee.set(S,E)}return E}constructor(S){this.options=S}apply(S){S.hooks.compilation.tap("AsyncWebAssemblyModulesPlugin",((S,{normalModuleFactory:E})=>{const k=AsyncWebAssemblyModulesPlugin.getCompilationHooks(S);S.dependencyFactories.set(ee,E);E.hooks.createParser.for("webassembly/async").tap("AsyncWebAssemblyModulesPlugin",(()=>{const S=ve();return new S}));E.hooks.createGenerator.for("webassembly/async").tap("AsyncWebAssemblyModulesPlugin",(()=>{const E=_e();const k=ae();return j.byType({javascript:new E(S.outputOptions.webassemblyModuleFilename),webassembly:new k(this.options)})}));S.hooks.renderManifest.tap("WebAssemblyModulesPlugin",((E,w)=>{const{moduleGraph:N,chunkGraph:j,runtimeTemplate:q}=S;const{chunk:ee,outputOptions:ne,dependencyTemplates:ae,codeGenerationResults:_e}=w;for(const S of j.getOrderedChunkModulesIterable(ee,te)){if(S.type==="webassembly/async"){const w=ne.webassemblyModuleFilename;E.push({render:()=>this.renderModule(S,{chunk:ee,dependencyTemplates:ae,runtimeTemplate:q,moduleGraph:N,chunkGraph:j,codeGenerationResults:_e},k),filenameTemplate:w,pathOptions:{module:S,runtime:ee.runtime,chunkGraph:j},auxiliary:true,identifier:`webassemblyAsyncModule${j.getModuleId(S)}`,hash:j.getModuleHash(S,ee.runtime)})}}return E}))}))}renderModule(S,E,k){const{codeGenerationResults:w,chunk:N}=E;try{const j=w.getSource(S,N.runtime,"webassembly");return q((()=>k.renderModuleContent.call(j,S,E)),"AsyncWebAssemblyModulesPlugin.getCompilationHooks().renderModuleContent")}catch(E){E.module=S;throw E}}}S.exports=AsyncWebAssemblyModulesPlugin},96263:(S,E,k)=>{"use strict";const w=k(98093);const{decode:N}=k(73432);const j=k(2172);const q=k(96076);const ee=k(33081);const te={ignoreCodeSection:true,ignoreDataSection:true,ignoreCustomNameSection:true};class WebAssemblyParser extends j{constructor(S){super();this.hooks=Object.freeze({});this.options=S}parse(S,E){if(!Buffer.isBuffer(S)){throw new Error("WebAssemblyParser input must be a Buffer")}E.module.buildInfo.strict=true;E.module.buildMeta.exportsType="namespace";E.module.buildMeta.async=true;const k=N(S,te);const j=k.body[0];const ne=[];w.traverse(j,{ModuleExport({node:S}){ne.push(S.name)},ModuleImport({node:S}){const k=new ee(S.module,S.name,S.descr,false);E.module.addDependency(k)}});E.module.addDependency(new q(ne,false));return E}}S.exports=WebAssemblyParser},59422:(S,E,k)=>{"use strict";const w=k(81627);S.exports=class UnsupportedWebAssemblyFeatureError extends w{constructor(S){super(S);this.name="UnsupportedWebAssemblyFeatureError";this.hideStack=true}}},61006:(S,E,k)=>{"use strict";const w=k(76150);const N=k(66804);const j=k(58159);const{compareModulesByIdentifier:q}=k(68673);const ee=k(20612);const getAllWasmModules=(S,E,k)=>{const w=k.getAllAsyncChunks();const N=[];for(const S of w){for(const k of E.getOrderedChunkModulesIterable(S,q)){if(k.type.startsWith("webassembly")){N.push(k)}}}return N};const generateImportObject=(S,E,k,N,q)=>{const te=S.moduleGraph;const ne=new Map;const ae=[];const _e=ee.getUsedDependencies(te,E,k);for(const E of _e){const k=E.dependency;const ee=te.getModule(k);const _e=k.name;const ve=ee&&te.getExportsInfo(ee).getUsedName(_e,q);const Ee=k.description;const Te=k.onlyDirectImport;const Ce=E.module;const we=E.name;if(Te){const E=`m${ne.size}`;ne.set(E,S.getModuleId(ee));ae.push({module:Ce,name:we,value:`${E}[${JSON.stringify(ve)}]`})}else{const E=Ee.signature.params.map(((S,E)=>"p"+E+S.valtype));const k=`${w.moduleCache}[${JSON.stringify(S.getModuleId(ee))}]`;const q=`${k}.exports`;const te=`wasmImportedFuncCache${N.length}`;N.push(`var ${te};`);ae.push({module:Ce,name:we,value:j.asString([(ee.type.startsWith("webassembly")?`${k} ? ${q}[${JSON.stringify(ve)}] : `:"")+`function(${E}) {`,j.indent([`if(${te} === undefined) ${te} = ${q};`,`return ${te}[${JSON.stringify(ve)}](${E});`]),"}"])})}}let ve;if(k){ve=["return {",j.indent([ae.map((S=>`${JSON.stringify(S.name)}: ${S.value}`)).join(",\n")]),"};"]}else{const S=new Map;for(const E of ae){let k=S.get(E.module);if(k===undefined){S.set(E.module,k=[])}k.push(E)}ve=["return {",j.indent([Array.from(S,(([S,E])=>j.asString([`${JSON.stringify(S)}: {`,j.indent([E.map((S=>`${JSON.stringify(S.name)}: ${S.value}`)).join(",\n")]),"}"]))).join(",\n")]),"};"]}const Ee=JSON.stringify(S.getModuleId(E));if(ne.size===1){const S=Array.from(ne.values())[0];const E=`installedWasmModules[${JSON.stringify(S)}]`;const k=Array.from(ne.keys())[0];return j.asString([`${Ee}: function() {`,j.indent([`return promiseResolve().then(function() { return ${E}; }).then(function(${k}) {`,j.indent(ve),"});"]),"},"])}else if(ne.size>0){const S=Array.from(ne.values(),(S=>`installedWasmModules[${JSON.stringify(S)}]`)).join(", ");const E=Array.from(ne.keys(),((S,E)=>`${S} = array[${E}]`)).join(", ");return j.asString([`${Ee}: function() {`,j.indent([`return promiseResolve().then(function() { return Promise.all([${S}]); }).then(function(array) {`,j.indent([`var ${E};`,...ve]),"});"]),"},"])}else{return j.asString([`${Ee}: function() {`,j.indent(ve),"},"])}};class WasmChunkLoadingRuntimeModule extends N{constructor({generateLoadBinaryCode:S,supportsStreaming:E,mangleImports:k}){super("wasm chunk loading",N.STAGE_ATTACH);this.generateLoadBinaryCode=S;this.supportsStreaming=E;this.mangleImports=k}generate(){const{chunkGraph:S,compilation:E,chunk:k,mangleImports:N}=this;const{moduleGraph:q,outputOptions:te}=E;const ne=w.ensureChunkHandlers;const ae=getAllWasmModules(q,S,k);const _e=[];const ve=ae.map((E=>generateImportObject(S,E,this.mangleImports,_e,k.runtime)));const Ee=S.getChunkModuleIdMap(k,(S=>S.type.startsWith("webassembly")));const createImportObject=S=>N?`{ ${JSON.stringify(ee.MANGLED_MODULE)}: ${S} }`:S;const Te=E.getPath(JSON.stringify(te.webassemblyModuleFilename),{hash:`" + ${w.getFullHash}() + "`,hashWithLength:S=>`" + ${w.getFullHash}}().slice(0, ${S}) + "`,module:{id:'" + wasmModuleId + "',hash:`" + ${JSON.stringify(S.getChunkModuleRenderedHashMap(k,(S=>S.type.startsWith("webassembly"))))}[chunkId][wasmModuleId] + "`,hashWithLength(E){return`" + ${JSON.stringify(S.getChunkModuleRenderedHashMap(k,(S=>S.type.startsWith("webassembly")),E))}[chunkId][wasmModuleId] + "`}},runtime:k.runtime});return j.asString(["// object to store loaded and loading wasm modules","var installedWasmModules = {};","","function promiseResolve() { return Promise.resolve(); }","",j.asString(_e),"var wasmImportObjects = {",j.indent(ve),"};","",`var wasmModuleMap = ${JSON.stringify(Ee,undefined,"\t")};`,"","// object with all WebAssembly.instance exports",`${w.wasmInstances} = {};`,"","// Fetch + compile chunk loading for webassembly",`${ne}.wasm = function(chunkId, promises) {`,j.indent(["",`var wasmModules = wasmModuleMap[chunkId] || [];`,"","wasmModules.forEach(function(wasmModuleId, idx) {",j.indent(["var installedWasmModuleData = installedWasmModules[wasmModuleId];","",'// a Promise means "currently loading" or "already loaded".',"if(installedWasmModuleData)",j.indent(["promises.push(installedWasmModuleData);"]),"else {",j.indent([`var importObject = wasmImportObjects[wasmModuleId]();`,`var req = ${this.generateLoadBinaryCode(Te)};`,"var promise;",this.supportsStreaming?j.asString(["if(importObject && typeof importObject.then === 'function' && typeof WebAssembly.compileStreaming === 'function') {",j.indent(["promise = Promise.all([WebAssembly.compileStreaming(req), importObject]).then(function(items) {",j.indent([`return WebAssembly.instantiate(items[0], ${createImportObject("items[1]")});`]),"});"]),"} else if(typeof WebAssembly.instantiateStreaming === 'function') {",j.indent([`promise = WebAssembly.instantiateStreaming(req, ${createImportObject("importObject")});`])]):j.asString(["if(importObject && typeof importObject.then === 'function') {",j.indent(["var bytesPromise = req.then(function(x) { return x.arrayBuffer(); });","promise = Promise.all([",j.indent(["bytesPromise.then(function(bytes) { return WebAssembly.compile(bytes); }),","importObject"]),"]).then(function(items) {",j.indent([`return WebAssembly.instantiate(items[0], ${createImportObject("items[1]")});`]),"});"])]),"} else {",j.indent(["var bytesPromise = req.then(function(x) { return x.arrayBuffer(); });","promise = bytesPromise.then(function(bytes) {",j.indent([`return WebAssembly.instantiate(bytes, ${createImportObject("importObject")});`]),"});"]),"}","promises.push(installedWasmModules[wasmModuleId] = promise.then(function(res) {",j.indent([`return ${w.wasmInstances}[wasmModuleId] = (res.instance || res).exports;`]),"}));"]),"}"]),"});"]),"};"])}}S.exports=WasmChunkLoadingRuntimeModule},8576:(S,E,k)=>{"use strict";const w=k(72380);const N=k(59422);class WasmFinalizeExportsPlugin{apply(S){S.hooks.compilation.tap("WasmFinalizeExportsPlugin",(S=>{S.hooks.finishModules.tap("WasmFinalizeExportsPlugin",(E=>{for(const k of E){if(k.type.startsWith("webassembly")===true){const E=k.buildMeta.jsIncompatibleExports;if(E===undefined){continue}for(const j of S.moduleGraph.getIncomingConnections(k)){if(j.isTargetActive(undefined)&&j.originModule.type.startsWith("webassembly")===false){const q=S.getDependencyReferencedExports(j.dependency,undefined);for(const ee of q){const q=Array.isArray(ee)?ee:ee.name;if(q.length===0)continue;const te=q[0];if(typeof te==="object")continue;if(Object.prototype.hasOwnProperty.call(E,te)){const q=new N(`Export "${te}" with ${E[te]} can only be used for direct wasm to wasm dependencies\n`+`It's used from ${j.originModule.readableIdentifier(S.requestShortener)} at ${w(j.dependency.loc)}.`);q.module=k;S.errors.push(q)}}}}}}}))}))}}S.exports=WasmFinalizeExportsPlugin},56419:(S,E,k)=>{"use strict";const{RawSource:w}=k(48135);const N=k(36253);const j=k(20612);const q=k(98093);const{moduleContextFromModuleAST:ee}=k(98093);const{editWithAST:te,addWithAST:ne}=k(226);const{decode:ae}=k(73432);const _e=k(30697);const compose=(...S)=>S.reduce(((S,E)=>k=>E(S(k))),(S=>S));const removeStartFunc=S=>E=>te(S.ast,E,{Start(S){S.remove()}});const getImportedGlobals=S=>{const E=[];q.traverse(S,{ModuleImport({node:S}){if(q.isGlobalType(S.descr)){E.push(S)}}});return E};const getCountImportedFunc=S=>{let E=0;q.traverse(S,{ModuleImport({node:S}){if(q.isFuncImportDescr(S.descr)){E++}}});return E};const getNextTypeIndex=S=>{const E=q.getSectionMetadata(S,"type");if(E===undefined){return q.indexLiteral(0)}return q.indexLiteral(E.vectorOfSize.value)};const getNextFuncIndex=(S,E)=>{const k=q.getSectionMetadata(S,"func");if(k===undefined){return q.indexLiteral(0+E)}const w=k.vectorOfSize.value;return q.indexLiteral(w+E)};const createDefaultInitForGlobal=S=>{if(S.valtype[0]==="i"){return q.objectInstruction("const",S.valtype,[q.numberLiteralFromRaw(66)])}else if(S.valtype[0]==="f"){return q.objectInstruction("const",S.valtype,[q.floatLiteral(66,false,false,"66")])}else{throw new Error("unknown type: "+S.valtype)}};const rewriteImportedGlobals=S=>E=>{const k=S.additionalInitCode;const w=[];E=te(S.ast,E,{ModuleImport(S){if(q.isGlobalType(S.node.descr)){const E=S.node.descr;E.mutability="var";const k=[createDefaultInitForGlobal(E),q.instruction("end")];w.push(q.global(E,k));S.remove()}},Global(S){const{node:E}=S;const[N]=E.init;if(N.id==="get_global"){E.globalType.mutability="var";const S=N.args[0];E.init=[createDefaultInitForGlobal(E.globalType),q.instruction("end")];k.push(q.instruction("get_local",[S]),q.instruction("set_global",[q.indexLiteral(w.length)]))}w.push(E);S.remove()}});return ne(S.ast,E,w)};const rewriteExportNames=({ast:S,moduleGraph:E,module:k,externalExports:w,runtime:N})=>j=>te(S,j,{ModuleExport(S){const j=w.has(S.node.name);if(j){S.remove();return}const q=E.getExportsInfo(k).getUsedName(S.node.name,N);if(!q){S.remove();return}S.node.name=q}});const rewriteImports=({ast:S,usedDependencyMap:E})=>k=>te(S,k,{ModuleImport(S){const k=E.get(S.node.module+":"+S.node.name);if(k!==undefined){S.node.module=k.module;S.node.name=k.name}}});const addInitFunction=({ast:S,initFuncId:E,startAtFuncOffset:k,importedGlobals:w,additionalInitCode:N,nextFuncIndex:j,nextTypeIndex:ee})=>te=>{const ae=w.map((S=>{const E=q.identifier(`${S.module}.${S.name}`);return q.funcParam(S.descr.valtype,E)}));const _e=[];w.forEach(((S,E)=>{const k=[q.indexLiteral(E)];const w=[q.instruction("get_local",k),q.instruction("set_global",k)];_e.push(...w)}));if(typeof k==="number"){_e.push(q.callInstruction(q.numberLiteralFromRaw(k)))}for(const S of N){_e.push(S)}_e.push(q.instruction("end"));const ve=[];const Ee=q.signature(ae,ve);const Te=q.func(E,Ee,_e);const Ce=q.typeInstruction(undefined,Ee);const we=q.indexInFuncSection(ee);const Ne=q.moduleExport(E.value,q.moduleExportDescr("Func",j));return ne(S,te,[Te,Ne,we,Ce])};const getUsedDependencyMap=(S,E,k)=>{const w=new Map;for(const N of j.getUsedDependencies(S,E,k)){const S=N.dependency;const E=S.request;const k=S.name;w.set(E+":"+k,N)}return w};const ve=new Set(["webassembly"]);class WebAssemblyGenerator extends N{constructor(S){super();this.options=S}getTypes(S){return ve}getSize(S,E){const k=S.originalSource();if(!k){return 0}return k.size()}generate(S,{moduleGraph:E,runtime:k}){const N=S.originalSource().source();const j=q.identifier("");const te=ae(N,{ignoreDataSection:true,ignoreCodeSection:true,ignoreCustomNameSection:true});const ne=ee(te.body[0]);const ve=getImportedGlobals(te);const Ee=getCountImportedFunc(te);const Te=ne.getStart();const Ce=getNextFuncIndex(te,Ee);const we=getNextTypeIndex(te);const Ne=getUsedDependencyMap(E,S,this.options.mangleImports);const Ie=new Set(S.dependencies.filter((S=>S instanceof _e)).map((S=>{const E=S;return E.exportName})));const Fe=[];const Oe=compose(rewriteExportNames({ast:te,moduleGraph:E,module:S,externalExports:Ie,runtime:k}),removeStartFunc({ast:te}),rewriteImportedGlobals({ast:te,additionalInitCode:Fe}),rewriteImports({ast:te,usedDependencyMap:Ne}),addInitFunction({ast:te,initFuncId:j,importedGlobals:ve,additionalInitCode:Fe,startAtFuncOffset:Te,nextFuncIndex:Ce,nextTypeIndex:we}));const Me=Oe(N);const Re=Buffer.from(Me);return new w(Re)}}S.exports=WebAssemblyGenerator},74167:(S,E,k)=>{"use strict";const w=k(81627);const getInitialModuleChains=(S,E,k,w)=>{const N=[{head:S,message:S.readableIdentifier(w)}];const j=new Set;const q=new Set;const ee=new Set;for(const S of N){const{head:te,message:ne}=S;let ae=true;const _e=new Set;for(const S of E.getIncomingConnections(te)){const E=S.originModule;if(E){if(!k.getModuleChunks(E).some((S=>S.canBeInitial())))continue;ae=false;if(_e.has(E))continue;_e.add(E);const j=E.readableIdentifier(w);const te=S.explanation?` (${S.explanation})`:"";const ve=`${j}${te} --\x3e ${ne}`;if(ee.has(E)){q.add(`... --\x3e ${ve}`);continue}ee.add(E);N.push({head:E,message:ve})}else{ae=false;const E=S.explanation?`(${S.explanation}) --\x3e ${ne}`:ne;j.add(E)}}if(ae){j.add(ne)}}for(const S of q){j.add(S)}return Array.from(j)};S.exports=class WebAssemblyInInitialChunkError extends w{constructor(S,E,k,w){const N=getInitialModuleChains(S,E,k,w);const j=`WebAssembly module is included in initial chunk.\nThis is not allowed, because WebAssembly download and compilation must happen asynchronous.\nAdd an async split point (i. e. import()) somewhere between your entrypoint and the WebAssembly module:\n${N.map((S=>`* ${S}`)).join("\n")}`;super(j);this.name="WebAssemblyInInitialChunkError";this.hideStack=true;this.module=S}}},59363:(S,E,k)=>{"use strict";const{RawSource:w}=k(48135);const{UsageState:N}=k(76632);const j=k(36253);const q=k(63272);const ee=k(76150);const te=k(58159);const ne=k(79983);const ae=k(30697);const _e=k(33081);const ve=new Set(["webassembly"]);class WebAssemblyJavascriptGenerator extends j{getTypes(S){return ve}getSize(S,E){return 95+S.dependencies.length*5}generate(S,E){const{runtimeTemplate:k,moduleGraph:j,chunkGraph:ve,runtimeRequirements:Ee,runtime:Te}=E;const Ce=[];const we=j.getExportsInfo(S);let Ne=false;const Ie=new Map;const Fe=[];let Oe=0;for(const E of S.dependencies){const w=E&&E instanceof ne?E:undefined;if(j.getModule(E)){let N=Ie.get(j.getModule(E));if(N===undefined){Ie.set(j.getModule(E),N={importVar:`m${Oe}`,index:Oe,request:w&&w.userRequest||undefined,names:new Set,reexports:[]});Oe++}if(E instanceof _e){N.names.add(E.name);if(E.description.type==="GlobalType"){const w=E.name;const q=j.getModule(E);if(q){const ee=j.getExportsInfo(q).getUsedName(w,Te);if(ee){Fe.push(k.exportFromImport({moduleGraph:j,module:q,request:E.request,importVar:N.importVar,originModule:S,exportName:E.name,asiSafe:true,isCall:false,callContext:null,defaultInterop:true,initFragments:Ce,runtime:Te,runtimeRequirements:Ee}))}}}}if(E instanceof ae){N.names.add(E.name);const w=j.getExportsInfo(S).getUsedName(E.exportName,Te);if(w){Ee.add(ee.exports);const q=`${S.exportsArgument}[${JSON.stringify(w)}]`;const ne=te.asString([`${q} = ${k.exportFromImport({moduleGraph:j,module:j.getModule(E),request:E.request,importVar:N.importVar,originModule:S,exportName:E.name,asiSafe:true,isCall:false,callContext:null,defaultInterop:true,initFragments:Ce,runtime:Te,runtimeRequirements:Ee})};`,`if(WebAssembly.Global) ${q} = `+`new WebAssembly.Global({ value: ${JSON.stringify(E.valueType)} }, ${q});`]);N.reexports.push(ne);Ne=true}}}}const Me=te.asString(Array.from(Ie,(([S,{importVar:E,request:w,reexports:N}])=>{const j=k.importStatement({module:S,chunkGraph:ve,request:w,importVar:E,originModule:S,runtimeRequirements:Ee});return j[0]+j[1]+N.join("\n")})));const Re=we.otherExportsInfo.getUsed(Te)===N.Unused&&!Ne;Ee.add(ee.module);Ee.add(ee.moduleId);Ee.add(ee.wasmInstances);if(we.otherExportsInfo.getUsed(Te)!==N.Unused){Ee.add(ee.makeNamespaceObject);Ee.add(ee.exports)}if(!Re){Ee.add(ee.exports)}const Le=new w(['"use strict";',"// Instantiate WebAssembly module",`var wasmExports = ${ee.wasmInstances}[${S.moduleArgument}.id];`,we.otherExportsInfo.getUsed(Te)!==N.Unused?`${ee.makeNamespaceObject}(${S.exportsArgument});`:"","// export exports from WebAssembly module",Re?`${S.moduleArgument}.exports = wasmExports;`:"for(var name in wasmExports) "+`if(name) `+`${S.exportsArgument}[name] = wasmExports[name];`,"// exec imports from WebAssembly module (for esm order)",Me,"","// exec wasm module",`wasmExports[""](${Fe.join(", ")})`].join("\n"));return q.addToSource(Le,Ce,E)}}S.exports=WebAssemblyJavascriptGenerator},84387:(S,E,k)=>{"use strict";const w=k(36253);const N=k(30697);const j=k(33081);const{compareModulesByIdentifier:q}=k(68673);const ee=k(91671);const te=k(74167);const ne=ee((()=>k(56419)));const ae=ee((()=>k(59363)));const _e=ee((()=>k(10342)));class WebAssemblyModulesPlugin{constructor(S){this.options=S}apply(S){S.hooks.compilation.tap("WebAssemblyModulesPlugin",((S,{normalModuleFactory:E})=>{S.dependencyFactories.set(j,E);S.dependencyFactories.set(N,E);E.hooks.createParser.for("webassembly/sync").tap("WebAssemblyModulesPlugin",(()=>{const S=_e();return new S}));E.hooks.createGenerator.for("webassembly/sync").tap("WebAssemblyModulesPlugin",(()=>{const S=ae();const E=ne();return w.byType({javascript:new S,webassembly:new E(this.options)})}));S.hooks.renderManifest.tap("WebAssemblyModulesPlugin",((E,k)=>{const{chunkGraph:w}=S;const{chunk:N,outputOptions:j,codeGenerationResults:ee}=k;for(const S of w.getOrderedChunkModulesIterable(N,q)){if(S.type==="webassembly/sync"){const k=j.webassemblyModuleFilename;E.push({render:()=>ee.getSource(S,N.runtime,"webassembly"),filenameTemplate:k,pathOptions:{module:S,runtime:N.runtime,chunkGraph:w},auxiliary:true,identifier:`webassemblyModule${w.getModuleId(S)}`,hash:w.getModuleHash(S,N.runtime)})}}return E}));S.hooks.afterChunks.tap("WebAssemblyModulesPlugin",(()=>{const E=S.chunkGraph;const k=new Set;for(const w of S.chunks){if(w.canBeInitial()){for(const S of E.getChunkModulesIterable(w)){if(S.type==="webassembly/sync"){k.add(S)}}}}for(const E of k){S.errors.push(new te(E,S.moduleGraph,S.chunkGraph,S.requestShortener))}}))}))}}S.exports=WebAssemblyModulesPlugin},10342:(S,E,k)=>{"use strict";const w=k(98093);const{moduleContextFromModuleAST:N}=k(98093);const{decode:j}=k(73432);const q=k(2172);const ee=k(96076);const te=k(30697);const ne=k(33081);const ae=new Set(["i32","f32","f64"]);const getJsIncompatibleType=S=>{for(const E of S.params){if(!ae.has(E.valtype)){return`${E.valtype} as parameter`}}for(const E of S.results){if(!ae.has(E))return`${E} as result`}return null};const getJsIncompatibleTypeOfFuncSignature=S=>{for(const E of S.args){if(!ae.has(E)){return`${E} as parameter`}}for(const E of S.result){if(!ae.has(E))return`${E} as result`}return null};const _e={ignoreCodeSection:true,ignoreDataSection:true,ignoreCustomNameSection:true};class WebAssemblyParser extends q{constructor(S){super();this.hooks=Object.freeze({});this.options=S}parse(S,E){if(!Buffer.isBuffer(S)){throw new Error("WebAssemblyParser input must be a Buffer")}E.module.buildInfo.strict=true;E.module.buildMeta.exportsType="namespace";const k=j(S,_e);const q=k.body[0];const ve=N(q);const Ee=[];let Te=E.module.buildMeta.jsIncompatibleExports=undefined;const Ce=[];w.traverse(q,{ModuleExport({node:S}){const k=S.descr;if(k.exportType==="Func"){const w=k.id.value;const N=ve.getFunction(w);const j=getJsIncompatibleTypeOfFuncSignature(N);if(j){if(Te===undefined){Te=E.module.buildMeta.jsIncompatibleExports={}}Te[S.name]=j}}Ee.push(S.name);if(S.descr&&S.descr.exportType==="Global"){const k=Ce[S.descr.id.value];if(k){const w=new te(S.name,k.module,k.name,k.descr.valtype);E.module.addDependency(w)}}},Global({node:S}){const E=S.init[0];let k=null;if(E.id==="get_global"){const S=E.args[0].value;if(S{"use strict";const w=k(58159);const N=k(33081);const j="a";const getUsedDependencies=(S,E,k)=>{const q=[];let ee=0;for(const te of E.dependencies){if(te instanceof N){if(te.description.type==="GlobalType"||S.getModule(te)===null){continue}const E=te.name;if(k){q.push({dependency:te,name:w.numberToIdentifier(ee++),module:j})}else{q.push({dependency:te,name:E,module:te.request})}}}return q};E.getUsedDependencies=getUsedDependencies;E.MANGLED_MODULE=j},69085:(S,E,k)=>{"use strict";const w=new WeakMap;const getEnabledTypes=S=>{let E=w.get(S);if(E===undefined){E=new Set;w.set(S,E)}return E};class EnableWasmLoadingPlugin{constructor(S){this.type=S}static setEnabled(S,E){getEnabledTypes(S).add(E)}static checkEnabled(S,E){if(!getEnabledTypes(S).has(E)){throw new Error(`Library type "${E}" is not enabled. `+"EnableWasmLoadingPlugin need to be used to enable this type of wasm loading. "+'This usually happens through the "output.enabledWasmLoadingTypes" option. '+'If you are using a function as entry which sets "wasmLoading", you need to add all potential library types to "output.enabledWasmLoadingTypes". '+"These types are enabled: "+Array.from(getEnabledTypes(S)).join(", "))}}apply(S){const{type:E}=this;const w=getEnabledTypes(S);if(w.has(E))return;w.add(E);if(typeof E==="string"){switch(E){case"fetch":{const E=k(71100);const w=k(52687);new E({mangleImports:S.options.optimization.mangleWasmImports}).apply(S);(new w).apply(S);break}case"async-node":{const w=k(71049);const N=k(21273);new w({mangleImports:S.options.optimization.mangleWasmImports}).apply(S);new N({type:E}).apply(S);break}case"async-node-module":{const w=k(21273);new w({type:E,import:true}).apply(S);break}case"universal":throw new Error("Universal WebAssembly Loading is not implemented yet");default:throw new Error(`Unsupported wasm loading type ${E}.\nPlugins which provide custom wasm loading types must call EnableWasmLoadingPlugin.setEnabled(compiler, type) to disable this error.`)}}else{}}}S.exports=EnableWasmLoadingPlugin},52687:(S,E,k)=>{"use strict";const w=k(76150);const N=k(21941);class FetchCompileAsyncWasmPlugin{apply(S){S.hooks.thisCompilation.tap("FetchCompileAsyncWasmPlugin",(S=>{const E=S.outputOptions.wasmLoading;const isEnabledForChunk=S=>{const k=S.getEntryOptions();const w=k&&k.wasmLoading!==undefined?k.wasmLoading:E;return w==="fetch"};const generateLoadBinaryCode=S=>`fetch(${w.publicPath} + ${S})`;S.hooks.runtimeRequirementInTree.for(w.instantiateWasm).tap("FetchCompileAsyncWasmPlugin",((E,k)=>{if(!isEnabledForChunk(E))return;const j=S.chunkGraph;if(!j.hasModuleInGraph(E,(S=>S.type==="webassembly/async"))){return}k.add(w.publicPath);S.addRuntimeModule(E,new N({generateLoadBinaryCode:generateLoadBinaryCode,supportsStreaming:true}))}))}))}}S.exports=FetchCompileAsyncWasmPlugin},71100:(S,E,k)=>{"use strict";const w=k(76150);const N=k(61006);class FetchCompileWasmPlugin{constructor(S){this.options=S||{}}apply(S){S.hooks.thisCompilation.tap("FetchCompileWasmPlugin",(S=>{const E=S.outputOptions.wasmLoading;const isEnabledForChunk=S=>{const k=S.getEntryOptions();const w=k&&k.wasmLoading!==undefined?k.wasmLoading:E;return w==="fetch"};const generateLoadBinaryCode=S=>`fetch(${w.publicPath} + ${S})`;S.hooks.runtimeRequirementInTree.for(w.ensureChunkHandlers).tap("FetchCompileWasmPlugin",((E,k)=>{if(!isEnabledForChunk(E))return;const j=S.chunkGraph;if(!j.hasModuleInGraph(E,(S=>S.type==="webassembly/sync"))){return}k.add(w.moduleCache);k.add(w.publicPath);S.addRuntimeModule(E,new N({generateLoadBinaryCode:generateLoadBinaryCode,supportsStreaming:true,mangleImports:this.options.mangleImports}))}))}))}}S.exports=FetchCompileWasmPlugin},76853:(S,E,k)=>{"use strict";const w=k(76150);const N=k(4038);class JsonpChunkLoadingPlugin{apply(S){S.hooks.thisCompilation.tap("JsonpChunkLoadingPlugin",(S=>{const E=S.outputOptions.chunkLoading;const isEnabledForChunk=S=>{const k=S.getEntryOptions();const w=k&&k.chunkLoading!==undefined?k.chunkLoading:E;return w==="jsonp"};const k=new WeakSet;const handler=(E,j)=>{if(k.has(E))return;k.add(E);if(!isEnabledForChunk(E))return;j.add(w.moduleFactoriesAddOnly);j.add(w.hasOwnProperty);S.addRuntimeModule(E,new N(j))};S.hooks.runtimeRequirementInTree.for(w.ensureChunkHandlers).tap("JsonpChunkLoadingPlugin",handler);S.hooks.runtimeRequirementInTree.for(w.hmrDownloadUpdateHandlers).tap("JsonpChunkLoadingPlugin",handler);S.hooks.runtimeRequirementInTree.for(w.hmrDownloadManifest).tap("JsonpChunkLoadingPlugin",handler);S.hooks.runtimeRequirementInTree.for(w.baseURI).tap("JsonpChunkLoadingPlugin",handler);S.hooks.runtimeRequirementInTree.for(w.onChunksLoaded).tap("JsonpChunkLoadingPlugin",handler);S.hooks.runtimeRequirementInTree.for(w.ensureChunkHandlers).tap("JsonpChunkLoadingPlugin",((S,E)=>{if(!isEnabledForChunk(S))return;E.add(w.publicPath);E.add(w.loadScript);E.add(w.getChunkScriptFilename)}));S.hooks.runtimeRequirementInTree.for(w.hmrDownloadUpdateHandlers).tap("JsonpChunkLoadingPlugin",((S,E)=>{if(!isEnabledForChunk(S))return;E.add(w.publicPath);E.add(w.loadScript);E.add(w.getChunkUpdateScriptFilename);E.add(w.moduleCache);E.add(w.hmrModuleData);E.add(w.moduleFactoriesAddOnly)}));S.hooks.runtimeRequirementInTree.for(w.hmrDownloadManifest).tap("JsonpChunkLoadingPlugin",((S,E)=>{if(!isEnabledForChunk(S))return;E.add(w.publicPath);E.add(w.getUpdateManifestFilename)}))}))}}S.exports=JsonpChunkLoadingPlugin},4038:(S,E,k)=>{"use strict";const{SyncWaterfallHook:w}=k(92960);const N=k(3080);const j=k(76150);const q=k(66804);const ee=k(58159);const te=k(18161).chunkHasJs;const{getInitialChunkIds:ne}=k(13085);const ae=k(87274);const _e=new WeakMap;class JsonpChunkLoadingRuntimeModule extends q{static getCompilationHooks(S){if(!(S instanceof N)){throw new TypeError("The 'compilation' argument must be an instance of Compilation")}let E=_e.get(S);if(E===undefined){E={linkPreload:new w(["source","chunk"]),linkPrefetch:new w(["source","chunk"])};_e.set(S,E)}return E}constructor(S){super("jsonp chunk loading",q.STAGE_ATTACH);this._runtimeRequirements=S}generate(){const{chunkGraph:S,compilation:E,chunk:w}=this;const{runtimeTemplate:N,outputOptions:{globalObject:q,chunkLoadingGlobal:_e,hotUpdateGlobal:ve,crossOriginLoading:Ee,scriptType:Te}}=E;const{linkPreload:Ce,linkPrefetch:we}=JsonpChunkLoadingRuntimeModule.getCompilationHooks(E);const Ne=j.ensureChunkHandlers;const Ie=this._runtimeRequirements.has(j.baseURI);const Fe=this._runtimeRequirements.has(j.ensureChunkHandlers);const Oe=this._runtimeRequirements.has(j.chunkCallback);const Me=this._runtimeRequirements.has(j.onChunksLoaded);const Re=this._runtimeRequirements.has(j.hmrDownloadUpdateHandlers);const Le=this._runtimeRequirements.has(j.hmrDownloadManifest);const Be=this._runtimeRequirements.has(j.prefetchChunkHandlers);const je=this._runtimeRequirements.has(j.preloadChunkHandlers);const ze=`${q}[${JSON.stringify(_e)}]`;const Ue=S.getChunkConditionMap(w,te);const We=ae(Ue);const $e=ne(w,S);return ee.asString([Ie?ee.asString([`${j.baseURI} = document.baseURI || self.location.href;`]):"// no baseURI","","// object to store loaded and loading chunks","// undefined = chunk not loaded, null = chunk preloaded/prefetched","// [resolve, reject, Promise] = chunk loading, 0 = chunk loaded","var installedChunks = {",ee.indent(Array.from($e,(S=>`${JSON.stringify(S)}: 0`)).join(",\n")),"};","",Fe?ee.asString([`${Ne}.j = ${N.basicFunction("chunkId, promises",We!==false?ee.indent(["// JSONP chunk loading for javascript",`var installedChunkData = ${j.hasOwnProperty}(installedChunks, chunkId) ? installedChunks[chunkId] : undefined;`,'if(installedChunkData !== 0) { // 0 means "already installed".',ee.indent(["",'// a Promise means "currently loading".',"if(installedChunkData) {",ee.indent(["promises.push(installedChunkData[2]);"]),"} else {",ee.indent([We===true?"if(true) { // all chunks have JS":`if(${We("chunkId")}) {`,ee.indent(["// setup Promise in chunk cache",`var promise = new Promise(${N.expressionFunction(`installedChunkData = installedChunks[chunkId] = [resolve, reject]`,"resolve, reject")});`,"promises.push(installedChunkData[2] = promise);","","// start chunk loading",`var url = ${j.publicPath} + ${j.getChunkScriptFilename}(chunkId);`,"// create error before stack unwound to get useful stacktrace later","var error = new Error();",`var loadingEnded = ${N.basicFunction("event",[`if(${j.hasOwnProperty}(installedChunks, chunkId)) {`,ee.indent(["installedChunkData = installedChunks[chunkId];","if(installedChunkData !== 0) installedChunks[chunkId] = undefined;","if(installedChunkData) {",ee.indent(["var errorType = event && (event.type === 'load' ? 'missing' : event.type);","var realSrc = event && event.target && event.target.src;","error.message = 'Loading chunk ' + chunkId + ' failed.\\n(' + errorType + ': ' + realSrc + ')';","error.name = 'ChunkLoadError';","error.type = errorType;","error.request = realSrc;","installedChunkData[1](error);"]),"}"]),"}"])};`,`${j.loadScript}(url, loadingEnded, "chunk-" + chunkId, chunkId);`]),"} else installedChunks[chunkId] = 0;"]),"}"]),"}"]):ee.indent(["installedChunks[chunkId] = 0;"]))};`]):"// no chunk on demand loading","",Be&&We!==false?`${j.prefetchChunkHandlers}.j = ${N.basicFunction("chunkId",[`if((!${j.hasOwnProperty}(installedChunks, chunkId) || installedChunks[chunkId] === undefined) && ${We===true?"true":We("chunkId")}) {`,ee.indent(["installedChunks[chunkId] = null;",we.call(ee.asString(["var link = document.createElement('link');",Ee?`link.crossOrigin = ${JSON.stringify(Ee)};`:"",`if (${j.scriptNonce}) {`,ee.indent(`link.setAttribute("nonce", ${j.scriptNonce});`),"}",'link.rel = "prefetch";','link.as = "script";',`link.href = ${j.publicPath} + ${j.getChunkScriptFilename}(chunkId);`]),w),"document.head.appendChild(link);"]),"}"])};`:"// no prefetching","",je&&We!==false?`${j.preloadChunkHandlers}.j = ${N.basicFunction("chunkId",[`if((!${j.hasOwnProperty}(installedChunks, chunkId) || installedChunks[chunkId] === undefined) && ${We===true?"true":We("chunkId")}) {`,ee.indent(["installedChunks[chunkId] = null;",Ce.call(ee.asString(["var link = document.createElement('link');",Te?`link.type = ${JSON.stringify(Te)};`:"","link.charset = 'utf-8';",`if (${j.scriptNonce}) {`,ee.indent(`link.setAttribute("nonce", ${j.scriptNonce});`),"}",'link.rel = "preload";','link.as = "script";',`link.href = ${j.publicPath} + ${j.getChunkScriptFilename}(chunkId);`,Ee?ee.asString(["if (link.href.indexOf(window.location.origin + '/') !== 0) {",ee.indent(`link.crossOrigin = ${JSON.stringify(Ee)};`),"}"]):""]),w),"document.head.appendChild(link);"]),"}"])};`:"// no preloaded","",Re?ee.asString(["var currentUpdatedModulesList;","var waitingUpdateResolves = {};","function loadUpdateChunk(chunkId) {",ee.indent([`return new Promise(${N.basicFunction("resolve, reject",["waitingUpdateResolves[chunkId] = resolve;","// start update chunk loading",`var url = ${j.publicPath} + ${j.getChunkUpdateScriptFilename}(chunkId);`,"// create error before stack unwound to get useful stacktrace later","var error = new Error();",`var loadingEnded = ${N.basicFunction("event",["if(waitingUpdateResolves[chunkId]) {",ee.indent(["waitingUpdateResolves[chunkId] = undefined","var errorType = event && (event.type === 'load' ? 'missing' : event.type);","var realSrc = event && event.target && event.target.src;","error.message = 'Loading hot update chunk ' + chunkId + ' failed.\\n(' + errorType + ': ' + realSrc + ')';","error.name = 'ChunkLoadError';","error.type = errorType;","error.request = realSrc;","reject(error);"]),"}"])};`,`${j.loadScript}(url, loadingEnded);`])});`]),"}","",`${q}[${JSON.stringify(ve)}] = ${N.basicFunction("chunkId, moreModules, runtime",["for(var moduleId in moreModules) {",ee.indent([`if(${j.hasOwnProperty}(moreModules, moduleId)) {`,ee.indent(["currentUpdate[moduleId] = moreModules[moduleId];","if(currentUpdatedModulesList) currentUpdatedModulesList.push(moduleId);"]),"}"]),"}","if(runtime) currentUpdateRuntime.push(runtime);","if(waitingUpdateResolves[chunkId]) {",ee.indent(["waitingUpdateResolves[chunkId]();","waitingUpdateResolves[chunkId] = undefined;"]),"}"])};`,"",ee.getFunctionContent(k(22215)).replace(/\$key\$/g,"jsonp").replace(/\$installedChunks\$/g,"installedChunks").replace(/\$loadUpdateChunk\$/g,"loadUpdateChunk").replace(/\$moduleCache\$/g,j.moduleCache).replace(/\$moduleFactories\$/g,j.moduleFactories).replace(/\$ensureChunkHandlers\$/g,j.ensureChunkHandlers).replace(/\$hasOwnProperty\$/g,j.hasOwnProperty).replace(/\$hmrModuleData\$/g,j.hmrModuleData).replace(/\$hmrDownloadUpdateHandlers\$/g,j.hmrDownloadUpdateHandlers).replace(/\$hmrInvalidateModuleHandlers\$/g,j.hmrInvalidateModuleHandlers)]):"// no HMR","",Le?ee.asString([`${j.hmrDownloadManifest} = ${N.basicFunction("",['if (typeof fetch === "undefined") throw new Error("No browser support: need fetch API");',`return fetch(${j.publicPath} + ${j.getUpdateManifestFilename}()).then(${N.basicFunction("response",["if(response.status === 404) return; // no update available",'if(!response.ok) throw new Error("Failed to fetch update manifest " + response.statusText);',"return response.json();"])});`])};`]):"// no HMR manifest","",Me?`${j.onChunksLoaded}.j = ${N.returningFunction("installedChunks[chunkId] === 0","chunkId")};`:"// no on chunks loaded","",Oe||Fe?ee.asString(["// install a JSONP callback for chunk loading",`var webpackJsonpCallback = ${N.basicFunction("parentChunkLoadingFunction, data",[N.destructureArray(["chunkIds","moreModules","runtime"],"data"),'// add "moreModules" to the modules object,','// then flag all "chunkIds" as loaded and fire callback',"var moduleId, chunkId, i = 0;","for(moduleId in moreModules) {",ee.indent([`if(${j.hasOwnProperty}(moreModules, moduleId)) {`,ee.indent(`${j.moduleFactories}[moduleId] = moreModules[moduleId];`),"}"]),"}","if(runtime) var result = runtime(__webpack_require__);","if(parentChunkLoadingFunction) parentChunkLoadingFunction(data);","for(;i < chunkIds.length; i++) {",ee.indent(["chunkId = chunkIds[i];",`if(${j.hasOwnProperty}(installedChunks, chunkId) && installedChunks[chunkId]) {`,ee.indent("installedChunks[chunkId][0]();"),"}","installedChunks[chunkIds[i]] = 0;"]),"}",Me?`return ${j.onChunksLoaded}(result);`:""])}`,"",`var chunkLoadingGlobal = ${ze} = ${ze} || [];`,"chunkLoadingGlobal.forEach(webpackJsonpCallback.bind(null, 0));","chunkLoadingGlobal.push = webpackJsonpCallback.bind(null, chunkLoadingGlobal.push.bind(chunkLoadingGlobal));"]):"// no jsonp function"])}}S.exports=JsonpChunkLoadingRuntimeModule},58421:(S,E,k)=>{"use strict";const w=k(41113);const N=k(50369);const j=k(4038);class JsonpTemplatePlugin{static getCompilationHooks(S){return j.getCompilationHooks(S)}apply(S){S.options.output.chunkLoading="jsonp";(new w).apply(S);new N("jsonp").apply(S)}}S.exports=JsonpTemplatePlugin},2982:(S,E,k)=>{"use strict";const w=k(31669);const N=k(63221);const j=k(76518);const q=k(63076);const ee=k(63433);const te=k(81721);const{applyWebpackOptionsDefaults:ne,applyWebpackOptionsBaseDefaults:ae}=k(54411);const{getNormalizedWebpackOptions:_e}=k(96590);const ve=k(93632);const Ee=k(91671);const Te=Ee((()=>k(33316)));const createMultiCompiler=(S,E)=>{const k=S.map((S=>createCompiler(S)));const w=new ee(k,E);for(const S of k){if(S.options.dependencies){w.setDependencies(S,S.options.dependencies)}}return w};const createCompiler=S=>{const E=_e(S);ae(E);const k=new q(E.context);k.options=E;new ve({infrastructureLogging:E.infrastructureLogging}).apply(k);if(Array.isArray(E.plugins)){for(const S of E.plugins){if(typeof S==="function"){S.call(k,k)}else{S.apply(k)}}}ne(E);k.hooks.environment.call();k.hooks.afterEnvironment.call();(new te).process(E,k);k.hooks.initialize.call();return k};const webpack=(S,E)=>{const create=()=>{if(!N(S)){Te()(j,S)}let E;let k=false;let w;if(Array.isArray(S)){E=createMultiCompiler(S,S);k=S.some((S=>S.watch));w=S.map((S=>S.watchOptions||{}))}else{const N=S;E=createCompiler(N);k=N.watch;w=N.watchOptions||{}}return{compiler:E,watch:k,watchOptions:w}};if(E){try{const{compiler:S,watch:k,watchOptions:w}=create();if(k){S.watch(w,E)}else{S.run(((k,w)=>{S.close((S=>{E(k||S,w)}))}))}return S}catch(S){process.nextTick((()=>E(S)));return null}}else{const{compiler:S,watch:E}=create();if(E){w.deprecate((()=>{}),"A 'callback' argument need to be provided to the 'webpack(options, callback)' function when the 'watch' option is set. There is no way to handle the 'watch' option without a callback.","DEP_WEBPACK_WATCH_WITHOUT_CALLBACK")()}return S}};S.exports=webpack},82779:(S,E,k)=>{"use strict";const w=k(76150);const N=k(44160);const j=k(64997);const q=k(92208);class ImportScriptsChunkLoadingPlugin{apply(S){new j({chunkLoading:"import-scripts",asyncChunkLoading:true}).apply(S);S.hooks.thisCompilation.tap("ImportScriptsChunkLoadingPlugin",(S=>{const E=S.outputOptions.chunkLoading;const isEnabledForChunk=S=>{const k=S.getEntryOptions();const w=k&&k.chunkLoading!==undefined?k.chunkLoading:E;return w==="import-scripts"};const k=new WeakSet;const handler=(E,N)=>{if(k.has(E))return;k.add(E);if(!isEnabledForChunk(E))return;const j=!!S.outputOptions.trustedTypes;N.add(w.moduleFactoriesAddOnly);N.add(w.hasOwnProperty);if(j)N.add(w.createScriptUrl);S.addRuntimeModule(E,new q(N,j))};S.hooks.runtimeRequirementInTree.for(w.ensureChunkHandlers).tap("ImportScriptsChunkLoadingPlugin",handler);S.hooks.runtimeRequirementInTree.for(w.hmrDownloadUpdateHandlers).tap("ImportScriptsChunkLoadingPlugin",handler);S.hooks.runtimeRequirementInTree.for(w.hmrDownloadManifest).tap("ImportScriptsChunkLoadingPlugin",handler);S.hooks.runtimeRequirementInTree.for(w.baseURI).tap("ImportScriptsChunkLoadingPlugin",handler);S.hooks.runtimeRequirementInTree.for(w.createScriptUrl).tap("RuntimePlugin",((E,k)=>{S.addRuntimeModule(E,new N);return true}));S.hooks.runtimeRequirementInTree.for(w.ensureChunkHandlers).tap("ImportScriptsChunkLoadingPlugin",((S,E)=>{if(!isEnabledForChunk(S))return;E.add(w.publicPath);E.add(w.getChunkScriptFilename)}));S.hooks.runtimeRequirementInTree.for(w.hmrDownloadUpdateHandlers).tap("ImportScriptsChunkLoadingPlugin",((S,E)=>{if(!isEnabledForChunk(S))return;E.add(w.publicPath);E.add(w.getChunkUpdateScriptFilename);E.add(w.moduleCache);E.add(w.hmrModuleData);E.add(w.moduleFactoriesAddOnly)}));S.hooks.runtimeRequirementInTree.for(w.hmrDownloadManifest).tap("ImportScriptsChunkLoadingPlugin",((S,E)=>{if(!isEnabledForChunk(S))return;E.add(w.publicPath);E.add(w.getUpdateManifestFilename)}))}))}}S.exports=ImportScriptsChunkLoadingPlugin},92208:(S,E,k)=>{"use strict";const w=k(76150);const N=k(66804);const j=k(58159);const{getChunkFilenameTemplate:q,chunkHasJs:ee}=k(18161);const{getInitialChunkIds:te}=k(13085);const ne=k(87274);const{getUndoPath:ae}=k(49197);class ImportScriptsChunkLoadingRuntimeModule extends N{constructor(S,E){super("importScripts chunk loading",N.STAGE_ATTACH);this.runtimeRequirements=S;this._withCreateScriptUrl=E}generate(){const{chunk:S,chunkGraph:E,compilation:{runtimeTemplate:N,outputOptions:{globalObject:_e,chunkLoadingGlobal:ve,hotUpdateGlobal:Ee}},_withCreateScriptUrl:Te}=this;const Ce=w.ensureChunkHandlers;const we=this.runtimeRequirements.has(w.baseURI);const Ne=this.runtimeRequirements.has(w.ensureChunkHandlers);const Ie=this.runtimeRequirements.has(w.hmrDownloadUpdateHandlers);const Fe=this.runtimeRequirements.has(w.hmrDownloadManifest);const Oe=`${_e}[${JSON.stringify(ve)}]`;const Me=ne(E.getChunkConditionMap(S,ee));const Re=te(S,E);const Le=this.compilation.getPath(q(S,this.compilation.outputOptions),{chunk:S,contentHashType:"javascript"});const Be=ae(Le,this.compilation.outputOptions.path,false);return j.asString([we?j.asString([`${w.baseURI} = self.location + ${JSON.stringify(Be?"/../"+Be:"")};`]):"// no baseURI","","// object to store loaded chunks",'// "1" means "already loaded"',"var installedChunks = {",j.indent(Array.from(Re,(S=>`${JSON.stringify(S)}: 1`)).join(",\n")),"};","",Ne?j.asString(["// importScripts chunk loading",`var installChunk = ${N.basicFunction("data",[N.destructureArray(["chunkIds","moreModules","runtime"],"data"),"for(var moduleId in moreModules) {",j.indent([`if(${w.hasOwnProperty}(moreModules, moduleId)) {`,j.indent(`${w.moduleFactories}[moduleId] = moreModules[moduleId];`),"}"]),"}","if(runtime) runtime(__webpack_require__);","while(chunkIds.length)",j.indent("installedChunks[chunkIds.pop()] = 1;"),"parentChunkLoadingFunction(data);"])};`]):"// no chunk install function needed",Ne?j.asString([`${Ce}.i = ${N.basicFunction("chunkId, promises",Me!==false?['// "1" is the signal for "already loaded"',"if(!installedChunks[chunkId]) {",j.indent([Me===true?"if(true) { // all chunks have JS":`if(${Me("chunkId")}) {`,j.indent(`importScripts(${Te?`${w.createScriptUrl}(${w.publicPath} + ${w.getChunkScriptFilename}(chunkId))`:`${w.publicPath} + ${w.getChunkScriptFilename}(chunkId)`});`),"}"]),"}"]:"installedChunks[chunkId] = 1;")};`,"",`var chunkLoadingGlobal = ${Oe} = ${Oe} || [];`,"var parentChunkLoadingFunction = chunkLoadingGlobal.push.bind(chunkLoadingGlobal);","chunkLoadingGlobal.push = installChunk;"]):"// no chunk loading","",Ie?j.asString(["function loadUpdateChunk(chunkId, updatedModulesList) {",j.indent(["var success = false;",`${_e}[${JSON.stringify(Ee)}] = ${N.basicFunction("_, moreModules, runtime",["for(var moduleId in moreModules) {",j.indent([`if(${w.hasOwnProperty}(moreModules, moduleId)) {`,j.indent(["currentUpdate[moduleId] = moreModules[moduleId];","if(updatedModulesList) updatedModulesList.push(moduleId);"]),"}"]),"}","if(runtime) currentUpdateRuntime.push(runtime);","success = true;"])};`,"// start update chunk loading",`importScripts(${Te?`${w.createScriptUrl}(${w.publicPath} + ${w.getChunkUpdateScriptFilename}(chunkId))`:`${w.publicPath} + ${w.getChunkUpdateScriptFilename}(chunkId)`});`,'if(!success) throw new Error("Loading update chunk failed for unknown reason");']),"}","",j.getFunctionContent(k(22215)).replace(/\$key\$/g,"importScrips").replace(/\$installedChunks\$/g,"installedChunks").replace(/\$loadUpdateChunk\$/g,"loadUpdateChunk").replace(/\$moduleCache\$/g,w.moduleCache).replace(/\$moduleFactories\$/g,w.moduleFactories).replace(/\$ensureChunkHandlers\$/g,w.ensureChunkHandlers).replace(/\$hasOwnProperty\$/g,w.hasOwnProperty).replace(/\$hmrModuleData\$/g,w.hmrModuleData).replace(/\$hmrDownloadUpdateHandlers\$/g,w.hmrDownloadUpdateHandlers).replace(/\$hmrInvalidateModuleHandlers\$/g,w.hmrInvalidateModuleHandlers)]):"// no HMR","",Fe?j.asString([`${w.hmrDownloadManifest} = ${N.basicFunction("",['if (typeof fetch === "undefined") throw new Error("No browser support: need fetch API");',`return fetch(${w.publicPath} + ${w.getUpdateManifestFilename}()).then(${N.basicFunction("response",["if(response.status === 404) return; // no update available",'if(!response.ok) throw new Error("Failed to fetch update manifest " + response.statusText);',"return response.json();"])});`])};`]):"// no HMR manifest"])}}S.exports=ImportScriptsChunkLoadingRuntimeModule},67439:(S,E,k)=>{"use strict";const w=k(41113);const N=k(50369);class WebWorkerTemplatePlugin{apply(S){S.options.output.chunkLoading="import-scripts";(new w).apply(S);new N("import-scripts").apply(S)}}S.exports=WebWorkerTemplatePlugin},14150:function(S,E){(function(S,k){true?k(E):0})(this,(function(S){"use strict";var E={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"};var k="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";var w={5:k,"5module":k+" export import",6:k+" const class extends export import super"};var N=/^in(stanceof)?$/;var j="ªµºÀ-ÖØ-öø-ˁˆ-ˑˠ-ˤˬˮͰ-ʹͶͷͺ-ͽͿΆΈ-ΊΌΎ-ΡΣ-ϵϷ-ҁҊ-ԯԱ-Ֆՙՠ-ֈא-תׯ-ײؠ-يٮٯٱ-ۓەۥۦۮۯۺ-ۼۿܐܒ-ܯݍ-ޥޱߊ-ߪߴߵߺࠀ-ࠕࠚࠤࠨࡀ-ࡘࡠ-ࡪࢠ-ࢴࢶ-ࣇऄ-हऽॐक़-ॡॱ-ঀঅ-ঌএঐও-নপ-রলশ-হঽৎড়ঢ়য়-ৡৰৱৼਅ-ਊਏਐਓ-ਨਪ-ਰਲਲ਼ਵਸ਼ਸਹਖ਼-ੜਫ਼ੲ-ੴઅ-ઍએ-ઑઓ-નપ-રલળવ-હઽૐૠૡૹଅ-ଌଏଐଓ-ନପ-ରଲଳଵ-ହଽଡ଼ଢ଼ୟ-ୡୱஃஅ-ஊஎ-ஐஒ-கஙசஜஞடணதந-பம-ஹௐఅ-ఌఎ-ఐఒ-నప-హఽౘ-ౚౠౡಀಅ-ಌಎ-ಐಒ-ನಪ-ಳವ-ಹಽೞೠೡೱೲഄ-ഌഎ-ഐഒ-ഺഽൎൔ-ൖൟ-ൡൺ-ൿඅ-ඖක-නඳ-රලව-ෆก-ะาำเ-ๆກຂຄຆ-ຊຌ-ຣລວ-ະາຳຽເ-ໄໆໜ-ໟༀཀ-ཇཉ-ཬྈ-ྌက-ဪဿၐ-ၕၚ-ၝၡၥၦၮ-ၰၵ-ႁႎႠ-ჅჇჍა-ჺჼ-ቈቊ-ቍቐ-ቖቘቚ-ቝበ-ኈኊ-ኍነ-ኰኲ-ኵኸ-ኾዀዂ-ዅወ-ዖዘ-ጐጒ-ጕጘ-ፚᎀ-ᎏᎠ-Ᏽᏸ-ᏽᐁ-ᙬᙯ-ᙿᚁ-ᚚᚠ-ᛪᛮ-ᛸᜀ-ᜌᜎ-ᜑᜠ-ᜱᝀ-ᝑᝠ-ᝬᝮ-ᝰក-ឳៗៜᠠ-ᡸᢀ-ᢨᢪᢰ-ᣵᤀ-ᤞᥐ-ᥭᥰ-ᥴᦀ-ᦫᦰ-ᧉᨀ-ᨖᨠ-ᩔᪧᬅ-ᬳᭅ-ᭋᮃ-ᮠᮮᮯᮺ-ᯥᰀ-ᰣᱍ-ᱏᱚ-ᱽᲀ-ᲈᲐ-ᲺᲽ-Ჿᳩ-ᳬᳮ-ᳳᳵᳶᳺᴀ-ᶿḀ-ἕἘ-Ἕἠ-ὅὈ-Ὅὐ-ὗὙὛὝὟ-ώᾀ-ᾴᾶ-ᾼιῂ-ῄῆ-ῌῐ-ΐῖ-Ίῠ-Ῥῲ-ῴῶ-ῼⁱⁿₐ-ₜℂℇℊ-ℓℕ℘-ℝℤΩℨK-ℹℼ-ℿⅅ-ⅉⅎⅠ-ↈⰀ-Ⱞⰰ-ⱞⱠ-ⳤⳫ-ⳮⳲⳳⴀ-ⴥⴧⴭⴰ-ⵧⵯⶀ-ⶖⶠ-ⶦⶨ-ⶮⶰ-ⶶⶸ-ⶾⷀ-ⷆⷈ-ⷎⷐ-ⷖⷘ-ⷞ々-〇〡-〩〱-〵〸-〼ぁ-ゖ゛-ゟァ-ヺー-ヿㄅ-ㄯㄱ-ㆎㆠ-ㆿㇰ-ㇿ㐀-䶿一-鿼ꀀ-ꒌꓐ-ꓽꔀ-ꘌꘐ-ꘟꘪꘫꙀ-ꙮꙿ-ꚝꚠ-ꛯꜗ-ꜟꜢ-ꞈꞋ-ꞿꟂ-ꟊꟵ-ꠁꠃ-ꠅꠇ-ꠊꠌ-ꠢꡀ-ꡳꢂ-ꢳꣲ-ꣷꣻꣽꣾꤊ-ꤥꤰ-ꥆꥠ-ꥼꦄ-ꦲꧏꧠ-ꧤꧦ-ꧯꧺ-ꧾꨀ-ꨨꩀ-ꩂꩄ-ꩋꩠ-ꩶꩺꩾ-ꪯꪱꪵꪶꪹ-ꪽꫀꫂꫛ-ꫝꫠ-ꫪꫲ-ꫴꬁ-ꬆꬉ-ꬎꬑ-ꬖꬠ-ꬦꬨ-ꬮꬰ-ꭚꭜ-ꭩꭰ-ꯢ가-힣ힰ-ퟆퟋ-ퟻ豈-舘並-龎ff-stﬓ-ﬗיִײַ-ﬨשׁ-זּטּ-לּמּנּסּףּפּצּ-ﮱﯓ-ﴽﵐ-ﶏﶒ-ﷇﷰ-ﷻﹰ-ﹴﹶ-ﻼA-Za-zヲ-하-ᅦᅧ-ᅬᅭ-ᅲᅳ-ᅵ";var q="‌‍·̀-ͯ·҃-֑҇-ׇֽֿׁׂׅׄؐ-ًؚ-٩ٰۖ-ۜ۟-۪ۤۧۨ-ۭ۰-۹ܑܰ-݊ަ-ް߀-߉߫-߽߳ࠖ-࠙ࠛ-ࠣࠥ-ࠧࠩ-࡙࠭-࡛࣓-ࣣ࣡-ःऺ-़ा-ॏ॑-ॗॢॣ०-९ঁ-ঃ়া-ৄেৈো-্ৗৢৣ০-৯৾ਁ-ਃ਼ਾ-ੂੇੈੋ-੍ੑ੦-ੱੵઁ-ઃ઼ા-ૅે-ૉો-્ૢૣ૦-૯ૺ-૿ଁ-ଃ଼ା-ୄେୈୋ-୍୕-ୗୢୣ୦-୯ஂா-ூெ-ைொ-்ௗ௦-௯ఀ-ఄా-ౄె-ైొ-్ౕౖౢౣ౦-౯ಁ-ಃ಼ಾ-ೄೆ-ೈೊ-್ೕೖೢೣ೦-೯ഀ-ഃ഻഼ാ-ൄെ-ൈൊ-്ൗൢൣ൦-൯ඁ-ඃ්ා-ුූෘ-ෟ෦-෯ෲෳัิ-ฺ็-๎๐-๙ັິ-ຼ່-ໍ໐-໙༘༙༠-༩༹༵༷༾༿ཱ-྄྆྇ྍ-ྗྙ-ྼ࿆ါ-ှ၀-၉ၖ-ၙၞ-ၠၢ-ၤၧ-ၭၱ-ၴႂ-ႍႏ-ႝ፝-፟፩-፱ᜒ-᜔ᜲ-᜴ᝒᝓᝲᝳ឴-៓៝០-៩᠋-᠍᠐-᠙ᢩᤠ-ᤫᤰ-᤻᥆-᥏᧐-᧚ᨗ-ᨛᩕ-ᩞ᩠-᩿᩼-᪉᪐-᪙᪰-᪽ᪿᫀᬀ-ᬄ᬴-᭄᭐-᭙᭫-᭳ᮀ-ᮂᮡ-ᮭ᮰-᮹᯦-᯳ᰤ-᰷᱀-᱉᱐-᱙᳐-᳔᳒-᳨᳭᳴᳷-᳹᷀-᷹᷻-᷿‿⁀⁔⃐-⃥⃜⃡-⃰⳯-⵿⳱ⷠ-〪ⷿ-゙゚〯꘠-꘩꙯ꙴ-꙽ꚞꚟ꛰꛱ꠂ꠆ꠋꠣ-ꠧ꠬ꢀꢁꢴ-ꣅ꣐-꣙꣠-꣱ꣿ-꤉ꤦ-꤭ꥇ-꥓ꦀ-ꦃ꦳-꧀꧐-꧙ꧥ꧰-꧹ꨩ-ꨶꩃꩌꩍ꩐-꩙ꩻ-ꩽꪰꪲ-ꪴꪷꪸꪾ꪿꫁ꫫ-ꫯꫵ꫶ꯣ-ꯪ꯬꯭꯰-꯹ﬞ︀-️︠-︯︳︴﹍-﹏0-9_";var ee=new RegExp("["+j+"]");var te=new RegExp("["+j+q+"]");j=q=null;var ne=[0,11,2,25,2,18,2,1,2,14,3,13,35,122,70,52,268,28,4,48,48,31,14,29,6,37,11,29,3,35,5,7,2,4,43,157,19,35,5,35,5,39,9,51,157,310,10,21,11,7,153,5,3,0,2,43,2,1,4,0,3,22,11,22,10,30,66,18,2,1,11,21,11,25,71,55,7,1,65,0,16,3,2,2,2,28,43,28,4,28,36,7,2,27,28,53,11,21,11,18,14,17,111,72,56,50,14,50,14,35,349,41,7,1,79,28,11,0,9,21,107,20,28,22,13,52,76,44,33,24,27,35,30,0,3,0,9,34,4,0,13,47,15,3,22,0,2,0,36,17,2,24,85,6,2,0,2,3,2,14,2,9,8,46,39,7,3,1,3,21,2,6,2,1,2,4,4,0,19,0,13,4,159,52,19,3,21,2,31,47,21,1,2,0,185,46,42,3,37,47,21,0,60,42,14,0,72,26,230,43,117,63,32,7,3,0,3,7,2,1,2,23,16,0,2,0,95,7,3,38,17,0,2,0,29,0,11,39,8,0,22,0,12,45,20,0,35,56,264,8,2,36,18,0,50,29,113,6,2,1,2,37,22,0,26,5,2,1,2,31,15,0,328,18,190,0,80,921,103,110,18,195,2749,1070,4050,582,8634,568,8,30,114,29,19,47,17,3,32,20,6,18,689,63,129,74,6,0,67,12,65,1,2,0,29,6135,9,1237,43,8,8952,286,50,2,18,3,9,395,2309,106,6,12,4,8,8,9,5991,84,2,70,2,1,3,0,3,1,3,3,2,11,2,0,2,6,2,64,2,3,3,7,2,6,2,27,2,3,2,4,2,0,4,6,2,339,3,24,2,24,2,30,2,24,2,30,2,24,2,30,2,24,2,30,2,24,2,7,2357,44,11,6,17,0,370,43,1301,196,60,67,8,0,1205,3,2,26,2,1,2,0,3,0,2,9,2,3,2,0,2,0,7,0,5,0,2,0,2,0,2,2,2,1,2,0,3,0,2,0,2,0,2,0,2,0,2,1,2,0,3,3,2,6,2,3,2,3,2,0,2,9,2,16,6,2,2,4,2,16,4421,42717,35,4148,12,221,3,5761,15,7472,3104,541,1507,4938];var ae=[509,0,227,0,150,4,294,9,1368,2,2,1,6,3,41,2,5,0,166,1,574,3,9,9,370,1,154,10,176,2,54,14,32,9,16,3,46,10,54,9,7,2,37,13,2,9,6,1,45,0,13,2,49,13,9,3,2,11,83,11,7,0,161,11,6,9,7,3,56,1,2,6,3,1,3,2,10,0,11,1,3,6,4,4,193,17,10,9,5,0,82,19,13,9,214,6,3,8,28,1,83,16,16,9,82,12,9,9,84,14,5,9,243,14,166,9,71,5,2,1,3,3,2,0,2,1,13,9,120,6,3,6,4,0,29,9,41,6,2,3,9,0,10,10,47,15,406,7,2,7,17,9,57,21,2,13,123,5,4,0,2,1,2,6,2,0,9,9,49,4,2,1,2,4,9,9,330,3,19306,9,135,4,60,6,26,9,1014,0,2,54,8,3,82,0,12,1,19628,1,5319,4,4,5,9,7,3,6,31,3,149,2,1418,49,513,54,5,49,9,0,15,0,23,4,2,14,1361,6,2,16,3,6,2,1,2,4,262,6,10,9,419,13,1495,6,110,6,6,9,4759,9,787719,239];function isInAstralSet(S,E){var k=65536;for(var w=0;wS){return false}k+=E[w+1];if(k>=S){return true}}}function isIdentifierStart(S,E){if(S<65){return S===36}if(S<91){return true}if(S<97){return S===95}if(S<123){return true}if(S<=65535){return S>=170&&ee.test(String.fromCharCode(S))}if(E===false){return false}return isInAstralSet(S,ne)}function isIdentifierChar(S,E){if(S<48){return S===36}if(S<58){return true}if(S<65){return false}if(S<91){return true}if(S<97){return S===95}if(S<123){return true}if(S<=65535){return S>=170&&te.test(String.fromCharCode(S))}if(E===false){return false}return isInAstralSet(S,ne)||isInAstralSet(S,ae)}var _e=function TokenType(S,E){if(E===void 0)E={};this.label=S;this.keyword=E.keyword;this.beforeExpr=!!E.beforeExpr;this.startsExpr=!!E.startsExpr;this.isLoop=!!E.isLoop;this.isAssign=!!E.isAssign;this.prefix=!!E.prefix;this.postfix=!!E.postfix;this.binop=E.binop||null;this.updateContext=null};function binop(S,E){return new _e(S,{beforeExpr:true,binop:E})}var ve={beforeExpr:true},Ee={startsExpr:true};var Te={};function kw(S,E){if(E===void 0)E={};E.keyword=S;return Te[S]=new _e(S,E)}var Ce={num:new _e("num",Ee),regexp:new _e("regexp",Ee),string:new _e("string",Ee),name:new _e("name",Ee),privateId:new _e("privateId",Ee),eof:new _e("eof"),bracketL:new _e("[",{beforeExpr:true,startsExpr:true}),bracketR:new _e("]"),braceL:new _e("{",{beforeExpr:true,startsExpr:true}),braceR:new _e("}"),parenL:new _e("(",{beforeExpr:true,startsExpr:true}),parenR:new _e(")"),comma:new _e(",",ve),semi:new _e(";",ve),colon:new _e(":",ve),dot:new _e("."),question:new _e("?",ve),questionDot:new _e("?."),arrow:new _e("=>",ve),template:new _e("template"),invalidTemplate:new _e("invalidTemplate"),ellipsis:new _e("...",ve),backQuote:new _e("`",Ee),dollarBraceL:new _e("${",{beforeExpr:true,startsExpr:true}),eq:new _e("=",{beforeExpr:true,isAssign:true}),assign:new _e("_=",{beforeExpr:true,isAssign:true}),incDec:new _e("++/--",{prefix:true,postfix:true,startsExpr:true}),prefix:new _e("!/~",{beforeExpr:true,prefix:true,startsExpr:true}),logicalOR:binop("||",1),logicalAND:binop("&&",2),bitwiseOR:binop("|",3),bitwiseXOR:binop("^",4),bitwiseAND:binop("&",5),equality:binop("==/!=/===/!==",6),relational:binop("/<=/>=",7),bitShift:binop("<>/>>>",8),plusMin:new _e("+/-",{beforeExpr:true,binop:9,prefix:true,startsExpr:true}),modulo:binop("%",10),star:binop("*",10),slash:binop("/",10),starstar:new _e("**",{beforeExpr:true}),coalesce:binop("??",1),_break:kw("break"),_case:kw("case",ve),_catch:kw("catch"),_continue:kw("continue"),_debugger:kw("debugger"),_default:kw("default",ve),_do:kw("do",{isLoop:true,beforeExpr:true}),_else:kw("else",ve),_finally:kw("finally"),_for:kw("for",{isLoop:true}),_function:kw("function",Ee),_if:kw("if"),_return:kw("return",ve),_switch:kw("switch"),_throw:kw("throw",ve),_try:kw("try"),_var:kw("var"),_const:kw("const"),_while:kw("while",{isLoop:true}),_with:kw("with"),_new:kw("new",{beforeExpr:true,startsExpr:true}),_this:kw("this",Ee),_super:kw("super",Ee),_class:kw("class",Ee),_extends:kw("extends",ve),_export:kw("export"),_import:kw("import",Ee),_null:kw("null",Ee),_true:kw("true",Ee),_false:kw("false",Ee),_in:kw("in",{beforeExpr:true,binop:7}),_instanceof:kw("instanceof",{beforeExpr:true,binop:7}),_typeof:kw("typeof",{beforeExpr:true,prefix:true,startsExpr:true}),_void:kw("void",{beforeExpr:true,prefix:true,startsExpr:true}),_delete:kw("delete",{beforeExpr:true,prefix:true,startsExpr:true})};var we=/\r\n?|\n|\u2028|\u2029/;var Ne=new RegExp(we.source,"g");function isNewLine(S,E){return S===10||S===13||!E&&(S===8232||S===8233)}var Ie=/[\u1680\u2000-\u200a\u202f\u205f\u3000\ufeff]/;var Fe=/(?:\s|\/\/.*|\/\*[^]*?\*\/)*/g;var Oe=Object.prototype;var Me=Oe.hasOwnProperty;var Re=Oe.toString;function has(S,E){return Me.call(S,E)}var Le=Array.isArray||function(S){return Re.call(S)==="[object Array]"};function wordsRegexp(S){return new RegExp("^(?:"+S.replace(/ /g,"|")+")$")}var Be=function Position(S,E){this.line=S;this.column=E};Be.prototype.offset=function offset(S){return new Be(this.line,this.column+S)};var je=function SourceLocation(S,E,k){this.start=E;this.end=k;if(S.sourceFile!==null){this.source=S.sourceFile}};function getLineInfo(S,E){for(var k=1,w=0;;){Ne.lastIndex=w;var N=Ne.exec(S);if(N&&N.index=2015){E.ecmaVersion-=2009}if(E.allowReserved==null){E.allowReserved=E.ecmaVersion<5}if(Le(E.onToken)){var w=E.onToken;E.onToken=function(S){return w.push(S)}}if(Le(E.onComment)){E.onComment=pushComment(E,E.onComment)}return E}function pushComment(S,E){return function(k,w,N,j,q,ee){var te={type:k?"Block":"Line",value:w,start:N,end:j};if(S.locations){te.loc=new je(this,q,ee)}if(S.ranges){te.range=[N,j]}E.push(te)}}var We=1,$e=2,qe=We|$e,Ve=4,He=8,Ge=16,Je=32,Ke=64,Qe=128;function functionFlags(S,E){return $e|(S?Ve:0)|(E?He:0)}var Xe=0,Ye=1,Ze=2,et=3,tt=4,rt=5;var nt=function Parser(S,k,N){this.options=S=getOptions(S);this.sourceFile=S.sourceFile;this.keywords=wordsRegexp(w[S.ecmaVersion>=6?6:S.sourceType==="module"?"5module":5]);var j="";if(S.allowReserved!==true){j=E[S.ecmaVersion>=6?6:S.ecmaVersion===5?5:3];if(S.sourceType==="module"){j+=" await"}}this.reservedWords=wordsRegexp(j);var q=(j?j+" ":"")+E.strict;this.reservedWordsStrict=wordsRegexp(q);this.reservedWordsStrictBind=wordsRegexp(q+" "+E.strictBind);this.input=String(k);this.containsEsc=false;if(N){this.pos=N;this.lineStart=this.input.lastIndexOf("\n",N-1)+1;this.curLine=this.input.slice(0,this.lineStart).split(we).length}else{this.pos=this.lineStart=0;this.curLine=1}this.type=Ce.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=true;this.inModule=S.sourceType==="module";this.strict=this.inModule||this.strictDirective(this.pos);this.potentialArrowAt=-1;this.potentialArrowInForAwait=false;this.yieldPos=this.awaitPos=this.awaitIdentPos=0;this.labels=[];this.undefinedExports=Object.create(null);if(this.pos===0&&S.allowHashBang&&this.input.slice(0,2)==="#!"){this.skipLineComment(2)}this.scopeStack=[];this.enterScope(We);this.regexpState=null;this.privateNameStack=[]};var it={inFunction:{configurable:true},inGenerator:{configurable:true},inAsync:{configurable:true},canAwait:{configurable:true},allowSuper:{configurable:true},allowDirectSuper:{configurable:true},treatFunctionsAsVar:{configurable:true},inNonArrowFunction:{configurable:true}};nt.prototype.parse=function parse(){var S=this.options.program||this.startNode();this.nextToken();return this.parseTopLevel(S)};it.inFunction.get=function(){return(this.currentVarScope().flags&$e)>0};it.inGenerator.get=function(){return(this.currentVarScope().flags&He)>0&&!this.currentVarScope().inClassFieldInit};it.inAsync.get=function(){return(this.currentVarScope().flags&Ve)>0&&!this.currentVarScope().inClassFieldInit};it.canAwait.get=function(){for(var S=this.scopeStack.length-1;S>=0;S--){var E=this.scopeStack[S];if(E.inClassFieldInit){return false}if(E.flags&$e){return(E.flags&Ve)>0}}return this.inModule&&this.options.ecmaVersion>=13||this.options.allowAwaitOutsideFunction};it.allowSuper.get=function(){var S=this.currentThisScope();var E=S.flags;var k=S.inClassFieldInit;return(E&Ke)>0||k||this.options.allowSuperOutsideMethod};it.allowDirectSuper.get=function(){return(this.currentThisScope().flags&Qe)>0};it.treatFunctionsAsVar.get=function(){return this.treatFunctionsAsVarInScope(this.currentScope())};it.inNonArrowFunction.get=function(){var S=this.currentThisScope();var E=S.flags;var k=S.inClassFieldInit;return(E&$e)>0||k};nt.extend=function extend(){var S=[],E=arguments.length;while(E--)S[E]=arguments[E];var k=this;for(var w=0;w=,?^&]/.test(N)||N==="!"&&this.input.charAt(w+1)==="=")}S+=E[0].length;Fe.lastIndex=S;S+=Fe.exec(this.input)[0].length;if(this.input[S]===";"){S++}}};ot.eat=function(S){if(this.type===S){this.next();return true}else{return false}};ot.isContextual=function(S){return this.type===Ce.name&&this.value===S&&!this.containsEsc};ot.eatContextual=function(S){if(!this.isContextual(S)){return false}this.next();return true};ot.expectContextual=function(S){if(!this.eatContextual(S)){this.unexpected()}};ot.canInsertSemicolon=function(){return this.type===Ce.eof||this.type===Ce.braceR||we.test(this.input.slice(this.lastTokEnd,this.start))};ot.insertSemicolon=function(){if(this.canInsertSemicolon()){if(this.options.onInsertedSemicolon){this.options.onInsertedSemicolon(this.lastTokEnd,this.lastTokEndLoc)}return true}};ot.semicolon=function(){if(!this.eat(Ce.semi)&&!this.insertSemicolon()){this.unexpected()}};ot.afterTrailingComma=function(S,E){if(this.type===S){if(this.options.onTrailingComma){this.options.onTrailingComma(this.lastTokStart,this.lastTokStartLoc)}if(!E){this.next()}return true}};ot.expect=function(S){this.eat(S)||this.unexpected()};ot.unexpected=function(S){this.raise(S!=null?S:this.start,"Unexpected token")};function DestructuringErrors(){this.shorthandAssign=this.trailingComma=this.parenthesizedAssign=this.parenthesizedBind=this.doubleProto=-1}ot.checkPatternErrors=function(S,E){if(!S){return}if(S.trailingComma>-1){this.raiseRecoverable(S.trailingComma,"Comma is not permitted after the rest element")}var k=E?S.parenthesizedAssign:S.parenthesizedBind;if(k>-1){this.raiseRecoverable(k,"Parenthesized pattern")}};ot.checkExpressionErrors=function(S,E){if(!S){return false}var k=S.shorthandAssign;var w=S.doubleProto;if(!E){return k>=0||w>=0}if(k>=0){this.raise(k,"Shorthand property assignments are valid only in destructuring patterns")}if(w>=0){this.raiseRecoverable(w,"Redefinition of __proto__ property")}};ot.checkYieldAwaitInDefaultParams=function(){if(this.yieldPos&&(!this.awaitPos||this.yieldPos55295&&w<56320){return true}if(S){return false}if(w===123){return true}if(isIdentifierStart(w,true)){var j=k+1;while(isIdentifierChar(w=this.input.charCodeAt(j),true)){++j}if(w===92||w>55295&&w<56320){return true}var q=this.input.slice(k,j);if(!N.test(q)){return true}}return false};ct.isAsyncFunction=function(){if(this.options.ecmaVersion<8||!this.isContextual("async")){return false}Fe.lastIndex=this.pos;var S=Fe.exec(this.input);var E=this.pos+S[0].length,k;return!we.test(this.input.slice(this.pos,E))&&this.input.slice(E,E+8)==="function"&&(E+8===this.input.length||!(isIdentifierChar(k=this.input.charCodeAt(E+8))||k>55295&&k<56320))};ct.parseStatement=function(S,E,k){var w=this.type,N=this.startNode(),j;if(this.isLet(S)){w=Ce._var;j="let"}switch(w){case Ce._break:case Ce._continue:return this.parseBreakContinueStatement(N,w.keyword);case Ce._debugger:return this.parseDebuggerStatement(N);case Ce._do:return this.parseDoStatement(N);case Ce._for:return this.parseForStatement(N);case Ce._function:if(S&&(this.strict||S!=="if"&&S!=="label")&&this.options.ecmaVersion>=6){this.unexpected()}return this.parseFunctionStatement(N,false,!S);case Ce._class:if(S){this.unexpected()}return this.parseClass(N,true);case Ce._if:return this.parseIfStatement(N);case Ce._return:return this.parseReturnStatement(N);case Ce._switch:return this.parseSwitchStatement(N);case Ce._throw:return this.parseThrowStatement(N);case Ce._try:return this.parseTryStatement(N);case Ce._const:case Ce._var:j=j||this.value;if(S&&j!=="var"){this.unexpected()}return this.parseVarStatement(N,j);case Ce._while:return this.parseWhileStatement(N);case Ce._with:return this.parseWithStatement(N);case Ce.braceL:return this.parseBlock(true,N);case Ce.semi:return this.parseEmptyStatement(N);case Ce._export:case Ce._import:if(this.options.ecmaVersion>10&&w===Ce._import){Fe.lastIndex=this.pos;var q=Fe.exec(this.input);var ee=this.pos+q[0].length,te=this.input.charCodeAt(ee);if(te===40||te===46){return this.parseExpressionStatement(N,this.parseExpression())}}if(!this.options.allowImportExportEverywhere){if(!E){this.raise(this.start,"'import' and 'export' may only appear at the top level")}if(!this.inModule){this.raise(this.start,"'import' and 'export' may appear only with 'sourceType: module'")}}return w===Ce._import?this.parseImport(N):this.parseExport(N,k);default:if(this.isAsyncFunction()){if(S){this.unexpected()}this.next();return this.parseFunctionStatement(N,true,!S)}var ne=this.value,ae=this.parseExpression();if(w===Ce.name&&ae.type==="Identifier"&&this.eat(Ce.colon)){return this.parseLabeledStatement(N,ne,ae,S)}else{return this.parseExpressionStatement(N,ae)}}};ct.parseBreakContinueStatement=function(S,E){var k=E==="break";this.next();if(this.eat(Ce.semi)||this.insertSemicolon()){S.label=null}else if(this.type!==Ce.name){this.unexpected()}else{S.label=this.parseIdent();this.semicolon()}var w=0;for(;w=6){this.eat(Ce.semi)}else{this.semicolon()}return this.finishNode(S,"DoWhileStatement")};ct.parseForStatement=function(S){this.next();var E=this.options.ecmaVersion>=9&&this.canAwait&&this.eatContextual("await")?this.lastTokStart:-1;this.labels.push(ut);this.enterScope(0);this.expect(Ce.parenL);if(this.type===Ce.semi){if(E>-1){this.unexpected(E)}return this.parseFor(S,null)}var k=this.isLet();if(this.type===Ce._var||this.type===Ce._const||k){var w=this.startNode(),N=k?"let":this.value;this.next();this.parseVar(w,true,N);this.finishNode(w,"VariableDeclaration");if((this.type===Ce._in||this.options.ecmaVersion>=6&&this.isContextual("of"))&&w.declarations.length===1){if(this.options.ecmaVersion>=9){if(this.type===Ce._in){if(E>-1){this.unexpected(E)}}else{S.await=E>-1}}return this.parseForIn(S,w)}if(E>-1){this.unexpected(E)}return this.parseFor(S,w)}var j=new DestructuringErrors;var q=this.parseExpression(E>-1?"await":true,j);if(this.type===Ce._in||this.options.ecmaVersion>=6&&this.isContextual("of")){if(this.options.ecmaVersion>=9){if(this.type===Ce._in){if(E>-1){this.unexpected(E)}}else{S.await=E>-1}}this.toAssignable(q,false,j);this.checkLValPattern(q);return this.parseForIn(S,q)}else{this.checkExpressionErrors(j,true)}if(E>-1){this.unexpected(E)}return this.parseFor(S,q)};ct.parseFunctionStatement=function(S,E,k){this.next();return this.parseFunction(S,ft|(k?0:mt),false,E)};ct.parseIfStatement=function(S){this.next();S.test=this.parseParenExpression();S.consequent=this.parseStatement("if");S.alternate=this.eat(Ce._else)?this.parseStatement("if"):null;return this.finishNode(S,"IfStatement")};ct.parseReturnStatement=function(S){if(!this.inFunction&&!this.options.allowReturnOutsideFunction){this.raise(this.start,"'return' outside of function")}this.next();if(this.eat(Ce.semi)||this.insertSemicolon()){S.argument=null}else{S.argument=this.parseExpression();this.semicolon()}return this.finishNode(S,"ReturnStatement")};ct.parseSwitchStatement=function(S){this.next();S.discriminant=this.parseParenExpression();S.cases=[];this.expect(Ce.braceL);this.labels.push(dt);this.enterScope(0);var E;for(var k=false;this.type!==Ce.braceR;){if(this.type===Ce._case||this.type===Ce._default){var w=this.type===Ce._case;if(E){this.finishNode(E,"SwitchCase")}S.cases.push(E=this.startNode());E.consequent=[];this.next();if(w){E.test=this.parseExpression()}else{if(k){this.raiseRecoverable(this.lastTokStart,"Multiple default clauses")}k=true;E.test=null}this.expect(Ce.colon)}else{if(!E){this.unexpected()}E.consequent.push(this.parseStatement(null))}}this.exitScope();if(E){this.finishNode(E,"SwitchCase")}this.next();this.labels.pop();return this.finishNode(S,"SwitchStatement")};ct.parseThrowStatement=function(S){this.next();if(we.test(this.input.slice(this.lastTokEnd,this.start))){this.raise(this.lastTokEnd,"Illegal newline after throw")}S.argument=this.parseExpression();this.semicolon();return this.finishNode(S,"ThrowStatement")};var pt=[];ct.parseTryStatement=function(S){this.next();S.block=this.parseBlock();S.handler=null;if(this.type===Ce._catch){var E=this.startNode();this.next();if(this.eat(Ce.parenL)){E.param=this.parseBindingAtom();var k=E.param.type==="Identifier";this.enterScope(k?Je:0);this.checkLValPattern(E.param,k?tt:Ze);this.expect(Ce.parenR)}else{if(this.options.ecmaVersion<10){this.unexpected()}E.param=null;this.enterScope(0)}E.body=this.parseBlock(false);this.exitScope();S.handler=this.finishNode(E,"CatchClause")}S.finalizer=this.eat(Ce._finally)?this.parseBlock():null;if(!S.handler&&!S.finalizer){this.raise(S.start,"Missing catch or finally clause")}return this.finishNode(S,"TryStatement")};ct.parseVarStatement=function(S,E){this.next();this.parseVar(S,false,E);this.semicolon();return this.finishNode(S,"VariableDeclaration")};ct.parseWhileStatement=function(S){this.next();S.test=this.parseParenExpression();this.labels.push(ut);S.body=this.parseStatement("while");this.labels.pop();return this.finishNode(S,"WhileStatement")};ct.parseWithStatement=function(S){if(this.strict){this.raise(this.start,"'with' in strict mode")}this.next();S.object=this.parseParenExpression();S.body=this.parseStatement("with");return this.finishNode(S,"WithStatement")};ct.parseEmptyStatement=function(S){this.next();return this.finishNode(S,"EmptyStatement")};ct.parseLabeledStatement=function(S,E,k,w){for(var N=0,j=this.labels;N=0;te--){var ne=this.labels[te];if(ne.statementStart===S.start){ne.statementStart=this.start;ne.kind=ee}else{break}}this.labels.push({name:E,kind:ee,statementStart:this.start});S.body=this.parseStatement(w?w.indexOf("label")===-1?w+"label":w:"label");this.labels.pop();S.label=k;return this.finishNode(S,"LabeledStatement")};ct.parseExpressionStatement=function(S,E){S.expression=E;this.semicolon();return this.finishNode(S,"ExpressionStatement")};ct.parseBlock=function(S,E,k){if(S===void 0)S=true;if(E===void 0)E=this.startNode();E.body=[];this.expect(Ce.braceL);if(S){this.enterScope(0)}while(this.type!==Ce.braceR){var w=this.parseStatement(null);E.body.push(w)}if(k){this.strict=false}this.next();if(S){this.exitScope()}return this.finishNode(E,"BlockStatement")};ct.parseFor=function(S,E){S.init=E;this.expect(Ce.semi);S.test=this.type===Ce.semi?null:this.parseExpression();this.expect(Ce.semi);S.update=this.type===Ce.parenR?null:this.parseExpression();this.expect(Ce.parenR);S.body=this.parseStatement("for");this.exitScope();this.labels.pop();return this.finishNode(S,"ForStatement")};ct.parseForIn=function(S,E){var k=this.type===Ce._in;this.next();if(E.type==="VariableDeclaration"&&E.declarations[0].init!=null&&(!k||this.options.ecmaVersion<8||this.strict||E.kind!=="var"||E.declarations[0].id.type!=="Identifier")){this.raise(E.start,(k?"for-in":"for-of")+" loop variable declaration may not have an initializer")}S.left=E;S.right=k?this.parseExpression():this.parseMaybeAssign();this.expect(Ce.parenR);S.body=this.parseStatement("for");this.exitScope();this.labels.pop();return this.finishNode(S,k?"ForInStatement":"ForOfStatement")};ct.parseVar=function(S,E,k){S.declarations=[];S.kind=k;for(;;){var w=this.startNode();this.parseVarId(w,k);if(this.eat(Ce.eq)){w.init=this.parseMaybeAssign(E)}else if(k==="const"&&!(this.type===Ce._in||this.options.ecmaVersion>=6&&this.isContextual("of"))){this.unexpected()}else if(w.id.type!=="Identifier"&&!(E&&(this.type===Ce._in||this.isContextual("of")))){this.raise(this.lastTokEnd,"Complex binding patterns require an initialization value")}else{w.init=null}S.declarations.push(this.finishNode(w,"VariableDeclarator"));if(!this.eat(Ce.comma)){break}}return S};ct.parseVarId=function(S,E){S.id=this.parseBindingAtom();this.checkLValPattern(S.id,E==="var"?Ye:Ze,false)};var ft=1,mt=2,ht=4;ct.parseFunction=function(S,E,k,w){this.initFunction(S);if(this.options.ecmaVersion>=9||this.options.ecmaVersion>=6&&!w){if(this.type===Ce.star&&E&mt){this.unexpected()}S.generator=this.eat(Ce.star)}if(this.options.ecmaVersion>=8){S.async=!!w}if(E&ft){S.id=E&ht&&this.type!==Ce.name?null:this.parseIdent();if(S.id&&!(E&mt)){this.checkLValSimple(S.id,this.strict||S.generator||S.async?this.treatFunctionsAsVar?Ye:Ze:et)}}var N=this.yieldPos,j=this.awaitPos,q=this.awaitIdentPos;this.yieldPos=0;this.awaitPos=0;this.awaitIdentPos=0;this.enterScope(functionFlags(S.async,S.generator));if(!(E&ft)){S.id=this.type===Ce.name?this.parseIdent():null}this.parseFunctionParams(S);this.parseFunctionBody(S,k,false);this.yieldPos=N;this.awaitPos=j;this.awaitIdentPos=q;return this.finishNode(S,E&ft?"FunctionDeclaration":"FunctionExpression")};ct.parseFunctionParams=function(S){this.expect(Ce.parenL);S.params=this.parseBindingList(Ce.parenR,false,this.options.ecmaVersion>=8);this.checkYieldAwaitInDefaultParams()};ct.parseClass=function(S,E){this.next();var k=this.strict;this.strict=true;this.parseClassId(S,E);this.parseClassSuper(S);var w=this.enterClassBody();var N=this.startNode();var j=false;N.body=[];this.expect(Ce.braceL);while(this.type!==Ce.braceR){var q=this.parseClassElement(S.superClass!==null);if(q){N.body.push(q);if(q.type==="MethodDefinition"&&q.kind==="constructor"){if(j){this.raise(q.start,"Duplicate constructor in the same class")}j=true}else if(q.key.type==="PrivateIdentifier"&&isPrivateNameConflicted(w,q)){this.raiseRecoverable(q.key.start,"Identifier '#"+q.key.name+"' has already been declared")}}}this.strict=k;this.next();S.body=this.finishNode(N,"ClassBody");this.exitClassBody();return this.finishNode(S,E?"ClassDeclaration":"ClassExpression")};ct.parseClassElement=function(S){if(this.eat(Ce.semi)){return null}var E=this.options.ecmaVersion;var k=this.startNode();var w="";var N=false;var j=false;var q="method";k.static=false;if(this.eatContextual("static")){if(this.isClassElementNameStart()||this.type===Ce.star){k.static=true}else{w="static"}}if(!w&&E>=8&&this.eatContextual("async")){if((this.isClassElementNameStart()||this.type===Ce.star)&&!this.canInsertSemicolon()){j=true}else{w="async"}}if(!w&&(E>=9||!j)&&this.eat(Ce.star)){N=true}if(!w&&!j&&!N){var ee=this.value;if(this.eatContextual("get")||this.eatContextual("set")){if(this.isClassElementNameStart()){q=ee}else{w=ee}}}if(w){k.computed=false;k.key=this.startNodeAt(this.lastTokStart,this.lastTokStartLoc);k.key.name=w;this.finishNode(k.key,"Identifier")}else{this.parseClassElementName(k)}if(E<13||this.type===Ce.parenL||q!=="method"||N||j){var te=!k.static&&checkKeyName(k,"constructor");var ne=te&&S;if(te&&q!=="method"){this.raise(k.key.start,"Constructor can't have get/set modifier")}k.kind=te?"constructor":q;this.parseClassMethod(k,N,j,ne)}else{this.parseClassField(k)}return k};ct.isClassElementNameStart=function(){return this.type===Ce.name||this.type===Ce.privateId||this.type===Ce.num||this.type===Ce.string||this.type===Ce.bracketL||this.type.keyword};ct.parseClassElementName=function(S){if(this.type===Ce.privateId){if(this.value==="constructor"){this.raise(this.start,"Classes can't have an element named '#constructor'")}S.computed=false;S.key=this.parsePrivateIdent()}else{this.parsePropertyName(S)}};ct.parseClassMethod=function(S,E,k,w){var N=S.key;if(S.kind==="constructor"){if(E){this.raise(N.start,"Constructor can't be a generator")}if(k){this.raise(N.start,"Constructor can't be an async method")}}else if(S.static&&checkKeyName(S,"prototype")){this.raise(N.start,"Classes may not have a static property named prototype")}var j=S.value=this.parseMethod(E,k,w);if(S.kind==="get"&&j.params.length!==0){this.raiseRecoverable(j.start,"getter should have no params")}if(S.kind==="set"&&j.params.length!==1){this.raiseRecoverable(j.start,"setter should have exactly one param")}if(S.kind==="set"&&j.params[0].type==="RestElement"){this.raiseRecoverable(j.params[0].start,"Setter cannot use rest params")}return this.finishNode(S,"MethodDefinition")};ct.parseClassField=function(S){if(checkKeyName(S,"constructor")){this.raise(S.key.start,"Classes can't have a field named 'constructor'")}else if(S.static&&checkKeyName(S,"prototype")){this.raise(S.key.start,"Classes can't have a static field named 'prototype'")}if(this.eat(Ce.eq)){var E=this.currentThisScope();var k=E.inClassFieldInit;E.inClassFieldInit=true;S.value=this.parseMaybeAssign();E.inClassFieldInit=k}else{S.value=null}this.semicolon();return this.finishNode(S,"PropertyDefinition")};ct.parseClassId=function(S,E){if(this.type===Ce.name){S.id=this.parseIdent();if(E){this.checkLValSimple(S.id,Ze,false)}}else{if(E===true){this.unexpected()}S.id=null}};ct.parseClassSuper=function(S){S.superClass=this.eat(Ce._extends)?this.parseExprSubscripts():null};ct.enterClassBody=function(){var S={declared:Object.create(null),used:[]};this.privateNameStack.push(S);return S.declared};ct.exitClassBody=function(){var S=this.privateNameStack.pop();var E=S.declared;var k=S.used;var w=this.privateNameStack.length;var N=w===0?null:this.privateNameStack[w-1];for(var j=0;j=11){if(this.eatContextual("as")){S.exported=this.parseIdent(true);this.checkExport(E,S.exported.name,this.lastTokStart)}else{S.exported=null}}this.expectContextual("from");if(this.type!==Ce.string){this.unexpected()}S.source=this.parseExprAtom();this.semicolon();return this.finishNode(S,"ExportAllDeclaration")}if(this.eat(Ce._default)){this.checkExport(E,"default",this.lastTokStart);var k;if(this.type===Ce._function||(k=this.isAsyncFunction())){var w=this.startNode();this.next();if(k){this.next()}S.declaration=this.parseFunction(w,ft|ht,false,k)}else if(this.type===Ce._class){var N=this.startNode();S.declaration=this.parseClass(N,"nullableID")}else{S.declaration=this.parseMaybeAssign();this.semicolon()}return this.finishNode(S,"ExportDefaultDeclaration")}if(this.shouldParseExportStatement()){S.declaration=this.parseStatement(null);if(S.declaration.type==="VariableDeclaration"){this.checkVariableExport(E,S.declaration.declarations)}else{this.checkExport(E,S.declaration.id.name,S.declaration.id.start)}S.specifiers=[];S.source=null}else{S.declaration=null;S.specifiers=this.parseExportSpecifiers(E);if(this.eatContextual("from")){if(this.type!==Ce.string){this.unexpected()}S.source=this.parseExprAtom()}else{for(var j=0,q=S.specifiers;j=6&&S){switch(S.type){case"Identifier":if(this.inAsync&&S.name==="await"){this.raise(S.start,"Cannot use 'await' as identifier inside an async function")}break;case"ObjectPattern":case"ArrayPattern":case"AssignmentPattern":case"RestElement":break;case"ObjectExpression":S.type="ObjectPattern";if(k){this.checkPatternErrors(k,true)}for(var w=0,N=S.properties;w=8&&!j&&q.name==="async"&&!this.canInsertSemicolon()&&this.eat(Ce._function)){return this.parseFunction(this.startNodeAt(w,N),0,false,true)}if(k&&!this.canInsertSemicolon()){if(this.eat(Ce.arrow)){return this.parseArrowExpression(this.startNodeAt(w,N),[q],false)}if(this.options.ecmaVersion>=8&&q.name==="async"&&this.type===Ce.name&&!j&&(!this.potentialArrowInForAwait||this.value!=="of"||this.containsEsc)){q=this.parseIdent(false);if(this.canInsertSemicolon()||!this.eat(Ce.arrow)){this.unexpected()}return this.parseArrowExpression(this.startNodeAt(w,N),[q],true)}}return q;case Ce.regexp:var ee=this.value;E=this.parseLiteral(ee.value);E.regex={pattern:ee.pattern,flags:ee.flags};return E;case Ce.num:case Ce.string:return this.parseLiteral(this.value);case Ce._null:case Ce._true:case Ce._false:E=this.startNode();E.value=this.type===Ce._null?null:this.type===Ce._true;E.raw=this.type.keyword;this.next();return this.finishNode(E,"Literal");case Ce.parenL:var te=this.start,ne=this.parseParenAndDistinguishExpression(k);if(S){if(S.parenthesizedAssign<0&&!this.isSimpleAssignTarget(ne)){S.parenthesizedAssign=te}if(S.parenthesizedBind<0){S.parenthesizedBind=te}}return ne;case Ce.bracketL:E=this.startNode();this.next();E.elements=this.parseExprList(Ce.bracketR,true,true,S);return this.finishNode(E,"ArrayExpression");case Ce.braceL:return this.parseObj(false,S);case Ce._function:E=this.startNode();this.next();return this.parseFunction(E,0);case Ce._class:return this.parseClass(this.startNode(),false);case Ce._new:return this.parseNew();case Ce.backQuote:return this.parseTemplate();case Ce._import:if(this.options.ecmaVersion>=11){return this.parseExprImport()}else{return this.unexpected()}default:this.unexpected()}};yt.parseExprImport=function(){var S=this.startNode();if(this.containsEsc){this.raiseRecoverable(this.start,"Escape sequence in keyword import")}var E=this.parseIdent(true);switch(this.type){case Ce.parenL:return this.parseDynamicImport(S);case Ce.dot:S.meta=E;return this.parseImportMeta(S);default:this.unexpected()}};yt.parseDynamicImport=function(S){this.next();S.source=this.parseMaybeAssign();if(!this.eat(Ce.parenR)){var E=this.start;if(this.eat(Ce.comma)&&this.eat(Ce.parenR)){this.raiseRecoverable(E,"Trailing comma is not allowed in import()")}else{this.unexpected(E)}}return this.finishNode(S,"ImportExpression")};yt.parseImportMeta=function(S){this.next();var E=this.containsEsc;S.property=this.parseIdent(true);if(S.property.name!=="meta"){this.raiseRecoverable(S.property.start,"The only valid meta property for import is 'import.meta'")}if(E){this.raiseRecoverable(S.start,"'import.meta' must not contain escaped characters")}if(this.options.sourceType!=="module"&&!this.options.allowImportExportEverywhere){this.raiseRecoverable(S.start,"Cannot use 'import.meta' outside a module")}return this.finishNode(S,"MetaProperty")};yt.parseLiteral=function(S){var E=this.startNode();E.value=S;E.raw=this.input.slice(this.start,this.end);if(E.raw.charCodeAt(E.raw.length-1)===110){E.bigint=E.raw.slice(0,-1).replace(/_/g,"")}this.next();return this.finishNode(E,"Literal")};yt.parseParenExpression=function(){this.expect(Ce.parenL);var S=this.parseExpression();this.expect(Ce.parenR);return S};yt.parseParenAndDistinguishExpression=function(S){var E=this.start,k=this.startLoc,w,N=this.options.ecmaVersion>=8;if(this.options.ecmaVersion>=6){this.next();var j=this.start,q=this.startLoc;var ee=[],te=true,ne=false;var ae=new DestructuringErrors,_e=this.yieldPos,ve=this.awaitPos,Ee;this.yieldPos=0;this.awaitPos=0;while(this.type!==Ce.parenR){te?te=false:this.expect(Ce.comma);if(N&&this.afterTrailingComma(Ce.parenR,true)){ne=true;break}else if(this.type===Ce.ellipsis){Ee=this.start;ee.push(this.parseParenItem(this.parseRestBinding()));if(this.type===Ce.comma){this.raise(this.start,"Comma is not permitted after the rest element")}break}else{ee.push(this.parseMaybeAssign(false,ae,this.parseParenItem))}}var Te=this.start,we=this.startLoc;this.expect(Ce.parenR);if(S&&!this.canInsertSemicolon()&&this.eat(Ce.arrow)){this.checkPatternErrors(ae,false);this.checkYieldAwaitInDefaultParams();this.yieldPos=_e;this.awaitPos=ve;return this.parseParenArrowList(E,k,ee)}if(!ee.length||ne){this.unexpected(this.lastTokStart)}if(Ee){this.unexpected(Ee)}this.checkExpressionErrors(ae,true);this.yieldPos=_e||this.yieldPos;this.awaitPos=ve||this.awaitPos;if(ee.length>1){w=this.startNodeAt(j,q);w.expressions=ee;this.finishNodeAt(w,"SequenceExpression",Te,we)}else{w=ee[0]}}else{w=this.parseParenExpression()}if(this.options.preserveParens){var Ne=this.startNodeAt(E,k);Ne.expression=w;return this.finishNode(Ne,"ParenthesizedExpression")}else{return w}};yt.parseParenItem=function(S){return S};yt.parseParenArrowList=function(S,E,k){return this.parseArrowExpression(this.startNodeAt(S,E),k)};var vt=[];yt.parseNew=function(){if(this.containsEsc){this.raiseRecoverable(this.start,"Escape sequence in keyword new")}var S=this.startNode();var E=this.parseIdent(true);if(this.options.ecmaVersion>=6&&this.eat(Ce.dot)){S.meta=E;var k=this.containsEsc;S.property=this.parseIdent(true);if(S.property.name!=="target"){this.raiseRecoverable(S.property.start,"The only valid meta property for new is 'new.target'")}if(k){this.raiseRecoverable(S.start,"'new.target' must not contain escaped characters")}if(!this.inNonArrowFunction){this.raiseRecoverable(S.start,"'new.target' can only be used in functions")}return this.finishNode(S,"MetaProperty")}var w=this.start,N=this.startLoc,j=this.type===Ce._import;S.callee=this.parseSubscripts(this.parseExprAtom(),w,N,true);if(j&&S.callee.type==="ImportExpression"){this.raise(w,"Cannot use new with import()")}if(this.eat(Ce.parenL)){S.arguments=this.parseExprList(Ce.parenR,this.options.ecmaVersion>=8,false)}else{S.arguments=vt}return this.finishNode(S,"NewExpression")};yt.parseTemplateElement=function(S){var E=S.isTagged;var k=this.startNode();if(this.type===Ce.invalidTemplate){if(!E){this.raiseRecoverable(this.start,"Bad escape sequence in untagged template literal")}k.value={raw:this.value,cooked:null}}else{k.value={raw:this.input.slice(this.start,this.end).replace(/\r\n?/g,"\n"),cooked:this.value}}this.next();k.tail=this.type===Ce.backQuote;return this.finishNode(k,"TemplateElement")};yt.parseTemplate=function(S){if(S===void 0)S={};var E=S.isTagged;if(E===void 0)E=false;var k=this.startNode();this.next();k.expressions=[];var w=this.parseTemplateElement({isTagged:E});k.quasis=[w];while(!w.tail){if(this.type===Ce.eof){this.raise(this.pos,"Unterminated template literal")}this.expect(Ce.dollarBraceL);k.expressions.push(this.parseExpression());this.expect(Ce.braceR);k.quasis.push(w=this.parseTemplateElement({isTagged:E}))}this.next();return this.finishNode(k,"TemplateLiteral")};yt.isAsyncProp=function(S){return!S.computed&&S.key.type==="Identifier"&&S.key.name==="async"&&(this.type===Ce.name||this.type===Ce.num||this.type===Ce.string||this.type===Ce.bracketL||this.type.keyword||this.options.ecmaVersion>=9&&this.type===Ce.star)&&!we.test(this.input.slice(this.lastTokEnd,this.start))};yt.parseObj=function(S,E){var k=this.startNode(),w=true,N={};k.properties=[];this.next();while(!this.eat(Ce.braceR)){if(!w){this.expect(Ce.comma);if(this.options.ecmaVersion>=5&&this.afterTrailingComma(Ce.braceR)){break}}else{w=false}var j=this.parseProperty(S,E);if(!S){this.checkPropClash(j,N,E)}k.properties.push(j)}return this.finishNode(k,S?"ObjectPattern":"ObjectExpression")};yt.parseProperty=function(S,E){var k=this.startNode(),w,N,j,q;if(this.options.ecmaVersion>=9&&this.eat(Ce.ellipsis)){if(S){k.argument=this.parseIdent(false);if(this.type===Ce.comma){this.raise(this.start,"Comma is not permitted after the rest element")}return this.finishNode(k,"RestElement")}if(this.type===Ce.parenL&&E){if(E.parenthesizedAssign<0){E.parenthesizedAssign=this.start}if(E.parenthesizedBind<0){E.parenthesizedBind=this.start}}k.argument=this.parseMaybeAssign(false,E);if(this.type===Ce.comma&&E&&E.trailingComma<0){E.trailingComma=this.start}return this.finishNode(k,"SpreadElement")}if(this.options.ecmaVersion>=6){k.method=false;k.shorthand=false;if(S||E){j=this.start;q=this.startLoc}if(!S){w=this.eat(Ce.star)}}var ee=this.containsEsc;this.parsePropertyName(k);if(!S&&!ee&&this.options.ecmaVersion>=8&&!w&&this.isAsyncProp(k)){N=true;w=this.options.ecmaVersion>=9&&this.eat(Ce.star);this.parsePropertyName(k,E)}else{N=false}this.parsePropertyValue(k,S,w,N,j,q,E,ee);return this.finishNode(k,"Property")};yt.parsePropertyValue=function(S,E,k,w,N,j,q,ee){if((k||w)&&this.type===Ce.colon){this.unexpected()}if(this.eat(Ce.colon)){S.value=E?this.parseMaybeDefault(this.start,this.startLoc):this.parseMaybeAssign(false,q);S.kind="init"}else if(this.options.ecmaVersion>=6&&this.type===Ce.parenL){if(E){this.unexpected()}S.kind="init";S.method=true;S.value=this.parseMethod(k,w)}else if(!E&&!ee&&this.options.ecmaVersion>=5&&!S.computed&&S.key.type==="Identifier"&&(S.key.name==="get"||S.key.name==="set")&&(this.type!==Ce.comma&&this.type!==Ce.braceR&&this.type!==Ce.eq)){if(k||w){this.unexpected()}S.kind=S.key.name;this.parsePropertyName(S);S.value=this.parseMethod(false);var te=S.kind==="get"?0:1;if(S.value.params.length!==te){var ne=S.value.start;if(S.kind==="get"){this.raiseRecoverable(ne,"getter should have no params")}else{this.raiseRecoverable(ne,"setter should have exactly one param")}}else{if(S.kind==="set"&&S.value.params[0].type==="RestElement"){this.raiseRecoverable(S.value.params[0].start,"Setter cannot use rest params")}}}else if(this.options.ecmaVersion>=6&&!S.computed&&S.key.type==="Identifier"){if(k||w){this.unexpected()}this.checkUnreserved(S.key);if(S.key.name==="await"&&!this.awaitIdentPos){this.awaitIdentPos=N}S.kind="init";if(E){S.value=this.parseMaybeDefault(N,j,this.copyNode(S.key))}else if(this.type===Ce.eq&&q){if(q.shorthandAssign<0){q.shorthandAssign=this.start}S.value=this.parseMaybeDefault(N,j,this.copyNode(S.key))}else{S.value=this.copyNode(S.key)}S.shorthand=true}else{this.unexpected()}};yt.parsePropertyName=function(S){if(this.options.ecmaVersion>=6){if(this.eat(Ce.bracketL)){S.computed=true;S.key=this.parseMaybeAssign();this.expect(Ce.bracketR);return S.key}else{S.computed=false}}return S.key=this.type===Ce.num||this.type===Ce.string?this.parseExprAtom():this.parseIdent(this.options.allowReserved!=="never")};yt.initFunction=function(S){S.id=null;if(this.options.ecmaVersion>=6){S.generator=S.expression=false}if(this.options.ecmaVersion>=8){S.async=false}};yt.parseMethod=function(S,E,k){var w=this.startNode(),N=this.yieldPos,j=this.awaitPos,q=this.awaitIdentPos;this.initFunction(w);if(this.options.ecmaVersion>=6){w.generator=S}if(this.options.ecmaVersion>=8){w.async=!!E}this.yieldPos=0;this.awaitPos=0;this.awaitIdentPos=0;this.enterScope(functionFlags(E,w.generator)|Ke|(k?Qe:0));this.expect(Ce.parenL);w.params=this.parseBindingList(Ce.parenR,false,this.options.ecmaVersion>=8);this.checkYieldAwaitInDefaultParams();this.parseFunctionBody(w,false,true);this.yieldPos=N;this.awaitPos=j;this.awaitIdentPos=q;return this.finishNode(w,"FunctionExpression")};yt.parseArrowExpression=function(S,E,k){var w=this.yieldPos,N=this.awaitPos,j=this.awaitIdentPos;this.enterScope(functionFlags(k,false)|Ge);this.initFunction(S);if(this.options.ecmaVersion>=8){S.async=!!k}this.yieldPos=0;this.awaitPos=0;this.awaitIdentPos=0;S.params=this.toAssignableList(E,true);this.parseFunctionBody(S,true,false);this.yieldPos=w;this.awaitPos=N;this.awaitIdentPos=j;return this.finishNode(S,"ArrowFunctionExpression")};yt.parseFunctionBody=function(S,E,k){var w=E&&this.type!==Ce.braceL;var N=this.strict,j=false;if(w){S.body=this.parseMaybeAssign();S.expression=true;this.checkParams(S,false)}else{var q=this.options.ecmaVersion>=7&&!this.isSimpleParamList(S.params);if(!N||q){j=this.strictDirective(this.end);if(j&&q){this.raiseRecoverable(S.start,"Illegal 'use strict' directive in function with non-simple parameter list")}}var ee=this.labels;this.labels=[];if(j){this.strict=true}this.checkParams(S,!N&&!j&&!E&&!k&&this.isSimpleParamList(S.params));if(this.strict&&S.id){this.checkLValSimple(S.id,rt)}S.body=this.parseBlock(false,undefined,j&&!N);S.expression=false;this.adaptDirectivePrologue(S.body.body);this.labels=ee}this.exitScope()};yt.isSimpleParamList=function(S){for(var E=0,k=S;E-1||N.functions.indexOf(S)>-1||N.var.indexOf(S)>-1;N.lexical.push(S);if(this.inModule&&N.flags&We){delete this.undefinedExports[S]}}else if(E===tt){var j=this.currentScope();j.lexical.push(S)}else if(E===et){var q=this.currentScope();if(this.treatFunctionsAsVar){w=q.lexical.indexOf(S)>-1}else{w=q.lexical.indexOf(S)>-1||q.var.indexOf(S)>-1}q.functions.push(S)}else{for(var ee=this.scopeStack.length-1;ee>=0;--ee){var te=this.scopeStack[ee];if(te.lexical.indexOf(S)>-1&&!(te.flags&Je&&te.lexical[0]===S)||!this.treatFunctionsAsVarInScope(te)&&te.functions.indexOf(S)>-1){w=true;break}te.var.push(S);if(this.inModule&&te.flags&We){delete this.undefinedExports[S]}if(te.flags&qe){break}}}if(w){this.raiseRecoverable(k,"Identifier '"+S+"' has already been declared")}};xt.checkLocalExport=function(S){if(this.scopeStack[0].lexical.indexOf(S.name)===-1&&this.scopeStack[0].var.indexOf(S.name)===-1){this.undefinedExports[S.name]=S}};xt.currentScope=function(){return this.scopeStack[this.scopeStack.length-1]};xt.currentVarScope=function(){for(var S=this.scopeStack.length-1;;S--){var E=this.scopeStack[S];if(E.flags&qe){return E}}};xt.currentThisScope=function(){for(var S=this.scopeStack.length-1;;S--){var E=this.scopeStack[S];if(E.flags&qe&&!(E.flags&Ge)){return E}}};var Et=function Node(S,E,k){this.type="";this.start=E;this.end=0;if(S.options.locations){this.loc=new je(S,k)}if(S.options.directSourceFile){this.sourceFile=S.options.directSourceFile}if(S.options.ranges){this.range=[E,0]}};var Tt=nt.prototype;Tt.startNode=function(){return new Et(this,this.start,this.startLoc)};Tt.startNodeAt=function(S,E){return new Et(this,S,E)};function finishNodeAt(S,E,k,w){S.type=E;S.end=k;if(this.options.locations){S.loc.end=w}if(this.options.ranges){S.range[1]=k}return S}Tt.finishNode=function(S,E){return finishNodeAt.call(this,S,E,this.lastTokEnd,this.lastTokEndLoc)};Tt.finishNodeAt=function(S,E,k,w){return finishNodeAt.call(this,S,E,k,w)};Tt.copyNode=function(S){var E=new Et(this,S.start,this.startLoc);for(var k in S){E[k]=S[k]}return E};var kt=function TokContext(S,E,k,w,N){this.token=S;this.isExpr=!!E;this.preserveSpace=!!k;this.override=w;this.generator=!!N};var Ct={b_stat:new kt("{",false),b_expr:new kt("{",true),b_tmpl:new kt("${",false),p_stat:new kt("(",false),p_expr:new kt("(",true),q_tmpl:new kt("`",true,true,(function(S){return S.tryReadTemplateToken()})),f_stat:new kt("function",false),f_expr:new kt("function",true),f_expr_gen:new kt("function",true,false,null,true),f_gen:new kt("function",false,false,null,true)};var Dt=nt.prototype;Dt.initialContext=function(){return[Ct.b_stat]};Dt.braceIsBlock=function(S){var E=this.curContext();if(E===Ct.f_expr||E===Ct.f_stat){return true}if(S===Ce.colon&&(E===Ct.b_stat||E===Ct.b_expr)){return!E.isExpr}if(S===Ce._return||S===Ce.name&&this.exprAllowed){return we.test(this.input.slice(this.lastTokEnd,this.start))}if(S===Ce._else||S===Ce.semi||S===Ce.eof||S===Ce.parenR||S===Ce.arrow){return true}if(S===Ce.braceL){return E===Ct.b_stat}if(S===Ce._var||S===Ce._const||S===Ce.name){return false}return!this.exprAllowed};Dt.inGeneratorContext=function(){for(var S=this.context.length-1;S>=1;S--){var E=this.context[S];if(E.token==="function"){return E.generator}}return false};Dt.updateContext=function(S){var E,k=this.type;if(k.keyword&&S===Ce.dot){this.exprAllowed=false}else if(E=k.updateContext){E.call(this,S)}else{this.exprAllowed=k.beforeExpr}};Ce.parenR.updateContext=Ce.braceR.updateContext=function(){if(this.context.length===1){this.exprAllowed=true;return}var S=this.context.pop();if(S===Ct.b_stat&&this.curContext().token==="function"){S=this.context.pop()}this.exprAllowed=!S.isExpr};Ce.braceL.updateContext=function(S){this.context.push(this.braceIsBlock(S)?Ct.b_stat:Ct.b_expr);this.exprAllowed=true};Ce.dollarBraceL.updateContext=function(){this.context.push(Ct.b_tmpl);this.exprAllowed=true};Ce.parenL.updateContext=function(S){var E=S===Ce._if||S===Ce._for||S===Ce._with||S===Ce._while;this.context.push(E?Ct.p_stat:Ct.p_expr);this.exprAllowed=true};Ce.incDec.updateContext=function(){};Ce._function.updateContext=Ce._class.updateContext=function(S){if(S.beforeExpr&&S!==Ce._else&&!(S===Ce.semi&&this.curContext()!==Ct.p_stat)&&!(S===Ce._return&&we.test(this.input.slice(this.lastTokEnd,this.start)))&&!((S===Ce.colon||S===Ce.braceL)&&this.curContext()===Ct.b_stat)){this.context.push(Ct.f_expr)}else{this.context.push(Ct.f_stat)}this.exprAllowed=false};Ce.backQuote.updateContext=function(){if(this.curContext()===Ct.q_tmpl){this.context.pop()}else{this.context.push(Ct.q_tmpl)}this.exprAllowed=false};Ce.star.updateContext=function(S){if(S===Ce._function){var E=this.context.length-1;if(this.context[E]===Ct.f_expr){this.context[E]=Ct.f_expr_gen}else{this.context[E]=Ct.f_gen}}this.exprAllowed=true};Ce.name.updateContext=function(S){var E=false;if(this.options.ecmaVersion>=6&&S!==Ce.dot){if(this.value==="of"&&!this.exprAllowed||this.value==="yield"&&this.inGeneratorContext()){E=true}}this.exprAllowed=E};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";var wt=At+" Extended_Pictographic";var Pt=wt;var Nt=Pt+" EBase EComp EMod EPres ExtPict";var It={9:At,10:wt,11:Pt,12:Nt};var Ft="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";var Ot="Adlam Adlm Ahom 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 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";var Mt=Ot+" Dogra Dogr Gunjala_Gondi Gong Hanifi_Rohingya Rohg Makasar Maka Medefaidrin Medf Old_Sogdian Sogo Sogdian Sogd";var Rt=Mt+" Elymaic Elym Nandinagari Nand Nyiakeng_Puachue_Hmong Hmnp Wancho Wcho";var Lt=Rt+" Chorasmian Chrs Diak Dives_Akuru Khitan_Small_Script Kits Yezi Yezidi";var Bt={9:Ot,10:Mt,11:Rt,12:Lt};var jt={};function buildUnicodeData(S){var E=jt[S]={binary:wordsRegexp(It[S]+" "+Ft),nonBinary:{General_Category:wordsRegexp(Ft),Script:wordsRegexp(Bt[S])}};E.nonBinary.Script_Extensions=E.nonBinary.Script;E.nonBinary.gc=E.nonBinary.General_Category;E.nonBinary.sc=E.nonBinary.Script;E.nonBinary.scx=E.nonBinary.Script_Extensions}buildUnicodeData(9);buildUnicodeData(10);buildUnicodeData(11);buildUnicodeData(12);var zt=nt.prototype;var Ut=function RegExpValidationState(S){this.parser=S;this.validFlags="gim"+(S.options.ecmaVersion>=6?"uy":"")+(S.options.ecmaVersion>=9?"s":"")+(S.options.ecmaVersion>=13?"d":"");this.unicodeProperties=jt[S.options.ecmaVersion>=12?12:S.options.ecmaVersion];this.source="";this.flags="";this.start=0;this.switchU=false;this.switchN=false;this.pos=0;this.lastIntValue=0;this.lastStringValue="";this.lastAssertionIsQuantifiable=false;this.numCapturingParens=0;this.maxBackReference=0;this.groupNames=[];this.backReferenceNames=[]};Ut.prototype.reset=function reset(S,E,k){var w=k.indexOf("u")!==-1;this.start=S|0;this.source=E+"";this.flags=k;this.switchU=w&&this.parser.options.ecmaVersion>=6;this.switchN=w&&this.parser.options.ecmaVersion>=9};Ut.prototype.raise=function raise(S){this.parser.raiseRecoverable(this.start,"Invalid regular expression: /"+this.source+"/: "+S)};Ut.prototype.at=function at(S,E){if(E===void 0)E=false;var k=this.source;var w=k.length;if(S>=w){return-1}var N=k.charCodeAt(S);if(!(E||this.switchU)||N<=55295||N>=57344||S+1>=w){return N}var j=k.charCodeAt(S+1);return j>=56320&&j<=57343?(N<<10)+j-56613888:N};Ut.prototype.nextIndex=function nextIndex(S,E){if(E===void 0)E=false;var k=this.source;var w=k.length;if(S>=w){return w}var N=k.charCodeAt(S),j;if(!(E||this.switchU)||N<=55295||N>=57344||S+1>=w||(j=k.charCodeAt(S+1))<56320||j>57343){return S+1}return S+2};Ut.prototype.current=function current(S){if(S===void 0)S=false;return this.at(this.pos,S)};Ut.prototype.lookahead=function lookahead(S){if(S===void 0)S=false;return this.at(this.nextIndex(this.pos,S),S)};Ut.prototype.advance=function advance(S){if(S===void 0)S=false;this.pos=this.nextIndex(this.pos,S)};Ut.prototype.eat=function eat(S,E){if(E===void 0)E=false;if(this.current(E)===S){this.advance(E);return true}return false};function codePointToString(S){if(S<=65535){return String.fromCharCode(S)}S-=65536;return String.fromCharCode((S>>10)+55296,(S&1023)+56320)}zt.validateRegExpFlags=function(S){var E=S.validFlags;var k=S.flags;for(var w=0;w-1){this.raise(S.start,"Duplicate regular expression flag")}}};zt.validateRegExpPattern=function(S){this.regexp_pattern(S);if(!S.switchN&&this.options.ecmaVersion>=9&&S.groupNames.length>0){S.switchN=true;this.regexp_pattern(S)}};zt.regexp_pattern=function(S){S.pos=0;S.lastIntValue=0;S.lastStringValue="";S.lastAssertionIsQuantifiable=false;S.numCapturingParens=0;S.maxBackReference=0;S.groupNames.length=0;S.backReferenceNames.length=0;this.regexp_disjunction(S);if(S.pos!==S.source.length){if(S.eat(41)){S.raise("Unmatched ')'")}if(S.eat(93)||S.eat(125)){S.raise("Lone quantifier brackets")}}if(S.maxBackReference>S.numCapturingParens){S.raise("Invalid escape")}for(var E=0,k=S.backReferenceNames;E=9){k=S.eat(60)}if(S.eat(61)||S.eat(33)){this.regexp_disjunction(S);if(!S.eat(41)){S.raise("Unterminated group")}S.lastAssertionIsQuantifiable=!k;return true}}S.pos=E;return false};zt.regexp_eatQuantifier=function(S,E){if(E===void 0)E=false;if(this.regexp_eatQuantifierPrefix(S,E)){S.eat(63);return true}return false};zt.regexp_eatQuantifierPrefix=function(S,E){return S.eat(42)||S.eat(43)||S.eat(63)||this.regexp_eatBracedQuantifier(S,E)};zt.regexp_eatBracedQuantifier=function(S,E){var k=S.pos;if(S.eat(123)){var w=0,N=-1;if(this.regexp_eatDecimalDigits(S)){w=S.lastIntValue;if(S.eat(44)&&this.regexp_eatDecimalDigits(S)){N=S.lastIntValue}if(S.eat(125)){if(N!==-1&&N=9){this.regexp_groupSpecifier(S)}else if(S.current()===63){S.raise("Invalid group")}this.regexp_disjunction(S);if(S.eat(41)){S.numCapturingParens+=1;return true}S.raise("Unterminated group")}return false};zt.regexp_eatExtendedAtom=function(S){return S.eat(46)||this.regexp_eatReverseSolidusAtomEscape(S)||this.regexp_eatCharacterClass(S)||this.regexp_eatUncapturingGroup(S)||this.regexp_eatCapturingGroup(S)||this.regexp_eatInvalidBracedQuantifier(S)||this.regexp_eatExtendedPatternCharacter(S)};zt.regexp_eatInvalidBracedQuantifier=function(S){if(this.regexp_eatBracedQuantifier(S,true)){S.raise("Nothing to repeat")}return false};zt.regexp_eatSyntaxCharacter=function(S){var E=S.current();if(isSyntaxCharacter(E)){S.lastIntValue=E;S.advance();return true}return false};function isSyntaxCharacter(S){return S===36||S>=40&&S<=43||S===46||S===63||S>=91&&S<=94||S>=123&&S<=125}zt.regexp_eatPatternCharacters=function(S){var E=S.pos;var k=0;while((k=S.current())!==-1&&!isSyntaxCharacter(k)){S.advance()}return S.pos!==E};zt.regexp_eatExtendedPatternCharacter=function(S){var E=S.current();if(E!==-1&&E!==36&&!(E>=40&&E<=43)&&E!==46&&E!==63&&E!==91&&E!==94&&E!==124){S.advance();return true}return false};zt.regexp_groupSpecifier=function(S){if(S.eat(63)){if(this.regexp_eatGroupName(S)){if(S.groupNames.indexOf(S.lastStringValue)!==-1){S.raise("Duplicate capture group name")}S.groupNames.push(S.lastStringValue);return}S.raise("Invalid group")}};zt.regexp_eatGroupName=function(S){S.lastStringValue="";if(S.eat(60)){if(this.regexp_eatRegExpIdentifierName(S)&&S.eat(62)){return true}S.raise("Invalid capture group name")}return false};zt.regexp_eatRegExpIdentifierName=function(S){S.lastStringValue="";if(this.regexp_eatRegExpIdentifierStart(S)){S.lastStringValue+=codePointToString(S.lastIntValue);while(this.regexp_eatRegExpIdentifierPart(S)){S.lastStringValue+=codePointToString(S.lastIntValue)}return true}return false};zt.regexp_eatRegExpIdentifierStart=function(S){var E=S.pos;var k=this.options.ecmaVersion>=11;var w=S.current(k);S.advance(k);if(w===92&&this.regexp_eatRegExpUnicodeEscapeSequence(S,k)){w=S.lastIntValue}if(isRegExpIdentifierStart(w)){S.lastIntValue=w;return true}S.pos=E;return false};function isRegExpIdentifierStart(S){return isIdentifierStart(S,true)||S===36||S===95}zt.regexp_eatRegExpIdentifierPart=function(S){var E=S.pos;var k=this.options.ecmaVersion>=11;var w=S.current(k);S.advance(k);if(w===92&&this.regexp_eatRegExpUnicodeEscapeSequence(S,k)){w=S.lastIntValue}if(isRegExpIdentifierPart(w)){S.lastIntValue=w;return true}S.pos=E;return false};function isRegExpIdentifierPart(S){return isIdentifierChar(S,true)||S===36||S===95||S===8204||S===8205}zt.regexp_eatAtomEscape=function(S){if(this.regexp_eatBackReference(S)||this.regexp_eatCharacterClassEscape(S)||this.regexp_eatCharacterEscape(S)||S.switchN&&this.regexp_eatKGroupName(S)){return true}if(S.switchU){if(S.current()===99){S.raise("Invalid unicode escape")}S.raise("Invalid escape")}return false};zt.regexp_eatBackReference=function(S){var E=S.pos;if(this.regexp_eatDecimalEscape(S)){var k=S.lastIntValue;if(S.switchU){if(k>S.maxBackReference){S.maxBackReference=k}return true}if(k<=S.numCapturingParens){return true}S.pos=E}return false};zt.regexp_eatKGroupName=function(S){if(S.eat(107)){if(this.regexp_eatGroupName(S)){S.backReferenceNames.push(S.lastStringValue);return true}S.raise("Invalid named reference")}return false};zt.regexp_eatCharacterEscape=function(S){return this.regexp_eatControlEscape(S)||this.regexp_eatCControlLetter(S)||this.regexp_eatZero(S)||this.regexp_eatHexEscapeSequence(S)||this.regexp_eatRegExpUnicodeEscapeSequence(S,false)||!S.switchU&&this.regexp_eatLegacyOctalEscapeSequence(S)||this.regexp_eatIdentityEscape(S)};zt.regexp_eatCControlLetter=function(S){var E=S.pos;if(S.eat(99)){if(this.regexp_eatControlLetter(S)){return true}S.pos=E}return false};zt.regexp_eatZero=function(S){if(S.current()===48&&!isDecimalDigit(S.lookahead())){S.lastIntValue=0;S.advance();return true}return false};zt.regexp_eatControlEscape=function(S){var E=S.current();if(E===116){S.lastIntValue=9;S.advance();return true}if(E===110){S.lastIntValue=10;S.advance();return true}if(E===118){S.lastIntValue=11;S.advance();return true}if(E===102){S.lastIntValue=12;S.advance();return true}if(E===114){S.lastIntValue=13;S.advance();return true}return false};zt.regexp_eatControlLetter=function(S){var E=S.current();if(isControlLetter(E)){S.lastIntValue=E%32;S.advance();return true}return false};function isControlLetter(S){return S>=65&&S<=90||S>=97&&S<=122}zt.regexp_eatRegExpUnicodeEscapeSequence=function(S,E){if(E===void 0)E=false;var k=S.pos;var w=E||S.switchU;if(S.eat(117)){if(this.regexp_eatFixedHexDigits(S,4)){var N=S.lastIntValue;if(w&&N>=55296&&N<=56319){var j=S.pos;if(S.eat(92)&&S.eat(117)&&this.regexp_eatFixedHexDigits(S,4)){var q=S.lastIntValue;if(q>=56320&&q<=57343){S.lastIntValue=(N-55296)*1024+(q-56320)+65536;return true}}S.pos=j;S.lastIntValue=N}return true}if(w&&S.eat(123)&&this.regexp_eatHexDigits(S)&&S.eat(125)&&isValidUnicode(S.lastIntValue)){return true}if(w){S.raise("Invalid unicode escape")}S.pos=k}return false};function isValidUnicode(S){return S>=0&&S<=1114111}zt.regexp_eatIdentityEscape=function(S){if(S.switchU){if(this.regexp_eatSyntaxCharacter(S)){return true}if(S.eat(47)){S.lastIntValue=47;return true}return false}var E=S.current();if(E!==99&&(!S.switchN||E!==107)){S.lastIntValue=E;S.advance();return true}return false};zt.regexp_eatDecimalEscape=function(S){S.lastIntValue=0;var E=S.current();if(E>=49&&E<=57){do{S.lastIntValue=10*S.lastIntValue+(E-48);S.advance()}while((E=S.current())>=48&&E<=57);return true}return false};zt.regexp_eatCharacterClassEscape=function(S){var E=S.current();if(isCharacterClassEscape(E)){S.lastIntValue=-1;S.advance();return true}if(S.switchU&&this.options.ecmaVersion>=9&&(E===80||E===112)){S.lastIntValue=-1;S.advance();if(S.eat(123)&&this.regexp_eatUnicodePropertyValueExpression(S)&&S.eat(125)){return true}S.raise("Invalid property name")}return false};function isCharacterClassEscape(S){return S===100||S===68||S===115||S===83||S===119||S===87}zt.regexp_eatUnicodePropertyValueExpression=function(S){var E=S.pos;if(this.regexp_eatUnicodePropertyName(S)&&S.eat(61)){var k=S.lastStringValue;if(this.regexp_eatUnicodePropertyValue(S)){var w=S.lastStringValue;this.regexp_validateUnicodePropertyNameAndValue(S,k,w);return true}}S.pos=E;if(this.regexp_eatLoneUnicodePropertyNameOrValue(S)){var N=S.lastStringValue;this.regexp_validateUnicodePropertyNameOrValue(S,N);return true}return false};zt.regexp_validateUnicodePropertyNameAndValue=function(S,E,k){if(!has(S.unicodeProperties.nonBinary,E)){S.raise("Invalid property name")}if(!S.unicodeProperties.nonBinary[E].test(k)){S.raise("Invalid property value")}};zt.regexp_validateUnicodePropertyNameOrValue=function(S,E){if(!S.unicodeProperties.binary.test(E)){S.raise("Invalid property name")}};zt.regexp_eatUnicodePropertyName=function(S){var E=0;S.lastStringValue="";while(isUnicodePropertyNameCharacter(E=S.current())){S.lastStringValue+=codePointToString(E);S.advance()}return S.lastStringValue!==""};function isUnicodePropertyNameCharacter(S){return isControlLetter(S)||S===95}zt.regexp_eatUnicodePropertyValue=function(S){var E=0;S.lastStringValue="";while(isUnicodePropertyValueCharacter(E=S.current())){S.lastStringValue+=codePointToString(E);S.advance()}return S.lastStringValue!==""};function isUnicodePropertyValueCharacter(S){return isUnicodePropertyNameCharacter(S)||isDecimalDigit(S)}zt.regexp_eatLoneUnicodePropertyNameOrValue=function(S){return this.regexp_eatUnicodePropertyValue(S)};zt.regexp_eatCharacterClass=function(S){if(S.eat(91)){S.eat(94);this.regexp_classRanges(S);if(S.eat(93)){return true}S.raise("Unterminated character class")}return false};zt.regexp_classRanges=function(S){while(this.regexp_eatClassAtom(S)){var E=S.lastIntValue;if(S.eat(45)&&this.regexp_eatClassAtom(S)){var k=S.lastIntValue;if(S.switchU&&(E===-1||k===-1)){S.raise("Invalid character class")}if(E!==-1&&k!==-1&&E>k){S.raise("Range out of order in character class")}}}};zt.regexp_eatClassAtom=function(S){var E=S.pos;if(S.eat(92)){if(this.regexp_eatClassEscape(S)){return true}if(S.switchU){var k=S.current();if(k===99||isOctalDigit(k)){S.raise("Invalid class escape")}S.raise("Invalid escape")}S.pos=E}var w=S.current();if(w!==93){S.lastIntValue=w;S.advance();return true}return false};zt.regexp_eatClassEscape=function(S){var E=S.pos;if(S.eat(98)){S.lastIntValue=8;return true}if(S.switchU&&S.eat(45)){S.lastIntValue=45;return true}if(!S.switchU&&S.eat(99)){if(this.regexp_eatClassControlLetter(S)){return true}S.pos=E}return this.regexp_eatCharacterClassEscape(S)||this.regexp_eatCharacterEscape(S)};zt.regexp_eatClassControlLetter=function(S){var E=S.current();if(isDecimalDigit(E)||E===95){S.lastIntValue=E%32;S.advance();return true}return false};zt.regexp_eatHexEscapeSequence=function(S){var E=S.pos;if(S.eat(120)){if(this.regexp_eatFixedHexDigits(S,2)){return true}if(S.switchU){S.raise("Invalid escape")}S.pos=E}return false};zt.regexp_eatDecimalDigits=function(S){var E=S.pos;var k=0;S.lastIntValue=0;while(isDecimalDigit(k=S.current())){S.lastIntValue=10*S.lastIntValue+(k-48);S.advance()}return S.pos!==E};function isDecimalDigit(S){return S>=48&&S<=57}zt.regexp_eatHexDigits=function(S){var E=S.pos;var k=0;S.lastIntValue=0;while(isHexDigit(k=S.current())){S.lastIntValue=16*S.lastIntValue+hexToInt(k);S.advance()}return S.pos!==E};function isHexDigit(S){return S>=48&&S<=57||S>=65&&S<=70||S>=97&&S<=102}function hexToInt(S){if(S>=65&&S<=70){return 10+(S-65)}if(S>=97&&S<=102){return 10+(S-97)}return S-48}zt.regexp_eatLegacyOctalEscapeSequence=function(S){if(this.regexp_eatOctalDigit(S)){var E=S.lastIntValue;if(this.regexp_eatOctalDigit(S)){var k=S.lastIntValue;if(E<=3&&this.regexp_eatOctalDigit(S)){S.lastIntValue=E*64+k*8+S.lastIntValue}else{S.lastIntValue=E*8+k}}else{S.lastIntValue=E}return true}return false};zt.regexp_eatOctalDigit=function(S){var E=S.current();if(isOctalDigit(E)){S.lastIntValue=E-48;S.advance();return true}S.lastIntValue=0;return false};function isOctalDigit(S){return S>=48&&S<=55}zt.regexp_eatFixedHexDigits=function(S,E){var k=S.pos;S.lastIntValue=0;for(var w=0;w=this.input.length){return this.finishToken(Ce.eof)}if(S.override){return S.override(this)}else{this.readToken(this.fullCharCodeAtPos())}};$t.readToken=function(S){if(isIdentifierStart(S,this.options.ecmaVersion>=6)||S===92){return this.readWord()}return this.getTokenFromCode(S)};$t.fullCharCodeAtPos=function(){var S=this.input.charCodeAt(this.pos);if(S<=55295||S>=56320){return S}var E=this.input.charCodeAt(this.pos+1);return E<=56319||E>=57344?S:(S<<10)+E-56613888};$t.skipBlockComment=function(){var S=this.options.onComment&&this.curPosition();var E=this.pos,k=this.input.indexOf("*/",this.pos+=2);if(k===-1){this.raise(this.pos-2,"Unterminated comment")}this.pos=k+2;if(this.options.locations){Ne.lastIndex=E;var w;while((w=Ne.exec(this.input))&&w.index8&&S<14||S>=5760&&Ie.test(String.fromCharCode(S))){++this.pos}else{break e}}}};$t.finishToken=function(S,E){this.end=this.pos;if(this.options.locations){this.endLoc=this.curPosition()}var k=this.type;this.type=S;this.value=E;this.updateContext(k)};$t.readToken_dot=function(){var S=this.input.charCodeAt(this.pos+1);if(S>=48&&S<=57){return this.readNumber(true)}var E=this.input.charCodeAt(this.pos+2);if(this.options.ecmaVersion>=6&&S===46&&E===46){this.pos+=3;return this.finishToken(Ce.ellipsis)}else{++this.pos;return this.finishToken(Ce.dot)}};$t.readToken_slash=function(){var S=this.input.charCodeAt(this.pos+1);if(this.exprAllowed){++this.pos;return this.readRegexp()}if(S===61){return this.finishOp(Ce.assign,2)}return this.finishOp(Ce.slash,1)};$t.readToken_mult_modulo_exp=function(S){var E=this.input.charCodeAt(this.pos+1);var k=1;var w=S===42?Ce.star:Ce.modulo;if(this.options.ecmaVersion>=7&&S===42&&E===42){++k;w=Ce.starstar;E=this.input.charCodeAt(this.pos+2)}if(E===61){return this.finishOp(Ce.assign,k+1)}return this.finishOp(w,k)};$t.readToken_pipe_amp=function(S){var E=this.input.charCodeAt(this.pos+1);if(E===S){if(this.options.ecmaVersion>=12){var k=this.input.charCodeAt(this.pos+2);if(k===61){return this.finishOp(Ce.assign,3)}}return this.finishOp(S===124?Ce.logicalOR:Ce.logicalAND,2)}if(E===61){return this.finishOp(Ce.assign,2)}return this.finishOp(S===124?Ce.bitwiseOR:Ce.bitwiseAND,1)};$t.readToken_caret=function(){var S=this.input.charCodeAt(this.pos+1);if(S===61){return this.finishOp(Ce.assign,2)}return this.finishOp(Ce.bitwiseXOR,1)};$t.readToken_plus_min=function(S){var E=this.input.charCodeAt(this.pos+1);if(E===S){if(E===45&&!this.inModule&&this.input.charCodeAt(this.pos+2)===62&&(this.lastTokEnd===0||we.test(this.input.slice(this.lastTokEnd,this.pos)))){this.skipLineComment(3);this.skipSpace();return this.nextToken()}return this.finishOp(Ce.incDec,2)}if(E===61){return this.finishOp(Ce.assign,2)}return this.finishOp(Ce.plusMin,1)};$t.readToken_lt_gt=function(S){var E=this.input.charCodeAt(this.pos+1);var k=1;if(E===S){k=S===62&&this.input.charCodeAt(this.pos+2)===62?3:2;if(this.input.charCodeAt(this.pos+k)===61){return this.finishOp(Ce.assign,k+1)}return this.finishOp(Ce.bitShift,k)}if(E===33&&S===60&&!this.inModule&&this.input.charCodeAt(this.pos+2)===45&&this.input.charCodeAt(this.pos+3)===45){this.skipLineComment(4);this.skipSpace();return this.nextToken()}if(E===61){k=2}return this.finishOp(Ce.relational,k)};$t.readToken_eq_excl=function(S){var E=this.input.charCodeAt(this.pos+1);if(E===61){return this.finishOp(Ce.equality,this.input.charCodeAt(this.pos+2)===61?3:2)}if(S===61&&E===62&&this.options.ecmaVersion>=6){this.pos+=2;return this.finishToken(Ce.arrow)}return this.finishOp(S===61?Ce.eq:Ce.prefix,1)};$t.readToken_question=function(){var S=this.options.ecmaVersion;if(S>=11){var E=this.input.charCodeAt(this.pos+1);if(E===46){var k=this.input.charCodeAt(this.pos+2);if(k<48||k>57){return this.finishOp(Ce.questionDot,2)}}if(E===63){if(S>=12){var w=this.input.charCodeAt(this.pos+2);if(w===61){return this.finishOp(Ce.assign,3)}}return this.finishOp(Ce.coalesce,2)}}return this.finishOp(Ce.question,1)};$t.readToken_numberSign=function(){var S=this.options.ecmaVersion;var E=35;if(S>=13){++this.pos;E=this.fullCharCodeAtPos();if(isIdentifierStart(E,true)||E===92){return this.finishToken(Ce.privateId,this.readWord1())}}this.raise(this.pos,"Unexpected character '"+codePointToString$1(E)+"'")};$t.getTokenFromCode=function(S){switch(S){case 46:return this.readToken_dot();case 40:++this.pos;return this.finishToken(Ce.parenL);case 41:++this.pos;return this.finishToken(Ce.parenR);case 59:++this.pos;return this.finishToken(Ce.semi);case 44:++this.pos;return this.finishToken(Ce.comma);case 91:++this.pos;return this.finishToken(Ce.bracketL);case 93:++this.pos;return this.finishToken(Ce.bracketR);case 123:++this.pos;return this.finishToken(Ce.braceL);case 125:++this.pos;return this.finishToken(Ce.braceR);case 58:++this.pos;return this.finishToken(Ce.colon);case 96:if(this.options.ecmaVersion<6){break}++this.pos;return this.finishToken(Ce.backQuote);case 48:var E=this.input.charCodeAt(this.pos+1);if(E===120||E===88){return this.readRadixNumber(16)}if(this.options.ecmaVersion>=6){if(E===111||E===79){return this.readRadixNumber(8)}if(E===98||E===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(false);case 34:case 39:return this.readString(S);case 47:return this.readToken_slash();case 37:case 42:return this.readToken_mult_modulo_exp(S);case 124:case 38:return this.readToken_pipe_amp(S);case 94:return this.readToken_caret();case 43:case 45:return this.readToken_plus_min(S);case 60:case 62:return this.readToken_lt_gt(S);case 61:case 33:return this.readToken_eq_excl(S);case 63:return this.readToken_question();case 126:return this.finishOp(Ce.prefix,1);case 35:return this.readToken_numberSign()}this.raise(this.pos,"Unexpected character '"+codePointToString$1(S)+"'")};$t.finishOp=function(S,E){var k=this.input.slice(this.pos,this.pos+E);this.pos+=E;return this.finishToken(S,k)};$t.readRegexp=function(){var S,E,k=this.pos;for(;;){if(this.pos>=this.input.length){this.raise(k,"Unterminated regular expression")}var w=this.input.charAt(this.pos);if(we.test(w)){this.raise(k,"Unterminated regular expression")}if(!S){if(w==="["){E=true}else if(w==="]"&&E){E=false}else if(w==="/"&&!E){break}S=w==="\\"}else{S=false}++this.pos}var N=this.input.slice(k,this.pos);++this.pos;var j=this.pos;var q=this.readWord1();if(this.containsEsc){this.unexpected(j)}var ee=this.regexpState||(this.regexpState=new Ut(this));ee.reset(k,N,q);this.validateRegExpFlags(ee);this.validateRegExpPattern(ee);var te=null;try{te=new RegExp(N,q)}catch(S){}return this.finishToken(Ce.regexp,{pattern:N,flags:q,value:te})};$t.readInt=function(S,E,k){var w=this.options.ecmaVersion>=12&&E===undefined;var N=k&&this.input.charCodeAt(this.pos)===48;var j=this.pos,q=0,ee=0;for(var te=0,ne=E==null?Infinity:E;te=97){_e=ae-97+10}else if(ae>=65){_e=ae-65+10}else if(ae>=48&&ae<=57){_e=ae-48}else{_e=Infinity}if(_e>=S){break}ee=ae;q=q*S+_e}if(w&&ee===95){this.raiseRecoverable(this.pos-1,"Numeric separator is not allowed at the last of digits")}if(this.pos===j||E!=null&&this.pos-j!==E){return null}return q};function stringToNumber(S,E){if(E){return parseInt(S,8)}return parseFloat(S.replace(/_/g,""))}function stringToBigInt(S){if(typeof BigInt!=="function"){return null}return BigInt(S.replace(/_/g,""))}$t.readRadixNumber=function(S){var E=this.pos;this.pos+=2;var k=this.readInt(S);if(k==null){this.raise(this.start+2,"Expected number in radix "+S)}if(this.options.ecmaVersion>=11&&this.input.charCodeAt(this.pos)===110){k=stringToBigInt(this.input.slice(E,this.pos));++this.pos}else if(isIdentifierStart(this.fullCharCodeAtPos())){this.raise(this.pos,"Identifier directly after number")}return this.finishToken(Ce.num,k)};$t.readNumber=function(S){var E=this.pos;if(!S&&this.readInt(10,undefined,true)===null){this.raise(E,"Invalid number")}var k=this.pos-E>=2&&this.input.charCodeAt(E)===48;if(k&&this.strict){this.raise(E,"Invalid number")}var w=this.input.charCodeAt(this.pos);if(!k&&!S&&this.options.ecmaVersion>=11&&w===110){var N=stringToBigInt(this.input.slice(E,this.pos));++this.pos;if(isIdentifierStart(this.fullCharCodeAtPos())){this.raise(this.pos,"Identifier directly after number")}return this.finishToken(Ce.num,N)}if(k&&/[89]/.test(this.input.slice(E,this.pos))){k=false}if(w===46&&!k){++this.pos;this.readInt(10);w=this.input.charCodeAt(this.pos)}if((w===69||w===101)&&!k){w=this.input.charCodeAt(++this.pos);if(w===43||w===45){++this.pos}if(this.readInt(10)===null){this.raise(E,"Invalid number")}}if(isIdentifierStart(this.fullCharCodeAtPos())){this.raise(this.pos,"Identifier directly after number")}var j=stringToNumber(this.input.slice(E,this.pos),k);return this.finishToken(Ce.num,j)};$t.readCodePoint=function(){var S=this.input.charCodeAt(this.pos),E;if(S===123){if(this.options.ecmaVersion<6){this.unexpected()}var k=++this.pos;E=this.readHexChar(this.input.indexOf("}",this.pos)-this.pos);++this.pos;if(E>1114111){this.invalidStringToken(k,"Code point out of bounds")}}else{E=this.readHexChar(4)}return E};function codePointToString$1(S){if(S<=65535){return String.fromCharCode(S)}S-=65536;return String.fromCharCode((S>>10)+55296,(S&1023)+56320)}$t.readString=function(S){var E="",k=++this.pos;for(;;){if(this.pos>=this.input.length){this.raise(this.start,"Unterminated string constant")}var w=this.input.charCodeAt(this.pos);if(w===S){break}if(w===92){E+=this.input.slice(k,this.pos);E+=this.readEscapedChar(false);k=this.pos}else{if(isNewLine(w,this.options.ecmaVersion>=10)){this.raise(this.start,"Unterminated string constant")}++this.pos}}E+=this.input.slice(k,this.pos++);return this.finishToken(Ce.string,E)};var qt={};$t.tryReadTemplateToken=function(){this.inTemplateElement=true;try{this.readTmplToken()}catch(S){if(S===qt){this.readInvalidTemplateToken()}else{throw S}}this.inTemplateElement=false};$t.invalidStringToken=function(S,E){if(this.inTemplateElement&&this.options.ecmaVersion>=9){throw qt}else{this.raise(S,E)}};$t.readTmplToken=function(){var S="",E=this.pos;for(;;){if(this.pos>=this.input.length){this.raise(this.start,"Unterminated template")}var k=this.input.charCodeAt(this.pos);if(k===96||k===36&&this.input.charCodeAt(this.pos+1)===123){if(this.pos===this.start&&(this.type===Ce.template||this.type===Ce.invalidTemplate)){if(k===36){this.pos+=2;return this.finishToken(Ce.dollarBraceL)}else{++this.pos;return this.finishToken(Ce.backQuote)}}S+=this.input.slice(E,this.pos);return this.finishToken(Ce.template,S)}if(k===92){S+=this.input.slice(E,this.pos);S+=this.readEscapedChar(true);E=this.pos}else if(isNewLine(k)){S+=this.input.slice(E,this.pos);++this.pos;switch(k){case 13:if(this.input.charCodeAt(this.pos)===10){++this.pos}case 10:S+="\n";break;default:S+=String.fromCharCode(k);break}if(this.options.locations){++this.curLine;this.lineStart=this.pos}E=this.pos}else{++this.pos}}};$t.readInvalidTemplateToken=function(){for(;this.pos=48&&E<=55){var w=this.input.substr(this.pos-1,3).match(/^[0-7]+/)[0];var N=parseInt(w,8);if(N>255){w=w.slice(0,-1);N=parseInt(w,8)}this.pos+=w.length-1;E=this.input.charCodeAt(this.pos);if((w!=="0"||E===56||E===57)&&(this.strict||S)){this.invalidStringToken(this.pos-1-w.length,S?"Octal literal in template string":"Octal literal in strict mode")}return String.fromCharCode(N)}if(isNewLine(E)){return""}return String.fromCharCode(E)}};$t.readHexChar=function(S){var E=this.pos;var k=this.readInt(16,S);if(k===null){this.invalidStringToken(E,"Bad character escape sequence")}return k};$t.readWord1=function(){this.containsEsc=false;var S="",E=true,k=this.pos;var w=this.options.ecmaVersion>=6;while(this.pos{"use strict";const w=k(73154);const N=k(43040);S.exports=class AliasFieldPlugin{constructor(S,E,k){this.source=S;this.field=E;this.target=k}apply(S){const E=S.ensureHook(this.target);S.getHook(this.source).tapAsync("AliasFieldPlugin",((k,j,q)=>{if(!k.descriptionFileData)return q();const ee=N(S,k);if(!ee)return q();const te=w.getField(k.descriptionFileData,this.field);if(te===null||typeof te!=="object"){if(j.log)j.log("Field '"+this.field+"' doesn't contain a valid alias configuration");return q()}const ne=te[ee];const ae=te[ee.replace(/^\.\//,"")];const _e=typeof ne!=="undefined"?ne:ae;if(_e===ee)return q();if(_e===undefined)return q();if(_e===false){const S={...k,path:false};return q(null,S)}const ve={...k,path:k.descriptionFileRoot,request:_e,fullySpecified:false};S.doResolve(E,ve,"aliased from description file "+k.descriptionFilePath+" with mapping '"+ee+"' to '"+_e+"'",j,((S,E)=>{if(S)return q(S);if(E===undefined)return q(null,null);q(null,E)}))}))}}},1037:(S,E,k)=>{"use strict";const w=k(86373);S.exports=class AliasPlugin{constructor(S,E,k){this.source=S;this.options=Array.isArray(E)?E:[E];this.target=k}apply(S){const E=S.ensureHook(this.target);S.getHook(this.source).tapAsync("AliasPlugin",((k,N,j)=>{const q=k.request||k.path;if(!q)return j();w(this.options,((j,ee)=>{let te=false;if(q===j.name||!j.onlyModule&&q.startsWith(j.name+"/")){const ne=q.substr(j.name.length);const resolveWithAlias=(w,ee)=>{if(w===false){const S={...k,path:false};return ee(null,S)}if(q!==w&&!q.startsWith(w+"/")){te=true;const q=w+ne;const ae={...k,request:q,fullySpecified:false};return S.doResolve(E,ae,"aliased with mapping '"+j.name+"': '"+w+"' to '"+q+"'",N,((S,E)=>{if(S)return ee(S);if(E)return ee(null,E);return ee()}))}return ee()};const stoppingCallback=(S,E)=>{if(S)return ee(S);if(E)return ee(null,E);if(te)return ee(null,null);return ee()};if(Array.isArray(j.alias)){return w(j.alias,resolveWithAlias,stoppingCallback)}else{return resolveWithAlias(j.alias,stoppingCallback)}}return ee()}),j)}))}}},44296:S=>{"use strict";S.exports=class AppendPlugin{constructor(S,E,k){this.source=S;this.appending=E;this.target=k}apply(S){const E=S.ensureHook(this.target);S.getHook(this.source).tapAsync("AppendPlugin",((k,w,N)=>{const j={...k,path:k.path+this.appending,relativePath:k.relativePath&&k.relativePath+this.appending};S.doResolve(E,j,this.appending,w,N)}))}}},76537:(S,E,k)=>{"use strict";const w=k(61765).nextTick;const dirname=S=>{let E=S.length-1;while(E>=0){const k=S.charCodeAt(E);if(k===47||k===92)break;E--}if(E<0)return"";return S.slice(0,E)};const runCallbacks=(S,E,k)=>{if(S.length===1){S[0](E,k);S.length=0;return}let w;for(const N of S){try{N(E,k)}catch(S){if(!w)w=S}}S.length=0;if(w)throw w};class OperationMergerBackend{constructor(S,E,k){this._provider=S;this._syncProvider=E;this._providerContext=k;this._activeAsyncOperations=new Map;this.provide=this._provider?(E,k,w)=>{if(typeof k==="function"){w=k;k=undefined}if(k){return this._provider.call(this._providerContext,E,k,w)}if(typeof E!=="string"){w(new TypeError("path must be a string"));return}let N=this._activeAsyncOperations.get(E);if(N){N.push(w);return}this._activeAsyncOperations.set(E,N=[w]);S(E,((S,k)=>{this._activeAsyncOperations.delete(E);runCallbacks(N,S,k)}))}:null;this.provideSync=this._syncProvider?(S,E)=>this._syncProvider.call(this._providerContext,S,E):null}purge(){}purgeParent(){}}const N=0;const j=1;const q=2;class CacheBackend{constructor(S,E,k,w){this._duration=S;this._provider=E;this._syncProvider=k;this._providerContext=w;this._activeAsyncOperations=new Map;this._data=new Map;this._levels=[];for(let S=0;S<10;S++)this._levels.push(new Set);for(let E=5e3;E{this._activeAsyncOperations.delete(S);this._storeResult(S,E,k);this._enterAsyncMode();runCallbacks(q,E,k)}))}provideSync(S,E){if(typeof S!=="string"){throw new TypeError("path must be a string")}if(E){return this._syncProvider.call(this._providerContext,S,E)}if(this._mode===j){this._runDecays()}let k=this._data.get(S);if(k!==undefined){if(k.err)throw k.err;return k.result}const w=this._activeAsyncOperations.get(S);this._activeAsyncOperations.delete(S);let N;try{N=this._syncProvider.call(this._providerContext,S)}catch(E){this._storeResult(S,E,undefined);this._enterSyncModeWhenIdle();if(w)runCallbacks(w,E,undefined);throw E}this._storeResult(S,undefined,N);this._enterSyncModeWhenIdle();if(w)runCallbacks(w,undefined,N);return N}purge(S){if(!S){if(this._mode!==N){this._data.clear();for(const S of this._levels){S.clear()}this._enterIdleMode()}}else if(typeof S==="string"){for(let[E,k]of this._data){if(E.startsWith(S)){this._data.delete(E);k.level.delete(E)}}if(this._data.size===0){this._enterIdleMode()}}else{for(let[E,k]of this._data){for(const w of S){if(E.startsWith(w)){this._data.delete(E);k.level.delete(E);break}}}if(this._data.size===0){this._enterIdleMode()}}}purgeParent(S){if(!S){this.purge()}else if(typeof S==="string"){this.purge(dirname(S))}else{const E=new Set;for(const k of S){E.add(dirname(k))}this.purge(E)}}_storeResult(S,E,k){if(this._data.has(S))return;const w=this._levels[this._currentLevel];this._data.set(S,{err:E,result:k,level:w});w.add(S)}_decayLevel(){const S=(this._currentLevel+1)%this._levels.length;const E=this._levels[S];this._currentLevel=S;for(let S of E){this._data.delete(S)}E.clear();if(this._data.size===0){this._enterIdleMode()}else{this._nextDecay+=this._tickInterval}}_runDecays(){while(this._nextDecay<=Date.now()&&this._mode!==N){this._decayLevel()}}_enterAsyncMode(){let S=0;switch(this._mode){case q:return;case N:this._nextDecay=Date.now()+this._tickInterval;S=this._tickInterval;break;case j:this._runDecays();if(this._mode===N)return;S=Math.max(0,this._nextDecay-Date.now());break}this._mode=q;const E=setTimeout((()=>{this._mode=j;this._runDecays()}),S);if(E.unref)E.unref();this._timeout=E}_enterSyncModeWhenIdle(){if(this._mode===N){this._mode=j;this._nextDecay=Date.now()+this._tickInterval}}_enterIdleMode(){this._mode=N;this._nextDecay=undefined;if(this._timeout)clearTimeout(this._timeout)}}const createBackend=(S,E,k,w)=>{if(S>0){return new CacheBackend(S,E,k,w)}return new OperationMergerBackend(E,k,w)};S.exports=class CachedInputFileSystem{constructor(S,E){this.fileSystem=S;this._lstatBackend=createBackend(E,this.fileSystem.lstat,this.fileSystem.lstatSync,this.fileSystem);const k=this._lstatBackend.provide;this.lstat=k;const w=this._lstatBackend.provideSync;this.lstatSync=w;this._statBackend=createBackend(E,this.fileSystem.stat,this.fileSystem.statSync,this.fileSystem);const N=this._statBackend.provide;this.stat=N;const j=this._statBackend.provideSync;this.statSync=j;this._readdirBackend=createBackend(E,this.fileSystem.readdir,this.fileSystem.readdirSync,this.fileSystem);const q=this._readdirBackend.provide;this.readdir=q;const ee=this._readdirBackend.provideSync;this.readdirSync=ee;this._readFileBackend=createBackend(E,this.fileSystem.readFile,this.fileSystem.readFileSync,this.fileSystem);const te=this._readFileBackend.provide;this.readFile=te;const ne=this._readFileBackend.provideSync;this.readFileSync=ne;this._readJsonBackend=createBackend(E,this.fileSystem.readJson||this.readFile&&((S,E)=>{this.readFile(S,((S,k)=>{if(S)return E(S);if(!k||k.length===0)return E(new Error("No file content"));let w;try{w=JSON.parse(k.toString("utf-8"))}catch(S){return E(S)}E(null,w)}))}),this.fileSystem.readJsonSync||this.readFileSync&&(S=>{const E=this.readFileSync(S);const k=JSON.parse(E.toString("utf-8"));return k}),this.fileSystem);const ae=this._readJsonBackend.provide;this.readJson=ae;const _e=this._readJsonBackend.provideSync;this.readJsonSync=_e;this._readlinkBackend=createBackend(E,this.fileSystem.readlink,this.fileSystem.readlinkSync,this.fileSystem);const ve=this._readlinkBackend.provide;this.readlink=ve;const Ee=this._readlinkBackend.provideSync;this.readlinkSync=Ee}purge(S){this._statBackend.purge(S);this._lstatBackend.purge(S);this._readdirBackend.purgeParent(S);this._readFileBackend.purge(S);this._readlinkBackend.purge(S);this._readJsonBackend.purge(S)}}},35142:(S,E,k)=>{"use strict";const w=k(62848).basename;S.exports=class CloneBasenamePlugin{constructor(S,E){this.source=S;this.target=E}apply(S){const E=S.ensureHook(this.target);S.getHook(this.source).tapAsync("CloneBasenamePlugin",((k,N,j)=>{const q=w(k.path);const ee=S.join(k.path,q);const te={...k,path:ee,relativePath:k.relativePath&&S.join(k.relativePath,q)};S.doResolve(E,te,"using path: "+ee,N,j)}))}}},74636:S=>{"use strict";S.exports=class ConditionalPlugin{constructor(S,E,k,w,N){this.source=S;this.test=E;this.message=k;this.allowAlternatives=w;this.target=N}apply(S){const E=S.ensureHook(this.target);const{test:k,message:w,allowAlternatives:N}=this;const j=Object.keys(k);S.getHook(this.source).tapAsync("ConditionalPlugin",((q,ee,te)=>{for(const S of j){if(q[S]!==k[S])return te()}S.doResolve(E,q,w,ee,N?te:(S,E)=>{if(S)return te(S);if(E===undefined)return te(null,null);te(null,E)})}))}}},71929:(S,E,k)=>{"use strict";const w=k(73154);S.exports=class DescriptionFilePlugin{constructor(S,E,k,w){this.source=S;this.filenames=E;this.pathIsFile=k;this.target=w}apply(S){const E=S.ensureHook(this.target);S.getHook(this.source).tapAsync("DescriptionFilePlugin",((k,N,j)=>{const q=k.path;if(!q)return j();const ee=this.pathIsFile?w.cdUp(q):q;if(!ee)return j();w.loadDescriptionFile(S,ee,this.filenames,k.descriptionFilePath?{path:k.descriptionFilePath,content:k.descriptionFileData,directory:k.descriptionFileRoot}:undefined,N,((w,te)=>{if(w)return j(w);if(!te){if(N.log)N.log(`No description file found in ${ee} or above`);return j()}const ne="."+q.substr(te.directory.length).replace(/\\/g,"/");const ae={...k,descriptionFilePath:te.path,descriptionFileData:te.content,descriptionFileRoot:te.directory,relativePath:ne};S.doResolve(E,ae,"using description file: "+te.path+" (relative path: "+ne+")",N,((S,E)=>{if(S)return j(S);if(E===undefined)return j(null,null);j(null,E)}))}))}))}}},73154:(S,E,k)=>{"use strict";const w=k(86373);function loadDescriptionFile(S,E,k,N,j,q){(function findDescriptionFile(){if(N&&N.directory===E){return q(null,N)}w(k,((k,w)=>{const N=S.join(E,k);if(S.fileSystem.readJson){S.fileSystem.readJson(N,((S,E)=>{if(S){if(typeof S.code!=="undefined"){if(j.missingDependencies){j.missingDependencies.add(N)}return w()}if(j.fileDependencies){j.fileDependencies.add(N)}return onJson(S)}if(j.fileDependencies){j.fileDependencies.add(N)}onJson(null,E)}))}else{S.fileSystem.readFile(N,((S,E)=>{if(S){if(j.missingDependencies){j.missingDependencies.add(N)}return w()}if(j.fileDependencies){j.fileDependencies.add(N)}let k;if(E){try{k=JSON.parse(E.toString())}catch(S){return onJson(S)}}else{return onJson(new Error("No content in file"))}onJson(null,k)}))}function onJson(S,k){if(S){if(j.log)j.log(N+" (directory description file): "+S);else S.message=N+" (directory description file): "+S;return w(S)}w(null,{content:k,directory:E,path:N})}}),((S,k)=>{if(S)return q(S);if(k){return q(null,k)}else{const S=cdUp(E);if(!S){return q()}else{E=S;return findDescriptionFile()}}}))})()}function getField(S,E){if(!S)return undefined;if(Array.isArray(E)){let k=S;for(let S=0;S{"use strict";S.exports=class DirectoryExistsPlugin{constructor(S,E){this.source=S;this.target=E}apply(S){const E=S.ensureHook(this.target);S.getHook(this.source).tapAsync("DirectoryExistsPlugin",((k,w,N)=>{const j=S.fileSystem;const q=k.path;if(!q)return N();j.stat(q,((j,ee)=>{if(j||!ee){if(w.missingDependencies)w.missingDependencies.add(q);if(w.log)w.log(q+" doesn't exist");return N()}if(!ee.isDirectory()){if(w.missingDependencies)w.missingDependencies.add(q);if(w.log)w.log(q+" is not a directory");return N()}if(w.fileDependencies)w.fileDependencies.add(q);S.doResolve(E,k,`existing directory ${q}`,w,N)}))}))}}},92410:(S,E,k)=>{"use strict";const w=k(85622);const N=k(73154);const j=k(86373);const{processExportsField:q}=k(97826);const{parseIdentifier:ee}=k(40413);const{checkExportsFieldTarget:te}=k(35461);S.exports=class ExportsFieldPlugin{constructor(S,E,k,w){this.source=S;this.target=w;this.conditionNames=E;this.fieldName=k;this.fieldProcessorCache=new WeakMap}apply(S){const E=S.ensureHook(this.target);S.getHook(this.source).tapAsync("ExportsFieldPlugin",((k,ne,ae)=>{if(!k.descriptionFilePath)return ae();if(k.relativePath!=="."||k.request===undefined)return ae();const _e=k.query||k.fragment?(k.request==="."?"./":k.request)+k.query+k.fragment:k.request;const ve=N.getField(k.descriptionFileData,this.fieldName);if(!ve)return ae();if(k.directory){return ae(new Error(`Resolving to directories is not possible with the exports field (request was ${_e}/)`))}let Ee;try{let S=this.fieldProcessorCache.get(k.descriptionFileData);if(S===undefined){S=q(ve);this.fieldProcessorCache.set(k.descriptionFileData,S)}Ee=S(_e,this.conditionNames)}catch(S){if(ne.log){ne.log(`Exports field in ${k.descriptionFilePath} can't be processed: ${S}`)}return ae(S)}if(Ee.length===0){return ae(new Error(`Package path ${_e} is not exported from package ${k.descriptionFileRoot} (see exports field in ${k.descriptionFilePath})`))}j(Ee,((N,j)=>{const q=ee(N);if(!q)return j();const[ae,_e,ve]=q;const Ee=te(ae);if(Ee){return j(Ee)}const Te={...k,request:undefined,path:w.join(k.descriptionFileRoot,ae),relativePath:ae,query:_e,fragment:ve};S.doResolve(E,Te,"using exports field: "+N,ne,j)}),((S,E)=>ae(S,E||null)))}))}}},27426:S=>{"use strict";S.exports=class FileExistsPlugin{constructor(S,E){this.source=S;this.target=E}apply(S){const E=S.ensureHook(this.target);const k=S.fileSystem;S.getHook(this.source).tapAsync("FileExistsPlugin",((w,N,j)=>{const q=w.path;if(!q)return j();k.stat(q,((k,ee)=>{if(k||!ee){if(N.missingDependencies)N.missingDependencies.add(q);if(N.log)N.log(q+" doesn't exist");return j()}if(!ee.isFile()){if(N.missingDependencies)N.missingDependencies.add(q);if(N.log)N.log(q+" is not a file");return j()}if(N.fileDependencies)N.fileDependencies.add(q);S.doResolve(E,w,"existing file: "+q,N,j)}))}))}}},70877:(S,E,k)=>{"use strict";const w=k(85622);const N=k(73154);const j=k(86373);const{processImportsField:q}=k(97826);const{parseIdentifier:ee}=k(40413);const te=".".charCodeAt(0);S.exports=class ImportsFieldPlugin{constructor(S,E,k,w,N){this.source=S;this.targetFile=w;this.targetPackage=N;this.conditionNames=E;this.fieldName=k;this.fieldProcessorCache=new WeakMap}apply(S){const E=S.ensureHook(this.targetFile);const k=S.ensureHook(this.targetPackage);S.getHook(this.source).tapAsync("ImportsFieldPlugin",((ne,ae,_e)=>{if(!ne.descriptionFilePath)return _e();if(ne.relativePath!=="."||ne.request===undefined)return _e();const ve=ne.request+ne.query+ne.fragment;const Ee=N.getField(ne.descriptionFileData,this.fieldName);if(!Ee)return _e();if(ne.directory){return _e(new Error(`Resolving to directories is not possible with the imports field (request was ${ve}/)`))}let Te;try{let S=this.fieldProcessorCache.get(ne.descriptionFileData);if(S===undefined){S=q(Ee);this.fieldProcessorCache.set(ne.descriptionFileData,S)}Te=S(ve,this.conditionNames)}catch(S){if(ae.log){ae.log(`Imports field in ${ne.descriptionFilePath} can't be processed: ${S}`)}return _e(S)}if(Te.length===0){return _e(new Error(`Package import ${ve} is not imported from package ${ne.descriptionFileRoot} (see imports field in ${ne.descriptionFilePath})`))}j(Te,((N,j)=>{const q=ee(N);if(!q)return j();const[_e,ve,Ee]=q;switch(_e.charCodeAt(0)){case te:{const k={...ne,request:undefined,path:w.join(ne.descriptionFileRoot,_e),relativePath:_e,query:ve,fragment:Ee};S.doResolve(E,k,"using imports field: "+N,ae,j);break}default:{const E={...ne,request:_e,relativePath:_e,fullySpecified:true,query:ve,fragment:Ee};S.doResolve(k,E,"using imports field: "+N,ae,j)}}}),((S,E)=>_e(S,E||null)))}))}}},24587:S=>{"use strict";const E="@".charCodeAt(0);S.exports=class JoinRequestPartPlugin{constructor(S,E){this.source=S;this.target=E}apply(S){const k=S.ensureHook(this.target);S.getHook(this.source).tapAsync("JoinRequestPartPlugin",((w,N,j)=>{const q=w.request||"";let ee=q.indexOf("/",3);if(ee>=0&&q.charCodeAt(2)===E){ee=q.indexOf("/",ee+1)}let te,ne,ae;if(ee<0){te=q;ne=".";ae=false}else{te=q.slice(0,ee);ne="."+q.slice(ee);ae=w.fullySpecified}const _e={...w,path:S.join(w.path,te),relativePath:w.relativePath&&S.join(w.relativePath,te),request:ne,fullySpecified:ae};S.doResolve(k,_e,null,N,j)}))}}},15241:S=>{"use strict";S.exports=class JoinRequestPlugin{constructor(S,E){this.source=S;this.target=E}apply(S){const E=S.ensureHook(this.target);S.getHook(this.source).tapAsync("JoinRequestPlugin",((k,w,N)=>{const j={...k,path:S.join(k.path,k.request),relativePath:k.relativePath&&S.join(k.relativePath,k.request),request:undefined};S.doResolve(E,j,null,w,N)}))}}},41529:S=>{"use strict";S.exports=class LogInfoPlugin{constructor(S){this.source=S}apply(S){const E=this.source;S.getHook(this.source).tapAsync("LogInfoPlugin",((S,k,w)=>{if(!k.log)return w();const N=k.log;const j="["+E+"] ";if(S.path)N(j+"Resolving in directory: "+S.path);if(S.request)N(j+"Resolving request: "+S.request);if(S.module)N(j+"Request is an module request.");if(S.directory)N(j+"Request is a directory request.");if(S.query)N(j+"Resolving request query: "+S.query);if(S.fragment)N(j+"Resolving request fragment: "+S.fragment);if(S.descriptionFilePath)N(j+"Has description data from "+S.descriptionFilePath);if(S.relativePath)N(j+"Relative path from description file is: "+S.relativePath);w()}))}}},78253:(S,E,k)=>{"use strict";const w=k(85622);const N=k(73154);const j=Symbol("alreadyTriedMainField");S.exports=class MainFieldPlugin{constructor(S,E,k){this.source=S;this.options=E;this.target=k}apply(S){const E=S.ensureHook(this.target);S.getHook(this.source).tapAsync("MainFieldPlugin",((k,q,ee)=>{if(k.path!==k.descriptionFileRoot||k[j]===k.descriptionFilePath||!k.descriptionFilePath)return ee();const te=w.basename(k.descriptionFilePath);let ne=N.getField(k.descriptionFileData,this.options.name);if(!ne||typeof ne!=="string"||ne==="."||ne==="./"){return ee()}if(this.options.forceRelative&&!/^\.\.?\//.test(ne))ne="./"+ne;const ae={...k,request:ne,module:false,directory:ne.endsWith("/"),[j]:k.descriptionFilePath};return S.doResolve(E,ae,"use "+ne+" from "+this.options.name+" in "+te,q,ee)}))}}},25535:(S,E,k)=>{"use strict";const w=k(86373);const N=k(62848);S.exports=class ModulesInHierachicDirectoriesPlugin{constructor(S,E,k){this.source=S;this.directories=[].concat(E);this.target=k}apply(S){const E=S.ensureHook(this.target);S.getHook(this.source).tapAsync("ModulesInHierachicDirectoriesPlugin",((k,j,q)=>{const ee=S.fileSystem;const te=N(k.path).paths.map((E=>this.directories.map((k=>S.join(E,k))))).reduce(((S,E)=>{S.push.apply(S,E);return S}),[]);w(te,((w,N)=>{ee.stat(w,((q,ee)=>{if(!q&&ee&&ee.isDirectory()){const q={...k,path:w,request:"./"+k.request,module:false};const ee="looking for modules in "+w;return S.doResolve(E,q,ee,j,N)}if(j.log)j.log(w+" doesn't exist or is not a directory");if(j.missingDependencies)j.missingDependencies.add(w);return N()}))}),q)}))}}},90435:S=>{"use strict";S.exports=class ModulesInRootPlugin{constructor(S,E,k){this.source=S;this.path=E;this.target=k}apply(S){const E=S.ensureHook(this.target);S.getHook(this.source).tapAsync("ModulesInRootPlugin",((k,w,N)=>{const j={...k,path:this.path,request:"./"+k.request,module:false};S.doResolve(E,j,"looking for modules in "+this.path,w,N)}))}}},24561:S=>{"use strict";S.exports=class NextPlugin{constructor(S,E){this.source=S;this.target=E}apply(S){const E=S.ensureHook(this.target);S.getHook(this.source).tapAsync("NextPlugin",((k,w,N)=>{S.doResolve(E,k,null,w,N)}))}}},19749:S=>{"use strict";S.exports=class ParsePlugin{constructor(S,E,k){this.source=S;this.requestOptions=E;this.target=k}apply(S){const E=S.ensureHook(this.target);S.getHook(this.source).tapAsync("ParsePlugin",((k,w,N)=>{const j=S.parse(k.request);const q={...k,...j,...this.requestOptions};if(k.query&&!j.query){q.query=k.query}if(k.fragment&&!j.fragment){q.fragment=k.fragment}if(j&&w.log){if(j.module)w.log("Parsed request is a module");if(j.directory)w.log("Parsed request is a directory")}if(q.request&&!q.query&&q.fragment){const k=q.fragment.endsWith("/");const j={...q,directory:k,request:q.request+(q.directory?"/":"")+(k?q.fragment.slice(0,-1):q.fragment),fragment:""};S.doResolve(E,j,null,w,((k,j)=>{if(k)return N(k);if(j)return N(null,j);S.doResolve(E,q,null,w,N)}));return}S.doResolve(E,q,null,w,N)}))}}},33014:S=>{"use strict";S.exports=class PnpPlugin{constructor(S,E,k){this.source=S;this.pnpApi=E;this.target=k}apply(S){const E=S.ensureHook(this.target);S.getHook(this.source).tapAsync("PnpPlugin",((k,w,N)=>{const j=k.request;if(!j)return N();const q=`${k.path}/`;const ee=/^(@[^/]+\/)?[^/]+/.exec(j);if(!ee)return N();const te=ee[0];const ne=`.${j.slice(te.length)}`;let ae;let _e;try{ae=this.pnpApi.resolveToUnqualified(te,q,{considerBuiltins:false});if(w.fileDependencies){_e=this.pnpApi.resolveToUnqualified("pnpapi",q,{considerBuiltins:false})}}catch(S){if(S.code==="MODULE_NOT_FOUND"&&S.pnpCode==="UNDECLARED_DEPENDENCY"){if(w.log){w.log(`request is not managed by the pnpapi`);for(const E of S.message.split("\n").filter(Boolean))w.log(` ${E}`)}return N()}return N(S)}if(ae===te)return N();if(_e&&w.fileDependencies){w.fileDependencies.add(_e)}const ve={...k,path:ae,request:ne,ignoreSymlinks:true,fullySpecified:k.fullySpecified&&ne!=="."};S.doResolve(E,ve,`resolved by pnp to ${ae}`,w,((S,E)=>{if(S)return N(S);if(E)return N(null,E);return N(null,null)}))}))}}},67230:(S,E,k)=>{"use strict";const{AsyncSeriesBailHook:w,AsyncSeriesHook:N,SyncHook:j}=k(92960);const q=k(2828);const{parseIdentifier:ee}=k(40413);const{normalize:te,cachedJoin:ne,getType:ae,PathType:_e}=k(35461);function toCamelCase(S){return S.replace(/-([a-z])/g,(S=>S.substr(1).toUpperCase()))}class Resolver{static createStackEntry(S,E){return S.name+": ("+E.path+") "+(E.request||"")+(E.query||"")+(E.fragment||"")+(E.directory?" directory":"")+(E.module?" module":"")}constructor(S,E){this.fileSystem=S;this.options=E;this.hooks={resolveStep:new j(["hook","request"],"resolveStep"),noResolve:new j(["request","error"],"noResolve"),resolve:new w(["request","resolveContext"],"resolve"),result:new N(["result","resolveContext"],"result")}}ensureHook(S){if(typeof S!=="string"){return S}S=toCamelCase(S);if(/^before/.test(S)){return this.ensureHook(S[6].toLowerCase()+S.substr(7)).withOptions({stage:-10})}if(/^after/.test(S)){return this.ensureHook(S[5].toLowerCase()+S.substr(6)).withOptions({stage:10})}const E=this.hooks[S];if(!E){return this.hooks[S]=new w(["request","resolveContext"],S)}return E}getHook(S){if(typeof S!=="string"){return S}S=toCamelCase(S);if(/^before/.test(S)){return this.getHook(S[6].toLowerCase()+S.substr(7)).withOptions({stage:-10})}if(/^after/.test(S)){return this.getHook(S[5].toLowerCase()+S.substr(6)).withOptions({stage:10})}const E=this.hooks[S];if(!E){throw new Error(`Hook ${S} doesn't exist`)}return E}resolveSync(S,E,k){let w=undefined;let N=undefined;let j=false;this.resolve(S,E,k,{},((S,E)=>{w=S;N=E;j=true}));if(!j){throw new Error("Cannot 'resolveSync' because the fileSystem is not sync. Use 'resolve'!")}if(w)throw w;if(N===undefined)throw new Error("No result");return N}resolve(S,E,k,w,N){if(!S||typeof S!=="object")return N(new Error("context argument is not an object"));if(typeof E!=="string")return N(new Error("path argument is not a string"));if(typeof k!=="string")return N(new Error("path argument is not a string"));if(!w)return N(new Error("resolveContext argument is not set"));const j={context:S,path:E,request:k};const q=`resolve '${k}' in '${E}'`;const finishResolved=S=>N(null,S.path===false?false:`${S.path.replace(/#/g,"\0#")}${S.query?S.query.replace(/#/g,"\0#"):""}${S.fragment||""}`,S);const finishWithoutResolve=S=>{const E=new Error("Can't "+q);E.details=S.join("\n");this.hooks.noResolve.call(j,E);return N(E)};if(w.log){const S=w.log;const E=[];return this.doResolve(this.hooks.resolve,j,q,{log:k=>{S(k);E.push(k)},fileDependencies:w.fileDependencies,contextDependencies:w.contextDependencies,missingDependencies:w.missingDependencies,stack:w.stack},((S,k)=>{if(S)return N(S);if(k)return finishResolved(k);return finishWithoutResolve(E)}))}else{return this.doResolve(this.hooks.resolve,j,q,{log:undefined,fileDependencies:w.fileDependencies,contextDependencies:w.contextDependencies,missingDependencies:w.missingDependencies,stack:w.stack},((S,E)=>{if(S)return N(S);if(E)return finishResolved(E);const k=[];return this.doResolve(this.hooks.resolve,j,q,{log:S=>k.push(S),stack:w.stack},((S,E)=>{if(S)return N(S);return finishWithoutResolve(k)}))}))}}doResolve(S,E,k,w,N){const j=Resolver.createStackEntry(S,E);let ee;if(w.stack){ee=new Set(w.stack);if(w.stack.has(j)){const S=new Error("Recursion in resolving\nStack:\n "+Array.from(ee).join("\n "));S.recursion=true;if(w.log)w.log("abort resolving because of recursion");return N(S)}ee.add(j)}else{ee=new Set([j])}this.hooks.resolveStep.call(S,E);if(S.isUsed()){const j=q({log:w.log,fileDependencies:w.fileDependencies,contextDependencies:w.contextDependencies,missingDependencies:w.missingDependencies,stack:ee},k);return S.callAsync(E,j,((S,E)=>{if(S)return N(S);if(E)return N(null,E);N()}))}else{N()}}parse(S){const E={request:"",query:"",fragment:"",module:false,directory:false,file:false,internal:false};const k=ee(S);if(!k)return E;[E.request,E.query,E.fragment]=k;if(E.request.length>0){E.internal=this.isPrivate(S);E.module=this.isModule(E.request);E.directory=this.isDirectory(E.request);if(E.directory){E.request=E.request.substr(0,E.request.length-1)}}return E}isModule(S){return ae(S)===_e.Normal}isPrivate(S){return ae(S)===_e.Internal}isDirectory(S){return S.endsWith("/")}join(S,E){return ne(S,E)}normalize(S){return te(S)}}S.exports=Resolver},34739:(S,E,k)=>{"use strict";const w=k(61765).versions;const N=k(67230);const{getType:j,PathType:q}=k(35461);const ee=k(82728);const te=k(22170);const ne=k(1037);const ae=k(44296);const _e=k(74636);const ve=k(71929);const Ee=k(78613);const Te=k(92410);const Ce=k(27426);const we=k(70877);const Ne=k(24587);const Ie=k(15241);const Fe=k(78253);const Oe=k(25535);const Me=k(90435);const Re=k(24561);const Le=k(19749);const Be=k(33014);const je=k(31801);const ze=k(51078);const Ue=k(70821);const We=k(63888);const $e=k(86293);const qe=k(91434);const Ve=k(16004);const He=k(36142);function processPnpApiOption(S){if(S===undefined&&w.pnp){return k(3498)}return S||null}function normalizeAlias(S){return typeof S==="object"&&!Array.isArray(S)&&S!==null?Object.keys(S).map((E=>{const k={name:E,onlyModule:false,alias:S[E]};if(/\$$/.test(E)){k.onlyModule=true;k.name=E.substr(0,E.length-1)}return k})):S||[]}function createOptions(S){const E=new Set(S.mainFields||["main"]);const k=[];for(const S of E){if(typeof S==="string"){k.push({name:[S],forceRelative:true})}else if(Array.isArray(S)){k.push({name:S,forceRelative:true})}else{k.push({name:Array.isArray(S.name)?S.name:[S.name],forceRelative:S.forceRelative})}}return{alias:normalizeAlias(S.alias),fallback:normalizeAlias(S.fallback),aliasFields:new Set(S.aliasFields),cachePredicate:S.cachePredicate||function(){return true},cacheWithContext:typeof S.cacheWithContext!=="undefined"?S.cacheWithContext:true,exportsFields:new Set(S.exportsFields||["exports"]),importsFields:new Set(S.importsFields||["imports"]),conditionNames:new Set(S.conditionNames),descriptionFiles:Array.from(new Set(S.descriptionFiles||["package.json"])),enforceExtension:S.enforceExtension===undefined?S.extensions&&S.extensions.includes("")?true:false:S.enforceExtension,extensions:new Set(S.extensions||[".js",".json",".node"]),fileSystem:S.useSyncFileSystemCalls?new ee(S.fileSystem):S.fileSystem,unsafeCache:S.unsafeCache&&typeof S.unsafeCache!=="object"?{}:S.unsafeCache||false,symlinks:typeof S.symlinks!=="undefined"?S.symlinks:true,resolver:S.resolver,modules:mergeFilteredToArray(Array.isArray(S.modules)?S.modules:S.modules?[S.modules]:["node_modules"],(S=>{const E=j(S);return E===q.Normal||E===q.Relative})),mainFields:k,mainFiles:new Set(S.mainFiles||["index"]),plugins:S.plugins||[],pnpApi:processPnpApiOption(S.pnpApi),roots:new Set(S.roots||undefined),fullySpecified:S.fullySpecified||false,resolveToContext:S.resolveToContext||false,preferRelative:S.preferRelative||false,preferAbsolute:S.preferAbsolute||false,restrictions:new Set(S.restrictions)}}E.createResolver=function(S){const E=createOptions(S);const{alias:k,fallback:w,aliasFields:j,cachePredicate:q,cacheWithContext:ee,conditionNames:Ge,descriptionFiles:Je,enforceExtension:Ke,exportsFields:Qe,importsFields:Xe,extensions:Ye,fileSystem:Ze,fullySpecified:et,mainFields:tt,mainFiles:rt,modules:nt,plugins:it,pnpApi:ot,resolveToContext:st,preferRelative:ct,preferAbsolute:ut,symlinks:dt,unsafeCache:pt,resolver:ft,restrictions:mt,roots:ht}=E;const _t=it.slice();const yt=ft?ft:new N(Ze,E);yt.ensureHook("resolve");yt.ensureHook("internalResolve");yt.ensureHook("newInteralResolve");yt.ensureHook("parsedResolve");yt.ensureHook("describedResolve");yt.ensureHook("internal");yt.ensureHook("rawModule");yt.ensureHook("module");yt.ensureHook("resolveAsModule");yt.ensureHook("undescribedResolveInPackage");yt.ensureHook("resolveInPackage");yt.ensureHook("resolveInExistingDirectory");yt.ensureHook("relative");yt.ensureHook("describedRelative");yt.ensureHook("directory");yt.ensureHook("undescribedExistingDirectory");yt.ensureHook("existingDirectory");yt.ensureHook("undescribedRawFile");yt.ensureHook("rawFile");yt.ensureHook("file");yt.ensureHook("finalFile");yt.ensureHook("existingFile");yt.ensureHook("resolved");for(const{source:S,resolveOptions:E}of[{source:"resolve",resolveOptions:{fullySpecified:et}},{source:"internal-resolve",resolveOptions:{fullySpecified:false}}]){if(pt){_t.push(new Ve(S,q,pt,ee,`new-${S}`));_t.push(new Le(`new-${S}`,E,"parsed-resolve"))}else{_t.push(new Le(S,E,"parsed-resolve"))}}_t.push(new ve("parsed-resolve",Je,false,"described-resolve"));_t.push(new Re("after-parsed-resolve","described-resolve"));_t.push(new Re("described-resolve","normal-resolve"));if(w.length>0){_t.push(new ne("described-resolve",w,"internal-resolve"))}if(k.length>0)_t.push(new ne("normal-resolve",k,"internal-resolve"));j.forEach((S=>{_t.push(new te("normal-resolve",S,"internal-resolve"))}));if(ct){_t.push(new Ie("after-normal-resolve","relative"))}_t.push(new _e("after-normal-resolve",{module:true},"resolve as module",false,"raw-module"));_t.push(new _e("after-normal-resolve",{internal:true},"resolve as internal import",false,"internal"));if(ut){_t.push(new Ie("after-normal-resolve","relative"))}if(ht.size>0){_t.push(new Ue("after-normal-resolve",ht,"relative"))}if(!ct&&!ut){_t.push(new Ie("after-normal-resolve","relative"))}Xe.forEach((S=>{_t.push(new we("internal",Ge,S,"relative","internal-resolve"))}));Qe.forEach((S=>{_t.push(new We("raw-module",S,"resolve-as-module"))}));nt.forEach((S=>{if(Array.isArray(S)){if(S.includes("node_modules")&&ot){_t.push(new Oe("raw-module",S.filter((S=>S!=="node_modules")),"module"));_t.push(new Be("raw-module",ot,"undescribed-resolve-in-package"))}else{_t.push(new Oe("raw-module",S,"module"))}}else{_t.push(new Me("raw-module",S,"module"))}}));_t.push(new Ne("module","resolve-as-module"));if(!st){_t.push(new _e("resolve-as-module",{directory:false,request:"."},"single file module",true,"undescribed-raw-file"))}_t.push(new Ee("resolve-as-module","undescribed-resolve-in-package"));_t.push(new ve("undescribed-resolve-in-package",Je,false,"resolve-in-package"));_t.push(new Re("after-undescribed-resolve-in-package","resolve-in-package"));Qe.forEach((S=>{_t.push(new Te("resolve-in-package",Ge,S,"relative"))}));_t.push(new Re("resolve-in-package","resolve-in-existing-directory"));_t.push(new Ie("resolve-in-existing-directory","relative"));_t.push(new ve("relative",Je,true,"described-relative"));_t.push(new Re("after-relative","described-relative"));if(st){_t.push(new Re("described-relative","directory"))}else{_t.push(new _e("described-relative",{directory:false},null,true,"raw-file"));_t.push(new _e("described-relative",{fullySpecified:false},"as directory",true,"directory"))}_t.push(new Ee("directory","undescribed-existing-directory"));if(st){_t.push(new Re("undescribed-existing-directory","resolved"))}else{_t.push(new ve("undescribed-existing-directory",Je,false,"existing-directory"));rt.forEach((S=>{_t.push(new He("undescribed-existing-directory",S,"undescribed-raw-file"))}));tt.forEach((S=>{_t.push(new Fe("existing-directory",S,"resolve-in-existing-directory"))}));rt.forEach((S=>{_t.push(new He("existing-directory",S,"undescribed-raw-file"))}));_t.push(new ve("undescribed-raw-file",Je,true,"raw-file"));_t.push(new Re("after-undescribed-raw-file","raw-file"));_t.push(new _e("raw-file",{fullySpecified:true},null,false,"file"));if(!Ke){_t.push(new qe("raw-file","no extension","file"))}Ye.forEach((S=>{_t.push(new ae("raw-file",S,"file"))}));if(k.length>0)_t.push(new ne("file",k,"internal-resolve"));j.forEach((S=>{_t.push(new te("file",S,"internal-resolve"))}));_t.push(new Re("file","final-file"));_t.push(new Ce("final-file","existing-file"));if(dt)_t.push(new $e("existing-file","existing-file"));_t.push(new Re("existing-file","resolved"))}if(mt.size>0){_t.push(new je(yt.hooks.resolved,mt))}_t.push(new ze(yt.hooks.resolved));for(const S of _t){if(typeof S==="function"){S.call(yt,yt)}else{S.apply(yt)}}return yt};function mergeFilteredToArray(S,E){const k=[];const w=new Set(S);for(const S of w){if(E(S)){const E=k.length>0?k[k.length-1]:undefined;if(Array.isArray(E)){E.push(S)}else{k.push([S])}}else{k.push(S)}}return k}},31801:S=>{"use strict";const E="/".charCodeAt(0);const k="\\".charCodeAt(0);const isInside=(S,w)=>{if(!S.startsWith(w))return false;if(S.length===w.length)return true;const N=S.charCodeAt(w.length);return N===E||N===k};S.exports=class RestrictionsPlugin{constructor(S,E){this.source=S;this.restrictions=E}apply(S){S.getHook(this.source).tapAsync("RestrictionsPlugin",((S,E,k)=>{if(typeof S.path==="string"){const w=S.path;for(const S of this.restrictions){if(typeof S==="string"){if(!isInside(w,S)){if(E.log){E.log(`${w} is not inside of the restriction ${S}`)}return k(null,null)}}else if(!S.test(w)){if(E.log){E.log(`${w} doesn't match the restriction ${S}`)}return k(null,null)}}}k()}))}}},51078:S=>{"use strict";S.exports=class ResultPlugin{constructor(S){this.source=S}apply(S){this.source.tapAsync("ResultPlugin",((E,k,w)=>{const N={...E};if(k.log)k.log("reporting result "+N.path);S.hooks.result.callAsync(N,k,(S=>{if(S)return w(S);w(null,N)}))}))}}},70821:(S,E,k)=>{"use strict";const w=k(86373);class RootsPlugin{constructor(S,E,k){this.roots=Array.from(E);this.source=S;this.target=k}apply(S){const E=S.ensureHook(this.target);S.getHook(this.source).tapAsync("RootsPlugin",((k,N,j)=>{const q=k.request;if(!q)return j();if(!q.startsWith("/"))return j();w(this.roots,((w,j)=>{const ee=S.join(w,q.slice(1));const te={...k,path:ee,relativePath:k.relativePath&&ee};S.doResolve(E,te,`root path ${w}`,N,j)}),j)}))}}S.exports=RootsPlugin},63888:(S,E,k)=>{"use strict";const w=k(73154);const N="/".charCodeAt(0);S.exports=class SelfReferencePlugin{constructor(S,E,k){this.source=S;this.target=k;this.fieldName=E}apply(S){const E=S.ensureHook(this.target);S.getHook(this.source).tapAsync("SelfReferencePlugin",((k,j,q)=>{if(!k.descriptionFilePath)return q();const ee=k.request;if(!ee)return q();const te=w.getField(k.descriptionFileData,this.fieldName);if(!te)return q();const ne=w.getField(k.descriptionFileData,"name");if(typeof ne!=="string")return q();if(ee.startsWith(ne)&&(ee.length===ne.length||ee.charCodeAt(ne.length)===N)){const w=`.${ee.slice(ne.length)}`;const N={...k,request:w,path:k.descriptionFileRoot,relativePath:"."};S.doResolve(E,N,"self reference",j,q)}else{return q()}}))}}},86293:(S,E,k)=>{"use strict";const w=k(86373);const N=k(62848);const{getType:j,PathType:q}=k(35461);S.exports=class SymlinkPlugin{constructor(S,E){this.source=S;this.target=E}apply(S){const E=S.ensureHook(this.target);const k=S.fileSystem;S.getHook(this.source).tapAsync("SymlinkPlugin",((ee,te,ne)=>{if(ee.ignoreSymlinks)return ne();const ae=N(ee.path);const _e=ae.seqments;const ve=ae.paths;let Ee=false;let Te=-1;w(ve,((S,E)=>{Te++;if(te.fileDependencies)te.fileDependencies.add(S);k.readlink(S,((S,k)=>{if(!S&&k){_e[Te]=k;Ee=true;const S=j(k.toString());if(S===q.AbsoluteWin||S===q.AbsolutePosix){return E(null,Te)}}E()}))}),((k,w)=>{if(!Ee)return ne();const N=typeof w==="number"?_e.slice(0,w+1):_e.slice();const j=N.reduceRight(((E,k)=>S.join(E,k)));const q={...ee,path:j};S.doResolve(E,q,"resolved symlink to "+j,te,ne)}))}))}}},82728:S=>{"use strict";function SyncAsyncFileSystemDecorator(S){this.fs=S;this.lstat=undefined;this.lstatSync=undefined;const E=S.lstatSync;if(E){this.lstat=(k,w,N)=>{let j;try{j=E.call(S,k)}catch(S){return(N||w)(S)}(N||w)(null,j)};this.lstatSync=(k,w)=>E.call(S,k,w)}this.stat=(E,k,w)=>{let N;try{N=S.statSync(E,k)}catch(S){return(w||k)(S)}(w||k)(null,N)};this.statSync=(E,k)=>S.statSync(E,k);this.readdir=(E,k,w)=>{let N;try{N=S.readdirSync(E)}catch(S){return(w||k)(S)}(w||k)(null,N)};this.readdirSync=(E,k)=>S.readdirSync(E,k);this.readFile=(E,k,w)=>{let N;try{N=S.readFileSync(E)}catch(S){return(w||k)(S)}(w||k)(null,N)};this.readFileSync=(E,k)=>S.readFileSync(E,k);this.readlink=(E,k,w)=>{let N;try{N=S.readlinkSync(E)}catch(S){return(w||k)(S)}(w||k)(null,N)};this.readlinkSync=(E,k)=>S.readlinkSync(E,k);this.readJson=undefined;this.readJsonSync=undefined;const k=S.readJsonSync;if(k){this.readJson=(E,w,N)=>{let j;try{j=k.call(S,E)}catch(S){return(N||w)(S)}(N||w)(null,j)};this.readJsonSync=(E,w)=>k.call(S,E,w)}}S.exports=SyncAsyncFileSystemDecorator},91434:S=>{"use strict";S.exports=class TryNextPlugin{constructor(S,E,k){this.source=S;this.message=E;this.target=k}apply(S){const E=S.ensureHook(this.target);S.getHook(this.source).tapAsync("TryNextPlugin",((k,w,N)=>{S.doResolve(E,k,this.message,w,N)}))}}},16004:S=>{"use strict";function getCacheId(S,E){return JSON.stringify({context:E?S.context:"",path:S.path,query:S.query,fragment:S.fragment,request:S.request})}S.exports=class UnsafeCachePlugin{constructor(S,E,k,w,N){this.source=S;this.filterPredicate=E;this.withContext=w;this.cache=k;this.target=N}apply(S){const E=S.ensureHook(this.target);S.getHook(this.source).tapAsync("UnsafeCachePlugin",((k,w,N)=>{if(!this.filterPredicate(k))return N();const j=getCacheId(k,this.withContext);const q=this.cache[j];if(q){return N(null,q)}S.doResolve(E,k,null,w,((S,E)=>{if(S)return N(S);if(E)return N(null,this.cache[j]=E);N()}))}))}}},36142:S=>{"use strict";S.exports=class UseFilePlugin{constructor(S,E,k){this.source=S;this.filename=E;this.target=k}apply(S){const E=S.ensureHook(this.target);S.getHook(this.source).tapAsync("UseFilePlugin",((k,w,N)=>{const j=S.join(k.path,this.filename);const q={...k,path:j,relativePath:k.relativePath&&S.join(k.relativePath,this.filename)};S.doResolve(E,q,"using path: "+j,w,N)}))}}},2828:S=>{"use strict";S.exports=function createInnerContext(S,E,k){let w=false;let N=undefined;if(S.log){if(E){N=k=>{if(!w){S.log(E);w=true}S.log(" "+k)}}else{N=S.log}}const j={log:N,fileDependencies:S.fileDependencies,contextDependencies:S.contextDependencies,missingDependencies:S.missingDependencies,stack:S.stack};return j}},86373:S=>{"use strict";S.exports=function forEachBail(S,E,k){if(S.length===0)return k();let w=0;const next=()=>{let N=undefined;E(S[w++],((E,j)=>{if(E||j!==undefined||w>=S.length){return k(E,j)}if(N===false)while(next());N=true}));if(!N)N=false;return N};while(next());}},43040:S=>{"use strict";S.exports=function getInnerRequest(S,E){if(typeof E.__innerRequest==="string"&&E.__innerRequest_request===E.request&&E.__innerRequest_relativePath===E.relativePath)return E.__innerRequest;let k;if(E.request){k=E.request;if(/^\.\.?\//.test(k)&&E.relativePath){k=S.join(E.relativePath,k)}}else{k=E.relativePath}E.__innerRequest_request=E.request;E.__innerRequest_relativePath=E.relativePath;return E.__innerRequest=k}},62848:S=>{"use strict";S.exports=function getPaths(S){const E=S.split(/(.*?[\\/]+)/);const k=[S];const w=[E[E.length-1]];let N=E[E.length-1];S=S.substr(0,S.length-N.length-1);for(let j=E.length-2;j>2;j-=2){k.push(S);N=E[j];S=S.substr(0,S.length-N.length)||"/";w.push(N.substr(0,N.length-1))}N=E[1];w.push(N);k.push(N);return{paths:k,seqments:w}};S.exports.basename=function basename(S){const E=S.lastIndexOf("/"),k=S.lastIndexOf("\\");const w=E<0?k:k<0?E:E{"use strict";const w=k(15808);const N=k(76537);const j=k(34739);const q=new N(w,4e3);const ee={environments:["node+es3+es5+process+native"]};const te=j.createResolver({conditionNames:["node"],extensions:[".js",".json",".node"],fileSystem:q});function resolve(S,E,k,w,N){if(typeof S==="string"){N=w;w=k;k=E;E=S;S=ee}if(typeof N!=="function"){N=w}te.resolve(S,E,k,w,N)}const ne=j.createResolver({conditionNames:["node"],extensions:[".js",".json",".node"],useSyncFileSystemCalls:true,fileSystem:q});function resolveSync(S,E,k){if(typeof S==="string"){k=E;E=S;S=ee}return ne.resolveSync(S,E,k)}function create(S){S={fileSystem:q,...S};const E=j.createResolver(S);return function(S,k,w,N,j){if(typeof S==="string"){j=N;N=w;w=k;k=S;S=ee}if(typeof j!=="function"){j=N}E.resolve(S,k,w,N,j)}}function createSync(S){S={useSyncFileSystemCalls:true,fileSystem:q,...S};const E=j.createResolver(S);return function(S,k,w){if(typeof S==="string"){w=k;k=S;S=ee}return E.resolveSync(S,k,w)}}const mergeExports=(S,E)=>{const k=Object.getOwnPropertyDescriptors(E);Object.defineProperties(S,k);return Object.freeze(S)};S.exports=mergeExports(resolve,{get sync(){return resolveSync},create:mergeExports(create,{get sync(){return createSync}}),ResolverFactory:j,CachedInputFileSystem:N,get CloneBasenamePlugin(){return k(35142)},get LogInfoPlugin(){return k(41529)},get forEachBail(){return k(86373)}})},97826:S=>{"use strict";const E="/".charCodeAt(0);const k=".".charCodeAt(0);const w="#".charCodeAt(0);S.exports.processExportsField=function processExportsField(S){return createFieldProcessor(buildExportsFieldPathTree(S),assertExportsFieldRequest,assertExportTarget)};S.exports.processImportsField=function processImportsField(S){return createFieldProcessor(buildImportsFieldPathTree(S),assertImportsFieldRequest,assertImportTarget)};function createFieldProcessor(S,E,k){return function fieldProcessor(w,N){w=E(w);const j=findMatch(w,S);if(j===null)return[];const[q,ee]=j;let te=null;if(isConditionalMapping(q)){te=conditionalMapping(q,N);if(te===null)return[]}else{te=q}const ne=ee===w.length+1?undefined:ee<0?w.slice(-ee-1):w.slice(ee);return directMapping(ne,ee<0,te,N,k)}}function assertExportsFieldRequest(S){if(S.charCodeAt(0)!==k){throw new Error('Request should be relative path and start with "."')}if(S.length===1)return"";if(S.charCodeAt(1)!==E){throw new Error('Request should be relative path and start with "./"')}if(S.charCodeAt(S.length-1)===E){throw new Error("Only requesting file allowed")}return S.slice(2)}function assertImportsFieldRequest(S){if(S.charCodeAt(0)!==w){throw new Error('Request should start with "#"')}if(S.length===1){throw new Error("Request should have at least 2 characters")}if(S.charCodeAt(1)===E){throw new Error('Request should not start with "#/"')}if(S.charCodeAt(S.length-1)===E){throw new Error("Only requesting file allowed")}return S.slice(1)}function assertExportTarget(S,w){if(S.charCodeAt(0)===E||S.charCodeAt(0)===k&&S.charCodeAt(1)!==E){throw new Error(`Export should be relative path and start with "./", got ${JSON.stringify(S)}.`)}const N=S.charCodeAt(S.length-1)===E;if(N!==w){throw new Error(w?`Expecting folder to folder mapping. ${JSON.stringify(S)} should end with "/"`:`Expecting file to file mapping. ${JSON.stringify(S)} should not end with "/"`)}}function assertImportTarget(S,k){const w=S.charCodeAt(S.length-1)===E;if(w!==k){throw new Error(k?`Expecting folder to folder mapping. ${JSON.stringify(S)} should end with "/"`:`Expecting file to file mapping. ${JSON.stringify(S)} should not end with "/"`)}}function findMatch(S,E){if(S.length===0){const S=E.files.get("");return S?[S,1]:null}if(E.children===null&&E.folder===null&&E.wildcards===null){const k=E.files.get(S);return k?[k,S.length+1]:null}let k=E;let w=0;let N=S.indexOf("/",0);let j=null;const applyFolderMapping=()=>{const S=k.folder;if(S){if(j){j[0]=S;j[1]=-w-1}else{j=[S,-w-1]}}};const applyWildcardMappings=(S,E)=>{if(S){for(const[k,N]of S){if(E.startsWith(k)){if(!j){j=[N,w+k.length]}else if(j[1]0?S.slice(w):S;const ee=k.files.get(q);if(ee){return[ee,S.length+1]}applyFolderMapping();applyWildcardMappings(k.wildcards,q);return j}function isConditionalMapping(S){return S!==null&&typeof S==="object"&&!Array.isArray(S)}function directMapping(S,E,k,w,N){if(k===null)return[];if(typeof k==="string"){return[targetMapping(S,E,k,N)]}const j=[];for(const q of k){if(typeof q==="string"){j.push(targetMapping(S,E,q,N));continue}const k=conditionalMapping(q,w);if(!k)continue;const ee=directMapping(S,E,k,w,N);for(const S of ee){j.push(S)}}return j}function targetMapping(S,E,k,w){if(S===undefined){w(k,false);return k}if(E){w(k,true);return k+S}w(k,false);return k.replace(/\*/g,S.replace(/\$/g,"$$"))}function conditionalMapping(S,E){let k=[[S,Object.keys(S),0]];e:while(k.length>0){const[S,w,N]=k[k.length-1];const j=w.length-1;for(let q=N;q=E.length){w.folder=k}else{const S=N>0?E.slice(N):E;if(S.endsWith("*")){if(w.wildcards===null)w.wildcards=new Map;w.wildcards.set(S.slice(0,-1),k)}else{w.files.set(S,k)}}}function buildExportsFieldPathTree(S){const w=createNode();if(typeof S==="string"){w.files.set("",S);return w}else if(Array.isArray(S)){w.files.set("",S.slice());return w}const N=Object.keys(S);for(let j=0;j{"use strict";const E=/^(#?(?:\0.|[^?#\0])*)(\?(?:\0.|[^#\0])*)?(#.*)?$/;function parseIdentifier(S){const k=E.exec(S);if(!k)return null;return[k[1].replace(/\0(.)/g,"$1"),k[2]?k[2].replace(/\0(.)/g,"$1"):"",k[3]||""]}S.exports.parseIdentifier=parseIdentifier},35461:(S,E,k)=>{"use strict";const w=k(85622);const N="#".charCodeAt(0);const j="/".charCodeAt(0);const q="\\".charCodeAt(0);const ee="A".charCodeAt(0);const te="Z".charCodeAt(0);const ne="a".charCodeAt(0);const ae="z".charCodeAt(0);const _e=".".charCodeAt(0);const ve=":".charCodeAt(0);const Ee=w.posix.normalize;const Te=w.win32.normalize;const Ce=Object.freeze({Empty:0,Normal:1,Relative:2,AbsoluteWin:3,AbsolutePosix:4,Internal:5});E.PathType=Ce;const getType=S=>{switch(S.length){case 0:return Ce.Empty;case 1:{const E=S.charCodeAt(0);switch(E){case _e:return Ce.Relative;case j:return Ce.AbsolutePosix;case N:return Ce.Internal}return Ce.Normal}case 2:{const E=S.charCodeAt(0);switch(E){case _e:{const E=S.charCodeAt(1);switch(E){case _e:case j:return Ce.Relative}return Ce.Normal}case j:return Ce.AbsolutePosix;case N:return Ce.Internal}const k=S.charCodeAt(1);if(k===ve){if(E>=ee&&E<=te||E>=ne&&E<=ae){return Ce.AbsoluteWin}}return Ce.Normal}}const E=S.charCodeAt(0);switch(E){case _e:{const E=S.charCodeAt(1);switch(E){case j:return Ce.Relative;case _e:{const E=S.charCodeAt(2);if(E===j)return Ce.Relative;return Ce.Normal}}return Ce.Normal}case j:return Ce.AbsolutePosix;case N:return Ce.Internal}const k=S.charCodeAt(1);if(k===ve){const k=S.charCodeAt(2);if((k===q||k===j)&&(E>=ee&&E<=te||E>=ne&&E<=ae)){return Ce.AbsoluteWin}}return Ce.Normal};E.getType=getType;const normalize=S=>{switch(getType(S)){case Ce.Empty:return S;case Ce.AbsoluteWin:return Te(S);case Ce.Relative:{const E=Ee(S);return getType(E)===Ce.Relative?E:`./${E}`}}return Ee(S)};E.normalize=normalize;const join=(S,E)=>{if(!E)return normalize(S);const k=getType(E);switch(k){case Ce.AbsolutePosix:return Ee(E);case Ce.AbsoluteWin:return Te(E)}switch(getType(S)){case Ce.Normal:case Ce.Relative:case Ce.AbsolutePosix:return Ee(`${S}/${E}`);case Ce.AbsoluteWin:return Te(`${S}\\${E}`)}switch(k){case Ce.Empty:return S;case Ce.Relative:{const E=Ee(S);return getType(E)===Ce.Relative?E:`./${E}`}}return Ee(S)};E.join=join;const we=new Map;const cachedJoin=(S,E)=>{let k;let w=we.get(S);if(w===undefined){we.set(S,w=new Map)}else{k=w.get(E);if(k!==undefined)return k}k=join(S,E);w.set(E,k);return k};E.cachedJoin=cachedJoin;const checkExportsFieldTarget=S=>{let E=2;let k=S.indexOf("/",2);let w=0;while(k!==-1){const N=S.slice(E,k);switch(N){case"..":{w--;if(w<0)return new Error(`Trying to access out of package scope. Requesting ${S}`);break}default:w++;break}E=k+1;k=S.indexOf("/",E)}};E.checkExportsFieldTarget=checkExportsFieldTarget},76185:(S,E,k)=>{"use strict";const w=k(33839);const{SourceMapConsumer:N,SourceNode:j}=k(99596);const{SourceListMap:q,fromStringWithSourceMap:ee}=k(6900);const te={columns:false};const mapToBufferedMap=S=>{if(typeof S!=="object"||!S)return S;const E=Object.assign({},S);if(S.mappings){E.mappings=Buffer.from(S.mappings,"utf-8")}if(S.sourcesContent){E.sourcesContent=S.sourcesContent.map((S=>S&&Buffer.from(S,"utf-8")))}return E};const bufferedMapToMap=S=>{if(typeof S!=="object"||!S)return S;const E=Object.assign({},S);if(S.mappings){E.mappings=S.mappings.toString("utf-8")}if(S.sourcesContent){E.sourcesContent=S.sourcesContent.map((S=>S&&S.toString("utf-8")))}return E};const sourceAndMapToNode=(S,E)=>{if(E){return j.fromStringWithSourceMap(S,new N(E))}else{return new j(null,null,null,S)}};const sourceAndMapToListMap=(S,E)=>{if(E){return ee(S,E)}else{return new q(S)}};class CachedSource extends w{constructor(S,E){super();this._source=S;this._cachedSourceType=E?E.source:undefined;this._cachedSource=undefined;this._cachedBuffer=E?E.buffer:undefined;this._cachedSize=E?E.size:undefined;this._cachedMaps=E?E.maps:new Map;this._cachedHashUpdate=E?E.hash:undefined}getCachedData(){const S=new Map;for(const E of this._cachedMaps){let k=E[1];if(k.bufferedMap===undefined){k.bufferedMap=mapToBufferedMap(this._getMapFromCacheEntry(k))}S.set(E[0],{map:undefined,node:undefined,listMap:undefined,bufferedMap:k.bufferedMap})}if(this._cachedSource){this.buffer()}return{buffer:this._cachedBuffer,source:this._cachedSourceType!==undefined?this._cachedSourceType:typeof this._cachedSource==="string"?true:Buffer.isBuffer(this._cachedSource)?false:undefined,size:this._cachedSize,maps:S,hash:this._cachedHashUpdate}}originalLazy(){return this._source}original(){if(typeof this._source==="function")this._source=this._source();return this._source}source(){const S=this._getCachedSource();if(S!==undefined)return S;return this._cachedSource=this.original().source()}_getMapFromCacheEntry(S){if(S.map!==undefined){return S.map}else if(S.bufferedMap!==undefined){return S.map=bufferedMapToMap(S.bufferedMap)}else if(S.node!==undefined){const E=S.node.toStringWithSourceMap({file:"x"});if(this._cachedSource===undefined)this._cachedSource=E.code;return S.map=E.map.toJSON()}else if(S.listMap!==undefined){const E=S.listMap.toStringWithSourceMap({file:"x"});if(this._cachedSource===undefined)this._cachedSource=E.source;return S.map=E.map}}_getCachedSource(){if(this._cachedSource!==undefined)return this._cachedSource;if(this._cachedBuffer&&this._cachedSourceType!==undefined){return this._cachedSource=this._cachedSourceType?this._cachedBuffer.toString("utf-8"):this._cachedBuffer}for(const S of this._cachedMaps.values()){if(S.node!==undefined){return this._cachedSource=S.node.toString()}if(S.listMap!==undefined){return this._cachedSource=S.listMap.toString()}}}buffer(){if(this._cachedBuffer!==undefined)return this._cachedBuffer;if(this._cachedSource!==undefined){if(Buffer.isBuffer(this._cachedSource)){return this._cachedBuffer=this._cachedSource}return this._cachedBuffer=Buffer.from(this._cachedSource,"utf-8")}if(typeof this.original().buffer==="function"){return this._cachedBuffer=this.original().buffer()}const S=this.source();if(Buffer.isBuffer(S)){return this._cachedBuffer=S}return this._cachedBuffer=Buffer.from(S,"utf-8")}size(){if(this._cachedSize!==undefined)return this._cachedSize;if(this._cachedBuffer!==undefined){return this._cachedSize=this._cachedBuffer.length}const S=this._getCachedSource();if(S!==undefined){return this._cachedSize=Buffer.byteLength(S)}return this._cachedSize=this.original().size()}sourceAndMap(S){const E=S?JSON.stringify(S):"{}";const k=this._cachedMaps.get(E);if(k!==undefined){const S=this._getMapFromCacheEntry(k);return{source:this.source(),map:S}}let w=this._getCachedSource();let N;if(w!==undefined){N=this.original().map(S)}else{const E=this.original().sourceAndMap(S);w=E.source;N=E.map;this._cachedSource=w}this._cachedMaps.set(E,{map:N,node:undefined,listMap:undefined,bufferedMap:undefined});return{source:w,map:N}}node(S){const E=S?JSON.stringify(S):"{}";let k=this._cachedMaps.get(E);if(k!==undefined){if(k.node)return k.node;const S=this._getMapFromCacheEntry(k);const E=this.source();const w=sourceAndMapToNode(E,S);k.node=w;return w}let w;const N=this.original();if(typeof N.node==="function"){w=N.node(S);this._cachedMaps.set(E,{map:undefined,node:w,listMap:undefined,bufferedMap:undefined})}else{const k=this.sourceAndMap(S);w=sourceAndMapToNode(k.source,k.map);this._cachedMaps.get(E).node=w}return w}listMap(S){let E;if(!S){E='{"columns":false}';S=te}else{if(S.columns!==false){S=Object.assign({},S,te)}E=JSON.stringify(S)}let k=this._cachedMaps.get(E);if(k!==undefined){if(k.listMap)return k.listMap;const S=this._getMapFromCacheEntry(k);const E=this.source();const w=sourceAndMapToListMap(E,S);k.listMap=w;return w}let w;const N=this.original();if(typeof N.listMap==="function"){w=N.listMap(S);this._cachedMaps.set(E,{map:undefined,node:undefined,listMap:w,bufferedMap:undefined})}else{const k=this.sourceAndMap(S);w=sourceAndMapToListMap(k.source,k.map);this._cachedMaps.get(E).listMap=w}return w}map(S){const E=S?JSON.stringify(S):"{}";const k=this._cachedMaps.get(E);if(k!==undefined){return this._getMapFromCacheEntry(k)}const w=this.original().map(S);this._cachedMaps.set(E,{map:w,node:undefined,listMap:undefined,bufferedMap:undefined});return w}updateHash(S){if(this._cachedHashUpdate!==undefined){for(const E of this._cachedHashUpdate)S.update(E);return}const E=[];let k=undefined;const w={update:S=>{if(typeof S==="string"&&S.length<10240){if(k===undefined){k=S}else{k+=S;if(k>102400){E.push(Buffer.from(k));k=undefined}}}else{if(k!==undefined){E.push(Buffer.from(k));k=undefined}E.push(S)}}};this.original().updateHash(w);if(k!==undefined){E.push(Buffer.from(k))}for(const k of E)S.update(k);this._cachedHashUpdate=E}}S.exports=CachedSource},7961:(S,E,k)=>{"use strict";const w=k(33839);class CompatSource extends w{static from(S){return S instanceof w?S:new CompatSource(S)}constructor(S){super();this._sourceLike=S}source(){return this._sourceLike.source()}buffer(){if(typeof this._sourceLike.buffer==="function"){return this._sourceLike.buffer()}return super.buffer()}size(){if(typeof this._sourceLike.size==="function"){return this._sourceLike.size()}return super.size()}map(S){if(typeof this._sourceLike.map==="function"){return this._sourceLike.map(S)}return super.map(S)}sourceAndMap(S){if(typeof this._sourceLike.sourceAndMap==="function"){return this._sourceLike.sourceAndMap(S)}return super.sourceAndMap(S)}updateHash(S){if(typeof this._sourceLike.updateHash==="function"){return this._sourceLike.updateHash(S)}if(typeof this._sourceLike.map==="function"){throw new Error("A Source-like object with a 'map' method must also provide an 'updateHash' method")}S.update(this.buffer())}}S.exports=CompatSource},96123:(S,E,k)=>{"use strict";const w=k(33839);const N=k(76274);const{SourceNode:j,SourceMapConsumer:q}=k(99596);const{SourceListMap:ee,fromStringWithSourceMap:te}=k(6900);const{getSourceAndMap:ne,getMap:ae}=k(89588);const _e=new WeakSet;class ConcatSource extends w{constructor(){super();this._children=[];for(let S=0;S{if(k===undefined){k=S}else if(Array.isArray(k)){k.push(S)}else{k=[typeof k==="string"?k:k.source(),S]}};const addSourceToRawSources=S=>{if(k===undefined){k=S}else if(Array.isArray(k)){k.push(S.source())}else{k=[typeof k==="string"?k:k.source(),S.source()]}};const mergeRawSources=()=>{if(Array.isArray(k)){const E=new N(k.join(""));_e.add(E);S.push(E)}else if(typeof k==="string"){const E=new N(k);_e.add(E);S.push(E)}else{S.push(k)}};for(const w of this._children){if(typeof w==="string"){if(E===undefined){E=w}else{E+=w}}else{if(E!==undefined){addStringToRawSources(E);E=undefined}if(_e.has(w)){addSourceToRawSources(w)}else{if(k!==undefined){mergeRawSources();k=undefined}S.push(w)}}}if(E!==undefined){addStringToRawSources(E)}if(k!==undefined){mergeRawSources()}this._children=S;this._isOptimized=true}}S.exports=ConcatSource},11176:(S,E,k)=>{"use strict";const w=k(33839);const{SourceNode:N}=k(99596);const{SourceListMap:j}=k(6900);const{getSourceAndMap:q,getMap:ee}=k(89588);const te=/(?!$)[^\n\r;{}]*[\n\r;{}]*/g;function _splitCode(S){return S.match(te)||[]}class OriginalSource extends w{constructor(S,E){super();const k=Buffer.isBuffer(S);this._value=k?undefined:S;this._valueAsBuffer=k?S:undefined;this._name=E}getName(){return this._name}source(){if(this._value===undefined){this._value=this._valueAsBuffer.toString("utf-8")}return this._value}buffer(){if(this._valueAsBuffer===undefined){this._valueAsBuffer=Buffer.from(this._value,"utf-8")}return this._valueAsBuffer}map(S){return ee(this,S)}sourceAndMap(S){return q(this,S)}node(S){if(this._value===undefined){this._value=this._valueAsBuffer.toString("utf-8")}const E=this._value;const k=this._name;const w=E.split("\n");const j=new N(null,null,null,w.map((function(E,j){let q=0;if(S&&S.columns===false){const S=E+(j!==w.length-1?"\n":"");return new N(j+1,0,k,S)}return new N(null,null,null,_splitCode(E+(j!==w.length-1?"\n":"")).map((function(S){if(/^\s*$/.test(S)){q+=S.length;return S}const E=new N(j+1,q,k,S);q+=S.length;return E})))})));j.setSourceContent(k,E);return j}listMap(S){if(this._value===undefined){this._value=this._valueAsBuffer.toString("utf-8")}return new j(this._value,this._name,this._value)}updateHash(S){if(this._valueAsBuffer===undefined){this._valueAsBuffer=Buffer.from(this._value,"utf-8")}S.update("OriginalSource");S.update(this._valueAsBuffer);S.update(this._name||"")}}S.exports=OriginalSource},96276:(S,E,k)=>{"use strict";const w=k(33839);const N=k(76274);const{SourceNode:j}=k(99596);const{getSourceAndMap:q,getMap:ee}=k(89588);const te=/\n(?=.|\s)/g;class PrefixSource extends w{constructor(S,E){super();this._source=typeof E==="string"||Buffer.isBuffer(E)?new N(E,true):E;this._prefix=S}getPrefix(){return this._prefix}original(){return this._source}source(){const S=this._source.source();const E=this._prefix;return E+S.replace(te,"\n"+E)}map(S){return ee(this,S)}sourceAndMap(S){return q(this,S)}node(S){const E=this._source.node(S);const k=this._prefix;const w=[];const N=new j;E.walkSourceContents((function(S,E){N.setSourceContent(S,E)}));let q=true;E.walk((function(S,E){const N=S.split(/(\n)/);for(let S=0;S{"use strict";const w=k(33839);const{SourceNode:N}=k(99596);const{SourceListMap:j}=k(6900);class RawSource extends w{constructor(S,E=false){super();const k=Buffer.isBuffer(S);if(!k&&typeof S!=="string"){throw new TypeError("argument 'value' must be either string of Buffer")}this._valueIsBuffer=!E&&k;this._value=E&&k?undefined:S;this._valueAsBuffer=k?S:undefined}isBuffer(){return this._valueIsBuffer}source(){if(this._value===undefined){this._value=this._valueAsBuffer.toString("utf-8")}return this._value}buffer(){if(this._valueAsBuffer===undefined){this._valueAsBuffer=Buffer.from(this._value,"utf-8")}return this._valueAsBuffer}map(S){return null}node(S){if(this._value===undefined){this._value=this._valueAsBuffer.toString("utf-8")}return new N(null,null,null,this._value)}listMap(S){if(this._value===undefined){this._value=this._valueAsBuffer.toString("utf-8")}return new j(this._value)}updateHash(S){if(this._valueAsBuffer===undefined){this._valueAsBuffer=Buffer.from(this._value,"utf-8")}S.update("RawSource");S.update(this._valueAsBuffer)}}S.exports=RawSource},79722:(S,E,k)=>{"use strict";const w=k(33839);const{SourceNode:N}=k(99596);const{getSourceAndMap:j,getMap:q,getNode:ee,getListMap:te}=k(89588);class Replacement{constructor(S,E,k,w,N){this.start=S;this.end=E;this.content=k;this.insertIndex=w;this.name=N}}class ReplaceSource extends w{constructor(S,E){super();this._source=S;this._name=E;this._replacements=[];this._isSorted=true}getName(){return this._name}getReplacements(){const S=Array.from(this._replacements);S.sort(((S,E)=>S.insertIndex-E.insertIndex));return S}replace(S,E,k,w){if(typeof k!=="string")throw new Error("insertion must be a string, but is a "+typeof k);this._replacements.push(new Replacement(S,E,k,this._replacements.length,w));this._isSorted=false}insert(S,E,k){if(typeof E!=="string")throw new Error("insertion must be a string, but is a "+typeof E+": "+E);this._replacements.push(new Replacement(S,S-1,E,this._replacements.length,k));this._isSorted=false}source(){return this._replaceString(this._source.source())}map(S){if(this._replacements.length===0){return this._source.map(S)}return q(this,S)}sourceAndMap(S){if(this._replacements.length===0){return this._source.sourceAndMap(S)}return j(this,S)}original(){return this._source}_sortReplacements(){if(this._isSorted)return;this._replacements.sort((function(S,E){const k=E.end-S.end;if(k!==0)return k;const w=E.start-S.start;if(w!==0)return w;return E.insertIndex-S.insertIndex}));this._isSorted=true}_replaceString(S){if(typeof S!=="string")throw new Error("str must be a string, but is a "+typeof S+": "+S);this._sortReplacements();const E=[S];this._replacements.forEach((function(S){const k=E.pop();const w=this._splitString(k,Math.floor(S.end+1));const N=this._splitString(w[0],Math.floor(S.start));E.push(w[1],S.content,N[0])}),this);let k="";for(let S=E.length-1;S>=0;--S){k+=E[S]}return k}node(S){const E=ee(this._source,S);if(this._replacements.length===0){return E}this._sortReplacements();const k=new ReplacementEnumerator(this._replacements);const w=[];let j=0;const q=Object.create(null);const te=Object.create(null);const ne=new N;E.walkSourceContents((function(S,E){ne.setSourceContent(S,E);q["$"+S]=E}));const ae=this._replaceInStringNode.bind(this,w,k,(function getOriginalSource(S){const E="$"+S.source;let k=te[E];if(!k){const S=q[E];if(!S)return null;k=S.split("\n").map((function(S){return S+"\n"}));te[E]=k}if(S.line>k.length)return null;const w=k[S.line-1];return w.substr(S.column)}));E.walk((function(S,E){j=ae(S,j,E)}));const _e=k.footer();if(_e){w.push(_e)}ne.add(w);return ne}listMap(S){let E=te(this._source,S);this._sortReplacements();let k=0;const w=this._replacements;let N=w.length-1;let j=0;E=E.mapGeneratedCode((function(S){const E=k+S.length;if(j>S.length){j-=S.length;S=""}else{if(j>0){S=S.substr(j);k+=j;j=0}let q="";while(N>=0&&w[N].start=0){q+=w[N].content;N--}if(q){E.add(q)}return E}_splitString(S,E){return E<=0?["",S]:[S.substr(0,E),S.substr(E)]}_replaceInStringNode(S,E,k,w,j,q){let ee=undefined;do{let te=E.position-j;if(te<0){te=0}if(te>=w.length||E.done){if(E.emit){const E=new N(q.line,q.column,q.source,w,q.name);S.push(E)}return j+w.length}const ne=q.column;let ae;if(te>0){ae=w.slice(0,te);if(ee===undefined){ee=k(q)}if(ee&&ee.length>=te&&ee.startsWith(ae)){q.column+=te;ee=ee.substr(te)}}const _e=E.next();if(!_e){if(te>0){const E=new N(q.line,ne,q.source,ae,q.name);S.push(E)}if(E.value){S.push(new N(q.line,q.column,q.source,E.value,q.name||E.name))}}w=w.substr(te);j+=te}while(true)}updateHash(S){this._sortReplacements();S.update("ReplaceSource");this._source.updateHash(S);S.update(this._name||"");for(const E of this._replacements){S.update(`${E.start}`);S.update(`${E.end}`);S.update(`${E.content}`);S.update(`${E.insertIndex}`);S.update(`${E.name}`)}}}class ReplacementEnumerator{constructor(S){this.replacements=S||[];this.index=this.replacements.length;this.done=false;this.emit=false;this.next()}next(){if(this.done)return true;if(this.emit){const S=this.replacements[this.index];const E=Math.floor(S.end+1);this.position=E;this.value=S.content;this.name=S.name}else{this.index--;if(this.index<0){this.done=true}else{const S=this.replacements[this.index];const E=Math.floor(S.start);this.position=E}}if(this.position<0)this.position=0;this.emit=!this.emit;return this.emit}footer(){if(!this.done&&!this.emit)this.next();if(this.done){return[]}else{let S="";for(let E=this.index;E>=0;E--){const k=this.replacements[E];S+=k.content}return S}}}S.exports=ReplaceSource},93883:(S,E,k)=>{"use strict";const w=k(33839);class SizeOnlySource extends w{constructor(S){super();this._size=S}_error(){return new Error("Content and Map of this Source is not available (only size() is supported)")}size(){return this._size}source(){throw this._error()}buffer(){throw this._error()}map(S){throw this._error()}updateHash(){throw this._error()}}S.exports=SizeOnlySource},33839:S=>{"use strict";class Source{source(){throw new Error("Abstract")}buffer(){const S=this.source();if(Buffer.isBuffer(S))return S;return Buffer.from(S,"utf-8")}size(){return this.buffer().length}map(S){return null}sourceAndMap(S){return{source:this.source(),map:this.map(S)}}updateHash(S){throw new Error("Abstract")}}S.exports=Source},82340:(S,E,k)=>{"use strict";const w=k(33839);const{SourceNode:N,SourceMapConsumer:j}=k(99596);const{SourceListMap:q,fromStringWithSourceMap:ee}=k(6900);const{getSourceAndMap:te,getMap:ne}=k(89588);const ae=k(70701);class SourceMapSource extends w{constructor(S,E,k,w,N,j){super();const q=Buffer.isBuffer(S);this._valueAsString=q?undefined:S;this._valueAsBuffer=q?S:undefined;this._name=E;this._hasSourceMap=!!k;const ee=Buffer.isBuffer(k);const te=typeof k==="string";this._sourceMapAsObject=ee||te?undefined:k;this._sourceMapAsString=te?k:undefined;this._sourceMapAsBuffer=ee?k:undefined;this._hasOriginalSource=!!w;const ne=Buffer.isBuffer(w);this._originalSourceAsString=ne?undefined:w;this._originalSourceAsBuffer=ne?w:undefined;this._hasInnerSourceMap=!!N;const ae=Buffer.isBuffer(N);const _e=typeof N==="string";this._innerSourceMapAsObject=ae||_e?undefined:N;this._innerSourceMapAsString=_e?N:undefined;this._innerSourceMapAsBuffer=ae?N:undefined;this._removeOriginalSource=j}_ensureValueBuffer(){if(this._valueAsBuffer===undefined){this._valueAsBuffer=Buffer.from(this._valueAsString,"utf-8")}}_ensureValueString(){if(this._valueAsString===undefined){this._valueAsString=this._valueAsBuffer.toString("utf-8")}}_ensureOriginalSourceBuffer(){if(this._originalSourceAsBuffer===undefined&&this._hasOriginalSource){this._originalSourceAsBuffer=Buffer.from(this._originalSourceAsString,"utf-8")}}_ensureOriginalSourceString(){if(this._originalSourceAsString===undefined&&this._hasOriginalSource){this._originalSourceAsString=this._originalSourceAsBuffer.toString("utf-8")}}_ensureInnerSourceMapObject(){if(this._innerSourceMapAsObject===undefined&&this._hasInnerSourceMap){this._ensureInnerSourceMapString();this._innerSourceMapAsObject=JSON.parse(this._innerSourceMapAsString)}}_ensureInnerSourceMapBuffer(){if(this._innerSourceMapAsBuffer===undefined&&this._hasInnerSourceMap){this._ensureInnerSourceMapString();this._innerSourceMapAsBuffer=Buffer.from(this._innerSourceMapAsString,"utf-8")}}_ensureInnerSourceMapString(){if(this._innerSourceMapAsString===undefined&&this._hasInnerSourceMap){if(this._innerSourceMapAsBuffer!==undefined){this._innerSourceMapAsString=this._innerSourceMapAsBuffer.toString("utf-8")}else{this._innerSourceMapAsString=JSON.stringify(this._innerSourceMapAsObject)}}}_ensureSourceMapObject(){if(this._sourceMapAsObject===undefined){this._ensureSourceMapString();this._sourceMapAsObject=JSON.parse(this._sourceMapAsString)}}_ensureSourceMapBuffer(){if(this._sourceMapAsBuffer===undefined){this._ensureSourceMapString();this._sourceMapAsBuffer=Buffer.from(this._sourceMapAsString,"utf-8")}}_ensureSourceMapString(){if(this._sourceMapAsString===undefined){if(this._sourceMapAsBuffer!==undefined){this._sourceMapAsString=this._sourceMapAsBuffer.toString("utf-8")}else{this._sourceMapAsString=JSON.stringify(this._sourceMapAsObject)}}}getArgsAsBuffers(){this._ensureValueBuffer();this._ensureSourceMapBuffer();this._ensureOriginalSourceBuffer();this._ensureInnerSourceMapBuffer();return[this._valueAsBuffer,this._name,this._sourceMapAsBuffer,this._originalSourceAsBuffer,this._innerSourceMapAsBuffer,this._removeOriginalSource]}source(){this._ensureValueString();return this._valueAsString}map(S){if(!this._hasInnerSourceMap){this._ensureSourceMapObject();return this._sourceMapAsObject}return ne(this,S)}sourceAndMap(S){if(!this._hasInnerSourceMap){this._ensureValueString();this._ensureSourceMapObject();return{source:this._valueAsString,map:this._sourceMapAsObject}}return te(this,S)}node(S){this._ensureValueString();this._ensureSourceMapObject();this._ensureOriginalSourceString();let E=N.fromStringWithSourceMap(this._valueAsString,new j(this._sourceMapAsObject));E.setSourceContent(this._name,this._originalSourceAsString);if(this._hasInnerSourceMap){this._ensureInnerSourceMapObject();E=ae(E,new j(this._innerSourceMapAsObject),this._name,this._removeOriginalSource)}return E}listMap(S){this._ensureValueString();this._ensureSourceMapObject();S=S||{};if(S.module===false)return new q(this._valueAsString,this._name,this._valueAsString);return ee(this._valueAsString,this._sourceMapAsObject)}updateHash(S){this._ensureValueBuffer();this._ensureSourceMapBuffer();this._ensureOriginalSourceBuffer();this._ensureInnerSourceMapBuffer();S.update("SourceMapSource");S.update(this._valueAsBuffer);S.update(this._sourceMapAsBuffer);if(this._hasOriginalSource){S.update(this._originalSourceAsBuffer)}if(this._hasInnerSourceMap){S.update(this._innerSourceMapAsBuffer)}S.update(this._removeOriginalSource?"true":"false")}}S.exports=SourceMapSource},70701:(S,E,k)=>{"use strict";const w=k(99596).SourceNode;const N=k(99596).SourceMapConsumer;const applySourceMap=function(S,E,k,j){const q=new w;const ee=[];const te={};const ne={};const ae={};const _e={};E.eachMapping((function(S){(ne[S.generatedLine]=ne[S.generatedLine]||[]).push(S)}),null,N.GENERATED_ORDER);const findM2rMapping=(S,E)=>{const k=ne[S];let w=0;let N=k.length;while(w>1;if(k[S].generatedColumn<=E){w=S+1}else{N=S}}if(w===0)return undefined;return k[w-1]};S.walkSourceContents((function(S,E){te["$"+S]=E}));const ve=te["$"+k];const Ee=ve?ve.split("\n"):undefined;S.walk((function(S,N){if(N.source===k&&N.line&&ne[N.line]){let k=findM2rMapping(N.line,N.column);if(k){let j=false;let te;let ne;let ve;const Te=k.source;if(Ee&&Te&&(te=Ee[k.generatedLine-1])&&((ve=_e[Te])||(ne=E.sourceContentFor(Te,true)))){if(!ve){ve=_e[Te]=ne.split("\n")}const S=ve[k.originalLine-1];if(S){const E=N.column-k.generatedColumn;if(E>0){const w=te.slice(k.generatedColumn,N.column);const j=S.slice(k.originalColumn,k.originalColumn+E);if(w===j){k=Object.assign({},k,{originalColumn:k.originalColumn+E,generatedColumn:N.column,name:undefined})}}if(!k.name&&N.name){j=S.slice(k.originalColumn,k.originalColumn+N.name.length)===N.name}}}let Ce=k.source;if(Ce&&Ce!=="."){ee.push(new w(k.originalLine,k.originalColumn,Ce,S,j?N.name:k.name));if(!("$"+Ce in ae)){ae["$"+Ce]=true;const S=E.sourceContentFor(Ce,true);if(S){q.setSourceContent(Ce,S)}}return}}}if(j&&N.source===k||!N.source){ee.push(S);return}const ve=N.source;ee.push(new w(N.line,N.column,ve,S,N.name));if("$"+ve in te){if(!("$"+ve in ae)){q.setSourceContent(ve,te["$"+ve]);delete te["$"+ve]}}}));q.add(ee);return q};S.exports=applySourceMap},89588:(S,E,k)=>{"use strict";const{SourceNode:w,SourceMapConsumer:N}=k(99596);const{SourceListMap:j,fromStringWithSourceMap:q}=k(6900);E.getSourceAndMap=(S,E)=>{let k;let w;if(E&&E.columns===false){const N=S.listMap(E).toStringWithSourceMap({file:"x"});k=N.source;w=N.map}else{const N=S.node(E).toStringWithSourceMap({file:"x"});k=N.code;w=N.map.toJSON()}if(!w||!w.sources||w.sources.length===0)w=null;return{source:k,map:w}};E.getMap=(S,E)=>{let k;if(E&&E.columns===false){k=S.listMap(E).toStringWithSourceMap({file:"x"}).map}else{k=S.node(E).toStringWithSourceMap({file:"x"}).map.toJSON()}if(!k||!k.sources||k.sources.length===0)return null;return k};E.getNode=(S,E)=>{if(typeof S.node==="function"){return S.node(E)}else{const k=S.sourceAndMap(E);if(k.map){return w.fromStringWithSourceMap(k.source,new N(k.map))}else{return new w(null,null,null,k.source)}}};E.getListMap=(S,E)=>{if(typeof S.listMap==="function"){return S.listMap(E)}else{const k=S.sourceAndMap(E);if(k.map){return q(k.source,k.map)}else{return new j(k.source)}}}},48135:(S,E,k)=>{const defineExport=(S,k)=>{let w;Object.defineProperty(E,S,{get:()=>{if(k!==undefined){w=k();k=undefined}return w},configurable:true})};defineExport("Source",(()=>k(33839)));defineExport("RawSource",(()=>k(76274)));defineExport("OriginalSource",(()=>k(11176)));defineExport("SourceMapSource",(()=>k(82340)));defineExport("CachedSource",(()=>k(76185)));defineExport("ConcatSource",(()=>k(96123)));defineExport("ReplaceSource",(()=>k(79722)));defineExport("PrefixSource",(()=>k(96276)));defineExport("SizeOnlySource",(()=>k(93883)));defineExport("CompatSource",(()=>k(7961)))},63221:S=>{const E=/^(?:[A-Za-z]:[\\/]|\\\\|\/)/;S.exports=Se,S.exports.default=Se;const k={amd:{$ref:"#/definitions/Amd"},bail:{$ref:"#/definitions/Bail"},cache:{$ref:"#/definitions/CacheOptions"},context:{$ref:"#/definitions/Context"},dependencies:{$ref:"#/definitions/Dependencies"},devServer:{$ref:"#/definitions/DevServer"},devtool:{$ref:"#/definitions/DevTool"},entry:{$ref:"#/definitions/Entry"},experiments:{$ref:"#/definitions/Experiments"},externals:{$ref:"#/definitions/Externals"},externalsPresets:{$ref:"#/definitions/ExternalsPresets"},externalsType:{$ref:"#/definitions/ExternalsType"},ignoreWarnings:{$ref:"#/definitions/IgnoreWarnings"},infrastructureLogging:{$ref:"#/definitions/InfrastructureLogging"},loader:{$ref:"#/definitions/Loader"},mode:{$ref:"#/definitions/Mode"},module:{$ref:"#/definitions/ModuleOptions"},name:{$ref:"#/definitions/Name"},node:{$ref:"#/definitions/Node"},optimization:{$ref:"#/definitions/Optimization"},output:{$ref:"#/definitions/Output"},parallelism:{$ref:"#/definitions/Parallelism"},performance:{$ref:"#/definitions/Performance"},plugins:{$ref:"#/definitions/Plugins"},profile:{$ref:"#/definitions/Profile"},recordsInputPath:{$ref:"#/definitions/RecordsInputPath"},recordsOutputPath:{$ref:"#/definitions/RecordsOutputPath"},recordsPath:{$ref:"#/definitions/RecordsPath"},resolve:{$ref:"#/definitions/Resolve"},resolveLoader:{$ref:"#/definitions/ResolveLoader"},snapshot:{$ref:"#/definitions/SnapshotOptions"},stats:{$ref:"#/definitions/StatsValue"},target:{$ref:"#/definitions/Target"},watch:{$ref:"#/definitions/Watch"},watchOptions:{$ref:"#/definitions/WatchOptions"}},w=Object.prototype.hasOwnProperty,N={allowCollectingMemory:{type:"boolean"},buildDependencies:{type:"object",additionalProperties:{type:"array",items:{type:"string",minLength:1}}},cacheDirectory:{type:"string",absolutePath:!0},cacheLocation:{type:"string",absolutePath:!0},compression:{enum:[!1,"gzip","brotli"]},hashAlgorithm:{type:"string"},idleTimeout:{type:"number",minimum:0},idleTimeoutAfterLargeChanges:{type:"number",minimum:0},idleTimeoutForInitialStore:{type:"number",minimum:0},immutablePaths:{type:"array",items:{type:"string",absolutePath:!0,minLength:1}},managedPaths:{type:"array",items:{type:"string",absolutePath:!0,minLength:1}},maxAge:{type:"number",minimum:0},maxMemoryGenerations:{type:"number",minimum:0},name:{type:"string"},profile:{type:"boolean"},store:{enum:["pack"]},type:{enum:["filesystem"]},version:{type:"string"}};function s(S,{instancePath:k="",parentData:j,parentDataProperty:q,rootData:ee=S}={}){let te=null,ne=0;const ae=ne;let _e=!1;const ve=ne;if(!1!==S){const S={params:{}};null===te?te=[S]:te.push(S),ne++}var Ee=ve===ne;if(_e=_e||Ee,!_e){const k=ne;if(ne==ne)if(S&&"object"==typeof S&&!Array.isArray(S)){let E;if(void 0===S.type&&(E="type")){const S={params:{missingProperty:E}};null===te?te=[S]:te.push(S),ne++}else{const E=ne;for(const E in S)if("maxGenerations"!==E&&"type"!==E){const S={params:{additionalProperty:E}};null===te?te=[S]:te.push(S),ne++;break}if(E===ne){if(void 0!==S.maxGenerations){let E=S.maxGenerations;const k=ne;if(ne===k)if("number"==typeof E&&isFinite(E)){if(E<1||isNaN(E)){const S={params:{comparison:">=",limit:1}};null===te?te=[S]:te.push(S),ne++}}else{const S={params:{type:"number"}};null===te?te=[S]:te.push(S),ne++}var Te=k===ne}else Te=!0;if(Te)if(void 0!==S.type){const E=ne;if("memory"!==S.type){const S={params:{}};null===te?te=[S]:te.push(S),ne++}Te=E===ne}else Te=!0}}}else{const S={params:{type:"object"}};null===te?te=[S]:te.push(S),ne++}if(Ee=k===ne,_e=_e||Ee,!_e){const k=ne;if(ne==ne)if(S&&"object"==typeof S&&!Array.isArray(S)){let k;if(void 0===S.type&&(k="type")){const S={params:{missingProperty:k}};null===te?te=[S]:te.push(S),ne++}else{const k=ne;for(const E in S)if(!w.call(N,E)){const S={params:{additionalProperty:E}};null===te?te=[S]:te.push(S),ne++;break}if(k===ne){if(void 0!==S.allowCollectingMemory){const E=ne;if("boolean"!=typeof S.allowCollectingMemory){const S={params:{type:"boolean"}};null===te?te=[S]:te.push(S),ne++}var Ce=E===ne}else Ce=!0;if(Ce){if(void 0!==S.buildDependencies){let E=S.buildDependencies;const k=ne;if(ne===k)if(E&&"object"==typeof E&&!Array.isArray(E))for(const S in E){let k=E[S];const w=ne;if(ne===w)if(Array.isArray(k)){const S=k.length;for(let E=0;E=",limit:0}};null===te?te=[S]:te.push(S),ne++}}else{const S={params:{type:"number"}};null===te?te=[S]:te.push(S),ne++}Ce=k===ne}else Ce=!0;if(Ce){if(void 0!==S.idleTimeoutAfterLargeChanges){let E=S.idleTimeoutAfterLargeChanges;const k=ne;if(ne===k)if("number"==typeof E&&isFinite(E)){if(E<0||isNaN(E)){const S={params:{comparison:">=",limit:0}};null===te?te=[S]:te.push(S),ne++}}else{const S={params:{type:"number"}};null===te?te=[S]:te.push(S),ne++}Ce=k===ne}else Ce=!0;if(Ce){if(void 0!==S.idleTimeoutForInitialStore){let E=S.idleTimeoutForInitialStore;const k=ne;if(ne===k)if("number"==typeof E&&isFinite(E)){if(E<0||isNaN(E)){const S={params:{comparison:">=",limit:0}};null===te?te=[S]:te.push(S),ne++}}else{const S={params:{type:"number"}};null===te?te=[S]:te.push(S),ne++}Ce=k===ne}else Ce=!0;if(Ce){if(void 0!==S.immutablePaths){let k=S.immutablePaths;const w=ne;if(ne===w)if(Array.isArray(k)){const S=k.length;for(let w=0;w=",limit:0}};null===te?te=[S]:te.push(S),ne++}}else{const S={params:{type:"number"}};null===te?te=[S]:te.push(S),ne++}Ce=k===ne}else Ce=!0;if(Ce){if(void 0!==S.maxMemoryGenerations){let E=S.maxMemoryGenerations;const k=ne;if(ne===k)if("number"==typeof E&&isFinite(E)){if(E<0||isNaN(E)){const S={params:{comparison:">=",limit:0}};null===te?te=[S]:te.push(S),ne++}}else{const S={params:{type:"number"}};null===te?te=[S]:te.push(S),ne++}Ce=k===ne}else Ce=!0;if(Ce){if(void 0!==S.name){const E=ne;if("string"!=typeof S.name){const S={params:{type:"string"}};null===te?te=[S]:te.push(S),ne++}Ce=E===ne}else Ce=!0;if(Ce){if(void 0!==S.profile){const E=ne;if("boolean"!=typeof S.profile){const S={params:{type:"boolean"}};null===te?te=[S]:te.push(S),ne++}Ce=E===ne}else Ce=!0;if(Ce){if(void 0!==S.store){const E=ne;if("pack"!==S.store){const S={params:{}};null===te?te=[S]:te.push(S),ne++}Ce=E===ne}else Ce=!0;if(Ce){if(void 0!==S.type){const E=ne;if("filesystem"!==S.type){const S={params:{}};null===te?te=[S]:te.push(S),ne++}Ce=E===ne}else Ce=!0;if(Ce)if(void 0!==S.version){const E=ne;if("string"!=typeof S.version){const S={params:{type:"string"}};null===te?te=[S]:te.push(S),ne++}Ce=E===ne}else Ce=!0}}}}}}}}}}}}}}}}}}}else{const S={params:{type:"object"}};null===te?te=[S]:te.push(S),ne++}Ee=k===ne,_e=_e||Ee}}if(!_e){const S={params:{}};return null===te?te=[S]:te.push(S),ne++,s.errors=te,!1}return ne=ae,null!==te&&(ae?te.length=ae:te=null),s.errors=te,0===ne}function o(S,{instancePath:E="",parentData:k,parentDataProperty:w,rootData:N=S}={}){let j=null,q=0;const ee=q;let te=!1;const ne=q;if(!0!==S){const S={params:{}};null===j?j=[S]:j.push(S),q++}var ae=ne===q;if(te=te||ae,!te){const ee=q;s(S,{instancePath:E,parentData:k,parentDataProperty:w,rootData:N})||(j=null===j?s.errors:j.concat(s.errors),q=j.length),ae=ee===q,te=te||ae}if(!te){const S={params:{}};return null===j?j=[S]:j.push(S),q++,o.errors=j,!1}return q=ee,null!==j&&(ee?j.length=ee:j=null),o.errors=j,0===q}const j={chunkLoading:{$ref:"#/definitions/ChunkLoading"},dependOn:{anyOf:[{type:"array",items:{type:"string",minLength:1},minItems:1,uniqueItems:!0},{type:"string",minLength:1}]},filename:{$ref:"#/definitions/EntryFilename"},import:{$ref:"#/definitions/EntryItem"},layer:{$ref:"#/definitions/Layer"},library:{$ref:"#/definitions/LibraryOptions"},publicPath:{$ref:"#/definitions/PublicPath"},runtime:{$ref:"#/definitions/EntryRuntime"},wasmLoading:{$ref:"#/definitions/WasmLoading"}};function i(S,{instancePath:E="",parentData:k,parentDataProperty:w,rootData:N=S}={}){let j=null,q=0;const ee=q;let te=!1;const ne=q;if(!1!==S){const S={params:{}};null===j?j=[S]:j.push(S),q++}var ae=ne===q;if(te=te||ae,!te){const E=q,k=q;let w=!1;const N=q;if("jsonp"!==S&&"import-scripts"!==S&&"require"!==S&&"async-node"!==S&&"import"!==S){const S={params:{}};null===j?j=[S]:j.push(S),q++}var _e=N===q;if(w=w||_e,!w){const E=q;if("string"!=typeof S){const S={params:{type:"string"}};null===j?j=[S]:j.push(S),q++}_e=E===q,w=w||_e}if(w)q=k,null!==j&&(k?j.length=k:j=null);else{const S={params:{}};null===j?j=[S]:j.push(S),q++}ae=E===q,te=te||ae}if(!te){const S={params:{}};return null===j?j=[S]:j.push(S),q++,i.errors=j,!1}return q=ee,null!==j&&(ee?j.length=ee:j=null),i.errors=j,0===q}function l(S,{instancePath:k="",parentData:w,parentDataProperty:N,rootData:j=S}={}){let q=null,ee=0;const te=ee;let ne=!1,ae=null;const _e=ee,ve=ee;let Ee=!1;const Te=ee;if(ee===Te)if("string"==typeof S){if(S.includes("!")||!1!==E.test(S)){const S={params:{}};null===q?q=[S]:q.push(S),ee++}else if(S.length<1){const S={params:{}};null===q?q=[S]:q.push(S),ee++}}else{const S={params:{type:"string"}};null===q?q=[S]:q.push(S),ee++}var Ce=Te===ee;if(Ee=Ee||Ce,!Ee){const E=ee;if(!(S instanceof Function)){const S={params:{}};null===q?q=[S]:q.push(S),ee++}Ce=E===ee,Ee=Ee||Ce}if(Ee)ee=ve,null!==q&&(ve?q.length=ve:q=null);else{const S={params:{}};null===q?q=[S]:q.push(S),ee++}if(_e===ee&&(ne=!0,ae=0),!ne){const S={params:{passingSchemas:ae}};return null===q?q=[S]:q.push(S),ee++,l.errors=q,!1}return ee=te,null!==q&&(te?q.length=te:q=null),l.errors=q,0===ee}function p(S,{instancePath:E="",parentData:k,parentDataProperty:w,rootData:N=S}={}){let j=null,q=0;const ee=q;let te=!1;const ne=q;if("string"!=typeof S){const S={params:{type:"string"}};null===j?j=[S]:j.push(S),q++}var ae=ne===q;if(te=te||ae,!te){const E=q;if(q==q)if(S&&"object"==typeof S&&!Array.isArray(S)){const E=q;for(const E in S)if("amd"!==E&&"commonjs"!==E&&"commonjs2"!==E&&"root"!==E){const S={params:{additionalProperty:E}};null===j?j=[S]:j.push(S),q++;break}if(E===q){if(void 0!==S.amd){const E=q;if("string"!=typeof S.amd){const S={params:{type:"string"}};null===j?j=[S]:j.push(S),q++}var _e=E===q}else _e=!0;if(_e){if(void 0!==S.commonjs){const E=q;if("string"!=typeof S.commonjs){const S={params:{type:"string"}};null===j?j=[S]:j.push(S),q++}_e=E===q}else _e=!0;if(_e){if(void 0!==S.commonjs2){const E=q;if("string"!=typeof S.commonjs2){const S={params:{type:"string"}};null===j?j=[S]:j.push(S),q++}_e=E===q}else _e=!0;if(_e)if(void 0!==S.root){const E=q;if("string"!=typeof S.root){const S={params:{type:"string"}};null===j?j=[S]:j.push(S),q++}_e=E===q}else _e=!0}}}}else{const S={params:{type:"object"}};null===j?j=[S]:j.push(S),q++}ae=E===q,te=te||ae}if(!te){const S={params:{}};return null===j?j=[S]:j.push(S),q++,p.errors=j,!1}return q=ee,null!==j&&(ee?j.length=ee:j=null),p.errors=j,0===q}function f(S,{instancePath:E="",parentData:k,parentDataProperty:w,rootData:N=S}={}){let j=null,q=0;const ee=q;let te=!1;const ne=q;if(q===ne)if(Array.isArray(S))if(S.length<1){const S={params:{limit:1}};null===j?j=[S]:j.push(S),q++}else{const E=S.length;for(let k=0;k1){const w={};for(;k--;){let N=E[k];if("string"==typeof N){if("number"==typeof w[N]){S=w[N];const E={params:{i:k,j:S}};null===ee?ee=[E]:ee.push(E),te++;break}w[N]=k}}}}}else{const S={params:{type:"array"}};null===ee?ee=[S]:ee.push(S),te++}var _e=j===te;if(N=N||_e,!N){const S=te;if(te===S)if("string"==typeof E){if(E.length<1){const S={params:{}};null===ee?ee=[S]:ee.push(S),te++}}else{const S={params:{type:"string"}};null===ee?ee=[S]:ee.push(S),te++}_e=S===te,N=N||_e}if(!N){const S={params:{}};return null===ee?ee=[S]:ee.push(S),te++,y.errors=ee,!1}te=w,null!==ee&&(w?ee.length=w:ee=null),ne=k===te}else ne=!0;if(ne){if(void 0!==S.filename){const k=te;l(S.filename,{instancePath:E+"/filename",parentData:S,parentDataProperty:"filename",rootData:q})||(ee=null===ee?l.errors:ee.concat(l.errors),te=ee.length),ne=k===te}else ne=!0;if(ne){if(void 0!==S.import){let E=S.import;const k=te,w=te;let N=!1;const j=te;if(te===j)if(Array.isArray(E))if(E.length<1){const S={params:{limit:1}};null===ee?ee=[S]:ee.push(S),te++}else{var ve=!0;const S=E.length;for(let k=0;k1){const w={};for(;k--;){let N=E[k];if("string"==typeof N){if("number"==typeof w[N]){S=w[N];const E={params:{i:k,j:S}};null===ee?ee=[E]:ee.push(E),te++;break}w[N]=k}}}}}else{const S={params:{type:"array"}};null===ee?ee=[S]:ee.push(S),te++}var Ee=j===te;if(N=N||Ee,!N){const S=te;if(te===S)if("string"==typeof E){if(E.length<1){const S={params:{}};null===ee?ee=[S]:ee.push(S),te++}}else{const S={params:{type:"string"}};null===ee?ee=[S]:ee.push(S),te++}Ee=S===te,N=N||Ee}if(!N){const S={params:{}};return null===ee?ee=[S]:ee.push(S),te++,y.errors=ee,!1}te=w,null!==ee&&(w?ee.length=w:ee=null),ne=k===te}else ne=!0;if(ne){if(void 0!==S.layer){let E=S.layer;const k=te,w=te;let N=!1;const j=te;if(null!==E){const S={params:{}};null===ee?ee=[S]:ee.push(S),te++}var Te=j===te;if(N=N||Te,!N){const S=te;if(te===S)if("string"==typeof E){if(E.length<1){const S={params:{}};null===ee?ee=[S]:ee.push(S),te++}}else{const S={params:{type:"string"}};null===ee?ee=[S]:ee.push(S),te++}Te=S===te,N=N||Te}if(!N){const S={params:{}};return null===ee?ee=[S]:ee.push(S),te++,y.errors=ee,!1}te=w,null!==ee&&(w?ee.length=w:ee=null),ne=k===te}else ne=!0;if(ne){if(void 0!==S.library){const k=te;u(S.library,{instancePath:E+"/library",parentData:S,parentDataProperty:"library",rootData:q})||(ee=null===ee?u.errors:ee.concat(u.errors),te=ee.length),ne=k===te}else ne=!0;if(ne){if(void 0!==S.publicPath){const k=te;c(S.publicPath,{instancePath:E+"/publicPath",parentData:S,parentDataProperty:"publicPath",rootData:q})||(ee=null===ee?c.errors:ee.concat(c.errors),te=ee.length),ne=k===te}else ne=!0;if(ne){if(void 0!==S.runtime){let E=S.runtime;const k=te,w=te;let N=!1;const j=te;if(!1!==E){const S={params:{}};null===ee?ee=[S]:ee.push(S),te++}var Ce=j===te;if(N=N||Ce,!N){const S=te;if(te===S)if("string"==typeof E){if(E.length<1){const S={params:{}};null===ee?ee=[S]:ee.push(S),te++}}else{const S={params:{type:"string"}};null===ee?ee=[S]:ee.push(S),te++}Ce=S===te,N=N||Ce}if(!N){const S={params:{}};return null===ee?ee=[S]:ee.push(S),te++,y.errors=ee,!1}te=w,null!==ee&&(w?ee.length=w:ee=null),ne=k===te}else ne=!0;if(ne)if(void 0!==S.wasmLoading){const k=te;m(S.wasmLoading,{instancePath:E+"/wasmLoading",parentData:S,parentDataProperty:"wasmLoading",rootData:q})||(ee=null===ee?m.errors:ee.concat(m.errors),te=ee.length),ne=k===te}else ne=!0}}}}}}}}}}}return y.errors=ee,0===te}function h(S,{instancePath:E="",parentData:k,parentDataProperty:w,rootData:N=S}={}){let j=null,q=0;if(0===q){if(!S||"object"!=typeof S||Array.isArray(S))return h.errors=[{params:{type:"object"}}],!1;for(const k in S){let w=S[k];const ae=q,_e=q;let ve=!1;const Ee=q,Te=q;let Ce=!1;const we=q;if(q===we)if(Array.isArray(w))if(w.length<1){const S={params:{limit:1}};null===j?j=[S]:j.push(S),q++}else{var ee=!0;const S=w.length;for(let E=0;E1){const k={};for(;E--;){let N=w[E];if("string"==typeof N){if("number"==typeof k[N]){S=k[N];const w={params:{i:E,j:S}};null===j?j=[w]:j.push(w),q++;break}k[N]=E}}}}}else{const S={params:{type:"array"}};null===j?j=[S]:j.push(S),q++}var te=we===q;if(Ce=Ce||te,!Ce){const S=q;if(q===S)if("string"==typeof w){if(w.length<1){const S={params:{}};null===j?j=[S]:j.push(S),q++}}else{const S={params:{type:"string"}};null===j?j=[S]:j.push(S),q++}te=S===q,Ce=Ce||te}if(Ce)q=Te,null!==j&&(Te?j.length=Te:j=null);else{const S={params:{}};null===j?j=[S]:j.push(S),q++}var ne=Ee===q;if(ve=ve||ne,!ve){const ee=q;y(w,{instancePath:E+"/"+k.replace(/~/g,"~0").replace(/\//g,"~1"),parentData:S,parentDataProperty:k,rootData:N})||(j=null===j?y.errors:j.concat(y.errors),q=j.length),ne=ee===q,ve=ve||ne}if(!ve){const S={params:{}};return null===j?j=[S]:j.push(S),q++,h.errors=j,!1}if(q=_e,null!==j&&(_e?j.length=_e:j=null),ae!==q)break}}return h.errors=j,0===q}function d(S,{instancePath:E="",parentData:k,parentDataProperty:w,rootData:N=S}={}){let j=null,q=0;const ee=q;let te=!1,ne=null;const ae=q,_e=q;let ve=!1;const Ee=q;if(q===Ee)if(Array.isArray(S))if(S.length<1){const S={params:{limit:1}};null===j?j=[S]:j.push(S),q++}else{var Te=!0;const E=S.length;for(let k=0;k1){const w={};for(;k--;){let N=S[k];if("string"==typeof N){if("number"==typeof w[N]){E=w[N];const S={params:{i:k,j:E}};null===j?j=[S]:j.push(S),q++;break}w[N]=k}}}}}else{const S={params:{type:"array"}};null===j?j=[S]:j.push(S),q++}var Ce=Ee===q;if(ve=ve||Ce,!ve){const E=q;if(q===E)if("string"==typeof S){if(S.length<1){const S={params:{}};null===j?j=[S]:j.push(S),q++}}else{const S={params:{type:"string"}};null===j?j=[S]:j.push(S),q++}Ce=E===q,ve=ve||Ce}if(ve)q=_e,null!==j&&(_e?j.length=_e:j=null);else{const S={params:{}};null===j?j=[S]:j.push(S),q++}if(ae===q&&(te=!0,ne=0),!te){const S={params:{passingSchemas:ne}};return null===j?j=[S]:j.push(S),q++,d.errors=j,!1}return q=ee,null!==j&&(ee?j.length=ee:j=null),d.errors=j,0===q}function g(S,{instancePath:E="",parentData:k,parentDataProperty:w,rootData:N=S}={}){let j=null,q=0;const ee=q;let te=!1;const ne=q;h(S,{instancePath:E,parentData:k,parentDataProperty:w,rootData:N})||(j=null===j?h.errors:j.concat(h.errors),q=j.length);var ae=ne===q;if(te=te||ae,!te){const ee=q;d(S,{instancePath:E,parentData:k,parentDataProperty:w,rootData:N})||(j=null===j?d.errors:j.concat(d.errors),q=j.length),ae=ee===q,te=te||ae}if(!te){const S={params:{}};return null===j?j=[S]:j.push(S),q++,g.errors=j,!1}return q=ee,null!==j&&(ee?j.length=ee:j=null),g.errors=j,0===q}function b(S,{instancePath:E="",parentData:k,parentDataProperty:w,rootData:N=S}={}){let j=null,q=0;const ee=q;let te=!1;const ne=q;if(!(S instanceof Function)){const S={params:{}};null===j?j=[S]:j.push(S),q++}var ae=ne===q;if(te=te||ae,!te){const ee=q;g(S,{instancePath:E,parentData:k,parentDataProperty:w,rootData:N})||(j=null===j?g.errors:j.concat(g.errors),q=j.length),ae=ee===q,te=te||ae}if(!te){const S={params:{}};return null===j?j=[S]:j.push(S),q++,b.errors=j,!1}return q=ee,null!==j&&(ee?j.length=ee:j=null),b.errors=j,0===q}const q={validate:D};function D(S,{instancePath:E="",parentData:k,parentDataProperty:w,rootData:N=S}={}){let j=null,ee=0;const te=ee;let ne=!1;const ae=ee;if(!(S instanceof RegExp)){const S={params:{}};null===j?j=[S]:j.push(S),ee++}var _e=ae===ee;if(ne=ne||_e,!ne){const k=ee;if("string"!=typeof S){const S={params:{type:"string"}};null===j?j=[S]:j.push(S),ee++}if(_e=k===ee,ne=ne||_e,!ne){const k=ee;if(ee===k)if(S&&"object"==typeof S&&!Array.isArray(S)){const k=ee;for(const E in S)if("byLayer"!==E){let k=S[E];const w=ee,N=ee;let q=!1;const te=ee;if(ee===te)if(Array.isArray(k)){const S=k.length;for(let E=0;E=",limit:0}};null===ee?ee=[S]:ee.push(S),te++}}else{const S={params:{type:"number"}};null===ee?ee=[S]:ee.push(S),te++}var _e=Ee===te;if(ve=ve||_e,!ve){const S=te;if(te===S)if(E&&"object"==typeof E&&!Array.isArray(E))for(const S in E){let k=E[S];const w=te;if("number"!=typeof k||!isFinite(k)){const S={params:{type:"number"}};null===ee?ee=[S]:ee.push(S),te++}if(w!==te)break}else{const S={params:{type:"object"}};null===ee?ee=[S]:ee.push(S),te++}_e=S===te,ve=ve||_e}if(ve)te=ae,null!==ee&&(ae?ee.length=ae:ee=null);else{const S={params:{}};null===ee?ee=[S]:ee.push(S),te++}if(q===te&&(N=!0,j=0),!N){const S={params:{passingSchemas:j}};return null===ee?ee=[S]:ee.push(S),te++,re.errors=ee,!1}te=w,null!==ee&&(w?ee.length=w:ee=null),ne=k===te}else ne=!0;if(ne){if(void 0!==S.filename){let k=S.filename;const w=te,N=te;let j=!1;const q=te;if(te===q)if("string"==typeof k){if(k.includes("!")||!1!==E.test(k)){const S={params:{}};null===ee?ee=[S]:ee.push(S),te++}else if(k.length<1){const S={params:{}};null===ee?ee=[S]:ee.push(S),te++}}else{const S={params:{type:"string"}};null===ee?ee=[S]:ee.push(S),te++}var ve=q===te;if(j=j||ve,!j){const S=te;if(!(k instanceof Function)){const S={params:{}};null===ee?ee=[S]:ee.push(S),te++}ve=S===te,j=j||ve}if(!j){const S={params:{}};return null===ee?ee=[S]:ee.push(S),te++,re.errors=ee,!1}te=N,null!==ee&&(N?ee.length=N:ee=null),ne=w===te}else ne=!0;if(ne){if(void 0!==S.idHint){const E=te;if("string"!=typeof S.idHint)return re.errors=[{params:{type:"string"}}],!1;ne=E===te}else ne=!0;if(ne){if(void 0!==S.layer){let E=S.layer;const k=te,w=te;let N=!1;const j=te;if(!(E instanceof RegExp)){const S={params:{}};null===ee?ee=[S]:ee.push(S),te++}var Ee=j===te;if(N=N||Ee,!N){const S=te;if("string"!=typeof E){const S={params:{type:"string"}};null===ee?ee=[S]:ee.push(S),te++}if(Ee=S===te,N=N||Ee,!N){const S=te;if(!(E instanceof Function)){const S={params:{}};null===ee?ee=[S]:ee.push(S),te++}Ee=S===te,N=N||Ee}}if(!N){const S={params:{}};return null===ee?ee=[S]:ee.push(S),te++,re.errors=ee,!1}te=w,null!==ee&&(w?ee.length=w:ee=null),ne=k===te}else ne=!0;if(ne){if(void 0!==S.maxAsyncRequests){let E=S.maxAsyncRequests;const k=te;if(te===k){if("number"!=typeof E||!isFinite(E))return re.errors=[{params:{type:"number"}}],!1;if(E<1||isNaN(E))return re.errors=[{params:{comparison:">=",limit:1}}],!1}ne=k===te}else ne=!0;if(ne){if(void 0!==S.maxAsyncSize){let E=S.maxAsyncSize;const k=te,w=te;let N=!1,j=null;const q=te,ae=te;let _e=!1;const ve=te;if(te===ve)if("number"==typeof E&&isFinite(E)){if(E<0||isNaN(E)){const S={params:{comparison:">=",limit:0}};null===ee?ee=[S]:ee.push(S),te++}}else{const S={params:{type:"number"}};null===ee?ee=[S]:ee.push(S),te++}var Te=ve===te;if(_e=_e||Te,!_e){const S=te;if(te===S)if(E&&"object"==typeof E&&!Array.isArray(E))for(const S in E){let k=E[S];const w=te;if("number"!=typeof k||!isFinite(k)){const S={params:{type:"number"}};null===ee?ee=[S]:ee.push(S),te++}if(w!==te)break}else{const S={params:{type:"object"}};null===ee?ee=[S]:ee.push(S),te++}Te=S===te,_e=_e||Te}if(_e)te=ae,null!==ee&&(ae?ee.length=ae:ee=null);else{const S={params:{}};null===ee?ee=[S]:ee.push(S),te++}if(q===te&&(N=!0,j=0),!N){const S={params:{passingSchemas:j}};return null===ee?ee=[S]:ee.push(S),te++,re.errors=ee,!1}te=w,null!==ee&&(w?ee.length=w:ee=null),ne=k===te}else ne=!0;if(ne){if(void 0!==S.maxInitialRequests){let E=S.maxInitialRequests;const k=te;if(te===k){if("number"!=typeof E||!isFinite(E))return re.errors=[{params:{type:"number"}}],!1;if(E<1||isNaN(E))return re.errors=[{params:{comparison:">=",limit:1}}],!1}ne=k===te}else ne=!0;if(ne){if(void 0!==S.maxInitialSize){let E=S.maxInitialSize;const k=te,w=te;let N=!1,j=null;const q=te,ae=te;let _e=!1;const ve=te;if(te===ve)if("number"==typeof E&&isFinite(E)){if(E<0||isNaN(E)){const S={params:{comparison:">=",limit:0}};null===ee?ee=[S]:ee.push(S),te++}}else{const S={params:{type:"number"}};null===ee?ee=[S]:ee.push(S),te++}var Ce=ve===te;if(_e=_e||Ce,!_e){const S=te;if(te===S)if(E&&"object"==typeof E&&!Array.isArray(E))for(const S in E){let k=E[S];const w=te;if("number"!=typeof k||!isFinite(k)){const S={params:{type:"number"}};null===ee?ee=[S]:ee.push(S),te++}if(w!==te)break}else{const S={params:{type:"object"}};null===ee?ee=[S]:ee.push(S),te++}Ce=S===te,_e=_e||Ce}if(_e)te=ae,null!==ee&&(ae?ee.length=ae:ee=null);else{const S={params:{}};null===ee?ee=[S]:ee.push(S),te++}if(q===te&&(N=!0,j=0),!N){const S={params:{passingSchemas:j}};return null===ee?ee=[S]:ee.push(S),te++,re.errors=ee,!1}te=w,null!==ee&&(w?ee.length=w:ee=null),ne=k===te}else ne=!0;if(ne){if(void 0!==S.maxSize){let E=S.maxSize;const k=te,w=te;let N=!1,j=null;const q=te,ae=te;let _e=!1;const ve=te;if(te===ve)if("number"==typeof E&&isFinite(E)){if(E<0||isNaN(E)){const S={params:{comparison:">=",limit:0}};null===ee?ee=[S]:ee.push(S),te++}}else{const S={params:{type:"number"}};null===ee?ee=[S]:ee.push(S),te++}var Ne=ve===te;if(_e=_e||Ne,!_e){const S=te;if(te===S)if(E&&"object"==typeof E&&!Array.isArray(E))for(const S in E){let k=E[S];const w=te;if("number"!=typeof k||!isFinite(k)){const S={params:{type:"number"}};null===ee?ee=[S]:ee.push(S),te++}if(w!==te)break}else{const S={params:{type:"object"}};null===ee?ee=[S]:ee.push(S),te++}Ne=S===te,_e=_e||Ne}if(_e)te=ae,null!==ee&&(ae?ee.length=ae:ee=null);else{const S={params:{}};null===ee?ee=[S]:ee.push(S),te++}if(q===te&&(N=!0,j=0),!N){const S={params:{passingSchemas:j}};return null===ee?ee=[S]:ee.push(S),te++,re.errors=ee,!1}te=w,null!==ee&&(w?ee.length=w:ee=null),ne=k===te}else ne=!0;if(ne){if(void 0!==S.minChunks){let E=S.minChunks;const k=te;if(te===k){if("number"!=typeof E||!isFinite(E))return re.errors=[{params:{type:"number"}}],!1;if(E<1||isNaN(E))return re.errors=[{params:{comparison:">=",limit:1}}],!1}ne=k===te}else ne=!0;if(ne){if(void 0!==S.minRemainingSize){let E=S.minRemainingSize;const k=te,w=te;let N=!1,j=null;const q=te,ae=te;let _e=!1;const ve=te;if(te===ve)if("number"==typeof E&&isFinite(E)){if(E<0||isNaN(E)){const S={params:{comparison:">=",limit:0}};null===ee?ee=[S]:ee.push(S),te++}}else{const S={params:{type:"number"}};null===ee?ee=[S]:ee.push(S),te++}var Ie=ve===te;if(_e=_e||Ie,!_e){const S=te;if(te===S)if(E&&"object"==typeof E&&!Array.isArray(E))for(const S in E){let k=E[S];const w=te;if("number"!=typeof k||!isFinite(k)){const S={params:{type:"number"}};null===ee?ee=[S]:ee.push(S),te++}if(w!==te)break}else{const S={params:{type:"object"}};null===ee?ee=[S]:ee.push(S),te++}Ie=S===te,_e=_e||Ie}if(_e)te=ae,null!==ee&&(ae?ee.length=ae:ee=null);else{const S={params:{}};null===ee?ee=[S]:ee.push(S),te++}if(q===te&&(N=!0,j=0),!N){const S={params:{passingSchemas:j}};return null===ee?ee=[S]:ee.push(S),te++,re.errors=ee,!1}te=w,null!==ee&&(w?ee.length=w:ee=null),ne=k===te}else ne=!0;if(ne){if(void 0!==S.minSize){let E=S.minSize;const k=te,w=te;let N=!1,j=null;const q=te,ae=te;let _e=!1;const ve=te;if(te===ve)if("number"==typeof E&&isFinite(E)){if(E<0||isNaN(E)){const S={params:{comparison:">=",limit:0}};null===ee?ee=[S]:ee.push(S),te++}}else{const S={params:{type:"number"}};null===ee?ee=[S]:ee.push(S),te++}var Fe=ve===te;if(_e=_e||Fe,!_e){const S=te;if(te===S)if(E&&"object"==typeof E&&!Array.isArray(E))for(const S in E){let k=E[S];const w=te;if("number"!=typeof k||!isFinite(k)){const S={params:{type:"number"}};null===ee?ee=[S]:ee.push(S),te++}if(w!==te)break}else{const S={params:{type:"object"}};null===ee?ee=[S]:ee.push(S),te++}Fe=S===te,_e=_e||Fe}if(_e)te=ae,null!==ee&&(ae?ee.length=ae:ee=null);else{const S={params:{}};null===ee?ee=[S]:ee.push(S),te++}if(q===te&&(N=!0,j=0),!N){const S={params:{passingSchemas:j}};return null===ee?ee=[S]:ee.push(S),te++,re.errors=ee,!1}te=w,null!==ee&&(w?ee.length=w:ee=null),ne=k===te}else ne=!0;if(ne){if(void 0!==S.name){let E=S.name;const k=te,w=te;let N=!1;const j=te;if(!1!==E){const S={params:{}};null===ee?ee=[S]:ee.push(S),te++}var Oe=j===te;if(N=N||Oe,!N){const S=te;if("string"!=typeof E){const S={params:{type:"string"}};null===ee?ee=[S]:ee.push(S),te++}if(Oe=S===te,N=N||Oe,!N){const S=te;if(!(E instanceof Function)){const S={params:{}};null===ee?ee=[S]:ee.push(S),te++}Oe=S===te,N=N||Oe}}if(!N){const S={params:{}};return null===ee?ee=[S]:ee.push(S),te++,re.errors=ee,!1}te=w,null!==ee&&(w?ee.length=w:ee=null),ne=k===te}else ne=!0;if(ne){if(void 0!==S.priority){let E=S.priority;const k=te;if("number"!=typeof E||!isFinite(E))return re.errors=[{params:{type:"number"}}],!1;ne=k===te}else ne=!0;if(ne){if(void 0!==S.reuseExistingChunk){const E=te;if("boolean"!=typeof S.reuseExistingChunk)return re.errors=[{params:{type:"boolean"}}],!1;ne=E===te}else ne=!0;if(ne){if(void 0!==S.test){let E=S.test;const k=te,w=te;let N=!1;const j=te;if(!(E instanceof RegExp)){const S={params:{}};null===ee?ee=[S]:ee.push(S),te++}var Me=j===te;if(N=N||Me,!N){const S=te;if("string"!=typeof E){const S={params:{type:"string"}};null===ee?ee=[S]:ee.push(S),te++}if(Me=S===te,N=N||Me,!N){const S=te;if(!(E instanceof Function)){const S={params:{}};null===ee?ee=[S]:ee.push(S),te++}Me=S===te,N=N||Me}}if(!N){const S={params:{}};return null===ee?ee=[S]:ee.push(S),te++,re.errors=ee,!1}te=w,null!==ee&&(w?ee.length=w:ee=null),ne=k===te}else ne=!0;if(ne){if(void 0!==S.type){let E=S.type;const k=te,w=te;let N=!1;const j=te;if(!(E instanceof RegExp)){const S={params:{}};null===ee?ee=[S]:ee.push(S),te++}var Re=j===te;if(N=N||Re,!N){const S=te;if("string"!=typeof E){const S={params:{type:"string"}};null===ee?ee=[S]:ee.push(S),te++}if(Re=S===te,N=N||Re,!N){const S=te;if(!(E instanceof Function)){const S={params:{}};null===ee?ee=[S]:ee.push(S),te++}Re=S===te,N=N||Re}}if(!N){const S={params:{}};return null===ee?ee=[S]:ee.push(S),te++,re.errors=ee,!1}te=w,null!==ee&&(w?ee.length=w:ee=null),ne=k===te}else ne=!0;if(ne)if(void 0!==S.usedExports){const E=te;if("boolean"!=typeof S.usedExports)return re.errors=[{params:{type:"boolean"}}],!1;ne=E===te}else ne=!0}}}}}}}}}}}}}}}}}}}}}}return re.errors=ee,0===te}function se(S,{instancePath:k="",parentData:N,parentDataProperty:j,rootData:q=S}={}){let ee=null,te=0;if(0===te){if(!S||"object"!=typeof S||Array.isArray(S))return se.errors=[{params:{type:"object"}}],!1;{const N=te;for(const E in S)if(!w.call(Ce,E))return se.errors=[{params:{additionalProperty:E}}],!1;if(N===te){if(void 0!==S.automaticNameDelimiter){let E=S.automaticNameDelimiter;const k=te;if(te===k){if("string"!=typeof E)return se.errors=[{params:{type:"string"}}],!1;if(E.length<1)return se.errors=[{params:{}}],!1}var ne=k===te}else ne=!0;if(ne){if(void 0!==S.cacheGroups){let E=S.cacheGroups;const w=te,N=te,j=te;if(te===j)if(E&&"object"==typeof E&&!Array.isArray(E)){let S;if(void 0===E.test&&(S="test")){const S={};null===ee?ee=[S]:ee.push(S),te++}else if(void 0!==E.test){let S=E.test;const k=te;let w=!1;const N=te;if(!(S instanceof RegExp)){const S={};null===ee?ee=[S]:ee.push(S),te++}var ae=N===te;if(w=w||ae,!w){const E=te;if("string"!=typeof S){const S={};null===ee?ee=[S]:ee.push(S),te++}if(ae=E===te,w=w||ae,!w){const E=te;if(!(S instanceof Function)){const S={};null===ee?ee=[S]:ee.push(S),te++}ae=E===te,w=w||ae}}if(w)te=k,null!==ee&&(k?ee.length=k:ee=null);else{const S={};null===ee?ee=[S]:ee.push(S),te++}}}else{const S={};null===ee?ee=[S]:ee.push(S),te++}if(j===te)return se.errors=[{params:{}}],!1;if(te=N,null!==ee&&(N?ee.length=N:ee=null),te===w){if(!E||"object"!=typeof E||Array.isArray(E))return se.errors=[{params:{type:"object"}}],!1;for(const S in E){let w=E[S];const N=te,j=te;let ne=!1;const ae=te;if(!1!==w){const S={params:{}};null===ee?ee=[S]:ee.push(S),te++}var _e=ae===te;if(ne=ne||_e,!ne){const N=te;if(!(w instanceof RegExp)){const S={params:{}};null===ee?ee=[S]:ee.push(S),te++}if(_e=N===te,ne=ne||_e,!ne){const N=te;if("string"!=typeof w){const S={params:{type:"string"}};null===ee?ee=[S]:ee.push(S),te++}if(_e=N===te,ne=ne||_e,!ne){const N=te;if(!(w instanceof Function)){const S={params:{}};null===ee?ee=[S]:ee.push(S),te++}if(_e=N===te,ne=ne||_e,!ne){const N=te;re(w,{instancePath:k+"/cacheGroups/"+S.replace(/~/g,"~0").replace(/\//g,"~1"),parentData:E,parentDataProperty:S,rootData:q})||(ee=null===ee?re.errors:ee.concat(re.errors),te=ee.length),_e=N===te,ne=ne||_e}}}}if(!ne){const S={params:{}};return null===ee?ee=[S]:ee.push(S),te++,se.errors=ee,!1}if(te=j,null!==ee&&(j?ee.length=j:ee=null),N!==te)break}}ne=w===te}else ne=!0;if(ne){if(void 0!==S.chunks){let E=S.chunks;const k=te,w=te;let N=!1;const j=te;if("initial"!==E&&"async"!==E&&"all"!==E){const S={params:{}};null===ee?ee=[S]:ee.push(S),te++}var ve=j===te;if(N=N||ve,!N){const S=te;if(!(E instanceof Function)){const S={params:{}};null===ee?ee=[S]:ee.push(S),te++}ve=S===te,N=N||ve}if(!N){const S={params:{}};return null===ee?ee=[S]:ee.push(S),te++,se.errors=ee,!1}te=w,null!==ee&&(w?ee.length=w:ee=null),ne=k===te}else ne=!0;if(ne){if(void 0!==S.defaultSizeTypes){let E=S.defaultSizeTypes;const k=te;if(te===k){if(!Array.isArray(E))return se.errors=[{params:{type:"array"}}],!1;if(E.length<1)return se.errors=[{params:{limit:1}}],!1;{const S=E.length;for(let k=0;k=",limit:0}};null===ee?ee=[S]:ee.push(S),te++}}else{const S={params:{type:"number"}};null===ee?ee=[S]:ee.push(S),te++}var Ee=ve===te;if(_e=_e||Ee,!_e){const S=te;if(te===S)if(E&&"object"==typeof E&&!Array.isArray(E))for(const S in E){let k=E[S];const w=te;if("number"!=typeof k||!isFinite(k)){const S={params:{type:"number"}};null===ee?ee=[S]:ee.push(S),te++}if(w!==te)break}else{const S={params:{type:"object"}};null===ee?ee=[S]:ee.push(S),te++}Ee=S===te,_e=_e||Ee}if(_e)te=ae,null!==ee&&(ae?ee.length=ae:ee=null);else{const S={params:{}};null===ee?ee=[S]:ee.push(S),te++}if(q===te&&(N=!0,j=0),!N){const S={params:{passingSchemas:j}};return null===ee?ee=[S]:ee.push(S),te++,se.errors=ee,!1}te=w,null!==ee&&(w?ee.length=w:ee=null),ne=k===te}else ne=!0;if(ne){if(void 0!==S.fallbackCacheGroup){let E=S.fallbackCacheGroup;const k=te;if(te===k){if(!E||"object"!=typeof E||Array.isArray(E))return se.errors=[{params:{type:"object"}}],!1;{const S=te;for(const S in E)if("automaticNameDelimiter"!==S&&"maxAsyncSize"!==S&&"maxInitialSize"!==S&&"maxSize"!==S&&"minSize"!==S)return se.errors=[{params:{additionalProperty:S}}],!1;if(S===te){if(void 0!==E.automaticNameDelimiter){let S=E.automaticNameDelimiter;const k=te;if(te===k){if("string"!=typeof S)return se.errors=[{params:{type:"string"}}],!1;if(S.length<1)return se.errors=[{params:{}}],!1}var Te=k===te}else Te=!0;if(Te){if(void 0!==E.maxAsyncSize){let S=E.maxAsyncSize;const k=te,w=te;let N=!1,j=null;const q=te,ne=te;let ae=!1;const _e=te;if(te===_e)if("number"==typeof S&&isFinite(S)){if(S<0||isNaN(S)){const S={params:{comparison:">=",limit:0}};null===ee?ee=[S]:ee.push(S),te++}}else{const S={params:{type:"number"}};null===ee?ee=[S]:ee.push(S),te++}var we=_e===te;if(ae=ae||we,!ae){const E=te;if(te===E)if(S&&"object"==typeof S&&!Array.isArray(S))for(const E in S){let k=S[E];const w=te;if("number"!=typeof k||!isFinite(k)){const S={params:{type:"number"}};null===ee?ee=[S]:ee.push(S),te++}if(w!==te)break}else{const S={params:{type:"object"}};null===ee?ee=[S]:ee.push(S),te++}we=E===te,ae=ae||we}if(ae)te=ne,null!==ee&&(ne?ee.length=ne:ee=null);else{const S={params:{}};null===ee?ee=[S]:ee.push(S),te++}if(q===te&&(N=!0,j=0),!N){const S={params:{passingSchemas:j}};return null===ee?ee=[S]:ee.push(S),te++,se.errors=ee,!1}te=w,null!==ee&&(w?ee.length=w:ee=null),Te=k===te}else Te=!0;if(Te){if(void 0!==E.maxInitialSize){let S=E.maxInitialSize;const k=te,w=te;let N=!1,j=null;const q=te,ne=te;let ae=!1;const _e=te;if(te===_e)if("number"==typeof S&&isFinite(S)){if(S<0||isNaN(S)){const S={params:{comparison:">=",limit:0}};null===ee?ee=[S]:ee.push(S),te++}}else{const S={params:{type:"number"}};null===ee?ee=[S]:ee.push(S),te++}var Ne=_e===te;if(ae=ae||Ne,!ae){const E=te;if(te===E)if(S&&"object"==typeof S&&!Array.isArray(S))for(const E in S){let k=S[E];const w=te;if("number"!=typeof k||!isFinite(k)){const S={params:{type:"number"}};null===ee?ee=[S]:ee.push(S),te++}if(w!==te)break}else{const S={params:{type:"object"}};null===ee?ee=[S]:ee.push(S),te++}Ne=E===te,ae=ae||Ne}if(ae)te=ne,null!==ee&&(ne?ee.length=ne:ee=null);else{const S={params:{}};null===ee?ee=[S]:ee.push(S),te++}if(q===te&&(N=!0,j=0),!N){const S={params:{passingSchemas:j}};return null===ee?ee=[S]:ee.push(S),te++,se.errors=ee,!1}te=w,null!==ee&&(w?ee.length=w:ee=null),Te=k===te}else Te=!0;if(Te){if(void 0!==E.maxSize){let S=E.maxSize;const k=te,w=te;let N=!1,j=null;const q=te,ne=te;let ae=!1;const _e=te;if(te===_e)if("number"==typeof S&&isFinite(S)){if(S<0||isNaN(S)){const S={params:{comparison:">=",limit:0}};null===ee?ee=[S]:ee.push(S),te++}}else{const S={params:{type:"number"}};null===ee?ee=[S]:ee.push(S),te++}var Ie=_e===te;if(ae=ae||Ie,!ae){const E=te;if(te===E)if(S&&"object"==typeof S&&!Array.isArray(S))for(const E in S){let k=S[E];const w=te;if("number"!=typeof k||!isFinite(k)){const S={params:{type:"number"}};null===ee?ee=[S]:ee.push(S),te++}if(w!==te)break}else{const S={params:{type:"object"}};null===ee?ee=[S]:ee.push(S),te++}Ie=E===te,ae=ae||Ie}if(ae)te=ne,null!==ee&&(ne?ee.length=ne:ee=null);else{const S={params:{}};null===ee?ee=[S]:ee.push(S),te++}if(q===te&&(N=!0,j=0),!N){const S={params:{passingSchemas:j}};return null===ee?ee=[S]:ee.push(S),te++,se.errors=ee,!1}te=w,null!==ee&&(w?ee.length=w:ee=null),Te=k===te}else Te=!0;if(Te)if(void 0!==E.minSize){let S=E.minSize;const k=te,w=te;let N=!1,j=null;const q=te,ne=te;let ae=!1;const _e=te;if(te===_e)if("number"==typeof S&&isFinite(S)){if(S<0||isNaN(S)){const S={params:{comparison:">=",limit:0}};null===ee?ee=[S]:ee.push(S),te++}}else{const S={params:{type:"number"}};null===ee?ee=[S]:ee.push(S),te++}var Fe=_e===te;if(ae=ae||Fe,!ae){const E=te;if(te===E)if(S&&"object"==typeof S&&!Array.isArray(S))for(const E in S){let k=S[E];const w=te;if("number"!=typeof k||!isFinite(k)){const S={params:{type:"number"}};null===ee?ee=[S]:ee.push(S),te++}if(w!==te)break}else{const S={params:{type:"object"}};null===ee?ee=[S]:ee.push(S),te++}Fe=E===te,ae=ae||Fe}if(ae)te=ne,null!==ee&&(ne?ee.length=ne:ee=null);else{const S={params:{}};null===ee?ee=[S]:ee.push(S),te++}if(q===te&&(N=!0,j=0),!N){const S={params:{passingSchemas:j}};return null===ee?ee=[S]:ee.push(S),te++,se.errors=ee,!1}te=w,null!==ee&&(w?ee.length=w:ee=null),Te=k===te}else Te=!0}}}}}}ne=k===te}else ne=!0;if(ne){if(void 0!==S.filename){let k=S.filename;const w=te,N=te;let j=!1;const q=te;if(te===q)if("string"==typeof k){if(k.includes("!")||!1!==E.test(k)){const S={params:{}};null===ee?ee=[S]:ee.push(S),te++}else if(k.length<1){const S={params:{}};null===ee?ee=[S]:ee.push(S),te++}}else{const S={params:{type:"string"}};null===ee?ee=[S]:ee.push(S),te++}var Oe=q===te;if(j=j||Oe,!j){const S=te;if(!(k instanceof Function)){const S={params:{}};null===ee?ee=[S]:ee.push(S),te++}Oe=S===te,j=j||Oe}if(!j){const S={params:{}};return null===ee?ee=[S]:ee.push(S),te++,se.errors=ee,!1}te=N,null!==ee&&(N?ee.length=N:ee=null),ne=w===te}else ne=!0;if(ne){if(void 0!==S.hidePathInfo){const E=te;if("boolean"!=typeof S.hidePathInfo)return se.errors=[{params:{type:"boolean"}}],!1;ne=E===te}else ne=!0;if(ne){if(void 0!==S.maxAsyncRequests){let E=S.maxAsyncRequests;const k=te;if(te===k){if("number"!=typeof E||!isFinite(E))return se.errors=[{params:{type:"number"}}],!1;if(E<1||isNaN(E))return se.errors=[{params:{comparison:">=",limit:1}}],!1}ne=k===te}else ne=!0;if(ne){if(void 0!==S.maxAsyncSize){let E=S.maxAsyncSize;const k=te,w=te;let N=!1,j=null;const q=te,ae=te;let _e=!1;const ve=te;if(te===ve)if("number"==typeof E&&isFinite(E)){if(E<0||isNaN(E)){const S={params:{comparison:">=",limit:0}};null===ee?ee=[S]:ee.push(S),te++}}else{const S={params:{type:"number"}};null===ee?ee=[S]:ee.push(S),te++}var Me=ve===te;if(_e=_e||Me,!_e){const S=te;if(te===S)if(E&&"object"==typeof E&&!Array.isArray(E))for(const S in E){let k=E[S];const w=te;if("number"!=typeof k||!isFinite(k)){const S={params:{type:"number"}};null===ee?ee=[S]:ee.push(S),te++}if(w!==te)break}else{const S={params:{type:"object"}};null===ee?ee=[S]:ee.push(S),te++}Me=S===te,_e=_e||Me}if(_e)te=ae,null!==ee&&(ae?ee.length=ae:ee=null);else{const S={params:{}};null===ee?ee=[S]:ee.push(S),te++}if(q===te&&(N=!0,j=0),!N){const S={params:{passingSchemas:j}};return null===ee?ee=[S]:ee.push(S),te++,se.errors=ee,!1}te=w,null!==ee&&(w?ee.length=w:ee=null),ne=k===te}else ne=!0;if(ne){if(void 0!==S.maxInitialRequests){let E=S.maxInitialRequests;const k=te;if(te===k){if("number"!=typeof E||!isFinite(E))return se.errors=[{params:{type:"number"}}],!1;if(E<1||isNaN(E))return se.errors=[{params:{comparison:">=",limit:1}}],!1}ne=k===te}else ne=!0;if(ne){if(void 0!==S.maxInitialSize){let E=S.maxInitialSize;const k=te,w=te;let N=!1,j=null;const q=te,ae=te;let _e=!1;const ve=te;if(te===ve)if("number"==typeof E&&isFinite(E)){if(E<0||isNaN(E)){const S={params:{comparison:">=",limit:0}};null===ee?ee=[S]:ee.push(S),te++}}else{const S={params:{type:"number"}};null===ee?ee=[S]:ee.push(S),te++}var Re=ve===te;if(_e=_e||Re,!_e){const S=te;if(te===S)if(E&&"object"==typeof E&&!Array.isArray(E))for(const S in E){let k=E[S];const w=te;if("number"!=typeof k||!isFinite(k)){const S={params:{type:"number"}};null===ee?ee=[S]:ee.push(S),te++}if(w!==te)break}else{const S={params:{type:"object"}};null===ee?ee=[S]:ee.push(S),te++}Re=S===te,_e=_e||Re}if(_e)te=ae,null!==ee&&(ae?ee.length=ae:ee=null);else{const S={params:{}};null===ee?ee=[S]:ee.push(S),te++}if(q===te&&(N=!0,j=0),!N){const S={params:{passingSchemas:j}};return null===ee?ee=[S]:ee.push(S),te++,se.errors=ee,!1}te=w,null!==ee&&(w?ee.length=w:ee=null),ne=k===te}else ne=!0;if(ne){if(void 0!==S.maxSize){let E=S.maxSize;const k=te,w=te;let N=!1,j=null;const q=te,ae=te;let _e=!1;const ve=te;if(te===ve)if("number"==typeof E&&isFinite(E)){if(E<0||isNaN(E)){const S={params:{comparison:">=",limit:0}};null===ee?ee=[S]:ee.push(S),te++}}else{const S={params:{type:"number"}};null===ee?ee=[S]:ee.push(S),te++}var Le=ve===te;if(_e=_e||Le,!_e){const S=te;if(te===S)if(E&&"object"==typeof E&&!Array.isArray(E))for(const S in E){let k=E[S];const w=te;if("number"!=typeof k||!isFinite(k)){const S={params:{type:"number"}};null===ee?ee=[S]:ee.push(S),te++}if(w!==te)break}else{const S={params:{type:"object"}};null===ee?ee=[S]:ee.push(S),te++}Le=S===te,_e=_e||Le}if(_e)te=ae,null!==ee&&(ae?ee.length=ae:ee=null);else{const S={params:{}};null===ee?ee=[S]:ee.push(S),te++}if(q===te&&(N=!0,j=0),!N){const S={params:{passingSchemas:j}};return null===ee?ee=[S]:ee.push(S),te++,se.errors=ee,!1}te=w,null!==ee&&(w?ee.length=w:ee=null),ne=k===te}else ne=!0;if(ne){if(void 0!==S.minChunks){let E=S.minChunks;const k=te;if(te===k){if("number"!=typeof E||!isFinite(E))return se.errors=[{params:{type:"number"}}],!1;if(E<1||isNaN(E))return se.errors=[{params:{comparison:">=",limit:1}}],!1}ne=k===te}else ne=!0;if(ne){if(void 0!==S.minRemainingSize){let E=S.minRemainingSize;const k=te,w=te;let N=!1,j=null;const q=te,ae=te;let _e=!1;const ve=te;if(te===ve)if("number"==typeof E&&isFinite(E)){if(E<0||isNaN(E)){const S={params:{comparison:">=",limit:0}};null===ee?ee=[S]:ee.push(S),te++}}else{const S={params:{type:"number"}};null===ee?ee=[S]:ee.push(S),te++}var Be=ve===te;if(_e=_e||Be,!_e){const S=te;if(te===S)if(E&&"object"==typeof E&&!Array.isArray(E))for(const S in E){let k=E[S];const w=te;if("number"!=typeof k||!isFinite(k)){const S={params:{type:"number"}};null===ee?ee=[S]:ee.push(S),te++}if(w!==te)break}else{const S={params:{type:"object"}};null===ee?ee=[S]:ee.push(S),te++}Be=S===te,_e=_e||Be}if(_e)te=ae,null!==ee&&(ae?ee.length=ae:ee=null);else{const S={params:{}};null===ee?ee=[S]:ee.push(S),te++}if(q===te&&(N=!0,j=0),!N){const S={params:{passingSchemas:j}};return null===ee?ee=[S]:ee.push(S),te++,se.errors=ee,!1}te=w,null!==ee&&(w?ee.length=w:ee=null),ne=k===te}else ne=!0;if(ne){if(void 0!==S.minSize){let E=S.minSize;const k=te,w=te;let N=!1,j=null;const q=te,ae=te;let _e=!1;const ve=te;if(te===ve)if("number"==typeof E&&isFinite(E)){if(E<0||isNaN(E)){const S={params:{comparison:">=",limit:0}};null===ee?ee=[S]:ee.push(S),te++}}else{const S={params:{type:"number"}};null===ee?ee=[S]:ee.push(S),te++}var je=ve===te;if(_e=_e||je,!_e){const S=te;if(te===S)if(E&&"object"==typeof E&&!Array.isArray(E))for(const S in E){let k=E[S];const w=te;if("number"!=typeof k||!isFinite(k)){const S={params:{type:"number"}};null===ee?ee=[S]:ee.push(S),te++}if(w!==te)break}else{const S={params:{type:"object"}};null===ee?ee=[S]:ee.push(S),te++}je=S===te,_e=_e||je}if(_e)te=ae,null!==ee&&(ae?ee.length=ae:ee=null);else{const S={params:{}};null===ee?ee=[S]:ee.push(S),te++}if(q===te&&(N=!0,j=0),!N){const S={params:{passingSchemas:j}};return null===ee?ee=[S]:ee.push(S),te++,se.errors=ee,!1}te=w,null!==ee&&(w?ee.length=w:ee=null),ne=k===te}else ne=!0;if(ne){if(void 0!==S.name){let E=S.name;const k=te,w=te;let N=!1;const j=te;if(!1!==E){const S={params:{}};null===ee?ee=[S]:ee.push(S),te++}var ze=j===te;if(N=N||ze,!N){const S=te;if("string"!=typeof E){const S={params:{type:"string"}};null===ee?ee=[S]:ee.push(S),te++}if(ze=S===te,N=N||ze,!N){const S=te;if(!(E instanceof Function)){const S={params:{}};null===ee?ee=[S]:ee.push(S),te++}ze=S===te,N=N||ze}}if(!N){const S={params:{}};return null===ee?ee=[S]:ee.push(S),te++,se.errors=ee,!1}te=w,null!==ee&&(w?ee.length=w:ee=null),ne=k===te}else ne=!0;if(ne)if(void 0!==S.usedExports){const E=te;if("boolean"!=typeof S.usedExports)return se.errors=[{params:{type:"boolean"}}],!1;ne=E===te}else ne=!0}}}}}}}}}}}}}}}}}}}return se.errors=ee,0===te}function oe(S,{instancePath:E="",parentData:k,parentDataProperty:N,rootData:j=S}={}){let q=null,ee=0;if(0===ee){if(!S||"object"!=typeof S||Array.isArray(S))return oe.errors=[{params:{type:"object"}}],!1;{const k=ee;for(const E in S)if(!w.call(Te,E))return oe.errors=[{params:{additionalProperty:E}}],!1;if(k===ee){if(void 0!==S.checkWasmTypes){const E=ee;if("boolean"!=typeof S.checkWasmTypes)return oe.errors=[{params:{type:"boolean"}}],!1;var te=E===ee}else te=!0;if(te){if(void 0!==S.chunkIds){let E=S.chunkIds;const k=ee;if("natural"!==E&&"named"!==E&&"deterministic"!==E&&"size"!==E&&"total-size"!==E&&!1!==E)return oe.errors=[{params:{}}],!1;te=k===ee}else te=!0;if(te){if(void 0!==S.concatenateModules){const E=ee;if("boolean"!=typeof S.concatenateModules)return oe.errors=[{params:{type:"boolean"}}],!1;te=E===ee}else te=!0;if(te){if(void 0!==S.emitOnErrors){const E=ee;if("boolean"!=typeof S.emitOnErrors)return oe.errors=[{params:{type:"boolean"}}],!1;te=E===ee}else te=!0;if(te){if(void 0!==S.flagIncludedChunks){const E=ee;if("boolean"!=typeof S.flagIncludedChunks)return oe.errors=[{params:{type:"boolean"}}],!1;te=E===ee}else te=!0;if(te){if(void 0!==S.innerGraph){const E=ee;if("boolean"!=typeof S.innerGraph)return oe.errors=[{params:{type:"boolean"}}],!1;te=E===ee}else te=!0;if(te){if(void 0!==S.mangleExports){let E=S.mangleExports;const k=ee,w=ee;let N=!1;const j=ee;if("size"!==E&&"deterministic"!==E){const S={params:{}};null===q?q=[S]:q.push(S),ee++}var ne=j===ee;if(N=N||ne,!N){const S=ee;if("boolean"!=typeof E){const S={params:{type:"boolean"}};null===q?q=[S]:q.push(S),ee++}ne=S===ee,N=N||ne}if(!N){const S={params:{}};return null===q?q=[S]:q.push(S),ee++,oe.errors=q,!1}ee=w,null!==q&&(w?q.length=w:q=null),te=k===ee}else te=!0;if(te){if(void 0!==S.mangleWasmImports){const E=ee;if("boolean"!=typeof S.mangleWasmImports)return oe.errors=[{params:{type:"boolean"}}],!1;te=E===ee}else te=!0;if(te){if(void 0!==S.mergeDuplicateChunks){const E=ee;if("boolean"!=typeof S.mergeDuplicateChunks)return oe.errors=[{params:{type:"boolean"}}],!1;te=E===ee}else te=!0;if(te){if(void 0!==S.minimize){const E=ee;if("boolean"!=typeof S.minimize)return oe.errors=[{params:{type:"boolean"}}],!1;te=E===ee}else te=!0;if(te){if(void 0!==S.minimizer){let E=S.minimizer;const k=ee;if(ee===k){if(!Array.isArray(E))return oe.errors=[{params:{type:"array"}}],!1;{const S=E.length;for(let k=0;k=",limit:1}}],!1}ae=k===te}else ae=!0;if(ae){if(void 0!==S.hashFunction){let E=S.hashFunction;const k=te,w=te;let N=!1;const j=te;if(te===j)if("string"==typeof E){if(E.length<1){const S={params:{}};null===ee?ee=[S]:ee.push(S),te++}}else{const S={params:{type:"string"}};null===ee?ee=[S]:ee.push(S),te++}var Ce=j===te;if(N=N||Ce,!N){const S=te;if(!(E instanceof Function)){const S={params:{}};null===ee?ee=[S]:ee.push(S),te++}Ce=S===te,N=N||Ce}if(!N){const S={params:{}};return null===ee?ee=[S]:ee.push(S),te++,ye.errors=ee,!1}te=w,null!==ee&&(w?ee.length=w:ee=null),ae=k===te}else ae=!0;if(ae){if(void 0!==S.hashSalt){let E=S.hashSalt;const k=te;if(te==te){if("string"!=typeof E)return ye.errors=[{params:{type:"string"}}],!1;if(E.length<1)return ye.errors=[{params:{}}],!1}ae=k===te}else ae=!0;if(ae){if(void 0!==S.hotUpdateChunkFilename){let k=S.hotUpdateChunkFilename;const w=te;if(te==te){if("string"!=typeof k)return ye.errors=[{params:{type:"string"}}],!1;if(k.includes("!")||!1!==E.test(k))return ye.errors=[{params:{}}],!1}ae=w===te}else ae=!0;if(ae){if(void 0!==S.hotUpdateGlobal){const E=te;if("string"!=typeof S.hotUpdateGlobal)return ye.errors=[{params:{type:"string"}}],!1;ae=E===te}else ae=!0;if(ae){if(void 0!==S.hotUpdateMainFilename){let k=S.hotUpdateMainFilename;const w=te;if(te==te){if("string"!=typeof k)return ye.errors=[{params:{type:"string"}}],!1;if(k.includes("!")||!1!==E.test(k))return ye.errors=[{params:{}}],!1}ae=w===te}else ae=!0;if(ae){if(void 0!==S.iife){const E=te;if("boolean"!=typeof S.iife)return ye.errors=[{params:{type:"boolean"}}],!1;ae=E===te}else ae=!0;if(ae){if(void 0!==S.importFunctionName){const E=te;if("string"!=typeof S.importFunctionName)return ye.errors=[{params:{type:"string"}}],!1;ae=E===te}else ae=!0;if(ae){if(void 0!==S.importMetaName){const E=te;if("string"!=typeof S.importMetaName)return ye.errors=[{params:{type:"string"}}],!1;ae=E===te}else ae=!0;if(ae){if(void 0!==S.library){const E=te;me(S.library,{instancePath:k+"/library",parentData:S,parentDataProperty:"library",rootData:q})||(ee=null===ee?me.errors:ee.concat(me.errors),te=ee.length),ae=E===te}else ae=!0;if(ae){if(void 0!==S.libraryExport){let E=S.libraryExport;const k=te,w=te;let N=!1,j=null;const q=te,ne=te;let _e=!1;const ve=te;if(te===ve)if(Array.isArray(E)){const S=E.length;for(let k=0;k=",limit:1}}],!1}_e=k===ne}else _e=!0;if(_e){if(void 0!==S.performance){const E=ne;he(S.performance,{instancePath:N+"/performance",parentData:S,parentDataProperty:"performance",rootData:ee})||(te=null===te?he.errors:te.concat(he.errors),ne=te.length),_e=E===ne}else _e=!0;if(_e){if(void 0!==S.plugins){const E=ne;de(S.plugins,{instancePath:N+"/plugins",parentData:S,parentDataProperty:"plugins",rootData:ee})||(te=null===te?de.errors:te.concat(de.errors),ne=te.length),_e=E===ne}else _e=!0;if(_e){if(void 0!==S.profile){const E=ne;if("boolean"!=typeof S.profile)return Se.errors=[{params:{type:"boolean"}}],!1;_e=E===ne}else _e=!0;if(_e){if(void 0!==S.recordsInputPath){let k=S.recordsInputPath;const w=ne,N=ne;let j=!1;const q=ne;if(!1!==k){const S={params:{}};null===te?te=[S]:te.push(S),ne++}var Me=q===ne;if(j=j||Me,!j){const S=ne;if(ne===S)if("string"==typeof k){if(k.includes("!")||!0!==E.test(k)){const S={params:{}};null===te?te=[S]:te.push(S),ne++}}else{const S={params:{type:"string"}};null===te?te=[S]:te.push(S),ne++}Me=S===ne,j=j||Me}if(!j){const S={params:{}};return null===te?te=[S]:te.push(S),ne++,Se.errors=te,!1}ne=N,null!==te&&(N?te.length=N:te=null),_e=w===ne}else _e=!0;if(_e){if(void 0!==S.recordsOutputPath){let k=S.recordsOutputPath;const w=ne,N=ne;let j=!1;const q=ne;if(!1!==k){const S={params:{}};null===te?te=[S]:te.push(S),ne++}var Re=q===ne;if(j=j||Re,!j){const S=ne;if(ne===S)if("string"==typeof k){if(k.includes("!")||!0!==E.test(k)){const S={params:{}};null===te?te=[S]:te.push(S),ne++}}else{const S={params:{type:"string"}};null===te?te=[S]:te.push(S),ne++}Re=S===ne,j=j||Re}if(!j){const S={params:{}};return null===te?te=[S]:te.push(S),ne++,Se.errors=te,!1}ne=N,null!==te&&(N?te.length=N:te=null),_e=w===ne}else _e=!0;if(_e){if(void 0!==S.recordsPath){let k=S.recordsPath;const w=ne,N=ne;let j=!1;const q=ne;if(!1!==k){const S={params:{}};null===te?te=[S]:te.push(S),ne++}var Le=q===ne;if(j=j||Le,!j){const S=ne;if(ne===S)if("string"==typeof k){if(k.includes("!")||!0!==E.test(k)){const S={params:{}};null===te?te=[S]:te.push(S),ne++}}else{const S={params:{type:"string"}};null===te?te=[S]:te.push(S),ne++}Le=S===ne,j=j||Le}if(!j){const S={params:{}};return null===te?te=[S]:te.push(S),ne++,Se.errors=te,!1}ne=N,null!==te&&(N?te.length=N:te=null),_e=w===ne}else _e=!0;if(_e){if(void 0!==S.resolve){const E=ne;ge(S.resolve,{instancePath:N+"/resolve",parentData:S,parentDataProperty:"resolve",rootData:ee})||(te=null===te?ge.errors:te.concat(ge.errors),ne=te.length),_e=E===ne}else _e=!0;if(_e){if(void 0!==S.resolveLoader){const E=ne;be(S.resolveLoader,{instancePath:N+"/resolveLoader",parentData:S,parentDataProperty:"resolveLoader",rootData:ee})||(te=null===te?be.errors:te.concat(be.errors),ne=te.length),_e=E===ne}else _e=!0;if(_e){if(void 0!==S.snapshot){let k=S.snapshot;const w=ne;if(ne==ne){if(!k||"object"!=typeof k||Array.isArray(k))return Se.errors=[{params:{type:"object"}}],!1;{const S=ne;for(const S in k)if("buildDependencies"!==S&&"immutablePaths"!==S&&"managedPaths"!==S&&"module"!==S&&"resolve"!==S&&"resolveBuildDependencies"!==S)return Se.errors=[{params:{additionalProperty:S}}],!1;if(S===ne){if(void 0!==k.buildDependencies){let S=k.buildDependencies;const E=ne;if(ne===E){if(!S||"object"!=typeof S||Array.isArray(S))return Se.errors=[{params:{type:"object"}}],!1;{const E=ne;for(const E in S)if("hash"!==E&&"timestamp"!==E)return Se.errors=[{params:{additionalProperty:E}}],!1;if(E===ne){if(void 0!==S.hash){const E=ne;if("boolean"!=typeof S.hash)return Se.errors=[{params:{type:"boolean"}}],!1;var Be=E===ne}else Be=!0;if(Be)if(void 0!==S.timestamp){const E=ne;if("boolean"!=typeof S.timestamp)return Se.errors=[{params:{type:"boolean"}}],!1;Be=E===ne}else Be=!0}}}var je=E===ne}else je=!0;if(je){if(void 0!==k.immutablePaths){let S=k.immutablePaths;const w=ne;if(ne===w){if(!Array.isArray(S))return Se.errors=[{params:{type:"array"}}],!1;{const k=S.length;for(let w=0;w{"use strict";function n(S,{instancePath:E="",parentData:k,parentDataProperty:w,rootData:N=S}={}){let j=null,q=0;const ee=q;let te=!1;const ne=q;if(q===ne)if(Array.isArray(S)){const E=S.length;for(let k=0;k{"use strict";function r(S,{instancePath:E="",parentData:k,parentDataProperty:w,rootData:N=S}={}){if(!S||"object"!=typeof S||Array.isArray(S))return r.errors=[{params:{type:"object"}}],!1;{let E;if(void 0===S.path&&(E="path"))return r.errors=[{params:{missingProperty:E}}],!1;{const E=0;for(const E in S)if("context"!==E&&"entryOnly"!==E&&"format"!==E&&"name"!==E&&"path"!==E&&"type"!==E)return r.errors=[{params:{additionalProperty:E}}],!1;if(0===E){if(void 0!==S.context){let E=S.context;const k=0;if(0===k){if("string"!=typeof E)return r.errors=[{params:{type:"string"}}],!1;if(E.length<1)return r.errors=[{params:{}}],!1}var j=0===k}else j=!0;if(j){if(void 0!==S.entryOnly){const E=0;if("boolean"!=typeof S.entryOnly)return r.errors=[{params:{type:"boolean"}}],!1;j=0===E}else j=!0;if(j){if(void 0!==S.format){const E=0;if("boolean"!=typeof S.format)return r.errors=[{params:{type:"boolean"}}],!1;j=0===E}else j=!0;if(j){if(void 0!==S.name){let E=S.name;const k=0;if(0===k){if("string"!=typeof E)return r.errors=[{params:{type:"string"}}],!1;if(E.length<1)return r.errors=[{params:{}}],!1}j=0===k}else j=!0;if(j){if(void 0!==S.path){let E=S.path;const k=0;if(0===k){if("string"!=typeof E)return r.errors=[{params:{type:"string"}}],!1;if(E.length<1)return r.errors=[{params:{}}],!1}j=0===k}else j=!0;if(j)if(void 0!==S.type){let E=S.type;const k=0;if(0===k){if("string"!=typeof E)return r.errors=[{params:{type:"string"}}],!1;if(E.length<1)return r.errors=[{params:{}}],!1}j=0===k}else j=!0}}}}}}}return r.errors=null,!0}S.exports=r,S.exports.default=r},69744:S=>{const E=/^(?:[A-Za-z]:[\\/]|\\\\|\/)/;function t(S,{instancePath:E="",parentData:k,parentDataProperty:w,rootData:N=S}={}){let j=null,q=0;if(0===q){if(!S||"object"!=typeof S||Array.isArray(S))return t.errors=[{params:{type:"object"}}],!1;{let E;if(void 0===S.content&&(E="content"))return t.errors=[{params:{missingProperty:E}}],!1;{const E=q;for(const E in S)if("content"!==E&&"name"!==E&&"type"!==E)return t.errors=[{params:{additionalProperty:E}}],!1;if(E===q){if(void 0!==S.content){let E=S.content;const k=q,w=q;let N=!1,_e=null;const ve=q;if(q==q)if(E&&"object"==typeof E&&!Array.isArray(E))if(Object.keys(E).length<1){const S={params:{limit:1}};null===j?j=[S]:j.push(S),q++}else for(const S in E){let k=E[S];const w=q;if(q===w)if(k&&"object"==typeof k&&!Array.isArray(k)){let S;if(void 0===k.id&&(S="id")){const E={params:{missingProperty:S}};null===j?j=[E]:j.push(E),q++}else{const S=q;for(const S in k)if("buildMeta"!==S&&"exports"!==S&&"id"!==S){const E={params:{additionalProperty:S}};null===j?j=[E]:j.push(E),q++;break}if(S===q){if(void 0!==k.buildMeta){let S=k.buildMeta;const E=q;if(!S||"object"!=typeof S||Array.isArray(S)){const S={params:{type:"object"}};null===j?j=[S]:j.push(S),q++}var ee=E===q}else ee=!0;if(ee){if(void 0!==k.exports){let S=k.exports;const E=q,w=q;let N=!1;const ne=q;if(q===ne)if(Array.isArray(S)){const E=S.length;for(let k=0;k{const E=/^(?:[A-Za-z]:[\\/]|\\\\|\/)/;function t(S,{instancePath:k="",parentData:w,parentDataProperty:N,rootData:j=S}={}){if(!S||"object"!=typeof S||Array.isArray(S))return t.errors=[{params:{type:"object"}}],!1;{const k=0;for(const E in S)if("context"!==E&&"hashDigest"!==E&&"hashDigestLength"!==E&&"hashFunction"!==E)return t.errors=[{params:{additionalProperty:E}}],!1;if(0===k){if(void 0!==S.context){let k=S.context;const w=0;if(0===w){if("string"!=typeof k)return t.errors=[{params:{type:"string"}}],!1;if(k.includes("!")||!0!==E.test(k))return t.errors=[{params:{}}],!1}var q=0===w}else q=!0;if(q){if(void 0!==S.hashDigest){let E=S.hashDigest;const k=0;if("hex"!==E&&"latin1"!==E&&"base64"!==E)return t.errors=[{params:{}}],!1;q=0===k}else q=!0;if(q){if(void 0!==S.hashDigestLength){let E=S.hashDigestLength;const k=0;if(0===k){if("number"!=typeof E||!isFinite(E))return t.errors=[{params:{type:"number"}}],!1;if(E<1||isNaN(E))return t.errors=[{params:{comparison:">=",limit:1}}],!1}q=0===k}else q=!0;if(q)if(void 0!==S.hashFunction){let E=S.hashFunction;const k=0;if(0===k){if("string"!=typeof E)return t.errors=[{params:{type:"string"}}],!1;if(E.length<1)return t.errors=[{params:{}}],!1}q=0===k}else q=!0}}}}return t.errors=null,!0}S.exports=t,S.exports.default=t},44194:S=>{"use strict";function e(S,{instancePath:E="",parentData:k,parentDataProperty:w,rootData:N=S}={}){let j=null,q=0;const ee=q;let te=!1;const ne=q;if(q===ne)if(S&&"object"==typeof S&&!Array.isArray(S)){const E=q;for(const E in S)if("contextRegExp"!==E&&"resourceRegExp"!==E){const S={params:{additionalProperty:E}};null===j?j=[S]:j.push(S),q++;break}if(E===q){if(void 0!==S.contextRegExp){const E=q;if(!(S.contextRegExp instanceof RegExp)){const S={params:{}};null===j?j=[S]:j.push(S),q++}var ae=E===q}else ae=!0;if(ae)if(void 0!==S.resourceRegExp){const E=q;if(!(S.resourceRegExp instanceof RegExp)){const S={params:{}};null===j?j=[S]:j.push(S),q++}ae=E===q}else ae=!0}}else{const S={params:{type:"object"}};null===j?j=[S]:j.push(S),q++}var _e=ne===q;if(te=te||_e,!te){const E=q;if(q===E)if(S&&"object"==typeof S&&!Array.isArray(S)){const E=q;for(const E in S)if("checkResource"!==E){const S={params:{additionalProperty:E}};null===j?j=[S]:j.push(S),q++;break}if(E===q&&void 0!==S.checkResource&&!(S.checkResource instanceof Function)){const S={params:{}};null===j?j=[S]:j.push(S),q++}}else{const S={params:{type:"object"}};null===j?j=[S]:j.push(S),q++}_e=E===q,te=te||_e}if(!te){const S={params:{}};return null===j?j=[S]:j.push(S),q++,e.errors=j,!1}return q=ee,null!==j&&(ee?j.length=ee:j=null),e.errors=j,0===q}S.exports=e,S.exports.default=e},71633:S=>{"use strict";function r(S,{instancePath:E="",parentData:k,parentDataProperty:w,rootData:N=S}={}){if(!S||"object"!=typeof S||Array.isArray(S))return r.errors=[{params:{type:"object"}}],!1;{const E=0;for(const E in S)if("parse"!==E)return r.errors=[{params:{additionalProperty:E}}],!1;if(0===E&&void 0!==S.parse&&!(S.parse instanceof Function))return r.errors=[{params:{}}],!1}return r.errors=null,!0}S.exports=r,S.exports.default=r},80274:S=>{const E=/^(?:[A-Za-z]:[\\/]|\\\\|\/)/;function e(S,{instancePath:k="",parentData:w,parentDataProperty:N,rootData:j=S}={}){if(!S||"object"!=typeof S||Array.isArray(S))return e.errors=[{params:{type:"object"}}],!1;if(void 0!==S.debug){const E=0;if("boolean"!=typeof S.debug)return e.errors=[{params:{type:"boolean"}}],!1;var q=0===E}else q=!0;if(q){if(void 0!==S.minimize){const E=0;if("boolean"!=typeof S.minimize)return e.errors=[{params:{type:"boolean"}}],!1;q=0===E}else q=!0;if(q)if(void 0!==S.options){let k=S.options;const w=0;if(0===w){if(!k||"object"!=typeof k||Array.isArray(k))return e.errors=[{params:{type:"object"}}],!1;if(void 0!==k.context){let S=k.context;if("string"!=typeof S)return e.errors=[{params:{type:"string"}}],!1;if(S.includes("!")||!0!==E.test(S))return e.errors=[{params:{}}],!1}}q=0===w}else q=!0}return e.errors=null,!0}S.exports=e,S.exports.default=e},73971:S=>{"use strict";S.exports=t,S.exports.default=t;const E={activeModules:{type:"boolean"},dependencies:{type:"boolean"},dependenciesCount:{type:"number"},entries:{type:"boolean"},handler:{oneOf:[{$ref:"#/definitions/HandlerFunction"}]},modules:{type:"boolean"},modulesCount:{type:"number"},percentBy:{enum:["entries","modules","dependencies",null]},profile:{enum:[!0,!1,null]}},k=Object.prototype.hasOwnProperty;function r(S,{instancePath:w="",parentData:N,parentDataProperty:j,rootData:q=S}={}){let ee=null,te=0;if(0===te){if(!S||"object"!=typeof S||Array.isArray(S))return r.errors=[{params:{type:"object"}}],!1;{const w=te;for(const w in S)if(!k.call(E,w))return r.errors=[{params:{additionalProperty:w}}],!1;if(w===te){if(void 0!==S.activeModules){const E=te;if("boolean"!=typeof S.activeModules)return r.errors=[{params:{type:"boolean"}}],!1;var ne=E===te}else ne=!0;if(ne){if(void 0!==S.dependencies){const E=te;if("boolean"!=typeof S.dependencies)return r.errors=[{params:{type:"boolean"}}],!1;ne=E===te}else ne=!0;if(ne){if(void 0!==S.dependenciesCount){let E=S.dependenciesCount;const k=te;if("number"!=typeof E||!isFinite(E))return r.errors=[{params:{type:"number"}}],!1;ne=k===te}else ne=!0;if(ne){if(void 0!==S.entries){const E=te;if("boolean"!=typeof S.entries)return r.errors=[{params:{type:"boolean"}}],!1;ne=E===te}else ne=!0;if(ne){if(void 0!==S.handler){const E=te,k=te;let w=!1,N=null;const j=te;if(!(S.handler instanceof Function)){const S={params:{}};null===ee?ee=[S]:ee.push(S),te++}if(j===te&&(w=!0,N=0),!w){const S={params:{passingSchemas:N}};return null===ee?ee=[S]:ee.push(S),te++,r.errors=ee,!1}te=k,null!==ee&&(k?ee.length=k:ee=null),ne=E===te}else ne=!0;if(ne){if(void 0!==S.modules){const E=te;if("boolean"!=typeof S.modules)return r.errors=[{params:{type:"boolean"}}],!1;ne=E===te}else ne=!0;if(ne){if(void 0!==S.modulesCount){let E=S.modulesCount;const k=te;if("number"!=typeof E||!isFinite(E))return r.errors=[{params:{type:"number"}}],!1;ne=k===te}else ne=!0;if(ne){if(void 0!==S.percentBy){let E=S.percentBy;const k=te;if("entries"!==E&&"modules"!==E&&"dependencies"!==E&&null!==E)return r.errors=[{params:{}}],!1;ne=k===te}else ne=!0;if(ne)if(void 0!==S.profile){let E=S.profile;const k=te;if(!0!==E&&!1!==E&&null!==E)return r.errors=[{params:{}}],!1;ne=k===te}else ne=!0}}}}}}}}}}return r.errors=ee,0===te}function t(S,{instancePath:E="",parentData:k,parentDataProperty:w,rootData:N=S}={}){let j=null,q=0;const ee=q;let te=!1;const ne=q;r(S,{instancePath:E,parentData:k,parentDataProperty:w,rootData:N})||(j=null===j?r.errors:j.concat(r.errors),q=j.length);var ae=ne===q;if(te=te||ae,!te){const E=q;if(!(S instanceof Function)){const S={params:{}};null===j?j=[S]:j.push(S),q++}ae=E===q,te=te||ae}if(!te){const S={params:{}};return null===j?j=[S]:j.push(S),q++,t.errors=j,!1}return q=ee,null!==j&&(ee?j.length=ee:j=null),t.errors=j,0===q}},68337:S=>{const E=/^(?:[A-Za-z]:[\\/]|\\\\|\/)/;S.exports=l,S.exports.default=l;const k={append:{anyOf:[{enum:[!1,null]},{type:"string",minLength:1}]},columns:{type:"boolean"},exclude:{oneOf:[{$ref:"#/definitions/rules"}]},fallbackModuleFilenameTemplate:{anyOf:[{type:"string",minLength:1},{instanceof:"Function"}]},fileContext:{type:"string"},filename:{anyOf:[{enum:[!1,null]},{type:"string",absolutePath:!1,minLength:1}]},include:{oneOf:[{$ref:"#/definitions/rules"}]},module:{type:"boolean"},moduleFilenameTemplate:{anyOf:[{type:"string",minLength:1},{instanceof:"Function"}]},namespace:{type:"string"},noSources:{type:"boolean"},publicPath:{type:"string"},sourceRoot:{type:"string"},test:{$ref:"#/definitions/rules"}},w=Object.prototype.hasOwnProperty;function s(S,{instancePath:E="",parentData:k,parentDataProperty:w,rootData:N=S}={}){let j=null,q=0;const ee=q;let te=!1;const ne=q;if(q===ne)if(Array.isArray(S)){const E=S.length;for(let k=0;k{"use strict";function r(S,{instancePath:E="",parentData:k,parentDataProperty:w,rootData:N=S}={}){let j=null,q=0;if(0===q){if(!S||"object"!=typeof S||Array.isArray(S))return r.errors=[{params:{type:"object"}}],!1;{let E;if(void 0===S.paths&&(E="paths"))return r.errors=[{params:{missingProperty:E}}],!1;{const E=q;for(const E in S)if("paths"!==E)return r.errors=[{params:{additionalProperty:E}}],!1;if(E===q&&void 0!==S.paths){let E=S.paths;if(q==q){if(!Array.isArray(E))return r.errors=[{params:{type:"array"}}],!1;if(E.length<1)return r.errors=[{params:{limit:1}}],!1;{const S=E.length;for(let k=0;k{const E=/^(?:[A-Za-z]:[\\/]|\\\\|\/)/;function n(S,{instancePath:E="",parentData:k,parentDataProperty:w,rootData:N=S}={}){let j=null,q=0;const ee=q;let te=!1;const ne=q;if(q==q)if(S&&"object"==typeof S&&!Array.isArray(S)){const E=q;for(const E in S)if("encoding"!==E&&"mimetype"!==E){const S={params:{additionalProperty:E}};null===j?j=[S]:j.push(S),q++;break}if(E===q){if(void 0!==S.encoding){let E=S.encoding;const k=q;if(!1!==E&&"base64"!==E){const S={params:{}};null===j?j=[S]:j.push(S),q++}var ae=k===q}else ae=!0;if(ae)if(void 0!==S.mimetype){const E=q;if("string"!=typeof S.mimetype){const S={params:{type:"string"}};null===j?j=[S]:j.push(S),q++}ae=E===q}else ae=!0}}else{const S={params:{type:"object"}};null===j?j=[S]:j.push(S),q++}var _e=ne===q;if(te=te||_e,!te){const E=q;if(!(S instanceof Function)){const S={params:{}};null===j?j=[S]:j.push(S),q++}_e=E===q,te=te||_e}if(!te){const S={params:{}};return null===j?j=[S]:j.push(S),q++,n.errors=j,!1}return q=ee,null!==j&&(ee?j.length=ee:j=null),n.errors=j,0===q}function r(S,{instancePath:k="",parentData:w,parentDataProperty:N,rootData:j=S}={}){let q=null,ee=0;if(0===ee){if(!S||"object"!=typeof S||Array.isArray(S))return r.errors=[{params:{type:"object"}}],!1;{const w=ee;for(const E in S)if("dataUrl"!==E&&"emit"!==E&&"filename"!==E&&"publicPath"!==E)return r.errors=[{params:{additionalProperty:E}}],!1;if(w===ee){if(void 0!==S.dataUrl){const E=ee;n(S.dataUrl,{instancePath:k+"/dataUrl",parentData:S,parentDataProperty:"dataUrl",rootData:j})||(q=null===q?n.errors:q.concat(n.errors),ee=q.length);var te=E===ee}else te=!0;if(te){if(void 0!==S.emit){const E=ee;if("boolean"!=typeof S.emit)return r.errors=[{params:{type:"boolean"}}],!1;te=E===ee}else te=!0;if(te){if(void 0!==S.filename){let k=S.filename;const w=ee,N=ee;let j=!1;const ae=ee;if(ee===ae)if("string"==typeof k){if(k.includes("!")||!1!==E.test(k)){const S={params:{}};null===q?q=[S]:q.push(S),ee++}else if(k.length<1){const S={params:{}};null===q?q=[S]:q.push(S),ee++}}else{const S={params:{type:"string"}};null===q?q=[S]:q.push(S),ee++}var ne=ae===ee;if(j=j||ne,!j){const S=ee;if(!(k instanceof Function)){const S={params:{}};null===q?q=[S]:q.push(S),ee++}ne=S===ee,j=j||ne}if(!j){const S={params:{}};return null===q?q=[S]:q.push(S),ee++,r.errors=q,!1}ee=N,null!==q&&(N?q.length=N:q=null),te=w===ee}else te=!0;if(te)if(void 0!==S.publicPath){let E=S.publicPath;const k=ee,w=ee;let N=!1;const j=ee;if("string"!=typeof E){const S={params:{type:"string"}};null===q?q=[S]:q.push(S),ee++}var ae=j===ee;if(N=N||ae,!N){const S=ee;if(!(E instanceof Function)){const S={params:{}};null===q?q=[S]:q.push(S),ee++}ae=S===ee,N=N||ae}if(!N){const S={params:{}};return null===q?q=[S]:q.push(S),ee++,r.errors=q,!1}ee=w,null!==q&&(w?q.length=w:q=null),te=k===ee}else te=!0}}}}}return r.errors=q,0===ee}function e(S,{instancePath:E="",parentData:k,parentDataProperty:w,rootData:N=S}={}){let j=null,q=0;return r(S,{instancePath:E,parentData:k,parentDataProperty:w,rootData:N})||(j=null===j?r.errors:j.concat(r.errors),q=j.length),e.errors=j,0===q}S.exports=e,S.exports.default=e},3720:S=>{"use strict";function t(S,{instancePath:E="",parentData:k,parentDataProperty:w,rootData:N=S}={}){let j=null,q=0;const ee=q;let te=!1;const ne=q;if(q==q)if(S&&"object"==typeof S&&!Array.isArray(S)){const E=q;for(const E in S)if("encoding"!==E&&"mimetype"!==E){const S={params:{additionalProperty:E}};null===j?j=[S]:j.push(S),q++;break}if(E===q){if(void 0!==S.encoding){let E=S.encoding;const k=q;if(!1!==E&&"base64"!==E){const S={params:{}};null===j?j=[S]:j.push(S),q++}var ae=k===q}else ae=!0;if(ae)if(void 0!==S.mimetype){const E=q;if("string"!=typeof S.mimetype){const S={params:{type:"string"}};null===j?j=[S]:j.push(S),q++}ae=E===q}else ae=!0}}else{const S={params:{type:"object"}};null===j?j=[S]:j.push(S),q++}var _e=ne===q;if(te=te||_e,!te){const E=q;if(!(S instanceof Function)){const S={params:{}};null===j?j=[S]:j.push(S),q++}_e=E===q,te=te||_e}if(!te){const S={params:{}};return null===j?j=[S]:j.push(S),q++,t.errors=j,!1}return q=ee,null!==j&&(ee?j.length=ee:j=null),t.errors=j,0===q}function r(S,{instancePath:E="",parentData:k,parentDataProperty:w,rootData:N=S}={}){let j=null,q=0;if(0===q){if(!S||"object"!=typeof S||Array.isArray(S))return r.errors=[{params:{type:"object"}}],!1;{const k=q;for(const E in S)if("dataUrl"!==E)return r.errors=[{params:{additionalProperty:E}}],!1;k===q&&void 0!==S.dataUrl&&(t(S.dataUrl,{instancePath:E+"/dataUrl",parentData:S,parentDataProperty:"dataUrl",rootData:N})||(j=null===j?t.errors:j.concat(t.errors),q=j.length))}}return r.errors=j,0===q}function a(S,{instancePath:E="",parentData:k,parentDataProperty:w,rootData:N=S}={}){let j=null,q=0;return r(S,{instancePath:E,parentData:k,parentDataProperty:w,rootData:N})||(j=null===j?r.errors:j.concat(r.errors),q=j.length),a.errors=j,0===q}S.exports=a,S.exports.default=a},33605:S=>{"use strict";function t(S,{instancePath:E="",parentData:k,parentDataProperty:w,rootData:N=S}={}){let j=null,q=0;if(0===q){if(!S||"object"!=typeof S||Array.isArray(S))return t.errors=[{params:{type:"object"}}],!1;{const E=q;for(const E in S)if("dataUrlCondition"!==E)return t.errors=[{params:{additionalProperty:E}}],!1;if(E===q&&void 0!==S.dataUrlCondition){let E=S.dataUrlCondition;const k=q;let w=!1;const N=q;if(q==q)if(E&&"object"==typeof E&&!Array.isArray(E)){const S=q;for(const S in E)if("maxSize"!==S){const E={params:{additionalProperty:S}};null===j?j=[E]:j.push(E),q++;break}if(S===q&&void 0!==E.maxSize){let S=E.maxSize;if("number"!=typeof S||!isFinite(S)){const S={params:{type:"number"}};null===j?j=[S]:j.push(S),q++}}}else{const S={params:{type:"object"}};null===j?j=[S]:j.push(S),q++}var ee=N===q;if(w=w||ee,!w){const S=q;if(!(E instanceof Function)){const S={params:{}};null===j?j=[S]:j.push(S),q++}ee=S===q,w=w||ee}if(!w){const S={params:{}};return null===j?j=[S]:j.push(S),q++,t.errors=j,!1}q=k,null!==j&&(k?j.length=k:j=null)}}}return t.errors=j,0===q}function r(S,{instancePath:E="",parentData:k,parentDataProperty:w,rootData:N=S}={}){let j=null,q=0;return t(S,{instancePath:E,parentData:k,parentDataProperty:w,rootData:N})||(j=null===j?t.errors:j.concat(t.errors),q=j.length),r.errors=j,0===q}S.exports=r,S.exports.default=r},87441:S=>{const E=/^(?:[A-Za-z]:[\\/]|\\\\|\/)/;function r(S,{instancePath:k="",parentData:w,parentDataProperty:N,rootData:j=S}={}){let q=null,ee=0;if(0===ee){if(!S||"object"!=typeof S||Array.isArray(S))return r.errors=[{params:{type:"object"}}],!1;{const k=ee;for(const E in S)if("emit"!==E&&"filename"!==E&&"publicPath"!==E)return r.errors=[{params:{additionalProperty:E}}],!1;if(k===ee){if(void 0!==S.emit){const E=ee;if("boolean"!=typeof S.emit)return r.errors=[{params:{type:"boolean"}}],!1;var te=E===ee}else te=!0;if(te){if(void 0!==S.filename){let k=S.filename;const w=ee,N=ee;let j=!1;const ae=ee;if(ee===ae)if("string"==typeof k){if(k.includes("!")||!1!==E.test(k)){const S={params:{}};null===q?q=[S]:q.push(S),ee++}else if(k.length<1){const S={params:{}};null===q?q=[S]:q.push(S),ee++}}else{const S={params:{type:"string"}};null===q?q=[S]:q.push(S),ee++}var ne=ae===ee;if(j=j||ne,!j){const S=ee;if(!(k instanceof Function)){const S={params:{}};null===q?q=[S]:q.push(S),ee++}ne=S===ee,j=j||ne}if(!j){const S={params:{}};return null===q?q=[S]:q.push(S),ee++,r.errors=q,!1}ee=N,null!==q&&(N?q.length=N:q=null),te=w===ee}else te=!0;if(te)if(void 0!==S.publicPath){let E=S.publicPath;const k=ee,w=ee;let N=!1;const j=ee;if("string"!=typeof E){const S={params:{type:"string"}};null===q?q=[S]:q.push(S),ee++}var ae=j===ee;if(N=N||ae,!N){const S=ee;if(!(E instanceof Function)){const S={params:{}};null===q?q=[S]:q.push(S),ee++}ae=S===ee,N=N||ae}if(!N){const S={params:{}};return null===q?q=[S]:q.push(S),ee++,r.errors=q,!1}ee=w,null!==q&&(w?q.length=w:q=null),te=k===ee}else te=!0}}}}return r.errors=q,0===ee}function n(S,{instancePath:E="",parentData:k,parentDataProperty:w,rootData:N=S}={}){let j=null,q=0;return r(S,{instancePath:E,parentData:k,parentDataProperty:w,rootData:N})||(j=null===j?r.errors:j.concat(r.errors),q=j.length),n.errors=j,0===q}S.exports=n,S.exports.default=n},28633:S=>{const E=/^(?:[A-Za-z]:[\\/]|\\\\|\/)/;function t(S,{instancePath:E="",parentData:k,parentDataProperty:w,rootData:N=S}={}){if(!Array.isArray(S))return t.errors=[{params:{type:"array"}}],!1;{const E=S.length;for(let k=0;k{"use strict";function r(S,{instancePath:E="",parentData:k,parentDataProperty:w,rootData:N=S}={}){if(!Array.isArray(S))return r.errors=[{params:{type:"array"}}],!1;{const E=S.length;for(let k=0;k{"use strict";function o(S,{instancePath:E="",parentData:k,parentDataProperty:w,rootData:N=S}={}){return"var"!==S&&"module"!==S&&"assign"!==S&&"this"!==S&&"window"!==S&&"self"!==S&&"global"!==S&&"commonjs"!==S&&"commonjs2"!==S&&"commonjs-module"!==S&&"amd"!==S&&"amd-require"!==S&&"umd"!==S&&"umd2"!==S&&"jsonp"!==S&&"system"!==S&&"promise"!==S&&"import"!==S&&"script"!==S&&"node-commonjs"!==S?(o.errors=[{params:{}}],!1):(o.errors=null,!0)}S.exports=o,S.exports.default=o},43329:S=>{const E=/^(?:[A-Za-z]:[\\/]|\\\\|\/)/;S.exports=d,S.exports.default=d;const k={exposes:{$ref:"#/definitions/Exposes"},filename:{type:"string",absolutePath:!1},library:{$ref:"#/definitions/LibraryOptions"},name:{type:"string"},remoteType:{oneOf:[{$ref:"#/definitions/ExternalsType"}]},remotes:{$ref:"#/definitions/Remotes"},runtime:{$ref:"#/definitions/EntryRuntime"},shareScope:{type:"string",minLength:1},shared:{$ref:"#/definitions/Shared"}},w=Object.prototype.hasOwnProperty;function n(S,{instancePath:E="",parentData:k,parentDataProperty:w,rootData:N=S}={}){if(!Array.isArray(S))return n.errors=[{params:{type:"array"}}],!1;{const E=S.length;for(let k=0;k{const E=/^(?:[A-Za-z]:[\\/]|\\\\|\/)/;function t(S,{instancePath:k="",parentData:w,parentDataProperty:N,rootData:j=S}={}){if(!S||"object"!=typeof S||Array.isArray(S))return t.errors=[{params:{type:"object"}}],!1;{const k=0;for(const E in S)if("outputPath"!==E)return t.errors=[{params:{additionalProperty:E}}],!1;if(0===k&&void 0!==S.outputPath){let k=S.outputPath;if("string"!=typeof k)return t.errors=[{params:{type:"string"}}],!1;if(k.includes("!")||!0!==E.test(k))return t.errors=[{params:{}}],!1}}return t.errors=null,!0}S.exports=t,S.exports.default=t},18511:S=>{"use strict";function r(S,{instancePath:E="",parentData:k,parentDataProperty:w,rootData:N=S}={}){if(!S||"object"!=typeof S||Array.isArray(S))return r.errors=[{params:{type:"object"}}],!1;{const E=0;for(const E in S)if("prioritiseInitial"!==E)return r.errors=[{params:{additionalProperty:E}}],!1;if(0===E&&void 0!==S.prioritiseInitial&&"boolean"!=typeof S.prioritiseInitial)return r.errors=[{params:{type:"boolean"}}],!1}return r.errors=null,!0}S.exports=r,S.exports.default=r},52042:S=>{"use strict";function r(S,{instancePath:E="",parentData:k,parentDataProperty:w,rootData:N=S}={}){if(!S||"object"!=typeof S||Array.isArray(S))return r.errors=[{params:{type:"object"}}],!1;{const E=0;for(const E in S)if("prioritiseInitial"!==E)return r.errors=[{params:{additionalProperty:E}}],!1;if(0===E&&void 0!==S.prioritiseInitial&&"boolean"!=typeof S.prioritiseInitial)return r.errors=[{params:{type:"boolean"}}],!1}return r.errors=null,!0}S.exports=r,S.exports.default=r},77593:S=>{"use strict";function e(S,{instancePath:E="",parentData:k,parentDataProperty:w,rootData:N=S}={}){if(!S||"object"!=typeof S||Array.isArray(S))return e.errors=[{params:{type:"object"}}],!1;{const E=0;for(const E in S)if("chunkOverhead"!==E&&"entryChunkMultiplicator"!==E&&"maxSize"!==E&&"minSize"!==E)return e.errors=[{params:{additionalProperty:E}}],!1;if(0===E){if(void 0!==S.chunkOverhead){let E=S.chunkOverhead;const k=0;if("number"!=typeof E||!isFinite(E))return e.errors=[{params:{type:"number"}}],!1;var j=0===k}else j=!0;if(j){if(void 0!==S.entryChunkMultiplicator){let E=S.entryChunkMultiplicator;const k=0;if("number"!=typeof E||!isFinite(E))return e.errors=[{params:{type:"number"}}],!1;j=0===k}else j=!0;if(j){if(void 0!==S.maxSize){let E=S.maxSize;const k=0;if("number"!=typeof E||!isFinite(E))return e.errors=[{params:{type:"number"}}],!1;j=0===k}else j=!0;if(j)if(void 0!==S.minSize){let E=S.minSize;const k=0;if("number"!=typeof E||!isFinite(E))return e.errors=[{params:{type:"number"}}],!1;j=0===k}else j=!0}}}}return e.errors=null,!0}S.exports=e,S.exports.default=e},72713:S=>{"use strict";function r(S,{instancePath:E="",parentData:k,parentDataProperty:w,rootData:N=S}={}){if(!S||"object"!=typeof S||Array.isArray(S))return r.errors=[{params:{type:"object"}}],!1;{let E;if(void 0===S.maxChunks&&(E="maxChunks"))return r.errors=[{params:{missingProperty:E}}],!1;{const E=0;for(const E in S)if("chunkOverhead"!==E&&"entryChunkMultiplicator"!==E&&"maxChunks"!==E)return r.errors=[{params:{additionalProperty:E}}],!1;if(0===E){if(void 0!==S.chunkOverhead){let E=S.chunkOverhead;const k=0;if("number"!=typeof E||!isFinite(E))return r.errors=[{params:{type:"number"}}],!1;var j=0===k}else j=!0;if(j){if(void 0!==S.entryChunkMultiplicator){let E=S.entryChunkMultiplicator;const k=0;if("number"!=typeof E||!isFinite(E))return r.errors=[{params:{type:"number"}}],!1;j=0===k}else j=!0;if(j)if(void 0!==S.maxChunks){let E=S.maxChunks;const k=0;if(0===k){if("number"!=typeof E||!isFinite(E))return r.errors=[{params:{type:"number"}}],!1;if(E<1||isNaN(E))return r.errors=[{params:{comparison:">=",limit:1}}],!1}j=0===k}else j=!0}}}}return r.errors=null,!0}S.exports=r,S.exports.default=r},83889:S=>{"use strict";function r(S,{instancePath:E="",parentData:k,parentDataProperty:w,rootData:N=S}={}){if(!S||"object"!=typeof S||Array.isArray(S))return r.errors=[{params:{type:"object"}}],!1;{let E;if(void 0===S.minChunkSize&&(E="minChunkSize"))return r.errors=[{params:{missingProperty:E}}],!1;{const E=0;for(const E in S)if("chunkOverhead"!==E&&"entryChunkMultiplicator"!==E&&"minChunkSize"!==E)return r.errors=[{params:{additionalProperty:E}}],!1;if(0===E){if(void 0!==S.chunkOverhead){let E=S.chunkOverhead;const k=0;if("number"!=typeof E||!isFinite(E))return r.errors=[{params:{type:"number"}}],!1;var j=0===k}else j=!0;if(j){if(void 0!==S.entryChunkMultiplicator){let E=S.entryChunkMultiplicator;const k=0;if("number"!=typeof E||!isFinite(E))return r.errors=[{params:{type:"number"}}],!1;j=0===k}else j=!0;if(j)if(void 0!==S.minChunkSize){let E=S.minChunkSize;const k=0;if("number"!=typeof E||!isFinite(E))return r.errors=[{params:{type:"number"}}],!1;j=0===k}else j=!0}}}}return r.errors=null,!0}S.exports=r,S.exports.default=r},37411:S=>{"use strict";function r(S,{instancePath:E="",parentData:k,parentDataProperty:w,rootData:N=S}={}){let j=null,q=0;if(0===q){if(!S||"object"!=typeof S||Array.isArray(S))return r.errors=[{params:{type:"object"}}],!1;{const E=q;for(const E in S)if("eager"!==E&&"import"!==E&&"packageName"!==E&&"requiredVersion"!==E&&"shareKey"!==E&&"shareScope"!==E&&"singleton"!==E&&"strictVersion"!==E)return r.errors=[{params:{additionalProperty:E}}],!1;if(E===q){if(void 0!==S.eager){const E=q;if("boolean"!=typeof S.eager)return r.errors=[{params:{type:"boolean"}}],!1;var ee=E===q}else ee=!0;if(ee){if(void 0!==S.import){let E=S.import;const k=q,w=q;let N=!1;const ne=q;if(!1!==E){const S={params:{}};null===j?j=[S]:j.push(S),q++}var te=ne===q;if(N=N||te,!N){const S=q;if(q==q)if("string"==typeof E){if(E.length<1){const S={params:{}};null===j?j=[S]:j.push(S),q++}}else{const S={params:{type:"string"}};null===j?j=[S]:j.push(S),q++}te=S===q,N=N||te}if(!N){const S={params:{}};return null===j?j=[S]:j.push(S),q++,r.errors=j,!1}q=w,null!==j&&(w?j.length=w:j=null),ee=k===q}else ee=!0;if(ee){if(void 0!==S.packageName){let E=S.packageName;const k=q;if(q===k){if("string"!=typeof E)return r.errors=[{params:{type:"string"}}],!1;if(E.length<1)return r.errors=[{params:{}}],!1}ee=k===q}else ee=!0;if(ee){if(void 0!==S.requiredVersion){let E=S.requiredVersion;const k=q,w=q;let N=!1;const te=q;if(!1!==E){const S={params:{}};null===j?j=[S]:j.push(S),q++}var ne=te===q;if(N=N||ne,!N){const S=q;if("string"!=typeof E){const S={params:{type:"string"}};null===j?j=[S]:j.push(S),q++}ne=S===q,N=N||ne}if(!N){const S={params:{}};return null===j?j=[S]:j.push(S),q++,r.errors=j,!1}q=w,null!==j&&(w?j.length=w:j=null),ee=k===q}else ee=!0;if(ee){if(void 0!==S.shareKey){let E=S.shareKey;const k=q;if(q===k){if("string"!=typeof E)return r.errors=[{params:{type:"string"}}],!1;if(E.length<1)return r.errors=[{params:{}}],!1}ee=k===q}else ee=!0;if(ee){if(void 0!==S.shareScope){let E=S.shareScope;const k=q;if(q===k){if("string"!=typeof E)return r.errors=[{params:{type:"string"}}],!1;if(E.length<1)return r.errors=[{params:{}}],!1}ee=k===q}else ee=!0;if(ee){if(void 0!==S.singleton){const E=q;if("boolean"!=typeof S.singleton)return r.errors=[{params:{type:"boolean"}}],!1;ee=E===q}else ee=!0;if(ee)if(void 0!==S.strictVersion){const E=q;if("boolean"!=typeof S.strictVersion)return r.errors=[{params:{type:"boolean"}}],!1;ee=E===q}else ee=!0}}}}}}}}}return r.errors=j,0===q}function e(S,{instancePath:E="",parentData:k,parentDataProperty:w,rootData:N=S}={}){let j=null,q=0;if(0===q){if(!S||"object"!=typeof S||Array.isArray(S))return e.errors=[{params:{type:"object"}}],!1;for(const k in S){let w=S[k];const te=q,ne=q;let ae=!1;const _e=q;r(w,{instancePath:E+"/"+k.replace(/~/g,"~0").replace(/\//g,"~1"),parentData:S,parentDataProperty:k,rootData:N})||(j=null===j?r.errors:j.concat(r.errors),q=j.length);var ee=_e===q;if(ae=ae||ee,!ae){const S=q;if(q==q)if("string"==typeof w){if(w.length<1){const S={params:{}};null===j?j=[S]:j.push(S),q++}}else{const S={params:{type:"string"}};null===j?j=[S]:j.push(S),q++}ee=S===q,ae=ae||ee}if(!ae){const S={params:{}};return null===j?j=[S]:j.push(S),q++,e.errors=j,!1}if(q=ne,null!==j&&(ne?j.length=ne:j=null),te!==q)break}}return e.errors=j,0===q}function t(S,{instancePath:E="",parentData:k,parentDataProperty:w,rootData:N=S}={}){let j=null,q=0;const ee=q;let te=!1;const ne=q;if(q===ne)if(Array.isArray(S)){const k=S.length;for(let w=0;w{"use strict";function r(S,{instancePath:E="",parentData:k,parentDataProperty:w,rootData:N=S}={}){let j=null,q=0;if(0===q){if(!S||"object"!=typeof S||Array.isArray(S))return r.errors=[{params:{type:"object"}}],!1;for(const E in S){let k=S[E];const w=q,N=q;let ae=!1;const _e=q;if(q==q)if(k&&"object"==typeof k&&!Array.isArray(k)){const S=q;for(const S in k)if("eager"!==S&&"shareKey"!==S&&"shareScope"!==S&&"version"!==S){const E={params:{additionalProperty:S}};null===j?j=[E]:j.push(E),q++;break}if(S===q){if(void 0!==k.eager){const S=q;if("boolean"!=typeof k.eager){const S={params:{type:"boolean"}};null===j?j=[S]:j.push(S),q++}var ee=S===q}else ee=!0;if(ee){if(void 0!==k.shareKey){let S=k.shareKey;const E=q;if(q===E)if("string"==typeof S){if(S.length<1){const S={params:{}};null===j?j=[S]:j.push(S),q++}}else{const S={params:{type:"string"}};null===j?j=[S]:j.push(S),q++}ee=E===q}else ee=!0;if(ee){if(void 0!==k.shareScope){let S=k.shareScope;const E=q;if(q===E)if("string"==typeof S){if(S.length<1){const S={params:{}};null===j?j=[S]:j.push(S),q++}}else{const S={params:{type:"string"}};null===j?j=[S]:j.push(S),q++}ee=E===q}else ee=!0;if(ee)if(void 0!==k.version){let S=k.version;const E=q,w=q;let N=!1;const ne=q;if(!1!==S){const S={params:{}};null===j?j=[S]:j.push(S),q++}var te=ne===q;if(N=N||te,!N){const E=q;if("string"!=typeof S){const S={params:{type:"string"}};null===j?j=[S]:j.push(S),q++}te=E===q,N=N||te}if(N)q=w,null!==j&&(w?j.length=w:j=null);else{const S={params:{}};null===j?j=[S]:j.push(S),q++}ee=E===q}else ee=!0}}}}else{const S={params:{type:"object"}};null===j?j=[S]:j.push(S),q++}var ne=_e===q;if(ae=ae||ne,!ae){const S=q;if(q==q)if("string"==typeof k){if(k.length<1){const S={params:{}};null===j?j=[S]:j.push(S),q++}}else{const S={params:{type:"string"}};null===j?j=[S]:j.push(S),q++}ne=S===q,ae=ae||ne}if(!ae){const S={params:{}};return null===j?j=[S]:j.push(S),q++,r.errors=j,!1}if(q=N,null!==j&&(N?j.length=N:j=null),w!==q)break}}return r.errors=j,0===q}function t(S,{instancePath:E="",parentData:k,parentDataProperty:w,rootData:N=S}={}){let j=null,q=0;const ee=q;let te=!1;const ne=q;if(q===ne)if(Array.isArray(S)){const k=S.length;for(let w=0;w{"use strict";S.exports=function(S){S.prototype[Symbol.iterator]=function*(){for(let S=this.head;S;S=S.next){yield S.value}}}},83314:(S,E,k)=>{"use strict";S.exports=Yallist;Yallist.Node=Node;Yallist.create=Yallist;function Yallist(S){var E=this;if(!(E instanceof Yallist)){E=new Yallist}E.tail=null;E.head=null;E.length=0;if(S&&typeof S.forEach==="function"){S.forEach((function(S){E.push(S)}))}else if(arguments.length>0){for(var k=0,w=arguments.length;k1){k=E}else if(this.head){w=this.head.next;k=this.head.value}else{throw new TypeError("Reduce of empty list with no initial value")}for(var N=0;w!==null;N++){k=S(k,w.value,N);w=w.next}return k};Yallist.prototype.reduceReverse=function(S,E){var k;var w=this.tail;if(arguments.length>1){k=E}else if(this.tail){w=this.tail.prev;k=this.tail.value}else{throw new TypeError("Reduce of empty list with no initial value")}for(var N=this.length-1;w!==null;N--){k=S(k,w.value,N);w=w.prev}return k};Yallist.prototype.toArray=function(){var S=new Array(this.length);for(var E=0,k=this.head;k!==null;E++){S[E]=k.value;k=k.next}return S};Yallist.prototype.toArrayReverse=function(){var S=new Array(this.length);for(var E=0,k=this.tail;k!==null;E++){S[E]=k.value;k=k.prev}return S};Yallist.prototype.slice=function(S,E){E=E||this.length;if(E<0){E+=this.length}S=S||0;if(S<0){S+=this.length}var k=new Yallist;if(Ethis.length){E=this.length}for(var w=0,N=this.head;N!==null&&wthis.length){E=this.length}for(var w=this.length,N=this.tail;N!==null&&w>E;w--){N=N.prev}for(;N!==null&&w>S;w--,N=N.prev){k.push(N.value)}return k};Yallist.prototype.splice=function(S,E,...k){if(S>this.length){S=this.length-1}if(S<0){S=this.length+S}for(var w=0,N=this.head;N!==null&&w{class Node{constructor(S){this.value=S;this.next=undefined}}class Queue{constructor(){this.clear()}enqueue(S){const E=new Node(S);if(this._head){this._tail.next=E;this._tail=E}else{this._head=E;this._tail=E}this._size++}dequeue(){const S=this._head;if(!S){return}this._head=this._head.next;this._size--;return S.value}clear(){this._head=undefined;this._tail=undefined;this._size=0}get size(){return this._size}*[Symbol.iterator](){let S=this._head;while(S){yield S.value;S=S.next}}}S.exports=Queue},32090:(S,E,k)=>{const w=k(63686);const N=w.makeLogger;w.makeLogger=function(S,E){const k=N(S,E);const w=k.logWarning;k.logWarning=function(S){if(S.indexOf("This version may or may not be compatible with ts-loader")!==-1)return;return w(S)};return k};S.exports=k(82070);S.exports.typescript=k(53779)},30247:(S,E)=>{"use strict";E.parse=parse;E.init=void 0;const k=1===new Uint8Array(new Uint16Array([1]).buffer)[0];function parse(S,E="@"){if(!w)return N.then((()=>parse(S)));const j=S.length+1,q=(w.__heap_base.value||w.__heap_base)+4*j-w.memory.buffer.byteLength;q>0&&w.memory.grow(Math.ceil(q/65536));const ee=w.sa(j-1);if((k?B:Q)(S,new Uint16Array(w.memory.buffer,ee,j)),!w.parse())throw Object.assign(new Error(`Parse error ${E}:${S.slice(0,w.e()).split("\n").length}:${w.e()-S.lastIndexOf("\n",w.e()-1)}`),{idx:w.e()});const te=[],ne=[];for(;w.ri();){const E=w.is(),k=w.ie(),N=w.ai(),j=w.id(),q=w.ss(),ee=w.se();let ne;w.ip()&&(ne=o(S.slice(-1===j?E-1:E,-1===j?k+1:k))),te.push({n:ne,s:E,e:k,ss:q,se:ee,d:j,a:N})}for(;w.re();)ne.push(S.slice(w.es(),w.ee()));function o(S){try{return(0,eval)(S)}catch{}}return[te,ne,!!w.f()]}function Q(S,E){const k=S.length;let w=0;for(;w>>8}}function B(S,E){const k=S.length;let w=0;for(;wS.charCodeAt(0))))).then(WebAssembly.instantiate).then((({exports:S})=>{w=S}));E.init=N;var j},42357:S=>{"use strict";S.exports=require("assert")},64293:S=>{"use strict";S.exports=require("buffer")},63129:S=>{"use strict";S.exports=require("child_process")},57082:S=>{"use strict";S.exports=require("console")},27619:S=>{"use strict";S.exports=require("constants")},76417:S=>{"use strict";S.exports=require("crypto")},28614:S=>{"use strict";S.exports=require("events")},35747:S=>{"use strict";S.exports=require("fs")},98605:S=>{"use strict";S.exports=require("http")},57211:S=>{"use strict";S.exports=require("https")},57012:S=>{"use strict";S.exports=require("inspector")},12087:S=>{"use strict";S.exports=require("os")},85622:S=>{"use strict";S.exports=require("path")},3498:S=>{"use strict";S.exports=require("pnpapi")},61765:S=>{"use strict";S.exports=require("process")},71191:S=>{"use strict";S.exports=require("querystring")},92413:S=>{"use strict";S.exports=require("stream")},33867:S=>{"use strict";S.exports=require("tty")},78835:S=>{"use strict";S.exports=require("url")},31669:S=>{"use strict";S.exports=require("util")},92184:S=>{"use strict";S.exports=require("vm")},65013:S=>{"use strict";S.exports=require("worker_threads")},78761:S=>{"use strict";S.exports=require("zlib")}};var __webpack_module_cache__={};function __webpack_require__(S){var E=__webpack_module_cache__[S];if(E!==undefined){return E.exports}var k=__webpack_module_cache__[S]={id:S,loaded:false,exports:{}};var w=true;try{__webpack_modules__[S].call(k.exports,k,k.exports,__webpack_require__);w=false}finally{if(w)delete __webpack_module_cache__[S]}k.loaded=true;return k.exports}(()=>{__webpack_require__.o=(S,E)=>Object.prototype.hasOwnProperty.call(S,E)})();(()=>{__webpack_require__.nmd=S=>{S.paths=[];if(!S.children)S.children=[];return S}})();if(typeof __webpack_require__!=="undefined")__webpack_require__.ab=__dirname+"/";var __webpack_exports__=__webpack_require__(32090);module.exports=__webpack_exports__})(); \ No newline at end of file diff --git a/node_modules/@vercel/ncc/dist/ncc/loaders/typescript/lib/lib.d.ts b/node_modules/@vercel/ncc/dist/ncc/loaders/typescript/lib/lib.d.ts deleted file mode 100644 index 107dd40..0000000 --- a/node_modules/@vercel/ncc/dist/ncc/loaders/typescript/lib/lib.d.ts +++ /dev/null @@ -1,24 +0,0 @@ -/*! ***************************************************************************** -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/@vercel/ncc/dist/ncc/loaders/typescript/lib/lib.dom.d.ts b/node_modules/@vercel/ncc/dist/ncc/loaders/typescript/lib/lib.dom.d.ts deleted file mode 100644 index 56e99f0..0000000 --- a/node_modules/@vercel/ncc/dist/ncc/loaders/typescript/lib/lib.dom.d.ts +++ /dev/null @@ -1,20050 +0,0 @@ -/*! ***************************************************************************** -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. -***************************************************************************** */ - - - -/// - - -///////////////////////////// -/// DOM APIs -///////////////////////////// - -interface Account { - displayName: string; - id: string; - imageURL?: string; - name?: string; - rpDisplayName: string; -} - -interface AddEventListenerOptions extends EventListenerOptions { - once?: boolean; - passive?: boolean; -} - -interface AesCbcParams extends Algorithm { - iv: Int8Array | Int16Array | Int32Array | Uint8Array | Uint16Array | Uint32Array | Uint8ClampedArray | Float32Array | Float64Array | DataView | ArrayBuffer; -} - -interface AesCtrParams extends Algorithm { - counter: Int8Array | Int16Array | Int32Array | Uint8Array | Uint16Array | Uint32Array | Uint8ClampedArray | Float32Array | Float64Array | DataView | ArrayBuffer; - length: number; -} - -interface AesDerivedKeyParams extends Algorithm { - length: number; -} - -interface AesGcmParams extends Algorithm { - additionalData?: Int8Array | Int16Array | Int32Array | Uint8Array | Uint16Array | Uint32Array | Uint8ClampedArray | Float32Array | Float64Array | DataView | ArrayBuffer; - iv: Int8Array | Int16Array | Int32Array | Uint8Array | Uint16Array | Uint32Array | Uint8ClampedArray | Float32Array | Float64Array | DataView | ArrayBuffer; - tagLength?: number; -} - -interface AesKeyAlgorithm extends KeyAlgorithm { - length: number; -} - -interface AesKeyGenParams extends Algorithm { - length: number; -} - -interface Algorithm { - name: string; -} - -interface AnalyserOptions extends AudioNodeOptions { - fftSize?: number; - maxDecibels?: number; - minDecibels?: number; - smoothingTimeConstant?: number; -} - -interface AnimationEventInit extends EventInit { - animationName?: string; - elapsedTime?: number; - pseudoElement?: string; -} - -interface AnimationPlaybackEventInit extends EventInit { - currentTime?: number | null; - timelineTime?: number | null; -} - -interface AssertionOptions { - allowList?: ScopedCredentialDescriptor[]; - extensions?: WebAuthnExtensions; - rpId?: string; - timeoutSeconds?: number; -} - -interface AssignedNodesOptions { - flatten?: boolean; -} - -interface AudioBufferOptions { - length: number; - numberOfChannels?: number; - sampleRate: number; -} - -interface AudioBufferSourceOptions { - buffer?: AudioBuffer | null; - detune?: number; - loop?: boolean; - loopEnd?: number; - loopStart?: number; - playbackRate?: number; -} - -interface AudioContextInfo { - currentTime?: number; - sampleRate?: number; -} - -interface AudioContextOptions { - latencyHint?: AudioContextLatencyCategory | number; - sampleRate?: number; -} - -interface AudioNodeOptions { - channelCount?: number; - channelCountMode?: ChannelCountMode; - channelInterpretation?: ChannelInterpretation; -} - -interface AudioParamDescriptor { - automationRate?: AutomationRate; - defaultValue?: number; - maxValue?: number; - minValue?: number; - name: string; -} - -interface AudioProcessingEventInit extends EventInit { - inputBuffer: AudioBuffer; - outputBuffer: AudioBuffer; - playbackTime: number; -} - -interface AudioTimestamp { - contextTime?: number; - performanceTime?: number; -} - -interface AudioWorkletNodeOptions extends AudioNodeOptions { - numberOfInputs?: number; - numberOfOutputs?: number; - outputChannelCount?: number[]; - parameterData?: Record; - processorOptions?: any; -} - -interface AuthenticationExtensionsClientInputs { - appid?: string; - authnSel?: AuthenticatorSelectionList; - exts?: boolean; - loc?: boolean; - txAuthGeneric?: txAuthGenericArg; - txAuthSimple?: string; - uvi?: boolean; - uvm?: boolean; -} - -interface AuthenticationExtensionsClientOutputs { - appid?: boolean; - authnSel?: boolean; - exts?: AuthenticationExtensionsSupported; - loc?: Coordinates; - txAuthGeneric?: ArrayBuffer; - txAuthSimple?: string; - uvi?: ArrayBuffer; - uvm?: UvmEntries; -} - -interface AuthenticatorSelectionCriteria { - authenticatorAttachment?: AuthenticatorAttachment; - requireResidentKey?: boolean; - userVerification?: UserVerificationRequirement; -} - -interface BiquadFilterOptions extends AudioNodeOptions { - Q?: number; - detune?: number; - frequency?: number; - gain?: number; - type?: BiquadFilterType; -} - -interface BlobPropertyBag { - endings?: EndingType; - type?: string; -} - -interface ByteLengthChunk { - byteLength?: number; -} - -interface CacheQueryOptions { - ignoreMethod?: boolean; - ignoreSearch?: boolean; - ignoreVary?: boolean; -} - -interface CanvasRenderingContext2DSettings { - alpha?: boolean; - desynchronized?: boolean; -} - -interface ChannelMergerOptions extends AudioNodeOptions { - numberOfInputs?: number; -} - -interface ChannelSplitterOptions extends AudioNodeOptions { - numberOfOutputs?: number; -} - -interface ClientData { - challenge: string; - extensions?: WebAuthnExtensions; - hashAlg: string | Algorithm; - origin: string; - rpId: string; - tokenBinding?: string; -} - -interface ClientQueryOptions { - includeUncontrolled?: boolean; - type?: ClientTypes; -} - -interface ClipboardEventInit extends EventInit { - clipboardData?: DataTransfer | null; -} - -interface CloseEventInit extends EventInit { - code?: number; - reason?: string; - wasClean?: boolean; -} - -interface CompositionEventInit extends UIEventInit { - data?: string; -} - -interface ComputedEffectTiming extends EffectTiming { - activeDuration?: number; - currentIteration?: number | null; - endTime?: number; - localTime?: number | null; - progress?: number | null; -} - -interface ComputedKeyframe { - composite: CompositeOperationOrAuto; - computedOffset: number; - easing: string; - offset: number | null; - [property: string]: string | number | null | undefined; -} - -interface ConfirmSiteSpecificExceptionsInformation extends ExceptionInformation { - arrayOfDomainStrings?: string[]; -} - -interface ConstantSourceOptions { - offset?: number; -} - -interface ConstrainBooleanParameters { - exact?: boolean; - ideal?: boolean; -} - -interface ConstrainDOMStringParameters { - exact?: string | string[]; - ideal?: string | string[]; -} - -interface ConstrainDoubleRange extends DoubleRange { - exact?: number; - ideal?: number; -} - -interface ConstrainULongRange extends ULongRange { - exact?: number; - ideal?: number; -} - -interface ConstrainVideoFacingModeParameters { - exact?: VideoFacingModeEnum | VideoFacingModeEnum[]; - ideal?: VideoFacingModeEnum | VideoFacingModeEnum[]; -} - -interface ConvolverOptions extends AudioNodeOptions { - buffer?: AudioBuffer | null; - disableNormalization?: boolean; -} - -interface CredentialCreationOptions { - publicKey?: PublicKeyCredentialCreationOptions; - signal?: AbortSignal; -} - -interface CredentialRequestOptions { - mediation?: CredentialMediationRequirement; - publicKey?: PublicKeyCredentialRequestOptions; - signal?: AbortSignal; -} - -interface CustomEventInit extends EventInit { - detail?: T; -} - -interface DOMMatrix2DInit { - a?: number; - b?: number; - c?: number; - d?: number; - e?: number; - f?: number; - m11?: number; - m12?: number; - m21?: number; - m22?: number; - m41?: number; - m42?: number; -} - -interface DOMMatrixInit extends DOMMatrix2DInit { - is2D?: boolean; - m13?: number; - m14?: number; - m23?: number; - m24?: number; - m31?: number; - m32?: number; - m33?: number; - m34?: number; - m43?: number; - m44?: number; -} - -interface DOMPointInit { - w?: number; - x?: number; - y?: number; - z?: number; -} - -interface DOMQuadInit { - p1?: DOMPointInit; - p2?: DOMPointInit; - p3?: DOMPointInit; - p4?: DOMPointInit; -} - -interface DOMRectInit { - height?: number; - width?: number; - x?: number; - y?: number; -} - -interface DelayOptions extends AudioNodeOptions { - delayTime?: number; - maxDelayTime?: number; -} - -interface DeviceLightEventInit extends EventInit { - value?: number; -} - -interface DeviceMotionEventAccelerationInit { - x?: number | null; - y?: number | null; - z?: number | null; -} - -interface DeviceMotionEventInit extends EventInit { - acceleration?: DeviceMotionEventAccelerationInit; - accelerationIncludingGravity?: DeviceMotionEventAccelerationInit; - interval?: number; - rotationRate?: DeviceMotionEventRotationRateInit; -} - -interface DeviceMotionEventRotationRateInit { - alpha?: number | null; - beta?: number | null; - gamma?: number | null; -} - -interface DeviceOrientationEventInit extends EventInit { - absolute?: boolean; - alpha?: number | null; - beta?: number | null; - gamma?: number | null; -} - -interface DevicePermissionDescriptor extends PermissionDescriptor { - deviceId?: string; - name: "camera" | "microphone" | "speaker"; -} - -interface DocumentTimelineOptions { - originTime?: number; -} - -interface DoubleRange { - max?: number; - min?: number; -} - -interface DragEventInit extends MouseEventInit { - dataTransfer?: DataTransfer | null; -} - -interface DynamicsCompressorOptions extends AudioNodeOptions { - attack?: number; - knee?: number; - ratio?: number; - release?: number; - threshold?: number; -} - -interface EcKeyAlgorithm extends KeyAlgorithm { - namedCurve: NamedCurve; -} - -interface EcKeyGenParams extends Algorithm { - namedCurve: NamedCurve; -} - -interface EcKeyImportParams extends Algorithm { - namedCurve: NamedCurve; -} - -interface EcdhKeyDeriveParams extends Algorithm { - public: CryptoKey; -} - -interface EcdsaParams extends Algorithm { - hash: HashAlgorithmIdentifier; -} - -interface EffectTiming { - delay?: number; - direction?: PlaybackDirection; - duration?: number | string; - easing?: string; - endDelay?: number; - fill?: FillMode; - iterationStart?: number; - iterations?: number; -} - -interface ElementCreationOptions { - is?: string; -} - -interface ElementDefinitionOptions { - extends?: string; -} - -interface ErrorEventInit extends EventInit { - colno?: number; - error?: any; - filename?: string; - lineno?: number; - message?: string; -} - -interface EventInit { - bubbles?: boolean; - cancelable?: boolean; - composed?: boolean; -} - -interface EventListenerOptions { - capture?: boolean; -} - -interface EventModifierInit extends UIEventInit { - altKey?: boolean; - ctrlKey?: boolean; - metaKey?: boolean; - modifierAltGraph?: boolean; - modifierCapsLock?: boolean; - modifierFn?: boolean; - modifierFnLock?: boolean; - modifierHyper?: boolean; - modifierNumLock?: boolean; - modifierScrollLock?: boolean; - modifierSuper?: boolean; - modifierSymbol?: boolean; - modifierSymbolLock?: boolean; - shiftKey?: boolean; -} - -interface EventSourceInit { - withCredentials?: boolean; -} - -interface ExceptionInformation { - domain?: string | null; -} - -interface FilePropertyBag extends BlobPropertyBag { - lastModified?: number; -} - -interface FocusEventInit extends UIEventInit { - relatedTarget?: EventTarget | null; -} - -interface FocusNavigationEventInit extends EventInit { - navigationReason?: string | null; - originHeight?: number; - originLeft?: number; - originTop?: number; - originWidth?: number; -} - -interface FocusNavigationOrigin { - originHeight?: number; - originLeft?: number; - originTop?: number; - originWidth?: number; -} - -interface FocusOptions { - preventScroll?: boolean; -} - -interface FullscreenOptions { - navigationUI?: FullscreenNavigationUI; -} - -interface GainOptions extends AudioNodeOptions { - gain?: number; -} - -interface GamepadEventInit extends EventInit { - gamepad: Gamepad; -} - -interface GetNotificationOptions { - tag?: string; -} - -interface GetRootNodeOptions { - composed?: boolean; -} - -interface HashChangeEventInit extends EventInit { - newURL?: string; - oldURL?: string; -} - -interface HkdfParams extends Algorithm { - hash: HashAlgorithmIdentifier; - info: Int8Array | Int16Array | Int32Array | Uint8Array | Uint16Array | Uint32Array | Uint8ClampedArray | Float32Array | Float64Array | DataView | ArrayBuffer; - salt: Int8Array | Int16Array | Int32Array | Uint8Array | Uint16Array | Uint32Array | Uint8ClampedArray | Float32Array | Float64Array | DataView | ArrayBuffer; -} - -interface HmacImportParams extends Algorithm { - hash: HashAlgorithmIdentifier; - length?: number; -} - -interface HmacKeyAlgorithm extends KeyAlgorithm { - hash: KeyAlgorithm; - length: number; -} - -interface HmacKeyGenParams extends Algorithm { - hash: HashAlgorithmIdentifier; - length?: number; -} - -interface IDBIndexParameters { - multiEntry?: boolean; - unique?: boolean; -} - -interface IDBObjectStoreParameters { - autoIncrement?: boolean; - keyPath?: string | string[] | null; -} - -interface IDBVersionChangeEventInit extends EventInit { - newVersion?: number | null; - oldVersion?: number; -} - -interface IIRFilterOptions extends AudioNodeOptions { - feedback: number[]; - feedforward: number[]; -} - -interface ImageBitmapOptions { - colorSpaceConversion?: ColorSpaceConversion; - imageOrientation?: ImageOrientation; - premultiplyAlpha?: PremultiplyAlpha; - resizeHeight?: number; - resizeQuality?: ResizeQuality; - resizeWidth?: number; -} - -interface ImageBitmapRenderingContextSettings { - alpha?: boolean; -} - -interface ImageEncodeOptions { - quality?: number; - type?: string; -} - -interface InputEventInit extends UIEventInit { - data?: string | null; - inputType?: string; - isComposing?: boolean; -} - -interface IntersectionObserverEntryInit { - boundingClientRect: DOMRectInit; - intersectionRatio: number; - intersectionRect: DOMRectInit; - isIntersecting: boolean; - rootBounds: DOMRectInit | null; - target: Element; - time: number; -} - -interface IntersectionObserverInit { - root?: Element | null; - rootMargin?: string; - threshold?: number | number[]; -} - -interface JsonWebKey { - alg?: string; - crv?: string; - d?: string; - dp?: string; - dq?: string; - e?: string; - ext?: boolean; - k?: string; - key_ops?: string[]; - kty?: string; - n?: string; - oth?: RsaOtherPrimesInfo[]; - p?: string; - q?: string; - qi?: string; - use?: string; - x?: string; - y?: string; -} - -interface KeyAlgorithm { - name: string; -} - -interface KeyboardEventInit extends EventModifierInit { - code?: string; - isComposing?: boolean; - key?: string; - location?: number; - repeat?: boolean; -} - -interface Keyframe { - composite?: CompositeOperationOrAuto; - easing?: string; - offset?: number | null; - [property: string]: string | number | null | undefined; -} - -interface KeyframeAnimationOptions extends KeyframeEffectOptions { - id?: string; -} - -interface KeyframeEffectOptions extends EffectTiming { - composite?: CompositeOperation; - iterationComposite?: IterationCompositeOperation; -} - -interface MediaElementAudioSourceOptions { - mediaElement: HTMLMediaElement; -} - -interface MediaEncryptedEventInit extends EventInit { - initData?: ArrayBuffer | null; - initDataType?: string; -} - -interface MediaKeyMessageEventInit extends EventInit { - message: ArrayBuffer; - messageType: MediaKeyMessageType; -} - -interface MediaKeySystemConfiguration { - audioCapabilities?: MediaKeySystemMediaCapability[]; - distinctiveIdentifier?: MediaKeysRequirement; - initDataTypes?: string[]; - label?: string; - persistentState?: MediaKeysRequirement; - sessionTypes?: string[]; - videoCapabilities?: MediaKeySystemMediaCapability[]; -} - -interface MediaKeySystemMediaCapability { - contentType?: string; - robustness?: string; -} - -interface MediaQueryListEventInit extends EventInit { - matches?: boolean; - media?: string; -} - -interface MediaStreamAudioSourceOptions { - mediaStream: MediaStream; -} - -interface MediaStreamConstraints { - audio?: boolean | MediaTrackConstraints; - peerIdentity?: string; - video?: boolean | MediaTrackConstraints; -} - -interface MediaStreamErrorEventInit extends EventInit { - error?: MediaStreamError | null; -} - -interface MediaStreamEventInit extends EventInit { - stream?: MediaStream; -} - -interface MediaStreamTrackAudioSourceOptions { - mediaStreamTrack: MediaStreamTrack; -} - -interface MediaStreamTrackEventInit extends EventInit { - track: MediaStreamTrack; -} - -interface MediaTrackCapabilities { - aspectRatio?: DoubleRange; - autoGainControl?: boolean[]; - channelCount?: ULongRange; - deviceId?: string; - echoCancellation?: boolean[]; - facingMode?: string[]; - frameRate?: DoubleRange; - groupId?: string; - height?: ULongRange; - latency?: DoubleRange; - noiseSuppression?: boolean[]; - resizeMode?: string[]; - sampleRate?: ULongRange; - sampleSize?: ULongRange; - width?: ULongRange; -} - -interface MediaTrackConstraintSet { - aspectRatio?: ConstrainDouble; - autoGainControl?: ConstrainBoolean; - channelCount?: ConstrainULong; - deviceId?: ConstrainDOMString; - echoCancellation?: ConstrainBoolean; - facingMode?: ConstrainDOMString; - frameRate?: ConstrainDouble; - groupId?: ConstrainDOMString; - height?: ConstrainULong; - latency?: ConstrainDouble; - noiseSuppression?: ConstrainBoolean; - resizeMode?: ConstrainDOMString; - sampleRate?: ConstrainULong; - sampleSize?: ConstrainULong; - width?: ConstrainULong; -} - -interface MediaTrackConstraints extends MediaTrackConstraintSet { - advanced?: MediaTrackConstraintSet[]; -} - -interface MediaTrackSettings { - aspectRatio?: number; - autoGainControl?: boolean; - channelCount?: number; - deviceId?: string; - echoCancellation?: boolean; - facingMode?: string; - frameRate?: number; - groupId?: string; - height?: number; - latency?: number; - noiseSuppression?: boolean; - resizeMode?: string; - sampleRate?: number; - sampleSize?: number; - width?: number; -} - -interface MediaTrackSupportedConstraints { - aspectRatio?: boolean; - autoGainControl?: boolean; - channelCount?: boolean; - deviceId?: boolean; - echoCancellation?: boolean; - facingMode?: boolean; - frameRate?: boolean; - groupId?: boolean; - height?: boolean; - latency?: boolean; - noiseSuppression?: boolean; - resizeMode?: boolean; - sampleRate?: boolean; - sampleSize?: boolean; - width?: boolean; -} - -interface MessageEventInit extends EventInit { - data?: any; - lastEventId?: string; - origin?: string; - ports?: MessagePort[]; - source?: MessageEventSource | null; -} - -interface MidiPermissionDescriptor extends PermissionDescriptor { - name: "midi"; - sysex?: boolean; -} - -interface MouseEventInit extends EventModifierInit { - button?: number; - buttons?: number; - clientX?: number; - clientY?: number; - movementX?: number; - movementY?: number; - relatedTarget?: EventTarget | null; - screenX?: number; - screenY?: number; -} - -interface MultiCacheQueryOptions extends CacheQueryOptions { - cacheName?: string; -} - -interface MutationObserverInit { - /** - * Set to a list of attribute local names (without namespace) if not all attribute mutations need to be observed and attributes is true or omitted. - */ - attributeFilter?: string[]; - /** - * Set to true if attributes is true or omitted and target's attribute value before the mutation needs to be recorded. - */ - attributeOldValue?: boolean; - /** - * Set to true if mutations to target's attributes are to be observed. Can be omitted if attributeOldValue or attributeFilter is specified. - */ - attributes?: boolean; - /** - * Set to true if mutations to target's data are to be observed. Can be omitted if characterDataOldValue is specified. - */ - characterData?: boolean; - /** - * Set to true if characterData is set to true or omitted and target's data before the mutation needs to be recorded. - */ - characterDataOldValue?: boolean; - /** - * Set to true if mutations to target's children are to be observed. - */ - childList?: boolean; - /** - * Set to true if mutations to not just target, but also target's descendants are to be observed. - */ - subtree?: boolean; -} - -interface NavigationPreloadState { - enabled?: boolean; - headerValue?: string; -} - -interface NotificationAction { - action: string; - icon?: string; - title: string; -} - -interface NotificationOptions { - actions?: NotificationAction[]; - badge?: string; - body?: string; - data?: any; - dir?: NotificationDirection; - icon?: string; - image?: string; - lang?: string; - renotify?: boolean; - requireInteraction?: boolean; - silent?: boolean; - tag?: string; - timestamp?: number; - vibrate?: VibratePattern; -} - -interface OfflineAudioCompletionEventInit extends EventInit { - renderedBuffer: AudioBuffer; -} - -interface OfflineAudioContextOptions { - length: number; - numberOfChannels?: number; - sampleRate: number; -} - -interface OptionalEffectTiming { - delay?: number; - direction?: PlaybackDirection; - duration?: number | string; - easing?: string; - endDelay?: number; - fill?: FillMode; - iterationStart?: number; - iterations?: number; -} - -interface OscillatorOptions extends AudioNodeOptions { - detune?: number; - frequency?: number; - periodicWave?: PeriodicWave; - type?: OscillatorType; -} - -interface PageTransitionEventInit extends EventInit { - persisted?: boolean; -} - -interface PannerOptions extends AudioNodeOptions { - coneInnerAngle?: number; - coneOuterAngle?: number; - coneOuterGain?: number; - distanceModel?: DistanceModelType; - maxDistance?: number; - orientationX?: number; - orientationY?: number; - orientationZ?: number; - panningModel?: PanningModelType; - positionX?: number; - positionY?: number; - positionZ?: number; - refDistance?: number; - rolloffFactor?: number; -} - -interface PaymentCurrencyAmount { - currency: string; - currencySystem?: string; - value: string; -} - -interface PaymentDetailsBase { - displayItems?: PaymentItem[]; - modifiers?: PaymentDetailsModifier[]; - shippingOptions?: PaymentShippingOption[]; -} - -interface PaymentDetailsInit extends PaymentDetailsBase { - id?: string; - total: PaymentItem; -} - -interface PaymentDetailsModifier { - additionalDisplayItems?: PaymentItem[]; - data?: any; - supportedMethods: string | string[]; - total?: PaymentItem; -} - -interface PaymentDetailsUpdate extends PaymentDetailsBase { - error?: string; - total?: PaymentItem; -} - -interface PaymentItem { - amount: PaymentCurrencyAmount; - label: string; - pending?: boolean; -} - -interface PaymentMethodData { - data?: any; - supportedMethods: string | string[]; -} - -interface PaymentOptions { - requestPayerEmail?: boolean; - requestPayerName?: boolean; - requestPayerPhone?: boolean; - requestShipping?: boolean; - shippingType?: string; -} - -interface PaymentRequestUpdateEventInit extends EventInit { -} - -interface PaymentShippingOption { - amount: PaymentCurrencyAmount; - id: string; - label: string; - selected?: boolean; -} - -interface Pbkdf2Params extends Algorithm { - hash: HashAlgorithmIdentifier; - iterations: number; - salt: Int8Array | Int16Array | Int32Array | Uint8Array | Uint16Array | Uint32Array | Uint8ClampedArray | Float32Array | Float64Array | DataView | ArrayBuffer; -} - -interface PerformanceObserverInit { - buffered?: boolean; - entryTypes?: string[]; - type?: string; -} - -interface PeriodicWaveConstraints { - disableNormalization?: boolean; -} - -interface PeriodicWaveOptions extends PeriodicWaveConstraints { - imag?: number[] | Float32Array; - real?: number[] | Float32Array; -} - -interface PermissionDescriptor { - name: PermissionName; -} - -interface PipeOptions { - preventAbort?: boolean; - preventCancel?: boolean; - preventClose?: boolean; - signal?: AbortSignal; -} - -interface PointerEventInit extends MouseEventInit { - height?: number; - isPrimary?: boolean; - pointerId?: number; - pointerType?: string; - pressure?: number; - tangentialPressure?: number; - tiltX?: number; - tiltY?: number; - twist?: number; - width?: number; -} - -interface PopStateEventInit extends EventInit { - state?: any; -} - -interface PositionOptions { - enableHighAccuracy?: boolean; - maximumAge?: number; - timeout?: number; -} - -interface PostMessageOptions { - transfer?: any[]; -} - -interface ProgressEventInit extends EventInit { - lengthComputable?: boolean; - loaded?: number; - total?: number; -} - -interface PromiseRejectionEventInit extends EventInit { - promise: Promise; - reason?: any; -} - -interface PropertyIndexedKeyframes { - composite?: CompositeOperationOrAuto | CompositeOperationOrAuto[]; - easing?: string | string[]; - offset?: number | (number | null)[]; - [property: string]: string | string[] | number | null | (number | null)[] | undefined; -} - -interface PublicKeyCredentialCreationOptions { - attestation?: AttestationConveyancePreference; - authenticatorSelection?: AuthenticatorSelectionCriteria; - challenge: BufferSource; - excludeCredentials?: PublicKeyCredentialDescriptor[]; - extensions?: AuthenticationExtensionsClientInputs; - pubKeyCredParams: PublicKeyCredentialParameters[]; - rp: PublicKeyCredentialRpEntity; - timeout?: number; - user: PublicKeyCredentialUserEntity; -} - -interface PublicKeyCredentialDescriptor { - id: BufferSource; - transports?: AuthenticatorTransport[]; - type: PublicKeyCredentialType; -} - -interface PublicKeyCredentialEntity { - icon?: string; - name: string; -} - -interface PublicKeyCredentialParameters { - alg: COSEAlgorithmIdentifier; - type: PublicKeyCredentialType; -} - -interface PublicKeyCredentialRequestOptions { - allowCredentials?: PublicKeyCredentialDescriptor[]; - challenge: BufferSource; - extensions?: AuthenticationExtensionsClientInputs; - rpId?: string; - timeout?: number; - userVerification?: UserVerificationRequirement; -} - -interface PublicKeyCredentialRpEntity extends PublicKeyCredentialEntity { - id?: string; -} - -interface PublicKeyCredentialUserEntity extends PublicKeyCredentialEntity { - displayName: string; - id: BufferSource; -} - -interface PushPermissionDescriptor extends PermissionDescriptor { - name: "push"; - userVisibleOnly?: boolean; -} - -interface PushSubscriptionJSON { - endpoint?: string; - expirationTime?: number | null; - keys?: Record; -} - -interface PushSubscriptionOptionsInit { - applicationServerKey?: BufferSource | string | null; - userVisibleOnly?: boolean; -} - -interface QueuingStrategy { - highWaterMark?: number; - size?: QueuingStrategySizeCallback; -} - -interface RTCAnswerOptions extends RTCOfferAnswerOptions { -} - -interface RTCCertificateExpiration { - expires?: number; -} - -interface RTCConfiguration { - bundlePolicy?: RTCBundlePolicy; - certificates?: RTCCertificate[]; - iceCandidatePoolSize?: number; - iceServers?: RTCIceServer[]; - iceTransportPolicy?: RTCIceTransportPolicy; - peerIdentity?: string; - rtcpMuxPolicy?: RTCRtcpMuxPolicy; -} - -interface RTCDTMFToneChangeEventInit extends EventInit { - tone: string; -} - -interface RTCDataChannelEventInit extends EventInit { - channel: RTCDataChannel; -} - -interface RTCDataChannelInit { - id?: number; - maxPacketLifeTime?: number; - maxRetransmits?: number; - negotiated?: boolean; - ordered?: boolean; - priority?: RTCPriorityType; - protocol?: string; -} - -interface RTCDtlsFingerprint { - algorithm?: string; - value?: string; -} - -interface RTCDtlsParameters { - fingerprints?: RTCDtlsFingerprint[]; - role?: RTCDtlsRole; -} - -interface RTCErrorEventInit extends EventInit { - error: RTCError; -} - -interface RTCErrorInit { - errorDetail: RTCErrorDetailType; - httpRequestStatusCode?: number; - receivedAlert?: number; - sctpCauseCode?: number; - sdpLineNumber?: number; - sentAlert?: number; -} - -interface RTCIceCandidateAttributes extends RTCStats { - addressSourceUrl?: string; - candidateType?: RTCStatsIceCandidateType; - ipAddress?: string; - portNumber?: number; - priority?: number; - transport?: string; -} - -interface RTCIceCandidateComplete { -} - -interface RTCIceCandidateDictionary { - foundation?: string; - ip?: string; - msMTurnSessionId?: string; - port?: number; - priority?: number; - protocol?: RTCIceProtocol; - relatedAddress?: string; - relatedPort?: number; - tcpType?: RTCIceTcpCandidateType; - type?: RTCIceCandidateType; -} - -interface RTCIceCandidateInit { - candidate?: string; - sdpMLineIndex?: number | null; - sdpMid?: string | null; - usernameFragment?: string | null; -} - -interface RTCIceCandidatePair { - local?: RTCIceCandidate; - remote?: RTCIceCandidate; -} - -interface RTCIceCandidatePairStats extends RTCStats { - availableIncomingBitrate?: number; - availableOutgoingBitrate?: number; - bytesReceived?: number; - bytesSent?: number; - localCandidateId?: string; - nominated?: boolean; - priority?: number; - readable?: boolean; - remoteCandidateId?: string; - roundTripTime?: number; - state?: RTCStatsIceCandidatePairState; - transportId?: string; - writable?: boolean; -} - -interface RTCIceGatherOptions { - gatherPolicy?: RTCIceGatherPolicy; - iceservers?: RTCIceServer[]; -} - -interface RTCIceParameters { - password?: string; - usernameFragment?: string; -} - -interface RTCIceServer { - credential?: string | RTCOAuthCredential; - credentialType?: RTCIceCredentialType; - urls: string | string[]; - username?: string; -} - -interface RTCIdentityProviderOptions { - peerIdentity?: string; - protocol?: string; - usernameHint?: string; -} - -interface RTCInboundRTPStreamStats extends RTCRTPStreamStats { - bytesReceived?: number; - fractionLost?: number; - jitter?: number; - packetsLost?: number; - packetsReceived?: number; -} - -interface RTCMediaStreamTrackStats extends RTCStats { - audioLevel?: number; - echoReturnLoss?: number; - echoReturnLossEnhancement?: number; - frameHeight?: number; - frameWidth?: number; - framesCorrupted?: number; - framesDecoded?: number; - framesDropped?: number; - framesPerSecond?: number; - framesReceived?: number; - framesSent?: number; - remoteSource?: boolean; - ssrcIds?: string[]; - trackIdentifier?: string; -} - -interface RTCOAuthCredential { - accessToken: string; - macKey: string; -} - -interface RTCOfferAnswerOptions { - voiceActivityDetection?: boolean; -} - -interface RTCOfferOptions extends RTCOfferAnswerOptions { - iceRestart?: boolean; - offerToReceiveAudio?: boolean; - offerToReceiveVideo?: boolean; -} - -interface RTCOutboundRTPStreamStats extends RTCRTPStreamStats { - bytesSent?: number; - packetsSent?: number; - roundTripTime?: number; - targetBitrate?: number; -} - -interface RTCPeerConnectionIceErrorEventInit extends EventInit { - errorCode: number; - hostCandidate?: string; - statusText?: string; - url?: string; -} - -interface RTCPeerConnectionIceEventInit extends EventInit { - candidate?: RTCIceCandidate | null; - url?: string | null; -} - -interface RTCRTPStreamStats extends RTCStats { - associateStatsId?: string; - codecId?: string; - firCount?: number; - isRemote?: boolean; - mediaTrackId?: string; - mediaType?: string; - nackCount?: number; - pliCount?: number; - sliCount?: number; - ssrc?: string; - transportId?: string; -} - -interface RTCRtcpFeedback { - parameter?: string; - type?: string; -} - -interface RTCRtcpParameters { - cname?: string; - reducedSize?: boolean; -} - -interface RTCRtpCapabilities { - codecs: RTCRtpCodecCapability[]; - headerExtensions: RTCRtpHeaderExtensionCapability[]; -} - -interface RTCRtpCodecCapability { - channels?: number; - clockRate: number; - mimeType: string; - sdpFmtpLine?: string; -} - -interface RTCRtpCodecParameters { - channels?: number; - clockRate: number; - mimeType: string; - payloadType: number; - sdpFmtpLine?: string; -} - -interface RTCRtpCodingParameters { - rid?: string; -} - -interface RTCRtpContributingSource { - audioLevel?: number; - rtpTimestamp: number; - source: number; - timestamp: number; -} - -interface RTCRtpDecodingParameters extends RTCRtpCodingParameters { -} - -interface RTCRtpEncodingParameters extends RTCRtpCodingParameters { - active?: boolean; - codecPayloadType?: number; - dtx?: RTCDtxStatus; - maxBitrate?: number; - maxFramerate?: number; - ptime?: number; - scaleResolutionDownBy?: number; -} - -interface RTCRtpFecParameters { - mechanism?: string; - ssrc?: number; -} - -interface RTCRtpHeaderExtension { - kind?: string; - preferredEncrypt?: boolean; - preferredId?: number; - uri?: string; -} - -interface RTCRtpHeaderExtensionCapability { - uri?: string; -} - -interface RTCRtpHeaderExtensionParameters { - encrypted?: boolean; - id: number; - uri: string; -} - -interface RTCRtpParameters { - codecs: RTCRtpCodecParameters[]; - headerExtensions: RTCRtpHeaderExtensionParameters[]; - rtcp: RTCRtcpParameters; -} - -interface RTCRtpReceiveParameters extends RTCRtpParameters { - encodings: RTCRtpDecodingParameters[]; -} - -interface RTCRtpRtxParameters { - ssrc?: number; -} - -interface RTCRtpSendParameters extends RTCRtpParameters { - degradationPreference?: RTCDegradationPreference; - encodings: RTCRtpEncodingParameters[]; - priority?: RTCPriorityType; - transactionId: string; -} - -interface RTCRtpSynchronizationSource extends RTCRtpContributingSource { - voiceActivityFlag?: boolean; -} - -interface RTCRtpTransceiverInit { - direction?: RTCRtpTransceiverDirection; - sendEncodings?: RTCRtpEncodingParameters[]; - streams?: MediaStream[]; -} - -interface RTCRtpUnhandled { - muxId?: string; - payloadType?: number; - ssrc?: number; -} - -interface RTCSessionDescriptionInit { - sdp?: string; - type?: RTCSdpType; -} - -interface RTCSrtpKeyParam { - keyMethod?: string; - keySalt?: string; - lifetime?: string; - mkiLength?: number; - mkiValue?: number; -} - -interface RTCSrtpSdesParameters { - cryptoSuite?: string; - keyParams?: RTCSrtpKeyParam[]; - sessionParams?: string[]; - tag?: number; -} - -interface RTCSsrcRange { - max?: number; - min?: number; -} - -interface RTCStats { - id: string; - timestamp: number; - type: RTCStatsType; -} - -interface RTCStatsEventInit extends EventInit { - report: RTCStatsReport; -} - -interface RTCStatsReport { -} - -interface RTCTrackEventInit extends EventInit { - receiver: RTCRtpReceiver; - streams?: MediaStream[]; - track: MediaStreamTrack; - transceiver: RTCRtpTransceiver; -} - -interface RTCTransportStats extends RTCStats { - activeConnection?: boolean; - bytesReceived?: number; - bytesSent?: number; - localCertificateId?: string; - remoteCertificateId?: string; - rtcpTransportStatsId?: string; - selectedCandidatePairId?: string; -} - -interface ReadableStreamReadDoneResult { - done: true; - value?: T; -} - -interface ReadableStreamReadValueResult { - done: false; - value: T; -} - -interface RegistrationOptions { - scope?: string; - type?: WorkerType; - updateViaCache?: ServiceWorkerUpdateViaCache; -} - -interface RequestInit { - /** - * A BodyInit object or null to set request's body. - */ - body?: BodyInit | null; - /** - * A string indicating how the request will interact with the browser's cache to set request's cache. - */ - cache?: RequestCache; - /** - * A string indicating whether credentials will be sent with the request always, never, or only when sent to a same-origin URL. Sets request's credentials. - */ - credentials?: RequestCredentials; - /** - * A Headers object, an object literal, or an array of two-item arrays to set request's headers. - */ - headers?: HeadersInit; - /** - * A cryptographic hash of the resource to be fetched by request. Sets request's integrity. - */ - integrity?: string; - /** - * A boolean to set request's keepalive. - */ - keepalive?: boolean; - /** - * A string to set request's method. - */ - method?: string; - /** - * A string to indicate whether the request will use CORS, or will be restricted to same-origin URLs. Sets request's mode. - */ - mode?: RequestMode; - /** - * A string indicating whether request follows redirects, results in an error upon encountering a redirect, or returns the redirect (in an opaque fashion). Sets request's redirect. - */ - redirect?: RequestRedirect; - /** - * A string whose value is a same-origin URL, "about:client", or the empty string, to set request's referrer. - */ - referrer?: string; - /** - * A referrer policy to set request's referrerPolicy. - */ - referrerPolicy?: ReferrerPolicy; - /** - * An AbortSignal to set request's signal. - */ - signal?: AbortSignal | null; - /** - * Can only be null. Used to disassociate request from any Window. - */ - window?: any; -} - -interface ResponseInit { - headers?: HeadersInit; - status?: number; - statusText?: string; -} - -interface RsaHashedImportParams extends Algorithm { - hash: HashAlgorithmIdentifier; -} - -interface RsaHashedKeyAlgorithm extends RsaKeyAlgorithm { - hash: KeyAlgorithm; -} - -interface RsaHashedKeyGenParams extends RsaKeyGenParams { - hash: HashAlgorithmIdentifier; -} - -interface RsaKeyAlgorithm extends KeyAlgorithm { - modulusLength: number; - publicExponent: BigInteger; -} - -interface RsaKeyGenParams extends Algorithm { - modulusLength: number; - publicExponent: BigInteger; -} - -interface RsaOaepParams extends Algorithm { - label?: Int8Array | Int16Array | Int32Array | Uint8Array | Uint16Array | Uint32Array | Uint8ClampedArray | Float32Array | Float64Array | DataView | ArrayBuffer; -} - -interface RsaOtherPrimesInfo { - d?: string; - r?: string; - t?: string; -} - -interface RsaPssParams extends Algorithm { - saltLength: number; -} - -interface SVGBoundingBoxOptions { - clipped?: boolean; - fill?: boolean; - markers?: boolean; - stroke?: boolean; -} - -interface ScopedCredentialDescriptor { - id: Int8Array | Int16Array | Int32Array | Uint8Array | Uint16Array | Uint32Array | Uint8ClampedArray | Float32Array | Float64Array | DataView | ArrayBuffer | null; - transports?: Transport[]; - type: ScopedCredentialType; -} - -interface ScopedCredentialOptions { - excludeList?: ScopedCredentialDescriptor[]; - extensions?: WebAuthnExtensions; - rpId?: string; - timeoutSeconds?: number; -} - -interface ScopedCredentialParameters { - algorithm: string | Algorithm; - type: ScopedCredentialType; -} - -interface ScrollIntoViewOptions extends ScrollOptions { - block?: ScrollLogicalPosition; - inline?: ScrollLogicalPosition; -} - -interface ScrollOptions { - behavior?: ScrollBehavior; -} - -interface ScrollToOptions extends ScrollOptions { - left?: number; - top?: number; -} - -interface SecurityPolicyViolationEventInit extends EventInit { - blockedURI?: string; - columnNumber?: number; - documentURI?: string; - effectiveDirective?: string; - lineNumber?: number; - originalPolicy?: string; - referrer?: string; - sourceFile?: string; - statusCode?: number; - violatedDirective?: string; -} - -interface ServiceWorkerMessageEventInit extends EventInit { - data?: any; - lastEventId?: string; - origin?: string; - ports?: MessagePort[] | null; - source?: ServiceWorker | MessagePort | null; -} - -interface ShadowRootInit { - delegatesFocus?: boolean; - mode: ShadowRootMode; -} - -interface ShareData { - text?: string; - title?: string; - url?: string; -} - -interface SpeechSynthesisErrorEventInit extends SpeechSynthesisEventInit { - error: SpeechSynthesisErrorCode; -} - -interface SpeechSynthesisEventInit extends EventInit { - charIndex?: number; - charLength?: number; - elapsedTime?: number; - name?: string; - utterance: SpeechSynthesisUtterance; -} - -interface StaticRangeInit { - endContainer: Node; - endOffset: number; - startContainer: Node; - startOffset: number; -} - -interface StereoPannerOptions extends AudioNodeOptions { - pan?: number; -} - -interface StorageEstimate { - quota?: number; - usage?: number; -} - -interface StorageEventInit extends EventInit { - key?: string | null; - newValue?: string | null; - oldValue?: string | null; - storageArea?: Storage | null; - url?: string; -} - -interface StoreExceptionsInformation extends ExceptionInformation { - detailURI?: string | null; - explanationString?: string | null; - siteName?: string | null; -} - -interface StoreSiteSpecificExceptionsInformation extends StoreExceptionsInformation { - arrayOfDomainStrings?: string[]; -} - -interface TextDecodeOptions { - stream?: boolean; -} - -interface TextDecoderOptions { - fatal?: boolean; - ignoreBOM?: boolean; -} - -interface TextEncoderEncodeIntoResult { - read?: number; - written?: number; -} - -interface TouchEventInit extends EventModifierInit { - changedTouches?: Touch[]; - targetTouches?: Touch[]; - touches?: Touch[]; -} - -interface TouchInit { - altitudeAngle?: number; - azimuthAngle?: number; - clientX?: number; - clientY?: number; - force?: number; - identifier: number; - pageX?: number; - pageY?: number; - radiusX?: number; - radiusY?: number; - rotationAngle?: number; - screenX?: number; - screenY?: number; - target: EventTarget; - touchType?: TouchType; -} - -interface TrackEventInit extends EventInit { - track?: TextTrack | null; -} - -interface Transformer { - flush?: TransformStreamDefaultControllerCallback; - readableType?: undefined; - start?: TransformStreamDefaultControllerCallback; - transform?: TransformStreamDefaultControllerTransformCallback; - writableType?: undefined; -} - -interface TransitionEventInit extends EventInit { - elapsedTime?: number; - propertyName?: string; - pseudoElement?: string; -} - -interface UIEventInit extends EventInit { - detail?: number; - view?: Window | null; -} - -interface ULongRange { - max?: number; - min?: number; -} - -interface UnderlyingByteSource { - autoAllocateChunkSize?: number; - cancel?: ReadableStreamErrorCallback; - pull?: ReadableByteStreamControllerCallback; - start?: ReadableByteStreamControllerCallback; - type: "bytes"; -} - -interface UnderlyingSink { - abort?: WritableStreamErrorCallback; - close?: WritableStreamDefaultControllerCloseCallback; - start?: WritableStreamDefaultControllerStartCallback; - type?: undefined; - write?: WritableStreamDefaultControllerWriteCallback; -} - -interface UnderlyingSource { - cancel?: ReadableStreamErrorCallback; - pull?: ReadableStreamDefaultControllerCallback; - start?: ReadableStreamDefaultControllerCallback; - type?: undefined; -} - -interface VRDisplayEventInit extends EventInit { - display: VRDisplay; - reason?: VRDisplayEventReason; -} - -interface VRLayer { - leftBounds?: number[] | Float32Array | null; - rightBounds?: number[] | Float32Array | null; - source?: HTMLCanvasElement | null; -} - -interface VRStageParameters { - sittingToStandingTransform?: Float32Array; - sizeX?: number; - sizeY?: number; -} - -interface WaveShaperOptions extends AudioNodeOptions { - curve?: number[] | Float32Array; - oversample?: OverSampleType; -} - -interface WebAuthnExtensions { -} - -interface WebGLContextAttributes { - alpha?: boolean; - antialias?: boolean; - depth?: boolean; - desynchronized?: boolean; - failIfMajorPerformanceCaveat?: boolean; - powerPreference?: WebGLPowerPreference; - premultipliedAlpha?: boolean; - preserveDrawingBuffer?: boolean; - stencil?: boolean; -} - -interface WebGLContextEventInit extends EventInit { - statusMessage?: string; -} - -interface WheelEventInit extends MouseEventInit { - deltaMode?: number; - deltaX?: number; - deltaY?: number; - deltaZ?: number; -} - -interface WorkerOptions { - credentials?: RequestCredentials; - name?: string; - type?: WorkerType; -} - -interface WorkletOptions { - credentials?: RequestCredentials; -} - -interface txAuthGenericArg { - content: ArrayBuffer; - contentType: string; -} - -interface EventListener { - (evt: Event): void; -} - -type XPathNSResolver = ((prefix: string | null) => string | null) | { lookupNamespaceURI(prefix: string | null): string | null; }; - -/** The ANGLE_instanced_arrays extension is part of the WebGL API and allows to draw the same object, or groups of similar objects multiple times, if they share the same vertex data, primitive count and type. */ -interface ANGLE_instanced_arrays { - drawArraysInstancedANGLE(mode: GLenum, first: GLint, count: GLsizei, primcount: GLsizei): void; - drawElementsInstancedANGLE(mode: GLenum, count: GLsizei, type: GLenum, offset: GLintptr, primcount: GLsizei): void; - vertexAttribDivisorANGLE(index: GLuint, divisor: GLuint): void; - readonly VERTEX_ATTRIB_ARRAY_DIVISOR_ANGLE: GLenum; -} - -/** A controller object that allows you to abort one or more DOM requests as and when desired. */ -interface AbortController { - /** - * Returns the AbortSignal object associated with this object. - */ - readonly signal: AbortSignal; - /** - * Invoking this method will set this object's AbortSignal's aborted flag and signal to any observers that the associated activity is to be aborted. - */ - abort(): void; -} - -declare var AbortController: { - prototype: AbortController; - new(): AbortController; -}; - -interface AbortSignalEventMap { - "abort": Event; -} - -/** A signal object that allows you to communicate with a DOM request (such as a Fetch) and abort it if required via an AbortController object. */ -interface AbortSignal extends EventTarget { - /** - * Returns true if this AbortSignal's AbortController has signaled to abort, and false otherwise. - */ - readonly aborted: boolean; - onabort: ((this: AbortSignal, ev: Event) => any) | null; - addEventListener(type: K, listener: (this: AbortSignal, ev: AbortSignalEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void; - addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void; - removeEventListener(type: K, listener: (this: AbortSignal, ev: AbortSignalEventMap[K]) => any, options?: boolean | EventListenerOptions): void; - removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void; -} - -declare var AbortSignal: { - prototype: AbortSignal; - new(): AbortSignal; -}; - -interface AbstractRange { - /** - * Returns true if range is collapsed, and false otherwise. - */ - readonly collapsed: boolean; - /** - * Returns range's end node. - */ - readonly endContainer: Node; - /** - * Returns range's end offset. - */ - readonly endOffset: number; - /** - * Returns range's start node. - */ - readonly startContainer: Node; - /** - * Returns range's start offset. - */ - readonly startOffset: number; -} - -declare var AbstractRange: { - prototype: AbstractRange; - new(): AbstractRange; -}; - -interface AbstractWorkerEventMap { - "error": ErrorEvent; -} - -interface AbstractWorker { - onerror: ((this: AbstractWorker, ev: ErrorEvent) => any) | null; - addEventListener(type: K, listener: (this: AbstractWorker, ev: AbstractWorkerEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void; - addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void; - removeEventListener(type: K, listener: (this: AbstractWorker, ev: AbstractWorkerEventMap[K]) => any, options?: boolean | EventListenerOptions): void; - removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void; -} - -interface AesCfbParams extends Algorithm { - iv: Int8Array | Int16Array | Int32Array | Uint8Array | Uint16Array | Uint32Array | Uint8ClampedArray | Float32Array | Float64Array | DataView | ArrayBuffer; -} - -interface AesCmacParams extends Algorithm { - length: number; -} - -/** A node able to provide real-time frequency and time-domain analysis information. It is an AudioNode that passes the audio stream unchanged from the input to the output, but allows you to take the generated data, process it, and create audio visualizations. */ -interface AnalyserNode extends AudioNode { - fftSize: number; - readonly frequencyBinCount: number; - maxDecibels: number; - minDecibels: number; - smoothingTimeConstant: number; - getByteFrequencyData(array: Uint8Array): void; - getByteTimeDomainData(array: Uint8Array): void; - getFloatFrequencyData(array: Float32Array): void; - getFloatTimeDomainData(array: Float32Array): void; -} - -declare var AnalyserNode: { - prototype: AnalyserNode; - new(context: BaseAudioContext, options?: AnalyserOptions): AnalyserNode; -}; - -interface Animatable { - animate(keyframes: Keyframe[] | PropertyIndexedKeyframes | null, options?: number | KeyframeAnimationOptions): Animation; - getAnimations(): Animation[]; -} - -interface AnimationEventMap { - "cancel": AnimationPlaybackEvent; - "finish": AnimationPlaybackEvent; -} - -interface Animation extends EventTarget { - currentTime: number | null; - effect: AnimationEffect | null; - readonly finished: Promise; - id: string; - oncancel: ((this: Animation, ev: AnimationPlaybackEvent) => any) | null; - onfinish: ((this: Animation, ev: AnimationPlaybackEvent) => any) | null; - readonly pending: boolean; - readonly playState: AnimationPlayState; - playbackRate: number; - readonly ready: Promise; - startTime: number | null; - timeline: AnimationTimeline | null; - cancel(): void; - finish(): void; - pause(): void; - play(): void; - reverse(): void; - updatePlaybackRate(playbackRate: number): void; - addEventListener(type: K, listener: (this: Animation, ev: AnimationEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void; - addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void; - removeEventListener(type: K, listener: (this: Animation, ev: AnimationEventMap[K]) => any, options?: boolean | EventListenerOptions): void; - removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void; -} - -declare var Animation: { - prototype: Animation; - new(effect?: AnimationEffect | null, timeline?: AnimationTimeline | null): Animation; -}; - -interface AnimationEffect { - getComputedTiming(): ComputedEffectTiming; - getTiming(): EffectTiming; - updateTiming(timing?: OptionalEffectTiming): void; -} - -declare var AnimationEffect: { - prototype: AnimationEffect; - new(): AnimationEffect; -}; - -/** Events providing information related to animations. */ -interface AnimationEvent extends Event { - readonly animationName: string; - readonly elapsedTime: number; - readonly pseudoElement: string; -} - -declare var AnimationEvent: { - prototype: AnimationEvent; - new(type: string, animationEventInitDict?: AnimationEventInit): AnimationEvent; -}; - -interface AnimationFrameProvider { - cancelAnimationFrame(handle: number): void; - requestAnimationFrame(callback: FrameRequestCallback): number; -} - -interface AnimationPlaybackEvent extends Event { - readonly currentTime: number | null; - readonly timelineTime: number | null; -} - -declare var AnimationPlaybackEvent: { - prototype: AnimationPlaybackEvent; - new(type: string, eventInitDict?: AnimationPlaybackEventInit): AnimationPlaybackEvent; -}; - -interface AnimationTimeline { - readonly currentTime: number | null; -} - -declare var AnimationTimeline: { - prototype: AnimationTimeline; - new(): AnimationTimeline; -}; - -interface ApplicationCacheEventMap { - "cached": Event; - "checking": Event; - "downloading": Event; - "error": Event; - "noupdate": Event; - "obsolete": Event; - "progress": ProgressEvent; - "updateready": Event; -} - -interface ApplicationCache extends EventTarget { - /** @deprecated */ - oncached: ((this: ApplicationCache, ev: Event) => any) | null; - /** @deprecated */ - onchecking: ((this: ApplicationCache, ev: Event) => any) | null; - /** @deprecated */ - ondownloading: ((this: ApplicationCache, ev: Event) => any) | null; - /** @deprecated */ - onerror: ((this: ApplicationCache, ev: Event) => any) | null; - /** @deprecated */ - onnoupdate: ((this: ApplicationCache, ev: Event) => any) | null; - /** @deprecated */ - onobsolete: ((this: ApplicationCache, ev: Event) => any) | null; - /** @deprecated */ - onprogress: ((this: ApplicationCache, ev: ProgressEvent) => any) | null; - /** @deprecated */ - onupdateready: ((this: ApplicationCache, ev: Event) => any) | null; - /** @deprecated */ - readonly status: number; - /** @deprecated */ - abort(): void; - /** @deprecated */ - swapCache(): void; - /** @deprecated */ - update(): void; - readonly CHECKING: number; - readonly DOWNLOADING: number; - readonly IDLE: number; - readonly OBSOLETE: number; - readonly UNCACHED: number; - readonly UPDATEREADY: number; - addEventListener(type: K, listener: (this: ApplicationCache, ev: ApplicationCacheEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void; - addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void; - removeEventListener(type: K, listener: (this: ApplicationCache, ev: ApplicationCacheEventMap[K]) => any, options?: boolean | EventListenerOptions): void; - removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void; -} - -declare var ApplicationCache: { - prototype: ApplicationCache; - new(): ApplicationCache; - readonly CHECKING: number; - readonly DOWNLOADING: number; - readonly IDLE: number; - readonly OBSOLETE: number; - readonly UNCACHED: number; - readonly UPDATEREADY: number; -}; - -/** A DOM element's attribute as an object. In most DOM methods, you will probably directly retrieve the attribute as a string (e.g., Element.getAttribute(), but certain functions (e.g., Element.getAttributeNode()) or means of iterating give Attr types. */ -interface Attr extends Node { - readonly localName: string; - readonly name: string; - readonly namespaceURI: string | null; - readonly ownerDocument: Document; - readonly ownerElement: Element | null; - readonly prefix: string | null; - readonly specified: boolean; - value: string; -} - -declare var Attr: { - prototype: Attr; - new(): Attr; -}; - -/** A short audio asset residing in memory, created from an audio file using the AudioContext.decodeAudioData() method, or from raw data using AudioContext.createBuffer(). Once put into an AudioBuffer, the audio can then be played by being passed into an AudioBufferSourceNode. */ -interface AudioBuffer { - readonly duration: number; - readonly length: number; - readonly numberOfChannels: number; - readonly sampleRate: number; - copyFromChannel(destination: Float32Array, channelNumber: number, bufferOffset?: number): void; - copyToChannel(source: Float32Array, channelNumber: number, bufferOffset?: number): void; - getChannelData(channel: number): Float32Array; -} - -declare var AudioBuffer: { - prototype: AudioBuffer; - new(options: AudioBufferOptions): AudioBuffer; -}; - -/** An AudioScheduledSourceNode which represents an audio source consisting of in-memory audio data, stored in an AudioBuffer. It's especially useful for playing back audio which has particularly stringent timing accuracy requirements, such as for sounds that must match a specific rhythm and can be kept in memory rather than being played from disk or the network. */ -interface AudioBufferSourceNode extends AudioScheduledSourceNode { - buffer: AudioBuffer | null; - readonly detune: AudioParam; - loop: boolean; - loopEnd: number; - loopStart: number; - readonly playbackRate: AudioParam; - start(when?: number, offset?: number, duration?: number): void; - addEventListener(type: K, listener: (this: AudioBufferSourceNode, ev: AudioScheduledSourceNodeEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void; - addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void; - removeEventListener(type: K, listener: (this: AudioBufferSourceNode, ev: AudioScheduledSourceNodeEventMap[K]) => any, options?: boolean | EventListenerOptions): void; - removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void; -} - -declare var AudioBufferSourceNode: { - prototype: AudioBufferSourceNode; - new(context: BaseAudioContext, options?: AudioBufferSourceOptions): AudioBufferSourceNode; -}; - -/** An audio-processing graph built from audio modules linked together, each represented by an AudioNode. */ -interface AudioContext extends BaseAudioContext { - readonly baseLatency: number; - readonly outputLatency: number; - close(): Promise; - createMediaElementSource(mediaElement: HTMLMediaElement): MediaElementAudioSourceNode; - createMediaStreamDestination(): MediaStreamAudioDestinationNode; - createMediaStreamSource(mediaStream: MediaStream): MediaStreamAudioSourceNode; - createMediaStreamTrackSource(mediaStreamTrack: MediaStreamTrack): MediaStreamTrackAudioSourceNode; - getOutputTimestamp(): AudioTimestamp; - resume(): Promise; - suspend(): Promise; - addEventListener(type: K, listener: (this: AudioContext, ev: BaseAudioContextEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void; - addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void; - removeEventListener(type: K, listener: (this: AudioContext, ev: BaseAudioContextEventMap[K]) => any, options?: boolean | EventListenerOptions): void; - removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void; -} - -declare var AudioContext: { - prototype: AudioContext; - new(contextOptions?: AudioContextOptions): AudioContext; -}; - -/** 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. */ -interface AudioDestinationNode extends AudioNode { - readonly maxChannelCount: number; -} - -declare var AudioDestinationNode: { - prototype: AudioDestinationNode; - new(): AudioDestinationNode; -}; - -/** 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. */ -interface AudioListener { - readonly forwardX: AudioParam; - readonly forwardY: AudioParam; - readonly forwardZ: AudioParam; - readonly positionX: AudioParam; - readonly positionY: AudioParam; - readonly positionZ: AudioParam; - readonly upX: AudioParam; - readonly upY: AudioParam; - readonly upZ: AudioParam; - /** @deprecated */ - setOrientation(x: number, y: number, z: number, xUp: number, yUp: number, zUp: number): void; - /** @deprecated */ - setPosition(x: number, y: number, z: number): void; -} - -declare var AudioListener: { - prototype: AudioListener; - new(): AudioListener; -}; - -/** A generic interface for representing an audio processing module. Examples include: */ -interface AudioNode extends EventTarget { - channelCount: number; - channelCountMode: ChannelCountMode; - channelInterpretation: ChannelInterpretation; - readonly context: BaseAudioContext; - readonly numberOfInputs: number; - readonly numberOfOutputs: number; - connect(destinationNode: AudioNode, output?: number, input?: number): AudioNode; - connect(destinationParam: AudioParam, output?: number): void; - disconnect(): void; - disconnect(output: number): void; - disconnect(destinationNode: AudioNode): void; - disconnect(destinationNode: AudioNode, output: number): void; - disconnect(destinationNode: AudioNode, output: number, input: number): void; - disconnect(destinationParam: AudioParam): void; - disconnect(destinationParam: AudioParam, output: number): void; -} - -declare var AudioNode: { - prototype: AudioNode; - new(): AudioNode; -}; - -/** The Web Audio API's AudioParam interface represents an audio-related parameter, usually a parameter of an AudioNode (such as GainNode.gain). */ -interface AudioParam { - automationRate: AutomationRate; - readonly defaultValue: number; - readonly maxValue: number; - readonly minValue: number; - value: number; - cancelAndHoldAtTime(cancelTime: number): AudioParam; - cancelScheduledValues(cancelTime: number): AudioParam; - exponentialRampToValueAtTime(value: number, endTime: number): AudioParam; - linearRampToValueAtTime(value: number, endTime: number): AudioParam; - setTargetAtTime(target: number, startTime: number, timeConstant: number): AudioParam; - setValueAtTime(value: number, startTime: number): AudioParam; - setValueCurveAtTime(values: number[] | Float32Array, startTime: number, duration: number): AudioParam; -} - -declare var AudioParam: { - prototype: AudioParam; - new(): AudioParam; -}; - -interface AudioParamMap { - forEach(callbackfn: (value: AudioParam, key: string, parent: AudioParamMap) => void, thisArg?: any): void; -} - -declare var AudioParamMap: { - prototype: AudioParamMap; - new(): AudioParamMap; -}; - -/** The Web Audio API events that occur when a ScriptProcessorNode input buffer is ready to be processed. */ -interface AudioProcessingEvent extends Event { - readonly inputBuffer: AudioBuffer; - readonly outputBuffer: AudioBuffer; - readonly playbackTime: number; -} - -declare var AudioProcessingEvent: { - prototype: AudioProcessingEvent; - new(type: string, eventInitDict: AudioProcessingEventInit): AudioProcessingEvent; -}; - -interface AudioScheduledSourceNodeEventMap { - "ended": Event; -} - -interface AudioScheduledSourceNode extends AudioNode { - onended: ((this: AudioScheduledSourceNode, ev: Event) => any) | null; - start(when?: number): void; - stop(when?: number): void; - addEventListener(type: K, listener: (this: AudioScheduledSourceNode, ev: AudioScheduledSourceNodeEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void; - addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void; - removeEventListener(type: K, listener: (this: AudioScheduledSourceNode, ev: AudioScheduledSourceNodeEventMap[K]) => any, options?: boolean | EventListenerOptions): void; - removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void; -} - -declare var AudioScheduledSourceNode: { - prototype: AudioScheduledSourceNode; - new(): AudioScheduledSourceNode; -}; - -interface AudioWorklet extends Worklet { -} - -declare var AudioWorklet: { - prototype: AudioWorklet; - new(): AudioWorklet; -}; - -interface AudioWorkletNodeEventMap { - "processorerror": Event; -} - -interface AudioWorkletNode extends AudioNode { - onprocessorerror: ((this: AudioWorkletNode, ev: Event) => any) | null; - readonly parameters: AudioParamMap; - readonly port: MessagePort; - addEventListener(type: K, listener: (this: AudioWorkletNode, ev: AudioWorkletNodeEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void; - addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void; - removeEventListener(type: K, listener: (this: AudioWorkletNode, ev: AudioWorkletNodeEventMap[K]) => any, options?: boolean | EventListenerOptions): void; - removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void; -} - -declare var AudioWorkletNode: { - prototype: AudioWorkletNode; - new(context: BaseAudioContext, name: string, options?: AudioWorkletNodeOptions): AudioWorkletNode; -}; - -interface AuthenticatorAssertionResponse extends AuthenticatorResponse { - readonly authenticatorData: ArrayBuffer; - readonly signature: ArrayBuffer; - readonly userHandle: ArrayBuffer | null; -} - -declare var AuthenticatorAssertionResponse: { - prototype: AuthenticatorAssertionResponse; - new(): AuthenticatorAssertionResponse; -}; - -interface AuthenticatorAttestationResponse extends AuthenticatorResponse { - readonly attestationObject: ArrayBuffer; -} - -declare var AuthenticatorAttestationResponse: { - prototype: AuthenticatorAttestationResponse; - new(): AuthenticatorAttestationResponse; -}; - -interface AuthenticatorResponse { - readonly clientDataJSON: ArrayBuffer; -} - -declare var AuthenticatorResponse: { - prototype: AuthenticatorResponse; - new(): AuthenticatorResponse; -}; - -interface BarProp { - readonly visible: boolean; -} - -declare var BarProp: { - prototype: BarProp; - new(): BarProp; -}; - -interface BaseAudioContextEventMap { - "statechange": Event; -} - -interface BaseAudioContext extends EventTarget { - readonly audioWorklet: AudioWorklet; - readonly currentTime: number; - readonly destination: AudioDestinationNode; - readonly listener: AudioListener; - onstatechange: ((this: BaseAudioContext, ev: Event) => any) | null; - readonly sampleRate: number; - readonly state: AudioContextState; - createAnalyser(): AnalyserNode; - createBiquadFilter(): BiquadFilterNode; - createBuffer(numberOfChannels: number, length: number, sampleRate: number): AudioBuffer; - createBufferSource(): AudioBufferSourceNode; - createChannelMerger(numberOfInputs?: number): ChannelMergerNode; - createChannelSplitter(numberOfOutputs?: number): ChannelSplitterNode; - createConstantSource(): ConstantSourceNode; - createConvolver(): ConvolverNode; - createDelay(maxDelayTime?: number): DelayNode; - createDynamicsCompressor(): DynamicsCompressorNode; - createGain(): GainNode; - createIIRFilter(feedforward: number[], feedback: number[]): IIRFilterNode; - createOscillator(): OscillatorNode; - createPanner(): PannerNode; - createPeriodicWave(real: number[] | Float32Array, imag: number[] | Float32Array, constraints?: PeriodicWaveConstraints): PeriodicWave; - createScriptProcessor(bufferSize?: number, numberOfInputChannels?: number, numberOfOutputChannels?: number): ScriptProcessorNode; - createStereoPanner(): StereoPannerNode; - createWaveShaper(): WaveShaperNode; - decodeAudioData(audioData: ArrayBuffer, successCallback?: DecodeSuccessCallback | null, errorCallback?: DecodeErrorCallback | null): Promise; - addEventListener(type: K, listener: (this: BaseAudioContext, ev: BaseAudioContextEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void; - addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void; - removeEventListener(type: K, listener: (this: BaseAudioContext, ev: BaseAudioContextEventMap[K]) => any, options?: boolean | EventListenerOptions): void; - removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void; -} - -declare var BaseAudioContext: { - prototype: BaseAudioContext; - new(): BaseAudioContext; -}; - -/** The beforeunload event is fired when the window, the document and its resources are about to be unloaded. */ -interface BeforeUnloadEvent extends Event { - returnValue: any; -} - -declare var BeforeUnloadEvent: { - prototype: BeforeUnloadEvent; - new(): BeforeUnloadEvent; -}; - -interface BhxBrowser { - readonly lastError: DOMException; - checkMatchesGlobExpression(pattern: string, value: string): boolean; - checkMatchesUriExpression(pattern: string, value: string): boolean; - clearLastError(): void; - currentWindowId(): number; - fireExtensionApiTelemetry(functionName: string, isSucceeded: boolean, isSupported: boolean, errorString: string): void; - genericFunction(functionId: number, destination: any, parameters?: string, callbackId?: number): void; - genericSynchronousFunction(functionId: number, parameters?: string): string; - getExtensionId(): string; - getThisAddress(): any; - registerGenericFunctionCallbackHandler(callbackHandler: Function): void; - registerGenericListenerHandler(eventHandler: Function): void; - setLastError(parameters: string): void; - webPlatformGenericFunction(destination: any, parameters?: string, callbackId?: number): void; -} - -declare var BhxBrowser: { - prototype: BhxBrowser; - new(): BhxBrowser; -}; - -/** A simple low-order filter, and is created using the AudioContext.createBiquadFilter() method. It is an AudioNode that can represent different kinds of filters, tone control devices, and graphic equalizers. */ -interface BiquadFilterNode extends AudioNode { - readonly Q: AudioParam; - readonly detune: AudioParam; - readonly frequency: AudioParam; - readonly gain: AudioParam; - type: BiquadFilterType; - getFrequencyResponse(frequencyHz: Float32Array, magResponse: Float32Array, phaseResponse: Float32Array): void; -} - -declare var BiquadFilterNode: { - prototype: BiquadFilterNode; - new(context: BaseAudioContext, options?: BiquadFilterOptions): BiquadFilterNode; -}; - -/** 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. */ -interface Blob { - readonly size: number; - readonly type: string; - arrayBuffer(): Promise; - slice(start?: number, end?: number, contentType?: string): Blob; - stream(): ReadableStream; - text(): Promise; -} - -declare var Blob: { - prototype: Blob; - new(blobParts?: BlobPart[], options?: BlobPropertyBag): Blob; -}; - -interface Body { - readonly body: ReadableStream | null; - readonly bodyUsed: boolean; - arrayBuffer(): Promise; - blob(): Promise; - formData(): Promise; - json(): Promise; - text(): Promise; -} - -interface BroadcastChannelEventMap { - "message": MessageEvent; - "messageerror": MessageEvent; -} - -interface BroadcastChannel extends EventTarget { - /** - * Returns the channel name (as passed to the constructor). - */ - readonly name: string; - onmessage: ((this: BroadcastChannel, ev: MessageEvent) => any) | null; - onmessageerror: ((this: BroadcastChannel, ev: MessageEvent) => any) | null; - /** - * Closes the BroadcastChannel object, opening it up to garbage collection. - */ - close(): void; - /** - * Sends the given message to other BroadcastChannel objects set up for this channel. Messages can be structured objects, e.g. nested objects and arrays. - */ - postMessage(message: any): void; - addEventListener(type: K, listener: (this: BroadcastChannel, ev: BroadcastChannelEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void; - addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void; - removeEventListener(type: K, listener: (this: BroadcastChannel, ev: BroadcastChannelEventMap[K]) => any, options?: boolean | EventListenerOptions): void; - removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void; -} - -declare var BroadcastChannel: { - prototype: BroadcastChannel; - new(name: string): BroadcastChannel; -}; - -/** This Streams API interface provides a built-in byte length queuing strategy that can be used when constructing streams. */ -interface ByteLengthQueuingStrategy extends QueuingStrategy { - highWaterMark: number; - size(chunk: ArrayBufferView): number; -} - -declare var ByteLengthQueuingStrategy: { - prototype: ByteLengthQueuingStrategy; - new(options: { highWaterMark: number }): ByteLengthQueuingStrategy; -}; - -/** A CDATA section that can be used within XML to include extended portions of unescaped text. The symbols < and & don’t need escaping as they normally do when inside a CDATA section. */ -interface CDATASection extends Text { -} - -declare var CDATASection: { - prototype: CDATASection; - new(): CDATASection; -}; - -/** A single condition CSS at-rule, which consists of a condition and a statement block. It is a child of CSSGroupingRule. */ -interface CSSConditionRule extends CSSGroupingRule { - conditionText: string; -} - -declare var CSSConditionRule: { - prototype: CSSConditionRule; - new(): CSSConditionRule; -}; - -interface CSSFontFaceRule extends CSSRule { - readonly style: CSSStyleDeclaration; -} - -declare var CSSFontFaceRule: { - prototype: CSSFontFaceRule; - new(): CSSFontFaceRule; -}; - -/** Any CSS at-rule that contains other rules nested within it. */ -interface CSSGroupingRule extends CSSRule { - readonly cssRules: CSSRuleList; - deleteRule(index: number): void; - insertRule(rule: string, index?: number): number; -} - -declare var CSSGroupingRule: { - prototype: CSSGroupingRule; - new(): CSSGroupingRule; -}; - -interface CSSImportRule extends CSSRule { - readonly href: string; - readonly media: MediaList; - readonly styleSheet: CSSStyleSheet; -} - -declare var CSSImportRule: { - prototype: CSSImportRule; - new(): CSSImportRule; -}; - -/** An object representing a set of style for a given keyframe. It corresponds to the contains of a single keyframe of a @keyframes at-rule. It implements the CSSRule interface with a type value of 8 (CSSRule.KEYFRAME_RULE). */ -interface CSSKeyframeRule extends CSSRule { - keyText: string; - readonly style: CSSStyleDeclaration; -} - -declare var CSSKeyframeRule: { - prototype: CSSKeyframeRule; - new(): CSSKeyframeRule; -}; - -/** An object representing a complete set of keyframes for a CSS animation. It corresponds to the contains of a whole @keyframes at-rule. It implements the CSSRule interface with a type value of 7 (CSSRule.KEYFRAMES_RULE). */ -interface CSSKeyframesRule extends CSSRule { - readonly cssRules: CSSRuleList; - name: string; - appendRule(rule: string): void; - deleteRule(select: string): void; - findRule(select: string): CSSKeyframeRule | null; -} - -declare var CSSKeyframesRule: { - prototype: CSSKeyframesRule; - new(): CSSKeyframesRule; -}; - -/** A single CSS @media rule. It implements the CSSConditionRule interface, and therefore the CSSGroupingRule and the CSSRule interface with a type value of 4 (CSSRule.MEDIA_RULE). */ -interface CSSMediaRule extends CSSConditionRule { - readonly media: MediaList; -} - -declare var CSSMediaRule: { - prototype: CSSMediaRule; - new(): CSSMediaRule; -}; - -/** An object representing a single CSS @namespace at-rule. It implements the CSSRule interface, with a type value of 10 (CSSRule.NAMESPACE_RULE). */ -interface CSSNamespaceRule extends CSSRule { - readonly namespaceURI: string; - readonly prefix: string; -} - -declare var CSSNamespaceRule: { - prototype: CSSNamespaceRule; - new(): CSSNamespaceRule; -}; - -/** CSSPageRule is an interface representing a single CSS @page rule. It implements the CSSRule interface with a type value of 6 (CSSRule.PAGE_RULE). */ -interface CSSPageRule extends CSSGroupingRule { - selectorText: string; - readonly style: CSSStyleDeclaration; -} - -declare var CSSPageRule: { - prototype: CSSPageRule; - new(): CSSPageRule; -}; - -/** A single CSS rule. There are several types of rules, listed in the Type constants section below. */ -interface CSSRule { - cssText: string; - readonly parentRule: CSSRule | null; - readonly parentStyleSheet: CSSStyleSheet | null; - readonly type: number; - readonly CHARSET_RULE: number; - readonly FONT_FACE_RULE: number; - readonly IMPORT_RULE: number; - readonly KEYFRAMES_RULE: number; - readonly KEYFRAME_RULE: number; - readonly MEDIA_RULE: number; - readonly NAMESPACE_RULE: number; - readonly PAGE_RULE: number; - readonly STYLE_RULE: number; - readonly SUPPORTS_RULE: number; -} - -declare var CSSRule: { - prototype: CSSRule; - new(): CSSRule; - readonly CHARSET_RULE: number; - readonly FONT_FACE_RULE: number; - readonly IMPORT_RULE: number; - readonly KEYFRAMES_RULE: number; - readonly KEYFRAME_RULE: number; - readonly MEDIA_RULE: number; - readonly NAMESPACE_RULE: number; - readonly PAGE_RULE: number; - readonly STYLE_RULE: number; - readonly SUPPORTS_RULE: number; -}; - -/** A CSSRuleList is an (indirect-modify only) array-like object containing an ordered collection of CSSRule objects. */ -interface CSSRuleList { - readonly length: number; - item(index: number): CSSRule | null; - [index: number]: CSSRule; -} - -declare var CSSRuleList: { - prototype: CSSRuleList; - new(): CSSRuleList; -}; - -/** An object that is a CSS declaration block, and exposes style information and various style-related methods and properties. */ -interface CSSStyleDeclaration { - alignContent: string; - alignItems: string; - alignSelf: string; - alignmentBaseline: string; - all: string; - animation: string; - animationDelay: string; - animationDirection: string; - animationDuration: string; - animationFillMode: string; - animationIterationCount: string; - animationName: string; - animationPlayState: string; - animationTimingFunction: string; - backfaceVisibility: string; - background: string; - backgroundAttachment: string; - backgroundClip: string; - backgroundColor: string; - backgroundImage: string; - backgroundOrigin: string; - backgroundPosition: string; - backgroundPositionX: string; - backgroundPositionY: string; - backgroundRepeat: string; - backgroundSize: string; - baselineShift: string; - blockSize: string; - border: string; - borderBlockEnd: string; - borderBlockEndColor: string; - borderBlockEndStyle: string; - borderBlockEndWidth: string; - borderBlockStart: string; - borderBlockStartColor: string; - borderBlockStartStyle: string; - borderBlockStartWidth: string; - borderBottom: string; - borderBottomColor: string; - borderBottomLeftRadius: string; - borderBottomRightRadius: string; - borderBottomStyle: string; - borderBottomWidth: string; - borderCollapse: string; - borderColor: string; - borderImage: string; - borderImageOutset: string; - borderImageRepeat: string; - borderImageSlice: string; - borderImageSource: string; - borderImageWidth: string; - borderInlineEnd: string; - borderInlineEndColor: string; - borderInlineEndStyle: string; - borderInlineEndWidth: string; - borderInlineStart: string; - borderInlineStartColor: string; - borderInlineStartStyle: string; - borderInlineStartWidth: string; - borderLeft: string; - borderLeftColor: string; - borderLeftStyle: string; - borderLeftWidth: string; - borderRadius: string; - borderRight: string; - borderRightColor: string; - borderRightStyle: string; - borderRightWidth: string; - borderSpacing: string; - borderStyle: string; - borderTop: string; - borderTopColor: string; - borderTopLeftRadius: string; - borderTopRightRadius: string; - borderTopStyle: string; - borderTopWidth: string; - borderWidth: string; - bottom: string; - boxShadow: string; - boxSizing: string; - breakAfter: string; - breakBefore: string; - breakInside: string; - captionSide: string; - caretColor: string; - clear: string; - clip: string; - clipPath: string; - clipRule: string; - color: string; - colorInterpolation: string; - colorInterpolationFilters: string; - columnCount: string; - columnFill: string; - columnGap: string; - columnRule: string; - columnRuleColor: string; - columnRuleStyle: string; - columnRuleWidth: string; - columnSpan: string; - columnWidth: string; - columns: string; - content: string; - counterIncrement: string; - counterReset: string; - cssFloat: string; - cssText: string; - cursor: string; - direction: string; - display: string; - dominantBaseline: string; - emptyCells: string; - fill: string; - fillOpacity: string; - fillRule: string; - filter: string; - flex: string; - flexBasis: string; - flexDirection: string; - flexFlow: string; - flexGrow: string; - flexShrink: string; - flexWrap: string; - float: string; - floodColor: string; - floodOpacity: string; - font: string; - fontFamily: string; - fontFeatureSettings: string; - fontKerning: string; - fontSize: string; - fontSizeAdjust: string; - fontStretch: string; - fontStyle: string; - fontSynthesis: string; - fontVariant: string; - fontVariantCaps: string; - fontVariantEastAsian: string; - fontVariantLigatures: string; - fontVariantNumeric: string; - fontVariantPosition: string; - fontWeight: string; - gap: string; - glyphOrientationVertical: string; - grid: string; - gridArea: string; - gridAutoColumns: string; - gridAutoFlow: string; - gridAutoRows: string; - gridColumn: string; - gridColumnEnd: string; - gridColumnGap: string; - gridColumnStart: string; - gridGap: string; - gridRow: string; - gridRowEnd: string; - gridRowGap: string; - gridRowStart: string; - gridTemplate: string; - gridTemplateAreas: string; - gridTemplateColumns: string; - gridTemplateRows: string; - height: string; - hyphens: string; - imageOrientation: string; - imageRendering: string; - inlineSize: string; - justifyContent: string; - justifyItems: string; - justifySelf: string; - left: string; - readonly length: number; - letterSpacing: string; - lightingColor: string; - lineBreak: string; - lineHeight: string; - listStyle: string; - listStyleImage: string; - listStylePosition: string; - listStyleType: string; - margin: string; - marginBlockEnd: string; - marginBlockStart: string; - marginBottom: string; - marginInlineEnd: string; - marginInlineStart: string; - marginLeft: string; - marginRight: string; - marginTop: string; - marker: string; - markerEnd: string; - markerMid: string; - markerStart: string; - mask: string; - maskComposite: string; - maskImage: string; - maskPosition: string; - maskRepeat: string; - maskSize: string; - maskType: string; - maxBlockSize: string; - maxHeight: string; - maxInlineSize: string; - maxWidth: string; - minBlockSize: string; - minHeight: string; - minInlineSize: string; - minWidth: string; - objectFit: string; - objectPosition: string; - opacity: string; - order: string; - orphans: string; - outline: string; - outlineColor: string; - outlineOffset: string; - outlineStyle: string; - outlineWidth: string; - overflow: string; - overflowAnchor: string; - overflowWrap: string; - overflowX: string; - overflowY: string; - padding: string; - paddingBlockEnd: string; - paddingBlockStart: string; - paddingBottom: string; - paddingInlineEnd: string; - paddingInlineStart: string; - paddingLeft: string; - paddingRight: string; - paddingTop: string; - pageBreakAfter: string; - pageBreakBefore: string; - pageBreakInside: string; - paintOrder: string; - readonly parentRule: CSSRule | null; - perspective: string; - perspectiveOrigin: string; - placeContent: string; - placeItems: string; - placeSelf: string; - pointerEvents: string; - position: string; - quotes: string; - resize: string; - right: string; - rotate: string; - rowGap: string; - rubyAlign: string; - rubyPosition: string; - scale: string; - scrollBehavior: string; - shapeRendering: string; - stopColor: string; - stopOpacity: string; - stroke: string; - strokeDasharray: string; - strokeDashoffset: string; - strokeLinecap: string; - strokeLinejoin: string; - strokeMiterlimit: string; - strokeOpacity: string; - strokeWidth: string; - tabSize: string; - tableLayout: string; - textAlign: string; - textAlignLast: string; - textAnchor: string; - textCombineUpright: string; - textDecoration: string; - textDecorationColor: string; - textDecorationLine: string; - textDecorationStyle: string; - textEmphasis: string; - textEmphasisColor: string; - textEmphasisPosition: string; - textEmphasisStyle: string; - textIndent: string; - textJustify: string; - textOrientation: string; - textOverflow: string; - textRendering: string; - textShadow: string; - textTransform: string; - textUnderlinePosition: string; - top: string; - touchAction: string; - transform: string; - transformBox: string; - transformOrigin: string; - transformStyle: string; - transition: string; - transitionDelay: string; - transitionDuration: string; - transitionProperty: string; - transitionTimingFunction: string; - translate: string; - unicodeBidi: string; - userSelect: string; - verticalAlign: string; - visibility: string; - /** @deprecated */ - webkitAlignContent: string; - /** @deprecated */ - webkitAlignItems: string; - /** @deprecated */ - webkitAlignSelf: string; - /** @deprecated */ - webkitAnimation: string; - /** @deprecated */ - webkitAnimationDelay: string; - /** @deprecated */ - webkitAnimationDirection: string; - /** @deprecated */ - webkitAnimationDuration: string; - /** @deprecated */ - webkitAnimationFillMode: string; - /** @deprecated */ - webkitAnimationIterationCount: string; - /** @deprecated */ - webkitAnimationName: string; - /** @deprecated */ - webkitAnimationPlayState: string; - /** @deprecated */ - webkitAnimationTimingFunction: string; - /** @deprecated */ - webkitAppearance: string; - /** @deprecated */ - webkitBackfaceVisibility: string; - /** @deprecated */ - webkitBackgroundClip: string; - /** @deprecated */ - webkitBackgroundOrigin: string; - /** @deprecated */ - webkitBackgroundSize: string; - /** @deprecated */ - webkitBorderBottomLeftRadius: string; - /** @deprecated */ - webkitBorderBottomRightRadius: string; - /** @deprecated */ - webkitBorderRadius: string; - /** @deprecated */ - webkitBorderTopLeftRadius: string; - /** @deprecated */ - webkitBorderTopRightRadius: string; - /** @deprecated */ - webkitBoxAlign: string; - /** @deprecated */ - webkitBoxFlex: string; - /** @deprecated */ - webkitBoxOrdinalGroup: string; - /** @deprecated */ - webkitBoxOrient: string; - /** @deprecated */ - webkitBoxPack: string; - /** @deprecated */ - webkitBoxShadow: string; - /** @deprecated */ - webkitBoxSizing: string; - /** @deprecated */ - webkitFilter: string; - /** @deprecated */ - webkitFlex: string; - /** @deprecated */ - webkitFlexBasis: string; - /** @deprecated */ - webkitFlexDirection: string; - /** @deprecated */ - webkitFlexFlow: string; - /** @deprecated */ - webkitFlexGrow: string; - /** @deprecated */ - webkitFlexShrink: string; - /** @deprecated */ - webkitFlexWrap: string; - /** @deprecated */ - webkitJustifyContent: string; - webkitLineClamp: string; - /** @deprecated */ - webkitMask: string; - /** @deprecated */ - webkitMaskBoxImage: string; - /** @deprecated */ - webkitMaskBoxImageOutset: string; - /** @deprecated */ - webkitMaskBoxImageRepeat: string; - /** @deprecated */ - webkitMaskBoxImageSlice: string; - /** @deprecated */ - webkitMaskBoxImageSource: string; - /** @deprecated */ - webkitMaskBoxImageWidth: string; - /** @deprecated */ - webkitMaskClip: string; - /** @deprecated */ - webkitMaskComposite: string; - /** @deprecated */ - webkitMaskImage: string; - /** @deprecated */ - webkitMaskOrigin: string; - /** @deprecated */ - webkitMaskPosition: string; - /** @deprecated */ - webkitMaskRepeat: string; - /** @deprecated */ - webkitMaskSize: string; - /** @deprecated */ - webkitOrder: string; - /** @deprecated */ - webkitPerspective: string; - /** @deprecated */ - webkitPerspectiveOrigin: string; - webkitTapHighlightColor: string; - /** @deprecated */ - webkitTextFillColor: string; - /** @deprecated */ - webkitTextSizeAdjust: string; - /** @deprecated */ - webkitTextStroke: string; - /** @deprecated */ - webkitTextStrokeColor: string; - /** @deprecated */ - webkitTextStrokeWidth: string; - /** @deprecated */ - webkitTransform: string; - /** @deprecated */ - webkitTransformOrigin: string; - /** @deprecated */ - webkitTransformStyle: string; - /** @deprecated */ - webkitTransition: string; - /** @deprecated */ - webkitTransitionDelay: string; - /** @deprecated */ - webkitTransitionDuration: string; - /** @deprecated */ - webkitTransitionProperty: string; - /** @deprecated */ - webkitTransitionTimingFunction: string; - /** @deprecated */ - webkitUserSelect: string; - whiteSpace: string; - widows: string; - width: string; - willChange: string; - wordBreak: string; - wordSpacing: string; - wordWrap: string; - writingMode: string; - zIndex: string; - /** @deprecated */ - zoom: string; - getPropertyPriority(property: string): string; - getPropertyValue(property: string): string; - item(index: number): string; - removeProperty(property: string): string; - setProperty(property: string, value: string | null, priority?: string): void; - [index: number]: string; -} - -declare var CSSStyleDeclaration: { - prototype: CSSStyleDeclaration; - new(): CSSStyleDeclaration; -}; - -/** CSSStyleRule represents a single CSS style rule. It implements the CSSRule interface with a type value of 1 (CSSRule.STYLE_RULE). */ -interface CSSStyleRule extends CSSRule { - selectorText: string; - readonly style: CSSStyleDeclaration; -} - -declare var CSSStyleRule: { - prototype: CSSStyleRule; - new(): CSSStyleRule; -}; - -/** A single CSS style sheet. It inherits properties and methods from its parent, StyleSheet. */ -interface CSSStyleSheet extends StyleSheet { - readonly cssRules: CSSRuleList; - readonly ownerRule: CSSRule | null; - readonly rules: CSSRuleList; - addRule(selector?: string, style?: string, index?: number): number; - deleteRule(index: number): void; - insertRule(rule: string, index?: number): number; - removeRule(index?: number): void; -} - -declare var CSSStyleSheet: { - prototype: CSSStyleSheet; - new(): CSSStyleSheet; -}; - -/** An object representing a single CSS @supports at-rule. It implements the CSSConditionRule interface, and therefore the CSSRule and CSSGroupingRule interfaces with a type value of 12 (CSSRule.SUPPORTS_RULE). */ -interface CSSSupportsRule extends CSSConditionRule { -} - -declare var CSSSupportsRule: { - prototype: CSSSupportsRule; - new(): CSSSupportsRule; -}; - -/** Provides a storage mechanism for Request / Response object pairs that are cached, for example as part of the ServiceWorker life cycle. Note that the Cache interface is exposed to windowed scopes as well as workers. You don't have to use it in conjunction with service workers, even though it is defined in the service worker spec. */ -interface Cache { - add(request: RequestInfo): Promise; - addAll(requests: RequestInfo[]): Promise; - delete(request: RequestInfo, options?: CacheQueryOptions): Promise; - keys(request?: RequestInfo, options?: CacheQueryOptions): Promise>; - match(request: RequestInfo, options?: CacheQueryOptions): Promise; - matchAll(request?: RequestInfo, options?: CacheQueryOptions): Promise>; - put(request: RequestInfo, response: Response): Promise; -} - -declare var Cache: { - prototype: Cache; - new(): Cache; -}; - -/** The storage for Cache objects. */ -interface CacheStorage { - delete(cacheName: string): Promise; - has(cacheName: string): Promise; - keys(): Promise; - match(request: RequestInfo, options?: MultiCacheQueryOptions): Promise; - open(cacheName: string): Promise; -} - -declare var CacheStorage: { - prototype: CacheStorage; - new(): CacheStorage; -}; - -interface CanvasCompositing { - globalAlpha: number; - globalCompositeOperation: string; -} - -interface CanvasDrawImage { - drawImage(image: CanvasImageSource, dx: number, dy: number): void; - drawImage(image: CanvasImageSource, dx: number, dy: number, dw: number, dh: number): void; - drawImage(image: CanvasImageSource, sx: number, sy: number, sw: number, sh: number, dx: number, dy: number, dw: number, dh: number): void; -} - -interface CanvasDrawPath { - beginPath(): void; - clip(fillRule?: CanvasFillRule): void; - clip(path: Path2D, fillRule?: CanvasFillRule): void; - fill(fillRule?: CanvasFillRule): void; - fill(path: Path2D, fillRule?: CanvasFillRule): void; - isPointInPath(x: number, y: number, fillRule?: CanvasFillRule): boolean; - isPointInPath(path: Path2D, x: number, y: number, fillRule?: CanvasFillRule): boolean; - isPointInStroke(x: number, y: number): boolean; - isPointInStroke(path: Path2D, x: number, y: number): boolean; - stroke(): void; - stroke(path: Path2D): void; -} - -interface CanvasFillStrokeStyles { - fillStyle: string | CanvasGradient | CanvasPattern; - strokeStyle: string | CanvasGradient | CanvasPattern; - createLinearGradient(x0: number, y0: number, x1: number, y1: number): CanvasGradient; - createPattern(image: CanvasImageSource, repetition: string | null): CanvasPattern | null; - createRadialGradient(x0: number, y0: number, r0: number, x1: number, y1: number, r1: number): CanvasGradient; -} - -interface CanvasFilters { - filter: string; -} - -/** An opaque object describing a gradient. It is returned by the methods CanvasRenderingContext2D.createLinearGradient() or CanvasRenderingContext2D.createRadialGradient(). */ -interface CanvasGradient { - /** - * Adds a color stop with the given color to the gradient at the given offset. 0.0 is the offset at one end of the gradient, 1.0 is the offset at the other end. - * - * Throws an "IndexSizeError" DOMException if the offset is out of range. Throws a "SyntaxError" DOMException if the color cannot be parsed. - */ - addColorStop(offset: number, color: string): void; -} - -declare var CanvasGradient: { - prototype: CanvasGradient; - new(): CanvasGradient; -}; - -interface CanvasImageData { - createImageData(sw: number, sh: number): ImageData; - createImageData(imagedata: ImageData): ImageData; - getImageData(sx: number, sy: number, sw: number, sh: number): ImageData; - putImageData(imagedata: ImageData, dx: number, dy: number): void; - putImageData(imagedata: ImageData, dx: number, dy: number, dirtyX: number, dirtyY: number, dirtyWidth: number, dirtyHeight: number): void; -} - -interface CanvasImageSmoothing { - imageSmoothingEnabled: boolean; - imageSmoothingQuality: ImageSmoothingQuality; -} - -interface CanvasPath { - arc(x: number, y: number, radius: number, startAngle: number, endAngle: number, anticlockwise?: boolean): void; - arcTo(x1: number, y1: number, x2: number, y2: number, radius: number): void; - bezierCurveTo(cp1x: number, cp1y: number, cp2x: number, cp2y: number, x: number, y: number): void; - closePath(): void; - ellipse(x: number, y: number, radiusX: number, radiusY: number, rotation: number, startAngle: number, endAngle: number, anticlockwise?: boolean): void; - lineTo(x: number, y: number): void; - moveTo(x: number, y: number): void; - quadraticCurveTo(cpx: number, cpy: number, x: number, y: number): void; - rect(x: number, y: number, w: number, h: number): void; -} - -interface CanvasPathDrawingStyles { - lineCap: CanvasLineCap; - lineDashOffset: number; - lineJoin: CanvasLineJoin; - lineWidth: number; - miterLimit: number; - getLineDash(): number[]; - setLineDash(segments: number[]): void; -} - -/** An opaque object describing a pattern, based on an image, a canvas, or a video, created by the CanvasRenderingContext2D.createPattern() method. */ -interface CanvasPattern { - /** - * Sets the transformation matrix that will be used when rendering the pattern during a fill or stroke painting operation. - */ - setTransform(transform?: DOMMatrix2DInit): void; -} - -declare var CanvasPattern: { - prototype: CanvasPattern; - new(): CanvasPattern; -}; - -interface CanvasRect { - clearRect(x: number, y: number, w: number, h: number): void; - fillRect(x: number, y: number, w: number, h: number): void; - strokeRect(x: number, y: number, w: number, h: number): void; -} - -/** The CanvasRenderingContext2D interface, part of the Canvas API, provides the 2D rendering context for the drawing surface of a element. It is used for drawing shapes, text, images, and other objects. */ -interface CanvasRenderingContext2D extends CanvasCompositing, CanvasDrawImage, CanvasDrawPath, CanvasFillStrokeStyles, CanvasFilters, CanvasImageData, CanvasImageSmoothing, CanvasPath, CanvasPathDrawingStyles, CanvasRect, CanvasShadowStyles, CanvasState, CanvasText, CanvasTextDrawingStyles, CanvasTransform, CanvasUserInterface { - readonly canvas: HTMLCanvasElement; -} - -declare var CanvasRenderingContext2D: { - prototype: CanvasRenderingContext2D; - new(): CanvasRenderingContext2D; -}; - -interface CanvasShadowStyles { - shadowBlur: number; - shadowColor: string; - shadowOffsetX: number; - shadowOffsetY: number; -} - -interface CanvasState { - restore(): void; - save(): void; -} - -interface CanvasText { - fillText(text: string, x: number, y: number, maxWidth?: number): void; - measureText(text: string): TextMetrics; - strokeText(text: string, x: number, y: number, maxWidth?: number): void; -} - -interface CanvasTextDrawingStyles { - direction: CanvasDirection; - font: string; - textAlign: CanvasTextAlign; - textBaseline: CanvasTextBaseline; -} - -interface CanvasTransform { - getTransform(): DOMMatrix; - resetTransform(): void; - rotate(angle: number): void; - scale(x: number, y: number): void; - setTransform(a: number, b: number, c: number, d: number, e: number, f: number): void; - setTransform(transform?: DOMMatrix2DInit): void; - transform(a: number, b: number, c: number, d: number, e: number, f: number): void; - translate(x: number, y: number): void; -} - -interface CanvasUserInterface { - drawFocusIfNeeded(element: Element): void; - drawFocusIfNeeded(path: Path2D, element: Element): void; - scrollPathIntoView(): void; - scrollPathIntoView(path: Path2D): void; -} - -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. */ -interface ChannelMergerNode extends AudioNode { -} - -declare var ChannelMergerNode: { - prototype: ChannelMergerNode; - new(context: BaseAudioContext, options?: ChannelMergerOptions): ChannelMergerNode; -}; - -/** The ChannelSplitterNode interface, often used in conjunction with its opposite, ChannelMergerNode, separates the different channels of an audio source into a set of mono outputs. This is useful for accessing each channel separately, e.g. for performing channel mixing where gain must be separately controlled on each channel. */ -interface ChannelSplitterNode extends AudioNode { -} - -declare var ChannelSplitterNode: { - prototype: ChannelSplitterNode; - new(context: BaseAudioContext, options?: ChannelSplitterOptions): ChannelSplitterNode; -}; - -/** The CharacterData abstract interface represents a Node object that contains characters. This is an abstract interface, meaning there aren't any object of type CharacterData: it is implemented by other interfaces, like Text, Comment, or ProcessingInstruction which aren't abstract. */ -interface CharacterData extends Node, ChildNode, NonDocumentTypeChildNode { - data: string; - readonly length: number; - readonly ownerDocument: Document; - appendData(data: string): void; - deleteData(offset: number, count: number): void; - insertData(offset: number, data: string): void; - replaceData(offset: number, count: number, data: string): void; - substringData(offset: number, count: number): string; -} - -declare var CharacterData: { - prototype: CharacterData; - new(): CharacterData; -}; - -interface ChildNode extends Node { - /** - * Inserts nodes just after node, while replacing strings in nodes with equivalent Text nodes. - * - * Throws a "HierarchyRequestError" DOMException if the constraints of the node tree are violated. - */ - after(...nodes: (Node | string)[]): void; - /** - * Inserts nodes just before node, while replacing strings in nodes with equivalent Text nodes. - * - * Throws a "HierarchyRequestError" DOMException if the constraints of the node tree are violated. - */ - before(...nodes: (Node | string)[]): void; - /** - * Removes node. - */ - remove(): void; - /** - * Replaces node with nodes, while replacing strings in nodes with equivalent Text nodes. - * - * Throws a "HierarchyRequestError" DOMException if the constraints of the node tree are violated. - */ - replaceWith(...nodes: (Node | string)[]): void; -} - -interface ClientRect { - bottom: number; - readonly height: number; - left: number; - right: number; - top: number; - readonly width: number; -} - -declare var ClientRect: { - prototype: ClientRect; - new(): ClientRect; -}; - -interface ClientRectList { - readonly length: number; - item(index: number): ClientRect; - [index: number]: ClientRect; -} - -declare var ClientRectList: { - prototype: ClientRectList; - new(): ClientRectList; -}; - -interface Clipboard extends EventTarget { - readText(): Promise; - writeText(data: string): Promise; -} - -declare var Clipboard: { - prototype: Clipboard; - new(): Clipboard; -}; - -/** Events providing information related to modification of the clipboard, that is cut, copy, and paste events. */ -interface ClipboardEvent extends Event { - readonly clipboardData: DataTransfer | null; -} - -declare var ClipboardEvent: { - prototype: ClipboardEvent; - new(type: string, eventInitDict?: ClipboardEventInit): ClipboardEvent; -}; - -/** A CloseEvent is sent to clients using WebSockets when the connection is closed. This is delivered to the listener indicated by the WebSocket object's onclose attribute. */ -interface CloseEvent extends Event { - /** - * Returns the WebSocket connection close code provided by the server. - */ - readonly code: number; - /** - * Returns the WebSocket connection close reason provided by the server. - */ - readonly reason: string; - /** - * Returns true if the connection closed cleanly; false otherwise. - */ - readonly wasClean: boolean; -} - -declare var CloseEvent: { - prototype: CloseEvent; - new(type: string, eventInitDict?: CloseEventInit): CloseEvent; -}; - -/** Textual notations within markup; although it is generally not visually shown, such comments are available to be read in the source view. */ -interface Comment extends CharacterData { -} - -declare var Comment: { - prototype: Comment; - new(data?: string): Comment; -}; - -/** The DOM CompositionEvent represents events that occur due to the user indirectly entering text. */ -interface CompositionEvent extends UIEvent { - readonly data: string; -} - -declare var CompositionEvent: { - prototype: CompositionEvent; - new(type: string, eventInitDict?: CompositionEventInit): CompositionEvent; -}; - -interface ConcatParams extends Algorithm { - algorithmId: Uint8Array; - hash?: string | Algorithm; - partyUInfo: Uint8Array; - partyVInfo: Uint8Array; - privateInfo?: Uint8Array; - publicInfo?: Uint8Array; -} - -interface ConstantSourceNode extends AudioScheduledSourceNode { - readonly offset: AudioParam; - addEventListener(type: K, listener: (this: ConstantSourceNode, ev: AudioScheduledSourceNodeEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void; - addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void; - removeEventListener(type: K, listener: (this: ConstantSourceNode, ev: AudioScheduledSourceNodeEventMap[K]) => any, options?: boolean | EventListenerOptions): void; - removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void; -} - -declare var ConstantSourceNode: { - prototype: ConstantSourceNode; - new(context: BaseAudioContext, options?: ConstantSourceOptions): ConstantSourceNode; -}; - -/** An AudioNode that performs a Linear Convolution on a given AudioBuffer, often used to achieve a reverb effect. A ConvolverNode always has exactly one input and one output. */ -interface ConvolverNode extends AudioNode { - buffer: AudioBuffer | null; - normalize: boolean; -} - -declare var ConvolverNode: { - prototype: ConvolverNode; - new(context: BaseAudioContext, options?: ConvolverOptions): ConvolverNode; -}; - -/** The position and altitude of the device on Earth, as well as the accuracy with which these properties are calculated. */ -interface Coordinates { - readonly accuracy: number; - readonly altitude: number | null; - readonly altitudeAccuracy: number | null; - readonly heading: number | null; - readonly latitude: number; - readonly longitude: number; - readonly speed: number | null; -} - -/** This Streams API interface provides a built-in byte length queuing strategy that can be used when constructing streams. */ -interface CountQueuingStrategy extends QueuingStrategy { - highWaterMark: number; - size(chunk: any): 1; -} - -declare var CountQueuingStrategy: { - prototype: CountQueuingStrategy; - new(options: { highWaterMark: number }): CountQueuingStrategy; -}; - -interface Credential { - readonly id: string; - readonly type: string; -} - -declare var Credential: { - prototype: Credential; - new(): Credential; -}; - -interface CredentialsContainer { - create(options?: CredentialCreationOptions): Promise; - get(options?: CredentialRequestOptions): Promise; - preventSilentAccess(): Promise; - store(credential: Credential): Promise; -} - -declare var CredentialsContainer: { - prototype: CredentialsContainer; - new(): CredentialsContainer; -}; - -/** Basic cryptography features available in the current context. It allows access to a cryptographically strong random number generator and to cryptographic primitives. */ -interface Crypto { - readonly subtle: SubtleCrypto; - getRandomValues(array: T): T; -} - -declare var Crypto: { - prototype: Crypto; - new(): Crypto; -}; - -/** The CryptoKey dictionary of the Web Crypto API represents a cryptographic key. */ -interface CryptoKey { - readonly algorithm: KeyAlgorithm; - readonly extractable: boolean; - readonly type: KeyType; - readonly usages: KeyUsage[]; -} - -declare var CryptoKey: { - prototype: CryptoKey; - new(): CryptoKey; -}; - -/** The CryptoKeyPair dictionary of the Web Crypto API represents a key pair for an asymmetric cryptography algorithm, also known as a public-key algorithm. */ -interface CryptoKeyPair { - privateKey: CryptoKey; - publicKey: CryptoKey; -} - -declare var CryptoKeyPair: { - prototype: CryptoKeyPair; - new(): CryptoKeyPair; -}; - -interface CustomElementRegistry { - define(name: string, constructor: CustomElementConstructor, options?: ElementDefinitionOptions): void; - get(name: string): any; - upgrade(root: Node): void; - whenDefined(name: string): Promise; -} - -declare var CustomElementRegistry: { - prototype: CustomElementRegistry; - new(): CustomElementRegistry; -}; - -interface CustomEvent extends Event { - /** - * Returns any custom data event was created with. Typically used for synthetic events. - */ - readonly detail: T; - initCustomEvent(typeArg: string, canBubbleArg: boolean, cancelableArg: boolean, detailArg: T): void; -} - -declare var CustomEvent: { - prototype: CustomEvent; - new(typeArg: string, eventInitDict?: CustomEventInit): CustomEvent; -}; - -/** An error object that contains an error name. */ -interface DOMError { - readonly name: string; - toString(): string; -} - -declare var DOMError: { - prototype: DOMError; - new(): DOMError; -}; - -/** An abnormal event (called an exception) which occurs as a result of calling a method or accessing a property of a web API. */ -interface DOMException { - readonly code: number; - readonly message: string; - readonly name: string; - readonly ABORT_ERR: number; - readonly DATA_CLONE_ERR: number; - readonly DOMSTRING_SIZE_ERR: number; - readonly HIERARCHY_REQUEST_ERR: number; - readonly INDEX_SIZE_ERR: number; - readonly INUSE_ATTRIBUTE_ERR: number; - readonly INVALID_ACCESS_ERR: number; - readonly INVALID_CHARACTER_ERR: number; - readonly INVALID_MODIFICATION_ERR: number; - readonly INVALID_NODE_TYPE_ERR: number; - readonly INVALID_STATE_ERR: number; - readonly NAMESPACE_ERR: number; - readonly NETWORK_ERR: number; - readonly NOT_FOUND_ERR: number; - readonly NOT_SUPPORTED_ERR: number; - readonly NO_DATA_ALLOWED_ERR: number; - readonly NO_MODIFICATION_ALLOWED_ERR: number; - readonly QUOTA_EXCEEDED_ERR: number; - readonly SECURITY_ERR: number; - readonly SYNTAX_ERR: number; - readonly TIMEOUT_ERR: number; - readonly TYPE_MISMATCH_ERR: number; - readonly URL_MISMATCH_ERR: number; - readonly VALIDATION_ERR: number; - readonly WRONG_DOCUMENT_ERR: number; -} - -declare var DOMException: { - prototype: DOMException; - new(message?: string, name?: string): DOMException; - readonly ABORT_ERR: number; - readonly DATA_CLONE_ERR: number; - readonly DOMSTRING_SIZE_ERR: number; - readonly HIERARCHY_REQUEST_ERR: number; - readonly INDEX_SIZE_ERR: number; - readonly INUSE_ATTRIBUTE_ERR: number; - readonly INVALID_ACCESS_ERR: number; - readonly INVALID_CHARACTER_ERR: number; - readonly INVALID_MODIFICATION_ERR: number; - readonly INVALID_NODE_TYPE_ERR: number; - readonly INVALID_STATE_ERR: number; - readonly NAMESPACE_ERR: number; - readonly NETWORK_ERR: number; - readonly NOT_FOUND_ERR: number; - readonly NOT_SUPPORTED_ERR: number; - readonly NO_DATA_ALLOWED_ERR: number; - readonly NO_MODIFICATION_ALLOWED_ERR: number; - readonly QUOTA_EXCEEDED_ERR: number; - readonly SECURITY_ERR: number; - readonly SYNTAX_ERR: number; - readonly TIMEOUT_ERR: number; - readonly TYPE_MISMATCH_ERR: number; - readonly URL_MISMATCH_ERR: number; - readonly VALIDATION_ERR: number; - readonly WRONG_DOCUMENT_ERR: number; -}; - -/** An object providing methods which are not dependent on any particular document. Such an object is returned by the Document.implementation property. */ -interface DOMImplementation { - createDocument(namespaceURI: string | null, qualifiedName: string | null, doctype: DocumentType | null): Document; - createDocumentType(qualifiedName: string, publicId: string, systemId: string): DocumentType; - createHTMLDocument(title?: string): Document; - /** @deprecated */ - hasFeature(...args: any[]): true; -} - -declare var DOMImplementation: { - prototype: DOMImplementation; - new(): DOMImplementation; -}; - -interface DOML2DeprecatedColorProperty { - color: string; -} - -interface DOMMatrix extends DOMMatrixReadOnly { - a: number; - b: number; - c: number; - d: number; - e: number; - f: number; - m11: number; - m12: number; - m13: number; - m14: number; - m21: number; - m22: number; - m23: number; - m24: number; - m31: number; - m32: number; - m33: number; - m34: number; - m41: number; - m42: number; - m43: number; - m44: number; - invertSelf(): DOMMatrix; - multiplySelf(other?: DOMMatrixInit): DOMMatrix; - preMultiplySelf(other?: DOMMatrixInit): DOMMatrix; - rotateAxisAngleSelf(x?: number, y?: number, z?: number, angle?: number): DOMMatrix; - rotateFromVectorSelf(x?: number, y?: number): DOMMatrix; - rotateSelf(rotX?: number, rotY?: number, rotZ?: number): DOMMatrix; - scale3dSelf(scale?: number, originX?: number, originY?: number, originZ?: number): DOMMatrix; - scaleSelf(scaleX?: number, scaleY?: number, scaleZ?: number, originX?: number, originY?: number, originZ?: number): DOMMatrix; - setMatrixValue(transformList: string): DOMMatrix; - skewXSelf(sx?: number): DOMMatrix; - skewYSelf(sy?: number): DOMMatrix; - translateSelf(tx?: number, ty?: number, tz?: number): DOMMatrix; -} - -declare var DOMMatrix: { - prototype: DOMMatrix; - new(init?: string | number[]): DOMMatrix; - fromFloat32Array(array32: Float32Array): DOMMatrix; - fromFloat64Array(array64: Float64Array): DOMMatrix; - fromMatrix(other?: DOMMatrixInit): DOMMatrix; -}; - -type SVGMatrix = DOMMatrix; -declare var SVGMatrix: typeof DOMMatrix; - -type WebKitCSSMatrix = DOMMatrix; -declare var WebKitCSSMatrix: typeof DOMMatrix; - -interface DOMMatrixReadOnly { - readonly a: number; - readonly b: number; - readonly c: number; - readonly d: number; - readonly e: number; - readonly f: number; - readonly is2D: boolean; - readonly isIdentity: boolean; - readonly m11: number; - readonly m12: number; - readonly m13: number; - readonly m14: number; - readonly m21: number; - readonly m22: number; - readonly m23: number; - readonly m24: number; - readonly m31: number; - readonly m32: number; - readonly m33: number; - readonly m34: number; - readonly m41: number; - readonly m42: number; - readonly m43: number; - readonly m44: number; - flipX(): DOMMatrix; - flipY(): DOMMatrix; - inverse(): DOMMatrix; - multiply(other?: DOMMatrixInit): DOMMatrix; - rotate(rotX?: number, rotY?: number, rotZ?: number): DOMMatrix; - rotateAxisAngle(x?: number, y?: number, z?: number, angle?: number): DOMMatrix; - rotateFromVector(x?: number, y?: number): DOMMatrix; - scale(scaleX?: number, scaleY?: number, scaleZ?: number, originX?: number, originY?: number, originZ?: number): DOMMatrix; - scale3d(scale?: number, originX?: number, originY?: number, originZ?: number): DOMMatrix; - /** @deprecated */ - scaleNonUniform(scaleX?: number, scaleY?: number): DOMMatrix; - skewX(sx?: number): DOMMatrix; - skewY(sy?: number): DOMMatrix; - toFloat32Array(): Float32Array; - toFloat64Array(): Float64Array; - toJSON(): any; - transformPoint(point?: DOMPointInit): DOMPoint; - translate(tx?: number, ty?: number, tz?: number): DOMMatrix; - toString(): string; -} - -declare var DOMMatrixReadOnly: { - prototype: DOMMatrixReadOnly; - new(init?: string | number[]): DOMMatrixReadOnly; - fromFloat32Array(array32: Float32Array): DOMMatrixReadOnly; - fromFloat64Array(array64: Float64Array): DOMMatrixReadOnly; - fromMatrix(other?: DOMMatrixInit): DOMMatrixReadOnly; - toString(): string; -}; - -/** Provides the ability to parse XML or HTML source code from a string into a DOM Document. */ -interface DOMParser { - parseFromString(str: string, type: SupportedType): Document; -} - -declare var DOMParser: { - prototype: DOMParser; - new(): DOMParser; -}; - -interface DOMPoint extends DOMPointReadOnly { - w: number; - x: number; - y: number; - z: number; -} - -declare var DOMPoint: { - prototype: DOMPoint; - new(x?: number, y?: number, z?: number, w?: number): DOMPoint; - fromPoint(other?: DOMPointInit): DOMPoint; -}; - -type SVGPoint = DOMPoint; -declare var SVGPoint: typeof DOMPoint; - -interface DOMPointReadOnly { - readonly w: number; - readonly x: number; - readonly y: number; - readonly z: number; - matrixTransform(matrix?: DOMMatrixInit): DOMPoint; - toJSON(): any; -} - -declare var DOMPointReadOnly: { - prototype: DOMPointReadOnly; - new(x?: number, y?: number, z?: number, w?: number): DOMPointReadOnly; - fromPoint(other?: DOMPointInit): DOMPointReadOnly; -}; - -interface DOMQuad { - readonly p1: DOMPoint; - readonly p2: DOMPoint; - readonly p3: DOMPoint; - readonly p4: DOMPoint; - getBounds(): DOMRect; - toJSON(): any; -} - -declare var DOMQuad: { - prototype: DOMQuad; - new(p1?: DOMPointInit, p2?: DOMPointInit, p3?: DOMPointInit, p4?: DOMPointInit): DOMQuad; - fromQuad(other?: DOMQuadInit): DOMQuad; - fromRect(other?: DOMRectInit): DOMQuad; -}; - -interface DOMRect extends DOMRectReadOnly { - height: number; - width: number; - x: number; - y: number; -} - -declare var DOMRect: { - prototype: DOMRect; - new(x?: number, y?: number, width?: number, height?: number): DOMRect; - fromRect(other?: DOMRectInit): DOMRect; -}; - -type SVGRect = DOMRect; -declare var SVGRect: typeof DOMRect; - -interface DOMRectList { - readonly length: number; - item(index: number): DOMRect | null; - [index: number]: DOMRect; -} - -declare var DOMRectList: { - prototype: DOMRectList; - new(): DOMRectList; -}; - -interface DOMRectReadOnly { - readonly bottom: number; - readonly height: number; - readonly left: number; - readonly right: number; - readonly top: number; - readonly width: number; - readonly x: number; - readonly y: number; - toJSON(): any; -} - -declare var DOMRectReadOnly: { - prototype: DOMRectReadOnly; - new(x?: number, y?: number, width?: number, height?: number): DOMRectReadOnly; - fromRect(other?: DOMRectInit): DOMRectReadOnly; -}; - -interface DOMSettableTokenList extends DOMTokenList { - value: string; -} - -declare var DOMSettableTokenList: { - prototype: DOMSettableTokenList; - new(): DOMSettableTokenList; -}; - -/** A type returned by some APIs which contains a list of DOMString (strings). */ -interface DOMStringList { - /** - * Returns the number of strings in strings. - */ - readonly length: number; - /** - * Returns true if strings contains string, and false otherwise. - */ - contains(string: string): boolean; - /** - * Returns the string with index index from strings. - */ - item(index: number): string | null; - [index: number]: string; -} - -declare var DOMStringList: { - prototype: DOMStringList; - new(): DOMStringList; -}; - -/** Used by the dataset HTML attribute to represent data for custom attributes added to elements. */ -interface DOMStringMap { - [name: string]: string | undefined; -} - -declare var DOMStringMap: { - prototype: DOMStringMap; - new(): DOMStringMap; -}; - -/** A set of space-separated tokens. Such a set is returned by Element.classList, HTMLLinkElement.relList, HTMLAnchorElement.relList, HTMLAreaElement.relList, HTMLIframeElement.sandbox, or HTMLOutputElement.htmlFor. It is indexed beginning with 0 as with JavaScript Array objects. DOMTokenList is always case-sensitive. */ -interface DOMTokenList { - /** - * Returns the number of tokens. - */ - readonly length: number; - /** - * Returns the associated set as string. - * - * Can be set, to change the associated attribute. - */ - value: string; - toString(): string; - /** - * Adds all arguments passed, except those already present. - * - * Throws a "SyntaxError" DOMException if one of the arguments is the empty string. - * - * Throws an "InvalidCharacterError" DOMException if one of the arguments contains any ASCII whitespace. - */ - add(...tokens: string[]): void; - /** - * Returns true if token is present, and false otherwise. - */ - contains(token: string): boolean; - /** - * Returns the token with index index. - */ - item(index: number): string | null; - /** - * Removes arguments passed, if they are present. - * - * Throws a "SyntaxError" DOMException if one of the arguments is the empty string. - * - * Throws an "InvalidCharacterError" DOMException if one of the arguments contains any ASCII whitespace. - */ - remove(...tokens: string[]): void; - /** - * Replaces token with newToken. - * - * Returns true if token was replaced with newToken, and false otherwise. - * - * Throws a "SyntaxError" DOMException if one of the arguments is the empty string. - * - * Throws an "InvalidCharacterError" DOMException if one of the arguments contains any ASCII whitespace. - */ - replace(oldToken: string, newToken: string): void; - /** - * Returns true if token is in the associated attribute's supported tokens. Returns false otherwise. - * - * Throws a TypeError if the associated attribute has no supported tokens defined. - */ - supports(token: string): boolean; - /** - * If force is not given, "toggles" token, removing it if it's present and adding it if it's not present. If force is true, adds token (same as add()). If force is false, removes token (same as remove()). - * - * Returns true if token is now present, and false otherwise. - * - * Throws a "SyntaxError" DOMException if token is empty. - * - * Throws an "InvalidCharacterError" DOMException if token contains any spaces. - */ - toggle(token: string, force?: boolean): boolean; - forEach(callbackfn: (value: string, key: number, parent: DOMTokenList) => void, thisArg?: any): void; - [index: number]: string; -} - -declare var DOMTokenList: { - prototype: DOMTokenList; - new(): DOMTokenList; -}; - -interface DataCue extends TextTrackCue { - data: ArrayBuffer; - addEventListener(type: K, listener: (this: DataCue, ev: TextTrackCueEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void; - addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void; - removeEventListener(type: K, listener: (this: DataCue, ev: TextTrackCueEventMap[K]) => any, options?: boolean | EventListenerOptions): void; - removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void; -} - -declare var DataCue: { - prototype: DataCue; - new(): DataCue; -}; - -/** Used to hold the data that is being dragged during a drag and drop operation. It may hold one or more data items, each of one or more data types. For more information about drag and drop, see HTML Drag and Drop API. */ -interface DataTransfer { - /** - * Returns the kind of operation that is currently selected. If the kind of operation isn't one of those that is allowed by the effectAllowed attribute, then the operation will fail. - * - * Can be set, to change the selected operation. - * - * The possible values are "none", "copy", "link", and "move". - */ - dropEffect: string; - /** - * Returns the kinds of operations that are to be allowed. - * - * Can be set (during the dragstart event), to change the allowed operations. - * - * The possible values are "none", "copy", "copyLink", "copyMove", "link", "linkMove", "move", "all", and "uninitialized", - */ - effectAllowed: string; - /** - * Returns a FileList of the files being dragged, if any. - */ - readonly files: FileList; - /** - * Returns a DataTransferItemList object, with the drag data. - */ - readonly items: DataTransferItemList; - /** - * Returns a frozen array listing the formats that were set in the dragstart event. In addition, if any files are being dragged, then one of the types will be the string "Files". - */ - readonly types: ReadonlyArray; - /** - * Removes the data of the specified formats. Removes all data if the argument is omitted. - */ - clearData(format?: string): void; - /** - * Returns the specified data. If there is no such data, returns the empty string. - */ - getData(format: string): string; - /** - * Adds the specified data. - */ - setData(format: string, data: string): void; - /** - * Uses the given element to update the drag feedback, replacing any previously specified feedback. - */ - setDragImage(image: Element, x: number, y: number): void; -} - -declare var DataTransfer: { - prototype: DataTransfer; - new(): DataTransfer; -}; - -/** One drag data item. During a drag operation, each drag event has a dataTransfer property which contains a list of drag data items. Each item in the list is a DataTransferItem object. */ -interface DataTransferItem { - /** - * Returns the drag data item kind, one of: "string", "file". - */ - readonly kind: string; - /** - * Returns the drag data item type string. - */ - readonly type: string; - /** - * Returns a File object, if the drag data item kind is File. - */ - getAsFile(): File | null; - /** - * Invokes the callback with the string data as the argument, if the drag data item kind is text. - */ - getAsString(callback: FunctionStringCallback | null): void; - webkitGetAsEntry(): any; -} - -declare var DataTransferItem: { - prototype: DataTransferItem; - new(): DataTransferItem; -}; - -/** A list of DataTransferItem objects representing items being dragged. During a drag operation, each DragEvent has a dataTransfer property and that property is a DataTransferItemList. */ -interface DataTransferItemList { - /** - * Returns the number of items in the drag data store. - */ - readonly length: number; - /** - * Adds a new entry for the given data to the drag data store. If the data is plain text then a type string has to be provided also. - */ - add(data: string, type: string): DataTransferItem | null; - add(data: File): DataTransferItem | null; - /** - * Removes all the entries in the drag data store. - */ - clear(): void; - item(index: number): DataTransferItem; - /** - * Removes the indexth entry in the drag data store. - */ - remove(index: number): void; - [name: number]: DataTransferItem; -} - -declare var DataTransferItemList: { - prototype: DataTransferItemList; - new(): DataTransferItemList; -}; - -interface DeferredPermissionRequest { - readonly id: number; - readonly type: MSWebViewPermissionType; - readonly uri: string; - allow(): void; - deny(): void; -} - -declare var DeferredPermissionRequest: { - prototype: DeferredPermissionRequest; - new(): DeferredPermissionRequest; -}; - -/** A delay-line; an AudioNode audio-processing module that causes a delay between the arrival of an input data and its propagation to the output. */ -interface DelayNode extends AudioNode { - readonly delayTime: AudioParam; -} - -declare var DelayNode: { - prototype: DelayNode; - new(context: BaseAudioContext, options?: DelayOptions): DelayNode; -}; - -/** Provides information about the amount of acceleration the device is experiencing along all three axes. */ -interface DeviceAcceleration { - readonly x: number | null; - readonly y: number | null; - readonly z: number | null; -} - -declare var DeviceAcceleration: { - prototype: DeviceAcceleration; - new(): DeviceAcceleration; -}; - -/** The DeviceLightEvent provides web developers with information from photo sensors or similiar detectors about ambient light levels near the device. For example this may be useful to adjust the screen's brightness based on the current ambient light level in order to save energy or provide better readability. */ -interface DeviceLightEvent extends Event { - readonly value: number; -} - -declare var DeviceLightEvent: { - prototype: DeviceLightEvent; - new(typeArg: string, eventInitDict?: DeviceLightEventInit): DeviceLightEvent; -}; - -/** The DeviceMotionEvent provides web developers with information about the speed of changes for the device's position and orientation. */ -interface DeviceMotionEvent extends Event { - readonly acceleration: DeviceMotionEventAcceleration | null; - readonly accelerationIncludingGravity: DeviceMotionEventAcceleration | null; - readonly interval: number; - readonly rotationRate: DeviceMotionEventRotationRate | null; -} - -declare var DeviceMotionEvent: { - prototype: DeviceMotionEvent; - new(type: string, eventInitDict?: DeviceMotionEventInit): DeviceMotionEvent; - requestPermission(): Promise; -}; - -interface DeviceMotionEventAcceleration { - readonly x: number | null; - readonly y: number | null; - readonly z: number | null; -} - -interface DeviceMotionEventRotationRate { - readonly alpha: number | null; - readonly beta: number | null; - readonly gamma: number | null; -} - -/** The DeviceOrientationEvent provides web developers with information from the physical orientation of the device running the web page. */ -interface DeviceOrientationEvent extends Event { - readonly absolute: boolean; - readonly alpha: number | null; - readonly beta: number | null; - readonly gamma: number | null; -} - -declare var DeviceOrientationEvent: { - prototype: DeviceOrientationEvent; - new(type: string, eventInitDict?: DeviceOrientationEventInit): DeviceOrientationEvent; - requestPermission(): Promise; -}; - -/** Provides information about the rate at which the device is rotating around all three axes. */ -interface DeviceRotationRate { - readonly alpha: number | null; - readonly beta: number | null; - readonly gamma: number | null; -} - -declare var DeviceRotationRate: { - prototype: DeviceRotationRate; - new(): DeviceRotationRate; -}; - -interface DhImportKeyParams extends Algorithm { - generator: Uint8Array; - prime: Uint8Array; -} - -interface DhKeyAlgorithm extends KeyAlgorithm { - generator: Uint8Array; - prime: Uint8Array; -} - -interface DhKeyDeriveParams extends Algorithm { - public: CryptoKey; -} - -interface DhKeyGenParams extends Algorithm { - generator: Uint8Array; - prime: Uint8Array; -} - -interface DocumentEventMap extends GlobalEventHandlersEventMap, DocumentAndElementEventHandlersEventMap { - "fullscreenchange": Event; - "fullscreenerror": Event; - "pointerlockchange": Event; - "pointerlockerror": Event; - "readystatechange": Event; - "visibilitychange": Event; -} - -/** Any web page loaded in the browser and serves as an entry point into the web page's content, which is the DOM tree. */ -interface Document extends Node, DocumentAndElementEventHandlers, DocumentOrShadowRoot, GlobalEventHandlers, NonElementParentNode, ParentNode, XPathEvaluatorBase { - /** - * Sets or gets the URL for the current document. - */ - readonly URL: string; - /** - * Sets or gets the color of all active links in the document. - */ - /** @deprecated */ - alinkColor: string; - /** - * Returns a reference to the collection of elements contained by the object. - */ - /** @deprecated */ - readonly all: HTMLAllCollection; - /** - * Retrieves a collection of all a objects that have a name and/or id property. Objects in this collection are in HTML source order. - */ - /** @deprecated */ - readonly anchors: HTMLCollectionOf; - /** - * Retrieves a collection of all applet objects in the document. - */ - /** @deprecated */ - readonly applets: HTMLCollectionOf; - /** - * Deprecated. Sets or retrieves a value that indicates the background color behind the object. - */ - /** @deprecated */ - bgColor: string; - /** - * Specifies the beginning and end of the document body. - */ - body: HTMLElement; - /** - * Returns document's encoding. - */ - readonly characterSet: string; - /** - * Gets or sets the character set used to encode the object. - */ - readonly charset: string; - /** - * Gets a value that indicates whether standards-compliant mode is switched on for the object. - */ - readonly compatMode: string; - /** - * Returns document's content type. - */ - readonly contentType: string; - /** - * Returns the HTTP cookies that apply to the Document. If there are no cookies or cookies can't be applied to this resource, the empty string will be returned. - * - * Can be set, to add a new cookie to the element's set of HTTP cookies. - * - * If the contents are sandboxed into a unique origin (e.g. in an iframe with the sandbox attribute), a "SecurityError" DOMException will be thrown on getting and setting. - */ - cookie: string; - /** - * Returns the script element, or the SVG script element, that is currently executing, as long as the element represents a classic script. In the case of reentrant script execution, returns the one that most recently started executing amongst those that have not yet finished executing. - * - * Returns null if the Document is not currently executing a script or SVG script element (e.g., because the running script is an event handler, or a timeout), or if the currently executing script or SVG script element represents a module script. - */ - readonly currentScript: HTMLOrSVGScriptElement | null; - readonly defaultView: (WindowProxy & typeof globalThis) | null; - /** - * Sets or gets a value that indicates whether the document can be edited. - */ - designMode: string; - /** - * Sets or retrieves a value that indicates the reading order of the object. - */ - dir: string; - /** - * Gets an object representing the document type declaration associated with the current document. - */ - readonly doctype: DocumentType | null; - /** - * Gets a reference to the root node of the document. - */ - readonly documentElement: HTMLElement; - /** - * Returns document's URL. - */ - readonly documentURI: string; - /** - * Sets or gets the security domain of the document. - */ - domain: string; - /** - * Retrieves a collection of all embed objects in the document. - */ - readonly embeds: HTMLCollectionOf; - /** - * Sets or gets the foreground (text) color of the document. - */ - /** @deprecated */ - fgColor: string; - /** - * Retrieves a collection, in source order, of all form objects in the document. - */ - readonly forms: HTMLCollectionOf; - /** @deprecated */ - readonly fullscreen: boolean; - /** - * Returns true if document has the ability to display elements fullscreen and fullscreen is supported, or false otherwise. - */ - readonly fullscreenEnabled: boolean; - /** - * Returns the head element. - */ - readonly head: HTMLHeadElement; - readonly hidden: boolean; - /** - * Retrieves a collection, in source order, of img objects in the document. - */ - readonly images: HTMLCollectionOf; - /** - * Gets the implementation object of the current document. - */ - readonly implementation: DOMImplementation; - /** - * Returns the character encoding used to create the webpage that is loaded into the document object. - */ - readonly inputEncoding: string; - /** - * Gets the date that the page was last modified, if the page supplies one. - */ - readonly lastModified: string; - /** - * Sets or gets the color of the document links. - */ - /** @deprecated */ - linkColor: string; - /** - * Retrieves a collection of all a objects that specify the href property and all area objects in the document. - */ - readonly links: HTMLCollectionOf; - /** - * Contains information about the current URL. - */ - location: Location; - onfullscreenchange: ((this: Document, ev: Event) => any) | null; - onfullscreenerror: ((this: Document, ev: Event) => any) | null; - onpointerlockchange: ((this: Document, ev: Event) => any) | null; - onpointerlockerror: ((this: Document, ev: Event) => any) | null; - /** - * Fires when the state of the object has changed. - * @param ev The event - */ - onreadystatechange: ((this: Document, ev: Event) => any) | null; - onvisibilitychange: ((this: Document, ev: Event) => any) | null; - /** - * Returns document's origin. - */ - readonly origin: string; - readonly ownerDocument: null; - /** - * Return an HTMLCollection of the embed elements in the Document. - */ - readonly plugins: HTMLCollectionOf; - /** - * Retrieves a value that indicates the current state of the object. - */ - readonly readyState: DocumentReadyState; - /** - * Gets the URL of the location that referred the user to the current page. - */ - readonly referrer: string; - /** - * Retrieves a collection of all script objects in the document. - */ - readonly scripts: HTMLCollectionOf; - readonly scrollingElement: Element | null; - readonly timeline: DocumentTimeline; - /** - * Contains the title of the document. - */ - title: string; - readonly visibilityState: VisibilityState; - /** - * Sets or gets the color of the links that the user has visited. - */ - /** @deprecated */ - vlinkColor: string; - /** - * Moves node from another document and returns it. - * - * If node is a document, throws a "NotSupportedError" DOMException or, if node is a shadow root, throws a "HierarchyRequestError" DOMException. - */ - adoptNode(source: T): T; - /** @deprecated */ - captureEvents(): void; - caretPositionFromPoint(x: number, y: number): CaretPosition | null; - /** @deprecated */ - caretRangeFromPoint(x: number, y: number): Range; - /** @deprecated */ - clear(): void; - /** - * Closes an output stream and forces the sent data to display. - */ - close(): void; - /** - * Creates an attribute object with a specified name. - * @param name String that sets the attribute object's name. - */ - createAttribute(localName: string): Attr; - createAttributeNS(namespace: string | null, qualifiedName: string): Attr; - /** - * Returns a CDATASection node whose data is data. - */ - createCDATASection(data: string): CDATASection; - /** - * Creates a comment object with the specified data. - * @param data Sets the comment object's data. - */ - createComment(data: string): Comment; - /** - * Creates a new document. - */ - createDocumentFragment(): DocumentFragment; - /** - * Creates an instance of the element for the specified tag. - * @param tagName The name of an element. - */ - createElement(tagName: K, options?: ElementCreationOptions): HTMLElementTagNameMap[K]; - /** @deprecated */ - createElement(tagName: K, options?: ElementCreationOptions): HTMLElementDeprecatedTagNameMap[K]; - createElement(tagName: string, options?: ElementCreationOptions): HTMLElement; - /** - * Returns an element with namespace namespace. Its namespace prefix will be everything before ":" (U+003E) in qualifiedName or null. Its local name will be everything after ":" (U+003E) in qualifiedName or qualifiedName. - * - * If localName does not match the Name production an "InvalidCharacterError" DOMException will be thrown. - * - * If one of the following conditions is true a "NamespaceError" DOMException will be thrown: - * - * localName does not match the QName production. - * Namespace prefix is not null and namespace is the empty string. - * Namespace prefix is "xml" and namespace is not the XML namespace. - * qualifiedName or namespace prefix is "xmlns" and namespace is not the XMLNS namespace. - * namespace is the XMLNS namespace and neither qualifiedName nor namespace prefix is "xmlns". - * - * When supplied, options's is can be used to create a customized built-in element. - */ - createElementNS(namespaceURI: "http://www.w3.org/1999/xhtml", qualifiedName: string): HTMLElement; - createElementNS(namespaceURI: "http://www.w3.org/2000/svg", qualifiedName: K): SVGElementTagNameMap[K]; - createElementNS(namespaceURI: "http://www.w3.org/2000/svg", qualifiedName: string): SVGElement; - createElementNS(namespaceURI: string | null, qualifiedName: string, options?: ElementCreationOptions): Element; - createElementNS(namespace: string | null, qualifiedName: string, options?: string | ElementCreationOptions): Element; - createEvent(eventInterface: "AnimationEvent"): AnimationEvent; - createEvent(eventInterface: "AnimationPlaybackEvent"): AnimationPlaybackEvent; - createEvent(eventInterface: "AudioProcessingEvent"): AudioProcessingEvent; - createEvent(eventInterface: "BeforeUnloadEvent"): BeforeUnloadEvent; - createEvent(eventInterface: "ClipboardEvent"): ClipboardEvent; - createEvent(eventInterface: "CloseEvent"): CloseEvent; - createEvent(eventInterface: "CompositionEvent"): CompositionEvent; - createEvent(eventInterface: "CustomEvent"): CustomEvent; - createEvent(eventInterface: "DeviceLightEvent"): DeviceLightEvent; - createEvent(eventInterface: "DeviceMotionEvent"): DeviceMotionEvent; - createEvent(eventInterface: "DeviceOrientationEvent"): DeviceOrientationEvent; - createEvent(eventInterface: "DragEvent"): DragEvent; - createEvent(eventInterface: "ErrorEvent"): ErrorEvent; - createEvent(eventInterface: "Event"): Event; - createEvent(eventInterface: "Events"): Event; - createEvent(eventInterface: "FocusEvent"): FocusEvent; - createEvent(eventInterface: "FocusNavigationEvent"): FocusNavigationEvent; - createEvent(eventInterface: "GamepadEvent"): GamepadEvent; - createEvent(eventInterface: "HashChangeEvent"): HashChangeEvent; - createEvent(eventInterface: "IDBVersionChangeEvent"): IDBVersionChangeEvent; - createEvent(eventInterface: "InputEvent"): InputEvent; - createEvent(eventInterface: "KeyboardEvent"): KeyboardEvent; - createEvent(eventInterface: "ListeningStateChangedEvent"): ListeningStateChangedEvent; - createEvent(eventInterface: "MSGestureEvent"): MSGestureEvent; - createEvent(eventInterface: "MSMediaKeyMessageEvent"): MSMediaKeyMessageEvent; - createEvent(eventInterface: "MSMediaKeyNeededEvent"): MSMediaKeyNeededEvent; - createEvent(eventInterface: "MSPointerEvent"): MSPointerEvent; - createEvent(eventInterface: "MediaEncryptedEvent"): MediaEncryptedEvent; - createEvent(eventInterface: "MediaKeyMessageEvent"): MediaKeyMessageEvent; - createEvent(eventInterface: "MediaQueryListEvent"): MediaQueryListEvent; - createEvent(eventInterface: "MediaStreamErrorEvent"): MediaStreamErrorEvent; - createEvent(eventInterface: "MediaStreamEvent"): MediaStreamEvent; - createEvent(eventInterface: "MediaStreamTrackEvent"): MediaStreamTrackEvent; - 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: "OverflowEvent"): OverflowEvent; - createEvent(eventInterface: "PageTransitionEvent"): PageTransitionEvent; - createEvent(eventInterface: "PaymentRequestUpdateEvent"): PaymentRequestUpdateEvent; - createEvent(eventInterface: "PermissionRequestedEvent"): PermissionRequestedEvent; - createEvent(eventInterface: "PointerEvent"): PointerEvent; - createEvent(eventInterface: "PopStateEvent"): PopStateEvent; - createEvent(eventInterface: "ProgressEvent"): ProgressEvent; - createEvent(eventInterface: "PromiseRejectionEvent"): PromiseRejectionEvent; - createEvent(eventInterface: "RTCDTMFToneChangeEvent"): RTCDTMFToneChangeEvent; - createEvent(eventInterface: "RTCDataChannelEvent"): RTCDataChannelEvent; - createEvent(eventInterface: "RTCDtlsTransportStateChangedEvent"): RTCDtlsTransportStateChangedEvent; - createEvent(eventInterface: "RTCErrorEvent"): RTCErrorEvent; - createEvent(eventInterface: "RTCIceCandidatePairChangedEvent"): RTCIceCandidatePairChangedEvent; - createEvent(eventInterface: "RTCIceGathererEvent"): RTCIceGathererEvent; - createEvent(eventInterface: "RTCIceTransportStateChangedEvent"): RTCIceTransportStateChangedEvent; - createEvent(eventInterface: "RTCPeerConnectionIceErrorEvent"): RTCPeerConnectionIceErrorEvent; - createEvent(eventInterface: "RTCPeerConnectionIceEvent"): RTCPeerConnectionIceEvent; - createEvent(eventInterface: "RTCSsrcConflictEvent"): RTCSsrcConflictEvent; - createEvent(eventInterface: "RTCStatsEvent"): RTCStatsEvent; - createEvent(eventInterface: "RTCTrackEvent"): RTCTrackEvent; - createEvent(eventInterface: "SVGZoomEvent"): SVGZoomEvent; - createEvent(eventInterface: "SVGZoomEvents"): SVGZoomEvent; - createEvent(eventInterface: "SecurityPolicyViolationEvent"): SecurityPolicyViolationEvent; - createEvent(eventInterface: "ServiceWorkerMessageEvent"): ServiceWorkerMessageEvent; - createEvent(eventInterface: "SpeechRecognitionEvent"): SpeechRecognitionEvent; - createEvent(eventInterface: "SpeechSynthesisErrorEvent"): SpeechSynthesisErrorEvent; - createEvent(eventInterface: "SpeechSynthesisEvent"): SpeechSynthesisEvent; - createEvent(eventInterface: "StorageEvent"): StorageEvent; - createEvent(eventInterface: "TextEvent"): TextEvent; - createEvent(eventInterface: "TouchEvent"): TouchEvent; - createEvent(eventInterface: "TrackEvent"): TrackEvent; - createEvent(eventInterface: "TransitionEvent"): TransitionEvent; - createEvent(eventInterface: "UIEvent"): UIEvent; - createEvent(eventInterface: "UIEvents"): UIEvent; - createEvent(eventInterface: "VRDisplayEvent"): VRDisplayEvent; - createEvent(eventInterface: "VRDisplayEvent "): VRDisplayEvent ; - createEvent(eventInterface: "WebGLContextEvent"): WebGLContextEvent; - createEvent(eventInterface: "WheelEvent"): WheelEvent; - createEvent(eventInterface: string): Event; - /** - * Creates a NodeIterator object that you can use to traverse filtered lists of nodes or elements in a document. - * @param root The root element or node to start traversing on. - * @param whatToShow The type of nodes or elements to appear in the node list - * @param filter A custom NodeFilter function to use. For more information, see filter. Use null for no filter. - * @param entityReferenceExpansion A flag that specifies whether entity reference nodes are expanded. - */ - createNodeIterator(root: Node, whatToShow?: number, filter?: NodeFilter | null): NodeIterator; - /** - * Returns a ProcessingInstruction node whose target is target and data is data. If target does not match the Name production an "InvalidCharacterError" DOMException will be thrown. If data contains "?>" an "InvalidCharacterError" DOMException will be thrown. - */ - createProcessingInstruction(target: string, data: string): ProcessingInstruction; - /** - * Returns an empty range object that has both of its boundary points positioned at the beginning of the document. - */ - createRange(): Range; - /** - * Creates a text string from the specified value. - * @param data String that specifies the nodeValue property of the text node. - */ - createTextNode(data: string): Text; - /** - * Creates a TreeWalker object that you can use to traverse filtered lists of nodes or elements in a document. - * @param root The root element or node to start traversing on. - * @param whatToShow The type of nodes or elements to appear in the node list. For more information, see whatToShow. - * @param filter A custom NodeFilter function to use. - * @param entityReferenceExpansion A flag that specifies whether entity reference nodes are expanded. - */ - createTreeWalker(root: Node, whatToShow?: number, filter?: NodeFilter | null): TreeWalker; - /** @deprecated */ - createTreeWalker(root: Node, whatToShow: number, filter: NodeFilter | null, entityReferenceExpansion?: boolean): TreeWalker; - /** - * Returns the element for the specified x coordinate and the specified y coordinate. - * @param x The x-offset - * @param y The y-offset - */ - elementFromPoint(x: number, y: number): Element | null; - elementsFromPoint(x: number, y: number): Element[]; - /** - * Executes a command on the current document, current selection, or the given range. - * @param commandId String that specifies the command to execute. This command can be any of the command identifiers that can be executed in script. - * @param showUI Display the user interface, defaults to false. - * @param value Value to assign. - */ - execCommand(commandId: string, showUI?: boolean, value?: string): boolean; - /** - * Stops document's fullscreen element from being displayed fullscreen and resolves promise when done. - */ - exitFullscreen(): Promise; - exitPointerLock(): void; - getAnimations(): Animation[]; - /** - * Returns a reference to the first object with the specified value of the ID or NAME attribute. - * @param elementId String that specifies the ID value. Case-insensitive. - */ - getElementById(elementId: string): HTMLElement | null; - /** - * Returns a HTMLCollection of the elements in the object on which the method was invoked (a document or an element) that have all the classes given by classNames. The classNames argument is interpreted as a space-separated list of classes. - */ - getElementsByClassName(classNames: string): HTMLCollectionOf; - /** - * Gets a collection of objects based on the value of the NAME or ID attribute. - * @param elementName Gets a collection of objects based on the value of the NAME or ID attribute. - */ - getElementsByName(elementName: string): NodeListOf; - /** - * Retrieves a collection of objects based on the specified element name. - * @param name Specifies the name of an element. - */ - getElementsByTagName(qualifiedName: K): HTMLCollectionOf; - getElementsByTagName(qualifiedName: K): HTMLCollectionOf; - getElementsByTagName(qualifiedName: string): HTMLCollectionOf; - /** - * If namespace and localName are "*" returns a HTMLCollection of all descendant elements. - * - * If only namespace is "*" returns a HTMLCollection of all descendant elements whose local name is localName. - * - * If only localName is "*" returns a HTMLCollection of all descendant elements whose namespace is namespace. - * - * Otherwise, returns a HTMLCollection of all descendant elements whose namespace is namespace and local name is localName. - */ - getElementsByTagNameNS(namespaceURI: "http://www.w3.org/1999/xhtml", localName: string): HTMLCollectionOf; - getElementsByTagNameNS(namespaceURI: "http://www.w3.org/2000/svg", localName: string): HTMLCollectionOf; - getElementsByTagNameNS(namespaceURI: string, localName: string): HTMLCollectionOf; - /** - * Returns an object representing the current selection of the document that is loaded into the object displaying a webpage. - */ - getSelection(): Selection | null; - /** - * Gets a value indicating whether the object currently has focus. - */ - hasFocus(): boolean; - /** - * Returns a copy of node. If deep is true, the copy also includes the node's descendants. - * - * If node is a document or a shadow root, throws a "NotSupportedError" DOMException. - */ - importNode(importedNode: T, deep: boolean): T; - /** - * Opens a new window and loads a document specified by a given URL. Also, opens a new window that uses the url parameter and the name parameter to collect the output of the write method and the writeln method. - * @param url Specifies a MIME type for the document. - * @param name Specifies the name of the window. This name is used as the value for the TARGET attribute on a form or an anchor element. - * @param features Contains a list of items separated by commas. Each item consists of an option and a value, separated by an equals sign (for example, "fullscreen=yes, toolbar=yes"). The following values are supported. - * @param replace Specifies whether the existing entry for the document is replaced in the history list. - */ - open(url?: string, name?: string, features?: string, replace?: boolean): Document; - /** - * Returns a Boolean value that indicates whether a specified command can be successfully executed using execCommand, given the current state of the document. - * @param commandId Specifies a command identifier. - */ - queryCommandEnabled(commandId: string): boolean; - /** - * Returns a Boolean value that indicates whether the specified command is in the indeterminate state. - * @param commandId String that specifies a command identifier. - */ - queryCommandIndeterm(commandId: string): boolean; - /** - * Returns a Boolean value that indicates the current state of the command. - * @param commandId String that specifies a command identifier. - */ - queryCommandState(commandId: string): boolean; - /** - * Returns a Boolean value that indicates whether the current command is supported on the current range. - * @param commandId Specifies a command identifier. - */ - queryCommandSupported(commandId: string): boolean; - /** - * Returns the current value of the document, range, or current selection for the given command. - * @param commandId String that specifies a command identifier. - */ - queryCommandValue(commandId: string): string; - /** @deprecated */ - releaseEvents(): void; - /** - * Writes one or more HTML expressions to a document in the specified window. - * @param content Specifies the text and HTML tags to write. - */ - write(...text: string[]): void; - /** - * Writes one or more HTML expressions, followed by a carriage return, to a document in the specified window. - * @param content The text and HTML tags to write. - */ - writeln(...text: string[]): void; - addEventListener(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void; - addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void; - removeEventListener(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | EventListenerOptions): void; - removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void; -} - -declare var Document: { - prototype: Document; - new(): Document; -}; - -interface DocumentAndElementEventHandlersEventMap { - "copy": ClipboardEvent; - "cut": ClipboardEvent; - "paste": ClipboardEvent; -} - -interface DocumentAndElementEventHandlers { - oncopy: ((this: DocumentAndElementEventHandlers, ev: ClipboardEvent) => any) | null; - oncut: ((this: DocumentAndElementEventHandlers, ev: ClipboardEvent) => any) | null; - onpaste: ((this: DocumentAndElementEventHandlers, ev: ClipboardEvent) => any) | null; - addEventListener(type: K, listener: (this: DocumentAndElementEventHandlers, ev: DocumentAndElementEventHandlersEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void; - addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void; - removeEventListener(type: K, listener: (this: DocumentAndElementEventHandlers, ev: DocumentAndElementEventHandlersEventMap[K]) => any, options?: boolean | EventListenerOptions): void; - removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void; -} - -interface DocumentEvent { - createEvent(eventInterface: "AnimationEvent"): AnimationEvent; - createEvent(eventInterface: "AnimationPlaybackEvent"): AnimationPlaybackEvent; - createEvent(eventInterface: "AudioProcessingEvent"): AudioProcessingEvent; - createEvent(eventInterface: "BeforeUnloadEvent"): BeforeUnloadEvent; - createEvent(eventInterface: "ClipboardEvent"): ClipboardEvent; - createEvent(eventInterface: "CloseEvent"): CloseEvent; - createEvent(eventInterface: "CompositionEvent"): CompositionEvent; - createEvent(eventInterface: "CustomEvent"): CustomEvent; - createEvent(eventInterface: "DeviceLightEvent"): DeviceLightEvent; - createEvent(eventInterface: "DeviceMotionEvent"): DeviceMotionEvent; - createEvent(eventInterface: "DeviceOrientationEvent"): DeviceOrientationEvent; - createEvent(eventInterface: "DragEvent"): DragEvent; - createEvent(eventInterface: "ErrorEvent"): ErrorEvent; - createEvent(eventInterface: "Event"): Event; - createEvent(eventInterface: "Events"): Event; - createEvent(eventInterface: "FocusEvent"): FocusEvent; - createEvent(eventInterface: "FocusNavigationEvent"): FocusNavigationEvent; - createEvent(eventInterface: "GamepadEvent"): GamepadEvent; - createEvent(eventInterface: "HashChangeEvent"): HashChangeEvent; - createEvent(eventInterface: "IDBVersionChangeEvent"): IDBVersionChangeEvent; - createEvent(eventInterface: "InputEvent"): InputEvent; - createEvent(eventInterface: "KeyboardEvent"): KeyboardEvent; - createEvent(eventInterface: "ListeningStateChangedEvent"): ListeningStateChangedEvent; - createEvent(eventInterface: "MSGestureEvent"): MSGestureEvent; - createEvent(eventInterface: "MSMediaKeyMessageEvent"): MSMediaKeyMessageEvent; - createEvent(eventInterface: "MSMediaKeyNeededEvent"): MSMediaKeyNeededEvent; - createEvent(eventInterface: "MSPointerEvent"): MSPointerEvent; - createEvent(eventInterface: "MediaEncryptedEvent"): MediaEncryptedEvent; - createEvent(eventInterface: "MediaKeyMessageEvent"): MediaKeyMessageEvent; - createEvent(eventInterface: "MediaQueryListEvent"): MediaQueryListEvent; - createEvent(eventInterface: "MediaStreamErrorEvent"): MediaStreamErrorEvent; - createEvent(eventInterface: "MediaStreamEvent"): MediaStreamEvent; - createEvent(eventInterface: "MediaStreamTrackEvent"): MediaStreamTrackEvent; - 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: "OverflowEvent"): OverflowEvent; - createEvent(eventInterface: "PageTransitionEvent"): PageTransitionEvent; - createEvent(eventInterface: "PaymentRequestUpdateEvent"): PaymentRequestUpdateEvent; - createEvent(eventInterface: "PermissionRequestedEvent"): PermissionRequestedEvent; - createEvent(eventInterface: "PointerEvent"): PointerEvent; - createEvent(eventInterface: "PopStateEvent"): PopStateEvent; - createEvent(eventInterface: "ProgressEvent"): ProgressEvent; - createEvent(eventInterface: "PromiseRejectionEvent"): PromiseRejectionEvent; - createEvent(eventInterface: "RTCDTMFToneChangeEvent"): RTCDTMFToneChangeEvent; - createEvent(eventInterface: "RTCDataChannelEvent"): RTCDataChannelEvent; - createEvent(eventInterface: "RTCDtlsTransportStateChangedEvent"): RTCDtlsTransportStateChangedEvent; - createEvent(eventInterface: "RTCErrorEvent"): RTCErrorEvent; - createEvent(eventInterface: "RTCIceCandidatePairChangedEvent"): RTCIceCandidatePairChangedEvent; - createEvent(eventInterface: "RTCIceGathererEvent"): RTCIceGathererEvent; - createEvent(eventInterface: "RTCIceTransportStateChangedEvent"): RTCIceTransportStateChangedEvent; - createEvent(eventInterface: "RTCPeerConnectionIceErrorEvent"): RTCPeerConnectionIceErrorEvent; - createEvent(eventInterface: "RTCPeerConnectionIceEvent"): RTCPeerConnectionIceEvent; - createEvent(eventInterface: "RTCSsrcConflictEvent"): RTCSsrcConflictEvent; - createEvent(eventInterface: "RTCStatsEvent"): RTCStatsEvent; - createEvent(eventInterface: "RTCTrackEvent"): RTCTrackEvent; - createEvent(eventInterface: "SVGZoomEvent"): SVGZoomEvent; - createEvent(eventInterface: "SVGZoomEvents"): SVGZoomEvent; - createEvent(eventInterface: "SecurityPolicyViolationEvent"): SecurityPolicyViolationEvent; - createEvent(eventInterface: "ServiceWorkerMessageEvent"): ServiceWorkerMessageEvent; - createEvent(eventInterface: "SpeechRecognitionEvent"): SpeechRecognitionEvent; - createEvent(eventInterface: "SpeechSynthesisErrorEvent"): SpeechSynthesisErrorEvent; - createEvent(eventInterface: "SpeechSynthesisEvent"): SpeechSynthesisEvent; - createEvent(eventInterface: "StorageEvent"): StorageEvent; - createEvent(eventInterface: "TextEvent"): TextEvent; - createEvent(eventInterface: "TouchEvent"): TouchEvent; - createEvent(eventInterface: "TrackEvent"): TrackEvent; - createEvent(eventInterface: "TransitionEvent"): TransitionEvent; - createEvent(eventInterface: "UIEvent"): UIEvent; - createEvent(eventInterface: "UIEvents"): UIEvent; - createEvent(eventInterface: "VRDisplayEvent"): VRDisplayEvent; - createEvent(eventInterface: "VRDisplayEvent "): VRDisplayEvent ; - createEvent(eventInterface: "WebGLContextEvent"): WebGLContextEvent; - createEvent(eventInterface: "WheelEvent"): WheelEvent; - createEvent(eventInterface: string): Event; -} - -/** A minimal document object that has no parent. It is used as a lightweight version of Document that stores a segment of a document structure comprised of nodes just like a standard document. The key difference is that because the document fragment isn't part of the active document tree structure, changes made to the fragment don't affect the document, cause reflow, or incur any performance impact that can occur when changes are made. */ -interface DocumentFragment extends Node, NonElementParentNode, ParentNode { - readonly ownerDocument: Document; - getElementById(elementId: string): HTMLElement | null; -} - -declare var DocumentFragment: { - prototype: DocumentFragment; - new(): DocumentFragment; -}; - -interface DocumentOrShadowRoot { - readonly activeElement: Element | null; - /** - * Returns document's fullscreen element. - */ - readonly fullscreenElement: Element | null; - readonly pointerLockElement: Element | null; - /** - * Retrieves a collection of styleSheet objects representing the style sheets that correspond to each instance of a link or style object in the document. - */ - readonly styleSheets: StyleSheetList; - caretPositionFromPoint(x: number, y: number): CaretPosition | null; - /** @deprecated */ - caretRangeFromPoint(x: number, y: number): Range; - elementFromPoint(x: number, y: number): Element | null; - elementsFromPoint(x: number, y: number): Element[]; - getSelection(): Selection | null; -} - -interface DocumentTimeline extends AnimationTimeline { -} - -declare var DocumentTimeline: { - prototype: DocumentTimeline; - new(options?: DocumentTimelineOptions): DocumentTimeline; -}; - -/** A Node containing a doctype. */ -interface DocumentType extends Node, ChildNode { - readonly name: string; - readonly ownerDocument: Document; - readonly publicId: string; - readonly systemId: string; -} - -declare var DocumentType: { - prototype: DocumentType; - new(): DocumentType; -}; - -/** A DOM event that represents a drag and drop interaction. The user initiates a drag by placing a pointer device (such as a mouse) on the touch surface and then dragging the pointer to a new location (such as another DOM element). Applications are free to interpret a drag and drop interaction in an application-specific way. */ -interface DragEvent extends MouseEvent { - /** - * Returns the DataTransfer object for the event. - */ - readonly dataTransfer: DataTransfer | null; -} - -declare var DragEvent: { - prototype: DragEvent; - new(type: string, eventInitDict?: DragEventInit): DragEvent; -}; - -/** Inherits properties from its parent, AudioNode. */ -interface DynamicsCompressorNode extends AudioNode { - readonly attack: AudioParam; - readonly knee: AudioParam; - readonly ratio: AudioParam; - readonly reduction: number; - readonly release: AudioParam; - readonly threshold: AudioParam; -} - -declare var DynamicsCompressorNode: { - prototype: DynamicsCompressorNode; - new(context: BaseAudioContext, options?: DynamicsCompressorOptions): DynamicsCompressorNode; -}; - -interface EXT_blend_minmax { - readonly MAX_EXT: GLenum; - readonly MIN_EXT: GLenum; -} - -/** The EXT_frag_depth extension is part of the WebGL API and enables to set a depth value of a fragment from within the fragment shader. */ -interface EXT_frag_depth { -} - -interface EXT_sRGB { - readonly FRAMEBUFFER_ATTACHMENT_COLOR_ENCODING_EXT: GLenum; - readonly SRGB8_ALPHA8_EXT: GLenum; - readonly SRGB_ALPHA_EXT: GLenum; - readonly SRGB_EXT: GLenum; -} - -interface EXT_shader_texture_lod { -} - -/** The EXT_texture_filter_anisotropic extension is part of the WebGL API and exposes two constants for anisotropic filtering (AF). */ -interface EXT_texture_filter_anisotropic { - readonly MAX_TEXTURE_MAX_ANISOTROPY_EXT: GLenum; - readonly TEXTURE_MAX_ANISOTROPY_EXT: GLenum; -} - -interface ElementEventMap { - "fullscreenchange": Event; - "fullscreenerror": Event; -} - -/** Element is the most general base class from which all objects in a Document inherit. It only has methods and properties common to all kinds of elements. More specific classes inherit from Element. */ -interface Element extends Node, Animatable, ChildNode, InnerHTML, NonDocumentTypeChildNode, ParentNode, Slotable { - readonly assignedSlot: HTMLSlotElement | null; - readonly attributes: NamedNodeMap; - /** - * Allows for manipulation of element's class content attribute as a set of whitespace-separated tokens through a DOMTokenList object. - */ - readonly classList: DOMTokenList; - /** - * Returns the value of element's class content attribute. Can be set to change it. - */ - className: string; - readonly clientHeight: number; - readonly clientLeft: number; - readonly clientTop: number; - readonly clientWidth: number; - /** - * Returns the value of element's id content attribute. Can be set to change it. - */ - id: string; - /** - * Returns the local name. - */ - readonly localName: string; - /** - * Returns the namespace. - */ - readonly namespaceURI: string | null; - onfullscreenchange: ((this: Element, ev: Event) => any) | null; - onfullscreenerror: ((this: Element, ev: Event) => any) | null; - outerHTML: string; - readonly ownerDocument: Document; - /** - * Returns the namespace prefix. - */ - readonly prefix: string | null; - readonly scrollHeight: number; - scrollLeft: number; - scrollTop: number; - readonly scrollWidth: number; - /** - * Returns element's shadow root, if any, and if shadow root's mode is "open", and null otherwise. - */ - readonly shadowRoot: ShadowRoot | null; - /** - * Returns the value of element's slot content attribute. Can be set to change it. - */ - slot: string; - /** - * Returns the HTML-uppercased qualified name. - */ - readonly tagName: string; - /** - * Creates a shadow root for element and returns it. - */ - attachShadow(init: ShadowRootInit): ShadowRoot; - /** - * Returns the first (starting at element) inclusive ancestor that matches selectors, and null otherwise. - */ - closest(selector: K): HTMLElementTagNameMap[K] | null; - closest(selector: K): SVGElementTagNameMap[K] | null; - closest(selector: string): E | null; - /** - * Returns element's first attribute whose qualified name is qualifiedName, and null if there is no such attribute otherwise. - */ - getAttribute(qualifiedName: string): string | null; - /** - * Returns element's attribute whose namespace is namespace and local name is localName, and null if there is no such attribute otherwise. - */ - getAttributeNS(namespace: string | null, localName: string): string | null; - /** - * Returns the qualified names of all element's attributes. Can contain duplicates. - */ - getAttributeNames(): string[]; - getAttributeNode(name: string): Attr | null; - getAttributeNodeNS(namespaceURI: string, localName: string): Attr | null; - getBoundingClientRect(): DOMRect; - getClientRects(): DOMRectList; - /** - * Returns a HTMLCollection of the elements in the object on which the method was invoked (a document or an element) that have all the classes given by classNames. The classNames argument is interpreted as a space-separated list of classes. - */ - getElementsByClassName(classNames: string): HTMLCollectionOf; - getElementsByTagName(qualifiedName: K): HTMLCollectionOf; - getElementsByTagName(qualifiedName: K): HTMLCollectionOf; - getElementsByTagName(qualifiedName: string): HTMLCollectionOf; - getElementsByTagNameNS(namespaceURI: "http://www.w3.org/1999/xhtml", localName: string): HTMLCollectionOf; - getElementsByTagNameNS(namespaceURI: "http://www.w3.org/2000/svg", localName: string): HTMLCollectionOf; - getElementsByTagNameNS(namespaceURI: string, localName: string): HTMLCollectionOf; - /** - * Returns true if element has an attribute whose qualified name is qualifiedName, and false otherwise. - */ - hasAttribute(qualifiedName: string): boolean; - /** - * Returns true if element has an attribute whose namespace is namespace and local name is localName. - */ - hasAttributeNS(namespace: string | null, localName: string): boolean; - /** - * Returns true if element has attributes, and false otherwise. - */ - hasAttributes(): boolean; - hasPointerCapture(pointerId: number): boolean; - insertAdjacentElement(position: InsertPosition, insertedElement: Element): Element | null; - insertAdjacentHTML(where: InsertPosition, html: string): void; - insertAdjacentText(where: InsertPosition, text: string): void; - /** - * Returns true if matching selectors against element's root yields element, and false otherwise. - */ - matches(selectors: string): boolean; - msGetRegionContent(): any; - releasePointerCapture(pointerId: number): void; - /** - * Removes element's first attribute whose qualified name is qualifiedName. - */ - removeAttribute(qualifiedName: string): void; - /** - * Removes element's attribute whose namespace is namespace and local name is localName. - */ - removeAttributeNS(namespace: string | null, localName: string): void; - removeAttributeNode(attr: Attr): Attr; - /** - * Displays element fullscreen and resolves promise when done. - * - * When supplied, options's navigationUI member indicates whether showing navigation UI while in fullscreen is preferred or not. If set to "show", navigation simplicity is preferred over screen space, and if set to "hide", more screen space is preferred. User agents are always free to honor user preference over the application's. The default value "auto" indicates no application preference. - */ - requestFullscreen(options?: FullscreenOptions): Promise; - requestPointerLock(): void; - scroll(options?: ScrollToOptions): void; - scroll(x: number, y: number): void; - scrollBy(options?: ScrollToOptions): void; - scrollBy(x: number, y: number): void; - scrollIntoView(arg?: boolean | ScrollIntoViewOptions): void; - scrollTo(options?: ScrollToOptions): void; - scrollTo(x: number, y: number): void; - /** - * Sets the value of element's first attribute whose qualified name is qualifiedName to value. - */ - setAttribute(qualifiedName: string, value: string): void; - /** - * Sets the value of element's attribute whose namespace is namespace and local name is localName to value. - */ - setAttributeNS(namespace: string | null, qualifiedName: string, value: string): void; - setAttributeNode(attr: Attr): Attr | null; - setAttributeNodeNS(attr: Attr): Attr | null; - setPointerCapture(pointerId: number): void; - /** - * If force is not given, "toggles" qualifiedName, removing it if it is present and adding it if it is not present. If force is true, adds qualifiedName. If force is false, removes qualifiedName. - * - * Returns true if qualifiedName is now present, and false otherwise. - */ - toggleAttribute(qualifiedName: string, force?: boolean): boolean; - webkitMatchesSelector(selectors: string): boolean; - addEventListener(type: K, listener: (this: Element, ev: ElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void; - addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void; - removeEventListener(type: K, listener: (this: Element, ev: ElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void; - removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void; -} - -declare var Element: { - prototype: Element; - new(): Element; -}; - -interface ElementCSSInlineStyle { - readonly style: CSSStyleDeclaration; -} - -interface ElementContentEditable { - contentEditable: string; - inputMode: string; - readonly isContentEditable: boolean; -} - -/** Events providing information related to errors in scripts or in files. */ -interface ErrorEvent extends Event { - readonly colno: number; - readonly error: any; - readonly filename: string; - readonly lineno: number; - readonly message: string; -} - -declare var ErrorEvent: { - prototype: ErrorEvent; - new(type: string, eventInitDict?: ErrorEventInit): ErrorEvent; -}; - -/** An event which takes place in the DOM. */ -interface Event { - /** - * Returns true or false depending on how event was initialized. True if event goes through its target's ancestors in reverse tree order, and false otherwise. - */ - readonly bubbles: boolean; - cancelBubble: boolean; - /** - * Returns true or false depending on how event was initialized. Its return value does not always carry meaning, but true can indicate that part of the operation during which event was dispatched, can be canceled by invoking the preventDefault() method. - */ - readonly cancelable: boolean; - /** - * Returns true or false depending on how event was initialized. True if event invokes listeners past a ShadowRoot node that is the root of its target, and false otherwise. - */ - readonly composed: boolean; - /** - * Returns the object whose event listener's callback is currently being invoked. - */ - readonly currentTarget: EventTarget | null; - /** - * Returns true if preventDefault() was invoked successfully to indicate cancelation, and false otherwise. - */ - readonly defaultPrevented: boolean; - /** - * Returns the event's phase, which is one of NONE, CAPTURING_PHASE, AT_TARGET, and BUBBLING_PHASE. - */ - readonly eventPhase: number; - /** - * Returns true if event was dispatched by the user agent, and false otherwise. - */ - readonly isTrusted: boolean; - returnValue: boolean; - /** @deprecated */ - readonly srcElement: EventTarget | null; - /** - * Returns the object to which event is dispatched (its target). - */ - readonly target: EventTarget | null; - /** - * Returns the event's timestamp as the number of milliseconds measured relative to the time origin. - */ - readonly timeStamp: number; - /** - * Returns the type of event, e.g. "click", "hashchange", or "submit". - */ - readonly type: string; - /** - * Returns the invocation target objects of event's path (objects on which listeners will be invoked), except for any nodes in shadow trees of which the shadow root's mode is "closed" that are not reachable from event's currentTarget. - */ - composedPath(): EventTarget[]; - initEvent(type: string, bubbles?: boolean, cancelable?: boolean): void; - /** - * If invoked when the cancelable attribute value is true, and while executing a listener for the event with passive set to false, signals to the operation that caused event to be dispatched that it needs to be canceled. - */ - preventDefault(): void; - /** - * Invoking this method prevents event from reaching any registered event listeners after the current one finishes running and, when dispatched in a tree, also prevents event from reaching any other objects. - */ - stopImmediatePropagation(): void; - /** - * When dispatched in a tree, invoking this method prevents event from reaching any objects other than the current object. - */ - stopPropagation(): void; - readonly AT_TARGET: number; - readonly BUBBLING_PHASE: number; - readonly CAPTURING_PHASE: number; - readonly NONE: number; -} - -declare var Event: { - prototype: Event; - new(type: string, eventInitDict?: EventInit): Event; - readonly AT_TARGET: number; - readonly BUBBLING_PHASE: number; - readonly CAPTURING_PHASE: number; - readonly NONE: number; -}; - -interface EventListenerObject { - handleEvent(evt: Event): void; -} - -interface EventSourceEventMap { - "error": Event; - "message": MessageEvent; - "open": Event; -} - -interface EventSource extends EventTarget { - onerror: ((this: EventSource, ev: Event) => any) | null; - onmessage: ((this: EventSource, ev: MessageEvent) => any) | null; - onopen: ((this: EventSource, ev: Event) => any) | null; - /** - * Returns the state of this EventSource object's connection. It can have the values described below. - */ - readonly readyState: number; - /** - * Returns the URL providing the event stream. - */ - readonly url: string; - /** - * Returns true if the credentials mode for connection requests to the URL providing the event stream is set to "include", and false otherwise. - */ - readonly withCredentials: boolean; - /** - * Aborts any instances of the fetch algorithm started for this EventSource object, and sets the readyState attribute to CLOSED. - */ - close(): void; - readonly CLOSED: number; - readonly CONNECTING: number; - readonly OPEN: number; - addEventListener(type: K, listener: (this: EventSource, ev: EventSourceEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void; - addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void; - removeEventListener(type: K, listener: (this: EventSource, ev: EventSourceEventMap[K]) => any, options?: boolean | EventListenerOptions): void; - removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void; -} - -declare var EventSource: { - prototype: EventSource; - new(url: string, eventSourceInitDict?: EventSourceInit): EventSource; - readonly CLOSED: number; - readonly CONNECTING: number; - readonly OPEN: number; -}; - -/** EventTarget is a DOM interface implemented by objects that can receive events and may have listeners for them. */ -interface EventTarget { - /** - * Appends an event listener for events whose type attribute value is type. The callback argument sets the callback that will be invoked when the event is dispatched. - * - * The options argument sets listener-specific options. For compatibility this can be a boolean, in which case the method behaves exactly as if the value was specified as options's capture. - * - * When set to true, options's capture prevents callback from being invoked when the event's eventPhase attribute value is BUBBLING_PHASE. When false (or not present), callback will not be invoked when event's eventPhase attribute value is CAPTURING_PHASE. Either way, callback will be invoked if event's eventPhase attribute value is AT_TARGET. - * - * When set to true, options's passive indicates that the callback will not cancel the event by invoking preventDefault(). This is used to enable performance optimizations described in § 2.8 Observing event listeners. - * - * When set to true, options's once indicates that the callback will only be invoked once after which the event listener will be removed. - * - * The event listener is appended to target's event listener list and is not appended if it has the same type, callback, and capture. - */ - addEventListener(type: string, listener: EventListenerOrEventListenerObject | null, options?: boolean | AddEventListenerOptions): void; - /** - * Dispatches a synthetic event event to target and returns true if either event's cancelable attribute value is false or its preventDefault() method was not invoked, and false otherwise. - */ - dispatchEvent(event: Event): boolean; - /** - * Removes the event listener in target's event listener list with the same type, callback, and options. - */ - removeEventListener(type: string, callback: EventListenerOrEventListenerObject | null, options?: EventListenerOptions | boolean): void; -} - -declare var EventTarget: { - prototype: EventTarget; - new(): EventTarget; -}; - -interface ExtensionScriptApis { - extensionIdToShortId(extensionId: string): number; - fireExtensionApiTelemetry(functionName: string, isSucceeded: boolean, isSupported: boolean, errorString: string): void; - genericFunction(routerAddress: any, parameters?: string, callbackId?: number): void; - genericSynchronousFunction(functionId: number, parameters?: string): string; - genericWebRuntimeCallout(to: any, from: any, payload: string): void; - getExtensionId(): string; - registerGenericFunctionCallbackHandler(callbackHandler: Function): void; - registerGenericPersistentCallbackHandler(callbackHandler: Function): void; - registerWebRuntimeCallbackHandler(handler: Function): any; -} - -declare var ExtensionScriptApis: { - prototype: ExtensionScriptApis; - new(): ExtensionScriptApis; -}; - -interface External { - /** @deprecated */ - AddSearchProvider(): void; - /** @deprecated */ - IsSearchProviderInstalled(): void; -} - -declare var External: { - prototype: External; - new(): External; -}; - -/** Provides information about files and allows JavaScript in a web page to access their content. */ -interface File extends Blob { - readonly lastModified: number; - readonly name: string; -} - -declare var File: { - prototype: File; - new(fileBits: BlobPart[], fileName: string, options?: FilePropertyBag): File; -}; - -/** An object of this type is returned by the files property of the HTML element; this lets you access the list of files selected with the element. It's also used for a list of files dropped into web content when using the drag and drop API; see the DataTransfer object for details on this usage. */ -interface FileList { - readonly length: number; - item(index: number): File | null; - [index: number]: File; -} - -declare var FileList: { - prototype: FileList; - new(): FileList; -}; - -interface FileReaderEventMap { - "abort": ProgressEvent; - "error": ProgressEvent; - "load": ProgressEvent; - "loadend": ProgressEvent; - "loadstart": ProgressEvent; - "progress": ProgressEvent; -} - -/** Lets web applications asynchronously read the contents of files (or raw data buffers) stored on the user's computer, using File or Blob objects to specify the file or data to read. */ -interface FileReader extends EventTarget { - readonly error: DOMException | null; - onabort: ((this: FileReader, ev: ProgressEvent) => any) | null; - onerror: ((this: FileReader, ev: ProgressEvent) => any) | null; - onload: ((this: FileReader, ev: ProgressEvent) => any) | null; - onloadend: ((this: FileReader, ev: ProgressEvent) => any) | null; - onloadstart: ((this: FileReader, ev: ProgressEvent) => any) | null; - onprogress: ((this: FileReader, ev: ProgressEvent) => any) | null; - readonly readyState: number; - readonly result: string | ArrayBuffer | null; - abort(): void; - readAsArrayBuffer(blob: Blob): void; - readAsBinaryString(blob: Blob): void; - readAsDataURL(blob: Blob): void; - readAsText(blob: Blob, encoding?: string): void; - readonly DONE: number; - readonly EMPTY: number; - readonly LOADING: number; - addEventListener(type: K, listener: (this: FileReader, ev: FileReaderEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void; - addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void; - removeEventListener(type: K, listener: (this: FileReader, ev: FileReaderEventMap[K]) => any, options?: boolean | EventListenerOptions): void; - removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void; -} - -declare var FileReader: { - prototype: FileReader; - new(): FileReader; - readonly DONE: number; - readonly EMPTY: number; - readonly LOADING: number; -}; - -/** Focus-related events like focus, blur, focusin, or focusout. */ -interface FocusEvent extends UIEvent { - readonly relatedTarget: EventTarget | null; -} - -declare var FocusEvent: { - prototype: FocusEvent; - new(type: string, eventInitDict?: FocusEventInit): FocusEvent; -}; - -interface FocusNavigationEvent extends Event { - readonly navigationReason: NavigationReason; - readonly originHeight: number; - readonly originLeft: number; - readonly originTop: number; - readonly originWidth: number; - requestFocus(): void; -} - -declare var FocusNavigationEvent: { - prototype: FocusNavigationEvent; - new(type: string, eventInitDict?: FocusNavigationEventInit): FocusNavigationEvent; -}; - -/** Provides a way to easily construct a set of key/value pairs representing form fields and their values, which can then be easily sent using the XMLHttpRequest.send() method. It uses the same format a form would use if the encoding type were set to "multipart/form-data". */ -interface FormData { - append(name: string, value: string | Blob, fileName?: string): void; - delete(name: string): void; - get(name: string): FormDataEntryValue | null; - getAll(name: string): FormDataEntryValue[]; - has(name: string): boolean; - set(name: string, value: string | Blob, fileName?: string): void; - forEach(callbackfn: (value: FormDataEntryValue, key: string, parent: FormData) => void, thisArg?: any): void; -} - -declare var FormData: { - prototype: FormData; - new(form?: HTMLFormElement): FormData; -}; - -/** 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. */ -interface GainNode extends AudioNode { - readonly gain: AudioParam; -} - -declare var GainNode: { - prototype: GainNode; - new(context: BaseAudioContext, options?: GainOptions): GainNode; -}; - -/** This Gamepad API interface defines an individual gamepad or other controller, allowing access to information such as button presses, axis positions, and id. */ -interface Gamepad { - readonly axes: ReadonlyArray; - readonly buttons: ReadonlyArray; - readonly connected: boolean; - readonly hand: GamepadHand; - readonly hapticActuators: ReadonlyArray; - readonly id: string; - readonly index: number; - readonly mapping: GamepadMappingType; - readonly pose: GamepadPose | null; - readonly timestamp: number; -} - -declare var Gamepad: { - prototype: Gamepad; - new(): Gamepad; -}; - -/** An individual button of a gamepad or other controller, allowing access to the current state of different types of buttons available on the control device. */ -interface GamepadButton { - readonly pressed: boolean; - readonly touched: boolean; - readonly value: number; -} - -declare var GamepadButton: { - prototype: GamepadButton; - new(): GamepadButton; -}; - -/** This Gamepad API interface contains references to gamepads connected to the system, which is what the gamepad events Window.gamepadconnected and Window.gamepaddisconnected are fired in response to. */ -interface GamepadEvent extends Event { - readonly gamepad: Gamepad; -} - -declare var GamepadEvent: { - prototype: GamepadEvent; - new(type: string, eventInitDict: GamepadEventInit): GamepadEvent; -}; - -/** This Gamepad API interface represents hardware in the controller designed to provide haptic feedback to the user (if available), most commonly vibration hardware. */ -interface GamepadHapticActuator { - readonly type: GamepadHapticActuatorType; - pulse(value: number, duration: number): Promise; -} - -declare var GamepadHapticActuator: { - prototype: GamepadHapticActuator; - new(): GamepadHapticActuator; -}; - -/** This Gamepad API interface represents the pose of a WebVR controller at a given timestamp (which includes orientation, position, velocity, and acceleration information.) */ -interface GamepadPose { - readonly angularAcceleration: Float32Array | null; - readonly angularVelocity: Float32Array | null; - readonly hasOrientation: boolean; - readonly hasPosition: boolean; - readonly linearAcceleration: Float32Array | null; - readonly linearVelocity: Float32Array | null; - readonly orientation: Float32Array | null; - readonly position: Float32Array | null; -} - -declare var GamepadPose: { - prototype: GamepadPose; - new(): GamepadPose; -}; - -interface GenericTransformStream { - /** - * Returns a readable stream whose chunks are strings resulting from running encoding's decoder on the chunks written to writable. - */ - readonly readable: ReadableStream; - /** - * Returns a writable stream which accepts [AllowShared] BufferSource chunks and runs them through encoding's decoder before making them available to readable. - * - * Typically this will be used via the pipeThrough() method on a ReadableStream source. - * - * ``` - * var decoder = new TextDecoderStream(encoding); - * byteReadable - * .pipeThrough(decoder) - * .pipeTo(textWritable); - * ``` - * - * If the error mode is "fatal" and encoding's decoder returns error, both readable and writable will be errored with a TypeError. - */ - readonly writable: WritableStream; -} - -/** An object able to programmatically obtain the position of the device. It gives Web content access to the location of the device. This allows a Web site or app to offer customized results based on the user's location. */ -interface Geolocation { - clearWatch(watchId: number): void; - getCurrentPosition(successCallback: PositionCallback, errorCallback?: PositionErrorCallback, options?: PositionOptions): void; - watchPosition(successCallback: PositionCallback, errorCallback?: PositionErrorCallback, options?: PositionOptions): number; -} - -interface GlobalEventHandlersEventMap { - "abort": UIEvent; - "animationcancel": AnimationEvent; - "animationend": AnimationEvent; - "animationiteration": AnimationEvent; - "animationstart": AnimationEvent; - "auxclick": MouseEvent; - "blur": FocusEvent; - "cancel": Event; - "canplay": Event; - "canplaythrough": Event; - "change": Event; - "click": MouseEvent; - "close": Event; - "contextmenu": MouseEvent; - "cuechange": Event; - "dblclick": MouseEvent; - "drag": DragEvent; - "dragend": DragEvent; - "dragenter": DragEvent; - "dragexit": Event; - "dragleave": DragEvent; - "dragover": DragEvent; - "dragstart": DragEvent; - "drop": DragEvent; - "durationchange": Event; - "emptied": Event; - "ended": Event; - "error": ErrorEvent; - "focus": FocusEvent; - "focusin": FocusEvent; - "focusout": FocusEvent; - "gotpointercapture": PointerEvent; - "input": Event; - "invalid": Event; - "keydown": KeyboardEvent; - "keypress": KeyboardEvent; - "keyup": KeyboardEvent; - "load": Event; - "loadeddata": Event; - "loadedmetadata": Event; - "loadstart": Event; - "lostpointercapture": PointerEvent; - "mousedown": MouseEvent; - "mouseenter": MouseEvent; - "mouseleave": MouseEvent; - "mousemove": MouseEvent; - "mouseout": MouseEvent; - "mouseover": MouseEvent; - "mouseup": MouseEvent; - "pause": Event; - "play": Event; - "playing": Event; - "pointercancel": PointerEvent; - "pointerdown": PointerEvent; - "pointerenter": PointerEvent; - "pointerleave": PointerEvent; - "pointermove": PointerEvent; - "pointerout": PointerEvent; - "pointerover": PointerEvent; - "pointerup": PointerEvent; - "progress": ProgressEvent; - "ratechange": Event; - "reset": Event; - "resize": UIEvent; - "scroll": Event; - "securitypolicyviolation": SecurityPolicyViolationEvent; - "seeked": Event; - "seeking": Event; - "select": Event; - "selectionchange": Event; - "selectstart": Event; - "stalled": Event; - "submit": Event; - "suspend": Event; - "timeupdate": Event; - "toggle": Event; - "touchcancel": TouchEvent; - "touchend": TouchEvent; - "touchmove": TouchEvent; - "touchstart": TouchEvent; - "transitioncancel": TransitionEvent; - "transitionend": TransitionEvent; - "transitionrun": TransitionEvent; - "transitionstart": TransitionEvent; - "volumechange": Event; - "waiting": Event; - "wheel": WheelEvent; -} - -interface GlobalEventHandlers { - /** - * Fires when the user aborts the download. - * @param ev The event. - */ - onabort: ((this: GlobalEventHandlers, ev: UIEvent) => any) | null; - onanimationcancel: ((this: GlobalEventHandlers, ev: AnimationEvent) => any) | null; - onanimationend: ((this: GlobalEventHandlers, ev: AnimationEvent) => any) | null; - onanimationiteration: ((this: GlobalEventHandlers, ev: AnimationEvent) => any) | null; - onanimationstart: ((this: GlobalEventHandlers, ev: AnimationEvent) => any) | null; - onauxclick: ((this: GlobalEventHandlers, ev: MouseEvent) => any) | null; - /** - * Fires when the object loses the input focus. - * @param ev The focus event. - */ - onblur: ((this: GlobalEventHandlers, ev: FocusEvent) => any) | null; - oncancel: ((this: GlobalEventHandlers, ev: Event) => any) | null; - /** - * Occurs when playback is possible, but would require further buffering. - * @param ev The event. - */ - oncanplay: ((this: GlobalEventHandlers, ev: Event) => any) | null; - oncanplaythrough: ((this: GlobalEventHandlers, ev: Event) => any) | null; - /** - * Fires when the contents of the object or selection have changed. - * @param ev The event. - */ - onchange: ((this: GlobalEventHandlers, ev: Event) => any) | null; - /** - * Fires when the user clicks the left mouse button on the object - * @param ev The mouse event. - */ - onclick: ((this: GlobalEventHandlers, ev: MouseEvent) => any) | null; - onclose: ((this: GlobalEventHandlers, ev: Event) => any) | null; - /** - * Fires when the user clicks the right mouse button in the client area, opening the context menu. - * @param ev The mouse event. - */ - oncontextmenu: ((this: GlobalEventHandlers, ev: MouseEvent) => any) | null; - oncuechange: ((this: GlobalEventHandlers, ev: Event) => any) | null; - /** - * Fires when the user double-clicks the object. - * @param ev The mouse event. - */ - ondblclick: ((this: GlobalEventHandlers, ev: MouseEvent) => any) | null; - /** - * Fires on the source object continuously during a drag operation. - * @param ev The event. - */ - ondrag: ((this: GlobalEventHandlers, ev: DragEvent) => any) | null; - /** - * Fires on the source object when the user releases the mouse at the close of a drag operation. - * @param ev The event. - */ - ondragend: ((this: GlobalEventHandlers, ev: DragEvent) => any) | null; - /** - * Fires on the target element when the user drags the object to a valid drop target. - * @param ev The drag event. - */ - ondragenter: ((this: GlobalEventHandlers, ev: DragEvent) => any) | null; - ondragexit: ((this: GlobalEventHandlers, ev: Event) => any) | null; - /** - * Fires on the target object when the user moves the mouse out of a valid drop target during a drag operation. - * @param ev The drag event. - */ - ondragleave: ((this: GlobalEventHandlers, ev: DragEvent) => any) | null; - /** - * Fires on the target element continuously while the user drags the object over a valid drop target. - * @param ev The event. - */ - ondragover: ((this: GlobalEventHandlers, ev: DragEvent) => any) | null; - /** - * Fires on the source object when the user starts to drag a text selection or selected object. - * @param ev The event. - */ - ondragstart: ((this: GlobalEventHandlers, ev: DragEvent) => any) | null; - ondrop: ((this: GlobalEventHandlers, ev: DragEvent) => any) | null; - /** - * Occurs when the duration attribute is updated. - * @param ev The event. - */ - ondurationchange: ((this: GlobalEventHandlers, ev: Event) => any) | null; - /** - * Occurs when the media element is reset to its initial state. - * @param ev The event. - */ - onemptied: ((this: GlobalEventHandlers, ev: Event) => any) | null; - /** - * Occurs when the end of playback is reached. - * @param ev The event - */ - onended: ((this: GlobalEventHandlers, ev: Event) => any) | null; - /** - * Fires when an error occurs during object loading. - * @param ev The event. - */ - onerror: OnErrorEventHandler; - /** - * Fires when the object receives focus. - * @param ev The event. - */ - onfocus: ((this: GlobalEventHandlers, ev: FocusEvent) => any) | null; - ongotpointercapture: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null; - oninput: ((this: GlobalEventHandlers, ev: Event) => any) | null; - oninvalid: ((this: GlobalEventHandlers, ev: Event) => any) | null; - /** - * Fires when the user presses a key. - * @param ev The keyboard event - */ - onkeydown: ((this: GlobalEventHandlers, ev: KeyboardEvent) => any) | null; - /** - * Fires when the user presses an alphanumeric key. - * @param ev The event. - */ - onkeypress: ((this: GlobalEventHandlers, ev: KeyboardEvent) => any) | null; - /** - * Fires when the user releases a key. - * @param ev The keyboard event - */ - onkeyup: ((this: GlobalEventHandlers, ev: KeyboardEvent) => any) | null; - /** - * Fires immediately after the browser loads the object. - * @param ev The event. - */ - onload: ((this: GlobalEventHandlers, ev: Event) => any) | null; - /** - * Occurs when media data is loaded at the current playback position. - * @param ev The event. - */ - onloadeddata: ((this: GlobalEventHandlers, ev: Event) => any) | null; - /** - * Occurs when the duration and dimensions of the media have been determined. - * @param ev The event. - */ - onloadedmetadata: ((this: GlobalEventHandlers, ev: Event) => any) | null; - /** - * Occurs when Internet Explorer begins looking for media data. - * @param ev The event. - */ - onloadstart: ((this: GlobalEventHandlers, ev: Event) => any) | null; - onlostpointercapture: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null; - /** - * Fires when the user clicks the object with either mouse button. - * @param ev The mouse event. - */ - onmousedown: ((this: GlobalEventHandlers, ev: MouseEvent) => any) | null; - onmouseenter: ((this: GlobalEventHandlers, ev: MouseEvent) => any) | null; - onmouseleave: ((this: GlobalEventHandlers, ev: MouseEvent) => any) | null; - /** - * Fires when the user moves the mouse over the object. - * @param ev The mouse event. - */ - onmousemove: ((this: GlobalEventHandlers, ev: MouseEvent) => any) | null; - /** - * Fires when the user moves the mouse pointer outside the boundaries of the object. - * @param ev The mouse event. - */ - onmouseout: ((this: GlobalEventHandlers, ev: MouseEvent) => any) | null; - /** - * Fires when the user moves the mouse pointer into the object. - * @param ev The mouse event. - */ - onmouseover: ((this: GlobalEventHandlers, ev: MouseEvent) => any) | null; - /** - * Fires when the user releases a mouse button while the mouse is over the object. - * @param ev The mouse event. - */ - onmouseup: ((this: GlobalEventHandlers, ev: MouseEvent) => any) | null; - /** - * Occurs when playback is paused. - * @param ev The event. - */ - onpause: ((this: GlobalEventHandlers, ev: Event) => any) | null; - /** - * Occurs when the play method is requested. - * @param ev The event. - */ - onplay: ((this: GlobalEventHandlers, ev: Event) => any) | null; - /** - * Occurs when the audio or video has started playing. - * @param ev The event. - */ - onplaying: ((this: GlobalEventHandlers, ev: Event) => any) | null; - onpointercancel: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null; - onpointerdown: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null; - onpointerenter: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null; - onpointerleave: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null; - onpointermove: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null; - onpointerout: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null; - onpointerover: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null; - onpointerup: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null; - /** - * Occurs to indicate progress while downloading media data. - * @param ev The event. - */ - onprogress: ((this: GlobalEventHandlers, ev: ProgressEvent) => any) | null; - /** - * Occurs when the playback rate is increased or decreased. - * @param ev The event. - */ - onratechange: ((this: GlobalEventHandlers, ev: Event) => any) | null; - /** - * Fires when the user resets a form. - * @param ev The event. - */ - onreset: ((this: GlobalEventHandlers, ev: Event) => any) | null; - onresize: ((this: GlobalEventHandlers, ev: UIEvent) => any) | null; - /** - * Fires when the user repositions the scroll box in the scroll bar on the object. - * @param ev The event. - */ - onscroll: ((this: GlobalEventHandlers, ev: Event) => any) | null; - onsecuritypolicyviolation: ((this: GlobalEventHandlers, ev: SecurityPolicyViolationEvent) => any) | null; - /** - * Occurs when the seek operation ends. - * @param ev The event. - */ - onseeked: ((this: GlobalEventHandlers, ev: Event) => any) | null; - /** - * Occurs when the current playback position is moved. - * @param ev The event. - */ - onseeking: ((this: GlobalEventHandlers, ev: Event) => any) | null; - /** - * Fires when the current selection changes. - * @param ev The event. - */ - onselect: ((this: GlobalEventHandlers, ev: Event) => any) | null; - onselectionchange: ((this: GlobalEventHandlers, ev: Event) => any) | null; - onselectstart: ((this: GlobalEventHandlers, ev: Event) => any) | null; - /** - * Occurs when the download has stopped. - * @param ev The event. - */ - onstalled: ((this: GlobalEventHandlers, ev: Event) => any) | null; - onsubmit: ((this: GlobalEventHandlers, ev: Event) => any) | null; - /** - * Occurs if the load operation has been intentionally halted. - * @param ev The event. - */ - onsuspend: ((this: GlobalEventHandlers, ev: Event) => any) | null; - /** - * Occurs to indicate the current playback position. - * @param ev The event. - */ - ontimeupdate: ((this: GlobalEventHandlers, ev: Event) => any) | null; - ontoggle: ((this: GlobalEventHandlers, ev: Event) => any) | null; - ontouchcancel?: ((this: GlobalEventHandlers, ev: TouchEvent) => any) | null; - ontouchend?: ((this: GlobalEventHandlers, ev: TouchEvent) => any) | null; - ontouchmove?: ((this: GlobalEventHandlers, ev: TouchEvent) => any) | null; - ontouchstart?: ((this: GlobalEventHandlers, ev: TouchEvent) => any) | null; - ontransitioncancel: ((this: GlobalEventHandlers, ev: TransitionEvent) => any) | null; - ontransitionend: ((this: GlobalEventHandlers, ev: TransitionEvent) => any) | null; - ontransitionrun: ((this: GlobalEventHandlers, ev: TransitionEvent) => any) | null; - ontransitionstart: ((this: GlobalEventHandlers, ev: TransitionEvent) => any) | null; - /** - * Occurs when the volume is changed, or playback is muted or unmuted. - * @param ev The event. - */ - onvolumechange: ((this: GlobalEventHandlers, ev: Event) => any) | null; - /** - * Occurs when playback stops because the next frame of a video resource is not available. - * @param ev The event. - */ - onwaiting: ((this: GlobalEventHandlers, ev: Event) => any) | null; - onwheel: ((this: GlobalEventHandlers, ev: WheelEvent) => any) | null; - addEventListener(type: K, listener: (this: GlobalEventHandlers, ev: GlobalEventHandlersEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void; - addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void; - removeEventListener(type: K, listener: (this: GlobalEventHandlers, ev: GlobalEventHandlersEventMap[K]) => any, options?: boolean | EventListenerOptions): void; - removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void; -} - -interface HTMLAllCollection { - /** - * Returns the number of elements in the collection. - */ - readonly length: number; - /** - * Returns the item with index index from the collection (determined by tree order). - */ - item(nameOrIndex?: string): HTMLCollection | Element | null; - /** - * Returns the item with ID or name name from the collection. - * - * If there are multiple matching items, then an HTMLCollection object containing all those elements is returned. - * - * Only button, form, iframe, input, map, meta, object, select, and textarea elements can have a name for the purpose of this method; their name is given by the value of their name attribute. - */ - namedItem(name: string): HTMLCollection | Element | null; - [index: number]: Element; -} - -declare var HTMLAllCollection: { - prototype: HTMLAllCollection; - new(): HTMLAllCollection; -}; - -/** Hyperlink elements and provides special properties and methods (beyond those of the regular HTMLElement object interface that they inherit from) for manipulating the layout and presentation of such elements. */ -interface HTMLAnchorElement extends HTMLElement, HTMLHyperlinkElementUtils { - /** - * Sets or retrieves the character set used to encode the object. - */ - /** @deprecated */ - charset: string; - /** - * Sets or retrieves the coordinates of the object. - */ - /** @deprecated */ - coords: string; - download: string; - /** - * Sets or retrieves the language code of the object. - */ - hreflang: string; - /** - * Sets or retrieves the shape of the object. - */ - /** @deprecated */ - name: string; - ping: string; - referrerPolicy: string; - /** - * Sets or retrieves the relationship between the object and the destination of the link. - */ - rel: string; - readonly relList: DOMTokenList; - /** - * Sets or retrieves the relationship between the object and the destination of the link. - */ - /** @deprecated */ - rev: string; - /** - * Sets or retrieves the shape of the object. - */ - /** @deprecated */ - shape: string; - /** - * Sets or retrieves the window or frame at which to target content. - */ - target: string; - /** - * Retrieves or sets the text of the object as a string. - */ - text: string; - type: string; - addEventListener(type: K, listener: (this: HTMLAnchorElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void; - addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void; - removeEventListener(type: K, listener: (this: HTMLAnchorElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void; - removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void; -} - -declare var HTMLAnchorElement: { - prototype: HTMLAnchorElement; - new(): HTMLAnchorElement; -}; - -interface HTMLAppletElement extends HTMLElement { - /** @deprecated */ - align: string; - /** - * Sets or retrieves a text alternative to the graphic. - */ - /** @deprecated */ - alt: string; - /** - * Sets or retrieves a character string that can be used to implement your own archive functionality for the object. - */ - /** @deprecated */ - archive: string; - /** @deprecated */ - code: string; - /** - * Sets or retrieves the URL of the component. - */ - /** @deprecated */ - codeBase: string; - readonly form: HTMLFormElement | null; - /** - * Sets or retrieves the height of the object. - */ - /** @deprecated */ - height: string; - /** @deprecated */ - hspace: number; - /** - * Sets or retrieves the shape of the object. - */ - /** @deprecated */ - name: string; - /** @deprecated */ - object: string; - /** @deprecated */ - vspace: number; - /** @deprecated */ - width: string; - addEventListener(type: K, listener: (this: HTMLAppletElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void; - addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void; - removeEventListener(type: K, listener: (this: HTMLAppletElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void; - removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void; -} - -declare var HTMLAppletElement: { - prototype: HTMLAppletElement; - new(): HTMLAppletElement; -}; - -/** Provides special properties and methods (beyond those of the regular object HTMLElement interface it also has available to it by inheritance) for manipulating the layout and presentation of elements. */ -interface HTMLAreaElement extends HTMLElement, HTMLHyperlinkElementUtils { - /** - * Sets or retrieves a text alternative to the graphic. - */ - alt: string; - /** - * Sets or retrieves the coordinates of the object. - */ - coords: string; - download: string; - /** - * Sets or gets whether clicks in this region cause action. - */ - /** @deprecated */ - noHref: boolean; - ping: string; - referrerPolicy: string; - rel: string; - readonly relList: DOMTokenList; - /** - * Sets or retrieves the shape of the object. - */ - shape: string; - /** - * Sets or retrieves the window or frame at which to target content. - */ - target: string; - addEventListener(type: K, listener: (this: HTMLAreaElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void; - addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void; - removeEventListener(type: K, listener: (this: HTMLAreaElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void; - removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void; -} - -declare var HTMLAreaElement: { - prototype: HTMLAreaElement; - new(): HTMLAreaElement; -}; - -/** Provides access to the properties of